]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/dist/en-US/main.040e98aeea20ed40.js
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / dist / en-US / main.040e98aeea20ed40.js
diff --git a/ceph/src/pybind/mgr/dashboard/frontend/dist/en-US/main.040e98aeea20ed40.js b/ceph/src/pybind/mgr/dashboard/frontend/dist/en-US/main.040e98aeea20ed40.js
new file mode 100644 (file)
index 0000000..eb424a1
--- /dev/null
@@ -0,0 +1,3 @@
+var $localize=Object.assign(void 0===$localize?{}:$localize,{locale:"en-US"});
+"use strict";(function(global){global.ng=global.ng||{};global.ng.common=global.ng.common||{};global.ng.common.locales=global.ng.common.locales||{};const u=undefined;function plural(val){const n=val,i=Math.floor(Math.abs(val)),v=val.toString().replace(/^[^.]*\.?/,"").length;if(i===1&&v===0)return 1;return 5}global.ng.common.locales["en-us-posix"]=["en-US-POSIX",[["a","p"],["AM","PM"],u],[["AM","PM"],u,u],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],u,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],u,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",u,"{1} 'at' {0}",u],[".",",",";","%","+","-","E","\xD7","0/00","INF","NaN",":"],["0.######","0%","\xA4\xA00.00","0.000000E+000"],"USD","$","US Dollar",{},"ltr",plural,[[["mi","n","in the morning","in the afternoon","in the evening","at night"],["midnight","noon","in the morning","in the afternoon","in the evening","at night"],u],[["midnight","noon","morning","afternoon","evening","night"],u,u],["00:00","12:00",["06:00","12:00"],["12:00","18:00"],["18:00","21:00"],["21:00","06:00"]]]]})(typeof globalThis!=="undefined"&&globalThis||typeof global!=="undefined"&&global||typeof window!=="undefined"&&window);;
+var Wm=Math.pow;(self.webpackChunkceph_dashboard=self.webpackChunkceph_dashboard||[]).push([[179],{43155:(v,b)=>{"use strict";b.N=void 0;var r=/^([^\w]*)(javascript|data|vbscript)/im,a=/&#(\w+)(^\w|;)?/g,f=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,u=/^([^:]+):/gm,e=[".","/"];b.N=function T(M){var w=function g(M){return M.replace(a,function(w,R){return String.fromCharCode(R)})}(M||"").replace(f,"").trim();if(!w)return"about:blank";if(function p(M){return e.indexOf(M[0])>-1}(w))return w;var R=w.match(u);return R&&r.test(R[0])?"about:blank":w}},62946:(v,b,i)=>{"use strict";i.d(b,{iM:()=>Of,qr:()=>lm,xc:()=>lv});var r=i(89724),a=i(11048),f=function(F,J){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(B,Te){B.__proto__=Te}||function(B,Te){for(var ft in Te)Te.hasOwnProperty(ft)&&(B[ft]=Te[ft])})(F,J)};function u(F,J){function B(){this.constructor=F}f(F,J),F.prototype=null===J?Object.create(J):(B.prototype=J.prototype,new B)}var e=function(){return e=Object.assign||function(J){for(var B,Te=1,ft=arguments.length;Te<ft;Te++)for(var Zt in B=arguments[Te])Object.prototype.hasOwnProperty.call(B,Zt)&&(J[Zt]=B[Zt]);return J},e.apply(this,arguments)};function p(F,J){var B="function"==typeof Symbol&&F[Symbol.iterator];if(!B)return F;var ft,rr,Te=B.call(F),Zt=[];try{for(;(void 0===J||J-- >0)&&!(ft=Te.next()).done;)Zt.push(ft.value)}catch(xr){rr={error:xr}}finally{try{ft&&!ft.done&&(B=Te.return)&&B.call(Te)}finally{if(rr)throw rr.error}}return Zt}function g(){for(var F=[],J=0;J<arguments.length;J++)F=F.concat(p(arguments[J]));return F}var M=[];Object.freeze(M);var w={};Object.freeze(w);var R={};function U(){return"undefined"!=typeof window?window:"undefined"!=typeof global?global:R}function W(){return++Or.mobxGuid}function j(F){throw q(!1,F),"X"}function q(F,J){if(!F)throw new Error("[mobx] "+(J||"An invariant failed, however the error is obfuscated because this is an production build."))}function H(F){var J=!1;return function(){if(!J)return J=!0,F.apply(this,arguments)}}var se=function(){};function ie(F){return null!==F&&"object"==typeof F}function fe(F){if(null===F||"object"!=typeof F)return!1;var J=Object.getPrototypeOf(F);return J===Object.prototype||null===J}function ce(F,J,B){Object.defineProperty(F,J,{enumerable:!1,writable:!0,configurable:!0,value:B})}function Be(F,J,B){Object.defineProperty(F,J,{enumerable:!1,writable:!1,configurable:!0,value:B})}function He(F,J){var B="isMobX"+F;return J.prototype[B]=!0,function(Te){return ie(Te)&&!0===Te[B]}}function Oe(F){return void 0!==U().Map&&F instanceof U().Map}function Tt(F){return F instanceof Set}function We(F){for(var J=[];;){var B=F.next();if(B.done)break;J.push(B.value)}return J}function Qt(){return"function"==typeof Symbol&&Symbol.toPrimitive||"@@toPrimitive"}function Nt(F){return null===F?null:"object"==typeof F?""+F:F}function Yt(){return"function"==typeof Symbol&&Symbol.iterator||"@@iterator"}function dn(F,J){Be(F,Yt(),J)}function rn(F){return F[Yt()]=xt,F}function vt(){return"function"==typeof Symbol&&Symbol.toStringTag||"@@toStringTag"}function xt(){return this}var Ct=function(){function F(J){void 0===J&&(J="Atom@"+W()),this.name=J,this.isPendingUnobservation=!1,this.isBeingObserved=!1,this.observers=[],this.observersIndexes={},this.diffValue=0,this.lastAccessedBy=0,this.lowestObserverState=dt.NOT_TRACKING}return F.prototype.onBecomeUnobserved=function(){},F.prototype.onBecomeObserved=function(){},F.prototype.reportObserved=function(){return es(this)},F.prototype.reportChanged=function(){js(),function ma(F){if(F.lowestObserverState!==dt.STALE){F.lowestObserverState=dt.STALE;for(var J=F.observers,B=J.length;B--;){var Te=J[B];Te.dependenciesState===dt.UP_TO_DATE&&(Te.isTracing!==st.NONE&&sa(Te,F),Te.onBecomeStale()),Te.dependenciesState=dt.STALE}}}(this),ds()},F.prototype.toString=function(){return this.name},F}(),Gt=He("Atom",Ct);function pr(F,J){return F===J}var Br={identity:pr,structural:function mi(F,J){return _l(F,J)},default:function hr(F,J){return function Pe(F,J){return"number"==typeof F&&"number"==typeof J&&isNaN(F)&&isNaN(J)}(F,J)||pr(F,J)},shallow:function ci(F,J){return _l(F,J,1)}},Ur={},Hn={};function er(F,J){var B=J?Ur:Hn;return B[F]||(B[F]={configurable:!0,enumerable:J,get:function(){return _r(this),this[F]},set:function(Te){_r(this),this[F]=Te}})}function _r(F){if(!0!==F.__mobxDidRunLazyInitializers){var J=F.__mobxDecorators;if(J)for(var B in ce(F,"__mobxDidRunLazyInitializers",!0),J){var Te=J[B];Te.propertyCreator(F,Te.prop,Te.descriptor,Te.decoratorTarget,Te.decoratorArguments)}}}function ei(F,J){return function(){var Te,ft=function(rr,xr,hi,ns){return!0===ns?(J(rr,xr,hi,rr,Te),null):(Object.prototype.hasOwnProperty.call(rr,"__mobxDecorators")||ce(rr,"__mobxDecorators",e({},rr.__mobxDecorators)),rr.__mobxDecorators[xr]={prop:xr,propertyCreator:J,descriptor:hi,decoratorTarget:rr,decoratorArguments:Te},er(xr,F))};return bi(arguments)?(Te=M,ft.apply(null,arguments)):(Te=Array.prototype.slice.call(arguments),ft)}}function bi(F){return(2===F.length||3===F.length)&&"string"==typeof F[1]||4===F.length&&!0===F[3]}function fi(F,J,B){return Kn(F)?F:Array.isArray(F)?Wn.array(F,{name:B}):fe(F)?Wn.object(F,void 0,{name:B}):Oe(F)?Wn.map(F,{name:B}):Tt(F)?Wn.set(F,{name:B}):F}function xo(F){return F}function an(F){var J=ei(!0,function(Te,ft,Zt,rr,xr){!function _n(F,J,B,Te){var ft=Ht(F);if(Yi(ft)){var Zt=Fa(ft,{object:F,name:J,type:"add",newValue:B});if(!Zt)return;B=Zt.newValue}B=(ft.values[J]=new ao(B,Te,ft.name+"."+J,!1)).value,Object.defineProperty(F,J,function Ei(F){return Tr[F]||(Tr[F]={configurable:!0,enumerable:!0,get:function(){return this.$mobx.read(this,F)},set:function(J){this.$mobx.write(this,F,J)}})}(J)),ft.keys&&ft.keys.push(J),function Pr(F,J,B,Te){var ft=Es(F),Zt=Gs(),rr=ft||Zt?{type:"add",object:J,name:B,newValue:Te}:null;Zt&&To(e({},rr,{name:F.name,key:B})),ft&&Sl(F,rr),Zt&&hs()}(ft,F,J,B)}(Te,ft,Zt?Zt.initializer?Zt.initializer.call(Te):Zt.value:void 0,F)}),B=("undefined"!=typeof process&&process,J);return B.enhancer=F,B}var vn={deep:!0,name:void 0,defaultDecorator:void 0};function zn(F){return null==F?vn:"string"==typeof F?{name:F,deep:!0}:F}function ri(F){return F.defaultDecorator?F.defaultDecorator.enhancer:!1===F.deep?xo:fi}Object.freeze(vn),Object.freeze({deep:!1,name:void 0,defaultDecorator:void 0});var Gi=an(fi),ui=an(function no(F,J,B){return null==F||Rr(F)||wu(F)||Sr(F)||ct(F)?F:Array.isArray(F)?Wn.array(F,{name:B,deep:!1}):fe(F)?Wn.object(F,void 0,{name:B,deep:!1}):Oe(F)?Wn.map(F,{name:B,deep:!1}):Tt(F)?Wn.set(F,{name:B,deep:!1}):j(!1)}),vr=an(xo),Ji=an(function Er(F,J,B){return _l(F,J)?J:F}),Rn={box:function(F,J){arguments.length>2&&et("box");var B=zn(J);return new ao(F,ri(B),B.name,!0,B.equals)},shallowBox:function(F,J){return arguments.length>2&&et("shallowBox"),Wn.box(F,{name:J,deep:!1})},array:function(F,J){arguments.length>2&&et("array");var B=zn(J);return new tc(F,ri(B),B.name)},shallowArray:function(F,J){return arguments.length>2&&et("shallowArray"),Wn.array(F,{name:J,deep:!1})},map:function(F,J){arguments.length>2&&et("map");var B=zn(J);return new Io(F,ri(B),B.name)},shallowMap:function(F,J){return arguments.length>2&&et("shallowMap"),Wn.map(F,{name:J,deep:!1})},set:function(F,J){arguments.length>2&&et("set");var B=zn(J);return new De(F,ri(B),B.name)},object:function(F,J,B){"string"==typeof arguments[1]&&et("object");var Te=zn(B);return _c({},F,J,Te)},shallowObject:function(F,J){return"string"==typeof arguments[1]&&et("shallowObject"),Wn.object(F,{},{name:J,deep:!1})},ref:vr,shallow:ui,deep:Gi,struct:Ji},Wn=function mn(F,J,B){if("string"==typeof arguments[1])return Gi.apply(null,arguments);if(Kn(F))return F;var Te=fe(F)?Wn.object(F,J,B):Array.isArray(F)?Wn.array(F,J):Oe(F)?Wn.map(F,J):Tt(F)?Wn.set(F,J):F;if(Te!==F)return Te;j(!1)};function et(F){j("Expected one or two arguments to observable."+F+". Did you accidentally try to use observable."+F+" as decorator?")}Object.keys(Rn).forEach(function(F){return Wn[F]=Rn[F]});var Le=ei(!1,function(F,J,B,Te,ft){!function Pn(F,J,B){var Te=Ht(F);B.name=Te.name+"."+J,B.context=F,Te.values[J]=new Eo(B),Object.defineProperty(F,J,function Vi(F){return ai[F]||(ai[F]={configurable:Or.computedConfigurable,enumerable:!1,get:function(){return Ci(this).read(this,F)},set:function(J){Ci(this).write(this,F,J)}})}(J))}(F,J,e({get:B.get,set:B.set},ft[0]||{}))}),Re=Le({equals:Br.structural}),Se=function(J,B,Te){if("string"==typeof B||null!==J&&"object"==typeof J&&1===arguments.length)return Le.apply(null,arguments);var ft="object"==typeof B?B:{};return ft.get=J,ft.set="function"==typeof B?B:ft.set,ft.name=ft.name||J.name||"",new Eo(ft)};Se.struct=Re;var dt=(()=>{return(F=dt||(dt={}))[F.NOT_TRACKING=-1]="NOT_TRACKING",F[F.UP_TO_DATE=0]="UP_TO_DATE",F[F.POSSIBLY_STALE=1]="POSSIBLY_STALE",F[F.STALE=2]="STALE",dt;var F})(),st=(()=>{return(F=st||(st={}))[F.NONE=0]="NONE",F[F.LOG=1]="LOG",F[F.BREAK=2]="BREAK",st;var F})(),nn=function F(J){this.cause=J};function Fe(F){return F instanceof nn}function Lr(F){switch(F.dependenciesState){case dt.UP_TO_DATE:return!1;case dt.NOT_TRACKING:case dt.STALE:return!0;case dt.POSSIBLY_STALE:for(var J=yn(),B=F.observing,Te=B.length,ft=0;ft<Te;ft++){var Zt=B[ft];if(mo(Zt)){if(Or.disableErrorBoundaries)Zt.get();else try{Zt.get()}catch(rr){return Cr(J),!0}if(F.dependenciesState===dt.STALE)return Cr(J),!0}}return Uo(F),Cr(J),!1}}function Ut(F){var J=F.observers.length>0;Or.computationDepth>0&&J&&j(!1),!Or.allowStateChanges&&(J||"strict"===Or.enforceActions)&&j(!1)}function Et(F,J,B){var Te=xi(!0);Uo(F),F.newObserving=new Array(F.observing.length+100),F.unboundDepsCount=0,F.runId=++Or.runId;var Zt,ft=Or.trackingDerivation;if(Or.trackingDerivation=F,!0===Or.disableErrorBoundaries)Zt=J.call(B);else try{Zt=J.call(B)}catch(rr){Zt=new nn(rr)}return Or.trackingDerivation=ft,function _t(F){for(var J=F.observing,B=F.observing=F.newObserving,Te=dt.UP_TO_DATE,ft=0,Zt=F.unboundDepsCount,rr=0;rr<Zt;rr++)0===(xr=B[rr]).diffValue&&(xr.diffValue=1,ft!==rr&&(B[ft]=xr),ft++),xr.dependenciesState>Te&&(Te=xr.dependenciesState);for(B.length=ft,F.newObserving=null,Zt=J.length;Zt--;)0===(xr=J[Zt]).diffValue&&go(xr,F),xr.diffValue=0;for(;ft--;){var xr;1===(xr=B[ft]).diffValue&&(xr.diffValue=0,ro(xr,F))}Te!==dt.UP_TO_DATE&&(F.dependenciesState=Te,F.onBecomeStale())}(F),yi(Te),Zt}function yt(F){var J=F.observing;F.observing=[];for(var B=J.length;B--;)go(J[B],F);F.dependenciesState=dt.NOT_TRACKING}function Vt(F){var J=yn(),B=F();return Cr(J),B}function yn(){var F=Or.trackingDerivation;return Or.trackingDerivation=null,F}function Cr(F){Or.trackingDerivation=F}function xi(F){var J=Or.allowStateReads;return Or.allowStateReads=F,J}function yi(F){Or.allowStateReads=F}function Uo(F){if(F.dependenciesState!==dt.UP_TO_DATE){F.dependenciesState=dt.UP_TO_DATE;for(var J=F.observing,B=J.length;B--;)J[B].lowestObserverState=dt.UP_TO_DATE}}var Qo=0,lo=1;function Ri(F,J){var B=function(){return ko(F,J,this,arguments)};return B.isMobxAction=!0,B}function ko(F,J,B,Te){var ft=function Xo(F,J,B){var Te=Gs()&&!!F,ft=0;if(Te){ft=Date.now();var Zt=B&&B.length||0,rr=new Array(Zt);if(Zt>0)for(var xr=0;xr<Zt;xr++)rr[xr]=B[xr];To({type:"action",name:F,object:J,arguments:rr})}var hi=yn();js();var As={prevDerivation:hi,prevAllowStateChanges:kn(!0),prevAllowStateReads:xi(!0),notifySpy:Te,startTime:ft,actionId:lo++,parentActionId:Qo};return Qo=As.actionId,As}(F,B,Te);try{return J.apply(B,Te)}catch(Zt){throw ft.error=Zt,Zt}finally{!function ir(F){Qo!==F.actionId&&j("invalid action stack. did you forget to finish an action?"),Qo=F.parentActionId,void 0!==F.error&&(Or.suppressReactionErrors=!0),nr(F.prevAllowStateChanges),yi(F.prevAllowStateReads),ds(),Cr(F.prevDerivation),F.notifySpy&&hs({time:Date.now()-F.startTime}),Or.suppressReactionErrors=!1}(ft)}}function kn(F){var J=Or.allowStateChanges;return Or.allowStateChanges=F,J}function nr(F){Or.allowStateChanges=F}var ao=function(F){function J(B,Te,ft,Zt,rr){void 0===ft&&(ft="ObservableValue@"+W()),void 0===Zt&&(Zt=!0),void 0===rr&&(rr=Br.default);var xr=F.call(this,ft)||this;return xr.enhancer=Te,xr.name=ft,xr.equals=rr,xr.hasUnreportedChange=!1,xr.value=Te(B,void 0,ft),Zt&&Gs()&&$o({type:"create",name:xr.name,newValue:""+xr.value}),xr}return u(J,F),J.prototype.dehanceValue=function(B){return void 0!==this.dehancer?this.dehancer(B):B},J.prototype.set=function(B){var Te=this.value;if((B=this.prepareNewValue(B))!==Or.UNCHANGED){var ft=Gs();ft&&To({type:"update",name:this.name,newValue:B,oldValue:Te}),this.setNewValue(B),ft&&hs()}},J.prototype.prepareNewValue=function(B){if(Ut(this),Yi(this)){var Te=Fa(this,{object:this,type:"update",newValue:B});if(!Te)return Or.UNCHANGED;B=Te.newValue}return B=this.enhancer(B,this.value,this.name),this.equals(this.value,B)?Or.UNCHANGED:B},J.prototype.setNewValue=function(B){var Te=this.value;this.value=B,this.reportChanged(),Es(this)&&Sl(this,{type:"update",object:this,newValue:B,oldValue:Te})},J.prototype.get=function(){return this.reportObserved(),this.dehanceValue(this.value)},J.prototype.intercept=function(B){return aa(this,B)},J.prototype.observe=function(B,Te){return Te&&B({object:this,type:"update",newValue:this.value,oldValue:void 0}),ec(this,B)},J.prototype.toJSON=function(){return this.get()},J.prototype.toString=function(){return this.name+"["+this.value+"]"},J.prototype.valueOf=function(){return Nt(this.get())},J}(Ct);ao.prototype[Qt()]=ao.prototype.valueOf,He("ObservableValue",ao);var Eo=function(){function F(J){this.dependenciesState=dt.NOT_TRACKING,this.observing=[],this.newObserving=null,this.isBeingObserved=!1,this.isPendingUnobservation=!1,this.observers=[],this.observersIndexes={},this.diffValue=0,this.runId=0,this.lastAccessedBy=0,this.lowestObserverState=dt.UP_TO_DATE,this.unboundDepsCount=0,this.__mapid="#"+W(),this.value=new nn(null),this.isComputing=!1,this.isRunningSetter=!1,this.isTracing=st.NONE,this.derivation=J.get,this.name=J.name||"ComputedValue@"+W(),J.set&&(this.setter=Ri(this.name+"-setter",J.set)),this.equals=J.equals||(J.compareStructural||J.struct?Br.structural:Br.default),this.scope=J.context,this.requiresReaction=!!J.requiresReaction,this.keepAlive=!!J.keepAlive}return F.prototype.onBecomeStale=function(){!function fa(F){if(F.lowestObserverState===dt.UP_TO_DATE){F.lowestObserverState=dt.POSSIBLY_STALE;for(var J=F.observers,B=J.length;B--;){var Te=J[B];Te.dependenciesState===dt.UP_TO_DATE&&(Te.dependenciesState=dt.POSSIBLY_STALE,Te.isTracing!==st.NONE&&sa(Te,F),Te.onBecomeStale())}}}(this)},F.prototype.onBecomeUnobserved=function(){},F.prototype.onBecomeObserved=function(){},F.prototype.get=function(){this.isComputing&&j("Cycle detected in computation "+this.name+": "+this.derivation),0!==Or.inBatch||0!==this.observers.length||this.keepAlive?(es(this),Lr(this)&&this.trackAndCompute()&&function ya(F){if(F.lowestObserverState!==dt.STALE){F.lowestObserverState=dt.STALE;for(var J=F.observers,B=J.length;B--;){var Te=J[B];Te.dependenciesState===dt.POSSIBLY_STALE?Te.dependenciesState=dt.STALE:Te.dependenciesState===dt.UP_TO_DATE&&(F.lowestObserverState=dt.UP_TO_DATE)}}}(this)):Lr(this)&&(this.warnAboutUntrackedRead(),js(),this.value=this.computeValue(!1),ds());var J=this.value;if(Fe(J))throw J.cause;return J},F.prototype.peek=function(){var J=this.computeValue(!1);if(Fe(J))throw J.cause;return J},F.prototype.set=function(J){if(this.setter){q(!this.isRunningSetter,"The setter of computed value '"+this.name+"' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?"),this.isRunningSetter=!0;try{this.setter.call(this.scope,J)}finally{this.isRunningSetter=!1}}else q(!1,!1)},F.prototype.trackAndCompute=function(){Gs()&&$o({object:this.scope,type:"compute",name:this.name});var J=this.value,B=this.dependenciesState===dt.NOT_TRACKING,Te=this.computeValue(!0),ft=B||Fe(J)||Fe(Te)||!this.equals(J,Te);return ft&&(this.value=Te),ft},F.prototype.computeValue=function(J){var B;if(this.isComputing=!0,Or.computationDepth++,J)B=Et(this,this.derivation,this.scope);else if(!0===Or.disableErrorBoundaries)B=this.derivation.call(this.scope);else try{B=this.derivation.call(this.scope)}catch(Te){B=new nn(Te)}return Or.computationDepth--,this.isComputing=!1,B},F.prototype.suspend=function(){this.keepAlive||(yt(this),this.value=void 0)},F.prototype.observe=function(J,B){var Te=this,ft=!0,Zt=void 0;return ii(function(){var rr=Te.get();if(!ft||B){var xr=yn();J({type:"update",object:Te,newValue:rr,oldValue:Zt}),Cr(xr)}ft=!1,Zt=rr})},F.prototype.warnAboutUntrackedRead=function(){},F.prototype.toJSON=function(){return this.get()},F.prototype.toString=function(){return this.name+"["+this.derivation.toString()+"]"},F.prototype.valueOf=function(){return Nt(this.get())},F}();Eo.prototype[Qt()]=Eo.prototype.valueOf;var F,mo=He("ComputedValue",Eo),ua=function F(){this.version=5,this.UNCHANGED={},this.trackingDerivation=null,this.computationDepth=0,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!0,this.allowStateReads=!0,this.enforceActions=!1,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.computedConfigurable=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1},or=!0,Or=((F=U()).__mobxInstanceCount>0&&!F.__mobxGlobals&&(or=!1),F.__mobxGlobals&&F.__mobxGlobals.version!==(new ua).version&&(or=!1),or?F.__mobxGlobals?(F.__mobxInstanceCount+=1,F.__mobxGlobals.UNCHANGED||(F.__mobxGlobals.UNCHANGED={}),F.__mobxGlobals):(F.__mobxInstanceCount=1,F.__mobxGlobals=new ua):(setTimeout(function(){j("There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`")},1),new ua));function ro(F,J){var B=F.observers.length;B&&(F.observersIndexes[J.__mapid]=B),F.observers[B]=J,F.lowestObserverState>J.dependenciesState&&(F.lowestObserverState=J.dependenciesState)}function go(F,J){if(1===F.observers.length)F.observers.length=0,Ro(F);else{var B=F.observers,Te=F.observersIndexes,ft=B.pop();if(ft!==J){var Zt=Te[J.__mapid]||0;Zt?Te[ft.__mapid]=Zt:delete Te[ft.__mapid],B[Zt]=ft}delete Te[J.__mapid]}}function Ro(F){!1===F.isPendingUnobservation&&(F.isPendingUnobservation=!0,Or.pendingUnobservations.push(F))}function js(){Or.inBatch++}function ds(){if(0==--Or.inBatch){ys();for(var F=Or.pendingUnobservations,J=0;J<F.length;J++){var B=F[J];B.isPendingUnobservation=!1,0===B.observers.length&&(B.isBeingObserved&&(B.isBeingObserved=!1,B.onBecomeUnobserved()),B instanceof Eo&&B.suspend())}Or.pendingUnobservations=[]}}function es(F){var J=Or.trackingDerivation;return null!==J?(J.runId!==F.lastAccessedBy&&(F.lastAccessedBy=J.runId,J.newObserving[J.unboundDepsCount++]=F,F.isBeingObserved||(F.isBeingObserved=!0,F.onBecomeObserved())),!0):(0===F.observers.length&&Or.inBatch>0&&Ro(F),!1)}function sa(F,J){if(console.log("[mobx.trace] '"+F.name+"' is invalidated due to a change in: '"+J.name+"'"),F.isTracing===st.BREAK){var B=[];Ra(function Cl(F,J){return mc(br(F,J))}(F),B,1),new Function("debugger;\n/*\nTracing '"+F.name+"'\n\nYou are entering this break point because derivation '"+F.name+"' is being traced and '"+J.name+"' is now forcing it to update.\nJust follow the stacktrace you should now see in the devtools to see precisely what piece of your code is causing this update\nThe stackframe you are looking for is at least ~6-8 stack-frames up.\n\n"+(F instanceof Eo?F.derivation.toString().replace(/[*]\//g,"/"):"")+"\n\nThe dependencies for this derivation are:\n\n"+B.join("\n")+"\n*/\n    ")()}}function Ra(F,J,B){J.length>=1e3?J.push("(and many more)"):(J.push(""+new Array(B).join("\t")+F.name),F.dependencies&&F.dependencies.forEach(function(Te){return Ra(Te,J,B+1)}))}var pl=function(){function F(J,B,Te,ft){void 0===J&&(J="Reaction@"+W()),void 0===ft&&(ft=!1),this.name=J,this.onInvalidate=B,this.errorHandler=Te,this.requiresObservable=ft,this.observing=[],this.newObserving=[],this.dependenciesState=dt.NOT_TRACKING,this.diffValue=0,this.runId=0,this.unboundDepsCount=0,this.__mapid="#"+W(),this.isDisposed=!1,this._isScheduled=!1,this._isTrackPending=!1,this._isRunning=!1,this.isTracing=st.NONE}return F.prototype.onBecomeStale=function(){this.schedule()},F.prototype.schedule=function(){this._isScheduled||(this._isScheduled=!0,Or.pendingReactions.push(this),ys())},F.prototype.isScheduled=function(){return this._isScheduled},F.prototype.runReaction=function(){if(!this.isDisposed){if(js(),this._isScheduled=!1,Lr(this)){this._isTrackPending=!0;try{this.onInvalidate(),this._isTrackPending&&Gs()&&$o({name:this.name,type:"scheduled-reaction"})}catch(J){this.reportExceptionInDerivation(J)}}ds()}},F.prototype.track=function(J){js();var Te,B=Gs();B&&(Te=Date.now(),To({name:this.name,type:"reaction"})),this._isRunning=!0;var ft=Et(this,J,void 0);this._isRunning=!1,this._isTrackPending=!1,this.isDisposed&&yt(this),Fe(ft)&&this.reportExceptionInDerivation(ft.cause),B&&hs({time:Date.now()-Te}),ds()},F.prototype.reportExceptionInDerivation=function(J){var B=this;if(this.errorHandler)this.errorHandler(J,this);else{if(Or.disableErrorBoundaries)throw J;var Te="[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '"+this+"'";Or.suppressReactionErrors?console.warn("[mobx] (error in reaction '"+this.name+"' suppressed, fix error of causing action below)"):console.error(Te,J),Gs()&&$o({type:"error",name:this.name,message:Te,error:""+J}),Or.globalReactionErrorHandlers.forEach(function(ft){return ft(J,B)})}},F.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this._isRunning||(js(),yt(this),ds()))},F.prototype.getDisposer=function(){var J=this.dispose.bind(this);return J.$mobx=this,J},F.prototype.toString=function(){return"Reaction["+this.name+"]"},F.prototype.trace=function(J){void 0===J&&(J=!1),function Jo(){for(var F=[],J=0;J<arguments.length;J++)F[J]=arguments[J];var B=!1;"boolean"==typeof F[F.length-1]&&(B=F.pop());var Te=ja(F);if(!Te)return j(!1);Te.isTracing===st.NONE&&console.log("[mobx.trace] '"+Te.name+"' tracing enabled"),Te.isTracing=B?st.BREAK:st.LOG}(this,J)},F}();function ys(){Or.inBatch>0||Or.isRunningReactions||function(F){F()}(Wa)}function Wa(){Or.isRunningReactions=!0;for(var F=Or.pendingReactions,J=0;F.length>0;){100==++J&&(console.error("Reaction doesn't converge to a stable state after 100 iterations. Probably there is a cycle in the reactive function: "+F[0]),F.splice(0));for(var B=F.splice(0),Te=0,ft=B.length;Te<ft;Te++)B[Te].runReaction()}Or.isRunningReactions=!1}var Is=He("Reaction",pl);function Gs(){return!!Or.spyListeners.length}function $o(F){if(Or.spyListeners.length)for(var J=Or.spyListeners,B=0,Te=J.length;B<Te;B++)J[B](F)}function To(F){$o(e({},F,{spyReportStart:!0}))}var Ns={spyReportEnd:!0};function hs(F){$o(F?e({},F,{spyReportEnd:!0}):Ns)}function kr(){j(!1)}function Ki(F){return function(J,B,Te){if(Te){if(Te.value)return{value:Ri(F,Te.value),enumerable:!1,configurable:!0,writable:!0};var ft=Te.initializer;return{enumerable:!1,configurable:!0,writable:!0,initializer:function(){return Ri(F,ft.call(this))}}}return ut(F).apply(this,arguments)}}function ut(F){return function(J,B,Te){Object.defineProperty(J,B,{configurable:!0,enumerable:!1,get:function(){},set:function(ft){ce(this,B,te(F,ft))}})}}var te=function(J,B,Te,ft){return 1===arguments.length&&"function"==typeof J?Ri(J.name||"<unnamed action>",J):2===arguments.length&&"function"==typeof B?Ri(J,B):1===arguments.length&&"string"==typeof J?Ki(J):!0!==ft?Ki(B).apply(null,arguments):void(J[B]=Ri(J.name||B,Te.value))};function hn(F,J,B){ce(F,J,Ri(J,B.bind(F)))}function ii(F,J){void 0===J&&(J=w);var ft,B=J&&J.name||F.name||"Autorun@"+W();if(J.scheduler||J.delay){var Zt=ki(J),rr=!1;ft=new pl(B,function(){rr||(rr=!0,Zt(function(){rr=!1,ft.isDisposed||ft.track(xr)}))},J.onError,J.requiresObservable)}else ft=new pl(B,function(){this.track(xr)},J.onError,J.requiresObservable);function xr(){F(ft)}return ft.schedule(),ft.getDisposer()}te.bound=function pn(F,J,B,Te){return!0===Te?(hn(F,J,B.value),null):B?{configurable:!0,enumerable:!1,get:function(){return hn(this,J,B.value||B.initializer.call(this)),this[J]},set:kr}:{enumerable:!1,configurable:!0,set:function(ft){hn(this,J,ft)},get:function(){}}};var Oi=function(F){return F()};function ki(F){return F.scheduler?F.scheduler:F.delay?function(J){return setTimeout(J,F.delay)}:Oi}function _s(F,J,B){void 0===B&&(B=w),"boolean"==typeof B&&(B={fireImmediately:B});var ns,Te=B.name||"Reaction@"+W(),ft=te(Te,B.onError?function Vo(F,J){return function(){try{return J.apply(this,arguments)}catch(B){F.call(this,B)}}}(B.onError,J):J),Zt=!B.scheduler&&!B.delay,rr=ki(B),xr=!0,hi=!1,zo=B.compareStructural?Br.structural:B.equals||Br.default,As=new pl(Te,function(){xr||Zt?ml():hi||(hi=!0,rr(ml))},B.onError,B.requiresObservable);function ml(){if(hi=!1,!As.isDisposed){var au=!1;As.track(function(){var Xl=F(As);au=xr||!zo(ns,Xl),ns=Xl}),xr&&B.fireImmediately&&ft(ns,As),!xr&&!0===au&&ft(ns,As),xr&&(xr=!1)}}return As.schedule(),As.getDisposer()}function Ks(F,J,B){return hl("onBecomeUnobserved",F,J,B)}function hl(F,J,B,Te){var ft="function"==typeof Te?br(J,B):br(J),Zt="function"==typeof Te?Te:B,rr=ft[F];return"function"!=typeof rr?j(!1):(ft[F]=function(){rr.call(this),Zt.call(this)},function(){ft[F]=rr})}function _c(F,J,B,Te){var Zt=(Te=zn(Te)).defaultDecorator||(!1===Te.deep?vr:Gi);_r(F),Ht(F,Te.name,Zt.enhancer),js();try{for(var ft in J){var rr=Object.getOwnPropertyDescriptor(J,ft),hi=(B&&ft in B?B[ft]:rr.get?Le:Zt)(F,ft,rr,!0);hi&&Object.defineProperty(F,ft,hi)}}finally{ds()}return F}function mc(F){var J={name:F.name};return F.observing&&F.observing.length>0&&(J.dependencies=function ae(F){var J=[];return F.forEach(function(B){-1===J.indexOf(B)&&J.push(B)}),J}(F.observing).map(mc)),J}function Kt(F,J){if(null==F)return!1;if(void 0!==J){if(Rr(F)){var B=F.$mobx;return B.values&&!!B.values[J]}return!1}return Rr(F)||!!F.$mobx||Gt(F)||Is(F)||mo(F)}function Kn(F){return 1!==arguments.length&&j(!1),Kt(F)}function ja(F){switch(F.length){case 0:return Or.trackingDerivation;case 1:return br(F[0]);case 2:return br(F[0],F[1])}}function El(F,J){void 0===J&&(J=void 0),js();try{return F.apply(J)}finally{ds()}}function Yi(F){return void 0!==F.interceptors&&F.interceptors.length>0}function aa(F,J){var B=F.interceptors||(F.interceptors=[]);return B.push(J),H(function(){var Te=B.indexOf(J);-1!==Te&&B.splice(Te,1)})}function Fa(F,J){var B=yn();try{var Te=F.interceptors;if(Te)for(var ft=0,Zt=Te.length;ft<Zt&&(q(!(J=Te[ft](J))||J.type,"Intercept handlers should return nothing or a change object"),J);ft++);return J}finally{Cr(B)}}function Es(F){return void 0!==F.changeListeners&&F.changeListeners.length>0}function ec(F,J){var B=F.changeListeners||(F.changeListeners=[]);return B.push(J),H(function(){var Te=B.indexOf(J);-1!==Te&&B.splice(Te,1)})}function Sl(F,J){var B=yn(),Te=F.changeListeners;if(Te){for(var ft=0,Zt=(Te=Te.slice()).length;ft<Zt;ft++)Te[ft](J);Cr(B)}}var Eu=function(){var F=!1,J={};return Object.defineProperty(J,"0",{set:function(){F=!0}}),Object.create(J)[0]=1,!1===F}(),iu=0,ra=function F(){};(function bu(F,J){void 0!==Object.setPrototypeOf?Object.setPrototypeOf(F.prototype,J):void 0!==F.prototype.__proto__?F.prototype.__proto__=J:F.prototype=J})(ra,Array.prototype),Object.isFrozen(Array)&&["constructor","push","shift","concat","pop","unshift","replace","find","findIndex","splice","reverse","sort"].forEach(function(F){Object.defineProperty(ra.prototype,F,{configurable:!0,writable:!0,value:Array.prototype[F]})});var td=function(){function F(J,B,Te,ft){this.array=Te,this.owned=ft,this.values=[],this.lastKnownLength=0,this.atom=new Ct(J||"ObservableArray@"+W()),this.enhancer=function(Zt,rr){return B(Zt,rr,J+"[..]")}}return F.prototype.dehanceValue=function(J){return void 0!==this.dehancer?this.dehancer(J):J},F.prototype.dehanceValues=function(J){return void 0!==this.dehancer&&J.length>0?J.map(this.dehancer):J},F.prototype.intercept=function(J){return aa(this,J)},F.prototype.observe=function(J,B){return void 0===B&&(B=!1),B&&J({object:this.array,type:"splice",index:0,added:this.values.slice(),addedCount:this.values.length,removed:[],removedCount:0}),ec(this,J)},F.prototype.getArrayLength=function(){return this.atom.reportObserved(),this.values.length},F.prototype.setArrayLength=function(J){if("number"!=typeof J||J<0)throw new Error("[mobx.array] Out of range: "+J);var B=this.values.length;if(J!==B)if(J>B){for(var Te=new Array(J-B),ft=0;ft<J-B;ft++)Te[ft]=void 0;this.spliceWithArray(B,0,Te)}else this.spliceWithArray(J,B-J)},F.prototype.updateArrayLength=function(J,B){if(J!==this.lastKnownLength)throw new Error("[mobx] Modification exception: the internal structure of an observable array was changed. Did you use peek() to change it?");this.lastKnownLength+=B,B>0&&J+B+1>iu&&Uu(J+B+1)},F.prototype.spliceWithArray=function(J,B,Te){var ft=this;Ut(this.atom);var Zt=this.values.length;if(void 0===J?J=0:J>Zt?J=Zt:J<0&&(J=Math.max(0,Zt+J)),B=1===arguments.length?Zt-J:null==B?0:Math.max(0,Math.min(B,Zt-J)),void 0===Te&&(Te=M),Yi(this)){var rr=Fa(this,{object:this.array,type:"splice",index:J,removedCount:B,added:Te});if(!rr)return M;B=rr.removedCount,Te=rr.added}var xr=(Te=0===Te.length?Te:Te.map(function(ns){return ft.enhancer(ns,void 0)})).length-B;this.updateArrayLength(Zt,xr);var hi=this.spliceItemsIntoValues(J,B,Te);return(0!==B||0!==Te.length)&&this.notifyArraySplice(J,Te,hi),this.dehanceValues(hi)},F.prototype.spliceItemsIntoValues=function(J,B,Te){var ft;if(Te.length<1e4)return(ft=this.values).splice.apply(ft,g([J,B],Te));var Zt=this.values.slice(J,J+B);return this.values=this.values.slice(0,J).concat(Te,this.values.slice(J+B)),Zt},F.prototype.notifyArrayChildUpdate=function(J,B,Te){var ft=!this.owned&&Gs(),Zt=Es(this),rr=Zt||ft?{object:this.array,type:"update",index:J,newValue:B,oldValue:Te}:null;ft&&To(e({},rr,{name:this.atom.name})),this.atom.reportChanged(),Zt&&Sl(this,rr),ft&&hs()},F.prototype.notifyArraySplice=function(J,B,Te){var ft=!this.owned&&Gs(),Zt=Es(this),rr=Zt||ft?{object:this.array,type:"splice",index:J,removed:Te,added:B,removedCount:Te.length,addedCount:B.length}:null;ft&&To(e({},rr,{name:this.atom.name})),this.atom.reportChanged(),Zt&&Sl(this,rr),ft&&hs()},F}(),tc=function(F){function J(B,Te,ft,Zt){void 0===ft&&(ft="ObservableArray@"+W()),void 0===Zt&&(Zt=!1);var rr=F.call(this)||this,xr=new td(ft,Te,rr,Zt);if(Be(rr,"$mobx",xr),B&&B.length){var hi=kn(!0);rr.spliceWithArray(0,0,B),nr(hi)}return Eu&&Object.defineProperty(xr.array,"0",uu),rr}return u(J,F),J.prototype.intercept=function(B){return this.$mobx.intercept(B)},J.prototype.observe=function(B,Te){return void 0===Te&&(Te=!1),this.$mobx.observe(B,Te)},J.prototype.clear=function(){return this.splice(0)},J.prototype.concat=function(){for(var B=[],Te=0;Te<arguments.length;Te++)B[Te]=arguments[Te];return this.$mobx.atom.reportObserved(),Array.prototype.concat.apply(this.peek(),B.map(function(ft){return wu(ft)?ft.peek():ft}))},J.prototype.replace=function(B){return this.$mobx.spliceWithArray(0,this.$mobx.values.length,B)},J.prototype.toJS=function(){return this.slice()},J.prototype.toJSON=function(){return this.toJS()},J.prototype.peek=function(){return this.$mobx.atom.reportObserved(),this.$mobx.dehanceValues(this.$mobx.values)},J.prototype.find=function(B,Te,ft){void 0===ft&&(ft=0);var Zt=this.findIndex.apply(this,arguments);return-1===Zt?void 0:this.get(Zt)},J.prototype.findIndex=function(B,Te,ft){void 0===ft&&(ft=0);for(var Zt=this.peek(),rr=Zt.length,xr=ft;xr<rr;xr++)if(B.call(Te,Zt[xr],xr,this))return xr;return-1},J.prototype.splice=function(B,Te){for(var ft=[],Zt=2;Zt<arguments.length;Zt++)ft[Zt-2]=arguments[Zt];switch(arguments.length){case 0:return[];case 1:return this.$mobx.spliceWithArray(B);case 2:return this.$mobx.spliceWithArray(B,Te)}return this.$mobx.spliceWithArray(B,Te,ft)},J.prototype.spliceWithArray=function(B,Te,ft){return this.$mobx.spliceWithArray(B,Te,ft)},J.prototype.push=function(){for(var B=[],Te=0;Te<arguments.length;Te++)B[Te]=arguments[Te];var ft=this.$mobx;return ft.spliceWithArray(ft.values.length,0,B),ft.values.length},J.prototype.pop=function(){return this.splice(Math.max(this.$mobx.values.length-1,0),1)[0]},J.prototype.shift=function(){return this.splice(0,1)[0]},J.prototype.unshift=function(){for(var B=[],Te=0;Te<arguments.length;Te++)B[Te]=arguments[Te];var ft=this.$mobx;return ft.spliceWithArray(0,0,B),ft.values.length},J.prototype.reverse=function(){var B=this.slice();return B.reverse.apply(B,arguments)},J.prototype.sort=function(B){var Te=this.slice();return Te.sort.apply(Te,arguments)},J.prototype.remove=function(B){var Te=this.$mobx.dehanceValues(this.$mobx.values).indexOf(B);return Te>-1&&(this.splice(Te,1),!0)},J.prototype.move=function(B,Te){function ft(xr){if(xr<0)throw new Error("[mobx.array] Index out of bounds: "+xr+" is negative");var hi=this.$mobx.values.length;if(xr>=hi)throw new Error("[mobx.array] Index out of bounds: "+xr+" is not smaller than "+hi)}if(ft.call(this,B),ft.call(this,Te),B!==Te){var rr,Zt=this.$mobx.values;rr=B<Te?g(Zt.slice(0,B),Zt.slice(B+1,Te+1),[Zt[B]],Zt.slice(Te+1)):g(Zt.slice(0,Te),[Zt[B]],Zt.slice(Te,B),Zt.slice(B+1)),this.replace(rr)}},J.prototype.get=function(B){var Te=this.$mobx;if(Te){if(B<Te.values.length)return Te.atom.reportObserved(),Te.dehanceValue(Te.values[B]);console.warn("[mobx.array] Attempt to read an array index ("+B+") that is out of bounds ("+Te.values.length+"). Please check length first. Out of bound indices will not be tracked by MobX")}},J.prototype.set=function(B,Te){var ft=this.$mobx,Zt=ft.values;if(B<Zt.length){Ut(ft.atom);var rr=Zt[B];if(Yi(ft)){var xr=Fa(ft,{type:"update",object:this,index:B,newValue:Te});if(!xr)return;Te=xr.newValue}(Te=ft.enhancer(Te,rr))!==rr&&(Zt[B]=Te,ft.notifyArrayChildUpdate(B,Te,rr))}else{if(B!==Zt.length)throw new Error("[mobx.array] Index out of bounds, "+B+" is larger than "+Zt.length);ft.spliceWithArray(B,0,[Te])}},J}(ra);dn(tc.prototype,function(){this.$mobx.atom.reportObserved();var F=this,J=0;return rn({next:function(){return J<F.length?{value:F[J++],done:!1}:{done:!0,value:void 0}}})}),Object.defineProperty(tc.prototype,"length",{enumerable:!1,configurable:!0,get:function(){return this.$mobx.getArrayLength()},set:function(F){this.$mobx.setArrayLength(F)}}),ce(tc.prototype,vt(),"Array"),["every","filter","forEach","indexOf","join","lastIndexOf","map","reduce","reduceRight","slice","some","toString","toLocaleString"].forEach(function(F){var J=Array.prototype[F];q("function"==typeof J,"Base function not defined on Array prototype: '"+F+"'"),ce(tc.prototype,F,function(){return J.apply(this.peek(),arguments)})}),function Ce(F,J){for(var B=0;B<J.length;B++)ce(F,J[B],F[J[B]])}(tc.prototype,["constructor","intercept","observe","clear","concat","get","replace","toJS","toJSON","peek","find","findIndex","splice","spliceWithArray","push","pop","set","shift","unshift","reverse","sort","remove","move","toString","toLocaleString"]);var uu=du(0);function du(F){return{enumerable:!1,configurable:!1,get:function(){return this.get(F)},set:function(J){this.set(F,J)}}}function nd(F){Object.defineProperty(tc.prototype,""+F,du(F))}function Uu(F){for(var J=iu;J<F;J++)nd(J);iu=F}Uu(1e3);var Yu=He("ObservableArrayAdministration",td);function wu(F){return ie(F)&&Yu(F.$mobx)}var Ld={},Io=function(){function F(J,B,Te){if(void 0===B&&(B=fi),void 0===Te&&(Te="ObservableMap@"+W()),this.enhancer=B,this.name=Te,this.$mobx=Ld,this._keys=new tc(void 0,xo,this.name+".keys()",!0),"function"!=typeof Map)throw new Error("mobx.map requires Map polyfill for the current browser. Check babel-polyfill or core-js/es6/map.js");this._data=new Map,this._hasMap=new Map,this.merge(J)}return F.prototype._has=function(J){return this._data.has(J)},F.prototype.has=function(J){var B=this;if(!Or.trackingDerivation)return this._has(J);var Te=this._hasMap.get(J);if(!Te){var ft=Te=new ao(this._has(J),xo,this.name+"."+fu(J)+"?",!1);this._hasMap.set(J,ft),Ks(ft,function(){return B._hasMap.delete(J)})}return Te.get()},F.prototype.set=function(J,B){var Te=this._has(J);if(Yi(this)){var ft=Fa(this,{type:Te?"update":"add",object:this,newValue:B,name:J});if(!ft)return this;B=ft.newValue}return Te?this._updateValue(J,B):this._addValue(J,B),this},F.prototype.delete=function(J){var B=this;if(Yi(this)&&!(Te=Fa(this,{type:"delete",object:this,name:J})))return!1;if(this._has(J)){var ft=Gs(),Zt=Es(this),Te=Zt||ft?{type:"delete",object:this,oldValue:this._data.get(J).value,name:J}:null;return ft&&To(e({},Te,{name:this.name,key:J})),El(function(){B._keys.remove(J),B._updateHasMapEntry(J,!1),B._data.get(J).setNewValue(void 0),B._data.delete(J)}),Zt&&Sl(this,Te),ft&&hs(),!0}return!1},F.prototype._updateHasMapEntry=function(J,B){var Te=this._hasMap.get(J);Te&&Te.setNewValue(B)},F.prototype._updateValue=function(J,B){var Te=this._data.get(J);if((B=Te.prepareNewValue(B))!==Or.UNCHANGED){var ft=Gs(),Zt=Es(this),rr=Zt||ft?{type:"update",object:this,oldValue:Te.value,name:J,newValue:B}:null;ft&&To(e({},rr,{name:this.name,key:J})),Te.setNewValue(B),Zt&&Sl(this,rr),ft&&hs()}},F.prototype._addValue=function(J,B){var Te=this;El(function(){var xr=new ao(B,Te.enhancer,Te.name+"."+fu(J),!1);Te._data.set(J,xr),B=xr.value,Te._updateHasMapEntry(J,!0),Te._keys.push(J)});var ft=Gs(),Zt=Es(this),rr=Zt||ft?{type:"add",object:this,name:J,newValue:B}:null;ft&&To(e({},rr,{name:this.name,key:J})),Zt&&Sl(this,rr),ft&&hs()},F.prototype.get=function(J){return this.has(J)?this.dehanceValue(this._data.get(J).get()):this.dehanceValue(void 0)},F.prototype.dehanceValue=function(J){return void 0!==this.dehancer?this.dehancer(J):J},F.prototype.keys=function(){return this._keys[Yt()]()},F.prototype.values=function(){var J=this,B=0;return rn({next:function(){return B<J._keys.length?{value:J.get(J._keys[B++]),done:!1}:{value:void 0,done:!0}}})},F.prototype.entries=function(){var J=this,B=0;return rn({next:function(){if(B<J._keys.length){var Te=J._keys[B++];return{value:[Te,J.get(Te)],done:!1}}return{done:!0}}})},F.prototype.forEach=function(J,B){var Te=this;this._keys.forEach(function(ft){return J.call(B,Te.get(ft),ft,Te)})},F.prototype.merge=function(J){var B=this;return Sr(J)&&(J=J.toJS()),El(function(){fe(J)?Object.keys(J).forEach(function(Te){return B.set(Te,J[Te])}):Array.isArray(J)?J.forEach(function(Te){var ft=p(Te,2);return B.set(ft[0],ft[1])}):Oe(J)?J.constructor!==Map?j("Cannot initialize from classes that inherit from Map: "+J.constructor.name):J.forEach(function(Te,ft){return B.set(ft,Te)}):null!=J&&j("Cannot initialize map from "+J)}),this},F.prototype.clear=function(){var J=this;El(function(){Vt(function(){J._keys.slice().forEach(function(B){return J.delete(B)})})})},F.prototype.replace=function(J){var B=this;return El(function(){for(var Te=function _e(F){return Oe(F)||Sr(F)?F:Array.isArray(F)?new Map(F):fe(F)?new Map(Object.entries(F)):j("Cannot convert to map from '"+F+"'")}(J),ft=B._keys,Zt=Array.from(Te.keys()),rr=!1,xr=0;xr<ft.length;xr++){var hi=ft[xr];ft.length===Zt.length&&hi!==Zt[xr]&&(rr=!0),Te.has(hi)||(rr=!0,B.delete(hi))}Te.forEach(function(ns,zo){B._data.has(zo)||(rr=!0),B.set(zo,ns)}),rr&&B._keys.replace(Zt)}),this},Object.defineProperty(F.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),F.prototype.toPOJO=function(){var J=this,B={};return this._keys.forEach(function(Te){return B["symbol"==typeof Te?Te:fu(Te)]=J.get(Te)}),B},F.prototype.toJS=function(){var J=this,B=new Map;return this._keys.forEach(function(Te){return B.set(Te,J.get(Te))}),B},F.prototype.toJSON=function(){return this.toPOJO()},F.prototype.toString=function(){var J=this;return this.name+"[{ "+this._keys.map(function(B){return fu(B)+": "+J.get(B)}).join(", ")+" }]"},F.prototype.observe=function(J,B){return ec(this,J)},F.prototype.intercept=function(J){return aa(this,J)},F}();function fu(F){return F&&F.toString?F.toString():new String(F).toString()}dn(Io.prototype,function(){return this.entries()}),Be(Io.prototype,vt(),"Map");var Sr=He("ObservableMap",Io),Z={},De=function(){function F(J,B,Te){if(void 0===B&&(B=fi),void 0===Te&&(Te="ObservableSet@"+W()),this.name=Te,this.$mobx=Z,this._data=new Set,this._atom=function Fn(F,J,B){void 0===J&&(J=se),void 0===B&&(B=se);var Te=new Ct(F);return function Fs(F,J,B){hl("onBecomeObserved",F,J,B)}(Te,J),Ks(Te,B),Te}(this.name),"function"!=typeof Set)throw new Error("mobx.set requires Set polyfill for the current browser. Check babel-polyfill or core-js/es6/set.js");this.enhancer=function(ft,Zt){return B(ft,Zt,Te)},J&&this.replace(J)}return F.prototype.dehanceValue=function(J){return void 0!==this.dehancer?this.dehancer(J):J},F.prototype.clear=function(){var J=this;El(function(){Vt(function(){J._data.forEach(function(B){J.delete(B)})})})},F.prototype.forEach=function(J,B){var Te=this;this._data.forEach(function(ft){J.call(B,ft,ft,Te)})},Object.defineProperty(F.prototype,"size",{get:function(){return this._atom.reportObserved(),this._data.size},enumerable:!0,configurable:!0}),F.prototype.add=function(J){var B=this;if(Ut(this._atom),Yi(this)&&!(Te=Fa(this,{type:"add",object:this,newValue:J})))return this;if(!this.has(J)){El(function(){B._data.add(B.enhancer(J,void 0)),B._atom.reportChanged()});var ft=Gs(),Zt=Es(this),Te=Zt||ft?{type:"add",object:this,newValue:J}:null;Zt&&Sl(this,Te)}return this},F.prototype.delete=function(J){var B=this;if(Yi(this)&&!(Te=Fa(this,{type:"delete",object:this,oldValue:J})))return!1;if(this.has(J)){var ft=Gs(),Zt=Es(this),Te=Zt||ft?{type:"delete",object:this,oldValue:J}:null;return El(function(){B._atom.reportChanged(),B._data.delete(J)}),Zt&&Sl(this,Te),!0}return!1},F.prototype.has=function(J){return this._atom.reportObserved(),this._data.has(this.dehanceValue(J))},F.prototype.entries=function(){var J=0,B=We(this.keys()),Te=We(this.values());return rn({next:function(){var ft=J;return J+=1,ft<Te.length?{value:[B[ft],Te[ft]],done:!1}:{done:!0}}})},F.prototype.keys=function(){return this.values()},F.prototype.values=function(){this._atom.reportObserved();var Te,J=this,B=0;return void 0!==this._data.values?Te=We(this._data.values()):(Te=[],this._data.forEach(function(ft){return Te.push(ft)})),rn({next:function(){return B<Te.length?{value:J.dehanceValue(Te[B++]),done:!1}:{done:!0}}})},F.prototype.replace=function(J){var B=this;return ct(J)&&(J=J.toJS()),El(function(){Array.isArray(J)||Tt(J)?(B.clear(),J.forEach(function(Te){return B.add(Te)})):null!=J&&j("Cannot initialize set from "+J)}),this},F.prototype.observe=function(J,B){return ec(this,J)},F.prototype.intercept=function(J){return aa(this,J)},F.prototype.toJS=function(){return new Set(this)},F.prototype.toString=function(){return this.name+"[ "+We(this.keys()).join(", ")+" ]"},F}();dn(De.prototype,function(){return this.values()}),Be(De.prototype,vt(),"Set");var ct=He("ObservableSet",De),It=function(){function F(J,B,Te){this.target=J,this.name=B,this.defaultEnhancer=Te,this.values={}}return F.prototype.read=function(J,B){if(this.target===J||(this.illegalAccess(J,B),this.values[B]))return this.values[B].get()},F.prototype.write=function(J,B,Te){var ft=this.target;ft!==J&&this.illegalAccess(J,B);var Zt=this.values[B];if(Zt instanceof Eo)Zt.set(Te);else{if(Yi(this)){if(!(rr=Fa(this,{type:"update",object:ft,name:B,newValue:Te})))return;Te=rr.newValue}if((Te=Zt.prepareNewValue(Te))!==Or.UNCHANGED){var xr=Es(this),hi=Gs(),rr=xr||hi?{type:"update",object:ft,oldValue:Zt.value,name:B,newValue:Te}:null;hi&&To(e({},rr,{name:this.name,key:B})),Zt.setNewValue(Te),xr&&Sl(this,rr),hi&&hs()}}},F.prototype.remove=function(J){if(this.values[J]){var B=this.target;if(Yi(this)&&!(Te=Fa(this,{object:B,name:J,type:"remove"})))return;try{js();var ft=Es(this),Zt=Gs(),rr=this.values[J].get();this.keys&&this.keys.remove(J),delete this.values[J],delete this.target[J];var Te=ft||Zt?{type:"remove",object:B,oldValue:rr,name:J}:null;Zt&&To(e({},Te,{name:this.name,key:J})),ft&&Sl(this,Te),Zt&&hs()}finally{ds()}}},F.prototype.illegalAccess=function(J,B){console.warn("Property '"+B+"' of '"+J+"' was accessed through the prototype chain. Use 'decorate' instead to declare the prop or access it statically through it's owner")},F.prototype.observe=function(J,B){return ec(this,J)},F.prototype.intercept=function(J){return aa(this,J)},F.prototype.getKeys=function(){var J=this;return void 0===this.keys&&(this.keys=new tc(Object.keys(this.values).filter(function(B){return J.values[B]instanceof ao}),xo,"keys("+this.name+")",!0)),this.keys.slice()},F}();function Ht(F,J,B){void 0===J&&(J=""),void 0===B&&(B=fi);var Te=F.$mobx;return Te||(fe(F)||(J=(F.constructor.name||"ObservableObject")+"@"+W()),J||(J="ObservableObject@"+W()),Be(F,"$mobx",Te=new It(F,J,B)),Te)}var Tr=Object.create(null),ai=Object.create(null);function Ci(F){return F.$mobx||(_r(F),F.$mobx)}var Yn=He("ObservableObjectAdministration",It);function Rr(F){return!!ie(F)&&(_r(F),Yn(F.$mobx))}function br(F,J){if("object"==typeof F&&null!==F){if(wu(F))return void 0!==J&&j(!1),F.$mobx.atom;if(ct(F))return F.$mobx;if(Sr(F)){var B=F;return void 0===J?br(B._keys):((Te=B._data.get(J)||B._hasMap.get(J))||j(!1),Te)}var Te;if(_r(F),Rr(F))return J?((Te=F.$mobx.values[J])||j(!1),Te):j(!1);if(Gt(F)||mo(F)||Is(F))return F}else if("function"==typeof F&&Is(F.$mobx))return F.$mobx;return j(!1)}function fo(F,J){return F||j("Expecting some object"),void 0!==J?fo(br(F,J)):Gt(F)||mo(F)||Is(F)||Sr(F)||ct(F)?F:(_r(F),F.$mobx?F.$mobx:void j(!1))}var ls=Object.prototype.toString;function _l(F,J,B){return void 0===B&&(B=-1),Us(F,J,B)}function Us(F,J,B,Te,ft){if(F===J)return 0!==F||1/F==1/J;if(null==F||null==J)return!1;if(F!=F)return J!=J;var Zt=typeof F;if("function"!==Zt&&"object"!==Zt&&"object"!=typeof J)return!1;F=Zc(F),J=Zc(J);var rr=ls.call(F);if(rr!==ls.call(J))return!1;switch(rr){case"[object RegExp]":case"[object String]":return""+F==""+J;case"[object Number]":return+F!=+F?+J!=+J:0==+F?1/+F==1/J:+F==+J;case"[object Date]":case"[object Boolean]":return+F==+J;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(F)===Symbol.valueOf.call(J)}var xr="[object Array]"===rr;if(!xr){if("object"!=typeof F||"object"!=typeof J)return!1;var hi=F.constructor,ns=J.constructor;if(hi!==ns&&!("function"==typeof hi&&hi instanceof hi&&"function"==typeof ns&&ns instanceof ns)&&"constructor"in F&&"constructor"in J)return!1}if(0===B)return!1;B<0&&(B=-1),ft=ft||[];for(var zo=(Te=Te||[]).length;zo--;)if(Te[zo]===F)return ft[zo]===J;if(Te.push(F),ft.push(J),xr){if((zo=F.length)!==J.length)return!1;for(;zo--;)if(!Us(F[zo],J[zo],B-1,Te,ft))return!1}else{var As=Object.keys(F),ml=void 0;if(zo=As.length,Object.keys(J).length!==zo)return!1;for(;zo--;)if(!Ic(J,ml=As[zo])||!Us(F[ml],J[ml],B-1,Te,ft))return!1}return Te.pop(),ft.pop(),!0}function Zc(F){return wu(F)?F.peek():Oe(F)||Sr(F)||Tt(F)||ct(F)?We(F.entries()):F}function Ic(F,J){return Object.prototype.hasOwnProperty.call(F,J)}"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function Oo(F){return Or.spyListeners.push(F),H(function(){Or.spyListeners=Or.spyListeners.filter(function(J){return J!==F})})},extras:{getDebugName:function $s(F,J){return(void 0!==J?br(F,J):Rr(F)||Sr(F)||ct(F)?fo(F):br(F)).name}},$mobx:"$mobx"});const md=function _d(F,J,B){switch(B.length){case 0:return F.call(J);case 1:return F.call(J,B[0]);case 2:return F.call(J,B[0],B[1]);case 3:return F.call(J,B[0],B[1],B[2])}return F.apply(J,B)},La=function Hc(F){return F};var kd=Math.max;const Mo=function Oc(F,J,B){return J=kd(void 0===J?F.length-1:J,0),function(){for(var Te=arguments,ft=-1,Zt=kd(Te.length-J,0),rr=Array(Zt);++ft<Zt;)rr[ft]=Te[J+ft];ft=-1;for(var xr=Array(J+1);++ft<J;)xr[ft]=Te[ft];return xr[J]=B(rr),md(F,this,xr)}},Sa=function wo(F){return function(){return F}};var Tl=i(99567),ou=Tl.Z?function(F,J){return(0,Tl.Z)(F,"toString",{configurable:!0,enumerable:!1,value:Sa(J),writable:!0})}:La,pa=Date.now,Ae=function rd(F){var J=0,B=0;return function(){var Te=pa(),ft=16-(Te-B);if(B=Te,ft>0){if(++J>=800)return arguments[0]}else J=0;return F.apply(void 0,arguments)}}(ou);const ge=Ae,Ot=function ht(F,J){return ge(Mo(F,J,La),F+"")};var sn=i(15131),Un=i(2951),gr=i(66224);const Lo=function gi(F,J,B){(void 0!==B&&!(0,gr.Z)(F[J],B)||void 0===B&&!(J in F))&&(0,Un.Z)(F,J,B)};var ha=function Ta(F){return function(J,B,Te){for(var ft=-1,Zt=Object(J),rr=Te(J),xr=rr.length;xr--;){var hi=rr[F?xr:++ft];if(!1===B(Zt[hi],hi,Zt))break}return J}}();const Ca=ha;var Nu=i(27672),cc=i(1044),ka=i(36889),rl=i(42542),vc=i(40591),yc=i(34654),ju=i(18402),Ul=i(6539);var Fc=i(25014),cu=i(58209),Ma=i(4214),ll=i(98286),Ll=i(11595),id=Function.prototype.toString,Al=Object.prototype.hasOwnProperty,kl=id.call(Object);const ul=function Gu(F){if(!(0,Ul.Z)(F)||"[object Object]"!=(0,ll.Z)(F))return!1;var J=(0,Ll.Z)(F);if(null===J)return!0;var B=Al.call(J,"constructor")&&J.constructor;return"function"==typeof B&&B instanceof B&&id.call(B)==kl};var Cu=i(14803);const Ec=function cn(F,J){if(("constructor"!==J||"function"!=typeof F[J])&&"__proto__"!=J)return F[J]};var Iu=i(57640),qa=i(34673);const vd=function Bc(F,J,B,Te,ft,Zt,rr){var xr=Ec(F,B),hi=Ec(J,B),ns=rr.get(hi);if(ns)Lo(F,B,ns);else{var zo=Zt?Zt(xr,hi,B+"",F,J,rr):void 0,As=void 0===zo;if(As){var ml=(0,yc.Z)(hi),au=!ml&&(0,Fc.Z)(hi),Xl=!ml&&!au&&(0,Cu.Z)(hi);zo=hi,ml||au||Xl?(0,yc.Z)(xr)?zo=xr:function nc(F){return(0,Ul.Z)(F)&&(0,ju.Z)(F)}(xr)?zo=(0,ka.Z)(xr):au?(As=!1,zo=(0,Nu.Z)(hi,!0)):Xl?(As=!1,zo=(0,cc.Z)(hi,!0)):zo=[]:ul(hi)||(0,vc.Z)(hi)?(zo=xr,(0,vc.Z)(xr)?zo=function cl(F){return(0,Iu.Z)(F,(0,qa.Z)(F))}(xr):(!(0,Ma.Z)(xr)||(0,cu.Z)(xr))&&(zo=(0,rl.Z)(hi))):As=!1}As&&(rr.set(hi,zo),ft(zo,hi,Te,Zt,rr),rr.delete(hi)),Lo(F,B,zo)}},yd=function dc(F,J,B,Te,ft){F!==J&&Ca(J,function(Zt,rr){if(ft||(ft=new sn.Z),(0,Ma.Z)(Zt))vd(F,J,rr,B,dc,Te,ft);else{var xr=Te?Te(Ec(F,rr),Zt,rr+"",F,J,ft):void 0;void 0===xr&&(xr=Zt),Lo(F,rr,xr)}},qa.Z)},vf=function $p(F,J,B,Te,ft,Zt){return(0,Ma.Z)(F)&&(0,Ma.Z)(J)&&(Zt.set(J,F),yd(F,J,void 0,$p,Zt),Zt.delete(J)),F};var ap=i(28078);const fc=function Vu(F,J,B){if(!(0,Ma.Z)(B))return!1;var Te=typeof J;return!!("number"==Te?(0,ju.Z)(B)&&(0,ap.Z)(J,B.length):"string"==Te&&J in B)&&(0,gr.Z)(B[J],F)};var yp=function Wd(F){return Ot(function(J,B){var Te=-1,ft=B.length,Zt=ft>1?B[ft-1]:void 0,rr=ft>2?B[2]:void 0;for(Zt=F.length>3&&"function"==typeof Zt?(ft--,Zt):void 0,rr&&fc(B[0],B[1],rr)&&(Zt=ft<3?void 0:Zt,ft=1),J=Object(J);++Te<ft;){var xr=B[Te];xr&&F(J,xr,Te,Zt)}return J})}(function(F,J,B,Te){yd(F,J,B,Te)});const Lc=yp;var Fu=Ot(function(F){return F.push(void 0,vf),md(Lc,void 0,F)});const od=Fu,zc=function Oa(F){return"symbol"==typeof F||(0,Ul.Z)(F)&&"[object Symbol]"==(0,ll.Z)(F)};var sd=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,lp=/^\w*$/;const vo=function $d(F,J){if((0,yc.Z)(F))return!1;var B=typeof F;return!("number"!=B&&"symbol"!=B&&"boolean"!=B&&null!=F&&!zc(F))||lp.test(F)||!sd.test(F)||null!=J&&F in Object(J)};var pu=i(94013);function Ac(F,J){if("function"!=typeof F||null!=J&&"function"!=typeof J)throw new TypeError("Expected a function");var B=function(){var Te=arguments,ft=J?J.apply(this,Te):Te[0],Zt=B.cache;if(Zt.has(ft))return Zt.get(ft);var rr=F.apply(this,Te);return B.cache=Zt.set(ft,rr)||Zt,rr};return B.cache=new(Ac.Cache||pu.Z),B}Ac.Cache=pu.Z;const ga=Ac;var ic=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ql=/\\(\\)?/g,Sc=function Lu(F){var J=ga(F,function(Te){return 500===B.size&&B.clear(),Te}),B=J.cache;return J}(function(F){var J=[];return 46===F.charCodeAt(0)&&J.push(""),F.replace(ic,function(B,Te,ft,Zt){J.push(ft?Zt.replace(Ql,"$1"):Te||B)}),J});const Tc=Sc;var Zu=i(35770);const Wc=function hu(F,J){for(var B=-1,Te=null==F?0:F.length,ft=Array(Te);++B<Te;)ft[B]=J(F[B],B,F);return ft};var Jd=Zu.Z?Zu.Z.prototype:void 0,Jc=Jd?Jd.toString:void 0;const Uc=function Nl(F){if("string"==typeof F)return F;if((0,yc.Z)(F))return Wc(F,Nl)+"";if(zc(F))return Jc?Jc.call(F):"";var J=F+"";return"0"==J&&1/F==-1/0?"-0":J},h=function oc(F){return null==F?"":Uc(F)},P=function E(F,J){return(0,yc.Z)(F)?F:vo(F,J)?[F]:Tc(h(F))},de=function X(F){if("string"==typeof F||zc(F))return F;var J=F+"";return"0"==J&&1/F==-1/0?"-0":J},Ye=function ve(F,J){for(var B=0,Te=(J=P(J,F)).length;null!=F&&B<Te;)F=F[de(J[B++])];return B&&B==Te?F:void 0},nt=function xe(F,J,B){var Te=null==F?void 0:Ye(F,J);return void 0===Te?B:Te};var St=i(65252);const fn=function Mt(F){var J=null==F?0:F.length;return J?F[J-1]:void 0},$r=function fr(F,J){return J.length<2?F:Ye(F,function jn(F,J,B){var Te=-1,ft=F.length;J<0&&(J=-J>ft?0:ft+J),(B=B>ft?ft:B)<0&&(B+=ft),ft=J>B?0:B-J>>>0,J>>>=0;for(var Zt=Array(ft);++Te<ft;)Zt[Te]=F[Te+J];return Zt}(J,0,-1))},is=function Ui(F,J){return J=P(J,F),null==(F=$r(F,J))||delete F[de(fn(J))]},Zs=function yo(F){return ul(F)?void 0:F};var qs=i(57052),el=Zu.Z?Zu.Z.isConcatSpreadable:void 0;const Ga=function $a(F){return(0,yc.Z)(F)||(0,vc.Z)(F)||!!(el&&F&&F[el])},Gl=function wa(F,J,B,Te,ft){var Zt=-1,rr=F.length;for(B||(B=Ga),ft||(ft=[]);++Zt<rr;){var xr=F[Zt];J>0&&B(xr)?J>1?wa(xr,J-1,B,Te,ft):(0,qs.Z)(ft,xr):Te||(ft[ft.length]=xr)}return ft},Va=function _u(F){return null!=F&&F.length?Gl(F,1):[]},ku=function Mu(F){return ge(Mo(F,void 0,Va),F+"")};var xc=i(23359),K=ku(function(F,J){var B={};if(null==F)return B;var Te=!1;J=Wc(J,function(Zt){return Zt=P(Zt,F),Te||(Te=Zt.length>1),Zt}),(0,Iu.Z)(F,(0,xc.Z)(F),B),Te&&(B=(0,St.Z)(B,7,Zs));for(var ft=J.length;ft--;)is(B,J[ft]);return B});const be=K,Ai=function Dr(F,J){for(var B=-1,Te=null==F?0:F.length;++B<Te;)if(J(F[B],B,F))return!0;return!1};function Yc(F){var J=-1,B=null==F?0:F.length;for(this.__data__=new pu.Z;++J<B;)this.add(F[J])}Yc.prototype.add=Yc.prototype.push=function Aa(F){return this.__data__.set(F,"__lodash_hash_undefined__"),this},Yc.prototype.has=function Dl(F){return this.__data__.has(F)};const yf=Yc,f_=function Hd(F,J){return F.has(J)},Bd=function Xd(F,J,B,Te,ft,Zt){var rr=1&B,xr=F.length,hi=J.length;if(xr!=hi&&!(rr&&hi>xr))return!1;var ns=Zt.get(F),zo=Zt.get(J);if(ns&&zo)return ns==J&&zo==F;var As=-1,ml=!0,au=2&B?new yf:void 0;for(Zt.set(F,J),Zt.set(J,F);++As<xr;){var Xl=F[As],xu=J[As];if(Te)var Dd=rr?Te(xu,Xl,As,J,F,Zt):Te(Xl,xu,As,F,J,Zt);if(void 0!==Dd){if(Dd)continue;ml=!1;break}if(au){if(!Ai(J,function(lf,cd){if(!f_(au,cd)&&(Xl===lf||ft(Xl,lf,B,Te,Zt)))return au.push(cd)})){ml=!1;break}}else if(Xl!==xu&&!ft(Xl,xu,B,Te,Zt)){ml=!1;break}}return Zt.delete(F),Zt.delete(J),ml};var ah=i(83345);const dl=function Hp(F){var J=-1,B=Array(F.size);return F.forEach(function(Te,ft){B[++J]=[ft,Te]}),B},wf=function Uh(F){var J=-1,B=Array(F.size);return F.forEach(function(Te){B[++J]=Te}),B};var uh=Zu.Z?Zu.Z.prototype:void 0,ch=uh?uh.valueOf:void 0;var bf=i(22018),Nf=Object.prototype.hasOwnProperty;var If=i(17507),Gh="[object Arguments]",h_="[object Array]",fh="[object Object]",Vh=Object.prototype.hasOwnProperty;const em=function ph(F,J,B,Te,ft,Zt){var rr=(0,yc.Z)(F),xr=(0,yc.Z)(J),hi=rr?h_:(0,If.Z)(F),ns=xr?h_:(0,If.Z)(J),zo=(hi=hi==Gh?fh:hi)==fh,As=(ns=ns==Gh?fh:ns)==fh,ml=hi==ns;if(ml&&(0,Fc.Z)(F)){if(!(0,Fc.Z)(J))return!1;rr=!0,zo=!1}if(ml&&!zo)return Zt||(Zt=new sn.Z),rr||(0,Cu.Z)(F)?Bd(F,J,B,Te,ft,Zt):function p_(F,J,B,Te,ft,Zt,rr){switch(B){case"[object DataView]":if(F.byteLength!=J.byteLength||F.byteOffset!=J.byteOffset)return!1;F=F.buffer,J=J.buffer;case"[object ArrayBuffer]":return!(F.byteLength!=J.byteLength||!Zt(new ah.Z(F),new ah.Z(J)));case"[object Boolean]":case"[object Date]":case"[object Number]":return(0,gr.Z)(+F,+J);case"[object Error]":return F.name==J.name&&F.message==J.message;case"[object RegExp]":case"[object String]":return F==J+"";case"[object Map]":var xr=dl;case"[object Set]":if(xr||(xr=wf),F.size!=J.size&&!(1&Te))return!1;var ns=rr.get(F);if(ns)return ns==J;Te|=2,rr.set(F,J);var zo=Bd(xr(F),xr(J),Te,ft,Zt,rr);return rr.delete(F),zo;case"[object Symbol]":if(ch)return ch.call(F)==ch.call(J)}return!1}(F,J,hi,B,Te,ft,Zt);if(!(1&B)){var au=zo&&Vh.call(F,"__wrapped__"),Xl=As&&Vh.call(J,"__wrapped__");if(au||Xl){var xu=au?F.value():F,Dd=Xl?J.value():J;return Zt||(Zt=new sn.Z),ft(xu,Dd,B,Te,Zt)}}return!!ml&&(Zt||(Zt=new sn.Z),function Tf(F,J,B,Te,ft,Zt){var rr=1&B,xr=(0,bf.Z)(F),hi=xr.length;if(hi!=(0,bf.Z)(J).length&&!rr)return!1;for(var As=hi;As--;){var ml=xr[As];if(!(rr?ml in J:Nf.call(J,ml)))return!1}var au=Zt.get(F),Xl=Zt.get(J);if(au&&Xl)return au==J&&Xl==F;var xu=!0;Zt.set(F,J),Zt.set(J,F);for(var Dd=rr;++As<hi;){var lf=F[ml=xr[As]],cd=J[ml];if(Te)var a_=rr?Te(cd,lf,ml,J,F,Zt):Te(lf,cd,ml,F,J,Zt);if(!(void 0===a_?lf===cd||ft(lf,cd,B,Te,Zt):a_)){xu=!1;break}Dd||(Dd="constructor"==ml)}if(xu&&!Dd){var G_=F.constructor,uf=J.constructor;G_!=uf&&"constructor"in F&&"constructor"in J&&!("function"==typeof G_&&G_ instanceof G_&&"function"==typeof uf&&uf instanceof uf)&&(xu=!1)}return Zt.delete(F),Zt.delete(J),xu}(F,J,B,Te,ft,Zt))},Zh=function Du(F,J,B,Te,ft){return F===J||(null==F||null==J||!(0,Ul.Z)(F)&&!(0,Ul.Z)(J)?F!=F&&J!=J:em(F,J,B,Te,Du,ft))},Ep=function hh(F){return F==F&&!(0,Ma.Z)(F)};var Td=i(44409);const Cd=function Wh(F,J){return function(B){return null!=B&&B[F]===J&&(void 0!==J||F in Object(B))}},Jh=function mu(F){var J=function m_(F){for(var J=(0,Td.Z)(F),B=J.length;B--;){var Te=J[B],ft=F[Te];J[B]=[Te,ft,Ep(ft)]}return J}(F);return 1==J.length&&J[0][2]?Cd(J[0][0],J[0][1]):function(B){return B===F||function __(F,J,B,Te){var ft=B.length,Zt=ft,rr=!Te;if(null==F)return!Zt;for(F=Object(F);ft--;){var xr=B[ft];if(rr&&xr[2]?xr[1]!==F[xr[0]]:!(xr[0]in F))return!1}for(;++ft<Zt;){var hi=(xr=B[ft])[0],ns=F[hi],zo=xr[1];if(rr&&xr[2]){if(void 0===ns&&!(hi in F))return!1}else{var As=new sn.Z;if(Te)var ml=Te(ns,zo,hi,F,J,As);if(!(void 0===ml?Zh(zo,ns,3,Te,As):ml))return!1}}return!0}(B,F,J)}},Qh=function bp(F,J){return null!=F&&J in Object(F)};var ac=i(19238);const Sp=function Xh(F,J){return null!=F&&function qd(F,J,B){for(var Te=-1,ft=(J=P(J,F)).length,Zt=!1;++Te<ft;){var rr=de(J[Te]);if(!(Zt=null!=F&&B(F,rr)))break;F=F[rr]}return Zt||++Te!=ft?Zt:!!(ft=null==F?0:F.length)&&(0,ac.Z)(ft)&&(0,ap.Z)(rr,ft)&&((0,yc.Z)(F)||(0,vc.Z)(F))}(F,J,Qh)},gh=function qh(F){return vo(F)?function mh(F){return function(J){return null==J?void 0:J[F]}}(de(F)):function Kh(F){return function(J){return Ye(J,F)}}(F)},Wf=function e_(F){return"function"==typeof F?F:null==F?La:"object"==typeof F?(0,yc.Z)(F)?function _h(F,J){return vo(F)&&Ep(J)?Cd(de(F),J):function(B){var Te=nt(B,F);return void 0===Te&&Te===J?Sp(B,F):Zh(J,Te,3)}}(F[0],F[1]):Jh(F):gh(F)};var Eh=function Cf(F,J){return function(B,Te){if(null==B)return B;if(!(0,ju.Z)(B))return F(B,Te);for(var ft=B.length,Zt=J?ft:-1,rr=Object(B);(J?Zt--:++Zt<ft)&&!1!==Te(rr[Zt],Zt,rr););return B}}(function vh(F,J){return F&&Ca(F,J,Td.Z)});const da=Eh,$u=function wc(F,J){var B;return da(F,function(Te,ft,Zt){return!(B=J(Te,ft,Zt))}),!!B},Hu=function jp(F,J){for(var B=-1,Te=null==F?0:F.length;++B<Te;)if(!J(F[B],B,F))return!1;return!0},Lf=function bh(F,J){var B=!0;return da(F,function(Te,ft,Zt){return B=!!J(Te,ft,Zt)}),B},tf=function Jf(F){return F&&F.length?F[0]:void 0},Sh=function k_(F){for(var J=-1,B=null==F?0:F.length,Te=0,ft=[];++J<B;){var Zt=F[J];Zt&&(ft[Te++]=Zt)}return ft},dp=function Md(F,J,B,Te){for(var ft=F.length,Zt=B+(Te?1:-1);Te?Zt--:++Zt<ft;)if(J(F[Zt],Zt,F))return Zt;return-1};var Bu=/\s/;var kf=/^\s+/;const t_=function Gp(F){return F&&F.slice(0,function jl(F){for(var J=F.length;J--&&Bu.test(F.charAt(J)););return J}(F)+1).replace(kf,"")};var rf=/^[-+]0x[0-9a-f]+$/i,Th=/^0b[01]+$/i,n_=/^0o[0-7]+$/i,ud=parseInt;const fp=function Ch(F){if("number"==typeof F)return F;if(zc(F))return NaN;if((0,Ma.Z)(F)){var J="function"==typeof F.valueOf?F.valueOf():F;F=(0,Ma.Z)(J)?J+"":J}if("string"!=typeof F)return 0===F?F:+F;F=t_(F);var B=Th.test(F);return B||n_.test(F)?ud(F.slice(2),B?2:8):rf.test(F)?NaN:+F},Od=function Op(F){var J=function Xf(F){return F?1/0===(F=fp(F))||-1/0===F?17976931348623157e292*(F<0?-1:1):F==F?F:0:0===F?F:0}(F),B=J%1;return J==J?B?J-B:J:0};var Vp=Math.max,i_=function cp(F){return function(J,B,Te){var ft=Object(J);if(!(0,ju.Z)(J)){var Zt=Wf(B);J=(0,Td.Z)(J),B=function(xr){return Zt(ft[xr],xr,ft)}}var rr=F(J,B,Te);return rr>-1?ft[Zt?J[rr]:rr]:void 0}}(function Kf(F,J,B){var Te=null==F?0:F.length;if(!Te)return-1;var ft=null==B?0:Od(B);return ft<0&&(ft=Vp(Te+ft,0)),dp(F,Wf(J),ft)});const Ap=i_,qf=function sf(F){return"string"==typeof F||!(0,yc.Z)(F)&&(0,Ul.Z)(F)&&"[object String]"==(0,ll.Z)(F)};var zp=i(40309);const ep=function(){return zp.Z.Date.now()};var E_=Math.max,nm=Math.min;const S_=function $_(F,J,B){var Te=!0,ft=!0;if("function"!=typeof F)throw new TypeError("Expected a function");return(0,Ma.Z)(B)&&(Te="leading"in B?!!B.leading:Te,ft="trailing"in B?!!B.trailing:ft),function Oh(F,J,B){var Te,ft,Zt,rr,xr,hi,ns=0,zo=!1,As=!1,ml=!0;if("function"!=typeof F)throw new TypeError("Expected a function");function au(dd){var _p=Te,Wu=ft;return Te=ft=void 0,ns=dd,rr=F.apply(Wu,_p)}function Xl(dd){return ns=dd,xr=setTimeout(lf,J),zo?au(dd):rr}function Dd(dd){var _p=dd-hi;return void 0===hi||_p>=J||_p<0||As&&dd-ns>=Zt}function lf(){var dd=ep();if(Dd(dd))return cd(dd);xr=setTimeout(lf,function xu(dd){var hc=J-(dd-hi);return As?nm(hc,Zt-(dd-ns)):hc}(dd))}function cd(dd){return xr=void 0,ml&&Te?au(dd):(Te=ft=void 0,rr)}function uf(){var dd=ep(),_p=Dd(dd);if(Te=arguments,ft=this,hi=dd,_p){if(void 0===xr)return Xl(hi);if(As)return clearTimeout(xr),xr=setTimeout(lf,J),au(hi)}return void 0===xr&&(xr=setTimeout(lf,J)),rr}return J=fp(J)||0,(0,Ma.Z)(B)&&(zo=!!B.leading,Zt=(As="maxWait"in B)?E_(fp(B.maxWait)||0,J):Zt,ml="trailing"in B?!!B.trailing:ml),uf.cancel=function a_(){void 0!==xr&&clearTimeout(xr),ns=0,Te=hi=ft=xr=void 0},uf.flush=function G_(){return void 0===xr?rr:cd(ep())},uf}(F,J,{leading:Te,maxWait:J,trailing:ft})},H_=function Mf(F){return F!=F},T_=function Jp(F){return null==F?[]:function Rp(F,J){return Wc(J,function(B){return F[B]})}(F,(0,Td.Z)(F))};var Ad=Math.max;const Sm=function B_(F,J,B,Te){F=(0,ju.Z)(F)?F:T_(F),B=B&&!Te?Od(B):0;var ft=F.length;return B<0&&(B=Ad(ft+B,0)),qf(F)?B<=ft&&F.indexOf(J,B)>-1:!!ft&&function xp(F,J,B){return J==J?function tp(F,J,B){for(var Te=B-1,ft=F.length;++Te<ft;)if(F[Te]===J)return Te;return-1}(F,J,B):dp(F,H_,B)}(F,J,B)>-1};var hp=i(15427);const Gc=function Ah(F,J,B,Te){if(!(0,Ma.Z)(F))return F;for(var ft=-1,Zt=(J=P(J,F)).length,rr=Zt-1,xr=F;null!=xr&&++ft<Zt;){var hi=de(J[ft]),ns=B;if("__proto__"===hi||"constructor"===hi||"prototype"===hi)return F;if(ft!=rr){var zo=xr[hi];void 0===(ns=Te?Te(zo,hi,xr):void 0)&&(ns=(0,Ma.Z)(zo)?zo:(0,ap.Z)(J[ft+1])?[]:{})}(0,hp.Z)(xr,hi,ns),xr=xr[hi]}return F},I=function Dh(F,J){return function rm(F,J,B){for(var Te=-1,ft=J.length,Zt={};++Te<ft;){var rr=J[Te],xr=Ye(F,rr);B(xr,rr)&&Gc(Zt,P(rr,F),xr)}return Zt}(F,J,function(B,Te){return Sp(F,Te)})};var ne=ku(function(F,J){return null==F?{}:I(F,J)});const S=ne;function z(F,J){1&F&&(r.TgZ(0,"span"),r._uU(1,"loading..."),r.qZA())}const Me=function(F){return{$implicit:F}};function Ke(F,J){if(1&F&&(r.ynx(0),r.TgZ(1,"div"),r.Hsn(2),r.qZA(),r.BQk()),2&F){const B=r.oxw();r.xp6(1),r.Udp("height",B.getTotalHeight())}}const gn=function(){return{dontDetach:!0}},yr=["*"],Nr=["loadingTemplate"],vi=["treeNodeTemplate"],di=["treeNodeWrapperTemplate"],ts=["treeNodeFullTemplate"],Do=["viewport"],Ss=function(F,J,B,Te){return{loadingTemplate:F,treeNodeTemplate:J,treeNodeWrapperTemplate:B,treeNodeFullTemplate:Te}};function Yo(F,J){if(1&F&&r._UZ(0,"tree-node-collection",4),2&F){const B=r.oxw();r.Q6J("nodes",B.treeModel.roots)("treeModel",B.treeModel)("templates",r.l5B(3,Ss,B.loadingTemplate,B.treeNodeTemplate,B.treeNodeWrapperTemplate,B.treeNodeFullTemplate))}}function ia(F,J){if(1&F&&r._UZ(0,"tree-node-drop-slot",5),2&F){const B=r.oxw();r.Q6J("dropIndex",0)("node",B.treeModel.virtualRoot)}}function y(F,J){if(1&F&&r._UZ(0,"tree-node-drop-slot",6),2&F){const B=r.oxw(3);r.Q6J("dropIndex",B.node.index)("node",B.node.parent)}}function D(F,J){if(1&F&&(r.TgZ(0,"div"),r.YNc(1,y,1,2,"tree-node-drop-slot",3),r._UZ(2,"tree-node-wrapper",4)(3,"tree-node-children",5)(4,"tree-node-drop-slot",6),r.qZA()),2&F){const B=r.oxw(2);r.Tol(B.node.getClass()),r.ekj("tree-node",!0)("tree-node-expanded",B.node.isExpanded&&B.node.hasChildren)("tree-node-collapsed",B.node.isCollapsed&&B.node.hasChildren)("tree-node-leaf",B.node.isLeaf)("tree-node-active",B.node.isActive)("tree-node-focused",B.node.isFocused),r.xp6(1),r.Q6J("ngIf",0===B.index),r.xp6(1),r.Q6J("node",B.node)("index",B.index)("templates",B.templates),r.xp6(1),r.Q6J("node",B.node)("templates",B.templates),r.xp6(1),r.Q6J("dropIndex",B.node.index+1)("node",B.node.parent)}}const Y=function(F,J,B,Te){return{$implicit:F,node:J,index:B,templates:Te}};function Ee(F,J){if(1&F&&(r.ynx(0),r.YNc(1,D,5,22,"div",1),r.GkF(2,2),r.BQk()),2&F){const B=r.oxw();r.xp6(1),r.Q6J("ngIf",!B.templates.treeNodeFullTemplate),r.xp6(1),r.Q6J("ngTemplateOutlet",B.templates.treeNodeFullTemplate)("ngTemplateOutletContext",r.l5B(3,Y,B.node,B.node,B.index,B.templates))}}function ze(F,J){if(1&F&&(r.TgZ(0,"span"),r._uU(1),r.qZA()),2&F){const B=r.oxw();r.xp6(1),r.Oqu(B.node.displayField)}}const At=function(F,J,B){return{$implicit:F,node:J,index:B}};function tn(F,J){if(1&F){const B=r.EpF();r.TgZ(0,"span",3),r.NdJ("click",function(ft){return r.CHM(B),r.oxw(2).node.mouseAction("expanderClick",ft)}),r._UZ(1,"span",4),r.qZA()}if(2&F){const B=r.oxw(2);r.ekj("toggle-children-wrapper-expanded",B.node.isExpanded)("toggle-children-wrapper-collapsed",B.node.isCollapsed)}}function Tn(F,J){1&F&&r._UZ(0,"span",5)}function ar(F,J){if(1&F&&(r.ynx(0),r.YNc(1,tn,2,4,"span",1),r.YNc(2,Tn,1,0,"span",2),r.BQk()),2&F){const B=r.oxw();r.xp6(1),r.Q6J("ngIf",B.node.hasChildren),r.xp6(1),r.Q6J("ngIf",!B.node.hasChildren)}}function li(F,J){if(1&F&&r._UZ(0,"tree-node-collection",4),2&F){const B=r.oxw(3);r.Q6J("nodes",B.node.children)("templates",B.templates)("treeModel",B.node.treeModel)}}function Ho(F,J){if(1&F&&r._UZ(0,"tree-loading-component",5),2&F){const B=r.oxw(3);r.Udp("padding-left",B.node.getNodePadding()),r.Q6J("template",B.templates.loadingTemplate)("node",B.node)}}function Hs(F,J){if(1&F&&(r.TgZ(0,"div"),r.YNc(1,li,1,3,"tree-node-collection",2),r.YNc(2,Ho,1,4,"tree-loading-component",3),r.qZA()),2&F){const B=r.oxw(2);r.ekj("tree-children",!0)("tree-children-no-padding",B.node.options.levelPadding),r.xp6(1),r.Q6J("ngIf",B.node.children),r.xp6(1),r.Q6J("ngIf",!B.node.children)}}function po(F,J){if(1&F&&(r.ynx(0),r.YNc(1,Hs,3,6,"div",1),r.BQk()),2&F){const B=r.oxw();r.xp6(1),r.Q6J("treeAnimateOpen",B.node.isExpanded)("treeAnimateOpenSpeed",B.node.options.animateSpeed)("treeAnimateOpenAcceleration",B.node.options.animateAcceleration)("treeAnimateOpenEnabled",B.node.options.animateExpand)}}function fs(F,J){if(1&F&&r._UZ(0,"tree-node",2),2&F){const B=J.$implicit,Te=J.index,ft=r.oxw(2);r.Q6J("node",B)("index",Te)("templates",ft.templates)}}function oa(F,J){if(1&F&&(r.ynx(0),r.TgZ(1,"div"),r.YNc(2,fs,1,3,"tree-node",1),r.qZA(),r.BQk()),2&F){const B=r.oxw();r.xp6(1),r.Udp("margin-top",B.marginTop),r.xp6(1),r.Q6J("ngForOf",B.viewportNodes)("ngForTrackBy",B.trackNode)}}function Xs(F,J){if(1&F&&r._UZ(0,"tree-node-checkbox",4),2&F){const B=r.oxw(2);r.Q6J("node",B.node)}}function Qr(F,J){if(1&F){const B=r.EpF();r.TgZ(0,"div",2),r.YNc(1,Xs,1,1,"tree-node-checkbox",3),r._UZ(2,"tree-node-expander",4),r.TgZ(3,"div",5),r.NdJ("click",function(ft){return r.CHM(B),r.oxw().node.mouseAction("click",ft)})("dblclick",function(ft){return r.CHM(B),r.oxw().node.mouseAction("dblClick",ft)})("mouseover",function(ft){return r.CHM(B),r.oxw().node.mouseAction("mouseOver",ft)})("mouseout",function(ft){return r.CHM(B),r.oxw().node.mouseAction("mouseOut",ft)})("contextmenu",function(ft){return r.CHM(B),r.oxw().node.mouseAction("contextMenu",ft)})("treeDrop",function(ft){return r.CHM(B),r.oxw().node.onDrop(ft)})("treeDropDragOver",function(ft){return r.CHM(B),r.oxw().node.mouseAction("dragOver",ft)})("treeDropDragLeave",function(ft){return r.CHM(B),r.oxw().node.mouseAction("dragLeave",ft)})("treeDropDragEnter",function(ft){return r.CHM(B),r.oxw().node.mouseAction("dragEnter",ft)}),r._UZ(4,"tree-node-content",6),r.qZA()()}if(2&F){const B=r.oxw();r.Udp("padding-left",B.node.getNodePadding()),r.xp6(1),r.Q6J("ngIf",B.node.options.useCheckbox),r.xp6(1),r.Q6J("node",B.node),r.xp6(1),r.ekj("node-content-wrapper-active",B.node.isActive)("node-content-wrapper-focused",B.node.isFocused),r.Q6J("treeAllowDrop",B.node.allowDrop)("allowDragoverStyling",B.node.allowDragoverStyling())("treeDrag",B.node)("treeDragEnabled",B.node.allowDrag()),r.xp6(1),r.Q6J("node",B.node)("index",B.index)("template",B.templates.treeNodeTemplate)}}function Fr(F,J){if(1&F){const B=r.EpF();r.ynx(0),r.TgZ(1,"input",1),r.NdJ("click",function(ft){return r.CHM(B),r.oxw().node.mouseAction("checkboxClick",ft)}),r.qZA(),r.BQk()}if(2&F){const B=r.oxw();r.xp6(1),r.Q6J("checked",B.node.isSelected)("indeterminate",B.node.isPartiallySelected)}}let Zr=(()=>{class F{constructor(B,Te){this.templateRef=B,this.viewContainer=Te,this.templateBindings={}}ngOnInit(){this.view=this.viewContainer.createEmbeddedView(this.templateRef),this.dispose&&this.dispose(),this.shouldDetach()&&this.view.detach(),this.autoDetect(this.view)}shouldDetach(){return this.treeMobxAutorun&&this.treeMobxAutorun.detach}autoDetect(B){this.dispose=ii(()=>B.detectChanges())}ngOnDestroy(){this.dispose&&this.dispose()}}return F.\u0275fac=function(B){return new(B||F)(r.Y36(r.Rgc),r.Y36(r.s_b))},F.\u0275dir=r.lG2({type:F,selectors:[["","treeMobxAutorun",""]],inputs:{treeMobxAutorun:"treeMobxAutorun"}}),F})();const Of={TOGGLE_ACTIVE:(F,J,B)=>J&&J.toggleActivated(),TOGGLE_ACTIVE_MULTI:(F,J,B)=>J&&J.toggleActivated(!0),TOGGLE_SELECTED:(F,J,B)=>J&&J.toggleSelected(),ACTIVATE:(F,J,B)=>J.setIsActive(!0),DEACTIVATE:(F,J,B)=>J.setIsActive(!1),SELECT:(F,J,B)=>J.setIsSelected(!0),DESELECT:(F,J,B)=>J.setIsSelected(!1),FOCUS:(F,J,B)=>J.focus(),TOGGLE_EXPANDED:(F,J,B)=>J.hasChildren&&J.toggleExpanded(),EXPAND:(F,J,B)=>J.expand(),COLLAPSE:(F,J,B)=>J.collapse(),DRILL_DOWN:(F,J,B)=>F.focusDrillDown(),DRILL_UP:(F,J,B)=>F.focusDrillUp(),NEXT_NODE:(F,J,B)=>F.focusNextNode(),PREVIOUS_NODE:(F,J,B)=>F.focusPreviousNode(),MOVE_NODE:(F,J,B,{from:Te,to:ft})=>{B.ctrlKey?F.copyNode(Te,ft):F.moveNode(Te,ft)}},Qm={mouse:{click:Of.TOGGLE_ACTIVE,dblClick:null,contextMenu:null,expanderClick:Of.TOGGLE_EXPANDED,checkboxClick:Of.TOGGLE_SELECTED,drop:Of.MOVE_NODE},keys:{39:Of.DRILL_DOWN,37:Of.DRILL_UP,40:Of.NEXT_NODE,38:Of.PREVIOUS_NODE,32:Of.TOGGLE_ACTIVE,13:Of.TOGGLE_ACTIVE}};class bg{constructor(J={}){this.options=J,this.actionMapping=od({},this.options.actionMapping,Qm),J.rtl&&(this.actionMapping.keys[39]=nt(J,["actionMapping","keys",39])||Of.DRILL_UP,this.actionMapping.keys[37]=nt(J,["actionMapping","keys",37])||Of.DRILL_DOWN)}get hasChildrenField(){return this.options.hasChildrenField||"hasChildren"}get childrenField(){return this.options.childrenField||"children"}get displayField(){return this.options.displayField||"name"}get idField(){return this.options.idField||"id"}get isExpandedField(){return this.options.isExpandedField||"isExpanded"}get getChildren(){return this.options.getChildren}get levelPadding(){return this.options.levelPadding||0}get useVirtualScroll(){return this.options.useVirtualScroll}get animateExpand(){return this.options.animateExpand}get animateSpeed(){return this.options.animateSpeed||1}get animateAcceleration(){return this.options.animateAcceleration||1.2}get scrollOnActivate(){return void 0===this.options.scrollOnActivate||this.options.scrollOnActivate}get rtl(){return!!this.options.rtl}get rootId(){return this.options.rootId}get useCheckbox(){return this.options.useCheckbox}get useTriState(){return void 0===this.options.useTriState||this.options.useTriState}get scrollContainer(){return this.options.scrollContainer}get allowDragoverStyling(){return void 0===this.options.allowDragoverStyling||this.options.allowDragoverStyling}getNodeClone(J){return this.options.getNodeClone?this.options.getNodeClone(J):be(Object.assign({},J.data),["id"])}allowDrop(J,B,Te){return this.options.allowDrop instanceof Function?this.options.allowDrop(J,B,Te):void 0===this.options.allowDrop||this.options.allowDrop}allowDrag(J){return this.options.allowDrag instanceof Function?this.options.allowDrag(J):this.options.allowDrag}nodeClass(J){return this.options.nodeClass?this.options.nodeClass(J):""}nodeHeight(J){if(J.data.virtual)return 0;let B=this.options.nodeHeight||22;return"function"==typeof B&&(B=B(J)),B+(0===J.index?2:1)*this.dropSlotHeight}get dropSlotHeight(){return function wt(F){return"number"==typeof F||(0,Ul.Z)(F)&&"[object Number]"==(0,ll.Z)(F)}(this.options.dropSlotHeight)?this.options.dropSlotHeight:2}}const Qc={toggleExpanded:"toggleExpanded",activate:"activate",deactivate:"deactivate",nodeActivate:"nodeActivate",nodeDeactivate:"nodeDeactivate",select:"select",deselect:"deselect",focus:"focus",blur:"blur",initialized:"initialized",updateData:"updateData",moveNode:"moveNode",copyNode:"copyNode",event:"event",loadNodeChildren:"loadNodeChildren",changeFilter:"changeFilter",stateChange:"stateChange"};var Pc=function(F,J,B,Te){var rr,ft=arguments.length,Zt=ft<3?J:null===Te?Te=Object.getOwnPropertyDescriptor(J,B):Te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Zt=Reflect.decorate(F,J,B,Te);else for(var xr=F.length-1;xr>=0;xr--)(rr=F[xr])&&(Zt=(ft<3?rr(Zt):ft>3?rr(J,B,Zt):rr(J,B))||Zt);return ft>3&&Zt&&Object.defineProperty(J,B,Zt),Zt},su=function(F,J){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(F,J)};let Sg=(()=>{class F{constructor(B,Te,ft,Zt){this.data=B,this.parent=Te,this.treeModel=ft,this.position=0,this.allowDrop=(rr,xr)=>this.options.allowDrop(rr,{parent:this,index:0},xr),this.allowDragoverStyling=()=>this.options.allowDragoverStyling,null==this.id&&(this.id=function am(){return Math.floor(1e13*Math.random())}()),this.index=Zt,this.getField("children")&&this._initChildren(),this.autoLoadChildren()}get isHidden(){return this.treeModel.isHidden(this)}get isExpanded(){return this.treeModel.isExpanded(this)}get isActive(){return this.treeModel.isActive(this)}get isFocused(){return this.treeModel.isNodeFocused(this)}get isSelected(){return this.isSelectable()?this.treeModel.isSelected(this):function Ts(F,J,B){var Te=(0,yc.Z)(F)?Ai:$u;return B&&fc(F,J,B)&&(J=void 0),Te(F,Wf(J))}(this.children,B=>B.isSelected)}get isAllSelected(){return this.isSelectable()?this.treeModel.isSelected(this):function Mp(F,J,B){var Te=(0,yc.Z)(F)?Hu:Lf;return B&&fc(F,J,B)&&(J=void 0),Te(F,Wf(J))}(this.children,B=>B.isAllSelected)}get isPartiallySelected(){return this.isSelected&&!this.isAllSelected}get level(){return this.parent?this.parent.level+1:0}get path(){return this.parent?[...this.parent.path,this.id]:[]}get elementRef(){throw"Element Ref is no longer supported since introducing virtual scroll\n\n      You may use a template to obtain a reference to the element"}get originalNode(){return this._originalNode}get hasChildren(){return!!(this.getField("hasChildren")||this.children&&this.children.length>0)}get isCollapsed(){return!this.isExpanded}get isLeaf(){return!this.hasChildren}get isRoot(){return this.parent.data.virtual}get realParent(){return this.isRoot?null:this.parent}get options(){return this.treeModel.options}fireEvent(B){this.treeModel.fireEvent(B)}get displayField(){return this.getField("display")}get id(){return this.getField("id")}set id(B){this.setField("id",B)}getField(B){return this.data[this.options[`${B}Field`]]}setField(B,Te){this.data[this.options[`${B}Field`]]=Te}_findAdjacentSibling(B,Te=!1){const ft=this._getParentsChildren(Te),Zt=ft.indexOf(this);return ft.length>Zt+B?ft[Zt+B]:null}findNextSibling(B=!1){return this._findAdjacentSibling(1,B)}findPreviousSibling(B=!1){return this._findAdjacentSibling(-1,B)}getVisibleChildren(){return this.visibleChildren}get visibleChildren(){return(this.children||[]).filter(B=>!B.isHidden)}getFirstChild(B=!1){return tf((B?this.visibleChildren:this.children)||[])}getLastChild(B=!1){return fn((B?this.visibleChildren:this.children)||[])}findNextNode(B=!0,Te=!1){return B&&this.isExpanded&&this.getFirstChild(Te)||this.findNextSibling(Te)||this.parent&&this.parent.findNextNode(!1,Te)}findPreviousNode(B=!1){let Te=this.findPreviousSibling(B);return Te?Te._getLastOpenDescendant(B):this.realParent}_getLastOpenDescendant(B=!1){const Te=this.getLastChild(B);return this.isCollapsed||!Te?this:Te._getLastOpenDescendant(B)}_getParentsChildren(B=!1){return this.parent&&(B?this.parent.getVisibleChildren():this.parent.children)||[]}getIndexInParent(B=!1){return this._getParentsChildren(B).indexOf(this)}isDescendantOf(B){return this===B||this.parent&&this.parent.isDescendantOf(B)}getNodePadding(){return this.options.levelPadding*(this.level-1)+"px"}getClass(){return[this.options.nodeClass(this),`tree-node-level-${this.level}`].join(" ")}onDrop(B){this.mouseAction("drop",B.event,{from:B.element,to:{parent:this,index:0,dropOnNode:!0}})}allowDrag(){return this.options.allowDrag(this)}loadNodeChildren(){return this.options.getChildren?Promise.resolve(this.options.getChildren(this)).then(B=>{B&&(this.setField("children",B),this._initChildren(),this.options.useTriState&&this.treeModel.isSelected(this)&&this.setIsSelected(!0),this.children.forEach(Te=>{Te.getField("isExpanded")&&Te.hasChildren&&Te.expand()}))}).then(()=>{this.fireEvent({eventName:Qc.loadNodeChildren,node:this})}):Promise.resolve()}expand(){return this.isExpanded||this.toggleExpanded(),this}collapse(){return this.isExpanded&&this.toggleExpanded(),this}doForAll(B){Promise.resolve(B(this)).then(()=>{this.children&&this.children.forEach(Te=>Te.doForAll(B))})}expandAll(){this.doForAll(B=>B.expand())}collapseAll(){this.doForAll(B=>B.collapse())}ensureVisible(){return this.realParent&&(this.realParent.expand(),this.realParent.ensureVisible()),this}toggleExpanded(){return this.setIsExpanded(!this.isExpanded),this}setIsExpanded(B){return this.hasChildren&&this.treeModel.setExpandedNode(this,B),this}autoLoadChildren(){this.handler=_s(()=>this.isExpanded,B=>{!this.children&&this.hasChildren&&B&&this.loadNodeChildren()},{fireImmediately:!0})}dispose(){this.children&&this.children.forEach(B=>B.dispose()),this.handler&&this.handler(),this.parent=null,this.children=null}setIsActive(B,Te=!1){return this.treeModel.setActiveNode(this,B,Te),B&&this.focus(this.options.scrollOnActivate),this}isSelectable(){return this.isLeaf||!this.children||!this.options.useTriState}setIsSelected(B){return this.isSelectable()?this.treeModel.setSelectedNode(this,B):this.visibleChildren.forEach(Te=>Te.setIsSelected(B)),this}toggleSelected(){return this.setIsSelected(!this.isSelected),this}toggleActivated(B=!1){return this.setIsActive(!this.isActive,B),this}setActiveAndVisible(B=!1){return this.setIsActive(!0,B).ensureVisible(),setTimeout(this.scrollIntoView.bind(this)),this}scrollIntoView(B=!1){this.treeModel.virtualScroll.scrollIntoView(this,B)}focus(B=!0){let Te=this.treeModel.getFocusedNode();return this.treeModel.setFocusedNode(this),B&&this.scrollIntoView(),Te&&this.fireEvent({eventName:Qc.blur,node:Te}),this.fireEvent({eventName:Qc.focus,node:this}),this}blur(){let B=this.treeModel.getFocusedNode();return this.treeModel.setFocusedNode(null),B&&this.fireEvent({eventName:Qc.blur,node:this}),this}setIsHidden(B){this.treeModel.setIsHidden(this,B)}hide(){this.setIsHidden(!0)}show(){this.setIsHidden(!1)}mouseAction(B,Te,ft=null){this.treeModel.setFocus(!0);const rr=this.options.actionMapping.mouse[B];rr&&rr(this.treeModel,this,Te,ft)}getSelfHeight(){return this.options.nodeHeight(this)}_initChildren(){this.children=this.getField("children").map((B,Te)=>new F(B,this,this.treeModel,Te))}}return Pc([Se,su("design:type",Object),su("design:paramtypes",[])],F.prototype,"isHidden",null),Pc([Se,su("design:type",Object),su("design:paramtypes",[])],F.prototype,"isExpanded",null),Pc([Se,su("design:type",Object),su("design:paramtypes",[])],F.prototype,"isActive",null),Pc([Se,su("design:type",Object),su("design:paramtypes",[])],F.prototype,"isFocused",null),Pc([Se,su("design:type",Object),su("design:paramtypes",[])],F.prototype,"isSelected",null),Pc([Se,su("design:type",Object),su("design:paramtypes",[])],F.prototype,"isAllSelected",null),Pc([Se,su("design:type",Object),su("design:paramtypes",[])],F.prototype,"isPartiallySelected",null),Pc([Wn,su("design:type",Array)],F.prototype,"children",void 0),Pc([Wn,su("design:type",Number)],F.prototype,"index",void 0),Pc([Wn,su("design:type",Object)],F.prototype,"position",void 0),Pc([Wn,su("design:type",Number)],F.prototype,"height",void 0),Pc([Se,su("design:type",Number),su("design:paramtypes",[])],F.prototype,"level",null),Pc([Se,su("design:type",Array),su("design:paramtypes",[])],F.prototype,"path",null),Pc([Se,su("design:type",Object),su("design:paramtypes",[])],F.prototype,"visibleChildren",null),Pc([te,su("design:type",Function),su("design:paramtypes",[Object]),su("design:returntype",void 0)],F.prototype,"setIsSelected",null),Pc([te,su("design:type",Function),su("design:paramtypes",[]),su("design:returntype",void 0)],F.prototype,"_initChildren",null),F})();var Vl=function(F,J,B,Te){var rr,ft=arguments.length,Zt=ft<3?J:null===Te?Te=Object.getOwnPropertyDescriptor(J,B):Te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Zt=Reflect.decorate(F,J,B,Te);else for(var xr=F.length-1;xr>=0;xr--)(rr=F[xr])&&(Zt=(ft<3?rr(Zt):ft>3?rr(J,B,Zt):rr(J,B))||Zt);return ft>3&&Zt&&Object.defineProperty(J,B,Zt),Zt},Ko=function(F,J){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(F,J)};let Il=(()=>{class F{constructor(){this.options=new bg,this.eventNames=Object.keys(Qc),this.expandedNodeIds={},this.selectedLeafNodeIds={},this.activeNodeIds={},this.hiddenNodeIds={},this.focusedNodeId=null,this.firstUpdate=!0,this.subscriptions=[]}fireEvent(B){B.treeModel=this,this.events[B.eventName].emit(B),this.events.event.emit(B)}subscribe(B,Te){const ft=this.events[B].subscribe(Te);this.subscriptions.push(ft)}getFocusedNode(){return this.focusedNode}getActiveNode(){return this.activeNodes[0]}getActiveNodes(){return this.activeNodes}getVisibleRoots(){return this.virtualRoot.visibleChildren}getFirstRoot(B=!1){return tf(B?this.getVisibleRoots():this.roots)}getLastRoot(B=!1){return fn(B?this.getVisibleRoots():this.roots)}get isFocused(){return F.focusedTree===this}isNodeFocused(B){return this.focusedNode===B}isEmptyTree(){return this.roots&&0===this.roots.length}get focusedNode(){return this.focusedNodeId?this.getNodeById(this.focusedNodeId):null}get expandedNodes(){const B=Object.keys(this.expandedNodeIds).filter(Te=>this.expandedNodeIds[Te]).map(Te=>this.getNodeById(Te));return Sh(B)}get activeNodes(){const B=Object.keys(this.activeNodeIds).filter(Te=>this.activeNodeIds[Te]).map(Te=>this.getNodeById(Te));return Sh(B)}get hiddenNodes(){const B=Object.keys(this.hiddenNodeIds).filter(Te=>this.hiddenNodeIds[Te]).map(Te=>this.getNodeById(Te));return Sh(B)}get selectedLeafNodes(){const B=Object.keys(this.selectedLeafNodeIds).filter(Te=>this.selectedLeafNodeIds[Te]).map(Te=>this.getNodeById(Te));return Sh(B)}getNodeByPath(B,Te=null){if(!B)return null;if(Te=Te||this.virtualRoot,0===B.length)return Te;if(!Te.children)return null;const ft=B.shift(),Zt=Ap(Te.children,{id:ft});return Zt?this.getNodeByPath(B,Zt):null}getNodeById(B){const Te=B.toString();return this.getNodeBy(ft=>ft.id.toString()===Te)}getNodeBy(B,Te=null){if(!(Te=Te||this.virtualRoot).children)return null;const ft=Ap(Te.children,B);if(ft)return ft;for(let Zt of Te.children){const rr=this.getNodeBy(B,Zt);if(rr)return rr}}isExpanded(B){return this.expandedNodeIds[B.id]}isHidden(B){return this.hiddenNodeIds[B.id]}isActive(B){return this.activeNodeIds[B.id]}isSelected(B){return this.selectedLeafNodeIds[B.id]}ngOnDestroy(){this.dispose(),this.unsubscribeAll()}dispose(){this.virtualRoot&&this.virtualRoot.dispose()}unsubscribeAll(){this.subscriptions.forEach(B=>B.unsubscribe()),this.subscriptions=[]}setData({nodes:B,options:Te=null,events:ft=null}){Te&&(this.options=new bg(Te)),ft&&(this.events=ft),B&&(this.nodes=B),this.update()}update(){let B={id:this.options.rootId,virtual:!0,[this.options.childrenField]:this.nodes};this.dispose(),this.virtualRoot=new Sg(B,null,this,0),this.roots=this.virtualRoot.children,this.firstUpdate?this.roots&&(this.firstUpdate=!1,this._calculateExpandedNodes()):this.fireEvent({eventName:Qc.updateData})}setFocusedNode(B){this.focusedNodeId=B?B.id:null}setFocus(B){F.focusedTree=B?this:null}doForAll(B){this.roots.forEach(Te=>Te.doForAll(B))}focusNextNode(){let B=this.getFocusedNode(),Te=B?B.findNextNode(!0,!0):this.getFirstRoot(!0);Te&&Te.focus()}focusPreviousNode(){let B=this.getFocusedNode(),Te=B?B.findPreviousNode(!0):this.getLastRoot(!0);Te&&Te.focus()}focusDrillDown(){let B=this.getFocusedNode();if(B&&B.isCollapsed&&B.hasChildren)B.toggleExpanded();else{let Te=B?B.getFirstChild(!0):this.getFirstRoot(!0);Te&&Te.focus()}}focusDrillUp(){let B=this.getFocusedNode();if(B)if(B.isExpanded)B.toggleExpanded();else{let Te=B.realParent;Te&&Te.focus()}}setActiveNode(B,Te,ft=!1){ft?this._setActiveNodeMulti(B,Te):this._setActiveNodeSingle(B,Te),Te?(B.focus(this.options.scrollOnActivate),this.fireEvent({eventName:Qc.activate,node:B}),this.fireEvent({eventName:Qc.nodeActivate,node:B})):(this.fireEvent({eventName:Qc.deactivate,node:B}),this.fireEvent({eventName:Qc.nodeDeactivate,node:B}))}setSelectedNode(B,Te){this.selectedLeafNodeIds=Object.assign({},this.selectedLeafNodeIds,{[B.id]:Te}),Te?(B.focus(),this.fireEvent({eventName:Qc.select,node:B})):this.fireEvent({eventName:Qc.deselect,node:B})}setExpandedNode(B,Te){this.expandedNodeIds=Object.assign({},this.expandedNodeIds,{[B.id]:Te}),this.fireEvent({eventName:Qc.toggleExpanded,node:B,isExpanded:Te})}expandAll(){this.roots.forEach(B=>B.expandAll())}collapseAll(){this.roots.forEach(B=>B.collapseAll())}setIsHidden(B,Te){this.hiddenNodeIds=Object.assign({},this.hiddenNodeIds,{[B.id]:Te})}setHiddenNodeIds(B){this.hiddenNodeIds=B.reduce((Te,ft)=>Object.assign(Te,{[ft]:!0}),{})}performKeyAction(B,Te){const ft=this.options.actionMapping.keys[Te.keyCode];return!!ft&&(Te.preventDefault(),ft(this,B,Te),!0)}filterNodes(B,Te=!0){let ft;if(!B)return this.clearFilter();if(qf(B))ft=rr=>-1!==rr.displayField.toLowerCase().indexOf(B.toLowerCase());else{if(!(0,cu.Z)(B))return console.error("Don't know what to do with filter",B),void console.error("Should be either a string or function");ft=B}const Zt={};this.roots.forEach(rr=>this._filterNode(Zt,rr,ft,Te)),this.hiddenNodeIds=Zt,this.fireEvent({eventName:Qc.changeFilter})}clearFilter(){this.hiddenNodeIds={},this.fireEvent({eventName:Qc.changeFilter})}moveNode(B,Te){const ft=B.getIndexInParent(),Zt=B.parent;if(!this.canMoveNode(B,Te,ft))return;const rr=Zt.getField("children");Te.parent.getField("children")||Te.parent.setField("children",[]);const xr=Te.parent.getField("children"),hi=rr.splice(ft,1)[0];let ns=Zt===Te.parent&&Te.index>ft?Te.index-1:Te.index;xr.splice(ns,0,hi),Zt.treeModel.update(),Te.parent.treeModel!==Zt.treeModel&&Te.parent.treeModel.update(),this.fireEvent({eventName:Qc.moveNode,node:hi,to:{parent:Te.parent.data,index:ns},from:{parent:Zt.data,index:ft}})}copyNode(B,Te){const ft=B.getIndexInParent();if(!this.canMoveNode(B,Te,ft))return;Te.parent.getField("children")||Te.parent.setField("children",[]);const Zt=Te.parent.getField("children"),rr=this.options.getNodeClone(B);Zt.splice(Te.index,0,rr),B.treeModel.update(),Te.parent.treeModel!==B.treeModel&&Te.parent.treeModel.update(),this.fireEvent({eventName:Qc.copyNode,node:rr,to:{parent:Te.parent.data,index:Te.index}})}getState(){return{expandedNodeIds:this.expandedNodeIds,selectedLeafNodeIds:this.selectedLeafNodeIds,activeNodeIds:this.activeNodeIds,hiddenNodeIds:this.hiddenNodeIds,focusedNodeId:this.focusedNodeId}}setState(B){!B||Object.assign(this,{expandedNodeIds:B.expandedNodeIds||{},selectedLeafNodeIds:B.selectedLeafNodeIds||{},activeNodeIds:B.activeNodeIds||{},hiddenNodeIds:B.hiddenNodeIds||{},focusedNodeId:B.focusedNodeId})}subscribeToState(B){ii(()=>B(this.getState()))}canMoveNode(B,Te,ft){return ft||B.getIndexInParent(),(B.parent!==Te.parent||ft!==Te.index)&&!Te.parent.isDescendantOf(B)}calculateExpandedNodes(){this._calculateExpandedNodes()}_filterNode(B,Te,ft,Zt){let rr=ft(Te);return Te.children&&Te.children.forEach(xr=>{this._filterNode(B,xr,ft,Zt)&&(rr=!0)}),rr||(B[Te.id]=!0),Zt&&rr&&Te.ensureVisible(),rr}_calculateExpandedNodes(B=null){(B=B||this.virtualRoot).data[this.options.isExpandedField]&&(this.expandedNodeIds=Object.assign({},this.expandedNodeIds,{[B.id]:!0})),B.children&&B.children.forEach(Te=>this._calculateExpandedNodes(Te))}_setActiveNodeSingle(B,Te){this.activeNodes.filter(ft=>ft!==B).forEach(ft=>{this.fireEvent({eventName:Qc.deactivate,node:ft}),this.fireEvent({eventName:Qc.nodeDeactivate,node:ft})}),this.activeNodeIds=Te?{[B.id]:!0}:{}}_setActiveNodeMulti(B,Te){this.activeNodeIds=Object.assign({},this.activeNodeIds,{[B.id]:Te})}}return F.\u0275fac=function(B){return new(B||F)},F.\u0275prov=r.Yz7({token:F,factory:F.\u0275fac}),F.focusedTree=null,F})();Vl([Wn,Ko("design:type",Array)],Il.prototype,"roots",void 0),Vl([Wn,Ko("design:type",Object)],Il.prototype,"expandedNodeIds",void 0),Vl([Wn,Ko("design:type",Object)],Il.prototype,"selectedLeafNodeIds",void 0),Vl([Wn,Ko("design:type",Object)],Il.prototype,"activeNodeIds",void 0),Vl([Wn,Ko("design:type",Object)],Il.prototype,"hiddenNodeIds",void 0),Vl([Wn,Ko("design:type",Object)],Il.prototype,"focusedNodeId",void 0),Vl([Wn,Ko("design:type",Sg)],Il.prototype,"virtualRoot",void 0),Vl([Se,Ko("design:type",Object),Ko("design:paramtypes",[])],Il.prototype,"focusedNode",null),Vl([Se,Ko("design:type",Object),Ko("design:paramtypes",[])],Il.prototype,"expandedNodes",null),Vl([Se,Ko("design:type",Object),Ko("design:paramtypes",[])],Il.prototype,"activeNodes",null),Vl([Se,Ko("design:type",Object),Ko("design:paramtypes",[])],Il.prototype,"hiddenNodes",null),Vl([Se,Ko("design:type",Object),Ko("design:paramtypes",[])],Il.prototype,"selectedLeafNodes",null),Vl([te,Ko("design:type",Function),Ko("design:paramtypes",[Object]),Ko("design:returntype",void 0)],Il.prototype,"setData",null),Vl([te,Ko("design:type",Function),Ko("design:paramtypes",[]),Ko("design:returntype",void 0)],Il.prototype,"update",null),Vl([te,Ko("design:type",Function),Ko("design:paramtypes",[Object]),Ko("design:returntype",void 0)],Il.prototype,"setFocusedNode",null),Vl([te,Ko("design:type",Function),Ko("design:paramtypes",[Object]),Ko("design:returntype",void 0)],Il.prototype,"setFocus",null),Vl([te,Ko("design:type",Function),Ko("design:paramtypes",[Object]),Ko("design:returntype",void 0)],Il.prototype,"doForAll",null),Vl([te,Ko("design:type",Function),Ko("design:paramtypes",[]),Ko("design:returntype",void 0)],Il.prototype,"focusNextNode",null),Vl([te,Ko("design:type",Function),Ko("design:paramtypes",[]),Ko("design:returntype",void 0)],Il.prototype,"focusPreviousNode",null),Vl([te,Ko("design:type",Function),Ko("design:paramtypes",[]),Ko("design:returntype",void 0)],Il.prototype,"focusDrillDown",null),Vl([te,Ko("design:type",Function),Ko("design:paramtypes",[]),Ko("design:returntype",void 0)],Il.prototype,"focusDrillUp",null),Vl([te,Ko("design:type",Function),Ko("design:paramtypes",[Object,Object,Object]),Ko("design:returntype",void 0)],Il.prototype,"setActiveNode",null),Vl([te,Ko("design:type",Function),Ko("design:paramtypes",[Object,Object]),Ko("design:returntype",void 0)],Il.prototype,"setSelectedNode",null),Vl([te,Ko("design:type",Function),Ko("design:paramtypes",[Object,Object]),Ko("design:returntype",void 0)],Il.prototype,"setExpandedNode",null),Vl([te,Ko("design:type",Function),Ko("design:paramtypes",[]),Ko("design:returntype",void 0)],Il.prototype,"expandAll",null),Vl([te,Ko("design:type",Function),Ko("design:paramtypes",[]),Ko("design:returntype",void 0)],Il.prototype,"collapseAll",null),Vl([te,Ko("design:type",Function),Ko("design:paramtypes",[Object,Object]),Ko("design:returntype",void 0)],Il.prototype,"setIsHidden",null),Vl([te,Ko("design:type",Function),Ko("design:paramtypes",[Object]),Ko("design:returntype",void 0)],Il.prototype,"setHiddenNodeIds",null),Vl([te,Ko("design:type",Function),Ko("design:paramtypes",[Object,Object]),Ko("design:returntype",void 0)],Il.prototype,"filterNodes",null),Vl([te,Ko("design:type",Function),Ko("design:paramtypes",[]),Ko("design:returntype",void 0)],Il.prototype,"clearFilter",null),Vl([te,Ko("design:type",Function),Ko("design:paramtypes",[Object,Object]),Ko("design:returntype",void 0)],Il.prototype,"moveNode",null),Vl([te,Ko("design:type",Function),Ko("design:paramtypes",[Object,Object]),Ko("design:returntype",void 0)],Il.prototype,"copyNode",null),Vl([te,Ko("design:type",Function),Ko("design:paramtypes",[Object]),Ko("design:returntype",void 0)],Il.prototype,"setState",null);let Km=(()=>{class F{constructor(){this._draggedElement=null}set(B){this._draggedElement=B}get(){return this._draggedElement}isDragging(){return!!this.get()}}return F.\u0275fac=function(B){return new(B||F)},F.\u0275prov=(0,r.Yz7)({factory:function(){return new F},token:F,providedIn:"root"}),F})();var af=function(F,J,B,Te){var rr,ft=arguments.length,Zt=ft<3?J:null===Te?Te=Object.getOwnPropertyDescriptor(J,B):Te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Zt=Reflect.decorate(F,J,B,Te);else for(var xr=F.length-1;xr>=0;xr--)(rr=F[xr])&&(Zt=(ft<3?rr(Zt):ft>3?rr(J,B,Zt):rr(J,B))||Zt);return ft>3&&Zt&&Object.defineProperty(J,B,Zt),Zt},Xc=function(F,J){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(F,J)};let wp=(()=>{class F{constructor(B){this.treeModel=B,this.yBlocks=0,this.x=0,this.viewportHeight=null,this.viewport=null,B.virtualScroll=this,this._dispose=[ii(()=>this.fixScroll())]}get y(){return 150*this.yBlocks}get totalHeight(){return this.treeModel.virtualRoot?this.treeModel.virtualRoot.height:0}fireEvent(B){this.treeModel.fireEvent(B)}init(){const B=this.recalcPositions.bind(this);B(),this._dispose=[...this._dispose,_s(()=>this.treeModel.roots,B),_s(()=>this.treeModel.expandedNodeIds,B),_s(()=>this.treeModel.hiddenNodeIds,B)],this.treeModel.subscribe(Qc.loadNodeChildren,B)}isEnabled(){return this.treeModel.options.useVirtualScroll}_setYBlocks(B){this.yBlocks=B}recalcPositions(){this.treeModel.virtualRoot.height=this._getPositionAfter(this.treeModel.getVisibleRoots(),0)}_getPositionAfter(B,Te){let ft=Te;return B.forEach(Zt=>{Zt.position=ft,ft=this._getPositionAfterNode(Zt,ft)}),ft}_getPositionAfterNode(B,Te){let ft=B.getSelfHeight()+Te;return B.children&&B.isExpanded&&(ft=this._getPositionAfter(B.visibleChildren,ft)),B.height=ft-Te,ft}clear(){this._dispose.forEach(B=>B())}setViewport(B){Object.assign(this,{viewport:B,x:B.scrollLeft,yBlocks:Math.round(B.scrollTop/150),viewportHeight:B.getBoundingClientRect?B.getBoundingClientRect().height:0})}scrollIntoView(B,Te,ft=!0){if(B.options.scrollContainer){const Zt=B.options.scrollContainer,rr=Zt.getBoundingClientRect().height,xr=Zt.getBoundingClientRect().top,hi=this.viewport.getBoundingClientRect().top+B.position-xr;(Te||hi<Zt.scrollTop||hi+B.getSelfHeight()>Zt.scrollTop+rr)&&(Zt.scrollTop=ft?hi-rr/2:hi)}else(Te||B.position<this.y||B.position+B.getSelfHeight()>this.y+this.viewportHeight)&&this.viewport&&(this.viewport.scrollTop=ft?B.position-this.viewportHeight/2:B.position,this._setYBlocks(Math.floor(this.viewport.scrollTop/150)))}getViewportNodes(B){if(!B)return[];const Te=B.filter(ns=>!ns.isHidden);if(!this.isEnabled())return Te;if(!this.viewportHeight||!Te.length)return[];const ft=eg(Te,ns=>ns.position+500>this.y||ns.position+ns.height>this.y),Zt=eg(Te,ns=>ns.position-500>this.y+this.viewportHeight,ft),rr=[];if(Zt-ft>(1e3+this.viewportHeight)/Te[0].treeModel.options.options.nodeHeight)return[];for(let ns=ft;ns<=Zt;ns++)rr.push(Te[ns]);return rr}fixScroll(){const B=Math.max(0,this.totalHeight-this.viewportHeight);this.y<0&&this._setYBlocks(0),this.y>B&&this._setYBlocks(B/150)}}return F.\u0275fac=function(B){return new(B||F)(r.LFG(Il))},F.\u0275prov=r.Yz7({token:F,factory:F.\u0275fac}),F})();function eg(F,J,B=0){let Te=B,ft=F.length-1;for(;Te!==ft;){let Zt=Math.floor((Te+ft)/2);J(F[Zt])?ft=Zt:Te=Te===Zt?ft:Zt}return Te}af([Wn,Xc("design:type",Object)],wp.prototype,"yBlocks",void 0),af([Wn,Xc("design:type",Object)],wp.prototype,"x",void 0),af([Wn,Xc("design:type",Object)],wp.prototype,"viewportHeight",void 0),af([Se,Xc("design:type",Object),Xc("design:paramtypes",[])],wp.prototype,"y",null),af([Se,Xc("design:type",Object),Xc("design:paramtypes",[])],wp.prototype,"totalHeight",null),af([te,Xc("design:type",Function),Xc("design:paramtypes",[Object]),Xc("design:returntype",void 0)],wp.prototype,"_setYBlocks",null),af([te,Xc("design:type",Function),Xc("design:paramtypes",[]),Xc("design:returntype",void 0)],wp.prototype,"recalcPositions",null),af([te,Xc("design:type",Function),Xc("design:paramtypes",[Object]),Xc("design:returntype",void 0)],wp.prototype,"setViewport",null),af([te,Xc("design:type",Function),Xc("design:paramtypes",[Object,Object,Object]),Xc("design:returntype",void 0)],wp.prototype,"scrollIntoView",null);let ov=(()=>{class F{}return F.\u0275fac=function(B){return new(B||F)},F.\u0275cmp=r.Xpm({type:F,selectors:[["tree-loading-component"]],inputs:{template:"template",node:"node"},decls:2,vars:5,consts:[[4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(B,Te){1&B&&(r.YNc(0,z,2,0,"span",0),r.GkF(1,1)),2&B&&(r.Q6J("ngIf",!Te.template),r.xp6(1),r.Q6J("ngTemplateOutlet",Te.template)("ngTemplateOutletContext",r.VKq(3,Me,Te.node)))},directives:[a.O5,a.tP],encapsulation:2}),F})(),Cm=(()=>{class F{constructor(B,Te,ft){this.elementRef=B,this.ngZone=Te,this.virtualScroll=ft,this.setViewport=S_(()=>{this.virtualScroll.setViewport(this.elementRef.nativeElement)},17),this.scrollEventHandler=this.setViewport.bind(this)}ngOnInit(){this.virtualScroll.init()}ngAfterViewInit(){setTimeout(()=>{this.setViewport(),this.virtualScroll.fireEvent({eventName:Qc.initialized})});let B=this.elementRef.nativeElement;this.ngZone.runOutsideAngular(()=>{B.addEventListener("scroll",this.scrollEventHandler)})}ngOnDestroy(){this.virtualScroll.clear(),this.elementRef.nativeElement.removeEventListener("scroll",this.scrollEventHandler)}getTotalHeight(){return this.virtualScroll.isEnabled()&&this.virtualScroll.totalHeight+"px"||"auto"}}return F.\u0275fac=function(B){return new(B||F)(r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(wp))},F.\u0275cmp=r.Xpm({type:F,selectors:[["tree-viewport"]],features:[r._Bn([wp])],ngContentSelectors:yr,decls:1,vars:2,consts:[[4,"treeMobxAutorun"]],template:function(B,Te){1&B&&(r.F$t(),r.YNc(0,Ke,3,2,"ng-container",0)),2&B&&r.Q6J("treeMobxAutorun",r.DdM(1,gn))},directives:[Zr],encapsulation:2}),F})(),lm=(()=>{class F{constructor(B,Te){this.treeModel=B,this.treeDraggedElement=Te,B.eventNames.forEach(ft=>this[ft]=new r.vpe),B.subscribeToState(ft=>this.stateChange.emit(ft))}set nodes(B){}set options(B){}set focused(B){this.treeModel.setFocus(B)}set state(B){this.treeModel.setState(B)}onKeydown(B){if(!this.treeModel.isFocused||Sm(["input","textarea"],document.activeElement.tagName.toLowerCase()))return;const Te=this.treeModel.getFocusedNode();this.treeModel.performKeyAction(Te,B)}onMousedown(B){(function Te(ft,Zt){return!ft||ft.localName!==Zt&&Te(ft.parentElement,Zt)})(B.target,"tree-root")&&this.treeModel.setFocus(!1)}ngOnChanges(B){(B.options||B.nodes)&&this.treeModel.setData({options:B.options&&B.options.currentValue,nodes:B.nodes&&B.nodes.currentValue,events:S(this,this.treeModel.eventNames)})}sizeChanged(){this.viewportComponent.setViewport()}}return F.\u0275fac=function(B){return new(B||F)(r.Y36(Il),r.Y36(Km))},F.\u0275cmp=r.Xpm({type:F,selectors:[["Tree"],["tree-root"]],contentQueries:function(B,Te,ft){if(1&B&&(r.Suo(ft,Nr,5),r.Suo(ft,vi,5),r.Suo(ft,di,5),r.Suo(ft,ts,5)),2&B){let Zt;r.iGM(Zt=r.CRH())&&(Te.loadingTemplate=Zt.first),r.iGM(Zt=r.CRH())&&(Te.treeNodeTemplate=Zt.first),r.iGM(Zt=r.CRH())&&(Te.treeNodeWrapperTemplate=Zt.first),r.iGM(Zt=r.CRH())&&(Te.treeNodeFullTemplate=Zt.first)}},viewQuery:function(B,Te){if(1&B&&r.Gf(Do,5),2&B){let ft;r.iGM(ft=r.CRH())&&(Te.viewportComponent=ft.first)}},hostBindings:function(B,Te){1&B&&r.NdJ("keydown",function(Zt){return Te.onKeydown(Zt)},!1,r.pYS)("mousedown",function(Zt){return Te.onMousedown(Zt)},!1,r.pYS)},inputs:{nodes:"nodes",options:"options",focused:"focused",state:"state"},outputs:{toggleExpanded:"toggleExpanded",activate:"activate",deactivate:"deactivate",nodeActivate:"nodeActivate",nodeDeactivate:"nodeDeactivate",select:"select",deselect:"deselect",focus:"focus",blur:"blur",updateData:"updateData",initialized:"initialized",moveNode:"moveNode",copyNode:"copyNode",loadNodeChildren:"loadNodeChildren",changeFilter:"changeFilter",event:"event",stateChange:"stateChange"},features:[r._Bn([Il]),r.TTD],decls:5,vars:6,consts:[["viewport",""],[1,"angular-tree-component"],[3,"nodes","treeModel","templates",4,"ngIf"],["class","empty-tree-drop-slot",3,"dropIndex","node",4,"ngIf"],[3,"nodes","treeModel","templates"],[1,"empty-tree-drop-slot",3,"dropIndex","node"]],template:function(B,Te){1&B&&(r.TgZ(0,"tree-viewport",null,0)(2,"div",1),r.YNc(3,Yo,1,8,"tree-node-collection",2),r.YNc(4,ia,1,2,"tree-node-drop-slot",3),r.qZA()()),2&B&&(r.xp6(2),r.ekj("node-dragging",Te.treeDraggedElement.isDragging())("angular-tree-component-rtl",Te.treeModel.options.rtl),r.xp6(1),r.Q6J("ngIf",Te.treeModel.roots),r.xp6(1),r.Q6J("ngIf",Te.treeModel.isEmptyTree()))},directives:function(){return[Cm,a.O5,D_,xh]},encapsulation:2}),F})(),M_=(()=>{class F{}return F.\u0275fac=function(B){return new(B||F)},F.\u0275cmp=r.Xpm({type:F,selectors:[["TreeNode"],["tree-node"]],inputs:{node:"node",index:"index",templates:"templates"},decls:1,vars:2,consts:[[4,"treeMobxAutorun"],[3,"class","tree-node","tree-node-expanded","tree-node-collapsed","tree-node-leaf","tree-node-active","tree-node-focused",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"dropIndex","node",4,"ngIf"],[3,"node","index","templates"],[3,"node","templates"],[3,"dropIndex","node"]],template:function(B,Te){1&B&&r.YNc(0,Ee,3,8,"ng-container",0),2&B&&r.Q6J("treeMobxAutorun",r.DdM(1,gn))},directives:function(){return[Zr,a.O5,xh,Mg,O_,a.tP]},encapsulation:2}),F})(),Mm=(()=>{class F{}return F.\u0275fac=function(B){return new(B||F)},F.\u0275cmp=r.Xpm({type:F,selectors:[["tree-node-content"]],inputs:{node:"node",index:"index",template:"template"},decls:2,vars:7,consts:[[4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(B,Te){1&B&&(r.YNc(0,ze,2,1,"span",0),r.GkF(1,1)),2&B&&(r.Q6J("ngIf",!Te.template),r.xp6(1),r.Q6J("ngTemplateOutlet",Te.template)("ngTemplateOutletContext",r.kEZ(3,At,Te.node,Te.node,Te.index)))},directives:[a.O5,a.tP],encapsulation:2}),F})(),xh=(()=>{class F{onDrop(B){this.node.mouseAction("drop",B.event,{from:B.element,to:{parent:this.node,index:this.dropIndex}})}allowDrop(B,Te){return this.node.options.allowDrop(B,{parent:this.node,index:this.dropIndex},Te)}}return F.\u0275fac=function(B){return new(B||F)},F.\u0275cmp=r.Xpm({type:F,selectors:[["TreeNodeDropSlot"],["tree-node-drop-slot"]],inputs:{node:"node",dropIndex:"dropIndex"},decls:1,vars:2,consts:[[1,"node-drop-slot",3,"treeAllowDrop","allowDragoverStyling","treeDrop"]],template:function(B,Te){1&B&&(r.TgZ(0,"div",0),r.NdJ("treeDrop",function(Zt){return Te.onDrop(Zt)}),r.qZA()),2&B&&r.Q6J("treeAllowDrop",Te.allowDrop.bind(Te))("allowDragoverStyling",!0)},directives:function(){return[rg]},encapsulation:2}),F})(),Y_=(()=>{class F{}return F.\u0275fac=function(B){return new(B||F)},F.\u0275cmp=r.Xpm({type:F,selectors:[["tree-node-expander"]],inputs:{node:"node"},decls:1,vars:2,consts:[[4,"treeMobxAutorun"],["class","toggle-children-wrapper",3,"toggle-children-wrapper-expanded","toggle-children-wrapper-collapsed","click",4,"ngIf"],["class","toggle-children-placeholder",4,"ngIf"],[1,"toggle-children-wrapper",3,"click"],[1,"toggle-children"],[1,"toggle-children-placeholder"]],template:function(B,Te){1&B&&r.YNc(0,ar,3,2,"ng-container",0),2&B&&r.Q6J("treeMobxAutorun",r.DdM(1,gn))},directives:[Zr,a.O5],encapsulation:2}),F})(),O_=(()=>{class F{}return F.\u0275fac=function(B){return new(B||F)},F.\u0275cmp=r.Xpm({type:F,selectors:[["tree-node-children"]],inputs:{node:"node",templates:"templates"},decls:1,vars:2,consts:[[4,"treeMobxAutorun"],[3,"tree-children","tree-children-no-padding",4,"treeAnimateOpen","treeAnimateOpenSpeed","treeAnimateOpenAcceleration","treeAnimateOpenEnabled"],[3,"nodes","templates","treeModel",4,"ngIf"],["class","tree-node-loading",3,"padding-left","template","node",4,"ngIf"],[3,"nodes","templates","treeModel"],[1,"tree-node-loading",3,"template","node"]],template:function(B,Te){1&B&&r.YNc(0,po,2,4,"ng-container",0),2&B&&r.Q6J("treeMobxAutorun",r.DdM(1,gn))},directives:function(){return[Zr,av,a.O5,D_,ov]},encapsulation:2}),F})();const um=Object.assign(function Tg(...F){return te(...F)},te),tg=Object.assign(function Cg(...F){return Se(...F)},Se),j_=Object.assign(function ng(...F){return Wn(...F)},Wn);var Qp=function(F,J,B,Te){var rr,ft=arguments.length,Zt=ft<3?J:null===Te?Te=Object.getOwnPropertyDescriptor(J,B):Te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Zt=Reflect.decorate(F,J,B,Te);else for(var xr=F.length-1;xr>=0;xr--)(rr=F[xr])&&(Zt=(ft<3?rr(Zt):ft>3?rr(J,B,Zt):rr(J,B))||Zt);return ft>3&&Zt&&Object.defineProperty(J,B,Zt),Zt},A_=function(F,J){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(F,J)};let D_=(()=>{class F{constructor(){this._dispose=[]}get nodes(){return this._nodes}set nodes(B){this.setNodes(B)}get marginTop(){const B=this.viewportNodes&&this.viewportNodes.length&&this.viewportNodes[0];return(B&&B.parent?B.position-B.parent.position-B.parent.getSelfHeight():0)+"px"}setNodes(B){this._nodes=B}ngOnInit(){this.virtualScroll=this.treeModel.virtualScroll,this._dispose=[_s(()=>this.virtualScroll.getViewportNodes(this.nodes).map(B=>B.index),B=>{this.viewportNodes=B.map(Te=>this.nodes[Te])},{compareStructural:!0,fireImmediately:!0}),_s(()=>this.nodes,B=>{this.viewportNodes=this.virtualScroll.getViewportNodes(B)})]}ngOnDestroy(){this._dispose.forEach(B=>B())}trackNode(B,Te){return Te.id}}return F.\u0275fac=function(B){return new(B||F)},F.\u0275cmp=r.Xpm({type:F,selectors:[["tree-node-collection"]],inputs:{nodes:"nodes",treeModel:"treeModel",templates:"templates"},decls:1,vars:2,consts:[[4,"treeMobxAutorun"],[3,"node","index","templates",4,"ngFor","ngForOf","ngForTrackBy"],[3,"node","index","templates"]],template:function(B,Te){1&B&&r.YNc(0,oa,3,4,"ng-container",0),2&B&&r.Q6J("treeMobxAutorun",r.DdM(1,gn))},directives:[Zr,a.sg,M_],encapsulation:2}),F})();Qp([j_,A_("design:type",Object)],D_.prototype,"_nodes",void 0),Qp([j_,A_("design:type",Array)],D_.prototype,"viewportNodes",void 0),Qp([tg,A_("design:type",String),A_("design:paramtypes",[])],D_.prototype,"marginTop",null),Qp([um,A_("design:type",Function),A_("design:paramtypes",[Object]),A_("design:returntype",void 0)],D_.prototype,"setNodes",null);let Mg=(()=>{class F{constructor(){}}return F.\u0275fac=function(B){return new(B||F)},F.\u0275cmp=r.Xpm({type:F,selectors:[["tree-node-wrapper"]],inputs:{node:"node",index:"index",templates:"templates"},decls:2,vars:8,consts:[["class","node-wrapper",3,"padding-left",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"node-wrapper"],[3,"node",4,"ngIf"],[3,"node"],[1,"node-content-wrapper",3,"treeAllowDrop","allowDragoverStyling","treeDrag","treeDragEnabled","click","dblclick","mouseover","mouseout","contextmenu","treeDrop","treeDropDragOver","treeDropDragLeave","treeDropDragEnter"],[3,"node","index","template"]],template:function(B,Te){1&B&&(r.YNc(0,Qr,5,15,"div",0),r.GkF(1,1)),2&B&&(r.Q6J("ngIf",!Te.templates.treeNodeWrapperTemplate),r.xp6(1),r.Q6J("ngTemplateOutlet",Te.templates.treeNodeWrapperTemplate)("ngTemplateOutletContext",r.l5B(3,Y,Te.node,Te.node,Te.index,Te.templates)))},directives:function(){return[a.O5,cm,Y_,sv,rg,Mm,a.tP]},encapsulation:2}),F})(),cm=(()=>{class F{}return F.\u0275fac=function(B){return new(B||F)},F.\u0275cmp=r.Xpm({type:F,selectors:[["tree-node-checkbox"]],inputs:{node:"node"},decls:1,vars:2,consts:[[4,"treeMobxAutorun"],["type","checkbox",1,"tree-node-checkbox",3,"checked","indeterminate","click"]],template:function(B,Te){1&B&&r.YNc(0,Fr,2,2,"ng-container",0),2&B&&r.Q6J("treeMobxAutorun",r.DdM(1,gn))},directives:[Zr],encapsulation:2}),F})();const Om="is-dragging-over",Og="is-dragging-over-disabled";let rg=(()=>{class F{constructor(B,Te,ft,Zt){this.el=B,this.renderer=Te,this.treeDraggedElement=ft,this.ngZone=Zt,this.allowDragoverStyling=!0,this.onDropCallback=new r.vpe,this.onDragOverCallback=new r.vpe,this.onDragLeaveCallback=new r.vpe,this.onDragEnterCallback=new r.vpe,this._allowDrop=(rr,xr)=>!0,this.dragOverEventHandler=this.onDragOver.bind(this),this.dragEnterEventHandler=this.onDragEnter.bind(this),this.dragLeaveEventHandler=this.onDragLeave.bind(this)}set treeAllowDrop(B){this._allowDrop=B instanceof Function?B:(Te,ft)=>B}allowDrop(B){return this._allowDrop(this.treeDraggedElement.get(),B)}ngAfterViewInit(){let B=this.el.nativeElement;this.ngZone.runOutsideAngular(()=>{B.addEventListener("dragover",this.dragOverEventHandler),B.addEventListener("dragenter",this.dragEnterEventHandler),B.addEventListener("dragleave",this.dragLeaveEventHandler)})}ngOnDestroy(){let B=this.el.nativeElement;B.removeEventListener("dragover",this.dragOverEventHandler),B.removeEventListener("dragenter",this.dragEnterEventHandler),B.removeEventListener("dragleave",this.dragLeaveEventHandler)}onDragOver(B){if(!this.allowDrop(B))return this.allowDragoverStyling?this.addDisabledClass():void 0;this.onDragOverCallback.emit({event:B,element:this.treeDraggedElement.get()}),B.preventDefault(),this.allowDragoverStyling&&this.addClass()}onDragEnter(B){!this.allowDrop(B)||(B.preventDefault(),this.onDragEnterCallback.emit({event:B,element:this.treeDraggedElement.get()}))}onDragLeave(B){if(!this.allowDrop(B))return this.allowDragoverStyling?this.removeDisabledClass():void 0;this.onDragLeaveCallback.emit({event:B,element:this.treeDraggedElement.get()}),this.allowDragoverStyling&&this.removeClass()}onDrop(B){!this.allowDrop(B)||(B.preventDefault(),this.onDropCallback.emit({event:B,element:this.treeDraggedElement.get()}),this.allowDragoverStyling&&this.removeClass(),this.treeDraggedElement.set(null))}addClass(){this.renderer.addClass(this.el.nativeElement,Om)}removeClass(){this.renderer.removeClass(this.el.nativeElement,Om)}addDisabledClass(){this.renderer.addClass(this.el.nativeElement,Og)}removeDisabledClass(){this.renderer.removeClass(this.el.nativeElement,Og)}}return F.\u0275fac=function(B){return new(B||F)(r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(Km),r.Y36(r.R0b))},F.\u0275dir=r.lG2({type:F,selectors:[["","treeDrop",""]],hostBindings:function(B,Te){1&B&&r.NdJ("drop",function(Zt){return Te.onDrop(Zt)})},inputs:{allowDragoverStyling:"allowDragoverStyling",treeAllowDrop:"treeAllowDrop"},outputs:{onDropCallback:"treeDrop",onDragOverCallback:"treeDropDragOver",onDragLeaveCallback:"treeDropDragLeave",onDragEnterCallback:"treeDropDragEnter"}}),F})(),sv=(()=>{class F{constructor(B,Te,ft,Zt){this.el=B,this.renderer=Te,this.treeDraggedElement=ft,this.ngZone=Zt,this.dragEventHandler=this.onDrag.bind(this)}ngAfterViewInit(){let B=this.el.nativeElement;this.ngZone.runOutsideAngular(()=>{B.addEventListener("drag",this.dragEventHandler)})}ngDoCheck(){this.renderer.setAttribute(this.el.nativeElement,"draggable",this.treeDragEnabled?"true":"false")}ngOnDestroy(){this.el.nativeElement.removeEventListener("drag",this.dragEventHandler)}onDragStart(B){B.dataTransfer.setData("text",B.target.id),this.treeDraggedElement.set(this.draggedElement),this.draggedElement.mouseAction&&this.draggedElement.mouseAction("dragStart",B)}onDrag(B){this.draggedElement.mouseAction&&this.draggedElement.mouseAction("drag",B)}onDragEnd(){this.draggedElement.mouseAction&&this.draggedElement.mouseAction("dragEnd"),this.treeDraggedElement.set(null)}}return F.\u0275fac=function(B){return new(B||F)(r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(Km),r.Y36(r.R0b))},F.\u0275dir=r.lG2({type:F,selectors:[["","treeDrag",""]],hostBindings:function(B,Te){1&B&&r.NdJ("dragstart",function(Zt){return Te.onDragStart(Zt)})("dragend",function(){return Te.onDragEnd()})},inputs:{draggedElement:["treeDrag","draggedElement"],treeDragEnabled:"treeDragEnabled"}}),F})(),av=(()=>{class F{constructor(B,Te,ft){this.renderer=B,this.templateRef=Te,this.viewContainerRef=ft}set isOpen(B){B?(this._show(),this.isEnabled&&!1===this._isOpen&&this._animateOpen()):this.isEnabled?this._animateClose():this._hide(),this._isOpen=!!B}_show(){this.innerElement||(this.innerElement=this.viewContainerRef.createEmbeddedView(this.templateRef).rootNodes[0])}_hide(){this.viewContainerRef.clear(),this.innerElement=null}_animateOpen(){let B=this.animateSpeed,Te=this.animateAcceleration,ft=0;this.renderer.setStyle(this.innerElement,"max-height","0"),setTimeout(()=>{const Zt=setInterval(()=>{if(!this._isOpen||!this.innerElement)return clearInterval(Zt);ft+=B;const rr=Math.round(ft);this.renderer.setStyle(this.innerElement,"max-height",`${rr}px`);const xr=this.innerElement.getBoundingClientRect?this.innerElement.getBoundingClientRect().height:0;B*=Te,Te*=1.005,xr<rr&&(this.renderer.setStyle(this.innerElement,"max-height",null),clearInterval(Zt))},17)})}_animateClose(){if(!this.innerElement)return;let B=this.animateSpeed,Te=this.animateAcceleration,ft=this.innerElement.getBoundingClientRect().height;const Zt=setInterval(()=>{if(this._isOpen||!this.innerElement)return clearInterval(Zt);ft-=B,this.renderer.setStyle(this.innerElement,"max-height",`${ft}px`),B*=Te,Te*=1.005,ft<=0&&(this.viewContainerRef.clear(),this.innerElement=null,clearInterval(Zt))},17)}}return F.\u0275fac=function(B){return new(B||F)(r.Y36(r.Qsj),r.Y36(r.Rgc),r.Y36(r.s_b))},F.\u0275dir=r.lG2({type:F,selectors:[["","treeAnimateOpen",""]],inputs:{isOpen:["treeAnimateOpen","isOpen"],animateSpeed:["treeAnimateOpenSpeed","animateSpeed"],animateAcceleration:["treeAnimateOpenAcceleration","animateAcceleration"],isEnabled:["treeAnimateOpenEnabled","isEnabled"]}}),F})(),lv=(()=>{class F{}return F.\u0275fac=function(B){return new(B||F)},F.\u0275mod=r.oAB({type:F}),F.\u0275inj=r.cJS({providers:[],imports:[[a.ez]]}),F})()},84051:(v,b,i)=>{"use strict";i.d(b,{$7:()=>Uo,AR:()=>yi,Hg:()=>Wn,Sr:()=>es,dX:()=>Qo,ii:()=>Zn,nE:()=>sa,vq:()=>yn,xD:()=>Oo});var r=i(89724),a=i(11048),f=i(79765),u=i(22759),e=i(26215),p=i(46782),g=i(64762);const T=["*"];function M(ut,pn){1&ut&&r._UZ(0,"datatable-progress")}function w(ut,pn){if(1&ut&&r._UZ(0,"datatable-summary-row",9),2&ut){const te=r.oxw(2);r.Q6J("rowHeight",te.summaryHeight)("offsetX",te.offsetX)("innerWidth",te.innerWidth)("rows",te.rows)("columns",te.columns)}}function R(ut,pn){if(1&ut){const te=r.EpF();r.TgZ(0,"datatable-body-row",13),r.NdJ("treeAction",function(){r.CHM(te);const jt=r.oxw().$implicit;return r.oxw(2).onTreeAction(jt)})("activate",function(jt){r.CHM(te);const hn=r.oxw().index,ii=r.oxw(2);return r.MAs(2).onActivate(jt,ii.indexes.first+hn)}),r.qZA()}if(2&ut){const te=r.oxw().$implicit,Ue=r.oxw(2),jt=r.MAs(2);r.Q6J("isSelected",jt.getRowSelected(te))("innerWidth",Ue.innerWidth)("offsetX",Ue.offsetX)("columns",Ue.columns)("rowHeight",Ue.getRowHeight(te))("row",te)("rowIndex",Ue.getRowIndex(te))("expanded",Ue.getRowExpanded(te))("rowClass",Ue.rowClass)("displayCheck",Ue.displayCheck)("treeStatus",te&&te.treeStatus)}}function U(ut,pn){if(1&ut){const te=r.EpF();r.TgZ(0,"datatable-body-row",15),r.NdJ("activate",function(jt){const ii=r.CHM(te).index;return r.oxw(4),r.MAs(2).onActivate(jt,ii)}),r.qZA()}if(2&ut){const te=pn.$implicit,Ue=r.oxw(2).$implicit,jt=r.oxw(2),hn=r.MAs(2);r.Q6J("isSelected",hn.getRowSelected(te))("innerWidth",jt.innerWidth)("offsetX",jt.offsetX)("columns",jt.columns)("rowHeight",jt.getRowHeight(te))("row",te)("group",Ue.value)("rowIndex",jt.getRowIndex(te))("expanded",jt.getRowExpanded(te))("rowClass",jt.rowClass)}}function W(ut,pn){if(1&ut&&r.YNc(0,U,1,10,"datatable-body-row",14),2&ut){const te=r.oxw().$implicit,Ue=r.oxw(2);r.Q6J("ngForOf",te.value)("ngForTrackBy",Ue.rowTrackingFn)}}function j(ut,pn){if(1&ut){const te=r.EpF();r.TgZ(0,"datatable-row-wrapper",10),r.NdJ("rowContextmenu",function(jt){return r.CHM(te),r.oxw(2).rowContextmenu.emit(jt)}),r.YNc(1,R,1,11,"datatable-body-row",11),r.YNc(2,W,1,2,"ng-template",null,12,r.W1O),r.qZA()}if(2&ut){const te=pn.$implicit,Ue=pn.index,jt=r.MAs(3),hn=r.oxw(2);r.Q6J("groupedRows",hn.groupedRows)("innerWidth",hn.innerWidth)("ngStyle",hn.getRowsStyles(te))("rowDetail",hn.rowDetail)("groupHeader",hn.groupHeader)("offsetX",hn.offsetX)("detailRowHeight",hn.getDetailRowHeight(te&&te[Ue],Ue))("row",te)("expanded",hn.getRowExpanded(te))("rowIndex",hn.getRowIndex(te&&te[Ue])),r.xp6(1),r.Q6J("ngIf",!hn.groupedRows)("ngIfElse",jt)}}function q(ut,pn){if(1&ut&&r._UZ(0,"datatable-summary-row",16),2&ut){const te=r.oxw(2);r.Q6J("ngStyle",te.getBottomSummaryRowStyles())("rowHeight",te.summaryHeight)("offsetX",te.offsetX)("innerWidth",te.innerWidth)("rows",te.rows)("columns",te.columns)}}function ue(ut,pn){if(1&ut){const te=r.EpF();r.TgZ(0,"datatable-scroller",5),r.NdJ("scroll",function(jt){return r.CHM(te),r.oxw().onBodyScroll(jt)}),r.YNc(1,w,1,5,"datatable-summary-row",6),r.YNc(2,j,4,12,"datatable-row-wrapper",7),r.YNc(3,q,1,6,"datatable-summary-row",8),r.qZA()}if(2&ut){const te=r.oxw();r.Q6J("scrollbarV",te.scrollbarV)("scrollbarH",te.scrollbarH)("scrollHeight",te.scrollHeight)("scrollWidth",null==te.columnGroupWidths?null:te.columnGroupWidths.total),r.xp6(1),r.Q6J("ngIf",te.summaryRow&&"top"===te.summaryPosition),r.xp6(1),r.Q6J("ngForOf",te.temp)("ngForTrackBy",te.rowTrackingFn),r.xp6(1),r.Q6J("ngIf",te.summaryRow&&"bottom"===te.summaryPosition)}}function re(ut,pn){if(1&ut&&r._UZ(0,"div",17),2&ut){const te=r.oxw();r.Q6J("innerHTML",te.emptyMessage,r.oJD)}}function H(ut,pn){if(1&ut){const te=r.EpF();r.TgZ(0,"datatable-header-cell",4),r.NdJ("resize",function(jt){const ii=r.CHM(te).$implicit;return r.oxw(2).onColumnResized(jt,ii)})("longPressStart",function(jt){return r.CHM(te),r.oxw(2).onLongPressStart(jt)})("longPressEnd",function(jt){return r.CHM(te),r.oxw(2).onLongPressEnd(jt)})("sort",function(jt){return r.CHM(te),r.oxw(2).onSort(jt)})("select",function(jt){return r.CHM(te),r.oxw(2).select.emit(jt)})("columnContextmenu",function(jt){return r.CHM(te),r.oxw(2).columnContextmenu.emit(jt)}),r.qZA()}if(2&ut){const te=pn.$implicit,Ue=r.oxw(2);r.Q6J("resizeEnabled",te.resizeable)("pressModel",te)("pressEnabled",Ue.reorderable&&te.draggable)("dragX",Ue.reorderable&&te.draggable&&te.dragging)("dragY",!1)("dragModel",te)("dragEventTarget",Ue.dragEventTarget)("headerHeight",Ue.headerHeight)("isTarget",te.isTarget)("targetMarkerTemplate",Ue.targetMarkerTemplate)("targetMarkerContext",te.targetMarkerContext)("column",te)("sortType",Ue.sortType)("sorts",Ue.sorts)("selectionType",Ue.selectionType)("sortAscendingIcon",Ue.sortAscendingIcon)("sortDescendingIcon",Ue.sortDescendingIcon)("sortUnsetIcon",Ue.sortUnsetIcon)("allRowsSelected",Ue.allRowsSelected)}}function se(ut,pn){if(1&ut&&(r.TgZ(0,"div",2),r.YNc(1,H,1,19,"datatable-header-cell",3),r.qZA()),2&ut){const te=pn.$implicit,Ue=r.oxw();r.Tol("datatable-row-"+te.type),r.Q6J("ngStyle",Ue._styleByGroup[te.type]),r.xp6(1),r.Q6J("ngForOf",te.columns)("ngForTrackBy",Ue.columnTrackingFn)}}function ae(ut,pn){if(1&ut){const te=r.EpF();r.TgZ(0,"datatable-header",4),r.NdJ("sort",function(jt){return r.CHM(te),r.oxw().onColumnSort(jt)})("resize",function(jt){return r.CHM(te),r.oxw().onColumnResize(jt)})("reorder",function(jt){return r.CHM(te),r.oxw().onColumnReorder(jt)})("select",function(jt){return r.CHM(te),r.oxw().onHeaderSelect(jt)})("columnContextmenu",function(jt){return r.CHM(te),r.oxw().onColumnContextmenu(jt)}),r.ALo(1,"async"),r.qZA()}if(2&ut){const te=r.oxw();r.Q6J("sorts",te.sorts)("sortType",te.sortType)("scrollbarH",te.scrollbarH)("innerWidth",te._innerWidth)("offsetX",r.lcZ(1,15,te._offsetX))("dealsWithGroup",void 0!==te.groupedRows)("columns",te._internalColumns)("headerHeight",te.headerHeight)("reorderable",te.reorderable)("targetMarkerTemplate",te.targetMarkerTemplate)("sortAscendingIcon",te.cssClasses.sortAscending)("sortDescendingIcon",te.cssClasses.sortDescending)("sortUnsetIcon",te.cssClasses.sortUnset)("allRowsSelected",te.allRowsSelected)("selectionType",te.selectionType)}}function ie(ut,pn){if(1&ut){const te=r.EpF();r.TgZ(0,"datatable-footer",5),r.NdJ("page",function(jt){return r.CHM(te),r.oxw().onFooterPage(jt)}),r.qZA()}if(2&ut){const te=r.oxw();r.Q6J("rowCount",te.rowCount)("pageSize",te.pageSize)("offset",te.offset)("footerHeight",te.footerHeight)("footerTemplate",te.footer)("totalMessage",te.messages.totalMessage)("pagerLeftArrowIcon",te.cssClasses.pagerLeftArrow)("pagerRightArrowIcon",te.cssClasses.pagerRightArrow)("pagerPreviousIcon",te.cssClasses.pagerPrevious)("selectedCount",te.selected.length)("selectedMessage",!!te.selectionType&&te.messages.selectedMessage)("pagerNextIcon",te.cssClasses.pagerNext)}}function fe(ut,pn){}function _e(ut,pn){if(1&ut&&r.YNc(0,fe,0,0,"ng-template",5),2&ut){const te=r.oxw();r.Q6J("ngTemplateOutlet",te.targetMarkerTemplate)("ngTemplateOutletContext",te.targetMarkerContext)}}function Ce(ut,pn){if(1&ut){const te=r.EpF();r.TgZ(0,"label",6)(1,"input",7),r.NdJ("change",function(){r.CHM(te);const jt=r.oxw();return jt.select.emit(!jt.allRowsSelected)}),r.qZA()()}if(2&ut){const te=r.oxw();r.xp6(1),r.Q6J("checked",te.allRowsSelected)}}function ce(ut,pn){if(1&ut){const te=r.EpF();r.TgZ(0,"span",8)(1,"span",9),r.NdJ("click",function(){return r.CHM(te),r.oxw().onSort()}),r.qZA()()}if(2&ut){const te=r.oxw();r.xp6(1),r.Q6J("innerHTML",te.name,r.oJD)}}function Be(ut,pn){}function Ve(ut,pn){if(1&ut&&r.YNc(0,Be,0,0,"ng-template",5),2&ut){const te=r.oxw();r.Q6J("ngTemplateOutlet",te.column.headerTemplate)("ngTemplateOutletContext",te.cellContext)}}function Xe(ut,pn){}const He=function(ut,pn,te,Ue,jt){return{rowCount:ut,pageSize:pn,selectedCount:te,curPage:Ue,offset:jt}};function Pe(ut,pn){if(1&ut&&r.YNc(0,Xe,0,0,"ng-template",4),2&ut){const te=r.oxw();r.Q6J("ngTemplateOutlet",te.footerTemplate.template)("ngTemplateOutletContext",r.qbA(2,He,te.rowCount,te.pageSize,te.selectedCount,te.curPage,te.offset))}}function Ge(ut,pn){if(1&ut&&(r.TgZ(0,"span"),r._uU(1),r.qZA()),2&ut){const te=r.oxw(2);r.xp6(1),r.AsE(" ",null==te.selectedCount?null:te.selectedCount.toLocaleString()," ",te.selectedMessage," / ")}}function Oe(ut,pn){if(1&ut&&(r.TgZ(0,"div",5),r.YNc(1,Ge,2,2,"span",1),r._uU(2),r.qZA()),2&ut){const te=r.oxw();r.xp6(1),r.Q6J("ngIf",te.selectedMessage),r.xp6(1),r.AsE(" ",null==te.rowCount?null:te.rowCount.toLocaleString()," ",te.totalMessage," ")}}function Tt(ut,pn){if(1&ut){const te=r.EpF();r.TgZ(0,"datatable-pager",6),r.NdJ("change",function(jt){return r.CHM(te),r.oxw().page.emit(jt)}),r.qZA()}if(2&ut){const te=r.oxw();r.Q6J("pagerLeftArrowIcon",te.pagerLeftArrowIcon)("pagerRightArrowIcon",te.pagerRightArrowIcon)("pagerPreviousIcon",te.pagerPreviousIcon)("pagerNextIcon",te.pagerNextIcon)("page",te.curPage)("size",te.pageSize)("count",te.rowCount)("hidden",!te.isVisible)}}const We=function(ut){return{"selected-count":ut}};function Qt(ut,pn){if(1&ut){const te=r.EpF();r.TgZ(0,"li",6)(1,"a",7),r.NdJ("click",function(){const hn=r.CHM(te).$implicit;return r.oxw().selectPage(hn.number)}),r._uU(2),r.qZA()()}if(2&ut){const te=pn.$implicit,Ue=r.oxw();r.ekj("active",te.number===Ue.page),r.uIk("aria-label","page "+te.number),r.xp6(2),r.hij(" ",te.text," ")}}function Nt(ut,pn){if(1&ut){const te=r.EpF();r.TgZ(0,"datatable-body-cell",3),r.NdJ("activate",function(jt){const ii=r.CHM(te).index;return r.oxw(2).onActivate(jt,ii)})("treeAction",function(){return r.CHM(te),r.oxw(2).onTreeAction()}),r.qZA()}if(2&ut){const te=pn.$implicit,Ue=r.oxw(2);r.Q6J("row",Ue.row)("group",Ue.group)("expanded",Ue.expanded)("isSelected",Ue.isSelected)("rowIndex",Ue.rowIndex)("column",te)("rowHeight",Ue.rowHeight)("displayCheck",Ue.displayCheck)("treeStatus",Ue.treeStatus)}}function Yt(ut,pn){if(1&ut&&(r.TgZ(0,"div",1),r.YNc(1,Nt,1,9,"datatable-body-cell",2),r.qZA()),2&ut){const te=pn.$implicit,Ue=r.oxw();r.Gre("datatable-row-",te.type," datatable-row-group"),r.Q6J("ngStyle",Ue._groupStyles[te.type]),r.xp6(1),r.Q6J("ngForOf",te.columns)("ngForTrackBy",Ue.columnTrackingFn)}}function dn(ut,pn){}function rn(ut,pn){if(1&ut&&r.YNc(0,dn,0,0,"ng-template",4),2&ut){const te=r.oxw(2);r.Q6J("ngTemplateOutlet",te.groupHeader.template)("ngTemplateOutletContext",te.groupContext)}}function vt(ut,pn){if(1&ut&&(r.TgZ(0,"div",3),r.YNc(1,rn,1,2,null,1),r.qZA()),2&ut){const te=r.oxw();r.Q6J("ngStyle",te.getGroupHeaderStyle()),r.xp6(1),r.Q6J("ngIf",te.groupHeader&&te.groupHeader.template)}}function xt(ut,pn){1&ut&&r.Hsn(0,0,["*ngIf","(groupHeader && groupHeader.template && expanded) || !groupHeader || !groupHeader.template"])}function Ct(ut,pn){}function Gt(ut,pn){if(1&ut&&r.YNc(0,Ct,0,0,"ng-template",4),2&ut){const te=r.oxw(2);r.Q6J("ngTemplateOutlet",te.rowDetail.template)("ngTemplateOutletContext",te.rowContext)}}function Fn(ut,pn){if(1&ut&&(r.TgZ(0,"div",5),r.YNc(1,Gt,1,2,null,1),r.qZA()),2&ut){const te=r.oxw();r.Udp("height",te.detailRowHeight,"px"),r.xp6(1),r.Q6J("ngIf",te.rowDetail&&te.rowDetail.template)}}const pr=["cellTemplate"];function mi(ut,pn){if(1&ut){const te=r.EpF();r.TgZ(0,"label",4)(1,"input",5),r.NdJ("click",function(jt){return r.CHM(te),r.oxw().onCheckboxChange(jt)}),r.qZA()()}if(2&ut){const te=r.oxw();r.xp6(1),r.Q6J("checked",te.isSelected)}}function ci(ut,pn){1&ut&&r._UZ(0,"i",11)}function hr(ut,pn){1&ut&&r._UZ(0,"i",12)}function Br(ut,pn){1&ut&&r._UZ(0,"i",13)}function Ur(ut,pn){if(1&ut){const te=r.EpF();r.TgZ(0,"button",7),r.NdJ("click",function(){return r.CHM(te),r.oxw(2).onTreeAction()}),r.TgZ(1,"span"),r.YNc(2,ci,1,0,"i",8),r.YNc(3,hr,1,0,"i",9),r.YNc(4,Br,1,0,"i",10),r.qZA()()}if(2&ut){const te=r.oxw(2);r.Q6J("disabled","disabled"===te.treeStatus),r.xp6(2),r.Q6J("ngIf","loading"===te.treeStatus),r.xp6(1),r.Q6J("ngIf","collapsed"===te.treeStatus),r.xp6(1),r.Q6J("ngIf","expanded"===te.treeStatus||"disabled"===te.treeStatus)}}function Hn(ut,pn){}const er=function(ut){return{cellContext:ut}};function _r(ut,pn){if(1&ut&&r.YNc(0,Hn,0,0,"ng-template",14),2&ut){const te=r.oxw(2);r.Q6J("ngTemplateOutlet",te.column.treeToggleTemplate)("ngTemplateOutletContext",r.VKq(2,er,te.cellContext))}}function ei(ut,pn){if(1&ut&&(r.ynx(0),r.YNc(1,Ur,5,4,"button",6),r.YNc(2,_r,1,4,null,2),r.BQk()),2&ut){const te=r.oxw();r.xp6(1),r.Q6J("ngIf",!te.column.treeToggleTemplate),r.xp6(1),r.Q6J("ngIf",te.column.treeToggleTemplate)}}function bi(ut,pn){if(1&ut&&r._UZ(0,"span",15),2&ut){const te=r.oxw();r.Q6J("title",te.sanitizedValue)("innerHTML",te.value,r.oJD)}}function fi(ut,pn){}function no(ut,pn){if(1&ut&&r.YNc(0,fi,0,0,"ng-template",14,16,r.W1O),2&ut){const te=r.oxw();r.Q6J("ngTemplateOutlet",te.column.cellTemplate)("ngTemplateOutletContext",te.cellContext)}}function xo(ut,pn){if(1&ut&&r._UZ(0,"datatable-body-row",1),2&ut){const te=r.oxw();r.Q6J("innerWidth",te.innerWidth)("offsetX",te.offsetX)("columns",te._internalColumns)("rowHeight",te.rowHeight)("row",te.summaryRow)("rowIndex",-1)}}let Er=(()=>{class ut{constructor(te){this.document=te,this.width=this.getWidth()}getWidth(){const te=this.document.createElement("div");te.style.visibility="hidden",te.style.width="100px",te.style.msOverflowStyle="scrollbar",this.document.body.appendChild(te);const Ue=te.offsetWidth;te.style.overflow="scroll";const jt=this.document.createElement("div");jt.style.width="100%",te.appendChild(jt);const hn=jt.offsetWidth;return te.parentNode.removeChild(te),Ue-hn}}return ut.\u0275fac=function(te){return new(te||ut)(r.LFG(a.K0))},ut.\u0275prov=r.Yz7({token:ut,factory:ut.\u0275fac}),ut})(),an=(()=>{class ut{getDimensions(te){return te.getBoundingClientRect()}}return ut.\u0275fac=function(te){return new(te||ut)},ut.\u0275prov=r.Yz7({token:ut,factory:ut.\u0275fac}),ut})(),vn=(()=>{class ut{constructor(){this.columnInputChanges=new f.xQ}get columnInputChanges$(){return this.columnInputChanges.asObservable()}onInputChange(){this.columnInputChanges.next()}}return ut.\u0275fac=function(te){return new(te||ut)},ut.\u0275prov=r.Yz7({token:ut,factory:ut.\u0275fac}),ut})(),Zn=(()=>{class ut{constructor(te){this.template=te}}return ut.\u0275fac=function(te){return new(te||ut)(r.Y36(r.Rgc))},ut.\u0275dir=r.lG2({type:ut,selectors:[["","ngx-datatable-footer-template",""]]}),ut})(),Xn=(()=>{class ut{constructor(te,Ue){this.element=te,this.zone=Ue,this.isVisible=!1,this.visible=new r.vpe}ngOnInit(){this.runCheck()}ngOnDestroy(){clearTimeout(this.timeout)}onVisibilityChange(){this.zone.run(()=>{this.isVisible=!0,this.visible.emit(!0)})}runCheck(){const te=()=>{const{offsetHeight:Ue,offsetWidth:jt}=this.element.nativeElement;Ue&&jt?(clearTimeout(this.timeout),this.onVisibilityChange()):(clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>te(),50)}))};this.timeout=setTimeout(()=>te())}}return ut.\u0275fac=function(te){return new(te||ut)(r.Y36(r.SBq),r.Y36(r.R0b))},ut.\u0275dir=r.lG2({type:ut,selectors:[["","visibilityObserver",""]],hostVars:2,hostBindings:function(te,Ue){2&te&&r.ekj("visible",Ue.isVisible)},outputs:{visible:"visible"}}),ut})(),zn=(()=>{class ut{constructor(te){this.dragX=!0,this.dragY=!0,this.dragStart=new r.vpe,this.dragging=new r.vpe,this.dragEnd=new r.vpe,this.isDragging=!1,this.element=te.nativeElement}ngOnChanges(te){te.dragEventTarget&&te.dragEventTarget.currentValue&&this.dragModel.dragging&&this.onMousedown(te.dragEventTarget.currentValue)}ngOnDestroy(){this._destroySubscription()}onMouseup(te){!this.isDragging||(this.isDragging=!1,this.element.classList.remove("dragging"),this.subscription&&(this._destroySubscription(),this.dragEnd.emit({event:te,element:this.element,model:this.dragModel})))}onMousedown(te){if(te.target.classList.contains("draggable")&&(this.dragX||this.dragY)){te.preventDefault(),this.isDragging=!0;const jt={x:te.clientX,y:te.clientY},hn=(0,u.R)(document,"mouseup");this.subscription=hn.subscribe(Oi=>this.onMouseup(Oi));const ii=(0,u.R)(document,"mousemove").pipe((0,p.R)(hn)).subscribe(Oi=>this.move(Oi,jt));this.subscription.add(ii),this.dragStart.emit({event:te,element:this.element,model:this.dragModel})}}move(te,Ue){if(!this.isDragging)return;const hn=te.clientY-Ue.y;this.dragX&&(this.element.style.left=te.clientX-Ue.x+"px"),this.dragY&&(this.element.style.top=`${hn}px`),this.element.classList.add("dragging"),this.dragging.emit({event:te,element:this.element,model:this.dragModel})}_destroySubscription(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=void 0)}}return ut.\u0275fac=function(te){return new(te||ut)(r.Y36(r.SBq))},ut.\u0275dir=r.lG2({type:ut,selectors:[["","draggable",""]],inputs:{dragX:"dragX",dragY:"dragY",dragEventTarget:"dragEventTarget",dragModel:"dragModel"},outputs:{dragStart:"dragStart",dragging:"dragging",dragEnd:"dragEnd"},features:[r.TTD]}),ut})(),ri=(()=>{class ut{constructor(te,Ue){this.renderer=Ue,this.resizeEnabled=!0,this.resize=new r.vpe,this.resizing=!1,this.element=te.nativeElement}ngAfterViewInit(){const te=this.renderer;this.resizeHandle=te.createElement("span"),te.addClass(this.resizeHandle,this.resizeEnabled?"resize-handle":"resize-handle--not-resizable"),te.appendChild(this.element,this.resizeHandle)}ngOnDestroy(){this._destroySubscription(),this.renderer.destroyNode?this.renderer.destroyNode(this.resizeHandle):this.resizeHandle&&this.renderer.removeChild(this.renderer.parentNode(this.resizeHandle),this.resizeHandle)}onMouseup(){this.resizing=!1,this.subscription&&!this.subscription.closed&&(this._destroySubscription(),this.resize.emit(this.element.clientWidth))}onMousedown(te){const Ue=te.target.classList.contains("resize-handle"),jt=this.element.clientWidth,hn=te.screenX;if(Ue){te.stopPropagation(),this.resizing=!0;const ii=(0,u.R)(document,"mouseup");this.subscription=ii.subscribe(ki=>this.onMouseup());const Oi=(0,u.R)(document,"mousemove").pipe((0,p.R)(ii)).subscribe(ki=>this.move(ki,jt,hn));this.subscription.add(Oi)}}move(te,Ue,jt){const ii=Ue+(te.screenX-jt);(!this.minWidth||ii>=this.minWidth)&&(!this.maxWidth||ii<=this.maxWidth)&&(this.element.style.width=`${ii}px`)}_destroySubscription(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=void 0)}}return ut.\u0275fac=function(te){return new(te||ut)(r.Y36(r.SBq),r.Y36(r.Qsj))},ut.\u0275dir=r.lG2({type:ut,selectors:[["","resizeable",""]],hostVars:2,hostBindings:function(te,Ue){1&te&&r.NdJ("mousedown",function(hn){return Ue.onMousedown(hn)}),2&te&&r.ekj("resizeable",Ue.resizeEnabled)},inputs:{resizeEnabled:"resizeEnabled",minWidth:"minWidth",maxWidth:"maxWidth"},outputs:{resize:"resize"}}),ut})(),Gi=(()=>{class ut{constructor(te,Ue){this.document=Ue,this.reorder=new r.vpe,this.targetChanged=new r.vpe,this.differ=te.find({}).create()}ngAfterContentInit(){this.updateSubscriptions(),this.draggables.changes.subscribe(this.updateSubscriptions.bind(this))}ngOnDestroy(){this.draggables.forEach(te=>{te.dragStart.unsubscribe(),te.dragging.unsubscribe(),te.dragEnd.unsubscribe()})}updateSubscriptions(){const te=this.differ.diff(this.createMapDiffs());if(te){const Ue=({currentValue:hn,previousValue:ii})=>{jt({previousValue:ii}),hn&&(hn.dragStart.subscribe(this.onDragStart.bind(this)),hn.dragging.subscribe(this.onDragging.bind(this)),hn.dragEnd.subscribe(this.onDragEnd.bind(this)))},jt=({previousValue:hn})=>{hn&&(hn.dragStart.unsubscribe(),hn.dragging.unsubscribe(),hn.dragEnd.unsubscribe())};te.forEachAddedItem(Ue),te.forEachRemovedItem(jt)}}onDragStart(){this.positions={};let te=0;for(const Ue of this.draggables.toArray()){const jt=Ue.element,hn=parseInt(jt.offsetLeft.toString(),0);this.positions[Ue.dragModel.prop]={left:hn,right:hn+parseInt(jt.offsetWidth.toString(),0),index:te++,element:jt}}}onDragging({model:Ue,event:jt}){const hn=this.positions[Ue.prop],ii=this.isTarget(Ue,jt);ii?this.lastDraggingIndex!==ii.i&&(this.targetChanged.emit({prevIndex:this.lastDraggingIndex,newIndex:ii.i,initialIndex:hn.index}),this.lastDraggingIndex=ii.i):this.lastDraggingIndex!==hn.index&&(this.targetChanged.emit({prevIndex:this.lastDraggingIndex,initialIndex:hn.index}),this.lastDraggingIndex=hn.index)}onDragEnd({element:te,model:Ue,event:jt}){const hn=this.positions[Ue.prop],ii=this.isTarget(Ue,jt);ii&&this.reorder.emit({prevIndex:hn.index,newIndex:ii.i,model:Ue}),this.lastDraggingIndex=void 0,te.style.left="auto"}isTarget(te,Ue){let jt=0;const Oi=this.document.elementsFromPoint(Ue.x||Ue.clientX,Ue.y||Ue.clientY);for(const ki in this.positions){const _s=this.positions[ki];if(te.prop!==ki&&Oi.find(Vo=>Vo===_s.element))return{pos:_s,i:jt};jt++}}createMapDiffs(){return this.draggables.toArray().reduce((te,Ue)=>(te[Ue.dragModel.$$id]=Ue,te),{})}}return ut.\u0275fac=function(te){return new(te||ut)(r.Y36(r.aQg),r.Y36(a.K0))},ut.\u0275dir=r.lG2({type:ut,selectors:[["","orderable",""]],contentQueries:function(te,Ue,jt){if(1&te&&r.Suo(jt,zn,5),2&te){let hn;r.iGM(hn=r.CRH())&&(Ue.draggables=hn)}},outputs:{reorder:"reorder",targetChanged:"targetChanged"}}),ut})(),ui=(()=>{class ut{constructor(){this.pressEnabled=!0,this.duration=500,this.longPressStart=new r.vpe,this.longPressing=new r.vpe,this.longPressEnd=new r.vpe,this.mouseX=0,this.mouseY=0}get press(){return this.pressing}get isLongPress(){return this.isLongPressing}onMouseDown(te){if(1!==te.which||!this.pressEnabled||te.target.classList.contains("resize-handle"))return;this.mouseX=te.clientX,this.mouseY=te.clientY,this.pressing=!0,this.isLongPressing=!1;const jt=(0,u.R)(document,"mouseup");this.subscription=jt.subscribe(hn=>this.onMouseup()),this.timeout=setTimeout(()=>{this.isLongPressing=!0,this.longPressStart.emit({event:te,model:this.pressModel}),this.subscription.add((0,u.R)(document,"mousemove").pipe((0,p.R)(jt)).subscribe(hn=>this.onMouseMove(hn))),this.loop(te)},this.duration),this.loop(te)}onMouseMove(te){if(this.pressing&&!this.isLongPressing){const Ue=Math.abs(te.clientX-this.mouseX)>10,jt=Math.abs(te.clientY-this.mouseY)>10;(Ue||jt)&&this.endPress()}}loop(te){this.isLongPressing&&(this.timeout=setTimeout(()=>{this.longPressing.emit({event:te,model:this.pressModel}),this.loop(te)},50))}endPress(){clearTimeout(this.timeout),this.isLongPressing=!1,this.pressing=!1,this._destroySubscription(),this.longPressEnd.emit({model:this.pressModel})}onMouseup(){this.endPress()}ngOnDestroy(){this._destroySubscription()}_destroySubscription(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=void 0)}}return ut.\u0275fac=function(te){return new(te||ut)},ut.\u0275dir=r.lG2({type:ut,selectors:[["","long-press",""]],hostVars:4,hostBindings:function(te,Ue){1&te&&r.NdJ("mousedown",function(hn){return Ue.onMouseDown(hn)}),2&te&&r.ekj("press",Ue.press)("longpress",Ue.isLongPress)},inputs:{pressEnabled:"pressEnabled",duration:"duration",pressModel:"pressModel"},outputs:{longPressStart:"longPressStart",longPressing:"longPressing",longPressEnd:"longPressEnd"}}),ut})(),vr=(()=>{class ut{constructor(te,Ue,jt){this.ngZone=te,this.renderer=jt,this.scrollbarV=!1,this.scrollbarH=!1,this.scroll=new r.vpe,this.scrollYPos=0,this.scrollXPos=0,this.prevScrollYPos=0,this.prevScrollXPos=0,this._scrollEventListener=null,this.element=Ue.nativeElement}ngOnInit(){if(this.scrollbarV||this.scrollbarH){const te=this.renderer;this.parentElement=te.parentNode(te.parentNode(this.element)),this._scrollEventListener=this.onScrolled.bind(this),this.parentElement.addEventListener("scroll",this._scrollEventListener)}}ngOnDestroy(){this._scrollEventListener&&(this.parentElement.removeEventListener("scroll",this._scrollEventListener),this._scrollEventListener=null)}setOffset(te){this.parentElement&&(this.parentElement.scrollTop=te)}onScrolled(te){const Ue=te.currentTarget;requestAnimationFrame(()=>{this.scrollYPos=Ue.scrollTop,this.scrollXPos=Ue.scrollLeft,this.updateOffset()})}updateOffset(){let te;this.scrollYPos<this.prevScrollYPos?te="down":this.scrollYPos>this.prevScrollYPos&&(te="up"),this.scroll.emit({direction:te,scrollYPos:this.scrollYPos,scrollXPos:this.scrollXPos}),this.prevScrollYPos=this.scrollYPos,this.prevScrollXPos=this.scrollXPos}}return ut.\u0275fac=function(te){return new(te||ut)(r.Y36(r.R0b),r.Y36(r.SBq),r.Y36(r.Qsj))},ut.\u0275cmp=r.Xpm({type:ut,selectors:[["datatable-scroller"]],hostAttrs:[1,"datatable-scroll"],hostVars:4,hostBindings:function(te,Ue){2&te&&r.Udp("height",Ue.scrollHeight,"px")("width",Ue.scrollWidth,"px")},inputs:{scrollbarV:"scrollbarV",scrollbarH:"scrollbarH",scrollHeight:"scrollHeight",scrollWidth:"scrollWidth"},outputs:{scroll:"scroll"},ngContentSelectors:T,decls:1,vars:0,template:function(te,Ue){1&te&&(r.F$t(),r.Hsn(0))},encapsulation:2,changeDetection:0}),ut})(),Ji=(()=>{class ut{constructor(te){this.template=te}}return ut.\u0275fac=function(te){return new(te||ut)(r.Y36(r.Rgc))},ut.\u0275dir=r.lG2({type:ut,selectors:[["","ngx-datatable-group-header-template",""]]}),ut})(),mn=(()=>{class ut{constructor(){this.rowHeight=0,this.toggle=new r.vpe}get template(){return this._templateInput||this._templateQuery}toggleExpandGroup(te){this.toggle.emit({type:"group",value:te})}expandAllGroups(){this.toggle.emit({type:"all",value:!0})}collapseAllGroups(){this.toggle.emit({type:"all",value:!1})}}return ut.\u0275fac=function(te){return new(te||ut)},ut.\u0275dir=r.lG2({type:ut,selectors:[["ngx-datatable-group-header"]],contentQueries:function(te,Ue,jt){if(1&te&&r.Suo(jt,Ji,7,r.Rgc),2&te){let hn;r.iGM(hn=r.CRH())&&(Ue._templateQuery=hn.first)}},inputs:{rowHeight:"rowHeight",_templateInput:["template","_templateInput"]},outputs:{toggle:"toggle"}}),ut})();function Rn(){return""}function Wn(ut){return null==ut?Rn:"number"==typeof ut?et:-1!==ut.indexOf(".")?Re:Le}function et(ut,pn){if(null==ut)return"";if(!ut||null==pn)return ut;const te=ut[pn];return null==te?"":te}function Le(ut,pn){if(null==ut)return"";if(!ut||!pn)return ut;const te=ut[pn];return null==te?"":te}function Re(ut,pn){if(null==ut)return"";if(!ut||!pn)return ut;let te=ut[pn];if(void 0!==te)return te;te=ut;const Ue=pn.split(".");if(Ue.length)for(let jt=0;jt<Ue.length;jt++)if(te=te[Ue[jt]],null==te)return"";return te}function Se(ut){return ut&&(pn=>Wn(ut)(pn,ut))}function dt(ut,pn,te){if(pn&&te){const Ue={},jt=ut.length;let hn=null;Ue[0]=new st;const ii=ut.reduce((ki,_s)=>{const Vo=te(_s);return-1===ki.indexOf(Vo)&&ki.push(Vo),ki},[]);for(let ki=0;ki<jt;ki++)Ue[te(ut[ki])]=new st(ut[ki]);for(let ki=0;ki<jt;ki++){hn=Ue[te(ut[ki])];let _s=0;const Vo=pn(hn.row);!!Vo&&ii.indexOf(Vo)>-1&&(_s=Vo),hn.parent=Ue[_s],hn.row.level=hn.parent.row.level+1,hn.parent.children.push(hn)}let Oi=[];return Ue[0].flatten(function(){Oi=[...Oi,this.row]},!0),Oi}return ut}class st{constructor(pn=null){pn||(pn={level:-1,treeStatus:"expanded"}),this.row=pn,this.parent=null,this.children=[]}flatten(pn,te){if("expanded"===this.row.treeStatus)for(let Ue=0,jt=this.children.length;Ue<jt;Ue++){const hn=this.children[Ue];pn.apply(hn,Array.prototype.slice.call(arguments,2)),te&&hn.flatten.apply(hn,arguments)}}}function nn(ut){return(ut=(ut=(ut=ut.replace(/[^a-zA-Z0-9 ]/g," ")).replace(/([a-z](?=[A-Z]))/g,"$1 ")).replace(/([^a-zA-Z0-9 ])|^[0-9]+/g,"").trim().toLowerCase()).replace(/([ 0-9]+)([a-zA-Z])/g,function(pn,te,Ue){return te.trim()+Ue.toUpperCase()})}function Fe(ut){return ut.replace(/([A-Z])/g,pn=>` ${pn}`).replace(/^./,pn=>pn.toUpperCase())}function ti(ut){if(!ut)return;let pn=!1;for(const te of ut)te.$$id||(te.$$id=("0000"+(Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4)),Ut(te.prop)&&te.name&&(te.prop=nn(te.name)),te.$$valueGetter||(te.$$valueGetter=Wn(te.prop)),!Ut(te.prop)&&Ut(te.name)&&(te.name=Fe(String(te.prop))),Ut(te.prop)&&Ut(te.name)&&(te.name=""),te.hasOwnProperty("resizeable")||(te.resizeable=!0),te.hasOwnProperty("sortable")||(te.sortable=!0),te.hasOwnProperty("draggable")||(te.draggable=!0),te.hasOwnProperty("canAutoResize")||(te.canAutoResize=!0),te.hasOwnProperty("width")||(te.width=150),te.hasOwnProperty("isTreeColumn")&&te.isTreeColumn&&!pn?pn=!0:te.isTreeColumn=!1}function Ut(ut){return null==ut}var Et=(()=>{return(ut=Et||(Et={})).standard="standard",ut.flex="flex",ut.force="force",Et;var ut})(),$t=(()=>{return(ut=$t||($t={})).single="single",ut.multi="multi",ut.multiClick="multiClick",ut.cell="cell",ut.checkbox="checkbox",$t;var ut})(),_t=(()=>{return(ut=_t||(_t={})).single="single",ut.multi="multi",_t;var ut})(),yt=(()=>{return(ut=yt||(yt={})).header="header",ut.body="body",yt;var ut})();let Vt=(()=>{class ut{constructor(te){this.template=te}}return ut.\u0275fac=function(te){return new(te||ut)(r.Y36(r.Rgc))},ut.\u0275dir=r.lG2({type:ut,selectors:[["","ngx-datatable-header-template",""]]}),ut})(),yn=(()=>{class ut{constructor(te){this.template=te}}return ut.\u0275fac=function(te){return new(te||ut)(r.Y36(r.Rgc))},ut.\u0275dir=r.lG2({type:ut,selectors:[["","ngx-datatable-cell-template",""]]}),ut})(),Cr=(()=>{class ut{constructor(te){this.template=te}}return ut.\u0275fac=function(te){return new(te||ut)(r.Y36(r.Rgc))},ut.\u0275dir=r.lG2({type:ut,selectors:[["","ngx-datatable-tree-toggle",""]]}),ut})(),xi=(()=>{class ut{constructor(te){this.columnChangesService=te,this.isFirstChange=!0}get cellTemplate(){return this._cellTemplateInput||this._cellTemplateQuery}get headerTemplate(){return this._headerTemplateInput||this._headerTemplateQuery}get treeToggleTemplate(){return this._treeToggleTemplateInput||this._treeToggleTemplateQuery}ngOnChanges(){this.isFirstChange?this.isFirstChange=!1:this.columnChangesService.onInputChange()}}return ut.\u0275fac=function(te){return new(te||ut)(r.Y36(vn))},ut.\u0275dir=r.lG2({type:ut,selectors:[["ngx-datatable-column"]],contentQueries:function(te,Ue,jt){if(1&te&&(r.Suo(jt,yn,7,r.Rgc),r.Suo(jt,Vt,7,r.Rgc),r.Suo(jt,Cr,7,r.Rgc)),2&te){let hn;r.iGM(hn=r.CRH())&&(Ue._cellTemplateQuery=hn.first),r.iGM(hn=r.CRH())&&(Ue._headerTemplateQuery=hn.first),r.iGM(hn=r.CRH())&&(Ue._treeToggleTemplateQuery=hn.first)}},inputs:{name:"name",prop:"prop",frozenLeft:"frozenLeft",frozenRight:"frozenRight",flexGrow:"flexGrow",resizeable:"resizeable",comparator:"comparator",pipe:"pipe",sortable:"sortable",draggable:"draggable",canAutoResize:"canAutoResize",minWidth:"minWidth",width:"width",maxWidth:"maxWidth",checkboxable:"checkboxable",headerCheckboxable:"headerCheckboxable",headerClass:"headerClass",cellClass:"cellClass",isTreeColumn:"isTreeColumn",treeLevelIndent:"treeLevelIndent",summaryFunc:"summaryFunc",summaryTemplate:"summaryTemplate",_cellTemplateInput:["cellTemplate","_cellTemplateInput"],_headerTemplateInput:["headerTemplate","_headerTemplateInput"],_treeToggleTemplateInput:["treeToggleTemplate","_treeToggleTemplateInput"]},features:[r.TTD]}),ut})(),yi=(()=>{class ut{constructor(te){this.template=te}}return ut.\u0275fac=function(te){return new(te||ut)(r.Y36(r.Rgc))},ut.\u0275dir=r.lG2({type:ut,selectors:[["","ngx-datatable-row-detail-template",""]]}),ut})(),Uo=(()=>{class ut{constructor(){this.rowHeight=0,this.toggle=new r.vpe}get template(){return this._templateInput||this._templateQuery}toggleExpandRow(te){this.toggle.emit({type:"row",value:te})}expandAllRows(){this.toggle.emit({type:"all",value:!0})}collapseAllRows(){this.toggle.emit({type:"all",value:!1})}}return ut.\u0275fac=function(te){return new(te||ut)},ut.\u0275dir=r.lG2({type:ut,selectors:[["ngx-datatable-row-detail"]],contentQueries:function(te,Ue,jt){if(1&te&&r.Suo(jt,yi,7,r.Rgc),2&te){let hn;r.iGM(hn=r.CRH())&&(Ue._templateQuery=hn.first)}},inputs:{rowHeight:"rowHeight",_templateInput:["template","_templateInput"]},outputs:{toggle:"toggle"}}),ut})(),Qo=(()=>{class ut{get template(){return this._templateInput||this._templateQuery}}return ut.\u0275fac=function(te){return new(te||ut)},ut.\u0275dir=r.lG2({type:ut,selectors:[["ngx-datatable-footer"]],contentQueries:function(te,Ue,jt){if(1&te&&r.Suo(jt,Zn,5,r.Rgc),2&te){let hn;r.iGM(hn=r.CRH())&&(Ue._templateQuery=hn.first)}},inputs:{footerHeight:"footerHeight",totalMessage:"totalMessage",selectedMessage:"selectedMessage",pagerLeftArrowIcon:"pagerLeftArrowIcon",pagerRightArrowIcon:"pagerRightArrowIcon",pagerPreviousIcon:"pagerPreviousIcon",pagerNextIcon:"pagerNextIcon",_templateInput:["template","_templateInput"]}}),ut})();function lo(ut){const pn={left:[],center:[],right:[]};if(ut)for(const te of ut)te.frozenLeft?pn.left.push(te):te.frozenRight?pn.right.push(te):pn.center.push(te);return pn}function Ri(ut,pn){return{left:ko(ut.left),center:ko(ut.center),right:ko(ut.right),total:Math.floor(ko(pn))}}function ko(ut,pn){let te=0;if(ut)for(const Ue of ut)te+=parseFloat(pn&&Ue[pn]?Ue[pn]:Ue.width);return te}function ir(ut){const pn=[],te=lo(ut);return pn.push({type:"left",columns:te.left}),pn.push({type:"center",columns:te.center}),pn.push({type:"right",columns:te.right}),pn}class si{constructor(){this.treeArray=[]}clearCache(){this.treeArray=[]}initCache(pn){const{rows:te,rowHeight:Ue,detailRowHeight:jt,externalVirtual:hn,rowCount:ii,rowIndexes:Oi,rowExpansions:ki}=pn,_s="function"==typeof Ue,Vo="function"==typeof jt;if(!_s&&isNaN(Ue))throw new Error(`Row Height cache initialization failed. Please ensure that 'rowHeight' is a\n        valid number or function value: (${Ue}) when 'scrollbarV' is enabled.`);if(!Vo&&isNaN(jt))throw new Error(`Row Height cache initialization failed. Please ensure that 'detailRowHeight' is a\n        valid number or function value: (${jt}) when 'scrollbarV' is enabled.`);const Fs=hn?ii:te.length;this.treeArray=new Array(Fs);for(let Ks=0;Ks<Fs;++Ks)this.treeArray[Ks]=0;for(let Ks=0;Ks<Fs;++Ks){const hl=te[Ks];let sl=Ue;_s&&(sl=Ue(hl));const Jl=ki.has(hl);hl&&Jl&&(sl+=Vo?jt(hl,Oi.get(hl)):jt),this.update(Ks,sl)}}getRowIndex(pn){return 0===pn?0:this.calcRowIndex(pn)}update(pn,te){if(!this.treeArray.length)throw new Error(`Update at index ${pn} with value ${te} failed:\n        Row Height cache not initialized.`);const Ue=this.treeArray.length;for(pn|=0;pn<Ue;)this.treeArray[pn]+=te,pn|=pn+1}query(pn){if(!this.treeArray.length)throw new Error(`query at index ${pn} failed: Fenwick tree array not initialized.`);let te=0;for(pn|=0;pn>=0;)te+=this.treeArray[pn],pn=(pn&pn+1)-1;return te}queryBetween(pn,te){return this.query(te)-this.query(pn-1)}calcRowIndex(pn){if(!this.treeArray.length)return 0;let te=-1;const Ue=this.treeArray.length;for(let hn=Math.pow(2,Ue.toString(2).length-1);0!==hn;hn>>=1){const ii=te+hn;ii<Ue&&pn>=this.treeArray[ii]&&(pn-=this.treeArray[ii],te=ii)}return te+1}}const kn={},nr="undefined"!=typeof document?document.createElement("div").style:void 0,ao=function(){const ut="undefined"!=typeof window?window.getComputedStyle(document.documentElement,""):void 0,pn=void 0!==ut?Array.prototype.slice.call(ut).join("").match(/-(moz|webkit|ms)-/):null,te=null!==pn?pn[1]:void 0,Ue=void 0!==te?"WebKit|Moz|MS|O".match(new RegExp("("+te+")","i"))[1]:void 0;return Ue?{dom:Ue,lowercase:te,css:`-${te}-`,js:te[0].toUpperCase()+te.substr(1)}:void 0}();function $i(ut){const pn=nn(ut);return kn[pn]||(void 0!==ao&&void 0!==nr[ao.css+ut]?kn[pn]=ao.css+ut:void 0!==nr[ut]&&(kn[pn]=ut)),kn[pn]}const Eo="undefined"!=typeof window?$i("transform"):void 0,mo="undefined"!=typeof window?$i("backfaceVisibility"):void 0,Go="undefined"!=typeof window?!!$i("transform"):void 0,ua="undefined"!=typeof window?!!$i("perspective"):void 0,or="undefined"!=typeof window?window.navigator.userAgent:"Chrome",Mr=/Safari\//.test(or)&&!/Chrome\//.test(or);function Or(ut,pn,te){void 0!==Eo&&Go?!Mr&&ua?(ut[Eo]=`translate3d(${pn}px, ${te}px, 0)`,ut[mo]="hidden"):ut[nn(Eo)]=`translate(${pn}px, ${te}px)`:(ut.top=`${te}px`,ut.left=`${pn}px`)}let cr=(()=>{class ut{constructor(te){this.cd=te,this.selected=[],this.scroll=new r.vpe,this.page=new r.vpe,this.activate=new r.vpe,this.select=new r.vpe,this.detailToggle=new r.vpe,this.rowContextmenu=new r.vpe(!1),this.treeAction=new r.vpe,this.rowHeightsCache=new si,this.temp=[],this.offsetY=0,this.indexes={},this.rowIndexes=new WeakMap,this.rowExpansions=[],this.getDetailRowHeight=(Ue,jt)=>{if(!this.rowDetail)return 0;const hn=this.rowDetail.rowHeight;return"function"==typeof hn?hn(Ue,jt):hn},this.rowTrackingFn=(Ue,jt)=>{const hn=this.getRowIndex(jt);return this.trackByProp?jt[this.trackByProp]:hn}}set pageSize(te){this._pageSize=te,this.recalcLayout()}get pageSize(){return this._pageSize}set rows(te){this._rows=te,this.recalcLayout()}get rows(){return this._rows}set columns(te){this._columns=te;const Ue=lo(te);this.columnGroupWidths=Ri(Ue,te)}get columns(){return this._columns}set offset(te){this._offset=te,(!this.scrollbarV||this.scrollbarV&&!this.virtualization)&&this.recalcLayout()}get offset(){return this._offset}set rowCount(te){this._rowCount=te,this.recalcLayout()}get rowCount(){return this._rowCount}get bodyWidth(){return this.scrollbarH?this.innerWidth+"px":"100%"}set bodyHeight(te){this._bodyHeight=this.scrollbarV?te+"px":"auto",this.recalcLayout()}get bodyHeight(){return this._bodyHeight}get selectEnabled(){return!!this.selectionType}get scrollHeight(){if(this.scrollbarV&&this.virtualization&&this.rowCount)return this.rowHeightsCache.query(this.rowCount-1)}ngOnInit(){this.rowDetail&&(this.listener=this.rowDetail.toggle.subscribe(({type:te,value:Ue})=>{"row"===te&&this.toggleRowExpansion(Ue),"all"===te&&this.toggleAllRows(Ue),this.updateIndexes(),this.updateRows(),this.cd.markForCheck()})),this.groupHeader&&(this.listener=this.groupHeader.toggle.subscribe(({type:te,value:Ue})=>{"group"===te&&this.toggleRowExpansion(Ue),"all"===te&&this.toggleAllRows(Ue),this.updateIndexes(),this.updateRows(),this.cd.markForCheck()}))}ngOnDestroy(){(this.rowDetail||this.groupHeader)&&this.listener.unsubscribe()}updateOffsetY(te){this.scroller&&(this.scrollbarV&&this.virtualization&&te?te=this.rowHeightsCache.query(this.pageSize*te-1):this.scrollbarV&&!this.virtualization&&(te=0),this.scroller.setOffset(te||0))}onBodyScroll(te){const Ue=te.scrollYPos,jt=te.scrollXPos;(this.offsetY!==Ue||this.offsetX!==jt)&&this.scroll.emit({offsetY:Ue,offsetX:jt}),this.offsetY=Ue,this.offsetX=jt,this.updateIndexes(),this.updatePage(te.direction),this.updateRows()}updatePage(te){let Ue=this.indexes.first/this.pageSize;"up"===te?Ue=Math.ceil(Ue):"down"===te&&(Ue=Math.floor(Ue)),void 0!==te&&!isNaN(Ue)&&this.page.emit({offset:Ue})}updateRows(){const{first:te,last:Ue}=this.indexes;let jt=te,hn=0;const ii=[];if(this.groupedRows){let Oi=3;for(1===this.groupedRows.length&&(Oi=this.groupedRows[0].value.length);jt<Ue&&jt<this.groupedRows.length;){const ki=this.groupedRows[jt];this.rowIndexes.set(ki,jt),ki.value&&ki.value.forEach((_s,Vo)=>{this.rowIndexes.set(_s,`${jt}-${Vo}`)}),ii[hn]=ki,hn++,jt++}}else for(;jt<Ue&&jt<this.rowCount;){const Oi=this.rows[jt];Oi&&(this.rowIndexes.set(Oi,jt),ii[hn]=Oi),hn++,jt++}this.temp=ii}getRowHeight(te){return"function"==typeof this.rowHeight?this.rowHeight(te):this.rowHeight}getGroupHeight(te){let Ue=0;if(te.value)for(let jt=0;jt<te.value.length;jt++)Ue+=this.getRowAndDetailHeight(te.value[jt]);return Ue}getRowAndDetailHeight(te){let Ue=this.getRowHeight(te);return this.getRowExpanded(te)&&(Ue+=this.getDetailRowHeight(te)),Ue}getRowsStyles(te){const Ue={};if(this.groupedRows&&(Ue.width=this.columnGroupWidths.total),this.scrollbarV&&this.virtualization){let jt=0;if(this.groupedRows){const ii=te[te.length-1];jt=ii?this.getRowIndex(ii):0}else jt=this.getRowIndex(te);Or(Ue,0,this.rowHeightsCache.query(jt-1))}return Ue}getBottomSummaryRowStyles(){if(!this.scrollbarV||!this.rows||!this.rows.length)return null;const te={position:"absolute"};return Or(te,0,this.rowHeightsCache.query(this.rows.length-1)),te}hideIndicator(){setTimeout(()=>this.loadingIndicator=!1,500)}updateIndexes(){let te=0,Ue=0;if(this.scrollbarV)if(this.virtualization){const jt=parseInt(this.bodyHeight,0);te=this.rowHeightsCache.getRowIndex(this.offsetY),Ue=this.rowHeightsCache.getRowIndex(jt+this.offsetY)+1}else te=0,Ue=this.rowCount;else this.externalPaging||(te=Math.max(this.offset*this.pageSize,0)),Ue=Math.min(te+this.pageSize,this.rowCount);this.indexes={first:te,last:Ue}}refreshRowHeightCache(){if(this.scrollbarV&&(!this.scrollbarV||this.virtualization)&&(this.rowHeightsCache.clearCache(),this.rows&&this.rows.length)){const te=new Set;for(const Ue of this.rows)this.getRowExpanded(Ue)&&te.add(Ue);this.rowHeightsCache.initCache({rows:this.rows,rowHeight:this.rowHeight,detailRowHeight:this.getDetailRowHeight,externalVirtual:this.scrollbarV&&this.externalPaging,rowCount:this.rowCount,rowIndexes:this.rowIndexes,rowExpansions:te})}}getAdjustedViewPortIndex(){const te=this.indexes.first;return this.scrollbarV&&this.virtualization&&this.rowHeightsCache.query(te-1)<=this.offsetY?te-1:te}toggleRowExpansion(te){const Ue=this.getAdjustedViewPortIndex(),jt=this.getRowExpandedIdx(te,this.rowExpansions),hn=jt>-1;if(this.scrollbarV&&this.virtualization){const ii=this.getDetailRowHeight(te)*(hn?-1:1),Oi=this.getRowIndex(te);this.rowHeightsCache.update(Oi,ii)}hn?this.rowExpansions.splice(jt,1):this.rowExpansions.push(te),this.detailToggle.emit({rows:[te],currentIndex:Ue})}toggleAllRows(te){this.rowExpansions=[];const Ue=this.getAdjustedViewPortIndex();if(te)for(const jt of this.rows)this.rowExpansions.push(jt);this.scrollbarV&&this.recalcLayout(),this.detailToggle.emit({rows:this.rows,currentIndex:Ue})}recalcLayout(){this.refreshRowHeightCache(),this.updateIndexes(),this.updateRows()}columnTrackingFn(te,Ue){return Ue.$$id}stylesByGroup(te){const Ue=this.columnGroupWidths,jt=this.offsetX,hn={width:`${Ue[te]}px`};if("left"===te)Or(hn,jt,0);else if("right"===te){const ii=parseInt(this.innerWidth+"",0);Or(hn,-1*(Ue.total-ii-jt),0)}return hn}getRowExpanded(te){if(0===this.rowExpansions.length&&this.groupExpansionDefault)for(const Ue of this.groupedRows)this.rowExpansions.push(Ue);return this.getRowExpandedIdx(te,this.rowExpansions)>-1}getRowExpandedIdx(te,Ue){if(!Ue||!Ue.length)return-1;const jt=this.rowIdentity(te);return Ue.findIndex(hn=>this.rowIdentity(hn)===jt)}getRowIndex(te){return this.rowIndexes.get(te)||0}onTreeAction(te){this.treeAction.emit({row:te})}}return ut.\u0275fac=function(te){return new(te||ut)(r.Y36(r.sBO))},ut.\u0275cmp=r.Xpm({type:ut,selectors:[["datatable-body"]],viewQuery:function(te,Ue){if(1&te&&r.Gf(vr,5),2&te){let jt;r.iGM(jt=r.CRH())&&(Ue.scroller=jt.first)}},hostAttrs:[1,"datatable-body"],hostVars:4,hostBindings:function(te,Ue){2&te&&r.Udp("width",Ue.bodyWidth)("height",Ue.bodyHeight)},inputs:{selected:"selected",pageSize:"pageSize",rows:"rows",columns:"columns",offset:"offset",rowCount:"rowCount",bodyHeight:"bodyHeight",offsetX:"offsetX",loadingIndicator:"loadingIndicator",scrollbarV:"scrollbarV",scrollbarH:"scrollbarH",externalPaging:"externalPaging",rowHeight:"rowHeight",emptyMessage:"emptyMessage",selectionType:"selectionType",rowIdentity:"rowIdentity",rowDetail:"rowDetail",groupHeader:"groupHeader",selectCheck:"selectCheck",displayCheck:"displayCheck",trackByProp:"trackByProp",rowClass:"rowClass",groupedRows:"groupedRows",groupExpansionDefault:"groupExpansionDefault",innerWidth:"innerWidth",groupRowsBy:"groupRowsBy",virtualization:"virtualization",summaryRow:"summaryRow",summaryPosition:"summaryPosition",summaryHeight:"summaryHeight"},outputs:{scroll:"scroll",page:"page",activate:"activate",select:"select",detailToggle:"detailToggle",rowContextmenu:"rowContextmenu",treeAction:"treeAction"},decls:5,vars:9,consts:[[4,"ngIf"],[3,"selected","rows","selectCheck","selectEnabled","selectionType","rowIdentity","select","activate"],["selector",""],[3,"scrollbarV","scrollbarH","scrollHeight","scrollWidth","scroll",4,"ngIf"],["class","empty-row",3,"innerHTML",4,"ngIf"],[3,"scrollbarV","scrollbarH","scrollHeight","scrollWidth","scroll"],[3,"rowHeight","offsetX","innerWidth","rows","columns",4,"ngIf"],[3,"groupedRows","innerWidth","ngStyle","rowDetail","groupHeader","offsetX","detailRowHeight","row","expanded","rowIndex","rowContextmenu",4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngStyle","rowHeight","offsetX","innerWidth","rows","columns",4,"ngIf"],[3,"rowHeight","offsetX","innerWidth","rows","columns"],[3,"groupedRows","innerWidth","ngStyle","rowDetail","groupHeader","offsetX","detailRowHeight","row","expanded","rowIndex","rowContextmenu"],["tabindex","-1",3,"isSelected","innerWidth","offsetX","columns","rowHeight","row","rowIndex","expanded","rowClass","displayCheck","treeStatus","treeAction","activate",4,"ngIf","ngIfElse"],["groupedRowsTemplate",""],["tabindex","-1",3,"isSelected","innerWidth","offsetX","columns","rowHeight","row","rowIndex","expanded","rowClass","displayCheck","treeStatus","treeAction","activate"],["tabindex","-1",3,"isSelected","innerWidth","offsetX","columns","rowHeight","row","group","rowIndex","expanded","rowClass","activate",4,"ngFor","ngForOf","ngForTrackBy"],["tabindex","-1",3,"isSelected","innerWidth","offsetX","columns","rowHeight","row","group","rowIndex","expanded","rowClass","activate"],[3,"ngStyle","rowHeight","offsetX","innerWidth","rows","columns"],[1,"empty-row",3,"innerHTML"]],template:function(te,Ue){1&te&&(r.YNc(0,M,1,0,"datatable-progress",0),r.TgZ(1,"datatable-selection",1,2),r.NdJ("select",function(hn){return Ue.select.emit(hn)})("activate",function(hn){return Ue.activate.emit(hn)}),r.YNc(3,ue,4,8,"datatable-scroller",3),r.YNc(4,re,1,1,"div",4),r.qZA()),2&te&&(r.Q6J("ngIf",Ue.loadingIndicator),r.xp6(1),r.Q6J("selected",Ue.selected)("rows",Ue.rows)("selectCheck",Ue.selectCheck)("selectEnabled",Ue.selectEnabled)("selectionType",Ue.selectionType)("rowIdentity",Ue.rowIdentity),r.xp6(2),r.Q6J("ngIf",null==Ue.rows?null:Ue.rows.length),r.xp6(1),r.Q6J("ngIf",!(null!=Ue.rows&&Ue.rows.length||Ue.loadingIndicator)))},directives:function(){return[a.O5,yl,$o,vr,hs,a.sg,Wa,a.PC,ys]},encapsulation:2,changeDetection:0}),ut})(),pi=(()=>{class ut{constructor(te){this.cd=te,this.sort=new r.vpe,this.reorder=new r.vpe,this.resize=new r.vpe,this.select=new r.vpe,this.columnContextmenu=new r.vpe(!1),this._columnGroupWidths={total:100},this._styleByGroup={left:{},center:{},right:{}},this.destroyed=!1}set innerWidth(te){this._innerWidth=te,setTimeout(()=>{if(this._columns){const Ue=lo(this._columns);this._columnGroupWidths=Ri(Ue,this._columns),this.setStylesByGroup()}})}get innerWidth(){return this._innerWidth}set headerHeight(te){this._headerHeight="auto"!==te?`${te}px`:te}get headerHeight(){return this._headerHeight}set columns(te){this._columns=te;const Ue=lo(te);this._columnsByPin=ir(te),setTimeout(()=>{this._columnGroupWidths=Ri(Ue,te),this.setStylesByGroup()})}get columns(){return this._columns}set offsetX(te){this._offsetX=te,this.setStylesByGroup()}get offsetX(){return this._offsetX}ngOnDestroy(){this.destroyed=!0}onLongPressStart({event:te,model:Ue}){Ue.dragging=!0,this.dragEventTarget=te}onLongPressEnd({event:te,model:Ue}){this.dragEventTarget=te,setTimeout(()=>{const jt=this._columns.find(hn=>hn.$$id===Ue.$$id);jt&&(jt.dragging=!1)},5)}get headerWidth(){return this.scrollbarH?this.innerWidth+"px":"100%"}trackByGroups(te,Ue){return Ue.type}columnTrackingFn(te,Ue){return Ue.$$id}onColumnResized(te,Ue){te<=Ue.minWidth?te=Ue.minWidth:te>=Ue.maxWidth&&(te=Ue.maxWidth),this.resize.emit({column:Ue,prevValue:Ue.width,newValue:te})}onColumnReordered({prevIndex:te,newIndex:Ue,model:jt}){const hn=this.getColumn(Ue);hn.isTarget=!1,hn.targetMarkerContext=void 0,this.reorder.emit({column:jt,prevValue:te,newValue:Ue})}onTargetChanged({prevIndex:te,newIndex:Ue,initialIndex:jt}){if(te||0===te){const hn=this.getColumn(te);hn.isTarget=!1,hn.targetMarkerContext=void 0}if(Ue||0===Ue){const hn=this.getColumn(Ue);hn.isTarget=!0,jt!==Ue&&(hn.targetMarkerContext={class:"targetMarker ".concat(jt>Ue?"dragFromRight":"dragFromLeft")})}}getColumn(te){const Ue=this._columnsByPin[0].columns.length;if(te<Ue)return this._columnsByPin[0].columns[te];const jt=this._columnsByPin[1].columns.length;return te<Ue+jt?this._columnsByPin[1].columns[te-Ue]:this._columnsByPin[2].columns[te-Ue-jt]}onSort({column:te,prevValue:Ue,newValue:jt}){if(te.dragging)return;const hn=this.calcNewSorts(te,Ue,jt);this.sort.emit({sorts:hn,column:te,prevValue:Ue,newValue:jt})}calcNewSorts(te,Ue,jt){let hn=0;this.sorts||(this.sorts=[]);const ii=this.sorts.map((Oi,ki)=>((Oi=Object.assign({},Oi)).prop===te.prop&&(hn=ki),Oi));return void 0===jt?ii.splice(hn,1):Ue?ii[hn].dir=jt:(this.sortType===_t.single&&ii.splice(0,this.sorts.length),ii.push({dir:jt,prop:te.prop})),ii}setStylesByGroup(){this._styleByGroup.left=this.calcStylesByGroup("left"),this._styleByGroup.center=this.calcStylesByGroup("center"),this._styleByGroup.right=this.calcStylesByGroup("right"),this.destroyed||this.cd.detectChanges()}calcStylesByGroup(te){const Ue=this._columnGroupWidths,hn={width:`${Ue[te]}px`};return"center"===te?Or(hn,-1*this.offsetX,0):"right"===te&&Or(hn,-1*(Ue.total-this.innerWidth),0),hn}}return ut.\u0275fac=function(te){return new(te||ut)(r.Y36(r.sBO))},ut.\u0275cmp=r.Xpm({type:ut,selectors:[["datatable-header"]],hostAttrs:[1,"datatable-header"],hostVars:4,hostBindings:function(te,Ue){2&te&&r.Udp("height",Ue.headerHeight)("width",Ue.headerWidth)},inputs:{innerWidth:"innerWidth",headerHeight:"headerHeight",columns:"columns",offsetX:"offsetX",sorts:"sorts",sortAscendingIcon:"sortAscendingIcon",sortDescendingIcon:"sortDescendingIcon",sortUnsetIcon:"sortUnsetIcon",scrollbarH:"scrollbarH",dealsWithGroup:"dealsWithGroup",targetMarkerTemplate:"targetMarkerTemplate",sortType:"sortType",allRowsSelected:"allRowsSelected",selectionType:"selectionType",reorderable:"reorderable"},outputs:{sort:"sort",reorder:"reorder",resize:"resize",select:"select",columnContextmenu:"columnContextmenu"},decls:2,vars:4,consts:[["orderable","",1,"datatable-header-inner",3,"reorder","targetChanged"],[3,"class","ngStyle",4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngStyle"],["resizeable","","long-press","","draggable","",3,"resizeEnabled","pressModel","pressEnabled","dragX","dragY","dragModel","dragEventTarget","headerHeight","isTarget","targetMarkerTemplate","targetMarkerContext","column","sortType","sorts","selectionType","sortAscendingIcon","sortDescendingIcon","sortUnsetIcon","allRowsSelected","resize","longPressStart","longPressEnd","sort","select","columnContextmenu",4,"ngFor","ngForOf","ngForTrackBy"],["resizeable","","long-press","","draggable","",3,"resizeEnabled","pressModel","pressEnabled","dragX","dragY","dragModel","dragEventTarget","headerHeight","isTarget","targetMarkerTemplate","targetMarkerContext","column","sortType","sorts","selectionType","sortAscendingIcon","sortDescendingIcon","sortUnsetIcon","allRowsSelected","resize","longPressStart","longPressEnd","sort","select","columnContextmenu"]],template:function(te,Ue){1&te&&(r.TgZ(0,"div",0),r.NdJ("reorder",function(hn){return Ue.onColumnReordered(hn)})("targetChanged",function(hn){return Ue.onTargetChanged(hn)}),r.YNc(1,se,2,5,"div",1),r.qZA()),2&te&&(r.Udp("width",Ue._columnGroupWidths.total,"px"),r.xp6(1),r.Q6J("ngForOf",Ue._columnsByPin)("ngForTrackBy",Ue.trackByGroups))},directives:function(){return[Gi,a.sg,a.PC,Ra,ri,ui,zn]},encapsulation:2,changeDetection:0}),ut})();function Sn(ut,pn,te){te=te||{};let Ue,jt,hn,ii=null,Oi=0;function ki(){Oi=!1===te.leading?0:+new Date,ii=null,hn=ut.apply(Ue,jt)}return function(){const _s=+new Date;!Oi&&!1===te.leading&&(Oi=_s);const Vo=pn-(_s-Oi);return Ue=this,jt=arguments,Vo<=0?(clearTimeout(ii),ii=null,Oi=_s,hn=ut.apply(Ue,jt)):!ii&&!1!==te.trailing&&(ii=setTimeout(ki,Vo)),hn}}function $n(ut,pn){return function(Ue,jt,hn){return{configurable:!0,enumerable:hn.enumerable,get:function(){return Object.defineProperty(this,jt,{configurable:!0,enumerable:hn.enumerable,value:Sn(hn.value,ut,pn)}),this[jt]}}}}function js(ut,pn){for(const te of pn){const Ue=ut.indexOf(te);ut.splice(Ue,1)}}function ds(ut,pn=300){let te=0;for(const Ue of ut)te+=Ue.width||pn;return te}var es=(()=>{return(ut=es||(es={})).asc="asc",ut.desc="desc",es;var ut})();function ya(ut,pn){if(null==ut&&(ut=0),null==pn&&(pn=0),ut instanceof Date&&pn instanceof Date){if(ut<pn)return-1;if(ut>pn)return 1}else if(isNaN(parseFloat(ut))||!isFinite(ut)||isNaN(parseFloat(pn))||!isFinite(pn)){if(ut=String(ut),pn=String(pn),ut.toLowerCase()<pn.toLowerCase())return-1;if(ut.toLowerCase()>pn.toLowerCase())return 1}else{if(parseFloat(ut)<parseFloat(pn))return-1;if(parseFloat(ut)>parseFloat(pn))return 1}return 0}let sa=(()=>{class ut{constructor(te,Ue,jt,hn,ii,Oi,ki){this.scrollbarHelper=te,this.dimensionsHelper=Ue,this.cd=jt,this.columnChangesService=Oi,this.configuration=ki,this.selected=[],this.scrollbarV=!1,this.scrollbarH=!1,this.rowHeight=30,this.columnMode=Et.standard,this.headerHeight=30,this.footerHeight=0,this.externalPaging=!1,this.externalSorting=!1,this.loadingIndicator=!1,this.reorderable=!0,this.swapColumns=!0,this.sortType=_t.single,this.sorts=[],this.cssClasses={sortAscending:"datatable-icon-up",sortDescending:"datatable-icon-down",sortUnset:"datatable-icon-sort-unset",pagerLeftArrow:"datatable-icon-left",pagerRightArrow:"datatable-icon-right",pagerPrevious:"datatable-icon-prev",pagerNext:"datatable-icon-skip"},this.messages={emptyMessage:"No data to display",totalMessage:"total",selectedMessage:"selected"},this.groupExpansionDefault=!1,this.selectAllRowsOnPage=!1,this.virtualization=!0,this.summaryRow=!1,this.summaryHeight=30,this.summaryPosition="top",this.scroll=new r.vpe,this.activate=new r.vpe,this.select=new r.vpe,this.sort=new r.vpe,this.page=new r.vpe,this.reorder=new r.vpe,this.resize=new r.vpe,this.tableContextmenu=new r.vpe(!1),this.treeAction=new r.vpe,this.rowCount=0,this._offsetX=new e.X(0),this._count=0,this._offset=0,this._subscriptions=[],this.rowIdentity=_s=>this._groupRowsBy?_s.key:_s,this.element=hn.nativeElement,this.rowDiffer=ii.find({}).create(),this.configuration&&this.configuration.messages&&(this.messages=Object.assign({},this.configuration.messages))}set rows(te){this._rows=te,te&&(this._internalRows=[...te]),this.externalSorting||this.sortInternalRows(),this._internalRows=dt(this._internalRows,Se(this.treeFromRelation),Se(this.treeToRelation)),this.recalculate(),this._rows&&this._groupRowsBy&&(this.groupedRows=this.groupArrayBy(this._rows,this._groupRowsBy)),this.cd.markForCheck()}get rows(){return this._rows}set groupRowsBy(te){te&&(this._groupRowsBy=te,this._rows&&this._groupRowsBy&&(this.groupedRows=this.groupArrayBy(this._rows,this._groupRowsBy)))}get groupRowsBy(){return this._groupRowsBy}set columns(te){te&&(this._internalColumns=[...te],ti(this._internalColumns),this.recalculateColumns()),this._columns=te}get columns(){return this._columns}set limit(te){this._limit=te,this.recalculate()}get limit(){return this._limit}set count(te){this._count=te,this.recalculate()}get count(){return this._count}set offset(te){this._offset=te}get offset(){return Math.max(Math.min(this._offset,Math.ceil(this.rowCount/this.pageSize)-1),0)}get isFixedHeader(){const te=this.headerHeight;return"string"!=typeof te||"auto"!==te}get isFixedRow(){return"auto"!==this.rowHeight}get isVertScroll(){return this.scrollbarV}get isVirtualized(){return this.virtualization}get isHorScroll(){return this.scrollbarH}get isSelectable(){return void 0!==this.selectionType}get isCheckboxSelection(){return this.selectionType===$t.checkbox}get isCellSelection(){return this.selectionType===$t.cell}get isSingleSelection(){return this.selectionType===$t.single}get isMultiSelection(){return this.selectionType===$t.multi}get isMultiClickSelection(){return this.selectionType===$t.multiClick}set columnTemplates(te){this._columnTemplates=te,this.translateColumns(te)}get columnTemplates(){return this._columnTemplates}get allRowsSelected(){let te=this.rows&&this.selected&&this.selected.length===this.rows.length;if(this.bodyComponent&&this.selectAllRowsOnPage){const Ue=this.bodyComponent.indexes;te=this.selected.length===Ue.last-Ue.first}return this.selected&&this.rows&&0!==this.rows.length&&te}ngOnInit(){this.recalculate()}ngAfterViewInit(){this.externalSorting||this.sortInternalRows(),"undefined"!=typeof requestAnimationFrame&&requestAnimationFrame(()=>{this.recalculate(),this.externalPaging&&this.scrollbarV&&this.page.emit({count:this.count,pageSize:this.pageSize,limit:this.limit,offset:0})})}ngAfterContentInit(){this.columnTemplates.changes.subscribe(te=>this.translateColumns(te)),this.listenForColumnInputChanges()}translateColumns(te){if(te){const Ue=te.toArray();Ue.length&&(this._internalColumns=function Dn(ut){const pn=[];for(const te of ut){const Ue={},jt=Object.getOwnPropertyNames(te);for(const hn of jt)Ue[hn]=te[hn];te.headerTemplate&&(Ue.headerTemplate=te.headerTemplate),te.cellTemplate&&(Ue.cellTemplate=te.cellTemplate),te.summaryFunc&&(Ue.summaryFunc=te.summaryFunc),te.summaryTemplate&&(Ue.summaryTemplate=te.summaryTemplate),pn.push(Ue)}return pn}(Ue),ti(this._internalColumns),this.recalculateColumns(),this.sortInternalRows(),this.cd.markForCheck())}}groupArrayBy(te,Ue){const jt=new Map;return te.forEach(Oi=>{const ki=Oi[Ue];jt.has(ki)?jt.get(ki).push(Oi):jt.set(ki,[Oi])}),Array.from(jt,Oi=>((Oi,ki)=>({key:Oi,value:ki}))(Oi[0],Oi[1]))}ngDoCheck(){this.rowDiffer.diff(this.rows)&&(this.externalSorting?this._internalRows=[...this.rows]:this.sortInternalRows(),this._internalRows=dt(this._internalRows,Se(this.treeFromRelation),Se(this.treeToRelation)),this.recalculatePages(),this.cd.markForCheck())}recalculate(){this.recalculateDims(),this.recalculateColumns(),this.cd.markForCheck()}onWindowResize(){this.recalculate()}recalculateColumns(te=this._internalColumns,Ue=-1,jt=this.scrollbarH){if(!te)return;let hn=this._innerWidth;return this.scrollbarV&&(hn-=this.scrollbarHelper.width),this.columnMode===Et.force?function Ro(ut,pn,te,Ue,jt=300){const hn=ut.slice(te+1,ut.length).filter(Ks=>!1!==Ks.canAutoResize);for(const Ks of hn)Ks.$$oldWidth||(Ks.$$oldWidth=Ks.width);let ii=0,Oi=!1,ki=ds(ut,jt),_s=pn-ki;const Vo=[];do{ii=_s/hn.length,Oi=ki>=pn;for(const Ks of hn){if(Oi&&Ue)Ks.width=Ks.$$oldWidth||Ks.width||jt;else{const hl=(Ks.width||jt)+ii;Ks.minWidth&&hl<Ks.minWidth?(Ks.width=Ks.minWidth,Vo.push(Ks)):Ks.maxWidth&&hl>Ks.maxWidth?(Ks.width=Ks.maxWidth,Vo.push(Ks)):Ks.width=hl}Ks.width=Math.max(0,Ks.width)}ki=ds(ut),_s=pn-ki,js(hn,Vo)}while(_s>1&&0!==hn.length)}(te,hn,Ue,jt):this.columnMode===Et.flex&&function ro(ut,pn){const te=function Xo(ut,pn){let te=0;for(const Ue of ut)te+=pn&&Ue[pn]?Ue[pn]:Ue.width;return te}(ut),Ue=function Jr(ut){let pn=0;for(const te of ut)pn+=te.flexGrow||0;return pn}(ut),jt=lo(ut);te!==pn&&function go(ut,pn,te){for(const hn in ut)for(const ii of ut[hn])ii.canAutoResize?ii.width=0:(pn-=ii.width,te-=ii.flexGrow?ii.flexGrow:0);const Ue={};let jt=pn;do{const hn=jt/te;jt=0;for(const ii in ut)for(const Oi of ut[ii])if(Oi.canAutoResize&&!Ue[Oi.prop]){const ki=Oi.width+Oi.flexGrow*hn;void 0!==Oi.minWidth&&ki<Oi.minWidth?(jt+=ki-Oi.minWidth,Oi.width=Oi.minWidth,Ue[Oi.prop]=!0):Oi.width=ki}}while(0!==jt)}(jt,pn,Ue)}(te,hn),te}recalculateDims(){const te=this.dimensionsHelper.getDimensions(this.element);if(this._innerWidth=Math.floor(te.width),this.scrollbarV){let Ue=te.height;this.headerHeight&&(Ue-=this.headerHeight),this.footerHeight&&(Ue-=this.footerHeight),this.bodyHeight=Ue}this.recalculatePages()}recalculatePages(){this.pageSize=this.calcPageSize(),this.rowCount=this.calcRowCount()}onBodyPage({offset:te}){this.externalPaging&&!this.virtualization||(this.offset=te,this.page.emit({count:this.count,pageSize:this.pageSize,limit:this.limit,offset:this.offset}))}onBodyScroll(te){this._offsetX.next(te.offsetX),this.scroll.emit(te),this.cd.detectChanges()}onFooterPage(te){this.offset=te.page-1,this.bodyComponent.updateOffsetY(this.offset),this.page.emit({count:this.count,pageSize:this.pageSize,limit:this.limit,offset:this.offset}),this.selectAllRowsOnPage&&(this.selected=[],this.select.emit({selected:this.selected}))}calcPageSize(te=this.rows){if(this.scrollbarV&&this.virtualization){const Ue=Math.ceil(this.bodyHeight/this.rowHeight);return Math.max(Ue,0)}return void 0!==this.limit?this.limit:te?te.length:0}calcRowCount(te=this.rows){return this.externalPaging?this.count:te?this.groupedRows?this.groupedRows.length:null!=this.treeFromRelation&&null!=this.treeToRelation?this._internalRows.length:te.length:0}onColumnContextmenu({event:te,column:Ue}){this.tableContextmenu.emit({event:te,type:yt.header,content:Ue})}onRowContextmenu({event:te,row:Ue}){this.tableContextmenu.emit({event:te,type:yt.body,content:Ue})}onColumnResize({column:te,newValue:Ue}){if(void 0===te)return;let jt;const hn=this._internalColumns.map((ii,Oi)=>((ii=Object.assign({},ii)).$$id===te.$$id&&(jt=Oi,ii.width=Ue,ii.$$oldWidth=Ue),ii));this.recalculateColumns(hn,jt),this._internalColumns=hn,this.resize.emit({column:te,newValue:Ue})}onColumnReorder({column:te,newValue:Ue,prevValue:jt}){const hn=this._internalColumns.map(ii=>Object.assign({},ii));if(this.swapColumns){const ii=hn[Ue];hn[Ue]=te,hn[jt]=ii}else if(Ue>jt){const ii=hn[jt];for(let Oi=jt;Oi<Ue;Oi++)hn[Oi]=hn[Oi+1];hn[Ue]=ii}else{const ii=hn[jt];for(let Oi=jt;Oi>Ue;Oi--)hn[Oi]=hn[Oi-1];hn[Ue]=ii}this._internalColumns=hn,this.reorder.emit({column:te,newValue:Ue,prevValue:jt})}onColumnSort(te){this.selectAllRowsOnPage&&(this.selected=[],this.select.emit({selected:this.selected})),this.sorts=te.sorts,!1===this.externalSorting&&this.sortInternalRows(),this._internalRows=dt(this._internalRows,Se(this.treeFromRelation),Se(this.treeToRelation)),this.offset=0,this.bodyComponent.updateOffsetY(this.offset),this.sort.emit(te)}onHeaderSelect(te){if(this.bodyComponent&&this.selectAllRowsOnPage){const Ue=this.bodyComponent.indexes.first,jt=this.bodyComponent.indexes.last,hn=this.selected.length===jt-Ue;this.selected=[],hn||this.selected.push(...this._internalRows.slice(Ue,jt))}else{const Ue=this.selected.length===this.rows.length;this.selected=[],Ue||this.selected.push(...this.rows)}this.select.emit({selected:this.selected})}onBodySelect(te){this.select.emit(te)}onTreeAction(te){const Ue=te.row,jt=this._rows.findIndex(hn=>hn[this.treeToRelation]===te.row[this.treeToRelation]);this.treeAction.emit({row:Ue,rowIndex:jt})}ngOnDestroy(){this._subscriptions.forEach(te=>te.unsubscribe())}listenForColumnInputChanges(){this._subscriptions.push(this.columnChangesService.columnInputChanges$.subscribe(()=>{this.columnTemplates&&this.columnTemplates.notifyOnChanges()}))}sortInternalRows(){this._internalRows=function fa(ut,pn,te){if(!ut)return[];if(!te||!te.length||!pn)return[...ut];const Ue=new Map;ut.forEach((Oi,ki)=>Ue.set(Oi,ki));const jt=[...ut],hn=pn.reduce((Oi,ki)=>(ki.comparator&&"function"==typeof ki.comparator&&(Oi[ki.prop]=ki.comparator),Oi),{}),ii=te.map(Oi=>{const ki=Oi.prop;return{prop:ki,dir:Oi.dir,valueGetter:Wn(ki),compareFn:hn[ki]||ya}});return jt.sort(function(Oi,ki){for(const _s of ii){const{prop:Vo,valueGetter:Fs}=_s,Ks=Fs(Oi,Vo),hl=Fs(ki,Vo),sl=_s.dir!==es.desc?_s.compareFn(Ks,hl,Oi,ki,_s.dir):-_s.compareFn(Ks,hl,Oi,ki,_s.dir);if(0!==sl)return sl}return Ue.has(Oi)&&Ue.has(ki)?Ue.get(Oi)<Ue.get(ki)?-1:1:0})}(this._internalRows,this._internalColumns,this.sorts)}}return ut.\u0275fac=function(te){return new(te||ut)(r.Y36(Er,4),r.Y36(an,4),r.Y36(r.sBO),r.Y36(r.SBq),r.Y36(r.aQg),r.Y36(vn),r.Y36("configuration",8))},ut.\u0275cmp=r.Xpm({type:ut,selectors:[["ngx-datatable"]],contentQueries:function(te,Ue,jt){if(1&te&&(r.Suo(jt,Uo,5),r.Suo(jt,mn,5),r.Suo(jt,Qo,5),r.Suo(jt,xi,4)),2&te){let hn;r.iGM(hn=r.CRH())&&(Ue.rowDetail=hn.first),r.iGM(hn=r.CRH())&&(Ue.groupHeader=hn.first),r.iGM(hn=r.CRH())&&(Ue.footer=hn.first),r.iGM(hn=r.CRH())&&(Ue.columnTemplates=hn)}},viewQuery:function(te,Ue){if(1&te&&(r.Gf(cr,5),r.Gf(pi,5)),2&te){let jt;r.iGM(jt=r.CRH())&&(Ue.bodyComponent=jt.first),r.iGM(jt=r.CRH())&&(Ue.headerComponent=jt.first)}},hostAttrs:[1,"ngx-datatable"],hostVars:22,hostBindings:function(te,Ue){1&te&&r.NdJ("resize",function(){return Ue.onWindowResize()},!1,r.Jf7),2&te&&r.ekj("fixed-header",Ue.isFixedHeader)("fixed-row",Ue.isFixedRow)("scroll-vertical",Ue.isVertScroll)("virtualized",Ue.isVirtualized)("scroll-horz",Ue.isHorScroll)("selectable",Ue.isSelectable)("checkbox-selection",Ue.isCheckboxSelection)("cell-selection",Ue.isCellSelection)("single-selection",Ue.isSingleSelection)("multi-selection",Ue.isMultiSelection)("multi-click-selection",Ue.isMultiClickSelection)},inputs:{selected:"selected",scrollbarV:"scrollbarV",scrollbarH:"scrollbarH",rowHeight:"rowHeight",columnMode:"columnMode",headerHeight:"headerHeight",footerHeight:"footerHeight",externalPaging:"externalPaging",externalSorting:"externalSorting",loadingIndicator:"loadingIndicator",reorderable:"reorderable",swapColumns:"swapColumns",sortType:"sortType",sorts:"sorts",cssClasses:"cssClasses",messages:"messages",groupExpansionDefault:"groupExpansionDefault",selectAllRowsOnPage:"selectAllRowsOnPage",virtualization:"virtualization",summaryRow:"summaryRow",summaryHeight:"summaryHeight",summaryPosition:"summaryPosition",rowIdentity:"rowIdentity",rows:"rows",groupedRows:"groupedRows",groupRowsBy:"groupRowsBy",columns:"columns",limit:"limit",count:"count",offset:"offset",targetMarkerTemplate:"targetMarkerTemplate",selectionType:"selectionType",rowClass:"rowClass",selectCheck:"selectCheck",displayCheck:"displayCheck",trackByProp:"trackByProp",treeFromRelation:"treeFromRelation",treeToRelation:"treeToRelation"},outputs:{scroll:"scroll",activate:"activate",select:"select",sort:"sort",page:"page",reorder:"reorder",resize:"resize",tableContextmenu:"tableContextmenu",treeAction:"treeAction"},decls:5,vars:34,consts:[["visibilityObserver","",3,"visible"],[3,"sorts","sortType","scrollbarH","innerWidth","offsetX","dealsWithGroup","columns","headerHeight","reorderable","targetMarkerTemplate","sortAscendingIcon","sortDescendingIcon","sortUnsetIcon","allRowsSelected","selectionType","sort","resize","reorder","select","columnContextmenu",4,"ngIf"],[3,"groupRowsBy","groupedRows","rows","groupExpansionDefault","scrollbarV","scrollbarH","virtualization","loadingIndicator","externalPaging","rowHeight","rowCount","offset","trackByProp","columns","pageSize","offsetX","rowDetail","groupHeader","selected","innerWidth","bodyHeight","selectionType","emptyMessage","rowIdentity","rowClass","selectCheck","displayCheck","summaryRow","summaryHeight","summaryPosition","page","activate","rowContextmenu","select","scroll","treeAction"],[3,"rowCount","pageSize","offset","footerHeight","footerTemplate","totalMessage","pagerLeftArrowIcon","pagerRightArrowIcon","pagerPreviousIcon","selectedCount","selectedMessage","pagerNextIcon","page",4,"ngIf"],[3,"sorts","sortType","scrollbarH","innerWidth","offsetX","dealsWithGroup","columns","headerHeight","reorderable","targetMarkerTemplate","sortAscendingIcon","sortDescendingIcon","sortUnsetIcon","allRowsSelected","selectionType","sort","resize","reorder","select","columnContextmenu"],[3,"rowCount","pageSize","offset","footerHeight","footerTemplate","totalMessage","pagerLeftArrowIcon","pagerRightArrowIcon","pagerPreviousIcon","selectedCount","selectedMessage","pagerNextIcon","page"]],template:function(te,Ue){1&te&&(r.TgZ(0,"div",0),r.NdJ("visible",function(){return Ue.recalculate()}),r.YNc(1,ae,2,17,"datatable-header",1),r.TgZ(2,"datatable-body",2),r.NdJ("page",function(hn){return Ue.onBodyPage(hn)})("activate",function(hn){return Ue.activate.emit(hn)})("rowContextmenu",function(hn){return Ue.onRowContextmenu(hn)})("select",function(hn){return Ue.onBodySelect(hn)})("scroll",function(hn){return Ue.onBodyScroll(hn)})("treeAction",function(hn){return Ue.onTreeAction(hn)}),r.ALo(3,"async"),r.qZA(),r.YNc(4,ie,1,12,"datatable-footer",3),r.qZA()),2&te&&(r.xp6(1),r.Q6J("ngIf",Ue.headerHeight),r.xp6(1),r.Q6J("groupRowsBy",Ue.groupRowsBy)("groupedRows",Ue.groupedRows)("rows",Ue._internalRows)("groupExpansionDefault",Ue.groupExpansionDefault)("scrollbarV",Ue.scrollbarV)("scrollbarH",Ue.scrollbarH)("virtualization",Ue.virtualization)("loadingIndicator",Ue.loadingIndicator)("externalPaging",Ue.externalPaging)("rowHeight",Ue.rowHeight)("rowCount",Ue.rowCount)("offset",Ue.offset)("trackByProp",Ue.trackByProp)("columns",Ue._internalColumns)("pageSize",Ue.pageSize)("offsetX",r.lcZ(3,32,Ue._offsetX))("rowDetail",Ue.rowDetail)("groupHeader",Ue.groupHeader)("selected",Ue.selected)("innerWidth",Ue._innerWidth)("bodyHeight",Ue.bodyHeight)("selectionType",Ue.selectionType)("emptyMessage",Ue.messages.emptyMessage)("rowIdentity",Ue.rowIdentity)("rowClass",Ue.rowClass)("selectCheck",Ue.selectCheck)("displayCheck",Ue.displayCheck)("summaryRow",Ue.summaryRow)("summaryHeight",Ue.summaryHeight)("summaryPosition",Ue.summaryPosition),r.xp6(2),r.Q6J("ngIf",Ue.footerHeight))},directives:function(){return[Xn,a.O5,pi,cr,pl]},pipes:function(){return[a.Ov]},styles:[".ngx-datatable{display:block;justify-content:center;overflow:hidden;position:relative;transform:translateZ(0)}.ngx-datatable [hidden]{display:none!important}.ngx-datatable *,.ngx-datatable :after,.ngx-datatable :before{box-sizing:border-box}.ngx-datatable.scroll-vertical .datatable-body{overflow-y:auto}.ngx-datatable.scroll-vertical.virtualized .datatable-body .datatable-row-wrapper{position:absolute}.ngx-datatable.scroll-horz .datatable-body{-webkit-overflow-scrolling:touch;overflow-x:auto}.ngx-datatable.fixed-header .datatable-header .datatable-header-inner{white-space:nowrap}.ngx-datatable.fixed-header .datatable-header .datatable-header-inner .datatable-header-cell{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngx-datatable.fixed-row .datatable-scroll,.ngx-datatable.fixed-row .datatable-scroll .datatable-body-row{white-space:nowrap}.ngx-datatable.fixed-row .datatable-scroll .datatable-body-row .datatable-body-cell,.ngx-datatable.fixed-row .datatable-scroll .datatable-body-row .datatable-body-group-cell{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngx-datatable .datatable-body-row,.ngx-datatable .datatable-header-inner,.ngx-datatable .datatable-row-center{-o-flex-flow:row;display:flex;flex-direction:row;flex-flow:row}.ngx-datatable .datatable-body-cell,.ngx-datatable .datatable-header-cell{display:inline-block;line-height:1.625;overflow-x:hidden;vertical-align:top}.ngx-datatable .datatable-body-cell:focus,.ngx-datatable .datatable-header-cell:focus{outline:none}.ngx-datatable .datatable-row-left,.ngx-datatable .datatable-row-right{z-index:9}.ngx-datatable .datatable-row-center,.ngx-datatable .datatable-row-group,.ngx-datatable .datatable-row-left,.ngx-datatable .datatable-row-right{position:relative}.ngx-datatable .datatable-header{display:block;overflow:hidden}.ngx-datatable .datatable-header .datatable-header-inner{-webkit-align-items:stretch;align-items:stretch}.ngx-datatable .datatable-header .datatable-header-cell{display:inline-block;position:relative}.ngx-datatable .datatable-header .datatable-header-cell.sortable .datatable-header-cell-wrapper{cursor:pointer}.ngx-datatable .datatable-header .datatable-header-cell.longpress .datatable-header-cell-wrapper{cursor:move}.ngx-datatable .datatable-header .datatable-header-cell .sort-btn{cursor:pointer;display:inline-block;line-height:100%;vertical-align:middle}.ngx-datatable .datatable-header .datatable-header-cell .resize-handle,.ngx-datatable .datatable-header .datatable-header-cell .resize-handle--not-resizable{bottom:0;display:inline-block;padding:0 4px;position:absolute;right:0;top:0;visibility:hidden;width:5px}.ngx-datatable .datatable-header .datatable-header-cell .resize-handle{cursor:ew-resize}.ngx-datatable .datatable-header .datatable-header-cell.resizeable:hover .resize-handle,.ngx-datatable .datatable-header .datatable-header-cell:hover .resize-handle--not-resizable{visibility:visible}.ngx-datatable .datatable-header .datatable-header-cell .targetMarker{bottom:0;position:absolute;top:0}.ngx-datatable .datatable-header .datatable-header-cell .targetMarker.dragFromLeft{right:0}.ngx-datatable .datatable-header .datatable-header-cell .targetMarker.dragFromRight{left:0}.ngx-datatable .datatable-header .datatable-header-cell .datatable-header-cell-template-wrap{height:inherit}.ngx-datatable .datatable-body{display:block;position:relative;z-index:10}.ngx-datatable .datatable-body .datatable-scroll{display:inline-block}.ngx-datatable .datatable-body .datatable-row-detail{overflow-y:hidden}.ngx-datatable .datatable-body .datatable-row-wrapper{display:flex;flex-direction:column}.ngx-datatable .datatable-body .datatable-body-row{outline:none}.ngx-datatable .datatable-body .datatable-body-row>div{display:flex}.ngx-datatable .datatable-footer{display:block;overflow:auto;width:100%}.ngx-datatable .datatable-footer .datatable-footer-inner{align-items:center;display:flex;width:100%}.ngx-datatable .datatable-footer .selected-count .page-count{flex:1 1 40%}.ngx-datatable .datatable-footer .selected-count .datatable-pager{flex:1 1 60%}.ngx-datatable .datatable-footer .page-count{flex:1 1 20%}.ngx-datatable .datatable-footer .datatable-pager{flex:1 1 80%;text-align:right}.ngx-datatable .datatable-footer .datatable-pager .pager,.ngx-datatable .datatable-footer .datatable-pager .pager li{display:inline-block;list-style:none;margin:0;padding:0}.ngx-datatable .datatable-footer .datatable-pager .pager li,.ngx-datatable .datatable-footer .datatable-pager .pager li a{outline:none}.ngx-datatable .datatable-footer .datatable-pager .pager li a{cursor:pointer;display:inline-block}.ngx-datatable .datatable-footer .datatable-pager .pager li.disabled a{cursor:not-allowed}"],encapsulation:2,changeDetection:0}),(0,g.gn)([$n(5)],ut.prototype,"onWindowResize",null),ut})(),Ra=(()=>{class ut{constructor(te){this.cd=te,this.sort=new r.vpe,this.select=new r.vpe,this.columnContextmenu=new r.vpe(!1),this.sortFn=this.onSort.bind(this),this.selectFn=this.select.emit.bind(this.select),this.cellContext={column:this.column,sortDir:this.sortDir,sortFn:this.sortFn,allRowsSelected:this.allRowsSelected,selectFn:this.selectFn}}set allRowsSelected(te){this._allRowsSelected=te,this.cellContext.allRowsSelected=te}get allRowsSelected(){return this._allRowsSelected}set column(te){this._column=te,this.cellContext.column=te,this.cd.markForCheck()}get column(){return this._column}set sorts(te){this._sorts=te,this.sortDir=this.calcSortDir(te),this.cellContext.sortDir=this.sortDir,this.sortClass=this.calcSortClass(this.sortDir),this.cd.markForCheck()}get sorts(){return this._sorts}get columnCssClasses(){let te="datatable-header-cell";if(this.column.sortable&&(te+=" sortable"),this.column.resizeable&&(te+=" resizeable"),this.column.headerClass)if("string"==typeof this.column.headerClass)te+=" "+this.column.headerClass;else if("function"==typeof this.column.headerClass){const jt=this.column.headerClass({column:this.column});if("string"==typeof jt)te+=jt;else if("object"==typeof jt){const hn=Object.keys(jt);for(const ii of hn)!0===jt[ii]&&(te+=` ${ii}`)}}const Ue=this.sortDir;return Ue&&(te+=` sort-active sort-${Ue}`),te}get name(){return void 0===this.column.headerTemplate?this.column.name:void 0}get minWidth(){return this.column.minWidth}get maxWidth(){return this.column.maxWidth}get width(){return this.column.width}get isCheckboxable(){return this.column.checkboxable&&this.column.headerCheckboxable&&this.selectionType===$t.checkbox}onContextmenu(te){this.columnContextmenu.emit({event:te,column:this.column})}ngOnInit(){this.sortClass=this.calcSortClass(this.sortDir)}calcSortDir(te){if(te&&this.column){const Ue=te.find(jt=>jt.prop===this.column.prop);if(Ue)return Ue.dir}}onSort(){if(!this.column.sortable)return;const te=function ma(ut,pn){return ut===_t.single?pn===es.asc?es.desc:es.asc:pn?pn===es.asc?es.desc:void 0:es.asc}(this.sortType,this.sortDir);this.sort.emit({column:this.column,prevValue:this.sortDir,newValue:te})}calcSortClass(te){if(this.cellContext.column.sortable)return te===es.asc?`sort-btn sort-asc ${this.sortAscendingIcon}`:te===es.desc?`sort-btn sort-desc ${this.sortDescendingIcon}`:`sort-btn ${this.sortUnsetIcon}`}}return ut.\u0275fac=function(te){return new(te||ut)(r.Y36(r.sBO))},ut.\u0275cmp=r.Xpm({type:ut,selectors:[["datatable-header-cell"]],hostAttrs:[1,"datatable-header-cell"],hostVars:11,hostBindings:function(te,Ue){1&te&&r.NdJ("contextmenu",function(hn){return Ue.onContextmenu(hn)}),2&te&&(r.uIk("title",Ue.name),r.Tol(Ue.columnCssClasses),r.Udp("min-width",Ue.minWidth,"px")("max-width",Ue.maxWidth,"px")("width",Ue.width,"px")("height",Ue.headerHeight,"px"))},inputs:{allRowsSelected:"allRowsSelected",column:"column",sorts:"sorts",sortType:"sortType",sortAscendingIcon:"sortAscendingIcon",sortDescendingIcon:"sortDescendingIcon",sortUnsetIcon:"sortUnsetIcon",isTarget:"isTarget",targetMarkerTemplate:"targetMarkerTemplate",targetMarkerContext:"targetMarkerContext",selectionType:"selectionType",headerHeight:"headerHeight"},outputs:{sort:"sort",select:"select",columnContextmenu:"columnContextmenu"},decls:6,vars:6,consts:[[1,"datatable-header-cell-template-wrap"],[4,"ngIf"],["class","datatable-checkbox",4,"ngIf"],["class","datatable-header-cell-wrapper",4,"ngIf"],[3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"datatable-checkbox"],["type","checkbox",3,"checked","change"],[1,"datatable-header-cell-wrapper"],[1,"datatable-header-cell-label","draggable",3,"innerHTML","click"]],template:function(te,Ue){1&te&&(r.TgZ(0,"div",0),r.YNc(1,_e,1,2,null,1),r.YNc(2,Ce,2,1,"label",2),r.YNc(3,ce,2,1,"span",3),r.YNc(4,Ve,1,2,null,1),r.TgZ(5,"span",4),r.NdJ("click",function(){return Ue.onSort()}),r.qZA()()),2&te&&(r.xp6(1),r.Q6J("ngIf",Ue.isTarget),r.xp6(1),r.Q6J("ngIf",Ue.isCheckboxable),r.xp6(1),r.Q6J("ngIf",!Ue.column.headerTemplate),r.xp6(1),r.Q6J("ngIf",Ue.column.headerTemplate),r.xp6(1),r.Tol(Ue.sortClass))},directives:[a.O5,a.tP],encapsulation:2,changeDetection:0}),ut})(),pl=(()=>{class ut{constructor(){this.selectedCount=0,this.page=new r.vpe}get isVisible(){return this.rowCount/this.pageSize>1}get curPage(){return this.offset+1}}return ut.\u0275fac=function(te){return new(te||ut)},ut.\u0275cmp=r.Xpm({type:ut,selectors:[["datatable-footer"]],hostAttrs:[1,"datatable-footer"],inputs:{selectedCount:"selectedCount",footerHeight:"footerHeight",rowCount:"rowCount",pageSize:"pageSize",offset:"offset",pagerLeftArrowIcon:"pagerLeftArrowIcon",pagerRightArrowIcon:"pagerRightArrowIcon",pagerPreviousIcon:"pagerPreviousIcon",pagerNextIcon:"pagerNextIcon",totalMessage:"totalMessage",footerTemplate:"footerTemplate",selectedMessage:"selectedMessage"},outputs:{page:"page"},decls:4,vars:8,consts:[[1,"datatable-footer-inner",3,"ngClass"],[4,"ngIf"],["class","page-count",4,"ngIf"],[3,"pagerLeftArrowIcon","pagerRightArrowIcon","pagerPreviousIcon","pagerNextIcon","page","size","count","hidden","change",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"page-count"],[3,"pagerLeftArrowIcon","pagerRightArrowIcon","pagerPreviousIcon","pagerNextIcon","page","size","count","hidden","change"]],template:function(te,Ue){1&te&&(r.TgZ(0,"div",0),r.YNc(1,Pe,1,8,null,1),r.YNc(2,Oe,3,3,"div",2),r.YNc(3,Tt,1,8,"datatable-pager",3),r.qZA()),2&te&&(r.Udp("height",Ue.footerHeight,"px"),r.Q6J("ngClass",r.VKq(6,We,Ue.selectedMessage)),r.xp6(1),r.Q6J("ngIf",Ue.footerTemplate),r.xp6(1),r.Q6J("ngIf",!Ue.footerTemplate),r.xp6(1),r.Q6J("ngIf",!Ue.footerTemplate))},directives:function(){return[a.mk,a.O5,a.tP,Co]},encapsulation:2,changeDetection:0}),ut})(),Co=(()=>{class ut{constructor(){this.change=new r.vpe,this._count=0,this._page=1,this._size=0}set size(te){this._size=te,this.pages=this.calcPages()}get size(){return this._size}set count(te){this._count=te,this.pages=this.calcPages()}get count(){return this._count}set page(te){this._page=te,this.pages=this.calcPages()}get page(){return this._page}get totalPages(){const te=this.size<1?1:Math.ceil(this.count/this.size);return Math.max(te||0,1)}canPrevious(){return this.page>1}canNext(){return this.page<this.totalPages}prevPage(){this.selectPage(this.page-1)}nextPage(){this.selectPage(this.page+1)}selectPage(te){te>0&&te<=this.totalPages&&te!==this.page&&(this.page=te,this.change.emit({page:te}))}calcPages(te){const Ue=[];let jt=1,hn=this.totalPages;te=te||this.page,5<this.totalPages&&(jt=te-Math.floor(2.5),hn=te+Math.floor(2.5),jt<1?(jt=1,hn=Math.min(jt+5-1,this.totalPages)):hn>this.totalPages&&(jt=Math.max(this.totalPages-5+1,1),hn=this.totalPages));for(let ki=jt;ki<=hn;ki++)Ue.push({number:ki,text:ki});return Ue}}return ut.\u0275fac=function(te){return new(te||ut)},ut.\u0275cmp=r.Xpm({type:ut,selectors:[["datatable-pager"]],hostAttrs:[1,"datatable-pager"],inputs:{size:"size",count:"count",page:"page",pagerLeftArrowIcon:"pagerLeftArrowIcon",pagerRightArrowIcon:"pagerRightArrowIcon",pagerPreviousIcon:"pagerPreviousIcon",pagerNextIcon:"pagerNextIcon"},outputs:{change:"change"},decls:14,vars:21,consts:[[1,"pager"],["role","button","aria-label","go to first page","href","javascript:void(0)",3,"click"],["role","button","aria-label","go to previous page","href","javascript:void(0)",3,"click"],["role","button","class","pages",3,"active",4,"ngFor","ngForOf"],["role","button","aria-label","go to next page","href","javascript:void(0)",3,"click"],["role","button","aria-label","go to last page","href","javascript:void(0)",3,"click"],["role","button",1,"pages"],["href","javascript:void(0)",3,"click"]],template:function(te,Ue){1&te&&(r.TgZ(0,"ul",0)(1,"li")(2,"a",1),r.NdJ("click",function(){return Ue.selectPage(1)}),r._UZ(3,"i"),r.qZA()(),r.TgZ(4,"li")(5,"a",2),r.NdJ("click",function(){return Ue.prevPage()}),r._UZ(6,"i"),r.qZA()(),r.YNc(7,Qt,3,4,"li",3),r.TgZ(8,"li")(9,"a",4),r.NdJ("click",function(){return Ue.nextPage()}),r._UZ(10,"i"),r.qZA()(),r.TgZ(11,"li")(12,"a",5),r.NdJ("click",function(){return Ue.selectPage(Ue.totalPages)}),r._UZ(13,"i"),r.qZA()()()),2&te&&(r.xp6(1),r.ekj("disabled",!Ue.canPrevious()),r.xp6(2),r.Tol(Ue.pagerPreviousIcon),r.xp6(1),r.ekj("disabled",!Ue.canPrevious()),r.xp6(2),r.Tol(Ue.pagerLeftArrowIcon),r.xp6(1),r.Q6J("ngForOf",Ue.pages),r.xp6(1),r.ekj("disabled",!Ue.canNext()),r.xp6(2),r.Tol(Ue.pagerRightArrowIcon),r.xp6(1),r.ekj("disabled",!Ue.canNext()),r.xp6(2),r.Tol(Ue.pagerNextIcon))},directives:[a.sg],encapsulation:2,changeDetection:0}),ut})(),yl=(()=>{class ut{}return ut.\u0275fac=function(te){return new(te||ut)},ut.\u0275cmp=r.Xpm({type:ut,selectors:[["datatable-progress"]],decls:3,vars:0,consts:[["role","progressbar",1,"progress-linear"],[1,"container"],[1,"bar"]],template:function(te,Ue){1&te&&(r.TgZ(0,"div",0)(1,"div",1),r._UZ(2,"div",2),r.qZA()())},encapsulation:2,changeDetection:0}),ut})();var Wo=(()=>{return(ut=Wo||(Wo={}))[ut.up=38]="up",ut[ut.down=40]="down",ut[ut.return=13]="return",ut[ut.escape=27]="escape",ut[ut.left=37]="left",ut[ut.right=39]="right",Wo;var ut})();let ys=(()=>{class ut{constructor(te,Ue,jt,hn){this.differs=te,this.scrollbarHelper=Ue,this.cd=jt,this.treeStatus="collapsed",this.activate=new r.vpe,this.treeAction=new r.vpe,this._groupStyles={left:{},center:{},right:{}},this._element=hn.nativeElement,this._rowDiffer=te.find({}).create()}set columns(te){this._columns=te,this.recalculateColumns(te),this.buildStylesByGroup()}get columns(){return this._columns}set innerWidth(te){if(this._columns){const Ue=lo(this._columns);this._columnGroupWidths=Ri(Ue,this._columns)}this._innerWidth=te,this.recalculateColumns(),this.buildStylesByGroup()}get innerWidth(){return this._innerWidth}set offsetX(te){this._offsetX=te,this.buildStylesByGroup()}get offsetX(){return this._offsetX}get cssClass(){let te="datatable-body-row";if(this.isSelected&&(te+=" active"),this.rowIndex%2!=0&&(te+=" datatable-row-odd"),this.rowIndex%2==0&&(te+=" datatable-row-even"),this.rowClass){const Ue=this.rowClass(this.row);if("string"==typeof Ue)te+=` ${Ue}`;else if("object"==typeof Ue){const jt=Object.keys(Ue);for(const hn of jt)!0===Ue[hn]&&(te+=` ${hn}`)}}return te}get columnsTotalWidths(){return this._columnGroupWidths.total}ngDoCheck(){this._rowDiffer.diff(this.row)&&this.cd.markForCheck()}trackByGroups(te,Ue){return Ue.type}columnTrackingFn(te,Ue){return Ue.$$id}buildStylesByGroup(){this._groupStyles.left=this.calcStylesByGroup("left"),this._groupStyles.center=this.calcStylesByGroup("center"),this._groupStyles.right=this.calcStylesByGroup("right"),this.cd.markForCheck()}calcStylesByGroup(te){const Ue=this._columnGroupWidths,jt=this.offsetX,hn={width:`${Ue[te]}px`};if("left"===te)Or(hn,jt,0);else if("right"===te){const ii=parseInt(this.innerWidth+"",0);Or(hn,-1*(Ue.total-ii-jt+this.scrollbarHelper.width),0)}return hn}onActivate(te,Ue){te.cellIndex=Ue,te.rowElement=this._element,this.activate.emit(te)}onKeyDown(te){const Ue=te.keyCode;(Ue===Wo.return||Ue===Wo.down||Ue===Wo.up||Ue===Wo.left||Ue===Wo.right)&&te.target===this._element&&(te.preventDefault(),te.stopPropagation(),this.activate.emit({type:"keydown",event:te,row:this.row,rowElement:this._element}))}onMouseenter(te){this.activate.emit({type:"mouseenter",event:te,row:this.row,rowElement:this._element})}recalculateColumns(te=this.columns){this._columns=te;const Ue=lo(this._columns);this._columnsByPin=ir(this._columns),this._columnGroupWidths=Ri(Ue,this._columns)}onTreeAction(){this.treeAction.emit()}}return ut.\u0275fac=function(te){return new(te||ut)(r.Y36(r.aQg),r.Y36(Er,4),r.Y36(r.sBO),r.Y36(r.SBq))},ut.\u0275cmp=r.Xpm({type:ut,selectors:[["datatable-body-row"]],hostVars:6,hostBindings:function(te,Ue){1&te&&r.NdJ("keydown",function(hn){return Ue.onKeyDown(hn)})("mouseenter",function(hn){return Ue.onMouseenter(hn)}),2&te&&(r.Tol(Ue.cssClass),r.Udp("width",Ue.columnsTotalWidths,"px")("height",Ue.rowHeight,"px"))},inputs:{treeStatus:"treeStatus",columns:"columns",innerWidth:"innerWidth",offsetX:"offsetX",expanded:"expanded",rowClass:"rowClass",row:"row",group:"group",isSelected:"isSelected",rowIndex:"rowIndex",displayCheck:"displayCheck",rowHeight:"rowHeight"},outputs:{activate:"activate",treeAction:"treeAction"},decls:1,vars:2,consts:[[3,"class","ngStyle",4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngStyle"],["tabindex","-1",3,"row","group","expanded","isSelected","rowIndex","column","rowHeight","displayCheck","treeStatus","activate","treeAction",4,"ngFor","ngForOf","ngForTrackBy"],["tabindex","-1",3,"row","group","expanded","isSelected","rowIndex","column","rowHeight","displayCheck","treeStatus","activate","treeAction"]],template:function(te,Ue){1&te&&r.YNc(0,Yt,2,6,"div",0),2&te&&r.Q6J("ngForOf",Ue._columnsByPin)("ngForTrackBy",Ue.trackByGroups)},directives:function(){return[a.sg,a.PC,Is]},encapsulation:2,changeDetection:0}),ut})(),Wa=(()=>{class ut{constructor(te,Ue){this.cd=te,this.differs=Ue,this.rowContextmenu=new r.vpe(!1),this.groupContext={group:this.row,expanded:this.expanded,rowIndex:this.rowIndex},this.rowContext={row:this.row,expanded:this.expanded,rowIndex:this.rowIndex},this._expanded=!1,this.rowDiffer=Ue.find({}).create()}set rowIndex(te){this._rowIndex=te,this.rowContext.rowIndex=te,this.groupContext.rowIndex=te,this.cd.markForCheck()}get rowIndex(){return this._rowIndex}set expanded(te){this._expanded=te,this.groupContext.expanded=te,this.rowContext.expanded=te,this.cd.markForCheck()}get expanded(){return this._expanded}ngDoCheck(){this.rowDiffer.diff(this.row)&&(this.rowContext.row=this.row,this.groupContext.group=this.row,this.cd.markForCheck())}onContextmenu(te){this.rowContextmenu.emit({event:te,row:this.row})}getGroupHeaderStyle(){const te={};return te.transform="translate3d("+this.offsetX+"px, 0px, 0px)",te["backface-visibility"]="hidden",te.width=this.innerWidth,te}}return ut.\u0275fac=function(te){return new(te||ut)(r.Y36(r.sBO),r.Y36(r.aQg))},ut.\u0275cmp=r.Xpm({type:ut,selectors:[["datatable-row-wrapper"]],hostAttrs:[1,"datatable-row-wrapper"],hostBindings:function(te,Ue){1&te&&r.NdJ("contextmenu",function(hn){return Ue.onContextmenu(hn)})},inputs:{rowIndex:"rowIndex",expanded:"expanded",innerWidth:"innerWidth",rowDetail:"rowDetail",groupHeader:"groupHeader",offsetX:"offsetX",detailRowHeight:"detailRowHeight",row:"row",groupedRows:"groupedRows"},outputs:{rowContextmenu:"rowContextmenu"},ngContentSelectors:T,decls:3,vars:3,consts:[["class","datatable-group-header",3,"ngStyle",4,"ngIf"],[4,"ngIf"],["class","datatable-row-detail",3,"height",4,"ngIf"],[1,"datatable-group-header",3,"ngStyle"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"datatable-row-detail"]],template:function(te,Ue){1&te&&(r.F$t(),r.YNc(0,vt,2,2,"div",0),r.YNc(1,xt,1,0,"ng-content",1),r.YNc(2,Fn,2,3,"div",2)),2&te&&(r.Q6J("ngIf",Ue.groupHeader&&Ue.groupHeader.template),r.xp6(1),r.Q6J("ngIf",Ue.groupHeader&&Ue.groupHeader.template&&Ue.expanded||!Ue.groupHeader||!Ue.groupHeader.template),r.xp6(1),r.Q6J("ngIf",Ue.rowDetail&&Ue.rowDetail.template&&Ue.expanded))},directives:[a.O5,a.PC,a.tP],encapsulation:2,changeDetection:0}),ut})(),Is=(()=>{class ut{constructor(te,Ue){this.cd=Ue,this.activate=new r.vpe,this.treeAction=new r.vpe,this.isFocused=!1,this.onCheckboxChangeFn=this.onCheckboxChange.bind(this),this.activateFn=this.activate.emit.bind(this.activate),this.cellContext={onCheckboxChangeFn:this.onCheckboxChangeFn,activateFn:this.activateFn,row:this.row,group:this.group,value:this.value,column:this.column,rowHeight:this.rowHeight,isSelected:this.isSelected,rowIndex:this.rowIndex,treeStatus:this.treeStatus,onTreeAction:this.onTreeAction.bind(this)},this._element=te.nativeElement}set group(te){this._group=te,this.cellContext.group=te,this.checkValueUpdates(),this.cd.markForCheck()}get group(){return this._group}set rowHeight(te){this._rowHeight=te,this.cellContext.rowHeight=te,this.checkValueUpdates(),this.cd.markForCheck()}get rowHeight(){return this._rowHeight}set isSelected(te){this._isSelected=te,this.cellContext.isSelected=te,this.cd.markForCheck()}get isSelected(){return this._isSelected}set expanded(te){this._expanded=te,this.cellContext.expanded=te,this.cd.markForCheck()}get expanded(){return this._expanded}set rowIndex(te){this._rowIndex=te,this.cellContext.rowIndex=te,this.checkValueUpdates(),this.cd.markForCheck()}get rowIndex(){return this._rowIndex}set column(te){this._column=te,this.cellContext.column=te,this.checkValueUpdates(),this.cd.markForCheck()}get column(){return this._column}set row(te){this._row=te,this.cellContext.row=te,this.checkValueUpdates(),this.cd.markForCheck()}get row(){return this._row}set sorts(te){this._sorts=te,this.calcSortDir=this.calcSortDir(te)}get sorts(){return this._sorts}set treeStatus(te){this._treeStatus="collapsed"!==te&&"expanded"!==te&&"loading"!==te&&"disabled"!==te?"collapsed":te,this.cellContext.treeStatus=this._treeStatus,this.checkValueUpdates(),this.cd.markForCheck()}get treeStatus(){return this._treeStatus}get columnCssClasses(){let te="datatable-body-cell";if(this.column.cellClass)if("string"==typeof this.column.cellClass)te+=" "+this.column.cellClass;else if("function"==typeof this.column.cellClass){const Ue=this.column.cellClass({row:this.row,group:this.group,column:this.column,value:this.value,rowHeight:this.rowHeight});if("string"==typeof Ue)te+=" "+Ue;else if("object"==typeof Ue){const jt=Object.keys(Ue);for(const hn of jt)!0===Ue[hn]&&(te+=` ${hn}`)}}return this.sortDir||(te+=" sort-active"),this.isFocused&&(te+=" active"),this.sortDir===es.asc&&(te+=" sort-asc"),this.sortDir===es.desc&&(te+=" sort-desc"),te}get width(){return this.column.width}get minWidth(){return this.column.minWidth}get maxWidth(){return this.column.maxWidth}get height(){const te=this.rowHeight;return isNaN(te)?te:te+"px"}ngDoCheck(){this.checkValueUpdates()}ngOnDestroy(){this.cellTemplate&&this.cellTemplate.clear()}checkValueUpdates(){let te="";if(this.row&&this.column){const Ue=this.column.$$valueGetter(this.row,this.column.prop),jt=this.column.pipe;jt?te=jt.transform(Ue):void 0!==te&&(te=Ue)}else te="";this.value!==te&&(this.value=te,this.cellContext.value=te,this.sanitizedValue=null!=te?this.stripHtml(te):te,this.cd.markForCheck())}onFocus(){this.isFocused=!0}onBlur(){this.isFocused=!1}onClick(te){this.activate.emit({type:"click",event:te,row:this.row,group:this.group,rowHeight:this.rowHeight,column:this.column,value:this.value,cellElement:this._element})}onDblClick(te){this.activate.emit({type:"dblclick",event:te,row:this.row,group:this.group,rowHeight:this.rowHeight,column:this.column,value:this.value,cellElement:this._element})}onKeyDown(te){const Ue=te.keyCode;(Ue===Wo.return||Ue===Wo.down||Ue===Wo.up||Ue===Wo.left||Ue===Wo.right)&&te.target===this._element&&(te.preventDefault(),te.stopPropagation(),this.activate.emit({type:"keydown",event:te,row:this.row,group:this.group,rowHeight:this.rowHeight,column:this.column,value:this.value,cellElement:this._element}))}onCheckboxChange(te){this.activate.emit({type:"checkbox",event:te,row:this.row,group:this.group,rowHeight:this.rowHeight,column:this.column,value:this.value,cellElement:this._element,treeStatus:"collapsed"})}calcSortDir(te){if(!te)return;const Ue=te.find(jt=>jt.prop===this.column.prop);return Ue?Ue.dir:void 0}stripHtml(te){return te.replace?te.replace(/<\/?[^>]+(>|$)/g,""):te}onTreeAction(){this.treeAction.emit(this.row)}calcLeftMargin(te,Ue){return te.isTreeColumn?Ue.level*(null!=te.treeLevelIndent?te.treeLevelIndent:50):0}}return ut.\u0275fac=function(te){return new(te||ut)(r.Y36(r.SBq),r.Y36(r.sBO))},ut.\u0275cmp=r.Xpm({type:ut,selectors:[["datatable-body-cell"]],viewQuery:function(te,Ue){if(1&te&&r.Gf(pr,7,r.s_b),2&te){let jt;r.iGM(jt=r.CRH())&&(Ue.cellTemplate=jt.first)}},hostVars:10,hostBindings:function(te,Ue){1&te&&r.NdJ("focus",function(){return Ue.onFocus()})("blur",function(){return Ue.onBlur()})("click",function(hn){return Ue.onClick(hn)})("dblclick",function(hn){return Ue.onDblClick(hn)})("keydown",function(hn){return Ue.onKeyDown(hn)}),2&te&&(r.Tol(Ue.columnCssClasses),r.Udp("width",Ue.width,"px")("min-width",Ue.minWidth,"px")("max-width",Ue.maxWidth,"px")("height",Ue.height))},inputs:{group:"group",rowHeight:"rowHeight",isSelected:"isSelected",expanded:"expanded",rowIndex:"rowIndex",column:"column",row:"row",sorts:"sorts",treeStatus:"treeStatus",displayCheck:"displayCheck"},outputs:{activate:"activate",treeAction:"treeAction"},decls:5,vars:6,consts:[[1,"datatable-body-cell-label"],["class","datatable-checkbox",4,"ngIf"],[4,"ngIf"],[3,"title","innerHTML",4,"ngIf"],[1,"datatable-checkbox"],["type","checkbox",3,"checked","click"],["class","datatable-tree-button",3,"disabled","click",4,"ngIf"],[1,"datatable-tree-button",3,"disabled","click"],["class","icon datatable-icon-collapse",4,"ngIf"],["class","icon datatable-icon-up",4,"ngIf"],["class","icon datatable-icon-down",4,"ngIf"],[1,"icon","datatable-icon-collapse"],[1,"icon","datatable-icon-up"],[1,"icon","datatable-icon-down"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"title","innerHTML"],["cellTemplate",""]],template:function(te,Ue){1&te&&(r.TgZ(0,"div",0),r.YNc(1,mi,2,1,"label",1),r.YNc(2,ei,3,2,"ng-container",2),r.YNc(3,bi,1,2,"span",3),r.YNc(4,no,2,2,null,2),r.qZA()),2&te&&(r.Udp("margin-left",Ue.calcLeftMargin(Ue.column,Ue.row),"px"),r.xp6(1),r.Q6J("ngIf",Ue.column.checkboxable&&(!Ue.displayCheck||Ue.displayCheck(Ue.row,Ue.column,Ue.value))),r.xp6(1),r.Q6J("ngIf",Ue.column.isTreeColumn),r.xp6(1),r.Q6J("ngIf",!Ue.column.cellTemplate),r.xp6(1),r.Q6J("ngIf",Ue.column.cellTemplate))},directives:[a.O5,a.tP],encapsulation:2,changeDetection:0}),ut})();function nl(ut,pn,te){const Ue=te(pn,ut);return Ue>-1?ut.splice(Ue,1):ut.push(pn),ut}let $o=(()=>{class ut{constructor(){this.activate=new r.vpe,this.select=new r.vpe}selectRow(te,Ue,jt){if(!this.selectEnabled)return;const hn=this.selectionType===$t.checkbox,Oi=this.selectionType===$t.multiClick;let ki=[];ki=this.selectionType===$t.multi||hn||Oi?te.shiftKey?function Gs(ut,pn,te,Ue,jt){const hn=te<Ue;for(let ii=0;ii<pn.length;ii++){const Oi=pn[ii],ki=ii>=Ue&&ii<=te,_s=ii<=Ue&&ii>=te;let Vo={start:0,end:0};Vo=hn?{start:te,end:Ue}:{start:Ue,end:te+1},(hn&&_s||!hn&&ki)&&ii>=Vo.start&&ii<=Vo.end&&ut.push(Oi)}return ut}([],this.rows,Ue,this.prevIndex,this.getRowSelectedIdx.bind(this)):nl(te.ctrlKey||te.metaKey||Oi||hn?[...this.selected]:[],jt,this.getRowSelectedIdx.bind(this)):nl([],jt,this.getRowSelectedIdx.bind(this)),"function"==typeof this.selectCheck&&(ki=ki.filter(this.selectCheck.bind(this))),this.selected.splice(0,this.selected.length),this.selected.push(...ki),this.prevIndex=Ue,this.select.emit({selected:ki})}onActivate(te,Ue){const{type:jt,event:hn,row:ii}=te,Oi=this.selectionType===$t.checkbox;!Oi&&("click"===jt||"dblclick"===jt)||Oi&&"checkbox"===jt?this.selectRow(hn,Ue,ii):"keydown"===jt&&(hn.keyCode===Wo.return?this.selectRow(hn,Ue,ii):this.onKeyboardFocus(te)),this.activate.emit(te)}onKeyboardFocus(te){const{keyCode:Ue}=te.event;if(Ue===Wo.up||Ue===Wo.down||Ue===Wo.right||Ue===Wo.left){const hn=this.selectionType===$t.cell;te.cellElement&&hn?hn&&this.focusCell(te.cellElement,te.rowElement,Ue,te.cellIndex):this.focusRow(te.rowElement,Ue)}}focusRow(te,Ue){const jt=this.getPrevNextRow(te,Ue);jt&&jt.focus()}getPrevNextRow(te,Ue){const jt=te.parentElement;if(jt){let hn;if(Ue===Wo.up?hn=jt.previousElementSibling:Ue===Wo.down&&(hn=jt.nextElementSibling),hn&&hn.children.length)return hn.children[0]}}focusCell(te,Ue,jt,hn){let ii;if(jt===Wo.left)ii=te.previousElementSibling;else if(jt===Wo.right)ii=te.nextElementSibling;else if(jt===Wo.up||jt===Wo.down){const Oi=this.getPrevNextRow(Ue,jt);if(Oi){const ki=Oi.getElementsByClassName("datatable-body-cell");ki.length&&(ii=ki[hn])}}ii&&ii.focus()}getRowSelected(te){return this.getRowSelectedIdx(te,this.selected)>-1}getRowSelectedIdx(te,Ue){if(!Ue||!Ue.length)return-1;const jt=this.rowIdentity(te);return Ue.findIndex(hn=>this.rowIdentity(hn)===jt)}}return ut.\u0275fac=function(te){return new(te||ut)},ut.\u0275cmp=r.Xpm({type:ut,selectors:[["datatable-selection"]],inputs:{rows:"rows",selected:"selected",selectEnabled:"selectEnabled",selectionType:"selectionType",rowIdentity:"rowIdentity",selectCheck:"selectCheck"},outputs:{activate:"activate",select:"select"},ngContentSelectors:T,decls:1,vars:0,template:function(te,Ue){1&te&&(r.F$t(),r.Hsn(0))},encapsulation:2,changeDetection:0}),ut})();function To(ut){const pn=ut.filter(te=>!!te);return!pn.length||pn.some(te=>"number"!=typeof te)?null:pn.reduce((te,Ue)=>te+Ue)}function Ns(ut){return null}let hs=(()=>{class ut{constructor(){this.summaryRow={}}ngOnChanges(){!this.columns||!this.rows||(this.updateInternalColumns(),this.updateValues())}updateInternalColumns(){this._internalColumns=this.columns.map(te=>Object.assign(Object.assign({},te),{cellTemplate:te.summaryTemplate}))}updateValues(){this.summaryRow={},this.columns.filter(te=>!te.summaryTemplate).forEach(te=>{const Ue=this.rows.map(hn=>hn[te.prop]),jt=this.getSummaryFunction(te);this.summaryRow[te.prop]=te.pipe?te.pipe.transform(jt(Ue)):jt(Ue)})}getSummaryFunction(te){return void 0===te.summaryFunc?To:null===te.summaryFunc?Ns:te.summaryFunc}}return ut.\u0275fac=function(te){return new(te||ut)},ut.\u0275cmp=r.Xpm({type:ut,selectors:[["datatable-summary-row"]],hostAttrs:[1,"datatable-summary-row"],inputs:{rows:"rows",columns:"columns",rowHeight:"rowHeight",offsetX:"offsetX",innerWidth:"innerWidth"},features:[r.TTD],decls:1,vars:1,consts:[["tabindex","-1",3,"innerWidth","offsetX","columns","rowHeight","row","rowIndex",4,"ngIf"],["tabindex","-1",3,"innerWidth","offsetX","columns","rowHeight","row","rowIndex"]],template:function(te,Ue){1&te&&r.YNc(0,xo,1,6,"datatable-body-row",0),2&te&&r.Q6J("ngIf",Ue.summaryRow&&Ue._internalColumns)},directives:[a.O5,ys],encapsulation:2}),ut})(),Oo=(()=>{class ut{static forRoot(te){return{ngModule:ut,providers:[{provide:"configuration",useValue:te}]}}}return ut.\u0275fac=function(te){return new(te||ut)},ut.\u0275mod=r.oAB({type:ut}),ut.\u0275inj=r.cJS({providers:[Er,an,vn],imports:[[a.ez]]}),ut})();"undefined"!=typeof document&&!document.elementsFromPoint&&(document.elementsFromPoint=function Ki(ut,pn){const te=[],Ue=[];let jt,hn,ii;for(;(jt=document.elementFromPoint(ut,pn))&&-1===te.indexOf(jt)&&null!=jt;)te.push(jt),Ue.push({value:jt.style.getPropertyValue("pointer-events"),priority:jt.style.getPropertyPriority("pointer-events")}),jt.style.setProperty("pointer-events","none","important");for(hn=Ue.length;ii=Ue[--hn];)te[hn].style.setProperty("pointer-events",ii.value?ii.value:"",ii.priority);return te})},67506:v=>{"use strict";function b(a,f,u){a instanceof RegExp&&(a=i(a,u)),f instanceof RegExp&&(f=i(f,u));var e=r(a,f,u);return e&&{start:e[0],end:e[1],pre:u.slice(0,e[0]),body:u.slice(e[0]+a.length,e[1]),post:u.slice(e[1]+f.length)}}function i(a,f){var u=f.match(a);return u?u[0]:null}function r(a,f,u){var e,p,g,T,M,w=u.indexOf(a),R=u.indexOf(f,w+1),U=w;if(w>=0&&R>0){if(a===f)return[w,R];for(e=[],g=u.length;U>=0&&!M;)U==w?(e.push(U),w=u.indexOf(a,U+1)):1==e.length?M=[e.pop(),R]:((p=e.pop())<g&&(g=p,T=R),R=u.indexOf(f,U+1)),U=w<R&&w>=0?w:R;e.length&&(M=[g,T])}return M}v.exports=b,b.range=r},96434:(v,b)=>{"use strict";b.byteLength=function g(W){var j=p(W),ue=j[1];return 3*(j[0]+ue)/4-ue},b.toByteArray=function M(W){var j,ie,q=p(W),ue=q[0],re=q[1],H=new a(function T(W,j,q){return 3*(j+q)/4-q}(0,ue,re)),se=0,ae=re>0?ue-4:ue;for(ie=0;ie<ae;ie+=4)j=r[W.charCodeAt(ie)]<<18|r[W.charCodeAt(ie+1)]<<12|r[W.charCodeAt(ie+2)]<<6|r[W.charCodeAt(ie+3)],H[se++]=j>>16&255,H[se++]=j>>8&255,H[se++]=255&j;return 2===re&&(j=r[W.charCodeAt(ie)]<<2|r[W.charCodeAt(ie+1)]>>4,H[se++]=255&j),1===re&&(j=r[W.charCodeAt(ie)]<<10|r[W.charCodeAt(ie+1)]<<4|r[W.charCodeAt(ie+2)]>>2,H[se++]=j>>8&255,H[se++]=255&j),H},b.fromByteArray=function U(W){for(var j,q=W.length,ue=q%3,re=[],H=16383,se=0,ae=q-ue;se<ae;se+=H)re.push(R(W,se,se+H>ae?ae:se+H));return 1===ue?re.push(i[(j=W[q-1])>>2]+i[j<<4&63]+"=="):2===ue&&re.push(i[(j=(W[q-2]<<8)+W[q-1])>>10]+i[j>>4&63]+i[j<<2&63]+"="),re.join("")};for(var i=[],r=[],a="undefined"!=typeof Uint8Array?Uint8Array:Array,f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=0,e=f.length;u<e;++u)i[u]=f[u],r[f.charCodeAt(u)]=u;function p(W){var j=W.length;if(j%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var q=W.indexOf("=");return-1===q&&(q=j),[q,q===j?0:4-q%4]}function w(W){return i[W>>18&63]+i[W>>12&63]+i[W>>6&63]+i[63&W]}function R(W,j,q){for(var re=[],H=j;H<q;H+=3)re.push(w((W[H]<<16&16711680)+(W[H+1]<<8&65280)+(255&W[H+2])));return re.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},33512:(v,b,i)=>{var r=i(2665),a=i(67506);v.exports=function U(se){return se?("{}"===se.substr(0,2)&&(se="\\{\\}"+se.substr(2)),H(function M(se){return se.split("\\\\").join(f).split("\\{").join(u).split("\\}").join(e).split("\\,").join(p).split("\\.").join(g)}(se),!0).map(w)):[]};var f="\0SLASH"+Math.random()+"\0",u="\0OPEN"+Math.random()+"\0",e="\0CLOSE"+Math.random()+"\0",p="\0COMMA"+Math.random()+"\0",g="\0PERIOD"+Math.random()+"\0";function T(se){return parseInt(se,10)==se?parseInt(se,10):se.charCodeAt(0)}function w(se){return se.split(f).join("\\").split(u).join("{").split(e).join("}").split(p).join(",").split(g).join(".")}function R(se){if(!se)return[""];var ae=[],ie=a("{","}",se);if(!ie)return se.split(",");var _e=ie.body,Ce=ie.post,ce=ie.pre.split(",");ce[ce.length-1]+="{"+_e+"}";var Be=R(Ce);return Ce.length&&(ce[ce.length-1]+=Be.shift(),ce.push.apply(ce,Be)),ae.push.apply(ae,ce),ae}function j(se){return"{"+se+"}"}function q(se){return/^-?0\d/.test(se)}function ue(se,ae){return se<=ae}function re(se,ae){return se>=ae}function H(se,ae){var ie=[],fe=a("{","}",se);if(!fe||/\$$/.test(fe.pre))return[se];var Ve,_e=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(fe.body),Ce=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(fe.body),ce=_e||Ce,Be=fe.body.indexOf(",")>=0;if(!ce&&!Be)return fe.post.match(/,.*\}/)?H(se=fe.pre+"{"+fe.body+e+fe.post):[se];if(ce)Ve=fe.body.split(/\.\./);else if(1===(Ve=R(fe.body)).length&&1===(Ve=H(Ve[0],!1).map(j)).length)return(He=fe.post.length?H(fe.post,!1):[""]).map(function(mi){return fe.pre+Ve[0]+mi});var Pe,Xe=fe.pre,He=fe.post.length?H(fe.post,!1):[""];if(ce){var Ge=T(Ve[0]),Oe=T(Ve[1]),Tt=Math.max(Ve[0].length,Ve[1].length),We=3==Ve.length?Math.abs(T(Ve[2])):1,Qt=ue;Oe<Ge&&(We*=-1,Qt=re);var Yt=Ve.some(q);Pe=[];for(var dn=Ge;Qt(dn,Oe);dn+=We){var rn;if(Ce)"\\"===(rn=String.fromCharCode(dn))&&(rn="");else if(rn=String(dn),Yt){var vt=Tt-rn.length;if(vt>0){var xt=new Array(vt+1).join("0");rn=dn<0?"-"+xt+rn.slice(1):xt+rn}}Pe.push(rn)}}else Pe=r(Ve,function(pr){return H(pr,!1)});for(var Ct=0;Ct<Pe.length;Ct++)for(var Gt=0;Gt<He.length;Gt++){var Fn=Xe+Pe[Ct]+He[Gt];(!ae||ce||Fn)&&ie.push(Fn)}return ie}},19568:(v,b,i)=>{"use strict";var r=i(18540),a=i(60044),f=a(r("String.prototype.indexOf"));v.exports=function(e,p){var g=r(e,!!p);return"function"==typeof g&&f(e,".prototype.")>-1?a(g):g}},60044:(v,b,i)=>{"use strict";var r=i(75396),a=i(18540),f=a("%Function.prototype.apply%"),u=a("%Function.prototype.call%"),e=a("%Reflect.apply%",!0)||r.call(u,f),p=a("%Object.getOwnPropertyDescriptor%",!0),g=a("%Object.defineProperty%",!0),T=a("%Math.max%");if(g)try{g({},"a",{value:1})}catch(w){g=null}v.exports=function(R){var U=e(r,u,arguments);if(p&&g){var W=p(U,"length");W.configurable&&g(U,"length",{value:1+T(0,R.length-(arguments.length-1))})}return U};var M=function(){return e(r,f,arguments)};g?g(v.exports,"apply",{value:M}):v.exports.apply=M},72318:v=>{var b=!("undefined"==typeof window||!window.document||!window.document.createElement);v.exports=b},6823:function(v,b,i){v.exports=function(r){"use strict";r=r&&r.hasOwnProperty("default")?r.default:r;var u={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},e=function a(h,E){return h(E={exports:{}},E.exports),E.exports}(function(h){var E={};for(var P in u)u.hasOwnProperty(P)&&(E[u[P]]=P);var L=h.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var X in L)if(L.hasOwnProperty(X)){if(!("channels"in L[X]))throw new Error("missing channels property: "+X);if(!("labels"in L[X]))throw new Error("missing channel labels property: "+X);if(L[X].labels.length!==L[X].channels)throw new Error("channel and label counts mismatch: "+X);var de=L[X].channels,ve=L[X].labels;delete L[X].channels,delete L[X].labels,Object.defineProperty(L[X],"channels",{value:de}),Object.defineProperty(L[X],"labels",{value:ve})}function Ye(xe,nt){return Math.pow(xe[0]-nt[0],2)+Math.pow(xe[1]-nt[1],2)+Math.pow(xe[2]-nt[2],2)}L.rgb.hsl=function(xe){var fr,Ui,nt=xe[0]/255,St=xe[1]/255,Mt=xe[2]/255,fn=Math.min(nt,St,Mt),jn=Math.max(nt,St,Mt),Vn=jn-fn;return jn===fn?fr=0:nt===jn?fr=(St-Mt)/Vn:St===jn?fr=2+(Mt-nt)/Vn:Mt===jn&&(fr=4+(nt-St)/Vn),(fr=Math.min(60*fr,360))<0&&(fr+=360),Ui=(fn+jn)/2,[fr,100*(jn===fn?0:Ui<=.5?Vn/(jn+fn):Vn/(2-jn-fn)),100*Ui]},L.rgb.hsv=function(xe){var nt,St,Mt,fn,jn,Vn=xe[0]/255,fr=xe[1]/255,$r=xe[2]/255,Ui=Math.max(Vn,fr,$r),is=Ui-Math.min(Vn,fr,$r),yo=function(Zs){return(Ui-Zs)/6/is+.5};return 0===is?fn=jn=0:(jn=is/Ui,nt=yo(Vn),St=yo(fr),Mt=yo($r),Vn===Ui?fn=Mt-St:fr===Ui?fn=1/3+nt-Mt:$r===Ui&&(fn=2/3+St-nt),fn<0?fn+=1:fn>1&&(fn-=1)),[360*fn,100*jn,100*Ui]},L.rgb.hwb=function(xe){var nt=xe[0],St=xe[1],Mt=xe[2];return[L.rgb.hsl(xe)[0],1/255*Math.min(nt,Math.min(St,Mt))*100,100*(Mt=1-1/255*Math.max(nt,Math.max(St,Mt)))]},L.rgb.cmyk=function(xe){var fr,nt=xe[0]/255,St=xe[1]/255,Mt=xe[2]/255;return[100*((1-nt-(fr=Math.min(1-nt,1-St,1-Mt)))/(1-fr)||0),100*((1-St-fr)/(1-fr)||0),100*((1-Mt-fr)/(1-fr)||0),100*fr]},L.rgb.keyword=function(xe){var nt=E[xe];if(nt)return nt;var Mt,St=1/0;for(var fn in u)if(u.hasOwnProperty(fn)){var Vn=Ye(xe,u[fn]);Vn<St&&(St=Vn,Mt=fn)}return Mt},L.keyword.rgb=function(xe){return u[xe]},L.rgb.xyz=function(xe){var nt=xe[0]/255,St=xe[1]/255,Mt=xe[2]/255;return[100*(.4124*(nt=nt>.04045?Math.pow((nt+.055)/1.055,2.4):nt/12.92)+.3576*(St=St>.04045?Math.pow((St+.055)/1.055,2.4):St/12.92)+.1805*(Mt=Mt>.04045?Math.pow((Mt+.055)/1.055,2.4):Mt/12.92)),100*(.2126*nt+.7152*St+.0722*Mt),100*(.0193*nt+.1192*St+.9505*Mt)]},L.rgb.lab=function(xe){var nt=L.rgb.xyz(xe),St=nt[0],Mt=nt[1],fn=nt[2];return Mt/=100,fn/=108.883,St=(St/=95.047)>.008856?Math.pow(St,1/3):7.787*St+16/116,[116*(Mt=Mt>.008856?Math.pow(Mt,1/3):7.787*Mt+16/116)-16,500*(St-Mt),200*(Mt-(fn=fn>.008856?Math.pow(fn,1/3):7.787*fn+16/116))]},L.hsl.rgb=function(xe){var fn,jn,Vn,fr,$r,nt=xe[0]/360,St=xe[1]/100,Mt=xe[2]/100;if(0===St)return[$r=255*Mt,$r,$r];fn=2*Mt-(jn=Mt<.5?Mt*(1+St):Mt+St-Mt*St),fr=[0,0,0];for(var Ui=0;Ui<3;Ui++)(Vn=nt+1/3*-(Ui-1))<0&&Vn++,Vn>1&&Vn--,fr[Ui]=255*($r=6*Vn<1?fn+6*(jn-fn)*Vn:2*Vn<1?jn:3*Vn<2?fn+(jn-fn)*(2/3-Vn)*6:fn);return fr},L.hsl.hsv=function(xe){var nt=xe[0],St=xe[1]/100,Mt=xe[2]/100,fn=St,jn=Math.max(Mt,.01);return St*=(Mt*=2)<=1?Mt:2-Mt,fn*=jn<=1?jn:2-jn,[nt,100*(0===Mt?2*fn/(jn+fn):2*St/(Mt+St)),(Mt+St)/2*100]},L.hsv.rgb=function(xe){var nt=xe[0]/60,St=xe[1]/100,Mt=xe[2]/100,fn=Math.floor(nt)%6,jn=nt-Math.floor(nt),Vn=255*Mt*(1-St),fr=255*Mt*(1-St*jn),$r=255*Mt*(1-St*(1-jn));switch(Mt*=255,fn){case 0:return[Mt,$r,Vn];case 1:return[fr,Mt,Vn];case 2:return[Vn,Mt,$r];case 3:return[Vn,fr,Mt];case 4:return[$r,Vn,Mt];case 5:return[Mt,Vn,fr]}},L.hsv.hsl=function(xe){var jn,Vn,fr,nt=xe[0],St=xe[1]/100,Mt=xe[2]/100,fn=Math.max(Mt,.01);return fr=(2-St)*Mt,Vn=St*fn,[nt,100*(Vn=(Vn/=(jn=(2-St)*fn)<=1?jn:2-jn)||0),100*(fr/=2)]},L.hwb.rgb=function(xe){var jn,Vn,fr,$r,Ui,is,yo,nt=xe[0]/360,St=xe[1]/100,Mt=xe[2]/100,fn=St+Mt;switch(fn>1&&(St/=fn,Mt/=fn),fr=6*nt-(jn=Math.floor(6*nt)),0!=(1&jn)&&(fr=1-fr),$r=St+fr*((Vn=1-Mt)-St),jn){default:case 6:case 0:Ui=Vn,is=$r,yo=St;break;case 1:Ui=$r,is=Vn,yo=St;break;case 2:Ui=St,is=Vn,yo=$r;break;case 3:Ui=St,is=$r,yo=Vn;break;case 4:Ui=$r,is=St,yo=Vn;break;case 5:Ui=Vn,is=St,yo=$r}return[255*Ui,255*is,255*yo]},L.cmyk.rgb=function(xe){var St=xe[1]/100,Mt=xe[2]/100,fn=xe[3]/100;return[255*(1-Math.min(1,xe[0]/100*(1-fn)+fn)),255*(1-Math.min(1,St*(1-fn)+fn)),255*(1-Math.min(1,Mt*(1-fn)+fn))]},L.xyz.rgb=function(xe){var fn,jn,Vn,nt=xe[0]/100,St=xe[1]/100,Mt=xe[2]/100;return jn=-.9689*nt+1.8758*St+.0415*Mt,Vn=.0557*nt+-.204*St+1.057*Mt,fn=(fn=3.2406*nt+-1.5372*St+-.4986*Mt)>.0031308?1.055*Math.pow(fn,1/2.4)-.055:12.92*fn,jn=jn>.0031308?1.055*Math.pow(jn,1/2.4)-.055:12.92*jn,Vn=Vn>.0031308?1.055*Math.pow(Vn,1/2.4)-.055:12.92*Vn,[255*(fn=Math.min(Math.max(0,fn),1)),255*(jn=Math.min(Math.max(0,jn),1)),255*(Vn=Math.min(Math.max(0,Vn),1))]},L.xyz.lab=function(xe){var nt=xe[0],St=xe[1],Mt=xe[2];return St/=100,Mt/=108.883,nt=(nt/=95.047)>.008856?Math.pow(nt,1/3):7.787*nt+16/116,[116*(St=St>.008856?Math.pow(St,1/3):7.787*St+16/116)-16,500*(nt-St),200*(St-(Mt=Mt>.008856?Math.pow(Mt,1/3):7.787*Mt+16/116))]},L.lab.xyz=function(xe){var fn,jn,Vn;fn=xe[1]/500+(jn=(xe[0]+16)/116),Vn=jn-xe[2]/200;var fr=Math.pow(jn,3),$r=Math.pow(fn,3),Ui=Math.pow(Vn,3);return jn=fr>.008856?fr:(jn-16/116)/7.787,fn=$r>.008856?$r:(fn-16/116)/7.787,Vn=Ui>.008856?Ui:(Vn-16/116)/7.787,[fn*=95.047,jn*=100,Vn*=108.883]},L.lab.lch=function(xe){var jn,nt=xe[0],St=xe[1],Mt=xe[2];return(jn=360*Math.atan2(Mt,St)/2/Math.PI)<0&&(jn+=360),[nt,Math.sqrt(St*St+Mt*Mt),jn]},L.lch.lab=function(xe){var Vn,St=xe[1];return Vn=xe[2]/360*2*Math.PI,[xe[0],St*Math.cos(Vn),St*Math.sin(Vn)]},L.rgb.ansi16=function(xe){var nt=xe[0],St=xe[1],Mt=xe[2],fn=1 in arguments?arguments[1]:L.rgb.hsv(xe)[2];if(0===(fn=Math.round(fn/50)))return 30;var jn=30+(Math.round(Mt/255)<<2|Math.round(St/255)<<1|Math.round(nt/255));return 2===fn&&(jn+=60),jn},L.hsv.ansi16=function(xe){return L.rgb.ansi16(L.hsv.rgb(xe),xe[2])},L.rgb.ansi256=function(xe){var nt=xe[0],St=xe[1],Mt=xe[2];return nt===St&&St===Mt?nt<8?16:nt>248?231:Math.round((nt-8)/247*24)+232:16+36*Math.round(nt/255*5)+6*Math.round(St/255*5)+Math.round(Mt/255*5)},L.ansi16.rgb=function(xe){var nt=xe%10;if(0===nt||7===nt)return xe>50&&(nt+=3.5),[nt=nt/10.5*255,nt,nt];var St=.5*(1+~~(xe>50));return[(1&nt)*St*255,(nt>>1&1)*St*255,(nt>>2&1)*St*255]},L.ansi256.rgb=function(xe){if(xe>=232){var nt=10*(xe-232)+8;return[nt,nt,nt]}var St;return xe-=16,[Math.floor(xe/36)/5*255,Math.floor((St=xe%36)/6)/5*255,St%6/5*255]},L.rgb.hex=function(xe){var St=(((255&Math.round(xe[0]))<<16)+((255&Math.round(xe[1]))<<8)+(255&Math.round(xe[2]))).toString(16).toUpperCase();return"000000".substring(St.length)+St},L.hex.rgb=function(xe){var nt=xe.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!nt)return[0,0,0];var St=nt[0];3===nt[0].length&&(St=St.split("").map(function(fr){return fr+fr}).join(""));var Mt=parseInt(St,16);return[Mt>>16&255,Mt>>8&255,255&Mt]},L.rgb.hcg=function(xe){var $r,nt=xe[0]/255,St=xe[1]/255,Mt=xe[2]/255,fn=Math.max(Math.max(nt,St),Mt),jn=Math.min(Math.min(nt,St),Mt),Vn=fn-jn;return $r=Vn<=0?0:fn===nt?(St-Mt)/Vn%6:fn===St?2+(Mt-nt)/Vn:4+(nt-St)/Vn+4,$r/=6,[360*($r%=1),100*Vn,100*(Vn<1?jn/(1-Vn):0)]},L.hsl.hcg=function(xe){var Mt,nt=xe[1]/100,St=xe[2]/100,fn=0;return(Mt=St<.5?2*nt*St:2*nt*(1-St))<1&&(fn=(St-.5*Mt)/(1-Mt)),[xe[0],100*Mt,100*fn]},L.hsv.hcg=function(xe){var St=xe[2]/100,Mt=xe[1]/100*St,fn=0;return Mt<1&&(fn=(St-Mt)/(1-Mt)),[xe[0],100*Mt,100*fn]},L.hcg.rgb=function(xe){var St=xe[1]/100,Mt=xe[2]/100;if(0===St)return[255*Mt,255*Mt,255*Mt];var $r,fn=[0,0,0],jn=xe[0]/360%1*6,Vn=jn%1,fr=1-Vn;switch(Math.floor(jn)){case 0:fn[0]=1,fn[1]=Vn,fn[2]=0;break;case 1:fn[0]=fr,fn[1]=1,fn[2]=0;break;case 2:fn[0]=0,fn[1]=1,fn[2]=Vn;break;case 3:fn[0]=0,fn[1]=fr,fn[2]=1;break;case 4:fn[0]=Vn,fn[1]=0,fn[2]=1;break;default:fn[0]=1,fn[1]=0,fn[2]=fr}return[255*(St*fn[0]+($r=(1-St)*Mt)),255*(St*fn[1]+$r),255*(St*fn[2]+$r)]},L.hcg.hsv=function(xe){var nt=xe[1]/100,Mt=nt+xe[2]/100*(1-nt),fn=0;return Mt>0&&(fn=nt/Mt),[xe[0],100*fn,100*Mt]},L.hcg.hsl=function(xe){var nt=xe[1]/100,Mt=xe[2]/100*(1-nt)+.5*nt,fn=0;return Mt>0&&Mt<.5?fn=nt/(2*Mt):Mt>=.5&&Mt<1&&(fn=nt/(2*(1-Mt))),[xe[0],100*fn,100*Mt]},L.hcg.hwb=function(xe){var nt=xe[1]/100,Mt=nt+xe[2]/100*(1-nt);return[xe[0],100*(Mt-nt),100*(1-Mt)]},L.hwb.hcg=function(xe){var Mt=1-xe[2]/100,fn=Mt-xe[1]/100,jn=0;return fn<1&&(jn=(Mt-fn)/(1-fn)),[xe[0],100*fn,100*jn]},L.apple.rgb=function(xe){return[xe[0]/65535*255,xe[1]/65535*255,xe[2]/65535*255]},L.rgb.apple=function(xe){return[xe[0]/255*65535,xe[1]/255*65535,xe[2]/255*65535]},L.gray.rgb=function(xe){return[xe[0]/100*255,xe[0]/100*255,xe[0]/100*255]},L.gray.hsl=L.gray.hsv=function(xe){return[0,0,xe[0]]},L.gray.hwb=function(xe){return[0,100,xe[0]]},L.gray.cmyk=function(xe){return[0,0,0,xe[0]]},L.gray.lab=function(xe){return[xe[0],0,0]},L.gray.hex=function(xe){var nt=255&Math.round(xe[0]/100*255),Mt=((nt<<16)+(nt<<8)+nt).toString(16).toUpperCase();return"000000".substring(Mt.length)+Mt},L.rgb.gray=function(xe){return[(xe[0]+xe[1]+xe[2])/3/255*100]}});function fe(h){var E=function ie(){for(var h={},E=Object.keys(e),P=E.length,L=0;L<P;L++)h[E[L]]={distance:-1,parent:null};return h}(),P=[h];for(E[h].distance=0;P.length;)for(var L=P.pop(),X=Object.keys(e[L]),de=X.length,ve=0;ve<de;ve++){var Ye=X[ve],xe=E[Ye];-1===xe.distance&&(xe.distance=E[L].distance+1,xe.parent=L,P.unshift(Ye))}return E}function _e(h,E){return function(P){return E(h(P))}}function Ce(h,E){for(var P=[E[h].parent,h],L=e[E[h].parent][h],X=E[h].parent;E[X].parent;)P.unshift(E[X].parent),L=_e(e[E[X].parent][X],L),X=E[X].parent;return L.conversion=P,L}var Be={};Object.keys(e).forEach(function(h){Be[h]={},Object.defineProperty(Be[h],"channels",{value:e[h].channels}),Object.defineProperty(Be[h],"labels",{value:e[h].labels});var E=function(h){for(var E=fe(h),P={},L=Object.keys(E),X=L.length,de=0;de<X;de++){var ve=L[de];null!==E[ve].parent&&(P[ve]=Ce(ve,E))}return P}(h);Object.keys(E).forEach(function(L){var X=E[L];Be[h][L]=function He(h){var E=function(P){if(null==P)return P;arguments.length>1&&(P=Array.prototype.slice.call(arguments));var L=h(P);if("object"==typeof L)for(var X=L.length,de=0;de<X;de++)L[de]=Math.round(L[de]);return L};return"conversion"in h&&(E.conversion=h.conversion),E}(X),Be[h][L].raw=function Xe(h){var E=function(P){return null==P?P:(arguments.length>1&&(P=Array.prototype.slice.call(arguments)),h(P))};return"conversion"in h&&(E.conversion=h.conversion),E}(X)})});var Pe=Be,Ge={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Oe={getRgba:Tt,getHsla:We,getRgb:function Nt(h){var E=Tt(h);return E&&E.slice(0,3)},getHsl:function Yt(h){var E=We(h);return E&&E.slice(0,3)},getHwb:Qt,getAlpha:function dn(h){var E=Tt(h);return E||(E=We(h))||(E=Qt(h))?E[3]:void 0},hexString:function rn(h,P){return P=void 0!==P&&3===h.length?P:h[3],"#"+Br(h[0])+Br(h[1])+Br(h[2])+(P>=0&&P<1?Br(Math.round(255*P)):"")},rgbString:function vt(h,E){return E<1||h[3]&&h[3]<1?xt(h,E):"rgb("+h[0]+", "+h[1]+", "+h[2]+")"},rgbaString:xt,percentString:function Ct(h,E){return E<1||h[3]&&h[3]<1?Gt(h,E):"rgb("+Math.round(h[0]/255*100)+"%, "+Math.round(h[1]/255*100)+"%, "+Math.round(h[2]/255*100)+"%)"},percentaString:Gt,hslString:function Fn(h,E){return E<1||h[3]&&h[3]<1?pr(h,E):"hsl("+h[0]+", "+h[1]+"%, "+h[2]+"%)"},hslaString:pr,hwbString:function mi(h,E){return void 0===E&&(E=void 0!==h[3]?h[3]:1),"hwb("+h[0]+", "+h[1]+"%, "+h[2]+"%"+(void 0!==E&&1!==E?", "+E:"")+")"},keyword:function ci(h){return Ur[h.slice(0,3)]}};function Tt(h){if(h){var ve=[0,0,0],Ye=1,xe=h.match(/^#([a-fA-F0-9]{3,4})$/i),nt="";if(xe){nt=(xe=xe[1])[3];for(var St=0;St<ve.length;St++)ve[St]=parseInt(xe[St]+xe[St],16);nt&&(Ye=Math.round(parseInt(nt+nt,16)/255*100)/100)}else if(xe=h.match(/^#([a-fA-F0-9]{6}([a-fA-F0-9]{2})?)$/i)){for(nt=xe[2],xe=xe[1],St=0;St<ve.length;St++)ve[St]=parseInt(xe.slice(2*St,2*St+2),16);nt&&(Ye=Math.round(parseInt(nt,16)/255*100)/100)}else if(xe=h.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(St=0;St<ve.length;St++)ve[St]=parseInt(xe[St+1]);Ye=parseFloat(xe[4])}else if(xe=h.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(St=0;St<ve.length;St++)ve[St]=Math.round(2.55*parseFloat(xe[St+1]));Ye=parseFloat(xe[4])}else if(xe=h.match(/(\w+)/)){if("transparent"==xe[1])return[0,0,0,0];if(!(ve=Ge[xe[1]]))return}for(St=0;St<ve.length;St++)ve[St]=hr(ve[St],0,255);return Ye=Ye||0==Ye?hr(Ye,0,1):1,ve[3]=Ye,ve}}function We(h){if(h){var P=h.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(P){var L=parseFloat(P[4]);return[hr(parseInt(P[1]),0,360),hr(parseFloat(P[2]),0,100),hr(parseFloat(P[3]),0,100),hr(isNaN(L)?1:L,0,1)]}}}function Qt(h){if(h){var P=h.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(P){var L=parseFloat(P[4]);return[hr(parseInt(P[1]),0,360),hr(parseFloat(P[2]),0,100),hr(parseFloat(P[3]),0,100),hr(isNaN(L)?1:L,0,1)]}}}function xt(h,E){return void 0===E&&(E=void 0!==h[3]?h[3]:1),"rgba("+h[0]+", "+h[1]+", "+h[2]+", "+E+")"}function Gt(h,E){return"rgba("+Math.round(h[0]/255*100)+"%, "+Math.round(h[1]/255*100)+"%, "+Math.round(h[2]/255*100)+"%, "+(E||h[3]||1)+")"}function pr(h,E){return void 0===E&&(E=void 0!==h[3]?h[3]:1),"hsla("+h[0]+", "+h[1]+"%, "+h[2]+"%, "+E+")"}function hr(h,E,P){return Math.min(Math.max(E,h),P)}function Br(h){var E=h.toString(16).toUpperCase();return E.length<2?"0"+E:E}var Ur={};for(var Hn in Ge)Ur[Ge[Hn]]=Hn;var er=function(h){return h instanceof er?h:this instanceof er?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof h?(E=Oe.getRgba(h))?this.setValues("rgb",E):(E=Oe.getHsla(h))?this.setValues("hsl",E):(E=Oe.getHwb(h))&&this.setValues("hwb",E):"object"==typeof h&&(void 0!==(E=h).r||void 0!==E.red?this.setValues("rgb",E):void 0!==E.l||void 0!==E.lightness?this.setValues("hsl",E):void 0!==E.v||void 0!==E.value?this.setValues("hsv",E):void 0!==E.w||void 0!==E.whiteness?this.setValues("hwb",E):(void 0!==E.c||void 0!==E.cyan)&&this.setValues("cmyk",E)))):new er(h);var E};er.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var h=this.values;return 1!==h.alpha?h.hwb.concat([h.alpha]):h.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var h=this.values;return h.rgb.concat([h.alpha])},hslaArray:function(){var h=this.values;return h.hsl.concat([h.alpha])},alpha:function(h){return void 0===h?this.values.alpha:(this.setValues("alpha",h),this)},red:function(h){return this.setChannel("rgb",0,h)},green:function(h){return this.setChannel("rgb",1,h)},blue:function(h){return this.setChannel("rgb",2,h)},hue:function(h){return h&&(h=(h%=360)<0?360+h:h),this.setChannel("hsl",0,h)},saturation:function(h){return this.setChannel("hsl",1,h)},lightness:function(h){return this.setChannel("hsl",2,h)},saturationv:function(h){return this.setChannel("hsv",1,h)},whiteness:function(h){return this.setChannel("hwb",1,h)},blackness:function(h){return this.setChannel("hwb",2,h)},value:function(h){return this.setChannel("hsv",2,h)},cyan:function(h){return this.setChannel("cmyk",0,h)},magenta:function(h){return this.setChannel("cmyk",1,h)},yellow:function(h){return this.setChannel("cmyk",2,h)},black:function(h){return this.setChannel("cmyk",3,h)},hexString:function(){return Oe.hexString(this.values.rgb)},rgbString:function(){return Oe.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return Oe.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return Oe.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return Oe.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return Oe.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return Oe.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return Oe.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var h=this.values.rgb;return h[0]<<16|h[1]<<8|h[2]},luminosity:function(){for(var h=this.values.rgb,E=[],P=0;P<h.length;P++){var L=h[P]/255;E[P]=L<=.03928?L/12.92:Math.pow((L+.055)/1.055,2.4)}return.2126*E[0]+.7152*E[1]+.0722*E[2]},contrast:function(h){var E=this.luminosity(),P=h.luminosity();return E>P?(E+.05)/(P+.05):(P+.05)/(E+.05)},level:function(h){var E=this.contrast(h);return E>=7.1?"AAA":E>=4.5?"AA":""},dark:function(){var h=this.values.rgb;return(299*h[0]+587*h[1]+114*h[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var h=[],E=0;E<3;E++)h[E]=255-this.values.rgb[E];return this.setValues("rgb",h),this},lighten:function(h){var E=this.values.hsl;return E[2]+=E[2]*h,this.setValues("hsl",E),this},darken:function(h){var E=this.values.hsl;return E[2]-=E[2]*h,this.setValues("hsl",E),this},saturate:function(h){var E=this.values.hsl;return E[1]+=E[1]*h,this.setValues("hsl",E),this},desaturate:function(h){var E=this.values.hsl;return E[1]-=E[1]*h,this.setValues("hsl",E),this},whiten:function(h){var E=this.values.hwb;return E[1]+=E[1]*h,this.setValues("hwb",E),this},blacken:function(h){var E=this.values.hwb;return E[2]+=E[2]*h,this.setValues("hwb",E),this},greyscale:function(){var h=this.values.rgb,E=.3*h[0]+.59*h[1]+.11*h[2];return this.setValues("rgb",[E,E,E]),this},clearer:function(h){var E=this.values.alpha;return this.setValues("alpha",E-E*h),this},opaquer:function(h){var E=this.values.alpha;return this.setValues("alpha",E+E*h),this},rotate:function(h){var E=this.values.hsl,P=(E[0]+h)%360;return E[0]=P<0?360+P:P,this.setValues("hsl",E),this},mix:function(h,E){var P=this,L=h,X=void 0===E?.5:E,de=2*X-1,ve=P.alpha()-L.alpha(),Ye=((de*ve==-1?de:(de+ve)/(1+de*ve))+1)/2,xe=1-Ye;return this.rgb(Ye*P.red()+xe*L.red(),Ye*P.green()+xe*L.green(),Ye*P.blue()+xe*L.blue()).alpha(P.alpha()*X+L.alpha()*(1-X))},toJSON:function(){return this.rgb()},clone:function(){var L,X,h=new er,E=this.values,P=h.values;for(var de in E)E.hasOwnProperty(de)&&("[object Array]"===(X={}.toString.call(L=E[de]))?P[de]=L.slice(0):"[object Number]"===X?P[de]=L:console.error("unexpected color value:",L));return h}},er.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},er.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},er.prototype.getValues=function(h){for(var E=this.values,P={},L=0;L<h.length;L++)P[h.charAt(L)]=E[h][L];return 1!==E.alpha&&(P.a=E.alpha),P},er.prototype.setValues=function(h,E){var ve,xe,P=this.values,L=this.spaces,X=this.maxes,de=1;if(this.valid=!0,"alpha"===h)de=E;else if(E.length)P[h]=E.slice(0,h.length),de=E[h.length];else if(void 0!==E[h.charAt(0)]){for(ve=0;ve<h.length;ve++)P[h][ve]=E[h.charAt(ve)];de=E.a}else if(void 0!==E[L[h][0]]){var Ye=L[h];for(ve=0;ve<h.length;ve++)P[h][ve]=E[Ye[ve]];de=E.alpha}if(P.alpha=Math.max(0,Math.min(1,void 0===de?P.alpha:de)),"alpha"===h)return!1;for(ve=0;ve<h.length;ve++)xe=Math.max(0,Math.min(X[h][ve],P[h][ve])),P[h][ve]=Math.round(xe);for(var nt in L)nt!==h&&(P[nt]=Pe[h][nt](P[h]));return!0},er.prototype.setSpace=function(h,E){var P=E[0];return void 0===P?this.getValues(h):("number"==typeof P&&(P=Array.prototype.slice.call(E)),this.setValues(h,P),this)},er.prototype.setChannel=function(h,E,P){var L=this.values[h];return void 0===P?L[E]:(P===L[E]||(L[E]=P,this.setValues(h,L)),this)},"undefined"!=typeof window&&(window.Color=er);var _r=er;function ei(h){return-1===["__proto__","prototype","constructor"].indexOf(h)}var h,bi={noop:function(){},uid:(h=0,function(){return h++}),isNullOrUndef:function(h){return null==h},isArray:function(h){if(Array.isArray&&Array.isArray(h))return!0;var E=Object.prototype.toString.call(h);return"[object"===E.substr(0,7)&&"Array]"===E.substr(-6)},isObject:function(h){return null!==h&&"[object Object]"===Object.prototype.toString.call(h)},isFinite:function(h){return("number"==typeof h||h instanceof Number)&&isFinite(h)},valueOrDefault:function(h,E){return void 0===h?E:h},valueAtIndexOrDefault:function(h,E,P){return bi.valueOrDefault(bi.isArray(h)?h[E]:h,P)},callback:function(h,E,P){if(h&&"function"==typeof h.call)return h.apply(P,E)},each:function(h,E,P,L){var X,de,ve;if(bi.isArray(h))if(de=h.length,L)for(X=de-1;X>=0;X--)E.call(P,h[X],X);else for(X=0;X<de;X++)E.call(P,h[X],X);else if(bi.isObject(h))for(de=(ve=Object.keys(h)).length,X=0;X<de;X++)E.call(P,h[ve[X]],ve[X])},arrayEquals:function(h,E){var P,L,X,de;if(!h||!E||h.length!==E.length)return!1;for(P=0,L=h.length;P<L;++P)if(de=E[P],(X=h[P])instanceof Array&&de instanceof Array){if(!bi.arrayEquals(X,de))return!1}else if(X!==de)return!1;return!0},clone:function(h){if(bi.isArray(h))return h.map(bi.clone);if(bi.isObject(h)){for(var E=Object.create(h),P=Object.keys(h),L=P.length,X=0;X<L;++X)E[P[X]]=bi.clone(h[P[X]]);return E}return h},_merger:function(h,E,P,L){if(ei(h)){var X=E[h],de=P[h];bi.isObject(X)&&bi.isObject(de)?bi.merge(X,de,L):E[h]=bi.clone(de)}},_mergerIf:function(h,E,P){if(ei(h)){var L=E[h],X=P[h];bi.isObject(L)&&bi.isObject(X)?bi.mergeIf(L,X):E.hasOwnProperty(h)||(E[h]=bi.clone(X))}},merge:function(h,E,P){var de,ve,Ye,xe,nt,L=bi.isArray(E)?E:[E],X=L.length;if(!bi.isObject(h))return h;for(de=(P=P||{}).merger||bi._merger,ve=0;ve<X;++ve)if(bi.isObject(E=L[ve]))for(nt=0,xe=(Ye=Object.keys(E)).length;nt<xe;++nt)de(Ye[nt],h,E,P);return h},mergeIf:function(h,E){return bi.merge(h,E,{merger:bi._mergerIf})},extend:Object.assign||function(h){return bi.merge(h,[].slice.call(arguments,1),{merger:function(E,P,L){P[E]=L[E]}})},inherits:function(h){var E=this,P=h&&h.hasOwnProperty("constructor")?h.constructor:function(){return E.apply(this,arguments)},L=function(){this.constructor=P};return L.prototype=E.prototype,P.prototype=new L,P.extend=bi.inherits,h&&bi.extend(P.prototype,h),P.__super__=E.prototype,P},_deprecated:function(h,E,P,L){void 0!==E&&console.warn(h+': "'+P+'" is deprecated. Please use "'+L+'" instead')}},fi=bi;bi.callCallback=bi.callback,bi.indexOf=function(h,E,P){return Array.prototype.indexOf.call(h,E,P)},bi.getValueOrDefault=bi.valueOrDefault,bi.getValueAtIndexOrDefault=bi.valueAtIndexOrDefault;var no={linear:function(h){return h},easeInQuad:function(h){return h*h},easeOutQuad:function(h){return-h*(h-2)},easeInOutQuad:function(h){return(h/=.5)<1?.5*h*h:-.5*(--h*(h-2)-1)},easeInCubic:function(h){return h*h*h},easeOutCubic:function(h){return(h-=1)*h*h+1},easeInOutCubic:function(h){return(h/=.5)<1?.5*h*h*h:.5*((h-=2)*h*h+2)},easeInQuart:function(h){return h*h*h*h},easeOutQuart:function(h){return-((h-=1)*h*h*h-1)},easeInOutQuart:function(h){return(h/=.5)<1?.5*h*h*h*h:-.5*((h-=2)*h*h*h-2)},easeInQuint:function(h){return h*h*h*h*h},easeOutQuint:function(h){return(h-=1)*h*h*h*h+1},easeInOutQuint:function(h){return(h/=.5)<1?.5*h*h*h*h*h:.5*((h-=2)*h*h*h*h+2)},easeInSine:function(h){return 1-Math.cos(h*(Math.PI/2))},easeOutSine:function(h){return Math.sin(h*(Math.PI/2))},easeInOutSine:function(h){return-.5*(Math.cos(Math.PI*h)-1)},easeInExpo:function(h){return 0===h?0:Math.pow(2,10*(h-1))},easeOutExpo:function(h){return 1===h?1:1-Math.pow(2,-10*h)},easeInOutExpo:function(h){return 0===h?0:1===h?1:(h/=.5)<1?.5*Math.pow(2,10*(h-1)):.5*(2-Math.pow(2,-10*--h))},easeInCirc:function(h){return h>=1?h:-(Math.sqrt(1-h*h)-1)},easeOutCirc:function(h){return Math.sqrt(1-(h-=1)*h)},easeInOutCirc:function(h){return(h/=.5)<1?-.5*(Math.sqrt(1-h*h)-1):.5*(Math.sqrt(1-(h-=2)*h)+1)},easeInElastic:function(h){var E=1.70158,P=0,L=1;return 0===h?0:1===h?1:(P||(P=.3),L<1?(L=1,E=P/4):E=P/(2*Math.PI)*Math.asin(1/L),-L*Math.pow(2,10*(h-=1))*Math.sin((h-E)*(2*Math.PI)/P))},easeOutElastic:function(h){var E=1.70158,P=0,L=1;return 0===h?0:1===h?1:(P||(P=.3),L<1?(L=1,E=P/4):E=P/(2*Math.PI)*Math.asin(1/L),L*Math.pow(2,-10*h)*Math.sin((h-E)*(2*Math.PI)/P)+1)},easeInOutElastic:function(h){var E=1.70158,P=0,L=1;return 0===h?0:2==(h/=.5)?1:(P||(P=.45),L<1?(L=1,E=P/4):E=P/(2*Math.PI)*Math.asin(1/L),h<1?L*Math.pow(2,10*(h-=1))*Math.sin((h-E)*(2*Math.PI)/P)*-.5:L*Math.pow(2,-10*(h-=1))*Math.sin((h-E)*(2*Math.PI)/P)*.5+1)},easeInBack:function(h){var E=1.70158;return h*h*((E+1)*h-E)},easeOutBack:function(h){var E=1.70158;return(h-=1)*h*((E+1)*h+E)+1},easeInOutBack:function(h){var E=1.70158;return(h/=.5)<1?h*h*((1+(E*=1.525))*h-E)*.5:.5*((h-=2)*h*((1+(E*=1.525))*h+E)+2)},easeInBounce:function(h){return 1-no.easeOutBounce(1-h)},easeOutBounce:function(h){return h<1/2.75?7.5625*h*h:h<2/2.75?7.5625*(h-=1.5/2.75)*h+.75:h<2.5/2.75?7.5625*(h-=2.25/2.75)*h+.9375:7.5625*(h-=2.625/2.75)*h+.984375},easeInOutBounce:function(h){return h<.5?.5*no.easeInBounce(2*h):.5*no.easeOutBounce(2*h-1)+.5}},xo={effects:no};fi.easingEffects=no;var Er=Math.PI,an=Er/180,vn=2*Er,Zn=Er/2,Xn=Er/4,zn=2*Er/3,ri={clear:function(h){h.ctx.clearRect(0,0,h.width,h.height)},roundedRect:function(h,E,P,L,X,de){if(de){var ve=Math.min(de,X/2,L/2),Ye=E+ve,xe=P+ve,nt=E+L-ve,St=P+X-ve;h.moveTo(E,xe),Ye<nt&&xe<St?(h.arc(Ye,xe,ve,-Er,-Zn),h.arc(nt,xe,ve,-Zn,0),h.arc(nt,St,ve,0,Zn),h.arc(Ye,St,ve,Zn,Er)):Ye<nt?(h.moveTo(Ye,P),h.arc(nt,xe,ve,-Zn,Zn),h.arc(Ye,xe,ve,Zn,Er+Zn)):xe<St?(h.arc(Ye,xe,ve,-Er,0),h.arc(Ye,St,ve,0,Er)):h.arc(Ye,xe,ve,-Er,Er),h.closePath(),h.moveTo(E,P)}else h.rect(E,P,L,X)},drawPoint:function(h,E,P,L,X,de){var ve,Ye,xe,nt,St,Mt=(de||0)*an;if(E&&"object"==typeof E&&("[object HTMLImageElement]"===(ve=E.toString())||"[object HTMLCanvasElement]"===ve))return h.save(),h.translate(L,X),h.rotate(Mt),h.drawImage(E,-E.width/2,-E.height/2,E.width,E.height),void h.restore();if(!(isNaN(P)||P<=0)){switch(h.beginPath(),E){default:h.arc(L,X,P,0,vn),h.closePath();break;case"triangle":h.moveTo(L+Math.sin(Mt)*P,X-Math.cos(Mt)*P),Mt+=zn,h.lineTo(L+Math.sin(Mt)*P,X-Math.cos(Mt)*P),Mt+=zn,h.lineTo(L+Math.sin(Mt)*P,X-Math.cos(Mt)*P),h.closePath();break;case"rectRounded":nt=P-(St=.516*P),Ye=Math.cos(Mt+Xn)*nt,xe=Math.sin(Mt+Xn)*nt,h.arc(L-Ye,X-xe,St,Mt-Er,Mt-Zn),h.arc(L+xe,X-Ye,St,Mt-Zn,Mt),h.arc(L+Ye,X+xe,St,Mt,Mt+Zn),h.arc(L-xe,X+Ye,St,Mt+Zn,Mt+Er),h.closePath();break;case"rect":if(!de){nt=Math.SQRT1_2*P,h.rect(L-nt,X-nt,2*nt,2*nt);break}Mt+=Xn;case"rectRot":Ye=Math.cos(Mt)*P,xe=Math.sin(Mt)*P,h.moveTo(L-Ye,X-xe),h.lineTo(L+xe,X-Ye),h.lineTo(L+Ye,X+xe),h.lineTo(L-xe,X+Ye),h.closePath();break;case"crossRot":Mt+=Xn;case"cross":Ye=Math.cos(Mt)*P,xe=Math.sin(Mt)*P,h.moveTo(L-Ye,X-xe),h.lineTo(L+Ye,X+xe),h.moveTo(L+xe,X-Ye),h.lineTo(L-xe,X+Ye);break;case"star":Ye=Math.cos(Mt)*P,xe=Math.sin(Mt)*P,h.moveTo(L-Ye,X-xe),h.lineTo(L+Ye,X+xe),h.moveTo(L+xe,X-Ye),h.lineTo(L-xe,X+Ye),Mt+=Xn,Ye=Math.cos(Mt)*P,xe=Math.sin(Mt)*P,h.moveTo(L-Ye,X-xe),h.lineTo(L+Ye,X+xe),h.moveTo(L+xe,X-Ye),h.lineTo(L-xe,X+Ye);break;case"line":Ye=Math.cos(Mt)*P,xe=Math.sin(Mt)*P,h.moveTo(L-Ye,X-xe),h.lineTo(L+Ye,X+xe);break;case"dash":h.moveTo(L,X),h.lineTo(L+Math.cos(Mt)*P,X+Math.sin(Mt)*P)}h.fill(),h.stroke()}},_isPointInArea:function(h,E){var P=1e-6;return h.x>E.left-P&&h.x<E.right+P&&h.y>E.top-P&&h.y<E.bottom+P},clipArea:function(h,E){h.save(),h.beginPath(),h.rect(E.left,E.top,E.right-E.left,E.bottom-E.top),h.clip()},unclipArea:function(h){h.restore()},lineTo:function(h,E,P,L){var X=P.steppedLine;if(X){if("middle"===X){var de=(E.x+P.x)/2;h.lineTo(de,L?P.y:E.y),h.lineTo(de,L?E.y:P.y)}else"after"===X&&!L||"after"!==X&&L?h.lineTo(E.x,P.y):h.lineTo(P.x,E.y);h.lineTo(P.x,P.y)}else P.tension?h.bezierCurveTo(L?E.controlPointPreviousX:E.controlPointNextX,L?E.controlPointPreviousY:E.controlPointNextY,L?P.controlPointNextX:P.controlPointPreviousX,L?P.controlPointNextY:P.controlPointPreviousY,P.x,P.y):h.lineTo(P.x,P.y)}},Gi=ri;fi.clear=ri.clear,fi.drawRoundedRectangle=function(h){h.beginPath(),ri.roundedRect.apply(ri,arguments)};var ui={_set:function(h,E){return fi.merge(this[h]||(this[h]={}),E)}};ui._set("global",{defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",defaultLineHeight:1.2,showLines:!0});var vr=ui,Ji=fi.valueOrDefault;var Rn={toLineHeight:function(h,E){var P=(""+h).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!P||"normal"===P[1])return 1.2*E;switch(h=+P[2],P[3]){case"px":return h;case"%":h/=100}return E*h},toPadding:function(h){var E,P,L,X;return fi.isObject(h)?(E=+h.top||0,P=+h.right||0,L=+h.bottom||0,X=+h.left||0):E=P=L=X=+h||0,{top:E,right:P,bottom:L,left:X,height:E+L,width:X+P}},_parseFont:function(h){var E=vr.global,P=Ji(h.fontSize,E.defaultFontSize),L={family:Ji(h.fontFamily,E.defaultFontFamily),lineHeight:fi.options.toLineHeight(Ji(h.lineHeight,E.defaultLineHeight),P),size:P,style:Ji(h.fontStyle,E.defaultFontStyle),weight:null,string:""};return L.string=function mn(h){return!h||fi.isNullOrUndef(h.size)||fi.isNullOrUndef(h.family)?null:(h.style?h.style+" ":"")+(h.weight?h.weight+" ":"")+h.size+"px "+h.family}(L),L},resolve:function(h,E,P,L){var de,ve,Ye,X=!0;for(de=0,ve=h.length;de<ve;++de)if(void 0!==(Ye=h[de])&&(void 0!==E&&"function"==typeof Ye&&(Ye=Ye(E),X=!1),void 0!==P&&fi.isArray(Ye)&&(Ye=Ye[P],X=!1),void 0!==Ye))return L&&!X&&(L.cacheable=!1),Ye}},Wn={_factorize:function(h){var L,E=[],P=Math.sqrt(h);for(L=1;L<P;L++)h%L==0&&(E.push(L),E.push(h/L));return P===(0|P)&&E.push(P),E.sort(function(X,de){return X-de}).pop(),E},log10:Math.log10||function(h){var E=Math.log(h)*Math.LOG10E,P=Math.round(E);return h===Math.pow(10,P)?P:E}},et=Wn;fi.log10=Wn.log10;var Fe=fi,ti=Gi,Ut=Rn,Dn=et,Et={getRtlAdapter:function(h,E,P){return h?function(h,E){return{x:function(P){return h+h+E-P},setWidth:function(P){E=P},textAlign:function(P){return"center"===P?P:"right"===P?"left":"right"},xPlus:function(P,L){return P-L},leftForLtr:function(P,L){return P-L}}}(E,P):{x:function(h){return h},setWidth:function(h){},textAlign:function(h){return h},xPlus:function(h,E){return h+E},leftForLtr:function(h,E){return h}}},overrideTextDirection:function(h,E){var P,L;("ltr"===E||"rtl"===E)&&(L=[(P=h.canvas.style).getPropertyValue("direction"),P.getPropertyPriority("direction")],P.setProperty("direction",E,"important"),h.prevTextDirection=L)},restoreTextDirection:function(h){var E=h.prevTextDirection;void 0!==E&&(delete h.prevTextDirection,h.canvas.style.setProperty("direction",E[0],E[1]))}};Fe.easing=xo,Fe.canvas=ti,Fe.options=Ut,Fe.math=Dn,Fe.rtl=Et;var _t=function(h){Fe.extend(this,h),this.initialize.apply(this,arguments)};Fe.extend(_t.prototype,{_type:void 0,initialize:function(){this.hidden=!1},pivot:function(){var h=this;return h._view||(h._view=Fe.extend({},h._model)),h._start={},h},transition:function(h){var E=this,P=E._model,L=E._start,X=E._view;return P&&1!==h?(X||(X=E._view={}),L||(L=E._start={}),function $t(h,E,P,L){var de,ve,Ye,xe,nt,St,Mt,fn,jn,X=Object.keys(P);for(de=0,ve=X.length;de<ve;++de)if(St=P[Ye=X[de]],E.hasOwnProperty(Ye)||(E[Ye]=St),(xe=E[Ye])!==St&&"_"!==Ye[0]){if(h.hasOwnProperty(Ye)||(h[Ye]=xe),(Mt=typeof St)==typeof(nt=h[Ye]))if("string"===Mt){if((fn=_r(nt)).valid&&(jn=_r(St)).valid){E[Ye]=jn.mix(fn,L).rgbString();continue}}else if(Fe.isFinite(nt)&&Fe.isFinite(St)){E[Ye]=nt+(St-nt)*L;continue}E[Ye]=St}}(L,X,P,h),E):(E._view=Fe.extend({},P),E._start=null,E)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return Fe.isNumber(this._model.x)&&Fe.isNumber(this._model.y)}}),_t.extend=Fe.inherits;var yt=_t,Vt=yt.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),yn=Vt;Object.defineProperty(Vt.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(Vt.prototype,"chartInstance",{get:function(){return this.chart},set:function(h){this.chart=h}}),vr._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:Fe.noop,onComplete:Fe.noop}});var Cr={animations:[],request:null,addAnimation:function(h,E,P,L){var de,ve,X=this.animations;for(E.chart=h,E.startTime=Date.now(),E.duration=P,L||(h.animating=!0),de=0,ve=X.length;de<ve;++de)if(X[de].chart===h)return void(X[de]=E);X.push(E),1===X.length&&this.requestAnimationFrame()},cancelAnimation:function(h){var E=Fe.findIndex(this.animations,function(P){return P.chart===h});-1!==E&&(this.animations.splice(E,1),h.animating=!1)},requestAnimationFrame:function(){var h=this;null===h.request&&(h.request=Fe.requestAnimFrame.call(window,function(){h.request=null,h.startDigest()}))},startDigest:function(){var h=this;h.advance(),h.animations.length>0&&h.requestAnimationFrame()},advance:function(){for(var E,P,L,X,h=this.animations,de=0;de<h.length;)P=(E=h[de]).chart,L=E.numSteps,X=Math.floor((Date.now()-E.startTime)/E.duration*L)+1,E.currentStep=Math.min(X,L),Fe.callback(E.render,[P,E],P),Fe.callback(E.onAnimationProgress,[E],P),E.currentStep>=L?(Fe.callback(E.onAnimationComplete,[E],P),P.animating=!1,h.splice(de,1)):++de}},xi=Fe.options.resolve,yi=["push","pop","shift","splice","unshift"];function Qo(h,E){var P=h._chartjs;if(P){var L=P.listeners,X=L.indexOf(E);-1!==X&&L.splice(X,1),!(L.length>0)&&(yi.forEach(function(de){delete h[de]}),delete h._chartjs)}}var lo=function(h,E){this.initialize(h,E)};Fe.extend(lo.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(h,E){var P=this;P.chart=h,P.index=E,P.linkScales(),P.addElements(),P._type=P.getMeta().type},updateIndex:function(h){this.index=h},linkScales:function(){var h=this,E=h.getMeta(),P=h.chart,L=P.scales,X=h.getDataset(),de=P.options.scales;(null===E.xAxisID||!(E.xAxisID in L)||X.xAxisID)&&(E.xAxisID=X.xAxisID||de.xAxes[0].id),(null===E.yAxisID||!(E.yAxisID in L)||X.yAxisID)&&(E.yAxisID=X.yAxisID||de.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(h){return this.chart.scales[h]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&Qo(this._data,this)},createMetaDataset:function(){var h=this,E=h.datasetElementType;return E&&new E({_chart:h.chart,_datasetIndex:h.index})},createMetaData:function(h){var E=this,P=E.dataElementType;return P&&new P({_chart:E.chart,_datasetIndex:E.index,_index:h})},addElements:function(){var X,de,h=this,E=h.getMeta(),P=h.getDataset().data||[],L=E.data;for(X=0,de=P.length;X<de;++X)L[X]=L[X]||h.createMetaData(X);E.dataset=E.dataset||h.createMetaDataset()},addElementAndReset:function(h){var E=this.createMetaData(h);this.getMeta().data.splice(h,0,E),this.updateElement(E,h,!0)},buildOrUpdateElements:function(){var h=this,E=h.getDataset(),P=E.data||(E.data=[]);h._data!==P&&(h._data&&Qo(h._data,h),P&&Object.isExtensible(P)&&function Uo(h,E){h._chartjs?h._chartjs.listeners.push(E):(Object.defineProperty(h,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[E]}}),yi.forEach(function(P){var L="onData"+P.charAt(0).toUpperCase()+P.slice(1),X=h[P];Object.defineProperty(h,P,{configurable:!0,enumerable:!1,value:function(){var de=Array.prototype.slice.call(arguments),ve=X.apply(this,de);return Fe.each(h._chartjs.listeners,function(Ye){"function"==typeof Ye[L]&&Ye[L].apply(Ye,de)}),ve}})}))}(P,h),h._data=P),h.resyncElements()},_configure:function(){var h=this;h._config=Fe.merge(Object.create(null),[h.chart.options.datasets[h._type],h.getDataset()],{merger:function(E,P,L){"_meta"!==E&&"data"!==E&&Fe._merger(E,P,L)}})},_update:function(h){var E=this;E._configure(),E._cachedDataOpts=null,E.update(h)},update:Fe.noop,transition:function(h){for(var E=this.getMeta(),P=E.data||[],L=P.length,X=0;X<L;++X)P[X].transition(h);E.dataset&&E.dataset.transition(h)},draw:function(){var h=this.getMeta(),E=h.data||[],P=E.length,L=0;for(h.dataset&&h.dataset.draw();L<P;++L)E[L].draw()},getStyle:function(h){var X,E=this,P=E.getMeta(),L=P.dataset;return E._configure(),(!1===(X=L&&void 0===h?E._resolveDatasetElementOptions(L||{}):E._resolveDataElementOptions(P.data[h=h||0]||{},h)).fill||null===X.fill)&&(X.backgroundColor=X.borderColor),X},_resolveDatasetElementOptions:function(h,E){var nt,St,Mt,fn,P=this,L=P.chart,X=P._config,de=h.custom||{},ve=L.options.elements[P.datasetElementType.prototype._type]||{},Ye=P._datasetElementOptions,xe={},jn={chart:L,dataset:P.getDataset(),datasetIndex:P.index,hover:E};for(nt=0,St=Ye.length;nt<St;++nt)Mt=Ye[nt],fn=E?"hover"+Mt.charAt(0).toUpperCase()+Mt.slice(1):Mt,xe[Mt]=xi([de[fn],X[fn],ve[fn]],jn);return xe},_resolveDataElementOptions:function(h,E){var P=this,L=h&&h.custom,X=P._cachedDataOpts;if(X&&!L)return X;var fn,jn,Vn,fr,de=P.chart,ve=P._config,Ye=de.options.elements[P.dataElementType.prototype._type]||{},xe=P._dataElementOptions,nt={},St={chart:de,dataIndex:E,dataset:P.getDataset(),datasetIndex:P.index},Mt={cacheable:!L};if(L=L||{},Fe.isArray(xe))for(jn=0,Vn=xe.length;jn<Vn;++jn)nt[fr=xe[jn]]=xi([L[fr],ve[fr],Ye[fr]],St,E,Mt);else for(jn=0,Vn=(fn=Object.keys(xe)).length;jn<Vn;++jn)nt[fr=fn[jn]]=xi([L[fr],ve[xe[fr]],ve[fr],Ye[fr]],St,E,Mt);return Mt.cacheable&&(P._cachedDataOpts=Object.freeze(nt)),nt},removeHoverStyle:function(h){Fe.merge(h._model,h.$previousStyle||{}),delete h.$previousStyle},setHoverStyle:function(h){var E=this.chart.data.datasets[h._datasetIndex],P=h._index,L=h.custom||{},X=h._model,de=Fe.getHoverColor;h.$previousStyle={backgroundColor:X.backgroundColor,borderColor:X.borderColor,borderWidth:X.borderWidth},X.backgroundColor=xi([L.hoverBackgroundColor,E.hoverBackgroundColor,de(X.backgroundColor)],void 0,P),X.borderColor=xi([L.hoverBorderColor,E.hoverBorderColor,de(X.borderColor)],void 0,P),X.borderWidth=xi([L.hoverBorderWidth,E.hoverBorderWidth,X.borderWidth],void 0,P)},_removeDatasetHoverStyle:function(){var h=this.getMeta().dataset;h&&this.removeHoverStyle(h)},_setDatasetHoverStyle:function(){var P,L,X,de,ve,Ye,h=this.getMeta().dataset,E={};if(h){for(Ye=h._model,ve=this._resolveDatasetElementOptions(h,!0),P=0,L=(de=Object.keys(ve)).length;P<L;++P)E[X=de[P]]=Ye[X],Ye[X]=ve[X];h.$previousStyle=E}},resyncElements:function(){var h=this,E=h.getMeta(),P=h.getDataset().data,L=E.data.length,X=P.length;X<L?E.data.splice(X,L-X):X>L&&h.insertElements(L,X-L)},insertElements:function(h,E){for(var P=0;P<E;++P)this.addElementAndReset(h+P)},onDataPush:function(){var h=arguments.length;this.insertElements(this.getDataset().data.length-h,h)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(h,E){this.getMeta().data.splice(h,E),this.insertElements(h,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),lo.extend=Fe.inherits;var Ri=lo,ko=2*Math.PI;function Xo(h,E){var P=E.startAngle,L=E.endAngle,X=E.pixelMargin,de=X/E.outerRadius,ve=E.x,Ye=E.y;h.beginPath(),h.arc(ve,Ye,E.outerRadius,P-de,L+de),E.innerRadius>X?h.arc(ve,Ye,E.innerRadius-X,L+(de=X/E.innerRadius),P-de,!0):h.arc(ve,Ye,X,L+Math.PI/2,P-Math.PI/2),h.closePath(),h.clip()}function si(h,E,P){var L="inner"===E.borderAlign;L?(h.lineWidth=2*E.borderWidth,h.lineJoin="round"):(h.lineWidth=E.borderWidth,h.lineJoin="bevel"),P.fullCircles&&function ir(h,E,P,L){var de,X=P.endAngle;for(L&&(P.endAngle=P.startAngle+ko,Xo(h,P),P.endAngle=X,P.endAngle===P.startAngle&&P.fullCircles&&(P.endAngle+=ko,P.fullCircles--)),h.beginPath(),h.arc(P.x,P.y,P.innerRadius,P.startAngle+ko,P.startAngle,!0),de=0;de<P.fullCircles;++de)h.stroke();for(h.beginPath(),h.arc(P.x,P.y,E.outerRadius,P.startAngle,P.startAngle+ko),de=0;de<P.fullCircles;++de)h.stroke()}(h,E,P,L),L&&Xo(h,P),h.beginPath(),h.arc(P.x,P.y,E.outerRadius,P.startAngle,P.endAngle),h.arc(P.x,P.y,P.innerRadius,P.endAngle,P.startAngle,!0),h.closePath(),h.stroke()}vr._set("global",{elements:{arc:{backgroundColor:vr.global.defaultColor,borderColor:"#fff",borderWidth:2,borderAlign:"center"}}});var kn=yt.extend({_type:"arc",inLabelRange:function(h){var E=this._view;return!!E&&Math.pow(h-E.x,2)<Math.pow(E.radius+E.hoverRadius,2)},inRange:function(h,E){var P=this._view;if(P){for(var L=Fe.getAngleFromPoint(P,{x:h,y:E}),X=L.angle,de=L.distance,ve=P.startAngle,Ye=P.endAngle;Ye<ve;)Ye+=ko;for(;X>Ye;)X-=ko;for(;X<ve;)X+=ko;return X>=ve&&X<=Ye&&de>=P.innerRadius&&de<=P.outerRadius}return!1},getCenterPoint:function(){var h=this._view,E=(h.startAngle+h.endAngle)/2,P=(h.innerRadius+h.outerRadius)/2;return{x:h.x+Math.cos(E)*P,y:h.y+Math.sin(E)*P}},getArea:function(){var h=this._view;return Math.PI*((h.endAngle-h.startAngle)/(2*Math.PI))*(Math.pow(h.outerRadius,2)-Math.pow(h.innerRadius,2))},tooltipPosition:function(){var h=this._view,E=h.startAngle+(h.endAngle-h.startAngle)/2,P=(h.outerRadius-h.innerRadius)/2+h.innerRadius;return{x:h.x+Math.cos(E)*P,y:h.y+Math.sin(E)*P}},draw:function(){var X,h=this._chart.ctx,E=this._view,P="inner"===E.borderAlign?.33:0,L={x:E.x,y:E.y,innerRadius:E.innerRadius,outerRadius:Math.max(E.outerRadius-P,0),pixelMargin:P,startAngle:E.startAngle,endAngle:E.endAngle,fullCircles:Math.floor(E.circumference/ko)};if(h.save(),h.fillStyle=E.backgroundColor,h.strokeStyle=E.borderColor,L.fullCircles){for(L.endAngle=L.startAngle+ko,h.beginPath(),h.arc(L.x,L.y,L.outerRadius,L.startAngle,L.endAngle),h.arc(L.x,L.y,L.innerRadius,L.endAngle,L.startAngle,!0),h.closePath(),X=0;X<L.fullCircles;++X)h.fill();L.endAngle=L.startAngle+E.circumference%ko}h.beginPath(),h.arc(L.x,L.y,L.outerRadius,L.startAngle,L.endAngle),h.arc(L.x,L.y,L.innerRadius,L.endAngle,L.startAngle,!0),h.closePath(),h.fill(),E.borderWidth&&si(h,E,L),h.restore()}}),nr=Fe.valueOrDefault,jr=vr.global.defaultColor;vr._set("global",{elements:{line:{tension:.4,backgroundColor:jr,borderWidth:3,borderColor:jr,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}});var ao=yt.extend({_type:"line",draw:function(){var nt,St,Mt,h=this,E=h._view,P=h._chart.ctx,L=E.spanGaps,X=h._children.slice(),de=vr.global,ve=de.elements.line,Ye=-1,xe=h._loop;if(X.length){if(h._loop){for(nt=0;nt<X.length;++nt)if(St=Fe.previousItem(X,nt),!X[nt]._view.skip&&St._view.skip){X=X.slice(nt).concat(X.slice(0,nt)),xe=L;break}xe&&X.push(X[0])}for(P.save(),P.lineCap=E.borderCapStyle||ve.borderCapStyle,P.setLineDash&&P.setLineDash(E.borderDash||ve.borderDash),P.lineDashOffset=nr(E.borderDashOffset,ve.borderDashOffset),P.lineJoin=E.borderJoinStyle||ve.borderJoinStyle,P.lineWidth=nr(E.borderWidth,ve.borderWidth),P.strokeStyle=E.borderColor||de.defaultColor,P.beginPath(),(Mt=X[0]._view).skip||(P.moveTo(Mt.x,Mt.y),Ye=0),nt=1;nt<X.length;++nt)Mt=X[nt]._view,St=-1===Ye?Fe.previousItem(X,nt):X[Ye],Mt.skip||(Ye!==nt-1&&!L||-1===Ye?P.moveTo(Mt.x,Mt.y):Fe.canvas.lineTo(P,St._view,Mt),Ye=nt);xe&&P.closePath(),P.stroke(),P.restore()}}}),$i=Fe.valueOrDefault,Eo=vr.global.defaultColor;function mo(h){var E=this._view;return!!E&&Math.abs(h-E.x)<E.radius+E.hitRadius}vr._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:Eo,borderColor:Eo,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}});var ua=yt.extend({_type:"point",inRange:function(h,E){var P=this._view;return!!P&&Math.pow(h-P.x,2)+Math.pow(E-P.y,2)<Math.pow(P.hitRadius+P.radius,2)},inLabelRange:mo,inXRange:mo,inYRange:function Go(h){var E=this._view;return!!E&&Math.abs(h-E.y)<E.radius+E.hitRadius},getCenterPoint:function(){var h=this._view;return{x:h.x,y:h.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var h=this._view;return{x:h.x,y:h.y,padding:h.radius+h.borderWidth}},draw:function(h){var E=this._view,P=this._chart.ctx,L=E.pointStyle,X=E.rotation,de=E.radius,ve=E.x,Ye=E.y,xe=vr.global,nt=xe.defaultColor;E.skip||(void 0===h||Fe.canvas._isPointInArea(E,h))&&(P.strokeStyle=E.borderColor||nt,P.lineWidth=$i(E.borderWidth,xe.elements.point.borderWidth),P.fillStyle=E.backgroundColor||nt,Fe.canvas.drawPoint(P,L,de,ve,Ye,X))}}),or=vr.global.defaultColor;function Mr(h){return h&&void 0!==h.width}function Or(h){var E,P,L,X,de;return Mr(h)?(E=h.x-(de=h.width/2),P=h.x+de,L=Math.min(h.y,h.base),X=Math.max(h.y,h.base)):(de=h.height/2,E=Math.min(h.x,h.base),P=Math.max(h.x,h.base),L=h.y-de,X=h.y+de),{left:E,top:L,right:P,bottom:X}}function cr(h,E,P){return h===E?P:h===P?E:h}function Sn(h,E,P){var de,ve,Ye,xe,L=h.borderWidth,X=function pi(h){var E=h.borderSkipped,P={};return E&&(h.horizontal?h.base>h.x&&(E=cr(E,"left","right")):h.base<h.y&&(E=cr(E,"bottom","top")),P[E]=!0),P}(h);return Fe.isObject(L)?(de=+L.top||0,ve=+L.right||0,Ye=+L.bottom||0,xe=+L.left||0):de=ve=Ye=xe=+L||0,{t:X.top||de<0?0:de>P?P:de,r:X.right||ve<0?0:ve>E?E:ve,b:X.bottom||Ye<0?0:Ye>P?P:Ye,l:X.left||xe<0?0:xe>E?E:xe}}function Jr(h,E,P){var L=null===E,X=null===P,de=!(!h||L&&X)&&Or(h);return de&&(L||E>=de.left&&E<=de.right)&&(X||P>=de.top&&P<=de.bottom)}vr._set("global",{elements:{rectangle:{backgroundColor:or,borderColor:or,borderSkipped:"bottom",borderWidth:0}}});var ro=yt.extend({_type:"rectangle",draw:function(){var h=this._chart.ctx,E=this._view,P=function $n(h){var E=Or(h),P=E.right-E.left,L=E.bottom-E.top,X=Sn(h,P/2,L/2);return{outer:{x:E.left,y:E.top,w:P,h:L},inner:{x:E.left+X.l,y:E.top+X.t,w:P-X.l-X.r,h:L-X.t-X.b}}}(E),L=P.outer,X=P.inner;h.fillStyle=E.backgroundColor,h.fillRect(L.x,L.y,L.w,L.h),(L.w!==X.w||L.h!==X.h)&&(h.save(),h.beginPath(),h.rect(L.x,L.y,L.w,L.h),h.clip(),h.fillStyle=E.borderColor,h.rect(X.x,X.y,X.w,X.h),h.fill("evenodd"),h.restore())},height:function(){var h=this._view;return h.base-h.y},inRange:function(h,E){return Jr(this._view,h,E)},inLabelRange:function(h,E){var P=this._view;return Mr(P)?Jr(P,h,null):Jr(P,null,E)},inXRange:function(h){return Jr(this._view,h,null)},inYRange:function(h){return Jr(this._view,null,h)},getCenterPoint:function(){var E,P,h=this._view;return Mr(h)?(E=h.x,P=(h.y+h.base)/2):(E=(h.x+h.base)/2,P=h.y),{x:E,y:P}},getArea:function(){var h=this._view;return Mr(h)?h.width*Math.abs(h.y-h.base):h.height*Math.abs(h.x-h.base)},tooltipPosition:function(){var h=this._view;return{x:h.x,y:h.y}}}),go={},js=ao,ds=ua,es=ro;go.Arc=kn,go.Line=js,go.Point=ds,go.Rectangle=es;var ma=Fe._deprecated,ya=Fe.valueOrDefault;function sa(h,E,P){var Ye,xe,L=P.barThickness,X=E.stackCount,de=E.pixels[h],ve=Fe.isNullOrUndef(L)?function fa(h,E){var L,X,de,ve,P=h._length;for(de=1,ve=E.length;de<ve;++de)P=Math.min(P,Math.abs(E[de]-E[de-1]));for(de=0,ve=h.getTicks().length;de<ve;++de)X=h.getPixelForTick(de),P=de>0?Math.min(P,Math.abs(X-L)):P,L=X;return P}(E.scale,E.pixels):-1;return Fe.isNullOrUndef(L)?(Ye=ve*P.categoryPercentage,xe=P.barPercentage):(Ye=L*X,xe=1),{chunk:Ye/X,ratio:xe,start:de-Ye/2}}vr._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),vr._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var pl=Ri.extend({dataElementType:go.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var E,P,h=this;Ri.prototype.initialize.apply(h,arguments),(E=h.getMeta()).stack=h.getDataset().stack,E.bar=!0,P=h._getIndexScale().options,ma("bar chart",P.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),ma("bar chart",P.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),ma("bar chart",P.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),ma("bar chart",h._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),ma("bar chart",P.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(h){var L,X,E=this,P=E.getMeta().data;for(E._ruler=E.getRuler(),L=0,X=P.length;L<X;++L)E.updateElement(P[L],L,h)},updateElement:function(h,E,P){var L=this,X=L.getMeta(),de=L.getDataset(),ve=L._resolveDataElementOptions(h,E);h._xScale=L.getScaleForId(X.xAxisID),h._yScale=L.getScaleForId(X.yAxisID),h._datasetIndex=L.index,h._index=E,h._model={backgroundColor:ve.backgroundColor,borderColor:ve.borderColor,borderSkipped:ve.borderSkipped,borderWidth:ve.borderWidth,datasetLabel:de.label,label:L.chart.data.labels[E]},Fe.isArray(de.data[E])&&(h._model.borderSkipped=null),L._updateElementGeometry(h,E,P,ve),h.pivot()},_updateElementGeometry:function(h,E,P,L){var X=this,de=h._model,ve=X._getValueScale(),Ye=ve.getBasePixel(),xe=ve.isHorizontal(),nt=X._ruler||X.getRuler(),St=X.calculateBarValuePixels(X.index,E,L),Mt=X.calculateBarIndexPixels(X.index,E,nt,L);de.horizontal=xe,de.base=P?Ye:St.base,de.x=xe?P?Ye:St.head:Mt.center,de.y=xe?Mt.center:P?Ye:St.head,de.height=xe?Mt.size:void 0,de.width=xe?void 0:Mt.size},_getStacks:function(h){var Ye,xe,P=this._getIndexScale(),L=P._getMatchingVisibleMetas(this._type),X=P.options.stacked,de=L.length,ve=[];for(Ye=0;Ye<de&&(xe=L[Ye],(!1===X||-1===ve.indexOf(xe.stack)||void 0===X&&void 0===xe.stack)&&ve.push(xe.stack),xe.index!==h);++Ye);return ve},getStackCount:function(){return this._getStacks().length},getStackIndex:function(h,E){var P=this._getStacks(h),L=void 0!==E?P.indexOf(E):-1;return-1===L?P.length-1:L},getRuler:function(){var L,X,h=this,E=h._getIndexScale(),P=[];for(L=0,X=h.getMeta().data.length;L<X;++L)P.push(E.getPixelForValue(null,L,h.index));return{pixels:P,start:E._startPixel,end:E._endPixel,stackCount:h.getStackCount(),scale:E}},calculateBarValuePixels:function(h,E,P){var $r,Ui,is,yo,Zs,qs,el,L=this,X=L.chart,de=L._getValueScale(),ve=de.isHorizontal(),Ye=X.data.datasets,xe=de._getMatchingVisibleMetas(L._type),nt=de._parseValue(Ye[h].data[E]),St=P.minBarLength,Mt=de.options.stacked,fn=L.getMeta().stack,jn=void 0===nt.start?0:nt.max>=0&&nt.min>=0?nt.min:nt.max,Vn=void 0===nt.start?nt.end:nt.max>=0&&nt.min>=0?nt.max-nt.min:nt.min-nt.max,fr=xe.length;if(Mt||void 0===Mt&&void 0!==fn)for($r=0;$r<fr&&(Ui=xe[$r]).index!==h;++$r)Ui.stack===fn&&(is=void 0===(el=de._parseValue(Ye[Ui.index].data[E])).start?el.end:el.min>=0&&el.max>=0?el.max:el.min,(nt.min<0&&is<0||nt.max>=0&&is>0)&&(jn+=is));return yo=de.getPixelForValue(jn),qs=(Zs=de.getPixelForValue(jn+Vn))-yo,void 0!==St&&Math.abs(qs)<St&&(qs=St,Zs=Vn>=0&&!ve||Vn<0&&ve?yo-St:yo+St),{size:qs,base:yo,head:Zs,center:Zs+qs/2}},calculateBarIndexPixels:function(h,E,P,L){var de="flex"===L.barThickness?function Ra(h,E,P){var xe,L=E.pixels,X=L[h],de=h>0?L[h-1]:null,ve=h<L.length-1?L[h+1]:null,Ye=P.categoryPercentage;return null===de&&(de=X-(null===ve?E.end-E.start:ve-X)),null===ve&&(ve=X+X-de),xe=X-(X-Math.min(de,ve))/2*Ye,{chunk:Math.abs(ve-de)/2*Ye/E.stackCount,ratio:P.barPercentage,start:xe}}(E,P,L):sa(E,P,L),ve=this.getStackIndex(h,this.getMeta().stack),Ye=de.start+de.chunk*ve+de.chunk/2,xe=Math.min(ya(L.maxBarThickness,1/0),de.chunk*de.ratio);return{base:Ye-xe/2,head:Ye+xe/2,center:Ye,size:xe}},draw:function(){var h=this,E=h.chart,P=h._getValueScale(),L=h.getMeta().data,X=h.getDataset(),de=L.length,ve=0;for(Fe.canvas.clipArea(E.ctx,E.chartArea);ve<de;++ve){var Ye=P._parseValue(X.data[ve]);!isNaN(Ye.min)&&!isNaN(Ye.max)&&L[ve].draw()}Fe.canvas.unclipArea(E.ctx)},_resolveDataElementOptions:function(){var h=this,E=Fe.extend({},Ri.prototype._resolveDataElementOptions.apply(h,arguments)),P=h._getIndexScale().options,L=h._getValueScale().options;return E.barPercentage=ya(P.barPercentage,E.barPercentage),E.barThickness=ya(P.barThickness,E.barThickness),E.categoryPercentage=ya(P.categoryPercentage,E.categoryPercentage),E.maxBarThickness=ya(P.maxBarThickness,E.maxBarThickness),E.minBarLength=ya(L.minBarLength,E.minBarLength),E}}),Co=Fe.valueOrDefault,yl=Fe.options.resolve;vr._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(h,E){return(E.datasets[h.datasetIndex].label||"")+": ("+h.xLabel+", "+h.yLabel+", "+E.datasets[h.datasetIndex].data[h.index].r+")"}}}});var Wo=Ri.extend({dataElementType:go.Point,_dataElementOptions:["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"],update:function(h){var E=this,P=E.getMeta();Fe.each(P.data,function(X,de){E.updateElement(X,de,h)})},updateElement:function(h,E,P){var L=this,X=L.getMeta(),de=h.custom||{},ve=L.getScaleForId(X.xAxisID),Ye=L.getScaleForId(X.yAxisID),xe=L._resolveDataElementOptions(h,E),nt=L.getDataset().data[E],St=L.index,Mt=P?ve.getPixelForDecimal(.5):ve.getPixelForValue("object"==typeof nt?nt:NaN,E,St),fn=P?Ye.getBasePixel():Ye.getPixelForValue(nt,E,St);h._xScale=ve,h._yScale=Ye,h._options=xe,h._datasetIndex=St,h._index=E,h._model={backgroundColor:xe.backgroundColor,borderColor:xe.borderColor,borderWidth:xe.borderWidth,hitRadius:xe.hitRadius,pointStyle:xe.pointStyle,rotation:xe.rotation,radius:P?0:xe.radius,skip:de.skip||isNaN(Mt)||isNaN(fn),x:Mt,y:fn},h.pivot()},setHoverStyle:function(h){var E=h._model,P=h._options,L=Fe.getHoverColor;h.$previousStyle={backgroundColor:E.backgroundColor,borderColor:E.borderColor,borderWidth:E.borderWidth,radius:E.radius},E.backgroundColor=Co(P.hoverBackgroundColor,L(P.backgroundColor)),E.borderColor=Co(P.hoverBorderColor,L(P.borderColor)),E.borderWidth=Co(P.hoverBorderWidth,P.borderWidth),E.radius=P.radius+P.hoverRadius},_resolveDataElementOptions:function(h,E){var P=this,L=P.chart,X=P.getDataset(),de=h.custom||{},ve=X.data[E]||{},Ye=Ri.prototype._resolveDataElementOptions.apply(P,arguments),xe={chart:L,dataIndex:E,dataset:X,datasetIndex:P.index};return P._cachedDataOpts===Ye&&(Ye=Fe.extend({},Ye)),Ye.radius=yl([de.radius,ve.r,P._config.radius,L.options.elements.point.radius],xe,E),Ye}}),ys=Fe.valueOrDefault,Wa=Math.PI,Is=2*Wa,nl=Wa/2;vr._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(h){var de,ve,Ye,E=document.createElement("ul"),P=h.data,L=P.datasets,X=P.labels;if(E.setAttribute("class",h.id+"-legend"),L.length)for(de=0,ve=L[0].data.length;de<ve;++de)(Ye=E.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=L[0].backgroundColor[de],X[de]&&Ye.appendChild(document.createTextNode(X[de]));return E.outerHTML},legend:{labels:{generateLabels:function(h){var E=h.data;return E.labels.length&&E.datasets.length?E.labels.map(function(P,L){var X=h.getDatasetMeta(0),de=X.controller.getStyle(L);return{text:P,fillStyle:de.backgroundColor,strokeStyle:de.borderColor,lineWidth:de.borderWidth,hidden:isNaN(E.datasets[0].data[L])||X.data[L].hidden,index:L}}):[]}},onClick:function(h,E){var X,de,ve,P=E.index,L=this.chart;for(X=0,de=(L.data.datasets||[]).length;X<de;++X)(ve=L.getDatasetMeta(X)).data[P]&&(ve.data[P].hidden=!ve.data[P].hidden);L.update()}},cutoutPercentage:50,rotation:-nl,circumference:Is,tooltips:{callbacks:{title:function(){return""},label:function(h,E){var P=E.labels[h.index],L=": "+E.datasets[h.datasetIndex].data[h.index];return Fe.isArray(P)?(P=P.slice())[0]+=L:P+=L,P}}}});var Gs=Ri.extend({dataElementType:go.Arc,linkScales:Fe.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],getRingIndex:function(h){for(var E=0,P=0;P<h;++P)this.chart.isDatasetVisible(P)&&++E;return E},update:function(h){var $r,Ui,E=this,P=E.chart,L=P.chartArea,X=P.options,de=1,ve=1,Ye=0,xe=0,nt=E.getMeta(),St=nt.data,Mt=X.cutoutPercentage/100||0,fn=X.circumference,jn=E._getRingWeight(E.index);if(fn<Is){var is=X.rotation%Is,yo=(is+=is>=Wa?-Is:is<-Wa?Is:0)+fn,Zs=Math.cos(is),qs=Math.sin(is),el=Math.cos(yo),$a=Math.sin(yo),Ga=is<=0&&yo>=0||yo>=Is,wa=is<=nl&&yo>=nl||yo>=Is+nl,_u=is<=-nl&&yo>=-nl||yo>=Wa+nl,Va=is===-Wa||yo>=Wa?-1:Math.min(Zs,Zs*Mt,el,el*Mt),Mu=_u?-1:Math.min(qs,qs*Mt,$a,$a*Mt),ku=Ga?1:Math.max(Zs,Zs*Mt,el,el*Mt),xc=wa?1:Math.max(qs,qs*Mt,$a,$a*Mt);de=(ku-Va)/2,ve=(xc-Mu)/2,Ye=-(ku+Va)/2,xe=-(xc+Mu)/2}for($r=0,Ui=St.length;$r<Ui;++$r)St[$r]._options=E._resolveDataElementOptions(St[$r],$r);for(P.borderWidth=E.getMaxBorderWidth(),P.outerRadius=Math.max(Math.min((L.right-L.left-P.borderWidth)/de,(L.bottom-L.top-P.borderWidth)/ve)/2,0),P.innerRadius=Math.max(P.outerRadius*Mt,0),P.radiusLength=(P.outerRadius-P.innerRadius)/(E._getVisibleDatasetWeightTotal()||1),P.offsetX=Ye*P.outerRadius,P.offsetY=xe*P.outerRadius,nt.total=E.calculateTotal(),E.outerRadius=P.outerRadius-P.radiusLength*E._getRingWeightOffset(E.index),E.innerRadius=Math.max(E.outerRadius-P.radiusLength*jn,0),$r=0,Ui=St.length;$r<Ui;++$r)E.updateElement(St[$r],$r,h)},updateElement:function(h,E,P){var L=this,X=L.chart,de=X.chartArea,ve=X.options,Ye=ve.animation,xe=(de.left+de.right)/2,nt=(de.top+de.bottom)/2,St=ve.rotation,Mt=ve.rotation,fn=L.getDataset(),jn=P&&Ye.animateRotate||h.hidden?0:L.calculateCircumference(fn.data[E])*(ve.circumference/Is),$r=h._options||{};Fe.extend(h,{_datasetIndex:L.index,_index:E,_model:{backgroundColor:$r.backgroundColor,borderColor:$r.borderColor,borderWidth:$r.borderWidth,borderAlign:$r.borderAlign,x:xe+X.offsetX,y:nt+X.offsetY,startAngle:St,endAngle:Mt,circumference:jn,outerRadius:P&&Ye.animateScale?0:L.outerRadius,innerRadius:P&&Ye.animateScale?0:L.innerRadius,label:Fe.valueAtIndexOrDefault(fn.label,E,X.data.labels[E])}});var Ui=h._model;(!P||!Ye.animateRotate)&&(Ui.startAngle=0===E?ve.rotation:L.getMeta().data[E-1]._model.endAngle,Ui.endAngle=Ui.startAngle+Ui.circumference),h.pivot()},calculateTotal:function(){var L,h=this.getDataset(),E=this.getMeta(),P=0;return Fe.each(E.data,function(X,de){L=h.data[de],!isNaN(L)&&!X.hidden&&(P+=Math.abs(L))}),P},calculateCircumference:function(h){var E=this.getMeta().total;return E>0&&!isNaN(h)?Is*(Math.abs(h)/E):0},getMaxBorderWidth:function(h){var X,de,ve,Ye,xe,nt,St,Mt,P=0,L=this.chart;if(!h)for(X=0,de=L.data.datasets.length;X<de;++X)if(L.isDatasetVisible(X)){h=(ve=L.getDatasetMeta(X)).data,X!==this.index&&(xe=ve.controller);break}if(!h)return 0;for(X=0,de=h.length;X<de;++X)Ye=h[X],xe?(xe._configure(),nt=xe._resolveDataElementOptions(Ye,X)):nt=Ye._options,"inner"!==nt.borderAlign&&(P=(Mt=nt.hoverBorderWidth)>(P=(St=nt.borderWidth)>P?St:P)?Mt:P);return P},setHoverStyle:function(h){var E=h._model,P=h._options,L=Fe.getHoverColor;h.$previousStyle={backgroundColor:E.backgroundColor,borderColor:E.borderColor,borderWidth:E.borderWidth},E.backgroundColor=ys(P.hoverBackgroundColor,L(P.backgroundColor)),E.borderColor=ys(P.hoverBorderColor,L(P.borderColor)),E.borderWidth=ys(P.hoverBorderWidth,P.borderWidth)},_getRingWeightOffset:function(h){for(var E=0,P=0;P<h;++P)this.chart.isDatasetVisible(P)&&(E+=this._getRingWeight(P));return E},_getRingWeight:function(h){return Math.max(ys(this.chart.data.datasets[h].weight,1),0)},_getVisibleDatasetWeightTotal:function(){return this._getRingWeightOffset(this.chart.data.datasets.length)}});vr._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{type:"category",position:"left",offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{mode:"index",axis:"y"}}),vr._set("global",{datasets:{horizontalBar:{categoryPercentage:.8,barPercentage:.9}}});var $o=pl.extend({_getValueScaleId:function(){return this.getMeta().xAxisID},_getIndexScaleId:function(){return this.getMeta().yAxisID}}),To=Fe.valueOrDefault,Ns=Fe.options.resolve,hs=Fe.canvas._isPointInArea;function Oo(h,E){var P=h&&h.options.ticks||{},L=P.reverse,X=void 0===P.min?E:0,de=void 0===P.max?E:0;return{start:L?de:X,end:L?X:de}}function kr(h,E,P){var L=P/2,X=Oo(h,L),de=Oo(E,L);return{top:de.end,right:X.end,bottom:de.start,left:X.start}}function Ki(h){var E,P,L,X;return Fe.isObject(h)?(E=h.top,P=h.right,L=h.bottom,X=h.left):E=P=L=X=h,{top:E,right:P,bottom:L,left:X}}vr._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}});var ut=Ri.extend({datasetElementType:go.Line,dataElementType:go.Point,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth","cubicInterpolationMode","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},update:function(h){var xe,nt,E=this,P=E.getMeta(),L=P.dataset,X=P.data||[],ve=E._config,Ye=E._showLine=To(ve.showLine,E.chart.options.showLines);for(E._xScale=E.getScaleForId(P.xAxisID),E._yScale=E.getScaleForId(P.yAxisID),Ye&&(void 0!==ve.tension&&void 0===ve.lineTension&&(ve.lineTension=ve.tension),L._scale=E._yScale,L._datasetIndex=E.index,L._children=X,L._model=E._resolveDatasetElementOptions(L),L.pivot()),xe=0,nt=X.length;xe<nt;++xe)E.updateElement(X[xe],xe,h);for(Ye&&0!==L._model.tension&&E.updateBezierControlPoints(),xe=0,nt=X.length;xe<nt;++xe)X[xe].pivot()},updateElement:function(h,E,P){var fn,jn,L=this,X=L.getMeta(),de=h.custom||{},ve=L.getDataset(),Ye=L.index,xe=ve.data[E],nt=L._xScale,St=L._yScale,Mt=X.dataset._model,Vn=L._resolveDataElementOptions(h,E);fn=nt.getPixelForValue("object"==typeof xe?xe:NaN,E,Ye),jn=P?St.getBasePixel():L.calculatePointY(xe,E,Ye),h._xScale=nt,h._yScale=St,h._options=Vn,h._datasetIndex=Ye,h._index=E,h._model={x:fn,y:jn,skip:de.skip||isNaN(fn)||isNaN(jn),radius:Vn.radius,pointStyle:Vn.pointStyle,rotation:Vn.rotation,backgroundColor:Vn.backgroundColor,borderColor:Vn.borderColor,borderWidth:Vn.borderWidth,tension:To(de.tension,Mt?Mt.tension:0),steppedLine:!!Mt&&Mt.steppedLine,hitRadius:Vn.hitRadius}},_resolveDatasetElementOptions:function(h){var E=this,P=E._config,L=h.custom||{},X=E.chart.options,de=X.elements.line,ve=Ri.prototype._resolveDatasetElementOptions.apply(E,arguments);return ve.spanGaps=To(P.spanGaps,X.spanGaps),ve.tension=To(P.lineTension,de.tension),ve.steppedLine=Ns([L.steppedLine,P.steppedLine,de.stepped]),ve.clip=Ki(To(P.clip,kr(E._xScale,E._yScale,ve.borderWidth))),ve},calculatePointY:function(h,E,P){var xe,St,Mt,fn,jn,Vn,X=this.chart,de=this._yScale,ve=0,Ye=0;if(de.options.stacked){for(fn=+de.getRightValue(h),Vn=(jn=X._getSortedVisibleDatasetMetas()).length,xe=0;xe<Vn&&(St=jn[xe]).index!==P;++xe)"line"===St.type&&St.yAxisID===de.id&&((Mt=+de.getRightValue(X.data.datasets[St.index].data[E]))<0?Ye+=Mt||0:ve+=Mt||0);return de.getPixelForValue(fn<0?Ye+fn:ve+fn)}return de.getPixelForValue(h)},updateBezierControlPoints:function(){var ve,Ye,xe,nt,E=this.chart,P=this.getMeta(),L=P.dataset._model,X=E.chartArea,de=P.data||[];function St(Mt,fn,jn){return Math.max(Math.min(Mt,jn),fn)}if(L.spanGaps&&(de=de.filter(function(Mt){return!Mt._model.skip})),"monotone"===L.cubicInterpolationMode)Fe.splineCurveMonotone(de);else for(ve=0,Ye=de.length;ve<Ye;++ve)xe=de[ve]._model,nt=Fe.splineCurve(Fe.previousItem(de,ve)._model,xe,Fe.nextItem(de,ve)._model,L.tension),xe.controlPointPreviousX=nt.previous.x,xe.controlPointPreviousY=nt.previous.y,xe.controlPointNextX=nt.next.x,xe.controlPointNextY=nt.next.y;if(E.options.elements.line.capBezierPoints)for(ve=0,Ye=de.length;ve<Ye;++ve)hs(xe=de[ve]._model,X)&&(ve>0&&hs(de[ve-1]._model,X)&&(xe.controlPointPreviousX=St(xe.controlPointPreviousX,X.left,X.right),xe.controlPointPreviousY=St(xe.controlPointPreviousY,X.top,X.bottom)),ve<de.length-1&&hs(de[ve+1]._model,X)&&(xe.controlPointNextX=St(xe.controlPointNextX,X.left,X.right),xe.controlPointNextY=St(xe.controlPointNextY,X.top,X.bottom)))},draw:function(){var xe,h=this,E=h.chart,P=h.getMeta(),L=P.data||[],X=E.chartArea,de=E.canvas,ve=0,Ye=L.length;for(h._showLine&&(Fe.canvas.clipArea(E.ctx,{left:!1===(xe=P.dataset._model.clip).left?0:X.left-xe.left,right:!1===xe.right?de.width:X.right+xe.right,top:!1===xe.top?0:X.top-xe.top,bottom:!1===xe.bottom?de.height:X.bottom+xe.bottom}),P.dataset.draw(),Fe.canvas.unclipArea(E.ctx));ve<Ye;++ve)L[ve].draw(X)},setHoverStyle:function(h){var E=h._model,P=h._options,L=Fe.getHoverColor;h.$previousStyle={backgroundColor:E.backgroundColor,borderColor:E.borderColor,borderWidth:E.borderWidth,radius:E.radius},E.backgroundColor=To(P.hoverBackgroundColor,L(P.backgroundColor)),E.borderColor=To(P.hoverBorderColor,L(P.borderColor)),E.borderWidth=To(P.hoverBorderWidth,P.borderWidth),E.radius=To(P.hoverRadius,P.radius)}}),pn=Fe.options.resolve;vr._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(h){var de,ve,Ye,E=document.createElement("ul"),P=h.data,L=P.datasets,X=P.labels;if(E.setAttribute("class",h.id+"-legend"),L.length)for(de=0,ve=L[0].data.length;de<ve;++de)(Ye=E.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=L[0].backgroundColor[de],X[de]&&Ye.appendChild(document.createTextNode(X[de]));return E.outerHTML},legend:{labels:{generateLabels:function(h){var E=h.data;return E.labels.length&&E.datasets.length?E.labels.map(function(P,L){var X=h.getDatasetMeta(0),de=X.controller.getStyle(L);return{text:P,fillStyle:de.backgroundColor,strokeStyle:de.borderColor,lineWidth:de.borderWidth,hidden:isNaN(E.datasets[0].data[L])||X.data[L].hidden,index:L}}):[]}},onClick:function(h,E){var X,de,ve,P=E.index,L=this.chart;for(X=0,de=(L.data.datasets||[]).length;X<de;++X)(ve=L.getDatasetMeta(X)).data[P].hidden=!ve.data[P].hidden;L.update()}},tooltips:{callbacks:{title:function(){return""},label:function(h,E){return E.labels[h.index]+": "+h.yLabel}}}});var te=Ri.extend({dataElementType:go.Arc,linkScales:Fe.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(h){var xe,nt,St,E=this,P=E.getDataset(),L=E.getMeta(),X=E.chart.options.startAngle||0,de=E._starts=[],ve=E._angles=[],Ye=L.data;for(E._updateRadius(),L.count=E.countVisibleElements(),xe=0,nt=P.data.length;xe<nt;xe++)de[xe]=X,St=E._computeAngle(xe),ve[xe]=St,X+=St;for(xe=0,nt=Ye.length;xe<nt;++xe)Ye[xe]._options=E._resolveDataElementOptions(Ye[xe],xe),E.updateElement(Ye[xe],xe,h)},_updateRadius:function(){var h=this,E=h.chart,P=E.chartArea,L=E.options,X=Math.min(P.right-P.left,P.bottom-P.top);E.outerRadius=Math.max(X/2,0),E.innerRadius=Math.max(L.cutoutPercentage?E.outerRadius/100*L.cutoutPercentage:1,0),E.radiusLength=(E.outerRadius-E.innerRadius)/E.getVisibleDatasetCount(),h.outerRadius=E.outerRadius-E.radiusLength*h.index,h.innerRadius=h.outerRadius-E.radiusLength},updateElement:function(h,E,P){var L=this,X=L.chart,de=L.getDataset(),ve=X.options,Ye=ve.animation,xe=X.scale,nt=X.data.labels,St=xe.xCenter,Mt=xe.yCenter,fn=ve.startAngle,jn=h.hidden?0:xe.getDistanceFromCenterForValue(de.data[E]),Vn=L._starts[E],fr=Vn+(h.hidden?0:L._angles[E]),$r=Ye.animateScale?0:xe.getDistanceFromCenterForValue(de.data[E]),Ui=h._options||{};Fe.extend(h,{_datasetIndex:L.index,_index:E,_scale:xe,_model:{backgroundColor:Ui.backgroundColor,borderColor:Ui.borderColor,borderWidth:Ui.borderWidth,borderAlign:Ui.borderAlign,x:St,y:Mt,innerRadius:0,outerRadius:P?$r:jn,startAngle:P&&Ye.animateRotate?fn:Vn,endAngle:P&&Ye.animateRotate?fn:fr,label:Fe.valueAtIndexOrDefault(nt,E,nt[E])}}),h.pivot()},countVisibleElements:function(){var h=this.getDataset(),E=this.getMeta(),P=0;return Fe.each(E.data,function(L,X){!isNaN(h.data[X])&&!L.hidden&&P++}),P},setHoverStyle:function(h){var E=h._model,P=h._options,L=Fe.getHoverColor,X=Fe.valueOrDefault;h.$previousStyle={backgroundColor:E.backgroundColor,borderColor:E.borderColor,borderWidth:E.borderWidth},E.backgroundColor=X(P.hoverBackgroundColor,L(P.backgroundColor)),E.borderColor=X(P.hoverBorderColor,L(P.borderColor)),E.borderWidth=X(P.hoverBorderWidth,P.borderWidth)},_computeAngle:function(h){var E=this,P=this.getMeta().count,L=E.getDataset(),X=E.getMeta();return isNaN(L.data[h])||X.data[h].hidden?0:pn([E.chart.options.elements.arc.angle,2*Math.PI/P],{chart:E.chart,dataIndex:h,dataset:L,datasetIndex:E.index},h)}});vr._set("pie",Fe.clone(vr.doughnut)),vr._set("pie",{cutoutPercentage:0});var Ue=Gs,jt=Fe.valueOrDefault;vr._set("radar",{spanGaps:!1,scale:{type:"radialLinear"},elements:{line:{fill:"start",tension:0}}});var hn=Ri.extend({datasetElementType:go.Line,dataElementType:go.Point,linkScales:Fe.noop,_datasetElementOptions:["backgroundColor","borderWidth","borderColor","borderCapStyle","borderDash","borderDashOffset","borderJoinStyle","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(h){var Ye,xe,E=this,P=E.getMeta(),L=P.dataset,X=P.data||[],de=E.chart.scale,ve=E._config;for(void 0!==ve.tension&&void 0===ve.lineTension&&(ve.lineTension=ve.tension),L._scale=de,L._datasetIndex=E.index,L._children=X,L._loop=!0,L._model=E._resolveDatasetElementOptions(L),L.pivot(),Ye=0,xe=X.length;Ye<xe;++Ye)E.updateElement(X[Ye],Ye,h);for(E.updateBezierControlPoints(),Ye=0,xe=X.length;Ye<xe;++Ye)X[Ye].pivot()},updateElement:function(h,E,P){var L=this,X=h.custom||{},de=L.getDataset(),ve=L.chart.scale,Ye=ve.getPointPositionForValue(E,de.data[E]),xe=L._resolveDataElementOptions(h,E),nt=L.getMeta().dataset._model,St=P?ve.xCenter:Ye.x,Mt=P?ve.yCenter:Ye.y;h._scale=ve,h._options=xe,h._datasetIndex=L.index,h._index=E,h._model={x:St,y:Mt,skip:X.skip||isNaN(St)||isNaN(Mt),radius:xe.radius,pointStyle:xe.pointStyle,rotation:xe.rotation,backgroundColor:xe.backgroundColor,borderColor:xe.borderColor,borderWidth:xe.borderWidth,tension:jt(X.tension,nt?nt.tension:0),hitRadius:xe.hitRadius}},_resolveDatasetElementOptions:function(){var h=this,E=h._config,P=h.chart.options,L=Ri.prototype._resolveDatasetElementOptions.apply(h,arguments);return L.spanGaps=jt(E.spanGaps,P.spanGaps),L.tension=jt(E.lineTension,P.elements.line.tension),L},updateBezierControlPoints:function(){var X,de,ve,Ye,E=this.getMeta(),P=this.chart.chartArea,L=E.data||[];function xe(nt,St,Mt){return Math.max(Math.min(nt,Mt),St)}for(E.dataset._model.spanGaps&&(L=L.filter(function(nt){return!nt._model.skip})),X=0,de=L.length;X<de;++X)ve=L[X]._model,Ye=Fe.splineCurve(Fe.previousItem(L,X,!0)._model,ve,Fe.nextItem(L,X,!0)._model,ve.tension),ve.controlPointPreviousX=xe(Ye.previous.x,P.left,P.right),ve.controlPointPreviousY=xe(Ye.previous.y,P.top,P.bottom),ve.controlPointNextX=xe(Ye.next.x,P.left,P.right),ve.controlPointNextY=xe(Ye.next.y,P.top,P.bottom)},setHoverStyle:function(h){var E=h._model,P=h._options,L=Fe.getHoverColor;h.$previousStyle={backgroundColor:E.backgroundColor,borderColor:E.borderColor,borderWidth:E.borderWidth,radius:E.radius},E.backgroundColor=jt(P.hoverBackgroundColor,L(P.backgroundColor)),E.borderColor=jt(P.hoverBorderColor,L(P.borderColor)),E.borderWidth=jt(P.hoverBorderWidth,P.borderWidth),E.radius=jt(P.hoverRadius,P.radius)}});vr._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},tooltips:{callbacks:{title:function(){return""},label:function(h){return"("+h.xLabel+", "+h.yLabel+")"}}}}),vr._set("global",{datasets:{scatter:{showLine:!1}}});var Oi={bar:pl,bubble:Wo,doughnut:Gs,horizontalBar:$o,line:ut,polarArea:te,pie:Ue,radar:hn,scatter:ut};function ki(h,E){return h.native?{x:h.x,y:h.y}:Fe.getRelativePosition(h,E)}function _s(h,E){var L,X,de,ve,Ye,xe,P=h._getSortedVisibleDatasetMetas();for(X=0,ve=P.length;X<ve;++X)for(de=0,Ye=(L=P[X].data).length;de<Ye;++de)(xe=L[de])._view.skip||E(xe)}function Vo(h,E){var P=[];return _s(h,function(L){L.inRange(E.x,E.y)&&P.push(L)}),P}function Fs(h,E,P,L){var X=Number.POSITIVE_INFINITY,de=[];return _s(h,function(ve){if(!P||ve.inRange(E.x,E.y)){var Ye=ve.getCenterPoint(),xe=L(E,Ye);xe<X?(de=[ve],X=xe):xe===X&&de.push(ve)}}),de}function Ks(h){var E=-1!==h.indexOf("x"),P=-1!==h.indexOf("y");return function(L,X){var de=E?Math.abs(L.x-X.x):0,ve=P?Math.abs(L.y-X.y):0;return Math.sqrt(Math.pow(de,2)+Math.pow(ve,2))}}function hl(h,E,P){var L=ki(E,h);P.axis=P.axis||"x";var X=Ks(P.axis),de=P.intersect?Vo(h,L):Fs(h,L,!1,X),ve=[];return de.length?(h._getSortedVisibleDatasetMetas().forEach(function(Ye){var xe=Ye.data[de[0]._index];xe&&!xe._view.skip&&ve.push(xe)}),ve):[]}var sl={modes:{single:function(h,E){var P=ki(E,h),L=[];return _s(h,function(X){if(X.inRange(P.x,P.y))return L.push(X),L}),L.slice(0,1)},label:hl,index:hl,dataset:function(h,E,P){var L=ki(E,h);P.axis=P.axis||"xy";var X=Ks(P.axis),de=P.intersect?Vo(h,L):Fs(h,L,!1,X);return de.length>0&&(de=h.getDatasetMeta(de[0]._datasetIndex).data),de},"x-axis":function(h,E){return hl(h,E,{intersect:!1})},point:function(h,E){return Vo(h,ki(E,h))},nearest:function(h,E,P){var L=ki(E,h);P.axis=P.axis||"xy";var X=Ks(P.axis);return Fs(h,L,P.intersect,X)},x:function(h,E,P){var L=ki(E,h),X=[],de=!1;return _s(h,function(ve){ve.inXRange(L.x)&&X.push(ve),ve.inRange(L.x,L.y)&&(de=!0)}),P.intersect&&!de&&(X=[]),X},y:function(h,E,P){var L=ki(E,h),X=[],de=!1;return _s(h,function(ve){ve.inYRange(L.y)&&X.push(ve),ve.inRange(L.x,L.y)&&(de=!0)}),P.intersect&&!de&&(X=[]),X}}},Jl=Fe.extend;function Xu(h,E){return Fe.where(h,function(P){return P.pos===E})}function _c(h,E){return h.sort(function(P,L){var X=E?L:P,de=E?P:L;return X.weight===de.weight?X.index-de.index:X.weight-de.weight})}function Ku(h,E,P,L){return Math.max(h[P],E[P])+Math.max(h[L],E[L])}function Xa(h,E,P){var de,ve,L=P.box,X=h.maxPadding;if(P.size&&(h[P.pos]-=P.size),P.size=P.horizontal?L.height:L.width,h[P.pos]+=P.size,L.getPadding){var Ye=L.getPadding();X.top=Math.max(X.top,Ye.top),X.left=Math.max(X.left,Ye.left),X.bottom=Math.max(X.bottom,Ye.bottom),X.right=Math.max(X.right,Ye.right)}if(de=E.outerWidth-Ku(X,h,"left","right"),ve=E.outerHeight-Ku(X,h,"top","bottom"),de!==h.w||ve!==h.h){h.w=de,h.h=ve;var xe=P.horizontal?[de,h.w]:[ve,h.h];return!(xe[0]===xe[1]||isNaN(xe[0])&&isNaN(xe[1]))}}function ru(h,E){var P=E.maxPadding;return function L(X){var de={left:0,top:0,right:0,bottom:0};return X.forEach(function(ve){de[ve]=Math.max(E[ve],P[ve])}),de}(h?["left","right"]:["top","bottom"])}function Ja(h,E,P){var X,de,ve,Ye,xe,nt,L=[];for(X=0,de=h.length;X<de;++X)(Ye=(ve=h[X]).box).update(ve.width||E.w,ve.height||E.h,ru(ve.horizontal,E)),Xa(E,P,ve)&&(nt=!0,L.length&&(xe=!0)),Ye.fullWidth||L.push(ve);return xe&&Ja(L,E,P)||nt}function Ol(h,E,P){var ve,Ye,xe,nt,L=P.padding,X=E.x,de=E.y;for(ve=0,Ye=h.length;ve<Ye;++ve)nt=(xe=h[ve]).box,xe.horizontal?(nt.left=nt.fullWidth?L.left:E.left,nt.right=nt.fullWidth?P.outerWidth-L.right:E.left+E.w,nt.top=de,nt.bottom=de+nt.height,nt.width=nt.right-nt.left,de=nt.bottom):(nt.left=X,nt.right=X+nt.width,nt.top=E.top,nt.bottom=E.top+E.h,nt.height=nt.bottom-nt.top,X=nt.right);E.x=X,E.y=de}vr._set("global",{layout:{padding:{top:0,right:0,bottom:0,left:0}}});var Bl={defaults:{},addBox:function(h,E){h.boxes||(h.boxes=[]),E.fullWidth=E.fullWidth||!1,E.position=E.position||"top",E.weight=E.weight||0,E._layers=E._layers||function(){return[{z:0,draw:function(){E.draw.apply(E,arguments)}}]},h.boxes.push(E)},removeBox:function(h,E){var P=h.boxes?h.boxes.indexOf(E):-1;-1!==P&&h.boxes.splice(P,1)},configure:function(h,E,P){for(var ve,L=["fullWidth","position","weight"],X=L.length,de=0;de<X;++de)P.hasOwnProperty(ve=L[de])&&(E[ve]=P[ve])},update:function(h,E,P){if(h){var X=Fe.options.toPadding((h.options.layout||{}).padding),de=E-X.width,ve=P-X.height,Ye=function Fl(h){var E=function Cl(h){var P,L,X,E=[];for(P=0,L=(h||[]).length;P<L;++P)E.push({index:P,box:X=h[P],pos:X.position,horizontal:X.isHorizontal(),weight:X.weight});return E}(h),P=_c(Xu(E,"left"),!0),L=_c(Xu(E,"right")),X=_c(Xu(E,"top"),!0),de=_c(Xu(E,"bottom"));return{leftAndTop:P.concat(X),rightAndBottom:L.concat(de),chartArea:Xu(E,"chartArea"),vertical:P.concat(L),horizontal:X.concat(de)}}(h.boxes),xe=Ye.vertical,nt=Ye.horizontal,St=Object.freeze({outerWidth:E,outerHeight:P,padding:X,availableWidth:de,vBoxMaxWidth:de/2/xe.length,hBoxMaxHeight:ve/2}),Mt=Jl({maxPadding:Jl({},X),w:de,h:ve,x:X.left,y:X.top},X);(function mc(h,E){var P,L,X;for(P=0,L=h.length;P<L;++P)(X=h[P]).width=X.horizontal?X.box.fullWidth&&E.availableWidth:E.vBoxMaxWidth,X.height=X.horizontal&&E.hBoxMaxHeight})(xe.concat(nt),St),Ja(xe,Mt,St),Ja(nt,Mt,St)&&Ja(xe,Mt,St),function Mc(h){var E=h.maxPadding;function P(L){var X=Math.max(E[L]-h[L],0);return h[L]+=X,X}h.y+=P("top"),h.x+=P("left"),P("right"),P("bottom")}(Mt),Ol(Ye.leftAndTop,Mt,St),Mt.x+=Mt.w,Mt.y+=Mt.h,Ol(Ye.rightAndBottom,Mt,St),h.chartArea={left:Mt.left,top:Mt.top,right:Mt.left+Mt.w,bottom:Mt.top+Mt.h},Fe.each(Ye.chartArea,function(fn){var jn=fn.box;Jl(jn,h.chartArea),jn.update(Mt.w,Mt.h)})}}},pt=function f(h){return h&&h.default||h}(Object.freeze({__proto__:null,default:"/*\r\n * DOM element rendering detection\r\n * https://davidwalsh.name/detect-node-insertion\r\n */\r\n@keyframes chartjs-render-animation {\r\n\tfrom { opacity: 0.99; }\r\n\tto { opacity: 1; }\r\n}\r\n\r\n.chartjs-render-monitor {\r\n\tanimation: chartjs-render-animation 0.001s;\r\n}\r\n\r\n/*\r\n * DOM element resizing detection\r\n * https://github.com/marcj/css-element-queries\r\n */\r\n.chartjs-size-monitor,\r\n.chartjs-size-monitor-expand,\r\n.chartjs-size-monitor-shrink {\r\n\tposition: absolute;\r\n\tdirection: ltr;\r\n\tleft: 0;\r\n\ttop: 0;\r\n\tright: 0;\r\n\tbottom: 0;\r\n\toverflow: hidden;\r\n\tpointer-events: none;\r\n\tvisibility: hidden;\r\n\tz-index: -1;\r\n}\r\n\r\n.chartjs-size-monitor-expand > div {\r\n\tposition: absolute;\r\n\twidth: 1000000px;\r\n\theight: 1000000px;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n\r\n.chartjs-size-monitor-shrink > div {\r\n\tposition: absolute;\r\n\twidth: 200%;\r\n\theight: 200%;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n"})),Kt="$chartjs",Kn="chartjs-",oi=Kn+"size-monitor",wi=Kn+"render-monitor",Vs=["animationstart","webkitAnimationStart"],Os={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function ws(h,E){var P=Fe.getStyle(h,E),L=P&&P.match(/^(\d+)(\.\d+)?px$/);return L?Number(L[1]):void 0}var al=!!function(){var h=!1;try{var E=Object.defineProperty({},"passive",{get:function(){h=!0}});window.addEventListener("e",null,E)}catch(P){}return h}()&&{passive:!0};function Bs(h,E,P){h.addEventListener(E,P,al)}function mt(h,E,P){h.removeEventListener(E,P,al)}function ot(h,E,P,L,X){return{type:h,chart:E,native:X||null,x:void 0!==P?P:null,y:void 0!==L?L:null}}function Si(h){var E=document.createElement("div");return E.className=h||"",E}function qu(h,E,P){var L=h[Kt]||(h[Kt]={}),X=L.resizer=function Jo(h){var E=1e6,P=Si(oi),L=Si(oi+"-expand"),X=Si(oi+"-shrink");L.appendChild(Si()),X.appendChild(Si()),P.appendChild(L),P.appendChild(X),P._reset=function(){L.scrollLeft=E,L.scrollTop=E,X.scrollLeft=E,X.scrollTop=E};var de=function(){P._reset(),h()};return Bs(L,"scroll",de.bind(L,"expand")),Bs(X,"scroll",de.bind(X,"shrink")),P}(function Xt(h,E){var P=!1,L=[];return function(){L=Array.prototype.slice.call(arguments),E=E||this,P||(P=!0,Fe.requestAnimFrame.call(window,function(){P=!1,h.apply(E,L)}))}}(function(){if(L.resizer){var de=P.options.maintainAspectRatio&&h.parentNode,ve=de?de.clientWidth:0;E(ot("resize",P)),de&&de.clientWidth<ve&&P.canvas&&E(ot("resize",P))}}));!function ja(h,E){var P=h[Kt]||(h[Kt]={}),L=P.renderProxy=function(X){"chartjs-render-animation"===X.animationName&&E()};Fe.each(Vs,function(X){Bs(h,X,L)}),P.reflow=!!h.offsetParent,h.classList.add(wi)}(h,function(){if(L.resizer){var de=h.parentNode;de&&de!==X.parentNode&&de.insertBefore(X,de.firstChild),X._reset()}})}function Nc(h){var E=h[Kt]||{},P=E.resizer;delete E.resizer,function El(h){var E=h[Kt]||{},P=E.renderProxy;P&&(Fe.each(Vs,function(L){mt(h,L,P)}),delete E.renderProxy),h.classList.remove(wi)}(h),P&&P.parentNode&&P.parentNode.removeChild(P)}var Yi={disableCSSInjection:!1,_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,_ensureLoaded:function(h){if(!this.disableCSSInjection){var E=h.getRootNode?h.getRootNode():document;!function hd(h,E){var P=h[Kt]||(h[Kt]={});if(!P.containsStyles){P.containsStyles=!0,E="/* Chart.js */\n"+E;var L=document.createElement("style");L.setAttribute("type","text/css"),L.appendChild(document.createTextNode(E)),h.appendChild(L)}}(E.host?E:document.head,pt)}},acquireContext:function(h,E){"string"==typeof h?h=document.getElementById(h):h.length&&(h=h[0]),h&&h.canvas&&(h=h.canvas);var P=h&&h.getContext&&h.getContext("2d");return P&&P.canvas===h?(this._ensureLoaded(h),function Fo(h,E){var P=h.style,L=h.getAttribute("height"),X=h.getAttribute("width");if(h[Kt]={initial:{height:L,width:X,style:{display:P.display,height:P.height,width:P.width}}},P.display=P.display||"block",null===X||""===X){var de=ws(h,"width");void 0!==de&&(h.width=de)}if(null===L||""===L)if(""===h.style.height)h.height=h.width/(E.options.aspectRatio||2);else{var ve=ws(h,"height");void 0!==de&&(h.height=ve)}return h}(h,E),P):null},releaseContext:function(h){var E=h.canvas;if(E[Kt]){var P=E[Kt].initial;["height","width"].forEach(function(L){var X=P[L];Fe.isNullOrUndef(X)?E.removeAttribute(L):E.setAttribute(L,X)}),Fe.each(P.style||{},function(L,X){E.style[X]=L}),E.width=E.width,delete E[Kt]}},addEventListener:function(h,E,P){var L=h.canvas;if("resize"!==E){var X=P[Kt]||(P[Kt]={});Bs(L,E,(X.proxies||(X.proxies={}))[h.id+"_"+E]=function(Ye){P(function je(h,E){var P=Os[h.type]||h.type,L=Fe.getRelativePosition(h,E);return ot(P,E,L.x,L.y,h)}(Ye,h))})}else qu(L,P,h)},removeEventListener:function(h,E,P){var L=h.canvas;if("resize"!==E){var ve=((P[Kt]||{}).proxies||{})[h.id+"_"+E];!ve||mt(L,E,ve)}else Nc(L)}};Fe.addEvent=Bs,Fe.removeEvent=mt;var Fa=Fe.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},Yi._enabled?Yi:{acquireContext:function(h){return h&&h.canvas&&(h=h.canvas),h&&h.getContext("2d")||null}});vr._set("global",{plugins:{}});var Es={_plugins:[],_cacheId:0,register:function(h){var E=this._plugins;[].concat(h).forEach(function(P){-1===E.indexOf(P)&&E.push(P)}),this._cacheId++},unregister:function(h){var E=this._plugins;[].concat(h).forEach(function(P){var L=E.indexOf(P);-1!==L&&E.splice(L,1)}),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(h,E,P){var de,ve,Ye,xe,nt,L=this.descriptors(h),X=L.length;for(de=0;de<X;++de)if("function"==typeof(nt=(Ye=(ve=L[de]).plugin)[E])&&((xe=[h].concat(P||[])).push(ve.options),!1===nt.apply(Ye,xe)))return!1;return!0},descriptors:function(h){var E=h.$plugins||(h.$plugins={});if(E.id===this._cacheId)return E.descriptors;var P=[],L=[],X=h&&h.config||{},de=X.options&&X.options.plugins||{};return this._plugins.concat(X.plugins||[]).forEach(function(ve){if(-1===P.indexOf(ve)){var xe=ve.id,nt=de[xe];!1!==nt&&(!0===nt&&(nt=Fe.clone(vr.global.plugins[xe])),P.push(ve),L.push({plugin:ve,options:nt||{}}))}}),E.descriptors=L,E.id=this._cacheId,L},_invalidate:function(h){delete h.$plugins}},ec={constructors:{},defaults:{},registerScaleType:function(h,E,P){this.constructors[h]=E,this.defaults[h]=Fe.clone(P)},getScaleConstructor:function(h){return this.constructors.hasOwnProperty(h)?this.constructors[h]:void 0},getScaleDefaults:function(h){return this.defaults.hasOwnProperty(h)?Fe.merge(Object.create(null),[vr.scale,this.defaults[h]]):{}},updateScaleDefaults:function(h,E){var P=this;P.defaults.hasOwnProperty(h)&&(P.defaults[h]=Fe.extend(P.defaults[h],E))},addScalesToLayout:function(h){Fe.each(h.scales,function(E){E.fullWidth=E.options.fullWidth,E.position=E.options.position,E.weight=E.options.weight,Bl.addBox(h,E)})}},Sl=Fe.valueOrDefault,lu=Fe.rtl.getRtlAdapter;vr._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:Fe.noop,title:function(h,E){var P="",L=E.labels,X=L?L.length:0;if(h.length>0){var de=h[0];de.label?P=de.label:de.xLabel?P=de.xLabel:X>0&&de.index<X&&(P=L[de.index])}return P},afterTitle:Fe.noop,beforeBody:Fe.noop,beforeLabel:Fe.noop,label:function(h,E){var P=E.datasets[h.datasetIndex].label||"";return P&&(P+=": "),Fe.isNullOrUndef(h.value)?P+=h.yLabel:P+=h.value,P},labelColor:function(h,E){var X=E.getDatasetMeta(h.datasetIndex).data[h.index]._view;return{borderColor:X.borderColor,backgroundColor:X.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:Fe.noop,afterBody:Fe.noop,beforeFooter:Fe.noop,footer:Fe.noop,afterFooter:Fe.noop}}});var Eu={average:function(h){if(!h.length)return!1;var E,P,L=0,X=0,de=0;for(E=0,P=h.length;E<P;++E){var ve=h[E];if(ve&&ve.hasValue()){var Ye=ve.tooltipPosition();L+=Ye.x,X+=Ye.y,++de}}return{x:L/de,y:X/de}},nearest:function(h,E){var de,ve,Ye,P=E.x,L=E.y,X=Number.POSITIVE_INFINITY;for(de=0,ve=h.length;de<ve;++de){var xe=h[de];if(xe&&xe.hasValue()){var nt=xe.getCenterPoint(),St=Fe.distanceBetweenPoints(E,nt);St<X&&(X=St,Ye=xe)}}if(Ye){var Mt=Ye.tooltipPosition();P=Mt.x,L=Mt.y}return{x:P,y:L}}};function iu(h,E){return E&&(Fe.isArray(E)?Array.prototype.push.apply(h,E):h.push(E)),h}function ra(h){return("string"==typeof h||h instanceof String)&&h.indexOf("\n")>-1?h.split("\n"):h}function bu(h){var E=h._xScale,P=h._yScale||h._scale,L=h._index,X=h._datasetIndex,de=h._chart.getDatasetMeta(X).controller,ve=de._getIndexScale(),Ye=de._getValueScale();return{xLabel:E?E.getLabelForIndex(L,X):"",yLabel:P?P.getLabelForIndex(L,X):"",label:ve?""+ve.getLabelForIndex(L,X):"",value:Ye?""+Ye.getLabelForIndex(L,X):"",index:L,datasetIndex:X,x:h._model.x,y:h._model.y}}function td(h){var E=vr.global;return{xPadding:h.xPadding,yPadding:h.yPadding,xAlign:h.xAlign,yAlign:h.yAlign,rtl:h.rtl,textDirection:h.textDirection,bodyFontColor:h.bodyFontColor,_bodyFontFamily:Sl(h.bodyFontFamily,E.defaultFontFamily),_bodyFontStyle:Sl(h.bodyFontStyle,E.defaultFontStyle),_bodyAlign:h.bodyAlign,bodyFontSize:Sl(h.bodyFontSize,E.defaultFontSize),bodySpacing:h.bodySpacing,titleFontColor:h.titleFontColor,_titleFontFamily:Sl(h.titleFontFamily,E.defaultFontFamily),_titleFontStyle:Sl(h.titleFontStyle,E.defaultFontStyle),titleFontSize:Sl(h.titleFontSize,E.defaultFontSize),_titleAlign:h.titleAlign,titleSpacing:h.titleSpacing,titleMarginBottom:h.titleMarginBottom,footerFontColor:h.footerFontColor,_footerFontFamily:Sl(h.footerFontFamily,E.defaultFontFamily),_footerFontStyle:Sl(h.footerFontStyle,E.defaultFontStyle),footerFontSize:Sl(h.footerFontSize,E.defaultFontSize),_footerAlign:h.footerAlign,footerSpacing:h.footerSpacing,footerMarginTop:h.footerMarginTop,caretSize:h.caretSize,cornerRadius:h.cornerRadius,backgroundColor:h.backgroundColor,opacity:0,legendColorBackground:h.multiKeyBackground,displayColors:h.displayColors,borderColor:h.borderColor,borderWidth:h.borderWidth}}function nd(h,E){return"center"===E?h.x+h.width/2:"right"===E?h.x+h.width-h.xPadding:h.x+h.xPadding}function Uu(h){return iu([],ra(h))}var Yu=yt.extend({initialize:function(){this._model=td(this._options),this._lastActive=[]},getTitle:function(){var h=this,P=h._options.callbacks,L=P.beforeTitle.apply(h,arguments),X=P.title.apply(h,arguments),de=P.afterTitle.apply(h,arguments),ve=[];return ve=iu(ve,ra(L)),ve=iu(ve,ra(X)),iu(ve,ra(de))},getBeforeBody:function(){return Uu(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(h,E){var P=this,L=P._options.callbacks,X=[];return Fe.each(h,function(de){var ve={before:[],lines:[],after:[]};iu(ve.before,ra(L.beforeLabel.call(P,de,E))),iu(ve.lines,L.label.call(P,de,E)),iu(ve.after,ra(L.afterLabel.call(P,de,E))),X.push(ve)}),X},getAfterBody:function(){return Uu(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var h=this,E=h._options.callbacks,P=E.beforeFooter.apply(h,arguments),L=E.footer.apply(h,arguments),X=E.afterFooter.apply(h,arguments),de=[];return de=iu(de,ra(P)),de=iu(de,ra(L)),iu(de,ra(X))},update:function(h){var Mt,fn,E=this,P=E._options,L=E._model,X=E._model=td(P),de=E._active,ve=E._data,Ye={xAlign:L.xAlign,yAlign:L.yAlign},xe={x:L.x,y:L.y},nt={width:L.width,height:L.height},St={x:L.caretX,y:L.caretY};if(de.length){X.opacity=1;var jn=[],Vn=[];St=Eu[P.position].call(E,de,E._eventPosition);var fr=[];for(Mt=0,fn=de.length;Mt<fn;++Mt)fr.push(bu(de[Mt]));P.filter&&(fr=fr.filter(function($r){return P.filter($r,ve)})),P.itemSort&&(fr=fr.sort(function($r,Ui){return P.itemSort($r,Ui,ve)})),Fe.each(fr,function($r){jn.push(P.callbacks.labelColor.call(E,$r,E._chart)),Vn.push(P.callbacks.labelTextColor.call(E,$r,E._chart))}),X.title=E.getTitle(fr,ve),X.beforeBody=E.getBeforeBody(fr,ve),X.body=E.getBody(fr,ve),X.afterBody=E.getAfterBody(fr,ve),X.footer=E.getFooter(fr,ve),X.x=St.x,X.y=St.y,X.caretPadding=P.caretPadding,X.labelColors=jn,X.labelTextColors=Vn,X.dataPoints=fr,xe=function du(h,E,P,L){var X=h.x,de=h.y,Ye=h.caretPadding,nt=P.xAlign,St=P.yAlign,Mt=h.caretSize+Ye,fn=h.cornerRadius+Ye;return"right"===nt?X-=E.width:"center"===nt&&((X-=E.width/2)+E.width>L.width&&(X=L.width-E.width),X<0&&(X=0)),"top"===St?de+=Mt:de-="bottom"===St?E.height+Mt:E.height/2,"center"===St?"left"===nt?X+=Mt:"right"===nt&&(X-=Mt):"left"===nt?X-=fn:"right"===nt&&(X+=fn),{x:X,y:de}}(X,nt=function tc(h,E){var P=h._chart.ctx,L=2*E.yPadding,X=0,de=E.body,ve=de.reduce(function(Vn,fr){return Vn+fr.before.length+fr.lines.length+fr.after.length},0),Ye=E.title.length,xe=E.footer.length,nt=E.titleFontSize,St=E.bodyFontSize,Mt=E.footerFontSize;L+=Ye*nt,L+=Ye?(Ye-1)*E.titleSpacing:0,L+=Ye?E.titleMarginBottom:0,L+=(ve+=E.beforeBody.length+E.afterBody.length)*St,L+=ve?(ve-1)*E.bodySpacing:0,L+=xe?E.footerMarginTop:0,L+=xe*Mt,L+=xe?(xe-1)*E.footerSpacing:0;var fn=0,jn=function(Vn){X=Math.max(X,P.measureText(Vn).width+fn)};return P.font=Fe.fontString(nt,E._titleFontStyle,E._titleFontFamily),Fe.each(E.title,jn),P.font=Fe.fontString(St,E._bodyFontStyle,E._bodyFontFamily),Fe.each(E.beforeBody.concat(E.afterBody),jn),fn=E.displayColors?St+2:0,Fe.each(de,function(Vn){Fe.each(Vn.before,jn),Fe.each(Vn.lines,jn),Fe.each(Vn.after,jn)}),fn=0,P.font=Fe.fontString(Mt,E._footerFontStyle,E._footerFontFamily),Fe.each(E.footer,jn),{width:X+=2*E.xPadding,height:L}}(this,X),Ye=function uu(h,E){var P=h._model,L=h._chart,X=h._chart.chartArea,de="center",ve="center";P.y<E.height?ve="top":P.y>L.height-E.height&&(ve="bottom");var Ye,xe,nt,St,Mt,fn=(X.left+X.right)/2,jn=(X.top+X.bottom)/2;"center"===ve?(Ye=function(fr){return fr<=fn},xe=function(fr){return fr>fn}):(Ye=function(fr){return fr<=E.width/2},xe=function(fr){return fr>=L.width-E.width/2}),nt=function(fr){return fr+E.width+P.caretSize+P.caretPadding>L.width},St=function(fr){return fr-E.width-P.caretSize-P.caretPadding<0},Mt=function(fr){return fr<=jn?"top":"bottom"},Ye(P.x)?(de="left",nt(P.x)&&(de="center",ve=Mt(P.y))):xe(P.x)&&(de="right",St(P.x)&&(de="center",ve=Mt(P.y)));var Vn=h._options;return{xAlign:Vn.xAlign?Vn.xAlign:de,yAlign:Vn.yAlign?Vn.yAlign:ve}}(this,nt),E._chart)}else X.opacity=0;return X.xAlign=Ye.xAlign,X.yAlign=Ye.yAlign,X.x=xe.x,X.y=xe.y,X.width=nt.width,X.height=nt.height,X.caretX=St.x,X.caretY=St.y,E._model=X,h&&P.custom&&P.custom.call(E,X),E},drawCaret:function(h,E){var P=this._chart.ctx,X=this.getCaretPosition(h,E,this._view);P.lineTo(X.x1,X.y1),P.lineTo(X.x2,X.y2),P.lineTo(X.x3,X.y3)},getCaretPosition:function(h,E,P){var L,X,de,ve,Ye,xe,nt=P.caretSize,St=P.cornerRadius,Mt=P.xAlign,fn=P.yAlign,jn=h.x,Vn=h.y,fr=E.width,$r=E.height;if("center"===fn)Ye=Vn+$r/2,"left"===Mt?(X=(L=jn)-nt,de=L,ve=Ye+nt,xe=Ye-nt):(X=(L=jn+fr)+nt,de=L,ve=Ye-nt,xe=Ye+nt);else if("left"===Mt?(L=(X=jn+St+nt)-nt,de=X+nt):"right"===Mt?(L=(X=jn+fr-St-nt)-nt,de=X+nt):(L=(X=P.caretX)-nt,de=X+nt),"top"===fn)Ye=(ve=Vn)-nt,xe=ve;else{Ye=(ve=Vn+$r)+nt,xe=ve;var Ui=de;de=L,L=Ui}return{x1:L,x2:X,x3:de,y1:ve,y2:Ye,y3:xe}},drawTitle:function(h,E,P){var de,ve,Ye,L=E.title,X=L.length;if(X){var xe=lu(E.rtl,E.x,E.width);for(h.x=nd(E,E._titleAlign),P.textAlign=xe.textAlign(E._titleAlign),P.textBaseline="middle",de=E.titleFontSize,ve=E.titleSpacing,P.fillStyle=E.titleFontColor,P.font=Fe.fontString(de,E._titleFontStyle,E._titleFontFamily),Ye=0;Ye<X;++Ye)P.fillText(L[Ye],xe.x(h.x),h.y+de/2),h.y+=de+ve,Ye+1===X&&(h.y+=E.titleMarginBottom-ve)}},drawBody:function(h,E,P){var fn,jn,Vn,fr,$r,Ui,is,yo,L=E.bodyFontSize,X=E.bodySpacing,de=E._bodyAlign,ve=E.body,Ye=E.displayColors,xe=0,nt=Ye?nd(E,"left"):0,St=lu(E.rtl,E.x,E.width),Mt=function(el){P.fillText(el,St.x(h.x+xe),h.y+L/2),h.y+=L+X},Zs=St.textAlign(de);for(P.textAlign=de,P.textBaseline="middle",P.font=Fe.fontString(L,E._bodyFontStyle,E._bodyFontFamily),h.x=nd(E,Zs),P.fillStyle=E.bodyFontColor,Fe.each(E.beforeBody,Mt),xe=Ye&&"right"!==Zs?"center"===de?L/2+1:L+2:0,$r=0,is=ve.length;$r<is;++$r){for(fn=ve[$r],Vn=E.labelColors[$r],P.fillStyle=jn=E.labelTextColors[$r],Fe.each(fn.before,Mt),Ui=0,yo=(fr=fn.lines).length;Ui<yo;++Ui){if(Ye){var qs=St.x(nt);P.fillStyle=E.legendColorBackground,P.fillRect(St.leftForLtr(qs,L),h.y,L,L),P.lineWidth=1,P.strokeStyle=Vn.borderColor,P.strokeRect(St.leftForLtr(qs,L),h.y,L,L),P.fillStyle=Vn.backgroundColor,P.fillRect(St.leftForLtr(St.xPlus(qs,1),L-2),h.y+1,L-2,L-2),P.fillStyle=jn}Mt(fr[Ui])}Fe.each(fn.after,Mt)}xe=0,Fe.each(E.afterBody,Mt),h.y-=X},drawFooter:function(h,E,P){var de,ve,L=E.footer,X=L.length;if(X){var Ye=lu(E.rtl,E.x,E.width);for(h.x=nd(E,E._footerAlign),h.y+=E.footerMarginTop,P.textAlign=Ye.textAlign(E._footerAlign),P.textBaseline="middle",de=E.footerFontSize,P.fillStyle=E.footerFontColor,P.font=Fe.fontString(de,E._footerFontStyle,E._footerFontFamily),ve=0;ve<X;++ve)P.fillText(L[ve],Ye.x(h.x),h.y+de/2),h.y+=de+E.footerSpacing}},drawBackground:function(h,E,P,L){P.fillStyle=E.backgroundColor,P.strokeStyle=E.borderColor,P.lineWidth=E.borderWidth;var X=E.xAlign,de=E.yAlign,ve=h.x,Ye=h.y,xe=L.width,nt=L.height,St=E.cornerRadius;P.beginPath(),P.moveTo(ve+St,Ye),"top"===de&&this.drawCaret(h,L),P.lineTo(ve+xe-St,Ye),P.quadraticCurveTo(ve+xe,Ye,ve+xe,Ye+St),"center"===de&&"right"===X&&this.drawCaret(h,L),P.lineTo(ve+xe,Ye+nt-St),P.quadraticCurveTo(ve+xe,Ye+nt,ve+xe-St,Ye+nt),"bottom"===de&&this.drawCaret(h,L),P.lineTo(ve+St,Ye+nt),P.quadraticCurveTo(ve,Ye+nt,ve,Ye+nt-St),"center"===de&&"left"===X&&this.drawCaret(h,L),P.lineTo(ve,Ye+St),P.quadraticCurveTo(ve,Ye,ve+St,Ye),P.closePath(),P.fill(),E.borderWidth>0&&P.stroke()},draw:function(){var h=this._chart.ctx,E=this._view;if(0!==E.opacity){var P={width:E.width,height:E.height},L={x:E.x,y:E.y},X=Math.abs(E.opacity<.001)?0:E.opacity;this._options.enabled&&(E.title.length||E.beforeBody.length||E.body.length||E.afterBody.length||E.footer.length)&&(h.save(),h.globalAlpha=X,this.drawBackground(L,E,h,P),L.y+=E.yPadding,Fe.rtl.overrideTextDirection(h,E.textDirection),this.drawTitle(L,E,h),this.drawBody(L,E,h),this.drawFooter(L,E,h),Fe.rtl.restoreTextDirection(h,E.textDirection),h.restore())}},handleEvent:function(h){var L,E=this,P=E._options;return E._lastActive=E._lastActive||[],"mouseout"===h.type?E._active=[]:(E._active=E._chart.getElementsAtEventForMode(h,P.mode,P),P.reverse&&E._active.reverse()),(L=!Fe.arrayEquals(E._active,E._lastActive))&&(E._lastActive=E._active,(P.enabled||P.custom)&&(E._eventPosition={x:h.x,y:h.y},E.update(!0),E.pivot())),L}}),Ld=Yu;Ld.positioners=Eu;var Io=Fe.valueOrDefault;function fu(){return Fe.merge(Object.create(null),[].slice.call(arguments),{merger:function(h,E,P,L){if("xAxes"===h||"yAxes"===h){var de,ve,Ye,X=P[h].length;for(E[h]||(E[h]=[]),de=0;de<X;++de)ve=Io((Ye=P[h][de]).type,"xAxes"===h?"category":"linear"),de>=E[h].length&&E[h].push({}),Fe.merge(E[h][de],!E[h][de].type||Ye.type&&Ye.type!==E[h][de].type?[ec.getScaleDefaults(ve),Ye]:Ye)}else Fe._merger(h,E,P,L)}})}function Sr(){return Fe.merge(Object.create(null),[].slice.call(arguments),{merger:function(h,E,P,L){var X=E[h]||Object.create(null),de=P[h];"scales"===h?E[h]=fu(X,de):"scale"===h?E[h]=Fe.merge(X,[ec.getScaleDefaults(de.type),de]):Fe._merger(h,E,P,L)}})}function De(h){var E=h.options;Fe.each(h.scales,function(P){Bl.removeBox(h,P)}),E=Sr(vr.global,vr[h.config.type],E),h.options=h.config.options=E,h.ensureScalesHaveIDs(),h.buildOrUpdateScales(),h.tooltip._options=E.tooltips,h.tooltip.initialize()}function ct(h,E,P){var L,X=function(de){return de.id===L};do{L=E+P++}while(Fe.findIndex(h,X)>=0);return L}function It(h){return"top"===h||"bottom"===h}function Ht(h,E){return function(P,L){return P[h]===L[h]?P[E]-L[E]:P[h]-L[h]}}vr._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var _n=function(h,E){return this.construct(h,E),this};Fe.extend(_n.prototype,{construct:function(h,E){var P=this;E=function Z(h){var E=(h=h||Object.create(null)).data=h.data||{};return E.datasets=E.datasets||[],E.labels=E.labels||[],h.options=Sr(vr.global,vr[h.type],h.options||{}),h}(E);var L=Fa.acquireContext(h,E),X=L&&L.canvas,de=X&&X.height,ve=X&&X.width;P.id=Fe.uid(),P.ctx=L,P.canvas=X,P.config=E,P.width=ve,P.height=de,P.aspectRatio=de?ve/de:null,P.options=E.options,P._bufferedRender=!1,P._layers=[],P.chart=P,P.controller=P,_n.instances[P.id]=P,Object.defineProperty(P,"data",{get:function(){return P.config.data},set:function(Ye){P.config.data=Ye}}),L&&X?(P.initialize(),P.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var h=this;return Es.notify(h,"beforeInit"),Fe.retinaScale(h,h.options.devicePixelRatio),h.bindEvents(),h.options.responsive&&h.resize(!0),h.initToolTip(),Es.notify(h,"afterInit"),h},clear:function(){return Fe.canvas.clear(this),this},stop:function(){return Cr.cancelAnimation(this),this},resize:function(h){var E=this,P=E.options,L=E.canvas,X=P.maintainAspectRatio&&E.aspectRatio||null,de=Math.max(0,Math.floor(Fe.getMaximumWidth(L))),ve=Math.max(0,Math.floor(X?de/X:Fe.getMaximumHeight(L)));if((E.width!==de||E.height!==ve)&&(L.width=E.width=de,L.height=E.height=ve,L.style.width=de+"px",L.style.height=ve+"px",Fe.retinaScale(E,P.devicePixelRatio),!h)){var Ye={width:de,height:ve};Es.notify(E,"resize",[Ye]),P.onResize&&P.onResize(E,Ye),E.stop(),E.update({duration:P.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var h=this.options,E=h.scales||{},P=h.scale;Fe.each(E.xAxes,function(L,X){L.id||(L.id=ct(E.xAxes,"x-axis-",X))}),Fe.each(E.yAxes,function(L,X){L.id||(L.id=ct(E.yAxes,"y-axis-",X))}),P&&(P.id=P.id||"scale")},buildOrUpdateScales:function(){var h=this,E=h.options,P=h.scales||{},L=[],X=Object.keys(P).reduce(function(de,ve){return de[ve]=!1,de},{});E.scales&&(L=L.concat((E.scales.xAxes||[]).map(function(de){return{options:de,dtype:"category",dposition:"bottom"}}),(E.scales.yAxes||[]).map(function(de){return{options:de,dtype:"linear",dposition:"left"}}))),E.scale&&L.push({options:E.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),Fe.each(L,function(de){var ve=de.options,Ye=ve.id,xe=Io(ve.type,de.dtype);It(ve.position)!==It(de.dposition)&&(ve.position=de.dposition),X[Ye]=!0;var nt=null;if(Ye in P&&P[Ye].type===xe)(nt=P[Ye]).options=ve,nt.ctx=h.ctx,nt.chart=h;else{var St=ec.getScaleConstructor(xe);if(!St)return;nt=new St({id:Ye,type:xe,options:ve,ctx:h.ctx,chart:h}),P[nt.id]=nt}nt.mergeTicksOptions(),de.isDefault&&(h.scale=nt)}),Fe.each(X,function(de,ve){de||delete P[ve]}),h.scales=P,ec.addScalesToLayout(this)},buildOrUpdateControllers:function(){var L,X,h=this,E=[],P=h.data.datasets;for(L=0,X=P.length;L<X;L++){var de=P[L],ve=h.getDatasetMeta(L),Ye=de.type||h.config.type;if(ve.type&&ve.type!==Ye&&(h.destroyDatasetMeta(L),ve=h.getDatasetMeta(L)),ve.type=Ye,ve.order=de.order||0,ve.index=L,ve.controller)ve.controller.updateIndex(L),ve.controller.linkScales();else{var xe=Oi[ve.type];if(void 0===xe)throw new Error('"'+ve.type+'" is not a chart type.');ve.controller=new xe(h,L),E.push(ve.controller)}}return E},resetElements:function(){var h=this;Fe.each(h.data.datasets,function(E,P){h.getDatasetMeta(P).controller.reset()},h)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(h){var P,L,E=this;if((!h||"object"!=typeof h)&&(h={duration:h,lazy:arguments[1]}),De(E),Es._invalidate(E),!1!==Es.notify(E,"beforeUpdate")){E.tooltip._data=E.data;var X=E.buildOrUpdateControllers();for(P=0,L=E.data.datasets.length;P<L;P++)E.getDatasetMeta(P).controller.buildOrUpdateElements();E.updateLayout(),E.options.animation&&E.options.animation.duration&&Fe.each(X,function(de){de.reset()}),E.updateDatasets(),E.tooltip.initialize(),E.lastActive=[],Es.notify(E,"afterUpdate"),E._layers.sort(Ht("z","_idx")),E._bufferedRender?E._bufferedRequest={duration:h.duration,easing:h.easing,lazy:h.lazy}:E.render(h)}},updateLayout:function(){var h=this;!1!==Es.notify(h,"beforeLayout")&&(Bl.update(this,this.width,this.height),h._layers=[],Fe.each(h.boxes,function(E){E._configure&&E._configure(),h._layers.push.apply(h._layers,E._layers())},h),h._layers.forEach(function(E,P){E._idx=P}),Es.notify(h,"afterScaleUpdate"),Es.notify(h,"afterLayout"))},updateDatasets:function(){var h=this;if(!1!==Es.notify(h,"beforeDatasetsUpdate")){for(var E=0,P=h.data.datasets.length;E<P;++E)h.updateDataset(E);Es.notify(h,"afterDatasetsUpdate")}},updateDataset:function(h){var E=this,P=E.getDatasetMeta(h),L={meta:P,index:h};!1!==Es.notify(E,"beforeDatasetUpdate",[L])&&(P.controller._update(),Es.notify(E,"afterDatasetUpdate",[L]))},render:function(h){var E=this;(!h||"object"!=typeof h)&&(h={duration:h,lazy:arguments[1]});var P=E.options.animation,L=Io(h.duration,P&&P.duration),X=h.lazy;if(!1!==Es.notify(E,"beforeRender")){var de=function(Ye){Es.notify(E,"afterRender"),Fe.callback(P&&P.onComplete,[Ye],E)};if(P&&L){var ve=new yn({numSteps:L/16.66,easing:h.easing||P.easing,render:function(Ye,xe){var St=xe.currentStep,Mt=St/xe.numSteps;Ye.draw((0,Fe.easing.effects[xe.easing])(Mt),Mt,St)},onAnimationProgress:P.onProgress,onAnimationComplete:de});Cr.addAnimation(E,ve,L,X)}else E.draw(),de(new yn({numSteps:0,chart:E}));return E}},draw:function(h){var P,L,E=this;if(E.clear(),Fe.isNullOrUndef(h)&&(h=1),E.transition(h),!(E.width<=0||E.height<=0)&&!1!==Es.notify(E,"beforeDraw",[h])){for(L=E._layers,P=0;P<L.length&&L[P].z<=0;++P)L[P].draw(E.chartArea);for(E.drawDatasets(h);P<L.length;++P)L[P].draw(E.chartArea);E._drawTooltip(h),Es.notify(E,"afterDraw",[h])}},transition:function(h){for(var E=this,P=0,L=(E.data.datasets||[]).length;P<L;++P)E.isDatasetVisible(P)&&E.getDatasetMeta(P).controller.transition(h);E.tooltip.transition(h)},_getSortedDatasetMetas:function(h){var X,de,E=this,L=[];for(X=0,de=(E.data.datasets||[]).length;X<de;++X)(!h||E.isDatasetVisible(X))&&L.push(E.getDatasetMeta(X));return L.sort(Ht("order","index")),L},_getSortedVisibleDatasetMetas:function(){return this._getSortedDatasetMetas(!0)},drawDatasets:function(h){var P,L,E=this;if(!1!==Es.notify(E,"beforeDatasetsDraw",[h])){for(L=(P=E._getSortedVisibleDatasetMetas()).length-1;L>=0;--L)E.drawDataset(P[L],h);Es.notify(E,"afterDatasetsDraw",[h])}},drawDataset:function(h,E){var L={meta:h,index:h.index,easingValue:E};!1!==Es.notify(this,"beforeDatasetDraw",[L])&&(h.controller.draw(E),Es.notify(this,"afterDatasetDraw",[L]))},_drawTooltip:function(h){var E=this,P=E.tooltip,L={tooltip:P,easingValue:h};!1!==Es.notify(E,"beforeTooltipDraw",[L])&&(P.draw(),Es.notify(E,"afterTooltipDraw",[L]))},getElementAtEvent:function(h){return sl.modes.single(this,h)},getElementsAtEvent:function(h){return sl.modes.label(this,h,{intersect:!0})},getElementsAtXAxis:function(h){return sl.modes["x-axis"](this,h,{intersect:!0})},getElementsAtEventForMode:function(h,E,P){var L=sl.modes[E];return"function"==typeof L?L(this,h,P):[]},getDatasetAtEvent:function(h){return sl.modes.dataset(this,h,{intersect:!0})},getDatasetMeta:function(h){var E=this,P=E.data.datasets[h];P._meta||(P._meta={});var L=P._meta[E.id];return L||(L=P._meta[E.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:P.order||0,index:h}),L},getVisibleDatasetCount:function(){for(var h=0,E=0,P=this.data.datasets.length;E<P;++E)this.isDatasetVisible(E)&&h++;return h},isDatasetVisible:function(h){var E=this.getDatasetMeta(h);return"boolean"==typeof E.hidden?!E.hidden:!this.data.datasets[h].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(h){var E=this.id,P=this.data.datasets[h],L=P._meta&&P._meta[E];L&&(L.controller.destroy(),delete P._meta[E])},destroy:function(){var P,L,h=this,E=h.canvas;for(h.stop(),P=0,L=h.data.datasets.length;P<L;++P)h.destroyDatasetMeta(P);E&&(h.unbindEvents(),Fe.canvas.clear(h),Fa.releaseContext(h.ctx),h.canvas=null,h.ctx=null),Es.notify(h,"destroy"),delete _n.instances[h.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var h=this;h.tooltip=new Ld({_chart:h,_chartInstance:h,_data:h.data,_options:h.options.tooltips},h)},bindEvents:function(){var h=this,E=h._listeners={},P=function(){h.eventHandler.apply(h,arguments)};Fe.each(h.options.events,function(L){Fa.addEventListener(h,L,P),E[L]=P}),h.options.responsive&&(P=function(){h.resize()},Fa.addEventListener(h,"resize",P),E.resize=P)},unbindEvents:function(){var h=this,E=h._listeners;!E||(delete h._listeners,Fe.each(E,function(P,L){Fa.removeEventListener(h,L,P)}))},updateHoverStyle:function(h,E,P){var X,de,ve,L=P?"set":"remove";for(de=0,ve=h.length;de<ve;++de)(X=h[de])&&this.getDatasetMeta(X._datasetIndex).controller[L+"HoverStyle"](X);"dataset"===E&&this.getDatasetMeta(h[0]._datasetIndex).controller["_"+L+"DatasetHoverStyle"]()},eventHandler:function(h){var E=this,P=E.tooltip;if(!1!==Es.notify(E,"beforeEvent",[h])){E._bufferedRender=!0,E._bufferedRequest=null;var L=E.handleEvent(h);P&&(L=P._start?P.handleEvent(h):L|P.handleEvent(h)),Es.notify(E,"afterEvent",[h]);var X=E._bufferedRequest;return X?E.render(X):L&&!E.animating&&(E.stop(),E.render({duration:E.options.hover.animationDuration,lazy:!0})),E._bufferedRender=!1,E._bufferedRequest=null,E}},handleEvent:function(h){var X,E=this,P=E.options||{},L=P.hover;return E.lastActive=E.lastActive||[],E.active="mouseout"===h.type?[]:E.getElementsAtEventForMode(h,L.mode,L),Fe.callback(P.onHover||P.hover.onHover,[h.native,E.active],E),("mouseup"===h.type||"click"===h.type)&&P.onClick&&P.onClick.call(E,h.native,E.active),E.lastActive.length&&E.updateHoverStyle(E.lastActive,L.mode,!1),E.active.length&&L.mode&&E.updateHoverStyle(E.active,L.mode,!0),X=!Fe.arrayEquals(E.active,E.lastActive),E.lastActive=E.active,X}}),_n.instances={};var Pn=_n;_n.Controller=_n,_n.types={},Fe.configMerge=Sr,Fe.scaleMerge=fu;function ai(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function Ei(h){this.options=h||{}}Fe.extend(Ei.prototype,{formats:ai,parse:ai,format:ai,add:ai,diff:ai,startOf:ai,endOf:ai,_create:function(h){return h}}),Ei.override=function(h){Fe.extend(Ei.prototype,h)};var Vi={_date:Ei},Pr={formatters:{values:function(h){return Fe.isArray(h)?h:""+h},linear:function(h,E,P){var L=P.length>3?P[2]-P[1]:P[1]-P[0];Math.abs(L)>1&&h!==Math.floor(h)&&(L=h-Math.floor(h));var X=Fe.log10(Math.abs(L)),de="";if(0!==h)if(Math.max(Math.abs(P[0]),Math.abs(P[P.length-1]))<1e-4){var Ye=Fe.log10(Math.abs(h)),xe=Math.floor(Ye)-Math.floor(X);xe=Math.max(Math.min(xe,20),0),de=h.toExponential(xe)}else{var nt=-1*Math.floor(X);nt=Math.max(Math.min(nt,20),0),de=h.toFixed(nt)}else de="0";return de},logarithmic:function(h,E,P){var L=h/Math.pow(10,Math.floor(Fe.log10(h)));return 0===h?"0":1===L||2===L||5===L||0===E||E===P.length-1?h.toExponential():""}}},Yn=Fe.isArray,Rr=Fe.isNullOrUndef,br=Fe.valueOrDefault,fo=Fe.valueAtIndexOrDefault;function ls(h,E,P){var nt,L=h.getTicks().length,X=Math.min(E,L-1),de=h.getPixelForTick(X),ve=h._startPixel,Ye=h._endPixel;if(!(P&&(nt=1===L?Math.max(de-ve,Ye-de):0===E?(h.getPixelForTick(1)-de)/2:(de-h.getPixelForTick(X-1))/2,de+=X<E?nt:-nt,de<ve-1e-6||de>Ye+1e-6)))return de}function Us(h,E,P,L){var St,Mt,fn,jn,Vn,fr,$r,Ui,is,yo,Zs,qs,el,X=P.length,de=[],ve=[],Ye=[],xe=0,nt=0;for(St=0;St<X;++St){if(jn=P[St].label,h.font=fr=(Vn=P[St].major?E.major:E.minor).string,$r=L[fr]=L[fr]||{data:{},gc:[]},Ui=Vn.lineHeight,is=yo=0,Rr(jn)||Yn(jn)){if(Yn(jn))for(Mt=0,fn=jn.length;Mt<fn;++Mt)!Rr(Zs=jn[Mt])&&!Yn(Zs)&&(is=Fe.measureText(h,$r.data,$r.gc,is,Zs),yo+=Ui)}else is=Fe.measureText(h,$r.data,$r.gc,is,jn),yo=Ui;de.push(is),ve.push(yo),Ye.push(Ui/2),xe=Math.max(is,xe),nt=Math.max(yo,nt)}function $a(Ga){return{width:de[Ga]||0,height:ve[Ga]||0,offset:Ye[Ga]||0}}return function _l(h,E){Fe.each(h,function(P){var de,L=P.gc,X=L.length/2;if(X>E){for(de=0;de<X;++de)delete P.data[L[de]];L.splice(0,X)}})}(L,X),qs=de.indexOf(xe),el=ve.indexOf(nt),{first:$a(0),last:$a(X-1),widest:$a(qs),highest:$a(el)}}function Zc(h){return h.drawTicks?h.tickMarkLength:0}function Ic(h){var E,P;return h.display?(E=Fe.options._parseFont(h),P=Fe.options.toPadding(h.padding),E.lineHeight+P.height):0}function Pu(h,E){return Fe.extend(Fe.options._parseFont({fontFamily:br(E.fontFamily,h.fontFamily),fontSize:br(E.fontSize,h.fontSize),fontStyle:br(E.fontStyle,h.fontStyle),lineHeight:br(E.lineHeight,h.lineHeight)}),{color:Fe.options.resolve([E.fontColor,h.fontColor,vr.global.defaultFontColor])})}function Su(h){var E=Pu(h,h.minor);return{minor:E,major:h.major.enabled?Pu(h,h.major):E}}function Zd(h){var P,L,X,E=[];for(L=0,X=h.length;L<X;++L)void 0!==(P=h[L])._index&&E.push(P);return E}function kd(h,E,P,L){var Ye,xe,nt,St,X=br(P,0),de=Math.min(br(L,h.length),h.length),ve=0;for(E=Math.ceil(E),L&&(E=(Ye=L-P)/Math.floor(Ye/E)),St=X;St<0;)ve++,St=Math.round(X+ve*E);for(xe=Math.max(X,0);xe<de;xe++)nt=h[xe],xe===St?(nt._index=xe,ve++,St=Math.round(X+ve*E)):delete nt.label}vr._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:Pr.formatters.values,minor:{},major:{}}});var Oc=yt.extend({zeroLineIndex:0,getPadding:function(){var h=this;return{left:h.paddingLeft||0,top:h.paddingTop||0,right:h.paddingRight||0,bottom:h.paddingBottom||0}},getTicks:function(){return this._ticks},_getLabels:function(){var h=this.chart.data;return this.options.labels||(this.isHorizontal()?h.xLabels:h.yLabels)||h.labels||[]},mergeTicksOptions:function(){},beforeUpdate:function(){Fe.callback(this.options.beforeUpdate,[this])},update:function(h,E,P){var ve,Ye,xe,nt,St,L=this,X=L.options.ticks,de=X.sampleSize;if(L.beforeUpdate(),L.maxWidth=h,L.maxHeight=E,L.margins=Fe.extend({left:0,right:0,top:0,bottom:0},P),L._ticks=null,L.ticks=null,L._labelSizes=null,L._maxLabelLines=0,L.longestLabelWidth=0,L.longestTextCache=L.longestTextCache||{},L._gridLineItems=null,L._labelItems=null,L.beforeSetDimensions(),L.setDimensions(),L.afterSetDimensions(),L.beforeDataLimits(),L.determineDataLimits(),L.afterDataLimits(),L.beforeBuildTicks(),nt=L.buildTicks()||[],(!(nt=L.afterBuildTicks(nt)||nt)||!nt.length)&&L.ticks)for(nt=[],ve=0,Ye=L.ticks.length;ve<Ye;++ve)nt.push({value:L.ticks[ve],major:!1});return L._ticks=nt,xe=L._convertTicksToLabels((St=de<nt.length)?function $s(h,E){for(var P=[],L=h.length/E,X=0,de=h.length;X<de;X+=L)P.push(h[Math.floor(X)]);return P}(nt,de):nt),L._configure(),L.beforeCalculateTickRotation(),L.calculateTickRotation(),L.afterCalculateTickRotation(),L.beforeFit(),L.fit(),L.afterFit(),L._ticksToDraw=X.display&&(X.autoSkip||"auto"===X.source)?L._autoSkip(nt):nt,St&&(xe=L._convertTicksToLabels(L._ticksToDraw)),L.ticks=xe,L.afterUpdate(),L.minSize},_configure:function(){var P,L,h=this,E=h.options.ticks.reverse;h.isHorizontal()?(P=h.left,L=h.right):(P=h.top,L=h.bottom,E=!E),h._startPixel=P,h._endPixel=L,h._reversePixels=E,h._length=L-P},afterUpdate:function(){Fe.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){Fe.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var h=this;h.isHorizontal()?(h.width=h.maxWidth,h.left=0,h.right=h.width):(h.height=h.maxHeight,h.top=0,h.bottom=h.height),h.paddingLeft=0,h.paddingTop=0,h.paddingRight=0,h.paddingBottom=0},afterSetDimensions:function(){Fe.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){Fe.callback(this.options.beforeDataLimits,[this])},determineDataLimits:Fe.noop,afterDataLimits:function(){Fe.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){Fe.callback(this.options.beforeBuildTicks,[this])},buildTicks:Fe.noop,afterBuildTicks:function(h){var E=this;return Yn(h)&&h.length?Fe.callback(E.options.afterBuildTicks,[E,h]):(E.ticks=Fe.callback(E.options.afterBuildTicks,[E,E.ticks])||E.ticks,h)},beforeTickToLabelConversion:function(){Fe.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var h=this,E=h.options.ticks;h.ticks=h.ticks.map(E.userCallback||E.callback,this)},afterTickToLabelConversion:function(){Fe.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){Fe.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var Ye,xe,nt,St,Mt,fn,jn,h=this,E=h.options,P=E.ticks,L=h.getTicks().length,X=P.minRotation||0,de=P.maxRotation,ve=X;!h._isVisible()||!P.display||X>=de||L<=1||!h.isHorizontal()?h.labelRotation=X:(xe=(Ye=h._getLabelSizes()).widest.width,nt=Ye.highest.height-Ye.highest.offset,St=Math.min(h.maxWidth,h.chart.width-xe),xe+6>(Mt=E.offset?h.maxWidth/L:St/(L-1))&&(Mt=St/(L-(E.offset?.5:1)),fn=h.maxHeight-Zc(E.gridLines)-P.padding-Ic(E.scaleLabel),jn=Math.sqrt(xe*xe+nt*nt),ve=Fe.toDegrees(Math.min(Math.asin(Math.min((Ye.highest.height+6)/Mt,1)),Math.asin(Math.min(fn/jn,1))-Math.asin(nt/jn))),ve=Math.max(X,Math.min(de,ve))),h.labelRotation=ve)},afterCalculateTickRotation:function(){Fe.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){Fe.callback(this.options.beforeFit,[this])},fit:function(){var h=this,E=h.minSize={width:0,height:0},P=h.chart,L=h.options,X=L.ticks,de=L.scaleLabel,ve=L.gridLines,Ye=h._isVisible(),xe="bottom"===L.position,nt=h.isHorizontal();if(nt?E.width=h.maxWidth:Ye&&(E.width=Zc(ve)+Ic(de)),nt?Ye&&(E.height=Zc(ve)+Ic(de)):E.height=h.maxHeight,X.display&&Ye){var St=Su(X),Mt=h._getLabelSizes(),fn=Mt.first,jn=Mt.last,Vn=Mt.widest,fr=Mt.highest,$r=.4*St.minor.lineHeight,Ui=X.padding;if(nt){var is=0!==h.labelRotation,yo=Fe.toRadians(h.labelRotation),Zs=Math.cos(yo),qs=Math.sin(yo);E.height=Math.min(h.maxHeight,E.height+(qs*Vn.width+Zs*(fr.height-(is?fr.offset:0))+(is?0:$r))+Ui);var wa,Gl,$a=h.getPixelForTick(0)-h.left,Ga=h.right-h.getPixelForTick(h.getTicks().length-1);is?(wa=xe?Zs*fn.width+qs*fn.offset:qs*(fn.height-fn.offset),Gl=xe?qs*(jn.height-jn.offset):Zs*jn.width+qs*jn.offset):(wa=fn.width/2,Gl=jn.width/2),h.paddingLeft=Math.max((wa-$a)*h.width/(h.width-$a),0)+3,h.paddingRight=Math.max((Gl-Ga)*h.width/(h.width-Ga),0)+3}else E.width=Math.min(h.maxWidth,E.width+(X.mirror?0:Vn.width+Ui+$r)),h.paddingTop=fn.height/2,h.paddingBottom=jn.height/2}h.handleMargins(),nt?(h.width=h._length=P.width-h.margins.left-h.margins.right,h.height=E.height):(h.width=E.width,h.height=h._length=P.height-h.margins.top-h.margins.bottom)},handleMargins:function(){var h=this;h.margins&&(h.margins.left=Math.max(h.paddingLeft,h.margins.left),h.margins.top=Math.max(h.paddingTop,h.margins.top),h.margins.right=Math.max(h.paddingRight,h.margins.right),h.margins.bottom=Math.max(h.paddingBottom,h.margins.bottom))},afterFit:function(){Fe.callback(this.options.afterFit,[this])},isHorizontal:function(){var h=this.options.position;return"top"===h||"bottom"===h},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(h){if(Rr(h))return NaN;if(("number"==typeof h||h instanceof Number)&&!isFinite(h))return NaN;if(h)if(this.isHorizontal()){if(void 0!==h.x)return this.getRightValue(h.x)}else if(void 0!==h.y)return this.getRightValue(h.y);return h},_convertTicksToLabels:function(h){var P,L,X,E=this;for(E.ticks=h.map(function(de){return de.value}),E.beforeTickToLabelConversion(),P=E.convertTicksToLabels(h)||E.ticks,E.afterTickToLabelConversion(),L=0,X=h.length;L<X;++L)h[L].label=P[L];return P},_getLabelSizes:function(){var h=this,E=h._labelSizes;return E||(h._labelSizes=E=Us(h.ctx,Su(h.options.ticks),h.getTicks(),h.longestTextCache),h.longestLabelWidth=E.widest.width),E},_parseValue:function(h){var E,P,L,X;return Yn(h)?(E=+this.getRightValue(h[0]),P=+this.getRightValue(h[1]),L=Math.min(E,P),X=Math.max(E,P)):(E=void 0,P=h=+this.getRightValue(h),L=h,X=h),{min:L,max:X,start:E,end:P}},_getScaleLabel:function(h){var E=this._parseValue(h);return void 0!==E.start?"["+E.start+", "+E.end+"]":+this.getRightValue(h)},getLabelForIndex:Fe.noop,getPixelForValue:Fe.noop,getValueForPixel:Fe.noop,getPixelForTick:function(h){var E=this,P=E.options.offset,L=E._ticks.length,X=1/Math.max(L-(P?0:1),1);return h<0||h>L-1?null:E.getPixelForDecimal(h*X+(P?X/2:0))},getPixelForDecimal:function(h){var E=this;return E._reversePixels&&(h=1-h),E._startPixel+h*E._length},getDecimalForPixel:function(h){var E=(h-this._startPixel)/this._length;return this._reversePixels?1-E:E},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var h=this,E=h.min,P=h.max;return h.beginAtZero?0:E<0&&P<0?P:E>0&&P>0?E:0},_autoSkip:function(h){var nt,St,Mt,fn,E=this,P=E.options.ticks,L=E._length,X=P.maxTicksLimit||L/E._tickSize()+1,de=P.major.enabled?function Hc(h){var P,L,E=[];for(P=0,L=h.length;P<L;P++)h[P].major&&E.push(P);return E}(h):[],ve=de.length,Ye=de[0],xe=de[ve-1];if(ve>X)return function La(h,E,P){var de,ve,L=0,X=E[0];for(P=Math.ceil(P),de=0;de<h.length;de++)ve=h[de],de===X?(ve._index=de,X=E[++L*P]):delete ve.label}(h,de,ve/X),Zd(h);if(Mt=function md(h,E,P,L){var ve,Ye,xe,nt,X=function _d(h){var P,L,E=h.length;if(E<2)return!1;for(L=h[0],P=1;P<E;++P)if(h[P]-h[P-1]!==L)return!1;return L}(h),de=(E.length-1)/L;if(!X)return Math.max(de,1);for(xe=0,nt=(ve=Fe.math._factorize(X)).length-1;xe<nt;xe++)if((Ye=ve[xe])>de)return Ye;return Math.max(de,1)}(de,h,0,X),ve>0){for(nt=0,St=ve-1;nt<St;nt++)kd(h,Mt,de[nt],de[nt+1]);return kd(h,Mt,Fe.isNullOrUndef(fn=ve>1?(xe-Ye)/(ve-1):null)?0:Ye-fn,Ye),kd(h,Mt,xe,Fe.isNullOrUndef(fn)?h.length:xe+fn),Zd(h)}return kd(h,Mt),Zd(h)},_tickSize:function(){var h=this,E=h.options.ticks,P=Fe.toRadians(h.labelRotation),L=Math.abs(Math.cos(P)),X=Math.abs(Math.sin(P)),de=h._getLabelSizes(),ve=E.autoSkipPadding||0,Ye=de?de.widest.width+ve:0,xe=de?de.highest.height+ve:0;return h.isHorizontal()?xe*L>Ye*X?Ye/L:xe/X:xe*X<Ye*L?xe/L:Ye/X},_isVisible:function(){var L,X,de,h=this,E=h.chart,P=h.options.display;if("auto"!==P)return!!P;for(L=0,X=E.data.datasets.length;L<X;++L)if(E.isDatasetVisible(L)&&((de=E.getDatasetMeta(L)).xAxisID===h.id||de.yAxisID===h.id))return!0;return!1},_computeGridLineItems:function(h){var $r,Ui,is,yo,Zs,qs,el,$a,Ga,wa,Gl,_u,Va,Mu,ku,xc,Ou,E=this,P=E.chart,L=E.options,X=L.gridLines,de=L.position,ve=X.offsetGridLines,Ye=E.isHorizontal(),xe=E._ticksToDraw,nt=xe.length+(ve?1:0),St=Zc(X),Mt=[],fn=X.drawBorder?fo(X.lineWidth,0,0):0,jn=fn/2,Vn=Fe._alignPixel,fr=function(Qd){return Vn(P,Qd,fn)};for("top"===de?($r=fr(E.bottom),el=E.bottom-St,Ga=$r-jn,Gl=fr(h.top)+jn,Va=h.bottom):"bottom"===de?($r=fr(E.top),Gl=h.top,Va=fr(h.bottom)-jn,el=$r+jn,Ga=E.top+St):"left"===de?($r=fr(E.right),qs=E.right-St,$a=$r-jn,wa=fr(h.left)+jn,_u=h.right):($r=fr(E.left),wa=h.left,_u=fr(h.right)-jn,qs=$r+jn,$a=E.left+St),Ui=0;Ui<nt;++Ui)!(Rr((is=xe[Ui]||{}).label)&&Ui<xe.length)&&(Ui===E.zeroLineIndex&&L.offset===ve?(Mu=X.zeroLineWidth,ku=X.zeroLineColor,xc=X.zeroLineBorderDash||[],Ou=X.zeroLineBorderDashOffset||0):(Mu=fo(X.lineWidth,Ui,1),ku=fo(X.color,Ui,"rgba(0,0,0,0.1)"),xc=X.borderDash||[],Ou=X.borderDashOffset||0),void 0!==(yo=ls(E,is._index||Ui,ve))&&(Zs=Vn(P,yo,Mu),Ye?qs=$a=wa=_u=Zs:el=Ga=Gl=Va=Zs,Mt.push({tx1:qs,ty1:el,tx2:$a,ty2:Ga,x1:wa,y1:Gl,x2:_u,y2:Va,width:Mu,color:ku,borderDash:xc,borderDashOffset:Ou})));return Mt.ticksLength=nt,Mt.borderValue=$r,Mt},_computeLabelItems:function(){var fn,jn,Vn,fr,$r,Ui,is,yo,Zs,qs,el,$a,h=this,E=h.options,P=E.ticks,L=E.position,X=P.mirror,de=h.isHorizontal(),ve=h._ticksToDraw,Ye=Su(P),xe=P.padding,nt=Zc(E.gridLines),St=-Fe.toRadians(h.labelRotation),Mt=[];for("top"===L?(Ui=h.bottom-nt-xe,is=St?"left":"center"):"bottom"===L?(Ui=h.top+nt+xe,is=St?"right":"center"):"left"===L?($r=h.right-(X?0:nt)-xe,is=X?"left":"right"):($r=h.left+(X?0:nt)+xe,is=X?"right":"left"),fn=0,jn=ve.length;fn<jn;++fn)!Rr(fr=(Vn=ve[fn]).label)&&(yo=h.getPixelForTick(Vn._index||fn)+P.labelOffset,qs=(Zs=Vn.major?Ye.major:Ye.minor).lineHeight,el=Yn(fr)?fr.length:1,de?($r=yo,$a="top"===L?((St?1:.5)-el)*qs:(St?0:.5)*qs):(Ui=yo,$a=(1-el)*qs/2),Mt.push({x:$r,y:Ui,rotation:St,label:fr,font:Zs,textOffset:$a,textAlign:is}));return Mt},_drawGrid:function(h){var E=this,P=E.options.gridLines;if(P.display){var xe,nt,St,Mt,fn,L=E.ctx,X=E.chart,de=Fe._alignPixel,ve=P.drawBorder?fo(P.lineWidth,0,0):0,Ye=E._gridLineItems||(E._gridLineItems=E._computeGridLineItems(h));for(St=0,Mt=Ye.length;St<Mt;++St)nt=(fn=Ye[St]).color,(xe=fn.width)&&nt&&(L.save(),L.lineWidth=xe,L.strokeStyle=nt,L.setLineDash&&(L.setLineDash(fn.borderDash),L.lineDashOffset=fn.borderDashOffset),L.beginPath(),P.drawTicks&&(L.moveTo(fn.tx1,fn.ty1),L.lineTo(fn.tx2,fn.ty2)),P.drawOnChartArea&&(L.moveTo(fn.x1,fn.y1),L.lineTo(fn.x2,fn.y2)),L.stroke(),L.restore());if(ve){var $r,Ui,is,yo,jn=ve,Vn=fo(P.lineWidth,Ye.ticksLength-1,1),fr=Ye.borderValue;E.isHorizontal()?($r=de(X,E.left,jn)-jn/2,Ui=de(X,E.right,Vn)+Vn/2,is=yo=fr):(is=de(X,E.top,jn)-jn/2,yo=de(X,E.bottom,Vn)+Vn/2,$r=Ui=fr),L.lineWidth=ve,L.strokeStyle=fo(P.color,0),L.beginPath(),L.moveTo($r,is),L.lineTo(Ui,yo),L.stroke()}}},_drawLabels:function(){var h=this;if(h.options.ticks.display){var X,de,ve,Ye,xe,nt,St,Mt,P=h.ctx,L=h._labelItems||(h._labelItems=h._computeLabelItems());for(X=0,ve=L.length;X<ve;++X){if(nt=(xe=L[X]).font,P.save(),P.translate(xe.x,xe.y),P.rotate(xe.rotation),P.font=nt.string,P.fillStyle=nt.color,P.textBaseline="middle",P.textAlign=xe.textAlign,Mt=xe.textOffset,Yn(St=xe.label))for(de=0,Ye=St.length;de<Ye;++de)P.fillText(""+St[de],0,Mt),Mt+=nt.lineHeight;else P.fillText(St,0,Mt);P.restore()}}},_drawTitle:function(){var h=this,E=h.ctx,P=h.options,L=P.scaleLabel;if(L.display){var St,Mt,X=br(L.fontColor,vr.global.defaultFontColor),de=Fe.options._parseFont(L),ve=Fe.options.toPadding(L.padding),Ye=de.lineHeight/2,xe=P.position,nt=0;if(h.isHorizontal())St=h.left+h.width/2,Mt="bottom"===xe?h.bottom-Ye-ve.bottom:h.top+Ye+ve.top;else{var fn="left"===xe;St=fn?h.left+Ye+ve.top:h.right-Ye-ve.top,Mt=h.top+h.height/2,nt=fn?-.5*Math.PI:.5*Math.PI}E.save(),E.translate(St,Mt),E.rotate(nt),E.textAlign="center",E.textBaseline="middle",E.fillStyle=X,E.font=de.string,E.fillText(L.labelString,0,0),E.restore()}},draw:function(h){var E=this;!E._isVisible()||(E._drawGrid(h),E._drawTitle(),E._drawLabels())},_layers:function(){var h=this,E=h.options,P=E.ticks&&E.ticks.z||0,L=E.gridLines&&E.gridLines.z||0;return h._isVisible()&&P!==L&&h.draw===h._draw?[{z:L,draw:function(){h._drawGrid.apply(h,arguments),h._drawTitle.apply(h,arguments)}},{z:P,draw:function(){h._drawLabels.apply(h,arguments)}}]:[{z:P,draw:function(){h.draw.apply(h,arguments)}}]},_getMatchingVisibleMetas:function(h){var E=this,P=E.isHorizontal();return E.chart._getSortedVisibleDatasetMetas().filter(function(L){return(!h||L.type===h)&&(P?L.xAxisID===E.id:L.yAxisID===E.id)})}});Oc.prototype._draw=Oc.prototype.draw;var Mo=Oc,wo=Fe.isNullOrUndef,Tl=Mo.extend({determineDataLimits:function(){var Ye,h=this,E=h._getLabels(),P=h.options.ticks,L=P.min,X=P.max,de=0,ve=E.length-1;void 0!==L&&(Ye=E.indexOf(L))>=0&&(de=Ye),void 0!==X&&(Ye=E.indexOf(X))>=0&&(ve=Ye),h.minIndex=de,h.maxIndex=ve,h.min=E[de],h.max=E[ve]},buildTicks:function(){var h=this,E=h._getLabels(),P=h.minIndex,L=h.maxIndex;h.ticks=0===P&&L===E.length-1?E:E.slice(P,L+1)},getLabelForIndex:function(h,E){var P=this,L=P.chart;return L.getDatasetMeta(E).controller._getValueScaleId()===P.id?P.getRightValue(L.data.datasets[E].data[h]):P._getLabels()[h]},_configure:function(){var h=this,E=h.options.offset,P=h.ticks;Mo.prototype._configure.call(h),h.isHorizontal()||(h._reversePixels=!h._reversePixels),P&&(h._startValue=h.minIndex-(E?.5:0),h._valueRange=Math.max(P.length-(E?0:1),1))},getPixelForValue:function(h,E,P){var X,de,ve,L=this;return!wo(E)&&!wo(P)&&(h=L.chart.data.datasets[P].data[E]),wo(h)||(X=L.isHorizontal()?h.x:h.y),(void 0!==X||void 0!==h&&isNaN(E))&&(de=L._getLabels(),h=Fe.valueOrDefault(X,h),E=-1!==(ve=de.indexOf(h))?ve:E,isNaN(E)&&(E=h)),L.getPixelForDecimal((E-L._startValue)/L._valueRange)},getPixelForTick:function(h){var E=this.ticks;return h<0||h>E.length-1?null:this.getPixelForValue(E[h],h+this.minIndex)},getValueForPixel:function(h){var E=this,P=Math.round(E._startValue+E.getDecimalForPixel(h)*E._valueRange);return Math.min(Math.max(P,0),E.ticks.length-1)},getBasePixel:function(){return this.bottom}});Tl._defaults={position:"bottom"};var gc=Fe.isNullOrUndef;var pa=Mo.extend({getRightValue:function(h){return"string"==typeof h?+h:Mo.prototype.getRightValue.call(this,h)},handleTickRangeOptions:function(){var h=this,P=h.options.ticks;if(P.beginAtZero){var L=Fe.sign(h.min),X=Fe.sign(h.max);L<0&&X<0?h.max=0:L>0&&X>0&&(h.min=0)}var de=void 0!==P.min||void 0!==P.suggestedMin,ve=void 0!==P.max||void 0!==P.suggestedMax;void 0!==P.min?h.min=P.min:void 0!==P.suggestedMin&&(h.min=null===h.min?P.suggestedMin:Math.min(h.min,P.suggestedMin)),void 0!==P.max?h.max=P.max:void 0!==P.suggestedMax&&(h.max=null===h.max?P.suggestedMax:Math.max(h.max,P.suggestedMax)),de!==ve&&h.min>=h.max&&(de?h.max=h.min+1:h.min=h.max-1),h.min===h.max&&(h.max++,P.beginAtZero||h.min--)},getTickLimit:function(){var X,h=this,E=h.options.ticks,P=E.stepSize,L=E.maxTicksLimit;return P?X=Math.ceil(h.max/P)-Math.floor(h.min/P)+1:(X=h._computeTickLimit(),L=L||11),L&&(X=Math.min(L,X)),X},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:Fe.noop,buildTicks:function(){var h=this,P=h.options.ticks,L=h.getTickLimit(),X={maxTicks:L=Math.max(2,L),min:P.min,max:P.max,precision:P.precision,stepSize:Fe.valueOrDefault(P.fixedStepSize,P.stepSize)},de=h.ticks=function En(h,E){var jn,Vn,fr,$r,P=[],X=h.stepSize,de=X||1,ve=h.maxTicks-1,Ye=h.min,xe=h.max,nt=h.precision,St=E.min,Mt=E.max,fn=Fe.niceNum((Mt-St)/ve/de)*de;if(fn<1e-14&&gc(Ye)&&gc(xe))return[St,Mt];($r=Math.ceil(Mt/fn)-Math.floor(St/fn))>ve&&(fn=Fe.niceNum($r*fn/ve/de)*de),X||gc(nt)?jn=Math.pow(10,Fe._decimalPlaces(fn)):(jn=Math.pow(10,nt),fn=Math.ceil(fn*jn)/jn),Vn=Math.floor(St/fn)*fn,fr=Math.ceil(Mt/fn)*fn,X&&(!gc(Ye)&&Fe.almostWhole(Ye/fn,fn/1e3)&&(Vn=Ye),!gc(xe)&&Fe.almostWhole(xe/fn,fn/1e3)&&(fr=xe)),$r=Fe.almostEquals($r=(fr-Vn)/fn,Math.round($r),fn/1e3)?Math.round($r):Math.ceil($r),Vn=Math.round(Vn*jn)/jn,fr=Math.round(fr*jn)/jn,P.push(gc(Ye)?Vn:Ye);for(var Ui=1;Ui<$r;++Ui)P.push(Math.round((Vn+Ui*fn)*jn)/jn);return P.push(gc(xe)?fr:xe),P}(X,h);h.handleDirectionalChanges(),h.max=Fe.max(de),h.min=Fe.min(de),P.reverse?(de.reverse(),h.start=h.max,h.end=h.min):(h.start=h.min,h.end=h.max)},convertTicksToLabels:function(){var h=this;h.ticksAsNumbers=h.ticks.slice(),h.zeroLineIndex=h.ticks.indexOf(0),Mo.prototype.convertTicksToLabels.call(h)},_configure:function(){var X,h=this,E=h.getTicks(),P=h.min,L=h.max;Mo.prototype._configure.call(h),h.options.offset&&E.length&&(P-=X=(L-P)/Math.max(E.length-1,1)/2,L+=X),h._startValue=P,h._endValue=L,h._valueRange=L-P}}),rd={position:"left",ticks:{callback:Pr.formatters.linear}};function ht(h,E,P,L){var St,Mt,X=h.options,ve=function ge(h,E,P){var L=[P.type,void 0===E&&void 0===P.stack?P.index:"",P.stack].join(".");return void 0===h[L]&&(h[L]={pos:[],neg:[]}),h[L]}(E,X.stacked,P),Ye=ve.pos,xe=ve.neg,nt=L.length;for(St=0;St<nt;++St)Mt=h._parseValue(L[St]),!(isNaN(Mt.min)||isNaN(Mt.max)||P.data[St].hidden)&&(Ye[St]=Ye[St]||0,xe[St]=xe[St]||0,X.relativePoints?Ye[St]=100:Mt.min<0||Mt.max<0?xe[St]+=Mt.min:Ye[St]+=Mt.max)}function Ot(h,E,P){var X,de,L=P.length;for(X=0;X<L;++X)de=h._parseValue(P[X]),!(isNaN(de.min)||isNaN(de.max)||E.data[X].hidden)&&(h.min=Math.min(h.min,de.min),h.max=Math.max(h.max,de.max))}var sn=pa.extend({determineDataLimits:function(){var xe,nt,St,Mt,h=this,E=h.options,L=h.chart.data.datasets,X=h._getMatchingVisibleMetas(),de=E.stacked,ve={},Ye=X.length;if(h.min=Number.POSITIVE_INFINITY,h.max=Number.NEGATIVE_INFINITY,void 0===de)for(xe=0;!de&&xe<Ye;++xe)de=void 0!==(nt=X[xe]).stack;for(xe=0;xe<Ye;++xe)St=L[(nt=X[xe]).index].data,de?ht(h,ve,nt,St):Ot(h,nt,St);Fe.each(ve,function(fn){Mt=fn.pos.concat(fn.neg),h.min=Math.min(h.min,Fe.min(Mt)),h.max=Math.max(h.max,Fe.max(Mt))}),h.min=Fe.isFinite(h.min)&&!isNaN(h.min)?h.min:0,h.max=Fe.isFinite(h.max)&&!isNaN(h.max)?h.max:1,h.handleTickRangeOptions()},_computeTickLimit:function(){var E,h=this;return h.isHorizontal()?Math.ceil(h.width/40):(E=Fe.options._parseFont(h.options.ticks),Math.ceil(h.height/E.lineHeight))},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(h,E){return this._getScaleLabel(this.chart.data.datasets[E].data[h])},getPixelForValue:function(h){var E=this;return E.getPixelForDecimal((+E.getRightValue(h)-E._startValue)/E._valueRange)},getValueForPixel:function(h){return this._startValue+this.getDecimalForPixel(h)*this._valueRange},getPixelForTick:function(h){var E=this.ticksAsNumbers;return h<0||h>E.length-1?null:this.getPixelForValue(E[h])}});sn._defaults=rd;var gr=Fe.valueOrDefault,gi=Fe.math.log10;var Ta={position:"left",ticks:{callback:Pr.formatters.logarithmic}};function ms(h,E){return Fe.isFinite(h)&&h>=0?h:E}var ha=Mo.extend({determineDataLimits:function(){var ve,Ye,xe,nt,St,Mt,h=this,E=h.options,P=h.chart,L=P.data.datasets,X=h.isHorizontal();function de($r){return X?$r.xAxisID===h.id:$r.yAxisID===h.id}h.min=Number.POSITIVE_INFINITY,h.max=Number.NEGATIVE_INFINITY,h.minNotZero=Number.POSITIVE_INFINITY;var fn=E.stacked;if(void 0===fn)for(ve=0;ve<L.length;ve++)if(Ye=P.getDatasetMeta(ve),P.isDatasetVisible(ve)&&de(Ye)&&void 0!==Ye.stack){fn=!0;break}if(E.stacked||fn){var jn={};for(ve=0;ve<L.length;ve++){var Vn=[(Ye=P.getDatasetMeta(ve)).type,void 0===E.stacked&&void 0===Ye.stack?ve:"",Ye.stack].join(".");if(P.isDatasetVisible(ve)&&de(Ye))for(void 0===jn[Vn]&&(jn[Vn]=[]),St=0,Mt=(nt=L[ve].data).length;St<Mt;St++){var fr=jn[Vn];xe=h._parseValue(nt[St]),!(isNaN(xe.min)||isNaN(xe.max)||Ye.data[St].hidden||xe.min<0||xe.max<0)&&(fr[St]=fr[St]||0,fr[St]+=xe.max)}}Fe.each(jn,function($r){if($r.length>0){var Ui=Fe.min($r),is=Fe.max($r);h.min=Math.min(h.min,Ui),h.max=Math.max(h.max,is)}})}else for(ve=0;ve<L.length;ve++)if(Ye=P.getDatasetMeta(ve),P.isDatasetVisible(ve)&&de(Ye))for(St=0,Mt=(nt=L[ve].data).length;St<Mt;St++)xe=h._parseValue(nt[St]),!(isNaN(xe.min)||isNaN(xe.max)||Ye.data[St].hidden||xe.min<0||xe.max<0)&&(h.min=Math.min(xe.min,h.min),h.max=Math.max(xe.max,h.max),0!==xe.min&&(h.minNotZero=Math.min(xe.min,h.minNotZero)));h.min=Fe.isFinite(h.min)?h.min:null,h.max=Fe.isFinite(h.max)?h.max:null,h.minNotZero=Fe.isFinite(h.minNotZero)?h.minNotZero:null,this.handleTickRangeOptions()},handleTickRangeOptions:function(){var h=this,E=h.options.ticks;h.min=ms(E.min,h.min),h.max=ms(E.max,h.max),h.min===h.max&&(0!==h.min&&null!==h.min?(h.min=Math.pow(10,Math.floor(gi(h.min))-1),h.max=Math.pow(10,Math.floor(gi(h.max))+1)):(h.min=1,h.max=10)),null===h.min&&(h.min=Math.pow(10,Math.floor(gi(h.max))-1)),null===h.max&&(h.max=0!==h.min?Math.pow(10,Math.floor(gi(h.min))+1):10),null===h.minNotZero&&(h.minNotZero=h.min>0?h.min:h.max<1?Math.pow(10,Math.floor(gi(h.max))):1)},buildTicks:function(){var h=this,E=h.options.ticks,P=!h.isHorizontal(),L={min:ms(E.min),max:ms(E.max)},X=h.ticks=function Lo(h,E){var ve,Ye,P=[],L=gr(h.min,Math.pow(10,Math.floor(gi(E.min)))),X=Math.floor(gi(E.max)),de=Math.ceil(E.max/Math.pow(10,X));0===L?(ve=Math.floor(gi(E.minNotZero)),Ye=Math.floor(E.minNotZero/Math.pow(10,ve)),P.push(L),L=Ye*Math.pow(10,ve)):(ve=Math.floor(gi(L)),Ye=Math.floor(L/Math.pow(10,ve)));var xe=ve<0?Math.pow(10,Math.abs(ve)):1;do{P.push(L),10==++Ye&&(Ye=1,xe=++ve>=0?1:xe),L=Math.round(Ye*Math.pow(10,ve)*xe)/xe}while(ve<X||ve===X&&Ye<de);var nt=gr(h.max,L);return P.push(nt),P}(L,h);h.max=Fe.max(X),h.min=Fe.min(X),E.reverse?(P=!P,h.start=h.max,h.end=h.min):(h.start=h.min,h.end=h.max),P&&X.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),Mo.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(h,E){return this._getScaleLabel(this.chart.data.datasets[E].data[h])},getPixelForTick:function(h){var E=this.tickValues;return h<0||h>E.length-1?null:this.getPixelForValue(E[h])},_getFirstTickValue:function(h){var E=Math.floor(gi(h));return Math.floor(h/Math.pow(10,E))*Math.pow(10,E)},_configure:function(){var h=this,E=h.min,P=0;Mo.prototype._configure.call(h),0===E&&(E=h._getFirstTickValue(h.minNotZero),P=gr(h.options.ticks.fontSize,vr.global.defaultFontSize)/h._length),h._startValue=gi(E),h._valueOffset=P,h._valueRange=(gi(h.max)-gi(E))/(1-P)},getPixelForValue:function(h){var E=this,P=0;return(h=+E.getRightValue(h))>E.min&&h>0&&(P=(gi(h)-E._startValue)/E._valueRange+E._valueOffset),E.getPixelForDecimal(P)},getValueForPixel:function(h){var E=this,P=E.getDecimalForPixel(h);return 0===P&&0===E.min?0:Math.pow(10,E._startValue+(P-E._valueOffset)*E._valueRange)}});ha._defaults=Ta;var Nu=Fe.valueOrDefault,cc=Fe.valueAtIndexOrDefault,ka=Fe.options.resolve,rl={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:Pr.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(h){return h}}};function vc(h){var E=h.ticks;return E.display&&h.display?Nu(E.fontSize,vr.global.defaultFontSize)+2*E.backdropPaddingY:0}function yc(h,E,P){return Fe.isArray(P)?{w:Fe.longestText(h,h.font,P),h:P.length*E}:{w:h.measureText(P).width,h:E}}function ju(h,E,P,L,X){return h===L||h===X?{start:E-P/2,end:E+P/2}:h<L||h>X?{start:E-P,end:E}:{start:E,end:E+P}}function nc(h){return 0===h||180===h?"center":h<180?"left":"right"}function gd(h,E,P,L){var de,ve,X=P.y+L/2;if(Fe.isArray(E))for(de=0,ve=E.length;de<ve;++de)h.fillText(E[de],P.x,X),X+=L;else h.fillText(E,P.x,X)}function Fc(h,E,P){90===h||270===h?P.y-=E.h/2:(h>270||h<90)&&(P.y-=E.h)}function ll(h){return Fe.isNumber(h)?h:0}var Ll=pa.extend({setDimensions:function(){var h=this;h.width=h.maxWidth,h.height=h.maxHeight,h.paddingTop=vc(h.options)/2,h.xCenter=Math.floor(h.width/2),h.yCenter=Math.floor((h.height-h.paddingTop)/2),h.drawingArea=Math.min(h.height-h.paddingTop,h.width)/2},determineDataLimits:function(){var h=this,E=h.chart,P=Number.POSITIVE_INFINITY,L=Number.NEGATIVE_INFINITY;Fe.each(E.data.datasets,function(X,de){if(E.isDatasetVisible(de)){var ve=E.getDatasetMeta(de);Fe.each(X.data,function(Ye,xe){var nt=+h.getRightValue(Ye);isNaN(nt)||ve.data[xe].hidden||(P=Math.min(nt,P),L=Math.max(nt,L))})}}),h.min=P===Number.POSITIVE_INFINITY?0:P,h.max=L===Number.NEGATIVE_INFINITY?0:L,h.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/vc(this.options))},convertTicksToLabels:function(){var h=this;pa.prototype.convertTicksToLabels.call(h),h.pointLabels=h.chart.data.labels.map(function(){var E=Fe.callback(h.options.pointLabels.callback,arguments,h);return E||0===E?E:""})},getLabelForIndex:function(h,E){return+this.getRightValue(this.chart.data.datasets[E].data[h])},fit:function(){var h=this,E=h.options;E.display&&E.pointLabels.display?function Ul(h){var X,de,ve,E=Fe.options._parseFont(h.options.pointLabels),P={l:0,r:h.width,t:0,b:h.height-h.paddingTop},L={};h.ctx.font=E.string,h._pointLabelSizes=[];var Ye=h.chart.data.labels.length;for(X=0;X<Ye;X++){ve=h.getPointPosition(X,h.drawingArea+5),de=yc(h.ctx,E.lineHeight,h.pointLabels[X]),h._pointLabelSizes[X]=de;var xe=h.getIndexAngle(X),nt=Fe.toDegrees(xe)%360,St=ju(nt,ve.x,de.w,0,180),Mt=ju(nt,ve.y,de.h,90,270);St.start<P.l&&(P.l=St.start,L.l=xe),St.end>P.r&&(P.r=St.end,L.r=xe),Mt.start<P.t&&(P.t=Mt.start,L.t=xe),Mt.end>P.b&&(P.b=Mt.end,L.b=xe)}h.setReductions(h.drawingArea,P,L)}(h):h.setCenterPoint(0,0,0,0)},setReductions:function(h,E,P){var L=this,X=E.l/Math.sin(P.l),de=Math.max(E.r-L.width,0)/Math.sin(P.r),ve=-E.t/Math.cos(P.t),Ye=-Math.max(E.b-(L.height-L.paddingTop),0)/Math.cos(P.b);X=ll(X),de=ll(de),ve=ll(ve),Ye=ll(Ye),L.drawingArea=Math.min(Math.floor(h-(X+de)/2),Math.floor(h-(ve+Ye)/2)),L.setCenterPoint(X,de,ve,Ye)},setCenterPoint:function(h,E,P,L){var X=this,Ye=P+X.drawingArea,xe=X.height-X.paddingTop-L-X.drawingArea;X.xCenter=Math.floor((h+X.drawingArea+(X.width-E-X.drawingArea))/2+X.left),X.yCenter=Math.floor((Ye+xe)/2+X.top+X.paddingTop)},getIndexAngle:function(h){var E=this.chart,de=(h*(360/E.data.labels.length)+((E.options||{}).startAngle||0))%360;return(de<0?de+360:de)*Math.PI*2/360},getDistanceFromCenterForValue:function(h){var E=this;if(Fe.isNullOrUndef(h))return NaN;var P=E.drawingArea/(E.max-E.min);return E.options.ticks.reverse?(E.max-h)*P:(h-E.min)*P},getPointPosition:function(h,E){var P=this,L=P.getIndexAngle(h)-Math.PI/2;return{x:Math.cos(L)*E+P.xCenter,y:Math.sin(L)*E+P.yCenter}},getPointPositionForValue:function(h,E){return this.getPointPosition(h,this.getDistanceFromCenterForValue(E))},getBasePosition:function(h){var E=this,P=E.min,L=E.max;return E.getPointPositionForValue(h||0,E.beginAtZero?0:P<0&&L<0?L:P>0&&L>0?P:0)},_drawGrid:function(){var Ye,xe,nt,h=this,E=h.ctx,P=h.options,L=P.gridLines,X=P.angleLines,de=Nu(X.lineWidth,L.lineWidth),ve=Nu(X.color,L.color);if(P.pointLabels.display&&function cu(h){var E=h.ctx,P=h.options,L=P.pointLabels,X=vc(P),de=h.getDistanceFromCenterForValue(P.ticks.reverse?h.min:h.max),ve=Fe.options._parseFont(L);E.save(),E.font=ve.string,E.textBaseline="middle";for(var Ye=h.chart.data.labels.length-1;Ye>=0;Ye--){var nt=h.getPointPosition(Ye,de+(0===Ye?X/2:0)+5),St=cc(L.fontColor,Ye,vr.global.defaultFontColor);E.fillStyle=St;var Mt=h.getIndexAngle(Ye),fn=Fe.toDegrees(Mt);E.textAlign=nc(fn),Fc(fn,h._pointLabelSizes[Ye],nt),gd(E,h.pointLabels[Ye],nt,ve.lineHeight)}E.restore()}(h),L.display&&Fe.each(h.ticks,function(St,Mt){0!==Mt&&(xe=h.getDistanceFromCenterForValue(h.ticksAsNumbers[Mt]),function Ma(h,E,P,L){var nt,X=h.ctx,de=E.circular,ve=h.chart.data.labels.length,Ye=cc(E.color,L-1),xe=cc(E.lineWidth,L-1);if((de||ve)&&Ye&&xe){if(X.save(),X.strokeStyle=Ye,X.lineWidth=xe,X.setLineDash&&(X.setLineDash(E.borderDash||[]),X.lineDashOffset=E.borderDashOffset||0),X.beginPath(),de)X.arc(h.xCenter,h.yCenter,P,0,2*Math.PI);else{nt=h.getPointPosition(0,P),X.moveTo(nt.x,nt.y);for(var St=1;St<ve;St++)nt=h.getPointPosition(St,P),X.lineTo(nt.x,nt.y)}X.closePath(),X.stroke(),X.restore()}}(h,L,xe,Mt))}),X.display&&de&&ve){for(E.save(),E.lineWidth=de,E.strokeStyle=ve,E.setLineDash&&(E.setLineDash(ka([X.borderDash,L.borderDash,[]])),E.lineDashOffset=ka([X.borderDashOffset,L.borderDashOffset,0])),Ye=h.chart.data.labels.length-1;Ye>=0;Ye--)xe=h.getDistanceFromCenterForValue(P.ticks.reverse?h.min:h.max),nt=h.getPointPosition(Ye,xe),E.beginPath(),E.moveTo(h.xCenter,h.yCenter),E.lineTo(nt.x,nt.y),E.stroke();E.restore()}},_drawLabels:function(){var h=this,E=h.ctx,L=h.options.ticks;if(L.display){var Ye,xe,X=h.getIndexAngle(0),de=Fe.options._parseFont(L),ve=Nu(L.fontColor,vr.global.defaultFontColor);E.save(),E.font=de.string,E.translate(h.xCenter,h.yCenter),E.rotate(X),E.textAlign="center",E.textBaseline="middle",Fe.each(h.ticks,function(nt,St){0===St&&!L.reverse||(Ye=h.getDistanceFromCenterForValue(h.ticksAsNumbers[St]),L.showLabelBackdrop&&(xe=E.measureText(nt).width,E.fillStyle=L.backdropColor,E.fillRect(-xe/2-L.backdropPaddingX,-Ye-de.size/2-L.backdropPaddingY,xe+2*L.backdropPaddingX,de.size+2*L.backdropPaddingY)),E.fillStyle=ve,E.fillText(nt,0,-Ye))}),E.restore()}},_drawTitle:Fe.noop});Ll._defaults=rl;var gf=Fe._deprecated,zd=Fe.options.resolve,id=Fe.valueOrDefault,Al=Number.MIN_SAFE_INTEGER||-9007199254740991,kl=Number.MAX_SAFE_INTEGER||9007199254740991,Gu={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},ul=Object.keys(Gu);function Cu(h,E){return h-E}function Ec(h){return Fe.valueOrDefault(h.time.min,h.ticks.min)}function Iu(h){return Fe.valueOrDefault(h.time.max,h.ticks.max)}function xf(h,E,P,L){var X=function cl(h,E,P){for(var de,ve,Ye,L=0,X=h.length-1;L>=0&&L<=X;){if(Ye=h[de=L+X>>1],!(ve=h[de-1]||null))return{lo:null,hi:Ye};if(Ye[E]<P)L=de+1;else{if(!(ve[E]>P))return{lo:ve,hi:Ye};X=de-1}}return{lo:Ye,hi:null}}(h,E,P),de=X.lo?X.hi?X.lo:h[h.length-2]:h[0],ve=X.lo?X.hi?X.hi:h[h.length-1]:h[1],Ye=ve[E]-de[E];return de[L]+(ve[L]-de[L])*(Ye?(P-de[E])/Ye:0)}function Bc(h,E){var P=h._adapter,L=h.options.time,X=L.parser,de=X||L.format,ve=E;return"function"==typeof X&&(ve=X(ve)),Fe.isFinite(ve)||(ve="string"==typeof de?P.parse(ve,de):P.parse(ve)),null!==ve?+ve:(!X&&"function"==typeof de&&(ve=de(E),Fe.isFinite(ve)||(ve=P.parse(ve))),ve)}function vd(h,E){if(Fe.isNullOrUndef(E))return null;var P=h.options.time,L=Bc(h,h.getRightValue(E));return null===L||P.round&&(L=+h._adapter.startOf(L,P.round)),L}function dc(h,E,P,L){var de,ve,X=ul.length;for(de=ul.indexOf(h);de<X-1;++de)if((ve=Gu[ul[de]]).common&&Math.ceil((P-E)/((ve.steps?ve.steps:kl)*ve.size))<=L)return ul[de];return ul[X-1]}function fc(h,E,P){var ve,Ye,L=[],X={},de=E.length;for(ve=0;ve<de;++ve)X[Ye=E[ve]]=ve,L.push({value:Ye,major:!1});return 0!==de&&P?function Vu(h,E,P,L){var Ye,xe,X=h._adapter,de=+X.startOf(E[0].value,L),ve=E[E.length-1].value;for(Ye=de;Ye<=ve;Ye=+X.add(Ye,1,L))(xe=P[Ye])>=0&&(E[xe].major=!0);return E}(h,L,X,P):L}var Rf=Mo.extend({initialize:function(){this.mergeTicksOptions(),Mo.prototype.initialize.call(this)},update:function(){var h=this,E=h.options,P=E.time||(E.time={}),L=h._adapter=new Vi._date(E.adapters.date);return gf("time scale",P.format,"time.format","time.parser"),gf("time scale",P.min,"time.min","ticks.min"),gf("time scale",P.max,"time.max","ticks.max"),Fe.mergeIf(P.displayFormats,L.formats()),Mo.prototype.update.apply(h,arguments)},getRightValue:function(h){return h&&void 0!==h.t&&(h=h.t),Mo.prototype.getRightValue.call(this,h)},determineDataLimits:function(){var St,Mt,fn,jn,Vn,fr,$r,h=this,E=h.chart,P=h._adapter,L=h.options,X=L.time.unit||"day",de=kl,ve=Al,Ye=[],xe=[],nt=[],Ui=h._getLabels();for(St=0,fn=Ui.length;St<fn;++St)nt.push(vd(h,Ui[St]));for(St=0,fn=(E.data.datasets||[]).length;St<fn;++St)if(E.isDatasetVisible(St))if(Fe.isObject((Vn=E.data.datasets[St].data)[0]))for(xe[St]=[],Mt=0,jn=Vn.length;Mt<jn;++Mt)fr=vd(h,Vn[Mt]),Ye.push(fr),xe[St][Mt]=fr;else xe[St]=nt.slice(0),$r||(Ye=Ye.concat(nt),$r=!0);else xe[St]=[];nt.length&&(de=Math.min(de,nt[0]),ve=Math.max(ve,nt[nt.length-1])),Ye.length&&(Ye=fn>1?function cn(h){var L,X,de,E={},P=[];for(L=0,X=h.length;L<X;++L)E[de=h[L]]||(E[de]=!0,P.push(de));return P}(Ye).sort(Cu):Ye.sort(Cu),de=Math.min(de,Ye[0]),ve=Math.max(ve,Ye[Ye.length-1])),de=vd(h,Ec(L))||de,ve=vd(h,Iu(L))||ve,de=de===kl?+P.startOf(Date.now(),X):de,ve=ve===Al?+P.endOf(Date.now(),X)+1:ve,h.min=Math.min(de,ve),h.max=Math.max(de+1,ve),h._table=[],h._timestamps={data:Ye,datasets:xe,labels:nt}},buildTicks:function(){var Mt,fn,jn,h=this,E=h.min,P=h.max,L=h.options,X=L.ticks,de=L.time,ve=h._timestamps,Ye=[],xe=h.getLabelCapacity(E),nt=X.source,St=L.distribution;for(ve="data"===nt||"auto"===nt&&"series"===St?ve.data:"labels"===nt?ve.labels:function vf(h,E,P,L){var fn,X=h._adapter,de=h.options,ve=de.time,Ye=ve.unit||dc(ve.minUnit,E,P,L),xe=zd([ve.stepSize,ve.unitStepSize,1]),nt="week"===Ye&&ve.isoWeekday,St=E,Mt=[];if(nt&&(St=+X.startOf(St,"isoWeek",nt)),St=+X.startOf(St,nt?"day":Ye),X.diff(P,E,Ye)>1e5*xe)throw E+" and "+P+" are too far apart with stepSize of "+xe+" "+Ye;for(fn=St;fn<P;fn=+X.add(fn,xe,Ye))Mt.push(fn);return(fn===P||"ticks"===de.bounds)&&Mt.push(fn),Mt}(h,E,P,xe),"ticks"===L.bounds&&ve.length&&(E=ve[0],P=ve[ve.length-1]),E=vd(h,Ec(L))||E,P=vd(h,Iu(L))||P,Mt=0,fn=ve.length;Mt<fn;++Mt)(jn=ve[Mt])>=E&&jn<=P&&Ye.push(jn);return h.min=E,h.max=P,h._unit=de.unit||(X.autoSkip?dc(de.minUnit,h.min,h.max,xe):function yd(h,E,P,L,X){var de,ve;for(de=ul.length-1;de>=ul.indexOf(P);de--)if(Gu[ve=ul[de]].common&&h._adapter.diff(X,L,ve)>=E-1)return ve;return ul[P?ul.indexOf(P):0]}(h,Ye.length,de.minUnit,h.min,h.max)),h._majorUnit=X.major.enabled&&"year"!==h._unit?function $p(h){for(var E=ul.indexOf(h)+1,P=ul.length;E<P;++E)if(Gu[ul[E]].common)return ul[E]}(h._unit):void 0,h._table=function qa(h,E,P,L){if("linear"===L||!h.length)return[{time:E,pos:0},{time:P,pos:1}];var ve,Ye,xe,nt,St,X=[],de=[E];for(ve=0,Ye=h.length;ve<Ye;++ve)(nt=h[ve])>E&&nt<P&&de.push(nt);for(de.push(P),ve=0,Ye=de.length;ve<Ye;++ve)St=de[ve+1],nt=de[ve],(void 0===(xe=de[ve-1])||void 0===St||Math.round((St+xe)/2)!==nt)&&X.push({time:nt,pos:ve/(Ye-1)});return X}(h._timestamps.data,E,P,St),h._offsets=function ap(h,E,P,L,X){var Ye,xe,de=0,ve=0;return X.offset&&E.length&&(Ye=xf(h,"time",E[0],"pos"),de=1===E.length?1-Ye:(xf(h,"time",E[1],"pos")-Ye)/2,xe=xf(h,"time",E[E.length-1],"pos"),ve=1===E.length?xe:(xe-xf(h,"time",E[E.length-2],"pos"))/2),{start:de,end:ve,factor:1/(de+1+ve)}}(h._table,Ye,0,0,L),X.reverse&&Ye.reverse(),fc(h,Ye,h._majorUnit)},getLabelForIndex:function(h,E){var P=this,L=P._adapter,X=P.chart.data,de=P.options.time,ve=X.labels&&h<X.labels.length?X.labels[h]:"",Ye=X.datasets[E].data[h];return Fe.isObject(Ye)&&(ve=P.getRightValue(Ye)),de.tooltipFormat?L.format(Bc(P,ve),de.tooltipFormat):"string"==typeof ve?ve:L.format(Bc(P,ve),de.displayFormats.datetime)},tickFormatFunction:function(h,E,P,L){var X=this,ve=X.options,Ye=ve.time.displayFormats,nt=X._majorUnit,St=Ye[nt],Mt=P[E],fn=ve.ticks,jn=nt&&St&&Mt&&Mt.major,Vn=X._adapter.format(h,L||(jn?St:Ye[X._unit])),fr=jn?fn.major:fn.minor,$r=zd([fr.callback,fr.userCallback,fn.callback,fn.userCallback]);return $r?$r(Vn,E,P):Vn},convertTicksToLabels:function(h){var P,L,E=[];for(P=0,L=h.length;P<L;++P)E.push(this.tickFormatFunction(h[P].value,P,h));return E},getPixelForOffset:function(h){var E=this,P=E._offsets,L=xf(E._table,"time",h,"pos");return E.getPixelForDecimal((P.start+L)*P.factor)},getPixelForValue:function(h,E,P){var L=this,X=null;if(void 0!==E&&void 0!==P&&(X=L._timestamps.datasets[P][E]),null===X&&(X=vd(L,h)),null!==X)return L.getPixelForOffset(X)},getPixelForTick:function(h){var E=this.getTicks();return h>=0&&h<E.length?this.getPixelForOffset(E[h].value):null},getValueForPixel:function(h){var E=this,P=E._offsets,L=E.getDecimalForPixel(h)/P.factor-P.end,X=xf(E._table,"pos",L,"time");return E._adapter._create(X)},_getLabelSize:function(h){var E=this,P=E.options.ticks,L=E.ctx.measureText(h).width,X=Fe.toRadians(E.isHorizontal()?P.maxRotation:P.minRotation),de=Math.cos(X),ve=Math.sin(X),Ye=id(P.fontSize,vr.global.defaultFontSize);return{w:L*de+Ye*ve,h:L*ve+Ye*de}},getLabelWidth:function(h){return this._getLabelSize(h).w},getLabelCapacity:function(h){var E=this,P=E.options.time,L=P.displayFormats,X=L[P.unit]||L.millisecond,de=E.tickFormatFunction(h,0,fc(E,[h],E._majorUnit),X),ve=E._getLabelSize(de),Ye=Math.floor(E.isHorizontal()?E.width/ve.w:E.height/ve.h);return E.options.offset&&Ye--,Ye>0?Ye:1}});Rf._defaults={position:"bottom",distribution:"linear",bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}};var Lc={category:Tl,linear:sn,logarithmic:ha,radialLinear:Ll,time:Rf},Fu={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};Vi._date.override("function"==typeof r?{_id:"moment",formats:function(){return Fu},parse:function(h,E){return"string"==typeof h&&"string"==typeof E?h=r(h,E):h instanceof r||(h=r(h)),h.isValid()?h.valueOf():null},format:function(h,E){return r(h).format(E)},add:function(h,E,P){return r(h).add(E,P).valueOf()},diff:function(h,E,P){return r(h).diff(r(E),P)},startOf:function(h,E,P){return h=r(h),"isoWeek"===E?h.isoWeekday(P).valueOf():h.startOf(E).valueOf()},endOf:function(h,E){return r(h).endOf(E).valueOf()},_create:function(h){return r(h)}}:{}),vr._set("global",{plugins:{filler:{propagate:!0}}});var od={dataset:function(h){var E=h.fill,P=h.chart,L=P.getDatasetMeta(E),de=L&&P.isDatasetVisible(E)&&L.dataset._children||[],ve=de.length||0;return ve?function(Ye,xe){return xe<ve&&de[xe]._view||null}:null},boundary:function(h){var E=h.boundary,P=E?E.x:null,L=E?E.y:null;return Fe.isArray(E)?function(X,de){return E[de]}:function(X){return{x:null===P?X.x:P,y:null===L?X.y:L}}}};function rc(h,E,P){var de,L=h._model||{},X=L.fill;if(void 0===X&&(X=!!L.backgroundColor),!1===X||null===X)return!1;if(!0===X)return"origin";if(de=parseFloat(X,10),isFinite(de)&&Math.floor(de)===de)return("-"===X[0]||"+"===X[0])&&(de=E+de),!(de===E||de<0||de>=P)&&de;switch(X){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return X;default:return!1}}function sd(h){return(h.el._scale||{}).getPointPositionForValue?function zc(h){var ve,Ye,xe,nt,St,E=h.el._scale,P=E.options,L=E.chart.data.labels.length,X=h.fill,de=[];if(!L)return null;for(Ye=P.ticks.reverse?E.min:E.max,xe=E.getPointPositionForValue(0,ve=P.ticks.reverse?E.max:E.min),nt=0;nt<L;++nt)St="start"===X||"end"===X?E.getPointPositionForValue(nt,"start"===X?ve:Ye):E.getBasePosition(nt),P.gridLines.circular&&(St.cx=xe.x,St.cy=xe.y,St.angle=E.getIndexAngle(nt)-Math.PI/2),de.push(St);return de}(h):function Oa(h){var de,E=h.el._model||{},P=h.el._scale||{},L=h.fill,X=null;if(isFinite(L))return null;if("start"===L?X=void 0===E.scaleBottom?P.bottom:E.scaleBottom:"end"===L?X=void 0===E.scaleTop?P.top:E.scaleTop:void 0!==E.scaleZero?X=E.scaleZero:P.getBasePixel&&(X=P.getBasePixel()),null!=X){if(void 0!==X.x&&void 0!==X.y)return X;if(Fe.isFinite(X))return{x:(de=P.isHorizontal())?X:null,y:de?null:X}}return null}(h)}function lp(h,E,P){var ve,X=h[E].fill,de=[E];if(!P)return X;for(;!1!==X&&-1===de.indexOf(X);){if(!isFinite(X))return X;if(!(ve=h[X]))return!1;if(ve.visible)return X;de.push(X),X=ve.fill}return!1}function $d(h){var E=h.fill,P="dataset";return!1===E?null:(isFinite(E)||(P="boundary"),od[P](h))}function vo(h){return h&&!h.skip}function pu(h,E,P,L,X){var de,ve,Ye,xe;if(L&&X){for(h.moveTo(E[0].x,E[0].y),de=1;de<L;++de)Fe.canvas.lineTo(h,E[de-1],E[de]);if(void 0!==P[0].angle){for(ve=P[0].cx,Ye=P[0].cy,xe=Math.sqrt(Math.pow(P[0].x-ve,2)+Math.pow(P[0].y-Ye,2)),de=X-1;de>0;--de)h.arc(ve,Ye,xe,P[de].angle,P[de-1].angle,!0);return}for(h.lineTo(P[X-1].x,P[X-1].y),de=X-1;de>0;--de)Fe.canvas.lineTo(h,P[de],P[de-1],!0)}}function $l(h,E,P,L,X,de){var fn,jn,Vn,fr,$r,Ui,is,yo,ve=E.length,Ye=L.spanGaps,xe=[],nt=[],St=0,Mt=0;for(h.beginPath(),fn=0,jn=ve;fn<jn;++fn)$r=P(fr=E[Vn=fn%ve]._view,Vn,L),Ui=vo(fr),is=vo($r),de&&void 0===yo&&Ui&&(jn=ve+(yo=fn+1)),Ui&&is?(St=xe.push(fr),Mt=nt.push($r)):St&&Mt&&(Ye?(Ui&&xe.push(fr),is&&nt.push($r)):(pu(h,xe,nt,St,Mt),St=Mt=0,xe=[],nt=[]));pu(h,xe,nt,St,Mt),h.closePath(),h.fillStyle=X,h.fill()}var Ac={id:"filler",afterDatasetsUpdate:function(h,E){var de,ve,Ye,xe,P=(h.data.datasets||[]).length,L=E.propagate,X=[];for(ve=0;ve<P;++ve)xe=null,(Ye=(de=h.getDatasetMeta(ve)).dataset)&&Ye._model&&Ye instanceof go.Line&&(xe={visible:h.isDatasetVisible(ve),fill:rc(Ye,ve,P),chart:h,el:Ye}),de.$filler=xe,X.push(xe);for(ve=0;ve<P;++ve)(xe=X[ve])&&(xe.fill=lp(X,ve,L),xe.boundary=sd(xe),xe.mapper=$d(xe))},beforeDatasetsDraw:function(h){var L,X,de,ve,Ye,xe,nt,E=h._getSortedVisibleDatasetMetas(),P=h.ctx;for(X=E.length-1;X>=0;--X)(L=E[X].$filler)&&L.visible&&(Ye=(de=L.el)._children||[],nt=(ve=de._view).backgroundColor||vr.global.defaultColor,(xe=L.mapper)&&nt&&Ye.length&&(Fe.canvas.clipArea(P,h.chartArea),$l(P,Ye,xe,ve,nt,de._loop),Fe.canvas.unclipArea(P)))}},ga=Fe.rtl.getRtlAdapter,Dc=Fe.noop,Lu=Fe.valueOrDefault;function bc(h,E){return h.usePointStyle&&h.boxWidth>E?E:h.boxWidth}vr._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(h,E){var P=E.datasetIndex,L=this.chart,X=L.getDatasetMeta(P);X.hidden=null===X.hidden?!L.data.datasets[P].hidden:null,L.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(h){var E=h.data.datasets,P=h.options.legend||{},L=P.labels&&P.labels.usePointStyle;return h._getSortedDatasetMetas().map(function(X){var de=X.controller.getStyle(L?0:void 0);return{text:E[X.index].label,fillStyle:de.backgroundColor,hidden:!h.isDatasetVisible(X.index),lineCap:de.borderCapStyle,lineDash:de.borderDash,lineDashOffset:de.borderDashOffset,lineJoin:de.borderJoinStyle,lineWidth:de.borderWidth,strokeStyle:de.borderColor,pointStyle:de.pointStyle,rotation:de.rotation,datasetIndex:X.index}},this)}}},legendCallback:function(h){var L,X,de,E=document.createElement("ul"),P=h.data.datasets;for(E.setAttribute("class",h.id+"-legend"),L=0,X=P.length;L<X;L++)(de=E.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=P[L].backgroundColor,P[L].label&&de.appendChild(document.createTextNode(P[L].label));return E.outerHTML}});var ic=yt.extend({initialize:function(h){var E=this;Fe.extend(E,h),E.legendHitBoxes=[],E._hoveredItem=null,E.doughnutMode=!1},beforeUpdate:Dc,update:function(h,E,P){var L=this;return L.beforeUpdate(),L.maxWidth=h,L.maxHeight=E,L.margins=P,L.beforeSetDimensions(),L.setDimensions(),L.afterSetDimensions(),L.beforeBuildLabels(),L.buildLabels(),L.afterBuildLabels(),L.beforeFit(),L.fit(),L.afterFit(),L.afterUpdate(),L.minSize},afterUpdate:Dc,beforeSetDimensions:Dc,setDimensions:function(){var h=this;h.isHorizontal()?(h.width=h.maxWidth,h.left=0,h.right=h.width):(h.height=h.maxHeight,h.top=0,h.bottom=h.height),h.paddingLeft=0,h.paddingTop=0,h.paddingRight=0,h.paddingBottom=0,h.minSize={width:0,height:0}},afterSetDimensions:Dc,beforeBuildLabels:Dc,buildLabels:function(){var h=this,E=h.options.labels||{},P=Fe.callback(E.generateLabels,[h.chart],h)||[];E.filter&&(P=P.filter(function(L){return E.filter(L,h.chart.data)})),h.options.reverse&&P.reverse(),h.legendItems=P},afterBuildLabels:Dc,beforeFit:Dc,fit:function(){var h=this,E=h.options,P=E.labels,L=E.display,X=h.ctx,de=Fe.options._parseFont(P),ve=de.size,Ye=h.legendHitBoxes=[],xe=h.minSize,nt=h.isHorizontal();if(nt?(xe.width=h.maxWidth,xe.height=L?10:0):(xe.width=L?10:0,xe.height=h.maxHeight),L){if(X.font=de.string,nt){var St=h.lineWidths=[0],Mt=0;X.textAlign="left",X.textBaseline="middle",Fe.each(h.legendItems,function(is,yo){var qs=bc(P,ve)+ve/2+X.measureText(is.text).width;(0===yo||St[St.length-1]+qs+2*P.padding>xe.width)&&(Mt+=ve+P.padding,St[St.length-(yo>0?0:1)]=0),Ye[yo]={left:0,top:0,width:qs,height:ve},St[St.length-1]+=qs+P.padding}),xe.height+=Mt}else{var fn=P.padding,jn=h.columnWidths=[],Vn=h.columnHeights=[],fr=P.padding,$r=0,Ui=0;Fe.each(h.legendItems,function(is,yo){var qs=bc(P,ve)+ve/2+X.measureText(is.text).width;yo>0&&Ui+ve+2*fn>xe.height&&(fr+=$r+P.padding,jn.push($r),Vn.push(Ui),$r=0,Ui=0),$r=Math.max($r,qs),Ui+=ve+fn,Ye[yo]={left:0,top:0,width:qs,height:ve}}),fr+=$r,jn.push($r),Vn.push(Ui),xe.width+=fr}h.width=xe.width,h.height=xe.height}else h.width=xe.width=h.height=xe.height=0},afterFit:Dc,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var h=this,E=h.options,P=E.labels,L=vr.global,X=L.defaultColor,de=L.elements.line,ve=h.height,Ye=h.columnHeights,xe=h.width,nt=h.lineWidths;if(E.display){var fr,St=ga(E.rtl,h.left,h.minSize.width),Mt=h.ctx,fn=Lu(P.fontColor,L.defaultFontColor),jn=Fe.options._parseFont(P),Vn=jn.size;Mt.textAlign=St.textAlign("left"),Mt.textBaseline="middle",Mt.lineWidth=.5,Mt.strokeStyle=fn,Mt.fillStyle=fn,Mt.font=jn.string;var $r=bc(P,Vn),Ui=h.legendHitBoxes,Zs=function($a,Ga){switch(E.align){case"start":return P.padding;case"end":return $a-Ga;default:return($a-Ga+P.padding)/2}},qs=h.isHorizontal();fr=qs?{x:h.left+Zs(xe,nt[0]),y:h.top+P.padding,line:0}:{x:h.left+P.padding,y:h.top+Zs(ve,Ye[0]),line:0},Fe.rtl.overrideTextDirection(h.ctx,E.textDirection);var el=Vn+P.padding;Fe.each(h.legendItems,function($a,Ga){var wa=Mt.measureText($a.text).width,Gl=$r+Vn/2+wa,_u=fr.x,Va=fr.y;St.setWidth(h.minSize.width),qs?Ga>0&&_u+Gl+P.padding>h.left+h.minSize.width&&(Va=fr.y+=el,fr.line++,_u=fr.x=h.left+Zs(xe,nt[fr.line])):Ga>0&&Va+el>h.top+h.minSize.height&&(_u=fr.x=_u+h.columnWidths[fr.line]+P.padding,fr.line++,Va=fr.y=h.top+Zs(ve,Ye[fr.line]));var Mu=St.x(_u);(function($a,Ga,wa){if(!(isNaN($r)||$r<=0)){Mt.save();var Gl=Lu(wa.lineWidth,de.borderWidth);if(Mt.fillStyle=Lu(wa.fillStyle,X),Mt.lineCap=Lu(wa.lineCap,de.borderCapStyle),Mt.lineDashOffset=Lu(wa.lineDashOffset,de.borderDashOffset),Mt.lineJoin=Lu(wa.lineJoin,de.borderJoinStyle),Mt.lineWidth=Gl,Mt.strokeStyle=Lu(wa.strokeStyle,X),Mt.setLineDash&&Mt.setLineDash(Lu(wa.lineDash,de.borderDash)),P&&P.usePointStyle){var _u=$r*Math.SQRT2/2,Va=St.xPlus($a,$r/2);Fe.canvas.drawPoint(Mt,wa.pointStyle,_u,Va,Ga+Vn/2,wa.rotation)}else Mt.fillRect(St.leftForLtr($a,$r),Ga,$r,Vn),0!==Gl&&Mt.strokeRect(St.leftForLtr($a,$r),Ga,$r,Vn);Mt.restore()}})(Mu,Va,$a),Ui[Ga].left=St.leftForLtr(Mu,Ui[Ga].width),Ui[Ga].top=Va,function($a,Ga,wa,Gl){var _u=Vn/2,Va=St.xPlus($a,$r+_u),Mu=Ga+_u;Mt.fillText(wa.text,Va,Mu),wa.hidden&&(Mt.beginPath(),Mt.lineWidth=2,Mt.moveTo(Va,Mu),Mt.lineTo(St.xPlus(Va,Gl),Mu),Mt.stroke())}(Mu,Va,$a,wa),qs?fr.x+=Gl+P.padding:fr.y+=el}),Fe.rtl.restoreTextDirection(h.ctx,E.textDirection)}},_getLegendItemAt:function(h,E){var L,X,de,P=this;if(h>=P.left&&h<=P.right&&E>=P.top&&E<=P.bottom)for(de=P.legendHitBoxes,L=0;L<de.length;++L)if(h>=(X=de[L]).left&&h<=X.left+X.width&&E>=X.top&&E<=X.top+X.height)return P.legendItems[L];return null},handleEvent:function(h){var X,E=this,P=E.options,L="mouseup"===h.type?"click":h.type;if("mousemove"===L){if(!P.onHover&&!P.onLeave)return}else{if("click"!==L)return;if(!P.onClick)return}X=E._getLegendItemAt(h.x,h.y),"click"===L?X&&P.onClick&&P.onClick.call(E,h.native,X):(P.onLeave&&X!==E._hoveredItem&&(E._hoveredItem&&P.onLeave.call(E,h.native,E._hoveredItem),E._hoveredItem=X),P.onHover&&X&&P.onHover.call(E,h.native,X))}});function Ql(h,E){var P=new ic({ctx:h.ctx,options:E,chart:h});Bl.configure(h,P,E),Bl.addBox(h,P),h.legend=P}var Sc={id:"legend",_element:ic,beforeInit:function(h){var E=h.options.legend;E&&Ql(h,E)},beforeUpdate:function(h){var E=h.options.legend,P=h.legend;E?(Fe.mergeIf(E,vr.global.legend),P?(Bl.configure(h,P,E),P.options=E):Ql(h,E)):P&&(Bl.removeBox(h,P),delete h.legend)},afterEvent:function(h,E){var P=h.legend;P&&P.handleEvent(E)}},Tc=Fe.noop;vr._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var Zu=yt.extend({initialize:function(h){Fe.extend(this,h),this.legendHitBoxes=[]},beforeUpdate:Tc,update:function(h,E,P){var L=this;return L.beforeUpdate(),L.maxWidth=h,L.maxHeight=E,L.margins=P,L.beforeSetDimensions(),L.setDimensions(),L.afterSetDimensions(),L.beforeBuildLabels(),L.buildLabels(),L.afterBuildLabels(),L.beforeFit(),L.fit(),L.afterFit(),L.afterUpdate(),L.minSize},afterUpdate:Tc,beforeSetDimensions:Tc,setDimensions:function(){var h=this;h.isHorizontal()?(h.width=h.maxWidth,h.left=0,h.right=h.width):(h.height=h.maxHeight,h.top=0,h.bottom=h.height),h.paddingLeft=0,h.paddingTop=0,h.paddingRight=0,h.paddingBottom=0,h.minSize={width:0,height:0}},afterSetDimensions:Tc,beforeBuildLabels:Tc,buildLabels:Tc,afterBuildLabels:Tc,beforeFit:Tc,fit:function(){var de,h=this,E=h.options,P=h.minSize={},L=h.isHorizontal();E.display?(de=(Fe.isArray(E.text)?E.text.length:1)*Fe.options._parseFont(E).lineHeight+2*E.padding,h.width=P.width=L?h.maxWidth:de,h.height=P.height=L?de:h.maxHeight):h.width=P.width=h.height=P.height=0},afterFit:Tc,isHorizontal:function(){var h=this.options.position;return"top"===h||"bottom"===h},draw:function(){var h=this,E=h.ctx,P=h.options;if(P.display){var Mt,fn,jn,L=Fe.options._parseFont(P),X=L.lineHeight,de=X/2+P.padding,ve=0,Ye=h.top,xe=h.left,nt=h.bottom,St=h.right;E.fillStyle=Fe.valueOrDefault(P.fontColor,vr.global.defaultFontColor),E.font=L.string,h.isHorizontal()?(fn=xe+(St-xe)/2,jn=Ye+de,Mt=St-xe):(fn="left"===P.position?xe+de:St-de,jn=Ye+(nt-Ye)/2,Mt=nt-Ye,ve=Math.PI*("left"===P.position?-.5:.5)),E.save(),E.translate(fn,jn),E.rotate(ve),E.textAlign="center",E.textBaseline="middle";var Vn=P.text;if(Fe.isArray(Vn))for(var fr=0,$r=0;$r<Vn.length;++$r)E.fillText(Vn[$r],0,fr,Mt),fr+=X;else E.fillText(Vn,0,0,Mt);E.restore()}}});function hu(h,E){var P=new Zu({ctx:h.ctx,options:E,chart:h});Bl.configure(h,P,E),Bl.addBox(h,P),h.titleBlock=P}var pc={},Jd=Ac,Jc=Sc,Nl={id:"title",_element:Zu,beforeInit:function(h){var E=h.options.title;E&&hu(h,E)},beforeUpdate:function(h){var E=h.options.title,P=h.titleBlock;E?(Fe.mergeIf(E,vr.global.title),P?(Bl.configure(h,P,E),P.options=E):hu(h,E)):P&&(Bl.removeBox(h,P),delete h.titleBlock)}};for(var Uc in pc.filler=Jd,pc.legend=Jc,pc.title=Nl,Pn.helpers=Fe,function(){function h(L,X,de){var ve;return"string"==typeof L?(ve=parseInt(L,10),-1!==L.indexOf("%")&&(ve=ve/100*X.parentNode[de])):ve=L,ve}function E(L){return null!=L&&"none"!==L}function P(L,X,de){var ve=document.defaultView,Ye=Fe._getParentNode(L),xe=ve.getComputedStyle(L)[X],nt=ve.getComputedStyle(Ye)[X],St=E(xe),Mt=E(nt),fn=Number.POSITIVE_INFINITY;return St||Mt?Math.min(St?h(xe,L,de):fn,Mt?h(nt,Ye,de):fn):"none"}Fe.where=function(L,X){if(Fe.isArray(L)&&Array.prototype.filter)return L.filter(X);var de=[];return Fe.each(L,function(ve){X(ve)&&de.push(ve)}),de},Fe.findIndex=Array.prototype.findIndex?function(L,X,de){return L.findIndex(X,de)}:function(L,X,de){de=void 0===de?L:de;for(var ve=0,Ye=L.length;ve<Ye;++ve)if(X.call(de,L[ve],ve,L))return ve;return-1},Fe.findNextWhere=function(L,X,de){Fe.isNullOrUndef(de)&&(de=-1);for(var ve=de+1;ve<L.length;ve++){var Ye=L[ve];if(X(Ye))return Ye}},Fe.findPreviousWhere=function(L,X,de){Fe.isNullOrUndef(de)&&(de=L.length);for(var ve=de-1;ve>=0;ve--){var Ye=L[ve];if(X(Ye))return Ye}},Fe.isNumber=function(L){return!isNaN(parseFloat(L))&&isFinite(L)},Fe.almostEquals=function(L,X,de){return Math.abs(L-X)<de},Fe.almostWhole=function(L,X){var de=Math.round(L);return de-X<=L&&de+X>=L},Fe.max=function(L){return L.reduce(function(X,de){return isNaN(de)?X:Math.max(X,de)},Number.NEGATIVE_INFINITY)},Fe.min=function(L){return L.reduce(function(X,de){return isNaN(de)?X:Math.min(X,de)},Number.POSITIVE_INFINITY)},Fe.sign=Math.sign?function(L){return Math.sign(L)}:function(L){return 0==(L=+L)||isNaN(L)?L:L>0?1:-1},Fe.toRadians=function(L){return L*(Math.PI/180)},Fe.toDegrees=function(L){return L*(180/Math.PI)},Fe._decimalPlaces=function(L){if(Fe.isFinite(L)){for(var X=1,de=0;Math.round(L*X)/X!==L;)X*=10,de++;return de}},Fe.getAngleFromPoint=function(L,X){var de=X.x-L.x,ve=X.y-L.y,Ye=Math.sqrt(de*de+ve*ve),xe=Math.atan2(ve,de);return xe<-.5*Math.PI&&(xe+=2*Math.PI),{angle:xe,distance:Ye}},Fe.distanceBetweenPoints=function(L,X){return Math.sqrt(Math.pow(X.x-L.x,2)+Math.pow(X.y-L.y,2))},Fe.aliasPixel=function(L){return L%2==0?0:.5},Fe._alignPixel=function(L,X,de){var ve=L.currentDevicePixelRatio,Ye=de/2;return Math.round((X-Ye)*ve)/ve+Ye},Fe.splineCurve=function(L,X,de,ve){var Ye=L.skip?X:L,xe=X,nt=de.skip?X:de,St=Math.sqrt(Math.pow(xe.x-Ye.x,2)+Math.pow(xe.y-Ye.y,2)),Mt=Math.sqrt(Math.pow(nt.x-xe.x,2)+Math.pow(nt.y-xe.y,2)),fn=St/(St+Mt),jn=Mt/(St+Mt),Vn=ve*(fn=isNaN(fn)?0:fn),fr=ve*(jn=isNaN(jn)?0:jn);return{previous:{x:xe.x-Vn*(nt.x-Ye.x),y:xe.y-Vn*(nt.y-Ye.y)},next:{x:xe.x+fr*(nt.x-Ye.x),y:xe.y+fr*(nt.y-Ye.y)}}},Fe.EPSILON=Number.EPSILON||1e-14,Fe.splineCurveMonotone=function(L){var ve,Ye,xe,nt,Mt,fn,jn,Vn,fr,X=(L||[]).map(function($r){return{model:$r._model,deltaK:0,mK:0}}),de=X.length;for(ve=0;ve<de;++ve)if(!(xe=X[ve]).model.skip){if(Ye=ve>0?X[ve-1]:null,(nt=ve<de-1?X[ve+1]:null)&&!nt.model.skip){var St=nt.model.x-xe.model.x;xe.deltaK=0!==St?(nt.model.y-xe.model.y)/St:0}xe.mK=!Ye||Ye.model.skip?xe.deltaK:!nt||nt.model.skip?Ye.deltaK:this.sign(Ye.deltaK)!==this.sign(xe.deltaK)?0:(Ye.deltaK+xe.deltaK)/2}for(ve=0;ve<de-1;++ve)if(nt=X[ve+1],!(xe=X[ve]).model.skip&&!nt.model.skip){if(Fe.almostEquals(xe.deltaK,0,this.EPSILON)){xe.mK=nt.mK=0;continue}Mt=xe.mK/xe.deltaK,fn=nt.mK/xe.deltaK,!((Vn=Math.pow(Mt,2)+Math.pow(fn,2))<=9)&&(jn=3/Math.sqrt(Vn),xe.mK=Mt*jn*xe.deltaK,nt.mK=fn*jn*xe.deltaK)}for(ve=0;ve<de;++ve)!(xe=X[ve]).model.skip&&(nt=ve<de-1?X[ve+1]:null,(Ye=ve>0?X[ve-1]:null)&&!Ye.model.skip&&(xe.model.controlPointPreviousX=xe.model.x-(fr=(xe.model.x-Ye.model.x)/3),xe.model.controlPointPreviousY=xe.model.y-fr*xe.mK),nt&&!nt.model.skip&&(xe.model.controlPointNextX=xe.model.x+(fr=(nt.model.x-xe.model.x)/3),xe.model.controlPointNextY=xe.model.y+fr*xe.mK))},Fe.nextItem=function(L,X,de){return de?X>=L.length-1?L[0]:L[X+1]:X>=L.length-1?L[L.length-1]:L[X+1]},Fe.previousItem=function(L,X,de){return de?X<=0?L[L.length-1]:L[X-1]:X<=0?L[0]:L[X-1]},Fe.niceNum=function(L,X){var de=Math.floor(Fe.log10(L)),ve=L/Math.pow(10,de);return(X?ve<1.5?1:ve<3?2:ve<7?5:10:ve<=1?1:ve<=2?2:ve<=5?5:10)*Math.pow(10,de)},Fe.requestAnimFrame="undefined"==typeof window?function(L){L()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(L){return window.setTimeout(L,1e3/60)},Fe.getRelativePosition=function(L,X){var de,ve,Ye=L.originalEvent||L,xe=L.target||L.srcElement,nt=xe.getBoundingClientRect(),St=Ye.touches;St&&St.length>0?(de=St[0].clientX,ve=St[0].clientY):(de=Ye.clientX,ve=Ye.clientY);var Mt=parseFloat(Fe.getStyle(xe,"padding-left")),fn=parseFloat(Fe.getStyle(xe,"padding-top")),jn=parseFloat(Fe.getStyle(xe,"padding-right")),Vn=parseFloat(Fe.getStyle(xe,"padding-bottom")),$r=nt.bottom-nt.top-fn-Vn;return{x:de=Math.round((de-nt.left-Mt)/(nt.right-nt.left-Mt-jn)*xe.width/X.currentDevicePixelRatio),y:ve=Math.round((ve-nt.top-fn)/$r*xe.height/X.currentDevicePixelRatio)}},Fe.getConstraintWidth=function(L){return P(L,"max-width","clientWidth")},Fe.getConstraintHeight=function(L){return P(L,"max-height","clientHeight")},Fe._calculatePadding=function(L,X,de){return(X=Fe.getStyle(L,X)).indexOf("%")>-1?de*parseInt(X,10)/100:parseInt(X,10)},Fe._getParentNode=function(L){var X=L.parentNode;return X&&"[object ShadowRoot]"===X.toString()&&(X=X.host),X},Fe.getMaximumWidth=function(L){var X=Fe._getParentNode(L);if(!X)return L.clientWidth;var de=X.clientWidth,xe=de-Fe._calculatePadding(X,"padding-left",de)-Fe._calculatePadding(X,"padding-right",de),nt=Fe.getConstraintWidth(L);return isNaN(nt)?xe:Math.min(xe,nt)},Fe.getMaximumHeight=function(L){var X=Fe._getParentNode(L);if(!X)return L.clientHeight;var de=X.clientHeight,xe=de-Fe._calculatePadding(X,"padding-top",de)-Fe._calculatePadding(X,"padding-bottom",de),nt=Fe.getConstraintHeight(L);return isNaN(nt)?xe:Math.min(xe,nt)},Fe.getStyle=function(L,X){return L.currentStyle?L.currentStyle[X]:document.defaultView.getComputedStyle(L,null).getPropertyValue(X)},Fe.retinaScale=function(L,X){var de=L.currentDevicePixelRatio=X||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==de){var ve=L.canvas,Ye=L.height,xe=L.width;ve.height=Ye*de,ve.width=xe*de,L.ctx.scale(de,de),!ve.style.height&&!ve.style.width&&(ve.style.height=Ye+"px",ve.style.width=xe+"px")}},Fe.fontString=function(L,X,de){return X+" "+L+"px "+de},Fe.longestText=function(L,X,de,ve){var Ye=(ve=ve||{}).data=ve.data||{},xe=ve.garbageCollect=ve.garbageCollect||[];ve.font!==X&&(Ye=ve.data={},xe=ve.garbageCollect=[],ve.font=X),L.font=X;var Mt,fn,jn,Vn,fr,nt=0,St=de.length;for(Mt=0;Mt<St;Mt++)if(null!=(Vn=de[Mt])&&!0!==Fe.isArray(Vn))nt=Fe.measureText(L,Ye,xe,nt,Vn);else if(Fe.isArray(Vn))for(fn=0,jn=Vn.length;fn<jn;fn++)null!=(fr=Vn[fn])&&!Fe.isArray(fr)&&(nt=Fe.measureText(L,Ye,xe,nt,fr));var $r=xe.length/2;if($r>de.length){for(Mt=0;Mt<$r;Mt++)delete Ye[xe[Mt]];xe.splice(0,$r)}return nt},Fe.measureText=function(L,X,de,ve,Ye){var xe=X[Ye];return xe||(xe=X[Ye]=L.measureText(Ye).width,de.push(Ye)),xe>ve&&(ve=xe),ve},Fe.numberOfLabelLines=function(L){var X=1;return Fe.each(L,function(de){Fe.isArray(de)&&de.length>X&&(X=de.length)}),X},Fe.color=_r?function(L){return L instanceof CanvasGradient&&(L=vr.global.defaultColor),_r(L)}:function(L){return console.error("Color.js not found!"),L},Fe.getHoverColor=function(L){return L instanceof CanvasPattern||L instanceof CanvasGradient?L:Fe.color(L).saturate(.5).darken(.1).rgbString()}}(),Pn._adapters=Vi,Pn.Animation=yn,Pn.animationService=Cr,Pn.controllers=Oi,Pn.DatasetController=Ri,Pn.defaults=vr,Pn.Element=yt,Pn.elements=go,Pn.Interaction=sl,Pn.layouts=Bl,Pn.platform=Fa,Pn.plugins=Es,Pn.Scale=Mo,Pn.scaleService=ec,Pn.Ticks=Pr,Pn.Tooltip=Ld,Pn.helpers.each(Lc,function(h,E){Pn.scaleService.registerScaleType(E,h,h._defaults)}),pc)pc.hasOwnProperty(Uc)&&Pn.plugins.register(pc[Uc]);Pn.platform.initialize();var oc=Pn;return"undefined"!=typeof window&&(window.Chart=Pn),Pn.Chart=Pn,Pn.Legend=pc.legend._element,Pn.Title=pc.title._element,Pn.pluginService=Pn.plugins,Pn.PluginBase=Pn.Element.extend({}),Pn.canvasHelpers=Pn.helpers.canvas,Pn.layoutService=Pn.layouts,Pn.LinearScaleBase=pa,Pn.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],function(h){Pn[h]=function(E,P){return new Pn(E,Pn.helpers.merge(P||{},{type:h.charAt(0).toLowerCase()+h.slice(1)}))}}),oc}(function(){try{return i(16738)}catch(f){}}())},82885:(v,b)=>{var r;!function(){"use strict";var a={}.hasOwnProperty;function u(){for(var e=[],p=0;p<arguments.length;p++){var g=arguments[p];if(g){var T=typeof g;if("string"===T||"number"===T)e.push(g);else if(Array.isArray(g)){if(g.length){var M=u.apply(null,g);M&&e.push(M)}}else if("object"===T){if(g.toString!==Object.prototype.toString&&!g.toString.toString().includes("[native code]")){e.push(g.toString());continue}for(var w in g)a.call(g,w)&&g[w]&&e.push(w)}}}return e.join(" ")}v.exports?(u.default=u,v.exports=u):void 0!==(r=function(){return u}.apply(b,[]))&&(v.exports=r)}()},2665:v=>{v.exports=function(i,r){for(var a=[],f=0;f<i.length;f++){var u=r(i[f],f);b(u)?a.push.apply(a,u):a.push(u)}return a};var b=Array.isArray||function(i){return"[object Array]"===Object.prototype.toString.call(i)}},7281:(v,b)=>{"use strict";b.parse=function a(T,M){if("string"!=typeof T)throw new TypeError("argument str must be a string");for(var w={},U=(M||{}).decode||u,W=0;W<T.length;){var j=T.indexOf("=",W);if(-1===j)break;var q=T.indexOf(";",W);if(-1===q)q=T.length;else if(q<j){W=T.lastIndexOf(";",j-1)+1;continue}var ue=T.slice(W,j).trim();if(void 0===w[ue]){var re=T.slice(j+1,q).trim();34===re.charCodeAt(0)&&(re=re.slice(1,-1)),w[ue]=g(re,U)}W=q+1}return w},b.serialize=function f(T,M,w){var R=w||{},U=R.encode||e;if("function"!=typeof U)throw new TypeError("option encode is invalid");if(!r.test(T))throw new TypeError("argument name is invalid");var W=U(M);if(W&&!r.test(W))throw new TypeError("argument val is invalid");var j=T+"="+W;if(null!=R.maxAge){var q=R.maxAge-0;if(isNaN(q)||!isFinite(q))throw new TypeError("option maxAge is invalid");j+="; Max-Age="+Math.floor(q)}if(R.domain){if(!r.test(R.domain))throw new TypeError("option domain is invalid");j+="; Domain="+R.domain}if(R.path){if(!r.test(R.path))throw new TypeError("option path is invalid");j+="; Path="+R.path}if(R.expires){var ue=R.expires;if(!function p(T){return"[object Date]"===i.call(T)||T instanceof Date}(ue)||isNaN(ue.valueOf()))throw new TypeError("option expires is invalid");j+="; Expires="+ue.toUTCString()}if(R.httpOnly&&(j+="; HttpOnly"),R.secure&&(j+="; Secure"),R.priority)switch("string"==typeof R.priority?R.priority.toLowerCase():R.priority){case"low":j+="; Priority=Low";break;case"medium":j+="; Priority=Medium";break;case"high":j+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}if(R.sameSite)switch("string"==typeof R.sameSite?R.sameSite.toLowerCase():R.sameSite){case!0:j+="; SameSite=Strict";break;case"lax":j+="; SameSite=Lax";break;case"strict":j+="; SameSite=Strict";break;case"none":j+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return j};var i=Object.prototype.toString,r=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function u(T){return-1!==T.indexOf("%")?decodeURIComponent(T):T}function e(T){return encodeURIComponent(T)}function g(T,M){try{return M(T)}catch(w){return T}}},96967:(v,b,i)=>{"use strict";var r=i(35311),a={"text/plain":"Text","text/html":"Url",default:"Text"};v.exports=function e(p,g){var T,M,w,R,U,W,j=!1;g||(g={}),T=g.debug||!1;try{if(w=r(),R=document.createRange(),U=document.getSelection(),(W=document.createElement("span")).textContent=p,W.ariaHidden="true",W.style.all="unset",W.style.position="fixed",W.style.top=0,W.style.clip="rect(0, 0, 0, 0)",W.style.whiteSpace="pre",W.style.webkitUserSelect="text",W.style.MozUserSelect="text",W.style.msUserSelect="text",W.style.userSelect="text",W.addEventListener("copy",function(ue){ue.stopPropagation(),g.format&&(ue.preventDefault(),void 0===ue.clipboardData?(T&&console.warn("unable to use e.clipboardData"),T&&console.warn("trying IE specific stuff"),window.clipboardData.clearData(),window.clipboardData.setData(a[g.format]||a.default,p)):(ue.clipboardData.clearData(),ue.clipboardData.setData(g.format,p))),g.onCopy&&(ue.preventDefault(),g.onCopy(ue.clipboardData))}),document.body.appendChild(W),R.selectNodeContents(W),U.addRange(R),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");j=!0}catch(ue){T&&console.error("unable to copy using execCommand: ",ue),T&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(g.format||"text",p),g.onCopy&&g.onCopy(window.clipboardData),j=!0}catch(re){T&&console.error("unable to copy using clipboardData: ",re),T&&console.error("falling back to prompt"),M=function u(p){var g=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return p.replace(/#{\s*key\s*}/g,g)}("message"in g?g.message:"Copy to clipboard: #{key}, Enter"),window.prompt(M,p)}}finally{U&&("function"==typeof U.removeRange?U.removeRange(R):U.removeAllRanges()),W&&document.body.removeChild(W),w()}return j}},43987:(v,b,i)=>{var r=i(75242);v.exports=r},99556:(v,b,i)=>{var r=i(10323);v.exports=r},39287:(v,b,i)=>{var r=i(8748);v.exports=r},25272:(v,b,i)=>{var r=i(71873);v.exports=r},54450:(v,b,i)=>{var r=i(19095);v.exports=r},39557:(v,b,i)=>{var r=i(52049);v.exports=r},61611:(v,b,i)=>{var r=i(87054);v.exports=r},22549:(v,b,i)=>{var r=i(45284);v.exports=r},47646:(v,b,i)=>{var r=i(70157);v.exports=r},78663:(v,b,i)=>{var r=i(640);v.exports=r},48498:(v,b,i)=>{var r=i(50320);v.exports=r},4922:(v,b,i)=>{var r=i(93006);v.exports=r},95190:(v,b,i)=>{var r=i(36226);v.exports=r},78525:(v,b,i)=>{var r=i(21968);v.exports=r},21064:(v,b,i)=>{var r=i(87259);v.exports=r},65641:(v,b,i)=>{var r=i(62021);v.exports=r},21693:(v,b,i)=>{var r=i(57682);v.exports=r},88907:(v,b,i)=>{var r=i(94222);v.exports=r},41432:(v,b,i)=>{var r=i(1162);v.exports=r},7398:(v,b,i)=>{var r=i(82805);v.exports=r},67221:(v,b,i)=>{var r=i(26498);v.exports=r},67447:(v,b,i)=>{var r=i(44850);v.exports=r},58811:(v,b,i)=>{var r=i(9634);v.exports=r},19573:(v,b,i)=>{var r=i(96551);i(5737),v.exports=r},10226:(v,b,i)=>{var r=i(98908);v.exports=r},56378:(v,b,i)=>{var r=i(55434);v.exports=r},74771:(v,b,i)=>{i(3934),i(261);var r=i(13544);v.exports=r.Array.from},8412:(v,b,i)=>{i(2862);var r=i(13544);v.exports=r.Array.isArray},77377:(v,b,i)=>{i(1625);var r=i(97911);v.exports=r("Array").concat},399:(v,b,i)=>{i(1285),i(17221);var r=i(97911);v.exports=r("Array").entries},66933:(v,b,i)=>{i(70466);var r=i(97911);v.exports=r("Array").every},9504:(v,b,i)=>{i(24990);var r=i(97911);v.exports=r("Array").fill},82168:(v,b,i)=>{i(56534);var r=i(97911);v.exports=r("Array").filter},65618:(v,b,i)=>{i(12773);var r=i(97911);v.exports=r("Array").findIndex},9186:(v,b,i)=>{i(60326);var r=i(97911);v.exports=r("Array").find},98812:(v,b,i)=>{i(98792);var r=i(97911);v.exports=r("Array").forEach},58479:(v,b,i)=>{i(77059);var r=i(97911);v.exports=r("Array").includes},43207:(v,b,i)=>{i(2795);var r=i(97911);v.exports=r("Array").indexOf},33195:(v,b,i)=>{i(1285),i(17221);var r=i(97911);v.exports=r("Array").keys},63033:(v,b,i)=>{i(74926);var r=i(97911);v.exports=r("Array").lastIndexOf},5736:(v,b,i)=>{i(88119);var r=i(97911);v.exports=r("Array").map},7198:(v,b,i)=>{i(46250);var r=i(97911);v.exports=r("Array").reduce},84302:(v,b,i)=>{i(32836);var r=i(97911);v.exports=r("Array").reverse},86693:(v,b,i)=>{i(72999);var r=i(97911);v.exports=r("Array").slice},24273:(v,b,i)=>{i(50733);var r=i(97911);v.exports=r("Array").some},45974:(v,b,i)=>{i(93639);var r=i(97911);v.exports=r("Array").sort},68012:(v,b,i)=>{i(63117);var r=i(97911);v.exports=r("Array").splice},46332:(v,b,i)=>{i(1285),i(17221);var r=i(97911);v.exports=r("Array").values},42618:(v,b,i)=>{i(34699);var r=i(13544);v.exports=r.Date.now},97724:(v,b,i)=>{i(33379);var r=i(97911);v.exports=r("Function").bind},63791:(v,b,i)=>{i(1285),i(3934);var r=i(34014);v.exports=r},69029:(v,b,i)=>{var r=i(23336),a=i(97724),f=Function.prototype;v.exports=function(u){var e=u.bind;return u===f||r(f,u)&&e===f.bind?a:e}},28924:(v,b,i)=>{var r=i(23336),a=i(77377),f=Array.prototype;v.exports=function(u){var e=u.concat;return u===f||r(f,u)&&e===f.concat?a:e}},98709:(v,b,i)=>{var r=i(23336),a=i(66933),f=Array.prototype;v.exports=function(u){var e=u.every;return u===f||r(f,u)&&e===f.every?a:e}},65991:(v,b,i)=>{var r=i(23336),a=i(9504),f=Array.prototype;v.exports=function(u){var e=u.fill;return u===f||r(f,u)&&e===f.fill?a:e}},64158:(v,b,i)=>{var r=i(23336),a=i(82168),f=Array.prototype;v.exports=function(u){var e=u.filter;return u===f||r(f,u)&&e===f.filter?a:e}},91799:(v,b,i)=>{var r=i(23336),a=i(65618),f=Array.prototype;v.exports=function(u){var e=u.findIndex;return u===f||r(f,u)&&e===f.findIndex?a:e}},26155:(v,b,i)=>{var r=i(23336),a=i(9186),f=Array.prototype;v.exports=function(u){var e=u.find;return u===f||r(f,u)&&e===f.find?a:e}},33758:(v,b,i)=>{var r=i(23336),a=i(58479),f=i(85136),u=Array.prototype,e=String.prototype;v.exports=function(p){var g=p.includes;return p===u||r(u,p)&&g===u.includes?a:"string"==typeof p||p===e||r(e,p)&&g===e.includes?f:g}},7592:(v,b,i)=>{var r=i(23336),a=i(43207),f=Array.prototype;v.exports=function(u){var e=u.indexOf;return u===f||r(f,u)&&e===f.indexOf?a:e}},17480:(v,b,i)=>{var r=i(23336),a=i(63033),f=Array.prototype;v.exports=function(u){var e=u.lastIndexOf;return u===f||r(f,u)&&e===f.lastIndexOf?a:e}},20681:(v,b,i)=>{var r=i(23336),a=i(5736),f=Array.prototype;v.exports=function(u){var e=u.map;return u===f||r(f,u)&&e===f.map?a:e}},90949:(v,b,i)=>{var r=i(23336),a=i(7198),f=Array.prototype;v.exports=function(u){var e=u.reduce;return u===f||r(f,u)&&e===f.reduce?a:e}},99316:(v,b,i)=>{var r=i(23336),a=i(96302),f=String.prototype;v.exports=function(u){var e=u.repeat;return"string"==typeof u||u===f||r(f,u)&&e===f.repeat?a:e}},62212:(v,b,i)=>{var r=i(23336),a=i(84302),f=Array.prototype;v.exports=function(u){var e=u.reverse;return u===f||r(f,u)&&e===f.reverse?a:e}},49073:(v,b,i)=>{var r=i(23336),a=i(86693),f=Array.prototype;v.exports=function(u){var e=u.slice;return u===f||r(f,u)&&e===f.slice?a:e}},24146:(v,b,i)=>{var r=i(23336),a=i(24273),f=Array.prototype;v.exports=function(u){var e=u.some;return u===f||r(f,u)&&e===f.some?a:e}},40104:(v,b,i)=>{var r=i(23336),a=i(45974),f=Array.prototype;v.exports=function(u){var e=u.sort;return u===f||r(f,u)&&e===f.sort?a:e}},3555:(v,b,i)=>{var r=i(23336),a=i(68012),f=Array.prototype;v.exports=function(u){var e=u.splice;return u===f||r(f,u)&&e===f.splice?a:e}},68333:(v,b,i)=>{var r=i(23336),a=i(98720),f=String.prototype;v.exports=function(u){var e=u.startsWith;return"string"==typeof u||u===f||r(f,u)&&e===f.startsWith?a:e}},65786:(v,b,i)=>{var r=i(23336),a=i(75998),f=String.prototype;v.exports=function(u){var e=u.trim;return"string"==typeof u||u===f||r(f,u)&&e===f.trim?a:e}},66306:(v,b,i)=>{i(75071);var r=i(13544),a=i(2543);r.JSON||(r.JSON={stringify:JSON.stringify}),v.exports=function(u,e,p){return a(r.JSON.stringify,null,arguments)}},31845:(v,b,i)=>{i(1285),i(85140),i(17221),i(3934);var r=i(13544);v.exports=r.Map},44168:(v,b,i)=>{i(67234);var r=i(13544);v.exports=r.Object.assign},25852:(v,b,i)=>{i(86516);var a=i(13544).Object;v.exports=function(u,e){return a.create(u,e)}},24457:(v,b,i)=>{i(36255);var a=i(13544).Object,f=v.exports=function(e,p){return a.defineProperties(e,p)};a.defineProperties.sham&&(f.sham=!0)},99671:(v,b,i)=>{i(84468);var a=i(13544).Object,f=v.exports=function(e,p,g){return a.defineProperty(e,p,g)};a.defineProperty.sham&&(f.sham=!0)},38007:(v,b,i)=>{i(86627);var a=i(13544).Object,f=v.exports=function(e,p){return a.getOwnPropertyDescriptor(e,p)};a.getOwnPropertyDescriptor.sham&&(f.sham=!0)},57432:(v,b,i)=>{i(78275);var r=i(13544);v.exports=r.Object.getOwnPropertyDescriptors},36541:(v,b,i)=>{i(56728);var r=i(13544);v.exports=r.Object.getOwnPropertySymbols},17303:(v,b,i)=>{i(31193);var r=i(13544);v.exports=r.Object.getPrototypeOf},62149:(v,b,i)=>{i(56557);var r=i(13544);v.exports=r.Object.keys},86537:(v,b,i)=>{i(17971);var r=i(13544);v.exports=r.Object.setPrototypeOf},79553:(v,b,i)=>{i(88923);var r=i(13544);v.exports=r.Object.values},80092:(v,b,i)=>{i(10901),i(1285),i(17221),i(66793),i(84798),i(98857),i(30185),i(3934);var r=i(13544);v.exports=r.Promise},472:(v,b,i)=>{i(19539);var r=i(13544);v.exports=r.Reflect.construct},4678:(v,b,i)=>{i(60851);var r=i(13544);v.exports=r.Reflect.get},85136:(v,b,i)=>{i(97764);var r=i(97911);v.exports=r("String").includes},96302:(v,b,i)=>{i(3588);var r=i(97911);v.exports=r("String").repeat},98720:(v,b,i)=>{i(24655);var r=i(97911);v.exports=r("String").startsWith},75998:(v,b,i)=>{i(90451);var r=i(97911);v.exports=r("String").trim},61697:(v,b,i)=>{i(1625),i(17221),i(56728),i(16426),i(1172),i(99579),i(41258),i(2383),i(44339),i(64776),i(88215),i(65389),i(12733),i(97977),i(59792),i(60242),i(26291),i(32300),i(63603),i(44864);var r=i(13544);v.exports=r.Symbol},42497:(v,b,i)=>{i(1285),i(17221),i(3934),i(2383);var r=i(89734);v.exports=r.f("iterator")},50681:(v,b,i)=>{i(68154),i(59792);var r=i(89734);v.exports=r.f("toPrimitive")},56286:(v,b,i)=>{v.exports=i(73875)},54153:(v,b,i)=>{v.exports=i(91700)},90755:(v,b,i)=>{v.exports=i(70589)},98235:(v,b,i)=>{v.exports=i(71432)},78096:(v,b,i)=>{v.exports=i(73712)},31236:(v,b,i)=>{v.exports=i(58044)},15819:(v,b,i)=>{v.exports=i(55451)},44948:(v,b,i)=>{v.exports=i(61483)},96471:(v,b,i)=>{v.exports=i(46815)},5228:(v,b,i)=>{v.exports=i(28296)},50182:(v,b,i)=>{v.exports=i(96973)},41171:(v,b,i)=>{v.exports=i(47194)},54585:(v,b,i)=>{v.exports=i(56805)},62005:(v,b,i)=>{v.exports=i(32944)},39964:(v,b,i)=>{v.exports=i(70729)},70326:(v,b,i)=>{v.exports=i(48299)},98162:(v,b,i)=>{v.exports=i(33969)},42346:(v,b,i)=>{v.exports=i(26421)},4204:(v,b,i)=>{v.exports=i(37785)},24329:(v,b,i)=>{v.exports=i(15123)},2793:(v,b,i)=>{v.exports=i(49745)},42700:(v,b,i)=>{v.exports=i(29044)},70269:(v,b,i)=>{v.exports=i(20611)},88819:(v,b,i)=>{v.exports=i(65861)},55912:(v,b,i)=>{v.exports=i(63816)},91185:(v,b,i)=>{v.exports=i(72378)},73875:(v,b,i)=>{var r=i(43987);v.exports=r},91700:(v,b,i)=>{var r=i(99556);v.exports=r},70589:(v,b,i)=>{var r=i(39287);v.exports=r},71432:(v,b,i)=>{var r=i(25272);v.exports=r},73712:(v,b,i)=>{var r=i(54450);v.exports=r},58044:(v,b,i)=>{var r=i(39557);v.exports=r},55451:(v,b,i)=>{var r=i(61611);v.exports=r},61483:(v,b,i)=>{var r=i(22549);v.exports=r},46815:(v,b,i)=>{var r=i(47646);v.exports=r},28296:(v,b,i)=>{var r=i(78663);i(78271),i(60854),i(10509),i(30887),i(54547),i(68996),i(1530),i(60176),i(41554),i(41688),i(92847),i(17316),i(58786),i(35517),i(12783),i(69773),i(22337),i(40199),i(69046),i(84131),v.exports=r},96973:(v,b,i)=>{var r=i(48498);v.exports=r},47194:(v,b,i)=>{var r=i(4922);v.exports=r},56805:(v,b,i)=>{var r=i(95190);v.exports=r},32944:(v,b,i)=>{var r=i(78525);v.exports=r},70729:(v,b,i)=>{var r=i(21064);v.exports=r},48299:(v,b,i)=>{var r=i(65641);v.exports=r},33969:(v,b,i)=>{var r=i(21693);v.exports=r},26421:(v,b,i)=>{var r=i(88907);v.exports=r},37785:(v,b,i)=>{var r=i(41432);v.exports=r},15123:(v,b,i)=>{var r=i(7398);v.exports=r},49745:(v,b,i)=>{var r=i(67221);i(67670),i(61127),i(93114),i(45975),v.exports=r},29044:(v,b,i)=>{var r=i(67447);v.exports=r},20611:(v,b,i)=>{var r=i(58811);v.exports=r},65861:(v,b,i)=>{var r=i(19573);i(55461),i(61652),i(90791),i(87097),i(29559),i(90212),i(71985),i(93770),i(47743),v.exports=r},63816:(v,b,i)=>{var r=i(10226);v.exports=r},72378:(v,b,i)=>{var r=i(56378);v.exports=r},61812:(v,b,i)=>{var r=i(52208),a=i(7378),f=TypeError;v.exports=function(u){if(r(u))return u;throw f(a(u)+" is not a function")}},54356:(v,b,i)=>{var r=i(81177),a=i(7378),f=TypeError;v.exports=function(u){if(r(u))return u;throw f(a(u)+" is not a constructor")}},64902:(v,b,i)=>{var r=i(7378);v.exports=function(a){if("object"==typeof a&&"size"in a&&"has"in a&&"get"in a&&"set"in a&&"delete"in a&&"entries"in a)return a;throw TypeError(r(a)+" is not a map")}},93221:(v,b,i)=>{var r=i(52208),a=String,f=TypeError;v.exports=function(u){if("object"==typeof u||r(u))return u;throw f("Can't set "+a(u)+" as a prototype")}},82196:v=>{v.exports=function(){}},54849:(v,b,i)=>{var r=i(23336),a=TypeError;v.exports=function(f,u){if(r(u,f))return f;throw a("Incorrect invocation")}},64562:(v,b,i)=>{var r=i(77293),a=String,f=TypeError;v.exports=function(u){if(r(u))return u;throw f(a(u)+" is not an object")}},76318:(v,b,i)=>{var r=i(55756);v.exports=r(function(){if("function"==typeof ArrayBuffer){var a=new ArrayBuffer(8);Object.isExtensible(a)&&Object.defineProperty(a,"a",{value:8})}})},35277:(v,b,i)=>{"use strict";var r=i(70267),a=i(19401),f=i(6381);v.exports=function(e){for(var p=r(this),g=f(p),T=arguments.length,M=a(T>1?arguments[1]:void 0,g),w=T>2?arguments[2]:void 0,R=void 0===w?g:a(w,g);R>M;)p[M++]=e;return p}},8366:(v,b,i)=>{"use strict";var r=i(68607).forEach,f=i(33620)("forEach");v.exports=f?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},51923:(v,b,i)=>{"use strict";var r=i(76781),a=i(25401),f=i(70267),u=i(93463),e=i(39918),p=i(81177),g=i(6381),T=i(46751),M=i(88055),w=i(34014),R=Array;v.exports=function(W){var j=f(W),q=p(this),ue=arguments.length,re=ue>1?arguments[1]:void 0,H=void 0!==re;H&&(re=r(re,ue>2?arguments[2]:void 0));var ie,fe,_e,Ce,ce,Be,se=w(j),ae=0;if(!se||this===R&&e(se))for(ie=g(j),fe=q?new this(ie):R(ie);ie>ae;ae++)Be=H?re(j[ae],ae):j[ae],T(fe,ae,Be);else for(ce=(Ce=M(j,se)).next,fe=q?new this:[];!(_e=a(ce,Ce)).done;ae++)Be=H?u(Ce,re,[_e.value,ae],!0):_e.value,T(fe,ae,Be);return fe.length=ae,fe}},95171:(v,b,i)=>{var r=i(81010),a=i(19401),f=i(6381),u=function(e){return function(p,g,T){var U,M=r(p),w=f(M),R=a(T,w);if(e&&g!=g){for(;w>R;)if((U=M[R++])!=U)return!0}else for(;w>R;R++)if((e||R in M)&&M[R]===g)return e||R||0;return!e&&-1}};v.exports={includes:u(!0),indexOf:u(!1)}},68607:(v,b,i)=>{var r=i(76781),a=i(23634),f=i(20973),u=i(70267),e=i(6381),p=i(2103),g=a([].push),T=function(M){var w=1==M,R=2==M,U=3==M,W=4==M,j=6==M,q=7==M,ue=5==M||j;return function(re,H,se,ae){for(var Xe,He,ie=u(re),fe=f(ie),_e=r(H,se),Ce=e(fe),ce=0,Be=ae||p,Ve=w?Be(re,Ce):R||q?Be(re,0):void 0;Ce>ce;ce++)if((ue||ce in fe)&&(He=_e(Xe=fe[ce],ce,ie),M))if(w)Ve[ce]=He;else if(He)switch(M){case 3:return!0;case 5:return Xe;case 6:return ce;case 2:g(Ve,Xe)}else switch(M){case 4:return!1;case 7:g(Ve,Xe)}return j?-1:U||W?W:Ve}};v.exports={forEach:T(0),map:T(1),filter:T(2),some:T(3),every:T(4),find:T(5),findIndex:T(6),filterReject:T(7)}},78375:(v,b,i)=>{"use strict";var r=i(2543),a=i(81010),f=i(33912),u=i(6381),e=i(33620),p=Math.min,g=[].lastIndexOf,T=!!g&&1/[1].lastIndexOf(1,-0)<0,M=e("lastIndexOf");v.exports=T||!M?function(U){if(T)return r(g,this,arguments)||0;var W=a(this),j=u(W),q=j-1;for(arguments.length>1&&(q=p(q,f(arguments[1]))),q<0&&(q=j+q);q>=0;q--)if(q in W&&W[q]===U)return q||0;return-1}:g},95913:(v,b,i)=>{var r=i(55756),a=i(91840),f=i(63556),u=a("species");v.exports=function(e){return f>=51||!r(function(){var p=[];return(p.constructor={})[u]=function(){return{foo:1}},1!==p[e](Boolean).foo})}},33620:(v,b,i)=>{"use strict";var r=i(55756);v.exports=function(a,f){var u=[][a];return!!u&&r(function(){u.call(null,f||function(){return 1},1)})}},88908:(v,b,i)=>{var r=i(61812),a=i(70267),f=i(20973),u=i(6381),e=TypeError,p=function(g){return function(T,M,w,R){r(M);var U=a(T),W=f(U),j=u(U),q=g?j-1:0,ue=g?-1:1;if(w<2)for(;;){if(q in W){R=W[q],q+=ue;break}if(q+=ue,g?q<0:j<=q)throw e("Reduce of empty array with no initial value")}for(;g?q>=0:j>q;q+=ue)q in W&&(R=M(R,W[q],q,U));return R}};v.exports={left:p(!1),right:p(!0)}},54716:(v,b,i)=>{"use strict";var r=i(49642),a=i(89735),f=TypeError,u=Object.getOwnPropertyDescriptor,e=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(p){return p instanceof TypeError}}();v.exports=e?function(p,g){if(a(p)&&!u(p,"length").writable)throw f("Cannot set read only .length");return p.length=g}:function(p,g){return p.length=g}},8681:(v,b,i)=>{var r=i(19401),a=i(6381),f=i(46751),u=Array,e=Math.max;v.exports=function(p,g,T){for(var M=a(p),w=r(g,M),R=r(void 0===T?M:T,M),U=u(e(R-w,0)),W=0;w<R;w++,W++)f(U,W,p[w]);return U.length=W,U}},37591:(v,b,i)=>{var r=i(23634);v.exports=r([].slice)},84865:(v,b,i)=>{var r=i(8681),a=Math.floor,f=function(p,g){var T=p.length,M=a(T/2);return T<8?u(p,g):e(p,f(r(p,0,M),g),f(r(p,M),g),g)},u=function(p,g){for(var w,R,T=p.length,M=1;M<T;){for(R=M,w=p[M];R&&g(p[R-1],w)>0;)p[R]=p[--R];R!==M++&&(p[R]=w)}return p},e=function(p,g,T,M){for(var w=g.length,R=T.length,U=0,W=0;U<w||W<R;)p[U+W]=U<w&&W<R?M(g[U],T[W])<=0?g[U++]:T[W++]:U<w?g[U++]:T[W++];return p};v.exports=f},48045:(v,b,i)=>{var r=i(89735),a=i(81177),f=i(77293),e=i(91840)("species"),p=Array;v.exports=function(g){var T;return r(g)&&(a(T=g.constructor)&&(T===p||r(T.prototype))||f(T)&&null===(T=T[e]))&&(T=void 0),void 0===T?p:T}},2103:(v,b,i)=>{var r=i(48045);v.exports=function(a,f){return new(r(a))(0===f?0:f)}},93463:(v,b,i)=>{var r=i(64562),a=i(40798);v.exports=function(f,u,e,p){try{return p?u(r(e)[0],e[1]):u(e)}catch(g){a(f,"throw",g)}}},49458:v=>{v.exports=function(b,i){return 1==i?function(r,a){return r[b](a)}:function(r,a,f){return r[b](a,f)}}},5253:(v,b,i)=>{var a=i(91840)("iterator"),f=!1;try{var u=0,e={next:function(){return{done:!!u++}},return:function(){f=!0}};e[a]=function(){return this},Array.from(e,function(){throw 2})}catch(p){}v.exports=function(p,g){if(!g&&!f)return!1;var T=!1;try{var M={};M[a]=function(){return{next:function(){return{done:T=!0}}}},p(M)}catch(w){}return T}},49806:(v,b,i)=>{var r=i(23634),a=r({}.toString),f=r("".slice);v.exports=function(u){return f(a(u),8,-1)}},35329:(v,b,i)=>{var r=i(5552),a=i(52208),f=i(49806),e=i(91840)("toStringTag"),p=Object,g="Arguments"==f(function(){return arguments}());v.exports=r?f:function(M){var w,R,U;return void 0===M?"Undefined":null===M?"Null":"string"==typeof(R=function(M,w){try{return M[w]}catch(R){}}(w=p(M),e))?R:g?f(w):"Object"==(U=f(w))&&a(w.callee)?"Arguments":U}},83483:(v,b,i)=>{"use strict";var r=i(76781),a=i(25401),f=i(61812),u=i(54356),e=i(43550),p=i(41605),g=[].push;v.exports=function(M){var U,W,j,q,w=arguments.length,R=w>1?arguments[1]:void 0;return u(this),(U=void 0!==R)&&f(R),e(M)?new this:(W=[],U?(j=0,q=r(R,w>2?arguments[2]:void 0),p(M,function(ue){a(g,W,q(ue,j++))})):p(M,g,{that:W}),new this(W))}},13067:(v,b,i)=>{"use strict";var r=i(37591);v.exports=function(){return new this(r(arguments))}},26650:(v,b,i)=>{"use strict";var r=i(83272),a=i(1707),f=i(84604),u=i(76781),e=i(54849),p=i(43550),g=i(41605),T=i(79077),M=i(28738),w=i(58014),R=i(49642),U=i(57867).fastKey,W=i(91093),j=W.set,q=W.getterFor;v.exports={getConstructor:function(ue,re,H,se){var ae=ue(function(ce,Be){e(ce,ie),j(ce,{type:re,index:r(null),first:void 0,last:void 0,size:0}),R||(ce.size=0),p(Be)||g(Be,ce[se],{that:ce,AS_ENTRIES:H})}),ie=ae.prototype,fe=q(re),_e=function(ce,Be,Ve){var Pe,Ge,Xe=fe(ce),He=Ce(ce,Be);return He?He.value=Ve:(Xe.last=He={index:Ge=U(Be,!0),key:Be,value:Ve,previous:Pe=Xe.last,next:void 0,removed:!1},Xe.first||(Xe.first=He),Pe&&(Pe.next=He),R?Xe.size++:ce.size++,"F"!==Ge&&(Xe.index[Ge]=He)),ce},Ce=function(ce,Be){var He,Ve=fe(ce),Xe=U(Be);if("F"!==Xe)return Ve.index[Xe];for(He=Ve.first;He;He=He.next)if(He.key==Be)return He};return f(ie,{clear:function(){for(var Ve=fe(this),Xe=Ve.index,He=Ve.first;He;)He.removed=!0,He.previous&&(He.previous=He.previous.next=void 0),delete Xe[He.index],He=He.next;Ve.first=Ve.last=void 0,R?Ve.size=0:this.size=0},delete:function(ce){var Ve=fe(this),Xe=Ce(this,ce);if(Xe){var He=Xe.next,Pe=Xe.previous;delete Ve.index[Xe.index],Xe.removed=!0,Pe&&(Pe.next=He),He&&(He.previous=Pe),Ve.first==Xe&&(Ve.first=He),Ve.last==Xe&&(Ve.last=Pe),R?Ve.size--:this.size--}return!!Xe},forEach:function(Be){for(var He,Ve=fe(this),Xe=u(Be,arguments.length>1?arguments[1]:void 0);He=He?He.next:Ve.first;)for(Xe(He.value,He.key,this);He&&He.removed;)He=He.previous},has:function(Be){return!!Ce(this,Be)}}),f(ie,H?{get:function(Be){var Ve=Ce(this,Be);return Ve&&Ve.value},set:function(Be,Ve){return _e(this,0===Be?0:Be,Ve)}}:{add:function(Be){return _e(this,Be=0===Be?0:Be,Be)}}),R&&a(ie,"size",{configurable:!0,get:function(){return fe(this).size}}),ae},setStrong:function(ue,re,H){var se=re+" Iterator",ae=q(re),ie=q(se);T(ue,re,function(fe,_e){j(this,{type:se,target:fe,state:ae(fe),kind:_e,last:void 0})},function(){for(var fe=ie(this),_e=fe.kind,Ce=fe.last;Ce&&Ce.removed;)Ce=Ce.previous;return fe.target&&(fe.last=Ce=Ce?Ce.next:fe.state.first)?M("keys"==_e?Ce.key:"values"==_e?Ce.value:[Ce.key,Ce.value],!1):(fe.target=void 0,M(void 0,!0))},H?"entries":"values",!H,!0),w(re)}}},85116:(v,b,i)=>{"use strict";var r=i(90513),a=i(70009),f=i(57867),u=i(55756),e=i(65162),p=i(41605),g=i(54849),T=i(52208),M=i(77293),w=i(85681),R=i(48011).f,U=i(68607).forEach,W=i(49642),j=i(91093),q=j.set,ue=j.getterFor;v.exports=function(re,H,se){var Be,ae=-1!==re.indexOf("Map"),ie=-1!==re.indexOf("Weak"),fe=ae?"set":"add",_e=a[re],Ce=_e&&_e.prototype,ce={};if(W&&T(_e)&&(ie||Ce.forEach&&!u(function(){(new _e).entries().next()}))){var Ve=(Be=H(function(He,Pe){q(g(He,Ve),{type:re,collection:new _e}),null!=Pe&&p(Pe,He[fe],{that:He,AS_ENTRIES:ae})})).prototype,Xe=ue(re);U(["add","clear","delete","forEach","get","has","set","keys","values","entries"],function(He){var Pe="add"==He||"set"==He;He in Ce&&(!ie||"clear"!=He)&&e(Ve,He,function(Ge,Oe){var Tt=Xe(this).collection;if(!Pe&&ie&&!M(Ge))return"get"==He&&void 0;var We=Tt[He](0===Ge?0:Ge,Oe);return Pe?this:We})}),ie||R(Ve,"size",{configurable:!0,get:function(){return Xe(this).collection.size}})}else Be=se.getConstructor(H,re,ae,fe),f.enable();return w(Be,re,!1,!0),ce[re]=Be,r({global:!0,forced:!0},ce),ie||se.setStrong(Be,re,ae),Be}},65031:(v,b,i)=>{var r=i(80112),a=i(59823),f=i(25525),u=i(48011);v.exports=function(e,p,g){for(var T=a(p),M=u.f,w=f.f,R=0;R<T.length;R++){var U=T[R];!r(e,U)&&(!g||!r(g,U))&&M(e,U,w(p,U))}}},79668:(v,b,i)=>{var a=i(91840)("match");v.exports=function(f){var u=/./;try{"/./"[f](u)}catch(e){try{return u[a]=!1,"/./"[f](u)}catch(p){}}return!1}},37112:(v,b,i)=>{var r=i(55756);v.exports=!r(function(){function a(){}return a.prototype.constructor=null,Object.getPrototypeOf(new a)!==a.prototype})},28738:v=>{v.exports=function(b,i){return{value:b,done:i}}},65162:(v,b,i)=>{var r=i(49642),a=i(48011),f=i(51361);v.exports=r?function(u,e,p){return a.f(u,e,f(1,p))}:function(u,e,p){return u[e]=p,u}},51361:v=>{v.exports=function(b,i){return{enumerable:!(1&b),configurable:!(2&b),writable:!(4&b),value:i}}},46751:(v,b,i)=>{"use strict";var r=i(62939),a=i(48011),f=i(51361);v.exports=function(u,e,p){var g=r(e);g in u?a.f(u,g,f(0,p)):u[g]=p}},1707:(v,b,i)=>{var r=i(48011);v.exports=function(a,f,u){return r.f(a,f,u)}},42915:(v,b,i)=>{var r=i(65162);v.exports=function(a,f,u,e){return e&&e.enumerable?a[f]=u:r(a,f,u),a}},84604:(v,b,i)=>{var r=i(42915);v.exports=function(a,f,u){for(var e in f)u&&u.unsafe&&a[e]?a[e]=f[e]:r(a,e,f[e],u);return a}},34056:(v,b,i)=>{var r=i(70009),a=Object.defineProperty;v.exports=function(f,u){try{a(r,f,{value:u,configurable:!0,writable:!0})}catch(e){r[f]=u}return u}},67236:(v,b,i)=>{"use strict";var r=i(7378),a=TypeError;v.exports=function(f,u){if(!delete f[u])throw a("Cannot delete property "+r(u)+" of "+r(f))}},49642:(v,b,i)=>{var r=i(55756);v.exports=!r(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},59478:v=>{var b="object"==typeof document&&document.all;v.exports={all:b,IS_HTMLDDA:void 0===b&&void 0!==b}},96682:(v,b,i)=>{var r=i(70009),a=i(77293),f=r.document,u=a(f)&&a(f.createElement);v.exports=function(e){return u?f.createElement(e):{}}},11594:v=>{var b=TypeError;v.exports=function(r){if(r>9007199254740991)throw b("Maximum allowed index exceeded");return r}},44125:v=>{v.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},36410:(v,b,i)=>{var a=i(86053).match(/firefox\/(\d+)/i);v.exports=!!a&&+a[1]},34008:(v,b,i)=>{var r=i(31813),a=i(3787);v.exports=!r&&!a&&"object"==typeof window&&"object"==typeof document},70902:v=>{v.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},31813:v=>{v.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},5329:(v,b,i)=>{var r=i(86053);v.exports=/MSIE|Trident/.test(r)},16137:(v,b,i)=>{var r=i(86053);v.exports=/ipad|iphone|ipod/i.test(r)&&"undefined"!=typeof Pebble},3877:(v,b,i)=>{var r=i(86053);v.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},3787:(v,b,i)=>{var r=i(49806);v.exports="undefined"!=typeof process&&"process"==r(process)},85308:(v,b,i)=>{var r=i(86053);v.exports=/web0s(?!.*chrome)/i.test(r)},86053:v=>{v.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},63556:(v,b,i)=>{var g,T,r=i(70009),a=i(86053),f=r.process,u=r.Deno,e=f&&f.versions||u&&u.version,p=e&&e.v8;p&&(T=(g=p.split("."))[0]>0&&g[0]<4?1:+(g[0]+g[1])),!T&&a&&(!(g=a.match(/Edge\/(\d+)/))||g[1]>=74)&&(g=a.match(/Chrome\/(\d+)/))&&(T=+g[1]),v.exports=T},34545:(v,b,i)=>{var a=i(86053).match(/AppleWebKit\/(\d+)\./);v.exports=!!a&&+a[1]},97911:(v,b,i)=>{var r=i(13544);v.exports=function(a){return r[a+"Prototype"]}},44939:v=>{v.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},40039:(v,b,i)=>{var r=i(23634),a=Error,f=r("".replace),u=String(a("zxcasd").stack),e=/\n\s*at [^:]*:[^\n]*/,p=e.test(u);v.exports=function(g,T){if(p&&"string"==typeof g&&!a.prepareStackTrace)for(;T--;)g=f(g,e,"");return g}},77732:(v,b,i)=>{var r=i(65162),a=i(40039),f=i(50499),u=Error.captureStackTrace;v.exports=function(e,p,g,T){f&&(u?u(e,p):r(e,"stack",a(g,T)))}},50499:(v,b,i)=>{var r=i(55756),a=i(51361);v.exports=!r(function(){var f=Error("a");return!("stack"in f)||(Object.defineProperty(f,"stack",a(1,7)),7!==f.stack)})},90513:(v,b,i)=>{"use strict";var r=i(70009),a=i(2543),f=i(64350),u=i(52208),e=i(25525).f,p=i(79482),g=i(13544),T=i(76781),M=i(65162),w=i(80112),R=function(U){var W=function(j,q,ue){if(this instanceof W){switch(arguments.length){case 0:return new U;case 1:return new U(j);case 2:return new U(j,q)}return new U(j,q,ue)}return a(U,this,arguments)};return W.prototype=U.prototype,W};v.exports=function(U,W){var ie,fe,_e,Ce,ce,Be,Ve,Xe,He,j=U.target,q=U.global,ue=U.stat,re=U.proto,H=q?r:ue?r[j]:(r[j]||{}).prototype,se=q?g:g[j]||M(g,j,{})[j],ae=se.prototype;for(Ce in W)fe=!(ie=p(q?Ce:j+(ue?".":"#")+Ce,U.forced))&&H&&w(H,Ce),Be=se[Ce],fe&&(Ve=U.dontCallGetSet?(He=e(H,Ce))&&He.value:H[Ce]),ce=fe&&Ve?Ve:W[Ce],(!fe||typeof Be!=typeof ce)&&(Xe=U.bind&&fe?T(ce,r):U.wrap&&fe?R(ce):re&&u(ce)?f(ce):ce,(U.sham||ce&&ce.sham||Be&&Be.sham)&&M(Xe,"sham",!0),M(se,Ce,Xe),re&&(w(g,_e=j+"Prototype")||M(g,_e,{}),M(g[_e],Ce,ce),U.real&&ae&&(ie||!ae[Ce])&&M(ae,Ce,ce)))}},55756:v=>{v.exports=function(b){try{return!!b()}catch(i){return!0}}},3124:(v,b,i)=>{var r=i(55756);v.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},2543:(v,b,i)=>{var r=i(29046),a=Function.prototype,f=a.apply,u=a.call;v.exports="object"==typeof Reflect&&Reflect.apply||(r?u.bind(f):function(){return u.apply(f,arguments)})},76781:(v,b,i)=>{var r=i(64350),a=i(61812),f=i(29046),u=r(r.bind);v.exports=function(e,p){return a(e),void 0===p?e:f?u(e,p):function(){return e.apply(p,arguments)}}},29046:(v,b,i)=>{var r=i(55756);v.exports=!r(function(){var a=function(){}.bind();return"function"!=typeof a||a.hasOwnProperty("prototype")})},44197:(v,b,i)=>{"use strict";var r=i(23634),a=i(61812),f=i(77293),u=i(80112),e=i(37591),p=i(29046),g=Function,T=r([].concat),M=r([].join),w={},R=function(U,W,j){if(!u(w,W)){for(var q=[],ue=0;ue<W;ue++)q[ue]="a["+ue+"]";w[W]=g("C,a","return new C("+M(q,",")+")")}return w[W](U,j)};v.exports=p?g.bind:function(W){var j=a(this),q=j.prototype,ue=e(arguments,1),re=function(){var se=T(ue,e(arguments));return this instanceof re?R(j,se.length,se):j.apply(W,se)};return f(q)&&(re.prototype=q),re}},25401:(v,b,i)=>{var r=i(29046),a=Function.prototype.call;v.exports=r?a.bind(a):function(){return a.apply(a,arguments)}},29862:(v,b,i)=>{var r=i(49642),a=i(80112),f=Function.prototype,u=r&&Object.getOwnPropertyDescriptor,e=a(f,"name"),p=e&&"something"===function(){}.name,g=e&&(!r||r&&u(f,"name").configurable);v.exports={EXISTS:e,PROPER:p,CONFIGURABLE:g}},13325:(v,b,i)=>{var r=i(23634),a=i(61812);v.exports=function(f,u,e){try{return r(a(Object.getOwnPropertyDescriptor(f,u)[e]))}catch(p){}}},64350:(v,b,i)=>{var r=i(49806),a=i(23634);v.exports=function(f){if("Function"===r(f))return a(f)}},23634:(v,b,i)=>{var r=i(29046),a=Function.prototype,f=a.call,u=r&&a.bind.bind(f,f);v.exports=r?u:function(e){return function(){return f.apply(e,arguments)}}},7365:(v,b,i)=>{var r=i(13544),a=i(70009),f=i(52208),u=function(e){return f(e)?e:void 0};v.exports=function(e,p){return arguments.length<2?u(r[e])||u(a[e]):r[e]&&r[e][p]||a[e]&&a[e][p]}},34014:(v,b,i)=>{var r=i(35329),a=i(34778),f=i(43550),u=i(84394),p=i(91840)("iterator");v.exports=function(g){if(!f(g))return a(g,p)||a(g,"@@iterator")||u[r(g)]}},88055:(v,b,i)=>{var r=i(25401),a=i(61812),f=i(64562),u=i(7378),e=i(34014),p=TypeError;v.exports=function(g,T){var M=arguments.length<2?e(g):T;if(a(M))return f(r(M,g));throw p(u(g)+" is not iterable")}},32092:(v,b,i)=>{var r=i(23634),a=i(89735),f=i(52208),u=i(49806),e=i(41433),p=r([].push);v.exports=function(g){if(f(g))return g;if(a(g)){for(var T=g.length,M=[],w=0;w<T;w++){var R=g[w];"string"==typeof R?p(M,R):("number"==typeof R||"Number"==u(R)||"String"==u(R))&&p(M,e(R))}var U=M.length,W=!0;return function(j,q){if(W)return W=!1,q;if(a(this))return q;for(var ue=0;ue<U;ue++)if(M[ue]===j)return q}}}},34778:(v,b,i)=>{var r=i(61812),a=i(43550);v.exports=function(f,u){var e=f[u];return a(e)?void 0:r(e)}},70009:function(v){var b=function(i){return i&&i.Math==Math&&i};v.exports=b("object"==typeof globalThis&&globalThis)||b("object"==typeof window&&window)||b("object"==typeof self&&self)||b("object"==typeof global&&global)||function(){return this}()||this||Function("return this")()},80112:(v,b,i)=>{var r=i(23634),a=i(70267),f=r({}.hasOwnProperty);v.exports=Object.hasOwn||function(e,p){return f(a(e),p)}},45599:v=>{v.exports={}},52912:v=>{v.exports=function(b,i){try{1==arguments.length?console.error(b):console.error(b,i)}catch(r){}}},55690:(v,b,i)=>{var r=i(7365);v.exports=r("document","documentElement")},50495:(v,b,i)=>{var r=i(49642),a=i(55756),f=i(96682);v.exports=!r&&!a(function(){return 7!=Object.defineProperty(f("div"),"a",{get:function(){return 7}}).a})},20973:(v,b,i)=>{var r=i(23634),a=i(55756),f=i(49806),u=Object,e=r("".split);v.exports=a(function(){return!u("z").propertyIsEnumerable(0)})?function(p){return"String"==f(p)?e(p,""):u(p)}:u},26699:(v,b,i)=>{var r=i(23634),a=i(52208),f=i(24766),u=r(Function.toString);a(f.inspectSource)||(f.inspectSource=function(e){return u(e)}),v.exports=f.inspectSource},33411:(v,b,i)=>{var r=i(77293),a=i(65162);v.exports=function(f,u){r(u)&&"cause"in u&&a(f,"cause",u.cause)}},57867:(v,b,i)=>{var r=i(90513),a=i(23634),f=i(45599),u=i(77293),e=i(80112),p=i(48011).f,g=i(51518),T=i(62469),M=i(46401),w=i(13708),R=i(3124),U=!1,W=w("meta"),j=0,q=function(ie){p(ie,W,{value:{objectID:"O"+j++,weakData:{}}})},ae=v.exports={enable:function(){ae.enable=function(){},U=!0;var ie=g.f,fe=a([].splice),_e={};_e[W]=1,ie(_e).length&&(g.f=function(Ce){for(var ce=ie(Ce),Be=0,Ve=ce.length;Be<Ve;Be++)if(ce[Be]===W){fe(ce,Be,1);break}return ce},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:T.f}))},fastKey:function(ie,fe){if(!u(ie))return"symbol"==typeof ie?ie:("string"==typeof ie?"S":"P")+ie;if(!e(ie,W)){if(!M(ie))return"F";if(!fe)return"E";q(ie)}return ie[W].objectID},getWeakData:function(ie,fe){if(!e(ie,W)){if(!M(ie))return!0;if(!fe)return!1;q(ie)}return ie[W].weakData},onFreeze:function(ie){return R&&U&&M(ie)&&!e(ie,W)&&q(ie),ie}};f[W]=!0},91093:(v,b,i)=>{var U,W,j,r=i(81101),a=i(70009),f=i(77293),u=i(65162),e=i(80112),p=i(24766),g=i(86066),T=i(45599),M="Object already initialized",w=a.TypeError;if(r||p.state){var re=p.state||(p.state=new(0,a.WeakMap));re.get=re.get,re.has=re.has,re.set=re.set,U=function(se,ae){if(re.has(se))throw w(M);return ae.facade=se,re.set(se,ae),ae},W=function(se){return re.get(se)||{}},j=function(se){return re.has(se)}}else{var H=g("state");T[H]=!0,U=function(se,ae){if(e(se,H))throw w(M);return ae.facade=se,u(se,H,ae),ae},W=function(se){return e(se,H)?se[H]:{}},j=function(se){return e(se,H)}}v.exports={set:U,get:W,has:j,enforce:function(se){return j(se)?W(se):U(se,{})},getterFor:function(se){return function(ae){var ie;if(!f(ae)||(ie=W(ae)).type!==se)throw w("Incompatible receiver, "+se+" required");return ie}}}},39918:(v,b,i)=>{var r=i(91840),a=i(84394),f=r("iterator"),u=Array.prototype;v.exports=function(e){return void 0!==e&&(a.Array===e||u[f]===e)}},89735:(v,b,i)=>{var r=i(49806);v.exports=Array.isArray||function(f){return"Array"==r(f)}},52208:(v,b,i)=>{var r=i(59478),a=r.all;v.exports=r.IS_HTMLDDA?function(f){return"function"==typeof f||f===a}:function(f){return"function"==typeof f}},81177:(v,b,i)=>{var r=i(23634),a=i(55756),f=i(52208),u=i(35329),e=i(7365),p=i(26699),g=function(){},T=[],M=e("Reflect","construct"),w=/^\s*(?:class|function)\b/,R=r(w.exec),U=!w.exec(g),W=function(ue){if(!f(ue))return!1;try{return M(g,T,ue),!0}catch(re){return!1}},j=function(ue){if(!f(ue))return!1;switch(u(ue)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return U||!!R(w,p(ue))}catch(re){return!0}};j.sham=!0,v.exports=!M||a(function(){var q;return W(W.call)||!W(Object)||!W(function(){q=!0})||q})?j:W},27029:(v,b,i)=>{var r=i(80112);v.exports=function(a){return void 0!==a&&(r(a,"value")||r(a,"writable"))}},79482:(v,b,i)=>{var r=i(55756),a=i(52208),f=/#|\.prototype\./,u=function(M,w){var R=p[e(M)];return R==T||R!=g&&(a(w)?r(w):!!w)},e=u.normalize=function(M){return String(M).replace(f,".").toLowerCase()},p=u.data={},g=u.NATIVE="N",T=u.POLYFILL="P";v.exports=u},43550:v=>{v.exports=function(b){return null==b}},77293:(v,b,i)=>{var r=i(52208),a=i(59478),f=a.all;v.exports=a.IS_HTMLDDA?function(u){return"object"==typeof u?null!==u:r(u)||u===f}:function(u){return"object"==typeof u?null!==u:r(u)}},81124:v=>{v.exports=!0},60373:(v,b,i)=>{var r=i(77293),a=i(49806),u=i(91840)("match");v.exports=function(e){var p;return r(e)&&(void 0!==(p=e[u])?!!p:"RegExp"==a(e))}},74717:(v,b,i)=>{var r=i(7365),a=i(52208),f=i(23336),u=i(99554),e=Object;v.exports=u?function(p){return"symbol"==typeof p}:function(p){var g=r("Symbol");return a(g)&&f(g.prototype,e(p))}},87463:(v,b,i)=>{var r=i(25401);v.exports=function(a,f,u){for(var p,g,e=u||a.next;!(p=r(e,a)).done;)if(void 0!==(g=f(p.value)))return g}},41605:(v,b,i)=>{var r=i(76781),a=i(25401),f=i(64562),u=i(7378),e=i(39918),p=i(6381),g=i(23336),T=i(88055),M=i(34014),w=i(40798),R=TypeError,U=function(j,q){this.stopped=j,this.result=q},W=U.prototype;v.exports=function(j,q,ue){var _e,Ce,ce,Be,Ve,Xe,He,H=!(!ue||!ue.AS_ENTRIES),se=!(!ue||!ue.IS_RECORD),ae=!(!ue||!ue.IS_ITERATOR),ie=!(!ue||!ue.INTERRUPTED),fe=r(q,ue&&ue.that),Pe=function(Oe){return _e&&w(_e,"normal",Oe),new U(!0,Oe)},Ge=function(Oe){return H?(f(Oe),ie?fe(Oe[0],Oe[1],Pe):fe(Oe[0],Oe[1])):ie?fe(Oe,Pe):fe(Oe)};if(se)_e=j.iterator;else if(ae)_e=j;else{if(!(Ce=M(j)))throw R(u(j)+" is not iterable");if(e(Ce)){for(ce=0,Be=p(j);Be>ce;ce++)if((Ve=Ge(j[ce]))&&g(W,Ve))return Ve;return new U(!1)}_e=T(j,Ce)}for(Xe=se?j.next:_e.next;!(He=a(Xe,_e)).done;){try{Ve=Ge(He.value)}catch(Oe){w(_e,"throw",Oe)}if("object"==typeof Ve&&Ve&&g(W,Ve))return Ve}return new U(!1)}},40798:(v,b,i)=>{var r=i(25401),a=i(64562),f=i(34778);v.exports=function(u,e,p){var g,T;a(u);try{if(!(g=f(u,"return"))){if("throw"===e)throw p;return p}g=r(g,u)}catch(M){T=!0,g=M}if("throw"===e)throw p;if(T)throw g;return a(g),p}},14554:(v,b,i)=>{"use strict";var r=i(38432).IteratorPrototype,a=i(83272),f=i(51361),u=i(85681),e=i(84394),p=function(){return this};v.exports=function(g,T,M,w){var R=T+" Iterator";return g.prototype=a(r,{next:f(+!w,M)}),u(g,R,!1,!0),e[R]=p,g}},79077:(v,b,i)=>{"use strict";var r=i(90513),a=i(25401),f=i(81124),u=i(29862),e=i(52208),p=i(14554),g=i(31426),T=i(54945),M=i(85681),w=i(65162),R=i(42915),U=i(91840),W=i(84394),j=i(38432),q=u.PROPER,ue=u.CONFIGURABLE,re=j.IteratorPrototype,H=j.BUGGY_SAFARI_ITERATORS,se=U("iterator"),ie="values",fe="entries",_e=function(){return this};v.exports=function(Ce,ce,Be,Ve,Xe,He,Pe){p(Be,ce,Ve);var dn,rn,vt,Ge=function(xt){if(xt===Xe&&Nt)return Nt;if(!H&&xt in We)return We[xt];switch(xt){case"keys":case ie:case fe:return function(){return new Be(this,xt)}}return function(){return new Be(this)}},Oe=ce+" Iterator",Tt=!1,We=Ce.prototype,Qt=We[se]||We["@@iterator"]||Xe&&We[Xe],Nt=!H&&Qt||Ge(Xe),Yt="Array"==ce&&We.entries||Qt;if(Yt&&(dn=g(Yt.call(new Ce)))!==Object.prototype&&dn.next&&(!f&&g(dn)!==re&&(T?T(dn,re):e(dn[se])||R(dn,se,_e)),M(dn,Oe,!0,!0),f&&(W[Oe]=_e)),q&&Xe==ie&&Qt&&Qt.name!==ie&&(!f&&ue?w(We,"name",ie):(Tt=!0,Nt=function(){return a(Qt,this)})),Xe)if(rn={values:Ge(ie),keys:He?Nt:Ge("keys"),entries:Ge(fe)},Pe)for(vt in rn)(H||Tt||!(vt in We))&&R(We,vt,rn[vt]);else r({target:ce,proto:!0,forced:H||Tt},rn);return(!f||Pe)&&We[se]!==Nt&&R(We,se,Nt,{name:Xe}),W[ce]=Nt,rn}},38432:(v,b,i)=>{"use strict";var R,U,W,r=i(55756),a=i(52208),f=i(77293),u=i(83272),e=i(31426),p=i(42915),g=i(91840),T=i(81124),M=g("iterator"),w=!1;[].keys&&("next"in(W=[].keys())?(U=e(e(W)))!==Object.prototype&&(R=U):w=!0),!f(R)||r(function(){var q={};return R[M].call(q)!==q})?R={}:T&&(R=u(R)),a(R[M])||p(R,M,function(){return this}),v.exports={IteratorPrototype:R,BUGGY_SAFARI_ITERATORS:w}},84394:v=>{v.exports={}},6381:(v,b,i)=>{var r=i(48869);v.exports=function(a){return r(a.length)}},60077:(v,b,i)=>{var r=i(7365),a=i(49458),f=r("Map");v.exports={Map:f,set:a("set",2),get:a("get",1),has:a("has",1),remove:a("delete",1),proto:f.prototype}},21515:(v,b,i)=>{var r=i(87463);v.exports=function(a,f,u){return u?r(a.entries(),function(e){return f(e[1],e[0])}):a.forEach(f)}},57729:(v,b,i)=>{"use strict";var r=i(25401),a=i(61812),f=i(52208),u=i(64562),e=TypeError;v.exports=function(g,T){var j,M=u(this),w=a(M.get),R=a(M.has),U=a(M.set),W=arguments.length>2?arguments[2]:void 0;if(!f(T)&&!f(W))throw e("At least one callback required");return r(R,M,g)?(j=r(w,M,g),f(T)&&(j=T(j),r(U,M,g,j))):f(W)&&(j=W(),r(U,M,g,j)),j}},8651:v=>{var b=Math.ceil,i=Math.floor;v.exports=Math.trunc||function(a){var f=+a;return(f>0?i:b)(f)}},58991:(v,b,i)=>{var ue,re,H,se,ae,r=i(70009),a=i(76781),f=i(25525).f,u=i(37352).set,e=i(70918),p=i(3877),g=i(16137),T=i(85308),M=i(3787),w=r.MutationObserver||r.WebKitMutationObserver,R=r.document,U=r.process,W=r.Promise,j=f(r,"queueMicrotask"),q=j&&j.value;if(!q){var ie=new e,fe=function(){var _e,Ce;for(M&&(_e=U.domain)&&_e.exit();Ce=ie.get();)try{Ce()}catch(ce){throw ie.head&&ue(),ce}_e&&_e.enter()};p||M||T||!w||!R?!g&&W&&W.resolve?((se=W.resolve(void 0)).constructor=W,ae=a(se.then,se),ue=function(){ae(fe)}):M?ue=function(){U.nextTick(fe)}:(u=a(u,r),ue=function(){u(fe)}):(re=!0,H=R.createTextNode(""),new w(fe).observe(H,{characterData:!0}),ue=function(){H.data=re=!re}),q=function(_e){ie.head||ue(),ie.add(_e)}}v.exports=q},54256:(v,b,i)=>{"use strict";var r=i(61812),a=TypeError,f=function(u){var e,p;this.promise=new u(function(g,T){if(void 0!==e||void 0!==p)throw a("Bad Promise constructor");e=g,p=T}),this.resolve=r(e),this.reject=r(p)};v.exports.f=function(u){return new f(u)}},63313:(v,b,i)=>{var r=i(41433);v.exports=function(a,f){return void 0===a?arguments.length<2?"":f:r(a)}},56421:(v,b,i)=>{var r=i(60373),a=TypeError;v.exports=function(f){if(r(f))throw a("The method doesn't accept regular expressions");return f}},75791:(v,b,i)=>{"use strict";var r=i(49642),a=i(23634),f=i(25401),u=i(55756),e=i(28474),p=i(47238),g=i(25558),T=i(70267),M=i(20973),w=Object.assign,R=Object.defineProperty,U=a([].concat);v.exports=!w||u(function(){if(r&&1!==w({b:1},w(R({},"a",{enumerable:!0,get:function(){R(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var W={},j={},q=Symbol(),ue="abcdefghijklmnopqrst";return W[q]=7,ue.split("").forEach(function(re){j[re]=re}),7!=w({},W)[q]||e(w({},j)).join("")!=ue})?function(j,q){for(var ue=T(j),re=arguments.length,H=1,se=p.f,ae=g.f;re>H;)for(var ce,ie=M(arguments[H++]),fe=se?U(e(ie),se(ie)):e(ie),_e=fe.length,Ce=0;_e>Ce;)ce=fe[Ce++],(!r||f(ae,ie,ce))&&(ue[ce]=ie[ce]);return ue}:w},83272:(v,b,i)=>{var re,r=i(64562),a=i(25913),f=i(44939),u=i(45599),e=i(55690),p=i(96682),g=i(86066),w="prototype",R="script",U=g("IE_PROTO"),W=function(){},j=function(se){return"<"+R+">"+se+"</"+R+">"},q=function(se){se.write(j("")),se.close();var ae=se.parentWindow.Object;return se=null,ae},H=function(){try{re=new ActiveXObject("htmlfile")}catch(ae){}H="undefined"!=typeof document?document.domain&&re?q(re):function(){var ie,se=p("iframe");return se.style.display="none",e.appendChild(se),se.src=String("javascript:"),(ie=se.contentWindow.document).open(),ie.write(j("document.F=Object")),ie.close(),ie.F}():q(re);for(var se=f.length;se--;)delete H[w][f[se]];return H()};u[U]=!0,v.exports=Object.create||function(ae,ie){var fe;return null!==ae?(W[w]=r(ae),fe=new W,W[w]=null,fe[U]=ae):fe=H(),void 0===ie?fe:a.f(fe,ie)}},25913:(v,b,i)=>{var r=i(49642),a=i(47960),f=i(48011),u=i(64562),e=i(81010),p=i(28474);b.f=r&&!a?Object.defineProperties:function(T,M){u(T);for(var j,w=e(M),R=p(M),U=R.length,W=0;U>W;)f.f(T,j=R[W++],w[j]);return T}},48011:(v,b,i)=>{var r=i(49642),a=i(50495),f=i(47960),u=i(64562),e=i(62939),p=TypeError,g=Object.defineProperty,T=Object.getOwnPropertyDescriptor,M="enumerable",w="configurable",R="writable";b.f=r?f?function(W,j,q){if(u(W),j=e(j),u(q),"function"==typeof W&&"prototype"===j&&"value"in q&&R in q&&!q[R]){var ue=T(W,j);ue&&ue[R]&&(W[j]=q.value,q={configurable:w in q?q[w]:ue[w],enumerable:M in q?q[M]:ue[M],writable:!1})}return g(W,j,q)}:g:function(W,j,q){if(u(W),j=e(j),u(q),a)try{return g(W,j,q)}catch(ue){}if("get"in q||"set"in q)throw p("Accessors not supported");return"value"in q&&(W[j]=q.value),W}},25525:(v,b,i)=>{var r=i(49642),a=i(25401),f=i(25558),u=i(51361),e=i(81010),p=i(62939),g=i(80112),T=i(50495),M=Object.getOwnPropertyDescriptor;b.f=r?M:function(R,U){if(R=e(R),U=p(U),T)try{return M(R,U)}catch(W){}if(g(R,U))return u(!a(f.f,R,U),R[U])}},62469:(v,b,i)=>{var r=i(49806),a=i(81010),f=i(51518).f,u=i(8681),e="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];v.exports.f=function(T){return e&&"Window"==r(T)?function(g){try{return f(g)}catch(T){return u(e)}}(T):f(a(T))}},51518:(v,b,i)=>{var r=i(66250),f=i(44939).concat("length","prototype");b.f=Object.getOwnPropertyNames||function(e){return r(e,f)}},47238:(v,b)=>{b.f=Object.getOwnPropertySymbols},31426:(v,b,i)=>{var r=i(80112),a=i(52208),f=i(70267),u=i(86066),e=i(37112),p=u("IE_PROTO"),g=Object,T=g.prototype;v.exports=e?g.getPrototypeOf:function(M){var w=f(M);if(r(w,p))return w[p];var R=w.constructor;return a(R)&&w instanceof R?R.prototype:w instanceof g?T:null}},46401:(v,b,i)=>{var r=i(55756),a=i(77293),f=i(49806),u=i(76318),e=Object.isExtensible,p=r(function(){e(1)});v.exports=p||u?function(T){return!(!a(T)||u&&"ArrayBuffer"==f(T))&&(!e||e(T))}:e},23336:(v,b,i)=>{var r=i(23634);v.exports=r({}.isPrototypeOf)},66250:(v,b,i)=>{var r=i(23634),a=i(80112),f=i(81010),u=i(95171).indexOf,e=i(45599),p=r([].push);v.exports=function(g,T){var U,M=f(g),w=0,R=[];for(U in M)!a(e,U)&&a(M,U)&&p(R,U);for(;T.length>w;)a(M,U=T[w++])&&(~u(R,U)||p(R,U));return R}},28474:(v,b,i)=>{var r=i(66250),a=i(44939);v.exports=Object.keys||function(u){return r(u,a)}},25558:(v,b)=>{"use strict";var i={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,a=r&&!i.call({1:2},1);b.f=a?function(u){var e=r(this,u);return!!e&&e.enumerable}:i},54945:(v,b,i)=>{var r=i(13325),a=i(64562),f=i(93221);v.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var p,u=!1,e={};try{(p=r(Object.prototype,"__proto__","set"))(e,[]),u=e instanceof Array}catch(g){}return function(T,M){return a(T),f(M),u?p(T,M):T.__proto__=M,T}}():void 0)},36805:(v,b,i)=>{var r=i(49642),a=i(23634),f=i(28474),u=i(81010),p=a(i(25558).f),g=a([].push),T=function(M){return function(w){for(var ue,R=u(w),U=f(R),W=U.length,j=0,q=[];W>j;)ue=U[j++],(!r||p(R,ue))&&g(q,M?[ue,R[ue]]:R[ue]);return q}};v.exports={entries:T(!0),values:T(!1)}},97686:(v,b,i)=>{"use strict";var r=i(5552),a=i(35329);v.exports=r?{}.toString:function(){return"[object "+a(this)+"]"}},71689:(v,b,i)=>{var r=i(25401),a=i(52208),f=i(77293),u=TypeError;v.exports=function(e,p){var g,T;if("string"===p&&a(g=e.toString)&&!f(T=r(g,e))||a(g=e.valueOf)&&!f(T=r(g,e))||"string"!==p&&a(g=e.toString)&&!f(T=r(g,e)))return T;throw u("Can't convert object to primitive value")}},59823:(v,b,i)=>{var r=i(7365),a=i(23634),f=i(51518),u=i(47238),e=i(64562),p=a([].concat);v.exports=r("Reflect","ownKeys")||function(T){var M=f.f(e(T)),w=u.f;return w?p(M,w(T)):M}},13544:v=>{v.exports={}},26975:v=>{v.exports=function(b){try{return{error:!1,value:b()}}catch(i){return{error:!0,value:i}}}},9936:(v,b,i)=>{var r=i(70009),a=i(46456),f=i(52208),u=i(79482),e=i(26699),p=i(91840),g=i(34008),T=i(31813),M=i(81124),w=i(63556),R=a&&a.prototype,U=p("species"),W=!1,j=f(r.PromiseRejectionEvent),q=u("Promise",function(){var ue=e(a),re=ue!==String(a);if(!re&&66===w||M&&(!R.catch||!R.finally))return!0;if(!w||w<51||!/native code/.test(ue)){var H=new a(function(ie){ie(1)}),se=function(ie){ie(function(){},function(){})};if((H.constructor={})[U]=se,!(W=H.then(function(){})instanceof se))return!0}return!re&&(g||T)&&!j});v.exports={CONSTRUCTOR:q,REJECTION_EVENT:j,SUBCLASSING:W}},46456:(v,b,i)=>{var r=i(70009);v.exports=r.Promise},25524:(v,b,i)=>{var r=i(64562),a=i(77293),f=i(54256);v.exports=function(u,e){if(r(u),a(e)&&e.constructor===u)return e;var p=f.f(u);return(0,p.resolve)(e),p.promise}},95758:(v,b,i)=>{var r=i(46456),a=i(5253),f=i(9936).CONSTRUCTOR;v.exports=f||!a(function(u){r.all(u).then(void 0,function(){})})},70918:v=>{var b=function(){this.head=null,this.tail=null};b.prototype={add:function(i){var r={item:i,next:null},a=this.tail;a?a.next=r:this.head=r,this.tail=r},get:function(){var i=this.head;if(i)return null===(this.head=i.next)&&(this.tail=null),i.item}},v.exports=b},67917:(v,b,i)=>{var r=i(43550),a=TypeError;v.exports=function(f){if(r(f))throw a("Can't call method on "+f);return f}},29627:v=>{v.exports=function(b,i){return b===i||b!=b&&i!=i}},53814:(v,b,i)=>{"use strict";var w,r=i(70009),a=i(2543),f=i(52208),u=i(70902),e=i(86053),p=i(37591),g=i(15086),T=r.Function,M=/MSIE .\./.test(e)||u&&((w=r.Bun.version.split(".")).length<3||0==w[0]&&(w[1]<3||3==w[1]&&0==w[2]));v.exports=function(w,R){var U=R?2:1;return M?function(W,j){var q=g(arguments.length,1)>U,ue=f(W)?W:T(W),re=q?p(arguments,U):[],H=q?function(){a(ue,this,re)}:ue;return R?w(H,j):w(H)}:w}},58014:(v,b,i)=>{"use strict";var r=i(7365),a=i(1707),f=i(91840),u=i(49642),e=f("species");v.exports=function(p){var g=r(p);u&&g&&!g[e]&&a(g,e,{configurable:!0,get:function(){return this}})}},85681:(v,b,i)=>{var r=i(5552),a=i(48011).f,f=i(65162),u=i(80112),e=i(97686),g=i(91840)("toStringTag");v.exports=function(T,M,w,R){if(T){var U=w?T:T.prototype;u(U,g)||a(U,g,{configurable:!0,value:M}),R&&!r&&f(U,"toString",e)}}},86066:(v,b,i)=>{var r=i(64579),a=i(13708),f=r("keys");v.exports=function(u){return f[u]||(f[u]=a(u))}},24766:(v,b,i)=>{var r=i(70009),a=i(34056),f="__core-js_shared__",u=r[f]||a(f,{});v.exports=u},64579:(v,b,i)=>{var r=i(81124),a=i(24766);(v.exports=function(f,u){return a[f]||(a[f]=void 0!==u?u:{})})("versions",[]).push({version:"3.30.2",mode:r?"pure":"global",copyright:"\xa9 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE",source:"https://github.com/zloirock/core-js"})},95869:(v,b,i)=>{var r=i(64562),a=i(54356),f=i(43550),e=i(91840)("species");v.exports=function(p,g){var M,T=r(p).constructor;return void 0===T||f(M=r(T)[e])?g:a(M)}},61557:(v,b,i)=>{var r=i(23634),a=i(33912),f=i(41433),u=i(67917),e=r("".charAt),p=r("".charCodeAt),g=r("".slice),T=function(M){return function(w,R){var q,ue,U=f(u(w)),W=a(R),j=U.length;return W<0||W>=j?M?"":void 0:(q=p(U,W))<55296||q>56319||W+1===j||(ue=p(U,W+1))<56320||ue>57343?M?e(U,W):q:M?g(U,W,W+2):ue-56320+(q-55296<<10)+65536}};v.exports={codeAt:T(!1),charAt:T(!0)}},26662:(v,b,i)=>{var r=i(23634),a=2147483647,R=/[^\0-\u007E]/,U=/[.\u3002\uFF0E\uFF61]/g,W="Overflow: input needs wider integers to process",q=RangeError,ue=r(U.exec),re=Math.floor,H=String.fromCharCode,se=r("".charCodeAt),ae=r([].join),ie=r([].push),fe=r("".replace),_e=r("".split),Ce=r("".toLowerCase),Be=function(He){return He+22+75*(He<26)},Ve=function(He,Pe,Ge){var Oe=0;for(He=Ge?re(He/700):He>>1,He+=re(He/Pe);He>455;)He=re(He/35),Oe+=36;return re(Oe+36*He/(He+38))},Xe=function(He){var Pe=[];He=function(He){for(var Pe=[],Ge=0,Oe=He.length;Ge<Oe;){var Tt=se(He,Ge++);if(Tt>=55296&&Tt<=56319&&Ge<Oe){var We=se(He,Ge++);56320==(64512&We)?ie(Pe,((1023&Tt)<<10)+(1023&We)+65536):(ie(Pe,Tt),Ge--)}else ie(Pe,Tt)}return Pe}(He);var Qt,Nt,Ge=He.length,Oe=128,Tt=0,We=72;for(Qt=0;Qt<He.length;Qt++)(Nt=He[Qt])<128&&ie(Pe,H(Nt));var Yt=Pe.length,dn=Yt;for(Yt&&ie(Pe,"-");dn<Ge;){var rn=a;for(Qt=0;Qt<He.length;Qt++)(Nt=He[Qt])>=Oe&&Nt<rn&&(rn=Nt);var vt=dn+1;if(rn-Oe>re((a-Tt)/vt))throw q(W);for(Tt+=(rn-Oe)*vt,Oe=rn,Qt=0;Qt<He.length;Qt++){if((Nt=He[Qt])<Oe&&++Tt>a)throw q(W);if(Nt==Oe){for(var xt=Tt,Ct=36;;){var Gt=Ct<=We?1:Ct>=We+26?26:Ct-We;if(xt<Gt)break;var Fn=xt-Gt,pr=36-Gt;ie(Pe,H(Be(Gt+Fn%pr))),xt=re(Fn/pr),Ct+=36}ie(Pe,H(Be(xt))),We=Ve(Tt,vt,dn==Yt),Tt=0,dn++}}Tt++,Oe++}return ae(Pe,"")};v.exports=function(He){var Oe,Tt,Pe=[],Ge=_e(fe(Ce(He),U,"."),".");for(Oe=0;Oe<Ge.length;Oe++)ie(Pe,ue(R,Tt=Ge[Oe])?"xn--"+Xe(Tt):Tt);return ae(Pe,".")}},53411:(v,b,i)=>{"use strict";var r=i(33912),a=i(41433),f=i(67917),u=RangeError;v.exports=function(p){var g=a(f(this)),T="",M=r(p);if(M<0||M==1/0)throw u("Wrong number of repetitions");for(;M>0;(M>>>=1)&&(g+=g))1&M&&(T+=g);return T}},85462:(v,b,i)=>{var r=i(29862).PROPER,a=i(55756),f=i(88185);v.exports=function(e){return a(function(){return!!f[e]()||"\u200b\x85\u180e"!=="\u200b\x85\u180e"[e]()||r&&f[e].name!==e})}},89858:(v,b,i)=>{var r=i(23634),a=i(67917),f=i(41433),u=i(88185),e=r("".replace),p=RegExp("^["+u+"]+"),g=RegExp("(^|[^"+u+"])["+u+"]+$"),T=function(M){return function(w){var R=f(a(w));return 1&M&&(R=e(R,p,"")),2&M&&(R=e(R,g,"$1")),R}};v.exports={start:T(1),end:T(2),trim:T(3)}},98535:(v,b,i)=>{var r=i(63556),a=i(55756),u=i(70009).String;v.exports=!!Object.getOwnPropertySymbols&&!a(function(){var e=Symbol();return!u(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41})},56992:(v,b,i)=>{var r=i(25401),a=i(7365),f=i(91840),u=i(42915);v.exports=function(){var e=a("Symbol"),p=e&&e.prototype,g=p&&p.valueOf,T=f("toPrimitive");p&&!p[T]&&u(p,T,function(M){return r(g,this)},{arity:1})}},56709:(v,b,i)=>{var r=i(98535);v.exports=r&&!!Symbol.for&&!!Symbol.keyFor},37352:(v,b,i)=>{var _e,Ce,ce,Be,r=i(70009),a=i(2543),f=i(76781),u=i(52208),e=i(80112),p=i(55756),g=i(55690),T=i(37591),M=i(96682),w=i(15086),R=i(3877),U=i(3787),W=r.setImmediate,j=r.clearImmediate,q=r.process,ue=r.Dispatch,re=r.Function,H=r.MessageChannel,se=r.String,ae=0,ie={},fe="onreadystatechange";p(function(){_e=r.location});var Ve=function(Ge){if(e(ie,Ge)){var Oe=ie[Ge];delete ie[Ge],Oe()}},Xe=function(Ge){return function(){Ve(Ge)}},He=function(Ge){Ve(Ge.data)},Pe=function(Ge){r.postMessage(se(Ge),_e.protocol+"//"+_e.host)};(!W||!j)&&(W=function(Oe){w(arguments.length,1);var Tt=u(Oe)?Oe:re(Oe),We=T(arguments,1);return ie[++ae]=function(){a(Tt,void 0,We)},Ce(ae),ae},j=function(Oe){delete ie[Oe]},U?Ce=function(Ge){q.nextTick(Xe(Ge))}:ue&&ue.now?Ce=function(Ge){ue.now(Xe(Ge))}:H&&!R?(Be=(ce=new H).port2,ce.port1.onmessage=He,Ce=f(Be.postMessage,Be)):r.addEventListener&&u(r.postMessage)&&!r.importScripts&&_e&&"file:"!==_e.protocol&&!p(Pe)?(Ce=Pe,r.addEventListener("message",He,!1)):Ce=fe in M("script")?function(Ge){g.appendChild(M("script"))[fe]=function(){g.removeChild(this),Ve(Ge)}}:function(Ge){setTimeout(Xe(Ge),0)}),v.exports={set:W,clear:j}},19401:(v,b,i)=>{var r=i(33912),a=Math.max,f=Math.min;v.exports=function(u,e){var p=r(u);return p<0?a(p+e,0):f(p,e)}},81010:(v,b,i)=>{var r=i(20973),a=i(67917);v.exports=function(f){return r(a(f))}},33912:(v,b,i)=>{var r=i(8651);v.exports=function(a){var f=+a;return f!=f||0===f?0:r(f)}},48869:(v,b,i)=>{var r=i(33912),a=Math.min;v.exports=function(f){return f>0?a(r(f),9007199254740991):0}},70267:(v,b,i)=>{var r=i(67917),a=Object;v.exports=function(f){return a(r(f))}},1645:(v,b,i)=>{var r=i(25401),a=i(77293),f=i(74717),u=i(34778),e=i(71689),p=i(91840),g=TypeError,T=p("toPrimitive");v.exports=function(M,w){if(!a(M)||f(M))return M;var U,R=u(M,T);if(R){if(void 0===w&&(w="default"),U=r(R,M,w),!a(U)||f(U))return U;throw g("Can't convert object to primitive value")}return void 0===w&&(w="number"),e(M,w)}},62939:(v,b,i)=>{var r=i(1645),a=i(74717);v.exports=function(f){var u=r(f,"string");return a(u)?u:u+""}},5552:(v,b,i)=>{var f={};f[i(91840)("toStringTag")]="z",v.exports="[object z]"===String(f)},41433:(v,b,i)=>{var r=i(35329),a=String;v.exports=function(f){if("Symbol"===r(f))throw TypeError("Cannot convert a Symbol value to a string");return a(f)}},7378:v=>{var b=String;v.exports=function(i){try{return b(i)}catch(r){return"Object"}}},13708:(v,b,i)=>{var r=i(23634),a=0,f=Math.random(),u=r(1..toString);v.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+u(++a+f,36)}},54933:(v,b,i)=>{var r=i(55756),a=i(91840),f=i(49642),u=i(81124),e=a("iterator");v.exports=!r(function(){var p=new URL("b?a=1&b=2&c=3","http://a"),g=p.searchParams,T="";return p.pathname="c%20d",g.forEach(function(M,w){g.delete("b"),T+=w+M}),u&&!p.toJSON||!g.size&&(u||!f)||!g.sort||"http://a/c%20d?a=1&c=3"!==p.href||"3"!==g.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!g[e]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://\u0442\u0435\u0441\u0442").host||"#%D0%B1"!==new URL("http://a#\u0431").hash||"a1c3"!==T||"x"!==new URL("http://x",void 0).host})},99554:(v,b,i)=>{var r=i(98535);v.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},47960:(v,b,i)=>{var r=i(49642),a=i(55756);v.exports=r&&a(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},15086:v=>{var b=TypeError;v.exports=function(i,r){if(i<r)throw b("Not enough arguments");return i}},81101:(v,b,i)=>{var r=i(70009),a=i(52208),f=r.WeakMap;v.exports=a(f)&&/native code/.test(String(f))},25374:(v,b,i)=>{var r=i(13544),a=i(80112),f=i(89734),u=i(48011).f;v.exports=function(e){var p=r.Symbol||(r.Symbol={});a(p,e)||u(p,e,{value:f.f(e)})}},89734:(v,b,i)=>{var r=i(91840);b.f=r},91840:(v,b,i)=>{var r=i(70009),a=i(64579),f=i(80112),u=i(13708),e=i(98535),p=i(99554),g=r.Symbol,T=a("wks"),M=p?g.for||g:g&&g.withoutSetter||u;v.exports=function(w){return f(T,w)||(T[w]=e&&f(g,w)?g[w]:M("Symbol."+w)),T[w]}},88185:v=>{v.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},70210:(v,b,i)=>{"use strict";var r=i(90513),a=i(23336),f=i(31426),u=i(54945),e=i(65031),p=i(83272),g=i(65162),T=i(51361),M=i(33411),w=i(77732),R=i(41605),U=i(63313),j=i(91840)("toStringTag"),q=Error,ue=[].push,re=function(ae,ie){var _e,fe=a(H,this);u?_e=u(q(),fe?f(this):H):(_e=fe?this:p(H),g(_e,j,"Error")),void 0!==ie&&g(_e,"message",U(ie)),w(_e,re,_e.stack,1),arguments.length>2&&M(_e,arguments[2]);var Ce=[];return R(ae,ue,{that:Ce}),g(_e,"errors",Ce),_e};u?u(re,q):e(re,q,{name:!0});var H=re.prototype=p(q.prototype,{constructor:T(1,re),message:T(1,""),name:T(1,"AggregateError")});r({global:!0,constructor:!0,arity:2},{AggregateError:re})},10901:(v,b,i)=>{i(70210)},1625:(v,b,i)=>{"use strict";var r=i(90513),a=i(55756),f=i(89735),u=i(77293),e=i(70267),p=i(6381),g=i(11594),T=i(46751),M=i(2103),w=i(95913),R=i(91840),U=i(63556),W=R("isConcatSpreadable"),j=U>=51||!a(function(){var re=[];return re[W]=!1,re.concat()[0]!==re}),q=function(re){if(!u(re))return!1;var H=re[W];return void 0!==H?!!H:f(re)};r({target:"Array",proto:!0,arity:1,forced:!j||!w("concat")},{concat:function(H){var fe,_e,Ce,ce,Be,se=e(this),ae=M(se,0),ie=0;for(fe=-1,Ce=arguments.length;fe<Ce;fe++)if(q(Be=-1===fe?se:arguments[fe]))for(ce=p(Be),g(ie+ce),_e=0;_e<ce;_e++,ie++)_e in Be&&T(ae,ie,Be[_e]);else g(ie+1),T(ae,ie++,Be);return ae.length=ie,ae}})},70466:(v,b,i)=>{"use strict";var r=i(90513),a=i(68607).every;r({target:"Array",proto:!0,forced:!i(33620)("every")},{every:function(p){return a(this,p,arguments.length>1?arguments[1]:void 0)}})},24990:(v,b,i)=>{var r=i(90513),a=i(35277),f=i(82196);r({target:"Array",proto:!0},{fill:a}),f("fill")},56534:(v,b,i)=>{"use strict";var r=i(90513),a=i(68607).filter;r({target:"Array",proto:!0,forced:!i(95913)("filter")},{filter:function(p){return a(this,p,arguments.length>1?arguments[1]:void 0)}})},12773:(v,b,i)=>{"use strict";var r=i(90513),a=i(68607).findIndex,f=i(82196),u="findIndex",e=!0;u in[]&&Array(1)[u](function(){e=!1}),r({target:"Array",proto:!0,forced:e},{findIndex:function(g){return a(this,g,arguments.length>1?arguments[1]:void 0)}}),f(u)},60326:(v,b,i)=>{"use strict";var r=i(90513),a=i(68607).find,f=i(82196),u="find",e=!0;u in[]&&Array(1)[u](function(){e=!1}),r({target:"Array",proto:!0,forced:e},{find:function(g){return a(this,g,arguments.length>1?arguments[1]:void 0)}}),f(u)},98792:(v,b,i)=>{"use strict";var r=i(90513),a=i(8366);r({target:"Array",proto:!0,forced:[].forEach!=a},{forEach:a})},261:(v,b,i)=>{var r=i(90513),a=i(51923);r({target:"Array",stat:!0,forced:!i(5253)(function(e){Array.from(e)})},{from:a})},77059:(v,b,i)=>{"use strict";var r=i(90513),a=i(95171).includes,f=i(55756),u=i(82196);r({target:"Array",proto:!0,forced:f(function(){return!Array(1).includes()})},{includes:function(g){return a(this,g,arguments.length>1?arguments[1]:void 0)}}),u("includes")},2795:(v,b,i)=>{"use strict";var r=i(90513),a=i(64350),f=i(95171).indexOf,u=i(33620),e=a([].indexOf),p=!!e&&1/e([1],1,-0)<0;r({target:"Array",proto:!0,forced:p||!u("indexOf")},{indexOf:function(M){var w=arguments.length>1?arguments[1]:void 0;return p?e(this,M,w)||0:f(this,M,w)}})},2862:(v,b,i)=>{i(90513)({target:"Array",stat:!0},{isArray:i(89735)})},1285:(v,b,i)=>{"use strict";var r=i(81010),a=i(82196),f=i(84394),u=i(91093),e=i(48011).f,p=i(79077),g=i(28738),T=i(81124),M=i(49642),w="Array Iterator",R=u.set,U=u.getterFor(w);v.exports=p(Array,"Array",function(j,q){R(this,{type:w,target:r(j),index:0,kind:q})},function(){var j=U(this),q=j.target,ue=j.kind,re=j.index++;return!q||re>=q.length?(j.target=void 0,g(void 0,!0)):g("keys"==ue?re:"values"==ue?q[re]:[re,q[re]],!1)},"values");var W=f.Arguments=f.Array;if(a("keys"),a("values"),a("entries"),!T&&M&&"values"!==W.name)try{e(W,"name",{value:"values"})}catch(j){}},74926:(v,b,i)=>{var r=i(90513),a=i(78375);r({target:"Array",proto:!0,forced:a!==[].lastIndexOf},{lastIndexOf:a})},88119:(v,b,i)=>{"use strict";var r=i(90513),a=i(68607).map;r({target:"Array",proto:!0,forced:!i(95913)("map")},{map:function(p){return a(this,p,arguments.length>1?arguments[1]:void 0)}})},46250:(v,b,i)=>{"use strict";var r=i(90513),a=i(88908).left,f=i(33620),u=i(63556);r({target:"Array",proto:!0,forced:!i(3787)&&u>79&&u<83||!f("reduce")},{reduce:function(M){var w=arguments.length;return a(this,M,w,w>1?arguments[1]:void 0)}})},32836:(v,b,i)=>{"use strict";var r=i(90513),a=i(23634),f=i(89735),u=a([].reverse),e=[1,2];r({target:"Array",proto:!0,forced:String(e)===String(e.reverse())},{reverse:function(){return f(this)&&(this.length=this.length),u(this)}})},72999:(v,b,i)=>{"use strict";var r=i(90513),a=i(89735),f=i(81177),u=i(77293),e=i(19401),p=i(6381),g=i(81010),T=i(46751),M=i(91840),w=i(95913),R=i(37591),U=w("slice"),W=M("species"),j=Array,q=Math.max;r({target:"Array",proto:!0,forced:!U},{slice:function(re,H){var _e,Ce,ce,se=g(this),ae=p(se),ie=e(re,ae),fe=e(void 0===H?ae:H,ae);if(a(se)&&((f(_e=se.constructor)&&(_e===j||a(_e.prototype))||u(_e)&&null===(_e=_e[W]))&&(_e=void 0),_e===j||void 0===_e))return R(se,ie,fe);for(Ce=new(void 0===_e?j:_e)(q(fe-ie,0)),ce=0;ie<fe;ie++,ce++)ie in se&&T(Ce,ce,se[ie]);return Ce.length=ce,Ce}})},50733:(v,b,i)=>{"use strict";var r=i(90513),a=i(68607).some;r({target:"Array",proto:!0,forced:!i(33620)("some")},{some:function(p){return a(this,p,arguments.length>1?arguments[1]:void 0)}})},93639:(v,b,i)=>{"use strict";var r=i(90513),a=i(23634),f=i(61812),u=i(70267),e=i(6381),p=i(67236),g=i(41433),T=i(55756),M=i(84865),w=i(33620),R=i(36410),U=i(5329),W=i(63556),j=i(34545),q=[],ue=a(q.sort),re=a(q.push),H=T(function(){q.sort(void 0)}),se=T(function(){q.sort(null)}),ae=w("sort"),ie=!T(function(){if(W)return W<70;if(!(R&&R>3)){if(U)return!0;if(j)return j<603;var ce,Be,Ve,Xe,Ce="";for(ce=65;ce<76;ce++){switch(Be=String.fromCharCode(ce),ce){case 66:case 69:case 70:case 72:Ve=3;break;case 68:case 71:Ve=4;break;default:Ve=2}for(Xe=0;Xe<47;Xe++)q.push({k:Be+Xe,v:Ve})}for(q.sort(function(He,Pe){return Pe.v-He.v}),Xe=0;Xe<q.length;Xe++)Be=q[Xe].k.charAt(0),Ce.charAt(Ce.length-1)!==Be&&(Ce+=Be);return"DGBEFHACIJK"!==Ce}});r({target:"Array",proto:!0,forced:H||!se||!ae||!ie},{sort:function(ce){void 0!==ce&&f(ce);var Be=u(this);if(ie)return void 0===ce?ue(Be):ue(Be,ce);var He,Pe,Ve=[],Xe=e(Be);for(Pe=0;Pe<Xe;Pe++)Pe in Be&&re(Ve,Be[Pe]);for(M(Ve,function(Ce){return function(ce,Be){return void 0===Be?-1:void 0===ce?1:void 0!==Ce?+Ce(ce,Be)||0:g(ce)>g(Be)?1:-1}}(ce)),He=e(Ve),Pe=0;Pe<He;)Be[Pe]=Ve[Pe++];for(;Pe<Xe;)p(Be,Pe++);return Be}})},63117:(v,b,i)=>{"use strict";var r=i(90513),a=i(70267),f=i(19401),u=i(33912),e=i(6381),p=i(54716),g=i(11594),T=i(2103),M=i(46751),w=i(67236),U=i(95913)("splice"),W=Math.max,j=Math.min;r({target:"Array",proto:!0,forced:!U},{splice:function(ue,re){var fe,_e,Ce,ce,Be,Ve,H=a(this),se=e(H),ae=f(ue,se),ie=arguments.length;for(0===ie?fe=_e=0:1===ie?(fe=0,_e=se-ae):(fe=ie-2,_e=j(W(u(re),0),se-ae)),g(se+fe-_e),Ce=T(H,_e),ce=0;ce<_e;ce++)(Be=ae+ce)in H&&M(Ce,ce,H[Be]);if(Ce.length=_e,fe<_e){for(ce=ae;ce<se-_e;ce++)Ve=ce+fe,(Be=ce+_e)in H?H[Ve]=H[Be]:w(H,Ve);for(ce=se;ce>se-_e+fe;ce--)w(H,ce-1)}else if(fe>_e)for(ce=se-_e;ce>ae;ce--)Ve=ce+fe-1,(Be=ce+_e-1)in H?H[Ve]=H[Be]:w(H,Ve);for(ce=0;ce<fe;ce++)H[ce+ae]=arguments[ce+2];return p(H,se-_e+fe),Ce}})},34699:(v,b,i)=>{var r=i(90513),a=i(23634),f=Date,u=a(f.prototype.getTime);r({target:"Date",stat:!0},{now:function(){return u(new f)}})},68154:()=>{},33379:(v,b,i)=>{var r=i(90513),a=i(44197);r({target:"Function",proto:!0,forced:Function.bind!==a},{bind:a})},75071:(v,b,i)=>{var r=i(90513),a=i(7365),f=i(2543),u=i(25401),e=i(23634),p=i(55756),g=i(52208),T=i(74717),M=i(37591),w=i(32092),R=i(98535),U=String,W=a("JSON","stringify"),j=e(/./.exec),q=e("".charAt),ue=e("".charCodeAt),re=e("".replace),H=e(1..toString),se=/[\uD800-\uDFFF]/g,ae=/^[\uD800-\uDBFF]$/,ie=/^[\uDC00-\uDFFF]$/,fe=!R||p(function(){var Be=a("Symbol")();return"[null]"!=W([Be])||"{}"!=W({a:Be})||"{}"!=W(Object(Be))}),_e=p(function(){return'"\\udf06\\ud834"'!==W("\udf06\ud834")||'"\\udead"'!==W("\udead")}),Ce=function(Be,Ve){var Xe=M(arguments),He=w(Ve);if(g(He)||void 0!==Be&&!T(Be))return Xe[1]=function(Pe,Ge){if(g(He)&&(Ge=u(He,this,U(Pe),Ge)),!T(Ge))return Ge},f(W,null,Xe)},ce=function(Be,Ve,Xe){var He=q(Xe,Ve-1),Pe=q(Xe,Ve+1);return j(ae,Be)&&!j(ie,Pe)||j(ie,Be)&&!j(ae,He)?"\\u"+H(ue(Be,0),16):Be};W&&r({target:"JSON",stat:!0,arity:3,forced:fe||_e},{stringify:function(Ve,Xe,He){var Pe=M(arguments),Ge=f(fe?Ce:W,null,Pe);return _e&&"string"==typeof Ge?re(Ge,se,ce):Ge}})},32300:(v,b,i)=>{var r=i(70009);i(85681)(r.JSON,"JSON",!0)},83616:(v,b,i)=>{"use strict";i(85116)("Map",function(f){return function(){return f(this,arguments.length?arguments[0]:void 0)}},i(26650))},85140:(v,b,i)=>{i(83616)},63603:()=>{},67234:(v,b,i)=>{var r=i(90513),a=i(75791);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==a},{assign:a})},86516:(v,b,i)=>{i(90513)({target:"Object",stat:!0,sham:!i(49642)},{create:i(83272)})},36255:(v,b,i)=>{var r=i(90513),a=i(49642),f=i(25913).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==f,sham:!a},{defineProperties:f})},84468:(v,b,i)=>{var r=i(90513),a=i(49642),f=i(48011).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==f,sham:!a},{defineProperty:f})},86627:(v,b,i)=>{var r=i(90513),a=i(55756),f=i(81010),u=i(25525).f,e=i(49642);r({target:"Object",stat:!0,forced:!e||a(function(){u(1)}),sham:!e},{getOwnPropertyDescriptor:function(T,M){return u(f(T),M)}})},78275:(v,b,i)=>{var r=i(90513),a=i(49642),f=i(59823),u=i(81010),e=i(25525),p=i(46751);r({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(T){for(var j,q,M=u(T),w=e.f,R=f(M),U={},W=0;R.length>W;)void 0!==(q=w(M,j=R[W++]))&&p(U,j,q);return U}})},37764:(v,b,i)=>{var r=i(90513),a=i(98535),f=i(55756),u=i(47238),e=i(70267);r({target:"Object",stat:!0,forced:!a||f(function(){u.f(1)})},{getOwnPropertySymbols:function(T){var M=u.f;return M?M(e(T)):[]}})},31193:(v,b,i)=>{var r=i(90513),a=i(55756),f=i(70267),u=i(31426),e=i(37112);r({target:"Object",stat:!0,forced:a(function(){u(1)}),sham:!e},{getPrototypeOf:function(T){return u(f(T))}})},56557:(v,b,i)=>{var r=i(90513),a=i(70267),f=i(28474);r({target:"Object",stat:!0,forced:i(55756)(function(){f(1)})},{keys:function(g){return f(a(g))}})},17971:(v,b,i)=>{i(90513)({target:"Object",stat:!0},{setPrototypeOf:i(54945)})},17221:()=>{},88923:(v,b,i)=>{var r=i(90513),a=i(36805).values;r({target:"Object",stat:!0},{values:function(u){return a(u)}})},84798:(v,b,i)=>{"use strict";var r=i(90513),a=i(25401),f=i(61812),u=i(54256),e=i(26975),p=i(41605);r({target:"Promise",stat:!0,forced:i(95758)},{allSettled:function(M){var w=this,R=u.f(w),U=R.resolve,W=R.reject,j=e(function(){var q=f(w.resolve),ue=[],re=0,H=1;p(M,function(se){var ae=re++,ie=!1;H++,a(q,w,se).then(function(fe){ie||(ie=!0,ue[ae]={status:"fulfilled",value:fe},--H||U(ue))},function(fe){ie||(ie=!0,ue[ae]={status:"rejected",reason:fe},--H||U(ue))})}),--H||U(ue)});return j.error&&W(j.value),R.promise}})},58085:(v,b,i)=>{"use strict";var r=i(90513),a=i(25401),f=i(61812),u=i(54256),e=i(26975),p=i(41605);r({target:"Promise",stat:!0,forced:i(95758)},{all:function(M){var w=this,R=u.f(w),U=R.resolve,W=R.reject,j=e(function(){var q=f(w.resolve),ue=[],re=0,H=1;p(M,function(se){var ae=re++,ie=!1;H++,a(q,w,se).then(function(fe){ie||(ie=!0,ue[ae]=fe,--H||U(ue))},W)}),--H||U(ue)});return j.error&&W(j.value),R.promise}})},98857:(v,b,i)=>{"use strict";var r=i(90513),a=i(25401),f=i(61812),u=i(7365),e=i(54256),p=i(26975),g=i(41605),T=i(95758),M="No one promise resolved";r({target:"Promise",stat:!0,forced:T},{any:function(R){var U=this,W=u("AggregateError"),j=e.f(U),q=j.resolve,ue=j.reject,re=p(function(){var H=f(U.resolve),se=[],ae=0,ie=1,fe=!1;g(R,function(_e){var Ce=ae++,ce=!1;ie++,a(H,U,_e).then(function(Be){ce||fe||(fe=!0,q(Be))},function(Be){ce||fe||(ce=!0,se[Ce]=Be,--ie||ue(new W(se,M)))})}),--ie||ue(new W(se,M))});return re.error&&ue(re.value),j.promise}})},5846:(v,b,i)=>{"use strict";var r=i(90513),a=i(81124),f=i(9936).CONSTRUCTOR,u=i(46456),e=i(7365),p=i(52208),g=i(42915),T=u&&u.prototype;if(r({target:"Promise",proto:!0,forced:f,real:!0},{catch:function(w){return this.then(void 0,w)}}),!a&&p(u)){var M=e("Promise").prototype.catch;T.catch!==M&&g(T,"catch",M,{unsafe:!0})}},38206:(v,b,i)=>{"use strict";var mi,ci,Br,r=i(90513),a=i(81124),f=i(3787),u=i(70009),e=i(25401),p=i(42915),g=i(54945),T=i(85681),M=i(58014),w=i(61812),R=i(52208),U=i(77293),W=i(54849),j=i(95869),q=i(37352).set,ue=i(58991),re=i(52912),H=i(26975),se=i(70918),ae=i(91093),ie=i(46456),fe=i(9936),_e=i(54256),Ce="Promise",ce=fe.CONSTRUCTOR,Be=fe.REJECTION_EVENT,Ve=fe.SUBCLASSING,Xe=ae.getterFor(Ce),He=ae.set,Pe=ie&&ie.prototype,Ge=ie,Oe=Pe,Tt=u.TypeError,We=u.document,Qt=u.process,Nt=_e.f,Yt=Nt,dn=!!(We&&We.createEvent&&u.dispatchEvent),rn="unhandledrejection",Ur=function(an){var vn;return!(!U(an)||!R(vn=an.then))&&vn},Hn=function(an,vn){var vr,Ji,mn,Zn=vn.value,Xn=1==vn.state,zn=Xn?an.ok:an.fail,ri=an.resolve,Gi=an.reject,ui=an.domain;try{zn?(Xn||(2===vn.rejection&&fi(vn),vn.rejection=1),!0===zn?vr=Zn:(ui&&ui.enter(),vr=zn(Zn),ui&&(ui.exit(),mn=!0)),vr===an.promise?Gi(Tt("Promise-chain cycle")):(Ji=Ur(vr))?e(Ji,vr,ri,Gi):ri(vr)):Gi(Zn)}catch(Rn){ui&&!mn&&ui.exit(),Gi(Rn)}},er=function(an,vn){an.notified||(an.notified=!0,ue(function(){for(var Xn,Zn=an.reactions;Xn=Zn.get();)Hn(Xn,an);an.notified=!1,vn&&!an.rejection&&ei(an)}))},_r=function(an,vn,Zn){var Xn,zn;dn?((Xn=We.createEvent("Event")).promise=vn,Xn.reason=Zn,Xn.initEvent(an,!1,!0),u.dispatchEvent(Xn)):Xn={promise:vn,reason:Zn},!Be&&(zn=u["on"+an])?zn(Xn):an===rn&&re("Unhandled promise rejection",Zn)},ei=function(an){e(q,u,function(){var zn,vn=an.facade,Zn=an.value;if(bi(an)&&(zn=H(function(){f?Qt.emit("unhandledRejection",Zn,vn):_r(rn,vn,Zn)}),an.rejection=f||bi(an)?2:1,zn.error))throw zn.value})},bi=function(an){return 1!==an.rejection&&!an.parent},fi=function(an){e(q,u,function(){var vn=an.facade;f?Qt.emit("rejectionHandled",vn):_r("rejectionhandled",vn,an.value)})},no=function(an,vn,Zn){return function(Xn){an(vn,Xn,Zn)}},xo=function(an,vn,Zn){an.done||(an.done=!0,Zn&&(an=Zn),an.value=vn,an.state=2,er(an,!0))},Er=function(an,vn,Zn){if(!an.done){an.done=!0,Zn&&(an=Zn);try{if(an.facade===vn)throw Tt("Promise can't be resolved itself");var Xn=Ur(vn);Xn?ue(function(){var zn={done:!1};try{e(Xn,vn,no(Er,zn,an),no(xo,zn,an))}catch(ri){xo(zn,ri,an)}}):(an.value=vn,an.state=1,er(an,!1))}catch(zn){xo({done:!1},zn,an)}}};if(ce&&(Ge=function(vn){W(this,Oe),w(vn),e(mi,this);var Zn=Xe(this);try{vn(no(Er,Zn),no(xo,Zn))}catch(Xn){xo(Zn,Xn)}},(mi=function(vn){He(this,{type:Ce,done:!1,notified:!1,parent:!1,reactions:new se,rejection:!1,state:0,value:void 0})}).prototype=p(Oe=Ge.prototype,"then",function(vn,Zn){var Xn=Xe(this),zn=Nt(j(this,Ge));return Xn.parent=!0,zn.ok=!R(vn)||vn,zn.fail=R(Zn)&&Zn,zn.domain=f?Qt.domain:void 0,0==Xn.state?Xn.reactions.add(zn):ue(function(){Hn(zn,Xn)}),zn.promise}),ci=function(){var an=new mi,vn=Xe(an);this.promise=an,this.resolve=no(Er,vn),this.reject=no(xo,vn)},_e.f=Nt=function(an){return an===Ge||void 0===an?new ci(an):Yt(an)},!a&&R(ie)&&Pe!==Object.prototype)){Br=Pe.then,Ve||p(Pe,"then",function(vn,Zn){var Xn=this;return new Ge(function(zn,ri){e(Br,Xn,zn,ri)}).then(vn,Zn)},{unsafe:!0});try{delete Pe.constructor}catch(an){}g&&g(Pe,Oe)}r({global:!0,constructor:!0,wrap:!0,forced:ce},{Promise:Ge}),T(Ge,Ce,!1,!0),M(Ce)},30185:(v,b,i)=>{"use strict";var r=i(90513),a=i(81124),f=i(46456),u=i(55756),e=i(7365),p=i(52208),g=i(95869),T=i(25524),M=i(42915),w=f&&f.prototype;if(r({target:"Promise",proto:!0,real:!0,forced:!!f&&u(function(){w.finally.call({then:function(){}},function(){})})},{finally:function(W){var j=g(this,e("Promise")),q=p(W);return this.then(q?function(ue){return T(j,W()).then(function(){return ue})}:W,q?function(ue){return T(j,W()).then(function(){throw ue})}:W)}}),!a&&p(f)){var U=e("Promise").prototype.finally;w.finally!==U&&M(w,"finally",U,{unsafe:!0})}},66793:(v,b,i)=>{i(38206),i(58085),i(5846),i(44738),i(74767),i(4991)},44738:(v,b,i)=>{"use strict";var r=i(90513),a=i(25401),f=i(61812),u=i(54256),e=i(26975),p=i(41605);r({target:"Promise",stat:!0,forced:i(95758)},{race:function(M){var w=this,R=u.f(w),U=R.reject,W=e(function(){var j=f(w.resolve);p(M,function(q){a(j,w,q).then(R.resolve,U)})});return W.error&&U(W.value),R.promise}})},74767:(v,b,i)=>{"use strict";var r=i(90513),a=i(25401),f=i(54256);r({target:"Promise",stat:!0,forced:i(9936).CONSTRUCTOR},{reject:function(p){var g=f.f(this);return a(g.reject,void 0,p),g.promise}})},4991:(v,b,i)=>{"use strict";var r=i(90513),a=i(7365),f=i(81124),u=i(46456),e=i(9936).CONSTRUCTOR,p=i(25524),g=a("Promise"),T=f&&!e;r({target:"Promise",stat:!0,forced:f||e},{resolve:function(w){return p(T&&this===g?u:this,w)}})},19539:(v,b,i)=>{var r=i(90513),a=i(7365),f=i(2543),u=i(44197),e=i(54356),p=i(64562),g=i(77293),T=i(83272),M=i(55756),w=a("Reflect","construct"),R=Object.prototype,U=[].push,W=M(function(){function ue(){}return!(w(function(){},[],ue)instanceof ue)}),j=!M(function(){w(function(){})}),q=W||j;r({target:"Reflect",stat:!0,forced:q,sham:q},{construct:function(re,H){e(re),p(H);var se=arguments.length<3?re:e(arguments[2]);if(j&&!W)return w(re,H,se);if(re==se){switch(H.length){case 0:return new re;case 1:return new re(H[0]);case 2:return new re(H[0],H[1]);case 3:return new re(H[0],H[1],H[2]);case 4:return new re(H[0],H[1],H[2],H[3])}var ae=[null];return f(U,ae,H),new(f(u,re,ae))}var ie=se.prototype,fe=T(g(ie)?ie:R),_e=f(re,fe,H);return g(_e)?_e:fe}})},60851:(v,b,i)=>{var r=i(90513),a=i(25401),f=i(77293),u=i(64562),e=i(27029),p=i(25525),g=i(31426);r({target:"Reflect",stat:!0},{get:function T(M,w){var U,W,R=arguments.length<3?M:arguments[2];return u(M)===R?M[w]:(U=p.f(M,w))?e(U)?U.value:void 0===U.get?void 0:a(U.get,R):f(W=g(M))?T(W,w,R):void 0}})},44864:()=>{},97764:(v,b,i)=>{"use strict";var r=i(90513),a=i(23634),f=i(56421),u=i(67917),e=i(41433),p=i(79668),g=a("".indexOf);r({target:"String",proto:!0,forced:!p("includes")},{includes:function(M){return!!~g(e(u(this)),e(f(M)),arguments.length>1?arguments[1]:void 0)}})},3934:(v,b,i)=>{"use strict";var r=i(61557).charAt,a=i(41433),f=i(91093),u=i(79077),e=i(28738),p="String Iterator",g=f.set,T=f.getterFor(p);u(String,"String",function(M){g(this,{type:p,string:a(M),index:0})},function(){var W,w=T(this),R=w.string,U=w.index;return U>=R.length?e(void 0,!0):(W=r(R,U),w.index+=W.length,e(W,!1))})},3588:(v,b,i)=>{i(90513)({target:"String",proto:!0},{repeat:i(53411)})},24655:(v,b,i)=>{"use strict";var q,r=i(90513),a=i(64350),f=i(25525).f,u=i(48869),e=i(41433),p=i(56421),g=i(67917),T=i(79668),M=i(81124),w=a("".startsWith),R=a("".slice),U=Math.min,W=T("startsWith");r({target:"String",proto:!0,forced:!(!M&&!W&&(q=f(String.prototype,"startsWith"),q&&!q.writable)||W)},{startsWith:function(ue){var re=e(g(this));p(ue);var H=u(U(arguments.length>1?arguments[1]:void 0,re.length)),se=e(ue);return w?w(re,se,H):R(re,H,H+se.length)===se}})},90451:(v,b,i)=>{"use strict";var r=i(90513),a=i(89858).trim;r({target:"String",proto:!0,forced:i(85462)("trim")},{trim:function(){return a(this)}})},16426:(v,b,i)=>{i(25374)("asyncIterator")},17858:(v,b,i)=>{"use strict";var r=i(90513),a=i(70009),f=i(25401),u=i(23634),e=i(81124),p=i(49642),g=i(98535),T=i(55756),M=i(80112),w=i(23336),R=i(64562),U=i(81010),W=i(62939),j=i(41433),q=i(51361),ue=i(83272),re=i(28474),H=i(51518),se=i(62469),ae=i(47238),ie=i(25525),fe=i(48011),_e=i(25913),Ce=i(25558),ce=i(42915),Be=i(1707),Ve=i(64579),Xe=i(86066),He=i(45599),Pe=i(13708),Ge=i(91840),Oe=i(89734),Tt=i(25374),We=i(56992),Qt=i(85681),Nt=i(91093),Yt=i(68607).forEach,dn=Xe("hidden"),rn="Symbol",vt="prototype",xt=Nt.set,Ct=Nt.getterFor(rn),Gt=Object[vt],Fn=a.Symbol,pr=Fn&&Fn[vt],mi=a.TypeError,ci=a.QObject,hr=ie.f,Br=fe.f,Ur=se.f,Hn=Ce.f,er=u([].push),_r=Ve("symbols"),ei=Ve("op-symbols"),bi=Ve("wks"),fi=!ci||!ci[vt]||!ci[vt].findChild,no=p&&T(function(){return 7!=ue(Br({},"a",{get:function(){return Br(this,"a",{value:7}).a}})).a})?function(Gi,ui,vr){var Ji=hr(Gt,ui);Ji&&delete Gt[ui],Br(Gi,ui,vr),Ji&&Gi!==Gt&&Br(Gt,ui,Ji)}:Br,xo=function(Gi,ui){var vr=_r[Gi]=ue(pr);return xt(vr,{type:rn,tag:Gi,description:ui}),p||(vr.description=ui),vr},Er=function(ui,vr,Ji){ui===Gt&&Er(ei,vr,Ji),R(ui);var mn=W(vr);return R(Ji),M(_r,mn)?(Ji.enumerable?(M(ui,dn)&&ui[dn][mn]&&(ui[dn][mn]=!1),Ji=ue(Ji,{enumerable:q(0,!1)})):(M(ui,dn)||Br(ui,dn,q(1,{})),ui[dn][mn]=!0),no(ui,mn,Ji)):Br(ui,mn,Ji)},an=function(ui,vr){R(ui);var Ji=U(vr),mn=re(Ji).concat(ri(Ji));return Yt(mn,function(Rn){(!p||f(Zn,Ji,Rn))&&Er(ui,Rn,Ji[Rn])}),ui},Zn=function(ui){var vr=W(ui),Ji=f(Hn,this,vr);return!(this===Gt&&M(_r,vr)&&!M(ei,vr))&&(!(Ji||!M(this,vr)||!M(_r,vr)||M(this,dn)&&this[dn][vr])||Ji)},Xn=function(ui,vr){var Ji=U(ui),mn=W(vr);if(Ji!==Gt||!M(_r,mn)||M(ei,mn)){var Rn=hr(Ji,mn);return Rn&&M(_r,mn)&&!(M(Ji,dn)&&Ji[dn][mn])&&(Rn.enumerable=!0),Rn}},zn=function(ui){var vr=Ur(U(ui)),Ji=[];return Yt(vr,function(mn){!M(_r,mn)&&!M(He,mn)&&er(Ji,mn)}),Ji},ri=function(Gi){var ui=Gi===Gt,vr=Ur(ui?ei:U(Gi)),Ji=[];return Yt(vr,function(mn){M(_r,mn)&&(!ui||M(Gt,mn))&&er(Ji,_r[mn])}),Ji};g||(ce(pr=(Fn=function(){if(w(pr,this))throw mi("Symbol is not a constructor");var ui=arguments.length&&void 0!==arguments[0]?j(arguments[0]):void 0,vr=Pe(ui),Ji=function(mn){this===Gt&&f(Ji,ei,mn),M(this,dn)&&M(this[dn],vr)&&(this[dn][vr]=!1),no(this,vr,q(1,mn))};return p&&fi&&no(Gt,vr,{configurable:!0,set:Ji}),xo(vr,ui)})[vt],"toString",function(){return Ct(this).tag}),ce(Fn,"withoutSetter",function(Gi){return xo(Pe(Gi),Gi)}),Ce.f=Zn,fe.f=Er,_e.f=an,ie.f=Xn,H.f=se.f=zn,ae.f=ri,Oe.f=function(Gi){return xo(Ge(Gi),Gi)},p&&(Be(pr,"description",{configurable:!0,get:function(){return Ct(this).description}}),e||ce(Gt,"propertyIsEnumerable",Zn,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!g,sham:!g},{Symbol:Fn}),Yt(re(bi),function(Gi){Tt(Gi)}),r({target:rn,stat:!0,forced:!g},{useSetter:function(){fi=!0},useSimple:function(){fi=!1}}),r({target:"Object",stat:!0,forced:!g,sham:!p},{create:function(ui,vr){return void 0===vr?ue(ui):an(ue(ui),vr)},defineProperty:Er,defineProperties:an,getOwnPropertyDescriptor:Xn}),r({target:"Object",stat:!0,forced:!g},{getOwnPropertyNames:zn}),We(),Qt(Fn,rn),He[dn]=!0},1172:()=>{},12353:(v,b,i)=>{var r=i(90513),a=i(7365),f=i(80112),u=i(41433),e=i(64579),p=i(56709),g=e("string-to-symbol-registry"),T=e("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!p},{for:function(M){var w=u(M);if(f(g,w))return g[w];var R=a("Symbol")(w);return g[w]=R,T[R]=w,R}})},99579:(v,b,i)=>{i(25374)("hasInstance")},41258:(v,b,i)=>{i(25374)("isConcatSpreadable")},2383:(v,b,i)=>{i(25374)("iterator")},56728:(v,b,i)=>{i(17858),i(12353),i(27632),i(75071),i(37764)},27632:(v,b,i)=>{var r=i(90513),a=i(80112),f=i(74717),u=i(7378),e=i(64579),p=i(56709),g=e("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!p},{keyFor:function(M){if(!f(M))throw TypeError(u(M)+" is not a symbol");if(a(g,M))return g[M]}})},64776:(v,b,i)=>{i(25374)("matchAll")},44339:(v,b,i)=>{i(25374)("match")},88215:(v,b,i)=>{i(25374)("replace")},65389:(v,b,i)=>{i(25374)("search")},12733:(v,b,i)=>{i(25374)("species")},97977:(v,b,i)=>{i(25374)("split")},59792:(v,b,i)=>{var r=i(25374),a=i(56992);r("toPrimitive"),a()},60242:(v,b,i)=>{var r=i(7365),a=i(25374),f=i(85681);a("toStringTag"),f(r("Symbol"),"Symbol")},26291:(v,b,i)=>{i(25374)("unscopables")},67670:(v,b,i)=>{i(10901)},10509:(v,b,i)=>{"use strict";var r=i(90513),a=i(64902),f=i(60077).remove;r({target:"Map",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var g,e=a(this),p=!0,T=0,M=arguments.length;T<M;T++)g=f(e,arguments[T]),p=p&&g;return!!p}})},30887:(v,b,i)=>{"use strict";var r=i(90513),a=i(64902),f=i(60077),u=f.get,e=f.has,p=f.set;r({target:"Map",proto:!0,real:!0,forced:!0},{emplace:function(T,M){var R,U,w=a(this);return e(w,T)?(R=u(w,T),"update"in M&&(R=M.update(R,T,w),p(w,T,R)),R):(U=M.insert(T,w),p(w,T,U),U)}})},54547:(v,b,i)=>{"use strict";var r=i(90513),a=i(76781),f=i(64902),u=i(21515);r({target:"Map",proto:!0,real:!0,forced:!0},{every:function(p){var g=f(this),T=a(p,arguments.length>1?arguments[1]:void 0);return!1!==u(g,function(M,w){if(!T(M,w,g))return!1},!0)}})},68996:(v,b,i)=>{"use strict";var r=i(90513),a=i(76781),f=i(64902),u=i(60077),e=i(21515),p=u.Map,g=u.set;r({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(M){var w=f(this),R=a(M,arguments.length>1?arguments[1]:void 0),U=new p;return e(w,function(W,j){R(W,j,w)&&g(U,j,W)}),U}})},60176:(v,b,i)=>{"use strict";var r=i(90513),a=i(76781),f=i(64902),u=i(21515);r({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(p){var g=f(this),T=a(p,arguments.length>1?arguments[1]:void 0),M=u(g,function(w,R){if(T(w,R,g))return{key:R}},!0);return M&&M.key}})},1530:(v,b,i)=>{"use strict";var r=i(90513),a=i(76781),f=i(64902),u=i(21515);r({target:"Map",proto:!0,real:!0,forced:!0},{find:function(p){var g=f(this),T=a(p,arguments.length>1?arguments[1]:void 0),M=u(g,function(w,R){if(T(w,R,g))return{value:w}},!0);return M&&M.value}})},78271:(v,b,i)=>{i(90513)({target:"Map",stat:!0,forced:!0},{from:i(83483)})},41554:(v,b,i)=>{"use strict";var r=i(90513),a=i(25401),f=i(23634),u=i(52208),e=i(61812),p=i(41605),g=i(60077).Map,T=f([].push);r({target:"Map",stat:!0,forced:!0},{groupBy:function(w,R){var W=new(u(this)?this:g);e(R);var j=e(W.has),q=e(W.get),ue=e(W.set);return p(w,function(re){var H=R(re);a(j,W,H)?T(a(q,W,H),re):a(ue,W,H,[re])}),W}})},41688:(v,b,i)=>{"use strict";var r=i(90513),a=i(29627),f=i(64902),u=i(21515);r({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(p){return!0===u(f(this),function(g){if(a(g,p))return!0},!0)}})},92847:(v,b,i)=>{"use strict";var r=i(90513),a=i(25401),f=i(41605),u=i(52208),e=i(61812),p=i(60077).Map;r({target:"Map",stat:!0,forced:!0},{keyBy:function(T,M){var R=new(u(this)?this:p);e(M);var U=e(R.set);return f(T,function(W){a(U,R,M(W),W)}),R}})},17316:(v,b,i)=>{"use strict";var r=i(90513),a=i(64902),f=i(21515);r({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(e){var p=f(a(this),function(g,T){if(g===e)return{key:T}},!0);return p&&p.key}})},58786:(v,b,i)=>{"use strict";var r=i(90513),a=i(76781),f=i(64902),u=i(60077),e=i(21515),p=u.Map,g=u.set;r({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(M){var w=f(this),R=a(M,arguments.length>1?arguments[1]:void 0),U=new p;return e(w,function(W,j){g(U,R(W,j,w),W)}),U}})},35517:(v,b,i)=>{"use strict";var r=i(90513),a=i(76781),f=i(64902),u=i(60077),e=i(21515),p=u.Map,g=u.set;r({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(M){var w=f(this),R=a(M,arguments.length>1?arguments[1]:void 0),U=new p;return e(w,function(W,j){g(U,j,R(W,j,w))}),U}})},12783:(v,b,i)=>{"use strict";var r=i(90513),a=i(64902),f=i(41605),u=i(60077).set;r({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(p){for(var g=a(this),T=arguments.length,M=0;M<T;)f(arguments[M++],function(w,R){u(g,w,R)},{AS_ENTRIES:!0});return g}})},60854:(v,b,i)=>{i(90513)({target:"Map",stat:!0,forced:!0},{of:i(13067)})},69773:(v,b,i)=>{"use strict";var r=i(90513),a=i(61812),f=i(64902),u=i(21515),e=TypeError;r({target:"Map",proto:!0,real:!0,forced:!0},{reduce:function(g){var T=f(this),M=arguments.length<2,w=M?void 0:arguments[1];if(a(g),u(T,function(R,U){M?(M=!1,w=R):w=g(w,R,U,T)}),M)throw e("Reduce of empty map with no initial value");return w}})},22337:(v,b,i)=>{"use strict";var r=i(90513),a=i(76781),f=i(64902),u=i(21515);r({target:"Map",proto:!0,real:!0,forced:!0},{some:function(p){var g=f(this),T=a(p,arguments.length>1?arguments[1]:void 0);return!0===u(g,function(M,w){if(T(M,w,g))return!0},!0)}})},84131:(v,b,i)=>{"use strict";i(90513)({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:i(57729)})},40199:(v,b,i)=>{"use strict";var r=i(90513),a=i(61812),f=i(64902),u=i(60077),e=TypeError,p=u.get,g=u.has,T=u.set;r({target:"Map",proto:!0,real:!0,forced:!0},{update:function(w,R){var U=f(this),W=arguments.length;a(R);var j=g(U,w);if(!j&&W<3)throw e("Updating absent value");var q=j?p(U,w):a(W>2?arguments[2]:void 0)(w,U);return T(U,w,R(q,w,U)),U}})},69046:(v,b,i)=>{"use strict";i(90513)({target:"Map",proto:!0,real:!0,forced:!0},{upsert:i(57729)})},61127:(v,b,i)=>{i(84798)},45975:(v,b,i)=>{i(98857)},93114:(v,b,i)=>{"use strict";var r=i(90513),a=i(54256),f=i(26975);r({target:"Promise",stat:!0,forced:!0},{try:function(u){var e=a.f(this),p=f(u);return(p.error?e.reject:e.resolve)(p.value),e.promise}})},55461:(v,b,i)=>{i(25374)("asyncDispose")},5737:(v,b,i)=>{i(25374)("dispose")},61652:(v,b,i)=>{var r=i(90513),a=i(7365),f=i(23634),u=a("Symbol"),e=u.keyFor,p=f(u.prototype.valueOf);r({target:"Symbol",stat:!0},{isRegistered:function(T){try{return void 0!==e(p(T))}catch(M){return!1}}})},90791:(v,b,i)=>{for(var r=i(90513),a=i(64579),f=i(7365),u=i(23634),e=i(74717),p=i(91840),g=f("Symbol"),T=g.isWellKnown,M=f("Object","getOwnPropertyNames"),w=u(g.prototype.valueOf),R=a("wks"),U=0,W=M(g),j=W.length;U<j;U++)try{var q=W[U];e(g[q])&&p(q)}catch(ue){}r({target:"Symbol",stat:!0,forced:!0},{isWellKnown:function(re){if(T&&T(re))return!0;try{for(var H=w(re),se=0,ae=M(R),ie=ae.length;se<ie;se++)if(R[ae[se]]==H)return!0}catch(fe){}return!1}})},87097:(v,b,i)=>{i(25374)("matcher")},29559:(v,b,i)=>{i(25374)("metadataKey")},71985:(v,b,i)=>{i(25374)("metadata")},90212:(v,b,i)=>{i(25374)("observable")},93770:(v,b,i)=>{i(25374)("patternMatch")},47743:(v,b,i)=>{i(25374)("replaceAll")},33089:(v,b,i)=>{i(1285);var r=i(44125),a=i(70009),f=i(35329),u=i(65162),e=i(84394),g=i(91840)("toStringTag");for(var T in r){var M=a[T],w=M&&M.prototype;w&&f(w)!==g&&u(w,g,T),e[T]=e.Array}},94784:(v,b,i)=>{var r=i(90513),a=i(70009),u=i(53814)(a.setInterval,!0);r({global:!0,bind:!0,forced:a.setInterval!==u},{setInterval:u})},36445:(v,b,i)=>{var r=i(90513),a=i(70009),u=i(53814)(a.setTimeout,!0);r({global:!0,bind:!0,forced:a.setTimeout!==u},{setTimeout:u})},69280:(v,b,i)=>{i(94784),i(36445)},73842:(v,b,i)=>{"use strict";i(1285);var r=i(90513),a=i(70009),f=i(25401),u=i(23634),e=i(49642),p=i(54933),g=i(42915),T=i(1707),M=i(84604),w=i(85681),R=i(14554),U=i(91093),W=i(54849),j=i(52208),q=i(80112),ue=i(76781),re=i(35329),H=i(64562),se=i(77293),ae=i(41433),ie=i(83272),fe=i(51361),_e=i(88055),Ce=i(34014),ce=i(15086),Be=i(91840),Ve=i(84865),Xe=Be("iterator"),He="URLSearchParams",Pe=He+"Iterator",Ge=U.set,Oe=U.getterFor(He),Tt=U.getterFor(Pe),We=Object.getOwnPropertyDescriptor,Qt=function(mn){if(!e)return a[mn];var Rn=We(a,mn);return Rn&&Rn.value},Nt=Qt("fetch"),Yt=Qt("Request"),dn=Qt("Headers"),rn=Yt&&Yt.prototype,vt=dn&&dn.prototype,xt=a.RegExp,Ct=a.TypeError,Gt=a.decodeURIComponent,Fn=a.encodeURIComponent,pr=u("".charAt),mi=u([].join),ci=u([].push),hr=u("".replace),Br=u([].shift),Ur=u([].splice),Hn=u("".split),er=u("".slice),_r=/\+/g,ei=Array(4),bi=function(mn){return ei[mn-1]||(ei[mn-1]=xt("((?:%[\\da-f]{2}){"+mn+"})","gi"))},fi=function(mn){try{return Gt(mn)}catch(Rn){return mn}},no=function(mn){var Rn=hr(mn,_r," "),Wn=4;try{return Gt(Rn)}catch(et){for(;Wn;)Rn=hr(Rn,bi(Wn--),fi);return Rn}},xo=/[!'()~]|%20/g,Er={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},an=function(mn){return Er[mn]},vn=function(mn){return hr(Fn(mn),xo,an)},Zn=R(function(Rn,Wn){Ge(this,{type:Pe,iterator:_e(Oe(Rn).entries),kind:Wn})},"Iterator",function(){var Rn=Tt(this),Wn=Rn.kind,et=Rn.iterator.next(),Le=et.value;return et.done||(et.value="keys"===Wn?Le.key:"values"===Wn?Le.value:[Le.key,Le.value]),et},!0),Xn=function(mn){this.entries=[],this.url=null,void 0!==mn&&(se(mn)?this.parseObject(mn):this.parseQuery("string"==typeof mn?"?"===pr(mn,0)?er(mn,1):mn:ae(mn)))};Xn.prototype={type:He,bindURL:function(mn){this.url=mn,this.update()},parseObject:function(mn){var Wn,et,Le,Re,Se,dt,st,Rn=Ce(mn);if(Rn)for(et=(Wn=_e(mn,Rn)).next;!(Le=f(et,Wn)).done;){if(Re=_e(H(Le.value)),(dt=f(Se=Re.next,Re)).done||(st=f(Se,Re)).done||!f(Se,Re).done)throw Ct("Expected sequence with length 2");ci(this.entries,{key:ae(dt.value),value:ae(st.value)})}else for(var nn in mn)q(mn,nn)&&ci(this.entries,{key:nn,value:ae(mn[nn])})},parseQuery:function(mn){if(mn)for(var et,Le,Rn=Hn(mn,"&"),Wn=0;Wn<Rn.length;)(et=Rn[Wn++]).length&&(Le=Hn(et,"="),ci(this.entries,{key:no(Br(Le)),value:no(mi(Le,"="))}))},serialize:function(){for(var et,mn=this.entries,Rn=[],Wn=0;Wn<mn.length;)et=mn[Wn++],ci(Rn,vn(et.key)+"="+vn(et.value));return mi(Rn,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var zn=function(){W(this,ri);var Rn=arguments.length>0?arguments[0]:void 0,Wn=Ge(this,new Xn(Rn));e||(this.length=Wn.entries.length)},ri=zn.prototype;if(M(ri,{append:function(Rn,Wn){ce(arguments.length,2);var et=Oe(this);ci(et.entries,{key:ae(Rn),value:ae(Wn)}),e||this.length++,et.updateURL()},delete:function(mn){ce(arguments.length,1);for(var Rn=Oe(this),Wn=Rn.entries,et=ae(mn),Le=0;Le<Wn.length;)Wn[Le].key===et?Ur(Wn,Le,1):Le++;e||(this.length=Wn.length),Rn.updateURL()},get:function(Rn){ce(arguments.length,1);for(var Wn=Oe(this).entries,et=ae(Rn),Le=0;Le<Wn.length;Le++)if(Wn[Le].key===et)return Wn[Le].value;return null},getAll:function(Rn){ce(arguments.length,1);for(var Wn=Oe(this).entries,et=ae(Rn),Le=[],Re=0;Re<Wn.length;Re++)Wn[Re].key===et&&ci(Le,Wn[Re].value);return Le},has:function(Rn){ce(arguments.length,1);for(var Wn=Oe(this).entries,et=ae(Rn),Le=0;Le<Wn.length;)if(Wn[Le++].key===et)return!0;return!1},set:function(Rn,Wn){ce(arguments.length,1);for(var nn,et=Oe(this),Le=et.entries,Re=!1,Se=ae(Rn),dt=ae(Wn),st=0;st<Le.length;st++)(nn=Le[st]).key===Se&&(Re?Ur(Le,st--,1):(Re=!0,nn.value=dt));Re||ci(Le,{key:Se,value:dt}),e||(this.length=Le.length),et.updateURL()},sort:function(){var Rn=Oe(this);Ve(Rn.entries,function(Wn,et){return Wn.key>et.key?1:-1}),Rn.updateURL()},forEach:function(Rn){for(var Re,Wn=Oe(this).entries,et=ue(Rn,arguments.length>1?arguments[1]:void 0),Le=0;Le<Wn.length;)et((Re=Wn[Le++]).value,Re.key,this)},keys:function(){return new Zn(this,"keys")},values:function(){return new Zn(this,"values")},entries:function(){return new Zn(this,"entries")}},{enumerable:!0}),g(ri,Xe,ri.entries,{name:"entries"}),g(ri,"toString",function(){return Oe(this).serialize()},{enumerable:!0}),e&&T(ri,"size",{get:function(){return Oe(this).entries.length},configurable:!0,enumerable:!0}),w(zn,He),r({global:!0,constructor:!0,forced:!p},{URLSearchParams:zn}),!p&&j(dn)){var Gi=u(vt.has),ui=u(vt.set),vr=function(mn){if(se(mn)){var Wn,Rn=mn.body;if(re(Rn)===He)return Wn=mn.headers?new dn(mn.headers):new dn,Gi(Wn,"content-type")||ui(Wn,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),ie(mn,{body:fe(0,ae(Rn)),headers:fe(0,Wn)})}return mn};if(j(Nt)&&r({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(Rn){return Nt(Rn,arguments.length>1?vr(arguments[1]):{})}}),j(Yt)){var Ji=function(Rn){return W(this,rn),new Yt(Rn,arguments.length>1?vr(arguments[1]):{})};rn.constructor=Ji,Ji.prototype=rn,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Ji})}}v.exports={URLSearchParams:zn,getState:Oe}},26953:(v,b,i)=>{i(73842)},86023:()=>{},37256:(v,b,i)=>{var r=i(90513),a=i(7365),f=i(55756),u=i(15086),e=i(41433),p=i(54933),g=a("URL");r({target:"URL",stat:!0,forced:!(p&&f(function(){g.canParse()}))},{canParse:function(w){var R=u(arguments.length,1),U=e(w),W=R<2||void 0===arguments[1]?void 0:e(arguments[1]);try{return!!new g(U,W)}catch(j){return!1}}})},80504:(v,b,i)=>{"use strict";i(3934);var xo,r=i(90513),a=i(49642),f=i(54933),u=i(70009),e=i(76781),p=i(23634),g=i(42915),T=i(1707),M=i(54849),w=i(80112),R=i(75791),U=i(51923),W=i(8681),j=i(61557).codeAt,q=i(26662),ue=i(41433),re=i(85681),H=i(15086),se=i(73842),ae=i(91093),ie=ae.set,fe=ae.getterFor("URL"),_e=se.URLSearchParams,Ce=se.getState,ce=u.URL,Be=u.TypeError,Ve=u.parseInt,Xe=Math.floor,He=Math.pow,Pe=p("".charAt),Ge=p(/./.exec),Oe=p([].join),Tt=p(1..toString),We=p([].pop),Qt=p([].push),Nt=p("".replace),Yt=p([].shift),dn=p("".split),rn=p("".slice),vt=p("".toLowerCase),xt=p([].unshift),Gt="Invalid scheme",Fn="Invalid host",pr="Invalid port",mi=/[a-z]/i,ci=/[\d+-.a-z]/i,hr=/\d/,Br=/^0x/i,Ur=/^[0-7]+$/,Hn=/^\d+$/,er=/^[\da-f]+$/i,_r=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ei=/[\0\t\n\r #/:<>?@[\\\]^|]/,bi=/^[\u0000-\u0020]+/,fi=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,no=/[\t\n\r]/g,Zn=function(ir){var si,kn,nr,jr;if("number"==typeof ir){for(si=[],kn=0;kn<4;kn++)xt(si,ir%256),ir=Xe(ir/256);return Oe(si,".")}if("object"==typeof ir){for(si="",nr=function(ir){for(var si=null,kn=1,nr=null,jr=0,ao=0;ao<8;ao++)0!==ir[ao]?(jr>kn&&(si=nr,kn=jr),nr=null,jr=0):(null===nr&&(nr=ao),++jr);return jr>kn&&(si=nr,kn=jr),si}(ir),kn=0;kn<8;kn++)jr&&0===ir[kn]||(jr&&(jr=!1),nr===kn?(si+=kn?":":"::",jr=!0):(si+=Tt(ir[kn],16),kn<7&&(si+=":")));return"["+si+"]"}return ir},Xn={},zn=R({},Xn,{" ":1,'"':1,"<":1,">":1,"`":1}),ri=R({},zn,{"#":1,"?":1,"{":1,"}":1}),Gi=R({},ri,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),ui=function(ir,si){var kn=j(ir,0);return kn>32&&kn<127&&!w(si,ir)?ir:encodeURIComponent(ir)},vr={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Ji=function(ir,si){var kn;return 2==ir.length&&Ge(mi,Pe(ir,0))&&(":"==(kn=Pe(ir,1))||!si&&"|"==kn)},mn=function(ir){var si;return ir.length>1&&Ji(rn(ir,0,2))&&(2==ir.length||"/"===(si=Pe(ir,2))||"\\"===si||"?"===si||"#"===si)},Rn=function(ir){return"."===ir||"%2e"===vt(ir)},Wn=function(ir){return".."===(ir=vt(ir))||"%2e."===ir||".%2e"===ir||"%2e%2e"===ir},et={},Le={},Re={},Se={},dt={},st={},nn={},Fe={},Lr={},ti={},Ut={},Dn={},Et={},$t={},_t={},yt={},Vt={},yn={},Cr={},xi={},yi={},Uo=function(ir,si,kn){var jr,ao,$i,nr=ue(ir);if(si){if(ao=this.parse(nr))throw Be(ao);this.searchParams=null}else{if(void 0!==kn&&(jr=new Uo(kn,!0)),ao=this.parse(nr,null,jr))throw Be(ao);($i=Ce(new _e)).bindURL(this),this.searchParams=$i}};Uo.prototype={type:"URL",parse:function(ir,si,kn){var ua,or,Mr,Or,nr=this,jr=si||et,ao=0,$i="",Eo=!1,mo=!1,Go=!1;for(ir=ue(ir),si||(nr.scheme="",nr.username="",nr.password="",nr.host=null,nr.port=null,nr.path=[],nr.query=null,nr.fragment=null,nr.cannotBeABaseURL=!1,ir=Nt(ir,bi,""),ir=Nt(ir,fi,"$1")),ir=Nt(ir,no,""),ua=U(ir);ao<=ua.length;){switch(or=ua[ao],jr){case et:if(!or||!Ge(mi,or)){if(si)return Gt;jr=Re;continue}$i+=vt(or),jr=Le;break;case Le:if(or&&(Ge(ci,or)||"+"==or||"-"==or||"."==or))$i+=vt(or);else{if(":"!=or){if(si)return Gt;$i="",jr=Re,ao=0;continue}if(si&&(nr.isSpecial()!=w(vr,$i)||"file"==$i&&(nr.includesCredentials()||null!==nr.port)||"file"==nr.scheme&&!nr.host))return;if(nr.scheme=$i,si)return void(nr.isSpecial()&&vr[nr.scheme]==nr.port&&(nr.port=null));$i="","file"==nr.scheme?jr=$t:nr.isSpecial()&&kn&&kn.scheme==nr.scheme?jr=Se:nr.isSpecial()?jr=Fe:"/"==ua[ao+1]?(jr=dt,ao++):(nr.cannotBeABaseURL=!0,Qt(nr.path,""),jr=Cr)}break;case Re:if(!kn||kn.cannotBeABaseURL&&"#"!=or)return Gt;if(kn.cannotBeABaseURL&&"#"==or){nr.scheme=kn.scheme,nr.path=W(kn.path),nr.query=kn.query,nr.fragment="",nr.cannotBeABaseURL=!0,jr=yi;break}jr="file"==kn.scheme?$t:st;continue;case Se:if("/"!=or||"/"!=ua[ao+1]){jr=st;continue}jr=Lr,ao++;break;case dt:if("/"==or){jr=ti;break}jr=yn;continue;case st:if(nr.scheme=kn.scheme,or==xo)nr.username=kn.username,nr.password=kn.password,nr.host=kn.host,nr.port=kn.port,nr.path=W(kn.path),nr.query=kn.query;else if("/"==or||"\\"==or&&nr.isSpecial())jr=nn;else if("?"==or)nr.username=kn.username,nr.password=kn.password,nr.host=kn.host,nr.port=kn.port,nr.path=W(kn.path),nr.query="",jr=xi;else{if("#"!=or){nr.username=kn.username,nr.password=kn.password,nr.host=kn.host,nr.port=kn.port,nr.path=W(kn.path),nr.path.length--,jr=yn;continue}nr.username=kn.username,nr.password=kn.password,nr.host=kn.host,nr.port=kn.port,nr.path=W(kn.path),nr.query=kn.query,nr.fragment="",jr=yi}break;case nn:if(!nr.isSpecial()||"/"!=or&&"\\"!=or){if("/"!=or){nr.username=kn.username,nr.password=kn.password,nr.host=kn.host,nr.port=kn.port,jr=yn;continue}jr=ti}else jr=Lr;break;case Fe:if(jr=Lr,"/"!=or||"/"!=Pe($i,ao+1))continue;ao++;break;case Lr:if("/"!=or&&"\\"!=or){jr=ti;continue}break;case ti:if("@"==or){Eo&&($i="%40"+$i),Eo=!0,Mr=U($i);for(var cr=0;cr<Mr.length;cr++){var pi=Mr[cr];if(":"!=pi||Go){var Sn=ui(pi,Gi);Go?nr.password+=Sn:nr.username+=Sn}else Go=!0}$i=""}else if(or==xo||"/"==or||"?"==or||"#"==or||"\\"==or&&nr.isSpecial()){if(Eo&&""==$i)return"Invalid authority";ao-=U($i).length+1,$i="",jr=Ut}else $i+=or;break;case Ut:case Dn:if(si&&"file"==nr.scheme){jr=yt;continue}if(":"!=or||mo){if(or==xo||"/"==or||"?"==or||"#"==or||"\\"==or&&nr.isSpecial()){if(nr.isSpecial()&&""==$i)return Fn;if(si&&""==$i&&(nr.includesCredentials()||null!==nr.port))return;if(Or=nr.parseHost($i))return Or;if($i="",jr=Vt,si)return;continue}"["==or?mo=!0:"]"==or&&(mo=!1),$i+=or}else{if(""==$i)return Fn;if(Or=nr.parseHost($i))return Or;if($i="",jr=Et,si==Dn)return}break;case Et:if(!Ge(hr,or)){if(or==xo||"/"==or||"?"==or||"#"==or||"\\"==or&&nr.isSpecial()||si){if(""!=$i){var $n=Ve($i,10);if($n>65535)return pr;nr.port=nr.isSpecial()&&$n===vr[nr.scheme]?null:$n,$i=""}if(si)return;jr=Vt;continue}return pr}$i+=or;break;case $t:if(nr.scheme="file","/"==or||"\\"==or)jr=_t;else{if(!kn||"file"!=kn.scheme){jr=yn;continue}if(or==xo)nr.host=kn.host,nr.path=W(kn.path),nr.query=kn.query;else if("?"==or)nr.host=kn.host,nr.path=W(kn.path),nr.query="",jr=xi;else{if("#"!=or){mn(Oe(W(ua,ao),""))||(nr.host=kn.host,nr.path=W(kn.path),nr.shortenPath()),jr=yn;continue}nr.host=kn.host,nr.path=W(kn.path),nr.query=kn.query,nr.fragment="",jr=yi}}break;case _t:if("/"==or||"\\"==or){jr=yt;break}kn&&"file"==kn.scheme&&!mn(Oe(W(ua,ao),""))&&(Ji(kn.path[0],!0)?Qt(nr.path,kn.path[0]):nr.host=kn.host),jr=yn;continue;case yt:if(or==xo||"/"==or||"\\"==or||"?"==or||"#"==or){if(!si&&Ji($i))jr=yn;else if(""==$i){if(nr.host="",si)return;jr=Vt}else{if(Or=nr.parseHost($i))return Or;if("localhost"==nr.host&&(nr.host=""),si)return;$i="",jr=Vt}continue}$i+=or;break;case Vt:if(nr.isSpecial()){if(jr=yn,"/"!=or&&"\\"!=or)continue}else if(si||"?"!=or)if(si||"#"!=or){if(or!=xo&&(jr=yn,"/"!=or))continue}else nr.fragment="",jr=yi;else nr.query="",jr=xi;break;case yn:if(or==xo||"/"==or||"\\"==or&&nr.isSpecial()||!si&&("?"==or||"#"==or)){if(Wn($i)?(nr.shortenPath(),"/"!=or&&!("\\"==or&&nr.isSpecial())&&Qt(nr.path,"")):Rn($i)?"/"!=or&&!("\\"==or&&nr.isSpecial())&&Qt(nr.path,""):("file"==nr.scheme&&!nr.path.length&&Ji($i)&&(nr.host&&(nr.host=""),$i=Pe($i,0)+":"),Qt(nr.path,$i)),$i="","file"==nr.scheme&&(or==xo||"?"==or||"#"==or))for(;nr.path.length>1&&""===nr.path[0];)Yt(nr.path);"?"==or?(nr.query="",jr=xi):"#"==or&&(nr.fragment="",jr=yi)}else $i+=ui(or,ri);break;case Cr:"?"==or?(nr.query="",jr=xi):"#"==or?(nr.fragment="",jr=yi):or!=xo&&(nr.path[0]+=ui(or,Xn));break;case xi:si||"#"!=or?or!=xo&&("'"==or&&nr.isSpecial()?nr.query+="%27":nr.query+="#"==or?"%23":ui(or,Xn)):(nr.fragment="",jr=yi);break;case yi:or!=xo&&(nr.fragment+=ui(or,zn))}ao++}},parseHost:function(ir){var si,kn,nr;if("["==Pe(ir,0)){if("]"!=Pe(ir,ir.length-1)||(si=function(ir){var ao,$i,Eo,mo,Go,ua,or,si=[0,0,0,0,0,0,0,0],kn=0,nr=null,jr=0,Mr=function(){return Pe(ir,jr)};if(":"==Mr()){if(":"!=Pe(ir,1))return;jr+=2,nr=++kn}for(;Mr();){if(8==kn)return;if(":"!=Mr()){for(ao=$i=0;$i<4&&Ge(er,Mr());)ao=16*ao+Ve(Mr(),16),jr++,$i++;if("."==Mr()){if(0==$i||(jr-=$i,kn>6))return;for(Eo=0;Mr();){if(mo=null,Eo>0){if(!("."==Mr()&&Eo<4))return;jr++}if(!Ge(hr,Mr()))return;for(;Ge(hr,Mr());){if(Go=Ve(Mr(),10),null===mo)mo=Go;else{if(0==mo)return;mo=10*mo+Go}if(mo>255)return;jr++}si[kn]=256*si[kn]+mo,(2==++Eo||4==Eo)&&kn++}if(4!=Eo)return;break}if(":"==Mr()){if(jr++,!Mr())return}else if(Mr())return;si[kn++]=ao}else{if(null!==nr)return;jr++,nr=++kn}}if(null!==nr)for(ua=kn-nr,kn=7;0!=kn&&ua>0;)or=si[kn],si[kn--]=si[nr+ua-1],si[nr+--ua]=or;else if(8!=kn)return;return si}(rn(ir,1,-1)),!si))return Fn;this.host=si}else if(this.isSpecial()){if(ir=q(ir),Ge(_r,ir)||(si=function(ir){var kn,nr,jr,ao,$i,Eo,mo,si=dn(ir,".");if(si.length&&""==si[si.length-1]&&si.length--,(kn=si.length)>4)return ir;for(nr=[],jr=0;jr<kn;jr++){if(""==(ao=si[jr]))return ir;if($i=10,ao.length>1&&"0"==Pe(ao,0)&&($i=Ge(Br,ao)?16:8,ao=rn(ao,8==$i?1:2)),""===ao)Eo=0;else{if(!Ge(10==$i?Hn:8==$i?Ur:er,ao))return ir;Eo=Ve(ao,$i)}Qt(nr,Eo)}for(jr=0;jr<kn;jr++)if(Eo=nr[jr],jr==kn-1){if(Eo>=He(256,5-kn))return null}else if(Eo>255)return null;for(mo=We(nr),jr=0;jr<nr.length;jr++)mo+=nr[jr]*He(256,3-jr);return mo}(ir),null===si))return Fn;this.host=si}else{if(Ge(ei,ir))return Fn;for(si="",kn=U(ir),nr=0;nr<kn.length;nr++)si+=ui(kn[nr],Xn);this.host=si}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return w(vr,this.scheme)},shortenPath:function(){var ir=this.path,si=ir.length;si&&("file"!=this.scheme||1!=si||!Ji(ir[0],!0))&&ir.length--},serialize:function(){var ir=this,si=ir.scheme,kn=ir.username,nr=ir.password,jr=ir.host,ao=ir.port,$i=ir.path,Eo=ir.query,mo=ir.fragment,Go=si+":";return null!==jr?(Go+="//",ir.includesCredentials()&&(Go+=kn+(nr?":"+nr:"")+"@"),Go+=Zn(jr),null!==ao&&(Go+=":"+ao)):"file"==si&&(Go+="//"),Go+=ir.cannotBeABaseURL?$i[0]:$i.length?"/"+Oe($i,"/"):"",null!==Eo&&(Go+="?"+Eo),null!==mo&&(Go+="#"+mo),Go},setHref:function(ir){var si=this.parse(ir);if(si)throw Be(si);this.searchParams.update()},getOrigin:function(){var ir=this.scheme,si=this.port;if("blob"==ir)try{return new Qo(ir.path[0]).origin}catch(kn){return"null"}return"file"!=ir&&this.isSpecial()?ir+"://"+Zn(this.host)+(null!==si?":"+si:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(ir){this.parse(ue(ir)+":",et)},getUsername:function(){return this.username},setUsername:function(ir){var si=U(ue(ir));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var kn=0;kn<si.length;kn++)this.username+=ui(si[kn],Gi)}},getPassword:function(){return this.password},setPassword:function(ir){var si=U(ue(ir));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var kn=0;kn<si.length;kn++)this.password+=ui(si[kn],Gi)}},getHost:function(){var ir=this.host,si=this.port;return null===ir?"":null===si?Zn(ir):Zn(ir)+":"+si},setHost:function(ir){this.cannotBeABaseURL||this.parse(ir,Ut)},getHostname:function(){var ir=this.host;return null===ir?"":Zn(ir)},setHostname:function(ir){this.cannotBeABaseURL||this.parse(ir,Dn)},getPort:function(){var ir=this.port;return null===ir?"":ue(ir)},setPort:function(ir){this.cannotHaveUsernamePasswordPort()||(""==(ir=ue(ir))?this.port=null:this.parse(ir,Et))},getPathname:function(){var ir=this.path;return this.cannotBeABaseURL?ir[0]:ir.length?"/"+Oe(ir,"/"):""},setPathname:function(ir){this.cannotBeABaseURL||(this.path=[],this.parse(ir,Vt))},getSearch:function(){var ir=this.query;return ir?"?"+ir:""},setSearch:function(ir){""==(ir=ue(ir))?this.query=null:("?"==Pe(ir,0)&&(ir=rn(ir,1)),this.query="",this.parse(ir,xi)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var ir=this.fragment;return ir?"#"+ir:""},setHash:function(ir){""!=(ir=ue(ir))?("#"==Pe(ir,0)&&(ir=rn(ir,1)),this.fragment="",this.parse(ir,yi)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Qo=function(si){var kn=M(this,lo),nr=H(arguments.length,1)>1?arguments[1]:void 0,jr=ie(kn,new Uo(si,!1,nr));a||(kn.href=jr.serialize(),kn.origin=jr.getOrigin(),kn.protocol=jr.getProtocol(),kn.username=jr.getUsername(),kn.password=jr.getPassword(),kn.host=jr.getHost(),kn.hostname=jr.getHostname(),kn.port=jr.getPort(),kn.pathname=jr.getPathname(),kn.search=jr.getSearch(),kn.searchParams=jr.getSearchParams(),kn.hash=jr.getHash())},lo=Qo.prototype,Ri=function(ir,si){return{get:function(){return fe(this)[ir]()},set:si&&function(kn){return fe(this)[si](kn)},configurable:!0,enumerable:!0}};if(a&&(T(lo,"href",Ri("serialize","setHref")),T(lo,"origin",Ri("getOrigin")),T(lo,"protocol",Ri("getProtocol","setProtocol")),T(lo,"username",Ri("getUsername","setUsername")),T(lo,"password",Ri("getPassword","setPassword")),T(lo,"host",Ri("getHost","setHost")),T(lo,"hostname",Ri("getHostname","setHostname")),T(lo,"port",Ri("getPort","setPort")),T(lo,"pathname",Ri("getPathname","setPathname")),T(lo,"search",Ri("getSearch","setSearch")),T(lo,"searchParams",Ri("getSearchParams")),T(lo,"hash",Ri("getHash","setHash"))),g(lo,"toJSON",function(){return fe(this).serialize()},{enumerable:!0}),g(lo,"toString",function(){return fe(this).serialize()},{enumerable:!0}),ce){var ko=ce.createObjectURL,Xo=ce.revokeObjectURL;ko&&g(Qo,"createObjectURL",e(ko,ce)),Xo&&g(Qo,"revokeObjectURL",e(Xo,ce))}re(Qo,"URL"),r({global:!0,constructor:!0,forced:!f,sham:!a},{URL:Qo})},95981:(v,b,i)=>{i(80504)},71324:()=>{},75242:(v,b,i)=>{var r=i(74771);v.exports=r},10323:(v,b,i)=>{var r=i(8412);v.exports=r},99940:(v,b,i)=>{var r=i(399);v.exports=r},89919:(v,b,i)=>{var r=i(98812);v.exports=r},14869:(v,b,i)=>{var r=i(33195);v.exports=r},4475:(v,b,i)=>{var r=i(46332);v.exports=r},38762:(v,b,i)=>{var r=i(42618);v.exports=r},8748:(v,b,i)=>{var r=i(63791);i(33089),v.exports=r},71873:(v,b,i)=>{var r=i(69029);v.exports=r},61599:(v,b,i)=>{var r=i(28924);v.exports=r},34097:(v,b,i)=>{i(33089);var r=i(35329),a=i(80112),f=i(23336),u=i(99940),e=Array.prototype,p={DOMTokenList:!0,NodeList:!0};v.exports=function(g){var T=g.entries;return g===e||f(e,g)&&T===e.entries||a(p,r(g))?u:T}},15149:(v,b,i)=>{var r=i(98709);v.exports=r},83361:(v,b,i)=>{var r=i(65991);v.exports=r},19095:(v,b,i)=>{var r=i(64158);v.exports=r},71420:(v,b,i)=>{var r=i(91799);v.exports=r},13178:(v,b,i)=>{var r=i(26155);v.exports=r},52049:(v,b,i)=>{i(33089);var r=i(35329),a=i(80112),f=i(23336),u=i(89919),e=Array.prototype,p={DOMTokenList:!0,NodeList:!0};v.exports=function(g){var T=g.forEach;return g===e||f(e,g)&&T===e.forEach||a(p,r(g))?u:T}},83655:(v,b,i)=>{var r=i(33758);v.exports=r},87054:(v,b,i)=>{var r=i(7592);v.exports=r},51946:(v,b,i)=>{i(33089);var r=i(35329),a=i(80112),f=i(23336),u=i(14869),e=Array.prototype,p={DOMTokenList:!0,NodeList:!0};v.exports=function(g){var T=g.keys;return g===e||f(e,g)&&T===e.keys||a(p,r(g))?u:T}},40764:(v,b,i)=>{var r=i(17480);v.exports=r},81214:(v,b,i)=>{var r=i(20681);v.exports=r},50881:(v,b,i)=>{var r=i(90949);v.exports=r},38813:(v,b,i)=>{var r=i(99316);v.exports=r},45284:(v,b,i)=>{var r=i(62212);v.exports=r},70157:(v,b,i)=>{var r=i(49073);v.exports=r},3502:(v,b,i)=>{var r=i(24146);v.exports=r},81610:(v,b,i)=>{var r=i(40104);v.exports=r},19543:(v,b,i)=>{var r=i(3555);v.exports=r},74046:(v,b,i)=>{var r=i(68333);v.exports=r},13731:(v,b,i)=>{var r=i(65786);v.exports=r},80129:(v,b,i)=>{i(33089);var r=i(35329),a=i(80112),f=i(23336),u=i(4475),e=Array.prototype,p={DOMTokenList:!0,NodeList:!0};v.exports=function(g){var T=g.values;return g===e||f(e,g)&&T===e.values||a(p,r(g))?u:T}},43720:(v,b,i)=>{var r=i(66306);v.exports=r},640:(v,b,i)=>{var r=i(31845);i(33089),v.exports=r},50320:(v,b,i)=>{var r=i(44168);v.exports=r},93006:(v,b,i)=>{var r=i(25852);v.exports=r},36226:(v,b,i)=>{var r=i(24457);v.exports=r},21968:(v,b,i)=>{var r=i(99671);v.exports=r},87259:(v,b,i)=>{var r=i(38007);v.exports=r},62021:(v,b,i)=>{var r=i(57432);v.exports=r},57682:(v,b,i)=>{var r=i(36541);v.exports=r},94222:(v,b,i)=>{var r=i(17303);v.exports=r},1162:(v,b,i)=>{var r=i(62149);v.exports=r},82805:(v,b,i)=>{var r=i(86537);v.exports=r},70809:(v,b,i)=>{var r=i(79553);v.exports=r},26498:(v,b,i)=>{var r=i(80092);i(33089),v.exports=r},44850:(v,b,i)=>{var r=i(472);v.exports=r},9634:(v,b,i)=>{var r=i(4678);v.exports=r},12118:(v,b,i)=>{i(69280);var r=i(13544);v.exports=r.setTimeout},96551:(v,b,i)=>{var r=i(61697);i(33089),v.exports=r},98908:(v,b,i)=>{var r=i(42497);i(33089),v.exports=r},55434:(v,b,i)=>{var r=i(50681);v.exports=r},70906:(v,b,i)=>{var r=i(75081);v.exports=r},75081:(v,b,i)=>{i(95981),i(37256),i(71324),i(26953),i(86023);var r=i(13544);v.exports=r.URL},71577:function(){var v;v="undefined"!=typeof self?self:this,function(i){var r_searchParams="URLSearchParams"in v,r_iterable="Symbol"in v&&"iterator"in Symbol,r_blob="FileReader"in v&&"Blob"in v&&function(){try{return new Blob,!0}catch(Ce){return!1}}(),r_formData="FormData"in v,r_arrayBuffer="ArrayBuffer"in v;if(r_arrayBuffer)var f=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],u=ArrayBuffer.isView||function(Ce){return Ce&&f.indexOf(Object.prototype.toString.call(Ce))>-1};function e(Ce){if("string"!=typeof Ce&&(Ce=String(Ce)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(Ce))throw new TypeError("Invalid character in header field name");return Ce.toLowerCase()}function p(Ce){return"string"!=typeof Ce&&(Ce=String(Ce)),Ce}function g(Ce){var ce={next:function(){var Be=Ce.shift();return{done:void 0===Be,value:Be}}};return r_iterable&&(ce[Symbol.iterator]=function(){return ce}),ce}function T(Ce){this.map={},Ce instanceof T?Ce.forEach(function(ce,Be){this.append(Be,ce)},this):Array.isArray(Ce)?Ce.forEach(function(ce){this.append(ce[0],ce[1])},this):Ce&&Object.getOwnPropertyNames(Ce).forEach(function(ce){this.append(ce,Ce[ce])},this)}function M(Ce){if(Ce.bodyUsed)return Promise.reject(new TypeError("Already read"));Ce.bodyUsed=!0}function w(Ce){return new Promise(function(ce,Be){Ce.onload=function(){ce(Ce.result)},Ce.onerror=function(){Be(Ce.error)}})}function R(Ce){var ce=new FileReader,Be=w(ce);return ce.readAsArrayBuffer(Ce),Be}function j(Ce){if(Ce.slice)return Ce.slice(0);var ce=new Uint8Array(Ce.byteLength);return ce.set(new Uint8Array(Ce)),ce.buffer}function q(){return this.bodyUsed=!1,this._initBody=function(Ce){this._bodyInit=Ce,Ce?"string"==typeof Ce?this._bodyText=Ce:r_blob&&Blob.prototype.isPrototypeOf(Ce)?this._bodyBlob=Ce:r_formData&&FormData.prototype.isPrototypeOf(Ce)?this._bodyFormData=Ce:r_searchParams&&URLSearchParams.prototype.isPrototypeOf(Ce)?this._bodyText=Ce.toString():r_arrayBuffer&&r_blob&&function a(Ce){return Ce&&DataView.prototype.isPrototypeOf(Ce)}(Ce)?(this._bodyArrayBuffer=j(Ce.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):r_arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(Ce)||u(Ce))?this._bodyArrayBuffer=j(Ce):this._bodyText=Ce=Object.prototype.toString.call(Ce):this._bodyText="",this.headers.get("content-type")||("string"==typeof Ce?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):r_searchParams&&URLSearchParams.prototype.isPrototypeOf(Ce)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},r_blob&&(this.blob=function(){var Ce=M(this);if(Ce)return Ce;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?M(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(R)}),this.text=function(){var Ce=M(this);if(Ce)return Ce;if(this._bodyBlob)return function U(Ce){var ce=new FileReader,Be=w(ce);return ce.readAsText(Ce),Be}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function W(Ce){for(var ce=new Uint8Array(Ce),Be=new Array(ce.length),Ve=0;Ve<ce.length;Ve++)Be[Ve]=String.fromCharCode(ce[Ve]);return Be.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},r_formData&&(this.formData=function(){return this.text().then(se)}),this.json=function(){return this.text().then(JSON.parse)},this}T.prototype.append=function(Ce,ce){Ce=e(Ce),ce=p(ce);var Be=this.map[Ce];this.map[Ce]=Be?Be+", "+ce:ce},T.prototype.delete=function(Ce){delete this.map[e(Ce)]},T.prototype.get=function(Ce){return Ce=e(Ce),this.has(Ce)?this.map[Ce]:null},T.prototype.has=function(Ce){return this.map.hasOwnProperty(e(Ce))},T.prototype.set=function(Ce,ce){this.map[e(Ce)]=p(ce)},T.prototype.forEach=function(Ce,ce){for(var Be in this.map)this.map.hasOwnProperty(Be)&&Ce.call(ce,this.map[Be],Be,this)},T.prototype.keys=function(){var Ce=[];return this.forEach(function(ce,Be){Ce.push(Be)}),g(Ce)},T.prototype.values=function(){var Ce=[];return this.forEach(function(ce){Ce.push(ce)}),g(Ce)},T.prototype.entries=function(){var Ce=[];return this.forEach(function(ce,Be){Ce.push([Be,ce])}),g(Ce)},r_iterable&&(T.prototype[Symbol.iterator]=T.prototype.entries);var ue=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function H(Ce,ce){var Be=(ce=ce||{}).body;if(Ce instanceof H){if(Ce.bodyUsed)throw new TypeError("Already read");this.url=Ce.url,this.credentials=Ce.credentials,ce.headers||(this.headers=new T(Ce.headers)),this.method=Ce.method,this.mode=Ce.mode,this.signal=Ce.signal,!Be&&null!=Ce._bodyInit&&(Be=Ce._bodyInit,Ce.bodyUsed=!0)}else this.url=String(Ce);if(this.credentials=ce.credentials||this.credentials||"same-origin",(ce.headers||!this.headers)&&(this.headers=new T(ce.headers)),this.method=function re(Ce){var ce=Ce.toUpperCase();return ue.indexOf(ce)>-1?ce:Ce}(ce.method||this.method||"GET"),this.mode=ce.mode||this.mode||null,this.signal=ce.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&Be)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(Be)}function se(Ce){var ce=new FormData;return Ce.trim().split("&").forEach(function(Be){if(Be){var Ve=Be.split("="),Xe=Ve.shift().replace(/\+/g," "),He=Ve.join("=").replace(/\+/g," ");ce.append(decodeURIComponent(Xe),decodeURIComponent(He))}}),ce}function ae(Ce){var ce=new T;return Ce.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(Ve){var Xe=Ve.split(":"),He=Xe.shift().trim();if(He){var Pe=Xe.join(":").trim();ce.append(He,Pe)}}),ce}function ie(Ce,ce){ce||(ce={}),this.type="default",this.status=void 0===ce.status?200:ce.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in ce?ce.statusText:"OK",this.headers=new T(ce.headers),this.url=ce.url||"",this._initBody(Ce)}H.prototype.clone=function(){return new H(this,{body:this._bodyInit})},q.call(H.prototype),q.call(ie.prototype),ie.prototype.clone=function(){return new ie(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new T(this.headers),url:this.url})},ie.error=function(){var Ce=new ie(null,{status:0,statusText:""});return Ce.type="error",Ce};var fe=[301,302,303,307,308];ie.redirect=function(Ce,ce){if(-1===fe.indexOf(ce))throw new RangeError("Invalid status code");return new ie(null,{status:ce,headers:{location:Ce}})},i.DOMException=v.DOMException;try{new i.DOMException}catch(Ce){i.DOMException=function(ce,Be){this.message=ce,this.name=Be;var Ve=Error(ce);this.stack=Ve.stack},i.DOMException.prototype=Object.create(Error.prototype),i.DOMException.prototype.constructor=i.DOMException}function _e(Ce,ce){return new Promise(function(Be,Ve){var Xe=new H(Ce,ce);if(Xe.signal&&Xe.signal.aborted)return Ve(new i.DOMException("Aborted","AbortError"));var He=new XMLHttpRequest;function Pe(){He.abort()}He.onload=function(){var Ge={status:He.status,statusText:He.statusText,headers:ae(He.getAllResponseHeaders()||"")};Ge.url="responseURL"in He?He.responseURL:Ge.headers.get("X-Request-URL"),Be(new ie("response"in He?He.response:He.responseText,Ge))},He.onerror=function(){Ve(new TypeError("Network request failed"))},He.ontimeout=function(){Ve(new TypeError("Network request failed"))},He.onabort=function(){Ve(new i.DOMException("Aborted","AbortError"))},He.open(Xe.method,Xe.url,!0),"include"===Xe.credentials?He.withCredentials=!0:"omit"===Xe.credentials&&(He.withCredentials=!1),"responseType"in He&&r_blob&&(He.responseType="blob"),Xe.headers.forEach(function(Ge,Oe){He.setRequestHeader(Oe,Ge)}),Xe.signal&&(Xe.signal.addEventListener("abort",Pe),He.onreadystatechange=function(){4===He.readyState&&Xe.signal.removeEventListener("abort",Pe)}),He.send(void 0===Xe._bodyInit?null:Xe._bodyInit)})}_e.polyfill=!0,v.fetch||(v.fetch=_e,v.Headers=T,v.Request=H,v.Response=ie),i.Headers=T,i.Request=H,i.Response=ie,i.fetch=_e,Object.defineProperty(i,"__esModule",{value:!0})}({})},52243:function(v){var b;b="undefined"!=typeof global?global:this,v.exports=function(b){if(b.CSS&&b.CSS.escape)return b.CSS.escape;var i=function(r){if(0==arguments.length)throw new TypeError("`CSS.escape` requires an argument.");for(var e,a=String(r),f=a.length,u=-1,p="",g=a.charCodeAt(0);++u<f;)0!=(e=a.charCodeAt(u))?p+=e>=1&&e<=31||127==e||0==u&&e>=48&&e<=57||1==u&&e>=48&&e<=57&&45==g?"\\"+e.toString(16)+" ":0==u&&1==f&&45==e||!(e>=128||45==e||95==e||e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122)?"\\"+a.charAt(u):a.charAt(u):p+="\ufffd";return p};return b.CSS||(b.CSS={}),b.CSS.escape=i,i}(b)},89225:v=>{"use strict";var b=function(re){return function i(ue){return!!ue&&"object"==typeof ue}(re)&&!function r(ue){var re=Object.prototype.toString.call(ue);return"[object RegExp]"===re||"[object Date]"===re||function u(ue){return ue.$$typeof===f}(ue)}(re)},f="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function p(ue,re){return!1!==re.clone&&re.isMergeableObject(ue)?j(function e(ue){return Array.isArray(ue)?[]:{}}(ue),ue,re):ue}function g(ue,re,H){return ue.concat(re).map(function(se){return p(se,H)})}function w(ue){return Object.keys(ue).concat(function M(ue){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(ue).filter(function(re){return Object.propertyIsEnumerable.call(ue,re)}):[]}(ue))}function R(ue,re){try{return re in ue}catch(H){return!1}}function j(ue,re,H){(H=H||{}).arrayMerge=H.arrayMerge||g,H.isMergeableObject=H.isMergeableObject||b,H.cloneUnlessOtherwiseSpecified=p;var se=Array.isArray(re);return se===Array.isArray(ue)?se?H.arrayMerge(ue,re,H):function W(ue,re,H){var se={};return H.isMergeableObject(ue)&&w(ue).forEach(function(ae){se[ae]=p(ue[ae],H)}),w(re).forEach(function(ae){(function U(ue,re){return R(ue,re)&&!(Object.hasOwnProperty.call(ue,re)&&Object.propertyIsEnumerable.call(ue,re))})(ue,ae)||(se[ae]=R(ue,ae)&&H.isMergeableObject(re[ae])?function T(ue,re){if(!re.customMerge)return j;var H=re.customMerge(ue);return"function"==typeof H?H:j}(ae,H)(ue[ae],re[ae],H):p(re[ae],H))}),se}(ue,re,H):p(re,H)}j.all=function(re,H){if(!Array.isArray(re))throw new Error("first argument should be an array");return re.reduce(function(se,ae){return j(se,ae,H)},{})},v.exports=j},97057:(v,b,i)=>{"use strict";i.d(b,{qY:()=>U});var a=function se(ae,ie,fe){this.name=ae,this.version=ie,this.os=fe,this.type="browser"},f=function se(ae){this.version=ae,this.type="node",this.name="node",this.os=process.platform},u=function se(ae,ie,fe,_e){this.name=ae,this.version=ie,this.os=fe,this.bot=_e,this.type="bot-device"},e=function se(){this.type="bot",this.bot=!0,this.name="bot",this.version=null,this.os=null},p=function se(){this.type="react-native",this.name="react-native",this.version=null,this.os=null},T=/(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\ Jeeves\/Teoma|ia_archiver)/,w=[["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["edge-ios",/EdgiOS\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["silk",/\bSilk\/([0-9._-]+)\b/],["miui",/MiuiBrowser\/([0-9\.]+)$/],["beaker",/BeakerBrowser\/([0-9\.]+)/],["edge-chromium",/EdgA?\/([0-9\.]+)/],["chromium-webview",/(?!Chrom.*OPR)wv\).*Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera-mini",/Opera Mini.*Version\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FBAV\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Gecko\)$/],["searchbot",/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/]],R=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];function U(se){return se?q(se):"undefined"==typeof document&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product?new p:"undefined"!=typeof navigator?q(navigator.userAgent):function re(){return"undefined"!=typeof process&&process.version?new f(process.version.slice(1)):null}()}function q(se){var ae=function W(se){return""!==se&&w.reduce(function(ae,ie){var fe=ie[0];if(ae)return ae;var Ce=ie[1].exec(se);return!!Ce&&[fe,Ce]},!1)}(se);if(!ae)return null;var ie=ae[0],fe=ae[1];if("searchbot"===ie)return new e;var _e=fe[1]&&fe[1].split(/[._]/).slice(0,3);_e?_e.length<3&&(_e=function(){for(var se=0,ae=0,ie=arguments.length;ae<ie;ae++)se+=arguments[ae].length;var fe=Array(se),_e=0;for(ae=0;ae<ie;ae++)for(var Ce=arguments[ae],ce=0,Be=Ce.length;ce<Be;ce++,_e++)fe[_e]=Ce[ce];return fe}(_e,function H(se){for(var ae=[],ie=0;ie<se;ie++)ae.push("0");return ae}(3-_e.length))):_e=[];var Ce=_e.join("."),ce=function ue(se){for(var ae=0,ie=R.length;ae<ie;ae++){var fe=R[ae],_e=fe[0];if(fe[1].exec(se))return _e}return null}(se),Be=T.exec(se);return Be&&Be[1]?new u(ie,Ce,ce,Be[1]):new a(ie,Ce,ce)}},23358:function(v){v.exports=function(){"use strict";var i=Object.hasOwnProperty,r=Object.setPrototypeOf,a=Object.isFrozen,f=Object.getPrototypeOf,u=Object.getOwnPropertyDescriptor,e=Object.freeze,p=Object.seal,g=Object.create,T="undefined"!=typeof Reflect&&Reflect,M=T.apply,w=T.construct;M||(M=function(Hn,er,_r){return Hn.apply(er,_r)}),e||(e=function(Hn){return Hn}),p||(p=function(Hn){return Hn}),w||(w=function(Hn,er){return new(Function.prototype.bind.apply(Hn,[null].concat(function b(Ur){if(Array.isArray(Ur)){for(var Hn=0,er=Array(Ur.length);Hn<Ur.length;Hn++)er[Hn]=Ur[Hn];return er}return Array.from(Ur)}(er))))});var R=ie(Array.prototype.forEach),U=ie(Array.prototype.pop),W=ie(Array.prototype.push),j=ie(String.prototype.toLowerCase),q=ie(String.prototype.match),ue=ie(String.prototype.replace),re=ie(String.prototype.indexOf),H=ie(String.prototype.trim),se=ie(RegExp.prototype.test),ae=function fe(Ur){return function(){for(var Hn=arguments.length,er=Array(Hn),_r=0;_r<Hn;_r++)er[_r]=arguments[_r];return w(Ur,er)}}(TypeError);function ie(Ur){return function(Hn){for(var er=arguments.length,_r=Array(er>1?er-1:0),ei=1;ei<er;ei++)_r[ei-1]=arguments[ei];return M(Ur,Hn,_r)}}function _e(Ur,Hn){r&&r(Ur,null);for(var er=Hn.length;er--;){var _r=Hn[er];if("string"==typeof _r){var ei=j(_r);ei!==_r&&(a(Hn)||(Hn[er]=ei),_r=ei)}Ur[_r]=!0}return Ur}function Ce(Ur){var Hn=g(null),er=void 0;for(er in Ur)M(i,Ur,[er])&&(Hn[er]=Ur[er]);return Hn}function ce(Ur,Hn){for(;null!==Ur;){var er=u(Ur,Hn);if(er){if(er.get)return ie(er.get);if("function"==typeof er.value)return ie(er.value)}Ur=f(Ur)}return function _r(ei){return console.warn("fallback value for",ei),null}}var Be=e(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Ve=e(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Xe=e(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),He=e(["animate","color-profile","cursor","discard","fedropshadow","feimage","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Pe=e(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),Ge=e(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Oe=e(["#text"]),Tt=e(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),We=e(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Qt=e(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Nt=e(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Yt=p(/\{\{[\s\S]*|[\s\S]*\}\}/gm),dn=p(/<%[\s\S]*|[\s\S]*%>/gm),rn=p(/^data-[\-\w.\u00B7-\uFFFF]/),vt=p(/^aria-[\-\w]+$/),xt=p(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Ct=p(/^(?:\w+script|data):/i),Gt=p(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Fn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Ur){return typeof Ur}:function(Ur){return Ur&&"function"==typeof Symbol&&Ur.constructor===Symbol&&Ur!==Symbol.prototype?"symbol":typeof Ur};function pr(Ur){if(Array.isArray(Ur)){for(var Hn=0,er=Array(Ur.length);Hn<Ur.length;Hn++)er[Hn]=Ur[Hn];return er}return Array.from(Ur)}var mi=function(){return"undefined"==typeof window?null:window},ci=function(Hn,er){if("object"!==(void 0===Hn?"undefined":Fn(Hn))||"function"!=typeof Hn.createPolicy)return null;var _r=null,ei="data-tt-policy-suffix";er.currentScript&&er.currentScript.hasAttribute(ei)&&(_r=er.currentScript.getAttribute(ei));var bi="dompurify"+(_r?"#"+_r:"");try{return Hn.createPolicy(bi,{createHTML:function(no){return no}})}catch(fi){return console.warn("TrustedTypes policy "+bi+" could not be created."),null}};return function hr(){var Ur=arguments.length>0&&void 0!==arguments[0]?arguments[0]:mi(),Hn=function(kr){return hr(kr)};if(Hn.version="2.3.3",Hn.removed=[],!Ur||!Ur.document||9!==Ur.document.nodeType)return Hn.isSupported=!1,Hn;var er=Ur.document,_r=Ur.document,ei=Ur.DocumentFragment,bi=Ur.HTMLTemplateElement,fi=Ur.Node,no=Ur.Element,xo=Ur.NodeFilter,Er=Ur.NamedNodeMap,an=void 0===Er?Ur.NamedNodeMap||Ur.MozNamedAttrMap:Er,vn=Ur.Text,Zn=Ur.Comment,Xn=Ur.DOMParser,zn=Ur.trustedTypes,ri=no.prototype,Gi=ce(ri,"cloneNode"),ui=ce(ri,"nextSibling"),vr=ce(ri,"childNodes"),Ji=ce(ri,"parentNode");if("function"==typeof bi){var mn=_r.createElement("template");mn.content&&mn.content.ownerDocument&&(_r=mn.content.ownerDocument)}var Rn=ci(zn,er),Wn=Rn&&jr?Rn.createHTML(""):"",Le=_r.implementation,Re=_r.createNodeIterator,Se=_r.createDocumentFragment,dt=_r.getElementsByTagName,st=er.importNode,nn={};try{nn=Ce(_r).documentMode?_r.documentMode:{}}catch(Oo){}var Fe={};Hn.isSupported="function"==typeof Ji&&Le&&void 0!==Le.createHTMLDocument&&9!==nn;var Lr=Yt,ti=dn,Ut=rn,Dn=vt,Et=Ct,$t=Gt,_t=xt,yt=null,Vt=_e({},[].concat(pr(Be),pr(Ve),pr(Xe),pr(Pe),pr(Oe))),yn=null,Cr=_e({},[].concat(pr(Tt),pr(We),pr(Qt),pr(Nt))),xi=null,yi=null,Uo=!0,Qo=!0,lo=!1,Ri=!1,ko=!1,Xo=!1,ir=!1,si=!1,kn=!1,nr=!0,jr=!1,ao=!0,$i=!0,Eo=!1,mo={},Go=null,ua=_e({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),or=null,Mr=_e({},["audio","video","img","source","image","track"]),Or=null,cr=_e({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),pi="http://www.w3.org/1998/Math/MathML",Sn="http://www.w3.org/2000/svg",$n="http://www.w3.org/1999/xhtml",Jr=$n,ro=!1,go=void 0,Ro=["application/xhtml+xml","text/html"],js="text/html",ds=void 0,es=null,ma=_r.createElement("form"),ya=function(kr){es&&es===kr||((!kr||"object"!==(void 0===kr?"undefined":Fn(kr)))&&(kr={}),kr=Ce(kr),yt="ALLOWED_TAGS"in kr?_e({},kr.ALLOWED_TAGS):Vt,yn="ALLOWED_ATTR"in kr?_e({},kr.ALLOWED_ATTR):Cr,Or="ADD_URI_SAFE_ATTR"in kr?_e(Ce(cr),kr.ADD_URI_SAFE_ATTR):cr,or="ADD_DATA_URI_TAGS"in kr?_e(Ce(Mr),kr.ADD_DATA_URI_TAGS):Mr,Go="FORBID_CONTENTS"in kr?_e({},kr.FORBID_CONTENTS):ua,xi="FORBID_TAGS"in kr?_e({},kr.FORBID_TAGS):{},yi="FORBID_ATTR"in kr?_e({},kr.FORBID_ATTR):{},mo="USE_PROFILES"in kr&&kr.USE_PROFILES,Uo=!1!==kr.ALLOW_ARIA_ATTR,Qo=!1!==kr.ALLOW_DATA_ATTR,lo=kr.ALLOW_UNKNOWN_PROTOCOLS||!1,Ri=kr.SAFE_FOR_TEMPLATES||!1,ko=kr.WHOLE_DOCUMENT||!1,si=kr.RETURN_DOM||!1,kn=kr.RETURN_DOM_FRAGMENT||!1,nr=!1!==kr.RETURN_DOM_IMPORT,jr=kr.RETURN_TRUSTED_TYPE||!1,ir=kr.FORCE_BODY||!1,ao=!1!==kr.SANITIZE_DOM,$i=!1!==kr.KEEP_CONTENT,Eo=kr.IN_PLACE||!1,_t=kr.ALLOWED_URI_REGEXP||_t,Jr=kr.NAMESPACE||$n,go=go=-1===Ro.indexOf(kr.PARSER_MEDIA_TYPE)?js:kr.PARSER_MEDIA_TYPE,ds="application/xhtml+xml"===go?function(Ki){return Ki}:j,Ri&&(Qo=!1),kn&&(si=!0),mo&&(yt=_e({},[].concat(pr(Oe))),yn=[],!0===mo.html&&(_e(yt,Be),_e(yn,Tt)),!0===mo.svg&&(_e(yt,Ve),_e(yn,We),_e(yn,Nt)),!0===mo.svgFilters&&(_e(yt,Xe),_e(yn,We),_e(yn,Nt)),!0===mo.mathMl&&(_e(yt,Pe),_e(yn,Qt),_e(yn,Nt))),kr.ADD_TAGS&&(yt===Vt&&(yt=Ce(yt)),_e(yt,kr.ADD_TAGS)),kr.ADD_ATTR&&(yn===Cr&&(yn=Ce(yn)),_e(yn,kr.ADD_ATTR)),kr.ADD_URI_SAFE_ATTR&&_e(Or,kr.ADD_URI_SAFE_ATTR),kr.FORBID_CONTENTS&&(Go===ua&&(Go=Ce(Go)),_e(Go,kr.FORBID_CONTENTS)),$i&&(yt["#text"]=!0),ko&&_e(yt,["html","head","body"]),yt.table&&(_e(yt,["tbody"]),delete xi.tbody),e&&e(kr),es=kr)},fa=_e({},["mi","mo","mn","ms","mtext"]),sa=_e({},["foreignobject","desc","title","annotation-xml"]),Ra=_e({},Ve);_e(Ra,Xe),_e(Ra,He);var pl=_e({},Pe);_e(pl,Ge);var Co=function(kr){var Ki=Ji(kr);(!Ki||!Ki.tagName)&&(Ki={namespaceURI:$n,tagName:"template"});var ut=j(kr.tagName),pn=j(Ki.tagName);if(kr.namespaceURI===Sn)return Ki.namespaceURI===$n?"svg"===ut:Ki.namespaceURI===pi?"svg"===ut&&("annotation-xml"===pn||fa[pn]):Boolean(Ra[ut]);if(kr.namespaceURI===pi)return Ki.namespaceURI===$n?"math"===ut:Ki.namespaceURI===Sn?"math"===ut&&sa[pn]:Boolean(pl[ut]);if(kr.namespaceURI===$n){if(Ki.namespaceURI===Sn&&!sa[pn]||Ki.namespaceURI===pi&&!fa[pn])return!1;var te=_e({},["title","style","font","a","script"]);return!pl[ut]&&(te[ut]||!Ra[ut])}return!1},yl=function(kr){W(Hn.removed,{element:kr});try{kr.parentNode.removeChild(kr)}catch(Ki){try{kr.outerHTML=Wn}catch(ut){kr.remove()}}},Wo=function(kr,Ki){try{W(Hn.removed,{attribute:Ki.getAttributeNode(kr),from:Ki})}catch(ut){W(Hn.removed,{attribute:null,from:Ki})}if(Ki.removeAttribute(kr),"is"===kr&&!yn[kr])if(si||kn)try{yl(Ki)}catch(ut){}else try{Ki.setAttribute(kr,"")}catch(ut){}},ys=function(kr){var Ki=void 0,ut=void 0;if(ir)kr="<remove></remove>"+kr;else{var pn=q(kr,/^[\r\n\t ]+/);ut=pn&&pn[0]}"application/xhtml+xml"===go&&(kr='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+kr+"</body></html>");var te=Rn?Rn.createHTML(kr):kr;if(Jr===$n)try{Ki=(new Xn).parseFromString(te,go)}catch(jt){}if(!Ki||!Ki.documentElement){Ki=Le.createDocument(Jr,"template",null);try{Ki.documentElement.innerHTML=ro?"":te}catch(jt){}}var Ue=Ki.body||Ki.documentElement;return kr&&ut&&Ue.insertBefore(_r.createTextNode(ut),Ue.childNodes[0]||null),Jr===$n?dt.call(Ki,ko?"html":"body")[0]:ko?Ki.documentElement:Ue},Wa=function(kr){return Re.call(kr.ownerDocument||kr,kr,xo.SHOW_ELEMENT|xo.SHOW_COMMENT|xo.SHOW_TEXT,null,!1)},Is=function(kr){return!(kr instanceof vn||kr instanceof Zn||"string"==typeof kr.nodeName&&"string"==typeof kr.textContent&&"function"==typeof kr.removeChild&&kr.attributes instanceof an&&"function"==typeof kr.removeAttribute&&"function"==typeof kr.setAttribute&&"string"==typeof kr.namespaceURI&&"function"==typeof kr.insertBefore)},nl=function(kr){return"object"===(void 0===fi?"undefined":Fn(fi))?kr instanceof fi:kr&&"object"===(void 0===kr?"undefined":Fn(kr))&&"number"==typeof kr.nodeType&&"string"==typeof kr.nodeName},Gs=function(kr,Ki,ut){!Fe[kr]||R(Fe[kr],function(pn){pn.call(Hn,Ki,ut,es)})},$o=function(kr){var Ki=void 0;if(Gs("beforeSanitizeElements",kr,null),Is(kr)||q(kr.nodeName,/[\u0080-\uFFFF]/))return yl(kr),!0;var ut=ds(kr.nodeName);if(Gs("uponSanitizeElement",kr,{tagName:ut,allowedTags:yt}),!nl(kr.firstElementChild)&&(!nl(kr.content)||!nl(kr.content.firstElementChild))&&se(/<[/\w]/g,kr.innerHTML)&&se(/<[/\w]/g,kr.textContent)||"select"===ut&&se(/<template/i,kr.innerHTML))return yl(kr),!0;if(!yt[ut]||xi[ut]){if($i&&!Go[ut]){var pn=Ji(kr)||kr.parentNode,te=vr(kr)||kr.childNodes;if(te&&pn)for(var jt=te.length-1;jt>=0;--jt)pn.insertBefore(Gi(te[jt],!0),ui(kr))}return yl(kr),!0}return kr instanceof no&&!Co(kr)||("noscript"===ut||"noembed"===ut)&&se(/<\/no(script|embed)/i,kr.innerHTML)?(yl(kr),!0):(Ri&&3===kr.nodeType&&(Ki=ue(Ki=kr.textContent,Lr," "),Ki=ue(Ki,ti," "),kr.textContent!==Ki&&(W(Hn.removed,{element:kr.cloneNode()}),kr.textContent=Ki)),Gs("afterSanitizeElements",kr,null),!1)},To=function(kr,Ki,ut){if(ao&&("id"===Ki||"name"===Ki)&&(ut in _r||ut in ma))return!1;if((!Qo||yi[Ki]||!se(Ut,Ki))&&(!Uo||!se(Dn,Ki))){if(!yn[Ki]||yi[Ki])return!1;if(!Or[Ki]&&!se(_t,ue(ut,$t,""))&&("src"!==Ki&&"xlink:href"!==Ki&&"href"!==Ki||"script"===kr||0!==re(ut,"data:")||!or[kr])&&(!lo||se(Et,ue(ut,$t,"")))&&ut)return!1}return!0},Ns=function(kr){var Ki=void 0,ut=void 0,pn=void 0,te=void 0;Gs("beforeSanitizeAttributes",kr,null);var Ue=kr.attributes;if(Ue){var jt={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:yn};for(te=Ue.length;te--;){var ii=(Ki=Ue[te]).name,Oi=Ki.namespaceURI;if(ut=H(Ki.value),pn=ds(ii),jt.attrName=pn,jt.attrValue=ut,jt.keepAttr=!0,jt.forceKeepAttr=void 0,Gs("uponSanitizeAttribute",kr,jt),ut=jt.attrValue,!jt.forceKeepAttr&&(Wo(ii,kr),jt.keepAttr)){if(se(/\/>/i,ut)){Wo(ii,kr);continue}Ri&&(ut=ue(ut,Lr," "),ut=ue(ut,ti," "));var ki=ds(kr.nodeName);if(To(ki,pn,ut))try{Oi?kr.setAttributeNS(Oi,ii,ut):kr.setAttribute(ii,ut),U(Hn.removed)}catch(_s){}}}Gs("afterSanitizeAttributes",kr,null)}},hs=function Oo(kr){var Ki=void 0,ut=Wa(kr);for(Gs("beforeSanitizeShadowDOM",kr,null);Ki=ut.nextNode();)Gs("uponSanitizeShadowNode",Ki,null),!$o(Ki)&&(Ki.content instanceof ei&&Oo(Ki.content),Ns(Ki));Gs("afterSanitizeShadowDOM",kr,null)};return Hn.sanitize=function(Oo,kr){var Ki=void 0,ut=void 0,pn=void 0,te=void 0,Ue=void 0;if((ro=!Oo)&&(Oo="\x3c!--\x3e"),"string"!=typeof Oo&&!nl(Oo)){if("function"!=typeof Oo.toString)throw ae("toString is not a function");if("string"!=typeof(Oo=Oo.toString()))throw ae("dirty is not a string, aborting")}if(!Hn.isSupported){if("object"===Fn(Ur.toStaticHTML)||"function"==typeof Ur.toStaticHTML){if("string"==typeof Oo)return Ur.toStaticHTML(Oo);if(nl(Oo))return Ur.toStaticHTML(Oo.outerHTML)}return Oo}if(Xo||ya(kr),Hn.removed=[],"string"==typeof Oo&&(Eo=!1),!Eo)if(Oo instanceof fi)1===(ut=(Ki=ys("\x3c!----\x3e")).ownerDocument.importNode(Oo,!0)).nodeType&&"BODY"===ut.nodeName||"HTML"===ut.nodeName?Ki=ut:Ki.appendChild(ut);else{if(!si&&!Ri&&!ko&&-1===Oo.indexOf("<"))return Rn&&jr?Rn.createHTML(Oo):Oo;if(!(Ki=ys(Oo)))return si?null:Wn}Ki&&ir&&yl(Ki.firstChild);for(var jt=Wa(Eo?Oo:Ki);pn=jt.nextNode();)3===pn.nodeType&&pn===te||$o(pn)||(pn.content instanceof ei&&hs(pn.content),Ns(pn),te=pn);if(te=null,Eo)return Oo;if(si){if(kn)for(Ue=Se.call(Ki.ownerDocument);Ki.firstChild;)Ue.appendChild(Ki.firstChild);else Ue=Ki;return nr&&(Ue=st.call(er,Ue,!0)),Ue}var hn=ko?Ki.outerHTML:Ki.innerHTML;return Ri&&(hn=ue(hn,Lr," "),hn=ue(hn,ti," ")),Rn&&jr?Rn.createHTML(hn):hn},Hn.setConfig=function(Oo){ya(Oo),Xo=!0},Hn.clearConfig=function(){es=null,Xo=!1},Hn.isValidAttribute=function(Oo,kr,Ki){es||ya({});var ut=ds(Oo),pn=ds(kr);return To(ut,pn,Ki)},Hn.addHook=function(Oo,kr){"function"==typeof kr&&(Fe[Oo]=Fe[Oo]||[],W(Fe[Oo],kr))},Hn.removeHook=function(Oo){Fe[Oo]&&U(Fe[Oo])},Hn.removeHooks=function(Oo){Fe[Oo]&&(Fe[Oo]=[])},Hn.removeAllHooks=function(){Fe={}},Hn}()}()},32582:v=>{"use strict";class b{constructor(a,f){this.low=a,this.high=f,this.length=1+f-a}overlaps(a){return!(this.high<a.low||this.low>a.high)}touches(a){return!(this.high+1<a.low||this.low-1>a.high)}add(a){return new b(Math.min(this.low,a.low),Math.max(this.high,a.high))}subtract(a){return a.low<=this.low&&a.high>=this.high?[]:a.low>this.low&&a.high<this.high?[new b(this.low,a.low-1),new b(a.high+1,this.high)]:a.low<=this.low?[new b(a.high+1,this.high)]:[new b(this.low,a.low-1)]}toString(){return this.low==this.high?this.low.toString():this.low+"-"+this.high}}class i{constructor(a,f){this.ranges=[],this.length=0,null!=a&&this.add(a,f)}_update_length(){this.length=this.ranges.reduce((a,f)=>a+f.length,0)}add(a,f){var u=e=>{for(var p=0;p<this.ranges.length&&!e.touches(this.ranges[p]);)p++;for(var g=this.ranges.slice(0,p);p<this.ranges.length&&e.touches(this.ranges[p]);)e=e.add(this.ranges[p]),p++;g.push(e),this.ranges=g.concat(this.ranges.slice(p)),this._update_length()};return a instanceof i?a.ranges.forEach(u):(null==f&&(f=a),u(new b(a,f))),this}subtract(a,f){var u=e=>{for(var p=0;p<this.ranges.length&&!e.overlaps(this.ranges[p]);)p++;for(var g=this.ranges.slice(0,p);p<this.ranges.length&&e.overlaps(this.ranges[p]);)g=g.concat(this.ranges[p].subtract(e)),p++;this.ranges=g.concat(this.ranges.slice(p)),this._update_length()};return a instanceof i?a.ranges.forEach(u):(null==f&&(f=a),u(new b(a,f))),this}intersect(a,f){var u=[],e=p=>{for(var g=0;g<this.ranges.length&&!p.overlaps(this.ranges[g]);)g++;for(;g<this.ranges.length&&p.overlaps(this.ranges[g]);){var T=Math.max(this.ranges[g].low,p.low),M=Math.min(this.ranges[g].high,p.high);u.push(new b(T,M)),g++}};return a instanceof i?a.ranges.forEach(e):(null==f&&(f=a),e(new b(a,f))),this.ranges=u,this._update_length(),this}index(a){for(var f=0;f<this.ranges.length&&this.ranges[f].length<=a;)a-=this.ranges[f].length,f++;return this.ranges[f].low+a}toString(){return"[ "+this.ranges.join(", ")+" ]"}clone(){return new i(this)}numbers(){return this.ranges.reduce((a,f)=>{for(var u=f.low;u<=f.high;)a.push(u),u++;return a},[])}subranges(){return this.ranges.map(a=>({low:a.low,high:a.high,length:1+a.high-a.low}))}}v.exports=i},11926:(v,b,i)=>{"use strict";var r=i(88430),a=f(Error);function f(u){return e.displayName=u.displayName||u.name,e;function e(p){return p&&(p=r.apply(null,arguments)),new u(p)}}v.exports=a,a.eval=f(EvalError),a.range=f(RangeError),a.reference=f(ReferenceError),a.syntax=f(SyntaxError),a.type=f(TypeError),a.uri=f(URIError),a.create=f},49457:function(v,b){var a;void 0!==(a=function(){"use strict";function u(M,w,R){var U=new XMLHttpRequest;U.open("GET",M),U.responseType="blob",U.onload=function(){T(U.response,w,R)},U.onerror=function(){console.error("could not download file")},U.send()}function e(M){var w=new XMLHttpRequest;w.open("HEAD",M,!1);try{w.send()}catch(R){}return 200<=w.status&&299>=w.status}function p(M){try{M.dispatchEvent(new MouseEvent("click"))}catch(R){var w=document.createEvent("MouseEvents");w.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),M.dispatchEvent(w)}}var g="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,T=g.saveAs||("object"!=typeof window||window!==g?function(){}:"download"in HTMLAnchorElement.prototype?function(M,w,R){var U=g.URL||g.webkitURL,W=document.createElement("a");W.download=w=w||M.name||"download",W.rel="noopener","string"==typeof M?(W.href=M,W.origin===location.origin?p(W):e(W.href)?u(M,w,R):p(W,W.target="_blank")):(W.href=U.createObjectURL(M),setTimeout(function(){U.revokeObjectURL(W.href)},4e4),setTimeout(function(){p(W)},0))}:"msSaveOrOpenBlob"in navigator?function(M,w,R){if(w=w||M.name||"download","string"!=typeof M)navigator.msSaveOrOpenBlob(function f(M,w){return void 0===w?w={autoBom:!1}:"object"!=typeof w&&(console.warn("Deprecated: Expected third argument to be a object"),w={autoBom:!w}),w.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(M.type)?new Blob(["\ufeff",M],{type:M.type}):M}(M,R),w);else if(e(M))u(M,w,R);else{var U=document.createElement("a");U.href=M,U.target="_blank",setTimeout(function(){p(U)})}}:function(M,w,R,U){if((U=U||open("","_blank"))&&(U.document.title=U.document.body.innerText="downloading..."),"string"==typeof M)return u(M,w,R);var W="application/octet-stream"===M.type,j=/constructor/i.test(g.HTMLElement)||g.safari,q=/CriOS\/[\d]+/.test(navigator.userAgent);if((q||W&&j)&&"object"==typeof FileReader){var ue=new FileReader;ue.onloadend=function(){var se=ue.result;se=q?se:se.replace(/^data:[^;]*;/,"data:attachment/file;"),U?U.location.href=se:location=se,U=null},ue.readAsDataURL(M)}else{var re=g.URL||g.webkitURL,H=re.createObjectURL(M);U?U.location=H:location.href=H,U=null,setTimeout(function(){re.revokeObjectURL(H)},4e4)}});g.saveAs=T.saveAs=T,v.exports=T}.apply(b,[]))&&(v.exports=a)},88430:v=>{!function(){var b;function a(f){for(var M,R,U,j,u=1,e=[].slice.call(arguments),p=0,g=f.length,T="",w=!1,W=!1,q=function(){return e[u++]},ue=function(){for(var re="";/\d/.test(f[p]);)re+=f[p++],M=f[p];return re.length>0?parseInt(re):null};p<g;++p)if(M=f[p],w)switch(w=!1,"."==M?(W=!1,M=f[++p]):"0"==M&&"."==f[p+1]?(W=!0,p+=2,M=f[p]):W=!0,j=ue(),M){case"b":T+=parseInt(q(),10).toString(2);break;case"c":T+="string"==typeof(R=q())||R instanceof String?R:String.fromCharCode(parseInt(R,10));break;case"d":T+=parseInt(q(),10);break;case"f":U=String(parseFloat(q()).toFixed(j||6)),T+=W?U:U.replace(/^0/,"");break;case"j":T+=JSON.stringify(q());break;case"o":T+="0"+parseInt(q(),10).toString(8);break;case"s":T+=q();break;case"x":T+="0x"+parseInt(q(),10).toString(16);break;case"X":T+="0x"+parseInt(q(),10).toString(16).toUpperCase();break;default:T+=M}else"%"===M?w=!0:T+=M;return T}(b=v.exports=a).format=a,b.vsprintf=function r(f,u){return a.apply(null,[f].concat(u))},"undefined"!=typeof console&&"function"==typeof console.log&&(b.printf=function i(){console.log(a.apply(null,arguments))})}()},31609:v=>{"use strict";var b="Function.prototype.bind called on incompatible ",i=Array.prototype.slice,r=Object.prototype.toString,a="[object Function]";v.exports=function(u){var e=this;if("function"!=typeof e||r.call(e)!==a)throw new TypeError(b+e);for(var g,p=i.call(arguments,1),T=function(){if(this instanceof g){var W=e.apply(this,p.concat(i.call(arguments)));return Object(W)===W?W:this}return e.apply(u,p.concat(i.call(arguments)))},M=Math.max(0,e.length-p.length),w=[],R=0;R<M;R++)w.push("$"+R);if(g=Function("binder","return function ("+w.join(",")+"){ return binder.apply(this,arguments); }")(T),e.prototype){var U=function(){};U.prototype=e.prototype,g.prototype=new U,U.prototype=null}return g}},75396:(v,b,i)=>{"use strict";var r=i(31609);v.exports=Function.prototype.bind||r},18540:(v,b,i)=>{"use strict";var r,a=SyntaxError,f=Function,u=TypeError,e=function(He){try{return f('"use strict"; return ('+He+").constructor;")()}catch(Pe){}},p=Object.getOwnPropertyDescriptor;if(p)try{p({},"")}catch(He){p=null}var g=function(){throw new u},T=p?function(){try{return g}catch(He){try{return p(arguments,"callee").get}catch(Pe){return g}}}():g,M=i(59326)(),w=i(41606)(),R=Object.getPrototypeOf||(w?function(He){return He.__proto__}:null),U={},W="undefined"!=typeof Uint8Array&&R?R(Uint8Array):r,j={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":M&&R?R([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":U,"%AsyncGenerator%":U,"%AsyncGeneratorFunction%":U,"%AsyncIteratorPrototype%":U,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":f,"%GeneratorFunction%":U,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":M&&R?R(R([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&M&&R?R((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&M&&R?R((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":M&&R?R(""[Symbol.iterator]()):r,"%Symbol%":M?Symbol:r,"%SyntaxError%":a,"%ThrowTypeError%":T,"%TypedArray%":W,"%TypeError%":u,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet};if(R)try{null.error}catch(He){var q=R(R(He));j["%Error.prototype%"]=q}var ue=function He(Pe){var Ge;if("%AsyncFunction%"===Pe)Ge=e("async function () {}");else if("%GeneratorFunction%"===Pe)Ge=e("function* () {}");else if("%AsyncGeneratorFunction%"===Pe)Ge=e("async function* () {}");else if("%AsyncGenerator%"===Pe){var Oe=He("%AsyncGeneratorFunction%");Oe&&(Ge=Oe.prototype)}else if("%AsyncIteratorPrototype%"===Pe){var Tt=He("%AsyncGenerator%");Tt&&R&&(Ge=R(Tt.prototype))}return j[Pe]=Ge,Ge},re={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},H=i(75396),se=i(57709),ae=H.call(Function.call,Array.prototype.concat),ie=H.call(Function.apply,Array.prototype.splice),fe=H.call(Function.call,String.prototype.replace),_e=H.call(Function.call,String.prototype.slice),Ce=H.call(Function.call,RegExp.prototype.exec),ce=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Be=/\\(\\)?/g,Ve=function(Pe){var Ge=_e(Pe,0,1),Oe=_e(Pe,-1);if("%"===Ge&&"%"!==Oe)throw new a("invalid intrinsic syntax, expected closing `%`");if("%"===Oe&&"%"!==Ge)throw new a("invalid intrinsic syntax, expected opening `%`");var Tt=[];return fe(Pe,ce,function(We,Qt,Nt,Yt){Tt[Tt.length]=Nt?fe(Yt,Be,"$1"):Qt||We}),Tt},Xe=function(Pe,Ge){var Tt,Oe=Pe;if(se(re,Oe)&&(Oe="%"+(Tt=re[Oe])[0]+"%"),se(j,Oe)){var We=j[Oe];if(We===U&&(We=ue(Oe)),void 0===We&&!Ge)throw new u("intrinsic "+Pe+" exists, but is not available. Please file an issue!");return{alias:Tt,name:Oe,value:We}}throw new a("intrinsic "+Pe+" does not exist!")};v.exports=function(Pe,Ge){if("string"!=typeof Pe||0===Pe.length)throw new u("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof Ge)throw new u('"allowMissing" argument must be a boolean');if(null===Ce(/^%?[^%]*%?$/,Pe))throw new a("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Oe=Ve(Pe),Tt=Oe.length>0?Oe[0]:"",We=Xe("%"+Tt+"%",Ge),Qt=We.name,Nt=We.value,Yt=!1,dn=We.alias;dn&&(Tt=dn[0],ie(Oe,ae([0,1],dn)));for(var rn=1,vt=!0;rn<Oe.length;rn+=1){var xt=Oe[rn],Ct=_e(xt,0,1),Gt=_e(xt,-1);if(('"'===Ct||"'"===Ct||"`"===Ct||'"'===Gt||"'"===Gt||"`"===Gt)&&Ct!==Gt)throw new a("property names with quotes must have matching quotes");if(("constructor"===xt||!vt)&&(Yt=!0),se(j,Qt="%"+(Tt+="."+xt)+"%"))Nt=j[Qt];else if(null!=Nt){if(!(xt in Nt)){if(!Ge)throw new u("base intrinsic for "+Pe+" exists, but the property is not available.");return}if(p&&rn+1>=Oe.length){var Fn=p(Nt,xt);Nt=(vt=!!Fn)&&"get"in Fn&&!("originalValue"in Fn.get)?Fn.get:Nt[xt]}else vt=se(Nt,xt),Nt=Nt[xt];vt&&!Yt&&(j[Qt]=Nt)}}return Nt}},41606:v=>{"use strict";var b={foo:{}},i=Object;v.exports=function(){return{__proto__:b}.foo===b.foo&&!({__proto__:null}instanceof i)}},59326:(v,b,i)=>{"use strict";var r="undefined"!=typeof Symbol&&Symbol,a=i(79045);v.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&a()}},79045:v=>{"use strict";v.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var i={},r=Symbol("test"),a=Object(r);if("string"==typeof r||"[object Symbol]"!==Object.prototype.toString.call(r)||"[object Symbol]"!==Object.prototype.toString.call(a))return!1;for(r in i[r]=42,i)return!1;if("function"==typeof Object.keys&&0!==Object.keys(i).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(i).length)return!1;var u=Object.getOwnPropertySymbols(i);if(1!==u.length||u[0]!==r||!Object.prototype.propertyIsEnumerable.call(i,r))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var e=Object.getOwnPropertyDescriptor(i,r);if(42!==e.value||!0!==e.enumerable)return!1}return!0}},57709:(v,b,i)=>{"use strict";var r=i(75396);v.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},7856:v=>{function b(et){return et instanceof Map?et.clear=et.delete=et.set=function(){throw new Error("map is read-only")}:et instanceof Set&&(et.add=et.clear=et.delete=function(){throw new Error("set is read-only")}),Object.freeze(et),Object.getOwnPropertyNames(et).forEach(function(Le){var Re=et[Le];"object"==typeof Re&&!Object.isFrozen(Re)&&b(Re)}),et}var i=b;i.default=b;class a{constructor(Le){void 0===Le.data&&(Le.data={}),this.data=Le.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function f(et){return et.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function u(et,...Le){const Re=Object.create(null);for(const Se in et)Re[Se]=et[Se];return Le.forEach(function(Se){for(const dt in Se)Re[dt]=Se[dt]}),Re}const p=et=>!!et.kind;class g{constructor(Le,Re){this.buffer="",this.classPrefix=Re.classPrefix,Le.walk(this)}addText(Le){this.buffer+=f(Le)}openNode(Le){if(!p(Le))return;let Re=Le.kind;Le.sublanguage||(Re=`${this.classPrefix}${Re}`),this.span(Re)}closeNode(Le){!p(Le)||(this.buffer+="</span>")}value(){return this.buffer}span(Le){this.buffer+=`<span class="${Le}">`}}class T{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(Le){this.top.children.push(Le)}openNode(Le){const Re={kind:Le,children:[]};this.add(Re),this.stack.push(Re)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(Le){return this.constructor._walk(Le,this.rootNode)}static _walk(Le,Re){return"string"==typeof Re?Le.addText(Re):Re.children&&(Le.openNode(Re),Re.children.forEach(Se=>this._walk(Le,Se)),Le.closeNode(Re)),Le}static _collapse(Le){"string"!=typeof Le&&(!Le.children||(Le.children.every(Re=>"string"==typeof Re)?Le.children=[Le.children.join("")]:Le.children.forEach(Re=>{T._collapse(Re)})))}}class M extends T{constructor(Le){super(),this.options=Le}addKeyword(Le,Re){""!==Le&&(this.openNode(Re),this.addText(Le),this.closeNode())}addText(Le){""!==Le&&this.add(Le)}addSublanguage(Le,Re){const Se=Le.root;Se.kind=Re,Se.sublanguage=!0,this.add(Se)}toHTML(){return new g(this,this.options).value()}finalize(){return!0}}function R(et){return et?"string"==typeof et?et:et.source:null}const ue=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./,se="[a-zA-Z]\\w*",ae="[a-zA-Z_]\\w*",ie="\\b\\d+(\\.\\d+)?",fe="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",_e="\\b(0b[01]+)",Be={begin:"\\\\[\\s\\S]",relevance:0},Ve={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[Be]},Xe={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[Be]},He={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},Pe=function(et,Le,Re={}){const Se=u({className:"comment",begin:et,end:Le,contains:[]},Re);return Se.contains.push(He),Se.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),Se},Ge=Pe("//","$"),Oe=Pe("/\\*","\\*/"),Tt=Pe("#","$");var Gt=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:se,UNDERSCORE_IDENT_RE:ae,NUMBER_RE:ie,C_NUMBER_RE:fe,BINARY_NUMBER_RE:_e,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(et={})=>{const Le=/^#![ ]*\//;return et.binary&&(et.begin=function U(...et){return et.map(Re=>R(Re)).join("")}(Le,/.*\b/,et.binary,/\b.*/)),u({className:"meta",begin:Le,end:/$/,relevance:0,"on:begin":(Re,Se)=>{0!==Re.index&&Se.ignoreMatch()}},et)},BACKSLASH_ESCAPE:Be,APOS_STRING_MODE:Ve,QUOTE_STRING_MODE:Xe,PHRASAL_WORDS_MODE:He,COMMENT:Pe,C_LINE_COMMENT_MODE:Ge,C_BLOCK_COMMENT_MODE:Oe,HASH_COMMENT_MODE:Tt,NUMBER_MODE:{className:"number",begin:ie,relevance:0},C_NUMBER_MODE:{className:"number",begin:fe,relevance:0},BINARY_NUMBER_MODE:{className:"number",begin:_e,relevance:0},CSS_NUMBER_MODE:{className:"number",begin:ie+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},REGEXP_MODE:{begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[Be,{begin:/\[/,end:/\]/,relevance:0,contains:[Be]}]}]},TITLE_MODE:{className:"title",begin:se,relevance:0},UNDERSCORE_TITLE_MODE:{className:"title",begin:ae,relevance:0},METHOD_GUARD:{begin:"\\.\\s*"+ae,relevance:0},END_SAME_AS_BEGIN:function(et){return Object.assign(et,{"on:begin":(Le,Re)=>{Re.data._beginMatch=Le[1]},"on:end":(Le,Re)=>{Re.data._beginMatch!==Le[1]&&Re.ignoreMatch()}})}});function Fn(et,Le){"."===et.input[et.index-1]&&Le.ignoreMatch()}function pr(et,Le){!Le||!et.beginKeywords||(et.begin="\\b("+et.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",et.__beforeBegin=Fn,et.keywords=et.keywords||et.beginKeywords,delete et.beginKeywords,void 0===et.relevance&&(et.relevance=0))}function mi(et,Le){!Array.isArray(et.illegal)||(et.illegal=function W(...et){return"("+et.map(Re=>R(Re)).join("|")+")"}(...et.illegal))}function ci(et,Le){if(et.match){if(et.begin||et.end)throw new Error("begin & end are not supported with match");et.begin=et.match,delete et.match}}function hr(et,Le){void 0===et.relevance&&(et.relevance=1)}const Br=["of","and","for","in","not","or","if","then","parent","list","value"];function Hn(et,Le,Re="keyword"){const Se={};return"string"==typeof et?dt(Re,et.split(" ")):Array.isArray(et)?dt(Re,et):Object.keys(et).forEach(function(st){Object.assign(Se,Hn(et[st],Le,st))}),Se;function dt(st,nn){Le&&(nn=nn.map(Fe=>Fe.toLowerCase())),nn.forEach(function(Fe){const Lr=Fe.split("|");Se[Lr[0]]=[st,er(Lr[0],Lr[1])]})}}function er(et,Le){return Le?Number(Le):function _r(et){return Br.includes(et.toLowerCase())}(et)?0:1}function ei(et,{}){function Re(Fe,Lr){return new RegExp(R(Fe),"m"+(et.case_insensitive?"i":"")+(Lr?"g":""))}class Se{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(Lr,ti){ti.position=this.position++,this.matchIndexes[this.matchAt]=ti,this.regexes.push([ti,Lr]),this.matchAt+=function j(et){return new RegExp(et.toString()+"|").exec("").length-1}(Lr)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const Lr=this.regexes.map(ti=>ti[1]);this.matcherRe=Re(function re(et,Le="|"){let Re=0;return et.map(Se=>{Re+=1;const dt=Re;let st=R(Se),nn="";for(;st.length>0;){const Fe=ue.exec(st);if(!Fe){nn+=st;break}nn+=st.substring(0,Fe.index),st=st.substring(Fe.index+Fe[0].length),"\\"===Fe[0][0]&&Fe[1]?nn+="\\"+String(Number(Fe[1])+dt):(nn+=Fe[0],"("===Fe[0]&&Re++)}return nn}).map(Se=>`(${Se})`).join(Le)}(Lr),!0),this.lastIndex=0}exec(Lr){this.matcherRe.lastIndex=this.lastIndex;const ti=this.matcherRe.exec(Lr);if(!ti)return null;const Ut=ti.findIndex((Et,$t)=>$t>0&&void 0!==Et),Dn=this.matchIndexes[Ut];return ti.splice(0,Ut),Object.assign(ti,Dn)}}class dt{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(Lr){if(this.multiRegexes[Lr])return this.multiRegexes[Lr];const ti=new Se;return this.rules.slice(Lr).forEach(([Ut,Dn])=>ti.addRule(Ut,Dn)),ti.compile(),this.multiRegexes[Lr]=ti,ti}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(Lr,ti){this.rules.push([Lr,ti]),"begin"===ti.type&&this.count++}exec(Lr){const ti=this.getMatcher(this.regexIndex);ti.lastIndex=this.lastIndex;let Ut=ti.exec(Lr);if(this.resumingScanAtSamePosition()&&(!Ut||Ut.index!==this.lastIndex)){const Dn=this.getMatcher(0);Dn.lastIndex=this.lastIndex+1,Ut=Dn.exec(Lr)}return Ut&&(this.regexIndex+=Ut.position+1,this.regexIndex===this.count&&this.considerAll()),Ut}}if(et.compilerExtensions||(et.compilerExtensions=[]),et.contains&&et.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language.  See documentation.");return et.classNameAliases=u(et.classNameAliases||{}),function nn(Fe,Lr){const ti=Fe;if(Fe.isCompiled)return ti;[ci].forEach(Dn=>Dn(Fe,Lr)),et.compilerExtensions.forEach(Dn=>Dn(Fe,Lr)),Fe.__beforeBegin=null,[pr,mi,hr].forEach(Dn=>Dn(Fe,Lr)),Fe.isCompiled=!0;let Ut=null;if("object"==typeof Fe.keywords&&(Ut=Fe.keywords.$pattern,delete Fe.keywords.$pattern),Fe.keywords&&(Fe.keywords=Hn(Fe.keywords,et.case_insensitive)),Fe.lexemes&&Ut)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return Ut=Ut||Fe.lexemes||/\w+/,ti.keywordPatternRe=Re(Ut,!0),Lr&&(Fe.begin||(Fe.begin=/\B|\b/),ti.beginRe=Re(Fe.begin),Fe.endSameAsBegin&&(Fe.end=Fe.begin),!Fe.end&&!Fe.endsWithParent&&(Fe.end=/\B|\b/),Fe.end&&(ti.endRe=Re(Fe.end)),ti.terminatorEnd=R(Fe.end)||"",Fe.endsWithParent&&Lr.terminatorEnd&&(ti.terminatorEnd+=(Fe.end?"|":"")+Lr.terminatorEnd)),Fe.illegal&&(ti.illegalRe=Re(Fe.illegal)),Fe.contains||(Fe.contains=[]),Fe.contains=[].concat(...Fe.contains.map(function(Dn){return function fi(et){return et.variants&&!et.cachedVariants&&(et.cachedVariants=et.variants.map(function(Le){return u(et,{variants:null},Le)})),et.cachedVariants?et.cachedVariants:bi(et)?u(et,{starts:et.starts?u(et.starts):null}):Object.isFrozen(et)?u(et):et}("self"===Dn?Fe:Dn)})),Fe.contains.forEach(function(Dn){nn(Dn,ti)}),Fe.starts&&nn(Fe.starts,Lr),ti.matcher=function st(Fe){const Lr=new dt;return Fe.contains.forEach(ti=>Lr.addRule(ti.begin,{rule:ti,type:"begin"})),Fe.terminatorEnd&&Lr.addRule(Fe.terminatorEnd,{type:"end"}),Fe.illegal&&Lr.addRule(Fe.illegal,{type:"illegal"}),Lr}(ti),ti}(et)}function bi(et){return!!et&&(et.endsWithParent||bi(et.starts))}function Er(et){const Le={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!et.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,f(this.code);let Se={};return this.autoDetect?(Se=et.highlightAuto(this.code),this.detectedLanguage=Se.language):(Se=et.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),Se.value},autoDetect(){return!this.language||function xo(et){return Boolean(et||""===et)}(this.autodetect)},ignoreIllegals:()=>!0},render(Se){return Se("pre",{},[Se("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:Le,VuePlugin:{install(Se){Se.component("highlightjs",Le)}}}}const an={"after:highlightElement":({el:et,result:Le,text:Re})=>{const Se=Zn(et);if(!Se.length)return;const dt=document.createElement("div");dt.innerHTML=Le.value,Le.value=function Xn(et,Le,Re){let Se=0,dt="";const st=[];function nn(){return et.length&&Le.length?et[0].offset!==Le[0].offset?et[0].offset<Le[0].offset?et:Le:"start"===Le[0].event?et:Le:et.length?et:Le}function Fe(Ut){dt+="<"+vn(Ut)+[].map.call(Ut.attributes,function Dn(Et){return" "+Et.nodeName+'="'+f(Et.value)+'"'}).join("")+">"}function Lr(Ut){dt+="</"+vn(Ut)+">"}function ti(Ut){("start"===Ut.event?Fe:Lr)(Ut.node)}for(;et.length||Le.length;){let Ut=nn();if(dt+=f(Re.substring(Se,Ut[0].offset)),Se=Ut[0].offset,Ut===et){st.reverse().forEach(Lr);do{ti(Ut.splice(0,1)[0]),Ut=nn()}while(Ut===et&&Ut.length&&Ut[0].offset===Se);st.reverse().forEach(Fe)}else"start"===Ut[0].event?st.push(Ut[0].node):st.pop(),ti(Ut.splice(0,1)[0])}return dt+f(Re.substr(Se))}(Se,Zn(dt),Re)}};function vn(et){return et.nodeName.toLowerCase()}function Zn(et){const Le=[];return function Re(Se,dt){for(let st=Se.firstChild;st;st=st.nextSibling)3===st.nodeType?dt+=st.nodeValue.length:1===st.nodeType&&(Le.push({event:"start",offset:dt,node:st}),dt=Re(st,dt),vn(st).match(/br|hr|img|input/)||Le.push({event:"stop",offset:dt,node:st}));return dt}(et,0),Le}const zn={},ri=et=>{console.error(et)},Gi=(et,...Le)=>{console.log(`WARN: ${et}`,...Le)},ui=(et,Le)=>{zn[`${et}/${Le}`]||(console.log(`Deprecated as of ${et}. ${Le}`),zn[`${et}/${Le}`]=!0)},vr=f,Ji=u,mn=Symbol("nomatch");var Wn=function(et){const Le=Object.create(null),Re=Object.create(null),Se=[];let dt=!0;const st=/(^(<[^>]+>|\t|)+|\n)/gm,nn="Could not find the language '{}', did you forget to load/include a language module?",Fe={disableAutodetect:!0,name:"Plain text",contains:[]};let Lr={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:M};function ti(Mr){return Lr.noHighlightRe.test(Mr)}function Dn(Mr,Or,cr,pi){let Sn="",$n="";"object"==typeof Or?(Sn=Mr,cr=Or.ignoreIllegals,$n=Or.language,pi=void 0):(ui("10.7.0","highlight(lang, code, ...args) has been deprecated."),ui("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),$n=Mr,Sn=Or);const Jr={code:Sn,language:$n};Go("before:highlight",Jr);const ro=Jr.result?Jr.result:Et(Jr.language,Jr.code,cr,pi);return ro.code=Jr.code,Go("after:highlight",ro),ro}function Et(Mr,Or,cr,pi){function Sn($o,To){const Ns=sa.case_insensitive?To[0].toLowerCase():To[0];return Object.prototype.hasOwnProperty.call($o.keywords,Ns)&&$o.keywords[Ns]}function ro(){null!=Co.subLanguage?function Jr(){if(""===ys)return;let $o=null;if("string"==typeof Co.subLanguage){if(!Le[Co.subLanguage])return void Wo.addText(ys);$o=Et(Co.subLanguage,ys,!0,yl[Co.subLanguage]),yl[Co.subLanguage]=$o.top}else $o=_t(ys,Co.subLanguage.length?Co.subLanguage:null);Co.relevance>0&&(Wa+=$o.relevance),Wo.addSublanguage($o.emitter,$o.language)}():function $n(){if(!Co.keywords)return void Wo.addText(ys);let $o=0;Co.keywordPatternRe.lastIndex=0;let To=Co.keywordPatternRe.exec(ys),Ns="";for(;To;){Ns+=ys.substring($o,To.index);const hs=Sn(Co,To);if(hs){const[Oo,kr]=hs;Wo.addText(Ns),Ns="",Wa+=kr,Oo.startsWith("_")?Ns+=To[0]:Wo.addKeyword(To[0],sa.classNameAliases[Oo]||Oo)}else Ns+=To[0];$o=Co.keywordPatternRe.lastIndex,To=Co.keywordPatternRe.exec(ys)}Ns+=ys.substr($o),Wo.addText(Ns)}(),ys=""}function go($o){return $o.className&&Wo.openNode(sa.classNameAliases[$o.className]||$o.className),Co=Object.create($o,{parent:{value:Co}}),Co}function Ro($o,To,Ns){let hs=function q(et,Le){const Re=et&&et.exec(Le);return Re&&0===Re.index}($o.endRe,Ns);if(hs){if($o["on:end"]){const Oo=new a($o);$o["on:end"](To,Oo),Oo.isMatchIgnored&&(hs=!1)}if(hs){for(;$o.endsParent&&$o.parent;)$o=$o.parent;return $o}}if($o.endsWithParent)return Ro($o.parent,To,Ns)}function js($o){return 0===Co.matcher.regexIndex?(ys+=$o[0],1):(Gs=!0,0)}function es($o){const To=$o[0],Ns=Or.substr($o.index),hs=Ro(Co,$o,Ns);if(!hs)return mn;const Oo=Co;Oo.skip?ys+=To:(Oo.returnEnd||Oo.excludeEnd||(ys+=To),ro(),Oo.excludeEnd&&(ys=To));do{Co.className&&Wo.closeNode(),!Co.skip&&!Co.subLanguage&&(Wa+=Co.relevance),Co=Co.parent}while(Co!==hs.parent);return hs.starts&&(hs.endSameAsBegin&&(hs.starts.endRe=hs.endRe),go(hs.starts)),Oo.returnEnd?0:To.length}let ya={};function fa($o,To){const Ns=To&&To[0];if(ys+=$o,null==Ns)return ro(),0;if("begin"===ya.type&&"end"===To.type&&ya.index===To.index&&""===Ns){if(ys+=Or.slice(To.index,To.index+1),!dt){const hs=new Error("0 width match regex");throw hs.languageName=Mr,hs.badRule=ya.rule,hs}return 1}if(ya=To,"begin"===To.type)return function ds($o){const To=$o[0],Ns=$o.rule,hs=new a(Ns),Oo=[Ns.__beforeBegin,Ns["on:begin"]];for(const kr of Oo)if(kr&&(kr($o,hs),hs.isMatchIgnored))return js(To);return Ns&&Ns.endSameAsBegin&&(Ns.endRe=function w(et){return new RegExp(et.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}(To)),Ns.skip?ys+=To:(Ns.excludeBegin&&(ys+=To),ro(),!Ns.returnBegin&&!Ns.excludeBegin&&(ys=To)),go(Ns),Ns.returnBegin?0:To.length}(To);if("illegal"===To.type&&!cr){const hs=new Error('Illegal lexeme "'+Ns+'" for mode "'+(Co.className||"<unnamed>")+'"');throw hs.mode=Co,hs}if("end"===To.type){const hs=es(To);if(hs!==mn)return hs}if("illegal"===To.type&&""===Ns)return 1;if(nl>1e5&&nl>3*To.index)throw new Error("potential infinite loop, way more iterations than matches");return ys+=Ns,Ns.length}const sa=jr(Mr);if(!sa)throw ri(nn.replace("{}",Mr)),new Error('Unknown language: "'+Mr+'"');const Ra=ei(sa,{plugins:Se});let pl="",Co=pi||Ra;const yl={},Wo=new Lr.__emitter(Lr);!function ma(){const $o=[];for(let To=Co;To!==sa;To=To.parent)To.className&&$o.unshift(To.className);$o.forEach(To=>Wo.openNode(To))}();let ys="",Wa=0,Is=0,nl=0,Gs=!1;try{for(Co.matcher.considerAll();;){nl++,Gs?Gs=!1:Co.matcher.considerAll(),Co.matcher.lastIndex=Is;const $o=Co.matcher.exec(Or);if(!$o)break;const Ns=fa(Or.substring(Is,$o.index),$o);Is=$o.index+Ns}return fa(Or.substr(Is)),Wo.closeAllNodes(),Wo.finalize(),pl=Wo.toHTML(),{relevance:Math.floor(Wa),value:pl,language:Mr,illegal:!1,emitter:Wo,top:Co}}catch($o){if($o.message&&$o.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:$o.message,context:Or.slice(Is-100,Is+100),mode:$o.mode},sofar:pl,relevance:0,value:vr(Or),emitter:Wo};if(dt)return{illegal:!1,relevance:0,value:vr(Or),emitter:Wo,language:Mr,top:Co,errorRaised:$o};throw $o}}function _t(Mr,Or){Or=Or||Lr.languages||Object.keys(Le);const cr=function $t(Mr){const Or={relevance:0,emitter:new Lr.__emitter(Lr),value:vr(Mr),illegal:!1,top:Fe};return Or.emitter.addText(Mr),Or}(Mr),pi=Or.filter(jr).filter($i).map(go=>Et(go,Mr,!1));pi.unshift(cr);const Sn=pi.sort((go,Ro)=>{if(go.relevance!==Ro.relevance)return Ro.relevance-go.relevance;if(go.language&&Ro.language){if(jr(go.language).supersetOf===Ro.language)return 1;if(jr(Ro.language).supersetOf===go.language)return-1}return 0}),[$n,Jr]=Sn,ro=$n;return ro.second_best=Jr,ro}const yn={"before:highlightElement":({el:Mr})=>{Lr.useBR&&(Mr.innerHTML=Mr.innerHTML.replace(/\n/g,"").replace(/<br[ /]*>/g,"\n"))},"after:highlightElement":({result:Mr})=>{Lr.useBR&&(Mr.value=Mr.value.replace(/\n/g,"<br>"))}},Cr=/^(<[^>]+>|\t)+/gm,xi={"after:highlightElement":({result:Mr})=>{Lr.tabReplace&&(Mr.value=Mr.value.replace(Cr,Or=>Or.replace(/\t/g,Lr.tabReplace)))}};function yi(Mr){let Or=null;const cr=function Ut(Mr){let Or=Mr.className+" ";Or+=Mr.parentNode?Mr.parentNode.className:"";const cr=Lr.languageDetectRe.exec(Or);if(cr){const pi=jr(cr[1]);return pi||(Gi(nn.replace("{}",cr[1])),Gi("Falling back to no-highlight mode for this block.",Mr)),pi?cr[1]:"no-highlight"}return Or.split(/\s+/).find(pi=>ti(pi)||jr(pi))}(Mr);if(ti(cr))return;Go("before:highlightElement",{el:Mr,language:cr}),Or=Mr;const pi=Or.textContent,Sn=cr?Dn(pi,{language:cr,ignoreIllegals:!0}):_t(pi);Go("after:highlightElement",{el:Mr,result:Sn,text:pi}),Mr.innerHTML=Sn.value,function Vt(Mr,Or,cr){const pi=Or?Re[Or]:cr;Mr.classList.add("hljs"),pi&&Mr.classList.add(pi)}(Mr,cr,Sn.language),Mr.result={language:Sn.language,re:Sn.relevance,relavance:Sn.relevance},Sn.second_best&&(Mr.second_best={language:Sn.second_best.language,re:Sn.second_best.relevance,relavance:Sn.second_best.relevance})}const Qo=()=>{Qo.called||(Qo.called=!0,ui("10.6.0","initHighlighting() is deprecated.  Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(yi))};let Ri=!1;function ko(){"loading"!==document.readyState?document.querySelectorAll("pre code").forEach(yi):Ri=!0}function jr(Mr){return Mr=(Mr||"").toLowerCase(),Le[Mr]||Le[Re[Mr]]}function ao(Mr,{languageName:Or}){"string"==typeof Mr&&(Mr=[Mr]),Mr.forEach(cr=>{Re[cr.toLowerCase()]=Or})}function $i(Mr){const Or=jr(Mr);return Or&&!Or.disableAutodetect}function Go(Mr,Or){const cr=Mr;Se.forEach(function(pi){pi[cr]&&pi[cr](Or)})}"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",function Xo(){Ri&&ko()},!1),Object.assign(et,{highlight:Dn,highlightAuto:_t,highlightAll:ko,fixMarkup:function ua(Mr){return ui("10.2.0","fixMarkup will be removed entirely in v11.0"),ui("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),function yt(Mr){return Lr.tabReplace||Lr.useBR?Mr.replace(st,Or=>"\n"===Or?Lr.useBR?"<br>":Or:Lr.tabReplace?Or.replace(/\t/g,Lr.tabReplace):Or):Mr}(Mr)},highlightElement:yi,highlightBlock:function or(Mr){return ui("10.7.0","highlightBlock will be removed entirely in v12.0"),ui("10.7.0","Please use highlightElement now."),yi(Mr)},configure:function Uo(Mr){Mr.useBR&&(ui("10.3.0","'useBR' will be removed entirely in v11.0"),ui("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),Lr=Ji(Lr,Mr)},initHighlighting:Qo,initHighlightingOnLoad:function lo(){ui("10.6.0","initHighlightingOnLoad() is deprecated.  Use highlightAll() instead."),Ri=!0},registerLanguage:function ir(Mr,Or){let cr=null;try{cr=Or(et)}catch(pi){if(ri("Language definition for '{}' could not be registered.".replace("{}",Mr)),!dt)throw pi;ri(pi),cr=Fe}cr.name||(cr.name=Mr),Le[Mr]=cr,cr.rawDefinition=Or.bind(null,et),cr.aliases&&ao(cr.aliases,{languageName:Mr})},unregisterLanguage:function si(Mr){delete Le[Mr];for(const Or of Object.keys(Re))Re[Or]===Mr&&delete Re[Or]},listLanguages:function kn(){return Object.keys(Le)},getLanguage:jr,registerAliases:ao,requireLanguage:function nr(Mr){ui("10.4.0","requireLanguage will be removed entirely in v11."),ui("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const Or=jr(Mr);if(Or)return Or;throw new Error("The '{}' language is required, but not loaded.".replace("{}",Mr))},autoDetection:$i,inherit:Ji,addPlugin:function mo(Mr){(function Eo(Mr){Mr["before:highlightBlock"]&&!Mr["before:highlightElement"]&&(Mr["before:highlightElement"]=Or=>{Mr["before:highlightBlock"](Object.assign({block:Or.el},Or))}),Mr["after:highlightBlock"]&&!Mr["after:highlightElement"]&&(Mr["after:highlightElement"]=Or=>{Mr["after:highlightBlock"](Object.assign({block:Or.el},Or))})})(Mr),Se.push(Mr)},vuePlugin:Er(et).VuePlugin}),et.debugMode=function(){dt=!1},et.safeMode=function(){dt=!0},et.versionString="10.7.3";for(const Mr in Gt)"object"==typeof Gt[Mr]&&i(Gt[Mr]);return Object.assign(et,Gt),et.addPlugin(yn),et.addPlugin(an),et.addPlugin(xi),et}({});v.exports=Wn},4357:v=>{function i(...a){return a.map(u=>function b(a){return a?"string"==typeof a?a:a.source:null}(u)).join("")}v.exports=function r(a){const f={},u={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[f]}]};Object.assign(f,{className:"variable",variants:[{begin:i(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},u]});const e={className:"subst",begin:/\$\(/,end:/\)/,contains:[a.BACKSLASH_ESCAPE]},p={begin:/<<-?\s*(?=\w+)/,starts:{contains:[a.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},g={className:"string",begin:/"/,end:/"/,contains:[a.BACKSLASH_ESCAPE,f,e]};e.contains.push(g);const w={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},a.NUMBER_MODE,f]},U=a.SHEBANG({binary:`(${["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"].join("|")})`,relevance:10}),W={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[a.inherit(a.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp"},contains:[U,a.SHEBANG(),W,w,a.HASH_COMMENT_MODE,p,g,{className:"",begin:/\\"/},{className:"string",begin:/'/,end:/'/},f]}}},28390:v=>{function i(...a){return a.map(u=>function b(a){return a?"string"==typeof a?a:a.source:null}(u)).join("")}v.exports=function r(a){const f="HTTP/(2|1\\.[01])",e={className:"attribute",begin:i("^",/[A-Za-z][A-Za-z0-9-]*/,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},p=[e,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+f+" \\d{3})",end:/$/,contains:[{className:"meta",begin:f},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:p}},{begin:"(?=^[A-Z]+ (.*?) "+f+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:f},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:p}},a.inherit(e,{relevance:0})]}}},36147:v=>{const b="[A-Za-z$_][0-9A-Za-z$_]*",i=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],r=["true","false","null","undefined","NaN","Infinity"],p=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function T(R){return M("(?=",R,")")}function M(...R){return R.map(W=>function g(R){return R?"string"==typeof R?R:R.source:null}(W)).join("")}v.exports=function w(R){const W=b,q={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(Ge,Oe)=>{const Tt=Ge[0].length+Ge.index,We=Ge.input[Tt];"<"!==We?">"===We&&(((Ge,{after:Oe})=>{const Tt="</"+Ge[0].slice(1);return-1!==Ge.input.indexOf(Tt,Oe)})(Ge,{after:Tt})||Oe.ignoreMatch()):Oe.ignoreMatch()}},ue={$pattern:b,keyword:i,literal:r,built_in:p},re="[0-9](_?[0-9])*",H=`\\.(${re})`,se="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",ae={className:"number",variants:[{begin:`(\\b(${se})((${H})|\\.)?|(${H}))[eE][+-]?(${re})\\b`},{begin:`\\b(${se})\\b((${H})\\b|\\.)?|(${H})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},ie={className:"subst",begin:"\\$\\{",end:"\\}",keywords:ue,contains:[]},fe={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[R.BACKSLASH_ESCAPE,ie],subLanguage:"xml"}},_e={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[R.BACKSLASH_ESCAPE,ie],subLanguage:"css"}},Ce={className:"string",begin:"`",end:"`",contains:[R.BACKSLASH_ESCAPE,ie]},Be={className:"comment",variants:[R.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:W+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),R.C_BLOCK_COMMENT_MODE,R.C_LINE_COMMENT_MODE]},Ve=[R.APOS_STRING_MODE,R.QUOTE_STRING_MODE,fe,_e,Ce,ae,R.REGEXP_MODE];ie.contains=Ve.concat({begin:/\{/,end:/\}/,keywords:ue,contains:["self"].concat(Ve)});const Xe=[].concat(Be,ie.contains),He=Xe.concat([{begin:/\(/,end:/\)/,keywords:ue,contains:["self"].concat(Xe)}]),Pe={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:ue,contains:He};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:ue,exports:{PARAMS_CONTAINS:He},illegal:/#(?![$_A-z])/,contains:[R.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},R.APOS_STRING_MODE,R.QUOTE_STRING_MODE,fe,_e,Ce,Be,ae,{begin:M(/[{,\n]\s*/,T(M(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,W+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:W+T("\\s*:"),relevance:0}]},{begin:"("+R.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[Be,R.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+R.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:R.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:ue,contains:He}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:"<>",end:"</>"},{begin:q.begin,"on:begin":q.isTrulyOpeningTag,end:q.end}],subLanguage:"xml",contains:[{begin:q.begin,end:q.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:ue,contains:["self",R.inherit(R.TITLE_MODE,{begin:W}),Pe],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:R.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[Pe,R.inherit(R.TITLE_MODE,{begin:W})]},{variants:[{begin:"\\."+W},{begin:"\\$"+W}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},R.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[R.inherit(R.TITLE_MODE,{begin:W}),"self",Pe]},{begin:"(get|set)\\s+(?="+W+"\\()",end:/\{/,keywords:"get set",contains:[R.inherit(R.TITLE_MODE,{begin:W}),{begin:/\(\)/},Pe]},{begin:/\$[(.]/}]}}},92229:v=>{v.exports=function b(i){const r={literal:"true false null"},a=[i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE],f=[i.QUOTE_STRING_MODE,i.C_NUMBER_MODE],u={end:",",endsWithParent:!0,excludeEnd:!0,contains:f,keywords:r},e={begin:/\{/,end:/\}/,contains:[{className:"attr",begin:/"/,end:/"/,contains:[i.BACKSLASH_ESCAPE],illegal:"\\n"},i.inherit(u,{begin:/:/})].concat(a),illegal:"\\S"},p={begin:"\\[",end:"\\]",contains:[i.inherit(u)],illegal:"\\S"};return f.push(e,p),a.forEach(function(g){f.push(g)}),{name:"JSON",contains:f,keywords:r,illegal:"\\S"}}},78932:v=>{v.exports=function b(i){const u={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},p={begin:"`[\\s\\S]",relevance:0},g={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},M={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[p,g,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},w={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},U=i.inherit(i.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[{className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]}]}),W={className:"built_in",variants:[{begin:"(".concat("Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",")+(-)[\\w\\d]+")}]},j={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[i.TITLE_MODE]},q={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:/\w[\w\d]*((-)[\w\d]+)*/,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[g]}]},ue={begin:/using\s/,end:/$/,returnBegin:!0,contains:[M,w,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},re={variants:[{className:"operator",begin:"(".concat("-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",")\\b")},{className:"literal",begin:/(-)[\w\d]+/,relevance:0}]},se={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(u.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},i.inherit(i.TITLE_MODE,{endsParent:!0})]},ae=[se,U,p,i.NUMBER_MODE,M,w,W,g,{className:"literal",begin:/\$(null|true|false)\b/},{className:"selector-tag",begin:/@\B/,relevance:0}],ie={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",ae,{begin:"("+["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"].join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return se.contains.unshift(ie),{name:"PowerShell",aliases:["ps","ps1"],case_insensitive:!0,keywords:u,contains:ae.concat(j,q,ue,re,ie)}}},13546:v=>{function b(e){return e?"string"==typeof e?e:e.source:null}function i(e){return a("(?=",e,")")}function a(...e){return e.map(g=>b(g)).join("")}function f(...e){return"("+e.map(g=>b(g)).join("|")+")"}v.exports=function u(e){const p=a(/[A-Z_]/,function r(e){return a("(",e,")?")}(/[A-Z0-9_.-]*:/),/[A-Z0-9_.-]*/),T={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},M={begin:/\s/,contains:[{className:"meta-keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},w=e.inherit(M,{begin:/\(/,end:/\)/}),R=e.inherit(e.APOS_STRING_MODE,{className:"meta-string"}),U=e.inherit(e.QUOTE_STRING_MODE,{className:"meta-string"}),W={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:/[A-Za-z0-9._:-]+/,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[T]},{begin:/'/,end:/'/,contains:[T]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[M,U,R,w,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[M,w,U,R]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},T,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[W],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[W],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:a(/</,i(a(p,f(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:p,relevance:0,starts:W}]},{className:"tag",begin:a(/<\//,i(a(p,/>/))),contains:[{className:"name",begin:p,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}},44776:v=>{v.exports=function b(i){var r="true false yes no null",a="[\\w#;/?:@&=+$,.~*'()[\\]]+",e={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[i.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},p=i.inherit(e,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),U={end:",",endsWithParent:!0,excludeEnd:!0,keywords:r,relevance:0},q=[{className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ \t]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ \t]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ \t]|$)"}]},{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+a},{className:"type",begin:"!<"+a+">"},{className:"type",begin:"!"+a},{className:"type",begin:"!!"+a},{className:"meta",begin:"&"+i.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+i.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},i.HASH_COMMENT_MODE,{beginKeywords:r,keywords:{literal:r}},{className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},{className:"number",begin:i.C_NUMBER_RE+"\\b",relevance:0},{begin:/\{/,end:/\}/,contains:[U],illegal:"\\n",relevance:0},{begin:"\\[",end:"\\]",contains:[U],illegal:"\\n",relevance:0},e],ue=[...q];return ue.pop(),ue.push(p),U.contains=ue,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:q}}},62568:(v,b,i)=>{"use strict";var r=i(38308),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},f={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},e={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},p={};function g(q){return r.isMemo(q)?e:p[q.$$typeof]||a}p[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},p[r.Memo]=e;var T=Object.defineProperty,M=Object.getOwnPropertyNames,w=Object.getOwnPropertySymbols,R=Object.getOwnPropertyDescriptor,U=Object.getPrototypeOf,W=Object.prototype;v.exports=function j(q,ue,re){if("string"!=typeof ue){if(W){var H=U(ue);H&&H!==W&&j(q,H,re)}var se=M(ue);w&&(se=se.concat(w(ue)));for(var ae=g(q),ie=g(ue),fe=0;fe<se.length;++fe){var _e=se[fe];if(!(f[_e]||re&&re[_e]||ie&&ie[_e]||ae&&ae[_e])){var Ce=R(ue,_e);try{T(q,_e,Ce)}catch(ce){}}}}return q}},12658:(v,b)=>{b.read=function(i,r,a,f,u){var e,p,g=8*u-f-1,T=(1<<g)-1,M=T>>1,w=-7,R=a?u-1:0,U=a?-1:1,W=i[r+R];for(R+=U,e=W&(1<<-w)-1,W>>=-w,w+=g;w>0;e=256*e+i[r+R],R+=U,w-=8);for(p=e&(1<<-w)-1,e>>=-w,w+=f;w>0;p=256*p+i[r+R],R+=U,w-=8);if(0===e)e=1-M;else{if(e===T)return p?NaN:1/0*(W?-1:1);p+=Math.pow(2,f),e-=M}return(W?-1:1)*p*Math.pow(2,e-f)},b.write=function(i,r,a,f,u,e){var p,g,T,M=8*e-u-1,w=(1<<M)-1,R=w>>1,U=23===u?Math.pow(2,-24)-Math.pow(2,-77):0,W=f?0:e-1,j=f?1:-1,q=r<0||0===r&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(g=isNaN(r)?1:0,p=w):(p=Math.floor(Math.log(r)/Math.LN2),r*(T=Math.pow(2,-p))<1&&(p--,T*=2),(r+=p+R>=1?U/T:U*Math.pow(2,1-R))*T>=2&&(p++,T/=2),p+R>=w?(g=0,p=w):p+R>=1?(g=(r*T-1)*Math.pow(2,u),p+=R):(g=r*Math.pow(2,R-1)*Math.pow(2,u),p=0));u>=8;i[a+W]=255&g,W+=j,g/=256,u-=8);for(p=p<<u|g,M+=u;M>0;i[a+W]=255&p,W+=j,p/=256,M-=8);i[a+W-j]|=128*q}},16482:function(v){v.exports=function(){"use strict";var b=Array.prototype.slice;function i(Z,De){De&&(Z.prototype=Object.create(De.prototype)),Z.prototype.constructor=Z}function r(Z){return e(Z)?Z:mi(Z)}function a(Z){return p(Z)?Z:ci(Z)}function f(Z){return g(Z)?Z:hr(Z)}function u(Z){return e(Z)&&!T(Z)?Z:Br(Z)}function e(Z){return!(!Z||!Z[w])}function p(Z){return!(!Z||!Z[R])}function g(Z){return!(!Z||!Z[U])}function T(Z){return p(Z)||g(Z)}function M(Z){return!(!Z||!Z[W])}i(a,r),i(f,r),i(u,r),r.isIterable=e,r.isKeyed=p,r.isIndexed=g,r.isAssociative=T,r.isOrdered=M,r.Keyed=a,r.Indexed=f,r.Set=u;var w="@@__IMMUTABLE_ITERABLE__@@",R="@@__IMMUTABLE_KEYED__@@",U="@@__IMMUTABLE_INDEXED__@@",W="@@__IMMUTABLE_ORDERED__@@",j="delete",H={},se={value:!1},ae={value:!1};function ie(Z){return Z.value=!1,Z}function fe(Z){Z&&(Z.value=!0)}function _e(){}function Ce(Z,De){De=De||0;for(var ct=Math.max(0,Z.length-De),It=new Array(ct),Ht=0;Ht<ct;Ht++)It[Ht]=Z[Ht+De];return It}function ce(Z){return void 0===Z.size&&(Z.size=Z.__iterate(Ve)),Z.size}function Be(Z,De){if("number"!=typeof De){var ct=De>>>0;if(""+ct!==De||4294967295===ct)return NaN;De=ct}return De<0?ce(Z)+De:De}function Ve(){return!0}function Xe(Z,De,ct){return(0===Z||void 0!==ct&&Z<=-ct)&&(void 0===De||void 0!==ct&&De>=ct)}function He(Z,De){return Ge(Z,De,0)}function Pe(Z,De){return Ge(Z,De,De)}function Ge(Z,De,ct){return void 0===Z?ct:Z<0?Math.max(0,De+Z):void 0===De?Z:Math.min(De,Z)}var Qt="function"==typeof Symbol&&Symbol.iterator,Nt="@@iterator",Yt=Qt||Nt;function dn(Z){this.next=Z}function rn(Z,De,ct,It){var Ht=0===Z?De:1===Z?ct:[De,ct];return It?It.value=Ht:It={value:Ht,done:!1},It}function vt(){return{value:void 0,done:!0}}function xt(Z){return!!Fn(Z)}function Ct(Z){return Z&&"function"==typeof Z.next}function Gt(Z){var De=Fn(Z);return De&&De.call(Z)}function Fn(Z){var De=Z&&(Qt&&Z[Qt]||Z[Nt]);if("function"==typeof De)return De}function pr(Z){return Z&&"number"==typeof Z.length}function mi(Z){return null==Z?no():e(Z)?Z.toSeq():function an(Z){var De=vn(Z)||"object"==typeof Z&&new er(Z);if(!De)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+Z);return De}(Z)}function ci(Z){return null==Z?no().toKeyedSeq():e(Z)?p(Z)?Z.toSeq():Z.fromEntrySeq():xo(Z)}function hr(Z){return null==Z?no():e(Z)?p(Z)?Z.entrySeq():Z.toIndexedSeq():Er(Z)}function Br(Z){return(null==Z?no():e(Z)?p(Z)?Z.entrySeq():Z:Er(Z)).toSetSeq()}dn.prototype.toString=function(){return"[Iterator]"},dn.KEYS=0,dn.VALUES=1,dn.ENTRIES=2,dn.prototype.inspect=dn.prototype.toSource=function(){return this.toString()},dn.prototype[Yt]=function(){return this},i(mi,r),mi.of=function(){return mi(arguments)},mi.prototype.toSeq=function(){return this},mi.prototype.toString=function(){return this.__toString("Seq {","}")},mi.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},mi.prototype.__iterate=function(Z,De){return Zn(this,Z,De,!0)},mi.prototype.__iterator=function(Z,De){return Xn(this,Z,De,!0)},i(ci,mi),ci.prototype.toKeyedSeq=function(){return this},i(hr,mi),hr.of=function(){return hr(arguments)},hr.prototype.toIndexedSeq=function(){return this},hr.prototype.toString=function(){return this.__toString("Seq [","]")},hr.prototype.__iterate=function(Z,De){return Zn(this,Z,De,!1)},hr.prototype.__iterator=function(Z,De){return Xn(this,Z,De,!1)},i(Br,mi),Br.of=function(){return Br(arguments)},Br.prototype.toSetSeq=function(){return this},mi.isSeq=bi,mi.Keyed=ci,mi.Set=Br,mi.Indexed=hr;var fi,Rn,Le,Ur="@@__IMMUTABLE_SEQ__@@";function Hn(Z){this._array=Z,this.size=Z.length}function er(Z){var De=Object.keys(Z);this._object=Z,this._keys=De,this.size=De.length}function _r(Z){this._iterable=Z,this.size=Z.length||Z.size}function ei(Z){this._iterator=Z,this._iteratorCache=[]}function bi(Z){return!(!Z||!Z[Ur])}function no(){return fi||(fi=new Hn([]))}function xo(Z){var De=Array.isArray(Z)?new Hn(Z).fromEntrySeq():Ct(Z)?new ei(Z).fromEntrySeq():xt(Z)?new _r(Z).fromEntrySeq():"object"==typeof Z?new er(Z):void 0;if(!De)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+Z);return De}function Er(Z){var De=vn(Z);if(!De)throw new TypeError("Expected Array or iterable object of values: "+Z);return De}function vn(Z){return pr(Z)?new Hn(Z):Ct(Z)?new ei(Z):xt(Z)?new _r(Z):void 0}function Zn(Z,De,ct,It){var Ht=Z._cache;if(Ht){for(var _n=Ht.length-1,Pn=0;Pn<=_n;Pn++){var Tr=Ht[ct?_n-Pn:Pn];if(!1===De(Tr[1],It?Tr[0]:Pn,Z))return Pn+1}return Pn}return Z.__iterateUncached(De,ct)}function Xn(Z,De,ct,It){var Ht=Z._cache;if(Ht){var _n=Ht.length-1,Pn=0;return new dn(function(){var Tr=Ht[ct?_n-Pn:Pn];return Pn++>_n?{value:void 0,done:!0}:rn(De,It?Tr[0]:Pn-1,Tr[1])})}return Z.__iteratorUncached(De,ct)}function zn(Z,De){return De?ri(De,Z,"",{"":Z}):Gi(Z)}function ri(Z,De,ct,It){return Array.isArray(De)?Z.call(It,ct,hr(De).map(function(Ht,_n){return ri(Z,Ht,_n,De)})):ui(De)?Z.call(It,ct,ci(De).map(function(Ht,_n){return ri(Z,Ht,_n,De)})):De}function Gi(Z){return Array.isArray(Z)?hr(Z).map(Gi).toList():ui(Z)?ci(Z).map(Gi).toMap():Z}function ui(Z){return Z&&(Z.constructor===Object||void 0===Z.constructor)}function vr(Z,De){if(Z===De||Z!=Z&&De!=De)return!0;if(!Z||!De)return!1;if("function"==typeof Z.valueOf&&"function"==typeof De.valueOf){if((Z=Z.valueOf())===(De=De.valueOf())||Z!=Z&&De!=De)return!0;if(!Z||!De)return!1}return!("function"!=typeof Z.equals||"function"!=typeof De.equals||!Z.equals(De))}function Ji(Z,De){if(Z===De)return!0;if(!e(De)||void 0!==Z.size&&void 0!==De.size&&Z.size!==De.size||void 0!==Z.__hash&&void 0!==De.__hash&&Z.__hash!==De.__hash||p(Z)!==p(De)||g(Z)!==g(De)||M(Z)!==M(De))return!1;if(0===Z.size&&0===De.size)return!0;var ct=!T(Z);if(M(Z)){var It=Z.entries();return De.every(function(ai,Ei){var Ci=It.next().value;return Ci&&vr(Ci[1],ai)&&(ct||vr(Ci[0],Ei))})&&It.next().done}var Ht=!1;if(void 0===Z.size)if(void 0===De.size)"function"==typeof Z.cacheResult&&Z.cacheResult();else{Ht=!0;var _n=Z;Z=De,De=_n}var Pn=!0,Tr=De.__iterate(function(ai,Ei){if(ct?!Z.has(ai):Ht?!vr(ai,Z.get(Ei,H)):!vr(Z.get(Ei,H),ai))return Pn=!1,!1});return Pn&&Z.size===Tr}function mn(Z,De){if(!(this instanceof mn))return new mn(Z,De);if(this._value=Z,this.size=void 0===De?1/0:Math.max(0,De),0===this.size){if(Rn)return Rn;Rn=this}}function Wn(Z,De){if(!Z)throw new Error(De)}function et(Z,De,ct){if(!(this instanceof et))return new et(Z,De,ct);if(Wn(0!==ct,"Cannot step a Range by 0"),Z=Z||0,void 0===De&&(De=1/0),ct=void 0===ct?1:Math.abs(ct),De<Z&&(ct=-ct),this._start=Z,this._end=De,this._step=ct,this.size=Math.max(0,Math.ceil((De-Z)/ct-1)+1),0===this.size){if(Le)return Le;Le=this}}function Re(){throw TypeError("Abstract")}function Se(){}function dt(){}function st(){}mi.prototype[Ur]=!0,i(Hn,hr),Hn.prototype.get=function(Z,De){return this.has(Z)?this._array[Be(this,Z)]:De},Hn.prototype.__iterate=function(Z,De){for(var ct=this._array,It=ct.length-1,Ht=0;Ht<=It;Ht++)if(!1===Z(ct[De?It-Ht:Ht],Ht,this))return Ht+1;return Ht},Hn.prototype.__iterator=function(Z,De){var ct=this._array,It=ct.length-1,Ht=0;return new dn(function(){return Ht>It?{value:void 0,done:!0}:rn(Z,Ht,ct[De?It-Ht++:Ht++])})},i(er,ci),er.prototype.get=function(Z,De){return void 0===De||this.has(Z)?this._object[Z]:De},er.prototype.has=function(Z){return this._object.hasOwnProperty(Z)},er.prototype.__iterate=function(Z,De){for(var ct=this._object,It=this._keys,Ht=It.length-1,_n=0;_n<=Ht;_n++){var Pn=It[De?Ht-_n:_n];if(!1===Z(ct[Pn],Pn,this))return _n+1}return _n},er.prototype.__iterator=function(Z,De){var ct=this._object,It=this._keys,Ht=It.length-1,_n=0;return new dn(function(){var Pn=It[De?Ht-_n:_n];return _n++>Ht?{value:void 0,done:!0}:rn(Z,Pn,ct[Pn])})},er.prototype[W]=!0,i(_r,hr),_r.prototype.__iterateUncached=function(Z,De){if(De)return this.cacheResult().__iterate(Z,De);var It=Gt(this._iterable),Ht=0;if(Ct(It))for(var _n;!(_n=It.next()).done&&!1!==Z(_n.value,Ht++,this););return Ht},_r.prototype.__iteratorUncached=function(Z,De){if(De)return this.cacheResult().__iterator(Z,De);var It=Gt(this._iterable);if(!Ct(It))return new dn(vt);var Ht=0;return new dn(function(){var _n=It.next();return _n.done?_n:rn(Z,Ht++,_n.value)})},i(ei,hr),ei.prototype.__iterateUncached=function(Z,De){if(De)return this.cacheResult().__iterate(Z,De);for(var ct=this._iterator,It=this._iteratorCache,Ht=0;Ht<It.length;)if(!1===Z(It[Ht],Ht++,this))return Ht;for(var _n;!(_n=ct.next()).done;){var Pn=_n.value;if(It[Ht]=Pn,!1===Z(Pn,Ht++,this))break}return Ht},ei.prototype.__iteratorUncached=function(Z,De){if(De)return this.cacheResult().__iterator(Z,De);var ct=this._iterator,It=this._iteratorCache,Ht=0;return new dn(function(){if(Ht>=It.length){var _n=ct.next();if(_n.done)return _n;It[Ht]=_n.value}return rn(Z,Ht,It[Ht++])})},i(mn,hr),mn.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},mn.prototype.get=function(Z,De){return this.has(Z)?this._value:De},mn.prototype.includes=function(Z){return vr(this._value,Z)},mn.prototype.slice=function(Z,De){var ct=this.size;return Xe(Z,De,ct)?this:new mn(this._value,Pe(De,ct)-He(Z,ct))},mn.prototype.reverse=function(){return this},mn.prototype.indexOf=function(Z){return vr(this._value,Z)?0:-1},mn.prototype.lastIndexOf=function(Z){return vr(this._value,Z)?this.size:-1},mn.prototype.__iterate=function(Z,De){for(var ct=0;ct<this.size;ct++)if(!1===Z(this._value,ct,this))return ct+1;return ct},mn.prototype.__iterator=function(Z,De){var ct=this,It=0;return new dn(function(){return It<ct.size?rn(Z,It++,ct._value):{value:void 0,done:!0}})},mn.prototype.equals=function(Z){return Z instanceof mn?vr(this._value,Z._value):Ji(Z)},i(et,hr),et.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},et.prototype.get=function(Z,De){return this.has(Z)?this._start+Be(this,Z)*this._step:De},et.prototype.includes=function(Z){var De=(Z-this._start)/this._step;return De>=0&&De<this.size&&De===Math.floor(De)},et.prototype.slice=function(Z,De){return Xe(Z,De,this.size)?this:(Z=He(Z,this.size),(De=Pe(De,this.size))<=Z?new et(0,0):new et(this.get(Z,this._end),this.get(De,this._end),this._step))},et.prototype.indexOf=function(Z){var De=Z-this._start;if(De%this._step==0){var ct=De/this._step;if(ct>=0&&ct<this.size)return ct}return-1},et.prototype.lastIndexOf=function(Z){return this.indexOf(Z)},et.prototype.__iterate=function(Z,De){for(var ct=this.size-1,It=this._step,Ht=De?this._start+ct*It:this._start,_n=0;_n<=ct;_n++){if(!1===Z(Ht,_n,this))return _n+1;Ht+=De?-It:It}return _n},et.prototype.__iterator=function(Z,De){var ct=this.size-1,It=this._step,Ht=De?this._start+ct*It:this._start,_n=0;return new dn(function(){var Pn=Ht;return Ht+=De?-It:It,_n>ct?{value:void 0,done:!0}:rn(Z,_n++,Pn)})},et.prototype.equals=function(Z){return Z instanceof et?this._start===Z._start&&this._end===Z._end&&this._step===Z._step:Ji(this,Z)},i(Re,r),i(Se,Re),i(dt,Re),i(st,Re),Re.Keyed=Se,Re.Indexed=dt,Re.Set=st;var nn="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(De,ct){var It=65535&(De|=0),Ht=65535&(ct|=0);return It*Ht+((De>>>16)*Ht+It*(ct>>>16)<<16>>>0)|0};function Fe(Z){return Z>>>1&1073741824|3221225471&Z}function Lr(Z){if(!1===Z||null==Z||"function"==typeof Z.valueOf&&(!1===(Z=Z.valueOf())||null==Z))return 0;if(!0===Z)return 1;var De=typeof Z;if("number"===De){if(Z!=Z||Z===1/0)return 0;var ct=0|Z;for(ct!==Z&&(ct^=4294967295*Z);Z>4294967295;)ct^=Z/=4294967295;return Fe(ct)}if("string"===De)return Z.length>xi?function ti(Z){var De=Qo[Z];return void 0===De&&(De=Ut(Z),Uo===yi&&(Uo=0,Qo={}),Uo++,Qo[Z]=De),De}(Z):Ut(Z);if("function"==typeof Z.hashCode)return Z.hashCode();if("object"===De)return function Dn(Z){var De;if(yt&&void 0!==(De=Vt.get(Z))||void 0!==(De=Z[Cr])||!$t&&(void 0!==(De=Z.propertyIsEnumerable&&Z.propertyIsEnumerable[Cr])||void 0!==(De=function _t(Z){if(Z&&Z.nodeType>0)switch(Z.nodeType){case 1:return Z.uniqueID;case 9:return Z.documentElement&&Z.documentElement.uniqueID}}(Z))))return De;if(De=++yn,1073741824&yn&&(yn=0),yt)Vt.set(Z,De);else{if(void 0!==Et&&!1===Et(Z))throw new Error("Non-extensible objects are not allowed as keys.");if($t)Object.defineProperty(Z,Cr,{enumerable:!1,configurable:!1,writable:!1,value:De});else if(void 0!==Z.propertyIsEnumerable&&Z.propertyIsEnumerable===Z.constructor.prototype.propertyIsEnumerable)Z.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},Z.propertyIsEnumerable[Cr]=De;else{if(void 0===Z.nodeType)throw new Error("Unable to set a non-enumerable property on object.");Z[Cr]=De}}return De}(Z);if("function"==typeof Z.toString)return Ut(Z.toString());throw new Error("Value type "+De+" cannot be hashed.")}function Ut(Z){for(var De=0,ct=0;ct<Z.length;ct++)De=31*De+Z.charCodeAt(ct)|0;return Fe(De)}var Et=Object.isExtensible,$t=function(){try{return Object.defineProperty({},"@",{}),!0}catch(Z){return!1}}();var Vt,yt="function"==typeof WeakMap;yt&&(Vt=new WeakMap);var yn=0,Cr="__immutablehash__";"function"==typeof Symbol&&(Cr=Symbol(Cr));var xi=16,yi=255,Uo=0,Qo={};function lo(Z){Wn(Z!==1/0,"Cannot perform this action with an infinite size.")}function Ri(Z){return null==Z?or():ko(Z)&&!M(Z)?Z:or().withMutations(function(De){var ct=a(Z);lo(ct.size),ct.forEach(function(It,Ht){return De.set(Ht,It)})})}function ko(Z){return!(!Z||!Z[Xo])}i(Ri,Se),Ri.of=function(){var Z=b.call(arguments,0);return or().withMutations(function(De){for(var ct=0;ct<Z.length;ct+=2){if(ct+1>=Z.length)throw new Error("Missing value for key: "+Z[ct]);De.set(Z[ct],Z[ct+1])}})},Ri.prototype.toString=function(){return this.__toString("Map {","}")},Ri.prototype.get=function(Z,De){return this._root?this._root.get(0,void 0,Z,De):De},Ri.prototype.set=function(Z,De){return Mr(this,Z,De)},Ri.prototype.setIn=function(Z,De){return this.updateIn(Z,H,function(){return De})},Ri.prototype.remove=function(Z){return Mr(this,Z,H)},Ri.prototype.deleteIn=function(Z){return this.updateIn(Z,function(){return H})},Ri.prototype.update=function(Z,De,ct){return 1===arguments.length?Z(this):this.updateIn([Z],De,ct)},Ri.prototype.updateIn=function(Z,De,ct){ct||(ct=De,De=void 0);var It=ds(this,as(Z),De,ct);return It===H?void 0:It},Ri.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):or()},Ri.prototype.merge=function(){return ro(this,void 0,arguments)},Ri.prototype.mergeWith=function(Z){return ro(this,Z,b.call(arguments,1))},Ri.prototype.mergeIn=function(Z){var De=b.call(arguments,1);return this.updateIn(Z,or(),function(ct){return"function"==typeof ct.merge?ct.merge.apply(ct,De):De[De.length-1]})},Ri.prototype.mergeDeep=function(){return ro(this,go,arguments)},Ri.prototype.mergeDeepWith=function(Z){var De=b.call(arguments,1);return ro(this,Ro(Z),De)},Ri.prototype.mergeDeepIn=function(Z){var De=b.call(arguments,1);return this.updateIn(Z,or(),function(ct){return"function"==typeof ct.mergeDeep?ct.mergeDeep.apply(ct,De):De[De.length-1]})},Ri.prototype.sort=function(Z){return te(Ja(this,Z))},Ri.prototype.sortBy=function(Z,De){return te(Ja(this,De,Z))},Ri.prototype.withMutations=function(Z){var De=this.asMutable();return Z(De),De.wasAltered()?De.__ensureOwner(this.__ownerID):this},Ri.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new _e)},Ri.prototype.asImmutable=function(){return this.__ensureOwner()},Ri.prototype.wasAltered=function(){return this.__altered},Ri.prototype.__iterator=function(Z,De){return new $i(this,Z,De)},Ri.prototype.__iterate=function(Z,De){var ct=this,It=0;return this._root&&this._root.iterate(function(Ht){return It++,Z(Ht[1],Ht[0],ct)},De),It},Ri.prototype.__ensureOwner=function(Z){return Z===this.__ownerID?this:Z?Go(this.size,this._root,Z,this.__hash):(this.__ownerID=Z,this.__altered=!1,this)},Ri.isMap=ko;var ua,Xo="@@__IMMUTABLE_MAP__@@",ir=Ri.prototype;function si(Z,De){this.ownerID=Z,this.entries=De}function kn(Z,De,ct){this.ownerID=Z,this.bitmap=De,this.nodes=ct}function nr(Z,De,ct){this.ownerID=Z,this.count=De,this.nodes=ct}function jr(Z,De,ct){this.ownerID=Z,this.keyHash=De,this.entries=ct}function ao(Z,De,ct){this.ownerID=Z,this.keyHash=De,this.entry=ct}function $i(Z,De,ct){this._type=De,this._reverse=ct,this._stack=Z._root&&mo(Z._root)}function Eo(Z,De){return rn(Z,De[0],De[1])}function mo(Z,De){return{node:Z,index:0,__prev:De}}function Go(Z,De,ct,It){var Ht=Object.create(ir);return Ht.size=Z,Ht._root=De,Ht.__ownerID=ct,Ht.__hash=It,Ht.__altered=!1,Ht}function or(){return ua||(ua=Go(0))}function Mr(Z,De,ct){var It,Ht;if(Z._root){var _n=ie(se),Pn=ie(ae);if(It=Or(Z._root,Z.__ownerID,0,void 0,De,ct,_n,Pn),!Pn.value)return Z;Ht=Z.size+(_n.value?ct===H?-1:1:0)}else{if(ct===H)return Z;Ht=1,It=new si(Z.__ownerID,[[De,ct]])}return Z.__ownerID?(Z.size=Ht,Z._root=It,Z.__hash=void 0,Z.__altered=!0,Z):It?Go(Ht,It):or()}function Or(Z,De,ct,It,Ht,_n,Pn,Tr){return Z?Z.update(De,ct,It,Ht,_n,Pn,Tr):_n===H?Z:(fe(Tr),fe(Pn),new ao(De,It,[Ht,_n]))}function cr(Z){return Z.constructor===ao||Z.constructor===jr}function pi(Z,De,ct,It,Ht){if(Z.keyHash===It)return new jr(De,It,[Z.entry,Ht]);var Tr,_n=31&(0===ct?Z.keyHash:Z.keyHash>>>ct),Pn=31&(0===ct?It:It>>>ct);return new kn(De,1<<_n|1<<Pn,_n===Pn?[pi(Z,De,ct+5,It,Ht)]:(Tr=new ao(De,It,Ht),_n<Pn?[Z,Tr]:[Tr,Z]))}function ro(Z,De,ct){for(var It=[],Ht=0;Ht<ct.length;Ht++){var _n=ct[Ht],Pn=a(_n);e(_n)||(Pn=Pn.map(function(Tr){return zn(Tr)})),It.push(Pn)}return js(Z,De,It)}function go(Z,De,ct){return Z&&Z.mergeDeep&&e(De)?Z.mergeDeep(De):vr(Z,De)?Z:De}function Ro(Z){return function(De,ct,It){if(De&&De.mergeDeepWith&&e(ct))return De.mergeDeepWith(Z,ct);var Ht=Z(De,ct,It);return vr(De,Ht)?De:Ht}}function js(Z,De,ct){return 0===(ct=ct.filter(function(It){return 0!==It.size})).length?Z:0!==Z.size||Z.__ownerID||1!==ct.length?Z.withMutations(function(It){for(var Ht=De?function(Pn,Tr){It.update(Tr,H,function(ai){return ai===H?Pn:De(ai,Pn,Tr)})}:function(Pn,Tr){It.set(Tr,Pn)},_n=0;_n<ct.length;_n++)ct[_n].forEach(Ht)}):Z.constructor(ct[0])}function ds(Z,De,ct,It){var Ht=Z===H,_n=De.next();if(_n.done){var Pn=Ht?ct:Z,Tr=It(Pn);return Tr===Pn?Z:Tr}Wn(Ht||Z&&Z.set,"invalid keyPath");var ai=_n.value,Ei=Ht?H:Z.get(ai,H),Ci=ds(Ei,De,ct,It);return Ci===Ei?Z:Ci===H?Z.remove(ai):(Ht?or():Z).set(ai,Ci)}function es(Z){return Z=(Z=(858993459&(Z-=Z>>1&1431655765))+(Z>>2&858993459))+(Z>>4)&252645135,127&(Z+=Z>>8)+(Z>>16)}function ma(Z,De,ct,It){var Ht=It?Z:Ce(Z);return Ht[De]=ct,Ht}ir[Xo]=!0,ir[j]=ir.remove,ir.removeIn=ir.deleteIn,si.prototype.get=function(Z,De,ct,It){for(var Ht=this.entries,_n=0,Pn=Ht.length;_n<Pn;_n++)if(vr(ct,Ht[_n][0]))return Ht[_n][1];return It},si.prototype.update=function(Z,De,ct,It,Ht,_n,Pn){for(var Tr=Ht===H,ai=this.entries,Ei=0,Ci=ai.length;Ei<Ci&&!vr(It,ai[Ei][0]);Ei++);var Vi=Ei<Ci;if(Vi?ai[Ei][1]===Ht:Tr)return this;if(fe(Pn),(Tr||!Vi)&&fe(_n),!Tr||1!==ai.length){if(!Vi&&!Tr&&ai.length>=sa)return function Sn(Z,De,ct,It){Z||(Z=new _e);for(var Ht=new ao(Z,Lr(ct),[ct,It]),_n=0;_n<De.length;_n++){var Pn=De[_n];Ht=Ht.update(Z,0,void 0,Pn[0],Pn[1])}return Ht}(Z,ai,It,Ht);var Pr=Z&&Z===this.ownerID,Yn=Pr?ai:Ce(ai);return Vi?Tr?Ei===Ci-1?Yn.pop():Yn[Ei]=Yn.pop():Yn[Ei]=[It,Ht]:Yn.push([It,Ht]),Pr?(this.entries=Yn,this):new si(Z,Yn)}},kn.prototype.get=function(Z,De,ct,It){void 0===De&&(De=Lr(ct));var Ht=1<<(31&(0===Z?De:De>>>Z)),_n=this.bitmap;return 0==(_n&Ht)?It:this.nodes[es(_n&Ht-1)].get(Z+5,De,ct,It)},kn.prototype.update=function(Z,De,ct,It,Ht,_n,Pn){void 0===ct&&(ct=Lr(It));var Tr=31&(0===De?ct:ct>>>De),ai=1<<Tr,Ei=this.bitmap,Ci=0!=(Ei&ai);if(!Ci&&Ht===H)return this;var Vi=es(Ei&ai-1),Pr=this.nodes,Yn=Ci?Pr[Vi]:void 0,Rr=Or(Yn,Z,De+5,ct,It,Ht,_n,Pn);if(Rr===Yn)return this;if(!Ci&&Rr&&Pr.length>=Ra)return function Jr(Z,De,ct,It,Ht){for(var _n=0,Pn=new Array(32),Tr=0;0!==ct;Tr++,ct>>>=1)Pn[Tr]=1&ct?De[_n++]:void 0;return Pn[It]=Ht,new nr(Z,_n+1,Pn)}(Z,Pr,Ei,Tr,Rr);if(Ci&&!Rr&&2===Pr.length&&cr(Pr[1^Vi]))return Pr[1^Vi];if(Ci&&Rr&&1===Pr.length&&cr(Rr))return Rr;var br=Z&&Z===this.ownerID,fo=Ci?Rr?Ei:Ei^ai:Ei|ai,$s=Ci?Rr?ma(Pr,Vi,Rr,br):function fa(Z,De,ct){var It=Z.length-1;if(ct&&De===It)return Z.pop(),Z;for(var Ht=new Array(It),_n=0,Pn=0;Pn<It;Pn++)Pn===De&&(_n=1),Ht[Pn]=Z[Pn+_n];return Ht}(Pr,Vi,br):function ya(Z,De,ct,It){var Ht=Z.length+1;if(It&&De+1===Ht)return Z[De]=ct,Z;for(var _n=new Array(Ht),Pn=0,Tr=0;Tr<Ht;Tr++)Tr===De?(_n[Tr]=ct,Pn=-1):_n[Tr]=Z[Tr+Pn];return _n}(Pr,Vi,Rr,br);return br?(this.bitmap=fo,this.nodes=$s,this):new kn(Z,fo,$s)},nr.prototype.get=function(Z,De,ct,It){void 0===De&&(De=Lr(ct));var _n=this.nodes[31&(0===Z?De:De>>>Z)];return _n?_n.get(Z+5,De,ct,It):It},nr.prototype.update=function(Z,De,ct,It,Ht,_n,Pn){void 0===ct&&(ct=Lr(It));var Tr=31&(0===De?ct:ct>>>De),Ei=this.nodes,Ci=Ei[Tr];if(Ht===H&&!Ci)return this;var Vi=Or(Ci,Z,De+5,ct,It,Ht,_n,Pn);if(Vi===Ci)return this;var Pr=this.count;if(Ci){if(!Vi&&--Pr<pl)return function $n(Z,De,ct,It){for(var Ht=0,_n=0,Pn=new Array(ct),Tr=0,ai=1,Ei=De.length;Tr<Ei;Tr++,ai<<=1){var Ci=De[Tr];void 0!==Ci&&Tr!==It&&(Ht|=ai,Pn[_n++]=Ci)}return new kn(Z,Ht,Pn)}(Z,Ei,Pr,Tr)}else Pr++;var Yn=Z&&Z===this.ownerID,Rr=ma(Ei,Tr,Vi,Yn);return Yn?(this.count=Pr,this.nodes=Rr,this):new nr(Z,Pr,Rr)},jr.prototype.get=function(Z,De,ct,It){for(var Ht=this.entries,_n=0,Pn=Ht.length;_n<Pn;_n++)if(vr(ct,Ht[_n][0]))return Ht[_n][1];return It},jr.prototype.update=function(Z,De,ct,It,Ht,_n,Pn){void 0===ct&&(ct=Lr(It));var Tr=Ht===H;if(ct!==this.keyHash)return Tr?this:(fe(Pn),fe(_n),pi(this,Z,De,ct,[It,Ht]));for(var ai=this.entries,Ei=0,Ci=ai.length;Ei<Ci&&!vr(It,ai[Ei][0]);Ei++);var Vi=Ei<Ci;if(Vi?ai[Ei][1]===Ht:Tr)return this;if(fe(Pn),(Tr||!Vi)&&fe(_n),Tr&&2===Ci)return new ao(Z,this.keyHash,ai[1^Ei]);var Pr=Z&&Z===this.ownerID,Yn=Pr?ai:Ce(ai);return Vi?Tr?Ei===Ci-1?Yn.pop():Yn[Ei]=Yn.pop():Yn[Ei]=[It,Ht]:Yn.push([It,Ht]),Pr?(this.entries=Yn,this):new jr(Z,this.keyHash,Yn)},ao.prototype.get=function(Z,De,ct,It){return vr(ct,this.entry[0])?this.entry[1]:It},ao.prototype.update=function(Z,De,ct,It,Ht,_n,Pn){var Tr=Ht===H,ai=vr(It,this.entry[0]);return(ai?Ht===this.entry[1]:Tr)?this:(fe(Pn),Tr?void fe(_n):ai?Z&&Z===this.ownerID?(this.entry[1]=Ht,this):new ao(Z,this.keyHash,[It,Ht]):(fe(_n),pi(this,Z,De,Lr(It),[It,Ht])))},si.prototype.iterate=jr.prototype.iterate=function(Z,De){for(var ct=this.entries,It=0,Ht=ct.length-1;It<=Ht;It++)if(!1===Z(ct[De?Ht-It:It]))return!1},kn.prototype.iterate=nr.prototype.iterate=function(Z,De){for(var ct=this.nodes,It=0,Ht=ct.length-1;It<=Ht;It++){var _n=ct[De?Ht-It:It];if(_n&&!1===_n.iterate(Z,De))return!1}},ao.prototype.iterate=function(Z,De){return Z(this.entry)},i($i,dn),$i.prototype.next=function(){for(var Z=this._type,De=this._stack;De;){var Ht,ct=De.node,It=De.index++;if(ct.entry){if(0===It)return Eo(Z,ct.entry)}else if(ct.entries){if(It<=(Ht=ct.entries.length-1))return Eo(Z,ct.entries[this._reverse?Ht-It:It])}else if(It<=(Ht=ct.nodes.length-1)){var _n=ct.nodes[this._reverse?Ht-It:It];if(_n){if(_n.entry)return Eo(Z,_n.entry);De=this._stack=mo(_n,De)}continue}De=this._stack=this._stack.__prev}return{value:void 0,done:!0}};var sa=8,Ra=16,pl=8;function Co(Z){var De=To();if(null==Z)return De;if(yl(Z))return Z;var ct=f(Z),It=ct.size;return 0===It?De:(lo(It),It>0&&It<32?Gs(0,It,5,null,new Wa(ct.toArray())):De.withMutations(function(Ht){Ht.setSize(It),ct.forEach(function(_n,Pn){return Ht.set(Pn,_n)})}))}function yl(Z){return!(!Z||!Z[Wo])}i(Co,dt),Co.of=function(){return this(arguments)},Co.prototype.toString=function(){return this.__toString("List [","]")},Co.prototype.get=function(Z,De){if((Z=Be(this,Z))>=0&&Z<this.size){var ct=kr(this,Z+=this._origin);return ct&&ct.array[31&Z]}return De},Co.prototype.set=function(Z,De){return function Ns(Z,De,ct){if((De=Be(Z,De))!=De)return Z;if(De>=Z.size||De<0)return Z.withMutations(function(Pn){De<0?Ki(Pn,De).set(0,ct):Ki(Pn,0,De+1).set(De,ct)});De+=Z._origin;var It=Z._tail,Ht=Z._root,_n=ie(ae);return De>=pn(Z._capacity)?It=hs(It,Z.__ownerID,0,De,ct,_n):Ht=hs(Ht,Z.__ownerID,Z._level,De,ct,_n),_n.value?Z.__ownerID?(Z._root=Ht,Z._tail=It,Z.__hash=void 0,Z.__altered=!0,Z):Gs(Z._origin,Z._capacity,Z._level,Ht,It):Z}(this,Z,De)},Co.prototype.remove=function(Z){return this.has(Z)?0===Z?this.shift():Z===this.size-1?this.pop():this.splice(Z,1):this},Co.prototype.insert=function(Z,De){return this.splice(Z,0,De)},Co.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=5,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):To()},Co.prototype.push=function(){var Z=arguments,De=this.size;return this.withMutations(function(ct){Ki(ct,0,De+Z.length);for(var It=0;It<Z.length;It++)ct.set(De+It,Z[It])})},Co.prototype.pop=function(){return Ki(this,0,-1)},Co.prototype.unshift=function(){var Z=arguments;return this.withMutations(function(De){Ki(De,-Z.length);for(var ct=0;ct<Z.length;ct++)De.set(ct,Z[ct])})},Co.prototype.shift=function(){return Ki(this,1)},Co.prototype.merge=function(){return ut(this,void 0,arguments)},Co.prototype.mergeWith=function(Z){return ut(this,Z,b.call(arguments,1))},Co.prototype.mergeDeep=function(){return ut(this,go,arguments)},Co.prototype.mergeDeepWith=function(Z){var De=b.call(arguments,1);return ut(this,Ro(Z),De)},Co.prototype.setSize=function(Z){return Ki(this,0,Z)},Co.prototype.slice=function(Z,De){var ct=this.size;return Xe(Z,De,ct)?this:Ki(this,He(Z,ct),Pe(De,ct))},Co.prototype.__iterator=function(Z,De){var ct=0,It=nl(this,De);return new dn(function(){var Ht=It();return Ht===Is?{value:void 0,done:!0}:rn(Z,ct++,Ht)})},Co.prototype.__iterate=function(Z,De){for(var Ht,ct=0,It=nl(this,De);(Ht=It())!==Is&&!1!==Z(Ht,ct++,this););return ct},Co.prototype.__ensureOwner=function(Z){return Z===this.__ownerID?this:Z?Gs(this._origin,this._capacity,this._level,this._root,this._tail,Z,this.__hash):(this.__ownerID=Z,this)},Co.isList=yl;var Wo="@@__IMMUTABLE_LIST__@@",ys=Co.prototype;function Wa(Z,De){this.array=Z,this.ownerID=De}ys[Wo]=!0,ys[j]=ys.remove,ys.setIn=ir.setIn,ys.deleteIn=ys.removeIn=ir.removeIn,ys.update=ir.update,ys.updateIn=ir.updateIn,ys.mergeIn=ir.mergeIn,ys.mergeDeepIn=ir.mergeDeepIn,ys.withMutations=ir.withMutations,ys.asMutable=ir.asMutable,ys.asImmutable=ir.asImmutable,ys.wasAltered=ir.wasAltered,Wa.prototype.removeBefore=function(Z,De,ct){if(ct===De?1<<De:0===this.array.length)return this;var It=ct>>>De&31;if(It>=this.array.length)return new Wa([],Z);var _n,Ht=0===It;if(De>0){var Pn=this.array[It];if((_n=Pn&&Pn.removeBefore(Z,De-5,ct))===Pn&&Ht)return this}if(Ht&&!_n)return this;var Tr=Oo(this,Z);if(!Ht)for(var ai=0;ai<It;ai++)Tr.array[ai]=void 0;return _n&&(Tr.array[It]=_n),Tr},Wa.prototype.removeAfter=function(Z,De,ct){if(ct===(De?1<<De:0)||0===this.array.length)return this;var Ht,It=ct-1>>>De&31;if(It>=this.array.length)return this;if(De>0){var _n=this.array[It];if((Ht=_n&&_n.removeAfter(Z,De-5,ct))===_n&&It===this.array.length-1)return this}var Pn=Oo(this,Z);return Pn.array.splice(It+1),Ht&&(Pn.array[It]=Ht),Pn};var $o,hn,Is={};function nl(Z,De){var ct=Z._origin,It=Z._capacity,Ht=pn(It),_n=Z._tail;return Pn(Z._root,Z._level,0);function Pn(Ei,Ci,Vi){return 0===Ci?function Tr(Ei,Ci){var Vi=Ci===Ht?_n&&_n.array:Ei&&Ei.array,Pr=Ci>ct?0:ct-Ci,Yn=It-Ci;return Yn>32&&(Yn=32),function(){if(Pr===Yn)return Is;var Rr=De?--Yn:Pr++;return Vi&&Vi[Rr]}}(Ei,Vi):function ai(Ei,Ci,Vi){var Pr,Yn=Ei&&Ei.array,Rr=Vi>ct?0:ct-Vi>>Ci,br=1+(It-Vi>>Ci);return br>32&&(br=32),function(){for(;;){if(Pr){var fo=Pr();if(fo!==Is)return fo;Pr=null}if(Rr===br)return Is;var $s=De?--br:Rr++;Pr=Pn(Yn&&Yn[$s],Ci-5,Vi+($s<<Ci))}}}(Ei,Ci,Vi)}}function Gs(Z,De,ct,It,Ht,_n,Pn){var Tr=Object.create(ys);return Tr.size=De-Z,Tr._origin=Z,Tr._capacity=De,Tr._level=ct,Tr._root=It,Tr._tail=Ht,Tr.__ownerID=_n,Tr.__hash=Pn,Tr.__altered=!1,Tr}function To(){return $o||($o=Gs(0,0,5))}function hs(Z,De,ct,It,Ht,_n){var ai,Pn=It>>>ct&31,Tr=Z&&Pn<Z.array.length;if(!Tr&&void 0===Ht)return Z;if(ct>0){var Ei=Z&&Z.array[Pn],Ci=hs(Ei,De,ct-5,It,Ht,_n);return Ci===Ei?Z:((ai=Oo(Z,De)).array[Pn]=Ci,ai)}return Tr&&Z.array[Pn]===Ht?Z:(fe(_n),ai=Oo(Z,De),void 0===Ht&&Pn===ai.array.length-1?ai.array.pop():ai.array[Pn]=Ht,ai)}function Oo(Z,De){return De&&Z&&De===Z.ownerID?Z:new Wa(Z?Z.array.slice():[],De)}function kr(Z,De){if(De>=pn(Z._capacity))return Z._tail;if(De<1<<Z._level+5){for(var ct=Z._root,It=Z._level;ct&&It>0;)ct=ct.array[De>>>It&31],It-=5;return ct}}function Ki(Z,De,ct){void 0!==De&&(De|=0),void 0!==ct&&(ct|=0);var It=Z.__ownerID||new _e,Ht=Z._origin,_n=Z._capacity,Pn=Ht+De,Tr=void 0===ct?_n:ct<0?_n+ct:Ht+ct;if(Pn===Ht&&Tr===_n)return Z;if(Pn>=Tr)return Z.clear();for(var ai=Z._level,Ei=Z._root,Ci=0;Pn+Ci<0;)Ei=new Wa(Ei&&Ei.array.length?[void 0,Ei]:[],It),Ci+=1<<(ai+=5);Ci&&(Pn+=Ci,Ht+=Ci,Tr+=Ci,_n+=Ci);for(var Vi=pn(_n),Pr=pn(Tr);Pr>=1<<ai+5;)Ei=new Wa(Ei&&Ei.array.length?[Ei]:[],It),ai+=5;var Yn=Z._tail,Rr=Pr<Vi?kr(Z,Tr-1):Pr>Vi?new Wa([],It):Yn;if(Yn&&Pr>Vi&&Pn<_n&&Yn.array.length){for(var br=Ei=Oo(Ei,It),fo=ai;fo>5;fo-=5){var $s=Vi>>>fo&31;br=br.array[$s]=Oo(br.array[$s],It)}br.array[Vi>>>5&31]=Yn}if(Tr<_n&&(Rr=Rr&&Rr.removeAfter(It,0,Tr)),Pn>=Pr)Pn-=Pr,Tr-=Pr,ai=5,Ei=null,Rr=Rr&&Rr.removeBefore(It,0,Pn);else if(Pn>Ht||Pr<Vi){for(Ci=0;Ei;){var ls=Pn>>>ai&31;if(ls!==Pr>>>ai&31)break;ls&&(Ci+=(1<<ai)*ls),ai-=5,Ei=Ei.array[ls]}Ei&&Pn>Ht&&(Ei=Ei.removeBefore(It,ai,Pn-Ci)),Ei&&Pr<Vi&&(Ei=Ei.removeAfter(It,ai,Pr-Ci)),Ci&&(Pn-=Ci,Tr-=Ci)}return Z.__ownerID?(Z.size=Tr-Pn,Z._origin=Pn,Z._capacity=Tr,Z._level=ai,Z._root=Ei,Z._tail=Rr,Z.__hash=void 0,Z.__altered=!0,Z):Gs(Pn,Tr,ai,Ei,Rr)}function ut(Z,De,ct){for(var It=[],Ht=0,_n=0;_n<ct.length;_n++){var Pn=ct[_n],Tr=f(Pn);Tr.size>Ht&&(Ht=Tr.size),e(Pn)||(Tr=Tr.map(function(ai){return zn(ai)})),It.push(Tr)}return Ht>Z.size&&(Z=Z.setSize(Ht)),js(Z,De,It)}function pn(Z){return Z<32?0:Z-1>>>5<<5}function te(Z){return null==Z?ii():Ue(Z)?Z:ii().withMutations(function(De){var ct=a(Z);lo(ct.size),ct.forEach(function(It,Ht){return De.set(Ht,It)})})}function Ue(Z){return ko(Z)&&M(Z)}function jt(Z,De,ct,It){var Ht=Object.create(te.prototype);return Ht.size=Z?Z.size:0,Ht._map=Z,Ht._list=De,Ht.__ownerID=ct,Ht.__hash=It,Ht}function ii(){return hn||(hn=jt(or(),To()))}function Oi(Z,De,ct){var Tr,ai,It=Z._map,Ht=Z._list,_n=It.get(De),Pn=void 0!==_n;if(ct===H){if(!Pn)return Z;Ht.size>=32&&Ht.size>=2*It.size?(Tr=(ai=Ht.filter(function(Ei,Ci){return void 0!==Ei&&_n!==Ci})).toKeyedSeq().map(function(Ei){return Ei[0]}).flip().toMap(),Z.__ownerID&&(Tr.__ownerID=ai.__ownerID=Z.__ownerID)):(Tr=It.remove(De),ai=_n===Ht.size-1?Ht.pop():Ht.set(_n,void 0))}else if(Pn){if(ct===Ht.get(_n)[1])return Z;Tr=It,ai=Ht.set(_n,[De,ct])}else Tr=It.set(De,Ht.size),ai=Ht.set(Ht.size,[De,ct]);return Z.__ownerID?(Z.size=Tr.size,Z._map=Tr,Z._list=ai,Z.__hash=void 0,Z):jt(Tr,ai)}function ki(Z,De){this._iter=Z,this._useKeys=De,this.size=Z.size}function _s(Z){this._iter=Z,this.size=Z.size}function Vo(Z){this._iter=Z,this.size=Z.size}function Fs(Z){this._iter=Z,this.size=Z.size}function Ks(Z){var De=Kn(Z);return De._iter=Z,De.size=Z.size,De.flip=function(){return Z},De.reverse=function(){var ct=Z.reverse.apply(this);return ct.flip=function(){return Z.reverse()},ct},De.has=function(ct){return Z.includes(ct)},De.includes=function(ct){return Z.has(ct)},De.cacheResult=oi,De.__iterateUncached=function(ct,It){var Ht=this;return Z.__iterate(function(_n,Pn){return!1!==ct(Pn,_n,Ht)},It)},De.__iteratorUncached=function(ct,It){if(2===ct){var Ht=Z.__iterator(ct,It);return new dn(function(){var _n=Ht.next();if(!_n.done){var Pn=_n.value[0];_n.value[0]=_n.value[1],_n.value[1]=Pn}return _n})}return Z.__iterator(1===ct?0:1,It)},De}function hl(Z,De,ct){var It=Kn(Z);return It.size=Z.size,It.has=function(Ht){return Z.has(Ht)},It.get=function(Ht,_n){var Pn=Z.get(Ht,H);return Pn===H?_n:De.call(ct,Pn,Ht,Z)},It.__iterateUncached=function(Ht,_n){var Pn=this;return Z.__iterate(function(Tr,ai,Ei){return!1!==Ht(De.call(ct,Tr,ai,Ei),ai,Pn)},_n)},It.__iteratorUncached=function(Ht,_n){var Pn=Z.__iterator(2,_n);return new dn(function(){var Tr=Pn.next();if(Tr.done)return Tr;var ai=Tr.value,Ei=ai[0];return rn(Ht,Ei,De.call(ct,ai[1],Ei,Z),Tr)})},It}function sl(Z,De){var ct=Kn(Z);return ct._iter=Z,ct.size=Z.size,ct.reverse=function(){return Z},Z.flip&&(ct.flip=function(){var It=Ks(Z);return It.reverse=function(){return Z.flip()},It}),ct.get=function(It,Ht){return Z.get(De?It:-1-It,Ht)},ct.has=function(It){return Z.has(De?It:-1-It)},ct.includes=function(It){return Z.includes(It)},ct.cacheResult=oi,ct.__iterate=function(It,Ht){var _n=this;return Z.__iterate(function(Pn,Tr){return It(Pn,Tr,_n)},!Ht)},ct.__iterator=function(It,Ht){return Z.__iterator(It,!Ht)},ct}function Jl(Z,De,ct,It){var Ht=Kn(Z);return It&&(Ht.has=function(_n){var Pn=Z.get(_n,H);return Pn!==H&&!!De.call(ct,Pn,_n,Z)},Ht.get=function(_n,Pn){var Tr=Z.get(_n,H);return Tr!==H&&De.call(ct,Tr,_n,Z)?Tr:Pn}),Ht.__iterateUncached=function(_n,Pn){var Tr=this,ai=0;return Z.__iterate(function(Ei,Ci,Vi){if(De.call(ct,Ei,Ci,Vi))return ai++,_n(Ei,It?Ci:ai-1,Tr)},Pn),ai},Ht.__iteratorUncached=function(_n,Pn){var Tr=Z.__iterator(2,Pn),ai=0;return new dn(function(){for(;;){var Ei=Tr.next();if(Ei.done)return Ei;var Ci=Ei.value,Vi=Ci[0],Pr=Ci[1];if(De.call(ct,Pr,Vi,Z))return rn(_n,It?Vi:ai++,Pr,Ei)}})},Ht}function Cl(Z,De,ct,It){var Ht=Z.size;if(void 0!==De&&(De|=0),void 0!==ct&&(ct===1/0?ct=Ht:ct|=0),Xe(De,ct,Ht))return Z;var _n=He(De,Ht),Pn=Pe(ct,Ht);if(_n!=_n||Pn!=Pn)return Cl(Z.toSeq().cacheResult(),De,ct,It);var ai,Tr=Pn-_n;Tr==Tr&&(ai=Tr<0?0:Tr);var Ei=Kn(Z);return Ei.size=0===ai?ai:Z.size&&ai||void 0,!It&&bi(Z)&&ai>=0&&(Ei.get=function(Ci,Vi){return(Ci=Be(this,Ci))>=0&&Ci<ai?Z.get(Ci+_n,Vi):Vi}),Ei.__iterateUncached=function(Ci,Vi){var Pr=this;if(0===ai)return 0;if(Vi)return this.cacheResult().__iterate(Ci,Vi);var Yn=0,Rr=!0,br=0;return Z.__iterate(function(fo,$s){if(!Rr||!(Rr=Yn++<_n))return br++,!1!==Ci(fo,It?$s:br-1,Pr)&&br!==ai}),br},Ei.__iteratorUncached=function(Ci,Vi){if(0!==ai&&Vi)return this.cacheResult().__iterator(Ci,Vi);var Pr=0!==ai&&Z.__iterator(Ci,Vi),Yn=0,Rr=0;return new dn(function(){for(;Yn++<_n;)Pr.next();if(++Rr>ai)return{value:void 0,done:!0};var br=Pr.next();return It||1===Ci?br:rn(Ci,Rr-1,0===Ci?void 0:br.value[1],br)})},Ei}function Fl(Z,De,ct,It){var Ht=Kn(Z);return Ht.__iterateUncached=function(_n,Pn){var Tr=this;if(Pn)return this.cacheResult().__iterate(_n,Pn);var ai=!0,Ei=0;return Z.__iterate(function(Ci,Vi,Pr){if(!ai||!(ai=De.call(ct,Ci,Vi,Pr)))return Ei++,_n(Ci,It?Vi:Ei-1,Tr)}),Ei},Ht.__iteratorUncached=function(_n,Pn){var Tr=this;if(Pn)return this.cacheResult().__iterator(_n,Pn);var ai=Z.__iterator(2,Pn),Ei=!0,Ci=0;return new dn(function(){var Vi,Pr,Yn;do{if((Vi=ai.next()).done)return It||1===_n?Vi:rn(_n,Ci++,0===_n?void 0:Vi.value[1],Vi);var Rr=Vi.value;Pr=Rr[0],Yn=Rr[1],Ei&&(Ei=De.call(ct,Yn,Pr,Tr))}while(Ei);return 2===_n?Vi:rn(_n,Pr,Yn,Vi)})},Ht}function Ku(Z,De){var ct=p(Z),It=[Z].concat(De).map(function(Pn){return e(Pn)?ct&&(Pn=a(Pn)):Pn=ct?xo(Pn):Er(Array.isArray(Pn)?Pn:[Pn]),Pn}).filter(function(Pn){return 0!==Pn.size});if(0===It.length)return Z;if(1===It.length){var Ht=It[0];if(Ht===Z||ct&&p(Ht)||g(Z)&&g(Ht))return Ht}var _n=new Hn(It);return ct?_n=_n.toKeyedSeq():g(Z)||(_n=_n.toSetSeq()),(_n=_n.flatten(!0)).size=It.reduce(function(Pn,Tr){if(void 0!==Pn){var ai=Tr.size;if(void 0!==ai)return Pn+ai}},0),_n}function Xa(Z,De,ct){var It=Kn(Z);return It.__iterateUncached=function(Ht,_n){var Pn=0,Tr=!1;return function ai(Ei,Ci){var Vi=this;Ei.__iterate(function(Pr,Yn){return(!De||Ci<De)&&e(Pr)?ai(Pr,Ci+1):!1===Ht(Pr,ct?Yn:Pn++,Vi)&&(Tr=!0),!Tr},_n)}(Z,0),Pn},It.__iteratorUncached=function(Ht,_n){var Pn=Z.__iterator(Ht,_n),Tr=[],ai=0;return new dn(function(){for(;Pn;){var Ei=Pn.next();if(!1===Ei.done){var Ci=Ei.value;if(2===Ht&&(Ci=Ci[1]),De&&!(Tr.length<De)||!e(Ci))return ct?Ei:rn(Ht,ai++,Ci,Ei);Tr.push(Pn),Pn=Ci.__iterator(Ht,_n)}else Pn=Tr.pop()}return{value:void 0,done:!0}})},It}function Ja(Z,De,ct){De||(De=wi);var It=p(Z),Ht=0,_n=Z.toSeq().map(function(Pn,Tr){return[Tr,Pn,Ht++,ct?ct(Pn,Tr,Z):Pn]}).toArray();return _n.sort(function(Pn,Tr){return De(Pn[3],Tr[3])||Pn[2]-Tr[2]}).forEach(It?function(Pn,Tr){_n[Tr].length=2}:function(Pn,Tr){_n[Tr]=Pn[1]}),It?ci(_n):g(Z)?hr(_n):Br(_n)}function Ol(Z,De,ct){if(De||(De=wi),ct){var It=Z.toSeq().map(function(Ht,_n){return[Ht,ct(Ht,_n,Z)]}).reduce(function(Ht,_n){return Bl(De,Ht[1],_n[1])?_n:Ht});return It&&It[0]}return Z.reduce(function(Ht,_n){return Bl(De,Ht,_n)?_n:Ht})}function Bl(Z,De,ct){var It=Z(ct,De);return 0===It&&ct!==De&&(null==ct||ct!=ct)||It>0}function Ya(Z,De,ct){var It=Kn(Z);return It.size=new Hn(ct).map(function(Ht){return Ht.size}).min(),It.__iterate=function(Ht,_n){for(var Tr,Pn=this.__iterator(1,_n),ai=0;!(Tr=Pn.next()).done&&!1!==Ht(Tr.value,ai++,this););return ai},It.__iteratorUncached=function(Ht,_n){var Pn=ct.map(function(Ei){return Ei=r(Ei),Gt(_n?Ei.reverse():Ei)}),Tr=0,ai=!1;return new dn(function(){var Ei;return ai||(Ei=Pn.map(function(Ci){return Ci.next()}),ai=Ei.some(function(Ci){return Ci.done})),ai?{value:void 0,done:!0}:rn(Ht,Tr++,De.apply(null,Ei.map(function(Ci){return Ci.value})))})},It}function rt(Z,De){return bi(Z)?De:Z.constructor(De)}function qt(Z){if(Z!==Object(Z))throw new TypeError("Expected [K, V] tuple: "+Z)}function pt(Z){return lo(Z.size),ce(Z)}function Kt(Z){return p(Z)?a:g(Z)?f:u}function Kn(Z){return Object.create((p(Z)?ci:g(Z)?hr:Br).prototype)}function oi(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):mi.prototype.cacheResult.call(this)}function wi(Z,De){return Z>De?1:Z<De?-1:0}function as(Z){var De=Gt(Z);if(!De){if(!pr(Z))throw new TypeError("Expected iterable or array-like: "+Z);De=Gt(r(Z))}return De}function Vs(Z,De){var ct,It=function(Pn){if(Pn instanceof It)return Pn;if(!(this instanceof It))return new It(Pn);if(!ct){ct=!0;var Tr=Object.keys(Z);(function Ka(Z,De){try{De.forEach(al.bind(void 0,Z))}catch(ct){}})(Ht,Tr),Ht.size=Tr.length,Ht._name=De,Ht._keys=Tr,Ht._defaultValues=Z}this._map=Ri(Pn)},Ht=It.prototype=Object.create(Os);return Ht.constructor=It,It}i(te,Ri),te.of=function(){return this(arguments)},te.prototype.toString=function(){return this.__toString("OrderedMap {","}")},te.prototype.get=function(Z,De){var ct=this._map.get(Z);return void 0!==ct?this._list.get(ct)[1]:De},te.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):ii()},te.prototype.set=function(Z,De){return Oi(this,Z,De)},te.prototype.remove=function(Z){return Oi(this,Z,H)},te.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},te.prototype.__iterate=function(Z,De){var ct=this;return this._list.__iterate(function(It){return It&&Z(It[1],It[0],ct)},De)},te.prototype.__iterator=function(Z,De){return this._list.fromEntrySeq().__iterator(Z,De)},te.prototype.__ensureOwner=function(Z){if(Z===this.__ownerID)return this;var De=this._map.__ensureOwner(Z),ct=this._list.__ensureOwner(Z);return Z?jt(De,ct,Z,this.__hash):(this.__ownerID=Z,this._map=De,this._list=ct,this)},te.isOrderedMap=Ue,te.prototype[W]=!0,te.prototype[j]=te.prototype.remove,i(ki,ci),ki.prototype.get=function(Z,De){return this._iter.get(Z,De)},ki.prototype.has=function(Z){return this._iter.has(Z)},ki.prototype.valueSeq=function(){return this._iter.valueSeq()},ki.prototype.reverse=function(){var Z=this,De=sl(this,!0);return this._useKeys||(De.valueSeq=function(){return Z._iter.toSeq().reverse()}),De},ki.prototype.map=function(Z,De){var ct=this,It=hl(this,Z,De);return this._useKeys||(It.valueSeq=function(){return ct._iter.toSeq().map(Z,De)}),It},ki.prototype.__iterate=function(Z,De){var It,ct=this;return this._iter.__iterate(this._useKeys?function(Ht,_n){return Z(Ht,_n,ct)}:(It=De?pt(this):0,function(Ht){return Z(Ht,De?--It:It++,ct)}),De)},ki.prototype.__iterator=function(Z,De){if(this._useKeys)return this._iter.__iterator(Z,De);var ct=this._iter.__iterator(1,De),It=De?pt(this):0;return new dn(function(){var Ht=ct.next();return Ht.done?Ht:rn(Z,De?--It:It++,Ht.value,Ht)})},ki.prototype[W]=!0,i(_s,hr),_s.prototype.includes=function(Z){return this._iter.includes(Z)},_s.prototype.__iterate=function(Z,De){var ct=this,It=0;return this._iter.__iterate(function(Ht){return Z(Ht,It++,ct)},De)},_s.prototype.__iterator=function(Z,De){var ct=this._iter.__iterator(1,De),It=0;return new dn(function(){var Ht=ct.next();return Ht.done?Ht:rn(Z,It++,Ht.value,Ht)})},i(Vo,Br),Vo.prototype.has=function(Z){return this._iter.includes(Z)},Vo.prototype.__iterate=function(Z,De){var ct=this;return this._iter.__iterate(function(It){return Z(It,It,ct)},De)},Vo.prototype.__iterator=function(Z,De){var ct=this._iter.__iterator(1,De);return new dn(function(){var It=ct.next();return It.done?It:rn(Z,It.value,It.value,It)})},i(Fs,ci),Fs.prototype.entrySeq=function(){return this._iter.toSeq()},Fs.prototype.__iterate=function(Z,De){var ct=this;return this._iter.__iterate(function(It){if(It){qt(It);var Ht=e(It);return Z(Ht?It.get(1):It[1],Ht?It.get(0):It[0],ct)}},De)},Fs.prototype.__iterator=function(Z,De){var ct=this._iter.__iterator(1,De);return new dn(function(){for(;;){var It=ct.next();if(It.done)return It;var Ht=It.value;if(Ht){qt(Ht);var _n=e(Ht);return rn(Z,_n?Ht.get(0):Ht[0],_n?Ht.get(1):Ht[1],It)}}})},_s.prototype.cacheResult=ki.prototype.cacheResult=Vo.prototype.cacheResult=Fs.prototype.cacheResult=oi,i(Vs,Se),Vs.prototype.toString=function(){return this.__toString(Fo(this)+" {","}")},Vs.prototype.has=function(Z){return this._defaultValues.hasOwnProperty(Z)},Vs.prototype.get=function(Z,De){if(!this.has(Z))return De;var ct=this._defaultValues[Z];return this._map?this._map.get(Z,ct):ct},Vs.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var Z=this.constructor;return Z._empty||(Z._empty=ws(this,or()))},Vs.prototype.set=function(Z,De){if(!this.has(Z))throw new Error('Cannot set unknown key "'+Z+'" on '+Fo(this));if(this._map&&!this._map.has(Z)&&De===this._defaultValues[Z])return this;var It=this._map&&this._map.set(Z,De);return this.__ownerID||It===this._map?this:ws(this,It)},Vs.prototype.remove=function(Z){if(!this.has(Z))return this;var De=this._map&&this._map.remove(Z);return this.__ownerID||De===this._map?this:ws(this,De)},Vs.prototype.wasAltered=function(){return this._map.wasAltered()},Vs.prototype.__iterator=function(Z,De){var ct=this;return a(this._defaultValues).map(function(It,Ht){return ct.get(Ht)}).__iterator(Z,De)},Vs.prototype.__iterate=function(Z,De){var ct=this;return a(this._defaultValues).map(function(It,Ht){return ct.get(Ht)}).__iterate(Z,De)},Vs.prototype.__ensureOwner=function(Z){if(Z===this.__ownerID)return this;var De=this._map&&this._map.__ensureOwner(Z);return Z?ws(this,De,Z):(this.__ownerID=Z,this._map=De,this)};var Os=Vs.prototype;function ws(Z,De,ct){var It=Object.create(Object.getPrototypeOf(Z));return It._map=De,It.__ownerID=ct,It}function Fo(Z){return Z._name||Z.constructor.name||"Record"}function al(Z,De){Object.defineProperty(Z,De,{get:function(){return this.get(De)},set:function(ct){Wn(this.__ownerID,"Cannot set on an immutable record."),this.set(De,ct)}})}function Bs(Z){return null==Z?ja():mt(Z)&&!M(Z)?Z:ja().withMutations(function(De){var ct=u(Z);lo(ct.size),ct.forEach(function(It){return De.add(It)})})}function mt(Z){return!(!Z||!Z[ot])}Os[j]=Os.remove,Os.deleteIn=Os.removeIn=ir.removeIn,Os.merge=ir.merge,Os.mergeWith=ir.mergeWith,Os.mergeIn=ir.mergeIn,Os.mergeDeep=ir.mergeDeep,Os.mergeDeepWith=ir.mergeDeepWith,Os.mergeDeepIn=ir.mergeDeepIn,Os.setIn=ir.setIn,Os.update=ir.update,Os.updateIn=ir.updateIn,Os.withMutations=ir.withMutations,Os.asMutable=ir.asMutable,Os.asImmutable=ir.asImmutable,i(Bs,st),Bs.of=function(){return this(arguments)},Bs.fromKeys=function(Z){return this(a(Z).keySeq())},Bs.prototype.toString=function(){return this.__toString("Set {","}")},Bs.prototype.has=function(Z){return this._map.has(Z)},Bs.prototype.add=function(Z){return Xt(this,this._map.set(Z,!0))},Bs.prototype.remove=function(Z){return Xt(this,this._map.remove(Z))},Bs.prototype.clear=function(){return Xt(this,this._map.clear())},Bs.prototype.union=function(){var Z=b.call(arguments,0);return 0===(Z=Z.filter(function(De){return 0!==De.size})).length?this:0!==this.size||this.__ownerID||1!==Z.length?this.withMutations(function(De){for(var ct=0;ct<Z.length;ct++)u(Z[ct]).forEach(function(It){return De.add(It)})}):this.constructor(Z[0])},Bs.prototype.intersect=function(){var Z=b.call(arguments,0);if(0===Z.length)return this;Z=Z.map(function(ct){return u(ct)});var De=this;return this.withMutations(function(ct){De.forEach(function(It){Z.every(function(Ht){return Ht.includes(It)})||ct.remove(It)})})},Bs.prototype.subtract=function(){var Z=b.call(arguments,0);if(0===Z.length)return this;Z=Z.map(function(ct){return u(ct)});var De=this;return this.withMutations(function(ct){De.forEach(function(It){Z.some(function(Ht){return Ht.includes(It)})&&ct.remove(It)})})},Bs.prototype.merge=function(){return this.union.apply(this,arguments)},Bs.prototype.mergeWith=function(Z){var De=b.call(arguments,1);return this.union.apply(this,De)},Bs.prototype.sort=function(Z){return El(Ja(this,Z))},Bs.prototype.sortBy=function(Z,De){return El(Ja(this,De,Z))},Bs.prototype.wasAltered=function(){return this._map.wasAltered()},Bs.prototype.__iterate=function(Z,De){var ct=this;return this._map.__iterate(function(It,Ht){return Z(Ht,Ht,ct)},De)},Bs.prototype.__iterator=function(Z,De){return this._map.map(function(ct,It){return It}).__iterator(Z,De)},Bs.prototype.__ensureOwner=function(Z){if(Z===this.__ownerID)return this;var De=this._map.__ensureOwner(Z);return Z?this.__make(De,Z):(this.__ownerID=Z,this._map=De,this)},Bs.isSet=mt;var Jo,ot="@@__IMMUTABLE_SET__@@",je=Bs.prototype;function Xt(Z,De){return Z.__ownerID?(Z.size=De.size,Z._map=De,Z):De===Z._map?Z:0===De.size?Z.__empty():Z.__make(De)}function Si(Z,De){var ct=Object.create(je);return ct.size=Z?Z.size:0,ct._map=Z,ct.__ownerID=De,ct}function ja(){return Jo||(Jo=Si(or()))}function El(Z){return null==Z?aa():qu(Z)?Z:aa().withMutations(function(De){var ct=u(Z);lo(ct.size),ct.forEach(function(It){return De.add(It)})})}function qu(Z){return mt(Z)&&M(Z)}je[ot]=!0,je[j]=je.remove,je.mergeDeep=je.merge,je.mergeDeepWith=je.mergeWith,je.withMutations=ir.withMutations,je.asMutable=ir.asMutable,je.asImmutable=ir.asImmutable,je.__empty=ja,je.__make=Si,i(El,Bs),El.of=function(){return this(arguments)},El.fromKeys=function(Z){return this(a(Z).keySeq())},El.prototype.toString=function(){return this.__toString("OrderedSet {","}")},El.isOrderedSet=qu;var Yi,Nc=El.prototype;function hd(Z,De){var ct=Object.create(Nc);return ct.size=Z?Z.size:0,ct._map=Z,ct.__ownerID=De,ct}function aa(){return Yi||(Yi=hd(ii()))}function Fa(Z){return null==Z?iu():Es(Z)?Z:iu().unshiftAll(Z)}function Es(Z){return!(!Z||!Z[ec])}Nc[W]=!0,Nc.__empty=aa,Nc.__make=hd,i(Fa,dt),Fa.of=function(){return this(arguments)},Fa.prototype.toString=function(){return this.__toString("Stack [","]")},Fa.prototype.get=function(Z,De){var ct=this._head;for(Z=Be(this,Z);ct&&Z--;)ct=ct.next;return ct?ct.value:De},Fa.prototype.peek=function(){return this._head&&this._head.value},Fa.prototype.push=function(){if(0===arguments.length)return this;for(var Z=this.size+arguments.length,De=this._head,ct=arguments.length-1;ct>=0;ct--)De={value:arguments[ct],next:De};return this.__ownerID?(this.size=Z,this._head=De,this.__hash=void 0,this.__altered=!0,this):lu(Z,De)},Fa.prototype.pushAll=function(Z){if(0===(Z=f(Z)).size)return this;lo(Z.size);var De=this.size,ct=this._head;return Z.reverse().forEach(function(It){De++,ct={value:It,next:ct}}),this.__ownerID?(this.size=De,this._head=ct,this.__hash=void 0,this.__altered=!0,this):lu(De,ct)},Fa.prototype.pop=function(){return this.slice(1)},Fa.prototype.unshift=function(){return this.push.apply(this,arguments)},Fa.prototype.unshiftAll=function(Z){return this.pushAll(Z)},Fa.prototype.shift=function(){return this.pop.apply(this,arguments)},Fa.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):iu()},Fa.prototype.slice=function(Z,De){if(Xe(Z,De,this.size))return this;var ct=He(Z,this.size);if(Pe(De,this.size)!==this.size)return dt.prototype.slice.call(this,Z,De);for(var Ht=this.size-ct,_n=this._head;ct--;)_n=_n.next;return this.__ownerID?(this.size=Ht,this._head=_n,this.__hash=void 0,this.__altered=!0,this):lu(Ht,_n)},Fa.prototype.__ensureOwner=function(Z){return Z===this.__ownerID?this:Z?lu(this.size,this._head,Z,this.__hash):(this.__ownerID=Z,this.__altered=!1,this)},Fa.prototype.__iterate=function(Z,De){if(De)return this.reverse().__iterate(Z);for(var ct=0,It=this._head;It&&!1!==Z(It.value,ct++,this);)It=It.next;return ct},Fa.prototype.__iterator=function(Z,De){if(De)return this.reverse().__iterator(Z);var ct=0,It=this._head;return new dn(function(){if(It){var Ht=It.value;return It=It.next,rn(Z,ct++,Ht)}return{value:void 0,done:!0}})},Fa.isStack=Es;var Eu,ec="@@__IMMUTABLE_STACK__@@",Sl=Fa.prototype;function lu(Z,De,ct,It){var Ht=Object.create(Sl);return Ht.size=Z,Ht._head=De,Ht.__ownerID=ct,Ht.__hash=It,Ht.__altered=!1,Ht}function iu(){return Eu||(Eu=lu(0))}function ra(Z,De){var ct=function(It){Z.prototype[It]=De[It]};return Object.keys(De).forEach(ct),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(De).forEach(ct),Z}Sl[ec]=!0,Sl.withMutations=ir.withMutations,Sl.asMutable=ir.asMutable,Sl.asImmutable=ir.asImmutable,Sl.wasAltered=ir.wasAltered,r.Iterator=dn,ra(r,{toArray:function(){lo(this.size);var Z=new Array(this.size||0);return this.valueSeq().__iterate(function(De,ct){Z[ct]=De}),Z},toIndexedSeq:function(){return new _s(this)},toJS:function(){return this.toSeq().map(function(Z){return Z&&"function"==typeof Z.toJS?Z.toJS():Z}).__toJS()},toJSON:function(){return this.toSeq().map(function(Z){return Z&&"function"==typeof Z.toJSON?Z.toJSON():Z}).__toJS()},toKeyedSeq:function(){return new ki(this,!0)},toMap:function(){return Ri(this.toKeyedSeq())},toObject:function(){lo(this.size);var Z={};return this.__iterate(function(De,ct){Z[ct]=De}),Z},toOrderedMap:function(){return te(this.toKeyedSeq())},toOrderedSet:function(){return El(p(this)?this.valueSeq():this)},toSet:function(){return Bs(p(this)?this.valueSeq():this)},toSetSeq:function(){return new Vo(this)},toSeq:function(){return g(this)?this.toIndexedSeq():p(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Fa(p(this)?this.valueSeq():this)},toList:function(){return Co(p(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(Z,De){return 0===this.size?Z+De:Z+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+De},concat:function(){return rt(this,Ku(this,b.call(arguments,0)))},includes:function(Z){return this.some(function(De){return vr(De,Z)})},entries:function(){return this.__iterator(2)},every:function(Z,De){lo(this.size);var ct=!0;return this.__iterate(function(It,Ht,_n){if(!Z.call(De,It,Ht,_n))return ct=!1,!1}),ct},filter:function(Z,De){return rt(this,Jl(this,Z,De,!0))},find:function(Z,De,ct){var It=this.findEntry(Z,De);return It?It[1]:ct},forEach:function(Z,De){return lo(this.size),this.__iterate(De?Z.bind(De):Z)},join:function(Z){lo(this.size),Z=void 0!==Z?""+Z:",";var De="",ct=!0;return this.__iterate(function(It){ct?ct=!1:De+=Z,De+=null!=It?It.toString():""}),De},keys:function(){return this.__iterator(0)},map:function(Z,De){return rt(this,hl(this,Z,De))},reduce:function(Z,De,ct){var It,Ht;return lo(this.size),arguments.length<2?Ht=!0:It=De,this.__iterate(function(_n,Pn,Tr){Ht?(Ht=!1,It=_n):It=Z.call(ct,It,_n,Pn,Tr)}),It},reduceRight:function(Z,De,ct){var It=this.toKeyedSeq().reverse();return It.reduce.apply(It,arguments)},reverse:function(){return rt(this,sl(this,!0))},slice:function(Z,De){return rt(this,Cl(this,Z,De,!0))},some:function(Z,De){return!this.every(du(Z),De)},sort:function(Z){return rt(this,Ja(this,Z))},values:function(){return this.__iterator(1)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(Z,De){return ce(Z?this.toSeq().filter(Z,De):this)},countBy:function(Z,De){return function Xu(Z,De,ct){var It=Ri().asMutable();return Z.__iterate(function(Ht,_n){It.update(De.call(ct,Ht,_n,Z),0,function(Pn){return Pn+1})}),It.asImmutable()}(this,Z,De)},equals:function(Z){return Ji(this,Z)},entrySeq:function(){var Z=this;if(Z._cache)return new Hn(Z._cache);var De=Z.toSeq().map(uu).toIndexedSeq();return De.fromEntrySeq=function(){return Z.toSeq()},De},filterNot:function(Z,De){return this.filter(du(Z),De)},findEntry:function(Z,De,ct){var It=ct;return this.__iterate(function(Ht,_n,Pn){if(Z.call(De,Ht,_n,Pn))return It=[_n,Ht],!1}),It},findKey:function(Z,De){var ct=this.findEntry(Z,De);return ct&&ct[0]},findLast:function(Z,De,ct){return this.toKeyedSeq().reverse().find(Z,De,ct)},findLastEntry:function(Z,De,ct){return this.toKeyedSeq().reverse().findEntry(Z,De,ct)},findLastKey:function(Z,De){return this.toKeyedSeq().reverse().findKey(Z,De)},first:function(){return this.find(Ve)},flatMap:function(Z,De){return rt(this,function Mc(Z,De,ct){var It=Kt(Z);return Z.toSeq().map(function(Ht,_n){return It(De.call(ct,Ht,_n,Z))}).flatten(!0)}(this,Z,De))},flatten:function(Z){return rt(this,Xa(this,Z,!0))},fromEntrySeq:function(){return new Fs(this)},get:function(Z,De){return this.find(function(ct,It){return vr(It,Z)},void 0,De)},getIn:function(Z,De){for(var Ht,ct=this,It=as(Z);!(Ht=It.next()).done;)if((ct=ct&&ct.get?ct.get(Ht.value,H):H)===H)return De;return ct},groupBy:function(Z,De){return function _c(Z,De,ct){var It=p(Z),Ht=(M(Z)?te():Ri()).asMutable();Z.__iterate(function(Pn,Tr){Ht.update(De.call(ct,Pn,Tr,Z),function(ai){return(ai=ai||[]).push(It?[Tr,Pn]:Pn),ai})});var _n=Kt(Z);return Ht.map(function(Pn){return rt(Z,_n(Pn))})}(this,Z,De)},has:function(Z){return this.get(Z,H)!==H},hasIn:function(Z){return this.getIn(Z,H)!==H},isSubset:function(Z){return Z="function"==typeof Z.includes?Z:r(Z),this.every(function(De){return Z.includes(De)})},isSuperset:function(Z){return(Z="function"==typeof Z.isSubset?Z:r(Z)).isSubset(this)},keyOf:function(Z){return this.findKey(function(De){return vr(De,Z)})},keySeq:function(){return this.toSeq().map(tc).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(Z){return this.toKeyedSeq().reverse().keyOf(Z)},max:function(Z){return Ol(this,Z)},maxBy:function(Z,De){return Ol(this,De,Z)},min:function(Z){return Ol(this,Z?nd(Z):wu)},minBy:function(Z,De){return Ol(this,De?nd(De):wu,Z)},rest:function(){return this.slice(1)},skip:function(Z){return this.slice(Math.max(0,Z))},skipLast:function(Z){return rt(this,this.toSeq().reverse().skip(Z).reverse())},skipWhile:function(Z,De){return rt(this,Fl(this,Z,De,!0))},skipUntil:function(Z,De){return this.skipWhile(du(Z),De)},sortBy:function(Z,De){return rt(this,Ja(this,De,Z))},take:function(Z){return this.slice(0,Math.max(0,Z))},takeLast:function(Z){return rt(this,this.toSeq().reverse().take(Z).reverse())},takeWhile:function(Z,De){return rt(this,function mc(Z,De,ct){var It=Kn(Z);return It.__iterateUncached=function(Ht,_n){var Pn=this;if(_n)return this.cacheResult().__iterate(Ht,_n);var Tr=0;return Z.__iterate(function(ai,Ei,Ci){return De.call(ct,ai,Ei,Ci)&&++Tr&&Ht(ai,Ei,Pn)}),Tr},It.__iteratorUncached=function(Ht,_n){var Pn=this;if(_n)return this.cacheResult().__iterator(Ht,_n);var Tr=Z.__iterator(2,_n),ai=!0;return new dn(function(){if(!ai)return{value:void 0,done:!0};var Ei=Tr.next();if(Ei.done)return Ei;var Ci=Ei.value,Vi=Ci[0],Pr=Ci[1];return De.call(ct,Pr,Vi,Pn)?2===Ht?Ei:rn(Ht,Vi,Pr,Ei):(ai=!1,{value:void 0,done:!0})})},It}(this,Z,De))},takeUntil:function(Z,De){return this.takeWhile(du(Z),De)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function Ld(Z){if(Z.size===1/0)return 0;var De=M(Z),ct=p(Z),It=De?1:0;return function Io(Z,De){return De=nn(De,3432918353),De=nn(De<<15|De>>>-15,461845907),De=nn(De<<13|De>>>-13,5),De=nn((De=(De+3864292196|0)^Z)^De>>>16,2246822507),Fe((De=nn(De^De>>>13,3266489909))^De>>>16)}(Z.__iterate(ct?De?function(_n,Pn){It=31*It+fu(Lr(_n),Lr(Pn))|0}:function(_n,Pn){It=It+fu(Lr(_n),Lr(Pn))|0}:De?function(_n){It=31*It+Lr(_n)|0}:function(_n){It=It+Lr(_n)|0}),It)}(this))}});var bu=r.prototype;bu[w]=!0,bu[Yt]=bu.values,bu.__toJS=bu.toArray,bu.__toStringMapper=Uu,bu.inspect=bu.toSource=function(){return this.toString()},bu.chain=bu.flatMap,bu.contains=bu.includes,ra(a,{flip:function(){return rt(this,Ks(this))},mapEntries:function(Z,De){var ct=this,It=0;return rt(this,this.toSeq().map(function(Ht,_n){return Z.call(De,[_n,Ht],It++,ct)}).fromEntrySeq())},mapKeys:function(Z,De){var ct=this;return rt(this,this.toSeq().flip().map(function(It,Ht){return Z.call(De,It,Ht,ct)}).flip())}});var td=a.prototype;function tc(Z,De){return De}function uu(Z,De){return[De,Z]}function du(Z){return function(){return!Z.apply(this,arguments)}}function nd(Z){return function(){return-Z.apply(this,arguments)}}function Uu(Z){return"string"==typeof Z?JSON.stringify(Z):String(Z)}function Yu(){return Ce(arguments)}function wu(Z,De){return Z<De?1:Z>De?-1:0}function fu(Z,De){return Z^De+2654435769+(Z<<6)+(Z>>2)|0}return td[R]=!0,td[Yt]=bu.entries,td.__toJS=bu.toObject,td.__toStringMapper=function(Z,De){return JSON.stringify(De)+": "+Uu(Z)},ra(f,{toKeyedSeq:function(){return new ki(this,!1)},filter:function(Z,De){return rt(this,Jl(this,Z,De,!1))},findIndex:function(Z,De){var ct=this.findEntry(Z,De);return ct?ct[0]:-1},indexOf:function(Z){var De=this.keyOf(Z);return void 0===De?-1:De},lastIndexOf:function(Z){var De=this.lastKeyOf(Z);return void 0===De?-1:De},reverse:function(){return rt(this,sl(this,!1))},slice:function(Z,De){return rt(this,Cl(this,Z,De,!1))},splice:function(Z,De){var ct=arguments.length;if(De=Math.max(0|De,0),0===ct||2===ct&&!De)return this;Z=He(Z,Z<0?this.count():this.size);var It=this.slice(0,Z);return rt(this,1===ct?It:It.concat(Ce(arguments,2),this.slice(Z+De)))},findLastIndex:function(Z,De){var ct=this.findLastEntry(Z,De);return ct?ct[0]:-1},first:function(){return this.get(0)},flatten:function(Z){return rt(this,Xa(this,Z,!1))},get:function(Z,De){return(Z=Be(this,Z))<0||this.size===1/0||void 0!==this.size&&Z>this.size?De:this.find(function(ct,It){return It===Z},void 0,De)},has:function(Z){return(Z=Be(this,Z))>=0&&(void 0!==this.size?this.size===1/0||Z<this.size:-1!==this.indexOf(Z))},interpose:function(Z){return rt(this,function ru(Z,De){var ct=Kn(Z);return ct.size=Z.size&&2*Z.size-1,ct.__iterateUncached=function(It,Ht){var _n=this,Pn=0;return Z.__iterate(function(Tr,ai){return(!Pn||!1!==It(De,Pn++,_n))&&!1!==It(Tr,Pn++,_n)},Ht),Pn},ct.__iteratorUncached=function(It,Ht){var Tr,_n=Z.__iterator(1,Ht),Pn=0;return new dn(function(){return(!Tr||Pn%2)&&(Tr=_n.next()).done?Tr:Pn%2?rn(It,Pn++,De):rn(It,Pn++,Tr.value,Tr)})},ct}(this,Z))},interleave:function(){var Z=[this].concat(Ce(arguments)),De=Ya(this.toSeq(),hr.of,Z),ct=De.flatten(!0);return De.size&&(ct.size=De.size*Z.length),rt(this,ct)},keySeq:function(){return et(0,this.size)},last:function(){return this.get(-1)},skipWhile:function(Z,De){return rt(this,Fl(this,Z,De,!1))},zip:function(){return rt(this,Ya(this,Yu,[this].concat(Ce(arguments))))},zipWith:function(Z){var De=Ce(arguments);return De[0]=this,rt(this,Ya(this,Z,De))}}),f.prototype[U]=!0,f.prototype[W]=!0,ra(u,{get:function(Z,De){return this.has(Z)?Z:De},includes:function(Z){return this.has(Z)},keySeq:function(){return this.valueSeq()}}),u.prototype.has=bu.includes,u.prototype.contains=u.prototype.includes,ra(ci,a.prototype),ra(hr,f.prototype),ra(Br,u.prototype),ra(Se,a.prototype),ra(dt,f.prototype),ra(st,u.prototype),{Iterable:r,Seq:mi,Collection:Re,Map:Ri,OrderedMap:te,List:Co,Stack:Fa,Set:Bs,OrderedSet:El,Record:Vs,Range:et,Repeat:mn,is:vr,fromJS:zn}}()},74299:v=>{v.exports=function(b,i,r,a){var u=new Blob(void 0!==a?[a,b]:[b],{type:r||"application/octet-stream"});if(void 0!==window.navigator.msSaveBlob)window.navigator.msSaveBlob(u,i);else{var e=window.URL&&window.URL.createObjectURL?window.URL.createObjectURL(u):window.webkitURL.createObjectURL(u),p=document.createElement("a");p.style.display="none",p.href=e,p.setAttribute("download",i),void 0===p.download&&p.setAttribute("target","_blank"),document.body.appendChild(p),p.click(),setTimeout(function(){document.body.removeChild(p),window.URL.revokeObjectURL(e)},200)}}},86906:v=>{var a=/^\s+|\s+$/g,f=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,e=/^0o[0-7]+$/i,p=parseInt,g="object"==typeof global&&global&&global.Object===Object&&global,T="object"==typeof self&&self&&self.Object===Object&&self,M=g||T||Function("return this")(),R=Object.prototype.toString,U=Math.max,W=Math.min,j=function(){return M.Date.now()};function ue(ae){var ie=typeof ae;return!!ae&&("object"==ie||"function"==ie)}function se(ae){if("number"==typeof ae)return ae;if(function H(ae){return"symbol"==typeof ae||function re(ae){return!!ae&&"object"==typeof ae}(ae)&&"[object Symbol]"==R.call(ae)}(ae))return NaN;if(ue(ae)){var ie="function"==typeof ae.valueOf?ae.valueOf():ae;ae=ue(ie)?ie+"":ie}if("string"!=typeof ae)return 0===ae?ae:+ae;ae=ae.replace(a,"");var fe=u.test(ae);return fe||e.test(ae)?p(ae.slice(2),fe?2:8):f.test(ae)?NaN:+ae}v.exports=function q(ae,ie,fe){var _e,Ce,ce,Be,Ve,Xe,He=0,Pe=!1,Ge=!1,Oe=!0;if("function"!=typeof ae)throw new TypeError("Expected a function");function Tt(Ct){var Gt=_e,Fn=Ce;return _e=Ce=void 0,He=Ct,Be=ae.apply(Fn,Gt)}function We(Ct){return He=Ct,Ve=setTimeout(Yt,ie),Pe?Tt(Ct):Be}function Nt(Ct){var Gt=Ct-Xe;return void 0===Xe||Gt>=ie||Gt<0||Ge&&Ct-He>=ce}function Yt(){var Ct=j();if(Nt(Ct))return dn(Ct);Ve=setTimeout(Yt,function Qt(Ct){var pr=ie-(Ct-Xe);return Ge?W(pr,ce-(Ct-He)):pr}(Ct))}function dn(Ct){return Ve=void 0,Oe&&_e?Tt(Ct):(_e=Ce=void 0,Be)}function xt(){var Ct=j(),Gt=Nt(Ct);if(_e=arguments,Ce=this,Xe=Ct,Gt){if(void 0===Ve)return We(Xe);if(Ge)return Ve=setTimeout(Yt,ie),Tt(Xe)}return void 0===Ve&&(Ve=setTimeout(Yt,ie)),Be}return ie=se(ie)||0,ue(fe)&&(Pe=!!fe.leading,ce=(Ge="maxWait"in fe)?U(se(fe.maxWait)||0,ie):ce,Oe="trailing"in fe?!!fe.trailing:Oe),xt.cancel=function rn(){void 0!==Ve&&clearTimeout(Ve),He=0,_e=Xe=Ce=Ve=void 0},xt.flush=function vt(){return void 0===Ve?Be:dn(j())},xt}},66941:v=>{var Hn,i="__lodash_hash_undefined__",u=/^\[object .+?Constructor\]$/,e="object"==typeof global&&global&&global.Object===Object&&global,p="object"==typeof self&&self&&self.Object===Object&&self,g=e||p||Function("return this")(),w=Array.prototype,R=Function.prototype,U=Object.prototype,W=g["__core-js_shared__"],j=(Hn=/[^.]+$/.exec(W&&W.keys&&W.keys.IE_PROTO||""))?"Symbol(src)_1."+Hn:"",q=R.toString,ue=U.hasOwnProperty,re=U.toString,H=RegExp("^"+q.call(ue).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),se=w.splice,ae=Gt(g,"Map"),ie=Gt(Object,"create");function fe(Hn){var er=-1,_r=Hn?Hn.length:0;for(this.clear();++er<_r;){var ei=Hn[er];this.set(ei[0],ei[1])}}function Xe(Hn){var er=-1,_r=Hn?Hn.length:0;for(this.clear();++er<_r;){var ei=Hn[er];this.set(ei[0],ei[1])}}function We(Hn){var er=-1,_r=Hn?Hn.length:0;for(this.clear();++er<_r;){var ei=Hn[er];this.set(ei[0],ei[1])}}function vt(Hn,er){for(var _r=Hn.length;_r--;)if(hr(Hn[_r][0],er))return _r;return-1}function Ct(Hn,er){var _r=Hn.__data__;return function Fn(Hn){var er=typeof Hn;return"string"==er||"number"==er||"symbol"==er||"boolean"==er?"__proto__"!==Hn:null===Hn}(er)?_r["string"==typeof er?"string":"hash"]:_r.map}function Gt(Hn,er){var _r=function T(Hn,er){return null==Hn?void 0:Hn[er]}(Hn,er);return function xt(Hn){if(!Ur(Hn)||function pr(Hn){return!!j&&j in Hn}(Hn))return!1;var er=function Br(Hn){var er=Ur(Hn)?re.call(Hn):"";return"[object Function]"==er||"[object GeneratorFunction]"==er}(Hn)||function M(Hn){var er=!1;if(null!=Hn&&"function"!=typeof Hn.toString)try{er=!!(Hn+"")}catch(_r){}return er}(Hn)?H:u;return er.test(function mi(Hn){if(null!=Hn){try{return q.call(Hn)}catch(er){}try{return Hn+""}catch(er){}}return""}(Hn))}(_r)?_r:void 0}function ci(Hn,er){if("function"!=typeof Hn||er&&"function"!=typeof er)throw new TypeError("Expected a function");var _r=function(){var ei=arguments,bi=er?er.apply(this,ei):ei[0],fi=_r.cache;if(fi.has(bi))return fi.get(bi);var no=Hn.apply(this,ei);return _r.cache=fi.set(bi,no),no};return _r.cache=new(ci.Cache||We),_r}function hr(Hn,er){return Hn===er||Hn!=Hn&&er!=er}function Ur(Hn){var er=typeof Hn;return!!Hn&&("object"==er||"function"==er)}fe.prototype.clear=function _e(){this.__data__=ie?ie(null):{}},fe.prototype.delete=function Ce(Hn){return this.has(Hn)&&delete this.__data__[Hn]},fe.prototype.get=function ce(Hn){var er=this.__data__;if(ie){var _r=er[Hn];return _r===i?void 0:_r}return ue.call(er,Hn)?er[Hn]:void 0},fe.prototype.has=function Be(Hn){var er=this.__data__;return ie?void 0!==er[Hn]:ue.call(er,Hn)},fe.prototype.set=function Ve(Hn,er){return this.__data__[Hn]=ie&&void 0===er?i:er,this},Xe.prototype.clear=function He(){this.__data__=[]},Xe.prototype.delete=function Pe(Hn){var er=this.__data__,_r=vt(er,Hn);return!(_r<0||(_r==er.length-1?er.pop():se.call(er,_r,1),0))},Xe.prototype.get=function Ge(Hn){var er=this.__data__,_r=vt(er,Hn);return _r<0?void 0:er[_r][1]},Xe.prototype.has=function Oe(Hn){return vt(this.__data__,Hn)>-1},Xe.prototype.set=function Tt(Hn,er){var _r=this.__data__,ei=vt(_r,Hn);return ei<0?_r.push([Hn,er]):_r[ei][1]=er,this},We.prototype.clear=function Qt(){this.__data__={hash:new fe,map:new(ae||Xe),string:new fe}},We.prototype.delete=function Nt(Hn){return Ct(this,Hn).delete(Hn)},We.prototype.get=function Yt(Hn){return Ct(this,Hn).get(Hn)},We.prototype.has=function dn(Hn){return Ct(this,Hn).has(Hn)},We.prototype.set=function rn(Hn,er){return Ct(this,Hn).set(Hn,er),this},ci.Cache=We,v.exports=ci},6123:v=>{var b="Expected a function",a=/^\s+|\s+$/g,f=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,e=/^0o[0-7]+$/i,p=parseInt,g="object"==typeof global&&global&&global.Object===Object&&global,T="object"==typeof self&&self&&self.Object===Object&&self,M=g||T||Function("return this")(),R=Object.prototype.toString,U=Math.max,W=Math.min,j=function(){return M.Date.now()};function re(ie){var fe=typeof ie;return!!ie&&("object"==fe||"function"==fe)}function ae(ie){if("number"==typeof ie)return ie;if(function se(ie){return"symbol"==typeof ie||function H(ie){return!!ie&&"object"==typeof ie}(ie)&&"[object Symbol]"==R.call(ie)}(ie))return NaN;if(re(ie)){var fe="function"==typeof ie.valueOf?ie.valueOf():ie;ie=re(fe)?fe+"":fe}if("string"!=typeof ie)return 0===ie?ie:+ie;ie=ie.replace(a,"");var _e=u.test(ie);return _e||e.test(ie)?p(ie.slice(2),_e?2:8):f.test(ie)?NaN:+ie}v.exports=function ue(ie,fe,_e){var Ce=!0,ce=!0;if("function"!=typeof ie)throw new TypeError(b);return re(_e)&&(Ce="leading"in _e?!!_e.leading:Ce,ce="trailing"in _e?!!_e.trailing:ce),function q(ie,fe,_e){var Ce,ce,Be,Ve,Xe,He,Pe=0,Ge=!1,Oe=!1,Tt=!0;if("function"!=typeof ie)throw new TypeError(b);function We(Gt){var Fn=Ce,pr=ce;return Ce=ce=void 0,Pe=Gt,Ve=ie.apply(pr,Fn)}function Qt(Gt){return Pe=Gt,Xe=setTimeout(dn,fe),Ge?We(Gt):Ve}function Yt(Gt){var Fn=Gt-He;return void 0===He||Fn>=fe||Fn<0||Oe&&Gt-Pe>=Be}function dn(){var Gt=j();if(Yt(Gt))return rn(Gt);Xe=setTimeout(dn,function Nt(Gt){var mi=fe-(Gt-He);return Oe?W(mi,Be-(Gt-Pe)):mi}(Gt))}function rn(Gt){return Xe=void 0,Tt&&Ce?We(Gt):(Ce=ce=void 0,Ve)}function Ct(){var Gt=j(),Fn=Yt(Gt);if(Ce=arguments,ce=this,He=Gt,Fn){if(void 0===Xe)return Qt(He);if(Oe)return Xe=setTimeout(dn,fe),We(He)}return void 0===Xe&&(Xe=setTimeout(dn,fe)),Ve}return fe=ae(fe)||0,re(_e)&&(Ge=!!_e.leading,Be=(Oe="maxWait"in _e)?U(ae(_e.maxWait)||0,fe):Be,Tt="trailing"in _e?!!_e.trailing:Tt),Ct.cancel=function vt(){void 0!==Xe&&clearTimeout(Xe),Pe=0,Ce=He=ce=Xe=void 0},Ct.flush=function xt(){return void 0===Xe?Ve:rn(j())},Ct}(ie,fe,{leading:Ce,maxWait:fe,trailing:ce})}},81235:(v,b,i)=>{var f=i(4153)(i(27038),"DataView");v.exports=f},41505:(v,b,i)=>{var r=i(59410),a=i(21143),f=i(604),u=i(80584),e=i(7792);function p(g){var T=-1,M=null==g?0:g.length;for(this.clear();++T<M;){var w=g[T];this.set(w[0],w[1])}}p.prototype.clear=r,p.prototype.delete=a,p.prototype.get=f,p.prototype.has=u,p.prototype.set=e,v.exports=p},73545:(v,b,i)=>{var r=i(63391),a=i(68971),f=i(18858),u=i(13913),e=i(68944);function p(g){var T=-1,M=null==g?0:g.length;for(this.clear();++T<M;){var w=g[T];this.set(w[0],w[1])}}p.prototype.clear=r,p.prototype.delete=a,p.prototype.get=f,p.prototype.has=u,p.prototype.set=e,v.exports=p},39046:(v,b,i)=>{var f=i(4153)(i(27038),"Map");v.exports=f},93177:(v,b,i)=>{var r=i(70536),a=i(61502),f=i(94960),u=i(61539),e=i(34138);function p(g){var T=-1,M=null==g?0:g.length;for(this.clear();++T<M;){var w=g[T];this.set(w[0],w[1])}}p.prototype.clear=r,p.prototype.delete=a,p.prototype.get=f,p.prototype.has=u,p.prototype.set=e,v.exports=p},97129:(v,b,i)=>{var f=i(4153)(i(27038),"Promise");v.exports=f},74918:(v,b,i)=>{var f=i(4153)(i(27038),"Set");v.exports=f},48690:(v,b,i)=>{var r=i(93177),a=i(30365),f=i(58235);function u(e){var p=-1,g=null==e?0:e.length;for(this.__data__=new r;++p<g;)this.add(e[p])}u.prototype.add=u.prototype.push=a,u.prototype.has=f,v.exports=u},33667:(v,b,i)=>{var r=i(73545),a=i(18034),f=i(37238),u=i(75887),e=i(81450),p=i(61386);function g(T){var M=this.__data__=new r(T);this.size=M.size}g.prototype.clear=a,g.prototype.delete=f,g.prototype.get=u,g.prototype.has=e,g.prototype.set=p,v.exports=g},57333:(v,b,i)=>{var r=i(27038);v.exports=r.Symbol},96820:(v,b,i)=>{var r=i(27038);v.exports=r.Uint8Array},54203:(v,b,i)=>{var f=i(4153)(i(27038),"WeakMap");v.exports=f},81638:v=>{v.exports=function b(i,r,a){switch(a.length){case 0:return i.call(r);case 1:return i.call(r,a[0]);case 2:return i.call(r,a[0],a[1]);case 3:return i.call(r,a[0],a[1],a[2])}return i.apply(r,a)}},4500:v=>{v.exports=function b(i,r){for(var a=-1,f=null==i?0:i.length;++a<f&&!1!==r(i[a],a,i););return i}},11375:v=>{v.exports=function b(i,r){for(var a=-1,f=null==i?0:i.length,u=0,e=[];++a<f;){var p=i[a];r(p,a,i)&&(e[u++]=p)}return e}},71890:(v,b,i)=>{var r=i(48282),a=i(2952),f=i(81690),u=i(84444),e=i(20968),p=i(47679),T=Object.prototype.hasOwnProperty;v.exports=function M(w,R){var U=f(w),W=!U&&a(w),j=!U&&!W&&u(w),q=!U&&!W&&!j&&p(w),ue=U||W||j||q,re=ue?r(w.length,String):[],H=re.length;for(var se in w)(R||T.call(w,se))&&(!ue||!("length"==se||j&&("offset"==se||"parent"==se)||q&&("buffer"==se||"byteLength"==se||"byteOffset"==se)||e(se,H)))&&re.push(se);return re}},14992:v=>{v.exports=function b(i,r){for(var a=-1,f=null==i?0:i.length,u=Array(f);++a<f;)u[a]=r(i[a],a,i);return u}},94165:v=>{v.exports=function b(i,r){for(var a=-1,f=r.length,u=i.length;++a<f;)i[u+a]=r[a];return i}},89731:v=>{v.exports=function b(i,r,a,f){var u=-1,e=null==i?0:i.length;for(f&&e&&(a=i[++u]);++u<e;)a=r(a,i[u],u,i);return a}},8141:v=>{v.exports=function b(i,r){for(var a=-1,f=null==i?0:i.length;++a<f;)if(r(i[a],a,i))return!0;return!1}},87280:v=>{v.exports=function b(i){return i.split("")}},54561:v=>{var b=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;v.exports=function i(r){return r.match(b)||[]}},63530:(v,b,i)=>{var r=i(92007),a=i(71166);v.exports=function f(u,e,p){(void 0!==p&&!a(u[e],p)||void 0===p&&!(e in u))&&r(u,e,p)}},23898:(v,b,i)=>{var r=i(92007),a=i(71166),u=Object.prototype.hasOwnProperty;v.exports=function e(p,g,T){var M=p[g];(!u.call(p,g)||!a(M,T)||void 0===T&&!(g in p))&&r(p,g,T)}},15758:(v,b,i)=>{var r=i(71166);v.exports=function a(f,u){for(var e=f.length;e--;)if(r(f[e][0],u))return e;return-1}},22067:(v,b,i)=>{var r=i(11694),a=i(59108);v.exports=function f(u,e){return u&&r(e,a(e),u)}},57836:(v,b,i)=>{var r=i(11694),a=i(42970);v.exports=function f(u,e){return u&&r(e,a(e),u)}},92007:(v,b,i)=>{var r=i(20395);v.exports=function a(f,u,e){"__proto__"==u&&r?r(f,u,{configurable:!0,enumerable:!0,value:e,writable:!0}):f[u]=e}},77007:(v,b,i)=>{var r=i(33667),a=i(4500),f=i(23898),u=i(22067),e=i(57836),p=i(50694),g=i(53595),T=i(14746),M=i(78857),w=i(58605),R=i(51675),U=i(26663),W=i(62963),j=i(32143),q=i(31563),ue=i(81690),re=i(84444),H=i(32e3),se=i(53867),ae=i(48855),ie=i(59108),fe=i(42970),Be="[object Arguments]",Ge="[object Function]",Qt="[object Object]",er={};er[Be]=er["[object Array]"]=er["[object ArrayBuffer]"]=er["[object DataView]"]=er["[object Boolean]"]=er["[object Date]"]=er["[object Float32Array]"]=er["[object Float64Array]"]=er["[object Int8Array]"]=er["[object Int16Array]"]=er["[object Int32Array]"]=er["[object Map]"]=er["[object Number]"]=er[Qt]=er["[object RegExp]"]=er["[object Set]"]=er["[object String]"]=er["[object Symbol]"]=er["[object Uint8Array]"]=er["[object Uint8ClampedArray]"]=er["[object Uint16Array]"]=er["[object Uint32Array]"]=!0,er["[object Error]"]=er[Ge]=er["[object WeakMap]"]=!1,v.exports=function _r(ei,bi,fi,no,xo,Er){var an,vn=1&bi,Zn=2&bi,Xn=4&bi;if(fi&&(an=xo?fi(ei,no,xo,Er):fi(ei)),void 0!==an)return an;if(!se(ei))return ei;var zn=ue(ei);if(zn){if(an=W(ei),!vn)return g(ei,an)}else{var ri=U(ei),Gi=ri==Ge||"[object GeneratorFunction]"==ri;if(re(ei))return p(ei,vn);if(ri==Qt||ri==Be||Gi&&!xo){if(an=Zn||Gi?{}:q(ei),!vn)return Zn?M(ei,e(an,ei)):T(ei,u(an,ei))}else{if(!er[ri])return xo?ei:{};an=j(ei,ri,vn)}}Er||(Er=new r);var ui=Er.get(ei);if(ui)return ui;Er.set(ei,an),ae(ei)?ei.forEach(function(mn){an.add(_r(mn,bi,fi,mn,ei,Er))}):H(ei)&&ei.forEach(function(mn,Rn){an.set(Rn,_r(mn,bi,fi,Rn,ei,Er))});var Ji=zn?void 0:(Xn?Zn?R:w:Zn?fe:ie)(ei);return a(Ji||ei,function(mn,Rn){Ji&&(mn=ei[Rn=mn]),f(an,Rn,_r(mn,bi,fi,Rn,ei,Er))}),an}},60920:(v,b,i)=>{var r=i(53867),a=Object.create,f=function(){function u(){}return function(e){if(!r(e))return{};if(a)return a(e);u.prototype=e;var p=new u;return u.prototype=void 0,p}}();v.exports=f},59026:(v,b,i)=>{var r=i(18022),f=i(99889)(r);v.exports=f},12229:v=>{v.exports=function b(i,r,a,f){for(var u=i.length,e=a+(f?1:-1);f?e--:++e<u;)if(r(i[e],e,i))return e;return-1}},56369:(v,b,i)=>{var r=i(94165),a=i(21006);v.exports=function f(u,e,p,g,T){var M=-1,w=u.length;for(p||(p=a),T||(T=[]);++M<w;){var R=u[M];e>0&&p(R)?e>1?f(R,e-1,p,g,T):r(T,R):g||(T[T.length]=R)}return T}},75290:(v,b,i)=>{var a=i(8269)();v.exports=a},18022:(v,b,i)=>{var r=i(75290),a=i(59108);v.exports=function f(u,e){return u&&r(u,e,a)}},93436:(v,b,i)=>{var r=i(64667),a=i(82773);v.exports=function f(u,e){for(var p=0,g=(e=r(e,u)).length;null!=u&&p<g;)u=u[a(e[p++])];return p&&p==g?u:void 0}},19215:(v,b,i)=>{var r=i(94165),a=i(81690);v.exports=function f(u,e,p){var g=e(u);return a(u)?g:r(g,p(u))}},72802:(v,b,i)=>{var r=i(57333),a=i(21613),f=i(81244),p=r?r.toStringTag:void 0;v.exports=function g(T){return null==T?void 0===T?"[object Undefined]":"[object Null]":p&&p in Object(T)?a(T):f(T)}},55333:v=>{v.exports=function b(i,r){return null!=i&&r in Object(i)}},77090:(v,b,i)=>{var r=i(72802),a=i(27503);v.exports=function u(e){return a(e)&&"[object Arguments]"==r(e)}},30696:(v,b,i)=>{var r=i(36863),a=i(27503);v.exports=function f(u,e,p,g,T){return u===e||(null==u||null==e||!a(u)&&!a(e)?u!=u&&e!=e:r(u,e,p,g,f,T))}},36863:(v,b,i)=>{var r=i(33667),a=i(27667),f=i(64630),u=i(70838),e=i(26663),p=i(81690),g=i(84444),T=i(47679),w="[object Arguments]",R="[object Array]",U="[object Object]",j=Object.prototype.hasOwnProperty;v.exports=function q(ue,re,H,se,ae,ie){var fe=p(ue),_e=p(re),Ce=fe?R:e(ue),ce=_e?R:e(re),Be=(Ce=Ce==w?U:Ce)==U,Ve=(ce=ce==w?U:ce)==U,Xe=Ce==ce;if(Xe&&g(ue)){if(!g(re))return!1;fe=!0,Be=!1}if(Xe&&!Be)return ie||(ie=new r),fe||T(ue)?a(ue,re,H,se,ae,ie):f(ue,re,Ce,H,se,ae,ie);if(!(1&H)){var He=Be&&j.call(ue,"__wrapped__"),Pe=Ve&&j.call(re,"__wrapped__");if(He||Pe){var Ge=He?ue.value():ue,Oe=Pe?re.value():re;return ie||(ie=new r),ae(Ge,Oe,H,se,ie)}}return!!Xe&&(ie||(ie=new r),u(ue,re,H,se,ae,ie))}},63434:(v,b,i)=>{var r=i(26663),a=i(27503);v.exports=function u(e){return a(e)&&"[object Map]"==r(e)}},88783:(v,b,i)=>{var r=i(33667),a=i(30696);v.exports=function e(p,g,T,M){var w=T.length,R=w,U=!M;if(null==p)return!R;for(p=Object(p);w--;){var W=T[w];if(U&&W[2]?W[1]!==p[W[0]]:!(W[0]in p))return!1}for(;++w<R;){var j=(W=T[w])[0],q=p[j],ue=W[1];if(U&&W[2]){if(void 0===q&&!(j in p))return!1}else{var re=new r;if(M)var H=M(q,ue,j,p,g,re);if(!(void 0===H?a(ue,q,3,M,re):H))return!1}}return!0}},43540:(v,b,i)=>{var r=i(55836),a=i(38466),f=i(53867),u=i(51217),p=/^\[object .+?Constructor\]$/,R=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");v.exports=function U(W){return!(!f(W)||a(W))&&(r(W)?R:p).test(u(W))}},67495:(v,b,i)=>{var r=i(26663),a=i(27503);v.exports=function u(e){return a(e)&&"[object Set]"==r(e)}},99390:(v,b,i)=>{var r=i(72802),a=i(8613),f=i(27503),Xe={};Xe["[object Float32Array]"]=Xe["[object Float64Array]"]=Xe["[object Int8Array]"]=Xe["[object Int16Array]"]=Xe["[object Int32Array]"]=Xe["[object Uint8Array]"]=Xe["[object Uint8ClampedArray]"]=Xe["[object Uint16Array]"]=Xe["[object Uint32Array]"]=!0,Xe["[object Arguments]"]=Xe["[object Array]"]=Xe["[object ArrayBuffer]"]=Xe["[object Boolean]"]=Xe["[object DataView]"]=Xe["[object Date]"]=Xe["[object Error]"]=Xe["[object Function]"]=Xe["[object Map]"]=Xe["[object Number]"]=Xe["[object Object]"]=Xe["[object RegExp]"]=Xe["[object Set]"]=Xe["[object String]"]=Xe["[object WeakMap]"]=!1,v.exports=function He(Pe){return f(Pe)&&a(Pe.length)&&!!Xe[r(Pe)]}},5245:(v,b,i)=>{var r=i(69433),a=i(68608),f=i(80290),u=i(81690),e=i(63354);v.exports=function p(g){return"function"==typeof g?g:null==g?f:"object"==typeof g?u(g)?a(g[0],g[1]):r(g):e(g)}},92488:(v,b,i)=>{var r=i(58845),a=i(36700),u=Object.prototype.hasOwnProperty;v.exports=function e(p){if(!r(p))return a(p);var g=[];for(var T in Object(p))u.call(p,T)&&"constructor"!=T&&g.push(T);return g}},50762:(v,b,i)=>{var r=i(53867),a=i(58845),f=i(25618),e=Object.prototype.hasOwnProperty;v.exports=function p(g){if(!r(g))return f(g);var T=a(g),M=[];for(var w in g)"constructor"==w&&(T||!e.call(g,w))||M.push(w);return M}},69433:(v,b,i)=>{var r=i(88783),a=i(48834),f=i(63587);v.exports=function u(e){var p=a(e);return 1==p.length&&p[0][2]?f(p[0][0],p[0][1]):function(g){return g===e||r(g,e,p)}}},68608:(v,b,i)=>{var r=i(30696),a=i(58102),f=i(18303),u=i(99743),e=i(45774),p=i(63587),g=i(82773);v.exports=function w(R,U){return u(R)&&e(U)?p(g(R),U):function(W){var j=a(W,R);return void 0===j&&j===U?f(W,R):r(U,j,3)}}},9085:(v,b,i)=>{var r=i(33667),a=i(63530),f=i(75290),u=i(23607),e=i(53867),p=i(42970),g=i(45959);v.exports=function T(M,w,R,U,W){M!==w&&f(w,function(j,q){if(W||(W=new r),e(j))u(M,w,q,R,T,U,W);else{var ue=U?U(g(M,q),j,q+"",M,w,W):void 0;void 0===ue&&(ue=j),a(M,q,ue)}},p)}},23607:(v,b,i)=>{var r=i(63530),a=i(50694),f=i(96282),u=i(53595),e=i(31563),p=i(2952),g=i(81690),T=i(82027),M=i(84444),w=i(55836),R=i(53867),U=i(82358),W=i(47679),j=i(45959),q=i(31413);v.exports=function ue(re,H,se,ae,ie,fe,_e){var Ce=j(re,se),ce=j(H,se),Be=_e.get(ce);if(Be)r(re,se,Be);else{var Ve=fe?fe(Ce,ce,se+"",re,H,_e):void 0,Xe=void 0===Ve;if(Xe){var He=g(ce),Pe=!He&&M(ce),Ge=!He&&!Pe&&W(ce);Ve=ce,He||Pe||Ge?g(Ce)?Ve=Ce:T(Ce)?Ve=u(Ce):Pe?(Xe=!1,Ve=a(ce,!0)):Ge?(Xe=!1,Ve=f(ce,!0)):Ve=[]:U(ce)||p(ce)?(Ve=Ce,p(Ce)?Ve=q(Ce):(!R(Ce)||w(Ce))&&(Ve=e(ce))):Xe=!1}Xe&&(_e.set(ce,Ve),ie(Ve,ce,ae,fe,_e),_e.delete(ce)),r(re,se,Ve)}}},68840:v=>{v.exports=function b(i){return function(r){return null==r?void 0:r[i]}}},59866:(v,b,i)=>{var r=i(93436);v.exports=function a(f){return function(u){return r(u,f)}}},17421:v=>{v.exports=function b(i){return function(r){return null==i?void 0:i[r]}}},85105:v=>{v.exports=function b(i,r,a,f,u){return u(i,function(e,p,g){a=f?(f=!1,e):r(a,e,p,g)}),a}},84441:(v,b,i)=>{var r=i(80290),a=i(15529),f=i(39009);v.exports=function u(e,p){return f(a(e,p,r),e+"")}},32773:(v,b,i)=>{var r=i(23898),a=i(64667),f=i(20968),u=i(53867),e=i(82773);v.exports=function p(g,T,M,w){if(!u(g))return g;for(var R=-1,U=(T=a(T,g)).length,W=U-1,j=g;null!=j&&++R<U;){var q=e(T[R]),ue=M;if("__proto__"===q||"constructor"===q||"prototype"===q)return g;if(R!=W){var re=j[q];void 0===(ue=w?w(re,q,j):void 0)&&(ue=u(re)?re:f(T[R+1])?[]:{})}r(j,q,ue),j=j[q]}return g}},99372:(v,b,i)=>{var r=i(45654),a=i(20395),f=i(80290);v.exports=a?function(e,p){return a(e,"toString",{configurable:!0,enumerable:!1,value:r(p),writable:!0})}:f},63586:v=>{v.exports=function b(i,r,a){var f=-1,u=i.length;r<0&&(r=-r>u?0:u+r),(a=a>u?u:a)<0&&(a+=u),u=r>a?0:a-r>>>0,r>>>=0;for(var e=Array(u);++f<u;)e[f]=i[f+r];return e}},37834:(v,b,i)=>{var r=i(59026);v.exports=function a(f,u){var e;return r(f,function(p,g,T){return!(e=u(p,g,T))}),!!e}},48282:v=>{v.exports=function b(i,r){for(var a=-1,f=Array(i);++a<i;)f[a]=r(a);return f}},68166:(v,b,i)=>{var r=i(57333),a=i(14992),f=i(81690),u=i(7786),p=r?r.prototype:void 0,g=p?p.toString:void 0;v.exports=function T(M){if("string"==typeof M)return M;if(f(M))return a(M,T)+"";if(u(M))return g?g.call(M):"";var w=M+"";return"0"==w&&1/M==-1/0?"-0":w}},13743:(v,b,i)=>{var r=i(87478),a=/^\s+/;v.exports=function f(u){return u&&u.slice(0,r(u)+1).replace(a,"")}},70544:v=>{v.exports=function b(i){return function(r){return i(r)}}},72064:(v,b,i)=>{var r=i(64667),a=i(27842),f=i(61746),u=i(82773);v.exports=function e(p,g){return g=r(g,p),null==(p=f(p,g))||delete p[u(a(g))]}},25687:v=>{v.exports=function b(i,r,a){for(var f=-1,u=i.length,e=r.length,p={};++f<u;)a(p,i[f],f<e?r[f]:void 0);return p}},13747:v=>{v.exports=function b(i,r){return i.has(r)}},64667:(v,b,i)=>{var r=i(81690),a=i(99743),f=i(89775),u=i(41233);v.exports=function e(p,g){return r(p)?p:a(p,g)?[p]:f(u(p))}},26477:(v,b,i)=>{var r=i(63586);v.exports=function a(f,u,e){var p=f.length;return e=void 0===e?p:e,!u&&e>=p?f:r(f,u,e)}},88461:(v,b,i)=>{var r=i(96820);v.exports=function a(f){var u=new f.constructor(f.byteLength);return new r(u).set(new r(f)),u}},50694:(v,b,i)=>{v=i.nmd(v);var r=i(27038),a=b&&!b.nodeType&&b,f=a&&v&&!v.nodeType&&v,e=f&&f.exports===a?r.Buffer:void 0,p=e?e.allocUnsafe:void 0;v.exports=function g(T,M){if(M)return T.slice();var w=T.length,R=p?p(w):new T.constructor(w);return T.copy(R),R}},59757:(v,b,i)=>{var r=i(88461);v.exports=function a(f,u){var e=u?r(f.buffer):f.buffer;return new f.constructor(e,f.byteOffset,f.byteLength)}},83615:v=>{var b=/\w*$/;v.exports=function i(r){var a=new r.constructor(r.source,b.exec(r));return a.lastIndex=r.lastIndex,a}},42282:(v,b,i)=>{var r=i(57333),a=r?r.prototype:void 0,f=a?a.valueOf:void 0;v.exports=function u(e){return f?Object(f.call(e)):{}}},96282:(v,b,i)=>{var r=i(88461);v.exports=function a(f,u){var e=u?r(f.buffer):f.buffer;return new f.constructor(e,f.byteOffset,f.length)}},53595:v=>{v.exports=function b(i,r){var a=-1,f=i.length;for(r||(r=Array(f));++a<f;)r[a]=i[a];return r}},11694:(v,b,i)=>{var r=i(23898),a=i(92007);v.exports=function f(u,e,p,g){var T=!p;p||(p={});for(var M=-1,w=e.length;++M<w;){var R=e[M],U=g?g(p[R],u[R],R,p,u):void 0;void 0===U&&(U=u[R]),T?a(p,R,U):r(p,R,U)}return p}},14746:(v,b,i)=>{var r=i(11694),a=i(10296);v.exports=function f(u,e){return r(u,a(u),e)}},78857:(v,b,i)=>{var r=i(11694),a=i(29572);v.exports=function f(u,e){return r(u,a(u),e)}},93412:(v,b,i)=>{var r=i(27038);v.exports=r["__core-js_shared__"]},30906:(v,b,i)=>{var r=i(84441),a=i(71100);v.exports=function f(u){return r(function(e,p){var g=-1,T=p.length,M=T>1?p[T-1]:void 0,w=T>2?p[2]:void 0;for(M=u.length>3&&"function"==typeof M?(T--,M):void 0,w&&a(p[0],p[1],w)&&(M=T<3?void 0:M,T=1),e=Object(e);++g<T;){var R=p[g];R&&u(e,R,g,M)}return e})}},99889:(v,b,i)=>{var r=i(93406);v.exports=function a(f,u){return function(e,p){if(null==e)return e;if(!r(e))return f(e,p);for(var g=e.length,T=u?g:-1,M=Object(e);(u?T--:++T<g)&&!1!==p(M[T],T,M););return e}}},8269:v=>{v.exports=function b(i){return function(r,a,f){for(var u=-1,e=Object(r),p=f(r),g=p.length;g--;){var T=p[i?g:++u];if(!1===a(e[T],T,e))break}return r}}},66803:(v,b,i)=>{var r=i(26477),a=i(407),f=i(2150),u=i(41233);v.exports=function e(p){return function(g){g=u(g);var T=a(g)?f(g):void 0,M=T?T[0]:g.charAt(0),w=T?r(T,1).join(""):g.slice(1);return M[p]()+w}}},17407:(v,b,i)=>{var r=i(89731),a=i(75289),f=i(96590),e=RegExp("['\u2019]","g");v.exports=function p(g){return function(T){return r(f(a(T).replace(e,"")),g,"")}}},44674:(v,b,i)=>{var r=i(5245),a=i(93406),f=i(59108);v.exports=function u(e){return function(p,g,T){var M=Object(p);if(!a(p)){var w=r(g,3);p=f(p),g=function(U){return w(M[U],U,M)}}var R=e(p,g,T);return R>-1?M[w?p[R]:R]:void 0}}},925:(v,b,i)=>{var r=i(82358);v.exports=function a(f){return r(f)?void 0:f}},4068:(v,b,i)=>{var f=i(17421)({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"});v.exports=f},20395:(v,b,i)=>{var r=i(4153),a=function(){try{var f=r(Object,"defineProperty");return f({},"",{}),f}catch(u){}}();v.exports=a},27667:(v,b,i)=>{var r=i(48690),a=i(8141),f=i(13747);v.exports=function p(g,T,M,w,R,U){var W=1&M,j=g.length,q=T.length;if(j!=q&&!(W&&q>j))return!1;var ue=U.get(g),re=U.get(T);if(ue&&re)return ue==T&&re==g;var H=-1,se=!0,ae=2&M?new r:void 0;for(U.set(g,T),U.set(T,g);++H<j;){var ie=g[H],fe=T[H];if(w)var _e=W?w(fe,ie,H,T,g,U):w(ie,fe,H,g,T,U);if(void 0!==_e){if(_e)continue;se=!1;break}if(ae){if(!a(T,function(Ce,ce){if(!f(ae,ce)&&(ie===Ce||R(ie,Ce,M,w,U)))return ae.push(ce)})){se=!1;break}}else if(ie!==fe&&!R(ie,fe,M,w,U)){se=!1;break}}return U.delete(g),U.delete(T),se}},64630:(v,b,i)=>{var r=i(57333),a=i(96820),f=i(71166),u=i(27667),e=i(37461),p=i(57673),ae=r?r.prototype:void 0,ie=ae?ae.valueOf:void 0;v.exports=function fe(_e,Ce,ce,Be,Ve,Xe,He){switch(ce){case"[object DataView]":if(_e.byteLength!=Ce.byteLength||_e.byteOffset!=Ce.byteOffset)return!1;_e=_e.buffer,Ce=Ce.buffer;case"[object ArrayBuffer]":return!(_e.byteLength!=Ce.byteLength||!Xe(new a(_e),new a(Ce)));case"[object Boolean]":case"[object Date]":case"[object Number]":return f(+_e,+Ce);case"[object Error]":return _e.name==Ce.name&&_e.message==Ce.message;case"[object RegExp]":case"[object String]":return _e==Ce+"";case"[object Map]":var Pe=e;case"[object Set]":if(Pe||(Pe=p),_e.size!=Ce.size&&!(1&Be))return!1;var Oe=He.get(_e);if(Oe)return Oe==Ce;Be|=2,He.set(_e,Ce);var Tt=u(Pe(_e),Pe(Ce),Be,Ve,Xe,He);return He.delete(_e),Tt;case"[object Symbol]":if(ie)return ie.call(_e)==ie.call(Ce)}return!1}},70838:(v,b,i)=>{var r=i(58605),u=Object.prototype.hasOwnProperty;v.exports=function e(p,g,T,M,w,R){var U=1&T,W=r(p),j=W.length;if(j!=r(g).length&&!U)return!1;for(var re=j;re--;){var H=W[re];if(!(U?H in g:u.call(g,H)))return!1}var se=R.get(p),ae=R.get(g);if(se&&ae)return se==g&&ae==p;var ie=!0;R.set(p,g),R.set(g,p);for(var fe=U;++re<j;){var _e=p[H=W[re]],Ce=g[H];if(M)var ce=U?M(Ce,_e,H,g,p,R):M(_e,Ce,H,p,g,R);if(!(void 0===ce?_e===Ce||w(_e,Ce,T,M,R):ce)){ie=!1;break}fe||(fe="constructor"==H)}if(ie&&!fe){var Be=p.constructor,Ve=g.constructor;Be!=Ve&&"constructor"in p&&"constructor"in g&&!("function"==typeof Be&&Be instanceof Be&&"function"==typeof Ve&&Ve instanceof Ve)&&(ie=!1)}return R.delete(p),R.delete(g),ie}},10058:(v,b,i)=>{var r=i(94694),a=i(15529),f=i(39009);v.exports=function u(e){return f(a(e,void 0,r),e+"")}},61138:v=>{var b="object"==typeof global&&global&&global.Object===Object&&global;v.exports=b},58605:(v,b,i)=>{var r=i(19215),a=i(10296),f=i(59108);v.exports=function u(e){return r(e,f,a)}},51675:(v,b,i)=>{var r=i(19215),a=i(29572),f=i(42970);v.exports=function u(e){return r(e,f,a)}},85556:(v,b,i)=>{var r=i(36586);v.exports=function a(f,u){var e=f.__data__;return r(u)?e["string"==typeof u?"string":"hash"]:e.map}},48834:(v,b,i)=>{var r=i(45774),a=i(59108);v.exports=function f(u){for(var e=a(u),p=e.length;p--;){var g=e[p],T=u[g];e[p]=[g,T,r(T)]}return e}},4153:(v,b,i)=>{var r=i(43540),a=i(36825);v.exports=function f(u,e){var p=a(u,e);return r(p)?p:void 0}},52398:(v,b,i)=>{var a=i(93332)(Object.getPrototypeOf,Object);v.exports=a},21613:(v,b,i)=>{var r=i(57333),a=Object.prototype,f=a.hasOwnProperty,u=a.toString,e=r?r.toStringTag:void 0;v.exports=function p(g){var T=f.call(g,e),M=g[e];try{g[e]=void 0;var w=!0}catch(U){}var R=u.call(g);return w&&(T?g[e]=M:delete g[e]),R}},10296:(v,b,i)=>{var r=i(11375),a=i(65336),u=Object.prototype.propertyIsEnumerable,e=Object.getOwnPropertySymbols;v.exports=e?function(g){return null==g?[]:(g=Object(g),r(e(g),function(T){return u.call(g,T)}))}:a},29572:(v,b,i)=>{var r=i(94165),a=i(52398),f=i(10296),u=i(65336);v.exports=Object.getOwnPropertySymbols?function(g){for(var T=[];g;)r(T,f(g)),g=a(g);return T}:u},26663:(v,b,i)=>{var r=i(81235),a=i(39046),f=i(97129),u=i(74918),e=i(54203),p=i(72802),g=i(51217),T="[object Map]",w="[object Promise]",R="[object Set]",U="[object WeakMap]",W="[object DataView]",j=g(r),q=g(a),ue=g(f),re=g(u),H=g(e),se=p;(r&&se(new r(new ArrayBuffer(1)))!=W||a&&se(new a)!=T||f&&se(f.resolve())!=w||u&&se(new u)!=R||e&&se(new e)!=U)&&(se=function(ae){var ie=p(ae),fe="[object Object]"==ie?ae.constructor:void 0,_e=fe?g(fe):"";if(_e)switch(_e){case j:return W;case q:return T;case ue:return w;case re:return R;case H:return U}return ie}),v.exports=se},36825:v=>{v.exports=function b(i,r){return null==i?void 0:i[r]}},82138:(v,b,i)=>{var r=i(64667),a=i(2952),f=i(81690),u=i(20968),e=i(8613),p=i(82773);v.exports=function g(T,M,w){for(var R=-1,U=(M=r(M,T)).length,W=!1;++R<U;){var j=p(M[R]);if(!(W=null!=T&&w(T,j)))break;T=T[j]}return W||++R!=U?W:!!(U=null==T?0:T.length)&&e(U)&&u(j,U)&&(f(T)||a(T))}},407:v=>{var p=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");v.exports=function g(T){return p.test(T)}},59316:v=>{var b=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;v.exports=function i(r){return b.test(r)}},59410:(v,b,i)=>{var r=i(95969);v.exports=function a(){this.__data__=r?r(null):{},this.size=0}},21143:v=>{v.exports=function b(i){var r=this.has(i)&&delete this.__data__[i];return this.size-=r?1:0,r}},604:(v,b,i)=>{var r=i(95969),u=Object.prototype.hasOwnProperty;v.exports=function e(p){var g=this.__data__;if(r){var T=g[p];return"__lodash_hash_undefined__"===T?void 0:T}return u.call(g,p)?g[p]:void 0}},80584:(v,b,i)=>{var r=i(95969),f=Object.prototype.hasOwnProperty;v.exports=function u(e){var p=this.__data__;return r?void 0!==p[e]:f.call(p,e)}},7792:(v,b,i)=>{var r=i(95969);v.exports=function f(u,e){var p=this.__data__;return this.size+=this.has(u)?0:1,p[u]=r&&void 0===e?"__lodash_hash_undefined__":e,this}},62963:v=>{var i=Object.prototype.hasOwnProperty;v.exports=function r(a){var f=a.length,u=new a.constructor(f);return f&&"string"==typeof a[0]&&i.call(a,"index")&&(u.index=a.index,u.input=a.input),u}},32143:(v,b,i)=>{var r=i(88461),a=i(59757),f=i(83615),u=i(42282),e=i(96282);v.exports=function ce(Be,Ve,Xe){var He=Be.constructor;switch(Ve){case"[object ArrayBuffer]":return r(Be);case"[object Boolean]":case"[object Date]":return new He(+Be);case"[object DataView]":return a(Be,Xe);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return e(Be,Xe);case"[object Map]":case"[object Set]":return new He;case"[object Number]":case"[object String]":return new He(Be);case"[object RegExp]":return f(Be);case"[object Symbol]":return u(Be)}}},31563:(v,b,i)=>{var r=i(60920),a=i(52398),f=i(58845);v.exports=function u(e){return"function"!=typeof e.constructor||f(e)?{}:r(a(e))}},21006:(v,b,i)=>{var r=i(57333),a=i(2952),f=i(81690),u=r?r.isConcatSpreadable:void 0;v.exports=function e(p){return f(p)||a(p)||!!(u&&p&&p[u])}},20968:v=>{var i=/^(?:0|[1-9]\d*)$/;v.exports=function r(a,f){var u=typeof a;return!!(f=null==f?9007199254740991:f)&&("number"==u||"symbol"!=u&&i.test(a))&&a>-1&&a%1==0&&a<f}},71100:(v,b,i)=>{var r=i(71166),a=i(93406),f=i(20968),u=i(53867);v.exports=function e(p,g,T){if(!u(T))return!1;var M=typeof g;return!!("number"==M?a(T)&&f(g,T.length):"string"==M&&g in T)&&r(T[g],p)}},99743:(v,b,i)=>{var r=i(81690),a=i(7786),f=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/;v.exports=function e(p,g){if(r(p))return!1;var T=typeof p;return!("number"!=T&&"symbol"!=T&&"boolean"!=T&&null!=p&&!a(p))||u.test(p)||!f.test(p)||null!=g&&p in Object(g)}},36586:v=>{v.exports=function b(i){var r=typeof i;return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==i:null===i}},38466:(v,b,i)=>{var u,r=i(93412),a=(u=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+u:"";v.exports=function f(u){return!!a&&a in u}},58845:v=>{var b=Object.prototype;v.exports=function i(r){var a=r&&r.constructor;return r===("function"==typeof a&&a.prototype||b)}},45774:(v,b,i)=>{var r=i(53867);v.exports=function a(f){return f==f&&!r(f)}},63391:v=>{v.exports=function b(){this.__data__=[],this.size=0}},68971:(v,b,i)=>{var r=i(15758),f=Array.prototype.splice;v.exports=function u(e){var p=this.__data__,g=r(p,e);return!(g<0||(g==p.length-1?p.pop():f.call(p,g,1),--this.size,0))}},18858:(v,b,i)=>{var r=i(15758);v.exports=function a(f){var u=this.__data__,e=r(u,f);return e<0?void 0:u[e][1]}},13913:(v,b,i)=>{var r=i(15758);v.exports=function a(f){return r(this.__data__,f)>-1}},68944:(v,b,i)=>{var r=i(15758);v.exports=function a(f,u){var e=this.__data__,p=r(e,f);return p<0?(++this.size,e.push([f,u])):e[p][1]=u,this}},70536:(v,b,i)=>{var r=i(41505),a=i(73545),f=i(39046);v.exports=function u(){this.size=0,this.__data__={hash:new r,map:new(f||a),string:new r}}},61502:(v,b,i)=>{var r=i(85556);v.exports=function a(f){var u=r(this,f).delete(f);return this.size-=u?1:0,u}},94960:(v,b,i)=>{var r=i(85556);v.exports=function a(f){return r(this,f).get(f)}},61539:(v,b,i)=>{var r=i(85556);v.exports=function a(f){return r(this,f).has(f)}},34138:(v,b,i)=>{var r=i(85556);v.exports=function a(f,u){var e=r(this,f),p=e.size;return e.set(f,u),this.size+=e.size==p?0:1,this}},37461:v=>{v.exports=function b(i){var r=-1,a=Array(i.size);return i.forEach(function(f,u){a[++r]=[u,f]}),a}},63587:v=>{v.exports=function b(i,r){return function(a){return null!=a&&a[i]===r&&(void 0!==r||i in Object(a))}}},43911:(v,b,i)=>{var r=i(97425);v.exports=function f(u){var e=r(u,function(g){return 500===p.size&&p.clear(),g}),p=e.cache;return e}},95969:(v,b,i)=>{var a=i(4153)(Object,"create");v.exports=a},36700:(v,b,i)=>{var a=i(93332)(Object.keys,Object);v.exports=a},25618:v=>{v.exports=function b(i){var r=[];if(null!=i)for(var a in Object(i))r.push(a);return r}},70938:(v,b,i)=>{v=i.nmd(v);var r=i(61138),a=b&&!b.nodeType&&b,f=a&&v&&!v.nodeType&&v,e=f&&f.exports===a&&r.process,p=function(){try{return f&&f.require&&f.require("util").types||e&&e.binding&&e.binding("util")}catch(T){}}();v.exports=p},81244:v=>{var i=Object.prototype.toString;v.exports=function r(a){return i.call(a)}},93332:v=>{v.exports=function b(i,r){return function(a){return i(r(a))}}},15529:(v,b,i)=>{var r=i(81638),a=Math.max;v.exports=function f(u,e,p){return e=a(void 0===e?u.length-1:e,0),function(){for(var g=arguments,T=-1,M=a(g.length-e,0),w=Array(M);++T<M;)w[T]=g[e+T];T=-1;for(var R=Array(e+1);++T<e;)R[T]=g[T];return R[e]=p(w),r(u,this,R)}}},61746:(v,b,i)=>{var r=i(93436),a=i(63586);v.exports=function f(u,e){return e.length<2?u:r(u,a(e,0,-1))}},27038:(v,b,i)=>{var r=i(61138),a="object"==typeof self&&self&&self.Object===Object&&self,f=r||a||Function("return this")();v.exports=f},45959:v=>{v.exports=function b(i,r){if(("constructor"!==r||"function"!=typeof i[r])&&"__proto__"!=r)return i[r]}},30365:v=>{v.exports=function i(r){return this.__data__.set(r,"__lodash_hash_undefined__"),this}},58235:v=>{v.exports=function b(i){return this.__data__.has(i)}},57673:v=>{v.exports=function b(i){var r=-1,a=Array(i.size);return i.forEach(function(f){a[++r]=f}),a}},39009:(v,b,i)=>{var r=i(99372),f=i(44094)(r);v.exports=f},44094:v=>{var r=Date.now;v.exports=function a(f){var u=0,e=0;return function(){var p=r(),g=16-(p-e);if(e=p,g>0){if(++u>=800)return arguments[0]}else u=0;return f.apply(void 0,arguments)}}},18034:(v,b,i)=>{var r=i(73545);v.exports=function a(){this.__data__=new r,this.size=0}},37238:v=>{v.exports=function b(i){var r=this.__data__,a=r.delete(i);return this.size=r.size,a}},75887:v=>{v.exports=function b(i){return this.__data__.get(i)}},81450:v=>{v.exports=function b(i){return this.__data__.has(i)}},61386:(v,b,i)=>{var r=i(73545),a=i(39046),f=i(93177);v.exports=function e(p,g){var T=this.__data__;if(T instanceof r){var M=T.__data__;if(!a||M.length<199)return M.push([p,g]),this.size=++T.size,this;T=this.__data__=new f(M)}return T.set(p,g),this.size=T.size,this}},2150:(v,b,i)=>{var r=i(87280),a=i(407),f=i(1879);v.exports=function u(e){return a(e)?f(e):r(e)}},89775:(v,b,i)=>{var r=i(43911),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,f=/\\(\\)?/g,u=r(function(e){var p=[];return 46===e.charCodeAt(0)&&p.push(""),e.replace(a,function(g,T,M,w){p.push(M?w.replace(f,"$1"):T||g)}),p});v.exports=u},82773:(v,b,i)=>{var r=i(7786);v.exports=function f(u){if("string"==typeof u||r(u))return u;var e=u+"";return"0"==e&&1/u==-1/0?"-0":e}},51217:v=>{var i=Function.prototype.toString;v.exports=function r(a){if(null!=a){try{return i.call(a)}catch(f){}try{return a+""}catch(f){}}return""}},87478:v=>{var b=/\s/;v.exports=function i(r){for(var a=r.length;a--&&b.test(r.charAt(a)););return a}},1879:v=>{var b="\\ud800-\\udfff",e="["+b+"]",p="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",g="\\ud83c[\\udffb-\\udfff]",M="[^"+b+"]",w="(?:\\ud83c[\\udde6-\\uddff]){2}",R="[\\ud800-\\udbff][\\udc00-\\udfff]",W="(?:"+p+"|"+g+")?",j="[\\ufe0e\\ufe0f]?",ue=j+W+"(?:\\u200d(?:"+[M,w,R].join("|")+")"+j+W+")*",re="(?:"+[M+p+"?",p,w,R,e].join("|")+")",H=RegExp(g+"(?="+g+")|"+re+ue,"g");v.exports=function se(ae){return ae.match(H)||[]}},58863:v=>{var b="\\ud800-\\udfff",u="\\u2700-\\u27bf",e="a-z\\xdf-\\xf6\\xf8-\\xff",w="A-Z\\xc0-\\xd6\\xd8-\\xde",U="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",j="["+U+"]",ue="\\d+",re="["+u+"]",H="["+e+"]",se="[^"+b+U+ue+u+e+w+"]",_e="(?:\\ud83c[\\udde6-\\uddff]){2}",Ce="[\\ud800-\\udbff][\\udc00-\\udfff]",ce="["+w+"]",Ve="(?:"+H+"|"+se+")",Xe="(?:"+ce+"|"+se+")",He="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Pe="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",Ge="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",Oe="[\\ufe0e\\ufe0f]?",Nt=Oe+Ge+"(?:\\u200d(?:"+["[^"+b+"]",_e,Ce].join("|")+")"+Oe+Ge+")*",Yt="(?:"+[re,_e,Ce].join("|")+")"+Nt,dn=RegExp([ce+"?"+H+"+"+He+"(?="+[j,ce,"$"].join("|")+")",Xe+"+"+Pe+"(?="+[j,ce+Ve,"$"].join("|")+")",ce+"?"+Ve+"+"+He,ce+"+"+Pe,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ue,Yt].join("|"),"g");v.exports=function rn(vt){return vt.match(dn)||[]}},35037:(v,b,i)=>{var r=i(76974),f=i(17407)(function(u,e,p){return e=e.toLowerCase(),u+(p?r(e):e)});v.exports=f},76974:(v,b,i)=>{var r=i(41233),a=i(93890);v.exports=function f(u){return a(r(u).toLowerCase())}},45654:v=>{v.exports=function b(i){return function(){return i}}},41776:(v,b,i)=>{var r=i(53867),a=i(30765),f=i(45038),e=Math.max,p=Math.min;v.exports=function g(T,M,w){var R,U,W,j,q,ue,re=0,H=!1,se=!1,ae=!0;if("function"!=typeof T)throw new TypeError("Expected a function");function ie(Pe){var Ge=R,Oe=U;return R=U=void 0,re=Pe,j=T.apply(Oe,Ge)}function fe(Pe){return re=Pe,q=setTimeout(ce,M),H?ie(Pe):j}function Ce(Pe){var Ge=Pe-ue;return void 0===ue||Ge>=M||Ge<0||se&&Pe-re>=W}function ce(){var Pe=a();if(Ce(Pe))return Be(Pe);q=setTimeout(ce,function _e(Pe){var Tt=M-(Pe-ue);return se?p(Tt,W-(Pe-re)):Tt}(Pe))}function Be(Pe){return q=void 0,ae&&R?ie(Pe):(R=U=void 0,j)}function He(){var Pe=a(),Ge=Ce(Pe);if(R=arguments,U=this,ue=Pe,Ge){if(void 0===q)return fe(ue);if(se)return clearTimeout(q),q=setTimeout(ce,M),ie(ue)}return void 0===q&&(q=setTimeout(ce,M)),j}return M=f(M)||0,r(w)&&(H=!!w.leading,W=(se="maxWait"in w)?e(f(w.maxWait)||0,M):W,ae="trailing"in w?!!w.trailing:ae),He.cancel=function Ve(){void 0!==q&&clearTimeout(q),re=0,R=ue=U=q=void 0},He.flush=function Xe(){return void 0===q?j:Be(a())},He}},75289:(v,b,i)=>{var r=i(4068),a=i(41233),f=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,M=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");v.exports=function w(R){return(R=a(R))&&R.replace(f,r).replace(M,"")}},71166:v=>{v.exports=function b(i,r){return i===r||i!=i&&r!=r}},98990:(v,b,i)=>{var f=i(44674)(i(84857));v.exports=f},84857:(v,b,i)=>{var r=i(12229),a=i(5245),f=i(32781),u=Math.max;v.exports=function e(p,g,T){var M=null==p?0:p.length;if(!M)return-1;var w=null==T?0:f(T);return w<0&&(w=u(M+w,0)),r(p,a(g,3),w)}},94694:(v,b,i)=>{var r=i(56369);v.exports=function a(f){return null!=f&&f.length?r(f,1):[]}},58102:(v,b,i)=>{var r=i(93436);v.exports=function a(f,u,e){var p=null==f?void 0:r(f,u);return void 0===p?e:p}},18303:(v,b,i)=>{var r=i(55333),a=i(82138);v.exports=function f(u,e){return null!=u&&a(u,e,r)}},80290:v=>{v.exports=function b(i){return i}},2952:(v,b,i)=>{var r=i(77090),a=i(27503),f=Object.prototype,u=f.hasOwnProperty,e=f.propertyIsEnumerable,p=r(function(){return arguments}())?r:function(g){return a(g)&&u.call(g,"callee")&&!e.call(g,"callee")};v.exports=p},81690:v=>{v.exports=Array.isArray},93406:(v,b,i)=>{var r=i(55836),a=i(8613);v.exports=function f(u){return null!=u&&a(u.length)&&!r(u)}},82027:(v,b,i)=>{var r=i(93406),a=i(27503);v.exports=function f(u){return a(u)&&r(u)}},84444:(v,b,i)=>{v=i.nmd(v);var r=i(27038),a=i(61711),f=b&&!b.nodeType&&b,u=f&&v&&!v.nodeType&&v,p=u&&u.exports===f?r.Buffer:void 0;v.exports=(p?p.isBuffer:void 0)||a},12232:(v,b,i)=>{var r=i(92488),a=i(26663),f=i(2952),u=i(81690),e=i(93406),p=i(84444),g=i(58845),T=i(47679),U=Object.prototype.hasOwnProperty;v.exports=function W(j){if(null==j)return!0;if(e(j)&&(u(j)||"string"==typeof j||"function"==typeof j.splice||p(j)||T(j)||f(j)))return!j.length;var q=a(j);if("[object Map]"==q||"[object Set]"==q)return!j.size;if(g(j))return!r(j).length;for(var ue in j)if(U.call(j,ue))return!1;return!0}},55836:(v,b,i)=>{var r=i(72802),a=i(53867);v.exports=function g(T){if(!a(T))return!1;var M=r(T);return"[object Function]"==M||"[object GeneratorFunction]"==M||"[object AsyncFunction]"==M||"[object Proxy]"==M}},8613:v=>{v.exports=function i(r){return"number"==typeof r&&r>-1&&r%1==0&&r<=9007199254740991}},32e3:(v,b,i)=>{var r=i(63434),a=i(70544),f=i(70938),u=f&&f.isMap,e=u?a(u):r;v.exports=e},53867:v=>{v.exports=function b(i){var r=typeof i;return null!=i&&("object"==r||"function"==r)}},27503:v=>{v.exports=function b(i){return null!=i&&"object"==typeof i}},82358:(v,b,i)=>{var r=i(72802),a=i(52398),f=i(27503),g=Function.prototype.toString,T=Object.prototype.hasOwnProperty,M=g.call(Object);v.exports=function w(R){if(!f(R)||"[object Object]"!=r(R))return!1;var U=a(R);if(null===U)return!0;var W=T.call(U,"constructor")&&U.constructor;return"function"==typeof W&&W instanceof W&&g.call(W)==M}},48855:(v,b,i)=>{var r=i(67495),a=i(70544),f=i(70938),u=f&&f.isSet,e=u?a(u):r;v.exports=e},64871:(v,b,i)=>{var r=i(72802),a=i(81690),f=i(27503);v.exports=function e(p){return"string"==typeof p||!a(p)&&f(p)&&"[object String]"==r(p)}},7786:(v,b,i)=>{var r=i(72802),a=i(27503);v.exports=function u(e){return"symbol"==typeof e||a(e)&&"[object Symbol]"==r(e)}},47679:(v,b,i)=>{var r=i(99390),a=i(70544),f=i(70938),u=f&&f.isTypedArray,e=u?a(u):r;v.exports=e},59108:(v,b,i)=>{var r=i(71890),a=i(92488),f=i(93406);v.exports=function u(e){return f(e)?r(e):a(e)}},42970:(v,b,i)=>{var r=i(71890),a=i(50762),f=i(93406);v.exports=function u(e){return f(e)?r(e,!0):a(e)}},27842:v=>{v.exports=function b(i){var r=null==i?0:i.length;return r?i[r-1]:void 0}},23815:function(v,b,i){var r;v=i.nmd(v),function(){var a,p="Expected a function",T="__lodash_hash_undefined__",w="__lodash_placeholder__",Tt=1/0,We=9007199254740991,Yt=4294967295,vt=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],xt="[object Arguments]",Ct="[object Array]",Fn="[object Boolean]",pr="[object Date]",ci="[object Error]",hr="[object Function]",Br="[object GeneratorFunction]",Ur="[object Map]",Hn="[object Number]",_r="[object Object]",ei="[object Promise]",fi="[object RegExp]",no="[object Set]",xo="[object String]",Er="[object Symbol]",vn="[object WeakMap]",Xn="[object ArrayBuffer]",zn="[object DataView]",ri="[object Float32Array]",Gi="[object Float64Array]",ui="[object Int8Array]",vr="[object Int16Array]",Ji="[object Int32Array]",mn="[object Uint8Array]",Rn="[object Uint8ClampedArray]",Wn="[object Uint16Array]",et="[object Uint32Array]",Le=/\b__p \+= '';/g,Re=/\b(__p \+=) '' \+/g,Se=/(__e\(.*?\)|\b__t\)) \+\n'';/g,dt=/&(?:amp|lt|gt|quot|#39);/g,st=/[&<>"']/g,nn=RegExp(dt.source),Fe=RegExp(st.source),Lr=/<%-([\s\S]+?)%>/g,ti=/<%([\s\S]+?)%>/g,Ut=/<%=([\s\S]+?)%>/g,Dn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Et=/^\w*$/,$t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,_t=/[\\^$.*+?()[\]{}|]/g,yt=RegExp(_t.source),Vt=/^\s+/,yn=/\s/,Cr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,xi=/\{\n\/\* \[wrapped with (.+)\] \*/,yi=/,? & /,Uo=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Qo=/[()=,{}\[\]\/\s]/,lo=/\\(\\)?/g,Ri=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ko=/\w*$/,Xo=/^[-+]0x[0-9a-f]+$/i,ir=/^0b[01]+$/i,si=/^\[object .+?Constructor\]$/,kn=/^0o[0-7]+$/i,nr=/^(?:0|[1-9]\d*)$/,jr=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ao=/($^)/,$i=/['\n\r\u2028\u2029\\]/g,Eo="\\ud800-\\udfff",or="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Mr="\\u2700-\\u27bf",Or="a-z\\xdf-\\xf6\\xf8-\\xff",Jr="A-Z\\xc0-\\xd6\\xd8-\\xde",ro="\\ufe0e\\ufe0f",go="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",js="["+Eo+"]",ds="["+go+"]",es="["+or+"]",ma="\\d+",ya="["+Mr+"]",fa="["+Or+"]",sa="[^"+Eo+go+ma+Mr+Or+Jr+"]",Ra="\\ud83c[\\udffb-\\udfff]",Co="[^"+Eo+"]",yl="(?:\\ud83c[\\udde6-\\uddff]){2}",Wo="[\\ud800-\\udbff][\\udc00-\\udfff]",ys="["+Jr+"]",Is="(?:"+fa+"|"+sa+")",nl="(?:"+ys+"|"+sa+")",Gs="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",$o="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",To="(?:"+es+"|"+Ra+")?",Ns="["+ro+"]?",Ki=Ns+To+"(?:\\u200d(?:"+[Co,yl,Wo].join("|")+")"+Ns+To+")*",ut="(?:"+[ya,yl,Wo].join("|")+")"+Ki,pn="(?:"+[Co+es+"?",es,yl,Wo,js].join("|")+")",te=RegExp("['\u2019]","g"),Ue=RegExp(es,"g"),jt=RegExp(Ra+"(?="+Ra+")|"+pn+Ki,"g"),hn=RegExp([ys+"?"+fa+"+"+Gs+"(?="+[ds,ys,"$"].join("|")+")",nl+"+"+$o+"(?="+[ds,ys+Is,"$"].join("|")+")",ys+"?"+Is+"+"+Gs,ys+"+"+$o,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ma,ut].join("|"),"g"),ii=RegExp("[\\u200d"+Eo+or+ro+"]"),Oi=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ki=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],_s=-1,Vo={};Vo[ri]=Vo[Gi]=Vo[ui]=Vo[vr]=Vo[Ji]=Vo[mn]=Vo[Rn]=Vo[Wn]=Vo[et]=!0,Vo[xt]=Vo[Ct]=Vo[Xn]=Vo[Fn]=Vo[zn]=Vo[pr]=Vo[ci]=Vo[hr]=Vo[Ur]=Vo[Hn]=Vo[_r]=Vo[fi]=Vo[no]=Vo[xo]=Vo[vn]=!1;var Fs={};Fs[xt]=Fs[Ct]=Fs[Xn]=Fs[zn]=Fs[Fn]=Fs[pr]=Fs[ri]=Fs[Gi]=Fs[ui]=Fs[vr]=Fs[Ji]=Fs[Ur]=Fs[Hn]=Fs[_r]=Fs[fi]=Fs[no]=Fs[xo]=Fs[Er]=Fs[mn]=Fs[Rn]=Fs[Wn]=Fs[et]=!0,Fs[ci]=Fs[hr]=Fs[vn]=!1;var Jl={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Xu=parseFloat,_c=parseInt,Cl="object"==typeof global&&global&&global.Object===Object&&global,mc="object"==typeof self&&self&&self.Object===Object&&self,Fl=Cl||mc||Function("return this")(),Ku=b&&!b.nodeType&&b,Xa=Ku&&v&&!v.nodeType&&v,Mc=Xa&&Xa.exports===Ku,ru=Mc&&Cl.process,Ja=function(){try{return Xa&&Xa.require&&Xa.require("util").types||ru&&ru.binding&&ru.binding("util")}catch(Rr){}}(),Ol=Ja&&Ja.isArrayBuffer,Bl=Ja&&Ja.isDate,Ya=Ja&&Ja.isMap,rt=Ja&&Ja.isRegExp,qt=Ja&&Ja.isSet,pt=Ja&&Ja.isTypedArray;function Kt(Yn,Rr,br){switch(br.length){case 0:return Yn.call(Rr);case 1:return Yn.call(Rr,br[0]);case 2:return Yn.call(Rr,br[0],br[1]);case 3:return Yn.call(Rr,br[0],br[1],br[2])}return Yn.apply(Rr,br)}function Kn(Yn,Rr,br,fo){for(var $s=-1,ls=null==Yn?0:Yn.length;++$s<ls;){var _l=Yn[$s];Rr(fo,_l,br(_l),Yn)}return fo}function oi(Yn,Rr){for(var br=-1,fo=null==Yn?0:Yn.length;++br<fo&&!1!==Rr(Yn[br],br,Yn););return Yn}function wi(Yn,Rr){for(var br=null==Yn?0:Yn.length;br--&&!1!==Rr(Yn[br],br,Yn););return Yn}function as(Yn,Rr){for(var br=-1,fo=null==Yn?0:Yn.length;++br<fo;)if(!Rr(Yn[br],br,Yn))return!1;return!0}function Vs(Yn,Rr){for(var br=-1,fo=null==Yn?0:Yn.length,$s=0,ls=[];++br<fo;){var _l=Yn[br];Rr(_l,br,Yn)&&(ls[$s++]=_l)}return ls}function Os(Yn,Rr){return!(null==Yn||!Yn.length)&&ja(Yn,Rr,0)>-1}function ws(Yn,Rr,br){for(var fo=-1,$s=null==Yn?0:Yn.length;++fo<$s;)if(br(Rr,Yn[fo]))return!0;return!1}function Fo(Yn,Rr){for(var br=-1,fo=null==Yn?0:Yn.length,$s=Array(fo);++br<fo;)$s[br]=Rr(Yn[br],br,Yn);return $s}function Ka(Yn,Rr){for(var br=-1,fo=Rr.length,$s=Yn.length;++br<fo;)Yn[$s+br]=Rr[br];return Yn}function al(Yn,Rr,br,fo){var $s=-1,ls=null==Yn?0:Yn.length;for(fo&&ls&&(br=Yn[++$s]);++$s<ls;)br=Rr(br,Yn[$s],$s,Yn);return br}function Bs(Yn,Rr,br,fo){var $s=null==Yn?0:Yn.length;for(fo&&$s&&(br=Yn[--$s]);$s--;)br=Rr(br,Yn[$s],$s,Yn);return br}function mt(Yn,Rr){for(var br=-1,fo=null==Yn?0:Yn.length;++br<fo;)if(Rr(Yn[br],br,Yn))return!0;return!1}var ot=hd("length");function Si(Yn,Rr,br){var fo;return br(Yn,function($s,ls,_l){if(Rr($s,ls,_l))return fo=ls,!1}),fo}function Jo(Yn,Rr,br,fo){for(var $s=Yn.length,ls=br+(fo?1:-1);fo?ls--:++ls<$s;)if(Rr(Yn[ls],ls,Yn))return ls;return-1}function ja(Yn,Rr,br){return Rr==Rr?function ct(Yn,Rr,br){for(var fo=br-1,$s=Yn.length;++fo<$s;)if(Yn[fo]===Rr)return fo;return-1}(Yn,Rr,br):Jo(Yn,qu,br)}function El(Yn,Rr,br,fo){for(var $s=br-1,ls=Yn.length;++$s<ls;)if(fo(Yn[$s],Rr))return $s;return-1}function qu(Yn){return Yn!=Yn}function Nc(Yn,Rr){var br=null==Yn?0:Yn.length;return br?Es(Yn,Rr)/br:NaN}function hd(Yn){return function(Rr){return null==Rr?a:Rr[Yn]}}function Yi(Yn){return function(Rr){return null==Yn?a:Yn[Rr]}}function aa(Yn,Rr,br,fo,$s){return $s(Yn,function(ls,_l,Us){br=fo?(fo=!1,ls):Rr(br,ls,_l,Us)}),br}function Es(Yn,Rr){for(var br,fo=-1,$s=Yn.length;++fo<$s;){var ls=Rr(Yn[fo]);ls!==a&&(br=br===a?ls:br+ls)}return br}function ec(Yn,Rr){for(var br=-1,fo=Array(Yn);++br<Yn;)fo[br]=Rr(br);return fo}function lu(Yn){return Yn&&Yn.slice(0,Pn(Yn)+1).replace(Vt,"")}function Eu(Yn){return function(Rr){return Yn(Rr)}}function iu(Yn,Rr){return Fo(Rr,function(br){return Yn[br]})}function ra(Yn,Rr){return Yn.has(Rr)}function bu(Yn,Rr){for(var br=-1,fo=Yn.length;++br<fo&&ja(Rr,Yn[br],0)>-1;);return br}function td(Yn,Rr){for(var br=Yn.length;br--&&ja(Rr,Yn[br],0)>-1;);return br}function tc(Yn,Rr){for(var br=Yn.length,fo=0;br--;)Yn[br]===Rr&&++fo;return fo}var uu=Yi({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"}),du=Yi({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function nd(Yn){return"\\"+Jl[Yn]}function Yu(Yn){return ii.test(Yn)}function Io(Yn){var Rr=-1,br=Array(Yn.size);return Yn.forEach(function(fo,$s){br[++Rr]=[$s,fo]}),br}function fu(Yn,Rr){return function(br){return Yn(Rr(br))}}function Sr(Yn,Rr){for(var br=-1,fo=Yn.length,$s=0,ls=[];++br<fo;){var _l=Yn[br];(_l===Rr||_l===w)&&(Yn[br]=w,ls[$s++]=br)}return ls}function Z(Yn){var Rr=-1,br=Array(Yn.size);return Yn.forEach(function(fo){br[++Rr]=fo}),br}function Ht(Yn){return Yu(Yn)?function ai(Yn){for(var Rr=jt.lastIndex=0;jt.test(Yn);)++Rr;return Rr}(Yn):ot(Yn)}function _n(Yn){return Yu(Yn)?function Ei(Yn){return Yn.match(jt)||[]}(Yn):function je(Yn){return Yn.split("")}(Yn)}function Pn(Yn){for(var Rr=Yn.length;Rr--&&yn.test(Yn.charAt(Rr)););return Rr}var Tr=Yi({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),Pr=function Yn(Rr){var O,br=(Rr=null==Rr?Fl:Pr.defaults(Fl.Object(),Rr,Pr.pick(Fl,ki))).Array,fo=Rr.Date,$s=Rr.Error,ls=Rr.Function,_l=Rr.Math,Us=Rr.Object,Zc=Rr.RegExp,Ic=Rr.String,Pu=Rr.TypeError,Su=br.prototype,_d=Us.prototype,md=Rr["__core-js_shared__"],Hc=ls.prototype.toString,La=_d.hasOwnProperty,kd=0,Oc=(O=/[^.]+$/.exec(md&&md.keys&&md.keys.IE_PROTO||""))?"Symbol(src)_1."+O:"",Mo=_d.toString,wo=Hc.call(Us),Sa=Fl._,Tl=Zc("^"+Hc.call(La).replace(_t,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ou=Mc?Rr.Buffer:a,Tu=Rr.Symbol,gc=Rr.Uint8Array,En=ou?ou.allocUnsafe:a,pa=fu(Us.getPrototypeOf,Us),rd=Us.create,Ze=_d.propertyIsEnumerable,Ae=Su.splice,ge=Tu?Tu.isConcatSpreadable:a,ht=Tu?Tu.iterator:a,Ot=Tu?Tu.toStringTag:a,sn=function(){try{var O=Hu(Us,"defineProperty");return O({},"",{}),O}catch($){}}(),Un=Rr.clearTimeout!==Fl.clearTimeout&&Rr.clearTimeout,gr=fo&&fo.now!==Fl.Date.now&&fo.now,gi=Rr.setTimeout!==Fl.setTimeout&&Rr.setTimeout,Lo=_l.ceil,Ta=_l.floor,ms=Us.getOwnPropertySymbols,ha=ou?ou.isBuffer:a,Ca=Rr.isFinite,Nu=Su.join,cc=fu(Us.keys,Us),ka=_l.max,rl=_l.min,vc=fo.now,yc=Rr.parseInt,ju=_l.random,Ul=Su.reverse,nc=Hu(Rr,"DataView"),gd=Hu(Rr,"Map"),Fc=Hu(Rr,"Promise"),cu=Hu(Rr,"Set"),Ma=Hu(Rr,"WeakMap"),ll=Hu(Us,"create"),Ll=Ma&&new Ma,Ml={},gf=qf(nc),zd=qf(gd),id=qf(Fc),Al=qf(cu),kl=qf(Ma),Gu=Tu?Tu.prototype:a,ul=Gu?Gu.valueOf:a,Cu=Gu?Gu.toString:a;function cn(O){if(hc(O)&&!hi(O)&&!(O instanceof cl)){if(O instanceof qa)return O;if(La.call(O,"__wrapped__"))return y_(O)}return new qa(O)}var Ec=function(){function O(){}return function($){if(!Wu($))return{};if(rd)return rd($);O.prototype=$;var he=new O;return O.prototype=a,he}}();function Iu(){}function qa(O,$){this.__wrapped__=O,this.__actions__=[],this.__chain__=!!$,this.__index__=0,this.__values__=a}function cl(O){this.__wrapped__=O,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Yt,this.__views__=[]}function dc(O){var $=-1,he=null==O?0:O.length;for(this.clear();++$<he;){var it=O[$];this.set(it[0],it[1])}}function fc(O){var $=-1,he=null==O?0:O.length;for(this.clear();++$<he;){var it=O[$];this.set(it[0],it[1])}}function od(O){var $=-1,he=null==O?0:O.length;for(this.clear();++$<he;){var it=O[$];this.set(it[0],it[1])}}function $d(O){var $=-1,he=null==O?0:O.length;for(this.__data__=new od;++$<he;)this.add(O[$])}function $l(O){var $=this.__data__=new fc(O);this.size=$.size}function ic(O,$){var he=hi(O),it=!he&&xr(O),Wt=!he&&!it&&au(O),Cn=!he&&!it&&!Wt&&Dm(O),lr=he||it||Wt||Cn,Ir=lr?ec(O.length,Ic):[],Kr=Ir.length;for(var oo in O)($||La.call(O,oo))&&(!lr||!("length"==oo||Wt&&("offset"==oo||"parent"==oo)||Cn&&("buffer"==oo||"byteLength"==oo||"byteOffset"==oo)||Bu(oo,Kr)))&&Ir.push(oo);return Ir}function Ql(O){var $=O.length;return $?O[Bd(0,$-1)]:a}function Sc(O,$){return Ap(Sd(O),oc($,0,O.length))}function Tc(O){return Ap(Sd(O))}function Zu(O,$,he){(he!==a&&!ft(O[$],he)||he===a&&!($ in O))&&Nl(O,$,he)}function hu(O,$,he){var it=O[$];(!La.call(O,$)||!ft(it,he)||he===a&&!($ in O))&&Nl(O,$,he)}function Wc(O,$){for(var he=O.length;he--;)if(ft(O[he][0],$))return he;return-1}function pc(O,$,he,it){return de(O,function(Wt,Cn,lr){$(it,Wt,he(Wt),lr)}),it}function Jd(O,$){return O&&Kd($,xd($),O)}function Nl(O,$,he){"__proto__"==$&&sn?sn(O,$,{configurable:!0,enumerable:!0,value:he,writable:!0}):O[$]=he}function Uc(O,$){for(var he=-1,it=$.length,Wt=br(it),Cn=null==O;++he<it;)Wt[he]=Cn?a:fv(O,$[he]);return Wt}function oc(O,$,he){return O==O&&(he!==a&&(O=O<=he?O:he),$!==a&&(O=O>=$?O:$)),O}function h(O,$,he,it,Wt,Cn){var lr,Ir=1&$,Kr=2&$,oo=4&$;if(he&&(lr=Wt?he(O,it,Wt,Cn):he(O)),lr!==a)return lr;if(!Wu(O))return O;var ho=hi(O);if(ho){if(lr=function Sh(O){var $=O.length,he=new O.constructor($);return $&&"string"==typeof O[0]&&La.call(O,"index")&&(he.index=O.index,he.input=O.input),he}(O),!Ir)return Sd(O,lr)}else{var So=zu(O),bs=So==hr||So==Br;if(au(O))return jh(O,Ir);if(So==_r||So==xt||bs&&!Wt){if(lr=Kr||bs?{}:cp(O),!Ir)return Kr?function tm(O,$){return Kd(O,Mp(O),$)}(O,function Jc(O,$){return O&&Kd($,mp($),O)}(lr,O)):function __(O,$){return Kd(O,Lf(O),$)}(O,Jd(lr,O))}else{if(!Fs[So])return Wt?O:{};lr=function Ps(O,$,he){var it=O.constructor;switch($){case Xn:return Gh(O);case Fn:case pr:return new it(+O);case zn:return function h_(O,$){var he=$?Gh(O.buffer):O.buffer;return new O.constructor(he,O.byteOffset,O.byteLength)}(O,he);case ri:case Gi:case ui:case vr:case Ji:case mn:case Rn:case Wn:case et:return Vh(O,he);case Ur:return new it;case Hn:case xo:return new it(O);case fi:return function fh(O){var $=new O.constructor(O.source,ko.exec(O));return $.lastIndex=O.lastIndex,$}(O);case no:return new it;case Er:return function Yp(O){return ul?Us(ul.call(O)):{}}(O)}}(O,So,Ir)}}Cn||(Cn=new $l);var la=Cn.get(O);if(la)return la;Cn.set(O,lr),I0(O)?O.forEach(function(Na){lr.add(h(Na,$,he,Na,O,Cn))}):t1(O)&&O.forEach(function(Na,Hl){lr.set(Hl,h(Na,$,he,Hl,O,Cn))});var Rl=ho?a:(oo?Kr?Eh:yh:Kr?mp:xd)(O);return oi(Rl||O,function(Na,Hl){Rl&&(Na=O[Hl=Na]),hu(lr,Hl,h(Na,$,he,Hl,O,Cn))}),lr}function P(O,$,he){var it=he.length;if(null==O)return!it;for(O=Us(O);it--;){var Wt=he[it],lr=O[Wt];if(lr===a&&!(Wt in O)||!(0,$[Wt])(lr))return!1}return!0}function L(O,$,he){if("function"!=typeof O)throw new Pu(p);return Vp(function(){O.apply(a,he)},$)}function X(O,$,he,it){var Wt=-1,Cn=Os,lr=!0,Ir=O.length,Kr=[],oo=$.length;if(!Ir)return Kr;he&&($=Fo($,Eu(he))),it?(Cn=ws,lr=!1):$.length>=200&&(Cn=ra,lr=!1,$=new $d($));e:for(;++Wt<Ir;){var ho=O[Wt],So=null==he?ho:he(ho);if(ho=it||0!==ho?ho:0,lr&&So==So){for(var bs=oo;bs--;)if($[bs]===So)continue e;Kr.push(ho)}else Cn($,So,it)||Kr.push(ho)}return Kr}cn.templateSettings={escape:Lr,evaluate:ti,interpolate:Ut,variable:"",imports:{_:cn}},(cn.prototype=Iu.prototype).constructor=cn,(qa.prototype=Ec(Iu.prototype)).constructor=qa,(cl.prototype=Ec(Iu.prototype)).constructor=cl,dc.prototype.clear=function yd(){this.__data__=ll?ll(null):{},this.size=0},dc.prototype.delete=function $p(O){var $=this.has(O)&&delete this.__data__[O];return this.size-=$?1:0,$},dc.prototype.get=function vf(O){var $=this.__data__;if(ll){var he=$[O];return he===T?a:he}return La.call($,O)?$[O]:a},dc.prototype.has=function ap(O){var $=this.__data__;return ll?$[O]!==a:La.call($,O)},dc.prototype.set=function Vu(O,$){var he=this.__data__;return this.size+=this.has(O)?0:1,he[O]=ll&&$===a?T:$,this},fc.prototype.clear=function Wd(){this.__data__=[],this.size=0},fc.prototype.delete=function Rf(O){var $=this.__data__,he=Wc($,O);return!(he<0||(he==$.length-1?$.pop():Ae.call($,he,1),--this.size,0))},fc.prototype.get=function yp(O){var $=this.__data__,he=Wc($,O);return he<0?a:$[he][1]},fc.prototype.has=function Lc(O){return Wc(this.__data__,O)>-1},fc.prototype.set=function Fu(O,$){var he=this.__data__,it=Wc(he,O);return it<0?(++this.size,he.push([O,$])):he[it][1]=$,this},od.prototype.clear=function rc(){this.size=0,this.__data__={hash:new dc,map:new(gd||fc),string:new dc}},od.prototype.delete=function Oa(O){var $=Ff(this,O).delete(O);return this.size-=$?1:0,$},od.prototype.get=function zc(O){return Ff(this,O).get(O)},od.prototype.has=function sd(O){return Ff(this,O).has(O)},od.prototype.set=function lp(O,$){var he=Ff(this,O),it=he.size;return he.set(O,$),this.size+=he.size==it?0:1,this},$d.prototype.add=$d.prototype.push=function vo(O){return this.__data__.set(O,T),this},$d.prototype.has=function pu(O){return this.__data__.has(O)},$l.prototype.clear=function Ac(){this.__data__=new fc,this.size=0},$l.prototype.delete=function ga(O){var $=this.__data__,he=$.delete(O);return this.size=$.size,he},$l.prototype.get=function Dc(O){return this.__data__.get(O)},$l.prototype.has=function Lu(O){return this.__data__.has(O)},$l.prototype.set=function bc(O,$){var he=this.__data__;if(he instanceof fc){var it=he.__data__;if(!gd||it.length<199)return it.push([O,$]),this.size=++he.size,this;he=this.__data__=new od(it)}return he.set(O,$),this.size=he.size,this};var de=Td(Vn),ve=Td(fr,!0);function Ye(O,$){var he=!0;return de(O,function(it,Wt,Cn){return he=!!$(it,Wt,Cn)}),he}function xe(O,$,he){for(var it=-1,Wt=O.length;++it<Wt;){var Cn=O[it],lr=$(Cn);if(null!=lr&&(Ir===a?lr==lr&&!Xp(lr):he(lr,Ir)))var Ir=lr,Kr=Cn}return Kr}function St(O,$){var he=[];return de(O,function(it,Wt,Cn){$(it,Wt,Cn)&&he.push(it)}),he}function Mt(O,$,he,it,Wt){var Cn=-1,lr=O.length;for(he||(he=dp),Wt||(Wt=[]);++Cn<lr;){var Ir=O[Cn];$>0&&he(Ir)?$>1?Mt(Ir,$-1,he,it,Wt):Ka(Wt,Ir):it||(Wt[Wt.length]=Ir)}return Wt}var fn=m_(),jn=m_(!0);function Vn(O,$){return O&&fn(O,$,xd)}function fr(O,$){return O&&jn(O,$,xd)}function $r(O,$){return Vs($,function(he){return uf(O[he])})}function Ui(O,$){for(var he=0,it=($=Nf($,O)).length;null!=O&&he<it;)O=O[sf($[he++])];return he&&he==it?O:a}function is(O,$,he){var it=$(O);return hi(O)?it:Ka(it,he(O))}function yo(O){return null==O?O===a?"[object Undefined]":"[object Null]":Ot&&Ot in Us(O)?function bh(O){var $=La.call(O,Ot),he=O[Ot];try{O[Ot]=a;var it=!0}catch(Cn){}var Wt=Mo.call(O);return it&&($?O[Ot]=he:delete O[Ot]),Wt}(O):function Mh(O){return Mo.call(O)}(O)}function Zs(O,$){return O>$}function qs(O,$){return null!=O&&La.call(O,$)}function el(O,$){return null!=O&&$ in Us(O)}function Ga(O,$,he){for(var it=he?ws:Os,Wt=O[0].length,Cn=O.length,lr=Cn,Ir=br(Cn),Kr=1/0,oo=[];lr--;){var ho=O[lr];lr&&$&&(ho=Fo(ho,Eu($))),Kr=rl(ho.length,Kr),Ir[lr]=!he&&($||Wt>=120&&ho.length>=120)?new $d(lr&&ho):a}ho=O[0];var So=-1,bs=Ir[0];e:for(;++So<Wt&&oo.length<Kr;){var la=ho[So],Ea=$?$(la):la;if(la=he||0!==la?la:0,!(bs?ra(bs,Ea):it(oo,Ea,he))){for(lr=Cn;--lr;){var Rl=Ir[lr];if(!(Rl?ra(Rl,Ea):it(O[lr],Ea,he)))continue e}bs&&bs.push(Ea),oo.push(la)}}return oo}function Gl(O,$,he){var it=null==(O=Xf(O,$=Nf($,O)))?O:O[sf(Gc($))];return null==it?a:Kt(it,O,he)}function _u(O){return hc(O)&&yo(O)==xt}function ku(O,$,he,it,Wt){return O===$||(null==O||null==$||!hc(O)&&!hc($)?O!=O&&$!=$:function xc(O,$,he,it,Wt,Cn){var lr=hi(O),Ir=hi($),Kr=lr?Ct:zu(O),oo=Ir?Ct:zu($),ho=(Kr=Kr==xt?_r:Kr)==_r,So=(oo=oo==xt?_r:oo)==_r,bs=Kr==oo;if(bs&&au(O)){if(!au($))return!1;lr=!0,ho=!1}if(bs&&!ho)return Cn||(Cn=new $l),lr||Dm(O)?Wf(O,$,he,it,Wt,Cn):function vh(O,$,he,it,Wt,Cn,lr){switch(he){case zn:if(O.byteLength!=$.byteLength||O.byteOffset!=$.byteOffset)return!1;O=O.buffer,$=$.buffer;case Xn:return!(O.byteLength!=$.byteLength||!Cn(new gc(O),new gc($)));case Fn:case pr:case Hn:return ft(+O,+$);case ci:return O.name==$.name&&O.message==$.message;case fi:case xo:return O==$+"";case Ur:var Ir=Io;case no:if(Ir||(Ir=Z),O.size!=$.size&&!(1&it))return!1;var oo=lr.get(O);if(oo)return oo==$;it|=2,lr.set(O,$);var ho=Wf(Ir(O),Ir($),it,Wt,Cn,lr);return lr.delete(O),ho;case Er:if(ul)return ul.call(O)==ul.call($)}return!1}(O,$,Kr,he,it,Wt,Cn);if(!(1&he)){var la=ho&&La.call(O,"__wrapped__"),Ea=So&&La.call($,"__wrapped__");if(la||Ea){var Rl=la?O.value():O,Na=Ea?$.value():$;return Cn||(Cn=new $l),Wt(Rl,Na,he,it,Cn)}}return!!bs&&(Cn||(Cn=new $l),function Cp(O,$,he,it,Wt,Cn){var lr=1&he,Ir=yh(O),Kr=Ir.length;if(Kr!=yh($).length&&!lr)return!1;for(var So=Kr;So--;){var bs=Ir[So];if(!(lr?bs in $:La.call($,bs)))return!1}var la=Cn.get(O),Ea=Cn.get($);if(la&&Ea)return la==$&&Ea==O;var Rl=!0;Cn.set(O,$),Cn.set($,O);for(var Na=lr;++So<Kr;){var Hl=O[bs=Ir[So]],ql=$[bs];if(it)var Yf=lr?it(ql,Hl,bs,$,O,Cn):it(Hl,ql,bs,O,$,Cn);if(!(Yf===a?Hl===ql||Wt(Hl,ql,he,it,Cn):Yf)){Rl=!1;break}Na||(Na="constructor"==bs)}if(Rl&&!Na){var cf=O.constructor,rp=$.constructor;cf!=rp&&"constructor"in O&&"constructor"in $&&!("function"==typeof cf&&cf instanceof cf&&"function"==typeof rp&&rp instanceof rp)&&(Rl=!1)}return Cn.delete(O),Cn.delete($),Rl}(O,$,he,it,Wt,Cn))}(O,$,he,it,ku,Wt))}function Qd(O,$,he,it){var Wt=he.length,Cn=Wt,lr=!it;if(null==O)return!Cn;for(O=Us(O);Wt--;){var Ir=he[Wt];if(lr&&Ir[2]?Ir[1]!==O[Ir[0]]:!(Ir[0]in O))return!1}for(;++Wt<Cn;){var Kr=(Ir=he[Wt])[0],oo=O[Kr],ho=Ir[1];if(lr&&Ir[2]){if(oo===a&&!(Kr in O))return!1}else{var So=new $l;if(it)var bs=it(oo,ho,Kr,O,$,So);if(!(bs===a?ku(ho,oo,3,it,So):bs))return!1}}return!0}function il(O){return!(!Wu(O)||function t_(O){return!!Oc&&Oc in O}(O))&&(uf(O)?Tl:si).test(qf(O))}function wt(O){return"function"==typeof O?O:null==O?np:"object"==typeof O?hi(O)?ca(O[0],O[1]):Aa(O):N1(O)}function ln(O){if(!rf(O))return cc(O);var $=[];for(var he in Us(O))La.call(O,he)&&"constructor"!=he&&$.push(he);return $}function Ai(O,$){return O<$}function gs(O,$){var he=-1,it=zo(O)?br(O.length):[];return de(O,function(Wt,Cn,lr){it[++he]=$(Wt,Cn,lr)}),it}function Aa(O){var $=jp(O);return 1==$.length&&$[0][2]?n_($[0][0],$[0][1]):function(he){return he===O||Qd(he,O,$)}}function ca(O,$){return Qf(O)&&Th($)?n_(sf(O),$):function(he){var it=fv(he,O);return it===a&&it===$?pv(he,O):ku($,it,3)}}function Dl(O,$,he,it,Wt){O!==$&&fn($,function(Cn,lr){if(Wt||(Wt=new $l),Wu(Cn))!function Yl(O,$,he,it,Wt,Cn,lr){var Ir=Op(O,he),Kr=Op($,he),oo=lr.get(Kr);if(oo)Zu(O,he,oo);else{var ho=Cn?Cn(Ir,Kr,he+"",O,$,lr):a,So=ho===a;if(So){var bs=hi(Kr),la=!bs&&au(Kr),Ea=!bs&&!la&&Dm(Kr);ho=Kr,bs||la||Ea?hi(Ir)?ho=Ir:As(Ir)?ho=Sd(Ir):la?(So=!1,ho=jh(Kr,!0)):Ea?(So=!1,ho=Vh(Kr,!0)):ho=[]:dm(Kr)||xr(Kr)?(ho=Ir,xr(Ir)?ho=Rg(Ir):(!Wu(Ir)||uf(Ir))&&(ho=cp(Kr))):So=!1}So&&(lr.set(Kr,ho),Wt(ho,Kr,it,Cn,lr),lr.delete(Kr)),Zu(O,he,ho)}}(O,$,lr,he,Dl,it,Wt);else{var Ir=it?it(Op(O,lr),Cn,lr+"",O,$,Wt):a;Ir===a&&(Ir=Cn),Zu(O,lr,Ir)}},mp)}function Yc(O,$){var he=O.length;if(he)return Bu($+=$<0?he:0,he)?O[$]:a}function yf(O,$,he){$=$.length?Fo($,function(Cn){return hi(Cn)?function(lr){return Ui(lr,1===Cn.length?Cn[0]:Cn)}:Cn}):[np];var it=-1;return $=Fo($,Eu(Ts())),function Fa(Yn,Rr){var br=Yn.length;for(Yn.sort(Rr);br--;)Yn[br]=Yn[br].value;return Yn}(gs(O,function(Cn,lr,Ir){return{criteria:Fo($,function(oo){return oo(Cn)}),index:++it,value:Cn}}),function(Cn,lr){return function em(O,$,he){for(var it=-1,Wt=O.criteria,Cn=$.criteria,lr=Wt.length,Ir=he.length;++it<lr;){var Kr=ph(Wt[it],Cn[it]);if(Kr)return it>=Ir?Kr:Kr*("desc"==he[it]?-1:1)}return O.index-$.index}(Cn,lr,he)})}function f_(O,$,he){for(var it=-1,Wt=$.length,Cn={};++it<Wt;){var lr=$[it],Ir=Ui(O,lr);he(Ir,lr)&&Ed(Cn,Nf(lr,O),Ir)}return Cn}function Rc(O,$,he,it){var Wt=it?El:ja,Cn=-1,lr=$.length,Ir=O;for(O===$&&($=Sd($)),he&&(Ir=Fo(O,Eu(he)));++Cn<lr;)for(var Kr=0,oo=$[Cn],ho=he?he(oo):oo;(Kr=Wt(Ir,ho,Kr,it))>-1;)Ir!==O&&Ae.call(Ir,Kr,1),Ae.call(O,Kr,1);return O}function Xd(O,$){for(var he=O?$.length:0,it=he-1;he--;){var Wt=$[he];if(he==it||Wt!==Cn){var Cn=Wt;Bu(Wt)?Ae.call(O,Wt,1):Up(O,Wt)}}return O}function Bd(O,$){return O+Ta(ju()*($-O+1))}function Hp(O,$){var he="";if(!O||$<1||$>We)return he;do{$%2&&(he+=O),($=Ta($/2))&&(O+=O)}while($);return he}function dl(O,$){return Kf(jc(O,$,np),O+"")}function Uh(O){return Ql(Pg(O))}function wf(O,$){var he=Pg(O);return Ap(he,oc($,0,he.length))}function Ed(O,$,he,it){if(!Wu(O))return O;for(var Wt=-1,Cn=($=Nf($,O)).length,lr=Cn-1,Ir=O;null!=Ir&&++Wt<Cn;){var Kr=sf($[Wt]),oo=he;if("__proto__"===Kr||"constructor"===Kr||"prototype"===Kr)return O;if(Wt!=lr){var ho=Ir[Kr];(oo=it?it(ho,Kr,Ir):a)===a&&(oo=Wu(ho)?ho:Bu($[Wt+1])?[]:{})}hu(Ir,Kr,oo),Ir=Ir[Kr]}return O}var ad=Ll?function(O,$){return Ll.set(O,$),O}:np,Kl=sn?function(O,$){return sn(O,"toString",{configurable:!0,enumerable:!1,value:Z_($),writable:!0})}:np;function up(O){return Ap(Pg(O))}function ld(O,$,he){var it=-1,Wt=O.length;$<0&&($=-$>Wt?0:Wt+$),(he=he>Wt?Wt:he)<0&&(he+=Wt),Wt=$>he?0:he-$>>>0,$>>>=0;for(var Cn=br(Wt);++it<Wt;)Cn[it]=O[it+$];return Cn}function Yh(O,$){var he;return de(O,function(it,Wt,Cn){return!(he=$(it,Wt,Cn))}),!!he}function lh(O,$,he){var it=0,Wt=null==O?it:O.length;if("number"==typeof $&&$==$&&Wt<=2147483647){for(;it<Wt;){var Cn=it+Wt>>>1,lr=O[Cn];null!==lr&&!Xp(lr)&&(he?lr<=$:lr<$)?it=Cn+1:Wt=Cn}return Wt}return Pf(O,$,np,he)}function Pf(O,$,he,it){var Wt=0,Cn=null==O?0:O.length;if(0===Cn)return 0;for(var lr=($=he($))!=$,Ir=null===$,Kr=Xp($),oo=$===a;Wt<Cn;){var ho=Ta((Wt+Cn)/2),So=he(O[ho]),bs=So!==a,la=null===So,Ea=So==So,Rl=Xp(So);if(lr)var Na=it||Ea;else Na=oo?Ea&&(it||bs):Ir?Ea&&bs&&(it||!la):Kr?Ea&&bs&&!la&&(it||!Rl):!la&&!Rl&&(it?So<=$:So<$);Na?Wt=ho+1:Cn=ho}return rl(Cn,4294967294)}function Bp(O,$){for(var he=-1,it=O.length,Wt=0,Cn=[];++he<it;){var lr=O[he],Ir=$?$(lr):lr;if(!he||!ft(Ir,Kr)){var Kr=Ir;Cn[Wt++]=0===lr?0:lr}}return Cn}function Ef(O){return"number"==typeof O?O:Xp(O)?NaN:+O}function sc(O){if("string"==typeof O)return O;if(hi(O))return Fo(O,sc)+"";if(Xp(O))return Cu?Cu.call(O):"";var $=O+"";return"0"==$&&1/O==-Tt?"-0":$}function bd(O,$,he){var it=-1,Wt=Os,Cn=O.length,lr=!0,Ir=[],Kr=Ir;if(he)lr=!1,Wt=ws;else if(Cn>=200){var oo=$?null:L_(O);if(oo)return Z(oo);lr=!1,Wt=ra,Kr=new $d}else Kr=$?[]:Ir;e:for(;++it<Cn;){var ho=O[it],So=$?$(ho):ho;if(ho=he||0!==ho?ho:0,lr&&So==So){for(var bs=Kr.length;bs--;)if(Kr[bs]===So)continue e;$&&Kr.push(So),Ir.push(ho)}else Wt(Kr,So,he)||(Kr!==Ir&&Kr.push(So),Ir.push(ho))}return Ir}function Up(O,$){return null==(O=Xf(O,$=Nf($,O)))||delete O[sf(Gc($))]}function uh(O,$,he,it){return Ed(O,$,he(Ui(O,$)),it)}function ch(O,$,he,it){for(var Wt=O.length,Cn=it?Wt:-1;(it?Cn--:++Cn<Wt)&&$(O[Cn],Cn,O););return he?ld(O,it?0:Cn,it?Cn+1:Wt):ld(O,it?Cn+1:0,it?Wt:Cn)}function p_(O,$){var he=O;return he instanceof cl&&(he=he.value()),al($,function(it,Wt){return Wt.func.apply(Wt.thisArg,Ka([it],Wt.args))},he)}function dh(O,$,he){var it=O.length;if(it<2)return it?bd(O[0]):[];for(var Wt=-1,Cn=br(it);++Wt<it;)for(var lr=O[Wt],Ir=-1;++Ir<it;)Ir!=Wt&&(Cn[Wt]=X(Cn[Wt]||lr,O[Ir],$,he));return bd(Mt(Cn,1),$,he)}function bf(O,$,he){for(var it=-1,Wt=O.length,Cn=$.length,lr={};++it<Wt;)he(lr,O[it],it<Cn?$[it]:a);return lr}function Sf(O){return As(O)?O:[]}function Zf(O){return"function"==typeof O?O:np}function Nf(O,$){return hi(O)?O:Qf(O,$)?[O]:Zp(gu(O))}var Tf=dl;function Au(O,$,he){var it=O.length;return he=he===a?it:he,!$&&he>=it?O:ld(O,$,he)}var If=Un||function(O){return Fl.clearTimeout(O)};function jh(O,$){if($)return O.slice();var he=O.length,it=En?En(he):new O.constructor(he);return O.copy(it),it}function Gh(O){var $=new O.constructor(O.byteLength);return new gc($).set(new gc(O)),$}function Vh(O,$){var he=$?Gh(O.buffer):O.buffer;return new O.constructor(he,O.byteOffset,O.length)}function ph(O,$){if(O!==$){var he=O!==a,it=null===O,Wt=O==O,Cn=Xp(O),lr=$!==a,Ir=null===$,Kr=$==$,oo=Xp($);if(!Ir&&!oo&&!Cn&&O>$||Cn&&lr&&Kr&&!Ir&&!oo||it&&lr&&Kr||!he&&Kr||!Wt)return 1;if(!it&&!Cn&&!oo&&O<$||oo&&he&&Wt&&!it&&!Cn||Ir&&he&&Wt||!lr&&Wt||!Kr)return-1}return 0}function Du(O,$,he,it){for(var Wt=-1,Cn=O.length,lr=he.length,Ir=-1,Kr=$.length,oo=ka(Cn-lr,0),ho=br(Kr+oo),So=!it;++Ir<Kr;)ho[Ir]=$[Ir];for(;++Wt<lr;)(So||Wt<Cn)&&(ho[he[Wt]]=O[Wt]);for(;oo--;)ho[Ir++]=O[Wt++];return ho}function Zh(O,$,he,it){for(var Wt=-1,Cn=O.length,lr=-1,Ir=he.length,Kr=-1,oo=$.length,ho=ka(Cn-Ir,0),So=br(ho+oo),bs=!it;++Wt<ho;)So[Wt]=O[Wt];for(var la=Wt;++Kr<oo;)So[la+Kr]=$[Kr];for(;++lr<Ir;)(bs||Wt<Cn)&&(So[la+he[lr]]=O[Wt++]);return So}function Sd(O,$){var he=-1,it=O.length;for($||($=br(it));++he<it;)$[he]=O[he];return $}function Kd(O,$,he,it){var Wt=!he;he||(he={});for(var Cn=-1,lr=$.length;++Cn<lr;){var Ir=$[Cn],Kr=it?it(he[Ir],O[Ir],Ir,he,O):a;Kr===a&&(Kr=O[Ir]),Wt?Nl(he,Ir,Kr):hu(he,Ir,Kr)}return he}function hh(O,$){return function(he,it){var Wt=hi(he)?Kn:pc,Cn=$?$():{};return Wt(he,O,Ts(it,2),Cn)}}function Ep(O){return dl(function($,he){var it=-1,Wt=he.length,Cn=Wt>1?he[Wt-1]:a,lr=Wt>2?he[2]:a;for(Cn=O.length>3&&"function"==typeof Cn?(Wt--,Cn):a,lr&&jl(he[0],he[1],lr)&&(Cn=Wt<3?a:Cn,Wt=1),$=Us($);++it<Wt;){var Ir=he[it];Ir&&O($,Ir,it,Cn)}return $})}function Td(O,$){return function(he,it){if(null==he)return he;if(!zo(he))return O(he,it);for(var Wt=he.length,Cn=$?Wt:-1,lr=Us(he);($?Cn--:++Cn<Wt)&&!1!==it(lr[Cn],Cn,lr););return he}}function m_(O){return function($,he,it){for(var Wt=-1,Cn=Us($),lr=it($),Ir=lr.length;Ir--;){var Kr=lr[O?Ir:++Wt];if(!1===he(Cn[Kr],Kr,Cn))break}return $}}function Wh(O){return function($){var he=Yu($=gu($))?_n($):a,it=he?he[0]:$.charAt(0),Wt=he?Au(he,1).join(""):$.slice(1);return it[O]()+Wt}}function Cd(O){return function($){return al(hm(b1($).replace(te,"")),O,"")}}function mu(O){return function(){var $=arguments;switch($.length){case 0:return new O;case 1:return new O($[0]);case 2:return new O($[0],$[1]);case 3:return new O($[0],$[1],$[2]);case 4:return new O($[0],$[1],$[2],$[3]);case 5:return new O($[0],$[1],$[2],$[3],$[4]);case 6:return new O($[0],$[1],$[2],$[3],$[4],$[5]);case 7:return new O($[0],$[1],$[2],$[3],$[4],$[5],$[6])}var he=Ec(O.prototype),it=O.apply(he,$);return Wu(it)?it:he}}function bp(O){return function($,he,it){var Wt=Us($);if(!zo($)){var Cn=Ts(he,3);$=xd($),he=function(Ir){return Cn(Wt[Ir],Ir,Wt)}}var lr=O($,he,it);return lr>-1?Wt[Cn?$[lr]:lr]:a}}function Qh(O){return Cf(function($){var he=$.length,it=he,Wt=qa.prototype.thru;for(O&&$.reverse();it--;){var Cn=$[it];if("function"!=typeof Cn)throw new Pu(p);if(Wt&&!lr&&"wrapper"==wc(Cn))var lr=new qa([],!0)}for(it=lr?it:he;++it<he;){var Ir=wc(Cn=$[it]),Kr="wrapper"==Ir?da(Cn):a;lr=Kr&&Gp(Kr[0])&&424==Kr[1]&&!Kr[4].length&&1==Kr[9]?lr[wc(Kr[0])].apply(lr,Kr[3]):1==Cn.length&&Gp(Cn)?lr[Ir]():lr.thru(Cn)}return function(){var oo=arguments,ho=oo[0];if(lr&&1==oo.length&&hi(ho))return lr.plant(ho).value();for(var So=0,bs=he?$[So].apply(this,oo):ho;++So<he;)bs=$[So].call(this,bs);return bs}})}function ac(O,$,he,it,Wt,Cn,lr,Ir,Kr,oo){var ho=128&$,So=1&$,bs=2&$,la=24&$,Ea=512&$,Rl=bs?a:mu(O);return function Na(){for(var Hl=arguments.length,ql=br(Hl),Yf=Hl;Yf--;)ql[Yf]=arguments[Yf];if(la)var cf=$u(Na),rp=tc(ql,cf);if(it&&(ql=Du(ql,it,Wt,la)),Cn&&(ql=Zh(ql,Cn,lr,la)),Hl-=rp,la&&Hl<oo){var Rd=Sr(ql,cf);return v_(O,$,ac,Na.placeholder,he,ql,Rd,Ir,Kr,oo-Hl)}var wh=So?he:this,nh=bs?wh[O]:O;return Hl=ql.length,Ir?ql=pp(ql,Ir):Ea&&Hl>1&&ql.reverse(),ho&&Kr<Hl&&(ql.length=Kr),this&&this!==Fl&&this instanceof Na&&(nh=Rl||mu(nh)),nh.apply(wh,ql)}}function qd(O,$){return function(he,it){return function wa(O,$,he,it){return Vn(O,function(Wt,Cn,lr){$(it,he(Wt),Cn,lr)}),it}(he,O,$(it),{})}}function zf(O,$){return function(he,it){var Wt;if(he===a&&it===a)return $;if(he!==a&&(Wt=he),it!==a){if(Wt===a)return it;"string"==typeof he||"string"==typeof it?(he=sc(he),it=sc(it)):(he=Ef(he),it=Ef(it)),Wt=O(he,it)}return Wt}}function Xh(O){return Cf(function($){return $=Fo($,Eu(Ts())),dl(function(he){var it=this;return O($,function(Wt){return Kt(Wt,it,he)})})})}function Sp(O,$){var he=($=$===a?" ":sc($)).length;if(he<2)return he?Hp($,O):$;var it=Hp($,Lo(O/Ht($)));return Yu($)?Au(_n(it),0,O).join(""):it.slice(0,O)}function Tp(O){return function($,he,it){return it&&"number"!=typeof it&&jl($,he,it)&&(he=it=a),$=Kp($),he===a?(he=$,$=0):he=Kp(he),function ah(O,$,he,it){for(var Wt=-1,Cn=ka(Lo(($-O)/(he||1)),0),lr=br(Cn);Cn--;)lr[it?Cn:++Wt]=O,O+=he;return lr}($,he,it=it===a?$<he?1:-1:Kp(it),O)}}function _h(O){return function($,he){return"string"==typeof $&&"string"==typeof he||($=Rh($),he=Rh(he)),O($,he)}}function v_(O,$,he,it,Wt,Cn,lr,Ir,Kr,oo){var ho=8&$;$|=ho?32:64,4&($&=~(ho?64:32))||($&=-4);var Rl=[O,$,Wt,ho?Cn:a,ho?lr:a,ho?a:Cn,ho?a:lr,Ir,Kr,oo],Na=he.apply(a,Rl);return Gp(O)&&Od(Na,Rl),Na.placeholder=it,r_(Na,O,$)}function mh(O){var $=_l[O];return function(he,it){if(he=Rh(he),(it=null==it?0:rl(xl(it),292))&&Ca(he)){var Wt=(gu(he)+"e").split("e");return+((Wt=(gu($(Wt[0]+"e"+(+Wt[1]+it)))+"e").split("e"))[0]+"e"+(+Wt[1]-it))}return $(he)}}var L_=cu&&1/Z(new cu([,-0]))[1]==Tt?function(O){return new cu(O)}:yv;function Kh(O){return function($){var he=zu($);return he==Ur?Io($):he==no?function De(Yn){var Rr=-1,br=Array(Yn.size);return Yn.forEach(function(fo){br[++Rr]=[fo,fo]}),br}($):function Sl(Yn,Rr){return Fo(Rr,function(br){return[br,Yn[br]]})}($,O($))}}function ef(O,$,he,it,Wt,Cn,lr,Ir){var Kr=2&$;if(!Kr&&"function"!=typeof O)throw new Pu(p);var oo=it?it.length:0;if(oo||($&=-97,it=Wt=a),lr=lr===a?lr:ka(xl(lr),0),Ir=Ir===a?Ir:xl(Ir),oo-=Wt?Wt.length:0,64&$){var ho=it,So=Wt;it=Wt=a}var bs=Kr?a:da(O),la=[O,$,he,it,Wt,ho,So,Cn,lr,Ir];if(bs&&function Ch(O,$){var he=O[1],it=$[1],Wt=he|it;if(!(Wt<131||(128==it&&8==he||128==it&&256==he&&O[7].length<=$[8]||384==it&&$[7].length<=$[8]&&8==he)))return O;1&it&&(O[2]=$[2],Wt|=1&he?0:4);var Ir=$[3];if(Ir){var Kr=O[3];O[3]=Kr?Du(Kr,Ir,$[4]):Ir,O[4]=Kr?Sr(O[3],w):$[4]}(Ir=$[5])&&(O[5]=(Kr=O[5])?Zh(Kr,Ir,$[6]):Ir,O[6]=Kr?Sr(O[5],w):$[6]),(Ir=$[7])&&(O[7]=Ir),128&it&&(O[8]=null==O[8]?$[8]:rl(O[8],$[8])),null==O[9]&&(O[9]=$[9]),O[0]=$[0],O[1]=Wt}(la,bs),O=la[0],$=la[1],he=la[2],it=la[3],Wt=la[4],!(Ir=la[9]=la[9]===a?Kr?0:O.length:ka(la[9]-oo,0))&&24&$&&($&=-25),$&&1!=$)Ea=8==$||16==$?function Jh(O,$,he){var it=mu(O);return function Wt(){for(var Cn=arguments.length,lr=br(Cn),Ir=Cn,Kr=$u(Wt);Ir--;)lr[Ir]=arguments[Ir];var oo=Cn<3&&lr[0]!==Kr&&lr[Cn-1]!==Kr?[]:Sr(lr,Kr);return(Cn-=oo.length)<he?v_(O,$,ac,Wt.placeholder,a,lr,oo,a,a,he-Cn):Kt(this&&this!==Fl&&this instanceof Wt?it:O,this,lr)}}(O,$,Ir):32!=$&&33!=$||Wt.length?ac.apply(a,la):function g_(O,$,he,it){var Wt=1&$,Cn=mu(O);return function lr(){for(var Ir=-1,Kr=arguments.length,oo=-1,ho=it.length,So=br(ho+Kr),bs=this&&this!==Fl&&this instanceof lr?Cn:O;++oo<ho;)So[oo]=it[oo];for(;Kr--;)So[oo++]=arguments[++Ir];return Kt(bs,Wt?he:this,So)}}(O,$,he,it);else var Ea=function zh(O,$,he){var it=1&$,Wt=mu(O);return function Cn(){return(this&&this!==Fl&&this instanceof Cn?Wt:O).apply(it?he:this,arguments)}}(O,$,he);return r_((bs?ad:Od)(Ea,la),O,$)}function qh(O,$,he,it){return O===a||ft(O,_d[he])&&!La.call(it,he)?$:O}function gh(O,$,he,it,Wt,Cn){return Wu(O)&&Wu($)&&(Cn.set($,O),Dl(O,$,a,gh,Cn),Cn.delete($)),O}function e_(O){return dm(O)?a:O}function Wf(O,$,he,it,Wt,Cn){var lr=1&he,Ir=O.length,Kr=$.length;if(Ir!=Kr&&!(lr&&Kr>Ir))return!1;var oo=Cn.get(O),ho=Cn.get($);if(oo&&ho)return oo==$&&ho==O;var So=-1,bs=!0,la=2&he?new $d:a;for(Cn.set(O,$),Cn.set($,O);++So<Ir;){var Ea=O[So],Rl=$[So];if(it)var Na=lr?it(Rl,Ea,So,$,O,Cn):it(Ea,Rl,So,O,$,Cn);if(Na!==a){if(Na)continue;bs=!1;break}if(la){if(!mt($,function(Hl,ql){if(!ra(la,ql)&&(Ea===Hl||Wt(Ea,Hl,he,it,Cn)))return la.push(ql)})){bs=!1;break}}else if(Ea!==Rl&&!Wt(Ea,Rl,he,it,Cn)){bs=!1;break}}return Cn.delete(O),Cn.delete($),bs}function Cf(O){return Kf(jc(O,a,xp),O+"")}function yh(O){return is(O,xd,Lf)}function Eh(O){return is(O,mp,Mp)}var da=Ll?function(O){return Ll.get(O)}:yv;function wc(O){for(var $=O.name+"",he=Ml[$],it=La.call(Ml,$)?he.length:0;it--;){var Wt=he[it],Cn=Wt.func;if(null==Cn||Cn==O)return Wt.name}return $}function $u(O){return(La.call(cn,"placeholder")?cn:O).placeholder}function Ts(){var O=cn.iteratee||Fg;return O=O===Fg?wt:O,arguments.length?O(arguments[0],arguments[1]):O}function Ff(O,$){var he=O.__data__;return function kf(O){var $=typeof O;return"string"==$||"number"==$||"symbol"==$||"boolean"==$?"__proto__"!==O:null===O}($)?he["string"==typeof $?"string":"hash"]:he.map}function jp(O){for(var $=xd(O),he=$.length;he--;){var it=$[he],Wt=O[it];$[he]=[it,Wt,Th(Wt)]}return $}function Hu(O,$){var he=function Uu(Yn,Rr){return null==Yn?a:Yn[Rr]}(O,$);return il(he)?he:a}var Lf=ms?function(O){return null==O?[]:(O=Us(O),Vs(ms(O),function($){return Ze.call(O,$)}))}:kg,Mp=ms?function(O){for(var $=[];O;)Ka($,Lf(O)),O=pa(O);return $}:kg,zu=yo;function k_(O,$,he){for(var it=-1,Wt=($=Nf($,O)).length,Cn=!1;++it<Wt;){var lr=sf($[it]);if(!(Cn=null!=O&&he(O,lr)))break;O=O[lr]}return Cn||++it!=Wt?Cn:!!(Wt=null==O?0:O.length)&&_p(Wt)&&Bu(lr,Wt)&&(hi(O)||xr(O))}function cp(O){return"function"!=typeof O.constructor||rf(O)?{}:Ec(pa(O))}function dp(O){return hi(O)||xr(O)||!!(ge&&O&&O[ge])}function Bu(O,$){var he=typeof O;return!!($=null==$?We:$)&&("number"==he||"symbol"!=he&&nr.test(O))&&O>-1&&O%1==0&&O<$}function jl(O,$,he){if(!Wu(he))return!1;var it=typeof $;return!!("number"==it?zo(he)&&Bu($,he.length):"string"==it&&$ in he)&&ft(he[$],O)}function Qf(O,$){if(hi(O))return!1;var he=typeof O;return!("number"!=he&&"symbol"!=he&&"boolean"!=he&&null!=O&&!Xp(O))||Et.test(O)||!Dn.test(O)||null!=$&&O in Us($)}function Gp(O){var $=wc(O),he=cn[$];if("function"!=typeof he||!($ in cl.prototype))return!1;if(O===he)return!0;var it=da(he);return!!it&&O===it[0]}(nc&&zu(new nc(new ArrayBuffer(1)))!=zn||gd&&zu(new gd)!=Ur||Fc&&zu(Fc.resolve())!=ei||cu&&zu(new cu)!=no||Ma&&zu(new Ma)!=vn)&&(zu=function(O){var $=yo(O),he=$==_r?O.constructor:a,it=he?qf(he):"";if(it)switch(it){case gf:return zn;case zd:return Ur;case id:return ei;case Al:return no;case kl:return vn}return $});var nf=md?uf:bv;function rf(O){var $=O&&O.constructor;return O===("function"==typeof $&&$.prototype||_d)}function Th(O){return O==O&&!Wu(O)}function n_(O,$){return function(he){return null!=he&&he[O]===$&&($!==a||O in Us(he))}}function jc(O,$,he){return $=ka($===a?O.length-1:$,0),function(){for(var it=arguments,Wt=-1,Cn=ka(it.length-$,0),lr=br(Cn);++Wt<Cn;)lr[Wt]=it[$+Wt];Wt=-1;for(var Ir=br($+1);++Wt<$;)Ir[Wt]=it[Wt];return Ir[$]=he(lr),Kt(O,this,Ir)}}function Xf(O,$){return $.length<2?O:Ui(O,ld($,0,-1))}function pp(O,$){for(var he=O.length,it=rl($.length,he),Wt=Sd(O);it--;){var Cn=$[it];O[it]=Bu(Cn,he)?Wt[Cn]:a}return O}function Op(O,$){if(("constructor"!==$||"function"!=typeof O[$])&&"__proto__"!=$)return O[$]}var Od=i_(ad),Vp=gi||function(O,$){return Fl.setTimeout(O,$)},Kf=i_(Kl);function r_(O,$,he){var it=$+"";return Kf(O,function Md(O,$){var he=$.length;if(!he)return O;var it=he-1;return $[it]=(he>1?"& ":"")+$[it],$=$.join(he>2?", ":" "),O.replace(Cr,"{\n/* [wrapped with "+$+"] */\n")}(it,function zp(O,$){return oi(vt,function(he){var it="_."+he[0];$&he[1]&&!Os(O,it)&&O.push(it)}),O.sort()}(function tf(O){var $=O.match(xi);return $?$[1].split(yi):[]}(it),he)))}function i_(O){var $=0,he=0;return function(){var it=vc(),Wt=16-(it-he);if(he=it,Wt>0){if(++$>=800)return arguments[0]}else $=0;return O.apply(a,arguments)}}function Ap(O,$){var he=-1,it=O.length,Wt=it-1;for($=$===a?it:$;++he<$;){var Cn=Bd(he,Wt),lr=O[Cn];O[Cn]=O[he],O[he]=lr}return O.length=$,O}var Zp=function ud(O){var $=j_(O,function(it){return 500===he.size&&he.clear(),it}),he=$.cache;return $}(function(O){var $=[];return 46===O.charCodeAt(0)&&$.push(""),O.replace($t,function(he,it,Wt,Cn){$.push(Wt?Cn.replace(lo,"$1"):it||he)}),$});function sf(O){if("string"==typeof O||Xp(O))return O;var $=O+"";return"0"==$&&1/O==-Tt?"-0":$}function qf(O){if(null!=O){try{return Hc.call(O)}catch($){}try{return O+""}catch($){}}return""}function y_(O){if(O instanceof cl)return O.clone();var $=new qa(O.__wrapped__,O.__chain__);return $.__actions__=Sd(O.__actions__),$.__index__=O.__index__,$.__values__=O.__values__,$}var nm=dl(function(O,$){return As(O)?X(O,Mt($,1,As,!0)):[]}),Oh=dl(function(O,$){var he=Gc($);return As(he)&&(he=a),As(O)?X(O,Mt($,1,As,!0),Ts(he,2)):[]}),b_=dl(function(O,$){var he=Gc($);return As(he)&&(he=a),As(O)?X(O,Mt($,1,As,!0),a,he):[]});function tp(O,$,he){var it=null==O?0:O.length;if(!it)return-1;var Wt=null==he?0:xl(he);return Wt<0&&(Wt=ka(it+Wt,0)),Jo(O,Ts($,3),Wt)}function Dp(O,$,he){var it=null==O?0:O.length;if(!it)return-1;var Wt=it-1;return he!==a&&(Wt=xl(he),Wt=he<0?ka(it+Wt,0):rl(Wt,it-1)),Jo(O,Ts($,3),Wt,!0)}function xp(O){return null!=O&&O.length?Mt(O,1):[]}function Jp(O){return O&&O.length?O[0]:a}var B_=dl(function(O){var $=Fo(O,Sf);return $.length&&$[0]===O[0]?Ga($):[]}),Sm=dl(function(O){var $=Gc(O),he=Fo(O,Sf);return $===Gc(he)?$=a:he.pop(),he.length&&he[0]===O[0]?Ga(he,Ts($,2)):[]}),hp=dl(function(O){var $=Gc(O),he=Fo(O,Sf);return($="function"==typeof $?$:a)&&he.pop(),he.length&&he[0]===O[0]?Ga(he,a,$):[]});function Gc(O){var $=null==O?0:O.length;return $?O[$-1]:a}var Dh=dl(I);function I(O,$){return O&&O.length&&$&&$.length?Rc(O,$):O}var z=Cf(function(O,$){var he=null==O?0:O.length,it=Uc(O,$);return Xd(O,Fo($,function(Wt){return Bu(Wt,he)?+Wt:Wt}).sort(ph)),it});function Ke(O){return null==O?O:Ul.call(O)}var ze=dl(function(O){return bd(Mt(O,1,As,!0))}),At=dl(function(O){var $=Gc(O);return As($)&&($=a),bd(Mt(O,1,As,!0),Ts($,2))}),tn=dl(function(O){var $=Gc(O);return $="function"==typeof $?$:a,bd(Mt(O,1,As,!0),a,$)});function Ho(O){if(!O||!O.length)return[];var $=0;return O=Vs(O,function(he){if(As(he))return $=ka(he.length,$),!0}),ec($,function(he){return Fo(O,hd(he))})}function Hs(O,$){if(!O||!O.length)return[];var he=Ho(O);return null==$?he:Fo(he,function(it){return Kt($,a,it)})}var po=dl(function(O,$){return As(O)?X(O,$):[]}),fs=dl(function(O){return dh(Vs(O,As))}),oa=dl(function(O){var $=Gc(O);return As($)&&($=a),dh(Vs(O,As),Ts($,2))}),Xs=dl(function(O){var $=Gc(O);return $="function"==typeof $?$:a,dh(Vs(O,As),a,$)}),Qr=dl(Ho),Hi=dl(function(O){var $=O.length,he=$>1?O[$-1]:a;return he="function"==typeof he?(O.pop(),he):a,Hs(O,he)});function io(O){var $=cn(O);return $.__chain__=!0,$}function vs(O,$){return $(O)}var Pa=Cf(function(O){var $=O.length,he=$?O[0]:0,it=this.__wrapped__,Wt=function(Cn){return Uc(Cn,O)};return!($>1||this.__actions__.length)&&it instanceof cl&&Bu(he)?((it=it.slice(he,+he+($?1:0))).__actions__.push({func:vs,args:[Wt],thisArg:a}),new qa(it,this.__chain__).thru(function(Cn){return $&&!Cn.length&&Cn.push(a),Cn})):this.thru(Wt)}),sm=hh(function(O,$,he){La.call(O,he)?++O[he]:Nl(O,he,1)}),rv=bp(tp),iv=bp(Dp);function Xm(O,$){return(hi(O)?oi:de)(O,Ts($,3))}function bg(O,$){return(hi(O)?wi:ve)(O,Ts($,3))}var Qc=hh(function(O,$,he){La.call(O,he)?O[he].push($):Nl(O,he,[$])}),su=dl(function(O,$,he){var it=-1,Wt="function"==typeof $,Cn=zo(O)?br(O.length):[];return de(O,function(lr){Cn[++it]=Wt?Kt($,lr,he):Gl(lr,$,he)}),Cn}),Sg=hh(function(O,$,he){Nl(O,he,$)});function am(O,$){return(hi(O)?Fo:gs)(O,Ts($,3))}var Ko=hh(function(O,$,he){O[he?0:1].push($)},function(){return[[],[]]}),ov=dl(function(O,$){if(null==O)return[];var he=$.length;return he>1&&jl(O,$[0],$[1])?$=[]:he>2&&jl($[0],$[1],$[2])&&($=[$[0]]),yf(O,Mt($,1),[])}),Cm=gr||function(){return Fl.Date.now()};function M_(O,$,he){return $=he?a:$,ef(O,128,a,a,a,a,$=O&&null==$?O.length:$)}function Mm(O,$){var he;if("function"!=typeof $)throw new Pu(p);return O=xl(O),function(){return--O>0&&(he=$.apply(this,arguments)),O<=1&&($=a),he}}var xh=dl(function(O,$,he){var it=1;if(he.length){var Wt=Sr(he,$u(xh));it|=32}return ef(O,it,$,he,Wt)}),Y_=dl(function(O,$,he){var it=3;if(he.length){var Wt=Sr(he,$u(Y_));it|=32}return ef($,it,O,he,Wt)});function um(O,$,he){var it,Wt,Cn,lr,Ir,Kr,oo=0,ho=!1,So=!1,bs=!0;if("function"!=typeof O)throw new Pu(p);function la(Rd){var wh=it,nh=Wt;return it=Wt=a,oo=Rd,lr=O.apply(nh,wh)}function Ea(Rd){return oo=Rd,Ir=Vp(Hl,$),ho?la(Rd):lr}function Na(Rd){var wh=Rd-Kr;return Kr===a||wh>=$||wh<0||So&&Rd-oo>=Cn}function Hl(){var Rd=Cm();if(Na(Rd))return ql(Rd);Ir=Vp(Hl,function Rl(Rd){var sg=$-(Rd-Kr);return So?rl(sg,Cn-(Rd-oo)):sg}(Rd))}function ql(Rd){return Ir=a,bs&&it?la(Rd):(it=Wt=a,lr)}function rp(){var Rd=Cm(),wh=Na(Rd);if(it=arguments,Wt=this,Kr=Rd,wh){if(Ir===a)return Ea(Kr);if(So)return If(Ir),Ir=Vp(Hl,$),la(Kr)}return Ir===a&&(Ir=Vp(Hl,$)),lr}return $=Rh($)||0,Wu(he)&&(ho=!!he.leading,Cn=(So="maxWait"in he)?ka(Rh(he.maxWait)||0,$):Cn,bs="trailing"in he?!!he.trailing:bs),rp.cancel=function Yf(){Ir!==a&&If(Ir),oo=0,it=Kr=Wt=Ir=a},rp.flush=function cf(){return Ir===a?lr:ql(Cm())},rp}var Cg=dl(function(O,$){return L(O,1,$)}),tg=dl(function(O,$,he){return L(O,Rh($)||0,he)});function j_(O,$){if("function"!=typeof O||null!=$&&"function"!=typeof $)throw new Pu(p);var he=function(){var it=arguments,Wt=$?$.apply(this,it):it[0],Cn=he.cache;if(Cn.has(Wt))return Cn.get(Wt);var lr=O.apply(this,it);return he.cache=Cn.set(Wt,lr)||Cn,lr};return he.cache=new(j_.Cache||od),he}function Qp(O){if("function"!=typeof O)throw new Pu(p);return function(){var $=arguments;switch($.length){case 0:return!O.call(this);case 1:return!O.call(this,$[0]);case 2:return!O.call(this,$[0],$[1]);case 3:return!O.call(this,$[0],$[1],$[2])}return!O.apply(this,$)}}j_.Cache=od;var D_=Tf(function(O,$){var he=($=1==$.length&&hi($[0])?Fo($[0],Eu(Ts())):Fo(Mt($,1),Eu(Ts()))).length;return dl(function(it){for(var Wt=-1,Cn=rl(it.length,he);++Wt<Cn;)it[Wt]=$[Wt].call(this,it[Wt]);return Kt(O,this,it)})}),Mg=dl(function(O,$){var he=Sr($,$u(Mg));return ef(O,32,a,$,he)}),cm=dl(function(O,$){var he=Sr($,$u(cm));return ef(O,64,a,$,he)}),Om=Cf(function(O,$){return ef(O,256,a,a,a,$)});function ft(O,$){return O===$||O!=O&&$!=$}var Zt=_h(Zs),rr=_h(function(O,$){return O>=$}),xr=_u(function(){return arguments}())?_u:function(O){return hc(O)&&La.call(O,"callee")&&!Ze.call(O,"callee")},hi=br.isArray,ns=Ol?Eu(Ol):function Va(O){return hc(O)&&yo(O)==Xn};function zo(O){return null!=O&&_p(O.length)&&!uf(O)}function As(O){return hc(O)&&zo(O)}var au=ha||bv,Xl=Bl?Eu(Bl):function Mu(O){return hc(O)&&yo(O)==pr};function a_(O){if(!hc(O))return!1;var $=yo(O);return $==ci||"[object DOMException]"==$||"string"==typeof O.message&&"string"==typeof O.name&&!dm(O)}function uf(O){if(!Wu(O))return!1;var $=yo(O);return $==hr||$==Br||"[object AsyncFunction]"==$||"[object Proxy]"==$}function dd(O){return"number"==typeof O&&O==xl(O)}function _p(O){return"number"==typeof O&&O>-1&&O%1==0&&O<=We}function Wu(O){var $=typeof O;return null!=O&&("object"==$||"function"==$)}function hc(O){return null!=O&&"object"==typeof O}var t1=Ya?Eu(Ya):function Ou(O){return hc(O)&&zu(O)==Ur};function Dg(O){return"number"==typeof O||hc(O)&&yo(O)==Hn}function dm(O){if(!hc(O)||yo(O)!=_r)return!1;var $=pa(O);if(null===$)return!0;var he=La.call($,"constructor")&&$.constructor;return"function"==typeof he&&he instanceof he&&Hc.call(he)==wo}var xg=rt?Eu(rt):function K(O){return hc(O)&&yo(O)==fi},I0=qt?Eu(qt):function be(O){return hc(O)&&zu(O)==no};function Am(O){return"string"==typeof O||!hi(O)&&hc(O)&&yo(O)==xo}function Xp(O){return"symbol"==typeof O||hc(O)&&yo(O)==Er}var Dm=pt?Eu(pt):function lt(O){return hc(O)&&_p(O.length)&&!!Vo[yo(O)]},s1=_h(Ai),a1=_h(function(O,$){return O<=$});function l_(O){if(!O)return[];if(zo(O))return Am(O)?_n(O):Sd(O);if(ht&&O[ht])return function Ld(Yn){for(var Rr,br=[];!(Rr=Yn.next()).done;)br.push(Rr.value);return br}(O[ht]());var $=zu(O);return($==Ur?Io:$==no?Z:Pg)(O)}function Kp(O){return O?(O=Rh(O))===Tt||O===-Tt?17976931348623157e292*(O<0?-1:1):O==O?O:0:0===O?O:0}function xl(O){var $=Kp(O),he=$%1;return $==$?he?$-he:$:0}function l1(O){return O?oc(xl(O),0,Yt):0}function Rh(O){if("number"==typeof O)return O;if(Xp(O))return NaN;if(Wu(O)){var $="function"==typeof O.valueOf?O.valueOf():O;O=Wu($)?$+"":$}if("string"!=typeof O)return 0===O?O:+O;O=lu(O);var he=ir.test(O);return he||kn.test(O)?_c(O.slice(2),he?2:8):Xo.test(O)?NaN:+O}function Rg(O){return Kd(O,mp(O))}function gu(O){return null==O?"":sc(O)}var ig=Ep(function(O,$){if(rf($)||zo($))Kd($,xd($),O);else for(var he in $)La.call($,he)&&hu(O,he,$[he])}),u1=Ep(function(O,$){Kd($,mp($),O)}),Rm=Ep(function(O,$,he,it){Kd($,mp($),O,it)}),c1=Ep(function(O,$,he,it){Kd($,xd($),O,it)}),d1=Cf(Uc),F0=dl(function(O,$){O=Us(O);var he=-1,it=$.length,Wt=it>2?$[2]:a;for(Wt&&jl($[0],$[1],Wt)&&(it=1);++he<it;)for(var Cn=$[he],lr=mp(Cn),Ir=-1,Kr=lr.length;++Ir<Kr;){var oo=lr[Ir],ho=O[oo];(ho===a||ft(ho,_d[oo])&&!La.call(O,oo))&&(O[oo]=Cn[oo])}return O}),dv=dl(function(O){return O.push(a,gh),Kt(j0,a,O)});function fv(O,$,he){var it=null==O?a:Ui(O,$);return it===a?he:it}function pv(O,$){return null!=O&&k_(O,$,el)}var U0=qd(function(O,$,he){null!=$&&"function"!=typeof $.toString&&($=Mo.call($)),O[$]=he},Z_(np)),qp=qd(function(O,$,he){null!=$&&"function"!=typeof $.toString&&($=Mo.call($)),La.call(O,$)?O[$].push(he):O[$]=[he]},Ts),_1=dl(Gl);function xd(O){return zo(O)?ic(O):ln(O)}function mp(O){return zo(O)?ic(O,!0):function Dr(O){if(!Wu(O))return function fp(O){var $=[];if(null!=O)for(var he in Us(O))$.push(he);return $}(O);var $=rf(O),he=[];for(var it in O)"constructor"==it&&($||!La.call(O,it))||he.push(it);return he}(O)}var BE=Ep(function(O,$,he){Dl(O,$,he)}),j0=Ep(function(O,$,he,it){Dl(O,$,he,it)}),UE=Cf(function(O,$){var he={};if(null==O)return he;var it=!1;$=Fo($,function(Cn){return Cn=Nf(Cn,O),it||(it=Cn.length>1),Cn}),Kd(O,Eh(O),he),it&&(he=h(he,7,e_));for(var Wt=$.length;Wt--;)Up(he,$[Wt]);return he}),G0=Cf(function(O,$){return null==O?{}:function Hd(O,$){return f_(O,$,function(he,it){return pv(O,it)})}(O,$)});function m1(O,$){if(null==O)return{};var he=Fo(Eh(O),function(it){return[it]});return $=Ts($),f_(O,he,function(it,Wt){return $(it,Wt[0])})}var wg=Kh(xd),VE=Kh(mp);function Pg(O){return null==O?[]:iu(O,xd(O))}var E1=Cd(function(O,$,he){return $=$.toLowerCase(),O+(he?hv($):$)});function hv(O){return x_(gu(O).toLowerCase())}function b1(O){return(O=gu(O))&&O.replace(jr,uu).replace(Ue,"")}var fd=Cd(function(O,$,he){return O+(he?"-":"")+$.toLowerCase()}),fm=Cd(function(O,$,he){return O+(he?" ":"")+$.toLowerCase()}),Nm=Wh("toLowerCase"),pm=Cd(function(O,$,he){return O+(he?"_":"")+$.toLowerCase()}),Im=Cd(function(O,$,he){return O+(he?" ":"")+x_($)}),vv=Cd(function(O,$,he){return O+(he?" ":"")+$.toUpperCase()}),x_=Wh("toUpperCase");function hm(O,$,he){return O=gu(O),($=he?a:$)===a?function wu(Yn){return Oi.test(Yn)}(O)?function Ci(Yn){return Yn.match(hn)||[]}(O):function Xt(Yn){return Yn.match(Uo)||[]}(O):O.match($)||[]}var _m=dl(function(O,$){try{return Kt(O,a,$)}catch(he){return a_(he)?he:new $s(he)}}),Lm=Cf(function(O,$){return oi($,function(he){he=sf(he),Nl(O,he,xh(O[he],O))}),O});function Z_(O){return function(){return O}}var Hm=Qh(),M1=Qh(!0);function np(O){return O}function Fg(O){return wt("function"==typeof O?O:h(O,1))}var D1=dl(function(O,$){return function(he){return Gl(he,O,$)}}),x1=dl(function(O,$){return function(he){return Gl(O,he,$)}});function Lg(O,$,he){var it=xd($),Wt=$r($,it);null==he&&(!Wu($)||!Wt.length&&it.length)&&(he=$,$=O,O=this,Wt=$r($,xd($)));var Cn=!(Wu(he)&&"chain"in he&&!he.chain),lr=uf(O);return oi(Wt,function(Ir){var Kr=$[Ir];O[Ir]=Kr,lr&&(O.prototype[Ir]=function(){var oo=this.__chain__;if(Cn||oo){var ho=O(this.__wrapped__),So=ho.__actions__=Sd(this.__actions__);return So.push({func:Kr,args:arguments,thisArg:O}),ho.__chain__=oo,ho}return Kr.apply(O,Ka([this.value()],arguments))})}),O}function yv(){}var J0=Xh(Fo),P1=Xh(as),Ev=Xh(mt);function N1(O){return Qf(O)?hd(sf(O)):function sh(O){return function($){return Ui($,O)}}(O)}var I1=Tp(),X0=Tp(!0);function kg(){return[]}function bv(){return!1}var KE=zf(function(O,$){return O+$},0),qE=mh("ceil"),eb=zf(function(O,$){return O/$},1),ty=mh("floor"),iy=zf(function(O,$){return O*$},1),L1=mh("round"),$g=zf(function(O,$){return O-$},0);return cn.after=function lm(O,$){if("function"!=typeof $)throw new Pu(p);return O=xl(O),function(){if(--O<1)return $.apply(this,arguments)}},cn.ary=M_,cn.assign=ig,cn.assignIn=u1,cn.assignInWith=Rm,cn.assignWith=c1,cn.at=d1,cn.before=Mm,cn.bind=xh,cn.bindAll=Lm,cn.bindKey=Y_,cn.castArray=function av(){if(!arguments.length)return[];var O=arguments[0];return hi(O)?O:[O]},cn.chain=io,cn.chunk=function ep(O,$,he){$=(he?jl(O,$,he):$===a)?1:ka(xl($),0);var it=null==O?0:O.length;if(!it||$<1)return[];for(var Wt=0,Cn=0,lr=br(Lo(it/$));Wt<it;)lr[Cn++]=ld(O,Wt,Wt+=$);return lr},cn.compact=function Wp(O){for(var $=-1,he=null==O?0:O.length,it=0,Wt=[];++$<he;){var Cn=O[$];Cn&&(Wt[it++]=Cn)}return Wt},cn.concat=function E_(){var O=arguments.length;if(!O)return[];for(var $=br(O-1),he=arguments[0],it=O;it--;)$[it-1]=arguments[it];return Ka(hi(he)?Sd(he):[he],Mt($,1))},cn.cond=function km(O){var $=null==O?0:O.length,he=Ts();return O=$?Fo(O,function(it){if("function"!=typeof it[1])throw new Pu(p);return[he(it[0]),it[1]]}):[],dl(function(it){for(var Wt=-1;++Wt<$;){var Cn=O[Wt];if(Kt(Cn[0],this,it))return Kt(Cn[1],this,it)}})},cn.conforms=function V_(O){return function E(O){var $=xd(O);return function(he){return P(he,O,$)}}(h(O,1))},cn.constant=Z_,cn.countBy=sm,cn.create=function f1(O,$){var he=Ec(O);return null==$?he:Jd(he,$)},cn.curry=function O_(O,$,he){var it=ef(O,8,a,a,a,a,a,$=he?a:$);return it.placeholder=O_.placeholder,it},cn.curryRight=function Tg(O,$,he){var it=ef(O,16,a,a,a,a,a,$=he?a:$);return it.placeholder=Tg.placeholder,it},cn.debounce=um,cn.defaults=F0,cn.defaultsDeep=dv,cn.defer=Cg,cn.delay=tg,cn.difference=nm,cn.differenceBy=Oh,cn.differenceWith=b_,cn.drop=function $f(O,$,he){var it=null==O?0:O.length;return it?ld(O,($=he||$===a?1:xl($))<0?0:$,it):[]},cn.dropRight=function $_(O,$,he){var it=null==O?0:O.length;return it?ld(O,0,($=it-($=he||$===a?1:xl($)))<0?0:$):[]},cn.dropRightWhile=function S_(O,$){return O&&O.length?ch(O,Ts($,3),!0,!0):[]},cn.dropWhile=function Mf(O,$){return O&&O.length?ch(O,Ts($,3),!0):[]},cn.fill=function H_(O,$,he,it){var Wt=null==O?0:O.length;return Wt?(he&&"number"!=typeof he&&jl(O,$,he)&&(he=0,it=Wt),function nt(O,$,he,it){var Wt=O.length;for((he=xl(he))<0&&(he=-he>Wt?0:Wt+he),(it=it===a||it>Wt?Wt:xl(it))<0&&(it+=Wt),it=he>it?0:l1(it);he<it;)O[he++]=$;return O}(O,$,he,it)):[]},cn.filter=function Eg(O,$){return(hi(O)?Vs:St)(O,Ts($,3))},cn.flatMap=function Tm(O,$){return Mt(am(O,$),1)},cn.flatMapDeep=function Of(O,$){return Mt(am(O,$),Tt)},cn.flatMapDepth=function Qm(O,$,he){return he=he===a?1:xl(he),Mt(am(O,$),he)},cn.flatten=xp,cn.flattenDeep=function Ud(O){return null!=O&&O.length?Mt(O,Tt):[]},cn.flattenDepth=function Rp(O,$){return null!=O&&O.length?Mt(O,$=$===a?1:xl($)):[]},cn.flip=function ng(O){return ef(O,512)},cn.flow=Hm,cn.flowRight=M1,cn.fromPairs=function o_(O){for(var $=-1,he=null==O?0:O.length,it={};++$<he;){var Wt=O[$];it[Wt[0]]=Wt[1]}return it},cn.functions=function H0(O){return null==O?[]:$r(O,xd(O))},cn.functionsIn=function Pm(O){return null==O?[]:$r(O,mp(O))},cn.groupBy=Qc,cn.initial=function Ad(O){return null!=O&&O.length?ld(O,0,-1):[]},cn.intersection=B_,cn.intersectionBy=Sm,cn.intersectionWith=hp,cn.invert=U0,cn.invertBy=qp,cn.invokeMap=su,cn.iteratee=Fg,cn.keyBy=Sg,cn.keys=xd,cn.keysIn=mp,cn.map=am,cn.mapKeys=function Af(O,$){var he={};return $=Ts($,3),Vn(O,function(it,Wt,Cn){Nl(he,$(it,Wt,Cn),it)}),he},cn.mapValues=function Y0(O,$){var he={};return $=Ts($,3),Vn(O,function(it,Wt,Cn){Nl(he,Wt,$(it,Wt,Cn))}),he},cn.matches=function O1(O){return Aa(h(O,1))},cn.matchesProperty=function A1(O,$){return ca(O,h($,1))},cn.memoize=j_,cn.merge=BE,cn.mergeWith=j0,cn.method=D1,cn.methodOf=x1,cn.mixin=Lg,cn.negate=Qp,cn.nthArg=function w1(O){return O=xl(O),dl(function($){return Yc($,O)})},cn.omit=UE,cn.omitBy=function YE(O,$){return m1(O,Qp(Ts($)))},cn.once=function A_(O){return Mm(2,O)},cn.orderBy=function Vl(O,$,he,it){return null==O?[]:(hi($)||($=null==$?[]:[$]),hi(he=it?a:he)||(he=null==he?[]:[he]),yf(O,$,he))},cn.over=J0,cn.overArgs=D_,cn.overEvery=P1,cn.overSome=Ev,cn.partial=Mg,cn.partialRight=cm,cn.partition=Ko,cn.pick=G0,cn.pickBy=m1,cn.property=N1,cn.propertyOf=function Q0(O){return function($){return null==O?a:Ui(O,$)}},cn.pull=Dh,cn.pullAll=I,cn.pullAllBy=function ne(O,$,he){return O&&O.length&&$&&$.length?Rc(O,$,Ts(he,2)):O},cn.pullAllWith=function S(O,$,he){return O&&O.length&&$&&$.length?Rc(O,$,a,he):O},cn.pullAt=z,cn.range=I1,cn.rangeRight=X0,cn.rearg=Om,cn.reject=function af(O,$){return(hi(O)?Vs:St)(O,Qp(Ts($,3)))},cn.remove=function Me(O,$){var he=[];if(!O||!O.length)return he;var it=-1,Wt=[],Cn=O.length;for($=Ts($,3);++it<Cn;){var lr=O[it];$(lr,it,O)&&(he.push(lr),Wt.push(it))}return Xd(O,Wt),he},cn.rest=function Og(O,$){if("function"!=typeof O)throw new Pu(p);return dl(O,$=$===a?$:xl($))},cn.reverse=Ke,cn.sampleSize=function qm(O,$,he){return $=(he?jl(O,$,he):$===a)?1:xl($),(hi(O)?Sc:wf)(O,$)},cn.set=function jE(O,$,he){return null==O?O:Ed(O,$,he)},cn.setWith=function GE(O,$,he,it){return it="function"==typeof it?it:a,null==O?O:Ed(O,$,he,it)},cn.shuffle=function U_(O){return(hi(O)?Tc:up)(O)},cn.slice=function gn(O,$,he){var it=null==O?0:O.length;return it?(he&&"number"!=typeof he&&jl(O,$,he)?($=0,he=it):($=null==$?0:xl($),he=he===a?it:xl(he)),ld(O,$,he)):[]},cn.sortBy=ov,cn.sortedUniq=function Ss(O){return O&&O.length?Bp(O):[]},cn.sortedUniqBy=function Yo(O,$){return O&&O.length?Bp(O,Ts($,2)):[]},cn.split=function Ng(O,$,he){return he&&"number"!=typeof he&&jl(O,$,he)&&($=he=a),(he=he===a?Yt:he>>>0)?(O=gu(O))&&("string"==typeof $||null!=$&&!xg($))&&!($=sc($))&&Yu(O)?Au(_n(O),0,he):O.split($,he):[]},cn.spread=function rg(O,$){if("function"!=typeof O)throw new Pu(p);return $=null==$?0:ka(xl($),0),dl(function(he){var it=he[$],Wt=Au(he,0,$);return it&&Ka(Wt,it),Kt(O,this,Wt)})},cn.tail=function ia(O){var $=null==O?0:O.length;return $?ld(O,1,$):[]},cn.take=function y(O,$,he){return O&&O.length?ld(O,0,($=he||$===a?1:xl($))<0?0:$):[]},cn.takeRight=function D(O,$,he){var it=null==O?0:O.length;return it?ld(O,($=it-($=he||$===a?1:xl($)))<0?0:$,it):[]},cn.takeRightWhile=function Y(O,$){return O&&O.length?ch(O,Ts($,3),!1,!0):[]},cn.takeWhile=function Ee(O,$){return O&&O.length?ch(O,Ts($,3)):[]},cn.tap=function Ha(O,$){return $(O),O},cn.throttle=function e1(O,$,he){var it=!0,Wt=!0;if("function"!=typeof O)throw new Pu(p);return Wu(he)&&(it="leading"in he?!!he.leading:it,Wt="trailing"in he?!!he.trailing:Wt),um(O,$,{leading:it,maxWait:$,trailing:Wt})},cn.thru=vs,cn.toArray=l_,cn.toPairs=wg,cn.toPairsIn=VE,cn.toPath=function Tv(O){return hi(O)?Fo(O,sf):Xp(O)?[O]:Sd(Zp(gu(O)))},cn.toPlainObject=Rg,cn.transform=function v1(O,$,he){var it=hi(O),Wt=it||au(O)||Dm(O);if($=Ts($,4),null==he){var Cn=O&&O.constructor;he=Wt?it?new Cn:[]:Wu(O)&&uf(Cn)?Ec(pa(O)):{}}return(Wt?oi:Vn)(O,function(lr,Ir,Kr){return $(he,lr,Ir,Kr)}),he},cn.unary=function sv(O){return M_(O,1)},cn.union=ze,cn.unionBy=At,cn.unionWith=tn,cn.uniq=function Tn(O){return O&&O.length?bd(O):[]},cn.uniqBy=function ar(O,$){return O&&O.length?bd(O,Ts($,2)):[]},cn.uniqWith=function li(O,$){return $="function"==typeof $?$:a,O&&O.length?bd(O,a,$):[]},cn.unset=function ZE(O,$){return null==O||Up(O,$)},cn.unzip=Ho,cn.unzipWith=Hs,cn.update=function V0(O,$,he){return null==O?O:uh(O,$,Zf(he))},cn.updateWith=function Z0(O,$,he,it){return it="function"==typeof it?it:a,null==O?O:uh(O,$,Zf(he),it)},cn.values=Pg,cn.valuesIn=function u_(O){return null==O?[]:iu(O,mp(O))},cn.without=po,cn.words=hm,cn.wrap=function Bf(O,$){return Mg(Zf($),O)},cn.xor=fs,cn.xorBy=oa,cn.xorWith=Xs,cn.zip=Qr,cn.zipObject=function Fr(O,$){return bf(O||[],$||[],hu)},cn.zipObjectDeep=function Zr(O,$){return bf(O||[],$||[],Ed)},cn.zipWith=Hi,cn.entries=wg,cn.entriesIn=VE,cn.extend=u1,cn.extendWith=Rm,Lg(cn,cn),cn.add=KE,cn.attempt=_m,cn.camelCase=E1,cn.capitalize=hv,cn.ceil=qE,cn.clamp=function RC(O,$,he){return he===a&&(he=$,$=a),he!==a&&(he=(he=Rh(he))==he?he:0),$!==a&&($=($=Rh($))==$?$:0),oc(Rh(O),$,he)},cn.clone=function lv(O){return h(O,4)},cn.cloneDeep=function J(O){return h(O,5)},cn.cloneDeepWith=function B(O,$){return h(O,5,$="function"==typeof $?$:a)},cn.cloneWith=function F(O,$){return h(O,4,$="function"==typeof $?$:a)},cn.conformsTo=function Te(O,$){return null==$||P(O,$,xd($))},cn.deburr=b1,cn.defaultTo=function $m(O,$){return null==O||O!=O?$:O},cn.divide=eb,cn.endsWith=function WE(O,$,he){O=gu(O),$=sc($);var it=O.length,Wt=he=he===a?it:oc(xl(he),0,it);return(he-=$.length)>=0&&O.slice(he,Wt)==$},cn.eq=ft,cn.escape=function S1(O){return(O=gu(O))&&Fe.test(O)?O.replace(st,du):O},cn.escapeRegExp=function _v(O){return(O=gu(O))&&yt.test(O)?O.replace(_t,"\\$&"):O},cn.every=function yg(O,$,he){var it=hi(O)?as:Ye;return he&&jl(O,$,he)&&($=a),it(O,Ts($,3))},cn.find=rv,cn.findIndex=tp,cn.findKey=function L0(O,$){return Si(O,Ts($,3),Vn)},cn.findLast=iv,cn.findLastIndex=Dp,cn.findLastKey=function k0(O,$){return Si(O,Ts($,3),fr)},cn.floor=ty,cn.forEach=Xm,cn.forEachRight=bg,cn.forIn=function p1(O,$){return null==O?O:fn(O,Ts($,3),mp)},cn.forInRight=function wm(O,$){return null==O?O:jn(O,Ts($,3),mp)},cn.forOwn=function h1(O,$){return O&&Vn(O,Ts($,3))},cn.forOwnRight=function $0(O,$){return O&&fr(O,Ts($,3))},cn.get=fv,cn.gt=Zt,cn.gte=rr,cn.has=function B0(O,$){return null!=O&&k_(O,$,qs)},cn.hasIn=pv,cn.head=Jp,cn.identity=np,cn.includes=function Pc(O,$,he,it){O=zo(O)?O:Pg(O),he=he&&!it?xl(he):0;var Wt=O.length;return he<0&&(he=ka(Wt+he,0)),Am(O)?he<=Wt&&O.indexOf($,he)>-1:!!Wt&&ja(O,$,he)>-1},cn.indexOf=function T_(O,$,he){var it=null==O?0:O.length;if(!it)return-1;var Wt=null==he?0:xl(he);return Wt<0&&(Wt=ka(it+Wt,0)),ja(O,$,Wt)},cn.inRange=function zE(O,$,he){return $=Kp($),he===a?(he=$,$=0):he=Kp(he),function $a(O,$,he){return O>=rl($,he)&&O<ka($,he)}(O=Rh(O),$,he)},cn.invoke=_1,cn.isArguments=xr,cn.isArray=hi,cn.isArrayBuffer=ns,cn.isArrayLike=zo,cn.isArrayLikeObject=As,cn.isBoolean=function ml(O){return!0===O||!1===O||hc(O)&&yo(O)==Fn},cn.isBuffer=au,cn.isDate=Xl,cn.isElement=function xu(O){return hc(O)&&1===O.nodeType&&!dm(O)},cn.isEmpty=function Dd(O){if(null==O)return!0;if(zo(O)&&(hi(O)||"string"==typeof O||"function"==typeof O.splice||au(O)||Dm(O)||xr(O)))return!O.length;var $=zu(O);if($==Ur||$==no)return!O.size;if(rf(O))return!ln(O).length;for(var he in O)if(La.call(O,he))return!1;return!0},cn.isEqual=function lf(O,$){return ku(O,$)},cn.isEqualWith=function cd(O,$,he){var it=(he="function"==typeof he?he:a)?he(O,$):a;return it===a?ku(O,$,a,he):!!it},cn.isError=a_,cn.isFinite=function G_(O){return"number"==typeof O&&Ca(O)},cn.isFunction=uf,cn.isInteger=dd,cn.isLength=_p,cn.isMap=t1,cn.isMatch=function uv(O,$){return O===$||Qd(O,$,jp($))},cn.isMatchWith=function n1(O,$,he){return he="function"==typeof he?he:a,Qd(O,$,jp($),he)},cn.isNaN=function P0(O){return Dg(O)&&O!=+O},cn.isNative=function Ag(O){if(nf(O))throw new $s("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return il(O)},cn.isNil=function N0(O){return null==O},cn.isNull=function cv(O){return null===O},cn.isNumber=Dg,cn.isObject=Wu,cn.isObjectLike=hc,cn.isPlainObject=dm,cn.isRegExp=xg,cn.isSafeInteger=function HE(O){return dd(O)&&O>=-We&&O<=We},cn.isSet=I0,cn.isString=Am,cn.isSymbol=Xp,cn.isTypedArray=Dm,cn.isUndefined=function r1(O){return O===a},cn.isWeakMap=function i1(O){return hc(O)&&zu(O)==vn},cn.isWeakSet=function o1(O){return hc(O)&&"[object WeakSet]"==yo(O)},cn.join=function Ah(O,$){return null==O?"":Nu.call(O,$)},cn.kebabCase=fd,cn.last=Gc,cn.lastIndexOf=function rm(O,$,he){var it=null==O?0:O.length;if(!it)return-1;var Wt=it;return he!==a&&(Wt=(Wt=xl(he))<0?ka(it+Wt,0):rl(Wt,it-1)),$==$?function It(Yn,Rr,br){for(var fo=br+1;fo--;)if(Yn[fo]===Rr)return fo;return fo}(O,$,Wt):Jo(O,qu,Wt,!0)},cn.lowerCase=fm,cn.lowerFirst=Nm,cn.lt=s1,cn.lte=a1,cn.max=function F1(O){return O&&O.length?xe(O,np,Zs):a},cn.maxBy=function tb(O,$){return O&&O.length?xe(O,Ts($,2),Zs):a},cn.mean=function ny(O){return Nc(O,np)},cn.meanBy=function z_(O,$){return Nc(O,Ts($,2))},cn.min=function ry(O){return O&&O.length?xe(O,np,Ai):a},cn.minBy=function Cv(O,$){return O&&O.length?xe(O,Ts($,2),Ai):a},cn.stubArray=kg,cn.stubFalse=bv,cn.stubObject=function K0(){return{}},cn.stubString=function XE(){return""},cn.stubTrue=function q0(){return!0},cn.multiply=iy,cn.nth=function C_(O,$){return O&&O.length?Yc(O,xl($)):a},cn.noConflict=function R1(){return Fl._===this&&(Fl._=Sa),this},cn.noop=yv,cn.now=Cm,cn.pad=function z0(O,$,he){O=gu(O);var it=($=xl($))?Ht(O):0;if(!$||it>=$)return O;var Wt=($-it)/2;return Sp(Ta(Wt),he)+O+Sp(Lo(Wt),he)},cn.padEnd=function JE(O,$,he){O=gu(O);var it=($=xl($))?Ht(O):0;return $&&it<$?O+Sp($-it,he):O},cn.padStart=function QE(O,$,he){O=gu(O);var it=($=xl($))?Ht(O):0;return $&&it<$?Sp($-it,he)+O:O},cn.parseInt=function T1(O,$,he){return he||null==$?$=0:$&&($=+$),yc(gu(O).replace(Vt,""),$||0)},cn.random=function y1(O,$,he){if(he&&"boolean"!=typeof he&&jl(O,$,he)&&($=he=a),he===a&&("boolean"==typeof $?(he=$,$=a):"boolean"==typeof O&&(he=O,O=a)),O===a&&$===a?(O=0,$=1):(O=Kp(O),$===a?($=O,O=0):$=Kp($)),O>$){var it=O;O=$,$=it}if(he||O%1||$%1){var Wt=ju();return rl(O+Wt*($-O+Xu("1e-"+((Wt+"").length-1))),$)}return Bd(O,$)},cn.reduce=function Il(O,$,he){var it=hi(O)?al:aa,Wt=arguments.length<3;return it(O,Ts($,4),he,Wt,de)},cn.reduceRight=function Km(O,$,he){var it=hi(O)?Bs:aa,Wt=arguments.length<3;return it(O,Ts($,4),he,Wt,ve)},cn.repeat=function C1(O,$,he){return $=(he?jl(O,$,he):$===a)?1:xl($),Hp(gu(O),$)},cn.replace=function mv(){var O=arguments,$=gu(O[0]);return O.length<3?$:$.replace(O[1],O[2])},cn.result=function g1(O,$,he){var it=-1,Wt=($=Nf($,O)).length;for(Wt||(Wt=1,O=a);++it<Wt;){var Cn=null==O?a:O[sf($[it])];Cn===a&&(it=Wt,Cn=he),O=uf(Cn)?Cn.call(O):Cn}return O},cn.round=L1,cn.runInContext=Yn,cn.sample=function Xc(O){return(hi(O)?Ql:Uh)(O)},cn.size=function wp(O){if(null==O)return 0;if(zo(O))return Am(O)?Ht(O):O.length;var $=zu(O);return $==Ur||$==no?O.size:ln(O).length},cn.snakeCase=pm,cn.some=function eg(O,$,he){var it=hi(O)?mt:Yh;return he&&jl(O,$,he)&&($=a),it(O,Ts($,3))},cn.sortedIndex=function yr(O,$){return lh(O,$)},cn.sortedIndexBy=function Nr(O,$,he){return Pf(O,$,Ts(he,2))},cn.sortedIndexOf=function vi(O,$){var he=null==O?0:O.length;if(he){var it=lh(O,$);if(it<he&&ft(O[it],$))return it}return-1},cn.sortedLastIndex=function di(O,$){return lh(O,$,!0)},cn.sortedLastIndexBy=function ts(O,$,he){return Pf(O,$,Ts(he,2),!0)},cn.sortedLastIndexOf=function Do(O,$){if(null!=O&&O.length){var it=lh(O,$,!0)-1;if(ft(O[it],$))return it}return-1},cn.startCase=Im,cn.startsWith=function W0(O,$,he){return O=gu(O),he=null==he?0:oc(xl(he),0,O.length),$=sc($),O.slice(he,he+$.length)==$},cn.subtract=$g,cn.sum=function oy(O){return O&&O.length?Es(O,np):0},cn.sumBy=function k1(O,$){return O&&O.length?Es(O,Ts($,2)):0},cn.template=function Fm(O,$,he){var it=cn.templateSettings;he&&jl(O,$,he)&&($=a),O=gu(O),$=Rm({},$,it,qh);var Ir,Kr,Wt=Rm({},$.imports,it.imports,qh),Cn=xd(Wt),lr=iu(Wt,Cn),oo=0,ho=$.interpolate||ao,So="__p += '",bs=Zc(($.escape||ao).source+"|"+ho.source+"|"+(ho===Ut?Ri:ao).source+"|"+($.evaluate||ao).source+"|$","g"),la="//# sourceURL="+(La.call($,"sourceURL")?($.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++_s+"]")+"\n";O.replace(bs,function(Na,Hl,ql,Yf,cf,rp){return ql||(ql=Yf),So+=O.slice(oo,rp).replace($i,nd),Hl&&(Ir=!0,So+="' +\n__e("+Hl+") +\n'"),cf&&(Kr=!0,So+="';\n"+cf+";\n__p += '"),ql&&(So+="' +\n((__t = ("+ql+")) == null ? '' : __t) +\n'"),oo=rp+Na.length,Na}),So+="';\n";var Ea=La.call($,"variable")&&$.variable;if(Ea){if(Qo.test(Ea))throw new $s("Invalid `variable` option passed into `_.template`")}else So="with (obj) {\n"+So+"\n}\n";So=(Kr?So.replace(Le,""):So).replace(Re,"$1").replace(Se,"$1;"),So="function("+(Ea||"obj")+") {\n"+(Ea?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(Ir?", __e = _.escape":"")+(Kr?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+So+"return __p\n}";var Rl=_m(function(){return ls(Cn,la+"return "+So).apply(a,lr)});if(Rl.source=So,a_(Rl))throw Rl;return Rl},cn.times=function Sv(O,$){if((O=xl(O))<1||O>We)return[];var he=Yt,it=rl(O,Yt);$=Ts($),O-=Yt;for(var Wt=ec(it,$);++he<O;)$(he);return Wt},cn.toFinite=Kp,cn.toInteger=xl,cn.toLength=l1,cn.toLower=function gv(O){return gu(O).toLowerCase()},cn.toNumber=Rh,cn.toSafeInteger=function xm(O){return O?oc(xl(O),-We,We):0===O?O:0},cn.toString=gu,cn.toUpper=function c_(O){return gu(O).toUpperCase()},cn.trim=function og(O,$,he){if((O=gu(O))&&(he||$===a))return lu(O);if(!O||!($=sc($)))return O;var it=_n(O),Wt=_n($);return Au(it,bu(it,Wt),td(it,Wt)+1).join("")},cn.trimEnd=function Uf(O,$,he){if((O=gu(O))&&(he||$===a))return O.slice(0,Pn(O)+1);if(!O||!($=sc($)))return O;var it=_n(O);return Au(it,0,td(it,_n($))+1).join("")},cn.trimStart=function eh(O,$,he){if((O=gu(O))&&(he||$===a))return O.replace(Vt,"");if(!O||!($=sc($)))return O;var it=_n(O);return Au(it,bu(it,_n($))).join("")},cn.truncate=function Ig(O,$){var he=30,it="...";if(Wu($)){var Wt="separator"in $?$.separator:Wt;he="length"in $?xl($.length):he,it="omission"in $?sc($.omission):it}var Cn=(O=gu(O)).length;if(Yu(O)){var lr=_n(O);Cn=lr.length}if(he>=Cn)return O;var Ir=he-Ht(it);if(Ir<1)return it;var Kr=lr?Au(lr,0,Ir).join(""):O.slice(0,Ir);if(Wt===a)return Kr+it;if(lr&&(Ir+=Kr.length-Ir),xg(Wt)){if(O.slice(Ir).search(Wt)){var oo,ho=Kr;for(Wt.global||(Wt=Zc(Wt.source,gu(ko.exec(Wt))+"g")),Wt.lastIndex=0;oo=Wt.exec(ho);)var So=oo.index;Kr=Kr.slice(0,So===a?Ir:So)}}else if(O.indexOf(sc(Wt),Ir)!=Ir){var bs=Kr.lastIndexOf(Wt);bs>-1&&(Kr=Kr.slice(0,bs))}return Kr+it},cn.unescape=function th(O){return(O=gu(O))&&nn.test(O)?O.replace(dt,Tr):O},cn.uniqueId=function ey(O){var $=++kd;return gu(O)+$},cn.upperCase=vv,cn.upperFirst=x_,cn.each=Xm,cn.eachRight=bg,cn.first=Jp,Lg(cn,function(){var O={};return Vn(cn,function($,he){La.call(cn.prototype,he)||(O[he]=$)}),O}(),{chain:!1}),cn.VERSION="4.17.21",oi(["bind","bindKey","curry","curryRight","partial","partialRight"],function(O){cn[O].placeholder=cn}),oi(["drop","take"],function(O,$){cl.prototype[O]=function(he){he=he===a?1:ka(xl(he),0);var it=this.__filtered__&&!$?new cl(this):this.clone();return it.__filtered__?it.__takeCount__=rl(he,it.__takeCount__):it.__views__.push({size:rl(he,Yt),type:O+(it.__dir__<0?"Right":"")}),it},cl.prototype[O+"Right"]=function(he){return this.reverse()[O](he).reverse()}}),oi(["filter","map","takeWhile"],function(O,$){var he=$+1,it=1==he||3==he;cl.prototype[O]=function(Wt){var Cn=this.clone();return Cn.__iteratees__.push({iteratee:Ts(Wt,3),type:he}),Cn.__filtered__=Cn.__filtered__||it,Cn}}),oi(["head","last"],function(O,$){var he="take"+($?"Right":"");cl.prototype[O]=function(){return this[he](1).value()[0]}}),oi(["initial","tail"],function(O,$){var he="drop"+($?"":"Right");cl.prototype[O]=function(){return this.__filtered__?new cl(this):this[he](1)}}),cl.prototype.compact=function(){return this.filter(np)},cl.prototype.find=function(O){return this.filter(O).head()},cl.prototype.findLast=function(O){return this.reverse().find(O)},cl.prototype.invokeMap=dl(function(O,$){return"function"==typeof O?new cl(this):this.map(function(he){return Gl(he,O,$)})}),cl.prototype.reject=function(O){return this.filter(Qp(Ts(O)))},cl.prototype.slice=function(O,$){O=xl(O);var he=this;return he.__filtered__&&(O>0||$<0)?new cl(he):(O<0?he=he.takeRight(-O):O&&(he=he.drop(O)),$!==a&&(he=($=xl($))<0?he.dropRight(-$):he.take($-O)),he)},cl.prototype.takeRightWhile=function(O){return this.reverse().takeWhile(O).reverse()},cl.prototype.toArray=function(){return this.take(Yt)},Vn(cl.prototype,function(O,$){var he=/^(?:filter|find|map|reject)|While$/.test($),it=/^(?:head|last)$/.test($),Wt=cn[it?"take"+("last"==$?"Right":""):$],Cn=it||/^find/.test($);!Wt||(cn.prototype[$]=function(){var lr=this.__wrapped__,Ir=it?[1]:arguments,Kr=lr instanceof cl,oo=Ir[0],ho=Kr||hi(lr),So=function(Hl){var ql=Wt.apply(cn,Ka([Hl],Ir));return it&&bs?ql[0]:ql};ho&&he&&"function"==typeof oo&&1!=oo.length&&(Kr=ho=!1);var bs=this.__chain__,la=!!this.__actions__.length,Ea=Cn&&!bs,Rl=Kr&&!la;if(!Cn&&ho){lr=Rl?lr:new cl(this);var Na=O.apply(lr,Ir);return Na.__actions__.push({func:vs,args:[So],thisArg:a}),new qa(Na,bs)}return Ea&&Rl?O.apply(this,Ir):(Na=this.thru(So),Ea?it?Na.value()[0]:Na.value():Na)})}),oi(["pop","push","shift","sort","splice","unshift"],function(O){var $=Su[O],he=/^(?:push|sort|unshift)$/.test(O)?"tap":"thru",it=/^(?:pop|shift)$/.test(O);cn.prototype[O]=function(){var Wt=arguments;if(it&&!this.__chain__){var Cn=this.value();return $.apply(hi(Cn)?Cn:[],Wt)}return this[he](function(lr){return $.apply(hi(lr)?lr:[],Wt)})}}),Vn(cl.prototype,function(O,$){var he=cn[$];if(he){var it=he.name+"";La.call(Ml,it)||(Ml[it]=[]),Ml[it].push({name:$,func:he})}}),Ml[ac(a,2).name]=[{name:"wrapper",func:a}],cl.prototype.clone=function xf(){var O=new cl(this.__wrapped__);return O.__actions__=Sd(this.__actions__),O.__dir__=this.__dir__,O.__filtered__=this.__filtered__,O.__iteratees__=Sd(this.__iteratees__),O.__takeCount__=this.__takeCount__,O.__views__=Sd(this.__views__),O},cl.prototype.reverse=function Bc(){if(this.__filtered__){var O=new cl(this);O.__dir__=-1,O.__filtered__=!0}else(O=this.clone()).__dir__*=-1;return O},cl.prototype.value=function vd(){var O=this.__wrapped__.value(),$=this.__dir__,he=hi(O),it=$<0,Wt=he?O.length:0,Cn=function Jf(O,$,he){for(var it=-1,Wt=he.length;++it<Wt;){var Cn=he[it],lr=Cn.size;switch(Cn.type){case"drop":O+=lr;break;case"dropRight":$-=lr;break;case"take":$=rl($,O+lr);break;case"takeRight":O=ka(O,$-lr)}}return{start:O,end:$}}(0,Wt,this.__views__),lr=Cn.start,Ir=Cn.end,Kr=Ir-lr,oo=it?Ir:lr-1,ho=this.__iteratees__,So=ho.length,bs=0,la=rl(Kr,this.__takeCount__);if(!he||!it&&Wt==Kr&&la==Kr)return p_(O,this.__actions__);var Ea=[];e:for(;Kr--&&bs<la;){for(var Rl=-1,Na=O[oo+=$];++Rl<So;){var Hl=ho[Rl],Yf=Hl.type,cf=(0,Hl.iteratee)(Na);if(2==Yf)Na=cf;else if(!cf){if(1==Yf)continue e;break e}}Ea[bs++]=Na}return Ea},cn.prototype.at=Pa,cn.prototype.chain=function Za(){return io(this)},cn.prototype.commit=function va(){return new qa(this.value(),this.__chain__)},cn.prototype.next=function Hf(){this.__values__===a&&(this.__values__=l_(this.value()));var O=this.__index__>=this.__values__.length;return{done:O,value:O?a:this.__values__[this.__index__++]}},cn.prototype.plant=function s_(O){for(var $,he=this;he instanceof Iu;){var it=y_(he);it.__index__=0,it.__values__=a,$?Wt.__wrapped__=it:$=it;var Wt=it;he=he.__wrapped__}return Wt.__wrapped__=O,$},cn.prototype.reverse=function om(){var O=this.__wrapped__;if(O instanceof cl){var $=O;return this.__actions__.length&&($=new cl(this)),($=$.reverse()).__actions__.push({func:vs,args:[Ke],thisArg:a}),new qa($,this.__chain__)}return this.thru(Ke)},cn.prototype.toJSON=cn.prototype.valueOf=cn.prototype.value=function Jm(){return p_(this.__wrapped__,this.__actions__)},cn.prototype.first=cn.prototype.head,ht&&(cn.prototype[ht]=function im(){return this}),cn}();Fl._=Pr,(r=function(){return Pr}.call(b,i,b,v))!==a&&(v.exports=r)}.call(this)},97425:(v,b,i)=>{var r=i(93177);function f(u,e){if("function"!=typeof u||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var p=function(){var g=arguments,T=e?e.apply(this,g):g[0],M=p.cache;if(M.has(T))return M.get(T);var w=u.apply(this,g);return p.cache=M.set(T,w)||M,w};return p.cache=new(f.Cache||r),p}f.Cache=r,v.exports=f},3912:(v,b,i)=>{var r=i(9085),f=i(30906)(function(u,e,p){r(u,e,p)});v.exports=f},30765:(v,b,i)=>{var r=i(27038);v.exports=function(){return r.Date.now()}},12482:(v,b,i)=>{var r=i(14992),a=i(77007),f=i(72064),u=i(64667),e=i(11694),p=i(925),g=i(10058),T=i(51675),U=g(function(W,j){var q={};if(null==W)return q;var ue=!1;j=r(j,function(H){return H=u(H,W),ue||(ue=H.length>1),H}),e(W,T(W),q),ue&&(q=a(q,7,p));for(var re=j.length;re--;)f(q,j[re]);return q});v.exports=U},63354:(v,b,i)=>{var r=i(68840),a=i(59866),f=i(99743),u=i(82773);v.exports=function e(p){return f(p)?r(u(p)):a(p)}},86101:(v,b,i)=>{var r=i(89731),a=i(59026),f=i(5245),u=i(85105),e=i(81690);v.exports=function p(g,T,M){var w=e(g)?r:u,R=arguments.length<3;return w(g,f(T,4),M,R,a)}},12666:(v,b,i)=>{var r=i(32773);v.exports=function a(f,u,e){return null==f?f:r(f,u,e)}},52190:(v,b,i)=>{var r=i(8141),a=i(5245),f=i(37834),u=i(81690),e=i(71100);v.exports=function p(g,T,M){var w=u(g)?r:f;return M&&e(g,T,M)&&(T=void 0),w(g,a(T,3))}},65336:v=>{v.exports=function b(){return[]}},61711:v=>{v.exports=function b(){return!1}},5152:(v,b,i)=>{var r=i(45038),a=1/0;v.exports=function u(e){return e?(e=r(e))===a||e===-a?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},32781:(v,b,i)=>{var r=i(5152);v.exports=function a(f){var u=r(f),e=u%1;return u==u?e?u-e:u:0}},69883:(v,b,i)=>{var r=i(41233);v.exports=function a(f){return r(f).toLowerCase()}},45038:(v,b,i)=>{var r=i(13743),a=i(53867),f=i(7786),e=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,g=/^0o[0-7]+$/i,T=parseInt;v.exports=function M(w){if("number"==typeof w)return w;if(f(w))return NaN;if(a(w)){var R="function"==typeof w.valueOf?w.valueOf():w;w=a(R)?R+"":R}if("string"!=typeof w)return 0===w?w:+w;w=r(w);var U=p.test(w);return U||g.test(w)?T(w.slice(2),U?2:8):e.test(w)?NaN:+w}},31413:(v,b,i)=>{var r=i(11694),a=i(42970);v.exports=function f(u){return r(u,a(u))}},41233:(v,b,i)=>{var r=i(68166);v.exports=function a(f){return null==f?"":r(f)}},93890:(v,b,i)=>{var a=i(66803)("toUpperCase");v.exports=a},96590:(v,b,i)=>{var r=i(54561),a=i(59316),f=i(41233),u=i(58863);v.exports=function e(p,g,T){return p=f(p),void 0===(g=T?void 0:g)?a(p)?u(p):r(p):p.match(g)||[]}},31507:(v,b,i)=>{var r=i(23898),a=i(25687);v.exports=function f(u,e){return a(u||[],e||[],r)}},74538:(v,b,i)=>{"use strict";var r=i(7856),a=i(11926);b.highlight=u,b.highlightAuto=function e(re,H){var Ce,ce,Be,Ve,se=H||{},ae=se.subset||r.listLanguages(),ie=se.prefix,fe=ae.length,_e=-1;if(null==ie&&(ie=f),"string"!=typeof re)throw a("Expected `string` for value, got `%s`",re);for(ce={relevance:0,language:null,value:[]},Ce={relevance:0,language:null,value:[]};++_e<fe;)r.getLanguage(Ve=ae[_e])&&((Be=u(Ve,re,H)).language=Ve,Be.relevance>ce.relevance&&(ce=Be),Be.relevance>Ce.relevance&&(ce=Ce,Ce=Be));return ce.language&&(Ce.secondBest=ce),Ce},b.registerLanguage=function p(re,H){r.registerLanguage(re,H)},b.listLanguages=function g(){return r.listLanguages()},b.registerAlias=function T(re,H){var ae,se=re;for(ae in H&&((se={})[re]=H),se)r.registerAliases(se[ae],{languageName:ae})},M.prototype.addText=function U(re){var se,ae,H=this.stack;""!==re&&((ae=(se=H[H.length-1]).children[se.children.length-1])&&"text"===ae.type?ae.value+=re:se.children.push({type:"text",value:re}))},M.prototype.addKeyword=function w(re,H){this.openNode(H),this.addText(re),this.closeNode()},M.prototype.addSublanguage=function R(re,H){var se=this.stack,ae=se[se.length-1],ie=re.rootNode.children;ae.children=ae.children.concat(H?{type:"element",tagName:"span",properties:{className:[H]},children:ie}:ie)},M.prototype.openNode=function W(re){var H=this.stack,ie={type:"element",tagName:"span",properties:{className:[this.options.classPrefix+re]},children:[]};H[H.length-1].children.push(ie),H.push(ie)},M.prototype.closeNode=function j(){this.stack.pop()},M.prototype.closeAllNodes=ue,M.prototype.finalize=ue,M.prototype.toHTML=function q(){return""};var f="hljs-";function u(re,H,se){var _e,ae=r.configure({}),fe=(se||{}).prefix;if("string"!=typeof re)throw a("Expected `string` for name, got `%s`",re);if(!r.getLanguage(re))throw a("Unknown language: `%s` is not registered",re);if("string"!=typeof H)throw a("Expected `string` for value, got `%s`",H);if(null==fe&&(fe=f),r.configure({__emitter:M,classPrefix:fe}),_e=r.highlight(H,{language:re,ignoreIllegals:!0}),r.configure(ae||{}),_e.errorRaised)throw _e.errorRaised;return{relevance:_e.relevance,language:_e.language,value:_e.emitter.rootNode.children}}function M(re){this.options=re,this.rootNode={children:[]},this.stack=[this.rootNode]}function ue(){}},26431:function(v,b,i){!function(r){"use strict";r.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(f){return/^nm$/i.test(f)},meridiem:function(f,u,e){return f<12?e?"vm":"VM":e?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(f){return f+(1===f||8===f||f>=20?"ste":"de")},week:{dow:1,doy:4}})}(i(16738))},1616:function(v,b,i){!function(r){"use strict";var a=function(g){return 0===g?0:1===g?1:2===g?2:g%100>=3&&g%100<=10?3:g%100>=11?4:5},f={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},u=function(g){return function(T,M,w,R){var U=a(T),W=f[g][a(T)];return 2===U&&(W=W[M?0:1]),W.replace(/%d/i,T)}},e=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];r.defineLocale("ar-dz",{months:e,monthsShort:e,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(g){return"\u0645"===g},meridiem:function(g,T,M){return g<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:u("s"),ss:u("s"),m:u("m"),mm:u("m"),h:u("h"),hh:u("h"),d:u("d"),dd:u("d"),M:u("M"),MM:u("M"),y:u("y"),yy:u("y")},postformat:function(g){return g.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(i(16738))},9759:function(v,b,i){!function(r){"use strict";r.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(i(16738))},43160:function(v,b,i){!function(r){"use strict";var a={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},f=function(T){return 0===T?0:1===T?1:2===T?2:T%100>=3&&T%100<=10?3:T%100>=11?4:5},u={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},e=function(T){return function(M,w,R,U){var W=f(M),j=u[T][f(M)];return 2===W&&(j=j[w?0:1]),j.replace(/%d/i,M)}},p=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];r.defineLocale("ar-ly",{months:p,monthsShort:p,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(T){return"\u0645"===T},meridiem:function(T,M,w){return T<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:e("s"),ss:e("s"),m:e("m"),mm:e("m"),h:e("h"),hh:e("h"),d:e("d"),dd:e("d"),M:e("M"),MM:e("M"),y:e("y"),yy:e("y")},preparse:function(T){return T.replace(/\u060c/g,",")},postformat:function(T){return T.replace(/\d/g,function(M){return a[M]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(i(16738))},62551:function(v,b,i){!function(r){"use strict";r.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(i(16738))},79989:function(v,b,i){!function(r){"use strict";var a={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},f={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};r.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,p,g){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(p){return f[p]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(p){return a[p]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(i(16738))},6962:function(v,b,i){!function(r){"use strict";r.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(i(16738))},81286:function(v,b,i){!function(r){"use strict";var a={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},f={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},u=function(M){return 0===M?0:1===M?1:2===M?2:M%100>=3&&M%100<=10?3:M%100>=11?4:5},e={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},p=function(M){return function(w,R,U,W){var j=u(w),q=e[M][u(w)];return 2===j&&(q=q[R?0:1]),q.replace(/%d/i,w)}},g=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];r.defineLocale("ar",{months:g,monthsShort:g,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(M){return"\u0645"===M},meridiem:function(M,w,R){return M<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:p("s"),ss:p("s"),m:p("m"),mm:p("m"),h:p("h"),hh:p("h"),d:p("d"),dd:p("d"),M:p("M"),MM:p("M"),y:p("y"),yy:p("y")},preparse:function(M){return M.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(w){return f[w]}).replace(/\u060c/g,",")},postformat:function(M){return M.replace(/\d/g,function(w){return a[w]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(i(16738))},15887:function(v,b,i){!function(r){"use strict";var a={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};r.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(u){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(u)},meridiem:function(u,e,p){return u<4?"gec\u0259":u<12?"s\u0259h\u0259r":u<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(u){if(0===u)return u+"-\u0131nc\u0131";var e=u%10;return u+(a[e]||a[u%100-e]||a[u>=100?100:null])},week:{dow:1,doy:7}})}(i(16738))},14572:function(v,b,i){!function(r){"use strict";function f(e,p,g){return"m"===g?p?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===g?p?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":e+" "+function a(e,p){var g=e.split("_");return p%10==1&&p%100!=11?g[0]:p%10>=2&&p%10<=4&&(p%100<10||p%100>=20)?g[1]:g[2]}({ss:p?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:p?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:p?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[g],+e)}r.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:f,mm:f,h:f,hh:f,d:"\u0434\u0437\u0435\u043d\u044c",dd:f,M:"\u043c\u0435\u0441\u044f\u0446",MM:f,y:"\u0433\u043e\u0434",yy:f},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(e)},meridiem:function(e,p,g){return e<4?"\u043d\u043e\u0447\u044b":e<12?"\u0440\u0430\u043d\u0456\u0446\u044b":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(e,p){switch(p){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-\u044b":e+"-\u0456";case"D":return e+"-\u0433\u0430";default:return e}},week:{dow:1,doy:7}})}(i(16738))},3276:function(v,b,i){!function(r){"use strict";r.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(f){var u=f%10,e=f%100;return 0===f?f+"-\u0435\u0432":0===e?f+"-\u0435\u043d":e>10&&e<20?f+"-\u0442\u0438":1===u?f+"-\u0432\u0438":2===u?f+"-\u0440\u0438":7===u||8===u?f+"-\u043c\u0438":f+"-\u0442\u0438"},week:{dow:1,doy:7}})}(i(16738))},93344:function(v,b,i){!function(r){"use strict";r.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(i(16738))},83990:function(v,b,i){!function(r){"use strict";var a={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},f={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};r.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(e){return e.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(p){return f[p]})},postformat:function(e){return e.replace(/\d/g,function(p){return a[p]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(e,p){return 12===e&&(e=0),"\u09b0\u09be\u09a4"===p?e<4?e:e+12:"\u09ad\u09cb\u09b0"===p||"\u09b8\u0995\u09be\u09b2"===p?e:"\u09a6\u09c1\u09aa\u09c1\u09b0"===p?e>=3?e:e+12:"\u09ac\u09bf\u0995\u09be\u09b2"===p||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===p?e+12:void 0},meridiem:function(e,p,g){return e<4?"\u09b0\u09be\u09a4":e<6?"\u09ad\u09cb\u09b0":e<12?"\u09b8\u0995\u09be\u09b2":e<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":e<18?"\u09ac\u09bf\u0995\u09be\u09b2":e<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(i(16738))},58985:function(v,b,i){!function(r){"use strict";var a={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},f={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};r.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(e){return e.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(p){return f[p]})},postformat:function(e){return e.replace(/\d/g,function(p){return a[p]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(e,p){return 12===e&&(e=0),"\u09b0\u09be\u09a4"===p&&e>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===p&&e<5||"\u09ac\u09bf\u0995\u09be\u09b2"===p?e+12:e},meridiem:function(e,p,g){return e<4?"\u09b0\u09be\u09a4":e<10?"\u09b8\u0995\u09be\u09b2":e<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":e<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(i(16738))},94391:function(v,b,i){!function(r){"use strict";var a={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},f={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};r.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(e){return e.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(p){return f[p]})},postformat:function(e){return e.replace(/\d/g,function(p){return a[p]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(e,p){return 12===e&&(e=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===p&&e>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===p&&e<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===p?e+12:e},meridiem:function(e,p,g){return e<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":e<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":e<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":e<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(i(16738))},46728:function(v,b,i){!function(r){"use strict";function a(q,ue,re){return q+" "+function e(q,ue){return 2===ue?function p(q){var ue={m:"v",b:"v",d:"z"};return void 0===ue[q.charAt(0)]?q:ue[q.charAt(0)]+q.substring(1)}(q):q}({mm:"munutenn",MM:"miz",dd:"devezh"}[re],q)}function u(q){return q>9?u(q%10):q}var g=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],T=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,W=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];r.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:W,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:W,monthsRegex:T,monthsShortRegex:T,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:g,longMonthsParse:g,shortMonthsParse:g,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:a,h:"un eur",hh:"%d eur",d:"un devezh",dd:a,M:"ur miz",MM:a,y:"ur bloaz",yy:function f(q){switch(u(q)){case 1:case 3:case 4:case 5:case 9:return q+" bloaz";default:return q+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(q){return q+(1===q?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(q){return"g.m."===q},meridiem:function(q,ue,re){return q<12?"a.m.":"g.m."}})}(i(16738))},5536:function(v,b,i){!function(r){"use strict";function a(u,e,p){var g=u+" ";switch(p){case"ss":return g+(1===u?"sekunda":2===u||3===u||4===u?"sekunde":"sekundi");case"m":return e?"jedna minuta":"jedne minute";case"mm":return g+(1===u?"minuta":2===u||3===u||4===u?"minute":"minuta");case"h":return e?"jedan sat":"jednog sata";case"hh":return g+(1===u?"sat":2===u||3===u||4===u?"sata":"sati");case"dd":return g+(1===u?"dan":"dana");case"MM":return g+(1===u?"mjesec":2===u||3===u||4===u?"mjeseca":"mjeseci");case"yy":return g+(1===u?"godina":2===u||3===u||4===u?"godine":"godina")}}r.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:a,m:a,mm:a,h:a,hh:a,d:"dan",dd:a,M:"mjesec",MM:a,y:"godinu",yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(16738))},41043:function(v,b,i){!function(r){"use strict";r.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(f,u){var e=1===f?"r":2===f?"n":3===f?"r":4===f?"t":"\xe8";return("w"===u||"W"===u)&&(e="a"),f+e},week:{dow:1,doy:4}})}(i(16738))},70420:function(v,b,i){!function(r){"use strict";var a={format:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),standalone:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_")},f="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),u=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],e=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function p(M){return M>1&&M<5&&1!=~~(M/10)}function g(M,w,R,U){var W=M+" ";switch(R){case"s":return w||U?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return w||U?W+(p(M)?"sekundy":"sekund"):W+"sekundami";case"m":return w?"minuta":U?"minutu":"minutou";case"mm":return w||U?W+(p(M)?"minuty":"minut"):W+"minutami";case"h":return w?"hodina":U?"hodinu":"hodinou";case"hh":return w||U?W+(p(M)?"hodiny":"hodin"):W+"hodinami";case"d":return w||U?"den":"dnem";case"dd":return w||U?W+(p(M)?"dny":"dn\xed"):W+"dny";case"M":return w||U?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return w||U?W+(p(M)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):W+"m\u011bs\xedci";case"y":return w||U?"rok":"rokem";case"yy":return w||U?W+(p(M)?"roky":"let"):W+"lety"}}r.defineLocale("cs",{months:a,monthsShort:f,monthsRegex:e,monthsShortRegex:e,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:g,ss:g,m:g,mm:g,h:g,hh:g,d:g,dd:g,M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(16738))},33513:function(v,b,i){!function(r){"use strict";r.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(f){return f+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(f)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(f)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(i(16738))},6771:function(v,b,i){!function(r){"use strict";r.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(f){var e="";return f>20?e=40===f||50===f||60===f||80===f||100===f?"fed":"ain":f>0&&(e=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][f]),f+e},week:{dow:1,doy:4}})}(i(16738))},47978:function(v,b,i){!function(r){"use strict";r.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(16738))},25204:function(v,b,i){!function(r){"use strict";function a(u,e,p,g){var T={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[u+" Tage",u+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[u+" Monate",u+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[u+" Jahre",u+" Jahren"]};return e?T[p][0]:T[p][1]}r.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:a,mm:"%d Minuten",h:a,hh:"%d Stunden",d:a,dd:a,w:a,ww:"%d Wochen",M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(16738))},2653:function(v,b,i){!function(r){"use strict";function a(u,e,p,g){var T={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[u+" Tage",u+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[u+" Monate",u+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[u+" Jahre",u+" Jahren"]};return e?T[p][0]:T[p][1]}r.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:a,mm:"%d Minuten",h:a,hh:"%d Stunden",d:a,dd:a,w:a,ww:"%d Wochen",M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(16738))},46061:function(v,b,i){!function(r){"use strict";function a(u,e,p,g){var T={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[u+" Tage",u+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[u+" Monate",u+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[u+" Jahre",u+" Jahren"]};return e?T[p][0]:T[p][1]}r.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:a,mm:"%d Minuten",h:a,hh:"%d Stunden",d:a,dd:a,w:a,ww:"%d Wochen",M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(16738))},85:function(v,b,i){!function(r){"use strict";var a=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],f=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];r.defineLocale("dv",{months:a,monthsShort:a,weekdays:f,weekdaysShort:f,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(e){return"\u0789\u078a"===e},meridiem:function(e,p,g){return e<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(i(16738))},8579:function(v,b,i){!function(r){"use strict";r.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(u,e){return u?"string"==typeof e&&/D/.test(e.substring(0,e.indexOf("MMMM")))?this._monthsGenitiveEl[u.month()]:this._monthsNominativeEl[u.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(u,e,p){return u>11?p?"\u03bc\u03bc":"\u039c\u039c":p?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(u){return"\u03bc"===(u+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){return 6===this.day()?"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT":"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"},sameElse:"L"},calendar:function(u,e){var p=this._calendarEl[u],g=e&&e.hours();return function a(u){return"undefined"!=typeof Function&&u instanceof Function||"[object Function]"===Object.prototype.toString.call(u)}(p)&&(p=p.apply(e)),p.replace("{}",g%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(i(16738))},25724:function(v,b,i){!function(r){"use strict";r.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(f){var u=f%10;return f+(1==~~(f%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:0,doy:4}})}(i(16738))},10525:function(v,b,i){!function(r){"use strict";r.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(f){var u=f%10;return f+(1==~~(f%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")}})}(i(16738))},52847:function(v,b,i){!function(r){"use strict";r.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(f){var u=f%10;return f+(1==~~(f%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:1,doy:4}})}(i(16738))},67216:function(v,b,i){!function(r){"use strict";r.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(f){var u=f%10;return f+(1==~~(f%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:1,doy:4}})}(i(16738))},39305:function(v,b,i){!function(r){"use strict";r.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(f){var u=f%10;return f+(1==~~(f%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")}})}(i(16738))},73364:function(v,b,i){!function(r){"use strict";r.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(f){var u=f%10;return f+(1==~~(f%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:0,doy:6}})}(i(16738))},79130:function(v,b,i){!function(r){"use strict";r.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(f){var u=f%10;return f+(1==~~(f%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:1,doy:4}})}(i(16738))},11161:function(v,b,i){!function(r){"use strict";r.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(f){var u=f%10;return f+(1==~~(f%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:1,doy:4}})}(i(16738))},50802:function(v,b,i){!function(r){"use strict";r.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(f){return"p"===f.charAt(0).toLowerCase()},meridiem:function(f,u,e){return f>11?e?"p.t.m.":"P.T.M.":e?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(i(16738))},45551:function(v,b,i){!function(r){"use strict";var a="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),f="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),u=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],e=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;r.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(g,T){return g?/-MMM-/.test(T)?f[g.month()]:a[g.month()]:a},monthsRegex:e,monthsShortRegex:e,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i(16738))},75615:function(v,b,i){!function(r){"use strict";var a="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),f="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),u=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],e=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;r.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(g,T){return g?/-MMM-/.test(T)?f[g.month()]:a[g.month()]:a},monthsRegex:e,monthsShortRegex:e,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(i(16738))},64790:function(v,b,i){!function(r){"use strict";var a="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),f="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),u=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],e=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;r.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(g,T){return g?/-MMM-/.test(T)?f[g.month()]:a[g.month()]:a},monthsRegex:e,monthsShortRegex:e,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(i(16738))},40328:function(v,b,i){!function(r){"use strict";var a="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),f="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),u=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],e=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;r.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(g,T){return g?/-MMM-/.test(T)?f[g.month()]:a[g.month()]:a},monthsRegex:e,monthsShortRegex:e,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(i(16738))},96389:function(v,b,i){!function(r){"use strict";function a(u,e,p,g){var T={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[u+"sekundi",u+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[u+" minuti",u+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[u+" tunni",u+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[u+" kuu",u+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[u+" aasta",u+" aastat"]};return e?T[p][2]?T[p][2]:T[p][1]:g?T[p][0]:T[p][1]}r.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:"%d p\xe4eva",M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(16738))},52961:function(v,b,i){!function(r){"use strict";r.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(16738))},26151:function(v,b,i){!function(r){"use strict";var a={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},f={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};r.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(e){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(e)},meridiem:function(e,p,g){return e<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/[\u06f0-\u06f9]/g,function(p){return f[p]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(p){return a[p]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(i(16738))},7997:function(v,b,i){!function(r){"use strict";var a="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),f=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",a[7],a[8],a[9]];function u(g,T,M,w){var R="";switch(M){case"s":return w?"muutaman sekunnin":"muutama sekunti";case"ss":R=w?"sekunnin":"sekuntia";break;case"m":return w?"minuutin":"minuutti";case"mm":R=w?"minuutin":"minuuttia";break;case"h":return w?"tunnin":"tunti";case"hh":R=w?"tunnin":"tuntia";break;case"d":return w?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":R=w?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return w?"kuukauden":"kuukausi";case"MM":R=w?"kuukauden":"kuukautta";break;case"y":return w?"vuoden":"vuosi";case"yy":R=w?"vuoden":"vuotta"}return function e(g,T){return g<10?T?f[g]:a[g]:g}(g,w)+" "+R}r.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:u,ss:u,m:u,mm:u,h:u,hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(16738))},58898:function(v,b,i){!function(r){"use strict";r.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(f){return f},week:{dow:1,doy:4}})}(i(16738))},37779:function(v,b,i){!function(r){"use strict";r.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(16738))},3287:function(v,b,i){!function(r){"use strict";r.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(f,u){switch(u){default:case"M":case"Q":case"D":case"DDD":case"d":return f+(1===f?"er":"e");case"w":case"W":return f+(1===f?"re":"e")}}})}(i(16738))},38867:function(v,b,i){!function(r){"use strict";r.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(f,u){switch(u){default:case"M":case"Q":case"D":case"DDD":case"d":return f+(1===f?"er":"e");case"w":case"W":return f+(1===f?"re":"e")}},week:{dow:1,doy:4}})}(i(16738))},28174:function(v,b,i){!function(r){"use strict";var u=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,e=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];r.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:u,monthsShortRegex:u,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:e,longMonthsParse:e,shortMonthsParse:e,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(g,T){switch(T){case"D":return g+(1===g?"er":"");default:case"M":case"Q":case"DDD":case"d":return g+(1===g?"er":"e");case"w":case"W":return g+(1===g?"re":"e")}},week:{dow:1,doy:4}})}(i(16738))},50452:function(v,b,i){!function(r){"use strict";var a="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),f="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");r.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,p){return e?/-MMM-/.test(p)?f[e.month()]:a[e.month()]:a},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(i(16738))},45014:function(v,b,i){!function(r){"use strict";r.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(T){return T+(1===T?"d":T%10==2?"na":"mh")},week:{dow:1,doy:4}})}(i(16738))},74127:function(v,b,i){!function(r){"use strict";r.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(T){return T+(1===T?"d":T%10==2?"na":"mh")},week:{dow:1,doy:4}})}(i(16738))},72124:function(v,b,i){!function(r){"use strict";r.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(f){return 0===f.indexOf("un")?"n"+f:"en "+f},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i(16738))},6444:function(v,b,i){!function(r){"use strict";function a(u,e,p,g){var T={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[u+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",u+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[u+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",u+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[u+" \u0935\u0930\u093e\u0902\u0928\u0940",u+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[u+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",u+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[u+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",u+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[u+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",u+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return g?T[p][0]:T[p][1]}r.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(u,e){return"D"===e?u+"\u0935\u0947\u0930":u},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(u,e){return 12===u&&(u=0),"\u0930\u093e\u0924\u0940"===e?u<4?u:u+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===e?u:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===e?u>12?u:u+12:"\u0938\u093e\u0902\u091c\u0947"===e?u+12:void 0},meridiem:function(u,e,p){return u<4?"\u0930\u093e\u0924\u0940":u<12?"\u0938\u0915\u093e\u0933\u0940\u0902":u<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":u<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(i(16738))},37953:function(v,b,i){!function(r){"use strict";function a(u,e,p,g){var T={s:["thoddea sekondamni","thodde sekond"],ss:[u+" sekondamni",u+" sekond"],m:["eka mintan","ek minut"],mm:[u+" mintamni",u+" mintam"],h:["eka voran","ek vor"],hh:[u+" voramni",u+" voram"],d:["eka disan","ek dis"],dd:[u+" disamni",u+" dis"],M:["eka mhoinean","ek mhoino"],MM:[u+" mhoineamni",u+" mhoine"],y:["eka vorsan","ek voros"],yy:[u+" vorsamni",u+" vorsam"]};return g?T[p][0]:T[p][1]}r.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(u,e){return"D"===e?u+"er":u},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(u,e){return 12===u&&(u=0),"rati"===e?u<4?u:u+12:"sokallim"===e?u:"donparam"===e?u>12?u:u+12:"sanje"===e?u+12:void 0},meridiem:function(u,e,p){return u<4?"rati":u<12?"sokallim":u<16?"donparam":u<20?"sanje":"rati"}})}(i(16738))},76604:function(v,b,i){!function(r){"use strict";var a={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},f={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};r.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(e){return e.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(p){return f[p]})},postformat:function(e){return e.replace(/\d/g,function(p){return a[p]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(e,p){return 12===e&&(e=0),"\u0ab0\u0abe\u0aa4"===p?e<4?e:e+12:"\u0ab8\u0ab5\u0abe\u0ab0"===p?e:"\u0aac\u0aaa\u0acb\u0ab0"===p?e>=10?e:e+12:"\u0ab8\u0abe\u0a82\u0a9c"===p?e+12:void 0},meridiem:function(e,p,g){return e<4?"\u0ab0\u0abe\u0aa4":e<10?"\u0ab8\u0ab5\u0abe\u0ab0":e<17?"\u0aac\u0aaa\u0acb\u0ab0":e<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(i(16738))},1222:function(v,b,i){!function(r){"use strict";r.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(f){return 2===f?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":f+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(f){return 2===f?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":f+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(f){return 2===f?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":f+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(f){return 2===f?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":f%10==0&&10!==f?f+" \u05e9\u05e0\u05d4":f+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(f){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(f)},meridiem:function(f,u,e){return f<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":f<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":f<12?e?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":f<18?e?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(i(16738))},74235:function(v,b,i){!function(r){"use strict";var a={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},f={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},u=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];r.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:u,longMonthsParse:u,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(g){return g.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(T){return f[T]})},postformat:function(g){return g.replace(/\d/g,function(T){return a[T]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(g,T){return 12===g&&(g=0),"\u0930\u093e\u0924"===T?g<4?g:g+12:"\u0938\u0941\u092c\u0939"===T?g:"\u0926\u094b\u092a\u0939\u0930"===T?g>=10?g:g+12:"\u0936\u093e\u092e"===T?g+12:void 0},meridiem:function(g,T,M){return g<4?"\u0930\u093e\u0924":g<10?"\u0938\u0941\u092c\u0939":g<17?"\u0926\u094b\u092a\u0939\u0930":g<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(i(16738))},622:function(v,b,i){!function(r){"use strict";function a(u,e,p){var g=u+" ";switch(p){case"ss":return g+(1===u?"sekunda":2===u||3===u||4===u?"sekunde":"sekundi");case"m":return e?"jedna minuta":"jedne minute";case"mm":return g+(1===u?"minuta":2===u||3===u||4===u?"minute":"minuta");case"h":return e?"jedan sat":"jednog sata";case"hh":return g+(1===u?"sat":2===u||3===u||4===u?"sata":"sati");case"dd":return g+(1===u?"dan":"dana");case"MM":return g+(1===u?"mjesec":2===u||3===u||4===u?"mjeseca":"mjeseci");case"yy":return g+(1===u?"godina":2===u||3===u||4===u?"godine":"godina")}}r.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:a,m:a,mm:a,h:a,hh:a,d:"dan",dd:a,M:"mjesec",MM:a,y:"godinu",yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(16738))},37735:function(v,b,i){!function(r){"use strict";var a="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function f(p,g,T,M){var w=p;switch(T){case"s":return M||g?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return w+(M||g)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(M||g?" perc":" perce");case"mm":return w+(M||g?" perc":" perce");case"h":return"egy"+(M||g?" \xf3ra":" \xf3r\xe1ja");case"hh":return w+(M||g?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(M||g?" nap":" napja");case"dd":return w+(M||g?" nap":" napja");case"M":return"egy"+(M||g?" h\xf3nap":" h\xf3napja");case"MM":return w+(M||g?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(M||g?" \xe9v":" \xe9ve");case"yy":return w+(M||g?" \xe9v":" \xe9ve")}return""}function u(p){return(p?"":"[m\xfalt] ")+"["+a[this.day()]+"] LT[-kor]"}r.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(p){return"u"===p.charAt(1).toLowerCase()},meridiem:function(p,g,T){return p<12?!0===T?"de":"DE":!0===T?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return u.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return u.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:f,ss:f,m:f,mm:f,h:f,hh:f,d:f,dd:f,M:f,MM:f,y:f,yy:f},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(16738))},90402:function(v,b,i){!function(r){"use strict";r.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(f){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(f)},meridiem:function(f){return f<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":f<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":f<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(f,u){switch(u){case"DDD":case"w":case"W":case"DDDo":return 1===f?f+"-\u056b\u0576":f+"-\u0580\u0564";default:return f}},week:{dow:1,doy:7}})}(i(16738))},59187:function(v,b,i){!function(r){"use strict";r.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(f,u){return 12===f&&(f=0),"pagi"===u?f:"siang"===u?f>=11?f:f+12:"sore"===u||"malam"===u?f+12:void 0},meridiem:function(f,u,e){return f<11?"pagi":f<15?"siang":f<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(i(16738))},30536:function(v,b,i){!function(r){"use strict";function a(e){return e%100==11||e%10!=1}function f(e,p,g,T){var M=e+" ";switch(g){case"s":return p||T?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return a(e)?M+(p||T?"sek\xfandur":"sek\xfandum"):M+"sek\xfanda";case"m":return p?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return a(e)?M+(p||T?"m\xedn\xfatur":"m\xedn\xfatum"):p?M+"m\xedn\xfata":M+"m\xedn\xfatu";case"hh":return a(e)?M+(p||T?"klukkustundir":"klukkustundum"):M+"klukkustund";case"d":return p?"dagur":T?"dag":"degi";case"dd":return a(e)?p?M+"dagar":M+(T?"daga":"d\xf6gum"):p?M+"dagur":M+(T?"dag":"degi");case"M":return p?"m\xe1nu\xf0ur":T?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return a(e)?p?M+"m\xe1nu\xf0ir":M+(T?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):p?M+"m\xe1nu\xf0ur":M+(T?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return p||T?"\xe1r":"\xe1ri";case"yy":return a(e)?M+(p||T?"\xe1r":"\xe1rum"):M+(p||T?"\xe1r":"\xe1ri")}}r.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:f,ss:f,m:f,mm:f,h:"klukkustund",hh:f,d:f,dd:f,M:f,MM:f,y:f,yy:f},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(16738))},94667:function(v,b,i){!function(r){"use strict";r.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(f){return(/^[0-9].+$/.test(f)?"tra":"in")+" "+f},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i(16738))},35007:function(v,b,i){!function(r){"use strict";r.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i(16738))},62093:function(v,b,i){!function(r){"use strict";r.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(f,u){return"\u5143"===u[1]?1:parseInt(u[1]||f,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(f){return"\u5348\u5f8c"===f},meridiem:function(f,u,e){return f<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(f){return f.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(f){return this.week()!==f.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(f,u){switch(u){case"y":return 1===f?"\u5143\u5e74":f+"\u5e74";case"d":case"D":case"DDD":return f+"\u65e5";default:return f}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(i(16738))},80059:function(v,b,i){!function(r){"use strict";r.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(f,u){return 12===f&&(f=0),"enjing"===u?f:"siyang"===u?f>=11?f:f+12:"sonten"===u||"ndalu"===u?f+12:void 0},meridiem:function(f,u,e){return f<11?"enjing":f<15?"siyang":f<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(i(16738))},66870:function(v,b,i){!function(r){"use strict";r.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(f){return f.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(u,e,p){return"\u10d8"===p?e+"\u10e8\u10d8":e+p+"\u10e8\u10d8"})},past:function(f){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(f)?f.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(f)?f.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):f},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(f){return 0===f?f:1===f?f+"-\u10da\u10d8":f<20||f<=100&&f%20==0||f%100==0?"\u10db\u10d4-"+f:f+"-\u10d4"},week:{dow:1,doy:7}})}(i(16738))},80880:function(v,b,i){!function(r){"use strict";var a={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};r.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(u){return u+(a[u]||a[u%10]||a[u>=100?100:null])},week:{dow:1,doy:7}})}(i(16738))},1083:function(v,b,i){!function(r){"use strict";var a={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},f={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};r.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(e){return"\u179b\u17d2\u1784\u17b6\u1785"===e},meridiem:function(e,p,g){return e<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(e){return e.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(p){return f[p]})},postformat:function(e){return e.replace(/\d/g,function(p){return a[p]})},week:{dow:1,doy:4}})}(i(16738))},68785:function(v,b,i){!function(r){"use strict";var a={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},f={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};r.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(e){return e.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(p){return f[p]})},postformat:function(e){return e.replace(/\d/g,function(p){return a[p]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(e,p){return 12===e&&(e=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===p?e<4?e:e+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===p?e:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===p?e>=10?e:e+12:"\u0cb8\u0c82\u0c9c\u0cc6"===p?e+12:void 0},meridiem:function(e,p,g){return e<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":e<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":e<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":e<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(e){return e+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(i(16738))},21721:function(v,b,i){!function(r){"use strict";r.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(f,u){switch(u){case"d":case"D":case"DDD":return f+"\uc77c";case"M":return f+"\uc6d4";case"w":case"W":return f+"\uc8fc";default:return f}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(f){return"\uc624\ud6c4"===f},meridiem:function(f,u,e){return f<12?"\uc624\uc804":"\uc624\ud6c4"}})}(i(16738))},37851:function(v,b,i){!function(r){"use strict";var a={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},f={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},u=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];r.defineLocale("ku",{months:u,monthsShort:u,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(p){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(p)},meridiem:function(p,g,T){return p<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(p){return p.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(g){return f[g]}).replace(/\u060c/g,",")},postformat:function(p){return p.replace(/\d/g,function(g){return a[g]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(i(16738))},1727:function(v,b,i){!function(r){"use strict";var a={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};r.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(u){return u+(a[u]||a[u%10]||a[u>=100?100:null])},week:{dow:1,doy:7}})}(i(16738))},40346:function(v,b,i){!function(r){"use strict";function a(g,T,M,w){var R={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return T?R[M][0]:R[M][1]}function e(g){if(g=parseInt(g,10),isNaN(g))return!1;if(g<0)return!0;if(g<10)return 4<=g&&g<=7;if(g<100){var T=g%10;return e(0===T?g/10:T)}if(g<1e4){for(;g>=10;)g/=10;return e(g)}return e(g/=1e3)}r.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function f(g){return e(g.substr(0,g.indexOf(" ")))?"a "+g:"an "+g},past:function u(g){return e(g.substr(0,g.indexOf(" ")))?"viru "+g:"virun "+g},s:"e puer Sekonnen",ss:"%d Sekonnen",m:a,mm:"%d Minutten",h:a,hh:"%d Stonnen",d:a,dd:"%d Deeg",M:a,MM:"%d M\xe9int",y:a,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(16738))},93002:function(v,b,i){!function(r){"use strict";r.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(f){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===f},meridiem:function(f,u,e){return f<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(f){return"\u0e97\u0eb5\u0ec8"+f}})}(i(16738))},64035:function(v,b,i){!function(r){"use strict";var a={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function u(M,w,R,U){return w?p(R)[0]:U?p(R)[1]:p(R)[2]}function e(M){return M%10==0||M>10&&M<20}function p(M){return a[M].split("_")}function g(M,w,R,U){var W=M+" ";return 1===M?W+u(0,w,R[0],U):w?W+(e(M)?p(R)[1]:p(R)[0]):U?W+p(R)[1]:W+(e(M)?p(R)[1]:p(R)[2])}r.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function f(M,w,R,U){return w?"kelios sekund\u0117s":U?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:g,m:u,mm:g,h:u,hh:g,d:u,dd:g,M:u,MM:g,y:u,yy:g},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(M){return M+"-oji"},week:{dow:1,doy:4}})}(i(16738))},56927:function(v,b,i){!function(r){"use strict";var a={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function f(T,M,w){return w?M%10==1&&M%100!=11?T[2]:T[3]:M%10==1&&M%100!=11?T[0]:T[1]}function u(T,M,w){return T+" "+f(a[w],T,M)}function e(T,M,w){return f(a[w],T,M)}r.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function p(T,M){return M?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:u,m:e,mm:u,h:e,hh:u,d:e,dd:u,M:e,MM:u,y:e,yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(16738))},5634:function(v,b,i){!function(r){"use strict";var a={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(u,e){return 1===u?e[0]:u>=2&&u<=4?e[1]:e[2]},translate:function(u,e,p){var g=a.words[p];return 1===p.length?e?g[0]:g[1]:u+" "+a.correctGrammaticalCase(u,g)}};r.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:a.translate,m:a.translate,mm:a.translate,h:a.translate,hh:a.translate,d:"dan",dd:a.translate,M:"mjesec",MM:a.translate,y:"godinu",yy:a.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(16738))},94173:function(v,b,i){!function(r){"use strict";r.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i(16738))},86320:function(v,b,i){!function(r){"use strict";r.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(f){var u=f%10,e=f%100;return 0===f?f+"-\u0435\u0432":0===e?f+"-\u0435\u043d":e>10&&e<20?f+"-\u0442\u0438":1===u?f+"-\u0432\u0438":2===u?f+"-\u0440\u0438":7===u||8===u?f+"-\u043c\u0438":f+"-\u0442\u0438"},week:{dow:1,doy:7}})}(i(16738))},11705:function(v,b,i){!function(r){"use strict";r.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(f,u){return 12===f&&(f=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===u&&f>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===u||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===u?f+12:f},meridiem:function(f,u,e){return f<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":f<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":f<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":f<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(i(16738))},31062:function(v,b,i){!function(r){"use strict";function a(u,e,p,g){switch(p){case"s":return e?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return u+(e?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return u+(e?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return u+(e?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return u+(e?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return u+(e?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return u+(e?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return u}}r.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(u){return"\u04ae\u0425"===u},meridiem:function(u,e,p){return u<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(u,e){switch(e){case"d":case"D":case"DDD":return u+" \u04e9\u0434\u04e9\u0440";default:return u}}})}(i(16738))},92805:function(v,b,i){!function(r){"use strict";var a={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},f={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function u(p,g,T,M){var w="";if(g)switch(T){case"s":w="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":w="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":w="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":w="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":w="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":w="%d \u0924\u093e\u0938";break;case"d":w="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":w="%d \u0926\u093f\u0935\u0938";break;case"M":w="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":w="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":w="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":w="%d \u0935\u0930\u094d\u0937\u0947"}else switch(T){case"s":w="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":w="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":w="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":w="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":w="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":w="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":w="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":w="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":w="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":w="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":w="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":w="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return w.replace(/%d/i,p)}r.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:u,ss:u,m:u,mm:u,h:u,hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},preparse:function(p){return p.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(g){return f[g]})},postformat:function(p){return p.replace(/\d/g,function(g){return a[g]})},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(p,g){return 12===p&&(p=0),"\u092a\u0939\u093e\u091f\u0947"===g||"\u0938\u0915\u093e\u0933\u0940"===g?p:"\u0926\u0941\u092a\u093e\u0930\u0940"===g||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===g||"\u0930\u093e\u0924\u094d\u0930\u0940"===g?p>=12?p:p+12:void 0},meridiem:function(p,g,T){return p>=0&&p<6?"\u092a\u0939\u093e\u091f\u0947":p<12?"\u0938\u0915\u093e\u0933\u0940":p<17?"\u0926\u0941\u092a\u093e\u0930\u0940":p<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(i(16738))},59900:function(v,b,i){!function(r){"use strict";r.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(f,u){return 12===f&&(f=0),"pagi"===u?f:"tengahari"===u?f>=11?f:f+12:"petang"===u||"malam"===u?f+12:void 0},meridiem:function(f,u,e){return f<11?"pagi":f<15?"tengahari":f<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(i(16738))},11341:function(v,b,i){!function(r){"use strict";r.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(f,u){return 12===f&&(f=0),"pagi"===u?f:"tengahari"===u?f>=11?f:f+12:"petang"===u||"malam"===u?f+12:void 0},meridiem:function(f,u,e){return f<11?"pagi":f<15?"tengahari":f<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(i(16738))},37734:function(v,b,i){!function(r){"use strict";r.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i(16738))},19034:function(v,b,i){!function(r){"use strict";var a={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},f={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};r.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(e){return e.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(p){return f[p]})},postformat:function(e){return e.replace(/\d/g,function(p){return a[p]})},week:{dow:1,doy:4}})}(i(16738))},9324:function(v,b,i){!function(r){"use strict";r.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(16738))},46495:function(v,b,i){!function(r){"use strict";var a={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},f={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};r.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(p){return f[p]})},postformat:function(e){return e.replace(/\d/g,function(p){return a[p]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(e,p){return 12===e&&(e=0),"\u0930\u093e\u0924\u093f"===p?e<4?e:e+12:"\u092c\u093f\u0939\u093e\u0928"===p?e:"\u0926\u093f\u0909\u0901\u0938\u094b"===p?e>=10?e:e+12:"\u0938\u093e\u0901\u091d"===p?e+12:void 0},meridiem:function(e,p,g){return e<3?"\u0930\u093e\u0924\u093f":e<12?"\u092c\u093f\u0939\u093e\u0928":e<16?"\u0926\u093f\u0909\u0901\u0938\u094b":e<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(i(16738))},76272:function(v,b,i){!function(r){"use strict";var a="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),f="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),u=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],e=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;r.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(g,T){return g?/-MMM-/.test(T)?f[g.month()]:a[g.month()]:a},monthsRegex:e,monthsShortRegex:e,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(g){return g+(1===g||8===g||g>=20?"ste":"de")},week:{dow:1,doy:4}})}(i(16738))},70673:function(v,b,i){!function(r){"use strict";var a="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),f="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),u=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],e=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;r.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(g,T){return g?/-MMM-/.test(T)?f[g.month()]:a[g.month()]:a},monthsRegex:e,monthsShortRegex:e,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(g){return g+(1===g||8===g||g>=20?"ste":"de")},week:{dow:1,doy:4}})}(i(16738))},72486:function(v,b,i){!function(r){"use strict";r.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(16738))},46219:function(v,b,i){!function(r){"use strict";r.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(f,u){var e=1===f?"r":2===f?"n":3===f?"r":4===f?"t":"\xe8";return("w"===u||"W"===u)&&(e="a"),f+e},week:{dow:1,doy:4}})}(i(16738))},2829:function(v,b,i){!function(r){"use strict";var a={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},f={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};r.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(e){return e.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(p){return f[p]})},postformat:function(e){return e.replace(/\d/g,function(p){return a[p]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(e,p){return 12===e&&(e=0),"\u0a30\u0a3e\u0a24"===p?e<4?e:e+12:"\u0a38\u0a35\u0a47\u0a30"===p?e:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===p?e>=10?e:e+12:"\u0a38\u0a3c\u0a3e\u0a2e"===p?e+12:void 0},meridiem:function(e,p,g){return e<4?"\u0a30\u0a3e\u0a24":e<10?"\u0a38\u0a35\u0a47\u0a30":e<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":e<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(i(16738))},78444:function(v,b,i){!function(r){"use strict";var a="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),f="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),u=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function e(T){return T%10<5&&T%10>1&&~~(T/10)%10!=1}function p(T,M,w){var R=T+" ";switch(w){case"ss":return R+(e(T)?"sekundy":"sekund");case"m":return M?"minuta":"minut\u0119";case"mm":return R+(e(T)?"minuty":"minut");case"h":return M?"godzina":"godzin\u0119";case"hh":return R+(e(T)?"godziny":"godzin");case"ww":return R+(e(T)?"tygodnie":"tygodni");case"MM":return R+(e(T)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return R+(e(T)?"lata":"lat")}}r.defineLocale("pl",{months:function(T,M){return T?/D MMMM/.test(M)?f[T.month()]:a[T.month()]:a},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:p,m:p,mm:p,h:p,hh:p,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:p,M:"miesi\u0105c",MM:p,y:"rok",yy:p},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(16738))},66117:function(v,b,i){!function(r){"use strict";r.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(i(16738))},53170:function(v,b,i){!function(r){"use strict";r.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i(16738))},96587:function(v,b,i){!function(r){"use strict";function a(u,e,p){var T=" ";return(u%100>=20||u>=100&&u%100==0)&&(T=" de "),u+T+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[p]}r.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:a,m:"un minut",mm:a,h:"o or\u0103",hh:a,d:"o zi",dd:a,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:a,M:"o lun\u0103",MM:a,y:"un an",yy:a},week:{dow:1,doy:7}})}(i(16738))},39264:function(v,b,i){!function(r){"use strict";function f(p,g,T){return"m"===T?g?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":p+" "+function a(p,g){var T=p.split("_");return g%10==1&&g%100!=11?T[0]:g%10>=2&&g%10<=4&&(g%100<10||g%100>=20)?T[1]:T[2]}({ss:g?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:g?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[T],+p)}var u=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];r.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:u,longMonthsParse:u,shortMonthsParse:u,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(p){if(p.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(p){if(p.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:f,m:f,mm:f,h:"\u0447\u0430\u0441",hh:f,d:"\u0434\u0435\u043d\u044c",dd:f,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:f,M:"\u043c\u0435\u0441\u044f\u0446",MM:f,y:"\u0433\u043e\u0434",yy:f},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(p){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(p)},meridiem:function(p,g,T){return p<4?"\u043d\u043e\u0447\u0438":p<12?"\u0443\u0442\u0440\u0430":p<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(p,g){switch(g){case"M":case"d":case"DDD":return p+"-\u0439";case"D":return p+"-\u0433\u043e";case"w":case"W":return p+"-\u044f";default:return p}},week:{dow:1,doy:4}})}(i(16738))},42135:function(v,b,i){!function(r){"use strict";var a=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],f=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];r.defineLocale("sd",{months:a,monthsShort:a,weekdays:f,weekdaysShort:f,weekdaysMin:f,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(e){return"\u0634\u0627\u0645"===e},meridiem:function(e,p,g){return e<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(i(16738))},95366:function(v,b,i){!function(r){"use strict";r.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(16738))},93379:function(v,b,i){!function(r){"use strict";r.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(f){return f+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(f){return"\u0db4.\u0dc0."===f||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===f},meridiem:function(f,u,e){return f>11?e?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":e?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(i(16738))},46143:function(v,b,i){!function(r){"use strict";var a="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),f="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function u(g){return g>1&&g<5}function e(g,T,M,w){var R=g+" ";switch(M){case"s":return T||w?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return T||w?R+(u(g)?"sekundy":"sek\xfand"):R+"sekundami";case"m":return T?"min\xfata":w?"min\xfatu":"min\xfatou";case"mm":return T||w?R+(u(g)?"min\xfaty":"min\xfat"):R+"min\xfatami";case"h":return T?"hodina":w?"hodinu":"hodinou";case"hh":return T||w?R+(u(g)?"hodiny":"hod\xedn"):R+"hodinami";case"d":return T||w?"de\u0148":"d\u0148om";case"dd":return T||w?R+(u(g)?"dni":"dn\xed"):R+"d\u0148ami";case"M":return T||w?"mesiac":"mesiacom";case"MM":return T||w?R+(u(g)?"mesiace":"mesiacov"):R+"mesiacmi";case"y":return T||w?"rok":"rokom";case"yy":return T||w?R+(u(g)?"roky":"rokov"):R+"rokmi"}}r.defineLocale("sk",{months:a,monthsShort:f,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:case 4:case 5:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(16738))},196:function(v,b,i){!function(r){"use strict";function a(u,e,p,g){var T=u+" ";switch(p){case"s":return e||g?"nekaj sekund":"nekaj sekundami";case"ss":return T+(1===u?e?"sekundo":"sekundi":2===u?e||g?"sekundi":"sekundah":u<5?e||g?"sekunde":"sekundah":"sekund");case"m":return e?"ena minuta":"eno minuto";case"mm":return T+(1===u?e?"minuta":"minuto":2===u?e||g?"minuti":"minutama":u<5?e||g?"minute":"minutami":e||g?"minut":"minutami");case"h":return e?"ena ura":"eno uro";case"hh":return T+(1===u?e?"ura":"uro":2===u?e||g?"uri":"urama":u<5?e||g?"ure":"urami":e||g?"ur":"urami");case"d":return e||g?"en dan":"enim dnem";case"dd":return T+(1===u?e||g?"dan":"dnem":2===u?e||g?"dni":"dnevoma":e||g?"dni":"dnevi");case"M":return e||g?"en mesec":"enim mesecem";case"MM":return T+(1===u?e||g?"mesec":"mesecem":2===u?e||g?"meseca":"mesecema":u<5?e||g?"mesece":"meseci":e||g?"mesecev":"meseci");case"y":return e||g?"eno leto":"enim letom";case"yy":return T+(1===u?e||g?"leto":"letom":2===u?e||g?"leti":"letoma":u<5?e||g?"leta":"leti":e||g?"let":"leti")}}r.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(16738))},21082:function(v,b,i){!function(r){"use strict";r.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(f){return"M"===f.charAt(0)},meridiem:function(f,u,e){return f<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(16738))},98963:function(v,b,i){!function(r){"use strict";var a={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0430","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],d:["\u0458\u0435\u0434\u0430\u043d \u0434\u0430\u043d","\u0458\u0435\u0434\u043d\u043e\u0433 \u0434\u0430\u043d\u0430"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],M:["\u0458\u0435\u0434\u0430\u043d \u043c\u0435\u0441\u0435\u0446","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0435\u0441\u0435\u0446\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],y:["\u0458\u0435\u0434\u043d\u0443 \u0433\u043e\u0434\u0438\u043d\u0443","\u0458\u0435\u0434\u043d\u0435 \u0433\u043e\u0434\u0438\u043d\u0435"],yy:["\u0433\u043e\u0434\u0438\u043d\u0443","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(u,e){return u%10>=1&&u%10<=4&&(u%100<10||u%100>=20)?u%10==1?e[0]:e[1]:e[2]},translate:function(u,e,p,g){var M,T=a.words[p];return 1===p.length?"y"===p&&e?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":g||e?T[0]:T[1]:(M=a.correctGrammaticalCase(u,T),"yy"===p&&e&&"\u0433\u043e\u0434\u0438\u043d\u0443"===M?u+" \u0433\u043e\u0434\u0438\u043d\u0430":u+" "+M)}};r.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:a.translate,m:a.translate,mm:a.translate,h:a.translate,hh:a.translate,d:a.translate,dd:a.translate,M:a.translate,MM:a.translate,y:a.translate,yy:a.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(16738))},91621:function(v,b,i){!function(r){"use strict";var a={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(u,e){return u%10>=1&&u%10<=4&&(u%100<10||u%100>=20)?u%10==1?e[0]:e[1]:e[2]},translate:function(u,e,p,g){var M,T=a.words[p];return 1===p.length?"y"===p&&e?"jedna godina":g||e?T[0]:T[1]:(M=a.correctGrammaticalCase(u,T),"yy"===p&&e&&"godinu"===M?u+" godina":u+" "+M)}};r.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:a.translate,m:a.translate,mm:a.translate,h:a.translate,hh:a.translate,d:a.translate,dd:a.translate,M:a.translate,MM:a.translate,y:a.translate,yy:a.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(16738))},41404:function(v,b,i){!function(r){"use strict";r.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(f,u,e){return f<11?"ekuseni":f<15?"emini":f<19?"entsambama":"ebusuku"},meridiemHour:function(f,u){return 12===f&&(f=0),"ekuseni"===u?f:"emini"===u?f>=11?f:f+12:"entsambama"===u||"ebusuku"===u?0===f?0:f+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(i(16738))},55685:function(v,b,i){!function(r){"use strict";r.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(f){var u=f%10;return f+(1==~~(f%100/10)?":e":1===u||2===u?":a":":e")},week:{dow:1,doy:4}})}(i(16738))},3872:function(v,b,i){!function(r){"use strict";r.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(i(16738))},54106:function(v,b,i){!function(r){"use strict";var a={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},f={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};r.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(e){return e+"\u0bb5\u0ba4\u0bc1"},preparse:function(e){return e.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(p){return f[p]})},postformat:function(e){return e.replace(/\d/g,function(p){return a[p]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(e,p,g){return e<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":e<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":e<10?" \u0b95\u0bbe\u0bb2\u0bc8":e<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":e<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":e<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(e,p){return 12===e&&(e=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===p?e<2?e:e+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===p||"\u0b95\u0bbe\u0bb2\u0bc8"===p||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===p&&e>=10?e:e+12},week:{dow:0,doy:6}})}(i(16738))},39204:function(v,b,i){!function(r){"use strict";r.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(f,u){return 12===f&&(f=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===u?f<4?f:f+12:"\u0c09\u0c26\u0c2f\u0c02"===u?f:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===u?f>=10?f:f+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===u?f+12:void 0},meridiem:function(f,u,e){return f<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":f<10?"\u0c09\u0c26\u0c2f\u0c02":f<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":f<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(i(16738))},83692:function(v,b,i){!function(r){"use strict";r.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(f){var u=f%10;return f+(1==~~(f%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:1,doy:4}})}(i(16738))},86361:function(v,b,i){!function(r){"use strict";var a={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};r.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(u,e){return 12===u&&(u=0),"\u0448\u0430\u0431"===e?u<4?u:u+12:"\u0441\u0443\u0431\u04b3"===e?u:"\u0440\u04ef\u0437"===e?u>=11?u:u+12:"\u0431\u0435\u0433\u043e\u04b3"===e?u+12:void 0},meridiem:function(u,e,p){return u<4?"\u0448\u0430\u0431":u<11?"\u0441\u0443\u0431\u04b3":u<16?"\u0440\u04ef\u0437":u<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(u){return u+(a[u]||a[u%10]||a[u>=100?100:null])},week:{dow:1,doy:7}})}(i(16738))},31735:function(v,b,i){!function(r){"use strict";r.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(f){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===f},meridiem:function(f,u,e){return f<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(i(16738))},1568:function(v,b,i){!function(r){"use strict";var a={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};r.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(u,e){switch(e){case"d":case"D":case"Do":case"DD":return u;default:if(0===u)return u+"'unjy";var p=u%10;return u+(a[p]||a[u%100-p]||a[u>=100?100:null])}},week:{dow:1,doy:7}})}(i(16738))},96129:function(v,b,i){!function(r){"use strict";r.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(f){return f},week:{dow:1,doy:4}})}(i(16738))},13759:function(v,b,i){!function(r){"use strict";var a="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function e(T,M,w,R){var U=function p(T){var M=Math.floor(T%1e3/100),w=Math.floor(T%100/10),R=T%10,U="";return M>0&&(U+=a[M]+"vatlh"),w>0&&(U+=(""!==U?" ":"")+a[w]+"maH"),R>0&&(U+=(""!==U?" ":"")+a[R]),""===U?"pagh":U}(T);switch(w){case"ss":return U+" lup";case"mm":return U+" tup";case"hh":return U+" rep";case"dd":return U+" jaj";case"MM":return U+" jar";case"yy":return U+" DIS"}}r.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function f(T){var M=T;return-1!==T.indexOf("jaj")?M.slice(0,-3)+"leS":-1!==T.indexOf("jar")?M.slice(0,-3)+"waQ":-1!==T.indexOf("DIS")?M.slice(0,-3)+"nem":M+" pIq"},past:function u(T){var M=T;return-1!==T.indexOf("jaj")?M.slice(0,-3)+"Hu\u2019":-1!==T.indexOf("jar")?M.slice(0,-3)+"wen":-1!==T.indexOf("DIS")?M.slice(0,-3)+"ben":M+" ret"},s:"puS lup",ss:e,m:"wa\u2019 tup",mm:e,h:"wa\u2019 rep",hh:e,d:"wa\u2019 jaj",dd:e,M:"wa\u2019 jar",MM:e,y:"wa\u2019 DIS",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(16738))},81644:function(v,b,i){!function(r){"use strict";var a={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};r.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_\xc7ar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(u,e,p){return u<12?p?"\xf6\xf6":"\xd6\xd6":p?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(u){return"\xf6s"===u||"\xd6S"===u},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(u,e){switch(e){case"d":case"D":case"Do":case"DD":return u;default:if(0===u)return u+"'\u0131nc\u0131";var p=u%10;return u+(a[p]||a[u%100-p]||a[u>=100?100:null])}},week:{dow:1,doy:7}})}(i(16738))},90875:function(v,b,i){!function(r){"use strict";function f(u,e,p,g){var T={s:["viensas secunds","'iensas secunds"],ss:[u+" secunds",u+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[u+" m\xeduts",u+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[u+" \xfeoras",u+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[u+" ziuas",u+" ziuas"],M:["'n mes","'iens mes"],MM:[u+" mesen",u+" mesen"],y:["'n ar","'iens ar"],yy:[u+" ars",u+" ars"]};return g||e?T[p][0]:T[p][1]}r.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(u){return"d'o"===u.toLowerCase()},meridiem:function(u,e,p){return u>11?p?"d'o":"D'O":p?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:f,ss:f,m:f,mm:f,h:f,hh:f,d:f,dd:f,M:f,MM:f,y:f,yy:f},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(16738))},11041:function(v,b,i){!function(r){"use strict";r.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(i(16738))},16878:function(v,b,i){!function(r){"use strict";r.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(i(16738))},74357:function(v,b,i){!function(r){"use strict";r.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(f,u){return 12===f&&(f=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===u||"\u0633\u06d5\u06be\u06d5\u0631"===u||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===u?f:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===u||"\u0643\u06d5\u0686"===u?f+12:f>=11?f:f+12},meridiem:function(f,u,e){var p=100*f+u;return p<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":p<900?"\u0633\u06d5\u06be\u06d5\u0631":p<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":p<1230?"\u0686\u06c8\u0634":p<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(f,u){switch(u){case"d":case"D":case"DDD":return f+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return f+"-\u06be\u06d5\u067e\u062a\u06d5";default:return f}},preparse:function(f){return f.replace(/\u060c/g,",")},postformat:function(f){return f.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(i(16738))},74810:function(v,b,i){!function(r){"use strict";function f(g,T,M){return"m"===M?T?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===M?T?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":g+" "+function a(g,T){var M=g.split("_");return T%10==1&&T%100!=11?M[0]:T%10>=2&&T%10<=4&&(T%100<10||T%100>=20)?M[1]:M[2]}({ss:T?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:T?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:T?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[M],+g)}function e(g){return function(){return g+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}r.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function u(g,T){var M={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===g?M.nominative.slice(1,7).concat(M.nominative.slice(0,1)):g?M[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(T)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(T)?"genitive":"nominative"][g.day()]:M.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:e("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:e("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:e("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:e("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return e("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return e("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:f,m:f,mm:f,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:f,d:"\u0434\u0435\u043d\u044c",dd:f,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:f,y:"\u0440\u0456\u043a",yy:f},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(g){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(g)},meridiem:function(g,T,M){return g<4?"\u043d\u043e\u0447\u0456":g<12?"\u0440\u0430\u043d\u043a\u0443":g<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(g,T){switch(T){case"M":case"d":case"DDD":case"w":case"W":return g+"-\u0439";case"D":return g+"-\u0433\u043e";default:return g}},week:{dow:1,doy:7}})}(i(16738))},86794:function(v,b,i){!function(r){"use strict";var a=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],f=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];r.defineLocale("ur",{months:a,monthsShort:a,weekdays:f,weekdaysShort:f,weekdaysMin:f,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(e){return"\u0634\u0627\u0645"===e},meridiem:function(e,p,g){return e<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(i(16738))},77959:function(v,b,i){!function(r){"use strict";r.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(i(16738))},28966:function(v,b,i){!function(r){"use strict";r.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(i(16738))},35386:function(v,b,i){!function(r){"use strict";r.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(f){return/^ch$/i.test(f)},meridiem:function(f,u,e){return f<12?e?"sa":"SA":e?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(f){return f},week:{dow:1,doy:4}})}(i(16738))},23156:function(v,b,i){!function(r){"use strict";r.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(f){var u=f%10;return f+(1==~~(f%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:1,doy:4}})}(i(16738))},68028:function(v,b,i){!function(r){"use strict";r.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(i(16738))},9330:function(v,b,i){!function(r){"use strict";r.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(f,u){return 12===f&&(f=0),"\u51cc\u6668"===u||"\u65e9\u4e0a"===u||"\u4e0a\u5348"===u?f:"\u4e0b\u5348"===u||"\u665a\u4e0a"===u?f+12:f>=11?f:f+12},meridiem:function(f,u,e){var p=100*f+u;return p<600?"\u51cc\u6668":p<900?"\u65e9\u4e0a":p<1130?"\u4e0a\u5348":p<1230?"\u4e2d\u5348":p<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(f){return f.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(f){return this.week()!==f.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(f,u){switch(u){case"d":case"D":case"DDD":return f+"\u65e5";case"M":return f+"\u6708";case"w":case"W":return f+"\u5468";default:return f}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(i(16738))},89380:function(v,b,i){!function(r){"use strict";r.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(f,u){return 12===f&&(f=0),"\u51cc\u6668"===u||"\u65e9\u4e0a"===u||"\u4e0a\u5348"===u?f:"\u4e2d\u5348"===u?f>=11?f:f+12:"\u4e0b\u5348"===u||"\u665a\u4e0a"===u?f+12:void 0},meridiem:function(f,u,e){var p=100*f+u;return p<600?"\u51cc\u6668":p<900?"\u65e9\u4e0a":p<1200?"\u4e0a\u5348":1200===p?"\u4e2d\u5348":p<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(f,u){switch(u){case"d":case"D":case"DDD":return f+"\u65e5";case"M":return f+"\u6708";case"w":case"W":return f+"\u9031";default:return f}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(i(16738))},60874:function(v,b,i){!function(r){"use strict";r.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(f,u){return 12===f&&(f=0),"\u51cc\u6668"===u||"\u65e9\u4e0a"===u||"\u4e0a\u5348"===u?f:"\u4e2d\u5348"===u?f>=11?f:f+12:"\u4e0b\u5348"===u||"\u665a\u4e0a"===u?f+12:void 0},meridiem:function(f,u,e){var p=100*f+u;return p<600?"\u51cc\u6668":p<900?"\u65e9\u4e0a":p<1130?"\u4e0a\u5348":p<1230?"\u4e2d\u5348":p<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(f,u){switch(u){case"d":case"D":case"DDD":return f+"\u65e5";case"M":return f+"\u6708";case"w":case"W":return f+"\u9031";default:return f}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(i(16738))},96508:function(v,b,i){!function(r){"use strict";r.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(f,u){return 12===f&&(f=0),"\u51cc\u6668"===u||"\u65e9\u4e0a"===u||"\u4e0a\u5348"===u?f:"\u4e2d\u5348"===u?f>=11?f:f+12:"\u4e0b\u5348"===u||"\u665a\u4e0a"===u?f+12:void 0},meridiem:function(f,u,e){var p=100*f+u;return p<600?"\u51cc\u6668":p<900?"\u65e9\u4e0a":p<1130?"\u4e0a\u5348":p<1230?"\u4e2d\u5348":p<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(f,u){switch(u){case"d":case"D":case"DDD":return f+"\u65e5";case"M":return f+"\u6708";case"w":case"W":return f+"\u9031";default:return f}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(i(16738))},16738:function(v,b,i){(v=i.nmd(v)).exports=function(){"use strict";var r,ue;function a(){return r.apply(null,arguments)}function u(K){return K instanceof Array||"[object Array]"===Object.prototype.toString.call(K)}function e(K){return null!=K&&"[object Object]"===Object.prototype.toString.call(K)}function p(K,be){return Object.prototype.hasOwnProperty.call(K,be)}function g(K){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(K).length;var be;for(be in K)if(p(K,be))return!1;return!0}function T(K){return void 0===K}function M(K){return"number"==typeof K||"[object Number]"===Object.prototype.toString.call(K)}function w(K){return K instanceof Date||"[object Date]"===Object.prototype.toString.call(K)}function R(K,be){var wt,lt=[],ln=K.length;for(wt=0;wt<ln;++wt)lt.push(be(K[wt],wt));return lt}function U(K,be){for(var lt in be)p(be,lt)&&(K[lt]=be[lt]);return p(be,"toString")&&(K.toString=be.toString),p(be,"valueOf")&&(K.valueOf=be.valueOf),K}function W(K,be,lt,wt){return iu(K,be,lt,wt,!0).utc()}function q(K){return null==K._pf&&(K._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),K._pf}function re(K){if(null==K._isValid){var be=q(K),lt=ue.call(be.parsedDateParts,function(ln){return null!=ln}),wt=!isNaN(K._d.getTime())&&be.overflow<0&&!be.empty&&!be.invalidEra&&!be.invalidMonth&&!be.invalidWeekday&&!be.weekdayMismatch&&!be.nullInput&&!be.invalidFormat&&!be.userInvalidated&&(!be.meridiem||be.meridiem&&lt);if(K._strict&&(wt=wt&&0===be.charsLeftOver&&0===be.unusedTokens.length&&void 0===be.bigHour),null!=Object.isFrozen&&Object.isFrozen(K))return wt;K._isValid=wt}return K._isValid}function H(K){var be=W(NaN);return null!=K?U(q(be),K):q(be).userInvalidated=!0,be}ue=Array.prototype.some?Array.prototype.some:function(K){var wt,be=Object(this),lt=be.length>>>0;for(wt=0;wt<lt;wt++)if(wt in be&&K.call(this,be[wt],wt,be))return!0;return!1};var se=a.momentProperties=[],ae=!1;function ie(K,be){var lt,wt,ln,Dr=se.length;if(T(be._isAMomentObject)||(K._isAMomentObject=be._isAMomentObject),T(be._i)||(K._i=be._i),T(be._f)||(K._f=be._f),T(be._l)||(K._l=be._l),T(be._strict)||(K._strict=be._strict),T(be._tzm)||(K._tzm=be._tzm),T(be._isUTC)||(K._isUTC=be._isUTC),T(be._offset)||(K._offset=be._offset),T(be._pf)||(K._pf=q(be)),T(be._locale)||(K._locale=be._locale),Dr>0)for(lt=0;lt<Dr;lt++)T(ln=be[wt=se[lt]])||(K[wt]=ln);return K}function fe(K){ie(this,K),this._d=new Date(null!=K._d?K._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===ae&&(ae=!0,a.updateOffset(this),ae=!1)}function _e(K){return K instanceof fe||null!=K&&null!=K._isAMomentObject}function Ce(K){!1===a.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+K)}function ce(K,be){var lt=!0;return U(function(){if(null!=a.deprecationHandler&&a.deprecationHandler(null,K),lt){var ln,Dr,Ai,wt=[],gs=arguments.length;for(Dr=0;Dr<gs;Dr++){if(ln="","object"==typeof arguments[Dr]){for(Ai in ln+="\n["+Dr+"] ",arguments[0])p(arguments[0],Ai)&&(ln+=Ai+": "+arguments[0][Ai]+", ");ln=ln.slice(0,-2)}else ln=arguments[Dr];wt.push(ln)}Ce(K+"\nArguments: "+Array.prototype.slice.call(wt).join("")+"\n"+(new Error).stack),lt=!1}return be.apply(this,arguments)},be)}var Oe,Be={};function Ve(K,be){null!=a.deprecationHandler&&a.deprecationHandler(K,be),Be[K]||(Ce(be),Be[K]=!0)}function Xe(K){return"undefined"!=typeof Function&&K instanceof Function||"[object Function]"===Object.prototype.toString.call(K)}function Pe(K,be){var wt,lt=U({},K);for(wt in be)p(be,wt)&&(e(K[wt])&&e(be[wt])?(lt[wt]={},U(lt[wt],K[wt]),U(lt[wt],be[wt])):null!=be[wt]?lt[wt]=be[wt]:delete lt[wt]);for(wt in K)p(K,wt)&&!p(be,wt)&&e(K[wt])&&(lt[wt]=U({},lt[wt]));return lt}function Ge(K){null!=K&&this.set(K)}a.suppressDeprecationWarnings=!1,a.deprecationHandler=null,Oe=Object.keys?Object.keys:function(K){var be,lt=[];for(be in K)p(K,be)&&lt.push(be);return lt};function Qt(K,be,lt){var wt=""+Math.abs(K);return(K>=0?lt?"+":"":"-")+Math.pow(10,Math.max(0,be-wt.length)).toString().substr(1)+wt}var Nt=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Yt=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,dn={},rn={};function vt(K,be,lt,wt){var ln=wt;"string"==typeof wt&&(ln=function(){return this[wt]()}),K&&(rn[K]=ln),be&&(rn[be[0]]=function(){return Qt(ln.apply(this,arguments),be[1],be[2])}),lt&&(rn[lt]=function(){return this.localeData().ordinal(ln.apply(this,arguments),K)})}function xt(K){return K.match(/\[[\s\S]/)?K.replace(/^\[|\]$/g,""):K.replace(/\\/g,"")}function Gt(K,be){return K.isValid()?(be=Fn(be,K.localeData()),dn[be]=dn[be]||function Ct(K){var lt,wt,be=K.match(Nt);for(lt=0,wt=be.length;lt<wt;lt++)be[lt]=rn[be[lt]]?rn[be[lt]]:xt(be[lt]);return function(ln){var Ai,Dr="";for(Ai=0;Ai<wt;Ai++)Dr+=Xe(be[Ai])?be[Ai].call(ln,K):be[Ai];return Dr}}(be),dn[be](K)):K.localeData().invalidDate()}function Fn(K,be){var lt=5;function wt(ln){return be.longDateFormat(ln)||ln}for(Yt.lastIndex=0;lt>=0&&Yt.test(K);)K=K.replace(Yt,wt),Yt.lastIndex=0,lt-=1;return K}var bi={};function fi(K,be){var lt=K.toLowerCase();bi[lt]=bi[lt+"s"]=bi[be]=K}function no(K){return"string"==typeof K?bi[K]||bi[K.toLowerCase()]:void 0}function xo(K){var lt,wt,be={};for(wt in K)p(K,wt)&&(lt=no(wt))&&(be[lt]=K[wt]);return be}var Er={};function an(K,be){Er[K]=be}function Zn(K){return K%4==0&&K%100!=0||K%400==0}function Xn(K){return K<0?Math.ceil(K)||0:Math.floor(K)}function zn(K){var be=+K,lt=0;return 0!==be&&isFinite(be)&&(lt=Xn(be)),lt}function ri(K,be){return function(lt){return null!=lt?(ui(this,K,lt),a.updateOffset(this,be),this):Gi(this,K)}}function Gi(K,be){return K.isValid()?K._d["get"+(K._isUTC?"UTC":"")+be]():NaN}function ui(K,be,lt){K.isValid()&&!isNaN(lt)&&("FullYear"===be&&Zn(K.year())&&1===K.month()&&29===K.date()?(lt=zn(lt),K._d["set"+(K._isUTC?"UTC":"")+be](lt,K.month(),Eo(lt,K.month()))):K._d["set"+(K._isUTC?"UTC":"")+be](lt))}var _t,mn=/\d/,Rn=/\d\d/,Wn=/\d{3}/,et=/\d{4}/,Le=/[+-]?\d{6}/,Re=/\d\d?/,Se=/\d\d\d\d?/,dt=/\d\d\d\d\d\d?/,st=/\d{1,3}/,nn=/\d{1,4}/,Fe=/[+-]?\d{1,6}/,Lr=/\d+/,ti=/[+-]?\d+/,Ut=/Z|[+-]\d\d:?\d\d/gi,Dn=/Z|[+-]\d\d(?::?\d\d)?/gi,$t=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function yt(K,be,lt){_t[K]=Xe(be)?be:function(wt,ln){return wt&&lt?lt:be}}function Vt(K,be){return p(_t,K)?_t[K](be._strict,be._locale):new RegExp(function yn(K){return Cr(K.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(be,lt,wt,ln,Dr){return lt||wt||ln||Dr}))}(K))}function Cr(K){return K.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}_t={};var xi={};function yi(K,be){var lt,ln,wt=be;for("string"==typeof K&&(K=[K]),M(be)&&(wt=function(Dr,Ai){Ai[be]=zn(Dr)}),ln=K.length,lt=0;lt<ln;lt++)xi[K[lt]]=wt}function Uo(K,be){yi(K,function(lt,wt,ln,Dr){ln._w=ln._w||{},be(lt,ln._w,ln,Dr)})}function Qo(K,be,lt){null!=be&&p(xi,K)&&xi[K](be,lt._a,lt,K)}var $i;function Eo(K,be){if(isNaN(K)||isNaN(be))return NaN;var lt=function ao(K,be){return(K%be+be)%be}(be,12);return K+=(be-lt)/12,1===lt?Zn(K)?29:28:31-lt%7%2}$i=Array.prototype.indexOf?Array.prototype.indexOf:function(K){var be;for(be=0;be<this.length;++be)if(this[be]===K)return be;return-1},vt("M",["MM",2],"Mo",function(){return this.month()+1}),vt("MMM",0,0,function(K){return this.localeData().monthsShort(this,K)}),vt("MMMM",0,0,function(K){return this.localeData().months(this,K)}),fi("month","M"),an("month",8),yt("M",Re),yt("MM",Re,Rn),yt("MMM",function(K,be){return be.monthsShortRegex(K)}),yt("MMMM",function(K,be){return be.monthsRegex(K)}),yi(["M","MM"],function(K,be){be[1]=zn(K)-1}),yi(["MMM","MMMM"],function(K,be,lt,wt){var ln=lt._locale.monthsParse(K,wt,lt._strict);null!=ln?be[1]=ln:q(lt).invalidMonth=K});var mo="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Go="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ua=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,or=$t,Mr=$t;function pi(K,be,lt){var wt,ln,Dr,Ai=K.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],wt=0;wt<12;++wt)Dr=W([2e3,wt]),this._shortMonthsParse[wt]=this.monthsShort(Dr,"").toLocaleLowerCase(),this._longMonthsParse[wt]=this.months(Dr,"").toLocaleLowerCase();return lt?"MMM"===be?-1!==(ln=$i.call(this._shortMonthsParse,Ai))?ln:null:-1!==(ln=$i.call(this._longMonthsParse,Ai))?ln:null:"MMM"===be?-1!==(ln=$i.call(this._shortMonthsParse,Ai))||-1!==(ln=$i.call(this._longMonthsParse,Ai))?ln:null:-1!==(ln=$i.call(this._longMonthsParse,Ai))||-1!==(ln=$i.call(this._shortMonthsParse,Ai))?ln:null}function $n(K,be){var lt;if(!K.isValid())return K;if("string"==typeof be)if(/^\d+$/.test(be))be=zn(be);else if(!M(be=K.localeData().monthsParse(be)))return K;return lt=Math.min(K.date(),Eo(K.year(),be)),K._d["set"+(K._isUTC?"UTC":"")+"Month"](be,lt),K}function Jr(K){return null!=K?($n(this,K),a.updateOffset(this,!0),this):Gi(this,"Month")}function js(){function K(Ai,gs){return gs.length-Ai.length}var ln,Dr,be=[],lt=[],wt=[];for(ln=0;ln<12;ln++)Dr=W([2e3,ln]),be.push(this.monthsShort(Dr,"")),lt.push(this.months(Dr,"")),wt.push(this.months(Dr,"")),wt.push(this.monthsShort(Dr,""));for(be.sort(K),lt.sort(K),wt.sort(K),ln=0;ln<12;ln++)be[ln]=Cr(be[ln]),lt[ln]=Cr(lt[ln]);for(ln=0;ln<24;ln++)wt[ln]=Cr(wt[ln]);this._monthsRegex=new RegExp("^("+wt.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+lt.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+be.join("|")+")","i")}function ds(K){return Zn(K)?366:365}vt("Y",0,0,function(){var K=this.year();return K<=9999?Qt(K,4):"+"+K}),vt(0,["YY",2],0,function(){return this.year()%100}),vt(0,["YYYY",4],0,"year"),vt(0,["YYYYY",5],0,"year"),vt(0,["YYYYYY",6,!0],0,"year"),fi("year","y"),an("year",1),yt("Y",ti),yt("YY",Re,Rn),yt("YYYY",nn,et),yt("YYYYY",Fe,Le),yt("YYYYYY",Fe,Le),yi(["YYYYY","YYYYYY"],0),yi("YYYY",function(K,be){be[0]=2===K.length?a.parseTwoDigitYear(K):zn(K)}),yi("YY",function(K,be){be[0]=a.parseTwoDigitYear(K)}),yi("Y",function(K,be){be[0]=parseInt(K,10)}),a.parseTwoDigitYear=function(K){return zn(K)+(zn(K)>68?1900:2e3)};var es=ri("FullYear",!0);function ya(K,be,lt,wt,ln,Dr,Ai){var gs;return K<100&&K>=0?(gs=new Date(K+400,be,lt,wt,ln,Dr,Ai),isFinite(gs.getFullYear())&&gs.setFullYear(K)):gs=new Date(K,be,lt,wt,ln,Dr,Ai),gs}function fa(K){var be,lt;return K<100&&K>=0?((lt=Array.prototype.slice.call(arguments))[0]=K+400,be=new Date(Date.UTC.apply(null,lt)),isFinite(be.getUTCFullYear())&&be.setUTCFullYear(K)):be=new Date(Date.UTC.apply(null,arguments)),be}function sa(K,be,lt){var wt=7+be-lt;return-(7+fa(K,0,wt).getUTCDay()-be)%7+wt-1}function Ra(K,be,lt,wt,ln){var Aa,ca,gs=1+7*(be-1)+(7+lt-wt)%7+sa(K,wt,ln);return gs<=0?ca=ds(Aa=K-1)+gs:gs>ds(K)?(Aa=K+1,ca=gs-ds(K)):(Aa=K,ca=gs),{year:Aa,dayOfYear:ca}}function pl(K,be,lt){var Dr,Ai,wt=sa(K.year(),be,lt),ln=Math.floor((K.dayOfYear()-wt-1)/7)+1;return ln<1?Dr=ln+Co(Ai=K.year()-1,be,lt):ln>Co(K.year(),be,lt)?(Dr=ln-Co(K.year(),be,lt),Ai=K.year()+1):(Ai=K.year(),Dr=ln),{week:Dr,year:Ai}}function Co(K,be,lt){var wt=sa(K,be,lt),ln=sa(K+1,be,lt);return(ds(K)-wt+ln)/7}vt("w",["ww",2],"wo","week"),vt("W",["WW",2],"Wo","isoWeek"),fi("week","w"),fi("isoWeek","W"),an("week",5),an("isoWeek",5),yt("w",Re),yt("ww",Re,Rn),yt("W",Re),yt("WW",Re,Rn),Uo(["w","ww","W","WW"],function(K,be,lt,wt){be[wt.substr(0,1)]=zn(K)});function To(K,be){return K.slice(be,7).concat(K.slice(0,be))}vt("d",0,"do","day"),vt("dd",0,0,function(K){return this.localeData().weekdaysMin(this,K)}),vt("ddd",0,0,function(K){return this.localeData().weekdaysShort(this,K)}),vt("dddd",0,0,function(K){return this.localeData().weekdays(this,K)}),vt("e",0,0,"weekday"),vt("E",0,0,"isoWeekday"),fi("day","d"),fi("weekday","e"),fi("isoWeekday","E"),an("day",11),an("weekday",11),an("isoWeekday",11),yt("d",Re),yt("e",Re),yt("E",Re),yt("dd",function(K,be){return be.weekdaysMinRegex(K)}),yt("ddd",function(K,be){return be.weekdaysShortRegex(K)}),yt("dddd",function(K,be){return be.weekdaysRegex(K)}),Uo(["dd","ddd","dddd"],function(K,be,lt,wt){var ln=lt._locale.weekdaysParse(K,wt,lt._strict);null!=ln?be.d=ln:q(lt).invalidWeekday=K}),Uo(["d","e","E"],function(K,be,lt,wt){be[wt]=zn(K)});var Ns="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),hs="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Oo="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),kr=$t,Ki=$t,ut=$t;function jt(K,be,lt){var wt,ln,Dr,Ai=K.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],wt=0;wt<7;++wt)Dr=W([2e3,1]).day(wt),this._minWeekdaysParse[wt]=this.weekdaysMin(Dr,"").toLocaleLowerCase(),this._shortWeekdaysParse[wt]=this.weekdaysShort(Dr,"").toLocaleLowerCase(),this._weekdaysParse[wt]=this.weekdays(Dr,"").toLocaleLowerCase();return lt?"dddd"===be?-1!==(ln=$i.call(this._weekdaysParse,Ai))?ln:null:"ddd"===be?-1!==(ln=$i.call(this._shortWeekdaysParse,Ai))?ln:null:-1!==(ln=$i.call(this._minWeekdaysParse,Ai))?ln:null:"dddd"===be?-1!==(ln=$i.call(this._weekdaysParse,Ai))||-1!==(ln=$i.call(this._shortWeekdaysParse,Ai))||-1!==(ln=$i.call(this._minWeekdaysParse,Ai))?ln:null:"ddd"===be?-1!==(ln=$i.call(this._shortWeekdaysParse,Ai))||-1!==(ln=$i.call(this._weekdaysParse,Ai))||-1!==(ln=$i.call(this._minWeekdaysParse,Ai))?ln:null:-1!==(ln=$i.call(this._minWeekdaysParse,Ai))||-1!==(ln=$i.call(this._weekdaysParse,Ai))||-1!==(ln=$i.call(this._shortWeekdaysParse,Ai))?ln:null}function Ks(){function K(Dl,Yl){return Yl.length-Dl.length}var Dr,Ai,gs,Aa,ca,be=[],lt=[],wt=[],ln=[];for(Dr=0;Dr<7;Dr++)Ai=W([2e3,1]).day(Dr),gs=Cr(this.weekdaysMin(Ai,"")),Aa=Cr(this.weekdaysShort(Ai,"")),ca=Cr(this.weekdays(Ai,"")),be.push(gs),lt.push(Aa),wt.push(ca),ln.push(gs),ln.push(Aa),ln.push(ca);be.sort(K),lt.sort(K),wt.sort(K),ln.sort(K),this._weekdaysRegex=new RegExp("^("+ln.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+wt.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+lt.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+be.join("|")+")","i")}function hl(){return this.hours()%12||12}function Jl(K,be){vt(K,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),be)})}function Xu(K,be){return be._meridiemParse}vt("H",["HH",2],0,"hour"),vt("h",["hh",2],0,hl),vt("k",["kk",2],0,function sl(){return this.hours()||24}),vt("hmm",0,0,function(){return""+hl.apply(this)+Qt(this.minutes(),2)}),vt("hmmss",0,0,function(){return""+hl.apply(this)+Qt(this.minutes(),2)+Qt(this.seconds(),2)}),vt("Hmm",0,0,function(){return""+this.hours()+Qt(this.minutes(),2)}),vt("Hmmss",0,0,function(){return""+this.hours()+Qt(this.minutes(),2)+Qt(this.seconds(),2)}),Jl("a",!0),Jl("A",!1),fi("hour","h"),an("hour",13),yt("a",Xu),yt("A",Xu),yt("H",Re),yt("h",Re),yt("k",Re),yt("HH",Re,Rn),yt("hh",Re,Rn),yt("kk",Re,Rn),yt("hmm",Se),yt("hmmss",dt),yt("Hmm",Se),yt("Hmmss",dt),yi(["H","HH"],3),yi(["k","kk"],function(K,be,lt){var wt=zn(K);be[3]=24===wt?0:wt}),yi(["a","A"],function(K,be,lt){lt._isPm=lt._locale.isPM(K),lt._meridiem=K}),yi(["h","hh"],function(K,be,lt){be[3]=zn(K),q(lt).bigHour=!0}),yi("hmm",function(K,be,lt){var wt=K.length-2;be[3]=zn(K.substr(0,wt)),be[4]=zn(K.substr(wt)),q(lt).bigHour=!0}),yi("hmmss",function(K,be,lt){var wt=K.length-4,ln=K.length-2;be[3]=zn(K.substr(0,wt)),be[4]=zn(K.substr(wt,2)),be[5]=zn(K.substr(ln)),q(lt).bigHour=!0}),yi("Hmm",function(K,be,lt){var wt=K.length-2;be[3]=zn(K.substr(0,wt)),be[4]=zn(K.substr(wt))}),yi("Hmmss",function(K,be,lt){var wt=K.length-4,ln=K.length-2;be[3]=zn(K.substr(0,wt)),be[4]=zn(K.substr(wt,2)),be[5]=zn(K.substr(ln))});var mc=ri("Hours",!0);var ru,Ku={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:mo,monthsShort:Go,week:{dow:0,doy:6},weekdays:Ns,weekdaysMin:Oo,weekdaysShort:hs,meridiemParse:/[ap]\.?m?\.?/i},Xa={},Mc={};function Ja(K,be){var lt,wt=Math.min(K.length,be.length);for(lt=0;lt<wt;lt+=1)if(K[lt]!==be[lt])return lt;return wt}function Ol(K){return K&&K.toLowerCase().replace("_","-")}function rt(K){var be=null;if(void 0===Xa[K]&&v&&v.exports&&function Ya(K){return null!=K.match("^[^/\\\\]*$")}(K))try{be=ru._abbr,i(46700)("./"+K),qt(be)}catch(wt){Xa[K]=null}return Xa[K]}function qt(K,be){var lt;return K&&((lt=T(be)?Kn(K):pt(K,be))?ru=lt:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+K+" not found. Did you forget to load it?")),ru._abbr}function pt(K,be){if(null!==be){var lt,wt=Ku;if(be.abbr=K,null!=Xa[K])Ve("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),wt=Xa[K]._config;else if(null!=be.parentLocale)if(null!=Xa[be.parentLocale])wt=Xa[be.parentLocale]._config;else{if(null==(lt=rt(be.parentLocale)))return Mc[be.parentLocale]||(Mc[be.parentLocale]=[]),Mc[be.parentLocale].push({name:K,config:be}),null;wt=lt._config}return Xa[K]=new Ge(Pe(wt,be)),Mc[K]&&Mc[K].forEach(function(ln){pt(ln.name,ln.config)}),qt(K),Xa[K]}return delete Xa[K],null}function Kn(K){var be;if(K&&K._locale&&K._locale._abbr&&(K=K._locale._abbr),!K)return ru;if(!u(K)){if(be=rt(K))return be;K=[K]}return function Bl(K){for(var lt,wt,ln,Dr,be=0;be<K.length;){for(lt=(Dr=Ol(K[be]).split("-")).length,wt=(wt=Ol(K[be+1]))?wt.split("-"):null;lt>0;){if(ln=rt(Dr.slice(0,lt).join("-")))return ln;if(wt&&wt.length>=lt&&Ja(Dr,wt)>=lt-1)break;lt--}be++}return ru}(K)}function wi(K){var be,lt=K._a;return lt&&-2===q(K).overflow&&(be=lt[1]<0||lt[1]>11?1:lt[2]<1||lt[2]>Eo(lt[0],lt[1])?2:lt[3]<0||lt[3]>24||24===lt[3]&&(0!==lt[4]||0!==lt[5]||0!==lt[6])?3:lt[4]<0||lt[4]>59?4:lt[5]<0||lt[5]>59?5:lt[6]<0||lt[6]>999?6:-1,q(K)._overflowDayOfYear&&(be<0||be>2)&&(be=2),q(K)._overflowWeeks&&-1===be&&(be=7),q(K)._overflowWeekday&&-1===be&&(be=8),q(K).overflow=be),K}var as=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Vs=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Os=/Z|[+-]\d\d(?::?\d\d)?/,ws=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Fo=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Ka=/^\/?Date\((-?\d+)/i,al=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Bs={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function mt(K){var be,lt,Dr,Ai,gs,Aa,wt=K._i,ln=as.exec(wt)||Vs.exec(wt),ca=ws.length,Dl=Fo.length;if(ln){for(q(K).iso=!0,be=0,lt=ca;be<lt;be++)if(ws[be][1].exec(ln[1])){Ai=ws[be][0],Dr=!1!==ws[be][2];break}if(null==Ai)return void(K._isValid=!1);if(ln[3]){for(be=0,lt=Dl;be<lt;be++)if(Fo[be][1].exec(ln[3])){gs=(ln[2]||" ")+Fo[be][0];break}if(null==gs)return void(K._isValid=!1)}if(!Dr&&null!=gs)return void(K._isValid=!1);if(ln[4]){if(!Os.exec(ln[4]))return void(K._isValid=!1);Aa="Z"}K._f=Ai+(gs||"")+(Aa||""),aa(K)}else K._isValid=!1}function je(K){var be=parseInt(K,10);return be<=49?2e3+be:be<=999?1900+be:be}function ja(K){var lt,be=al.exec(function Xt(K){return K.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}(K._i));if(be){if(lt=function ot(K,be,lt,wt,ln,Dr){var Ai=[je(K),Go.indexOf(be),parseInt(lt,10),parseInt(wt,10),parseInt(ln,10)];return Dr&&Ai.push(parseInt(Dr,10)),Ai}(be[4],be[3],be[2],be[5],be[6],be[7]),!function Si(K,be,lt){return!K||hs.indexOf(K)===new Date(be[0],be[1],be[2]).getDay()||(q(lt).weekdayMismatch=!0,lt._isValid=!1,!1)}(be[1],lt,K))return;K._a=lt,K._tzm=function Jo(K,be,lt){if(K)return Bs[K];if(be)return 0;var wt=parseInt(lt,10),ln=wt%100;return(wt-ln)/100*60+ln}(be[8],be[9],be[10]),K._d=fa.apply(null,K._a),K._d.setUTCMinutes(K._d.getUTCMinutes()-K._tzm),q(K).rfc2822=!0}else K._isValid=!1}function qu(K,be,lt){return null!=K?K:null!=be?be:lt}function hd(K){var be,lt,ln,Dr,Ai,wt=[];if(!K._d){for(ln=function Nc(K){var be=new Date(a.now());return K._useUTC?[be.getUTCFullYear(),be.getUTCMonth(),be.getUTCDate()]:[be.getFullYear(),be.getMonth(),be.getDate()]}(K),K._w&&null==K._a[2]&&null==K._a[1]&&function Yi(K){var be,lt,wt,ln,Dr,Ai,gs,Aa,ca;null!=(be=K._w).GG||null!=be.W||null!=be.E?(Dr=1,Ai=4,lt=qu(be.GG,K._a[0],pl(ra(),1,4).year),wt=qu(be.W,1),((ln=qu(be.E,1))<1||ln>7)&&(Aa=!0)):(Dr=K._locale._week.dow,Ai=K._locale._week.doy,ca=pl(ra(),Dr,Ai),lt=qu(be.gg,K._a[0],ca.year),wt=qu(be.w,ca.week),null!=be.d?((ln=be.d)<0||ln>6)&&(Aa=!0):null!=be.e?(ln=be.e+Dr,(be.e<0||be.e>6)&&(Aa=!0)):ln=Dr),wt<1||wt>Co(lt,Dr,Ai)?q(K)._overflowWeeks=!0:null!=Aa?q(K)._overflowWeekday=!0:(gs=Ra(lt,wt,ln,Dr,Ai),K._a[0]=gs.year,K._dayOfYear=gs.dayOfYear)}(K),null!=K._dayOfYear&&(Ai=qu(K._a[0],ln[0]),(K._dayOfYear>ds(Ai)||0===K._dayOfYear)&&(q(K)._overflowDayOfYear=!0),lt=fa(Ai,0,K._dayOfYear),K._a[1]=lt.getUTCMonth(),K._a[2]=lt.getUTCDate()),be=0;be<3&&null==K._a[be];++be)K._a[be]=wt[be]=ln[be];for(;be<7;be++)K._a[be]=wt[be]=null==K._a[be]?2===be?1:0:K._a[be];24===K._a[3]&&0===K._a[4]&&0===K._a[5]&&0===K._a[6]&&(K._nextDay=!0,K._a[3]=0),K._d=(K._useUTC?fa:ya).apply(null,wt),Dr=K._useUTC?K._d.getUTCDay():K._d.getDay(),null!=K._tzm&&K._d.setUTCMinutes(K._d.getUTCMinutes()-K._tzm),K._nextDay&&(K._a[3]=24),K._w&&void 0!==K._w.d&&K._w.d!==Dr&&(q(K).weekdayMismatch=!0)}}function aa(K){if(K._f!==a.ISO_8601)if(K._f!==a.RFC_2822){K._a=[],q(K).empty=!0;var lt,wt,ln,Dr,Ai,ca,Dl,be=""+K._i,gs=be.length,Aa=0;for(Dl=(ln=Fn(K._f,K._locale).match(Nt)||[]).length,lt=0;lt<Dl;lt++)(wt=(be.match(Vt(Dr=ln[lt],K))||[])[0])&&((Ai=be.substr(0,be.indexOf(wt))).length>0&&q(K).unusedInput.push(Ai),be=be.slice(be.indexOf(wt)+wt.length),Aa+=wt.length),rn[Dr]?(wt?q(K).empty=!1:q(K).unusedTokens.push(Dr),Qo(Dr,wt,K)):K._strict&&!wt&&q(K).unusedTokens.push(Dr);q(K).charsLeftOver=gs-Aa,be.length>0&&q(K).unusedInput.push(be),K._a[3]<=12&&!0===q(K).bigHour&&K._a[3]>0&&(q(K).bigHour=void 0),q(K).parsedDateParts=K._a.slice(0),q(K).meridiem=K._meridiem,K._a[3]=function Fa(K,be,lt){var wt;return null==lt?be:null!=K.meridiemHour?K.meridiemHour(be,lt):(null!=K.isPM&&((wt=K.isPM(lt))&&be<12&&(be+=12),!wt&&12===be&&(be=0)),be)}(K._locale,K._a[3],K._meridiem),null!==(ca=q(K).era)&&(K._a[0]=K._locale.erasConvertYear(ca,K._a[0])),hd(K),wi(K)}else ja(K);else mt(K)}function lu(K){var be=K._i,lt=K._f;return K._locale=K._locale||Kn(K._l),null===be||void 0===lt&&""===be?H({nullInput:!0}):("string"==typeof be&&(K._i=be=K._locale.preparse(be)),_e(be)?new fe(wi(be)):(w(be)?K._d=be:u(lt)?function Es(K){var be,lt,wt,ln,Dr,Ai,gs=!1,Aa=K._f.length;if(0===Aa)return q(K).invalidFormat=!0,void(K._d=new Date(NaN));for(ln=0;ln<Aa;ln++)Dr=0,Ai=!1,be=ie({},K),null!=K._useUTC&&(be._useUTC=K._useUTC),be._f=K._f[ln],aa(be),re(be)&&(Ai=!0),Dr+=q(be).charsLeftOver,Dr+=10*q(be).unusedTokens.length,q(be).score=Dr,gs?Dr<wt&&(wt=Dr,lt=be):(null==wt||Dr<wt||Ai)&&(wt=Dr,lt=be,Ai&&(gs=!0));U(K,lt||be)}(K):lt?aa(K):function Eu(K){var be=K._i;T(be)?K._d=new Date(a.now()):w(be)?K._d=new Date(be.valueOf()):"string"==typeof be?function El(K){var be=Ka.exec(K._i);null===be?(mt(K),!1===K._isValid&&(delete K._isValid,ja(K),!1===K._isValid&&(delete K._isValid,K._strict?K._isValid=!1:a.createFromInputFallback(K)))):K._d=new Date(+be[1])}(K):u(be)?(K._a=R(be.slice(0),function(lt){return parseInt(lt,10)}),hd(K)):e(be)?function ec(K){if(!K._d){var be=xo(K._i);K._a=R([be.year,be.month,void 0===be.day?be.date:be.day,be.hour,be.minute,be.second,be.millisecond],function(wt){return wt&&parseInt(wt,10)}),hd(K)}}(K):M(be)?K._d=new Date(be):a.createFromInputFallback(K)}(K),re(K)||(K._d=null),K))}function iu(K,be,lt,wt,ln){var Dr={};return(!0===be||!1===be)&&(wt=be,be=void 0),(!0===lt||!1===lt)&&(wt=lt,lt=void 0),(e(K)&&g(K)||u(K)&&0===K.length)&&(K=void 0),Dr._isAMomentObject=!0,Dr._useUTC=Dr._isUTC=ln,Dr._l=lt,Dr._i=K,Dr._f=be,Dr._strict=wt,function Sl(K){var be=new fe(wi(lu(K)));return be._nextDay&&(be.add(1,"d"),be._nextDay=void 0),be}(Dr)}function ra(K,be,lt,wt){return iu(K,be,lt,wt,!1)}a.createFromInputFallback=ce("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(K){K._d=new Date(K._i+(K._useUTC?" UTC":""))}),a.ISO_8601=function(){},a.RFC_2822=function(){};var bu=ce("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var K=ra.apply(null,arguments);return this.isValid()&&K.isValid()?K<this?this:K:H()}),td=ce("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var K=ra.apply(null,arguments);return this.isValid()&&K.isValid()?K>this?this:K:H()});function tc(K,be){var lt,wt;if(1===be.length&&u(be[0])&&(be=be[0]),!be.length)return ra();for(lt=be[0],wt=1;wt<be.length;++wt)(!be[wt].isValid()||be[wt][K](lt))&&(lt=be[wt]);return lt}var Uu=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Io(K){var be=xo(K),lt=be.year||0,wt=be.quarter||0,ln=be.month||0,Dr=be.week||be.isoWeek||0,Ai=be.day||0,gs=be.hour||0,Aa=be.minute||0,ca=be.second||0,Dl=be.millisecond||0;this._isValid=function Yu(K){var be,wt,lt=!1,ln=Uu.length;for(be in K)if(p(K,be)&&(-1===$i.call(Uu,be)||null!=K[be]&&isNaN(K[be])))return!1;for(wt=0;wt<ln;++wt)if(K[Uu[wt]]){if(lt)return!1;parseFloat(K[Uu[wt]])!==zn(K[Uu[wt]])&&(lt=!0)}return!0}(be),this._milliseconds=+Dl+1e3*ca+6e4*Aa+1e3*gs*60*60,this._days=+Ai+7*Dr,this._months=+ln+3*wt+12*lt,this._data={},this._locale=Kn(),this._bubble()}function fu(K){return K instanceof Io}function Sr(K){return K<0?-1*Math.round(-1*K):Math.round(K)}function De(K,be){vt(K,0,0,function(){var lt=this.utcOffset(),wt="+";return lt<0&&(lt=-lt,wt="-"),wt+Qt(~~(lt/60),2)+be+Qt(~~lt%60,2)})}De("Z",":"),De("ZZ",""),yt("Z",Dn),yt("ZZ",Dn),yi(["Z","ZZ"],function(K,be,lt){lt._useUTC=!0,lt._tzm=It(Dn,K)});var ct=/([\+\-]|\d\d)/gi;function It(K,be){var ln,Dr,lt=(be||"").match(K);return null===lt?null:0===(Dr=60*(ln=((lt[lt.length-1]||[])+"").match(ct)||["-",0,0])[1]+zn(ln[2]))?0:"+"===ln[0]?Dr:-Dr}function Ht(K,be){var lt,wt;return be._isUTC?(lt=be.clone(),wt=(_e(K)||w(K)?K.valueOf():ra(K).valueOf())-lt.valueOf(),lt._d.setTime(lt._d.valueOf()+wt),a.updateOffset(lt,!1),lt):ra(K).local()}function _n(K){return-Math.round(K._d.getTimezoneOffset())}function fo(){return!!this.isValid()&&this._isUTC&&0===this._offset}a.updateOffset=function(){};var $s=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,ls=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function _l(K,be){var ln,Dr,Ai,lt=K,wt=null;return fu(K)?lt={ms:K._milliseconds,d:K._days,M:K._months}:M(K)||!isNaN(+K)?(lt={},be?lt[be]=+K:lt.milliseconds=+K):(wt=$s.exec(K))?(ln="-"===wt[1]?-1:1,lt={y:0,d:zn(wt[2])*ln,h:zn(wt[3])*ln,m:zn(wt[4])*ln,s:zn(wt[5])*ln,ms:zn(Sr(1e3*wt[6]))*ln}):(wt=ls.exec(K))?lt={y:Us(wt[2],ln="-"===wt[1]?-1:1),M:Us(wt[3],ln),w:Us(wt[4],ln),d:Us(wt[5],ln),h:Us(wt[6],ln),m:Us(wt[7],ln),s:Us(wt[8],ln)}:null==lt?lt={}:"object"==typeof lt&&("from"in lt||"to"in lt)&&(Ai=function Ic(K,be){var lt;return K.isValid()&&be.isValid()?(be=Ht(be,K),K.isBefore(be)?lt=Zc(K,be):((lt=Zc(be,K)).milliseconds=-lt.milliseconds,lt.months=-lt.months),lt):{milliseconds:0,months:0}}(ra(lt.from),ra(lt.to)),(lt={}).ms=Ai.milliseconds,lt.M=Ai.months),Dr=new Io(lt),fu(K)&&p(K,"_locale")&&(Dr._locale=K._locale),fu(K)&&p(K,"_isValid")&&(Dr._isValid=K._isValid),Dr}function Us(K,be){var lt=K&&parseFloat(K.replace(",","."));return(isNaN(lt)?0:lt)*be}function Zc(K,be){var lt={};return lt.months=be.month()-K.month()+12*(be.year()-K.year()),K.clone().add(lt.months,"M").isAfter(be)&&--lt.months,lt.milliseconds=+be-+K.clone().add(lt.months,"M"),lt}function Pu(K,be){return function(lt,wt){var Dr;return null!==wt&&!isNaN(+wt)&&(Ve(be,"moment()."+be+"(period, number) is deprecated. Please use moment()."+be+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),Dr=lt,lt=wt,wt=Dr),Su(this,_l(lt,wt),K),this}}function Su(K,be,lt,wt){var ln=be._milliseconds,Dr=Sr(be._days),Ai=Sr(be._months);!K.isValid()||(wt=null==wt||wt,Ai&&$n(K,Gi(K,"Month")+Ai*lt),Dr&&ui(K,"Date",Gi(K,"Date")+Dr*lt),ln&&K._d.setTime(K._d.valueOf()+ln*lt),wt&&a.updateOffset(K,Dr||Ai))}_l.fn=Io.prototype,_l.invalid=function Ld(){return _l(NaN)};var Zd=Pu(1,"add"),_d=Pu(-1,"subtract");function md(K){return"string"==typeof K||K instanceof String}function Hc(K){return _e(K)||w(K)||md(K)||M(K)||function kd(K){var be=u(K),lt=!1;return be&&(lt=0===K.filter(function(wt){return!M(wt)&&md(K)}).length),be&&lt}(K)||function La(K){var ln,be=e(K)&&!g(K),lt=!1,wt=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],Ai=wt.length;for(ln=0;ln<Ai;ln+=1)lt=lt||p(K,wt[ln]);return be&&lt}(K)||null==K}function Oc(K){var ln,be=e(K)&&!g(K),lt=!1,wt=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(ln=0;ln<wt.length;ln+=1)lt=lt||p(K,wt[ln]);return be&&lt}function Ze(K,be){if(K.date()<be.date())return-Ze(be,K);var lt=12*(be.year()-K.year())+(be.month()-K.month()),wt=K.clone().add(lt,"months");return-(lt+(be-wt<0?(be-wt)/(wt-K.clone().add(lt-1,"months")):(be-wt)/(K.clone().add(lt+1,"months")-wt)))||0}function Lo(K){var be;return void 0===K?this._locale._abbr:(null!=(be=Kn(K))&&(this._locale=be),this)}a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",a.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ta=ce("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(K){return void 0===K?this.localeData():this.locale(K)});function ms(){return this._locale}var Ca=6e4,Nu=60*Ca,cc=3506328*Nu;function ka(K,be){return(K%be+be)%be}function rl(K,be,lt){return K<100&&K>=0?new Date(K+400,be,lt)-cc:new Date(K,be,lt).valueOf()}function vc(K,be,lt){return K<100&&K>=0?Date.UTC(K+400,be,lt)-cc:Date.UTC(K,be,lt)}function qa(K,be){return be.erasAbbrRegex(K)}function vd(){var ln,Dr,K=[],be=[],lt=[],wt=[],Ai=this.eras();for(ln=0,Dr=Ai.length;ln<Dr;++ln)be.push(Cr(Ai[ln].name)),K.push(Cr(Ai[ln].abbr)),lt.push(Cr(Ai[ln].narrow)),wt.push(Cr(Ai[ln].name)),wt.push(Cr(Ai[ln].abbr)),wt.push(Cr(Ai[ln].narrow));this._erasRegex=new RegExp("^("+wt.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+be.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+K.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+lt.join("|")+")","i")}function dc(K,be){vt(0,[K,K.length],0,be)}function Wd(K,be,lt,wt,ln){var Dr;return null==K?pl(this,wt,ln).year:(be>(Dr=Co(K,wt,ln))&&(be=Dr),Rf.call(this,K,be,lt,wt,ln))}function Rf(K,be,lt,wt,ln){var Dr=Ra(K,be,lt,wt,ln),Ai=fa(Dr.year,0,Dr.dayOfYear);return this.year(Ai.getUTCFullYear()),this.month(Ai.getUTCMonth()),this.date(Ai.getUTCDate()),this}vt("N",0,0,"eraAbbr"),vt("NN",0,0,"eraAbbr"),vt("NNN",0,0,"eraAbbr"),vt("NNNN",0,0,"eraName"),vt("NNNNN",0,0,"eraNarrow"),vt("y",["y",1],"yo","eraYear"),vt("y",["yy",2],0,"eraYear"),vt("y",["yyy",3],0,"eraYear"),vt("y",["yyyy",4],0,"eraYear"),yt("N",qa),yt("NN",qa),yt("NNN",qa),yt("NNNN",function cl(K,be){return be.erasNameRegex(K)}),yt("NNNNN",function xf(K,be){return be.erasNarrowRegex(K)}),yi(["N","NN","NNN","NNNN","NNNNN"],function(K,be,lt,wt){var ln=lt._locale.erasParse(K,wt,lt._strict);ln?q(lt).era=ln:q(lt).invalidEra=K}),yt("y",Lr),yt("yy",Lr),yt("yyy",Lr),yt("yyyy",Lr),yt("yo",function Bc(K,be){return be._eraYearOrdinalRegex||Lr}),yi(["y","yy","yyy","yyyy"],0),yi(["yo"],function(K,be,lt,wt){var ln;lt._locale._eraYearOrdinalRegex&&(ln=K.match(lt._locale._eraYearOrdinalRegex)),be[0]=lt._locale.eraYearOrdinalParse?lt._locale.eraYearOrdinalParse(K,ln):parseInt(K,10)}),vt(0,["gg",2],0,function(){return this.weekYear()%100}),vt(0,["GG",2],0,function(){return this.isoWeekYear()%100}),dc("gggg","weekYear"),dc("ggggg","weekYear"),dc("GGGG","isoWeekYear"),dc("GGGGG","isoWeekYear"),fi("weekYear","gg"),fi("isoWeekYear","GG"),an("weekYear",1),an("isoWeekYear",1),yt("G",ti),yt("g",ti),yt("GG",Re,Rn),yt("gg",Re,Rn),yt("GGGG",nn,et),yt("gggg",nn,et),yt("GGGGG",Fe,Le),yt("ggggg",Fe,Le),Uo(["gggg","ggggg","GGGG","GGGGG"],function(K,be,lt,wt){be[wt.substr(0,2)]=zn(K)}),Uo(["gg","GG"],function(K,be,lt,wt){be[wt]=a.parseTwoDigitYear(K)}),vt("Q",0,"Qo","quarter"),fi("quarter","Q"),an("quarter",7),yt("Q",mn),yi("Q",function(K,be){be[1]=3*(zn(K)-1)}),vt("D",["DD",2],"Do","date"),fi("date","D"),an("date",9),yt("D",Re),yt("DD",Re,Rn),yt("Do",function(K,be){return K?be._dayOfMonthOrdinalParse||be._ordinalParse:be._dayOfMonthOrdinalParseLenient}),yi(["D","DD"],2),yi("Do",function(K,be){be[2]=zn(K.match(Re)[0])});var Lc=ri("Date",!0);vt("DDD",["DDDD",3],"DDDo","dayOfYear"),fi("dayOfYear","DDD"),an("dayOfYear",4),yt("DDD",st),yt("DDDD",Wn),yi(["DDD","DDDD"],function(K,be,lt){lt._dayOfYear=zn(K)}),vt("m",["mm",2],0,"minute"),fi("minute","m"),an("minute",14),yt("m",Re),yt("mm",Re,Rn),yi(["m","mm"],4);var od=ri("Minutes",!1);vt("s",["ss",2],0,"second"),fi("second","s"),an("second",15),yt("s",Re),yt("ss",Re,Rn),yi(["s","ss"],5);var Oa,zc,rc=ri("Seconds",!1);for(vt("S",0,0,function(){return~~(this.millisecond()/100)}),vt(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),vt(0,["SSS",3],0,"millisecond"),vt(0,["SSSS",4],0,function(){return 10*this.millisecond()}),vt(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),vt(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),vt(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),vt(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),vt(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),fi("millisecond","ms"),an("millisecond",16),yt("S",st,mn),yt("SS",st,Rn),yt("SSS",st,Wn),Oa="SSSS";Oa.length<=9;Oa+="S")yt(Oa,Lr);function sd(K,be){be[6]=zn(1e3*("0."+K))}for(Oa="S";Oa.length<=9;Oa+="S")yi(Oa,sd);zc=ri("Milliseconds",!1),vt("z",0,0,"zoneAbbr"),vt("zz",0,0,"zoneName");var vo=fe.prototype;function Ac(K){return K}vo.add=Zd,vo.calendar=function wo(K,be){1===arguments.length&&(arguments[0]?Hc(arguments[0])?(K=arguments[0],be=void 0):Oc(arguments[0])&&(be=arguments[0],K=void 0):(K=void 0,be=void 0));var lt=K||ra(),wt=Ht(lt,this).startOf("day"),ln=a.calendarFormat(this,wt)||"sameElse",Dr=be&&(Xe(be[ln])?be[ln].call(this,lt):be[ln]);return this.format(Dr||this.localeData().calendar(ln,this,ra(lt)))},vo.clone=function Sa(){return new fe(this)},vo.diff=function rd(K,be,lt){var wt,ln,Dr;if(!this.isValid())return NaN;if(!(wt=Ht(K,this)).isValid())return NaN;switch(ln=6e4*(wt.utcOffset()-this.utcOffset()),be=no(be)){case"year":Dr=Ze(this,wt)/12;break;case"month":Dr=Ze(this,wt);break;case"quarter":Dr=Ze(this,wt)/3;break;case"second":Dr=(this-wt)/1e3;break;case"minute":Dr=(this-wt)/6e4;break;case"hour":Dr=(this-wt)/36e5;break;case"day":Dr=(this-wt-ln)/864e5;break;case"week":Dr=(this-wt-ln)/6048e5;break;default:Dr=this-wt}return lt?Dr:Xn(Dr)},vo.endOf=function ju(K){var be,lt;if(void 0===(K=no(K))||"millisecond"===K||!this.isValid())return this;switch(lt=this._isUTC?vc:rl,K){case"year":be=lt(this.year()+1,0,1)-1;break;case"quarter":be=lt(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":be=lt(this.year(),this.month()+1,1)-1;break;case"week":be=lt(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":be=lt(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":be=lt(this.year(),this.month(),this.date()+1)-1;break;case"hour":be=this._d.valueOf(),be+=Nu-ka(be+(this._isUTC?0:this.utcOffset()*Ca),Nu)-1;break;case"minute":be=this._d.valueOf(),be+=Ca-ka(be,Ca)-1;break;case"second":be=this._d.valueOf(),be+=1e3-ka(be,1e3)-1}return this._d.setTime(be),a.updateOffset(this,!0),this},vo.format=function Ot(K){K||(K=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var be=Gt(this,K);return this.localeData().postformat(be)},vo.from=function sn(K,be){return this.isValid()&&(_e(K)&&K.isValid()||ra(K).isValid())?_l({to:this,from:K}).locale(this.locale()).humanize(!be):this.localeData().invalidDate()},vo.fromNow=function Un(K){return this.from(ra(),K)},vo.to=function gr(K,be){return this.isValid()&&(_e(K)&&K.isValid()||ra(K).isValid())?_l({from:this,to:K}).locale(this.locale()).humanize(!be):this.localeData().invalidDate()},vo.toNow=function gi(K){return this.to(ra(),K)},vo.get=function vr(K){return Xe(this[K=no(K)])?this[K]():this},vo.invalidAt=function Ml(){return q(this).overflow},vo.isAfter=function Tl(K,be){var lt=_e(K)?K:ra(K);return!(!this.isValid()||!lt.isValid())&&("millisecond"===(be=no(be)||"millisecond")?this.valueOf()>lt.valueOf():lt.valueOf()<this.clone().startOf(be).valueOf())},vo.isBefore=function ou(K,be){var lt=_e(K)?K:ra(K);return!(!this.isValid()||!lt.isValid())&&("millisecond"===(be=no(be)||"millisecond")?this.valueOf()<lt.valueOf():this.clone().endOf(be).valueOf()<lt.valueOf())},vo.isBetween=function Tu(K,be,lt,wt){var ln=_e(K)?K:ra(K),Dr=_e(be)?be:ra(be);return!!(this.isValid()&&ln.isValid()&&Dr.isValid())&&("("===(wt=wt||"()")[0]?this.isAfter(ln,lt):!this.isBefore(ln,lt))&&(")"===wt[1]?this.isBefore(Dr,lt):!this.isAfter(Dr,lt))},vo.isSame=function gc(K,be){var wt,lt=_e(K)?K:ra(K);return!(!this.isValid()||!lt.isValid())&&("millisecond"===(be=no(be)||"millisecond")?this.valueOf()===lt.valueOf():(wt=lt.valueOf(),this.clone().startOf(be).valueOf()<=wt&&wt<=this.clone().endOf(be).valueOf()))},vo.isSameOrAfter=function En(K,be){return this.isSame(K,be)||this.isAfter(K,be)},vo.isSameOrBefore=function pa(K,be){return this.isSame(K,be)||this.isBefore(K,be)},vo.isValid=function ll(){return re(this)},vo.lang=Ta,vo.locale=Lo,vo.localeData=ms,vo.max=td,vo.min=bu,vo.parsingFlags=function Ll(){return U({},q(this))},vo.set=function Ji(K,be){if("object"==typeof K){var wt,lt=function vn(K){var lt,be=[];for(lt in K)p(K,lt)&&be.push({unit:lt,priority:Er[lt]});return be.sort(function(wt,ln){return wt.priority-ln.priority}),be}(K=xo(K)),ln=lt.length;for(wt=0;wt<ln;wt++)this[lt[wt].unit](K[lt[wt].unit])}else if(Xe(this[K=no(K)]))return this[K](be);return this},vo.startOf=function yc(K){var be,lt;if(void 0===(K=no(K))||"millisecond"===K||!this.isValid())return this;switch(lt=this._isUTC?vc:rl,K){case"year":be=lt(this.year(),0,1);break;case"quarter":be=lt(this.year(),this.month()-this.month()%3,1);break;case"month":be=lt(this.year(),this.month(),1);break;case"week":be=lt(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":be=lt(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":be=lt(this.year(),this.month(),this.date());break;case"hour":be=this._d.valueOf(),be-=ka(be+(this._isUTC?0:this.utcOffset()*Ca),Nu);break;case"minute":be=this._d.valueOf(),be-=ka(be,Ca);break;case"second":be=this._d.valueOf(),be-=ka(be,1e3)}return this._d.setTime(be),a.updateOffset(this,!0),this},vo.subtract=_d,vo.toArray=function Fc(){var K=this;return[K.year(),K.month(),K.date(),K.hour(),K.minute(),K.second(),K.millisecond()]},vo.toObject=function cu(){var K=this;return{years:K.year(),months:K.month(),date:K.date(),hours:K.hours(),minutes:K.minutes(),seconds:K.seconds(),milliseconds:K.milliseconds()}},vo.toDate=function gd(){return new Date(this.valueOf())},vo.toISOString=function ge(K){if(!this.isValid())return null;var be=!0!==K,lt=be?this.clone().utc():this;return lt.year()<0||lt.year()>9999?Gt(lt,be?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Xe(Date.prototype.toISOString)?be?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Gt(lt,"Z")):Gt(lt,be?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},vo.inspect=function ht(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var lt,wt,K="moment",be="";return this.isLocal()||(K=0===this.utcOffset()?"moment.utc":"moment.parseZone",be="Z"),lt="["+K+'("]',wt=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(lt+wt+"-MM-DD[T]HH:mm:ss.SSS"+be+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(vo[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),vo.toJSON=function Ma(){return this.isValid()?this.toISOString():null},vo.toString=function Ae(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},vo.unix=function nc(){return Math.floor(this.valueOf()/1e3)},vo.valueOf=function Ul(){return this._d.valueOf()-6e4*(this._offset||0)},vo.creationData=function gf(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},vo.eraName=function kl(){var K,be,lt,wt=this.localeData().eras();for(K=0,be=wt.length;K<be;++K)if(lt=this.clone().startOf("day").valueOf(),wt[K].since<=lt&&lt<=wt[K].until||wt[K].until<=lt&&lt<=wt[K].since)return wt[K].name;return""},vo.eraNarrow=function Gu(){var K,be,lt,wt=this.localeData().eras();for(K=0,be=wt.length;K<be;++K)if(lt=this.clone().startOf("day").valueOf(),wt[K].since<=lt&&lt<=wt[K].until||wt[K].until<=lt&&lt<=wt[K].since)return wt[K].narrow;return""},vo.eraAbbr=function ul(){var K,be,lt,wt=this.localeData().eras();for(K=0,be=wt.length;K<be;++K)if(lt=this.clone().startOf("day").valueOf(),wt[K].since<=lt&&lt<=wt[K].until||wt[K].until<=lt&&lt<=wt[K].since)return wt[K].abbr;return""},vo.eraYear=function Cu(){var K,be,lt,wt,ln=this.localeData().eras();for(K=0,be=ln.length;K<be;++K)if(lt=ln[K].since<=ln[K].until?1:-1,wt=this.clone().startOf("day").valueOf(),ln[K].since<=wt&&wt<=ln[K].until||ln[K].until<=wt&&wt<=ln[K].since)return(this.year()-a(ln[K].since).year())*lt+ln[K].offset;return this.year()},vo.year=es,vo.isLeapYear=function ma(){return Zn(this.year())},vo.weekYear=function yd(K){return Wd.call(this,K,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},vo.isoWeekYear=function $p(K){return Wd.call(this,K,this.isoWeek(),this.isoWeekday(),1,4)},vo.quarter=vo.quarters=function yp(K){return null==K?Math.ceil((this.month()+1)/3):this.month(3*(K-1)+this.month()%3)},vo.month=Jr,vo.daysInMonth=function ro(){return Eo(this.year(),this.month())},vo.week=vo.weeks=function Is(K){var be=this.localeData().week(this);return null==K?be:this.add(7*(K-be),"d")},vo.isoWeek=vo.isoWeeks=function nl(K){var be=pl(this,1,4).week;return null==K?be:this.add(7*(K-be),"d")},vo.weeksInYear=function Vu(){var K=this.localeData()._week;return Co(this.year(),K.dow,K.doy)},vo.weeksInWeekYear=function fc(){var K=this.localeData()._week;return Co(this.weekYear(),K.dow,K.doy)},vo.isoWeeksInYear=function vf(){return Co(this.year(),1,4)},vo.isoWeeksInISOWeekYear=function ap(){return Co(this.isoWeekYear(),1,4)},vo.date=Lc,vo.day=vo.days=function ii(K){if(!this.isValid())return null!=K?this:NaN;var be=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=K?(K=function Gs(K,be){return"string"!=typeof K?K:isNaN(K)?"number"==typeof(K=be.weekdaysParse(K))?K:null:parseInt(K,10)}(K,this.localeData()),this.add(K-be,"d")):be},vo.weekday=function Oi(K){if(!this.isValid())return null!=K?this:NaN;var be=(this.day()+7-this.localeData()._week.dow)%7;return null==K?be:this.add(K-be,"d")},vo.isoWeekday=function ki(K){if(!this.isValid())return null!=K?this:NaN;if(null!=K){var be=function $o(K,be){return"string"==typeof K?be.weekdaysParse(K)%7||7:isNaN(K)?null:K}(K,this.localeData());return this.day(this.day()%7?be:be-7)}return this.day()||7},vo.dayOfYear=function Fu(K){var be=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==K?be:this.add(K-be,"d")},vo.hour=vo.hours=mc,vo.minute=vo.minutes=od,vo.second=vo.seconds=rc,vo.millisecond=vo.milliseconds=zc,vo.utcOffset=function Pn(K,be,lt){var ln,wt=this._offset||0;if(!this.isValid())return null!=K?this:NaN;if(null!=K){if("string"==typeof K){if(null===(K=It(Dn,K)))return this}else Math.abs(K)<16&&!lt&&(K*=60);return!this._isUTC&&be&&(ln=_n(this)),this._offset=K,this._isUTC=!0,null!=ln&&this.add(ln,"m"),wt!==K&&(!be||this._changeInProgress?Su(this,_l(K-wt,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?wt:_n(this)},vo.utc=function ai(K){return this.utcOffset(0,K)},vo.local=function Ei(K){return this._isUTC&&(this.utcOffset(0,K),this._isUTC=!1,K&&this.subtract(_n(this),"m")),this},vo.parseZone=function Ci(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var K=It(Ut,this._i);null!=K?this.utcOffset(K):this.utcOffset(0,!0)}return this},vo.hasAlignedHourOffset=function Vi(K){return!!this.isValid()&&(K=K?ra(K).utcOffset():0,(this.utcOffset()-K)%60==0)},vo.isDST=function Pr(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},vo.isLocal=function Rr(){return!!this.isValid()&&!this._isUTC},vo.isUtcOffset=function br(){return!!this.isValid()&&this._isUTC},vo.isUtc=fo,vo.isUTC=fo,vo.zoneAbbr=function lp(){return this._isUTC?"UTC":""},vo.zoneName=function $d(){return this._isUTC?"Coordinated Universal Time":""},vo.dates=ce("dates accessor is deprecated. Use date instead.",Lc),vo.months=ce("months accessor is deprecated. Use month instead",Jr),vo.years=ce("years accessor is deprecated. Use year instead",es),vo.zone=ce("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function Tr(K,be){return null!=K?("string"!=typeof K&&(K=-K),this.utcOffset(K,be),this):-this.utcOffset()}),vo.isDSTShifted=ce("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function Yn(){if(!T(this._isDSTShifted))return this._isDSTShifted;var be,K={};return ie(K,this),(K=lu(K))._a?(be=K._isUTC?W(K._a):ra(K._a),this._isDSTShifted=this.isValid()&&function Z(K,be,lt){var Ai,wt=Math.min(K.length,be.length),ln=Math.abs(K.length-be.length),Dr=0;for(Ai=0;Ai<wt;Ai++)(lt&&K[Ai]!==be[Ai]||!lt&&zn(K[Ai])!==zn(be[Ai]))&&Dr++;return Dr+ln}(K._a,be.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted});var ga=Ge.prototype;function Dc(K,be,lt,wt){var ln=Kn(),Dr=W().set(wt,be);return ln[lt](Dr,K)}function Lu(K,be,lt){if(M(K)&&(be=K,K=void 0),K=K||"",null!=be)return Dc(K,be,lt,"month");var wt,ln=[];for(wt=0;wt<12;wt++)ln[wt]=Dc(K,wt,lt,"month");return ln}function bc(K,be,lt,wt){"boolean"==typeof K?(M(be)&&(lt=be,be=void 0),be=be||""):(lt=be=K,K=!1,M(be)&&(lt=be,be=void 0),be=be||"");var Ai,ln=Kn(),Dr=K?ln._week.dow:0,gs=[];if(null!=lt)return Dc(be,(lt+Dr)%7,wt,"day");for(Ai=0;Ai<7;Ai++)gs[Ai]=Dc(be,(Ai+Dr)%7,wt,"day");return gs}ga.calendar=function We(K,be,lt){var wt=this._calendar[K]||this._calendar.sameElse;return Xe(wt)?wt.call(be,lt):wt},ga.longDateFormat=function mi(K){var be=this._longDateFormat[K],lt=this._longDateFormat[K.toUpperCase()];return be||!lt?be:(this._longDateFormat[K]=lt.match(Nt).map(function(wt){return"MMMM"===wt||"MM"===wt||"DD"===wt||"dddd"===wt?wt.slice(1):wt}).join(""),this._longDateFormat[K])},ga.invalidDate=function hr(){return this._invalidDate},ga.ordinal=function Hn(K){return this._ordinal.replace("%d",K)},ga.preparse=Ac,ga.postformat=Ac,ga.relativeTime=function _r(K,be,lt,wt){var ln=this._relativeTime[lt];return Xe(ln)?ln(K,be,lt,wt):ln.replace(/%d/i,K)},ga.pastFuture=function ei(K,be){var lt=this._relativeTime[K>0?"future":"past"];return Xe(lt)?lt(be):lt.replace(/%s/i,be)},ga.set=function He(K){var be,lt;for(lt in K)p(K,lt)&&(Xe(be=K[lt])?this[lt]=be:this["_"+lt]=be);this._config=K,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},ga.eras=function zd(K,be){var lt,wt,ln,Dr=this._eras||Kn("en")._eras;for(lt=0,wt=Dr.length;lt<wt;++lt)switch("string"==typeof Dr[lt].since&&(ln=a(Dr[lt].since).startOf("day"),Dr[lt].since=ln.valueOf()),typeof Dr[lt].until){case"undefined":Dr[lt].until=1/0;break;case"string":ln=a(Dr[lt].until).startOf("day").valueOf(),Dr[lt].until=ln.valueOf()}return Dr},ga.erasParse=function id(K,be,lt){var wt,ln,Ai,gs,Aa,Dr=this.eras();for(K=K.toUpperCase(),wt=0,ln=Dr.length;wt<ln;++wt)if(Ai=Dr[wt].name.toUpperCase(),gs=Dr[wt].abbr.toUpperCase(),Aa=Dr[wt].narrow.toUpperCase(),lt)switch(be){case"N":case"NN":case"NNN":if(gs===K)return Dr[wt];break;case"NNNN":if(Ai===K)return Dr[wt];break;case"NNNNN":if(Aa===K)return Dr[wt]}else if([Ai,gs,Aa].indexOf(K)>=0)return Dr[wt]},ga.erasConvertYear=function Al(K,be){var lt=K.since<=K.until?1:-1;return void 0===be?a(K.since).year():a(K.since).year()+(be-K.offset)*lt},ga.erasAbbrRegex=function Ec(K){return p(this,"_erasAbbrRegex")||vd.call(this),K?this._erasAbbrRegex:this._erasRegex},ga.erasNameRegex=function cn(K){return p(this,"_erasNameRegex")||vd.call(this),K?this._erasNameRegex:this._erasRegex},ga.erasNarrowRegex=function Iu(K){return p(this,"_erasNarrowRegex")||vd.call(this),K?this._erasNarrowRegex:this._erasRegex},ga.months=function Or(K,be){return K?u(this._months)?this._months[K.month()]:this._months[(this._months.isFormat||ua).test(be)?"format":"standalone"][K.month()]:u(this._months)?this._months:this._months.standalone},ga.monthsShort=function cr(K,be){return K?u(this._monthsShort)?this._monthsShort[K.month()]:this._monthsShort[ua.test(be)?"format":"standalone"][K.month()]:u(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},ga.monthsParse=function Sn(K,be,lt){var wt,ln,Dr;if(this._monthsParseExact)return pi.call(this,K,be,lt);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),wt=0;wt<12;wt++){if(ln=W([2e3,wt]),lt&&!this._longMonthsParse[wt]&&(this._longMonthsParse[wt]=new RegExp("^"+this.months(ln,"").replace(".","")+"$","i"),this._shortMonthsParse[wt]=new RegExp("^"+this.monthsShort(ln,"").replace(".","")+"$","i")),!lt&&!this._monthsParse[wt]&&(Dr="^"+this.months(ln,"")+"|^"+this.monthsShort(ln,""),this._monthsParse[wt]=new RegExp(Dr.replace(".",""),"i")),lt&&"MMMM"===be&&this._longMonthsParse[wt].test(K))return wt;if(lt&&"MMM"===be&&this._shortMonthsParse[wt].test(K))return wt;if(!lt&&this._monthsParse[wt].test(K))return wt}},ga.monthsRegex=function Ro(K){return this._monthsParseExact?(p(this,"_monthsRegex")||js.call(this),K?this._monthsStrictRegex:this._monthsRegex):(p(this,"_monthsRegex")||(this._monthsRegex=Mr),this._monthsStrictRegex&&K?this._monthsStrictRegex:this._monthsRegex)},ga.monthsShortRegex=function go(K){return this._monthsParseExact?(p(this,"_monthsRegex")||js.call(this),K?this._monthsShortStrictRegex:this._monthsShortRegex):(p(this,"_monthsShortRegex")||(this._monthsShortRegex=or),this._monthsShortStrictRegex&&K?this._monthsShortStrictRegex:this._monthsShortRegex)},ga.week=function yl(K){return pl(K,this._week.dow,this._week.doy).week},ga.firstDayOfYear=function Wa(){return this._week.doy},ga.firstDayOfWeek=function ys(){return this._week.dow},ga.weekdays=function pn(K,be){var lt=u(this._weekdays)?this._weekdays:this._weekdays[K&&!0!==K&&this._weekdays.isFormat.test(be)?"format":"standalone"];return!0===K?To(lt,this._week.dow):K?lt[K.day()]:lt},ga.weekdaysMin=function Ue(K){return!0===K?To(this._weekdaysMin,this._week.dow):K?this._weekdaysMin[K.day()]:this._weekdaysMin},ga.weekdaysShort=function te(K){return!0===K?To(this._weekdaysShort,this._week.dow):K?this._weekdaysShort[K.day()]:this._weekdaysShort},ga.weekdaysParse=function hn(K,be,lt){var wt,ln,Dr;if(this._weekdaysParseExact)return jt.call(this,K,be,lt);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),wt=0;wt<7;wt++){if(ln=W([2e3,1]).day(wt),lt&&!this._fullWeekdaysParse[wt]&&(this._fullWeekdaysParse[wt]=new RegExp("^"+this.weekdays(ln,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[wt]=new RegExp("^"+this.weekdaysShort(ln,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[wt]=new RegExp("^"+this.weekdaysMin(ln,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[wt]||(Dr="^"+this.weekdays(ln,"")+"|^"+this.weekdaysShort(ln,"")+"|^"+this.weekdaysMin(ln,""),this._weekdaysParse[wt]=new RegExp(Dr.replace(".",""),"i")),lt&&"dddd"===be&&this._fullWeekdaysParse[wt].test(K))return wt;if(lt&&"ddd"===be&&this._shortWeekdaysParse[wt].test(K))return wt;if(lt&&"dd"===be&&this._minWeekdaysParse[wt].test(K))return wt;if(!lt&&this._weekdaysParse[wt].test(K))return wt}},ga.weekdaysRegex=function _s(K){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Ks.call(this),K?this._weekdaysStrictRegex:this._weekdaysRegex):(p(this,"_weekdaysRegex")||(this._weekdaysRegex=kr),this._weekdaysStrictRegex&&K?this._weekdaysStrictRegex:this._weekdaysRegex)},ga.weekdaysShortRegex=function Vo(K){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Ks.call(this),K?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(p(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ki),this._weekdaysShortStrictRegex&&K?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},ga.weekdaysMinRegex=function Fs(K){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Ks.call(this),K?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(p(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ut),this._weekdaysMinStrictRegex&&K?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},ga.isPM=function _c(K){return"p"===(K+"").toLowerCase().charAt(0)},ga.meridiem=function Fl(K,be,lt){return K>11?lt?"pm":"PM":lt?"am":"AM"},qt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(K){var be=K%10;return K+(1===zn(K%100/10)?"th":1===be?"st":2===be?"nd":3===be?"rd":"th")}}),a.lang=ce("moment.lang is deprecated. Use moment.locale instead.",qt),a.langData=ce("moment.langData is deprecated. Use moment.localeData instead.",Kn);var hu=Math.abs;function pc(K,be,lt,wt){var ln=_l(be,lt);return K._milliseconds+=wt*ln._milliseconds,K._days+=wt*ln._days,K._months+=wt*ln._months,K._bubble()}function Nl(K){return K<0?Math.floor(K):Math.ceil(K)}function oc(K){return 4800*K/146097}function h(K){return 146097*K/4800}function L(K){return function(){return this.as(K)}}var X=L("ms"),de=L("s"),ve=L("m"),Ye=L("h"),xe=L("d"),nt=L("w"),St=L("M"),Mt=L("Q"),fn=L("y");function fr(K){return function(){return this.isValid()?this._data[K]:NaN}}var $r=fr("milliseconds"),Ui=fr("seconds"),is=fr("minutes"),yo=fr("hours"),Zs=fr("days"),qs=fr("months"),el=fr("years");var Ga=Math.round,wa={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Gl(K,be,lt,wt,ln){return ln.relativeTime(be||1,!!lt,K,wt)}var xc=Math.abs;function Ou(K){return(K>0)-(K<0)||+K}function Qd(){if(!this.isValid())return this.localeData().invalidDate();var wt,ln,Dr,Ai,Aa,ca,Dl,Yl,K=xc(this._milliseconds)/1e3,be=xc(this._days),lt=xc(this._months),gs=this.asSeconds();return gs?(wt=Xn(K/60),ln=Xn(wt/60),K%=60,wt%=60,Dr=Xn(lt/12),lt%=12,Ai=K?K.toFixed(3).replace(/\.?0+$/,""):"",Aa=gs<0?"-":"",ca=Ou(this._months)!==Ou(gs)?"-":"",Dl=Ou(this._days)!==Ou(gs)?"-":"",Yl=Ou(this._milliseconds)!==Ou(gs)?"-":"",Aa+"P"+(Dr?ca+Dr+"Y":"")+(lt?ca+lt+"M":"")+(be?Dl+be+"D":"")+(ln||wt||K?"T":"")+(ln?Yl+ln+"H":"")+(wt?Yl+wt+"M":"")+(K?Yl+Ai+"S":"")):"P0D"}var il=Io.prototype;return il.isValid=function wu(){return this._isValid},il.abs=function Wc(){var K=this._data;return this._milliseconds=hu(this._milliseconds),this._days=hu(this._days),this._months=hu(this._months),K.milliseconds=hu(K.milliseconds),K.seconds=hu(K.seconds),K.minutes=hu(K.minutes),K.hours=hu(K.hours),K.months=hu(K.months),K.years=hu(K.years),this},il.add=function Jd(K,be){return pc(this,K,be,1)},il.subtract=function Jc(K,be){return pc(this,K,be,-1)},il.as=function E(K){if(!this.isValid())return NaN;var be,lt,wt=this._milliseconds;if("month"===(K=no(K))||"quarter"===K||"year"===K)switch(be=this._days+wt/864e5,lt=this._months+oc(be),K){case"month":return lt;case"quarter":return lt/3;case"year":return lt/12}else switch(be=this._days+Math.round(h(this._months)),K){case"week":return be/7+wt/6048e5;case"day":return be+wt/864e5;case"hour":return 24*be+wt/36e5;case"minute":return 1440*be+wt/6e4;case"second":return 86400*be+wt/1e3;case"millisecond":return Math.floor(864e5*be)+wt;default:throw new Error("Unknown unit "+K)}},il.asMilliseconds=X,il.asSeconds=de,il.asMinutes=ve,il.asHours=Ye,il.asDays=xe,il.asWeeks=nt,il.asMonths=St,il.asQuarters=Mt,il.asYears=fn,il.valueOf=function P(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*zn(this._months/12):NaN},il._bubble=function Uc(){var ln,Dr,Ai,gs,Aa,K=this._milliseconds,be=this._days,lt=this._months,wt=this._data;return K>=0&&be>=0&&lt>=0||K<=0&&be<=0&&lt<=0||(K+=864e5*Nl(h(lt)+be),be=0,lt=0),wt.milliseconds=K%1e3,ln=Xn(K/1e3),wt.seconds=ln%60,Dr=Xn(ln/60),wt.minutes=Dr%60,Ai=Xn(Dr/60),wt.hours=Ai%24,be+=Xn(Ai/24),lt+=Aa=Xn(oc(be)),be-=Nl(h(Aa)),gs=Xn(lt/12),lt%=12,wt.days=be,wt.months=lt,wt.years=gs,this},il.clone=function jn(){return _l(this)},il.get=function Vn(K){return K=no(K),this.isValid()?this[K+"s"]():NaN},il.milliseconds=$r,il.seconds=Ui,il.minutes=is,il.hours=yo,il.days=Zs,il.weeks=function $a(){return Xn(this.days()/7)},il.months=qs,il.years=el,il.humanize=function ku(K,be){if(!this.isValid())return this.localeData().invalidDate();var ln,Dr,lt=!1,wt=wa;return"object"==typeof K&&(be=K,K=!1),"boolean"==typeof K&&(lt=K),"object"==typeof be&&(wt=Object.assign({},wa,be),null!=be.s&&null==be.ss&&(wt.ss=be.s-1)),Dr=function _u(K,be,lt,wt){var ln=_l(K).abs(),Dr=Ga(ln.as("s")),Ai=Ga(ln.as("m")),gs=Ga(ln.as("h")),Aa=Ga(ln.as("d")),ca=Ga(ln.as("M")),Dl=Ga(ln.as("w")),Yl=Ga(ln.as("y")),Yc=Dr<=lt.ss&&["s",Dr]||Dr<lt.s&&["ss",Dr]||Ai<=1&&["m"]||Ai<lt.m&&["mm",Ai]||gs<=1&&["h"]||gs<lt.h&&["hh",gs]||Aa<=1&&["d"]||Aa<lt.d&&["dd",Aa];return null!=lt.w&&(Yc=Yc||Dl<=1&&["w"]||Dl<lt.w&&["ww",Dl]),(Yc=Yc||ca<=1&&["M"]||ca<lt.M&&["MM",ca]||Yl<=1&&["y"]||["yy",Yl])[2]=be,Yc[3]=+K>0,Yc[4]=wt,Gl.apply(null,Yc)}(this,!lt,wt,ln=this.localeData()),lt&&(Dr=ln.pastFuture(+this,Dr)),ln.postformat(Dr)},il.toISOString=Qd,il.toString=Qd,il.toJSON=Qd,il.locale=Lo,il.localeData=ms,il.toIsoString=ce("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Qd),il.lang=Ta,vt("X",0,0,"unix"),vt("x",0,0,"valueOf"),yt("x",ti),yt("X",/[+-]?\d+(\.\d{1,3})?/),yi("X",function(K,be,lt){lt._d=new Date(1e3*parseFloat(K))}),yi("x",function(K,be,lt){lt._d=new Date(zn(K))}),a.version="2.29.4",function f(K){r=K}(ra),a.fn=vo,a.min=function uu(){return tc("isBefore",[].slice.call(arguments,0))},a.max=function du(){return tc("isAfter",[].slice.call(arguments,0))},a.now=function(){return Date.now?Date.now():+new Date},a.utc=W,a.unix=function pu(K){return ra(1e3*K)},a.months=function ic(K,be){return Lu(K,be,"months")},a.isDate=w,a.locale=qt,a.invalid=H,a.duration=_l,a.isMoment=_e,a.weekdays=function Sc(K,be,lt){return bc(K,be,lt,"weekdays")},a.parseZone=function $l(){return ra.apply(null,arguments).parseZone()},a.localeData=Kn,a.isDuration=fu,a.monthsShort=function Ql(K,be){return Lu(K,be,"monthsShort")},a.weekdaysMin=function Zu(K,be,lt){return bc(K,be,lt,"weekdaysMin")},a.defineLocale=pt,a.updateLocale=function Kt(K,be){if(null!=be){var lt,wt,ln=Ku;null!=Xa[K]&&null!=Xa[K].parentLocale?Xa[K].set(Pe(Xa[K]._config,be)):(null!=(wt=rt(K))&&(ln=wt._config),be=Pe(ln,be),null==wt&&(be.abbr=K),(lt=new Ge(be)).parentLocale=Xa[K],Xa[K]=lt),qt(K)}else null!=Xa[K]&&(null!=Xa[K].parentLocale?(Xa[K]=Xa[K].parentLocale,K===qt()&&qt(K)):null!=Xa[K]&&delete Xa[K]);return Xa[K]},a.locales=function oi(){return Oe(Xa)},a.weekdaysShort=function Tc(K,be,lt){return bc(K,be,lt,"weekdaysShort")},a.normalizeUnits=no,a.relativeTimeRounding=function Va(K){return void 0===K?Ga:"function"==typeof K&&(Ga=K,!0)},a.relativeTimeThreshold=function Mu(K,be){return void 0!==wa[K]&&(void 0===be?wa[K]:(wa[K]=be,"s"===K&&(wa.ss=be-1),!0))},a.calendarFormat=function Mo(K,be){var lt=K.diff(be,"days",!0);return lt<-6?"sameElse":lt<-1?"lastWeek":lt<0?"lastDay":lt<1?"sameDay":lt<2?"nextDay":lt<7?"nextWeek":"sameElse"},a.prototype=vo,a.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},a}()},90504:(v,b,i)=>{"use strict";i.d(b,{_:()=>p,w:()=>T});var r=i(89724),a=i(11048),f=function(M,w,R,U){var q,W=arguments.length,j=W<3?w:null===U?U=Object.getOwnPropertyDescriptor(w,R):U;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)j=Reflect.decorate(M,w,R,U);else for(var ue=M.length-1;ue>=0;ue--)(q=M[ue])&&(j=(W<3?q(j):W>3?q(w,R,j):q(w,R))||j);return W>3&&j&&Object.defineProperty(w,R,j),j},u=function(M,w){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(M,w)},e=function(M,w){return function(R,U){w(R,U,M)}},p=function(){function M(w,R,U){this._el=w,this._ngZone=R,this.platformId=U,this.clickOutsideEnabled=!0,this.attachOutsideOnClick=!1,this.delayClickOutsideInit=!1,this.emitOnBlur=!1,this.exclude="",this.excludeBeforeClick=!1,this.clickOutsideEvents="",this.clickOutside=new r.vpe,this._nodesExcluded=[],this._events=["click"],this._initOnClickBody=this._initOnClickBody.bind(this),this._onClickBody=this._onClickBody.bind(this),this._onWindowBlur=this._onWindowBlur.bind(this)}return M.prototype.ngOnInit=function(){!(0,a.NF)(this.platformId)||this._init()},M.prototype.ngOnDestroy=function(){!(0,a.NF)(this.platformId)||(this._removeClickOutsideListener(),this._removeAttachOutsideOnClickListener(),this._removeWindowBlurListener())},M.prototype.ngOnChanges=function(w){!(0,a.NF)(this.platformId)||(w.attachOutsideOnClick||w.exclude||w.emitOnBlur)&&this._init()},M.prototype._init=function(){""!==this.clickOutsideEvents&&(this._events=this.clickOutsideEvents.split(",").map(function(w){return w.trim()})),this._excludeCheck(),this.attachOutsideOnClick?this._initAttachOutsideOnClickListener():this._initOnClickBody(),this.emitOnBlur&&this._initWindowBlurListener()},M.prototype._initOnClickBody=function(){this.delayClickOutsideInit?setTimeout(this._initClickOutsideListener.bind(this)):this._initClickOutsideListener()},M.prototype._excludeCheck=function(){if(this.exclude)try{var w=Array.from(document.querySelectorAll(this.exclude));w&&(this._nodesExcluded=w)}catch(R){console.error("[ng-click-outside] Check your exclude selector syntax.",R)}},M.prototype._onClickBody=function(w){!this.clickOutsideEnabled||(this.excludeBeforeClick&&this._excludeCheck(),!this._el.nativeElement.contains(w.target)&&!this._shouldExclude(w.target)&&(this._emit(w),this.attachOutsideOnClick&&this._removeClickOutsideListener()))},M.prototype._onWindowBlur=function(w){var R=this;setTimeout(function(){document.hidden||R._emit(w)})},M.prototype._emit=function(w){var R=this;!this.clickOutsideEnabled||this._ngZone.run(function(){return R.clickOutside.emit(w)})},M.prototype._shouldExclude=function(w){for(var R=0,U=this._nodesExcluded;R<U.length;R++)if(U[R].contains(w))return!0;return!1},M.prototype._initClickOutsideListener=function(){var w=this;this._ngZone.runOutsideAngular(function(){w._events.forEach(function(R){return document.addEventListener(R,w._onClickBody)})})},M.prototype._removeClickOutsideListener=function(){var w=this;this._ngZone.runOutsideAngular(function(){w._events.forEach(function(R){return document.removeEventListener(R,w._onClickBody)})})},M.prototype._initAttachOutsideOnClickListener=function(){var w=this;this._ngZone.runOutsideAngular(function(){w._events.forEach(function(R){return w._el.nativeElement.addEventListener(R,w._initOnClickBody)})})},M.prototype._removeAttachOutsideOnClickListener=function(){var w=this;this._ngZone.runOutsideAngular(function(){w._events.forEach(function(R){return w._el.nativeElement.removeEventListener(R,w._initOnClickBody)})})},M.prototype._initWindowBlurListener=function(){var w=this;this._ngZone.runOutsideAngular(function(){window.addEventListener("blur",w._onWindowBlur)})},M.prototype._removeWindowBlurListener=function(){var w=this;this._ngZone.runOutsideAngular(function(){window.removeEventListener("blur",w._onWindowBlur)})},f([(0,r.IIB)(),u("design:type",Boolean)],M.prototype,"clickOutsideEnabled",void 0),f([(0,r.IIB)(),u("design:type",Boolean)],M.prototype,"attachOutsideOnClick",void 0),f([(0,r.IIB)(),u("design:type",Boolean)],M.prototype,"delayClickOutsideInit",void 0),f([(0,r.IIB)(),u("design:type",Boolean)],M.prototype,"emitOnBlur",void 0),f([(0,r.IIB)(),u("design:type",String)],M.prototype,"exclude",void 0),f([(0,r.IIB)(),u("design:type",Boolean)],M.prototype,"excludeBeforeClick",void 0),f([(0,r.IIB)(),u("design:type",String)],M.prototype,"clickOutsideEvents",void 0),f([(0,r.r_U)(),u("design:type",r.vpe)],M.prototype,"clickOutside",void 0),(M=f([e(2,(0,r.tBr)(r.Lbi)),u("design:paramtypes",[r.SBq,r.R0b,Object])],M)).\u0275fac=function(R){return new(R||M)(r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(r.Lbi))},M.\u0275dir=r.lG2({type:M,selectors:[["","clickOutside",""]],inputs:{clickOutsideEnabled:"clickOutsideEnabled",attachOutsideOnClick:"attachOutsideOnClick",delayClickOutsideInit:"delayClickOutsideInit",emitOnBlur:"emitOnBlur",exclude:"exclude",excludeBeforeClick:"excludeBeforeClick",clickOutsideEvents:"clickOutsideEvents"},outputs:{clickOutside:"clickOutside"},features:[r.TTD]}),M.\u0275prov=r.Yz7({token:M,factory:function(w){return M.\u0275fac(w)}}),M}(),T=function(){function M(){}return M.\u0275fac=function(R){return new(R||M)},M.\u0275mod=r.oAB({type:M}),M.\u0275inj=r.cJS({}),M}()},72621:(v,b,i)=>{"use strict";i.d(b,{jh:()=>_e,m9:()=>Ce});var r=i(89724),a=i(26215),f=i(65252);var T=i(6823);const M=[[255,99,132],[54,162,235],[255,206,86],[231,233,237],[75,192,192],[151,187,205],[220,220,220],[247,70,74],[70,191,189],[253,180,92],[148,159,177],[77,83,96]];function R(He,Pe){return"rgba("+He.concat(Pe).join(",")+")"}function U(He,Pe){return Math.floor(Math.random()*(Pe-He+1))+He}function q(He){return{backgroundColor:He.map(Pe=>R(Pe,.6)),borderColor:He.map(()=>"#fff"),pointBackgroundColor:He.map(Pe=>R(Pe,1)),pointBorderColor:He.map(()=>"#fff"),pointHoverBackgroundColor:He.map(Pe=>R(Pe,1)),pointHoverBorderColor:He.map(Pe=>R(Pe,1))}}function re(){return[U(0,255),U(0,255),U(0,255)]}function H(He){return M[He]||re()}function se(He){const Pe=new Array(He);for(let Ge=0;Ge<He;Ge++)Pe[Ge]=M[Ge]||re();return Pe}let ae=(()=>{class He{constructor(){this.pColorschemesOptions={},this.colorschemesOptions=new a.X({})}setColorschemesOptions(Ge){this.pColorschemesOptions=Ge,this.colorschemesOptions.next(Ge)}getColorschemesOptions(){return this.pColorschemesOptions}}return He.\u0275fac=function(Ge){return new(Ge||He)},He.\u0275prov=(0,r.Yz7)({factory:function(){return new He},token:He,providedIn:"root"}),He})();const fe={Default:0,Update:1,Refresh:2};fe[fe.Default]="Default",fe[fe.Update]="Update",fe[fe.Refresh]="Refresh";let _e=(()=>{class He{constructor(Ge,Oe){this.element=Ge,this.themeService=Oe,this.options={},this.chartClick=new r.vpe,this.chartHover=new r.vpe,this.old={dataExists:!1,dataLength:0,datasetsExists:!1,datasetsLength:0,datasetsDataObjects:[],datasetsDataLengths:[],colorsExists:!1,colors:[],labelsExist:!1,labels:[],legendExists:!1,legend:{}},this.subs=[]}static registerPlugin(Ge){T.pluginService.register(Ge)}static unregisterPlugin(Ge){T.pluginService.unregister(Ge)}ngOnInit(){this.ctx=this.element.nativeElement.getContext("2d"),this.refresh(),this.subs.push(this.themeService.colorschemesOptions.subscribe(Ge=>this.themeChanged(Ge)))}themeChanged(Ge){this.refresh()}ngDoCheck(){if(!this.chart)return;let Ge=fe.Default;const Oe=Tt=>{Ge=Tt>Ge?Tt:Ge};switch(!!this.data!==this.old.dataExists&&(this.propagateDataToDatasets(this.data),this.old.dataExists=!!this.data,Oe(fe.Update)),this.data&&this.data.length!==this.old.dataLength&&(this.old.dataLength=this.data&&this.data.length||0,Oe(fe.Update)),!!this.datasets!==this.old.datasetsExists&&(this.old.datasetsExists=!!this.datasets,Oe(fe.Update)),this.datasets&&this.datasets.length!==this.old.datasetsLength&&(this.old.datasetsLength=this.datasets&&this.datasets.length||0,Oe(fe.Update)),this.datasets&&this.datasets.filter((Tt,We)=>Tt.data!==this.old.datasetsDataObjects[We]).length&&(this.old.datasetsDataObjects=this.datasets.map(Tt=>Tt.data),Oe(fe.Update)),this.datasets&&this.datasets.filter((Tt,We)=>Tt.data.length!==this.old.datasetsDataLengths[We]).length&&(this.old.datasetsDataLengths=this.datasets.map(Tt=>Tt.data.length),Oe(fe.Update)),!!this.colors!==this.old.colorsExists&&(this.old.colorsExists=!!this.colors,this.updateColors(),Oe(fe.Update)),this.colors&&this.colors.filter((Tt,We)=>!this.colorsEqual(Tt,this.old.colors[We])).length&&(this.old.colors=this.colors.map(Tt=>this.copyColor(Tt)),this.updateColors(),Oe(fe.Update)),!!this.labels!==this.old.labelsExist&&(this.old.labelsExist=!!this.labels,Oe(fe.Update)),this.labels&&this.labels.filter((Tt,We)=>!this.labelsEqual(Tt,this.old.labels[We])).length&&(this.old.labels=this.labels.map(Tt=>this.copyLabel(Tt)),Oe(fe.Update)),!!this.options.legend!==this.old.legendExists&&(this.old.legendExists=!!this.options.legend,Oe(fe.Refresh)),this.options.legend&&this.options.legend.position!==this.old.legend.position&&(this.old.legend.position=this.options.legend.position,Oe(fe.Refresh)),Ge){case fe.Default:break;case fe.Update:this.update();break;case fe.Refresh:this.refresh()}}copyLabel(Ge){return Array.isArray(Ge)?[...Ge]:Ge}labelsEqual(Ge,Oe){return Array.isArray(Ge)===Array.isArray(Oe)&&(Array.isArray(Ge)||Ge===Oe)&&(!Array.isArray(Ge)||Ge.length===Oe.length)&&(!Array.isArray(Ge)||0===Ge.filter((Tt,We)=>Tt!==Oe[We]).length)}copyColor(Ge){return{backgroundColor:Ge.backgroundColor,borderWidth:Ge.borderWidth,borderColor:Ge.borderColor,borderCapStyle:Ge.borderCapStyle,borderDash:Ge.borderDash,borderDashOffset:Ge.borderDashOffset,borderJoinStyle:Ge.borderJoinStyle,pointBorderColor:Ge.pointBorderColor,pointBackgroundColor:Ge.pointBackgroundColor,pointBorderWidth:Ge.pointBorderWidth,pointRadius:Ge.pointRadius,pointHoverRadius:Ge.pointHoverRadius,pointHitRadius:Ge.pointHitRadius,pointHoverBackgroundColor:Ge.pointHoverBackgroundColor,pointHoverBorderColor:Ge.pointHoverBorderColor,pointHoverBorderWidth:Ge.pointHoverBorderWidth,pointStyle:Ge.pointStyle,hoverBackgroundColor:Ge.hoverBackgroundColor,hoverBorderColor:Ge.hoverBorderColor,hoverBorderWidth:Ge.hoverBorderWidth}}colorsEqual(Ge,Oe){return!Ge==!Oe&&(!Ge||Ge.backgroundColor===Oe.backgroundColor&&Ge.borderWidth===Oe.borderWidth&&Ge.borderColor===Oe.borderColor&&Ge.borderCapStyle===Oe.borderCapStyle&&Ge.borderDash===Oe.borderDash&&Ge.borderDashOffset===Oe.borderDashOffset&&Ge.borderJoinStyle===Oe.borderJoinStyle&&Ge.pointBorderColor===Oe.pointBorderColor&&Ge.pointBackgroundColor===Oe.pointBackgroundColor&&Ge.pointBorderWidth===Oe.pointBorderWidth&&Ge.pointRadius===Oe.pointRadius&&Ge.pointHoverRadius===Oe.pointHoverRadius&&Ge.pointHitRadius===Oe.pointHitRadius&&Ge.pointHoverBackgroundColor===Oe.pointHoverBackgroundColor&&Ge.pointHoverBorderColor===Oe.pointHoverBorderColor&&Ge.pointHoverBorderWidth===Oe.pointHoverBorderWidth&&Ge.pointStyle===Oe.pointStyle&&Ge.hoverBackgroundColor===Oe.hoverBackgroundColor&&Ge.hoverBorderColor===Oe.hoverBorderColor&&Ge.hoverBorderWidth===Oe.hoverBorderWidth)}updateColors(){this.datasets.forEach((Ge,Oe)=>{this.colors&&this.colors[Oe]?Object.assign(Ge,this.colors[Oe]):Object.assign(Ge,function w(He,Pe,Ge){if("pie"===He||"doughnut"===He)return q(se(Ge));if("polarArea"===He)return function ue(He){return{backgroundColor:He.map(Pe=>R(Pe,.6)),borderColor:He.map(Pe=>R(Pe,1)),hoverBackgroundColor:He.map(Pe=>R(Pe,.8)),hoverBorderColor:He.map(Pe=>R(Pe,1))}}(se(Ge));if("line"===He||"radar"===He)return function W(He){return{backgroundColor:R(He,.4),borderColor:R(He,1),pointBackgroundColor:R(He,1),pointBorderColor:"#fff",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:R(He,.8)}}(H(Pe));if("bar"===He||"horizontalBar"===He)return function j(He){return{backgroundColor:R(He,.6),borderColor:R(He,1),hoverBackgroundColor:R(He,.8),hoverBorderColor:R(He,1)}}(H(Pe));if("bubble"===He||"scatter"===He)return q(se(Ge));throw new Error(`getColors - Unsupported chart type ${He}`)}(this.chartType,Oe,Ge.data.length),Object.assign({},Ge))})}ngOnChanges(Ge){let Oe=fe.Default;const Tt=We=>{Oe=We>Oe?We:Oe};switch(Ge.hasOwnProperty("data")&&Ge.data.currentValue&&(this.propagateDataToDatasets(Ge.data.currentValue),Tt(fe.Update)),Ge.hasOwnProperty("datasets")&&Ge.datasets.currentValue&&(this.propagateDatasetsToData(Ge.datasets.currentValue),Tt(fe.Update)),Ge.hasOwnProperty("labels")&&(this.chart&&(this.chart.data.labels=Ge.labels.currentValue),Tt(fe.Update)),Ge.hasOwnProperty("legend")&&(this.chart&&(this.chart.config.options.legend.display=Ge.legend.currentValue,this.chart.generateLegend()),Tt(fe.Update)),Ge.hasOwnProperty("options")&&Tt(fe.Refresh),Oe){case fe.Update:this.update();break;case fe.Refresh:case fe.Default:this.refresh()}}ngOnDestroy(){this.chart&&(this.chart.destroy(),this.chart=void 0),this.subs.forEach(Ge=>Ge.unsubscribe())}update(Ge){if(this.chart)return this.chart.update(Ge)}hideDataset(Ge,Oe){this.chart.getDatasetMeta(Ge).hidden=Oe,this.chart.update()}isDatasetHidden(Ge){return this.chart.getDatasetMeta(Ge).hidden}toBase64Image(){return this.chart.toBase64Image()}getChartConfiguration(){const Ge=this.getDatasets(),Oe=Object.assign({},this.options);!1===this.legend&&(Oe.legend={display:!1}),Oe.hover=Oe.hover||{},Oe.hover.onHover||(Oe.hover.onHover=(We,Qt)=>{Qt&&!Qt.length||this.chartHover.emit({event:We,active:Qt})}),Oe.onClick||(Oe.onClick=(We,Qt)=>{this.chartClick.emit({event:We,active:Qt})});const Tt=this.smartMerge(Oe,this.themeService.getColorschemesOptions());return{type:this.chartType,data:{labels:this.labels||[],datasets:Ge},plugins:this.plugins,options:Tt}}getChartBuilder(Ge){const Oe=this.getChartConfiguration();return new T.Chart(Ge,Oe)}smartMerge(Ge,Oe,Tt=0){if(0===Tt&&(Ge=function p(He){return(0,f.Z)(He,5)}(Ge)),Object.keys(Oe).forEach(Qt=>{if(Array.isArray(Oe[Qt])){const Nt=Ge[Qt];Nt&&Nt.forEach(Yt=>{this.smartMerge(Yt,Oe[Qt][0],Tt+1)})}else"object"==typeof Oe[Qt]?(Qt in Ge||(Ge[Qt]={}),this.smartMerge(Ge[Qt],Oe[Qt],Tt+1)):Ge[Qt]=Oe[Qt]}),0===Tt)return Ge}isMultiLineLabel(Ge){return Array.isArray(Ge)}joinLabel(Ge){return Ge?this.isMultiLineLabel(Ge)?Ge.join(" "):Ge:null}propagateDatasetsToData(Ge){this.data=this.datasets.map(Oe=>Oe.data),this.chart&&(this.chart.data.datasets=Ge),this.updateColors()}propagateDataToDatasets(Ge){this.isMultiDataSet(Ge)?this.datasets&&Ge.length===this.datasets.length?this.datasets.forEach((Oe,Tt)=>{Oe.data=Ge[Tt]}):(this.datasets=Ge.map((Oe,Tt)=>({data:Oe,label:this.joinLabel(this.labels[Tt])||`Label ${Tt}`})),this.chart&&(this.chart.data.datasets=this.datasets)):this.datasets?(this.datasets[0]||(this.datasets[0]={}),this.datasets[0].data=Ge,this.datasets.splice(1)):(this.datasets=[{data:Ge}],this.chart&&(this.chart.data.datasets=this.datasets)),this.updateColors()}isMultiDataSet(Ge){return Array.isArray(Ge[0])}getDatasets(){if(!this.datasets&&!this.data)throw new Error(`ng-charts configuration error, data or datasets field are required to render chart ${this.chartType}`);return this.datasets?(this.propagateDatasetsToData(this.datasets),this.datasets):this.data?(this.propagateDataToDatasets(this.data),this.datasets):void 0}refresh(){this.chart&&(this.chart.destroy(),this.chart=void 0),this.ctx&&(this.chart=this.getChartBuilder(this.ctx))}}return He.\u0275fac=function(Ge){return new(Ge||He)(r.Y36(r.SBq),r.Y36(ae))},He.\u0275dir=r.lG2({type:He,selectors:[["canvas","baseChart",""]],inputs:{options:"options",data:"data",datasets:"datasets",labels:"labels",chartType:"chartType",colors:"colors",legend:"legend",plugins:"plugins"},outputs:{chartClick:"chartClick",chartHover:"chartHover"},exportAs:["base-chart"],features:[r.TTD]}),He})(),Ce=(()=>{class He{}return He.\u0275fac=function(Ge){return new(Ge||He)},He.\u0275mod=r.oAB({type:He}),He.\u0275inj=r.cJS({imports:[[]]}),He})()},37496:(v,b,i)=>{"use strict";i.d(b,{b:()=>f,i:()=>a});var r=i(89724);let a=(()=>{class u{transform(p,g,T){return T?g.call(T,p):g(p)}}return u.\u0275fac=function(p){return new(p||u)},u.\u0275pipe=r.Yjl({name:"pipeFunction",type:u,pure:!0}),u})(),f=(()=>{class u{}return u.\u0275fac=function(p){return new(p||u)},u.\u0275mod=r.oAB({type:u}),u.\u0275inj=r.cJS({}),u})()},18228:v=>{"use strict";var b=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function a(u){if(null==u)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(u)}v.exports=function f(){try{if(!Object.assign)return!1;var u=new String("abc");if(u[5]="de","5"===Object.getOwnPropertyNames(u)[0])return!1;for(var e={},p=0;p<10;p++)e["_"+String.fromCharCode(p)]=p;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(M){return e[M]}).join(""))return!1;var T={};return"abcdefghijklmnopqrst".split("").forEach(function(M){T[M]=M}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},T)).join("")}catch(M){return!1}}()?Object.assign:function(u,e){for(var p,T,g=a(u),M=1;M<arguments.length;M++){for(var w in p=Object(arguments[M]))i.call(p,w)&&(g[w]=p[w]);if(b){T=b(p);for(var R=0;R<T.length;R++)r.call(p,T[R])&&(g[T[R]]=p[T[R]])}}return g}},81380:(v,b,i)=>{var r="function"==typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,f=r&&a&&"function"==typeof a.get?a.get:null,u=r&&Map.prototype.forEach,e="function"==typeof Set&&Set.prototype,p=Object.getOwnPropertyDescriptor&&e?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,g=e&&p&&"function"==typeof p.get?p.get:null,T=e&&Set.prototype.forEach,w="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,U="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,j="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,q=Boolean.prototype.valueOf,ue=Object.prototype.toString,re=Function.prototype.toString,H=String.prototype.match,se=String.prototype.slice,ae=String.prototype.replace,ie=String.prototype.toUpperCase,fe=String.prototype.toLowerCase,_e=RegExp.prototype.test,Ce=Array.prototype.concat,ce=Array.prototype.join,Be=Array.prototype.slice,Ve=Math.floor,Xe="function"==typeof BigInt?BigInt.prototype.valueOf:null,He=Object.getOwnPropertySymbols,Pe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,Ge="function"==typeof Symbol&&"object"==typeof Symbol.iterator,Oe="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol,1)?Symbol.toStringTag:null,Tt=Object.prototype.propertyIsEnumerable,We=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(mn){return mn.__proto__}:null);function Qt(mn,Rn){if(mn===1/0||mn===-1/0||mn!=mn||mn&&mn>-1e3&&mn<1e3||_e.call(/e/,Rn))return Rn;var Wn=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof mn){var et=mn<0?-Ve(-mn):Ve(mn);if(et!==mn){var Le=String(et),Re=se.call(Rn,Le.length+1);return ae.call(Le,Wn,"$&_")+"."+ae.call(ae.call(Re,/([0-9]{3})/g,"$&_"),/_$/,"")}}return ae.call(Rn,Wn,"$&_")}var Nt=i(24654),Yt=Nt.custom,dn=hr(Yt)?Yt:null;function rn(mn,Rn,Wn){var et="double"===(Wn.quoteStyle||Rn)?'"':"'";return et+mn+et}function vt(mn){return ae.call(String(mn),/"/g,"&quot;")}function xt(mn){return!("[object Array]"!==er(mn)||Oe&&"object"==typeof mn&&Oe in mn)}function Gt(mn){return!("[object RegExp]"!==er(mn)||Oe&&"object"==typeof mn&&Oe in mn)}function hr(mn){if(Ge)return mn&&"object"==typeof mn&&mn instanceof Symbol;if("symbol"==typeof mn)return!0;if(!mn||"object"!=typeof mn||!Pe)return!1;try{return Pe.call(mn),!0}catch(Rn){}return!1}v.exports=function mn(Rn,Wn,et,Le){var Re=Wn||{};if(Hn(Re,"quoteStyle")&&"single"!==Re.quoteStyle&&"double"!==Re.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Hn(Re,"maxStringLength")&&("number"==typeof Re.maxStringLength?Re.maxStringLength<0&&Re.maxStringLength!==1/0:null!==Re.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var Se=!Hn(Re,"customInspect")||Re.customInspect;if("boolean"!=typeof Se&&"symbol"!==Se)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Hn(Re,"indent")&&null!==Re.indent&&"\t"!==Re.indent&&!(parseInt(Re.indent,10)===Re.indent&&Re.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Hn(Re,"numericSeparator")&&"boolean"!=typeof Re.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var dt=Re.numericSeparator;if(void 0===Rn)return"undefined";if(null===Rn)return"null";if("boolean"==typeof Rn)return Rn?"true":"false";if("string"==typeof Rn)return vn(Rn,Re);if("number"==typeof Rn){if(0===Rn)return 1/0/Rn>0?"0":"-0";var st=String(Rn);return dt?Qt(Rn,st):st}if("bigint"==typeof Rn){var nn=String(Rn)+"n";return dt?Qt(Rn,nn):nn}var Fe=void 0===Re.depth?5:Re.depth;if(void 0===et&&(et=0),et>=Fe&&Fe>0&&"object"==typeof Rn)return xt(Rn)?"[Array]":"[Object]";var Lr=function ui(mn,Rn){var Wn;if("\t"===mn.indent)Wn="\t";else{if(!("number"==typeof mn.indent&&mn.indent>0))return null;Wn=ce.call(Array(mn.indent+1)," ")}return{base:Wn,prev:ce.call(Array(Rn+1),Wn)}}(Re,et);if(void 0===Le)Le=[];else if(ei(Le,Rn)>=0)return"[Circular]";function ti(Xo,ir,si){if(ir&&(Le=Be.call(Le)).push(ir),si){var kn={depth:Re.depth};return Hn(Re,"quoteStyle")&&(kn.quoteStyle=Re.quoteStyle),mn(Xo,kn,et+1,Le)}return mn(Xo,Re,et+1,Le)}if("function"==typeof Rn&&!Gt(Rn)){var Ut=function _r(mn){if(mn.name)return mn.name;var Rn=H.call(re.call(mn),/^function\s*([\w$]+)/);return Rn?Rn[1]:null}(Rn),Dn=Ji(Rn,ti);return"[Function"+(Ut?": "+Ut:" (anonymous)")+"]"+(Dn.length>0?" { "+ce.call(Dn,", ")+" }":"")}if(hr(Rn)){var Et=Ge?ae.call(String(Rn),/^(Symbol\(.*\))_[^)]*$/,"$1"):Pe.call(Rn);return"object"!=typeof Rn||Ge?Et:Xn(Et)}if(function an(mn){return!(!mn||"object"!=typeof mn)&&("undefined"!=typeof HTMLElement&&mn instanceof HTMLElement||"string"==typeof mn.nodeName&&"function"==typeof mn.getAttribute)}(Rn)){for(var $t="<"+fe.call(String(Rn.nodeName)),_t=Rn.attributes||[],yt=0;yt<_t.length;yt++)$t+=" "+_t[yt].name+"="+rn(vt(_t[yt].value),"double",Re);return $t+=">",Rn.childNodes&&Rn.childNodes.length&&($t+="..."),$t+"</"+fe.call(String(Rn.nodeName))+">"}if(xt(Rn)){if(0===Rn.length)return"[]";var Vt=Ji(Rn,ti);return Lr&&!function Gi(mn){for(var Rn=0;Rn<mn.length;Rn++)if(ei(mn[Rn],"\n")>=0)return!1;return!0}(Vt)?"["+vr(Vt,Lr)+"]":"[ "+ce.call(Vt,", ")+" ]"}if(function Fn(mn){return!("[object Error]"!==er(mn)||Oe&&"object"==typeof mn&&Oe in mn)}(Rn)){var yn=Ji(Rn,ti);return"cause"in Error.prototype||!("cause"in Rn)||Tt.call(Rn,"cause")?0===yn.length?"["+String(Rn)+"]":"{ ["+String(Rn)+"] "+ce.call(yn,", ")+" }":"{ ["+String(Rn)+"] "+ce.call(Ce.call("[cause]: "+ti(Rn.cause),yn),", ")+" }"}if("object"==typeof Rn&&Se){if(dn&&"function"==typeof Rn[dn]&&Nt)return Nt(Rn,{depth:Fe-et});if("symbol"!==Se&&"function"==typeof Rn.inspect)return Rn.inspect()}if(function bi(mn){if(!f||!mn||"object"!=typeof mn)return!1;try{f.call(mn);try{g.call(mn)}catch(Rn){return!0}return mn instanceof Map}catch(Rn){}return!1}(Rn)){var Cr=[];return u&&u.call(Rn,function(Xo,ir){Cr.push(ti(ir,Rn,!0)+" => "+ti(Xo,Rn))}),ri("Map",f.call(Rn),Cr,Lr)}if(function xo(mn){if(!g||!mn||"object"!=typeof mn)return!1;try{g.call(mn);try{f.call(mn)}catch(Rn){return!0}return mn instanceof Set}catch(Rn){}return!1}(Rn)){var xi=[];return T&&T.call(Rn,function(Xo){xi.push(ti(Xo,Rn))}),ri("Set",g.call(Rn),xi,Lr)}if(function fi(mn){if(!w||!mn||"object"!=typeof mn)return!1;try{w.call(mn,w);try{U.call(mn,U)}catch(Rn){return!0}return mn instanceof WeakMap}catch(Rn){}return!1}(Rn))return zn("WeakMap");if(function Er(mn){if(!U||!mn||"object"!=typeof mn)return!1;try{U.call(mn,U);try{w.call(mn,w)}catch(Rn){return!0}return mn instanceof WeakSet}catch(Rn){}return!1}(Rn))return zn("WeakSet");if(function no(mn){if(!j||!mn||"object"!=typeof mn)return!1;try{return j.call(mn),!0}catch(Rn){}return!1}(Rn))return zn("WeakRef");if(function mi(mn){return!("[object Number]"!==er(mn)||Oe&&"object"==typeof mn&&Oe in mn)}(Rn))return Xn(ti(Number(Rn)));if(function Br(mn){if(!mn||"object"!=typeof mn||!Xe)return!1;try{return Xe.call(mn),!0}catch(Rn){}return!1}(Rn))return Xn(ti(Xe.call(Rn)));if(function ci(mn){return!("[object Boolean]"!==er(mn)||Oe&&"object"==typeof mn&&Oe in mn)}(Rn))return Xn(q.call(Rn));if(function pr(mn){return!("[object String]"!==er(mn)||Oe&&"object"==typeof mn&&Oe in mn)}(Rn))return Xn(ti(String(Rn)));if(!function Ct(mn){return!("[object Date]"!==er(mn)||Oe&&"object"==typeof mn&&Oe in mn)}(Rn)&&!Gt(Rn)){var yi=Ji(Rn,ti),Uo=We?We(Rn)===Object.prototype:Rn instanceof Object||Rn.constructor===Object,Qo=Rn instanceof Object?"":"null prototype",lo=!Uo&&Oe&&Object(Rn)===Rn&&Oe in Rn?se.call(er(Rn),8,-1):Qo?"Object":"",ko=(Uo||"function"!=typeof Rn.constructor?"":Rn.constructor.name?Rn.constructor.name+" ":"")+(lo||Qo?"["+ce.call(Ce.call([],lo||[],Qo||[]),": ")+"] ":"");return 0===yi.length?ko+"{}":Lr?ko+"{"+vr(yi,Lr)+"}":ko+"{ "+ce.call(yi,", ")+" }"}return String(Rn)};var Ur=Object.prototype.hasOwnProperty||function(mn){return mn in this};function Hn(mn,Rn){return Ur.call(mn,Rn)}function er(mn){return ue.call(mn)}function ei(mn,Rn){if(mn.indexOf)return mn.indexOf(Rn);for(var Wn=0,et=mn.length;Wn<et;Wn++)if(mn[Wn]===Rn)return Wn;return-1}function vn(mn,Rn){if(mn.length>Rn.maxStringLength){var Wn=mn.length-Rn.maxStringLength,et="... "+Wn+" more character"+(Wn>1?"s":"");return vn(se.call(mn,0,Rn.maxStringLength),Rn)+et}return rn(ae.call(ae.call(mn,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Zn),"single",Rn)}function Zn(mn){var Rn=mn.charCodeAt(0),Wn={8:"b",9:"t",10:"n",12:"f",13:"r"}[Rn];return Wn?"\\"+Wn:"\\x"+(Rn<16?"0":"")+ie.call(Rn.toString(16))}function Xn(mn){return"Object("+mn+")"}function zn(mn){return mn+" { ? }"}function ri(mn,Rn,Wn,et){return mn+" ("+Rn+") {"+(et?vr(Wn,et):ce.call(Wn,", "))+"}"}function vr(mn,Rn){if(0===mn.length)return"";var Wn="\n"+Rn.prev+Rn.base;return Wn+ce.call(mn,","+Wn)+"\n"+Rn.prev}function Ji(mn,Rn){var Wn=xt(mn),et=[];if(Wn){et.length=mn.length;for(var Le=0;Le<mn.length;Le++)et[Le]=Hn(mn,Le)?Rn(mn[Le],mn):""}var Se,Re="function"==typeof He?He(mn):[];if(Ge){Se={};for(var dt=0;dt<Re.length;dt++)Se["$"+Re[dt]]=Re[dt]}for(var st in mn)!Hn(mn,st)||Wn&&String(Number(st))===st&&st<mn.length||Ge&&Se["$"+st]instanceof Symbol||(_e.call(/[^\w$]/,st)?et.push(Rn(st,mn)+": "+Rn(mn[st],mn)):et.push(st+": "+Rn(mn[st],mn)));if("function"==typeof He)for(var nn=0;nn<Re.length;nn++)Tt.call(mn,Re[nn])&&et.push("["+Rn(Re[nn])+"]: "+Rn(mn[Re[nn]],mn));return et}},25119:(v,b,i)=>{"use strict";var r=i(88411);function a(){}function f(){}f.resetWarningCache=a,v.exports=function(){function u(g,T,M,w,R,U){if(U!==r){var W=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw W.name="Invariant Violation",W}}function e(){return u}u.isRequired=u;var p={array:u,bigint:u,bool:u,func:u,number:u,object:u,string:u,symbol:u,any:u,arrayOf:e,element:u,elementType:u,instanceOf:e,node:u,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:f,resetWarningCache:a};return p.PropTypes=p,p}},76874:(v,b,i)=>{v.exports=i(25119)()},88411:v=>{"use strict";v.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},87504:function(v,b,i){var r;v=i.nmd(v),function(a){"object"==typeof global&&global;var p,g=2147483647,T=36,ue=/^xn--/,re=/[^\x20-\x7E]/,H=/[\x2E\u3002\uFF0E\uFF61]/g,se={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ie=Math.floor,fe=String.fromCharCode;function Ce(Nt){throw RangeError(se[Nt])}function ce(Nt,Yt){for(var dn=Nt.length,rn=[];dn--;)rn[dn]=Yt(Nt[dn]);return rn}function Be(Nt,Yt){var dn=Nt.split("@"),rn="";return dn.length>1&&(rn=dn[0]+"@",Nt=dn[1]),rn+ce((Nt=Nt.replace(H,".")).split("."),Yt).join(".")}function Ve(Nt){for(var vt,xt,Yt=[],dn=0,rn=Nt.length;dn<rn;)(vt=Nt.charCodeAt(dn++))>=55296&&vt<=56319&&dn<rn?56320==(64512&(xt=Nt.charCodeAt(dn++)))?Yt.push(((1023&vt)<<10)+(1023&xt)+65536):(Yt.push(vt),dn--):Yt.push(vt);return Yt}function Xe(Nt){return ce(Nt,function(Yt){var dn="";return Yt>65535&&(dn+=fe((Yt-=65536)>>>10&1023|55296),Yt=56320|1023&Yt),dn+fe(Yt)}).join("")}function He(Nt){return Nt-48<10?Nt-22:Nt-65<26?Nt-65:Nt-97<26?Nt-97:T}function Pe(Nt,Yt){return Nt+22+75*(Nt<26)-((0!=Yt)<<5)}function Ge(Nt,Yt,dn){var rn=0;for(Nt=dn?ie(Nt/700):Nt>>1,Nt+=ie(Nt/Yt);Nt>455;rn+=T)Nt=ie(Nt/35);return ie(rn+36*Nt/(Nt+38))}function Oe(Nt){var rn,Gt,Fn,pr,mi,ci,hr,Br,Ur,Hn,Yt=[],dn=Nt.length,vt=0,xt=128,Ct=72;for((Gt=Nt.lastIndexOf("-"))<0&&(Gt=0),Fn=0;Fn<Gt;++Fn)Nt.charCodeAt(Fn)>=128&&Ce("not-basic"),Yt.push(Nt.charCodeAt(Fn));for(pr=Gt>0?Gt+1:0;pr<dn;){for(mi=vt,ci=1,hr=T;pr>=dn&&Ce("invalid-input"),((Br=He(Nt.charCodeAt(pr++)))>=T||Br>ie((g-vt)/ci))&&Ce("overflow"),vt+=Br*ci,!(Br<(Ur=hr<=Ct?1:hr>=Ct+26?26:hr-Ct));hr+=T)ci>ie(g/(Hn=T-Ur))&&Ce("overflow"),ci*=Hn;Ct=Ge(vt-mi,rn=Yt.length+1,0==mi),ie(vt/rn)>g-xt&&Ce("overflow"),xt+=ie(vt/rn),vt%=rn,Yt.splice(vt++,0,xt)}return Xe(Yt)}function Tt(Nt){var Yt,dn,rn,vt,xt,Ct,Gt,Fn,pr,mi,ci,Br,Ur,Hn,er,hr=[];for(Br=(Nt=Ve(Nt)).length,Yt=128,dn=0,xt=72,Ct=0;Ct<Br;++Ct)(ci=Nt[Ct])<128&&hr.push(fe(ci));for(rn=vt=hr.length,vt&&hr.push("-");rn<Br;){for(Gt=g,Ct=0;Ct<Br;++Ct)(ci=Nt[Ct])>=Yt&&ci<Gt&&(Gt=ci);for(Gt-Yt>ie((g-dn)/(Ur=rn+1))&&Ce("overflow"),dn+=(Gt-Yt)*Ur,Yt=Gt,Ct=0;Ct<Br;++Ct)if((ci=Nt[Ct])<Yt&&++dn>g&&Ce("overflow"),ci==Yt){for(Fn=dn,pr=T;!(Fn<(mi=pr<=xt?1:pr>=xt+26?26:pr-xt));pr+=T)hr.push(fe(Pe(mi+(er=Fn-mi)%(Hn=T-mi),0))),Fn=ie(er/Hn);hr.push(fe(Pe(Fn,0))),xt=Ge(dn,Ur,rn==vt),dn=0,++rn}++dn,++Yt}return hr.join("")}p={version:"1.3.2",ucs2:{decode:Ve,encode:Xe},decode:Oe,encode:Tt,toASCII:function Qt(Nt){return Be(Nt,function(Yt){return re.test(Yt)?"xn--"+Tt(Yt):Yt})},toUnicode:function We(Nt){return Be(Nt,function(Yt){return ue.test(Yt)?Oe(Yt.slice(4).toLowerCase()):Yt})}},void 0!==(r=function(){return p}.call(b,i,b,v))&&(v.exports=r)}()},8157:v=>{"use strict";var b=String.prototype.replace,i=/%20/g;v.exports={default:"RFC3986",formatters:{RFC1738:function(a){return b.call(a,i,"+")},RFC3986:function(a){return String(a)}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},59009:(v,b,i)=>{"use strict";var r=i(75672),a=i(19913),f=i(8157);v.exports={formats:f,parse:a,stringify:r}},19913:(v,b,i)=>{"use strict";var r=i(16835),a=Object.prototype.hasOwnProperty,f=Array.isArray,u={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},p=function(W,j){return W&&"string"==typeof W&&j.comma&&W.indexOf(",")>-1?W.split(","):W},R=function(j,q,ue,re){if(j){var H=ue.allowDots?j.replace(/\.([^.[]+)/g,"[$1]"):j,ae=/(\[[^[\]]*])/g,ie=ue.depth>0&&/(\[[^[\]]*])/.exec(H),fe=ie?H.slice(0,ie.index):H,_e=[];if(fe){if(!ue.plainObjects&&a.call(Object.prototype,fe)&&!ue.allowPrototypes)return;_e.push(fe)}for(var Ce=0;ue.depth>0&&null!==(ie=ae.exec(H))&&Ce<ue.depth;){if(Ce+=1,!ue.plainObjects&&a.call(Object.prototype,ie[1].slice(1,-1))&&!ue.allowPrototypes)return;_e.push(ie[1])}return ie&&_e.push("["+H.slice(ie.index)+"]"),function(W,j,q,ue){for(var re=ue?j:p(j,q),H=W.length-1;H>=0;--H){var se,ae=W[H];if("[]"===ae&&q.parseArrays)se=[].concat(re);else{se=q.plainObjects?Object.create(null):{};var ie="["===ae.charAt(0)&&"]"===ae.charAt(ae.length-1)?ae.slice(1,-1):ae,fe=parseInt(ie,10);q.parseArrays||""!==ie?!isNaN(fe)&&ae!==ie&&String(fe)===ie&&fe>=0&&q.parseArrays&&fe<=q.arrayLimit?(se=[])[fe]=re:"__proto__"!==ie&&(se[ie]=re):se={0:re}}re=se}return re}(_e,q,ue,re)}};v.exports=function(W,j){var q=function(j){if(!j)return u;if(null!=j.decoder&&"function"!=typeof j.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==j.charset&&"utf-8"!==j.charset&&"iso-8859-1"!==j.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");return{allowDots:void 0===j.allowDots?u.allowDots:!!j.allowDots,allowPrototypes:"boolean"==typeof j.allowPrototypes?j.allowPrototypes:u.allowPrototypes,allowSparse:"boolean"==typeof j.allowSparse?j.allowSparse:u.allowSparse,arrayLimit:"number"==typeof j.arrayLimit?j.arrayLimit:u.arrayLimit,charset:void 0===j.charset?u.charset:j.charset,charsetSentinel:"boolean"==typeof j.charsetSentinel?j.charsetSentinel:u.charsetSentinel,comma:"boolean"==typeof j.comma?j.comma:u.comma,decoder:"function"==typeof j.decoder?j.decoder:u.decoder,delimiter:"string"==typeof j.delimiter||r.isRegExp(j.delimiter)?j.delimiter:u.delimiter,depth:"number"==typeof j.depth||!1===j.depth?+j.depth:u.depth,ignoreQueryPrefix:!0===j.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof j.interpretNumericEntities?j.interpretNumericEntities:u.interpretNumericEntities,parameterLimit:"number"==typeof j.parameterLimit?j.parameterLimit:u.parameterLimit,parseArrays:!1!==j.parseArrays,plainObjects:"boolean"==typeof j.plainObjects?j.plainObjects:u.plainObjects,strictNullHandling:"boolean"==typeof j.strictNullHandling?j.strictNullHandling:u.strictNullHandling}}(j);if(""===W||null==W)return q.plainObjects?Object.create(null):{};for(var ue="string"==typeof W?function(j,q){var ie,ue={__proto__:null},se=(q.ignoreQueryPrefix?j.replace(/^\?/,""):j).split(q.delimiter,q.parameterLimit===1/0?void 0:q.parameterLimit),ae=-1,fe=q.charset;if(q.charsetSentinel)for(ie=0;ie<se.length;++ie)0===se[ie].indexOf("utf8=")&&("utf8=%E2%9C%93"===se[ie]?fe="utf-8":"utf8=%26%2310003%3B"===se[ie]&&(fe="iso-8859-1"),ae=ie,ie=se.length);for(ie=0;ie<se.length;++ie)if(ie!==ae){var Be,Ve,_e=se[ie],Ce=_e.indexOf("]="),ce=-1===Ce?_e.indexOf("="):Ce+1;-1===ce?(Be=q.decoder(_e,u.decoder,fe,"key"),Ve=q.strictNullHandling?null:""):(Be=q.decoder(_e.slice(0,ce),u.decoder,fe,"key"),Ve=r.maybeMap(p(_e.slice(ce+1),q),function(Xe){return q.decoder(Xe,u.decoder,fe,"value")})),Ve&&q.interpretNumericEntities&&"iso-8859-1"===fe&&(Ve=Ve.replace(/&#(\d+);/g,function(j,q){return String.fromCharCode(parseInt(q,10))})),_e.indexOf("[]=")>-1&&(Ve=f(Ve)?[Ve]:Ve),ue[Be]=a.call(ue,Be)?r.combine(ue[Be],Ve):Ve}return ue}(W,q):W,re=q.plainObjects?Object.create(null):{},H=Object.keys(ue),se=0;se<H.length;++se){var ae=H[se],ie=R(ae,ue[ae],q,"string"==typeof W);re=r.merge(re,ie,q)}return!0===q.allowSparse?re:r.compact(re)}},75672:(v,b,i)=>{"use strict";var r=i(11144),a=i(16835),f=i(8157),u=Object.prototype.hasOwnProperty,e={brackets:function(re){return re+"[]"},comma:"comma",indices:function(re,H){return re+"["+H+"]"},repeat:function(re){return re}},p=Array.isArray,g=Array.prototype.push,T=function(ue,re){g.apply(ue,p(re)?re:[re])},M=Date.prototype.toISOString,w=f.default,R={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:a.encode,encodeValuesOnly:!1,format:w,formatter:f.formatters[w],indices:!1,serializeDate:function(re){return M.call(re)},skipNulls:!1,strictNullHandling:!1},W={},j=function ue(re,H,se,ae,ie,fe,_e,Ce,ce,Be,Ve,Xe,He,Pe,Ge,Oe){for(var Tt=re,We=Oe,Qt=0,Nt=!1;void 0!==(We=We.get(W))&&!Nt;){var Yt=We.get(re);if(Qt+=1,void 0!==Yt){if(Yt===Qt)throw new RangeError("Cyclic object value");Nt=!0}void 0===We.get(W)&&(Qt=0)}if("function"==typeof Ce?Tt=Ce(H,Tt):Tt instanceof Date?Tt=Ve(Tt):"comma"===se&&p(Tt)&&(Tt=a.maybeMap(Tt,function(hr){return hr instanceof Date?Ve(hr):hr})),null===Tt){if(ie)return _e&&!Pe?_e(H,R.encoder,Ge,"key",Xe):H;Tt=""}if(function(re){return"string"==typeof re||"number"==typeof re||"boolean"==typeof re||"symbol"==typeof re||"bigint"==typeof re}(Tt)||a.isBuffer(Tt))return _e?[He(Pe?H:_e(H,R.encoder,Ge,"key",Xe))+"="+He(_e(Tt,R.encoder,Ge,"value",Xe))]:[He(H)+"="+He(String(Tt))];var vt,rn=[];if(void 0===Tt)return rn;if("comma"===se&&p(Tt))Pe&&_e&&(Tt=a.maybeMap(Tt,_e)),vt=[{value:Tt.length>0?Tt.join(",")||null:void 0}];else if(p(Ce))vt=Ce;else{var xt=Object.keys(Tt);vt=ce?xt.sort(ce):xt}for(var Ct=ae&&p(Tt)&&1===Tt.length?H+"[]":H,Gt=0;Gt<vt.length;++Gt){var Fn=vt[Gt],pr="object"==typeof Fn&&void 0!==Fn.value?Fn.value:Tt[Fn];if(!fe||null!==pr){var mi=p(Tt)?"function"==typeof se?se(Ct,Fn):Ct:Ct+(Be?"."+Fn:"["+Fn+"]");Oe.set(re,Qt);var ci=r();ci.set(W,Oe),T(rn,ue(pr,mi,se,ae,ie,fe,"comma"===se&&Pe&&p(Tt)?null:_e,Ce,ce,Be,Ve,Xe,He,Pe,Ge,ci))}}return rn};v.exports=function(ue,re){var ae,H=ue,se=function(re){if(!re)return R;if(null!=re.encoder&&"function"!=typeof re.encoder)throw new TypeError("Encoder has to be a function.");var H=re.charset||R.charset;if(void 0!==re.charset&&"utf-8"!==re.charset&&"iso-8859-1"!==re.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var se=f.default;if(void 0!==re.format){if(!u.call(f.formatters,re.format))throw new TypeError("Unknown format option provided.");se=re.format}var ae=f.formatters[se],ie=R.filter;return("function"==typeof re.filter||p(re.filter))&&(ie=re.filter),{addQueryPrefix:"boolean"==typeof re.addQueryPrefix?re.addQueryPrefix:R.addQueryPrefix,allowDots:void 0===re.allowDots?R.allowDots:!!re.allowDots,charset:H,charsetSentinel:"boolean"==typeof re.charsetSentinel?re.charsetSentinel:R.charsetSentinel,delimiter:void 0===re.delimiter?R.delimiter:re.delimiter,encode:"boolean"==typeof re.encode?re.encode:R.encode,encoder:"function"==typeof re.encoder?re.encoder:R.encoder,encodeValuesOnly:"boolean"==typeof re.encodeValuesOnly?re.encodeValuesOnly:R.encodeValuesOnly,filter:ie,format:se,formatter:ae,serializeDate:"function"==typeof re.serializeDate?re.serializeDate:R.serializeDate,skipNulls:"boolean"==typeof re.skipNulls?re.skipNulls:R.skipNulls,sort:"function"==typeof re.sort?re.sort:null,strictNullHandling:"boolean"==typeof re.strictNullHandling?re.strictNullHandling:R.strictNullHandling}}(re);"function"==typeof se.filter?H=(0,se.filter)("",H):p(se.filter)&&(ae=se.filter);var fe=[];if("object"!=typeof H||null===H)return"";var Ce=e[re&&re.arrayFormat in e?re.arrayFormat:re&&"indices"in re?re.indices?"indices":"repeat":"indices"];if(re&&"commaRoundTrip"in re&&"boolean"!=typeof re.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var ce="comma"===Ce&&re&&re.commaRoundTrip;ae||(ae=Object.keys(H)),se.sort&&ae.sort(se.sort);for(var Be=r(),Ve=0;Ve<ae.length;++Ve){var Xe=ae[Ve];se.skipNulls&&null===H[Xe]||T(fe,j(H[Xe],Xe,Ce,ce,se.strictNullHandling,se.skipNulls,se.encode?se.encoder:null,se.filter,se.sort,se.allowDots,se.serializeDate,se.format,se.formatter,se.encodeValuesOnly,se.charset,Be))}var He=fe.join(se.delimiter),Pe=!0===se.addQueryPrefix?"?":"";return se.charsetSentinel&&(Pe+="iso-8859-1"===se.charset?"utf8=%26%2310003%3B&":"utf8=%E2%9C%93&"),He.length>0?Pe+He:""}},16835:(v,b,i)=>{"use strict";var r=i(8157),a=Object.prototype.hasOwnProperty,f=Array.isArray,u=function(){for(var ue=[],re=0;re<256;++re)ue.push("%"+((re<16?"0":"")+re.toString(16)).toUpperCase());return ue}(),p=function(re,H){for(var se=H&&H.plainObjects?Object.create(null):{},ae=0;ae<re.length;++ae)void 0!==re[ae]&&(se[ae]=re[ae]);return se};v.exports={arrayToObject:p,assign:function(re,H){return Object.keys(H).reduce(function(se,ae){return se[ae]=H[ae],se},re)},combine:function(re,H){return[].concat(re,H)},compact:function(re){for(var H=[{obj:{o:re},prop:"o"}],se=[],ae=0;ae<H.length;++ae)for(var ie=H[ae],fe=ie.obj[ie.prop],_e=Object.keys(fe),Ce=0;Ce<_e.length;++Ce){var ce=_e[Ce],Be=fe[ce];"object"==typeof Be&&null!==Be&&-1===se.indexOf(Be)&&(H.push({obj:fe,prop:ce}),se.push(Be))}return function(re){for(;re.length>1;){var H=re.pop(),se=H.obj[H.prop];if(f(se)){for(var ae=[],ie=0;ie<se.length;++ie)void 0!==se[ie]&&ae.push(se[ie]);H.obj[H.prop]=ae}}}(H),re},decode:function(ue,re,H){var se=ue.replace(/\+/g," ");if("iso-8859-1"===H)return se.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(se)}catch(ae){return se}},encode:function(re,H,se,ae,ie){if(0===re.length)return re;var fe=re;if("symbol"==typeof re?fe=Symbol.prototype.toString.call(re):"string"!=typeof re&&(fe=String(re)),"iso-8859-1"===se)return escape(fe).replace(/%u[0-9a-f]{4}/gi,function(Be){return"%26%23"+parseInt(Be.slice(2),16)+"%3B"});for(var _e="",Ce=0;Ce<fe.length;++Ce){var ce=fe.charCodeAt(Ce);45===ce||46===ce||95===ce||126===ce||ce>=48&&ce<=57||ce>=65&&ce<=90||ce>=97&&ce<=122||ie===r.RFC1738&&(40===ce||41===ce)?_e+=fe.charAt(Ce):ce<128?_e+=u[ce]:ce<2048?_e+=u[192|ce>>6]+u[128|63&ce]:ce<55296||ce>=57344?_e+=u[224|ce>>12]+u[128|ce>>6&63]+u[128|63&ce]:(ce=65536+((1023&ce)<<10|1023&fe.charCodeAt(Ce+=1)),_e+=u[240|ce>>18]+u[128|ce>>12&63]+u[128|ce>>6&63]+u[128|63&ce])}return _e},isBuffer:function(re){return!(!re||"object"!=typeof re||!(re.constructor&&re.constructor.isBuffer&&re.constructor.isBuffer(re)))},isRegExp:function(re){return"[object RegExp]"===Object.prototype.toString.call(re)},maybeMap:function(re,H){if(f(re)){for(var se=[],ae=0;ae<re.length;ae+=1)se.push(H(re[ae]));return se}return H(re)},merge:function ue(re,H,se){if(!H)return re;if("object"!=typeof H){if(f(re))re.push(H);else{if(!re||"object"!=typeof re)return[re,H];(se&&(se.plainObjects||se.allowPrototypes)||!a.call(Object.prototype,H))&&(re[H]=!0)}return re}if(!re||"object"!=typeof re)return[re].concat(H);var ae=re;return f(re)&&!f(H)&&(ae=p(re,se)),f(re)&&f(H)?(H.forEach(function(ie,fe){if(a.call(re,fe)){var _e=re[fe];_e&&"object"==typeof _e&&ie&&"object"==typeof ie?re[fe]=ue(_e,ie,se):re.push(ie)}else re[fe]=ie}),re):Object.keys(H).reduce(function(ie,fe){var _e=H[fe];return ie[fe]=a.call(ie,fe)?ue(ie[fe],_e,se):_e,ie},ae)}}},98216:v=>{"use strict";function b(i,r){return Object.prototype.hasOwnProperty.call(i,r)}v.exports=function(i,r,a,f){a=a||"=";var u={};if("string"!=typeof i||0===i.length)return u;var e=/\+/g;i=i.split(r=r||"&");var p=1e3;f&&"number"==typeof f.maxKeys&&(p=f.maxKeys);var g=i.length;p>0&&g>p&&(g=p);for(var T=0;T<g;++T){var R,U,W,j,M=i[T].replace(e,"%20"),w=M.indexOf(a);w>=0?(R=M.substr(0,w),U=M.substr(w+1)):(R=M,U=""),W=decodeURIComponent(R),j=decodeURIComponent(U),b(u,W)?Array.isArray(u[W])?u[W].push(j):u[W]=[u[W],j]:u[W]=j}return u}},36173:v=>{"use strict";var b=function(i){switch(typeof i){case"string":return i;case"boolean":return i?"true":"false";case"number":return isFinite(i)?i:"";default:return""}};v.exports=function(i,r,a,f){return r=r||"&",a=a||"=",null===i&&(i=void 0),"object"==typeof i?Object.keys(i).map(function(u){var e=encodeURIComponent(b(u))+a;return Array.isArray(i[u])?i[u].map(function(p){return e+encodeURIComponent(b(p))}).join(r):e+encodeURIComponent(b(i[u]))}).join(r):f?encodeURIComponent(b(f))+a+encodeURIComponent(b(i)):""}},36284:(v,b,i)=>{"use strict";b.decode=b.parse=i(98216),b.encode=b.stringify=i(36173)},76959:(v,b)=>{"use strict";var i=Object.prototype.hasOwnProperty;function a(p){try{return decodeURIComponent(p.replace(/\+/g," "))}catch(g){return null}}function f(p){try{return encodeURIComponent(p)}catch(g){return null}}b.stringify=function e(p,g){g=g||"";var M,w,T=[];for(w in"string"!=typeof g&&(g="?"),p)if(i.call(p,w)){if(!(M=p[w])&&(null==M||isNaN(M))&&(M=""),w=f(w),M=f(M),null===w||null===M)continue;T.push(w+"="+M)}return T.length?g+T.join("&"):""},b.parse=function u(p){for(var M,g=/([^=?#&]+)=?([^&]*)/g,T={};M=g.exec(p);){var w=a(M[1]),R=a(M[2]);null===w||null===R||w in T||(T[w]=R)}return T}},17346:(v,b,i)=>{const r=i(66952),a=i(32582),f=r.types;v.exports=class $E{constructor(e,p){if(this._setDefaults(e),e instanceof RegExp)this.ignoreCase=e.ignoreCase,this.multiline=e.multiline,e=e.source;else{if("string"!=typeof e)throw new Error("Expected a regexp or string");this.ignoreCase=p&&-1!==p.indexOf("i"),this.multiline=p&&-1!==p.indexOf("m")}this.tokens=r(e)}_setDefaults(e){this.max=null!=e.max?e.max:null!=$E.prototype.max?$E.prototype.max:100,this.defaultRange=e.defaultRange?e.defaultRange:this.defaultRange.clone(),e.randInt&&(this.randInt=e.randInt)}gen(){return this._gen(this.tokens,[])}_gen(e,p){var g,T,M,w,R;switch(e.type){case f.ROOT:case f.GROUP:if(e.followedBy||e.notFollowedBy)return"";for(e.remember&&void 0===e.groupNumber&&(e.groupNumber=p.push(null)-1),T="",w=0,R=(g=e.options?this._randSelect(e.options):e.stack).length;w<R;w++)T+=this._gen(g[w],p);return e.remember&&(p[e.groupNumber]=T),T;case f.POSITION:return"";case f.SET:var U=this._expand(e);return U.length?String.fromCharCode(this._randSelect(U)):"";case f.REPETITION:for(M=this.randInt(e.min,e.max===1/0?e.min+this.max:e.max),T="",w=0;w<M;w++)T+=this._gen(e.value,p);return T;case f.REFERENCE:return p[e.value-1]||"";case f.CHAR:var W=this.ignoreCase&&this._randBool()?this._toOtherCase(e.value):e.value;return String.fromCharCode(W)}}_toOtherCase(e){return e+(97<=e&&e<=122?-32:65<=e&&e<=90?32:0)}_randBool(){return!this.randInt(0,1)}_randSelect(e){return e instanceof a?e.index(this.randInt(0,e.length-1)):e[this.randInt(0,e.length-1)]}_expand(e){if(e.type===r.types.CHAR)return new a(e.value);if(e.type===r.types.RANGE)return new a(e.from,e.to);{let p=new a;for(let g=0;g<e.set.length;g++){let T=this._expand(e.set[g]);if(p.add(T),this.ignoreCase)for(let M=0;M<T.length;M++){let w=T.index(M),R=this._toOtherCase(w);w!==R&&p.add(R)}}return e.not?this.defaultRange.clone().subtract(p):this.defaultRange.clone().intersect(p)}}randInt(e,p){return e+Math.floor(Math.random()*(1+p-e))}get defaultRange(){return this._range=this._range||new a(32,126)}set defaultRange(e){this._range=e}static randexp(e,p){var g;return"string"==typeof e&&(e=new RegExp(e,p)),void 0===e._randexp?(g=new $E(e,p),e._randexp=g):(g=e._randexp)._setDefaults(e),g.gen()}static sugar(){RegExp.prototype.gen=function(){return $E.randexp(this)}}}},57021:(v,b,i)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.CopyToClipboard=void 0;var r=f(i(78139)),a=f(i(96967));function f(se){return se&&se.__esModule?se:{default:se}}function u(se){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(ie){return typeof ie}:function(ie){return ie&&"function"==typeof Symbol&&ie.constructor===Symbol&&ie!==Symbol.prototype?"symbol":typeof ie})(se)}function e(se,ae){var ie=Object.keys(se);if(Object.getOwnPropertySymbols){var fe=Object.getOwnPropertySymbols(se);ae&&(fe=fe.filter(function(_e){return Object.getOwnPropertyDescriptor(se,_e).enumerable})),ie.push.apply(ie,fe)}return ie}function M(se,ae){if(!(se instanceof ae))throw new TypeError("Cannot call a class as a function")}function w(se,ae){for(var ie=0;ie<ae.length;ie++){var fe=ae[ie];fe.enumerable=fe.enumerable||!1,fe.configurable=!0,"value"in fe&&(fe.writable=!0),Object.defineProperty(se,fe.key,fe)}}function U(se,ae){return!ae||"object"!==u(ae)&&"function"!=typeof ae?j(se):ae}function W(se){return(W=Object.setPrototypeOf?Object.getPrototypeOf:function(ie){return ie.__proto__||Object.getPrototypeOf(ie)})(se)}function j(se){if(void 0===se)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return se}function ue(se,ae){return(ue=Object.setPrototypeOf||function(fe,_e){return fe.__proto__=_e,fe})(se,ae)}function re(se,ae,ie){return ae in se?Object.defineProperty(se,ae,{value:ie,enumerable:!0,configurable:!0,writable:!0}):se[ae]=ie,se}var H=function(se){function ae(){var ie,fe;M(this,ae);for(var _e=arguments.length,Ce=new Array(_e),ce=0;ce<_e;ce++)Ce[ce]=arguments[ce];return re(j(fe=U(this,(ie=W(ae)).call.apply(ie,[this].concat(Ce)))),"onClick",function(Be){var Ve=fe.props,Xe=Ve.text,He=Ve.onCopy,Ge=Ve.options,Oe=r.default.Children.only(Ve.children),Tt=(0,a.default)(Xe,Ge);He&&He(Xe,Tt),Oe&&Oe.props&&"function"==typeof Oe.props.onClick&&Oe.props.onClick(Be)}),fe}return function q(se,ae){if("function"!=typeof ae&&null!==ae)throw new TypeError("Super expression must either be null or a function");se.prototype=Object.create(ae&&ae.prototype,{constructor:{value:se,writable:!0,configurable:!0}}),ae&&ue(se,ae)}(ae,se),function R(se,ae,ie){ae&&w(se.prototype,ae),ie&&w(se,ie)}(ae,[{key:"render",value:function(){var fe=this.props,Be=fe.children,Ve=function g(se,ae){if(null==se)return{};var fe,_e,ie=function T(se,ae){if(null==se)return{};var _e,Ce,ie={},fe=Object.keys(se);for(Ce=0;Ce<fe.length;Ce++)!(ae.indexOf(_e=fe[Ce])>=0)&&(ie[_e]=se[_e]);return ie}(se,ae);if(Object.getOwnPropertySymbols){var Ce=Object.getOwnPropertySymbols(se);for(_e=0;_e<Ce.length;_e++)!(ae.indexOf(fe=Ce[_e])>=0)&&(!Object.prototype.propertyIsEnumerable.call(se,fe)||(ie[fe]=se[fe]))}return ie}(fe,["text","onCopy","options","children"]),Xe=r.default.Children.only(Be);return r.default.cloneElement(Xe,function p(se){for(var ae=1;ae<arguments.length;ae++){var ie=null!=arguments[ae]?arguments[ae]:{};ae%2?e(ie,!0).forEach(function(fe){re(se,fe,ie[fe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(se,Object.getOwnPropertyDescriptors(ie)):e(ie).forEach(function(fe){Object.defineProperty(se,fe,Object.getOwnPropertyDescriptor(ie,fe))})}return se}({},Ve,{onClick:this.onClick}))}}]),ae}(r.default.PureComponent);b.CopyToClipboard=H,re(H,"defaultProps",{onCopy:void 0,options:void 0})},43409:(v,b,i)=>{"use strict";var a=i(57021).CopyToClipboard;a.CopyToClipboard=a,v.exports=a},16709:(v,b,i)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.DebounceInput=void 0;var r=f(i(78139)),a=f(i(86906));function f(ie){return ie&&ie.__esModule?ie:{default:ie}}function u(ie){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(_e){return typeof _e}:function(_e){return _e&&"function"==typeof Symbol&&_e.constructor===Symbol&&_e!==Symbol.prototype?"symbol":typeof _e})(ie)}function g(ie,fe){var _e=Object.keys(ie);if(Object.getOwnPropertySymbols){var Ce=Object.getOwnPropertySymbols(ie);fe&&(Ce=Ce.filter(function(ce){return Object.getOwnPropertyDescriptor(ie,ce).enumerable})),_e.push.apply(_e,Ce)}return _e}function T(ie){for(var fe=1;fe<arguments.length;fe++){var _e=null!=arguments[fe]?arguments[fe]:{};fe%2?g(Object(_e),!0).forEach(function(Ce){se(ie,Ce,_e[Ce])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ie,Object.getOwnPropertyDescriptors(_e)):g(Object(_e)).forEach(function(Ce){Object.defineProperty(ie,Ce,Object.getOwnPropertyDescriptor(_e,Ce))})}return ie}function w(ie,fe){for(var _e=0;_e<fe.length;_e++){var Ce=fe[_e];Ce.enumerable=Ce.enumerable||!1,Ce.configurable=!0,"value"in Ce&&(Ce.writable=!0),Object.defineProperty(ie,Ce.key,Ce)}}function W(ie,fe){return(W=Object.setPrototypeOf||function(Ce,ce){return Ce.__proto__=ce,Ce})(ie,fe)}function q(ie,fe){return!fe||"object"!==u(fe)&&"function"!=typeof fe?ue(ie):fe}function ue(ie){if(void 0===ie)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ie}function H(ie){return(H=Object.setPrototypeOf?Object.getPrototypeOf:function(_e){return _e.__proto__||Object.getPrototypeOf(_e)})(ie)}function se(ie,fe,_e){return fe in ie?Object.defineProperty(ie,fe,{value:_e,enumerable:!0,configurable:!0,writable:!0}):ie[fe]=_e,ie}var ae=function(ie){!function U(ie,fe){if("function"!=typeof fe&&null!==fe)throw new TypeError("Super expression must either be null or a function");ie.prototype=Object.create(fe&&fe.prototype,{constructor:{value:ie,writable:!0,configurable:!0}}),fe&&W(ie,fe)}(_e,ie);var fe=function j(ie){var fe=function re(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(ie){return!1}}();return function(){var ce,Ce=H(ie);if(fe){var Be=H(this).constructor;ce=Reflect.construct(Ce,arguments,Be)}else ce=Ce.apply(this,arguments);return q(this,ce)}}(_e);function _e(Ce){var ce;return function M(ie,fe){if(!(ie instanceof fe))throw new TypeError("Cannot call a class as a function")}(this,_e),se(ue(ce=fe.call(this,Ce)),"onChange",function(Ve){Ve.persist();var Xe=ce.state.value,He=ce.props.minLength;ce.setState({value:Ve.target.value},function(){var Pe=ce.state.value;Pe.length>=He?ce.notify(Ve):Xe.length>Pe.length&&ce.notify(T(T({},Ve),{},{target:T(T({},Ve.target),{},{value:""})}))})}),se(ue(ce),"onKeyDown",function(Ve){"Enter"===Ve.key&&ce.forceNotify(Ve);var Xe=ce.props.onKeyDown;Xe&&(Ve.persist(),Xe(Ve))}),se(ue(ce),"onBlur",function(Ve){ce.forceNotify(Ve);var Xe=ce.props.onBlur;Xe&&(Ve.persist(),Xe(Ve))}),se(ue(ce),"createNotifier",function(Ve){if(Ve<0)ce.notify=function(){return null};else if(0===Ve)ce.notify=ce.doNotify;else{var Xe=(0,a.default)(function(He){ce.isDebouncing=!1,ce.doNotify(He)},Ve);ce.notify=function(He){ce.isDebouncing=!0,Xe(He)},ce.flush=function(){return Xe.flush()},ce.cancel=function(){ce.isDebouncing=!1,Xe.cancel()}}}),se(ue(ce),"doNotify",function(){var Ve=ce.props.onChange;Ve.apply(void 0,arguments)}),se(ue(ce),"forceNotify",function(Ve){if(ce.isDebouncing||!(ce.props.debounceTimeout>0)){ce.cancel&&ce.cancel();var He=ce.state.value;ce.doNotify(He.length>=ce.props.minLength?Ve:T(T({},Ve),{},{target:T(T({},Ve.target),{},{value:He})}))}}),ce.isDebouncing=!1,ce.state={value:null==Ce.value?"":Ce.value},ce.createNotifier(ce.props.debounceTimeout),ce}return function R(ie,fe,_e){fe&&w(ie.prototype,fe),_e&&w(ie,_e)}(_e,[{key:"componentDidUpdate",value:function(ce){if(!this.isDebouncing){var Be=this.props,Ve=Be.value,Xe=Be.debounceTimeout,He=ce.debounceTimeout;void 0!==Ve&&ce.value!==Ve&&this.state.value!==Ve&&this.setState({value:Ve}),Xe!==He&&this.createNotifier(Xe)}}},{key:"componentWillUnmount",value:function(){this.flush&&this.flush()}},{key:"render",value:function(){var dn,rn,ce=this.props,Be=ce.element,Ge=ce.forceNotifyByEnter,Oe=ce.forceNotifyOnBlur,Tt=ce.onKeyDown,We=ce.onBlur,Qt=ce.inputRef,Nt=function e(ie,fe){if(null==ie)return{};var Ce,ce,_e=function p(ie,fe){if(null==ie)return{};var ce,Be,_e={},Ce=Object.keys(ie);for(Be=0;Be<Ce.length;Be++)!(fe.indexOf(ce=Ce[Be])>=0)&&(_e[ce]=ie[ce]);return _e}(ie,fe);if(Object.getOwnPropertySymbols){var Be=Object.getOwnPropertySymbols(ie);for(ce=0;ce<Be.length;ce++)!(fe.indexOf(Ce=Be[ce])>=0)&&(!Object.prototype.propertyIsEnumerable.call(ie,Ce)||(_e[Ce]=ie[Ce]))}return _e}(ce,["element","onChange","value","minLength","debounceTimeout","forceNotifyByEnter","forceNotifyOnBlur","onKeyDown","onBlur","inputRef"]),Yt=this.state.value;dn=Ge?{onKeyDown:this.onKeyDown}:Tt?{onKeyDown:Tt}:{},rn=Oe?{onBlur:this.onBlur}:We?{onBlur:We}:{};var vt=Qt?{ref:Qt}:{};return r.default.createElement(Be,T(T(T(T({},Nt),{},{onChange:this.onChange,value:Yt},dn),rn),vt))}}]),_e}(r.default.PureComponent);b.DebounceInput=ae,se(ae,"defaultProps",{element:"input",type:"text",onKeyDown:void 0,onBlur:void 0,value:void 0,minLength:0,debounceTimeout:100,forceNotifyByEnter:!0,forceNotifyOnBlur:!0,inputRef:void 0})},41205:(v,b,i)=>{"use strict";var a=i(16709).DebounceInput;a.DebounceInput=a,v.exports=a},85503:(v,b,i)=>{"use strict";var r=i(78139),a=i(18228),f=i(88712);function u(y){for(var D="https://reactjs.org/docs/error-decoder.html?invariant="+y,Y=1;Y<arguments.length;Y++)D+="&args[]="+encodeURIComponent(arguments[Y]);return"Minified React error #"+y+"; visit "+D+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(u(227));var e=new Set,p={};function g(y,D){T(y,D),T(y+"Capture",D)}function T(y,D){for(p[y]=D,y=0;y<D.length;y++)e.add(D[y])}var M=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),w=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,R=Object.prototype.hasOwnProperty,U={},W={};function re(y,D,Y,Ee,ze,At,tn){this.acceptsBooleans=2===D||3===D||4===D,this.attributeName=Ee,this.attributeNamespace=ze,this.mustUseProperty=Y,this.propertyName=y,this.type=D,this.sanitizeURL=At,this.removeEmptyString=tn}var H={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(y){H[y]=new re(y,0,!1,y,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(y){var D=y[0];H[D]=new re(D,1,!1,y[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(y){H[y]=new re(y,2,!1,y.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(y){H[y]=new re(y,2,!1,y,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(y){H[y]=new re(y,3,!1,y.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(y){H[y]=new re(y,3,!0,y,null,!1,!1)}),["capture","download"].forEach(function(y){H[y]=new re(y,4,!1,y,null,!1,!1)}),["cols","rows","size","span"].forEach(function(y){H[y]=new re(y,6,!1,y,null,!1,!1)}),["rowSpan","start"].forEach(function(y){H[y]=new re(y,5,!1,y.toLowerCase(),null,!1,!1)});var se=/[\-:]([a-z])/g;function ae(y){return y[1].toUpperCase()}function ie(y,D,Y,Ee){var ze=H.hasOwnProperty(D)?H[D]:null;(null!==ze?0===ze.type:!Ee&&2<D.length&&("o"===D[0]||"O"===D[0])&&("n"===D[1]||"N"===D[1]))||(function ue(y,D,Y,Ee){if(null==D||function q(y,D,Y,Ee){if(null!==Y&&0===Y.type)return!1;switch(typeof D){case"function":case"symbol":return!0;case"boolean":return!Ee&&(null!==Y?!Y.acceptsBooleans:"data-"!==(y=y.toLowerCase().slice(0,5))&&"aria-"!==y);default:return!1}}(y,D,Y,Ee))return!0;if(Ee)return!1;if(null!==Y)switch(Y.type){case 3:return!D;case 4:return!1===D;case 5:return isNaN(D);case 6:return isNaN(D)||1>D}return!1}(D,Y,ze,Ee)&&(Y=null),Ee||null===ze?function j(y){return!!R.call(W,y)||!R.call(U,y)&&(w.test(y)?W[y]=!0:(U[y]=!0,!1))}(D)&&(null===Y?y.removeAttribute(D):y.setAttribute(D,""+Y)):ze.mustUseProperty?y[ze.propertyName]=null===Y?3!==ze.type&&"":Y:(D=ze.attributeName,Ee=ze.attributeNamespace,null===Y?y.removeAttribute(D):(Y=3===(ze=ze.type)||4===ze&&!0===Y?"":""+Y,Ee?y.setAttributeNS(Ee,D,Y):y.setAttribute(D,Y))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(y){var D=y.replace(se,ae);H[D]=new re(D,1,!1,y,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(y){var D=y.replace(se,ae);H[D]=new re(D,1,!1,y,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(y){var D=y.replace(se,ae);H[D]=new re(D,1,!1,y,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(y){H[y]=new re(y,1,!1,y.toLowerCase(),null,!1,!1)}),H.xlinkHref=new re("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(y){H[y]=new re(y,1,!1,y.toLowerCase(),null,!0,!0)});var fe=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,_e=60103,Ce=60106,ce=60107,Be=60108,Ve=60114,Xe=60109,He=60110,Pe=60112,Ge=60113,Oe=60120,Tt=60115,We=60116,Qt=60121,Nt=60128,Yt=60129,dn=60130,rn=60131;if("function"==typeof Symbol&&Symbol.for){var vt=Symbol.for;_e=vt("react.element"),Ce=vt("react.portal"),ce=vt("react.fragment"),Be=vt("react.strict_mode"),Ve=vt("react.profiler"),Xe=vt("react.provider"),He=vt("react.context"),Pe=vt("react.forward_ref"),Ge=vt("react.suspense"),Oe=vt("react.suspense_list"),Tt=vt("react.memo"),We=vt("react.lazy"),Qt=vt("react.block"),vt("react.scope"),Nt=vt("react.opaque.id"),Yt=vt("react.debug_trace_mode"),dn=vt("react.offscreen"),rn=vt("react.legacy_hidden")}var Gt,xt="function"==typeof Symbol&&Symbol.iterator;function Ct(y){return null===y||"object"!=typeof y?null:"function"==typeof(y=xt&&y[xt]||y["@@iterator"])?y:null}function Fn(y){if(void 0===Gt)try{throw Error()}catch(Y){var D=Y.stack.trim().match(/\n( *(at )?)/);Gt=D&&D[1]||""}return"\n"+Gt+y}var pr=!1;function mi(y,D){if(!y||pr)return"";pr=!0;var Y=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(D)if(D=function(){throw Error()},Object.defineProperty(D.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(D,[])}catch(ar){var Ee=ar}Reflect.construct(y,[],D)}else{try{D.call()}catch(ar){Ee=ar}y.call(D.prototype)}else{try{throw Error()}catch(ar){Ee=ar}y()}}catch(ar){if(ar&&Ee&&"string"==typeof ar.stack){for(var ze=ar.stack.split("\n"),At=Ee.stack.split("\n"),tn=ze.length-1,Tn=At.length-1;1<=tn&&0<=Tn&&ze[tn]!==At[Tn];)Tn--;for(;1<=tn&&0<=Tn;tn--,Tn--)if(ze[tn]!==At[Tn]){if(1!==tn||1!==Tn)do{if(tn--,0>--Tn||ze[tn]!==At[Tn])return"\n"+ze[tn].replace(" at new "," at ")}while(1<=tn&&0<=Tn);break}}}finally{pr=!1,Error.prepareStackTrace=Y}return(y=y?y.displayName||y.name:"")?Fn(y):""}function ci(y){switch(y.tag){case 5:return Fn(y.type);case 16:return Fn("Lazy");case 13:return Fn("Suspense");case 19:return Fn("SuspenseList");case 0:case 2:case 15:return mi(y.type,!1);case 11:return mi(y.type.render,!1);case 22:return mi(y.type._render,!1);case 1:return mi(y.type,!0);default:return""}}function hr(y){if(null==y)return null;if("function"==typeof y)return y.displayName||y.name||null;if("string"==typeof y)return y;switch(y){case ce:return"Fragment";case Ce:return"Portal";case Ve:return"Profiler";case Be:return"StrictMode";case Ge:return"Suspense";case Oe:return"SuspenseList"}if("object"==typeof y)switch(y.$$typeof){case He:return(y.displayName||"Context")+".Consumer";case Xe:return(y._context.displayName||"Context")+".Provider";case Pe:var D=y.render;return D=D.displayName||D.name||"",y.displayName||(""!==D?"ForwardRef("+D+")":"ForwardRef");case Tt:return hr(y.type);case Qt:return hr(y._render);case We:D=y._payload,y=y._init;try{return hr(y(D))}catch(Y){}}return null}function Br(y){switch(typeof y){case"boolean":case"number":case"object":case"string":case"undefined":return y;default:return""}}function Ur(y){var D=y.type;return(y=y.nodeName)&&"input"===y.toLowerCase()&&("checkbox"===D||"radio"===D)}function er(y){y._valueTracker||(y._valueTracker=function Hn(y){var D=Ur(y)?"checked":"value",Y=Object.getOwnPropertyDescriptor(y.constructor.prototype,D),Ee=""+y[D];if(!y.hasOwnProperty(D)&&void 0!==Y&&"function"==typeof Y.get&&"function"==typeof Y.set){var ze=Y.get,At=Y.set;return Object.defineProperty(y,D,{configurable:!0,get:function(){return ze.call(this)},set:function(tn){Ee=""+tn,At.call(this,tn)}}),Object.defineProperty(y,D,{enumerable:Y.enumerable}),{getValue:function(){return Ee},setValue:function(tn){Ee=""+tn},stopTracking:function(){y._valueTracker=null,delete y[D]}}}}(y))}function _r(y){if(!y)return!1;var D=y._valueTracker;if(!D)return!0;var Y=D.getValue(),Ee="";return y&&(Ee=Ur(y)?y.checked?"true":"false":y.value),(y=Ee)!==Y&&(D.setValue(y),!0)}function ei(y){if(void 0===(y=y||("undefined"!=typeof document?document:void 0)))return null;try{return y.activeElement||y.body}catch(D){return y.body}}function bi(y,D){var Y=D.checked;return a({},D,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=Y?Y:y._wrapperState.initialChecked})}function fi(y,D){var Y=null==D.defaultValue?"":D.defaultValue,Ee=null!=D.checked?D.checked:D.defaultChecked;Y=Br(null!=D.value?D.value:Y),y._wrapperState={initialChecked:Ee,initialValue:Y,controlled:"checkbox"===D.type||"radio"===D.type?null!=D.checked:null!=D.value}}function no(y,D){null!=(D=D.checked)&&ie(y,"checked",D,!1)}function xo(y,D){no(y,D);var Y=Br(D.value),Ee=D.type;if(null!=Y)"number"===Ee?(0===Y&&""===y.value||y.value!=Y)&&(y.value=""+Y):y.value!==""+Y&&(y.value=""+Y);else if("submit"===Ee||"reset"===Ee)return void y.removeAttribute("value");D.hasOwnProperty("value")?an(y,D.type,Y):D.hasOwnProperty("defaultValue")&&an(y,D.type,Br(D.defaultValue)),null==D.checked&&null!=D.defaultChecked&&(y.defaultChecked=!!D.defaultChecked)}function Er(y,D,Y){if(D.hasOwnProperty("value")||D.hasOwnProperty("defaultValue")){var Ee=D.type;if(("submit"===Ee||"reset"===Ee)&&null==D.value)return;D=""+y._wrapperState.initialValue,Y||D===y.value||(y.value=D),y.defaultValue=D}""!==(Y=y.name)&&(y.name=""),y.defaultChecked=!!y._wrapperState.initialChecked,""!==Y&&(y.name=Y)}function an(y,D,Y){("number"!==D||ei(y.ownerDocument)!==y)&&(null==Y?y.defaultValue=""+y._wrapperState.initialValue:y.defaultValue!==""+Y&&(y.defaultValue=""+Y))}function Zn(y,D){return y=a({children:void 0},D),(D=function vn(y){var D="";return r.Children.forEach(y,function(Y){null!=Y&&(D+=Y)}),D}(D.children))&&(y.children=D),y}function Xn(y,D,Y,Ee){if(y=y.options,D){D={};for(var ze=0;ze<Y.length;ze++)D["$"+Y[ze]]=!0;for(Y=0;Y<y.length;Y++)ze=D.hasOwnProperty("$"+y[Y].value),y[Y].selected!==ze&&(y[Y].selected=ze),ze&&Ee&&(y[Y].defaultSelected=!0)}else{for(Y=""+Br(Y),D=null,ze=0;ze<y.length;ze++){if(y[ze].value===Y)return y[ze].selected=!0,void(Ee&&(y[ze].defaultSelected=!0));null!==D||y[ze].disabled||(D=y[ze])}null!==D&&(D.selected=!0)}}function zn(y,D){if(null!=D.dangerouslySetInnerHTML)throw Error(u(91));return a({},D,{value:void 0,defaultValue:void 0,children:""+y._wrapperState.initialValue})}function ri(y,D){var Y=D.value;if(null==Y){if(Y=D.children,D=D.defaultValue,null!=Y){if(null!=D)throw Error(u(92));if(Array.isArray(Y)){if(!(1>=Y.length))throw Error(u(93));Y=Y[0]}D=Y}null==D&&(D=""),Y=D}y._wrapperState={initialValue:Br(Y)}}function Gi(y,D){var Y=Br(D.value),Ee=Br(D.defaultValue);null!=Y&&((Y=""+Y)!==y.value&&(y.value=Y),null==D.defaultValue&&y.defaultValue!==Y&&(y.defaultValue=Y)),null!=Ee&&(y.defaultValue=""+Ee)}function ui(y){var D=y.textContent;D===y._wrapperState.initialValue&&""!==D&&null!==D&&(y.value=D)}var vr_html="http://www.w3.org/1999/xhtml";function Ji(y){switch(y){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function mn(y,D){return null==y||"http://www.w3.org/1999/xhtml"===y?Ji(D):"http://www.w3.org/2000/svg"===y&&"foreignObject"===D?"http://www.w3.org/1999/xhtml":y}var Rn,y,Wn=(y=function(y,D){if("http://www.w3.org/2000/svg"!==y.namespaceURI||"innerHTML"in y)y.innerHTML=D;else{for((Rn=Rn||document.createElement("div")).innerHTML="<svg>"+D.valueOf().toString()+"</svg>",D=Rn.firstChild;y.firstChild;)y.removeChild(y.firstChild);for(;D.firstChild;)y.appendChild(D.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(D,Y,Ee,ze){MSApp.execUnsafeLocalFunction(function(){return y(D,Y)})}:y);function et(y,D){if(D){var Y=y.firstChild;if(Y&&Y===y.lastChild&&3===Y.nodeType)return void(Y.nodeValue=D)}y.textContent=D}var Le={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Re=["Webkit","ms","Moz","O"];function Se(y,D,Y){return null==D||"boolean"==typeof D||""===D?"":Y||"number"!=typeof D||0===D||Le.hasOwnProperty(y)&&Le[y]?(""+D).trim():D+"px"}function dt(y,D){for(var Y in y=y.style,D)if(D.hasOwnProperty(Y)){var Ee=0===Y.indexOf("--"),ze=Se(Y,D[Y],Ee);"float"===Y&&(Y="cssFloat"),Ee?y.setProperty(Y,ze):y[Y]=ze}}Object.keys(Le).forEach(function(y){Re.forEach(function(D){D=D+y.charAt(0).toUpperCase()+y.substring(1),Le[D]=Le[y]})});var st=a({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function nn(y,D){if(D){if(st[y]&&(null!=D.children||null!=D.dangerouslySetInnerHTML))throw Error(u(137,y));if(null!=D.dangerouslySetInnerHTML){if(null!=D.children)throw Error(u(60));if("object"!=typeof D.dangerouslySetInnerHTML||!("__html"in D.dangerouslySetInnerHTML))throw Error(u(61))}if(null!=D.style&&"object"!=typeof D.style)throw Error(u(62))}}function Fe(y,D){if(-1===y.indexOf("-"))return"string"==typeof D.is;switch(y){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Lr(y){return(y=y.target||y.srcElement||window).correspondingUseElement&&(y=y.correspondingUseElement),3===y.nodeType?y.parentNode:y}var ti=null,Ut=null,Dn=null;function Et(y){if(y=Ma(y)){if("function"!=typeof ti)throw Error(u(280));var D=y.stateNode;D&&(D=Ll(D),ti(y.stateNode,y.type,D))}}function $t(y){Ut?Dn?Dn.push(y):Dn=[y]:Ut=y}function _t(){if(Ut){var y=Ut,D=Dn;if(Dn=Ut=null,Et(y),D)for(y=0;y<D.length;y++)Et(D[y])}}function yt(y,D){return y(D)}function Vt(y,D,Y,Ee,ze){return y(D,Y,Ee,ze)}function yn(){}var Cr=yt,xi=!1,yi=!1;function Uo(){(null!==Ut||null!==Dn)&&(yn(),_t())}function lo(y,D){var Y=y.stateNode;if(null===Y)return null;var Ee=Ll(Y);if(null===Ee)return null;Y=Ee[D];e:switch(D){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(Ee=!Ee.disabled)||(Ee=!("button"===(y=y.type)||"input"===y||"select"===y||"textarea"===y)),y=!Ee;break e;default:y=!1}if(y)return null;if(Y&&"function"!=typeof Y)throw Error(u(231,D,typeof Y));return Y}var Ri=!1;if(M)try{var ko={};Object.defineProperty(ko,"passive",{get:function(){Ri=!0}}),window.addEventListener("test",ko,ko),window.removeEventListener("test",ko,ko)}catch(y){Ri=!1}function Xo(y,D,Y,Ee,ze,At,tn,Tn,ar){var li=Array.prototype.slice.call(arguments,3);try{D.apply(Y,li)}catch(Ho){this.onError(Ho)}}var ir=!1,si=null,kn=!1,nr=null,jr={onError:function(y){ir=!0,si=y}};function ao(y,D,Y,Ee,ze,At,tn,Tn,ar){ir=!1,si=null,Xo.apply(jr,arguments)}function Eo(y){var D=y,Y=y;if(y.alternate)for(;D.return;)D=D.return;else{y=D;do{0!=(1026&(D=y).flags)&&(Y=D.return),y=D.return}while(y)}return 3===D.tag?Y:null}function mo(y){if(13===y.tag){var D=y.memoizedState;if(null===D&&null!==(y=y.alternate)&&(D=y.memoizedState),null!==D)return D.dehydrated}return null}function Go(y){if(Eo(y)!==y)throw Error(u(188))}function or(y){if(y=function ua(y){var D=y.alternate;if(!D){if(null===(D=Eo(y)))throw Error(u(188));return D!==y?null:y}for(var Y=y,Ee=D;;){var ze=Y.return;if(null===ze)break;var At=ze.alternate;if(null===At){if(null!==(Ee=ze.return)){Y=Ee;continue}break}if(ze.child===At.child){for(At=ze.child;At;){if(At===Y)return Go(ze),y;if(At===Ee)return Go(ze),D;At=At.sibling}throw Error(u(188))}if(Y.return!==Ee.return)Y=ze,Ee=At;else{for(var tn=!1,Tn=ze.child;Tn;){if(Tn===Y){tn=!0,Y=ze,Ee=At;break}if(Tn===Ee){tn=!0,Ee=ze,Y=At;break}Tn=Tn.sibling}if(!tn){for(Tn=At.child;Tn;){if(Tn===Y){tn=!0,Y=At,Ee=ze;break}if(Tn===Ee){tn=!0,Ee=At,Y=ze;break}Tn=Tn.sibling}if(!tn)throw Error(u(189))}}if(Y.alternate!==Ee)throw Error(u(190))}if(3!==Y.tag)throw Error(u(188));return Y.stateNode.current===Y?y:D}(y),!y)return null;for(var D=y;;){if(5===D.tag||6===D.tag)return D;if(D.child)D.child.return=D,D=D.child;else{if(D===y)break;for(;!D.sibling;){if(!D.return||D.return===y)return null;D=D.return}D.sibling.return=D.return,D=D.sibling}}return null}function Mr(y,D){for(var Y=y.alternate;null!==D;){if(D===y||D===Y)return!0;D=D.return}return!1}var Or,cr,pi,Sn,$n=!1,Jr=[],ro=null,go=null,Ro=null,js=new Map,ds=new Map,es=[],ma="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function ya(y,D,Y,Ee,ze){return{blockedOn:y,domEventName:D,eventSystemFlags:16|Y,nativeEvent:ze,targetContainers:[Ee]}}function fa(y,D){switch(y){case"focusin":case"focusout":ro=null;break;case"dragenter":case"dragleave":go=null;break;case"mouseover":case"mouseout":Ro=null;break;case"pointerover":case"pointerout":js.delete(D.pointerId);break;case"gotpointercapture":case"lostpointercapture":ds.delete(D.pointerId)}}function sa(y,D,Y,Ee,ze,At){return null===y||y.nativeEvent!==At?(y=ya(D,Y,Ee,ze,At),null!==D&&null!==(D=Ma(D))&&cr(D),y):(y.eventSystemFlags|=Ee,D=y.targetContainers,null!==ze&&-1===D.indexOf(ze)&&D.push(ze),y)}function pl(y){var D=cu(y.target);if(null!==D){var Y=Eo(D);if(null!==Y)if(13===(D=Y.tag)){if(null!==(D=mo(Y)))return y.blockedOn=D,void Sn(y.lanePriority,function(){f.unstable_runWithPriority(y.priority,function(){pi(Y)})})}else if(3===D&&Y.stateNode.hydrate)return void(y.blockedOn=3===Y.tag?Y.stateNode.containerInfo:null)}y.blockedOn=null}function Co(y){if(null!==y.blockedOn)return!1;for(var D=y.targetContainers;0<D.length;){var Y=ru(y.domEventName,y.eventSystemFlags,D[0],y.nativeEvent);if(null!==Y)return null!==(D=Ma(Y))&&cr(D),y.blockedOn=Y,!1;D.shift()}return!0}function yl(y,D,Y){Co(y)&&Y.delete(D)}function Wo(){for($n=!1;0<Jr.length;){var y=Jr[0];if(null!==y.blockedOn){null!==(y=Ma(y.blockedOn))&&Or(y);break}for(var D=y.targetContainers;0<D.length;){var Y=ru(y.domEventName,y.eventSystemFlags,D[0],y.nativeEvent);if(null!==Y){y.blockedOn=Y;break}D.shift()}null===y.blockedOn&&Jr.shift()}null!==ro&&Co(ro)&&(ro=null),null!==go&&Co(go)&&(go=null),null!==Ro&&Co(Ro)&&(Ro=null),js.forEach(yl),ds.forEach(yl)}function ys(y,D){y.blockedOn===D&&(y.blockedOn=null,$n||($n=!0,f.unstable_scheduleCallback(f.unstable_NormalPriority,Wo)))}function Wa(y){function D(ze){return ys(ze,y)}if(0<Jr.length){ys(Jr[0],y);for(var Y=1;Y<Jr.length;Y++){var Ee=Jr[Y];Ee.blockedOn===y&&(Ee.blockedOn=null)}}for(null!==ro&&ys(ro,y),null!==go&&ys(go,y),null!==Ro&&ys(Ro,y),js.forEach(D),ds.forEach(D),Y=0;Y<es.length;Y++)(Ee=es[Y]).blockedOn===y&&(Ee.blockedOn=null);for(;0<es.length&&null===(Y=es[0]).blockedOn;)pl(Y),null===Y.blockedOn&&es.shift()}function Is(y,D){var Y={};return Y[y.toLowerCase()]=D.toLowerCase(),Y["Webkit"+y]="webkit"+D,Y["Moz"+y]="moz"+D,Y}var nl={animationend:Is("Animation","AnimationEnd"),animationiteration:Is("Animation","AnimationIteration"),animationstart:Is("Animation","AnimationStart"),transitionend:Is("Transition","TransitionEnd")},Gs={},$o={};function To(y){if(Gs[y])return Gs[y];if(!nl[y])return y;var Y,D=nl[y];for(Y in D)if(D.hasOwnProperty(Y)&&Y in $o)return Gs[y]=D[Y];return y}M&&($o=document.createElement("div").style,"AnimationEvent"in window||(delete nl.animationend.animation,delete nl.animationiteration.animation,delete nl.animationstart.animation),"TransitionEvent"in window||delete nl.transitionend.transition);var Ns=To("animationend"),hs=To("animationiteration"),Oo=To("animationstart"),kr=To("transitionend"),Ki=new Map,ut=new Map,pn=["abort","abort",Ns,"animationEnd",hs,"animationIteration",Oo,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",kr,"transitionEnd","waiting","waiting"];function te(y,D){for(var Y=0;Y<y.length;Y+=2){var Ee=y[Y],ze=y[Y+1];ze="on"+(ze[0].toUpperCase()+ze.slice(1)),ut.set(Ee,D),Ki.set(Ee,ze),g(ze,[Ee])}}(0,f.unstable_now)();var jt=8;function hn(y){if(0!=(1&y))return jt=15,1;if(0!=(2&y))return jt=14,2;if(0!=(4&y))return jt=13,4;var D=24&y;return 0!==D?(jt=12,D):0!=(32&y)?(jt=11,32):0!=(D=192&y)?(jt=10,D):0!=(256&y)?(jt=9,256):0!=(D=3584&y)?(jt=8,D):0!=(4096&y)?(jt=7,4096):0!=(D=4186112&y)?(jt=6,D):0!=(D=62914560&y)?(jt=5,D):67108864&y?(jt=4,67108864):0!=(134217728&y)?(jt=3,134217728):0!=(D=805306368&y)?(jt=2,D):0!=(1073741824&y)?(jt=1,1073741824):(jt=8,y)}function ki(y,D){var Y=y.pendingLanes;if(0===Y)return jt=0;var Ee=0,ze=0,At=y.expiredLanes,tn=y.suspendedLanes,Tn=y.pingedLanes;if(0!==At)Ee=At,ze=jt=15;else if(0!=(At=134217727&Y)){var ar=At&~tn;0!==ar?(Ee=hn(ar),ze=jt):0!=(Tn&=At)&&(Ee=hn(Tn),ze=jt)}else 0!=(At=Y&~tn)?(Ee=hn(At),ze=jt):0!==Tn&&(Ee=hn(Tn),ze=jt);if(0===Ee)return 0;if(Ee=Y&((0>(Ee=31-sl(Ee))?0:1<<Ee)<<1)-1,0!==D&&D!==Ee&&0==(D&tn)){if(hn(D),ze<=jt)return D;jt=ze}if(0!==(D=y.entangledLanes))for(y=y.entanglements,D&=Ee;0<D;)Ee|=y[Y=31-sl(D)],D&=~(ze=1<<Y);return Ee}function _s(y){return 0!=(y=-1073741825&y.pendingLanes)?y:1073741824&y?1073741824:0}function Vo(y,D){switch(y){case 15:return 1;case 14:return 2;case 12:return 0===(y=Fs(24&~D))?Vo(10,D):y;case 10:return 0===(y=Fs(192&~D))?Vo(8,D):y;case 8:return 0===(y=Fs(3584&~D))&&0===(y=Fs(4186112&~D))&&(y=512),y;case 2:return 0===(D=Fs(805306368&~D))&&(D=268435456),D}throw Error(u(358,y))}function Fs(y){return y&-y}function Ks(y){for(var D=[],Y=0;31>Y;Y++)D.push(y);return D}function hl(y,D,Y){y.pendingLanes|=D;var Ee=D-1;y.suspendedLanes&=Ee,y.pingedLanes&=Ee,(y=y.eventTimes)[D=31-sl(D)]=Y}var sl=Math.clz32?Math.clz32:function _c(y){return 0===y?32:31-(Jl(y)/Xu|0)|0},Jl=Math.log,Xu=Math.LN2,Cl=f.unstable_UserBlockingPriority,mc=f.unstable_runWithPriority,Fl=!0;function Ku(y,D,Y,Ee){xi||yn();var ze=Mc,At=xi;xi=!0;try{Vt(ze,y,D,Y,Ee)}finally{(xi=At)||Uo()}}function Xa(y,D,Y,Ee){mc(Cl,Mc.bind(null,y,D,Y,Ee))}function Mc(y,D,Y,Ee){var ze;if(Fl)if((ze=0==(4&D))&&0<Jr.length&&-1<ma.indexOf(y))y=ya(null,y,D,Y,Ee),Jr.push(y);else{var At=ru(y,D,Y,Ee);if(null===At)ze&&fa(y,Ee);else{if(ze){if(-1<ma.indexOf(y))return y=ya(At,y,D,Y,Ee),void Jr.push(y);if(function Ra(y,D,Y,Ee,ze){switch(D){case"focusin":return ro=sa(ro,y,D,Y,Ee,ze),!0;case"dragenter":return go=sa(go,y,D,Y,Ee,ze),!0;case"mouseover":return Ro=sa(Ro,y,D,Y,Ee,ze),!0;case"pointerover":var At=ze.pointerId;return js.set(At,sa(js.get(At)||null,y,D,Y,Ee,ze)),!0;case"gotpointercapture":return ds.set(At=ze.pointerId,sa(ds.get(At)||null,y,D,Y,Ee,ze)),!0}return!1}(At,y,D,Y,Ee))return;fa(y,Ee)}ht(y,D,Ee,null,Y)}}}function ru(y,D,Y,Ee){var ze=Lr(Ee);if(null!==(ze=cu(ze))){var At=Eo(ze);if(null===At)ze=null;else{var tn=At.tag;if(13===tn){if(null!==(ze=mo(At)))return ze;ze=null}else if(3===tn){if(At.stateNode.hydrate)return 3===At.tag?At.stateNode.containerInfo:null;ze=null}else At!==ze&&(ze=null)}}return ht(y,D,Ee,ze,Y),null}var Ja=null,Ol=null,Bl=null;function Ya(){if(Bl)return Bl;var y,Ee,D=Ol,Y=D.length,ze="value"in Ja?Ja.value:Ja.textContent,At=ze.length;for(y=0;y<Y&&D[y]===ze[y];y++);var tn=Y-y;for(Ee=1;Ee<=tn&&D[Y-Ee]===ze[At-Ee];Ee++);return Bl=ze.slice(y,1<Ee?1-Ee:void 0)}function rt(y){var D=y.keyCode;return"charCode"in y?0===(y=y.charCode)&&13===D&&(y=13):y=D,10===y&&(y=13),32<=y||13===y?y:0}function qt(){return!0}function pt(){return!1}function Kt(y){function D(Y,Ee,ze,At,tn){for(var Tn in this._reactName=Y,this._targetInst=ze,this.type=Ee,this.nativeEvent=At,this.target=tn,this.currentTarget=null,y)y.hasOwnProperty(Tn)&&(this[Tn]=(Y=y[Tn])?Y(At):At[Tn]);return this.isDefaultPrevented=(null!=At.defaultPrevented?At.defaultPrevented:!1===At.returnValue)?qt:pt,this.isPropagationStopped=pt,this}return a(D.prototype,{preventDefault:function(){this.defaultPrevented=!0;var Y=this.nativeEvent;Y&&(Y.preventDefault?Y.preventDefault():"unknown"!=typeof Y.returnValue&&(Y.returnValue=!1),this.isDefaultPrevented=qt)},stopPropagation:function(){var Y=this.nativeEvent;Y&&(Y.stopPropagation?Y.stopPropagation():"unknown"!=typeof Y.cancelBubble&&(Y.cancelBubble=!0),this.isPropagationStopped=qt)},persist:function(){},isPersistent:qt}),D}var Vs,Os,ws,Kn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(y){return y.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},oi=Kt(Kn),wi=a({},Kn,{view:0,detail:0}),as=Kt(wi),Fo=a({},wi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:aa,button:0,buttons:0,relatedTarget:function(y){return void 0===y.relatedTarget?y.fromElement===y.srcElement?y.toElement:y.fromElement:y.relatedTarget},movementX:function(y){return"movementX"in y?y.movementX:(y!==ws&&(ws&&"mousemove"===y.type?(Vs=y.screenX-ws.screenX,Os=y.screenY-ws.screenY):Os=Vs=0,ws=y),Vs)},movementY:function(y){return"movementY"in y?y.movementY:Os}}),Ka=Kt(Fo),Bs=Kt(a({},Fo,{dataTransfer:0})),ot=Kt(a({},wi,{relatedTarget:0})),Xt=Kt(a({},Kn,{animationName:0,elapsedTime:0,pseudoElement:0})),Si=a({},Kn,{clipboardData:function(y){return"clipboardData"in y?y.clipboardData:window.clipboardData}}),Jo=Kt(Si),El=Kt(a({},Kn,{data:0})),qu={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Nc={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},hd={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Yi(y){var D=this.nativeEvent;return D.getModifierState?D.getModifierState(y):!!(y=hd[y])&&!!D[y]}function aa(){return Yi}var Fa=a({},wi,{key:function(y){if(y.key){var D=qu[y.key]||y.key;if("Unidentified"!==D)return D}return"keypress"===y.type?13===(y=rt(y))?"Enter":String.fromCharCode(y):"keydown"===y.type||"keyup"===y.type?Nc[y.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:aa,charCode:function(y){return"keypress"===y.type?rt(y):0},keyCode:function(y){return"keydown"===y.type||"keyup"===y.type?y.keyCode:0},which:function(y){return"keypress"===y.type?rt(y):"keydown"===y.type||"keyup"===y.type?y.keyCode:0}}),Es=Kt(Fa),Sl=Kt(a({},Fo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Eu=Kt(a({},wi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:aa})),ra=Kt(a({},Kn,{propertyName:0,elapsedTime:0,pseudoElement:0})),bu=a({},Fo,{deltaX:function(y){return"deltaX"in y?y.deltaX:"wheelDeltaX"in y?-y.wheelDeltaX:0},deltaY:function(y){return"deltaY"in y?y.deltaY:"wheelDeltaY"in y?-y.wheelDeltaY:"wheelDelta"in y?-y.wheelDelta:0},deltaZ:0,deltaMode:0}),td=Kt(bu),tc=[9,13,27,32],uu=M&&"CompositionEvent"in window,du=null;M&&"documentMode"in document&&(du=document.documentMode);var nd=M&&"TextEvent"in window&&!du,Uu=M&&(!uu||du&&8<du&&11>=du),Yu=String.fromCharCode(32),wu=!1;function Ld(y,D){switch(y){case"keyup":return-1!==tc.indexOf(D.keyCode);case"keydown":return 229!==D.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Io(y){return"object"==typeof(y=y.detail)&&"data"in y?y.data:null}var fu=!1,De={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function ct(y){var D=y&&y.nodeName&&y.nodeName.toLowerCase();return"input"===D?!!De[y.type]:"textarea"===D}function It(y,D,Y,Ee){$t(Ee),0<(D=sn(D,"onChange")).length&&(Y=new oi("onChange","change",null,Y,Ee),y.push({event:Y,listeners:D}))}var Ht=null,_n=null;function Pn(y){En(y,0)}function Tr(y){if(_r(ll(y)))return y}function ai(y,D){if("change"===y)return D}var Ei=!1;if(M){var Ci;if(M){var Vi="oninput"in document;if(!Vi){var Pr=document.createElement("div");Pr.setAttribute("oninput","return;"),Vi="function"==typeof Pr.oninput}Ci=Vi}else Ci=!1;Ei=Ci&&(!document.documentMode||9<document.documentMode)}function Yn(){Ht&&(Ht.detachEvent("onpropertychange",Rr),_n=Ht=null)}function Rr(y){if("value"===y.propertyName&&Tr(_n)){var D=[];if(It(D,_n,y,Lr(y)),y=Pn,xi)y(D);else{xi=!0;try{yt(y,D)}finally{xi=!1,Uo()}}}}function br(y,D,Y){"focusin"===y?(Yn(),_n=Y,(Ht=D).attachEvent("onpropertychange",Rr)):"focusout"===y&&Yn()}function fo(y){if("selectionchange"===y||"keyup"===y||"keydown"===y)return Tr(_n)}function $s(y,D){if("click"===y)return Tr(D)}function ls(y,D){if("input"===y||"change"===y)return Tr(D)}var Us="function"==typeof Object.is?Object.is:function _l(y,D){return y===D&&(0!==y||1/y==1/D)||y!=y&&D!=D},Zc=Object.prototype.hasOwnProperty;function Ic(y,D){if(Us(y,D))return!0;if("object"!=typeof y||null===y||"object"!=typeof D||null===D)return!1;var Y=Object.keys(y),Ee=Object.keys(D);if(Y.length!==Ee.length)return!1;for(Ee=0;Ee<Y.length;Ee++)if(!Zc.call(D,Y[Ee])||!Us(y[Y[Ee]],D[Y[Ee]]))return!1;return!0}function Pu(y){for(;y&&y.firstChild;)y=y.firstChild;return y}function Su(y,D){var Ee,Y=Pu(y);for(y=0;Y;){if(3===Y.nodeType){if(Ee=y+Y.textContent.length,y<=D&&Ee>=D)return{node:Y,offset:D-y};y=Ee}e:{for(;Y;){if(Y.nextSibling){Y=Y.nextSibling;break e}Y=Y.parentNode}Y=void 0}Y=Pu(Y)}}function Zd(y,D){return!(!y||!D)&&(y===D||(!y||3!==y.nodeType)&&(D&&3===D.nodeType?Zd(y,D.parentNode):"contains"in y?y.contains(D):!!y.compareDocumentPosition&&!!(16&y.compareDocumentPosition(D))))}function _d(){for(var y=window,D=ei();D instanceof y.HTMLIFrameElement;){try{var Y="string"==typeof D.contentWindow.location.href}catch(Ee){Y=!1}if(!Y)break;D=ei((y=D.contentWindow).document)}return D}function md(y){var D=y&&y.nodeName&&y.nodeName.toLowerCase();return D&&("input"===D&&("text"===y.type||"search"===y.type||"tel"===y.type||"url"===y.type||"password"===y.type)||"textarea"===D||"true"===y.contentEditable)}var Hc=M&&"documentMode"in document&&11>=document.documentMode,La=null,kd=null,Oc=null,Mo=!1;function wo(y,D,Y){var Ee=Y.window===Y?Y.document:9===Y.nodeType?Y:Y.ownerDocument;Mo||null==La||La!==ei(Ee)||(Ee="selectionStart"in(Ee=La)&&md(Ee)?{start:Ee.selectionStart,end:Ee.selectionEnd}:{anchorNode:(Ee=(Ee.ownerDocument&&Ee.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:Ee.anchorOffset,focusNode:Ee.focusNode,focusOffset:Ee.focusOffset},Oc&&Ic(Oc,Ee)||(Oc=Ee,0<(Ee=sn(kd,"onSelect")).length&&(D=new oi("onSelect","select",null,D,Y),y.push({event:D,listeners:Ee}),D.target=La)))}te("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),te("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),te(pn,2);for(var Sa="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Tl=0;Tl<Sa.length;Tl++)ut.set(Sa[Tl],0);T("onMouseEnter",["mouseout","mouseover"]),T("onMouseLeave",["mouseout","mouseover"]),T("onPointerEnter",["pointerout","pointerover"]),T("onPointerLeave",["pointerout","pointerover"]),g("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),g("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),g("onBeforeInput",["compositionend","keypress","textInput","paste"]),g("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),g("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),g("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ou="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Tu=new Set("cancel close invalid load scroll toggle".split(" ").concat(ou));function gc(y,D,Y){var Ee=y.type||"unknown-event";y.currentTarget=Y,function $i(y,D,Y,Ee,ze,At,tn,Tn,ar){if(ao.apply(this,arguments),ir){if(!ir)throw Error(u(198));var li=si;ir=!1,si=null,kn||(kn=!0,nr=li)}}(Ee,D,void 0,y),y.currentTarget=null}function En(y,D){D=0!=(4&D);for(var Y=0;Y<y.length;Y++){var Ee=y[Y],ze=Ee.event;Ee=Ee.listeners;e:{var At=void 0;if(D)for(var tn=Ee.length-1;0<=tn;tn--){var Tn=Ee[tn],ar=Tn.instance,li=Tn.currentTarget;if(Tn=Tn.listener,ar!==At&&ze.isPropagationStopped())break e;gc(ze,Tn,li),At=ar}else for(tn=0;tn<Ee.length;tn++){if(ar=(Tn=Ee[tn]).instance,li=Tn.currentTarget,Tn=Tn.listener,ar!==At&&ze.isPropagationStopped())break e;gc(ze,Tn,li),At=ar}}}if(kn)throw y=nr,kn=!1,nr=null,y}function pa(y,D){var Y=Ml(D),Ee=y+"__bubble";Y.has(Ee)||(ge(D,y,2,!1),Y.add(Ee))}var rd="_reactListening"+Math.random().toString(36).slice(2);function Ze(y){y[rd]||(y[rd]=!0,e.forEach(function(D){Tu.has(D)||Ae(D,!1,y,null),Ae(D,!0,y,null)}))}function Ae(y,D,Y,Ee){var ze=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,At=Y;if("selectionchange"===y&&9!==Y.nodeType&&(At=Y.ownerDocument),null!==Ee&&!D&&Tu.has(y)){if("scroll"!==y)return;ze|=2,At=Ee}var tn=Ml(At),Tn=y+"__"+(D?"capture":"bubble");tn.has(Tn)||(D&&(ze|=4),ge(At,y,ze,D),tn.add(Tn))}function ge(y,D,Y,Ee){var ze=ut.get(D);switch(void 0===ze?2:ze){case 0:ze=Ku;break;case 1:ze=Xa;break;default:ze=Mc}Y=ze.bind(null,D,Y,y),ze=void 0,!Ri||"touchstart"!==D&&"touchmove"!==D&&"wheel"!==D||(ze=!0),y.addEventListener(D,Y,Ee?void 0===ze||{capture:!0,passive:ze}:void 0!==ze&&{passive:ze})}function ht(y,D,Y,Ee,ze){var At=Ee;if(0==(1&D)&&0==(2&D)&&null!==Ee)e:for(;;){if(null===Ee)return;var tn=Ee.tag;if(3===tn||4===tn){var Tn=Ee.stateNode.containerInfo;if(Tn===ze||8===Tn.nodeType&&Tn.parentNode===ze)break;if(4===tn)for(tn=Ee.return;null!==tn;){var ar=tn.tag;if((3===ar||4===ar)&&((ar=tn.stateNode.containerInfo)===ze||8===ar.nodeType&&ar.parentNode===ze))return;tn=tn.return}for(;null!==Tn;){if(null===(tn=cu(Tn)))return;if(5===(ar=tn.tag)||6===ar){Ee=At=tn;continue e}Tn=Tn.parentNode}}Ee=Ee.return}!function Qo(y,D,Y){if(yi)return y(D,Y);yi=!0;try{Cr(y,D,Y)}finally{yi=!1,Uo()}}(function(){var li=At,Ho=Lr(Y),Hs=[];e:{var po=Ki.get(y);if(void 0!==po){var fs=oi,oa=y;switch(y){case"keypress":if(0===rt(Y))break e;case"keydown":case"keyup":fs=Es;break;case"focusin":oa="focus",fs=ot;break;case"focusout":oa="blur",fs=ot;break;case"beforeblur":case"afterblur":fs=ot;break;case"click":if(2===Y.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":fs=Ka;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":fs=Bs;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":fs=Eu;break;case Ns:case hs:case Oo:fs=Xt;break;case kr:fs=ra;break;case"scroll":fs=as;break;case"wheel":fs=td;break;case"copy":case"cut":case"paste":fs=Jo;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":fs=Sl}var Xs=0!=(4&D),Qr=!Xs&&"scroll"===y,Fr=Xs?null!==po?po+"Capture":null:po;Xs=[];for(var Hi,Zr=li;null!==Zr;){var io=(Hi=Zr).stateNode;if(5===Hi.tag&&null!==io&&(Hi=io,null!==Fr&&null!=(io=lo(Zr,Fr))&&Xs.push(Ot(Zr,io,Hi))),Qr)break;Zr=Zr.return}0<Xs.length&&(po=new fs(po,oa,null,Y,Ho),Hs.push({event:po,listeners:Xs}))}}if(0==(7&D)){if(fs="mouseout"===y||"pointerout"===y,(!(po="mouseover"===y||"pointerover"===y)||0!=(16&D)||!(oa=Y.relatedTarget||Y.fromElement)||!cu(oa)&&!oa[gd])&&(fs||po)&&(po=Ho.window===Ho?Ho:(po=Ho.ownerDocument)?po.defaultView||po.parentWindow:window,fs?(fs=li,null!==(oa=(oa=Y.relatedTarget||Y.toElement)?cu(oa):null)&&(oa!==(Qr=Eo(oa))||5!==oa.tag&&6!==oa.tag)&&(oa=null)):(fs=null,oa=li),fs!==oa)){if(Xs=Ka,io="onMouseLeave",Fr="onMouseEnter",Zr="mouse",("pointerout"===y||"pointerover"===y)&&(Xs=Sl,io="onPointerLeave",Fr="onPointerEnter",Zr="pointer"),Qr=null==fs?po:ll(fs),Hi=null==oa?po:ll(oa),(po=new Xs(io,Zr+"leave",fs,Y,Ho)).target=Qr,po.relatedTarget=Hi,io=null,cu(Ho)===li&&((Xs=new Xs(Fr,Zr+"enter",oa,Y,Ho)).target=Hi,Xs.relatedTarget=Qr,io=Xs),Qr=io,fs&&oa)t:{for(Fr=oa,Zr=0,Hi=Xs=fs;Hi;Hi=Un(Hi))Zr++;for(Hi=0,io=Fr;io;io=Un(io))Hi++;for(;0<Zr-Hi;)Xs=Un(Xs),Zr--;for(;0<Hi-Zr;)Fr=Un(Fr),Hi--;for(;Zr--;){if(Xs===Fr||null!==Fr&&Xs===Fr.alternate)break t;Xs=Un(Xs),Fr=Un(Fr)}Xs=null}else Xs=null;null!==fs&&gr(Hs,po,fs,Xs,!1),null!==oa&&null!==Qr&&gr(Hs,Qr,oa,Xs,!0)}if("select"===(fs=(po=li?ll(li):window).nodeName&&po.nodeName.toLowerCase())||"input"===fs&&"file"===po.type)var Ha=ai;else if(ct(po))if(Ei)Ha=ls;else{Ha=fo;var vs=br}else(fs=po.nodeName)&&"input"===fs.toLowerCase()&&("checkbox"===po.type||"radio"===po.type)&&(Ha=$s);switch(Ha&&(Ha=Ha(y,li))?It(Hs,Ha,Y,Ho):(vs&&vs(y,po,li),"focusout"===y&&(vs=po._wrapperState)&&vs.controlled&&"number"===po.type&&an(po,"number",po.value)),vs=li?ll(li):window,y){case"focusin":(ct(vs)||"true"===vs.contentEditable)&&(La=vs,kd=li,Oc=null);break;case"focusout":Oc=kd=La=null;break;case"mousedown":Mo=!0;break;case"contextmenu":case"mouseup":case"dragend":Mo=!1,wo(Hs,Y,Ho);break;case"selectionchange":if(Hc)break;case"keydown":case"keyup":wo(Hs,Y,Ho)}var Pa;if(uu)e:{switch(y){case"compositionstart":var Za="onCompositionStart";break e;case"compositionend":Za="onCompositionEnd";break e;case"compositionupdate":Za="onCompositionUpdate";break e}Za=void 0}else fu?Ld(y,Y)&&(Za="onCompositionEnd"):"keydown"===y&&229===Y.keyCode&&(Za="onCompositionStart");Za&&(Uu&&"ko"!==Y.locale&&(fu||"onCompositionStart"!==Za?"onCompositionEnd"===Za&&fu&&(Pa=Ya()):(Ol="value"in(Ja=Ho)?Ja.value:Ja.textContent,fu=!0)),0<(vs=sn(li,Za)).length&&(Za=new El(Za,y,null,Y,Ho),Hs.push({event:Za,listeners:vs}),(Pa||null!==(Pa=Io(Y)))&&(Za.data=Pa))),(Pa=nd?function Sr(y,D){switch(y){case"compositionend":return Io(D);case"keypress":return 32!==D.which?null:(wu=!0,Yu);case"textInput":return(y=D.data)===Yu&&wu?null:y;default:return null}}(y,Y):function Z(y,D){if(fu)return"compositionend"===y||!uu&&Ld(y,D)?(y=Ya(),Bl=Ol=Ja=null,fu=!1,y):null;switch(y){case"paste":default:return null;case"keypress":if(!(D.ctrlKey||D.altKey||D.metaKey)||D.ctrlKey&&D.altKey){if(D.char&&1<D.char.length)return D.char;if(D.which)return String.fromCharCode(D.which)}return null;case"compositionend":return Uu&&"ko"!==D.locale?null:D.data}}(y,Y))&&0<(li=sn(li,"onBeforeInput")).length&&(Ho=new El("onBeforeInput","beforeinput",null,Y,Ho),Hs.push({event:Ho,listeners:li}),Ho.data=Pa)}En(Hs,D)})}function Ot(y,D,Y){return{instance:y,listener:D,currentTarget:Y}}function sn(y,D){for(var Y=D+"Capture",Ee=[];null!==y;){var ze=y,At=ze.stateNode;5===ze.tag&&null!==At&&(ze=At,null!=(At=lo(y,Y))&&Ee.unshift(Ot(y,At,ze)),null!=(At=lo(y,D))&&Ee.push(Ot(y,At,ze))),y=y.return}return Ee}function Un(y){if(null===y)return null;do{y=y.return}while(y&&5!==y.tag);return y||null}function gr(y,D,Y,Ee,ze){for(var At=D._reactName,tn=[];null!==Y&&Y!==Ee;){var Tn=Y,ar=Tn.alternate,li=Tn.stateNode;if(null!==ar&&ar===Ee)break;5===Tn.tag&&null!==li&&(Tn=li,ze?null!=(ar=lo(Y,At))&&tn.unshift(Ot(Y,ar,Tn)):ze||null!=(ar=lo(Y,At))&&tn.push(Ot(Y,ar,Tn))),Y=Y.return}0!==tn.length&&y.push({event:D,listeners:tn})}function gi(){}var Lo=null,Ta=null;function ms(y,D){switch(y){case"button":case"input":case"select":case"textarea":return!!D.autoFocus}return!1}function ha(y,D){return"textarea"===y||"option"===y||"noscript"===y||"string"==typeof D.children||"number"==typeof D.children||"object"==typeof D.dangerouslySetInnerHTML&&null!==D.dangerouslySetInnerHTML&&null!=D.dangerouslySetInnerHTML.__html}var Ca="function"==typeof setTimeout?setTimeout:void 0,Nu="function"==typeof clearTimeout?clearTimeout:void 0;function cc(y){(1===y.nodeType||9===y.nodeType&&null!=(y=y.body))&&(y.textContent="")}function ka(y){for(;null!=y;y=y.nextSibling){var D=y.nodeType;if(1===D||3===D)break}return y}function rl(y){y=y.previousSibling;for(var D=0;y;){if(8===y.nodeType){var Y=y.data;if("$"===Y||"$!"===Y||"$?"===Y){if(0===D)return y;D--}else"/$"===Y&&D++}y=y.previousSibling}return null}var vc=0,ju=Math.random().toString(36).slice(2),Ul="__reactFiber$"+ju,nc="__reactProps$"+ju,gd="__reactContainer$"+ju,Fc="__reactEvents$"+ju;function cu(y){var D=y[Ul];if(D)return D;for(var Y=y.parentNode;Y;){if(D=Y[gd]||Y[Ul]){if(Y=D.alternate,null!==D.child||null!==Y&&null!==Y.child)for(y=rl(y);null!==y;){if(Y=y[Ul])return Y;y=rl(y)}return D}Y=(y=Y).parentNode}return null}function Ma(y){return!(y=y[Ul]||y[gd])||5!==y.tag&&6!==y.tag&&13!==y.tag&&3!==y.tag?null:y}function ll(y){if(5===y.tag||6===y.tag)return y.stateNode;throw Error(u(33))}function Ll(y){return y[nc]||null}function Ml(y){var D=y[Fc];return void 0===D&&(D=y[Fc]=new Set),D}var gf=[],zd=-1;function id(y){return{current:y}}function Al(y){0>zd||(y.current=gf[zd],gf[zd]=null,zd--)}function kl(y,D){zd++,gf[zd]=y.current,y.current=D}var Gu={},ul=id(Gu),Cu=id(!1),cn=Gu;function Ec(y,D){var Y=y.type.contextTypes;if(!Y)return Gu;var Ee=y.stateNode;if(Ee&&Ee.__reactInternalMemoizedUnmaskedChildContext===D)return Ee.__reactInternalMemoizedMaskedChildContext;var At,ze={};for(At in Y)ze[At]=D[At];return Ee&&((y=y.stateNode).__reactInternalMemoizedUnmaskedChildContext=D,y.__reactInternalMemoizedMaskedChildContext=ze),ze}function Iu(y){return null!=y.childContextTypes}function qa(){Al(Cu),Al(ul)}function cl(y,D,Y){if(ul.current!==Gu)throw Error(u(168));kl(ul,D),kl(Cu,Y)}function xf(y,D,Y){var Ee=y.stateNode;if(y=D.childContextTypes,"function"!=typeof Ee.getChildContext)return Y;for(var ze in Ee=Ee.getChildContext())if(!(ze in y))throw Error(u(108,hr(D)||"Unknown",ze));return a({},Y,Ee)}function Bc(y){return y=(y=y.stateNode)&&y.__reactInternalMemoizedMergedChildContext||Gu,cn=ul.current,kl(ul,y),kl(Cu,Cu.current),!0}function vd(y,D,Y){var Ee=y.stateNode;if(!Ee)throw Error(u(169));Y?(y=xf(y,D,cn),Ee.__reactInternalMemoizedMergedChildContext=y,Al(Cu),Al(ul),kl(ul,y)):Al(Cu),kl(Cu,Y)}var dc=null,yd=null,$p=f.unstable_runWithPriority,vf=f.unstable_scheduleCallback,ap=f.unstable_cancelCallback,Vu=f.unstable_shouldYield,fc=f.unstable_requestPaint,Wd=f.unstable_now,Rf=f.unstable_getCurrentPriorityLevel,yp=f.unstable_ImmediatePriority,Lc=f.unstable_UserBlockingPriority,Fu=f.unstable_NormalPriority,od=f.unstable_LowPriority,rc=f.unstable_IdlePriority,Oa={},zc=void 0!==fc?fc:function(){},sd=null,lp=null,$d=!1,vo=Wd(),pu=1e4>vo?Wd:function(){return Wd()-vo};function $l(){switch(Rf()){case yp:return 99;case Lc:return 98;case Fu:return 97;case od:return 96;case rc:return 95;default:throw Error(u(332))}}function Ac(y){switch(y){case 99:return yp;case 98:return Lc;case 97:return Fu;case 96:return od;case 95:return rc;default:throw Error(u(332))}}function ga(y,D){return y=Ac(y),$p(y,D)}function Dc(y,D,Y){return y=Ac(y),vf(y,D,Y)}function Lu(){if(null!==lp){var y=lp;lp=null,ap(y)}bc()}function bc(){if(!$d&&null!==sd){$d=!0;var y=0;try{var D=sd;ga(99,function(){for(;y<D.length;y++){var Y=D[y];do{Y=Y(!0)}while(null!==Y)}}),sd=null}catch(Y){throw null!==sd&&(sd=sd.slice(y+1)),vf(yp,Lu),Y}finally{$d=!1}}}var ic=fe.ReactCurrentBatchConfig;function Ql(y,D){if(y&&y.defaultProps){for(var Y in D=a({},D),y=y.defaultProps)void 0===D[Y]&&(D[Y]=y[Y]);return D}return D}var Sc=id(null),Tc=null,Zu=null,hu=null;function Wc(){hu=Zu=Tc=null}function pc(y){var D=Sc.current;Al(Sc),y.type._context._currentValue=D}function Jd(y,D){for(;null!==y;){var Y=y.alternate;if((y.childLanes&D)===D){if(null===Y||(Y.childLanes&D)===D)break;Y.childLanes|=D}else y.childLanes|=D,null!==Y&&(Y.childLanes|=D);y=y.return}}function Jc(y,D){Tc=y,hu=Zu=null,null!==(y=y.dependencies)&&null!==y.firstContext&&(0!=(y.lanes&D)&&(Tf=!0),y.firstContext=null)}function Nl(y,D){if(hu!==y&&!1!==D&&0!==D)if(("number"!=typeof D||1073741823===D)&&(hu=y,D=1073741823),D={context:y,observedBits:D,next:null},null===Zu){if(null===Tc)throw Error(u(308));Zu=D,Tc.dependencies={lanes:0,firstContext:D,responders:null}}else Zu=Zu.next=D;return y._currentValue}var Uc=!1;function oc(y){y.updateQueue={baseState:y.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function h(y,D){D.updateQueue===(y=y.updateQueue)&&(D.updateQueue={baseState:y.baseState,firstBaseUpdate:y.firstBaseUpdate,lastBaseUpdate:y.lastBaseUpdate,shared:y.shared,effects:y.effects})}function E(y,D){return{eventTime:y,lane:D,tag:0,payload:null,callback:null,next:null}}function P(y,D){if(null!==(y=y.updateQueue)){var Y=(y=y.shared).pending;null===Y?D.next=D:(D.next=Y.next,Y.next=D),y.pending=D}}function L(y,D){var Y=y.updateQueue,Ee=y.alternate;if(null===Ee||Y!==(Ee=Ee.updateQueue))null===(y=Y.lastBaseUpdate)?Y.firstBaseUpdate=D:y.next=D,Y.lastBaseUpdate=D;else{var ze=null,At=null;if(null!==(Y=Y.firstBaseUpdate)){do{var tn={eventTime:Y.eventTime,lane:Y.lane,tag:Y.tag,payload:Y.payload,callback:Y.callback,next:null};null===At?ze=At=tn:At=At.next=tn,Y=Y.next}while(null!==Y);null===At?ze=At=D:At=At.next=D}else ze=At=D;y.updateQueue=Y={baseState:Ee.baseState,firstBaseUpdate:ze,lastBaseUpdate:At,shared:Ee.shared,effects:Ee.effects}}}function X(y,D,Y,Ee){var ze=y.updateQueue;Uc=!1;var At=ze.firstBaseUpdate,tn=ze.lastBaseUpdate,Tn=ze.shared.pending;if(null!==Tn){ze.shared.pending=null;var ar=Tn,li=ar.next;ar.next=null,null===tn?At=li:tn.next=li,tn=ar;var Ho=y.alternate;if(null!==Ho){var Hs=(Ho=Ho.updateQueue).lastBaseUpdate;Hs!==tn&&(null===Hs?Ho.firstBaseUpdate=li:Hs.next=li,Ho.lastBaseUpdate=ar)}}if(null!==At){for(Hs=ze.baseState,tn=0,Ho=li=ar=null;;){var po=At.eventTime;if((Ee&(Tn=At.lane))===Tn){null!==Ho&&(Ho=Ho.next={eventTime:po,lane:0,tag:At.tag,payload:At.payload,callback:At.callback,next:null});e:{var fs=y,oa=At;switch(Tn=D,po=Y,oa.tag){case 1:if("function"==typeof(fs=oa.payload)){Hs=fs.call(po,Hs,Tn);break e}Hs=fs;break e;case 3:fs.flags=-4097&fs.flags|64;case 0:if(null==(Tn="function"==typeof(fs=oa.payload)?fs.call(po,Hs,Tn):fs))break e;Hs=a({},Hs,Tn);break e;case 2:Uc=!0}}null!==At.callback&&(y.flags|=32,null===(Tn=ze.effects)?ze.effects=[At]:Tn.push(At))}else po={eventTime:po,lane:Tn,tag:At.tag,payload:At.payload,callback:At.callback,next:null},null===Ho?(li=Ho=po,ar=Hs):Ho=Ho.next=po,tn|=Tn;if(null===(At=At.next)){if(null===(Tn=ze.shared.pending))break;At=Tn.next,Tn.next=null,ze.lastBaseUpdate=Tn,ze.shared.pending=null}}null===Ho&&(ar=Hs),ze.baseState=ar,ze.firstBaseUpdate=li,ze.lastBaseUpdate=Ho,Mp|=tn,y.lanes=tn,y.memoizedState=Hs}}function de(y,D,Y){if(y=D.effects,D.effects=null,null!==y)for(D=0;D<y.length;D++){var Ee=y[D],ze=Ee.callback;if(null!==ze){if(Ee.callback=null,Ee=Y,"function"!=typeof ze)throw Error(u(191,ze));ze.call(Ee)}}}var ve=(new r.Component).refs;function Ye(y,D,Y,Ee){Y=null==(Y=Y(Ee,D=y.memoizedState))?D:a({},D,Y),y.memoizedState=Y,0===y.lanes&&(y.updateQueue.baseState=Y)}var xe={isMounted:function(y){return!!(y=y._reactInternals)&&Eo(y)===y},enqueueSetState:function(y,D,Y){y=y._reactInternals;var Ee=jc(),ze=Xf(y),At=E(Ee,ze);At.payload=D,null!=Y&&(At.callback=Y),P(y,At),pp(y,ze,Ee)},enqueueReplaceState:function(y,D,Y){y=y._reactInternals;var Ee=jc(),ze=Xf(y),At=E(Ee,ze);At.tag=1,At.payload=D,null!=Y&&(At.callback=Y),P(y,At),pp(y,ze,Ee)},enqueueForceUpdate:function(y,D){y=y._reactInternals;var Y=jc(),Ee=Xf(y),ze=E(Y,Ee);ze.tag=2,null!=D&&(ze.callback=D),P(y,ze),pp(y,Ee,Y)}};function nt(y,D,Y,Ee,ze,At,tn){return"function"==typeof(y=y.stateNode).shouldComponentUpdate?y.shouldComponentUpdate(Ee,At,tn):!(D.prototype&&D.prototype.isPureReactComponent&&Ic(Y,Ee)&&Ic(ze,At))}function St(y,D,Y){var Ee=!1,ze=Gu,At=D.contextType;return"object"==typeof At&&null!==At?At=Nl(At):(ze=Iu(D)?cn:ul.current,At=(Ee=null!=(Ee=D.contextTypes))?Ec(y,ze):Gu),D=new D(Y,At),y.memoizedState=null!=D.state?D.state:null,D.updater=xe,y.stateNode=D,D._reactInternals=y,Ee&&((y=y.stateNode).__reactInternalMemoizedUnmaskedChildContext=ze,y.__reactInternalMemoizedMaskedChildContext=At),D}function Mt(y,D,Y,Ee){y=D.state,"function"==typeof D.componentWillReceiveProps&&D.componentWillReceiveProps(Y,Ee),"function"==typeof D.UNSAFE_componentWillReceiveProps&&D.UNSAFE_componentWillReceiveProps(Y,Ee),D.state!==y&&xe.enqueueReplaceState(D,D.state,null)}function fn(y,D,Y,Ee){var ze=y.stateNode;ze.props=Y,ze.state=y.memoizedState,ze.refs=ve,oc(y);var At=D.contextType;"object"==typeof At&&null!==At?ze.context=Nl(At):(At=Iu(D)?cn:ul.current,ze.context=Ec(y,At)),X(y,Y,ze,Ee),ze.state=y.memoizedState,"function"==typeof(At=D.getDerivedStateFromProps)&&(Ye(y,D,At,Y),ze.state=y.memoizedState),"function"==typeof D.getDerivedStateFromProps||"function"==typeof ze.getSnapshotBeforeUpdate||"function"!=typeof ze.UNSAFE_componentWillMount&&"function"!=typeof ze.componentWillMount||(D=ze.state,"function"==typeof ze.componentWillMount&&ze.componentWillMount(),"function"==typeof ze.UNSAFE_componentWillMount&&ze.UNSAFE_componentWillMount(),D!==ze.state&&xe.enqueueReplaceState(ze,ze.state,null),X(y,Y,ze,Ee),ze.state=y.memoizedState),"function"==typeof ze.componentDidMount&&(y.flags|=4)}var jn=Array.isArray;function Vn(y,D,Y){if(null!==(y=Y.ref)&&"function"!=typeof y&&"object"!=typeof y){if(Y._owner){if(Y=Y._owner){if(1!==Y.tag)throw Error(u(309));var Ee=Y.stateNode}if(!Ee)throw Error(u(147,y));var ze=""+y;return null!==D&&null!==D.ref&&"function"==typeof D.ref&&D.ref._stringRef===ze?D.ref:((D=function(At){var tn=Ee.refs;tn===ve&&(tn=Ee.refs={}),null===At?delete tn[ze]:tn[ze]=At})._stringRef=ze,D)}if("string"!=typeof y)throw Error(u(284));if(!Y._owner)throw Error(u(290,y))}return y}function fr(y,D){if("textarea"!==y.type)throw Error(u(31,"[object Object]"===Object.prototype.toString.call(D)?"object with keys {"+Object.keys(D).join(", ")+"}":D))}function $r(y){function D(Qr,Fr){if(y){var Zr=Qr.lastEffect;null!==Zr?(Zr.nextEffect=Fr,Qr.lastEffect=Fr):Qr.firstEffect=Qr.lastEffect=Fr,Fr.nextEffect=null,Fr.flags=8}}function Y(Qr,Fr){if(!y)return null;for(;null!==Fr;)D(Qr,Fr),Fr=Fr.sibling;return null}function Ee(Qr,Fr){for(Qr=new Map;null!==Fr;)Qr.set(null!==Fr.key?Fr.key:Fr.index,Fr),Fr=Fr.sibling;return Qr}function ze(Qr,Fr){return(Qr=hp(Qr,Fr)).index=0,Qr.sibling=null,Qr}function At(Qr,Fr,Zr){return Qr.index=Zr,y?null!==(Zr=Qr.alternate)?(Zr=Zr.index)<Fr?(Qr.flags=2,Fr):Zr:(Qr.flags=2,Fr):Fr}function tn(Qr){return y&&null===Qr.alternate&&(Qr.flags=2),Qr}function Tn(Qr,Fr,Zr,Hi){return null===Fr||6!==Fr.tag?((Fr=C_(Zr,Qr.mode,Hi)).return=Qr,Fr):((Fr=ze(Fr,Zr)).return=Qr,Fr)}function ar(Qr,Fr,Zr,Hi){return null!==Fr&&Fr.elementType===Zr.type?((Hi=ze(Fr,Zr.props)).ref=Vn(Qr,Fr,Zr),Hi.return=Qr,Hi):((Hi=Ah(Zr.type,Zr.key,Zr.props,null,Qr.mode,Hi)).ref=Vn(Qr,Fr,Zr),Hi.return=Qr,Hi)}function li(Qr,Fr,Zr,Hi){return null===Fr||4!==Fr.tag||Fr.stateNode.containerInfo!==Zr.containerInfo||Fr.stateNode.implementation!==Zr.implementation?((Fr=Dh(Zr,Qr.mode,Hi)).return=Qr,Fr):((Fr=ze(Fr,Zr.children||[])).return=Qr,Fr)}function Ho(Qr,Fr,Zr,Hi,io){return null===Fr||7!==Fr.tag?((Fr=Gc(Zr,Qr.mode,Hi,io)).return=Qr,Fr):((Fr=ze(Fr,Zr)).return=Qr,Fr)}function Hs(Qr,Fr,Zr){if("string"==typeof Fr||"number"==typeof Fr)return(Fr=C_(""+Fr,Qr.mode,Zr)).return=Qr,Fr;if("object"==typeof Fr&&null!==Fr){switch(Fr.$$typeof){case _e:return(Zr=Ah(Fr.type,Fr.key,Fr.props,null,Qr.mode,Zr)).ref=Vn(Qr,null,Fr),Zr.return=Qr,Zr;case Ce:return(Fr=Dh(Fr,Qr.mode,Zr)).return=Qr,Fr}if(jn(Fr)||Ct(Fr))return(Fr=Gc(Fr,Qr.mode,Zr,null)).return=Qr,Fr;fr(Qr,Fr)}return null}function po(Qr,Fr,Zr,Hi){var io=null!==Fr?Fr.key:null;if("string"==typeof Zr||"number"==typeof Zr)return null!==io?null:Tn(Qr,Fr,""+Zr,Hi);if("object"==typeof Zr&&null!==Zr){switch(Zr.$$typeof){case _e:return Zr.key===io?Zr.type===ce?Ho(Qr,Fr,Zr.props.children,Hi,io):ar(Qr,Fr,Zr,Hi):null;case Ce:return Zr.key===io?li(Qr,Fr,Zr,Hi):null}if(jn(Zr)||Ct(Zr))return null!==io?null:Ho(Qr,Fr,Zr,Hi,null);fr(Qr,Zr)}return null}function fs(Qr,Fr,Zr,Hi,io){if("string"==typeof Hi||"number"==typeof Hi)return Tn(Fr,Qr=Qr.get(Zr)||null,""+Hi,io);if("object"==typeof Hi&&null!==Hi){switch(Hi.$$typeof){case _e:return Qr=Qr.get(null===Hi.key?Zr:Hi.key)||null,Hi.type===ce?Ho(Fr,Qr,Hi.props.children,io,Hi.key):ar(Fr,Qr,Hi,io);case Ce:return li(Fr,Qr=Qr.get(null===Hi.key?Zr:Hi.key)||null,Hi,io)}if(jn(Hi)||Ct(Hi))return Ho(Fr,Qr=Qr.get(Zr)||null,Hi,io,null);fr(Fr,Hi)}return null}return function(Qr,Fr,Zr,Hi){var io="object"==typeof Zr&&null!==Zr&&Zr.type===ce&&null===Zr.key;io&&(Zr=Zr.props.children);var Ha="object"==typeof Zr&&null!==Zr;if(Ha)switch(Zr.$$typeof){case _e:e:{for(Ha=Zr.key,io=Fr;null!==io;){if(io.key===Ha){if(7===io.tag){if(Zr.type===ce){Y(Qr,io.sibling),(Fr=ze(io,Zr.props.children)).return=Qr,Qr=Fr;break e}}else if(io.elementType===Zr.type){Y(Qr,io.sibling),(Fr=ze(io,Zr.props)).ref=Vn(Qr,io,Zr),Fr.return=Qr,Qr=Fr;break e}Y(Qr,io);break}D(Qr,io),io=io.sibling}Zr.type===ce?((Fr=Gc(Zr.props.children,Qr.mode,Hi,Zr.key)).return=Qr,Qr=Fr):((Hi=Ah(Zr.type,Zr.key,Zr.props,null,Qr.mode,Hi)).ref=Vn(Qr,Fr,Zr),Hi.return=Qr,Qr=Hi)}return tn(Qr);case Ce:e:{for(io=Zr.key;null!==Fr;){if(Fr.key===io){if(4===Fr.tag&&Fr.stateNode.containerInfo===Zr.containerInfo&&Fr.stateNode.implementation===Zr.implementation){Y(Qr,Fr.sibling),(Fr=ze(Fr,Zr.children||[])).return=Qr,Qr=Fr;break e}Y(Qr,Fr);break}D(Qr,Fr),Fr=Fr.sibling}(Fr=Dh(Zr,Qr.mode,Hi)).return=Qr,Qr=Fr}return tn(Qr)}if("string"==typeof Zr||"number"==typeof Zr)return Zr=""+Zr,null!==Fr&&6===Fr.tag?(Y(Qr,Fr.sibling),(Fr=ze(Fr,Zr)).return=Qr,Qr=Fr):(Y(Qr,Fr),(Fr=C_(Zr,Qr.mode,Hi)).return=Qr,Qr=Fr),tn(Qr);if(jn(Zr))return function oa(Qr,Fr,Zr,Hi){for(var io=null,Ha=null,vs=Fr,Pa=Fr=0,Za=null;null!==vs&&Pa<Zr.length;Pa++){vs.index>Pa?(Za=vs,vs=null):Za=vs.sibling;var va=po(Qr,vs,Zr[Pa],Hi);if(null===va){null===vs&&(vs=Za);break}y&&vs&&null===va.alternate&&D(Qr,vs),Fr=At(va,Fr,Pa),null===Ha?io=va:Ha.sibling=va,Ha=va,vs=Za}if(Pa===Zr.length)return Y(Qr,vs),io;if(null===vs){for(;Pa<Zr.length;Pa++)null!==(vs=Hs(Qr,Zr[Pa],Hi))&&(Fr=At(vs,Fr,Pa),null===Ha?io=vs:Ha.sibling=vs,Ha=vs);return io}for(vs=Ee(Qr,vs);Pa<Zr.length;Pa++)null!==(Za=fs(vs,Qr,Pa,Zr[Pa],Hi))&&(y&&null!==Za.alternate&&vs.delete(null===Za.key?Pa:Za.key),Fr=At(Za,Fr,Pa),null===Ha?io=Za:Ha.sibling=Za,Ha=Za);return y&&vs.forEach(function(Hf){return D(Qr,Hf)}),io}(Qr,Fr,Zr,Hi);if(Ct(Zr))return function Xs(Qr,Fr,Zr,Hi){var io=Ct(Zr);if("function"!=typeof io)throw Error(u(150));if(null==(Zr=io.call(Zr)))throw Error(u(151));for(var Ha=io=null,vs=Fr,Pa=Fr=0,Za=null,va=Zr.next();null!==vs&&!va.done;Pa++,va=Zr.next()){vs.index>Pa?(Za=vs,vs=null):Za=vs.sibling;var Hf=po(Qr,vs,va.value,Hi);if(null===Hf){null===vs&&(vs=Za);break}y&&vs&&null===Hf.alternate&&D(Qr,vs),Fr=At(Hf,Fr,Pa),null===Ha?io=Hf:Ha.sibling=Hf,Ha=Hf,vs=Za}if(va.done)return Y(Qr,vs),io;if(null===vs){for(;!va.done;Pa++,va=Zr.next())null!==(va=Hs(Qr,va.value,Hi))&&(Fr=At(va,Fr,Pa),null===Ha?io=va:Ha.sibling=va,Ha=va);return io}for(vs=Ee(Qr,vs);!va.done;Pa++,va=Zr.next())null!==(va=fs(vs,Qr,Pa,va.value,Hi))&&(y&&null!==va.alternate&&vs.delete(null===va.key?Pa:va.key),Fr=At(va,Fr,Pa),null===Ha?io=va:Ha.sibling=va,Ha=va);return y&&vs.forEach(function(im){return D(Qr,im)}),io}(Qr,Fr,Zr,Hi);if(Ha&&fr(Qr,Zr),void 0===Zr&&!io)switch(Qr.tag){case 1:case 22:case 0:case 11:case 15:throw Error(u(152,hr(Qr.type)||"Component"))}return Y(Qr,Fr)}}var Ui=$r(!0),is=$r(!1),yo={},Zs=id(yo),qs=id(yo),el=id(yo);function $a(y){if(y===yo)throw Error(u(174));return y}function Ga(y,D){switch(kl(el,D),kl(qs,y),kl(Zs,yo),y=D.nodeType){case 9:case 11:D=(D=D.documentElement)?D.namespaceURI:mn(null,"");break;default:D=mn(D=(y=8===y?D.parentNode:D).namespaceURI||null,y=y.tagName)}Al(Zs),kl(Zs,D)}function wa(){Al(Zs),Al(qs),Al(el)}function Gl(y){$a(el.current);var D=$a(Zs.current),Y=mn(D,y.type);D!==Y&&(kl(qs,y),kl(Zs,Y))}function _u(y){qs.current===y&&(Al(Zs),Al(qs))}var Va=id(0);function Mu(y){for(var D=y;null!==D;){if(13===D.tag){var Y=D.memoizedState;if(null!==Y&&(null===(Y=Y.dehydrated)||"$?"===Y.data||"$!"===Y.data))return D}else if(19===D.tag&&void 0!==D.memoizedProps.revealOrder){if(0!=(64&D.flags))return D}else if(null!==D.child){D.child.return=D,D=D.child;continue}if(D===y)break;for(;null===D.sibling;){if(null===D.return||D.return===y)return null;D=D.return}D.sibling.return=D.return,D=D.sibling}return null}var ku=null,xc=null,Ou=!1;function Qd(y,D){var Y=Ad(5,null,null,0);Y.elementType="DELETED",Y.type="DELETED",Y.stateNode=D,Y.return=y,Y.flags=8,null!==y.lastEffect?(y.lastEffect.nextEffect=Y,y.lastEffect=Y):y.firstEffect=y.lastEffect=Y}function il(y,D){switch(y.tag){case 5:return null!==(D=1!==D.nodeType||y.type.toLowerCase()!==D.nodeName.toLowerCase()?null:D)&&(y.stateNode=D,!0);case 6:return null!==(D=""===y.pendingProps||3!==D.nodeType?null:D)&&(y.stateNode=D,!0);default:return!1}}function K(y){if(Ou){var D=xc;if(D){var Y=D;if(!il(y,D)){if(!(D=ka(Y.nextSibling))||!il(y,D))return y.flags=-1025&y.flags|2,Ou=!1,void(ku=y);Qd(ku,Y)}ku=y,xc=ka(D.firstChild)}else y.flags=-1025&y.flags|2,Ou=!1,ku=y}}function be(y){for(y=y.return;null!==y&&5!==y.tag&&3!==y.tag&&13!==y.tag;)y=y.return;ku=y}function lt(y){if(y!==ku)return!1;if(!Ou)return be(y),Ou=!0,!1;var D=y.type;if(5!==y.tag||"head"!==D&&"body"!==D&&!ha(D,y.memoizedProps))for(D=xc;D;)Qd(y,D),D=ka(D.nextSibling);if(be(y),13===y.tag){if(!(y=null!==(y=y.memoizedState)?y.dehydrated:null))throw Error(u(317));e:{for(y=y.nextSibling,D=0;y;){if(8===y.nodeType){var Y=y.data;if("/$"===Y){if(0===D){xc=ka(y.nextSibling);break e}D--}else"$"!==Y&&"$!"!==Y&&"$?"!==Y||D++}y=y.nextSibling}xc=null}}else xc=ku?ka(y.stateNode.nextSibling):null;return!0}function wt(){xc=ku=null,Ou=!1}var ln=[];function Dr(){for(var y=0;y<ln.length;y++)ln[y]._workInProgressVersionPrimary=null;ln.length=0}var Ai=fe.ReactCurrentDispatcher,gs=fe.ReactCurrentBatchConfig,Aa=0,ca=null,Dl=null,Yl=null,Yc=!1,yf=!1;function Hd(){throw Error(u(321))}function f_(y,D){if(null===D)return!1;for(var Y=0;Y<D.length&&Y<y.length;Y++)if(!Us(y[Y],D[Y]))return!1;return!0}function sh(y,D,Y,Ee,ze,At){if(Aa=At,ca=D,D.memoizedState=null,D.updateQueue=null,D.lanes=0,Ai.current=null===y||null===y.memoizedState?bf:Sf,y=Y(Ee,ze),yf){At=0;do{if(yf=!1,!(25>At))throw Error(u(301));At+=1,Yl=Dl=null,D.updateQueue=null,Ai.current=Zf,y=Y(Ee,ze)}while(yf)}if(Ai.current=dh,D=null!==Dl&&null!==Dl.next,Aa=0,Yl=Dl=ca=null,Yc=!1,D)throw Error(u(300));return y}function Rc(){var y={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Yl?ca.memoizedState=Yl=y:Yl=Yl.next=y,Yl}function Xd(){if(null===Dl){var y=ca.alternate;y=null!==y?y.memoizedState:null}else y=Dl.next;var D=null===Yl?ca.memoizedState:Yl.next;if(null!==D)Yl=D,Dl=y;else{if(null===y)throw Error(u(310));y={memoizedState:(Dl=y).memoizedState,baseState:Dl.baseState,baseQueue:Dl.baseQueue,queue:Dl.queue,next:null},null===Yl?ca.memoizedState=Yl=y:Yl=Yl.next=y}return Yl}function Bd(y,D){return"function"==typeof D?D(y):D}function ah(y){var D=Xd(),Y=D.queue;if(null===Y)throw Error(u(311));Y.lastRenderedReducer=y;var Ee=Dl,ze=Ee.baseQueue,At=Y.pending;if(null!==At){if(null!==ze){var tn=ze.next;ze.next=At.next,At.next=tn}Ee.baseQueue=ze=At,Y.pending=null}if(null!==ze){Ee=Ee.baseState;var Tn=tn=At=null,ar=ze=ze.next;do{var li=ar.lane;if((Aa&li)===li)null!==Tn&&(Tn=Tn.next={lane:0,action:ar.action,eagerReducer:ar.eagerReducer,eagerState:ar.eagerState,next:null}),Ee=ar.eagerReducer===y?ar.eagerState:y(Ee,ar.action);else{var Ho={lane:li,action:ar.action,eagerReducer:ar.eagerReducer,eagerState:ar.eagerState,next:null};null===Tn?(tn=Tn=Ho,At=Ee):Tn=Tn.next=Ho,ca.lanes|=li,Mp|=li}ar=ar.next}while(null!==ar&&ar!==ze);null===Tn?At=Ee:Tn.next=tn,Us(Ee,D.memoizedState)||(Tf=!0),D.memoizedState=Ee,D.baseState=At,D.baseQueue=Tn,Y.lastRenderedState=Ee}return[D.memoizedState,Y.dispatch]}function Hp(y){var D=Xd(),Y=D.queue;if(null===Y)throw Error(u(311));Y.lastRenderedReducer=y;var Ee=Y.dispatch,ze=Y.pending,At=D.memoizedState;if(null!==ze){Y.pending=null;var tn=ze=ze.next;do{At=y(At,tn.action),tn=tn.next}while(tn!==ze);Us(At,D.memoizedState)||(Tf=!0),D.memoizedState=At,null===D.baseQueue&&(D.baseState=At),Y.lastRenderedState=At}return[At,Ee]}function dl(y,D,Y){var Ee=D._getVersion;Ee=Ee(D._source);var ze=D._workInProgressVersionPrimary;if(null!==ze?y=ze===Ee:(y=(Aa&(y=y.mutableReadLanes))===y)&&(D._workInProgressVersionPrimary=Ee,ln.push(D)),y)return Y(D._source);throw ln.push(D),Error(u(350))}function Uh(y,D,Y,Ee){var ze=wc;if(null===ze)throw Error(u(349));var At=D._getVersion,tn=At(D._source),Tn=Ai.current,ar=Tn.useState(function(){return dl(ze,D,Y)}),li=ar[1],Ho=ar[0];ar=Yl;var Hs=y.memoizedState,po=Hs.refs,fs=po.getSnapshot,oa=Hs.source;Hs=Hs.subscribe;var Xs=ca;return y.memoizedState={refs:po,source:D,subscribe:Ee},Tn.useEffect(function(){po.getSnapshot=Y,po.setSnapshot=li;var Qr=At(D._source);if(!Us(tn,Qr)){Qr=Y(D._source),Us(Ho,Qr)||(li(Qr),Qr=Xf(Xs),ze.mutableReadLanes|=Qr&ze.pendingLanes),ze.entangledLanes|=Qr=ze.mutableReadLanes;for(var Fr=ze.entanglements,Zr=Qr;0<Zr;){var Hi=31-sl(Zr),io=1<<Hi;Fr[Hi]|=Qr,Zr&=~io}}},[Y,D,Ee]),Tn.useEffect(function(){return Ee(D._source,function(){var Qr=po.getSnapshot,Fr=po.setSnapshot;try{Fr(Qr(D._source));var Zr=Xf(Xs);ze.mutableReadLanes|=Zr&ze.pendingLanes}catch(Hi){Fr(function(){throw Hi})}})},[D,Ee]),Us(fs,Y)&&Us(oa,D)&&Us(Hs,Ee)||((y={pending:null,dispatch:null,lastRenderedReducer:Bd,lastRenderedState:Ho}).dispatch=li=p_.bind(null,ca,y),ar.queue=y,ar.baseQueue=null,Ho=dl(ze,D,Y),ar.memoizedState=ar.baseState=Ho),Ho}function wf(y,D,Y){return Uh(Xd(),y,D,Y)}function Ed(y){var D=Rc();return"function"==typeof y&&(y=y()),D.memoizedState=D.baseState=y,y=(y=D.queue={pending:null,dispatch:null,lastRenderedReducer:Bd,lastRenderedState:y}).dispatch=p_.bind(null,ca,y),[D.memoizedState,y]}function ad(y,D,Y,Ee){return y={tag:y,create:D,destroy:Y,deps:Ee,next:null},null===(D=ca.updateQueue)?(ca.updateQueue=D={lastEffect:null},D.lastEffect=y.next=y):null===(Y=D.lastEffect)?D.lastEffect=y.next=y:(Ee=Y.next,Y.next=y,y.next=Ee,D.lastEffect=y),y}function Kl(y){return Rc().memoizedState={current:y}}function up(){return Xd().memoizedState}function ld(y,D,Y,Ee){var ze=Rc();ca.flags|=y,ze.memoizedState=ad(1|D,Y,void 0,void 0===Ee?null:Ee)}function Yh(y,D,Y,Ee){var ze=Xd();Ee=void 0===Ee?null:Ee;var At=void 0;if(null!==Dl){var tn=Dl.memoizedState;if(At=tn.destroy,null!==Ee&&f_(Ee,tn.deps))return void ad(D,Y,At,Ee)}ca.flags|=y,ze.memoizedState=ad(1|D,Y,At,Ee)}function lh(y,D){return ld(516,4,y,D)}function Pf(y,D){return Yh(516,4,y,D)}function Bp(y,D){return Yh(4,2,y,D)}function Ef(y,D){return"function"==typeof D?(y=y(),D(y),function(){D(null)}):null!=D?(y=y(),D.current=y,function(){D.current=null}):void 0}function sc(y,D,Y){return Y=null!=Y?Y.concat([y]):null,Yh(4,2,Ef.bind(null,D,y),Y)}function bd(){}function Up(y,D){var Y=Xd();D=void 0===D?null:D;var Ee=Y.memoizedState;return null!==Ee&&null!==D&&f_(D,Ee[1])?Ee[0]:(Y.memoizedState=[y,D],y)}function uh(y,D){var Y=Xd();D=void 0===D?null:D;var Ee=Y.memoizedState;return null!==Ee&&null!==D&&f_(D,Ee[1])?Ee[0]:(y=y(),Y.memoizedState=[y,D],y)}function ch(y,D){var Y=$l();ga(98>Y?98:Y,function(){y(!0)}),ga(97<Y?97:Y,function(){var Ee=gs.transition;gs.transition=1;try{y(!1),D()}finally{gs.transition=Ee}})}function p_(y,D,Y){var Ee=jc(),ze=Xf(y),At={lane:ze,action:Y,eagerReducer:null,eagerState:null,next:null},tn=D.pending;if(null===tn?At.next=At:(At.next=tn.next,tn.next=At),D.pending=At,tn=y.alternate,y===ca||null!==tn&&tn===ca)yf=Yc=!0;else{if(0===y.lanes&&(null===tn||0===tn.lanes)&&null!==(tn=D.lastRenderedReducer))try{var Tn=D.lastRenderedState,ar=tn(Tn,Y);if(At.eagerReducer=tn,At.eagerState=ar,Us(ar,Tn))return}catch(li){}pp(y,ze,Ee)}}var dh={readContext:Nl,useCallback:Hd,useContext:Hd,useEffect:Hd,useImperativeHandle:Hd,useLayoutEffect:Hd,useMemo:Hd,useReducer:Hd,useRef:Hd,useState:Hd,useDebugValue:Hd,useDeferredValue:Hd,useTransition:Hd,useMutableSource:Hd,useOpaqueIdentifier:Hd,unstable_isNewReconciler:!1},bf={readContext:Nl,useCallback:function(y,D){return Rc().memoizedState=[y,void 0===D?null:D],y},useContext:Nl,useEffect:lh,useImperativeHandle:function(y,D,Y){return Y=null!=Y?Y.concat([y]):null,ld(4,2,Ef.bind(null,D,y),Y)},useLayoutEffect:function(y,D){return ld(4,2,y,D)},useMemo:function(y,D){var Y=Rc();return D=void 0===D?null:D,y=y(),Y.memoizedState=[y,D],y},useReducer:function(y,D,Y){var Ee=Rc();return D=void 0!==Y?Y(D):D,Ee.memoizedState=Ee.baseState=D,y=(y=Ee.queue={pending:null,dispatch:null,lastRenderedReducer:y,lastRenderedState:D}).dispatch=p_.bind(null,ca,y),[Ee.memoizedState,y]},useRef:Kl,useState:Ed,useDebugValue:bd,useDeferredValue:function(y){var D=Ed(y),Y=D[0],Ee=D[1];return lh(function(){var ze=gs.transition;gs.transition=1;try{Ee(y)}finally{gs.transition=ze}},[y]),Y},useTransition:function(){var y=Ed(!1),D=y[0];return Kl(y=ch.bind(null,y[1])),[y,D]},useMutableSource:function(y,D,Y){var Ee=Rc();return Ee.memoizedState={refs:{getSnapshot:D,setSnapshot:null},source:y,subscribe:Y},Uh(Ee,y,D,Y)},useOpaqueIdentifier:function(){if(Ou){var y=!1,D=function yc(y){return{$$typeof:Nt,toString:y,valueOf:y}}(function(){throw y||(y=!0,Y("r:"+(vc++).toString(36))),Error(u(355))}),Y=Ed(D)[1];return 0==(2&ca.mode)&&(ca.flags|=516,ad(5,function(){Y("r:"+(vc++).toString(36))},void 0,null)),D}return Ed(D="r:"+(vc++).toString(36)),D},unstable_isNewReconciler:!1},Sf={readContext:Nl,useCallback:Up,useContext:Nl,useEffect:Pf,useImperativeHandle:sc,useLayoutEffect:Bp,useMemo:uh,useReducer:ah,useRef:up,useState:function(){return ah(Bd)},useDebugValue:bd,useDeferredValue:function(y){var D=ah(Bd),Y=D[0],Ee=D[1];return Pf(function(){var ze=gs.transition;gs.transition=1;try{Ee(y)}finally{gs.transition=ze}},[y]),Y},useTransition:function(){var y=ah(Bd)[0];return[up().current,y]},useMutableSource:wf,useOpaqueIdentifier:function(){return ah(Bd)[0]},unstable_isNewReconciler:!1},Zf={readContext:Nl,useCallback:Up,useContext:Nl,useEffect:Pf,useImperativeHandle:sc,useLayoutEffect:Bp,useMemo:uh,useReducer:Hp,useRef:up,useState:function(){return Hp(Bd)},useDebugValue:bd,useDeferredValue:function(y){var D=Hp(Bd),Y=D[0],Ee=D[1];return Pf(function(){var ze=gs.transition;gs.transition=1;try{Ee(y)}finally{gs.transition=ze}},[y]),Y},useTransition:function(){var y=Hp(Bd)[0];return[up().current,y]},useMutableSource:wf,useOpaqueIdentifier:function(){return Hp(Bd)[0]},unstable_isNewReconciler:!1},Nf=fe.ReactCurrentOwner,Tf=!1;function Au(y,D,Y,Ee){D.child=null===y?is(D,null,Y,Ee):Ui(D,y.child,Y,Ee)}function If(y,D,Y,Ee,ze){Y=Y.render;var At=D.ref;return Jc(D,ze),Ee=sh(y,D,Y,Ee,At,ze),null===y||Tf?(D.flags|=1,Au(y,D,Ee,ze),D.child):(D.updateQueue=y.updateQueue,D.flags&=-517,y.lanes&=~ze,Td(y,D,ze))}function jh(y,D,Y,Ee,ze,At){if(null===y){var tn=Y.type;return"function"!=typeof tn||B_(tn)||void 0!==tn.defaultProps||null!==Y.compare||void 0!==Y.defaultProps?((y=Ah(Y.type,null,Ee,D,D.mode,At)).ref=D.ref,y.return=D,D.child=y):(D.tag=15,D.type=tn,Gh(y,D,tn,Ee,ze,At))}return tn=y.child,0==(ze&At)&&(Y=null!==(Y=Y.compare)?Y:Ic)(ze=tn.memoizedProps,Ee)&&y.ref===D.ref?Td(y,D,At):(D.flags|=1,(y=hp(tn,Ee)).ref=D.ref,y.return=D,D.child=y)}function Gh(y,D,Y,Ee,ze,At){if(null!==y&&Ic(y.memoizedProps,Ee)&&y.ref===D.ref){if(Tf=!1,0==(At&ze))return D.lanes=y.lanes,Td(y,D,At);0!=(16384&y.flags)&&(Tf=!0)}return Yp(y,D,Y,Ee,At)}function h_(y,D,Y){var Ee=D.pendingProps,ze=Ee.children,At=null!==y?y.memoizedState:null;if("hidden"===Ee.mode||"unstable-defer-without-hiding"===Ee.mode)if(0==(4&D.mode))D.memoizedState={baseLanes:0},sf(0,Y);else{if(0==(1073741824&Y))return y=null!==At?At.baseLanes|Y:Y,D.lanes=D.childLanes=1073741824,D.memoizedState={baseLanes:y},sf(0,y),null;D.memoizedState={baseLanes:0},sf(0,null!==At?At.baseLanes:Y)}else null!==At?(Ee=At.baseLanes|Y,D.memoizedState=null):Ee=Y,sf(0,Ee);return Au(y,D,ze,Y),D.child}function fh(y,D){var Y=D.ref;(null===y&&null!==Y||null!==y&&y.ref!==Y)&&(D.flags|=128)}function Yp(y,D,Y,Ee,ze){var At=Iu(Y)?cn:ul.current;return At=Ec(D,At),Jc(D,ze),Y=sh(y,D,Y,Ee,At,ze),null===y||Tf?(D.flags|=1,Au(y,D,Y,ze),D.child):(D.updateQueue=y.updateQueue,D.flags&=-517,y.lanes&=~ze,Td(y,D,ze))}function Vh(y,D,Y,Ee,ze){if(Iu(Y)){var At=!0;Bc(D)}else At=!1;if(Jc(D,ze),null===D.stateNode)null!==y&&(y.alternate=null,D.alternate=null,D.flags|=2),St(D,Y,Ee),fn(D,Y,Ee,ze),Ee=!0;else if(null===y){var tn=D.stateNode,Tn=D.memoizedProps;tn.props=Tn;var ar=tn.context,li=Y.contextType;li="object"==typeof li&&null!==li?Nl(li):Ec(D,li=Iu(Y)?cn:ul.current);var Ho=Y.getDerivedStateFromProps,Hs="function"==typeof Ho||"function"==typeof tn.getSnapshotBeforeUpdate;Hs||"function"!=typeof tn.UNSAFE_componentWillReceiveProps&&"function"!=typeof tn.componentWillReceiveProps||(Tn!==Ee||ar!==li)&&Mt(D,tn,Ee,li),Uc=!1;var po=D.memoizedState;tn.state=po,X(D,Ee,tn,ze),ar=D.memoizedState,Tn!==Ee||po!==ar||Cu.current||Uc?("function"==typeof Ho&&(Ye(D,Y,Ho,Ee),ar=D.memoizedState),(Tn=Uc||nt(D,Y,Tn,Ee,po,ar,li))?(Hs||"function"!=typeof tn.UNSAFE_componentWillMount&&"function"!=typeof tn.componentWillMount||("function"==typeof tn.componentWillMount&&tn.componentWillMount(),"function"==typeof tn.UNSAFE_componentWillMount&&tn.UNSAFE_componentWillMount()),"function"==typeof tn.componentDidMount&&(D.flags|=4)):("function"==typeof tn.componentDidMount&&(D.flags|=4),D.memoizedProps=Ee,D.memoizedState=ar),tn.props=Ee,tn.state=ar,tn.context=li,Ee=Tn):("function"==typeof tn.componentDidMount&&(D.flags|=4),Ee=!1)}else{tn=D.stateNode,h(y,D),Tn=D.memoizedProps,li=D.type===D.elementType?Tn:Ql(D.type,Tn),tn.props=li,Hs=D.pendingProps,po=tn.context,ar="object"==typeof(ar=Y.contextType)&&null!==ar?Nl(ar):Ec(D,ar=Iu(Y)?cn:ul.current);var fs=Y.getDerivedStateFromProps;(Ho="function"==typeof fs||"function"==typeof tn.getSnapshotBeforeUpdate)||"function"!=typeof tn.UNSAFE_componentWillReceiveProps&&"function"!=typeof tn.componentWillReceiveProps||(Tn!==Hs||po!==ar)&&Mt(D,tn,Ee,ar),Uc=!1,tn.state=po=D.memoizedState,X(D,Ee,tn,ze);var oa=D.memoizedState;Tn!==Hs||po!==oa||Cu.current||Uc?("function"==typeof fs&&(Ye(D,Y,fs,Ee),oa=D.memoizedState),(li=Uc||nt(D,Y,li,Ee,po,oa,ar))?(Ho||"function"!=typeof tn.UNSAFE_componentWillUpdate&&"function"!=typeof tn.componentWillUpdate||("function"==typeof tn.componentWillUpdate&&tn.componentWillUpdate(Ee,oa,ar),"function"==typeof tn.UNSAFE_componentWillUpdate&&tn.UNSAFE_componentWillUpdate(Ee,oa,ar)),"function"==typeof tn.componentDidUpdate&&(D.flags|=4),"function"==typeof tn.getSnapshotBeforeUpdate&&(D.flags|=256)):("function"!=typeof tn.componentDidUpdate||Tn===y.memoizedProps&&po===y.memoizedState||(D.flags|=4),"function"!=typeof tn.getSnapshotBeforeUpdate||Tn===y.memoizedProps&&po===y.memoizedState||(D.flags|=256),D.memoizedProps=Ee,D.memoizedState=oa),tn.props=Ee,tn.state=oa,tn.context=ar,Ee=li):("function"!=typeof tn.componentDidUpdate||Tn===y.memoizedProps&&po===y.memoizedState||(D.flags|=4),"function"!=typeof tn.getSnapshotBeforeUpdate||Tn===y.memoizedProps&&po===y.memoizedState||(D.flags|=256),Ee=!1)}return ph(y,D,Y,Ee,At,ze)}function ph(y,D,Y,Ee,ze,At){fh(y,D);var tn=0!=(64&D.flags);if(!Ee&&!tn)return ze&&vd(D,Y,!1),Td(y,D,At);Ee=D.stateNode,Nf.current=D;var Tn=tn&&"function"!=typeof Y.getDerivedStateFromError?null:Ee.render();return D.flags|=1,null!==y&&tn?(D.child=Ui(D,y.child,null,At),D.child=Ui(D,null,Tn,At)):Au(y,D,Tn,At),D.memoizedState=Ee.state,ze&&vd(D,Y,!0),D.child}function em(y){var D=y.stateNode;D.pendingContext?cl(0,D.pendingContext,D.pendingContext!==D.context):D.context&&cl(0,D.context,!1),Ga(y,D.containerInfo)}var m_,Wh,Cd,Du={dehydrated:null,retryLane:0};function Zh(y,D,Y){var tn,Ee=D.pendingProps,ze=Va.current,At=!1;return(tn=0!=(64&D.flags))||(tn=(null===y||null!==y.memoizedState)&&0!=(2&ze)),tn?(At=!0,D.flags&=-65):null!==y&&null===y.memoizedState||void 0===Ee.fallback||!0===Ee.unstable_avoidThisFallback||(ze|=1),kl(Va,1&ze),null===y?(void 0!==Ee.fallback&&K(D),y=Ee.children,ze=Ee.fallback,At?(y=Sd(D,y,ze,Y),D.child.memoizedState={baseLanes:Y},D.memoizedState=Du,y):"number"==typeof Ee.unstable_expectedLoadTime?(y=Sd(D,y,ze,Y),D.child.memoizedState={baseLanes:Y},D.memoizedState=Du,D.lanes=33554432,y):((Y=rm({mode:"visible",children:y},D.mode,Y,null)).return=D,D.child=Y)):At?(Ee=function __(y,D,Y,Ee,ze){var At=D.mode,tn=y.child;y=tn.sibling;var Tn={mode:"hidden",children:Y};return 0==(2&At)&&D.child!==tn?((Y=D.child).childLanes=0,Y.pendingProps=Tn,null!==(tn=Y.lastEffect)?(D.firstEffect=Y.firstEffect,D.lastEffect=tn,tn.nextEffect=null):D.firstEffect=D.lastEffect=null):Y=hp(tn,Tn),null!==y?Ee=hp(y,Ee):(Ee=Gc(Ee,At,ze,null)).flags|=2,Ee.return=D,Y.return=D,Y.sibling=Ee,D.child=Y,Ee}(y,D,Ee.children,Ee.fallback,Y),(At=D.child).memoizedState=null===(ze=y.child.memoizedState)?{baseLanes:Y}:{baseLanes:ze.baseLanes|Y},At.childLanes=y.childLanes&~Y,D.memoizedState=Du,Ee):(Y=function Kd(y,D,Y,Ee){var ze=y.child;return y=ze.sibling,Y=hp(ze,{mode:"visible",children:Y}),0==(2&D.mode)&&(Y.lanes=Ee),Y.return=D,Y.sibling=null,null!==y&&(y.nextEffect=null,y.flags=8,D.firstEffect=D.lastEffect=y),D.child=Y}(y,D,Ee.children,Y),D.memoizedState=null,Y)}function Sd(y,D,Y,Ee){var ze=y.mode,At=y.child;return D={mode:"hidden",children:D},0==(2&ze)&&null!==At?(At.childLanes=0,At.pendingProps=D):At=rm(D,ze,0,null),Y=Gc(Y,ze,Ee,null),At.return=y,Y.return=y,At.sibling=Y,y.child=At,Y}function tm(y,D){y.lanes|=D;var Y=y.alternate;null!==Y&&(Y.lanes|=D),Jd(y.return,D)}function hh(y,D,Y,Ee,ze,At){var tn=y.memoizedState;null===tn?y.memoizedState={isBackwards:D,rendering:null,renderingStartTime:0,last:Ee,tail:Y,tailMode:ze,lastEffect:At}:(tn.isBackwards=D,tn.rendering=null,tn.renderingStartTime=0,tn.last=Ee,tn.tail=Y,tn.tailMode=ze,tn.lastEffect=At)}function Ep(y,D,Y){var Ee=D.pendingProps,ze=Ee.revealOrder,At=Ee.tail;if(Au(y,D,Ee.children,Y),0!=(2&(Ee=Va.current)))Ee=1&Ee|2,D.flags|=64;else{if(null!==y&&0!=(64&y.flags))e:for(y=D.child;null!==y;){if(13===y.tag)null!==y.memoizedState&&tm(y,Y);else if(19===y.tag)tm(y,Y);else if(null!==y.child){y.child.return=y,y=y.child;continue}if(y===D)break e;for(;null===y.sibling;){if(null===y.return||y.return===D)break e;y=y.return}y.sibling.return=y.return,y=y.sibling}Ee&=1}if(kl(Va,Ee),0==(2&D.mode))D.memoizedState=null;else switch(ze){case"forwards":for(Y=D.child,ze=null;null!==Y;)null!==(y=Y.alternate)&&null===Mu(y)&&(ze=Y),Y=Y.sibling;null===(Y=ze)?(ze=D.child,D.child=null):(ze=Y.sibling,Y.sibling=null),hh(D,!1,ze,Y,At,D.lastEffect);break;case"backwards":for(Y=null,ze=D.child,D.child=null;null!==ze;){if(null!==(y=ze.alternate)&&null===Mu(y)){D.child=ze;break}y=ze.sibling,ze.sibling=Y,Y=ze,ze=y}hh(D,!0,Y,null,At,D.lastEffect);break;case"together":hh(D,!1,null,null,void 0,D.lastEffect);break;default:D.memoizedState=null}return D.child}function Td(y,D,Y){if(null!==y&&(D.dependencies=y.dependencies),Mp|=D.lanes,0!=(Y&D.childLanes)){if(null!==y&&D.child!==y.child)throw Error(u(153));if(null!==D.child){for(Y=hp(y=D.child,y.pendingProps),D.child=Y,Y.return=D;null!==y.sibling;)(Y=Y.sibling=hp(y=y.sibling,y.pendingProps)).return=D;Y.sibling=null}return D.child}return null}function mu(y,D){if(!Ou)switch(y.tailMode){case"hidden":D=y.tail;for(var Y=null;null!==D;)null!==D.alternate&&(Y=D),D=D.sibling;null===Y?y.tail=null:Y.sibling=null;break;case"collapsed":Y=y.tail;for(var Ee=null;null!==Y;)null!==Y.alternate&&(Ee=Y),Y=Y.sibling;null===Ee?D||null===y.tail?y.tail=null:y.tail.sibling=null:Ee.sibling=null}}function Jh(y,D,Y){var Ee=D.pendingProps;switch(D.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return Iu(D.type)&&qa(),null;case 3:return wa(),Al(Cu),Al(ul),Dr(),(Ee=D.stateNode).pendingContext&&(Ee.context=Ee.pendingContext,Ee.pendingContext=null),(null===y||null===y.child)&&(lt(D)?D.flags|=4:Ee.hydrate||(D.flags|=256)),null;case 5:_u(D);var ze=$a(el.current);if(Y=D.type,null!==y&&null!=D.stateNode)Wh(y,D,Y,Ee),y.ref!==D.ref&&(D.flags|=128);else{if(!Ee){if(null===D.stateNode)throw Error(u(166));return null}if(y=$a(Zs.current),lt(D)){Y=D.type;var At=D.memoizedProps;switch((Ee=D.stateNode)[Ul]=D,Ee[nc]=At,Y){case"dialog":pa("cancel",Ee),pa("close",Ee);break;case"iframe":case"object":case"embed":pa("load",Ee);break;case"video":case"audio":for(y=0;y<ou.length;y++)pa(ou[y],Ee);break;case"source":pa("error",Ee);break;case"img":case"image":case"link":pa("error",Ee),pa("load",Ee);break;case"details":pa("toggle",Ee);break;case"input":fi(Ee,At),pa("invalid",Ee);break;case"select":Ee._wrapperState={wasMultiple:!!At.multiple},pa("invalid",Ee);break;case"textarea":ri(Ee,At),pa("invalid",Ee)}for(var tn in nn(Y,At),y=null,At)At.hasOwnProperty(tn)&&(ze=At[tn],"children"===tn?"string"==typeof ze?Ee.textContent!==ze&&(y=["children",ze]):"number"==typeof ze&&Ee.textContent!==""+ze&&(y=["children",""+ze]):p.hasOwnProperty(tn)&&null!=ze&&"onScroll"===tn&&pa("scroll",Ee));switch(Y){case"input":er(Ee),Er(Ee,At,!0);break;case"textarea":er(Ee),ui(Ee);break;case"select":case"option":break;default:"function"==typeof At.onClick&&(Ee.onclick=gi)}D.updateQueue=Ee=y,null!==Ee&&(D.flags|=4)}else{switch(tn=9===ze.nodeType?ze:ze.ownerDocument,y===vr_html&&(y=Ji(Y)),y===vr_html?"script"===Y?((y=tn.createElement("div")).innerHTML="<script><\/script>",y=y.removeChild(y.firstChild)):"string"==typeof Ee.is?y=tn.createElement(Y,{is:Ee.is}):(y=tn.createElement(Y),"select"===Y&&(tn=y,Ee.multiple?tn.multiple=!0:Ee.size&&(tn.size=Ee.size))):y=tn.createElementNS(y,Y),y[Ul]=D,y[nc]=Ee,m_(y,D),D.stateNode=y,tn=Fe(Y,Ee),Y){case"dialog":pa("cancel",y),pa("close",y),ze=Ee;break;case"iframe":case"object":case"embed":pa("load",y),ze=Ee;break;case"video":case"audio":for(ze=0;ze<ou.length;ze++)pa(ou[ze],y);ze=Ee;break;case"source":pa("error",y),ze=Ee;break;case"img":case"image":case"link":pa("error",y),pa("load",y),ze=Ee;break;case"details":pa("toggle",y),ze=Ee;break;case"input":fi(y,Ee),ze=bi(y,Ee),pa("invalid",y);break;case"option":ze=Zn(y,Ee);break;case"select":y._wrapperState={wasMultiple:!!Ee.multiple},ze=a({},Ee,{value:void 0}),pa("invalid",y);break;case"textarea":ri(y,Ee),ze=zn(y,Ee),pa("invalid",y);break;default:ze=Ee}nn(Y,ze);var Tn=ze;for(At in Tn)if(Tn.hasOwnProperty(At)){var ar=Tn[At];"style"===At?dt(y,ar):"dangerouslySetInnerHTML"===At?null!=(ar=ar?ar.__html:void 0)&&Wn(y,ar):"children"===At?"string"==typeof ar?("textarea"!==Y||""!==ar)&&et(y,ar):"number"==typeof ar&&et(y,""+ar):"suppressContentEditableWarning"!==At&&"suppressHydrationWarning"!==At&&"autoFocus"!==At&&(p.hasOwnProperty(At)?null!=ar&&"onScroll"===At&&pa("scroll",y):null!=ar&&ie(y,At,ar,tn))}switch(Y){case"input":er(y),Er(y,Ee,!1);break;case"textarea":er(y),ui(y);break;case"option":null!=Ee.value&&y.setAttribute("value",""+Br(Ee.value));break;case"select":y.multiple=!!Ee.multiple,null!=(At=Ee.value)?Xn(y,!!Ee.multiple,At,!1):null!=Ee.defaultValue&&Xn(y,!!Ee.multiple,Ee.defaultValue,!0);break;default:"function"==typeof ze.onClick&&(y.onclick=gi)}ms(Y,Ee)&&(D.flags|=4)}null!==D.ref&&(D.flags|=128)}return null;case 6:if(y&&null!=D.stateNode)Cd(0,D,y.memoizedProps,Ee);else{if("string"!=typeof Ee&&null===D.stateNode)throw Error(u(166));Y=$a(el.current),$a(Zs.current),lt(D)?(Y=D.memoizedProps,(Ee=D.stateNode)[Ul]=D,Ee.nodeValue!==Y&&(D.flags|=4)):((Ee=(9===Y.nodeType?Y:Y.ownerDocument).createTextNode(Ee))[Ul]=D,D.stateNode=Ee)}return null;case 13:return Al(Va),Ee=D.memoizedState,0!=(64&D.flags)?(D.lanes=Y,D):(Ee=null!==Ee,Y=!1,null===y?void 0!==D.memoizedProps.fallback&&lt(D):Y=null!==y.memoizedState,Ee&&!Y&&0!=(2&D.mode)&&(null===y&&!0!==D.memoizedProps.unstable_avoidThisFallback||0!=(1&Va.current)?0===Hu&&(Hu=3):((0===Hu||3===Hu)&&(Hu=4),null===wc||0==(134217727&Mp)&&0==(134217727&zu)||Kf(wc,Ts))),(Ee||Y)&&(D.flags|=4),null);case 4:return wa(),null===y&&Ze(D.stateNode.containerInfo),null;case 10:return pc(D),null;case 19:if(Al(Va),null===(Ee=D.memoizedState))return null;if(At=0!=(64&D.flags),null===(tn=Ee.rendering))if(At)mu(Ee,!1);else{if(0!==Hu||null!==y&&0!=(64&y.flags))for(y=D.child;null!==y;){if(null!==(tn=Mu(y))){for(D.flags|=64,mu(Ee,!1),null!==(At=tn.updateQueue)&&(D.updateQueue=At,D.flags|=4),null===Ee.lastEffect&&(D.firstEffect=null),D.lastEffect=Ee.lastEffect,Ee=Y,Y=D.child;null!==Y;)y=Ee,(At=Y).flags&=2,At.nextEffect=null,At.firstEffect=null,At.lastEffect=null,null===(tn=At.alternate)?(At.childLanes=0,At.lanes=y,At.child=null,At.memoizedProps=null,At.memoizedState=null,At.updateQueue=null,At.dependencies=null,At.stateNode=null):(At.childLanes=tn.childLanes,At.lanes=tn.lanes,At.child=tn.child,At.memoizedProps=tn.memoizedProps,At.memoizedState=tn.memoizedState,At.updateQueue=tn.updateQueue,At.type=tn.type,At.dependencies=null===(y=tn.dependencies)?null:{lanes:y.lanes,firstContext:y.firstContext}),Y=Y.sibling;return kl(Va,1&Va.current|2),D.child}y=y.sibling}null!==Ee.tail&&pu()>Sh&&(D.flags|=64,At=!0,mu(Ee,!1),D.lanes=33554432)}else{if(!At)if(null!==(y=Mu(tn))){if(D.flags|=64,At=!0,null!==(Y=y.updateQueue)&&(D.updateQueue=Y,D.flags|=4),mu(Ee,!0),null===Ee.tail&&"hidden"===Ee.tailMode&&!tn.alternate&&!Ou)return null!==(D=D.lastEffect=Ee.lastEffect)&&(D.nextEffect=null),null}else 2*pu()-Ee.renderingStartTime>Sh&&1073741824!==Y&&(D.flags|=64,At=!0,mu(Ee,!1),D.lanes=33554432);Ee.isBackwards?(tn.sibling=D.child,D.child=tn):(null!==(Y=Ee.last)?Y.sibling=tn:D.child=tn,Ee.last=tn)}return null!==Ee.tail?(Ee.rendering=Y=Ee.tail,Ee.tail=Y.sibling,Ee.lastEffect=D.lastEffect,Ee.renderingStartTime=pu(),Y.sibling=null,D=Va.current,kl(Va,At?1&D|2:1&D),Y):null;case 23:case 24:return qf(),null!==y&&null!==y.memoizedState!=(null!==D.memoizedState)&&"unstable-defer-without-hiding"!==Ee.mode&&(D.flags|=4),null}throw Error(u(156,D.tag))}function bp(y){switch(y.tag){case 1:Iu(y.type)&&qa();var D=y.flags;return 4096&D?(y.flags=-4097&D|64,y):null;case 3:if(wa(),Al(Cu),Al(ul),Dr(),0!=(64&(D=y.flags)))throw Error(u(285));return y.flags=-4097&D|64,y;case 5:return _u(y),null;case 13:return Al(Va),4096&(D=y.flags)?(y.flags=-4097&D|64,y):null;case 19:return Al(Va),null;case 4:return wa(),null;case 10:return pc(y),null;case 23:case 24:return qf(),null;default:return null}}function Qh(y,D){try{var Y="",Ee=D;do{Y+=ci(Ee),Ee=Ee.return}while(Ee);var ze=Y}catch(At){ze="\nError generating stack: "+At.message+"\n"+At.stack}return{value:y,source:D,stack:ze}}function ac(y,D){try{console.error(D.value)}catch(Y){setTimeout(function(){throw Y})}}m_=function(y,D){for(var Y=D.child;null!==Y;){if(5===Y.tag||6===Y.tag)y.appendChild(Y.stateNode);else if(4!==Y.tag&&null!==Y.child){Y.child.return=Y,Y=Y.child;continue}if(Y===D)break;for(;null===Y.sibling;){if(null===Y.return||Y.return===D)return;Y=Y.return}Y.sibling.return=Y.return,Y=Y.sibling}},Wh=function(y,D,Y,Ee){var ze=y.memoizedProps;if(ze!==Ee){y=D.stateNode,$a(Zs.current);var tn,At=null;switch(Y){case"input":ze=bi(y,ze),Ee=bi(y,Ee),At=[];break;case"option":ze=Zn(y,ze),Ee=Zn(y,Ee),At=[];break;case"select":ze=a({},ze,{value:void 0}),Ee=a({},Ee,{value:void 0}),At=[];break;case"textarea":ze=zn(y,ze),Ee=zn(y,Ee),At=[];break;default:"function"!=typeof ze.onClick&&"function"==typeof Ee.onClick&&(y.onclick=gi)}for(li in nn(Y,Ee),Y=null,ze)if(!Ee.hasOwnProperty(li)&&ze.hasOwnProperty(li)&&null!=ze[li])if("style"===li){var Tn=ze[li];for(tn in Tn)Tn.hasOwnProperty(tn)&&(Y||(Y={}),Y[tn]="")}else"dangerouslySetInnerHTML"!==li&&"children"!==li&&"suppressContentEditableWarning"!==li&&"suppressHydrationWarning"!==li&&"autoFocus"!==li&&(p.hasOwnProperty(li)?At||(At=[]):(At=At||[]).push(li,null));for(li in Ee){var ar=Ee[li];if(Tn=null!=ze?ze[li]:void 0,Ee.hasOwnProperty(li)&&ar!==Tn&&(null!=ar||null!=Tn))if("style"===li)if(Tn){for(tn in Tn)!Tn.hasOwnProperty(tn)||ar&&ar.hasOwnProperty(tn)||(Y||(Y={}),Y[tn]="");for(tn in ar)ar.hasOwnProperty(tn)&&Tn[tn]!==ar[tn]&&(Y||(Y={}),Y[tn]=ar[tn])}else Y||(At||(At=[]),At.push(li,Y)),Y=ar;else"dangerouslySetInnerHTML"===li?(Tn=Tn?Tn.__html:void 0,null!=(ar=ar?ar.__html:void 0)&&Tn!==ar&&(At=At||[]).push(li,ar)):"children"===li?"string"!=typeof ar&&"number"!=typeof ar||(At=At||[]).push(li,""+ar):"suppressContentEditableWarning"!==li&&"suppressHydrationWarning"!==li&&(p.hasOwnProperty(li)?(null!=ar&&"onScroll"===li&&pa("scroll",y),At||Tn===ar||(At=[])):"object"==typeof ar&&null!==ar&&ar.$$typeof===Nt?ar.toString():(At=At||[]).push(li,ar))}Y&&(At=At||[]).push("style",Y);var li=At;(D.updateQueue=li)&&(D.flags|=4)}},Cd=function(y,D,Y,Ee){Y!==Ee&&(D.flags|=4)};var qd="function"==typeof WeakMap?WeakMap:Map;function zf(y,D,Y){(Y=E(-1,Y)).tag=3,Y.payload={element:null};var Ee=D.value;return Y.callback=function(){Md||(Md=!0,dp=Ee),ac(0,D)},Y}function Xh(y,D,Y){(Y=E(-1,Y)).tag=3;var Ee=y.type.getDerivedStateFromError;if("function"==typeof Ee){var ze=D.value;Y.payload=function(){return ac(0,D),Ee(ze)}}var At=y.stateNode;return null!==At&&"function"==typeof At.componentDidCatch&&(Y.callback=function(){"function"!=typeof Ee&&(null===Bu?Bu=new Set([this]):Bu.add(this),ac(0,D));var tn=D.stack;this.componentDidCatch(D.value,{componentStack:null!==tn?tn:""})}),Y}var Sp="function"==typeof WeakSet?WeakSet:Set;function g_(y){var D=y.ref;if(null!==D)if("function"==typeof D)try{D(null)}catch(Y){Ud(y,Y)}else D.current=null}function Tp(y,D){switch(D.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&D.flags&&null!==y){var Y=y.memoizedProps,Ee=y.memoizedState;D=(y=D.stateNode).getSnapshotBeforeUpdate(D.elementType===D.type?Y:Ql(D.type,Y),Ee),y.__reactInternalSnapshotBeforeUpdate=D}return;case 3:return void(256&D.flags&&cc(D.stateNode.containerInfo))}throw Error(u(163))}function _h(y,D,Y){switch(Y.tag){case 0:case 11:case 15:case 22:if(null!==(D=null!==(D=Y.updateQueue)?D.lastEffect:null)){y=D=D.next;do{if(3==(3&y.tag)){var Ee=y.create;y.destroy=Ee()}y=y.next}while(y!==D)}if(null!==(D=null!==(D=Y.updateQueue)?D.lastEffect:null)){y=D=D.next;do{var ze=y;Ee=ze.next,0!=(4&(ze=ze.tag))&&0!=(1&ze)&&(tp(Y,y),H_(Y,y)),y=Ee}while(y!==D)}return;case 1:return y=Y.stateNode,4&Y.flags&&(null===D?y.componentDidMount():(Ee=Y.elementType===Y.type?D.memoizedProps:Ql(Y.type,D.memoizedProps),y.componentDidUpdate(Ee,D.memoizedState,y.__reactInternalSnapshotBeforeUpdate))),void(null!==(D=Y.updateQueue)&&de(Y,D,y));case 3:if(null!==(D=Y.updateQueue)){if(y=null,null!==Y.child)switch(Y.child.tag){case 5:case 1:y=Y.child.stateNode}de(Y,D,y)}return;case 5:return y=Y.stateNode,void(null===D&&4&Y.flags&&ms(Y.type,Y.memoizedProps)&&y.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===Y.memoizedState&&(Y=Y.alternate,null!==Y&&(Y=Y.memoizedState,null!==Y&&(Y=Y.dehydrated,null!==Y&&Wa(Y)))))}throw Error(u(163))}function v_(y,D){for(var Y=y;;){if(5===Y.tag){var Ee=Y.stateNode;if(D)"function"==typeof(Ee=Ee.style).setProperty?Ee.setProperty("display","none","important"):Ee.display="none";else{Ee=Y.stateNode;var ze=Y.memoizedProps.style;ze=null!=ze&&ze.hasOwnProperty("display")?ze.display:null,Ee.style.display=Se("display",ze)}}else if(6===Y.tag)Y.stateNode.nodeValue=D?"":Y.memoizedProps;else if((23!==Y.tag&&24!==Y.tag||null===Y.memoizedState||Y===y)&&null!==Y.child){Y.child.return=Y,Y=Y.child;continue}if(Y===y)break;for(;null===Y.sibling;){if(null===Y.return||Y.return===y)return;Y=Y.return}Y.sibling.return=Y.return,Y=Y.sibling}}function mh(y,D){if(yd&&"function"==typeof yd.onCommitFiberUnmount)try{yd.onCommitFiberUnmount(dc,D)}catch(At){}switch(D.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(y=D.updateQueue)&&null!==(y=y.lastEffect)){var Y=y=y.next;do{var Ee=Y,ze=Ee.destroy;if(Ee=Ee.tag,void 0!==ze)if(0!=(4&Ee))tp(D,Y);else{Ee=D;try{ze()}catch(At){Ud(Ee,At)}}Y=Y.next}while(Y!==y)}break;case 1:if(g_(D),"function"==typeof(y=D.stateNode).componentWillUnmount)try{y.props=D.memoizedProps,y.state=D.memoizedState,y.componentWillUnmount()}catch(At){Ud(D,At)}break;case 5:g_(D);break;case 4:e_(y,D)}}function L_(y){y.alternate=null,y.child=null,y.dependencies=null,y.firstEffect=null,y.lastEffect=null,y.memoizedProps=null,y.memoizedState=null,y.pendingProps=null,y.return=null,y.updateQueue=null}function Kh(y){return 5===y.tag||3===y.tag||4===y.tag}function ef(y){e:{for(var D=y.return;null!==D;){if(Kh(D))break e;D=D.return}throw Error(u(160))}var Y=D;switch(D=Y.stateNode,Y.tag){case 5:var Ee=!1;break;case 3:case 4:D=D.containerInfo,Ee=!0;break;default:throw Error(u(161))}16&Y.flags&&(et(D,""),Y.flags&=-17);e:t:for(Y=y;;){for(;null===Y.sibling;){if(null===Y.return||Kh(Y.return)){Y=null;break e}Y=Y.return}for(Y.sibling.return=Y.return,Y=Y.sibling;5!==Y.tag&&6!==Y.tag&&18!==Y.tag;){if(2&Y.flags||null===Y.child||4===Y.tag)continue t;Y.child.return=Y,Y=Y.child}if(!(2&Y.flags)){Y=Y.stateNode;break e}}Ee?qh(y,Y,D):gh(y,Y,D)}function qh(y,D,Y){var Ee=y.tag,ze=5===Ee||6===Ee;if(ze)y=ze?y.stateNode:y.stateNode.instance,D?8===Y.nodeType?Y.parentNode.insertBefore(y,D):Y.insertBefore(y,D):(8===Y.nodeType?(D=Y.parentNode).insertBefore(y,Y):(D=Y).appendChild(y),null!=(Y=Y._reactRootContainer)||null!==D.onclick||(D.onclick=gi));else if(4!==Ee&&null!==(y=y.child))for(qh(y,D,Y),y=y.sibling;null!==y;)qh(y,D,Y),y=y.sibling}function gh(y,D,Y){var Ee=y.tag,ze=5===Ee||6===Ee;if(ze)y=ze?y.stateNode:y.stateNode.instance,D?Y.insertBefore(y,D):Y.appendChild(y);else if(4!==Ee&&null!==(y=y.child))for(gh(y,D,Y),y=y.sibling;null!==y;)gh(y,D,Y),y=y.sibling}function e_(y,D){for(var ze,At,Y=D,Ee=!1;;){if(!Ee){Ee=Y.return;e:for(;;){if(null===Ee)throw Error(u(160));switch(ze=Ee.stateNode,Ee.tag){case 5:At=!1;break e;case 3:case 4:ze=ze.containerInfo,At=!0;break e}Ee=Ee.return}Ee=!0}if(5===Y.tag||6===Y.tag){e:for(var tn=y,Tn=Y,ar=Tn;;)if(mh(tn,ar),null!==ar.child&&4!==ar.tag)ar.child.return=ar,ar=ar.child;else{if(ar===Tn)break e;for(;null===ar.sibling;){if(null===ar.return||ar.return===Tn)break e;ar=ar.return}ar.sibling.return=ar.return,ar=ar.sibling}At?(Tn=Y.stateNode,8===(tn=ze).nodeType?tn.parentNode.removeChild(Tn):tn.removeChild(Tn)):ze.removeChild(Y.stateNode)}else if(4===Y.tag){if(null!==Y.child){ze=Y.stateNode.containerInfo,At=!0,Y.child.return=Y,Y=Y.child;continue}}else if(mh(y,Y),null!==Y.child){Y.child.return=Y,Y=Y.child;continue}if(Y===D)break;for(;null===Y.sibling;){if(null===Y.return||Y.return===D)return;4===(Y=Y.return).tag&&(Ee=!1)}Y.sibling.return=Y.return,Y=Y.sibling}}function Wf(y,D){switch(D.tag){case 0:case 11:case 14:case 15:case 22:var Y=D.updateQueue;if(null!==(Y=null!==Y?Y.lastEffect:null)){var Ee=Y=Y.next;do{3==(3&Ee.tag)&&(y=Ee.destroy,Ee.destroy=void 0,void 0!==y&&y()),Ee=Ee.next}while(Ee!==Y)}return;case 1:case 12:case 17:return;case 5:if(null!=(Y=D.stateNode)){Ee=D.memoizedProps;var ze=null!==y?y.memoizedProps:Ee;y=D.type;var At=D.updateQueue;if(D.updateQueue=null,null!==At){for(Y[nc]=Ee,"input"===y&&"radio"===Ee.type&&null!=Ee.name&&no(Y,Ee),Fe(y,ze),D=Fe(y,Ee),ze=0;ze<At.length;ze+=2){var tn=At[ze],Tn=At[ze+1];"style"===tn?dt(Y,Tn):"dangerouslySetInnerHTML"===tn?Wn(Y,Tn):"children"===tn?et(Y,Tn):ie(Y,tn,Tn,D)}switch(y){case"input":xo(Y,Ee);break;case"textarea":Gi(Y,Ee);break;case"select":y=Y._wrapperState.wasMultiple,Y._wrapperState.wasMultiple=!!Ee.multiple,null!=(At=Ee.value)?Xn(Y,!!Ee.multiple,At,!1):y!==!!Ee.multiple&&(null!=Ee.defaultValue?Xn(Y,!!Ee.multiple,Ee.defaultValue,!0):Xn(Y,!!Ee.multiple,Ee.multiple?[]:"",!1))}}}return;case 6:if(null===D.stateNode)throw Error(u(162));return void(D.stateNode.nodeValue=D.memoizedProps);case 3:return void((Y=D.stateNode).hydrate&&(Y.hydrate=!1,Wa(Y.containerInfo)));case 13:return null!==D.memoizedState&&(k_=pu(),v_(D.child,!0)),void vh(D);case 19:return void vh(D);case 23:case 24:return void v_(D,null!==D.memoizedState)}throw Error(u(163))}function vh(y){var D=y.updateQueue;if(null!==D){y.updateQueue=null;var Y=y.stateNode;null===Y&&(Y=y.stateNode=new Sp),D.forEach(function(Ee){var ze=o_.bind(null,y,Ee);Y.has(Ee)||(Y.add(Ee),Ee.then(ze,ze))})}}function Cp(y,D){return null!==y&&(null===(y=y.memoizedState)||null!==y.dehydrated)&&null!==(D=D.memoizedState)&&null===D.dehydrated}var Cf=Math.ceil,yh=fe.ReactCurrentDispatcher,Eh=fe.ReactCurrentOwner,da=0,wc=null,$u=null,Ts=0,Ff=0,jp=id(0),Hu=0,bh=null,Lf=0,Mp=0,zu=0,Jf=0,tf=null,k_=0,Sh=1/0;function cp(){Sh=pu()+500}var Jp,Ps=null,Md=!1,dp=null,Bu=null,jl=!1,Qf=null,kf=90,Gp=[],t_=[],nf=null,rf=0,Th=null,n_=-1,ud=0,Ch=0,fp=null,Mh=!1;function jc(){return 0!=(48&da)?pu():-1!==n_?n_:n_=pu()}function Xf(y){if(0==(2&(y=y.mode)))return 1;if(0==(4&y))return 99===$l()?1:2;if(0===ud&&(ud=Lf),0!==ic.transition){0!==Ch&&(Ch=null!==tf?tf.pendingLanes:0),y=ud;var D=4186112&~Ch;return 0==(D&=-D)&&0==(D=(y=4186112&~y)&-y)&&(D=8192),D}return y=$l(),y=Vo(0!=(4&da)&&98===y?12:y=function ii(y){switch(y){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(y),ud)}function pp(y,D,Y){if(50<rf)throw rf=0,Th=null,Error(u(185));if(null===(y=Op(y,D)))return null;hl(y,D,Y),y===wc&&(zu|=D,4===Hu&&Kf(y,Ts));var Ee=$l();1===D?0!=(8&da)&&0==(48&da)?r_(y):(Od(y,Y),0===da&&(cp(),Lu())):(0==(4&da)||98!==Ee&&99!==Ee||(null===nf?nf=new Set([y]):nf.add(y)),Od(y,Y)),tf=y}function Op(y,D){y.lanes|=D;var Y=y.alternate;for(null!==Y&&(Y.lanes|=D),Y=y,y=y.return;null!==y;)y.childLanes|=D,null!==(Y=y.alternate)&&(Y.childLanes|=D),Y=y,y=y.return;return 3===Y.tag?Y.stateNode:null}function Od(y,D){for(var Y=y.callbackNode,Ee=y.suspendedLanes,ze=y.pingedLanes,At=y.expirationTimes,tn=y.pendingLanes;0<tn;){var Tn=31-sl(tn),ar=1<<Tn,li=At[Tn];-1===li?0!=(ar&Ee)&&0==(ar&ze)||(li=D,hn(ar),At[Tn]=10<=jt?li+250:6<=jt?li+5e3:-1):li<=D&&(y.expiredLanes|=ar),tn&=~ar}if(Ee=ki(y,y===wc?Ts:0),D=jt,0===Ee)null!==Y&&(Y!==Oa&&ap(Y),y.callbackNode=null,y.callbackPriority=0);else{if(null!==Y){if(y.callbackPriority===D)return;Y!==Oa&&ap(Y)}15===D?(Y=r_.bind(null,y),null===sd?(sd=[Y],lp=vf(yp,bc)):sd.push(Y),Y=Oa):14===D?Y=Dc(99,r_.bind(null,y)):(Y=function Oi(y){switch(y){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(u(358,y))}}(D),Y=Dc(Y,Vp.bind(null,y))),y.callbackPriority=D,y.callbackNode=Y}}function Vp(y){if(n_=-1,Ch=ud=0,0!=(48&da))throw Error(u(327));var D=y.callbackNode;if(Mf()&&y.callbackNode!==D)return null;var Y=ki(y,y===wc?Ts:0);if(0===Y)return null;var Ee=Y,ze=da;da|=16;var At=ep();for((wc!==y||Ts!==Ee)&&(cp(),zp(y,Ee));;)try{nm();break}catch(Tn){y_(y,Tn)}if(Wc(),yh.current=At,da=ze,null!==$u?Ee=0:(wc=null,Ts=0,Ee=Hu),0!=(Lf&zu))zp(y,0);else if(0!==Ee){if(2===Ee&&(da|=64,y.hydrate&&(y.hydrate=!1,cc(y.containerInfo)),0!==(Y=_s(y))&&(Ee=Wp(y,Y))),1===Ee)throw D=bh,zp(y,0),Kf(y,Y),Od(y,pu()),D;switch(y.finishedWork=y.current.alternate,y.finishedLanes=Y,Ee){case 0:case 1:throw Error(u(345));case 2:case 5:$f(y);break;case 3:if(Kf(y,Y),(62914560&Y)===Y&&10<(Ee=k_+500-pu())){if(0!==ki(y,0))break;if(((ze=y.suspendedLanes)&Y)!==Y){jc(),y.pingedLanes|=y.suspendedLanes&ze;break}y.timeoutHandle=Ca($f.bind(null,y),Ee);break}$f(y);break;case 4:if(Kf(y,Y),(4186112&Y)===Y)break;for(Ee=y.eventTimes,ze=-1;0<Y;){var tn=31-sl(Y);At=1<<tn,(tn=Ee[tn])>ze&&(ze=tn),Y&=~At}if(Y=ze,10<(Y=(120>(Y=pu()-Y)?120:480>Y?480:1080>Y?1080:1920>Y?1920:3e3>Y?3e3:4320>Y?4320:1960*Cf(Y/1960))-Y)){y.timeoutHandle=Ca($f.bind(null,y),Y);break}$f(y);break;default:throw Error(u(329))}}return Od(y,pu()),y.callbackNode===D?Vp.bind(null,y):null}function Kf(y,D){for(D&=~Jf,y.suspendedLanes|=D&=~zu,y.pingedLanes&=~D,y=y.expirationTimes;0<D;){var Y=31-sl(D),Ee=1<<Y;y[Y]=-1,D&=~Ee}}function r_(y){if(0!=(48&da))throw Error(u(327));if(Mf(),y===wc&&0!=(y.expiredLanes&Ts)){var D=Ts,Y=Wp(y,D);0!=(Lf&zu)&&(Y=Wp(y,D=ki(y,D)))}else Y=Wp(y,D=ki(y,0));if(0!==y.tag&&2===Y&&(da|=64,y.hydrate&&(y.hydrate=!1,cc(y.containerInfo)),0!==(D=_s(y))&&(Y=Wp(y,D))),1===Y)throw Y=bh,zp(y,0),Kf(y,D),Od(y,pu()),Y;return y.finishedWork=y.current.alternate,y.finishedLanes=D,$f(y),Od(y,pu()),null}function Ap(y,D){var Y=da;da|=1;try{return y(D)}finally{0===(da=Y)&&(cp(),Lu())}}function Zp(y,D){var Y=da;da&=-2,da|=8;try{return y(D)}finally{0===(da=Y)&&(cp(),Lu())}}function sf(y,D){kl(jp,Ff),Ff|=D,Lf|=D}function qf(){Ff=jp.current,Al(jp)}function zp(y,D){y.finishedWork=null,y.finishedLanes=0;var Y=y.timeoutHandle;if(-1!==Y&&(y.timeoutHandle=-1,Nu(Y)),null!==$u)for(Y=$u.return;null!==Y;){var Ee=Y;switch(Ee.tag){case 1:null!=(Ee=Ee.type.childContextTypes)&&qa();break;case 3:wa(),Al(Cu),Al(ul),Dr();break;case 5:_u(Ee);break;case 4:wa();break;case 13:case 19:Al(Va);break;case 10:pc(Ee);break;case 23:case 24:qf()}Y=Y.return}wc=y,$u=hp(y.current,null),Ts=Ff=Lf=D,Hu=0,bh=null,Jf=zu=Mp=0}function y_(y,D){for(;;){var Y=$u;try{if(Wc(),Ai.current=dh,Yc){for(var Ee=ca.memoizedState;null!==Ee;){var ze=Ee.queue;null!==ze&&(ze.pending=null),Ee=Ee.next}Yc=!1}if(Aa=0,Yl=Dl=ca=null,yf=!1,Eh.current=null,null===Y||null===Y.return){Hu=1,bh=D,$u=null;break}e:{var At=y,tn=Y.return,Tn=Y,ar=D;if(D=Ts,Tn.flags|=2048,Tn.firstEffect=Tn.lastEffect=null,null!==ar&&"object"==typeof ar&&"function"==typeof ar.then){var li=ar;if(0==(2&Tn.mode)){var Ho=Tn.alternate;Ho?(Tn.updateQueue=Ho.updateQueue,Tn.memoizedState=Ho.memoizedState,Tn.lanes=Ho.lanes):(Tn.updateQueue=null,Tn.memoizedState=null)}var Hs=0!=(1&Va.current),po=tn;do{var fs;if(fs=13===po.tag){var oa=po.memoizedState;if(null!==oa)fs=null!==oa.dehydrated;else{var Xs=po.memoizedProps;fs=void 0!==Xs.fallback&&(!0!==Xs.unstable_avoidThisFallback||!Hs)}}if(fs){var Qr=po.updateQueue;if(null===Qr){var Fr=new Set;Fr.add(li),po.updateQueue=Fr}else Qr.add(li);if(0==(2&po.mode)){if(po.flags|=64,Tn.flags|=16384,Tn.flags&=-2981,1===Tn.tag)if(null===Tn.alternate)Tn.tag=17;else{var Zr=E(-1,1);Zr.tag=2,P(Tn,Zr)}Tn.lanes|=1;break e}ar=void 0,Tn=D;var Hi=At.pingCache;if(null===Hi?(Hi=At.pingCache=new qd).set(li,ar=new Set):void 0===(ar=Hi.get(li))&&Hi.set(li,ar=new Set),!ar.has(Tn)){ar.add(Tn);var io=Rp.bind(null,At,li,Tn);li.then(io,io)}po.flags|=4096,po.lanes=D;break e}po=po.return}while(null!==po);ar=Error((hr(Tn.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Hu&&(Hu=2),ar=Qh(ar,Tn),po=tn;do{switch(po.tag){case 3:At=ar,po.flags|=4096,po.lanes|=D&=-D,L(po,zf(0,At,D));break e;case 1:At=ar;var Pa=po.stateNode;if(0==(64&po.flags)&&("function"==typeof po.type.getDerivedStateFromError||null!==Pa&&"function"==typeof Pa.componentDidCatch&&(null===Bu||!Bu.has(Pa)))){po.flags|=4096,po.lanes|=D&=-D,L(po,Xh(po,At,D));break e}}po=po.return}while(null!==po)}b_(Y)}catch(va){D=va,$u===Y&&null!==Y&&($u=Y=Y.return);continue}break}}function ep(){var y=yh.current;return yh.current=dh,null===y?dh:y}function Wp(y,D){var Y=da;da|=16;var Ee=ep();for(wc===y&&Ts===D||zp(y,D);;)try{E_();break}catch(ze){y_(y,ze)}if(Wc(),da=Y,yh.current=Ee,null!==$u)throw Error(u(261));return wc=null,Ts=0,Hu}function E_(){for(;null!==$u;)Oh($u)}function nm(){for(;null!==$u&&!Vu();)Oh($u)}function Oh(y){var D=Jp(y.alternate,y,Ff);y.memoizedProps=y.pendingProps,null===D?b_(y):$u=D,Eh.current=null}function b_(y){var D=y;do{var Y=D.alternate;if(y=D.return,0==(2048&D.flags)){if(null!==(Y=Jh(Y,D,Ff)))return void($u=Y);if(24!==(Y=D).tag&&23!==Y.tag||null===Y.memoizedState||0!=(1073741824&Ff)||0==(4&Y.mode)){for(var Ee=0,ze=Y.child;null!==ze;)Ee|=ze.lanes|ze.childLanes,ze=ze.sibling;Y.childLanes=Ee}null!==y&&0==(2048&y.flags)&&(null===y.firstEffect&&(y.firstEffect=D.firstEffect),null!==D.lastEffect&&(null!==y.lastEffect&&(y.lastEffect.nextEffect=D.firstEffect),y.lastEffect=D.lastEffect),1<D.flags&&(null!==y.lastEffect?y.lastEffect.nextEffect=D:y.firstEffect=D,y.lastEffect=D))}else{if(null!==(Y=bp(D)))return Y.flags&=2047,void($u=Y);null!==y&&(y.firstEffect=y.lastEffect=null,y.flags|=2048)}if(null!==(D=D.sibling))return void($u=D);$u=D=y}while(null!==D);0===Hu&&(Hu=5)}function $f(y){var D=$l();return ga(99,$_.bind(null,y,D)),null}function $_(y,D){do{Mf()}while(null!==Qf);if(0!=(48&da))throw Error(u(327));var Y=y.finishedWork;if(null===Y)return null;if(y.finishedWork=null,y.finishedLanes=0,Y===y.current)throw Error(u(177));y.callbackNode=null;var Ee=Y.lanes|Y.childLanes,ze=Ee,At=y.pendingLanes&~ze;y.pendingLanes=ze,y.suspendedLanes=0,y.pingedLanes=0,y.expiredLanes&=ze,y.mutableReadLanes&=ze,y.entangledLanes&=ze,ze=y.entanglements;for(var tn=y.eventTimes,Tn=y.expirationTimes;0<At;){var ar=31-sl(At),li=1<<ar;ze[ar]=0,tn[ar]=-1,Tn[ar]=-1,At&=~li}if(null!==nf&&0==(24&Ee)&&nf.has(y)&&nf.delete(y),y===wc&&($u=wc=null,Ts=0),1<Y.flags?null!==Y.lastEffect?(Y.lastEffect.nextEffect=Y,Ee=Y.firstEffect):Ee=Y:Ee=Y.firstEffect,null!==Ee){if(ze=da,da|=32,Eh.current=null,Lo=Fl,md(tn=_d())){if("selectionStart"in tn)Tn={start:tn.selectionStart,end:tn.selectionEnd};else if((li=(Tn=(Tn=tn.ownerDocument)&&Tn.defaultView||window).getSelection&&Tn.getSelection())&&0!==li.rangeCount){Tn=li.anchorNode,At=li.anchorOffset,ar=li.focusNode,li=li.focusOffset;var Ho=0,Hs=-1,po=-1,fs=0,oa=0,Xs=tn,Qr=null;t:for(;;){for(var Fr;Xs!==Tn||0!==At&&3!==Xs.nodeType||(Hs=Ho+At),Xs!==ar||0!==li&&3!==Xs.nodeType||(po=Ho+li),3===Xs.nodeType&&(Ho+=Xs.nodeValue.length),null!==(Fr=Xs.firstChild);)Qr=Xs,Xs=Fr;for(;;){if(Xs===tn)break t;if(Qr===Tn&&++fs===At&&(Hs=Ho),Qr===ar&&++oa===li&&(po=Ho),null!==(Fr=Xs.nextSibling))break;Qr=(Xs=Qr).parentNode}Xs=Fr}Tn=-1===Hs||-1===po?null:{start:Hs,end:po}}else Tn=null;Tn=Tn||{start:0,end:0}}else Tn=null;Ta={focusedElem:tn,selectionRange:Tn},Fl=!1,fp=null,Mh=!1,Ps=Ee;do{try{S_()}catch(va){if(null===Ps)throw Error(u(330));Ud(Ps,va),Ps=Ps.nextEffect}}while(null!==Ps);fp=null,Ps=Ee;do{try{for(tn=y;null!==Ps;){var Zr=Ps.flags;if(16&Zr&&et(Ps.stateNode,""),128&Zr){var Hi=Ps.alternate;if(null!==Hi){var io=Hi.ref;null!==io&&("function"==typeof io?io(null):io.current=null)}}switch(1038&Zr){case 2:ef(Ps),Ps.flags&=-3;break;case 6:ef(Ps),Ps.flags&=-3,Wf(Ps.alternate,Ps);break;case 1024:Ps.flags&=-1025;break;case 1028:Ps.flags&=-1025,Wf(Ps.alternate,Ps);break;case 4:Wf(Ps.alternate,Ps);break;case 8:e_(tn,Tn=Ps);var Ha=Tn.alternate;L_(Tn),null!==Ha&&L_(Ha)}Ps=Ps.nextEffect}}catch(va){if(null===Ps)throw Error(u(330));Ud(Ps,va),Ps=Ps.nextEffect}}while(null!==Ps);if(io=Ta,Hi=_d(),tn=io.selectionRange,Hi!==(Zr=io.focusedElem)&&Zr&&Zr.ownerDocument&&Zd(Zr.ownerDocument.documentElement,Zr)){for((null!==tn&&md(Zr)&&(Hi=tn.start,void 0===(io=tn.end)&&(io=Hi),"selectionStart"in Zr?(Zr.selectionStart=Hi,Zr.selectionEnd=Math.min(io,Zr.value.length)):(io=(Hi=Zr.ownerDocument||document)&&Hi.defaultView||window).getSelection&&(io=io.getSelection(),Tn=Zr.textContent.length,Ha=Math.min(tn.start,Tn),tn=void 0===tn.end?Ha:Math.min(tn.end,Tn),!io.extend&&Ha>tn&&(Tn=tn,tn=Ha,Ha=Tn),Tn=Su(Zr,Ha),At=Su(Zr,tn),Tn&&At&&(1!==io.rangeCount||io.anchorNode!==Tn.node||io.anchorOffset!==Tn.offset||io.focusNode!==At.node||io.focusOffset!==At.offset)&&((Hi=Hi.createRange()).setStart(Tn.node,Tn.offset),io.removeAllRanges(),Ha>tn?(io.addRange(Hi),io.extend(At.node,At.offset)):(Hi.setEnd(At.node,At.offset),io.addRange(Hi))))),Hi=[],io=Zr);io=io.parentNode;)1===io.nodeType&&Hi.push({element:io,left:io.scrollLeft,top:io.scrollTop});for("function"==typeof Zr.focus&&Zr.focus(),Zr=0;Zr<Hi.length;Zr++)(io=Hi[Zr]).element.scrollLeft=io.left,io.element.scrollTop=io.top}Fl=!!Lo,Ta=Lo=null,y.current=Y,Ps=Ee;do{try{for(Zr=y;null!==Ps;){var vs=Ps.flags;if(36&vs&&_h(Zr,Ps.alternate,Ps),128&vs){Hi=void 0;var Pa=Ps.ref;if(null!==Pa)Hi=Ps.stateNode,"function"==typeof Pa?Pa(Hi):Pa.current=Hi}Ps=Ps.nextEffect}}catch(va){if(null===Ps)throw Error(u(330));Ud(Ps,va),Ps=Ps.nextEffect}}while(null!==Ps);Ps=null,zc(),da=ze}else y.current=Y;if(jl)jl=!1,Qf=y,kf=D;else for(Ps=Ee;null!==Ps;)D=Ps.nextEffect,Ps.nextEffect=null,8&Ps.flags&&((vs=Ps).sibling=null,vs.stateNode=null),Ps=D;if(0===(Ee=y.pendingLanes)&&(Bu=null),1===Ee?y===Th?rf++:(rf=0,Th=y):rf=0,Y=Y.stateNode,yd&&"function"==typeof yd.onCommitFiberRoot)try{yd.onCommitFiberRoot(dc,Y,void 0,64==(64&Y.current.flags))}catch(va){}if(Od(y,pu()),Md)throw Md=!1,y=dp,dp=null,y;return 0!=(8&da)||Lu(),null}function S_(){for(;null!==Ps;){var y=Ps.alternate;Mh||null===fp||(0!=(8&Ps.flags)?Mr(Ps,fp)&&(Mh=!0):13===Ps.tag&&Cp(y,Ps)&&Mr(Ps,fp)&&(Mh=!0));var D=Ps.flags;0!=(256&D)&&Tp(y,Ps),0==(512&D)||jl||(jl=!0,Dc(97,function(){return Mf(),null})),Ps=Ps.nextEffect}}function Mf(){if(90!==kf){var y=97<kf?97:kf;return kf=90,ga(y,Dp)}return!1}function H_(y,D){Gp.push(D,y),jl||(jl=!0,Dc(97,function(){return Mf(),null}))}function tp(y,D){t_.push(D,y),jl||(jl=!0,Dc(97,function(){return Mf(),null}))}function Dp(){if(null===Qf)return!1;var y=Qf;if(Qf=null,0!=(48&da))throw Error(u(331));var D=da;da|=32;var Y=t_;t_=[];for(var Ee=0;Ee<Y.length;Ee+=2){var ze=Y[Ee],At=Y[Ee+1],tn=ze.destroy;if(ze.destroy=void 0,"function"==typeof tn)try{tn()}catch(ar){if(null===At)throw Error(u(330));Ud(At,ar)}}for(Y=Gp,Gp=[],Ee=0;Ee<Y.length;Ee+=2){ze=Y[Ee],At=Y[Ee+1];try{var Tn=ze.create;ze.destroy=Tn()}catch(ar){if(null===At)throw Error(u(330));Ud(At,ar)}}for(Tn=y.current.firstEffect;null!==Tn;)y=Tn.nextEffect,Tn.nextEffect=null,8&Tn.flags&&(Tn.sibling=null,Tn.stateNode=null),Tn=y;return da=D,Lu(),!0}function xp(y,D,Y){P(y,D=zf(0,D=Qh(Y,D),1)),D=jc(),null!==(y=Op(y,1))&&(hl(y,1,D),Od(y,D))}function Ud(y,D){if(3===y.tag)xp(y,y,D);else for(var Y=y.return;null!==Y;){if(3===Y.tag){xp(Y,y,D);break}if(1===Y.tag){var Ee=Y.stateNode;if("function"==typeof Y.type.getDerivedStateFromError||"function"==typeof Ee.componentDidCatch&&(null===Bu||!Bu.has(Ee))){var ze=Xh(Y,y=Qh(D,y),1);if(P(Y,ze),ze=jc(),null!==(Y=Op(Y,1)))hl(Y,1,ze),Od(Y,ze);else if("function"==typeof Ee.componentDidCatch&&(null===Bu||!Bu.has(Ee)))try{Ee.componentDidCatch(D,y)}catch(At){}break}}Y=Y.return}}function Rp(y,D,Y){var Ee=y.pingCache;null!==Ee&&Ee.delete(D),D=jc(),y.pingedLanes|=y.suspendedLanes&Y,wc===y&&(Ts&Y)===Y&&(4===Hu||3===Hu&&(62914560&Ts)===Ts&&500>pu()-k_?zp(y,0):Jf|=Y),Od(y,D)}function o_(y,D){var Y=y.stateNode;null!==Y&&Y.delete(D),0==(D=0)&&(0==(2&(D=y.mode))?D=1:0==(4&D)?D=99===$l()?1:2:(0===ud&&(ud=Lf),0===(D=Fs(62914560&~ud))&&(D=4194304))),Y=jc(),null!==(y=Op(y,D))&&(hl(y,D,Y),Od(y,Y))}function T_(y,D,Y,Ee){this.tag=y,this.key=Y,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=D,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=Ee,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Ad(y,D,Y,Ee){return new T_(y,D,Y,Ee)}function B_(y){return!(!(y=y.prototype)||!y.isReactComponent)}function hp(y,D){var Y=y.alternate;return null===Y?((Y=Ad(y.tag,D,y.key,y.mode)).elementType=y.elementType,Y.type=y.type,Y.stateNode=y.stateNode,Y.alternate=y,y.alternate=Y):(Y.pendingProps=D,Y.type=y.type,Y.flags=0,Y.nextEffect=null,Y.firstEffect=null,Y.lastEffect=null),Y.childLanes=y.childLanes,Y.lanes=y.lanes,Y.child=y.child,Y.memoizedProps=y.memoizedProps,Y.memoizedState=y.memoizedState,Y.updateQueue=y.updateQueue,Y.dependencies=null===(D=y.dependencies)?null:{lanes:D.lanes,firstContext:D.firstContext},Y.sibling=y.sibling,Y.index=y.index,Y.ref=y.ref,Y}function Ah(y,D,Y,Ee,ze,At){var tn=2;if(Ee=y,"function"==typeof y)B_(y)&&(tn=1);else if("string"==typeof y)tn=5;else e:switch(y){case ce:return Gc(Y.children,ze,At,D);case Yt:tn=8,ze|=16;break;case Be:tn=8,ze|=1;break;case Ve:return(y=Ad(12,Y,D,8|ze)).elementType=Ve,y.type=Ve,y.lanes=At,y;case Ge:return(y=Ad(13,Y,D,ze)).type=Ge,y.elementType=Ge,y.lanes=At,y;case Oe:return(y=Ad(19,Y,D,ze)).elementType=Oe,y.lanes=At,y;case dn:return rm(Y,ze,At,D);case rn:return(y=Ad(24,Y,D,ze)).elementType=rn,y.lanes=At,y;default:if("object"==typeof y&&null!==y)switch(y.$$typeof){case Xe:tn=10;break e;case He:tn=9;break e;case Pe:tn=11;break e;case Tt:tn=14;break e;case We:tn=16,Ee=null;break e;case Qt:tn=22;break e}throw Error(u(130,null==y?y:typeof y,""))}return(D=Ad(tn,Y,D,ze)).elementType=y,D.type=Ee,D.lanes=At,D}function Gc(y,D,Y,Ee){return(y=Ad(7,y,Ee,D)).lanes=Y,y}function rm(y,D,Y,Ee){return(y=Ad(23,y,Ee,D)).elementType=dn,y.lanes=Y,y}function C_(y,D,Y){return(y=Ad(6,y,null,D)).lanes=Y,y}function Dh(y,D,Y){return(D=Ad(4,null!==y.children?y.children:[],y.key,D)).lanes=Y,D.stateNode={containerInfo:y.containerInfo,pendingChildren:null,implementation:y.implementation},D}function I(y,D,Y){this.tag=D,this.containerInfo=y,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=Y,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Ks(0),this.expirationTimes=Ks(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ks(0),this.mutableSourceEagerHydrationData=null}function ne(y,D,Y){var Ee=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Ce,key:null==Ee?null:""+Ee,children:y,containerInfo:D,implementation:Y}}function S(y,D,Y,Ee){var ze=D.current,At=jc(),tn=Xf(ze);e:if(Y){t:{if(Eo(Y=Y._reactInternals)!==Y||1!==Y.tag)throw Error(u(170));var Tn=Y;do{switch(Tn.tag){case 3:Tn=Tn.stateNode.context;break t;case 1:if(Iu(Tn.type)){Tn=Tn.stateNode.__reactInternalMemoizedMergedChildContext;break t}}Tn=Tn.return}while(null!==Tn);throw Error(u(171))}if(1===Y.tag){var ar=Y.type;if(Iu(ar)){Y=xf(Y,ar,Tn);break e}}Y=Tn}else Y=Gu;return null===D.context?D.context=Y:D.pendingContext=Y,(D=E(At,tn)).payload={element:y},null!==(Ee=void 0===Ee?null:Ee)&&(D.callback=Ee),P(ze,D),pp(ze,tn,At),tn}function z(y){return(y=y.current).child?y.child.stateNode:null}function Me(y,D){if(null!==(y=y.memoizedState)&&null!==y.dehydrated){var Y=y.retryLane;y.retryLane=0!==Y&&Y<D?Y:D}}function Ke(y,D){Me(y,D),(y=y.alternate)&&Me(y,D)}function yr(y,D,Y){var Ee=null!=Y&&null!=Y.hydrationOptions&&Y.hydrationOptions.mutableSources||null;if(Y=new I(y,D,null!=Y&&!0===Y.hydrate),D=Ad(3,null,null,2===D?7:1===D?3:0),Y.current=D,D.stateNode=Y,oc(D),y[gd]=Y.current,Ze(8===y.nodeType?y.parentNode:y),Ee)for(y=0;y<Ee.length;y++){var ze=(D=Ee[y])._getVersion;ze=ze(D._source),null==Y.mutableSourceEagerHydrationData?Y.mutableSourceEagerHydrationData=[D,ze]:Y.mutableSourceEagerHydrationData.push(D,ze)}this._internalRoot=Y}function Nr(y){return!(!y||1!==y.nodeType&&9!==y.nodeType&&11!==y.nodeType&&(8!==y.nodeType||" react-mount-point-unstable "!==y.nodeValue))}function di(y,D,Y,Ee,ze){var At=Y._reactRootContainer;if(At){var tn=At._internalRoot;if("function"==typeof ze){var Tn=ze;ze=function(){var li=z(tn);Tn.call(li)}}S(D,tn,y,ze)}else{if(At=Y._reactRootContainer=function vi(y,D){if(D||(D=!(!(D=y?9===y.nodeType?y.documentElement:y.firstChild:null)||1!==D.nodeType||!D.hasAttribute("data-reactroot"))),!D)for(var Y;Y=y.lastChild;)y.removeChild(Y);return new yr(y,0,D?{hydrate:!0}:void 0)}(Y,Ee),tn=At._internalRoot,"function"==typeof ze){var ar=ze;ze=function(){var li=z(tn);ar.call(li)}}Zp(function(){S(D,tn,y,ze)})}return z(tn)}function ts(y,D){var Y=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Nr(D))throw Error(u(200));return ne(y,D,null,Y)}Jp=function(y,D,Y){var Ee=D.lanes;if(null!==y)if(y.memoizedProps!==D.pendingProps||Cu.current)Tf=!0;else{if(0==(Y&Ee)){switch(Tf=!1,D.tag){case 3:em(D),wt();break;case 5:Gl(D);break;case 1:Iu(D.type)&&Bc(D);break;case 4:Ga(D,D.stateNode.containerInfo);break;case 10:Ee=D.memoizedProps.value;var ze=D.type._context;kl(Sc,ze._currentValue),ze._currentValue=Ee;break;case 13:if(null!==D.memoizedState)return 0!=(Y&D.child.childLanes)?Zh(y,D,Y):(kl(Va,1&Va.current),null!==(D=Td(y,D,Y))?D.sibling:null);kl(Va,1&Va.current);break;case 19:if(Ee=0!=(Y&D.childLanes),0!=(64&y.flags)){if(Ee)return Ep(y,D,Y);D.flags|=64}if(null!==(ze=D.memoizedState)&&(ze.rendering=null,ze.tail=null,ze.lastEffect=null),kl(Va,Va.current),Ee)break;return null;case 23:case 24:return D.lanes=0,h_(y,D,Y)}return Td(y,D,Y)}Tf=0!=(16384&y.flags)}else Tf=!1;switch(D.lanes=0,D.tag){case 2:if(Ee=D.type,null!==y&&(y.alternate=null,D.alternate=null,D.flags|=2),y=D.pendingProps,ze=Ec(D,ul.current),Jc(D,Y),ze=sh(null,D,Ee,y,ze,Y),D.flags|=1,"object"==typeof ze&&null!==ze&&"function"==typeof ze.render&&void 0===ze.$$typeof){if(D.tag=1,D.memoizedState=null,D.updateQueue=null,Iu(Ee)){var At=!0;Bc(D)}else At=!1;D.memoizedState=null!=ze.state?ze.state:null,oc(D);var tn=Ee.getDerivedStateFromProps;"function"==typeof tn&&Ye(D,Ee,tn,y),ze.updater=xe,D.stateNode=ze,ze._reactInternals=D,fn(D,Ee,y,Y),D=ph(null,D,Ee,!0,At,Y)}else D.tag=0,Au(null,D,ze,Y),D=D.child;return D;case 16:ze=D.elementType;e:{switch(null!==y&&(y.alternate=null,D.alternate=null,D.flags|=2),y=D.pendingProps,ze=(At=ze._init)(ze._payload),D.type=ze,At=D.tag=function Sm(y){if("function"==typeof y)return B_(y)?1:0;if(null!=y){if((y=y.$$typeof)===Pe)return 11;if(y===Tt)return 14}return 2}(ze),y=Ql(ze,y),At){case 0:D=Yp(null,D,ze,y,Y);break e;case 1:D=Vh(null,D,ze,y,Y);break e;case 11:D=If(null,D,ze,y,Y);break e;case 14:D=jh(null,D,ze,Ql(ze.type,y),Ee,Y);break e}throw Error(u(306,ze,""))}return D;case 0:return ze=D.pendingProps,Yp(y,D,Ee=D.type,ze=D.elementType===Ee?ze:Ql(Ee,ze),Y);case 1:return ze=D.pendingProps,Vh(y,D,Ee=D.type,ze=D.elementType===Ee?ze:Ql(Ee,ze),Y);case 3:if(em(D),Ee=D.updateQueue,null===y||null===Ee)throw Error(u(282));if(Ee=D.pendingProps,ze=null!==(ze=D.memoizedState)?ze.element:null,h(y,D),X(D,Ee,null,Y),(Ee=D.memoizedState.element)===ze)wt(),D=Td(y,D,Y);else{if((At=(ze=D.stateNode).hydrate)&&(xc=ka(D.stateNode.containerInfo.firstChild),ku=D,At=Ou=!0),At){if(null!=(y=ze.mutableSourceEagerHydrationData))for(ze=0;ze<y.length;ze+=2)(At=y[ze])._workInProgressVersionPrimary=y[ze+1],ln.push(At);for(Y=is(D,null,Ee,Y),D.child=Y;Y;)Y.flags=-3&Y.flags|1024,Y=Y.sibling}else Au(y,D,Ee,Y),wt();D=D.child}return D;case 5:return Gl(D),null===y&&K(D),At=null!==y?y.memoizedProps:null,tn=(ze=D.pendingProps).children,ha(Ee=D.type,ze)?tn=null:null!==At&&ha(Ee,At)&&(D.flags|=16),fh(y,D),Au(y,D,tn,Y),D.child;case 6:return null===y&&K(D),null;case 13:return Zh(y,D,Y);case 4:return Ga(D,D.stateNode.containerInfo),Ee=D.pendingProps,null===y?D.child=Ui(D,null,Ee,Y):Au(y,D,Ee,Y),D.child;case 11:return ze=D.pendingProps,If(y,D,Ee=D.type,ze=D.elementType===Ee?ze:Ql(Ee,ze),Y);case 7:return Au(y,D,D.pendingProps,Y),D.child;case 8:case 12:return Au(y,D,D.pendingProps.children,Y),D.child;case 10:e:{Ee=D.type._context,tn=D.memoizedProps,At=(ze=D.pendingProps).value;var Tn=D.type._context;if(kl(Sc,Tn._currentValue),Tn._currentValue=At,null!==tn)if(0==(At=Us(Tn=tn.value,At)?0:0|("function"==typeof Ee._calculateChangedBits?Ee._calculateChangedBits(Tn,At):1073741823))){if(tn.children===ze.children&&!Cu.current){D=Td(y,D,Y);break e}}else for(null!==(Tn=D.child)&&(Tn.return=D);null!==Tn;){var ar=Tn.dependencies;if(null!==ar){tn=Tn.child;for(var li=ar.firstContext;null!==li;){if(li.context===Ee&&0!=(li.observedBits&At)){1===Tn.tag&&((li=E(-1,Y&-Y)).tag=2,P(Tn,li)),Tn.lanes|=Y,null!==(li=Tn.alternate)&&(li.lanes|=Y),Jd(Tn.return,Y),ar.lanes|=Y;break}li=li.next}}else tn=10===Tn.tag&&Tn.type===D.type?null:Tn.child;if(null!==tn)tn.return=Tn;else for(tn=Tn;null!==tn;){if(tn===D){tn=null;break}if(null!==(Tn=tn.sibling)){Tn.return=tn.return,tn=Tn;break}tn=tn.return}Tn=tn}Au(y,D,ze.children,Y),D=D.child}return D;case 9:return ze=D.type,Ee=(At=D.pendingProps).children,Jc(D,Y),Ee=Ee(ze=Nl(ze,At.unstable_observedBits)),D.flags|=1,Au(y,D,Ee,Y),D.child;case 14:return At=Ql(ze=D.type,D.pendingProps),jh(y,D,ze,At=Ql(ze.type,At),Ee,Y);case 15:return Gh(y,D,D.type,D.pendingProps,Ee,Y);case 17:return ze=D.pendingProps,ze=D.elementType===(Ee=D.type)?ze:Ql(Ee,ze),null!==y&&(y.alternate=null,D.alternate=null,D.flags|=2),D.tag=1,Iu(Ee)?(y=!0,Bc(D)):y=!1,Jc(D,Y),St(D,Ee,ze),fn(D,Ee,ze,Y),ph(null,D,Ee,!0,y,Y);case 19:return Ep(y,D,Y);case 23:case 24:return h_(y,D,Y)}throw Error(u(156,D.tag))},yr.prototype.render=function(y){S(y,this._internalRoot,null,null)},yr.prototype.unmount=function(){var y=this._internalRoot,D=y.containerInfo;S(null,y,null,function(){D[gd]=null})},Or=function(y){13===y.tag&&(pp(y,4,jc()),Ke(y,4))},cr=function(y){13===y.tag&&(pp(y,67108864,jc()),Ke(y,67108864))},pi=function(y){if(13===y.tag){var D=jc(),Y=Xf(y);pp(y,Y,D),Ke(y,Y)}},Sn=function(y,D){return D()},ti=function(y,D,Y){switch(D){case"input":if(xo(y,Y),D=Y.name,"radio"===Y.type&&null!=D){for(Y=y;Y.parentNode;)Y=Y.parentNode;for(Y=Y.querySelectorAll("input[name="+JSON.stringify(""+D)+'][type="radio"]'),D=0;D<Y.length;D++){var Ee=Y[D];if(Ee!==y&&Ee.form===y.form){var ze=Ll(Ee);if(!ze)throw Error(u(90));_r(Ee),xo(Ee,ze)}}}break;case"textarea":Gi(y,Y);break;case"select":null!=(D=Y.value)&&Xn(y,!!Y.multiple,D,!1)}},yt=Ap,Vt=function(y,D,Y,Ee,ze){var At=da;da|=4;try{return ga(98,y.bind(null,D,Y,Ee,ze))}finally{0===(da=At)&&(cp(),Lu())}},yn=function(){0==(49&da)&&(function i_(){if(null!==nf){var y=nf;nf=null,y.forEach(function(D){D.expiredLanes|=24&D.pendingLanes,Od(D,pu())})}Lu()}(),Mf())},Cr=function(y,D){var Y=da;da|=2;try{return y(D)}finally{0===(da=Y)&&(cp(),Lu())}};var Do={Events:[Ma,ll,Ll,$t,_t,Mf,{current:!1}]},Ss={findFiberByHostInstance:cu,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},Yo={bundleType:Ss.bundleType,version:Ss.version,rendererPackageName:Ss.rendererPackageName,rendererConfig:Ss.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:fe.ReactCurrentDispatcher,findHostInstanceByFiber:function(y){return null===(y=or(y))?null:y.stateNode},findFiberByHostInstance:Ss.findFiberByHostInstance||function gn(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ia=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ia.isDisabled&&ia.supportsFiber)try{dc=ia.inject(Yo),yd=ia}catch(y){}}b.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Do,b.createPortal=ts,b.findDOMNode=function(y){if(null==y)return null;if(1===y.nodeType)return y;var D=y._reactInternals;if(void 0===D)throw"function"==typeof y.render?Error(u(188)):Error(u(268,Object.keys(y)));return null===(y=or(D))?null:y.stateNode},b.flushSync=function(y,D){var Y=da;if(0!=(48&Y))return y(D);da|=1;try{if(y)return ga(99,y.bind(null,D))}finally{da=Y,Lu()}},b.hydrate=function(y,D,Y){if(!Nr(D))throw Error(u(200));return di(null,y,D,!0,Y)},b.render=function(y,D,Y){if(!Nr(D))throw Error(u(200));return di(null,y,D,!1,Y)},b.unmountComponentAtNode=function(y){if(!Nr(y))throw Error(u(40));return!!y._reactRootContainer&&(Zp(function(){di(null,null,y,!1,function(){y._reactRootContainer=null,y[gd]=null})}),!0)},b.unstable_batchedUpdates=Ap,b.unstable_createPortal=function(y,D){return ts(y,D,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},b.unstable_renderSubtreeIntoContainer=function(y,D,Y,Ee){if(!Nr(Y))throw Error(u(200));if(null==y||void 0===y._reactInternals)throw Error(u(38));return di(y,D,Y,!1,Ee)},b.version="17.0.2"},88768:(v,b,i)=>{"use strict";(function r(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(a){console.error(a)}})(),v.exports=i(85503)},14395:(v,b,i)=>{"use strict";var f,r=i(16482),a="<<anonymous>>",u=function(){invariant(!1,"ImmutablePropTypes type checking code is stripped in production.")};u.isRequired=u;var e=function(){return u};function M(ce,Be){return function T(ce,Be){return function g(ce){function Be(Xe,He,Pe,Ge,Oe,Tt){for(var We=arguments.length,Qt=Array(We>6?We-6:0),Nt=6;Nt<We;Nt++)Qt[Nt-6]=arguments[Nt];return Tt=Tt||Pe,Ge=Ge||a,null!=He[Pe]?ce.apply(void 0,[He,Pe,Ge,Oe,Tt].concat(Qt)):Xe?new Error("Required "+Oe+" `"+Tt+"` was not specified in `"+Ge+"`."):void 0}var Ve=Be.bind(null,!1);return Ve.isRequired=Be.bind(null,!0),Ve}(function Ve(Xe,He,Pe,Ge,Oe){var Tt=Xe[He];if(!Be(Tt)){var We=function p(ce){var Be=typeof ce;return Array.isArray(ce)?"array":ce instanceof RegExp?"object":ce instanceof r.Iterable?"Immutable."+ce.toSource().split(" ")[0]:Be}(Tt);return new Error("Invalid "+Ge+" `"+Oe+"` of type `"+We+"` supplied to `"+Pe+"`, expected `"+ce+"`.")}return null})}("Iterable."+ce,function(Ve){return r.Iterable.isIterable(Ve)&&Be(Ve)})}(f={listOf:e,mapOf:e,orderedMapOf:e,setOf:e,orderedSetOf:e,stackOf:e,iterableOf:e,recordOf:e,shape:e,contains:e,mapContains:e,orderedMapContains:e,list:u,map:u,orderedMap:u,set:u,orderedSet:u,stack:u,seq:u,record:u,iterable:u}).iterable.indexed=M("Indexed",r.Iterable.isIndexed),f.iterable.keyed=M("Keyed",r.Iterable.isKeyed),v.exports=f},6249:(v,b)=>{"use strict";var i="function"==typeof Symbol&&Symbol.for,r=i?Symbol.for("react.element"):60103,a=i?Symbol.for("react.portal"):60106,f=i?Symbol.for("react.fragment"):60107,u=i?Symbol.for("react.strict_mode"):60108,e=i?Symbol.for("react.profiler"):60114,p=i?Symbol.for("react.provider"):60109,g=i?Symbol.for("react.context"):60110,T=i?Symbol.for("react.async_mode"):60111,M=i?Symbol.for("react.concurrent_mode"):60111,w=i?Symbol.for("react.forward_ref"):60112,R=i?Symbol.for("react.suspense"):60113,U=i?Symbol.for("react.suspense_list"):60120,W=i?Symbol.for("react.memo"):60115,j=i?Symbol.for("react.lazy"):60116,q=i?Symbol.for("react.block"):60121,ue=i?Symbol.for("react.fundamental"):60117,re=i?Symbol.for("react.responder"):60118,H=i?Symbol.for("react.scope"):60119;function se(ie){if("object"==typeof ie&&null!==ie){var fe=ie.$$typeof;switch(fe){case r:switch(ie=ie.type){case T:case M:case f:case e:case u:case R:return ie;default:switch(ie=ie&&ie.$$typeof){case g:case w:case j:case W:case p:return ie;default:return fe}}case a:return fe}}}function ae(ie){return se(ie)===M}b.AsyncMode=T,b.ConcurrentMode=M,b.ContextConsumer=g,b.ContextProvider=p,b.Element=r,b.ForwardRef=w,b.Fragment=f,b.Lazy=j,b.Memo=W,b.Portal=a,b.Profiler=e,b.StrictMode=u,b.Suspense=R,b.isAsyncMode=function(ie){return ae(ie)||se(ie)===T},b.isConcurrentMode=ae,b.isContextConsumer=function(ie){return se(ie)===g},b.isContextProvider=function(ie){return se(ie)===p},b.isElement=function(ie){return"object"==typeof ie&&null!==ie&&ie.$$typeof===r},b.isForwardRef=function(ie){return se(ie)===w},b.isFragment=function(ie){return se(ie)===f},b.isLazy=function(ie){return se(ie)===j},b.isMemo=function(ie){return se(ie)===W},b.isPortal=function(ie){return se(ie)===a},b.isProfiler=function(ie){return se(ie)===e},b.isStrictMode=function(ie){return se(ie)===u},b.isSuspense=function(ie){return se(ie)===R},b.isValidElementType=function(ie){return"string"==typeof ie||"function"==typeof ie||ie===f||ie===M||ie===e||ie===u||ie===R||ie===U||"object"==typeof ie&&null!==ie&&(ie.$$typeof===j||ie.$$typeof===W||ie.$$typeof===p||ie.$$typeof===g||ie.$$typeof===w||ie.$$typeof===ue||ie.$$typeof===re||ie.$$typeof===H||ie.$$typeof===q)},b.typeOf=se},38308:(v,b,i)=>{"use strict";v.exports=i(6249)},1422:(v,b)=>{"use strict";var r=60103,a=60106,f=60107,u=60108,e=60114,p=60109,g=60110,T=60112,M=60113,w=60120,R=60115,U=60116;if("function"==typeof Symbol&&Symbol.for){var H=Symbol.for;r=H("react.element"),a=H("react.portal"),f=H("react.fragment"),u=H("react.strict_mode"),e=H("react.profiler"),p=H("react.provider"),g=H("react.context"),T=H("react.forward_ref"),M=H("react.suspense"),w=H("react.suspense_list"),R=H("react.memo"),U=H("react.lazy"),H("react.block"),H("react.server.block"),H("react.fundamental"),H("react.debug_trace_mode"),H("react.legacy_hidden")}b.isContextConsumer=function(Pe){return function se(Pe){if("object"==typeof Pe&&null!==Pe){var Ge=Pe.$$typeof;switch(Ge){case r:switch(Pe=Pe.type){case f:case e:case u:case M:case w:return Pe;default:switch(Pe=Pe&&Pe.$$typeof){case g:case T:case U:case R:case p:return Pe;default:return Ge}}case a:return Ge}}}(Pe)===g}},56261:(v,b,i)=>{"use strict";v.exports=i(1422)},55429:(v,b,i)=>{"use strict";var r=i(18228),a=60103,f=60106;b.Fragment=60107,b.StrictMode=60108,b.Profiler=60114;var u=60109,e=60110,p=60112;b.Suspense=60113;var g=60115,T=60116;if("function"==typeof Symbol&&Symbol.for){var M=Symbol.for;a=M("react.element"),f=M("react.portal"),b.Fragment=M("react.fragment"),b.StrictMode=M("react.strict_mode"),b.Profiler=M("react.profiler"),u=M("react.provider"),e=M("react.context"),p=M("react.forward_ref"),b.Suspense=M("react.suspense"),g=M("react.memo"),T=M("react.lazy")}var w="function"==typeof Symbol&&Symbol.iterator;function U(We){for(var Qt="https://reactjs.org/docs/error-decoder.html?invariant="+We,Nt=1;Nt<arguments.length;Nt++)Qt+="&args[]="+encodeURIComponent(arguments[Nt]);return"Minified React error #"+We+"; visit "+Qt+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var W={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},j={};function q(We,Qt,Nt){this.props=We,this.context=Qt,this.refs=j,this.updater=Nt||W}function ue(){}function re(We,Qt,Nt){this.props=We,this.context=Qt,this.refs=j,this.updater=Nt||W}q.prototype.isReactComponent={},q.prototype.setState=function(We,Qt){if("object"!=typeof We&&"function"!=typeof We&&null!=We)throw Error(U(85));this.updater.enqueueSetState(this,We,Qt,"setState")},q.prototype.forceUpdate=function(We){this.updater.enqueueForceUpdate(this,We,"forceUpdate")},ue.prototype=q.prototype;var H=re.prototype=new ue;H.constructor=re,r(H,q.prototype),H.isPureReactComponent=!0;var se={current:null},ae=Object.prototype.hasOwnProperty,ie={key:!0,ref:!0,__self:!0,__source:!0};function fe(We,Qt,Nt){var Yt,dn={},rn=null,vt=null;if(null!=Qt)for(Yt in void 0!==Qt.ref&&(vt=Qt.ref),void 0!==Qt.key&&(rn=""+Qt.key),Qt)ae.call(Qt,Yt)&&!ie.hasOwnProperty(Yt)&&(dn[Yt]=Qt[Yt]);var xt=arguments.length-2;if(1===xt)dn.children=Nt;else if(1<xt){for(var Ct=Array(xt),Gt=0;Gt<xt;Gt++)Ct[Gt]=arguments[Gt+2];dn.children=Ct}if(We&&We.defaultProps)for(Yt in xt=We.defaultProps)void 0===dn[Yt]&&(dn[Yt]=xt[Yt]);return{$$typeof:a,type:We,key:rn,ref:vt,props:dn,_owner:se.current}}function Ce(We){return"object"==typeof We&&null!==We&&We.$$typeof===a}var Be=/\/+/g;function Ve(We,Qt){return"object"==typeof We&&null!==We&&null!=We.key?function ce(We){var Qt={"=":"=0",":":"=2"};return"$"+We.replace(/[=:]/g,function(Nt){return Qt[Nt]})}(""+We.key):Qt.toString(36)}function Xe(We,Qt,Nt,Yt,dn){var rn=typeof We;("undefined"===rn||"boolean"===rn)&&(We=null);var vt=!1;if(null===We)vt=!0;else switch(rn){case"string":case"number":vt=!0;break;case"object":switch(We.$$typeof){case a:case f:vt=!0}}if(vt)return dn=dn(vt=We),We=""===Yt?"."+Ve(vt,0):Yt,Array.isArray(dn)?(Nt="",null!=We&&(Nt=We.replace(Be,"$&/")+"/"),Xe(dn,Qt,Nt,"",function(Gt){return Gt})):null!=dn&&(Ce(dn)&&(dn=function _e(We,Qt){return{$$typeof:a,type:We.type,key:Qt,ref:We.ref,props:We.props,_owner:We._owner}}(dn,Nt+(!dn.key||vt&&vt.key===dn.key?"":(""+dn.key).replace(Be,"$&/")+"/")+We)),Qt.push(dn)),1;if(vt=0,Yt=""===Yt?".":Yt+":",Array.isArray(We))for(var xt=0;xt<We.length;xt++){var Ct=Yt+Ve(rn=We[xt],xt);vt+=Xe(rn,Qt,Nt,Ct,dn)}else if(Ct=function R(We){return null===We||"object"!=typeof We?null:"function"==typeof(We=w&&We[w]||We["@@iterator"])?We:null}(We),"function"==typeof Ct)for(We=Ct.call(We),xt=0;!(rn=We.next()).done;)vt+=Xe(rn=rn.value,Qt,Nt,Ct=Yt+Ve(rn,xt++),dn);else if("object"===rn)throw Qt=""+We,Error(U(31,"[object Object]"===Qt?"object with keys {"+Object.keys(We).join(", ")+"}":Qt));return vt}function He(We,Qt,Nt){if(null==We)return We;var Yt=[],dn=0;return Xe(We,Yt,"","",function(rn){return Qt.call(Nt,rn,dn++)}),Yt}function Pe(We){if(-1===We._status){var Qt=We._result;Qt=Qt(),We._status=0,We._result=Qt,Qt.then(function(Nt){0===We._status&&(Nt=Nt.default,We._status=1,We._result=Nt)},function(Nt){0===We._status&&(We._status=2,We._result=Nt)})}if(1===We._status)return We._result;throw We._result}var Ge={current:null};function Oe(){var We=Ge.current;if(null===We)throw Error(U(321));return We}var Tt={ReactCurrentDispatcher:Ge,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:se,IsSomeRendererActing:{current:!1},assign:r};b.Children={map:He,forEach:function(We,Qt,Nt){He(We,function(){Qt.apply(this,arguments)},Nt)},count:function(We){var Qt=0;return He(We,function(){Qt++}),Qt},toArray:function(We){return He(We,function(Qt){return Qt})||[]},only:function(We){if(!Ce(We))throw Error(U(143));return We}},b.Component=q,b.PureComponent=re,b.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Tt,b.cloneElement=function(We,Qt,Nt){if(null==We)throw Error(U(267,We));var Yt=r({},We.props),dn=We.key,rn=We.ref,vt=We._owner;if(null!=Qt){if(void 0!==Qt.ref&&(rn=Qt.ref,vt=se.current),void 0!==Qt.key&&(dn=""+Qt.key),We.type&&We.type.defaultProps)var xt=We.type.defaultProps;for(Ct in Qt)ae.call(Qt,Ct)&&!ie.hasOwnProperty(Ct)&&(Yt[Ct]=void 0===Qt[Ct]&&void 0!==xt?xt[Ct]:Qt[Ct])}var Ct=arguments.length-2;if(1===Ct)Yt.children=Nt;else if(1<Ct){xt=Array(Ct);for(var Gt=0;Gt<Ct;Gt++)xt[Gt]=arguments[Gt+2];Yt.children=xt}return{$$typeof:a,type:We.type,key:dn,ref:rn,props:Yt,_owner:vt}},b.createContext=function(We,Qt){return void 0===Qt&&(Qt=null),(We={$$typeof:e,_calculateChangedBits:Qt,_currentValue:We,_currentValue2:We,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:u,_context:We},We.Consumer=We},b.createElement=fe,b.createFactory=function(We){var Qt=fe.bind(null,We);return Qt.type=We,Qt},b.createRef=function(){return{current:null}},b.forwardRef=function(We){return{$$typeof:p,render:We}},b.isValidElement=Ce,b.lazy=function(We){return{$$typeof:T,_payload:{_status:-1,_result:We},_init:Pe}},b.memo=function(We,Qt){return{$$typeof:g,type:We,compare:void 0===Qt?null:Qt}},b.useCallback=function(We,Qt){return Oe().useCallback(We,Qt)},b.useContext=function(We,Qt){return Oe().useContext(We,Qt)},b.useDebugValue=function(){},b.useEffect=function(We,Qt){return Oe().useEffect(We,Qt)},b.useImperativeHandle=function(We,Qt,Nt){return Oe().useImperativeHandle(We,Qt,Nt)},b.useLayoutEffect=function(We,Qt){return Oe().useLayoutEffect(We,Qt)},b.useMemo=function(We,Qt){return Oe().useMemo(We,Qt)},b.useReducer=function(We,Qt,Nt){return Oe().useReducer(We,Qt,Nt)},b.useRef=function(We){return Oe().useRef(We)},b.useState=function(We){return Oe().useState(We)},b.version="17.0.2"},78139:(v,b,i)=>{"use strict";v.exports=i(55429)},59882:(v,b,i)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0});var a=function u(e){return e&&e.__esModule?e:{default:e}}(i(16482)),f=i(11715);b.default=function(e){var p=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.default.Map,g=Object.keys(e);return function(){var T=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p(),M=arguments[1];return T.withMutations(function(R){g.forEach(function(U){var q=(0,e[U])(R.get(U),M);(0,f.validateNextState)(q,U,M),R.set(U,q)})})}},v.exports=b.default},31208:(v,b,i)=>{"use strict";b.U=void 0;var f=function u(e){return e&&e.__esModule?e:{default:e}}(i(59882));b.U=f.default},46944:(v,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.default=function(i){return i&&"@@redux/INIT"===i.type?"initialState argument passed to createStore":"previous state received by the reducer"},v.exports=b.default},99319:(v,b,i)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0});var a=e(i(16482)),u=e(i(46944));function e(p){return p&&p.__esModule?p:{default:p}}b.default=function(p,g,T){var M=Object.keys(g);if(!M.length)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";var w=(0,u.default)(T);if(a.default.isImmutable?!a.default.isImmutable(p):!a.default.Iterable.isIterable(p))return"The "+w+' is of unexpected type. Expected argument to be an instance of Immutable.Collection or Immutable.Record with the following properties: "'+M.join('", "')+'".';var R=p.toSeq().keySeq().toArray().filter(function(U){return!g.hasOwnProperty(U)});return R.length>0?"Unexpected "+(1===R.length?"property":"properties")+' "'+R.join('", "')+'" found in '+w+'. Expected to find one of the known reducer property names instead: "'+M.join('", "')+'". Unexpected properties will be ignored.':null},v.exports=b.default},11715:(v,b,i)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.validateNextState=b.getUnexpectedInvocationParameterMessage=b.getStateName=void 0;var a=g(i(46944)),u=g(i(99319)),p=g(i(95159));function g(T){return T&&T.__esModule?T:{default:T}}b.getStateName=a.default,b.getUnexpectedInvocationParameterMessage=u.default,b.validateNextState=p.default},95159:(v,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.default=function(i,r,a){if(void 0===i)throw new Error('Reducer "'+r+'" returned undefined when handling "'+a.type+'" action. To ignore an action, you must explicitly return the previous state.')},v.exports=b.default},88280:v=>{"use strict";var i,b="";v.exports=function r(a,f){if("string"!=typeof a)throw new TypeError("expected a string");if(1===f)return a;if(2===f)return a+a;var u=a.length*f;if(i!==a||void 0===i)i=a,b="";else if(b.length>=u)return b.substr(0,u);for(;u>b.length&&f>1;)1&f&&(b+=a),f>>=1,a+=a;return b=(b+=a).substr(0,u)}},90465:v=>{"use strict";v.exports=function(i,r){if(r=r.split(":")[0],!(i=+i))return!1;switch(r){case"http":case"ws":return 80!==i;case"https":case"wss":return 443!==i;case"ftp":return 21!==i;case"gopher":return 70!==i;case"file":return!1}return 0!==i}},66952:(v,b,i)=>{const r=i(18514),a=i(29394),f=i(87931),u=i(45899);v.exports=e=>{var g,T,p=0,M={type:a.ROOT,stack:[]},w=M,R=M.stack,U=[],W=fe=>{r.error(e,"Nothing to repeat at column "+(fe-1))},j=r.strToChars(e);for(g=j.length;p<g;)switch(T=j[p++],T){case"\\":switch(T=j[p++]){case"b":R.push(u.wordBoundary());break;case"B":R.push(u.nonWordBoundary());break;case"w":R.push(f.words());break;case"W":R.push(f.notWords());break;case"d":R.push(f.ints());break;case"D":R.push(f.notInts());break;case"s":R.push(f.whitespace());break;case"S":R.push(f.notWhitespace());break;default:/\d/.test(T)?R.push({type:a.REFERENCE,value:parseInt(T,10)}):R.push({type:a.CHAR,value:T.charCodeAt(0)})}break;case"^":R.push(u.begin());break;case"$":R.push(u.end());break;case"[":var q;"^"===j[p]?(q=!0,p++):q=!1;var ue=r.tokenizeClass(j.slice(p),e);p+=ue[1],R.push({type:a.SET,set:ue[0],not:q});break;case".":R.push(f.anyChar());break;case"(":var re={type:a.GROUP,stack:[],remember:!0};"?"===(T=j[p])&&(T=j[p+1],p+=2,"="===T?re.followedBy=!0:"!"===T?re.notFollowedBy=!0:":"!==T&&r.error(e,`Invalid group, character '${T}' after '?' at column ${p-1}`),re.remember=!1),R.push(re),U.push(w),w=re,R=re.stack;break;case")":0===U.length&&r.error(e,"Unmatched ) at column "+(p-1)),R=(w=U.pop()).options?w.options[w.options.length-1]:w.stack;break;case"|":w.options||(w.options=[w.stack],delete w.stack);var H=[];w.options.push(H),R=H;break;case"{":var ae,ie,se=/^(\d+)(,(\d+)?)?\}/.exec(j.slice(p));null!==se?(0===R.length&&W(p),ae=parseInt(se[1],10),ie=se[2]?se[3]?parseInt(se[3],10):1/0:ae,p+=se[0].length,R.push({type:a.REPETITION,min:ae,max:ie,value:R.pop()})):R.push({type:a.CHAR,value:123});break;case"?":0===R.length&&W(p),R.push({type:a.REPETITION,min:0,max:1,value:R.pop()});break;case"+":0===R.length&&W(p),R.push({type:a.REPETITION,min:1,max:1/0,value:R.pop()});break;case"*":0===R.length&&W(p),R.push({type:a.REPETITION,min:0,max:1/0,value:R.pop()});break;default:R.push({type:a.CHAR,value:T.charCodeAt(0)})}return 0!==U.length&&r.error(e,"Unterminated group"),M},v.exports.types=a},45899:(v,b,i)=>{const r=i(29394);b.wordBoundary=()=>({type:r.POSITION,value:"b"}),b.nonWordBoundary=()=>({type:r.POSITION,value:"B"}),b.begin=()=>({type:r.POSITION,value:"^"}),b.end=()=>({type:r.POSITION,value:"$"})},87931:(v,b,i)=>{const r=i(29394),a=()=>[{type:r.RANGE,from:48,to:57}],f=()=>[{type:r.CHAR,value:95},{type:r.RANGE,from:97,to:122},{type:r.RANGE,from:65,to:90}].concat(a()),u=()=>[{type:r.CHAR,value:9},{type:r.CHAR,value:10},{type:r.CHAR,value:11},{type:r.CHAR,value:12},{type:r.CHAR,value:13},{type:r.CHAR,value:32},{type:r.CHAR,value:160},{type:r.CHAR,value:5760},{type:r.RANGE,from:8192,to:8202},{type:r.CHAR,value:8232},{type:r.CHAR,value:8233},{type:r.CHAR,value:8239},{type:r.CHAR,value:8287},{type:r.CHAR,value:12288},{type:r.CHAR,value:65279}];b.words=()=>({type:r.SET,set:f(),not:!1}),b.notWords=()=>({type:r.SET,set:f(),not:!0}),b.ints=()=>({type:r.SET,set:a(),not:!1}),b.notInts=()=>({type:r.SET,set:a(),not:!0}),b.whitespace=()=>({type:r.SET,set:u(),not:!1}),b.notWhitespace=()=>({type:r.SET,set:u(),not:!0}),b.anyChar=()=>({type:r.SET,set:[{type:r.CHAR,value:10},{type:r.CHAR,value:13},{type:r.CHAR,value:8232},{type:r.CHAR,value:8233}],not:!0})},29394:v=>{v.exports={ROOT:0,GROUP:1,POSITION:2,SET:3,RANGE:4,REPETITION:5,REFERENCE:6,CHAR:7}},18514:(v,b,i)=>{const r=i(29394),a=i(87931),u={0:0,t:9,n:10,v:11,f:12,r:13};b.strToChars=function(e){return e.replace(/(\[\\b\])|(\\)?\\(?:u([A-F0-9]{4})|x([A-F0-9]{2})|(0?[0-7]{2})|c([@A-Z[\\\]^?])|([0tnvfr]))/g,function(g,T,M,w,R,U,W,j){if(M)return g;var q=T?8:w?parseInt(w,16):R?parseInt(R,16):U?parseInt(U,8):W?"@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^ ?".indexOf(W):u[j],ue=String.fromCharCode(q);return/[[\]{}^$.|?*+()]/.test(ue)&&(ue="\\"+ue),ue})},b.tokenizeClass=(e,p)=>{for(var M,w,g=[],T=/\\(?:(w)|(d)|(s)|(W)|(D)|(S))|((?:(?:\\)(.)|([^\]\\]))-(?:\\)?([^\]]))|(\])|(?:\\)?([^])/g;null!=(M=T.exec(e));)if(M[1])g.push(a.words());else if(M[2])g.push(a.ints());else if(M[3])g.push(a.whitespace());else if(M[4])g.push(a.notWords());else if(M[5])g.push(a.notInts());else if(M[6])g.push(a.notWhitespace());else if(M[7])g.push({type:r.RANGE,from:(M[8]||M[9]).charCodeAt(0),to:M[10].charCodeAt(0)});else{if(!(w=M[12]))return[g,T.lastIndex];g.push({type:r.CHAR,value:w.charCodeAt(0)})}b.error(p,"Unterminated character class")},b.error=(e,p)=>{throw new SyntaxError("Invalid regular expression: /"+e+"/: "+p)}},26215:(v,b,i)=>{"use strict";i.d(b,{X:()=>f});var r=i(79765),a=i(77971);class f extends r.xQ{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const p=super._subscribe(e);return p&&!p.closed&&e.next(this._value),p}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new a.N;return this._value}next(e){super.next(this._value=e)}}},23098:(v,b,i)=>{"use strict";i.d(b,{P:()=>e});var r=i(59193),a=i(25917),f=i(40205);class e{constructor(g,T,M){this.kind=g,this.value=T,this.error=M,this.hasValue="N"===g}observe(g){switch(this.kind){case"N":return g.next&&g.next(this.value);case"E":return g.error&&g.error(this.error);case"C":return g.complete&&g.complete()}}do(g,T,M){switch(this.kind){case"N":return g&&g(this.value);case"E":return T&&T(this.error);case"C":return M&&M()}}accept(g,T,M){return g&&"function"==typeof g.next?this.observe(g):this.do(g,T,M)}toObservable(){switch(this.kind){case"N":return(0,a.of)(this.value);case"E":return(0,f._)(this.error);case"C":return(0,r.c)()}throw new Error("unexpected notification kind value")}static createNext(g){return void 0!==g?new e("N",g):e.undefinedValueNotification}static createError(g){return new e("E",void 0,g)}static createComplete(){return e.completeNotification}}e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0)},70882:(v,b,i)=>{"use strict";i.d(b,{y:()=>M});var r=i(77393),f=i(29181),u=i(46490),p=i(16554),g=i(34022),T=i(82494);let M=(()=>{class R{constructor(W){this._isScalar=!1,W&&(this._subscribe=W)}lift(W){const j=new R;return j.source=this,j.operator=W,j}subscribe(W,j,q){const{operator:ue}=this,re=function e(R,U,W){if(R){if(R instanceof r.L)return R;if(R[f.b])return R[f.b]()}return R||U||W?new r.L(R,U,W):new r.L(u.c)}(W,j,q);if(re.add(ue?ue.call(re,this.source):this.source||T.v.useDeprecatedSynchronousErrorHandling&&!re.syncErrorThrowable?this._subscribe(re):this._trySubscribe(re)),T.v.useDeprecatedSynchronousErrorHandling&&re.syncErrorThrowable&&(re.syncErrorThrowable=!1,re.syncErrorThrown))throw re.syncErrorValue;return re}_trySubscribe(W){try{return this._subscribe(W)}catch(j){T.v.useDeprecatedSynchronousErrorHandling&&(W.syncErrorThrown=!0,W.syncErrorValue=j),function a(R){for(;R;){const{closed:U,destination:W,isStopped:j}=R;if(U||j)return!1;R=W&&W instanceof r.L?W:null}return!0}(W)?W.error(j):console.warn(j)}}forEach(W,j){return new(j=w(j))((q,ue)=>{let re;re=this.subscribe(H=>{try{W(H)}catch(se){ue(se),re&&re.unsubscribe()}},ue,q)})}_subscribe(W){const{source:j}=this;return j&&j.subscribe(W)}[p.L](){return this}pipe(...W){return 0===W.length?this:(0,g.U)(W)(this)}toPromise(W){return new(W=w(W))((j,q)=>{let ue;this.subscribe(re=>ue=re,re=>q(re),()=>j(ue))})}}return R.create=U=>new R(U),R})();function w(R){if(R||(R=T.v.Promise||Promise),!R)throw new Error("no Promise impl found");return R}},46490:(v,b,i)=>{"use strict";i.d(b,{c:()=>f});var r=i(82494),a=i(54449);const f={closed:!0,next(u){},error(u){if(r.v.useDeprecatedSynchronousErrorHandling)throw u;(0,a.z)(u)},complete(){}}},55197:(v,b,i)=>{"use strict";i.d(b,{L:()=>a});var r=i(77393);class a extends r.L{notifyNext(u,e,p,g,T){this.destination.next(e)}notifyError(u,e){this.destination.error(u)}notifyComplete(u){this.destination.complete()}}},7357:(v,b,i)=>{"use strict";i.d(b,{t:()=>U});var r=i(79765),a=i(23989),u=i(46493);const g=new class e extends u.v{}(class f extends a.o{constructor(q,ue){super(q,ue),this.scheduler=q,this.work=ue}schedule(q,ue=0){return ue>0?super.schedule(q,ue):(this.delay=ue,this.state=q,this.scheduler.flush(this),this)}execute(q,ue){return ue>0||this.closed?super.execute(q,ue):this._execute(q,ue)}requestAsyncId(q,ue,re=0){return null!==re&&re>0||null===re&&this.delay>0?super.requestAsyncId(q,ue,re):q.flush(this)}});var T=i(13464),M=i(59746),w=i(77971),R=i(78858);class U extends r.xQ{constructor(q=Number.POSITIVE_INFINITY,ue=Number.POSITIVE_INFINITY,re){super(),this.scheduler=re,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=q<1?1:q,this._windowTime=ue<1?1:ue,ue===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(q){if(!this.isStopped){const ue=this._events;ue.push(q),ue.length>this._bufferSize&&ue.shift()}super.next(q)}nextTimeWindow(q){this.isStopped||(this._events.push(new W(this._getNow(),q)),this._trimBufferThenGetEvents()),super.next(q)}_subscribe(q){const ue=this._infiniteTimeWindow,re=ue?this._events:this._trimBufferThenGetEvents(),H=this.scheduler,se=re.length;let ae;if(this.closed)throw new w.N;if(this.isStopped||this.hasError?ae=T.w.EMPTY:(this.observers.push(q),ae=new R.W(this,q)),H&&q.add(q=new M.ht(q,H)),ue)for(let ie=0;ie<se&&!q.closed;ie++)q.next(re[ie]);else for(let ie=0;ie<se&&!q.closed;ie++)q.next(re[ie].value);return this.hasError?q.error(this.thrownError):this.isStopped&&q.complete(),ae}_getNow(){return(this.scheduler||g).now()}_trimBufferThenGetEvents(){const q=this._getNow(),ue=this._bufferSize,re=this._windowTime,H=this._events,se=H.length;let ae=0;for(;ae<se&&!(q-H[ae].time<re);)ae++;return se>ue&&(ae=Math.max(ae,se-ue)),ae>0&&H.splice(0,ae),H}}class W{constructor(q,ue){this.time=q,this.value=ue}}},79765:(v,b,i)=>{"use strict";i.d(b,{Yc:()=>g,xQ:()=>T});var r=i(70882),a=i(77393),f=i(13464),u=i(77971),e=i(78858),p=i(29181);class g extends a.L{constructor(R){super(R),this.destination=R}}let T=(()=>{class w extends r.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[p.b](){return new g(this)}lift(U){const W=new M(this,this);return W.operator=U,W}next(U){if(this.closed)throw new u.N;if(!this.isStopped){const{observers:W}=this,j=W.length,q=W.slice();for(let ue=0;ue<j;ue++)q[ue].next(U)}}error(U){if(this.closed)throw new u.N;this.hasError=!0,this.thrownError=U,this.isStopped=!0;const{observers:W}=this,j=W.length,q=W.slice();for(let ue=0;ue<j;ue++)q[ue].error(U);this.observers.length=0}complete(){if(this.closed)throw new u.N;this.isStopped=!0;const{observers:U}=this,W=U.length,j=U.slice();for(let q=0;q<W;q++)j[q].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(U){if(this.closed)throw new u.N;return super._trySubscribe(U)}_subscribe(U){if(this.closed)throw new u.N;return this.hasError?(U.error(this.thrownError),f.w.EMPTY):this.isStopped?(U.complete(),f.w.EMPTY):(this.observers.push(U),new e.W(this,U))}asObservable(){const U=new r.y;return U.source=this,U}}return w.create=(R,U)=>new M(R,U),w})();class M extends T{constructor(R,U){super(),this.destination=R,this.source=U}next(R){const{destination:U}=this;U&&U.next&&U.next(R)}error(R){const{destination:U}=this;U&&U.error&&this.destination.error(R)}complete(){const{destination:R}=this;R&&R.complete&&this.destination.complete()}_subscribe(R){const{source:U}=this;return U?this.source.subscribe(R):f.w.EMPTY}}},78858:(v,b,i)=>{"use strict";i.d(b,{W:()=>a});var r=i(13464);class a extends r.w{constructor(u,e){super(),this.subject=u,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const u=this.subject,e=u.observers;if(this.subject=null,!e||0===e.length||u.isStopped||u.closed)return;const p=e.indexOf(this.subscriber);-1!==p&&e.splice(p,1)}}},77393:(v,b,i)=>{"use strict";i.d(b,{L:()=>g});var r=i(69105),a=i(46490),f=i(13464),u=i(29181),e=i(82494),p=i(54449);class g extends f.w{constructor(w,R,U){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a.c;break;case 1:if(!w){this.destination=a.c;break}if("object"==typeof w){w instanceof g?(this.syncErrorThrowable=w.syncErrorThrowable,this.destination=w,w.add(this)):(this.syncErrorThrowable=!0,this.destination=new T(this,w));break}default:this.syncErrorThrowable=!0,this.destination=new T(this,w,R,U)}}[u.b](){return this}static create(w,R,U){const W=new g(w,R,U);return W.syncErrorThrowable=!1,W}next(w){this.isStopped||this._next(w)}error(w){this.isStopped||(this.isStopped=!0,this._error(w))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(w){this.destination.next(w)}_error(w){this.destination.error(w),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:w}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=w,this}}class T extends g{constructor(w,R,U,W){super(),this._parentSubscriber=w;let j,q=this;(0,r.m)(R)?j=R:R&&(j=R.next,U=R.error,W=R.complete,R!==a.c&&(q=Object.create(R),(0,r.m)(q.unsubscribe)&&this.add(q.unsubscribe.bind(q)),q.unsubscribe=this.unsubscribe.bind(this))),this._context=q,this._next=j,this._error=U,this._complete=W}next(w){if(!this.isStopped&&this._next){const{_parentSubscriber:R}=this;e.v.useDeprecatedSynchronousErrorHandling&&R.syncErrorThrowable?this.__tryOrSetError(R,this._next,w)&&this.unsubscribe():this.__tryOrUnsub(this._next,w)}}error(w){if(!this.isStopped){const{_parentSubscriber:R}=this,{useDeprecatedSynchronousErrorHandling:U}=e.v;if(this._error)U&&R.syncErrorThrowable?(this.__tryOrSetError(R,this._error,w),this.unsubscribe()):(this.__tryOrUnsub(this._error,w),this.unsubscribe());else if(R.syncErrorThrowable)U?(R.syncErrorValue=w,R.syncErrorThrown=!0):(0,p.z)(w),this.unsubscribe();else{if(this.unsubscribe(),U)throw w;(0,p.z)(w)}}}complete(){if(!this.isStopped){const{_parentSubscriber:w}=this;if(this._complete){const R=()=>this._complete.call(this._context);e.v.useDeprecatedSynchronousErrorHandling&&w.syncErrorThrowable?(this.__tryOrSetError(w,R),this.unsubscribe()):(this.__tryOrUnsub(R),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(w,R){try{w.call(this._context,R)}catch(U){if(this.unsubscribe(),e.v.useDeprecatedSynchronousErrorHandling)throw U;(0,p.z)(U)}}__tryOrSetError(w,R,U){if(!e.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{R.call(this._context,U)}catch(W){return e.v.useDeprecatedSynchronousErrorHandling?(w.syncErrorValue=W,w.syncErrorThrown=!0,!0):((0,p.z)(W),!0)}return!1}_unsubscribe(){const{_parentSubscriber:w}=this;this._context=null,this._parentSubscriber=null,w.unsubscribe()}}},13464:(v,b,i)=>{"use strict";i.d(b,{w:()=>p});var r=i(59796),a=i(81555),f=i(69105);const e=(()=>{function T(M){return Error.call(this),this.message=M?`${M.length} errors occurred during unsubscription:\n${M.map((w,R)=>`${R+1}) ${w.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=M,this}return T.prototype=Object.create(Error.prototype),T})();class p{constructor(M){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,M&&(this._ctorUnsubscribe=!0,this._unsubscribe=M)}unsubscribe(){let M;if(this.closed)return;let{_parentOrParents:w,_ctorUnsubscribe:R,_unsubscribe:U,_subscriptions:W}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,w instanceof p)w.remove(this);else if(null!==w)for(let j=0;j<w.length;++j)w[j].remove(this);if((0,f.m)(U)){R&&(this._unsubscribe=void 0);try{U.call(this)}catch(j){M=j instanceof e?g(j.errors):[j]}}if((0,r.k)(W)){let j=-1,q=W.length;for(;++j<q;){const ue=W[j];if((0,a.K)(ue))try{ue.unsubscribe()}catch(re){M=M||[],re instanceof e?M=M.concat(g(re.errors)):M.push(re)}}}if(M)throw new e(M)}add(M){let w=M;if(!M)return p.EMPTY;switch(typeof M){case"function":w=new p(M);case"object":if(w===this||w.closed||"function"!=typeof w.unsubscribe)return w;if(this.closed)return w.unsubscribe(),w;if(!(w instanceof p)){const W=w;w=new p,w._subscriptions=[W]}break;default:throw new Error("unrecognized teardown "+M+" added to Subscription.")}let{_parentOrParents:R}=w;if(null===R)w._parentOrParents=this;else if(R instanceof p){if(R===this)return w;w._parentOrParents=[R,this]}else{if(-1!==R.indexOf(this))return w;R.push(this)}const U=this._subscriptions;return null===U?this._subscriptions=[w]:U.push(w),w}remove(M){const w=this._subscriptions;if(w){const R=w.indexOf(M);-1!==R&&w.splice(R,1)}}}var T;function g(T){return T.reduce((M,w)=>M.concat(w instanceof e?w.errors:w),[])}p.EMPTY=((T=new p).closed=!0,T)},82494:(v,b,i)=>{"use strict";i.d(b,{v:()=>a});let r=!1;const a={Promise:void 0,set useDeprecatedSynchronousErrorHandling(f){if(f){const u=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+u.stack)}else r&&console.log("RxJS: Back to a better error behavior. Thank you. <3");r=f},get useDeprecatedSynchronousErrorHandling(){return r}}},85345:(v,b,i)=>{"use strict";i.d(b,{Ds:()=>p,IY:()=>u,ft:()=>T});var r=i(77393),a=i(70882),f=i(19846);class u extends r.L{constructor(w){super(),this.parent=w}_next(w){this.parent.notifyNext(w)}_error(w){this.parent.notifyError(w),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class p extends r.L{notifyNext(w){this.destination.next(w)}notifyError(w){this.destination.error(w)}notifyComplete(){this.destination.complete()}}function T(M,w){if(!w.closed)return M instanceof a.y?M.subscribe(w):(0,f.s)(M)(w)}},52441:(v,b,i)=>{"use strict";i.d(b,{N:()=>p,c:()=>e});var r=i(79765),a=i(70882),f=i(13464),u=i(51307);class e extends a.y{constructor(R,U){super(),this.source=R,this.subjectFactory=U,this._refCount=0,this._isComplete=!1}_subscribe(R){return this.getSubject().subscribe(R)}getSubject(){const R=this._subject;return(!R||R.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let R=this._connection;return R||(this._isComplete=!1,R=this._connection=new f.w,R.add(this.source.subscribe(new g(this.getSubject(),this))),R.closed&&(this._connection=null,R=f.w.EMPTY)),R}refCount(){return(0,u.x)()(this)}}const p=(()=>{const w=e.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:w._subscribe},_isComplete:{value:w._isComplete,writable:!0},getSubject:{value:w.getSubject},connect:{value:w.connect},refCount:{value:w.refCount}}})();class g extends r.Yc{constructor(R,U){super(R),this.connectable=U}_error(R){this._unsubscribe(),super._error(R)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const R=this.connectable;if(R){this.connectable=null;const U=R._connection;R._refCount=0,R._subject=null,R._connection=null,U&&U.unsubscribe()}}}},9112:(v,b,i)=>{"use strict";i.d(b,{aj:()=>g});var r=i(54869),a=i(59796),f=i(55197),u=i(53960),e=i(56693);const p={};function g(...w){let R,U;return(0,r.K)(w[w.length-1])&&(U=w.pop()),"function"==typeof w[w.length-1]&&(R=w.pop()),1===w.length&&(0,a.k)(w[0])&&(w=w[0]),(0,e.n)(w,U).lift(new T(R))}class T{constructor(R){this.resultSelector=R}call(R,U){return U.subscribe(new M(R,this.resultSelector))}}class M extends f.L{constructor(R,U){super(R),this.resultSelector=U,this.active=0,this.values=[],this.observables=[]}_next(R){this.values.push(p),this.observables.push(R)}_complete(){const R=this.observables,U=R.length;if(0===U)this.destination.complete();else{this.active=U,this.toRespond=U;for(let W=0;W<U;W++)this.add((0,u.D)(this,R[W],void 0,W))}}notifyComplete(R){0==(this.active-=1)&&this.destination.complete()}notifyNext(R,U,W){const j=this.values,ue=this.toRespond?j[W]===p?--this.toRespond:this.toRespond:0;j[W]=U,0===ue&&(this.resultSelector?this._tryResultSelector(j):this.destination.next(j.slice()))}_tryResultSelector(R){let U;try{U=this.resultSelector.apply(this,R)}catch(W){return void this.destination.error(W)}this.destination.next(U)}}},6481:(v,b,i)=>{"use strict";i.d(b,{z:()=>u});var r=i(25917),a=i(63282);function u(...e){return function f(){return(0,a.J)(1)}()((0,r.of)(...e))}},59193:(v,b,i)=>{"use strict";i.d(b,{E:()=>a,c:()=>f});var r=i(70882);const a=new r.y(e=>e.complete());function f(e){return e?function u(e){return new r.y(p=>e.schedule(()=>p.complete()))}(e):a}},35758:(v,b,i)=>{"use strict";i.d(b,{D:()=>p});var r=i(70882),a=i(59796),f=i(88002),u=i(81555),e=i(76666);function p(...T){if(1===T.length){const M=T[0];if((0,a.k)(M))return g(M,null);if((0,u.K)(M)&&Object.getPrototypeOf(M)===Object.prototype){const w=Object.keys(M);return g(w.map(R=>M[R]),w)}}if("function"==typeof T[T.length-1]){const M=T.pop();return g(T=1===T.length&&(0,a.k)(T[0])?T[0]:T,null).pipe((0,f.U)(w=>M(...w)))}return g(T,null)}function g(T,M){return new r.y(w=>{const R=T.length;if(0===R)return void w.complete();const U=new Array(R);let W=0,j=0;for(let q=0;q<R;q++){const ue=(0,e.D)(T[q]);let re=!1;w.add(ue.subscribe({next:H=>{re||(re=!0,j++),U[q]=H},error:H=>w.error(H),complete:()=>{W++,(W===R||!re)&&(j===R&&w.next(M?M.reduce((H,se,ae)=>(H[se]=U[ae],H),{}):U),w.complete())}}))}})}},76666:(v,b,i)=>{"use strict";i.d(b,{D:()=>q});var r=i(70882),a=i(19846),f=i(13464),u=i(16554),g=i(94087),T=i(20377),R=i(44072),U=i(69489);function q(ue,re){return re?function j(ue,re){if(null!=ue){if(function w(ue){return ue&&"function"==typeof ue[u.L]}(ue))return function e(ue,re){return new r.y(H=>{const se=new f.w;return se.add(re.schedule(()=>{const ae=ue[u.L]();se.add(ae.subscribe({next(ie){se.add(re.schedule(()=>H.next(ie)))},error(ie){se.add(re.schedule(()=>H.error(ie)))},complete(){se.add(re.schedule(()=>H.complete()))}}))})),se})}(ue,re);if((0,R.t)(ue))return function p(ue,re){return new r.y(H=>{const se=new f.w;return se.add(re.schedule(()=>ue.then(ae=>{se.add(re.schedule(()=>{H.next(ae),se.add(re.schedule(()=>H.complete()))}))},ae=>{se.add(re.schedule(()=>H.error(ae)))}))),se})}(ue,re);if((0,U.z)(ue))return(0,g.r)(ue,re);if(function W(ue){return ue&&"function"==typeof ue[T.hZ]}(ue)||"string"==typeof ue)return function M(ue,re){if(!ue)throw new Error("Iterable cannot be null");return new r.y(H=>{const se=new f.w;let ae;return se.add(()=>{ae&&"function"==typeof ae.return&&ae.return()}),se.add(re.schedule(()=>{ae=ue[T.hZ](),se.add(re.schedule(function(){if(H.closed)return;let ie,fe;try{const _e=ae.next();ie=_e.value,fe=_e.done}catch(_e){return void H.error(_e)}fe?H.complete():(H.next(ie),this.schedule())}))})),se})}(ue,re)}throw new TypeError((null!==ue&&typeof ue||ue)+" is not observable")}(ue,re):ue instanceof r.y?ue:new r.y((0,a.s)(ue))}},56693:(v,b,i)=>{"use strict";i.d(b,{n:()=>u});var r=i(70882),a=i(55015),f=i(94087);function u(e,p){return p?(0,f.r)(e,p):new r.y((0,a.V)(e))}},22759:(v,b,i)=>{"use strict";i.d(b,{R:()=>p});var r=i(70882),a=i(59796),f=i(69105),u=i(88002);function p(R,U,W,j){return(0,f.m)(W)&&(j=W,W=void 0),j?p(R,U,W).pipe((0,u.U)(q=>(0,a.k)(q)?j(...q):j(q))):new r.y(q=>{g(R,U,function ue(re){q.next(arguments.length>1?Array.prototype.slice.call(arguments):re)},q,W)})}function g(R,U,W,j,q){let ue;if(function w(R){return R&&"function"==typeof R.addEventListener&&"function"==typeof R.removeEventListener}(R)){const re=R;R.addEventListener(U,W,q),ue=()=>re.removeEventListener(U,W,q)}else if(function M(R){return R&&"function"==typeof R.on&&"function"==typeof R.off}(R)){const re=R;R.on(U,W),ue=()=>re.off(U,W)}else if(function T(R){return R&&"function"==typeof R.addListener&&"function"==typeof R.removeListener}(R)){const re=R;R.addListener(U,W),ue=()=>re.removeListener(U,W)}else{if(!R||!R.length)throw new TypeError("Invalid event target");for(let re=0,H=R.length;re<H;re++)g(R[re],U,W,j,q)}j.add(ue)}},66682:(v,b,i)=>{"use strict";i.d(b,{T:()=>e});var r=i(70882),a=i(54869),f=i(63282),u=i(56693);function e(...p){let g=Number.POSITIVE_INFINITY,T=null,M=p[p.length-1];return(0,a.K)(M)?(T=p.pop(),p.length>1&&"number"==typeof p[p.length-1]&&(g=p.pop())):"number"==typeof M&&(g=p.pop()),null===T&&1===p.length&&p[0]instanceof r.y?p[0]:(0,f.J)(g)((0,u.n)(p,T))}},17757:(v,b,i)=>{"use strict";i.d(b,{C:()=>f});var r=i(70882),a=i(98640);const f=new r.y(a.Z)},25917:(v,b,i)=>{"use strict";i.d(b,{of:()=>u});var r=i(54869),a=i(56693),f=i(94087);function u(...e){let p=e[e.length-1];return(0,r.K)(p)?(e.pop(),(0,f.r)(e,p)):(0,a.n)(e)}},40205:(v,b,i)=>{"use strict";i.d(b,{_:()=>a});var r=i(70882);function a(u,e){return new r.y(e?p=>e.schedule(f,0,{error:u,subscriber:p}):p=>p.error(u))}function f({error:u,subscriber:e}){e.error(u)}},46797:(v,b,i)=>{"use strict";i.d(b,{H:()=>e});var r=i(70882),a=i(33637),f=i(26561),u=i(54869);function e(g=0,T,M){let w=-1;return(0,f.k)(T)?w=Number(T)<1?1:Number(T):(0,u.K)(T)&&(M=T),(0,u.K)(M)||(M=a.P),new r.y(R=>{const U=(0,f.k)(g)?g:+g-M.now();return M.schedule(p,U,{index:0,period:w,subscriber:R})})}function p(g){const{index:T,period:M,subscriber:w}=g;if(w.next(T),!w.closed){if(-1===M)return w.complete();g.index=T+1,this.schedule(g,M)}}},5304:(v,b,i)=>{"use strict";i.d(b,{K:()=>a});var r=i(85345);function a(e){return function(g){const T=new f(e),M=g.lift(T);return T.caught=M}}class f{constructor(p){this.selector=p}call(p,g){return g.subscribe(new u(p,this.selector,this.caught))}}class u extends r.Ds{constructor(p,g,T){super(p),this.selector=g,this.caught=T}error(p){if(!this.isStopped){let g;try{g=this.selector(p,this.caught)}catch(w){return void super.error(w)}this._unsubscribeAndRecycle();const T=new r.IY(this);this.add(T);const M=(0,r.ft)(g,T);M!==T&&this.add(M)}}}},94612:(v,b,i)=>{"use strict";i.d(b,{b:()=>a});var r=i(19773);function a(f,u){return(0,r.zg)(f,u,1)}},54395:(v,b,i)=>{"use strict";i.d(b,{b:()=>f});var r=i(77393),a=i(33637);function f(g,T=a.P){return M=>M.lift(new u(g,T))}class u{constructor(T,M){this.dueTime=T,this.scheduler=M}call(T,M){return M.subscribe(new e(T,this.dueTime,this.scheduler))}}class e extends r.L{constructor(T,M,w){super(T),this.dueTime=M,this.scheduler=w,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(T){this.clearDebounce(),this.lastValue=T,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(p,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:T}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(T)}}clearDebounce(){const T=this.debouncedSubscription;null!==T&&(this.remove(T),T.unsubscribe(),this.debouncedSubscription=null)}}function p(g){g.debouncedNext()}},95242:(v,b,i)=>{"use strict";i.d(b,{d:()=>a});var r=i(77393);function a(e=null){return p=>p.lift(new f(e))}class f{constructor(p){this.defaultValue=p}call(p,g){return g.subscribe(new u(p,this.defaultValue))}}class u extends r.L{constructor(p,g){super(p),this.defaultValue=g,this.isEmpty=!0}_next(p){this.isEmpty=!1,this.destination.next(p)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},67460:(v,b,i)=>{"use strict";i.d(b,{g:()=>e});var r=i(33637),f=i(77393),u=i(23098);function e(M,w=r.P){const U=function a(M){return M instanceof Date&&!isNaN(+M)}(M)?+M-w.now():Math.abs(M);return W=>W.lift(new p(U,w))}class p{constructor(w,R){this.delay=w,this.scheduler=R}call(w,R){return R.subscribe(new g(w,this.delay,this.scheduler))}}class g extends f.L{constructor(w,R,U){super(w),this.delay=R,this.scheduler=U,this.queue=[],this.active=!1,this.errored=!1}static dispatch(w){const R=w.source,U=R.queue,W=w.scheduler,j=w.destination;for(;U.length>0&&U[0].time-W.now()<=0;)U.shift().notification.observe(j);if(U.length>0){const q=Math.max(0,U[0].time-W.now());this.schedule(w,q)}else this.unsubscribe(),R.active=!1}_schedule(w){this.active=!0,this.destination.add(w.schedule(g.dispatch,this.delay,{source:this,destination:this.destination,scheduler:w}))}scheduleNotification(w){if(!0===this.errored)return;const R=this.scheduler,U=new T(R.now()+this.delay,w);this.queue.push(U),!1===this.active&&this._schedule(R)}_next(w){this.scheduleNotification(u.P.createNext(w))}_error(w){this.errored=!0,this.queue=[],this.destination.error(w),this.unsubscribe()}_complete(){this.scheduleNotification(u.P.createComplete()),this.unsubscribe()}}class T{constructor(w,R){this.time=w,this.notification=R}}},87519:(v,b,i)=>{"use strict";i.d(b,{x:()=>a});var r=i(77393);function a(e,p){return g=>g.lift(new f(e,p))}class f{constructor(p,g){this.compare=p,this.keySelector=g}call(p,g){return g.subscribe(new u(p,this.compare,this.keySelector))}}class u extends r.L{constructor(p,g,T){super(p),this.keySelector=T,this.hasKey=!1,"function"==typeof g&&(this.compare=g)}compare(p,g){return p===g}_next(p){let g;try{const{keySelector:M}=this;g=M?M(p):p}catch(M){return this.destination.error(M)}let T=!1;if(this.hasKey)try{const{compare:M}=this;T=M(this.key,g)}catch(M){return this.destination.error(M)}else this.hasKey=!0;T||(this.key=g,this.destination.next(p))}}},45435:(v,b,i)=>{"use strict";i.d(b,{h:()=>a});var r=i(77393);function a(e,p){return function(T){return T.lift(new f(e,p))}}class f{constructor(p,g){this.predicate=p,this.thisArg=g}call(p,g){return g.subscribe(new u(p,this.predicate,this.thisArg))}}class u extends r.L{constructor(p,g,T){super(p),this.predicate=g,this.thisArg=T,this.count=0}_next(p){let g;try{g=this.predicate.call(this.thisArg,p,this.count++)}catch(T){return void this.destination.error(T)}g&&this.destination.next(p)}}},68939:(v,b,i)=>{"use strict";i.d(b,{x:()=>f});var r=i(77393),a=i(13464);function f(p){return g=>g.lift(new u(p))}class u{constructor(g){this.callback=g}call(g,T){return T.subscribe(new e(g,this.callback))}}class e extends r.L{constructor(g,T){super(g),this.add(new a.w(T))}}},28049:(v,b,i)=>{"use strict";i.d(b,{P:()=>g});var r=i(13410),a=i(45435),f=i(15257),u=i(95242),e=i(44635),p=i(54487);function g(T,M){const w=arguments.length>=2;return R=>R.pipe(T?(0,a.h)((U,W)=>T(U,W,R)):p.y,(0,f.q)(1),w?(0,u.d)(M):(0,e.T)(()=>new r.K))}},12627:(v,b,i)=>{"use strict";i.d(b,{Z:()=>g});var r=i(13410),a=i(45435),f=i(548),u=i(44635),e=i(95242),p=i(54487);function g(T,M){const w=arguments.length>=2;return R=>R.pipe(T?(0,a.h)((U,W)=>T(U,W,R)):p.y,(0,f.h)(1),w?(0,e.d)(M):(0,u.T)(()=>new r.K))}},88002:(v,b,i)=>{"use strict";i.d(b,{U:()=>a});var r=i(77393);function a(e,p){return function(T){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return T.lift(new f(e,p))}}class f{constructor(p,g){this.project=p,this.thisArg=g}call(p,g){return g.subscribe(new u(p,this.project,this.thisArg))}}class u extends r.L{constructor(p,g,T){super(p),this.project=g,this.count=0,this.thisArg=T||this}_next(p){let g;try{g=this.project.call(this.thisArg,p,this.count++)}catch(T){return void this.destination.error(T)}this.destination.next(g)}}},96736:(v,b,i)=>{"use strict";i.d(b,{h:()=>a});var r=i(77393);function a(e){return p=>p.lift(new f(e))}class f{constructor(p){this.value=p}call(p,g){return g.subscribe(new u(p,this.value))}}class u extends r.L{constructor(p,g){super(p),this.value=g}_next(p){this.destination.next(this.value)}}},63282:(v,b,i)=>{"use strict";i.d(b,{J:()=>f});var r=i(19773),a=i(54487);function f(u=Number.POSITIVE_INFINITY){return(0,r.zg)(a.y,u)}},19773:(v,b,i)=>{"use strict";i.d(b,{zg:()=>u});var r=i(88002),a=i(76666),f=i(85345);function u(T,M,w=Number.POSITIVE_INFINITY){return"function"==typeof M?R=>R.pipe(u((U,W)=>(0,a.D)(T(U,W)).pipe((0,r.U)((j,q)=>M(U,j,W,q))),w)):("number"==typeof M&&(w=M),R=>R.lift(new e(T,w)))}class e{constructor(M,w=Number.POSITIVE_INFINITY){this.project=M,this.concurrent=w}call(M,w){return w.subscribe(new p(M,this.project,this.concurrent))}}class p extends f.Ds{constructor(M,w,R=Number.POSITIVE_INFINITY){super(M),this.project=w,this.concurrent=R,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(M){this.active<this.concurrent?this._tryNext(M):this.buffer.push(M)}_tryNext(M){let w;const R=this.index++;try{w=this.project(M,R)}catch(U){return void this.destination.error(U)}this.active++,this._innerSub(w)}_innerSub(M){const w=new f.IY(this),R=this.destination;R.add(w);const U=(0,f.ft)(M,w);U!==w&&R.add(U)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(M){this.destination.next(M)}notifyComplete(){const M=this.buffer;this.active--,M.length>0?this._next(M.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},59746:(v,b,i)=>{"use strict";i.d(b,{QV:()=>f,ht:()=>e});var r=i(77393),a=i(23098);function f(g,T=0){return function(w){return w.lift(new u(g,T))}}class u{constructor(T,M=0){this.scheduler=T,this.delay=M}call(T,M){return M.subscribe(new e(T,this.scheduler,this.delay))}}class e extends r.L{constructor(T,M,w=0){super(T),this.scheduler=M,this.delay=w}static dispatch(T){const{notification:M,destination:w}=T;M.observe(w),this.unsubscribe()}scheduleMessage(T){this.destination.add(this.scheduler.schedule(e.dispatch,this.delay,new p(T,this.destination)))}_next(T){this.scheduleMessage(a.P.createNext(T))}_error(T){this.scheduleMessage(a.P.createError(T)),this.unsubscribe()}_complete(){this.scheduleMessage(a.P.createComplete()),this.unsubscribe()}}class p{constructor(T,M){this.notification=T,this.destination=M}}},51307:(v,b,i)=>{"use strict";i.d(b,{x:()=>a});var r=i(77393);function a(){return function(p){return p.lift(new f(p))}}class f{constructor(p){this.connectable=p}call(p,g){const{connectable:T}=this;T._refCount++;const M=new u(p,T),w=g.subscribe(M);return M.closed||(M.connection=T.connect()),w}}class u extends r.L{constructor(p,g){super(p),this.connectable=g}_unsubscribe(){const{connectable:p}=this;if(!p)return void(this.connection=null);this.connectable=null;const g=p._refCount;if(g<=0)return void(this.connection=null);if(p._refCount=g-1,g>1)return void(this.connection=null);const{connection:T}=this,M=p._connection;this.connection=null,M&&(!T||M===T)&&M.unsubscribe()}}},42145:(v,b,i)=>{"use strict";i.d(b,{R:()=>a});var r=i(77393);function a(e,p){let g=!1;return arguments.length>=2&&(g=!0),function(M){return M.lift(new f(e,p,g))}}class f{constructor(p,g,T=!1){this.accumulator=p,this.seed=g,this.hasSeed=T}call(p,g){return g.subscribe(new u(p,this.accumulator,this.seed,this.hasSeed))}}class u extends r.L{constructor(p,g,T,M){super(p),this.accumulator=g,this._seed=T,this.hasSeed=M,this.index=0}get seed(){return this._seed}set seed(p){this.hasSeed=!0,this._seed=p}_next(p){if(this.hasSeed)return this._tryNext(p);this.seed=p,this.destination.next(p)}_tryNext(p){const g=this.index++;let T;try{T=this.accumulator(this.seed,p,g)}catch(M){this.destination.error(M)}this.seed=T,this.destination.next(T)}}},4121:(v,b,i)=>{"use strict";i.d(b,{B:()=>g});var r=i(52441);class f{constructor(M,w){this.subjectFactory=M,this.selector=w}call(M,w){const{selector:R}=this,U=this.subjectFactory(),W=R(U).subscribe(M);return W.add(w.subscribe(U)),W}}var u=i(51307),e=i(79765);function p(){return new e.xQ}function g(){return T=>(0,u.x)()(function a(T,M){return function(R){let U;if(U="function"==typeof T?T:function(){return T},"function"==typeof M)return R.lift(new f(U,M));const W=Object.create(R,r.N);return W.source=R,W.subjectFactory=U,W}}(p)(T))}},47349:(v,b,i)=>{"use strict";i.d(b,{d:()=>a});var r=i(7357);function a(u,e,p){let g;return g=u&&"object"==typeof u?u:{bufferSize:u,windowTime:e,refCount:!1,scheduler:p},T=>T.lift(function f({bufferSize:u=Number.POSITIVE_INFINITY,windowTime:e=Number.POSITIVE_INFINITY,refCount:p,scheduler:g}){let T,w,M=0,R=!1,U=!1;return function(j){let q;M++,!T||R?(R=!1,T=new r.t(u,e,g),q=T.subscribe(this),w=j.subscribe({next(ue){T.next(ue)},error(ue){R=!0,T.error(ue)},complete(){U=!0,w=void 0,T.complete()}})):q=T.subscribe(this),this.add(()=>{M--,q.unsubscribe(),w&&!U&&p&&0===M&&(w.unsubscribe(),w=void 0,T=void 0)})}}(g))}},39761:(v,b,i)=>{"use strict";i.d(b,{O:()=>f});var r=i(6481),a=i(54869);function f(...u){const e=u[u.length-1];return(0,a.K)(e)?(u.pop(),p=>(0,r.z)(u,p,e)):p=>(0,r.z)(u,p)}},43190:(v,b,i)=>{"use strict";i.d(b,{w:()=>u});var r=i(88002),a=i(76666),f=i(85345);function u(g,T){return"function"==typeof T?M=>M.pipe(u((w,R)=>(0,a.D)(g(w,R)).pipe((0,r.U)((U,W)=>T(w,U,R,W))))):M=>M.lift(new e(g))}class e{constructor(T){this.project=T}call(T,M){return M.subscribe(new p(T,this.project))}}class p extends f.Ds{constructor(T,M){super(T),this.project=M,this.index=0}_next(T){let M;const w=this.index++;try{M=this.project(T,w)}catch(R){return void this.destination.error(R)}this._innerSub(M)}_innerSub(T){const M=this.innerSubscription;M&&M.unsubscribe();const w=new f.IY(this),R=this.destination;R.add(w),this.innerSubscription=(0,f.ft)(T,w),this.innerSubscription!==w&&R.add(this.innerSubscription)}_complete(){const{innerSubscription:T}=this;(!T||T.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(T){this.destination.next(T)}}},15257:(v,b,i)=>{"use strict";i.d(b,{q:()=>u});var r=i(77393),a=i(7108),f=i(59193);function u(g){return T=>0===g?(0,f.c)():T.lift(new e(g))}class e{constructor(T){if(this.total=T,this.total<0)throw new a.W}call(T,M){return M.subscribe(new p(T,this.total))}}class p extends r.L{constructor(T,M){super(T),this.total=M,this.count=0}_next(T){const M=this.total,w=++this.count;w<=M&&(this.destination.next(T),w===M&&(this.destination.complete(),this.unsubscribe()))}}},548:(v,b,i)=>{"use strict";i.d(b,{h:()=>u});var r=i(77393),a=i(7108),f=i(59193);function u(g){return function(M){return 0===g?(0,f.c)():M.lift(new e(g))}}class e{constructor(T){if(this.total=T,this.total<0)throw new a.W}call(T,M){return M.subscribe(new p(T,this.total))}}class p extends r.L{constructor(T,M){super(T),this.total=M,this.ring=new Array,this.count=0}_next(T){const M=this.ring,w=this.total,R=this.count++;M.length<w?M.push(T):M[R%w]=T}_complete(){const T=this.destination;let M=this.count;if(M>0){const w=this.count>=this.total?this.total:this.count,R=this.ring;for(let U=0;U<w;U++){const W=M++%w;T.next(R[W])}}T.complete()}}},46782:(v,b,i)=>{"use strict";i.d(b,{R:()=>a});var r=i(85345);function a(e){return p=>p.lift(new f(e))}class f{constructor(p){this.notifier=p}call(p,g){const T=new u(p),M=(0,r.ft)(this.notifier,new r.IY(T));return M&&!T.seenValue?(T.add(M),g.subscribe(T)):T}}class u extends r.Ds{constructor(p){super(p),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},68307:(v,b,i)=>{"use strict";i.d(b,{b:()=>u});var r=i(77393),a=i(98640),f=i(69105);function u(g,T,M){return function(R){return R.lift(new e(g,T,M))}}class e{constructor(T,M,w){this.nextOrObserver=T,this.error=M,this.complete=w}call(T,M){return M.subscribe(new p(T,this.nextOrObserver,this.error,this.complete))}}class p extends r.L{constructor(T,M,w,R){super(T),this._tapNext=a.Z,this._tapError=a.Z,this._tapComplete=a.Z,this._tapError=w||a.Z,this._tapComplete=R||a.Z,(0,f.m)(M)?(this._context=this,this._tapNext=M):M&&(this._context=M,this._tapNext=M.next||a.Z,this._tapError=M.error||a.Z,this._tapComplete=M.complete||a.Z)}_next(T){try{this._tapNext.call(this._context,T)}catch(M){return void this.destination.error(M)}this.destination.next(T)}_error(T){try{this._tapError.call(this._context,T)}catch(M){return void this.destination.error(M)}this.destination.error(T)}_complete(){try{this._tapComplete.call(this._context)}catch(T){return void this.destination.error(T)}return this.destination.complete()}}},44635:(v,b,i)=>{"use strict";i.d(b,{T:()=>f});var r=i(13410),a=i(77393);function f(g=p){return T=>T.lift(new u(g))}class u{constructor(T){this.errorFactory=T}call(T,M){return M.subscribe(new e(T,this.errorFactory))}}class e extends a.L{constructor(T,M){super(T),this.errorFactory=M,this.hasValue=!1}_next(T){this.hasValue=!0,this.destination.next(T)}_complete(){if(this.hasValue)return this.destination.complete();{let T;try{T=this.errorFactory()}catch(M){T=M}this.destination.error(T)}}}function p(){return new r.K}},94087:(v,b,i)=>{"use strict";i.d(b,{r:()=>f});var r=i(70882),a=i(13464);function f(u,e){return new r.y(p=>{const g=new a.w;let T=0;return g.add(e.schedule(function(){T!==u.length?(p.next(u[T++]),p.closed||g.add(this.schedule())):p.complete()})),g})}},23989:(v,b,i)=>{"use strict";i.d(b,{o:()=>f});var r=i(13464);class a extends r.w{constructor(e,p){super()}schedule(e,p=0){return this}}class f extends a{constructor(e,p){super(e,p),this.scheduler=e,this.work=p,this.pending=!1}schedule(e,p=0){if(this.closed)return this;this.state=e;const g=this.id,T=this.scheduler;return null!=g&&(this.id=this.recycleAsyncId(T,g,p)),this.pending=!0,this.delay=p,this.id=this.id||this.requestAsyncId(T,this.id,p),this}requestAsyncId(e,p,g=0){return setInterval(e.flush.bind(e,this),g)}recycleAsyncId(e,p,g=0){if(null!==g&&this.delay===g&&!1===this.pending)return p;clearInterval(p)}execute(e,p){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const g=this._execute(e,p);if(g)return g;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,p){let T,g=!1;try{this.work(e)}catch(M){g=!0,T=!!M&&M||new Error(M)}if(g)return this.unsubscribe(),T}_unsubscribe(){const e=this.id,p=this.scheduler,g=p.actions,T=g.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==T&&g.splice(T,1),null!=e&&(this.id=this.recycleAsyncId(p,e,null)),this.delay=null}}},46493:(v,b,i)=>{"use strict";i.d(b,{v:()=>a});let r=(()=>{class f{constructor(e,p=f.now){this.SchedulerAction=e,this.now=p}schedule(e,p=0,g){return new this.SchedulerAction(this,e).schedule(g,p)}}return f.now=()=>Date.now(),f})();class a extends r{constructor(u,e=r.now){super(u,()=>a.delegate&&a.delegate!==this?a.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(u,e=0,p){return a.delegate&&a.delegate!==this?a.delegate.schedule(u,e,p):super.schedule(u,e,p)}flush(u){const{actions:e}=this;if(this.active)return void e.push(u);let p;this.active=!0;do{if(p=u.execute(u.state,u.delay))break}while(u=e.shift());if(this.active=!1,p){for(;u=e.shift();)u.unsubscribe();throw p}}}},33637:(v,b,i)=>{"use strict";i.d(b,{P:()=>u,z:()=>f});var r=i(23989);const f=new(i(46493).v)(r.o),u=f},20377:(v,b,i)=>{"use strict";i.d(b,{hZ:()=>a});const a=function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},16554:(v,b,i)=>{"use strict";i.d(b,{L:()=>r});const r="function"==typeof Symbol&&Symbol.observable||"@@observable"},29181:(v,b,i)=>{"use strict";i.d(b,{b:()=>r});const r="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},7108:(v,b,i)=>{"use strict";i.d(b,{W:()=>a});const a=(()=>{function f(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return f.prototype=Object.create(Error.prototype),f})()},13410:(v,b,i)=>{"use strict";i.d(b,{K:()=>a});const a=(()=>{function f(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return f.prototype=Object.create(Error.prototype),f})()},77971:(v,b,i)=>{"use strict";i.d(b,{N:()=>a});const a=(()=>{function f(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return f.prototype=Object.create(Error.prototype),f})()},54449:(v,b,i)=>{"use strict";function r(a){setTimeout(()=>{throw a},0)}i.d(b,{z:()=>r})},54487:(v,b,i)=>{"use strict";function r(a){return a}i.d(b,{y:()=>r})},59796:(v,b,i)=>{"use strict";i.d(b,{k:()=>r});const r=Array.isArray||(a=>a&&"number"==typeof a.length)},69489:(v,b,i)=>{"use strict";i.d(b,{z:()=>r});const r=a=>a&&"number"==typeof a.length&&"function"!=typeof a},69105:(v,b,i)=>{"use strict";function r(a){return"function"==typeof a}i.d(b,{m:()=>r})},26561:(v,b,i)=>{"use strict";i.d(b,{k:()=>a});var r=i(59796);function a(f){return!(0,r.k)(f)&&f-parseFloat(f)+1>=0}},81555:(v,b,i)=>{"use strict";function r(a){return null!==a&&"object"==typeof a}i.d(b,{K:()=>r})},44072:(v,b,i)=>{"use strict";function r(a){return!!a&&"function"!=typeof a.subscribe&&"function"==typeof a.then}i.d(b,{t:()=>r})},54869:(v,b,i)=>{"use strict";function r(a){return a&&"function"==typeof a.schedule}i.d(b,{K:()=>r})},98640:(v,b,i)=>{"use strict";function r(){}i.d(b,{Z:()=>r})},34022:(v,b,i)=>{"use strict";i.d(b,{U:()=>f,z:()=>a});var r=i(54487);function a(...u){return f(u)}function f(u){return 0===u.length?r.y:1===u.length?u[0]:function(p){return u.reduce((g,T)=>T(g),p)}}},19846:(v,b,i)=>{"use strict";i.d(b,{s:()=>R});var r=i(55015),a=i(54449),u=i(20377),p=i(16554),T=i(69489),M=i(44072),w=i(81555);const R=U=>{if(U&&"function"==typeof U[p.L])return(U=>W=>{const j=U[p.L]();if("function"!=typeof j.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return j.subscribe(W)})(U);if((0,T.z)(U))return(0,r.V)(U);if((0,M.t)(U))return(U=>W=>(U.then(j=>{W.closed||(W.next(j),W.complete())},j=>W.error(j)).then(null,a.z),W))(U);if(U&&"function"==typeof U[u.hZ])return(U=>W=>{const j=U[u.hZ]();for(;;){let q;try{q=j.next()}catch(ue){return W.error(ue),W}if(q.done){W.complete();break}if(W.next(q.value),W.closed)break}return"function"==typeof j.return&&W.add(()=>{j.return&&j.return()}),W})(U);{const j=`You provided ${(0,w.K)(U)?"an invalid object":`'${U}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(j)}}},55015:(v,b,i)=>{"use strict";i.d(b,{V:()=>r});const r=a=>f=>{for(let u=0,e=a.length;u<e&&!f.closed;u++)f.next(a[u]);f.complete()}},53960:(v,b,i)=>{"use strict";i.d(b,{D:()=>e});var r=i(77393);class a extends r.L{constructor(g,T,M){super(),this.parent=g,this.outerValue=T,this.outerIndex=M,this.index=0}_next(g){this.parent.notifyNext(this.outerValue,g,this.outerIndex,this.index++,this)}_error(g){this.parent.notifyError(g,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var f=i(19846),u=i(70882);function e(p,g,T,M,w=new a(p,T,M)){if(!w.closed)return g instanceof u.y?g.subscribe(w):(0,f.s)(g)(w)}},59771:(v,b)=>{"use strict";var i,r,a,f;if("object"==typeof performance&&"function"==typeof performance.now){var u=performance;b.unstable_now=function(){return u.now()}}else{var e=Date,p=e.now();b.unstable_now=function(){return e.now()-p}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var g=null,T=null,M=function(){if(null!==g)try{var Nt=b.unstable_now();g(!0,Nt),g=null}catch(Yt){throw setTimeout(M,0),Yt}};i=function(Nt){null!==g?setTimeout(i,0,Nt):(g=Nt,setTimeout(M,0))},r=function(Nt,Yt){T=setTimeout(Nt,Yt)},a=function(){clearTimeout(T)},b.unstable_shouldYield=function(){return!1},f=b.unstable_forceFrameRate=function(){}}else{var w=window.setTimeout,R=window.clearTimeout;if("undefined"!=typeof console){var U=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof U&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var W=!1,j=null,q=-1,ue=5,re=0;b.unstable_shouldYield=function(){return b.unstable_now()>=re},f=function(){},b.unstable_forceFrameRate=function(Nt){0>Nt||125<Nt?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ue=0<Nt?Math.floor(1e3/Nt):5};var H=new MessageChannel,se=H.port2;H.port1.onmessage=function(){if(null!==j){var Nt=b.unstable_now();re=Nt+ue;try{j(!0,Nt)?se.postMessage(null):(W=!1,j=null)}catch(Yt){throw se.postMessage(null),Yt}}else W=!1},i=function(Nt){j=Nt,W||(W=!0,se.postMessage(null))},r=function(Nt,Yt){q=w(function(){Nt(b.unstable_now())},Yt)},a=function(){R(q),q=-1}}function ae(Nt,Yt){var dn=Nt.length;Nt.push(Yt);e:for(;;){var rn=dn-1>>>1,vt=Nt[rn];if(!(void 0!==vt&&0<_e(vt,Yt)))break e;Nt[rn]=Yt,Nt[dn]=vt,dn=rn}}function ie(Nt){return void 0===(Nt=Nt[0])?null:Nt}function fe(Nt){var Yt=Nt[0];if(void 0!==Yt){var dn=Nt.pop();if(dn!==Yt){Nt[0]=dn;e:for(var rn=0,vt=Nt.length;rn<vt;){var xt=2*(rn+1)-1,Ct=Nt[xt],Gt=xt+1,Fn=Nt[Gt];if(void 0!==Ct&&0>_e(Ct,dn))void 0!==Fn&&0>_e(Fn,Ct)?(Nt[rn]=Fn,Nt[Gt]=dn,rn=Gt):(Nt[rn]=Ct,Nt[xt]=dn,rn=xt);else{if(!(void 0!==Fn&&0>_e(Fn,dn)))break e;Nt[rn]=Fn,Nt[Gt]=dn,rn=Gt}}}return Yt}return null}function _e(Nt,Yt){var dn=Nt.sortIndex-Yt.sortIndex;return 0!==dn?dn:Nt.id-Yt.id}var Ce=[],ce=[],Be=1,Ve=null,Xe=3,He=!1,Pe=!1,Ge=!1;function Oe(Nt){for(var Yt=ie(ce);null!==Yt;){if(null===Yt.callback)fe(ce);else{if(!(Yt.startTime<=Nt))break;fe(ce),Yt.sortIndex=Yt.expirationTime,ae(Ce,Yt)}Yt=ie(ce)}}function Tt(Nt){if(Ge=!1,Oe(Nt),!Pe)if(null!==ie(Ce))Pe=!0,i(We);else{var Yt=ie(ce);null!==Yt&&r(Tt,Yt.startTime-Nt)}}function We(Nt,Yt){Pe=!1,Ge&&(Ge=!1,a()),He=!0;var dn=Xe;try{for(Oe(Yt),Ve=ie(Ce);null!==Ve&&(!(Ve.expirationTime>Yt)||Nt&&!b.unstable_shouldYield());){var rn=Ve.callback;if("function"==typeof rn){Ve.callback=null,Xe=Ve.priorityLevel;var vt=rn(Ve.expirationTime<=Yt);Yt=b.unstable_now(),"function"==typeof vt?Ve.callback=vt:Ve===ie(Ce)&&fe(Ce),Oe(Yt)}else fe(Ce);Ve=ie(Ce)}if(null!==Ve)var xt=!0;else{var Ct=ie(ce);null!==Ct&&r(Tt,Ct.startTime-Yt),xt=!1}return xt}finally{Ve=null,Xe=dn,He=!1}}var Qt=f;b.unstable_IdlePriority=5,b.unstable_ImmediatePriority=1,b.unstable_LowPriority=4,b.unstable_NormalPriority=3,b.unstable_Profiling=null,b.unstable_UserBlockingPriority=2,b.unstable_cancelCallback=function(Nt){Nt.callback=null},b.unstable_continueExecution=function(){Pe||He||(Pe=!0,i(We))},b.unstable_getCurrentPriorityLevel=function(){return Xe},b.unstable_getFirstCallbackNode=function(){return ie(Ce)},b.unstable_next=function(Nt){switch(Xe){case 1:case 2:case 3:var Yt=3;break;default:Yt=Xe}var dn=Xe;Xe=Yt;try{return Nt()}finally{Xe=dn}},b.unstable_pauseExecution=function(){},b.unstable_requestPaint=Qt,b.unstable_runWithPriority=function(Nt,Yt){switch(Nt){case 1:case 2:case 3:case 4:case 5:break;default:Nt=3}var dn=Xe;Xe=Nt;try{return Yt()}finally{Xe=dn}},b.unstable_scheduleCallback=function(Nt,Yt,dn){var rn=b.unstable_now();switch(dn="object"==typeof dn&&null!==dn&&"number"==typeof(dn=dn.delay)&&0<dn?rn+dn:rn,Nt){case 1:var vt=-1;break;case 2:vt=250;break;case 5:vt=1073741823;break;case 4:vt=1e4;break;default:vt=5e3}return Nt={id:Be++,callback:Yt,priorityLevel:Nt,startTime:dn,expirationTime:vt=dn+vt,sortIndex:-1},dn>rn?(Nt.sortIndex=dn,ae(ce,Nt),null===ie(Ce)&&Nt===ie(ce)&&(Ge?a():Ge=!0,r(Tt,dn-rn))):(Nt.sortIndex=vt,ae(Ce,Nt),Pe||He||(Pe=!0,i(We))),Nt},b.unstable_wrapCallback=function(Nt){var Yt=Xe;return function(){var dn=Xe;Xe=Yt;try{return Nt.apply(this,arguments)}finally{Xe=dn}}}},88712:(v,b,i)=>{"use strict";v.exports=i(59771)},4043:v=>{"use strict";class b extends Error{constructor(g){super(b._prepareSuperMessage(g)),Object.defineProperty(this,"name",{value:"NonError",configurable:!0,writable:!0}),Error.captureStackTrace&&Error.captureStackTrace(this,b)}static _prepareSuperMessage(g){try{return JSON.stringify(g)}catch(T){return String(g)}}}const i=[{property:"name",enumerable:!1},{property:"message",enumerable:!1},{property:"stack",enumerable:!1},{property:"code",enumerable:!0}],r=Symbol(".toJSON called"),f=({from:p,seen:g,to_:T,forceEnumerable:M,maxDepth:w,depth:R})=>{const U=T||(Array.isArray(p)?[]:{});if(g.push(p),R>=w)return U;if("function"==typeof p.toJSON&&!0!==p[r])return(p=>{p[r]=!0;const g=p.toJSON();return delete p[r],g})(p);for(const[W,j]of Object.entries(p))if("function"==typeof Buffer&&Buffer.isBuffer(j))U[W]="[object Buffer]";else if("function"!=typeof j){if(!j||"object"!=typeof j){U[W]=j;continue}if(!g.includes(p[W])){R++,U[W]=f({from:p[W],seen:g.slice(),forceEnumerable:M,maxDepth:w,depth:R});continue}U[W]="[Circular]"}for(const{property:W,enumerable:j}of i)"string"==typeof p[W]&&Object.defineProperty(U,W,{value:p[W],enumerable:!!M||j,configurable:!0,writable:!0});return U};v.exports={serializeError:(p,g={})=>{const{maxDepth:T=Number.POSITIVE_INFINITY}=g;return"object"==typeof p&&null!==p?f({from:p,seen:[],forceEnumerable:!0,maxDepth:T,depth:0}):"function"==typeof p?`[Function: ${p.name||"anonymous"}]`:p},deserializeError:(p,g={})=>{const{maxDepth:T=Number.POSITIVE_INFINITY}=g;if(p instanceof Error)return p;if("object"==typeof p&&null!==p&&!Array.isArray(p)){const M=new Error;return f({from:p,seen:[],to_:M,maxDepth:T,depth:0}),M}return new b(p)}}},11144:(v,b,i)=>{"use strict";var r=i(18540),a=i(19568),f=i(81380),u=r("%TypeError%"),e=r("%WeakMap%",!0),p=r("%Map%",!0),g=a("WeakMap.prototype.get",!0),T=a("WeakMap.prototype.set",!0),M=a("WeakMap.prototype.has",!0),w=a("Map.prototype.get",!0),R=a("Map.prototype.set",!0),U=a("Map.prototype.has",!0),W=function(re,H){for(var ae,se=re;null!==(ae=se.next);se=ae)if(ae.key===H)return se.next=ae.next,ae.next=re.next,re.next=ae,ae};v.exports=function(){var H,se,ae,ie={assert:function(fe){if(!ie.has(fe))throw new u("Side channel does not contain "+f(fe))},get:function(fe){if(e&&fe&&("object"==typeof fe||"function"==typeof fe)){if(H)return g(H,fe)}else if(p){if(se)return w(se,fe)}else if(ae)return function(re,H){var se=W(re,H);return se&&se.value}(ae,fe)},has:function(fe){if(e&&fe&&("object"==typeof fe||"function"==typeof fe)){if(H)return M(H,fe)}else if(p){if(se)return U(se,fe)}else if(ae)return function(re,H){return!!W(re,H)}(ae,fe);return!1},set:function(fe,_e){e&&fe&&("object"==typeof fe||"function"==typeof fe)?(H||(H=new e),T(H,fe,_e)):p?(se||(se=new p),R(se,fe,_e)):(ae||(ae={key:{},next:null}),function(re,H,se){var ae=W(re,H);ae?ae.value=se:re.next={key:H,next:re.next,value:se}}(ae,fe,_e))}};return ie}},85770:(v,b,i)=>{"use strict";i.d(b,{M:()=>Lr,t:()=>ti}),i(21581),i(8868),i(85443),i(35704),i(66837),i(13744),i(63438),i(22603);var Gt,M=i(6123),w=i.n(M),R=i(86906),U=i.n(R),W=i(66941),j=i.n(W),q=[],H="ResizeObserver loop completed with undelivered notifications.",ae=(()=>{return(Ut=ae||(ae={})).BORDER_BOX="border-box",Ut.CONTENT_BOX="content-box",Ut.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box",ae;var Ut})(),ie=function(Ut){return Object.freeze(Ut)},fe=function Ut(Dn,Et){this.inlineSize=Dn,this.blockSize=Et,ie(this)},_e=function(){function Ut(Dn,Et,$t,_t){return this.x=Dn,this.y=Et,this.width=$t,this.height=_t,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,ie(this)}return Ut.prototype.toJSON=function(){var Dn=this;return{x:Dn.x,y:Dn.y,top:Dn.top,right:Dn.right,bottom:Dn.bottom,left:Dn.left,width:Dn.width,height:Dn.height}},Ut.fromRect=function(Dn){return new Ut(Dn.x,Dn.y,Dn.width,Dn.height)},Ut}(),Ce=function(Ut){return Ut instanceof SVGElement&&"getBBox"in Ut},ce=function(Ut){if(Ce(Ut)){var Dn=Ut.getBBox();return!Dn.width&&!Dn.height}return!(Ut.offsetWidth||Ut.offsetHeight||Ut.getClientRects().length)},Be=function(Ut){var Dn;if(Ut instanceof Element)return!0;var Et=null===(Dn=null==Ut?void 0:Ut.ownerDocument)||void 0===Dn?void 0:Dn.defaultView;return!!(Et&&Ut instanceof Et.Element)},Xe="undefined"!=typeof window?window:{},He=new WeakMap,Pe=/auto|scroll/,Ge=/^tb|vertical/,Oe=/msie|trident/i.test(Xe.navigator&&Xe.navigator.userAgent),Tt=function(Ut){return parseFloat(Ut||"0")},We=function(Ut,Dn,Et){return void 0===Ut&&(Ut=0),void 0===Dn&&(Dn=0),void 0===Et&&(Et=!1),new fe((Et?Dn:Ut)||0,(Et?Ut:Dn)||0)},Qt=ie({devicePixelContentBoxSize:We(),borderBoxSize:We(),contentBoxSize:We(),contentRect:new _e(0,0,0,0)}),Nt=function(Ut,Dn){if(void 0===Dn&&(Dn=!1),He.has(Ut)&&!Dn)return He.get(Ut);if(ce(Ut))return He.set(Ut,Qt),Qt;var Et=getComputedStyle(Ut),$t=Ce(Ut)&&Ut.ownerSVGElement&&Ut.getBBox(),_t=!Oe&&"border-box"===Et.boxSizing,yt=Ge.test(Et.writingMode||""),Vt=!$t&&Pe.test(Et.overflowY||""),yn=!$t&&Pe.test(Et.overflowX||""),Cr=$t?0:Tt(Et.paddingTop),xi=$t?0:Tt(Et.paddingRight),yi=$t?0:Tt(Et.paddingBottom),Uo=$t?0:Tt(Et.paddingLeft),Qo=$t?0:Tt(Et.borderTopWidth),lo=$t?0:Tt(Et.borderRightWidth),Ri=$t?0:Tt(Et.borderBottomWidth),Xo=Uo+xi,ir=Cr+yi,si=($t?0:Tt(Et.borderLeftWidth))+lo,kn=Qo+Ri,nr=yn?Ut.offsetHeight-kn-Ut.clientHeight:0,jr=Vt?Ut.offsetWidth-si-Ut.clientWidth:0,ao=_t?Xo+si:0,$i=_t?ir+kn:0,Eo=$t?$t.width:Tt(Et.width)-ao-jr,mo=$t?$t.height:Tt(Et.height)-$i-nr,Go=Eo+Xo+jr+si,ua=mo+ir+nr+kn,or=ie({devicePixelContentBoxSize:We(Math.round(Eo*devicePixelRatio),Math.round(mo*devicePixelRatio),yt),borderBoxSize:We(Go,ua,yt),contentBoxSize:We(Eo,mo,yt),contentRect:new _e(Uo,Cr,Eo,mo)});return He.set(Ut,or),or},Yt=function(Ut,Dn,Et){var $t=Nt(Ut,Et),_t=$t.borderBoxSize,yt=$t.contentBoxSize,Vt=$t.devicePixelContentBoxSize;switch(Dn){case ae.DEVICE_PIXEL_CONTENT_BOX:return Vt;case ae.BORDER_BOX:return _t;default:return yt}},dn=function Ut(Dn){var Et=Nt(Dn);this.target=Dn,this.contentRect=Et.contentRect,this.borderBoxSize=ie([Et.borderBoxSize]),this.contentBoxSize=ie([Et.contentBoxSize]),this.devicePixelContentBoxSize=ie([Et.devicePixelContentBoxSize])},rn=function(Ut){if(ce(Ut))return 1/0;for(var Dn=0,Et=Ut.parentNode;Et;)Dn+=1,Et=Et.parentNode;return Dn},vt=function(){var Ut=1/0,Dn=[];q.forEach(function(Vt){if(0!==Vt.activeTargets.length){var yn=[];Vt.activeTargets.forEach(function(xi){var yi=new dn(xi.target),Uo=rn(xi.target);yn.push(yi),xi.lastReportedSize=Yt(xi.target,xi.observedBox),Uo<Ut&&(Ut=Uo)}),Dn.push(function(){Vt.callback.call(Vt.observer,yn,Vt.observer)}),Vt.activeTargets.splice(0,Vt.activeTargets.length)}});for(var Et=0,$t=Dn;Et<$t.length;Et++)(0,$t[Et])();return Ut},xt=function(Ut){q.forEach(function(Et){Et.activeTargets.splice(0,Et.activeTargets.length),Et.skippedTargets.splice(0,Et.skippedTargets.length),Et.observationTargets.forEach(function(_t){_t.isActive()&&(rn(_t.target)>Ut?Et.activeTargets.push(_t):Et.skippedTargets.push(_t))})})},Fn=[],hr=0,Hn={attributes:!0,characterData:!0,childList:!0,subtree:!0},er=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],_r=function(Ut){return void 0===Ut&&(Ut=0),Date.now()+Ut},ei=!1,fi=new(function(){function Ut(){var Dn=this;this.stopped=!0,this.listener=function(){return Dn.schedule()}}return Ut.prototype.run=function(Dn){var Et=this;if(void 0===Dn&&(Dn=250),!ei){ei=!0;var $t=_r(Dn);!function(Ut){!function(Ut){if(!Gt){var Dn=0,Et=document.createTextNode("");new MutationObserver(function(){return Fn.splice(0).forEach(function(Ut){return Ut()})}).observe(Et,{characterData:!0}),Gt=function(){Et.textContent="".concat(Dn?Dn--:Dn++)}}Fn.push(Ut),Gt()}(function(){requestAnimationFrame(Ut)})}(function(){var _t=!1;try{_t=function(){var Ut=0;for(xt(Ut);q.some(function(Ut){return Ut.activeTargets.length>0});)Ut=vt(),xt(Ut);return q.some(function(Ut){return Ut.skippedTargets.length>0})&&function(){var Ut;"function"==typeof ErrorEvent?Ut=new ErrorEvent("error",{message:H}):((Ut=document.createEvent("Event")).initEvent("error",!1,!1),Ut.message=H),window.dispatchEvent(Ut)}(),Ut>0}()}finally{if(ei=!1,Dn=$t-_r(),!hr)return;_t?Et.run(1e3):Dn>0?Et.run(Dn):Et.start()}})}},Ut.prototype.schedule=function(){this.stop(),this.run()},Ut.prototype.observe=function(){var Dn=this,Et=function(){return Dn.observer&&Dn.observer.observe(document.body,Hn)};document.body?Et():Xe.addEventListener("DOMContentLoaded",Et)},Ut.prototype.start=function(){var Dn=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),er.forEach(function(Et){return Xe.addEventListener(Et,Dn.listener,!0)}))},Ut.prototype.stop=function(){var Dn=this;this.stopped||(this.observer&&this.observer.disconnect(),er.forEach(function(Et){return Xe.removeEventListener(Et,Dn.listener,!0)}),this.stopped=!0)},Ut}()),no=function(Ut){!hr&&Ut>0&&fi.start(),!(hr+=Ut)&&fi.stop()},Er=function(){function Ut(Dn,Et){this.target=Dn,this.observedBox=Et||ae.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return Ut.prototype.isActive=function(){var Dn=Yt(this.target,this.observedBox,!0);return function(Ut){return!Ce(Ut)&&!function(Ut){switch(Ut.tagName){case"INPUT":if("image"!==Ut.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(Ut)&&"inline"===getComputedStyle(Ut).display}(this.target)&&(this.lastReportedSize=Dn),this.lastReportedSize.inlineSize!==Dn.inlineSize||this.lastReportedSize.blockSize!==Dn.blockSize},Ut}(),an=function Ut(Dn,Et){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=Dn,this.callback=Et},vn=new WeakMap,Zn=function(Ut,Dn){for(var Et=0;Et<Ut.length;Et+=1)if(Ut[Et].target===Dn)return Et;return-1},Xn=function(){function Ut(){}return Ut.connect=function(Dn,Et){var $t=new an(Dn,Et);vn.set(Dn,$t)},Ut.observe=function(Dn,Et,$t){var _t=vn.get(Dn),yt=0===_t.observationTargets.length;Zn(_t.observationTargets,Et)<0&&(yt&&q.push(_t),_t.observationTargets.push(new Er(Et,$t&&$t.box)),no(1),fi.schedule())},Ut.unobserve=function(Dn,Et){var $t=vn.get(Dn),_t=Zn($t.observationTargets,Et);_t>=0&&(1===$t.observationTargets.length&&q.splice(q.indexOf($t),1),$t.observationTargets.splice(_t,1),no(-1))},Ut.disconnect=function(Dn){var Et=this,$t=vn.get(Dn);$t.observationTargets.slice().forEach(function(_t){return Et.unobserve(Dn,_t.target)}),$t.activeTargets.splice(0,$t.activeTargets.length)},Ut}(),zn=function(){function Ut(Dn){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof Dn)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Xn.connect(this,Dn)}return Ut.prototype.observe=function(Dn,Et){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Be(Dn))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Xn.observe(this,Dn,Et)},Ut.prototype.unobserve=function(Dn){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Be(Dn))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Xn.unobserve(this,Dn)},Ut.prototype.disconnect=function(){Xn.disconnect(this)},Ut.toString=function(){return"function ResizeObserver () { [polyfill code] }"},Ut}(),ri=i(72318),Gi=i.n(ri);function Wn(Ut){return Ut&&Ut.ownerDocument&&Ut.ownerDocument.defaultView?Ut.ownerDocument.defaultView:window}function et(Ut){return Ut&&Ut.ownerDocument?Ut.ownerDocument:document}i(35319),i(69665),i(26954),i(80477),i(66262);var Le=null,Re=null;function Se(Ut){if(null===Le){var Dn=et(Ut);if(void 0===Dn)return Le=0;var Et=Dn.body,$t=Dn.createElement("div");$t.classList.add("simplebar-hide-scrollbar"),Et.appendChild($t);var _t=$t.getBoundingClientRect().right;Et.removeChild($t),Le=_t}return Le}Gi()&&window.addEventListener("resize",function(){Re!==window.devicePixelRatio&&(Re=window.devicePixelRatio,Le=null)});var dt=function(){function Ut(Et,$t){var _t=this;this.onScroll=function(){var yt=Wn(_t.el);_t.scrollXTicking||(yt.requestAnimationFrame(_t.scrollX),_t.scrollXTicking=!0),_t.scrollYTicking||(yt.requestAnimationFrame(_t.scrollY),_t.scrollYTicking=!0)},this.scrollX=function(){_t.axis.x.isOverflowing&&(_t.showScrollbar("x"),_t.positionScrollbar("x")),_t.scrollXTicking=!1},this.scrollY=function(){_t.axis.y.isOverflowing&&(_t.showScrollbar("y"),_t.positionScrollbar("y")),_t.scrollYTicking=!1},this.onMouseEnter=function(){_t.showScrollbar("x"),_t.showScrollbar("y")},this.onMouseMove=function(yt){_t.mouseX=yt.clientX,_t.mouseY=yt.clientY,(_t.axis.x.isOverflowing||_t.axis.x.forceVisible)&&_t.onMouseMoveForAxis("x"),(_t.axis.y.isOverflowing||_t.axis.y.forceVisible)&&_t.onMouseMoveForAxis("y")},this.onMouseLeave=function(){_t.onMouseMove.cancel(),(_t.axis.x.isOverflowing||_t.axis.x.forceVisible)&&_t.onMouseLeaveForAxis("x"),(_t.axis.y.isOverflowing||_t.axis.y.forceVisible)&&_t.onMouseLeaveForAxis("y"),_t.mouseX=-1,_t.mouseY=-1},this.onWindowResize=function(){_t.scrollbarWidth=_t.getScrollbarWidth(),_t.hideNativeScrollbar()},this.hideScrollbars=function(){_t.axis.x.track.rect=_t.axis.x.track.el.getBoundingClientRect(),_t.axis.y.track.rect=_t.axis.y.track.el.getBoundingClientRect(),_t.isWithinBounds(_t.axis.y.track.rect)||(_t.axis.y.scrollbar.el.classList.remove(_t.classNames.visible),_t.axis.y.isVisible=!1),_t.isWithinBounds(_t.axis.x.track.rect)||(_t.axis.x.scrollbar.el.classList.remove(_t.classNames.visible),_t.axis.x.isVisible=!1)},this.onPointerEvent=function(yt){var Vt,yn;_t.axis.x.track.rect=_t.axis.x.track.el.getBoundingClientRect(),_t.axis.y.track.rect=_t.axis.y.track.el.getBoundingClientRect(),(_t.axis.x.isOverflowing||_t.axis.x.forceVisible)&&(Vt=_t.isWithinBounds(_t.axis.x.track.rect)),(_t.axis.y.isOverflowing||_t.axis.y.forceVisible)&&(yn=_t.isWithinBounds(_t.axis.y.track.rect)),(Vt||yn)&&(yt.preventDefault(),yt.stopPropagation(),"mousedown"===yt.type&&(Vt&&(_t.axis.x.scrollbar.rect=_t.axis.x.scrollbar.el.getBoundingClientRect(),_t.isWithinBounds(_t.axis.x.scrollbar.rect)?_t.onDragStart(yt,"x"):_t.onTrackClick(yt,"x")),yn&&(_t.axis.y.scrollbar.rect=_t.axis.y.scrollbar.el.getBoundingClientRect(),_t.isWithinBounds(_t.axis.y.scrollbar.rect)?_t.onDragStart(yt,"y"):_t.onTrackClick(yt,"y"))))},this.drag=function(yt){var yn=_t.axis[_t.draggedAxis].track,Cr=yn.rect[_t.axis[_t.draggedAxis].sizeAttr],xi=_t.axis[_t.draggedAxis].scrollbar,yi=_t.contentWrapperEl[_t.axis[_t.draggedAxis].scrollSizeAttr],Uo=parseInt(_t.elStyles[_t.axis[_t.draggedAxis].sizeAttr],10);yt.preventDefault(),yt.stopPropagation();var Ri=(("y"===_t.draggedAxis?yt.pageY:yt.pageX)-yn.rect[_t.axis[_t.draggedAxis].offsetAttr]-_t.axis[_t.draggedAxis].dragOffset)/(Cr-xi.size)*(yi-Uo);"x"===_t.draggedAxis&&(Ri=_t.isRtl&&Ut.getRtlHelpers().isRtlScrollbarInverted?Ri-(Cr+xi.size):Ri,Ri=_t.isRtl&&Ut.getRtlHelpers().isRtlScrollingInverted?-Ri:Ri),_t.contentWrapperEl[_t.axis[_t.draggedAxis].scrollOffsetAttr]=Ri},this.onEndDrag=function(yt){var Vt=et(_t.el),yn=Wn(_t.el);yt.preventDefault(),yt.stopPropagation(),_t.el.classList.remove(_t.classNames.dragging),Vt.removeEventListener("mousemove",_t.drag,!0),Vt.removeEventListener("mouseup",_t.onEndDrag,!0),_t.removePreventClickId=yn.setTimeout(function(){Vt.removeEventListener("click",_t.preventClick,!0),Vt.removeEventListener("dblclick",_t.preventClick,!0),_t.removePreventClickId=null})},this.preventClick=function(yt){yt.preventDefault(),yt.stopPropagation()},this.el=Et,this.minScrollbarWidth=20,this.options=Object.assign({},Ut.defaultOptions,$t),this.classNames=Object.assign({},Ut.defaultOptions.classNames,this.options.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}}},this.removePreventClickId=null,!Ut.instances.has(this.el)&&(this.recalculate=w()(this.recalculate.bind(this),64),this.onMouseMove=w()(this.onMouseMove.bind(this),64),this.hideScrollbars=U()(this.hideScrollbars.bind(this),this.options.timeout),this.onWindowResize=U()(this.onWindowResize.bind(this),64,{leading:!0}),Ut.getRtlHelpers=j()(Ut.getRtlHelpers),this.init())}Ut.getRtlHelpers=function(){var $t=document.createElement("div");$t.innerHTML='<div class="hs-dummy-scrollbar-size"><div style="height: 200%; width: 200%; margin: 10px 0;"></div></div>';var _t=$t.firstElementChild;document.body.appendChild(_t);var yt=_t.firstElementChild;_t.scrollLeft=0;var Vt=Ut.getOffset(_t),yn=Ut.getOffset(yt);_t.scrollLeft=999;var Cr=Ut.getOffset(yt);return{isRtlScrollingInverted:Vt.left!==yn.left&&yn.left-Cr.left!=0,isRtlScrollbarInverted:Vt.left!==yn.left}},Ut.getOffset=function($t){var _t=$t.getBoundingClientRect(),yt=et($t),Vt=Wn($t);return{top:_t.top+(Vt.pageYOffset||yt.documentElement.scrollTop),left:_t.left+(Vt.pageXOffset||yt.documentElement.scrollLeft)}};var Dn=Ut.prototype;return Dn.init=function(){Ut.instances.set(this.el,this),Gi()&&(this.initDOM(),this.setAccessibilityAttributes(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},Dn.initDOM=function(){var $t=this;if(Array.prototype.filter.call(this.el.children,function(Vt){return Vt.classList.contains($t.classNames.wrapper)}).length)this.wrapperEl=this.el.querySelector("."+this.classNames.wrapper),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector("."+this.classNames.contentWrapper),this.contentEl=this.options.contentNode||this.el.querySelector("."+this.classNames.contentEl),this.offsetEl=this.el.querySelector("."+this.classNames.offset),this.maskEl=this.el.querySelector("."+this.classNames.mask),this.placeholderEl=this.findChild(this.wrapperEl,"."+this.classNames.placeholder),this.heightAutoObserverWrapperEl=this.el.querySelector("."+this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl=this.el.querySelector("."+this.classNames.heightAutoObserverEl),this.axis.x.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.horizontal),this.axis.y.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.vertical);else{for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),this.wrapperEl.classList.add(this.classNames.wrapper),this.contentWrapperEl.classList.add(this.classNames.contentWrapper),this.offsetEl.classList.add(this.classNames.offset),this.maskEl.classList.add(this.classNames.mask),this.contentEl.classList.add(this.classNames.contentEl),this.placeholderEl.classList.add(this.classNames.placeholder),this.heightAutoObserverWrapperEl.classList.add(this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl.classList.add(this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl)}if(!this.axis.x.track.el||!this.axis.y.track.el){var _t=document.createElement("div"),yt=document.createElement("div");_t.classList.add(this.classNames.track),yt.classList.add(this.classNames.scrollbar),_t.appendChild(yt),this.axis.x.track.el=_t.cloneNode(!0),this.axis.x.track.el.classList.add(this.classNames.horizontal),this.axis.y.track.el=_t.cloneNode(!0),this.axis.y.track.el.classList.add(this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}this.axis.x.scrollbar.el=this.axis.x.track.el.querySelector("."+this.classNames.scrollbar),this.axis.y.scrollbar.el=this.axis.y.track.el.querySelector("."+this.classNames.scrollbar),this.options.autoHide||(this.axis.x.scrollbar.el.classList.add(this.classNames.visible),this.axis.y.scrollbar.el.classList.add(this.classNames.visible)),this.el.setAttribute("data-simplebar","init")},Dn.setAccessibilityAttributes=function(){var $t=this.options.ariaLabel||"scrollable content";this.contentWrapperEl.setAttribute("tabindex","0"),this.contentWrapperEl.setAttribute("role","region"),this.contentWrapperEl.setAttribute("aria-label",$t)},Dn.initListeners=function(){var $t=this,_t=Wn(this.el);this.options.autoHide&&this.el.addEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach(function(Cr){$t.el.addEventListener(Cr,$t.onPointerEvent,!0)}),["touchstart","touchend","touchmove"].forEach(function(Cr){$t.el.addEventListener(Cr,$t.onPointerEvent,{capture:!0,passive:!0})}),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl.addEventListener("scroll",this.onScroll),_t.addEventListener("resize",this.onWindowResize);var yt=!1,Vt=null;this.resizeObserver=new(_t.ResizeObserver||zn)(function(){!yt||null!==Vt||(Vt=_t.requestAnimationFrame(function(){$t.recalculate(),Vt=null}))}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),_t.requestAnimationFrame(function(){yt=!0}),this.mutationObserver=new _t.MutationObserver(this.recalculate),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})},Dn.recalculate=function(){var $t=Wn(this.el);this.elStyles=$t.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction;var _t=this.heightAutoObserverEl.offsetHeight<=1,yt=this.heightAutoObserverEl.offsetWidth<=1,Vt=this.contentEl.offsetWidth,yn=this.contentWrapperEl.offsetWidth,Cr=this.elStyles.overflowX,xi=this.elStyles.overflowY;this.contentEl.style.padding=this.elStyles.paddingTop+" "+this.elStyles.paddingRight+" "+this.elStyles.paddingBottom+" "+this.elStyles.paddingLeft,this.wrapperEl.style.margin="-"+this.elStyles.paddingTop+" -"+this.elStyles.paddingRight+" -"+this.elStyles.paddingBottom+" -"+this.elStyles.paddingLeft;var yi=this.contentEl.scrollHeight,Uo=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=_t?"auto":"100%",this.placeholderEl.style.width=yt?Vt+"px":"auto",this.placeholderEl.style.height=yi+"px";var Qo=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=Uo>Vt,this.axis.y.isOverflowing=yi>Qo,this.axis.x.isOverflowing="hidden"!==Cr&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==xi&&this.axis.y.isOverflowing,this.axis.x.forceVisible="x"===this.options.forceVisible||!0===this.options.forceVisible,this.axis.y.forceVisible="y"===this.options.forceVisible||!0===this.options.forceVisible,this.hideNativeScrollbar();var lo=this.axis.x.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&Uo>yn-(this.axis.y.isOverflowing?this.scrollbarWidth:0),this.axis.y.isOverflowing=this.axis.y.isOverflowing&&yi>Qo-lo,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el.style.width=this.axis.x.scrollbar.size+"px",this.axis.y.scrollbar.el.style.height=this.axis.y.scrollbar.size+"px",this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")},Dn.getScrollbarSize=function($t){if(void 0===$t&&($t="y"),!this.axis[$t].isOverflowing)return 0;var Vt,yt=this.axis[$t].track.el[this.axis[$t].offsetSizeAttr];return Vt=Math.max(~~(yt/this.contentEl[this.axis[$t].scrollSizeAttr]*yt),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(Vt=Math.min(Vt,this.options.scrollbarMaxSize)),Vt},Dn.positionScrollbar=function($t){if(void 0===$t&&($t="y"),this.axis[$t].isOverflowing){var _t=this.contentWrapperEl[this.axis[$t].scrollSizeAttr],yt=this.axis[$t].track.el[this.axis[$t].offsetSizeAttr],Vt=parseInt(this.elStyles[this.axis[$t].sizeAttr],10),yn=this.axis[$t].scrollbar,Cr=this.contentWrapperEl[this.axis[$t].scrollOffsetAttr],yi=~~((Cr="x"===$t&&this.isRtl&&Ut.getRtlHelpers().isRtlScrollingInverted?-Cr:Cr)/(_t-Vt)*(yt-yn.size));yi="x"===$t&&this.isRtl&&Ut.getRtlHelpers().isRtlScrollbarInverted?yi+(yt-yn.size):yi,yn.el.style.transform="x"===$t?"translate3d("+yi+"px, 0, 0)":"translate3d(0, "+yi+"px, 0)"}},Dn.toggleTrackVisibility=function($t){void 0===$t&&($t="y");var _t=this.axis[$t].track.el,yt=this.axis[$t].scrollbar.el;this.axis[$t].isOverflowing||this.axis[$t].forceVisible?(_t.style.visibility="visible",this.contentWrapperEl.style[this.axis[$t].overflowAttr]="scroll"):(_t.style.visibility="hidden",this.contentWrapperEl.style[this.axis[$t].overflowAttr]="hidden"),yt.style.display=this.axis[$t].isOverflowing?"block":"none"},Dn.hideNativeScrollbar=function(){this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-"+this.scrollbarWidth+"px":0,this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-"+this.scrollbarWidth+"px":0},Dn.onMouseMoveForAxis=function($t){void 0===$t&&($t="y"),this.axis[$t].track.rect=this.axis[$t].track.el.getBoundingClientRect(),this.axis[$t].scrollbar.rect=this.axis[$t].scrollbar.el.getBoundingClientRect(),this.isWithinBounds(this.axis[$t].scrollbar.rect)?this.axis[$t].scrollbar.el.classList.add(this.classNames.hover):this.axis[$t].scrollbar.el.classList.remove(this.classNames.hover),this.isWithinBounds(this.axis[$t].track.rect)?(this.showScrollbar($t),this.axis[$t].track.el.classList.add(this.classNames.hover)):this.axis[$t].track.el.classList.remove(this.classNames.hover)},Dn.onMouseLeaveForAxis=function($t){void 0===$t&&($t="y"),this.axis[$t].track.el.classList.remove(this.classNames.hover),this.axis[$t].scrollbar.el.classList.remove(this.classNames.hover)},Dn.showScrollbar=function($t){void 0===$t&&($t="y"),this.axis[$t].isVisible||(this.axis[$t].scrollbar.el.classList.add(this.classNames.visible),this.axis[$t].isVisible=!0),this.options.autoHide&&this.hideScrollbars()},Dn.onDragStart=function($t,_t){void 0===_t&&(_t="y");var yt=et(this.el),Vt=Wn(this.el);this.axis[_t].dragOffset=("y"===_t?$t.pageY:$t.pageX)-this.axis[_t].scrollbar.rect[this.axis[_t].offsetAttr],this.draggedAxis=_t,this.el.classList.add(this.classNames.dragging),yt.addEventListener("mousemove",this.drag,!0),yt.addEventListener("mouseup",this.onEndDrag,!0),null===this.removePreventClickId?(yt.addEventListener("click",this.preventClick,!0),yt.addEventListener("dblclick",this.preventClick,!0)):(Vt.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},Dn.onTrackClick=function($t,_t){var yt=this;if(void 0===_t&&(_t="y"),this.options.clickOnTrack){var Vt=Wn(this.el);this.axis[_t].scrollbar.rect=this.axis[_t].scrollbar.el.getBoundingClientRect();var Cr=this.axis[_t].scrollbar.rect[this.axis[_t].offsetAttr],xi=parseInt(this.elStyles[this.axis[_t].sizeAttr],10),yi=this.contentWrapperEl[this.axis[_t].scrollOffsetAttr],Qo=("y"===_t?this.mouseY-Cr:this.mouseX-Cr)<0?-1:1,lo=-1===Qo?yi-xi:yi+xi;!function ko(){var Xo;if(-1===Qo)yi>lo&&(yt.contentWrapperEl.scrollTo(((Xo={})[yt.axis[_t].offsetAttr]=yi-=yt.options.clickOnTrackSpeed,Xo)),Vt.requestAnimationFrame(ko));else if(yi<lo){var ir;yt.contentWrapperEl.scrollTo(((ir={})[yt.axis[_t].offsetAttr]=yi+=yt.options.clickOnTrackSpeed,ir)),Vt.requestAnimationFrame(ko)}}()}},Dn.getContentElement=function(){return this.contentEl},Dn.getScrollElement=function(){return this.contentWrapperEl},Dn.getScrollbarWidth=function(){try{return"none"===getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:Se(this.el)}catch($t){return Se(this.el)}},Dn.removeListeners=function(){var $t=this,_t=Wn(this.el);this.options.autoHide&&this.el.removeEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach(function(yt){$t.el.removeEventListener(yt,$t.onPointerEvent,!0)}),["touchstart","touchend","touchmove"].forEach(function(yt){$t.el.removeEventListener(yt,$t.onPointerEvent,{capture:!0,passive:!0})}),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),_t.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.recalculate.cancel(),this.onMouseMove.cancel(),this.hideScrollbars.cancel(),this.onWindowResize.cancel()},Dn.unMount=function(){this.removeListeners(),Ut.instances.delete(this.el)},Dn.isWithinBounds=function($t){return this.mouseX>=$t.left&&this.mouseX<=$t.left+$t.width&&this.mouseY>=$t.top&&this.mouseY<=$t.top+$t.height},Dn.findChild=function($t,_t){var yt=$t.matches||$t.webkitMatchesSelector||$t.mozMatchesSelector||$t.msMatchesSelector;return Array.prototype.filter.call($t.children,function(Vt){return yt.call(Vt,_t)})[0]},Ut}();dt.defaultOptions={autoHide:!0,forceVisible:!1,clickOnTrack:!0,clickOnTrackSpeed:40,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging"},scrollbarMinSize:25,scrollbarMaxSize:0,timeout:1e3},dt.instances=new WeakMap;const st=dt;var nn=i(89724);const Fe=["*"];let Lr=(()=>{class Ut{constructor(Et){this.elRef=Et}ngOnInit(){}ngAfterViewInit(){this.SimpleBar=new st(this.elRef.nativeElement,this.options||{})}ngOnDestroy(){this.SimpleBar.unMount(),this.SimpleBar=null}}return Ut.\u0275fac=function(Et){return new(Et||Ut)(nn.Y36(nn.SBq))},Ut.\u0275cmp=nn.Xpm({type:Ut,selectors:[["ngx-simplebar"]],hostAttrs:["data-simplebar","init"],inputs:{options:"options"},ngContentSelectors:Fe,decls:13,vars:0,consts:[[1,"simplebar-wrapper"],[1,"simplebar-height-auto-observer-wrapper"],[1,"simplebar-height-auto-observer"],[1,"simplebar-mask"],[1,"simplebar-offset"],[1,"simplebar-content-wrapper"],[1,"simplebar-content"],[1,"simplebar-placeholder"],[1,"simplebar-track","simplebar-horizontal"],[1,"simplebar-scrollbar"],[1,"simplebar-track","simplebar-vertical"]],template:function(Et,$t){1&Et&&(nn.F$t(),nn.TgZ(0,"div",0)(1,"div",1),nn._UZ(2,"div",2),nn.qZA(),nn.TgZ(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6),nn.Hsn(7),nn.qZA()()()(),nn._UZ(8,"div",7),nn.qZA(),nn.TgZ(9,"div",8),nn._UZ(10,"div",9),nn.qZA(),nn.TgZ(11,"div",10),nn._UZ(12,"div",9),nn.qZA())},styles:["[data-simplebar]{position:relative;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;flex-wrap:wrap;-webkit-box-pack:start;justify-content:flex-start;align-content:flex-start;-webkit-box-align:start;align-items:flex-start}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;left:0;top:0;bottom:0;right:0;width:auto!important;height:auto!important;z-index:0}.simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;top:0;left:0;bottom:0;right:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;scrollbar-width:none;-ms-overflow-style:none}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{width:0;height:0}.simplebar-content:after,.simplebar-content:before{content:' ';display:table}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;-webkit-box-flex:inherit;flex-grow:inherit;flex-shrink:0;flex-basis:0}.simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:'';background:#000;border-radius:7px;left:2px;right:2px;opacity:0;-webkit-transition:opacity .2s linear;transition:opacity .2s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;-webkit-transition:opacity linear;transition:opacity linear}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-track.simplebar-vertical .simplebar-scrollbar:before{top:2px;bottom:2px}.simplebar-track.simplebar-horizontal{left:0;height:11px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar:before{height:100%;left:2px;right:2px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{right:auto;left:0;top:2px;height:7px;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{right:auto;left:0}.hs-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll}.simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}","ngx-simplebar{display:block}"],encapsulation:2}),Ut})(),ti=(()=>{class Ut{}return Ut.\u0275fac=function(Et){return new(Et||Ut)},Ut.\u0275mod=nn.oAB({type:Ut}),Ut.\u0275inj=nn.cJS({imports:[[]]}),Ut})()},35311:v=>{v.exports=function(){var b=document.getSelection();if(!b.rangeCount)return function(){};for(var i=document.activeElement,r=[],a=0;a<b.rangeCount;a++)r.push(b.getRangeAt(a));switch(i.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":i.blur();break;default:i=null}return b.removeAllRanges(),function(){"Caret"===b.type&&b.removeAllRanges(),b.rangeCount||r.forEach(function(f){b.addRange(f)}),i&&i.focus()}}},18807:v=>{"use strict";function b(j){return Object.prototype.toString.call(j)}var p=Array.isArray||function(q){return"[object Array]"===Object.prototype.toString.call(q)};function g(j,q){if(j.forEach)return j.forEach(q);for(var ue=0;ue<j.length;ue++)q(j[ue],ue,j)}var T=Object.keys||function(q){var ue=[];for(var re in q)ue.push(re);return ue},M=Object.prototype.hasOwnProperty||function(j,q){return q in j};function w(j){if("object"==typeof j&&null!==j){var q;if(p(j))q=[];else if(function i(j){return"[object Date]"===b(j)}(j))q=new Date(j.getTime?j.getTime():j);else if(function r(j){return"[object RegExp]"===b(j)}(j))q=new RegExp(j);else if(function a(j){return"[object Error]"===b(j)}(j))q={message:j.message};else if(function f(j){return"[object Boolean]"===b(j)}(j)||function u(j){return"[object Number]"===b(j)}(j)||function e(j){return"[object String]"===b(j)}(j))q=Object(j);else if(Object.create&&Object.getPrototypeOf)q=Object.create(Object.getPrototypeOf(j));else if(j.constructor===Object)q={};else{var re=function(){};re.prototype=j.constructor&&j.constructor.prototype||j.__proto__||{},q=new re}return g(T(j),function(H){q[H]=j[H]}),q}return j}function R(j,q,ue){var re=[],H=[],se=!0;return function ae(ie){var fe=ue?w(ie):ie,_e={},Ce=!0,ce={node:fe,node_:ie,path:[].concat(re),parent:H[H.length-1],parents:H,key:re[re.length-1],isRoot:0===re.length,level:re.length,circular:null,update:function(Xe,He){ce.isRoot||(ce.parent.node[ce.key]=Xe),ce.node=Xe,He&&(Ce=!1)},delete:function(Xe){delete ce.parent.node[ce.key],Xe&&(Ce=!1)},remove:function(Xe){p(ce.parent.node)?ce.parent.node.splice(ce.key,1):delete ce.parent.node[ce.key],Xe&&(Ce=!1)},keys:null,before:function(Xe){_e.before=Xe},after:function(Xe){_e.after=Xe},pre:function(Xe){_e.pre=Xe},post:function(Xe){_e.post=Xe},stop:function(){se=!1},block:function(){Ce=!1}};if(!se)return ce;function Be(){if("object"==typeof ce.node&&null!==ce.node){(!ce.keys||ce.node_!==ce.node)&&(ce.keys=T(ce.node)),ce.isLeaf=0===ce.keys.length;for(var Xe=0;Xe<H.length;Xe++)if(H[Xe].node_===ie){ce.circular=H[Xe];break}}else ce.isLeaf=!0,ce.keys=null;ce.notLeaf=!ce.isLeaf,ce.notRoot=!ce.isRoot}Be();var Ve=q.call(ce,ce.node);return void 0!==Ve&&ce.update&&ce.update(Ve),_e.before&&_e.before.call(ce,ce.node),Ce&&("object"==typeof ce.node&&null!==ce.node&&!ce.circular&&(H.push(ce),Be(),g(ce.keys,function(Xe,He){re.push(Xe),_e.pre&&_e.pre.call(ce,ce.node[Xe],Xe);var Pe=ae(ce.node[Xe]);ue&&M.call(ce.node,Xe)&&(ce.node[Xe]=Pe.node),Pe.isLast=He===ce.keys.length-1,Pe.isFirst=0===He,_e.post&&_e.post.call(ce,Pe),re.pop()}),H.pop()),_e.after&&_e.after.call(ce,ce.node)),ce}(j).node}function U(j){this.value=j}function W(j){return new U(j)}U.prototype.get=function(j){for(var q=this.value,ue=0;ue<j.length;ue++){var re=j[ue];if(!q||!M.call(q,re))return;q=q[re]}return q},U.prototype.has=function(j){for(var q=this.value,ue=0;ue<j.length;ue++){var re=j[ue];if(!q||!M.call(q,re))return!1;q=q[re]}return!0},U.prototype.set=function(j,q){for(var ue=this.value,re=0;re<j.length-1;re++){var H=j[re];M.call(ue,H)||(ue[H]={}),ue=ue[H]}return ue[j[re]]=q,q},U.prototype.map=function(j){return R(this.value,j,!0)},U.prototype.forEach=function(j){return this.value=R(this.value,j,!1),this.value},U.prototype.reduce=function(j,q){var ue=1===arguments.length,re=ue?this.value:q;return this.forEach(function(H){(!this.isRoot||!ue)&&(re=j.call(this,re,H))}),re},U.prototype.paths=function(){var j=[];return this.forEach(function(){j.push(this.path)}),j},U.prototype.nodes=function(){var j=[];return this.forEach(function(){j.push(this.node)}),j},U.prototype.clone=function(){var j=[],q=[];return function ue(re){for(var H=0;H<j.length;H++)if(j[H]===re)return q[H];if("object"==typeof re&&null!==re){var se=w(re);return j.push(re),q.push(se),g(T(re),function(ae){se[ae]=ue(re[ae])}),j.pop(),q.pop(),se}return re}(this.value)},g(T(U.prototype),function(j){W[j]=function(q){var ue=[].slice.call(arguments,1),re=new U(q);return re[j].apply(re,ue)}}),v.exports=W},2135:(v,b,i)=>{"use strict";var r=i(90465),a=i(76959),f=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,u=/[\n\r\t]/g,e=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,p=/:\d+$/,g=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,T=/^[a-zA-Z]:/;function M(se){return(se||"").toString().replace(f,"")}var w=[["#","hash"],["?","query"],function(ae,ie){return W(ie.protocol)?ae.replace(/\\/g,"/"):ae},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],R={hash:1,query:1};function U(se){var ae;ae="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var Ce,fe={},_e=typeof(se=se||ae.location||{});if("blob:"===se.protocol)fe=new ue(unescape(se.pathname),{});else if("string"===_e)for(Ce in fe=new ue(se,{}),R)delete fe[Ce];else if("object"===_e){for(Ce in se)Ce in R||(fe[Ce]=se[Ce]);void 0===fe.slashes&&(fe.slashes=e.test(se.href))}return fe}function W(se){return"file:"===se||"ftp:"===se||"http:"===se||"https:"===se||"ws:"===se||"wss:"===se}function j(se,ae){se=(se=M(se)).replace(u,""),ae=ae||{};var Be,ie=g.exec(se),fe=ie[1]?ie[1].toLowerCase():"",_e=!!ie[2],Ce=!!ie[3],ce=0;return _e?Ce?(Be=ie[2]+ie[3]+ie[4],ce=ie[2].length+ie[3].length):(Be=ie[2]+ie[4],ce=ie[2].length):Ce?(Be=ie[3]+ie[4],ce=ie[3].length):Be=ie[4],"file:"===fe?ce>=2&&(Be=Be.slice(2)):W(fe)?Be=ie[4]:fe?_e&&(Be=Be.slice(2)):ce>=2&&W(ae.protocol)&&(Be=ie[4]),{protocol:fe,slashes:_e||W(fe),slashesCount:ce,rest:Be}}function ue(se,ae,ie){if(se=(se=M(se)).replace(u,""),!(this instanceof ue))return new ue(se,ae,ie);var fe,_e,Ce,ce,Be,Ve,Xe=w.slice(),He=typeof ae,Pe=this,Ge=0;for("object"!==He&&"string"!==He&&(ie=ae,ae=null),ie&&"function"!=typeof ie&&(ie=a.parse),fe=!(_e=j(se||"",ae=U(ae))).protocol&&!_e.slashes,Pe.slashes=_e.slashes||fe&&ae.slashes,Pe.protocol=_e.protocol||ae.protocol||"",se=_e.rest,("file:"===_e.protocol&&(2!==_e.slashesCount||T.test(se))||!_e.slashes&&(_e.protocol||_e.slashesCount<2||!W(Pe.protocol)))&&(Xe[3]=[/(.*)/,"pathname"]);Ge<Xe.length;Ge++)"function"!=typeof(ce=Xe[Ge])?(Ve=ce[1],(Ce=ce[0])!=Ce?Pe[Ve]=se:"string"==typeof Ce?~(Be="@"===Ce?se.lastIndexOf(Ce):se.indexOf(Ce))&&("number"==typeof ce[2]?(Pe[Ve]=se.slice(0,Be),se=se.slice(Be+ce[2])):(Pe[Ve]=se.slice(Be),se=se.slice(0,Be))):(Be=Ce.exec(se))&&(Pe[Ve]=Be[1],se=se.slice(0,Be.index)),Pe[Ve]=Pe[Ve]||fe&&ce[3]&&ae[Ve]||"",ce[4]&&(Pe[Ve]=Pe[Ve].toLowerCase())):se=ce(se,Pe);ie&&(Pe.query=ie(Pe.query)),fe&&ae.slashes&&"/"!==Pe.pathname.charAt(0)&&(""!==Pe.pathname||""!==ae.pathname)&&(Pe.pathname=function q(se,ae){if(""===se)return ae;for(var ie=(ae||"/").split("/").slice(0,-1).concat(se.split("/")),fe=ie.length,_e=ie[fe-1],Ce=!1,ce=0;fe--;)"."===ie[fe]?ie.splice(fe,1):".."===ie[fe]?(ie.splice(fe,1),ce++):ce&&(0===fe&&(Ce=!0),ie.splice(fe,1),ce--);return Ce&&ie.unshift(""),("."===_e||".."===_e)&&ie.push(""),ie.join("/")}(Pe.pathname,ae.pathname)),"/"!==Pe.pathname.charAt(0)&&W(Pe.protocol)&&(Pe.pathname="/"+Pe.pathname),r(Pe.port,Pe.protocol)||(Pe.host=Pe.hostname,Pe.port=""),Pe.username=Pe.password="",Pe.auth&&(~(Be=Pe.auth.indexOf(":"))?(Pe.username=Pe.auth.slice(0,Be),Pe.username=encodeURIComponent(decodeURIComponent(Pe.username)),Pe.password=Pe.auth.slice(Be+1),Pe.password=encodeURIComponent(decodeURIComponent(Pe.password))):Pe.username=encodeURIComponent(decodeURIComponent(Pe.auth)),Pe.auth=Pe.password?Pe.username+":"+Pe.password:Pe.username),Pe.origin="file:"!==Pe.protocol&&W(Pe.protocol)&&Pe.host?Pe.protocol+"//"+Pe.host:"null",Pe.href=Pe.toString()}ue.prototype={set:function re(se,ae,ie){var fe=this;switch(se){case"query":"string"==typeof ae&&ae.length&&(ae=(ie||a.parse)(ae)),fe[se]=ae;break;case"port":fe[se]=ae,r(ae,fe.protocol)?ae&&(fe.host=fe.hostname+":"+ae):(fe.host=fe.hostname,fe[se]="");break;case"hostname":fe[se]=ae,fe.port&&(ae+=":"+fe.port),fe.host=ae;break;case"host":fe[se]=ae,p.test(ae)?(ae=ae.split(":"),fe.port=ae.pop(),fe.hostname=ae.join(":")):(fe.hostname=ae,fe.port="");break;case"protocol":fe.protocol=ae.toLowerCase(),fe.slashes=!ie;break;case"pathname":case"hash":if(ae){var _e="pathname"===se?"/":"#";fe[se]=ae.charAt(0)!==_e?_e+ae:ae}else fe[se]=ae;break;case"username":case"password":fe[se]=encodeURIComponent(ae);break;case"auth":var Ce=ae.indexOf(":");~Ce?(fe.username=ae.slice(0,Ce),fe.username=encodeURIComponent(decodeURIComponent(fe.username)),fe.password=ae.slice(Ce+1),fe.password=encodeURIComponent(decodeURIComponent(fe.password))):fe.username=encodeURIComponent(decodeURIComponent(ae))}for(var ce=0;ce<w.length;ce++){var Be=w[ce];Be[4]&&(fe[Be[1]]=fe[Be[1]].toLowerCase())}return fe.auth=fe.password?fe.username+":"+fe.password:fe.username,fe.origin="file:"!==fe.protocol&&W(fe.protocol)&&fe.host?fe.protocol+"//"+fe.host:"null",fe.href=fe.toString(),fe},toString:function H(se){(!se||"function"!=typeof se)&&(se=a.stringify);var ae,ie=this,fe=ie.host,_e=ie.protocol;_e&&":"!==_e.charAt(_e.length-1)&&(_e+=":");var Ce=_e+(ie.protocol&&ie.slashes||W(ie.protocol)?"//":"");return ie.username?(Ce+=ie.username,ie.password&&(Ce+=":"+ie.password),Ce+="@"):ie.password?(Ce+=":"+ie.password,Ce+="@"):"file:"!==ie.protocol&&W(ie.protocol)&&!fe&&"/"!==ie.pathname&&(Ce+="@"),(":"===fe[fe.length-1]||p.test(ie.hostname)&&!ie.port)&&(fe+=":"),Ce+=fe+ie.pathname,(ae="object"==typeof ie.query?se(ie.query):ie.query)&&(Ce+="?"!==ae.charAt(0)?"?"+ae:ae),ie.hash&&(Ce+=ie.hash),Ce}},ue.extractProtocol=j,ue.location=U,ue.trimLeft=M,ue.qs=a,v.exports=ue},38505:(v,b,i)=>{"use strict";var r=i(87504),a=i(43745);function f(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}b.parse=se,b.resolve=function ie(_e,Ce){return se(_e,!1,!0).resolve(Ce)},b.resolveObject=function fe(_e,Ce){return _e?se(_e,!1,!0).resolveObject(Ce):Ce},b.format=function ae(_e){return a.isString(_e)&&(_e=se(_e)),_e instanceof f?_e.format():f.prototype.format.call(_e)},b.Url=f;var u=/^([a-z0-9.+-]+:)/i,e=/:[0-9]*$/,p=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,T=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),M=["'"].concat(T),w=["%","/","?",";","#"].concat(M),R=["/","?","#"],W=/^[+a-z0-9A-Z_-]{0,63}$/,j=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,q={javascript:!0,"javascript:":!0},ue={javascript:!0,"javascript:":!0},re={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},H=i(36284);function se(_e,Ce,ce){if(_e&&a.isObject(_e)&&_e instanceof f)return _e;var Be=new f;return Be.parse(_e,Ce,ce),Be}f.prototype.parse=function(_e,Ce,ce){if(!a.isString(_e))throw new TypeError("Parameter 'url' must be a string, not "+typeof _e);var Be=_e.indexOf("?"),Ve=-1!==Be&&Be<_e.indexOf("#")?"?":"#",Xe=_e.split(Ve);Xe[0]=Xe[0].replace(/\\/g,"/");var Pe=_e=Xe.join(Ve);if(Pe=Pe.trim(),!ce&&1===_e.split("#").length){var Ge=p.exec(Pe);if(Ge)return this.path=Pe,this.href=Pe,this.pathname=Ge[1],Ge[2]?(this.search=Ge[2],this.query=Ce?H.parse(this.search.substr(1)):this.search.substr(1)):Ce&&(this.search="",this.query={}),this}var Oe=u.exec(Pe);if(Oe){var Tt=(Oe=Oe[0]).toLowerCase();this.protocol=Tt,Pe=Pe.substr(Oe.length)}if(ce||Oe||Pe.match(/^\/\/[^@\/]+@[^@\/]+/)){var We="//"===Pe.substr(0,2);We&&(!Oe||!ue[Oe])&&(Pe=Pe.substr(2),this.slashes=!0)}if(!ue[Oe]&&(We||Oe&&!re[Oe])){for(var Qt=-1,Nt=0;Nt<R.length;Nt++)-1!==(Yt=Pe.indexOf(R[Nt]))&&(-1===Qt||Yt<Qt)&&(Qt=Yt);var dn,rn;for(-1!==(rn=-1===Qt?Pe.lastIndexOf("@"):Pe.lastIndexOf("@",Qt))&&(dn=Pe.slice(0,rn),Pe=Pe.slice(rn+1),this.auth=decodeURIComponent(dn)),Qt=-1,Nt=0;Nt<w.length;Nt++){var Yt;-1!==(Yt=Pe.indexOf(w[Nt]))&&(-1===Qt||Yt<Qt)&&(Qt=Yt)}-1===Qt&&(Qt=Pe.length),this.host=Pe.slice(0,Qt),Pe=Pe.slice(Qt),this.parseHost(),this.hostname=this.hostname||"";var vt="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!vt)for(var xt=this.hostname.split(/\./),Ct=(Nt=0,xt.length);Nt<Ct;Nt++){var Gt=xt[Nt];if(Gt&&!Gt.match(W)){for(var Fn="",pr=0,mi=Gt.length;pr<mi;pr++)Gt.charCodeAt(pr)>127?Fn+="x":Fn+=Gt[pr];if(!Fn.match(W)){var ci=xt.slice(0,Nt),hr=xt.slice(Nt+1),Br=Gt.match(j);Br&&(ci.push(Br[1]),hr.unshift(Br[2])),hr.length&&(Pe="/"+hr.join(".")+Pe),this.hostname=ci.join(".");break}}}this.hostname=this.hostname.length>255?"":this.hostname.toLowerCase(),vt||(this.hostname=r.toASCII(this.hostname)),this.host=(this.hostname||"")+(this.port?":"+this.port:""),this.href+=this.host,vt&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==Pe[0]&&(Pe="/"+Pe))}if(!q[Tt])for(Nt=0,Ct=M.length;Nt<Ct;Nt++){var er=M[Nt];if(-1!==Pe.indexOf(er)){var _r=encodeURIComponent(er);_r===er&&(_r=escape(er)),Pe=Pe.split(er).join(_r)}}var ei=Pe.indexOf("#");-1!==ei&&(this.hash=Pe.substr(ei),Pe=Pe.slice(0,ei));var bi=Pe.indexOf("?");return-1!==bi?(this.search=Pe.substr(bi),this.query=Pe.substr(bi+1),Ce&&(this.query=H.parse(this.query)),Pe=Pe.slice(0,bi)):Ce&&(this.search="",this.query={}),Pe&&(this.pathname=Pe),re[Tt]&&this.hostname&&!this.pathname&&(this.pathname="/"),(this.pathname||this.search)&&(this.path=(this.pathname||"")+(this.search||"")),this.href=this.format(),this},f.prototype.format=function(){var _e=this.auth||"";_e&&(_e=(_e=encodeURIComponent(_e)).replace(/%3A/i,":"),_e+="@");var Ce=this.protocol||"",ce=this.pathname||"",Be=this.hash||"",Ve=!1,Xe="";this.host?Ve=_e+this.host:this.hostname&&(Ve=_e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(Ve+=":"+this.port)),this.query&&a.isObject(this.query)&&Object.keys(this.query).length&&(Xe=H.stringify(this.query));var He=this.search||Xe&&"?"+Xe||"";return Ce&&":"!==Ce.substr(-1)&&(Ce+=":"),this.slashes||(!Ce||re[Ce])&&!1!==Ve?(Ve="//"+(Ve||""),ce&&"/"!==ce.charAt(0)&&(ce="/"+ce)):Ve||(Ve=""),Be&&"#"!==Be.charAt(0)&&(Be="#"+Be),He&&"?"!==He.charAt(0)&&(He="?"+He),Ce+Ve+(ce=ce.replace(/[?#]/g,function(Pe){return encodeURIComponent(Pe)}))+(He=He.replace("#","%23"))+Be},f.prototype.resolve=function(_e){return this.resolveObject(se(_e,!1,!0)).format()},f.prototype.resolveObject=function(_e){if(a.isString(_e)){var Ce=new f;Ce.parse(_e,!1,!0),_e=Ce}for(var ce=new f,Be=Object.keys(this),Ve=0;Ve<Be.length;Ve++){var Xe=Be[Ve];ce[Xe]=this[Xe]}if(ce.hash=_e.hash,""===_e.href)return ce.href=ce.format(),ce;if(_e.slashes&&!_e.protocol){for(var He=Object.keys(_e),Pe=0;Pe<He.length;Pe++){var Ge=He[Pe];"protocol"!==Ge&&(ce[Ge]=_e[Ge])}return re[ce.protocol]&&ce.hostname&&!ce.pathname&&(ce.path=ce.pathname="/"),ce.href=ce.format(),ce}if(_e.protocol&&_e.protocol!==ce.protocol){if(!re[_e.protocol]){for(var Oe=Object.keys(_e),Tt=0;Tt<Oe.length;Tt++){var We=Oe[Tt];ce[We]=_e[We]}return ce.href=ce.format(),ce}if(ce.protocol=_e.protocol,_e.host||ue[_e.protocol])ce.pathname=_e.pathname;else{for(var Ct=(_e.pathname||"").split("/");Ct.length&&!(_e.host=Ct.shift()););_e.host||(_e.host=""),_e.hostname||(_e.hostname=""),""!==Ct[0]&&Ct.unshift(""),Ct.length<2&&Ct.unshift(""),ce.pathname=Ct.join("/")}return ce.search=_e.search,ce.query=_e.query,ce.host=_e.host||"",ce.auth=_e.auth,ce.hostname=_e.hostname||_e.host,ce.port=_e.port,(ce.pathname||ce.search)&&(ce.path=(ce.pathname||"")+(ce.search||"")),ce.slashes=ce.slashes||_e.slashes,ce.href=ce.format(),ce}var Yt=ce.pathname&&"/"===ce.pathname.charAt(0),dn=_e.host||_e.pathname&&"/"===_e.pathname.charAt(0),rn=dn||Yt||ce.host&&_e.pathname,vt=rn,xt=ce.pathname&&ce.pathname.split("/")||[],Gt=(Ct=_e.pathname&&_e.pathname.split("/")||[],ce.protocol&&!re[ce.protocol]);if(Gt&&(ce.hostname="",ce.port=null,ce.host&&(""===xt[0]?xt[0]=ce.host:xt.unshift(ce.host)),ce.host="",_e.protocol&&(_e.hostname=null,_e.port=null,_e.host&&(""===Ct[0]?Ct[0]=_e.host:Ct.unshift(_e.host)),_e.host=null),rn=rn&&(""===Ct[0]||""===xt[0])),dn)ce.host=_e.host||""===_e.host?_e.host:ce.host,ce.hostname=_e.hostname||""===_e.hostname?_e.hostname:ce.hostname,ce.search=_e.search,ce.query=_e.query,xt=Ct;else if(Ct.length)xt||(xt=[]),xt.pop(),xt=xt.concat(Ct),ce.search=_e.search,ce.query=_e.query;else if(!a.isNullOrUndefined(_e.search))return Gt&&(ce.hostname=ce.host=xt.shift(),(Fn=!!(ce.host&&ce.host.indexOf("@")>0)&&ce.host.split("@"))&&(ce.auth=Fn.shift(),ce.host=ce.hostname=Fn.shift())),ce.search=_e.search,ce.query=_e.query,(!a.isNull(ce.pathname)||!a.isNull(ce.search))&&(ce.path=(ce.pathname?ce.pathname:"")+(ce.search?ce.search:"")),ce.href=ce.format(),ce;if(!xt.length)return ce.pathname=null,ce.path=ce.search?"/"+ce.search:null,ce.href=ce.format(),ce;for(var pr=xt.slice(-1)[0],mi=(ce.host||_e.host||xt.length>1)&&("."===pr||".."===pr)||""===pr,ci=0,hr=xt.length;hr>=0;hr--)"."===(pr=xt[hr])?xt.splice(hr,1):".."===pr?(xt.splice(hr,1),ci++):ci&&(xt.splice(hr,1),ci--);if(!rn&&!vt)for(;ci--;ci)xt.unshift("..");rn&&""!==xt[0]&&(!xt[0]||"/"!==xt[0].charAt(0))&&xt.unshift(""),mi&&"/"!==xt.join("/").substr(-1)&&xt.push("");var Fn,Br=""===xt[0]||xt[0]&&"/"===xt[0].charAt(0);return Gt&&(ce.hostname=ce.host=Br?"":xt.length?xt.shift():"",(Fn=!!(ce.host&&ce.host.indexOf("@")>0)&&ce.host.split("@"))&&(ce.auth=Fn.shift(),ce.host=ce.hostname=Fn.shift())),(rn=rn||ce.host&&xt.length)&&!Br&&xt.unshift(""),xt.length?ce.pathname=xt.join("/"):(ce.pathname=null,ce.path=null),(!a.isNull(ce.pathname)||!a.isNull(ce.search))&&(ce.path=(ce.pathname?ce.pathname:"")+(ce.search?ce.search:"")),ce.auth=_e.auth||ce.auth,ce.slashes=ce.slashes||_e.slashes,ce.href=ce.format(),ce},f.prototype.parseHost=function(){var _e=this.host,Ce=e.exec(_e);Ce&&(":"!==(Ce=Ce[0])&&(this.port=Ce.substr(1)),_e=_e.substr(0,_e.length-Ce.length)),_e&&(this.hostname=_e)}},43745:v=>{"use strict";v.exports={isString:function(b){return"string"==typeof b},isObject:function(b){return"object"==typeof b&&null!==b},isNull:function(b){return null===b},isNullOrUndefined:function(b){return null==b}}},58734:(v,b,i)=>{"use strict";var r=i(88280),u=function(w){return/<\/+[^>]+>/.test(w)},e=function(w){return/<[^>]+\/>/.test(w)};function g(M){return(w=M,w.split(/(<\/?[^>]+>)/g).filter(function(R){return""!==R.trim()})).map(function(R){return{value:R,type:T(R)}});var w}function T(M){return u(M)?"ClosingTag":!function(w){return/<[^>!]+>/.test(w)}(w=M)||u(w)||e(w)?e(M)?"SelfClosingTag":"Text":"OpeningTag";var w}v.exports=function(M){var w=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},R=w.indentor,U=w.textNodesOnSameLine,W=0,j=[];R=R||"    ";var q=g(M).map(function(ue,re,H){var se=ue.value,ae=ue.type;"ClosingTag"===ae&&W--;var ie=r(R,W),fe=ie+se;if("OpeningTag"===ae&&W++,U){var _e=H[re-1],Ce=H[re-2];"ClosingTag"===ae&&"Text"===_e.type&&"OpeningTag"===Ce.type&&(fe=""+ie+Ce.value+_e.value+se,j.push(re-2,re-1))}return fe});return j.forEach(function(ue){return q[ue]=null}),q.filter(function(ue){return!!ue}).join("\n")}},1653:function(v,b){var i,r,a;r=[],void 0!==(a="function"==typeof(i=function(){"use strict";var f=function(R){return R&&"getComputedStyle"in window&&"smooth"===window.getComputedStyle(R)["scroll-behavior"]};if("undefined"==typeof window||!("document"in window))return{};var u=function(R,U,W){U=U||999,!W&&0!==W&&(W=9);var j,q=function(_e){j=_e},ue=function(){clearTimeout(j),q(0)},re=function(_e){return Math.max(0,R.getTopOf(_e)-W)},H=function(_e,Ce,ce){if(ue(),0===Ce||Ce&&Ce<0||f(R.body))R.toY(_e),ce&&ce();else{var Be=R.getY(),Ve=Math.max(0,_e)-Be,Xe=(new Date).getTime();Ce=Ce||Math.min(Math.abs(Ve),U),function He(){q(setTimeout(function(){var Pe=Math.min(1,((new Date).getTime()-Xe)/Ce),Ge=Math.max(0,Math.floor(Be+Ve*(Pe<.5?2*Pe*Pe:Pe*(4-2*Pe)-1)));R.toY(Ge),Pe<1&&R.getHeight()+Ge<R.body.scrollHeight?He():(setTimeout(ue,99),ce&&ce())},9))}()}},se=function(_e,Ce,ce){H(re(_e),Ce,ce)};return{setup:function(_e,Ce){return(0===_e||_e)&&(U=_e),(0===Ce||Ce)&&(W=Ce),{defaultDuration:U,edgeOffset:W}},to:se,toY:H,intoView:function(_e,Ce,ce){var Be=_e.getBoundingClientRect().height,Ve=R.getTopOf(_e)+Be,Xe=R.getHeight(),He=R.getY(),Pe=He+Xe;re(_e)<He||Be+W>Xe?se(_e,Ce,ce):Ve+W>Pe?H(Ve-Xe+W,Ce,ce):ce&&ce()},center:function(_e,Ce,ce,Be){H(Math.max(0,R.getTopOf(_e)-R.getHeight()/2+(ce||_e.getBoundingClientRect().height/2)),Ce,Be)},stop:ue,moving:function(){return!!j},getY:R.getY,getTopOf:R.getTopOf}},e=document.documentElement,p=function(){return window.scrollY||e.scrollTop},g=u({body:document.scrollingElement||document.body,toY:function(R){window.scrollTo(0,R)},getY:p,getHeight:function(){return window.innerHeight||e.clientHeight},getTopOf:function(R){return R.getBoundingClientRect().top+p()-e.offsetTop}});if(g.createScroller=function(R,U,W){return u({body:R,toY:function(j){R.scrollTop=j},getY:function(){return R.scrollTop},getHeight:function(){return Math.min(R.clientHeight,window.innerHeight||e.clientHeight)},getTopOf:function(j){return j.offsetTop}},U,W)},"addEventListener"in window&&!window.noZensmooth&&!f(document.body)){var T="history"in window&&"pushState"in history,M=T&&"scrollRestoration"in history;M&&(history.scrollRestoration="auto"),window.addEventListener("load",function(){M&&(setTimeout(function(){history.scrollRestoration="manual"},9),window.addEventListener("popstate",function(R){R.state&&"zenscrollY"in R.state&&g.toY(R.state.zenscrollY)},!1)),window.location.hash&&setTimeout(function(){var R=g.setup().edgeOffset;if(R){var U=document.getElementById(window.location.href.split("#")[1]);if(U){var W=Math.max(0,g.getTopOf(U)-R),j=g.getY()-W;0<=j&&j<9&&window.scrollTo(0,W)}}},9)},!1);var w=new RegExp("(^|\\s)noZensmooth(\\s|$)");window.addEventListener("click",function(R){for(var U=R.target;U&&"A"!==U.tagName;)U=U.parentNode;if(!(!U||1!==R.which||R.shiftKey||R.metaKey||R.ctrlKey||R.altKey)){if(M){var W=history.state&&"object"==typeof history.state?history.state:{};W.zenscrollY=g.getY();try{history.replaceState(W,"")}catch(se){}}var j=U.getAttribute("href")||"";if(0===j.indexOf("#")&&!w.test(U.className)){var q=0,ue=document.getElementById(j.substring(1));if("#"!==j){if(!ue)return;q=g.getTopOf(ue)}R.preventDefault();var re=function(){window.location=j},H=g.setup().edgeOffset;H&&(q=Math.max(0,q-H),T&&(re=function(){history.pushState({},"",j)})),g.toY(q,null,re)}}},!1)}return g}())?i.apply(b,r):i)&&(v.exports=a)},66265:(v,b,i)=>{"use strict";i.d(b,{B:()=>e});var r=i(11048),a=i(55860),f=i(44466),u=i(89724);let e=(()=>{class p{}return p.\u0275fac=function(T){return new(T||p)},p.\u0275mod=u.oAB({type:p}),p.\u0275inj=u.cJS({imports:[[r.ez,f.m,a.Bz]]}),p})()},60351:(v,b,i)=>{"use strict";i.d(b,{p:()=>ue});var r=i(64762),a=i(19725),f=i(25917),u=i(19773),e=i(93523),p=i(89724);let g=class{constructor(H){this.http=H,this.url="api/perf_counters"}list(){return this.http.get(this.url)}get(H,se){return this.http.get(`${this.url}/${H}/${se}`).pipe((0,u.zg)(ae=>(0,f.of)(ae.counters)))}};g.\u0275fac=function(H){return new(H||g)(p.LFG(a.eN))},g.\u0275prov=p.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),g=(0,r.gn)([e.o,(0,r.w6)("design:paramtypes",[a.eN])],g);var T=i(11048),M=i(83697),w=i(34501),R=i(66369);const U=["valueTpl"];function W(re,H){if(1&re&&(p._uU(0),p.ALo(1,"dimless")),2&re){const se=H.row;p.AsE(" ",p.lcZ(1,2,se.value)," ",se.unit," ")}}function j(re,H){if(1&re){const se=p.EpF();p.TgZ(0,"cd-table",2),p.NdJ("fetchData",function(ie){return p.CHM(se),p.oxw().getCounters(ie)}),p.YNc(1,W,2,4,"ng-template",null,3,p.W1O),p.qZA()}if(2&re){const se=p.oxw();p.Q6J("data",se.counters)("columns",se.columns)("autoSave",!1)}}function q(re,H){1&re&&(p.TgZ(0,"cd-alert-panel",4),p.SDv(1,5),p.qZA())}let ue=(()=>{class re{constructor(se){this.performanceCounterService=se,this.columns=[],this.counters=[]}ngOnInit(){this.columns=[{name:"Name",prop:"name",flexGrow:1},{name:"Description",prop:"description",flexGrow:1},{name:"Value",prop:"value",cellTemplate:this.valueTpl,flexGrow:1}]}getCounters(se){this.performanceCounterService.get(this.serviceType,this.serviceId).subscribe(ae=>{this.counters=ae},ae=>{404===ae.status?(ae.preventDefault(),this.counters=null):se.error()})}}return re.\u0275fac=function(se){return new(se||re)(p.Y36(g))},re.\u0275cmp=p.Xpm({type:re,selectors:[["cd-table-performance-counter"]],viewQuery:function(se,ae){if(1&se&&p.Gf(U,5),2&se){let ie;p.iGM(ie=p.CRH())&&(ae.valueTpl=ie.first)}},inputs:{serviceType:"serviceType",serviceId:"serviceId"},decls:3,vars:2,consts:function(){let H;return H="Performance counters not available",[["columnMode","flex",3,"data","columns","autoSave","fetchData",4,"ngIf","ngIfElse"],["warning",""],["columnMode","flex",3,"data","columns","autoSave","fetchData"],["valueTpl",""],["type","warning"],H]},template:function(se,ae){if(1&se&&(p.YNc(0,j,3,3,"cd-table",0),p.YNc(1,q,2,0,"ng-template",null,1,p.W1O)),2&se){const ie=p.MAs(2);p.Q6J("ngIf",ae.counters)("ngIfElse",ie)}},directives:[T.O5,M.a,w.G],pipes:[R.n],styles:[""]}),re})()},370:(v,b,i)=>{"use strict";i.d(b,{t:()=>g});var r=i(11048),a=i(71334),f=i(37496),u=i(40267),e=i(44466),p=i(89724);let g=(()=>{class T{}return T.\u0275fac=function(w){return new(w||T)},T.\u0275mod=p.oAB({type:T}),T.\u0275inj=p.cJS({imports:[[r.ez,u.t,e.m,a.Oz,f.b]]}),T})()},20687:(v,b,i)=>{"use strict";i.d(b,{j:()=>p});var r=i(23815),a=i.n(r),f=i(370);class u{constructor(T){if(this.type=T,!this.isValidType())throw new Error("Wrong placement group category type");this.setTypeStates()}isValidType(){return u.VALID_CATEGORIES.includes(this.type)}setTypeStates(){switch(this.type){case u.CATEGORY_CLEAN:this.states=["active","clean"];break;case u.CATEGORY_WORKING:this.states=["activating","backfill_wait","backfilling","creating","deep","degraded","forced_backfill","forced_recovery","peering","peered","recovering","recovery_wait","repair","scrubbing","snaptrim","snaptrim_wait"];break;case u.CATEGORY_WARNING:this.states=["backfill_toofull","backfill_unfound","down","incomplete","inconsistent","recovery_toofull","recovery_unfound","remapped","snaptrim_error","stale","undersized"];break;default:this.states=[]}}}u.CATEGORY_CLEAN="clean",u.CATEGORY_WORKING="working",u.CATEGORY_WARNING="warning",u.CATEGORY_UNKNOWN="unknown",u.VALID_CATEGORIES=[u.CATEGORY_CLEAN,u.CATEGORY_WORKING,u.CATEGORY_WARNING,u.CATEGORY_UNKNOWN];var e=i(89724);let p=(()=>{class g{constructor(){this.categories=this.createCategories()}getAllTypes(){return u.VALID_CATEGORIES}getTypeByStates(M){const w=this.getPgStatesFromText(M);if(0===w.length)return u.CATEGORY_UNKNOWN;const R=a().zipObject(u.VALID_CATEGORIES,u.VALID_CATEGORIES.map(W=>a().intersection(this.categories[W].states,w).length));if(R[u.CATEGORY_WARNING]>0)return u.CATEGORY_WARNING;const U=R[u.CATEGORY_WORKING];return w.length>R[u.CATEGORY_CLEAN]+U?u.CATEGORY_UNKNOWN:U?u.CATEGORY_WORKING:u.CATEGORY_CLEAN}createCategories(){return a().zipObject(u.VALID_CATEGORIES,u.VALID_CATEGORIES.map(M=>new u(M)))}getPgStatesFromText(M){const w=M.replace(/[^a-z_]+/g," ").trim().split(" ");return a().uniq(w)}}return g.\u0275fac=function(M){return new(M||g)},g.\u0275prov=e.Yz7({token:g,factory:g.\u0275fac,providedIn:f.t}),g})()},13140:(v,b,i)=>{"use strict";i.r(b),i.d(b,{AuthModule:()=>or,RoutedAuthModule:()=>Or});var r=i(11048),a=i(1659),f=i(55860),u=i(71334),e=i(37496),p=i(79512),g=i(44466),T=i(23815),M=i.n(T),w=i(35758),R=i(18001),U=i(93614),W=i(95463),j=i(90070),q=i(97161),ue=(()=>((ue||(ue={})).editing="editing",ue))();class re{}var H=i(89724),se=i(25917),ae=i(19773),ie=i(19725);let fe=(()=>{class cr{constructor(Sn){this.http=Sn}list(){return this.http.get("api/role")}delete(Sn){return this.http.delete(`api/role/${Sn}`)}get(Sn){return this.http.get(`api/role/${Sn}`)}create(Sn){return this.http.post("api/role",Sn)}clone(Sn,$n){return this.http.post(`api/role/${Sn}/clone`,{new_name:$n})}update(Sn){return this.http.put(`api/role/${Sn.name}`,Sn)}exists(Sn){return this.list().pipe((0,ae.zg)($n=>{const Jr=$n.some(ro=>ro.name===Sn);return(0,se.of)(Jr)}))}}return cr.\u0275fac=function(Sn){return new(Sn||cr)(H.LFG(ie.eN))},cr.\u0275prov=H.Yz7({token:cr,factory:cr.\u0275fac,providedIn:"root"}),cr})(),_e=(()=>{class cr{constructor(Sn){this.http=Sn}list(){return this.http.get("ui-api/scope")}}return cr.\u0275fac=function(Sn){return new(Sn||cr)(H.LFG(ie.eN))},cr.\u0275prov=H.Yz7({token:cr,factory:cr.\u0275fac,providedIn:"root"}),cr})();var Ce=i(63622),ce=i(41582),Be=i(56310),Ve=i(87925),Xe=i(94276),He=i(82945),Pe=i(83697),Ge=i(30839),Oe=i(10545);const Tt=["headerPermissionCheckboxTpl"],We=["cellScopeCheckboxTpl"],Qt=["cellPermissionCheckboxTpl"];function Nt(cr,pi){1&cr&&(H.TgZ(0,"span",25),H.SDv(1,26),H.qZA())}function Yt(cr,pi){1&cr&&(H.TgZ(0,"span",25),H.SDv(1,27),H.qZA())}const dn=function(cr){return{required:cr}};function rn(cr,pi){if(1&cr){const Sn=H.EpF();H.TgZ(0,"div",4)(1,"form",5,6)(3,"div",7)(4,"div",8),H.SDv(5,9),H.ALo(6,"titlecase"),H.ALo(7,"upperFirst"),H.qZA(),H.TgZ(8,"div",10)(9,"div",11)(10,"label",12),H.SDv(11,13),H.qZA(),H.TgZ(12,"div",14),H._UZ(13,"input",15),H.YNc(14,Nt,2,0,"span",16),H.YNc(15,Yt,2,0,"span",16),H.qZA()(),H.TgZ(16,"div",11)(17,"label",17),H.SDv(18,18),H.qZA(),H.TgZ(19,"div",14),H._UZ(20,"input",19),H.qZA()(),H.TgZ(21,"div",11)(22,"label",20),H.SDv(23,21),H.qZA(),H.TgZ(24,"div",14),H._UZ(25,"cd-table",22),H.qZA()()(),H.TgZ(26,"div",23)(27,"cd-form-button-panel",24),H.NdJ("submitActionEvent",function(){return H.CHM(Sn),H.oxw().submit()}),H.ALo(28,"titlecase"),H.ALo(29,"upperFirst"),H.qZA()()()()()}if(2&cr){const Sn=H.MAs(2),$n=H.oxw();H.xp6(1),H.Q6J("formGroup",$n.roleForm),H.xp6(6),H.pQV(H.lcZ(6,15,$n.action))(H.lcZ(7,17,$n.resource)),H.QtT(5),H.xp6(3),H.Q6J("ngClass",H.VKq(23,dn,$n.mode!==$n.roleFormMode.editing)),H.xp6(4),H.Q6J("ngIf",$n.roleForm.showError("name",Sn,"required")),H.xp6(1),H.Q6J("ngIf",$n.roleForm.showError("name",Sn,"notUnique")),H.xp6(10),H.Q6J("data",$n.scopes_permissions)("columns",$n.columns)("toolHeader",!1)("autoReload",!1)("autoSave",!1)("footer",!1)("limit",0),H.xp6(2),H.Q6J("form",$n.roleForm)("submitText",H.lcZ(28,19,$n.action)+" "+H.lcZ(29,21,$n.resource))}}function vt(cr,pi){if(1&cr){const Sn=H.EpF();H.TgZ(0,"div",28)(1,"input",29),H.NdJ("change",function(Jr){const ro=H.CHM(Sn),go=ro.row,Ro=ro.column;return H.oxw().onClickCellCheckbox(go.scope,Ro.prop,Jr)}),H.qZA(),H.TgZ(2,"label",30),H._uU(3),H.qZA()()}if(2&cr){const Sn=pi.row,$n=pi.value,Jr=H.oxw();H.xp6(1),H.MGl("id","scope_",Sn.scope,""),H.Q6J("checked",Jr.isRowChecked(Sn.scope)),H.xp6(1),H.MGl("for","scope_",Sn.scope,""),H.xp6(1),H.Oqu($n)}}function xt(cr,pi){if(1&cr){const Sn=H.EpF();H.TgZ(0,"div",28)(1,"input",31),H.NdJ("change",function(Jr){const ro=H.CHM(Sn),go=ro.row,Ro=ro.column;return H.oxw().onClickCellCheckbox(go.scope,Ro.prop,Jr)}),H.qZA(),H._UZ(2,"label",32),H.qZA()}if(2&cr){const Sn=pi.column,$n=pi.row,Jr=pi.value;H.xp6(1),H.Q6J("checked",Jr)("id",$n.scope+"-"+Sn.prop),H.xp6(1),H.Q6J("for",$n.scope+"-"+Sn.prop)}}function Ct(cr,pi){if(1&cr){const Sn=H.EpF();H.TgZ(0,"div",28)(1,"input",29),H.NdJ("change",function(Jr){const go=H.CHM(Sn).column;return H.oxw().onClickHeaderCheckbox(go.prop,Jr)}),H.qZA(),H.TgZ(2,"label",33),H._uU(3),H.qZA()()}if(2&cr){const Sn=pi.column,$n=H.oxw();H.xp6(1),H.MGl("id","header_",Sn.prop,""),H.Q6J("checked",$n.isHeaderChecked(Sn.prop)),H.xp6(1),H.MGl("for","header_",Sn.prop,""),H.xp6(1),H.Oqu(Sn.name)}}let Gt=(()=>{class cr extends U.E{constructor(Sn,$n,Jr,ro,go,Ro){super(),this.route=Sn,this.router=$n,this.roleService=Jr,this.scopeService=ro,this.notificationService=go,this.actionLabels=Ro,this.scopes=[],this.scopes_permissions=[],this.roleFormMode=ue,this.resource="role",this.createForm(),this.listenToChanges()}createForm(){this.roleForm=new W.d({name:new a.NI("",{validators:[a.kI.required],asyncValidators:[j.h.unique(this.roleService.exists,this.roleService)]}),description:new a.NI(""),scopes_permissions:new a.NI({})})}ngOnInit(){this.columns=[{prop:"scope",name:"All",flexGrow:2,cellTemplate:this.cellScopeCheckboxTpl,headerTemplate:this.headerPermissionCheckboxTpl},{prop:"read",name:"Read",flexGrow:1,cellClass:"text-center",cellTemplate:this.cellPermissionCheckboxTpl,headerTemplate:this.headerPermissionCheckboxTpl},{prop:"create",name:"Create",flexGrow:1,cellClass:"text-center",cellTemplate:this.cellPermissionCheckboxTpl,headerTemplate:this.headerPermissionCheckboxTpl},{prop:"update",name:"Update",flexGrow:1,cellClass:"text-center",cellTemplate:this.cellPermissionCheckboxTpl,headerTemplate:this.headerPermissionCheckboxTpl},{prop:"delete",name:"Delete",flexGrow:1,cellClass:"text-center",cellTemplate:this.cellPermissionCheckboxTpl,headerTemplate:this.headerPermissionCheckboxTpl}],this.router.url.startsWith("/user-management/roles/edit")?(this.mode=this.roleFormMode.editing,this.action=this.actionLabels.EDIT):this.action=this.actionLabels.CREATE,this.mode===this.roleFormMode.editing?this.initEdit():this.initCreate()}initCreate(){this.scopeService.list().subscribe(Sn=>{this.scopes=Sn,this.roleForm.get("scopes_permissions").setValue({}),this.loadingReady()})}initEdit(){this.roleForm.get("name").disable(),this.route.params.subscribe(Sn=>{const $n=[];$n.push(this.scopeService.list()),$n.push(this.roleService.get(Sn.name)),(0,w.D)($n).subscribe(Jr=>{this.scopes=Jr[0],["name","description","scopes_permissions"].forEach(ro=>this.roleForm.get(ro).setValue(Jr[1][ro])),this.loadingReady()})})}listenToChanges(){this.roleForm.get("scopes_permissions").valueChanges.subscribe(Sn=>{const $n=[];M().each(this.scopes,Jr=>{const ro={read:!1,create:!1,update:!1,delete:!1};ro.scope=Jr,Jr in Sn&&M().each(Sn[Jr],go=>{ro[go]=!0}),$n.push(ro)}),this.scopes_permissions=$n})}isRowChecked(Sn){const $n=M().find(this.scopes_permissions,Jr=>Jr.scope===Sn);return!M().isUndefined($n)&&$n.read&&$n.create&&$n.update&&$n.delete}isHeaderChecked(Sn){let $n=[Sn];return"scope"===Sn&&($n=["read","create","update","delete"]),$n.every(Jr=>this.scopes_permissions.every(ro=>ro[Jr]))}onClickCellCheckbox(Sn,$n,Jr=null){const ro=M().cloneDeep(this.roleForm.getValue("scopes_permissions"));let go=[$n];"scope"===$n&&(go=["read","create","update","delete"]),Sn in ro||(ro[Sn]=[]),Jr&&Jr.target.checked||!M().isEqual(go.sort(),M().intersection(ro[Sn],go).sort())?ro[Sn]=M().union(ro[Sn],go):(ro[Sn]=M().difference(ro[Sn],go),M().isEmpty(ro[Sn])&&M().unset(ro,Sn)),this.roleForm.get("scopes_permissions").setValue(ro)}onClickHeaderCheckbox(Sn,$n){const Jr=M().cloneDeep(this.roleForm.getValue("scopes_permissions"));let ro=[Sn];"scope"===Sn&&(ro=["read","create","update","delete"]),M().each(ro,go=>{M().each(this.scopes,Ro=>{$n.target.checked?Jr[Ro]=M().union(Jr[Ro],[go]):(Jr[Ro]=M().difference(Jr[Ro],[go]),M().isEmpty(Jr[Ro])&&M().unset(Jr,Ro))})}),this.roleForm.get("scopes_permissions").setValue(Jr)}getRequest(){const Sn=new re;return["name","description","scopes_permissions"].forEach($n=>Sn[$n]=this.roleForm.get($n).value),Sn}createAction(){const Sn=this.getRequest();this.roleService.create(Sn).subscribe(()=>{this.notificationService.show(R.k.success,"Created role '" + Sn.name + "'"),this.router.navigate(["/user-management/roles"])},()=>{this.roleForm.setErrors({cdSubmitButton:!0})})}editAction(){const Sn=this.getRequest();this.roleService.update(Sn).subscribe(()=>{this.notificationService.show(R.k.success,"Updated role '" + Sn.name + "'"),this.router.navigate(["/user-management/roles"])},()=>{this.roleForm.setErrors({cdSubmitButton:!0})})}submit(){this.mode===this.roleFormMode.editing?this.editAction():this.createAction()}}return cr.\u0275fac=function(Sn){return new(Sn||cr)(H.Y36(f.gz),H.Y36(f.F0),H.Y36(fe),H.Y36(_e),H.Y36(q.g),H.Y36(p.p4))},cr.\u0275cmp=H.Xpm({type:cr,selectors:[["cd-role-form"]],viewQuery:function(Sn,$n){if(1&Sn&&(H.Gf(Tt,7),H.Gf(We,7),H.Gf(Qt,7)),2&Sn){let Jr;H.iGM(Jr=H.CRH())&&($n.headerPermissionCheckboxTpl=Jr.first),H.iGM(Jr=H.CRH())&&($n.cellScopeCheckboxTpl=Jr.first),H.iGM(Jr=H.CRH())&&($n.cellPermissionCheckboxTpl=Jr.first)}},features:[H.qOj],decls:7,vars:1,consts:function(){let pi,Sn,$n,Jr,ro,go,Ro,js;return pi="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",Sn="Name",$n="Name...",Jr="Description",ro="Description...",go="Permissions",Ro="This field is required.",js="The chosen name is already in use.",[["class","cd-col-form",4,"cdFormLoading"],["cellScopeCheckboxTpl",""],["cellPermissionCheckboxTpl",""],["headerPermissionCheckboxTpl",""],[1,"cd-col-form"],["name","roleForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"card"],[1,"card-header"],pi,[1,"card-body"],[1,"form-group","row"],["for","name",1,"cd-col-form-label",3,"ngClass"],Sn,[1,"cd-col-form-input"],["type","text","placeholder",$n,"id","name","name","name","formControlName","name","autofocus","",1,"form-control"],["class","invalid-feedback",4,"ngIf"],["for","description",1,"cd-col-form-label"],Jr,["type","text","placeholder",ro,"id","description","name","description","formControlName","description",1,"form-control"],[1,"cd-col-form-label"],go,["columnMode","flex",3,"data","columns","toolHeader","autoReload","autoSave","footer","limit"],[1,"card-footer"],["wrappingClass","text-right",3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],Ro,js,[1,"custom-control","custom-checkbox"],["type","checkbox",1,"custom-control-input",3,"id","checked","change"],[1,"datatable-permissions-scope-cell-label","custom-control-label",3,"for"],["type","checkbox",1,"custom-control-input",3,"checked","id","change"],[1,"custom-control-label",3,"for"],[1,"datatable-permissions-header-cell-label","custom-control-label",3,"for"]]},template:function(Sn,$n){1&Sn&&(H.YNc(0,rn,30,25,"div",0),H.YNc(1,vt,4,4,"ng-template",null,1,H.W1O),H.YNc(3,xt,3,3,"ng-template",null,2,H.W1O),H.YNc(5,Ct,4,4,"ng-template",null,3,H.W1O)),2&Sn&&H.Q6J("cdFormLoading",$n.loading)},directives:[Ce.y,a._Y,a.JL,a.sg,ce.V,Be.P,r.mk,Ve.o,a.Fj,Xe.b,a.JJ,a.u,He.U,r.O5,Pe.a,Ge.p],pipes:[r.rS,Oe.m],styles:[".datatable-permissions-header-cell-label[_ngcontent-%COMP%], .datatable-permissions-scope-cell-label[_ngcontent-%COMP%]{font-weight:700}"]}),cr})();var Fn=i(68136),pr=i(30982),mi=i(65683),ci=i(99466),hr=i(65862),Br=i(68774),Ur=i(41039),Hn=i(51847),er=i(47640),_r=i(63285);const ei=function(){return{exact:!0}};let bi=(()=>{class cr{constructor(Sn){this.router=Sn}}return cr.\u0275fac=function(Sn){return new(Sn||cr)(H.Y36(f.F0))},cr.\u0275cmp=H.Xpm({type:cr,selectors:[["cd-user-tabs"]],decls:7,vars:4,consts:function(){let pi,Sn;return pi="Users",Sn="Roles",[[1,"nav","nav-tabs"],[1,"nav-item"],["routerLink","/user-management/users","routerLinkActive","active","ariaCurrentWhenActive","page",1,"nav-link",3,"routerLinkActiveOptions"],pi,["routerLink","/user-management/roles","routerLinkActive","active","ariaCurrentWhenActive","page",1,"nav-link",3,"routerLinkActiveOptions"],Sn]},template:function(Sn,$n){1&Sn&&(H.TgZ(0,"ul",0)(1,"li",1)(2,"a",2),H.SDv(3,3),H.qZA()(),H.TgZ(4,"li",1)(5,"a",4),H.SDv(6,5),H.qZA()()()),2&Sn&&(H.xp6(2),H.Q6J("routerLinkActiveOptions",H.DdM(2,ei)),H.xp6(3),H.Q6J("routerLinkActiveOptions",H.DdM(3,ei)))},directives:[f.yS,f.Od],styles:[""]}),cr})();var fi=i(94928);function no(cr,pi){if(1&cr&&(H.ynx(0),H._UZ(1,"cd-table",1),H.BQk()),2&cr){const Sn=H.oxw();H.xp6(1),H.Q6J("data",Sn.scopes_permissions)("columns",Sn.columns)("toolHeader",!1)("autoReload",!1)("autoSave",!1)("footer",!1)("limit",0)}}let xo=(()=>{class cr{constructor(){this.scopes_permissions=[]}ngOnInit(){this.columns=[{prop:"scope",name:"Scope",flexGrow:2},{prop:"read",name:"Read",flexGrow:1,cellClass:"text-center",cellTransformation:ci.e.checkIcon},{prop:"create",name:"Create",flexGrow:1,cellClass:"text-center",cellTransformation:ci.e.checkIcon},{prop:"update",name:"Update",flexGrow:1,cellClass:"text-center",cellTransformation:ci.e.checkIcon},{prop:"delete",name:"Delete",flexGrow:1,cellClass:"text-center",cellTransformation:ci.e.checkIcon}]}ngOnChanges(){if(this.selection){this.selectedItem=this.selection;const Sn=[];M().each(this.scopes,$n=>{const Jr={read:!1,create:!1,update:!1,delete:!1};Jr.scope=$n,$n in this.selectedItem.scopes_permissions&&M().each(this.selectedItem.scopes_permissions[$n],ro=>{Jr[ro]=!0}),Sn.push(Jr)}),this.scopes_permissions=Sn}}}return cr.\u0275fac=function(Sn){return new(Sn||cr)},cr.\u0275cmp=H.Xpm({type:cr,selectors:[["cd-role-details"]],inputs:{selection:"selection",scopes:"scopes"},features:[H.TTD],decls:1,vars:1,consts:[[4,"ngIf"],["columnMode","flex",3,"data","columns","toolHeader","autoReload","autoSave","footer","limit"]],template:function(Sn,$n){1&Sn&&H.YNc(0,no,2,7,"ng-container",0),2&Sn&&H.Q6J("ngIf",$n.selection)},directives:[r.O5,Pe.a],styles:[".fa[_ngcontent-%COMP%]{font-size:large}.fa.fa-square-o[_ngcontent-%COMP%]{color:#ced4da}"]}),cr})(),an=(()=>{class cr extends Fn.o{constructor(Sn,$n,Jr,ro,go,Ro,js,ds){super(),this.roleService=Sn,this.scopeService=$n,this.emptyPipe=Jr,this.authStorageService=ro,this.modalService=go,this.notificationService=Ro,this.urlBuilder=js,this.actionLabels=ds,this.selection=new Br.r,this.permission=this.authStorageService.getPermissions().user,this.tableActions=[{permission:"create",icon:hr.P.add,routerLink:()=>this.urlBuilder.getCreate(),name:this.actionLabels.CREATE},{permission:"create",icon:hr.P.clone,name:this.actionLabels.CLONE,disable:()=>!this.selection.hasSingleSelection,click:()=>this.cloneRole()},{permission:"update",icon:hr.P.edit,disable:()=>!this.selection.hasSingleSelection||this.selection.first().system,routerLink:()=>this.selection.first()&&this.urlBuilder.getEdit(this.selection.first().name),name:this.actionLabels.EDIT},{permission:"delete",icon:hr.P.destroy,disable:()=>!this.selection.hasSingleSelection||this.selection.first().system,click:()=>this.deleteRoleModal(),name:this.actionLabels.DELETE}]}ngOnInit(){this.columns=[{name:"Name",prop:"name",flexGrow:3},{name:"Description",prop:"description",flexGrow:5,pipe:this.emptyPipe},{name:"System Role",prop:"system",cellClass:"text-center",flexGrow:1,cellTransformation:ci.e.checkIcon}]}getRoles(){(0,w.D)([this.roleService.list(),this.scopeService.list()]).subscribe(Sn=>{this.roles=Sn[0],this.scopes=Sn[1]})}updateSelection(Sn){this.selection=Sn}deleteRole(Sn){this.roleService.delete(Sn).subscribe(()=>{this.getRoles(),this.modalRef.close(),this.notificationService.show(R.k.success,"Deleted role '" + Sn + "'")},()=>{this.modalRef.componentInstance.stopLoadingSpinner()})}deleteRoleModal(){const Sn=this.selection.first().name;this.modalRef=this.modalService.show(pr.M,{itemDescription:"Role",itemNames:[Sn],submitAction:()=>this.deleteRole(Sn)})}cloneRole(){const Sn=this.selection.first().name;this.modalRef=this.modalService.show(mi.X,{fields:[{type:"text",name:"newName",value:`${Sn}_clone`,label:"New name",required:!0}],titleText:"Clone Role",submitButtonText:"Clone Role",onSubmit:$n=>{this.roleService.clone(Sn,$n.newName).subscribe(()=>{this.getRoles(),this.notificationService.show(R.k.success,"Cloned role '" + $n.newName + "' from '" + Sn + "'")})}})}}return cr.\u0275fac=function(Sn){return new(Sn||cr)(H.Y36(fe),H.Y36(_e),H.Y36(Ur.W),H.Y36(er.j),H.Y36(_r.Z),H.Y36(q.g),H.Y36(Hn.F),H.Y36(p.p4))},cr.\u0275cmp=H.Xpm({type:cr,selectors:[["cd-role-list"]],features:[H._Bn([{provide:Hn.F,useValue:new Hn.F("user-management/roles")}]),H.qOj],decls:4,vars:8,consts:[["columnMode","flex","identifier","name","selectionType","single",3,"data","columns","hasDetails","setExpandedRow","fetchData","updateSelection"],[1,"table-actions",3,"permission","selection","tableActions"],["cdTableDetail","",3,"selection","scopes"]],template:function(Sn,$n){1&Sn&&(H._UZ(0,"cd-user-tabs"),H.TgZ(1,"cd-table",0),H.NdJ("setExpandedRow",function(ro){return $n.setExpandedRow(ro)})("fetchData",function(){return $n.getRoles()})("updateSelection",function(ro){return $n.updateSelection(ro)}),H._UZ(2,"cd-table-actions",1)(3,"cd-role-details",2),H.qZA()),2&Sn&&(H.xp6(1),H.Q6J("data",$n.roles)("columns",$n.columns)("hasDetails",!0),H.xp6(1),H.Q6J("permission",$n.permission)("selection",$n.selection)("tableActions",$n.tableActions),H.xp6(1),H.Q6J("selection",$n.expandedRow)("scopes",$n.scopes))},directives:[bi,Pe.a,fi.K,xo],styles:[""]}),cr})();var vn=i(16738),Zn=i.n(vn),Xn=i(39219),zn=i(9837),ri=i(36169),Gi=i(7022),ui=i(51907),vr=i(81354),Ji=(()=>((Ji||(Ji={})).editing="editing",Ji))();class mn{}var Rn=i(32057),Wn=i(62862),et=i(18372),Le=i(4416),Re=i(60192),Se=i(52266);const dt=["removeSelfUserReadUpdatePermissionTpl"];function st(cr,pi){1&cr&&(H.TgZ(0,"span",28),H.SDv(1,29),H.qZA())}function nn(cr,pi){1&cr&&(H.TgZ(0,"span",28),H.SDv(1,30),H.qZA())}function Fe(cr,pi){if(1&cr&&H._UZ(0,"cd-helper",39),2&cr){const Sn=H.oxw(3);H.s9C("html",Sn.passwordPolicyHelpText)}}function Lr(cr,pi){1&cr&&(H.TgZ(0,"span",28),H.SDv(1,40),H.qZA())}function ti(cr,pi){if(1&cr&&(H.TgZ(0,"span",28),H._uU(1),H.qZA()),2&cr){const Sn=H.oxw(3);H.xp6(1),H.hij(" ",Sn.passwordValuation," ")}}function Ut(cr,pi){if(1&cr&&(H.TgZ(0,"div",10)(1,"label",31),H.ynx(2),H.SDv(3,32),H.BQk(),H.YNc(4,Fe,1,1,"cd-helper",33),H.qZA(),H.TgZ(5,"div",13)(6,"div",34),H._UZ(7,"input",35)(8,"button",36),H.qZA(),H.TgZ(9,"div",37),H._UZ(10,"div",38),H.qZA(),H.YNc(11,Lr,2,0,"span",15),H.YNc(12,ti,2,1,"span",15),H.qZA()()),2&cr){H.oxw();const Sn=H.MAs(2),$n=H.oxw();H.xp6(4),H.Q6J("ngIf",$n.passwordPolicyHelpText.length>0),H.xp6(6),H.Tol($n.passwordStrengthLevelClass),H.s9C("title",$n.passwordValuation),H.xp6(1),H.Q6J("ngIf",$n.userForm.showError("password",Sn,"required")),H.xp6(1),H.Q6J("ngIf",$n.userForm.showError("password",Sn,"passwordPolicy"))}}function Dn(cr,pi){1&cr&&(H.TgZ(0,"span",28),H.SDv(1,45),H.qZA())}function Et(cr,pi){1&cr&&(H.TgZ(0,"span",28),H.SDv(1,46),H.qZA())}function $t(cr,pi){if(1&cr&&(H.TgZ(0,"div",10)(1,"label",41),H.SDv(2,42),H.qZA(),H.TgZ(3,"div",13)(4,"div",34),H._UZ(5,"input",43)(6,"button",44),H.YNc(7,Dn,2,0,"span",15),H.qZA(),H.YNc(8,Et,2,0,"span",15),H.qZA()()),2&cr){H.oxw();const Sn=H.MAs(2),$n=H.oxw();H.xp6(7),H.Q6J("ngIf",$n.userForm.showError("confirmpassword",Sn,"match")),H.xp6(1),H.Q6J("ngIf",$n.userForm.showError("confirmpassword",Sn,"required"))}}function _t(cr,pi){1&cr&&(H.TgZ(0,"cd-helper",53)(1,"p"),H._uU(2," The Dashboard setting defining the expiration interval of passwords is currently set to "),H.TgZ(3,"strong"),H._uU(4,"0"),H.qZA(),H._uU(5,". This means if a date is set, the user password will only expire once. "),H.qZA(),H.TgZ(6,"p"),H._uU(7," Consider configuring the Dashboard setting "),H.TgZ(8,"a",54),H._uU(9,"USER_PWD_EXPIRATION_SPAN"),H.qZA(),H._uU(10," in order to let passwords expire periodically. "),H.qZA()())}function yt(cr,pi){1&cr&&(H.TgZ(0,"span",28),H.SDv(1,55),H.qZA())}const Vt=function(cr){return{required:cr}};function yn(cr,pi){if(1&cr){const Sn=H.EpF();H.TgZ(0,"div",10)(1,"label",47),H.ynx(2),H.SDv(3,48),H.BQk(),H.YNc(4,_t,11,0,"cd-helper",49),H.qZA(),H.TgZ(5,"div",13)(6,"div",34)(7,"input",50,51),H.NdJ("click",function(){return H.CHM(Sn),H.MAs(8).open()})("keypress",function(){return H.CHM(Sn),H.MAs(8).close()}),H.qZA(),H.TgZ(9,"button",52),H.NdJ("click",function(){return H.CHM(Sn),H.oxw(2).clearExpirationDate()}),H._UZ(10,"i"),H.qZA(),H.YNc(11,yt,2,0,"span",15),H.qZA()()()}if(2&cr){H.oxw();const Sn=H.MAs(2),$n=H.oxw(),Jr=H.MAs(4);H.xp6(1),H.Q6J("ngClass",H.VKq(7,Vt,$n.pwdExpirationSettings.pwdExpirationSpan>0)),H.xp6(3),H.Q6J("ngIf",0==$n.pwdExpirationSettings.pwdExpirationSpan),H.xp6(3),H.Q6J("ngbPopover",Jr),H.xp6(3),H.Gre("icon-prepend ",$n.icons.destroy,""),H.xp6(1),H.Q6J("ngIf",$n.userForm.showError("pwdExpirationDate",Sn,"required"))}}function Cr(cr,pi){1&cr&&(H.TgZ(0,"span",28),H.SDv(1,56),H.qZA())}function xi(cr,pi){if(1&cr&&(H.TgZ(0,"span",57),H._UZ(1,"cd-select-badges",58),H.qZA()),2&cr){const Sn=H.oxw(2);H.xp6(1),H.Q6J("data",Sn.userForm.controls.roles.value)("options",Sn.allRoles)("messages",Sn.messages)}}function yi(cr,pi){1&cr&&(H.TgZ(0,"div",10)(1,"div",59)(2,"div",60),H._UZ(3,"input",61),H.TgZ(4,"label",62),H.SDv(5,63),H.qZA()()()())}function Uo(cr,pi){1&cr&&(H.TgZ(0,"div",10)(1,"div",59)(2,"div",60),H._UZ(3,"input",64),H.TgZ(4,"label",65),H.SDv(5,66),H.qZA()()()())}function Qo(cr,pi){if(1&cr){const Sn=H.EpF();H.TgZ(0,"div",3)(1,"form",4,5)(3,"div",6)(4,"div",7),H.SDv(5,8),H.ALo(6,"titlecase"),H.ALo(7,"upperFirst"),H.qZA(),H.TgZ(8,"div",9)(9,"div",10)(10,"label",11),H.SDv(11,12),H.qZA(),H.TgZ(12,"div",13),H._UZ(13,"input",14),H.YNc(14,st,2,0,"span",15),H.YNc(15,nn,2,0,"span",15),H.qZA()(),H.YNc(16,Ut,13,7,"div",16),H.YNc(17,$t,9,2,"div",16),H.YNc(18,yn,12,9,"div",16),H.TgZ(19,"div",10)(20,"label",17),H.SDv(21,18),H.qZA(),H.TgZ(22,"div",13),H._UZ(23,"input",19),H.qZA()(),H.TgZ(24,"div",10)(25,"label",20),H.SDv(26,21),H.qZA(),H.TgZ(27,"div",13),H._UZ(28,"input",22),H.YNc(29,Cr,2,0,"span",15),H.qZA()(),H.TgZ(30,"div",10)(31,"label",23),H.SDv(32,24),H.qZA(),H.TgZ(33,"div",13),H.YNc(34,xi,2,3,"span",25),H.qZA()(),H.YNc(35,yi,6,0,"div",16),H.YNc(36,Uo,6,0,"div",16),H.qZA(),H.TgZ(37,"div",26)(38,"cd-form-button-panel",27),H.NdJ("submitActionEvent",function(){return H.CHM(Sn),H.oxw().submit()}),H.ALo(39,"titlecase"),H.ALo(40,"upperFirst"),H.qZA()()()()()}if(2&cr){const Sn=H.MAs(2),$n=H.oxw();H.xp6(1),H.Q6J("formGroup",$n.userForm),H.xp6(6),H.pQV(H.lcZ(6,15,$n.action))(H.lcZ(7,17,$n.resource)),H.QtT(5),H.xp6(3),H.Q6J("ngClass",H.VKq(23,Vt,$n.mode!==$n.userFormMode.editing)),H.xp6(4),H.Q6J("ngIf",$n.userForm.showError("username",Sn,"required")),H.xp6(1),H.Q6J("ngIf",$n.userForm.showError("username",Sn,"notUnique")),H.xp6(1),H.Q6J("ngIf",!$n.authStorageService.isSSO()),H.xp6(1),H.Q6J("ngIf",!$n.authStorageService.isSSO()),H.xp6(1),H.Q6J("ngIf",!$n.authStorageService.isSSO()),H.xp6(11),H.Q6J("ngIf",$n.userForm.showError("email",Sn,"email")),H.xp6(5),H.Q6J("ngIf",$n.allRoles),H.xp6(1),H.Q6J("ngIf",!$n.isCurrentUser()),H.xp6(1),H.Q6J("ngIf",!$n.isCurrentUser()&&!$n.authStorageService.isSSO()),H.xp6(2),H.Q6J("form",$n.userForm)("submitText",H.lcZ(39,19,$n.action)+" "+H.lcZ(40,21,$n.resource))}}function lo(cr,pi){1&cr&&(H.TgZ(0,"p")(1,"strong"),H.SDv(2,67),H.qZA()(),H._UZ(3,"br"),H.TgZ(4,"p"),H.SDv(5,68),H.qZA(),H.ynx(6),H.SDv(7,69),H.BQk())}function Ri(cr,pi){if(1&cr&&H._UZ(0,"cd-date-time-picker",70),2&cr){const Sn=H.oxw();H.Q6J("control",Sn.userForm.get("pwdExpirationDate"))("hasTime",!1)}}let ko=(()=>{class cr extends U.E{constructor(Sn,$n,Jr,ro,go,Ro,js,ds,es,ma,ya,fa){super(),this.authService=Sn,this.authStorageService=$n,this.route=Jr,this.router=ro,this.modalService=go,this.roleService=Ro,this.userService=js,this.notificationService=ds,this.actionLabels=es,this.passwordPolicyService=ma,this.formBuilder=ya,this.settingsService=fa,this.userFormMode=Ji,this.messages=new Gi.a({empty:"There are no roles."}),this.passwordPolicyHelpText="",this.icons=hr.P,this.pwdExpirationFormat="YYYY-MM-DD",this.resource="user",this.createForm(),this.messages=new Gi.a({empty:"There are no roles."})}createForm(){this.passwordPolicyService.getHelpText().subscribe(Sn=>{this.passwordPolicyHelpText=Sn}),this.userForm=this.formBuilder.group({username:["",[a.kI.required],[j.h.unique(this.userService.validateUserName,this.userService)]],name:[""],password:["",[],[j.h.passwordPolicy(this.userService,()=>this.userForm.getValue("username"),(Sn,$n,Jr)=>{this.passwordStrengthLevelClass=this.passwordPolicyService.mapCreditsToCssClass($n),this.passwordValuation=M().defaultTo(Jr,"")})]],confirmpassword:[""],pwdExpirationDate:[void 0],email:["",[j.h.email]],roles:[[]],enabled:[!0,[a.kI.required]],pwdUpdateRequired:[!0]},{validators:[j.h.match("password","confirmpassword")]})}ngOnInit(){this.router.url.startsWith("/user-management/users/edit")?(this.mode=this.userFormMode.editing,this.action=this.actionLabels.EDIT):this.action=this.actionLabels.CREATE;const Sn=[this.roleService.list(),this.settingsService.getStandardSettings()];(0,w.D)(Sn).subscribe($n=>{if(this.allRoles=M().map($n[0],Jr=>(Jr.enabled=!0,Jr)),this.pwdExpirationSettings=new ui.G($n[1]),this.mode===this.userFormMode.editing)this.initEdit();else{if(this.pwdExpirationSettings.pwdExpirationSpan>0){const Jr=this.userForm.get("pwdExpirationDate"),ro=Zn()();ro.add(this.pwdExpirationSettings.pwdExpirationSpan,"day"),Jr.setValue(ro.format(this.pwdExpirationFormat)),Jr.setValidators([a.kI.required])}this.loadingReady()}})}initEdit(){this.disableForEdit(),this.route.params.subscribe(Sn=>{this.userService.get(Sn.username).subscribe(Jr=>{this.response=M().cloneDeep(Jr),this.setResponse(Jr),this.loadingReady()})})}disableForEdit(){this.userForm.get("username").disable()}setResponse(Sn){["username","name","email","roles","enabled","pwdUpdateRequired"].forEach(Jr=>this.userForm.get(Jr).setValue(Sn[Jr]));const $n=Sn.pwdExpirationDate;$n&&this.userForm.get("pwdExpirationDate").setValue(Zn()(1e3*$n).format(this.pwdExpirationFormat))}getRequest(){const Sn=new mn;["username","password","name","email","roles","enabled","pwdUpdateRequired"].forEach(Jr=>Sn[Jr]=this.userForm.get(Jr).value);const $n=this.userForm.get("pwdExpirationDate").value;if($n){const Jr=Zn()($n,this.pwdExpirationFormat);(this.mode!==this.userFormMode.editing||this.response.pwdExpirationDate!==Jr.unix())&&Jr.set({hour:23,minute:59,second:59}),Sn.pwdExpirationDate=Jr.unix()}return Sn}createAction(){const Sn=this.getRequest();this.userService.create(Sn).subscribe(()=>{this.notificationService.show(R.k.success,"Created user '" + Sn.username + "'"),this.router.navigate(["/user-management/users"])},()=>{this.userForm.setErrors({cdSubmitButton:!0})})}editAction(){if(this.isUserRemovingNeededRolePermissions()){const Sn={titleText:"Update user",buttonText:"Continue",bodyTpl:this.removeSelfUserReadUpdatePermissionTpl,onSubmit:()=>{this.modalRef.close(),this.doEditAction()},onCancel:()=>{this.userForm.setErrors({cdSubmitButton:!0}),this.userForm.get("roles").reset(this.userForm.get("roles").value)}};this.modalRef=this.modalService.show(ri.Y,Sn)}else this.doEditAction()}isCurrentUser(){return this.authStorageService.getUsername()===this.userForm.getValue("username")}isUserChangingRoles(){return this.isCurrentUser()&&this.response&&!M().isEqual(this.response.roles,this.userForm.getValue("roles"))}isUserRemovingNeededRolePermissions(){return this.isCurrentUser()&&!this.hasUserReadUpdatePermissions(this.userForm.getValue("roles"))}hasUserReadUpdatePermissions(Sn=[]){for(const $n of this.allRoles)if(-1!==Sn.indexOf($n.name)&&$n.scopes_permissions.user){const Jr=$n.scopes_permissions.user;return["read","update"].every(ro=>-1!==Jr.indexOf(ro))}return!1}doEditAction(){const Sn=this.getRequest();this.userService.update(Sn).subscribe(()=>{this.isUserChangingRoles()?this.authService.logout(()=>{this.notificationService.show(R.k.info,"You were automatically logged out because your roles have been changed.")}):(this.notificationService.show(R.k.success,"Updated user '" + Sn.username + "'"),this.router.navigate(["/user-management/users"]))},()=>{this.userForm.setErrors({cdSubmitButton:!0})})}clearExpirationDate(){this.userForm.get("pwdExpirationDate").setValue(void 0)}submit(){this.mode===this.userFormMode.editing?this.editAction():this.createAction()}}return cr.\u0275fac=function(Sn){return new(Sn||cr)(H.Y36(Xn.e),H.Y36(er.j),H.Y36(f.gz),H.Y36(f.F0),H.Y36(_r.Z),H.Y36(fe),H.Y36(Rn.K),H.Y36(q.g),H.Y36(p.p4),H.Y36(vr.q),H.Y36(Wn.O),H.Y36(zn.g))},cr.\u0275cmp=H.Xpm({type:cr,selectors:[["cd-user-form"]],viewQuery:function(Sn,$n){if(1&Sn&&H.Gf(dt,7),2&Sn){let Jr;H.iGM(Jr=H.CRH())&&($n.removeSelfUserReadUpdatePermissionTpl=Jr.first)}},features:[H.qOj],decls:5,vars:1,consts:function(){let pi,Sn,$n,Jr,ro,go,Ro,js,ds,es,ma,ya,fa,sa,Ra,pl,Co,yl,Wo,ys,Wa;return pi="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",Sn="Username",$n="Full name",Jr="Email",ro="Roles",go="This field is required.",Ro="The username already exists.",js="Password",ds="This field is required.",es="Confirm password",ma="Password confirmation doesn't match the password.",ya="This field is required.",fa="Password expiration date",sa="Password expiration date...",Ra="This field is required.",pl="Invalid email.",Co="Enabled",yl="User must change password at next logon",Wo="You are about to remove \"user read / update\" permissions from your own user.",ys="If you continue, you will no longer be able to add or remove roles from any user.",Wa="Are you sure you want to continue?",[["class","cd-col-form",4,"cdFormLoading"],["removeSelfUserReadUpdatePermissionTpl",""],["popContent",""],[1,"cd-col-form"],["name","userForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"card"],[1,"card-header"],pi,[1,"card-body"],[1,"form-group","row"],["for","username",1,"cd-col-form-label",3,"ngClass"],Sn,[1,"cd-col-form-input"],["type","text","placeholder","Username...","id","username","name","username","formControlName","username","autocomplete","off","autofocus","",1,"form-control"],["class","invalid-feedback",4,"ngIf"],["class","form-group row",4,"ngIf"],["for","name",1,"cd-col-form-label"],$n,["type","text","placeholder","Full name...","id","name","name","name","formControlName","name",1,"form-control"],["for","email",1,"cd-col-form-label"],Jr,["type","email","placeholder","Email...","id","email","name","email","formControlName","email",1,"form-control"],[1,"cd-col-form-label"],ro,["class","no-border full-height",4,"ngIf"],[1,"card-footer"],["wrappingClass","text-right",3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],go,Ro,["for","password",1,"cd-col-form-label"],js,["class","text-pre-wrap",3,"html",4,"ngIf"],[1,"input-group"],["type","password","placeholder","Password...","id","password","name","password","autocomplete","new-password","formControlName","password",1,"form-control"],["type","button","cdPasswordButton","password",1,"btn","btn-light"],[1,"password-strength-level"],["data-toggle","tooltip",3,"title"],[1,"text-pre-wrap",3,"html"],ds,["for","confirmpassword",1,"cd-col-form-label"],es,["type","password","placeholder","Confirm password...","id","confirmpassword","name","confirmpassword","autocomplete","new-password","formControlName","confirmpassword",1,"form-control"],["type","button","cdPasswordButton","confirmpassword",1,"btn","btn-light"],ma,ya,["for","pwdExpirationDate",1,"cd-col-form-label",3,"ngClass"],fa,["class","text-pre-wrap",4,"ngIf"],["placeholder",sa,"id","pwdExpirationDate","name","pwdExpirationDate","formControlName","pwdExpirationDate","triggers","manual",1,"form-control",3,"ngbPopover","click","keypress"],["p","ngbPopover"],["type","button",1,"btn","btn-light",3,"click"],[1,"text-pre-wrap"],["routerLink","/mgr-modules/edit/dashboard",1,"alert-link"],Ra,pl,[1,"no-border","full-height"],[3,"data","options","messages"],[1,"cd-col-form-offset"],[1,"custom-control","custom-checkbox"],["type","checkbox","id","enabled","name","enabled","formControlName","enabled",1,"custom-control-input"],["for","enabled",1,"custom-control-label"],Co,["type","checkbox","id","pwdUpdateRequired","name","pwdUpdateRequired","formControlName","pwdUpdateRequired",1,"custom-control-input"],["for","pwdUpdateRequired",1,"custom-control-label"],yl,Wo,ys,Wa,[3,"control","hasTime"]]},template:function(Sn,$n){1&Sn&&(H.YNc(0,Qo,41,25,"div",0),H.YNc(1,lo,8,0,"ng-template",null,1,H.W1O),H.YNc(3,Ri,1,2,"ng-template",null,2,H.W1O)),2&Sn&&H.Q6J("cdFormLoading",$n.loading)},directives:[Ce.y,a._Y,a.JL,a.sg,ce.V,Be.P,r.mk,Ve.o,a.Fj,Xe.b,a.JJ,a.u,He.U,r.O5,et.S,Le.C,f.yS,u.o8,Re.m,a.Wl,Ge.p,Se.J],pipes:[r.rS,Oe.m],styles:[""]}),cr})();var Xo=i(96102),ir=i(94088);const si=["userRolesTpl"],kn=["warningTpl"],nr=["durationTpl"];function jr(cr,pi){if(1&cr&&(H.TgZ(0,"span"),H._uU(1),H.qZA()),2&cr){const Sn=pi.$implicit,$n=pi.last;H.xp6(1),H.AsE(" ",Sn,"",$n?"":", "," ")}}function ao(cr,pi){1&cr&&H.YNc(0,jr,2,2,"span",5),2&cr&&H.Q6J("ngForOf",pi.value)}function $i(cr,pi){if(1&cr&&(H.TgZ(0,"div",6)(1,"div",7),H._uU(2),H.qZA()()),2&cr){const Sn=pi.value,$n=pi.row,Jr=H.oxw();H.ekj("border-danger",$n.remainingDays<Jr.expirationDangerAlert)("border-warning",$n.remainingDays<Jr.expirationWarningAlert&&$n.remainingDays>=Jr.expirationDangerAlert),H.xp6(2),H.hij(" ",Sn," ")}}function Eo(cr,pi){if(1&cr&&H._UZ(0,"i",10),2&cr){const Sn=H.oxw().row,$n=H.oxw();H.Tol($n.icons.warning),H.ekj("icon-danger-color",Sn.remainingDays<$n.expirationDangerAlert)("icon-warning-color",Sn.remainingDays<$n.expirationWarningAlert&&Sn.remainingDays>=$n.expirationDangerAlert)}}function mo(cr,pi){if(1&cr&&(H.YNc(0,Eo,1,7,"i",8),H.TgZ(1,"span",9),H.ALo(2,"cdDate"),H._uU(3),H.ALo(4,"duration"),H.qZA()),2&cr){const Sn=pi.value,$n=pi.row,Jr=H.oxw();H.Q6J("ngIf",$n.remainingDays<Jr.expirationWarningAlert),H.xp6(1),H.s9C("title",H.lcZ(2,3,Sn)),H.xp6(2),H.Oqu(H.lcZ(4,5,$n.remainingTimeWithoutSeconds/1e3))}}let ua=(()=>{class cr{constructor(Sn,$n,Jr,ro,go,Ro,js,ds){this.userService=Sn,this.emptyPipe=$n,this.modalService=Jr,this.notificationService=ro,this.authStorageService=go,this.urlBuilder=Ro,this.settingsService=js,this.actionLabels=ds,this.selection=new Br.r,this.icons=hr.P,this.permission=this.authStorageService.getPermissions().user,this.tableActions=[{permission:"create",icon:hr.P.add,routerLink:()=>this.urlBuilder.getCreate(),name:this.actionLabels.CREATE},{permission:"update",icon:hr.P.edit,routerLink:()=>this.selection.first()&&this.urlBuilder.getEdit(this.selection.first().username),name:this.actionLabels.EDIT},{permission:"delete",icon:hr.P.destroy,click:()=>this.deleteUserModal(),name:this.actionLabels.DELETE}]}ngOnInit(){this.columns=[{name:"Username",prop:"username",flexGrow:1,cellTemplate:this.warningTpl},{name:"Name",prop:"name",flexGrow:1,pipe:this.emptyPipe},{name:"Email",prop:"email",flexGrow:1,pipe:this.emptyPipe},{name:"Roles",prop:"roles",flexGrow:1,cellTemplate:this.userRolesTpl},{name:"Enabled",prop:"enabled",flexGrow:1,cellTransformation:ci.e.checkIcon},{name:"Password expires",prop:"pwdExpirationDate",flexGrow:1,cellTemplate:this.durationTpl}],this.settingsService.getValues(["USER_PWD_EXPIRATION_WARNING_1","USER_PWD_EXPIRATION_WARNING_2"]).subscribe($n=>{this.expirationWarningAlert=$n.USER_PWD_EXPIRATION_WARNING_1,this.expirationDangerAlert=$n.USER_PWD_EXPIRATION_WARNING_2})}getUsers(){this.userService.list().subscribe(Sn=>{Sn.forEach($n=>{$n.remainingTimeWithoutSeconds=0,$n.pwdExpirationDate&&$n.pwdExpirationDate>0&&($n.pwdExpirationDate=1e3*$n.pwdExpirationDate,$n.remainingTimeWithoutSeconds=this.getRemainingTimeWithoutSeconds($n.pwdExpirationDate),$n.remainingDays=this.getRemainingDays($n.pwdExpirationDate))}),this.users=Sn})}updateSelection(Sn){this.selection=Sn}deleteUser(Sn){this.userService.delete(Sn).subscribe(()=>{this.getUsers(),this.modalRef.close(),this.notificationService.show(R.k.success,"Deleted user '" + Sn + "'")},()=>{this.modalRef.componentInstance.stopLoadingSpinner()})}deleteUserModal(){const Sn=this.authStorageService.getUsername(),$n=this.selection.first().username;Sn!==$n?this.modalRef=this.modalService.show(pr.M,{itemDescription:"User",itemNames:[$n],submitAction:()=>this.deleteUser($n)}):this.notificationService.show(R.k.error,"Failed to delete user '" + $n + "'","You are currently logged in as '" + $n + "'.")}getWarningIconClass(Sn){return null===Sn||this.expirationWarningAlert>10?"":this.getRemainingDays(Sn)<=this.expirationDangerAlert?"icon-danger-color":"icon-warning-color"}getWarningClass(Sn){return null===Sn||this.expirationWarningAlert>10?"":this.getRemainingDays(Sn)<=this.expirationDangerAlert?"border-danger":"border-warning"}getRemainingDays(Sn){if(void 0!==Sn&&null!=Sn)return Sn<0?0:Math.max(0,Math.floor(this.getRemainingTime(Sn)/864e5))}getRemainingTimeWithoutSeconds(Sn){const $n=this.getRemainingTime(Sn);return 60*Math.floor($n/6e4)*1e3}getRemainingTime(Sn){return Sn-Date.now()}}return cr.\u0275fac=function(Sn){return new(Sn||cr)(H.Y36(Rn.K),H.Y36(Ur.W),H.Y36(_r.Z),H.Y36(q.g),H.Y36(er.j),H.Y36(Hn.F),H.Y36(zn.g),H.Y36(p.p4))},cr.\u0275cmp=H.Xpm({type:cr,selectors:[["cd-user-list"]],viewQuery:function(Sn,$n){if(1&Sn&&(H.Gf(si,7),H.Gf(kn,7),H.Gf(nr,7)),2&Sn){let Jr;H.iGM(Jr=H.CRH())&&($n.userRolesTpl=Jr.first),H.iGM(Jr=H.CRH())&&($n.warningTpl=Jr.first),H.iGM(Jr=H.CRH())&&($n.durationTpl=Jr.first)}},features:[H._Bn([{provide:Hn.F,useValue:new Hn.F("user-management/users")}])],decls:9,vars:5,consts:function(){let pi;return pi="User's password is about to expire",[["columnMode","flex","identifier","username","selectionType","single",3,"data","columns","fetchData","updateSelection"],[1,"table-actions",3,"permission","selection","tableActions"],["userRolesTpl",""],["warningTpl",""],["durationTpl",""],[4,"ngFor","ngForOf"],[1,"border-margin"],[1,"warning-content"],["title",pi,3,"icon-danger-color","icon-warning-color","class",4,"ngIf"],[3,"title"],["title",pi]]},template:function(Sn,$n){1&Sn&&(H._UZ(0,"cd-user-tabs"),H.TgZ(1,"cd-table",0),H.NdJ("fetchData",function(){return $n.getUsers()})("updateSelection",function(ro){return $n.updateSelection(ro)}),H._UZ(2,"cd-table-actions",1),H.qZA(),H.YNc(3,ao,1,1,"ng-template",null,2,H.W1O),H.YNc(5,$i,3,5,"ng-template",null,3,H.W1O),H.YNc(7,mo,5,7,"ng-template",null,4,H.W1O)),2&Sn&&(H.xp6(1),H.Q6J("data",$n.users)("columns",$n.columns),H.xp6(1),H.Q6J("permission",$n.permission)("selection",$n.selection)("tableActions",$n.tableActions))},directives:[bi,Pe.a,fi.K,r.sg,r.O5],pipes:[Xo.N,ir.u],styles:[".border-margin[_ngcontent-%COMP%]{border-left:3px solid transparent;height:calc(100% + 10px);margin-bottom:-5px;margin-left:-5px;margin-top:-5px}.warning-content[_ngcontent-%COMP%]{height:100%;padding-bottom:5px;padding-left:5px;padding-top:5px}"]}),cr})(),or=(()=>{class cr{}return cr.\u0275fac=function(Sn){return new(Sn||cr)},cr.\u0275mod=H.oAB({type:cr}),cr.\u0275inj=H.cJS({imports:[[r.ez,a.u5,a.UX,g.m,u.Oz,u.dT,e.b,f.Bz]]}),cr})();const Mr=[{path:"",redirectTo:"users",pathMatch:"full"},{path:"users",data:{breadcrumbs:"Users"},children:[{path:"",component:ua},{path:p.MQ.CREATE,component:ko,data:{breadcrumbs:p.Qn.CREATE}},{path:`${p.MQ.EDIT}/:username`,component:ko,data:{breadcrumbs:p.Qn.EDIT}}]},{path:"roles",data:{breadcrumbs:"Roles"},children:[{path:"",component:an},{path:p.MQ.CREATE,component:Gt,data:{breadcrumbs:p.Qn.CREATE}},{path:`${p.MQ.EDIT}/:name`,component:Gt,data:{breadcrumbs:p.Qn.EDIT}}]}];let Or=(()=>{class cr{}return cr.\u0275fac=function(Sn){return new(Sn||cr)},cr.\u0275mod=H.oAB({type:cr}),cr.\u0275inj=H.cJS({imports:[[or,f.Bz.forChild(Mr)]]}),cr})()},26504:(v,b,i)=>{"use strict";i.d(b,{_2:()=>f,mM:()=>e,s9:()=>a});var r=i(65862);class a extends Error{}class f extends a{constructor(){super(...arguments),this.header="Page Not Found",this.message="Sorry, we couldn\u2019t find what you were looking for.\n  The page you requested may have been changed or moved.",this.icon=r.P.warning}}class e extends a{constructor(){super(...arguments),this.header="User Denied",this.message="Sorry, the user does not exist in Ceph.\n  You'll be logged out from the Identity Provider when you retry logging in.",this.icon=r.P.warning}}},76189:(v,b,i)=>{"use strict";i.d(b,{S:()=>r});class r{getVersionHeaderValue(f,u){return`application/vnd.ceph.api.v${f}.${u}+json`}}},39219:(v,b,i)=>{"use strict";i.d(b,{e:()=>T});var r=i(23815),f=i(68307),u=i(89724),e=i(47640),p=i(19725),g=i(55860);let T=(()=>{class M{constructor(R,U,W,j){this.authStorageService=R,this.http=U,this.router=W,this.route=j}check(R){return this.http.post("api/auth/check",{token:R})}login(R){return this.http.post("api/auth",R).pipe((0,f.b)(U=>{this.authStorageService.set(U.username,U.permissions,U.sso,U.pwdExpirationDate,U.pwdUpdateRequired)}))}logout(R=null){return this.http.post("api/auth/logout",null).subscribe(U=>{this.authStorageService.remove();const W=r.get(this.route.snapshot.queryParams,"returnUrl","/login");this.router.navigate([W],{skipLocationChange:!0}),R&&R(),window.location.replace(U.redirect_url)})}}return M.\u0275fac=function(R){return new(R||M)(u.LFG(e.j),u.LFG(p.eN),u.LFG(g.F0),u.LFG(g.gz))},M.\u0275prov=u.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"}),M})()},64724:(v,b,i)=>{"use strict";i.d(b,{e:()=>f});var r=i(89724),a=i(19725);let f=(()=>{class u{constructor(p){this.http=p}findValue(p,g){if(p.value)return p.value.find(T=>T.section===g)}getValue(p,g){let T=this.findValue(p,g);if(!T){const M=g.indexOf(".");-1!==M&&(T=this.findValue(p,g.substring(0,M)))}return T||(T=this.findValue(p,"global")),T?T.value:p.default}getConfigData(){return this.http.get("api/cluster_conf/")}get(p){return this.http.get(`api/cluster_conf/${p}`)}filter(p){return this.http.get(`api/cluster_conf/filter?names=${p.join(",")}`)}create(p){return this.http.post("api/cluster_conf/",p)}delete(p,g){return this.http.delete(`api/cluster_conf/${p}?section=${g}`)}bulkCreate(p){return this.http.put("api/cluster_conf/",p)}}return u.\u0275fac=function(p){return new(p||u)(r.LFG(a.eN))},u.\u0275prov=r.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})()},83608:(v,b,i)=>{"use strict";i.d(b,{H:()=>f});var r=i(89724),a=i(19725);let f=(()=>{class u{constructor(p){this.http=p,this.apiPath="api/crush_rule",this.formTooltips={root:"The name of the node under which data should be placed.",failure_domain:"The type of CRUSH nodes across which we should separate replicas.",device_class:"The device class data should be placed on."}}create(p){return this.http.post(this.apiPath,p,{observe:"response"})}delete(p){return this.http.delete(`${this.apiPath}/${p}`,{observe:"response"})}getInfo(){return this.http.get(`ui-${this.apiPath}/info`)}}return u.\u0275fac=function(p){return new(p||u)(r.LFG(a.eN))},u.\u0275prov=r.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})()},7273:(v,b,i)=>{"use strict";i.d(b,{N:()=>f});var r=i(89724),a=i(19725);let f=(()=>{class u{constructor(p){this.http=p,this.url="api/mgr/module"}list(){return this.http.get(`${this.url}`)}getConfig(p){return this.http.get(`${this.url}/${p}`)}updateConfig(p,g){return this.http.put(`${this.url}/${p}`,{config:g})}enable(p){return this.http.post(`${this.url}/${p}/enable`,null)}disable(p){return this.http.post(`${this.url}/${p}/disable`,null)}getOptions(p){return this.http.get(`${this.url}/${p}/options`)}}return u.\u0275fac=function(p){return new(p||u)(r.LFG(a.eN))},u.\u0275prov=r.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})()},80842:(v,b,i)=>{"use strict";i.d(b,{q:()=>g});var r=i(64762),a=i(19725),f=i(88002),u=i(93523),e=i(34089),p=i(89724);let g=class{constructor(M,w){this.http=M,this.rbdConfigurationService=w,this.apiPath="api/pool"}create(M){return this.http.post(this.apiPath,M,{observe:"response"})}update(M){let w;return M.hasOwnProperty("srcpool")?(w=M.srcpool,delete M.srcpool):(w=M.pool,delete M.pool),this.http.put(`${this.apiPath}/${encodeURIComponent(w)}`,M,{observe:"response"})}delete(M){return this.http.delete(`${this.apiPath}/${M}`,{observe:"response"})}get(M){return this.http.get(`${this.apiPath}/${M}`)}getList(){return this.http.get(`${this.apiPath}?stats=true`)}getConfiguration(M){return this.http.get(`${this.apiPath}/${M}/configuration`).pipe((0,f.U)(w=>w.map(R=>Object.assign(R,this.rbdConfigurationService.getOptionByName(R.name)))))}getInfo(){return this.http.get(`ui-${this.apiPath}/info`)}list(M=[]){const w=M.join(",");return this.http.get(`${this.apiPath}?attrs=${w}`).toPromise().then(R=>R)}};g.\u0275fac=function(M){return new(M||g)(p.LFG(a.eN),p.LFG(e.n))},g.\u0275prov=p.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),g=(0,r.gn)([u.o,(0,r.w6)("design:paramtypes",[a.eN,e.n])],g)},95152:(v,b,i)=>{"use strict";i.d(b,{o:()=>U});var r=i(64762),a=i(19725),f=i(23815),u=i.n(f),e=i(25917),p=i(96736),g=i(5304),T=i(76189),M=i(20523),w=i(93523),R=i(89724);let U=class extends T.S{constructor(j,q){super(),this.http=j,this.rgwDaemonService=q,this.url="api/rgw/bucket"}list(j=!1,q=""){return this.rgwDaemonService.request(ue=>(ue=ue.append("stats",j.toString()),q&&(ue=ue.append("uid",q)),this.http.get(this.url,{headers:{Accept:this.getVersionHeaderValue(1,1)},params:ue})))}get(j){return this.rgwDaemonService.request(q=>this.http.get(`${this.url}/${j}`,{params:q}))}create(j,q,ue,re,H,se,ae,ie,fe,_e){return this.rgwDaemonService.request(Ce=>this.http.post(this.url,null,{params:new a.LE({fromObject:{bucket:j,uid:q,zonegroup:ue,placement_target:re,lock_enabled:String(H),lock_mode:se,lock_retention_period_days:ae,encryption_state:String(ie),encryption_type:fe,key_id:_e,daemon_name:Ce.get("daemon_name")}})}))}update(j,q,ue,re,H,se,ae,ie,fe,_e,Ce,ce){return this.rgwDaemonService.request(Be=>(Be=Be.appendAll({bucket_id:q,uid:ue,versioning_state:re,encryption_state:String(H),encryption_type:se,key_id:ae,mfa_delete:ie,mfa_token_serial:fe,mfa_token_pin:_e,lock_mode:Ce,lock_retention_period_days:ce}),this.http.put(`${this.url}/${j}`,null,{params:Be})))}delete(j,q=!0){return this.rgwDaemonService.request(ue=>(ue=ue.append("purge_objects",q?"true":"false"),this.http.delete(`${this.url}/${j}`,{params:ue})))}exists(j){return this.get(j).pipe((0,p.h)(!0),(0,g.K)(q=>(u().isFunction(q.preventDefault)&&q.preventDefault(),(0,e.of)(!1))))}getLockDays(j){return j.lock_retention_period_years>0?Math.floor(365.242*j.lock_retention_period_years):j.lock_retention_period_days||0}setEncryptionConfig(j,q,ue,re,H,se,ae,ie,fe,_e,Ce,ce){return this.rgwDaemonService.request(Be=>(Be=Be.appendAll({encryption_type:j,kms_provider:q,auth_method:ue,secret_engine:re,secret_path:H,namespace:se,address:ae,token:ie,owner:fe,ssl_cert:_e,client_cert:Ce,client_key:ce}),this.http.put(`${this.url}/setEncryptionConfig`,null,{params:Be})))}getEncryption(j){return this.rgwDaemonService.request(q=>this.http.get(`${this.url}/${j}/getEncryption`,{params:q}))}deleteEncryption(j){return this.rgwDaemonService.request(q=>this.http.get(`${this.url}/${j}/deleteEncryption`,{params:q}))}getEncryptionConfig(){return this.rgwDaemonService.request(j=>this.http.get(`${this.url}/getEncryptionConfig`,{params:j}))}};U.\u0275fac=function(j){return new(j||U)(R.LFG(a.eN),R.LFG(M.b))},U.\u0275prov=R.Yz7({token:U,factory:U.\u0275fac,providedIn:"root"}),U=(0,r.gn)([w.o,(0,r.w6)("design:paramtypes",[a.eN,M.b])],U)},20523:(v,b,i)=>{"use strict";i.d(b,{b:()=>W});var r=i(64762),a=i(19725),f=i(23815),u=i.n(f),e=i(26215),p=i(40205),g=i(25917),T=i(68307),M=i(19773),w=i(15257),R=i(93523),U=i(89724);let W=class{constructor(q){this.http=q,this.url="api/rgw/daemon",this.daemons=new e.X([]),this.daemons$=this.daemons.asObservable(),this.selectedDaemon=new e.X(null),this.selectedDaemon$=this.selectedDaemon.asObservable()}list(){return this.http.get(this.url).pipe((0,T.b)(q=>{this.daemons.next(q);const ue=this.selectedDaemon.getValue();(u().isEmpty(ue)||void 0===u().find(q,{id:ue.id}))&&this.selectDefaultDaemon(q)}))}get(q){return this.http.get(`${this.url}/${q}`)}selectDaemon(q){this.selectedDaemon.next(q)}selectDefaultDaemon(q){if(0===q.length)return null;for(const ue of q)if(ue.default)return this.selectDaemon(ue),ue;return this.selectDaemon(q[0]),q[0]}request(q){return this.selectedDaemon.pipe((0,M.zg)(ue=>u().isEmpty(ue)?this.list().pipe((0,M.zg)(re=>u().isEmpty(re)?(0,p._)("No RGW daemons found!"):this.selectedDaemon$)):(0,g.of)(ue)),(0,w.q)(1),(0,M.zg)(ue=>{let re=new a.LE;return re=re.append("daemon_name",ue.id),q(re)}))}};W.\u0275fac=function(q){return new(q||W)(U.LFG(a.eN))},W.\u0275prov=U.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W=(0,r.gn)([R.o,(0,r.w6)("design:paramtypes",[a.eN])],W)},33394:(v,b,i)=>{"use strict";i.d(b,{I:()=>T});var r=i(64762),a=i(19725),f=i(19773),u=i(88002),e=i(20523),p=i(93523),g=i(89724);let T=class{constructor(w,R){this.http=w,this.rgwDaemonService=R,this.url="api/rgw/site"}get(w){return this.rgwDaemonService.request(R=>(w&&(R=R.append("query",w)),this.http.get(this.url,{params:R})))}isDefaultRealm(){return this.get("default-realm").pipe((0,f.zg)(w=>this.rgwDaemonService.selectedDaemon$.pipe((0,u.U)(R=>R.realm_name===w))))}};T.\u0275fac=function(w){return new(w||T)(g.LFG(a.eN),g.LFG(e.b))},T.\u0275prov=g.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"}),T=(0,r.gn)([p.o,(0,r.w6)("design:paramtypes",[a.eN,e.b])],T)},9837:(v,b,i)=>{"use strict";i.d(b,{g:()=>g});var r=i(23815),a=i.n(r),f=i(88002),u=i(89724),e=i(19725);let g=(()=>{class T{constructor(w){this.http=w,this.settings={}}getValues(w){return a().isArray(w)&&(w=w.join(",")),this.http.get(`api/settings?names=${w}`).pipe((0,f.U)(R=>{const U={};return a().forEach(R,W=>{a().set(U,W.name,W.value)}),U}))}ifSettingConfigured(w,R,U){const W=this.settings[w];void 0===W?this.http.get(w).subscribe(j=>{this.settings[w]=this.getSettingsValue(j),this.ifSettingConfigured(w,R,U)},j=>{401!==j.status&&(this.settings[w]="")}):""!==W?R(W):U&&U()}disableSetting(w){this.settings[w]=""}getSettingsValue(w){return w.value||w.instance||""}validateGrafanaDashboardUrl(w){return this.http.get(`api/grafana/validation/${w}`)}getStandardSettings(){return this.http.get("ui-api/standard_settings")}}return T.\u0275fac=function(w){return new(w||T)(u.LFG(e.eN))},T.\u0275prov=u.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"}),T})()},32057:(v,b,i)=>{"use strict";i.d(b,{K:()=>p});var r=i(25917),a=i(96736),f=i(5304),u=i(89724),e=i(19725);let p=(()=>{class g{constructor(M){this.http=M}list(){return this.http.get("api/user")}delete(M){return this.http.delete(`api/user/${M}`)}get(M){return this.http.get(`api/user/${M}`)}create(M){return this.http.post("api/user",M)}update(M){return this.http.put(`api/user/${M.username}`,M)}changePassword(M,w,R){return this.http.post(`api/user/${M}/change_password`,{old_password:w,new_password:R})}validateUserName(M){return this.get(M).pipe((0,a.h)(!0),(0,f.K)(w=>(w.preventDefault(),(0,r.of)(!1))))}validatePassword(M,w=null,R=null){return this.http.post("api/user/validate_password",{password:M,username:w,old_password:R})}}return g.\u0275fac=function(M){return new(M||g)(u.LFG(e.eN))},g.\u0275prov=u.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),g})()},51295:(v,b,i)=>{"use strict";i.d(b,{T:()=>f});var r=i(23815),a=i.n(r);class f{static updateChanged(e,p){let g=!1;return Object.keys(p).forEach(T=>{const M=p[T];a().isEqual(M,e[T])||(e[T]=M,g=!0)}),g}static cdVersionHeader(e,p){return`application/vnd.ceph.api.v${e}.${p}+json`}}},99475:(v,b,i)=>{"use strict";i.d(b,{P:()=>r});class r{propertyValue(f){return getComputedStyle(document.body).getPropertyValue(`--${f}`)}}},68136:(v,b,i)=>{"use strict";i.d(b,{o:()=>a});var r=i(71225);class a{constructor(u){this.ngZone=u}setExpandedRow(u){this.expandedRow=u}setTableRefreshTimeout(){clearTimeout(this.staleTimeout),this.ngZone.runOutsideAngular(()=>{this.staleTimeout=window.setTimeout(()=>{this.ngZone.run(()=>{this.tableStatus=new r.c("warning","The user list data might be stale. If needed, you can manually reload it.")})},1e4)})}}},69158:(v,b,i)=>{"use strict";i.d(b,{E:()=>f});var r=i(91801),a=i(71225);class f extends a.c{constructor(e=r.T.ValueOk,p=""){switch(super(),e){case r.T.ValueOk:this.type="light",this.msg="";break;case r.T.ValueNone:this.type="info",this.msg=(p?"Retrieving data for " + p + ".":"Retrieving data.")+" "+"Please wait...";break;case r.T.ValueStale:this.type="warning",this.msg=p?"Displaying previously cached data for " + p + ".":"Displaying previously cached data.";break;case r.T.ValueException:this.type="danger",this.msg=(p?"Could not load data for " + p + ".":"Could not load data.")+" "+"Please check the cluster health."}}}},71225:(v,b,i)=>{"use strict";i.d(b,{c:()=>r});class r{constructor(f="light",u=""){this.type=f,this.msg=u}}},34501:(v,b,i)=>{"use strict";i.d(b,{G:()=>ue});var r=i(89724),a=i(65862),f=i(71334),u=i(11048);const e=function(re){return[re]};function p(re,H){if(1&re&&(r.TgZ(0,"td",8),r._UZ(1,"i",9),r.qZA()),2&re){const se=r.oxw(2);r.xp6(1),r.MT6("alert-",se.bootstrapClass," ",se.typeIcon,""),r.Q6J("ngClass",r.VKq(5,e,se.icons.large3x))}}function g(re,H){if(1&re&&(r.TgZ(0,"td",10),r._uU(1),r.qZA()),2&re){const se=r.oxw(2);r.xp6(1),r.Oqu(se.title)}}function T(re,H){1&re&&r.GkF(0)}function M(re,H){if(1&re&&(r.ynx(0),r.TgZ(1,"tr"),r.YNc(2,p,2,7,"td",4),r.YNc(3,g,2,1,"td",5),r.qZA(),r.TgZ(4,"tr")(5,"td",6),r.YNc(6,T,1,0,"ng-container",7),r.qZA()(),r.BQk()),2&re){const se=r.oxw(),ae=r.MAs(6);r.xp6(2),r.Q6J("ngIf",se.showIcon),r.xp6(1),r.Q6J("ngIf",se.showTitle),r.xp6(3),r.Q6J("ngTemplateOutlet",ae)}}function w(re,H){if(1&re&&(r.TgZ(0,"td",12),r._UZ(1,"i",13),r.qZA()),2&re){const se=r.oxw(2);r.xp6(1),r.MT6("alert-",se.bootstrapClass," ",se.typeIcon,"")}}function R(re,H){if(1&re&&(r.TgZ(0,"td",10),r._uU(1),r.qZA()),2&re){const se=r.oxw(2);r.xp6(1),r.Oqu(se.title)}}function U(re,H){1&re&&r.GkF(0)}function W(re,H){if(1&re&&(r.TgZ(0,"tr"),r.YNc(1,w,2,4,"td",11),r.YNc(2,R,2,1,"td",5),r.TgZ(3,"td",6),r.YNc(4,U,1,0,"ng-container",7),r.qZA()()),2&re){const se=r.oxw(),ae=r.MAs(6);r.xp6(1),r.Q6J("ngIf",se.showIcon),r.xp6(1),r.Q6J("ngIf",se.showTitle),r.xp6(2),r.Q6J("ngTemplateOutlet",ae)}}function j(re,H){1&re&&r.Hsn(0)}const q=["*"];let ue=(()=>{class re{constructor(){this.title="",this.bootstrapClass="",this.size="normal",this.showIcon=!0,this.showTitle=!0,this.dismissible=!1,this.dismissed=new r.vpe,this.icons=a.P}ngOnInit(){switch(this.type){case"warning":this.title=this.title||"Warning",this.typeIcon=this.typeIcon||a.P.warning,this.bootstrapClass=this.bootstrapClass||"warning";break;case"error":this.title=this.title||"Error",this.typeIcon=this.typeIcon||a.P.destroyCircle,this.bootstrapClass=this.bootstrapClass||"danger";break;case"info":this.title=this.title||"Information",this.typeIcon=this.typeIcon||a.P.infoCircle,this.bootstrapClass=this.bootstrapClass||"info";break;case"success":this.title=this.title||"Success",this.typeIcon=this.typeIcon||a.P.check,this.bootstrapClass=this.bootstrapClass||"success";break;case"danger":this.title=this.title||"Danger",this.typeIcon=this.typeIcon||a.P.warning,this.bootstrapClass=this.bootstrapClass||"danger"}}onClose(){this.dismissed.emit()}}return re.\u0275fac=function(se){return new(se||re)},re.\u0275cmp=r.Xpm({type:re,selectors:[["cd-alert-panel"]],inputs:{title:"title",bootstrapClass:"bootstrapClass",type:"type",typeIcon:"typeIcon",size:"size",showIcon:"showIcon",showTitle:"showTitle",dismissible:"dismissible"},outputs:{dismissed:"dismissed"},ngContentSelectors:q,decls:7,vars:4,consts:[[3,"type","dismissible","closed"],[4,"ngIf","ngIfElse"],["slim",""],["content",""],["rowspan","2","class","alert-panel-icon",4,"ngIf"],["class","alert-panel-title",4,"ngIf"],[1,"alert-panel-text"],[4,"ngTemplateOutlet"],["rowspan","2",1,"alert-panel-icon"],["aria-hidden","true",3,"ngClass"],[1,"alert-panel-title"],["class","alert-panel-icon",4,"ngIf"],[1,"alert-panel-icon"],["aria-hidden","true"]],template:function(se,ae){if(1&se&&(r.F$t(),r.TgZ(0,"ngb-alert",0),r.NdJ("closed",function(){return ae.onClose()}),r.TgZ(1,"table"),r.YNc(2,M,7,3,"ng-container",1),r.YNc(3,W,5,3,"ng-template",null,2,r.W1O),r.qZA()(),r.YNc(5,j,1,0,"ng-template",null,3,r.W1O)),2&se){const ie=r.MAs(4);r.s9C("type",ae.bootstrapClass),r.Q6J("dismissible",ae.dismissible),r.xp6(2),r.Q6J("ngIf","normal"===ae.size)("ngIfElse",ie)}},directives:[f.xm,u.O5,u.mk,u.tP],styles:[".alert-panel-icon[_ngcontent-%COMP%]{padding-right:.5em;vertical-align:top}.alert-panel-title[_ngcontent-%COMP%]{font-weight:700}.alert[_ngcontent-%COMP%]{margin-bottom:0}"]}),re})()},13472:(v,b,i)=>{"use strict";i.d(b,{W:()=>e});var r=i(89724),a=i(79512),f=i(11048),u=i(87925);let e=(()=>{class p{constructor(T,M){this.location=T,this.actionLabels=M,this.backAction=new r.vpe,this.name=this.actionLabels.CANCEL}back(){0===this.backAction.observers.length?this.location.back():this.backAction.emit()}}return p.\u0275fac=function(T){return new(T||p)(r.Y36(f.Ye),r.Y36(a.p4))},p.\u0275cmp=r.Xpm({type:p,selectors:[["cd-back-button"]],inputs:{name:"name"},outputs:{backAction:"backAction"},decls:2,vars:1,consts:[["aria-label","Back","type","button",1,"btn","btn-light","tc_backButton",3,"click"]],template:function(T,M){1&T&&(r.TgZ(0,"button",0),r.NdJ("click",function(){return M.back()}),r._uU(1),r.qZA()),2&T&&(r.xp6(1),r.hij(" ",M.name,"\n"))},directives:[u.o],styles:[""]}),p})()},15626:(v,b,i)=>{"use strict";i.d(b,{K:()=>R});var r=i(11048),a=i(1659),f=i(55860),u=i(71334),e=i(90504),p=i(72621),g=i(85770),T=i(35540),M=i(12455),w=i(89724);let R=(()=>{class U{}return U.\u0275fac=function(j){return new(j||U)},U.\u0275mod=w.oAB({type:U}),U.\u0275inj=w.cJS({providers:[],imports:[[r.ez,a.u5,a.UX,u._A,u.dT,u.ZQ,u.HK,p.m9,a.UX,M.D,T.o,u.XC,e.w,g.t,f.Bz,u.M,u.UL]]}),U})()},36169:(v,b,i)=>{"use strict";i.d(b,{Y:()=>R});var r=i(1659),a=i(89724),f=i(71334),u=i(60312),e=i(11048),p=i(41582),g=i(30839);function T(U,W){1&U&&(a.TgZ(0,"span",11),a._UZ(1,"i",12),a.qZA())}function M(U,W){1&U&&a.GkF(0)}function w(U,W){if(1&U&&(a.TgZ(0,"p"),a._uU(1),a.qZA()),2&U){const j=a.oxw();a.xp6(1),a.hij(" ",j.description," ")}}let R=(()=>{class U{constructor(j){this.activeModal=j,this.warning=!1,this.showSubmit=!0,this.showCancel=!0,this.boundCancel=this.cancel.bind(this),this.canceled=!1,this.confirmationForm=new r.cw({})}ngOnInit(){if(this.bodyContext=this.bodyContext||{},this.bodyContext.$implicit=this.bodyData,!this.onSubmit)throw new Error("No submit action defined");if(!this.buttonText)throw new Error("No action name defined");if(!this.titleText)throw new Error("No title defined");if(!this.bodyTpl&&!this.description)throw new Error("No description defined")}ngOnDestroy(){this.onCancel&&this.canceled&&this.onCancel()}cancel(){this.canceled=!0,this.activeModal.close()}stopLoadingSpinner(){this.confirmationForm.setErrors({cdSubmitButton:!0})}}return U.\u0275fac=function(j){return new(j||U)(a.Y36(f.Kz))},U.\u0275cmp=a.Xpm({type:U,selectors:[["cd-confirmation-modal"]],decls:12,vars:10,consts:[[3,"hide"],[1,"modal-title"],["class","text-warning",4,"ngIf"],[1,"modal-content"],["name","confirmationForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngIf"],[1,"modal-footer"],[3,"form","submitText","showCancel","showSubmit","submitActionEvent","backActionEvent"],[1,"text-warning"],[1,"fa","fa-exclamation-triangle","fa-1x"]],template:function(j,q){1&j&&(a.TgZ(0,"cd-modal",0),a.NdJ("hide",function(){return q.cancel()}),a.ynx(1,1),a.YNc(2,T,2,0,"span",2),a._uU(3),a.BQk(),a.ynx(4,3),a.TgZ(5,"form",4,5)(7,"div",6),a.YNc(8,M,1,0,"ng-container",7),a.YNc(9,w,2,1,"p",8),a.qZA(),a.TgZ(10,"div",9)(11,"cd-form-button-panel",10),a.NdJ("submitActionEvent",function(){return q.onSubmit(q.confirmationForm.value)})("backActionEvent",function(){return q.boundCancel()}),a.qZA()()(),a.BQk(),a.qZA()),2&j&&(a.xp6(2),a.Q6J("ngIf",q.warning),a.xp6(1),a.Oqu(q.titleText),a.xp6(2),a.Q6J("formGroup",q.confirmationForm),a.xp6(3),a.Q6J("ngTemplateOutlet",q.bodyTpl)("ngTemplateOutletContext",q.bodyContext),a.xp6(1),a.Q6J("ngIf",q.description),a.xp6(2),a.Q6J("form",q.confirmationForm)("submitText",q.buttonText)("showCancel",q.showCancel)("showSubmit",q.showSubmit))},directives:[u.z,e.O5,r._Y,r.JL,r.sg,p.V,e.tP,g.p],styles:[""]}),U})()},58039:(v,b,i)=>{"use strict";i.d(b,{s:()=>T});var r=i(97057),a=i(65862),f=i(89724),u=i(92870),e=i(87925),p=i(11048);const g=function(M){return[M]};let T=(()=>{class M{constructor(R){this.toastr=R,this.byId=!0,this.icons=a.P}getText(){return document.getElementById(this.source).value}onClick(){try{const R=(0,r.qY)(),U=this.byId?this.getText():this.source,W=()=>{this.toastr.success("Copied text to the clipboard successfully.")};["firefox","ie","ios","safari"].includes(R.name)?navigator.clipboard.writeText(U).then(()=>W()):navigator.permissions.query({name:"clipboard-write"}).then(j=>{("granted"===j.state||"prompt"===j.state)&&navigator.clipboard.writeText(U).then(()=>W())})}catch(R){this.toastr.error("Failed to copy text to the clipboard.")}}}return M.\u0275fac=function(R){return new(R||M)(f.Y36(u._W))},M.\u0275cmp=f.Xpm({type:M,selectors:[["cd-copy-2-clipboard-button"]],hostBindings:function(R,U){1&R&&f.NdJ("click",function(){return U.onClick()})},inputs:{source:"source",byId:"byId"},decls:2,vars:3,consts:function(){let w;return w="Copy to Clipboard",[["type","button","title",w,1,"btn","btn-light",3,"click"],[3,"ngClass"]]},template:function(R,U){1&R&&(f.TgZ(0,"button",0),f.NdJ("click",function(){return U.onClick()}),f._UZ(1,"i",1),f.qZA()),2&R&&(f.xp6(1),f.Q6J("ngClass",f.VKq(1,g,U.icons.clipboard)))},directives:[e.o,p.mk],styles:[""]}),M})()},30982:(v,b,i)=>{"use strict";i.d(b,{M:()=>Ce});var r=i(1659),a=i(95463),f=i(39749),u=i(89724),e=i(71334),p=i(60312),g=i(11048),T=i(41582),M=i(56310),w=i(87925),R=i(94276),U=i(82945),W=i(30839);function j(ce,Be){1&ce&&u.GkF(0)}function q(ce,Be){1&ce&&u.GkF(0)}function ue(ce,Be){if(1&ce&&(u.TgZ(0,"p"),u.tHW(1,21),u.ALo(2,"lowercase"),u._UZ(3,"strong"),u.N_p(),u.qZA()),2&ce){const Ve=u.oxw(2);u.xp6(3),u.pQV(u.lcZ(2,2,Ve.actionDescription))(Ve.itemNames[0]),u.QtT(1)}}function re(ce,Be){if(1&ce&&(u.TgZ(0,"li")(1,"strong"),u._uU(2),u.qZA()()),2&ce){const Ve=Be.$implicit;u.xp6(2),u.Oqu(Ve)}}function H(ce,Be){if(1&ce&&(u.TgZ(0,"p"),u.SDv(1,22),u.ALo(2,"lowercase"),u.qZA(),u.TgZ(3,"ul"),u.YNc(4,re,3,1,"li",23),u.qZA()),2&ce){const Ve=u.oxw(2);u.xp6(2),u.pQV(u.lcZ(2,2,Ve.actionDescription)),u.QtT(1),u.xp6(2),u.Q6J("ngForOf",Ve.itemNames)}}function se(ce,Be){if(1&ce&&(u.TgZ(0,"span"),u.YNc(1,ue,4,4,"p",10),u.YNc(2,H,5,4,"ng-template",null,20,u.W1O),u.qZA()),2&ce){const Ve=u.MAs(3),Xe=u.oxw();u.xp6(1),u.Q6J("ngIf",1===Xe.itemNames.length)("ngIfElse",Ve)}}function ae(ce,Be){if(1&ce&&(u.TgZ(0,"p"),u.SDv(1,24),u.ALo(2,"lowercase"),u.qZA()),2&ce){const Ve=u.oxw();u.xp6(2),u.pQV(u.lcZ(2,2,Ve.actionDescription))(Ve.itemDescription),u.QtT(1)}}function ie(ce,Be){1&ce&&u.GkF(0)}function fe(ce,Be){if(1&ce&&(u._uU(0),u.ALo(1,"titlecase")),2&ce){const Ve=u.oxw();u.AsE(" ",u.lcZ(1,2,Ve.actionDescription)," ",Ve.itemDescription,"\n")}}const _e=function(ce){return{form:ce}};let Ce=(()=>{class ce{constructor(Ve){this.activeModal=Ve,this.actionDescription="delete"}ngOnInit(){const Ve={confirmation:new r.NI(!1,[r.kI.requiredTrue])};if(this.childFormGroup&&(Ve.child=this.childFormGroup),this.deletionForm=new a.d(Ve),!this.submitAction&&!this.submitActionObservable)throw new Error("No submit action defined")}callSubmitAction(){this.submitActionObservable?this.submitActionObservable().subscribe({error:this.stopLoadingSpinner.bind(this),complete:this.hideModal.bind(this)}):this.submitAction()}hideModal(){this.activeModal.close()}stopLoadingSpinner(){this.deletionForm.setErrors({cdSubmitButton:!0})}}return ce.\u0275fac=function(Ve){return new(Ve||ce)(u.Y36(e.Kz))},ce.\u0275cmp=u.Xpm({type:ce,selectors:[["cd-deletion-modal"]],viewQuery:function(Ve,Xe){if(1&Ve&&u.Gf(f.w,7),2&Ve){let He;u.iGM(He=u.CRH())&&(Xe.submitButton=He.first)}},decls:24,vars:15,consts:function(){let Be,Ve,Xe,He;return Be="Yes, I am sure.",Ve="Are you sure that you want to " + "\ufffd0\ufffd" + " " + "\ufffd#3\ufffd" + "" + "\ufffd1\ufffd" + "" + "\ufffd/#3\ufffd" + "?",Xe="Are you sure that you want to " + "\ufffd0\ufffd" + " the selected items?",He="Are you sure that you want to " + "\ufffd0\ufffd" + " the selected " + "\ufffd1\ufffd" + "?",[[3,"modalRef"],["modal",""],[1,"modal-title"],[4,"ngTemplateOutlet"],[1,"modal-content"],["name","deletionForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"question"],[4,"ngIf","ngIfElse"],["noNames",""],[1,"form-group"],[1,"custom-control","custom-checkbox"],["type","checkbox","name","confirmation","id","confirmation","formControlName","confirmation","autofocus","",1,"custom-control-input"],["for","confirmation",1,"custom-control-label"],Be,[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],["deletionHeading",""],["manyNames",""],Ve,Xe,[4,"ngFor","ngForOf"],He]},template:function(Ve,Xe){if(1&Ve&&(u.TgZ(0,"cd-modal",0,1),u.ynx(2,2),u.YNc(3,j,1,0,"ng-container",3),u.BQk(),u.ynx(4,4),u.TgZ(5,"form",5,6)(7,"div",7),u.YNc(8,q,1,0,"ng-container",8),u.TgZ(9,"div",9),u.YNc(10,se,4,2,"span",10),u.YNc(11,ae,3,4,"ng-template",null,11,u.W1O),u.YNc(13,ie,1,0,"ng-container",8),u.TgZ(14,"div",12)(15,"div",13),u._UZ(16,"input",14),u.TgZ(17,"label",15),u.SDv(18,16),u.qZA()()()()(),u.TgZ(19,"div",17)(20,"cd-form-button-panel",18),u.NdJ("submitActionEvent",function(){return Xe.callSubmitAction()}),u.ALo(21,"titlecase"),u.qZA()()(),u.BQk(),u.qZA(),u.YNc(22,fe,2,4,"ng-template",null,19,u.W1O)),2&Ve){const He=u.MAs(12),Pe=u.MAs(23);u.Q6J("modalRef",Xe.activeModal),u.xp6(3),u.Q6J("ngTemplateOutlet",Pe),u.xp6(2),u.Q6J("formGroup",Xe.deletionForm),u.xp6(3),u.Q6J("ngTemplateOutlet",Xe.bodyTemplate)("ngTemplateOutletContext",Xe.bodyContext),u.xp6(2),u.Q6J("ngIf",Xe.itemNames)("ngIfElse",He),u.xp6(3),u.Q6J("ngTemplateOutlet",Xe.childFormGroupTemplate)("ngTemplateOutletContext",u.VKq(13,_e,Xe.deletionForm)),u.xp6(7),u.Q6J("form",Xe.deletionForm)("submitText",u.lcZ(21,11,Xe.actionDescription)+" "+Xe.itemDescription)}},directives:[p.z,g.tP,r._Y,r.JL,r.sg,T.V,g.O5,g.sg,M.P,w.o,r.Wl,R.b,r.JJ,r.u,U.U,W.p],pipes:[g.i8,g.rS],styles:[".modal-body[_ngcontent-%COMP%]   .question[_ngcontent-%COMP%]{margin-top:1em}.modal-body[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{font-weight:700}.modal-body[_ngcontent-%COMP%]   .question[_ngcontent-%COMP%]   .form-check[_ngcontent-%COMP%]{padding-top:7px}"]}),ce})()},52266:(v,b,i)=>{"use strict";i.d(b,{J:()=>T});var r=i(16738),a=i.n(r),f=i(89724),u=i(71334),e=i(1659),p=i(11048);function g(M,w){if(1&M){const R=f.EpF();f.TgZ(0,"div",0)(1,"ngb-timepicker",4),f.NdJ("ngModelChange",function(W){return f.CHM(R),f.oxw().time=W})("ngModelChange",function(){return f.CHM(R),f.oxw().onModelChange()}),f.qZA()()}if(2&M){const R=f.oxw();f.xp6(1),f.Q6J("seconds",R.hasSeconds)("ngModel",R.time)}}let T=(()=>{class M{constructor(R){this.calendar=R,this.hasSeconds=!0,this.hasTime=!0}ngOnInit(){var R;this.minDate=this.calendar.getToday(),this.format=this.hasTime?this.hasSeconds?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD HH:mm":"YYYY-MM-DD";let U=a()(null===(R=this.control)||void 0===R?void 0:R.value,this.format);(!U.isValid()||U.isBefore(a()()))&&(U=a()()),this.date={year:U.year(),month:U.month()+1,day:U.date()},this.time={hour:U.hour(),minute:U.minute(),second:U.second()},this.onModelChange()}onModelChange(){if(this.date){const R=Object.assign({},this.date,this.time);R.month--,setTimeout(()=>{this.control.setValue(a()(R).format(this.format))})}else setTimeout(()=>{this.control.setValue("")})}}return M.\u0275fac=function(R){return new(R||M)(f.Y36(u.vL))},M.\u0275cmp=f.Xpm({type:M,selectors:[["cd-date-time-picker"]],inputs:{control:"control",hasSeconds:"hasSeconds",hasTime:"hasTime"},decls:4,vars:3,consts:[[1,"d-flex","justify-content-center"],[3,"ngModel","minDate","ngModelChange"],["dp",""],["class","d-flex justify-content-center",4,"ngIf"],[3,"seconds","ngModel","ngModelChange"]],template:function(R,U){1&R&&(f.TgZ(0,"div",0)(1,"ngb-datepicker",1,2),f.NdJ("ngModelChange",function(j){return U.date=j})("ngModelChange",function(){return U.onModelChange()}),f.qZA()(),f.YNc(3,g,2,2,"div",3)),2&R&&(f.xp6(1),f.Q6J("ngModel",U.date)("minDate",U.minDate),f.xp6(2),f.Q6J("ngIf",U.hasTime))},directives:[u.VL,e.JJ,e.On,p.O5,u.Pm],styles:[""]}),M})()},30490:(v,b,i)=>{"use strict";i.d(b,{K:()=>f});var r=i(72625),a=i(89724);let f=(()=>{class u{constructor(p){this.docService=p,this.docText="documentation"}ngOnInit(){this.noSubscribe?this.docUrl=this.docService.urlGenerator(this.section):this.docService.subscribeOnce(this.section,p=>{this.docUrl=p})}}return u.\u0275fac=function(p){return new(p||u)(a.Y36(r.R))},u.\u0275cmp=a.Xpm({type:u,selectors:[["cd-doc"]],inputs:{section:"section",docText:"docText",noSubscribe:"noSubscribe"},decls:2,vars:2,consts:[["target","_blank",3,"href"]],template:function(p,g){1&p&&(a.TgZ(0,"a",0),a._uU(1),a.qZA()),2&p&&(a.s9C("href",g.docUrl,a.LSH),a.xp6(1),a.Oqu(g.docText))},styles:[""]}),u})()},30839:(v,b,i)=>{"use strict";i.d(b,{p:()=>M});var r=i(89724),a=i(79512),f=i(39749),u=i(11048),e=i(63285),p=i(13472);function g(w,R){if(1&w){const U=r.EpF();r.TgZ(0,"cd-back-button",2),r.NdJ("backAction",function(){return r.CHM(U),r.oxw().backAction()}),r.qZA()}if(2&w){const U=r.oxw();r.Q6J("name",U.cancelText)}}function T(w,R){if(1&w){const U=r.EpF();r.TgZ(0,"cd-submit-button",3),r.NdJ("submitAction",function(){return r.CHM(U),r.oxw().submitAction()}),r._uU(1),r.qZA()}if(2&w){const U=r.oxw();r.Q6J("disabled",U.disabled)("form",U.form)("ariaLabel",U.submitText),r.xp6(1),r.Oqu(U.submitText)}}let M=(()=>{class w{constructor(U,W,j){this.location=U,this.actionLabels=W,this.modalService=j,this.submitActionEvent=new r.vpe,this.backActionEvent=new r.vpe,this.showSubmit=!0,this.showCancel=!0,this.wrappingClass="",this.btnClass="",this.submitText=this.actionLabels.CREATE,this.cancelText=this.actionLabels.CANCEL,this.disabled=!1}submitAction(){this.submitActionEvent.emit()}backAction(){0===this.backActionEvent.observers.length?this.modalService.hasOpenModals()?this.modalService.dismissAll():this.location.back():this.backActionEvent.emit()}}return w.\u0275fac=function(U){return new(U||w)(r.Y36(u.Ye),r.Y36(a.p4),r.Y36(e.Z))},w.\u0275cmp=r.Xpm({type:w,selectors:[["cd-form-button-panel"]],viewQuery:function(U,W){if(1&U&&r.Gf(f.w,5),2&U){let j;r.iGM(j=r.CRH())&&(W.submitButton=j.first)}},inputs:{form:"form",showSubmit:"showSubmit",showCancel:"showCancel",wrappingClass:"wrappingClass",btnClass:"btnClass",submitText:"submitText",cancelText:"cancelText",disabled:"disabled"},outputs:{submitActionEvent:"submitActionEvent",backActionEvent:"backActionEvent"},decls:3,vars:4,consts:[["class","m-2",3,"name","backAction",4,"ngIf"],["data-cy","submitBtn",3,"disabled","form","ariaLabel","submitAction",4,"ngIf"],[1,"m-2",3,"name","backAction"],["data-cy","submitBtn",3,"disabled","form","ariaLabel","submitAction"]],template:function(U,W){1&U&&(r.TgZ(0,"div"),r.YNc(1,g,1,1,"cd-back-button",0),r.YNc(2,T,2,4,"cd-submit-button",1),r.qZA()),2&U&&(r.Tol(W.wrappingClass),r.xp6(1),r.Q6J("ngIf",W.showCancel),r.xp6(1),r.Q6J("ngIf",W.showSubmit))},directives:[u.O5,p.W,f.w],styles:[""]}),w})()},65683:(v,b,i)=>{"use strict";i.d(b,{X:()=>Ge});var r=i(1659),a=i(23815),f=i.n(a),u=i(47557),e=i(28211),p=i(89724),g=i(71334),T=i(62862),M=i(60312),w=i(11048),R=i(41582),U=i(87925),W=i(94276),j=i(17932),q=i(60192),ue=i(30839);function re(Oe,Tt){if(1&Oe&&(p.ynx(0,10),p._uU(1),p.BQk()),2&Oe){const We=p.oxw();p.xp6(1),p.hij(" ",We.titleText," ")}}function H(Oe,Tt){if(1&Oe&&(p.TgZ(0,"p"),p._uU(1),p.qZA()),2&Oe){const We=p.oxw();p.xp6(1),p.Oqu(We.message)}}const se=function(Oe){return{required:Oe}};function ae(Oe,Tt){if(1&Oe&&(p.TgZ(0,"label",18),p._uU(1),p.qZA()),2&Oe){const We=p.oxw().$implicit;p.Q6J("ngClass",p.VKq(3,se,!0===(null==We?null:We.required)))("for",We.name),p.xp6(1),p.hij(" ",We.label," ")}}function ie(Oe,Tt){if(1&Oe&&p._UZ(0,"input",19),2&Oe){const We=p.oxw().$implicit;p.Q6J("type",We.type)("id",We.name)("name",We.name)("formControlName",We.name)}}function fe(Oe,Tt){if(1&Oe&&p._UZ(0,"input",20),2&Oe){const We=p.oxw().$implicit;p.Q6J("id",We.name)("name",We.name)("formControlName",We.name)}}function _e(Oe,Tt){if(1&Oe&&(p.TgZ(0,"option",24),p._uU(1),p.qZA()),2&Oe){const We=p.oxw(2).$implicit;p.Q6J("ngValue",null),p.xp6(1),p.hij(" ",null==We||null==We.typeConfig?null:We.typeConfig.placeholder," ")}}function Ce(Oe,Tt){if(1&Oe&&(p.TgZ(0,"option",25),p._uU(1),p.qZA()),2&Oe){const We=Tt.$implicit;p.Q6J("value",We.value),p.xp6(1),p.hij(" ",We.text," ")}}function ce(Oe,Tt){if(1&Oe&&(p.TgZ(0,"select",21),p.YNc(1,_e,2,2,"option",22),p.YNc(2,Ce,2,2,"option",23),p.qZA()),2&Oe){const We=p.oxw().$implicit;p.Q6J("id",We.name)("formControlName",We.name),p.xp6(1),p.Q6J("ngIf",null==We||null==We.typeConfig?null:We.typeConfig.placeholder),p.xp6(1),p.Q6J("ngForOf",null==We||null==We.typeConfig?null:We.typeConfig.options)}}function Be(Oe,Tt){if(1&Oe&&p._UZ(0,"cd-select-badges",26),2&Oe){const We=p.oxw().$implicit;p.Q6J("id",We.name)("data",We.value)("customBadges",null==We||null==We.typeConfig?null:We.typeConfig.customBadges)("options",null==We||null==We.typeConfig?null:We.typeConfig.options)("messages",null==We||null==We.typeConfig?null:We.typeConfig.messages)}}function Ve(Oe,Tt){if(1&Oe&&(p.TgZ(0,"span",27),p._uU(1),p.qZA()),2&Oe){const We=p.oxw().$implicit,Qt=p.oxw();p.xp6(1),p.hij(" ",Qt.getError(We)," ")}}const Xe=function(Oe,Tt){return{"cd-col-form-input":Oe,"col-sm-12":Tt}},He=function(){return["text","number"]};function Pe(Oe,Tt){if(1&Oe&&(p.ynx(0),p.TgZ(1,"div"),p.YNc(2,ae,2,5,"label",11),p.TgZ(3,"div",12),p.YNc(4,ie,1,4,"input",13),p.YNc(5,fe,1,3,"input",14),p.YNc(6,ce,3,4,"select",15),p.YNc(7,Be,1,5,"cd-select-badges",16),p.YNc(8,Ve,2,1,"span",17),p.qZA()(),p.BQk()),2&Oe){const We=Tt.$implicit,Qt=p.oxw(),Nt=p.MAs(4);p.xp6(1),p.Gre("form-group row cd-",We.name,"-form-group"),p.xp6(1),p.Q6J("ngIf",We.label),p.xp6(1),p.Q6J("ngClass",p.WLB(10,Xe,We.label,!We.label)),p.xp6(1),p.Q6J("ngIf",p.DdM(13,He).includes(We.type)),p.xp6(1),p.Q6J("ngIf","binary"===We.type),p.xp6(1),p.Q6J("ngIf","select"===We.type),p.xp6(1),p.Q6J("ngIf","select-badges"===We.type),p.xp6(1),p.Q6J("ngIf",Qt.formGroup.showError(We.name,Nt))}}let Ge=(()=>{class Oe{constructor(We,Qt,Nt,Yt){this.activeModal=We,this.formBuilder=Qt,this.formatter=Nt,this.dimlessBinaryPipe=Yt}ngOnInit(){this.createForm()}createForm(){const We={};this.fields.forEach(Qt=>{We[Qt.name]=this.createFormControl(Qt)}),this.formGroup=this.formBuilder.group(We)}createFormControl(We){let Qt=[];return f().isBoolean(We.required)&&We.required&&Qt.push(r.kI.required),We.validators&&(Qt=Qt.concat(We.validators)),new r.NI(f().defaultTo("binary"===We.type?this.dimlessBinaryPipe.transform(We.value):We.value,null),{validators:Qt})}getError(We){const Qt=this.formGroup.get(We.name).errors;return Object.keys(Qt).map(Yt=>this.getErrorMessage(Yt,Qt[Yt],We.errors)).join("<br>")}getErrorMessage(We,Qt,Nt){if(Nt){const Yt=Nt[We];if(Yt)return Yt}return["binaryMin","binaryMax"].includes(We)?Qt():"required"===We?"This field is required.":"An error occurred."}onSubmitForm(We){this.fields.filter(Nt=>"binary"===Nt.type).map(Nt=>Nt.name).forEach(Nt=>{const Yt=We[Nt];Yt&&(We[Nt]=this.formatter.toBytes(Yt))}),this.activeModal.close(),f().isFunction(this.onSubmit)&&this.onSubmit(We)}}return Oe.\u0275fac=function(We){return new(We||Oe)(p.Y36(g.Kz),p.Y36(T.O),p.Y36(e.H),p.Y36(u.$))},Oe.\u0275cmp=p.Xpm({type:Oe,selectors:[["cd-form-modal"]],decls:10,vars:7,consts:[[3,"modalRef"],["class","modal-title",4,"ngIf"],[1,"modal-content"],["novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[1,"modal-title"],["class","cd-col-form-label",3,"ngClass","for",4,"ngIf"],[3,"ngClass"],["class","form-control",3,"type","id","name","formControlName",4,"ngIf"],["type","text","class","form-control","cdDimlessBinary","",3,"id","name","formControlName",4,"ngIf"],["class","form-select",3,"id","formControlName",4,"ngIf"],[3,"id","data","customBadges","options","messages",4,"ngIf"],["class","invalid-feedback",4,"ngIf"],[1,"cd-col-form-label",3,"ngClass","for"],[1,"form-control",3,"type","id","name","formControlName"],["type","text","cdDimlessBinary","",1,"form-control",3,"id","name","formControlName"],[1,"form-select",3,"id","formControlName"],[3,"ngValue",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],[3,"ngValue"],[3,"value"],[3,"id","data","customBadges","options","messages"],[1,"invalid-feedback"]],template:function(We,Qt){1&We&&(p.TgZ(0,"cd-modal",0),p.YNc(1,re,2,1,"ng-container",1),p.ynx(2,2),p.TgZ(3,"form",3,4)(5,"div",5),p.YNc(6,H,2,1,"p",6),p.YNc(7,Pe,9,14,"ng-container",7),p.qZA(),p.TgZ(8,"div",8)(9,"cd-form-button-panel",9),p.NdJ("submitActionEvent",function(){return Qt.onSubmitForm(Qt.formGroup.value)}),p.qZA()()(),p.BQk(),p.qZA()),2&We&&(p.Q6J("modalRef",Qt.activeModal),p.xp6(1),p.Q6J("ngIf",Qt.titleText),p.xp6(2),p.Q6J("formGroup",Qt.formGroup),p.xp6(3),p.Q6J("ngIf",Qt.message),p.xp6(1),p.Q6J("ngForOf",Qt.fields),p.xp6(2),p.Q6J("form",Qt.formGroup)("submitText",Qt.submitButtonText))},directives:[M.z,w.O5,r._Y,r.JL,r.sg,R.V,w.sg,w.mk,U.o,r.Fj,W.b,r.JJ,r.u,j.Q,r.EJ,r.YN,r.Kr,q.m,ue.p],styles:[""]}),Oe})()},76317:(v,b,i)=>{"use strict";i.d(b,{F:()=>ae});var r=i(9837),a=i(65862),f=i(89724),u=i(14800),e=i(11048),p=i(8958),g=i(34501),T=i(30490),M=i(87925),w=i(1659);function R(ie,fe){1&ie&&(f.TgZ(0,"cd-loading-panel"),f.SDv(1,2),f.qZA())}function U(ie,fe){1&ie&&(f.TgZ(0,"cd-alert-panel",3),f.tHW(1,4),f._UZ(2,"cd-doc",5),f.N_p(),f.qZA())}function W(ie,fe){1&ie&&(f.TgZ(0,"cd-alert-panel",3),f.tHW(1,6),f._UZ(2,"cd-doc",5),f.N_p(),f.qZA())}function j(ie,fe){if(1&ie&&(f.TgZ(0,"option",25),f._uU(1),f.qZA()),2&ie){const _e=fe.$implicit;f.Q6J("ngValue",_e.value),f.xp6(1),f.hij("",_e.name," ")}}function q(ie,fe){if(1&ie){const _e=f.EpF();f.TgZ(0,"cd-alert-panel",28),f.NdJ("dismissed",function(){return f.CHM(_e),f.oxw(3).showMessage=!1}),f.tHW(1,29),f._UZ(2,"a",30),f.N_p(),f.qZA()}if(2&ie){const _e=f.oxw(3);f.xp6(2),f.Q6J("href",_e.grafanaSrc,f.LSH)}}function ue(ie,fe){if(1&ie&&(f.TgZ(0,"div",26),f.YNc(1,q,3,1,"cd-alert-panel",27),f.qZA()),2&ie){const _e=f.oxw(2);f.xp6(1),f.Q6J("ngIf",_e.showMessage)}}const re=function(ie){return[ie]},H=function(ie,fe){return[ie,fe]};function se(ie,fe){if(1&ie){const _e=f.EpF();f.ynx(0),f.TgZ(1,"div",7)(2,"div",8)(3,"div",9)(4,"label",10),f.SDv(5,11),f.qZA()(),f.TgZ(6,"div",12)(7,"select",13),f.NdJ("ngModelChange",function(ce){return f.CHM(_e),f.oxw().time=ce})("ngModelChange",function(ce){return f.CHM(_e),f.oxw().onTimepickerChange(ce)}),f.YNc(8,j,2,2,"option",14),f.qZA()(),f.TgZ(9,"div",15)(10,"button",16),f.NdJ("click",function(){return f.CHM(_e),f.oxw().reset()}),f._UZ(11,"i",17),f.qZA()(),f.TgZ(12,"div",15)(13,"button",18),f.NdJ("click",function(){f.CHM(_e);const ce=f.oxw();return ce.showMessage=!ce.showMessage}),f._UZ(14,"i",17),f.qZA()()()(),f.TgZ(15,"div",19),f.YNc(16,ue,2,1,"div",20),f.qZA(),f.TgZ(17,"div",19)(18,"div",21)(19,"div",22),f._UZ(20,"iframe",23,24),f.qZA()()(),f.BQk()}if(2&ie){const _e=f.oxw();f.xp6(7),f.Q6J("ngModel",_e.time),f.xp6(1),f.Q6J("ngForOf",_e.grafanaTimes),f.xp6(3),f.Q6J("ngClass",f.VKq(8,re,_e.icons.undo)),f.xp6(3),f.Q6J("ngClass",f.WLB(10,H,_e.icons.infoCircle,_e.icons.large)),f.xp6(2),f.Q6J("ngIf",_e.showMessage),f.xp6(4),f.Q6J("src",_e.grafanaSrc,f.uOi)("ngClass",_e.panelStyle)("title",_e.title)}}let ae=(()=>{class ie{constructor(_e,Ce){this.sanitizer=_e,this.settingsService=Ce,this.grafanaExist=!1,this.mode="&kiosk",this.loading=!0,this.styles={},this.dashboardExist=!0,this.showMessage=!1,this.icons=a.P,this.DEFAULT_TIME="from=now-1h&to=now",this.grafanaTimes=[{name:"Last 5 minutes",value:"from=now-5m&to=now"},{name:"Last 15 minutes",value:"from=now-15m&to=now"},{name:"Last 30 minutes",value:"from=now-30m&to=now"},{name:"Last 1 hour (Default)",value:"from=now-1h&to=now"},{name:"Last 3 hours",value:"from=now-3h&to=now"},{name:"Last 6 hours",value:"from=now-6h&to=now"},{name:"Last 12 hours",value:"from=now-12h&to=now"},{name:"Last 24 hours",value:"from=now-24h&to=now"},{name:"Yesterday",value:"from=now-1d%2Fd&to=now-1d%2Fd"},{name:"Today so far",value:"from=now%2Fd&to=now"},{name:"Day before yesterday",value:"from=now-2d%2Fd&to=now-2d%2Fd"},{name:"Last 2 days",value:"from=now-2d&to=now"},{name:"This day last week",value:"from=now-7d%2Fd&to=now-7d%2Fd"},{name:"Previous week",value:"from=now-1w%2Fw&to=now-1w%2Fw"},{name:"This week so far",value:"from=now%2Fw&to=now"},{name:"Last 7 days",value:"from=now-7d&to=now"},{name:"Previous month",value:"from=now-1M%2FM&to=now-1M%2FM"},{name:"This month so far",value:"from=now%2FM&to=now"},{name:"Last 30 days",value:"from=now-30d&to=now"},{name:"Last 90 days",value:"from=now-90d&to=now"},{name:"Last 6 months",value:"from=now-6M&to=now"},{name:"Last 1 year",value:"from=now-1y&to=now"},{name:"Previous year",value:"from=now-1y%2Fy&to=now-1y%2Fy"},{name:"This year so far",value:"from=now%2Fy&to=now"},{name:"Last 2 years",value:"from=now-2y&to=now"},{name:"Last 5 years",value:"from=now-5y&to=now"}]}ngOnInit(){this.time=this.DEFAULT_TIME,this.styles={one:"grafana_one",two:"grafana_two",three:"grafana_three",four:"grafana_four"},this.datasource="metrics"===this.type?"Dashboard1":"Loki",this.settingsService.ifSettingConfigured("api/grafana/url",_e=>{this.grafanaExist=!0,this.loading=!1,this.baseUrl=_e+"/d/",this.getFrame()}),this.panelStyle=this.styles[this.grafanaStyle]}getFrame(){this.settingsService.validateGrafanaDashboardUrl(this.uid).subscribe(_e=>this.dashboardExist=200===_e),this.url="metrics"===this.type?`${this.baseUrl}${this.uid}/${this.grafanaPath}&refresh=2s&var-datasource=${this.datasource}${this.mode}&${this.time}`:`${this.baseUrl.slice(0,-2)}${this.grafanaPath}orgId=1&left=["now-1h","now","${this.datasource}",{"refId":"A"}]${this.mode}`,this.grafanaSrc=this.sanitizer.bypassSecurityTrustResourceUrl(this.url)}onTimepickerChange(){this.grafanaExist&&this.getFrame()}reset(){this.time=this.DEFAULT_TIME,this.grafanaExist&&this.getFrame()}ngOnChanges(){this.grafanaExist&&this.getFrame()}}return ie.\u0275fac=function(_e){return new(_e||ie)(f.Y36(u.H7),f.Y36(r.g))},ie.\u0275cmp=f.Xpm({type:ie,selectors:[["cd-grafana"]],inputs:{type:"type",grafanaPath:"grafanaPath",grafanaStyle:"grafanaStyle",uid:"uid",title:"title"},features:[f.TTD],decls:4,vars:4,consts:function(){let fe,_e,Ce,ce,Be,Ve,Xe;return fe="Loading panel data...",_e="Please consult the " + "\ufffd#2\ufffd" + "" + "\ufffd/#2\ufffd" + " on how to configure and enable the monitoring functionality.",Ce="Grafana Dashboard doesn't exist. Please refer to " + "\ufffd#2\ufffd" + "" + "\ufffd/#2\ufffd" + " on how to add dashboards to Grafana.",ce="Grafana Time Picker",Be="Reset Settings",Ve="Show hidden information",Xe="If no embedded Grafana Dashboard appeared below, please follow " + "\ufffd#2\ufffd" + "this link " + "\ufffd/#2\ufffd" + " to check if Grafana is reachable and there are no HTTPS certificate issues. You may need to reload this page after accepting any Browser certificate exceptions",[[4,"ngIf"],["type","info",4,"ngIf"],fe,["type","info"],_e,["section","grafana"],Ce,[1,"row","mb-3"],[1,"col-lg-5","d-flex"],[1,"col-md-3","timepicker"],["for","timepicker",1,"mt-2"],ce,[1,"col-sm-4"],["id","timepicker","name","timepicker",1,"form-select",3,"ngModel","ngModelChange"],[3,"ngValue",4,"ngFor","ngForOf"],[1,"col-sm-1"],["title",Be,1,"btn","btn-light","ms-3",3,"click"],[3,"ngClass"],["title",Ve,1,"btn","btn-light","ms-3",3,"click"],[1,"row"],["class","col my-2",4,"ngIf"],[1,"col"],[1,"grafana-container"],["id","iframe","frameborder","0","scrolling","no",1,"grafana",3,"src","ngClass","title"],["iframe",""],[3,"ngValue"],[1,"col","my-2"],["type","info","class","mb-3","dismissible","true",3,"dismissed",4,"ngIf"],["type","info","dismissible","true",1,"mb-3",3,"dismissed"],Xe,["target","_blank","noopener","","noreferrer","",3,"href"]]},template:function(_e,Ce){1&_e&&(f.YNc(0,R,2,0,"cd-loading-panel",0),f.YNc(1,U,3,0,"cd-alert-panel",1),f.YNc(2,W,3,0,"cd-alert-panel",1),f.YNc(3,se,22,13,"ng-container",0)),2&_e&&(f.Q6J("ngIf",Ce.loading&&Ce.grafanaExist),f.xp6(1),f.Q6J("ngIf",!Ce.grafanaExist),f.xp6(1),f.Q6J("ngIf",!Ce.dashboardExist),f.xp6(1),f.Q6J("ngIf",Ce.grafanaExist&&Ce.dashboardExist))},directives:[e.O5,p.b,g.G,T.K,M.o,w.EJ,w.JJ,w.On,e.sg,w.YN,w.Kr,e.mk],styles:[".grafana[_ngcontent-%COMP%]{height:600px;width:100%;z-index:0}.grafana_one[_ngcontent-%COMP%]{height:400px}.grafana_two[_ngcontent-%COMP%]{height:750px}.grafana_three[_ngcontent-%COMP%]{height:900px}.grafana_four[_ngcontent-%COMP%]{height:1160px}.timepicker[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{font-weight:700}.dropdown-menu[_ngcontent-%COMP%]{left:auto;right:20px;top:20px}"]}),ie})()},18372:(v,b,i)=>{"use strict";i.d(b,{S:()=>T});var r=i(65862),a=i(89724),f=i(11048),u=i(71334);function e(M,w){if(1&M&&(a._UZ(0,"div",2),a.Hsn(1)),2&M){const R=a.oxw();a.Tol(R.class),a.Q6J("innerHtml",R.html,a.oJD)}}const p=function(M){return[M]},g=["*"];let T=(()=>{class M{constructor(){this.iconClass="",this.icons=r.P}}return M.\u0275fac=function(R){return new(R||M)},M.\u0275cmp=a.Xpm({type:M,selectors:[["cd-helper"]],inputs:{class:"class",iconClass:"iconClass",html:"html"},ngContentSelectors:g,decls:3,vars:4,consts:[["popoverTpl",""],["aria-hidden","true",3,"ngClass","ngbPopover","click"],[3,"innerHtml"]],template:function(R,U){if(1&R&&(a.F$t(),a.YNc(0,e,2,3,"ng-template",null,0,a.W1O),a.TgZ(2,"i",1),a.NdJ("click",function(j){return j.preventDefault()}),a.qZA()),2&R){const W=a.MAs(1);a.xp6(2),a.Q6J("ngClass",U.iconClass?U.iconClass:a.VKq(2,p,U.icons.questionCircle))("ngbPopover",W)}},directives:[f.mk,u.o8],styles:["i[_ngcontent-%COMP%]{color:#25828e;cursor:pointer;padding-left:4px}"]}),M})()},8958:(v,b,i)=>{"use strict";i.d(b,{b:()=>g});var r=i(65862),a=i(89724),f=i(71334),u=i(11048);const e=function(T,M){return[T,M]},p=["*"];let g=(()=>{class T{constructor(){this.icons=r.P}}return T.\u0275fac=function(w){return new(w||T)},T.\u0275cmp=a.Xpm({type:T,selectors:[["cd-loading-panel"]],ngContentSelectors:p,decls:4,vars:5,consts:[["type","info",3,"dismissible"],["aria-hidden","true",1,"me-2",3,"ngClass"]],template:function(w,R){1&w&&(a.F$t(),a.TgZ(0,"ngb-alert",0)(1,"strong"),a._UZ(2,"i",1),a.qZA(),a.Hsn(3),a.qZA()),2&w&&(a.Q6J("dismissible",!1),a.xp6(2),a.Q6J("ngClass",a.WLB(2,e,R.icons.spinner,R.icons.spin)))},directives:[f.xm,u.mk],styles:[""]}),T})()},60312:(v,b,i)=>{"use strict";i.d(b,{z:()=>g});var r=i(89724),a=i(55860),f=i(11048),u=i(87925);const e=[[["",8,"modal-title"]],[["",8,"modal-content"]]],p=[".modal-title",".modal-content"];let g=(()=>{class T{constructor(w){this.router=w,this.hide=new r.vpe}close(){var w;this.pageURL?this.router.navigate([this.pageURL,{outlets:{modal:null}}]):null===(w=this.modalRef)||void 0===w||w.close(),this.hide.emit()}}return T.\u0275fac=function(w){return new(w||T)(r.Y36(a.F0))},T.\u0275cmp=r.Xpm({type:T,selectors:[["cd-modal"]],inputs:{modalRef:"modalRef",pageURL:"pageURL"},outputs:{hide:"hide"},ngContentSelectors:p,decls:8,vars:2,consts:[[3,"ngClass"],[1,"modal-content"],[1,"modal-header"],[1,"modal-title","float-start"],["type","button","aria-label","Close",1,"btn-close","float-end",3,"click"]],template:function(w,R){1&w&&(r.F$t(e),r.TgZ(0,"div",0)(1,"div",0)(2,"div",1)(3,"div",2)(4,"h4",3),r.Hsn(5),r.qZA(),r.TgZ(6,"button",4),r.NdJ("click",function(){return R.close()}),r.qZA()(),r.Hsn(7,1),r.qZA()()()),2&w&&(r.Q6J("ngClass",R.pageURL?"modal":""),r.xp6(1),r.Q6J("ngClass",R.pageURL?"modal-dialog":""))},directives:[f.mk,u.o],styles:[".modal-header[_ngcontent-%COMP%]{background-color:#e9ecef;border-bottom:1px solid #ced4da;border-radius:5px 5px 0 0}  cd-modal .modal-footer{background-color:#e9ecef;border-bottom:1px solid #ced4da;border-radius:0 0 5px 5px}  cd-modal .modal-body{max-height:70vh;overflow-x:hidden;overflow-y:auto}button.close[_ngcontent-%COMP%]{outline:none}"]}),T})()},60192:(v,b,i)=>{"use strict";i.d(b,{m:()=>M});var r=i(89724),a=i(65862),f=i(7022),u=i(39092),e=i(11048);const p=["cdSelect"],g=function(w){return[w]};function T(w,R){if(1&w){const U=r.EpF();r.TgZ(0,"span")(1,"span",4)(2,"span",5),r._uU(3),r.qZA(),r.TgZ(4,"a",6),r.NdJ("click",function(){const q=r.CHM(U).$implicit;return r.oxw(),r.MAs(1).removeItem(q)}),r._UZ(5,"i",7),r.qZA()()()}if(2&w){const U=R.$implicit,W=r.oxw();r.xp6(3),r.Oqu(U),r.xp6(2),r.Q6J("ngClass",r.VKq(2,g,W.icons.destroy))}}let M=(()=>{class w{constructor(){this.data=[],this.options=[],this.messages=new f.a({}),this.customBadges=!1,this.customBadgeValidators=[],this.selection=new r.vpe,this.icons=a.P}}return w.\u0275fac=function(U){return new(U||w)},w.\u0275cmp=r.Xpm({type:w,selectors:[["cd-select-badges"]],viewQuery:function(U,W){if(1&U&&r.Gf(p,7),2&U){let j;r.iGM(j=r.CRH())&&(W.cdSelect=j.first)}},inputs:{data:"data",options:"options",messages:"messages",selectionLimit:"selectionLimit",customBadges:"customBadges",customBadgeValidators:"customBadgeValidators"},outputs:{selection:"selection"},decls:4,vars:10,consts:[["elemClass","me-2 select-menu-edit",3,"data","options","messages","selectionLimit","customBadges","customBadgeValidators","selection"],["cdSelect",""],[3,"ngClass"],[4,"ngFor","ngForOf"],[1,"badge","badge-dark","me-2"],[1,"me-2"],[1,"badge-remove",3,"click"],["aria-hidden","true",3,"ngClass"]],template:function(U,W){1&U&&(r.TgZ(0,"cd-select",0,1),r.NdJ("selection",function(q){return W.selection.emit(q)}),r._UZ(2,"i",2),r.qZA(),r.YNc(3,T,6,4,"span",3)),2&U&&(r.Q6J("data",W.data)("options",W.options)("messages",W.messages)("selectionLimit",W.selectionLimit)("customBadges",W.customBadges)("customBadgeValidators",W.customBadgeValidators),r.xp6(2),r.Q6J("ngClass",r.VKq(8,g,W.icons.edit)),r.xp6(1),r.Q6J("ngForOf",W.data))},directives:[u.H,e.mk,e.sg],styles:[".badge-remove[_ngcontent-%COMP%]{color:#fff}i.fa-pencil[_ngcontent-%COMP%]{font-size:1.1rem}"]}),w})()},7022:(v,b,i)=>{"use strict";i.d(b,{a:()=>f});var r=i(23815),a=i.n(r);class f{constructor(e){this.customValidations={},this.empty="No items selected.",this.selectionLimit={tooltip:"Deselect item to select again",text:"Selection limit reached"},this.filter="Filter tags",this.add="Add badge",this.noOptions="There are no items available.",a().merge(this,e)}}},14745:(v,b,i)=>{"use strict";i.d(b,{$:()=>r});class r{constructor(f,u,e,p=!0){this.selected=f,this.name=u,this.description=e,this.enabled=p}}},39092:(v,b,i)=>{"use strict";i.d(b,{H:()=>He});var r=i(89724),a=i(1659),f=i(23815),u=i.n(f),e=i(65862),p=i(95463),g=i(7022),T=i(14745),M=i(41582),w=i(87925),R=i(94276),U=i(11048),W=i(71334);function j(Pe,Ge){if(1&Pe&&(r.TgZ(0,"span",12),r._uU(1),r.qZA()),2&Pe){const Oe=r.oxw().$implicit,Tt=r.oxw(2);r.xp6(1),r.hij(" ",Tt.messages.customValidations[Oe]," ")}}function q(Pe,Ge){if(1&Pe&&(r.ynx(0),r.YNc(1,j,2,1,"span",11),r.BQk()),2&Pe){const Oe=Ge.$implicit;r.oxw();const Tt=r.MAs(1),We=r.oxw();r.xp6(1),r.Q6J("ngIf",We.form.showError("filter",Tt)&&We.filter.hasError(Oe))}}const ue=function(Pe){return[Pe]};function re(Pe,Ge){if(1&Pe&&r._UZ(0,"i",18),2&Pe){const Oe=r.oxw(3);r.Q6J("ngClass",r.VKq(1,ue,Oe.icons.check))}}function H(Pe,Ge){if(1&Pe&&(r.ynx(0),r._UZ(1,"br"),r.TgZ(2,"small",19),r._uU(3),r.qZA(),r.BQk()),2&Pe){const Oe=r.oxw().$implicit;r.xp6(3),r.hij(" ",Oe.description,"\xa0 ")}}const se=function(Pe){return{"help-block disabled":Pe}};function ae(Pe,Ge){if(1&Pe){const Oe=r.EpF();r.TgZ(0,"div",13),r.NdJ("click",function(){const Qt=r.CHM(Oe).$implicit;return r.oxw(2).triggerSelection(Qt)}),r.TgZ(1,"div",14),r.YNc(2,re,1,3,"i",15),r._uU(3," \xa0 "),r.qZA(),r.TgZ(4,"div",16),r._uU(5),r.YNc(6,H,4,1,"ng-container",17),r.qZA()()}if(2&Pe){const Oe=Ge.$implicit,Tt=r.oxw(2);r.Q6J("ngClass",r.VKq(4,se,!(Tt.data.length!==Tt.selectionLimit&&Oe.enabled||Oe.selected))),r.xp6(2),r.Q6J("ngIf",Oe.selected),r.xp6(3),r.hij(" ",Oe.name," "),r.xp6(1),r.Q6J("ngIf",Oe.description)}}function ie(Pe,Ge){if(1&Pe){const Oe=r.EpF();r.TgZ(0,"div",20),r.NdJ("click",function(){return r.CHM(Oe),r.oxw(2).addCustomOption()}),r.TgZ(1,"div",14),r._UZ(2,"i",18),r._uU(3," \xa0 "),r.qZA(),r.TgZ(4,"div",16),r._uU(5),r.qZA()()}if(2&Pe){const Oe=r.oxw(2);r.xp6(2),r.Q6J("ngClass",r.VKq(3,ue,Oe.icons.tag)),r.xp6(3),r.AsE(" ",Oe.messages.add," '",Oe.filter.value,"' ")}}function fe(Pe,Ge){if(1&Pe&&(r.TgZ(0,"span",23),r._uU(1),r.qZA()),2&Pe){const Oe=r.oxw(3);r.Q6J("ngbTooltip",Oe.messages.selectionLimit.tooltip),r.xp6(1),r.hij(" ",Oe.messages.selectionLimit.text," ")}}function _e(Pe,Ge){if(1&Pe&&(r.TgZ(0,"div",21),r.YNc(1,fe,2,2,"span",22),r.qZA()),2&Pe){const Oe=r.oxw(2);r.xp6(1),r.Q6J("ngIf",Oe.data.length===Oe.selectionLimit)}}function Ce(Pe,Ge){if(1&Pe){const Oe=r.EpF();r.TgZ(0,"form",4,5)(2,"div")(3,"input",6),r.NdJ("keyup",function(We){r.CHM(Oe);const Qt=r.oxw();return 13===We.keyCode?Qt.selectOption():Qt.updateFilter()}),r.qZA(),r.YNc(4,q,2,1,"ng-container",7),r.qZA()(),r.YNc(5,ae,7,6,"div",8),r.YNc(6,ie,6,5,"div",9),r.YNc(7,_e,2,1,"div",10)}if(2&Pe){const Oe=r.oxw();r.Q6J("formGroup",Oe.form),r.xp6(3),r.Q6J("placeholder",Oe.messages.filter),r.xp6(1),r.Q6J("ngForOf",Oe.Object.keys(Oe.messages.customValidations)),r.xp6(1),r.Q6J("ngForOf",Oe.filteredOptions),r.xp6(1),r.Q6J("ngIf",Oe.isCreatable()),r.xp6(1),r.Q6J("ngIf",Oe.data.length===Oe.selectionLimit)}}function ce(Pe,Ge){if(1&Pe&&(r.TgZ(0,"a",24),r.Hsn(1),r.qZA()),2&Pe){const Oe=r.oxw(),Tt=r.MAs(1);r.Q6J("ngClass",Oe.elemClass)("ngbPopover",Tt)}}function Be(Pe,Ge){if(1&Pe&&(r.TgZ(0,"span",25),r._uU(1),r.qZA()),2&Pe){const Oe=r.oxw();r.xp6(1),r.hij(" ",Oe.messages.empty,"\n")}}function Ve(Pe,Ge){if(1&Pe&&(r.TgZ(0,"span",25),r._uU(1),r.qZA()),2&Pe){const Oe=r.oxw();r.xp6(1),r.hij(" ",Oe.messages.noOptions,"\n")}}const Xe=["*"];let He=(()=>{class Pe{constructor(){this.data=[],this.options=[],this.messages=new g.a({}),this.customBadges=!1,this.customBadgeValidators=[],this.selection=new r.vpe,this.Object=Object,this.filteredOptions=[],this.icons=e.P}ngOnInit(){this.initFilter(),this.data.length>0&&this.initMissingOptions(),this.options=u().sortBy(this.options,["name"]),this.updateOptions()}initFilter(){this.filter=new a.NI("",{validators:this.customBadgeValidators}),this.form=new p.d({filter:this.filter}),this.filteredOptions=[...this.options||[]]}initMissingOptions(){const Oe=this.options.map(We=>We.name);this.data.filter(We=>-1===Oe.indexOf(We)).forEach(We=>this.addOption(We)),this.forceOptionsToReflectData()}addOption(Oe){this.options.push(new T.$(!1,Oe,"")),this.options=u().sortBy(this.options,["name"]),this.triggerSelection(this.options.find(Tt=>Tt.name===Oe))}triggerSelection(Oe){!Oe||this.selectionLimit&&!Oe.selected&&this.data.length>=this.selectionLimit||(Oe.selected=!Oe.selected,this.updateOptions(),this.selection.emit({option:Oe}))}updateOptions(){this.data.splice(0,this.data.length),this.options.forEach(Oe=>{Oe.selected&&this.data.push(Oe.name)}),this.updateFilter()}updateFilter(){this.filteredOptions=this.options.filter(Oe=>Oe.name.includes(this.filter.value))}forceOptionsToReflectData(){this.options.forEach(Oe=>{-1!==this.data.indexOf(Oe.name)&&(Oe.selected=!0)})}ngOnChanges(){this.filter&&this.updateFilter(),this.options&&this.data&&0!==this.data.length&&this.forceOptionsToReflectData()}selectOption(){0===this.filteredOptions.length?this.addCustomOption():(this.triggerSelection(this.filteredOptions[0]),this.resetFilter())}addCustomOption(){!this.isCreatable()||(this.addOption(this.filter.value),this.resetFilter())}isCreatable(){return this.customBadges&&this.filter.valid&&this.filter.value.length>0&&this.filteredOptions.every(Oe=>Oe.name!==this.filter.value)}resetFilter(){this.filter.setValue(""),this.updateFilter()}removeItem(Oe){this.triggerSelection(this.options.find(Tt=>Tt.name===Oe&&Tt.selected))}}return Pe.\u0275fac=function(Oe){return new(Oe||Pe)},Pe.\u0275cmp=r.Xpm({type:Pe,selectors:[["cd-select"]],inputs:{elemClass:"elemClass",data:"data",options:"options",messages:"messages",selectionLimit:"selectionLimit",customBadges:"customBadges",customBadgeValidators:"customBadgeValidators"},outputs:{selection:"selection"},features:[r.TTD],ngContentSelectors:Xe,decls:5,vars:3,consts:[["popTemplate",""],["class","select-menu-edit float-start","data-testid","select-menu-edit",3,"ngClass","ngbPopover",4,"ngIf"],["class","form-text text-muted float-start",4,"ngIf"],["class","form-text text-muted  float-start",4,"ngIf"],["name","form","novalidate","",3,"formGroup"],["formDir","ngForm"],["type","text","formControlName","filter",1,"form-control","text-center",3,"placeholder","keyup"],[4,"ngFor","ngForOf"],["class","select-menu-item",3,"ngClass","click",4,"ngFor","ngForOf"],["class","select-menu-item",3,"click",4,"ngIf"],["class","is-invalid",4,"ngIf"],["class","invalid-feedback text-center d-block",4,"ngIf"],[1,"invalid-feedback","text-center","d-block"],[1,"select-menu-item",3,"ngClass","click"],[1,"select-menu-item-icon"],["aria-hidden","true",3,"ngClass",4,"ngIf"],[1,"select-menu-item-content"],[4,"ngIf"],["aria-hidden","true",3,"ngClass"],[1,"form-text","text-muted"],[1,"select-menu-item",3,"click"],[1,"is-invalid"],["class","form-text text-muted text-center text-warning",3,"ngbTooltip",4,"ngIf"],[1,"form-text","text-muted","text-center","text-warning",3,"ngbTooltip"],["data-testid","select-menu-edit",1,"select-menu-edit","float-start",3,"ngClass","ngbPopover"],[1,"form-text","text-muted","float-start"]],template:function(Oe,Tt){1&Oe&&(r.F$t(),r.YNc(0,Ce,8,6,"ng-template",null,0,r.W1O),r.YNc(2,ce,2,2,"a",1),r.YNc(3,Be,2,1,"span",2),r.YNc(4,Ve,2,1,"span",3)),2&Oe&&(r.xp6(2),r.Q6J("ngIf",Tt.customBadges||Tt.options.length>0),r.xp6(1),r.Q6J("ngIf",0===Tt.data.length&&!(!Tt.customBadges&&0===Tt.options.length)),r.xp6(1),r.Q6J("ngIf",!Tt.customBadges&&0===Tt.options.length))},directives:[a._Y,a.JL,a.sg,M.V,w.o,a.Fj,R.b,a.JJ,a.u,U.sg,U.O5,U.mk,W._L,W.o8],styles:[".select-menu-item[_ngcontent-%COMP%]{border-bottom:1px solid rgba(0,0,0,.09);cursor:pointer;display:block;font-size:1rem}.select-menu-item[_ngcontent-%COMP%]:hover{background-color:#e9ecef}.select-menu-item-icon[_ngcontent-%COMP%]{float:left;padding:.5em;width:3em}.select-menu-item-content[_ngcontent-%COMP%]{padding:.5em}.select-menu-item-content[_ngcontent-%COMP%]   .form-text[_ngcontent-%COMP%]{display:flex}"]}),Pe})()},76446:(v,b,i)=>{"use strict";i.d(b,{l:()=>T});var r=i(87311),a=i(47557),f=i(89724),u=i(11048),e=i(72621);const p=["sparkCanvas"],g=["sparkTooltip"];let T=(()=>{class M{constructor(R){this.dimlessBinaryPipe=R,this.style={height:"30px",width:"100px"},this.colors=[{backgroundColor:"rgba(40,140,234,0.2)",borderColor:"rgba(40,140,234,1)",pointBackgroundColor:"rgba(40,140,234,1)",pointBorderColor:"#fff",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(40,140,234,0.8)"}],this.options={animation:{duration:0},responsive:!0,maintainAspectRatio:!1,legend:{display:!1},elements:{line:{borderWidth:1}},tooltips:{enabled:!1,mode:"index",intersect:!1,custom:void 0,callbacks:{label:U=>this.isBinary?this.dimlessBinaryPipe.transform(U.yLabel):U.yLabel,title:()=>""}},scales:{yAxes:[{display:!1}],xAxes:[{display:!1}]}},this.datasets=[{data:[]}],this.labels=[]}ngOnInit(){const W=new r.h(this.chartCanvasRef,this.chartTooltipRef,(j,q)=>q+j.caretX+"px",j=>j.caretY-j.height-j.yPadding-5+"px");W.customColors={backgroundColor:this.colors[0].pointBackgroundColor,borderColor:this.colors[0].pointBorderColor},this.options.tooltips.custom=j=>{W.customTooltips(j)}}ngOnChanges(R){this.datasets[0].data=R.data.currentValue,this.labels=[...Array(R.data.currentValue.length)]}}return M.\u0275fac=function(R){return new(R||M)(f.Y36(a.$))},M.\u0275cmp=f.Xpm({type:M,selectors:[["cd-sparkline"]],viewQuery:function(R,U){if(1&R&&(f.Gf(p,7),f.Gf(g,7)),2&R){let W;f.iGM(W=f.CRH())&&(U.chartCanvasRef=W.first),f.iGM(W=f.CRH())&&(U.chartTooltipRef=W.first)}},inputs:{data:"data",style:"style",isBinary:"isBinary"},features:[f.TTD],decls:6,vars:6,consts:[[1,"chart-container",3,"ngStyle"],["baseChart","",3,"labels","datasets","options","colors","chartType"],["sparkCanvas",""],[1,"chartjs-tooltip"],["sparkTooltip",""]],template:function(R,U){1&R&&(f.TgZ(0,"div",0),f._UZ(1,"canvas",1,2),f.TgZ(3,"div",3,4),f._UZ(5,"table"),f.qZA()()),2&R&&(f.Q6J("ngStyle",U.style),f.xp6(1),f.Q6J("labels",U.labels)("datasets",U.datasets)("options",U.options)("colors",U.colors)("chartType","line"))},directives:[u.PC,e.jh],styles:['.chart-container[_ngcontent-%COMP%]{cursor:pointer;margin:auto;overflow:visible;position:absolute}canvas[_ngcontent-%COMP%]{user-select:none}.chartjs-tooltip[_ngcontent-%COMP%]{background:rgba(0,0,0,.7);border-radius:3px;color:#fff;font-family:Helvetica Neue,Helvetica,Arial,sans-serif!important;opacity:0;pointer-events:none;position:absolute;transform:translate(-50%);transition:all .1s ease}.chartjs-tooltip.transform-left[_ngcontent-%COMP%]{transform:translate(-10%)}.chartjs-tooltip.transform-left[_ngcontent-%COMP%]:after{left:10%}.chartjs-tooltip.transform-right[_ngcontent-%COMP%]{transform:translate(-90%)}.chartjs-tooltip.transform-right[_ngcontent-%COMP%]:after{left:90%}.chartjs-tooltip[_ngcontent-%COMP%]:after{border-color:#000 transparent transparent transparent;border-style:solid;border-width:5px;content:" ";left:50%;margin-left:-5px;position:absolute;top:100%}  .chartjs-tooltip-key{display:inline-block;height:10px;margin-right:10px;width:10px}.chart-container[_ngcontent-%COMP%]{position:static!important}']}),M})()},39749:(v,b,i)=>{"use strict";i.d(b,{w:()=>R});var r=i(89724),a=i(1659),f=i(23815),u=i.n(f),e=i(65862),p=i(87925),g=i(11048);const T=function(U,W){return[U,W]};function M(U,W){if(1&U&&(r.TgZ(0,"span"),r._UZ(1,"i",2),r.qZA()),2&U){const j=r.oxw();r.xp6(1),r.Q6J("ngClass",r.WLB(1,T,j.icons.spinner,j.icons.spin))}}const w=["*"];let R=(()=>{class U{constructor(j){this.elRef=j,this.type="submit",this.disabled=!1,this.submitAction=new r.vpe,this.loading=!1,this.icons=e.P}ngOnInit(){var j;null===(j=this.form)||void 0===j||j.statusChanges.subscribe(()=>{u().has(this.form.errors,"cdSubmitButton")&&(this.loading=!1,u().unset(this.form.errors,"cdSubmitButton"),this.form instanceof a.TO&&this.form.updateValueAndValidity())})}submit(j){var q;this.focusButton(),this.form instanceof a.sg&&this.form.onSubmit(j),(null===(q=this.form)||void 0===q?void 0:q.invalid)?this.focusInvalid():(this.loading=!0,this.submitAction.emit())}focusButton(){this.elRef.nativeElement.offsetParent.querySelector(`button[type="${this.type}"]`).focus()}focusInvalid(){const j=this.elRef.nativeElement.offsetParent.querySelector("input.ng-invalid, select.ng-invalid");j&&j.focus()}}return U.\u0275fac=function(j){return new(j||U)(r.Y36(r.SBq))},U.\u0275cmp=r.Xpm({type:U,selectors:[["cd-submit-button"]],inputs:{form:"form",type:"type",disabled:"disabled",btnClass:"btnClass",ariaLabel:"ariaLabel"},outputs:{submitAction:"submitAction"},ngContentSelectors:w,decls:3,vars:5,consts:[[1,"btn","btn-accent","tc_submitButton",3,"type","ngClass","disabled","click"],[4,"ngIf"],[3,"ngClass"]],template:function(j,q){1&j&&(r.F$t(),r.TgZ(0,"button",0),r.NdJ("click",function(re){return q.submit(re)}),r.Hsn(1),r.YNc(2,M,2,4,"span",1),r.qZA()),2&j&&(r.Q6J("type",q.type)("ngClass",q.btnClass)("disabled",q.loading||q.disabled),r.uIk("aria-label",q.ariaLabel),r.xp6(2),r.Q6J("ngIf",q.loading))},directives:[p.o,g.mk,g.O5],styles:[""]}),U})()},60251:(v,b,i)=>{"use strict";i.d(b,{O:()=>w});var r=i(89724),a=i(11048),f=i(71334),u=i(47557),e=i(66369);function p(R,U){if(1&R&&(r.TgZ(0,"tr")(1,"td",4),r._uU(2,"Free:\xa0"),r.qZA(),r.TgZ(3,"td",7)(4,"strong"),r._uU(5),r.ALo(6,"dimlessBinary"),r.ALo(7,"dimless"),r.qZA()()()),2&R){const W=r.oxw(2);r.xp6(5),r.Oqu(W.isBinary?r.lcZ(6,1,W.total-W.used):r.lcZ(7,3,W.total-W.used))}}function g(R,U){if(1&R&&(r.TgZ(0,"table")(1,"tr")(2,"td",4),r._uU(3,"Used:\xa0"),r.qZA(),r.TgZ(4,"td",5)(5,"strong"),r._uU(6),r.ALo(7,"dimlessBinary"),r.ALo(8,"dimless"),r.qZA()()(),r.YNc(9,p,8,5,"tr",6),r.qZA()),2&R){const W=r.oxw();r.xp6(6),r.hij(" ",W.isBinary?r.lcZ(7,2,W.used):r.lcZ(8,4,W.used),""),r.xp6(3),r.Q6J("ngIf",W.calculatePerc)}}const T=function(R,U){return{"bg-warning":R,"bg-danger":U}},M=function(R){return{title:R}};let w=(()=>{class R{constructor(){this.isBinary=!0,this.decimals=0,this.calculatePerc=!0,this.title="usage"}ngOnChanges(){this.calculatePerc?(this.usedPercentage=this.total>0?this.used/this.total*100:0,this.freePercentage=100-this.usedPercentage):this.used?(this.used=this.used.slice(0,-1),this.usedPercentage=Number(this.used),this.freePercentage=100-this.usedPercentage):this.usedPercentage=0}}return R.\u0275fac=function(W){return new(W||R)},R.\u0275cmp=r.Xpm({type:R,selectors:[["cd-usage-bar"]],inputs:{total:"total",used:"used",warningThreshold:"warningThreshold",errorThreshold:"errorThreshold",isBinary:"isBinary",decimals:"decimals",calculatePerc:"calculatePerc",title:"title"},features:[r.TTD],decls:8,vars:19,consts:[["usageTooltipTpl",""],["data-placement","left",1,"progress",3,"ngbTooltip"],["role","progressbar",1,"progress-bar","bg-info",3,"ngClass"],["role","progressbar",1,"progress-bar","bg-freespace"],[1,"text-left"],[1,"text-right"],[4,"ngIf"],[1,"'text-right"]],template:function(W,j){if(1&W&&(r.YNc(0,g,10,6,"ng-template",null,0,r.W1O),r.TgZ(2,"div",1)(3,"div",2)(4,"span"),r._uU(5),r.ALo(6,"number"),r.qZA()(),r._UZ(7,"div",3),r.qZA()),2&W){const q=r.MAs(1);r.xp6(2),r.Q6J("ngbTooltip",q),r.xp6(1),r.Udp("width",j.usedPercentage+"%"),r.Q6J("ngClass",r.WLB(12,T,j.usedPercentage/100>=j.warningThreshold,j.usedPercentage/100>=j.errorThreshold)),r.uIk("aria-label",r.VKq(15,M,j.title)),r.xp6(2),r.hij("",r.xi3(6,9,j.usedPercentage,"1.0-"+j.decimals),"%"),r.xp6(2),r.Udp("width",j.freePercentage+"%"),r.uIk("aria-label",r.VKq(17,M,j.title))}},directives:[a.O5,f._L,a.mk],pipes:[u.$,e.n,a.JJ],styles:[".bg-info[_ngcontent-%COMP%]{background-color:#25828e!important}.bg-warning[_ngcontent-%COMP%]{background-color:#d48200!important}.bg-danger[_ngcontent-%COMP%]{background-color:#dc3545!important}.bg-freespace[_ngcontent-%COMP%]{background-color:#ced4da!important}.progress[_ngcontent-%COMP%]{height:20px;margin-bottom:0;position:relative}.progress[_ngcontent-%COMP%]   div.progress-bar[_ngcontent-%COMP%]{position:static}.progress[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#000;display:block;font-weight:400;position:absolute;width:100%}"]}),R})()},79512:(v,b,i)=>{"use strict";i.d(b,{$x:()=>f,MQ:()=>u,Qn:()=>e,aX:()=>g,p4:()=>p});var r=i(92340),a=i(89724);class f{}f.organization="ceph",f.projectName="Ceph Dashboard",f.license="Free software (LGPL 2.1).",f.copyright="Copyright(c) "+r.N.year+" Ceph contributors.",f.cephLogo="assets/Ceph_Logo.svg";var u=(()=>{return(T=u||(u={})).CREATE="create",T.EDIT="edit",T.UPDATE="update",T.REMOVE="remove",T.DELETE="delete",T.ADD="add",T.COPY="copy",T.CLONE="clone",T.RECREATE="recreate",T.EXPIRE="expire",T.RESTART="Restart",u;var T})(),e=(()=>{return(T=e||(e={})).CREATE="Create",T.DELETE="Delete",T.ADD="Add",T.REMOVE="Remove",T.EDIT="Edit",T.CANCEL="Cancel",T.COPY="Copy",T.CLONE="Clone",T.UPDATE="Update",T.EVICT="Evict",T.SHOW="Show",T.RECREATE="Recreate",T.EXPIRE="Expire",T.START="Start",T.STOP="Stop",T.REDEPLOY="Redeploy",T.RESTART="Restart",e;var T})();let p=(()=>{class T{constructor(){this.CREATE="Create",this.DELETE="Delete",this.ADD="Add",this.SET="Set",this.SUBMIT="Submit",this.REMOVE="Remove",this.UNSET="Unset",this.EDIT="Edit",this.UPDATE="Update",this.CANCEL="Cancel",this.PREVIEW="Preview",this.MOVE="Move",this.NEXT="Next",this.BACK="Back",this.CLONE="Clone",this.COPY="Copy",this.DEEP_SCRUB="Deep Scrub",this.DESTROY="Destroy",this.EVICT="Evict",this.FLATTEN="Flatten",this.MARK_DOWN="Mark Down",this.MARK_IN="Mark In",this.MARK_LOST="Mark Lost",this.MARK_OUT="Mark Out",this.PROTECT="Protect",this.PURGE="Purge",this.RENAME="Rename",this.RESTORE="Restore",this.REWEIGHT="Reweight",this.ROLLBACK="Rollback",this.SCRUB="Scrub",this.SHOW="Show",this.TRASH="Move to Trash",this.UNPROTECT="Unprotect",this.CHANGE="Change",this.FLAGS="Flags",this.ENTER_MAINTENANCE="Enter Maintenance",this.EXIT_MAINTENANCE="Exit Maintenance",this.START_DRAIN="Start Drain",this.STOP_DRAIN="Stop Drain",this.RESYNC="Resync",this.RECREATE="Recreate",this.EXPIRE="Expire",this.START="Start",this.STOP="Stop",this.REDEPLOY="Redeploy",this.RESTART="Restart",this.REMOVE_SCHEDULING="Remove Scheduling",this.PROMOTE="Promote",this.DEMOTE="Demote"}}return T.\u0275fac=function(w){return new(w||T)},T.\u0275prov=a.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"}),T})(),g=(()=>{class T{constructor(){this.CREATED="Created",this.DELETED="Deleted",this.ADDED="Added",this.REMOVED="Removed",this.EDITED="Edited",this.CANCELED="Canceled",this.PREVIEWED="Previewed",this.MOVED="Moved",this.CLONED="Cloned",this.COPIED="Copied",this.DEEP_SCRUBBED="Deep Scrubbed",this.DESTROYED="Destroyed",this.FLATTENED="Flattened",this.MARKED_DOWN="Marked Down",this.MARKED_IN="Marked In",this.MARKED_LOST="Marked Lost",this.MARKED_OUT="Marked Out",this.PROTECTED="Protected",this.PURGED="Purged",this.RENAMED="Renamed",this.RESTORED="Restored",this.REWEIGHTED="Reweighted",this.ROLLED_BACK="Rolled back",this.SCRUBBED="Scrubbed",this.SHOWED="Showed",this.TRASHED="Moved to Trash",this.UNPROTECTED="Unprotected",this.CHANGE="Change",this.RECREATED="Recreated",this.EXPIRED="Expired",this.START="Start",this.STOP="Stop",this.REDEPLOY="Redeploy",this.RESTART="Restart"}}return T.\u0275fac=function(w){return new(w||T)},T.\u0275prov=a.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"}),T})()},4268:(v,b,i)=>{"use strict";i.d(b,{c:()=>Nt});var r=i(10972),a=i(36169),f=i(68774),u=i(76111),e=i(32337),p=i(30982),g=i(89724),T=i(47640),M=i(36848),w=i(19725);let R=(()=>{class Yt{constructor(rn){this.http=rn}export(rn){return this.http.post("api/cluster/user/export",{entities:rn})}}return Yt.\u0275fac=function(rn){return new(rn||Yt)(g.LFG(w.eN))},Yt.\u0275prov=g.Yz7({token:Yt,factory:Yt.\u0275fac,providedIn:"root"}),Yt})();var U=i(55860),W=i(63285),j=i(11048),q=i(83697),ue=i(94928),re=i(58039),H=i(96102),se=i(94088);const ae=["badgeDictTpl"],ie=["dateTpl"],fe=["durationTpl"],_e=["exportDataModalTpl"],Ce=function(){return{exact:!0}};function ce(Yt,dn){if(1&Yt&&(g.TgZ(0,"li",8)(1,"a",9),g.SDv(2,10),g.qZA()()),2&Yt){const rn=dn.$implicit;g.xp6(1),g.Q6J("routerLink",rn.url)("routerLinkActiveOptions",g.DdM(3,Ce)),g.xp6(1),g.pQV(rn.name),g.QtT(2)}}function Be(Yt,dn){if(1&Yt&&(g.TgZ(0,"ul",6),g.YNc(1,ce,3,4,"li",7),g.qZA()),2&Yt){const rn=g.oxw();g.xp6(1),g.Q6J("ngForOf",rn.tabs)}}function Ve(Yt,dn){if(1&Yt&&(g.TgZ(0,"tr")(1,"td",18),g.SDv(2,19),g.qZA(),g.TgZ(3,"td"),g._uU(4),g.qZA()()),2&Yt){const rn=dn.$implicit,vt=g.oxw(3);g.xp6(2),g.pQV(rn),g.QtT(2),g.xp6(2),g.hij(" ",vt.expandedRow[rn]," ")}}function Xe(Yt,dn){if(1&Yt&&(g.ynx(0,15),g.TgZ(1,"table",16)(2,"tbody"),g.YNc(3,Ve,5,2,"tr",17),g.qZA()(),g.BQk()),2&Yt){const rn=g.oxw(2);g.xp6(3),g.Q6J("ngForOf",rn.meta.detail_columns)}}function He(Yt,dn){if(1&Yt){const rn=g.EpF();g.ynx(0),g.TgZ(1,"cd-table",11),g.NdJ("setExpandedRow",function(xt){return g.CHM(rn),g.oxw().setExpandedRow(xt)})("updateSelection",function(xt){return g.CHM(rn),g.oxw().updateSelection(xt)}),g.ALo(2,"async"),g.TgZ(3,"div",12),g._UZ(4,"cd-table-actions",13),g.qZA(),g.YNc(5,Xe,4,1,"ng-container",14),g.qZA(),g.BQk()}if(2&Yt){const rn=g.oxw();g.xp6(1),g.Q6J("data",g.lcZ(2,10,rn.data$))("columns",rn.meta.table.columns)("columnMode",rn.meta.table.columnMode)("hasDetails",rn.meta.detail_columns.length>0)("selectionType",rn.meta.table.selectionType)("toolHeader",rn.meta.table.toolHeader),g.xp6(3),g.Q6J("permission",rn.permission)("selection",rn.selection)("tableActions",rn.meta.actions),g.xp6(1),g.Q6J("ngIf",rn.expandedRow&&rn.meta.detail_columns.length>0)}}function Pe(Yt,dn){1&Yt&&(g.ynx(0),g._uU(1,"\xa0"),g.BQk())}function Ge(Yt,dn){if(1&Yt&&(g.TgZ(0,"span")(1,"span",20),g._uU(2),g.qZA(),g.YNc(3,Pe,2,0,"ng-container",1),g.qZA()),2&Yt){const rn=dn.$implicit,vt=dn.last;g.xp6(2),g.AsE("",rn.key,": ",rn.value,""),g.xp6(1),g.Q6J("ngIf",!vt)}}function Oe(Yt,dn){1&Yt&&(g.YNc(0,Ge,4,3,"span",17),g.ALo(1,"keyvalue")),2&Yt&&g.Q6J("ngForOf",g.lcZ(1,1,dn.value))}function Tt(Yt,dn){if(1&Yt&&(g.TgZ(0,"span"),g._uU(1),g.ALo(2,"cdDate"),g.qZA()),2&Yt){const rn=dn.value;g.xp6(1),g.Oqu(g.lcZ(2,1,rn))}}function We(Yt,dn){if(1&Yt&&(g.TgZ(0,"span"),g._uU(1),g.ALo(2,"duration"),g.qZA()),2&Yt){const rn=dn.value;g.xp6(1),g.Oqu(g.lcZ(2,1,rn))}}function Qt(Yt,dn){if(1&Yt&&(g.TgZ(0,"div",21)(1,"textarea",22),g._uU(2),g.qZA(),g._UZ(3,"cd-copy-2-clipboard-button",23),g.qZA()),2&Yt){const rn=g.oxw();g.xp6(2),g.Oqu(rn.modalState.authExportData)}}let Nt=(()=>{class Yt{constructor(rn,vt,xt,Ct,Gt,Fn,pr,mi){this.authStorageService=rn,this.timerService=vt,this.dataGatewayService=xt,this.taskWrapper=Ct,this.cephUserService=Gt,this.activatedRoute=Fn,this.modalService=pr,this.router=mi,this.selection=new f.r,this.expandedRow=null,this.tabs={},this.modalState={},this.permissions=this.authStorageService.getPermissions()}ngOnInit(){this.activatedRoute.data.subscribe(rn=>{const vt=rn.resource;this.tabs=rn.tabs,this.dataGatewayService.list(`ui-${vt}`).subscribe(xt=>this.processMeta(xt)),this.data$=this.timerService.get(()=>this.dataGatewayService.list(vt))}),this.activatedRoute.data.subscribe(rn=>{this.resource=rn.resource})}processMeta(rn){var Ct;this.permission=this.permissions[(Ct=rn.permissions[0],Ct.split("-").reduce((Gt,Fn,pr)=>0===pr?Fn.toLowerCase():`${Gt}${Fn.charAt(0).toUpperCase()}${Fn.substr(1).toLowerCase()}`,""))];const xt={badgeDict:this.badgeDictTpl,date:this.dateTpl,duration:this.durationTpl};rn.table.columns.forEach((Ct,Gt)=>{void 0!==Ct.cellTemplate&&(rn.table.columns[Gt].cellTemplate=xt[Ct.cellTemplate])}),rn.table.columns=rn.table.columns.filter(Ct=>!Ct.isHidden),this.meta=rn;for(let Ct=0;Ct<this.meta.actions.length;Ct++){let Gt=this.meta.actions[Ct];Gt.disable&&(Gt.disable=Fn=>!Fn.hasSelection),""!==Gt.click.toString()&&(Gt.click=this[this.meta.actions[Ct].click.toString()].bind(this))}}delete(){const rn=this.selection.first()[this.meta.columnKey];this.modalRef=this.modalService.show(p.M,{itemDescription:"" + this.meta.columnKey + "",itemNames:[rn],submitAction:()=>{this.taskWrapper.wrapTaskAroundCall({task:new u.R("crud-component/id",rn),call:this.dataGatewayService.delete(this.resource,rn)}).subscribe({error:()=>{this.modalRef.close()},complete:()=>{this.modalRef.close()}})}})}updateSelection(rn){this.selection=rn}setExpandedRow(rn){this.expandedRow=rn}edit(){let rn="";this.selection.hasSelection&&(rn=this.selection.first()[this.meta.columnKey]),this.router.navigate(["/cluster/user/edit"],{queryParams:{key:rn}})}authExport(){let rn=[];this.selection.selected.forEach(vt=>rn.push(vt.entity)),this.cephUserService.export(rn).subscribe(vt=>{const xt={titleText:"Ceph user export data",buttonText:"Close",bodyTpl:this.authxEportTpl,showSubmit:!0,showCancel:!1,onSubmit:()=>{this.modalRef.close()}};this.modalState.authExportData=vt.trim(),this.modalRef=this.modalService.show(a.Y,xt)})}}return Yt.\u0275fac=function(rn){return new(rn||Yt)(g.Y36(T.j),g.Y36(M.f),g.Y36(r.n),g.Y36(e.P),g.Y36(R),g.Y36(U.gz),g.Y36(W.Z),g.Y36(U.F0))},Yt.\u0275cmp=g.Xpm({type:Yt,selectors:[["cd-crud-table"]],viewQuery:function(rn,vt){if(1&rn&&(g.Gf(ae,5),g.Gf(ie,5),g.Gf(fe,5),g.Gf(_e,5)),2&rn){let xt;g.iGM(xt=g.CRH())&&(vt.badgeDictTpl=xt.first),g.iGM(xt=g.CRH())&&(vt.dateTpl=xt.first),g.iGM(xt=g.CRH())&&(vt.durationTpl=xt.first),g.iGM(xt=g.CRH())&&(vt.authxEportTpl=xt.first)}},decls:10,vars:2,consts:function(){let dn,rn;return dn="" + "\ufffd0\ufffd" + "",rn="" + "\ufffd0\ufffd" + "",[["class","nav nav-tabs",4,"ngIf"],[4,"ngIf"],["badgeDictTpl",""],["dateTpl",""],["durationTpl",""],["exportDataModalTpl",""],[1,"nav","nav-tabs"],["class","nav-item",4,"ngFor","ngForKeyvalue","ngForOf"],[1,"nav-item"],["routerLinkActive","active","ariaCurrentWhenActive","page",1,"nav-link",3,"routerLink","routerLinkActiveOptions"],dn,[3,"data","columns","columnMode","hasDetails","selectionType","toolHeader","setExpandedRow","updateSelection"],[1,"table-actions","btn-toolbar"],["id","crud-table-actions",1,"btn-group",3,"permission","selection","tableActions"],["cdTableDetail","",4,"ngIf"],["cdTableDetail",""],[1,"table","table-striped","table-bordered"],[4,"ngFor","ngForOf"],[1,"bold"],rn,[1,"badge","badge-background-primary"],[1,"d-flex","flex-column","align-items-center","w-100","gap-3"],["readonly","","id","authExportArea",1,"form-control","w-100","bg-light","height-400"],["source","authExportArea",1,"align-self-end"]]},template:function(rn,vt){1&rn&&(g.YNc(0,Be,2,1,"ul",0),g.YNc(1,He,6,12,"ng-container",1),g.YNc(2,Oe,2,3,"ng-template",null,2,g.W1O),g.YNc(4,Tt,3,3,"ng-template",null,3,g.W1O),g.YNc(6,We,3,3,"ng-template",null,4,g.W1O),g.YNc(8,Qt,4,1,"ng-template",null,5,g.W1O)),2&rn&&(g.Q6J("ngIf",vt.tabs),g.xp6(1),g.Q6J("ngIf",vt.meta))},directives:[j.O5,j.sg,U.yS,U.Od,q.a,ue.K,re.s],pipes:[j.Ov,j.Nd,H.N,se.u],styles:[".height-400[_ngcontent-%COMP%]{height:400px}"]}),Yt})()},40267:(v,b,i)=>{"use strict";i.d(b,{t:()=>Ge});var r=i(11048),a=i(55860),f=i(71334),u=i(84051),e=i(37496),p=i(1659),g=i(90645),T=i(1851),M=i(15626),w=i(12455),R=i(67464),U=i(39054),W=i(39017),j=i(89724),q=i(94276);const ue=["textArea"];let re=(()=>{class Oe extends g.fS{onChange(){const We=this.textArea.nativeElement.value;try{const Qt=JSON.stringify(JSON.parse(We),null,2);this.textArea.nativeElement.value=Qt,this.textArea.nativeElement.style.height="auto";const dn=25*Qt.split("\n").length;this.textArea.nativeElement.style.height=dn+"px"}catch(Qt){}}}return Oe.\u0275fac=function(){let Tt;return function(Qt){return(Tt||(Tt=j.n5z(Oe)))(Qt||Oe)}}(),Oe.\u0275cmp=j.Xpm({type:Oe,selectors:[["cd-formly-textarea-type"]],viewQuery:function(We,Qt){if(1&We&&j.Gf(ue,5),2&We){let Nt;j.iGM(Nt=j.CRH())&&(Qt.textArea=Nt.first)}},features:[j.qOj],decls:2,vars:6,consts:[[1,"form-control",3,"formControl","cols","rows","formlyAttributes","change"],["textArea",""]],template:function(We,Qt){1&We&&(j.TgZ(0,"textarea",0,1),j.NdJ("change",function(){return Qt.onChange()}),j.qZA()),2&We&&(j.ekj("is-invalid",Qt.showError),j.Q6J("formControl",Qt.formControl)("cols",Qt.props.cols)("rows",Qt.props.rows)("formlyAttributes",Qt.field))},directives:[p.Fj,q.b,p.JJ,p.oH,g.JD],styles:[""]}),Oe})();var H=i(62351),se=i(18372);function ae(Oe,Tt){1&Oe&&(j.TgZ(0,"span",10),j._uU(1,"*"),j.qZA())}function ie(Oe,Tt){if(1&Oe&&(j.TgZ(0,"cd-helper"),j._UZ(1,"span",11),j.qZA()),2&Oe){const We=j.oxw(3);j.xp6(1),j.Q6J("innerHTML",We.helper,j.oJD)}}function fe(Oe,Tt){if(1&Oe&&(j.TgZ(0,"label",8),j._uU(1),j.YNc(2,ae,2,0,"span",9),j.YNc(3,ie,2,1,"cd-helper",2),j.qZA()),2&Oe){const We=j.oxw(2);j.uIk("for",We.id),j.xp6(1),j.hij(" ",We.props.label," "),j.xp6(1),j.Q6J("ngIf",We.props.required&&!0!==We.props.hideRequiredMarker),j.xp6(1),j.Q6J("ngIf",We.helper)}}function _e(Oe,Tt){if(1&Oe&&(j.TgZ(0,"div",6),j.YNc(1,fe,4,4,"label",7),j.qZA()),2&Oe){const We=j.oxw();j.xp6(1),j.Q6J("ngIf",We.props.label&&!0!==We.props.hideLabel)}}function Ce(Oe,Tt){if(1&Oe&&(j.ynx(0),j.GkF(1,12),j.BQk()),2&Oe){j.oxw();const We=j.MAs(1);j.xp6(1),j.Q6J("ngTemplateOutlet",We)}}function ce(Oe,Tt){if(1&Oe&&(j.ynx(0),j.GkF(1,12),j.BQk()),2&Oe){j.oxw();const We=j.MAs(1);j.xp6(1),j.Q6J("ngTemplateOutlet",We)}}function Be(Oe,Tt){if(1&Oe&&(j.TgZ(0,"div",13),j._UZ(1,"formly-validation-message",14),j.qZA()),2&Oe){const We=j.oxw();j.Udp("display","block"),j.xp6(1),j.Q6J("field",We.field)}}function Ve(Oe,Tt){if(1&Oe&&(j.TgZ(0,"small",15),j._uU(1),j.qZA()),2&Oe){const We=j.oxw();j.xp6(1),j.Oqu(We.props.description)}}let Xe=(()=>{class Oe extends g.n2{get helper(){const We=(0,H.M)(this.field);return(null==We?void 0:We.help)||""}}return Oe.\u0275fac=function(){let Tt;return function(Qt){return(Tt||(Tt=j.n5z(Oe)))(Qt||Oe)}}(),Oe.\u0275cmp=j.Xpm({type:Oe,selectors:[["cd-formly-input-wrapper"]],features:[j.qOj],decls:9,vars:8,consts:[["labelTemplate",""],[1,"mb-3"],[4,"ngIf"],["fieldComponent",""],["class","invalid-feedback",3,"display",4,"ngIf"],["class","form-text text-muted",4,"ngIf"],[1,"d-flex","align-items-center"],["class","form-label",4,"ngIf"],[1,"form-label"],["aria-hidden","true",4,"ngIf"],["aria-hidden","true"],[3,"innerHTML"],[3,"ngTemplateOutlet"],[1,"invalid-feedback"],[3,"field"],[1,"form-text","text-muted"]],template:function(We,Qt){1&We&&(j.YNc(0,_e,2,1,"ng-template",null,0,j.W1O),j.TgZ(2,"div",1),j.YNc(3,Ce,2,1,"ng-container",2),j.GkF(4,null,3),j.YNc(6,ce,2,1,"ng-container",2),j.YNc(7,Be,2,3,"div",4),j.YNc(8,Ve,2,1,"small",5),j.qZA()),2&We&&(j.xp6(2),j.ekj("form-floating","floating"===Qt.props.labelPosition)("has-error",Qt.showError),j.xp6(1),j.Q6J("ngIf","floating"!==Qt.props.labelPosition),j.xp6(3),j.Q6J("ngIf","floating"===Qt.props.labelPosition),j.xp6(1),j.Q6J("ngIf",Qt.showError),j.xp6(1),j.Q6J("ngIf",Qt.props.description))},directives:[r.O5,se.S,r.tP,g.M2],styles:[""]}),Oe})(),He=(()=>{class Oe{constructor(){this.onChange=We=>{},this.onTouched=()=>{}}writeValue(We){}registerOnChange(We){this.onChange=We}registerOnTouched(We){this.onTouched=We}}return Oe.\u0275fac=function(We){return new(We||Oe)},Oe.\u0275dir=j.lG2({type:Oe,selectors:[["input","type","file"]],hostBindings:function(We,Qt){1&We&&j.NdJ("change",function(Yt){return Qt.onChange(Yt.target.files)})("input",function(Yt){return Qt.onChange(Yt.target.files)})("blur",function(){return Qt.onTouched()})},features:[j._Bn([{provide:p.JU,useExisting:Oe,multi:!0}])]}),Oe})(),Pe=(()=>{class Oe extends g.fS{}return Oe.\u0275fac=function(){let Tt;return function(Qt){return(Tt||(Tt=j.n5z(Oe)))(Qt||Oe)}}(),Oe.\u0275cmp=j.Xpm({type:Oe,selectors:[["cd-formly-file-type"]],features:[j.qOj],decls:1,vars:2,consts:[["type","file",3,"formControl","formlyAttributes"]],template:function(We,Qt){1&We&&j._UZ(0,"input",0),2&We&&j.Q6J("formControl",Qt.formControl)("formlyAttributes",Qt.field)},directives:[He,p.Fj,p.JJ,p.oH,g.JD],styles:[""]}),Oe})(),Ge=(()=>{class Oe{}return Oe.\u0275fac=function(We){return new(We||Oe)},Oe.\u0275mod=j.oAB({type:Oe}),Oe.\u0275inj=j.cJS({imports:[[r.ez,u.xD,e.b,p.u5,f.XC,f.HK,w.D,M.K,a.Bz,p.UX,g.X0.forRoot({types:[{name:"array",component:R.l},{name:"object",component:W.o},{name:"input",component:U.v,wrappers:["input-wrapper"]},{name:"textarea",component:re,wrappers:["input-wrapper"]},{name:"file",component:Pe,wrappers:["input-wrapper"]}],validationMessages:[{name:"required",message:"This field is required"},{name:"json",message:"This field is not a valid json document"},{name:"rgwRoleName",message:'Role name must contain letters, numbers or the following valid special characters "_+=,.@-]+" (pattern: [0-9a-zA-Z_+=,.@-]+)'},{name:"rgwRolePath",message:'Role path must start and finish with a slash "/". (pattern: (/)|(/[!-~]+/))'},{name:"file_size",message:"File size must not exceed 4KiB"}],wrappers:[{name:"input-wrapper",component:Xe}]}),T.z],u.xD]}),Oe})()},94928:(v,b,i)=>{"use strict";i.d(b,{K:()=>ue});var r=i(23815),a=i.n(r),f=i(65862),u=i(89724),e=i(11048),p=i(55860),g=i(71334);const T=function(re){return{disabled:re}},M=function(re){return[re]};function w(re,H){if(1&re){const se=u.EpF();u.ynx(0),u.TgZ(1,"button",3),u.NdJ("click",function(){u.CHM(se);const ie=u.oxw();return ie.useClickAction(ie.currentAction)}),u._UZ(2,"i",4),u.TgZ(3,"span",5),u._uU(4),u.qZA()(),u.BQk()}if(2&re){const se=u.oxw();u.xp6(1),u.Gre("btn btn-",se.btnColor,""),u.s9C("title",se.useDisableDesc(se.currentAction)),u.Q6J("ngClass",u.VKq(11,T,se.disableSelectionAction(se.currentAction)))("disabled",se.disableSelectionAction(se.currentAction))("routerLink",se.useRouterLink(se.currentAction))("preserveFragment",se.currentAction.preserveFragment?"":null),u.uIk("aria-label",se.currentAction.name),u.xp6(1),u.Q6J("ngClass",u.VKq(13,M,se.currentAction.icon)),u.xp6(2),u.Oqu(se.currentAction.name)}}function R(re,H){if(1&re&&(u.ynx(0),u._uU(1),u.BQk()),2&re){const se=u.oxw(2);u.xp6(1),u.hij("",se.dropDownOnly," ")}}function U(re,H){1&re&&u._UZ(0,"span",11)}const W=function(re){return[re,"action-icon"]};function j(re,H){if(1&re){const se=u.EpF();u.ynx(0),u.TgZ(1,"button",12),u.NdJ("click",function(){const fe=u.CHM(se).$implicit;return u.oxw(2).useClickAction(fe)}),u._UZ(2,"i",4),u.TgZ(3,"span"),u._uU(4),u.qZA()(),u.BQk()}if(2&re){const se=H.$implicit,ae=u.oxw(2);u.xp6(1),u.Tol(ae.toClassName(se)),u.s9C("title",ae.useDisableDesc(se)),u.Q6J("routerLink",ae.useRouterLink(se))("preserveFragment",se.preserveFragment?"":null)("disabled",ae.disableSelectionAction(se)),u.uIk("aria-label",se.name),u.xp6(1),u.Q6J("ngClass",u.VKq(10,W,se.icon)),u.xp6(2),u.Oqu(se.name)}}function q(re,H){if(1&re&&(u.TgZ(0,"div",6)(1,"button",7),u.YNc(2,R,2,1,"ng-container",1),u.YNc(3,U,1,0,"span",8),u.qZA(),u.TgZ(4,"div",9),u.YNc(5,j,5,12,"ng-container",10),u.qZA()()),2&re){const se=u.oxw();u.xp6(1),u.Gre("btn btn-",se.btnColor," dropdown-toggle-split"),u.xp6(1),u.Q6J("ngIf",se.dropDownOnly),u.xp6(1),u.Q6J("ngIf",!se.dropDownOnly),u.xp6(2),u.Q6J("ngForOf",se.dropDownActions)}}let ue=(()=>{class re{constructor(){this.btnColor="accent",this.dropDownActions=[],this.icons=f.P}ngOnInit(){this.removeActionsWithNoPermissions(),this.onSelectionChange()}ngOnChanges(se){se.selection&&this.onSelectionChange()}onSelectionChange(){this.updateDropDownActions(),this.updateCurrentAction()}toClassName(se){return se.name.replace(/ /g,"-").replace(/[^a-z-]/gi,"").toLowerCase()}removeActionsWithNoPermissions(){if(!this.permission)return void(this.tableActions=[]);const se=Object.keys(this.permission).filter(ae=>this.permission[ae]);this.tableActions=this.tableActions.filter(ae=>se.includes(ae.permission))}updateDropDownActions(){this.dropDownActions=this.tableActions.filter(se=>se.visible?se.visible(this.selection):se)}updateCurrentAction(){if(this.dropDownOnly)return void(this.currentAction=void 0);let se=this.dropDownActions.find(ae=>this.showableAction(ae));!se&&this.dropDownActions.length>0&&(se=this.dropDownActions[0]),this.currentAction=se}showableAction(se){const ae=se.canBePrimary,ie=this.selection.hasSingleSelection,fe="create"===se.permission?!ie:ie;return ae&&ae(this.selection)||!ae&&fe}useRouterLink(se){if(se.routerLink&&!this.disableSelectionAction(se))return a().isString(se.routerLink)?se.routerLink:se.routerLink()}disableSelectionAction(se){const ae=se.disable;if(ae)return Boolean(ae(this.selection));const ie=se.permission,fe=this.selection.hasSingleSelection&&this.selection.first();return Boolean(["update","delete"].includes(ie)&&(!fe||fe.cdExecuting))}useClickAction(se){return!this.disableSelectionAction(se)&&se.click&&se.click()}useDisableDesc(se){if(se.disable){const ae=se.disable(this.selection);return a().isString(ae)?ae:void 0}}}return re.\u0275fac=function(se){return new(se||re)},re.\u0275cmp=u.Xpm({type:re,selectors:[["cd-table-actions"]],inputs:{permission:"permission",selection:"selection",tableActions:"tableActions",btnColor:"btnColor",dropDownOnly:"dropDownOnly"},features:[u.TTD],decls:3,vars:2,consts:[[1,"btn-group"],[4,"ngIf"],["class","btn-group","ngbDropdown","","role","group","aria-label","Button group with nested dropdown",4,"ngIf"],["type","button",3,"title","ngClass","disabled","routerLink","preserveFragment","click"],[3,"ngClass"],[1,"action-label"],["ngbDropdown","","role","group","aria-label","Button group with nested dropdown",1,"btn-group"],["aria-label","dropdown-menu-toggle","ngbDropdownToggle",""],["class","sr-only",4,"ngIf"],["ngbDropdownMenu","",1,"dropdown-menu"],[4,"ngFor","ngForOf"],[1,"sr-only"],["ngbDropdownItem","",3,"title","routerLink","preserveFragment","disabled","click"]],template:function(se,ae){1&se&&(u.TgZ(0,"div",0),u.YNc(1,w,5,15,"ng-container",1),u.YNc(2,q,6,6,"div",2),u.qZA()),2&se&&(u.xp6(1),u.Q6J("ngIf",ae.currentAction),u.xp6(1),u.Q6J("ngIf",ae.dropDownActions.length>1))},directives:[e.O5,e.mk,p.rH,g.jt,g.iD,g.Vi,e.sg,g.TH],styles:["button.disabled[_ngcontent-%COMP%]{color:#adb5bd;cursor:default!important;pointer-events:auto}button.dropdown-item[_ngcontent-%COMP%]:hover{background-color:#dee2e6}.action-icon[_ngcontent-%COMP%]{padding-right:1.5rem}.action-label[_ngcontent-%COMP%]{font-weight:700}"]}),re})()},61350:(v,b,i)=>{"use strict";i.d(b,{b:()=>g});var r=i(89724),a=i(23815),f=i.n(a),u=i(99466),e=i(83697),p=i(96102);let g=(()=>{class T{constructor(w){this.datePipe=w,this.autoReload=5e3,this.renderObjects=!1,this.appendParentKey=!0,this.hideEmpty=!1,this.hideKeys=[],this.columns=[],this.fetchData=new r.vpe}ngOnInit(){this.columns=[{prop:"key",flexGrow:1,cellTransformation:u.e.bold},{prop:"value",flexGrow:3}],this.customCss&&(this.columns[1].cellTransformation=u.e.classAdding),this.fetchData.observers.length>0&&this.table.fetchData.subscribe(()=>{this.fetchData.emit()}),this.useData()}ngOnChanges(){this.useData()}useData(){if(!this.data)return;let w=this.makePairs(this.data);this.hideKeys&&(w=w.filter(R=>!this.hideKeys.includes(R.key))),this.tableData=w}makePairs(w){let R=[];if(w){if(f().isArray(w))R=this.makePairsFromArray(w);else{if(!f().isObject(w))throw new Error("Wrong data format");R=this.makePairsFromObject(w)}return R=R.map(U=>(U.value=this.convertValue(U.value),U)).filter(U=>null!==U.value),f().sortBy(this.renderObjects?this.insertFlattenObjects(R):R,"key")}}makePairsFromArray(w){let R=[];const U=w[0];if(f().isArray(U)){if(2!==U.length)throw new Error(`Array contains too many elements (${U.length}). Needs to be of type [string, any][]`);R=w.map(W=>({key:W[0],value:W[1]}))}else f().isObject(U)&&(R=f().has(U,"key")&&f().has(U,"value")?[...w]:w.reduce((W,j)=>W.concat(this.makePairsFromObject(j)),R));return R}makePairsFromObject(w){return Object.keys(w).map(R=>({key:R,value:w[R]}))}insertFlattenObjects(w){return f().flattenDeep(w.map(R=>{const U=R.value,W=f().isObject(U);return!W||f().isEmpty(U)?(W&&(R.value=""),R):this.splitItemIntoItems(R)}))}splitItemIntoItems(w){return this.makePairs(w.value).map(R=>(this.appendParentKey&&(R.key=w.key+" "+R.key),R))}convertValue(w){if(f().isArray(w)){if(f().isEmpty(w)&&this.hideEmpty)return null;w=w.map(R=>f().isObject(R)?JSON.stringify(R):R).join(", ")}else if(f().isObject(w)){if(this.hideEmpty&&f().isEmpty(w)||!this.renderObjects)return null}else if(f().isString(w)){if(""===w&&this.hideEmpty)return null;this.isDate(w)&&(w=this.datePipe.transform(w)||w)}return w}isDate(w){const R="[ -:.TZ]",U="\\d{2}"+R;return w.match(new RegExp("^\\d{4}"+R+U+U+U+U+U+"\\d*Z?$"))}}return T.\u0275fac=function(w){return new(w||T)(r.Y36(p.N))},T.\u0275cmp=r.Xpm({type:T,selectors:[["cd-table-key-value"]],viewQuery:function(w,R){if(1&w&&r.Gf(e.a,7),2&w){let U;r.iGM(U=r.CRH())&&(R.table=U.first)}},inputs:{data:"data",autoReload:"autoReload",renderObjects:"renderObjects",appendParentKey:"appendParentKey",hideEmpty:"hideEmpty",hideKeys:"hideKeys",customCss:"customCss"},outputs:{fetchData:"fetchData"},features:[r.TTD],decls:3,vars:9,consts:[[1,"table-scroller"],["columnMode","flex",3,"data","columns","toolHeader","autoReload","customCss","autoSave","header","footer","limit"],["table",""]],template:function(w,R){1&w&&(r.TgZ(0,"div",0),r._UZ(1,"cd-table",1,2),r.qZA()),2&w&&(r.xp6(1),r.Q6J("data",R.tableData)("columns",R.columns)("toolHeader",!1)("autoReload",R.autoReload)("customCss",R.customCss)("autoSave",!1)("header",!1)("footer",!1)("limit",0))},directives:[e.a],styles:[".table-scroller[_ngcontent-%COMP%]{height:100%;max-height:40vh;overflow:auto}"]}),T})()},83697:(v,b,i)=>{"use strict";i.d(b,{a:()=>ti});var r=i(89724),a=i(84051),f=i(23815),u=i.n(f),e=i(25917),p=i(70882),g=i(71225),T=i(99466),M=i(65862),w=i(48168),R=i(68774),U=i(36848),W=i(11048),j=i(71334),q=i(1659);let ue=(()=>{class Ut{constructor(){this._size=0,this._count=0,this._page=1,this.pageChange=new r.vpe}set size(Et){this._size=Et,this.pages=this.calcPages()}get size(){return this._size}set page(Et){this._page=Et}get page(){return this._page}set count(Et){this._count=Et}get count(){return this._count}get totalPages(){const Et=this.size<1?1:Math.ceil(this._count/this._size);return Math.max(Et||0,1)}canPrevious(){return this._page>1}canNext(){return this._page<this.totalPages}prevPage(){this.selectPage(this._page-1)}nextPage(){this.selectPage(this._page+1)}selectPage(Et){Et>0&&Et<=this.totalPages&&Et!==this.page?(this._page=Et,this.pageChange.emit({page:Et})):Et>0&&Et>=this.totalPages&&(this._page=this.totalPages,this.pageChange.emit({page:this.totalPages}))}calcPages(Et){const $t=[];let _t=1,yt=this.totalPages;Et=Et||this.page,5<this.totalPages&&(_t=Et-Math.floor(2.5),yt=Et+Math.floor(2.5),_t<1?(_t=1,yt=Math.min(_t+5-1,this.totalPages)):yt>this.totalPages&&(_t=Math.max(this.totalPages-5+1,1),yt=this.totalPages));for(let Cr=_t;Cr<=yt;Cr++)$t.push({number:Cr,text:Cr});return $t}}return Ut.\u0275fac=function(Et){return new(Et||Ut)},Ut.\u0275cmp=r.Xpm({type:Ut,selectors:[["cd-table-pagination"]],inputs:{size:"size",page:"page",count:"count"},outputs:{pageChange:"pageChange"},decls:14,vars:7,consts:function(){let Dn,Et,$t,_t,yt,Vt;return Dn="Pagination",Et="Go to first page",$t="Go to previous page",_t="Current page",yt="Go to next page",Vt="Go to last page",[["aria-label",Dn,1,"pagination"],["aria-label",Et,1,"pagination__btn","pagination__btn_first",3,"disabled","click"],["aria-hidden","true",1,"fa","fa-angle-double-left"],["aria-label",$t,1,"pagination__btn","pagination__btn_prev",3,"disabled","click"],["aria-hidden","true",1,"fa","fa-angle-left"],[1,"pagination__pages"],["aria-label",_t,"type","number","min","1",1,"pagination__page_input",3,"max","value","input"],["pageNumber",""],["aria-hidden","true"],["aria-label",yt,1,"pagination__btn","pagination__btn_next",3,"disabled","click"],["aria-hidden","true",1,"fa","fa-angle-right"],["aria-label",Vt,1,"pagination__btn","pagination__btn_last",3,"disabled","click"],["aria-hidden","true",1,"fa","fa-angle-double-right"]]},template:function(Et,$t){if(1&Et){const _t=r.EpF();r.TgZ(0,"nav",0)(1,"button",1),r.NdJ("click",function(){return $t.selectPage(1)}),r._UZ(2,"i",2),r.qZA(),r.TgZ(3,"button",3),r.NdJ("click",function(){return $t.prevPage()}),r._UZ(4,"i",4),r.qZA(),r.TgZ(5,"div",5)(6,"input",6,7),r.NdJ("input",function(){r.CHM(_t);const Vt=r.MAs(7);return $t.selectPage(Vt.valueAsNumber)}),r.qZA(),r.TgZ(8,"span",8),r._uU(9),r.qZA()(),r.TgZ(10,"button",9),r.NdJ("click",function(){return $t.nextPage()}),r._UZ(11,"i",10),r.qZA(),r.TgZ(12,"button",11),r.NdJ("click",function(){return $t.selectPage($t.totalPages)}),r._UZ(13,"i",12),r.qZA()()}2&Et&&(r.xp6(1),r.Q6J("disabled",!$t.canPrevious()),r.xp6(2),r.Q6J("disabled",!$t.canPrevious()),r.xp6(3),r.Q6J("max",$t.totalPages)("value",$t.page),r.xp6(3),r.hij(" of ",$t.totalPages," "),r.xp6(1),r.Q6J("disabled",!$t.canNext()),r.xp6(2),r.Q6J("disabled",!$t.canNext()))},styles:[".pagination[_ngcontent-%COMP%]{align-items:center;display:flex}.pagination__btn[_ngcontent-%COMP%]{background:none;border:0}.pagination__btn[_ngcontent-%COMP%]:disabled{color:#adb5bd}.pagination__page_input[_ngcontent-%COMP%]{border:1px solid #adb5bd;border-radius:.25rem;padding-left:.25rem}"]}),Ut})();var re=i(76446),H=i(55860),se=i(70442),ae=i(66369),ie=i(37496),fe=i(47187),_e=i(78877),Ce=i(52821),ce=i(96102),Be=i(90068);const Ve=["tableCellBoldTpl"],Xe=["sparklineTpl"],He=["routerLinkTpl"],Pe=["checkIconTpl"],Ge=["perSecondTpl"],Oe=["executingTpl"],Tt=["classAddingTpl"],We=["badgeTpl"],Qt=["mapTpl"],Nt=["truncateTpl"],Yt=["timeAgoTpl"],dn=["rowDetailsTpl"],rn=["rowSelectionTpl"];function vt(Ut,Dn){1&Ut&&(r.TgZ(0,"div",22)(1,"div",23),r.Hsn(2),r.qZA()())}function xt(Ut,Dn){if(1&Ut){const Et=r.EpF();r.ynx(0),r.TgZ(1,"button",39),r.NdJ("click",function(){const yt=r.CHM(Et).$implicit;return r.oxw(3).onSelectFilter(yt),!1}),r._uU(2),r.qZA(),r.BQk()}if(2&Ut){const Et=Dn.$implicit;r.xp6(2),r.Oqu(Et.column.name)}}const Ct=function(Ut){return[Ut]};function Gt(Ut,Dn){if(1&Ut&&r._UZ(0,"i",30),2&Ut){const Et=r.oxw(4);r.Q6J("ngClass",r.VKq(1,Ct,Et.icons.check))}}function Fn(Ut,Dn){if(1&Ut){const Et=r.EpF();r.ynx(0),r.TgZ(1,"button",39),r.NdJ("click",function(){const yt=r.CHM(Et).$implicit,Vt=r.oxw(3);return Vt.onChangeFilter(Vt.selectedFilter,yt),!1}),r._uU(2),r.YNc(3,Gt,1,3,"i",40),r.qZA(),r.BQk()}if(2&Ut){const Et=Dn.$implicit,$t=r.oxw(3);r.xp6(2),r.hij(" ",Et.formatted," "),r.xp6(1),r.Q6J("ngIf",void 0!==$t.selectedFilter.value&&$t.selectedFilter.value.raw===Et.raw)}}const pr=function(Ut,Dn){return[Ut,Dn]};function mi(Ut,Dn){if(1&Ut&&(r.TgZ(0,"div",34)(1,"div",35)(2,"button",36),r._UZ(3,"i",30),r._uU(4),r.qZA(),r.TgZ(5,"div",31),r.YNc(6,xt,3,1,"ng-container",32),r.qZA()(),r.TgZ(7,"div",37)(8,"button",38),r._uU(9),r.qZA(),r.TgZ(10,"div",31),r.YNc(11,Fn,4,2,"ng-container",32),r.qZA()()()),2&Ut){const Et=r.oxw(2);r.xp6(3),r.Q6J("ngClass",r.WLB(7,pr,Et.icons.large,Et.icons.filter)),r.xp6(1),r.hij(" ",Et.selectedFilter.column.name," "),r.xp6(2),r.Q6J("ngForOf",Et.columnFilters),r.xp6(2),r.ekj("disabled",0===Et.selectedFilter.options.length),r.xp6(1),r.hij(" ",Et.selectedFilter.value?Et.selectedFilter.value.formatted:"Any"," "),r.xp6(2),r.Q6J("ngForOf",Et.selectedFilter.options)}}function ci(Ut,Dn){if(1&Ut){const Et=r.EpF();r.TgZ(0,"div",41)(1,"span",42),r._UZ(2,"i",30),r.qZA(),r.TgZ(3,"input",43),r.NdJ("ngModelChange",function(_t){return r.CHM(Et),r.oxw(2).search=_t})("keyup",function(){return r.CHM(Et),r.oxw(2).updateFilter()}),r.qZA(),r.TgZ(4,"button",44),r.NdJ("click",function(){return r.CHM(Et),r.oxw(2).onClearSearch()}),r._UZ(5,"i"),r.qZA()()}if(2&Ut){const Et=r.oxw(2);r.xp6(2),r.Q6J("ngClass",r.VKq(5,Ct,Et.icons.search)),r.xp6(1),r.Q6J("ngModel",Et.search),r.xp6(2),r.Gre("icon-prepend ",Et.icons.destroy,"")}}function hr(Ut,Dn){if(1&Ut){const Et=r.EpF();r.TgZ(0,"div",45)(1,"input",46),r.NdJ("click",function(_t){return r.CHM(Et),r.oxw(2).setLimit(_t)})("keyup",function(_t){return r.CHM(Et),r.oxw(2).setLimit(_t)})("blur",function(_t){return r.CHM(Et),r.oxw(2).setLimit(_t)}),r.qZA()()}if(2&Ut){const Et=r.oxw(2);r.xp6(1),r.Q6J("value",Et.userConfig.limit)}}function Br(Ut,Dn){if(1&Ut){const Et=r.EpF();r.TgZ(0,"button",39),r.NdJ("click",function(){r.CHM(Et);const _t=r.oxw().$implicit;return r.oxw(2).toggleColumn(_t),!1}),r.TgZ(1,"div",48),r._UZ(2,"input",49),r.TgZ(3,"label",50),r._uU(4),r.qZA()()()}if(2&Ut){const Et=r.oxw().$implicit,$t=r.oxw(2);r.xp6(2),r.hYB("id","",Et.prop,"",$t.tableName,""),r.Q6J("name",Et.prop)("checked",!Et.isHidden),r.xp6(1),r.hYB("for","",Et.prop,"",$t.tableName,""),r.xp6(1),r.Oqu(Et.name)}}function Ur(Ut,Dn){if(1&Ut&&(r.ynx(0),r.YNc(1,Br,5,7,"button",47),r.BQk()),2&Ut){const Et=Dn.$implicit;r.xp6(1),r.Q6J("ngIf",""!==Et.name)}}function Hn(Ut,Dn){if(1&Ut){const Et=r.EpF();r.TgZ(0,"div",51)(1,"button",52),r.NdJ("click",function(){return r.CHM(Et),r.oxw(2).refreshBtn()}),r._UZ(2,"i",30),r.qZA()()}if(2&Ut){const Et=r.oxw(2);r.xp6(1),r.Tol("btn btn-"+Et.status.type),r.Q6J("ngbTooltip",Et.status.msg),r.xp6(1),r.ekj("fa-spin",Et.updating||Et.loadingIndicator),r.Q6J("ngClass",r.WLB(6,pr,Et.icons.large,Et.icons.refresh))}}function er(Ut,Dn){if(1&Ut&&(r.TgZ(0,"div",22)(1,"div",23),r.Hsn(2,1),r.qZA(),r.YNc(3,mi,12,10,"div",24),r.YNc(4,ci,6,7,"div",25),r.YNc(5,hr,2,1,"div",26),r.TgZ(6,"div",27)(7,"div",28)(8,"button",29),r._UZ(9,"i",30),r.qZA(),r.TgZ(10,"div",31),r.YNc(11,Ur,2,1,"ng-container",32),r.qZA()()(),r.YNc(12,Hn,3,9,"div",33),r.qZA()),2&Ut){const Et=r.oxw();r.xp6(3),r.Q6J("ngIf",0!==Et.columnFilters.length),r.xp6(1),r.Q6J("ngIf",Et.searchField),r.xp6(1),r.Q6J("ngIf",Et.limit),r.xp6(4),r.Q6J("ngClass",r.WLB(6,pr,Et.icons.large,Et.icons.table)),r.xp6(2),r.Q6J("ngForOf",Et.columns),r.xp6(1),r.Q6J("ngIf",Et.fetchData.observers.length>0)}}function _r(Ut,Dn){if(1&Ut){const Et=r.EpF();r.TgZ(0,"span",57)(1,"span",58),r._uU(2),r.qZA(),r.TgZ(3,"a",59),r.NdJ("click",function(){r.CHM(Et);const _t=r.oxw().$implicit;return r.oxw(2).onChangeFilter(_t),!1}),r._UZ(4,"i",60),r.qZA()()}if(2&Ut){const Et=r.oxw().$implicit,$t=r.oxw(2);r.xp6(2),r.AsE("",Et.column.name,": ",Et.value.formatted,""),r.xp6(2),r.Q6J("ngClass",r.VKq(3,Ct,$t.icons.destroy))}}function ei(Ut,Dn){if(1&Ut&&(r.TgZ(0,"span"),r.YNc(1,_r,5,5,"span",56),r.qZA()),2&Ut){const Et=Dn.$implicit;r.xp6(1),r.Q6J("ngIf",Et.value)}}function bi(Ut,Dn){if(1&Ut){const Et=r.EpF();r.TgZ(0,"div",22)(1,"div",53),r.YNc(2,ei,2,1,"span",32),r.TgZ(3,"a",54),r.NdJ("click",function(){return r.CHM(Et),r.oxw().onClearFilters(),!1}),r.ynx(4),r.SDv(5,55),r.BQk(),r.qZA()()()}if(2&Ut){const Et=r.oxw();r.xp6(2),r.Q6J("ngForOf",Et.columnFilters)}}function fi(Ut,Dn){if(1&Ut&&r._UZ(0,"input",61),2&Ut){const Et=Dn.isSelected;r.Q6J("checked",Et),r.uIk("aria-label",Et?"selected":"select")}}function no(Ut,Dn){1&Ut&&r.Hsn(0,2)}function xo(Ut,Dn){if(1&Ut&&(r.TgZ(0,"span"),r._uU(1),r.ynx(2),r.SDv(3,67),r.BQk(),r._uU(4," / "),r.qZA()),2&Ut){const Et=r.oxw().selectedCount;r.xp6(1),r.hij(" ",Et," ")}}function Er(Ut,Dn){if(1&Ut&&(r.TgZ(0,"span"),r._uU(1),r.ynx(2),r.SDv(3,69),r.BQk(),r._uU(4," / "),r.qZA()),2&Ut){const Et=r.oxw(2).rowCount;r.xp6(1),r.hij(" ",Et," ")}}function an(Ut,Dn){if(1&Ut&&(r.TgZ(0,"span"),r.YNc(1,Er,5,1,"span",63),r._uU(2),r.ynx(3),r.SDv(4,68),r.BQk(),r.qZA()),2&Ut){const Et=r.oxw().rowCount,$t=r.oxw();r.xp6(1),r.Q6J("ngIf",Et!=(null==$t.data?null:$t.data.length)),r.xp6(1),r.hij(" ",(null==$t.data?null:$t.data.length)||0," ")}}function vn(Ut,Dn){if(1&Ut&&(r._uU(0),r.ynx(1),r.SDv(2,70),r.BQk(),r._uU(3),r.ynx(4),r.SDv(5,71),r.BQk()),2&Ut){const Et=r.oxw().rowCount,$t=r.oxw();r.hij(" ",(null==$t.data?null:$t.data.length)||0," "),r.xp6(3),r.hij(" / ",Et," ")}}function Zn(Ut,Dn){if(1&Ut){const Et=r.EpF();r.TgZ(0,"div",62),r.YNc(1,xo,5,1,"span",63),r.YNc(2,an,5,2,"span",64),r.YNc(3,vn,6,2,"ng-template",null,65,r.W1O),r.qZA(),r.TgZ(5,"cd-table-pagination",66),r.NdJ("pageChange",function(_t){return r.CHM(Et),r.oxw(),r.MAs(5).onFooterPage(_t)}),r.qZA()}if(2&Ut){const Et=Dn.rowCount,$t=Dn.pageSize,_t=Dn.curPage,yt=r.MAs(4),Vt=r.oxw();r.xp6(1),r.Q6J("ngIf",Vt.selectionType),r.xp6(1),r.Q6J("ngIf",!Vt.serverSide)("ngIfElse",yt),r.xp6(3),r.Q6J("page",_t)("size",$t)("count",Et)("hidden",!(Et/$t>1))}}function Xn(Ut,Dn){if(1&Ut&&(r.TgZ(0,"strong"),r._uU(1),r.qZA()),2&Ut){const Et=Dn.value;r.xp6(1),r.Oqu(Et)}}function zn(Ut,Dn){if(1&Ut&&r._UZ(0,"cd-sparkline",72),2&Ut){const Et=Dn.row;r.Q6J("data",Dn.value)("isBinary",Et.cdIsBinary)}}function ri(Ut,Dn){if(1&Ut&&(r.TgZ(0,"a",73),r._uU(1),r.qZA()),2&Ut){const Et=Dn.row,$t=Dn.value;r.Q6J("routerLink",r.VKq(3,Ct,Et.cdLink))("queryParams",Et.cdParams),r.xp6(1),r.Oqu($t)}}function Gi(Ut,Dn){if(1&Ut&&(r._UZ(0,"i",74),r.ALo(1,"boolean")),2&Ut){const Et=Dn.value,$t=r.oxw();r.Q6J("ngClass",r.VKq(4,Ct,$t.icons.check))("hidden",!r.lcZ(1,2,Et))}}function ui(Ut,Dn){1&Ut&&(r._uU(0),r.ALo(1,"dimless")),2&Ut&&r.hij(" ",r.lcZ(1,1,Dn.value)," /s\n")}function vr(Ut,Dn){if(1&Ut&&r._UZ(0,"i",30),2&Ut){const Et=r.oxw(2);r.Q6J("ngClass",r.WLB(1,pr,Et.icons.spinner,Et.icons.spin))}}function Ji(Ut,Dn){if(1&Ut&&(r.TgZ(0,"span",30),r._uU(1),r.qZA()),2&Ut){const Et=r.oxw(),$t=Et.column,_t=Et.row;r.Q6J("ngClass",null!=$t&&null!=$t.customTemplateConfig&&$t.customTemplateConfig.executingClass?$t.customTemplateConfig.executingClass:"text-muted italic"),r.xp6(1),r.hij("(",_t.cdExecuting,")")}}function mn(Ut,Dn){if(1&Ut&&(r.YNc(0,vr,1,4,"i",40),r.TgZ(1,"span",30),r._uU(2),r.qZA(),r.YNc(3,Ji,2,2,"span",40)),2&Ut){const Et=Dn.column,$t=Dn.row,_t=Dn.value;r.Q6J("ngIf",$t.cdExecuting),r.xp6(1),r.Q6J("ngClass",null==Et||null==Et.customTemplateConfig?null:Et.customTemplateConfig.valueClass),r.xp6(1),r.hij(" ",_t," "),r.xp6(1),r.Q6J("ngIf",$t.cdExecuting)}}function Rn(Ut,Dn){if(1&Ut&&(r.TgZ(0,"span"),r.ALo(1,"pipeFunction"),r._uU(2),r.qZA()),2&Ut){const Et=Dn.value,$t=r.oxw();r.Tol(r.Dn7(1,4,Et,$t.useCustomClass,$t)),r.xp6(2),r.Oqu(Et)}}function Wn(Ut,Dn){if(1&Ut&&(r.TgZ(0,"span",76),r._uU(1),r.qZA()),2&Ut){const Et=r.oxw().$implicit,$t=r.oxw().column;r.Q6J("ngClass",null!=$t&&null!=$t.customTemplateConfig&&$t.customTemplateConfig.map&&null!=$t&&null!=$t.customTemplateConfig&&null!=$t.customTemplateConfig.map[Et]&&$t.customTemplateConfig.map[Et].class?$t.customTemplateConfig.map[Et].class:null!=$t&&null!=$t.customTemplateConfig&&$t.customTemplateConfig.class?$t.customTemplateConfig.class:"badge-primary"),r.xp6(1),r.hij(" ",null!=$t&&null!=$t.customTemplateConfig&&$t.customTemplateConfig.map&&null!=$t&&null!=$t.customTemplateConfig&&null!=$t.customTemplateConfig.map[Et]&&$t.customTemplateConfig.map[Et].value?$t.customTemplateConfig.map[Et].value:null!=$t&&null!=$t.customTemplateConfig&&$t.customTemplateConfig.prefix?$t.customTemplateConfig.prefix+Et:Et," ")}}function et(Ut,Dn){1&Ut&&(r.TgZ(0,"span"),r._uU(1,"\xa0"),r.qZA())}function Le(Ut,Dn){if(1&Ut&&(r.TgZ(0,"span"),r.YNc(1,Wn,2,2,"span",75),r.YNc(2,et,2,0,"span",63),r.qZA()),2&Ut){const Et=Dn.$implicit,$t=Dn.last,_t=r.oxw().column;r.xp6(1),r.Q6J("ngIf",null!=_t&&null!=_t.customTemplateConfig&&_t.customTemplateConfig.map&&null!=_t&&null!=_t.customTemplateConfig&&null!=_t.customTemplateConfig.map[Et]&&_t.customTemplateConfig.map[Et].value?_t.customTemplateConfig.map[Et].value:null!=_t&&null!=_t.customTemplateConfig&&_t.customTemplateConfig.prefix?_t.customTemplateConfig.prefix+Et:Et),r.xp6(1),r.Q6J("ngIf",!$t)}}function Re(Ut,Dn){1&Ut&&(r.YNc(0,Le,3,2,"span",32),r.ALo(1,"array")),2&Ut&&r.Q6J("ngForOf",r.lcZ(1,1,Dn.value))}function Se(Ut,Dn){if(1&Ut&&(r.TgZ(0,"span"),r._uU(1),r.ALo(2,"map"),r.qZA()),2&Ut){const Et=Dn.column,$t=Dn.value;r.xp6(1),r.Oqu(r.xi3(2,1,$t,null==Et?null:Et.customTemplateConfig))}}function dt(Ut,Dn){if(1&Ut&&(r.TgZ(0,"span",77),r._uU(1),r.ALo(2,"truncate"),r.qZA()),2&Ut){const Et=Dn.column,$t=Dn.value;r.Q6J("title",$t),r.xp6(1),r.Oqu(r.Dn7(2,2,$t,null==Et||null==Et.customTemplateConfig?null:Et.customTemplateConfig.length,null==Et||null==Et.customTemplateConfig?null:Et.customTemplateConfig.omission))}}function st(Ut,Dn){if(1&Ut){const Et=r.EpF();r.TgZ(0,"a",78),r.NdJ("click",function(_t){const yt=r.CHM(Et),Vt=yt.row,yn=yt.expanded;return r.oxw().toggleExpandRow(Vt,yn,_t)}),r.qZA()}if(2&Ut){const Et=Dn.expanded;r.ekj("expand-collapse-icon-right",!Et)("expand-collapse-icon-down",Et)}}function nn(Ut,Dn){if(1&Ut&&(r.TgZ(0,"span",77),r.ALo(1,"cdDate"),r._uU(2),r.ALo(3,"relativeDate"),r.qZA()),2&Ut){const Et=Dn.value;r.Q6J("title",r.lcZ(1,2,Et)),r.xp6(2),r.Oqu(r.lcZ(3,4,Et))}}const Fe=[[["",8,"only-table-actions"]],[["",8,"table-actions"]],[["","cdTableDetail",""]]],Lr=[".only-table-actions",".table-actions","[cdTableDetail]"];let ti=(()=>{class Ut{constructor(Et,$t){this.cdRef=Et,this.timerService=$t,this.columnMode="flex",this.onlyActionHeader=!1,this.toolHeader=!0,this.searchField=!0,this.header=!0,this.footer=!0,this.limit=10,this.maxLimit=9999,this.hasDetails=!1,this.autoReload=5e3,this.identifier="id",this.forceIdentifier=!1,this.selectionType=void 0,this.updateSelectionOnRefresh="onChange",this.updateExpandedOnRefresh="onChange",this.autoSave=!0,this.searchableObjects=!1,this.extraFilterableColumns=[],this.status=new g.c,this.serverSide=!1,this.count=0,this.fetchData=new r.vpe,this.updateSelection=new r.vpe,this.setExpandedRow=new r.vpe,this.columnFiltersChanged=new r.vpe,this.selection=new R.r,this.expanded=void 0,this.icons=M.P,this.cellTemplates={},this.search="",this.rows=[],this.loadingIndicator=!0,this.paginationClasses={pagerLeftArrow:M.P.leftArrowDouble,pagerRightArrow:M.P.rightArrowDouble,pagerPrevious:M.P.leftArrow,pagerNext:M.P.rightArrow},this.userConfig={},this.localStorage=window.localStorage,this.updating=!1,this.columnFilters=[]}get columnFiltered(){return u().some(this.columnFilters,Et=>void 0!==Et.value)}static prepareSearch(Et){return(Et=Et.toLowerCase().replace(/,/g,"")).match(/['"][^'"]+['"]/)&&(Et=Et.replace(/['"][^'"]+['"]/g,$t=>$t.replace(/(['"])([^'"]+)(['"])/g,"$2").replace(/ /g,"+"))),Et.split(" ").filter($t=>$t)}ngOnInit(){if(this.localColumns=u().clone(this.columns),this.serverSide&&(this.reloadData=u().debounce(this.reloadData,1e3)),this.table.element.addEventListener("mouseenter",Et=>Et.stopPropagation()),this._addTemplates(),!this.sorts){const Et=-1!==u().findIndex(this.localColumns,["prop",this.identifier]);this.sorts=this.createSortingDefinition(Et?this.identifier:this.localColumns[0].prop+""),!Et&&!this.forceIdentifier&&(this.identifier=this.localColumns[0].prop+"")}this.initUserConfig(),this.localColumns.forEach(Et=>{Et.cellTransformation&&(Et.cellTemplate=this.cellTemplates[Et.cellTransformation]),Et.flexGrow||(Et.flexGrow=Et.prop+""===this.identifier?1:2),Et.resizeable||(Et.resizeable=!1)}),this.initExpandCollapseColumn(),this.initCheckboxColumn(),this.filterHiddenColumns(),this.initColumnFilters(),this.updateColumnFilterOptions(),this.updateSelection.emit(new R.r),this.fetchData.observers.length>0&&(this.loadingIndicator=!0),u().isInteger(this.autoReload)&&this.autoReload>0?this.reloadSubscriber=this.timerService.get(()=>(0,e.of)(0),this.autoReload).subscribe(()=>{this.reloadData()}):this.autoReload?this.useData():this.reloadData()}initUserConfig(){this.autoSave&&(this.tableName=this._calculateUniqueTableName(this.localColumns),this._loadUserConfig(),this._initUserConfigAutoSave()),this.userConfig.limit||(this.userConfig.limit=this.limit),this.userConfig.offset>=0||(this.userConfig.offset=this.table.offset),this.userConfig.search||(this.userConfig.search=this.search),this.userConfig.sorts||(this.userConfig.sorts=this.sorts),this.userConfig.columns?this.userConfig.columns.forEach(Et=>{for(let $t=0;$t<this.localColumns.length;$t++)this.localColumns[$t].prop===Et.prop&&(this.localColumns[$t].isHidden=Et.isHidden)}):this.updateUserColumns()}_calculateUniqueTableName(Et){const $t=_t=>{if(!u().isString(_t))return 0;let yt=0;for(let Vt=0;Vt<_t.length;Vt++)yt+=_t.charCodeAt(Vt)*Vt;return yt};return Et.reduce((_t,yt,Vt)=>($t(yt.prop)+$t(yt.name))*(Vt+1)+_t,0).toString()}_loadUserConfig(){const Et=this.localStorage.getItem(this.tableName);Et&&(this.userConfig=JSON.parse(Et))}_initUserConfigAutoSave(){const Et=new p.y(this._initUserConfigProxy.bind(this));this.saveSubscriber=Et.subscribe(this._saveUserConfig.bind(this))}_initUserConfigProxy(Et){this.userConfig=new Proxy(this.userConfig,{set:($t,_t,yt)=>($t[_t]=yt,Et.next($t),!0)})}_saveUserConfig(Et){this.localStorage.setItem(this.tableName,JSON.stringify(Et))}updateUserColumns(){this.userConfig.columns=this.localColumns.map(Et=>({prop:Et.prop,name:Et.name,isHidden:!!Et.isHidden}))}initCheckboxColumn(){"multiClick"===this.selectionType&&this.localColumns.unshift({prop:void 0,resizeable:!1,sortable:!1,draggable:!1,checkboxable:!1,canAutoResize:!1,cellClass:"cd-datatable-checkbox",cellTemplate:this.rowSelectionTpl,width:30})}initExpandCollapseColumn(){this.hasDetails&&this.localColumns.unshift({prop:void 0,resizeable:!1,sortable:!1,draggable:!1,isHidden:!1,canAutoResize:!1,cellClass:"cd-datatable-expand-collapse",width:40,cellTemplate:this.rowDetailsTpl})}filterHiddenColumns(){this.tableColumns=this.localColumns.filter(Et=>!Et.isHidden)}initColumnFilters(){let Et=u().filter(this.localColumns,{filterable:!0});Et=[...Et,...this.extraFilterableColumns],this.columnFilters=Et.map($t=>({column:$t,options:[],value:$t.filterInitValue?this.createColumnFilterOption($t.filterInitValue,$t.pipe):void 0})),this.selectedFilter=u().first(this.columnFilters)}createColumnFilterOption(Et,$t){return{raw:u().toString(Et),formatted:$t?$t.transform(Et):u().toString(Et)}}updateColumnFilterOptions(){this.columnFilters.forEach(Et=>{let $t=[];if(u().isUndefined(Et.column.filterOptions)){const yt=u().filter(u().map(this.data,Et.column.prop),Vt=>u().isString(Vt)&&""!==Vt||u().isBoolean(Vt)||u().isFinite(Vt)||u().isDate(Vt));$t=u().sortedUniq(yt.sort())}else $t=Et.column.filterOptions;const _t=$t.map(yt=>this.createColumnFilterOption(yt,Et.column.pipe));Et.value&&u().isUndefined(u().find(_t,{raw:Et.value.raw}))&&(Et.value=void 0),Et.options=_t})}onSelectFilter(Et){this.selectedFilter=Et}onChangeFilter(Et,$t){Et.value=u().isEqual(Et.value,$t)?void 0:$t,this.updateFilter()}doColumnFiltering(){const Et=[];let $t=[...this.data],_t=[];return this.columnFilters.forEach(yt=>{if(void 0===yt.value)return;Et.push({name:yt.column.name,prop:yt.column.prop,value:yt.value});const Vt=u().partition($t,yn=>{const xi=(0,a.Hg)(yt.column.prop)(yn,yt.column.prop);return u().isUndefined(yt.column.filterPredicate)?`${xi}`===yt.value.raw:yt.column.filterPredicate(yn,yt.value.raw)});$t=Vt[0],_t=[..._t,...Vt[1]]}),this.columnFiltersChanged.emit({filters:Et,data:$t,dataOut:_t}),u().forEach(this.selection.selected,yt=>{void 0===u().find($t,{[this.identifier]:yt[this.identifier]})&&(this.selection=new R.r,this.onSelect(this.selection))}),$t}ngOnDestroy(){this.reloadSubscriber&&this.reloadSubscriber.unsubscribe(),this.saveSubscriber&&this.saveSubscriber.unsubscribe()}ngAfterContentChecked(){this.table&&this.table.element.clientWidth!==this.currentWidth&&(this.currentWidth=this.table.element.clientWidth,this.table.recalculate(),u().get(this.table,"cd").markForCheck())}_addTemplates(){this.cellTemplates.bold=this.tableCellBoldTpl,this.cellTemplates.checkIcon=this.checkIconTpl,this.cellTemplates.sparkline=this.sparklineTpl,this.cellTemplates.routerLink=this.routerLinkTpl,this.cellTemplates.perSecond=this.perSecondTpl,this.cellTemplates.executing=this.executingTpl,this.cellTemplates.classAdding=this.classAddingTpl,this.cellTemplates.badge=this.badgeTpl,this.cellTemplates.map=this.mapTpl,this.cellTemplates.truncate=this.truncateTpl,this.cellTemplates.timeAgo=this.timeAgoTpl}useCustomClass(Et){if(!this.customCss)throw new Error("Custom classes are not set!");const $t=Object.keys(this.customCss),_t=Object.values(this.customCss).map((yt,Vt)=>(u().isFunction(yt)&&yt(Et)||yt===Et)&&$t[Vt]).filter(yt=>yt).join(" ");return u().isEmpty(_t)?void 0:_t}ngOnChanges(Et){Et.data&&Et.data.currentValue&&this.useData()}setLimit(Et){const $t=Number(Et.target.value);$t>0&&(this.maxLimit&&$t>this.maxLimit?(this.userConfig.limit=this.maxLimit,Et.srcElement.value=this.maxLimit):this.userConfig.limit=$t),this.serverSide&&this.reloadData()}reloadData(){var Et;if(!this.updating){this.status=new g.c;const $t=new w.E(()=>{$t.errorConfig.displayError&&(this.status=new g.c("danger","Failed to load data.")),$t.errorConfig.resetData&&(this.data=[]),this.useData()});if($t.pageInfo.offset=this.userConfig.offset,$t.pageInfo.limit=this.userConfig.limit,$t.search=this.userConfig.search,null===(Et=this.userConfig.sorts)||void 0===Et?void 0:Et.length){const _t=this.userConfig.sorts[0];$t.sort=`${"desc"===_t.dir?"-":"+"}${_t.prop}`}this.fetchData.emit($t),this.updating=!0}}refreshBtn(){this.loadingIndicator=!0,this.reloadData()}changePage(Et){this.userConfig.offset=Et.offset,this.userConfig.limit=Et.limit,this.serverSide&&this.reloadData()}rowIdentity(){return Et=>{const $t=Et[this.identifier];if(u().isUndefined($t))throw new Error(`Wrong identifier "${this.identifier}" -> "${$t}"`);return $t}}useData(){!this.data||(this.updateColumnFilterOptions(),this.updateFilter(),this.reset(),this.updateSelected(),this.updateExpanded())}reset(){this.loadingIndicator=!1,this.updating=!1}updateSelected(){if("never"===this.updateSelectionOnRefresh)return;const Et=new Set;this.selection.selected.forEach(_t=>{for(const yt of this.data)_t[this.identifier]===yt[this.identifier]&&Et.add(yt)});const $t=Array.from(Et.values());"onChange"===this.updateSelectionOnRefresh&&u().isEqual(this.selection.selected,$t)||(this.selection.selected=$t,this.onSelect(this.selection))}updateExpanded(){if(u().isUndefined(this.expanded)||"never"===this.updateExpandedOnRefresh)return;const Et=this.expanded[this.identifier],$t=u().find(this.data,_t=>Et===_t[this.identifier]);"onChange"===this.updateExpandedOnRefresh&&u().isEqual(this.expanded,$t)||(this.expanded=$t,this.setExpandedRow.emit($t))}onSelect(Et){u().has(Et,"selected")&&(this.selection.selected=Et.selected),this.updateSelection.emit(u().clone(this.selection))}toggleColumn(Et){const $t=Et.prop,_t=!Et.isHidden;_t&&1===this.tableColumns.length?Et.isHidden=!0:(u().find(this.localColumns,yt=>yt.prop===$t).isHidden=_t,this.updateColumns())}updateColumns(){this.updateUserColumns(),this.filterHiddenColumns();const Et=this.userConfig.sorts[0].prop;u().find(this.tableColumns,$t=>$t.prop===Et)||(this.userConfig.sorts=this.createSortingDefinition(this.tableColumns[0].prop)),this.table.recalculate(),this.cdRef.detectChanges()}createSortingDefinition(Et){return[{prop:Et,dir:a.Sr.asc}]}changeSorting({sorts:Et}){this.userConfig.sorts=Et,this.serverSide&&(this.userConfig.offset=0,this.reloadData())}onClearSearch(){this.search="",this.updateFilter()}onClearFilters(){this.columnFilters.forEach(Et=>{Et.value=void 0}),this.selectedFilter=u().first(this.columnFilters),this.updateFilter()}updateFilter(){if(this.serverSide)this.userConfig.search!==this.search&&(this.userConfig.offset=0,this.userConfig.limit=this.limit,this.userConfig.search=this.search,this.updating=!1,this.reloadData()),this.rows=this.data;else{let Et=0!==this.columnFilters.length?this.doColumnFiltering():this.data;if(this.search.length>0&&Et){const $t=this.localColumns.filter(_t=>_t.cellTransformation!==T.e.sparkline);Et=this.subSearch(Et,Ut.prepareSearch(this.search),$t),this.table.offset=0}this.rows=Et}}subSearch(Et,$t,_t){if(0===$t.length||0===Et.length)return Et;const yt=$t.pop().replace(/\+/g," ").split(":"),Vt=[..._t];return 2===yt.length&&(_t=Vt.filter(yn=>-1!==yn.name.toLowerCase().indexOf(yt[0]))),Et=this.basicDataSearch(u().last(yt),Et,_t),this.subSearch(Et,$t,Vt)}basicDataSearch(Et,$t,_t){return 0===Et.length?$t:$t.filter(yt=>_t.filter(Vt=>{let yn=u().get(yt,Vt.prop);if(u().isUndefined(Vt.pipe)||(yn=Vt.pipe.transform(yn)),u().isUndefined(yn)||u().isNull(yn))return!1;if(u().isObjectLike(yn)){if(!this.searchableObjects)return!1;yn=JSON.stringify(yn)}return u().isArray(yn)?yn=yn.join(" "):(u().isNumber(yn)||u().isBoolean(yn))&&(yn=yn.toString()),-1!==yn.toLowerCase().indexOf(Et)}).length>0)}getRowClass(){return()=>({clickable:!u().isUndefined(this.selectionType)})}toggleExpandRow(Et,$t,_t){_t.stopPropagation(),$t?(this.expanded=void 0,this.setExpandedRow.emit(void 0)):(this.expanded=Et,this.table.rowDetail.collapseAllRows(),this.setExpandedRow.emit(Et)),this.table.rowDetail.toggleExpandRow(Et)}}return Ut.\u0275fac=function(Et){return new(Et||Ut)(r.Y36(r.sBO),r.Y36(U.f))},Ut.\u0275cmp=r.Xpm({type:Ut,selectors:[["cd-table"]],viewQuery:function(Et,$t){if(1&Et&&(r.Gf(a.nE,7),r.Gf(Ve,7),r.Gf(Xe,7),r.Gf(He,7),r.Gf(Pe,7),r.Gf(Ge,7),r.Gf(Oe,7),r.Gf(Tt,7),r.Gf(We,7),r.Gf(Qt,7),r.Gf(Nt,7),r.Gf(Yt,7),r.Gf(dn,7),r.Gf(rn,7)),2&Et){let _t;r.iGM(_t=r.CRH())&&($t.table=_t.first),r.iGM(_t=r.CRH())&&($t.tableCellBoldTpl=_t.first),r.iGM(_t=r.CRH())&&($t.sparklineTpl=_t.first),r.iGM(_t=r.CRH())&&($t.routerLinkTpl=_t.first),r.iGM(_t=r.CRH())&&($t.checkIconTpl=_t.first),r.iGM(_t=r.CRH())&&($t.perSecondTpl=_t.first),r.iGM(_t=r.CRH())&&($t.executingTpl=_t.first),r.iGM(_t=r.CRH())&&($t.classAddingTpl=_t.first),r.iGM(_t=r.CRH())&&($t.badgeTpl=_t.first),r.iGM(_t=r.CRH())&&($t.mapTpl=_t.first),r.iGM(_t=r.CRH())&&($t.truncateTpl=_t.first),r.iGM(_t=r.CRH())&&($t.timeAgoTpl=_t.first),r.iGM(_t=r.CRH())&&($t.rowDetailsTpl=_t.first),r.iGM(_t=r.CRH())&&($t.rowSelectionTpl=_t.first)}},inputs:{data:"data",columns:"columns",sorts:"sorts",columnMode:"columnMode",onlyActionHeader:"onlyActionHeader",toolHeader:"toolHeader",searchField:"searchField",header:"header",footer:"footer",limit:"limit",maxLimit:"maxLimit",hasDetails:"hasDetails",autoReload:"autoReload",identifier:"identifier",forceIdentifier:"forceIdentifier",selectionType:"selectionType",updateSelectionOnRefresh:"updateSelectionOnRefresh",updateExpandedOnRefresh:"updateExpandedOnRefresh",autoSave:"autoSave",searchableObjects:"searchableObjects",customCss:"customCss",extraFilterableColumns:"extraFilterableColumns",status:"status",serverSide:"serverSide",count:"count"},outputs:{fetchData:"fetchData",updateSelection:"updateSelection",setExpandedRow:"setExpandedRow",columnFiltersChanged:"columnFiltersChanged"},features:[r.TTD],ngContentSelectors:Lr,decls:37,vars:21,consts:function(){let Dn,Et,$t,_t,yt,Vt,yn;return Dn="Clear filters",Et="selected",$t="total",_t="found",yt="found",Vt="total",yn="Expand/Collapse Row",[[1,"dataTables_wrapper"],["class","dataTables_header clearfix",4,"ngIf"],[1,"bootstrap","cd-datatable",3,"cssClasses","selectionType","selected","sorts","columns","columnMode","rows","rowClass","headerHeight","footerHeight","count","externalPaging","externalSorting","limit","offset","loadingIndicator","rowIdentity","rowHeight","select","sort","page"],["table",""],["ngx-datatable-cell-template",""],["rowSelectionTpl",""],["rowHeight","auto"],["detailRow",""],["ngx-datatable-row-detail-template",""],["ngx-datatable-footer-template",""],["tableCellBoldTpl",""],["sparklineTpl",""],["routerLinkTpl",""],["checkIconTpl",""],["perSecondTpl",""],["executingTpl",""],["classAddingTpl",""],["badgeTpl",""],["mapTpl",""],["truncateTpl",""],["rowDetailsTpl",""],["timeAgoTpl",""],[1,"dataTables_header","clearfix"],[1,"cd-datatable-actions"],["class","btn-group widget-toolbar",4,"ngIf"],["class","input-group search",4,"ngIf"],["class","input-group dataTables_paginate",4,"ngIf"],[1,"widget-toolbar"],["ngbDropdown","","autoClose","outside",1,"tc_menuitem"],["ngbDropdownToggle","","title","toggle columns",1,"btn","btn-light","tc_columnBtn"],[3,"ngClass"],["ngbDropdownMenu",""],[4,"ngFor","ngForOf"],["class","widget-toolbar tc_refreshBtn",4,"ngIf"],[1,"btn-group","widget-toolbar"],["ngbDropdown","","placement","bottom-right",1,"tc_filter_name"],["ngbDropdownToggle","","title","Filter",1,"btn","btn-light"],["ngbDropdown","","placement","bottom-right",1,"tc_filter_option"],["ngbDropdownToggle","",1,"btn","btn-light"],["ngbDropdownItem","",3,"click"],[3,"ngClass",4,"ngIf"],[1,"input-group","search"],[1,"input-group-text"],["aria-label","search","type","text",1,"form-control",3,"ngModel","ngModelChange","keyup"],["type","button","title","Clear",1,"btn","btn-light",3,"click"],[1,"input-group","dataTables_paginate"],["aria-label","table pagination","type","number","min","1","max","9999",1,"form-control",3,"value","click","keyup","blur"],["ngbDropdownItem","",3,"click",4,"ngIf"],[1,"custom-control","custom-checkbox","py-0"],["type","checkbox",1,"custom-control-input",3,"name","id","checked"],[1,"custom-control-label",3,"for"],[1,"widget-toolbar","tc_refreshBtn"],["type","button","title","Refresh",3,"ngbTooltip","click"],[1,"filter-chips"],["href","",1,"tc_clearSelections",3,"click"],Dn,["class","badge badge-info me-2",4,"ngIf"],[1,"badge","badge-info","me-2"],[1,"me-2"],[1,"badge-remove",3,"click"],["aria-hidden","true",3,"ngClass"],["type","checkbox",1,"cd-datatable-checkbox",3,"checked"],[1,"page-count"],[4,"ngIf"],[4,"ngIf","ngIfElse"],["serverSideTpl",""],[3,"page","size","count","hidden","pageChange"],Et,$t,_t,yt,Vt,[3,"data","isBinary"],[3,"routerLink","queryParams"],[3,"ngClass","hidden"],["class","badge",3,"ngClass",4,"ngIf"],[1,"badge",3,"ngClass"],["data-toggle","tooltip",3,"title"],["href","javascript:void(0)","title",yn,1,"expand-collapse-icon","tc_expand-collapse",3,"click"]]},template:function(Et,$t){1&Et&&(r.F$t(Fe),r.TgZ(0,"div",0),r.YNc(1,vt,3,0,"div",1),r.YNc(2,er,13,9,"div",1),r.YNc(3,bi,6,1,"div",1),r.TgZ(4,"ngx-datatable",2,3),r.NdJ("select",function(yt){return $t.onSelect(yt)})("sort",function(yt){return $t.changeSorting(yt)})("page",function(yt){return $t.changePage(yt)}),r.YNc(6,fi,1,2,"ng-template",4,5,r.W1O),r.TgZ(8,"ngx-datatable-row-detail",6,7),r.YNc(10,no,1,0,"ng-template",8),r.qZA(),r.TgZ(11,"ngx-datatable-footer"),r.YNc(12,Zn,6,7,"ng-template",9),r.qZA()()(),r.YNc(13,Xn,2,1,"ng-template",null,10,r.W1O),r.YNc(15,zn,1,2,"ng-template",null,11,r.W1O),r.YNc(17,ri,2,5,"ng-template",null,12,r.W1O),r.YNc(19,Gi,2,6,"ng-template",null,13,r.W1O),r.YNc(21,ui,2,3,"ng-template",null,14,r.W1O),r.YNc(23,mn,4,4,"ng-template",null,15,r.W1O),r.YNc(25,Rn,3,8,"ng-template",null,16,r.W1O),r.YNc(27,Re,2,3,"ng-template",null,17,r.W1O),r.YNc(29,Se,3,4,"ng-template",null,18,r.W1O),r.YNc(31,dt,3,6,"ng-template",null,19,r.W1O),r.YNc(33,st,1,4,"ng-template",4,20,r.W1O),r.YNc(35,nn,4,6,"ng-template",null,21,r.W1O)),2&Et&&(r.xp6(1),r.Q6J("ngIf",$t.onlyActionHeader),r.xp6(1),r.Q6J("ngIf",$t.toolHeader),r.xp6(1),r.Q6J("ngIf",$t.toolHeader&&$t.columnFiltered),r.xp6(1),r.Q6J("cssClasses",$t.paginationClasses)("selectionType",$t.selectionType)("selected",$t.selection.selected)("sorts",$t.userConfig.sorts)("columns",$t.tableColumns)("columnMode",$t.columnMode)("rows",$t.rows)("rowClass",$t.getRowClass())("headerHeight",$t.header?"auto":0)("footerHeight",$t.footer?"auto":0)("count",$t.count)("externalPaging",$t.serverSide)("externalSorting",$t.serverSide)("limit",$t.userConfig.limit>0?$t.userConfig.limit:void 0)("offset",$t.userConfig.offset>=0?$t.userConfig.offset:0)("loadingIndicator",$t.loadingIndicator)("rowIdentity",$t.rowIdentity())("rowHeight","auto"))},directives:[W.O5,j.jt,j.iD,W.mk,j.Vi,W.sg,j.TH,q.Fj,q.JJ,q.On,j._L,a.nE,a.vq,a.$7,a.AR,a.dX,a.ii,ue,re.l,H.yS],pipes:[se.i,ae.n,ie.i,fe.I,_e.b,Ce.W,ce.N,Be.h],styles:['.dataTables_wrapper[_ngcontent-%COMP%]{margin-bottom:25px;max-width:99.9%}.dataTables_wrapper[_ngcontent-%COMP%]   .separator[_ngcontent-%COMP%]{border-left:1px solid rgba(0,0,0,.09);display:inline-block;height:30px;margin-left:5px;padding-left:5px;vertical-align:middle}.dataTables_wrapper[_ngcontent-%COMP%]   .widget-toolbar[_ngcontent-%COMP%]{border-left:1px solid rgba(0,0,0,.09);float:right;padding:0 8px}.dataTables_wrapper[_ngcontent-%COMP%]   .widget-toolbar[_ngcontent-%COMP%]   .form-check[_ngcontent-%COMP%]{padding-left:0}.dataTables_wrapper[_ngcontent-%COMP%]   .dataTables_length[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]{line-height:25px;text-align:right}.dataTables_header[_ngcontent-%COMP%]{background-color:#f8f9fa;border:1px solid #ced4da;border-bottom:0;padding:5px;position:relative}.dataTables_header[_ngcontent-%COMP%]   .cd-datatable-actions[_ngcontent-%COMP%]{float:left}.dataTables_header[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]{padding-left:8px}.dataTables_header[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]{border-left:1px solid rgba(0,0,0,.09);float:right;max-width:250px;padding-left:8px;padding-right:8px;width:40%}.dataTables_header[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]{height:30px}.dataTables_header[_ngcontent-%COMP%]   .input-group.dataTables_paginate[_ngcontent-%COMP%]{min-width:85px;padding-right:8px;width:8%}.dataTables_header[_ngcontent-%COMP%]   .filter-chips[_ngcontent-%COMP%]{float:right;padding:0 8px}.dataTables_header[_ngcontent-%COMP%]   .filter-chips[_ngcontent-%COMP%]   .badge-remove[_ngcontent-%COMP%]{color:#fff}  cd-table .cd-datatable{border:1px solid #ced4da;margin-bottom:0;max-width:none!important}  cd-table .cd-datatable .progress-linear{display:block;height:5px;margin:0;padding:0;position:relative;width:100%}  cd-table .cd-datatable .progress-linear .container{background-color:#25828e}  cd-table .cd-datatable .progress-linear .container .bar{background-color:#25828e;height:100%;left:0;overflow:hidden;position:absolute;width:100%}  cd-table .cd-datatable .progress-linear .container .bar:before{animation:progress-loading 3s linear infinite;background-color:#25828e;content:"";display:block;height:100%;left:-200px;position:absolute;width:200px}  cd-table .cd-datatable .datatable-header{background-clip:padding-box;background-color:#f8f9fa;background-image:linear-gradient(to bottom,#f8f9fa 0,#e9ecef 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#fffafafa",endColorstr="#ffededed",GradientType=0)}  cd-table .cd-datatable .datatable-header .sort-asc,   cd-table .cd-datatable .datatable-header .sort-desc{color:#25828e}  cd-table .cd-datatable .datatable-header .datatable-header-cell{border:0;border-bottom:1px solid #ced4da;border-left:1px solid #ced4da;padding:5px;font-weight:700;text-align:left}  cd-table .cd-datatable .datatable-header .datatable-header-cell .datatable-header-cell-label:after{font-family:ForkAwesome;font-weight:400;height:9px;left:10px;line-height:12px;position:relative;vertical-align:baseline;width:12px}  cd-table .cd-datatable .datatable-header .datatable-header-cell.sortable .datatable-header-cell-label:after{content:" \\f0dc"}  cd-table .cd-datatable .datatable-header .datatable-header-cell.sortable.sort-active.sort-asc .datatable-header-cell-label:after{content:" \\f160"}  cd-table .cd-datatable .datatable-header .datatable-header-cell.sortable.sort-active.sort-desc .datatable-header-cell-label:after{content:" \\f161"}  cd-table .cd-datatable .datatable-header .datatable-header-cell:first-child{border-left:0}  cd-table .cd-datatable .datatable-body{margin-bottom:-6px}  cd-table .cd-datatable .datatable-body .empty-row{background-color:#aee3ea;font-style:italic;font-weight:700;padding-bottom:5px;padding-top:5px;text-align:center}  cd-table .cd-datatable .datatable-body .datatable-body-row.clickable:hover .datatable-row-group{background-color:#aee3ea;transition-duration:.3s;transition-property:background;transition-timing-function:linear}  cd-table .cd-datatable .datatable-body .datatable-body-row.datatable-row-even{background-color:#fff}  cd-table .cd-datatable .datatable-body .datatable-body-row.datatable-row-odd{background-color:#fff}  cd-table .cd-datatable .datatable-body .datatable-body-row.active,   cd-table .cd-datatable .datatable-body .datatable-body-row.active:hover{background-color:#86d5df}  cd-table .cd-datatable .datatable-body .datatable-body-row .datatable-body-cell{border:0;border-bottom:1px solid #ced4da;border-left:1px solid #ced4da;padding:5px}  cd-table .cd-datatable .datatable-body .datatable-body-row .datatable-body-cell:first-child{border-left:0}  cd-table .cd-datatable .datatable-body .datatable-body-row .datatable-body-cell .datatable-body-cell-label{display:block;height:100%}  cd-table .cd-datatable .datatable-body .datatable-row-detail{border-bottom:2px solid #ced4da;overflow-y:visible!important;padding:20px}  cd-table .cd-datatable .datatable-body .expand-collapse-icon{display:block;height:100%;text-align:center}  cd-table .cd-datatable .datatable-body .expand-collapse-icon:hover{text-decoration:none}  cd-table .cd-datatable .datatable-body .expand-collapse-icon-right:before{color:#212529;font-family:ForkAwesome,sans-serif;font-size:1rem;line-height:1;content:"\\f105"}  cd-table .cd-datatable .datatable-body .expand-collapse-icon-down:before{color:#212529;font-family:ForkAwesome,sans-serif;font-size:1rem;line-height:1;content:"\\f107"}  cd-table .cd-datatable .datatable-footer .selected-count,   cd-table .cd-datatable .datatable-footer .page-count{font-style:italic;min-height:2rem;padding-left:.3rem;padding-top:.3rem}  cd-table .cd-datatable .cd-datatable-checkbox{text-align:center}  cd-table .cd-datatable .cd-datatable-checkbox:checked{accent-color:#25828e}@keyframes progress-loading{0%{left:-200px;width:15%}50%{width:30%}70%{width:70%}80%{left:50%}95%{left:120%}to{left:100%}}'],changeDetection:0}),Ut})()},93523:(v,b,i)=>{"use strict";i.d(b,{G:()=>u,o:()=>f});var r=i(23815),a=i.n(r);function f(...g){switch(g.length){case 1:return e.apply(void 0,g);case 3:return p.apply(void 0,g);default:throw new Error}}function u(g,T,M){const w=`__ignore_${T}`;Array.isArray(g[w])?g[w].push(M):g[w]=[M]}function e(g){for(const T of Object.getOwnPropertyNames(g.prototype)){const M=Object.getOwnPropertyDescriptor(g.prototype,T);!(M.value instanceof Function)||"constructor"===T||(p(g.prototype,T,M),Object.defineProperty(g.prototype,T,M))}}function p(g,T,M){void 0===M&&(M=Object.getOwnPropertyDescriptor(g,T));const w=M.value;M.value=function(){const R=`__ignore_${T}`,U=g[R]||[],W=[];for(let q=0;q<arguments.length;q++)W[q]=a().isString(arguments[q])&&-1===U.indexOf(q)?encodeURIComponent(arguments[q]):arguments[q];return w.apply(this,W)}}},82945:(v,b,i)=>{"use strict";i.d(b,{U:()=>u});var r=i(23815),a=i.n(r),f=i(89724);let u=(()=>{class e{constructor(g){this.elementRef=g,this.focus=!0}ngAfterViewInit(){const g=this.elementRef.nativeElement;this.focus&&a().isFunction(g.focus)&&g.focus()}set autofocus(g){a().isBoolean(g)?this.focus=g:a().isFunction(g)&&(this.focus=g())}}return e.\u0275fac=function(g){return new(g||e)(f.Y36(f.SBq))},e.\u0275dir=f.lG2({type:e,selectors:[["","autofocus",""]],inputs:{autofocus:"autofocus"}}),e})()},17932:(v,b,i)=>{"use strict";i.d(b,{Q:()=>g});var r=i(89724),a=i(23815),f=i.n(a),u=i(47557),e=i(28211),p=i(1659);let g=(()=>{class T{constructor(w,R,U,W){this.elementRef=w,this.control=R,this.dimlessBinaryPipe=U,this.formatter=W,this.ngModelChange=new r.vpe,this.el=this.elementRef.nativeElement}ngOnInit(){this.setValue(this.el.value)}setValue(w){/^[\d.]+$/.test(w)&&(w+=this.defaultUnit||"m");const R=this.formatter.toBytes(w),U=this.round(R);this.el.value=this.dimlessBinaryPipe.transform(U),null!==R?(this.ngModelChange.emit(this.el.value),this.control.control.setValue(this.el.value)):(this.ngModelChange.emit(null),this.control.control.setValue(null))}round(w){if(null!==w&&0!==w){if(!f().isUndefined(this.minBytes)&&w<this.minBytes)return this.minBytes;if(!f().isUndefined(this.maxBytes)&&w>this.maxBytes)return this.maxBytes;if(!f().isUndefined(this.roundPower)){const R=Math.round(Math.log(w)/Math.log(this.roundPower));return Math.pow(this.roundPower,R)}}return w}onBlur(w){this.setValue(w)}}return T.\u0275fac=function(w){return new(w||T)(r.Y36(r.SBq),r.Y36(p.a5),r.Y36(u.$),r.Y36(e.H))},T.\u0275dir=r.lG2({type:T,selectors:[["","cdDimlessBinary",""]],hostBindings:function(w,R){1&w&&r.NdJ("blur",function(W){return R.onBlur(W.target.value)})},inputs:{minBytes:"minBytes",maxBytes:"maxBytes",roundPower:"roundPower",defaultUnit:"defaultUnit"},outputs:{ngModelChange:"ngModelChange"}}),T})()},35540:(v,b,i)=>{"use strict";i.d(b,{o:()=>a});var r=i(89724);let a=(()=>{class f{}return f.\u0275fac=function(e){return new(e||f)},f.\u0275mod=r.oAB({type:f}),f.\u0275inj=r.cJS({imports:[[]]}),f})()},87925:(v,b,i)=>{"use strict";i.d(b,{o:()=>u});var r=i(89724),a=i(84333),f=i(47640);let u=(()=>{class e{constructor(g,T,M){this.formScope=g,this.authStorageService=T,this.elementRef=M}ngAfterViewInit(){var g,T,M;this.permissions=this.authStorageService.getPermissions();const w=null===(g=this.formScope)||void 0===g?void 0:g.cdFormScope;w&&!(null===(M=null===(T=this.permissions)||void 0===T?void 0:T[w])||void 0===M?void 0:M.update)&&(this.elementRef.nativeElement.disabled=!0)}}return e.\u0275fac=function(g){return new(g||e)(r.Y36(a.T,8),r.Y36(f.j),r.Y36(r.SBq))},e.\u0275dir=r.lG2({type:e,selectors:[["input",3,"cdNoFormInputDisable",""],["select",3,"cdNoFormInputDisable",""],["button",3,"cdNoFormInputDisable",""],["","cdFormInputDisable",""]]}),e})()},63622:(v,b,i)=>{"use strict";i.d(b,{y:()=>e});var r=i(34501),a=i(8958),f=i(93614),u=i(89724);let e=(()=>{class p{constructor(T,M){this.templateRef=T,this.viewContainer=M}set cdFormLoading(T){let M;switch(this.viewContainer.clear(),T){case f.Q.Loading:M=this.resolveNgContent("Loading form data..."),this.viewContainer.createComponent(a.b,{projectableNodes:M});break;case f.Q.Ready:this.viewContainer.createEmbeddedView(this.templateRef);break;case f.Q.Error:M=this.resolveNgContent("Form data could not be loaded."),this.viewContainer.createComponent(r.G,{projectableNodes:M}).instance.type="error"}}resolveNgContent(T){return[[document.createTextNode(T)]]}}return p.\u0275fac=function(T){return new(T||p)(u.Y36(u.Rgc),u.Y36(u.s_b))},p.\u0275dir=u.lG2({type:p,selectors:[["","cdFormLoading",""]],inputs:{cdFormLoading:"cdFormLoading"}}),p})()},84333:(v,b,i)=>{"use strict";i.d(b,{T:()=>a});var r=i(89724);let a=(()=>{class f{}return f.\u0275fac=function(e){return new(e||f)},f.\u0275dir=r.lG2({type:f,selectors:[["","cdFormScope",""]],inputs:{cdFormScope:"cdFormScope"}}),f})()},94276:(v,b,i)=>{"use strict";i.d(b,{b:()=>u});var r=i(89724),a=i(1659);let u=(()=>{class e{constructor(g){this.parent=g}get validClass(){return!!this.control&&this.control.valid&&(this.control.touched||this.control.dirty)}get invalidClass(){return!!this.control&&this.control.invalid&&this.control.touched&&this.control.dirty}get path(){return function f(e,p){return[...p.path,e]}(this.formControlName,this.parent)}get control(){return this.formDirective&&this.formDirective.getControl(this)}get formDirective(){return this.parent?this.parent.formDirective:null}}return e.\u0275fac=function(g){return new(g||e)(r.Y36(a.gN,13))},e.\u0275dir=r.lG2({type:e,selectors:[["",8,"form-control"],["",8,"form-check-input"],["",8,"custom-control-input"]],hostVars:4,hostBindings:function(g,T){2&g&&r.ekj("is-valid",T.validClass)("is-invalid",T.invalidClass)},inputs:{formControlName:"formControlName",formControl:"formControl"}}),e})()},56310:(v,b,i)=>{"use strict";i.d(b,{P:()=>f});var r=i(1659),a=i(89724);let f=(()=>{class u{constructor(p){this.elRef=p,this.validationDisabled=!1}get hasErrors(){return this.formControlNames.some(p=>!p.valid&&p.dirty&&p.touched)&&!this.validationDisabled}get hasSuccess(){return!this.formControlNames.some(p=>!p.valid)&&this.formControlNames.some(p=>p.dirty&&p.touched)&&!this.validationDisabled}get label(){const p=this.elRef.nativeElement.querySelector("label");return p&&p.textContent?p.textContent.trim():"This field"}get isDirtyAndTouched(){return this.formControlNames.some(p=>p.dirty&&p.touched)}}return u.\u0275fac=function(p){return new(p||u)(a.Y36(a.SBq))},u.\u0275dir=a.lG2({type:u,selectors:[["",8,"form-group"]],contentQueries:function(p,g,T){if(1&p&&a.Suo(T,r.u,4),2&p){let M;a.iGM(M=a.CRH())&&(g.formControlNames=M)}},hostVars:4,hostBindings:function(p,g){2&p&&a.ekj("has-error",g.hasErrors)("has-success",g.hasSuccess)},inputs:{validationDisabled:"validationDisabled"}}),u})()},41582:(v,b,i)=>{"use strict";i.d(b,{V:()=>f});var r=i(89724),a=i(1659);let f=(()=>{class u{constructor(){this.validSubmit=new r.vpe}onSubmit(){this.markAsTouchedAndDirty(this.formGroup),this.formGroup.valid&&this.validSubmit.emit(this.formGroup.value)}markAsTouchedAndDirty(p){p instanceof a.cw?Object.keys(p.controls).forEach(g=>this.markAsTouchedAndDirty(p.controls[g])):p instanceof a.Oe?p.controls.forEach(g=>this.markAsTouchedAndDirty(g)):p instanceof a.NI&&p.enabled&&(p.markAsDirty(),p.markAsTouched(),p.updateValueAndValidity())}}return u.\u0275fac=function(p){return new(p||u)},u.\u0275dir=r.lG2({type:u,selectors:[["","formGroup",""]],hostBindings:function(p,g){1&p&&r.NdJ("submit",function(){return g.onSubmit()})},inputs:{formGroup:"formGroup"},outputs:{validSubmit:"validSubmit"}}),u})()},4416:(v,b,i)=>{"use strict";i.d(b,{C:()=>a});var r=i(89724);let a=(()=>{class f{constructor(e,p){this.elementRef=e,this.renderer=p}ngOnInit(){this.renderer.setAttribute(this.elementRef.nativeElement,"tabindex","-1"),this.iElement=this.renderer.createElement("i"),this.renderer.addClass(this.iElement,"fa"),this.renderer.appendChild(this.elementRef.nativeElement,this.iElement),this.update()}getInputElement(){return document.getElementById(this.cdPasswordButton)}update(){const e=this.getInputElement();e&&"text"===e.type?(this.renderer.removeClass(this.iElement,"fa-eye"),this.renderer.addClass(this.iElement,"fa-eye-slash")):(this.renderer.removeClass(this.iElement,"fa-eye-slash"),this.renderer.addClass(this.iElement,"fa-eye"))}onClick(){const e=this.getInputElement();e.type="password"===e.type?"text":"password",this.update()}}return f.\u0275fac=function(e){return new(e||f)(r.Y36(r.SBq),r.Y36(r.Qsj))},f.\u0275dir=r.lG2({type:f,selectors:[["","cdPasswordButton",""]],hostBindings:function(e,p){1&e&&r.NdJ("click",function(){return p.onClick()})},inputs:{cdPasswordButton:"cdPasswordButton"}}),f})()},59376:(v,b,i)=>{"use strict";i.d(b,{m:()=>f});var r=i(89724),a=i(71334);let f=(()=>{class u{constructor(p){this.nav=p,this.localStorage=window.localStorage}ngOnInit(){const p=this.localStorage.getItem(`tabset_${this.cdStatefulTab}`);p&&this.nav.select(p)}onNavChange(p){this.cdStatefulTab&&p.nextId&&this.localStorage.setItem(`tabset_${this.cdStatefulTab}`,p.nextId)}}return u.\u0275fac=function(p){return new(p||u)(r.Y36(a.Pz,9))},u.\u0275dir=r.lG2({type:u,selectors:[["","cdStatefulTab",""]],hostBindings:function(p,g){1&p&&r.NdJ("navChange",function(M){return g.onNavChange(M)})},inputs:{cdStatefulTab:"cdStatefulTab"}}),u})()},99466:(v,b,i)=>{"use strict";i.d(b,{e:()=>r});var r=(()=>{return(a=r||(r={})).bold="bold",a.sparkline="sparkline",a.perSecond="perSecond",a.checkIcon="checkIcon",a.routerLink="routerLink",a.executing="executing",a.classAdding="classAdding",a.badge="badge",a.map="map",a.truncate="truncate",a.timeAgo="timeAgo",r;var a})()},65862:(v,b,i)=>{"use strict";i.d(b,{P:()=>r});var r=(()=>{return(a=r||(r={})).add="fa fa-plus",a.addCircle="fa fa-plus-circle",a.minusCircle="fa fa-minus-circle",a.edit="fa fa-pencil",a.destroy="fa fa-times",a.destroyCircle="fa fa-times-circle",a.exchange="fa fa-exchange",a.copy="fa fa-copy",a.clipboard="fa fa-clipboard",a.flatten="fa fa-chain-broken",a.trash="fa fa-trash-o",a.lock="fa fa-lock",a.unlock="fa fa-unlock",a.clone="fa fa-clone",a.undo="fa fa-undo",a.search="fa fa-search",a.start="fa fa-play",a.stop="fa fa-stop",a.analyse="fa fa-stethoscope",a.deepCheck="fa fa-cog",a.reweight="fa fa-balance-scale",a.up="fa fa-arrow-up",a.left="fa fa-arrow-left",a.right="fa fa-arrow-right",a.down="fa fa-arrow-down",a.erase="fa fa-eraser",a.user="fa fa-user",a.users="fa fa-users",a.share="fa fa-share-alt",a.key="fa fa-key-modern",a.warning="fa fa-exclamation-triangle",a.info="fa fa-info",a.infoCircle="fa fa-info-circle",a.questionCircle="fa fa-question-circle-o",a.danger="fa fa-exclamation-circle",a.success="fa fa-check-circle",a.check="fa fa-check",a.show="fa fa-eye",a.paragraph="fa fa-paragraph",a.terminal="fa fa-terminal",a.magic="fa fa-magic",a.hourglass="fa fa-hourglass-o",a.filledHourglass="fa fa-hourglass",a.table="fa fa-table",a.spinner="fa fa-spinner",a.refresh="fa fa-refresh",a.bullseye="fa fa-bullseye",a.disk="fa fa-hdd-o",a.server="fa fa-server",a.filter="fa fa-filter",a.lineChart="fa fa-line-chart",a.signOut="fa fa-sign-out",a.health="fa fa-heartbeat",a.circle="fa fa-circle",a.bell="fa fa-bell",a.mute="fa fa-bell-slash",a.tag="fa fa-tag",a.leftArrow="fa fa-angle-left",a.rightArrow="fa fa-angle-right",a.leftArrowDouble="fa fa-angle-double-left",a.rightArrowDouble="fa fa-angle-double-right",a.flag="fa fa-flag",a.clearFilters="fa fa-window-close",a.download="fa fa-download",a.upload="fa fa-upload",a.close="fa fa-times",a.json="fa fa-file-code-o",a.text="fa fa-file-text",a.wrench="fa fa-wrench",a.enter="fa fa-sign-in",a.exit="fa fa-sign-out",a.restart="fa fa-history",a.deploy="fa fa-cube",a.large="fa fa-lg",a.large2x="fa fa-2x",a.large3x="fa fa-3x",a.stack="fa fa-stack",a.stack1x="fa fa-stack-1x",a.stack2x="fa fa-stack-2x",a.pulse="fa fa-pulse",a.spin="fa fa-spin",a.inverse="fa fa-inverse",r;var a})()},18001:(v,b,i)=>{"use strict";i.d(b,{k:()=>r});var r=(()=>{return(a=r||(r={}))[a.error=0]="error",a[a.info=1]="info",a[a.success=2]="success",r;var a})()},91801:(v,b,i)=>{"use strict";i.d(b,{T:()=>r});var r=(()=>{return(a=r||(r={}))[a.ValueOk=0]="ValueOk",a[a.ValueStale=1]="ValueStale",a[a.ValueNone=2]="ValueNone",a[a.ValueException=3]="ValueException",r;var a})()},62862:(v,b,i)=>{"use strict";i.d(b,{O:()=>u});var r=i(1659),a=i(95463),f=i(89724);let u=(()=>{class e extends r.qu{group(g,T=null){const M=super.group(g,T);return new a.d(M.controls,M.validator,M.asyncValidator)}}return e.\u0275fac=function(){let p;return function(T){return(p||(p=f.n5z(e)))(T||e)}}(),e.\u0275prov=f.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},95463:(v,b,i)=>{"use strict";i.d(b,{d:()=>a});var r=i(1659);class a extends r.cw{constructor(u,e,p){super(u,e,p),this.controls=u}get(u){const e=this._get(u);if(!e)throw new Error(`Control '${u}' could not be found!`);return e}_get(u){return super.get(u)||Object.values(this.controls).filter(e=>e.get).map(e=>e instanceof a?e._get(u):e.get(u)).find(e=>Boolean(e))}getValue(u){return this.get(u).value}silentSet(u,e){this.get(u).setValue(e,{emitEvent:!1})}showError(u,e,p){const g=this.get(u);return(e.submitted||g.dirty)&&(p?g.hasError(p):g.invalid)}}},93614:(v,b,i)=>{"use strict";i.d(b,{E:()=>a,Q:()=>r});var r=(()=>{return(f=r||(r={}))[f.Loading=0]="Loading",f[f.Ready=1]="Ready",f[f.Error=2]="Error",f[f.None=3]="None",r;var f})();class a{constructor(){this.loading=r.Loading}loadingStart(){this.loading=r.Loading}loadingReady(){this.loading=r.Ready}loadingError(){this.loading=r.Error}loadingNone(){this.loading=r.None}}},90070:(v,b,i)=>{"use strict";i.d(b,{h:()=>W,P:()=>U});var r=i(1659),a=i(23815),f=i.n(a),u=i(25917),e=i(46797),p=i(43190);function g(j,q){return q?(0,p.w)(()=>j,q):(0,p.w)(()=>j)}var T=i(88002),M=i(15257),w=i(47557),R=i(28211);function U(j){return null==j||0===j.length}class W{static email(q){return U(q.value)?null:r.kI.email(q)}static ip(q=0){const ue=/^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/i,re=/^(?:[a-f0-9]{1,4}:){7}[a-f0-9]{1,4}$/i;return r.kI.pattern(4===q?ue:6===q?re:new RegExp(ue.source+"|"+re.source))}static number(q=!0){return r.kI.pattern(q?/^-?[0-9]+$/i:/^[0-9]+$/i)}static decimalNumber(q=!0){return r.kI.pattern(q?/^-?[0-9]+(.[0-9]+)?$/i:/^[0-9]+(.[0-9]+)?$/i)}static sslCert(){return r.kI.pattern(/^-----BEGIN CERTIFICATE-----(\n|\r|\f)((.+)?((\n|\r|\f).+)*)(\n|\r|\f)-----END CERTIFICATE-----[\n\r\f]*$/)}static sslPrivKey(){return r.kI.pattern(/^-----BEGIN RSA PRIVATE KEY-----(\n|\r|\f)((.+)?((\n|\r|\f).+)*)(\n|\r|\f)-----END RSA PRIVATE KEY-----[\n\r\f]*$/)}static pemCert(){return r.kI.pattern(/^-----BEGIN .+-----$.+^-----END .+-----$/ms)}static requiredIf(q,ue){let re=!1;return H=>(!re&&H.parent&&(Object.keys(q).forEach(ae=>{H.parent.get(ae).valueChanges.subscribe(()=>{H.updateValueAndValidity({emitEvent:!1})})}),re=!0),Object.keys(q).every(ae=>{if(!H.parent)return!1;const ie=H.parent.get(ae).value,fe=q[ae];if(f().isObjectLike(fe)){let _e=!1;switch(fe.op){case"empty":_e=f().isEmpty(ie);break;case"!empty":_e=!f().isEmpty(ie);break;case"equal":_e=ie===fe.arg1;break;case"!equal":_e=ie!==fe.arg1;break;case"minLength":f().isString(ie)&&(_e=ie.length>=fe.arg1)}return _e}return ie===fe})&&(f().isFunction(ue)?ue.call(ue,H.value):U(H.value))?{required:!0}:null)}static composeIf(q,ue){let re=!1;return H=>(!re&&H.parent&&(Object.keys(q).forEach(se=>{H.parent.get(se).valueChanges.subscribe(()=>{H.updateValueAndValidity({emitEvent:!1})})}),re=!0),Object.keys(q).every(se=>H.parent&&H.parent.get(se).value===q[se])?r.kI.compose(ue)(H):null)}static custom(q,ue){return re=>{const H=ue.call(this,re.value);return H?{[q]:H}:null}}static validateIf(q,ue,re,H=[],se=[]){re=re.concat(H),q.setValidators(ae=>ue.call(this)?r.kI.compose(re)(ae):H.length>0?r.kI.compose(H)(ae):null),se.forEach(ae=>{ae.valueChanges.subscribe(()=>{q.updateValueAndValidity({emitEvent:!1})})})}static match(q,ue){return re=>{const H=re.get(q),se=re.get(ue);if(!H||!se)return null;if(H.value!==se.value)se.setErrors({match:!0});else if(se.hasError("match")){const ie=se.errors;f().unset(ie,"match"),se.setErrors(f().isEmpty(f().keys(ie))?null:ie)}return null}}static unique(q,ue=null,re,H=!1){let se;return ae=>ae.pristine||U(ae.value)?(0,u.of)(null):(se=ae.value,f().isFunction(re)&&null!==re()&&""!==re()&&(se=H?`${ae.value}$${re()}`:`${re()}$${ae.value}`),(0,e.H)().pipe(g(q.call(ue,se)),(0,T.U)(ie=>ie?{notUnique:!0}:null),(0,M.q)(1)))}static uuid(q=!1){const ue=/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;return re=>re.pristine&&re.untouched||!q&&!re.value||ue.test(re.value)?null:{invalidUuid:"This is not a valid UUID"}}static binaryMin(q){return ue=>{const re=new R.H,H=(new R.H).toBytes(ue.value);if(q<=H)return null;const se=new w.$(re).transform(q);return{binaryMin:()=>"Size has to be at least " + se + " or more"}}}static binaryMax(q){return ue=>{const re=new R.H,H=re.toBytes(ue.value);if(q>=H)return null;const se=new w.$(re).transform(q);return{binaryMax:()=>"Size has to be at most " + se + " or less"}}}static passwordPolicy(q,ue,re){return H=>{if(H.pristine||""===H.value)return f().isFunction(re)&&re(!0,0),(0,u.of)(null);let se;return f().isFunction(ue)&&(se=ue()),(0,e.H)(500).pipe(g(f().invoke(q,"validatePassword",H.value,se)),(0,T.U)(ae=>(f().isFunction(re)&&re(ae.valid,ae.credits,ae.valuation),ae.valid?null:{passwordPolicy:!0})),(0,M.q)(1))}}static bucketName(){return q=>{if(q.pristine||!q.value)return(0,u.of)({required:!0});const ue=[];let re;return ue.push(()=>{const ae=q.value;let ie=!0;return(/^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/i.test(ae)||/^(?:[a-f0-9]{1,4}:){7}[a-f0-9]{1,4}$/i.test(ae))&&(re="ipAddress",ie=!1),ie}),ue.push(H=>f().inRange(H.length,3,64)?!!/^[0-9a-z.-]+$/.test(q.value)||(re="bucketNameInvalid",!1):(re="shouldBeInRange",!1)),ue.push(H=>{const se=f().split(H,".");return f().every(se,ae=>ae!==f().toLower(ae)||ae.includes("_")?(re="containsUpperCase",!1):/^[0-9a-z-]+$/.test(ae)?f().every([0,ae.length-1],ie=>(re="lowerCaseOrNumber",/[a-z]/.test(ae[ie])||f().isInteger(f().parseInt(ae[ie])))):(re="onlyLowerCaseAndNumbers",!1))}),f().every(ue,H=>H(q.value))?(0,u.of)(null):(0,u.of)((()=>{switch(re){case"onlyLowerCaseAndNumbers":return{onlyLowerCaseAndNumbers:!0};case"shouldBeInRange":return{shouldBeInRange:!0};case"ipAddress":return{ipAddress:!0};case"containsUpperCase":return{containsUpperCase:!0};case"lowerCaseOrNumber":return{lowerCaseOrNumber:!0};default:return{bucketNameInvalid:!0}}})())}}static bucketExistence(q,ue){return re=>re.pristine||!re.value?(0,u.of)({required:!0}):ue.exists(re.value).pipe((0,T.U)(H=>H===q?null:{bucketNameNotAllowed:!0}))}}},83357:(v,b,i)=>{"use strict";i.d(b,{U:()=>re});var r=i(64762),a=i(10972),f=i(32337),u=i(76111),e=i(1659),p=i(19773),g=i(23815),T=i.n(g),M=i(89724),w=i(55860),R=i(11048),U=i(90645),W=i(30839);const j=function(H){return{formState:H}};function q(H,se){if(1&H){const ae=M.EpF();M.TgZ(0,"form",6),M.NdJ("ngSubmit",function(){M.CHM(ae);const fe=M.oxw().ngIf,_e=M.oxw();return _e.submit(_e.model,fe.taskInfo)}),M.TgZ(1,"div",7),M._UZ(2,"formly-form",8),M.qZA(),M.TgZ(3,"div",9)(4,"cd-form-button-panel",10),M.NdJ("submitActionEvent",function(){M.CHM(ae);const fe=M.oxw().ngIf,_e=M.oxw();return _e.submit(_e.model,fe.taskInfo)}),M.qZA()()()}if(2&H){const ae=M.oxw().ngIf,ie=M.oxw();M.Q6J("formGroup",ie.form),M.xp6(2),M.Q6J("form",ie.form)("fields",ae.controlSchema)("model",ie.model)("options",M.VKq(8,j,ae.uiSchema)),M.xp6(2),M.Q6J("form",ie.formDir)("submitText",ae.title)("disabled",!ie.form.valid)}}function ue(H,se){if(1&H&&(M.TgZ(0,"div",2)(1,"div",3),M.SDv(2,4),M.qZA(),M.YNc(3,q,5,10,"form",5),M.qZA()),2&H){const ae=se.ngIf;M.xp6(2),M.pQV(ae.title),M.QtT(2),M.xp6(1),M.Q6J("ngIf",ae.uiSchema)}}let re=(()=>{class H{constructor(ae,ie,fe,_e,Ce){this.dataGatewayService=ae,this.activatedRoute=ie,this.taskWrapper=fe,this.location=_e,this.router=Ce,this.model={},this.task={message:"",id:""},this.form=new e.cw({}),this.key=""}ngOnInit(){this.activatedRoute.queryParamMap.subscribe(ae=>{this.formUISchema$=this.activatedRoute.data.pipe((0,p.zg)(fe=>{this.resource=fe.resource||this.resource;const _e="/"+this.activatedRoute.snapshot.url.join("/"),Ce=ae.get("key")||"";return this.dataGatewayService.form(`ui-${this.resource}`,_e,Ce)})),this.formUISchema$.subscribe(fe=>{this.methodType=fe.methodType,this.model=fe.model}),this.urlFormName=this.router.url.split("/").pop();const ie=this.urlFormName.indexOf("?");ie>0&&(this.urlFormName=this.urlFormName.substring(0,ie))})}readFileAsText(ae){return(0,r.mG)(this,void 0,void 0,function*(){let ie=new FileReader,fe="";return yield new Promise(_e=>{ie.onload=Ce=>{fe=ie.result.toString(),_e(!0)},ie.readAsText(ae)}),fe})}preSubmit(ae){return(0,r.mG)(this,void 0,void 0,function*(){for(const[ie,fe]of Object.entries(ae))if(fe instanceof FileList){let _e=fe[0],Ce=yield this.readFileAsText(_e);ae[ie]=Ce}})}submit(ae,ie){return(0,r.mG)(this,void 0,void 0,function*(){if(ae){let fe={};T().forEach(ie.metadataFields,_e=>{fe[_e]=ae[_e]}),fe.__message=ie.message,yield this.preSubmit(ae),this.taskWrapper.wrapTaskAroundCall({task:new u.R(`crud-component/${this.urlFormName}`,fe),call:this.dataGatewayService.submit(this.resource,ae,this.methodType)}).subscribe({complete:()=>{this.location.back()}})}})}}return H.\u0275fac=function(ae){return new(ae||H)(M.Y36(a.n),M.Y36(w.gz),M.Y36(f.P),M.Y36(R.Ye),M.Y36(w.F0))},H.\u0275cmp=M.Xpm({type:H,selectors:[["cd-crud-form"]],decls:3,vars:3,consts:function(){let se;return se="" + "\ufffd0\ufffd" + "",[[1,"cd-col-form"],["class","card pb-0",4,"ngIf"],[1,"card","pb-0"],[1,"card-header"],se,[3,"formGroup","ngSubmit",4,"ngIf"],[3,"formGroup","ngSubmit"],[1,"card-body","position-relative"],[3,"form","fields","model","options"],[1,"card-footer"],["wrappingClass","text-right",3,"form","submitText","disabled","submitActionEvent"]]},template:function(ae,ie){1&ae&&(M.TgZ(0,"div",0),M.YNc(1,ue,4,2,"div",1),M.ALo(2,"async"),M.qZA()),2&ae&&(M.xp6(1),M.Q6J("ngIf",M.lcZ(2,1,ie.formUISchema$)))},directives:[R.O5,e._Y,e.JL,e.sg,U.T7,W.p],pipes:[R.Ov],styles:["json-schema-form label.control-label.hidden{display:none}  json-schema-form .form-group.schema-form-submit p{display:none}  json-schema-form legend{font-weight:100!important}  json-schema-form .card-footer{border:1px solid rgba(0,0,0,.125);left:-1px;width:-webkit-fill-available;width:-moz-available}"]}),H})()},67464:(v,b,i)=>{"use strict";i.d(b,{l:()=>W});var r=i(90645),a=i(23815),u=i(65862),e=i(89724),p=i(11048);function g(j,q){if(1&j&&(e.TgZ(0,"legend",6),e.SDv(1,7),e.qZA()),2&j){const ue=e.oxw();e.xp6(1),e.pQV(ue.props.label),e.QtT(1)}}function T(j,q){if(1&j&&(e.TgZ(0,"p"),e.SDv(1,8),e.qZA()),2&j){const ue=e.oxw();e.xp6(1),e.pQV(ue.props.description),e.QtT(1)}}function M(j,q){if(1&j){const ue=e.EpF();e.TgZ(0,"button",12),e.NdJ("click",function(){e.CHM(ue);const H=e.oxw().index;return e.oxw().remove(H)}),e._UZ(1,"i",13),e.qZA()}if(2&j){const ue=e.oxw(2);e.xp6(1),e.Q6J("ngClass",ue.icons.trash)}}function w(j,q){if(1&j){const ue=e.EpF();e.TgZ(0,"div",9),e._UZ(1,"formly-field",10),e.TgZ(2,"div",11)(3,"button",12),e.NdJ("click",function(){return e.CHM(ue),e.oxw().addWrapper()}),e._UZ(4,"i",13),e.qZA(),e.YNc(5,M,2,1,"button",14),e.qZA()()}if(2&j){const ue=q.$implicit,re=e.oxw();e.xp6(1),e.Q6J("field",ue),e.xp6(3),e.Q6J("ngClass",re.icons.add),e.xp6(1),e.Q6J("ngIf",!1!==ue.props.removable)}}function R(j,q){if(1&j){const ue=e.EpF();e.TgZ(0,"div",15)(1,"button",16),e.NdJ("click",function(){return e.CHM(ue),e.oxw().addWrapper()}),e.tHW(2,17),e._UZ(3,"i",13),e.N_p(),e.qZA()()}if(2&j){const ue=e.oxw();e.xp6(3),e.Q6J("ngClass",ue.icons.add),e.pQV(ue.props.label),e.QtT(2)}}function U(j,q){if(1&j&&(e.TgZ(0,"span",18),e._UZ(1,"formly-validation-message",19),e.qZA()),2&j){const ue=e.oxw();e.xp6(1),e.Q6J("field",ue.field)}}let W=(()=>{class j extends r.hv{constructor(){super(...arguments),this.icons=u.P}ngOnInit(){this.propagateTemplateOptions()}addWrapper(){this.add(),this.propagateTemplateOptions()}propagateTemplateOptions(){(0,a.forEach)(this.field.fieldGroup,ue=>{"object"==ue.type&&(ue.props.templateOptions=this.props.templateOptions.objectTemplateOptions)})}}return j.\u0275fac=function(){let q;return function(re){return(q||(q=e.n5z(j)))(re||j)}}(),j.\u0275cmp=e.Xpm({type:j,selectors:[["cd-formly-array-type"]],features:[e.qOj],decls:6,vars:5,consts:function(){let q,ue,re;return q="" + "\ufffd0\ufffd" + "",ue="" + "\ufffd0\ufffd" + "",re="" + "\ufffd#3\ufffd" + "" + "\ufffd/#3\ufffd" + " Add " + "\ufffd0\ufffd" + " ",[[1,"mb-3"],["class","cd-header mt-1",4,"ngIf"],[4,"ngIf"],["class","d-flex",4,"ngFor","ngForOf"],["class","text-right",4,"ngIf"],["class","invalid-feedback","role","alert",4,"ngIf"],[1,"cd-header","mt-1"],q,ue,[1,"d-flex"],[1,"col",3,"field"],[1,"action-btn"],["type","button",1,"btn","btn-light","ms-1",3,"click"],[3,"ngClass"],["class","btn btn-light ms-1","type","button",3,"click",4,"ngIf"],[1,"text-right"],["type","button",1,"btn","btn-light",3,"click"],re,["role","alert",1,"invalid-feedback"],[3,"field"]]},template:function(ue,re){1&ue&&(e.TgZ(0,"div",0),e.YNc(1,g,2,1,"legend",1),e.YNc(2,T,2,1,"p",2),e.YNc(3,w,6,3,"div",3),e.YNc(4,R,4,2,"div",4),e.YNc(5,U,2,1,"span",5),e.qZA()),2&ue&&(e.xp6(1),e.Q6J("ngIf",re.props.label),e.xp6(1),e.Q6J("ngIf",re.props.description),e.xp6(1),e.Q6J("ngForOf",re.field.fieldGroup),e.xp6(1),e.Q6J("ngIf",0===re.field.fieldGroup.length),e.xp6(1),e.Q6J("ngIf",re.showError&&re.formControl.errors))},directives:[p.O5,p.sg,r.cw,p.mk,r.M2],styles:[".action-btn[_ngcontent-%COMP%]{margin-top:2.4rem}"]}),j})()},39054:(v,b,i)=>{"use strict";i.d(b,{v:()=>u});var r=i(90645),a=i(89724),f=i(1659);let u=(()=>{class e extends r.fS{}return e.\u0275fac=function(){let p;return function(T){return(p||(p=a.n5z(e)))(T||e)}}(),e.\u0275cmp=a.Xpm({type:e,selectors:[["cd-formly-input-type"]],features:[a.qOj],decls:1,vars:2,consts:[[1,"form-control","col-form-input",3,"formControl","formlyAttributes"]],template:function(g,T){1&g&&a._UZ(0,"input",0),2&g&&a.Q6J("formControl",T.formControl)("formlyAttributes",T.field)},directives:[f.Fj,f.JJ,f.oH,r.JD],styles:[""]}),e})()},39017:(v,b,i)=>{"use strict";i.d(b,{o:()=>T});var r=i(90645),a=i(89724),f=i(11048);function u(M,w){if(1&M&&(a.TgZ(0,"legend",6),a.SDv(1,7),a.qZA()),2&M){const R=a.oxw();a.xp6(1),a.pQV(R.props.label),a.QtT(1)}}function e(M,w){if(1&M&&(a.TgZ(0,"p"),a.SDv(1,8),a.qZA()),2&M){const R=a.oxw();a.xp6(1),a.pQV(R.props.description),a.QtT(1)}}function p(M,w){if(1&M&&(a.TgZ(0,"div",9),a._UZ(1,"formly-validation-message",10),a.qZA()),2&M){const R=a.oxw();a.xp6(1),a.Q6J("field",R.field)}}function g(M,w){1&M&&a._UZ(0,"formly-field",11),2&M&&a.Q6J("field",w.$implicit)}let T=(()=>{class M extends r.fS{get inputClass(){var R;const W="d-flex justify-content-center align-content-stretch gap-3";return"row"==(null===(R=this.props.templateOptions)||void 0===R?void 0:R.layoutType)?W+" flex-row":W+" flex-column"}}return M.\u0275fac=function(){let w;return function(U){return(w||(w=a.n5z(M)))(U||M)}}(),M.\u0275cmp=a.Xpm({type:M,selectors:[["cd-formly-object-type"]],features:[a.qOj],decls:6,vars:5,consts:function(){let w,R;return w="" + "\ufffd0\ufffd" + "",R="" + "\ufffd0\ufffd" + "",[[1,"mb-3"],["class","cd-col-form-label",4,"ngIf"],[4,"ngIf"],["class","alert alert-danger","role","alert",4,"ngIf"],[3,"ngClass"],["class","flex-grow-1",3,"field",4,"ngFor","ngForOf"],[1,"cd-col-form-label"],w,R,["role","alert",1,"alert","alert-danger"],[3,"field"],[1,"flex-grow-1",3,"field"]]},template:function(R,U){1&R&&(a.TgZ(0,"div",0),a.YNc(1,u,2,1,"legend",1),a.YNc(2,e,2,1,"p",2),a.YNc(3,p,2,1,"div",3),a.TgZ(4,"div",4),a.YNc(5,g,1,1,"formly-field",5),a.qZA()()),2&R&&(a.xp6(1),a.Q6J("ngIf",U.props.label),a.xp6(1),a.Q6J("ngIf",U.props.description),a.xp6(1),a.Q6J("ngIf",U.showError&&U.formControl.errors),a.xp6(1),a.Q6J("ngClass",U.inputClass),a.xp6(1),a.Q6J("ngForOf",U.field.fieldGroup))},directives:[f.O5,r.M2,f.mk,f.sg,r.cw],styles:[""]}),M})()},62351:(v,b,i)=>{"use strict";i.d(b,{M:()=>p,w:()=>g});var r=i(23815);function a(T){return new Promise((M,w)=>{T.value instanceof FileList&&(T.value[0].size>4096&&M({file_size:!0}),M(null)),M({not_a_file:!0})})}function f(T){return new Promise((M,w)=>{try{JSON.parse(T.value),M(null)}catch(R){M({json:!0})}})}function u(T){return new Promise((M,w)=>{T.value.match("^((/)|(/[!-~]+/))$")&&M(null),M({rgwRolePath:!0})})}function e(T){return new Promise((M,w)=>{T.value.match("^[0-9a-zA-Z_+=,.@-]+$")&&M(null),M({rgwRoleName:!0})})}function p(T,M){var w;const R=M||(null===(w=T.options)||void 0===w?void 0:w.formState);return R?R.find(U=>U.key==T.key):{}}function g(T,M){const w=p(T,M);let R=[];(0,r.forEach)(w.validators,U=>{switch(U){case"json":R.push(f);break;case"rgwRoleName":R.push(e);break;case"rgwRolePath":R.push(u);break;case"file":R.push(a)}}),T.asyncValidators={validation:R}}},61355:(v,b,i)=>{"use strict";i.d(b,{T:()=>f,e:()=>u});var r=i(65862),a=i(18001);class f{constructor(p=a.k.info,g,T,M,w="Ceph"){this.type=p,this.title=g,this.message=T,this.options=M,this.application=w,this.isFinishedTask=!1,this.classes={Ceph:"ceph-icon",Prometheus:"prometheus-icon"},this.applicationClass=this.classes[this.application]}}class u extends f{constructor(p=new f){super(p.type,p.title,p.message,p.options,p.application),this.config=p,this.alertSilenced=!1,this.textClasses=["text-danger","text-info","text-success"],this.iconClasses=[r.P.warning,r.P.info,r.P.check],this.borderClasses=["border-danger","border-info","border-success"],delete this.config,this.timestamp=(new Date).toJSON(),this.iconClass=this.iconClasses[this.type],this.textClass=this.textClasses[this.type],this.borderClass=this.borderClasses[this.type],this.isFinishedTask=p.isFinishedTask}}},51907:(v,b,i)=>{"use strict";i.d(b,{G:()=>r});class r{constructor(f){this.pwdExpirationSpan=0,this.pwdExpirationSpan=f.user_pwd_expiration_span,this.pwdExpirationWarning1=f.user_pwd_expiration_warning_1,this.pwdExpirationWarning2=f.user_pwd_expiration_warning_2}}},48168:(v,b,i)=>{"use strict";i.d(b,{E:()=>u});var r=i(19725);class f{constructor(){this.offset=0,this.limit=10,this.pageSize=10}}class u{constructor(p){this.errorConfig={resetData:!0,displayError:!0},this.pageInfo=new f,this.search="",this.sort="+name",this.error=p}toParams(){return Number.isNaN(this.pageInfo.offset)&&(this.pageInfo.offset=0),null===this.pageInfo.limit&&(this.pageInfo.limit=0),this.search||(this.search=""),(!this.sort||this.sort.length<2)&&(this.sort="+name"),new r.LE({fromObject:{offset:String(this.pageInfo.offset*this.pageInfo.limit),limit:String(this.pageInfo.limit),search:this.search,sort:this.sort}})}}},68774:(v,b,i)=>{"use strict";i.d(b,{r:()=>r});class r{constructor(f){this._selected=[],f&&(this._selected=f),this.update()}update(){this.hasSelection=this._selected.length>0,this.hasSingleSelection=1===this._selected.length,this.hasMultiSelection=this._selected.length>1}set selected(f){this._selected=f,this.update()}get selected(){return this._selected}add(f){this._selected.push(f),this.update()}first(){return this.hasSelection?this._selected[0]:null}}},87311:(v,b,i)=>{"use strict";i.d(b,{h:()=>r});class r{constructor(f,u,e,p){this.customColors={backgroundColor:void 0,borderColor:void 0},this.checkOffset=!1,this.chartEl=f.nativeElement,this.getStyleLeft=e,this.getStyleTop=p,this.tooltipEl=u.nativeElement}customTooltips(f){if(0===f.opacity)return void(this.tooltipEl.style.opacity=0);if(this.tooltipEl.classList.remove("above","below","no-transform"),this.tooltipEl.classList.add(f.yAlign?f.yAlign:"no-transform"),f.body){const p=f.title||[],g=f.body.map(w=>w.lines);let T="<thead>";p.forEach(w=>{T+="<tr><th>"+this.getTitle(w)+"</th></tr>"}),T+="</thead><tbody>",g.forEach((w,R)=>{const U=f.labelColors[R];let W="background:"+(this.customColors.backgroundColor||U.backgroundColor);W+="; border-color:"+(this.customColors.borderColor||U.borderColor),W+="; border-width: 2px",T+='<tr><td nowrap><span class="chartjs-tooltip-key" style="'+W+'"></span>'+this.getBody(w)+"</td></tr>"}),T+="</tbody>",this.tooltipEl.querySelector("table").innerHTML=T}const u=this.chartEl.offsetTop,e=this.chartEl.offsetLeft;if(this.checkOffset){const p=f.width/2;this.tooltipEl.classList.remove("transform-left"),this.tooltipEl.classList.remove("transform-right"),f.caretX-p<0?this.tooltipEl.classList.add("transform-left"):f.caretX+p>this.chartEl.width&&this.tooltipEl.classList.add("transform-right")}this.tooltipEl.style.left=this.getStyleLeft(f,e),this.tooltipEl.style.top=this.getStyleTop(f,u),this.tooltipEl.style.opacity=1,this.tooltipEl.style.fontFamily=f._fontFamily,this.tooltipEl.style.fontSize=f.fontSize,this.tooltipEl.style.fontStyle=f._fontStyle,this.tooltipEl.style.padding=f.yPadding+"px "+f.xPadding+"px"}getBody(f){return f}getTitle(f){return f}}},30633:(v,b,i)=>{"use strict";i.d(b,{h:()=>r,r:()=>a});var r=(()=>{return(f=r||(r={}))[f.global=0]="global",f[f.pool=1]="pool",f[f.image=2]="image",r;var f})(),a=(()=>{return(f=a||(a={}))[f.bps=0]="bps",f[f.iops=1]="iops",f[f.milliseconds=2]="milliseconds",a;var f})()},60737:(v,b,i)=>{"use strict";i.d(b,{o:()=>a});var r=i(29075);class a extends r.i{}},76111:(v,b,i)=>{"use strict";i.d(b,{R:()=>a});var r=i(29075);class a extends r.i{}},19358:(v,b,i)=>{"use strict";i.d(b,{N:()=>r});class r{constructor(f,u,e){this.poolName=f,this.namespace=u,this.imageName=e}static fromString(f){const u=f.split("/");return new this(u[0],u.length>=3?u[1]:null,u.length>=3?u[2]:u[1])}getNameSpace(){return this.namespace?`${this.namespace}/`:""}toString(){return`${this.poolName}/${this.getNameSpace()}${this.imageName}`}toStringEncoded(){return encodeURIComponent(`${this.poolName}/${this.getNameSpace()}${this.imageName}`)}}},29075:(v,b,i)=>{"use strict";i.d(b,{i:()=>r});class r{constructor(f,u){this.name=f,this.metadata=u}}},47187:(v,b,i)=>{"use strict";i.d(b,{I:()=>u});var r=i(23815),a=i.n(r),f=i(89724);let u=(()=>{class e{transform(g,T=!1){let M=g;return(!a().isArray(g)||a().isArray(g)&&T)&&(M=[g]),M}}return e.\u0275fac=function(g){return new(g||e)},e.\u0275pipe=f.Yjl({name:"array",type:e,pure:!0}),e})()},68962:(v,b,i)=>{"use strict";i.d(b,{T:()=>a});var r=i(89724);let a=(()=>{class f{transform(e,p="Yes",g="No"){return Boolean(e)?p:g}}return f.\u0275fac=function(e){return new(e||f)},f.\u0275pipe=r.Yjl({name:"booleanText",type:f,pure:!0}),f})()},70442:(v,b,i)=>{"use strict";i.d(b,{i:()=>a});var r=i(89724);let a=(()=>{class f{transform(e){let p=!1;switch(e){case!0:case 1:case"y":case"yes":case"t":case"true":case"on":case"1":p=!0}return p}}return f.\u0275fac=function(e){return new(e||f)},f.\u0275pipe=r.Yjl({name:"boolean",type:f,pure:!0}),f})()},96102:(v,b,i)=>{"use strict";i.d(b,{N:()=>f});var r=i(89724),a=i(11048);let f=(()=>{class u{constructor(p){this.datePipe=p}transform(p){return null===p||""===p?"":this.datePipe.transform(p,"shortDate")+" "+this.datePipe.transform(p,"mediumTime")}}return u.\u0275fac=function(p){return new(p||u)(r.Y36(a.uU,16))},u.\u0275pipe=r.Yjl({name:"cdDate",type:u,pure:!0}),u})()},24310:(v,b,i)=>{"use strict";i.d(b,{t:()=>a});var r=i(89724);let a=(()=>{class f{transform(e){const p=/ceph version\s+[^ ]+\s+\(.+\)\s+(.+)\s+\((.+)\)/.exec(e);return p?"dev"===p[2]?"main":p[1]:e}}return f.\u0275fac=function(e){return new(e||f)},f.\u0275pipe=r.Yjl({name:"cephReleaseName",type:f,pure:!0}),f})()},58111:(v,b,i)=>{"use strict";i.d(b,{F:()=>a});var r=i(89724);let a=(()=>{class f{transform(e){const p=/ceph version\s+([^ ]+)\s+\(.+\)/.exec(e);return p?p[1]:e}}return f.\u0275fac=function(e){return new(e||f)},f.\u0275pipe=r.Yjl({name:"cephShortVersion",type:f,pure:!0}),f})()},20044:(v,b,i)=>{"use strict";i.d(b,{O:()=>f});var r=i(28211),a=i(89724);let f=(()=>{class u{constructor(p){this.formatter=p}transform(p){return this.formatter.format_number(p,1024,["B/s","kB/s","MB/s","GB/s","TB/s","PB/s","EB/s","ZB/s","YB/s"])}}return u.\u0275fac=function(p){return new(p||u)(a.Y36(r.H,16))},u.\u0275pipe=a.Yjl({name:"dimlessBinaryPerSecond",type:u,pure:!0}),u})()},47557:(v,b,i)=>{"use strict";i.d(b,{$:()=>f});var r=i(28211),a=i(89724);let f=(()=>{class u{constructor(p){this.formatter=p}transform(p){return this.formatter.format_number(p,1024,["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"])}}return u.\u0275fac=function(p){return new(p||u)(a.Y36(r.H,16))},u.\u0275pipe=a.Yjl({name:"dimlessBinary",type:u,pure:!0}),u})()},66369:(v,b,i)=>{"use strict";i.d(b,{n:()=>f});var r=i(28211),a=i(89724);let f=(()=>{class u{constructor(p){this.formatter=p}transform(p){return this.formatter.format_number(p,1e3,["","k","M","G","T","P","E","Z","Y"])}}return u.\u0275fac=function(p){return new(p||u)(a.Y36(r.H,16))},u.\u0275pipe=a.Yjl({name:"dimless",type:u,pure:!0}),u})()},94088:(v,b,i)=>{"use strict";i.d(b,{u:()=>a});var r=i(89724);let a=(()=>{class f{transform(e){if(null===e||e<=0)return"";const p=[[`${Math.floor(e/31536e3)}`,"years"],[`${Math.floor(e%31536e3/86400)}`,"days"],[`${Math.floor(e%86400/3600)}`,"hours"],[`${Math.floor(e%3600/60)}`,"minutes"],[`${Math.floor(e%60)}`,"seconds"]];let g="";for(let T=0,M=p.length;T<M;T++)"0"!==p[T][0]&&(g+=" "+p[T][0]+" "+("1"===p[T][0]?p[T][1].substr(0,p[T][1].length-1):p[T][1]));return g.trim()||"1 second"}}return f.\u0275fac=function(e){return new(e||f)},f.\u0275pipe=r.Yjl({name:"duration",type:f,pure:!1}),f})()},41039:(v,b,i)=>{"use strict";i.d(b,{W:()=>u});var r=i(23815),a=i.n(r),f=i(89724);let u=(()=>{class e{transform(g){return a().isUndefined(g)||a().isNull(g)?"-":a().isNaN(g)?"N/A":g}}return e.\u0275fac=function(g){return new(g||e)},e.\u0275pipe=f.Yjl({name:"empty",type:e,pure:!0}),e})()},45246:(v,b,i)=>{"use strict";i.d(b,{v:()=>f});var r=(()=>{return(u=r||(r={})).HEALTH_ERR="fa fa-exclamation-circle",u.HEALTH_WARN="fa fa-exclamation-triangle",u.HEALTH_OK="fa fa-check-circle",r;var u})(),a=i(89724);let f=(()=>{class u{transform(p){return Object.keys(r).includes(p)?r[p]:""}}return u.\u0275fac=function(p){return new(p||u)},u.\u0275pipe=a.Yjl({name:"healthIcon",type:u,pure:!0}),u})()},21766:(v,b,i)=>{"use strict";i.d(b,{A:()=>a});var r=i(89724);let a=(()=>{class f{transform(e){return`${e} IOPS`}}return f.\u0275fac=function(e){return new(e||f)},f.\u0275pipe=r.Yjl({name:"iops",type:f,pure:!0}),f})()},88820:(v,b,i)=>{"use strict";i.d(b,{V:()=>a});var r=i(89724);let a=(()=>{class f{transform(e){return"user:rbd"===e?"user:rbd (tcmu-runner)":e}}return f.\u0275fac=function(e){return new(e||f)},f.\u0275pipe=r.Yjl({name:"iscsiBackstore",type:f,pure:!0}),f})()},86969:(v,b,i)=>{"use strict";i.d(b,{A:()=>a});var r=i(89724);let a=(()=>{class f{transform(e){return e.join(", ")}}return f.\u0275fac=function(e){return new(e||f)},f.\u0275pipe=r.Yjl({name:"join",type:f,pure:!0}),f})()},42746:(v,b,i)=>{"use strict";i.d(b,{e:()=>a});var r=i(89724);let a=(()=>{class f{transform(e){return"[DBG]"===e?"debug":"[INF]"===e?"info":"[WRN]"===e?"warn":"[ERR]"===e?"err":""}}return f.\u0275fac=function(e){return new(e||f)},f.\u0275pipe=r.Yjl({name:"logPriority",type:f,pure:!0}),f})()},78877:(v,b,i)=>{"use strict";i.d(b,{b:()=>u});var r=i(23815),a=i.n(r),f=i(89724);let u=(()=>{class e{transform(g,T){return a().isPlainObject(T)?a().get(T,g,g):g}}return e.\u0275fac=function(g){return new(g||e)},e.\u0275pipe=f.Yjl({name:"map",type:e,pure:!0}),e})()},8074:(v,b,i)=>{"use strict";i.d(b,{F:()=>u});var r=i(23815),a=i.n(r),f=i(89724);let u=(()=>{class e{transform(g){if(!g)return{success:0,info:0,total:0};let T=0,M=0,w=0,R=0,U=0;return a().each(g.standbys,()=>{w+=1}),g.standbys&&!g.filesystems?(M=w,T=0):0===g.filesystems.length?T=0:(a().each(g.filesystems,q=>{a().each(q.mdsmap.info,ue=>{"up:standby-replay"===ue.state?U+=1:R+=1})}),T=R,M=w+U),{success:T,info:M,total:T+M}}}return e.\u0275fac=function(g){return new(g||e)},e.\u0275pipe=f.Yjl({name:"mdsSummary",type:e,pure:!0}),e})()},40473:(v,b,i)=>{"use strict";i.d(b,{c:()=>u});var r=i(23815),a=i.n(r),f=i(89724);let u=(()=>{class e{transform(g){if(!g)return{success:0,info:0,total:0};let T;(a().isUndefined(g.active_name)?"":`${"active daemon"}: ${g.active_name}`).length>0&&(T=1);const w=g.standbys.length;return{success:T,info:w,total:T+w}}}return e.\u0275fac=function(g){return new(g||e)},e.\u0275pipe=f.Yjl({name:"mgrSummary",type:e,pure:!0}),e})()},48537:(v,b,i)=>{"use strict";i.d(b,{J:()=>a});var r=i(89724);let a=(()=>{class f{transform(e){return`${e} ms`}}return f.\u0275fac=function(e){return new(e||f)},f.\u0275pipe=r.Yjl({name:"milliseconds",type:f,pure:!0}),f})()},55657:(v,b,i)=>{"use strict";i.d(b,{g:()=>u});var r=i(23815),a=i.n(r),f=i(89724);let u=(()=>{class e{transform(g,T){return""===g?a().defaultTo(T,"n/a"):g}}return e.\u0275fac=function(g){return new(g||e)},e.\u0275pipe=f.Yjl({name:"notAvailable",type:e,pure:!0}),e})()},36569:(v,b,i)=>{"use strict";i.d(b,{f:()=>a});var r=i(89724);let a=(()=>{class f{transform(e){const p=parseInt(e,10);return isNaN(p)?e:e+(1===Math.floor(p/10)?"th":p%10==1?"st":p%10==2?"nd":p%10==3?"rd":"th")}}return f.\u0275fac=function(e){return new(e||f)},f.\u0275pipe=r.Yjl({name:"ordinal",type:f,pure:!0}),f})()},67891:(v,b,i)=>{"use strict";i.d(b,{H:()=>u});var r=i(23815),a=i.n(r),f=i(89724);let u=(()=>{class e{transform(g){if(!g)return"";let T=0,M=0,w=0,R=0;return a().each(g.osds,q=>{q.in&&T++,q.up&&M++,q.state.includes("nearfull")&&w++,q.state.includes("full")&&R++}),{total:g.osds.length,down:g.osds.length-M,out:g.osds.length-T,up:M,in:T,nearfull:w,full:R}}}return e.\u0275fac=function(g){return new(g||e)},e.\u0275pipe=f.Yjl({name:"osdSummary",type:e,pure:!0}),e})()},12455:(v,b,i)=>{"use strict";i.d(b,{D:()=>Ge});var r=i(11048),a=i(47187),f=i(68962),u=i(70442),e=i(96102),p=i(24310),g=i(58111),T=i(20044),M=i(47557),w=i(66369),R=i(94088),U=i(41039),W=i(89724);let j=(()=>{class Oe{transform(We){return encodeURIComponent(We)}}return Oe.\u0275fac=function(We){return new(We||Oe)},Oe.\u0275pipe=W.Yjl({name:"encodeUri",type:Oe,pure:!0}),Oe})();var q=i(45246),ue=i(21766),re=i(88820),H=i(86969),se=i(42746),ae=i(78877),ie=i(8074),fe=i(40473),_e=i(48537),Ce=i(55657),ce=i(36569),Be=i(67891),Ve=i(90068),Xe=i(60793),He=i(52821),Pe=i(10545);let Ge=(()=>{class Oe{}return Oe.\u0275fac=function(We){return new(We||Oe)},Oe.\u0275mod=W.oAB({type:Oe}),Oe.\u0275inj=W.cJS({providers:[a.I,u.i,f.T,r.uU,g.F,p.t,M.$,T.O,w.n,Ve.h,re.V,H.A,se.e,e.N,U.W,j,ce.f,ue.A,_e.J,Ce.g,Pe.m,R.u,ae.b,He.W,Xe.A,q.v,fe.c,ie.F,Be.H],imports:[[r.ez]]}),Oe})()},90068:(v,b,i)=>{"use strict";i.d(b,{h:()=>p});var r=i(23815),a=i.n(r),f=i(16738),u=i.n(f),e=i(89724);u().updateLocale("en",{relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}});let p=(()=>{class g{transform(M,w=!0){let R;if(R=a().isNumber(M)?u().unix(M):u()(M),!R.isValid())return"";let U=R.fromNow();return w&&(U=a().upperFirst(U)),U}}return g.\u0275fac=function(M){return new(M||g)},g.\u0275pipe=e.Yjl({name:"relativeDate",type:g,pure:!1}),g})()},60793:(v,b,i)=>{"use strict";i.d(b,{A:()=>f});var r=i(89724),a=i(14800);let f=(()=>{class u{constructor(p){this.domSanitizer=p}transform(p){return this.domSanitizer.sanitize(r.q3G.HTML,p)}}return u.\u0275fac=function(p){return new(p||u)(r.Y36(a.H7,16))},u.\u0275pipe=r.Yjl({name:"sanitizeHtml",type:u,pure:!0}),u})()},52821:(v,b,i)=>{"use strict";i.d(b,{W:()=>u});var r=i(23815),a=i.n(r),f=i(89724);let u=(()=>{class e{transform(g,T,M){return a().isString(g)?(M=a().defaultTo(M,""),a().truncate(g,{length:T,omission:M})):g}}return e.\u0275fac=function(g){return new(g||e)},e.\u0275pipe=f.Yjl({name:"truncate",type:e,pure:!0}),e})()},10545:(v,b,i)=>{"use strict";i.d(b,{m:()=>u});var r=i(23815),a=i.n(r),f=i(89724);let u=(()=>{class e{transform(g){return a().upperFirst(g)}}return e.\u0275fac=function(g){return new(g||e)},e.\u0275pipe=f.Yjl({name:"upperFirst",type:e,pure:!0}),e})()},2817:(v,b,i)=>{"use strict";i.d(b,{r:()=>j});var r=i(22759);function a(q,ue){function re(){return!re.pred.apply(re.thisArg,arguments)}return re.pred=q,re.thisArg=ue,re}var f=i(19846),u=i(45435),e=i(70882),g=i(47349),T=i(46782),M=i(79765),w=i(85345);class U{constructor(ue){this.notifier=ue}call(ue,re){return re.subscribe(new W(ue,this.notifier,re))}}class W extends w.Ds{constructor(ue,re,H){super(ue),this.notifier=re,this.source=H,this.sourceIsBeingSubscribedTo=!0}notifyNext(){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)}notifyComplete(){if(!1===this.sourceIsBeingSubscribedTo)return super.complete()}complete(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return super.complete();this._unsubscribeAndRecycle(),this.notifications.next(void 0)}}_unsubscribe(){const{notifications:ue,retriesSubscription:re}=this;ue&&(ue.unsubscribe(),this.notifications=void 0),re&&(re.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0}_unsubscribeAndRecycle(){const{_unsubscribe:ue}=this;return this._unsubscribe=null,super._unsubscribeAndRecycle(),this._unsubscribe=ue,this}subscribeToRetries(){let ue;this.notifications=new M.xQ;try{const{notifier:re}=this;ue=re(this.notifications)}catch(re){return super.complete()}this.retries=ue,this.retriesSubscription=(0,w.ft)(ue,new w.IY(this))}}function j(){const q=(0,r.R)(document,"visibilitychange").pipe((0,g.d)({refCount:!0,bufferSize:1})),[ue,re]=function p(q,ue,re){return[(0,u.h)(ue,re)(new e.y((0,f.s)(q))),(0,u.h)(a(ue,re))(new e.y((0,f.s)(q)))]}(q,()=>"visible"===document.visibilityState);return function(H){return H.pipe((0,T.R)(re),function R(q){return ue=>ue.lift(new U(q))}(()=>ue))}}},45510:(v,b,i)=>{"use strict";i.d(b,{P:()=>u});var r=i(89724),a=i(55860),f=i(47640);let u=(()=>{class e{constructor(g,T){this.router=g,this.authStorageService=T}canActivate(g,T){return!!this.authStorageService.isLoggedIn()||(this.router.navigate(["/login"],{queryParams:{returnUrl:T.url}}),!1)}canActivateChild(g,T){return this.canActivate(g,T)}}return e.\u0275fac=function(g){return new(g||e)(r.LFG(a.F0),r.LFG(f.j))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},47640:(v,b,i)=>{"use strict";i.d(b,{j:()=>e});var r=i(26215);class a{constructor(g=[]){["read","create","update","delete"].forEach(T=>this[T]=g.includes(T))}}class f{constructor(g){this.hosts=new a(g.hosts),this.configOpt=new a(g["config-opt"]),this.pool=new a(g.pool),this.osd=new a(g.osd),this.monitor=new a(g.monitor),this.rbdImage=new a(g["rbd-image"]),this.iscsi=new a(g.iscsi),this.rbdMirroring=new a(g["rbd-mirroring"]),this.rgw=new a(g.rgw),this.cephfs=new a(g.cephfs),this.manager=new a(g.manager),this.log=new a(g.log),this.user=new a(g.user),this.grafana=new a(g.grafana),this.prometheus=new a(g.prometheus),this.nfs=new a(g["nfs-ganesha"])}}var u=i(89724);let e=(()=>{class p{constructor(){this.isPwdDisplayedSource=new r.X(!1),this.isPwdDisplayed$=this.isPwdDisplayedSource.asObservable()}set(T,M={},w=!1,R=null,U=!1){localStorage.setItem("dashboard_username",T),localStorage.setItem("dashboard_permissions",JSON.stringify(new f(M))),localStorage.setItem("user_pwd_expiration_date",String(R)),localStorage.setItem("user_pwd_update_required",String(U)),localStorage.setItem("sso",String(w))}remove(){localStorage.removeItem("dashboard_username"),localStorage.removeItem("user_pwd_expiration_data"),localStorage.removeItem("user_pwd_update_required")}isLoggedIn(){return null!==localStorage.getItem("dashboard_username")}getUsername(){return localStorage.getItem("dashboard_username")}getPermissions(){return JSON.parse(localStorage.getItem("dashboard_permissions")||JSON.stringify(new f({})))}getPwdExpirationDate(){return Number(localStorage.getItem("user_pwd_expiration_date"))}getPwdUpdateRequired(){return"true"===localStorage.getItem("user_pwd_update_required")}isSSO(){return"true"===localStorage.getItem("sso")}}return p.\u0275fac=function(T){return new(T||p)},p.\u0275prov=u.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})()},10972:(v,b,i)=>{"use strict";i.d(b,{n:()=>re});var r=i(88002),a=i(62351),f=i(89724),u=i(64762),e=i(1659),p=i(90645),g=i(68307);function M(H){return""===H||null==H}function w(H){return null!=H&&"object"==typeof H&&!Array.isArray(H)}function R(H){return Number.isInteger?Number.isInteger(H):"number"==typeof H&&Math.floor(H)===H}function U(H){return"object"==typeof H&&(H.hasOwnProperty("const")||H.enum&&1===H.enum.length)}function W(H){if(!H.fieldGroup)return(0,p._S)(H)&&void 0!==(0,p.Hl)(H)?1:0;const se=H.fieldGroup.reduce((ae,ie)=>W(ie)+ae,0);if(0===se&&(0,p._S)(H)){const ae=(0,p.Hl)(H);if(null===ae||void 0!==ae&&(H.fieldArray&&Array.isArray(ae)||!H.fieldArray&&w(ae)))return 1}return se}let j=(()=>{class H{toFieldConfig(ae,ie){return this._toFieldConfig(ae,Object.assign({schema:ae},ie||{}))}_toFieldConfig(ae,ie){var fe,{key:_e}=ie,Ce=(0,u._T)(ie,["key"]);ae=this.resolveSchema(ae,Ce);const ce=this.guessSchemaType(ae);let Be={type:ce[0],defaultValue:ae.default,props:{label:ae.title,readonly:ae.readOnly,description:ae.description}};switch(null!=_e&&(Be.key=_e),!Ce.ignoreDefault&&(ae.readOnly||Ce.readOnly)&&(Be.props.disabled=!0,Ce=Object.assign(Object.assign({},Ce),{readOnly:!0})),Ce.resetOnHide&&(Be.resetOnHide=!0),_e&&Ce.strict&&this.addValidator(Be,"type",(Ve,Xe)=>{const He=(0,p.Hl)(Xe);if(null!=He)switch(Be.type){case"string":return"string"==typeof He;case"integer":return R(He);case"number":return"number"==typeof He;case"object":return w(He);case"array":return Array.isArray(He)}return!0}),!1===Ce.shareFormControl&&(Be.shareFormControl=!1),Ce.ignoreDefault&&delete Be.defaultValue,this.addValidator(Be,"type",{schemaType:ce,expression:({value:Ve})=>{if(void 0===Ve||null===Ve&&-1!==ce.indexOf("null"))return!0;switch(ce[0]){case"null":return null===typeof Ve;case"string":return"string"==typeof Ve;case"integer":return R(Ve);case"number":return"number"==typeof Ve;case"object":return w(Ve);case"array":return Array.isArray(Ve)}return!0}}),Be.type){case"number":case"integer":Be.parsers=[Ve=>M(Ve)?void 0:Number(Ve)],ae.hasOwnProperty("minimum")&&(Be.props.min=ae.minimum),ae.hasOwnProperty("maximum")&&(Be.props.max=ae.maximum),ae.hasOwnProperty("exclusiveMinimum")&&(Be.props.exclusiveMinimum=ae.exclusiveMinimum,this.addValidator(Be,"exclusiveMinimum",({value:Ve})=>M(Ve)||Ve>ae.exclusiveMinimum)),ae.hasOwnProperty("exclusiveMaximum")&&(Be.props.exclusiveMaximum=ae.exclusiveMaximum,this.addValidator(Be,"exclusiveMaximum",({value:Ve})=>M(Ve)||Ve<ae.exclusiveMaximum)),ae.hasOwnProperty("multipleOf")&&(Be.props.step=ae.multipleOf,this.addValidator(Be,"multipleOf",({value:Ve})=>{if(M(Ve)||"number"!=typeof Ve||0===Ve||ae.multipleOf<=0)return!0;const Xe=Math.pow(10,function T(H){if(!isFinite(H))return 0;let se=1,ae=0;for(;Math.round(H*se)/se!==H;)se*=10,ae++;return ae}(ae.multipleOf));return Math.round(Ve*Xe)%Math.round(ae.multipleOf*Xe)==0}));break;case"string":Be.parsers=[Ve=>(-1!==ce.indexOf("null")?Ve=M(Ve)?null:Ve:Be.props.required||(Ve=""===Ve?void 0:Ve),Ve)],["minLength","maxLength","pattern"].forEach(Ve=>{ae.hasOwnProperty(Ve)&&(Be.props[Ve]=ae[Ve])});break;case"object":{Be.fieldGroup||(Be.fieldGroup=[]);const{propDeps:Ve,schemaDeps:Xe}=this.resolveDependencies(ae);Object.keys(ae.properties||{}).forEach(He=>{const Pe=Array.isArray(ae.required)&&-1!==ae.required.indexOf(He),Ge=this._toFieldConfig(ae.properties[He],Object.assign(Object.assign({},Ce),{key:He,isOptional:Ce.isOptional||!Pe}));if(Be.fieldGroup.push(Ge),(Pe||Ve[He])&&(Ge.expressions=Object.assign(Object.assign({},Ge.expressions||{}),{"props.required":Oe=>{let Tt=Oe.parent;const We=Oe.fieldGroup&&null!=Oe.key?Tt.model:Oe.model;for(;null==Tt.key&&Tt.parent;)Tt=Tt.parent;return!!(We||Tt&&Tt.props&&Tt.props.required)&&(!(!Array.isArray(ae.required)||-1===ae.required.indexOf(He))||Ve[He]&&Oe.model&&Ve[He].some(Nt=>!M(Oe.model[Nt])))}})),Xe[He]){const Oe=We=>We.hasOwnProperty("const")?We.const:We.enum[0],Tt=Xe[He].oneOf;Tt&&Tt.every(We=>We.properties&&We.properties[He]&&U(We.properties[He]))?Tt.forEach(We=>{const Qt=We.properties,Yt=Qt[He],dn=(0,u._T)(Qt,["symbol"==typeof He?He:He+""]);Be.fieldGroup.push(Object.assign(Object.assign({},this._toFieldConfig(Object.assign(Object.assign({},We),{properties:dn}),Object.assign(Object.assign({},Ce),{resetOnHide:!0}))),{expressions:{hide:rn=>!rn.model||Oe(Yt)!==rn.model[He]}}))}):Be.fieldGroup.push(Object.assign(Object.assign({},this._toFieldConfig(Xe[He],Ce)),{expressions:{hide:We=>!We.model||M(We.model[He])}}))}}),ae.oneOf&&Be.fieldGroup.push(this.resolveMultiSchema("oneOf",ae.oneOf,Object.assign(Object.assign({},Ce),{shareFormControl:!1}))),ae.anyOf&&Be.fieldGroup.push(this.resolveMultiSchema("anyOf",ae.anyOf,Ce));break}case"array":ae.hasOwnProperty("minItems")&&(Be.props.minItems=ae.minItems,this.addValidator(Be,"minItems",(Ve,Xe)=>{const He=(0,p.Hl)(Xe);return M(He)||He.length>=ae.minItems}),!Ce.isOptional&&ae.minItems>0&&void 0===Be.defaultValue&&(Be.defaultValue=Array.from(new Array(ae.minItems)))),ae.hasOwnProperty("maxItems")&&(Be.props.maxItems=ae.maxItems,this.addValidator(Be,"maxItems",(Ve,Xe)=>{const He=(0,p.Hl)(Xe);return M(He)||He.length<=ae.maxItems})),ae.hasOwnProperty("uniqueItems")&&(Be.props.uniqueItems=ae.uniqueItems,this.addValidator(Be,"uniqueItems",(Ve,Xe)=>{const He=(0,p.Hl)(Xe);return!(!M(He)&&ae.uniqueItems)||Array.from(new Set(He.map(Ge=>JSON.stringify(Ge)))).length===He.length})),ae.items&&!Array.isArray(ae.items)&&(ae.items=this.resolveSchema(ae.items,Ce)),this.isEnum(ae)||(Be.fieldArray=Ve=>{if(!Array.isArray(ae.items)){const Ge=ae.items?this._toFieldConfig(ae.items,Ce):{};return Ge.props&&(Ge.props.required=!0),Ge}const Xe=Ve.fieldGroup?Ve.fieldGroup.length:0,He=ae.items[Xe]?ae.items[Xe]:ae.additionalItems,Pe=He?this._toFieldConfig(He,Ce):{};return Pe.props&&(Pe.props.required=!0),ae.items[Xe]&&(Pe.props.removable=!1),Pe})}return ae.hasOwnProperty("const")&&(Be.props.const=ae.const,this.addValidator(Be,"const",({value:Ve})=>Ve===ae.const),Be.type||(Be.defaultValue=ae.const)),this.isEnum(ae)&&(Be.props.multiple="array"===Be.type,Be.type="enum",Be.props.options=this.toEnumOptions(ae)),ae.oneOf&&!Be.type&&(delete Be.key,Be.fieldGroup=[this.resolveMultiSchema("oneOf",ae.oneOf,Object.assign(Object.assign({},Ce),{key:_e,shareFormControl:!1}))]),ae.oneOf&&!Be.type&&(delete Be.key,Be.fieldGroup=[this.resolveMultiSchema("oneOf",ae.oneOf,Object.assign(Object.assign({},Ce),{key:_e,shareFormControl:!1}))]),(null===(fe=ae.widget)||void 0===fe?void 0:fe.formlyConfig)&&(Be=this.mergeFields(Be,ae.widget.formlyConfig)),Be.templateOptions=Be.props,Ce.map?Ce.map(Be,ae):Be}resolveSchema(ae,ie){return ae&&ae.$ref&&(ae=this.resolveDefinition(ae,ie)),ae&&ae.allOf&&(ae=this.resolveAllOf(ae,ie)),ae}resolveAllOf(ae,ie){var{allOf:fe}=ae,_e=(0,u._T)(ae,["allOf"]);if(!fe.length)throw Error(`allOf array can not be empty ${fe}.`);return fe.reduce((Ce,ce)=>(ce=this.resolveSchema(ce,ie),Ce.required&&ce.required&&(Ce.required=[...Ce.required,...ce.required]),ce.uniqueItems&&(Ce.uniqueItems=ce.uniqueItems),["maxLength","maximum","exclusiveMaximum","maxItems","maxProperties"].forEach(Be=>{!M(Ce[Be])&&!M(ce[Be])&&(Ce[Be]=Ce[Be]<ce[Be]?Ce[Be]:ce[Be])}),["minLength","minimum","exclusiveMinimum","minItems","minProperties"].forEach(Be=>{!M(Ce[Be])&&!M(ce[Be])&&(Ce[Be]=Ce[Be]>ce[Be]?Ce[Be]:ce[Be])}),(0,p.Du)(Ce,ce)),_e)}resolveMultiSchema(ae,ie,fe){return{type:"multischema",fieldGroup:[{type:"enum",defaultValue:-1,props:{multiple:"anyOf"===ae,options:ie.map((_e,Ce)=>({label:_e.title,value:Ce,disabled:_e.readOnly}))},hooks:{onInit:_e=>_e.formControl.valueChanges.pipe((0,g.b)(()=>_e.options.detectChanges(_e.parent)))}},{fieldGroup:ie.map((_e,Ce)=>Object.assign(Object.assign({},this._toFieldConfig(_e,Object.assign(Object.assign({},fe),{resetOnHide:!0}))),{expressions:{hide:(ce,Be)=>{const Ve=ce.parent.parent.fieldGroup[0].formControl;if(-1===Ve.value||Be){let Xe=ce.parent.fieldGroup.map((He,Pe)=>[He,Pe,this.isFieldValid(He,Pe,ie,fe)]).sort(([He,,Pe],[Ge,,Oe])=>{if(Pe!==Oe)return Oe?1:-1;const Tt=W(He),We=W(Ge);return Tt===We&&He.props.disabled===Ge.props.disabled?0:We>Tt?1:-1}).map(([,He])=>He);if("anyOf"===ae){const He=Xe.filter(Pe=>W(ce.parent.fieldGroup[Pe]));Xe=He.length>0?He:[Xe[0]||0]}Xe=Xe.length>0?Xe:[0],Ve.setValue("anyOf"===ae?Xe:Xe[0])}return Array.isArray(Ve.value)?-1===Ve.value.indexOf(Ce):Ve.value!==Ce}}}))}]}}resolveDefinition(ae,ie){const[fe,_e]=ae.$ref.split("#/");if(fe)throw Error(`Remote schemas for ${ae.$ref} not supported yet.`);const Ce=_e?_e.split("/").reduce((ce,Be)=>(null==ce?void 0:ce.hasOwnProperty(Be))?ce[Be]:null,ie.schema):null;if(!Ce)throw Error(`Cannot find a definition for ${ae.$ref}.`);return Ce.$ref?this.resolveDefinition(Ce,ie):Object.assign(Object.assign({},Ce),["title","description","default","widget"].reduce((ce,Be)=>(ae.hasOwnProperty(Be)&&(ce[Be]=ae[Be]),ce),{}))}resolveDependencies(ae){const ie={},fe={};return Object.keys(ae.dependencies||{}).forEach(_e=>{const Ce=ae.dependencies[_e];Array.isArray(Ce)?Ce.forEach(ce=>{ie[ce]?ie[ce].push(_e):ie[ce]=[_e]}):fe[_e]=Ce}),{propDeps:ie,schemaDeps:fe}}guessSchemaType(ae){const ie=null==ae?void 0:ae.type;return!ie&&(null==ae?void 0:ae.properties)?["object"]:Array.isArray(ie)?1===ie.length?ie:2===ie.length&&-1!==ie.indexOf("null")?ie.sort(fe=>"null"==fe?1:-1):ie:ie?[ie]:[]}addValidator(ae,ie,fe){ae.validators=ae.validators||{},ae.validators[ie]=fe}isEnum(ae){return!!ae.enum||ae.anyOf&&ae.anyOf.every(U)||ae.oneOf&&ae.oneOf.every(U)||ae.uniqueItems&&ae.items&&!Array.isArray(ae.items)&&this.isEnum(ae.items)}toEnumOptions(ae){if(ae.enum)return ae.enum.map(fe=>({value:fe,label:fe}));const ie=fe=>{const _e=fe.hasOwnProperty("const")?fe.const:fe.enum[0],Ce={value:_e,label:fe.title||_e};return fe.readOnly&&(Ce.disabled=!0),Ce};return ae.anyOf?ae.anyOf.map(ie):ae.oneOf?ae.oneOf.map(ie):this.toEnumOptions(ae.items)}isFieldValid(ae,ie,fe,_e){ae._schemasFields||(Object.defineProperty(ae,"_schemasFields",{enumerable:!1,writable:!0,configurable:!0}),ae._schemasFields={});let Ce=ae._schemasFields[ie];const ce=ae.model?(0,p.kg)(ae.model):ae.fieldArray?[]:{};return Ce?(Ce.model=ce,ae.options.build(Ce)):Ce=ae._schemasFields[ie]=ae.options.build({form:Array.isArray(ce)?new e.Oe([]):new e.cw({}),fieldGroup:[this._toFieldConfig(fe[ie],Object.assign(Object.assign({},_e),{resetOnHide:!0,ignoreDefault:!0,map:null,strict:!0}))],model:ce,options:{}}),Ce.form.valid}mergeFields(ae,ie){for(let fe in ie){const _e="templateOptions"===fe?"props":fe;w(ae[_e])&&w(ie[fe])?ae[_e]=this.mergeFields(ae[_e],ie[fe]):null!=ie[fe]&&(ae[_e]=ie[fe])}return ae}}return H.\u0275fac=function(ae){return new(ae||H)},H.\u0275prov=f.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"}),H})(),q=(()=>{class H{constructor(ae){this.formlyJsonschema=ae}processJsonSchemaForm(ae,ie){let fe=0;for(;fe<ae.forms.length&&ae.forms[fe].path!=ie;)fe++;fe%=ae.forms.length;const _e=ae.forms[fe].control_schema.title,Ce=ae.forms[fe].ui_schema;let Be=this.formlyJsonschema.toFieldConfig(ae.forms[fe].control_schema).fieldGroup;for(let Pe=0;Pe<Be.length;Pe++)for(let Ge=0;Ge<Ce.length;Ge++)Be[Pe].key==Ce[Ge].key&&(Be[Pe].props.templateOptions=Ce[Ge].templateOptions,Be[Pe].props.readonly=Ce[Ge].readonly,(0,a.w)(Be[Pe],Ce));return{title:_e,uiSchema:Ce,controlSchema:Be,taskInfo:{metadataFields:ae.forms[fe].task_info.metadataFields,message:ae.forms[fe].task_info.message},methodType:ae.forms[fe].method_type,model:ae.forms[fe].model||{}}}}return H.\u0275fac=function(ae){return new(ae||H)(f.LFG(j))},H.\u0275prov=f.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"}),H})();var ue=i(19725);let re=(()=>{class H{constructor(ae,ie){this.http=ae,this.crudFormAdapater=ie,this.cache={}}list(ae){const ie=this.getCacheable(ae,"get");if(void 0===this.cache[ie]){const{url:fe,version:_e}=this.getUrlAndVersion(ae);this.cache[ie]=this.http.get(fe,{headers:{Accept:`application/vnd.ceph.api.v${_e}+json`}})}return this.cache[ie]}submit(ae,ie,fe){const{url:_e,version:Ce}=this.getUrlAndVersion(ae);return this.http[fe](_e,ie,{headers:{Accept:`application/vnd.ceph.api.v${Ce}+json`}})}delete(ae,ie){const{url:fe,version:_e}=this.getUrlAndVersion(ae);return this.http.delete(`${fe}/${ie}`,{headers:{Accept:`application/vnd.ceph.api.v${_e}+json`},observe:"response"})}form(ae,ie,fe=""){const _e=this.getCacheable(ae,"get",fe),Ce={model_key:fe};if(void 0===this.cache[_e]){const{url:ce,version:Be}=this.getUrlAndVersion(ae);this.cache[_e]=this.http.get(ce,{headers:{Accept:`application/vnd.ceph.api.v${Be}+json`},params:Ce})}return this.cache[_e].pipe((0,r.U)(ce=>this.crudFormAdapater.processJsonSchemaForm(ce,ie)))}model(ae,ie){const fe=this.getCacheable(ae,"get");if(void 0===this.cache[fe]){const{url:_e,version:Ce}=this.getUrlAndVersion(ae);this.cache[fe]=this.http.get(`${_e}/model`,{headers:{Accept:`application/vnd.ceph.api.v${Ce}+json`},params:ie})}return this.cache[fe]}getCacheable(ae,ie,fe=""){return ae+ie+fe}getUrlAndVersion(ae){const ie=ae.match(/(?<url>[^@]+)(?:@(?<version>.+))?/);return{url:ie.groups.url.split(".").join("/"),version:ie.groups.version||"1.0"}}}return H.\u0275fac=function(ae){return new(ae||H)(f.LFG(ue.eN),f.LFG(q))},H.\u0275prov=f.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"}),H})()},72625:(v,b,i)=>{"use strict";i.d(b,{R:()=>T});var r=i(26215),a=i(45435),f=i(88002),u=i(28049),e=i(74255),p=i(89724),g=i(24310);let T=(()=>{class M{constructor(R,U){this.summaryservice=R,this.cephReleaseNamePipe=U,this.releaseDataSource=new r.X(null),this.releaseData$=this.releaseDataSource.asObservable(),this.summaryservice.subscribeOnce(W=>{const j=this.cephReleaseNamePipe.transform(W.version);this.releaseDataSource.next(j)})}urlGenerator(R,U="main"){const j=`https://docs.ceph.com/en/${"main"===U?"latest":U}/`,q="https://ceph.io";return{iscsi:`${j}mgr/dashboard/#enabling-iscsi-management`,prometheus:`${j}mgr/dashboard/#enabling-prometheus-alerting`,"nfs-ganesha":`${j}mgr/dashboard/#configuring-nfs-ganesha-in-the-dashboard`,"rgw-nfs":`${j}radosgw/nfs`,rgw:`${j}mgr/dashboard/#enabling-the-object-gateway-management-frontend`,dashboard:`${j}mgr/dashboard`,grafana:`${j}mgr/dashboard/#enabling-the-embedding-of-grafana-dashboards`,orch:`${j}mgr/orchestrator`,pgs:"https://old.ceph.com/pgcalc",help:`${q}/en/users/`,security:`${q}/en/security/`,trademarks:`${q}/en/trademarks/`,"dashboard-landing-page-status":`${j}mgr/dashboard/#dashboard-landing-page-status`,"dashboard-landing-page-performance":`${j}mgr/dashboard/#dashboard-landing-page-performance`,"dashboard-landing-page-capacity":`${j}mgr/dashboard/#dashboard-landing-page-capacity`}[R]}subscribeOnce(R,U,W){return this.releaseData$.pipe((0,a.h)(j=>!!j),(0,f.U)(j=>this.urlGenerator(R,j)),(0,u.P)()).subscribe(U,W)}}return M.\u0275fac=function(R){return new(R||M)(p.LFG(e.J),p.LFG(g.t))},M.\u0275prov=p.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"}),M})()},4222:(v,b,i)=>{"use strict";i.d(b,{T:()=>e});var r=i(88002),a=i(26504),f=i(89724),u=i(89154);let e=(()=>{class p{constructor(T){this.featureToggles=T}canActivate(T){return this.featureToggles.get().pipe((0,r.U)(M=>{if(!1===M[T.routeConfig.path])throw new a._2;return!0}))}canActivateChild(T){return this.canActivate(T.parent)}}return p.\u0275fac=function(T){return new(T||p)(f.LFG(u.l))},p.\u0275prov=f.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})()},89154:(v,b,i)=>{"use strict";i.d(b,{l:()=>e});var r=i(89724),a=i(19725),f=i(36848);let e=(()=>{class p{constructor(T,M){this.http=T,this.timerService=M,this.API_URL="api/feature_toggles",this.REFRESH_INTERVAL=3e4,this.featureToggleMap$=this.timerService.get(()=>this.http.get(this.API_URL),this.REFRESH_INTERVAL)}get(){return this.featureToggleMap$}}return p.\u0275fac=function(T){return new(T||p)(r.LFG(a.eN),r.LFG(f.f))},p.\u0275prov=r.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})()},28211:(v,b,i)=>{"use strict";i.d(b,{H:()=>u});var r=i(23815),a=i.n(r),f=i(89724);let u=(()=>{class e{format_number(g,T,M,w=1){if(a().isString(g)&&(g=Number(g)),!a().isNumber(g))return"-";if(a().isNaN(g))return"N/A";let R=g<1?0:Math.floor(Math.log(g)/Math.log(T));R=R>=M.length?M.length-1:R;let U=a().round(g/Math.pow(T,R),w).toString();return""===U?"-":(""!==M[R]&&(U=`${U} ${M[R]}`),U)}toBytes(g,T=null){const w=["b","k","m","g","t","p","e","z","y"],R=RegExp("^(\\d+(.\\d+)?) ?(["+w.join("")+"]?(b|ib|B/s)?)?$","i").exec(g);if(null===R)return T;let U=parseFloat(R[1]);return a().isString(R[3])&&(U*=Math.pow(1024,w.indexOf(R[3].toLowerCase()[0]))),Math.round(U)}toMilliseconds(g){const M=/^\s*(\d+)\s*(ms)?\s*$/i.exec(g);return null!==M?+M[1]:0}toIops(g){const M=/^\s*(\d+)\s*(IOPS)?\s*$/i.exec(g);return null!==M?+M[1]:0}}return e.\u0275fac=function(g){return new(g||e)},e.\u0275prov=f.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},63285:(v,b,i)=>{"use strict";i.d(b,{Z:()=>f});var r=i(89724),a=i(71334);let f=(()=>{class u{constructor(p){this.modal=p}show(p,g,T){const M=this.modal.open(p,T);return g&&Object.assign(M.componentInstance,g),M}dismissAll(){this.modal.dismissAll()}hasOpenModals(){return this.modal.hasOpenModals()}}return u.\u0275fac=function(p){return new(p||u)(r.LFG(a.FF))},u.\u0275prov=r.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})()},54462:(v,b,i)=>{"use strict";i.d(b,{P:()=>M});var r=i(25917),a=i(88002),f=i(5304),u=i(65862),e=i(89724),p=i(19725),g=i(55860),T=i(7273);let M=(()=>{class w{constructor(U,W,j){this.http=U,this.router=W,this.mgrModuleService=j}canActivate(U){return this.doCheck(U)}canActivateChild(U){return this.doCheck(U)}doCheck(U){if(U.url.length>0&&w.ALLOWLIST.includes(U.url[0].path))return(0,r.of)(!0);const W=U.data.moduleStatusGuardConfig;let j=!1;return W.backend&&this.mgrModuleService.getConfig("orchestrator").subscribe(q=>{j=W.backend===q.orchestrator},()=>(this.router.navigate([W.redirectTo]),(0,r.of)(!1))),this.http.get(`ui-api/${W.uiApiPath}/status`).pipe((0,a.U)(q=>(!q.available&&!j&&this.router.navigate([W.redirectTo||""],{state:{header:W.header,message:q.message,section:W.section,section_info:W.section_info,button_name:W.button_name,button_route:W.button_route,button_title:W.button_title,uiConfig:W.uiConfig,uiApiPath:W.uiApiPath,icon:u.P.wrench,component:W.component}}),q.available)),(0,f.K)(()=>(this.router.navigate([W.redirectTo]),(0,r.of)(!1))))}}return w.ALLOWLIST=["501"],w.\u0275fac=function(U){return new(U||w)(e.LFG(p.eN),e.LFG(g.F0),e.LFG(T.N))},w.\u0275prov=e.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})()},97161:(v,b,i)=>{"use strict";i.d(b,{g:()=>R});var r=i(23815),a=i.n(r),f=i(26215),u=i(79765),e=i(18001),p=i(61355),g=i(57924),T=i(89724),M=i(92870),w=i(96102);let R=(()=>{class U{constructor(j,q,ue){this.toastr=j,this.taskMessageService=q,this.cdDatePipe=ue,this.hideToasties=!1,this.dataSource=new f.X([]),this.data$=this.dataSource.asObservable(),this.sidebarSubject=new u.xQ,this.queued=[],this.KEY="cdNotifications";const re=localStorage.getItem(this.KEY);let H=[];a().isString(re)&&(H=JSON.parse(re,(se,ae)=>a().isPlainObject(ae)?a().assign(new p.e,ae):ae)),this.dataSource.next(H)}removeAll(){localStorage.removeItem(this.KEY),this.dataSource.next([])}remove(j){const q=this.dataSource.getValue();q.splice(j,1),this.dataSource.next(q),localStorage.setItem(this.KEY,JSON.stringify(q))}save(j){const q=this.dataSource.getValue();for(q.push(j),q.sort((ue,re)=>ue.timestamp>re.timestamp?-1:1);q.length>10;)q.pop();this.dataSource.next(q),localStorage.setItem(this.KEY,JSON.stringify(q))}show(j,q,ue,re,H){return window.setTimeout(()=>{let se;se=a().isFunction(j)?j():a().isObject(j)?j:new p.T(j,q,ue,re,H),this.queueToShow(se)},10)}queueToShow(j){this.cancel(this.queuedTimeoutId),this.queued.find(q=>a().isEqual(q,j))||this.queued.push(j),this.queuedTimeoutId=window.setTimeout(()=>{this.showQueued()},500)}showQueued(){this.getUnifiedTitleQueue().forEach(j=>{const q=new p.e(j);q.isFinishedTask||this.save(q),this.showToasty(q)})}getUnifiedTitleQueue(){return Object.values(this.queueShiftByTitle()).map(j=>{const q=j[0];return j.length>1&&(q.message="<ul>"+j.map(ue=>`<li>${ue.message}</li>`).join("")+"</ul>"),q})}queueShiftByTitle(){const j={};let q;for(;q=this.queued.shift();)j[q.title]||(j[q.title]=[]),j[q.title].push(q);return j}showToasty(j){this.hideToasties||this.toastr[["error","info","success"][j.type]]((j.message?j.message+"<br>":"")+this.renderTimeAndApplicationHtml(j),j.title,j.options)}renderTimeAndApplicationHtml(j){return`<small class="date">${this.cdDatePipe.transform(j.timestamp)}</small><i class="float-end custom-icon ${j.applicationClass}" title="${j.application}"></i>`}notifyTask(j,q=!0){const ue=this.finishedTaskToNotification(j,q);return ue.isFinishedTask=!0,this.show(ue)}finishedTaskToNotification(j,q=!0){let ue;return ue=j.success&&q?new p.T(e.k.success,this.taskMessageService.getSuccessTitle(j)):new p.T(e.k.error,this.taskMessageService.getErrorTitle(j),this.taskMessageService.getErrorMessage(j)),ue.isFinishedTask=!0,ue}cancel(j){window.clearTimeout(j)}suspendToasties(j){this.hideToasties=j}toggleSidebar(j=!1){this.sidebarSubject.next(j)}}return U.\u0275fac=function(j){return new(j||U)(T.LFG(M._W),T.LFG(g.p),T.LFG(w.N))},U.\u0275prov=T.Yz7({token:U,factory:U.\u0275fac,providedIn:"root"}),U})()},81354:(v,b,i)=>{"use strict";i.d(b,{q:()=>g});var r=i(23815),a=i.n(r),f=i(88002),u=i(9837);class e{constructor(M){this.pwdPolicyEnabled=M.pwd_policy_enabled,this.pwdPolicyMinLength=M.pwd_policy_min_length,this.pwdPolicyCheckLengthEnabled=M.pwd_policy_check_length_enabled,this.pwdPolicyCheckOldpwdEnabled=M.pwd_policy_check_oldpwd_enabled,this.pwdPolicyCheckUsernameEnabled=M.pwd_policy_check_username_enabled,this.pwdPolicyCheckExclusionListEnabled=M.pwd_policy_check_exclusion_list_enabled,this.pwdPolicyCheckRepetitiveCharsEnabled=M.pwd_policy_check_repetitive_chars_enabled,this.pwdPolicyCheckSequentialCharsEnabled=M.pwd_policy_check_sequential_chars_enabled,this.pwdPolicyCheckComplexityEnabled=M.pwd_policy_check_complexity_enabled}}var p=i(89724);let g=(()=>{class T{constructor(w){this.settingsService=w}getHelpText(){return this.settingsService.getStandardSettings().pipe((0,f.U)(w=>{const R=new e(w);let U=[];if(R.pwdPolicyEnabled){U.push("Required rules for passwords:");const W={pwdPolicyCheckLengthEnabled:"Must contain at least " + R.pwdPolicyMinLength + " characters",pwdPolicyCheckOldpwdEnabled:"Must not be the same as the previous one",pwdPolicyCheckUsernameEnabled:"Cannot contain the username",pwdPolicyCheckExclusionListEnabled:"Cannot contain any configured keyword",pwdPolicyCheckRepetitiveCharsEnabled:"Cannot contain any repetitive characters e.g. \"aaa\"",pwdPolicyCheckSequentialCharsEnabled:"Cannot contain any sequential characters e.g. \"abc\"",pwdPolicyCheckComplexityEnabled:"Must consist of characters from the following groups:\n  * Alphabetic a-z, A-Z\n  * Numbers 0-9\n  * Special chars: !\"#$%& '()*+,-./:;<=>?@[\\]^_`{{|}}~\n  * Any other characters (signs)"};U=U.concat(a().keys(W).filter(j=>a().get(R,j)).map(j=>"- "+a().get(W,j)))}return U.join("\n")}))}mapCreditsToCssClass(w){let R="very-strong";return w<10?R="too-weak":w<15?R="weak":w<20?R="ok":w<25&&(R="strong"),R}}return T.\u0275fac=function(w){return new(w||T)(p.LFG(u.g))},T.\u0275prov=p.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"}),T})()},34089:(v,b,i)=>{"use strict";i.d(b,{n:()=>f});var r=i(30633),a=i(89724);let f=(()=>{class u{constructor(){this.sections=[{heading:"Quality of Service",class:"quality-of-service",options:[{name:"rbd_qos_bps_limit",displayName:"BPS Limit",description:"The desired limit of IO bytes per second.",type:r.r.bps},{name:"rbd_qos_iops_limit",displayName:"IOPS Limit",description:"The desired limit of IO operations per second.",type:r.r.iops},{name:"rbd_qos_read_bps_limit",displayName:"Read BPS Limit",description:"The desired limit of read bytes per second.",type:r.r.bps},{name:"rbd_qos_read_iops_limit",displayName:"Read IOPS Limit",description:"The desired limit of read operations per second.",type:r.r.iops},{name:"rbd_qos_write_bps_limit",displayName:"Write BPS Limit",description:"The desired limit of write bytes per second.",type:r.r.bps},{name:"rbd_qos_write_iops_limit",displayName:"Write IOPS Limit",description:"The desired limit of write operations per second.",type:r.r.iops},{name:"rbd_qos_bps_burst",displayName:"BPS Burst",description:"The desired burst limit of IO bytes.",type:r.r.bps},{name:"rbd_qos_iops_burst",displayName:"IOPS Burst",description:"The desired burst limit of IO operations.",type:r.r.iops},{name:"rbd_qos_read_bps_burst",displayName:"Read BPS Burst",description:"The desired burst limit of read bytes.",type:r.r.bps},{name:"rbd_qos_read_iops_burst",displayName:"Read IOPS Burst",description:"The desired burst limit of read operations.",type:r.r.iops},{name:"rbd_qos_write_bps_burst",displayName:"Write BPS Burst",description:"The desired burst limit of write bytes.",type:r.r.bps},{name:"rbd_qos_write_iops_burst",displayName:"Write IOPS Burst",description:"The desired burst limit of write operations.",type:r.r.iops}]}]}static getOptionsFromSections(p){return p.map(g=>g.options).reduce((g,T)=>g.concat(T))}filterConfigOptionsByName(p){return u.getOptionsFromSections(this.sections).filter(g=>g.name===p)}getOptionValueByName(p,g,T=""){const M=this.filterConfigOptionsByName(p);return 1===M.length?M.pop()[g]:T}getWritableSections(){return this.sections.map(p=>(p.options=p.options.filter(g=>!g.readOnly),p))}getOptionFields(){return u.getOptionsFromSections(this.sections)}getWritableOptionFields(){return u.getOptionsFromSections(this.getWritableSections())}getOptionByName(p){return this.filterConfigOptionsByName(p).pop()}getDisplayName(p){return this.getOptionValueByName(p,"displayName")}getDescription(p){return this.getOptionValueByName(p,"description")}}return u.\u0275fac=function(p){return new(p||u)},u.\u0275prov=a.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})()},74255:(v,b,i)=>{"use strict";i.d(b,{J:()=>M});var r=i(23815),a=i.n(r),f=i(26215),u=i(45435),e=i(28049),p=i(89724),g=i(19725),T=i(36848);let M=(()=>{class w{constructor(U,W){this.http=U,this.timerService=W,this.REFRESH_INTERVAL=5e3,this.summaryDataSource=new f.X(null),this.summaryData$=this.summaryDataSource.asObservable()}startPolling(){return this.timerService.get(()=>this.retrieveSummaryObservable(),this.REFRESH_INTERVAL).subscribe(this.retrieveSummaryObserver())}refresh(){return this.retrieveSummaryObservable().subscribe(this.retrieveSummaryObserver())}retrieveSummaryObservable(){return this.http.get("api/summary")}retrieveSummaryObserver(){return U=>{this.summaryDataSource.next(U)}}subscribeOnce(U,W){return this.summaryData$.pipe((0,u.h)(j=>!!j),(0,e.P)()).subscribe(U,W)}subscribe(U,W){return this.summaryData$.pipe((0,u.h)(j=>!!j)).subscribe(U,W)}addRunningTask(U){const W=this.summaryDataSource.getValue();!W||(a().isArray(W.executing_tasks)?W.executing_tasks.find(q=>q.name===U.name&&a().isEqual(q.metadata,U.metadata))||W.executing_tasks.push(U):W.executing_tasks=[U],this.summaryDataSource.next(W))}}return w.\u0275fac=function(U){return new(U||w)(p.LFG(g.eN),p.LFG(T.f))},w.\u0275prov=p.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})()},38047:(v,b,i)=>{"use strict";i.d(b,{j:()=>u});var r=i(74255),a=i(57924),f=i(89724);let u=(()=>{class e{constructor(g,T){this.taskMessageService=g,this.summaryService=T}init(g,T,M,w,R,U,W){this.getUpdate=g,this.preProcessing=T,this.setList=M,this.onFetchError=w,this.taskFilter=R,this.itemFilter=U,this.builders=W||{},this.summaryDataSubscription=this.summaryService.subscribe(j=>{this.summary=j,this.fetch()},this.onFetchError)}fetch(g=null){this.getUpdate(g).subscribe(T=>{var M;this.updateData(T,null===(M=this.summary)||void 0===M?void 0:M.executing_tasks.filter(this.taskFilter))},this.onFetchError)}updateData(g,T){const M=this.preProcessing?this.preProcessing(g):g;this.addMissing(M,T),M.forEach(w=>{const R=T.filter(U=>this.itemFilter(w,U));w.cdExecuting=this.getTaskAction(R)}),this.setList(M)}addMissing(g,T){const M=this.builders.default;null==T||T.forEach(w=>{const R=g.find(W=>this.itemFilter(W,w)),U=this.builders[w.name];!R&&(U||M)&&g.push(U?U(w.metadata):M(w.metadata))})}getTaskAction(g){if(0!==g.length)return g.map(T=>{const M=T.progress?` ${T.progress}%`:"";return this.taskMessageService.getRunningText(T)+"..."+M}).join(", ")}ngOnDestroy(){this.summaryDataSubscription&&this.summaryDataSubscription.unsubscribe()}}return e.\u0275fac=function(g){return new(g||e)(f.LFG(a.p),f.LFG(r.J))},e.\u0275prov=f.Yz7({token:e,factory:e.\u0275fac}),e})()},71099:(v,b,i)=>{"use strict";i.d(b,{k:()=>e});var r=i(23815),a=i.n(r),f=i(89724);class u{constructor(g,T,M){this.name=g,this.metadata=T,this.onTaskFinished=M}}let e=(()=>{class p{constructor(){this.subscriptions=[]}init(T){return T.subscribe(M=>{const w=M.executing_tasks,R=M.finished_tasks,U=[];for(const W of this.subscriptions){const j=this._getTask(W,R),q=this._getTask(W,w);null!==j&&null===q&&W.onTaskFinished(j),null!==q&&U.push(W),this.subscriptions=U}})}subscribe(T,M,w){this.subscriptions.push(new u(T,M,w))}_getTask(T,M){for(const w of M)if(w.name===T.name&&a().isEqual(w.metadata,T.metadata))return w;return null}}return p.\u0275fac=function(T){return new(T||p)},p.\u0275prov=f.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})()},57924:(v,b,i)=>{"use strict";i.d(b,{p:()=>T});var r=i(23815),a=i.n(r),f=(()=>{return(M=f||(f={})).auth="Login",M.cephfs="CephFS",M.rbd="RBD",M.pool="Pool",M.osd="OSD",M.role="Role",M.user="User",f;var M})(),u=i(19358),e=i(89724);class p{constructor(w,R,U){this.running=w,this.failure=R,this.success=U}}class g{constructor(w,R,U){this.operation=w,this.involves=R,this.errors=U||(()=>({}))}failure(w){return "Failed to " + this.operation.failure + " " + this.involves(w) + ""}running(w){return`${this.operation.running} ${this.involves(w)}`}success(w){return`${this.operation.success} ${this.involves(w)}`}}let T=(()=>{class M{constructor(){this.defaultMessage=this.newTaskMessage(new p("Executing","execute","Executed"),R=>R&&(f[R.component]||R.component)||"unknown task",()=>({})),this.commonOperations={create:new p("Creating","create","Created"),update:new p("Updating","update","Updated"),delete:new p("Deleting","delete","Deleted"),add:new p("Adding","add","Added"),remove:new p("Removing","remove","Removed"),import:new p("Importing","import","Imported")},this.rbd={default:R=>"RBD '" + R.image_spec + "'",create:R=>{const U=new u.N(R.pool_name,R.namespace,R.image_name).toString();return "RBD '" + U + "'"},child:R=>{const U=new u.N(R.child_pool_name,R.child_namespace,R.child_image_name).toString();return "RBD '" + U + "'"},destination:R=>{const U=new u.N(R.dest_pool_name,R.dest_namespace,R.dest_image_name).toString();return "RBD '" + U + "'"},snapshot:R=>"RBD snapshot '" + R.image_spec + "@" + R.snapshot_name + "'"},this.rbd_mirroring={site_name:()=>"mirroring site name",bootstrap:()=>"bootstrap token",pool:R=>"mirror mode for pool '" + R.pool_name + "'",pool_peer:R=>"mirror peer for pool '" + R.pool_name + "'"},this.grafana={update_dashboards:()=>"all dashboards"},this.messages={"host/add":this.newTaskMessage(this.commonOperations.add,R=>this.host(R)),"host/remove":this.newTaskMessage(this.commonOperations.remove,R=>this.host(R)),"host/identify_device":this.newTaskMessage(new p("Identifying","identify","Identified"),R=>"device '" + R.device + "' on host '" + R.hostname + "'"),"osd/create":this.newTaskMessage(this.commonOperations.create,R=>"OSDs (DriveGroups: " + R.tracking_id + ")"),"osd/delete":this.newTaskMessage(this.commonOperations.delete,R=>this.osd(R)),"pool/create":this.newTaskMessage(this.commonOperations.create,R=>this.pool(R),R=>({17:"Name is already used by " + this.pool(R) + "."})),"pool/edit":this.newTaskMessage(this.commonOperations.update,R=>this.pool(R),R=>({17:"Name is already used by " + this.pool(R) + "."})),"pool/delete":this.newTaskMessage(this.commonOperations.delete,R=>this.pool(R)),"ecp/create":this.newTaskMessage(this.commonOperations.create,R=>this.ecp(R),R=>({17:"Name is already used by " + this.ecp(R) + "."})),"ecp/delete":this.newTaskMessage(this.commonOperations.delete,R=>this.ecp(R)),"crushRule/create":this.newTaskMessage(this.commonOperations.create,R=>this.crushRule(R),R=>({17:"Name is already used by " + this.crushRule(R) + "."})),"crushRule/delete":this.newTaskMessage(this.commonOperations.delete,R=>this.crushRule(R)),"rbd/create":this.newTaskMessage(this.commonOperations.create,this.rbd.create,R=>({17:"Name is already used by " + this.rbd.create(R) + "."})),"rbd/edit":this.newTaskMessage(this.commonOperations.update,this.rbd.default,R=>({17:"Name is already used by " + this.rbd.default(R) + "."})),"rbd/delete":this.newTaskMessage(this.commonOperations.delete,this.rbd.default,R=>({16:"" + this.rbd.default(R) + " is busy.",39:"" + this.rbd.default(R) + " contains snapshots."})),"rbd/clone":this.newTaskMessage(new p("Cloning","clone","Cloned"),this.rbd.child,R=>({17:"Name is already used by " + this.rbd.child(R) + ".",22:"Snapshot of " + this.rbd.child(R) + " must be protected."})),"rbd/copy":this.newTaskMessage(new p("Copying","copy","Copied"),this.rbd.destination,R=>({17:"Name is already used by " + this.rbd.destination(R) + "."})),"rbd/flatten":this.newTaskMessage(new p("Flattening","flatten","Flattened"),this.rbd.default),"rbd/snap/create":this.newTaskMessage(this.commonOperations.create,this.rbd.snapshot,R=>({17:"Name is already used by " + this.rbd.snapshot(R) + "."})),"rbd/snap/edit":this.newTaskMessage(this.commonOperations.update,this.rbd.snapshot,R=>({16:"Cannot unprotect " + this.rbd.snapshot(R) + " because it contains child images."})),"rbd/snap/delete":this.newTaskMessage(this.commonOperations.delete,this.rbd.snapshot,R=>({16:"Cannot delete " + this.rbd.snapshot(R) + " because it's protected."})),"rbd/snap/rollback":this.newTaskMessage(new p("Rolling back","rollback","Rolled back"),this.rbd.snapshot),"rbd/trash/move":this.newTaskMessage(new p("Moving","move","Moved"),R=>"image '" + R.image_spec + "' to trash",()=>({2:"Could not find image."})),"rbd/trash/restore":this.newTaskMessage(new p("Restoring","restore","Restored"),R=>"image '" + R.image_id_spec + "' into '" + R.new_image_name + "'",R=>({17:"Image name '" + R.new_image_name + "' is already in use."})),"rbd/trash/remove":this.newTaskMessage(new p("Deleting","delete","Deleted"),R=>"image '" + R.image_id_spec + "'"),"rbd/trash/purge":this.newTaskMessage(new p("Purging","purge","Purged"),R=>{let U="all pools";return R.pool_name&&(U=`'${R.pool_name}'`),"images from " + U + ""}),"rbd/mirroring/site_name/edit":this.newTaskMessage(this.commonOperations.update,this.rbd_mirroring.site_name,()=>({})),"rbd/mirroring/bootstrap/create":this.newTaskMessage(this.commonOperations.create,this.rbd_mirroring.bootstrap,()=>({})),"rbd/mirroring/bootstrap/import":this.newTaskMessage(this.commonOperations.import,this.rbd_mirroring.bootstrap,()=>({})),"rbd/mirroring/pool/edit":this.newTaskMessage(this.commonOperations.update,this.rbd_mirroring.pool,()=>({16:"Cannot disable mirroring because it contains a peer."})),"rbd/mirroring/peer/add":this.newTaskMessage(this.commonOperations.create,this.rbd_mirroring.pool_peer,()=>({})),"rbd/mirroring/peer/edit":this.newTaskMessage(this.commonOperations.update,this.rbd_mirroring.pool_peer,()=>({})),"rbd/mirroring/peer/delete":this.newTaskMessage(this.commonOperations.delete,this.rbd_mirroring.pool_peer,()=>({})),"iscsi/target/create":this.newTaskMessage(this.commonOperations.create,R=>this.iscsiTarget(R)),"iscsi/target/edit":this.newTaskMessage(this.commonOperations.update,R=>this.iscsiTarget(R)),"iscsi/target/delete":this.newTaskMessage(this.commonOperations.delete,R=>this.iscsiTarget(R)),"nfs/create":this.newTaskMessage(this.commonOperations.create,R=>this.nfs(R)),"nfs/edit":this.newTaskMessage(this.commonOperations.update,R=>this.nfs(R)),"nfs/delete":this.newTaskMessage(this.commonOperations.delete,R=>this.nfs(R)),"grafana/dashboards/update":this.newTaskMessage(this.commonOperations.update,this.grafana.update_dashboards,()=>({})),"service/create":this.newTaskMessage(this.commonOperations.create,R=>this.service(R)),"service/edit":this.newTaskMessage(this.commonOperations.update,R=>this.service(R)),"service/delete":this.newTaskMessage(this.commonOperations.delete,R=>this.service(R)),"crud-component/create":this.newTaskMessage(this.commonOperations.create,R=>this.crudMessage(R)),"crud-component/edit":this.newTaskMessage(this.commonOperations.update,R=>this.crudMessage(R)),"crud-component/import":this.newTaskMessage(this.commonOperations.import,R=>this.crudMessage(R)),"crud-component/id":this.newTaskMessage(this.commonOperations.delete,R=>this.crudMessageId(R))}}newTaskMessage(R,U,W){return new g(R,U,W)}host(R){return "host '" + R.hostname + "'"}osd(R){return "OSD '" + R.svc_id + "'"}pool(R){return "pool '" + R.pool_name + "'"}ecp(R){return "erasure code profile '" + R.name + "'"}crushRule(R){return "crush rule '" + R.name + "'"}iscsiTarget(R){return "target '" + R.target_iqn + "'"}nfs(R){return "NFS '" + R.cluster_id + ":" + (R.export_id ? R.export_id : R.path) + "'"}service(R){return "Service '" + R.service_name + "'"}crudMessage(R){let U=R.__message;return a().forEach(R,(W,j)=>{"__message"!=j&&(U=U.replace("{"+j+"}",W))}),"" + U + ""}crudMessageId(R){return "" + R + ""}_getTaskTitle(R){return R.name&&R.name.startsWith("progress/")?this.newTaskMessage(new p(R.name.replace("progress/",""),"",R.name.replace("progress/","")),U=>""):this.messages[R.name]||this.defaultMessage}getSuccessTitle(R){return this._getTaskTitle(R).success(R.metadata)}getErrorMessage(R){return this._getTaskTitle(R).errors(R.metadata)[R.exception.code]||R.exception.detail}getErrorTitle(R){return this._getTaskTitle(R).failure(R.metadata)}getRunningTitle(R){return this._getTaskTitle(R).running(R.metadata)}getRunningText(R){return this._getTaskTitle(R).operation.running}}return M.\u0275fac=function(R){return new(R||M)},M.\u0275prov=e.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"}),M})()},32337:(v,b,i)=>{"use strict";i.d(b,{P:()=>w});var r=i(70882),a=i(18001),f=i(61355),u=i(60737),e=i(97161),p=i(74255),g=i(71099),T=i(57924),M=i(89724);let w=(()=>{class R{constructor(W,j,q,ue){this.notificationService=W,this.summaryService=j,this.taskMessageService=q,this.taskManagerService=ue}wrapTaskAroundCall({task:W,call:j}){return new r.y(q=>{j.subscribe(ue=>{202===ue.status?this._handleExecutingTasks(W):(this.summaryService.refresh(),W.success=!0,this.notificationService.notifyTask(W))},ue=>{W.success=!1,W.exception=ue.error,q.error(ue)},()=>{q.complete()})})}_handleExecutingTasks(W){const j=new f.T(a.k.info,this.taskMessageService.getRunningTitle(W));j.isFinishedTask=!0,this.notificationService.show(j);const q=new u.o(W.name,W.metadata);this.summaryService.addRunningTask(q),this.taskManagerService.subscribe(q.name,q.metadata,ue=>{this.notificationService.notifyTask(ue)})}}return R.\u0275fac=function(W){return new(W||R)(M.LFG(e.g),M.LFG(p.J),M.LFG(T.p),M.LFG(g.k))},R.\u0275prov=M.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})()},36848:(v,b,i)=>{"use strict";i.d(b,{f:()=>U});var r=i(46797),a=i(59746),f=i(43190),u=i(47349),e=i(2817),p=i(89724),g=i(33637);class T{constructor(j){this.zone=j,this.scheduler=g.z}now(){return this.scheduler.now()}}let M=(()=>{class W extends T{constructor(q){super(q)}schedule(...q){return this.zone.runOutsideAngular(()=>this.scheduler.schedule.apply(this.scheduler,q))}}return W.\u0275fac=function(q){return new(q||W)(p.LFG(p.R0b))},W.\u0275prov=p.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})(),w=(()=>{class W extends T{constructor(q){super(q)}schedule(...q){return this.zone.run(()=>this.scheduler.schedule.apply(this.scheduler,q))}}return W.\u0275fac=function(q){return new(q||W)(p.LFG(p.R0b))},W.\u0275prov=p.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})(),R=(()=>{class W{constructor(q,ue){this.leave=q,this.enter=ue}}return W.\u0275fac=function(q){return new(q||W)(p.LFG(M),p.LFG(w))},W.\u0275prov=p.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})(),U=(()=>{class W{constructor(q){this.ngZone=q,this.DEFAULT_REFRESH_INTERVAL=5e3,this.DEFAULT_DUE_TIME=0}get(q,ue=this.DEFAULT_REFRESH_INTERVAL,re=this.DEFAULT_DUE_TIME){return(0,r.H)(re,ue,this.ngZone.leave).pipe((0,a.QV)(this.ngZone.enter),(0,f.w)(q),(0,u.d)({refCount:!0,bufferSize:1}),(0,e.r)())}}return W.\u0275fac=function(q){return new(q||W)(p.LFG(R))},W.\u0275prov=p.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})()},51847:(v,b,i)=>{"use strict";i.d(b,{F:()=>f});var r=i(11048),a=i(79512);class f{constructor(e){this.base=e}static concatURLSegments(e){return e.reduce(r.Ye.joinWithSlash)}static buildURL(e,...p){return f.concatURLSegments([...e?["/"]:[],...p])}getURL(e,p=!0,...g){return f.buildURL(p,this.base,e,...g)}getCreate(e=!0){return this.getURL(a.MQ.CREATE,e)}getCreateFrom(e,p=!0){return this.getURL(a.MQ.CREATE,p,e)}getDelete(e=!0){return this.getURL(a.MQ.DELETE,e)}getEdit(e,p=!0){return this.getURL(a.MQ.EDIT,p,e)}getUpdate(e,p=!0){return this.getURL(a.MQ.UPDATE,p,e)}getAdd(e=!0){return this.getURL(a.MQ.ADD,e)}getRemove(e=!0){return this.getURL(a.MQ.REMOVE,e)}getRecreate(e,p=!0){return this.getURL(a.MQ.RECREATE,p,e)}}},44466:(v,b,i)=>{"use strict";i.d(b,{m:()=>re});var r=i(11048),a=i(1659),f=i(90645),u=i(1851),e=i(99475),p=i(15626),g=i(40267),T=i(35540),M=i(12455),w=i(45510),R=i(47640),U=i(28211),W=i(67464),j=i(39017),q=i(39054),ue=i(89724);let re=(()=>{class H{}return H.\u0275fac=function(ae){return new(ae||H)},H.\u0275mod=ue.oAB({type:H}),H.\u0275inj=ue.cJS({providers:[R.j,w.P,U.H,e.P],imports:[[r.ez,M.D,p.K,g.t,T.o,a.UX,f.X0.forRoot({types:[{name:"array",component:W.l},{name:"object",component:j.o},{name:"input",component:q.v}],validationMessages:[{name:"required",message:"This field is required"}]}),u.z],p.K,M.D,g.t,T.o]}),H})()},92340:(v,b,i)=>{"use strict";i.d(b,{N:()=>r});const r={default_lang:"en-US",production:!0,year:"2023"}},68543:(v,b,i)=>{"use strict";var r={};i.r(r),i.d(r,{JsonPatchError:()=>df,_areEquals:()=>AE,applyOperation:()=>Gv,applyPatch:()=>Xg,applyReducer:()=>mI,deepClone:()=>hI,getValueByPointer:()=>OE,validate:()=>sw,validator:()=>rC});var a={};i.r(a),i.d(a,{compare:()=>CI,generate:()=>EA,observe:()=>TI,unobserve:()=>SI});var f={};i.r(f),i.d(f,{cookie:()=>R4,header:()=>x4,path:()=>O4,query:()=>A4});var u=i(14800),e=i(89724),p=i(11048),g=i(19725),T=i(32019);const M=!1;function R(n){return new e.vHH(3e3,M)}function ci(){return"undefined"!=typeof window&&void 0!==window.document}function hr(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Br(n){switch(n.length){case 0:return new T.ZN;case 1:return n[0];default:return new T.ZE(n)}}function Ur(n,s,t,o,l={},_={}){const C=[],x=[];let N=-1,V=null;if(o.forEach(Q=>{const oe=Q.offset,le=oe==N,me=le&&V||{};Object.keys(Q).forEach(ye=>{let $e=ye,Ne=Q[ye];if("offset"!==ye)switch($e=s.normalizePropertyName($e,C),Ne){case T.k1:Ne=l[ye];break;case T.l3:Ne=_[ye];break;default:Ne=s.normalizeStyleValue(ye,$e,Ne,C)}me[$e]=Ne}),le||x.push(me),V=me,N=oe}),C.length)throw function Qt(n){return new e.vHH(3502,M)}();return x}function Hn(n,s,t,o){switch(s){case"start":n.onStart(()=>o(t&&er(t,"start",n)));break;case"done":n.onDone(()=>o(t&&er(t,"done",n)));break;case"destroy":n.onDestroy(()=>o(t&&er(t,"destroy",n)))}}function er(n,s,t){const o=t.totalTime,_=_r(n.element,n.triggerName,n.fromState,n.toState,s||n.phaseName,null==o?n.totalTime:o,!!t.disabled),C=n._data;return null!=C&&(_._data=C),_}function _r(n,s,t,o,l="",_=0,C){return{element:n,triggerName:s,fromState:t,toState:o,phaseName:l,totalTime:_,disabled:!!C}}function ei(n,s,t){let o;return n instanceof Map?(o=n.get(s),o||n.set(s,o=t)):(o=n[s],o||(o=n[s]=t)),o}function bi(n){const s=n.indexOf(":");return[n.substring(1,s),n.substr(s+1)]}let fi=(n,s)=>!1,no=(n,s,t)=>[],xo=null;function Er(n){const s=n.parentNode||n.host;return s===xo?null:s}(hr()||"undefined"!=typeof Element)&&(ci()?(xo=(()=>document.documentElement)(),fi=(n,s)=>{for(;s;){if(s===n)return!0;s=Er(s)}return!1}):fi=(n,s)=>n.contains(s),no=(n,s,t)=>{if(t)return Array.from(n.querySelectorAll(s));const o=n.querySelector(s);return o?[o]:[]});let Zn=null,Xn=!1;function zn(n){Zn||(Zn=function ri(){return"undefined"!=typeof document?document.body:null}()||{},Xn=!!Zn.style&&"WebkitAppearance"in Zn.style);let s=!0;return Zn.style&&!function vn(n){return"ebkit"==n.substring(1,6)}(n)&&(s=n in Zn.style,!s&&Xn&&(s="Webkit"+n.charAt(0).toUpperCase()+n.substr(1)in Zn.style)),s}const Gi=fi,ui=no;let Ji=(()=>{class n{validateStyleProperty(t){return zn(t)}matchesElement(t,o){return!1}containsElement(t,o){return Gi(t,o)}getParentElement(t){return Er(t)}query(t,o,l){return ui(t,o,l)}computeStyle(t,o,l){return l||""}animate(t,o,l,_,C,x=[],N){return new T.ZN(l,_)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n})(),mn=(()=>{class n{}return n.NOOP=new Ji,n})();const Le="ng-enter",Re="ng-leave",Se="ng-trigger",dt=".ng-trigger",st="ng-animating",nn=".ng-animating";function Fe(n){if("number"==typeof n)return n;const s=n.match(/^(-?[\.\d]+)(m?s)/);return!s||s.length<2?0:Lr(parseFloat(s[1]),s[2])}function Lr(n,s){return"s"===s?1e3*n:n}function ti(n,s,t){return n.hasOwnProperty("duration")?n:function Ut(n,s,t){let l,_=0,C="";if("string"==typeof n){const x=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===x)return s.push(R()),{duration:0,delay:0,easing:""};l=Lr(parseFloat(x[1]),x[2]);const N=x[3];null!=N&&(_=Lr(parseFloat(N),x[4]));const V=x[5];V&&(C=V)}else l=n;if(!t){let x=!1,N=s.length;l<0&&(s.push(function U(){return new e.vHH(3100,M)}()),x=!0),_<0&&(s.push(function W(){return new e.vHH(3101,M)}()),x=!0),x&&s.splice(N,0,R())}return{duration:l,delay:_,easing:C}}(n,s,t)}function Dn(n,s={}){return Object.keys(n).forEach(t=>{s[t]=n[t]}),s}function $t(n,s,t={}){if(s)for(let o in n)t[o]=n[o];else Dn(n,t);return t}function _t(n,s,t){return t?s+":"+t+";":""}function yt(n){let s="";for(let t=0;t<n.style.length;t++){const o=n.style.item(t);s+=_t(0,o,n.style.getPropertyValue(o))}for(const t in n.style)n.style.hasOwnProperty(t)&&!t.startsWith("_")&&(s+=_t(0,Xo(t),n.style[t]));n.setAttribute("style",s)}function Vt(n,s,t){n.style&&(Object.keys(s).forEach(o=>{const l=ko(o);t&&!t.hasOwnProperty(o)&&(t[o]=n.style[l]),n.style[l]=s[o]}),hr()&&yt(n))}function yn(n,s){n.style&&(Object.keys(s).forEach(t=>{const o=ko(t);n.style[o]=""}),hr()&&yt(n))}function Cr(n){return Array.isArray(n)?1==n.length?n[0]:(0,T.vP)(n):n}const yi=new RegExp("{{\\s*(.+?)\\s*}}","g");function Uo(n){let s=[];if("string"==typeof n){let t;for(;t=yi.exec(n);)s.push(t[1]);yi.lastIndex=0}return s}function Qo(n,s,t){const o=n.toString(),l=o.replace(yi,(_,C)=>{let x=s[C];return s.hasOwnProperty(C)||(t.push(function q(n){return new e.vHH(3003,M)}()),x=""),x.toString()});return l==o?n:l}function lo(n){const s=[];let t=n.next();for(;!t.done;)s.push(t.value),t=n.next();return s}const Ri=/-+([a-z0-9])/g;function ko(n){return n.replace(Ri,(...s)=>s[1].toUpperCase())}function Xo(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function kn(n,s,t){switch(s.type){case 7:return n.visitTrigger(s,t);case 0:return n.visitState(s,t);case 1:return n.visitTransition(s,t);case 2:return n.visitSequence(s,t);case 3:return n.visitGroup(s,t);case 4:return n.visitAnimate(s,t);case 5:return n.visitKeyframes(s,t);case 6:return n.visitStyle(s,t);case 8:return n.visitReference(s,t);case 9:return n.visitAnimateChild(s,t);case 10:return n.visitAnimateRef(s,t);case 11:return n.visitQuery(s,t);case 12:return n.visitStagger(s,t);default:throw function ue(n){return new e.vHH(3004,M)}()}}function nr(n,s){return window.getComputedStyle(n)[s]}function Mr(n,s){const t=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(o=>function Or(n,s,t){if(":"==n[0]){const N=function cr(n,s){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,o)=>parseFloat(o)>parseFloat(t);case":decrement":return(t,o)=>parseFloat(o)<parseFloat(t);default:return s.push(function Ge(n){return new e.vHH(3016,M)}()),"* => *"}}(n,t);if("function"==typeof N)return void s.push(N);n=N}const o=n.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==o||o.length<4)return t.push(function Pe(n){return new e.vHH(3015,M)}()),s;const l=o[1],_=o[2],C=o[3];s.push($n(l,C));"<"==_[0]&&!("*"==l&&"*"==C)&&s.push($n(C,l))}(o,t,s)):t.push(n),t}const pi=new Set(["true","1"]),Sn=new Set(["false","0"]);function $n(n,s){const t=pi.has(n)||Sn.has(n),o=pi.has(s)||Sn.has(s);return(l,_)=>{let C="*"==n||n==l,x="*"==s||s==_;return!C&&t&&"boolean"==typeof l&&(C=l?pi.has(n):Sn.has(n)),!x&&o&&"boolean"==typeof _&&(x=_?pi.has(s):Sn.has(s)),C&&x}}const ro=new RegExp("s*:selfs*,?","g");function go(n,s,t,o){return new js(n).build(s,t,o)}class js{constructor(s){this._driver=s}build(s,t,o){const l=new ma(t);this._resetContextStyleTimingState(l);const _=kn(this,Cr(s),l);return l.unsupportedCSSPropertiesFound.size&&l.unsupportedCSSPropertiesFound.keys(),_}_resetContextStyleTimingState(s){s.currentQuerySelector="",s.collectedStyles={},s.collectedStyles[""]={},s.currentTime=0}visitTrigger(s,t){let o=t.queryCount=0,l=t.depCount=0;const _=[],C=[];return"@"==s.name.charAt(0)&&t.errors.push(function H(){return new e.vHH(3006,M)}()),s.definitions.forEach(x=>{if(this._resetContextStyleTimingState(t),0==x.type){const N=x,V=N.name;V.toString().split(/\s*,\s*/).forEach(Q=>{N.name=Q,_.push(this.visitState(N,t))}),N.name=V}else if(1==x.type){const N=this.visitTransition(x,t);o+=N.queryCount,l+=N.depCount,C.push(N)}else t.errors.push(function se(){return new e.vHH(3007,M)}())}),{type:7,name:s.name,states:_,transitions:C,queryCount:o,depCount:l,options:null}}visitState(s,t){const o=this.visitStyle(s.styles,t),l=s.options&&s.options.params||null;if(o.containsDynamicStyles){const _=new Set,C=l||{};o.styles.forEach(x=>{if(fa(x)){const N=x;Object.keys(N).forEach(V=>{Uo(N[V]).forEach(Q=>{C.hasOwnProperty(Q)||_.add(Q)})})}}),_.size&&(lo(_.values()),t.errors.push(function ae(n,s){return new e.vHH(3008,M)}()))}return{type:0,name:s.name,style:o,options:l?{params:l}:null}}visitTransition(s,t){t.queryCount=0,t.depCount=0;const o=kn(this,Cr(s.animation),t);return{type:1,matchers:Mr(s.expr,t.errors),animation:o,queryCount:t.queryCount,depCount:t.depCount,options:Ra(s.options)}}visitSequence(s,t){return{type:2,steps:s.steps.map(o=>kn(this,o,t)),options:Ra(s.options)}}visitGroup(s,t){const o=t.currentTime;let l=0;const _=s.steps.map(C=>{t.currentTime=o;const x=kn(this,C,t);return l=Math.max(l,t.currentTime),x});return t.currentTime=l,{type:3,steps:_,options:Ra(s.options)}}visitAnimate(s,t){const o=function sa(n,s){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n)return pl(ti(n,s).duration,0,"");const t=n;if(t.split(/\s+/).some(_=>"{"==_.charAt(0)&&"{"==_.charAt(1))){const _=pl(0,0,"");return _.dynamic=!0,_.strValue=t,_}const l=ti(t,s);return pl(l.duration,l.delay,l.easing)}(s.timings,t.errors);t.currentAnimateTimings=o;let l,_=s.styles?s.styles:(0,T.oB)({});if(5==_.type)l=this.visitKeyframes(_,t);else{let C=s.styles,x=!1;if(!C){x=!0;const V={};o.easing&&(V.easing=o.easing),C=(0,T.oB)(V)}t.currentTime+=o.duration+o.delay;const N=this.visitStyle(C,t);N.isEmptyStep=x,l=N}return t.currentAnimateTimings=null,{type:4,timings:o,style:l,options:null}}visitStyle(s,t){const o=this._makeStyleAst(s,t);return this._validateStyleAst(o,t),o}_makeStyleAst(s,t){const o=[];Array.isArray(s.styles)?s.styles.forEach(C=>{"string"==typeof C?C==T.l3?o.push(C):t.errors.push(function ie(n){return new e.vHH(3002,M)}()):o.push(C)}):o.push(s.styles);let l=!1,_=null;return o.forEach(C=>{if(fa(C)){const x=C,N=x.easing;if(N&&(_=N,delete x.easing),!l)for(let V in x)if(x[V].toString().indexOf("{{")>=0){l=!0;break}}}),{type:6,styles:o,easing:_,offset:s.offset,containsDynamicStyles:l,options:null}}_validateStyleAst(s,t){const o=t.currentAnimateTimings;let l=t.currentTime,_=t.currentTime;o&&_>0&&(_-=o.duration+o.delay),s.styles.forEach(C=>{"string"!=typeof C&&Object.keys(C).forEach(x=>{if(!this._driver.validateStyleProperty(x))return delete C[x],void t.unsupportedCSSPropertiesFound.add(x);const N=t.collectedStyles[t.currentQuerySelector],V=N[x];let Q=!0;V&&(_!=l&&_>=V.startTime&&l<=V.endTime&&(t.errors.push(function _e(n,s,t,o,l){return new e.vHH(3010,M)}()),Q=!1),_=V.startTime),Q&&(N[x]={startTime:_,endTime:l}),t.options&&function xi(n,s,t){const o=s.params||{},l=Uo(n);l.length&&l.forEach(_=>{o.hasOwnProperty(_)||t.push(function j(n){return new e.vHH(3001,M)}())})}(C[x],t.options,t.errors)})})}visitKeyframes(s,t){const o={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function Ce(){return new e.vHH(3011,M)}()),o;let _=0;const C=[];let x=!1,N=!1,V=0;const Q=s.steps.map(ke=>{const we=this._makeStyleAst(ke,t);let G=null!=we.offset?we.offset:function ya(n){if("string"==typeof n)return null;let s=null;if(Array.isArray(n))n.forEach(t=>{if(fa(t)&&t.hasOwnProperty("offset")){const o=t;s=parseFloat(o.offset),delete o.offset}});else if(fa(n)&&n.hasOwnProperty("offset")){const t=n;s=parseFloat(t.offset),delete t.offset}return s}(we.styles),Dt=0;return null!=G&&(_++,Dt=we.offset=G),N=N||Dt<0||Dt>1,x=x||Dt<V,V=Dt,C.push(Dt),we});N&&t.errors.push(function ce(){return new e.vHH(3012,M)}()),x&&t.errors.push(function Be(){return new e.vHH(3200,M)}());const oe=s.steps.length;let le=0;_>0&&_<oe?t.errors.push(function Ve(){return new e.vHH(3202,M)}()):0==_&&(le=1/(oe-1));const me=oe-1,ye=t.currentTime,$e=t.currentAnimateTimings,Ne=$e.duration;return Q.forEach((ke,we)=>{const G=le>0?we==me?1:le*we:C[we],Dt=G*Ne;t.currentTime=ye+$e.delay+Dt,$e.duration=Dt,this._validateStyleAst(ke,t),ke.offset=G,o.styles.push(ke)}),o}visitReference(s,t){return{type:8,animation:kn(this,Cr(s.animation),t),options:Ra(s.options)}}visitAnimateChild(s,t){return t.depCount++,{type:9,options:Ra(s.options)}}visitAnimateRef(s,t){return{type:10,animation:this.visitReference(s.animation,t),options:Ra(s.options)}}visitQuery(s,t){const o=t.currentQuerySelector,l=s.options||{};t.queryCount++,t.currentQuery=s;const[_,C]=function ds(n){const s=!!n.split(/\s*,\s*/).find(t=>":self"==t);return s&&(n=n.replace(ro,"")),n=n.replace(/@\*/g,dt).replace(/@\w+/g,t=>dt+"-"+t.substr(1)).replace(/:animating/g,nn),[n,s]}(s.selector);t.currentQuerySelector=o.length?o+" "+_:_,ei(t.collectedStyles,t.currentQuerySelector,{});const x=kn(this,Cr(s.animation),t);return t.currentQuery=null,t.currentQuerySelector=o,{type:11,selector:_,limit:l.limit||0,optional:!!l.optional,includeSelf:C,animation:x,originalSelector:s.selector,options:Ra(s.options)}}visitStagger(s,t){t.currentQuery||t.errors.push(function Xe(){return new e.vHH(3013,M)}());const o="full"===s.timings?{duration:0,delay:0,easing:"full"}:ti(s.timings,t.errors,!0);return{type:12,animation:kn(this,Cr(s.animation),t),timings:o,options:null}}}class ma{constructor(s){this.errors=s,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function fa(n){return!Array.isArray(n)&&"object"==typeof n}function Ra(n){return n?(n=Dn(n)).params&&(n.params=function es(n){return n?Dn(n):null}(n.params)):n={},n}function pl(n,s,t){return{duration:n,delay:s,easing:t}}function Co(n,s,t,o,l,_,C=null,x=!1){return{type:1,element:n,keyframes:s,preStyleProps:t,postStyleProps:o,duration:l,delay:_,totalTime:l+_,easing:C,subTimeline:x}}class yl{constructor(){this._map=new Map}get(s){return this._map.get(s)||[]}append(s,t){let o=this._map.get(s);o||this._map.set(s,o=[]),o.push(...t)}has(s){return this._map.has(s)}clear(){this._map.clear()}}const Wa=new RegExp(":enter","g"),nl=new RegExp(":leave","g");function Gs(n,s,t,o,l,_={},C={},x,N,V=[]){return(new $o).buildKeyframes(n,s,t,o,l,_,C,x,N,V)}class $o{buildKeyframes(s,t,o,l,_,C,x,N,V,Q=[]){V=V||new yl;const oe=new Ns(s,t,V,l,_,Q,[]);oe.options=N,oe.currentTimeline.setStyles([C],null,oe.errors,N),kn(this,o,oe);const le=oe.timelines.filter(me=>me.containsAnimation());if(Object.keys(x).length){let me;for(let ye=le.length-1;ye>=0;ye--){const $e=le[ye];if($e.element===t){me=$e;break}}me&&!me.allowOnlyTimelineStyles()&&me.setStyles([x],null,oe.errors,N)}return le.length?le.map(me=>me.buildKeyframes()):[Co(t,[],[],[],0,0,"",!1)]}visitTrigger(s,t){}visitState(s,t){}visitTransition(s,t){}visitAnimateChild(s,t){const o=t.subInstructions.get(t.element);if(o){const l=t.createSubContext(s.options),_=t.currentTimeline.currentTime,C=this._visitSubInstructions(o,l,l.options);_!=C&&t.transformIntoNewTimeline(C)}t.previousNode=s}visitAnimateRef(s,t){const o=t.createSubContext(s.options);o.transformIntoNewTimeline(),this.visitReference(s.animation,o),t.transformIntoNewTimeline(o.currentTimeline.currentTime),t.previousNode=s}_visitSubInstructions(s,t,o){let _=t.currentTimeline.currentTime;const C=null!=o.duration?Fe(o.duration):null,x=null!=o.delay?Fe(o.delay):null;return 0!==C&&s.forEach(N=>{const V=t.appendInstructionToTimeline(N,C,x);_=Math.max(_,V.duration+V.delay)}),_}visitReference(s,t){t.updateOptions(s.options,!0),kn(this,s.animation,t),t.previousNode=s}visitSequence(s,t){const o=t.subContextCount;let l=t;const _=s.options;if(_&&(_.params||_.delay)&&(l=t.createSubContext(_),l.transformIntoNewTimeline(),null!=_.delay)){6==l.previousNode.type&&(l.currentTimeline.snapshotCurrentStyles(),l.previousNode=To);const C=Fe(_.delay);l.delayNextStep(C)}s.steps.length&&(s.steps.forEach(C=>kn(this,C,l)),l.currentTimeline.applyStylesToKeyframe(),l.subContextCount>o&&l.transformIntoNewTimeline()),t.previousNode=s}visitGroup(s,t){const o=[];let l=t.currentTimeline.currentTime;const _=s.options&&s.options.delay?Fe(s.options.delay):0;s.steps.forEach(C=>{const x=t.createSubContext(s.options);_&&x.delayNextStep(_),kn(this,C,x),l=Math.max(l,x.currentTimeline.currentTime),o.push(x.currentTimeline)}),o.forEach(C=>t.currentTimeline.mergeTimelineCollectedStyles(C)),t.transformIntoNewTimeline(l),t.previousNode=s}_visitTiming(s,t){if(s.dynamic){const o=s.strValue;return ti(t.params?Qo(o,t.params,t.errors):o,t.errors)}return{duration:s.duration,delay:s.delay,easing:s.easing}}visitAnimate(s,t){const o=t.currentAnimateTimings=this._visitTiming(s.timings,t),l=t.currentTimeline;o.delay&&(t.incrementTime(o.delay),l.snapshotCurrentStyles());const _=s.style;5==_.type?this.visitKeyframes(_,t):(t.incrementTime(o.duration),this.visitStyle(_,t),l.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=s}visitStyle(s,t){const o=t.currentTimeline,l=t.currentAnimateTimings;!l&&o.getCurrentStyleProperties().length&&o.forwardFrame();const _=l&&l.easing||s.easing;s.isEmptyStep?o.applyEmptyStep(_):o.setStyles(s.styles,_,t.errors,t.options),t.previousNode=s}visitKeyframes(s,t){const o=t.currentAnimateTimings,l=t.currentTimeline.duration,_=o.duration,x=t.createSubContext().currentTimeline;x.easing=o.easing,s.styles.forEach(N=>{x.forwardTime((N.offset||0)*_),x.setStyles(N.styles,N.easing,t.errors,t.options),x.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(x),t.transformIntoNewTimeline(l+_),t.previousNode=s}visitQuery(s,t){const o=t.currentTimeline.currentTime,l=s.options||{},_=l.delay?Fe(l.delay):0;_&&(6===t.previousNode.type||0==o&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=To);let C=o;const x=t.invokeQuery(s.selector,s.originalSelector,s.limit,s.includeSelf,!!l.optional,t.errors);t.currentQueryTotal=x.length;let N=null;x.forEach((V,Q)=>{t.currentQueryIndex=Q;const oe=t.createSubContext(s.options,V);_&&oe.delayNextStep(_),V===t.element&&(N=oe.currentTimeline),kn(this,s.animation,oe),oe.currentTimeline.applyStylesToKeyframe(),C=Math.max(C,oe.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(C),N&&(t.currentTimeline.mergeTimelineCollectedStyles(N),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=s}visitStagger(s,t){const o=t.parentContext,l=t.currentTimeline,_=s.timings,C=Math.abs(_.duration),x=C*(t.currentQueryTotal-1);let N=C*t.currentQueryIndex;switch(_.duration<0?"reverse":_.easing){case"reverse":N=x-N;break;case"full":N=o.currentStaggerTime}const Q=t.currentTimeline;N&&Q.delayNextStep(N);const oe=Q.currentTime;kn(this,s.animation,t),t.previousNode=s,o.currentStaggerTime=l.currentTime-oe+(l.startTime-o.currentTimeline.startTime)}}const To={};class Ns{constructor(s,t,o,l,_,C,x,N){this._driver=s,this.element=t,this.subInstructions=o,this._enterClassName=l,this._leaveClassName=_,this.errors=C,this.timelines=x,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=To,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=N||new hs(this._driver,t,0),x.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(s,t){if(!s)return;const o=s;let l=this.options;null!=o.duration&&(l.duration=Fe(o.duration)),null!=o.delay&&(l.delay=Fe(o.delay));const _=o.params;if(_){let C=l.params;C||(C=this.options.params={}),Object.keys(_).forEach(x=>{(!t||!C.hasOwnProperty(x))&&(C[x]=Qo(_[x],C,this.errors))})}}_copyOptions(){const s={};if(this.options){const t=this.options.params;if(t){const o=s.params={};Object.keys(t).forEach(l=>{o[l]=t[l]})}}return s}createSubContext(s=null,t,o){const l=t||this.element,_=new Ns(this._driver,l,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(l,o||0));return _.previousNode=this.previousNode,_.currentAnimateTimings=this.currentAnimateTimings,_.options=this._copyOptions(),_.updateOptions(s),_.currentQueryIndex=this.currentQueryIndex,_.currentQueryTotal=this.currentQueryTotal,_.parentContext=this,this.subContextCount++,_}transformIntoNewTimeline(s){return this.previousNode=To,this.currentTimeline=this.currentTimeline.fork(this.element,s),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(s,t,o){const l={duration:null!=t?t:s.duration,delay:this.currentTimeline.currentTime+(null!=o?o:0)+s.delay,easing:""},_=new Oo(this._driver,s.element,s.keyframes,s.preStyleProps,s.postStyleProps,l,s.stretchStartingKeyframe);return this.timelines.push(_),l}incrementTime(s){this.currentTimeline.forwardTime(this.currentTimeline.duration+s)}delayNextStep(s){s>0&&this.currentTimeline.delayNextStep(s)}invokeQuery(s,t,o,l,_,C){let x=[];if(l&&x.push(this.element),s.length>0){s=(s=s.replace(Wa,"."+this._enterClassName)).replace(nl,"."+this._leaveClassName);let V=this._driver.query(this.element,s,1!=o);0!==o&&(V=o<0?V.slice(V.length+o,V.length):V.slice(0,o)),x.push(...V)}return!_&&0==x.length&&C.push(function He(n){return new e.vHH(3014,M)}()),x}}class hs{constructor(s,t,o,l){this._driver=s,this.element=t,this.startTime=o,this._elementTimelineStylesLookup=l,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(s){const t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+s),t&&this.snapshotCurrentStyles()):this.startTime+=s}fork(s,t){return this.applyStylesToKeyframe(),new hs(this._driver,s,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(s){this.applyStylesToKeyframe(),this.duration=s,this._loadKeyframe()}_updateStyle(s,t){this._localTimelineStyles[s]=t,this._globalTimelineStyles[s]=t,this._styleSummary[s]={time:this.currentTime,value:t}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(s){s&&(this._previousKeyframe.easing=s),Object.keys(this._globalTimelineStyles).forEach(t=>{this._backFill[t]=this._globalTimelineStyles[t]||T.l3,this._currentKeyframe[t]=T.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(s,t,o,l){t&&(this._previousKeyframe.easing=t);const _=l&&l.params||{},C=function Ki(n,s){const t={};let o;return n.forEach(l=>{"*"===l?(o=o||Object.keys(s),o.forEach(_=>{t[_]=T.l3})):$t(l,!1,t)}),t}(s,this._globalTimelineStyles);Object.keys(C).forEach(x=>{const N=Qo(C[x],_,o);this._pendingStyles[x]=N,this._localTimelineStyles.hasOwnProperty(x)||(this._backFill[x]=this._globalTimelineStyles.hasOwnProperty(x)?this._globalTimelineStyles[x]:T.l3),this._updateStyle(x,N)})}applyStylesToKeyframe(){const s=this._pendingStyles,t=Object.keys(s);0!=t.length&&(this._pendingStyles={},t.forEach(o=>{this._currentKeyframe[o]=s[o]}),Object.keys(this._localTimelineStyles).forEach(o=>{this._currentKeyframe.hasOwnProperty(o)||(this._currentKeyframe[o]=this._localTimelineStyles[o])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(s=>{const t=this._localTimelineStyles[s];this._pendingStyles[s]=t,this._updateStyle(s,t)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const s=[];for(let t in this._currentKeyframe)s.push(t);return s}mergeTimelineCollectedStyles(s){Object.keys(s._styleSummary).forEach(t=>{const o=this._styleSummary[t],l=s._styleSummary[t];(!o||l.time>o.time)&&this._updateStyle(t,l.value)})}buildKeyframes(){this.applyStylesToKeyframe();const s=new Set,t=new Set,o=1===this._keyframes.size&&0===this.duration;let l=[];this._keyframes.forEach((x,N)=>{const V=$t(x,!0);Object.keys(V).forEach(Q=>{const oe=V[Q];oe==T.k1?s.add(Q):oe==T.l3&&t.add(Q)}),o||(V.offset=N/this.duration),l.push(V)});const _=s.size?lo(s.values()):[],C=t.size?lo(t.values()):[];if(o){const x=l[0],N=Dn(x);x.offset=0,N.offset=1,l=[x,N]}return Co(this.element,l,_,C,this.duration,this.startTime,this.easing,!1)}}class Oo extends hs{constructor(s,t,o,l,_,C,x=!1){super(s,t,C.delay),this.keyframes=o,this.preStyleProps=l,this.postStyleProps=_,this._stretchStartingKeyframe=x,this.timings={duration:C.duration,delay:C.delay,easing:C.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let s=this.keyframes,{delay:t,duration:o,easing:l}=this.timings;if(this._stretchStartingKeyframe&&t){const _=[],C=o+t,x=t/C,N=$t(s[0],!1);N.offset=0,_.push(N);const V=$t(s[0],!1);V.offset=kr(x),_.push(V);const Q=s.length-1;for(let oe=1;oe<=Q;oe++){let le=$t(s[oe],!1);le.offset=kr((t+le.offset*o)/C),_.push(le)}o=C,t=0,l="",s=_}return Co(this.element,s,this.preStyleProps,this.postStyleProps,o,t,l,!0)}}function kr(n,s=3){const t=Math.pow(10,s-1);return Math.round(n*t)/t}class pn{}class Ue extends pn{normalizePropertyName(s,t){return ko(s)}normalizeStyleValue(s,t,o,l){let _="";const C=o.toString().trim();if(jt[t]&&0!==o&&"0"!==o)if("number"==typeof o)_="px";else{const x=o.match(/^[+-]?[\d\.]+([a-z]*)$/);x&&0==x[1].length&&l.push(function re(n,s){return new e.vHH(3005,M)}())}return C+_}}const jt=(()=>function hn(n){const s={};return n.forEach(t=>s[t]=!0),s}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function ii(n,s,t,o,l,_,C,x,N,V,Q,oe,le){return{type:0,element:n,triggerName:s,isRemovalTransition:l,fromState:t,fromStyles:_,toState:o,toStyles:C,timelines:x,queriedElements:N,preStyleProps:V,postStyleProps:Q,totalTime:oe,errors:le}}const Oi={};class ki{constructor(s,t,o){this._triggerName=s,this.ast=t,this._stateStyles=o}match(s,t,o,l){return function _s(n,s,t,o,l){return n.some(_=>_(s,t,o,l))}(this.ast.matchers,s,t,o,l)}buildStyles(s,t,o){const l=this._stateStyles["*"],_=this._stateStyles[s],C=l?l.buildStyles(t,o):{};return _?_.buildStyles(t,o):C}build(s,t,o,l,_,C,x,N,V,Q){const oe=[],le=this.ast.options&&this.ast.options.params||Oi,ye=this.buildStyles(o,x&&x.params||Oi,oe),$e=N&&N.params||Oi,Ne=this.buildStyles(l,$e,oe),ke=new Set,we=new Map,G=new Map,Dt="void"===l,bt={params:Object.assign(Object.assign({},le),$e)},Bt=Q?[]:Gs(s,t,this.ast.animation,_,C,ye,Ne,bt,V,oe);let Jt=0;if(Bt.forEach(zt=>{Jt=Math.max(zt.duration+zt.delay,Jt)}),oe.length)return ii(t,this._triggerName,o,l,Dt,ye,Ne,[],[],we,G,Jt,oe);Bt.forEach(zt=>{const xn=zt.element,Nn=ei(we,xn,{});zt.preStyleProps.forEach(Hr=>Nn[Hr]=!0);const zr=ei(G,xn,{});zt.postStyleProps.forEach(Hr=>zr[Hr]=!0),xn!==t&&ke.add(xn)});const Mn=lo(ke.values());return ii(t,this._triggerName,o,l,Dt,ye,Ne,Bt,Mn,we,G,Jt)}}class Vo{constructor(s,t,o){this.styles=s,this.defaultParams=t,this.normalizer=o}buildStyles(s,t){const o={},l=Dn(this.defaultParams);return Object.keys(s).forEach(_=>{const C=s[_];null!=C&&(l[_]=C)}),this.styles.styles.forEach(_=>{if("string"!=typeof _){const C=_;Object.keys(C).forEach(x=>{let N=C[x];N.length>1&&(N=Qo(N,l,t));const V=this.normalizer.normalizePropertyName(x,t);N=this.normalizer.normalizeStyleValue(x,V,N,t),o[V]=N})}}),o}}class Ks{constructor(s,t,o){this.name=s,this.ast=t,this._normalizer=o,this.transitionFactories=[],this.states={},t.states.forEach(l=>{this.states[l.name]=new Vo(l.style,l.options&&l.options.params||{},o)}),sl(this.states,"true","1"),sl(this.states,"false","0"),t.transitions.forEach(l=>{this.transitionFactories.push(new ki(s,l,this.states))}),this.fallbackTransition=function hl(n,s,t){return new ki(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(C,x)=>!0],options:null,queryCount:0,depCount:0},s)}(s,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(s,t,o,l){return this.transitionFactories.find(C=>C.match(s,t,o,l))||null}matchStyles(s,t,o){return this.fallbackTransition.buildStyles(s,t,o)}}function sl(n,s,t){n.hasOwnProperty(s)?n.hasOwnProperty(t)||(n[t]=n[s]):n.hasOwnProperty(t)&&(n[s]=n[t])}const Jl=new yl;class Xu{constructor(s,t,o){this.bodyNode=s,this._driver=t,this._normalizer=o,this._animations={},this._playersById={},this.players=[]}register(s,t){const o=[],_=go(this._driver,t,o,[]);if(o.length)throw function Nt(n){return new e.vHH(3503,M)}();this._animations[s]=_}_buildPlayer(s,t,o){const l=s.element,_=Ur(0,this._normalizer,0,s.keyframes,t,o);return this._driver.animate(l,_,s.duration,s.delay,s.easing,[],!0)}create(s,t,o={}){const l=[],_=this._animations[s];let C;const x=new Map;if(_?(C=Gs(this._driver,t,_,Le,Re,{},{},o,Jl,l),C.forEach(Q=>{const oe=ei(x,Q.element,{});Q.postStyleProps.forEach(le=>oe[le]=null)})):(l.push(function Yt(){return new e.vHH(3300,M)}()),C=[]),l.length)throw function dn(n){return new e.vHH(3504,M)}();x.forEach((Q,oe)=>{Object.keys(Q).forEach(le=>{Q[le]=this._driver.computeStyle(oe,le,T.l3)})});const V=Br(C.map(Q=>{const oe=x.get(Q.element);return this._buildPlayer(Q,{},oe)}));return this._playersById[s]=V,V.onDestroy(()=>this.destroy(s)),this.players.push(V),V}destroy(s){const t=this._getPlayer(s);t.destroy(),delete this._playersById[s];const o=this.players.indexOf(t);o>=0&&this.players.splice(o,1)}_getPlayer(s){const t=this._playersById[s];if(!t)throw function rn(n){return new e.vHH(3301,M)}();return t}listen(s,t,o,l){const _=_r(t,"","","");return Hn(this._getPlayer(s),o,_,l),()=>{}}command(s,t,o,l){if("register"==o)return void this.register(s,l[0]);if("create"==o)return void this.create(s,t,l[0]||{});const _=this._getPlayer(s);switch(o){case"play":_.play();break;case"pause":_.pause();break;case"reset":_.reset();break;case"restart":_.restart();break;case"finish":_.finish();break;case"init":_.init();break;case"setPosition":_.setPosition(parseFloat(l[0]));break;case"destroy":this.destroy(s)}}}const _c="ng-animate-queued",mc="ng-animate-disabled",Mc=[],ru={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ja={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ol="__ng_removed";class Bl{constructor(s,t=""){this.namespaceId=t;const o=s&&s.hasOwnProperty("value");if(this.value=function oi(n){return null!=n?n:null}(o?s.value:s),o){const _=Dn(s);delete _.value,this.options=_}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(s){const t=s.params;if(t){const o=this.options.params;Object.keys(t).forEach(l=>{null==o[l]&&(o[l]=t[l])})}}}const Ya="void",rt=new Bl(Ya);class qt{constructor(s,t,o){this.id=s,this.hostElement=t,this._engine=o,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+s,Fo(t,this._hostClassName)}listen(s,t,o,l){if(!this._triggers.hasOwnProperty(t))throw function vt(n,s){return new e.vHH(3302,M)}();if(null==o||0==o.length)throw function xt(n){return new e.vHH(3303,M)}();if(!function as(n){return"start"==n||"done"==n}(o))throw function Ct(n,s){return new e.vHH(3400,M)}();const _=ei(this._elementListeners,s,[]),C={name:t,phase:o,callback:l};_.push(C);const x=ei(this._engine.statesByElement,s,{});return x.hasOwnProperty(t)||(Fo(s,Se),Fo(s,Se+"-"+t),x[t]=rt),()=>{this._engine.afterFlush(()=>{const N=_.indexOf(C);N>=0&&_.splice(N,1),this._triggers[t]||delete x[t]})}}register(s,t){return!this._triggers[s]&&(this._triggers[s]=t,!0)}_getTrigger(s){const t=this._triggers[s];if(!t)throw function Gt(n){return new e.vHH(3401,M)}();return t}trigger(s,t,o,l=!0){const _=this._getTrigger(t),C=new Kt(this.id,t,s);let x=this._engine.statesByElement.get(s);x||(Fo(s,Se),Fo(s,Se+"-"+t),this._engine.statesByElement.set(s,x={}));let N=x[t];const V=new Bl(o,this.id);if(!(o&&o.hasOwnProperty("value"))&&N&&V.absorbOptions(N.options),x[t]=V,N||(N=rt),V.value!==Ya&&N.value===V.value){if(!function ot(n,s){const t=Object.keys(n),o=Object.keys(s);if(t.length!=o.length)return!1;for(let l=0;l<t.length;l++){const _=t[l];if(!s.hasOwnProperty(_)||n[_]!==s[_])return!1}return!0}(N.params,V.params)){const $e=[],Ne=_.matchStyles(N.value,N.params,$e),ke=_.matchStyles(V.value,V.params,$e);$e.length?this._engine.reportError($e):this._engine.afterFlush(()=>{yn(s,Ne),Vt(s,ke)})}return}const le=ei(this._engine.playersByElement,s,[]);le.forEach($e=>{$e.namespaceId==this.id&&$e.triggerName==t&&$e.queued&&$e.destroy()});let me=_.matchTransition(N.value,V.value,s,V.params),ye=!1;if(!me){if(!l)return;me=_.fallbackTransition,ye=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:s,triggerName:t,transition:me,fromState:N,toState:V,player:C,isFallbackTransition:ye}),ye||(Fo(s,_c),C.onStart(()=>{Ka(s,_c)})),C.onDone(()=>{let $e=this.players.indexOf(C);$e>=0&&this.players.splice($e,1);const Ne=this._engine.playersByElement.get(s);if(Ne){let ke=Ne.indexOf(C);ke>=0&&Ne.splice(ke,1)}}),this.players.push(C),le.push(C),C}deregister(s){delete this._triggers[s],this._engine.statesByElement.forEach((t,o)=>{delete t[s]}),this._elementListeners.forEach((t,o)=>{this._elementListeners.set(o,t.filter(l=>l.name!=s))})}clearElementCache(s){this._engine.statesByElement.delete(s),this._elementListeners.delete(s);const t=this._engine.playersByElement.get(s);t&&(t.forEach(o=>o.destroy()),this._engine.playersByElement.delete(s))}_signalRemovalForInnerTriggers(s,t){const o=this._engine.driver.query(s,dt,!0);o.forEach(l=>{if(l[Ol])return;const _=this._engine.fetchNamespacesByElement(l);_.size?_.forEach(C=>C.triggerLeaveAnimation(l,t,!1,!0)):this.clearElementCache(l)}),this._engine.afterFlushAnimationsDone(()=>o.forEach(l=>this.clearElementCache(l)))}triggerLeaveAnimation(s,t,o,l){const _=this._engine.statesByElement.get(s),C=new Map;if(_){const x=[];if(Object.keys(_).forEach(N=>{if(C.set(N,_[N].value),this._triggers[N]){const V=this.trigger(s,N,Ya,l);V&&x.push(V)}}),x.length)return this._engine.markElementAsRemoved(this.id,s,!0,t,C),o&&Br(x).onDone(()=>this._engine.processLeaveNode(s)),!0}return!1}prepareLeaveAnimationListeners(s){const t=this._elementListeners.get(s),o=this._engine.statesByElement.get(s);if(t&&o){const l=new Set;t.forEach(_=>{const C=_.name;if(l.has(C))return;l.add(C);const N=this._triggers[C].fallbackTransition,V=o[C]||rt,Q=new Bl(Ya),oe=new Kt(this.id,C,s);this._engine.totalQueuedPlayers++,this._queue.push({element:s,triggerName:C,transition:N,fromState:V,toState:Q,player:oe,isFallbackTransition:!0})})}}removeNode(s,t){const o=this._engine;if(s.childElementCount&&this._signalRemovalForInnerTriggers(s,t),this.triggerLeaveAnimation(s,t,!0))return;let l=!1;if(o.totalAnimations){const _=o.players.length?o.playersByQueriedElement.get(s):[];if(_&&_.length)l=!0;else{let C=s;for(;C=C.parentNode;)if(o.statesByElement.get(C)){l=!0;break}}}if(this.prepareLeaveAnimationListeners(s),l)o.markElementAsRemoved(this.id,s,!1,t);else{const _=s[Ol];(!_||_===ru)&&(o.afterFlush(()=>this.clearElementCache(s)),o.destroyInnerAnimations(s),o._onRemovalComplete(s,t))}}insertNode(s,t){Fo(s,this._hostClassName)}drainQueuedTransitions(s){const t=[];return this._queue.forEach(o=>{const l=o.player;if(l.destroyed)return;const _=o.element,C=this._elementListeners.get(_);C&&C.forEach(x=>{if(x.name==o.triggerName){const N=_r(_,o.triggerName,o.fromState.value,o.toState.value);N._data=s,Hn(o.player,x.phase,N,x.callback)}}),l.markedForDestroy?this._engine.afterFlush(()=>{l.destroy()}):t.push(o)}),this._queue=[],t.sort((o,l)=>{const _=o.transition.ast.depCount,C=l.transition.ast.depCount;return 0==_||0==C?_-C:this._engine.driver.containsElement(o.element,l.element)?1:-1})}destroy(s){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,s)}elementContainsData(s){let t=!1;return this._elementListeners.has(s)&&(t=!0),t=!!this._queue.find(o=>o.element===s)||t,t}}class pt{constructor(s,t,o){this.bodyNode=s,this.driver=t,this._normalizer=o,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(l,_)=>{}}_onRemovalComplete(s,t){this.onRemovalComplete(s,t)}get queuedPlayers(){const s=[];return this._namespaceList.forEach(t=>{t.players.forEach(o=>{o.queued&&s.push(o)})}),s}createNamespace(s,t){const o=new qt(s,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(o,t):(this.newHostElements.set(t,o),this.collectEnterElement(t)),this._namespaceLookup[s]=o}_balanceNamespaceList(s,t){const o=this._namespaceList,l=this.namespacesByHostElement,_=o.length-1;if(_>=0){let C=!1;if(void 0!==this.driver.getParentElement){let x=this.driver.getParentElement(t);for(;x;){const N=l.get(x);if(N){const V=o.indexOf(N);o.splice(V+1,0,s),C=!0;break}x=this.driver.getParentElement(x)}}else for(let x=_;x>=0;x--)if(this.driver.containsElement(o[x].hostElement,t)){o.splice(x+1,0,s),C=!0;break}C||o.unshift(s)}else o.push(s);return l.set(t,s),s}register(s,t){let o=this._namespaceLookup[s];return o||(o=this.createNamespace(s,t)),o}registerTrigger(s,t,o){let l=this._namespaceLookup[s];l&&l.register(t,o)&&this.totalAnimations++}destroy(s,t){if(!s)return;const o=this._fetchNamespace(s);this.afterFlush(()=>{this.namespacesByHostElement.delete(o.hostElement),delete this._namespaceLookup[s];const l=this._namespaceList.indexOf(o);l>=0&&this._namespaceList.splice(l,1)}),this.afterFlushAnimationsDone(()=>o.destroy(t))}_fetchNamespace(s){return this._namespaceLookup[s]}fetchNamespacesByElement(s){const t=new Set,o=this.statesByElement.get(s);if(o){const l=Object.keys(o);for(let _=0;_<l.length;_++){const C=o[l[_]].namespaceId;if(C){const x=this._fetchNamespace(C);x&&t.add(x)}}}return t}trigger(s,t,o,l){if(wi(t)){const _=this._fetchNamespace(s);if(_)return _.trigger(t,o,l),!0}return!1}insertNode(s,t,o,l){if(!wi(t))return;const _=t[Ol];if(_&&_.setForRemoval){_.setForRemoval=!1,_.setForMove=!0;const C=this.collectedLeaveElements.indexOf(t);C>=0&&this.collectedLeaveElements.splice(C,1)}if(s){const C=this._fetchNamespace(s);C&&C.insertNode(t,o)}l&&this.collectEnterElement(t)}collectEnterElement(s){this.collectedEnterElements.push(s)}markElementAsDisabled(s,t){t?this.disabledNodes.has(s)||(this.disabledNodes.add(s),Fo(s,mc)):this.disabledNodes.has(s)&&(this.disabledNodes.delete(s),Ka(s,mc))}removeNode(s,t,o,l){if(wi(t)){const _=s?this._fetchNamespace(s):null;if(_?_.removeNode(t,l):this.markElementAsRemoved(s,t,!1,l),o){const C=this.namespacesByHostElement.get(t);C&&C.id!==s&&C.removeNode(t,l)}}else this._onRemovalComplete(t,l)}markElementAsRemoved(s,t,o,l,_){this.collectedLeaveElements.push(t),t[Ol]={namespaceId:s,setForRemoval:l,hasAnimation:o,removedBeforeQueried:!1,previousTriggersValues:_}}listen(s,t,o,l,_){return wi(t)?this._fetchNamespace(s).listen(t,o,l,_):()=>{}}_buildInstruction(s,t,o,l,_){return s.transition.build(this.driver,s.element,s.fromState.value,s.toState.value,o,l,s.fromState.options,s.toState.options,t,_)}destroyInnerAnimations(s){let t=this.driver.query(s,dt,!0);t.forEach(o=>this.destroyActiveAnimationsForElement(o)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(s,nn,!0),t.forEach(o=>this.finishActiveQueriedAnimationOnElement(o)))}destroyActiveAnimationsForElement(s){const t=this.playersByElement.get(s);t&&t.forEach(o=>{o.queued?o.markedForDestroy=!0:o.destroy()})}finishActiveQueriedAnimationOnElement(s){const t=this.playersByQueriedElement.get(s);t&&t.forEach(o=>o.finish())}whenRenderingDone(){return new Promise(s=>{if(this.players.length)return Br(this.players).onDone(()=>s());s()})}processLeaveNode(s){var t;const o=s[Ol];if(o&&o.setForRemoval){if(s[Ol]=ru,o.namespaceId){this.destroyInnerAnimations(s);const l=this._fetchNamespace(o.namespaceId);l&&l.clearElementCache(s)}this._onRemovalComplete(s,o.setForRemoval)}(null===(t=s.classList)||void 0===t?void 0:t.contains(mc))&&this.markElementAsDisabled(s,!1),this.driver.query(s,".ng-animate-disabled",!0).forEach(l=>{this.markElementAsDisabled(l,!1)})}flush(s=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((o,l)=>this._balanceNamespaceList(o,l)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let o=0;o<this.collectedEnterElements.length;o++)Fo(this.collectedEnterElements[o],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const o=[];try{t=this._flushAnimations(o,s)}finally{for(let l=0;l<o.length;l++)o[l]()}}else for(let o=0;o<this.collectedLeaveElements.length;o++)this.processLeaveNode(this.collectedLeaveElements[o]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(o=>o()),this._flushFns=[],this._whenQuietFns.length){const o=this._whenQuietFns;this._whenQuietFns=[],t.length?Br(t).onDone(()=>{o.forEach(l=>l())}):o.forEach(l=>l())}}reportError(s){throw function Fn(n){return new e.vHH(3402,M)}()}_flushAnimations(s,t){const o=new yl,l=[],_=new Map,C=[],x=new Map,N=new Map,V=new Map,Q=new Set;this.disabledNodes.forEach(On=>{Q.add(On);const Jn=this.driver.query(On,".ng-animate-queued",!0);for(let Qn=0;Qn<Jn.length;Qn++)Q.add(Jn[Qn])});const oe=this.bodyNode,le=Array.from(this.statesByElement.keys()),me=ws(le,this.collectedEnterElements),ye=new Map;let $e=0;me.forEach((On,Jn)=>{const Qn=Le+$e++;ye.set(Jn,Qn),On.forEach(ur=>Fo(ur,Qn))});const Ne=[],ke=new Set,we=new Set;for(let On=0;On<this.collectedLeaveElements.length;On++){const Jn=this.collectedLeaveElements[On],Qn=Jn[Ol];Qn&&Qn.setForRemoval&&(Ne.push(Jn),ke.add(Jn),Qn.hasAnimation?this.driver.query(Jn,".ng-star-inserted",!0).forEach(ur=>ke.add(ur)):we.add(Jn))}const G=new Map,Dt=ws(le,Array.from(ke));Dt.forEach((On,Jn)=>{const Qn=Re+$e++;G.set(Jn,Qn),On.forEach(ur=>Fo(ur,Qn))}),s.push(()=>{me.forEach((On,Jn)=>{const Qn=ye.get(Jn);On.forEach(ur=>Ka(ur,Qn))}),Dt.forEach((On,Jn)=>{const Qn=G.get(Jn);On.forEach(ur=>Ka(ur,Qn))}),Ne.forEach(On=>{this.processLeaveNode(On)})});const bt=[],Bt=[];for(let On=this._namespaceList.length-1;On>=0;On--)this._namespaceList[On].drainQueuedTransitions(t).forEach(Qn=>{const ur=Qn.player,In=Qn.element;if(bt.push(ur),this.collectedEnterElements.length){const bn=In[Ol];if(bn&&bn.setForMove){if(bn.previousTriggersValues&&bn.previousTriggersValues.has(Qn.triggerName)){const Xr=bn.previousTriggersValues.get(Qn.triggerName),Ni=this.statesByElement.get(Qn.element);Ni&&Ni[Qn.triggerName]&&(Ni[Qn.triggerName].value=Xr)}return void ur.destroy()}}const Yr=!oe||!this.driver.containsElement(oe,In),Qi=G.get(In),Di=ye.get(In),ji=this._buildInstruction(Qn,o,Di,Qi,Yr);if(ji.errors&&ji.errors.length)return void Bt.push(ji);if(Yr)return ur.onStart(()=>yn(In,ji.fromStyles)),ur.onDestroy(()=>Vt(In,ji.toStyles)),void l.push(ur);if(Qn.isFallbackTransition)return ur.onStart(()=>yn(In,ji.fromStyles)),ur.onDestroy(()=>Vt(In,ji.toStyles)),void l.push(ur);const Wr=[];ji.timelines.forEach(bn=>{bn.stretchStartingKeyframe=!0,this.disabledNodes.has(bn.element)||Wr.push(bn)}),ji.timelines=Wr,o.append(In,ji.timelines),C.push({instruction:ji,player:ur,element:In}),ji.queriedElements.forEach(bn=>ei(x,bn,[]).push(ur)),ji.preStyleProps.forEach((bn,Xr)=>{const Ni=Object.keys(bn);if(Ni.length){let Xi=N.get(Xr);Xi||N.set(Xr,Xi=new Set),Ni.forEach(Bo=>Xi.add(Bo))}}),ji.postStyleProps.forEach((bn,Xr)=>{const Ni=Object.keys(bn);let Xi=V.get(Xr);Xi||V.set(Xr,Xi=new Set),Ni.forEach(Bo=>Xi.add(Bo))})});if(Bt.length){const On=[];Bt.forEach(Jn=>{On.push(function mi(n,s){return new e.vHH(3505,M)}())}),bt.forEach(Jn=>Jn.destroy()),this.reportError(On)}const Jt=new Map,Mn=new Map;C.forEach(On=>{const Jn=On.element;o.has(Jn)&&(Mn.set(Jn,Jn),this._beforeAnimationBuild(On.player.namespaceId,On.instruction,Jt))}),l.forEach(On=>{const Jn=On.element;this._getPreviousPlayers(Jn,!1,On.namespaceId,On.triggerName,null).forEach(ur=>{ei(Jt,Jn,[]).push(ur),ur.destroy()})});const zt=Ne.filter(On=>je(On,N,V)),xn=new Map;Os(xn,this.driver,we,V,T.l3).forEach(On=>{je(On,N,V)&&zt.push(On)});const zr=new Map;me.forEach((On,Jn)=>{Os(zr,this.driver,new Set(On),N,T.k1)}),zt.forEach(On=>{const Jn=xn.get(On),Qn=zr.get(On);xn.set(On,Object.assign(Object.assign({},Jn),Qn))});const Hr=[],Vr=[],qr={};C.forEach(On=>{const{element:Jn,player:Qn,instruction:ur}=On;if(o.has(Jn)){if(Q.has(Jn))return Qn.onDestroy(()=>Vt(Jn,ur.toStyles)),Qn.disabled=!0,Qn.overrideTotalTime(ur.totalTime),void l.push(Qn);let In=qr;if(Mn.size>1){let Qi=Jn;const Di=[];for(;Qi=Qi.parentNode;){const ji=Mn.get(Qi);if(ji){In=ji;break}Di.push(Qi)}Di.forEach(ji=>Mn.set(ji,In))}const Yr=this._buildAnimation(Qn.namespaceId,ur,Jt,_,zr,xn);if(Qn.setRealPlayer(Yr),In===qr)Hr.push(Qn);else{const Qi=this.playersByElement.get(In);Qi&&Qi.length&&(Qn.parentPlayer=Br(Qi)),l.push(Qn)}}else yn(Jn,ur.fromStyles),Qn.onDestroy(()=>Vt(Jn,ur.toStyles)),Vr.push(Qn),Q.has(Jn)&&l.push(Qn)}),Vr.forEach(On=>{const Jn=_.get(On.element);if(Jn&&Jn.length){const Qn=Br(Jn);On.setRealPlayer(Qn)}}),l.forEach(On=>{On.parentPlayer?On.syncPlayerEvents(On.parentPlayer):On.destroy()});for(let On=0;On<Ne.length;On++){const Jn=Ne[On],Qn=Jn[Ol];if(Ka(Jn,Re),Qn&&Qn.hasAnimation)continue;let ur=[];if(x.size){let Yr=x.get(Jn);Yr&&Yr.length&&ur.push(...Yr);let Qi=this.driver.query(Jn,nn,!0);for(let Di=0;Di<Qi.length;Di++){let ji=x.get(Qi[Di]);ji&&ji.length&&ur.push(...ji)}}const In=ur.filter(Yr=>!Yr.destroyed);In.length?al(this,Jn,In):this.processLeaveNode(Jn)}return Ne.length=0,Hr.forEach(On=>{this.players.push(On),On.onDone(()=>{On.destroy();const Jn=this.players.indexOf(On);this.players.splice(Jn,1)}),On.play()}),Hr}elementContainsData(s,t){let o=!1;const l=t[Ol];return l&&l.setForRemoval&&(o=!0),this.playersByElement.has(t)&&(o=!0),this.playersByQueriedElement.has(t)&&(o=!0),this.statesByElement.has(t)&&(o=!0),this._fetchNamespace(s).elementContainsData(t)||o}afterFlush(s){this._flushFns.push(s)}afterFlushAnimationsDone(s){this._whenQuietFns.push(s)}_getPreviousPlayers(s,t,o,l,_){let C=[];if(t){const x=this.playersByQueriedElement.get(s);x&&(C=x)}else{const x=this.playersByElement.get(s);if(x){const N=!_||_==Ya;x.forEach(V=>{V.queued||!N&&V.triggerName!=l||C.push(V)})}}return(o||l)&&(C=C.filter(x=>!(o&&o!=x.namespaceId||l&&l!=x.triggerName))),C}_beforeAnimationBuild(s,t,o){const _=t.element,C=t.isRemovalTransition?void 0:s,x=t.isRemovalTransition?void 0:t.triggerName;for(const N of t.timelines){const V=N.element,Q=V!==_,oe=ei(o,V,[]);this._getPreviousPlayers(V,Q,C,x,t.toState).forEach(me=>{const ye=me.getRealPlayer();ye.beforeDestroy&&ye.beforeDestroy(),me.destroy(),oe.push(me)})}yn(_,t.fromStyles)}_buildAnimation(s,t,o,l,_,C){const x=t.triggerName,N=t.element,V=[],Q=new Set,oe=new Set,le=t.timelines.map(ye=>{const $e=ye.element;Q.add($e);const Ne=$e[Ol];if(Ne&&Ne.removedBeforeQueried)return new T.ZN(ye.duration,ye.delay);const ke=$e!==N,we=function Bs(n){const s=[];return mt(n,s),s}((o.get($e)||Mc).map(Jt=>Jt.getRealPlayer())).filter(Jt=>!!Jt.element&&Jt.element===$e),G=_.get($e),Dt=C.get($e),bt=Ur(0,this._normalizer,0,ye.keyframes,G,Dt),Bt=this._buildPlayer(ye,bt,we);if(ye.subTimeline&&l&&oe.add($e),ke){const Jt=new Kt(s,x,$e);Jt.setRealPlayer(Bt),V.push(Jt)}return Bt});V.forEach(ye=>{ei(this.playersByQueriedElement,ye.element,[]).push(ye),ye.onDone(()=>function Kn(n,s,t){let o;if(n instanceof Map){if(o=n.get(s),o){if(o.length){const l=o.indexOf(t);o.splice(l,1)}0==o.length&&n.delete(s)}}else if(o=n[s],o){if(o.length){const l=o.indexOf(t);o.splice(l,1)}0==o.length&&delete n[s]}return o}(this.playersByQueriedElement,ye.element,ye))}),Q.forEach(ye=>Fo(ye,st));const me=Br(le);return me.onDestroy(()=>{Q.forEach(ye=>Ka(ye,st)),Vt(N,t.toStyles)}),oe.forEach(ye=>{ei(l,ye,[]).push(me)}),me}_buildPlayer(s,t,o){return t.length>0?this.driver.animate(s.element,t,s.duration,s.delay,s.easing,o):new T.ZN(s.duration,s.delay)}}class Kt{constructor(s,t,o){this.namespaceId=s,this.triggerName=t,this.element=o,this._player=new T.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(s){this._containsRealPlayer||(this._player=s,Object.keys(this._queuedCallbacks).forEach(t=>{this._queuedCallbacks[t].forEach(o=>Hn(s,t,void 0,o))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(s.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(s){this.totalTime=s}syncPlayerEvents(s){const t=this._player;t.triggerCallback&&s.onStart(()=>t.triggerCallback("start")),s.onDone(()=>this.finish()),s.onDestroy(()=>this.destroy())}_queueEvent(s,t){ei(this._queuedCallbacks,s,[]).push(t)}onDone(s){this.queued&&this._queueEvent("done",s),this._player.onDone(s)}onStart(s){this.queued&&this._queueEvent("start",s),this._player.onStart(s)}onDestroy(s){this.queued&&this._queueEvent("destroy",s),this._player.onDestroy(s)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(s){this.queued||this._player.setPosition(s)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(s){const t=this._player;t.triggerCallback&&t.triggerCallback(s)}}function wi(n){return n&&1===n.nodeType}function Vs(n,s){const t=n.style.display;return n.style.display=null!=s?s:"none",t}function Os(n,s,t,o,l){const _=[];t.forEach(N=>_.push(Vs(N)));const C=[];o.forEach((N,V)=>{const Q={};N.forEach(oe=>{const le=Q[oe]=s.computeStyle(V,oe,l);(!le||0==le.length)&&(V[Ol]=Ja,C.push(V))}),n.set(V,Q)});let x=0;return t.forEach(N=>Vs(N,_[x++])),C}function ws(n,s){const t=new Map;if(n.forEach(x=>t.set(x,[])),0==s.length)return t;const l=new Set(s),_=new Map;function C(x){if(!x)return 1;let N=_.get(x);if(N)return N;const V=x.parentNode;return N=t.has(V)?V:l.has(V)?1:C(V),_.set(x,N),N}return s.forEach(x=>{const N=C(x);1!==N&&t.get(N).push(x)}),t}function Fo(n,s){var t;null===(t=n.classList)||void 0===t||t.add(s)}function Ka(n,s){var t;null===(t=n.classList)||void 0===t||t.remove(s)}function al(n,s,t){Br(t).onDone(()=>n.processLeaveNode(s))}function mt(n,s){for(let t=0;t<n.length;t++){const o=n[t];o instanceof T.ZE?mt(o.players,s):s.push(o)}}function je(n,s,t){const o=t.get(n);if(!o)return!1;let l=s.get(n);return l?o.forEach(_=>l.add(_)):s.set(n,o),t.delete(n),!0}class Xt{constructor(s,t,o){this.bodyNode=s,this._driver=t,this._normalizer=o,this._triggerCache={},this.onRemovalComplete=(l,_)=>{},this._transitionEngine=new pt(s,t,o),this._timelineEngine=new Xu(s,t,o),this._transitionEngine.onRemovalComplete=(l,_)=>this.onRemovalComplete(l,_)}registerTrigger(s,t,o,l,_){const C=s+"-"+l;let x=this._triggerCache[C];if(!x){const N=[],Q=go(this._driver,_,N,[]);if(N.length)throw function We(n,s){return new e.vHH(3404,M)}();x=function Fs(n,s,t){return new Ks(n,s,t)}(l,Q,this._normalizer),this._triggerCache[C]=x}this._transitionEngine.registerTrigger(t,l,x)}register(s,t){this._transitionEngine.register(s,t)}destroy(s,t){this._transitionEngine.destroy(s,t)}onInsert(s,t,o,l){this._transitionEngine.insertNode(s,t,o,l)}onRemove(s,t,o,l){this._transitionEngine.removeNode(s,t,l||!1,o)}disableAnimations(s,t){this._transitionEngine.markElementAsDisabled(s,t)}process(s,t,o,l){if("@"==o.charAt(0)){const[_,C]=bi(o);this._timelineEngine.command(_,t,C,l)}else this._transitionEngine.trigger(s,t,o,l)}listen(s,t,o,l,_){if("@"==o.charAt(0)){const[C,x]=bi(o);return this._timelineEngine.listen(C,t,x,_)}return this._transitionEngine.listen(s,t,o,l,_)}flush(s=-1){this._transitionEngine.flush(s)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Jo=(()=>{class n{constructor(t,o,l){this._element=t,this._startStyles=o,this._endStyles=l,this._state=0;let _=n.initialStylesByElement.get(t);_||n.initialStylesByElement.set(t,_={}),this._initialStyles=_}start(){this._state<1&&(this._startStyles&&Vt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Vt(this._element,this._initialStyles),this._endStyles&&(Vt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(yn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(yn(this._element,this._endStyles),this._endStyles=null),Vt(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function ja(n){let s=null;const t=Object.keys(n);for(let o=0;o<t.length;o++){const l=t[o];El(l)&&(s=s||{},s[l]=n[l])}return s}function El(n){return"display"===n||"position"===n}class qu{constructor(s,t,o,l){this.element=s,this.keyframes=t,this.options=o,this._specialStyles=l,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=o.duration,this._delay=o.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(s=>s()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const s=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,s,this.options),this._finalKeyframe=s.length?s[s.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(s,t,o){return s.animate(t,o)}onStart(s){this._onStartFns.push(s)}onDone(s){this._onDoneFns.push(s)}onDestroy(s){this._onDestroyFns.push(s)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(s=>s()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(s=>s()),this._onDestroyFns=[])}setPosition(s){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=s*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const s={};if(this.hasStarted()){const t=this._finalKeyframe;Object.keys(t).forEach(o=>{"offset"!=o&&(s[o]=this._finished?t[o]:nr(this.element,o))})}this.currentSnapshot=s}triggerCallback(s){const t="start"==s?this._onStartFns:this._onDoneFns;t.forEach(o=>o()),t.length=0}}class Nc{validateStyleProperty(s){return zn(s)}matchesElement(s,t){return!1}containsElement(s,t){return Gi(s,t)}getParentElement(s){return Er(s)}query(s,t,o){return ui(s,t,o)}computeStyle(s,t,o){return window.getComputedStyle(s)[t]}animate(s,t,o,l,_,C=[]){const N={duration:o,delay:l,fill:0==l?"both":"forwards"};_&&(N.easing=_);const V={},Q=C.filter(le=>le instanceof qu);(function ir(n,s){return 0===n||0===s})(o,l)&&Q.forEach(le=>{let me=le.currentSnapshot;Object.keys(me).forEach(ye=>V[ye]=me[ye])}),t=function si(n,s,t){const o=Object.keys(t);if(o.length&&s.length){let _=s[0],C=[];if(o.forEach(x=>{_.hasOwnProperty(x)||C.push(x),_[x]=t[x]}),C.length)for(var l=1;l<s.length;l++){let x=s[l];C.forEach(function(N){x[N]=nr(n,N)})}}return s}(s,t=t.map(le=>$t(le,!1)),V);const oe=function Si(n,s){let t=null,o=null;return Array.isArray(s)&&s.length?(t=ja(s[0]),s.length>1&&(o=ja(s[s.length-1]))):s&&(t=ja(s)),t||o?new Jo(n,t,o):null}(s,t);return new qu(s,t,N,oe)}}let hd=(()=>{class n extends T._j{constructor(t,o){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(o.body,{id:"0",encapsulation:e.ifc.None,styles:[],data:{animation:[]}})}build(t){const o=this._nextAnimationId.toString();this._nextAnimationId++;const l=Array.isArray(t)?(0,T.vP)(t):t;return Fa(this._renderer,null,o,"register",[l]),new Yi(o,this._renderer)}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(e.FYo),e.LFG(p.K0))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n})();class Yi extends T.LC{constructor(s,t){super(),this._id=s,this._renderer=t}create(s,t){return new aa(this._id,s,t||{},this._renderer)}}class aa{constructor(s,t,o,l){this.id=s,this.element=t,this._renderer=l,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",o)}_listen(s,t){return this._renderer.listen(this.element,`@@${this.id}:${s}`,t)}_command(s,...t){return Fa(this._renderer,this.element,this.id,s,t)}onDone(s){this._listen("done",s)}onStart(s){this._listen("start",s)}onDestroy(s){this._listen("destroy",s)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(s){this._command("setPosition",s)}getPosition(){var s,t;return null!==(t=null===(s=this._renderer.engine.players[+this.id])||void 0===s?void 0:s.getPosition())&&void 0!==t?t:0}}function Fa(n,s,t,o,l){return n.setProperty(s,`@@${t}:${o}`,l)}const ec="@.disabled";let Sl=(()=>{class n{constructor(t,o,l){this.delegate=t,this.engine=o,this._zone=l,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),o.onRemovalComplete=(_,C)=>{const x=null==C?void 0:C.parentNode(_);x&&C.removeChild(x,_)}}createRenderer(t,o){const _=this.delegate.createRenderer(t,o);if(!(t&&o&&o.data&&o.data.animation)){let Q=this._rendererCache.get(_);return Q||(Q=new lu("",_,this.engine),this._rendererCache.set(_,Q)),Q}const C=o.id,x=o.id+"-"+this._currentId;this._currentId++,this.engine.register(x,t);const N=Q=>{Array.isArray(Q)?Q.forEach(N):this.engine.registerTrigger(C,x,t,Q.name,Q)};return o.data.animation.forEach(N),new Eu(this,x,_,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,o,l){t>=0&&t<this._microtaskId?this._zone.run(()=>o(l)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(_=>{const[C,x]=_;C(x)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([o,l]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(e.FYo),e.LFG(Xt),e.LFG(e.R0b))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n})();class lu{constructor(s,t,o){this.namespaceId=s,this.delegate=t,this.engine=o,this.destroyNode=this.delegate.destroyNode?l=>t.destroyNode(l):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(s,t){return this.delegate.createElement(s,t)}createComment(s){return this.delegate.createComment(s)}createText(s){return this.delegate.createText(s)}appendChild(s,t){this.delegate.appendChild(s,t),this.engine.onInsert(this.namespaceId,t,s,!1)}insertBefore(s,t,o,l=!0){this.delegate.insertBefore(s,t,o),this.engine.onInsert(this.namespaceId,t,s,l)}removeChild(s,t,o){this.engine.onRemove(this.namespaceId,t,this.delegate,o)}selectRootElement(s,t){return this.delegate.selectRootElement(s,t)}parentNode(s){return this.delegate.parentNode(s)}nextSibling(s){return this.delegate.nextSibling(s)}setAttribute(s,t,o,l){this.delegate.setAttribute(s,t,o,l)}removeAttribute(s,t,o){this.delegate.removeAttribute(s,t,o)}addClass(s,t){this.delegate.addClass(s,t)}removeClass(s,t){this.delegate.removeClass(s,t)}setStyle(s,t,o,l){this.delegate.setStyle(s,t,o,l)}removeStyle(s,t,o){this.delegate.removeStyle(s,t,o)}setProperty(s,t,o){"@"==t.charAt(0)&&t==ec?this.disableAnimations(s,!!o):this.delegate.setProperty(s,t,o)}setValue(s,t){this.delegate.setValue(s,t)}listen(s,t,o){return this.delegate.listen(s,t,o)}disableAnimations(s,t){this.engine.disableAnimations(s,t)}}class Eu extends lu{constructor(s,t,o,l){super(t,o,l),this.factory=s,this.namespaceId=t}setProperty(s,t,o){"@"==t.charAt(0)?"."==t.charAt(1)&&t==ec?this.disableAnimations(s,o=void 0===o||!!o):this.engine.process(this.namespaceId,s,t.substr(1),o):this.delegate.setProperty(s,t,o)}listen(s,t,o){if("@"==t.charAt(0)){const l=function iu(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(s);let _=t.substr(1),C="";return"@"!=_.charAt(0)&&([_,C]=function ra(n){const s=n.indexOf(".");return[n.substring(0,s),n.substr(s+1)]}(_)),this.engine.listen(this.namespaceId,l,_,C,x=>{this.factory.scheduleListenerCallback(x._data||-1,o,x)})}return this.delegate.listen(s,t,o)}}let bu=(()=>{class n extends Xt{constructor(t,o,l){super(t.body,o,l)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(p.K0),e.LFG(mn),e.LFG(pn))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n})();const uu=new e.OlP("AnimationModuleType"),du=[{provide:T._j,useClass:hd},{provide:pn,useFactory:function td(){return new Ue}},{provide:Xt,useClass:bu},{provide:e.FYo,useFactory:function tc(n,s,t){return new Sl(n,s,t)},deps:[u.se,Xt,e.R0b]}],nd=[{provide:mn,useFactory:()=>new Nc},{provide:uu,useValue:"BrowserAnimations"},...du],Uu=[{provide:mn,useClass:Ji},{provide:uu,useValue:"NoopAnimations"},...du];let Yu=(()=>{class n{static withConfig(t){return{ngModule:n,providers:t.disableAnimations?Uu:nd}}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:nd,imports:[u.b2]}),n})();var Ld=i(92870),Io=i(55860),fu=i(23815),Sr=i.n(fu),Z=i(64762),De=i(93523);let ct=class{constructor(s){this.http=s,this.baseURL="api/cephfs",this.baseUiURL="ui-api/cephfs"}list(){return this.http.get(`${this.baseURL}`)}lsDir(s,t){let o=`${this.baseUiURL}/${s}/ls_dir?depth=2`;return t&&(o+=`&path=${encodeURIComponent(t)}`),this.http.get(o)}getCephfs(s){return this.http.get(`${this.baseURL}/${s}`)}getTabs(s){return this.http.get(`ui-api/cephfs/${s}/tabs`)}getClients(s){return this.http.get(`${this.baseURL}/${s}/clients`)}evictClient(s,t){return this.http.delete(`${this.baseURL}/${s}/client/${t}`)}getMdsCounters(s){return this.http.get(`${this.baseURL}/${s}/mds_counters`)}mkSnapshot(s,t,o){let l=new g.LE;return l=l.append("path",t),Sr().isUndefined(o)||(l=l.append("name",o)),this.http.post(`${this.baseURL}/${s}/snapshot`,null,{params:l})}rmSnapshot(s,t,o){let l=new g.LE;return l=l.append("path",t),l=l.append("name",o),this.http.delete(`${this.baseURL}/${s}/snapshot`,{params:l})}quota(s,t,o){let l=new g.LE;return l=l.append("path",t),this.http.put(`${this.baseURL}/${s}/quota`,o,{observe:"response",params:l})}};ct.\u0275fac=function(s){return new(s||ct)(e.LFG(g.eN))},ct.\u0275prov=e.Yz7({token:ct,factory:ct.\u0275fac,providedIn:"root"}),ct=(0,Z.gn)([De.o,(0,Z.w6)("design:paramtypes",[g.eN])],ct);var It=i(68136),Ht=i(99466),_n=i(68774),Pn=i(96102),Tr=i(83697),ai=i(46797),Ei=i(69158),Ci=i(91801),Vi=i(47640),Pr=i(71334),Yn=i(59376),Rr=i(47557),br=i(66369),fo=i(61350),$s=i(16738),ls=i.n($s),_l=i(87311),Us=i(72621);const Zc=["chartCanvas"],Ic=["chartTooltip"];let Pu=(()=>{class n{constructor(){this.lhsCounter="mds_mem.ino",this.rhsCounter="mds_server.handle_client_request",this.chart={datasets:[{label:this.lhsCounter,yAxisID:"LHS",data:[],lineTension:.1},{label:this.rhsCounter,yAxisID:"RHS",data:[],lineTension:.1}],options:{title:{text:"",display:!0},responsive:!0,maintainAspectRatio:!1,legend:{position:"top"},scales:{xAxes:[{position:"top",type:"time",time:{displayFormats:{quarter:"MMM YYYY"}},ticks:{maxRotation:0}}],yAxes:[{id:"LHS",type:"linear",position:"left"},{id:"RHS",type:"linear",position:"right"}]},tooltips:{enabled:!1,mode:"index",intersect:!1,position:"nearest",callbacks:{title:(t,o)=>{let l=0;if(t.length>0){const _=t[0];l=o.datasets[_.datasetIndex].data[_.index].x}return l.toString()}}}},chartType:"line"}}ngOnInit(){Sr().isUndefined(this.mdsCounter)||(this.setChartTooltip(),this.updateChart())}ngOnChanges(){Sr().isUndefined(this.mdsCounter)||this.updateChart()}setChartTooltip(){const t=new _l.h(this.chartCanvas,this.chartTooltip,l=>l.caretX+"px",l=>l.caretY-l.height-23+"px");t.getTitle=l=>ls()(l,"x").format("LTS"),t.checkOffset=!0;const o={title:{text:this.mdsCounter.name},tooltips:{custom:l=>t.customTooltips(l)}};Sr().merge(this.chart,{options:o})}updateChart(){const t=[{data:this.convertTimeSeries(this.mdsCounter[this.lhsCounter])},{data:this.deltaTimeSeries(this.mdsCounter[this.rhsCounter])}];Sr().merge(this.chart,{datasets:t}),this.chart.datasets=[...this.chart.datasets]}convertTimeSeries(t){const o=[];return Sr().each(t,l=>{o.push({x:1e3*l[0],y:l[1]})}),o.shift(),o}deltaTimeSeries(t){let o,l=t[0];const _=[];for(o=1;o<t.length;o++){const C=t[o];_.push({x:1e3*C[0],y:C[1]-l[1]}),l=C}return _}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-cephfs-chart"]],viewQuery:function(t,o){if(1&t&&(e.Gf(Zc,7),e.Gf(Ic,7)),2&t){let l;e.iGM(l=e.CRH())&&(o.chartCanvas=l.first),e.iGM(l=e.CRH())&&(o.chartTooltip=l.first)}},inputs:{mdsCounter:"mdsCounter"},features:[e.TTD],decls:6,vars:3,consts:[[1,"chart-container"],["baseChart","",3,"datasets","options","chartType"],["chartCanvas",""],[1,"chartjs-tooltip"],["chartTooltip",""]],template:function(t,o){1&t&&(e.TgZ(0,"div",0),e._UZ(1,"canvas",1,2),e.TgZ(3,"div",3,4),e._UZ(5,"table"),e.qZA()()),2&t&&(e.xp6(1),e.Q6J("datasets",o.chart.datasets)("options",o.chart.options)("chartType",o.chart.chartType))},directives:[Us.jh],styles:['.chart-container[_ngcontent-%COMP%]{cursor:pointer;margin:auto;overflow:visible;position:absolute}canvas[_ngcontent-%COMP%]{user-select:none}.chartjs-tooltip[_ngcontent-%COMP%]{background:rgba(0,0,0,.7);border-radius:3px;color:#fff;font-family:Helvetica Neue,Helvetica,Arial,sans-serif!important;opacity:0;pointer-events:none;position:absolute;transform:translate(-50%);transition:all .1s ease}.chartjs-tooltip.transform-left[_ngcontent-%COMP%]{transform:translate(-10%)}.chartjs-tooltip.transform-left[_ngcontent-%COMP%]:after{left:10%}.chartjs-tooltip.transform-right[_ngcontent-%COMP%]{transform:translate(-90%)}.chartjs-tooltip.transform-right[_ngcontent-%COMP%]:after{left:90%}.chartjs-tooltip[_ngcontent-%COMP%]:after{border-color:#000 transparent transparent transparent;border-style:solid;border-width:5px;content:" ";left:50%;margin-left:-5px;position:absolute;top:100%}  .chartjs-tooltip-key{display:inline-block;height:10px;margin-right:10px;width:10px}.chart-container[_ngcontent-%COMP%]{height:500px;margin-bottom:20px;position:relative;width:100%}']}),n})();var Su=i(60251);const Zd=["poolUsageTpl"],_d=["activityTmpl"];function md(n,s){if(1&n&&(e.TgZ(0,"div",0)(1,"div",11),e._UZ(2,"cd-cephfs-chart",12),e.qZA()()),2&n){const t=s.$implicit;e.xp6(2),e.Q6J("mdsCounter",t)}}function Hc(n,s){if(1&n&&e._UZ(0,"cd-usage-bar",13),2&n){const t=s.row;e.Q6J("total",t.size)("used",t.used)("title",t.pool_name)}}function La(n,s){1&n&&(e._uU(0),e.ALo(1,"dimless")),2&n&&e.AsE(" ","standby-replay"===s.row.state?"Evts":"Reqs",": ",e.lcZ(1,2,s.value)," /s\n")}let kd=(()=>{class n{constructor(t,o){this.dimlessBinary=t,this.dimless=o,this.standbys=[],this.objectValues=Object.values}ngOnChanges(){this.setStandbys()}setStandbys(){this.standbys=[{key:"Standby daemons",value:this.data.standbys}]}ngOnInit(){this.columns={ranks:[{prop:"rank",name:"Rank"},{prop:"state",name:"State"},{prop:"mds",name:"Daemon"},{prop:"activity",name:"Activity",cellTemplate:this.activityTmpl},{prop:"dns",name:"Dentries",pipe:this.dimless},{prop:"inos",name:"Inodes",pipe:this.dimless},{prop:"dirs",name:"Dirs",pipe:this.dimless},{prop:"caps",name:"Caps",pipe:this.dimless}],pools:[{prop:"pool",name:"Pool"},{prop:"type",name:"Type"},{prop:"size",name:"Size",pipe:this.dimlessBinary},{name:"Usage",cellTemplate:this.poolUsageTpl,comparator:(t,o,l,_)=>{const C=l.used/l.avail,x=_.used/_.avail;return C===x?0:C>x?1:-1}}]}}trackByFn(t,o){return o.name}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Rr.$),e.Y36(br.n))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-cephfs-detail"]],viewQuery:function(t,o){if(1&t&&(e.Gf(Zd,7),e.Gf(_d,7)),2&t){let l;e.iGM(l=e.CRH())&&(o.poolUsageTpl=l.first),e.iGM(l=e.CRH())&&(o.activityTmpl=l.first)}},inputs:{data:"data"},features:[e.TTD],decls:19,vars:9,consts:function(){let s,t,o,l;return s="Ranks",t="Standbys",o="Pools",l="MDS performance counters",[[1,"row"],[1,"col-sm-6"],s,[3,"data","columns","toolHeader"],t,[3,"data"],o,l,["class","row",4,"ngFor","ngForOf","ngForTrackBy"],["poolUsageTpl",""],["activityTmpl",""],[1,"col-md-12"],[3,"mdsCounter"],[3,"total","used","title"]]},template:function(t,o){1&t&&(e.TgZ(0,"div",0)(1,"div",1)(2,"legend"),e.SDv(3,2),e.qZA(),e._UZ(4,"cd-table",3),e.TgZ(5,"legend"),e.SDv(6,4),e.qZA(),e._UZ(7,"cd-table-key-value",5),e.qZA(),e.TgZ(8,"div",1)(9,"legend"),e.SDv(10,6),e.qZA(),e._UZ(11,"cd-table",3),e.qZA()(),e.TgZ(12,"legend"),e.SDv(13,7),e.qZA(),e.YNc(14,md,3,1,"div",8),e.YNc(15,Hc,1,3,"ng-template",null,9,e.W1O),e.YNc(17,La,2,4,"ng-template",null,10,e.W1O)),2&t&&(e.xp6(4),e.Q6J("data",o.data.ranks)("columns",o.columns.ranks)("toolHeader",!1),e.xp6(3),e.Q6J("data",o.standbys),e.xp6(4),e.Q6J("data",o.data.pools)("columns",o.columns.pools)("toolHeader",!1),e.xp6(3),e.Q6J("ngForOf",o.objectValues(o.data.mdsCounters))("ngForTrackBy",o.trackByFn))},directives:[Tr.a,fo.b,p.sg,Pu,Su.O],pipes:[br.n],styles:[".progress[_ngcontent-%COMP%]{margin-bottom:0}"]}),n})();var Oc=i(30982),Mo=i(79512),wo=i(65862),Sa=i(18001),Tl=i(97161),ou=i(63285),Tu=i(94928);let gc=(()=>{class n{constructor(t,o,l,_,C){this.cephfsService=t,this.modalService=o,this.notificationService=l,this.authStorageService=_,this.actionLabels=C,this.triggerApiUpdate=new e.vpe,this.selection=new _n.r,this.permission=this.authStorageService.getPermissions().cephfs,this.tableActions=[{permission:"update",icon:wo.P.signOut,click:()=>this.evictClientModal(),name:this.actionLabels.EVICT}]}ngOnInit(){this.columns=[{prop:"id",name:"id"},{prop:"type",name:"type"},{prop:"state",name:"state"},{prop:"version",name:"version"},{prop:"hostname",name:"Host"},{prop:"root",name:"root"}]}updateSelection(t){this.selection=t}evictClient(t){this.cephfsService.evictClient(this.id,t).subscribe(()=>{this.triggerApiUpdate.emit(),this.modalRef.close(),this.notificationService.show(Sa.k.success,"Evicted client '" + t + "'")},()=>{this.modalRef.componentInstance.stopLoadingSpinner()})}evictClientModal(){const t=this.selection.first().id;this.modalRef=this.modalService.show(Oc.M,{itemDescription:"client",itemNames:[t],actionDescription:"evict",submitAction:()=>this.evictClient(t)})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(ct),e.Y36(ou.Z),e.Y36(Tl.g),e.Y36(Vi.j),e.Y36(Mo.p4))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-cephfs-clients"]],inputs:{id:"id",clients:"clients"},outputs:{triggerApiUpdate:"triggerApiUpdate"},decls:2,vars:7,consts:[["selectionType","single",3,"data","columns","status","autoReload","fetchData","updateSelection"],[1,"table-actions",3,"permission","selection","tableActions"]],template:function(t,o){1&t&&(e.TgZ(0,"cd-table",0),e.NdJ("fetchData",function(){return o.triggerApiUpdate.emit()})("updateSelection",function(_){return o.updateSelection(_)}),e._UZ(1,"cd-table-actions",1),e.qZA()),2&t&&(e.Q6J("data",o.clients.data)("columns",o.columns)("status",o.clients.status)("autoReload",-1),e.xp6(1),e.Q6J("permission",o.permission)("selection",o.selection)("tableActions",o.tableActions))},directives:[Tr.a,Tu.K],styles:[""]}),n})();var En=i(1659),pa=i(62946),rd=i(36169),Ze=i(65683),Ae=i(90070),ge=i(87925);const ht=["origin"],Ot=function(n,s){return[n,s]};function sn(n,s){if(1&n&&e._UZ(0,"i",5),2&n){const t=e.oxw(2);e.Q6J("ngClass",e.WLB(1,Ot,t.icons.spinner,t.icons.spin))}}function Un(n,s){if(1&n&&(e.TgZ(0,"tree-root",10),e.YNc(1,sn,1,4,"ng-template",null,11,e.W1O),e.qZA()),2&n){const t=e.oxw();e.Q6J("nodes",t.nodes)("options",t.treeOptions)}}function gr(n,s){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"legend"),e.SDv(2,17),e.qZA(),e.TgZ(3,"cd-table",18),e.NdJ("updateSelection",function(l){return e.CHM(t),e.oxw(2).quota.updateSelection(l)}),e._UZ(4,"cd-table-actions",19),e.qZA(),e.BQk()}if(2&n){const t=e.oxw(2);e.xp6(3),e.Q6J("data",t.settings)("columns",t.quota.columns)("limit",0)("footer",!1)("onlyActionHeader",!0)("forceIdentifier",!0)("toolHeader",!1),e.xp6(1),e.Q6J("permission",t.permission)("selection",t.quota.selection)("tableActions",t.quota.tableActions)}}function gi(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",12)(1,"div",2)(2,"div",3),e._uU(3),e.qZA(),e.TgZ(4,"div",6),e.YNc(5,gr,5,10,"ng-container",13),e.TgZ(6,"legend"),e.SDv(7,14),e.qZA(),e.TgZ(8,"cd-table",15),e.NdJ("updateSelection",function(l){return e.CHM(t),e.oxw().snapshot.updateSelection(l)}),e._UZ(9,"cd-table-actions",16),e.qZA()()()()}if(2&n){const t=e.oxw();e.xp6(3),e.hij(" ",t.selectedDir.path," "),e.xp6(2),e.Q6J("ngIf","/"!==t.selectedDir.path),e.xp6(3),e.Q6J("data",t.selectedDir.snapshots)("columns",t.snapshot.columns),e.xp6(1),e.Q6J("permission",t.permission)("selection",t.snapshot.selection)("tableActions",t.snapshot.tableActions)}}function Lo(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"span",20),e.NdJ("click",function(){const _=e.CHM(t).value;return e.oxw().selectOrigin(_)}),e._uU(1),e.qZA()}if(2&n){const t=s.value;e.xp6(1),e.Oqu(t)}}let ms=(()=>{class n{constructor(t,o,l,_,C,x,N){this.authStorageService=t,this.modalService=o,this.cephfsService=l,this.cdDatePipe=_,this.actionLabels=C,this.notificationService=x,this.dimlessBinaryPipe=N,this.icons=wo.P,this.loadingIndicator=!1,this.loading={},this.treeOptions={useVirtualScroll:!0,getChildren:V=>this.updateDirectory(V.id),actionMapping:{mouse:{click:this.selectAndShowNode.bind(this),expanderClick:this.selectAndShowNode.bind(this)}}}}selectAndShowNode(t,o,l){pa.iM.TOGGLE_EXPANDED(t,o,l),this.selectNode(o)}selectNode(t){pa.iM.TOGGLE_ACTIVE(void 0,t,void 0),this.selectedDir=this.getDirectory(t),"/"!==t.id&&this.setSettings(t)}ngOnInit(){this.permission=this.authStorageService.getPermissions().cephfs,this.setUpQuotaTable(),this.setUpSnapshotTable()}setUpQuotaTable(){this.quota={columns:[{prop:"row.name",name:"Name",flexGrow:1},{prop:"row.value",name:"Value",sortable:!1,flexGrow:1},{prop:"row.originPath",name:"Origin",sortable:!1,cellTemplate:this.originTmpl,flexGrow:1}],selection:new _n.r,updateSelection:t=>{this.quota.selection=t},tableActions:[{name:this.actionLabels.SET,icon:wo.P.edit,permission:"update",visible:t=>!t.hasSelection||t.first()&&0===t.first().dirValue,click:()=>this.updateQuotaModal()},{name:this.actionLabels.UPDATE,icon:wo.P.edit,permission:"update",visible:t=>t.first()&&t.first().dirValue>0,click:()=>this.updateQuotaModal()},{name:this.actionLabels.UNSET,icon:wo.P.destroy,permission:"update",disable:t=>!t.hasSelection||t.first()&&0===t.first().dirValue,click:()=>this.unsetQuotaModal()}]}}setUpSnapshotTable(){this.snapshot={columns:[{prop:"name",name:"Name",flexGrow:1},{prop:"path",name:"Path",isHidden:!0,flexGrow:2},{prop:"created",name:"Created",flexGrow:1,pipe:this.cdDatePipe}],selection:new _n.r,updateSelection:t=>{this.snapshot.selection=t},tableActions:[{name:this.actionLabels.CREATE,icon:wo.P.add,permission:"create",canBePrimary:t=>!t.hasSelection,click:()=>this.createSnapshot(),disable:()=>this.disableCreateSnapshot()},{name:this.actionLabels.DELETE,icon:wo.P.destroy,permission:"delete",click:()=>this.deleteSnapshotModal(),canBePrimary:t=>t.hasSelection,disable:t=>!t.hasSelection}]}}disableCreateSnapshot(){const t=this.selectedDir.path.split("/").slice(1);return t.length>=4&&"volumes"===t[0]&&"Cannot create snapshots for files/folders in the subvolume " + t[2] + ""}ngOnChanges(){this.selectedDir=void 0,this.dirs=[],this.requestedPaths=[],this.nodeIds={},this.id&&(this.setRootNode(),this.firstCall())}setRootNode(){this.nodes=[{name:"/",id:"/",isExpanded:!0}]}firstCall(){setTimeout(()=>{this.getNode("/").loadNodeChildren()},10)}updateDirectory(t){if(this.unsetLoadingIndicator(),this.requestedPaths.includes(t)){if(!0===this.loading[t])return}else this.requestedPaths.push(t);return new Promise(o=>{this.setLoadingIndicator(t,!0),this.cephfsService.lsDir(this.id,t).subscribe(l=>{this.updateTreeStructure(l),this.updateQuotaTable(),this.updateTree(),o(this.getChildren(t)),this.setLoadingIndicator(t,!1)})})}setLoadingIndicator(t,o){this.loading[t]=o,this.unsetLoadingIndicator()}getSubDirectories(t,o=this.dirs){return o.filter(l=>l.parent===t)}getChildren(t){const o=this.getSubTree(t);return Sr().sortBy(this.getSubDirectories(t),"path").map(l=>this.createNode(l,o))}createNode(t,o){return this.nodeIds[t.path]=t,o||this.getSubTree(t.parent),{name:t.name,id:t.path,hasChildren:this.getSubDirectories(t.path,o).length>0}}getSubTree(t){return this.dirs.filter(o=>o.parent&&o.parent.startsWith(t))}setSettings(t){const o=(l,_)=>l?_?_(l):l:"";this.settings=[this.getQuota(t,"max_files",o),this.getQuota(t,"max_bytes",l=>o(l,_=>this.dimlessBinaryPipe.transform(_)))]}getQuota(t,o,l){const _=t.id;t=this.getOrigin(t,o);const C=this.getDirectory(t),x=C.quotas[o];let N=x,V=C.path;if(t.id===_)if("/"===t.parent.id)N=0;else{const Q=this.getDirectory(this.getOrigin(t.parent,o));N=Q.quotas[o],V=Q.path}return{row:{name:"max_bytes"===o?"Max size":"Max files",value:l(x),originPath:x?C.path:""},quotaKey:o,dirValue:this.nodeIds[_].quotas[o],nextTreeMaximum:{value:N,path:N?V:""}}}getOrigin(t,o){if(t.parent&&"/"!==t.parent.id){const l=this.getQuotaFromTree(t,o),_=this.getOrigin(t.parent,o),C=this.getQuotaFromTree(_,o);return 0===l||0!==C&&C<l?_:t}return t}getQuotaFromTree(t,o){return this.getDirectory(t).quotas[o]}getDirectory(t){return this.nodeIds[t.id]}selectOrigin(t){this.selectNode(this.getNode(t))}getNode(t){return this.treeComponent.treeModel.getNodeById(t)}updateQuotaModal(){const t=this.selectedDir.path,o=this.quota.selection.first(),l=o.nextTreeMaximum,_=o.quotaKey,C=o.dirValue;this.modalService.show(Ze.X,{titleText:this.getModalQuotaTitle(0===C?this.actionLabels.SET:this.actionLabels.UPDATE,t),message:l.value?"The inherited " + this.getQuotaValueFromPathMsg(l.value, l.path) + " is the maximum value to be used.":void 0,fields:[this.getQuotaFormField(o.row.name,_,C,l.value)],submitButtonText:"Save",onSubmit:x=>this.updateQuota(x)})}getModalQuotaTitle(t,o){return "" + t + " CephFS " + this.getQuotaName() + " quota for '" + o + "'"}getQuotaName(){return this.isBytesQuotaSelected()?"size":"files"}isBytesQuotaSelected(){return"max_bytes"===this.quota.selection.first().quotaKey}getQuotaValueFromPathMsg(t,o){return t=this.isBytesQuotaSelected()?this.dimlessBinaryPipe.transform(t):t,"" + this.getQuotaName() + " quota " + t + " from '" + o + "'"}getQuotaFormField(t,o,l,_){const C="max_bytes"===o,x=[C?Ae.h.binaryMin(0):En.kI.min(0)];_&&x.push(C?Ae.h.binaryMax(_):En.kI.max(_));const N={type:C?"binary":"number",label:t,name:o,value:l,validators:x,required:!0};return C||(N.errors={min:"Value has to be at least 0 or more",max:"Value has to be at most " + _ + " or less"}),N}updateQuota(t,o){const l=this.selectedDir.path,_=this.quota.selection.first().quotaKey,C=0===this.selectedDir.quotas[_]?this.actionLabels.SET:0===t[_]?this.actionLabels.UNSET:"Updated";this.cephfsService.quota(this.id,l,t).subscribe(()=>{o&&o(),this.notificationService.show(Sa.k.success,this.getModalQuotaTitle(C,l)),this.forceDirRefresh()})}unsetQuotaModal(){const t=this.selectedDir.path,o=this.quota.selection.first(),l=o.quotaKey,_=o.nextTreeMaximum,C=o.dirValue,x=this.getQuotaValueFromPathMsg(_.value,_.path),N=_.value>0?_.value>C?"in order to inherit " + x + "":"which isn't used because of the inheritance of " + x + "":"in order to have no quota on the directory";this.modalRef=this.modalService.show(rd.Y,{titleText:this.getModalQuotaTitle(this.actionLabels.UNSET,t),buttonText:this.actionLabels.UNSET,description:"" + this.actionLabels.UNSET + " " + this.getQuotaValueFromPathMsg(C, t) + " " + N + ".",onSubmit:()=>this.updateQuota({[l]:0},()=>this.modalRef.close())})}createSnapshot(){const t=this.selectedDir.path;this.modalService.show(Ze.X,{titleText:"Create Snapshot",message:"Please enter the name of the snapshot.",fields:[{type:"text",name:"name",value:`${ls()().toISOString(!0)}`,required:!0,validators:[this.validateValue.bind(this)]}],submitButtonText:"Create Snapshot",onSubmit:o=>{this.alreadyExists?this.notificationService.show(Sa.k.error,"Snapshot name '" + o.name + "' is already in use. Please use another name."):this.cephfsService.mkSnapshot(this.id,t,o.name).subscribe(l=>{this.notificationService.show(Sa.k.success,"Created snapshot '" + l + "' for '" + t + "'"),this.forceDirRefresh()})}})}validateValue(t){this.alreadyExists=this.selectedDir.snapshots.some(o=>o.name===t.value)}forceDirRefresh(t){if(!t){const l=this.selectedDir;if(!l)throw new Error("This function can only be called without path if an selection was made");t=l.parent?l.parent:l.path}this.getNode(t).loadNodeChildren()}updateTreeStructure(t){const o=(_,C)=>{const x=_.filter(V=>V.parent===C),N=x.map(V=>V.path);return{children:x,paths:N}};Sr().uniq(t.map(_=>_.parent).sort()).forEach(_=>{const C=o(t,_),x=o(this.dirs,_);x.children.forEach(N=>{C.paths.includes(N.path)||this.removeOldDirectory(N)}),C.children.forEach(N=>{x.paths.includes(N.path)?this.updateExistingDirectory(x.children,N):this.addNewDirectory(N)})})}removeOldDirectory(t){const o=t.path;Sr().remove(this.dirs,l=>l.path===o),delete this.nodeIds[o],this.updateDirectoriesParentNode(t)}updateDirectoriesParentNode(t){const o=t.parent;if(!o)return;const l=this.getNode(o);if(!l)return;const _=this.getChildren(o);l.data.children=_,l.data.hasChildren=_.length>0,this.treeComponent.treeModel.update()}addNewDirectory(t){this.dirs.push(t),this.nodeIds[t.path]=t,this.updateDirectoriesParentNode(t)}updateExistingDirectory(t,o){const l=t.find(_=>_.path===o.path);Object.assign(l,o)}updateQuotaTable(){const t=this.selectedDir?this.getNode(this.selectedDir.path):void 0;t&&"/"!==t.id&&this.setSettings(t)}updateTree(t=!1){this.loadingIndicator&&!t||(this.treeComponent.treeModel.update(),this.nodes=[...this.nodes],this.treeComponent.sizeChanged())}deleteSnapshotModal(){this.modalRef=this.modalService.show(Oc.M,{itemDescription:"CephFs Snapshot",itemNames:this.snapshot.selection.selected.map(t=>t.name),submitAction:()=>this.deleteSnapshot()})}deleteSnapshot(){const t=this.selectedDir.path;this.snapshot.selection.selected.forEach(o=>{const l=o.name;this.cephfsService.rmSnapshot(this.id,t,l).subscribe(()=>{this.notificationService.show(Sa.k.success,"Deleted snapshot '" + l + "' for '" + t + "'")})}),this.modalRef.close(),this.forceDirRefresh()}refreshAllDirectories(){this.loadingIndicator=!0,this.requestedPaths.map(o=>this.forceDirRefresh(o));const t=setInterval(()=>{this.updateTree(!0),this.loadingIndicator||clearInterval(t)},3e3)}unsetLoadingIndicator(){!this.loadingIndicator||(clearTimeout(this.loadingTimeout),this.loadingTimeout=setTimeout(()=>{if(Object.values(this.loading).some(o=>o))return this.unsetLoadingIndicator();this.loadingIndicator=!1,this.updateTree()},3e3))}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Vi.j),e.Y36(ou.Z),e.Y36(ct),e.Y36(Pn.N),e.Y36(Mo.p4),e.Y36(Tl.g),e.Y36(Rr.$))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-cephfs-directories"]],viewQuery:function(t,o){if(1&t&&(e.Gf(pa.qr,5),e.Gf(ht,7)),2&t){let l;e.iGM(l=e.CRH())&&(o.treeComponent=l.first),e.iGM(l=e.CRH())&&(o.originTmpl=l.first)}},inputs:{id:"id"},features:[e.TTD],decls:11,vars:10,consts:function(){let s,t;return s="Snapshots",t="Quotas",[[1,"row"],[1,"col-sm-4","pe-0"],[1,"card"],[1,"card-header"],["type","button",1,"btn","btn-light","pull-right",3,"click"],[3,"ngClass"],[1,"card-body"],[3,"nodes","options",4,"ngIf"],["class","col-sm-8 metadata",4,"ngIf"],["origin",""],[3,"nodes","options"],["loadingTemplate",""],[1,"col-sm-8","metadata"],[4,"ngIf"],s,["identifier","name","forceIdentifier","true","selectionType","multiClick",3,"data","columns","updateSelection"],[1,"table-actions",3,"permission","selection","tableActions"],t,["selectionType","single","identifier","quotaKey",3,"data","columns","limit","footer","onlyActionHeader","forceIdentifier","toolHeader","updateSelection"],[1,"only-table-actions",3,"permission","selection","tableActions"],[1,"quota-origin",3,"click"]]},template:function(t,o){1&t&&(e.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"button",4),e.NdJ("click",function(){return o.refreshAllDirectories()}),e._UZ(5,"i",5),e.qZA()(),e.TgZ(6,"div",6),e.YNc(7,Un,3,2,"tree-root",7),e.qZA()()(),e.YNc(8,gi,10,7,"div",8),e.qZA(),e.YNc(9,Lo,2,1,"ng-template",null,9,e.W1O)),2&t&&(e.xp6(4),e.ekj("disabled",o.loadingIndicator),e.xp6(1),e.ekj("fa-spin",o.loadingIndicator),e.Q6J("ngClass",e.WLB(7,Ot,o.icons.large,o.icons.refresh)),e.xp6(2),e.Q6J("ngIf",o.nodes),e.xp6(1),e.Q6J("ngIf",o.selectedDir))},directives:[ge.o,p.mk,p.O5,pa.qr,Tr.a,Tu.K],styles:["cd-cephfs-directories tree-root .tree-children{overflow:inherit}.quota-origin[_ngcontent-%COMP%]{color:#25828e;cursor:pointer}.quota-origin[_ngcontent-%COMP%]:hover{color:#212529}"]}),n})();var ha=i(76317);function Ca(n,s){if(1&n&&e._UZ(0,"cd-cephfs-detail",15),2&n){const t=e.oxw(2);e.Q6J("data",t.details)}}function Nu(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"cd-cephfs-clients",16),e.NdJ("triggerApiUpdate",function(){return e.CHM(t),e.oxw(2).refresh()}),e.qZA()}if(2&n){const t=e.oxw(2);e.Q6J("id",t.id)("clients",t.clients)}}function cc(n,s){if(1&n&&e._UZ(0,"cd-cephfs-directories",17),2&n){const t=e.oxw(2);e.Q6J("id",t.id)}}function ka(n,s){if(1&n&&e._UZ(0,"cd-grafana",18),2&n){const t=e.oxw(2);e.Q6J("grafanaPath","mds-performance?var-mds_servers=mds."+t.grafanaId)("type","metrics")}}function rl(n,s){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"nav",1,2),e.NdJ("navChange",function(){return e.CHM(t),e.oxw().softRefresh()}),e.ynx(3,3),e.TgZ(4,"a",4),e.SDv(5,5),e.qZA(),e.YNc(6,Ca,1,1,"ng-template",6),e.BQk(),e.ynx(7,7),e.TgZ(8,"a",4),e.ynx(9),e.SDv(10,8),e.BQk(),e.TgZ(11,"span",9),e._uU(12),e.qZA()(),e.YNc(13,Nu,1,2,"ng-template",6),e.BQk(),e.ynx(14,10),e.TgZ(15,"a",4),e.SDv(16,11),e.qZA(),e.YNc(17,cc,1,1,"ng-template",6),e.BQk(),e.ynx(18,12),e.TgZ(19,"a",4),e.SDv(20,13),e.qZA(),e.YNc(21,ka,1,2,"ng-template",6),e.BQk(),e.qZA(),e._UZ(22,"div",14),e.BQk()}if(2&n){const t=e.MAs(2),o=e.oxw();e.xp6(12),e.Oqu(o.clients.data.length),e.xp6(10),e.Q6J("ngbNavOutlet",t)}}let vc=(()=>{class n{constructor(t,o,l){this.ngZone=t,this.authStorageService=o,this.cephfsService=l,this.clients={data:[],status:new Ei.E(Ci.T.ValueNone)},this.details={standbys:"",pools:[],ranks:[],mdsCounters:{},name:""},this.grafanaPermission=this.authStorageService.getPermissions().grafana}ngOnChanges(){this.selection?this.selection.id!==this.id&&this.setupSelected(this.selection.id,this.selection.mdsmap.info):this.unsubscribeInterval()}setupSelected(t,o){this.id=t;const l=Sr().first(Object.values(o));this.grafanaId=l&&l.name,this.details={standbys:"",pools:[],ranks:[],mdsCounters:{},name:""},this.clients={data:[],status:new Ei.E(Ci.T.ValueNone)},this.updateInterval()}updateInterval(){this.unsubscribeInterval(),this.subscribeInterval()}unsubscribeInterval(){this.reloadSubscriber&&this.reloadSubscriber.unsubscribe()}subscribeInterval(){this.ngZone.runOutsideAngular(()=>this.reloadSubscriber=(0,ai.H)(0,5e3).subscribe(()=>this.ngZone.run(()=>this.refresh())))}refresh(){this.cephfsService.getTabs(this.id).subscribe(t=>{this.data=t,this.softRefresh()},()=>{this.clients.status=new Ei.E(Ci.T.ValueException)})}softRefresh(){const t=Sr().cloneDeep(this.data);this.clients=t.clients,this.clients.status=new Ei.E(this.clients.status),this.details={standbys:t.standbys,pools:t.pools,ranks:t.ranks,mdsCounters:t.mds_counters,name:t.name}}ngOnDestroy(){this.unsubscribeInterval()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.R0b),e.Y36(Vi.j),e.Y36(ct))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-cephfs-tabs"]],inputs:{selection:"selection"},features:[e.TTD],decls:1,vars:1,consts:function(){let s,t,o,l,_;return s="Details",t="Clients",o="Directories",l="Performance Details",_="CephFS MDS performance",[[4,"ngIf"],["ngbNav","","cdStatefulTab","cephfs-tabs",1,"nav-tabs",3,"navChange"],["nav","ngbNav"],["ngbNavItem","details"],["ngbNavLink",""],s,["ngbNavContent",""],["ngbNavItem","clients"],t,[1,"badge","badge-pill","badge-tab","ms-1"],["ngbNavItem","directories"],o,["ngbNavItem","performance-details"],l,[3,"ngbNavOutlet"],[3,"data"],[3,"id","clients","triggerApiUpdate"],[3,"id"],["title",_,"uid","tbO9LAiZz","grafanaStyle","one",3,"grafanaPath","type"]]},template:function(t,o){1&t&&e.YNc(0,rl,23,2,"ng-container",0),2&t&&e.Q6J("ngIf",o.selection)},directives:[p.O5,Pr.Pz,Yn.m,Pr.nv,Pr.Vx,Pr.uN,kd,gc,ms,ha.F,Pr.tO],styles:[""]}),n})(),yc=(()=>{class n extends It.o{constructor(t,o){super(),this.cephfsService=t,this.cdDatePipe=o,this.filesystems=[],this.selection=new _n.r}ngOnInit(){this.columns=[{name:"Name",prop:"mdsmap.fs_name",flexGrow:2},{name:"Created",prop:"mdsmap.created",flexGrow:2,pipe:this.cdDatePipe},{name:"Enabled",prop:"mdsmap.enabled",flexGrow:1,cellTransformation:Ht.e.checkIcon}]}loadFilesystems(t){this.cephfsService.list().subscribe(o=>{this.filesystems=o},()=>{t.error()})}updateSelection(t){this.selection=t}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(ct),e.Y36(Pn.N))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-cephfs-list"]],features:[e.qOj],decls:2,vars:4,consts:[["columnMode","flex","identifier","id","forceIdentifier","true","selectionType","single",3,"data","columns","hasDetails","fetchData","setExpandedRow","updateSelection"],["cdTableDetail","",3,"selection"]],template:function(t,o){1&t&&(e.TgZ(0,"cd-table",0),e.NdJ("fetchData",function(_){return o.loadFilesystems(_)})("setExpandedRow",function(_){return o.setExpandedRow(_)})("updateSelection",function(_){return o.updateSelection(_)}),e._UZ(1,"cd-cephfs-tabs",1),e.qZA()),2&t&&(e.Q6J("data",o.filesystems)("columns",o.columns)("hasDetails",!0),e.xp6(1),e.Q6J("selection",o.expandedRow))},directives:[Tr.a,vc],styles:[""]}),n})(),ju=(()=>{class n{static getType(t){const o=Sr().find(this.knownTypes,l=>l.name===t);if(void 0!==o)return o;throw new Error('Found unknown type "'+t+'" for config option.')}static getTypeValidators(t){const o=n.getType(t.type);if("bool"===o.name||"str"===o.name)return;const l={validators:[],patternHelpText:o.patternHelpText};return o.isNumberType?(t.max&&""!==t.max&&(l.max=t.max,l.validators.push(En.kI.max(t.max))),t.min&&""!==t.min?(l.min=t.min,l.validators.push(En.kI.min(t.min))):"defaultMin"in o&&(l.min=o.defaultMin,l.validators.push(En.kI.min(o.defaultMin))),l.validators.push("float"===t.type?Ae.h.decimalNumber():Ae.h.number(o.allowsNegative))):"addr"===t.type?l.validators=[Ae.h.ip()]:"uuid"===t.type&&(l.validators=[Ae.h.uuid()]),l}static getTypeStep(t,o){if(["uint","int","size","secs"].includes(t))return 1;if("float"===t){if(null!==o&&-1!==o.toString().indexOf(".")){const C=o.toString().split(".");return Math.pow(10,-C[1].length)}return.1}}}return n.knownTypes=[{name:"uint",inputType:"number",humanReadable:"Unsigned integer value",defaultMin:0,patternHelpText:"The entered value needs to be an unsigned number.",isNumberType:!0,allowsNegative:!1},{name:"int",inputType:"number",humanReadable:"Integer value",patternHelpText:"The entered value needs to be a number.",isNumberType:!0,allowsNegative:!0},{name:"size",inputType:"number",humanReadable:"Unsigned integer value (>=16bit)",defaultMin:0,patternHelpText:"The entered value needs to be a unsigned number.",isNumberType:!0,allowsNegative:!1},{name:"secs",inputType:"number",humanReadable:"Number of seconds",defaultMin:1,patternHelpText:"The entered value needs to be a number >= 1.",isNumberType:!0,allowsNegative:!1},{name:"float",inputType:"number",humanReadable:"Double value",patternHelpText:"The entered value needs to be a number or decimal.",isNumberType:!0,allowsNegative:!0},{name:"str",inputType:"text",humanReadable:"Text",isNumberType:!1},{name:"addr",inputType:"text",humanReadable:"IPv4 or IPv6 address",patternHelpText:"The entered value needs to be a valid IP address.",isNumberType:!1},{name:"uuid",inputType:"text",humanReadable:"UUID",patternHelpText:"The entered value is not a valid UUID, e.g.: 67dcac9f-2c03-4d6c-b7bd-1210b3a259a8",isNumberType:!1},{name:"bool",inputType:"checkbox",humanReadable:"Boolean value",isNumberType:!1}],n})();var Ul=i(93614),nc=i(95463);class gd{constructor(){this.value=[]}}var Fc=i(64724),cu=i(63622),Ma=i(41582),ll=i(56310),Ll=i(94276),Ml=i(30839);function gf(n,s){1&n&&(e.TgZ(0,"div",8)(1,"label",9),e.SDv(2,20),e.qZA(),e.TgZ(3,"div",11)(4,"textarea",21),e._uU(5,"            "),e.qZA()()())}function zd(n,s){1&n&&(e.TgZ(0,"div",8)(1,"label",9),e.SDv(2,22),e.qZA(),e.TgZ(3,"div",11)(4,"textarea",23),e._uU(5,"            "),e.qZA()()())}function id(n,s){1&n&&(e.TgZ(0,"div",8)(1,"label",9),e.SDv(2,24),e.qZA(),e.TgZ(3,"div",11),e._UZ(4,"input",25),e.qZA()())}function Al(n,s){1&n&&(e.TgZ(0,"div",8)(1,"label",9),e.SDv(2,26),e.qZA(),e.TgZ(3,"div",11),e._UZ(4,"input",27),e.qZA()())}function kl(n,s){if(1&n&&(e.TgZ(0,"span",30)(1,"span",31),e._uU(2),e.qZA()()),2&n){const t=s.$implicit;e.xp6(2),e.Oqu(t)}}function Gu(n,s){if(1&n&&(e.TgZ(0,"div",8)(1,"label",9),e.SDv(2,28),e.qZA(),e.TgZ(3,"div",11),e.YNc(4,kl,3,1,"span",29),e.qZA()()),2&n){const t=e.oxw(2);e.xp6(4),e.Q6J("ngForOf",t.configForm.getValue("services"))}}function ul(n,s){if(1&n&&(e.TgZ(0,"div",8)(1,"label",32),e._uU(2),e.qZA(),e.TgZ(3,"div",11)(4,"select",33)(5,"option",34),e.SDv(6,35),e.qZA(),e.TgZ(7,"option",34),e.SDv(8,36),e.qZA(),e.TgZ(9,"option",34),e.SDv(10,37),e.qZA()()()()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.Q6J("for",t),e.xp6(1),e.hij("",t," "),e.xp6(2),e.Q6J("formControlName",t),e.xp6(1),e.Q6J("ngValue",null),e.xp6(2),e.Q6J("ngValue",!0),e.xp6(2),e.Q6J("ngValue",!1)}}function Cu(n,s){if(1&n&&(e.TgZ(0,"span",40),e._uU(1),e.qZA()),2&n){const t=e.oxw(4);e.xp6(1),e.hij(" ",t.patternHelpText," ")}}function cn(n,s){if(1&n&&(e.TgZ(0,"span",40),e._uU(1),e.qZA()),2&n){const t=e.oxw(4);e.xp6(1),e.hij(" ",t.patternHelpText," ")}}function Ec(n,s){if(1&n&&(e.TgZ(0,"span",40),e.SDv(1,41),e.qZA()),2&n){const t=e.oxw(4);e.xp6(1),e.pQV(t.maxValue),e.QtT(1)}}function Iu(n,s){if(1&n&&(e.TgZ(0,"span",40),e.SDv(1,42),e.qZA()),2&n){const t=e.oxw(4);e.xp6(1),e.pQV(t.minValue),e.QtT(1)}}function qa(n,s){if(1&n&&(e.TgZ(0,"div",8)(1,"label",32),e._uU(2),e.qZA(),e.TgZ(3,"div",11),e._UZ(4,"input",38),e.YNc(5,Cu,2,1,"span",39),e.YNc(6,cn,2,1,"span",39),e.YNc(7,Ec,2,1,"span",39),e.YNc(8,Iu,2,1,"span",39),e.qZA()()),2&n){const t=e.oxw().$implicit;e.oxw();const o=e.MAs(2),l=e.oxw();e.xp6(1),e.Q6J("for",t),e.xp6(1),e.hij("",t," "),e.xp6(2),e.Q6J("type",l.inputType)("id",t)("placeholder",l.humanReadableType)("formControlName",t)("step",l.getStep(l.type,l.configForm.getValue(t))),e.xp6(1),e.Q6J("ngIf",l.configForm.showError(t,o,"pattern")),e.xp6(1),e.Q6J("ngIf",l.configForm.showError(t,o,"invalidUuid")),e.xp6(1),e.Q6J("ngIf",l.configForm.showError(t,o,"max")),e.xp6(1),e.Q6J("ngIf",l.configForm.showError(t,o,"min"))}}function cl(n,s){if(1&n&&(e.ynx(0),e.YNc(1,ul,11,6,"div",13),e.YNc(2,qa,9,11,"div",13),e.BQk()),2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf","bool"===t.type),e.xp6(1),e.Q6J("ngIf","bool"!==t.type)}}function xf(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",1)(1,"form",2,3)(3,"div",4)(4,"div",5),e.ynx(5,6),e._uU(6,"Edit"),e.BQk(),e._uU(7),e.qZA(),e.TgZ(8,"div",7)(9,"div",8)(10,"label",9),e.SDv(11,10),e.qZA(),e.TgZ(12,"div",11),e._UZ(13,"input",12),e.qZA()(),e.YNc(14,gf,6,0,"div",13),e.YNc(15,zd,6,0,"div",13),e.YNc(16,id,5,0,"div",13),e.YNc(17,Al,5,0,"div",13),e.YNc(18,Gu,5,1,"div",13),e.TgZ(19,"div",14)(20,"h3",15),e.SDv(21,16),e.qZA(),e.YNc(22,cl,3,2,"ng-container",17),e.qZA()(),e.TgZ(23,"div",18)(24,"cd-form-button-panel",19),e.NdJ("submitActionEvent",function(){return e.CHM(t),e.oxw().submit()}),e.qZA()()()()()}if(2&n){const t=e.oxw();e.xp6(1),e.Q6J("formGroup",t.configForm),e.xp6(6),e.hij(" ",t.configForm.getValue("name")," "),e.xp6(7),e.Q6J("ngIf",t.configForm.getValue("desc")),e.xp6(1),e.Q6J("ngIf",t.configForm.getValue("long_desc")),e.xp6(1),e.Q6J("ngIf",""!==t.configForm.getValue("default")),e.xp6(1),e.Q6J("ngIf",""!==t.configForm.getValue("daemon_default")),e.xp6(1),e.Q6J("ngIf",t.configForm.getValue("services").length>0),e.xp6(4),e.Q6J("ngForOf",t.availSections),e.xp6(2),e.Q6J("form",t.configForm)("submitText",t.actionLabels.UPDATE)}}let Bc=(()=>{class n extends Ul.E{constructor(t,o,l,_,C){super(),this.actionLabels=t,this.route=o,this.router=l,this.configService=_,this.notificationService=C,this.availSections=["global","mon","mgr","osd","mds","client"],this.createForm()}createForm(){const t={name:new En.NI({value:null}),desc:new En.NI({value:null}),long_desc:new En.NI({value:null}),values:new En.cw({}),default:new En.NI({value:null}),daemon_default:new En.NI({value:null}),services:new En.NI([])};this.availSections.forEach(o=>{t.values.addControl(o,new En.NI(null))}),this.configForm=new nc.d(t)}ngOnInit(){this.route.params.subscribe(t=>{this.configService.get(t.name).subscribe(l=>{this.setResponse(l),this.loadingReady()})})}getValidators(t){const o=ju.getTypeValidators(t);if(o)return this.patternHelpText=o.patternHelpText,"max"in o&&""!==o.max&&(this.maxValue=o.max),"min"in o&&""!==o.min&&(this.minValue=o.min),o.validators}getStep(t,o){return ju.getTypeStep(t,o)}setResponse(t){this.response=t;const o=this.getValidators(t);this.configForm.get("name").setValue(t.name),this.configForm.get("desc").setValue(t.desc),this.configForm.get("long_desc").setValue(t.long_desc),this.configForm.get("default").setValue(t.default),this.configForm.get("daemon_default").setValue(t.daemon_default),this.configForm.get("services").setValue(t.services),this.response.value&&this.response.value.forEach(_=>{let C=null;C="true"===_.value||"false"!==_.value&&_.value,this.configForm.get("values").get(_.section).setValue(C)}),this.availSections.forEach(_=>{this.configForm.get("values").get(_).setValidators(o)});const l=ju.getType(t.type);this.type=l.name,this.inputType=l.inputType,this.humanReadableType=l.humanReadable}createRequest(){const t=[];if(this.availSections.forEach(o=>{const l=this.configForm.getValue(o);null!==l&&""!==l&&t.push({section:o,value:l})}),!Sr().isEqual(this.response.value,t)){const o=new gd;return o.name=this.configForm.getValue("name"),o.value=t,o}return null}submit(){const t=this.createRequest();t&&this.configService.create(t).subscribe(()=>{this.notificationService.show(Sa.k.success,"Updated config option " + t.name + ""),this.router.navigate(["/configuration"])},()=>{this.configForm.setErrors({cdSubmitButton:!0})}),this.router.navigate(["/configuration"])}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Mo.p4),e.Y36(Io.gz),e.Y36(Io.F0),e.Y36(Fc.e),e.Y36(Tl.g))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-configuration-form"]],features:[e.qOj],decls:1,vars:1,consts:function(){let s,t,o,l,_,C,x,N,V,Q,oe,le;return s="Name",t="Values",o="Description",l="Long description",_="Default",C="Daemon default",x="Services",N="-- Default --",V="true",Q="false",oe="The entered value is too high! It must not be greater than " + "\ufffd0\ufffd" + ".",le="The entered value is too low! It must not be lower than " + "\ufffd0\ufffd" + ".",[["class","cd-col-form",4,"cdFormLoading"],[1,"cd-col-form"],["name","configForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"card"],[1,"card-header"],["i18",""],[1,"card-body"],[1,"form-group","row"],[1,"cd-col-form-label"],s,[1,"cd-col-form-input"],["type","text","id","name","formControlName","name","readonly","",1,"form-control"],["class","form-group row",4,"ngIf"],["formGroupName","values"],[1,"cd-header"],t,[4,"ngFor","ngForOf"],[1,"card-footer"],["wrappingClass","text-right",3,"form","submitText","submitActionEvent"],o,["id","desc","formControlName","desc","readonly","",1,"form-control","resize-vertical"],l,["id","long_desc","formControlName","long_desc","readonly","",1,"form-control","resize-vertical"],_,["type","text","id","default","formControlName","default","readonly","",1,"form-control"],C,["type","text","id","daemon_default","formControlName","daemon_default","readonly","",1,"form-control"],x,["class","form-component-badge",4,"ngFor","ngForOf"],[1,"form-component-badge"],[1,"badge","badge-dark"],[1,"cd-col-form-label",3,"for"],["id","pool","name","pool",1,"form-select",3,"formControlName"],[3,"ngValue"],N,V,Q,[1,"form-control",3,"type","id","placeholder","formControlName","step"],["class","invalid-feedback",4,"ngIf"],[1,"invalid-feedback"],oe,le]},template:function(t,o){1&t&&e.YNc(0,xf,25,10,"div",0),2&t&&e.Q6J("cdFormLoading",o.loading)},directives:[cu.y,En._Y,En.JL,Ma.V,En.sg,ll.P,ge.o,En.Fj,Ll.b,En.JJ,En.u,p.O5,p.sg,En.x0,En.EJ,En.YN,En.Kr,Ml.p],styles:[".form-component-badge[_ngcontent-%COMP%]{display:block;height:34px}.form-component-badge[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{margin-top:7px}.resize-vertical[_ngcontent-%COMP%]{resize:vertical}"]}),n})();var vd=i(68962);function dc(n,s){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e._UZ(2,"br"),e.qZA()),2&n){const t=s.$implicit,o=s.last;e.xp6(1),e.lnq(" ",t.section,": ",t.value,"",o?"":",","")}}function yd(n,s){if(1&n&&(e.TgZ(0,"span")(1,"span",23)(2,"span",24),e._uU(3),e.ALo(4,"uppercase"),e.qZA()()()),2&n){const t=s.$implicit,o=e.oxw(2);e.xp6(1),e.s9C("title",o.flags[t]),e.xp6(2),e.Oqu(e.lcZ(4,2,t))}}function $p(n,s){if(1&n&&(e.TgZ(0,"span")(1,"span",24),e._uU(2),e.qZA()()),2&n){const t=s.$implicit;e.xp6(2),e.Oqu(t)}}function vf(n,s){if(1&n&&(e.ynx(0),e.TgZ(1,"table",1)(2,"tbody")(3,"tr")(4,"td",2),e.SDv(5,3),e.qZA(),e.TgZ(6,"td",4),e._uU(7),e.qZA()(),e.TgZ(8,"tr")(9,"td",5),e.SDv(10,6),e.qZA(),e.TgZ(11,"td"),e._uU(12),e.qZA()(),e.TgZ(13,"tr")(14,"td",5),e.SDv(15,7),e.qZA(),e.TgZ(16,"td"),e._uU(17),e.qZA()(),e.TgZ(18,"tr")(19,"td",5),e.SDv(20,8),e.qZA(),e.TgZ(21,"td"),e.YNc(22,dc,3,3,"span",9),e.qZA()(),e.TgZ(23,"tr")(24,"td",5),e.SDv(25,10),e.qZA(),e.TgZ(26,"td"),e._uU(27),e.qZA()(),e.TgZ(28,"tr")(29,"td",5),e.SDv(30,11),e.qZA(),e.TgZ(31,"td"),e._uU(32),e.qZA()(),e.TgZ(33,"tr")(34,"td",5),e.SDv(35,12),e.qZA(),e.TgZ(36,"td"),e._uU(37),e.qZA()(),e.TgZ(38,"tr")(39,"td",5),e.SDv(40,13),e.qZA(),e.TgZ(41,"td"),e._uU(42),e.qZA()(),e.TgZ(43,"tr")(44,"td",5),e.SDv(45,14),e.qZA(),e.TgZ(46,"td"),e._uU(47),e.qZA()(),e.TgZ(48,"tr")(49,"td",5),e.SDv(50,15),e.qZA(),e.TgZ(51,"td"),e.YNc(52,yd,5,4,"span",9),e.qZA()(),e.TgZ(53,"tr")(54,"td",5),e.SDv(55,16),e.qZA(),e.TgZ(56,"td"),e.YNc(57,$p,3,1,"span",9),e.qZA()(),e.TgZ(58,"tr")(59,"td",5),e.SDv(60,17),e.qZA(),e.TgZ(61,"td"),e._uU(62),e.qZA()(),e.TgZ(63,"tr")(64,"td",5),e.SDv(65,18),e.qZA(),e.TgZ(66,"td"),e._uU(67),e.qZA()(),e.TgZ(68,"tr")(69,"td",5),e.SDv(70,19),e.qZA(),e.TgZ(71,"td"),e._uU(72),e.ALo(73,"booleanText"),e.qZA()(),e.TgZ(74,"tr")(75,"td",5),e.SDv(76,20),e.qZA(),e.TgZ(77,"td"),e._uU(78),e.qZA()(),e.TgZ(79,"tr")(80,"td",5),e.SDv(81,21),e.qZA(),e.TgZ(82,"td"),e._uU(83),e.qZA()(),e.TgZ(84,"tr")(85,"td",5),e.SDv(86,22),e.qZA(),e.TgZ(87,"td"),e._uU(88),e.qZA()()()(),e.BQk()),2&n){const t=e.oxw();e.xp6(7),e.Oqu(t.selection.name),e.xp6(5),e.Oqu(t.selection.desc),e.xp6(5),e.Oqu(t.selection.long_desc),e.xp6(5),e.Q6J("ngForOf",t.selection.value),e.xp6(5),e.Oqu(t.selection.default),e.xp6(5),e.Oqu(t.selection.daemon_default),e.xp6(5),e.Oqu(t.selection.type),e.xp6(5),e.Oqu(t.selection.min),e.xp6(5),e.Oqu(t.selection.max),e.xp6(5),e.Q6J("ngForOf",t.selection.flags),e.xp6(5),e.Q6J("ngForOf",t.selection.services),e.xp6(5),e.Oqu(t.selection.source),e.xp6(5),e.Oqu(t.selection.level),e.xp6(5),e.Oqu(e.lcZ(73,17,t.selection.can_update_at_runtime)),e.xp6(6),e.Oqu(t.selection.tags),e.xp6(5),e.Oqu(t.selection.enum_values),e.xp6(5),e.Oqu(t.selection.see_also)}}let ap=(()=>{class n{constructor(){this.flags={runtime:"The value can be updated at runtime.",no_mon_update:"Daemons/clients do not pull this value from the\n      monitor config database. We disallow setting this option via 'ceph config\n      set ...'. This option should be configured via ceph.conf or via the\n      command line.",startup:"Option takes effect only during daemon startup.",cluster_create:"Option only affects cluster creation.",create:"Option only affects daemon creation."}}ngOnChanges(){this.selection&&(this.selection.services=Sr().split(this.selection.services,","))}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-configuration-details"]],inputs:{selection:"selection"},features:[e.TTD],decls:1,vars:1,consts:function(){let s,t,o,l,_,C,x,N,V,Q,oe,le,me,ye,$e,Ne,ke;return s="Name",t="Description",o="Long description",l="Current values",_="Default",C="Daemon default",x="Type",N="Min",V="Max",Q="Flags",oe="Services",le="Source",me="Level",ye="Can be updated at runtime (editable)",$e="Tags",Ne="Enum values",ke="See also",[[4,"ngIf"],[1,"table","table-striped","table-bordered"],[1,"bold","w-25"],s,[1,"w-75"],[1,"bold"],t,o,l,[4,"ngFor","ngForOf"],_,C,x,N,V,Q,oe,le,me,ye,$e,Ne,ke,[3,"title"],[1,"badge","badge-dark","me-2"]]},template:function(t,o){1&t&&e.YNc(0,vf,89,19,"ng-container",0),2&t&&e.Q6J("ngIf",o.selection)},directives:[p.O5,p.sg],pipes:[p.gd,vd.T],styles:[""]}),n})();const Vu=["confValTpl"],fc=["confFlagTpl"];function Wd(n,s){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e._UZ(2,"br"),e.qZA()),2&n){const t=s.$implicit,o=s.last;e.xp6(1),e.lnq(" ",t.section,": ",t.value,"",o?"":",","")}}function Rf(n,s){if(1&n&&(e.TgZ(0,"span"),e.YNc(1,Wd,3,3,"span",5),e.qZA()),2&n){const t=e.oxw().value;e.xp6(1),e.Q6J("ngForOf",t)}}function yp(n,s){1&n&&e.YNc(0,Rf,2,1,"span",4),2&n&&e.Q6J("ngIf",s.value)}let Lc=(()=>{class n extends It.o{constructor(t,o,l){super(),this.authStorageService=t,this.configurationService=o,this.actionLabels=l,this.data=[],this.icons=wo.P,this.selection=new _n.r,this.filters=[{name:"Level",prop:"level",filterOptions:["basic","advanced","dev"],filterInitValue:"basic",filterPredicate:(x,N)=>{let V;var oe;return(oe=V||(V={}))[oe.basic=0]="basic",oe[oe.advanced=1]="advanced",oe[oe.dev=2]="dev",V[x.level]<=V[N]}},{name:"Service",prop:"services",filterOptions:["mon","mgr","osd","mds","common","mds_client","rgw"],filterPredicate:(x,N)=>x.services.includes(N)},{name:"Source",prop:"source",filterOptions:["mon"],filterPredicate:(x,N)=>!!x.hasOwnProperty("source")&&x.source.includes(N)},{name:"Modified",prop:"modified",filterOptions:["yes","no"],filterPredicate:(x,N)=>!!("yes"===N&&x.hasOwnProperty("value")||"no"===N&&!x.hasOwnProperty("value"))}],this.permission=this.authStorageService.getPermissions().configOpt;const _=()=>this.selection.first()&&`${encodeURIComponent(this.selection.first().name)}`;this.tableActions=[{permission:"update",icon:wo.P.edit,routerLink:()=>`/configuration/edit/${_()}`,name:this.actionLabels.EDIT,disable:()=>!this.isEditable(this.selection)}]}ngOnInit(){this.columns=[{canAutoResize:!0,prop:"name",name:"Name"},{prop:"desc",name:"Description",cellClass:"wrap"},{prop:"value",name:"Current value",cellClass:"wrap",cellTemplate:this.confValTpl},{prop:"default",name:"Default",cellClass:"wrap"},{prop:"can_update_at_runtime",name:"Editable",cellTransformation:Ht.e.checkIcon,flexGrow:.4,cellClass:"text-center"}]}updateSelection(t){this.selection=t}getConfigurationList(t){this.configurationService.getConfigData().subscribe(o=>{this.data=o},()=>{t.error()})}isEditable(t){return 1===t.selected.length&&t.selected[0].can_update_at_runtime}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Vi.j),e.Y36(Fc.e),e.Y36(Mo.p4))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-configuration"]],viewQuery:function(t,o){if(1&t&&(e.Gf(Vu,7),e.Gf(fc,5)),2&t){let l;e.iGM(l=e.CRH())&&(o.confValTpl=l.first),e.iGM(l=e.CRH())&&(o.confFlagTpl=l.first)}},features:[e.qOj],decls:5,vars:8,consts:[["selectionType","single",3,"data","columns","extraFilterableColumns","hasDetails","fetchData","setExpandedRow","updateSelection"],[1,"table-actions",3,"permission","selection","tableActions"],["cdTableDetail","",3,"selection"],["confValTpl",""],[4,"ngIf"],[4,"ngFor","ngForOf"]],template:function(t,o){1&t&&(e.TgZ(0,"cd-table",0),e.NdJ("fetchData",function(_){return o.getConfigurationList(_)})("setExpandedRow",function(_){return o.setExpandedRow(_)})("updateSelection",function(_){return o.updateSelection(_)}),e._UZ(1,"cd-table-actions",1)(2,"cd-configuration-details",2),e.qZA(),e.YNc(3,yp,1,1,"ng-template",null,3,e.W1O)),2&t&&(e.Q6J("data",o.data)("columns",o.columns)("extraFilterableColumns",o.filters)("hasDetails",!0),e.xp6(1),e.Q6J("permission",o.permission)("selection",o.selection)("tableActions",o.tableActions),e.xp6(1),e.Q6J("selection",o.expandedRow))},directives:[Tr.a,Tu.K,ap,p.O5,p.sg],styles:[".filter[_ngcontent-%COMP%]{padding-right:8px}.fa-stack[_ngcontent-%COMP%]{font-size:.79rem}.fa-stack[_ngcontent-%COMP%]   .fa-stack-1x[_ngcontent-%COMP%]{margin-left:8px;margin-top:5px}  cd-configuration datatable-body-cell.wrap{word-break:break-all}"]}),n})();var Fu=i(35758),od=i(68939),rc=i(25917),Oa=i(88002),zc=i(42145),sd=i(548),lp=i(95242),$d=i(34022);function pu(n,s,t){return 0===t?[s]:(n.push(s),n)}function $l(){return function vo(n,s){return arguments.length>=2?function(o){return(0,$d.z)((0,zc.R)(n,s),(0,sd.h)(1),(0,lp.d)(s))(o)}:function(o){return(0,$d.z)((0,zc.R)((l,_,C)=>n(l,_,C+1)),(0,sd.h)(1))(o)}}(pu,[])}var Ac=i(19773),ga=i(76189),Dc=i(51295);let Lu=(()=>{class n{calculateAdditionalData(t){if(!t.life_expectancy_min||!t.life_expectancy_max)return t.state="unknown",t;const o=N=>!!Number.parseFloat(N),l=(N,V)=>N&&V&&o(N)&&o(V)?ls().duration(ls()(N).diff(ls()(V))).asWeeks():null,_=ls().duration(ls()(ls().now()).diff(ls()(t.life_expectancy_stamp))).asWeeks(),C=l(t.life_expectancy_max,t.life_expectancy_stamp),x=l(t.life_expectancy_min,t.life_expectancy_stamp);return t.state=_>1?"stale":null!==C&&C<=2?"bad":null!==x&&x<=4?"warning":"good",t.life_expectancy_weeks={max:null!==C?Math.round(C):null,min:null!==x?Math.round(x):null},t}readable(t){return t.readableDaemons=t.daemons.join(" "),t}prepareDevice(t){return this.readable(this.calculateAdditionalData(t))}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),bc=(()=>{class n extends ga.S{constructor(t,o){super(),this.http=t,this.deviceService=o,this.baseURL="api/host",this.baseUIURL="ui-api/host",this.predefinedLabels=["mon","mgr","osd","mds","rgw","nfs","iscsi","rbd","grafana"]}list(t){return this.http.get(this.baseURL,{headers:{Accept:this.getVersionHeaderValue(1,2)},params:{facts:t}})}create(t,o,l,_){return this.http.post(this.baseURL,{hostname:t,addr:o,labels:l,status:_},{observe:"response",headers:{Accept:Dc.T.cdVersionHeader("0","1")}})}delete(t){return this.http.delete(`${this.baseURL}/${t}`,{observe:"response"})}getDevices(t){return this.http.get(`${this.baseURL}/${t}/devices`).pipe((0,Oa.U)(o=>o.map(l=>this.deviceService.prepareDevice(l))))}getSmartData(t){return this.http.get(`${this.baseURL}/${t}/smart`)}getDaemons(t){return this.http.get(`${this.baseURL}/${t}/daemons`)}getLabels(){return this.http.get(`${this.baseUIURL}/labels`)}update(t,o=!1,l=[],_=!1,C=!1,x=!1){return this.http.put(`${this.baseURL}/${t}`,{update_labels:o,labels:l,maintenance:_,force:C,drain:x},{headers:{Accept:this.getVersionHeaderValue(0,1)}})}identifyDevice(t,o,l){return this.http.post(`${this.baseURL}/${t}/identify_device`,{device:o,duration:l})}getInventoryParams(t){let o=new g.LE;return t&&(o=o.append("refresh",Sr().toString(t))),o}getInventory(t,o){const l=this.getInventoryParams(o);return this.http.get(`${this.baseURL}/${t}/inventory`,{params:l})}inventoryList(t){const o=this.getInventoryParams(t);return this.http.get(`${this.baseUIURL}/inventory`,{params:o})}inventoryDeviceList(t,o){let l;return l=t?this.getInventory(t,o).pipe($l()):this.inventoryList(o),l.pipe((0,Ac.zg)(_=>{const C=Sr().flatMap(_,x=>x.devices.map(N=>(N.hostname=x.name,N.uid=N.device_id?`${N.device_id}-${N.hostname}-${N.path}`:`${N.hostname}-${N.path}`,N)));return(0,rc.of)(C)}))}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(g.eN),e.LFG(Lu))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ic=(()=>{class n{constructor(t,o){this.http=t,this.deviceService=o,this.path="api/osd",this.uiPath="ui-api/osd",this.osdDevices=[],this.osdRecvSpeedModalPriorities={KNOWN_PRIORITIES:[{name:null,text:"-- Select the priority --",values:{osd_max_backfills:null,osd_recovery_max_active:null,osd_recovery_max_single_start:null,osd_recovery_sleep:null}},{name:"low",text:"Low",values:{osd_max_backfills:1,osd_recovery_max_active:1,osd_recovery_max_single_start:1,osd_recovery_sleep:.5}},{name:"default",text:"Default",values:{osd_max_backfills:1,osd_recovery_max_active:3,osd_recovery_max_single_start:1,osd_recovery_sleep:0}},{name:"high",text:"High",values:{osd_max_backfills:4,osd_recovery_max_active:4,osd_recovery_max_single_start:4,osd_recovery_sleep:0}}]}}create(t,o,l="drive_groups"){return this.http.post(this.path,{method:l,data:t,tracking_id:o},{observe:"response"})}getList(){return this.http.get(`${this.path}`)}getOsdSettings(){return this.http.get(`${this.path}/settings`,{headers:{Accept:"application/vnd.ceph.api.v0.1+json"}})}getDetails(t){return this.http.get(`${this.path}/${t}`)}getSmartData(t){return this.http.get(`${this.path}/${t}/smart`)}scrub(t,o){return this.http.post(`${this.path}/${t}/scrub?deep=${o}`,null)}getDeploymentOptions(){return this.http.get(`${this.uiPath}/deployment_options`)}getFlags(){return this.http.get(`${this.path}/flags`)}updateFlags(t){return this.http.put(`${this.path}/flags`,{flags:t})}updateIndividualFlags(t,o){return this.http.put(`${this.path}/flags/individual`,{flags:t,ids:o})}markOut(t){return this.http.put(`${this.path}/${t}/mark`,{action:"out"})}markIn(t){return this.http.put(`${this.path}/${t}/mark`,{action:"in"})}markDown(t){return this.http.put(`${this.path}/${t}/mark`,{action:"down"})}reweight(t,o){return this.http.post(`${this.path}/${t}/reweight`,{weight:o})}update(t,o){return this.http.put(`${this.path}/${t}`,{device_class:o})}markLost(t){return this.http.put(`${this.path}/${t}/mark`,{action:"lost"})}purge(t){return this.http.post(`${this.path}/${t}/purge`,null)}destroy(t){return this.http.post(`${this.path}/${t}/destroy`,null)}delete(t,o,l){return this.http.delete(`${this.path}/${t}`,{observe:"response",params:{preserve_id:o?"true":"false",force:l?"true":"false"}})}safeToDestroy(t){return this.http.get(`${this.path}/safe_to_destroy?ids=${t}`)}safeToDelete(t){return this.http.get(`${this.path}/safe_to_delete?svc_ids=${t}`)}getDevices(t){return this.http.get(`${this.path}/${t}/devices`).pipe((0,Oa.U)(o=>o.map(l=>this.deviceService.prepareDevice(l))))}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(g.eN),e.LFG(Lu))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var Ql=i(76111),Sc=i(32337),Tc=i(26215);const Zu=[{stepIndex:1,isComplete:!1}];let hu=(()=>{class n{constructor(){this.currentStep$=new Tc.X(null),this.steps$=new Tc.X(Zu),this.currentStep$.next(this.steps$.value[0])}setTotalSteps(t){const o=[];for(let l=1;l<=t;l++)o.push({stepIndex:l,isComplete:!1});this.steps$=new Tc.X(o)}setCurrentStep(t){this.currentStep$.next(t)}getCurrentStep(){return this.currentStep$.asObservable()}getSteps(){return this.steps$.asObservable()}moveToNextStep(){this.currentStep$.next(this.steps$.value[this.currentStep$.value.stepIndex])}moveToPreviousStep(){this.currentStep$.next(this.steps$.value[this.currentStep$.value.stepIndex-1-1])}isLastStep(){return this.currentStep$.value.stepIndex===this.steps$.value.length}isFirstStep(){var t;return(null===(t=this.currentStep$.value)||void 0===t?void 0:t.stepIndex)-1==0}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var Wc=i(28211);class pc{constructor(){this.reset(),this.formatterService=new Wc.H,this.deviceSelectionAttrs={"sys_api.vendor":{name:"vendor"},"sys_api.model":{name:"model"},device_id:{name:"device_id"},human_readable_type:{name:"rotational",formatter:s=>"hdd"===s.toLowerCase()},"sys_api.size":{name:"size",formatter:s=>this.formatterService.format_number(s,1024,["B","KB","MB","GB","TB","PB"]).replace(" ","")}}}reset(){this.spec={service_type:"osd",service_id:`dashboard-${Sr().now()}`}}setName(s){this.spec.service_id=s}setHostPattern(s){this.spec.host_pattern=s}setDeviceSelection(s,t){const o=`${s}_devices`;this.spec[o]={},t.forEach(l=>{const _=this.deviceSelectionAttrs[l.prop];_&&(this.spec[o][_.name]=_.formatter?_.formatter(l.value.raw):l.value.raw)})}clearDeviceSelection(s){delete this.spec[`${s}_devices`]}setSlots(s,t){const o=`${s}_slots`;0===t?delete this.spec[o]:this.spec[o]=t}setFeature(s,t){t?this.spec[s]=!0:delete this.spec[s]}}let Jd=(()=>{class n{constructor(t){this.http=t,this.baseURL="api/cluster"}getStatus(){return this.http.get(`${this.baseURL}`,{headers:{Accept:"application/vnd.ceph.api.v0.1+json"}})}updateStatus(t){return this.http.put(`${this.baseURL}`,{status:t},{headers:{Accept:"application/vnd.ceph.api.v0.1+json"}})}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(g.eN))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Jc=function(n){return{active:n}};function Nl(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"ul",4)(1,"li",5)(2,"a",6),e.NdJ("click",function(){const _=e.CHM(t).$implicit;return e.oxw().onStepClick(_)}),e.TgZ(3,"span",7),e.SDv(4,8),e.qZA(),e.TgZ(5,"span"),e.SDv(6,9),e.qZA()()()()}if(2&n){const t=s.$implicit,o=s.index,l=e.oxw();e.xp6(2),e.Q6J("ngClass",e.VKq(4,Jc,l.currentStep.stepIndex===t.stepIndex)),e.xp6(1),e.Q6J("ngClass",e.VKq(6,Jc,l.currentStep.stepIndex===t.stepIndex)),e.xp6(1),e.pQV(t.stepIndex),e.QtT(4),e.xp6(2),e.pQV(l.stepsTitle[o]),e.QtT(6)}}let Uc=(()=>{class n{constructor(t){this.stepsService=t}ngOnInit(){this.stepsService.setTotalSteps(this.stepsTitle.length),this.steps=this.stepsService.getSteps(),this.currentStepSub=this.stepsService.getCurrentStep().subscribe(t=>{this.currentStep=t})}onStepClick(t){this.stepsService.setCurrentStep(t)}ngOnDestroy(){this.currentStepSub.unsubscribe()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(hu))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-wizard"]],inputs:{stepsTitle:"stepsTitle"},decls:5,vars:3,consts:function(){let s,t;return s="" + "\ufffd0\ufffd" + "",t="" + "\ufffd0\ufffd" + "",[[1,"card-body"],[1,"row","m-7"],[1,"col"],["class","nav nav-pills flex-column",4,"ngFor","ngForOf"],[1,"nav","nav-pills","flex-column"],[1,"nav-item"],[1,"nav-link",3,"ngClass","click"],[1,"circle-step",3,"ngClass"],s,t]},template:function(t,o){1&t&&(e.TgZ(0,"div",0)(1,"div",1)(2,"nav",2),e.YNc(3,Nl,7,8,"ul",3),e.ALo(4,"async"),e.qZA()()()),2&t&&(e.xp6(3),e.Q6J("ngForOf",e.lcZ(4,1,o.steps)))},directives:[p.sg,p.mk],pipes:[p.Ov],styles:["cd-wizard{width:15%}.card-body[_ngcontent-%COMP%]{padding-left:0}span.circle-step[_ngcontent-%COMP%]{background:#adb5bd;border-radius:.8em;color:#fff;display:inline-block;font-weight:700;line-height:1.6em;margin-right:5px;text-align:center;width:1.6em}span.circle-step.active[_ngcontent-%COMP%]{background-color:#25828e}.nav-pills[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{background-color:#fff;color:#343a40}.nav-pills[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]{color:#25828e}"]}),n})();var oc=i(13464);let h=(()=>{class n{constructor(t){this.http=t,this.url="ui-api/orchestrator",this.disableMessages={noOrchestrator:"The feature is disabled because Orchestrator is not available.",missingFeature:"The Orchestrator backend doesn't support this feature."}}status(){return this.http.get(`${this.url}/status`)}hasFeature(t,o){return Sr().every(o,l=>Sr().get(t.features,`${l}.available`))}getTableActionDisableDesc(t,o){return!!t&&(t.available?!this.hasFeature(t,o)&&this.disableMessages.missingFeature:this.disableMessages.noOrchestrator)}getName(){return this.http.get(`${this.url}/get_name`)}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(g.eN))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var E=i(7022),P=(()=>{return(n=P||(P={})).HOST_LIST="get_hosts",n.HOST_ADD="add_host",n.HOST_REMOVE="remove_host",n.HOST_LABEL_ADD="add_host_label",n.HOST_LABEL_REMOVE="remove_host_label",n.HOST_MAINTENANCE_ENTER="enter_host_maintenance",n.HOST_MAINTENANCE_EXIT="exit_host_maintenance",n.HOST_FACTS="get_facts",n.HOST_DRAIN="drain_host",n.SERVICE_LIST="describe_service",n.SERVICE_CREATE="apply",n.SERVICE_EDIT="apply",n.SERVICE_DELETE="remove_service",n.SERVICE_RELOAD="service_action",n.DAEMON_LIST="list_daemons",n.OSD_GET_REMOVE_STATUS="remove_osds_status",n.OSD_CREATE="apply_drivegroups",n.OSD_DELETE="remove_osds",n.DEVICE_LIST="get_inventory",n.DEVICE_BLINK_LIGHT="blink_device_light",P;var n})(),L=i(41039),X=i(51847),de=i(33512),ve=i.n(de),Ye=i(60312),xe=i(18372),nt=i(82945),St=i(60192),Mt=i(10545);function fn(n,s){1&n&&(e.TgZ(0,"span",24),e.SDv(1,25),e.qZA())}function jn(n,s){1&n&&(e.TgZ(0,"span",24),e.SDv(1,26),e.qZA())}function Vn(n,s){1&n&&(e.TgZ(0,"span",24),e.SDv(1,30),e.qZA())}function fr(n,s){if(1&n&&(e.TgZ(0,"div",8)(1,"label",27),e.SDv(2,28),e.qZA(),e.TgZ(3,"div",15),e._UZ(4,"input",29),e.YNc(5,Vn,2,0,"span",17),e.qZA()()),2&n){e.oxw();const t=e.MAs(2),o=e.oxw();e.xp6(5),e.Q6J("ngIf",o.hostForm.showError("addr",t,"pattern"))}}function $r(n,s){1&n&&(e.TgZ(0,"div",8)(1,"div",31)(2,"div",32),e._UZ(3,"input",33),e.TgZ(4,"label",34),e.SDv(5,35),e.qZA()()()())}function Ui(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div")(1,"form",5,6)(3,"div",7)(4,"div",8)(5,"label",9),e.ynx(6),e.SDv(7,10),e.BQk(),e.TgZ(8,"cd-helper")(9,"p"),e.SDv(10,11),e.qZA(),e.TgZ(11,"ul")(12,"li"),e.tHW(13,12),e._UZ(14,"samp"),e.N_p(),e.qZA(),e.TgZ(15,"li"),e.tHW(16,13),e._UZ(17,"samp"),e.N_p(),e.qZA(),e.TgZ(18,"li"),e.tHW(19,14),e._UZ(20,"samp"),e.N_p(),e.qZA()()()(),e.TgZ(21,"div",15)(22,"input",16),e.NdJ("keyup",function(){return e.CHM(t),e.oxw().checkHostNameValue()}),e.qZA(),e.YNc(23,fn,2,0,"span",17),e.YNc(24,jn,2,0,"span",17),e.qZA()(),e.YNc(25,fr,6,1,"div",18),e.TgZ(26,"div",8)(27,"label",19),e.SDv(28,20),e.qZA(),e.TgZ(29,"div",15),e._UZ(30,"cd-select-badges",21),e.qZA()(),e.YNc(31,$r,6,0,"div",18),e.qZA(),e.TgZ(32,"div",22)(33,"cd-form-button-panel",23),e.NdJ("submitActionEvent",function(){return e.CHM(t),e.oxw().submit()}),e.ALo(34,"titlecase"),e.ALo(35,"upperFirst"),e.qZA()()()()}if(2&n){const t=e.MAs(2),o=e.oxw();e.xp6(1),e.Q6J("formGroup",o.hostForm),e.xp6(22),e.Q6J("ngIf",o.hostForm.showError("hostname",t,"required")),e.xp6(1),e.Q6J("ngIf",o.hostForm.showError("hostname",t,"uniqueName")),e.xp6(1),e.Q6J("ngIf",!o.hostPattern),e.xp6(5),e.Q6J("data",o.hostForm.controls.labels.value)("options",o.labelsOption)("customBadges",!0)("messages",o.messages),e.xp6(1),e.Q6J("ngIf",!o.hideMaintenance),e.xp6(2),e.Q6J("form",o.hostForm)("submitText",e.lcZ(34,11,o.action)+" "+e.lcZ(35,13,o.resource))}}let is=(()=>{class n extends Ul.E{constructor(t,o,l,_,C){super(),this.router=t,this.actionLabels=o,this.hostService=l,this.taskWrapper=_,this.activeModal=C,this.hostnameArray=[],this.hostPattern=!1,this.labelsOption=[],this.messages=new E.a({empty:"There are no labels.",filter:"Filter or add labels",add:"Add label"}),this.resource="host",this.action=this.actionLabels.ADD}ngOnInit(){this.router.url.includes("hosts")&&(this.pageURL="hosts"),this.createForm(),this.hostService.list("false").subscribe(t=>{this.hostnames=t.map(o=>o.hostname),this.loadingReady()}),this.hostService.getLabels().subscribe(t=>{const o=new Set(t.concat(this.hostService.predefinedLabels));this.labelsOption=Array.from(o).map(l=>({enabled:!0,name:l,selected:!1,description:null}))})}checkHostNameValue(){this.hostPattern=!!this.hostForm.get("hostname").value.match(/[()\[\]{},]/g)}createForm(){this.hostForm=new nc.d({hostname:new En.NI("",{validators:[En.kI.required,Ae.h.custom("uniqueName",t=>this.hostnames&&-1!==this.hostnames.indexOf(t))]}),addr:new En.NI("",{validators:[Ae.h.ip()]}),labels:new En.NI([]),maintenance:new En.NI(!1)})}isCommaSeparatedPattern(t){return t.includes(",")}isRangeTypePattern(t){return t.includes("[")&&t.includes("]")&&!t.match(/(?![^(]*\)),/g)}replaceBraces(t){return t.replace(/(\d)\s*-\s*(\d)/g,"$1..$2").replace(/\(/g,"{").replace(/\)/g,"}").replace(/\[/g,"{").replace(/]/g,"}")}checkHostNamePattern(t){if(this.isRangeTypePattern(t)){const o=this.replaceBraces(t);this.hostnameArray=ve()(o)}else if(this.isCommaSeparatedPattern(t)){let o=[];o=t.split(","),o.forEach(l=>{if(this.isRangeTypePattern(l)){const _=this.replaceBraces(l);this.hostnameArray=this.hostnameArray.concat(ve()(_))}else this.hostnameArray.push(l)})}else this.hostnameArray.push(t)}submit(){const t=this.hostForm.get("hostname").value;this.checkHostNamePattern(t),this.addr=this.hostForm.get("addr").value,this.status=this.hostForm.get("maintenance").value?"maintenance":"",this.allLabels=this.hostForm.get("labels").value,"hosts"!==this.pageURL&&!this.allLabels.includes("_no_schedule")&&this.allLabels.push("_no_schedule"),this.hostnameArray.forEach(o=>{this.taskWrapper.wrapTaskAroundCall({task:new Ql.R("host/"+Mo.MQ.ADD,{hostname:o}),call:this.hostService.create(o,this.addr,this.allLabels,this.status)}).subscribe({error:()=>{this.hostForm.setErrors({cdSubmitButton:!0})},complete:()=>{"hosts"===this.pageURL?this.router.navigate([this.pageURL,{outlets:{modal:null}}]):this.activeModal.close()}})})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Io.F0),e.Y36(Mo.p4),e.Y36(bc),e.Y36(Sc.P),e.Y36(Pr.Kz))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-host-form"]],features:[e.qOj],decls:7,vars:9,consts:function(){let s,t,o,l,_,C,x,N,V,Q,oe,le;return s="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",t="Hostname",o="To add multiple hosts at once, you can enter:",l="a comma-separated list of hostnames " + "\ufffd#14\ufffd" + "(e.g.: example-01,example-02,example-03)" + "\ufffd/#14\ufffd" + ",",_="a range expression " + "\ufffd#17\ufffd" + "(e.g.: example-[01-03].ceph)" + "\ufffd/#17\ufffd" + ",",C="a comma separated range expression " + "\ufffd#20\ufffd" + "(e.g.: example-[01-05].lab.com,example2-[1-4].lab.com,example3-[001-006].lab.com)" + "\ufffd/#20\ufffd" + "",x="Labels",N="This field is required.",V="The chosen hostname is already in use.",Q="Network address",oe="The value is not a valid IP address.",le="Maintenance Mode",[[3,"pageURL","modalRef"],[1,"modal-title"],s,[1,"modal-content"],[4,"cdFormLoading"],["name","hostForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","hostname",1,"cd-col-form-label","required"],t,o,l,_,C,[1,"cd-col-form-input"],["type","text","placeholder","mon-123","id","hostname","name","hostname","formControlName","hostname","autofocus","",1,"form-control",3,"keyup"],["class","invalid-feedback",4,"ngIf"],["class","form-group row",4,"ngIf"],["for","labels",1,"cd-col-form-label"],x,["id","labels",3,"data","options","customBadges","messages"],[1,"modal-footer"],["wrappingClass","text-right",3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],N,V,["for","addr",1,"cd-col-form-label"],Q,["type","text","placeholder","192.168.0.1","id","addr","name","addr","formControlName","addr",1,"form-control"],oe,[1,"cd-col-form-offset"],[1,"custom-control","custom-checkbox"],["id","maintenance","type","checkbox","formControlName","maintenance",1,"custom-control-input"],["for","maintenance",1,"custom-control-label"],le]},template:function(t,o){1&t&&(e.TgZ(0,"cd-modal",0)(1,"span",1),e.SDv(2,2),e.ALo(3,"titlecase"),e.ALo(4,"upperFirst"),e.qZA(),e.ynx(5,3),e.YNc(6,Ui,36,15,"div",4),e.BQk(),e.qZA()),2&t&&(e.Q6J("pageURL",o.pageURL)("modalRef",o.activeModal),e.xp6(4),e.pQV(e.lcZ(3,5,o.action))(e.lcZ(4,7,o.resource)),e.QtT(2),e.xp6(2),e.Q6J("cdFormLoading",o.loading))},directives:[Ye.z,cu.y,En._Y,En.JL,Ma.V,En.sg,ll.P,xe.S,ge.o,En.Fj,Ll.b,En.JJ,En.u,nt.U,p.O5,St.m,En.Wl,Ml.p],pipes:[p.rS,Mt.m],styles:[""]}),n})();var yo=i(34501);let Zs=(()=>{class n{constructor(){this.cssClasses=["badge-cd-label-green","badge-cd-label-cyan","badge-cd-label-purple","badge-cd-label-light-blue","badge-cd-label-gold","badge-cd-label-light-green"]}transform(t){let o=0,l=0;if(t)for(let _=0;_<t.length;_++)l=t.charCodeAt(_),o=Math.abs((o<<5)-o+l);return this.cssClasses[o%this.cssClasses.length]}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275pipe=e.Yjl({name:"colorClassFromText",type:n,pure:!0}),n})();function qs(n,s){if(1&n&&(e.TgZ(0,"span",2),e.ALo(1,"colorClassFromText"),e._uU(2),e.qZA()),2&n){const t=e.oxw();e.Gre("badge badge-",t.value,""),e.s9C("ngClass",e.lcZ(1,5,t.value)),e.xp6(2),e.hij(" ",t.value,"\n")}}function el(n,s){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw();e.MT6("badge badge-background-primary badge-",t.key,"-",t.value,""),e.xp6(1),e.AsE(" ",t.key,": ",t.value," ")}}let $a=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-label"]],inputs:{key:"key",value:"value"},decls:3,vars:2,consts:[[3,"class","ngClass",4,"ngIf","ngIfElse"],["key_value",""],[3,"ngClass"]],template:function(t,o){if(1&t&&(e.YNc(0,qs,3,7,"span",0),e.YNc(1,el,2,6,"ng-template",null,1,e.W1O)),2&t){const l=e.MAs(2);e.Q6J("ngIf",!o.key)("ngIfElse",l)}},directives:[p.O5,p.mk],pipes:[Zs],styles:[""]}),n})();var Ga=i(55657);const wa=["deviceLocation"],Gl=["daemonName"],_u=["lifeExpectancy"],Va=["lifeExpectancyTimestamp"];function Mu(n,s){if(1&n&&e._UZ(0,"cd-table",8),2&n){const t=e.oxw();e.Q6J("data",t.devices)("columns",t.columns)}}function ku(n,s){1&n&&(e.TgZ(0,"cd-alert-panel",9),e.SDv(1,10),e.qZA())}function xc(n,s){if(1&n&&e._UZ(0,"cd-label",13),2&n){const t=e.oxw().$implicit;e.Q6J("value",t.dev)}}function Ou(n,s){if(1&n&&(e.ynx(0),e.YNc(1,xc,1,1,"cd-label",12),e.BQk()),2&n){const t=s.$implicit,o=e.oxw(2);e.xp6(1),e.Q6J("ngIf",t.host===o.hostname)}}function Qd(n,s){1&n&&e.YNc(0,Ou,2,1,"ng-container",11),2&n&&e.Q6J("ngForOf",s.value)}const il=function(n){return{daemons:n}};function K(n,s){if(1&n&&e.GkF(0,14),2&n){const t=s.value,o=e.oxw(),l=e.MAs(7),_=e.MAs(9);e.Q6J("ngTemplateOutlet",null!==o.osdId?l:_)("ngTemplateOutletContext",e.VKq(2,il,t))}}function be(n,s){if(1&n&&e._UZ(0,"cd-label",13),2&n){const t=e.oxw().$implicit;e.Q6J("value",t)}}function lt(n,s){if(1&n&&(e.ynx(0),e.YNc(1,be,1,1,"cd-label",12),e.BQk()),2&n){const t=s.$implicit,o=e.oxw(2);e.xp6(1),e.Q6J("ngIf",t.includes(o.osdId))}}function wt(n,s){1&n&&e.YNc(0,lt,2,1,"ng-container",11),2&n&&e.Q6J("ngForOf",s.daemons)}function ln(n,s){if(1&n&&(e.ynx(0),e._UZ(1,"cd-label",15),e.BQk()),2&n){const t=s.$implicit;e.xp6(1),e.Q6J("value",t)}}function Dr(n,s){1&n&&e.YNc(0,ln,2,1,"ng-container",11),2&n&&e.Q6J("ngForOf",s.daemons)}function Ai(n,s){1&n&&(e.TgZ(0,"span"),e.SDv(1,17),e.ALo(2,"notAvailable"),e.qZA()),2&n&&(e.xp6(2),e.pQV(e.lcZ(2,1,"")),e.QtT(1))}function gs(n,s){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"i18nPlural"),e.qZA()),2&n){const t=e.oxw().value,o=e.oxw();e.xp6(1),e.hij("> ",e.xi3(2,1,t.min,o.translationMapping),"")}}function Aa(n,s){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"i18nPlural"),e.qZA()),2&n){const t=e.oxw().value,o=e.oxw();e.xp6(1),e.hij("< ",e.xi3(2,1,t.max,o.translationMapping),"")}}function ca(n,s){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"i18nPlural"),e.qZA()),2&n){const t=e.oxw().value,o=e.oxw();e.xp6(1),e.AsE("",t.min," to ",e.xi3(2,2,t.max,o.translationMapping),"")}}function Dl(n,s){if(1&n&&(e.YNc(0,Ai,3,3,"span",16),e.YNc(1,gs,3,4,"span",16),e.YNc(2,Aa,3,4,"span",16),e.YNc(3,ca,3,5,"span",16)),2&n){const t=s.value;e.Q6J("ngIf",!t.life_expectancy_enabled),e.xp6(1),e.Q6J("ngIf",t.min&&!t.max),e.xp6(1),e.Q6J("ngIf",t.max&&!t.min),e.xp6(1),e.Q6J("ngIf",t.max&&t.min)}}function Yl(n,s){1&n&&e._uU(0),2&n&&e.hij(" ",s.value,"\n")}let Yc=(()=>{class n{constructor(t,o,l){this.hostService=t,this.datePipe=o,this.osdService=l,this.hostname="",this.osdId=null,this.osdList=!1,this.devices=null,this.columns=[],this.translationMapping={"=1":"# week",other:"# weeks"}}ngOnInit(){this.columns=[{prop:"devid",name:"Device ID",minWidth:200},{prop:"state",name:"State of Health",flexGrow:1,cellTransformation:Ht.e.badge,customTemplateConfig:{map:{good:{value:"Good",class:"badge-success"},warning:{value:"Warning",class:"badge-warning"},bad:{value:"Bad",class:"badge-danger"},stale:{value:"Stale",class:"badge-info"},unknown:{value:"Unknown",class:"badge-dark"}}}},{prop:"life_expectancy_weeks",name:"Life Expectancy",cellTemplate:this.lifeExpectancyTemplate},{prop:"life_expectancy_stamp",name:"Prediction Creation Date",cellTemplate:this.lifeExpectancyTimestampTemplate,pipe:this.datePipe,isHidden:!0},{prop:"location",name:"Device Name",cellTemplate:this.locationTemplate},{prop:"daemons",name:"Daemons",cellTemplate:this.daemonNameTemplate}]}ngOnChanges(){const t=o=>this.devices=o;this.osdList&&null!==this.osdId?this.osdService.getDevices(this.osdId).subscribe(t):this.hostname&&this.hostService.getDevices(this.hostname).subscribe(t)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(bc),e.Y36(p.uU),e.Y36(ic))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-device-list"]],viewQuery:function(t,o){if(1&t&&(e.Gf(wa,7),e.Gf(Gl,7),e.Gf(_u,7),e.Gf(Va,7)),2&t){let l;e.iGM(l=e.CRH())&&(o.locationTemplate=l.first),e.iGM(l=e.CRH())&&(o.daemonNameTemplate=l.first),e.iGM(l=e.CRH())&&(o.lifeExpectancyTemplate=l.first),e.iGM(l=e.CRH())&&(o.lifeExpectancyTimestampTemplate=l.first)}},inputs:{hostname:"hostname",osdId:"osdId",osdList:"osdList"},features:[e.TTD],decls:14,vars:2,consts:function(){let s,t;return s="Neither hostname nor OSD ID given",t="" + "\ufffd0\ufffd" + "",[[3,"data","columns",4,"ngIf"],["type","warning",4,"ngIf"],["deviceLocation",""],["daemonName",""],["osdIdDaemon",""],["readableDaemons",""],["lifeExpectancy",""],["lifeExpectancyTimestamp",""],[3,"data","columns"],["type","warning"],s,[4,"ngFor","ngForOf"],[3,"value",4,"ngIf"],[3,"value"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"me-1",3,"value"],[4,"ngIf"],t]},template:function(t,o){1&t&&(e.YNc(0,Mu,1,2,"cd-table",0),e.YNc(1,ku,2,0,"cd-alert-panel",1),e.YNc(2,Qd,1,1,"ng-template",null,2,e.W1O),e.YNc(4,K,1,4,"ng-template",null,3,e.W1O),e.YNc(6,wt,1,1,"ng-template",null,4,e.W1O),e.YNc(8,Dr,1,1,"ng-template",null,5,e.W1O),e.YNc(10,Dl,4,4,"ng-template",null,6,e.W1O),e.YNc(12,Yl,1,1,"ng-template",null,7,e.W1O)),2&t&&(e.Q6J("ngIf",o.hostname||null!==o.osdId),e.xp6(1),e.Q6J("ngIf",""===o.hostname&&null===o.osdId))},directives:[p.O5,Tr.a,yo.G,p.sg,$a,p.tP],pipes:[Ga.g,p.Gx],styles:[""]}),n})();var yf=i(30490);function Hd(n,s){1&n&&(e.TgZ(0,"cd-alert-panel",2),e.SDv(1,3),e.qZA())}function f_(n,s){1&n&&(e.TgZ(0,"cd-alert-panel",2),e.tHW(1,4),e._UZ(2,"cd-doc",5),e.N_p(),e.qZA())}let sh=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-orchestrator-doc-panel"]],inputs:{missingFeatures:"missingFeatures"},decls:3,vars:2,consts:function(){let s,t;return s="The feature is not supported in the current Orchestrator.",t="Orchestrator is not available. Please consult the " + "\ufffd#2\ufffd" + "" + "\ufffd/#2\ufffd" + " on how to configure and enable the functionality.",[["type","info",4,"ngIf","ngIfElse"],["elseBlock",""],["type","info"],s,t,["section","orch"]]},template:function(t,o){if(1&t&&(e.YNc(0,Hd,2,0,"cd-alert-panel",0),e.YNc(1,f_,3,0,"ng-template",null,1,e.W1O)),2&t){const l=e.MAs(2);e.Q6J("ngIf",o.missingFeatures)("ngIfElse",l)}},directives:[p.O5,yo.G,yf.K],styles:[""]}),n})(),Rc=(()=>{class n{constructor(t,o,l,_,C,x){this.authStorageService=t,this.dimlessBinary=o,this.modalService=l,this.notificationService=_,this.orchService=C,this.hostService=x,this.devices=[],this.showAvailDeviceOnly=!1,this.hiddenColumns=[],this.hostname="",this.diskType="",this.filterColumns=["hostname","human_readable_type","available","sys_api.vendor","sys_api.model","sys_api.size"],this.selectionType=void 0,this.filterChange=new e.vpe,this.fetchInventory=new e.vpe,this.icons=wo.P,this.columns=[],this.selection=new _n.r,this.orchStatus=void 0,this.actionOrchFeatures={identify:[P.DEVICE_BLINK_LIGHT]}}ngOnInit(){this.permission=this.authStorageService.getPermissions().osd,this.tableActions=[{permission:"update",icon:wo.P.show,click:()=>this.identifyDevice(),name:"Identify",disable:o=>this.getDisable("identify",o),canBePrimary:o=>!o.hasSingleSelection,visible:()=>Sr().isString(this.selectionType)}];const t=[{name:"Hostname",prop:"hostname",flexGrow:1},{name:"Device path",prop:"path",flexGrow:1},{name:"Type",prop:"human_readable_type",flexGrow:1,cellTransformation:Ht.e.badge,customTemplateConfig:{map:{hdd:{value:"HDD",class:"badge-hdd"},ssd:{value:"SSD",class:"badge-ssd"}}}},{name:"Available",prop:"available",flexGrow:1,cellClass:"text-center",cellTransformation:Ht.e.checkIcon},{name:"Vendor",prop:"sys_api.vendor",flexGrow:1},{name:"Model",prop:"sys_api.model",flexGrow:1},{name:"Size",prop:"sys_api.size",flexGrow:1,pipe:this.dimlessBinary},{name:"OSDs",prop:"osd_ids",flexGrow:1,cellTransformation:Ht.e.badge,customTemplateConfig:{class:"badge-dark",prefix:"osd."}}];this.columns=t.filter(o=>!this.hiddenColumns.includes(o.prop)),Sr().forEach(this.filterColumns,o=>{const l=Sr().find(this.columns,{prop:o});l&&(l.filterable=!0),"human_readable_type"===(null==l?void 0:l.prop)&&"ssd"===this.diskType&&(l.filterInitValue=this.diskType),"hostname"===(null==l?void 0:l.prop)&&this.hostname&&(l.filterInitValue=this.hostname)}),this.fetchInventory.observers.length>0&&(this.fetchInventorySub=this.table.fetchData.subscribe(()=>{this.fetchInventory.emit()}))}getDevices(){this.showAvailDeviceOnly?this.hostService.inventoryDeviceList().subscribe(t=>{this.devices=Sr().filter(t,"available"),this.devices=[...this.devices]},()=>{this.devices=[]}):this.devices=[...this.devices]}ngOnDestroy(){this.fetchInventorySub&&this.fetchInventorySub.unsubscribe()}onColumnFiltersChanged(t){this.filterChange.emit(t)}getDisable(t,o){return!o.hasSingleSelection||this.orchService.getTableActionDisableDesc(this.orchStatus,this.actionOrchFeatures[t])}updateSelection(t){this.selection=t}identifyDevice(){const t=this.selection.first(),o=t.hostname,l=t.path||t.device_id;this.modalService.show(Ze.X,{titleText:"Identify device " + l + "",message:"Please enter the duration how long to blink the LED.",fields:[{type:"select",name:"duration",value:300,required:!0,typeConfig:{options:[{text:"1 minute",value:60},{text:"2 minutes",value:120},{text:"5 minutes",value:300},{text:"10 minutes",value:600},{text:"15 minutes",value:900}]}}],submitButtonText:"Execute",onSubmit:_=>{this.hostService.identifyDevice(o,l,_.duration).subscribe(()=>{this.notificationService.show(Sa.k.success,"Identifying '" + l + "' started on host '" + o + "'")})}})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Vi.j),e.Y36(Rr.$),e.Y36(ou.Z),e.Y36(Tl.g),e.Y36(h),e.Y36(bc))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-inventory-devices"]],viewQuery:function(t,o){if(1&t&&e.Gf(Tr.a,7),2&t){let l;e.iGM(l=e.CRH())&&(o.table=l.first)}},inputs:{devices:"devices",showAvailDeviceOnly:"showAvailDeviceOnly",hiddenColumns:"hiddenColumns",hostname:"hostname",diskType:"diskType",filterColumns:"filterColumns",selectionType:"selectionType",orchStatus:"orchStatus"},outputs:{filterChange:"filterChange",fetchInventory:"fetchInventory"},decls:2,vars:8,consts:[["identifier","uid","columnMode","flex",3,"data","columns","forceIdentifier","selectionType","searchField","fetchData","updateSelection","columnFiltersChanged"],[1,"table-actions",3,"permission","selection","tableActions"]],template:function(t,o){1&t&&(e.TgZ(0,"cd-table",0),e.NdJ("fetchData",function(){return o.getDevices()})("updateSelection",function(_){return o.updateSelection(_)})("columnFiltersChanged",function(_){return o.onColumnFiltersChanged(_)}),e._UZ(1,"cd-table-actions",1),e.qZA()),2&t&&(e.Q6J("data",o.devices)("columns",o.columns)("forceIdentifier",!0)("selectionType",o.selectionType)("searchField",!1),e.xp6(1),e.Q6J("permission",o.permission)("selection",o.selection)("tableActions",o.tableActions))},directives:[Tr.a,Tu.K],styles:[".filter[_ngcontent-%COMP%]{padding-right:8px}.fa-stack[_ngcontent-%COMP%]{font-size:.79rem}.fa-stack[_ngcontent-%COMP%]   .fa-stack-1x[_ngcontent-%COMP%]{margin-left:8px;margin-top:5px}"]}),n})();function Xd(n,s){1&n&&e._UZ(0,"cd-orchestrator-doc-panel")}const Bd=function(){return[]},ah=function(){return["hostname"]};function Hp(n,s){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"legend"),e.SDv(2,1),e.qZA(),e.TgZ(3,"div",2)(4,"div",3)(5,"cd-inventory-devices",4),e.NdJ("fetchInventory",function(){return e.CHM(t),e.oxw().refresh()}),e.qZA()()(),e.BQk()}if(2&n){const t=e.oxw();e.xp6(5),e.Q6J("devices",t.devices)("hiddenColumns",void 0===t.hostname?e.DdM(3,Bd):e.DdM(4,ah))("orchStatus",t.orchStatus)}}let dl=(()=>{class n{constructor(t,o,l){this.orchService=t,this.hostService=o,this.ngZone=l,this.reloadInterval=5e3,this.firstRefresh=!0,this.icons=wo.P,this.showDocPanel=!1,this.devices=[]}ngOnInit(){this.orchService.status().subscribe(t=>{this.orchStatus=t,this.showDocPanel=!t.available,t.available&&this.ngZone.runOutsideAngular(()=>{this.reloadSubscriber=(0,ai.H)(this.reloadInterval,this.reloadInterval).subscribe(()=>{this.ngZone.run(()=>{this.getInventory(!1)})})})})}ngOnDestroy(){var t;null===(t=this.reloadSubscriber)||void 0===t||t.unsubscribe()}ngOnChanges(){var t;(null===(t=this.orchStatus)||void 0===t?void 0:t.available)&&(this.devices=[],this.getInventory(!1))}getInventory(t){""!==this.hostname&&this.hostService.inventoryDeviceList(this.hostname,t).subscribe(o=>{this.devices=o},()=>{this.devices=[]})}refresh(){this.getInventory(!this.firstRefresh),this.firstRefresh=!1}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(h),e.Y36(bc),e.Y36(e.R0b))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-inventory"]],inputs:{hostname:"hostname"},features:[e.TTD],decls:2,vars:2,consts:function(){let s;return s="Physical Disks",[[4,"ngIf"],s,[1,"row"],[1,"col-md-12"],["selectionType","single",3,"devices","hiddenColumns","orchStatus","fetchInventory"]]},template:function(t,o){1&t&&(e.YNc(0,Xd,1,0,"cd-orchestrator-doc-panel",0),e.YNc(1,Hp,6,5,"ng-container",0)),2&t&&(e.Q6J("ngIf",o.showDocPanel),e.xp6(1),e.Q6J("ngIf",null==o.orchStatus?null:o.orchStatus.available))},directives:[p.O5,sh,Rc],styles:[""]}),n})();var Uh=i(15257);let wf=class{constructor(s){this.http=s,this.url="api/daemon"}action(s,t){return this.http.put(`${this.url}/${s}`,{action:t,container_image:null},{headers:{Accept:"application/vnd.ceph.api.v0.1+json"},observe:"response"})}};wf.\u0275fac=function(s){return new(s||wf)(e.LFG(g.eN))},wf.\u0275prov=e.Yz7({token:wf,factory:wf.\u0275fac,providedIn:"root"}),wf=(0,Z.gn)([De.o,(0,Z.w6)("design:paramtypes",[g.eN])],wf);var Ed=i(90068);class ad{constructor(s){this.observable=s.pipe((0,Oa.U)(t=>{var o;return this.count=Number(null===(o=t.headers)||void 0===o?void 0:o.get("X-Total-Count")),t.body}))}}let Kl=(()=>{class n extends ga.S{constructor(t){super(),this.http=t,this.url="api/service"}list(t,o){const l={headers:{Accept:this.getVersionHeaderValue(2,0)},params:t,observe:"response"};return o&&(l.params=l.params.append("service_name",o)),new ad(this.http.get(this.url,l))}getDaemons(t){return this.http.get(`${this.url}/${t}/daemons`)}create(t){return this.http.post(this.url,{service_name:t.service_id?`${t.service_type}.${t.service_id}`:t.service_type,service_spec:t},{observe:"response"})}update(t){const o=t.service_id?`${t.service_type}.${t.service_id}`:t.service_type;return this.http.put(`${this.url}/${o}`,{service_name:o,service_spec:t},{observe:"response"})}delete(t){return this.http.delete(`${this.url}/${t}`,{observe:"response"})}getKnownTypes(){return this.http.get(`${this.url}/known_types`)}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(g.eN))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var up=i(37496);const ld=["statusTpl"],Yh=["listTpl"],lh=["cpuTpl"],Pf=["daemonsTable"];function Bp(n,s){1&n&&e._UZ(0,"cd-orchestrator-doc-panel")}function Ef(n,s){1&n&&e.GkF(0)}function sc(n,s){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,Ef,1,0,"ng-container",7),e.qZA()),2&n){e.oxw();const t=e.MAs(9);e.xp6(1),e.Q6J("ngTemplateOutlet",t)}}function bd(n,s){1&n&&e.GkF(0)}function Up(n,s){if(1&n&&e.YNc(0,bd,1,0,"ng-container",7),2&n){e.oxw(2);const t=e.MAs(9);e.Q6J("ngTemplateOutlet",t)}}function uh(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"cd-table",18,19),e.NdJ("fetchData",function(l){return e.CHM(t),e.oxw(3).getServices(l)}),e.qZA()}if(2&n){const t=e.oxw(3);e.Q6J("data",t.services)("columns",t.serviceColumns)}}function ch(n,s){if(1&n&&e.YNc(0,uh,2,2,"cd-table",17),2&n){const t=e.oxw(2);e.Q6J("ngIf",t.hasOrchestrator)}}function p_(n,s){if(1&n&&(e.ynx(0),e.TgZ(1,"nav",8,9),e.ynx(3,10),e.TgZ(4,"a",11),e.SDv(5,12),e.qZA(),e.YNc(6,Up,1,1,"ng-template",13),e.BQk(),e.ynx(7,14),e.TgZ(8,"a",11),e.SDv(9,15),e.qZA(),e.YNc(10,ch,1,1,"ng-template",13),e.BQk(),e.qZA(),e._UZ(11,"div",16),e.BQk()),2&n){const t=e.MAs(2);e.xp6(11),e.Q6J("ngbNavOutlet",t)}}function dh(n,s){if(1&n&&(e.TgZ(0,"span",20),e.ALo(1,"pipeFunction"),e._uU(2),e.qZA()),2&n){const t=s.row,o=e.oxw();e.Q6J("ngClass",e.xi3(1,2,t,o.getStatusClass)),e.xp6(2),e.hij(" ",t.status_desc," ")}}const bf=function(n){return[n]};function Sf(n,s){if(1&n&&(e.TgZ(0,"span"),e._UZ(1,"i",27),e.qZA()),2&n){const t=e.oxw(4);e.xp6(1),e.Q6J("ngClass",e.VKq(1,bf,t.icons.infoCircle))}}function Zf(n,s){if(1&n&&(e.TgZ(0,"span"),e._UZ(1,"i",27),e.qZA()),2&n){const t=e.oxw(4);e.xp6(1),e.Q6J("ngClass",e.VKq(1,bf,t.icons.warning))}}function Nf(n,s){if(1&n&&(e.TgZ(0,"li",25)(1,"b"),e._uU(2),e.ALo(3,"relativeDate"),e.qZA(),e.TgZ(4,"span",26),e._uU(5),e.qZA(),e._UZ(6,"br"),e.YNc(7,Sf,2,3,"span",0),e.YNc(8,Zf,2,3,"span",0),e._uU(9),e.qZA()),2&n){const t=s.$implicit;e.xp6(2),e.hij("",e.lcZ(3,5,t.created)," - "),e.xp6(3),e.Oqu(t.subject),e.xp6(2),e.Q6J("ngIf","INFO"===t.level),e.xp6(1),e.Q6J("ngIf","ERROR"===t.level),e.xp6(1),e.hij(" ",t.message," ")}}function Tf(n,s){if(1&n&&(e.TgZ(0,"ul",23),e.YNc(1,Nf,10,7,"li",24),e.qZA()),2&n){const t=e.oxw().value,o=e.oxw();e.xp6(1),e.Q6J("ngForOf",t)("ngForTrackBy",o.trackByFn)}}function Au(n,s){1&n&&(e.TgZ(0,"div",25)(1,"span"),e._uU(2,"No data available"),e.qZA()())}function If(n,s){if(1&n&&e.YNc(0,Au,3,0,"div",28),2&n){const t=e.oxw().value;e.Q6J("ngIf",0===(null==t?null:t.length))}}function jh(n,s){if(1&n&&(e.YNc(0,Tf,2,2,"ul",21),e.YNc(1,If,1,1,"ng-template",null,22,e.W1O)),2&n){const t=s.value,o=e.MAs(2);e.Q6J("ngIf",null==t?null:t.length)("ngIfElse",o)}}function Gh(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"cd-table",30,31),e.NdJ("fetchData",function(l){return e.CHM(t),e.oxw(2).getDaemons(l)})("updateSelection",function(l){return e.CHM(t),e.oxw(2).updateSelection(l)}),e._UZ(2,"cd-table-actions",32),e.qZA()}if(2&n){const t=e.oxw(2);e.Q6J("data",t.daemons)("columns",t.columns),e.xp6(2),e.Q6J("selection",t.selection)("permission",t.permissions.hosts)("tableActions",t.tableActions)}}function h_(n,s){if(1&n&&e.YNc(0,Gh,3,5,"cd-table",29),2&n){const t=e.oxw();e.Q6J("ngIf",t.hasOrchestrator)}}function fh(n,s){if(1&n&&e._UZ(0,"cd-usage-bar",33),2&n){const t=s.row,o=e.oxw();e.Q6J("total",o.total)("calculatePerc",!1)("used",t.cpu_percentage)("isBinary",!1)("warningThreshold",o.warningThreshold)("errorThreshold",o.errorThreshold)}}let Yp=(()=>{class n{constructor(t,o,l,_,C,x,N,V,Q,oe){this.hostService=t,this.cephServiceService=o,this.orchService=l,this.relativeDatePipe=_,this.dimlessBinary=C,this.actionLabels=x,this.authStorageService=N,this.daemonService=V,this.notificationService=Q,this.cdRef=oe,this.hiddenColumns=[],this.total=100,this.warningThreshold=.8,this.errorThreshold=.9,this.icons=wo.P,this.daemons=[],this.services=[],this.columns=[],this.serviceColumns=[],this.selection=new _n.r,this.hasOrchestrator=!1,this.showDocPanel=!1}ngOnInit(){this.permissions=this.authStorageService.getPermissions(),this.tableActions=[{permission:"update",icon:wo.P.start,click:()=>this.daemonAction("start"),name:this.actionLabels.START,disable:()=>this.actionDisabled("start")},{permission:"update",icon:wo.P.stop,click:()=>this.daemonAction("stop"),name:this.actionLabels.STOP,disable:()=>this.actionDisabled("stop")},{permission:"update",icon:wo.P.restart,click:()=>this.daemonAction("restart"),name:this.actionLabels.RESTART,disable:()=>this.actionDisabled("restart")},{permission:"update",icon:wo.P.deploy,click:()=>this.daemonAction("redeploy"),name:this.actionLabels.REDEPLOY,disable:()=>this.actionDisabled("redeploy")}],this.columns=[{name:"Hostname",prop:"hostname",flexGrow:2,filterable:!0},{name:"Daemon name",prop:"daemon_name",flexGrow:1,filterable:!0},{name:"Version",prop:"version",flexGrow:1,filterable:!0},{name:"Status",prop:"status_desc",flexGrow:1,filterable:!0,cellTemplate:this.statusTpl},{name:"Last Refreshed",prop:"last_refresh",pipe:this.relativeDatePipe,flexGrow:1},{name:"CPU Usage",prop:"cpu_percentage",flexGrow:1,cellTemplate:this.cpuTpl},{name:"Memory Usage",prop:"memory_usage",flexGrow:1,pipe:this.dimlessBinary,cellClass:"text-right"},{name:"Daemon Events",prop:"events",flexGrow:2,cellTemplate:this.listTpl}],this.serviceColumns=[{name:"Service Name",prop:"service_name",flexGrow:2,filterable:!0},{name:"Service Type",prop:"service_type",flexGrow:1,filterable:!0},{name:"Service Events",prop:"events",flexGrow:5,cellTemplate:this.listTpl}],this.orchService.status().subscribe(t=>{this.hasOrchestrator=t.available,this.showDocPanel=!t.available}),this.columns=this.columns.filter(t=>!this.hiddenColumns.includes(t.prop)),setTimeout(()=>{this.cdRef.detectChanges()},1e3)}ngOnChanges(){Sr().isUndefined(this.daemonsTable)||this.daemonsTable.reloadData()}ngAfterViewInit(){this.daemonsTableTplsSub=this.daemonsTableTpls.changes.subscribe(t=>{this.daemonsTable=t.first})}ngOnDestroy(){this.daemonsTableTplsSub&&this.daemonsTableTplsSub.unsubscribe(),this.serviceSub&&this.serviceSub.unsubscribe()}getStatusClass(t){return Sr().get({"-1":"badge-danger",0:"badge-warning",1:"badge-success"},t.status,"badge-dark")}getDaemons(t){let o;if(this.hostname)o=this.hostService.getDaemons(this.hostname);else{if(!this.serviceName)return void(this.daemons=[]);o=this.cephServiceService.getDaemons(this.serviceName)}o.subscribe(l=>{this.daemons=l,this.sortDaemonEvents()},()=>{this.daemons=[],t.error()})}sortDaemonEvents(){this.daemons.forEach(t=>{var o;null===(o=t.events)||void 0===o||o.sort((l,_)=>new Date(_.created).getTime()-new Date(l.created).getTime())})}getServices(t){this.serviceSub=this.cephServiceService.list(new g.LE({fromObject:{limit:-1,offset:0}}),this.serviceName).observable.subscribe(o=>{this.services=o},()=>{this.services=[],t.error()})}trackByFn(t,o){return o.created}updateSelection(t){this.selection=t}daemonAction(t){var o;this.daemonService.action(null===(o=this.selection.first())||void 0===o?void 0:o.daemon_name,t).pipe((0,Uh.q)(1)).subscribe({next:l=>{this.notificationService.show(Sa.k.success,`Daemon ${t} scheduled`,l.body.toString())},error:l=>{this.notificationService.show(Sa.k.error,"Daemon action failed",l.body.toString())}})}actionDisabled(t){var o;if(null===(o=this.selection)||void 0===o?void 0:o.hasSelection){const l=this.selection.selected[0];if("mon"===l.daemon_type||"mgr"===l.daemon_type)return!0;switch(t){case"start":if("running"===l.status_desc)return!0;break;case"stop":if("stopped"===l.status_desc)return!0}return!1}return!0}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(bc),e.Y36(Kl),e.Y36(h),e.Y36(Ed.h),e.Y36(Rr.$),e.Y36(Mo.p4),e.Y36(Vi.j),e.Y36(wf),e.Y36(Tl.g),e.Y36(e.sBO))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-service-daemon-list"]],viewQuery:function(t,o){if(1&t&&(e.Gf(ld,7),e.Gf(Yh,7),e.Gf(lh,7),e.Gf(Pf,5)),2&t){let l;e.iGM(l=e.CRH())&&(o.statusTpl=l.first),e.iGM(l=e.CRH())&&(o.listTpl=l.first),e.iGM(l=e.CRH())&&(o.cpuTpl=l.first),e.iGM(l=e.CRH())&&(o.daemonsTableTpls=l)}},inputs:{serviceName:"serviceName",hostname:"hostname",hiddenColumns:"hiddenColumns",flag:"flag"},features:[e.TTD],decls:12,vars:3,consts:function(){let s,t;return s="Daemons",t="Service Events",[[4,"ngIf"],[4,"ngIf","ngIfElse"],["serviceDetailsTpl",""],["statusTpl",""],["listTpl",""],["serviceDaemonDetailsTpl",""],["cpuTpl",""],[4,"ngTemplateOutlet"],["ngbNav","","cdStatefulTab","service-details",1,"nav-tabs"],["nav","ngbNav"],["ngbNavItem","details"],["ngbNavLink",""],s,["ngbNavContent",""],["ngbNavItem","service_events"],t,[3,"ngbNavOutlet"],["columnMode","flex",3,"data","columns","fetchData",4,"ngIf"],["columnMode","flex",3,"data","columns","fetchData"],["serviceTable",""],[1,"badge",3,"ngClass"],["class","list-group list-group-flush",4,"ngIf","ngIfElse"],["noEventsAvailable",""],[1,"list-group","list-group-flush"],["class","list-group-item",4,"ngFor","ngForOf","ngForTrackBy"],[1,"list-group-item"],[1,"badge","badge-info"],["aria-hidden","true",3,"ngClass"],["class","list-group-item",4,"ngIf"],["selectionType","single","columnMode","flex","identifier","daemon_name",3,"data","columns","fetchData","updateSelection",4,"ngIf"],["selectionType","single","columnMode","flex","identifier","daemon_name",3,"data","columns","fetchData","updateSelection"],["daemonsTable",""],["id","service-daemon-list-actions",1,"table-actions",3,"selection","permission","tableActions"],[3,"total","calculatePerc","used","isBinary","warningThreshold","errorThreshold"]]},template:function(t,o){if(1&t&&(e.YNc(0,Bp,1,0,"cd-orchestrator-doc-panel",0),e.YNc(1,sc,2,1,"div",1),e.YNc(2,p_,12,1,"ng-template",null,2,e.W1O),e.YNc(4,dh,3,5,"ng-template",null,3,e.W1O),e.YNc(6,jh,3,2,"ng-template",null,4,e.W1O),e.YNc(8,h_,1,1,"ng-template",null,5,e.W1O),e.YNc(10,fh,1,6,"ng-template",null,6,e.W1O)),2&t){const l=e.MAs(3);e.Q6J("ngIf",o.showDocPanel),e.xp6(1),e.Q6J("ngIf","hostDetails"===o.flag)("ngIfElse",l)}},directives:[p.O5,sh,p.tP,Pr.Pz,Yn.m,Pr.nv,Pr.Vx,Pr.uN,Tr.a,Pr.tO,p.mk,p.sg,Tu.K,Su.O],pipes:[up.i,Ed.h],styles:[".fa-info-circle[_ngcontent-%COMP%]{color:#25828e}.fa-exclamation-triangle[_ngcontent-%COMP%]{color:#dc3545}.list-group-item[_ngcontent-%COMP%]{background-color:transparent;border-width:0}"]}),n})();var Vh=i(8958);const ph=["innerNav"];function em(n,s){1&n&&(e.TgZ(0,"cd-alert-panel",5),e.SDv(1,6),e.qZA())}function Du(n,s){1&n&&(e.TgZ(0,"cd-alert-panel",7),e.SDv(1,8),e.qZA())}function Zh(n,s){1&n&&(e.TgZ(0,"cd-alert-panel",10),e.SDv(1,11),e.qZA())}function Sd(n,s){if(1&n&&(e.ynx(0),e.TgZ(1,"cd-alert-panel",20),e._uU(2),e.qZA(),e.BQk()),2&n){const t=e.oxw(2).$implicit;e.xp6(2),e.Oqu(t.value.userMessage)}}function Kd(n,s){1&n&&(e.TgZ(0,"cd-alert-panel",23),e.SDv(1,24),e.qZA())}function __(n,s){1&n&&(e.ynx(0),e.TgZ(1,"cd-alert-panel",26),e.SDv(2,27),e.qZA(),e.BQk())}function tm(n,s){1&n&&(e.TgZ(0,"cd-alert-panel",28),e.SDv(1,29),e.qZA())}function hh(n,s){if(1&n&&(e.YNc(0,__,3,0,"ng-container",0),e.YNc(1,tm,2,0,"ng-template",null,25,e.W1O)),2&n){const t=e.MAs(2),o=e.oxw(3).$implicit;e.Q6J("ngIf",o.value.info.smart_status.passed)("ngIfElse",t)}}function Ep(n,s){if(1&n&&(e.YNc(0,Kd,2,0,"cd-alert-panel",21),e.ALo(1,"pipeFunction"),e.YNc(2,hh,3,2,"ng-template",null,22,e.W1O)),2&n){const t=e.MAs(3),o=e.oxw(2).$implicit,l=e.oxw(4);e.Q6J("ngIf",e.xi3(1,2,null==o.value.info?null:o.value.info.smart_status,l.isEmpty))("ngIfElse",t)}}function Td(n,s){if(1&n&&e._UZ(0,"cd-table-key-value",36),2&n){const t=e.oxw(4).$implicit;e.Q6J("renderObjects",!0)("data",t.value.info)}}function m_(n,s){1&n&&(e.TgZ(0,"cd-alert-panel",37),e.SDv(1,38),e.qZA())}function zh(n,s){if(1&n&&(e.YNc(0,Td,1,2,"cd-table-key-value",34),e.ALo(1,"pipeFunction"),e.YNc(2,m_,2,0,"cd-alert-panel",35),e.ALo(3,"pipeFunction")),2&n){const t=e.oxw(3).$implicit,o=e.oxw(4);e.Q6J("ngIf",!e.xi3(1,2,t.value.info,o.isEmpty)),e.xp6(2),e.Q6J("ngIf",e.xi3(3,5,t.value.info,o.isEmpty))}}function Wh(n,s){if(1&n&&e._UZ(0,"cd-table",42),2&n){const t=e.oxw(4).$implicit,o=e.oxw(4);e.Q6J("data",t.value.smart.attributes.table)("columns",o.smartDataColumns)}}function Cd(n,s){if(1&n&&e._UZ(0,"cd-table-key-value",43),2&n){const t=e.oxw(4).$implicit;e.Q6J("renderObjects",!0)("data",t.value.smart)}}function mu(n,s){if(1&n&&e._UZ(0,"cd-table-key-value",43),2&n){const t=e.oxw(4).$implicit;e.Q6J("renderObjects",!0)("data",t.value.smart.nvmeData)}}function Jh(n,s){1&n&&(e.TgZ(0,"cd-alert-panel",44),e.SDv(1,45),e.qZA())}function bp(n,s){if(1&n&&(e.YNc(0,Wh,1,2,"cd-table",39),e.YNc(1,Cd,1,2,"cd-table-key-value",40),e.YNc(2,mu,1,2,"cd-table-key-value",40),e.YNc(3,Jh,2,0,"cd-alert-panel",41)),2&n){const t=e.oxw(3).$implicit;e.Q6J("ngIf",null==t.value.smart?null:t.value.smart.attributes),e.xp6(1),e.Q6J("ngIf",null==t.value.smart?null:t.value.smart.scsi_error_counter_log),e.xp6(1),e.Q6J("ngIf",null==t.value.smart?null:t.value.smart.nvmeData),e.xp6(1),e.Q6J("ngIf",!(null!=t.value.smart&&t.value.smart.attributes||null!=t.value.smart&&t.value.smart.nvmeData||null!=t.value.smart&&t.value.smart.scsi_error_counter_log))}}function Qh(n,s){if(1&n&&(e.ynx(0),e.TgZ(1,"nav",12,30)(3,"li",31)(4,"a",17),e.SDv(5,32),e.qZA(),e.YNc(6,zh,4,8,"ng-template",18),e.qZA(),e.TgZ(7,"li",31)(8,"a",17),e.SDv(9,33),e.qZA(),e.YNc(10,bp,4,4,"ng-template",18),e.qZA()(),e._UZ(11,"div",15),e.BQk()),2&n){const t=e.MAs(2);e.xp6(3),e.Q6J("ngbNavItem",1),e.xp6(4),e.Q6J("ngbNavItem",2),e.xp6(4),e.Q6J("ngbNavOutlet",t)}}function ac(n,s){if(1&n&&(e.YNc(0,Sd,3,1,"ng-container",0),e.YNc(1,Ep,4,5,"ng-template",null,19,e.W1O),e.YNc(3,Qh,12,3,"ng-container",4),e.ALo(4,"pipeFunction"),e.ALo(5,"pipeFunction")),2&n){const t=e.MAs(2),o=e.oxw().$implicit,l=e.oxw(4);e.Q6J("ngIf",o.value.error)("ngIfElse",t),e.xp6(3),e.Q6J("ngIf",!e.xi3(4,3,o.value.info,l.isEmpty)||!e.xi3(5,6,o.value.smart,l.isEmpty))}}function qd(n,s){if(1&n&&(e.ynx(0,16),e.TgZ(1,"a",17),e._uU(2),e.qZA(),e.YNc(3,ac,6,9,"ng-template",18),e.BQk()),2&n){const t=s.$implicit;e.xp6(2),e.AsE("",t.value.device," (",t.value.identifier,")")}}function zf(n,s){if(1&n&&(e.ynx(0),e.TgZ(1,"nav",12,13),e.YNc(3,qd,4,2,"ng-container",14),e.ALo(4,"keyvalue"),e.qZA(),e._UZ(5,"div",15),e.BQk()),2&n){const t=e.MAs(2),o=e.oxw(3);e.xp6(3),e.Q6J("ngForOf",e.lcZ(4,2,o.data)),e.xp6(2),e.Q6J("ngbNavOutlet",t)}}function Xh(n,s){if(1&n&&(e.ynx(0),e.YNc(1,Zh,2,0,"cd-alert-panel",9),e.ALo(2,"pipeFunction"),e.YNc(3,zf,6,4,"ng-container",4),e.ALo(4,"pipeFunction"),e.BQk()),2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",e.xi3(2,2,t.data,t.isEmpty)),e.xp6(2),e.Q6J("ngIf",!e.xi3(4,5,t.data,t.isEmpty))}}function Sp(n,s){if(1&n&&(e.ynx(0),e.YNc(1,em,2,0,"cd-alert-panel",2),e.YNc(2,Du,2,0,"cd-alert-panel",3),e.YNc(3,Xh,5,8,"ng-container",4),e.BQk()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",t.error),e.xp6(1),e.Q6J("ngIf",t.incompatible),e.xp6(1),e.Q6J("ngIf",!t.error&&!t.incompatible)}}function g_(n,s){1&n&&(e.TgZ(0,"cd-loading-panel"),e.SDv(1,46),e.qZA())}let Tp=(()=>{class n{constructor(t,o){this.osdService=t,this.hostService=o,this.osdId=null,this.hostname=null,this.loading=!1,this.incompatible=!1,this.error=!1,this.data={},this.isEmpty=Sr().isEmpty}isSmartError(t){return void 0!==Sr().get(t,"error")}isNvmeSmartData(t){return"nvme"===Sr().get(t,"device.protocol","").toLowerCase()}isAtaSmartData(t){return"ata"===Sr().get(t,"device.protocol","").toLowerCase()}isIscsiSmartData(t){return"scsi"===Sr().get(t,"device.protocol","").toLowerCase()}fetchData(t){const o={};Sr().each(t,(l,_)=>{if(this.isSmartError(l)){let C="";C=-22===l.smartctl_error_code?"Smartctl has received an unknown argument (error code " + l.smartctl_error_code + "). You may be using an incompatible version of smartmontools. Version >= 7.0 of smartmontools is required to successfully retrieve data.":"An error with error code " + l.smartctl_error_code + " occurred.",o[_]={error:l.error,smartctl_error_code:l.smartctl_error_code,smartctl_output:l.smartctl_output,userMessage:C,device:l.dev,identifier:l.nvme_vendor}}else 1!==l.json_format_version[0]?this.incompatible=!0:this.isAtaSmartData(l)?o[_]=this.extractAtaData(l):this.isIscsiSmartData(l)?o[_]=this.extractIscsiData(l):this.isNvmeSmartData(l)&&(o[_]=this.extractNvmeData(l))}),this.data=o,this.loading=!1}extractNvmeData(t){return{info:Sr().omitBy(t,(l,_)=>["nvme_smart_health_information_log"].includes(_)),smart:{nvmeData:t.nvme_smart_health_information_log},device:t.device.name,identifier:t.serial_number}}extractIscsiData(t){const o=Sr().omitBy(t,(l,_)=>["scsi_error_counter_log","scsi_grown_defect_list"].includes(_));return{info:o,smart:{scsi_error_counter_log:t.scsi_error_counter_log,scsi_grown_defect_list:t.scsi_grown_defect_list},device:o.device.name,identifier:o.serial_number}}extractAtaData(t){const o=Sr().omitBy(t,(l,_)=>["ata_smart_attributes","ata_smart_selective_self_test_log","ata_smart_data"].includes(_));return{info:o,smart:{attributes:t.ata_smart_attributes,data:t.ata_smart_data},device:o.device.name,identifier:o.serial_number}}updateData(){this.loading=!0,null!==this.osdId?this.osdService.getSmartData(this.osdId).subscribe({next:this.fetchData.bind(this),error:t=>{t.preventDefault(),this.error=t,this.loading=!1}}):null!==this.hostname&&this.hostService.getSmartData(this.hostname).subscribe({next:this.fetchData.bind(this),error:t=>{t.preventDefault(),this.error=t,this.loading=!1}})}ngOnInit(){this.smartDataColumns=[{prop:"id",name:"ID"},{prop:"name",name:"Name"},{prop:"raw.value",name:"Raw"},{prop:"thresh",name:"Threshold"},{prop:"value",name:"Value"},{prop:"when_failed",name:"When Failed"},{prop:"worst",name:"Worst"}],this.scsiSmartDataColumns=[{prop:"correction_algorithm_invocations",name:"Correction Algorithm Invocations"},{prop:"errors_corrected_by_eccdelayed",name:"Errors Corrected by ECC (Delayed)"},{prop:"errors_corrected_by_eccfast",name:"Errors Corrected by ECC (Fast)"},{prop:"errors_corrected_by_rereads_rewrites",name:"Errors Corrected by Rereads/Rewrites"},{prop:"gigabytes_processed",name:"Gigabyes Processed"},{prop:"total_errors_corrected",name:"Total Errors Corrected"},{prop:"total_uncorrected_errors",name:"Total Errors Uncorrected"}]}ngOnChanges(t){this.data={},t.osdId?this.osdId=t.osdId.currentValue:t.hostname&&(this.hostname=t.hostname.currentValue),this.updateData()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(ic),e.Y36(bc))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-smart-list"]],viewQuery:function(t,o){if(1&t&&e.Gf(ph,5),2&t){let l;e.iGM(l=e.CRH())&&(o.nav=l.first)}},inputs:{osdId:"osdId",hostname:"hostname"},features:[e.TTD],decls:3,vars:2,consts:function(){let s,t,o,l,_,C,x,N,V,Q,oe,le,me,ye;return s="Failed to retrieve SMART data.",t="The data received has the JSON format version 2.x and is currently incompatible with the dashboard.",o="No SMART data available.",l="SMART overall-health self-assessment test result",_="unknown",C="SMART overall-health self-assessment test result",x="passed",N="SMART overall-health self-assessment test result",V="failed",Q="Device Information",oe="SMART",le="No device information available for this device.",me="No SMART data available for this device.",ye="SMART data is loading.",[[4,"ngIf","ngIfElse"],["isLoading",""],["type","error",4,"ngIf"],["type","warning",4,"ngIf"],[4,"ngIf"],["type","error"],s,["type","warning"],t,["type","info",4,"ngIf"],["type","info"],o,["ngbNav","",1,"nav-tabs"],["nav","ngbNav"],["ngbNavItem","",4,"ngFor","ngForOf"],[3,"ngbNavOutlet"],["ngbNavItem",""],["ngbNavLink",""],["ngbNavContent",""],["noError",""],["id","alert-error","type","warning"],["id","alert-self-test-unknown","size","slim","type","warning","title",l,4,"ngIf","ngIfElse"],["hasSmartStatus",""],["id","alert-self-test-unknown","size","slim","type","warning","title",l],_,["selfTestFailed",""],["id","alert-self-test-passed","size","slim","type","info","title",C],x,["id","alert-self-test-failed","size","slim","type","warning","title",N],V,["innerNav","ngbNav"],[3,"ngbNavItem"],Q,oe,[3,"renderObjects","data",4,"ngIf"],["id","alert-device-info-unavailable","type","info",4,"ngIf"],[3,"renderObjects","data"],["id","alert-device-info-unavailable","type","info"],le,["updateSelectionOnRefresh","never",3,"data","columns",4,"ngIf"],["updateSelectionOnRefresh","never",3,"renderObjects","data",4,"ngIf"],["id","alert-device-smart-data-unavailable","type","info",4,"ngIf"],["updateSelectionOnRefresh","never",3,"data","columns"],["updateSelectionOnRefresh","never",3,"renderObjects","data"],["id","alert-device-smart-data-unavailable","type","info"],me,ye]},template:function(t,o){if(1&t&&(e.YNc(0,Sp,4,3,"ng-container",0),e.YNc(1,g_,2,0,"ng-template",null,1,e.W1O)),2&t){const l=e.MAs(2);e.Q6J("ngIf",!o.loading)("ngIfElse",l)}},directives:[p.O5,yo.G,Pr.Pz,p.sg,Pr.nv,Pr.Vx,Pr.uN,fo.b,Tr.a,Pr.tO,Vh.b],pipes:[up.i,p.Nd],styles:[""]}),n})();function _h(n,s){if(1&n&&e._UZ(0,"cd-device-list",14),2&n){const t=e.oxw(2);e.Q6J("hostname",t.selection.hostname)}}function v_(n,s){if(1&n&&e._UZ(0,"cd-inventory",14),2&n){const t=e.oxw(3);e.Q6J("hostname",t.selectedHostname)}}function mh(n,s){1&n&&(e.ynx(0,15),e.TgZ(1,"a",5),e.SDv(2,16),e.qZA(),e.YNc(3,v_,1,1,"ng-template",7),e.BQk())}const L_=function(){return["hostname"]};function Kh(n,s){if(1&n&&e._UZ(0,"cd-service-daemon-list",19),2&n){const t=e.oxw(3);e.Q6J("hostname",t.selectedHostname)("hiddenColumns",e.DdM(2,L_))}}function ef(n,s){1&n&&(e.ynx(0,17),e.TgZ(1,"a",5),e.SDv(2,18),e.qZA(),e.YNc(3,Kh,1,3,"ng-template",7),e.BQk())}function qh(n,s){if(1&n&&e._UZ(0,"cd-grafana",22),2&n){const t=e.oxw(3);e.Q6J("grafanaPath","host-details?var-ceph_hosts="+t.selectedHostname)("type","metrics")}}function gh(n,s){1&n&&(e.ynx(0,20),e.TgZ(1,"a",5),e.SDv(2,21),e.qZA(),e.YNc(3,qh,1,2,"ng-template",7),e.BQk())}function e_(n,s){if(1&n&&e._UZ(0,"cd-smart-list",14),2&n){const t=e.oxw(3);e.Q6J("hostname",t.selectedHostname)}}function Wf(n,s){if(1&n&&e.YNc(0,e_,1,1,"cd-smart-list",23),2&n){const t=e.oxw(2),o=e.MAs(2);e.Q6J("ngIf",t.selectedHostname)("ngIfElse",o)}}function vh(n,s){if(1&n&&(e.ynx(0),e.TgZ(1,"nav",2,3),e.ynx(3,4),e.TgZ(4,"a",5),e.SDv(5,6),e.qZA(),e.YNc(6,_h,1,1,"ng-template",7),e.BQk(),e.YNc(7,mh,4,0,"ng-container",8),e.YNc(8,ef,4,0,"ng-container",9),e.YNc(9,gh,4,0,"ng-container",10),e.ynx(10,11),e.TgZ(11,"a",5),e.SDv(12,12),e.qZA(),e.YNc(13,Wf,1,2,"ng-template",7),e.BQk(),e.qZA(),e._UZ(14,"div",13),e.BQk()),2&n){const t=e.MAs(2),o=e.oxw();e.xp6(7),e.Q6J("ngIf",o.permissions.hosts.read),e.xp6(1),e.Q6J("ngIf",o.permissions.hosts.read),e.xp6(1),e.Q6J("ngIf",o.permissions.grafana.read),e.xp6(5),e.Q6J("ngbNavOutlet",t)}}function Cp(n,s){1&n&&(e.TgZ(0,"cd-alert-panel",24),e.SDv(1,25),e.qZA())}let Cf=(()=>{class n{get selectedHostname(){return void 0!==this.selection?this.selection.hostname:null}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-host-details"]],inputs:{permissions:"permissions",selection:"selection"},decls:3,vars:1,consts:function(){let s,t,o,l,_,C,x;return s="Devices",t="Device health",o="Physical Disks",l="Daemons",_="Performance Details",C="Host details",x="No hostname found.",[[4,"ngIf"],["noHostname",""],["ngbNav","","cdStatefulTab","host-details",1,"nav-tabs"],["nav","ngbNav"],["ngbNavItem","devices"],["ngbNavLink",""],s,["ngbNavContent",""],["ngbNavItem","inventory",4,"ngIf"],["ngbNavItem","daemons",4,"ngIf"],["ngbNavItem","performance-details",4,"ngIf"],["ngbNavItem","device-health"],t,[3,"ngbNavOutlet"],[3,"hostname"],["ngbNavItem","inventory"],o,["ngbNavItem","daemons"],l,["flag","hostDetails",3,"hostname","hiddenColumns"],["ngbNavItem","performance-details"],_,["title",C,"uid","rtOg0AiWz","grafanaStyle","four",3,"grafanaPath","type"],[3,"hostname",4,"ngIf","ngIfElse"],["type","error"],x]},template:function(t,o){1&t&&(e.YNc(0,vh,15,4,"ng-container",0),e.YNc(1,Cp,2,0,"ng-template",null,1,e.W1O)),2&t&&e.Q6J("ngIf",o.selection)},directives:[p.O5,Pr.Pz,Yn.m,Pr.nv,Pr.Vx,Pr.uN,Yc,dl,Yp,ha.F,Tp,Pr.tO,yo.G],styles:[""]}),n})();const yh=["servicesTpl"],Eh=["maintenanceConfirmTpl"],da=["orchTmpl"],wc=["flashTmpl"],$u=["hostNameTpl"];function Ts(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"cd-table",14,15),e.NdJ("fetchData",function(l){return e.CHM(t),e.oxw().getHosts(l)})("setExpandedRow",function(l){return e.CHM(t),e.oxw().setExpandedRow(l)})("updateSelection",function(l){return e.CHM(t),e.oxw().updateSelection(l)}),e.TgZ(2,"div",16),e._UZ(3,"cd-table-actions",17),e.qZA(),e._UZ(4,"cd-host-details",18),e.qZA()}if(2&n){const t=e.oxw();e.Q6J("data",t.hosts)("columns",t.columns)("searchableObjects",!0)("hasDetails",t.hasTableDetails)("toolHeader",!t.hideToolHeader),e.xp6(3),e.Q6J("permission",t.permissions.hosts)("selection",t.selection)("tableActions",t.tableActions),e.xp6(1),e.Q6J("permissions",t.permissions)("selection",t.expandedRow)}}function Ff(n,s){1&n&&e.GkF(0,2)}function jp(n,s){1&n&&e._UZ(0,"cd-grafana",20),2&n&&e.Q6J("grafanaPath","host-overview?")("type","metrics")}function Hu(n,s){1&n&&(e.ynx(0,2),e.TgZ(1,"a",3),e.SDv(2,19),e.qZA(),e.YNc(3,jp,1,2,"ng-template",5),e.BQk())}function bh(n,s){if(1&n&&(e.TgZ(0,"span"),e._UZ(1,"cd-label",22),e.qZA()),2&n){const t=s.$implicit;e.xp6(1),e.Q6J("key",t.type)("value",t.count)}}function Lf(n,s){1&n&&e.YNc(0,bh,2,2,"span",21),2&n&&e.Q6J("ngForOf",s.value)}function Mp(n,s){if(1&n&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&n){const t=e.oxw().row;e.xp6(1),e.hij(" (",t.addr,") ")}}function zu(n,s){if(1&n&&(e.TgZ(0,"span",23),e._uU(1),e.qZA(),e._UZ(2,"br"),e.YNc(3,Mp,2,1,"span",24)),2&n){const t=s.row;e.Q6J("ngClass",t),e.xp6(1),e.hij(" ",t.hostname," "),e.xp6(2),e.Q6J("ngIf",t.addr)}}function Jf(n,s){if(1&n&&(e.TgZ(0,"ul")(1,"li"),e.SDv(2,27),e.qZA()()),2&n){const t=e.oxw().$implicit;e.xp6(2),e.pQV(t),e.QtT(2)}}function tf(n,s){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,Jf,3,1,"ul",26),e.qZA()),2&n){const t=s.last,o=e.oxw(2);e.xp6(1),e.Q6J("ngIf",!t||"1"===o.errorMessage.length)}}function k_(n,s){1&n&&(e.ynx(0),e.SDv(1,28),e.BQk())}function Sh(n,s){if(1&n&&(e.YNc(0,tf,2,1,"div",21),e.YNc(1,k_,2,0,"ng-container",26)),2&n){const t=e.oxw();e.Q6J("ngForOf",t.errorMessage),e.xp6(1),e.Q6J("ngIf",t.showSubmit)}}function cp(n,s){1&n&&(e.TgZ(0,"span",29),e.SDv(1,30),e.qZA())}function Ps(n,s){1&n&&(e.TgZ(0,"span",31),e.SDv(1,32),e.qZA())}let dp=(()=>{class n extends It.o{constructor(t,o,l,_,C,x,N,V,Q,oe){super(),this.authStorageService=t,this.dimlessBinary=o,this.emptyPipe=l,this.hostService=_,this.actionLabels=C,this.modalService=x,this.taskWrapper=N,this.router=V,this.notificationService=Q,this.orchService=oe,this.sub=new oc.w,this.hiddenColumns=[],this.hideMaintenance=!1,this.hasTableDetails=!0,this.hideToolHeader=!1,this.showGeneralActionsOnly=!1,this.columns=[],this.hosts=[],this.isLoadingHosts=!1,this.cdParams={fromLink:"/hosts"},this.selection=new _n.r,this.isExecuting=!1,this.icons=wo.P,this.messages={nonOrchHost:"The feature is disabled because the selected host is not managed by Orchestrator."},this.actionOrchFeatures={add:[P.HOST_ADD],edit:[P.HOST_LABEL_ADD,P.HOST_LABEL_REMOVE],remove:[P.HOST_REMOVE],maintenance:[P.HOST_MAINTENANCE_ENTER,P.HOST_MAINTENANCE_EXIT],drain:[P.HOST_DRAIN]},this.permissions=this.authStorageService.getPermissions(),this.tableActions=[{name:this.actionLabels.ADD,permission:"create",icon:wo.P.add,click:()=>this.router.url.includes("/hosts")?this.router.navigate(["hosts",{outlets:{modal:[Mo.MQ.ADD]}}]):this.bsModalRef=this.modalService.show(is,{hideMaintenance:this.hideMaintenance}),disable:le=>this.getDisable("add",le)},{name:this.actionLabels.EDIT,permission:"update",icon:wo.P.edit,click:()=>this.editAction(),disable:le=>this.getDisable("edit",le)},{name:this.actionLabels.START_DRAIN,permission:"update",icon:wo.P.exit,click:()=>this.hostDrain(),disable:le=>this.getDisable("drain",le)||!this.enableDrainBtn,visible:()=>!this.showGeneralActionsOnly&&this.enableDrainBtn},{name:this.actionLabels.STOP_DRAIN,permission:"update",icon:wo.P.exit,click:()=>this.hostDrain(!0),disable:le=>this.getDisable("drain",le)||this.enableDrainBtn,visible:()=>!this.showGeneralActionsOnly&&!this.enableDrainBtn},{name:this.actionLabels.REMOVE,permission:"delete",icon:wo.P.destroy,click:()=>this.deleteAction(),disable:le=>this.getDisable("remove",le)},{name:this.actionLabels.ENTER_MAINTENANCE,permission:"update",icon:wo.P.enter,click:()=>this.hostMaintenance(),disable:le=>this.getDisable("maintenance",le)||this.isExecuting||this.enableMaintenanceBtn,visible:()=>!this.showGeneralActionsOnly&&!this.enableMaintenanceBtn},{name:this.actionLabels.EXIT_MAINTENANCE,permission:"update",icon:wo.P.exit,click:()=>this.hostMaintenance(),disable:le=>this.getDisable("maintenance",le)||this.isExecuting||!this.enableMaintenanceBtn,visible:()=>!this.showGeneralActionsOnly&&this.enableMaintenanceBtn}]}ngOnInit(){this.columns=[{name:"Hostname",prop:"hostname",flexGrow:1,cellTemplate:this.hostNameTpl},{name:"Service Instances",prop:"service_instances",flexGrow:1.5,cellTemplate:this.servicesTpl},{name:"Labels",prop:"labels",flexGrow:1,cellTransformation:Ht.e.badge,customTemplateConfig:{class:"badge-dark"}},{name:"Status",prop:"status",flexGrow:.8,cellTransformation:Ht.e.badge,customTemplateConfig:{map:{maintenance:{class:"badge-warning"},available:{class:"badge-success"}}}},{name:"Model",prop:"model",flexGrow:1},{name:"CPUs",prop:"cpu_count",flexGrow:.3},{name:"Cores",prop:"cpu_cores",flexGrow:.3},{name:"Total Memory",prop:"memory_total_bytes",pipe:this.dimlessBinary,flexGrow:.4},{name:"Raw Capacity",prop:"raw_capacity",pipe:this.dimlessBinary,flexGrow:.5},{name:"HDDs",prop:"hdd_count",flexGrow:.3},{name:"Flash",prop:"flash_count",headerTemplate:this.flashTmpl,flexGrow:.3},{name:"NICs",prop:"nic_count",flexGrow:.3}],this.columns=this.columns.filter(t=>!this.hiddenColumns.includes(t.prop))}ngOnDestroy(){this.sub.unsubscribe()}updateSelection(t){this.selection=t,this.enableMaintenanceBtn=!1,this.enableDrainBtn=!1,this.selection.hasSelection&&("maintenance"===this.selection.first().status&&(this.enableMaintenanceBtn=!0),this.selection.first().labels.includes("_no_schedule")||(this.enableDrainBtn=!0))}editAction(){this.hostService.getLabels().subscribe(t=>{const o=this.selection.first(),l=new Set(t.concat(this.hostService.predefinedLabels)),_=Array.from(l).map(C=>({enabled:!0,name:C}));this.modalService.show(Ze.X,{titleText:"Edit Host: " + o.hostname + "",fields:[{type:"select-badges",name:"labels",value:o.labels,label:"Labels",typeConfig:{customBadges:!0,options:_,messages:new E.a({empty:"There are no labels.",filter:"Filter or add labels",add:"Add label"})}}],submitButtonText:"Edit Host",onSubmit:C=>{this.hostService.update(o.hostname,!0,C.labels).subscribe(()=>{this.notificationService.show(Sa.k.success,"Updated Host \"" + o.hostname + "\""),this.table.refreshBtn()})}})})}hostMaintenance(){this.isExecuting=!0;const t=this.selection.first();"maintenance"!==t.status?this.hostService.update(t.hostname,!1,[],!0).subscribe(()=>{this.isExecuting=!1,this.notificationService.show(Sa.k.success,"\"" + t.hostname + "\" moved to maintenance"),this.table.refreshBtn()},o=>{if(this.isExecuting=!1,this.errorMessage=o.error.detail.split(/\n/),o.preventDefault(),!o.error.detail.includes("WARNING")||o.error.detail.includes("It is NOT safe to stop")||o.error.detail.includes("ALERT")||o.error.detail.includes("unsafe to stop"))this.notificationService.show(Sa.k.error,"\"" + t.hostname + "\" cannot be put into maintenance","" + o.error.detail + "");else{const l={titleText:"Warning",buttonText:"Continue",warning:!0,bodyTpl:this.maintenanceConfirmTpl,showSubmit:!0,onSubmit:()=>{this.hostService.update(t.hostname,!1,[],!0,!0).subscribe(()=>{this.modalRef.close()},()=>this.modalRef.close())}};this.modalRef=this.modalService.show(rd.Y,l)}}):this.hostService.update(t.hostname,!1,[],!0).subscribe(()=>{this.isExecuting=!1,this.notificationService.show(Sa.k.success,"\"" + t.hostname + "\" has exited maintenance"),this.table.refreshBtn()})}hostDrain(t=!1){const o=this.selection.first();if(t){const l=o.labels.indexOf("_no_schedule",0);o.labels.splice(l,1),this.hostService.update(o.hostname,!0,o.labels).subscribe(()=>{this.notificationService.show(Sa.k.info,"\"" + o.hostname + "\" stopped draining"),this.table.refreshBtn()})}else this.hostService.update(o.hostname,!1,[],!1,!1,!0).subscribe(()=>{this.notificationService.show(Sa.k.info,"\"" + o.hostname + "\" started draining"),this.table.refreshBtn()})}getDisable(t,o){if("remove"===t||"edit"===t||"maintenance"===t||"drain"===t){if(!(null==o?void 0:o.hasSingleSelection))return!0;if(!Sr().every(o.selected,"sources.orchestrator"))return this.messages.nonOrchHost}return this.orchService.getTableActionDisableDesc(this.orchStatus,this.actionOrchFeatures[t])}deleteAction(){const t=this.selection.first().hostname;this.modalRef=this.modalService.show(Oc.M,{itemDescription:"Host",itemNames:[t],actionDescription:"remove",submitActionObservable:()=>this.taskWrapper.wrapTaskAroundCall({task:new Ql.R("host/remove",{hostname:t}),call:this.hostService.delete(t)})})}checkHostsFactsAvailable(){const t=this.orchStatus.features;return!Sr().isEmpty(t)&&!!t.get_facts.available}transformHostsData(){if(this.checkHostsFactsAvailable())Sr().forEach(this.hosts,t=>{t.memory_total_bytes=this.emptyPipe.transform(1024*t.memory_total_kb),t.raw_capacity=this.emptyPipe.transform(t.hdd_capacity_bytes+t.flash_capacity_bytes)});else for(let t=4;t<this.columns.length;t++)this.columns[t].cellTemplate=this.orchTmpl}getHosts(t){this.isLoadingHosts||(this.isLoadingHosts=!0,this.sub=this.orchService.status().pipe((0,Ac.zg)(o=>{this.orchStatus=o;const l=this.checkHostsFactsAvailable();return this.hostService.list(`${l}`)})).subscribe(o=>{this.hosts=o,this.hosts.forEach(l=>{""===l.status&&(l.status="available")}),this.transformHostsData(),this.isLoadingHosts=!1},()=>{this.isLoadingHosts=!1,t.error()}))}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Vi.j),e.Y36(Rr.$),e.Y36(L.W),e.Y36(bc),e.Y36(Mo.p4),e.Y36(ou.Z),e.Y36(Sc.P),e.Y36(Io.F0),e.Y36(Tl.g),e.Y36(h))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-hosts"]],viewQuery:function(t,o){if(1&t&&(e.Gf(Tr.a,5),e.Gf(yh,7),e.Gf(Eh,7),e.Gf(da,7),e.Gf(wc,7),e.Gf($u,7)),2&t){let l;e.iGM(l=e.CRH())&&(o.table=l.first),e.iGM(l=e.CRH())&&(o.servicesTpl=l.first),e.iGM(l=e.CRH())&&(o.maintenanceConfirmTpl=l.first),e.iGM(l=e.CRH())&&(o.orchTmpl=l.first),e.iGM(l=e.CRH())&&(o.flashTmpl=l.first),e.iGM(l=e.CRH())&&(o.hostNameTpl=l.first)}},inputs:{hiddenColumns:"hiddenColumns",hideMaintenance:"hideMaintenance",hasTableDetails:"hasTableDetails",hideToolHeader:"hideToolHeader",showGeneralActionsOnly:"showGeneralActionsOnly"},features:[e._Bn([{provide:X.F,useValue:new X.F("hosts")}]),e.qOj],decls:20,vars:3,consts:function(){let s,t,o,l,_,C,x,N,V;return s="Hosts List",t="Overall Performance",o="Host overview",l="" + "\ufffd0\ufffd" + "",_="Are you sure you want to continue?",C="Data will be available only if Orchestrator is available.",x="N/A",N="SSD, NVMEs",V="Flash",[["ngbNav","",1,"nav-tabs"],["nav","ngbNav"],["ngbNavItem",""],["ngbNavLink",""],s,["ngbNavContent",""],["ngbNavItem","",4,"ngIf"],[3,"ngbNavOutlet"],["servicesTpl",""],["hostNameTpl",""],["maintenanceConfirmTpl",""],["orchTmpl",""],["flashTmpl",""],["name","modal"],["columnMode","flex","selectionType","single",3,"data","columns","searchableObjects","hasDetails","toolHeader","fetchData","setExpandedRow","updateSelection"],["table",""],[1,"table-actions","btn-toolbar"],["id","host-actions",1,"btn-group",3,"permission","selection","tableActions"],["cdTableDetail","",3,"permissions","selection"],t,["title",o,"uid","y0KGL0iZz","grafanaStyle","two",3,"grafanaPath","type"],[4,"ngFor","ngForOf"],[1,"me-1",3,"key","value"],[3,"ngClass"],["class","text-muted fst-italic",4,"ngIf"],[1,"text-muted","fst-italic"],[4,"ngIf"],l,_,["ngbTooltip",C],x,["ngbTooltip",N],V]},template:function(t,o){if(1&t&&(e.TgZ(0,"nav",0,1),e.ynx(2,2),e.TgZ(3,"a",3),e.SDv(4,4),e.qZA(),e.YNc(5,Ts,5,10,"ng-template",5),e.BQk(),e.YNc(6,Ff,1,0,"ng-container",6),e.YNc(7,Hu,4,0,"ng-container",6),e.qZA(),e._UZ(8,"div",7),e.YNc(9,Lf,1,1,"ng-template",null,8,e.W1O),e.YNc(11,zu,4,3,"ng-template",null,9,e.W1O),e.YNc(13,Sh,2,2,"ng-template",null,10,e.W1O),e.YNc(15,cp,2,0,"ng-template",null,11,e.W1O),e.YNc(17,Ps,2,0,"ng-template",null,12,e.W1O),e._UZ(19,"router-outlet",13)),2&t){const l=e.MAs(1);e.xp6(6),e.Q6J("ngIf",o.permissions.grafana.read),e.xp6(1),e.Q6J("ngIf",o.permissions.grafana.read),e.xp6(1),e.Q6J("ngbNavOutlet",l)}},directives:[Pr.Pz,Pr.nv,Pr.Vx,Pr.uN,Tr.a,Tu.K,Cf,p.O5,ha.F,Pr.tO,p.sg,$a,p.mk,Pr._L,Io.lC],styles:[""]}),n})();var Bu=(()=>{return(n=Bu||(Bu={})).COST_CAPACITY="cost_capacity",n.THROUGHPUT="throughput_optimized",n.IOPS="iops_optimized",Bu;var n})(),jl=i(62862);let Qf=(()=>{class n{constructor(t,o,l,_,C){this.activeModal=t,this.actionLabels=o,this.formBuilder=l,this.osdService=_,this.taskWrapper=C,this.driveGroups=[],this.submitAction=new e.vpe,this.action=o.CREATE,this.createForm()}createForm(){this.formGroup=this.formBuilder.group({})}onSubmit(){const t=Sr().join(Sr().map(this.driveGroups,"service_id"),", ");this.taskWrapper.wrapTaskAroundCall({task:new Ql.R("osd/"+Mo.MQ.CREATE,{tracking_id:t}),call:this.osdService.create(this.driveGroups,t)}).subscribe({error:()=>{this.formGroup.setErrors({cdSubmitButton:!0})},complete:()=>{this.submitAction.emit(),this.activeModal.close()}})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr.Kz),e.Y36(Mo.p4),e.Y36(jl.O),e.Y36(ic),e.Y36(Sc.P))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-osd-creation-preview-modal"]],inputs:{driveGroups:"driveGroups"},outputs:{submitAction:"submitAction"},decls:15,vars:9,consts:function(){let s,t;return s="OSD creation preview",t="DriveGroups",[[3,"modalRef"],[1,"modal-title"],s,[1,"modal-content"],["novalidate","",3,"formGroup"],["frm","ngForm"],[1,"modal-body"],t,[1,"modal-footer"],[3,"form","submitText","submitActionEvent"]]},template:function(t,o){1&t&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6)(7,"h4"),e.SDv(8,7),e.qZA(),e.TgZ(9,"pre"),e._uU(10),e.ALo(11,"json"),e.qZA()(),e.TgZ(12,"div",8)(13,"cd-form-button-panel",9),e.NdJ("submitActionEvent",function(){return o.onSubmit()}),e.ALo(14,"titlecase"),e.qZA()()(),e.BQk(),e.qZA()),2&t&&(e.Q6J("modalRef",o.activeModal),e.xp6(4),e.Q6J("formGroup",o.formGroup),e.xp6(6),e.Oqu(e.lcZ(11,5,o.driveGroups)),e.xp6(3),e.Q6J("form",o.formGroup)("submitText",e.lcZ(14,7,o.action)))},directives:[Ye.z,En._Y,En.JL,Ma.V,En.sg,Ml.p],pipes:[p.Ts,p.rS],styles:[""]}),n})();const kf=["inventoryDevices"];function Gp(n,s){if(1&n&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.xp6(1),e.hij(" ",t," ")}}function t_(n,s){if(1&n&&(e.TgZ(0,"cd-alert-panel",13),e.ynx(1),e.SDv(2,14),e.BQk(),e.YNc(3,Gp,2,1,"span",15),e.qZA()),2&n){const t=e.oxw();e.Q6J("showTitle",!1),e.xp6(3),e.Q6J("ngForOf",t.requiredFilters)}}function nf(n,s){if(1&n&&(e.TgZ(0,"div")(1,"p",17)(2,"span"),e.SDv(3,18),e.ALo(4,"dimlessBinary"),e.qZA()()()),2&n){const t=e.oxw();e.xp6(4),e.pQV(t.filteredDevices.length)(e.lcZ(4,2,t.capacity)),e.QtT(3)}}const rf=function(){return["available","osd_ids"]};let Th=(()=>{class n{constructor(t,o,l,_,C){this.formBuilder=t,this.cdRef=o,this.activeModal=l,this.actionLabels=_,this.wizardStepService=C,this.submitAction=new e.vpe,this.icons=wo.P,this.filterColumns=[],this.devices=[],this.filteredDevices=[],this.capacity=0,this.canSubmit=!1,this.requiredFilters=[],this.action=_.ADD,this.createForm()}ngAfterViewInit(){const t=Sr().filter(this.inventoryDevices.columns,o=>this.filterColumns.includes(o.prop)&&"hostname"!==o.prop);setTimeout(()=>{this.requiredFilters=Sr().map(t,"name")},0)}createForm(){this.formGroup=this.formBuilder.group({})}onFilterChange(t){if(this.capacity=0,this.canSubmit=!1,Sr().isEmpty(t.filters))this.filteredDevices=[],this.event=void 0;else{const o=t.filters.filter(l=>"hostname"!==l.prop);this.canSubmit=!Sr().isEmpty(o),this.filteredDevices=t.data,this.capacity=Sr().sumBy(this.filteredDevices,"sys_api.size"),this.event=t}this.cdRef.detectChanges()}onSubmit(){this.submitAction.emit(this.event),this.activeModal.close()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(jl.O),e.Y36(e.sBO),e.Y36(Pr.Kz),e.Y36(Mo.p4),e.Y36(hu))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-osd-devices-selection-modal"]],viewQuery:function(t,o){if(1&t&&e.Gf(kf,5),2&t){let l;e.iGM(l=e.CRH())&&(o.inventoryDevices=l.first)}},outputs:{submitAction:"submitAction"},decls:14,vars:16,consts:function(){let s,t,o;return s="" + "\ufffd0\ufffd" + " devices",t="At least one of these filters must be applied in order to proceed:",o="Number of devices: " + "\ufffd0\ufffd" + ". Raw capacity: " + "\ufffd1\ufffd" + ".",[[3,"modalRef"],[1,"modal-title"],s,[1,"modal-content"],["novalidate","",3,"formGroup"],["frm","ngForm"],[1,"modal-body"],["type","warning","size","slim",3,"showTitle",4,"ngIf"],[3,"devices","filterColumns","hostname","diskType","hiddenColumns","filterChange"],["inventoryDevices",""],[4,"ngIf"],[1,"modal-footer"],[3,"form","disabled","submitText","submitActionEvent"],["type","warning","size","slim",3,"showTitle"],t,["class","badge badge-dark ms-2",4,"ngFor","ngForOf"],[1,"badge","badge-dark","ms-2"],[1,"text-center"],o]},template:function(t,o){1&t&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6),e.YNc(7,t_,4,2,"cd-alert-panel",7),e.TgZ(8,"cd-inventory-devices",8,9),e.NdJ("filterChange",function(_){return o.onFilterChange(_)}),e.qZA(),e.YNc(10,nf,5,4,"div",10),e.qZA(),e.TgZ(11,"div",11)(12,"cd-form-button-panel",12),e.NdJ("submitActionEvent",function(){return o.onSubmit()}),e.ALo(13,"titlecase"),e.qZA()()(),e.BQk(),e.qZA()),2&t&&(e.Q6J("modalRef",o.activeModal),e.xp6(2),e.pQV(o.deviceType),e.QtT(2),e.xp6(2),e.Q6J("formGroup",o.formGroup),e.xp6(3),e.Q6J("ngIf",!o.canSubmit),e.xp6(1),e.Q6J("devices",o.devices)("filterColumns",o.filterColumns)("hostname",o.hostname)("diskType",o.diskType)("hiddenColumns",e.DdM(15,rf)),e.xp6(2),e.Q6J("ngIf",o.canSubmit),e.xp6(2),e.Q6J("form",o.formGroup)("disabled",!o.canSubmit||0===o.filteredDevices.length)("submitText",e.lcZ(13,13,o.action)))},directives:[Ye.z,En._Y,En.JL,Ma.V,En.sg,p.O5,yo.G,p.sg,Rc,Ml.p],pipes:[Rr.$,p.rS],styles:[""]}),n})();function n_(n,s){1&n&&(e.TgZ(0,"span"),e.SDv(1,7),e.qZA())}function ud(n,s){1&n&&(e.TgZ(0,"span"),e.SDv(1,8),e.qZA())}function Ch(n,s){1&n&&(e.TgZ(0,"span"),e.SDv(1,9),e.qZA())}const fp=function(n){return[n]};function Mh(n,s){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"button",10),e.NdJ("click",function(){return e.CHM(t),e.oxw().showSelectionModal()}),e._UZ(2,"i",11),e.ynx(3),e.SDv(4,12),e.BQk(),e.qZA(),e.BQk()}if(2&n){const t=e.oxw();e.xp6(1),e.Q6J("title",t.addButtonTooltip)("disabled",0===t.availDevices.length||!t.canSelect||t.expansionCanSelect),e.xp6(1),e.Q6J("ngClass",e.VKq(3,fp,t.icons.add))}}function jc(n,s){if(1&n&&(e.TgZ(0,"span")(1,"span",19),e._uU(2),e.qZA()()),2&n){const t=s.$implicit;e.xp6(2),e.AsE("",t.name,": ",t.value.formatted,"")}}function Xf(n,s){if(1&n&&(e.TgZ(0,"div",20)(1,"span"),e.SDv(2,21),e.ALo(3,"dimlessBinary"),e.qZA()()),2&n){const t=e.oxw(2);e.xp6(3),e.pQV(e.lcZ(3,1,t.capacity)),e.QtT(2)}}const pp=function(){return["available","osd_ids"]},Op=function(){return[]};function Od(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",13),e.YNc(1,jc,3,2,"span",14),e.TgZ(2,"a",15),e.NdJ("click",function(){return e.CHM(t),e.oxw().clearDevices(),!1}),e._UZ(3,"i",11),e.ynx(4),e.SDv(5,16),e.BQk(),e.qZA()(),e.TgZ(6,"div"),e._UZ(7,"cd-inventory-devices",17),e.qZA(),e.YNc(8,Xf,4,3,"div",18)}if(2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngForOf",t.appliedFilters),e.xp6(2),e.Q6J("ngClass",e.VKq(6,fp,t.icons.clearFilters)),e.xp6(4),e.Q6J("devices",t.devices)("hiddenColumns",e.DdM(8,pp))("filterColumns",e.DdM(9,Op)),e.xp6(1),e.Q6J("ngIf","data"===t.type)}}let Vp=(()=>{class n{constructor(t,o,l){this.modalService=t,this.osdService=o,this.router=l,this.selected=new e.vpe,this.cleared=new e.vpe,this.icons=wo.P,this.devices=[],this.capacity=0,this.appliedFilters=new Array,this.expansionCanSelect=!1,this.tooltips={noAvailDevices:"No available devices",addPrimaryFirst:"Please add primary devices first",addByFilters:"Add devices by using filters"},this.isOsdPage=this.router.url.includes("/osd")}ngOnInit(){var t,o,l;this.isOsdPage||(this.devices=(null===(t=this.osdService)||void 0===t?void 0:t.osdDevices[this.type])?this.osdService.osdDevices[this.type]:[],this.capacity=Sr().sumBy(this.devices,"sys_api.size"),this.expansionCanSelect=!!(null===(o=this.osdService)||void 0===o?void 0:o.osdDevices)&&(null===(l=this.osdService)||void 0===l?void 0:l.osdDevices.disableSelect)),this.updateAddButtonTooltip()}ngOnChanges(){this.updateAddButtonTooltip()}showSelectionModal(){this.modalService.show(Th,{hostname:this.hostname,deviceType:this.name,diskType:"Primary"===this.name?"hdd":"ssd",devices:this.availDevices,filterColumns:["hostname","human_readable_type","sys_api.vendor","sys_api.model","sys_api.size"]},{size:"xl"}).componentInstance.submitAction.subscribe(C=>{this.devices=C.data,this.capacity=Sr().sumBy(this.devices,"sys_api.size"),this.appliedFilters=C.filters;const x=Sr().assign({type:this.type},C);this.isOsdPage||(this.osdService.osdDevices[this.type]=this.devices,this.osdService.osdDevices.disableSelect=this.canSelect||this.devices.length===this.availDevices.length,this.osdService.osdDevices[this.type].capacity=this.capacity),this.selected.emit(x)})}updateAddButtonTooltip(){this.addButtonTooltip="data"===this.type&&0===this.availDevices.length?this.tooltips.noAvailDevices:this.canSelect?0===this.availDevices.length?this.tooltips.noAvailDevices:this.tooltips.addByFilters:this.tooltips.addPrimaryFirst}clearDevices(){this.isOsdPage||(this.expansionCanSelect=!1,this.osdService.osdDevices.disableSelect=!1,this.osdService.osdDevices=[]);const t={type:this.type,clearedDevices:[...this.devices]};this.devices=[],this.cleared.emit(t)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(ou.Z),e.Y36(ic),e.Y36(Io.F0))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-osd-devices-selection-groups"]],inputs:{type:"type",name:"name",hostname:"hostname",availDevices:"availDevices",canSelect:"canSelect"},outputs:{selected:"selected",cleared:"cleared"},features:[e.TTD],decls:12,vars:6,consts:function(){let s,t,o,l,_,C,x;return s="" + "\ufffd0\ufffd" + " devices",t="The primary storage devices. These devices contain all OSD data.",o="Write-Ahead-Log devices. These devices are used for BlueStore\u2019s internal journal. It is only useful to use a WAL device if the device is faster than the primary device (e.g. NVME devices or SSDs). If there is only a small amount of fast storage available (e.g., less than a gigabyte), we recommend using it as a WAL device.",l="DB devices can be used for storing BlueStore\u2019s internal metadata. It is only helpful to provision a DB device if it is faster than the primary device (e.g. NVME devices or SSD).",_="Add",C="Clear",x="Raw capacity: " + "\ufffd0\ufffd" + "",[[1,"form-group","row"],["for","createDeleteButton",1,"cd-col-form-label"],s,[4,"ngIf"],[1,"cd-col-form-input"],[4,"ngIf","ngIfElse"],["blockClearDevices",""],t,o,l,["type","button","data-toggle","tooltip",1,"btn","btn-light",3,"title","disabled","click"],[3,"ngClass"],_,[1,"pb-2","my-2","border-bottom"],[4,"ngFor","ngForOf"],["href","",1,"tc_clearSelections",3,"click"],C,[3,"devices","hiddenColumns","filterColumns"],["class","float-end",4,"ngIf"],[1,"badge","badge-dark","me-2"],[1,"float-end"],x]},template:function(t,o){if(1&t&&(e.TgZ(0,"div",0)(1,"label",1),e.ynx(2),e.SDv(3,2),e.BQk(),e.TgZ(4,"cd-helper"),e.YNc(5,n_,2,0,"span",3),e.YNc(6,ud,2,0,"span",3),e.YNc(7,Ch,2,0,"span",3),e.qZA()(),e.TgZ(8,"div",4),e.YNc(9,Mh,5,5,"ng-container",5),e.YNc(10,Od,9,10,"ng-template",null,6,e.W1O),e.qZA()()),2&t){const l=e.MAs(11);e.xp6(3),e.pQV(o.name),e.QtT(3),e.xp6(2),e.Q6J("ngIf","data"===o.type),e.xp6(1),e.Q6J("ngIf","wal"===o.type),e.xp6(1),e.Q6J("ngIf","db"===o.type),e.xp6(2),e.Q6J("ngIf",0===o.devices.length)("ngIfElse",l)}},directives:[ll.P,xe.S,p.O5,ge.o,p.mk,p.sg,Rc],pipes:[Rr.$],styles:[".tc_clearSelections[_ngcontent-%COMP%]{text-decoration:none}"]}),n})();const Kf=["dataDeviceSelectionGroups"],r_=["walDeviceSelectionGroups"],i_=["dbDeviceSelectionGroups"],Ap=["previewButtonPanel"];function Zp(n,s){1&n&&e._UZ(0,"cd-orchestrator-doc-panel")}function sf(n,s){if(1&n&&(e.TgZ(0,"div",33),e.SDv(1,34),e.ALo(2,"titlecase"),e.ALo(3,"upperFirst"),e.qZA()),2&n){const t=e.oxw(2);e.xp6(3),e.pQV(e.lcZ(2,2,t.action))(e.lcZ(3,4,t.resource)),e.QtT(1)}}function qf(n,s){1&n&&(e.TgZ(0,"cd-alert-panel",35),e.SDv(1,36),e.qZA())}function zp(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",37)(1,"div",38)(2,"input",39),e.NdJ("change",function(){return e.CHM(t),e.oxw(2).emitDeploymentSelection()}),e.qZA(),e.TgZ(3,"label",40),e.tHW(4,41),e.TgZ(5,"cd-helper"),e._UZ(6,"span"),e.qZA(),e.N_p(),e.qZA()()()}if(2&n){const t=s.$implicit,o=e.oxw(2);e.xp6(2),e.Q6J("id",t)("value",t),e.uIk("disabled",null==o.deploymentOptions||!o.deploymentOptions.options[t].available||null),e.xp6(1),e.Q6J("id","label_"+t)("for",t),e.xp6(3),e.pQV(null==o.deploymentOptions?null:o.deploymentOptions.options[t].title)((null==o.deploymentOptions?null:o.deploymentOptions.recommended_option)===t?"(Recommended)":"")(null==o.deploymentOptions?null:o.deploymentOptions.options[t].desc),e.QtT(4)}}function y_(n,s){1&n&&(e.TgZ(0,"span",50),e.SDv(1,51),e.qZA())}function ep(n,s){if(1&n&&(e.TgZ(0,"div",42)(1,"label",43),e.ynx(2),e.SDv(3,44),e.BQk(),e.TgZ(4,"cd-helper")(5,"span"),e.SDv(6,45),e.qZA(),e._UZ(7,"br"),e.TgZ(8,"span"),e.SDv(9,46),e.qZA()()(),e.TgZ(10,"div",47),e._UZ(11,"input",48),e.YNc(12,y_,2,0,"span",49),e.qZA()()),2&n){e.oxw();const t=e.MAs(4),o=e.oxw();e.xp6(12),e.Q6J("ngIf",o.form.showError("walSlots",t,"min"))}}function Wp(n,s){1&n&&(e.TgZ(0,"span",50),e.SDv(1,57),e.qZA())}function E_(n,s){if(1&n&&(e.TgZ(0,"div",42)(1,"label",52),e.ynx(2),e.SDv(3,53),e.BQk(),e.TgZ(4,"cd-helper")(5,"span"),e.SDv(6,54),e.qZA(),e._UZ(7,"br"),e.TgZ(8,"span"),e.SDv(9,55),e.qZA()()(),e.TgZ(10,"div",47),e._UZ(11,"input",56),e.YNc(12,Wp,2,0,"span",49),e.qZA()()),2&n){e.oxw();const t=e.MAs(4),o=e.oxw();e.xp6(12),e.Q6J("ngIf",o.form.showError("dbSlots",t,"min"))}}function nm(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",58)(1,"input",59),e.NdJ("change",function(){return e.CHM(t),e.oxw(2).emitDeploymentSelection()}),e.qZA(),e.TgZ(2,"label",60),e._uU(3),e.qZA()()}if(2&n){const t=s.$implicit;e.xp6(1),e.s9C("id",t.key),e.s9C("name",t.key),e.s9C("formControlName",t.key),e.xp6(1),e.s9C("for",t.key),e.xp6(1),e.Oqu(t.desc)}}function Oh(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",61)(1,"cd-form-button-panel",62,63),e.NdJ("submitActionEvent",function(){return e.CHM(t),e.oxw(2).submit()}),e.qZA()()}if(2&n){e.oxw();const t=e.MAs(23),o=e.oxw();e.xp6(1),e.Q6J("form",o.form)("disabled",0===t.devices.length&&!o.simpleDeployment)("submitText",o.simpleDeployment?"Create OSDs":o.actionLabels.PREVIEW)}}const b_=function(n){return{collapsed:n}},$f=function(n){return{show:n}};function $_(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",2),e.YNc(1,sf,4,6,"div",3),e.TgZ(2,"div",4)(3,"form",5,6),e.YNc(5,qf,2,0,"cd-alert-panel",7),e.TgZ(6,"div",8)(7,"div",9)(8,"h2",10)(9,"button",11),e.NdJ("click",function(){return e.CHM(t),e.oxw().emitDeploymentMode()}),e.SDv(10,12),e.qZA()()(),e.TgZ(11,"div",13)(12,"div",14),e.YNc(13,zp,7,8,"div",15),e.qZA()(),e.TgZ(14,"div",9)(15,"h2",10)(16,"button",16),e.NdJ("click",function(){return e.CHM(t),e.oxw().emitDeploymentMode()}),e.SDv(17,17),e.qZA()()(),e.TgZ(18,"div",13)(19,"div",14)(20,"div",18)(21,"fieldset")(22,"cd-osd-devices-selection-groups",19,20),e.NdJ("selected",function(l){return e.CHM(t),e.oxw().onDevicesSelected(l)})("cleared",function(l){return e.CHM(t),e.oxw().onDevicesCleared(l)}),e.qZA()(),e.TgZ(24,"fieldset")(25,"legend"),e.SDv(26,21),e.qZA(),e.TgZ(27,"cd-osd-devices-selection-groups",22,23),e.NdJ("selected",function(l){return e.CHM(t),e.oxw().onDevicesSelected(l)})("cleared",function(l){return e.CHM(t),e.oxw().onDevicesCleared(l)}),e.qZA(),e.YNc(29,ep,13,1,"div",24),e.TgZ(30,"cd-osd-devices-selection-groups",25,26),e.NdJ("selected",function(l){return e.CHM(t),e.oxw().onDevicesSelected(l)})("cleared",function(l){return e.CHM(t),e.oxw().onDevicesCleared(l)}),e.qZA(),e.YNc(32,E_,13,1,"div",24),e.qZA()()()(),e.TgZ(33,"div",9)(34,"h2",10)(35,"button",27),e.SDv(36,28),e.qZA()()(),e.TgZ(37,"div",29)(38,"div",14)(39,"div",30),e.YNc(40,nm,4,5,"div",31),e.qZA()()()()()(),e.YNc(41,Oh,3,3,"div",32),e.qZA()}if(2&n){const t=e.MAs(23),o=e.MAs(28),l=e.MAs(31),_=e.oxw();e.xp6(1),e.Q6J("ngIf",!_.hideTitle),e.xp6(2),e.Q6J("formGroup",_.form),e.xp6(2),e.Q6J("ngIf",!(null!=_.deploymentOptions&&_.deploymentOptions.recommended_option)),e.xp6(4),e.Q6J("ngClass",e.VKq(20,b_,!_.simpleDeployment)),e.xp6(2),e.Q6J("ngClass",e.VKq(22,$f,_.simpleDeployment)),e.xp6(2),e.Q6J("ngForOf",_.optionNames),e.xp6(3),e.Q6J("ngClass",e.VKq(24,b_,_.simpleDeployment)),e.xp6(2),e.Q6J("ngClass",e.VKq(26,$f,!_.simpleDeployment)),e.xp6(4),e.Q6J("availDevices",_.availDevices)("canSelect",0!==_.availDevices.length),e.xp6(5),e.Q6J("availDevices",_.availDevices)("canSelect",0!==t.devices.length)("hostname",_.hostname),e.xp6(2),e.Q6J("ngIf",0!==o.devices.length),e.xp6(1),e.Q6J("availDevices",_.availDevices)("canSelect",0!==t.devices.length)("hostname",_.hostname),e.xp6(2),e.Q6J("ngIf",0!==l.devices.length),e.xp6(8),e.Q6J("ngForOf",_.featureList),e.xp6(1),e.Q6J("ngIf",!_.hideSubmitBtn)}}let S_=(()=>{class n extends Ul.E{constructor(t,o,l,_,C,x,N,V){super(),this.actionLabels=t,this.authStorageService=o,this.orchService=l,this.hostService=_,this.router=C,this.modalService=x,this.osdService=N,this.taskWrapper=V,this.hideTitle=!1,this.hideSubmitBtn=!1,this.emitDriveGroup=new e.vpe,this.emitDeploymentOption=new e.vpe,this.emitMode=new e.vpe,this.icons=wo.P,this.columns=[],this.allDevices=[],this.availDevices=[],this.dataDeviceFilters=[],this.dbDeviceFilters=[],this.walDeviceFilters=[],this.hostname="",this.driveGroup=new pc,this.featureList=[],this.hasOrchestrator=!0,this.simpleDeployment=!0,this.optionNames=Object.values(Bu),this.resource="OSDs",this.action=this.actionLabels.CREATE,this.features={encrypted:{key:"encrypted",desc:"Encryption"}},this.featureList=Sr().map(this.features,(Q,oe)=>Object.assign(Q,{key:oe})),this.createForm()}ngOnInit(){this.orchService.status().subscribe(t=>{this.hasOrchestrator=t.available,t.available?this.getDataDevices():this.loadingNone()}),this.osdService.getDeploymentOptions().subscribe(t=>{var o,l;this.deploymentOptions=t,this.form.get("deploymentOption").setValue(null===(o=this.deploymentOptions)||void 0===o?void 0:o.recommended_option),(null===(l=this.deploymentOptions)||void 0===l?void 0:l.recommended_option)&&this.enableFeatures()}),this.form.get("walSlots").valueChanges.subscribe(t=>this.setSlots("wal",t)),this.form.get("dbSlots").valueChanges.subscribe(t=>this.setSlots("db",t)),Sr().each(this.features,t=>{this.form.get("features").get(t.key).valueChanges.subscribe(o=>this.featureFormUpdate(t.key,o))})}createForm(){this.form=new nc.d({walSlots:new En.NI(0),dbSlots:new En.NI(0),features:new nc.d(this.featureList.reduce((t,o)=>(t[o.key]=new En.NI({value:!1,disabled:!0}),t),{})),deploymentOption:new En.NI(0)})}getDataDevices(){this.hostService.inventoryDeviceList().subscribe(t=>{this.allDevices=Sr().filter(t,"available"),this.availDevices=[...this.allDevices],this.loadingReady()},()=>{this.allDevices=[],this.availDevices=[],this.loadingError()})}setSlots(t,o){"number"==typeof o&&o>=0&&this.driveGroup.setSlots(t,o)}featureFormUpdate(t,o){this.driveGroup.setFeature(t,o)}enableFeatures(){this.featureList.forEach(t=>{this.form.get(t.key).enable({emitEvent:!1})})}disableFeatures(){this.featureList.forEach(t=>{const o=this.form.get(t.key);o.disable({emitEvent:!1}),o.setValue(!1,{emitEvent:!1})})}onDevicesSelected(t){if(this.availDevices=t.dataOut,"data"===t.type){const o=Sr().find(t.filters,{prop:"hostname"});o?(this.hostname=o.value.raw,this.availDevices=t.dataOut.filter(l=>l.hostname===this.hostname),this.driveGroup.setHostPattern(this.hostname)):this.driveGroup.setHostPattern("*"),this.enableFeatures()}this.driveGroup.setDeviceSelection(t.type,t.filters),this.emitDriveGroup.emit(this.driveGroup)}onDevicesCleared(t){"data"===t.type?(this.hostname="",this.availDevices=[...this.allDevices],this.walDeviceSelectionGroups.devices=[],this.dbDeviceSelectionGroups.devices=[],this.disableFeatures(),this.driveGroup.reset(),this.form.get("walSlots").setValue(0,{emitEvent:!1}),this.form.get("dbSlots").setValue(0,{emitEvent:!1})):(this.availDevices=[...this.availDevices,...t.clearedDevices],this.driveGroup.clearDeviceSelection(t.type),this.form.get(`${t.type}Slots`).setValue(0,{emitEvent:!1}))}emitDeploymentSelection(){const t=this.form.get("deploymentOption").value,o=this.form.get("encrypted").value;this.emitDeploymentOption.emit({option:t,encrypted:o})}emitDeploymentMode(){this.simpleDeployment=!this.simpleDeployment,this.simpleDeployment||0!==this.dataDeviceSelectionGroups.devices.length?this.enableFeatures():this.disableFeatures(),this.emitMode.emit(this.simpleDeployment)}submit(){if(this.simpleDeployment){const l={option:this.form.get("deploymentOption").value,encrypted:this.form.get("encrypted").value},C=`${this.deploymentOptions.options[l.option].title} deployment`;this.taskWrapper.wrapTaskAroundCall({task:new Ql.R("osd/"+Mo.MQ.CREATE,{tracking_id:C}),call:this.osdService.create([l],C,"predefined")}).subscribe({complete:()=>{this.router.navigate(["/osd"])}})}else{const t=this.authStorageService.getUsername();this.driveGroup.setName(`dashboard-${t}-${Sr().now()}`),this.modalService.show(Qf,{driveGroups:[this.driveGroup.spec]}).componentInstance.submitAction.subscribe(()=>{this.router.navigate(["/osd"])}),this.previewButtonPanel.submitButton.loading=!1}}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Mo.p4),e.Y36(Vi.j),e.Y36(h),e.Y36(bc),e.Y36(Io.F0),e.Y36(ou.Z),e.Y36(ic),e.Y36(Sc.P))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-osd-form"]],viewQuery:function(t,o){if(1&t&&(e.Gf(Kf,5),e.Gf(r_,5),e.Gf(i_,5),e.Gf(Ap,5)),2&t){let l;e.iGM(l=e.CRH())&&(o.dataDeviceSelectionGroups=l.first),e.iGM(l=e.CRH())&&(o.walDeviceSelectionGroups=l.first),e.iGM(l=e.CRH())&&(o.dbDeviceSelectionGroups=l.first),e.iGM(l=e.CRH())&&(o.previewButtonPanel=l.first)}},inputs:{hideTitle:"hideTitle",hideSubmitBtn:"hideSubmitBtn"},outputs:{emitDriveGroup:"emitDriveGroup",emitDeploymentOption:"emitDeploymentOption",emitMode:"emitMode"},features:[e.qOj],decls:2,vars:2,consts:function(){let s,t,o,l,_,C,x,N,V,Q,oe,le,me,ye,$e;return s="Deployment Options",t="Advanced Mode",o="Shared devices",l="Features",_="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",C=" No devices(HDD, SSD or NVME) were found. Creation of OSDs will remain disabled until devices are added. ",x="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + " " + "\ufffd#5\ufffd" + "" + "\ufffd#6\ufffd" + "" + "\ufffd2\ufffd" + "" + "\ufffd/#6\ufffd" + "" + "\ufffd/#5\ufffd" + "",N="WAL slots",V="How many OSDs per WAL device.",Q="Specify 0 to let Orchestrator backend decide it.",oe="Value should be greater than or equal to 0",le="DB slots",me="How many OSDs per DB device.",ye="Specify 0 to let Orchestrator backend decide it.",$e="Value should be greater than or equal to 0",[[4,"ngIf"],["class","card",4,"cdFormLoading"],[1,"card"],["class","card-header",4,"ngIf"],[1,"card-body","ms-2"],["name","form","novalidate","",3,"formGroup"],["formDir","ngForm"],["type","warning","class","mx-3",4,"ngIf"],[1,"accordion"],[1,"accordion-item"],[1,"accordion-header"],["type","button","data-toggle","collapse","aria-label","toggle deployment options",1,"accordion-button",3,"ngClass","click"],s,[1,"accordion-collapse","collapse",3,"ngClass"],[1,"accordion-body"],["class","pt-3 pb-3",4,"ngFor","ngForOf"],["type","button","aria-label","toggle advanced mode",1,"accordion-button",3,"ngClass","click"],t,[1,"card-body"],["name","Primary","type","data",3,"availDevices","canSelect","selected","cleared"],["dataDeviceSelectionGroups",""],o,["name","WAL","type","wal",3,"availDevices","canSelect","hostname","selected","cleared"],["walDeviceSelectionGroups",""],["class","form-group row",4,"ngIf"],["name","DB","type","db",3,"availDevices","canSelect","hostname","selected","cleared"],["dbDeviceSelectionGroups",""],["type","button","data-toggle","collapse","aria-label","features","aria-expanded","true",1,"accordion-button"],l,[1,"accordion-collapse","collapse","show"],["formGroupName","features",1,"pt-3","pb-3"],["class","custom-control custom-checkbox",4,"ngFor","ngForOf"],["class","card-footer",4,"ngIf"],[1,"card-header"],_,["type","warning",1,"mx-3"],C,[1,"pt-3","pb-3"],[1,"custom-control","form-check","custom-control-inline"],["type","radio","name","deploymentOption","formControlName","deploymentOption",1,"form-check-input",3,"id","value","change"],[1,"form-check-label",3,"id","for"],x,[1,"form-group","row"],["for","walSlots",1,"cd-col-form-label"],N,V,Q,[1,"cd-col-form-input"],["id","walSlots","name","walSlots","type","number","min","0","formControlName","walSlots",1,"form-control"],["class","invalid-feedback",4,"ngIf"],[1,"invalid-feedback"],oe,["for","dbSlots",1,"cd-col-form-label"],le,me,ye,["id","dbSlots","name","dbSlots","type","number","min","0","formControlName","dbSlots",1,"form-control"],$e,[1,"custom-control","custom-checkbox"],["type","checkbox",1,"custom-control-input",3,"id","name","formControlName","change"],[1,"custom-control-label",3,"for"],[1,"card-footer"],["wrappingClass","text-right",3,"form","disabled","submitText","submitActionEvent"],["previewButtonPanel",""]]},template:function(t,o){1&t&&(e.YNc(0,Zp,1,0,"cd-orchestrator-doc-panel",0),e.YNc(1,$_,42,28,"div",1)),2&t&&(e.Q6J("ngIf",!o.hasOrchestrator),e.xp6(1),e.Q6J("cdFormLoading",o.loading))},directives:[p.O5,sh,cu.y,En._Y,En.JL,Ma.V,En.sg,yo.G,ge.o,p.mk,p.sg,En._,En.Fj,Ll.b,En.JJ,En.u,xe.S,Vp,ll.P,En.qQ,En.wV,En.x0,En.Wl,Ml.p],pipes:[p.rS,Mt.m],styles:[""]}),n})();var Mf=i(67460);let H_=(()=>{class n{transform(t){if(Sr().isUndefined(t))return "no spec";if(Sr().get(t,"unmanaged",!1))return "unmanaged";const o=[],l=Sr().get(t,"placement.hosts"),_=Sr().get(t,"placement.count"),C=Sr().get(t,"placement.label"),x=Sr().get(t,"placement.host_pattern");return Sr().isArray(l)&&o.push(...l),Sr().isNumber(_)&&o.push("count:" + _ + ""),Sr().isString(C)&&o.push("label:" + C + ""),Sr().isString(x)&&o.push(x),o.join(";")}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275pipe=e.Yjl({name:"placement",type:n,pure:!0}),n})();var tp=i(79765),Dp=i(66682),xp=i(54395),Ud=i(87519),Rp=i(45435),o_=i(80842),Jp=i(14745),T_=i(4416),Ad=i(58039);function B_(n,s){if(1&n&&(e.TgZ(0,"option",27),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function Sm(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,29),e.qZA())}function hp(n,s){1&n&&(e.TgZ(0,"option",12),e.SDv(1,34),e.qZA()),2&n&&e.Q6J("ngValue",null)}function Ah(n,s){1&n&&(e.TgZ(0,"option",12),e.SDv(1,35),e.qZA()),2&n&&e.Q6J("ngValue",null)}function Gc(n,s){1&n&&(e.TgZ(0,"option",12),e.SDv(1,36),e.qZA()),2&n&&e.Q6J("ngValue",null)}function rm(n,s){if(1&n&&(e.TgZ(0,"option",27),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("value",t.service_name),e.xp6(1),e.Oqu(t.service_name)}}function C_(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,37),e.qZA())}const Dh=function(){return["ingress"]},I=function(n){return{required:n}};function ne(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",7)(1,"label",30),e.SDv(2,31),e.qZA(),e.TgZ(3,"div",10)(4,"select",32),e.NdJ("change",function(){return e.CHM(t),e.oxw().prePopulateId()}),e.YNc(5,hp,2,1,"option",33),e.YNc(6,Ah,2,1,"option",33),e.YNc(7,Gc,2,1,"option",33),e.YNc(8,rm,2,2,"option",14),e.qZA(),e.YNc(9,C_,2,0,"span",15),e.qZA()()}if(2&n){const t=e.oxw(),o=e.MAs(7);e.xp6(1),e.Q6J("ngClass",e.VKq(7,I,e.DdM(6,Dh).includes(t.serviceForm.controls.service_type.value))),e.xp6(4),e.Q6J("ngIf",null===t.services),e.xp6(1),e.Q6J("ngIf",null!==t.services&&0===t.services.length),e.xp6(1),e.Q6J("ngIf",null!==t.services&&t.services.length>0),e.xp6(1),e.Q6J("ngForOf",t.services),e.xp6(1),e.Q6J("ngIf",t.serviceForm.showError("backend_service",o,"required"))}}function S(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,42),e.qZA())}function z(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,43),e.qZA())}function Me(n,s){1&n&&(e.TgZ(0,"span",28),e.tHW(1,44),e._UZ(2,"strong"),e.N_p(),e.qZA())}function Ke(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,45),e.qZA())}const gn=function(){return["mds","rgw","nfs","iscsi","ingress"]};function yr(n,s){if(1&n&&(e.TgZ(0,"div",7)(1,"label",38)(2,"span"),e.SDv(3,39),e.qZA(),e.TgZ(4,"cd-helper"),e.SDv(5,40),e.qZA()(),e.TgZ(6,"div",10),e._UZ(7,"input",41),e.YNc(8,S,2,0,"span",15),e.YNc(9,z,2,0,"span",15),e.YNc(10,Me,3,0,"span",15),e.YNc(11,Ke,2,0,"span",15),e.qZA()()),2&n){const t=e.oxw(),o=e.MAs(7);e.xp6(1),e.Q6J("ngClass",e.VKq(6,I,e.DdM(5,gn).includes(t.serviceForm.controls.service_type.value))),e.xp6(7),e.Q6J("ngIf",t.serviceForm.showError("service_id",o,"required")),e.xp6(1),e.Q6J("ngIf",t.serviceForm.showError("service_id",o,"uniqueName")),e.xp6(1),e.Q6J("ngIf",t.serviceForm.showError("service_id",o,"rgwPattern")),e.xp6(1),e.Q6J("ngIf",t.serviceForm.showError("service_id",o,"mdsPattern"))}}function Nr(n,s){1&n&&(e.TgZ(0,"div",7)(1,"label",46),e.SDv(2,47),e.qZA(),e.TgZ(3,"div",10)(4,"select",48)(5,"option",49),e.SDv(6,50),e.qZA(),e.TgZ(7,"option",51),e.SDv(8,52),e.qZA()()()())}function vi(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,56),e.qZA())}function di(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",7)(1,"label",53),e.SDv(2,54),e.qZA(),e.TgZ(3,"div",10)(4,"input",55),e.NdJ("focus",function(l){return e.CHM(t),e.oxw().labelFocus.next(l.target.value)})("click",function(l){return e.CHM(t),e.oxw().labelClick.next(l.target.value)}),e.qZA(),e.YNc(5,vi,2,0,"span",15),e.qZA()()}if(2&n){const t=e.oxw(),o=e.MAs(7);e.xp6(4),e.Q6J("ngbTypeahead",t.searchLabels),e.xp6(1),e.Q6J("ngIf",t.serviceForm.showError("label",o,"required"))}}function ts(n,s){if(1&n&&(e.TgZ(0,"div",7)(1,"label",57),e.SDv(2,58),e.qZA(),e.TgZ(3,"div",10),e._UZ(4,"cd-select-badges",59),e.qZA()()),2&n){const t=e.oxw();e.xp6(4),e.Q6J("data",t.serviceForm.controls.hosts.value)("options",t.hosts.options)("messages",t.hosts.messages)}}function Do(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,64),e.qZA())}function Ss(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,65),e.qZA())}function Yo(n,s){if(1&n&&(e.TgZ(0,"div",7)(1,"label",60)(2,"span"),e.SDv(3,61),e.qZA(),e.TgZ(4,"cd-helper"),e.SDv(5,62),e.qZA()(),e.TgZ(6,"div",10),e._UZ(7,"input",63),e.YNc(8,Do,2,0,"span",15),e.YNc(9,Ss,2,0,"span",15),e.qZA()()),2&n){const t=e.oxw(),o=e.MAs(7);e.xp6(8),e.Q6J("ngIf",t.serviceForm.showError("count",o,"min")),e.xp6(1),e.Q6J("ngIf",t.serviceForm.showError("count",o,"pattern"))}}function ia(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,69),e.qZA())}function y(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,70),e.qZA())}function D(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,71),e.qZA())}function Y(n,s){if(1&n&&(e.ynx(0),e.TgZ(1,"div",7)(2,"label",66),e.SDv(3,67),e.qZA(),e.TgZ(4,"div",10),e._UZ(5,"input",68),e.YNc(6,ia,2,0,"span",15),e.YNc(7,y,2,0,"span",15),e.YNc(8,D,2,0,"span",15),e.qZA()(),e.BQk()),2&n){const t=e.oxw(),o=e.MAs(7);e.xp6(6),e.Q6J("ngIf",t.serviceForm.showError("rgw_frontend_port",o,"pattern")),e.xp6(1),e.Q6J("ngIf",t.serviceForm.showError("rgw_frontend_port",o,"min")),e.xp6(1),e.Q6J("ngIf",t.serviceForm.showError("rgw_frontend_port",o,"max"))}}function Ee(n,s){1&n&&(e.TgZ(0,"option",12),e.SDv(1,75),e.qZA()),2&n&&e.Q6J("ngValue",null)}function ze(n,s){1&n&&(e.TgZ(0,"option",12),e.SDv(1,76),e.qZA()),2&n&&e.Q6J("ngValue",null)}function At(n,s){1&n&&(e.TgZ(0,"option",12),e.SDv(1,77),e.qZA()),2&n&&e.Q6J("ngValue",null)}function tn(n,s){if(1&n&&(e.TgZ(0,"option",27),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("value",t.pool_name),e.xp6(1),e.Oqu(t.pool_name)}}function Tn(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,78),e.qZA())}function ar(n,s){if(1&n&&(e.TgZ(0,"div",7)(1,"label",72),e.SDv(2,73),e.qZA(),e.TgZ(3,"div",10)(4,"select",74),e.YNc(5,Ee,2,1,"option",33),e.YNc(6,ze,2,1,"option",33),e.YNc(7,At,2,1,"option",33),e.YNc(8,tn,2,2,"option",14),e.qZA(),e.YNc(9,Tn,2,0,"span",15),e.qZA()()),2&n){const t=e.oxw(),o=e.MAs(7);e.xp6(5),e.Q6J("ngIf",null===t.pools),e.xp6(1),e.Q6J("ngIf",t.pools&&0===t.pools.length),e.xp6(1),e.Q6J("ngIf",t.pools&&t.pools.length>0),e.xp6(1),e.Q6J("ngForOf",t.pools),e.xp6(1),e.Q6J("ngIf",t.serviceForm.showError("pool",o,"required"))}}function li(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,96),e.qZA())}function Ho(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,97),e.qZA())}function Hs(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,98),e.qZA())}function po(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,99),e.qZA())}function fs(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,100),e.qZA())}const oa=function(){return["iscsi"]};function Xs(n,s){if(1&n&&(e.ynx(0),e.TgZ(1,"div",7)(2,"label",79)(3,"span"),e.SDv(4,80),e.qZA(),e.TgZ(5,"cd-helper")(6,"span"),e.SDv(7,81),e.qZA(),e._UZ(8,"br"),e.TgZ(9,"span"),e.tHW(10,82),e._UZ(11,"b"),e.N_p(),e.qZA()()(),e.TgZ(12,"div",10),e._UZ(13,"input",83),e.qZA()(),e.TgZ(14,"div",7)(15,"label",84),e.SDv(16,85),e.qZA(),e.TgZ(17,"div",10),e._UZ(18,"input",86),e.YNc(19,li,2,0,"span",15),e.YNc(20,Ho,2,0,"span",15),e.YNc(21,Hs,2,0,"span",15),e.qZA()(),e.TgZ(22,"div",7)(23,"label",87),e.SDv(24,88),e.qZA(),e.TgZ(25,"div",10),e._UZ(26,"input",89),e.YNc(27,po,2,0,"span",15),e.qZA()(),e.TgZ(28,"div",7)(29,"label",90),e.SDv(30,91),e.qZA(),e.TgZ(31,"div",10)(32,"div",92),e._UZ(33,"input",93)(34,"button",94)(35,"cd-copy-2-clipboard-button",95),e.YNc(36,fs,2,0,"span",15),e.qZA()()(),e.BQk()),2&n){const t=e.oxw(),o=e.MAs(7);e.xp6(19),e.Q6J("ngIf",t.serviceForm.showError("api_port",o,"pattern")),e.xp6(1),e.Q6J("ngIf",t.serviceForm.showError("api_port",o,"min")),e.xp6(1),e.Q6J("ngIf",t.serviceForm.showError("api_port",o,"max")),e.xp6(2),e.Q6J("ngClass",e.VKq(8,I,e.DdM(7,oa).includes(t.serviceForm.controls.service_type.value))),e.xp6(4),e.Q6J("ngIf",t.serviceForm.showError("api_user",o,"required")),e.xp6(2),e.Q6J("ngClass",e.VKq(11,I,e.DdM(10,oa).includes(t.serviceForm.controls.service_type.value))),e.xp6(7),e.Q6J("ngIf",t.serviceForm.showError("api_password",o,"required"))}}function Qr(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,113),e.qZA())}function Fr(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,114),e.qZA())}function Zr(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,115),e.qZA())}function Hi(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,116),e.qZA())}function io(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,117),e.qZA())}function Ha(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,118),e.qZA())}function vs(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,119),e.qZA())}function Pa(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,120),e.qZA())}function Za(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,121),e.qZA())}function va(n,s){1&n&&(e.TgZ(0,"div",7)(1,"label",122)(2,"span"),e.SDv(3,123),e.qZA(),e.TgZ(4,"cd-helper")(5,"span"),e.SDv(6,124),e.qZA()()(),e.TgZ(7,"div",10),e._UZ(8,"input",125),e.qZA()())}function Hf(n,s){if(1&n&&(e.ynx(0),e.TgZ(1,"div",7)(2,"label",101)(3,"span"),e.SDv(4,102),e.qZA(),e.TgZ(5,"cd-helper")(6,"span"),e.SDv(7,103),e.qZA()()(),e.TgZ(8,"div",10),e._UZ(9,"input",104),e.YNc(10,Qr,2,0,"span",15),e.qZA()(),e.TgZ(11,"div",7)(12,"label",105)(13,"span"),e.SDv(14,106),e.qZA(),e.TgZ(15,"cd-helper")(16,"span"),e.SDv(17,107),e.qZA()()(),e.TgZ(18,"div",10),e._UZ(19,"input",108),e.YNc(20,Fr,2,0,"span",15),e.YNc(21,Zr,2,0,"span",15),e.YNc(22,Hi,2,0,"span",15),e.YNc(23,io,2,0,"span",15),e.qZA()(),e.TgZ(24,"div",7)(25,"label",109)(26,"span"),e.SDv(27,110),e.qZA(),e.TgZ(28,"cd-helper")(29,"span"),e.SDv(30,111),e.qZA()()(),e.TgZ(31,"div",10),e._UZ(32,"input",112),e.YNc(33,Ha,2,0,"span",15),e.YNc(34,vs,2,0,"span",15),e.YNc(35,Pa,2,0,"span",15),e.YNc(36,Za,2,0,"span",15),e.qZA()(),e.YNc(37,va,9,0,"div",16),e.BQk()),2&n){const t=e.oxw(),o=e.MAs(7);e.xp6(2),e.Q6J("ngClass",e.VKq(14,I,e.DdM(13,Dh).includes(t.serviceForm.controls.service_type.value))),e.xp6(8),e.Q6J("ngIf",t.serviceForm.showError("virtual_ip",o,"required")),e.xp6(2),e.Q6J("ngClass",e.VKq(17,I,e.DdM(16,Dh).includes(t.serviceForm.controls.service_type.value))),e.xp6(8),e.Q6J("ngIf",t.serviceForm.showError("frontend_port",o,"pattern")),e.xp6(1),e.Q6J("ngIf",t.serviceForm.showError("frontend_port",o,"min")),e.xp6(1),e.Q6J("ngIf",t.serviceForm.showError("frontend_port",o,"max")),e.xp6(1),e.Q6J("ngIf",t.serviceForm.showError("frontend_port",o,"required")),e.xp6(2),e.Q6J("ngClass",e.VKq(20,I,e.DdM(19,Dh).includes(t.serviceForm.controls.service_type.value))),e.xp6(8),e.Q6J("ngIf",t.serviceForm.showError("monitor_port",o,"pattern")),e.xp6(1),e.Q6J("ngIf",t.serviceForm.showError("monitor_port",o,"min")),e.xp6(1),e.Q6J("ngIf",t.serviceForm.showError("monitor_port",o,"max")),e.xp6(1),e.Q6J("ngIf",t.serviceForm.showError("monitor_port",o,"required")),e.xp6(1),e.Q6J("ngIf",!t.serviceForm.controls.unmanaged.value)}}function im(n,s){if(1&n&&(e.TgZ(0,"option",27),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("value",t),e.xp6(1),e.Oqu(t)}}function s_(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,135),e.qZA())}function om(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,136),e.qZA())}function Jm(n,s){1&n&&(e.TgZ(0,"span",28),e.tHW(1,137),e._UZ(2,"strong"),e.N_p(),e.qZA())}function sm(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,142),e.qZA())}function yg(n,s){1&n&&(e.TgZ(0,"span",28),e.tHW(1,143),e._UZ(2,"strong"),e.N_p(),e.qZA())}function Eg(n,s){if(1&n&&(e.TgZ(0,"div",7)(1,"label",138)(2,"span"),e.SDv(3,139),e.qZA(),e.TgZ(4,"cd-helper")(5,"span"),e.SDv(6,140),e.qZA()()(),e.TgZ(7,"div",10),e._UZ(8,"input",141),e.YNc(9,sm,2,0,"span",15),e.YNc(10,yg,3,0,"span",15),e.qZA()()),2&n){const t=e.oxw(2),o=e.MAs(7);e.xp6(9),e.Q6J("ngIf",t.serviceForm.showError("engine_id",o,"required")),e.xp6(1),e.Q6J("ngIf",t.serviceForm.showError("engine_id",o,"snmpEngineIdPattern"))}}function rv(n,s){if(1&n&&(e.TgZ(0,"option",27),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function iv(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,148),e.qZA())}const Tm=function(){return["SHA","MD5"]};function Of(n,s){if(1&n&&(e.TgZ(0,"div",7)(1,"label",144),e.SDv(2,145),e.qZA(),e.TgZ(3,"div",10)(4,"select",146)(5,"option",12),e.SDv(6,147),e.qZA(),e.YNc(7,rv,2,2,"option",14),e.qZA(),e.YNc(8,iv,2,0,"span",15),e.qZA()()),2&n){const t=e.oxw(2),o=e.MAs(7);e.xp6(5),e.Q6J("ngValue",null),e.xp6(2),e.Q6J("ngForOf",e.DdM(3,Tm)),e.xp6(1),e.Q6J("ngIf",t.serviceForm.showError("auth_protocol",o,"required"))}}function Qm(n,s){if(1&n&&(e.TgZ(0,"option",27),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}const Xm=function(){return["DES","AES"]};function bg(n,s){1&n&&(e.TgZ(0,"div",7)(1,"label",149),e.SDv(2,150),e.qZA(),e.TgZ(3,"div",10)(4,"select",151)(5,"option",12),e.SDv(6,152),e.qZA(),e.YNc(7,Qm,2,2,"option",14),e.qZA()()()),2&n&&(e.xp6(5),e.Q6J("ngValue",null),e.xp6(2),e.Q6J("ngForOf",e.DdM(2,Xm)))}function Qc(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,156),e.qZA())}function Pc(n,s){if(1&n&&(e.TgZ(0,"div",7)(1,"label",153)(2,"span"),e.SDv(3,154),e.qZA()(),e.TgZ(4,"div",10),e._UZ(5,"input",155),e.YNc(6,Qc,2,0,"span",15),e.qZA()()),2&n){const t=e.oxw(2),o=e.MAs(7);e.xp6(6),e.Q6J("ngIf",t.serviceForm.showError("snmp_community",o,"required"))}}function su(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,160),e.qZA())}function Sg(n,s){if(1&n&&(e.TgZ(0,"div",7)(1,"label",157)(2,"span"),e.SDv(3,158),e.qZA()(),e.TgZ(4,"div",10),e._UZ(5,"input",159),e.YNc(6,su,2,0,"span",15),e.qZA()()),2&n){const t=e.oxw(2),o=e.MAs(7);e.xp6(6),e.Q6J("ngIf",t.serviceForm.showError("snmp_v3_auth_username",o,"required"))}}function am(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,164),e.qZA())}function Vl(n,s){if(1&n&&(e.TgZ(0,"div",7)(1,"label",161)(2,"span"),e.SDv(3,162),e.qZA()(),e.TgZ(4,"div",10),e._UZ(5,"input",163),e.YNc(6,am,2,0,"span",15),e.qZA()()),2&n){const t=e.oxw(2),o=e.MAs(7);e.xp6(6),e.Q6J("ngIf",t.serviceForm.showError("snmp_v3_auth_password",o,"required"))}}function Ko(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,168),e.qZA())}function Il(n,s){if(1&n&&(e.TgZ(0,"div",7)(1,"label",165)(2,"span"),e.SDv(3,166),e.qZA()(),e.TgZ(4,"div",10),e._UZ(5,"input",167),e.YNc(6,Ko,2,0,"span",15),e.qZA()()),2&n){const t=e.oxw(2),o=e.MAs(7);e.xp6(6),e.Q6J("ngIf",t.serviceForm.showError("snmp_v3_priv_password",o,"required"))}}const Km=function(){return["V2c","V3"]};function af(n,s){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"div",7)(2,"label",126),e.SDv(3,127),e.qZA(),e.TgZ(4,"div",10)(5,"select",128),e.NdJ("change",function(){return e.CHM(t),e.oxw().clearValidations()}),e.TgZ(6,"option",12),e.SDv(7,129),e.qZA(),e.YNc(8,im,2,2,"option",14),e.qZA(),e.YNc(9,s_,2,0,"span",15),e.qZA()(),e.TgZ(10,"div",7)(11,"label",130)(12,"span"),e.SDv(13,131),e.qZA(),e.TgZ(14,"cd-helper")(15,"span"),e.SDv(16,132),e.qZA()()(),e.TgZ(17,"div",10),e._UZ(18,"input",133),e.YNc(19,om,2,0,"span",15),e.YNc(20,Jm,3,0,"span",15),e.qZA()(),e.YNc(21,Eg,11,2,"div",16),e.YNc(22,Of,9,4,"div",16),e.YNc(23,bg,8,3,"div",16),e.TgZ(24,"fieldset")(25,"legend"),e.SDv(26,134),e.qZA(),e.YNc(27,Pc,7,1,"div",16),e.YNc(28,Sg,7,1,"div",16),e.YNc(29,Vl,7,1,"div",16),e.YNc(30,Il,7,1,"div",16),e.qZA(),e.BQk()}if(2&n){const t=e.oxw(),o=e.MAs(7);e.xp6(6),e.Q6J("ngValue",null),e.xp6(2),e.Q6J("ngForOf",e.DdM(12,Km)),e.xp6(1),e.Q6J("ngIf",t.serviceForm.showError("snmp_version",o,"required")),e.xp6(10),e.Q6J("ngIf",t.serviceForm.showError("snmp_destination",o,"required")),e.xp6(1),e.Q6J("ngIf",t.serviceForm.showError("snmp_destination",o,"snmpDestinationPattern")),e.xp6(1),e.Q6J("ngIf","V3"===t.serviceForm.controls.snmp_version.value),e.xp6(1),e.Q6J("ngIf","V3"===t.serviceForm.controls.snmp_version.value),e.xp6(1),e.Q6J("ngIf","V3"===t.serviceForm.controls.snmp_version.value),e.xp6(4),e.Q6J("ngIf","V2c"===t.serviceForm.controls.snmp_version.value),e.xp6(1),e.Q6J("ngIf","V3"===t.serviceForm.controls.snmp_version.value),e.xp6(1),e.Q6J("ngIf","V3"===t.serviceForm.controls.snmp_version.value),e.xp6(1),e.Q6J("ngIf","V3"===t.serviceForm.controls.snmp_version.value&&null!=t.serviceForm.controls.privacy_protocol.value)}}function Xc(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,177),e.qZA())}function qm(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,178),e.qZA())}function U_(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",7)(1,"label",172)(2,"span"),e.SDv(3,173),e.qZA(),e.TgZ(4,"cd-helper"),e.SDv(5,174),e.qZA()(),e.TgZ(6,"div",10)(7,"textarea",175),e._uU(8,"              "),e.qZA(),e.TgZ(9,"input",176),e.NdJ("change",function(l){return e.CHM(t),e.oxw(2).fileUpload(l.target.files,"ssl_cert")}),e.qZA(),e.YNc(10,Xc,2,0,"span",15),e.YNc(11,qm,2,0,"span",15),e.qZA()()}if(2&n){const t=e.oxw(2),o=e.MAs(7);e.xp6(10),e.Q6J("ngIf",t.serviceForm.showError("ssl_cert",o,"required")),e.xp6(1),e.Q6J("ngIf",t.serviceForm.showError("ssl_cert",o,"pattern"))}}function wp(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,183),e.qZA())}function eg(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,184),e.qZA())}function ov(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",7)(1,"label",179)(2,"span"),e.SDv(3,180),e.qZA(),e.TgZ(4,"cd-helper"),e.SDv(5,181),e.qZA()(),e.TgZ(6,"div",10)(7,"textarea",182),e._uU(8,"              "),e.qZA(),e.TgZ(9,"input",176),e.NdJ("change",function(l){return e.CHM(t),e.oxw(2).fileUpload(l.target.files,"ssl_key")}),e.qZA(),e.YNc(10,wp,2,0,"span",15),e.YNc(11,eg,2,0,"span",15),e.qZA()()}if(2&n){const t=e.oxw(2),o=e.MAs(7);e.xp6(10),e.Q6J("ngIf",t.serviceForm.showError("ssl_key",o,"required")),e.xp6(1),e.Q6J("ngIf",t.serviceForm.showError("ssl_key",o,"pattern"))}}const Cm=function(){return["rgw","ingress"]};function lm(n,s){if(1&n&&(e.ynx(0),e.TgZ(1,"div",7)(2,"div",17)(3,"div",18),e._UZ(4,"input",169),e.TgZ(5,"label",170),e.SDv(6,171),e.qZA()()()(),e.YNc(7,U_,12,2,"div",16),e.YNc(8,ov,12,2,"div",16),e.BQk()),2&n){const t=e.oxw();e.xp6(7),e.Q6J("ngIf",t.serviceForm.controls.ssl.value),e.xp6(1),e.Q6J("ngIf",t.serviceForm.controls.ssl.value&&!e.DdM(2,Cm).includes(t.serviceForm.controls.service_type.value))}}function M_(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,195),e.qZA())}function Mm(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,196),e.qZA())}function xh(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,197),e.qZA())}function Y_(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,198),e.qZA())}function O_(n,s){if(1&n&&(e.ynx(0),e.TgZ(1,"div",7)(2,"label",185)(3,"span"),e.SDv(4,186),e.qZA(),e.TgZ(5,"cd-helper")(6,"span"),e.SDv(7,187),e.qZA()()(),e.TgZ(8,"div",10),e._UZ(9,"input",188),e.YNc(10,M_,2,0,"span",15),e.YNc(11,Mm,2,0,"span",15),e.YNc(12,xh,2,0,"span",15),e.YNc(13,Y_,2,0,"span",15),e.qZA()(),e.TgZ(14,"div",7)(15,"label",189),e.tHW(16,190),e._UZ(17,"span")(18,"cd-helper"),e.N_p(),e.qZA(),e.TgZ(19,"div",10)(20,"div",92),e._UZ(21,"input",191),e.TgZ(22,"span",192),e._UZ(23,"button",193)(24,"cd-copy-2-clipboard-button",194),e.qZA()()()(),e.BQk()),2&n){const t=e.oxw(),o=e.MAs(7);e.xp6(10),e.Q6J("ngIf",t.serviceForm.showError("grafana_port",o,"pattern")),e.xp6(1),e.Q6J("ngIf",t.serviceForm.showError("grafana_port",o,"min")),e.xp6(1),e.Q6J("ngIf",t.serviceForm.showError("grafana_port",o,"max")),e.xp6(1),e.Q6J("ngIf",t.serviceForm.showError("grafana_port",o,"required")),e.xp6(8),e.uIk("disabled",!!t.editing||null)}}const Tg=function(){return["rgw","iscsi","ingress"]};let um=(()=>{class n extends Ul.E{constructor(t,o,l,_,C,x,N,V,Q){super(),this.actionLabels=t,this.cephServiceService=o,this.formBuilder=l,this.hostService=_,this.poolService=C,this.router=x,this.taskWrapperService=N,this.route=V,this.activeModal=Q,this.RGW_SVC_ID_PATTERN=/^([^.]+)(\.([^.]+)\.([^.]+))?$/,this.MDS_SVC_ID_PATTERN=/^[a-zA-Z_.-][a-zA-Z0-9_.-]*$/,this.SNMP_DESTINATION_PATTERN=/^[^\:]+:[0-9]/,this.SNMP_ENGINE_ID_PATTERN=/^[0-9A-Fa-f]{10,64}/g,this.INGRESS_SUPPORTED_SERVICE_TYPES=["rgw","nfs"],this.hiddenServices=[],this.editing=!1,this.serviceTypes=[],this.serviceIds=[],this.labelClick=new tp.xQ,this.labelFocus=new tp.xQ,this.services=[],this.searchLabels=oe=>(0,Dp.T)(oe.pipe((0,xp.b)(200),(0,Ud.x)()),this.labelFocus,this.labelClick.pipe((0,Rp.h)(()=>!this.typeahead.isPopupOpen()))).pipe((0,Oa.U)(le=>this.labels.filter(me=>me.toLowerCase().indexOf(le.toLowerCase())>-1).slice(0,10))),this.resource="service",this.hosts={options:[],messages:new E.a({empty:"There are no hosts.",filter:"Filter hosts"})},this.createForm()}createForm(){this.serviceForm=this.formBuilder.group({service_type:[null,[En.kI.required]],service_id:[null,[Ae.h.composeIf({service_type:"mds"},[En.kI.required,Ae.h.custom("mdsPattern",t=>!Sr().isEmpty(t)&&!this.MDS_SVC_ID_PATTERN.test(t))]),Ae.h.requiredIf({service_type:"nfs"}),Ae.h.requiredIf({service_type:"iscsi"}),Ae.h.requiredIf({service_type:"ingress"}),Ae.h.composeIf({service_type:"rgw"},[En.kI.required,Ae.h.custom("rgwPattern",t=>!Sr().isEmpty(t)&&!this.RGW_SVC_ID_PATTERN.test(t))]),Ae.h.custom("uniqueName",t=>this.serviceIds&&this.serviceIds.includes(t))]],placement:["hosts"],label:[null,[Ae.h.requiredIf({placement:"label",unmanaged:!1})]],hosts:[[]],count:[null,[Ae.h.number(!1)]],unmanaged:[!1],pool:[null,[Ae.h.requiredIf({service_type:"iscsi"})]],rgw_frontend_port:[null,[Ae.h.number(!1)]],trusted_ip_list:[null],api_port:[null,[Ae.h.number(!1)]],api_user:[null,[Ae.h.requiredIf({service_type:"iscsi",unmanaged:!1})]],api_password:[null,[Ae.h.requiredIf({service_type:"iscsi",unmanaged:!1})]],backend_service:[null,[Ae.h.requiredIf({service_type:"ingress"})]],virtual_ip:[null,[Ae.h.requiredIf({service_type:"ingress"})]],frontend_port:[null,[Ae.h.number(!1),Ae.h.requiredIf({service_type:"ingress"})]],monitor_port:[null,[Ae.h.number(!1),Ae.h.requiredIf({service_type:"ingress"})]],virtual_interface_networks:[null],ssl:[!1],ssl_cert:["",[Ae.h.composeIf({service_type:"rgw",unmanaged:!1,ssl:!0},[En.kI.required,Ae.h.pemCert()]),Ae.h.composeIf({service_type:"iscsi",unmanaged:!1,ssl:!0},[En.kI.required,Ae.h.sslCert()]),Ae.h.composeIf({service_type:"ingress",unmanaged:!1,ssl:!0},[En.kI.required,Ae.h.pemCert()])]],ssl_key:["",[Ae.h.composeIf({service_type:"iscsi",unmanaged:!1,ssl:!0},[En.kI.required,Ae.h.sslPrivKey()])]],snmp_version:[null,[Ae.h.requiredIf({service_type:"snmp-gateway"})]],snmp_destination:[null,{validators:[Ae.h.requiredIf({service_type:"snmp-gateway"}),Ae.h.custom("snmpDestinationPattern",t=>!Sr().isEmpty(t)&&!this.SNMP_DESTINATION_PATTERN.test(t))]}],engine_id:[null,[Ae.h.requiredIf({service_type:"snmp-gateway"}),Ae.h.custom("snmpEngineIdPattern",t=>!Sr().isEmpty(t)&&!this.SNMP_ENGINE_ID_PATTERN.test(t))]],auth_protocol:["SHA",[Ae.h.requiredIf({service_type:"snmp-gateway"})]],privacy_protocol:[null],snmp_community:[null,[Ae.h.requiredIf({snmp_version:"V2c"})]],snmp_v3_auth_username:[null,[Ae.h.requiredIf({service_type:"snmp-gateway"})]],snmp_v3_auth_password:[null,[Ae.h.requiredIf({service_type:"snmp-gateway"})]],snmp_v3_priv_password:[null,[Ae.h.requiredIf({privacy_protocol:{op:"!empty"}})]],grafana_port:[null,[Ae.h.number(!1)]],grafana_admin_password:[null]})}ngOnInit(){this.action=this.actionLabels.CREATE,this.router.url.includes("services/(modal:create")?this.pageURL="services":this.router.url.includes("services/(modal:edit")&&(this.editing=!0,this.pageURL="services",this.route.params.subscribe(t=>{this.serviceName=t.name,this.serviceType=t.type})),this.cephServiceService.list(new g.LE({fromObject:{limit:-1,offset:0}})).observable.subscribe(t=>{this.serviceList=t,this.services=t.filter(o=>this.INGRESS_SUPPORTED_SERVICE_TYPES.includes(o.service_type))}),this.cephServiceService.getKnownTypes().subscribe(t=>{this.hiddenServices.push("osd","container"),this.serviceTypes=Sr().difference(t,this.hiddenServices).sort()}),this.hostService.list("false").subscribe(t=>{const o=[];Sr().forEach(t,l=>{if(Sr().get(l,"sources.orchestrator",!1)){const _=new Jp.$(!1,Sr().get(l,"hostname"),"");o.push(_)}}),this.hosts.options=[...o]}),this.hostService.getLabels().subscribe(t=>{this.labels=t}),this.poolService.getList().subscribe(t=>{this.pools=t}),this.editing&&(this.action=this.actionLabels.EDIT,this.disableForEditing(this.serviceType),this.cephServiceService.list(new g.LE({fromObject:{limit:-1,offset:0}}),this.serviceName).observable.subscribe(t=>{var o,l,_,C,x,N,V,Q,oe,le,me,ye,$e;if(["service_type","service_id","unmanaged"].forEach(ke=>{this.serviceForm.get(ke).setValue(t[0][ke])}),!t[0].unmanaged){const ke=Object.keys(t[0].placement)[0];let we;we=["hosts","label"].indexOf(ke)>=0?ke:"hosts",this.serviceForm.get("placement").setValue(we),this.serviceForm.get("count").setValue(t[0].placement.count),(null===(o=t[0])||void 0===o?void 0:o.placement[we])&&this.serviceForm.get(we).setValue(null===(l=t[0])||void 0===l?void 0:l.placement[we])}switch(this.serviceType){case"iscsi":["pool","api_password","api_user","trusted_ip_list","api_port"].forEach(Dt=>{this.serviceForm.get(Dt).setValue(t[0].spec[Dt])}),this.serviceForm.get("ssl").setValue(null===(_=t[0].spec)||void 0===_?void 0:_.api_secure),(null===(C=t[0].spec)||void 0===C?void 0:C.api_secure)&&(this.serviceForm.get("ssl_cert").setValue(null===(x=t[0].spec)||void 0===x?void 0:x.ssl_cert),this.serviceForm.get("ssl_key").setValue(null===(N=t[0].spec)||void 0===N?void 0:N.ssl_key));break;case"rgw":this.serviceForm.get("rgw_frontend_port").setValue(null===(V=t[0].spec)||void 0===V?void 0:V.rgw_frontend_port),this.serviceForm.get("ssl").setValue(null===(Q=t[0].spec)||void 0===Q?void 0:Q.ssl),(null===(oe=t[0].spec)||void 0===oe?void 0:oe.ssl)&&this.serviceForm.get("ssl_cert").setValue(null===(le=t[0].spec)||void 0===le?void 0:le.rgw_frontend_ssl_certificate);break;case"ingress":["backend_service","virtual_ip","frontend_port","monitor_port","virtual_interface_networks","ssl"].forEach(Dt=>{this.serviceForm.get(Dt).setValue(t[0].spec[Dt])}),(null===(me=t[0].spec)||void 0===me?void 0:me.ssl)&&(this.serviceForm.get("ssl_cert").setValue(null===(ye=t[0].spec)||void 0===ye?void 0:ye.ssl_cert),this.serviceForm.get("ssl_key").setValue(null===($e=t[0].spec)||void 0===$e?void 0:$e.ssl_key));break;case"snmp-gateway":["snmp_version","snmp_destination"].forEach(Dt=>{this.serviceForm.get(Dt).setValue(t[0].spec[Dt])}),"V3"===this.serviceForm.getValue("snmp_version")?["engine_id","auth_protocol","privacy_protocol","snmp_v3_auth_username","snmp_v3_auth_password","snmp_v3_priv_password"].forEach(bt=>{null!==bt&&("snmp_v3_auth_username"===bt||"snmp_v3_auth_password"===bt||"snmp_v3_priv_password"===bt?this.serviceForm.get(bt).setValue(t[0].spec.credentials[bt]):this.serviceForm.get(bt).setValue(t[0].spec[bt]))}):this.serviceForm.get("snmp_community").setValue(t[0].spec.credentials.snmp_community);break;case"grafana":this.serviceForm.get("grafana_port").setValue(t[0].spec.port),this.serviceForm.get("grafana_admin_password").setValue(t[0].spec.initial_admin_password)}}))}getServiceIds(t){var o;this.serviceIds=null===(o=this.serviceList)||void 0===o?void 0:o.filter(l=>l.service_type===t).map(l=>l.service_id)}disableForEditing(t){"ingress"===(["service_type","service_id"].forEach(l=>{this.serviceForm.get(l).disable()}),t)&&this.serviceForm.get("backend_service").disable()}fileUpload(t,o){const l=t[0],_=new FileReader;_.addEventListener("load",C=>{const x=this.serviceForm.get(o);x.setValue(C.target.result),x.markAsDirty(),x.markAsTouched(),x.updateValueAndValidity()}),_.readAsText(l,"utf8")}prePopulateId(){const t=this.serviceForm.get("service_id"),o=this.serviceForm.getValue("backend_service");t.reset({value:o,disabled:!0})}onSubmit(){var t,o,l,_,C;const x=this,N=this.serviceForm.getRawValue(),V=N.service_type;let Q=`service/${Mo.MQ.CREATE}`;this.editing&&(Q=`service/${Mo.MQ.EDIT}`);const oe={service_type:V,placement:{},unmanaged:N.unmanaged};let le;if("rgw"===V){const $e=N.service_id.match(this.RGW_SVC_ID_PATTERN);le=$e[1],$e[3]&&(oe.rgw_realm=$e[3],oe.rgw_zone=$e[4])}else le=N.service_id;const me=le;let ye=V;switch(Sr().isString(me)&&!Sr().isEmpty(me)&&(ye=`${V}.${me}`,oe.service_id=me),V){case"ingress":oe.backend_service=N.backend_service,oe.service_id=N.backend_service,Sr().isNumber(N.frontend_port)&&N.frontend_port>0&&(oe.frontend_port=N.frontend_port),Sr().isString(N.virtual_ip)&&!Sr().isEmpty(N.virtual_ip)&&(oe.virtual_ip=N.virtual_ip.trim()),Sr().isNumber(N.monitor_port)&&N.monitor_port>0&&(oe.monitor_port=N.monitor_port);break;case"iscsi":oe.pool=N.pool;break;case"snmp-gateway":oe.credentials={},oe.snmp_version=N.snmp_version,oe.snmp_destination=N.snmp_destination,"V3"===N.snmp_version?(oe.engine_id=N.engine_id,oe.auth_protocol=N.auth_protocol,oe.credentials.snmp_v3_auth_username=N.snmp_v3_auth_username,oe.credentials.snmp_v3_auth_password=N.snmp_v3_auth_password,null!==N.privacy_protocol&&(oe.privacy_protocol=N.privacy_protocol,oe.credentials.snmp_v3_priv_password=N.snmp_v3_priv_password)):oe.credentials.snmp_community=N.snmp_community}if(!N.unmanaged){switch(N.placement){case"hosts":N.hosts.length>0&&(oe.placement.hosts=N.hosts);break;case"label":oe.placement.label=N.label}switch(Sr().isNumber(N.count)&&N.count>0&&(oe.placement.count=N.count),V){case"rgw":Sr().isNumber(N.rgw_frontend_port)&&N.rgw_frontend_port>0&&(oe.rgw_frontend_port=N.rgw_frontend_port),oe.ssl=N.ssl,N.ssl&&(oe.rgw_frontend_ssl_certificate=null===(t=N.ssl_cert)||void 0===t?void 0:t.trim());break;case"iscsi":Sr().isString(N.trusted_ip_list)&&!Sr().isEmpty(N.trusted_ip_list)&&(oe.trusted_ip_list=N.trusted_ip_list.trim()),Sr().isNumber(N.api_port)&&N.api_port>0&&(oe.api_port=N.api_port),oe.api_user=N.api_user,oe.api_password=N.api_password,oe.api_secure=N.ssl,N.ssl&&(oe.ssl_cert=null===(o=N.ssl_cert)||void 0===o?void 0:o.trim(),oe.ssl_key=null===(l=N.ssl_key)||void 0===l?void 0:l.trim());break;case"ingress":oe.ssl=N.ssl,N.ssl&&(oe.ssl_cert=null===(_=N.ssl_cert)||void 0===_?void 0:_.trim(),oe.ssl_key=null===(C=N.ssl_key)||void 0===C?void 0:C.trim()),oe.virtual_interface_networks=N.virtual_interface_networks;break;case"grafana":oe.port=N.grafana_port,oe.initial_admin_password=N.grafana_admin_password}}this.taskWrapperService.wrapTaskAroundCall({task:new Ql.R(Q,{service_name:ye}),call:this.editing?this.cephServiceService.update(oe):this.cephServiceService.create(oe)}).subscribe({error(){x.serviceForm.setErrors({cdSubmitButton:!0})},complete:()=>{"services"===this.pageURL?this.router.navigate([this.pageURL,{outlets:{modal:null}}]):this.activeModal.close()}})}clearValidations(){const t=this.serviceForm.getValue("snmp_version"),o=this.serviceForm.getValue("privacy_protocol");"V3"===t?this.serviceForm.get("snmp_community").clearValidators():(this.serviceForm.get("engine_id").clearValidators(),this.serviceForm.get("auth_protocol").clearValidators(),this.serviceForm.get("privacy_protocol").clearValidators(),this.serviceForm.get("snmp_v3_auth_username").clearValidators(),this.serviceForm.get("snmp_v3_auth_password").clearValidators()),null===o&&this.serviceForm.get("snmp_v3_priv_password").clearValidators()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Mo.p4),e.Y36(Kl),e.Y36(jl.O),e.Y36(bc),e.Y36(o_.q),e.Y36(Io.F0),e.Y36(Sc.P),e.Y36(Io.gz),e.Y36(Pr.Kz))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-service-form"]],viewQuery:function(t,o){if(1&t&&e.Gf(Pr.dR,5),2&t){let l;e.iGM(l=e.CRH())&&(o.typeahead=l.first)}},inputs:{hiddenServices:"hiddenServices",editing:"editing",serviceName:"serviceName",serviceType:"serviceType"},features:[e.qOj],decls:44,vars:32,consts:function(){let s,t,o,l,_,C,x,N,V,Q,oe,le,me,ye,$e,Ne,ke,we,G,Dt,bt,Bt,Jt,Mn,zt,xn,Nn,zr,Hr,Vr,qr,On,Jn,Qn,ur,In,Yr,Qi,Di,ji,Wr,Bn,bn,Xr,Ni,Xi,Bo,Ao,zs,Qs,Ii,uo,bo,Qe,Pt,Rt,qn,wr,Gr,Fi,Ws,Zo,ol,gl,Zl,Qu,Gf,wl,Vc,gp,Lh,ih,kh,zl,$c,Fp,zi,mr,Mi,eo,No,qo,os,ps,_a,tl,vu,sr,Bi,cs,Wi,Ds,ss,tu,bl,fl,Ba,xa,yu,nu,jd,op,Pl,ff,$h;return s="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",t="Type",o="-- Select a service type --",l="Unmanaged",_="If set to true, the orchestrator will not start nor stop any daemon associated with this service. Placement and all other properties will be ignored.",C="This field is required.",x="Backend Service",N="Loading...",V="-- No service available --",Q="-- Select an existing service --",oe="This field is required.",le="Id",me="Used in the service name which is <service_type.service_id>",ye="This field is required.",$e="This service id is already in use.",Ne="The value does not match the pattern " + "\ufffd#2\ufffd" + "<service_id>[.<realm_name>.<zone_name>]" + "\ufffd/#2\ufffd" + ".",ke="MDS service id must start with a letter and contain alphanumeric characters or '.', '-', and '_'",we="Placement",G="Hosts",Dt="Label",bt="Label",Bt="This field is required.",Jt="Hosts",Mn="Count",zt="Only that number of daemons will be created.",xn="The value must be at least 1.",Nn="The entered value needs to be a number.",zr="Port",Hr="The entered value needs to be a number.",Vr="The value must be at least 1.",qr="The value cannot exceed 65535.",On="Pool",Jn="Loading...",Qn="-- No pools available --",ur="-- Select a pool --",In="This field is required.",Yr="Trusted IPs",Qi="Comma separated list of IP addresses.",Di="Please add the " + "\ufffd#11\ufffd" + "Ceph Manager" + "\ufffd/#11\ufffd" + " IP addresses here, otherwise the iSCSI gateways can't be reached.",ji="Port",Wr="User",Bn="Password",bn="The entered value needs to be a number.",Xr="The value must be at least 1.",Ni="The value cannot exceed 65535.",Xi="This field is required.",Bo="This field is required.",Ao="Virtual IP",zs="The virtual IP address and subnet (in CIDR notation) where the ingress service will be available.",Qs="Frontend Port",Ii="The port used to access the ingress service.",uo="Monitor Port",bo="The port used by haproxy for load balancer status.",Qe="This field is required.",Pt="The entered value needs to be a number.",Rt="The value must be at least 1.",qn="The value cannot exceed 65535.",wr="This field is required.",Gr="The entered value needs to be a number.",Fi="The value must be at least 1.",Ws="The value cannot exceed 65535.",Zo="This field is required.",ol="CIDR Networks",gl="A list of networks to identify which network interface to use for the virtual IP address.",Zl="Version",Qu="-- Select SNMP version --",Gf="Destination",wl="Must be of the format hostname:port.",Vc="Credentials",gp="This field is required.",Lh="This field is required.",ih="The value does not match the pattern: " + "\ufffd#2\ufffd" + "hostname:port" + "\ufffd/#2\ufffd" + "",kh="Engine Id",zl="Unique identifier for the device (in hex).",$c="This field is required.",Fp="The value does not match the pattern: " + "\ufffd#2\ufffd" + "Must be in hexadecimal and length must be multiple of 2 with min value = 10 amd max value = 64." + "\ufffd/#2\ufffd" + "",zi="Auth Protocol",mr="-- Select auth protocol --",Mi="This field is required.",eo="Privacy Protocol",No="-- Select privacy protocol --",qo="SNMP Community",os="This field is required.",ps="Username",_a="This field is required.",tl="Password",vu="This field is required.",sr="Encryption",Bi="This field is required.",cs="SSL",Wi="Certificate",Ds="The SSL certificate in PEM format.",ss="This field is required.",tu="Invalid SSL certificate.",bl="Private key",fl="The SSL private key in PEM format.",Ba="This field is required.",xa="Invalid SSL private key.",yu="Grafana Port",nu="The default port used by grafana.",jd="" + "\ufffd#17\ufffd" + "Grafana Password" + "\ufffd/#17\ufffd" + "" + "\ufffd#18\ufffd" + "The password of the default Grafana Admin. Set once on first-run." + "\ufffd/#18\ufffd" + "",op="The entered value needs to be a number.",Pl="The value must be at least 1.",ff="The value cannot exceed 65535.",$h="This field is required.",[[3,"pageURL","modalRef"],[1,"modal-title"],s,[1,"modal-content"],["novalidate","",3,"formGroup"],["frm","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","service_type",1,"cd-col-form-label","required"],t,[1,"cd-col-form-input"],["id","service_type","name","service_type","formControlName","service_type",1,"form-select",3,"change"],[3,"ngValue"],o,[3,"value",4,"ngFor","ngForOf"],["class","invalid-feedback",4,"ngIf"],["class","form-group row",4,"ngIf"],[1,"cd-col-form-offset"],[1,"custom-control","custom-checkbox"],["id","unmanaged","type","checkbox","formControlName","unmanaged",1,"custom-control-input"],["for","unmanaged",1,"custom-control-label"],l,_,[4,"ngIf"],[1,"modal-footer"],[1,"text-right"],[3,"form","submitText","submitActionEvent"],[3,"value"],[1,"invalid-feedback"],C,["for","backend_service",1,"cd-col-form-label",3,"ngClass"],x,["id","backend_service","name","backend_service","formControlName","backend_service",1,"form-select",3,"change"],[3,"ngValue",4,"ngIf"],N,V,Q,oe,["for","service_id",1,"cd-col-form-label",3,"ngClass"],le,me,["id","service_id","type","text","formControlName","service_id",1,"form-control"],ye,$e,Ne,ke,["for","placement",1,"cd-col-form-label"],we,["id","placement","formControlName","placement",1,"form-select"],["value","hosts"],G,["value","label"],Dt,["for","label",1,"cd-col-form-label"],bt,["id","label","type","text","formControlName","label",1,"form-control",3,"ngbTypeahead","focus","click"],Bt,["for","hosts",1,"cd-col-form-label"],Jt,["id","hosts",3,"data","options","messages"],["for","count",1,"cd-col-form-label"],Mn,zt,["id","count","type","number","formControlName","count","min","1",1,"form-control"],xn,Nn,["for","rgw_frontend_port",1,"cd-col-form-label"],zr,["id","rgw_frontend_port","type","number","formControlName","rgw_frontend_port","min","1","max","65535",1,"form-control"],Hr,Vr,qr,["for","pool",1,"cd-col-form-label","required"],On,["id","pool","name","pool","formControlName","pool",1,"form-select"],Jn,Qn,ur,In,["for","trusted_ip_list",1,"cd-col-form-label"],Yr,Qi,Di,["id","trusted_ip_list","type","text","formControlName","trusted_ip_list",1,"form-control"],["for","api_port",1,"cd-col-form-label"],ji,["id","api_port","type","number","formControlName","api_port","min","1","max","65535",1,"form-control"],["for","api_user",1,"cd-col-form-label",3,"ngClass"],Wr,["id","api_user","type","text","formControlName","api_user",1,"form-control"],["for","api_password",1,"cd-col-form-label",3,"ngClass"],Bn,[1,"input-group"],["id","api_password","type","password","autocomplete","new-password","formControlName","api_password",1,"form-control"],["type","button","cdPasswordButton","api_password",1,"btn","btn-light"],["source","api_password"],bn,Xr,Ni,Xi,Bo,["for","virtual_ip",1,"cd-col-form-label",3,"ngClass"],Ao,zs,["id","virtual_ip","type","text","formControlName","virtual_ip",1,"form-control"],["for","frontend_port",1,"cd-col-form-label",3,"ngClass"],Qs,Ii,["id","frontend_port","type","number","formControlName","frontend_port","min","1","max","65535",1,"form-control"],["for","monitor_port",1,"cd-col-form-label",3,"ngClass"],uo,bo,["id","monitor_port","type","number","formControlName","monitor_port","min","1","max","65535",1,"form-control"],Qe,Pt,Rt,qn,wr,Gr,Fi,Ws,Zo,["for","virtual_interface_networks",1,"cd-col-form-label"],ol,gl,["id","virtual_interface_networks","type","text","formControlName","virtual_interface_networks",1,"form-control"],["for","snmp_version",1,"cd-col-form-label","required"],Zl,["id","snmp_version","name","snmp_version","formControlName","snmp_version",1,"form-select",3,"change"],Qu,["for","snmp_destination",1,"cd-col-form-label","required"],Gf,wl,["id","snmp_destination","type","text","formControlName","snmp_destination",1,"form-control"],Vc,gp,Lh,ih,["for","engine_id",1,"cd-col-form-label","required"],kh,zl,["id","engine_id","type","text","formControlName","engine_id",1,"form-control"],$c,Fp,["for","auth_protocol",1,"cd-col-form-label","required"],zi,["id","auth_protocol","name","auth_protocol","formControlName","auth_protocol",1,"form-select"],mr,Mi,["for","privacy_protocol",1,"cd-col-form-label"],eo,["id","privacy_protocol","name","privacy_protocol","formControlName","privacy_protocol",1,"form-select"],No,["for","snmp_community",1,"cd-col-form-label","required"],qo,["id","snmp_community","type","text","formControlName","snmp_community",1,"form-control"],os,["for","snmp_v3_auth_username",1,"cd-col-form-label","required"],ps,["id","snmp_v3_auth_username","type","text","formControlName","snmp_v3_auth_username",1,"form-control"],_a,["for","snmp_v3_auth_password",1,"cd-col-form-label","required"],tl,["id","snmp_v3_auth_password","type","password","formControlName","snmp_v3_auth_password",1,"form-control"],vu,["for","snmp_v3_priv_password",1,"cd-col-form-label","required"],sr,["id","snmp_v3_priv_password","type","password","formControlName","snmp_v3_priv_password",1,"form-control"],Bi,["id","ssl","type","checkbox","formControlName","ssl",1,"custom-control-input"],["for","ssl",1,"custom-control-label"],cs,["for","ssl_cert",1,"cd-col-form-label"],Wi,Ds,["id","ssl_cert","formControlName","ssl_cert","rows","5",1,"form-control","resize-vertical","text-monospace","text-pre"],["type","file",3,"change"],ss,tu,["for","ssl_key",1,"cd-col-form-label"],bl,fl,["id","ssl_key","formControlName","ssl_key","rows","5",1,"form-control","resize-vertical","text-monospace","text-pre"],Ba,xa,["for","grafana_port",1,"cd-col-form-label"],yu,nu,["id","grafana_port","type","number","formControlName","grafana_port","min","1","max","65535",1,"form-control"],["for","grafana_admin_password",1,"cd-col-form-label"],jd,["id","grafana_admin_password","type","password","autocomplete","new-password","formControlName","grafana_admin_password",1,"form-control"],[1,"input-group-append"],["type","button","cdPasswordButton","grafana_admin_password",1,"btn","btn-light"],["source","grafana_admin_password"],op,Pl,ff,$h]},template:function(t,o){if(1&t&&(e.TgZ(0,"cd-modal",0)(1,"span",1),e.SDv(2,2),e.ALo(3,"titlecase"),e.ALo(4,"upperFirst"),e.qZA(),e.ynx(5,3),e.TgZ(6,"form",4,5)(8,"div",6)(9,"div",7)(10,"label",8),e.SDv(11,9),e.qZA(),e.TgZ(12,"div",10)(13,"select",11),e.NdJ("change",function(_){return o.getServiceIds(_.target.value)}),e.TgZ(14,"option",12),e.SDv(15,13),e.qZA(),e.YNc(16,B_,2,2,"option",14),e.qZA(),e.YNc(17,Sm,2,0,"span",15),e.qZA()(),e.YNc(18,ne,10,9,"div",16),e.YNc(19,yr,12,8,"div",16),e.TgZ(20,"div",7)(21,"div",17)(22,"div",18),e._UZ(23,"input",19),e.TgZ(24,"label",20),e.SDv(25,21),e.qZA(),e.TgZ(26,"cd-helper"),e.SDv(27,22),e.qZA()()()(),e.YNc(28,Nr,9,0,"div",16),e.YNc(29,di,6,2,"div",16),e.YNc(30,ts,5,3,"div",16),e.YNc(31,Yo,10,2,"div",16),e.YNc(32,Y,9,3,"ng-container",23),e.YNc(33,ar,10,5,"div",16),e.YNc(34,Xs,37,13,"ng-container",23),e.YNc(35,Hf,38,22,"ng-container",23),e.YNc(36,af,31,13,"ng-container",23),e.YNc(37,lm,9,3,"ng-container",23),e.YNc(38,O_,25,5,"ng-container",23),e.qZA(),e.TgZ(39,"div",24)(40,"div",25)(41,"cd-form-button-panel",26),e.NdJ("submitActionEvent",function(){return o.onSubmit()}),e.ALo(42,"titlecase"),e.ALo(43,"upperFirst"),e.qZA()()()(),e.BQk(),e.qZA()),2&t){const l=e.MAs(7);e.Q6J("pageURL",o.pageURL)("modalRef",o.activeModal),e.xp6(4),e.pQV(e.lcZ(3,23,o.action))(e.lcZ(4,25,o.resource)),e.QtT(2),e.xp6(2),e.Q6J("formGroup",o.serviceForm),e.xp6(8),e.Q6J("ngValue",null),e.xp6(2),e.Q6J("ngForOf",o.serviceTypes),e.xp6(1),e.Q6J("ngIf",o.serviceForm.showError("service_type",l,"required")),e.xp6(1),e.Q6J("ngIf","ingress"===o.serviceForm.controls.service_type.value),e.xp6(1),e.Q6J("ngIf","snmp-gateway"!==o.serviceForm.controls.service_type.value),e.xp6(9),e.Q6J("ngIf",!o.serviceForm.controls.unmanaged.value),e.xp6(1),e.Q6J("ngIf",!o.serviceForm.controls.unmanaged.value&&"label"===o.serviceForm.controls.placement.value),e.xp6(1),e.Q6J("ngIf",!o.serviceForm.controls.unmanaged.value&&"hosts"===o.serviceForm.controls.placement.value),e.xp6(1),e.Q6J("ngIf",!o.serviceForm.controls.unmanaged.value),e.xp6(1),e.Q6J("ngIf",!o.serviceForm.controls.unmanaged.value&&"rgw"===o.serviceForm.controls.service_type.value),e.xp6(1),e.Q6J("ngIf","iscsi"===o.serviceForm.controls.service_type.value),e.xp6(1),e.Q6J("ngIf",!o.serviceForm.controls.unmanaged.value&&"iscsi"===o.serviceForm.controls.service_type.value),e.xp6(1),e.Q6J("ngIf","ingress"===o.serviceForm.controls.service_type.value),e.xp6(1),e.Q6J("ngIf","snmp-gateway"===o.serviceForm.controls.service_type.value),e.xp6(1),e.Q6J("ngIf",!o.serviceForm.controls.unmanaged.value&&e.DdM(31,Tg).includes(o.serviceForm.controls.service_type.value)),e.xp6(1),e.Q6J("ngIf","grafana"===o.serviceForm.controls.service_type.value),e.xp6(3),e.Q6J("form",o.serviceForm)("submitText",e.lcZ(42,27,o.action)+" "+e.lcZ(43,29,o.resource))}},directives:[Ye.z,En._Y,En.JL,Ma.V,En.sg,ll.P,ge.o,En.EJ,En.JJ,En.u,En.YN,En.Kr,p.sg,p.O5,p.mk,xe.S,En.Fj,Ll.b,En.Wl,Pr.dR,St.m,En.wV,En.qQ,En.Fd,T_.C,Ad.s,Ml.p],pipes:[p.rS,Mt.m],styles:[""]}),n})();function Cg(n,s){if(1&n&&(e.ynx(0),e._UZ(1,"cd-service-daemon-list",1),e.BQk()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("serviceName",t.selection.service_name)}}let tg=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-service-details"]],inputs:{permissions:"permissions",selection:"selection"},decls:1,vars:1,consts:[[4,"ngIf"],[3,"serviceName"]],template:function(t,o){1&t&&e.YNc(0,Cg,2,1,"ng-container",0),2&t&&e.Q6J("ngIf",o.selection)},directives:[p.O5,Yp],styles:[""]}),n})();const ng=["runningTpl"];function j_(n,s){1&n&&e._UZ(0,"cd-orchestrator-doc-panel")}function Qp(n,s){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"cd-table",3),e.NdJ("fetchData",function(l){return e.CHM(t),e.oxw().getServices(l)})("setExpandedRow",function(l){return e.CHM(t),e.oxw().setExpandedRow(l)})("updateSelection",function(l){return e.CHM(t),e.oxw().updateSelection(l)}),e._UZ(2,"cd-table-actions",4)(3,"cd-service-details",5),e.qZA(),e.BQk()}if(2&n){const t=e.oxw();e.xp6(1),e.Q6J("data",t.services)("columns",t.columns)("autoReload",5e3)("hasDetails",t.hasDetails)("serverSide",!0)("count",t.count),e.xp6(1),e.Q6J("permission",t.permissions.hosts)("selection",t.selection)("tableActions",t.tableActions),e.xp6(1),e.Q6J("permissions",t.permissions)("selection",t.expandedRow)}}const A_=function(n){return[n]};function D_(n,s){if(1&n&&e._UZ(0,"i",8),2&n){const t=e.oxw(2);e.Q6J("ngClass",e.VKq(1,A_,t.icons.warning))}}function Mg(n,s){if(1&n&&(e.TgZ(0,"span",6),e._uU(1),e.qZA(),e.YNc(2,D_,1,3,"i",7)),2&n){const t=s.value;e.xp6(1),e.AsE(" ",t.running," / ",t.size," "),e.xp6(1),e.Q6J("ngIf",0==t.running||0==t.size)}}const cm="services";let Om=(()=>{class n extends It.o{constructor(t,o,l,_,C,x,N,V){super(),this.actionLabels=t,this.authStorageService=o,this.modalService=l,this.orchService=_,this.cephServiceService=C,this.relativeDatePipe=x,this.taskWrapperService=N,this.router=V,this.hiddenColumns=[],this.hiddenServices=[],this.hasDetails=!0,this.routedModal=!0,this.showDocPanel=!1,this.count=0,this.actionOrchFeatures={create:[P.SERVICE_CREATE],update:[P.SERVICE_EDIT],delete:[P.SERVICE_DELETE]},this.columns=[],this.services=[],this.isLoadingServices=!1,this.selection=new _n.r,this.icons=wo.P,this.permissions=this.authStorageService.getPermissions(),this.tableActions=[{permission:"create",icon:wo.P.add,click:()=>this.openModal(),name:this.actionLabels.CREATE,canBePrimary:Q=>!Q.hasSelection,disable:Q=>this.getDisable("create",Q)},{permission:"update",icon:wo.P.edit,click:()=>this.openModal(!0),name:this.actionLabels.EDIT,disable:Q=>this.getDisable("update",Q)},{permission:"delete",icon:wo.P.destroy,click:()=>this.deleteAction(),name:this.actionLabels.DELETE,disable:Q=>this.getDisable("delete",Q)}]}openModal(t=!1){var o,l,_;if(this.routedModal)this.router.navigate(t?[cm,{outlets:{modal:[Mo.MQ.EDIT,this.selection.first().service_type,this.selection.first().service_name]}}]:[cm,{outlets:{modal:[Mo.MQ.CREATE]}}]);else{let C={};C=t?{serviceName:null===(o=this.selection.first())||void 0===o?void 0:o.service_name,serviceType:null===(_=null===(l=this.selection)||void 0===l?void 0:l.first())||void 0===_?void 0:_.service_type,hiddenServices:this.hiddenServices,editing:t}:{hiddenServices:this.hiddenServices,editing:t},this.bsModalRef=this.modalService.show(um,C,{size:"lg"})}}ngOnInit(){const t=[{name:"Service",prop:"service_name",flexGrow:1},{name:"Placement",prop:"",pipe:new H_,flexGrow:2},{name:"Running",prop:"status",flexGrow:1,cellTemplate:this.runningTpl},{name:"Last Refreshed",prop:"status.last_refresh",pipe:this.relativeDatePipe,flexGrow:1}];this.columns=t.filter(o=>!this.hiddenColumns.includes(o.prop)),this.orchService.status().subscribe(o=>{this.orchStatus=o,this.showDocPanel=!o.available})}ngOnChanges(){var t;(null===(t=this.orchStatus)||void 0===t?void 0:t.available)&&(this.services=[],this.table.reloadData())}getDisable(t,o){var l;return"delete"===t&&!(null==o?void 0:o.hasSingleSelection)||"update"===t&&["osd","container"].indexOf(null===(l=this.selection.first())||void 0===l?void 0:l.service_type)>=0||this.orchService.getTableActionDisableDesc(this.orchStatus,this.actionOrchFeatures[t])}getServices(t){if(this.isLoadingServices)return;this.isLoadingServices=!0;const o=this.cephServiceService.list(t.toParams());o.observable.subscribe(l=>{this.services=l,this.count=o.count,this.services=this.services.filter(_=>!this.hiddenServices.includes(_.service_name)),this.isLoadingServices=!1},()=>{this.isLoadingServices=!1,this.services=[],t.error()})}updateSelection(t){this.selection=t}deleteAction(){const t=this.selection.first();this.modalService.show(Oc.M,{itemDescription:"Service",itemNames:[t.service_name],actionDescription:"delete",submitActionObservable:()=>this.taskWrapperService.wrapTaskAroundCall({task:new Ql.R(`service/${Mo.MQ.DELETE}`,{service_name:t.service_name}),call:this.cephServiceService.delete(t.service_name)}).pipe((0,Mf.g)(5e3))})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Mo.p4),e.Y36(Vi.j),e.Y36(ou.Z),e.Y36(h),e.Y36(Kl),e.Y36(Ed.h),e.Y36(Sc.P),e.Y36(Io.F0))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-services"]],viewQuery:function(t,o){if(1&t&&(e.Gf(Tr.a,7),e.Gf(ng,7)),2&t){let l;e.iGM(l=e.CRH())&&(o.table=l.first),e.iGM(l=e.CRH())&&(o.runningTpl=l.first)}},inputs:{hostname:"hostname",hiddenColumns:"hiddenColumns",hiddenServices:"hiddenServices",hasDetails:"hasDetails",routedModal:"routedModal"},features:[e._Bn([{provide:X.F,useValue:new X.F(cm)}]),e.qOj,e.TTD],decls:5,vars:2,consts:[[4,"ngIf"],["name","modal"],["runningTpl",""],["identifier","service_name","forceIdentifier","true","columnMode","flex","selectionType","single",3,"data","columns","autoReload","hasDetails","serverSide","count","fetchData","setExpandedRow","updateSelection"],[1,"table-actions",3,"permission","selection","tableActions"],["cdTableDetail","",3,"permissions","selection"],["ngbTooltip","Service instances running out of the total number of services requested."],["class","icon-warning-color",3,"ngClass",4,"ngIf"],[1,"icon-warning-color",3,"ngClass"]],template:function(t,o){1&t&&(e.YNc(0,j_,1,0,"cd-orchestrator-doc-panel",0),e.YNc(1,Qp,4,11,"ng-container",0),e._UZ(2,"router-outlet",1),e.YNc(3,Mg,3,3,"ng-template",null,2,e.W1O)),2&t&&(e.Q6J("ngIf",o.showDocPanel),e.xp6(1),e.Q6J("ngIf",null==o.orchStatus?null:o.orchStatus.available))},directives:[p.O5,sh,Tr.a,Tu.K,tg,Io.lC,Pr._L,p.mk],styles:[""]}),n})();const Og=function(){return["services","status"]};let rg=(()=>{class n{constructor(t,o,l,_,C){this.wizardStepsService=t,this.cephServiceService=o,this.dimlessBinary=l,this.hostService=_,this.osdService=C,this.hosts=[],this.totalCapacity=0,this.services=[],this.totalCPUs=0,this.totalMemory=0}ngOnInit(){var t,o,l;let _=0,C=0,x=0,N=0,V=0,Q=0;this.hostService.list("true").subscribe(oe=>{this.hosts=oe,this.hostsCount=this.hosts.length,Sr().forEach(this.hosts,le=>{this.totalCPUs=this.totalCPUs+le.cpu_count,this.totalMemory=this.totalMemory+1024*le.memory_total_kb}),this.totalMemory=this.dimlessBinary.transform(this.totalMemory)}),this.osdService.osdDevices.data&&(_=null===(t=this.osdService.osdDevices.data)||void 0===t?void 0:t.length,C=this.osdService.osdDevices.data.capacity),this.osdService.osdDevices.wal&&(x=null===(o=this.osdService.osdDevices.wal)||void 0===o?void 0:o.length,N=this.osdService.osdDevices.wal.capacity),this.osdService.osdDevices.db&&(V=null===(l=this.osdService.osdDevices.db)||void 0===l?void 0:l.length,Q=this.osdService.osdDevices.db.capacity),this.totalDevices=_+x+V,this.osdService.osdDevices.totalDevices=this.totalDevices,this.totalCapacity=C+N+Q}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(hu),e.Y36(Kl),e.Y36(Rr.$),e.Y36(bc),e.Y36(ic))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-create-cluster-review"]],decls:45,vars:16,consts:function(){let s,t,o,l,_,C,x,N;return s="Cluster Resources",t="Hosts",o="Storage Capacity",l="Number of devices",_="Raw capacity",C="CPUs",x="Memory",N="Host Details",[[1,"row"],[1,"col-lg-3"],[1,"cd-header"],s,[1,"table","table-striped"],[1,"bold"],t,o,l,_,[1,"pt-5"],C,x,[1,"col-lg-9"],N,[3,"hiddenColumns","hideToolHeader","hasTableDetails","showGeneralActionsOnly"]]},template:function(t,o){1&t&&(e.TgZ(0,"div",0)(1,"div",1)(2,"fieldset")(3,"legend",2),e.SDv(4,3),e.qZA(),e.TgZ(5,"table",4)(6,"tr")(7,"td",5),e.SDv(8,6),e.qZA(),e.TgZ(9,"td"),e._uU(10),e.qZA()(),e.TgZ(11,"tr")(12,"td")(13,"dl")(14,"dt")(15,"p"),e.SDv(16,7),e.qZA()(),e.TgZ(17,"dd")(18,"p"),e.SDv(19,8),e.qZA()(),e.TgZ(20,"dd")(21,"p"),e.SDv(22,9),e.qZA()()()(),e.TgZ(23,"td",10)(24,"p"),e._uU(25),e.qZA(),e.TgZ(26,"p"),e._uU(27),e.ALo(28,"dimlessBinary"),e.qZA()()(),e.TgZ(29,"tr")(30,"td",5),e.SDv(31,11),e.qZA(),e.TgZ(32,"td"),e._uU(33),e.ALo(34,"empty"),e.qZA()(),e.TgZ(35,"tr")(36,"td",5),e.SDv(37,12),e.qZA(),e.TgZ(38,"td"),e._uU(39),e.ALo(40,"empty"),e.qZA()()()()(),e.TgZ(41,"div",13)(42,"legend",2),e.SDv(43,14),e.qZA(),e._UZ(44,"cd-hosts",15),e.qZA()()),2&t&&(e.xp6(10),e.Oqu(o.hostsCount),e.xp6(15),e.Oqu(o.totalDevices),e.xp6(2),e.hij(" ",e.lcZ(28,9,o.totalCapacity),""),e.xp6(6),e.Oqu(e.lcZ(34,11,o.totalCPUs)),e.xp6(6),e.Oqu(e.lcZ(40,13,o.totalMemory)),e.xp6(5),e.Q6J("hiddenColumns",e.DdM(15,Og))("hideToolHeader",!0)("hasTableDetails",!1)("showGeneralActionsOnly",!0))},directives:[dp],pipes:[Rr.$,L.W],styles:["cd-hosts[_ngcontent-%COMP%]     .nav{display:none}"]}),n})();var e1=i(13472);const sv=["skipConfirmTpl"];function Bf(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",3)(1,"div",4)(2,"div",5),e._UZ(3,"img",6),e.TgZ(4,"h3",7),e.SDv(5,8),e.qZA(),e.TgZ(6,"div",9)(7,"h4",10),e.SDv(8,11),e.qZA(),e.TgZ(9,"div",10)(10,"button",12),e.NdJ("click",function(){return e.CHM(t),e.oxw().createCluster()}),e.SDv(11,13),e.qZA(),e.TgZ(12,"button",14),e.NdJ("click",function(){return e.CHM(t),e.oxw().skipClusterCreation()}),e.SDv(13,15),e.qZA()()()()()()}if(2&n){const t=e.oxw();e.xp6(3),e.Q6J("src",t.projectConstants.cephLogo,e.LSH),e.xp6(2),e.pQV(t.projectConstants.projectName),e.QtT(5)}}const av=function(){return["services"]};function lv(n,s){1&n&&(e.TgZ(0,"div",29)(1,"h4",30),e.SDv(2,31),e.qZA(),e._UZ(3,"br")(4,"cd-hosts",32),e.qZA()),2&n&&(e.xp6(4),e.Q6J("hiddenColumns",e.DdM(4,av))("hideMaintenance",!0)("hasTableDetails",!1)("showGeneralActionsOnly",!0))}function F(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",29)(1,"h4",30),e.SDv(2,33),e.qZA(),e.TgZ(3,"div",34)(4,"cd-osd-form",35),e.NdJ("emitDriveGroup",function(l){return e.CHM(t),e.oxw(2).setDriveGroup(l)})("emitDeploymentOption",function(l){return e.CHM(t),e.oxw(2).setDeploymentOptions(l)})("emitMode",function(l){return e.CHM(t),e.oxw(2).setDeploymentMode(l)}),e.qZA()()()}2&n&&(e.xp6(4),e.Q6J("hideTitle",!0)("hideSubmitBtn",!0))}const J=function(){return["mon","mgr","crash","agent"]},B=function(){return["status.running","status.size","status.last_refresh"]};function Te(n,s){1&n&&(e.TgZ(0,"div",29)(1,"h4",30),e.SDv(2,36),e.qZA(),e._UZ(3,"br")(4,"cd-services",37),e.qZA()),2&n&&(e.xp6(4),e.Q6J("hasDetails",!1)("hiddenServices",e.DdM(4,J))("hiddenColumns",e.DdM(5,B))("routedModal",!1))}function ft(n,s){1&n&&(e.TgZ(0,"div",29),e._UZ(1,"cd-create-cluster-review"),e.qZA())}function Zt(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"button",38),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).onSkip()}),e.SDv(1,39),e.qZA()}}function rr(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",16)(1,"div",17),e.SDv(2,18),e.qZA(),e.TgZ(3,"div",19),e._UZ(4,"cd-wizard",20),e.TgZ(5,"div",21),e.ynx(6,22),e.YNc(7,lv,5,5,"div",23),e.YNc(8,F,5,2,"div",23),e.YNc(9,Te,5,6,"div",23),e.YNc(10,ft,2,0,"div",23),e.BQk(),e.qZA()(),e.TgZ(11,"div",24)(12,"button",25),e.NdJ("click",function(){return e.CHM(t),e.oxw().onNextStep()}),e.SDv(13,26),e.qZA(),e.TgZ(14,"cd-back-button",27),e.NdJ("backAction",function(){return e.CHM(t),e.oxw().onPreviousStep()}),e.qZA(),e.YNc(15,Zt,2,0,"button",28),e.qZA()()}if(2&n){const t=e.oxw();e.xp6(4),e.Q6J("stepsTitle",t.stepTitles),e.xp6(2),e.Q6J("ngSwitch",null==t.currentStep?null:t.currentStep.stepIndex),e.xp6(1),e.Q6J("ngSwitchCase","1"),e.xp6(1),e.Q6J("ngSwitchCase","2"),e.xp6(1),e.Q6J("ngSwitchCase","3"),e.xp6(1),e.Q6J("ngSwitchCase","4"),e.xp6(3),e.pQV(t.showSubmitButtonLabel()),e.QtT(13),e.xp6(1),e.Q6J("name",t.showCancelButtonLabel()),e.xp6(1),e.Q6J("ngIf","Create OSDs"===t.stepTitles[t.currentStep.stepIndex-1])}}function xr(n,s){1&n&&(e.TgZ(0,"span"),e.tHW(1,40),e._UZ(2,"strong"),e.N_p(),e.qZA(),e.TgZ(3,"div",41),e.SDv(4,42),e.qZA())}let hi=(()=>{class n{constructor(t,o,l,_,C,x,N,V,Q,oe){this.authStorageService=t,this.wizardStepsService=o,this.router=l,this.hostService=_,this.notificationService=C,this.actionLabels=x,this.clusterService=N,this.modalService=V,this.taskWrapper=Q,this.osdService=oe,this.projectConstants=Mo.$x,this.stepTitles=["Add Hosts","Create OSDs","Create Services","Review"],this.startClusterCreation=!1,this.observables=[],this.driveGroup=new pc,this.driveGroups=[],this.selectedOption={},this.simpleDeployment=!0,this.stepsToSkip={},this.submitAction=new e.vpe,this.permissions=this.authStorageService.getPermissions(),this.currentStepSub=this.wizardStepsService.getCurrentStep().subscribe(le=>{this.currentStep=le}),this.currentStep.stepIndex=1}ngOnInit(){this.osdService.getDeploymentOptions().subscribe(t=>{this.deploymentOption=t,this.selectedOption={option:t.recommended_option,encrypted:!1}}),this.stepTitles.forEach(t=>{this.stepsToSkip[t]=!1})}createCluster(){this.startClusterCreation=!0}skipClusterCreation(){const t={titleText:"Warning",buttonText:"Continue",warning:!0,bodyTpl:this.skipConfirmTpl,showSubmit:!0,onSubmit:()=>{this.clusterService.updateStatus("POST_INSTALLED").subscribe({error:()=>this.modalRef.close(),complete:()=>{this.notificationService.show(Sa.k.info,"Cluster expansion skipped by user"),this.router.navigate(["/dashboard"]),this.modalRef.close()}})}};this.modalRef=this.modalService.show(rd.Y,t)}onSubmit(){var t;if(this.stepsToSkip["Add Hosts"]||this.hostService.list("false").subscribe(o=>{o.forEach(l=>{const _=l.labels.indexOf("_no_schedule",0);_>-1&&(l.labels.splice(_,1),this.observables.push(this.hostService.update(l.hostname,!0,l.labels)))}),(0,Fu.D)(this.observables).pipe((0,od.x)(()=>this.clusterService.updateStatus("POST_INSTALLED").subscribe(()=>{this.notificationService.show(Sa.k.success,"Cluster expansion was successful"),this.router.navigate(["/dashboard"])}))).subscribe({error:l=>l.preventDefault()})}),!this.stepsToSkip["Create OSDs"]){if(this.driveGroup){const o=this.authStorageService.getUsername();this.driveGroup.setName(`dashboard-${o}-${Sr().now()}`),this.driveGroups.push(this.driveGroup.spec)}if(this.simpleDeployment){const o=null===(t=this.deploymentOption)||void 0===t?void 0:t.options[this.selectedOption.option].title,l="" + o + " deployment";this.taskWrapper.wrapTaskAroundCall({task:new Ql.R("osd/"+Mo.MQ.CREATE,{tracking_id:l}),call:this.osdService.create([this.selectedOption],l,"predefined")}).subscribe({error:_=>_.preventDefault(),complete:()=>{this.submitAction.emit()}})}else if(this.osdService.osdDevices.totalDevices>0){this.driveGroup.setFeature("encrypted",this.selectedOption.encrypted);const o=Sr().join(Sr().map(this.driveGroups,"service_id"),", ");this.taskWrapper.wrapTaskAroundCall({task:new Ql.R("osd/"+Mo.MQ.CREATE,{tracking_id:o}),call:this.osdService.create(this.driveGroups,o)}).subscribe({error:l=>l.preventDefault(),complete:()=>{this.submitAction.emit(),this.osdService.osdDevices=[]}})}}}setDriveGroup(t){this.driveGroup=t}setDeploymentOptions(t){this.selectedOption=t}setDeploymentMode(t){this.simpleDeployment=t}onNextStep(){this.wizardStepsService.isLastStep()?this.onSubmit():(this.wizardStepsService.getCurrentStep().subscribe(t=>{this.currentStep=t}),this.wizardStepsService.moveToNextStep())}onPreviousStep(){this.wizardStepsService.isFirstStep()?this.router.navigate(["/dashboard"]):this.wizardStepsService.moveToPreviousStep()}onSkip(){this.stepsToSkip[this.stepTitles[this.currentStep.stepIndex-1]]=!0,this.onNextStep()}showSubmitButtonLabel(){return this.wizardStepsService.isLastStep()?"Expand Cluster":this.actionLabels.NEXT}showCancelButtonLabel(){return this.wizardStepsService.isFirstStep()?this.actionLabels.CANCEL:this.actionLabels.BACK}ngOnDestroy(){this.currentStepSub.unsubscribe()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Vi.j),e.Y36(hu),e.Y36(Io.F0),e.Y36(bc),e.Y36(Tl.g),e.Y36(Mo.p4),e.Y36(Jd),e.Y36(ou.Z),e.Y36(Sc.P),e.Y36(ic))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-create-cluster"]],viewQuery:function(t,o){if(1&t&&e.Gf(sv,7),2&t){let l;e.iGM(l=e.CRH())&&(o.skipConfirmTpl=l.first)}},outputs:{submitAction:"submitAction"},decls:4,vars:2,consts:function(){let s,t,o,l,_,C,x,N,V,Q,oe,le;return s="Welcome to " + "\ufffd0\ufffd" + "",t="Please expand your cluster first",o="Expand Cluster",l="Skip",_="Expand Cluster",C="" + "\ufffd0\ufffd" + "",x="Add Hosts",N="Create OSDs",V="Create Services",Q="Skip",oe="You are about to skip the cluster expansion process. You\u2019ll need to " + "\ufffd#2\ufffd" + "navigate through the menu to add hosts and services." + "\ufffd/#2\ufffd" + "",le="Are you sure you want to continue?",[["class","container h-75",4,"ngIf"],["class","card",4,"ngIf"],["skipConfirmTpl",""],[1,"container","h-75"],[1,"row","h-100","justify-content-center","align-items-center"],[1,"blank-page"],["alt","Ceph",1,"img-fluid","mx-auto","d-block",3,"src"],[1,"text-center","m-2"],s,[1,"m-4"],[1,"text-center"],t,["name","expand-cluster","aria-label","Expand Cluster",1,"btn","btn-accent","m-2",3,"click"],o,["name","skip-cluster-creation","aria-label","Skip",1,"btn","btn-light",3,"click"],l,[1,"card"],[1,"card-header"],_,[1,"container-fluid"],[3,"stepsTitle"],[1,"card-body","vertical-line"],[3,"ngSwitch"],["class","ms-5",4,"ngSwitchCase"],[1,"card-footer"],["aria-label","Next",1,"btn","btn-accent","m-2","float-end",3,"click"],C,["aria-label","Close",1,"m-2","float-end",3,"name","backAction"],["class","btn btn-light m-2 me-4 float-end","id","skipStepBtn","aria-label","Skip this step",3,"click",4,"ngIf"],[1,"ms-5"],[1,"title"],x,[3,"hiddenColumns","hideMaintenance","hasTableDetails","showGeneralActionsOnly"],N,[1,"alignForm"],[3,"hideTitle","hideSubmitBtn","emitDriveGroup","emitDeploymentOption","emitMode"],V,[3,"hasDetails","hiddenServices","hiddenColumns","routedModal"],["id","skipStepBtn","aria-label","Skip this step",1,"btn","btn-light","m-2","me-4","float-end",3,"click"],Q,oe,[1,"mt-4"],le]},template:function(t,o){1&t&&(e.YNc(0,Bf,14,2,"div",0),e.YNc(1,rr,16,9,"div",1),e.YNc(2,xr,5,0,"ng-template",null,2,e.W1O)),2&t&&(e.Q6J("ngIf",!o.startClusterCreation),e.xp6(1),e.Q6J("ngIf",o.startClusterCreation))},directives:[p.O5,ge.o,Uc,p.RF,p.n9,dp,S_,Om,rg,e1.W],styles:[".container-fluid[_ngcontent-%COMP%]{align-items:flex-start;display:flex;padding-left:0;width:100%}cd-hosts[_ngcontent-%COMP%]     .nav{display:none}cd-osd-form[_ngcontent-%COMP%]     .card{border:0}cd-osd-form[_ngcontent-%COMP%]     .accordion{margin-left:-1.5rem}"]}),n})();var ns=i(83608),zo=i(36848);const As=["tree"],ml=function(n,s,t){return[n,s,t]};function au(n,s){if(1&n&&e._UZ(0,"i",12),2&n){const t=e.oxw();e.Q6J("ngClass",e.kEZ(1,ml,t.icons.large,t.icons.spinner,t.icons.spin))}}const Xl=function(){return["in","up"]},xu=function(){return["down","out","destroyed"]},Dd=function(n,s){return{"badge-success":n,"badge-danger":s}};function lf(n,s){if(1&n&&(e.TgZ(0,"span",15),e._uU(1),e.qZA()),2&n){const t=e.oxw().$implicit;e.Q6J("ngClass",e.WLB(4,Dd,e.DdM(2,Xl).includes(t.data.status),e.DdM(3,xu).includes(t.data.status))),e.xp6(1),e.hij(" ",t.data.status," ")}}const cd=function(n){return{"type-osd":n}};function a_(n,s){if(1&n&&(e.YNc(0,lf,2,7,"span",13),e.TgZ(1,"span"),e._uU(2,"\xa0"),e.qZA(),e._UZ(3,"span",14)),2&n){const t=s.$implicit;e.Q6J("ngIf",t.data.status),e.xp6(3),e.Q6J("ngClass",e.VKq(3,cd,"osd"===t.data.type))("innerHTML",t.data.name,e.oJD)}}function G_(n,s){if(1&n&&(e.TgZ(0,"div",16)(1,"legend"),e._uU(2),e.qZA(),e.TgZ(3,"div"),e._UZ(4,"cd-table-key-value",17),e.qZA()()),2&n){const t=e.oxw();e.xp6(2),e.Oqu(t.metadataTitle),e.xp6(2),e.Q6J("data",t.metadata)}}let uf=(()=>{class n{constructor(t,o){this.crushRuleService=t,this.timerService=o,this.sub=new oc.w,this.icons=wo.P,this.loadingIndicator=!0,this.nodes=[],this.treeOptions={useVirtualScroll:!0,nodeHeight:22,actionMapping:{mouse:{click:this.onNodeSelected.bind(this)}}},this.metadataKeyMap={}}ngOnInit(){this.sub=this.timerService.get(()=>this.crushRuleService.getInfo(),5e3).subscribe(t=>{this.loadingIndicator=!1,this.nodes=this.abstractTreeData(t)})}ngOnDestroy(){this.sub.unsubscribe()}abstractTreeData(t){const o=t.nodes||[],l=t.roots||[],_={};if(0===o.length)return[{name:"No nodes!"}];const C=[];return o.reverse().forEach(N=>{l.includes(N.id)&&C.push(N.id),_[N.id]=this.generateTreeLeaf(N,_)}),C.map(N=>_[N])}generateTreeLeaf(t,o){const l=t.id;this.metadataKeyMap[l]=t;const x=[],N={name:t.name+" ("+t.type+")",status:t.status,cdId:l,type:t.type};return t.children&&(t.children.sort().forEach(V=>{x.push(o[V])}),N.children=x),N}onNodeSelected(t,o){if(pa.iM.ACTIVATE(t,o,!0),void 0!==o.data.cdId){const l=this.metadataKeyMap[o.data.cdId],{name:_,type:C}=l,N=(0,Z._T)(l,["name","type","status"]);this.metadata=N,this.metadataTitle=_+" ("+C+")"}else delete this.metadata,delete this.metadataTitle}onUpdateData(){this.tree.treeModel.expandAll()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(ns.H),e.Y36(zo.f))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-crushmap"]],viewQuery:function(t,o){if(1&t&&e.Gf(As,5),2&t){let l;e.iGM(l=e.CRH())&&(o.tree=l.first)}},decls:14,vars:4,consts:function(){let s;return s="CRUSH map viewer",[[1,"row"],[1,"col-sm-12","col-lg-12"],[1,"card"],[1,"card-header"],s,[1,"card-body"],[1,"col-sm-6","col-lg-6","tree-container"],[3,"ngClass",4,"ngIf"],[3,"nodes","options","updateData"],["tree",""],["treeNodeTemplate",""],["class","col-sm-6 col-lg-6 metadata",4,"ngIf"],[3,"ngClass"],["class","badge",3,"ngClass",4,"ngIf"],[1,"node-name",3,"ngClass","innerHTML"],[1,"badge",3,"ngClass"],[1,"col-sm-6","col-lg-6","metadata"],[3,"data"]]},template:function(t,o){1&t&&(e.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),e.SDv(4,4),e.qZA(),e.TgZ(5,"div",5)(6,"div",0)(7,"div",6),e.YNc(8,au,1,5,"i",7),e.TgZ(9,"tree-root",8,9),e.NdJ("updateData",function(){return o.onUpdateData()}),e.YNc(11,a_,4,5,"ng-template",null,10,e.W1O),e.qZA()(),e.YNc(13,G_,5,2,"div",11),e.qZA()()()()()),2&t&&(e.xp6(8),e.Q6J("ngIf",o.loadingIndicator),e.xp6(1),e.Q6J("nodes",o.nodes)("options",o.treeOptions),e.xp6(4),e.Q6J("ngIf",o.metadata))},directives:[p.O5,p.mk,pa.qr,fo.b],styles:[".tree-container[_ngcontent-%COMP%]{height:calc(100vh - 200px)}"]}),n})(),dd=(()=>{class n{constructor(t){this.http=t}getLogs(){return this.http.get("api/logs/all")}validateDashboardUrl(t){return this.http.get(`api/grafana/validation/${t}`)}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(g.eN))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var _p=i(49457);let Wu=(()=>{class n{download(t,o){(0,_p.saveAs)(new Blob([t]),o)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const hc=function(n){return[n]};function t1(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"button",5),e.NdJ("click",function(){return e.CHM(t),e.oxw().download("json")}),e._UZ(1,"i",2),e.TgZ(2,"span"),e._uU(3,"JSON"),e.qZA()()}if(2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngClass",e.VKq(1,hc,t.icons.json))}}function uv(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"button",5),e.NdJ("click",function(){return e.CHM(t),e.oxw().download()}),e._UZ(1,"i",2),e.TgZ(2,"span"),e._uU(3,"Text"),e.qZA()()}if(2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngClass",e.VKq(1,hc,t.icons.text))}}let n1=(()=>{class n{constructor(t){this.textToDownloadService=t,this.title="Download",this.icons=wo.P}download(t){this.fileName=`${this.fileName}_${(new Date).toLocaleDateString()}`,"json"===t?this.textToDownloadService.download(JSON.stringify(this.objectItem,null,2),`${this.fileName}.json`):this.textToDownloadService.download(this.textItem,`${this.fileName}.txt`)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Wu))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-download-button"]],inputs:{objectItem:"objectItem",textItem:"textItem",fileName:"fileName",title:"title"},decls:6,vars:6,consts:[["ngbDropdown","","placement","bottom-right"],["type","button","ngbDropdownToggle","",1,"btn","btn-light","dropdown-toggle-split",3,"title"],[3,"ngClass"],["ngbDropdownMenu",""],["ngbDropdownItem","",3,"click",4,"ngIf"],["ngbDropdownItem","",3,"click"]],template:function(t,o){1&t&&(e.TgZ(0,"div",0)(1,"button",1),e._UZ(2,"i",2),e.qZA(),e.TgZ(3,"div",3),e.YNc(4,t1,4,3,"button",4),e.YNc(5,uv,4,3,"button",4),e.qZA()()),2&t&&(e.xp6(1),e.Q6J("title",o.title),e.xp6(1),e.Q6J("ngClass",e.VKq(4,hc,o.icons.download)),e.xp6(2),e.Q6J("ngIf",o.objectItem),e.xp6(1),e.Q6J("ngIf",o.textItem))},directives:[Pr.jt,ge.o,Pr.iD,p.mk,Pr.Vi,p.O5,Pr.TH],styles:[""]}),n})();var P0=i(42746);let Ag=(()=>{class n{transform(t,o){if(!o)return t;o=this.escapeRegExp(o);const l=new RegExp(o,"gi");return t.match(l)?t.replace(l,"<mark>$&</mark>"):t}escapeRegExp(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275pipe=e.Yjl({name:"searchHighlight",type:n,pure:!0}),n})();function cv(n,s){1&n&&e.GkF(0)}function N0(n,s){if(1&n&&(e.TgZ(0,"div",22),e._UZ(1,"cd-download-button",23)(2,"cd-copy-2-clipboard-button",24),e.qZA()),2&n){const t=e.oxw(4);e.xp6(1),e.Q6J("objectItem",t.clog)("textItem",t.clogText),e.xp6(1),e.Q6J("source",t.clogText)("byId",!1)}}function Dg(n,s){if(1&n&&(e.TgZ(0,"p")(1,"span",25),e._uU(2),e.ALo(3,"cdDate"),e.qZA(),e.TgZ(4,"span"),e.ALo(5,"logPriority"),e._uU(6),e.qZA(),e._UZ(7,"span",26),e.ALo(8,"searchHighlight"),e.qZA()),2&n){const t=s.$implicit,o=e.oxw(4);e.xp6(2),e.Oqu(e.lcZ(3,6,t.stamp)),e.xp6(2),e.Gre("priority ",e.lcZ(5,8,t.priority),""),e.xp6(2),e.Oqu(t.priority),e.xp6(1),e.Q6J("innerHTML",e.xi3(8,10,t.message,o.search),e.oJD)}}function dm(n,s){1&n&&e.GkF(0)}function xg(n,s){if(1&n&&(e.TgZ(0,"div",17),e.YNc(1,N0,3,4,"div",18),e.TgZ(2,"div",19),e.YNc(3,Dg,9,13,"p",20),e.YNc(4,dm,1,0,"ng-container",21),e.qZA()()),2&n){const t=e.oxw(3),o=e.MAs(4);e.xp6(1),e.Q6J("ngIf",t.clog.length),e.xp6(2),e.Q6J("ngForOf",t.clog),e.xp6(1),e.Q6J("ngIf",0!==t.clog.length)("ngIfElse",o)}}function HE(n,s){if(1&n&&e.YNc(0,xg,5,4,"div",16),2&n){const t=e.oxw(2);e.Q6J("ngIf",t.clog)}}function I0(n,s){if(1&n&&(e.TgZ(0,"div",22),e._UZ(1,"cd-download-button",27)(2,"cd-copy-2-clipboard-button",24),e.qZA()),2&n){const t=e.oxw(4);e.xp6(1),e.Q6J("objectItem",t.audit_log)("textItem",t.auditLogText),e.xp6(1),e.Q6J("source",t.auditLogText)("byId",!1)}}function Am(n,s){if(1&n&&(e.TgZ(0,"p")(1,"span",25),e._uU(2),e.ALo(3,"cdDate"),e.qZA(),e.TgZ(4,"span"),e.ALo(5,"logPriority"),e._uU(6),e.qZA(),e._UZ(7,"span",26),e.ALo(8,"searchHighlight"),e.qZA()),2&n){const t=s.$implicit,o=e.oxw(4);e.xp6(2),e.Oqu(e.lcZ(3,6,t.stamp)),e.xp6(2),e.Gre("priority ",e.lcZ(5,8,t.priority),""),e.xp6(2),e.Oqu(t.priority),e.xp6(1),e.Q6J("innerHTML",e.xi3(8,10,t.message,o.search),e.oJD)}}function Xp(n,s){1&n&&e.GkF(0)}function Dm(n,s){if(1&n&&(e.TgZ(0,"div",17),e.YNc(1,I0,3,4,"div",18),e.TgZ(2,"div",19),e.YNc(3,Am,9,13,"p",20),e.YNc(4,Xp,1,0,"ng-container",21),e.qZA()()),2&n){const t=e.oxw(3),o=e.MAs(4);e.xp6(1),e.Q6J("ngIf",t.audit_log.length),e.xp6(2),e.Q6J("ngForOf",t.audit_log),e.xp6(1),e.Q6J("ngIf",0!==t.audit_log.length)("ngIfElse",o)}}function r1(n,s){if(1&n&&e.YNc(0,Dm,5,4,"div",16),2&n){const t=e.oxw(2);e.Q6J("ngIf",t.audit_log)}}function i1(n,s){1&n&&(e.TgZ(0,"div"),e._UZ(1,"cd-grafana",28),e.qZA()),2&n&&(e.xp6(1),e.Q6J("grafanaPath","explore?")("type","logs"))}function o1(n,s){if(1&n&&(e.ynx(0),e.YNc(1,i1,2,2,"div",21),e.ALo(2,"async"),e.BQk()),2&n){const t=e.oxw(3),o=e.MAs(6);e.xp6(1),e.Q6J("ngIf",e.lcZ(2,2,t.promtailServiceStatus$))("ngIfElse",o)}}function s1(n,s){if(1&n&&(e.YNc(0,o1,3,4,"ng-container",21),e.ALo(1,"async")),2&n){const t=e.oxw(2),o=e.MAs(6);e.Q6J("ngIf",e.lcZ(1,2,t.lokiServiceStatus$))("ngIfElse",o)}}function a1(n,s){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,cv,1,0,"ng-container",4),e.TgZ(2,"nav",5,6),e.ynx(4,7),e.TgZ(5,"a",8),e.SDv(6,9),e.qZA(),e.YNc(7,HE,1,1,"ng-template",10),e.BQk(),e.ynx(8,11),e.TgZ(9,"a",8),e.SDv(10,12),e.qZA(),e.YNc(11,r1,1,1,"ng-template",10),e.BQk(),e.ynx(12,13),e.TgZ(13,"a",8),e.SDv(14,14),e.qZA(),e.YNc(15,s1,2,4,"ng-template",10),e.BQk(),e.qZA(),e._UZ(16,"div",15),e.qZA()),2&n){const t=e.MAs(3);e.oxw();const o=e.MAs(2);e.xp6(1),e.Q6J("ngTemplateOutlet",o),e.xp6(15),e.Q6J("ngbNavOutlet",t)}}function l_(n,s){if(1&n&&(e.TgZ(0,"option",54),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("value",t.value),e.xp6(1),e.Oqu(t.name)}}const Kp=function(n){return[n]};function xl(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",29)(1,"div",30)(2,"div",31)(3,"label",32),e.SDv(4,33),e.qZA(),e.TgZ(5,"select",34),e.NdJ("ngModelChange",function(l){return e.CHM(t),e.oxw().priority=l})("ngModelChange",function(){return e.CHM(t),e.oxw().filterLogs()}),e.YNc(6,l_,2,2,"option",35),e.qZA()(),e.TgZ(7,"div",36)(8,"label",37),e.SDv(9,38),e.qZA(),e.TgZ(10,"div",39)(11,"span",40),e._UZ(12,"i",41),e.qZA(),e.TgZ(13,"input",42),e.NdJ("ngModelChange",function(l){return e.CHM(t),e.oxw().search=l})("keyup",function(){return e.CHM(t),e.oxw().filterLogs()}),e.qZA(),e.TgZ(14,"button",43),e.NdJ("click",function(){return e.CHM(t),e.oxw().clearSearchKey()}),e._UZ(15,"i"),e.qZA()()(),e.TgZ(16,"div",36)(17,"label",44),e.SDv(18,45),e.qZA(),e.TgZ(19,"div",39)(20,"input",46,47),e.NdJ("click",function(){return e.CHM(t),e.MAs(21).open()})("ngModelChange",function(l){return e.CHM(t),e.oxw().selectedDate=l})("ngModelChange",function(){return e.CHM(t),e.oxw().filterLogs()}),e.qZA(),e.TgZ(22,"button",43),e.NdJ("click",function(){return e.CHM(t),e.oxw().clearDate()}),e._UZ(23,"i"),e.qZA()()(),e.TgZ(24,"div",48)(25,"label",49),e.SDv(26,50),e.qZA(),e.TgZ(27,"div",51)(28,"ngb-timepicker",52),e.NdJ("ngModelChange",function(l){return e.CHM(t),e.oxw().startTime=l})("ngModelChange",function(){return e.CHM(t),e.oxw().filterLogs()}),e.qZA(),e.TgZ(29,"span",53),e._uU(30,"\xa0\u2014\xa0"),e.qZA(),e.TgZ(31,"ngb-timepicker",52),e.NdJ("ngModelChange",function(l){return e.CHM(t),e.oxw().endTime=l})("ngModelChange",function(){return e.CHM(t),e.oxw().filterLogs()}),e.qZA()()()()()}if(2&n){const t=e.oxw();e.xp6(5),e.Q6J("ngModel",t.priority),e.xp6(1),e.Q6J("ngForOf",t.priorities),e.xp6(6),e.Q6J("ngClass",e.VKq(16,Kp,t.icons.search)),e.xp6(1),e.Q6J("ngModel",t.search),e.xp6(2),e.Gre("icon-prepend ",t.icons.destroy,""),e.xp6(5),e.Q6J("maxDate",t.maxDate)("ngModel",t.selectedDate),e.xp6(3),e.Gre("icon-prepend ",t.icons.destroy,""),e.xp6(5),e.Q6J("spinners",!1)("ngModel",t.startTime),e.xp6(3),e.Q6J("spinners",!1)("ngModel",t.endTime)}}function l1(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"span"),e.SDv(1,55),e.qZA(),e.TgZ(2,"span"),e._uU(3,"\xa0"),e.qZA(),e.TgZ(4,"a",56),e.NdJ("click",function(){return e.CHM(t),e.oxw().resetFilter()}),e.SDv(5,57),e.qZA()}}function Rh(n,s){1&n&&(e.TgZ(0,"cd-alert-panel",58),e.ynx(1),e.SDv(2,59),e.BQk(),e.qZA())}let Rg=(()=>{class n{constructor(t,o,l,_){this.logsService=t,this.cephService=o,this.datePipe=l,this.ngZone=_,this.icons=wo.P,this.priorities=[{name:"Debug",value:"[DBG]"},{name:"Info",value:"[INF]"},{name:"Warning",value:"[WRN]"},{name:"Error",value:"[ERR]"},{name:"All",value:"All"}],this.priority="All",this.search="",this.startTime={hour:0,minute:0},this.endTime={hour:23,minute:59},this.maxDate={year:(new Date).getFullYear(),month:(new Date).getMonth()+1,day:(new Date).getDate()}}ngOnInit(){this.getInfo(),this.ngZone.runOutsideAngular(()=>{this.getDaemonDetails(),this.interval=window.setInterval(()=>{this.ngZone.run(()=>{this.getInfo()})},5e3)})}ngOnDestroy(){clearInterval(this.interval)}getDaemonDetails(){this.lokiServiceStatus$=this.cephService.getDaemons("loki").pipe((0,Oa.U)(t=>t.length>0&&1===t[0].status)),this.promtailServiceStatus$=this.cephService.getDaemons("promtail").pipe((0,Oa.U)(t=>t.length>0&&1===t[0].status))}getInfo(){this.logsService.getLogs().subscribe(t=>{this.contentData=t,this.clogText=this.logToText(this.contentData.clog),this.auditLogText=this.logToText(this.contentData.audit_log),this.filterLogs()})}abstractFilters(){var t,o,l,_,C,x,N,V;const Q=this.priority,oe=this.search.toLowerCase();let le;if(this.selectedDate){const G=this.selectedDate.month,Dt=this.selectedDate.day;le=`${this.selectedDate.year}-${G<=9?`0${G}`:`${G}`}-${Dt<=9?`0${Dt}`:`${Dt}`}`}else le="";return{priority:Q,key:oe,yearMonthDay:le,sTime:60*(null!==(o=null===(t=this.startTime)||void 0===t?void 0:t.hour)&&void 0!==o?o:0)+(null!==(_=null===(l=this.startTime)||void 0===l?void 0:l.minute)&&void 0!==_?_:0),eTime:60*(null!==(x=null===(C=this.endTime)||void 0===C?void 0:C.hour)&&void 0!==x?x:23)+(null!==(V=null===(N=this.endTime)||void 0===N?void 0:N.minute)&&void 0!==V?V:59)}}filterExecutor(t,o){return t.filter(l=>{const _=this.datePipe.transform(l.stamp,"mediumTime"),C=parseInt(_.split(":")[0],10),x=parseInt(_.split(":")[1],10);let N,V,Q;return N="All"===o.priority?l.priority:o.priority,V=o.yearMonthDay?o.yearMonthDay:l.stamp,Q=60*C+x,l.priority===N&&-1!==l.message.toLowerCase().indexOf(o.key)&&-1!==l.stamp.indexOf(V)&&Q>=o.sTime&&Q<=o.eTime})}filterLogs(){const t=this.abstractFilters();this.clog=this.filterExecutor(this.contentData.clog,t),this.audit_log=this.filterExecutor(this.contentData.audit_log,t)}clearSearchKey(){this.search="",this.filterLogs()}clearDate(){this.selectedDate=null,this.filterLogs()}resetFilter(){return this.priority="All",this.search="",this.selectedDate=null,this.startTime={hour:0,minute:0},this.endTime={hour:23,minute:59},this.filterLogs(),!1}logToText(t){let o="";for(const l of Object.keys(t))o=o+this.datePipe.transform(t[l].stamp,"medium")+"\t"+t[l].priority+"\t"+t[l].message+"\n";return o}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(dd),e.Y36(Kl),e.Y36(p.uU),e.Y36(e.R0b))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-logs"]],decls:7,vars:1,consts:function(){let s,t,o,l,_,C,x,N,V,Q,oe,le;return s="Cluster Logs",t="Audit Logs",o="Daemon Logs",l="Daemon logs",_="Priority:",C="Keyword:",x="Date:",N="Time range:",V="No log entries found. Please try to select different filter options.",Q="Reset filter.",oe="Loki/Promtail service not running",le="Please start the loki and promtail service to see these logs.",[[4,"ngIf"],["logFiltersTpl",""],["noEntriesTpl",""],["daemonLogsTpl",""],[4,"ngTemplateOutlet"],["ngbNav","","cdStatefulTab","logs",1,"nav-tabs"],["nav","ngbNav"],["ngbNavItem","cluster-logs"],["ngbNavLink",""],s,["ngbNavContent",""],["ngbNavItem","audit-logs"],t,["ngbNavItem","daemon-logs"],o,[3,"ngbNavOutlet"],["class","card bg-light mb-3",4,"ngIf"],[1,"card","bg-light","mb-3"],["class","btn-group","role","group",4,"ngIf"],[1,"card-body"],[4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["role","group",1,"btn-group"],["fileName","cluster_log",3,"objectItem","textItem"],[3,"source","byId"],[1,"timestamp"],[1,"message",3,"innerHTML"],["fileName","audit_log",3,"objectItem","textItem"],["title",l,"uid","CrAHE0iZz","grafanaStyle","two",3,"grafanaPath","type"],[1,"row","mb-3"],[1,"col-lg-10","d-flex"],[1,"col-sm-1","me-3"],["for","logs-priority",1,"fw-bold"],_,["id","logs-priority",1,"form-select",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[1,"col-md-3","me-3"],["for","logs-keyword",1,"fw-bold"],C,[1,"input-group"],[1,"input-group-text"],[3,"ngClass"],["id","logs-keyword","type","text",1,"form-control",3,"ngModel","ngModelChange","keyup"],["type","button","title","Clear",1,"btn","btn-light",3,"click"],["for","logs-date",1,"fw-bold"],x,["id","logs-date","placeholder","YYYY-MM-DD","ngbDatepicker","",1,"form-control",3,"maxDate","ngModel","click","ngModelChange"],["d","ngbDatepicker"],[1,"col-md-5"],[1,"fw-bold"],N,[1,"d-flex"],[3,"spinners","ngModel","ngModelChange"],[1,"mt-2"],[3,"value"],V,["href","#",3,"click"],Q,["type","info","title",oe],le]},template:function(t,o){1&t&&(e.YNc(0,a1,17,2,"div",0),e.YNc(1,xl,32,18,"ng-template",null,1,e.W1O),e.YNc(3,l1,6,0,"ng-template",null,2,e.W1O),e.YNc(5,Rh,3,0,"ng-template",null,3,e.W1O)),2&t&&e.Q6J("ngIf",o.contentData)},directives:[p.O5,p.tP,Pr.Pz,Yn.m,Pr.nv,Pr.Vx,Pr.uN,n1,Ad.s,p.sg,ha.F,Pr.tO,ge.o,En.EJ,En.JJ,En.On,En.YN,En.Kr,p.mk,En.Fj,Ll.b,Pr.J4,Pr.Pm,yo.G],pipes:[Pn.N,P0.e,Ag,p.Ov],styles:["p[_ngcontent-%COMP%]{font-family:monospace}.card[_ngcontent-%COMP%]   .btn-group[_ngcontent-%COMP%]{margin-top:-45px;position:absolute;right:0}.card[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{display:flex}.card[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:last-child{margin-bottom:0}.card[_ngcontent-%COMP%]   .timestamp[_ngcontent-%COMP%]{flex-shrink:0;font-weight:700}.card[_ngcontent-%COMP%]   .priority[_ngcontent-%COMP%]{margin-left:.5rem}.card[_ngcontent-%COMP%]   .message[_ngcontent-%COMP%]{margin-left:1rem}.card[_ngcontent-%COMP%]   .err[_ngcontent-%COMP%]{color:#dc3545}.card[_ngcontent-%COMP%]   .warn[_ngcontent-%COMP%]{color:#d48200}.card[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]{color:#25828e}.card[_ngcontent-%COMP%]   .debug[_ngcontent-%COMP%]{color:#495057}  cd-logs ngb-timepicker input.ngb-tp-input{width:3.5rem!important}"]}),n})();var xm=i(7273);function gu(n,s){if(1&n&&(e.TgZ(0,"cd-helper"),e._uU(1),e.ALo(2,"upperFirst"),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.hij(" ",e.lcZ(2,1,t.value.long_desc||t.value.desc)," ")}}function ig(n,s){if(1&n&&(e.TgZ(0,"div",15)(1,"div",16),e._UZ(2,"input",17)(3,"label",18),e.qZA()()),2&n){const t=e.oxw().$implicit;e.xp6(2),e.s9C("id",t.value.name),e.s9C("formControlName",t.value.name),e.xp6(1),e.s9C("for",t.value.name)}}function u1(n,s){if(1&n&&e._UZ(0,"input",22),2&n){const t=e.oxw(2).$implicit;e.s9C("id",t.value.name),e.s9C("formControlName",t.value.name)}}function Rm(n,s){if(1&n&&(e.TgZ(0,"option",25),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("ngValue",t),e.xp6(1),e.hij(" ",t," ")}}function c1(n,s){if(1&n&&(e.TgZ(0,"select",23),e.YNc(1,Rm,2,2,"option",24),e.qZA()),2&n){const t=e.oxw(2).$implicit;e.s9C("id",t.value.name),e.s9C("formControlName",t.value.name),e.xp6(1),e.Q6J("ngForOf",t.value.enum_allowed)}}function d1(n,s){1&n&&(e.TgZ(0,"span",26),e.SDv(1,27),e.qZA())}function f1(n,s){1&n&&(e.TgZ(0,"span",26),e.SDv(1,28),e.qZA())}function F0(n,s){if(1&n&&(e.TgZ(0,"div",15),e.YNc(1,u1,1,2,"input",19),e.YNc(2,c1,2,3,"select",20),e.YNc(3,d1,2,0,"span",21),e.YNc(4,f1,2,0,"span",21),e.qZA()),2&n){const t=e.oxw().$implicit;e.oxw();const o=e.MAs(2),l=e.oxw();e.xp6(1),e.Q6J("ngIf",0===t.value.enum_allowed.length),e.xp6(1),e.Q6J("ngIf",t.value.enum_allowed.length>0),e.xp6(1),e.Q6J("ngIf",l.mgrModuleForm.showError(t.value.name,o,"invalidUuid")),e.xp6(1),e.Q6J("ngIf",l.mgrModuleForm.showError(t.value.name,o,"pattern"))}}function dv(n,s){1&n&&(e.TgZ(0,"span",26),e.SDv(1,30),e.qZA())}function L0(n,s){if(1&n&&(e.TgZ(0,"span",26),e.SDv(1,31),e.qZA()),2&n){const t=e.oxw(2).$implicit;e.xp6(1),e.pQV(t.value.max),e.QtT(1)}}function k0(n,s){if(1&n&&(e.TgZ(0,"span",26),e.SDv(1,32),e.qZA()),2&n){const t=e.oxw(2).$implicit;e.xp6(1),e.pQV(t.value.min),e.QtT(1)}}function p1(n,s){1&n&&(e.TgZ(0,"span",26),e.SDv(1,33),e.qZA())}function wm(n,s){if(1&n&&(e.TgZ(0,"div",15),e._UZ(1,"input",29),e.YNc(2,dv,2,0,"span",21),e.YNc(3,L0,2,1,"span",21),e.YNc(4,k0,2,1,"span",21),e.YNc(5,p1,2,0,"span",21),e.qZA()),2&n){const t=e.oxw().$implicit;e.oxw();const o=e.MAs(2),l=e.oxw();e.xp6(1),e.s9C("id",t.value.name),e.s9C("formControlName",t.value.name),e.s9C("min",t.value.min),e.s9C("max",t.value.max),e.xp6(1),e.Q6J("ngIf",l.mgrModuleForm.showError(t.value.name,o,"required")),e.xp6(1),e.Q6J("ngIf",l.mgrModuleForm.showError(t.value.name,o,"max")),e.xp6(1),e.Q6J("ngIf",l.mgrModuleForm.showError(t.value.name,o,"min")),e.xp6(1),e.Q6J("ngIf",l.mgrModuleForm.showError(t.value.name,o,"pattern"))}}function h1(n,s){1&n&&(e.TgZ(0,"span",26),e.SDv(1,35),e.qZA())}function $0(n,s){1&n&&(e.TgZ(0,"span",26),e.SDv(1,36),e.qZA())}function H0(n,s){if(1&n&&(e.TgZ(0,"div",15),e._UZ(1,"input",34),e.YNc(2,h1,2,0,"span",21),e.YNc(3,$0,2,0,"span",21),e.qZA()),2&n){const t=e.oxw().$implicit;e.oxw();const o=e.MAs(2),l=e.oxw();e.xp6(1),e.s9C("id",t.value.name),e.s9C("formControlName",t.value.name),e.xp6(1),e.Q6J("ngIf",l.mgrModuleForm.showError(t.value.name,o,"required")),e.xp6(1),e.Q6J("ngIf",l.mgrModuleForm.showError(t.value.name,o,"pattern"))}}const Pm=function(){return["addr","str","uuid"]},fv=function(){return["uint","int","size","secs"]};function B0(n,s){if(1&n&&(e.TgZ(0,"div",11)(1,"label",12),e._uU(2),e.YNc(3,gu,3,3,"cd-helper",13),e.qZA(),e.YNc(4,ig,4,3,"div",14),e.YNc(5,F0,5,4,"div",14),e.YNc(6,wm,6,8,"div",14),e.YNc(7,H0,4,4,"div",14),e.qZA()),2&n){const t=s.$implicit;e.xp6(1),e.s9C("for",t.value.name),e.xp6(1),e.hij(" ",t.value.name," "),e.xp6(1),e.Q6J("ngIf",t.value.long_desc||t.value.desc),e.xp6(1),e.Q6J("ngIf","bool"===t.value.type),e.xp6(1),e.Q6J("ngIf",e.DdM(7,Pm).includes(t.value.type)),e.xp6(1),e.Q6J("ngIf",e.DdM(8,fv).includes(t.value.type)),e.xp6(1),e.Q6J("ngIf","float"===t.value.type)}}function pv(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",1)(1,"form",2,3)(3,"div",4)(4,"div",5),e.SDv(5,6),e.qZA(),e.TgZ(6,"div",7),e.YNc(7,B0,8,9,"div",8),e.ALo(8,"keyvalue"),e.qZA(),e.TgZ(9,"div",9)(10,"cd-form-button-panel",10),e.NdJ("submitActionEvent",function(){return e.CHM(t),e.oxw().onSubmit()}),e.qZA()()()()()}if(2&n){const t=e.oxw();e.xp6(1),e.Q6J("formGroup",t.mgrModuleForm),e.xp6(6),e.Q6J("ngForOf",e.lcZ(8,4,t.moduleOptions)),e.xp6(3),e.Q6J("form",t.mgrModuleForm)("submitText",t.actionLabels.UPDATE)}}let U0=(()=>{class n extends Ul.E{constructor(t,o,l,_,C,x){super(),this.actionLabels=t,this.route=o,this.router=l,this.formBuilder=_,this.mgrModuleService=C,this.notificationService=x,this.moduleName="",this.moduleOptions=[]}ngOnInit(){this.route.params.subscribe(t=>{this.moduleName=decodeURIComponent(t.name);const o=[this.mgrModuleService.getOptions(this.moduleName),this.mgrModuleService.getConfig(this.moduleName)];(0,Fu.D)(o).subscribe(l=>{this.moduleOptions=l[0],this.createForm(),this.mgrModuleForm.setValue(l[1]),this.loadingReady()},l=>{this.loadingError()})})}getValidators(t){const o=[];switch(t.type){case"addr":o.push(Ae.h.ip());break;case"uint":case"int":case"size":case"secs":o.push(En.kI.required);break;case"str":Sr().isNumber(t.min)&&o.push(En.kI.minLength(t.min)),Sr().isNumber(t.max)&&o.push(En.kI.maxLength(t.max));break;case"float":o.push(En.kI.required),o.push(Ae.h.decimalNumber());break;case"uuid":o.push(Ae.h.uuid())}return o}createForm(){const t={};Sr().forEach(this.moduleOptions,o=>{t[o.name]=[o.default_value,this.getValidators(o)]}),this.mgrModuleForm=this.formBuilder.group(t)}goToListView(){this.router.navigate(["/mgr-modules"])}onSubmit(){if(this.mgrModuleForm.pristine)return void this.goToListView();const t={};Sr().forEach(this.moduleOptions,o=>{const l=this.mgrModuleForm.get(o.name);l.dirty&&l.valid&&(t[o.name]=l.value)}),this.mgrModuleService.updateConfig(this.moduleName,t).subscribe(()=>{this.notificationService.show(Sa.k.success,"Updated options for module '" + this.moduleName + "'."),this.goToListView()},()=>{this.mgrModuleForm.setErrors({cdSubmitButton:!0})})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Mo.p4),e.Y36(Io.gz),e.Y36(Io.F0),e.Y36(jl.O),e.Y36(xm.N),e.Y36(Tl.g))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-mgr-module-form"]],features:[e.qOj],decls:1,vars:1,consts:function(){let s,t,o,l,_,C,x,N,V;return s="Edit Manager module",t="The entered value is not a valid UUID, e.g.: 67dcac9f-2c03-4d6c-b7bd-1210b3a259a8",o="The entered value needs to be a valid IP address.",l="This field is required.",_="The entered value is too high! It must be lower or equal to " + "\ufffd0\ufffd" + ".",C="The entered value is too low! It must be greater or equal to " + "\ufffd0\ufffd" + ".",x="The entered value needs to be a number.",N="This field is required.",V="The entered value needs to be a number or decimal.",[["class","cd-col-form",4,"cdFormLoading"],[1,"cd-col-form"],["name","mgrModuleForm","novalidate","",3,"formGroup"],["frm","ngForm"],[1,"card"],[1,"card-header"],s,[1,"card-body"],["class","form-group row",4,"ngFor","ngForOf"],[1,"card-footer"],["wrappingClass","text-right",3,"form","submitText","submitActionEvent"],[1,"form-group","row"],[1,"cd-col-form-label",3,"for"],[4,"ngIf"],["class","cd-col-form-input",4,"ngIf"],[1,"cd-col-form-input"],[1,"custom-control","custom-checkbox"],["type","checkbox",1,"custom-control-input",3,"id","formControlName"],[1,"custom-control-label",3,"for"],["class","form-control","type","text",3,"id","formControlName",4,"ngIf"],["class","form-select",3,"id","formControlName",4,"ngIf"],["class","invalid-feedback",4,"ngIf"],["type","text",1,"form-control",3,"id","formControlName"],[1,"form-select",3,"id","formControlName"],[3,"ngValue",4,"ngFor","ngForOf"],[3,"ngValue"],[1,"invalid-feedback"],t,o,["type","number",1,"form-control",3,"id","formControlName","min","max"],l,_,C,x,["type","number",1,"form-control",3,"id","formControlName"],N,V]},template:function(t,o){1&t&&e.YNc(0,pv,11,6,"div",0),2&t&&e.Q6J("cdFormLoading",o.loading)},directives:[cu.y,En._Y,En.JL,En.sg,Ma.V,p.sg,ll.P,p.O5,xe.S,ge.o,En.Wl,Ll.b,En.JJ,En.u,En.Fj,En.EJ,En.YN,En.Kr,En.wV,En.qQ,En.Fd,Ml.p],pipes:[p.Nd,Mt.m],styles:[""]}),n})();function Af(n,s,t,o){var C,l=arguments.length,_=l<3?s:null===o?o=Object.getOwnPropertyDescriptor(s,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)_=Reflect.decorate(n,s,t,o);else for(var x=n.length-1;x>=0;x--)(C=n[x])&&(_=(l<3?C(_):l>3?C(s,t,_):C(s,t))||_);return l>3&&_&&Object.defineProperty(s,t,_),_}var zE=i(7357);const y1=["*"],E1=["templateOutlet"];function hv(n,s){if(1&n&&(e.TgZ(0,"div",6),e._uU(1),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.hij(" ",t.message||t.defaultMessage," ")}}function b1(n,s){if(1&n&&(e.TgZ(0,"div",3),e._UZ(1,"div",4),e.YNc(2,hv,2,1,"div",5),e.qZA()),2&n){const t=e.oxw();e.xp6(2),e.Q6J("ngIf",t.message||t.defaultMessage)}}function WE(n,s){}function S1(n,s){1&n&&e.YNc(0,WE,0,0,"ng-template",null,7,e.W1O)}const _v=function(n){return{active:n}};let fd=(()=>{class n{}return n.START="start",n.STOP="stop",n.UPDATE="update",n.RESET="reset",n.RESET_GLOBAL="reset_global",n.UNSUBSCRIBE="unsubscribe",n})();const fm="block-ui-main";let Nm=(()=>{let n=class{constructor(){this.blockUISettings={},this.blockUIInstances={},this.blockUISubject=new zE.t(1),this.blockUIObservable=this.blockUISubject.asObservable(),this.blockUIObservable.subscribe(this.blockUIMiddleware.bind(this))}getSettings(){return this.blockUISettings}updateSettings(t={}){this.blockUISettings=Object.assign(Object.assign({},this.blockUISettings),t)}decorate(t=fm){const o={name:t,isActive:!1,blockCount:0,start:this.dispatch(this.blockUISubject,fd.START,t),update:this.dispatch(this.blockUISubject,fd.UPDATE,t),stop:this.dispatch(this.blockUISubject,fd.STOP,t),reset:this.dispatch(this.blockUISubject,fd.RESET,t),resetGlobal:this.dispatch(this.blockUISubject,fd.RESET_GLOBAL,t),unsubscribe:this.dispatch(this.blockUISubject,fd.UNSUBSCRIBE,t)};return this.blockUIInstances[t]=this.blockUIInstances[t]||o,o}observe(){return this.blockUIObservable}clearInstance(t){this.dispatch(this.blockUISubject,fd.RESET,t)}blockUIMiddleware({action:t,name:o}){let l=null;switch(t){case fd.START:l=!0;break;case fd.STOP:case fd.RESET:l=!1}null!==l&&(this.blockUIInstances[o].isActive=l)}dispatch(t,o,l=fm){return _=>{t.next({name:l,action:o,message:_})}}};return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=e.Yz7({token:n,factory:function(s){return n.\u0275fac(s)}}),n})(),z0=(()=>{let n=class{constructor(t){this.blockUI=t}ngOnInit(){this.name=this.name||fm,this.template=this.template||this.blockUI.blockUISettings.template}};return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nm))},n.\u0275cmp=e.Xpm({type:n,selectors:[["block-ui"]],inputs:{name:"name",template:"template",message:"message",delayStart:"delayStart",delayStop:"delayStop"},ngContentSelectors:y1,decls:2,vars:5,consts:[[3,"name","message","template","delayStart","delayStop"]],template:function(t,o){1&t&&(e.F$t(),e.Hsn(0),e._UZ(1,"block-ui-content",0)),2&t&&(e.xp6(1),e.Q6J("name",o.name)("message",o.message)("template",o.template)("delayStart",o.delayStart)("delayStop",o.delayStop))},directives:function(){return[T1]},encapsulation:2}),Af([(0,e.IIB)()],n.prototype,"name",void 0),Af([(0,e.IIB)()],n.prototype,"message",void 0),Af([(0,e.IIB)()],n.prototype,"delayStart",void 0),Af([(0,e.IIB)()],n.prototype,"delayStop",void 0),Af([(0,e.IIB)()],n.prototype,"template",void 0),n})(),T1=(()=>{let n=class{constructor(t,o,l){this.blockUI=t,this.resolver=o,this.changeDetectionRef=l,this.name=fm,this.defaultBlockState={startTimeouts:[],stopTimeouts:[],updateTimeouts:[],blockCount:0,startCallCount:0,stopCallCount:0},this.state=Object.assign({},this.defaultBlockState)}ngOnInit(){this.settings=this.blockUI.getSettings(),this.blockUISubscription=this.subscribeToBlockUI(this.blockUI.observe())}ngAfterViewInit(){try{if(!this.templateCmp)return!1;if(this.templateCmp instanceof e.Rgc)this.templateOutlet.createEmbeddedView(this.templateCmp);else{const t=this.resolver.resolveComponentFactory(this.templateCmp);this.templateCompRef=this.templateOutlet.createComponent(t),this.updateBlockTemplate(this.message)}}catch(t){console.error("ng-block-ui:",t)}}ngAfterViewChecked(){this.detectChanges()}subscribeToBlockUI(t){return t.subscribe(o=>this.onDispatchedEvent(o))}onDispatchedEvent(t){switch(t.action){case fd.START:this.onStart(t);break;case fd.STOP:this.onStop(t);break;case fd.UPDATE:this.onUpdate(t);break;case fd.RESET:this.onReset(t);break;case fd.RESET_GLOBAL:this.resetState();break;case fd.UNSUBSCRIBE:this.onStop(t),this.onUnsubscribe(t.name)}}onStart({name:t,message:o}){if(t===this.name){const l=this.delayStart||this.settings.delayStart||0;this.state.startCallCount+=1;const _=setTimeout(()=>{this.state.blockCount+=1,this.showBlock(o),this.updateInstanceBlockCount()},l);this.state.startTimeouts.push(_)}}onStop({name:t}){if(t===this.name){const o=this.state.stopCallCount+1;if(this.state.startCallCount-o>=0){const l=this.delayStop||this.settings.delayStop||0;this.state.stopCallCount=o;const _=setTimeout(()=>{this.state.blockCount-=1,this.updateInstanceBlockCount(),this.detectChanges()},l);this.state.stopTimeouts.push(_)}}}onUpdate({name:t,message:o}){if(t===this.name){const l=this.delayStart||this.settings.delayStart||0;clearTimeout(this.state.updateTimeouts[0]);const _=setTimeout(()=>{this.updateMessage(o)},l);this.state.updateTimeouts.push(_)}}onReset({name:t}){t===this.name&&this.resetState()}updateMessage(t){this.showBlock(t)}showBlock(t){this.message=t||this.defaultMessage||this.settings.message,this.updateBlockTemplate(this.message),this.detectChanges()}updateBlockTemplate(t){this.templateCompRef&&this.templateCompRef instanceof e.UuU&&(this.templateCompRef.instance.message=t)}resetState(){[...this.state.startTimeouts,...this.state.stopTimeouts,...this.state.updateTimeouts].forEach(clearTimeout),this.state=Object.assign({},this.defaultBlockState),this.updateInstanceBlockCount(),this.detectChanges()}onUnsubscribe(t){this.blockUISubscription&&t===this.name&&this.blockUISubscription.unsubscribe()}updateInstanceBlockCount(){if(this.blockUI.blockUIInstances[this.name]){const{blockCount:t}=this.state;this.blockUI.blockUIInstances[this.name].blockCount=t}}detectChanges(){this.changeDetectionRef.destroyed||this.changeDetectionRef.detectChanges()}ngOnDestroy(){this.resetState(),this.onUnsubscribe(this.name),this.blockUI.clearInstance(this.name)}};return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nm),e.Y36(e._Vd),e.Y36(e.sBO))},n.\u0275cmp=e.Xpm({type:n,selectors:[["block-ui-content"]],viewQuery:function(t,o){if(1&t&&e.Gf(E1,5,e.s_b),2&t){let l;e.iGM(l=e.CRH())&&(o.templateOutlet=l.first)}},inputs:{name:"name",delayStart:"delayStart",delayStop:"delayStop",defaultMessage:["message","defaultMessage"],templateCmp:["template","templateCmp"]},decls:3,vars:9,consts:[[3,"ngClass"],["class","block-ui-spinner",4,"ngIf"],[4,"ngIf"],[1,"block-ui-spinner"],[1,"loader"],["class","message",4,"ngIf"],[1,"message"],["templateOutlet",""]],template:function(t,o){1&t&&(e.TgZ(0,"div",0),e.YNc(1,b1,3,1,"div",1),e.YNc(2,S1,2,0,null,2),e.qZA()),2&t&&(e.MT6("block-ui-wrapper ",o.name," ",o.className,""),e.Q6J("ngClass",e.VKq(7,_v,o.state.blockCount>0)),e.xp6(1),e.Q6J("ngIf",!o.templateCmp),e.xp6(1),e.Q6J("ngIf",o.templateCmp))},directives:[p.mk,p.O5],styles:["\n.block-ui-wrapper {\n  display: none;\n  position: fixed;\n  height: 100%;\n  width: 100%;\n  top: 0;\n  left: 0;\n  background: rgba(0, 0, 0, 0.70);\n  z-index: 30000;\n  cursor: wait;\n}\n\n.block-ui-wrapper.block-ui-wrapper--element {\n  position: absolute;\n}\n\n.block-ui-wrapper.active {\n  display: block;\n}\n\n.block-ui-wrapper.block-ui-main {\n  position: fixed;\n}\n\n.block-ui-spinner,\n.block-ui-template {\n  position: absolute;\n  top: 40%;\n  margin: 0 auto;\n  left: 0;\n  right: 0;\n  transform: translateY(-50%);\n}\n\n.block-ui-spinner > .message {\n  font-size: 1.3em;\n  text-align: center;\n  color: #fff;\n}\n\n.block-ui__element {\n  position: relative;\n}\n\n.loader,\n.loader:after {\n  border-radius: 50%;\n  width: 10em;\n  height: 10em;\n}\n.loader {\n  margin: 7px auto;\n  font-size: 5px;\n  position: relative;\n  text-indent: -9999em;\n  border-top: 1.1em solid rgba(255, 255, 255, 0.2);\n  border-right: 1.1em solid rgba(255, 255, 255, 0.2);\n  border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);\n  border-left: 1.1em solid #ffffff;\n  -webkit-transform: translateZ(0);\n  -ms-transform: translateZ(0);\n  transform: translateZ(0);\n  -webkit-animation: load8 1.1s infinite linear;\n  animation: load8 1.1s infinite linear;\n}\n\n@-webkit-keyframes load8 {\n  0% {\n    -webkit-transform: rotate(0deg);\n    transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n    transform: rotate(360deg);\n  }\n}\n\n@keyframes load8 {\n  0% {\n    -webkit-transform: rotate(0deg);\n    transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n    transform: rotate(360deg);\n  }\n}\n"],encapsulation:2}),Af([(0,e.IIB)()],n.prototype,"name",void 0),Af([(0,e.IIB)()],n.prototype,"delayStart",void 0),Af([(0,e.IIB)()],n.prototype,"delayStop",void 0),Af([(0,e.IIB)("message")],n.prototype,"defaultMessage",void 0),Af([(0,e.IIB)("template")],n.prototype,"templateCmp",void 0),Af([(0,e.i9L)("templateOutlet",{read:e.s_b})],n.prototype,"templateOutlet",void 0),n})(),C1=(()=>{let n=class{constructor(t){this.blockUIInstance=t,this.globalDispatch=this.blockUIInstance.decorate()}start(t,o){this.dispatch(t,fd.START,o)}stop(t){this.dispatch(t,fd.STOP)}reset(t){this.dispatch(t,fd.RESET)}resetGlobal(){this.globalDispatch.resetGlobal()}update(t,o){this.dispatch(t,fd.UPDATE,o)}unsubscribe(t){this.dispatch(t,fd.UNSUBSCRIBE)}isActive(t=null){const o=t?this.toArray(t):null,l=this.blockUIInstance.blockUIInstances;return Object.keys(l).some(_=>o?o.indexOf(l[_].name)>=0&&l[_].isActive:l[_].isActive)}dispatch(t=[],o,l){this.toArray(t).forEach(C=>this.blockUIInstance.decorate(C)[o](l))}toArray(t=[]){return"string"==typeof t?[t]:t}};return n.\u0275fac=function(t){return new(t||n)(e.LFG(Nm))},n.\u0275prov=e.Yz7({token:n,factory:function(s){return n.\u0275fac(s)}}),n})();var pm;const Ng=new Nm,Im=new e.OlP("BlockUIModuleSettings");function W0(n){return Ng.updateSettings(n),Ng}let Fm=pm=class{static forRoot(s={}){return{ngModule:pm,providers:[{provide:Im,useValue:s},{provide:Nm,useFactory:W0,deps:[Im]},C1]}}};Fm.\u0275fac=function(s){return new(s||Fm)},Fm.\u0275mod=e.oAB({type:Fm}),Fm.\u0275inj=e.cJS({imports:[[p.ez]]});let gv=1;function og(n,s){if(1&n&&(e.ynx(0),e._UZ(1,"cd-table-key-value",1),e.BQk()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("data",t.module_config)}}let Uf=(()=>{class n{constructor(t){this.mgrModuleService=t}ngOnChanges(){this.selection&&this.mgrModuleService.getConfig(this.selection.name).subscribe(t=>{this.module_config=t})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(xm.N))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-mgr-module-details"]],inputs:{selection:"selection"},features:[e.TTD],decls:1,vars:1,consts:[[4,"ngIf"],[3,"data"]],template:function(t,o){1&t&&e.YNc(0,og,2,1,"ng-container",0),2&t&&e.Q6J("ngIf",o.selection)},directives:[p.O5,fo.b],styles:[""]}),n})();class eh extends It.o{constructor(s,t,o){super(),this.authStorageService=s,this.mgrModuleService=t,this.notificationService=o,this.columns=[],this.modules=[],this.selection=new _n.r,this.permission=this.authStorageService.getPermissions().configOpt,this.columns=[{name:"Name",prop:"name",flexGrow:1},{name:"Enabled",prop:"enabled",flexGrow:1,cellClass:"text-center",cellTransformation:Ht.e.checkIcon},{name:"Always-On",prop:"always_on",flexGrow:1,cellClass:"text-center",cellTransformation:Ht.e.checkIcon}];const l=()=>this.selection.first()&&encodeURIComponent(this.selection.first().name);this.tableActions=[{name:"Edit",permission:"update",disable:()=>!this.selection.hasSelection||0===Object.values(this.selection.first().options).length,routerLink:()=>`/mgr-modules/edit/${l()}`,icon:wo.P.edit},{name:"Enable",permission:"update",click:()=>this.updateModuleState(),disable:()=>this.isTableActionDisabled("enabled"),icon:wo.P.start},{name:"Disable",permission:"update",click:()=>this.updateModuleState(),disable:()=>this.getTableActionDisabledDesc(),icon:wo.P.stop}]}getModuleList(s){this.mgrModuleService.list().subscribe(t=>{this.modules=t},()=>{s.error()})}updateSelection(s){this.selection=s}isTableActionDisabled(s){if(!this.selection.hasSelection)return!0;const t=this.selection.first();if("dashboard"===t.name||t.always_on)return!0;switch(s){case"enabled":return t.enabled;case"disabled":return!t.enabled}}getTableActionDisabledDesc(){var s;return(null===(s=this.selection.first())||void 0===s?void 0:s.always_on)?"This Manager module is always on.":this.isTableActionDisabled("disabled")}updateModuleState(){if(!this.selection.hasSelection)return;let s;const t=()=>{(0,ai.H)(2e3).subscribe(()=>{this.mgrModuleService.list().subscribe(()=>{this.notificationService.suspendToasties(!1),this.blockUI.stop(),this.table.refreshBtn()},()=>{t()})})},o=this.selection.first();s=o.enabled?this.mgrModuleService.disable(o.name):this.mgrModuleService.enable(o.name),s.subscribe(()=>{},()=>{this.notificationService.suspendToasties(!0),this.blockUI.start("Reconnecting, please wait ..."),t()})}}eh.\u0275fac=function(s){return new(s||eh)(e.Y36(Vi.j),e.Y36(xm.N),e.Y36(Tl.g))},eh.\u0275cmp=e.Xpm({type:eh,selectors:[["cd-mgr-module-list"]],viewQuery:function(s,t){if(1&s&&e.Gf(Tr.a,7),2&s){let o;e.iGM(o=e.CRH())&&(t.table=o.first)}},features:[e.qOj],decls:4,vars:8,consts:[["columnMode","flex","selectionType","single","identifier","module",3,"autoReload","data","columns","hasDetails","setExpandedRow","updateSelection","fetchData"],["table",""],[1,"table-actions",3,"permission","selection","tableActions"],["cdTableDetail","",3,"selection"]],template:function(s,t){1&s&&(e.TgZ(0,"cd-table",0,1),e.NdJ("setExpandedRow",function(l){return t.setExpandedRow(l)})("updateSelection",function(l){return t.updateSelection(l)})("fetchData",function(l){return t.getModuleList(l)}),e._UZ(2,"cd-table-actions",2)(3,"cd-mgr-module-details",3),e.qZA()),2&s&&(e.Q6J("autoReload",!1)("data",t.modules)("columns",t.columns)("hasDetails",!0),e.xp6(2),e.Q6J("permission",t.permission)("selection",t.selection)("tableActions",t.tableActions),e.xp6(1),e.Q6J("selection",t.expandedRow))},directives:[Tr.a,Tu.K,Uf],styles:[""]}),(0,Z.gn)([function c_(n,s={}){return s.scopeToInstance?function(t,o){const l=`_${o}-block-ui`;Object.defineProperty(t,o,{get:function(){if(this[l])return this[l];const _=`${n}-${gv++}`;return this[l]=Ng.decorate(_),this[l]},set:function(_){this[l]=_}})}:function(t,o){t[o]=Ng.decorate(n)}}(),(0,Z.w6)("design:type",Object)],eh.prototype,"blockUI",void 0);let Ig=(()=>{class n{constructor(t){this.http=t}getMonitor(){return this.http.get("api/monitor")}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(g.eN))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function th(n,s){if(1&n&&(e.TgZ(0,"table",11)(1,"tbody")(2,"tr")(3,"td",12),e.SDv(4,13),e.qZA(),e.TgZ(5,"td"),e._uU(6),e.qZA()(),e.TgZ(7,"tr")(8,"td",12),e.SDv(9,14),e.qZA(),e.TgZ(10,"td"),e._uU(11),e.ALo(12,"relativeDate"),e.qZA()(),e.TgZ(13,"tr")(14,"td",12),e.SDv(15,15),e.qZA(),e.TgZ(16,"td"),e._uU(17),e.qZA()(),e.TgZ(18,"tr")(19,"td",12),e.SDv(20,16),e.qZA(),e.TgZ(21,"td"),e._uU(22),e.qZA()(),e.TgZ(23,"tr")(24,"td",12),e.SDv(25,17),e.qZA(),e.TgZ(26,"td"),e._uU(27),e.qZA()(),e.TgZ(28,"tr")(29,"td",12),e.SDv(30,18),e.qZA(),e.TgZ(31,"td"),e._uU(32),e.qZA()(),e.TgZ(33,"tr")(34,"td",12),e.SDv(35,19),e.qZA(),e.TgZ(36,"td"),e._uU(37),e.qZA()()()()),2&n){const t=e.oxw();e.xp6(6),e.Oqu(t.mon_status.monmap.fsid),e.xp6(5),e.Oqu(e.lcZ(12,7,t.mon_status.monmap.modified)),e.xp6(6),e.Oqu(t.mon_status.monmap.epoch),e.xp6(5),e.Oqu(t.mon_status.features.quorum_con),e.xp6(5),e.Oqu(t.mon_status.features.quorum_mon),e.xp6(5),e.Oqu(t.mon_status.features.required_con),e.xp6(5),e.Oqu(t.mon_status.features.required_mon)}}let vv=(()=>{class n{constructor(t){this.monitorService=t,this.inQuorum={columns:[{prop:"name",name:"Name",cellTransformation:Ht.e.routerLink},{prop:"rank",name:"Rank"},{prop:"public_addr",name:"Public Address"},{prop:"cdOpenSessions",name:"Open Sessions",cellTransformation:Ht.e.sparkline,comparator:(o,l)=>{const _=Sr().last(o),C=Sr().last(l);return _&&C&&_!==C?_>C?1:-1:0}}]},this.notInQuorum={columns:[{prop:"name",name:"Name",cellTransformation:Ht.e.routerLink},{prop:"rank",name:"Rank"},{prop:"public_addr",name:"Public Address"}]}}refresh(){this.monitorService.getMonitor().subscribe(t=>{t.in_quorum.map(o=>(o.cdOpenSessions=o.stats.num_sessions.map(l=>l[1]),o.cdLink="/perf_counters/mon/"+o.name,o.cdParams={fromLink:"/monitor"},o)),t.out_quorum.map(o=>(o.cdLink="/perf_counters/mon/"+o.name,o.cdParams={fromLink:"/monitor"},o)),this.inQuorum.data=[...t.in_quorum],this.notInQuorum.data=[...t.out_quorum],this.mon_status=t.mon_status})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Ig))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-monitor"]],decls:15,vars:5,consts:function(){let s,t,o,l,_,C,x,N,V,Q;return s="Status",t="In Quorum",o="Not In Quorum",l="Cluster ID",_="monmap modified",C="monmap epoch",x="quorum con",N="quorum mon",V="required con",Q="required mon",[[1,"row"],[1,"col-lg-4"],[1,"cd-header"],s,["class","table table-striped",4,"ngIf"],[1,"col-lg-8"],[1,"in-quorum","cd-header"],t,[3,"data","columns"],o,[3,"data","columns","fetchData"],[1,"table","table-striped"],[1,"bold"],l,_,C,x,N,V,Q]},template:function(t,o){1&t&&(e.TgZ(0,"div",0)(1,"div",1)(2,"fieldset")(3,"legend",2),e.SDv(4,3),e.qZA(),e.YNc(5,th,38,9,"table",4),e.qZA()(),e.TgZ(6,"div",5)(7,"legend",6),e.SDv(8,7),e.qZA(),e.TgZ(9,"div"),e._UZ(10,"cd-table",8),e.qZA(),e.TgZ(11,"legend",6),e.SDv(12,9),e.qZA(),e.TgZ(13,"div")(14,"cd-table",10),e.NdJ("fetchData",function(){return o.refresh()}),e.qZA()()()()),2&t&&(e.xp6(5),e.Q6J("ngIf",o.mon_status),e.xp6(5),e.Q6J("data",o.inQuorum.data)("columns",o.inQuorum.columns),e.xp6(4),e.Q6J("data",o.notInQuorum.data)("columns",o.notInQuorum.columns))},directives:[p.O5,Tr.a],pipes:[Ed.h],styles:[""]}),n})();class x_{}function hm(n,s){if(1&n&&(e.TgZ(0,"span",18),e.SDv(1,19),e.qZA()),2&n){const t=e.oxw(2);e.Q6J("ngbTooltip",t.clusterWideTooltip)}}function _m(n,s){1&n&&e._UZ(0,"hr",20)}function Lm(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",12)(1,"input",13),e.NdJ("change",function(){const _=e.CHM(t).$implicit;return e.oxw().changeValue(_)}),e.qZA(),e.TgZ(2,"label",14)(3,"strong"),e._uU(4),e.qZA(),e.YNc(5,hm,2,1,"span",15),e._UZ(6,"br"),e.TgZ(7,"span",16),e._uU(8),e.qZA()(),e.YNc(9,_m,1,0,"hr",17),e.qZA()}if(2&n){const t=s.$implicit,o=s.last;e.xp6(1),e.Q6J("checked",t.value)("indeterminate",t.indeterminate)("name",t.code)("id",t.code),e.xp6(1),e.Q6J("for",t.code),e.xp6(2),e.Oqu(t.name),e.xp6(1),e.Q6J("ngIf",t.clusterWide),e.xp6(3),e.Oqu(t.description),e.xp6(1),e.Q6J("ngIf",!o)}}let km=(()=>{class n{constructor(t,o,l,_,C){this.activeModal=t,this.actionLabels=o,this.authStorageService=l,this.osdService=_,this.notificationService=C,this.initialSelection=[],this.osdFlagsForm=new En.cw({}),this.flags=[{code:"noup",name:"No Up",description:"OSDs are not allowed to start",value:!1,clusterWide:!1,indeterminate:!1},{code:"nodown",name:"No Down",description:"OSD failure reports are being ignored, such that the monitors will not mark OSDs down",value:!1,clusterWide:!1,indeterminate:!1},{code:"noin",name:"No In",description:"OSDs that were previously marked out will not be marked back in when they start",value:!1,clusterWide:!1,indeterminate:!1},{code:"noout",name:"No Out",description:"OSDs will not automatically be marked out after the configured interval",value:!1,clusterWide:!1,indeterminate:!1}],this.clusterWideTooltip="The flag has been enabled for the entire cluster.",this.permissions=this.authStorageService.getPermissions()}ngOnInit(){const t=this.selected.length;this.osdService.getFlags().subscribe(o=>{const l=this.getActivatedIndivFlags();this.flags.forEach(_=>{const C=l[_.code];o.includes(_.code)&&(_.clusterWide=!0),C===t?_.value=!0:C>0&&(_.indeterminate=!0)}),this.initialSelection=Sr().cloneDeep(this.flags)})}getActivatedIndivFlags(){const t={};return this.flags.forEach(o=>{t[o.code]=0}),[].concat(...this.selected.map(o=>o.state)).map(o=>{Object.keys(t).includes(o)&&(t[o]=t[o]+1)}),t}changeValue(t){t.value=!t.value,t.indeterminate=!1}resetSelection(){this.flags=Sr().cloneDeep(this.initialSelection)}submitAction(){const t={};this.flags.forEach(l=>{t[l.code]=l.indeterminate?null:l.value});const o=this.selected.map(l=>l.osd);this.osdService.updateIndividualFlags(t,o).subscribe(()=>{this.notificationService.show(Sa.k.success,"Updated OSD Flags"),this.activeModal.close()},()=>{this.activeModal.close()})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr.Kz),e.Y36(Mo.p4),e.Y36(Vi.j),e.Y36(ic),e.Y36(Tl.g))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-osd-flags-indiv-modal"]],decls:12,vars:6,consts:function(){let s,t,o;return s="Individual OSD Flags",t="Restore previous selection",o="Cluster-wide",[[3,"modalRef"],[1,"modal-title"],s,[1,"modal-content"],["name","osdFlagsForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body","osd-modal"],["class","custom-control custom-checkbox",4,"ngFor","ngForOf"],[1,"modal-footer"],["type","button",1,"btn","btn-light",3,"click"],t,[3,"form","showSubmit","submitText","submitActionEvent"],[1,"custom-control","custom-checkbox"],["type","checkbox",1,"custom-control-input",3,"checked","indeterminate","name","id","change"],["ng-class","['tc_' + key]",1,"custom-control-label",3,"for"],["class","badge badge-hdd ms-2",3,"ngbTooltip",4,"ngIf"],[1,"form-text","text-muted"],["class","m-1",4,"ngIf"],[1,"badge","badge-hdd","ms-2",3,"ngbTooltip"],o,[1,"m-1"]]},template:function(t,o){1&t&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6),e.YNc(7,Lm,10,9,"div",7),e.qZA(),e.TgZ(8,"div",8)(9,"button",9),e.NdJ("click",function(){return o.resetSelection()}),e.SDv(10,10),e.qZA(),e.TgZ(11,"cd-form-button-panel",11),e.NdJ("submitActionEvent",function(){return o.submitAction()}),e.qZA()()(),e.BQk(),e.qZA()),2&t&&(e.Q6J("modalRef",o.activeModal),e.xp6(4),e.Q6J("formGroup",o.osdFlagsForm),e.xp6(3),e.Q6J("ngForOf",o.flags),e.xp6(4),e.Q6J("form",o.osdFlagsForm)("showSubmit",o.permissions.osd.update)("submitText",o.actionLabels.UPDATE))},directives:[Ye.z,En._Y,En.JL,Ma.V,En.sg,p.sg,ge.o,Ll.b,p.O5,Pr._L,Ml.p],styles:[""]}),n})();var V_=i(84333);function Z_(n,s){1&n&&e._UZ(0,"hr",15)}function $m(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",10)(1,"input",11),e.NdJ("change",function(){const _=e.CHM(t).$implicit;return _.value=!_.value}),e.qZA(),e.TgZ(2,"label",12)(3,"strong"),e._uU(4),e.qZA(),e._UZ(5,"br"),e.TgZ(6,"span",13),e._uU(7),e.qZA()(),e.YNc(8,Z_,1,0,"hr",14),e.qZA()}if(2&n){const t=s.$implicit,o=s.last;e.xp6(1),e.Q6J("checked",t.value)("name",t.code)("id",t.code)("disabled",t.disabled),e.xp6(1),e.Q6J("for",t.code),e.xp6(2),e.Oqu(t.name),e.xp6(3),e.Oqu(t.description),e.xp6(1),e.Q6J("ngIf",!o)}}let Hm=(()=>{class n{constructor(t,o,l,_,C){this.activeModal=t,this.actionLabels=o,this.authStorageService=l,this.osdService=_,this.notificationService=C,this.osdFlagsForm=new En.cw({}),this.allFlags={noin:{code:"noin",name:"No In",value:!1,description:"OSDs that were previously marked out will not be marked back in when they start"},noout:{code:"noout",name:"No Out",value:!1,description:"OSDs will not automatically be marked out after the configured interval"},noup:{code:"noup",name:"No Up",value:!1,description:"OSDs are not allowed to start"},nodown:{code:"nodown",name:"No Down",value:!1,description:"OSD failure reports are being ignored, such that the monitors will not mark OSDs down"},pause:{code:"pause",name:"Pause",value:!1,description:"Pauses reads and writes"},noscrub:{code:"noscrub",name:"No Scrub",value:!1,description:"Scrubbing is disabled"},"nodeep-scrub":{code:"nodeep-scrub",name:"No Deep Scrub",value:!1,description:"Deep Scrubbing is disabled"},nobackfill:{code:"nobackfill",name:"No Backfill",value:!1,description:"Backfilling of PGs is suspended"},norebalance:{code:"norebalance",name:"No Rebalance",value:!1,description:"OSD will choose not to backfill unless PG is also degraded"},norecover:{code:"norecover",name:"No Recover",value:!1,description:"Recovery of PGs is suspended"},sortbitwise:{code:"sortbitwise",name:"Bitwise Sort",value:!1,description:"Use bitwise sort",disabled:!0},purged_snapdirs:{code:"purged_snapdirs",name:"Purged Snapdirs",value:!1,description:"OSDs have converted snapsets",disabled:!0},recovery_deletes:{code:"recovery_deletes",name:"Recovery Deletes",value:!1,description:"Deletes performed during recovery instead of peering",disabled:!0},pglog_hardlimit:{code:"pglog_hardlimit",name:"PG Log Hard Limit",value:!1,description:"Puts a hard limit on pg log length",disabled:!0}},this.unknownFlags=[],this.permissions=this.authStorageService.getPermissions()}ngOnInit(){this.osdService.getFlags().subscribe(t=>{t.forEach(o=>{this.allFlags[o]?this.allFlags[o].value=!0:this.unknownFlags.push(o)}),this.flags=Sr().toArray(this.allFlags)})}submitAction(){const t=this.flags.filter(o=>o.value).map(o=>o.code).concat(this.unknownFlags);this.osdService.updateFlags(t).subscribe(()=>{this.notificationService.show(Sa.k.success,"Updated OSD Flags"),this.activeModal.close()},()=>{this.activeModal.close()})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr.Kz),e.Y36(Mo.p4),e.Y36(Vi.j),e.Y36(ic),e.Y36(Tl.g))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-osd-flags-modal"]],decls:10,vars:6,consts:function(){let s;return s="Cluster-wide OSD Flags",[[3,"modalRef"],[1,"modal-title"],s,[1,"modal-content"],["name","osdFlagsForm","novalidate","","cdFormScope","osd",3,"formGroup"],["formDir","ngForm"],[1,"modal-body","osd-modal"],["class","custom-control custom-checkbox",4,"ngFor","ngForOf"],[1,"modal-footer"],[3,"form","showSubmit","submitText","submitActionEvent"],[1,"custom-control","custom-checkbox"],["type","checkbox",1,"custom-control-input",3,"checked","name","id","disabled","change"],["ng-class","['tc_' + key]",1,"custom-control-label",3,"for"],[1,"form-text","text-muted"],["class","m-1",4,"ngIf"],[1,"m-1"]]},template:function(t,o){1&t&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6),e.YNc(7,$m,9,8,"div",7),e.qZA(),e.TgZ(8,"div",8)(9,"cd-form-button-panel",9),e.NdJ("submitActionEvent",function(){return o.submitAction()}),e.qZA()()(),e.BQk(),e.qZA()),2&t&&(e.Q6J("modalRef",o.activeModal),e.xp6(4),e.Q6J("formGroup",o.osdFlagsForm),e.xp6(3),e.Q6J("ngForOf",o.flags),e.xp6(2),e.Q6J("form",o.osdFlagsForm)("showSubmit",o.permissions.osd.update)("submitText",o.actionLabels.UPDATE))},directives:[Ye.z,En._Y,En.JL,V_.T,Ma.V,En.sg,p.sg,ge.o,Ll.b,p.O5,Ml.p],styles:[""]}),n})();function M1(n,s){if(1&n&&(e.TgZ(0,"cd-helper"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit;e.xp6(1),e.hij(" ",t.long_desc,"")}}function np(n,s){if(1&n&&(e.TgZ(0,"div",4)(1,"label",5)(2,"b"),e._uU(3),e.qZA(),e._UZ(4,"br"),e.TgZ(5,"span",6),e._uU(6),e.YNc(7,M1,2,1,"cd-helper",7),e.qZA()(),e.TgZ(8,"div",8)(9,"div",9),e._UZ(10,"input",10)(11,"label",11),e.qZA()()()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.Q6J("for",t.name),e.xp6(2),e.Oqu(t.text),e.xp6(3),e.hij(" ",t.desc," "),e.xp6(1),e.Q6J("ngIf",t.long_desc),e.xp6(3),e.Q6J("id",t.name)("formControlName",t.name),e.xp6(1),e.Q6J("for",t.name)}}function Fg(n,s){if(1&n&&(e.TgZ(0,"cd-helper"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit;e.xp6(1),e.hij(" ",t.long_desc,"")}}const O1=function(n){return[n]};function A1(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"button",16),e.NdJ("click",function(){e.CHM(t);const l=e.oxw(2).$implicit;return e.oxw().resetValue(l.name)}),e._UZ(1,"i",17),e.qZA()}if(2&n){const t=e.oxw(3);e.xp6(1),e.Q6J("ngClass",e.VKq(1,O1,t.icons.erase))}}function D1(n,s){if(1&n&&(e.TgZ(0,"span",18),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit;e.xp6(1),e.hij(" ",t.additionalTypeInfo.patternHelpText,"")}}function x1(n,s){if(1&n&&(e.TgZ(0,"span",18),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).$implicit;e.xp6(1),e.hij(" ",t.additionalTypeInfo.patternHelpText,"")}}function Lg(n,s){if(1&n&&(e.TgZ(0,"span",18),e.SDv(1,19),e.qZA()),2&n){const t=e.oxw(2).$implicit;e.xp6(1),e.pQV(t.maxValue),e.QtT(1)}}function R1(n,s){if(1&n&&(e.TgZ(0,"span",18),e.SDv(1,20),e.qZA()),2&n){const t=e.oxw(2).$implicit;e.xp6(1),e.pQV(t.minValue),e.QtT(1)}}function yv(n,s){if(1&n&&(e.TgZ(0,"div",4)(1,"label",5),e._uU(2),e._UZ(3,"br"),e.TgZ(4,"span",6),e._uU(5),e.YNc(6,Fg,2,1,"cd-helper",7),e.qZA()(),e.TgZ(7,"div",8)(8,"div",12),e._UZ(9,"input",13),e.YNc(10,A1,2,3,"button",14),e.qZA(),e.YNc(11,D1,2,1,"span",15),e.YNc(12,x1,2,1,"span",15),e.YNc(13,Lg,2,1,"span",15),e.YNc(14,R1,2,1,"span",15),e.qZA()()),2&n){const t=e.oxw().$implicit,o=e.oxw();e.xp6(1),e.Q6J("for",t.name),e.xp6(1),e.hij("",t.text," "),e.xp6(3),e.hij(" ",t.desc," "),e.xp6(1),e.Q6J("ngIf",t.long_desc),e.xp6(3),e.Q6J("type",t.additionalTypeInfo.inputType)("id",t.name)("placeholder",t.additionalTypeInfo.humanReadable)("formControlName",t.name)("step",o.getStep(t.type,o.optionsForm.getValue(t.name))),e.xp6(1),e.Q6J("ngIf",o.optionsFormShowReset),e.xp6(1),e.Q6J("ngIf",o.optionsForm.showError(t.name,o.optionsFormDir,"pattern")),e.xp6(1),e.Q6J("ngIf",o.optionsForm.showError(t.name,o.optionsFormDir,"invalidUuid")),e.xp6(1),e.Q6J("ngIf",o.optionsForm.showError(t.name,o.optionsFormDir,"max")),e.xp6(1),e.Q6J("ngIf",o.optionsForm.showError(t.name,o.optionsFormDir,"min"))}}function w1(n,s){1&n&&e._UZ(0,"hr",21)}function J0(n,s){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,np,12,7,"div",2),e.YNc(2,yv,15,14,"div",2),e.YNc(3,w1,1,0,"hr",3),e.qZA()),2&n){const t=s.$implicit,o=s.last;e.xp6(1),e.Q6J("ngIf","bool"===t.type),e.xp6(1),e.Q6J("ngIf","bool"!==t.type),e.xp6(1),e.Q6J("ngIf",!o)}}let P1=(()=>{class n{constructor(t){this.configService=t,this.optionNames=[],this.optionsForm=new nc.d({}),this.optionsFormDir=new En.F([],[]),this.optionsFormGroupName="",this.optionsFormShowReset=!0,this.icons=wo.P,this.options=[],this.optionsFormGroup=new nc.d({})}static optionNameToText(t){const o=["mon","mgr","osd","mds","client"];return t.split("_").filter((l,_)=>0!==_||!o.includes(l)).map(l=>l.charAt(0).toUpperCase()+l.substring(1)).join(" ")}ngOnInit(){this.createForm(),this.loadStoredData()}createForm(){this.optionsForm.addControl(this.optionsFormGroupName,this.optionsFormGroup),this.optionNames.forEach(t=>{this.optionsFormGroup.addControl(t,new En.NI(null))})}getStep(t,o){return ju.getTypeStep(t,o)}loadStoredData(){this.configService.filter(this.optionNames).subscribe(t=>{this.options=t.map(o=>{const l=this.optionsForm.get(o.name),_=ju.getTypeValidators(o);return o.additionalTypeInfo=ju.getType(o.type),o.text=n.optionNameToText(o.name),o.value=Sr().find(o.value,C=>"osd"===C.section),o.value&&l.setValue("bool"===o.additionalTypeInfo.name?"true"===o.value.value:o.value.value),_&&(o.patternHelpText=_.patternHelpText,"max"in _&&""!==_.max&&(o.maxValue=_.max),"min"in _&&""!==_.min&&(o.minValue=_.min),l.setValidators(_.validators)),o})})}saveValues(){const t={};return this.optionNames.forEach(o=>{const l=this.optionsForm.getValue(o);null!==l&&""!==l&&(t[o]={section:"osd",value:l})}),this.configService.bulkCreate({options:t})}resetValue(t){this.configService.delete(t,"osd").subscribe(()=>{this.optionsForm.get(t).reset()})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Fc.e))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-config-option"]],inputs:{optionNames:"optionNames",optionsForm:"optionsForm",optionsFormDir:"optionsFormDir",optionsFormGroupName:"optionsFormGroupName",optionsFormShowReset:"optionsFormShowReset"},decls:2,vars:2,consts:function(){let s,t,o;return s="Remove the custom configuration value. The default configuration will be inherited and used instead.",t="The entered value is too high! It must not be greater than " + "\ufffd0\ufffd" + ".",o="The entered value is too low! It must not be lower than " + "\ufffd0\ufffd" + ".",[[3,"formGroup"],[4,"ngFor","ngForOf"],["class","form-group row pt-2",4,"ngIf"],["class","my-2",4,"ngIf"],[1,"form-group","row","pt-2"],[1,"cd-col-form-label",3,"for"],[1,"text-muted"],[4,"ngIf"],[1,"cd-col-form-input"],[1,"custom-control","custom-checkbox"],["type","checkbox",1,"custom-control-input",3,"id","formControlName"],[1,"custom-control-label",3,"for"],[1,"input-group"],[1,"form-control",3,"type","id","placeholder","formControlName","step"],["class","btn btn-light","type","button","data-toggle","button","title",s,3,"click",4,"ngIf"],["class","invalid-feedback",4,"ngIf"],["type","button","data-toggle","button","title",s,1,"btn","btn-light",3,"click"],["aria-hidden","true",3,"ngClass"],[1,"invalid-feedback"],t,o,[1,"my-2"]]},template:function(t,o){1&t&&(e.TgZ(0,"div",0),e.YNc(1,J0,4,3,"div",1),e.qZA()),2&t&&(e.Q6J("formGroup",o.optionsFormGroup),e.xp6(1),e.Q6J("ngForOf",o.options))},directives:[En.JL,En.sg,Ma.V,p.sg,p.O5,ll.P,xe.S,ge.o,En.Wl,Ll.b,En.JJ,En.u,En.Fj,p.mk],styles:[".custom-checkbox[_ngcontent-%COMP%]   label[_ngcontent-%COMP%], .custom-checkbox[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{cursor:pointer}.col-form-label[_ngcontent-%COMP%]{text-align:left}"]}),n})(),Ev=(()=>{class n{}return n.basicOptions=["osd_scrub_during_recovery","osd_scrub_begin_hour","osd_scrub_end_hour","osd_scrub_begin_week_day","osd_scrub_end_week_day","osd_scrub_min_interval","osd_scrub_max_interval","osd_deep_scrub_interval","osd_scrub_auto_repair","osd_max_scrubs","osd_scrub_priority","osd_scrub_sleep"],n.advancedOptions=["osd_scrub_auto_repair_num_errors","osd_debug_deep_scrub_sleep","osd_deep_scrub_keys","osd_deep_scrub_large_omap_object_key_threshold","osd_deep_scrub_large_omap_object_value_sum_threshold","osd_deep_scrub_randomize_ratio","osd_deep_scrub_stride","osd_deep_scrub_update_digest_min_age","osd_requested_scrub_priority","osd_scrub_backoff_ratio","osd_scrub_chunk_max","osd_scrub_chunk_min","osd_scrub_cost","osd_scrub_interval_randomize_ratio","osd_scrub_invalid_stats","osd_scrub_load_threshold","osd_scrub_max_preemptions","osd_shallow_scrub_chunk_max","osd_shallow_scrub_chunk_min"],n})();const N1=["basicOptionsValues"],Q0=["advancedOptionsValues"];function I1(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"a",15),e.NdJ("click",function(){return e.CHM(t),e.oxw().advancedEnabled=!0}),e.SDv(1,16),e.qZA()}}function X0(n,s){if(1&n&&(e.TgZ(0,"div")(1,"h3",17),e.SDv(2,18),e.qZA(),e._UZ(3,"cd-config-option",7,19),e.qZA()),2&n){const t=e.oxw(),o=e.MAs(7);e.xp6(3),e.Q6J("optionNames",t.advancedOptions)("optionsForm",t.osdPgScrubForm)("optionsFormDir",o)("optionsFormGroupName","advancedFormGroup")}}let kg=(()=>{class n{constructor(t,o,l,_){this.activeModal=t,this.authStorageService=o,this.notificationService=l,this.actionLabels=_,this.basicOptions=Ev.basicOptions,this.advancedOptions=Ev.advancedOptions,this.advancedEnabled=!1,this.osdPgScrubForm=new nc.d({}),this.resource="PG scrub options",this.action=this.actionLabels.EDIT,this.permissions=this.authStorageService.getPermissions()}submitAction(){const t=[this.basicOptionsValues.saveValues()];this.advancedOptionsValues&&t.push(this.advancedOptionsValues.saveValues()),(0,Fu.D)(t).subscribe(()=>{this.notificationService.show(Sa.k.success,"Updated PG scrub options"),this.activeModal.close()},()=>{this.activeModal.close()})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr.Kz),e.Y36(Vi.j),e.Y36(Tl.g),e.Y36(Mo.p4))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-osd-pg-scrub-modal"]],viewQuery:function(t,o){if(1&t&&(e.Gf(N1,7),e.Gf(Q0,5)),2&t){let l;e.iGM(l=e.CRH())&&(o.basicOptionsValues=l.first),e.iGM(l=e.CRH())&&(o.advancedOptionsValues=l.first)}},decls:19,vars:21,consts:function(){let s,t,o;return s="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",t="Advanced...",o="Advanced configuration options",[[3,"modalRef"],[1,"modal-title"],s,[1,"modal-content"],["novalidate","","cdFormScope","osd",3,"formGroup"],["formDir","ngForm"],[1,"modal-body","osd-modal"],[3,"optionNames","optionsForm","optionsFormDir","optionsFormGroupName"],["basicOptionsValues",""],[1,"row"],[1,"col-sm-12"],["class","pull-right margin-right-md",3,"click",4,"ngIf"],[4,"ngIf"],[1,"modal-footer"],[3,"form","showSubmit","submitText","submitActionEvent"],[1,"pull-right","margin-right-md",3,"click"],t,[1,"page-header"],o,["advancedOptionsValues",""]]},template:function(t,o){if(1&t&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.ALo(3,"titlecase"),e.ALo(4,"upperFirst"),e.BQk(),e.ynx(5,3),e.TgZ(6,"form",4,5)(8,"div",6),e._UZ(9,"cd-config-option",7,8),e.TgZ(11,"div",9)(12,"div",10),e.YNc(13,I1,2,0,"a",11),e.qZA()(),e.YNc(14,X0,5,4,"div",12),e.qZA(),e.TgZ(15,"div",13)(16,"cd-form-button-panel",14),e.NdJ("submitActionEvent",function(){return o.submitAction()}),e.ALo(17,"titlecase"),e.ALo(18,"upperFirst"),e.qZA()()(),e.BQk(),e.qZA()),2&t){const l=e.MAs(7);e.Q6J("modalRef",o.activeModal),e.xp6(4),e.pQV(e.lcZ(3,13,o.action))(e.lcZ(4,15,o.resource)),e.QtT(2),e.xp6(2),e.Q6J("formGroup",o.osdPgScrubForm),e.xp6(3),e.Q6J("optionNames",o.basicOptions)("optionsForm",o.osdPgScrubForm)("optionsFormDir",l)("optionsFormGroupName","basicFormGroup"),e.xp6(4),e.Q6J("ngIf",!o.advancedEnabled),e.xp6(1),e.Q6J("ngIf",o.advancedEnabled),e.xp6(2),e.Q6J("form",o.osdPgScrubForm)("showSubmit",o.permissions.configOpt.update)("submitText",e.lcZ(17,17,o.action)+" "+e.lcZ(18,19,o.resource))}},directives:[Ye.z,En._Y,En.JL,V_.T,Ma.V,En.sg,P1,p.O5,Ml.p],pipes:[p.rS,Mt.m],styles:[""]}),n})();function bv(n,s){if(1&n&&(e.TgZ(0,"option",22),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("value",t.name),e.xp6(1),e.hij(" ",t.text," ")}}function K0(n,s){1&n&&(e.TgZ(0,"span",23),e.SDv(1,24),e.qZA())}function XE(n,s){if(1&n&&(e.TgZ(0,"cd-helper"),e._uU(1),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.Oqu(t.value.desc)}}function q0(n,s){1&n&&(e.TgZ(0,"span",23),e.SDv(1,29),e.qZA())}function Sv(n,s){if(1&n&&(e.TgZ(0,"span",23),e.SDv(1,30),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.pQV(t.value.patternHelpText),e.QtT(1)}}function Tv(n,s){if(1&n&&(e.TgZ(0,"span",23),e.SDv(1,31),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.pQV(t.value.maxValue),e.QtT(1)}}function ey(n,s){if(1&n&&(e.TgZ(0,"span",23),e.SDv(1,32),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.pQV(t.value.minValue),e.QtT(1)}}const KE=function(n){return{required:n}};function qE(n,s){if(1&n&&(e.TgZ(0,"div",7)(1,"label",25)(2,"span",26),e._uU(3),e.qZA(),e.YNc(4,XE,2,1,"cd-helper",27),e.qZA(),e.TgZ(5,"div",10),e._UZ(6,"input",28),e.YNc(7,q0,2,0,"span",13),e.YNc(8,Sv,2,1,"span",13),e.YNc(9,Tv,2,1,"span",13),e.YNc(10,ey,2,1,"span",13),e.qZA()()),2&n){const t=s.$implicit,o=e.oxw(),l=e.MAs(5);e.xp6(1),e.Q6J("for",t.key),e.xp6(1),e.Q6J("ngClass",e.VKq(11,KE,o.osdRecvSpeedForm.getValue("customizePriority"))),e.xp6(1),e.hij(" ",t.value.text," "),e.xp6(1),e.Q6J("ngIf",t.value.desc),e.xp6(2),e.Q6J("id",t.key)("formControlName",t.key)("readonly",!o.osdRecvSpeedForm.getValue("customizePriority")),e.xp6(1),e.Q6J("ngIf",o.osdRecvSpeedForm.getValue("customizePriority")&&o.osdRecvSpeedForm.showError(t.key,l,"required")),e.xp6(1),e.Q6J("ngIf",o.osdRecvSpeedForm.getValue("customizePriority")&&o.osdRecvSpeedForm.showError(t.key,l,"pattern")),e.xp6(1),e.Q6J("ngIf",o.osdRecvSpeedForm.getValue("customizePriority")&&o.osdRecvSpeedForm.showError(t.key,l,"max")),e.xp6(1),e.Q6J("ngIf",o.osdRecvSpeedForm.getValue("customizePriority")&&o.osdRecvSpeedForm.showError(t.key,l,"min"))}}let eb=(()=>{class n{constructor(t,o,l,_,C,x){this.activeModal=t,this.actionLabels=o,this.authStorageService=l,this.configService=_,this.notificationService=C,this.osdService=x,this.priorities=[],this.priorityAttrs={},this.permissions=this.authStorageService.getPermissions(),this.priorities=this.osdService.osdRecvSpeedModalPriorities.KNOWN_PRIORITIES,this.osdRecvSpeedForm=new nc.d({priority:new En.NI(null,{validators:[En.kI.required]}),customizePriority:new En.NI(!1)}),this.priorityAttrs={osd_max_backfills:{text:"Max Backfills",desc:"",patternHelpText:"",maxValue:void 0,minValue:void 0},osd_recovery_max_active:{text:"Recovery Max Active",desc:"",patternHelpText:"",maxValue:void 0,minValue:void 0},osd_recovery_max_single_start:{text:"Recovery Max Single Start",desc:"",patternHelpText:"",maxValue:void 0,minValue:void 0},osd_recovery_sleep:{text:"Recovery Sleep",desc:"",patternHelpText:"",maxValue:void 0,minValue:void 0}},Object.keys(this.priorityAttrs).forEach(N=>{this.osdRecvSpeedForm.addControl(N,new En.NI(null,{validators:[En.kI.required]}))})}ngOnInit(){this.configService.filter(Object.keys(this.priorityAttrs)).subscribe(t=>{const o=this.getCurrentValues(t);this.detectPriority(o.values,l=>{this.setPriority(l)}),this.setDescription(o.configOptions),this.setValidators(o.configOptions)})}detectPriority(t,o){const l=Sr().find(this.priorities,_=>Sr().isEqual(_.values,t));return this.osdRecvSpeedForm.controls.customizePriority.setValue(!1),l?o(l):4===Object.entries(t).length?(this.osdRecvSpeedForm.controls.customizePriority.setValue(!0),o(Object({name:"custom",text:"Custom",values:t}))):o(this.priorities[0])}getCurrentValues(t){const o={values:{},configOptions:[]};return t.forEach(l=>{o.configOptions.push(l),"value"in l?l.value.forEach(_=>{"osd"===_.section&&(o.values[l.name]=Number(_.value))}):"default"in l&&null!==l.default&&(o.values[l.name]=Number(l.default))}),o}setDescription(t){t.forEach(o=>{""!==o.desc&&(this.priorityAttrs[o.name].desc=o.desc)})}setPriority(t){const o=Sr().find(this.priorities,l=>"custom"===l.name);"custom"===t.name?o||this.priorities.push(t):o&&this.priorities.splice(this.priorities.indexOf(o),1),this.osdRecvSpeedForm.controls.priority.setValue(t.name),Object.entries(t.values).forEach(([l,_])=>{this.osdRecvSpeedForm.controls[l].setValue(_)})}setValidators(t){t.forEach(o=>{const l=ju.getTypeValidators(o);l?(l.validators.push(En.kI.required),"max"in l&&""!==l.max&&(this.priorityAttrs[o.name].maxValue=l.max),"min"in l&&""!==l.min&&(this.priorityAttrs[o.name].minValue=l.min),this.priorityAttrs[o.name].patternHelpText=l.patternHelpText,this.osdRecvSpeedForm.controls[o.name].setValidators(l.validators)):this.osdRecvSpeedForm.controls[o.name].setValidators(En.kI.required)})}onCustomizePriorityChange(){const t={};if(Object.keys(this.priorityAttrs).forEach(o=>{t[o]=this.osdRecvSpeedForm.getValue(o)}),this.osdRecvSpeedForm.getValue("customizePriority")){const o={name:"custom",text:"Custom",values:t};this.setPriority(o)}else this.detectPriority(t,o=>{this.setPriority(o)})}onPriorityChange(t){const o=Sr().find(this.priorities,l=>l.name===t)||this.priorities[0];this.osdRecvSpeedForm.get("customizePriority").setValue(!1),this.setPriority(o)}submitAction(){const t={};Object.keys(this.priorityAttrs).forEach(o=>{t[o]={section:"osd",value:this.osdRecvSpeedForm.getValue(o)}}),this.configService.bulkCreate({options:t}).subscribe(()=>{this.notificationService.show(Sa.k.success,"Updated OSD recovery speed priority '" + this.osdRecvSpeedForm.getValue("priority") + "'"),this.activeModal.close()},()=>{this.activeModal.close()})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr.Kz),e.Y36(Mo.p4),e.Y36(Vi.j),e.Y36(Fc.e),e.Y36(Tl.g),e.Y36(ic))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-osd-recv-speed-modal"]],decls:24,vars:10,consts:function(){let s,t,o,l,_,C,x,N;return s="OSD Recovery Priority",t="Priority",o="Customize priority values",l="This field is required.",_="This field is required!",C="" + "\ufffd0\ufffd" + "",x="The entered value is too high! It must not be greater than " + "\ufffd0\ufffd" + ".",N="The entered value is too low! It must not be lower than " + "\ufffd0\ufffd" + ".",[[3,"modalRef"],[1,"modal-title"],s,[1,"modal-content"],["novalidate","","cdFormScope","osd",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","priority",1,"cd-col-form-label","required"],t,[1,"cd-col-form-input"],["formControlName","priority","id","priority",1,"form-select",3,"change"],[3,"value",4,"ngFor","ngForOf"],["class","invalid-feedback",4,"ngIf"],[1,"cd-col-form-offset"],[1,"custom-control","custom-checkbox"],["formControlName","customizePriority","id","customizePriority","name","customizePriority","type","checkbox",1,"custom-control-input",3,"change"],["for","customizePriority",1,"custom-control-label"],o,["class","form-group row",4,"ngFor","ngForOf"],[1,"modal-footer"],[3,"form","submitText","showSubmit","submitActionEvent"],[3,"value"],[1,"invalid-feedback"],l,[1,"cd-col-form-label",3,"for"],[3,"ngClass"],[4,"ngIf"],["type","number",1,"form-control",3,"id","formControlName","readonly"],_,C,x,N]},template:function(t,o){if(1&t&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6)(7,"div",7)(8,"label",8),e.SDv(9,9),e.qZA(),e.TgZ(10,"div",10)(11,"select",11),e.NdJ("change",function(_){return o.onPriorityChange(_.target.value)}),e.YNc(12,bv,2,2,"option",12),e.qZA(),e.YNc(13,K0,2,0,"span",13),e.qZA()(),e.TgZ(14,"div",7)(15,"div",14)(16,"div",15)(17,"input",16),e.NdJ("change",function(){return o.onCustomizePriorityChange()}),e.qZA(),e.TgZ(18,"label",17),e.SDv(19,18),e.qZA()()()(),e.YNc(20,qE,11,13,"div",19),e.ALo(21,"keyvalue"),e.qZA(),e.TgZ(22,"div",20)(23,"cd-form-button-panel",21),e.NdJ("submitActionEvent",function(){return o.submitAction()}),e.qZA()()(),e.BQk(),e.qZA()),2&t){const l=e.MAs(5);e.Q6J("modalRef",o.activeModal),e.xp6(4),e.Q6J("formGroup",o.osdRecvSpeedForm),e.xp6(8),e.Q6J("ngForOf",o.priorities),e.xp6(1),e.Q6J("ngIf",o.osdRecvSpeedForm.showError("priority",l,"required")),e.xp6(7),e.Q6J("ngForOf",e.lcZ(21,8,o.priorityAttrs)),e.xp6(3),e.Q6J("form",o.osdRecvSpeedForm)("submitText",o.actionLabels.UPDATE)("showSubmit",o.permissions.configOpt.update)}},directives:[Ye.z,En._Y,En.JL,V_.T,Ma.V,En.sg,ll.P,ge.o,En.EJ,En.JJ,En.u,p.sg,En.YN,En.Kr,p.O5,En.Wl,Ll.b,p.mk,xe.S,En.wV,En.Fj,Ml.p],pipes:[p.Nd],styles:[""]}),n})();function ty(n,s){1&n&&(e.TgZ(0,"span"),e.SDv(1,15),e.qZA())}function F1(n,s){1&n&&(e.TgZ(0,"span"),e.SDv(1,16),e.qZA())}function tb(n,s){if(1&n&&(e.TgZ(0,"span",13),e.YNc(1,ty,2,0,"span",14),e.YNc(2,F1,2,0,"span",14),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",null==t.weight.errors?null:t.weight.errors.required),e.xp6(1),e.Q6J("ngIf",(null==t.weight.errors?null:t.weight.errors.max)||(null==t.weight.errors?null:t.weight.errors.min))}}let ny=(()=>{class n{constructor(t,o,l,_){this.actionLabels=t,this.activeModal=o,this.osdService=l,this.fb=_,this.currentWeight=1}get weight(){return this.reweightForm.get("weight")}ngOnInit(){this.reweightForm=this.fb.group({weight:this.fb.control(this.currentWeight,[En.kI.required])})}reweight(){this.osdService.reweight(this.osdId,this.reweightForm.value.weight).subscribe(()=>this.activeModal.close())}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Mo.p4),e.Y36(Pr.Kz),e.Y36(ic),e.Y36(jl.O))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-osd-reweight-modal"]],decls:14,vars:7,consts:function(){let s,t,o;return s="Reweight OSD: " + "\ufffd0\ufffd" + "",t="This field is required.",o="The value needs to be between 0 and 1.",[[3,"modalRef"],[1,"modal-title"],s,[1,"modal-content"],[3,"formGroup"],[1,"modal-body"],[1,"row"],["for","weight",1,"cd-col-form-label"],[1,"cd-col-form-input"],["id","weight","type","number","step","0.1","formControlName","weight","min","0","max","1",1,"form-control",3,"value"],["class","invalid-feedback",4,"ngIf"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],[4,"ngIf"],t,o]},template:function(t,o){1&t&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4)(5,"div",5)(6,"div",6)(7,"label",7),e._uU(8,"Weight"),e.qZA(),e.TgZ(9,"div",8),e._UZ(10,"input",9),e.YNc(11,tb,3,2,"span",10),e.qZA()()(),e.TgZ(12,"div",11)(13,"cd-form-button-panel",12),e.NdJ("submitActionEvent",function(){return o.reweight()}),e.qZA()()(),e.BQk(),e.qZA()),2&t&&(e.Q6J("modalRef",o.activeModal),e.xp6(2),e.pQV(o.osdId),e.QtT(2),e.xp6(2),e.Q6J("formGroup",o.reweightForm),e.xp6(6),e.Q6J("value",o.currentWeight),e.xp6(1),e.Q6J("ngIf",o.weight.errors),e.xp6(2),e.Q6J("form",o.reweightForm)("submitText",o.actionLabels.REWEIGHT))},directives:[Ye.z,En._Y,En.JL,Ma.V,En.sg,ge.o,En.wV,En.qQ,En.Fd,En.Fj,Ll.b,En.JJ,En.u,p.O5,Ml.p],styles:[""]}),n})();var z_=i(86969);let ry=(()=>{class n{constructor(t,o,l,_,C){this.activeModal=t,this.actionLabels=o,this.osdService=l,this.notificationService=_,this.joinPipe=C,this.selected=[]}ngOnInit(){this.scrubForm=new En.cw({})}scrub(){(0,Fu.D)(this.selected.map(t=>this.osdService.scrub(t,this.deep))).subscribe(()=>{this.notificationService.show(Sa.k.success,"" + (this.deep ? "Deep scrub" : "Scrub") + " was initialized in the following OSD(s): " + this.joinPipe.transform(this.selected) + ""),this.activeModal.close()},()=>this.activeModal.close())}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr.Kz),e.Y36(Mo.p4),e.Y36(ic),e.Y36(Tl.g),e.Y36(z_.A))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-osd-scrub-modal"]],decls:13,vars:9,consts:function(){let s,t,o,l;return s="{VAR_SELECT, select, true {Deep } other {}}",s=e.Zx4(s,{VAR_SELECT:"\ufffd0\ufffd"}),t="OSDs " + s + "Scrub",o="{VAR_SELECT, select, true {deep } other {}}",o=e.Zx4(o,{VAR_SELECT:"\ufffd0\ufffd"}),l="You are about to apply a " + o + "scrub to the OSD(s): " + "\ufffd#9\ufffd" + "" + "\ufffd1\ufffd" + "" + "\ufffd/#9\ufffd" + ".",[[3,"modalRef"],[1,"modal-title"],t,[1,"modal-content"],["name","scrubForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],l,[1,"modal-footer"],[3,"form","submitText","submitActionEvent"]]},template:function(t,o){1&t&&(e.TgZ(0,"cd-modal",0)(1,"span",1),e.SDv(2,2),e.qZA(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6)(7,"p"),e.tHW(8,7),e._UZ(9,"strong"),e.ALo(10,"join"),e.N_p(),e.qZA()(),e.TgZ(11,"div",8)(12,"cd-form-button-panel",9),e.NdJ("submitActionEvent",function(){return o.scrub()}),e.qZA()()(),e.BQk(),e.qZA()),2&t&&(e.Q6J("modalRef",o.activeModal),e.xp6(2),e.pQV(o.deep),e.QtT(2),e.xp6(2),e.Q6J("formGroup",o.scrubForm),e.xp6(6),e.pQV(o.deep)(e.lcZ(10,7,o.selected)),e.QtT(8),e.xp6(2),e.Q6J("form",o.scrubForm)("submitText",o.actionLabels.UPDATE))},directives:[Ye.z,En._Y,En.JL,Ma.V,En.sg,Ml.p],pipes:[z_.A],styles:[""]}),n})();var Cv=i(60351);function iy(n,s){if(1&n&&e._UZ(0,"cd-device-list",17),2&n){const t=e.oxw(2);e.Q6J("osdId",null==t.osd?null:t.osd.id)("hostname",null==t.selection?null:t.selection.host.name)("osdList",!0)}}function L1(n,s){if(1&n&&e._UZ(0,"cd-table-key-value",18),2&n){const t=e.oxw(2);e.Q6J("data",null==t.osd||null==t.osd.details?null:t.osd.details.osd_map)}}function $g(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"cd-table-key-value",21),e.NdJ("fetchData",function(){return e.CHM(t),e.oxw(3).refresh()}),e.qZA()}if(2&n){const t=e.oxw(3);e.Q6J("data",null==t.osd||null==t.osd.details?null:t.osd.details.osd_metadata)}}function oy(n,s){1&n&&(e.TgZ(0,"cd-alert-panel",22),e.SDv(1,23),e.qZA())}function k1(n,s){if(1&n&&(e.YNc(0,$g,1,1,"cd-table-key-value",19),e.YNc(1,oy,2,0,"ng-template",null,20,e.W1O)),2&n){const t=e.MAs(2),o=e.oxw(2);e.Q6J("ngIf",null==o.osd||null==o.osd.details?null:o.osd.details.osd_metadata)("ngIfElse",t)}}function O(n,s){if(1&n&&e._UZ(0,"cd-smart-list",24),2&n){const t=e.oxw(2);e.Q6J("osdId",null==t.osd?null:t.osd.id)}}function $(n,s){if(1&n&&e._UZ(0,"cd-table-performance-counter",26),2&n){const t=e.oxw(3);e.Q6J("serviceId",null==t.osd?null:t.osd.id)}}function he(n,s){if(1&n&&e.YNc(0,$,1,1,"cd-table-performance-counter",25),2&n){const t=e.oxw(2);e.Q6J("ngIf",null==t.osd?null:t.osd.details)}}function it(n,s){if(1&n&&e._UZ(0,"cd-grafana",29),2&n){const t=e.oxw(3);e.Q6J("grafanaPath","osd-device-details?var-osd=osd."+t.osd.id)("type","metrics")}}function Wt(n,s){1&n&&(e.ynx(0,27),e.TgZ(1,"a",4),e.SDv(2,28),e.qZA(),e.YNc(3,it,1,2,"ng-template",6),e.BQk())}function Cn(n,s){if(1&n&&(e.ynx(0),e.TgZ(1,"nav",1,2),e.ynx(3,3),e.TgZ(4,"a",4),e.SDv(5,5),e.qZA(),e.YNc(6,iy,1,3,"ng-template",6),e.BQk(),e.ynx(7,7),e.TgZ(8,"a",4),e.SDv(9,8),e.qZA(),e.YNc(10,L1,1,1,"ng-template",6),e.BQk(),e.ynx(11,9),e.TgZ(12,"a",4),e.SDv(13,10),e.qZA(),e.YNc(14,k1,3,2,"ng-template",6),e.BQk(),e.ynx(15,11),e.TgZ(16,"a",4),e.SDv(17,12),e.qZA(),e.YNc(18,O,1,1,"ng-template",6),e.BQk(),e.ynx(19,13),e.TgZ(20,"a",4),e.SDv(21,14),e.qZA(),e.YNc(22,he,1,1,"ng-template",6),e.BQk(),e.YNc(23,Wt,4,0,"ng-container",15),e.qZA(),e._UZ(24,"div",16),e.BQk()),2&n){const t=e.MAs(2),o=e.oxw();e.xp6(23),e.Q6J("ngIf",o.grafanaPermission.read),e.xp6(1),e.Q6J("ngbNavOutlet",t)}}let lr=(()=>{class n{constructor(t,o){this.osdService=t,this.authStorageService=o,this.grafanaPermission=this.authStorageService.getPermissions().grafana}ngOnChanges(){var t,o,l;(null===(t=this.osd)||void 0===t?void 0:t.id)!==(null===(o=this.selection)||void 0===o?void 0:o.id)&&(this.osd=this.selection),Sr().isNumber(null===(l=this.osd)||void 0===l?void 0:l.id)&&this.refresh()}refresh(){this.osdService.getDetails(this.osd.id).subscribe(t=>{this.osd.details=t})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(ic),e.Y36(Vi.j))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-osd-details"]],inputs:{selection:"selection"},features:[e.TTD],decls:1,vars:1,consts:function(){let s,t,o,l,_,C,x,N;return s="Devices",t="Attributes (OSD map)",o="Metadata",l="Device health",_="Performance counter",C="Metadata not available",x="Performance Details",N="OSD details",[[4,"ngIf"],["ngbNav","","id","tabset-osd-details","cdStatefulTab","osd-details",1,"nav-tabs"],["nav","ngbNav"],["ngbNavItem","devices"],["ngbNavLink",""],s,["ngbNavContent",""],["ngbNavItem","attributes"],t,["ngbNavItem","metadata"],o,["ngbNavItem","device-health"],l,["ngbNavItem","performance-counter"],_,["ngbNavItem","performance-details",4,"ngIf"],[3,"ngbNavOutlet"],[3,"osdId","hostname","osdList"],[3,"data"],[3,"data","fetchData",4,"ngIf","ngIfElse"],["noMetaData",""],[3,"data","fetchData"],["type","warning"],C,[3,"osdId"],["serviceType","osd",3,"serviceId",4,"ngIf"],["serviceType","osd",3,"serviceId"],["ngbNavItem","performance-details"],x,["title",N,"uid","CrAHE0iZz","grafanaStyle","three",3,"grafanaPath","type"]]},template:function(t,o){1&t&&e.YNc(0,Cn,25,2,"ng-container",0),2&t&&e.Q6J("ngIf",o.selection)},directives:[p.O5,Pr.Pz,Yn.m,Pr.nv,Pr.Vx,Pr.uN,Yc,fo.b,yo.G,Tp,Cv.p,ha.F,Pr.tO],styles:[""]}),n})();const Ir=["osdUsageTpl"],Kr=["markOsdConfirmationTpl"],oo=["criticalConfirmationTpl"],ho=["reweightBodyTpl"],So=["safeToDestroyBodyTpl"],bs=["deleteOsdExtraTpl"],la=["flagsTpl"],Ea=function(){return{read:!0}};function Rl(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"cd-table",13),e.NdJ("fetchData",function(){return e.CHM(t),e.oxw().getOsdList()})("setExpandedRow",function(l){return e.CHM(t),e.oxw().setExpandedRow(l)})("updateSelection",function(l){return e.CHM(t),e.oxw().updateSelection(l)}),e.TgZ(1,"div",14),e._UZ(2,"cd-table-actions",15)(3,"cd-table-actions",16),e.qZA(),e._UZ(4,"cd-osd-details",17),e.qZA()}if(2&n){const t=e.oxw();e.Q6J("data",t.osds)("columns",t.columns)("hasDetails",!0)("updateSelectionOnRefresh","never"),e.xp6(2),e.Q6J("permission",t.permissions.osd)("selection",t.selection)("tableActions",t.tableActions),e.xp6(1),e.Q6J("permission",e.DdM(11,Ea))("selection",t.selection)("tableActions",t.clusterWideActions),e.xp6(1),e.Q6J("selection",t.expandedRow)}}function Na(n,s){1&n&&e._UZ(0,"cd-grafana",19),2&n&&e.Q6J("grafanaPath","osd-overview?")("type","metrics")}function Hl(n,s){1&n&&(e.ynx(0,2),e.TgZ(1,"a",3),e.SDv(2,18),e.qZA(),e.YNc(3,Na,1,2,"ng-template",5),e.BQk())}function ql(n,s){if(1&n&&(e.ynx(0),e.tHW(1,20),e._UZ(2,"strong"),e.ALo(3,"join"),e._UZ(4,"strong"),e.N_p(),e.BQk()),2&n){const t=s.markActionDescription,o=s.osdIds;e.xp6(4),e.pQV(e.lcZ(3,2,o))(t),e.QtT(1)}}function Yf(n,s){if(1&n&&(e.TgZ(0,"li"),e.SDv(1,28),e.ALo(2,"join"),e.qZA()),2&n){const t=e.oxw(2).active,o=e.oxw();e.xp6(2),e.pQV(o.selection.hasSingleSelection)(e.lcZ(2,3,t))(1===t.length),e.QtT(1)}}function cf(n,s){if(1&n&&(e.TgZ(0,"li"),e.SDv(1,29),e.ALo(2,"join"),e.qZA()),2&n){const t=e.oxw(2).missingStats,o=e.oxw();e.xp6(2),e.pQV(o.selection.hasSingleSelection)(e.lcZ(2,2,t)),e.QtT(1)}}function rp(n,s){if(1&n&&(e.TgZ(0,"li"),e.SDv(1,30),e.ALo(2,"join"),e.qZA()),2&n){const t=e.oxw(2).storedPgs,o=e.oxw();e.xp6(2),e.pQV(o.selection.hasSingleSelection)(e.lcZ(2,2,t)),e.QtT(1)}}function Rd(n,s){if(1&n&&(e.TgZ(0,"li"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).message;e.xp6(1),e.hij(" ",t," ")}}function wh(n,s){if(1&n&&(e.TgZ(0,"div",23)(1,"cd-alert-panel",24)(2,"span"),e.SDv(3,25),e.qZA(),e._UZ(4,"br"),e.TgZ(5,"ul",26),e.YNc(6,Yf,3,5,"li",27),e.YNc(7,cf,3,4,"li",27),e.YNc(8,rp,3,4,"li",27),e.YNc(9,Rd,2,1,"li",27),e.qZA()()()),2&n){const t=e.oxw(),o=t.actionDescription,l=t.active,_=t.missingStats,C=t.storedPgs,x=t.message,N=e.oxw();e.xp6(3),e.pQV(N.selection.hasSingleSelection)(o),e.QtT(3),e.xp6(3),e.Q6J("ngIf",l.length>0),e.xp6(1),e.Q6J("ngIf",_.length>0),e.xp6(1),e.Q6J("ngIf",C.length>0),e.xp6(1),e.Q6J("ngIf",x)}}function nh(n,s){if(1&n&&(e.TgZ(0,"div",23)(1,"cd-alert-panel",31)(2,"span"),e.SDv(3,32),e.qZA()()()),2&n){const t=e.oxw(2);e.xp6(3),e.pQV(t.selection.hasSingleSelection),e.QtT(3)}}function sg(n,s){if(1&n&&(e.YNc(0,wh,10,6,"div",21),e.YNc(1,nh,4,1,"div",21),e.ynx(2),e.tHW(3,22),e._UZ(4,"strong"),e.ALo(5,"join"),e._UZ(6,"strong"),e.N_p(),e.BQk()),2&n){const t=s.safeToPerform,o=s.actionDescription,l=s.osdIds;e.Q6J("ngIf",!t),e.xp6(1),e.Q6J("ngIf",t),e.xp6(5),e.pQV(e.lcZ(5,4,l))(o),e.QtT(3)}}function sy(n,s){if(1&n&&(e.TgZ(0,"span",35),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.xp6(1),e.Oqu(t)}}function nb(n,s){if(1&n&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.xp6(1),e.Oqu(t)}}function ay(n,s){if(1&n&&(e.YNc(0,sy,2,1,"span",33),e.YNc(1,nb,2,1,"span",34)),2&n){const t=s.row;e.Q6J("ngForOf",t.cdClusterFlags),e.xp6(1),e.Q6J("ngForOf",t.cdIndivFlags)}}function rb(n,s){if(1&n&&e._UZ(0,"cd-usage-bar",37),2&n){const t=s.row,o=e.oxw();e.Q6J("title","osd "+t.osd)("total",t.stats.stat_bytes)("used",t.stats.stat_bytes_used)("warningThreshold",o.osdSettings.nearfull_ratio)("errorThreshold",o.osdSettings.full_ratio)}}function ib(n,s){1&n&&(e.ynx(0,38)(1,39),e.TgZ(2,"div",40)(3,"div",41),e._UZ(4,"input",42),e.TgZ(5,"label",43),e.SDv(6,44),e.qZA()()(),e.BQk()()),2&n&&e.Q6J("formGroup",s.form)}let ob=(()=>{class n extends It.o{constructor(t,o,l,_,C,x,N,V,Q,oe){super(),this.authStorageService=t,this.osdService=o,this.dimlessBinaryPipe=l,this.modalService=_,this.urlBuilder=C,this.router=x,this.taskWrapper=N,this.actionLabels=V,this.notificationService=Q,this.orchService=oe,this.icons=wo.P,this.osdSettings=new x_,this.selection=new _n.r,this.osds=[],this.disabledFlags=["sortbitwise","purged_snapdirs","recovery_deletes","pglog_hardlimit"],this.indivFlagNames=["noup","nodown","noin","noout"],this.actionOrchFeatures={create:[P.OSD_CREATE],delete:[P.OSD_DELETE]},this.permissions=this.authStorageService.getPermissions(),this.tableActions=[{name:this.actionLabels.CREATE,permission:"create",icon:wo.P.add,click:()=>this.router.navigate([this.urlBuilder.getCreate()]),disable:le=>this.getDisable("create",le),canBePrimary:le=>!le.hasSelection},{name:this.actionLabels.EDIT,permission:"update",icon:wo.P.edit,click:()=>this.editAction()},{name:this.actionLabels.FLAGS,permission:"update",icon:wo.P.flag,click:()=>this.configureFlagsIndivAction(),disable:()=>!this.hasOsdSelected},{name:this.actionLabels.SCRUB,permission:"update",icon:wo.P.analyse,click:()=>this.scrubAction(!1),disable:()=>!this.hasOsdSelected,canBePrimary:le=>le.hasSelection},{name:this.actionLabels.DEEP_SCRUB,permission:"update",icon:wo.P.deepCheck,click:()=>this.scrubAction(!0),disable:()=>!this.hasOsdSelected},{name:this.actionLabels.REWEIGHT,permission:"update",click:()=>this.reweight(),disable:()=>!this.hasOsdSelected||!this.selection.hasSingleSelection,icon:wo.P.reweight},{name:this.actionLabels.MARK_OUT,permission:"update",click:()=>this.showConfirmationModal("out",this.osdService.markOut),disable:()=>this.isNotSelectedOrInState("out"),icon:wo.P.left},{name:this.actionLabels.MARK_IN,permission:"update",click:()=>this.showConfirmationModal("in",this.osdService.markIn),disable:()=>this.isNotSelectedOrInState("in"),icon:wo.P.right},{name:this.actionLabels.MARK_DOWN,permission:"update",click:()=>this.showConfirmationModal("down",this.osdService.markDown),disable:()=>this.isNotSelectedOrInState("down"),icon:wo.P.down},{name:this.actionLabels.MARK_LOST,permission:"delete",click:()=>this.showCriticalConfirmationModal("Mark","OSD lost","marked lost",le=>this.osdService.safeToDestroy(JSON.stringify(le)),"is_safe_to_destroy",this.osdService.markLost),disable:()=>this.isNotSelectedOrInState("up"),icon:wo.P.flatten},{name:this.actionLabels.PURGE,permission:"delete",click:()=>this.showCriticalConfirmationModal("Purge","OSD","purged",le=>this.osdService.safeToDestroy(JSON.stringify(le)),"is_safe_to_destroy",le=>(this.selection=new _n.r,this.osdService.purge(le))),disable:()=>this.isNotSelectedOrInState("up"),icon:wo.P.erase},{name:this.actionLabels.DESTROY,permission:"delete",click:()=>this.showCriticalConfirmationModal("destroy","OSD","destroyed",le=>this.osdService.safeToDestroy(JSON.stringify(le)),"is_safe_to_destroy",le=>(this.selection=new _n.r,this.osdService.destroy(le))),disable:()=>this.isNotSelectedOrInState("up"),icon:wo.P.destroyCircle},{name:this.actionLabels.DELETE,permission:"delete",click:()=>this.delete(),disable:le=>this.getDisable("delete",le),icon:wo.P.destroy}]}static collectStates(t){const o=[t.in?"in":"out"];return t.up?o.push("up"):t.state.includes("destroyed")?o.push("destroyed"):o.push("down"),o}ngOnInit(){this.clusterWideActions=[{name:"Flags",icon:wo.P.flag,click:()=>this.configureFlagsAction(),permission:"read",visible:()=>this.permissions.osd.read},{name:"Recovery Priority",icon:wo.P.deepCheck,click:()=>this.configureQosParamsAction(),permission:"read",visible:()=>this.permissions.configOpt.read},{name:"PG scrub",icon:wo.P.analyse,click:()=>this.configurePgScrubAction(),permission:"read",visible:()=>this.permissions.configOpt.read}],this.columns=[{prop:"id",name:"ID",flexGrow:1,cellTransformation:Ht.e.executing,customTemplateConfig:{valueClass:"bold"}},{prop:"host.name",name:"Host"},{prop:"collectedStates",name:"Status",flexGrow:1,cellTransformation:Ht.e.badge,customTemplateConfig:{map:{in:{class:"badge-success"},up:{class:"badge-success"},down:{class:"badge-danger"},out:{class:"badge-danger"},destroyed:{class:"badge-danger"}}}},{prop:"tree.device_class",name:"Device class",flexGrow:1.2,cellTransformation:Ht.e.badge,customTemplateConfig:{map:{hdd:{class:"badge-hdd"},ssd:{class:"badge-ssd"}}}},{prop:"stats.numpg",name:"PGs",flexGrow:1},{prop:"stats.stat_bytes",name:"Size",flexGrow:1,pipe:this.dimlessBinaryPipe},{prop:"state",name:"Flags",cellTemplate:this.flagsTpl},{prop:"stats.usage",name:"Usage",cellTemplate:this.osdUsageTpl},{prop:"stats_history.out_bytes",name:"Read bytes",cellTransformation:Ht.e.sparkline},{prop:"stats_history.in_bytes",name:"Write bytes",cellTransformation:Ht.e.sparkline},{prop:"stats.op_r",name:"Read ops",cellTransformation:Ht.e.perSecond},{prop:"stats.op_w",name:"Write ops",cellTransformation:Ht.e.perSecond}],this.orchService.status().subscribe(t=>this.orchStatus=t),this.osdService.getOsdSettings().pipe((0,Uh.q)(1)).subscribe(t=>{this.osdSettings=t})}getDisable(t,o){if("delete"===t){if(!o.hasSelection)return!0;if(Sr().some(this.getSelectedOsds(),_=>{const C=Sr().get(_,"operational_status");return"deleting"===C||"unmanaged"===C}))return!0}return this.orchService.getTableActionDisableDesc(this.orchStatus,this.actionOrchFeatures[t])}getSelectedOsdIds(){const t=this.osds.map(o=>o.id);return this.selection.selected.map(o=>o.id).filter(o=>t.includes(o)).sort()}getSelectedOsds(){return this.osds.filter(t=>!Sr().isUndefined(t)&&this.getSelectedOsdIds().includes(t.id))}get hasOsdSelected(){return this.getSelectedOsdIds().length>0}updateSelection(t){this.selection=t}isNotSelectedOrInState(t){const o=this.getSelectedOsds();if(0===o.length)return!0;switch(t){case"in":return o.some(l=>1===l.in);case"out":return o.some(l=>1!==l.in);case"down":return o.some(l=>1!==l.up);case"up":return o.some(l=>1===l.up)}}getOsdList(){const t=[this.osdService.getList(),this.osdService.getFlags()];(0,Fu.D)(t).subscribe(o=>{this.osds=o[0].map(l=>{l.collectedStates=n.collectStates(l),l.stats_history.out_bytes=l.stats_history.op_out_bytes.map(C=>C[1]),l.stats_history.in_bytes=l.stats_history.op_in_bytes.map(C=>C[1]),l.stats.usage=l.stats.stat_bytes_used/l.stats.stat_bytes,l.cdIsBinary=!0,l.cdIndivFlags=l.state.filter(C=>this.indivFlagNames.includes(C)),l.cdClusterFlags=o[1].filter(C=>!this.disabledFlags.includes(C));const _=Sr().get(l,"operational_status","unmanaged");return"unmanaged"!==_&&"working"!==_&&(l.cdExecuting=_),l})})}editAction(){const t=Sr().filter(this.osds,["id",this.selection.first().id]).pop();this.modalService.show(Ze.X,{titleText:"Edit OSD: " + t.id + "",fields:[{type:"text",name:"deviceClass",value:t.tree.device_class,label:"Device class",required:!0}],submitButtonText:"Edit OSD",onSubmit:o=>{this.osdService.update(t.id,o.deviceClass).subscribe(()=>{this.notificationService.show(Sa.k.success,"Updated OSD '" + t.id + "'"),this.getOsdList()})}})}scrubAction(t){if(!this.hasOsdSelected)return;const o={selected:this.getSelectedOsdIds(),deep:t};this.bsModalRef=this.modalService.show(ry,o)}configureFlagsAction(){this.bsModalRef=this.modalService.show(Hm)}configureFlagsIndivAction(){const t={selected:this.getSelectedOsds()};this.bsModalRef=this.modalService.show(km,t)}showConfirmationModal(t,o){const l=this.getSelectedOsdIds();this.bsModalRef=this.modalService.show(rd.Y,{titleText:"Mark OSD " + t + "",buttonText:"Mark " + t + "",bodyTpl:this.markOsdConfirmationTpl,bodyContext:{markActionDescription:t,osdIds:l},onSubmit:()=>{(0,Fu.D)(this.getSelectedOsdIds().map(_=>o.call(this.osdService,_))).subscribe(()=>this.bsModalRef.close())}})}reweight(){const t=this.osds.filter(o=>o.id===this.selection.first().id).pop();this.bsModalRef=this.modalService.show(ny,{currentWeight:t.weight,osdId:t.id})}delete(){const t=new nc.d({preserve:new En.NI(!1)});this.showCriticalConfirmationModal("delete","OSD","deleted",o=>this.osdService.safeToDelete(JSON.stringify(o)),"is_safe_to_delete",o=>(this.selection=new _n.r,this.taskWrapper.wrapTaskAroundCall({task:new Ql.R("osd/"+Mo.MQ.DELETE,{svc_id:o}),call:this.osdService.delete(o,t.value.preserve,!0)})),!0,t,this.deleteOsdExtraTpl)}showCriticalConfirmationModal(t,o,l,_,C,x,N=!1,V,Q){_(this.getSelectedOsdIds()).subscribe(oe=>{const le=this.modalService.show(Oc.M,{actionDescription:t,itemDescription:o,bodyTemplate:this.criticalConfirmationTpl,bodyContext:{safeToPerform:oe[C],message:oe.message,active:oe.active,missingStats:oe.missing_stats,storedPgs:oe.stored_pgs,actionDescription:l,osdIds:this.getSelectedOsdIds()},childFormGroup:V,childFormGroupTemplate:Q,submitAction:()=>{const me=(0,Fu.D)(this.getSelectedOsdIds().map(ye=>x.call(this.osdService,ye)));N?me.subscribe({error:()=>{this.getOsdList(),le.close()},complete:()=>le.close()}):me.subscribe(()=>{this.getOsdList(),le.close()},()=>le.close())}})})}configureQosParamsAction(){this.bsModalRef=this.modalService.show(eb)}configurePgScrubAction(){this.bsModalRef=this.modalService.show(kg,void 0,{size:"lg"})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Vi.j),e.Y36(ic),e.Y36(Rr.$),e.Y36(ou.Z),e.Y36(X.F),e.Y36(Io.F0),e.Y36(Sc.P),e.Y36(Mo.p4),e.Y36(Tl.g),e.Y36(h))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-osd-list"]],viewQuery:function(t,o){if(1&t&&(e.Gf(Ir,7),e.Gf(Kr,7),e.Gf(oo,7),e.Gf(ho,5),e.Gf(So,5),e.Gf(bs,5),e.Gf(la,7)),2&t){let l;e.iGM(l=e.CRH())&&(o.osdUsageTpl=l.first),e.iGM(l=e.CRH())&&(o.markOsdConfirmationTpl=l.first),e.iGM(l=e.CRH())&&(o.criticalConfirmationTpl=l.first),e.iGM(l=e.CRH())&&(o.reweightBodyTpl=l.first),e.iGM(l=e.CRH())&&(o.safeToDestroyBodyTpl=l.first),e.iGM(l=e.CRH())&&(o.deleteOsdExtraTpl=l.first),e.iGM(l=e.CRH())&&(o.flagsTpl=l.first)}},features:[e._Bn([{provide:X.F,useValue:new X.F("osd")}]),e.qOj],decls:18,vars:2,consts:function(){let s,t,o,l,_,C,x,N,V,Q,oe,le,me,ye,$e,Ne,ke;return s="OSDs List",t="Overall Performance",o="OSD list",l="" + "[\ufffd#2\ufffd|\ufffd#4\ufffd]" + "OSD(s) " + "\ufffd0\ufffd" + "" + "[\ufffd/#2\ufffd|\ufffd/#4\ufffd]" + " will be marked " + "[\ufffd#2\ufffd|\ufffd#4\ufffd]" + "" + "\ufffd1\ufffd" + "" + "[\ufffd/#2\ufffd|\ufffd/#4\ufffd]" + " if you proceed.",l=e.Zx4(l),_="" + "[\ufffd#4\ufffd|\ufffd#6\ufffd]" + "OSD " + "\ufffd0\ufffd" + "" + "[\ufffd/#4\ufffd|\ufffd/#6\ufffd]" + " will be " + "[\ufffd#4\ufffd|\ufffd#6\ufffd]" + "" + "\ufffd1\ufffd" + "" + "[\ufffd/#4\ufffd|\ufffd/#6\ufffd]" + " if you proceed.",_=e.Zx4(_),C="{VAR_SELECT, select, true {OSD is} other {OSDs are}}",C=e.Zx4(C,{VAR_SELECT:"\ufffd0\ufffd"}),x=" The " + C + " not safe to be " + "\ufffd1\ufffd" + "! ",N="{VAR_SELECT, select, true {} other {{INTERPOLATION} : }}",N=e.Zx4(N,{VAR_SELECT:"\ufffd0\ufffd",INTERPOLATION:"\ufffd1\ufffd"}),V="{VAR_SELECT, select, true {it} other {them}}",V=e.Zx4(V,{VAR_SELECT:"\ufffd2\ufffd"}),Q=" " + N + " Some PGs are currently mapped to " + V + ". ",oe="{VAR_SELECT, select, true {} other {{INTERPOLATION} : }}",oe=e.Zx4(oe,{VAR_SELECT:"\ufffd0\ufffd",INTERPOLATION:"\ufffd1\ufffd"}),le=" " + oe + " There are no reported stats and not all PGs are active and clean. ",me="{VAR_SELECT, select, true {OSD} other {{INTERPOLATION} : OSDs }}",me=e.Zx4(me,{VAR_SELECT:"\ufffd0\ufffd",INTERPOLATION:"\ufffd1\ufffd"}),ye=" " + me + " still store some PG data and not all PGs are active and clean. ",$e="{VAR_SELECT, select, true {OSD is} other {OSDs are}}",$e=e.Zx4($e,{VAR_SELECT:"\ufffd0\ufffd"}),Ne=" The " + $e + " safe to destroy without reducing data durability. ",ke="Preserve OSD ID(s) for replacement.",[["ngbNav","",1,"nav-tabs"],["nav","ngbNav"],["ngbNavItem",""],["ngbNavLink",""],s,["ngbNavContent",""],["ngbNavItem","",4,"ngIf"],[3,"ngbNavOutlet"],["markOsdConfirmationTpl",""],["criticalConfirmationTpl",""],["flagsTpl",""],["osdUsageTpl",""],["deleteOsdExtraTpl",""],["selectionType","multiClick",3,"data","columns","hasDetails","updateSelectionOnRefresh","fetchData","setExpandedRow","updateSelection"],[1,"table-actions","btn-toolbar"],["id","osd-actions",1,"btn-group",3,"permission","selection","tableActions"],["dropDownOnly","Cluster-wide configuration","btnColor","light","id","cluster-wide-actions",1,"btn-group",3,"permission","selection","tableActions"],["cdTableDetail","",3,"selection"],t,["title",o,"uid","lo02I1Aiz","grafanaStyle","four",3,"grafanaPath","type"],l,["class","danger mb-3",4,"ngIf"],_,[1,"danger","mb-3"],["type","warning"],x,[1,"mb-0","ps-4"],[4,"ngIf"],Q,le,ye,["type","info"],Ne,["class","badge badge-hdd me-1",4,"ngFor","ngForOf"],["class","badge badge-info me-1",4,"ngFor","ngForOf"],[1,"badge","badge-hdd","me-1"],[1,"badge","badge-info","me-1"],[3,"title","total","used","warningThreshold","errorThreshold"],[3,"formGroup"],["formGroupName","child"],[1,"form-group"],[1,"custom-control","custom-checkbox"],["type","checkbox","name","preserve","id","preserve","formControlName","preserve",1,"custom-control-input"],["for","preserve",1,"custom-control-label"],ke]},template:function(t,o){if(1&t&&(e.TgZ(0,"nav",0,1),e.ynx(2,2),e.TgZ(3,"a",3),e.SDv(4,4),e.qZA(),e.YNc(5,Rl,5,12,"ng-template",5),e.BQk(),e.YNc(6,Hl,4,0,"ng-container",6),e.qZA(),e._UZ(7,"div",7),e.YNc(8,ql,5,4,"ng-template",null,8,e.W1O),e.YNc(10,sg,7,6,"ng-template",null,9,e.W1O),e.YNc(12,ay,2,2,"ng-template",null,10,e.W1O),e.YNc(14,rb,1,5,"ng-template",null,11,e.W1O),e.YNc(16,ib,7,1,"ng-template",null,12,e.W1O)),2&t){const l=e.MAs(1);e.xp6(6),e.Q6J("ngIf",o.permissions.grafana.read),e.xp6(1),e.Q6J("ngbNavOutlet",l)}},directives:[Pr.Pz,Pr.nv,Pr.Vx,Pr.uN,Tr.a,Tu.K,lr,p.O5,ha.F,Pr.tO,yo.G,p.sg,Su.O,Ma.V,En.JL,En.sg,En.x0,ll.P,ge.o,En.Wl,Ll.b,En.JJ,En.u],pipes:[z_.A],styles:[""]}),n})(),mm=(()=>{class n{constructor(t){this.http=t,this.baseURL="api/prometheus",this.settingsKey={alertmanager:"ui-api/prometheus/alertmanager-api-host",prometheus:"ui-api/prometheus/prometheus-api-host"},this.settings={}}getPrometheusData(t){return this.http.get(`${this.baseURL}/data`,{params:t})}ifAlertmanagerConfigured(t,o){this.ifSettingConfigured(this.settingsKey.alertmanager,t,o)}disableAlertmanagerConfig(){this.disableSetting(this.settingsKey.alertmanager)}ifPrometheusConfigured(t,o){this.ifSettingConfigured(this.settingsKey.prometheus,t,o)}disablePrometheusConfig(){this.disableSetting(this.settingsKey.prometheus)}getAlerts(t={}){return this.http.get(this.baseURL,{params:t})}getSilences(t={}){return this.http.get(`${this.baseURL}/silences`,{params:t})}getRules(t="all"){return this.http.get(`${this.baseURL}/rules`).pipe((0,Oa.U)(o=>(["alerting","rewrites"].includes(t)&&o.groups.map(l=>{l.rules=l.rules.filter(_=>_.type===t)}),o)))}setSilence(t){return this.http.post(`${this.baseURL}/silence`,t,{observe:"response"})}expireSilence(t){return this.http.delete(`${this.baseURL}/silence/${t}`,{observe:"response"})}getNotifications(t){return this.http.get(`${this.baseURL}/notifications?from=${t&&t.id?t.id:"last"}`)}ifSettingConfigured(t,o,l){const _=this.settings[t];void 0===_?this.http.get(t).subscribe(C=>{this.settings[t]=this.getSettingsValue(C),this.ifSettingConfigured(t,o,l)},C=>{401!==C.status&&(this.settings[t]="")}):""!==_?o(_):l&&l()}disableSetting(t){this.settings[t]=""}getSettingsValue(t){return t.value||t.instance||""}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(g.eN))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Mv=(()=>{class n extends It.o{constructor(t){super(),this.prometheusService=t,this.isPrometheusConfigured=!1,this.isAlertmanagerConfigured=!1}ngOnInit(){this.prometheusService.ifAlertmanagerConfigured(()=>{this.isAlertmanagerConfigured=!0}),this.prometheusService.ifPrometheusConfigured(()=>{this.isPrometheusConfigured=!0})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(mm))},n.\u0275dir=e.lG2({type:n,features:[e.qOj]}),n})();var $1=i(61355);let H1=(()=>{class n{constructor(t){this.notificationService=t}sendNotifications(t){t.forEach(o=>this.notificationService.show(o))}convertToCustomAlerts(t){return Sr().uniqWith(t.map(o=>({status:Sr().isObject(o.status)?o.status.state:this.getPrometheusNotificationStatus(o),name:o.labels.alertname,url:o.generatorURL,description:o.annotations.description,fingerprint:Sr().isObject(o.status)&&o.fingerprint})),Sr().isEqual)}getPrometheusNotificationStatus(t){const o=t.status;return"firing"===o?"active":o}convertAlertToNotification(t){return new $1.T(this.formatType(t.status),`${t.name} (${t.status})`,this.appendSourceLink(t,t.description),void 0,"Prometheus")}formatType(t){return Sa.k[Sr().findKey({error:["firing","active"],info:["suppressed","unprocessed"],success:["resolved"]},l=>l.includes(t))]}appendSourceLink(t,o){return`${o} <a href="${t.url}" target="_blank"><i class="${wo.P.lineChart}"></i></a>`}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(Tl.g))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),ag=(()=>{class n{constructor(t,o){this.alertFormatter=t,this.prometheusService=o,this.canAlertsBeNotified=!1,this.alerts=[],this.rules=[]}getAlerts(){this.prometheusService.ifAlertmanagerConfigured(()=>{this.prometheusService.getAlerts().subscribe(t=>this.handleAlerts(t),t=>{[404,504].includes(t.status)&&this.prometheusService.disableAlertmanagerConfig()})})}getRules(){this.prometheusService.ifPrometheusConfigured(()=>{this.prometheusService.getRules("alerting").subscribe(t=>{this.rules=t.groups.reduce((o,l)=>o.concat(l.rules.map(_=>(_.group=l.name,_))),[])})})}refresh(){this.getAlerts(),this.getRules()}handleAlerts(t){this.canAlertsBeNotified&&this.notifyOnAlertChanges(t,this.alerts),this.activeAlerts=Sr().reduce(this.alerts,(o,l)=>"active"===l.status.state?++o:o,0),this.activeCriticalAlerts=Sr().reduce(this.alerts,(o,l)=>"active"===l.status.state&&"critical"===l.labels.severity?++o:o,0),this.activeWarningAlerts=Sr().reduce(this.alerts,(o,l)=>"active"===l.status.state&&"warning"===l.labels.severity?++o:o,0),this.alerts=t,this.canAlertsBeNotified=!0}notifyOnAlertChanges(t,o){const l=this.getChangedAlerts(this.alertFormatter.convertToCustomAlerts(t),this.alertFormatter.convertToCustomAlerts(o)),C=Sr().filter(l,x=>"suppressed"!==x.status).map(x=>this.alertFormatter.convertAlertToNotification(x));this.alertFormatter.sendNotifications(C)}getChangedAlerts(t,o){return Sr().differenceWith(t,o,Sr().isEqual).concat(this.getVanishedAlerts(t,o))}getVanishedAlerts(t,o){return Sr().differenceWith(o,t,(l,_)=>l.fingerprint===_.fingerprint).map(l=>(l.status="resolved",l))}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(H1),e.LFG(mm))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function wC(n,s){if(1&n&&(e.tHW(0,3,1),e._UZ(1,"small",10),e.N_p()),2&n){const t=e.oxw();e.xp6(1),e.pQV(t.prometheusAlertService.activeCriticalAlerts),e.QtT(0)}}function sb(n,s){if(1&n&&(e.tHW(0,3,2),e._UZ(1,"small",11),e.N_p()),2&n){const t=e.oxw();e.xp6(1),e.pQV(t.prometheusAlertService.activeWarningAlerts),e.QtT(0)}}const B1=function(){return{exact:!0}};let Ov=(()=>{class n{constructor(t){this.prometheusAlertService=t}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(ag))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-prometheus-tabs"]],decls:12,vars:8,consts:function(){let s,t,o;return s="Alerts",t="Silences",o="Active Alerts " + "\ufffd*4:1\ufffd\ufffd#1:1\ufffd" + "" + "\ufffd0:1\ufffd" + "" + "[\ufffd/#1:1\ufffd\ufffd/*4:1\ufffd|\ufffd/#1:2\ufffd\ufffd/*5:2\ufffd]" + "" + "\ufffd*5:2\ufffd\ufffd#1:2\ufffd" + "" + "\ufffd0:2\ufffd" + "" + "[\ufffd/#1:1\ufffd\ufffd/*4:1\ufffd|\ufffd/#1:2\ufffd\ufffd/*5:2\ufffd]" + "",o=e.Zx4(o),[[1,"nav","nav-tabs"],[1,"nav-item"],["routerLink","/monitoring/active-alerts","routerLinkActive","active","ariaCurrentWhenActive","page",1,"nav-link",3,"routerLinkActiveOptions"],o,["class","badge badge-danger ms-1",4,"ngIf"],["class","badge badge-warning ms-1",4,"ngIf"],["routerLink","/monitoring/alerts","routerLinkActive","active","ariaCurrentWhenActive","page",1,"nav-link",3,"routerLinkActiveOptions"],s,["routerLink","/monitoring/silences","routerLinkActive","active","ariaCurrentWhenActive","page",1,"nav-link",3,"routerLinkActiveOptions"],t,[1,"badge","badge-danger","ms-1"],[1,"badge","badge-warning","ms-1"]]},template:function(t,o){1&t&&(e.TgZ(0,"ul",0)(1,"li",1)(2,"a",2),e.tHW(3,3),e.YNc(4,wC,2,1,"small",4),e.YNc(5,sb,2,1,"small",5),e.N_p(),e.qZA()(),e.TgZ(6,"li",1)(7,"a",6),e.SDv(8,7),e.qZA()(),e.TgZ(9,"li",1)(10,"a",8),e.SDv(11,9),e.qZA()()()),2&t&&(e.xp6(2),e.Q6J("routerLinkActiveOptions",e.DdM(5,B1)),e.xp6(2),e.Q6J("ngIf",o.prometheusAlertService.activeCriticalAlerts>0),e.xp6(1),e.Q6J("ngIf",o.prometheusAlertService.activeWarningAlerts>0),e.xp6(2),e.Q6J("routerLinkActiveOptions",e.DdM(6,B1)),e.xp6(3),e.Q6J("routerLinkActiveOptions",e.DdM(7,B1)))},directives:[Io.yS,Io.Od,p.O5],styles:[""]}),n})();const U1=["externalLinkTpl"];function uy(n,s){1&n&&(e.TgZ(0,"cd-alert-panel",3),e.tHW(1,4),e._UZ(2,"cd-doc",5),e.N_p(),e.qZA())}function ab(n,s){if(1&n&&e._UZ(0,"cd-table-key-value",9),2&n){const t=e.oxw(2);e.Q6J("renderObjects",!0)("hideEmpty",!0)("appendParentKey",!1)("data",t.expandedRow)("customCss",t.customCss)("autoReload",!1)}}function lb(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"cd-table",6),e.NdJ("setExpandedRow",function(l){return e.CHM(t),e.oxw().setExpandedRow(l)})("updateSelection",function(l){return e.CHM(t),e.oxw().updateSelection(l)}),e._UZ(1,"cd-table-actions",7),e.YNc(2,ab,1,6,"cd-table-key-value",8),e.qZA()}if(2&n){const t=e.oxw();e.Q6J("data",t.prometheusAlertService.alerts)("columns",t.columns)("forceIdentifier",!0)("customCss",t.customCss)("hasDetails",!0),e.xp6(1),e.Q6J("permission",t.permission)("selection",t.selection)("tableActions",t.tableActions),e.xp6(1),e.Q6J("ngIf",t.expandedRow)}}const ub=function(n){return[n]};function cb(n,s){if(1&n&&(e.TgZ(0,"a",10),e._UZ(1,"i",11),e._uU(2," Source"),e.qZA()),2&n){const t=s.value,o=e.oxw();e.Q6J("href",t,e.LSH),e.xp6(1),e.Q6J("ngClass",e.VKq(2,ub,o.icons.lineChart))}}let fb=(()=>{class n extends Mv{constructor(t,o,l,_){super(_),this.authStorageService=t,this.prometheusAlertService=o,this.urlBuilder=l,this.selection=new _n.r,this.icons=wo.P,this.permission=this.authStorageService.getPermissions().prometheus,this.tableActions=[{permission:"create",canBePrimary:C=>C.hasSingleSelection,disable:C=>!C.hasSingleSelection||C.first().cdExecuting,icon:wo.P.add,routerLink:()=>"/monitoring"+this.urlBuilder.getCreateFrom(this.selection.first().fingerprint),name:"Create Silence"}]}ngOnInit(){super.ngOnInit(),this.columns=[{name:"Name",prop:"labels.alertname",cellClass:"fw-bold",flexGrow:2},{name:"Summary",prop:"annotations.summary",flexGrow:3},{name:"Severity",prop:"labels.severity",flexGrow:1,cellTransformation:Ht.e.badge,customTemplateConfig:{map:{critical:{class:"badge-danger"},warning:{class:"badge-warning"}}}},{name:"State",prop:"status.state",flexGrow:1,cellTransformation:Ht.e.badge,customTemplateConfig:{map:{active:{class:"badge-info"},unprocessed:{class:"badge-warning"},suppressed:{class:"badge-dark"}}}},{name:"Started",prop:"startsAt",cellTransformation:Ht.e.timeAgo,flexGrow:1},{name:"URL",prop:"generatorURL",flexGrow:1,sortable:!1,cellTemplate:this.externalLinkTpl}]}updateSelection(t){this.selection=t}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Vi.j),e.Y36(ag),e.Y36(X.F),e.Y36(mm))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-active-alert-list"]],viewQuery:function(t,o){if(1&t&&e.Gf(U1,7),2&t){let l;e.iGM(l=e.CRH())&&(o.externalLinkTpl=l.first)}},features:[e._Bn([{provide:X.F,useValue:new X.F("silences")}]),e.qOj],decls:5,vars:2,consts:function(){let s;return s="To see all active Prometheus alerts, please provide the URL to the API of Prometheus' Alertmanager as described in the " + "\ufffd#2\ufffd" + "" + "\ufffd/#2\ufffd" + ".",[["type","info",4,"ngIf"],["identifier","fingerprint","selectionType","single",3,"data","columns","forceIdentifier","customCss","hasDetails","setExpandedRow","updateSelection",4,"ngIf"],["externalLinkTpl",""],["type","info"],s,["section","prometheus"],["identifier","fingerprint","selectionType","single",3,"data","columns","forceIdentifier","customCss","hasDetails","setExpandedRow","updateSelection"],[1,"table-actions",3,"permission","selection","tableActions"],["cdTableDetail","",3,"renderObjects","hideEmpty","appendParentKey","data","customCss","autoReload",4,"ngIf"],["cdTableDetail","",3,"renderObjects","hideEmpty","appendParentKey","data","customCss","autoReload"],["target","_blank",3,"href"],[3,"ngClass"]]},template:function(t,o){1&t&&(e._UZ(0,"cd-prometheus-tabs"),e.YNc(1,uy,3,0,"cd-alert-panel",0),e.YNc(2,lb,3,9,"cd-table",1),e.YNc(3,cb,3,4,"ng-template",null,2,e.W1O)),2&t&&(e.xp6(1),e.Q6J("ngIf",!o.isAlertmanagerConfigured),e.xp6(1),e.Q6J("ngIf",o.isAlertmanagerConfigured))},directives:[Ov,p.O5,yo.G,yf.K,Tr.a,Tu.K,fo.b,p.mk],styles:[""]}),n})();var cy=i(94088);function pD(n,s){1&n&&(e.TgZ(0,"cd-alert-panel",2),e.tHW(1,3),e._UZ(2,"cd-doc",4),e.N_p(),e.qZA())}function PC(n,s){if(1&n&&e._UZ(0,"cd-table-key-value",7),2&n){const t=e.oxw(2);e.Q6J("data",t.expandedRow)("renderObjects",!0)("hideKeys",t.hideKeys)}}function NC(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"cd-table",5),e.NdJ("setExpandedRow",function(l){return e.CHM(t),e.oxw().setExpandedRow(l)})("updateSelection",function(l){return e.CHM(t),e.oxw().updateSelection(l)}),e.YNc(1,PC,1,3,"cd-table-key-value",6),e.qZA()}if(2&n){const t=e.oxw();e.Q6J("data",t.prometheusAlertService.rules)("columns",t.columns)("selectionType","single")("hasDetails",!0),e.xp6(1),e.Q6J("ngIf",t.expandedRow)}}let pb=(()=>{class n extends Mv{constructor(t,o){super(o),this.prometheusAlertService=t,this.selection=new _n.r,this.hideKeys=["alerts","type"]}ngOnInit(){super.ngOnInit(),this.columns=[{prop:"name",name:"Name",cellClass:"fw-bold",flexGrow:2},{prop:"labels.severity",name:"Severity",flexGrow:1,cellTransformation:Ht.e.badge,customTemplateConfig:{map:{critical:{class:"badge-danger"},warning:{class:"badge-warning"}}}},{prop:"group",name:"Group",flexGrow:1,cellTransformation:Ht.e.badge},{prop:"duration",name:"Duration",pipe:new cy.u,flexGrow:1},{prop:"query",name:"Query",isHidden:!0,flexGrow:1},{prop:"annotations.summary",name:"Summary",flexGrow:3}]}updateSelection(t){this.selection=t}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(ag),e.Y36(mm))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rules-list"]],features:[e.qOj],decls:3,vars:2,consts:function(){let s;return s="To see all configured Prometheus alerts, please provide the URL to the API of Prometheus as described in the " + "\ufffd#2\ufffd" + "" + "\ufffd/#2\ufffd" + ".",[["type","info",4,"ngIf"],[3,"data","columns","selectionType","hasDetails","setExpandedRow","updateSelection",4,"ngIf"],["type","info"],s,["section","prometheus"],[3,"data","columns","selectionType","hasDetails","setExpandedRow","updateSelection"],["cdTableDetail","",3,"data","renderObjects","hideKeys",4,"ngIf"],["cdTableDetail","",3,"data","renderObjects","hideKeys"]]},template:function(t,o){1&t&&(e._UZ(0,"cd-prometheus-tabs"),e.YNc(1,pD,3,0,"cd-alert-panel",0),e.YNc(2,NC,2,5,"cd-table",1)),2&t&&(e.xp6(1),e.Q6J("ngIf",!o.isPrometheusConfigured),e.xp6(1),e.Q6J("ngIf",o.isPrometheusConfigured))},directives:[Ov,p.O5,yo.G,yf.K,Tr.a,fo.b],styles:[""]}),n})();var dy=i(26504);let Yd=(()=>{class n{constructor(){this.valueAttributePath={alertname:"name",instance:"alerts.0.labels.instance",job:"alerts.0.labels.job",severity:"labels.severity"}}singleMatch(t,o){return this.multiMatch([t],o)}multiMatch(t,o){if(!t.some(l=>l.isRegex))return t.forEach(l=>{o=this.getMatchedRules(l,o)}),this.describeMatch(o)}getMatchedRules(t,o){const l=this.getAttributePath(t.name);return o.filter(_=>Sr().get(_,l)===t.value)}describeMatch(t){let o=0;return t.forEach(l=>o+=l.alerts.length),{status:this.getMatchText(t.length,o),cssClass:o?"has-success":"has-warning"}}getAttributePath(t){return this.valueAttributePath[t]}getMatchText(t,o){const l={noRule:"Your matcher seems to match no currently defined rule or active alert.",noAlerts:"no active alerts",alert:"1 active alert",alerts:"" + o + " active alerts",rule:"Matches 1 rule",rules:"Matches " + t + " rules"};return t?"" + (t > 1 ? l.rules : l.rule) + " with " + (o ? o > 1 ? l.alerts : l.alert : l.noAlerts) + ".":l.noRule}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),hb=(()=>{class n{calculateDuration(t,o){const l=+t,_=+o,C=this.getDuration(Math.abs(l-_));return l>_?"-"+C:C}getDuration(t){const o=new Date(t),l=o.getUTCHours(),_=o.getUTCMinutes(),x=(N,V)=>N&&N+V;return[x(Math.floor(t/864e5),"d"),x(l,"h"),x(_,"m")].filter(N=>N).join(" ")}calculateDate(t,o,l){const _=+t;if(Sr().isNaN(_))return;const C=this.getDurationMs(o)*(l?-1:1);return new Date(_+C)}getDurationMs(t){return 6e4*(60*(24*this.getNumbersFromString(t,"d")+this.getNumbersFromString(t,"h"))+this.getNumbersFromString(t,"m"))}getNumbersFromString(t,o){const l=t.match(new RegExp(`[0-9 ]+${o}`,"i"));return l?parseInt(l[0],10):0}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function IC(n,s){if(1&n&&(e.TgZ(0,"option",28),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function FC(n,s){1&n&&(e.TgZ(0,"span",29),e.SDv(1,30),e.qZA())}function _b(n,s){1&n&&(e.TgZ(0,"span",29),e.SDv(1,31),e.qZA())}function LC(n,s){if(1&n&&(e.TgZ(0,"div",32)(1,"span"),e._uU(2),e.qZA()()),2&n){const t=e.oxw();e.Gre("cd-col-form-offset ",t.matcherMatch.cssClass,""),e.xp6(1),e.Gre("text-muted ",t.matcherMatch.cssClass,""),e.xp6(1),e.hij(" ",t.matcherMatch.status," ")}}let mb=(()=>{class n{constructor(t,o,l,_){this.formBuilder=t,this.silenceMatcher=o,this.activeModal=l,this.actionLabels=_,this.submitAction=new e.vpe,this.editMode=!1,this.nameAttributes=["alertname","instance","job","severity"],this.possibleValues=[],this.matcherMatch=void 0,this.valueClick=new tp.xQ,this.valueFocus=new tp.xQ,this.search=C=>(0,Dp.T)(C.pipe((0,xp.b)(200),(0,Ud.x)()),this.valueFocus,this.valueClick.pipe((0,Rp.h)(()=>!this.typeahead.isPopupOpen()))).pipe((0,Oa.U)(x=>(""===x?this.possibleValues:this.possibleValues.filter(N=>N.toLowerCase().indexOf(x.toLowerCase())>-1)).slice(0,10))),this.createForm(),this.subscribeToChanges()}createForm(){this.form=this.formBuilder.group({name:[null,[En.kI.required]],value:[{value:"",disabled:!0},[En.kI.required]],isRegex:new En.NI(!1)})}subscribeToChanges(){this.form.get("name").valueChanges.subscribe(t=>{null!==t?(this.setPossibleValues(t),this.form.get("value").enable()):this.form.get("value").disable()}),this.form.get("value").valueChanges.subscribe(t=>{const o=this.form.value;o.value=t,this.matcherMatch=this.silenceMatcher.singleMatch(o,this.rules)})}setPossibleValues(t){this.possibleValues=Sr().sortedUniq(this.rules.map(o=>Sr().get(o,this.silenceMatcher.getAttributePath(t))).filter(o=>o))}getMode(){return this.editMode?this.actionLabels.EDIT:this.actionLabels.ADD}preFillControls(t){this.form.setValue(t)}onSubmit(){this.submitAction.emit(this.form.value),this.activeModal.close()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(jl.O),e.Y36(Yd),e.Y36(Pr.Kz),e.Y36(Mo.p4))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-silence-matcher-modal"]],viewQuery:function(t,o){if(1&t&&e.Gf(Pr.dR,7),2&t){let l;e.iGM(l=e.CRH())&&(o.typeahead=l.first)}},outputs:{submitAction:"submitAction"},decls:32,vars:11,consts:function(){let s,t,o,l,_,C,x,N;return s="{VAR_SELECT, select, true {Edit} other {Add}}",s=e.Zx4(s,{VAR_SELECT:"\ufffd0\ufffd"}),t="" + s + " Matcher",o="Name",l="-- Select an attribute to match against --",_="Value",C="Use regular expression",x="This field is required!",N="This field is required!",[[3,"modalRef"],[1,"modal-title"],t,[1,"modal-content"],["novalidate","",1,"form",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","name",1,"cd-col-form-label","required"],o,[1,"cd-col-form-input"],["id","name","formControlName","name","name","name",1,"form-select"],[3,"ngValue"],l,[3,"value",4,"ngFor","ngForOf"],["class","help-block",4,"ngIf"],["for","value",1,"cd-col-form-label","required"],_,["id","value","type","text","formControlName","value",1,"form-control",3,"ngbTypeahead","focus","click"],["instance","ngbTypeahead"],["id","match-state",3,"class",4,"ngIf"],[1,"cd-col-form-offset"],[1,"custom-control","custom-checkbox"],["type","checkbox","formControlName","isRegex","name","is-regex","id","is-regex",1,"custom-control-input"],["for","is-regex",1,"custom-control-label"],C,[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[3,"value"],[1,"help-block"],x,N,["id","match-state"]]},template:function(t,o){if(1&t&&(e.TgZ(0,"cd-modal",0)(1,"span",1),e.SDv(2,2),e.qZA(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6)(7,"div",7)(8,"label",8),e.SDv(9,9),e.qZA(),e.TgZ(10,"div",10)(11,"select",11)(12,"option",12),e.SDv(13,13),e.qZA(),e.YNc(14,IC,2,2,"option",14),e.qZA(),e.YNc(15,FC,2,0,"span",15),e.qZA()(),e.TgZ(16,"div",7)(17,"label",16),e.SDv(18,17),e.qZA(),e.TgZ(19,"div",10)(20,"input",18,19),e.NdJ("focus",function(_){return o.valueFocus.next(_.target.value)})("click",function(_){return o.valueClick.next(_.target.value)}),e.qZA(),e.YNc(22,_b,2,0,"span",15),e.qZA(),e.YNc(23,LC,3,7,"div",20),e.qZA(),e.TgZ(24,"div",7)(25,"div",21)(26,"div",22),e._UZ(27,"input",23),e.TgZ(28,"label",24),e.SDv(29,25),e.qZA()()()()(),e.TgZ(30,"div",26)(31,"cd-form-button-panel",27),e.NdJ("submitActionEvent",function(){return o.onSubmit()}),e.qZA()()(),e.BQk(),e.qZA()),2&t){const l=e.MAs(5);e.Q6J("modalRef",o.activeModal),e.xp6(2),e.pQV(o.editMode),e.QtT(2),e.xp6(2),e.Q6J("formGroup",o.form),e.xp6(8),e.Q6J("ngValue",null),e.xp6(2),e.Q6J("ngForOf",o.nameAttributes),e.xp6(1),e.Q6J("ngIf",o.form.showError("name",l,"required")),e.xp6(5),e.Q6J("ngbTypeahead",o.search),e.xp6(2),e.Q6J("ngIf",o.form.showError("value",l,"required")),e.xp6(1),e.Q6J("ngIf",o.form.getValue("value")&&!o.form.getValue("isRegex")&&o.matcherMatch),e.xp6(8),e.Q6J("form",o.form)("submitText",o.getMode())}},directives:[Ye.z,En._Y,En.JL,Ma.V,En.sg,ll.P,ge.o,En.EJ,En.JJ,En.u,En.YN,En.Kr,p.sg,p.O5,En.Fj,Pr.dR,Ll.b,En.Wl,Ml.p],styles:[""]}),n})();var gb=i(52266);function Hg(n,s){if(1&n&&(e.TgZ(0,"i",54),e._uU(1,"~"),e.qZA()),2&n){const t=e.oxw(2).$implicit;e.Q6J("ngbTooltip",t.tooltip)}}function kC(n,s){1&n&&(e.TgZ(0,"i",55),e._uU(1,"="),e.qZA())}function $C(n,s){if(1&n&&(e.TgZ(0,"span",51),e.YNc(1,Hg,2,1,"i",52),e.YNc(2,kC,2,0,"i",53),e.qZA()),2&n){const t=e.oxw().$implicit,o=e.oxw().matcher;e.xp6(1),e.Q6J("ngIf",o[t.attribute]),e.xp6(1),e.Q6J("ngIf",!o[t.attribute])}}function vb(n,s){if(1&n&&(e.ynx(0),e._UZ(1,"input",56),e.BQk()),2&n){const t=e.oxw().$implicit,o=e.oxw(),l=o.index,_=o.matcher;e.xp6(1),e.hYB("id","matcher-",t.attribute,"-",l,""),e.Q6J("value",_[t.attribute])}}function HC(n,s){if(1&n&&(e.ynx(0),e.YNc(1,$C,3,2,"span",50),e.YNc(2,vb,2,3,"ng-container",7),e.BQk()),2&n){const t=s.$implicit;e.xp6(1),e.Q6J("ngIf","isRegex"===t.attribute),e.xp6(1),e.Q6J("ngIf","isRegex"!==t.attribute)}}const Y1=function(n){return[n]};function hD(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",46),e.YNc(1,HC,3,2,"ng-container",34),e.TgZ(2,"button",47),e.NdJ("click",function(){const _=e.CHM(t).index;return e.oxw().showMatcherModal(_)}),e._UZ(3,"i",38),e.qZA(),e.TgZ(4,"button",48),e.NdJ("click",function(){const _=e.CHM(t).index;return e.oxw().deleteMatcher(_)}),e._UZ(5,"i",38),e.qZA()(),e._UZ(6,"span",49)}if(2&n){const t=s.index,o=e.oxw();e.xp6(1),e.Q6J("ngForOf",o.matcherConfig),e.xp6(1),e.MGl("id","matcher-edit-",t,""),e.xp6(1),e.Q6J("ngClass",e.VKq(5,Y1,o.icons.edit)),e.xp6(1),e.MGl("id","matcher-delete-",t,""),e.xp6(1),e.Q6J("ngClass",e.VKq(7,Y1,o.icons.trash))}}function fy(n,s){1&n&&(e.TgZ(0,"cd-helper"),e.SDv(1,57),e.qZA())}function py(n,s){1&n&&(e.TgZ(0,"span",58),e.SDv(1,59),e.qZA())}function W_(n,s){1&n&&(e.TgZ(0,"span",58),e.SDv(1,60),e.qZA())}function BC(n,s){1&n&&(e.TgZ(0,"span",58),e.SDv(1,61),e.qZA())}function yb(n,s){1&n&&(e.TgZ(0,"span",58),e.SDv(1,62),e.qZA())}function J_(n,s){1&n&&(e.TgZ(0,"span",58),e.SDv(1,63),e.qZA())}const R_=function(n,s){return{"text-warning":n,"text-danger":s}};function w_(n,s){if(1&n&&(e.TgZ(0,"h5",38)(1,"strong"),e.SDv(2,64),e.qZA()()),2&n){e.oxw();const t=e.MAs(4);e.Q6J("ngClass",e.WLB(1,R_,!t.submitted,t.submitted))}}function Eb(n,s){1&n&&e.GkF(0)}const bb=function(n,s){return{index:n,matcher:s}};function UC(n,s){if(1&n&&(e.TgZ(0,"span"),e.YNc(1,Eb,1,0,"ng-container",65),e.qZA()),2&n){const t=s.$implicit,o=s.index;e.oxw();const l=e.MAs(1);e.xp6(1),e.Q6J("ngTemplateOutlet",l)("ngTemplateOutletContext",e.WLB(2,bb,o,t))}}function YC(n,s){if(1&n&&(e.TgZ(0,"div",66)(1,"span"),e._uU(2),e.qZA()()),2&n){const t=e.oxw();e.Gre("cd-col-form-offset ",t.matcherMatch.cssClass,""),e.xp6(1),e.Gre("text-muted ",t.matcherMatch.cssClass,""),e.xp6(1),e.hij(" ",t.matcherMatch.status," ")}}function jC(n,s){if(1&n&&e._UZ(0,"cd-date-time-picker",67),2&n){const t=e.oxw();e.Q6J("control",t.form.get("startsAt"))("hasSeconds",!1)}}function GC(n,s){if(1&n&&e._UZ(0,"cd-date-time-picker",67),2&n){const t=e.oxw();e.Q6J("control",t.form.get("endsAt"))("hasSeconds",!1)}}const hy=function(n){return{"btn-warning":n}};let Q_=(()=>{class n{constructor(t,o,l,_,C,x,N,V,Q,oe,le){this.router=t,this.authStorageService=o,this.formBuilder=l,this.prometheusService=_,this.notificationService=C,this.route=x,this.timeDiff=N,this.modalService=V,this.silenceMatcher=Q,this.actionLabels=oe,this.succeededLabels=le,this.icons=wo.P,this.matchName="",this.matchValue="",this.recreate=!1,this.edit=!1,this.resource="silence",this.matchers=[],this.matcherMatch=void 0,this.matcherConfig=[{tooltip:"Attribute name",attribute:"name"},{tooltip:"Regular expression",attribute:"isRegex"},{tooltip:"Value",attribute:"value"}],this.datetimeFormat="YYYY-MM-DD HH:mm",this.isNavigate=!0,this.init()}init(){this.chooseMode(),this.authenticate(),this.createForm(),this.setupDates(),this.getData()}chooseMode(){this.edit=this.router.url.startsWith("/monitoring/silences/edit"),this.recreate=this.router.url.startsWith("/monitoring/silences/recreate"),this.action=this.edit?this.actionLabels.EDIT:this.recreate?this.actionLabels.RECREATE:this.actionLabels.CREATE}authenticate(){if(this.permission=this.authStorageService.getPermissions().prometheus,!this.permission.read||!(this.edit?this.permission.update:this.permission.create))throw new dy._2}createForm(){const t=Ae.h.custom("format",o=>!(""===o||ls()(o,this.datetimeFormat).isValid()));this.form=this.formBuilder.group({startsAt:["",[En.kI.required,t]],duration:["2h",[En.kI.min(1)]],endsAt:["",[En.kI.required,t]],createdBy:[this.authStorageService.getUsername(),[En.kI.required]],comment:[null,[En.kI.required]]},{validators:Ae.h.custom("matcherRequired",()=>0===this.matchers.length)})}setupDates(){const t=ls()().format(this.datetimeFormat);this.form.silentSet("startsAt",t),this.updateDate(),this.subscribeDateChanges()}updateDate(t){const o=ls()(this.form.getValue(t?"endsAt":"startsAt"),this.datetimeFormat).toDate(),l=this.timeDiff.calculateDate(o,this.form.getValue("duration"),t);if(l){const _=ls()(l).format(this.datetimeFormat);this.form.silentSet(t?"startsAt":"endsAt",_)}}subscribeDateChanges(){this.form.get("startsAt").valueChanges.subscribe(()=>{this.onDateChange()}),this.form.get("duration").valueChanges.subscribe(()=>{this.updateDate()}),this.form.get("endsAt").valueChanges.subscribe(()=>{this.onDateChange(!0)})}onDateChange(t){const o=ls()(this.form.getValue("startsAt"),this.datetimeFormat),l=ls()(this.form.getValue("endsAt"),this.datetimeFormat);o.isBefore(l)?this.updateDuration():this.updateDate(t)}updateDuration(){const t=ls()(this.form.getValue("startsAt"),this.datetimeFormat).toDate(),o=ls()(this.form.getValue("endsAt"),this.datetimeFormat).toDate();this.form.silentSet("duration",this.timeDiff.calculateDuration(t,o))}getData(){this.getRules(),this.getModeSpecificData()}getRules(){return this.prometheusService.ifPrometheusConfigured(()=>this.prometheusService.getRules().subscribe(t=>{this.rules=t.groups.reduce((o,l)=>Sr().concat(o,l.rules),[])},()=>{this.prometheusService.disablePrometheusConfig(),this.rules=[]}),()=>{this.rules=[],this.notificationService.show(Sa.k.info,"Please add your Prometheus host to the dashboard configuration and refresh the page",void 0,void 0,"Prometheus")}),this.rules}getModeSpecificData(){this.route.params.subscribe(t=>{!t.id||(this.edit||this.recreate?this.prometheusService.getSilences().subscribe(o=>{const l=Sr().find(o,["id",t.id]);Sr().isUndefined(l)||this.fillFormWithSilence(l)}):this.prometheusService.getAlerts().subscribe(o=>{const l=Sr().find(o,["fingerprint",t.id]);Sr().isUndefined(l)||this.fillFormByAlert(l)}))})}fillFormWithSilence(t){this.id=t.id,this.edit&&(["startsAt","endsAt"].forEach(o=>this.form.silentSet(o,ls()(t[o]).format(this.datetimeFormat))),this.updateDuration()),["createdBy","comment"].forEach(o=>this.form.silentSet(o,t[o])),this.matchers=t.matchers,this.validateMatchers()}validateMatchers(){this.rules?(this.matcherMatch=this.silenceMatcher.multiMatch(this.matchers,this.rules),this.form.markAsDirty(),this.form.updateValueAndValidity()):window.setTimeout(()=>this.validateMatchers(),100)}fillFormByAlert(t){this.setMatcher({name:"alertname",value:t.labels.alertname,isRegex:!1})}setMatcher(t,o){Sr().isNumber(o)?this.matchers[o]=t:this.matchers.push(t),this.validateMatchers()}showMatcherModal(t){const l=this.modalService.show(mb).componentInstance;l.rules=this.rules,Sr().isNumber(t)&&(l.editMode=!0,l.preFillControls(this.matchers[t])),l.submitAction.subscribe(_=>{this.setMatcher(_,t)})}deleteMatcher(t){this.matchers.splice(t,1),this.validateMatchers()}submit(t){this.form.invalid||this.prometheusService.setSilence(this.getSubmitData()).subscribe(o=>{t&&(t.silenceId=o.body.silenceId),this.isNavigate&&this.router.navigate(["/monitoring/silences"]),this.notificationService.show(Sa.k.success,this.getNotificationTile(this.matchers),void 0,void 0,"Prometheus"),this.matchers=[]},()=>this.form.setErrors({cdSubmitButton:!0}))}getSubmitData(){const t=this.form.value;return delete t.duration,t.startsAt=ls()(t.startsAt,this.datetimeFormat).toISOString(),t.endsAt=ls()(t.endsAt,this.datetimeFormat).toISOString(),t.matchers=this.matchers,this.edit&&(t.id=this.id),t}getNotificationTile(t){let o;o=this.edit?this.succeededLabels.EDITED:this.recreate?this.succeededLabels.RECREATED:this.succeededLabels.CREATED;let l="";for(const _ of t)l=l.concat(` ${_.name} - ${_.value},`);return`${o} ${this.resource} for ${l.slice(0,-1)}`}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Io.F0),e.Y36(Vi.j),e.Y36(jl.O),e.Y36(mm),e.Y36(Tl.g),e.Y36(Io.gz),e.Y36(hb),e.Y36(ou.Z),e.Y36(Yd),e.Y36(Mo.p4),e.Y36(Mo.aX))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-prometheus-form"]],decls:71,vars:30,consts:function(){let s,t,o,l,_,C,x,N,V,Q,oe,le,me,ye,$e,Ne,ke,we;return s="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",t="Creator",o="Comment",l="Start time",_="If the start time lies in the past the creation time will be used",C="Duration",x="End time",N="Matchers",V="Add matcher",Q="Edit",oe="Delete",le="Editing a silence will expire the old silence and recreate it as a new silence",me="This field is required!",ye="This field is required!",$e="This field is required!",Ne="This field is required!",ke="This field is required!",we="A silence requires at least one matcher",[["matcherTpl",""],[1,"cd-col-form"],["name","form","novalidate","",1,"form",3,"formGroup"],["formDir","ngForm"],[1,"card"],[1,"card-header"],s,[4,"ngIf"],[1,"card-body"],[1,"form-group","row"],["for","created-by",1,"cd-col-form-label","required"],t,[1,"cd-col-form-input"],["formControlName","createdBy","id","created-by","name","created-by","type","text",1,"form-control"],["class","invalid-feedback",4,"ngIf"],["for","comment",1,"cd-col-form-label","required"],o,["formControlName","comment","id","comment","name","comment","type","text",1,"form-control"],["for","starts-at",1,"cd-col-form-label"],[1,"required"],l,_,["formControlName","startsAt","triggers","manual",1,"form-control",3,"ngbPopover","click","keypress"],["ps","ngbPopover"],["for","duration",1,"cd-col-form-label","required"],C,["formControlName","duration","id","duration","name","duration","type","text",1,"form-control"],["for","ends-at",1,"cd-col-form-label","required"],x,["formControlName","endsAt","triggers","manual",1,"form-control",3,"ngbPopover","click","keypress"],["pe","ngbPopover"],N,[1,"cd-col-form-offset"],[3,"ngClass",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"row"],[1,"col-12"],["type","button","id","add-matcher",1,"btn","btn-light","float-end","my-3",3,"ngClass","click"],[3,"ngClass"],V,["id","match-state",3,"class",4,"ngIf"],[1,"card-footer"],[1,"text-right"],[3,"form","submitText","submitActionEvent"],["popStart",""],["popEnd",""],[1,"input-group","my-2"],["type","button","ngbTooltip",Q,1,"btn","btn-light",3,"id","click"],["type","button","ngbTooltip",oe,1,"btn","btn-light",3,"id","click"],[1,"help-block"],["class","input-group-text",4,"ngIf"],[1,"input-group-text"],[3,"ngbTooltip",4,"ngIf"],["ngbTooltip","Equals",4,"ngIf"],[3,"ngbTooltip"],["ngbTooltip","Equals"],["type","text","disabled","","readonly","",1,"form-control",3,"id","value"],le,[1,"invalid-feedback"],me,ye,$e,Ne,ke,we,[4,"ngTemplateOutlet","ngTemplateOutletContext"],["id","match-state"],[3,"control","hasSeconds"]]},template:function(t,o){if(1&t){const l=e.EpF();e.YNc(0,hD,7,9,"ng-template",null,0,e.W1O),e.TgZ(2,"div",1)(3,"form",2,3)(5,"div",4)(6,"div",5)(7,"span"),e.SDv(8,6),e.ALo(9,"titlecase"),e.ALo(10,"upperFirst"),e.qZA(),e.YNc(11,fy,2,0,"cd-helper",7),e.qZA(),e.TgZ(12,"div",8)(13,"div",9)(14,"label",10),e.SDv(15,11),e.qZA(),e.TgZ(16,"div",12),e._UZ(17,"input",13),e.YNc(18,py,2,0,"span",14),e.qZA()(),e.TgZ(19,"div",9)(20,"label",15),e.SDv(21,16),e.qZA(),e.TgZ(22,"div",12)(23,"textarea",17),e._uU(24,"            "),e.qZA(),e.YNc(25,W_,2,0,"span",14),e.qZA()(),e.TgZ(26,"div",9)(27,"label",18)(28,"span",19),e.SDv(29,20),e.qZA(),e.TgZ(30,"cd-helper"),e.SDv(31,21),e.qZA()(),e.TgZ(32,"div",12)(33,"input",22,23),e.NdJ("click",function(){return e.CHM(l),e.MAs(34).open()})("keypress",function(){return e.CHM(l),e.MAs(34).close()}),e.qZA(),e.YNc(35,BC,2,0,"span",14),e.qZA()(),e.TgZ(36,"div",9)(37,"label",24),e.SDv(38,25),e.qZA(),e.TgZ(39,"div",12),e._UZ(40,"input",26),e.YNc(41,yb,2,0,"span",14),e.qZA()(),e.TgZ(42,"div",9)(43,"label",27),e.SDv(44,28),e.qZA(),e.TgZ(45,"div",12)(46,"input",29,30),e.NdJ("click",function(){return e.CHM(l),e.MAs(47).open()})("keypress",function(){return e.CHM(l),e.MAs(47).close()}),e.qZA(),e.YNc(48,J_,2,0,"span",14),e.qZA()(),e.TgZ(49,"fieldset")(50,"legend",19),e.SDv(51,31),e.qZA(),e.TgZ(52,"div",32),e.YNc(53,w_,3,4,"h5",33),e.YNc(54,UC,2,5,"span",34),e.TgZ(55,"div",35)(56,"div",36)(57,"button",37),e.NdJ("click",function(){return o.showMatcherModal()}),e._UZ(58,"i",38),e.ynx(59),e.SDv(60,39),e.BQk(),e.qZA()()()(),e.YNc(61,YC,3,7,"div",40),e.qZA()(),e.TgZ(62,"div",41)(63,"div",42)(64,"cd-form-button-panel",43),e.NdJ("submitActionEvent",function(){return o.submit()}),e.ALo(65,"titlecase"),e.ALo(66,"upperFirst"),e.qZA()()()()()(),e.YNc(67,jC,1,2,"ng-template",null,44,e.W1O),e.YNc(69,GC,1,2,"ng-template",null,45,e.W1O)}if(2&t){const l=e.MAs(4),_=e.MAs(68),C=e.MAs(70);e.xp6(3),e.Q6J("formGroup",o.form),e.xp6(7),e.pQV(e.lcZ(9,18,o.action))(e.lcZ(10,20,o.resource)),e.QtT(8),e.xp6(1),e.Q6J("ngIf",o.edit),e.xp6(7),e.Q6J("ngIf",o.form.showError("createdBy",l,"required")),e.xp6(7),e.Q6J("ngIf",o.form.showError("comment",l,"required")),e.xp6(8),e.Q6J("ngbPopover",_),e.xp6(2),e.Q6J("ngIf",o.form.showError("startsAt",l,"required")),e.xp6(6),e.Q6J("ngIf",o.form.showError("duration",l,"required")),e.xp6(5),e.Q6J("ngbPopover",C),e.xp6(2),e.Q6J("ngIf",o.form.showError("endsAt",l,"required")),e.xp6(5),e.Q6J("ngIf",0===o.matchers.length),e.xp6(1),e.Q6J("ngForOf",o.matchers),e.xp6(3),e.Q6J("ngClass",e.VKq(26,hy,l.submitted&&0===o.matchers.length)),e.xp6(1),e.Q6J("ngClass",e.VKq(28,Y1,o.icons.add)),e.xp6(3),e.Q6J("ngIf",o.matchers.length&&o.matcherMatch),e.xp6(3),e.Q6J("form",o.form)("submitText",e.lcZ(65,22,o.action)+" "+e.lcZ(66,24,o.resource))}},directives:[p.sg,p.O5,Pr._L,ge.o,Ll.b,p.mk,En._Y,En.JL,Ma.V,En.sg,xe.S,ll.P,En.Fj,En.JJ,En.u,Pr.o8,p.tP,Ml.p,gb.J],pipes:[p.rS,Mt.m],styles:["textarea[_ngcontent-%COMP%]{resize:vertical}"]}),n})();var VC=i(84051),j1=i(70882);function ZC(n,s){1&n&&(e.TgZ(0,"cd-alert-panel",2),e.tHW(1,3),e._UZ(2,"cd-doc",4),e.N_p(),e.qZA())}function Sb(n,s){if(1&n&&e._UZ(0,"cd-table-key-value",8),2&n){const t=e.oxw(2);e.Q6J("renderObjects",!0)("hideEmpty",!0)("appendParentKey",!1)("data",t.expandedRow)("customCss",t.customCss)("autoReload",!1)}}function Tb(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"cd-table",5),e.NdJ("setExpandedRow",function(l){return e.CHM(t),e.oxw().setExpandedRow(l)})("fetchData",function(){return e.CHM(t),e.oxw().refresh()})("updateSelection",function(l){return e.CHM(t),e.oxw().updateSelection(l)}),e._UZ(1,"cd-table-actions",6),e.YNc(2,Sb,1,6,"cd-table-key-value",7),e.qZA()}if(2&n){const t=e.oxw();e.Q6J("data",t.silences)("columns",t.columns)("forceIdentifier",!0)("customCss",t.customCss)("sorts",t.sorts)("hasDetails",!0),e.xp6(1),e.Q6J("permission",t.permission)("selection",t.selection)("tableActions",t.tableActions),e.xp6(1),e.Q6J("ngIf",t.expandedRow)}}let zC=(()=>{class n extends Mv{constructor(t,o,l,_,C,x,N,V,Q,oe){super(oe),this.authStorageService=t,this.cdDatePipe=o,this.modalService=l,this.notificationService=_,this.urlBuilder=C,this.actionLabels=x,this.succeededLabels=N,this.silenceFormComponent=V,this.silenceMatcher=Q,this.silences=[],this.selection=new _n.r,this.customCss={"badge badge-danger":"active","badge badge-warning":"pending","badge badge-default":"expired"},this.sorts=[{prop:"endsAt",dir:VC.Sr.desc}],this.permission=this.authStorageService.getPermissions().prometheus;const le=me=>me.first()&&me.first().status&&"expired"===me.first().status.state;this.tableActions=[{permission:"create",icon:wo.P.add,routerLink:()=>this.urlBuilder.getCreate(),canBePrimary:me=>!me.hasSingleSelection,name:this.actionLabels.CREATE},{permission:"create",canBePrimary:me=>me.hasSingleSelection&&le(me),disable:me=>!me.hasSingleSelection||me.first().cdExecuting||me.first().cdExecuting&&le(me)||!le(me),icon:wo.P.copy,routerLink:()=>this.urlBuilder.getRecreate(this.selection.first().id),name:this.actionLabels.RECREATE},{permission:"update",icon:wo.P.edit,canBePrimary:me=>me.hasSingleSelection&&!le(me),disable:me=>!me.hasSingleSelection||me.first().cdExecuting||me.first().cdExecuting&&!le(me)||le(me),routerLink:()=>this.urlBuilder.getEdit(this.selection.first().id),name:this.actionLabels.EDIT},{permission:"delete",icon:wo.P.trash,canBePrimary:me=>me.hasSingleSelection&&!le(me),disable:me=>!me.hasSingleSelection||me.first().cdExecuting||le(me),click:()=>this.expireSilence(),name:this.actionLabels.EXPIRE}],this.columns=[{name:"ID",prop:"id",flexGrow:3},{name:"Alerts Silenced",prop:"silencedAlerts",flexGrow:3,cellTransformation:Ht.e.badge},{name:"Created by",prop:"createdBy",flexGrow:2},{name:"Started",prop:"startsAt",pipe:this.cdDatePipe},{name:"Updated",prop:"updatedAt",pipe:this.cdDatePipe},{name:"Ends",prop:"endsAt",pipe:this.cdDatePipe},{name:"Status",prop:"status.state",cellTransformation:Ht.e.classAdding}]}refresh(){this.prometheusService.ifAlertmanagerConfigured(()=>{this.prometheusService.getSilences().subscribe(t=>{this.silences=t;const o=t.filter(l=>"expired"!==l.status.state);this.getAlerts(o)},()=>{this.prometheusService.disableAlertmanagerConfig()})})}updateSelection(t){this.selection=t}getAlerts(t){const o=this.silenceFormComponent.getRules();t.forEach(l=>{l.matchers.forEach(_=>{this.rules=this.silenceMatcher.getMatchedRules(_,o);const C=[];for(const x of this.rules)C.push(x.name);l.silencedAlerts=C})})}expireSilence(){const t=this.selection.first().id,o="Silence",l="Prometheus";this.modalRef=this.modalService.show(Oc.M,{itemDescription:o,itemNames:[t],actionDescription:this.actionLabels.EXPIRE,submitActionObservable:()=>new j1.y(_=>{this.prometheusService.expireSilence(t).subscribe(()=>{this.notificationService.show(Sa.k.success,`${this.succeededLabels.EXPIRED} ${o} ${t}`,void 0,void 0,l)},C=>{C.application=l,_.error(C)},()=>{_.complete(),this.refresh()})})})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Vi.j),e.Y36(Pn.N),e.Y36(ou.Z),e.Y36(Tl.g),e.Y36(X.F),e.Y36(Mo.p4),e.Y36(Mo.aX),e.Y36(Q_),e.Y36(Yd),e.Y36(mm))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-silences-list"]],features:[e._Bn([{provide:X.F,useValue:new X.F("monitoring/silences")},Q_]),e.qOj],decls:3,vars:2,consts:function(){let s;return s="To enable Silences, please provide the URL to the API of the Prometheus' Alertmanager as described in the " + "\ufffd#2\ufffd" + "" + "\ufffd/#2\ufffd" + ".",[["type","info",4,"ngIf"],["selectionType","single",3,"data","columns","forceIdentifier","customCss","sorts","hasDetails","setExpandedRow","fetchData","updateSelection",4,"ngIf"],["type","info"],s,["section","prometheus"],["selectionType","single",3,"data","columns","forceIdentifier","customCss","sorts","hasDetails","setExpandedRow","fetchData","updateSelection"],[1,"table-actions",3,"permission","selection","tableActions"],["cdTableDetail","",3,"renderObjects","hideEmpty","appendParentKey","data","customCss","autoReload",4,"ngIf"],["cdTableDetail","",3,"renderObjects","hideEmpty","appendParentKey","data","customCss","autoReload"]]},template:function(t,o){1&t&&(e._UZ(0,"cd-prometheus-tabs"),e.YNc(1,ZC,3,0,"cd-alert-panel",0),e.YNc(2,Tb,3,10,"cd-table",1)),2&t&&(e.xp6(1),e.Q6J("ngIf",!o.isAlertmanagerConfigured),e.xp6(1),e.Q6J("ngIf",o.isAlertmanagerConfigured))},directives:[Ov,p.O5,yo.G,yf.K,Tr.a,Tu.K,fo.b],styles:[""]}),n})(),Cb=(()=>{class n{constructor(t){this.http=t,this.url="api/telemetry"}getReport(){return this.http.get(`${this.url}/report`)}enable(t=!0){const o={enable:t};return t&&(o.license_name="sharing-1-0"),this.http.put(`${this.url}`,o)}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(g.eN))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),V1=(()=>{class n{constructor(){this.visible=!1,this.update=new e.vpe}setVisibility(t){this.visible=t,this.update.emit(t)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function _y(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div"),e._uU(1," The plugin is already "),e.TgZ(2,"b"),e._uU(3,"enabled"),e.qZA(),e._uU(4,". Click "),e.TgZ(5,"b"),e._uU(6,"Deactivate"),e.qZA(),e._uU(7," to disable it.\xa0 "),e.TgZ(8,"button",66),e.NdJ("click",function(){return e.CHM(t),e.oxw(3).disableModule("The Telemetry module has been disabled successfully.")}),e.SDv(9,67),e.qZA()()}}function Z1(n,s){1&n&&(e.ynx(0),e.TgZ(1,"legend"),e.ynx(2),e.SDv(3,68),e.BQk(),e.TgZ(4,"cd-helper"),e.SDv(5,69),e.qZA()(),e.TgZ(6,"div",15)(7,"label",70),e.SDv(8,71),e.qZA(),e.TgZ(9,"div",24),e._UZ(10,"input",72),e.qZA()(),e.TgZ(11,"div",15)(12,"label",73),e.SDv(13,74),e.qZA(),e.TgZ(14,"div",24),e._UZ(15,"input",75),e.qZA()(),e.TgZ(16,"div",15)(17,"label",76),e.SDv(18,77),e.qZA(),e.TgZ(19,"div",24),e._UZ(20,"input",78),e.qZA()(),e.BQk())}function my(n,s){1&n&&(e.TgZ(0,"span",79),e.SDv(1,80),e.qZA())}function gy(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div")(1,"form",4,5)(3,"div",6)(4,"div",7),e.SDv(5,8),e.qZA(),e.TgZ(6,"div",9)(7,"p"),e.tHW(8,10),e._UZ(9,"br")(10,"a",11)(11,"br")(12,"br")(13,"b"),e.N_p(),e.qZA(),e.YNc(14,_y,10,0,"div",12),e.TgZ(15,"legend"),e.SDv(16,13),e.qZA(),e.TgZ(17,"p"),e.SDv(18,14),e.qZA(),e.TgZ(19,"div",15)(20,"label",16),e.ynx(21),e.SDv(22,17),e.BQk(),e.TgZ(23,"cd-helper"),e.ynx(24),e.SDv(25,18),e.BQk(),e.TgZ(26,"ul")(27,"li"),e.SDv(28,19),e.qZA(),e.TgZ(29,"li"),e.SDv(30,20),e.qZA(),e.TgZ(31,"li"),e.SDv(32,21),e.qZA(),e.TgZ(33,"li"),e.SDv(34,22),e.qZA(),e.TgZ(35,"li"),e.SDv(36,23),e.qZA()()()(),e.TgZ(37,"div",24)(38,"div",25),e._UZ(39,"input",26)(40,"label",27),e.qZA()()(),e.TgZ(41,"div",15)(42,"label",28),e.ynx(43),e.SDv(44,29),e.BQk(),e.TgZ(45,"cd-helper"),e.ynx(46),e.SDv(47,30),e.BQk(),e.TgZ(48,"ul")(49,"li"),e.SDv(50,31),e.qZA(),e.TgZ(51,"li"),e.SDv(52,32),e.qZA(),e.TgZ(53,"li"),e.SDv(54,33),e.qZA(),e.TgZ(55,"li"),e.SDv(56,34),e.qZA()()()(),e.TgZ(57,"div",24)(58,"div",25),e._UZ(59,"input",35)(60,"label",36),e.qZA()()(),e.TgZ(61,"div",15)(62,"label",37),e.ynx(63),e.SDv(64,38),e.BQk(),e._UZ(65,"cd-helper",39),e.qZA(),e.TgZ(66,"div",24)(67,"div",25),e._UZ(68,"input",40)(69,"label",41),e.qZA()()(),e.TgZ(70,"div",15)(71,"label",42),e.ynx(72),e.SDv(73,43),e.BQk(),e.TgZ(74,"cd-helper"),e.ynx(75),e.SDv(76,44),e.BQk(),e.TgZ(77,"ul")(78,"li"),e._uU(79,"Cluster description"),e.qZA(),e.TgZ(80,"li"),e._uU(81,"Contact email address"),e.qZA()()()(),e.TgZ(82,"div",24)(83,"div",25)(84,"input",45),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).toggleIdent()}),e.qZA(),e._UZ(85,"label",46),e.qZA()()(),e.TgZ(86,"div",15)(87,"label",47),e.ynx(88),e.SDv(89,48),e.BQk(),e.TgZ(90,"cd-helper"),e.ynx(91),e.SDv(92,49),e.BQk(),e.qZA()(),e.TgZ(93,"div",24)(94,"div",25),e._UZ(95,"input",50)(96,"label",51),e.qZA()()(),e.YNc(97,Z1,21,0,"ng-container",12),e.TgZ(98,"legend"),e.SDv(99,52),e.qZA(),e.TgZ(100,"div",15)(101,"label",53),e.ynx(102),e.SDv(103,54),e.BQk(),e.TgZ(104,"cd-helper"),e.SDv(105,55),e.qZA()(),e.TgZ(106,"div",24),e._UZ(107,"input",56),e.YNc(108,my,2,0,"span",57),e.qZA()(),e.TgZ(109,"div",15)(110,"label",58),e.ynx(111),e.SDv(112,59),e.BQk(),e.TgZ(113,"cd-helper")(114,"p"),e.SDv(115,60),e.qZA(),e.TgZ(116,"p"),e.SDv(117,61),e.qZA()()(),e.TgZ(118,"div",24),e._UZ(119,"input",62),e.qZA()(),e._UZ(120,"br"),e.TgZ(121,"p"),e.tHW(122,63),e._UZ(123,"b"),e.N_p(),e.qZA()(),e.TgZ(124,"div",64)(125,"div",65)(126,"button",66),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).next()}),e.ynx(127),e._uU(128),e.BQk(),e.qZA()()()()()()}if(2&n){const t=e.MAs(2),o=e.oxw(2);e.xp6(1),e.Q6J("formGroup",o.configForm),e.xp6(4),e.pQV(o.step),e.QtT(5),e.xp6(8),e.pQV(o.sendToUrl)(o.sendToDeviceUrl),e.QtT(8),e.xp6(1),e.Q6J("ngIf",o.moduleEnabled),e.xp6(83),e.Q6J("ngIf",o.showContactInfo),e.xp6(11),e.Q6J("ngIf",o.configForm.showError("interval",t,"min")),e.xp6(20),e.Oqu(o.actionLabels.NEXT)}}function Mb(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div")(1,"form",81,82)(3,"div",6)(4,"div",7),e.SDv(5,83),e.qZA(),e.TgZ(6,"div",9)(7,"div",15)(8,"label",84),e.tHW(9,85),e._UZ(10,"cd-helper",86),e.N_p(),e.qZA(),e.TgZ(11,"div",24),e._UZ(12,"input",87),e.qZA()(),e.TgZ(13,"div",15)(14,"label",88),e.tHW(15,89),e.TgZ(16,"cd-helper",90),e._UZ(17,"em"),e.qZA(),e.N_p(),e.qZA(),e.TgZ(18,"div",24),e._UZ(19,"textarea",91),e.qZA()(),e.TgZ(20,"div",15)(21,"div",92)(22,"div",93),e._UZ(23,"cd-download-button",94)(24,"cd-copy-2-clipboard-button",95),e.qZA()()(),e.TgZ(25,"div",15)(26,"div",92)(27,"div",25),e._UZ(28,"input",96),e.TgZ(29,"label",97),e.tHW(30,98),e._UZ(31,"a",99),e.N_p(),e.qZA()()()()(),e.TgZ(32,"div",64)(33,"div",65)(34,"cd-form-button-panel",100),e.NdJ("submitActionEvent",function(){return e.CHM(t),e.oxw(2).onSubmit()})("backActionEvent",function(){return e.CHM(t),e.oxw(2).back()}),e.qZA()()()()()()}if(2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("formGroup",t.previewForm),e.xp6(4),e.pQV(t.step),e.QtT(5),e.xp6(18),e.Q6J("objectItem",t.report),e.xp6(11),e.Q6J("form",t.previewForm)("submitText",t.actionLabels.UPDATE)("cancelText",t.actionLabels.BACK)}}function Ob(n,s){if(1&n&&(e.TgZ(0,"div",1),e.ynx(1,2),e.YNc(2,gy,129,8,"div",3),e.YNc(3,Mb,35,6,"div",3),e.BQk(),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngSwitch",t.step),e.xp6(1),e.Q6J("ngSwitchCase",1),e.xp6(1),e.Q6J("ngSwitchCase",2)}}let Ab=(()=>{class n extends Ul.E{constructor(t,o,l,_,C,x,N){super(),this.actionLabels=t,this.formBuilder=o,this.mgrModuleService=l,this.notificationService=_,this.router=C,this.telemetryService=x,this.telemetryNotificationService=N,this.licenseAgrmt=!1,this.options={},this.newConfig={},this.configResp={},this.requiredFields=["channel_basic","channel_crash","channel_device","channel_ident","channel_perf","interval","proxy","contact","description","organization"],this.contactInfofields=["contact","description","organization"],this.report=void 0,this.reportId=void 0,this.sendToUrl="",this.sendToDeviceUrl="",this.step=1}ngOnInit(){const t=[this.mgrModuleService.getOptions("telemetry"),this.mgrModuleService.getConfig("telemetry")];(0,Fu.D)(t).subscribe(o=>{const l=o[1];this.moduleEnabled=l.enabled,this.sendToUrl=l.url,this.sendToDeviceUrl=l.device_url,this.showContactInfo=l.channel_ident,this.options=Sr().pick(o[0],this.requiredFields),this.configResp=Sr().pick(l,this.requiredFields),this.createConfigForm(),this.configForm.setValue(this.configResp),this.loadingReady()},o=>{this.loadingError()})}createConfigForm(){const t={};Sr().forEach(Object.values(this.options),o=>{t[o.name]=[o.default_value,this.getValidators(o)]}),this.configForm=this.formBuilder.group(t)}replacer(t,o){if(("ranges"===t||"values"===t)&&Array.isArray(o)){const l=[];for(let _=0;_<o.length;_++)l.push(JSON.stringify(o[_]));return l}return o}replacerTest(t){return JSON.stringify(t,this.replacer,2)}formatReport(){let t={};t=JSON.parse(JSON.stringify(this.report));const o=["perf_counters","stats_per_pool","stats_per_pg","io_rate","osd_perf_histograms","mempool","heap_stats","rocksdb_stats"];for(let l=0;l<o.length;l++){const _=o[l];_ in t.report&&delete t.report[_]}return JSON.stringify(t,null,2)}formatReportTest(t){let o={};o=JSON.parse(JSON.stringify(t));const l=["perf_counters","stats_per_pool","stats_per_pg","io_rate","osd_perf_histograms","mempool","heap_stats","rocksdb_stats"];for(let _=0;_<l.length;_++){const C=l[_];C in o&&delete o[C]}return JSON.stringify(o,null,2)}createPreviewForm(){const t={report:this.formatReport(),reportId:this.reportId,licenseAgrmt:[this.licenseAgrmt,En.kI.requiredTrue]};this.previewForm=this.formBuilder.group(t)}getValidators(t){const o=[];switch(t.type){case"int":o.push(En.kI.required);break;case"str":Sr().isNumber(t.min)&&o.push(En.kI.minLength(t.min)),Sr().isNumber(t.max)&&o.push(En.kI.maxLength(t.max))}return o}updateReportFromConfig(t={}){const o=this.report.report.channels_available,l=[];for(const _ of o)t[`channel_${_}`]&&l.push(_);this.report.report.channels=l;for(const _ of this.contactInfofields)this.report.report[_]=t[_]}getReport(){this.loadingStart(),this.telemetryService.getReport().subscribe(t=>{this.report=t,this.reportId=t.report.report_id,this.updateReportFromConfig(this.newConfig),this.createPreviewForm(),this.loadingReady(),this.step++},t=>{this.loadingError()})}toggleIdent(){this.showContactInfo=!this.showContactInfo}buildReport(){this.newConfig={};for(const t of Object.values(this.options)){const o=this.configForm.get(t.name);if(!o.valid)return void this.configForm.setErrors({cdSubmitButton:!0});this.newConfig[t.name]=o.value}if(!this.newConfig.channel_ident)for(const t of this.contactInfofields)this.newConfig[t]="";this.getReport()}disableModule(t=null,o=null){this.telemetryService.enable(!1).subscribe(()=>{this.telemetryNotificationService.setVisibility(!0),t&&this.notificationService.show(Sa.k.success,t),o?o():this.router.navigate([""])})}next(){this.buildReport()}back(){this.step--}getChangedConfig(){const t={};return Sr().forEach(this.requiredFields,o=>{Sr().isEqual(this.configResp[o],this.newConfig[o])||(t[o]=this.newConfig[o])}),t}onSubmit(){const t=this.getChangedConfig(),o=[this.telemetryService.enable(),this.mgrModuleService.updateConfig("telemetry",t)];(0,Fu.D)(o).subscribe(()=>{this.telemetryNotificationService.setVisibility(!1),this.notificationService.show(Sa.k.success,"The Telemetry module has been configured and activated successfully.")},()=>{this.telemetryNotificationService.setVisibility(!1),this.notificationService.show(Sa.k.error,"An Error occurred while updating the Telemetry module configuration.             Please Try again"),this.previewForm.setErrors({cdSubmitButton:!0})},()=>{this.newConfig={},this.router.navigate([""])})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Mo.p4),e.Y36(jl.O),e.Y36(xm.N),e.Y36(Tl.g),e.Y36(Io.F0),e.Y36(Cb),e.Y36(V1))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-telemetry"]],features:[e.qOj],decls:1,vars:1,consts:function(){let s,t,o,l,_,C,x,N,V,Q,oe,le,me,ye,$e,Ne,ke,we,G,Dt,bt,Bt,Jt,Mn,zt,xn,Nn,zr,Hr,Vr,qr,On,Jn,Qn,ur,In,Yr,Qi,Di,ji,Wr,Bn,bn,Xr,Ni;return s="Step " + "\ufffd0\ufffd" + " of 2: Telemetry report configuration",t="The telemetry module sends anonymous data about this Ceph cluster back to the Ceph developers to help understand how Ceph is used and what problems users may be experiencing." + "[\ufffd#9\ufffd\ufffd/#9\ufffd|\ufffd#11\ufffd\ufffd/#11\ufffd|\ufffd#12\ufffd\ufffd/#12\ufffd]" + " This data is visualized on " + "\ufffd#10\ufffd" + "public dashboards" + "\ufffd/#10\ufffd" + " that allow the community to quickly see summary statistics on how many clusters are reporting, their total capacity and OSD count, and version distribution trends." + "[\ufffd#9\ufffd\ufffd/#9\ufffd|\ufffd#11\ufffd\ufffd/#11\ufffd|\ufffd#12\ufffd\ufffd/#12\ufffd]" + "" + "[\ufffd#9\ufffd\ufffd/#9\ufffd|\ufffd#11\ufffd\ufffd/#11\ufffd|\ufffd#12\ufffd\ufffd/#12\ufffd]" + " The data being reported does " + "\ufffd#13\ufffd" + "not" + "\ufffd/#13\ufffd" + " contain any sensitive data like pool names, object names, object contents, hostnames, or device serial numbers. It contains counters and statistics on how the cluster has been deployed, the version of Ceph, the distribution of the hosts and other parameters which help the project to gain a better understanding of the way Ceph is used. The data is sent secured to " + "\ufffd0\ufffd" + " and " + "\ufffd1\ufffd" + " (device report).",t=e.Zx4(t),o="Channels",l="The telemetry report is broken down into several \"channels\", each with a different type of information that can be configured below.",_="Basic",C="Includes basic information about the cluster:",x="Capacity of the cluster",N="Number of monitors, managers, OSDs, MDSs, object gateways, or other daemons",V="Software version currently being used",Q="Number and types of RADOS pools and CephFS file systems",oe="Names of configuration options that have been changed from their default (but not their values)",le="Crash",me="Includes information about daemon crashes:",ye="Type of daemon",$e="Version of the daemon",Ne="Operating system (OS distribution, kernel version)",ke="Stack trace identifying where in the Ceph code the crash occurred",we="Device",G="Includes information about device metrics like anonymized SMART metrics.",Dt="Ident",bt="Includes user-provided identifying information about the cluster:",Bt="Perf",Jt="Includes various performance metrics of a cluster.",Mn="Advanced Settings",zt="Interval",xn="The module compiles and sends a new report every 24 hours by default. You can adjust this interval by setting a different number of hours.",Nn="Proxy",zr="If the cluster cannot directly connect to the configured telemetry endpoint (default telemetry.ceph.com), you can configure a HTTP/HTTPS proxy server by e.g. adding https://10.0.0.1:8080",Hr="You can also include a user:pass if needed e.g. https://ceph:telemetry@10.0.0.1:8080",Vr="" + "\ufffd#123\ufffd" + "Note:" + "\ufffd/#123\ufffd" + " By clicking 'Next' you will first see a preview of the report content before you can activate the automatic submission of your data.",qr="Deactivate",On="Contact Information",Jn="Submitting any contact information is completely optional and disabled by default.",Qn="Contact",ur="Description",In="My first Ceph cluster",Yr="Organization",Qi="Organization name",Di="The entered value is too low! It must be greater or equal to 8.",ji="Step " + "\ufffd0\ufffd" + " of 2: Telemetry report preview",Wr="A randomized UUID to identify a particular cluster over the course of several telemetry reports.",Bn="Report ID " + "\ufffd#10\ufffd" + "" + "\ufffd/#10\ufffd" + "",bn="The actual telemetry data that will be submitted.",Xr="Report preview " + "\ufffd#16\ufffd" + "" + "\ufffd#17\ufffd" + "Note: Please select 'Download' to view the full report, including metrics from the perf channel." + "\ufffd/#17\ufffd" + "" + "\ufffd/#16\ufffd" + "",Ni="I agree to my telemetry data being submitted under the " + "\ufffd#31\ufffd" + "Community Data License Agreement - Sharing - Version 1.0" + "\ufffd/#31\ufffd" + "",[["class","cd-col-form",4,"cdFormLoading"],[1,"cd-col-form"],[3,"ngSwitch"],[4,"ngSwitchCase"],["name","form","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"card"],[1,"card-header"],s,[1,"card-body"],t,["href","https://telemetry-public.ceph.com/"],[4,"ngIf"],o,l,[1,"form-group","row"],["for","channel_basic",1,"cd-col-form-label"],_,C,x,N,V,Q,oe,[1,"cd-col-form-input"],[1,"custom-control","custom-checkbox"],["type","checkbox","id","channel_basic","formControlName","channel_basic",1,"custom-control-input"],["for","channel_basic",1,"custom-control-label"],["for","channel_crash",1,"cd-col-form-label"],le,me,ye,$e,Ne,ke,["type","checkbox","id","channel_crash","formControlName","channel_crash",1,"custom-control-input"],["for","channel_crash",1,"custom-control-label"],["for","channel_device",1,"cd-col-form-label"],we,["html",G],["type","checkbox","id","channel_device","formControlName","channel_device",1,"custom-control-input"],["for","channel_device",1,"custom-control-label"],["for","channel_ident",1,"cd-col-form-label"],Dt,bt,["type","checkbox","id","channel_ident","formControlName","channel_ident",1,"custom-control-input",3,"click"],["for","channel_ident",1,"custom-control-label"],["for","channel_perf",1,"cd-col-form-label"],Bt,Jt,["type","checkbox","id","channel_perf","formControlName","channel_perf",1,"custom-control-input"],["for","channel_perf",1,"custom-control-label"],Mn,["for","interval",1,"cd-col-form-label"],zt,xn,["id","interval","type","number","formControlName","interval","min","8",1,"form-control"],["class","invalid-feedback",4,"ngIf"],["for","proxy",1,"cd-col-form-label"],Nn,zr,Hr,["id","proxy","type","text","formControlName","proxy","placeholder","https://10.0.0.1:8080",1,"form-control"],Vr,[1,"card-footer"],[1,"button-group","text-right"],["type","button",1,"btn","btn-light",3,"click"],qr,On,Jn,["for","contact",1,"cd-col-form-label"],Qn,["id","contact","type","text","formControlName","contact","placeholder","Example User <user@example.com>",1,"form-control"],["for","description",1,"cd-col-form-label"],ur,["id","description","type","text","formControlName","description","placeholder",In,1,"form-control"],["for","organization",1,"cd-col-form-label"],Yr,["id","organization","type","text","formControlName","organization","placeholder",Qi,1,"form-control"],[1,"invalid-feedback"],Di,["name","previewForm","novalidate","",3,"formGroup"],["frm","ngForm"],ji,["for","reportId",1,"cd-col-form-label"],Bn,["html",Wr],["type","text","id","reportId","formControlName","reportId","readonly","",1,"form-control"],["for","report",1,"cd-col-form-label"],Xr,["html",bn],["id","report","formControlName","report","rows","15","readonly","",1,"form-control"],[1,"cd-col-form-offset"],["role","group",1,"btn-group"],["fileName","telemetry_report",3,"objectItem"],["source","report"],["type","checkbox","id","licenseAgrmt","name","licenseAgrmt","formControlName","licenseAgrmt",1,"custom-control-input"],["for","licenseAgrmt",1,"custom-control-label"],Ni,["href","https://cdla.io/sharing-1-0/"],[3,"form","submitText","cancelText","submitActionEvent","backActionEvent"]]},template:function(t,o){1&t&&e.YNc(0,Ob,4,3,"div",0),2&t&&e.Q6J("cdFormLoading",o.loading)},directives:[cu.y,p.RF,p.n9,En._Y,En.JL,Ma.V,En.sg,p.O5,ge.o,ll.P,xe.S,En.Wl,Ll.b,En.JJ,En.u,En.Fj,En.wV,En.qQ,n1,Ad.s,Ml.p],styles:[""]}),n})();var Bg=i(89154),vy=i(33637),Db=i(26561);function Rb(n){const{subscriber:s,counter:t,period:o}=n;s.next(t),this.schedule({subscriber:s,counter:t+1,period:o},o)}let yy=(()=>{class n{constructor(t){this.ngZone=t,this.intervalDataSource=new Tc.X(null),this.intervalData$=this.intervalDataSource.asObservable();const o=parseInt(sessionStorage.getItem("dashboard_interval"),10)||5e3;this.setRefreshInterval(o)}setRefreshInterval(t){this.intervalTime=t,sessionStorage.setItem("dashboard_interval",t.toString()),this.intervalSubscription&&this.intervalSubscription.unsubscribe(),this.ngZone.runOutsideAngular(()=>{this.intervalSubscription=function xb(n=0,s=vy.P){return(!(0,Db.k)(n)||n<0)&&(n=0),(!s||"function"!=typeof s.schedule)&&(s=vy.P),new j1.y(t=>(t.add(s.schedule(Rb,n,{subscriber:t,counter:0,period:n})),t))}(this.intervalTime).subscribe(()=>this.ngZone.run(()=>{this.intervalDataSource.next(this.intervalTime)}))})}getRefreshInterval(){return this.intervalTime}ngOnDestroy(){this.intervalSubscription&&this.intervalSubscription.unsubscribe()}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(e.R0b))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function wb(n,s){if(1&n&&(e.TgZ(0,"option",7),e._uU(1),e.qZA()),2&n){const t=s.$implicit,o=e.oxw();e.Q6J("value",o.intervalList[t]),e.xp6(1),e.Oqu(t)}}let WC=(()=>{class n{constructor(t){this.refreshIntervalService=t,this.intervalList={"5 s":5e3,"10 s":1e4,"15 s":15e3,"30 s":3e4,"1 min":6e4,"3 min":18e4,"5 min":3e5},this.intervalKeys=Object.keys(this.intervalList)}ngOnInit(){this.selectedInterval=this.refreshIntervalService.getRefreshInterval()||5e3}changeRefreshInterval(t){this.refreshIntervalService.setRefreshInterval(t)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(yy))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-refresh-selector"]],decls:8,vars:2,consts:function(){let s;return s="Refresh",[[1,"container-fluid"],[1,"row"],[1,"col-sm-1","d-flex","float-end"],["for","refreshInterval",1,"col-form-label","my-0","mx-2","float-end"],s,["id","refreshInterval","name","refreshInterval",1,"form-select","float-end",3,"ngModel","change","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]]},template:function(t,o){1&t&&(e.TgZ(0,"div",0)(1,"div",1)(2,"form")(3,"div",2)(4,"label",3),e.SDv(5,4),e.qZA(),e.TgZ(6,"select",5),e.NdJ("change",function(_){return o.changeRefreshInterval(_.target.value)})("ngModelChange",function(_){return o.selectedInterval=_}),e.YNc(7,wb,2,2,"option",6),e.qZA()()()()()),2&t&&(e.xp6(6),e.Q6J("ngModel",o.selectedInterval),e.xp6(1),e.Q6J("ngForOf",o.intervalKeys))},directives:[En._Y,En.JL,En.F,ge.o,En.EJ,En.JJ,En.On,p.sg,En.YN,En.Kr],styles:[""]}),n})();var Pb=i(20687);let Nb=(()=>{class n{constructor(t){this.http=t}getFullHealth(){return this.http.get("api/health/full")}getMinimalHealth(){return this.http.get("api/health/minimal")}getClusterCapacity(){return this.http.get("api/health/get_cluster_capacity")}getClusterFsid(){return this.http.get("api/health/get_cluster_fsid")}getOrchestratorName(){return this.http.get("api/health/get_orchestrator_name")}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(g.eN))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var Bm=i(99475);const JC=["*"];let QC=(()=>{class n{constructor(){this.icons=wo.P}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-info-group"]],inputs:{groupTitle:"groupTitle"},ngContentSelectors:JC,decls:12,vars:7,consts:function(){let s,t;return s="here",t="For an overview of " + "\ufffd0\ufffd" + " widgets click " + "\ufffd#8\ufffd" + "" + "\ufffd/#8\ufffd" + "",[[1,"row"],[1,"info-group-title"],["iconClass","fa fa-info-circle fa-2xs"],[1,"text-center"],t,["docText",s,3,"section"]]},template:function(t,o){1&t&&(e.F$t(),e.TgZ(0,"div",0)(1,"div",1)(2,"span"),e._uU(3),e.qZA(),e.TgZ(4,"cd-helper",2)(5,"div",3),e.tHW(6,4),e.ALo(7,"lowercase"),e._UZ(8,"cd-doc",5),e.ALo(9,"lowercase"),e.N_p(),e.qZA()()()(),e.TgZ(10,"div",0),e.Hsn(11),e.qZA()),2&t&&(e.xp6(3),e.Oqu(o.groupTitle),e.xp6(5),e.MGl("section","dashboard-landing-page-",e.lcZ(9,5,o.groupTitle),""),e.xp6(1),e.pQV(e.lcZ(7,3,o.groupTitle)),e.QtT(6))},directives:[xe.S,yf.K],pipes:[p.i8],styles:[".info-group-title[_ngcontent-%COMP%]{font-size:1.75rem;margin:0 0 .5vw}.popover-icon[_ngcontent-%COMP%]{color:#25828e}.popover-icon[_ngcontent-%COMP%]:focus{box-shadow:none}"]}),n})();function XC(n,s){if(1&n&&(e.TgZ(0,"a",6),e._uU(1),e.qZA()),2&n){const t=e.oxw();e.Q6J("routerLink",t.link),e.xp6(1),e.Oqu(t.cardTitle)}}function KC(n,s){if(1&n&&e._uU(0),2&n){const t=e.oxw();e.hij(" ",t.cardTitle," ")}}const qC=["*"];let e2=(()=>{class n{constructor(){this.cardClass=""}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-info-card"]],inputs:{cardTitle:"cardTitle",link:"link",cardClass:"cardClass",contentClass:"contentClass"},ngContentSelectors:qC,decls:8,vars:4,consts:[[1,"card","shadow-sm",3,"ngClass"],[1,"card-body","d-flex","align-items-center","justify-content-center"],[1,"card-title","m-4"],[3,"routerLink",4,"ngIf","ngIfElse"],["noLinkTitle",""],[1,"card-text","text-center",3,"ngClass"],[3,"routerLink"]],template:function(t,o){if(1&t&&(e.F$t(),e.TgZ(0,"div",0)(1,"div",1)(2,"h4",2),e.YNc(3,XC,2,2,"a",3),e.YNc(4,KC,1,1,"ng-template",null,4,e.W1O),e.qZA(),e.TgZ(6,"div",5),e.Hsn(7),e.qZA()()()),2&t){const l=e.MAs(5);e.Q6J("ngClass",o.cardClass),e.xp6(3),e.Q6J("ngIf",o.link)("ngIfElse",l),e.xp6(3),e.Q6J("ngClass",o.contentClass)}},directives:[p.mk,p.O5,Io.yS],styles:[".card[_ngcontent-%COMP%]{font-size:12px;border:.5px solid #dee2e6;border-radius:3px;height:100%}@media screen and (min-width: 320px){.card[_ngcontent-%COMP%]{font-size:calc(12px + 9 * ((100vw - 320px) / 1728))}}@media screen and (min-width: 2048px){.card[_ngcontent-%COMP%]{font-size:21px}}.card[_ngcontent-%COMP%]   .card-body[_ngcontent-%COMP%]{padding-top:40px!important}.card[_ngcontent-%COMP%]   .card-body[_ngcontent-%COMP%]   .card-title[_ngcontent-%COMP%]{left:-.6rem;position:absolute;top:-.3rem}.card[_ngcontent-%COMP%]   .card-body[_ngcontent-%COMP%]   .card-title[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{color:#25828e}.no-center[_ngcontent-%COMP%]{left:unset;position:unset;top:unset;transform:unset}.content-highlight[_ngcontent-%COMP%]{font-weight:700}"]}),n})();var Ib=i(6823);const t2=["chartCanvas"],n2=["chartTooltip"];let r2=(()=>{class n{constructor(t,o,l){this.dimlessBinary=t,this.dimless=o,this.cssHelper=l,this.config={},this.isBytesData=!1,this.showLabelAsTooltip=!1,this.prepareFn=new e.vpe,this.chartConfig={chartType:"doughnut",dataset:[{label:null,borderWidth:0}],colors:[{backgroundColor:[this.cssHelper.propertyValue("chart-color-green"),this.cssHelper.propertyValue("chart-color-yellow"),this.cssHelper.propertyValue("chart-color-orange"),this.cssHelper.propertyValue("chart-color-red"),this.cssHelper.propertyValue("chart-color-blue")]}],options:{cutoutPercentage:90,events:["click","mouseout","touchstart"],legend:{display:!0,position:"right",labels:{boxWidth:10,usePointStyle:!1}},plugins:{center_text:!0},tooltips:{enabled:!0,displayColors:!1,backgroundColor:this.cssHelper.propertyValue("chart-color-tooltip-background"),cornerRadius:0,bodyFontSize:14,bodyFontStyle:"600",position:"nearest",xPadding:12,yPadding:12,callbacks:{label:(_,C)=>{let x=C.labels[_.index];return x.includes("%")||(x=`${x} (${C.datasets[_.datasetIndex].data[_.index]}%)`),x}}},title:{display:!1}}},this.doughnutChartPlugins=[{id:"center_text",beforeDraw(_){const C=new Bm.P,x="Helvetica Neue, Helvetica, Arial, sans-serif";Ib.defaults.global.defaultFontFamily=x;const N=_.ctx;if(!_.options.plugins.center_text||!_.data.datasets[0].label)return;N.save();const V=_.data.datasets[0].label.split("\n"),Q=(_.chartArea.left+_.chartArea.right)/2,oe=(_.chartArea.top+_.chartArea.bottom)/2;N.textAlign="center",N.textBaseline="middle",N.font=`24px ${x}`,N.fillStyle=C.propertyValue("chart-color-center-text"),N.fillText(V[0],Q,oe-10),V.length>1&&(N.font=`14px ${x}`,N.fillStyle=C.propertyValue("chart-color-center-text-description"),N.fillText(V[1],Q,oe+10)),N.restore()}}]}ngOnInit(){new _l.h(this.chartCanvasRef,this.chartTooltipRef,(_,C)=>C+_.caretX+"px",(_,C)=>C+_.caretY-_.height-10+"px").getBody=_=>this.getChartTooltipBody(_),Sr().merge(this.chartConfig,this.config),this.prepareFn.emit([this.chartConfig,this.data])}ngOnChanges(){this.prepareFn.emit([this.chartConfig,this.data]),this.setChartSliceBorderWidth()}getChartTooltipBody(t){const o=t[0].split(": ");return this.showLabelAsTooltip?o[0]:(o[1]=this.isBytesData?this.dimlessBinary.transform(o[1]):this.dimless.transform(o[1]),o.join(": "))}setChartSliceBorderWidth(){let t=0;Sr().forEach(this.chartConfig.dataset[0].data,function(o){o>0&&(t+=1)}),this.chartConfig.dataset[0].borderWidth=t>1?1:0}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Rr.$),e.Y36(br.n),e.Y36(Bm.P))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-health-pie"]],viewQuery:function(t,o){if(1&t&&(e.Gf(t2,7),e.Gf(n2,7)),2&t){let l;e.iGM(l=e.CRH())&&(o.chartCanvasRef=l.first),e.iGM(l=e.CRH())&&(o.chartTooltipRef=l.first)}},inputs:{data:"data",config:"config",isBytesData:"isBytesData",tooltipFn:"tooltipFn",showLabelAsTooltip:"showLabelAsTooltip"},outputs:{prepareFn:"prepareFn"},features:[e.TTD],decls:5,vars:6,consts:[[1,"chart-container"],["baseChart","",1,"chart-canvas",3,"datasets","chartType","options","labels","colors","plugins"],["chartCanvas",""],[1,"chartjs-tooltip"],["chartTooltip",""]],template:function(t,o){1&t&&(e.TgZ(0,"div",0),e._UZ(1,"canvas",1,2)(3,"div",3,4),e.qZA()),2&t&&(e.xp6(1),e.Q6J("datasets",o.chartConfig.dataset)("chartType",o.chartConfig.chartType)("options",o.chartConfig.options)("labels",o.chartConfig.labels)("colors",o.chartConfig.colors)("plugins",o.doughnutChartPlugins))},directives:[Us.jh],styles:['.chart-container[_ngcontent-%COMP%]{cursor:pointer;margin:auto;overflow:visible;position:absolute}canvas[_ngcontent-%COMP%]{user-select:none}.chartjs-tooltip[_ngcontent-%COMP%]{background:rgba(0,0,0,.7);border-radius:3px;color:#fff;font-family:Helvetica Neue,Helvetica,Arial,sans-serif!important;opacity:0;pointer-events:none;position:absolute;transform:translate(-50%);transition:all .1s ease}.chartjs-tooltip.transform-left[_ngcontent-%COMP%]{transform:translate(-10%)}.chartjs-tooltip.transform-left[_ngcontent-%COMP%]:after{left:10%}.chartjs-tooltip.transform-right[_ngcontent-%COMP%]{transform:translate(-90%)}.chartjs-tooltip.transform-right[_ngcontent-%COMP%]:after{left:90%}.chartjs-tooltip[_ngcontent-%COMP%]:after{border-color:#000 transparent transparent transparent;border-style:solid;border-width:5px;content:" ";left:50%;margin-left:-5px;position:absolute;top:100%}  .chartjs-tooltip-key{display:inline-block;height:10px;margin-right:10px;width:10px}.chart-container[_ngcontent-%COMP%]{height:100%;margin-left:auto;margin-right:auto;position:unset;width:100%}.chart-canvas[_ngcontent-%COMP%]{height:100%;margin-left:auto;margin-right:auto;max-height:100%;max-width:100%;position:unset;width:100%}']}),n})();var Um=(()=>{return(n=Um||(Um={})).HEALTH_ERR="health-color-error",n.HEALTH_WARN="health-color-warning",n.HEALTH_OK="health-color-healthy",Um;var n})();let z1=(()=>{class n{constructor(t){this.cssHelper=t}transform(t){return Object.keys(Um).includes(t)?{color:this.cssHelper.propertyValue(Um[t])}:null}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Bm.P,16))},n.\u0275pipe=e.Yjl({name:"healthColor",type:n,pure:!0}),n})();var Ug=(()=>{return(n=Ug||(Ug={})).HEALTH_ERR="error",n.HEALTH_WARN="warning",n.HEALTH_OK="ok",Ug;var n})();let Fb=(()=>{class n{transform(t){return Object.keys(Ug).includes(t)?Ug[t]:null}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275pipe=e.Yjl({name:"healthLabel",type:n,pure:!0}),n})(),Lb=(()=>{class n{transform(t){return t?"" + t.monmap.mons.length.toString() + " (quorum " + t.quorum.join(", ") + ")":""}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275pipe=e.Yjl({name:"monSummary",type:n,pure:!0}),n})(),kb=(()=>{class n{transform(t){if(!t)return"";let o=0,l=0,_=0,C=0;Sr().each(t.osds,Q=>{Q.in&&o++,Q.up&&l++,Q.state.includes("nearfull")&&_++,Q.state.includes("full")&&C++});const x=[{content:`${t.osds.length} ${"total"}`,class:""}];x.push({content:"",class:"card-text-line-break"}),x.push({content:`${l} ${"up"}, ${o} ${"in"}`,class:""});const N=t.osds.length-l,V=t.osds.length-o;if(N>0||V>0){x.push({content:"",class:"card-text-line-break"});const Q=N>0?`${N} ${"down"}`:"",le=V>0?`${V} ${"out"}`:"";x.push({content:`${Q}${N>0&&V>0?", ":""}${le}`,class:"card-text-error"})}return _>0&&x.push({content:"",class:"card-text-line-break"},{content:`${_} ${"near full"}`,class:"card-text-error"},{content:"",class:"card-text-line-break"}),C>0&&x.push({content:`${C} ${"full"}`,class:"card-text-error"}),x}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275pipe=e.Yjl({name:"osdSummary",type:n,pure:!0}),n})(),$b=(()=>{class n{transform(t){if(!t)return"";let o="n/a";const l=Sr().isUndefined(t.active_name)?"":`${"active daemon"}: ${t.active_name}`;l.length>0&&(o="1");const _=t.standbys.map(V=>V.name).join(", "),C=_?`${"standby daemons"}: ${_}`:"",x=t.standbys.length,N=[{content:`${o} ${"active"}`,class:"popover-info",titleText:l}];return N.push({content:"",class:"card-text-line-break",titleText:""}),N.push({content:`${x} ${"standby"}`,class:"popover-info",titleText:C}),N}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275pipe=e.Yjl({name:"mgrSummary",type:n,pure:!0}),n})(),Hb=(()=>{class n{transform(t){if(!t)return"";let o="",l="",_=0,C=0,x=0;Sr().each(t.standbys,()=>{_+=1}),t.standbys&&!t.filesystems?(o=`${_} ${"up"}`,l="no filesystems"):0===t.filesystems.length?o="no filesystems":(Sr().each(t.filesystems,$e=>{Sr().each($e.mdsmap.info,Ne=>{"up:standby-replay"===Ne.state?x+=1:C+=1})}),o=`${C} ${"active"}`,l=`${_+x} ${"standby"}`);const N=t.standbys.map($e=>$e.name).join(", "),V=N?`${"standby daemons"}: ${N}`:"",Q=t.filesystems?t.filesystems.length:0,le=Object.values(Q>0?t.filesystems[0].mdsmap.info:{}).map($e=>$e.name).join(", ");let me=le?`${"active daemon"}: ${le}`:"";!C&&Q>0&&(me=`${x} ${"standbyReplay"}`);const ye=[{content:o,class:"popover-info",titleText:me}];return l&&(ye.push({content:"",class:"card-text-line-break",titleText:""}),ye.push({content:l,class:"popover-info",titleText:V})),ye}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275pipe=e.Yjl({name:"mdsSummary",type:n,pure:!0}),n})();function Bb(n,s){1&n&&e.GkF(0)}function Ey(n,s){if(1&n&&(e.TgZ(0,"li")(1,"span",22),e.ALo(2,"healthColor"),e._uU(3),e.qZA(),e._uU(4),e.qZA()),2&n){const t=s.$implicit;e.xp6(1),e.ekj("health-warn-description","HEALTH_WARN"===t.severity),e.Q6J("ngStyle",e.lcZ(2,5,t.severity)),e.xp6(2),e.hij(" ",t.type,""),e.xp6(1),e.hij(": ",t.summary.message," ")}}function by(n,s){if(1&n&&(e.YNc(0,Bb,1,0,"ng-container",20),e.TgZ(1,"ul"),e.YNc(2,Ey,5,7,"li",21),e.qZA()),2&n){e.oxw(4);const t=e.MAs(5),o=e.oxw();e.Q6J("ngTemplateOutlet",t),e.xp6(2),e.Q6J("ngForOf",o.healthData.health.checks)}}function lg(n,s){1&n&&e._UZ(0,"i",23)}function o2(n,s){if(1&n&&(e.ynx(0),e.YNc(1,by,3,2,"ng-template",null,17,e.W1O),e.TgZ(3,"div",18),e.ALo(4,"healthColor"),e._uU(5),e.ALo(6,"uppercase"),e.ALo(7,"healthLabel"),e.YNc(8,lg,1,0,"i",19),e.qZA(),e.BQk()),2&n){const t=e.MAs(2),o=e.oxw(4);e.xp6(3),e.Q6J("ngStyle",e.lcZ(4,4,o.healthData.health.status))("ngbPopover",t),e.xp6(2),e.hij(" ",e.lcZ(6,6,e.lcZ(7,8,o.healthData.health.status))," "),e.xp6(3),e.Q6J("ngIf","HEALTH_OK"!==(null==o.healthData.health?null:o.healthData.health.status))}}function s2(n,s){if(1&n&&(e.ynx(0),e.TgZ(1,"div",22),e.ALo(2,"healthColor"),e._uU(3),e.ALo(4,"uppercase"),e.ALo(5,"healthLabel"),e.qZA(),e.BQk()),2&n){const t=e.oxw(4);e.xp6(1),e.Q6J("ngStyle",e.lcZ(2,2,t.healthData.health.status)),e.xp6(2),e.hij(" ",e.lcZ(4,4,e.lcZ(5,6,t.healthData.health.status))," ")}}function Yg(n,s){if(1&n&&(e.TgZ(0,"cd-info-card",15),e.YNc(1,o2,9,10,"ng-container",16),e.YNc(2,s2,6,8,"ng-container",16),e.qZA()),2&n){const t=e.oxw(3);e.xp6(1),e.Q6J("ngIf",(null==t.healthData.health||null==t.healthData.health.checks?null:t.healthData.health.checks.length)>0),e.xp6(1),e.Q6J("ngIf",!(null!=t.healthData.health&&null!=t.healthData.health.checks&&t.healthData.health.checks.length))}}function _D(n,s){if(1&n&&(e.TgZ(0,"cd-info-card",24),e._uU(1),e.qZA()),2&n){const t=e.oxw(3);e.xp6(1),e.hij(" ",t.healthData.hosts," total ")}}function Sy(n,s){if(1&n&&(e.TgZ(0,"cd-info-card",25),e._uU(1),e.ALo(2,"monSummary"),e.qZA()),2&n){const t=e.oxw(3);e.xp6(1),e.hij(" ",e.lcZ(2,1,t.healthData.mon_status)," ")}}function mD(n,s){if(1&n&&(e.TgZ(0,"span",28),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("ngClass",t.class),e.xp6(1),e.hij(" ",t.content," ")}}function Ub(n,s){if(1&n&&(e.TgZ(0,"cd-info-card",26),e.YNc(1,mD,2,2,"span",27),e.qZA()),2&n){const t=s.ngIf;e.xp6(1),e.Q6J("ngForOf",t)}}function Yb(n,s){if(1&n&&(e.TgZ(0,"span",31),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("ngClass",t.class)("title",null!=t.titleText?t.titleText:""),e.xp6(1),e.hij(" ",t.content," ")}}function gD(n,s){if(1&n&&(e.TgZ(0,"cd-info-card",29),e.YNc(1,Yb,2,3,"span",30),e.ALo(2,"mgrSummary"),e.qZA()),2&n){const t=e.oxw(3);e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,1,t.healthData.mgr_map))}}function za(n,s){if(1&n&&(e.TgZ(0,"cd-info-card",32),e._uU(1),e.qZA()),2&n){const t=e.oxw(3);e.xp6(1),e.hij(" ",t.healthData.rgw," total ")}}function a2(n,s){if(1&n&&(e.TgZ(0,"span",31),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("ngClass",t.class)("title",null!==t.titleText?t.titleText:""),e.xp6(1),e.hij(" ",t.content," ")}}function l2(n,s){if(1&n&&(e.TgZ(0,"cd-info-card",33),e.YNc(1,a2,2,3,"span",30),e.qZA()),2&n){const t=s.ngIf;e.Q6J("contentClass",(t.length>1?"text-area-size-2":"")+" content-highlight"),e.xp6(1),e.Q6J("ngForOf",t)}}const u2=function(n){return{"card-text-error":n}};function W1(n,s){if(1&n&&(e.TgZ(0,"cd-info-card",34),e._uU(1),e._UZ(2,"span",35),e._uU(3),e.TgZ(4,"span",28),e._uU(5),e.qZA()()),2&n){const t=e.oxw(3);e.xp6(1),e.hij(" ",t.healthData.iscsi_daemons.up+t.healthData.iscsi_daemons.down," total "),e.xp6(2),e.hij(" ",t.healthData.iscsi_daemons.up," up, "),e.xp6(1),e.Q6J("ngClass",e.VKq(4,u2,t.healthData.iscsi_daemons.down>0)),e.xp6(1),e.hij("",t.healthData.iscsi_daemons.down," down")}}function c2(n,s){if(1&n&&(e.TgZ(0,"cd-info-group",6),e.YNc(1,Yg,3,2,"cd-info-card",7),e.YNc(2,_D,2,1,"cd-info-card",8),e.YNc(3,Sy,3,3,"cd-info-card",9),e.YNc(4,Ub,2,1,"cd-info-card",10),e.ALo(5,"osdSummary"),e.YNc(6,gD,3,3,"cd-info-card",11),e.YNc(7,za,2,1,"cd-info-card",12),e.YNc(8,l2,2,2,"cd-info-card",13),e.ALo(9,"mdsSummary"),e.YNc(10,W1,6,6,"cd-info-card",14),e.qZA()),2&n){const t=e.oxw().ngIf,o=e.oxw();e.xp6(1),e.Q6J("ngIf",null==o.healthData.health?null:o.healthData.health.status),e.xp6(1),e.Q6J("ngIf",null!=o.healthData.hosts),e.xp6(1),e.Q6J("ngIf",o.healthData.mon_status),e.xp6(1),e.Q6J("ngIf",e.lcZ(5,8,o.healthData.osd_map)),e.xp6(2),e.Q6J("ngIf",o.healthData.mgr_map),e.xp6(1),e.Q6J("ngIf",t.rgw&&null!=(null==o.healthData?null:o.healthData.rgw)),e.xp6(1),e.Q6J("ngIf",e.lcZ(9,10,t.cephfs&&o.healthData.fs_map)),e.xp6(2),e.Q6J("ngIf",t.iscsi&&null!=(null==o.healthData?null:o.healthData.iscsi_daemons))}}function J1(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"cd-info-card",42)(1,"cd-health-pie",43),e.NdJ("prepareFn",function(l){return e.CHM(t),e.oxw(3).prepareRawUsage(l[0],l[1])}),e.qZA()()}if(2&n){const t=e.oxw(3);e.xp6(1),e.Q6J("data",t.healthData)("config",t.rawCapacityChartConfig)("isBytesData",!0)}}function Q1(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"cd-info-card",44)(1,"cd-health-pie",45),e.NdJ("prepareFn",function(l){return e.CHM(t),e.oxw(3).prepareObjects(l[0],l[1])}),e.qZA()()}if(2&n){const t=e.oxw(3);e.xp6(1),e.Q6J("data",t.healthData)}}function wd(n,s){1&n&&e.GkF(0)}function vD(n,s){if(1&n&&(e.TgZ(0,"li"),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.xp6(1),e.AsE(" ",t.key,": ",t.value," ")}}function jb(n,s){if(1&n&&(e.YNc(0,wd,1,0,"ng-container",20),e.TgZ(1,"ul"),e.YNc(2,vD,2,2,"li",21),e.ALo(3,"keyvalue"),e.qZA()),2&n){e.oxw(3);const t=e.MAs(5),o=e.oxw();e.Q6J("ngTemplateOutlet",t),e.xp6(2),e.Q6J("ngForOf",e.lcZ(3,2,o.healthData.pg_info.statuses))}}function d2(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"cd-info-card",46),e.YNc(1,jb,4,4,"ng-template",null,47,e.W1O),e.TgZ(3,"div",48)(4,"div",49)(5,"cd-health-pie",50),e.NdJ("prepareFn",function(l){return e.CHM(t),e.oxw(3).preparePgStatus(l[0],l[1])}),e.qZA()()()()}if(2&n){const t=e.MAs(2),o=e.oxw(3);e.xp6(4),e.Q6J("ngbPopover",t),e.xp6(1),e.Q6J("data",o.healthData)("config",o.pgStatusChartConfig)}}function f2(n,s){if(1&n&&(e.TgZ(0,"cd-info-card",51),e._uU(1),e.qZA()),2&n){const t=e.oxw(3);e.xp6(1),e.hij(" ",t.healthData.pools.length," ")}}function Gb(n,s){if(1&n&&(e.TgZ(0,"cd-info-card",52),e._uU(1),e.ALo(2,"dimless"),e.qZA()),2&n){const t=e.oxw(3);e.xp6(1),e.hij(" ",e.lcZ(2,1,t.healthData.pg_info.pgs_per_osd)," ")}}function Vb(n,s){if(1&n&&(e.TgZ(0,"cd-info-group",36),e.YNc(1,J1,2,3,"cd-info-card",37),e.YNc(2,Q1,2,1,"cd-info-card",38),e.YNc(3,d2,6,3,"cd-info-card",39),e.YNc(4,f2,2,1,"cd-info-card",40),e.YNc(5,Gb,3,3,"cd-info-card",41),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",t.healthData.df),e.xp6(1),e.Q6J("ngIf",null!=(null==t.healthData.pg_info||null==t.healthData.pg_info.object_stats?null:t.healthData.pg_info.object_stats.num_objects)),e.xp6(1),e.Q6J("ngIf",t.healthData.pg_info),e.xp6(1),e.Q6J("ngIf",t.healthData.pools),e.xp6(1),e.Q6J("ngIf",t.healthData.pg_info)}}function Zb(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"cd-info-card",58)(1,"cd-health-pie",50),e.NdJ("prepareFn",function(l){return e.CHM(t),e.oxw(3).prepareReadWriteRatio(l[0],l[1])}),e.qZA()()}if(2&n){const t=e.oxw(3);e.xp6(1),e.Q6J("data",t.healthData)("config",t.clientStatsConfig)}}function zb(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"cd-info-card",59)(1,"cd-health-pie",50),e.NdJ("prepareFn",function(l){return e.CHM(t),e.oxw(3).prepareClientThroughput(l[0],l[1])}),e.qZA()()}if(2&n){const t=e.oxw(3);e.xp6(1),e.Q6J("data",t.healthData)("config",t.clientStatsConfig)}}function p2(n,s){if(1&n&&(e.TgZ(0,"cd-info-card",60),e._uU(1),e.ALo(2,"dimlessBinary"),e.qZA()),2&n){const t=e.oxw(3);e.xp6(1),e.hij(" ",e.lcZ(2,1,t.healthData.client_perf.recovering_bytes_per_sec)+"/s"," ")}}function h2(n,s){if(1&n&&(e.TgZ(0,"cd-info-card",61),e._uU(1),e.qZA()),2&n){const t=e.oxw(3);e.xp6(1),e.hij(" ",t.healthData.scrub_status," ")}}function _2(n,s){if(1&n&&(e.TgZ(0,"cd-info-group",53),e.YNc(1,Zb,2,2,"cd-info-card",54),e.YNc(2,zb,2,2,"cd-info-card",55),e.YNc(3,p2,3,3,"cd-info-card",56),e.YNc(4,h2,2,1,"cd-info-card",57),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",t.healthData.client_perf),e.xp6(1),e.Q6J("ngIf",t.healthData.client_perf),e.xp6(1),e.Q6J("ngIf",t.healthData.client_perf),e.xp6(1),e.Q6J("ngIf",t.healthData.scrub_status)}}const Av=function(n){return[n]};function m2(n,s){if(1&n&&(e.ynx(0),e.TgZ(1,"p",62),e.tHW(2,63),e._UZ(3,"i",28)(4,"a",64),e.N_p(),e.qZA(),e.BQk()),2&n){const t=e.oxw(3);e.xp6(3),e.Q6J("ngClass",e.VKq(1,Av,t.icons.infoCircle))}}function g2(n,s){if(1&n&&e.YNc(0,m2,5,3,"ng-container",16),2&n){const t=e.oxw(2);e.Q6J("ngIf",t.permissions.log.read)}}function v2(n,s){if(1&n&&(e.TgZ(0,"div",1),e.YNc(1,c2,11,12,"cd-info-group",2),e.YNc(2,Vb,6,5,"cd-info-group",3),e.YNc(3,_2,5,4,"cd-info-group",4),e.YNc(4,g2,1,1,"ng-template",null,5,e.W1O),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",(null==t.healthData.health?null:t.healthData.health.status)||t.healthData.mon_status||t.healthData.osd_map||t.healthData.mgr_map||null!=t.healthData.hosts||null!=t.healthData.rgw||t.healthData.fs_map||null!=t.healthData.iscsi_daemons),e.xp6(1),e.Q6J("ngIf",t.healthData.pools||t.healthData.df||t.healthData.pg_info),e.xp6(1),e.Q6J("ngIf",t.healthData.client_perf||t.healthData.scrub_status)}}let X1=(()=>{class n{constructor(t,o,l,_,C,x,N,V,Q){this.healthService=t,this.osdService=o,this.authStorageService=l,this.pgCategoryService=_,this.featureToggles=C,this.refreshIntervalService=x,this.dimlessBinary=N,this.dimless=V,this.cssHelper=Q,this.osdSettings=new x_,this.interval=new oc.w,this.icons=wo.P,this.clientStatsConfig={colors:[{backgroundColor:[this.cssHelper.propertyValue("chart-color-cyan"),this.cssHelper.propertyValue("chart-color-purple")]}]},this.rawCapacityChartConfig={colors:[{backgroundColor:[this.cssHelper.propertyValue("chart-color-blue"),this.cssHelper.propertyValue("chart-color-gray")]}]},this.pgStatusChartConfig={options:{events:[""]}},this.permissions=this.authStorageService.getPermissions(),this.enabledFeature$=this.featureToggles.get()}ngOnInit(){this.interval=this.refreshIntervalService.intervalData$.subscribe(()=>{this.getHealth()}),this.osdService.getOsdSettings().pipe((0,Uh.q)(1)).subscribe(t=>{this.osdSettings=t})}ngOnDestroy(){this.interval.unsubscribe()}getHealth(){this.healthService.getMinimalHealth().subscribe(t=>{this.healthData=t})}prepareReadWriteRatio(t){const o=[],l=[],_=this.healthData.client_perf.write_op_per_sec+this.healthData.client_perf.read_op_per_sec;o.push(`${"Reads"}: ${this.dimless.transform(this.healthData.client_perf.read_op_per_sec)} ${"/s"}`),l.push(this.calcPercentage(this.healthData.client_perf.read_op_per_sec,_)),o.push(`${"Writes"}: ${this.dimless.transform(this.healthData.client_perf.write_op_per_sec)} ${"/s"}`),l.push(this.calcPercentage(this.healthData.client_perf.write_op_per_sec,_)),t.labels=o,t.dataset[0].data=l,t.dataset[0].label=`${this.dimless.transform(_)}\n${"IOPS"}`}prepareClientThroughput(t){const o=[],l=[],_=this.healthData.client_perf.read_bytes_sec+this.healthData.client_perf.write_bytes_sec;o.push(`${"Reads"}: ${this.dimlessBinary.transform(this.healthData.client_perf.read_bytes_sec)}${"/s"}`),l.push(this.calcPercentage(this.healthData.client_perf.read_bytes_sec,_)),o.push(`${"Writes"}: ${this.dimlessBinary.transform(this.healthData.client_perf.write_bytes_sec)}${"/s"}`),l.push(this.calcPercentage(this.healthData.client_perf.write_bytes_sec,_)),t.labels=o,t.dataset[0].data=l,t.dataset[0].label=`${this.dimlessBinary.transform(_).replace(" ","\n")}${"/s"}`}prepareRawUsage(t,o){const l=this.calcPercentage(o.df.stats.total_bytes-o.df.stats.total_used_raw_bytes,o.df.stats.total_bytes),_=this.calcPercentage(o.df.stats.total_used_raw_bytes,o.df.stats.total_bytes);this.color=_/100>=this.osdSettings.nearfull_ratio?"chart-color-red":_/100>=this.osdSettings.full_ratio?"chart-color-yellow":"chart-color-blue",this.rawCapacityChartConfig.colors[0].backgroundColor[0]=this.cssHelper.propertyValue(this.color),t.dataset[0].data=[_,l],t.labels=[`${"Used"}: ${this.dimlessBinary.transform(o.df.stats.total_used_raw_bytes)}`,`${"Avail."}: ${this.dimlessBinary.transform(o.df.stats.total_bytes-o.df.stats.total_used_raw_bytes)}`],t.dataset[0].label=`${_}%\nof ${this.dimlessBinary.transform(o.df.stats.total_bytes)}`}preparePgStatus(t,o){const l={};let _=0;Sr().forEach(o.pg_info.statuses,(C,x)=>{const N=this.pgCategoryService.getTypeByStates(x);Sr().isUndefined(l[N])&&(l[N]=0),l[N]+=C,_+=C});for(const C of this.pgCategoryService.getAllTypes())Sr().isUndefined(l[C])&&(l[C]=0);t.dataset[0].data=this.pgCategoryService.getAllTypes().map(C=>this.calcPercentage(l[C],_)),t.labels=[`${"Clean"}: ${this.dimless.transform(l.clean)}`,`${"Working"}: ${this.dimless.transform(l.working)}`,`${"Warning"}: ${this.dimless.transform(l.warning)}`,`${"Unknown"}: ${this.dimless.transform(l.unknown)}`],t.dataset[0].label=`${_}\n${"PGs"}`}prepareObjects(t,o){const l=o.pg_info.object_stats.num_object_copies,C=this.calcPercentage(l-o.pg_info.object_stats.num_objects_misplaced-o.pg_info.object_stats.num_objects_degraded-o.pg_info.object_stats.num_objects_unfound,l),x=this.calcPercentage(o.pg_info.object_stats.num_objects_misplaced,l),N=this.calcPercentage(o.pg_info.object_stats.num_objects_degraded,l),V=this.calcPercentage(o.pg_info.object_stats.num_objects_unfound,l);t.labels=[`${"Healthy"}: ${C}%`,`${"Misplaced"}: ${x}%`,`${"Degraded"}: ${N}%`,`${"Unfound"}: ${V}%`],t.dataset[0].data=[C,x,N,V],t.dataset[0].label=`${this.dimless.transform(o.pg_info.object_stats.num_objects)}\n${"objects"}`}isClientReadWriteChartShowable(){return(this.healthData.client_perf.read_op_per_sec||0)+(this.healthData.client_perf.write_op_per_sec||0)>0}calcPercentage(t,o){return Sr().isNumber(t)&&Sr().isNumber(o)&&0!==o?Math.ceil(t/o*100*100)/100:0}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Nb),e.Y36(ic),e.Y36(Vi.j),e.Y36(Pb.j),e.Y36(Bg.l),e.Y36(yy),e.Y36(Rr.$),e.Y36(br.n),e.Y36(Bm.P))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-health"]],decls:2,vars:3,consts:function(){let s,t,o,l,_,C,x,N,V,Q,oe,le,me,ye,$e,Ne,ke,we,G,Dt,bt;return s="Status",t="Capacity",o="Performance",l="Cluster Status",_="Hosts",C="Monitors",x="OSDs",N="Managers",V="Object Gateways",Q="Metadata Servers",oe="iSCSI Gateways",le="Raw Capacity",me="Objects",ye="PG Status",$e="Pools",Ne="PGs per OSD",ke="Client Read/Write",we="Client Throughput",G="Recovery Throughput",Dt="Scrubbing",bt="" + "\ufffd#3\ufffd" + "" + "\ufffd/#3\ufffd" + " See " + "\ufffd#4\ufffd" + "Logs" + "\ufffd/#4\ufffd" + " for more details.",[["class","container-fluid",4,"ngIf"],[1,"container-fluid"],["groupTitle",s,4,"ngIf"],["groupTitle",t,4,"ngIf"],["groupTitle",o,4,"ngIf"],["logsLink",""],["groupTitle",s],["cardTitle",l,"class","cd-status-card","contentClass","content-highlight",4,"ngIf"],["cardTitle",_,"link","/hosts","class","cd-status-card","contentClass","content-highlight",4,"ngIf"],["cardTitle",C,"link","/monitor","class","cd-status-card","contentClass","content-highlight",4,"ngIf"],["cardTitle",x,"link","/osd","class","cd-status-card","contentClass","content-highlight",4,"ngIf"],["cardTitle",N,"class","cd-status-card","contentClass","content-highlight",4,"ngIf"],["cardTitle",V,"link","/rgw/daemon","class","cd-status-card","contentClass","content-highlight",4,"ngIf"],["cardTitle",Q,"class","cd-status-card",3,"contentClass",4,"ngIf"],["cardTitle",oe,"link","/block/iscsi","class","cd-status-card","contentClass","content-highlight",4,"ngIf"],["cardTitle",l,"contentClass","content-highlight",1,"cd-status-card"],[4,"ngIf"],["healthChecks",""],["popoverClass","info-card-popover-cluster-status",1,"info-card-content-clickable",3,"ngStyle","ngbPopover"],["class","fa fa-exclamation-triangle",4,"ngIf"],[4,"ngTemplateOutlet"],[4,"ngFor","ngForOf"],[3,"ngStyle"],[1,"fa","fa-exclamation-triangle"],["cardTitle",_,"link","/hosts","contentClass","content-highlight",1,"cd-status-card"],["cardTitle",C,"link","/monitor","contentClass","content-highlight",1,"cd-status-card"],["cardTitle",x,"link","/osd","contentClass","content-highlight",1,"cd-status-card"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],["cardTitle",N,"contentClass","content-highlight",1,"cd-status-card"],[3,"ngClass","title",4,"ngFor","ngForOf"],[3,"ngClass","title"],["cardTitle",V,"link","/rgw/daemon","contentClass","content-highlight",1,"cd-status-card"],["cardTitle",Q,1,"cd-status-card",3,"contentClass"],["cardTitle",oe,"link","/block/iscsi","contentClass","content-highlight",1,"cd-status-card"],[1,"card-text-line-break"],["groupTitle",t],["cardTitle",le,"class","cd-capacity-card cd-chart-card","contentClass","content-chart",4,"ngIf"],["cardTitle",me,"class","cd-capacity-card cd-chart-card","contentClass","content-chart",4,"ngIf"],["cardTitle",ye,"class","cd-capacity-card cd-chart-card","contentClass","content-chart",4,"ngIf"],["cardTitle",$e,"link","/pool","class","cd-capacity-card","contentClass","content-highlight",4,"ngIf"],["cardTitle",Ne,"class","cd-capacity-card","contentClass","content-highlight",4,"ngIf"],["cardTitle",le,"contentClass","content-chart",1,"cd-capacity-card","cd-chart-card"],[3,"data","config","isBytesData","prepareFn"],["cardTitle",me,"contentClass","content-chart",1,"cd-capacity-card","cd-chart-card"],[3,"data","prepareFn"],["cardTitle",ye,"contentClass","content-chart",1,"cd-capacity-card","cd-chart-card"],["pgStatus",""],[1,"pg-status-popover-wrapper"],[3,"ngbPopover"],[3,"data","config","prepareFn"],["cardTitle",$e,"link","/pool","contentClass","content-highlight",1,"cd-capacity-card"],["cardTitle",Ne,"contentClass","content-highlight",1,"cd-capacity-card"],["groupTitle",o],["cardTitle",ke,"class","cd-performance-card cd-chart-card","contentClass","content-chart",4,"ngIf"],["cardTitle",we,"class","cd-performance-card cd-chart-card","contentClass","content-chart",4,"ngIf"],["cardTitle",G,"class","cd-performance-card","contentClass","content-highlight",4,"ngIf"],["cardTitle",Dt,"class","cd-performance-card","contentClass","content-highlight",4,"ngIf"],["cardTitle",ke,"contentClass","content-chart",1,"cd-performance-card","cd-chart-card"],["cardTitle",we,"contentClass","content-chart",1,"cd-performance-card","cd-chart-card"],["cardTitle",G,"contentClass","content-highlight",1,"cd-performance-card"],["cardTitle",Dt,"contentClass","content-highlight",1,"cd-performance-card"],[1,"logs-link"],bt,["routerLink","/logs"]]},template:function(t,o){1&t&&(e.YNc(0,v2,6,3,"div",0),e.ALo(1,"async")),2&t&&e.Q6J("ngIf",e.lcZ(1,1,o.healthData&&o.enabledFeature$))},directives:[p.O5,QC,e2,p.tP,p.sg,p.PC,Pr.o8,p.mk,r2,Io.yS],pipes:[p.Ov,z1,p.gd,Fb,Lb,kb,$b,Hb,p.Nd,br.n,Rr.$],styles:['cd-info-card[_ngcontent-%COMP%]{padding:0 .5vw}  cd-health .pg-status-popover-wrapper{position:relative}  cd-health .pg-status-popover-wrapper .popover{max-height:20vh;max-width:unset!important;min-width:unset!important;position:absolute;width:116%}  cd-health .pg-status-popover-wrapper .popover .popover-body{font-size:1rem;max-height:19vh;max-width:100%}.logs-link[_ngcontent-%COMP%]{text-align:center}.logs-link[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#25828e}.card-text-error[_ngcontent-%COMP%]{color:#c9190b;display:inline}.card-text-line-break[_ngcontent-%COMP%]:after{content:"\\a";white-space:pre}.popover-info[_ngcontent-%COMP%]:hover{cursor:pointer}']}),n})();var ug=(()=>{return(n=ug||(ug={})).USEDCAPACITY="ceph_cluster_total_used_bytes",n.IPS="sum(rate(ceph_osd_op_w_in_bytes[$interval]))",n.OPS="sum(rate(ceph_osd_op_r_out_bytes[$interval]))",n.READLATENCY="avg_over_time(ceph_osd_apply_latency_ms[$interval])",n.WRITELATENCY="avg_over_time(ceph_osd_commit_latency_ms[$interval])",n.READCLIENTTHROUGHPUT="sum(rate(ceph_pool_rd_bytes[$interval]))",n.WRITECLIENTTHROUGHPUT="sum(rate(ceph_pool_wr_bytes[$interval]))",n.RECOVERYBYTES="sum(rate(ceph_osd_recovery_bytes[$interval]))",ug;var n})(),Ym=i(74255);const Wb=["*"];let y2=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-card"]],inputs:{cardTitle:"cardTitle"},ngContentSelectors:Wb,decls:5,vars:1,consts:[[1,"card","shadow-sm","flex-fill"],[1,"card-title","mt-4","ms-4","mb-0"],[1,"card-body","ps-0","pe-0"]],template:function(t,o){1&t&&(e.F$t(),e.TgZ(0,"div",0)(1,"h4",1),e._uU(2),e.qZA(),e.TgZ(3,"div",2),e.Hsn(4),e.qZA()()),2&t&&(e.xp6(2),e.hij(" ",o.cardTitle," "))},styles:[".card-body[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-evenly}"]}),n})();var gm=i(85770);let Dv=(()=>{class n{constructor(t,o){this.cssHelper=t,this.dimlessBinary=o,this.chartConfig={chartType:"doughnut",labels:["","",""],dataset:[{label:null,backgroundColor:[this.cssHelper.propertyValue("chart-color-light-gray"),this.cssHelper.propertyValue("chart-color-slight-dark-gray"),this.cssHelper.propertyValue("chart-color-dark-gray")]},{label:null,borderWidth:0,backgroundColor:[this.cssHelper.propertyValue("chart-color-blue"),this.cssHelper.propertyValue("chart-color-white")]}],options:{cutoutPercentage:70,events:["click","mouseout","touchstart"],legend:{display:!0,position:"right",labels:{boxWidth:10,usePointStyle:!1,generateLabels:l=>{const _={0:{},1:{},2:{}};return _[0]={text:"Used: " + l.data.datasets[1].data[2] + "",fillStyle:l.data.datasets[1].backgroundColor[0],strokeStyle:l.data.datasets[1].backgroundColor[0]},_[1]={text:"Warning: " + l.data.datasets[0].data[0] + "%",fillStyle:l.data.datasets[0].backgroundColor[1],strokeStyle:l.data.datasets[0].backgroundColor[1]},_[2]={text:"Danger: " + (l.data.datasets[0].data[0] + l.data.datasets[0].data[1]) + "%",fillStyle:l.data.datasets[0].backgroundColor[2],strokeStyle:l.data.datasets[0].backgroundColor[2]},_}}},plugins:{center_text:!0},tooltips:{enabled:!0,displayColors:!1,backgroundColor:this.cssHelper.propertyValue("chart-color-tooltip-background"),cornerRadius:0,bodyFontSize:14,bodyFontStyle:"600",position:"nearest",xPadding:12,yPadding:12,filter:l=>1===l.datasetIndex,callbacks:{label:(l,_)=>{let C=_.labels[l.index];return C.includes("%")||(C=`${C} (${_.datasets[l.datasetIndex].data[l.index]}%)`),C}}},title:{display:!1}}},this.doughnutChartPlugins=[{id:"center_text",beforeDraw(l){const _=new Bm.P,C="Helvetica Neue, Helvetica, Arial, sans-serif";Ib.defaults.global.defaultFontFamily=C;const x=l.ctx;if(!l.options.plugins.center_text||!l.data.datasets[0].label)return;x.save();const N=l.data.datasets[0].label[0].split("\n"),V=(l.chartArea.left+l.chartArea.right)/2,Q=(l.chartArea.top+l.chartArea.bottom)/2;x.textAlign="center",x.textBaseline="middle",x.font=`24px ${C}`,x.fillText(N[0],V,Q-10),N.length>1&&(x.font=`14px ${C}`,x.fillStyle=_.propertyValue("chart-color-center-text-description"),x.fillText(N[1],V,Q+10)),x.restore()}}]}ngOnInit(){this.prepareRawUsage(this.chartConfig,this.data)}ngOnChanges(){this.prepareRawUsage(this.chartConfig,this.data)}prepareRawUsage(t,o){const l=100*this.lowThreshold,_=100*this.highThreshold,C=this.calcPercentage(o.max-o.current,o.max),x=this.calcPercentage(o.current,o.max);this.color=x>=_?"chart-color-red":x>=l?"chart-color-yellow":"chart-color-blue",t.dataset[0].data=[Math.round(l),Math.round(Math.abs(l-_)),Math.round(100-_)],t.dataset[1].data=[x,C,this.dimlessBinary.transform(o.current)],t.dataset[1].backgroundColor[0]=this.cssHelper.propertyValue(this.color),t.dataset[0].label=[`${x}%\nof ${this.dimlessBinary.transform(o.max)}`]}calcPercentage(t,o){return Sr().isNumber(t)&&Sr().isNumber(o)&&0!==o?Math.ceil(t/o*100*100)/100:0}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Bm.P),e.Y36(Rr.$))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-dashboard-pie"]],inputs:{data:"data",highThreshold:"highThreshold",lowThreshold:"lowThreshold"},features:[e.TTD],decls:6,vars:6,consts:[[1,"chart-container"],["baseChart","",1,"chart-canvas",3,"datasets","chartType","options","labels","colors","plugins"],["chartCanvas",""],[1,"chartjs-tooltip"],["chartTooltip",""]],template:function(t,o){1&t&&(e.TgZ(0,"div",0),e._UZ(1,"canvas",1,2),e.TgZ(3,"div",3,4),e._UZ(5,"table"),e.qZA()()),2&t&&(e.xp6(1),e.Q6J("datasets",o.chartConfig.dataset)("chartType",o.chartConfig.chartType)("options",o.chartConfig.options)("labels",o.chartConfig.labels)("colors",o.chartConfig.colors)("plugins",o.doughnutChartPlugins))},directives:[Us.jh],styles:['.chart-container[_ngcontent-%COMP%]{cursor:pointer;margin:auto;overflow:visible;position:absolute}canvas[_ngcontent-%COMP%]{user-select:none}.chartjs-tooltip[_ngcontent-%COMP%]{background:rgba(0,0,0,.7);border-radius:3px;color:#fff;font-family:Helvetica Neue,Helvetica,Arial,sans-serif!important;opacity:0;pointer-events:none;position:absolute;transform:translate(-50%);transition:all .1s ease}.chartjs-tooltip.transform-left[_ngcontent-%COMP%]{transform:translate(-10%)}.chartjs-tooltip.transform-left[_ngcontent-%COMP%]:after{left:10%}.chartjs-tooltip.transform-right[_ngcontent-%COMP%]{transform:translate(-90%)}.chartjs-tooltip.transform-right[_ngcontent-%COMP%]:after{left:90%}.chartjs-tooltip[_ngcontent-%COMP%]:after{border-color:#000 transparent transparent transparent;border-style:solid;border-width:5px;content:" ";left:50%;margin-left:-5px;position:absolute;top:100%}  .chartjs-tooltip-key{display:inline-block;height:10px;margin-right:10px;width:10px}.chart-container[_ngcontent-%COMP%]{height:100%;margin-left:auto;margin-right:auto;position:unset;width:100%}.chart-canvas[_ngcontent-%COMP%]{height:100%;margin-left:auto;margin-right:auto;max-height:100%;max-width:100%;position:unset;width:100%}']}),n})();function E2(n,s){if(1&n&&e.SDv(0,12,1),2&n){const t=e.oxw(2);e.pQV(t.title),e.QtT(0)}}function b2(n,s){if(1&n&&e.SDv(0,12,2),2&n){const t=e.oxw(2);e.pQV(t.title),e.QtT(0)}}function S2(n,s){if(1&n&&e.SDv(0,12,3),2&n){const t=e.oxw(2);e.pQV(t.title),e.QtT(0)}}function Jb(n,s){if(1&n&&(e.TgZ(0,"a",11),e.tHW(1,12),e.YNc(2,E2,1,1,"ng-template",13),e.YNc(3,b2,1,1,"ng-template",14),e.YNc(4,S2,1,1,"ng-template",15),e.N_p(),e.qZA()),2&n){const t=e.oxw();e.Q6J("routerLink",t.link)("ngPlural",t.total),e.xp6(4),e.pQV(t.total),e.QtT(1)}}function Qb(n,s){1&n&&e.GkF(0)}function Xb(n,s){if(1&n&&(e.ynx(0),e.YNc(1,Qb,1,0,"ng-container",16),e.BQk()),2&n){e.oxw();const t=e.MAs(13);e.xp6(1),e.Q6J("ngTemplateOutlet",t)}}function T2(n,s){1&n&&e.GkF(0)}function Kb(n,s){if(1&n&&(e.ynx(0),e.YNc(1,T2,1,0,"ng-container",16),e.BQk()),2&n){e.oxw();const t=e.MAs(11);e.xp6(1),e.Q6J("ngTemplateOutlet",t)}}function C2(n,s){1&n&&e.GkF(0)}function M2(n,s){if(1&n&&(e.ynx(0),e.YNc(1,C2,1,0,"ng-container",16),e.BQk()),2&n){e.oxw();const t=e.MAs(15);e.xp6(1),e.Q6J("ngTemplateOutlet",t)}}function yD(n,s){1&n&&e.GkF(0)}function ED(n,s){if(1&n&&(e.ynx(0),e.YNc(1,yD,1,0,"ng-container",16),e.BQk()),2&n){e.oxw();const t=e.MAs(9);e.xp6(1),e.Q6J("ngTemplateOutlet",t)}}function bD(n,s){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw(3);e.xp6(1),e.hij(" ",t.data.success," ")}}function SD(n,s){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw(3);e.xp6(1),e.hij(" ",null==t.data.categoryPgAmount?null:t.data.categoryPgAmount.clean," ")}}const vm=function(n){return[n]};function K1(n,s){if(1&n&&(e.TgZ(0,"span"),e.YNc(1,bD,2,1,"span",17),e.YNc(2,SD,2,1,"span",17),e._UZ(3,"i",19),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",t.data.success||0===t.data.success&&0===t.data.total),e.xp6(1),e.Q6J("ngIf",null==t.data.categoryPgAmount?null:t.data.categoryPgAmount.clean),e.xp6(1),e.Q6J("ngClass",e.VKq(3,vm,t.icons.success))}}function O2(n,s){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw(3);e.xp6(1),e.hij(" ",t.data.info," ")}}function A2(n,s){if(1&n&&(e.TgZ(0,"span",20),e.YNc(1,O2,2,1,"span",17),e._UZ(2,"i",21),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",t.data.info),e.xp6(1),e.Q6J("ngClass",e.VKq(2,vm,t.icons.danger))}}function qb(n,s){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw(3);e.xp6(1),e.hij(" ",t.data.warn," ")}}function xv(n,s){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw(3);e.xp6(1),e.hij(" ",null==t.data.categoryPgAmount?null:t.data.categoryPgAmount.warning," ")}}function D2(n,s){if(1&n&&(e.TgZ(0,"span",20),e.YNc(1,qb,2,1,"span",17),e.YNc(2,xv,2,1,"span",17),e._UZ(3,"i",22),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",t.data.warn),e.xp6(1),e.Q6J("ngIf",null==t.data.categoryPgAmount?null:t.data.categoryPgAmount.warning),e.xp6(1),e.Q6J("ngClass",e.VKq(3,vm,t.icons.warning))}}function x2(n,s){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw(3);e.xp6(1),e.hij(" ",t.data.error," ")}}function R2(n,s){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw(3);e.xp6(1),e.hij(" ",null==t.data.categoryPgAmount?null:t.data.categoryPgAmount.unknown," ")}}function w2(n,s){if(1&n&&(e.TgZ(0,"span",20),e.YNc(1,x2,2,1,"span",17),e.YNc(2,R2,2,1,"span",17),e._UZ(3,"i",23),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",t.data.error),e.xp6(1),e.Q6J("ngIf",null==t.data.categoryPgAmount?null:t.data.categoryPgAmount.unknown),e.xp6(1),e.Q6J("ngClass",e.VKq(3,vm,t.icons.danger))}}function P2(n,s){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw(3);e.xp6(1),e.hij(" ",null==t.data.categoryPgAmount?null:t.data.categoryPgAmount.working," ")}}const eS=function(n,s){return[n,s]};function N2(n,s){if(1&n&&(e.TgZ(0,"span",20),e.YNc(1,P2,2,1,"span",17),e._UZ(2,"i",22),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",null==t.data.categoryPgAmount?null:t.data.categoryPgAmount.working),e.xp6(1),e.Q6J("ngClass",e.WLB(2,eS,t.icons.spinner,t.icons.spin))}}function I2(n,s){if(1&n&&(e.YNc(0,K1,4,5,"span",17),e.YNc(1,A2,3,4,"span",18),e.YNc(2,D2,4,5,"span",18),e.YNc(3,w2,4,5,"span",18),e.YNc(4,N2,3,5,"span",18)),2&n){const t=e.oxw();e.Q6J("ngIf",t.data.success||(null==t.data.categoryPgAmount?null:t.data.categoryPgAmount.clean)||0===t.data.success&&0===t.data.total),e.xp6(1),e.Q6J("ngIf",t.data.info),e.xp6(1),e.Q6J("ngIf",t.data.warn||(null==t.data.categoryPgAmount?null:t.data.categoryPgAmount.warning)),e.xp6(1),e.Q6J("ngIf",t.data.error||(null==t.data.categoryPgAmount?null:t.data.categoryPgAmount.unknown)),e.xp6(1),e.Q6J("ngIf",null==t.data.categoryPgAmount?null:t.data.categoryPgAmount.working)}}function jg(n,s){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e._UZ(2,"i",19),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.hij(" ",t.data.up," "),e.xp6(1),e.Q6J("ngClass",e.VKq(2,vm,t.icons.success))}}function F2(n,s){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.TgZ(2,"span",24),e._uU(3," up "),e.qZA()()),2&n){const t=e.oxw(2);e.xp6(1),e.hij(" ",t.data.up," ")}}function tS(n,s){if(1&n&&(e.TgZ(0,"span",20),e._uU(1),e.TgZ(2,"span",24),e._uU(3," in "),e.qZA()()),2&n){const t=e.oxw(2);e.xp6(1),e.hij(" ",t.data.in," ")}}function L2(n,s){if(1&n&&(e.TgZ(0,"span",20),e._uU(1),e.TgZ(2,"span",25),e._uU(3," down "),e.qZA()()),2&n){const t=e.oxw(2);e.xp6(1),e.hij(" ",t.data.down," ")}}function nS(n,s){if(1&n&&(e.TgZ(0,"span",20),e._uU(1),e.TgZ(2,"span",25),e._uU(3," out "),e.qZA()()),2&n){const t=e.oxw(2);e.xp6(1),e.hij(" ",t.data.out," ")}}function k2(n,s){if(1&n&&(e.TgZ(0,"span",20),e._uU(1),e.TgZ(2,"span",26),e._uU(3," nearfull"),e.qZA()()),2&n){const t=e.oxw(2);e.xp6(1),e.hij(" ",t.data.nearfull," ")}}function rS(n,s){if(1&n&&(e.TgZ(0,"span",20),e._uU(1),e.TgZ(2,"span",27),e._uU(3," full "),e.qZA()()),2&n){const t=e.oxw(2);e.xp6(1),e.hij(" ",t.data.full," ")}}function $2(n,s){if(1&n&&(e.YNc(0,jg,3,4,"span",17),e.YNc(1,F2,4,1,"span",17),e.YNc(2,tS,4,1,"span",18),e.YNc(3,L2,4,1,"span",18),e.YNc(4,nS,4,1,"span",18),e.YNc(5,k2,4,1,"span",18),e.YNc(6,rS,4,1,"span",18)),2&n){const t=e.oxw();e.Q6J("ngIf",t.data.up===t.data.in),e.xp6(1),e.Q6J("ngIf",t.data.up!==t.data.in),e.xp6(1),e.Q6J("ngIf",t.data.in!==t.data.up),e.xp6(1),e.Q6J("ngIf",t.data.down),e.xp6(1),e.Q6J("ngIf",t.data.out),e.xp6(1),e.Q6J("ngIf",t.data.nearfull),e.xp6(1),e.Q6J("ngIf",t.data.full)}}function Ty(n,s){if(1&n&&e._UZ(0,"i",19),2&n){const t=e.oxw(2);e.Q6J("ngClass",e.VKq(1,vm,t.icons.success))}}function H2(n,s){if(1&n&&(e.TgZ(0,"span",20),e._uU(1),e._UZ(2,"i",23),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.hij(" ",t.data.down," "),e.xp6(1),e.Q6J("ngClass",e.VKq(2,vm,t.icons.danger))}}function iS(n,s){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.YNc(2,Ty,1,3,"i",28),e.qZA(),e.YNc(3,H2,3,4,"span",18)),2&n){const t=e.oxw();e.xp6(1),e.hij(" ",t.data.up," "),e.xp6(1),e.Q6J("ngIf",t.data.up||0===t.data.up),e.xp6(1),e.Q6J("ngIf",t.data.down)}}function oS(n,s){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e._UZ(2,"i",19),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.hij(" ",t.data," "),e.xp6(1),e.Q6J("ngClass",e.VKq(2,vm,t.icons.success))}}function B2(n,s){if(1&n&&e._uU(0),2&n){const t=e.oxw(3);e.Oqu(t.title)}}function U2(n,s){if(1&n&&e._uU(0),2&n){const t=e.oxw(3);e.Oqu(t.title)}}function Y2(n,s){if(1&n&&e._uU(0),2&n){const t=e.oxw(3);e.hij("",t.title,"s")}}function Cy(n,s){if(1&n&&(e.TgZ(0,"span",30),e._uU(1),e.YNc(2,B2,1,1,"ng-template",13),e.YNc(3,U2,1,1,"ng-template",14),e.YNc(4,Y2,1,1,"ng-template",15),e.qZA()),2&n){const t=e.oxw(2);e.Q6J("ngPlural",t.total),e.xp6(1),e.hij(" ",t.total," ")}}function j2(n,s){if(1&n&&e.YNc(0,Cy,5,2,"span",29),2&n){const t=e.oxw();e.Q6J("ngIf",t.total||0===t.total)}}let sS=(()=>{class n{constructor(){this.summaryType="default",this.icons=wo.P}ngOnChanges(){this.total=this.data.total||0===this.data.total?this.data.total:"iscsi"===this.summaryType?this.data.up+this.data.down||0:this.data}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-card-row"]],inputs:{title:"title",link:"link",data:"data",summaryType:"summaryType"},features:[e.TTD],decls:18,vars:6,consts:function(){let s;return s=" " + "\ufffd0\ufffd" + " " + "\ufffd*2:1\ufffd" + "" + "[\ufffd0:1\ufffd|\ufffd0:2\ufffd|\ufffd0:3\ufffd]" + "" + "[\ufffd/*2:1\ufffd|\ufffd/*3:2\ufffd|\ufffd/*4:3\ufffd]" + "" + "\ufffd*3:2\ufffd" + "" + "[\ufffd0:1\ufffd|\ufffd0:2\ufffd|\ufffd0:3\ufffd]" + "" + "[\ufffd/*2:1\ufffd|\ufffd/*3:2\ufffd|\ufffd/*4:3\ufffd]" + "" + "\ufffd*4:3\ufffd" + "" + "[\ufffd0:1\ufffd|\ufffd0:2\ufffd|\ufffd0:3\ufffd]" + "s" + "[\ufffd/*2:1\ufffd|\ufffd/*3:2\ufffd|\ufffd/*4:3\ufffd]" + "",s=e.Zx4(s),[[1,"d-flex","pl-1","pb-2","pt-2"],[1,"ms-2","me-auto"],[3,"routerLink","ngPlural",4,"ngIf","ngIfElse"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["defaultSummary",""],["osdSummary",""],["iscsiSummary",""],["simplifiedSummary",""],["noLinkTitle",""],[3,"routerLink","ngPlural"],s,["ngPluralCase","=0"],["ngPluralCase","=1"],["ngPluralCase","other"],[4,"ngTemplateOutlet"],[4,"ngIf"],["class","ms-2",4,"ngIf"],[1,"text-success",3,"ngClass"],[1,"ms-2"],[1,"text-info",3,"ngClass"],[1,"text-warning",3,"ngClass"],[1,"text-danger",3,"ngClass"],[1,"fw-bold","text-success"],[1,"fw-bold","text-danger","me-2"],[1,"fw-bold","text-warning","me-2"],[1,"fw-bold","text-danger"],["class","text-success",3,"ngClass",4,"ngIf"],[3,"ngPlural",4,"ngIf"],[3,"ngPlural"]]},template:function(t,o){if(1&t&&(e.TgZ(0,"div",0)(1,"div",1),e.YNc(2,Jb,5,3,"a",2),e.qZA(),e.ynx(3,3),e.YNc(4,Xb,2,1,"ng-container",4),e.YNc(5,Kb,2,1,"ng-container",4),e.YNc(6,M2,2,1,"ng-container",4),e.YNc(7,ED,2,1,"ng-container",5),e.BQk(),e.qZA(),e.YNc(8,I2,5,5,"ng-template",null,6,e.W1O),e.YNc(10,$2,7,7,"ng-template",null,7,e.W1O),e.YNc(12,iS,4,3,"ng-template",null,8,e.W1O),e.YNc(14,oS,3,4,"ng-template",null,9,e.W1O),e.YNc(16,j2,1,1,"ng-template",null,10,e.W1O)),2&t){const l=e.MAs(17);e.xp6(2),e.Q6J("ngIf",o.link&&o.total>0)("ngIfElse",l),e.xp6(1),e.Q6J("ngSwitch",o.summaryType),e.xp6(1),e.Q6J("ngSwitchCase","iscsi"),e.xp6(1),e.Q6J("ngSwitchCase","osd"),e.xp6(1),e.Q6J("ngSwitchCase","simplified")}},directives:[p.O5,Io.yS,p.iq,p.zE,p.RF,p.n9,p.tP,p.ED,p.mk],styles:[""]}),n})();function G2(n,s){if(1&n&&(e.TgZ(0,"option",3),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("ngValue",t.value),e.xp6(1),e.hij("",t.name," ")}}let V2=(()=>{class n{constructor(){this.selectedTime=new e.vpe,this.times=[{name:"Last 5 minutes",value:this.timeToDate(300,1)},{name:"Last 15 minutes",value:this.timeToDate(900,3)},{name:"Last 30 minutes",value:this.timeToDate(1800,6)},{name:"Last 1 hour",value:this.timeToDate(3600,12)},{name:"Last 3 hours",value:this.timeToDate(10800,36)},{name:"Last 6 hours",value:this.timeToDate(21600,72)},{name:"Last 12 hours",value:this.timeToDate(43200,144)},{name:"Last 24 hours",value:this.timeToDate(86400,288)},{name:"Last 2 days",value:this.timeToDate(172800,576)},{name:"Last 7 days",value:this.timeToDate(604800,2016)}],this.time=this.times[3].value}emitTime(){this.selectedTime.emit(this.timeToDate(this.time.end-this.time.start,this.time.step))}timeToDate(t,o){return{start:ls()().unix()-t,end:ls()().unix(),step:o}}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-dashboard-time-selector"]],outputs:{selectedTime:"selectedTime"},decls:3,vars:2,consts:[[1,"timeSelector"],["id","timepicker","name","timepicker",1,"form-select",3,"ngModel","ngModelChange"],[3,"ngValue",4,"ngFor","ngForOf"],[3,"ngValue"]],template:function(t,o){1&t&&(e.TgZ(0,"div",0)(1,"select",1),e.NdJ("ngModelChange",function(_){return o.time=_})("ngModelChange",function(){return o.emitTime()}),e.YNc(2,G2,2,2,"option",2),e.qZA()()),2&t&&(e.xp6(1),e.Q6J("ngModel",o.time),e.xp6(1),e.Q6J("ngForOf",o.times))},directives:[ge.o,En.EJ,En.JJ,En.On,p.sg,En.YN,En.Kr],styles:["select#timepicker[_ngcontent-%COMP%]{border:0}.timeSelector[_ngcontent-%COMP%]{position:absolute;right:18px;top:20px;width:12rem}"]}),n})();var Z2=i(20044);let z2=(()=>{class n{constructor(t,o,l,_,C){this.cssHelper=t,this.dimlessBinary=o,this.dimlessBinaryPerSecond=l,this.dimlessPipe=_,this.formatter=C,this.chartData={dataset:[{label:"",data:[{x:0,y:0}],tension:0,pointBackgroundColor:this.cssHelper.propertyValue("chart-color-strong-blue"),backgroundColor:this.cssHelper.propertyValue("chart-color-translucent-blue"),borderColor:this.cssHelper.propertyValue("chart-color-strong-blue")},{label:"",data:[],tension:0,pointBackgroundColor:this.cssHelper.propertyValue("chart-color-orange"),backgroundColor:this.cssHelper.propertyValue("chart-color-yellow"),borderColor:this.cssHelper.propertyValue("chart-color-orange")}]},this.options={responsive:!0,maintainAspectRatio:!1,elements:{point:{radius:0}},legend:{display:!1},tooltips:{intersect:!1,displayColors:!0,backgroundColor:this.cssHelper.propertyValue("chart-color-tooltip-background"),callbacks:{title:function(x){return x[0].xLabel}}},hover:{intersect:!1},scales:{xAxes:[{display:!1,type:"time",gridLines:{display:!1},time:{tooltipFormat:"YYYY/MM/DD hh:mm:ss"}}],yAxes:[{gridLines:{display:!1},ticks:{beginAtZero:!0,maxTicksLimit:3,callback:x=>0===x?null:this.fillString(this.convertUnits(x))}}]},plugins:{borderArea:!0,chartAreaBorder:{borderColor:this.cssHelper.propertyValue("chart-color-slight-dark-gray"),borderWidth:2}}},this.chartAreaBorderPlugin=[{beforeDraw(x){if(!x.options.plugins.borderArea)return;const{ctx:N,chartArea:{left:V,top:Q,right:oe,bottom:le}}=x;N.save(),N.strokeStyle=x.options.plugins.chartAreaBorder.borderColor,N.lineWidth=x.options.plugins.chartAreaBorder.borderWidth,N.setLineDash(x.options.plugins.chartAreaBorder.borderDash||[]),N.lineDashOffset=x.options.plugins.chartAreaBorder.borderDashOffset,N.strokeRect(V,Q,oe-V-1,le),N.restore()}}]}ngOnInit(){this.currentData=Number(this.chartData.dataset[0].data[this.chartData.dataset[0].data.length-1].y),this.data2&&(this.currentData2=Number(this.chartData.dataset[1].data[this.chartData.dataset[1].data.length-1].y))}ngOnChanges(){this.data&&(this.setChartTicks(),this.chartData.dataset[0].data=this.formatData(this.data),this.chartData.dataset[0].label=this.label,[this.currentData,this.currentDataUnits]=this.convertUnits(this.data[this.data.length-1][1]).split(" ")),this.data2&&(this.chartData.dataset[1].data=this.formatData(this.data2),this.chartData.dataset[1].label=this.label2,[this.currentData2,this.currentDataUnits2]=this.convertUnits(this.data2[this.data2.length-1][1]).split(" "))}ngAfterViewInit(){this.data&&this.setChartTicks()}formatData(t){let o={};return o=t.map(l=>({x:1e3*l[0],y:Number(this.convertUnits(l[1]).replace(/[^\d,.]+/g,""))})),o}convertUnits(t){let o;return o="bytes"===this.dataUnits?this.dimlessBinary.transform(t):"bytesPerSecond"===this.dataUnits?this.dimlessBinaryPerSecond.transform(t):"ms"===this.dataUnits?this.formatter.format_number(t,1e3,["ms","s"]):this.dimlessPipe.transform(t),o}fillString(t){let o=8,l=t.length;for(t.length<4&&(o=11);l<o;l++)t="\xa0"+t;return t+"\xa0\xa0"}setChartTicks(){if(this.chart&&this.maxValue){let[o,l]=this.convertUnits(this.maxValue).split(" ");this.chart.chart.options.scales.yAxes[0].ticks.suggestedMax=o,this.chart.chart.options.scales.yAxes[0].ticks.suggestedMin=0,this.chart.chart.options.scales.yAxes[0].ticks.stepSize=Number((o/2).toFixed(0)),this.chart.chart.options.scales.yAxes[0].ticks.callback=_=>0===_?null:this.fillString(`${_} ${l}`),this.chart.chart.update()}else if(this.chart&&this.data){let o=0,l="",_=Math.max(...this.data.map(C=>C[1]));if(this.data2){var t=Math.max(...this.data2.map(C=>C[1]));[o,l]=this.convertUnits(Math.max(_,t)).split(" ")}else[o,l]=this.convertUnits(Math.max(_)).split(" ");this.chart.chart.options.scales.yAxes[0].ticks.suggestedMax=1.2*o,this.chart.chart.options.scales.yAxes[0].ticks.suggestedMin=0,this.chart.chart.options.scales.yAxes[0].ticks.stepSize=Number((1.2*o/2).toFixed(0)),this.chart.chart.options.scales.yAxes[0].ticks.callback=C=>0===C?null:this.fillString(l?`${C} ${l}`:`${C}`),this.chart.chart.update()}}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Bm.P),e.Y36(Rr.$),e.Y36(Z2.O),e.Y36(br.n),e.Y36(Wc.H))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-dashboard-area-chart"]],viewQuery:function(t,o){if(1&t&&e.Gf(Us.jh,5),2&t){let l;e.iGM(l=e.CRH())&&(o.chart=l.first)}},inputs:{chartTitle:"chartTitle",maxValue:"maxValue",dataUnits:"dataUnits",data:"data",data2:"data2",label:"label",label2:"label2"},features:[e.TTD],decls:14,vars:11,consts:function(){let s,t,o;return s="" + "\ufffd0\ufffd" + "",t="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",o="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",[[1,"row"],[1,"col-3","center-text"],[1,"chartTitle"],s,[3,"ngbTooltip"],t,o,[1,"col-9"],[1,"chart"],["baseChart","",3,"datasets","options","chartType","plugins"]]},template:function(t,o){1&t&&(e.TgZ(0,"div",0)(1,"div",1),e._UZ(2,"br"),e.TgZ(3,"b",2),e.SDv(4,3),e.qZA(),e._UZ(5,"br"),e.TgZ(6,"span",4),e.SDv(7,5),e.qZA(),e._UZ(8,"br"),e.TgZ(9,"span",4),e.SDv(10,6),e.qZA()(),e.TgZ(11,"div",7)(12,"div",8),e._UZ(13,"canvas",9),e.qZA()()()),2&t&&(e.xp6(4),e.pQV(o.chartTitle),e.QtT(4),e.xp6(2),e.Q6J("ngbTooltip",o.label),e.xp6(1),e.pQV(o.currentData)(o.currentDataUnits),e.QtT(7),e.xp6(2),e.Q6J("ngbTooltip",o.label2),e.xp6(1),e.pQV(o.currentData2)(o.currentDataUnits2),e.QtT(10),e.xp6(3),e.Q6J("datasets",o.chartData.dataset)("options",o.options)("chartType","line")("plugins",o.chartAreaBorderPlugin))},directives:[Pr._L,Us.jh],styles:[".center-text[_ngcontent-%COMP%]{margin-top:1.2vw;position:relative}.chart[_ngcontent-%COMP%]{height:8vh;margin-top:15px}"]}),n})();var W2=i(45246),J2=i(40473),Q2=i(67891);let X2=(()=>{class n{constructor(t){this.pgCategoryService=t}transform(t){const o={};let l=0;return Sr().forEach(t.statuses,(_,C)=>{const x=this.pgCategoryService.getTypeByStates(C);Sr().isUndefined(o[x])&&(o[x]=0),o[x]+=_,l+=_}),{categoryPgAmount:o,total:l}}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Pb.j,16))},n.\u0275pipe=e.Yjl({name:"pgSummary",type:n,pure:!0}),n})();var My=i(8074);function Oy(n,s){1&n&&e.GkF(0)}function aS(n,s){if(1&n&&(e.TgZ(0,"li")(1,"span",37),e.ALo(2,"healthColor"),e._uU(3),e.qZA(),e._uU(4),e.qZA()),2&n){const t=s.$implicit;e.xp6(1),e.ekj("health-warn-description","HEALTH_WARN"===t.severity),e.Q6J("ngStyle",e.lcZ(2,5,t.severity)),e.xp6(2),e.hij(" ",t.type,""),e.xp6(1),e.hij(": ",t.summary.message," ")}}function lS(n,s){if(1&n&&(e.YNc(0,Oy,1,0,"ng-container",35),e.TgZ(1,"ul"),e.YNc(2,aS,5,7,"li",36),e.qZA()),2&n){const t=e.oxw(2),o=e.MAs(5);e.Q6J("ngTemplateOutlet",o),e.xp6(2),e.Q6J("ngForOf",t.healthData.health.checks)}}const q1=function(n,s){return[n,s]};function uS(n,s){if(1&n&&(e._UZ(0,"i",38),e.ALo(1,"healthIcon"),e.ALo(2,"healthColor")),2&n){const t=e.oxw(2);e.Q6J("ngClass",e.WLB(7,q1,e.lcZ(1,3,t.healthData.health.status),t.icons.large2x))("ngStyle",e.lcZ(2,5,t.healthData.health.status))("title",t.healthData.health.status)}}function cS(n,s){if(1&n&&(e.TgZ(0,"a",39),e.SDv(1,40),e.qZA()),2&n){e.oxw();const t=e.MAs(19);e.Q6J("ngbPopover",t)}}function K2(n,s){1&n&&(e.TgZ(0,"span",41),e.SDv(1,42),e.qZA())}const e0=function(n){return{active:n}},Rv=function(n){return[n]};function dS(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"button",52),e.NdJ("click",function(){return e.CHM(t),e.oxw(3).toggleAlertsWindow("danger")}),e._UZ(1,"i",53),e.TgZ(2,"span"),e._uU(3),e.qZA()()}if(2&n){const t=e.oxw(3);e.Q6J("ngClass",e.VKq(3,e0,t.showAlerts&&"critical"===t.alertType)),e.xp6(1),e.Q6J("ngClass",e.VKq(5,Rv,t.icons.danger)),e.xp6(2),e.Oqu(t.prometheusAlertService.activeCriticalAlerts)}}function Ay(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"button",54),e.NdJ("click",function(){return e.CHM(t),e.oxw(3).toggleAlertsWindow("warning")}),e._UZ(1,"i",53),e.TgZ(2,"span"),e._uU(3),e.qZA()()}if(2&n){const t=e.oxw(3);e.Q6J("ngClass",e.VKq(3,e0,t.showAlerts&&"warning"===t.alertType)),e.xp6(1),e.Q6J("ngClass",e.VKq(5,Rv,t.icons.infoCircle)),e.xp6(2),e.Oqu(t.prometheusAlertService.activeWarningAlerts)}}function q2(n,s){1&n&&e.GkF(0)}function eM(n,s){if(1&n&&(e.TgZ(0,"div",55),e._UZ(1,"hr",56),e.TgZ(2,"ngx-simplebar",57)(3,"div",58),e.YNc(4,q2,1,0,"ng-container",35),e.qZA()()()),2&n){const t=e.oxw(3),o=e.MAs(3);e.xp6(2),e.Q6J("options",t.simplebar),e.xp6(2),e.Q6J("ngTemplateOutlet",o)}}function Dy(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"section",43)(1,"div",44)(2,"span",45),e.SDv(3,46),e.qZA(),e.YNc(4,dS,4,7,"button",47),e.YNc(5,Ay,4,7,"button",48),e.TgZ(6,"div",49)(7,"button",50),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).toggleAlertsWindow("danger","true")}),e.qZA()()(),e.YNc(8,eM,5,2,"div",51),e.qZA()}if(2&n){const t=e.oxw(2);e.xp6(4),e.Q6J("ngIf",(null==t.prometheusAlertService?null:t.prometheusAlertService.activeCriticalAlerts)>0),e.xp6(1),e.Q6J("ngIf",(null==t.prometheusAlertService?null:t.prometheusAlertService.activeWarningAlerts)>0),e.xp6(2),e.uIk("aria-expanded",t.showAlerts),e.xp6(1),e.Q6J("ngIf",t.showAlerts)}}const tM=function(n,s){return{max:n,current:s}};function fS(n,s){if(1&n&&(e.ynx(0,6),e._UZ(1,"cd-dashboard-pie",59),e.BQk()),2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("data",e.WLB(3,tM,t.capacity.total_bytes,t.capacity.total_used_raw_bytes))("lowThreshold",t.osdSettings.nearfull_ratio)("highThreshold",t.osdSettings.full_ratio)}}function pS(n,s){if(1&n&&e._UZ(0,"cd-card-row",60),2&n){const t=e.oxw(2);e.Q6J("data",t.healthData.hosts)}}function hS(n,s){if(1&n&&e._UZ(0,"cd-card-row",61),2&n){const t=e.oxw(2);e.Q6J("data",t.healthData.mon_status.monmap.mons.length)}}function nM(n,s){if(1&n&&(e._UZ(0,"cd-card-row",63),e.ALo(1,"mgrSummary")),2&n){const t=e.oxw(3);e.Q6J("data",e.lcZ(1,1,t.healthData.mgr_map))}}function _S(n,s){if(1&n&&(e.TgZ(0,"li",18),e.YNc(1,nM,2,3,"cd-card-row",62),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",t.healthData.mgr_map)}}function TD(n,s){if(1&n&&(e._UZ(0,"cd-card-row",64),e.ALo(1,"osdSummary")),2&n){const t=e.oxw(2);e.Q6J("data",e.lcZ(1,1,t.healthData.osd_map))}}function rM(n,s){if(1&n&&e._UZ(0,"cd-card-row",66),2&n){const t=e.oxw(3);e.Q6J("data",t.healthData.pools.length)}}function t0(n,s){if(1&n&&(e.TgZ(0,"li",18),e.YNc(1,rM,1,1,"cd-card-row",65),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",t.healthData.pools)}}function iM(n,s){if(1&n&&(e._UZ(0,"cd-card-row",67),e.ALo(1,"pgSummary")),2&n){const t=e.oxw(2);e.Q6J("data",e.lcZ(1,1,t.healthData.pg_info))}}function Gg(n,s){if(1&n&&e._UZ(0,"cd-card-row",70),2&n){const t=e.oxw(3);e.Q6J("data",t.healthData.rgw)}}function wv(n,s){if(1&n&&(e.TgZ(0,"li",68),e.YNc(1,Gg,1,1,"cd-card-row",69),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",t.healthData.rgw||0===t.healthData.rgw)}}function oM(n,s){if(1&n&&(e._UZ(0,"cd-card-row",73),e.ALo(1,"mdsSummary")),2&n){const t=e.oxw(3);e.Q6J("data",e.lcZ(1,1,t.healthData.fs_map))}}function CD(n,s){if(1&n&&(e.TgZ(0,"li",71),e.YNc(1,oM,2,3,"cd-card-row",72),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",t.healthData.fs_map)}}function mS(n,s){if(1&n&&e._UZ(0,"cd-card-row",76),2&n){const t=e.oxw(3);e.Q6J("data",t.healthData.iscsi_daemons)}}function sM(n,s){if(1&n&&(e.TgZ(0,"li",74),e.YNc(1,mS,1,1,"cd-card-row",75),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",t.healthData.iscsi_daemons)}}function aM(n,s){if(1&n&&(e.ynx(0),e._UZ(1,"cd-dashboard-area-chart",77),e.BQk()),2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("maxValue",t.capacity.total_bytes)("data",t.queriesResults.USEDCAPACITY)}}const gS=function(n){return{"d-flex":n}};function lM(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",3)(1,"div",4)(2,"cd-card",5)(3,"dl",6)(4,"dt"),e._uU(5,"FSID"),e.qZA(),e.TgZ(6,"dd"),e._uU(7),e.qZA(),e.TgZ(8,"dt"),e._uU(9,"Orchestrator"),e.qZA(),e.TgZ(10,"dd"),e.SDv(11,7),e.qZA(),e.TgZ(12,"dt"),e._uU(13,"Ceph version"),e.qZA(),e.TgZ(14,"dd"),e._uU(15),e.qZA()()(),e.TgZ(16,"cd-card",8)(17,"div",9),e.YNc(18,lS,3,2,"ng-template",null,10,e.W1O),e.YNc(20,uS,3,10,"i",11),e.YNc(21,cS,2,1,"a",12),e.YNc(22,K2,2,0,"span",13),e.qZA(),e.YNc(23,Dy,9,4,"section",14),e.qZA(),e.TgZ(24,"cd-card",15),e.YNc(25,fS,2,6,"ng-container",16),e.qZA()(),e.TgZ(26,"div",4)(27,"cd-card",17),e._UZ(28,"hr"),e.TgZ(29,"li",18),e.YNc(30,pS,1,1,"cd-card-row",19),e.qZA(),e._UZ(31,"hr"),e.TgZ(32,"li",18),e.YNc(33,hS,1,1,"cd-card-row",20),e.qZA(),e._UZ(34,"hr"),e.YNc(35,_S,2,1,"li",21),e._UZ(36,"hr"),e.TgZ(37,"li",18),e.YNc(38,TD,2,3,"cd-card-row",22),e.qZA(),e._UZ(39,"hr"),e.YNc(40,t0,2,1,"li",21),e._UZ(41,"hr"),e.TgZ(42,"li",18),e.YNc(43,iM,2,3,"cd-card-row",23),e.qZA(),e._UZ(44,"hr"),e.YNc(45,wv,2,1,"li",24),e._UZ(46,"hr"),e.YNc(47,CD,2,1,"li",25),e._UZ(48,"hr"),e.YNc(49,sM,2,1,"li",26),e.qZA(),e.TgZ(50,"cd-card",27)(51,"div",28)(52,"cd-dashboard-time-selector",29),e.NdJ("selectedTime",function(l){return e.CHM(t),e.oxw().getPrometheusData(l)}),e.qZA(),e.YNc(53,aM,2,2,"ng-container",30),e._UZ(54,"cd-dashboard-area-chart",31)(55,"cd-dashboard-area-chart",32)(56,"cd-dashboard-area-chart",33)(57,"cd-dashboard-area-chart",34),e.qZA()()()()}if(2&n){const t=s.ngIf,o=e.oxw();e.xp6(2),e.Q6J("ngClass",e.VKq(27,gS,o.flexHeight)),e.xp6(5),e.Oqu(o.detailsCardData.fsid),e.xp6(4),e.pQV(o.detailsCardData.orchestrator||"Orchestrator is not available"),e.QtT(11),e.xp6(4),e.Oqu(o.detailsCardData.cephVersion),e.xp6(5),e.Q6J("ngIf",null==o.healthData.health?null:o.healthData.health.status),e.xp6(1),e.Q6J("ngIf",null==o.healthData.health||null==o.healthData.health.checks?null:o.healthData.health.checks.length),e.xp6(1),e.Q6J("ngIf",!(null!=o.healthData.health&&null!=o.healthData.health.checks&&o.healthData.health.checks.length)),e.xp6(1),e.Q6J("ngIf",o.isAlertmanagerConfigured&&(o.prometheusAlertService.activeCriticalAlerts||o.prometheusAlertService.activeWarningAlerts)),e.xp6(1),e.Q6J("ngClass",e.VKq(29,gS,o.flexHeight)),e.xp6(1),e.Q6J("ngIf",o.capacity&&o.osdSettings),e.xp6(5),e.Q6J("ngIf",null!=o.healthData.hosts),e.xp6(3),e.Q6J("ngIf",o.healthData.mon_status),e.xp6(2),e.Q6J("ngIf",o.healthData.mgr_map),e.xp6(3),e.Q6J("ngIf",o.healthData.osd_map),e.xp6(2),e.Q6J("ngIf",o.healthData.pools),e.xp6(3),e.Q6J("ngIf",o.healthData.pg_info),e.xp6(2),e.Q6J("ngIf",t.rgw&&null!=o.healthData.rgw),e.xp6(2),e.Q6J("ngIf",t.cephfs&&o.healthData.fs_map),e.xp6(2),e.Q6J("ngIf",t.iscsi&&null!=o.healthData.iscsi_daemons),e.xp6(4),e.Q6J("ngIf",o.capacity),e.xp6(1),e.Q6J("data",o.queriesResults.OPS)("data2",o.queriesResults.IPS),e.xp6(1),e.Q6J("data",o.queriesResults.READLATENCY)("data2",o.queriesResults.WRITELATENCY),e.xp6(1),e.Q6J("data",o.queriesResults.READCLIENTTHROUGHPUT)("data2",o.queriesResults.WRITECLIENTTHROUGHPUT),e.xp6(1),e.Q6J("data",o.queriesResults.RECOVERYBYTES)}}const xy=function(n,s,t){return[n,s,t]};function uM(n,s){if(1&n&&(e.TgZ(0,"div",53)(1,"div",79)(2,"div",80)(3,"div",81)(4,"span",53),e._UZ(5,"i",53)(6,"i",53),e.qZA()(),e.TgZ(7,"div",82)(8,"div",58)(9,"h6",83),e._uU(10),e.qZA(),e._UZ(11,"p",84),e.TgZ(12,"p",85)(13,"small",86),e.SDv(14,87),e.ALo(15,"cdDate"),e.ALo(16,"relativeDate"),e.qZA()()()()()(),e._UZ(17,"hr"),e.qZA()),2&n){const t=e.oxw().$implicit,o=e.oxw(2);e.Q6J("ngClass",o.borderClass),e.xp6(4),e.Q6J("ngClass",e.kEZ(12,xy,o.icons.stack,o.icons.large,o.textClass)),e.xp6(1),e.Q6J("ngClass",e.WLB(16,q1,o.icons.circle,o.icons.stack2x)),e.xp6(1),e.Q6J("ngClass",e.kEZ(19,xy,o.icons.stack1x,o.icons.inverse,o.icons.warning)),e.xp6(4),e.Oqu(t.labels.alertname),e.xp6(1),e.Q6J("innerHtml",t.annotations.summary,e.oJD),e.xp6(2),e.Q6J("title",e.lcZ(15,8,t.startsAt)),e.xp6(3),e.pQV(e.lcZ(16,10,t.startsAt)),e.QtT(14)}}function Ry(n,s){if(1&n&&(e.ynx(0),e.YNc(1,uM,18,23,"div",78),e.BQk()),2&n){const t=s.$implicit,o=e.oxw(2);e.xp6(1),e.Q6J("ngIf",o.alertType===t.labels.severity)}}function n0(n,s){if(1&n&&e.YNc(0,Ry,2,1,"ng-container",36),2&n){const t=e.oxw();e.Q6J("ngForOf",t.alerts)}}function Pv(n,s){if(1&n&&(e.ynx(0),e.TgZ(1,"p",88),e.tHW(2,89),e._UZ(3,"i",53)(4,"a",90),e.N_p(),e.qZA(),e.BQk()),2&n){const t=e.oxw(2);e.xp6(3),e.Q6J("ngClass",e.VKq(1,Rv,t.icons.infoCircle))}}function cM(n,s){if(1&n&&e.YNc(0,Pv,5,3,"ng-container",30),2&n){const t=e.oxw();e.Q6J("ngIf",t.permissions.log.read)}}let vS=(()=>{class n extends Mv{constructor(t,o,l,_,C,x,N,V,Q){super(N),this.summaryService=t,this.orchestratorService=o,this.osdService=l,this.authStorageService=_,this.featureToggles=C,this.healthService=x,this.prometheusService=N,this.refreshIntervalService=V,this.prometheusAlertService=Q,this.detailsCardData={},this.interval=new oc.w,this.icons=wo.P,this.showAlerts=!1,this.flexHeight=!0,this.simplebar={autoHide:!1},this.categoryPgAmount={},this.totalPgs=0,this.queriesResults={USEDCAPACITY:"",IPS:"",OPS:"",READLATENCY:"",WRITELATENCY:"",READCLIENTTHROUGHPUT:"",WRITECLIENTTHROUGHPUT:"",RECOVERYBYTES:""},this.timerTime=3e4,this.lastHourDateObject={start:ls()().unix()-3600,end:ls()().unix(),step:12},this.permissions=this.authStorageService.getPermissions(),this.enabledFeature$=this.featureToggles.get()}ngOnInit(){super.ngOnInit(),this.interval=this.refreshIntervalService.intervalData$.subscribe(()=>{this.getHealth(),this.getCapacityCardData()}),this.getPrometheusData(this.lastHourDateObject),this.getDetailsCardData()}ngOnDestroy(){this.interval.unsubscribe(),this.timerGetPrometheusDataSub&&this.timerGetPrometheusDataSub.unsubscribe()}getHealth(){this.healthService.getMinimalHealth().subscribe(t=>{this.healthData=t})}toggleAlertsWindow(t,o=!1){this.triggerPrometheusAlerts(),(o||!this.showAlerts||this.alertType===t&&"danger"!==t||"warning"!==this.alertType&&"danger"===t)&&(this.showAlerts=!this.showAlerts,this.flexHeight=!this.flexHeight),this.alertType="danger"===t?"critical":t,this.textClass=`text-${t}`,this.borderClass=`border-${t}`}getDetailsCardData(){this.healthService.getClusterFsid().subscribe(t=>{this.detailsCardData.fsid=t}),this.orchestratorService.getName().subscribe(t=>{this.detailsCardData.orchestrator=t}),this.summaryService.subscribe(t=>{const o=t.version.replace("ceph version ","").split(" ");this.detailsCardData.cephVersion=o[0]+" "+o.slice(2,o.length).join(" ")})}getCapacityCardData(){this.osdSettingsService=this.osdService.getOsdSettings().pipe((0,Uh.q)(1)).subscribe(t=>{this.osdSettings=t}),this.capacityService=this.healthService.getClusterCapacity().subscribe(t=>{this.capacity=t})}triggerPrometheusAlerts(){this.prometheusService.ifAlertmanagerConfigured(()=>{this.prometheusService.getAlerts().subscribe(t=>{this.alerts=t})})}getPrometheusData(t){this.prometheusService.ifPrometheusConfigured(()=>{this.timerGetPrometheusDataSub&&this.timerGetPrometheusDataSub.unsubscribe(),this.timerGetPrometheusDataSub=(0,ai.H)(0,this.timerTime).subscribe(()=>{t=this.updateTimeStamp(t);for(const o in ug)if(ug.hasOwnProperty(o)){const l=ug[o];let _=t.step;l.includes("rate")&&t.step<20?_=20:l.includes("rate")&&(_=2*t.step);const C=l.replace(/\[(.*?)\]/g,`[${_}s]`);this.prometheusService.getPrometheusData({params:C,start:t.start,end:t.end,step:t.step}).subscribe(x=>{x.result.length&&(this.queriesResults[o]=x.result[0].values)})}})})}updateTimeStamp(t){let o={};return o={start:t.start+this.timerTime/1e3,end:t.end+this.timerTime/1e3,step:t.step},o}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Ym.J),e.Y36(h),e.Y36(ic),e.Y36(Vi.j),e.Y36(Bg.l),e.Y36(Nb),e.Y36(mm),e.Y36(yy),e.Y36(ag))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-dashboard-v3"]],features:[e.qOj],decls:6,vars:3,consts:function(){let s,t,o,l,_,C,x,N;return s="" + "\ufffd0\ufffd" + "",t="Cluster",o="Cluster",l="Alerts",_="Danger",C="Warning",x="Active since: " + "\ufffd0\ufffd" + "",N="" + "\ufffd#3\ufffd" + "" + "\ufffd/#3\ufffd" + " See " + "\ufffd#4\ufffd" + "Logs" + "\ufffd/#4\ufffd" + " for more details.",[["class","container-fluid",4,"ngIf"],["alertsCard",""],["logsLink",""],[1,"container-fluid"],[1,"row","mx-0"],["cardTitle","Details","aria-label","Details card",1,"col-sm-3","px-3",3,"ngClass"],[1,"ms-4","me-4"],s,["cardTitle","Status","aria-label","Status card",1,"col-sm-6","px-3","d-flex"],[1,"d-flex","ms-4","me-4","mb-5","center-content"],["healthChecks",""],[3,"ngClass","ngStyle","title",4,"ngIf"],["class","ms-2 mt-n1 lead text-primary","popoverClass","info-card-popover-cluster-status",3,"ngbPopover",4,"ngIf"],["class","ms-2 mt-n1 lead",4,"ngIf"],["class","border-top mt-5",4,"ngIf"],["cardTitle","Capacity","aria-label","Capacity card",1,"col-sm-3","px-3",3,"ngClass"],["class","ms-4 me-4",4,"ngIf"],["cardTitle","Inventory","aria-label","Inventory card",1,"col-sm-3","px-3","d-flex"],[1,"list-group-item"],["link","/hosts","title","Host","summaryType","simplified",3,"data",4,"ngIf"],["link","/monitor","title","Monitor","summaryType","simplified",3,"data",4,"ngIf"],["class","list-group-item",4,"ngIf"],["link","/osd","title","OSD","summaryType","osd",3,"data",4,"ngIf"],["title","PG",3,"data",4,"ngIf"],["class","list-group-item","id","rgw-item",4,"ngIf"],["class","list-group-item","id","mds-item",4,"ngIf"],["class","list-group-item","id","iscsi-item",4,"ngIf"],["cardTitle","Cluster utilization","aria-label","Cluster utilization card",1,"col-sm-9","px-3","d-flex"],[1,"ms-4","me-4","mt-0"],[3,"selectedTime"],[4,"ngIf"],["chartTitle","IOPS","dataUnits","none","label","OPS","label2","IPS",3,"data","data2"],["chartTitle","Latency","dataUnits","ms","label","Read","label2","Write",3,"data","data2"],["chartTitle","Client Throughput","dataUnits","bytesPerSecond","label","Read","label2","Write",3,"data","data2"],["chartTitle","Recovery Throughput","dataUnits","bytesPerSecond","label","Recovery Throughput",3,"data"],[4,"ngTemplateOutlet"],[4,"ngFor","ngForOf"],[3,"ngStyle"],[3,"ngClass","ngStyle","title"],["popoverClass","info-card-popover-cluster-status",1,"ms-2","mt-n1","lead","text-primary",3,"ngbPopover"],t,[1,"ms-2","mt-n1","lead"],o,[1,"border-top","mt-5"],[1,"d-flex","flex-wrap","ms-4","me-4"],[1,"pt-2"],l,["class","btn btn-outline-danger rounded-pill ms-2","title",_,"id","dangerAlerts",3,"ngClass","click",4,"ngIf"],["class","btn btn-outline-warning rounded-pill ms-2","title",C,"id","warningAlerts",3,"ngClass","click",4,"ngIf"],[1,"pt-0","position-right"],["data-toggle","collapse","aria-label","toggle alert window",1,"btn","btn-block","dropdown-toggle",3,"click"],["class","alerts pt-0",4,"ngIf"],["title",_,"id","dangerAlerts",1,"btn","btn-outline-danger","rounded-pill","ms-2",3,"ngClass","click"],[3,"ngClass"],["title",C,"id","warningAlerts",1,"btn","btn-outline-warning","rounded-pill","ms-2",3,"ngClass","click"],[1,"alerts","pt-0"],[1,"mt-4"],[3,"options"],[1,"card-body","ps-0","pe-1","pt-1"],[3,"data","lowThreshold","highThreshold"],["link","/hosts","title","Host","summaryType","simplified",3,"data"],["link","/monitor","title","Monitor","summaryType","simplified",3,"data"],["title","Manager",3,"data",4,"ngIf"],["title","Manager",3,"data"],["link","/osd","title","OSD","summaryType","osd",3,"data"],["link","/pool","title","Pool","summaryType","simplified",3,"data",4,"ngIf"],["link","/pool","title","Pool","summaryType","simplified",3,"data"],["title","PG",3,"data"],["id","rgw-item",1,"list-group-item"],["link","/rgw/daemon","title","Object Gateway","summaryType","simplified",3,"data",4,"ngIf"],["link","/rgw/daemon","title","Object Gateway","summaryType","simplified",3,"data"],["id","mds-item",1,"list-group-item"],["title","Metadata Server",3,"data",4,"ngIf"],["title","Metadata Server",3,"data"],["id","iscsi-item",1,"list-group-item"],["link","/iscsi/daemon","title","iSCSI Gateway","summaryType","iscsi",3,"data",4,"ngIf"],["link","/iscsi/daemon","title","iSCSI Gateway","summaryType","iscsi",3,"data"],["chartTitle","Used Capacity","dataUnits","bytes","label","Used Capacity",3,"maxValue","data"],[3,"ngClass",4,"ngIf"],[1,"card","tc_alerts","border-0","pt-3"],[1,"row","no-gutters"],[1,"col-sm-1","text-center"],[1,"col-md-11"],[1,"card-title","bold"],[1,"card-text","me-3",3,"innerHtml"],[1,"card-text","text-muted","me-3"],[1,"date",3,"title"],x,[1,"logs-link"],N,["routerLink","/logs"]]},template:function(t,o){1&t&&(e.YNc(0,lM,58,31,"div",0),e.ALo(1,"async"),e.YNc(2,n0,1,1,"ng-template",null,1,e.W1O),e.YNc(4,cM,1,1,"ng-template",null,2,e.W1O)),2&t&&e.Q6J("ngIf",e.lcZ(1,1,o.healthData&&o.enabledFeature$))},directives:[p.O5,y2,p.mk,p.tP,p.sg,p.PC,Pr.o8,ge.o,gm.M,Dv,sS,V2,z2,Io.yS],pipes:[p.Ov,z1,W2.v,J2.c,Q2.H,X2,My.F,Pn.N,Ed.h],styles:['.alerts[_ngcontent-%COMP%]{height:17rem}.alerts[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{padding-top:0}div[_ngcontent-%COMP%]{padding-top:20px}ngx-simplebar[_ngcontent-%COMP%]{height:18rem}hr[_ngcontent-%COMP%]{margin-bottom:2px;margin-top:2px}.position-right[_ngcontent-%COMP%]{margin-left:auto;order:2}.center-content[_ngcontent-%COMP%]{align-items:center;margin-top:30px;position:relative}button.dropdown-toggle[_ngcontent-%COMP%]{position:relative}button.dropdown-toggle[_ngcontent-%COMP%]:after{border:0;content:"\\f054";font-family:ForkAwesome;font-size:1rem;position:absolute;right:20px;transition:transform .3s ease-in-out}button.dropdown-toggle[aria-expanded=true][_ngcontent-%COMP%]:after{transform:rotate(90deg)}button.dropdown-toggle[_ngcontent-%COMP%]:focus{box-shadow:none}.list-group-item[_ngcontent-%COMP%]{border:0}dt[_ngcontent-%COMP%]{font-size:larger;margin-bottom:.3rem}dd[_ngcontent-%COMP%]{font-size:larger;margin-bottom:.8rem}']}),n})();function yS(n,s){1&n&&(e.ynx(0,4),e._UZ(1,"cd-refresh-selector")(2,"cd-health",5),e.BQk())}function dM(n,s){1&n&&e._UZ(0,"cd-dashboard-v3")}let fM=(()=>{class n{constructor(t){this.featureToggles=t,this.enabledFeature$=this.featureToggles.get()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Bg.l))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-dashboard"]],decls:7,vars:4,consts:[["aria-label","Dashboard"],["href","#main",1,"sr-only"],["class","main-padding",4,"ngIf","ngIfElse"],["dashboardV3",""],[1,"main-padding"],["id","main"]],template:function(t,o){if(1&t&&(e.TgZ(0,"main",0)(1,"a",1),e._uU(2,"skip to content"),e.qZA(),e.YNc(3,yS,3,0,"ng-container",2),e.ALo(4,"async"),e.YNc(5,dM,1,0,"ng-template",null,3,e.W1O),e.qZA()),2&t){const l=e.MAs(6);let _;e.xp6(3),e.Q6J("ngIf",!1===(null==(_=e.lcZ(4,2,o.enabledFeature$))?null:_.dashboard))("ngIfElse",l)}},directives:[p.O5,WC,X1,vS],pipes:[p.Ov],styles:["main[_ngcontent-%COMP%]:has(cd-health){padding-top:20px}"]}),n})();var cg=i(5304),pM=i(95152),MD=i(33394),ES=i(40205);let wy=(()=>{class n extends ga.S{constructor(t){super(),this.http=t,this.apiPath="api/nfs-ganesha",this.uiApiPath="ui-api/nfs-ganesha",this.nfsAccessType=[{value:"RW",help:"Allows all operations"},{value:"RO",help:"Allows only operations that do not modify the server"},{value:"NONE",help:"Allows no access at all"}],this.nfsFsal=[{value:"CEPH",descr:"CephFS",disabled:!1},{value:"RGW",descr:"Object Gateway",disabled:!1}],this.nfsSquash={no_root_squash:["no_root_squash","noidsquash","none"],root_id_squash:["root_id_squash","rootidsquash","rootid"],root_squash:["root_squash","rootsquash","root"],all_squash:["all_squash","allsquash","all","allanonymous","all_anonymous"]}}list(){return this.http.get(`${this.apiPath}/export`)}get(t,o){return this.http.get(`${this.apiPath}/export/${t}/${o}`)}create(t){return this.http.post(`${this.apiPath}/export`,t,{headers:{Accept:this.getVersionHeaderValue(2,0)},observe:"response"})}update(t,o,l){return this.http.put(`${this.apiPath}/export/${t}/${o}`,l,{headers:{Accept:this.getVersionHeaderValue(2,0)},observe:"response"})}delete(t,o){return this.http.delete(`${this.apiPath}/export/${t}/${o}`,{headers:{Accept:this.getVersionHeaderValue(2,0)},observe:"response"})}listClusters(){return this.http.get(`${this.apiPath}/cluster`,{headers:{Accept:this.getVersionHeaderValue(0,1)}})}lsDir(t,o){return t?this.http.get(`${this.uiApiPath}/lsdir/${t}?root_dir=${o}`):(0,ES._)("Please specify a filesystem volume.")}fsals(){return this.http.get(`${this.uiApiPath}/fsals`)}filesystems(){return this.http.get(`${this.uiApiPath}/cephfs/filesystems`)}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(g.eN))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var Vg=i(36569);const bS=["squashHelper"];function Zg(n,s){1&n&&(e.TgZ(0,"span",14)(1,"span",15),e.SDv(2,16),e.qZA()())}function OD(n,s){1&n&&(e.TgZ(0,"span"),e.SDv(1,37),e.qZA())}function SS(n,s){1&n&&(e.TgZ(0,"span"),e.ynx(1),e.SDv(2,38),e.BQk(),e._UZ(3,"br"),e.ynx(4),e.SDv(5,39),e.BQk(),e._uU(6," 192.168.0.10, 192.168.1.0/8 "),e.qZA())}function hM(n,s){if(1&n&&(e.TgZ(0,"option",40),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("value",t.value),e.xp6(1),e.Oqu(t.value)}}function AD(n,s){if(1&n&&(e.TgZ(0,"span",15),e._uU(1),e.qZA()),2&n){const t=e.oxw().index,o=e.oxw();e.xp6(1),e.hij(" ",o.getAccessTypeHelp(t)," ")}}function TS(n,s){1&n&&e.GkF(0)}function DD(n,s){if(1&n&&(e.TgZ(0,"option",40),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("value",t),e.xp6(1),e.Oqu(t)}}function CS(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div")(1,"div",17)(2,"div",18),e._uU(3),e.ALo(4,"ordinal"),e.TgZ(5,"span",19),e.NdJ("click",function(){const _=e.CHM(t).index;return e.oxw().removeClient(_)}),e._uU(6,"\xd7"),e.qZA()(),e.TgZ(7,"div",20)(8,"div",0)(9,"label",21),e.SDv(10,22),e.qZA(),e.TgZ(11,"div",23),e._UZ(12,"input",24),e.TgZ(13,"span",25),e.YNc(14,OD,2,0,"span",26),e.YNc(15,SS,7,0,"span",26),e.qZA()()(),e.TgZ(16,"div",0)(17,"label",27),e.SDv(18,28),e.qZA(),e.TgZ(19,"div",23)(20,"select",29)(21,"option",30),e._uU(22),e.qZA(),e.YNc(23,hM,2,2,"option",31),e.qZA(),e.YNc(24,AD,2,1,"span",32),e.qZA()(),e.TgZ(25,"div",0)(26,"label",33)(27,"span"),e.SDv(28,34),e.qZA(),e.YNc(29,TS,1,0,"ng-container",35),e.qZA(),e.TgZ(30,"div",23)(31,"select",36)(32,"option",30),e._uU(33),e.qZA(),e.YNc(34,DD,2,2,"option",31),e.qZA()()()()()()}if(2&n){const t=s.$implicit,o=s.index,l=e.oxw(),_=e.MAs(4);e.xp6(1),e.Q6J("formGroup",t),e.xp6(2),e.hij(" ",e.lcZ(4,10,o+1)," "),e.xp6(11),e.Q6J("ngIf",l.showError(o,"addresses",_,"required")),e.xp6(1),e.Q6J("ngIf",l.showError(o,"addresses",_,"pattern")),e.xp6(7),e.Oqu(l.getNoAccessTypeDescr()),e.xp6(1),e.Q6J("ngForOf",l.nfsAccessType),e.xp6(1),e.Q6J("ngIf",l.getValue(o,"access_type")),e.xp6(5),e.Q6J("ngTemplateOutlet",l.squashHelperTpl),e.xp6(4),e.Oqu(l.getNoSquashDescr()),e.xp6(1),e.Q6J("ngForOf",l.nfsSquash)}}const Py=function(n){return[n]};let MS=(()=>{class n{constructor(t){this.nfsService=t,this.nfsSquash=Object.keys(this.nfsService.nfsSquash),this.nfsAccessType=this.nfsService.nfsAccessType,this.icons=wo.P}ngOnInit(){Sr().forEach(this.clients,t=>{this.addClient().patchValue(t)}),this.clientsFormArray=this.form.get("clients")}getNoAccessTypeDescr(){return this.form.getValue("access_type")?`${this.form.getValue("access_type")} ${"(inherited from global config)"}`:"-- Select the access type --"}getAccessTypeHelp(t){const o=this.nfsAccessType.find(l=>this.getValue(t,"access_type")===l.value);return Sr().isObjectLike(o)?o.help:""}getNoSquashDescr(){return this.form.getValue("squash")?`${this.form.getValue("squash")} (${"inherited from global config"})`:"-- Select what kind of user id squashing is performed --"}addClient(){this.clientsFormArray=this.form.get("clients");const t="(([0-9]{1,3})\\.([0-9]{1,3})\\.([0-9]{1,3}).([0-9]{1,3})([/](\\d|[1-2]\\d|3[0-2]))?)",l=new nc.d({addresses:new En.NI("",{validators:[En.kI.required,En.kI.pattern(`${t}([ ,]{1,2}${t})*`)]}),access_type:new En.NI(""),squash:new En.NI("")});return this.clientsFormArray.push(l),l}removeClient(t){this.clientsFormArray=this.form.get("clients"),this.clientsFormArray.removeAt(t)}showError(t,o,l,_){return this.form.controls.clients.controls[t].showError(o,l,_)}getValue(t,o){return this.clientsFormArray=this.form.get("clients"),this.clientsFormArray.at(t).getValue(o)}trackByFn(t){return t}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(wy))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-nfs-form-client"]],contentQueries:function(t,o,l){if(1&t&&e.Suo(l,bS,7),2&t){let _;e.iGM(_=e.CRH())&&(o.squashHelperTpl=_.first)}},inputs:{form:"form",clients:"clients"},decls:15,vars:7,consts:function(){let s,t,o,l,_,C,x,N,V;return s="Clients",t="Add clients",o="Any client can access",l="Addresses",_="Access Type",C="Squash",x="This field is required.",N="Must contain one or more comma-separated values",V="For example:",[[1,"form-group","row"],[1,"cd-col-form-label"],s,[1,"cd-col-form-input",3,"formGroup"],["formDir","ngForm"],["class","no-border text-muted",4,"ngIf"],["formArrayName","clients"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"row","my-2"],[1,"col-12"],[1,"float-end"],["name","add_client",1,"btn","btn-light",3,"click"],[3,"ngClass"],t,[1,"no-border","text-muted"],[1,"form-text","text-muted"],o,[1,"card",3,"formGroup"],[1,"card-header"],["name","remove_client","ngbTooltip","Remove",1,"float-end","clickable",3,"click"],[1,"card-body"],["for","addresses",1,"cd-col-form-label","required"],l,[1,"cd-col-form-input"],["type","text","name","addresses","id","addresses","formControlName","addresses","placeholder","192.168.0.10, 192.168.1.0/8",1,"form-control"],[1,"invalid-feedback"],[4,"ngIf"],["for","access_type",1,"cd-col-form-label"],_,["name","access_type","id","access_type","formControlName","access_type",1,"form-select"],["value",""],[3,"value",4,"ngFor","ngForOf"],["class","form-text text-muted",4,"ngIf"],["for","squash",1,"cd-col-form-label"],C,[4,"ngTemplateOutlet"],["name","squash","id","squash","formControlName","squash",1,"form-select"],x,N,V,[3,"value"]]},template:function(t,o){1&t&&(e.TgZ(0,"div",0)(1,"label",1),e.SDv(2,2),e.qZA(),e.TgZ(3,"div",3,4),e.YNc(5,Zg,3,0,"span",5),e.ynx(6,6),e.YNc(7,CS,35,12,"div",7),e.BQk(),e.TgZ(8,"div",8)(9,"div",9)(10,"div",10)(11,"button",11),e.NdJ("click",function(){return o.addClient()}),e._UZ(12,"i",12),e.ynx(13),e.SDv(14,13),e.BQk(),e.qZA()()()()()()),2&t&&(e.xp6(3),e.Q6J("formGroup",o.form),e.xp6(2),e.Q6J("ngIf",0===o.form.get("clients").value.length),e.xp6(2),e.Q6J("ngForOf",o.clientsFormArray.controls)("ngForTrackBy",o.trackByFn),e.xp6(5),e.Q6J("ngClass",e.VKq(5,Py,o.icons.add)))},directives:[ll.P,En.JL,En.sg,Ma.V,p.O5,En.CE,p.sg,Pr._L,ge.o,En.Fj,Ll.b,En.JJ,En.u,En.EJ,En.YN,En.Kr,p.tP,p.mk],pipes:[Vg.f],styles:[""]}),n})();const OS=["nfsClients"];function AS(n,s){1&n&&(e.TgZ(0,"option",52),e.SDv(1,53),e.qZA())}function DS(n,s){1&n&&(e.TgZ(0,"option",52),e.SDv(1,54),e.qZA())}function xS(n,s){1&n&&(e.TgZ(0,"option",52),e.SDv(1,55),e.qZA())}function RS(n,s){if(1&n&&(e.TgZ(0,"option",56),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("value",t.cluster_id),e.xp6(1),e.Oqu(t.cluster_id)}}const _M=function(){return["create"]},mM=function(n){return{modal:n}},gM=function(n){return{outlets:n}},vM=function(n){return["/services",n]};function Nv(n,s){1&n&&(e.TgZ(0,"span",57),e.tHW(1,58),e._UZ(2,"a",59),e.N_p(),e.qZA()),2&n&&(e.xp6(2),e.Q6J("routerLink",e.VKq(6,vM,e.VKq(4,gM,e.VKq(2,mM,e.DdM(1,_M))))))}function wS(n,s){1&n&&(e.TgZ(0,"option",52),e.SDv(1,60),e.qZA())}function PS(n,s){1&n&&(e.TgZ(0,"option",52),e.SDv(1,61),e.qZA())}function NS(n,s){1&n&&(e.TgZ(0,"option",52),e.SDv(1,62),e.qZA())}function IS(n,s){if(1&n&&(e.TgZ(0,"option",63),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("value",t.value)("disabled",t.disabled),e.xp6(1),e.Oqu(t.descr)}}function FS(n,s){1&n&&(e.TgZ(0,"span",57),e.SDv(1,64),e.qZA())}function LS(n,s){if(1&n&&(e.TgZ(0,"span",57),e.SDv(1,65),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.pQV(t.fsalAvailabilityError),e.QtT(1)}}function yM(n,s){1&n&&(e.TgZ(0,"option",52),e.SDv(1,69),e.qZA())}function kS(n,s){1&n&&(e.TgZ(0,"option",52),e.SDv(1,70),e.qZA())}function $S(n,s){1&n&&(e.TgZ(0,"option",52),e.SDv(1,71),e.qZA())}function HS(n,s){if(1&n&&(e.TgZ(0,"option",56),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("value",t.name),e.xp6(1),e.Oqu(t.name)}}function EM(n,s){1&n&&(e.TgZ(0,"span",57),e.SDv(1,72),e.qZA())}function bM(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",8)(1,"label",66),e.SDv(2,67),e.qZA(),e.TgZ(3,"div",13)(4,"select",68),e.NdJ("change",function(){return e.CHM(t),e.oxw(2).pathChangeHandler()}),e.YNc(5,yM,2,0,"option",15),e.YNc(6,kS,2,0,"option",15),e.YNc(7,$S,2,0,"option",15),e.YNc(8,HS,2,2,"option",16),e.qZA(),e.YNc(9,EM,2,0,"span",17),e.qZA()()}if(2&n){e.oxw();const t=e.MAs(2),o=e.oxw();e.xp6(5),e.Q6J("ngIf",null===o.allFsNames),e.xp6(1),e.Q6J("ngIf",null!==o.allFsNames&&0===o.allFsNames.length),e.xp6(1),e.Q6J("ngIf",null!==o.allFsNames&&o.allFsNames.length>0),e.xp6(1),e.Q6J("ngForOf",o.allFsNames),e.xp6(1),e.Q6J("ngIf",o.nfsForm.showError("fs_name",t,"required"))}}function Iv(n,s){1&n&&e._UZ(0,"input",79)}function SM(n,s){1&n&&(e.TgZ(0,"span",57),e.SDv(1,80),e.qZA())}const Ny=function(n){return{required:n}};function X_(n,s){if(1&n&&(e.TgZ(0,"div",8)(1,"label",73),e.SDv(2,74),e.qZA(),e.TgZ(3,"div",13)(4,"div",26),e._UZ(5,"input",75),e.TgZ(6,"label",76),e.SDv(7,77),e.qZA()(),e._UZ(8,"br"),e.YNc(9,Iv,1,0,"input",78),e.YNc(10,SM,2,0,"span",17),e.qZA()()),2&n){e.oxw();const t=e.MAs(2),o=e.oxw();e.xp6(1),e.Q6J("ngClass",e.VKq(3,Ny,o.nfsForm.getValue("security_label"))),e.xp6(8),e.Q6J("ngIf",o.nfsForm.getValue("security_label")),e.xp6(1),e.Q6J("ngIf",o.nfsForm.showError("sec_label_xattr",t,"required"))}}function TM(n,s){1&n&&(e.TgZ(0,"span",57),e.SDv(1,85),e.qZA())}function Iy(n,s){1&n&&(e.TgZ(0,"span",57),e.SDv(1,86),e.qZA())}function Fv(n,s){1&n&&(e.TgZ(0,"span",57),e.SDv(1,87),e.qZA())}function CM(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",8)(1,"label",81)(2,"span",10),e.SDv(3,82),e.qZA(),e.TgZ(4,"cd-helper")(5,"p"),e.SDv(6,83),e.qZA()()(),e.TgZ(7,"div",13)(8,"input",84),e.NdJ("selectItem",function(){return e.CHM(t),e.oxw(2).pathChangeHandler()})("blur",function(){return e.CHM(t),e.oxw(2).pathChangeHandler()}),e.qZA(),e.YNc(9,TM,2,0,"span",17),e.YNc(10,Iy,2,0,"span",17),e.YNc(11,Fv,2,0,"span",17),e.qZA()()}if(2&n){e.oxw();const t=e.MAs(2),o=e.oxw();e.xp6(8),e.Q6J("ngbTypeahead",o.pathDataSource),e.xp6(1),e.Q6J("ngIf",o.nfsForm.showError("path",t,"required")),e.xp6(1),e.Q6J("ngIf",o.nfsForm.showError("path",t,"pattern")),e.xp6(1),e.Q6J("ngIf",o.nfsForm.showError("path",t,"pathNameNotAllowed"))}}function MM(n,s){1&n&&(e.TgZ(0,"span",57),e.SDv(1,90),e.qZA())}function OM(n,s){1&n&&(e.TgZ(0,"span",57),e.tHW(1,91),e._UZ(2,"a",92),e.N_p(),e.qZA())}function r0(n,s){if(1&n&&(e.TgZ(0,"div",8)(1,"label",81)(2,"span",10),e.SDv(3,88),e.qZA()(),e.TgZ(4,"div",13),e._UZ(5,"input",89),e.YNc(6,MM,2,0,"span",17),e.YNc(7,OM,3,0,"span",17),e.qZA()()),2&n){e.oxw();const t=e.MAs(2),o=e.oxw();e.xp6(5),e.Q6J("ngbTypeahead",o.bucketDataSource),e.xp6(1),e.Q6J("ngIf",o.nfsForm.showError("path",t,"required")),e.xp6(1),e.Q6J("ngIf",o.nfsForm.showError("path",t,"bucketNameNotAllowed"))}}function o0(n,s){1&n&&(e.TgZ(0,"span",57),e.SDv(1,93),e.qZA())}function AM(n,s){1&n&&(e.TgZ(0,"span",57),e.SDv(1,99),e.qZA())}function DM(n,s){1&n&&(e.TgZ(0,"span",57),e.SDv(1,100),e.qZA())}function BS(n,s){1&n&&(e.TgZ(0,"span",57),e.SDv(1,101),e.qZA())}function US(n,s){if(1&n&&(e.TgZ(0,"div",8)(1,"label",94)(2,"span",10),e.SDv(3,95),e.qZA(),e.TgZ(4,"cd-helper")(5,"p"),e.tHW(6,96),e._UZ(7,"strong")(8,"strong"),e.N_p(),e.qZA(),e.TgZ(9,"p"),e.SDv(10,97),e.qZA()()(),e.TgZ(11,"div",13),e._UZ(12,"input",98),e.YNc(13,AM,2,0,"span",17),e.YNc(14,DM,2,0,"span",17),e.YNc(15,BS,2,0,"span",17),e.qZA()()),2&n){e.oxw();const t=e.MAs(2),o=e.oxw();e.xp6(13),e.Q6J("ngIf",o.nfsForm.showError("pseudo",t,"required")),e.xp6(1),e.Q6J("ngIf",o.nfsForm.showError("pseudo",t,"pseudoAlreadyExists")),e.xp6(1),e.Q6J("ngIf",o.nfsForm.showError("pseudo",t,"pattern"))}}function Fy(n,s){1&n&&(e.TgZ(0,"option",52),e.SDv(1,102),e.qZA())}function YS(n,s){1&n&&(e.TgZ(0,"option",52),e.SDv(1,103),e.qZA())}function xM(n,s){if(1&n&&(e.TgZ(0,"option",56),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("value",t.value),e.xp6(1),e.Oqu(t.value)}}function RM(n,s){if(1&n&&(e.TgZ(0,"span",104),e._uU(1),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.hij(" ",t.getAccessTypeHelp(t.nfsForm.getValue("access_type"))," ")}}function xD(n,s){1&n&&(e.TgZ(0,"span",105),e.tHW(1,106),e._UZ(2,"cd-doc",107),e.N_p(),e.qZA())}function Ly(n,s){1&n&&(e.TgZ(0,"span",57),e.SDv(1,108),e.qZA())}function ky(n,s){1&n&&e.GkF(0)}function jS(n,s){1&n&&(e.TgZ(0,"option",52),e.SDv(1,109),e.qZA())}function $y(n,s){1&n&&(e.TgZ(0,"option",52),e.SDv(1,110),e.qZA())}function Hy(n,s){if(1&n&&(e.TgZ(0,"option",56),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("value",t),e.xp6(1),e.Oqu(t)}}function wM(n,s){1&n&&(e.TgZ(0,"span",57),e.SDv(1,111),e.qZA())}function PM(n,s){1&n&&(e.TgZ(0,"span",57),e.SDv(1,112),e.qZA())}function NM(n,s){1&n&&(e.TgZ(0,"cd-helper")(1,"ul",113)(2,"li")(3,"span",114),e._uU(4,"no_root_squash: "),e.qZA(),e.TgZ(5,"span"),e.SDv(6,115),e.qZA()(),e.TgZ(7,"li")(8,"span",114),e._uU(9,"root_id_squash: "),e.qZA(),e.TgZ(10,"span"),e.SDv(11,116),e.qZA()(),e.TgZ(12,"li")(13,"span",114),e._uU(14,"root_squash: "),e.qZA(),e.TgZ(15,"span"),e.SDv(16,117),e.qZA()(),e.TgZ(17,"li")(18,"span",114),e._uU(19,"all_squash: "),e.qZA(),e.TgZ(20,"span"),e.SDv(21,118),e.qZA()()()())}function IM(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",1)(1,"form",2,3)(3,"div",4)(4,"div",5),e.SDv(5,6),e.ALo(6,"titlecase"),e.ALo(7,"upperFirst"),e.qZA(),e.TgZ(8,"div",7)(9,"div",8)(10,"label",9)(11,"span",10),e.SDv(12,11),e.qZA(),e.TgZ(13,"cd-helper")(14,"p"),e.SDv(15,12),e.qZA()()(),e.TgZ(16,"div",13)(17,"select",14),e.YNc(18,AS,2,0,"option",15),e.YNc(19,DS,2,0,"option",15),e.YNc(20,xS,2,0,"option",15),e.YNc(21,RS,2,2,"option",16),e.qZA(),e.YNc(22,Nv,3,8,"span",17),e.qZA()(),e.TgZ(23,"div",18)(24,"div",8)(25,"label",19),e.SDv(26,20),e.qZA(),e.TgZ(27,"div",13)(28,"select",21),e.NdJ("change",function(){return e.CHM(t),e.oxw().fsalChangeHandler()}),e.YNc(29,wS,2,0,"option",15),e.YNc(30,PS,2,0,"option",15),e.YNc(31,NS,2,0,"option",15),e.YNc(32,IS,2,3,"option",22),e.qZA(),e.YNc(33,FS,2,0,"span",17),e.YNc(34,LS,2,1,"span",17),e.qZA()(),e.YNc(35,bM,10,5,"div",23),e.qZA(),e.YNc(36,X_,11,5,"div",23),e.YNc(37,CM,12,4,"div",23),e.YNc(38,r0,8,3,"div",23),e.TgZ(39,"div",8)(40,"label",24),e.SDv(41,25),e.qZA(),e.TgZ(42,"div",13)(43,"div",26),e._UZ(44,"input",27),e.TgZ(45,"label",28),e.SDv(46,29),e.qZA()(),e.YNc(47,o0,2,0,"span",17),e.qZA()(),e.YNc(48,US,16,3,"div",23),e.TgZ(49,"div",8)(50,"label",30),e.SDv(51,31),e.qZA(),e.TgZ(52,"div",13)(53,"select",32),e.NdJ("change",function(){return e.CHM(t),e.oxw().accessTypeChangeHandler()}),e.YNc(54,Fy,2,0,"option",15),e.YNc(55,YS,2,0,"option",15),e.YNc(56,xM,2,2,"option",16),e.qZA(),e.YNc(57,RM,2,1,"span",33),e.YNc(58,xD,3,0,"span",34),e.YNc(59,Ly,2,0,"span",17),e.qZA()(),e.TgZ(60,"div",8)(61,"label",35)(62,"span"),e.SDv(63,36),e.qZA(),e.YNc(64,ky,1,0,"ng-container",37),e.qZA(),e.TgZ(65,"div",13)(66,"select",38),e.YNc(67,jS,2,0,"option",15),e.YNc(68,$y,2,0,"option",15),e.YNc(69,Hy,2,2,"option",16),e.qZA(),e.YNc(70,wM,2,0,"span",17),e.qZA()(),e.TgZ(71,"div",8)(72,"label",39),e.SDv(73,40),e.qZA(),e.TgZ(74,"div",13)(75,"div",26),e._UZ(76,"input",41),e.TgZ(77,"label",42),e.SDv(78,43),e.qZA()(),e.TgZ(79,"div",26),e._UZ(80,"input",44),e.TgZ(81,"label",45),e.SDv(82,46),e.qZA()(),e.YNc(83,PM,2,0,"span",17),e._UZ(84,"hr"),e.qZA()(),e.TgZ(85,"cd-nfs-form-client",47,48),e.YNc(87,NM,22,0,"ng-template",null,49,e.W1O),e.qZA()(),e.TgZ(89,"div",50)(90,"cd-form-button-panel",51),e.NdJ("submitActionEvent",function(){return e.CHM(t),e.oxw().submitAction()}),e.ALo(91,"titlecase"),e.ALo(92,"upperFirst"),e.qZA()()()()()}if(2&n){const t=e.MAs(2),o=e.MAs(88),l=e.oxw();e.xp6(1),e.Q6J("formGroup",l.nfsForm),e.xp6(6),e.pQV(e.lcZ(6,36,l.action))(e.lcZ(7,38,l.resource)),e.QtT(5),e.xp6(11),e.Q6J("ngIf",null===l.allClusters),e.xp6(1),e.Q6J("ngIf",null!==l.allClusters&&0===l.allClusters.length),e.xp6(1),e.Q6J("ngIf",null!==l.allClusters&&l.allClusters.length>0),e.xp6(1),e.Q6J("ngForOf",l.allClusters),e.xp6(1),e.Q6J("ngIf",l.nfsForm.showError("cluster_id",t,"required")||0===(null==l.allClusters?null:l.allClusters.length)),e.xp6(7),e.Q6J("ngIf",null===l.allFsals),e.xp6(1),e.Q6J("ngIf",null!==l.allFsals&&0===l.allFsals.length),e.xp6(1),e.Q6J("ngIf",null!==l.allFsals&&l.allFsals.length>0),e.xp6(1),e.Q6J("ngForOf",l.allFsals),e.xp6(1),e.Q6J("ngIf",l.nfsForm.showError("name",t,"required")),e.xp6(1),e.Q6J("ngIf",l.fsalAvailabilityError),e.xp6(1),e.Q6J("ngIf","CEPH"===l.nfsForm.getValue("name")),e.xp6(1),e.Q6J("ngIf","CEPH"===l.nfsForm.getValue("name")),e.xp6(1),e.Q6J("ngIf","CEPH"===l.nfsForm.getValue("name")),e.xp6(1),e.Q6J("ngIf","RGW"===l.nfsForm.getValue("name")),e.xp6(9),e.Q6J("ngIf",l.nfsForm.showError("protocolNfsv4",t,"required")),e.xp6(1),e.Q6J("ngIf",l.nfsForm.getValue("protocolNfsv4")),e.xp6(6),e.Q6J("ngIf",null===l.nfsAccessType),e.xp6(1),e.Q6J("ngIf",null!==l.nfsAccessType&&0===l.nfsAccessType.length),e.xp6(1),e.Q6J("ngForOf",l.nfsAccessType),e.xp6(1),e.Q6J("ngIf",l.nfsForm.getValue("access_type")),e.xp6(1),e.Q6J("ngIf","RW"===l.nfsForm.getValue("access_type")&&"RGW"===l.nfsForm.getValue("name")),e.xp6(1),e.Q6J("ngIf",l.nfsForm.showError("access_type",t,"required")),e.xp6(5),e.Q6J("ngTemplateOutlet",o),e.xp6(3),e.Q6J("ngIf",null===l.nfsSquash),e.xp6(1),e.Q6J("ngIf",null!==l.nfsSquash&&0===l.nfsSquash.length),e.xp6(1),e.Q6J("ngForOf",l.nfsSquash),e.xp6(1),e.Q6J("ngIf",l.nfsForm.showError("squash",t,"required")),e.xp6(13),e.Q6J("ngIf",l.nfsForm.showError("transportUDP",t,"required")||l.nfsForm.showError("transportTCP",t,"required")),e.xp6(2),e.Q6J("form",l.nfsForm)("clients",l.clients),e.xp6(5),e.Q6J("form",l.nfsForm)("submitText",e.lcZ(91,40,l.action)+" "+e.lcZ(92,42,l.resource))}}let By=(()=>{class n extends Ul.E{constructor(t,o,l,_,C,x,N,V,Q,oe){super(),this.authStorageService=t,this.nfsService=o,this.route=l,this.router=_,this.rgwBucketService=C,this.rgwSiteService=x,this.formBuilder=N,this.taskWrapper=V,this.cdRef=Q,this.actionLabels=oe,this.clients=[],this.isEdit=!1,this.cluster_id=null,this.export_id=null,this.allClusters=null,this.icons=wo.P,this.allFsals=[],this.allFsNames=null,this.fsalAvailabilityError=null,this.defaultAccessType={RGW:"RO"},this.nfsAccessType=this.nfsService.nfsAccessType,this.nfsSquash=Object.keys(this.nfsService.nfsSquash),this.pathDataSource=le=>le.pipe((0,xp.b)(200),(0,Ud.x)(),(0,Ac.zg)(me=>this.getPathTypeahead(me)),(0,Oa.U)(me=>me)),this.bucketDataSource=le=>le.pipe((0,xp.b)(200),(0,Ud.x)(),(0,Ac.zg)(me=>this.getBucketTypeahead(me))),this.permission=this.authStorageService.getPermissions().pool,this.resource="NFS export",this.createForm()}ngOnInit(){const t=[this.nfsService.listClusters(),this.nfsService.fsals(),this.nfsService.filesystems()];this.router.url.startsWith("/nfs/edit")&&(this.isEdit=!0),this.isEdit?(this.action=this.actionLabels.EDIT,this.route.params.subscribe(o=>{this.cluster_id=decodeURIComponent(o.cluster_id),this.export_id=decodeURIComponent(o.export_id),t.push(this.nfsService.get(this.cluster_id,this.export_id)),this.getData(t)}),this.nfsForm.get("cluster_id").disable()):(this.action=this.actionLabels.CREATE,this.getData(t))}getData(t){(0,Fu.D)(t).subscribe(o=>{this.resolveClusters(o[0]),this.resolveFsals(o[1]),this.resolveFilesystems(o[2]),o[3]&&this.resolveModel(o[3]),this.loadingReady()})}createForm(){this.nfsForm=new nc.d({cluster_id:new En.NI("",{validators:[En.kI.required]}),fsal:new nc.d({name:new En.NI("",{validators:[En.kI.required]}),fs_name:new En.NI("",{validators:[Ae.h.requiredIf({name:"CEPH"})]})}),path:new En.NI("/"),protocolNfsv4:new En.NI(!0),pseudo:new En.NI("",{validators:[Ae.h.requiredIf({protocolNfsv4:!0}),En.kI.pattern("^/[^><|&()]*$")]}),access_type:new En.NI("RW"),squash:new En.NI(this.nfsSquash[0]),transportUDP:new En.NI(!0,{validators:[Ae.h.requiredIf({transportTCP:!1},t=>!t)]}),transportTCP:new En.NI(!0,{validators:[Ae.h.requiredIf({transportUDP:!1},t=>!t)]}),clients:this.formBuilder.array([]),security_label:new En.NI(!1),sec_label_xattr:new En.NI("security.selinux",Ae.h.requiredIf({security_label:!0,"fsal.name":"CEPH"}))})}resolveModel(t){"CEPH"===t.fsal.name&&(t.sec_label_xattr=t.fsal.sec_label_xattr),t.protocolNfsv4=-1!==t.protocols.indexOf(4),delete t.protocols,t.transportTCP=-1!==t.transports.indexOf("TCP"),t.transportUDP=-1!==t.transports.indexOf("UDP"),delete t.transports,Object.entries(this.nfsService.nfsSquash).forEach(([o,l])=>{l.includes(t.squash)&&(t.squash=o)}),t.clients.forEach(o=>{let l="";o.addresses.forEach(_=>{l+=_+", "}),l.length>=2&&(l=l.substring(0,l.length-2)),o.addresses=l}),this.nfsForm.patchValue(t),this.setPathValidation(),this.clients=t.clients}resolveClusters(t){this.allClusters=[];for(const o of t)this.allClusters.push({cluster_id:o});!this.isEdit&&this.allClusters.length>0&&this.nfsForm.get("cluster_id").setValue(this.allClusters[0].cluster_id)}resolveFsals(t){t.forEach(o=>{const l=this.nfsService.nfsFsal.find(_=>o===_.value);Sr().isObjectLike(l)&&this.allFsals.push(l)}),!this.isEdit&&this.allFsals.length>0&&this.nfsForm.patchValue({fsal:{name:this.allFsals[0].value}})}resolveFilesystems(t){this.allFsNames=t,!this.isEdit&&t.length>0&&this.nfsForm.patchValue({fsal:{fs_name:t[0].name}})}fsalChangeHandler(){this.setPathValidation();const t=this.nfsForm.getValue("name");("RGW"===t?this.rgwSiteService.get("realms").pipe((0,Ac.zg)(l=>0===l.length?(0,rc.of)(!0):this.rgwSiteService.isDefaultRealm().pipe((0,Ac.zg)(_=>{if(!_)throw new Error("Selected realm is not the default.");return(0,rc.of)(!0)})))):this.nfsService.filesystems()).subscribe({next:()=>{this.setFsalAvailability(t,!0),this.isEdit||this.nfsForm.patchValue({path:"RGW"===t?"":"/",pseudo:this.generatePseudo(),access_type:this.updateAccessType()}),this.cdRef.detectChanges()},error:l=>{this.setFsalAvailability(t,!1,l),this.nfsForm.get("name").setValue("")}})}setFsalAvailability(t,o,l=""){this.allFsals=this.allFsals.map(_=>(_.value===t&&(_.disabled=!o,this.fsalAvailabilityError=_.disabled?"" + _.descr + " backend is not available. " + l + "":null),_))}accessTypeChangeHandler(){const t=this.nfsForm.getValue("name"),o=this.nfsForm.getValue("access_type");this.defaultAccessType[t]=o}setPathValidation(){const t=this.nfsForm.get("path");t.setValidators([En.kI.required]),"RGW"===this.nfsForm.getValue("name")?t.setAsyncValidators([Ae.h.bucketExistence(!0,this.rgwBucketService)]):t.setAsyncValidators([this.pathExistence(!0)]),this.isEdit&&t.markAsDirty()}getAccessTypeHelp(t){const o=this.nfsAccessType.find(l=>{if(t===l.value)return l});return Sr().isObjectLike(o)?o.help:""}getId(){return Sr().isString(this.nfsForm.getValue("cluster_id"))&&Sr().isString(this.nfsForm.getValue("path"))?this.nfsForm.getValue("cluster_id")+":"+this.nfsForm.getValue("path"):""}getPathTypeahead(t){if(!Sr().isString(t)||"/"===t)return(0,rc.of)([]);const o=this.nfsForm.getValue("fsal").fs_name;return this.nfsService.lsDir(o,t).pipe((0,Oa.U)(l=>l.paths.filter(_=>_.toLowerCase().includes(t)).slice(0,15)),(0,cg.K)(()=>(0,rc.of)(["Error while retrieving paths."])))}pathChangeHandler(){this.isEdit||this.nfsForm.patchValue({pseudo:this.generatePseudo()})}getBucketTypeahead(t){return Sr().isString(t)&&"/"!==t&&""!==t?this.rgwBucketService.list().pipe((0,Oa.U)(o=>o.filter(l=>l.toLowerCase().includes(t)).slice(0,15)),(0,cg.K)(()=>(0,rc.of)(["Error while retrieving bucket names."]))):(0,rc.of)([])}generatePseudo(){let t=this.nfsForm.getValue("pseudo");return this.nfsForm.get("pseudo")&&!this.nfsForm.get("pseudo").dirty&&(t=void 0,"CEPH"===this.nfsForm.getValue("fsal")&&(t="/cephfs",Sr().isString(this.nfsForm.getValue("path"))&&(t+=this.nfsForm.getValue("path")))),t}updateAccessType(){const t=this.nfsForm.getValue("name");let o=this.defaultAccessType[t];return o||(o="RW"),o}submitAction(){let t;const o=this.buildRequest();t=this.taskWrapper.wrapTaskAroundCall(this.isEdit?{task:new Ql.R("nfs/edit",{cluster_id:this.cluster_id,export_id:Sr().parseInt(this.export_id)}),call:this.nfsService.update(this.cluster_id,Sr().parseInt(this.export_id),o)}:{task:new Ql.R("nfs/create",{path:o.path,fsal:o.fsal,cluster_id:o.cluster_id}),call:this.nfsService.create(o)}),t.subscribe({error:l=>this.setFormErrors(l),complete:()=>this.router.navigate(["/nfs"])})}setFormErrors(t){t.error.detail&&t.error.detail.toString().includes(`Pseudo ${this.nfsForm.getValue("pseudo")} is already in use`)&&this.nfsForm.get("pseudo").setErrors({pseudoAlreadyExists:!0}),this.nfsForm.setErrors({cdSubmitButton:!0})}buildRequest(){const t=Sr().cloneDeep(this.nfsForm.value);return this.isEdit&&(t.export_id=Sr().parseInt(this.export_id)),"RGW"===t.fsal.name&&delete t.fsal.fs_name,t.protocols=[],t.protocolNfsv4?t.protocols.push(4):t.pseudo=null,delete t.protocolNfsv4,t.transports=[],t.transportTCP&&t.transports.push("TCP"),delete t.transportTCP,t.transportUDP&&t.transports.push("UDP"),delete t.transportUDP,t.clients.forEach(o=>{o.addresses=Sr().isString(o.addresses)?Sr()(o.addresses).split(/[ ,]+/).uniq().filter(l=>""!==l).value():[],o.squash||(o.squash=t.squash),o.access_type||(o.access_type=t.access_type)}),t.fsal.sec_label_xattr=!1===t.security_label||"RGW"===t.fsal.name?null:t.sec_label_xattr,delete t.sec_label_xattr,t}pathExistence(t){return o=>{if(o.pristine||!o.value)return(0,rc.of)({required:!0});const l=this.nfsForm.getValue("fsal").fs_name;return this.nfsService.lsDir(l,o.value).pipe((0,Oa.U)(_=>_.paths.includes(o.value)===t?null:{pathNameNotAllowed:!0}),(0,cg.K)(()=>(0,rc.of)({pathNameNotAllowed:!0})))}}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Vi.j),e.Y36(wy),e.Y36(Io.gz),e.Y36(Io.F0),e.Y36(pM.o),e.Y36(MD.I),e.Y36(jl.O),e.Y36(Sc.P),e.Y36(e.sBO),e.Y36(Mo.p4))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-nfs-form"]],viewQuery:function(t,o){if(1&t&&e.Gf(OS,7),2&t){let l;e.iGM(l=e.CRH())&&(o.nfsClients=l.first)}},features:[e.qOj],decls:1,vars:1,consts:function(){let s,t,o,l,_,C,x,N,V,Q,oe,le,me,ye,$e,Ne,ke,we,G,Dt,bt,Bt,Jt,Mn,zt,xn,Nn,zr,Hr,Vr,qr,On,Jn,Qn,ur,In,Yr,Qi,Di,ji,Wr,Bn,bn,Xr,Ni,Xi,Bo,Ao,zs,Qs,Ii,uo,bo,Qe,Pt;return s="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",t="Cluster",o="This is the ID of an NFS Service.",l="Storage Backend",_="NFS Protocol",C="NFSv4",x="Access Type",N="Squash",V="Transport Protocol",Q="UDP",oe="TCP",le="Loading...",me="-- No cluster available --",ye="-- Select the cluster --",$e="This field is required. To create a new NFS cluster, " + "\ufffd#2\ufffd" + "add a new NFS Service" + "\ufffd/#2\ufffd" + ".",Ne="Loading...",ke="-- No data pools available --",we="-- Select the storage backend --",G="This field is required.",Dt="" + "\ufffd0\ufffd" + "",bt="Volume",Bt="Loading...",Jt="-- No CephFS filesystem available --",Mn="-- Select the CephFS filesystem --",zt="This field is required.",xn="Security Label",Nn="Enable security label",zr="This field is required.",Hr="CephFS Path",Vr="A path in a CephFS file system.",qr="This field is required.",On="Path need to start with a '/' and can be followed by a word",Jn="The path does not exist in the selected volume.",Qn="Bucket",ur="This field is required.",In="The bucket does not exist or is not in the default realm (if multiple realms are configured). To continue, " + "\ufffd#2\ufffd" + "create a new bucket" + "\ufffd/#2\ufffd" + ".",Yr="This field is required.",Qi="Pseudo",Di="The position that this " + "[\ufffd#7\ufffd|\ufffd#8\ufffd]" + "NFS v4" + "[\ufffd/#7\ufffd|\ufffd/#8\ufffd]" + " export occupies in the " + "[\ufffd#7\ufffd|\ufffd#8\ufffd]" + "Pseudo FS" + "[\ufffd/#7\ufffd|\ufffd/#8\ufffd]" + " (it must be unique).",Di=e.Zx4(Di),ji="By using different Pseudo options, the same Path may be exported multiple times.",Wr="This field is required.",Bn="The pseudo is already in use by another export.",bn="Pseudo needs to start with a '/' and can't contain any of the following: >, <, |, &, ( or ).",Xr="Loading...",Ni="-- No access type available --",Xi="The Object Gateway NFS backend has a number of limitations which will seriously affect applications writing to the share. Please consult the " + "\ufffd#2\ufffd" + "" + "\ufffd/#2\ufffd" + " for details before enabling write access.",Bo="This field is required.",Ao="Loading...",zs="-- No squash available --",Qs="This field is required.",Ii="This field is required.",uo="No user id squashing is performed.",bo="uid 0 and gid 0 are squashed to the Anonymous_Uid and Anonymous_Gid gid 0 in alt_groups lists is also squashed.",Qe="uid 0 and gid of any value are squashed to the Anonymous_Uid and Anonymous_Gid alt_groups lists is discarded.",Pt="All users are squashed.",[["class","cd-col-form",4,"cdFormLoading"],[1,"cd-col-form"],["name","nfsForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"card"],[1,"card-header"],s,[1,"card-body"],[1,"form-group","row"],["for","cluster_id",1,"cd-col-form-label"],[1,"required"],t,o,[1,"cd-col-form-input"],["formControlName","cluster_id","name","cluster_id","id","cluster_id",1,"form-select"],["value","",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],["class","invalid-feedback",4,"ngIf"],["formGroupName","fsal"],["for","name",1,"cd-col-form-label","required"],l,["formControlName","name","name","name","id","name",1,"form-select",3,"change"],[3,"value","disabled",4,"ngFor","ngForOf"],["class","form-group row",4,"ngIf"],["for","protocols",1,"cd-col-form-label","required"],_,[1,"custom-control","custom-checkbox"],["type","checkbox","formControlName","protocolNfsv4","name","protocolNfsv4","id","protocolNfsv4","disabled","",1,"custom-control-input"],["for","protocolNfsv4",1,"custom-control-label"],C,["for","access_type",1,"cd-col-form-label","required"],x,["formControlName","access_type","name","access_type","id","access_type",1,"form-select",3,"change"],["class","form-text text-muted",4,"ngIf"],["class","form-text text-warning",4,"ngIf"],["for","squash",1,"cd-col-form-label"],N,[4,"ngTemplateOutlet"],["name","squash","formControlName","squash","id","squash",1,"form-select"],["for","transports",1,"cd-col-form-label","required"],V,["type","checkbox","formControlName","transportUDP","name","transportUDP","id","transportUDP",1,"custom-control-input"],["for","transportUDP",1,"custom-control-label"],Q,["type","checkbox","formControlName","transportTCP","name","transportTCP","id","transportTCP",1,"custom-control-input"],["for","transportTCP",1,"custom-control-label"],oe,[3,"form","clients"],["nfsClients",""],["squashHelper",""],[1,"card-footer"],["wrappingClass","text-right",3,"form","submitText","submitActionEvent"],["value",""],le,me,ye,[3,"value"],[1,"invalid-feedback"],$e,[1,"btn-link",3,"routerLink"],Ne,ke,we,[3,"value","disabled"],G,Dt,["for","fs_name",1,"cd-col-form-label","required"],bt,["formControlName","fs_name","name","fs_name","id","fs_name",1,"form-select",3,"change"],Bt,Jt,Mn,zt,["for","security_label",1,"cd-col-form-label",3,"ngClass"],xn,["type","checkbox","formControlName","security_label","name","security_label","id","security_label",1,"custom-control-input"],["for","security_label",1,"custom-control-label"],Nn,["type","text","class","form-control","name","sec_label_xattr","id","sec_label_xattr","formControlName","sec_label_xattr",4,"ngIf"],["type","text","name","sec_label_xattr","id","sec_label_xattr","formControlName","sec_label_xattr",1,"form-control"],zr,["for","path",1,"cd-col-form-label"],Hr,Vr,["type","text","name","path","id","path","data-testid","fs_path","formControlName","path",1,"form-control",3,"ngbTypeahead","selectItem","blur"],qr,On,Jn,Qn,["type","text","name","path","id","path","data-testid","rgw_path","formControlName","path",1,"form-control",3,"ngbTypeahead"],ur,In,["routerLink","/rgw/bucket/create",1,"btn-link"],Yr,["for","pseudo",1,"cd-col-form-label"],Qi,Di,ji,["type","text","name","pseudo","id","pseudo","formControlName","pseudo",1,"form-control"],Wr,Bn,bn,Xr,Ni,[1,"form-text","text-muted"],[1,"form-text","text-warning"],Xi,["section","rgw-nfs"],Bo,Ao,zs,Qs,Ii,[1,"squash-helper"],[1,"squash-helper-item-value"],uo,bo,Qe,Pt]},template:function(t,o){1&t&&e.YNc(0,IM,93,44,"div",0),2&t&&e.Q6J("cdFormLoading",o.loading)},directives:[cu.y,En._Y,En.JL,En.sg,Ma.V,ll.P,xe.S,ge.o,En.EJ,En.JJ,En.u,p.O5,En.YN,En.Kr,p.sg,Io.yS,En.x0,p.mk,En.Wl,Ll.b,En.Fj,Pr.dR,yf.K,p.tP,MS,Ml.p],pipes:[p.rS,Mt.m],styles:[".cd-mb[_ngcontent-%COMP%]{margin-bottom:10px}.squash-helper[_ngcontent-%COMP%]{padding-left:1rem}.squash-helper-item-value[_ngcontent-%COMP%]{font-weight:700}"]}),n})();var s0=i(38047);function GS(n,s){if(1&n&&e._UZ(0,"cd-table-key-value",10),2&n){const t=e.oxw(2);e.Q6J("data",t.data)}}function VS(n,s){if(1&n&&e._UZ(0,"cd-table",11,12),2&n){const t=e.oxw(2);e.Q6J("data",t.clients)("columns",t.clientsColumns)}}function ZS(n,s){if(1&n&&(e.ynx(0),e.TgZ(1,"nav",1,2),e.ynx(3,3),e.TgZ(4,"a",4),e.SDv(5,5),e.qZA(),e.YNc(6,GS,1,1,"ng-template",6),e.BQk(),e.ynx(7,7),e.TgZ(8,"a",4),e.SDv(9,8),e.qZA(),e.YNc(10,VS,2,2,"ng-template",6),e.BQk(),e.qZA(),e._UZ(11,"div",9),e.BQk()),2&n){const t=e.MAs(2),o=e.oxw();e.xp6(9),e.pQV(o.clients.length),e.QtT(9),e.xp6(2),e.Q6J("ngbNavOutlet",t)}}let zS=(()=>{class n{constructor(){this.clients=[],this.clientsColumns=[{name:"Addresses",prop:"addresses",flexGrow:2},{name:"Access Type",prop:"access_type",flexGrow:1},{name:"Squash",prop:"squash",flexGrow:1}]}ngOnChanges(){this.selection&&(this.selectedItem=this.selection,this.clients=this.selectedItem.clients,this.data={},this.data["Cluster"]=this.selectedItem.cluster_id,this.data["NFS Protocol"]=this.selectedItem.protocols.map(t=>"NFSv"+t),this.data["Pseudo"]=this.selectedItem.pseudo,this.data["Access Type"]=this.selectedItem.access_type,this.data["Squash"]=this.selectedItem.squash,this.data["Transport"]=this.selectedItem.transports,this.data["Path"]=this.selectedItem.path,"CEPH"===this.selectedItem.fsal.name?(this.data["Storage Backend"]="CephFS",this.data["CephFS User"]=this.selectedItem.fsal.user_id,this.data["CephFS Filesystem"]=this.selectedItem.fsal.fs_name,this.data["Security Label"]=this.selectedItem.fsal.sec_label_xattr):(this.data["Storage Backend"]="Object Gateway",this.data["Object Gateway User"]=this.selectedItem.fsal.user_id))}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-nfs-details"]],inputs:{selection:"selection"},features:[e.TTD],decls:1,vars:1,consts:function(){let s,t;return s="Details",t="Clients (" + "\ufffd0\ufffd" + ")",[[4,"ngIf"],["ngbNav","","cdStatefulTab","nfs-details",1,"nav-tabs"],["nav","ngbNav"],["ngbNavItem","details"],["ngbNavLink",""],s,["ngbNavContent",""],["ngbNavItem","clients"],t,[3,"ngbNavOutlet"],[3,"data"],["columnMode","flex","identifier","addresses","forceIdentifier","true","selectionType","",3,"data","columns"],["table",""]]},template:function(t,o){1&t&&e.YNc(0,ZS,12,2,"ng-container",0),2&t&&e.Q6J("ngIf",o.selection)},directives:[p.O5,Pr.Pz,Yn.m,Pr.nv,Pr.Vx,Pr.uN,fo.b,Tr.a,Pr.tO],styles:[""]}),n})();const FM=["nfsState"],WS=["nfsFsal"],JS=["table"];function LM(n,s){1&n&&(e.ynx(0),e.SDv(1,7),e.BQk())}function QS(n,s){1&n&&(e.ynx(0),e.SDv(1,8),e.BQk())}function XS(n,s){if(1&n&&(e.YNc(0,LM,2,0,"ng-container",6),e.YNc(1,QS,2,0,"ng-container",6)),2&n){const t=s.value;e.Q6J("ngIf","CEPH"===t.name),e.xp6(1),e.Q6J("ngIf","RGW"===t.name)}}let Pp=(()=>{class n extends It.o{constructor(t,o,l,_,C,x){super(),this.authStorageService=t,this.modalService=o,this.nfsService=l,this.taskListService=_,this.taskWrapper=C,this.actionLabels=x,this.selection=new _n.r,this.isDefaultCluster=!1,this.builders={"nfs/create":le=>({path:le.path,cluster_id:le.cluster_id,fsal:le.fsal})},this.permission=this.authStorageService.getPermissions().nfs;const N=()=>this.selection.first()&&`${encodeURI(this.selection.first().cluster_id)}/${encodeURI(this.selection.first().export_id)}`;this.tableActions=[{permission:"create",icon:wo.P.add,routerLink:()=>"/nfs/create",canBePrimary:le=>!le.hasSingleSelection,name:this.actionLabels.CREATE},{permission:"update",icon:wo.P.edit,routerLink:()=>`/nfs/edit/${N()}`,name:this.actionLabels.EDIT},{permission:"delete",icon:wo.P.destroy,click:()=>this.deleteNfsModal(),name:this.actionLabels.DELETE}]}ngOnInit(){this.columns=[{name:"Path",prop:"path",flexGrow:2,cellTransformation:Ht.e.executing},{name:"Pseudo",prop:"pseudo",flexGrow:2},{name:"Cluster",prop:"cluster_id",flexGrow:2},{name:"Storage Backend",prop:"fsal",flexGrow:2,cellTemplate:this.nfsFsal},{name:"Access Type",prop:"access_type",flexGrow:2}],this.taskListService.init(()=>this.nfsService.list(),t=>this.prepareResponse(t),t=>this.exports=t,()=>this.onFetchError(),this.taskFilter,this.itemFilter,this.builders)}ngOnDestroy(){this.summaryDataSubscription&&this.summaryDataSubscription.unsubscribe()}prepareResponse(t){let o=[];return t.forEach(l=>{l.id=`${l.cluster_id}:${l.export_id}`,l.state="LOADING",o=o.concat(l)}),o}onFetchError(){this.table.reset(),this.viewCacheStatus={status:Ci.T.ValueException}}itemFilter(t,o){return t.cluster_id===o.metadata.cluster_id&&t.export_id===o.metadata.export_id}taskFilter(t){return["nfs/create","nfs/delete","nfs/edit"].includes(t.name)}updateSelection(t){this.selection=t}deleteNfsModal(){const t=this.selection.first().cluster_id,o=this.selection.first().export_id;this.modalRef=this.modalService.show(Oc.M,{itemDescription:"NFS export",itemNames:[`${t}:${o}`],submitActionObservable:()=>this.taskWrapper.wrapTaskAroundCall({task:new Ql.R("nfs/delete",{cluster_id:t,export_id:o}),call:this.nfsService.delete(t,o)})})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Vi.j),e.Y36(ou.Z),e.Y36(wy),e.Y36(s0.j),e.Y36(Sc.P),e.Y36(Mo.p4))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-nfs-list"]],viewQuery:function(t,o){if(1&t&&(e.Gf(FM,5),e.Gf(WS,7),e.Gf(JS,7)),2&t){let l;e.iGM(l=e.CRH())&&(o.nfsState=l.first),e.iGM(l=e.CRH())&&(o.nfsFsal=l.first),e.iGM(l=e.CRH())&&(o.table=l.first)}},features:[e._Bn([s0.j]),e.qOj],decls:7,vars:7,consts:function(){let s,t;return s="CephFS",t="Object Gateway",[["columnMode","flex","identifier","id","forceIdentifier","true","selectionType","single",3,"data","columns","hasDetails","setExpandedRow","updateSelection"],["table",""],[1,"table-actions","btn-toolbar"],[1,"btn-group",3,"permission","selection","tableActions"],["cdTableDetail","",3,"selection"],["nfsFsal",""],[4,"ngIf"],s,t]},template:function(t,o){1&t&&(e.TgZ(0,"cd-table",0,1),e.NdJ("setExpandedRow",function(_){return o.setExpandedRow(_)})("updateSelection",function(_){return o.updateSelection(_)}),e.TgZ(2,"div",2),e._UZ(3,"cd-table-actions",3),e.qZA(),e._UZ(4,"cd-nfs-details",4),e.qZA(),e.YNc(5,XS,2,2,"ng-template",null,5,e.W1O)),2&t&&(e.Q6J("data",o.exports)("columns",o.columns)("hasDetails",!0),e.xp6(3),e.Q6J("permission",o.permission)("selection",o.selection)("tableActions",o.tableActions),e.xp6(1),e.Q6J("selection",o.expandedRow))},directives:[Tr.a,Tu.K,zS,p.O5],styles:[""]}),n})(),zg=(()=>{class n{constructor(t){this.route=t,this.route.queryParams.subscribe(o=>{this.fromLink=o.fromLink||n.defaultFromLink}),this.route.params.subscribe(o=>{this.serviceId=decodeURIComponent(o.id),this.serviceType=o.type})}}return n.defaultFromLink="/hosts",n.\u0275fac=function(t){return new(t||n)(e.Y36(Io.gz))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-performance-counter"]],decls:3,vars:4,consts:[[3,"serviceType","serviceId"]],template:function(t,o){1&t&&(e.TgZ(0,"legend"),e._uU(1),e.qZA(),e._UZ(2,"cd-table-performance-counter",0)),2&t&&(e.xp6(1),e.AsE("",o.serviceType,".",o.serviceId,""),e.xp6(1),e.Q6J("serviceType",o.serviceType)("serviceId",o.serviceId))},directives:[Cv.p],styles:[""]}),n})();var Uy=i(39219),KS=i(81354),qS=i(32057);function Lv(n,s){1&n&&(e.TgZ(0,"span",29),e.SDv(1,30),e.qZA())}function kM(n,s){1&n&&(e.TgZ(0,"span",29),e.SDv(1,31),e.qZA())}function Yy(n,s){if(1&n&&e._UZ(0,"cd-helper",32),2&n){const t=e.oxw();e.s9C("html",t.passwordPolicyHelpText)}}function $M(n,s){1&n&&(e.TgZ(0,"span",29),e.SDv(1,33),e.qZA())}function eT(n,s){1&n&&(e.TgZ(0,"span",29),e.SDv(1,34),e.qZA())}function HM(n,s){if(1&n&&(e.TgZ(0,"span",29),e._uU(1),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.hij(" ",t.passwordValuation," ")}}function BM(n,s){1&n&&(e.TgZ(0,"span",29),e.SDv(1,35),e.qZA())}function jy(n,s){1&n&&(e.TgZ(0,"span",29),e.SDv(1,36),e.qZA())}let Gy=(()=>{class n{constructor(t,o,l,_,C,x,N){this.actionLabels=t,this.notificationService=o,this.userService=l,this.authStorageService=_,this.formBuilder=C,this.router=x,this.passwordPolicyService=N,this.passwordPolicyHelpText="",this.icons=wo.P,this.action=this.actionLabels.CHANGE,this.resource="password",this.createForm()}createForm(){this.passwordPolicyService.getHelpText().subscribe(t=>{this.passwordPolicyHelpText=t}),this.userForm=this.formBuilder.group({oldpassword:[null,[En.kI.required,Ae.h.custom("notmatch",()=>this.userForm&&this.userForm.getValue("newpassword")===this.userForm.getValue("oldpassword"))]],newpassword:[null,[En.kI.required,Ae.h.custom("notmatch",()=>this.userForm&&this.userForm.getValue("oldpassword")===this.userForm.getValue("newpassword"))],[Ae.h.passwordPolicy(this.userService,()=>this.authStorageService.getUsername(),(t,o,l)=>{this.passwordStrengthLevelClass=this.passwordPolicyService.mapCreditsToCssClass(o),this.passwordValuation=Sr().defaultTo(l,"")})]],confirmnewpassword:[null,[En.kI.required]]},{validators:[Ae.h.match("newpassword","confirmnewpassword")]})}onSubmit(){if(this.userForm.pristine)return;const t=this.authStorageService.getUsername(),o=this.userForm.getValue("oldpassword"),l=this.userForm.getValue("newpassword");this.userService.changePassword(t,o,l).subscribe(()=>this.onPasswordChange(),()=>{this.userForm.setErrors({cdSubmitButton:!0})})}onPasswordChange(){this.notificationService.show(Sa.k.success,"Updated user password\""),this.router.navigate(["/login"])}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Mo.p4),e.Y36(Tl.g),e.Y36(qS.K),e.Y36(Vi.j),e.Y36(jl.O),e.Y36(Io.F0),e.Y36(KS.q))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-user-password-form"]],decls:45,vars:25,consts:function(){let s,t,o,l,_,C,x,N,V,Q;return s="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",t="Old password",o="New password",l="Confirm new password",_="This field is required.",C="The old and new passwords must be different.",x="This field is required.",N="The old and new passwords must be different.",V="This field is required.",Q="Password confirmation doesn't match the new password.",[[1,"cd-col-form"],["novalidate","",3,"formGroup"],["frm","ngForm"],[1,"card"],[1,"card-header"],s,[1,"card-body"],[1,"form-group","row"],["for","oldpassword",1,"cd-col-form-label","required"],t,[1,"cd-col-form-input"],[1,"input-group"],["type","password","placeholder","Old password...","id","oldpassword","formControlName","oldpassword","autocomplete","new-password","autofocus","",1,"form-control"],["cdPasswordButton","oldpassword",1,"btn","btn-light"],["class","invalid-feedback",4,"ngIf"],["for","newpassword",1,"cd-col-form-label"],[1,"required"],o,["class","text-pre-wrap",3,"html",4,"ngIf"],["type","password","placeholder","Password...","id","newpassword","autocomplete","new-password","formControlName","newpassword",1,"form-control"],["type","button","cdPasswordButton","newpassword",1,"btn","btn-light"],[1,"password-strength-level"],["data-toggle","tooltip",3,"title"],["for","confirmnewpassword",1,"cd-col-form-label","required"],l,["type","password","autocomplete","new-password","placeholder","Confirm new password...","id","confirmnewpassword","formControlName","confirmnewpassword",1,"form-control"],["cdPasswordButton","confirmnewpassword",1,"btn","btn-light"],[1,"card-footer"],["wrappingClass","text-right",3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],_,C,[1,"text-pre-wrap",3,"html"],x,N,V,Q]},template:function(t,o){if(1&t&&(e.TgZ(0,"div",0)(1,"form",1,2)(3,"div",3)(4,"div",4),e.SDv(5,5),e.ALo(6,"titlecase"),e.ALo(7,"upperFirst"),e.qZA(),e.TgZ(8,"div",6)(9,"div",7)(10,"label",8),e.SDv(11,9),e.qZA(),e.TgZ(12,"div",10)(13,"div",11),e._UZ(14,"input",12)(15,"button",13),e.qZA(),e.YNc(16,Lv,2,0,"span",14),e.YNc(17,kM,2,0,"span",14),e.qZA()(),e.TgZ(18,"div",7)(19,"label",15)(20,"span",16),e.SDv(21,17),e.qZA(),e.YNc(22,Yy,1,1,"cd-helper",18),e.qZA(),e.TgZ(23,"div",10)(24,"div",11),e._UZ(25,"input",19)(26,"button",20),e.qZA(),e.TgZ(27,"div",21),e._UZ(28,"div",22),e.qZA(),e.YNc(29,$M,2,0,"span",14),e.YNc(30,eT,2,0,"span",14),e.YNc(31,HM,2,1,"span",14),e.qZA()(),e.TgZ(32,"div",7)(33,"label",23),e.SDv(34,24),e.qZA(),e.TgZ(35,"div",10)(36,"div",11),e._UZ(37,"input",25)(38,"button",26),e.qZA(),e.YNc(39,BM,2,0,"span",14),e.YNc(40,jy,2,0,"span",14),e.qZA()()(),e.TgZ(41,"div",27)(42,"cd-form-button-panel",28),e.NdJ("submitActionEvent",function(){return o.onSubmit()}),e.ALo(43,"titlecase"),e.ALo(44,"upperFirst"),e.qZA()()()()()),2&t){const l=e.MAs(2);e.xp6(1),e.Q6J("formGroup",o.userForm),e.xp6(6),e.pQV(e.lcZ(6,17,o.action))(e.lcZ(7,19,o.resource)),e.QtT(5),e.xp6(9),e.Q6J("ngIf",o.userForm.showError("oldpassword",l,"required")),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("oldpassword",l,"notmatch")),e.xp6(5),e.Q6J("ngIf",o.passwordPolicyHelpText.length>0),e.xp6(6),e.Tol(o.passwordStrengthLevelClass),e.s9C("title",o.passwordValuation),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("newpassword",l,"required")),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("newpassword",l,"notmatch")),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("newpassword",l,"passwordPolicy")),e.xp6(8),e.Q6J("ngIf",o.userForm.showError("confirmnewpassword",l,"required")),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("confirmnewpassword",l,"match")),e.xp6(2),e.Q6J("form",o.userForm)("submitText",e.lcZ(43,21,o.action)+" "+e.lcZ(44,23,o.resource))}},directives:[En._Y,En.JL,En.sg,Ma.V,ll.P,ge.o,En.Fj,Ll.b,En.JJ,En.u,nt.U,T_.C,p.O5,xe.S,Ml.p],pipes:[p.rS,Mt.m],styles:[""]}),n})();function tT(n,s){1&n&&(e.TgZ(0,"span",16),e.SDv(1,17),e.qZA())}function a0(n,s){1&n&&(e.TgZ(0,"span",16),e.SDv(1,18),e.qZA())}function Vy(n,s){1&n&&(e.TgZ(0,"span",16),e.SDv(1,19),e.qZA())}function RD(n,s){1&n&&(e.TgZ(0,"span",16),e.SDv(1,20),e.qZA())}function nT(n,s){if(1&n&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.hij(" ",t.passwordValuation," ")}}function UM(n,s){1&n&&(e.TgZ(0,"span",16),e.SDv(1,21),e.qZA())}function rT(n,s){1&n&&(e.TgZ(0,"span",16),e.SDv(1,22),e.qZA())}let l0=(()=>{class n extends Gy{constructor(t,o,l,_,C,x,N,V){super(t,o,l,_,C,x,N),this.actionLabels=t,this.notificationService=o,this.userService=l,this.authStorageService=_,this.formBuilder=C,this.router=x,this.passwordPolicyService=N,this.authService=V}onPasswordChange(){this.authService.logout()}onCancel(){this.authService.logout()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Mo.p4),e.Y36(Tl.g),e.Y36(qS.K),e.Y36(Vi.j),e.Y36(jl.O),e.Y36(Io.F0),e.Y36(KS.q),e.Y36(Uy.e))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-login-password-form"]],features:[e.qOj],decls:31,vars:19,consts:function(){let s,t,o,l,_,C,x,N;return s="Please set a new password.",t="You will be redirected to the login page afterwards.",o="This field is required.",l="The old and new passwords must be different.",_="This field is required.",C="The old and new passwords must be different.",x="This field is required.",N="Password confirmation doesn't match the new password.",[s,t,["novalidate","",3,"formGroup"],["frm","ngForm"],[1,"form-group","has-feedback"],[1,"input-group"],["type","password","placeholder","Old password...","id","oldpassword","formControlName","oldpassword","autocomplete","new-password","autofocus","",1,"form-control"],["cdPasswordButton","oldpassword",1,"btn","btn-outline-light","btn-password"],["class","invalid-feedback",4,"ngIf"],["type","password","placeholder","New password...","id","newpassword","autocomplete","new-password","formControlName","newpassword",1,"form-control"],["type","button","cdPasswordButton","newpassword",1,"btn","btn-outline-light","btn-password"],[1,"password-strength-level"],["data-toggle","tooltip",3,"title"],["type","password","autocomplete","new-password","placeholder","Confirm new password...","id","confirmnewpassword","formControlName","confirmnewpassword",1,"form-control"],["cdPasswordButton","confirmnewpassword",1,"btn","btn-outline-light","btn-password"],["wrappingClass","text-right",3,"form","disabled","submitText","submitActionEvent","backActionEvent"],[1,"invalid-feedback"],o,l,_,C,x,N]},template:function(t,o){if(1&t&&(e.TgZ(0,"div")(1,"h2"),e.SDv(2,0),e.qZA(),e.TgZ(3,"h4"),e.SDv(4,1),e.qZA(),e.TgZ(5,"form",2,3)(7,"div",4)(8,"div",5),e._UZ(9,"input",6)(10,"button",7),e.qZA(),e.YNc(11,tT,2,0,"span",8),e.YNc(12,a0,2,0,"span",8),e.qZA(),e.TgZ(13,"div",4)(14,"div",5),e._UZ(15,"input",9)(16,"button",10),e.qZA(),e.TgZ(17,"div",11),e._UZ(18,"div",12),e.qZA(),e.YNc(19,Vy,2,0,"span",8),e.YNc(20,RD,2,0,"span",8),e.YNc(21,nT,2,1,"span",8),e.qZA(),e.TgZ(22,"div",4)(23,"div",5),e._UZ(24,"input",13)(25,"button",14),e.qZA(),e.YNc(26,UM,2,0,"span",8),e.YNc(27,rT,2,0,"span",8),e.qZA(),e.TgZ(28,"cd-form-button-panel",15),e.NdJ("submitActionEvent",function(){return o.onSubmit()})("backActionEvent",function(){return o.onCancel()}),e.ALo(29,"titlecase"),e.ALo(30,"upperFirst"),e.qZA()()()),2&t){const l=e.MAs(6);e.xp6(5),e.Q6J("formGroup",o.userForm),e.xp6(6),e.Q6J("ngIf",o.userForm.showError("oldpassword",l,"required")),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("oldpassword",l,"notmatch")),e.xp6(6),e.Tol(o.passwordStrengthLevelClass),e.s9C("title",o.passwordValuation),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("newpassword",l,"required")),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("newpassword",l,"notmatch")),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("newpassword",l,"passwordPolicy")),e.xp6(5),e.Q6J("ngIf",o.userForm.showError("confirmnewpassword",l,"required")),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("confirmnewpassword",l,"match")),e.xp6(1),e.Q6J("form",o.userForm)("disabled",o.userForm.invalid)("submitText",e.lcZ(29,15,o.action)+" "+e.lcZ(30,17,o.resource))}},directives:[En._Y,En.JL,En.sg,Ma.V,ll.P,ge.o,En.Fj,Ll.b,En.JJ,En.u,nt.U,T_.C,p.O5,Ml.p],pipes:[p.rS,Mt.m],styles:["cd-login-password-form h4{margin:0 0 30px}  cd-login-password-form .form-group{background-color:#2e373d;border-left:4px solid #fff}  cd-login-password-form .form-group:focus-within{border-left:4px solid #25828e}  cd-login-password-form .btn-password,   cd-login-password-form .btn-password:focus,   cd-login-password-form .form-control,   cd-login-password-form .form-control:focus{background-color:#2e373d;border:0;box-shadow:none;color:#f8f9fa;filter:none;outline:none}  cd-login-password-form .form-control::placeholder{color:#6c757d}  cd-login-password-form .btn-password:focus{outline-color:#25828e}  cd-login-password-form button.btn:not(:first-child){margin-left:5px}@keyframes autofill{to{background-color:#2e373d;color:#f8f9fa}}input[_ngcontent-%COMP%]:-webkit-autofill{animation-fill-mode:both;animation-name:autofill;border-radius:0;box-shadow:0 0 0 1000px #2e373d inset;-webkit-text-fill-color:#f8f9fa;-webkit-transition-property:none;transition-property:none}.invalid-feedback[_ngcontent-%COMP%]{padding-left:9px}.is-invalid.cd-form-control[_ngcontent-%COMP%]{border-color:transparent}"]}),n})();class iT{}function YM(n,s){1&n&&(e.TgZ(0,"div",21),e.SDv(1,22),e.qZA())}function Zy(n,s){1&n&&(e.TgZ(0,"div",21),e.SDv(1,23),e.qZA())}function zy(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",1)(1,"h1",2),e._uU(2,"Ceph login"),e.qZA(),e.TgZ(3,"form",3,4),e.NdJ("ngSubmit",function(){return e.CHM(t),e.oxw().login()}),e.TgZ(5,"div",5)(6,"label",6),e.SDv(7,7),e.qZA(),e.TgZ(8,"input",8,9),e.NdJ("ngModelChange",function(l){return e.CHM(t),e.oxw().model.username=l}),e.qZA(),e.YNc(10,YM,2,0,"div",10),e.qZA(),e.TgZ(11,"div",11)(12,"div",12)(13,"div",13)(14,"label",14),e.SDv(15,15),e.qZA(),e.TgZ(16,"input",16,17),e.NdJ("ngModelChange",function(l){return e.CHM(t),e.oxw().model.password=l}),e.qZA(),e.YNc(18,Zy,2,0,"div",10),e.qZA(),e.TgZ(19,"span",18),e._UZ(20,"button",19),e.qZA()()(),e._UZ(21,"input",20),e.qZA()()}if(2&n){const t=e.MAs(4),o=e.MAs(9),l=e.MAs(17),_=e.oxw();e.xp6(8),e.Q6J("ngModel",_.model.username),e.uIk("aria-invalid",o.invalid),e.xp6(2),e.Q6J("ngIf",(t.submitted||o.dirty)&&o.invalid),e.xp6(6),e.Q6J("ngModel",_.model.password),e.uIk("aria-invalid",l.invalid),e.xp6(2),e.Q6J("ngIf",(t.submitted||l.dirty)&&l.invalid),e.xp6(3),e.Q6J("disabled",t.invalid)}}let wD=(()=>{class n{constructor(t,o,l,_,C){this.authService=t,this.authStorageService=o,this.modalService=l,this.route=_,this.router=C,this.model=new iT,this.isLoginActive=!1,this.postInstalled=!1}ngOnInit(){if(this.authStorageService.isLoggedIn())this.router.navigate([""]);else{this.modalService.dismissAll();let t=null;if(-1!==window.location.hash.indexOf("access_token=")){t=window.location.hash.split("access_token=")[1];const o=window.location.toString();window.history.replaceState({},document.title,o.split("?")[0])}this.authService.check(t).subscribe(o=>{o.login_url?(this.postInstalled="POST_INSTALLED"===o.cluster_status,"#/login"===o.login_url?this.isLoginActive=!0:window.location.replace(o.login_url)):(this.authStorageService.set(o.username,o.permissions,o.sso,o.pwdExpirationDate),this.router.navigate([""]))})}}login(){this.authService.login(this.model).subscribe(()=>{const t=this.postInstalled?"/":"/expand-cluster";let o=Sr().get(this.route.snapshot.queryParams,"returnUrl",t);!this.postInstalled&&"/dashboard"===this.route.snapshot.queryParams.returnUrl&&(o="/expand-cluster"),this.router.navigate([o])})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Uy.e),e.Y36(Vi.j),e.Y36(ou.Z),e.Y36(Io.gz),e.Y36(Io.F0))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-login"]],decls:1,vars:1,consts:function(){let s,t,o,l,_;return s="Username",t="Password",o="Log in",l="Username is required",_="Password is required",[["class","container",4,"ngIf"],[1,"container"],[1,"sr-only"],["name","loginForm","novalidate","",3,"ngSubmit"],["loginForm","ngForm"],[1,"form-group","has-feedback","d-flex","flex-column","py-3"],["for","username",1,"placeholder","ps-3"],s,["id","username","name","username","type","text","aria-labelledby","username","required","","autofocus","",1,"form-control","ps-3",3,"ngModel","ngModelChange"],["username","ngModel"],["class","invalid-feedback ps-3",4,"ngIf"],["id","password-div",1,"form-group","has-feedback"],[1,"input-group","d-flex","flex-nowrap"],[1,"d-flex","flex-column","flex-grow-1","py-3"],["for","password",1,"placeholder","ps-3"],t,["id","password","name","password","type","password","aria-labelledby","password","required","",1,"form-control","ps-3",3,"ngModel","ngModelChange"],["password","ngModel"],[1,"form-group-append"],["type","button","cdPasswordButton","password","aria-label","toggle-password",1,"btn","btn-outline-light","btn-password","h-100","px-4"],["type","submit","value",o,1,"btn","btn-accent","px-5","py-2",3,"disabled"],[1,"invalid-feedback","ps-3"],l,_]},template:function(t,o){1&t&&e.YNc(0,zy,22,7,"div",0),2&t&&e.Q6J("ngIf",o.isLoginActive)},directives:[p.O5,En._Y,En.JL,En.F,ll.P,ge.o,En.Fj,Ll.b,En.Q7,nt.U,En.JJ,En.On,T_.C],styles:["cd-login .form-group{background-color:#2e373d;border-left:4px solid #fff;height:auto;margin-bottom:2rem}  cd-login .form-group:focus-within{border-left:4px solid #25828e}  cd-login .btn-password,   cd-login .btn-password:focus,   cd-login .form-control,   cd-login .form-control:focus{background-color:#2e373d;border:0;box-shadow:none;color:#f8f9fa;filter:none;outline:none}  cd-login .placeholder{color:#adb5bd}  cd-login .btn-password:focus{outline-color:#25828e}@keyframes autofill{to{background-color:#2e373d;color:#f8f9fa}}input[_ngcontent-%COMP%]:-webkit-autofill{animation-fill-mode:both;animation-name:autofill;border-radius:0;box-shadow:0 0 0 1000px #2e373d inset;-webkit-text-fill-color:#f8f9fa;-webkit-transition-property:none;transition-property:none}"]}),n})();var oT=i(72625);function jM(n,s){if(1&n&&(e.TgZ(0,"h4",14),e._uU(1),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.Oqu(t.message)}}function sT(n,s){if(1&n&&(e.TgZ(0,"h4"),e.tHW(1,15),e._UZ(2,"a",16),e.N_p(),e.qZA()),2&n){const t=e.oxw(2);e.xp6(2),e.s9C("href",t.docUrl,e.LSH),e.pQV(t.sectionInfo),e.QtT(1)}}function aT(n,s){if(1&n&&(e.TgZ(0,"div"),e._UZ(1,"i",10),e.TgZ(2,"div",11)(3,"h3")(4,"b"),e._uU(5),e.qZA()(),e.YNc(6,jM,2,1,"h4",12),e.YNc(7,sT,3,2,"h4",13),e.qZA()()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngClass",t.icon),e.xp6(4),e.Oqu(t.header),e.xp6(1),e.Q6J("ngIf",t.header!==t.message),e.xp6(1),e.Q6J("ngIf",t.section)}}function GM(n,s){if(1&n&&(e.TgZ(0,"button",19),e.SDv(1,20),e.qZA()),2&n){const t=e.oxw(2);e.Q6J("routerLink",t.buttonRoute),e.xp6(1),e.pQV(t.buttonName),e.QtT(1)}}function lT(n,s){if(1&n&&(e.TgZ(0,"div",17),e.YNc(1,GM,2,2,"button",18),e.qZA()),2&n){const t=e.oxw(),o=e.MAs(11);e.xp6(1),e.Q6J("ngIf",!t.uiConfig)("ngIfElse",o)}}function uT(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"button",22),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).doConfigure()}),e.SDv(1,23),e.qZA()}if(2&n){const t=e.oxw(2);e.uIk("title",t.buttonTitle),e.xp6(1),e.pQV(t.buttonName),e.QtT(1)}}function VM(n,s){if(1&n&&e.YNc(0,uT,2,2,"button",21),2&n){const t=e.oxw();e.Q6J("ngIf",t.uiConfig)}}function ZM(n,s){1&n&&(e._UZ(0,"i",24),e.TgZ(1,"div",11)(2,"h3"),e.tHW(3,25),e._UZ(4,"b"),e.N_p(),e.qZA(),e.TgZ(5,"h4",5),e.SDv(6,26),e.qZA()())}function cT(n,s){1&n&&(e.TgZ(0,"div",11)(1,"button",19),e.SDv(2,27),e.qZA()()),2&n&&(e.xp6(1),e.Q6J("routerLink","/dashboard"))}let zM=(()=>{class n{constructor(t,o,l,_){this.router=t,this.docService=o,this.http=l,this.notificationService=_}ngOnInit(){this.fetchData(),this.routerSubscription=this.router.events.pipe((0,Rp.h)(t=>t instanceof Io.m2)).subscribe(()=>{this.fetchData()})}doConfigure(){this.http.post(`ui-api/${this.uiApiPath}/configure`,{}).subscribe({next:()=>{this.notificationService.show(Sa.k.info,`Configuring ${this.component}`)},error:t=>{this.notificationService.show(Sa.k.error,t)},complete:()=>{setTimeout(()=>{this.router.navigate([this.uiApiPath]),this.notificationService.show(Sa.k.success,`Configured ${this.component}`)},3e3)}})}unloadHandler(t){t.returnValue=!1}fetchData(){try{this.router.onSameUrlNavigation="reload",this.message=history.state.message,this.header=history.state.header,this.section=history.state.section,this.sectionInfo=history.state.section_info,this.icon=history.state.icon,this.source=history.state.source,this.uiConfig=history.state.uiConfig,this.uiApiPath=history.state.uiApiPath,this.buttonRoute=history.state.button_route,this.buttonName=history.state.button_name,this.buttonTitle=history.state.button_title,this.component=history.state.component,this.docUrl=this.docService.urlGenerator(this.section)}catch(t){this.router.navigate(["/error"])}}ngOnDestroy(){this.routerSubscription&&this.routerSubscription.unsubscribe()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Io.F0),e.Y36(oT.R),e.Y36(g.eN),e.Y36(Tl.g))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-error"]],hostBindings:function(t,o){1&t&&e.NdJ("beforeunload",function(_){return o.unloadHandler(_)},!1,e.Jf7)},decls:16,vars:4,consts:function(){let s,t,o,l,_,C;return s="Please consult the " + "\ufffd#2\ufffd" + "documentation" + "\ufffd/#2\ufffd" + " on how to configure and enable the " + "\ufffd0\ufffd" + " management functionality. ",t="" + "\ufffd0\ufffd" + "",o="" + "\ufffd0\ufffd" + "",l="" + "\ufffd#4\ufffd" + "Page not Found" + "\ufffd/#4\ufffd" + "",_="Sorry, we couldn\u2019t find what you were looking for. The page you requested may have been changed or moved.",C="Go To Dashboard",[["target","_blank"],[1,"container","h-75"],[1,"row","h-100","justify-content-center","align-items-center"],[1,"blank-page"],[4,"ngIf","ngIfElse"],[1,"mt-4"],["class","text-center",4,"ngIf","ngIfElse"],["configureButtonTpl",""],["elseBlock",""],["dashboardButton",""],[1,"mx-auto","d-block",3,"ngClass"],[1,"mt-4","text-center"],["class","mt-3",4,"ngIf"],[4,"ngIf"],[1,"mt-3"],s,[3,"href"],[1,"text-center"],["class","btn btn-primary",3,"routerLink",4,"ngIf","ngIfElse"],[1,"btn","btn-primary",3,"routerLink"],t,["class","btn btn-primary",3,"click",4,"ngIf"],[1,"btn","btn-primary",3,"click"],o,[1,"fa","fa-exclamation-triangle","mx-auto","d-block","text-danger"],l,_,C]},template:function(t,o){if(1&t&&(e.TgZ(0,"head")(1,"title"),e._uU(2,"Error Page"),e.qZA(),e._UZ(3,"base",0),e.qZA(),e.TgZ(4,"div",1)(5,"div",2)(6,"div",3),e.YNc(7,aT,8,4,"div",4),e.TgZ(8,"div",5),e.YNc(9,lT,2,2,"div",6),e.qZA()()()(),e.YNc(10,VM,1,1,"ng-template",null,7,e.W1O),e.YNc(12,ZM,7,0,"ng-template",null,8,e.W1O),e.YNc(14,cT,3,1,"ng-template",null,9,e.W1O)),2&t){const l=e.MAs(13),_=e.MAs(15);e.xp6(7),e.Q6J("ngIf",o.header&&o.message)("ngIfElse",l),e.xp6(2),e.Q6J("ngIf",o.buttonName&&o.buttonRoute||o.uiConfig)("ngIfElse",_)}},directives:[p.O5,p.mk,ge.o,Io.rH],styles:["h4[_ngcontent-%COMP%]{color:#495057}i[_ngcontent-%COMP%]{font-size:6em;margin-top:120px}.fa-lock[_ngcontent-%COMP%]{color:#dc3545}.fa-wrench[_ngcontent-%COMP%]{color:#25828e}"]}),n})(),dT=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-blank-layout"]],decls:1,vars:0,template:function(t,o){1&t&&e._UZ(0,"router-outlet")},directives:[Io.lC],styles:[""]}),n})();var Wy=i(92340);let fT=(()=>{class n{constructor(t,o){this.http=t,this.localeId=o}getLocale(){return this.localeId||Wy.N.default_lang}setLocale(t){document.cookie=`cd-lang=${t}`}getLanguages(){return this.http.get("ui-api/langs")}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(g.eN),e.LFG(e.soG))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var Wg=(()=>{return(n=Wg||(Wg={})).cs="\u010ce\u0161tina",n.de="Deutsch",n["en-US"]="English",n.es="Espa\xf1ol",n.fr="Fran\xe7ais",n.id="Bahasa Indonesia",n.it="Italiano",n.ja="\u65e5\u672c\u8a9e",n.ko="\ud55c\uad6d\uc5b4",n.pl="Polski",n.pt="Portugu\xeas (brasileiro)",n["zh-Hans"]="\u4e2d\u6587 (\u7b80\u4f53)",n["zh-Hant"]="\u4e2d\u6587 (\u7e41\u9ad4\uff09",Wg;var n})();function WM(n,s){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"button",4),e.NdJ("click",function(){const _=e.CHM(t).$implicit;return e.oxw().changeLanguage(_.key)}),e._uU(2),e.qZA(),e.BQk()}if(2&n){const t=s.$implicit;e.xp6(2),e.hij(" ",t.value," ")}}let pT=(()=>{class n{constructor(t){this.languageService=t,this.allLanguages=Wg,this.supportedLanguages={}}ngOnInit(){this.selectedLanguage=this.languageService.getLocale(),this.languageService.getLanguages().subscribe(t=>{this.supportedLanguages=Sr().pick(Wg,t)})}reloadWindow(){window.location.reload()}changeLanguage(t){this.languageService.setLocale(t),this.reloadWindow()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(fT))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-language-selector"]],decls:6,vars:4,consts:function(){let s;return s="Select a Language",[["ngbDropdown","","display","dynamic","placement","bottom-right"],["ngbDropdownToggle","","id","toggle-language-button","title",s,"role","button"],["ngbDropdownMenu","","role","listbox","aria-labelledby","toggle-language-button"],[4,"ngFor","ngForOf"],["ngbDropdownItem","","role","option",3,"click"]]},template:function(t,o){1&t&&(e.TgZ(0,"div",0)(1,"a",1),e._uU(2),e.qZA(),e.TgZ(3,"div",2),e.YNc(4,WM,3,1,"ng-container",3),e.ALo(5,"keyvalue"),e.qZA()()),2&t&&(e.xp6(2),e.hij(" ",o.allLanguages[o.selectedLanguage]," "),e.xp6(2),e.Q6J("ngForOf",e.lcZ(5,2,o.supportedLanguages)))},directives:[Pr.jt,Pr.iD,Pr.Vi,p.sg,ge.o,Pr.TH],pipes:[p.Nd],styles:[""]}),n})(),PD=(()=>{class n{constructor(t){this.http=t,this.baseUiURL="ui-api/login/custom_banner"}getBannerText(){return this.http.get(this.baseUiURL)}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(g.eN))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function hT(n,s){if(1&n&&(e.TgZ(0,"p",1),e._uU(1),e.qZA()),2&n){const t=s.ngIf;e.xp6(1),e.Oqu(t)}}let ND=(()=>{class n{constructor(t){this.customLoginBannerService=t}ngOnInit(){this.bannerText$=this.customLoginBannerService.getBannerText()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(PD))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-custom-login-banner"]],decls:2,vars:3,consts:[["class","login-text",4,"ngIf"],[1,"login-text"]],template:function(t,o){1&t&&(e.YNc(0,hT,2,1,"p",0),e.ALo(1,"async")),2&t&&e.Q6J("ngIf",e.lcZ(1,1,o.bannerText$))},directives:[p.O5],pipes:[p.Ov],styles:[".login-text[_ngcontent-%COMP%]{font-weight:700;margin:0;padding:12px 20% 12px 12px}"]}),n})();function ID(n,s){if(1&n&&(e.TgZ(0,"li",11)(1,"cd-doc",12),e.DtL(2,13),e.qZA()()),2&n){const t=s.$implicit;e.xp6(1),e.pQV(t.text),e.QtT(2),e.s9C("section",t.section)}}let FD=(()=>{class n{constructor(){this.docItems=[{section:"help",text:"Help"},{section:"security",text:"Security"},{section:"trademarks",text:"Trademarks"}]}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-login-layout"]],decls:16,vars:1,consts:function(){let s;return s="" + "\ufffd0\ufffd" + "",[[1,"login","full-height"],[1,"navbar","p-4"],[1,"navbar-brand"],[1,"form-inline"],[1,"container"],[1,"row","full-height"],[1,"col-sm-12","col-md-6","d-sm-block","login-form"],[1,"col-sm-12","col-md-6","d-sm-block","branding-info"],["src","assets/Ceph_Ceph_Logo_with_text_white.svg","alt","Ceph",1,"img-fluid","pb-3"],[1,"list-inline"],["class","list-inline-item p-3",4,"ngFor","ngForOf"],[1,"list-inline-item","p-3"],["noSubscribe","true",3,"section",6,"docText"],["docText",s]]},template:function(t,o){1&t&&(e.TgZ(0,"main",0)(1,"header")(2,"nav",1),e._UZ(3,"a",2),e.TgZ(4,"div",3),e._UZ(5,"cd-language-selector"),e.qZA()()(),e.TgZ(6,"section")(7,"div",4)(8,"div",5)(9,"div",6),e._UZ(10,"router-outlet"),e.qZA(),e.TgZ(11,"div",7),e._UZ(12,"img",8),e.TgZ(13,"ul",9),e.YNc(14,ID,3,2,"li",10),e.qZA(),e._UZ(15,"cd-custom-login-banner"),e.qZA()()()()()),2&t&&(e.xp6(14),e.Q6J("ngForOf",o.docItems))},directives:[Pr.M2,pT,Io.lC,p.sg,yf.K,ND],styles:["cd-login-layout .login{background-color:#374249;background-image:url(ceph_background.3fbdf95cd52530d7.gif);background-position:right bottom;background-repeat:no-repeat;color:#f8f9fa}  cd-login-layout .login header{position:absolute;width:100vw}  cd-login-layout .login header .navbar .dropdown-menu{margin-top:.2rem}  cd-login-layout .login header .navbar .dropdown-menu li a:hover{background-color:#25828e}  cd-login-layout .login section{display:inline-flex;min-height:100vh;width:100vw}  cd-login-layout .login .list-inline{margin-bottom:0;margin-left:17%}  cd-login-layout .login a{color:#fff}  cd-login-layout .login a:hover{color:#adb5bd}@media screen and (min-width: 576px){  cd-login-layout .login .login-form,   cd-login-layout .login .branding-info{padding-top:30vh}}@media screen and (max-width: 767px){  cd-login-layout .login .login-form{padding-top:10vh}  cd-login-layout .login .branding-info{padding-top:0}}"]}),n})(),_T=(()=>{class n{constructor(t,o,l){this.document=t,this.summaryService=o,this.cssHelper=l}init(){var t;this.url=null===(t=this.document.getElementById("cdFavicon"))||void 0===t?void 0:t.getAttribute("href"),this.sub=this.summaryService.subscribe(o=>{this.changeIcon(o.health_status)})}changeIcon(t){if(t===this.oldStatus)return;this.oldStatus=t;const o=this.document.getElementById("cdFavicon"),C=this.document.createElement("canvas");C.width=16,C.height=16;const x=C.getContext("2d"),N=this.document.createElement("img");N.src=this.url,N.onload=()=>{x.drawImage(N,0,0,16,16),Object.keys(Um).includes(t)&&(x.save(),x.globalCompositeOperation="destination-out",x.beginPath(),x.arc(C.width-4,4,6,0,2*Math.PI),x.fill(),x.restore(),x.beginPath(),x.arc(C.width-4,4,4,0,2*Math.PI),x.fillStyle=this.cssHelper.propertyValue(Um[t]),x.fill()),o.setAttribute("href",C.toDataURL("image/png"))}}ngOnDestroy(){var t;this.changeIcon(),null===(t=this.sub)||void 0===t||t.unsubscribe()}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(p.K0),e.LFG(Ym.J),e.LFG(Bm.P))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n})();var JM=i(71099),QM=i(59193),LD=i(68307),kD=i(77393);class XM{constructor(s,t){this.count=s,this.source=t}call(s,t){return t.subscribe(new mT(s,this.count,this.source))}}class mT extends kD.L{constructor(s,t,o){super(s),this.count=t,this.source=o}complete(){if(!this.isStopped){const{source:s,count:t}=this;if(0===t)return super.complete();t>-1&&(this.count=t-1),s.subscribe(this._unsubscribeAndRecycle())}}}var Jy=i(2817);let gT=(()=>{class n{constructor(t){this.http=t,this.url="ui-api/motd"}get(){return this.http.get(this.url)}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(g.eN))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Qy=(()=>{class n{constructor(t){this.motdService=t,this.motdSource=new Tc.X(null),this.localStorageKey="dashboard_motd_hidden",this.motd$=this.motdSource.asObservable(),this.subscription=(0,rc.of)(!0).pipe((0,Ac.zg)(()=>this.motdService.get()),(0,cg.K)(o=>(fu.isFunction(o.preventDefault)&&o.preventDefault(),QM.E)),(0,LD.b)(o=>this.processResponse(o)),(0,Mf.g)(6e4),function u0(n=-1){return s=>0===n?(0,QM.c)():s.lift(new XM(n<0?-1:n-1,s))}(),(0,Jy.r)()).subscribe()}ngOnDestroy(){this.subscription.unsubscribe()}hide(){const t=this.motdSource.getValue();if(t){const o=`${t.severity}:${t.md5}`;switch(t.severity){case"info":localStorage.setItem(this.localStorageKey,o),sessionStorage.removeItem(this.localStorageKey);break;case"warning":sessionStorage.setItem(this.localStorageKey,o),localStorage.removeItem(this.localStorageKey)}}this.motdSource.next(null)}processResponse(t){const o=sessionStorage.getItem(this.localStorageKey)||localStorage.getItem(this.localStorageKey);let l=fu.isNull(o);if(!l&&t){const[_,C]=o.split(":");(_!==t.severity||C!==t.md5)&&(l=!0,sessionStorage.removeItem(this.localStorageKey),localStorage.removeItem(this.localStorageKey))}l&&this.motdSource.next(t)}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(gT))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var $D=i(9837),Xy=i(51907);function vT(n,s){1&n&&(e.TgZ(0,"div"),e.tHW(1,3),e._UZ(2,"strong")(3,"a",4),e.N_p(),e.qZA())}function KM(n,s){if(1&n&&(e.TgZ(0,"div"),e.tHW(1,5),e._UZ(2,"strong")(3,"a",4),e.N_p(),e.qZA()),2&n){const t=e.oxw(2);e.xp6(3),e.pQV(t.expirationDays),e.QtT(1)}}function yT(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"cd-alert-panel",1),e.NdJ("dismissed",function(){return e.CHM(t),e.oxw().onDismissed()}),e.YNc(1,vT,4,0,"div",2),e.YNc(2,KM,4,1,"div",2),e.qZA()}if(2&n){const t=e.oxw();e.Q6J("type",t.alertType)("showTitle",!1)("dismissible","danger"!==t.alertType),e.xp6(1),e.Q6J("ngIf",0===t.expirationDays),e.xp6(1),e.Q6J("ngIf",t.expirationDays>0)}}let HD=(()=>{class n{constructor(t,o){this.settingsService=t,this.authStorageService=o,this.displayNotification=!1}ngOnInit(){this.settingsService.getStandardSettings().subscribe(t=>{this.pwdExpirationSettings=new Xy.G(t);const o=this.authStorageService.getPwdExpirationDate();o&&(this.expirationDays=this.getExpirationDays(o),this.alertType=this.expirationDays<=this.pwdExpirationSettings.pwdExpirationWarning2?"danger":"warning",this.displayNotification=this.expirationDays<=this.pwdExpirationSettings.pwdExpirationWarning1,this.authStorageService.isPwdDisplayedSource.next(this.displayNotification))})}ngOnDestroy(){this.authStorageService.isPwdDisplayedSource.next(!1)}getExpirationDays(t){const o=new Date,l=new Date(1e3*t);return Math.floor((l.valueOf()-o.valueOf())/864e5)}onDismissed(){this.authStorageService.isPwdDisplayedSource.next(!1),this.displayNotification=!1}}return n.\u0275fac=function(t){return new(t||n)(e.Y36($D.g),e.Y36(Vi.j))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-pwd-expiration-notification"]],decls:1,vars:1,consts:function(){let s,t;return s="Your password will expire in " + "\ufffd#2\ufffd" + "less than 1" + "\ufffd/#2\ufffd" + " day. Click " + "\ufffd#3\ufffd" + "here" + "\ufffd/#3\ufffd" + " to change it now.",t="Your password will expire in " + "\ufffd#2\ufffd" + "" + "\ufffd0\ufffd" + "" + "\ufffd/#2\ufffd" + " day(s). Click " + "\ufffd#3\ufffd" + "here" + "\ufffd/#3\ufffd" + " to change it now.",[["class","no-margin-bottom","size","slim",3,"type","showTitle","dismissible","dismissed",4,"ngIf"],["size","slim",1,"no-margin-bottom",3,"type","showTitle","dismissible","dismissed"],[4,"ngIf"],s,["routerLink","/user-profile/edit",1,"alert-link"],t]},template:function(t,o){1&t&&e.YNc(0,yT,3,5,"cd-alert-panel",0),2&t&&e.Q6J("ngIf",o.displayNotification)},directives:[p.O5,yo.G,Io.yS],styles:[".no-margin-bottom[_ngcontent-%COMP%]{margin-bottom:0}"]}),n})();function qM(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"cd-alert-panel",1),e.NdJ("dismissed",function(){return e.CHM(t),e.oxw().onDismissed()}),e.TgZ(1,"div"),e.tHW(2,2),e._UZ(3,"a",3)(4,"a",4),e.N_p(),e.qZA()()}if(2&n){const t=e.oxw();e.Q6J("showTitle",!1)("type",t.notificationSeverity)("dismissible","danger"!==t.notificationSeverity)}}let eO=(()=>{class n{constructor(t,o,l,_){this.mgrModuleService=t,this.authStorageService=o,this.notificationService=l,this.telemetryNotificationService=_,this.displayNotification=!1,this.notificationSeverity="warning"}ngOnInit(){if(this.telemetryNotificationService.update.subscribe(t=>{this.displayNotification=t}),!this.isNotificationHidden()){const t=this.authStorageService.getPermissions().configOpt;Sr().every(Object.values(t))&&this.mgrModuleService.getConfig("telemetry").subscribe(o=>{o.enabled||this.telemetryNotificationService.setVisibility(!0)})}}ngOnDestroy(){this.telemetryNotificationService.setVisibility(!1)}isNotificationHidden(){return"true"===localStorage.getItem("telemetry_notification_hidden")}onDismissed(){this.telemetryNotificationService.setVisibility(!1),localStorage.setItem("telemetry_notification_hidden","true"),this.notificationService.show(Sa.k.success,"Telemetry activation reminder muted","You can activate the module on the Telemetry configuration page (<b>Dashboard Settings</b> -> <b>Telemetry configuration</b>) at any time.")}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(xm.N),e.Y36(Vi.j),e.Y36(Tl.g),e.Y36(V1))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-telemetry-notification"]],decls:1,vars:1,consts:function(){let s;return s="The Ceph community needs your help to continue improving: please " + "\ufffd#3\ufffd" + "Activate" + "[\ufffd/#3\ufffd|\ufffd/#4\ufffd]" + " the " + "\ufffd#4\ufffd" + "Telemetry" + "[\ufffd/#3\ufffd|\ufffd/#4\ufffd]" + " module.",s=e.Zx4(s),[["class","no-margin-bottom","size","slim",3,"showTitle","type","dismissible","dismissed",4,"ngIf"],["size","slim",1,"no-margin-bottom",3,"showTitle","type","dismissible","dismissed"],s,["routerLink","/telemetry",1,"btn","activate-button","alert-link","activate-text"],["href","https://docs.ceph.com/en/latest/mgr/telemetry/"]]},template:function(t,o){1&t&&e.YNc(0,qM,5,3,"cd-alert-panel",0),2&t&&e.Q6J("ngIf",o.displayNotification)},directives:[p.O5,yo.G,Io.yS],styles:[".no-margin-bottom[_ngcontent-%COMP%]{font-size:.875rem;margin-bottom:0}.activate-button[_ngcontent-%COMP%]{background-color:#fcecba;border:#495057 solid .5px;border-radius:10%;padding:.1rem .4rem}.activate-text[_ngcontent-%COMP%]{color:#495057;font-weight:700}a[_ngcontent-%COMP%]{color:#1a5d66;font-weight:700}"]}),n})();var Ky=i(60793);function tO(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"cd-alert-panel",1),e.NdJ("dismissed",function(){return e.CHM(t),e.oxw().onDismissed()}),e._UZ(1,"span",2),e.ALo(2,"sanitizeHtml"),e.qZA()}if(2&n){const t=e.oxw();e.Q6J("showTitle",!1)("type",t.motd.severity)("dismissible","danger"!==t.motd.severity),e.xp6(1),e.Q6J("innerHTML",e.lcZ(2,4,t.motd.message),e.oJD)}}let BD=(()=>{class n{constructor(t){this.motdNotificationService=t,this.motd=void 0}ngOnInit(){this.subscription=this.motdNotificationService.motd$.subscribe(t=>{this.motd=t})}ngOnDestroy(){this.subscription.unsubscribe()}onDismissed(){this.motdNotificationService.hide()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Qy))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-motd"]],decls:1,vars:1,consts:[["size","slim",3,"showTitle","type","dismissible","dismissed",4,"ngIf"],["size","slim",3,"showTitle","type","dismissible","dismissed"],[3,"innerHTML"]],template:function(t,o){1&t&&e.YNc(0,tO,3,6,"cd-alert-panel",0),2&t&&e.Q6J("ngIf",o.motd)},directives:[p.O5,yo.G],pipes:[Ky.A],styles:[""]}),n})();class YD{constructor(s){if(this._maxConcurrency=s,this._queue=[],s<=0)throw new Error("semaphore must be initialized to a positive value");this._value=s}acquire(){const s=this.isLocked(),t=new Promise(o=>this._queue.push(o));return s||this._dispatch(),t}runExclusive(s){return function(n,s,t,o){return new(t||(t=Promise))(function(_,C){function x(Q){try{V(o.next(Q))}catch(oe){C(oe)}}function N(Q){try{V(o.throw(Q))}catch(oe){C(oe)}}function V(Q){Q.done?_(Q.value):function l(_){return _ instanceof t?_:new t(function(C){C(_)})}(Q.value).then(x,N)}V((o=o.apply(n,s||[])).next())})}(this,void 0,void 0,function*(){const[t,o]=yield this.acquire();try{return yield s(t)}finally{o()}})}isLocked(){return this._value<=0}release(){if(this._maxConcurrency>1)throw new Error("this method is unavailabel on semaphores with concurrency > 1; use the scoped release returned by acquire instead");this._currentReleaser&&(this._currentReleaser(),this._currentReleaser=void 0)}_dispatch(){const s=this._queue.shift();if(!s)return;let t=!1;this._currentReleaser=()=>{t||(t=!0,this._value++,this._dispatch())},s([this._value--,this._currentReleaser])}}class rO{constructor(){this._semaphore=new YD(1)}acquire(){return function(n,s,t,o){return new(t||(t=Promise))(function(_,C){function x(Q){try{V(o.next(Q))}catch(oe){C(oe)}}function N(Q){try{V(o.throw(Q))}catch(oe){C(oe)}}function V(Q){Q.done?_(Q.value):function l(_){return _ instanceof t?_:new t(function(C){C(_)})}(Q.value).then(x,N)}V((o=o.apply(n,s||[])).next())})}(this,void 0,void 0,function*(){const[,s]=yield this._semaphore.acquire();return s})}runExclusive(s){return this._semaphore.runExclusive(()=>s())}isLocked(){return this._semaphore.isLocked()}release(){this._semaphore.release()}}let iO=(()=>{class n{constructor(t,o){this.alertFormatter=t,this.prometheusService=o,this.backendFailure=!1,this.notifications=[]}refresh(){this.backendFailure||this.prometheusService.getNotifications(Sr().last(this.notifications)).subscribe(t=>this.handleNotifications(t),()=>this.backendFailure=!0)}handleNotifications(t){0!==t.length&&(this.notifications.length>0&&this.alertFormatter.sendNotifications(Sr().flatten(t.map(o=>this.formatNotification(o)))),this.notifications=this.notifications.concat(t))}formatNotification(t){return this.alertFormatter.convertToCustomAlerts(t.alerts).map(o=>this.alertFormatter.convertAlertToNotification(o))}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(H1),e.LFG(mm))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var qy=i(57924),oO=i(90504);const Ph=function(n,s){return[n,s]},sO=function(n,s,t,o){return[n,s,t,o]};function eE(n,s){if(1&n&&(e.TgZ(0,"div")(1,"div",11)(2,"div",12)(3,"div",13)(4,"span",14),e._UZ(5,"i",15)(6,"i",15),e.qZA()(),e.TgZ(7,"div",16)(8,"div",17)(9,"h6",18),e._uU(10),e.qZA(),e.TgZ(11,"div",19),e._UZ(12,"ngb-progressbar",20),e.qZA(),e.TgZ(13,"p",21)(14,"small",22),e._uU(15),e.ALo(16,"cdDate"),e.qZA(),e.TgZ(17,"span",23),e._uU(18),e.qZA()()()()()(),e._UZ(19,"hr"),e.qZA()),2&n){const t=s.$implicit,o=e.oxw(2);e.xp6(4),e.Q6J("ngClass",e.WLB(11,Ph,o.icons.stack,o.icons.large2x)),e.xp6(1),e.Q6J("ngClass",e.WLB(14,Ph,o.icons.stack2x,o.icons.circle)),e.xp6(1),e.Q6J("ngClass",e.l5B(17,sO,o.icons.stack1x,o.icons.spinner,o.icons.spin,o.icons.inverse)),e.xp6(4),e.Oqu(t.description),e.xp6(2),e.Q6J("value",null==t?null:t.progress)("striped",!0)("animated",!0),e.xp6(3),e.hij(" ",e.lcZ(16,9,t.begin_time)," "),e.xp6(3),e.hij(" ",t.progress||0," % ")}}function aO(n,s){if(1&n&&e.YNc(0,eE,20,22,"div",10),2&n){const t=e.oxw();e.Q6J("ngForOf",t.executingTasks)("ngForTrackBy",t.trackByFn)}}const kv=function(n){return[n]};function tE(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"button",37),e.NdJ("click",function(){e.CHM(t);const l=e.oxw().$implicit;return e.oxw(3).silence(l)}),e._UZ(1,"i",15),e.qZA()}if(2&n){const t=e.oxw(4);e.xp6(1),e.Q6J("ngClass",e.VKq(1,kv,t.icons.mute))}}function bT(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"button",38),e.NdJ("click",function(){e.CHM(t);const l=e.oxw().$implicit;return e.oxw(3).expire(l)}),e._UZ(1,"i",15),e.qZA()}if(2&n){const t=e.oxw(4);e.xp6(1),e.Q6J("ngClass",e.VKq(1,kv,t.icons.bell))}}function ST(n,s){if(1&n&&(e.ynx(0),e.TgZ(1,"small"),e.ynx(2),e.SDv(3,39),e.BQk(),e._uU(4),e.ALo(5,"duration"),e.qZA(),e._UZ(6,"br"),e.BQk()),2&n){const t=e.oxw().$implicit;e.xp6(4),e.hij(" ",e.lcZ(5,1,t.duration)," ")}}const TT=function(n,s,t){return[n,s,t]};function CT(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",15)(1,"div",29)(2,"div",12)(3,"div",13)(4,"span",15),e._UZ(5,"i",15)(6,"i",15),e.qZA()(),e.TgZ(7,"div",30)(8,"div",17)(9,"button",31),e.NdJ("click",function(l){const C=e.CHM(t).index;return e.oxw(3).remove(C),l.stopPropagation()}),e._UZ(10,"i",15),e.qZA(),e.YNc(11,tE,2,3,"button",32),e.YNc(12,bT,2,3,"button",33),e.TgZ(13,"h6",18),e._uU(14),e.qZA(),e._UZ(15,"p",34),e.TgZ(16,"p",21),e.YNc(17,ST,7,3,"ng-container",24),e.TgZ(18,"small",35),e.ALo(19,"cdDate"),e._uU(20),e.ALo(21,"relativeDate"),e.qZA(),e._UZ(22,"i",36),e.qZA()()()()(),e._UZ(23,"hr"),e.qZA()}if(2&n){const t=s.$implicit,o=e.oxw(3);e.Q6J("ngClass",t.borderClass),e.xp6(4),e.Q6J("ngClass",e.kEZ(18,TT,o.icons.stack,o.icons.large2x,t.textClass)),e.xp6(1),e.Q6J("ngClass",e.WLB(22,Ph,o.icons.circle,o.icons.stack2x)),e.xp6(1),e.Q6J("ngClass",e.kEZ(25,TT,o.icons.stack1x,o.icons.inverse,t.iconClass)),e.xp6(4),e.Q6J("ngClass",e.VKq(29,kv,o.icons.trash)),e.xp6(1),e.Q6J("ngIf","Prometheus"===t.application&&2!==t.type&&!t.alertSilenced),e.xp6(1),e.Q6J("ngIf","Prometheus"===t.application&&2!==t.type&&t.alertSilenced),e.xp6(2),e.Oqu(t.title),e.xp6(1),e.Q6J("innerHtml",t.message,e.oJD),e.xp6(2),e.Q6J("ngIf",t.duration),e.xp6(1),e.Q6J("title",e.lcZ(19,14,t.timestamp)),e.xp6(2),e.Oqu(e.lcZ(21,16,t.timestamp)),e.xp6(2),e.Q6J("ngClass",e.VKq(31,kv,t.applicationClass))("title",t.application)}}function lO(n,s){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"button",25),e.NdJ("click",function(l){return e.CHM(t),e.oxw(2).removeAll(),l.stopPropagation()}),e._UZ(2,"i",26),e._uU(3," \xa0 "),e.ynx(4),e.SDv(5,27),e.BQk(),e.qZA(),e._UZ(6,"hr"),e.YNc(7,CT,24,33,"div",28),e.BQk()}if(2&n){const t=e.oxw(2);e.xp6(2),e.Q6J("ngClass",e.VKq(2,kv,t.icons.trash)),e.xp6(5),e.Q6J("ngForOf",t.notifications)}}function uO(n,s){if(1&n&&e.YNc(0,lO,8,4,"ng-container",24),2&n){const t=e.oxw();e.Q6J("ngIf",t.notifications.length>0)}}function cO(n,s){1&n&&(e.TgZ(0,"div")(1,"div",40),e.SDv(2,41),e.qZA()())}function nE(n,s){if(1&n&&e.YNc(0,cO,3,0,"div",24),2&n){const t=e.oxw();e.Q6J("ngIf",0===t.notifications.length&&0===t.executingTasks.length)}}function dg(n,s){1&n&&e.GkF(0)}function MT(n,s){1&n&&e.GkF(0)}function OT(n,s){1&n&&e.GkF(0)}let dO=(()=>{class n{constructor(t,o,l,_,C,x,N,V,Q,oe){this.notificationService=t,this.summaryService=o,this.taskMessageService=l,this.prometheusNotificationService=_,this.succeededLabels=C,this.authStorageService=x,this.prometheusAlertService=N,this.prometheusService=V,this.ngZone=Q,this.cdRef=oe,this.isSidebarOpened=!1,this.executingTasks=[],this.subs=new oc.w,this.icons=wo.P,this.last_task="",this.mutex=new rO,this.simplebar={autoHide:!1},this.notifications=[]}ngOnDestroy(){window.clearInterval(this.interval),window.clearTimeout(this.timeout),this.subs.unsubscribe()}ngOnInit(){this.last_task=window.localStorage.getItem("last_task");const t=this.authStorageService.getPermissions();t.prometheus.read&&t.configOpt.read&&(this.triggerPrometheusAlerts(),this.ngZone.runOutsideAngular(()=>{this.interval=window.setInterval(()=>{this.ngZone.run(()=>{this.triggerPrometheusAlerts()})},5e3)})),this.subs.add(this.notificationService.data$.subscribe(o=>{this.notifications=Sr().orderBy(o,["timestamp"],["desc"]),this.cdRef.detectChanges()})),this.subs.add(this.notificationService.sidebarSubject.subscribe(o=>{this.isSidebarOpened=!o&&!this.isSidebarOpened,window.clearTimeout(this.timeout),this.timeout=window.setTimeout(()=>{this.cdRef.detectChanges()},0)})),this.subs.add(this.summaryService.subscribe(o=>{this._handleTasks(o.executing_tasks),this.mutex.acquire().then(l=>{Sr().filter(o.finished_tasks,_=>!this.last_task||ls()(_.end_time).isAfter(this.last_task)).forEach(_=>{const C=this.notificationService.finishedTaskToNotification(_,_.success),x=new $1.e(C);x.timestamp=_.end_time,x.duration=_.duration,(!this.last_task||ls()(_.end_time).isAfter(this.last_task))&&(this.last_task=_.end_time,window.localStorage.setItem("last_task",this.last_task)),this.notificationService.save(x)}),this.cdRef.detectChanges(),l()})}))}_handleTasks(t){for(const o of t)o.description=this.taskMessageService.getRunningTitle(o);this.executingTasks=t}triggerPrometheusAlerts(){this.prometheusAlertService.refresh(),this.prometheusNotificationService.refresh()}removeAll(){this.notificationService.removeAll()}remove(t){this.notificationService.remove(t)}closeSidebar(){this.isSidebarOpened=!1}trackByFn(t){return t}silence(t){const o="YYYY-MM-DD HH:mm",l="silence",_={name:"alertname",value:t.title.split(" ")[0],isRegex:!1},C={matchers:[_],startsAt:ls()(ls()().format(o)).toISOString(),endsAt:ls()(ls()().add(2,"hours").format(o)).toISOString(),createdBy:this.authStorageService.getUsername(),comment:"Silence created from the alert notification"};let x="";t.alertSilenced=!0,x=x.concat(` ${_.name} - ${_.value},`);const N=`${this.succeededLabels.CREATED} ${l} for ${x.slice(0,-1)}`;this.prometheusService.setSilence(C).subscribe(V=>{t&&(t.silenceId=V.body.silenceId),this.notificationService.show(Sa.k.success,N,void 0,void 0,"Prometheus")})}expire(t){t.alertSilenced=!1,this.prometheusService.expireSilence(t.silenceId).subscribe(()=>{this.notificationService.show(Sa.k.success,`${this.succeededLabels.EXPIRED} ${t.silenceId}`,void 0,void 0,"Prometheus")},o=>{o.application="Prometheus"})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Tl.g),e.Y36(Ym.J),e.Y36(qy.p),e.Y36(iO),e.Y36(Mo.aX),e.Y36(Vi.j),e.Y36(ag),e.Y36(mm),e.Y36(e.R0b),e.Y36(e.sBO))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-notifications-sidebar"]],hostVars:2,hostBindings:function(t,o){2&t&&e.ekj("active",o.isSidebarOpened)},decls:16,vars:5,consts:function(){let s,t,o,l,_,C,x;return s="Tasks and Notifications",t="Clear notifications",o="Remove notification",l="Silence Alert",_="Expire Silence",C="Duration:",x="There are no notifications.",[["tasksTpl",""],["notificationsTpl",""],["emptyTpl",""],[1,"card",3,"clickOutsideEnabled","clickOutside"],[1,"card-header"],s,["tabindex","-1","type","button","title","close",1,"btn-close","float-end",3,"click"],[3,"options"],[1,"card-body"],[4,"ngTemplateOutlet"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"card","tc_task","border-0"],[1,"row","no-gutters"],[1,"col-md-2","text-center"],[1,"text-info",3,"ngClass"],[3,"ngClass"],[1,"col-md-9"],[1,"card-body","p-1"],[1,"card-title","bold"],[1,"mb-1"],["type","info",3,"value","striped","animated"],[1,"card-text","text-muted"],[1,"date","float-start"],[1,"float-end"],[4,"ngIf"],["type","button",1,"btn","btn-light","btn-block",3,"click"],["aria-hidden","true",3,"ngClass"],t,[3,"ngClass",4,"ngFor","ngForOf"],[1,"card","tc_notification","border-0"],[1,"col-md-10"],["title",o,1,"btn","btn-link","float-end","mt-0","pt-0",3,"click"],["class","btn btn-link float-end text-muted mute m-0 p-0","title",l,3,"click",4,"ngIf"],["class","btn btn-link float-end text-muted mute m-0 p-0","title",_,3,"click",4,"ngIf"],[1,"card-text",3,"innerHtml"],[1,"date",3,"title"],[1,"float-end","custom-icon",3,"ngClass","title"],["title",l,1,"btn","btn-link","float-end","text-muted","mute","m-0","p-0",3,"click"],["title",_,1,"btn","btn-link","float-end","text-muted","mute","m-0","p-0",3,"click"],C,[1,"message","text-center"],x]},template:function(t,o){if(1&t&&(e.YNc(0,aO,1,2,"ng-template",null,0,e.W1O),e.YNc(2,uO,1,1,"ng-template",null,1,e.W1O),e.YNc(4,nE,1,1,"ng-template",null,2,e.W1O),e.TgZ(6,"div",3),e.NdJ("clickOutside",function(){return o.closeSidebar()}),e.TgZ(7,"div",4),e.ynx(8),e.SDv(9,5),e.BQk(),e.TgZ(10,"button",6),e.NdJ("click",function(){return o.closeSidebar()}),e.qZA()(),e.TgZ(11,"ngx-simplebar",7)(12,"div",8),e.YNc(13,dg,1,0,"ng-container",9),e.YNc(14,MT,1,0,"ng-container",9),e.YNc(15,OT,1,0,"ng-container",9),e.qZA()()()),2&t){const l=e.MAs(1),_=e.MAs(3),C=e.MAs(5);e.xp6(6),e.Q6J("clickOutsideEnabled",o.isSidebarOpened),e.xp6(5),e.Q6J("options",o.simplebar),e.xp6(2),e.Q6J("ngTemplateOutlet",l),e.xp6(1),e.Q6J("ngTemplateOutlet",_),e.xp6(1),e.Q6J("ngTemplateOutlet",C)}},directives:[p.sg,p.mk,Pr.Ly,p.O5,ge.o,oO._,gm.M,p.tP],pipes:[Pn.N,cy.u,Ed.h],styles:["[_nghost-%COMP%]{bottom:10px;max-width:90vw;position:fixed;right:-350px;top:53px;transition:all .6s;width:350px;z-index:9}.active[_nghost-%COMP%]{right:20px}.card[_ngcontent-%COMP%]{height:100%}.card-body[_ngcontent-%COMP%]{padding-left:0;padding-right:5px;padding-top:3px}ngx-simplebar[_ngcontent-%COMP%]{height:calc(100% - 42.2px)}.separator[_ngcontent-%COMP%]{background-color:#e9ecef;color:#6c757d;font-size:1rem;padding:5px 12px}.btn-block[_ngcontent-%COMP%]{width:98%}.btn-link[_ngcontent-%COMP%]   .fa-trash-o[_ngcontent-%COMP%]{color:#000}table[_ngcontent-%COMP%]{width:100%}.row[_ngcontent-%COMP%]{margin-left:0;margin-right:0;padding-bottom:1rem;padding-top:1rem}hr[_ngcontent-%COMP%]{margin-bottom:2px;margin-top:2px}"],changeDetection:0}),n})();function jD(n,s){1&n&&e._UZ(0,"span",5)}const fO=function(n){return{running:n}},pO=function(n){return[n]};let hO=(()=>{class n{constructor(t,o){this.notificationService=t,this.summaryService=o,this.icons=wo.P,this.hasRunningTasks=!1,this.hasNotifications=!1,this.subs=new oc.w}ngOnInit(){this.subs.add(this.summaryService.subscribe(t=>{this.hasRunningTasks=t.executing_tasks.length>0})),this.subs.add(this.notificationService.data$.subscribe(t=>{this.hasNotifications=t.length>0}))}ngOnDestroy(){this.subs.unsubscribe()}toggleSidebar(){this.notificationService.toggleSidebar()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Tl.g),e.Y36(Ym.J))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-notifications"]],decls:5,vars:7,consts:function(){let s,t;return s="Tasks and Notifications",t="Tasks and Notifications",[["title",s,3,"ngClass","click"],[3,"ngClass"],["class","dot",4,"ngIf"],[1,"d-md-none"],t,[1,"dot"]]},template:function(t,o){1&t&&(e.TgZ(0,"a",0),e.NdJ("click",function(){return o.toggleSidebar()}),e._UZ(1,"i",1),e.YNc(2,jD,1,0,"span",2),e.TgZ(3,"span",3),e.SDv(4,4),e.qZA()()),2&t&&(e.Q6J("ngClass",e.VKq(3,fO,o.hasRunningTasks)),e.xp6(1),e.Q6J("ngClass",e.VKq(5,pO,o.icons.bell)),e.xp6(1),e.Q6J("ngIf",o.hasNotifications))},directives:[p.mk,p.O5],styles:[".running[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:#25828e}.running[_ngcontent-%COMP%]:hover   i[_ngcontent-%COMP%]{color:#fff}a[_ngcontent-%COMP%]   .dot[_ngcontent-%COMP%]{background-color:#2b99a8;border:2px solid #374249;border-radius:50%;height:11px;position:absolute;right:17px;top:10px;width:10px}a[_ngcontent-%COMP%]:hover   .dot[_ngcontent-%COMP%]{background-color:#fff;border-color:#2b99a8}"]}),n})(),AT=(()=>{class n{constructor(t){this.http=t,this.baseUIURL="api/feedback"}isKeyExist(){return this.http.get("ui-api/feedback/api_key/exist")}createIssue(t,o,l,_,C){return this.http.post("api/feedback",{project:t,tracker:o,subject:l,description:_,api_key:C},{headers:{Accept:"application/vnd.ceph.api.v0.1+json"}})}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(g.eN))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function _O(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"cd-alert-panel",30),e.tHW(1,31),e.TgZ(2,"a",32),e.NdJ("click",function(){return e.CHM(t),e.oxw().redirect()}),e.qZA(),e.N_p(),e.qZA()}}function mO(n,s){1&n&&(e.TgZ(0,"span",37),e.SDv(1,38),e.qZA())}function GD(n,s){1&n&&(e.TgZ(0,"span",37),e.SDv(1,39),e.qZA())}function rE(n,s){if(1&n&&(e.TgZ(0,"div",33)(1,"label",34),e.SDv(2,35),e.qZA(),e.TgZ(3,"div",12),e._UZ(4,"input",36),e.YNc(5,mO,2,0,"span",17),e.YNc(6,GD,2,0,"span",17),e.qZA()()),2&n){const t=e.oxw(),o=e.MAs(5);e.xp6(5),e.Q6J("ngIf",t.feedbackForm.showError("api_key",o,"required")),e.xp6(1),e.Q6J("ngIf",t.feedbackForm.showError("api_key",o,"invalidApiKey"))}}function DT(n,s){if(1&n&&(e.TgZ(0,"option",40),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("value",t),e.xp6(1),e.Oqu(t)}}function gO(n,s){1&n&&(e.TgZ(0,"span",37),e.SDv(1,41),e.qZA())}function vO(n,s){if(1&n&&(e.TgZ(0,"option",40),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("value",t),e.xp6(1),e.Oqu(t)}}function xT(n,s){1&n&&(e.TgZ(0,"span",37),e.SDv(1,42),e.qZA())}function iE(n,s){1&n&&(e.TgZ(0,"span",37),e.SDv(1,43),e.qZA())}function oE(n,s){1&n&&(e.TgZ(0,"span",37),e.SDv(1,44),e.qZA())}let RT=(()=>{class n{constructor(t,o,l,_,C,x){this.feedbackService=t,this.activeModal=o,this.actionLabels=l,this.secondaryModal=_,this.notificationService=C,this.router=x,this.title="Feedback",this.project=["dashboard","block","objects","file_system","ceph_manager","orchestrator","ceph_volume","core_ceph"],this.tracker=["bug","feature"],this.isAPIKeySet=!1,this.isFeedbackEnabled=!0}ngOnInit(){this.createForm(),this.keySub=this.feedbackService.isKeyExist().subscribe({next:t=>{this.isAPIKeySet=t,this.isAPIKeySet&&this.feedbackForm.get("api_key").clearValidators()},error:()=>{this.isFeedbackEnabled=!1,this.feedbackForm.disable()}})}createForm(){this.feedbackForm=new nc.d({project:new En.NI("",En.kI.required),tracker:new En.NI("",En.kI.required),subject:new En.NI("",En.kI.required),description:new En.NI("",En.kI.required),api_key:new En.NI("",En.kI.required)})}ngOnDestroy(){this.keySub.unsubscribe()}onSubmit(){this.feedbackService.createIssue(this.feedbackForm.controls.project.value,this.feedbackForm.controls.tracker.value,this.feedbackForm.controls.subject.value,this.feedbackForm.controls.description.value,this.feedbackForm.controls.api_key.value).subscribe({next:t=>{this.notificationService.show(Sa.k.success,"Issue successfully created on Ceph Issue tracker",`Go to the tracker: <a href="https://tracker.ceph.com/issues/${t.message.issue.id}" target="_blank"> ${t.message.issue.id} </a>`)},error:()=>{this.feedbackForm.get("api_key").setErrors({invalidApiKey:!0}),this.feedbackForm.setErrors({cdSubmitButton:!0})},complete:()=>{this.activeModal.close()}})}redirect(){this.activeModal.close(),this.router.navigate(["/mgr-modules"])}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(AT),e.Y36(Pr.Kz),e.Y36(Mo.p4),e.Y36(Pr.FF),e.Y36(Tl.g),e.Y36(Io.F0))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-feedback"]],decls:42,vars:12,consts:function(){let s,t,o,l,_,C,x,N,V,Q,oe,le,me,ye,$e;return s="Report an issue",t="Project name",o="-- Select a project --",l="Tracker",_="-- Select a tracker --",C="Subject",x="Description",N="Feedback module is not enabled. Please enable it from " + "\ufffd#2\ufffd" + "Cluster-> Manager Modules." + "\ufffd/#2\ufffd" + "",V="Ceph Tracker API Key",Q="Ceph Tracker API key is required.",oe="Ceph Tracker API key is invalid.",le="Project name is required.",me="Tracker name is required.",ye="Subject is required.",$e="Description is required.",[[3,"modalRef"],[1,"modal-title"],s,[1,"modal-content"],["name","feedbackForm",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],["type","error",4,"ngIf"],["class","form-group row mt-3",4,"ngIf"],[1,"form-group","row"],["for","project",1,"cd-col-form-label","required"],t,[1,"cd-col-form-input"],["id","project","formControlName","project",1,"form-control"],["ngValue",""],o,[3,"value",4,"ngFor","ngForOf"],["class","invalid-feedback",4,"ngIf"],["for","tracker",1,"cd-col-form-label","required"],l,["id","tracker","formControlName","tracker",1,"form-control"],_,["for","subject",1,"cd-col-form-label","required"],C,["id","subject","type","text","formControlName","subject","placeholder","Add issue title",1,"form-control"],["for","description",1,"cd-col-form-label","required"],x,["id","description","type","text","formControlName","description","placeholder","Add issue description",1,"form-control"],[1,"modal-footer"],["wrappingClass","text-right",3,"form","submitText","submitActionEvent"],["type","error"],N,[3,"click"],[1,"form-group","row","mt-3"],["for","api_key",1,"cd-col-form-label","required"],V,["id","api_key","type","password","formControlName","api_key","placeholder","Add Ceph tracker API key",1,"form-control"],[1,"invalid-feedback"],Q,oe,[3,"value"],le,me,ye,$e]},template:function(t,o){if(1&t&&(e.TgZ(0,"cd-modal",0)(1,"div",1),e.SDv(2,2),e.qZA(),e.TgZ(3,"div",3)(4,"form",4,5)(6,"div",6),e.YNc(7,_O,3,0,"cd-alert-panel",7),e.YNc(8,rE,7,2,"div",8),e.TgZ(9,"div",9)(10,"label",10),e.SDv(11,11),e.qZA(),e.TgZ(12,"div",12)(13,"select",13)(14,"option",14),e.SDv(15,15),e.qZA(),e.YNc(16,DT,2,2,"option",16),e.qZA(),e.YNc(17,gO,2,0,"span",17),e.qZA()(),e.TgZ(18,"div",9)(19,"label",18),e.SDv(20,19),e.qZA(),e.TgZ(21,"div",12)(22,"select",20)(23,"option",14),e.SDv(24,21),e.qZA(),e.YNc(25,vO,2,2,"option",16),e.qZA(),e.YNc(26,xT,2,0,"span",17),e.qZA()(),e.TgZ(27,"div",9)(28,"label",22),e.SDv(29,23),e.qZA(),e.TgZ(30,"div",12),e._UZ(31,"input",24),e.YNc(32,iE,2,0,"span",17),e.qZA()(),e.TgZ(33,"div",9)(34,"label",25),e.SDv(35,26),e.qZA(),e.TgZ(36,"div",12)(37,"textarea",27),e._uU(38,"            "),e.qZA(),e.YNc(39,oE,2,0,"span",17),e.qZA()()(),e.TgZ(40,"div",28)(41,"cd-form-button-panel",29),e.NdJ("submitActionEvent",function(){return o.onSubmit()}),e.qZA()()()()()),2&t){const l=e.MAs(5);e.Q6J("modalRef",o.activeModal),e.xp6(4),e.Q6J("formGroup",o.feedbackForm),e.xp6(3),e.Q6J("ngIf",!o.isFeedbackEnabled),e.xp6(1),e.Q6J("ngIf",!o.isAPIKeySet),e.xp6(8),e.Q6J("ngForOf",o.project),e.xp6(1),e.Q6J("ngIf",o.feedbackForm.showError("project",l,"required")),e.xp6(8),e.Q6J("ngForOf",o.tracker),e.xp6(1),e.Q6J("ngIf",o.feedbackForm.showError("tracker",l,"required")),e.xp6(6),e.Q6J("ngIf",o.feedbackForm.showError("subject",l,"required")),e.xp6(7),e.Q6J("ngIf",o.feedbackForm.showError("description",l,"required")),e.xp6(2),e.Q6J("form",o.feedbackForm)("submitText",o.actionLabels.SUBMIT)}},directives:[Ye.z,En._Y,En.JL,Ma.V,En.sg,p.O5,yo.G,ll.P,ge.o,En.Fj,Ll.b,En.JJ,En.u,En.EJ,En.YN,En.Kr,p.sg,Ml.p],styles:[""]}),n})();var yO=i(97057);let wT=(()=>{class n{constructor(t,o,l,_){this.activeModal=t,this.summaryService=o,this.userService=l,this.authStorageService=_,this.userPermission=this.authStorageService.getPermissions().user}ngOnInit(){this.projectConstants=Mo.$x,this.hostAddr=window.location.hostname,this.modalVariables=this.setVariables(),this.subs=this.summaryService.subscribe(t=>{const o=t.version.replace("ceph version ","").split(" ");this.hostAddr=t.mgr_host.replace(/(^\w+:|^)\/\//,"").replace(/\/$/,""),this.versionNumber=o[0],this.versionHash=o[1],this.versionName=o.slice(2,o.length).join(" ")})}ngOnDestroy(){this.subs.unsubscribe()}setVariables(){const t={};t.user=localStorage.getItem("dashboard_username"),t.role="user",this.userPermission.read&&this.userService.get(t.user).subscribe(l=>{t.role=l.roles});const o=(0,yO.qY)();return t.browserName=o&&o.name?o.name:"Not detected",t.browserVersion=o&&o.version?o.version:"Not detected",t.browserOS=o&&o.os?o.os:"Not detected",t}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr.Kz),e.Y36(Ym.J),e.Y36(qS.K),e.Y36(Vi.j))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-about"]],decls:44,vars:13,consts:[[1,"about-container"],[1,"modal-header"],["type","button","aria-label","Close",1,"btn-close","float-end",3,"click"],[1,"modal-body"],["src","assets/Ceph_Ceph_Logo_with_text_red_white.svg",1,"ceph-logo",3,"alt"],[1,"product-versions"],[1,"modal-footer"],[1,"text-left"]],template:function(t,o){1&t&&(e.TgZ(0,"div",0)(1,"div",1)(2,"button",2),e.NdJ("click",function(){return o.activeModal.close()}),e.qZA()(),e.TgZ(3,"div",3),e._UZ(4,"img",4),e.TgZ(5,"h3")(6,"strong"),e._uU(7),e.qZA()(),e.TgZ(8,"div",5)(9,"strong"),e._uU(10,"Version"),e.qZA(),e._UZ(11,"br"),e._uU(12),e._UZ(13,"br"),e._uU(14),e.qZA(),e._UZ(15,"br"),e.TgZ(16,"dl")(17,"dt"),e._uU(18,"Ceph Manager"),e.qZA(),e.TgZ(19,"dd"),e._uU(20),e.qZA(),e.TgZ(21,"dt"),e._uU(22,"User"),e.qZA(),e.TgZ(23,"dd"),e._uU(24),e.qZA(),e.TgZ(25,"dt"),e._uU(26,"User Role"),e.qZA(),e.TgZ(27,"dd"),e._uU(28),e.qZA(),e.TgZ(29,"dt"),e._uU(30,"Browser"),e.qZA(),e.TgZ(31,"dd"),e._uU(32),e.qZA(),e.TgZ(33,"dt"),e._uU(34,"Browser Version"),e.qZA(),e.TgZ(35,"dd"),e._uU(36),e.qZA(),e.TgZ(37,"dt"),e._uU(38,"Browser OS"),e.qZA(),e.TgZ(39,"dd"),e._uU(40),e.qZA()()(),e.TgZ(41,"div",6)(42,"div",7),e._uU(43),e.qZA()()()),2&t&&(e.xp6(4),e.s9C("alt",o.projectConstants.organization),e.xp6(3),e.Oqu(o.projectConstants.projectName),e.xp6(5),e.AsE(" ",o.versionNumber," ",o.versionHash," "),e.xp6(2),e.hij(" ",o.versionName," "),e.xp6(6),e.Oqu(o.hostAddr),e.xp6(4),e.Oqu(o.modalVariables.user),e.xp6(4),e.Oqu(o.modalVariables.role),e.xp6(4),e.Oqu(o.modalVariables.browserName),e.xp6(4),e.Oqu(o.modalVariables.browserVersion),e.xp6(4),e.Oqu(o.modalVariables.browserOS),e.xp6(3),e.AsE(" ",o.projectConstants.copyright," ",o.projectConstants.license," "))},directives:[ge.o],styles:[".about-container[_ngcontent-%COMP%]{background-color:#374249;background-image:url(ceph_background.3fbdf95cd52530d7.gif);background-position:right bottom;background-repeat:no-repeat;color:#fff;text-shadow:1px 1px #374249}.product-versions[_ngcontent-%COMP%]{margin-top:30px}.product-versions[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{margin-right:10px}.modal-header[_ngcontent-%COMP%]{border-bottom:0}.modal-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{color:#fff;font-size:2em}.modal-body[_ngcontent-%COMP%]{padding-left:80px;padding-right:80px}.ceph-logo[_ngcontent-%COMP%]{margin-bottom:30px;width:25%}.modal-footer[_ngcontent-%COMP%]{border-top:0;display:block;padding:15px 80px 35px}"]}),n})();const PT=function(n){return[n]},EO=function(n){return{disabled:n}};let bO=(()=>{class n{constructor(t,o){this.modalService=t,this.docService=o,this.icons=wo.P}ngOnInit(){this.docService.subscribeOnce("dashboard",t=>{this.docsUrl=t})}openAboutModal(){this.modalRef=this.modalService.show(wT,null,{size:"lg"})}openFeedbackModal(){this.bsModalRef=this.modalService.show(RT,null,{size:"lg"})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(ou.Z),e.Y36(oT.R))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-dashboard-help"]],decls:14,vars:7,consts:function(){let s,t,o,l,_,C;return s="Help",t="Help",o="documentation",l="API",_="About",C="Report an issue...",[["ngbDropdown","","placement","bottom-right"],["ngbDropdownToggle","","title",s,"role","button"],[3,"ngClass"],[1,"d-md-none"],t,["ngbDropdownMenu",""],["ngbDropdownItem","","target","_blank",1,"text-capitalize",3,"ngClass","href"],o,["ngbDropdownItem","","routerLink","/api-docs","target","_blank"],l,["ngbDropdownItem","",3,"click"],_,C]},template:function(t,o){1&t&&(e.TgZ(0,"div",0)(1,"a",1),e._UZ(2,"i",2),e.TgZ(3,"span",3),e.SDv(4,4),e.qZA()(),e.TgZ(5,"div",5)(6,"a",6),e.SDv(7,7),e.qZA(),e.TgZ(8,"button",8),e.SDv(9,9),e.qZA(),e.TgZ(10,"button",10),e.NdJ("click",function(){return o.openAboutModal()}),e.SDv(11,11),e.qZA(),e.TgZ(12,"button",10),e.NdJ("click",function(){return o.openFeedbackModal()}),e.SDv(13,12),e.qZA()()()),2&t&&(e.xp6(2),e.Q6J("ngClass",e.VKq(3,PT,o.icons.questionCircle)),e.xp6(4),e.s9C("href",o.docsUrl,e.LSH),e.Q6J("ngClass",e.VKq(5,EO,!o.docsUrl)))},directives:[Pr.jt,Pr.iD,p.mk,Pr.Vi,Pr.TH,ge.o,Io.rH],styles:[""]}),n})();function VD(n,s){1&n&&(e.TgZ(0,"button",9),e.SDv(1,10),e.qZA())}function ZD(n,s){1&n&&(e.TgZ(0,"button",11),e.SDv(1,12),e.qZA())}const NT=function(n){return[n]};function SO(n,s){if(1&n&&(e.TgZ(0,"div",1)(1,"a",2),e._UZ(2,"i",3),e.TgZ(3,"span",4),e.SDv(4,5),e.qZA()(),e.TgZ(5,"div",6),e.YNc(6,VD,2,0,"button",7),e.YNc(7,ZD,2,0,"button",8),e.qZA()()),2&n){const t=e.oxw();e.xp6(2),e.Q6J("ngClass",e.VKq(3,NT,t.icons.deepCheck)),e.xp6(4),e.Q6J("ngIf",t.userPermission.read),e.xp6(1),e.Q6J("ngIf",t.configOptPermission.read)}}let TO=(()=>{class n{constructor(t){this.authStorageService=t,this.icons=wo.P;const o=this.authStorageService.getPermissions();this.userPermission=o.user,this.configOptPermission=o.configOpt}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Vi.j))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-administration"]],decls:1,vars:1,consts:function(){let s,t,o,l;return s="Dashboard Settings",t="Dashboard Settings",o="User management",l="Telemetry configuration",[["ngbDropdown","","placement","bottom-right",4,"ngIf"],["ngbDropdown","","placement","bottom-right"],["ngbDropdownToggle","","title",s,"role","button",1,"dropdown-toggle"],[3,"ngClass"],[1,"d-md-none"],t,["ngbDropdownMenu",""],["ngbDropdownItem","","routerLink","/user-management",4,"ngIf"],["ngbDropdownItem","","routerLink","/telemetry",4,"ngIf"],["ngbDropdownItem","","routerLink","/user-management"],o,["ngbDropdownItem","","routerLink","/telemetry"],l]},template:function(t,o){1&t&&e.YNc(0,SO,8,5,"div",0),2&t&&e.Q6J("ngIf",o.userPermission.read)},directives:[p.O5,Pr.jt,Pr.iD,p.mk,Pr.Vi,ge.o,Pr.TH,Io.rH],styles:[""]}),n})();const sE=function(n){return[n]};function zD(n,s){if(1&n&&(e.TgZ(0,"button",12),e._UZ(1,"i",2),e.TgZ(2,"span"),e.SDv(3,13),e.qZA()()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngClass",e.VKq(1,sE,t.icons.lock))}}let WD=(()=>{class n{constructor(t,o){this.authStorageService=t,this.authService=o,this.icons=wo.P}ngOnInit(){this.username=this.authStorageService.getUsername(),this.sso=this.authStorageService.isSSO()}logout(){this.authService.logout()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Vi.j),e.Y36(Uy.e))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-identity"]],decls:15,vars:8,consts:function(){let s,t,o,l,_;return s="Logged in user",t="Logged in user",o="Signed in as " + "\ufffd#8\ufffd" + "" + "\ufffd0\ufffd" + "" + "\ufffd/#8\ufffd" + "",l="Sign out",_="Change password",[["ngbDropdown","","placement","bottom-right"],["ngbDropdownToggle","","title",s,"role","button"],[3,"ngClass"],[1,"d-md-none"],t,["ngbDropdownMenu",""],["ngbDropdownItem","","disabled",""],o,[1,"dropdown-divider"],["ngbDropdownItem","","routerLink","/user-profile/edit",4,"ngIf"],["ngbDropdownItem","",3,"click"],l,["ngbDropdownItem","","routerLink","/user-profile/edit"],_]},template:function(t,o){1&t&&(e.TgZ(0,"div",0)(1,"a",1),e._UZ(2,"i",2),e.TgZ(3,"span",3),e.SDv(4,4),e.qZA()(),e.TgZ(5,"div",5)(6,"button",6),e.tHW(7,7),e._UZ(8,"strong"),e.N_p(),e.qZA(),e._UZ(9,"hr",8),e.YNc(10,zD,4,3,"button",9),e.TgZ(11,"button",10),e.NdJ("click",function(){return o.logout()}),e._UZ(12,"i",2),e.TgZ(13,"span"),e.SDv(14,11),e.qZA()()()()),2&t&&(e.xp6(2),e.Q6J("ngClass",e.VKq(4,sE,o.icons.user)),e.xp6(6),e.pQV(o.username),e.QtT(7),e.xp6(2),e.Q6J("ngIf",!o.sso),e.xp6(2),e.Q6J("ngClass",e.VKq(6,sE,o.icons.signOut)))},directives:[Pr.jt,Pr.iD,p.mk,Pr.Vi,ge.o,Pr.TH,p.O5,Io.rH],styles:[""]}),n})();function JD(n,s){1&n&&e.GkF(0)}function QD(n,s){1&n&&e.GkF(0)}function XD(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"li",22),e._UZ(1,"cd-language-selector",23),e.qZA(),e.TgZ(2,"li",22)(3,"cd-notifications",24),e.NdJ("click",function(){return e.CHM(t),e.oxw().toggleRightSidebar()}),e.qZA()(),e.TgZ(4,"li",22),e._UZ(5,"cd-dashboard-help",23),e.qZA(),e.TgZ(6,"li",22),e._UZ(7,"cd-administration",23),e.qZA(),e.TgZ(8,"li",22),e._UZ(9,"cd-identity",23),e.qZA()}}function CO(n,s){1&n&&(e.TgZ(0,"li",51)(1,"a",52),e.SDv(2,53),e.qZA()())}function c0(n,s){1&n&&(e.TgZ(0,"li",54)(1,"a",55),e.SDv(2,56),e.qZA()())}function MO(n,s){1&n&&(e.TgZ(0,"li",57)(1,"a",58),e.SDv(2,59),e.qZA()())}function OO(n,s){1&n&&(e.TgZ(0,"li",60)(1,"a",61),e.SDv(2,62),e.qZA()())}function IT(n,s){1&n&&(e.TgZ(0,"li",63)(1,"a",64),e.SDv(2,65),e.qZA()())}function fg(n,s){1&n&&(e.TgZ(0,"li",66)(1,"a",67),e.SDv(2,68),e.qZA()())}function FT(n,s){1&n&&(e.TgZ(0,"li",69)(1,"a",70),e.SDv(2,71),e.qZA()())}function aE(n,s){1&n&&(e.TgZ(0,"li",72)(1,"a",73),e.SDv(2,74),e.qZA()())}function lE(n,s){1&n&&(e.TgZ(0,"li",75)(1,"a",76),e.SDv(2,77),e.qZA()())}function AO(n,s){1&n&&(e.TgZ(0,"li",78)(1,"a",79),e.SDv(2,80),e.qZA()())}function uE(n,s){if(1&n&&(e.TgZ(0,"small",86),e._uU(1),e.qZA()),2&n){const t=e.oxw(5);e.xp6(1),e.Oqu(t.prometheusAlertService.activeCriticalAlerts)}}function cE(n,s){if(1&n&&(e.TgZ(0,"small",87),e._uU(1),e.qZA()),2&n){const t=e.oxw(5);e.xp6(1),e.Oqu(t.prometheusAlertService.activeWarningAlerts)}}function d0(n,s){if(1&n&&(e.TgZ(0,"li",81)(1,"a",82),e.ynx(2),e.SDv(3,83),e.BQk(),e.YNc(4,uE,2,1,"small",84),e.YNc(5,cE,2,1,"small",85),e.qZA()()),2&n){const t=e.oxw(4);e.xp6(4),e.Q6J("ngIf",t.prometheusAlertService.activeCriticalAlerts>0),e.xp6(1),e.Q6J("ngIf",t.prometheusAlertService.activeWarningAlerts>0)}}function KD(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"li",36)(1,"a",37),e.NdJ("click",function(){return e.CHM(t),e.oxw(3).toggleSubMenu("cluster")}),e.ynx(2),e.SDv(3,38),e.BQk(),e.qZA(),e.TgZ(4,"ul",39),e.YNc(5,CO,3,0,"li",40),e.YNc(6,c0,3,0,"li",41),e.YNc(7,MO,3,0,"li",42),e.YNc(8,OO,3,0,"li",43),e.YNc(9,IT,3,0,"li",44),e.YNc(10,fg,3,0,"li",45),e.YNc(11,FT,3,0,"li",46),e.YNc(12,aE,3,0,"li",47),e.YNc(13,lE,3,0,"li",48),e.YNc(14,AO,3,0,"li",49),e.YNc(15,d0,6,2,"li",50),e.qZA()()}if(2&n){const t=e.oxw(3);e.xp6(1),e.uIk("aria-expanded","cluster"===t.displayedSubMenu),e.xp6(3),e.Q6J("ngbCollapse","cluster"!==t.displayedSubMenu),e.xp6(1),e.Q6J("ngIf",t.permissions.hosts.read),e.xp6(1),e.Q6J("ngIf",t.permissions.hosts.read),e.xp6(1),e.Q6J("ngIf",t.permissions.monitor.read),e.xp6(1),e.Q6J("ngIf",t.permissions.hosts.read),e.xp6(1),e.Q6J("ngIf",t.permissions.osd.read),e.xp6(1),e.Q6J("ngIf",t.permissions.configOpt.read),e.xp6(1),e.Q6J("ngIf",t.permissions.osd.read),e.xp6(1),e.Q6J("ngIf",t.permissions.configOpt.read),e.xp6(1),e.Q6J("ngIf",t.permissions.configOpt.read),e.xp6(1),e.Q6J("ngIf",t.permissions.log.read),e.xp6(1),e.Q6J("ngIf",t.permissions.prometheus.read)}}function qD(n,s){1&n&&(e.TgZ(0,"li",88)(1,"a",89),e.SDv(2,90),e.qZA()())}function ex(n,s){1&n&&(e.TgZ(0,"li",98)(1,"a",99),e.SDv(2,100),e.qZA()())}function tx(n,s){if(1&n&&(e.TgZ(0,"small",106),e._uU(1),e.qZA()),2&n){const t=e.oxw(5);e.xp6(1),e.Oqu(null==t.summaryData||null==t.summaryData.rbd_mirroring?null:t.summaryData.rbd_mirroring.warnings)}}function LT(n,s){if(1&n&&(e.TgZ(0,"small",107),e._uU(1),e.qZA()),2&n){const t=e.oxw(5);e.xp6(1),e.Oqu(null==t.summaryData||null==t.summaryData.rbd_mirroring?null:t.summaryData.rbd_mirroring.errors)}}function DO(n,s){if(1&n&&(e.TgZ(0,"li",101)(1,"a",102),e.ynx(2),e.SDv(3,103),e.BQk(),e.YNc(4,tx,2,1,"small",104),e.YNc(5,LT,2,1,"small",105),e.qZA()()),2&n){const t=e.oxw(4);e.xp6(4),e.Q6J("ngIf",0!==(null==t.summaryData||null==t.summaryData.rbd_mirroring?null:t.summaryData.rbd_mirroring.warnings)),e.xp6(1),e.Q6J("ngIf",0!==(null==t.summaryData||null==t.summaryData.rbd_mirroring?null:t.summaryData.rbd_mirroring.errors))}}function xO(n,s){1&n&&(e.TgZ(0,"li",108)(1,"a",109),e.SDv(2,110),e.qZA()())}function RO(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"li",91)(1,"a",92),e.NdJ("click",function(){return e.CHM(t),e.oxw(3).toggleSubMenu("block")}),e.ynx(2),e.SDv(3,93),e.BQk(),e.qZA(),e.TgZ(4,"ul",94),e.YNc(5,ex,3,0,"li",95),e.YNc(6,DO,6,2,"li",96),e.YNc(7,xO,3,0,"li",97),e.qZA()()}if(2&n){const t=e.oxw().ngIf,o=e.oxw(2);e.xp6(1),e.Q6J("ngStyle",o.blockHealthColor()),e.uIk("aria-expanded","block"===o.displayedSubMenu),e.xp6(3),e.Q6J("ngbCollapse","block"!==o.displayedSubMenu),e.xp6(1),e.Q6J("ngIf",o.permissions.rbdImage.read&&t.rbd),e.xp6(1),e.Q6J("ngIf",o.permissions.rbdMirroring.read&&t.mirroring),e.xp6(1),e.Q6J("ngIf",o.permissions.iscsi.read&&t.iscsi)}}function wO(n,s){1&n&&(e.TgZ(0,"li",111)(1,"a",112),e.SDv(2,113),e.qZA()())}function kT(n,s){1&n&&(e.TgZ(0,"li",114)(1,"a",115),e.SDv(2,116),e.qZA()())}function $T(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"li",117)(1,"a",118),e.NdJ("click",function(){return e.CHM(t),e.oxw(3).toggleSubMenu("rgw")}),e.ynx(2),e.SDv(3,119),e.BQk(),e.qZA(),e.TgZ(4,"ul",120)(5,"li",121)(6,"a",122),e.SDv(7,123),e.qZA()(),e.TgZ(8,"li",124)(9,"a",125),e.SDv(10,126),e.qZA()(),e.TgZ(11,"li",127)(12,"a",128),e.SDv(13,129),e.qZA()()()()}if(2&n){const t=e.oxw(3);e.xp6(1),e.uIk("aria-expanded","rgw"===t.displayedSubMenu),e.xp6(3),e.Q6J("ngbCollapse","rgw"!==t.displayedSubMenu)}}const HT=function(n){return[n]};function PO(n,s){if(1&n&&(e.ynx(0),e.TgZ(1,"li",26)(2,"a",27)(3,"span"),e.SDv(4,28),e.qZA(),e._uU(5,"\xa0 "),e._UZ(6,"i",29),e.ALo(7,"healthColor"),e.qZA()(),e.YNc(8,KD,16,13,"li",30),e.YNc(9,qD,3,0,"li",31),e.YNc(10,RO,8,6,"li",32),e.YNc(11,wO,3,0,"li",33),e.YNc(12,kT,3,0,"li",34),e.YNc(13,$T,14,2,"li",35),e.BQk()),2&n){const t=s.ngIf,o=e.oxw(2);e.xp6(6),e.Q6J("ngClass",e.VKq(10,HT,o.icons.health))("ngStyle",e.lcZ(7,8,null==o.summaryData?null:o.summaryData.health_status)),e.xp6(2),e.Q6J("ngIf",o.permissions.hosts.read||o.permissions.monitor.read||o.permissions.osd.read||o.permissions.configOpt.read||o.permissions.log.read||o.permissions.prometheus.read),e.xp6(1),e.Q6J("ngIf",o.permissions.pool.read),e.xp6(1),e.Q6J("ngIf",(o.permissions.rbdImage.read||o.permissions.rbdMirroring.read||o.permissions.iscsi.read)&&(t.rbd||t.mirroring||t.iscsi)),e.xp6(1),e.Q6J("ngIf",o.permissions.nfs.read&&t.nfs),e.xp6(1),e.Q6J("ngIf",o.permissions.cephfs.read&&t.cephfs),e.xp6(1),e.Q6J("ngIf",o.permissions.rgw.read&&t.rgw)}}function NO(n,s){if(1&n&&(e.YNc(0,PO,14,12,"ng-container",25),e.ALo(1,"async")),2&n){const t=e.oxw();e.Q6J("ngIf",e.lcZ(1,1,t.enabledFeature$))}}const BT=function(n){return{show:n}},f0=function(n){return{active:n}},nx=["*"];let UT=(()=>{class n{constructor(t,o,l,_,C,x){this.authStorageService=t,this.summaryService=o,this.featureToggles=l,this.telemetryNotificationService=_,this.prometheusAlertService=C,this.motdNotificationService=x,this.notifications=[],this.icons=wo.P,this.rightSidebarOpen=!1,this.showMenuSidebar=!0,this.displayedSubMenu="",this.simplebar={autoHide:!1},this.subs=new oc.w,this.permissions=this.authStorageService.getPermissions(),this.enabledFeature$=this.featureToggles.get()}get class(){return"top-notification-"+this.notifications.length}ngOnInit(){this.subs.add(this.summaryService.subscribe(t=>{this.summaryData=t})),this.subs.add(this.authStorageService.isPwdDisplayed$.subscribe(t=>{this.showTopNotification("isPwdDisplayed",t)})),this.subs.add(this.telemetryNotificationService.update.subscribe(t=>{this.showTopNotification("telemetryNotificationEnabled",t)})),this.subs.add(this.motdNotificationService.motd$.subscribe(t=>{this.showTopNotification("motdNotificationEnabled",fu.isPlainObject(t))}))}ngOnDestroy(){this.subs.unsubscribe()}blockHealthColor(){if(this.summaryData&&this.summaryData.rbd_mirroring){if(this.summaryData.rbd_mirroring.errors>0)return{color:"#f4926c"};if(this.summaryData.rbd_mirroring.warnings>0)return{color:"#f0ad4e"}}}toggleSubMenu(t){this.displayedSubMenu=this.displayedSubMenu===t?"":t}toggleRightSidebar(){this.rightSidebarOpen=!this.rightSidebarOpen}showTopNotification(t,o){if(o)this.notifications.includes(t)||this.notifications.push(t);else{const l=this.notifications.indexOf(t);l>=0&&this.notifications.splice(l,1)}}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Vi.j),e.Y36(Ym.J),e.Y36(Bg.l),e.Y36(V1),e.Y36(ag),e.Y36(Qy))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-navigation"]],hostVars:2,hostBindings:function(t,o){2&t&&e.Tol(o.class)},ngContentSelectors:nx,decls:30,vars:12,consts:function(){let s,t,o,l,_,C,x,N,V,Q,oe,le,me,ye,$e,Ne,ke,we,G,Dt,bt,Bt,Jt,Mn,zt;return s="Toggle navigation",t="Dashboard",o="Cluster",l="Hosts",_="Physical Disks",C="Monitors",x="Services",N="OSDs",V="Configuration",Q="CRUSH map",oe="Manager Modules",le="Ceph Users",me="Logs",ye="Alerts",$e="Pools",Ne="Block",ke="Images",we="Mirroring",G="iSCSI",Dt="NFS",bt="File Systems",Bt="Object Gateway",Jt="Gateways",Mn="Users",zt="Buckets",[[1,"cd-navbar-main"],[1,"cd-navbar-top"],[1,"navbar","navbar-expand-md","navbar-dark","cd-navbar-brand"],["aria-label","toggle sidebar visibility",1,"btn","btn-link","py-0","ms-3",3,"click"],["aria-hidden","true",1,"fa","fa-bars","fa-2x"],["href","#",1,"navbar-brand","ms-2"],["src","assets/Ceph_Ceph_Logo_with_text_white.svg","alt","Ceph"],["type","button",1,"navbar-toggler",3,"click"],[1,"sr-only"],s,[1,""],[1,"fa","fa-navicon","fa-lg"],[1,"collapse","navbar-collapse",3,"ngClass"],[1,"nav","navbar-nav","cd-navbar-utility","my-2","my-md-0"],[4,"ngTemplateOutlet"],[1,"wrapper"],["id","sidebar",3,"ngClass"],[3,"options"],[1,"list-unstyled","components","cd-navbar-primary"],["id","content",3,"ngClass"],["cd_utilities",""],["cd_menu",""],[1,"nav-item"],[1,"cd-navbar"],[1,"cd-navbar",3,"click"],[4,"ngIf"],["routerLinkActive","active",1,"nav-item","tc_menuitem_dashboard"],["routerLink","/dashboard",1,"nav-link"],t,[3,"ngClass","ngStyle"],["routerLinkActive","active","class","nav-item tc_menuitem_cluster",4,"ngIf"],["routerLinkActive","active","class","nav-item tc_menuitem_pool",4,"ngIf"],["routerLinkActive","active","class","nav-item tc_menuitem_block",4,"ngIf"],["routerLinkActive","active","class","nav-item tc_menuitem_nfs",4,"ngIf"],["routerLinkActive","active","class","nav-item tc_menuitem_cephfs",4,"ngIf"],["routerLinkActive","active","class","nav-item tc_menuitem_rgw",4,"ngIf"],["routerLinkActive","active",1,"nav-item","tc_menuitem_cluster"],["aria-controls","cluster-nav","role","button",1,"nav-link","dropdown-toggle",3,"click"],o,["id","cluster-nav",1,"list-unstyled",3,"ngbCollapse"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_hosts",4,"ngIf"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_cluster_inventory",4,"ngIf"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_cluster_monitor",4,"ngIf"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_cluster_services",4,"ngIf"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_osds",4,"ngIf"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_configuration",4,"ngIf"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_crush",4,"ngIf"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_modules",4,"ngIf"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_users",4,"ngIf"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_log",4,"ngIf"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_monitoring",4,"ngIf"],["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_hosts"],["routerLink","/hosts"],l,["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_cluster_inventory"],["routerLink","/inventory"],_,["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_cluster_monitor"],["routerLink","/monitor/"],C,["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_cluster_services"],["routerLink","/services/"],x,["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_osds"],["routerLink","/osd"],N,["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_configuration"],["routerLink","/configuration"],V,["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_crush"],["routerLink","/crush-map"],Q,["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_modules"],["routerLink","/mgr-modules"],oe,["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_users"],["routerLink","/ceph-users"],le,["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_log"],["routerLink","/logs"],me,["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_monitoring"],["routerLink","/monitoring"],ye,["class","badge badge-danger ms-1",4,"ngIf"],["class","badge badge-warning ms-1",4,"ngIf"],[1,"badge","badge-danger","ms-1"],[1,"badge","badge-warning","ms-1"],["routerLinkActive","active",1,"nav-item","tc_menuitem_pool"],["routerLink","/pool",1,"nav-link"],$e,["routerLinkActive","active",1,"nav-item","tc_menuitem_block"],["aria-controls","block-nav","role","button",1,"nav-link","dropdown-toggle",3,"ngStyle","click"],Ne,["id","block-nav",1,"list-unstyled",3,"ngbCollapse"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_block_images",4,"ngIf"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_block_mirroring",4,"ngIf"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_block_iscsi",4,"ngIf"],["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_block_images"],["routerLink","/block/rbd"],ke,["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_block_mirroring"],["routerLink","/block/mirroring"],we,["class","badge badge-warning",4,"ngIf"],["class","badge badge-danger",4,"ngIf"],[1,"badge","badge-warning"],[1,"badge","badge-danger"],["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_block_iscsi"],["routerLink","/block/iscsi"],G,["routerLinkActive","active",1,"nav-item","tc_menuitem_nfs"],["routerLink","/nfs",1,"nav-link"],Dt,["routerLinkActive","active",1,"nav-item","tc_menuitem_cephfs"],["routerLink","/cephfs",1,"nav-link"],bt,["routerLinkActive","active",1,"nav-item","tc_menuitem_rgw"],["aria-controls","gateway-nav","role","button",1,"nav-link","dropdown-toggle",3,"click"],Bt,["id","gateway-nav",1,"list-unstyled",3,"ngbCollapse"],["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_rgw_daemons"],["routerLink","/rgw/daemon"],Jt,["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_rgw_users"],["routerLink","/rgw/user"],Mn,["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_rgw_buckets"],["routerLink","/rgw/bucket"],zt]},template:function(t,o){if(1&t&&(e.F$t(),e.TgZ(0,"div",0),e._UZ(1,"cd-pwd-expiration-notification")(2,"cd-telemetry-notification")(3,"cd-motd")(4,"cd-notifications-sidebar"),e.TgZ(5,"div",1)(6,"nav",2)(7,"button",3),e.NdJ("click",function(){return o.showMenuSidebar=!o.showMenuSidebar}),e._UZ(8,"i",4),e.qZA(),e.TgZ(9,"a",5),e._UZ(10,"img",6),e.qZA(),e.TgZ(11,"button",7),e.NdJ("click",function(){return o.toggleRightSidebar()}),e.TgZ(12,"span",8),e.SDv(13,9),e.qZA(),e.TgZ(14,"span",10),e._UZ(15,"i",11),e.qZA()(),e.TgZ(16,"div",12)(17,"ul",13),e.YNc(18,JD,1,0,"ng-container",14),e.qZA()()()(),e.TgZ(19,"div",15)(20,"nav",16)(21,"ngx-simplebar",17)(22,"ul",18),e.YNc(23,QD,1,0,"ng-container",14),e.qZA()()(),e.TgZ(24,"div",19),e.Hsn(25),e.qZA()(),e.YNc(26,XD,10,0,"ng-template",null,20,e.W1O),e.YNc(28,NO,2,3,"ng-template",null,21,e.W1O),e.qZA()),2&t){const l=e.MAs(27),_=e.MAs(29);e.xp6(16),e.Q6J("ngClass",e.VKq(6,BT,o.rightSidebarOpen)),e.xp6(2),e.Q6J("ngTemplateOutlet",l),e.xp6(2),e.Q6J("ngClass",e.VKq(8,f0,!o.showMenuSidebar)),e.xp6(1),e.Q6J("options",o.simplebar),e.xp6(2),e.Q6J("ngTemplateOutlet",_),e.xp6(1),e.Q6J("ngClass",e.VKq(10,f0,!o.showMenuSidebar))}},directives:[HD,eO,BD,dO,Pr.M2,ge.o,p.mk,p.tP,gm.M,pT,hO,bO,TO,WD,p.O5,Io.Od,Io.yS,p.PC,Pr._D],pipes:[p.Ov,z1],styles:['.cd-navbar-main[_ngcontent-%COMP%]{display:flex;flex:1;flex-direction:column;height:100%}  cd-navigation .cd-navbar-top .cd-navbar-brand{background:#374249;border-top:4px solid #25828e}  cd-navigation .cd-navbar-top .cd-navbar-brand .navbar-brand,   cd-navigation .cd-navbar-top .cd-navbar-brand .navbar-brand:hover{color:#e9ecef;height:auto;padding:0}  cd-navigation .cd-navbar-top .cd-navbar-brand .navbar-brand>img{height:25px}  cd-navigation .cd-navbar-top .cd-navbar-brand .navbar-toggler{border:0}  cd-navigation .cd-navbar-top .cd-navbar-brand .navbar-toggler:focus,   cd-navigation .cd-navbar-top .cd-navbar-brand .navbar-toggler:hover{outline:0}  cd-navigation .cd-navbar-top .cd-navbar-brand .navbar-toggler .fa-navicon{color:#e9ecef}  cd-navigation .cd-navbar-top .cd-navbar-brand .navbar-collapse{padding:0}  cd-navigation .cd-navbar-top .cd-navbar-brand .cd-navbar-utility>.active>a{background-color:#25828e;color:#e9ecef}  cd-navigation .cd-navbar-top .cd-navbar-brand .cd-navbar-utility>li>.open>a,   cd-navigation .cd-navbar-top .cd-navbar-brand .cd-navbar-utility>li>.open>a:focus,   cd-navigation .cd-navbar-top .cd-navbar-brand .cd-navbar-utility>li>.open>a:hover{background-color:transparent;border-color:transparent;color:#e9ecef}  cd-navigation .cd-navbar-top .navbar-nav>li>.cd-navbar>[ngbDropdown]>a,   cd-navigation .cd-navbar-top .navbar-nav>li>.cd-navbar>a,   cd-navigation .cd-navbar-top .navbar-nav>li>a{color:#e9ecef;display:block;line-height:1;padding:13.5px 18px!important;position:relative;text-decoration:none}  cd-navigation .cd-navbar-top .navbar-nav .nav-link,   cd-navigation .cd-navbar-top .navbar-nav .nav-link:hover{color:#e9ecef}  cd-navigation .cd-navbar-top .navbar-nav>li>.cd-navbar>[ngbDropdown]>a:hover,   cd-navigation .cd-navbar-top .navbar-nav>li>.cd-navbar>[ngbDropdown].open>a,   cd-navigation .cd-navbar-top .navbar-nav>li>.cd-navbar>a:hover,   cd-navigation .cd-navbar-top .navbar-nav>li>a:hover,   cd-navigation .cd-navbar-top .navbar-nav>li:hover{background-color:#25828e}  cd-navigation .cd-navbar-top .navbar-nav>.open>.cd-navbar>[ngbDropdown]>a,   cd-navigation .cd-navbar-top .navbar-nav>.open>.cd-navbar>[ngbDropdown]>a:hover,   cd-navigation .cd-navbar-top .navbar-nav>.open>.cd-navbar>a,   cd-navigation .cd-navbar-top .navbar-nav>.open>.cd-navbar>a:focus,   cd-navigation .cd-navbar-top .navbar-nav>.open>.cd-navbar>a:hover,   cd-navigation .cd-navbar-top .navbar-nav>.open>.cd-navbar>li>a:focus,   cd-navigation .cd-navbar-top .navbar-nav>.open>a,   cd-navigation .cd-navbar-top .navbar-nav>.open>a:focus,   cd-navigation .cd-navbar-top .navbar-nav>.open>a:hover{background-color:transparent;border-color:transparent;color:#e9ecef}  cd-navigation .cd-navbar-top .no-hover:hover{background-color:#374249!important}@media (min-width: 768px){  cd-navigation .cd-navbar-top .cd-navbar-utility{border-bottom:0;font-size:1.1rem;position:absolute;right:0;top:0}}@media (max-width: 767px){  cd-navigation .cd-navbar-top .navbar-nav{margin:0}  cd-navigation .cd-navbar-top .navbar-nav .fa{margin-right:.5em}  cd-navigation .cd-navbar-top .navbar-nav .open .dropdown-menu{background-color:#25828e;border:0;padding-bottom:0;padding-top:0}  cd-navigation .cd-navbar-top .navbar-nav .open .dropdown-menu>li>a{color:#e9ecef;padding:5px 15px 5px 35px}  cd-navigation .cd-navbar-top .navbar-nav .open .dropdown-menu>.active>a{background-color:#25828e}  cd-navigation .cd-navbar-top .navbar-nav>li>a:hover{background-color:#25828e}}.cd-navbar-primary[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], .cd-navbar-primary[_ngcontent-%COMP%] > .active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, .cd-navbar-primary[_ngcontent-%COMP%] > .active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover{background-color:#25828e!important;border:0!important;color:#fff!important}.wrapper[_ngcontent-%COMP%]{display:flex;height:100%;width:100%}.wrapper[_ngcontent-%COMP%]   #sidebar[_ngcontent-%COMP%]{background:#374249;bottom:0;color:#fff;height:auto;left:0;overflow-y:auto;position:relative;transition:all .3s;width:200px;z-index:999}.wrapper[_ngcontent-%COMP%]   #sidebar.active[_ngcontent-%COMP%]{margin-left:-200px}.wrapper[_ngcontent-%COMP%]   #sidebar[_ngcontent-%COMP%]   ul.component[_ngcontent-%COMP%]{margin:0;padding:20px 0}.wrapper[_ngcontent-%COMP%]   #sidebar[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:#fff;padding:10px}.wrapper[_ngcontent-%COMP%]   #sidebar[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#fff;display:block;font-size:1.3em;padding:10px 10px 10px 27px;text-decoration:none}.wrapper[_ngcontent-%COMP%]   #sidebar[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{background:#25828e;color:#fff}.wrapper[_ngcontent-%COMP%]   #sidebar[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%] > .badge[_ngcontent-%COMP%]{margin-left:5px}.wrapper[_ngcontent-%COMP%]   #sidebar[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%]   #sidebar[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]   a[aria-expanded=true][_ngcontent-%COMP%]{color:#fff}.wrapper[_ngcontent-%COMP%]   a.dropdown-toggle[_ngcontent-%COMP%]{position:relative}.wrapper[_ngcontent-%COMP%]   a.dropdown-toggle[_ngcontent-%COMP%]:after{border:0;content:"\\f054";font-family:ForkAwesome;font-size:1rem;margin-top:2px;position:absolute;right:20px;transition:transform .3s ease-in-out}.wrapper[_ngcontent-%COMP%]   a.dropdown-toggle[aria-expanded=true][_ngcontent-%COMP%]:after{transform:rotate(90deg)}.wrapper[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{background:#4d5c66;font-size:1.1em!important;padding-left:40px!important}.wrapper[_ngcontent-%COMP%]   .cd-navbar-primary[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{outline:none}.wrapper[_ngcontent-%COMP%]   ngx-simplebar[_ngcontent-%COMP%]{height:100%}#content[_ngcontent-%COMP%]{bottom:0;position:relative;right:0;transition:all .3s;width:calc(100% - 200px)}#content.active[_ngcontent-%COMP%]{width:100vw}']}),n})();var dE=i(17757),IO=i(20523);function FO(n,s){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"button",8),e.NdJ("click",function(){const _=e.CHM(t).$implicit;return e.oxw(3).onDaemonSelection(_)}),e._uU(2),e.qZA(),e.BQk()}if(2&n){const t=s.$implicit;e.xp6(2),e.AsE(" ",t.id," ( ",t.zonegroup_name," ) ")}}function rx(n,s){if(1&n&&(e.ynx(0),e.TgZ(1,"div",1)(2,"span",2),e.SDv(3,3),e.qZA(),e.TgZ(4,"div",4)(5,"button",5),e._uU(6),e.qZA(),e.TgZ(7,"div",6),e.YNc(8,FO,3,2,"ng-container",7),e.qZA()()(),e.BQk()),2&n){const t=e.oxw().ngIf;e.xp6(6),e.AsE(" ",t.selectedDaemon.id," ( ",t.selectedDaemon.zonegroup_name," ) "),e.xp6(2),e.Q6J("ngForOf",t.daemons)}}function ix(n,s){if(1&n&&(e.ynx(0),e.YNc(1,rx,9,3,"ng-container",0),e.BQk()),2&n){const t=s.ngIf,o=e.oxw();e.xp6(1),e.Q6J("ngIf",t.ftMap&&t.ftMap.rgw&&o.permissions.rgw.read&&o.isRgwRoute&&t.daemons.length>1)}}const LO=function(n,s,t){return{ftMap:n,daemons:s,selectedDaemon:t}};let kO=(()=>{class n{constructor(t,o,l,_,C){this.authStorageService=t,this.featureToggles=o,this.router=l,this.timerService=_,this.rgwDaemonService=C,this.REFRESH_INTERVAL=5e3,this.subs=new oc.w,this.rgwUrlPrefix="/rgw",this.rgwUserUrlPrefix="/rgw/user",this.rgwBuckerUrlPrefix="/rgw/bucket",this.isRgwRoute=document.location.href.includes(this.rgwUserUrlPrefix)||document.location.href.includes(this.rgwBuckerUrlPrefix)}ngOnInit(){this.permissions=this.authStorageService.getPermissions(),this.featureToggleMap$=this.featureToggles.get(),this.subs.add(this.router.events.pipe((0,Rp.h)(t=>t instanceof Io.m2)).subscribe(()=>this.isRgwRoute=[this.rgwBuckerUrlPrefix,this.rgwUserUrlPrefix].some(t=>this.router.url.startsWith(t)))),this.subs.add(this.timerService.get(()=>this.isRgwRoute?this.rgwDaemonService.list():dE.C,this.REFRESH_INTERVAL).subscribe())}ngOnDestroy(){this.subs.unsubscribe()}onDaemonSelection(t){this.rgwDaemonService.selectDaemon(t),this.reloadData()}reloadData(){const t=this.router.url;this.router.navigateByUrl(this.rgwUrlPrefix,{skipLocationChange:!0}).finally(()=>{this.router.navigate([t])})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Vi.j),e.Y36(Bg.l),e.Y36(Io.F0),e.Y36(zo.f),e.Y36(IO.b))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-context"]],decls:4,vars:11,consts:function(){let s,t;return s="Selected Object Gateway:",t="Select Object Gateway",[[4,"ngIf"],[1,"cd-context-bar","pt-3","pb-3"],[1,"me-1"],s,["ngbDropdown","","placement","bottom-left",1,"d-inline-block","ms-2"],["ngbDropdownToggle","","title",t,1,"btn","btn-outline-info","ctx-bar-selected-rgw-daemon"],["ngbDropdownMenu",""],[4,"ngFor","ngForOf"],["ngbDropdownItem","",1,"ctx-bar-available-rgw-daemon",3,"click"]]},template:function(t,o){1&t&&(e.YNc(0,ix,2,1,"ng-container",0),e.ALo(1,"async"),e.ALo(2,"async"),e.ALo(3,"async")),2&t&&e.Q6J("ngIf",e.kEZ(7,LO,e.lcZ(1,1,o.featureToggleMap$),e.lcZ(2,3,o.rgwDaemonService.daemons$),e.lcZ(3,5,o.rgwDaemonService.selectedDaemon$)))},directives:[p.O5,Pr.jt,ge.o,Pr.iD,Pr.Vi,p.sg,Pr.TH],pipes:[p.Ov],styles:[".cd-context-bar[_ngcontent-%COMP%]{border-bottom:1px solid #dee2e6}"]}),n})();var ox=i(6481),sx=i(76666),YT=i(85345);class lx{constructor(s,t){this.keySelector=s,this.flushes=t}call(s,t){return t.subscribe(new $O(s,this.keySelector,this.flushes))}}class $O extends YT.Ds{constructor(s,t,o){super(s),this.keySelector=t,this.values=new Set,o&&this.add((0,YT.ft)(o,new YT.IY(this)))}notifyNext(){this.values.clear()}notifyError(s){this._error(s)}_next(s){this.keySelector?this._useKeySelector(s):this._finalizeNext(s,s)}_useKeySelector(s){let t;const{destination:o}=this;try{t=this.keySelector(s)}catch(l){return void o.error(l)}this._finalizeNext(t,s)}_finalizeNext(s,t){const{values:o}=this;o.has(s)||(o.add(s),this.destination.next(t))}}var HO=i(28049);class fE{resolve(s){const t=s.routeConfig.data,o=null===t.path?null:this.getFullPath(s);return(0,rc.of)([{text:"string"==typeof t.breadcrumbs?t.breadcrumbs:t.breadcrumbs.text||t.text||o,path:o}])}getFullPath(s){return s.pathFromRoot.reduce((_,C)=>_+C.url.reduce((_,C)=>_+"/"+C.path,""),"")}}function ux(n,s){if(1&n&&(e.TgZ(0,"a",6),e._uU(1),e.qZA()),2&n){const t=e.oxw().$implicit;e.Q6J("routerLink",t.path),e.xp6(1),e.Oqu(t.text)}}function cx(n,s){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.Oqu(t.text)}}const c=function(n){return{active:n}};function d(n,s){if(1&n&&(e.TgZ(0,"li",3),e.YNc(1,ux,2,2,"a",4),e.YNc(2,cx,2,1,"span",5),e.qZA()),2&n){const t=s.$implicit,o=s.last,l=e.oxw(2);e.Q6J("ngClass",e.VKq(3,c,o&&l.finished)),e.xp6(1),e.Q6J("ngIf",!o&&null!==t.path),e.xp6(1),e.Q6J("ngIf",o||null===t.path)}}function m(n,s){if(1&n&&(e.TgZ(0,"ol",1),e.YNc(1,d,3,5,"li",2),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngForOf",t.crumbs)}}let A=(()=>{class n{constructor(t,o,l){this.router=t,this.injector=o,this.titleService=l,this.crumbs=[],this.finished=!1,this.defaultResolver=new fE,this.subscription=this.router.events.pipe((0,Rp.h)(_=>_ instanceof Io.OD)).subscribe(()=>{this.finished=!1}),this.subscription=this.router.events.pipe((0,Rp.h)(_=>_ instanceof Io.m2)).subscribe(()=>{this._resolveCrumbs(t.routerState.snapshot.root).pipe((0,Ac.zg)(C=>C),function ax(n,s){return t=>t.lift(new lx(n,s))}(C=>C.text),$l(),(0,Ac.zg)(C=>{const x=this.postProcess(C);return this.wrapIntoObservable(x).pipe((0,HO.P)())})).subscribe(C=>{this.finished=!0,this.crumbs=C;const x=this.getTitleFromCrumbs(this.crumbs);this.titleService.setTitle(x)})})}ngOnDestroy(){this.subscription.unsubscribe()}_resolveCrumbs(t){let o;const l=t.routeConfig&&t.routeConfig.data;if(l&&l.breadcrumbs){let _;_=l.breadcrumbs.prototype instanceof fE?this.injector.get(l.breadcrumbs):this.defaultResolver;const C=_.resolve(t);o=this.wrapIntoObservable(C).pipe((0,HO.P)())}else o=(0,rc.of)([]);return t.firstChild&&(o=(0,ox.z)(o,this._resolveCrumbs(t.firstChild))),o}postProcess(t){const o=[];return t.forEach(l=>{const _=l.text.split("/");if(_.length>1){l.text=_[_.length-1];for(let C=0;C<_.length-1;C++)o.push({text:_[C],path:null})}o.push(l)}),o}isPromise(t){return t&&"function"==typeof t.then}wrapIntoObservable(t){return t instanceof j1.y?t:this.isPromise(t)?(0,sx.D)(Promise.resolve(t)):(0,rc.of)(t)}getTitleFromCrumbs(t){const o=t.map(l=>l.text||"").join(" > ");return o.length>0?`Ceph: ${o}`:"Ceph"}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Io.F0),e.Y36(e.zs3),e.Y36(u.Dx))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-breadcrumbs"]],decls:1,vars:1,consts:[["class","breadcrumb",4,"ngIf"],[1,"breadcrumb"],["class","breadcrumb-item",3,"ngClass",4,"ngFor","ngForOf"],[1,"breadcrumb-item",3,"ngClass"],["preserveFragment","",3,"routerLink",4,"ngIf"],[4,"ngIf"],["preserveFragment","",3,"routerLink"]],template:function(t,o){1&t&&e.YNc(0,m,2,1,"ol",0),2&t&&e.Q6J("ngIf",o.crumbs.length)},directives:[p.O5,p.sg,p.mk,Io.yS],styles:['.breadcrumb[_ngcontent-%COMP%]{background-color:transparent;border-radius:0;margin-top:8px;padding:8px 0}.breadcrumb[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] + li[_ngcontent-%COMP%]:before{content:"\\f101";font-family:ForkAwesome;padding:0 5px 0 7px}']}),n})();const k=function(n){return{dashboard:n}};let ee=(()=>{class n{constructor(t,o,l,_){this.router=t,this.summaryService=o,this.taskManagerService=l,this.faviconService=_,this.subs=new oc.w}ngOnInit(){this.subs.add(this.summaryService.startPolling()),this.subs.add(this.taskManagerService.init(this.summaryService)),this.faviconService.init()}ngOnDestroy(){this.subs.unsubscribe()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Io.F0),e.Y36(Ym.J),e.Y36(JM.k),e.Y36(_T))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-workbench-layout"]],features:[e._Bn([_T])],decls:6,vars:3,consts:[[1,"container-fluid","h-100",3,"ngClass"]],template:function(t,o){1&t&&(e.TgZ(0,"block-ui")(1,"cd-navigation")(2,"div",0),e._UZ(3,"cd-context")(4,"cd-breadcrumbs")(5,"router-outlet"),e.qZA()()()),2&t&&(e.xp6(2),e.Q6J("ngClass",e.VKq(1,k,"/dashboard"==o.router.url||"/dashboard_3"==o.router.url)))},directives:[z0,UT,p.mk,kO,A,Io.lC],styles:[".dashboard[_ngcontent-%COMP%]{background-color:#e9ecef;margin:0;padding:0}.container-fluid[_ngcontent-%COMP%]{overflow:auto;position:absolute}"]}),n})();var pe=i(78139),Ie=i(16482),Je=i.n(Ie);function kt(n){return(kt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(s){return typeof s}:function(s){return s&&"function"==typeof Symbol&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s})(n)}function en(n,s){if(!(n instanceof s))throw new TypeError("Cannot call a class as a function")}function Ln(n,s){for(var t=0;t<s.length;t++){var o=s[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(n,o.key,o)}}function ni(n,s,t){return s in n?Object.defineProperty(n,s,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[s]=t,n}function Zi(n,s){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);s&&(o=o.filter(function(l){return Object.getOwnPropertyDescriptor(n,l).enumerable})),t.push.apply(t,o)}return t}function jo(n){for(var s=1;s<arguments.length;s++){var t=null!=arguments[s]?arguments[s]:{};s%2?Zi(t,!0).forEach(function(o){ni(n,o,t[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):Zi(t).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(t,o))})}return n}function Ys(n){return(Ys=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(n)}function _o(n,s){return(_o=Object.setPrototypeOf||function(o,l){return o.__proto__=l,o})(n,s)}function eu(n,s){return!s||"object"!=typeof s&&"function"!=typeof s?function Da(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(n):s}var Ju={};function pE(n,s,t){return function pg(n){return null==n}(n)?t:function Nh(n){return null!==n&&"object"===kt(n)&&"function"==typeof n.get&&"function"==typeof n.has}(n)?n.has(s)?n.get(s):t:hasOwnProperty.call(n,s)?n[s]:t}function p0(n,s,t){for(var o=0;o!==s.length;)if((n=pE(n,s[o++],Ju))===Ju)return t;return n}function $v(n){var s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=hE(s,t),l=n||Object.keys(jo({},t,{},s));return l.every(o)}function hE(n,s){return function(t){if("string"==typeof t)return(0,Ie.is)(s[t],n[t]);if(Array.isArray(t))return(0,Ie.is)(p0(s,t),p0(n,t));throw new TypeError("Invalid key: expected Array or string: "+t)}}var _E=function(n){function s(){return en(this,s),eu(this,Ys(s).apply(this,arguments))}return function us(n,s){if("function"!=typeof s&&null!==s)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(s&&s.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),s&&_o(n,s)}(s,n),function Ar(n,s,t){s&&Ln(n.prototype,s),t&&Ln(n,t)}(s,[{key:"shouldComponentUpdate",value:function(o){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return!$v(this.updateOnProps,this.props,o,"updateOnProps")||!$v(this.updateOnStates,this.state,l,"updateOnStates")}}]),s}(pe.Component);const mE=_E;function dx(n,s){if(Array.prototype.indexOf)return n.indexOf(s);for(var t=0,o=n.length;t<o;t++)if(n[t]===s)return t;return-1}function Hv(n,s){for(var t=n.length-1;t>=0;t--)!0===s(n[t])&&n.splice(t,1)}function BO(n){throw new Error("Unhandled case for value: '".concat(n,"'"))}var t,UO=function(){function n(s){void 0===s&&(s={}),this.tagName="",this.attrs={},this.innerHTML="",this.whitespaceRegex=/\s+/,this.tagName=s.tagName||"",this.attrs=s.attrs||{},this.innerHTML=s.innerHtml||s.innerHTML||""}return n.prototype.setTagName=function(s){return this.tagName=s,this},n.prototype.getTagName=function(){return this.tagName||""},n.prototype.setAttr=function(s,t){return this.getAttrs()[s]=t,this},n.prototype.getAttr=function(s){return this.getAttrs()[s]},n.prototype.setAttrs=function(s){return Object.assign(this.getAttrs(),s),this},n.prototype.getAttrs=function(){return this.attrs||(this.attrs={})},n.prototype.setClass=function(s){return this.setAttr("class",s)},n.prototype.addClass=function(s){for(var C,t=this.getClass(),o=this.whitespaceRegex,l=t?t.split(o):[],_=s.split(o);C=_.shift();)-1===dx(l,C)&&l.push(C);return this.getAttrs().class=l.join(" "),this},n.prototype.removeClass=function(s){for(var C,t=this.getClass(),o=this.whitespaceRegex,l=t?t.split(o):[],_=s.split(o);l.length&&(C=_.shift());){var x=dx(l,C);-1!==x&&l.splice(x,1)}return this.getAttrs().class=l.join(" "),this},n.prototype.getClass=function(){return this.getAttrs().class||""},n.prototype.hasClass=function(s){return-1!==(" "+this.getClass()+" ").indexOf(" "+s+" ")},n.prototype.setInnerHTML=function(s){return this.innerHTML=s,this},n.prototype.setInnerHtml=function(s){return this.setInnerHTML(s)},n.prototype.getInnerHTML=function(){return this.innerHTML||""},n.prototype.getInnerHtml=function(){return this.getInnerHTML()},n.prototype.toAnchorString=function(){var s=this.getTagName(),t=this.buildAttrsStr();return["<",s,t=t?" "+t:"",">",this.getInnerHtml(),"</",s,">"].join("")},n.prototype.buildAttrsStr=function(){if(!this.attrs)return"";var s=this.getAttrs(),t=[];for(var o in s)s.hasOwnProperty(o)&&t.push(o+'="'+s[o]+'"');return t.join(" ")},n}(),fx=function(){function n(s){void 0===s&&(s={}),this.newWindow=!1,this.truncate={},this.className="",this.newWindow=s.newWindow||!1,this.truncate=s.truncate||{},this.className=s.className||""}return n.prototype.build=function(s){return new UO({tagName:"a",attrs:this.createAttrs(s),innerHtml:this.processAnchorText(s.getAnchorText())})},n.prototype.createAttrs=function(s){var t={href:s.getAnchorHref()},o=this.createCssClass(s);return o&&(t.class=o),this.newWindow&&(t.target="_blank",t.rel="noopener noreferrer"),this.truncate&&this.truncate.length&&this.truncate.length<s.getAnchorText().length&&(t.title=s.getAnchorHref()),t},n.prototype.createCssClass=function(s){var t=this.className;if(t){for(var o=[t],l=s.getCssClassSuffixes(),_=0,C=l.length;_<C;_++)o.push(t+"-"+l[_]);return o.join(" ")}return""},n.prototype.processAnchorText=function(s){return this.doTruncate(s)},n.prototype.doTruncate=function(s){var t=this.truncate;if(!t||!t.length)return s;var o=t.length,l=t.location;return"smart"===l?function _P(n,s,t){var o,l;null==t?(t="&hellip;",l=3,o=8):(l=t.length,o=t.length);var C=function(we){var G="";return we.scheme&&we.host&&(G+=we.scheme+"://"),we.host&&(G+=we.host),we.path&&(G+="/"+we.path),we.query&&(G+="?"+we.query),we.fragment&&(G+="#"+we.fragment),G},x=function(we,G){var Dt=G/2,bt=Math.ceil(Dt),Bt=-1*Math.floor(Dt),Jt="";return Bt<0&&(Jt=we.substr(Bt)),we.substr(0,bt)+t+Jt};if(n.length<=s)return n;var G,Dt,bt,N=s-l,V=(G={},(bt=(Dt=n).match(/^([a-z]+):\/\//i))&&(G.scheme=bt[1],Dt=Dt.substr(bt[0].length)),(bt=Dt.match(/^(.*?)(?=(\?|#|\/|$))/i))&&(G.host=bt[1],Dt=Dt.substr(bt[0].length)),(bt=Dt.match(/^\/(.*?)(?=(\?|#|$))/i))&&(G.path=bt[1],Dt=Dt.substr(bt[0].length)),(bt=Dt.match(/^\?(.*?)(?=(#|$))/i))&&(G.query=bt[1],Dt=Dt.substr(bt[0].length)),(bt=Dt.match(/^#(.*?)$/i))&&(G.fragment=bt[1]),G);if(V.query){var Q=V.query.match(/^(.*?)(?=(\?|\#))(.*?)$/i);Q&&(V.query=V.query.substr(0,Q[1].length),n=C(V))}if(n.length<=s||(V.host&&(V.host=V.host.replace(/^www\./,""),n=C(V)),n.length<=s))return n;var oe="";if(V.host&&(oe+=V.host),oe.length>=N)return V.host.length==s?(V.host.substr(0,s-l)+t).substr(0,N+o):x(oe,N).substr(0,N+o);var le="";if(V.path&&(le+="/"+V.path),V.query&&(le+="?"+V.query),le){if((oe+le).length>=N)return(oe+le).length==s?(oe+le).substr(0,s):(oe+x(le,N-oe.length)).substr(0,N+o);oe+=le}if(V.fragment){var ye="#"+V.fragment;if((oe+ye).length>=N)return(oe+ye).length==s?(oe+ye).substr(0,s):(oe+x(ye,N-oe.length)).substr(0,N+o);oe+=ye}if(V.scheme&&V.host){var Ne=V.scheme+"://";if((oe+Ne).length<N)return(Ne+oe).substr(0,s)}if(oe.length<=s)return oe;var ke="";return N>0&&(ke=oe.substr(-1*Math.floor(N/2))),(oe.substr(0,Math.ceil(N/2))+t+ke).substr(0,N+o)}(s,o):"middle"===l?function mP(n,s,t){if(n.length<=s)return n;var o,l;null==t?(t="&hellip;",o=8,l=3):(o=t.length,l=t.length);var _=s-l,C="";return _>0&&(C=n.substr(-1*Math.floor(_/2))),(n.substr(0,Math.ceil(_/2))+t+C).substr(0,_+o)}(s,o):function gP(n,s,t){return function pP(n,s,t){var o;return n.length>s&&(null==t?(t="&hellip;",o=3):o=t.length,n=n.substring(0,s-o)+t),n}(n,s,t)}(s,o)},n}(),h0=function(){function n(s){this.__jsduckDummyDocProp=null,this.matchedText="",this.offset=0,this.tagBuilder=s.tagBuilder,this.matchedText=s.matchedText,this.offset=s.offset}return n.prototype.getMatchedText=function(){return this.matchedText},n.prototype.setOffset=function(s){this.offset=s},n.prototype.getOffset=function(){return this.offset},n.prototype.getCssClassSuffixes=function(){return[this.getType()]},n.prototype.buildTag=function(){return this.tagBuilder.build(this)},n}(),px=function(n){function s(t){var o=n.call(this,t)||this;return o.email="",o.email=t.email,o}return(0,Z.ZT)(s,n),s.prototype.getType=function(){return"email"},s.prototype.getEmail=function(){return this.email},s.prototype.getAnchorHref=function(){return"mailto:"+this.email},s.prototype.getAnchorText=function(){return this.email},s}(h0),hx=function(n){function s(t){var o=n.call(this,t)||this;return o.serviceName="",o.hashtag="",o.serviceName=t.serviceName,o.hashtag=t.hashtag,o}return(0,Z.ZT)(s,n),s.prototype.getType=function(){return"hashtag"},s.prototype.getServiceName=function(){return this.serviceName},s.prototype.getHashtag=function(){return this.hashtag},s.prototype.getAnchorHref=function(){var t=this.serviceName,o=this.hashtag;switch(t){case"twitter":return"https://twitter.com/hashtag/"+o;case"facebook":return"https://www.facebook.com/hashtag/"+o;case"instagram":return"https://instagram.com/explore/tags/"+o;case"tiktok":return"https://www.tiktok.com/tag/"+o;default:throw new Error("Unknown service name to point hashtag to: "+t)}},s.prototype.getAnchorText=function(){return"#"+this.hashtag},s}(h0),_x=function(n){function s(t){var o=n.call(this,t)||this;return o.serviceName="twitter",o.mention="",o.mention=t.mention,o.serviceName=t.serviceName,o}return(0,Z.ZT)(s,n),s.prototype.getType=function(){return"mention"},s.prototype.getMention=function(){return this.mention},s.prototype.getServiceName=function(){return this.serviceName},s.prototype.getAnchorHref=function(){switch(this.serviceName){case"twitter":return"https://twitter.com/"+this.mention;case"instagram":return"https://instagram.com/"+this.mention;case"soundcloud":return"https://soundcloud.com/"+this.mention;case"tiktok":return"https://www.tiktok.com/@"+this.mention;default:throw new Error("Unknown service name to point mention to: "+this.serviceName)}},s.prototype.getAnchorText=function(){return"@"+this.mention},s.prototype.getCssClassSuffixes=function(){var t=n.prototype.getCssClassSuffixes.call(this),o=this.getServiceName();return o&&t.push(o),t},s}(h0),mx=function(n){function s(t){var o=n.call(this,t)||this;return o.number="",o.plusSign=!1,o.number=t.number,o.plusSign=t.plusSign,o}return(0,Z.ZT)(s,n),s.prototype.getType=function(){return"phone"},s.prototype.getPhoneNumber=function(){return this.number},s.prototype.getNumber=function(){return this.getPhoneNumber()},s.prototype.getAnchorHref=function(){return"tel:"+(this.plusSign?"+":"")+this.number},s.prototype.getAnchorText=function(){return this.matchedText},s}(h0),gx=function(n){function s(t){var o=n.call(this,t)||this;return o.url="",o.urlMatchType="scheme",o.protocolUrlMatch=!1,o.protocolRelativeMatch=!1,o.stripPrefix={scheme:!0,www:!0},o.stripTrailingSlash=!0,o.decodePercentEncoding=!0,o.schemePrefixRegex=/^(https?:\/\/)?/i,o.wwwPrefixRegex=/^(https?:\/\/)?(www\.)?/i,o.protocolRelativeRegex=/^\/\//,o.protocolPrepended=!1,o.urlMatchType=t.urlMatchType,o.url=t.url,o.protocolUrlMatch=t.protocolUrlMatch,o.protocolRelativeMatch=t.protocolRelativeMatch,o.stripPrefix=t.stripPrefix,o.stripTrailingSlash=t.stripTrailingSlash,o.decodePercentEncoding=t.decodePercentEncoding,o}return(0,Z.ZT)(s,n),s.prototype.getType=function(){return"url"},s.prototype.getUrlMatchType=function(){return this.urlMatchType},s.prototype.getUrl=function(){var t=this.url;return!this.protocolRelativeMatch&&!this.protocolUrlMatch&&!this.protocolPrepended&&(t=this.url="http://"+t,this.protocolPrepended=!0),t},s.prototype.getAnchorHref=function(){return this.getUrl().replace(/&amp;/g,"&")},s.prototype.getAnchorText=function(){var t=this.getMatchedText();return this.protocolRelativeMatch&&(t=this.stripProtocolRelativePrefix(t)),this.stripPrefix.scheme&&(t=this.stripSchemePrefix(t)),this.stripPrefix.www&&(t=this.stripWwwPrefix(t)),this.stripTrailingSlash&&(t=this.removeTrailingSlash(t)),this.decodePercentEncoding&&(t=this.removePercentEncoding(t)),t},s.prototype.stripSchemePrefix=function(t){return t.replace(this.schemePrefixRegex,"")},s.prototype.stripWwwPrefix=function(t){return t.replace(this.wwwPrefixRegex,"$1")},s.prototype.stripProtocolRelativePrefix=function(t){return t.replace(this.protocolRelativeRegex,"")},s.prototype.removeTrailingSlash=function(t){return"/"===t.charAt(t.length-1)&&(t=t.slice(0,-1)),t},s.prototype.removePercentEncoding=function(t){var o=t.replace(/%22/gi,"&quot;").replace(/%26/gi,"&amp;").replace(/%27/gi,"&#39;").replace(/%3C/gi,"&lt;").replace(/%3E/gi,"&gt;");try{return decodeURIComponent(o)}catch(l){return o}},s}(h0),_0=function n(s){this.__jsduckDummyDocProp=null,this.tagBuilder=s.tagBuilder},YO=/[A-Za-z]/,vP=/[\d]/,yP=/[\D]/,Bv=/\s/,jO=/['"]/,EP=/[\x00-\x1F\x7F]/,vx=/A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC/.source,yx=vx+/\u2700-\u27bf\udde6-\uddff\ud800-\udbff\udc00-\udfff\ufe0e\ufe0f\u0300-\u036f\ufe20-\ufe23\u20d0-\u20f0\ud83c\udffb-\udfff\u200d\u3299\u3297\u303d\u3030\u24c2\ud83c\udd70-\udd71\udd7e-\udd7f\udd8e\udd91-\udd9a\udde6-\uddff\ude01-\ude02\ude1a\ude2f\ude32-\ude3a\ude50-\ude51\u203c\u2049\u25aa-\u25ab\u25b6\u25c0\u25fb-\u25fe\u00a9\u00ae\u2122\u2139\udc04\u2600-\u26FF\u2b05\u2b06\u2b07\u2b1b\u2b1c\u2b50\u2b55\u231a\u231b\u2328\u23cf\u23e9-\u23f3\u23f8-\u23fa\udccf\u2935\u2934\u2190-\u21ff/.source+/\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D4-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F/.source,GT=/0-9\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE6-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u1040-\u1049\u1090-\u1099\u17E0-\u17E9\u1810-\u1819\u1946-\u194F\u19D0-\u19D9\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\uA620-\uA629\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19/.source,TP=yx+GT,Pd=yx+GT,yE=new RegExp("[".concat(Pd,"]")),CP="(?:["+GT+"]{1,3}\\.){3}["+GT+"]{1,3}",MP="["+Pd+"](?:["+Pd+"\\-_]{0,61}["+Pd+"])?",Ex=function(n){return"(?=("+MP+"))\\"+n},GO=function(n){return"(?:"+Ex(n)+"(?:\\."+Ex(n+1)+"){0,126}|"+CP+")"},VT=(new RegExp("["+Pd+".\\-]*["+Pd+"\\-]"),yE),bx=/(?:xn--vermgensberatung-pwb|xn--vermgensberater-ctb|xn--clchc0ea0b2g2a9gcd|xn--w4r85el8fhu5dnra|northwesternmutual|travelersinsurance|verm\xf6gensberatung|xn--5su34j936bgsg|xn--bck1b9a5dre4c|xn--mgbah1a3hjkrd|xn--mgbai9azgqp6j|xn--mgberp4a5d4ar|xn--xkc2dl3a5ee0h|verm\xf6gensberater|xn--fzys8d69uvgm|xn--mgba7c0bbn0a|xn--mgbcpq6gpa1a|xn--xkc2al3hye2a|americanexpress|kerryproperties|sandvikcoromant|xn--i1b6b1a6a2e|xn--kcrx77d1x4a|xn--lgbbat1ad8j|xn--mgba3a4f16a|xn--mgbaakc7dvf|xn--mgbc0a9azcg|xn--nqv7fs00ema|americanfamily|bananarepublic|cancerresearch|cookingchannel|kerrylogistics|weatherchannel|xn--54b7fta0cc|xn--6qq986b3xl|xn--80aqecdr1a|xn--b4w605ferd|xn--fiq228c5hs|xn--h2breg3eve|xn--jlq480n2rg|xn--jlq61u9w7b|xn--mgba3a3ejt|xn--mgbaam7a8h|xn--mgbayh7gpa|xn--mgbbh1a71e|xn--mgbca7dzdo|xn--mgbi4ecexp|xn--mgbx4cd0ab|xn--rvc1e0am3e|international|lifeinsurance|travelchannel|wolterskluwer|xn--cckwcxetd|xn--eckvdtc9d|xn--fpcrj9c3d|xn--fzc2c9e2c|xn--h2brj9c8c|xn--tiq49xqyj|xn--yfro4i67o|xn--ygbi2ammx|construction|lplfinancial|scholarships|versicherung|xn--3e0b707e|xn--45br5cyl|xn--4dbrk0ce|xn--80adxhks|xn--80asehdb|xn--8y0a063a|xn--gckr3f0f|xn--mgb9awbf|xn--mgbab2bd|xn--mgbgu82a|xn--mgbpl2fh|xn--mgbt3dhd|xn--mk1bu44c|xn--ngbc5azd|xn--ngbe9e0a|xn--ogbpf8fl|xn--qcka1pmc|accountants|barclaycard|blackfriday|blockbuster|bridgestone|calvinklein|contractors|creditunion|engineering|enterprises|foodnetwork|investments|kerryhotels|lamborghini|motorcycles|olayangroup|photography|playstation|productions|progressive|redumbrella|williamhill|xn--11b4c3d|xn--1ck2e1b|xn--1qqw23a|xn--2scrj9c|xn--3bst00m|xn--3ds443g|xn--3hcrj9c|xn--42c2d9a|xn--45brj9c|xn--55qw42g|xn--6frz82g|xn--80ao21a|xn--9krt00a|xn--cck2b3b|xn--czr694b|xn--d1acj3b|xn--efvy88h|xn--fct429k|xn--fjq720a|xn--flw351e|xn--g2xx48c|xn--gecrj9c|xn--gk3at1e|xn--h2brj9c|xn--hxt814e|xn--imr513n|xn--j6w193g|xn--jvr189m|xn--kprw13d|xn--kpry57d|xn--mgbbh1a|xn--mgbtx2b|xn--mix891f|xn--nyqy26a|xn--otu796d|xn--pgbs0dh|xn--q9jyb4c|xn--rhqv96g|xn--rovu88b|xn--s9brj9c|xn--ses554g|xn--t60b56a|xn--vuq861b|xn--w4rs40l|xn--xhq521b|xn--zfr164b|\u0b9a\u0bbf\u0b99\u0bcd\u0b95\u0baa\u0bcd\u0baa\u0bc2\u0bb0\u0bcd|accountant|apartments|associates|basketball|bnpparibas|boehringer|capitalone|consulting|creditcard|cuisinella|eurovision|extraspace|foundation|healthcare|immobilien|industries|management|mitsubishi|nextdirect|properties|protection|prudential|realestate|republican|restaurant|schaeffler|tatamotors|technology|university|vlaanderen|volkswagen|xn--30rr7y|xn--3pxu8k|xn--45q11c|xn--4gbrim|xn--55qx5d|xn--5tzm5g|xn--80aswg|xn--90a3ac|xn--9dbq2a|xn--9et52u|xn--c2br7g|xn--cg4bki|xn--czrs0t|xn--czru2d|xn--fiq64b|xn--fiqs8s|xn--fiqz9s|xn--io0a7i|xn--kput3i|xn--mxtq1m|xn--o3cw4h|xn--pssy2u|xn--q7ce6a|xn--unup4y|xn--wgbh1c|xn--wgbl6a|xn--y9a3aq|accenture|alfaromeo|allfinanz|amsterdam|analytics|aquarelle|barcelona|bloomberg|christmas|community|directory|education|equipment|fairwinds|financial|firestone|fresenius|frontdoor|furniture|goldpoint|hisamitsu|homedepot|homegoods|homesense|institute|insurance|kuokgroup|lancaster|landrover|lifestyle|marketing|marshalls|melbourne|microsoft|panasonic|passagens|pramerica|richardli|shangrila|solutions|statebank|statefarm|stockholm|travelers|vacations|xn--90ais|xn--c1avg|xn--d1alf|xn--e1a4c|xn--fhbei|xn--j1aef|xn--j1amh|xn--l1acc|xn--ngbrx|xn--nqv7f|xn--p1acf|xn--qxa6a|xn--tckwe|xn--vhquv|yodobashi|\u0645\u0648\u0631\u064a\u062a\u0627\u0646\u064a\u0627|abudhabi|airforce|allstate|attorney|barclays|barefoot|bargains|baseball|boutique|bradesco|broadway|brussels|builders|business|capetown|catering|catholic|cipriani|cityeats|cleaning|clinique|clothing|commbank|computer|delivery|deloitte|democrat|diamonds|discount|discover|download|engineer|ericsson|etisalat|exchange|feedback|fidelity|firmdale|football|frontier|goodyear|grainger|graphics|guardian|hdfcbank|helsinki|holdings|hospital|infiniti|ipiranga|istanbul|jpmorgan|lighting|lundbeck|marriott|maserati|mckinsey|memorial|merckmsd|mortgage|observer|partners|pharmacy|pictures|plumbing|property|redstone|reliance|saarland|samsclub|security|services|shopping|showtime|softbank|software|stcgroup|supplies|training|vanguard|ventures|verisign|woodside|xn--90ae|xn--node|xn--p1ai|xn--qxam|yokohama|\u0627\u0644\u0633\u0639\u0648\u062f\u064a\u0629|abogado|academy|agakhan|alibaba|android|athleta|auction|audible|auspost|avianca|banamex|bauhaus|bentley|bestbuy|booking|brother|bugatti|capital|caravan|careers|channel|charity|chintai|citadel|clubmed|college|cologne|comcast|company|compare|contact|cooking|corsica|country|coupons|courses|cricket|cruises|dentist|digital|domains|exposed|express|farmers|fashion|ferrari|ferrero|finance|fishing|fitness|flights|florist|flowers|forsale|frogans|fujitsu|gallery|genting|godaddy|grocery|guitars|hamburg|hangout|hitachi|holiday|hosting|hoteles|hotmail|hyundai|ismaili|jewelry|juniper|kitchen|komatsu|lacaixa|lanxess|lasalle|latrobe|leclerc|limited|lincoln|markets|monster|netbank|netflix|network|neustar|okinawa|oldnavy|organic|origins|philips|pioneer|politie|realtor|recipes|rentals|reviews|rexroth|samsung|sandvik|schmidt|schwarz|science|shiksha|singles|staples|storage|support|surgery|systems|temasek|theater|theatre|tickets|tiffany|toshiba|trading|walmart|wanggou|watches|weather|website|wedding|whoswho|windows|winners|xfinity|yamaxun|youtube|zuerich|\u043a\u0430\u0442\u043e\u043b\u0438\u043a|\u0627\u062a\u0635\u0627\u0644\u0627\u062a|\u0627\u0644\u0628\u062d\u0631\u064a\u0646|\u0627\u0644\u062c\u0632\u0627\u0626\u0631|\u0627\u0644\u0639\u0644\u064a\u0627\u0646|\u067e\u0627\u06a9\u0633\u062a\u0627\u0646|\u0643\u0627\u062b\u0648\u0644\u064a\u0643|\u0b87\u0ba8\u0bcd\u0ba4\u0bbf\u0baf\u0bbe|abarth|abbott|abbvie|africa|agency|airbus|airtel|alipay|alsace|alstom|amazon|anquan|aramco|author|bayern|beauty|berlin|bharti|bostik|boston|broker|camera|career|casino|center|chanel|chrome|church|circle|claims|clinic|coffee|comsec|condos|coupon|credit|cruise|dating|datsun|dealer|degree|dental|design|direct|doctor|dunlop|dupont|durban|emerck|energy|estate|events|expert|family|flickr|futbol|gallup|garden|george|giving|global|google|gratis|health|hermes|hiphop|hockey|hotels|hughes|imamat|insure|intuit|jaguar|joburg|juegos|kaufen|kinder|kindle|kosher|lancia|latino|lawyer|lefrak|living|locker|london|luxury|madrid|maison|makeup|market|mattel|mobile|monash|mormon|moscow|museum|mutual|nagoya|natura|nissan|nissay|norton|nowruz|office|olayan|online|oracle|orange|otsuka|pfizer|photos|physio|pictet|quebec|racing|realty|reisen|repair|report|review|rocher|rogers|ryukyu|safety|sakura|sanofi|school|schule|search|secure|select|shouji|soccer|social|stream|studio|supply|suzuki|swatch|sydney|taipei|taobao|target|tattoo|tennis|tienda|tjmaxx|tkmaxx|toyota|travel|unicom|viajes|viking|villas|virgin|vision|voting|voyage|vuelos|walter|webcam|xihuan|yachts|yandex|zappos|\u043c\u043e\u0441\u043a\u0432\u0430|\u043e\u043d\u043b\u0430\u0439\u043d|\u0627\u0628\u0648\u0638\u0628\u064a|\u0627\u0631\u0627\u0645\u0643\u0648|\u0627\u0644\u0627\u0631\u062f\u0646|\u0627\u0644\u0645\u063a\u0631\u0628|\u0627\u0645\u0627\u0631\u0627\u062a|\u0641\u0644\u0633\u0637\u064a\u0646|\u0645\u0644\u064a\u0633\u064a\u0627|\u092d\u093e\u0930\u0924\u092e\u094d|\u0b87\u0bb2\u0b99\u0bcd\u0b95\u0bc8|\u30d5\u30a1\u30c3\u30b7\u30e7\u30f3|actor|adult|aetna|amfam|amica|apple|archi|audio|autos|azure|baidu|beats|bible|bingo|black|boats|bosch|build|canon|cards|chase|cheap|cisco|citic|click|cloud|coach|codes|crown|cymru|dabur|dance|deals|delta|drive|dubai|earth|edeka|email|epson|faith|fedex|final|forex|forum|gallo|games|gifts|gives|glass|globo|gmail|green|gripe|group|gucci|guide|homes|honda|horse|house|hyatt|ikano|irish|jetzt|koeln|kyoto|lamer|lease|legal|lexus|lilly|linde|lipsy|loans|locus|lotte|lotto|macys|mango|media|miami|money|movie|music|nexus|nikon|ninja|nokia|nowtv|omega|osaka|paris|parts|party|phone|photo|pizza|place|poker|praxi|press|prime|promo|quest|radio|rehab|reise|ricoh|rocks|rodeo|rugby|salon|sener|seven|sharp|shell|shoes|skype|sling|smart|smile|solar|space|sport|stada|store|study|style|sucks|swiss|tatar|tires|tirol|tmall|today|tokyo|tools|toray|total|tours|trade|trust|tunes|tushu|ubank|vegas|video|vodka|volvo|wales|watch|weber|weibo|works|world|xerox|yahoo|\u05d9\u05e9\u05e8\u05d0\u05dc|\u0627\u06cc\u0631\u0627\u0646|\u0628\u0627\u0632\u0627\u0631|\u0628\u06be\u0627\u0631\u062a|\u0633\u0648\u062f\u0627\u0646|\u0633\u0648\u0631\u064a\u0629|\u0647\u0645\u0631\u0627\u0647|\u092d\u093e\u0930\u094b\u0924|\u0938\u0902\u0917\u0920\u0928|\u09ac\u09be\u0982\u09b2\u09be|\u0c2d\u0c3e\u0c30\u0c24\u0c4d|\u0d2d\u0d3e\u0d30\u0d24\u0d02|\u5609\u91cc\u5927\u9152\u5e97|aarp|able|adac|aero|akdn|ally|amex|arab|army|arpa|arte|asda|asia|audi|auto|baby|band|bank|bbva|beer|best|bike|bing|blog|blue|bofa|bond|book|buzz|cafe|call|camp|care|cars|casa|case|cash|cbre|cern|chat|citi|city|club|cool|coop|cyou|data|date|dclk|deal|dell|desi|diet|dish|docs|dvag|erni|fage|fail|fans|farm|fast|fiat|fido|film|fire|fish|flir|food|ford|free|fund|game|gbiz|gent|ggee|gift|gmbh|gold|golf|goog|guge|guru|hair|haus|hdfc|help|here|hgtv|host|hsbc|icbc|ieee|imdb|immo|info|itau|java|jeep|jobs|jprs|kddi|kids|kiwi|kpmg|kred|land|lego|lgbt|lidl|life|like|limo|link|live|loan|loft|love|ltda|luxe|maif|meet|meme|menu|mini|mint|mobi|moda|moto|name|navy|news|next|nico|nike|ollo|open|page|pars|pccw|pics|ping|pink|play|plus|pohl|porn|post|prod|prof|qpon|read|reit|rent|rest|rich|room|rsvp|ruhr|safe|sale|sarl|save|saxo|scot|seat|seek|sexy|shaw|shia|shop|show|silk|sina|site|skin|sncf|sohu|song|sony|spot|star|surf|talk|taxi|team|tech|teva|tiaa|tips|town|toys|tube|vana|visa|viva|vivo|vote|voto|wang|weir|wien|wiki|wine|work|xbox|yoga|zara|zero|zone|\u0434\u0435\u0442\u0438|\u0441\u0430\u0439\u0442|\u0628\u0627\u0631\u062a|\u0628\u064a\u062a\u0643|\u0680\u0627\u0631\u062a|\u062a\u0648\u0646\u0633|\u0634\u0628\u0643\u0629|\u0639\u0631\u0627\u0642|\u0639\u0645\u0627\u0646|\u0645\u0648\u0642\u0639|\u092d\u093e\u0930\u0924|\u09ad\u09be\u09b0\u09a4|\u09ad\u09be\u09f0\u09a4|\u0a2d\u0a3e\u0a30\u0a24|\u0aad\u0abe\u0ab0\u0aa4|\u0b2d\u0b3e\u0b30\u0b24|\u0cad\u0cbe\u0cb0\u0ca4|\u0dbd\u0d82\u0d9a\u0dcf|\u30a2\u30de\u30be\u30f3|\u30b0\u30fc\u30b0\u30eb|\u30af\u30e9\u30a6\u30c9|\u30dd\u30a4\u30f3\u30c8|\u7ec4\u7ec7\u673a\u6784|\u96fb\u8a0a\u76c8\u79d1|\u9999\u683c\u91cc\u62c9|aaa|abb|abc|aco|ads|aeg|afl|aig|anz|aol|app|art|aws|axa|bar|bbc|bbt|bcg|bcn|bet|bid|bio|biz|bms|bmw|bom|boo|bot|box|buy|bzh|cab|cal|cam|car|cat|cba|cbn|cbs|ceo|cfa|cfd|com|cpa|crs|dad|day|dds|dev|dhl|diy|dnp|dog|dot|dtv|dvr|eat|eco|edu|esq|eus|fan|fit|fly|foo|fox|frl|ftr|fun|fyi|gal|gap|gay|gdn|gea|gle|gmo|gmx|goo|gop|got|gov|hbo|hiv|hkt|hot|how|ibm|ice|icu|ifm|inc|ing|ink|int|ist|itv|jcb|jio|jll|jmp|jnj|jot|joy|kfh|kia|kim|kpn|krd|lat|law|lds|llc|llp|lol|lpl|ltd|man|map|mba|med|men|mil|mit|mlb|mls|mma|moe|moi|mom|mov|msd|mtn|mtr|nab|nba|nec|net|new|nfl|ngo|nhk|now|nra|nrw|ntt|nyc|obi|one|ong|onl|ooo|org|ott|ovh|pay|pet|phd|pid|pin|pnc|pro|pru|pub|pwc|red|ren|ril|rio|rip|run|rwe|sap|sas|sbi|sbs|sca|scb|ses|sew|sex|sfr|ski|sky|soy|spa|srl|stc|tab|tax|tci|tdk|tel|thd|tjx|top|trv|tui|tvs|ubs|uno|uol|ups|vet|vig|vin|vip|wed|win|wme|wow|wtc|wtf|xin|xxx|xyz|you|yun|zip|\u0431\u0435\u043b|\u043a\u043e\u043c|\u049b\u0430\u0437|\u043c\u043a\u0434|\u043c\u043e\u043d|\u043e\u0440\u0433|\u0440\u0443\u0441|\u0441\u0440\u0431|\u0443\u043a\u0440|\u0570\u0561\u0575|\u05e7\u05d5\u05dd|\u0639\u0631\u0628|\u0642\u0637\u0631|\u0643\u0648\u0645|\u0645\u0635\u0631|\u0915\u0949\u092e|\u0928\u0947\u091f|\u0e04\u0e2d\u0e21|\u0e44\u0e17\u0e22|\u0ea5\u0eb2\u0ea7|\u30b9\u30c8\u30a2|\u30bb\u30fc\u30eb|\u307f\u3093\u306a|\u4e2d\u6587\u7f51|\u4e9a\u9a6c\u900a|\u5929\u4e3b\u6559|\u6211\u7231\u4f60|\u65b0\u52a0\u5761|\u6de1\u9a6c\u9521|\u8bfa\u57fa\u4e9a|\u98de\u5229\u6d66|ac|ad|ae|af|ag|ai|al|am|ao|aq|ar|as|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|cr|cu|cv|cw|cx|cy|cz|de|dj|dk|dm|do|dz|ec|ee|eg|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|in|io|iq|ir|is|it|je|jm|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|mv|mw|mx|my|mz|na|nc|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|ps|pt|pw|py|qa|re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|ss|st|su|sv|sx|sy|sz|tc|td|tf|tg|th|tj|tk|tl|tm|tn|to|tr|tt|tv|tw|tz|ua|ug|uk|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|za|zm|zw|\u03b5\u03bb|\u03b5\u03c5|\u0431\u0433|\u0435\u044e|\u0440\u0444|\u10d2\u10d4|\ub2f7\ub137|\ub2f7\ucef4|\uc0bc\uc131|\ud55c\uad6d|\u30b3\u30e0|\u4e16\u754c|\u4e2d\u4fe1|\u4e2d\u56fd|\u4e2d\u570b|\u4f01\u4e1a|\u4f5b\u5c71|\u4fe1\u606f|\u5065\u5eb7|\u516b\u5366|\u516c\u53f8|\u516c\u76ca|\u53f0\u6e7e|\u53f0\u7063|\u5546\u57ce|\u5546\u5e97|\u5546\u6807|\u5609\u91cc|\u5728\u7ebf|\u5927\u62ff|\u5a31\u4e50|\u5bb6\u96fb|\u5e7f\u4e1c|\u5fae\u535a|\u6148\u5584|\u624b\u673a|\u62db\u8058|\u653f\u52a1|\u653f\u5e9c|\u65b0\u95fb|\u65f6\u5c1a|\u66f8\u7c4d|\u673a\u6784|\u6e38\u620f|\u6fb3\u9580|\u70b9\u770b|\u79fb\u52a8|\u7f51\u5740|\u7f51\u5e97|\u7f51\u7ad9|\u7f51\u7edc|\u8054\u901a|\u8c37\u6b4c|\u8d2d\u7269|\u901a\u8ca9|\u96c6\u56e2|\u98df\u54c1|\u9910\u5385|\u9999\u6e2f)/,OP=new RegExp("[".concat(Pd,"!#$%&'*+/=?^_`{|}~-]")),AP=new RegExp("^".concat(bx.source,"$")),Sx=function(n){function s(){var t=null!==n&&n.apply(this,arguments)||this;return t.localPartCharRegex=OP,t.strictTldRegex=AP,t}return(0,Z.ZT)(s,n),s.prototype.parseMatches=function(t){for(var o=this.tagBuilder,l=this.localPartCharRegex,_=this.strictTldRegex,C=[],x=t.length,N=new ZT,V={m:"a",a:"i",i:"l",l:"t",t:"o",o:":"},Q=0,oe=0,le=N;Q<x;){var me=t.charAt(Q);switch(oe){case 0:"m"===(zt=me)?Bt(1):l.test(zt)&&Bt();break;case 1:$e(t.charAt(Q-1),me);break;case 2:Ne(me);break;case 3:ke(me);break;case 4:we(me);break;case 5:G(me);break;case 6:Dt(me);break;case 7:bt(me);break;default:BO(oe)}Q++}var zt;return Mn(),C;function $e(zt,xn){":"===zt?l.test(xn)?(oe=2,le=new ZT((0,Z.pi)((0,Z.pi)({},le),{hasMailtoPrefix:!0}))):Jt():V[zt]===xn||(l.test(xn)?oe=2:"."===xn?oe=3:"@"===xn?oe=4:Jt())}function Ne(zt){"."===zt?oe=3:"@"===zt?oe=4:l.test(zt)||Jt()}function ke(zt){"."===zt||"@"===zt?Jt():l.test(zt)?oe=2:Jt()}function we(zt){VT.test(zt)?oe=5:Jt()}function G(zt){"."===zt?oe=7:"-"===zt?oe=6:VT.test(zt)||Mn()}function Dt(zt){"-"===zt||"."===zt?Mn():VT.test(zt)?oe=5:Mn()}function bt(zt){"."===zt||"-"===zt?Mn():VT.test(zt)?(oe=5,le=new ZT((0,Z.pi)((0,Z.pi)({},le),{hasDomainDot:!0}))):Mn()}function Bt(zt){void 0===zt&&(zt=2),oe=zt,le=new ZT({idx:Q})}function Jt(){oe=0,le=N}function Mn(){if(le.hasDomainDot){var zt=t.slice(le.idx,Q);/[-.]$/.test(zt)&&(zt=zt.slice(0,-1));var xn=le.hasMailtoPrefix?zt.slice(7):zt;(function Nn(zr){var Vr=(zr.split(".").pop()||"").toLowerCase();return _.test(Vr)})(xn)&&C.push(new px({tagBuilder:o,matchedText:zt,offset:le.idx,email:xn}))}Jt()}},s}(_0),ZT=function n(s){void 0===s&&(s={}),this.idx=void 0!==s.idx?s.idx:-1,this.hasMailtoPrefix=!!s.hasMailtoPrefix,this.hasDomainDot=!!s.hasDomainDot},DP=function(){function n(){}return n.isValid=function(s,t){return!(t&&!this.isValidUriScheme(t)||this.urlMatchDoesNotHaveProtocolOrDot(s,t)||this.urlMatchDoesNotHaveAtLeastOneWordChar(s,t)&&!this.isValidIpAddress(s)||this.containsMultipleDots(s))},n.isValidIpAddress=function(s){var t=new RegExp(this.hasFullProtocolRegex.source+this.ipRegex.source);return null!==s.match(t)},n.containsMultipleDots=function(s){var t=s;return this.hasFullProtocolRegex.test(s)&&(t=s.split("://")[1]),t.split("/")[0].indexOf("..")>-1},n.isValidUriScheme=function(s){var t=s.match(this.uriSchemeRegex),o=t&&t[0].toLowerCase();return"javascript:"!==o&&"vbscript:"!==o},n.urlMatchDoesNotHaveProtocolOrDot=function(s,t){return!(!s||t&&this.hasFullProtocolRegex.test(t)||-1!==s.indexOf("."))},n.urlMatchDoesNotHaveAtLeastOneWordChar=function(s,t){return!(!s||!t||this.hasFullProtocolRegex.test(t)||this.hasWordCharAfterProtocolRegex.test(s))},n.hasFullProtocolRegex=/^[A-Za-z][-.+A-Za-z0-9]*:\/\//,n.uriSchemeRegex=/^[A-Za-z][-.+A-Za-z0-9]*:/,n.hasWordCharAfterProtocolRegex=new RegExp(":[^\\s]*?["+vx+"]"),n.ipRegex=/[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?(:[0-9]*)?\/?$/,n}(),xP=(t=new RegExp("[/?#](?:["+Pd+"\\-+&@#/%=~_()|'$*\\[\\]{}?!:,.;^\u2713]*["+Pd+"\\-+&@#/%=~_()|'$*\\[\\]{}\u2713])?"),new RegExp(["(?:","(",/(?:[A-Za-z][-.+A-Za-z0-9]{0,63}:(?![A-Za-z][-.+A-Za-z0-9]{0,63}:\/\/)(?!\d+\/?)(?:\/\/)?)/.source,GO(2),")","|","(","(//)?",/(?:www\.)/.source,GO(6),")","|","(","(//)?",GO(10)+"\\.",bx.source,"(?![-"+TP+"])",")",")","(?::[0-9]+)?","(?:"+t.source+")?"].join(""),"gi")),RP=new RegExp("["+Pd+"]"),Tx=function(n){function s(t){var o=n.call(this,t)||this;return o.stripPrefix={scheme:!0,www:!0},o.stripTrailingSlash=!0,o.decodePercentEncoding=!0,o.matcherRegex=xP,o.wordCharRegExp=RP,o.stripPrefix=t.stripPrefix,o.stripTrailingSlash=t.stripTrailingSlash,o.decodePercentEncoding=t.decodePercentEncoding,o}return(0,Z.ZT)(s,n),s.prototype.parseMatches=function(t){for(var V,o=this.matcherRegex,l=this.stripPrefix,_=this.stripTrailingSlash,C=this.decodePercentEncoding,x=this.tagBuilder,N=[],Q=function(){var le=V[0],me=V[1],ye=V[4],ke=V.index,we=V[5]||V[9],G=t.charAt(ke-1);if(!DP.isValid(le,me)||ke>0&&"@"===G||ke>0&&we&&oe.wordCharRegExp.test(G))return"continue";if(/\?$/.test(le)&&(le=le.substr(0,le.length-1)),oe.matchHasUnbalancedClosingParen(le))le=le.substr(0,le.length-1);else{var Dt=oe.matchHasInvalidCharAfterTld(le,me);Dt>-1&&(le=le.substr(0,Dt))}var bt=["http://","https://"].find(function(zt){return!!me&&-1!==me.indexOf(zt)});if(bt){var Bt=le.indexOf(bt);le=le.substr(Bt),me=me.substr(Bt),ke+=Bt}N.push(new gx({tagBuilder:x,matchedText:le,offset:ke,urlMatchType:me?"scheme":ye?"www":"tld",url:le,protocolUrlMatch:!!me,protocolRelativeMatch:!!we,stripPrefix:l,stripTrailingSlash:_,decodePercentEncoding:C}))},oe=this;null!==(V=o.exec(t));)Q();return N},s.prototype.matchHasUnbalancedClosingParen=function(t){var l,o=t.charAt(t.length-1);if(")"===o)l="(";else if("]"===o)l="[";else{if("}"!==o)return!1;l="{"}for(var _=0,C=0,x=t.length-1;C<x;C++){var N=t.charAt(C);N===l?_++:N===o&&(_=Math.max(_-1,0))}return 0===_},s.prototype.matchHasInvalidCharAfterTld=function(t,o){if(!t)return-1;var l=0;o&&(l=t.indexOf(":"),t=t.slice(l));var C=new RegExp("^((.?//)?[-."+Pd+"]*[-"+Pd+"]\\.[-"+Pd+"]+)").exec(t);return null===C?-1:(l+=C[1].length,t=t.slice(C[1].length),/^[^-.A-Za-z0-9:\/?#]/.test(t)?l:-1)},s}(_0),Cx=new RegExp("[_".concat(Pd,"]")),Mx=function(n){function s(t){var o=n.call(this,t)||this;return o.serviceName="twitter",o.serviceName=t.serviceName,o}return(0,Z.ZT)(s,n),s.prototype.parseMatches=function(t){for(var o=this.tagBuilder,l=this.serviceName,_=[],C=t.length,x=0,N=-1,V=0;x<C;){var Q=t.charAt(x);switch(V){case 0:"#"===(Ne=Q)?(V=2,N=x):yE.test(Ne)&&(V=1);break;case 1:le(Q);break;case 2:me(Q);break;case 3:ye(Q);break;default:BO(V)}x++}var Ne;return $e(),_;function le(Ne){yE.test(Ne)||(V=0)}function me(Ne){V=Cx.test(Ne)?3:yE.test(Ne)?1:0}function ye(Ne){Cx.test(Ne)||($e(),N=-1,V=yE.test(Ne)?1:0)}function $e(){if(N>-1&&x-N<=140){var Ne=t.slice(N,x),ke=new hx({tagBuilder:o,matchedText:Ne,offset:N,serviceName:l,hashtag:Ne.slice(1)});_.push(ke)}}},s}(_0),wP=["twitter","facebook","instagram","tiktok"],IP=new RegExp("".concat(/(?:(?:(?:(\+)?\d{1,3}[-\040.]?)?\(?\d{3}\)?[-\040.]?\d{3}[-\040.]?\d{4})|(?:(\+)(?:9[976]\d|8[987530]\d|6[987]\d|5[90]\d|42\d|3[875]\d|2[98654321]\d|9[8543210]|8[6421]|6[6543210]|5[87654321]|4[987654310]|3[9643210]|2[70]|7|1)[-\040.]?(?:\d[-\040.]?){6,12}\d+))([,;]+[0-9]+#?)*/.source,"|").concat(/(0([1-9]{1}-?[1-9]\d{3}|[1-9]{2}-?\d{3}|[1-9]{2}\d{1}-?\d{2}|[1-9]{2}\d{2}-?\d{1})-?\d{4}|0[789]0-?\d{4}-?\d{4}|050-?\d{4}-?\d{4})/.source),"g"),Ox=function(n){function s(){var t=null!==n&&n.apply(this,arguments)||this;return t.matcherRegex=IP,t}return(0,Z.ZT)(s,n),s.prototype.parseMatches=function(t){for(var C,o=this.matcherRegex,l=this.tagBuilder,_=[];null!==(C=o.exec(t));){var x=C[0],N=x.replace(/[^0-9,;#]/g,""),V=!(!C[1]&&!C[2]),Q=0==C.index?"":t.substr(C.index-1,1),oe=t.substr(C.index+x.length,1),le=!Q.match(/\d/)&&!oe.match(/\d/);this.testMatch(C[3])&&this.testMatch(x)&&le&&_.push(new mx({tagBuilder:l,matchedText:x,offset:C.index,number:N,plusSign:V}))}return _},s.prototype.testMatch=function(t){return yP.test(t)},s}(_0),FP=new RegExp("@[_".concat(Pd,"]{1,50}(?![_").concat(Pd,"])"),"g"),LP=new RegExp("@[_.".concat(Pd,"]{1,30}(?![_").concat(Pd,"])"),"g"),kP=new RegExp("@[-_.".concat(Pd,"]{1,50}(?![-_").concat(Pd,"])"),"g"),$P=new RegExp("@[_.".concat(Pd,"]{1,23}[_").concat(Pd,"](?![_").concat(Pd,"])"),"g"),HP=new RegExp("[^"+Pd+"]"),Ax=function(n){function s(t){var o=n.call(this,t)||this;return o.serviceName="twitter",o.matcherRegexes={twitter:FP,instagram:LP,soundcloud:kP,tiktok:$P},o.nonWordCharRegex=HP,o.serviceName=t.serviceName,o}return(0,Z.ZT)(s,n),s.prototype.parseMatches=function(t){var N,o=this.serviceName,l=this.matcherRegexes[this.serviceName],_=this.nonWordCharRegex,C=this.tagBuilder,x=[];if(!l)return x;for(;null!==(N=l.exec(t));){var V=N.index,Q=t.charAt(V-1);if(0===V||_.test(Q)){var oe=N[0].replace(/\.+$/g,""),le=oe.slice(1);x.push(new _x({tagBuilder:C,matchedText:oe,offset:V,serviceName:o,mention:le}))}}return x},s}(_0);var jm=function n(s){void 0===s&&(s={}),this.idx=void 0!==s.idx?s.idx:-1,this.type=s.type||"tag",this.name=s.name||"",this.isOpening=!!s.isOpening,this.isClosing=!!s.isClosing},UP=function(){function n(s){void 0===s&&(s={}),this.version=n.version,this.urls={},this.email=!0,this.phone=!0,this.hashtag=!1,this.mention=!1,this.newWindow=!0,this.stripPrefix={scheme:!0,www:!0},this.stripTrailingSlash=!0,this.decodePercentEncoding=!0,this.truncate={length:0,location:"end"},this.className="",this.replaceFn=null,this.context=void 0,this.sanitizeHtml=!1,this.matchers=null,this.tagBuilder=null,this.urls=this.normalizeUrlsCfg(s.urls),this.email="boolean"==typeof s.email?s.email:this.email,this.phone="boolean"==typeof s.phone?s.phone:this.phone,this.hashtag=s.hashtag||this.hashtag,this.mention=s.mention||this.mention,this.newWindow="boolean"==typeof s.newWindow?s.newWindow:this.newWindow,this.stripPrefix=this.normalizeStripPrefixCfg(s.stripPrefix),this.stripTrailingSlash="boolean"==typeof s.stripTrailingSlash?s.stripTrailingSlash:this.stripTrailingSlash,this.decodePercentEncoding="boolean"==typeof s.decodePercentEncoding?s.decodePercentEncoding:this.decodePercentEncoding,this.sanitizeHtml=s.sanitizeHtml||!1;var t=this.mention;if(!1!==t&&-1===["twitter","instagram","soundcloud","tiktok"].indexOf(t))throw new Error("invalid `mention` cfg '".concat(t,"' - see docs"));var o=this.hashtag;if(!1!==o&&-1===wP.indexOf(o))throw new Error("invalid `hashtag` cfg '".concat(o,"' - see docs"));this.truncate=this.normalizeTruncateCfg(s.truncate),this.className=s.className||this.className,this.replaceFn=s.replaceFn||this.replaceFn,this.context=s.context||this}return n.link=function(s,t){return new n(t).link(s)},n.parse=function(s,t){return new n(t).parse(s)},n.prototype.normalizeUrlsCfg=function(s){return null==s&&(s=!0),"boolean"==typeof s?{schemeMatches:s,wwwMatches:s,tldMatches:s}:{schemeMatches:"boolean"!=typeof s.schemeMatches||s.schemeMatches,wwwMatches:"boolean"!=typeof s.wwwMatches||s.wwwMatches,tldMatches:"boolean"!=typeof s.tldMatches||s.tldMatches}},n.prototype.normalizeStripPrefixCfg=function(s){return null==s&&(s=!0),"boolean"==typeof s?{scheme:s,www:s}:{scheme:"boolean"!=typeof s.scheme||s.scheme,www:"boolean"!=typeof s.www||s.www}},n.prototype.normalizeTruncateCfg=function(s){return"number"==typeof s?{length:s,location:"end"}:function vE(n,s){for(var t in s)s.hasOwnProperty(t)&&void 0===n[t]&&(n[t]=s[t]);return n}(s||{},{length:Number.POSITIVE_INFINITY,location:"end"})},n.prototype.parse=function(s){var t=this,o=["a","style","script"],l=0,_=[];return function BP(n,s){for(var t=s.onOpenTag,o=s.onCloseTag,l=s.onText,_=s.onComment,C=s.onDoctype,x=new jm,N=0,V=n.length,Q=0,oe=0,le=x;N<V;){var me=n.charAt(N);switch(Q){case 0:"<"===me&&In();break;case 1:"!"===(Wr=me)?Q=13:"/"===Wr?(Q=2,le=new jm((0,Z.pi)((0,Z.pi)({},le),{isClosing:!0}))):"<"===Wr?In():YO.test(Wr)?(Q=3,le=new jm((0,Z.pi)((0,Z.pi)({},le),{isOpening:!0}))):(Q=0,le=x);break;case 2:ke(me);break;case 3:Ne(me);break;case 4:we(me);break;case 5:G(me);break;case 6:Dt(me);break;case 7:bt(me);break;case 8:Bt(me);break;case 9:Jt(me);break;case 10:Mn(me);break;case 11:zt(me);break;case 12:xn(me);break;case 13:"--"===n.substr(N,2)?(N+=2,le=new jm((0,Z.pi)((0,Z.pi)({},le),{type:"comment"})),Q=14):"DOCTYPE"===n.substr(N,7).toUpperCase()?(N+=7,le=new jm((0,Z.pi)((0,Z.pi)({},le),{type:"doctype"})),Q=20):ur();break;case 14:zr(me);break;case 15:Hr(me);break;case 16:Vr(me);break;case 17:qr(me);break;case 18:On(me);break;case 19:Jn(me);break;case 20:Qn(me);break;default:BO(Q)}N++}var Wr;function Ne(Wr){Bv.test(Wr)?(le=new jm((0,Z.pi)((0,Z.pi)({},le),{name:Di()})),Q=4):"<"===Wr?In():"/"===Wr?(le=new jm((0,Z.pi)((0,Z.pi)({},le),{name:Di()})),Q=12):">"===Wr?(le=new jm((0,Z.pi)((0,Z.pi)({},le),{name:Di()})),Yr()):!YO.test(Wr)&&!vP.test(Wr)&&":"!==Wr&&ur()}function ke(Wr){">"===Wr?ur():YO.test(Wr)?Q=3:ur()}function we(Wr){Bv.test(Wr)||("/"===Wr?Q=12:">"===Wr?Yr():"<"===Wr?In():"="===Wr||jO.test(Wr)||EP.test(Wr)?ur():Q=5)}function G(Wr){Bv.test(Wr)?Q=6:"/"===Wr?Q=12:"="===Wr?Q=7:">"===Wr?Yr():"<"===Wr?In():jO.test(Wr)&&ur()}function Dt(Wr){Bv.test(Wr)||("/"===Wr?Q=12:"="===Wr?Q=7:">"===Wr?Yr():"<"===Wr?In():jO.test(Wr)?ur():Q=5)}function bt(Wr){Bv.test(Wr)||('"'===Wr?Q=8:"'"===Wr?Q=9:/[>=`]/.test(Wr)?ur():"<"===Wr?In():Q=10)}function Bt(Wr){'"'===Wr&&(Q=11)}function Jt(Wr){"'"===Wr&&(Q=11)}function Mn(Wr){Bv.test(Wr)?Q=4:">"===Wr?Yr():"<"===Wr&&In()}function zt(Wr){Bv.test(Wr)?Q=4:"/"===Wr?Q=12:">"===Wr?Yr():"<"===Wr?In():(Q=4,function ji(){N--}())}function xn(Wr){">"===Wr?(le=new jm((0,Z.pi)((0,Z.pi)({},le),{isClosing:!0})),Yr()):Q=4}function zr(Wr){"-"===Wr?Q=15:">"===Wr?ur():Q=16}function Hr(Wr){"-"===Wr?Q=18:">"===Wr?ur():Q=16}function Vr(Wr){"-"===Wr&&(Q=17)}function qr(Wr){Q="-"===Wr?18:16}function On(Wr){">"===Wr?Yr():"!"===Wr?Q=19:"-"===Wr||(Q=16)}function Jn(Wr){"-"===Wr?Q=17:">"===Wr?Yr():Q=16}function Qn(Wr){">"===Wr?Yr():"<"===Wr&&In()}function ur(){Q=0,le=x}function In(){Q=1,le=new jm({idx:N})}function Yr(){var Wr=n.slice(oe,le.idx);Wr&&l(Wr,oe),"comment"===le.type?_(le.idx):"doctype"===le.type?C(le.idx):(le.isOpening&&t(le.name,le.idx),le.isClosing&&o(le.name,le.idx)),ur(),oe=N+1}function Di(){return n.slice(le.idx+(le.isClosing?2:1),N).toLowerCase()}oe<N&&function Qi(){var Wr=n.slice(oe,N);l(Wr,oe),oe=N+1}()}(s,{onOpenTag:function(C){o.indexOf(C)>=0&&l++},onText:function(C,x){if(0===l){var V=function hP(n,s){if(!s.global)throw new Error("`splitRegex` must have the 'g' flag set");for(var l,t=[],o=0;l=s.exec(n);)t.push(n.substring(o,l.index)),t.push(l[0]),o=l.index+l[0].length;return t.push(n.substring(o)),t}(C,/(&nbsp;|&#160;|&lt;|&#60;|&gt;|&#62;|&quot;|&#34;|&#39;)/gi),Q=x;V.forEach(function(oe,le){if(le%2==0){var me=t.parseText(oe,Q);_.push.apply(_,me)}Q+=oe.length})}},onCloseTag:function(C){o.indexOf(C)>=0&&(l=Math.max(l-1,0))},onComment:function(C){},onDoctype:function(C){}}),_=this.compactMatches(_),_=this.removeUnwantedMatches(_)},n.prototype.compactMatches=function(s){s.sort(function(N,V){return N.getOffset()-V.getOffset()});for(var t=0;t<s.length-1;){var o=s[t],l=o.getOffset(),_=o.getMatchedText().length,C=l+_;if(t+1<s.length){if(s[t+1].getOffset()===l){var x=s[t+1].getMatchedText().length>_?t:t+1;s.splice(x,1);continue}if(s[t+1].getOffset()<C){s.splice(t+1,1);continue}}t++}return s},n.prototype.removeUnwantedMatches=function(s){return this.hashtag||Hv(s,function(t){return"hashtag"===t.getType()}),this.email||Hv(s,function(t){return"email"===t.getType()}),this.phone||Hv(s,function(t){return"phone"===t.getType()}),this.mention||Hv(s,function(t){return"mention"===t.getType()}),this.urls.schemeMatches||Hv(s,function(t){return"url"===t.getType()&&"scheme"===t.getUrlMatchType()}),this.urls.wwwMatches||Hv(s,function(t){return"url"===t.getType()&&"www"===t.getUrlMatchType()}),this.urls.tldMatches||Hv(s,function(t){return"url"===t.getType()&&"tld"===t.getUrlMatchType()}),s},n.prototype.parseText=function(s,t){void 0===t&&(t=0),t=t||0;for(var o=this.getMatchers(),l=[],_=0,C=o.length;_<C;_++){for(var x=o[_].parseMatches(s),N=0,V=x.length;N<V;N++)x[N].setOffset(t+x[N].getOffset());l.push.apply(l,x)}return l},n.prototype.link=function(s){if(!s)return"";this.sanitizeHtml&&(s=s.replace(/</g,"&lt;").replace(/>/g,"&gt;"));for(var t=this.parse(s),o=[],l=0,_=0,C=t.length;_<C;_++){var x=t[_];o.push(s.substring(l,x.getOffset())),o.push(this.createMatchReturnVal(x)),l=x.getOffset()+x.getMatchedText().length}return o.push(s.substring(l)),o.join("")},n.prototype.createMatchReturnVal=function(s){var t;return this.replaceFn&&(t=this.replaceFn.call(this.context,s)),"string"==typeof t?t:!1===t?s.getMatchedText():t instanceof UO?t.toAnchorString():s.buildTag().toAnchorString()},n.prototype.getMatchers=function(){if(this.matchers)return this.matchers;var s=this.getTagBuilder(),t=[new Mx({tagBuilder:s,serviceName:this.hashtag}),new Sx({tagBuilder:s}),new Ox({tagBuilder:s}),new Ax({tagBuilder:s,serviceName:this.mention}),new Tx({tagBuilder:s,stripPrefix:this.stripPrefix,stripTrailingSlash:this.stripTrailingSlash,decodePercentEncoding:this.decodePercentEncoding})];return this.matchers=t},n.prototype.getTagBuilder=function(){var s=this.tagBuilder;return s||(s=this.tagBuilder=new fx({newWindow:this.newWindow,truncate:this.truncate,className:this.className})),s},n.version="3.16.2",n.AnchorTagBuilder=fx,n.HtmlTag=UO,n.matcher={Email:Sx,Hashtag:Mx,Matcher:_0,Mention:Ax,Phone:Ox,Url:Tx},n.match={Email:px,Hashtag:hx,Match:h0,Mention:_x,Phone:mx,Url:gx},n}();const YP=UP;var jP=/www|@|\:\/\//;function GP(n){return/^<a[>\s]/i.test(n)}function VP(n){return/^<\/a\s*>/i.test(n)}function ZP(){var n=[],s=new YP({stripPrefix:!1,url:!0,email:!0,replaceFn:function(t){switch(t.getType()){case"url":n.push({text:t.matchedText,url:t.getUrl()});break;case"email":n.push({text:t.matchedText,url:"mailto:"+t.getEmail().replace(/^mailto:/i,"")})}return!1}});return{links:n,autolinker:s}}function zP(n){var s,t,o,l,_,C,x,N,V,Q,oe,ye,$e,le=n.tokens,me=null;for(t=0,o=le.length;t<o;t++)if("inline"===le[t].type)for(oe=0,s=(l=le[t].children).length-1;s>=0;s--)if("link_close"!==(_=l[s]).type){if("htmltag"===_.type&&(GP(_.content)&&oe>0&&oe--,VP(_.content)&&oe++),!(oe>0)&&"text"===_.type&&jP.test(_.content)){if(me||(ye=(me=ZP()).links,$e=me.autolinker),C=_.content,ye.length=0,$e.link(C),!ye.length)continue;for(x=[],Q=_.level,N=0;N<ye.length;N++)!n.inline.validateLink(ye[N].url)||((V=C.indexOf(ye[N].text))&&x.push({type:"text",content:C.slice(0,V),level:Q}),x.push({type:"link_open",href:ye[N].url,title:"",level:Q++}),x.push({type:"text",content:ye[N].text,level:Q}),x.push({type:"link_close",level:--Q}),C=C.slice(V+ye[N].text.length));C.length&&x.push({type:"text",content:C,level:Q}),le[t].children=l=[].concat(l.slice(0,s),x,l.slice(s+1))}}else for(s--;l[s].level!==_.level&&"link_open"!==l[s].type;)s--}function WP(n){n.core.ruler.push("linkify",zP)}var JP=i(23358),QP=i.n(JP),XP=i(1653),KP=i.n(XP),qP=i(86101),eN=i.n(qP),VO=i(64975);function Dx(n){if(VO(n))return n}var Uv=i(63380),ZO=i(66627),xx=i(8225);function Rx(n){if(void 0!==Uv&&null!=ZO(n)||null!=n["@@iterator"])return xx(n)}var tN=i(19621);function zO(n,s){(null==s||s>n.length)&&(s=n.length);for(var t=0,o=new Array(s);t<s;t++)o[t]=n[t];return o}function zT(n,s){var t;if(n){if("string"==typeof n)return zO(n,s);var o=tN(t=Object.prototype.toString.call(n)).call(t,8,-1);if("Object"===o&&n.constructor&&(o=n.constructor.name),"Map"===o||"Set"===o)return xx(n);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return zO(n,s)}}function wx(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function nN(n){return Dx(n)||Rx(n)||zT(n)||wx()}var rN=i(53757),iN=i.n(rN),oN=i(48129),sN=i.n(oN),aN=i(31507),lN=i.n(aN),uN=i(17346),cN=i.n(uN),dN=i(12232),fN=i.n(dN),Px=i(69138);function Nx(n,s,t,o,l,_,C){try{var x=n[_](C),N=x.value}catch(V){return void t(V)}x.done?s(N):Px.resolve(N).then(o,l)}function pN(n){return function(){var s=this,t=arguments;return new Px(function(o,l){var _=n.apply(s,t);function C(N){Nx(_,o,l,C,x,"next",N)}function x(N){Nx(_,o,l,C,x,"throw",N)}C(void 0)})}}var hN=i(33950),_N=i.n(hN),mN=i(86413),gN=i.n(mN),vN=i(14226),yN=i.n(vN),EN=i(64871),bN=i.n(EN),SN=i(41776),TN=i.n(SN),CN=i(12666),MN=i.n(CN);function Ix(n,s,t,o,l,_,C){try{var x=n[_](C),N=x.value}catch(V){return void t(V)}x.done?s(N):Promise.resolve(N).then(o,l)}function K_(n){return function(){var s=this,t=arguments;return new Promise(function(o,l){var _=n.apply(s,t);function C(N){Ix(_,o,l,C,x,"next",N)}function x(N){Ix(_,o,l,C,x,"throw",N)}C(void 0)})}}var Fx=i(22714),WT=i(23591),ON=i(14306),WO=i(45862),Lx=i(6379),kx=i(51134),AN=i(70891),EE=i(77576),DN=i(66342);function Yv(n){return(Yv="function"==typeof Uv&&"symbol"==typeof DN?function(s){return typeof s}:function(s){return s&&"function"==typeof Uv&&s.constructor===Uv&&s!==Uv.prototype?"symbol":typeof s})(n)}var xN=i(71950);function $x(n){var s=function RN(n,s){if("object"!==Yv(n)||null===n)return n;var t=n[xN];if(void 0!==t){var o=t.call(n,s||"default");if("object"!==Yv(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===s?String:Number)(n)}(n,"string");return"symbol"===Yv(s)?s:String(s)}function Hx(n,s,t){return(s=$x(s))in n?EE(n,s,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[s]=t,n}function Bx(n,s){var t=Fx(n);if(WT){var o=WT(n);s&&(o=ON(o).call(o,function(l){return WO(n,l).enumerable})),t.push.apply(t,o)}return t}function kc(n){for(var s=1;s<arguments.length;s++){var t,o,l=null!=arguments[s]?arguments[s]:{};s%2?Lx(t=Bx(Object(l),!0)).call(t,function(_){Hx(n,_,l[_])}):kx?AN(n,kx(l)):Lx(o=Bx(Object(l))).call(o,function(_){EE(n,_,WO(l,_))})}return n}const Ux="application/json, application/yaml";function Yx(n){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{requestInterceptor:t,responseInterceptor:o}=s,l=n.withCredentials?"include":"same-origin";return _=>n({url:_,loadSpec:!0,requestInterceptor:t,responseInterceptor:o,headers:{Accept:Ux},credentials:l}).then(C=>C.body)}i(71577);var wN=i(59009),JO=i.n(wN);function jx(n){return null==n}var ip={isNothing:jx,isObject:function PN(n){return"object"==typeof n&&null!==n},toArray:function NN(n){return Array.isArray(n)?n:jx(n)?[]:[n]},repeat:function FN(n,s){var o,t="";for(o=0;o<s;o+=1)t+=n;return t},isNegativeZero:function LN(n){return 0===n&&Number.NEGATIVE_INFINITY===1/n},extend:function IN(n,s){var t,o,l,_;if(s)for(t=0,o=(_=Object.keys(s)).length;t<o;t+=1)n[l=_[t]]=s[l];return n}};function Gx(n,s){var t="",o=n.reason||"(unknown reason)";return n.mark?(n.mark.name&&(t+='in "'+n.mark.name+'" '),t+="("+(n.mark.line+1)+":"+(n.mark.column+1)+")",!s&&n.mark.snippet&&(t+="\n\n"+n.mark.snippet),o+" "+t):o}function bE(n,s){Error.call(this),this.name="YAMLException",this.reason=n,this.mark=s,this.message=Gx(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||""}(bE.prototype=Object.create(Error.prototype)).constructor=bE,bE.prototype.toString=function(s){return this.name+": "+Gx(this,s)};var Ih=bE;function QO(n,s,t,o,l){var _="",C="",x=Math.floor(l/2)-1;return o-s>x&&(s=o-x+(_=" ... ").length),t-o>x&&(t=o+x-(C=" ...").length),{str:_+n.slice(s,t).replace(/\t/g,"\u2192")+C,pos:o-s+_.length}}function XO(n,s){return ip.repeat(" ",s-n.length)+n}var VN=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],ZN=["scalar","sequence","mapping"],Np=function WN(n,s){if(s=s||{},Object.keys(s).forEach(function(t){if(-1===VN.indexOf(t))throw new Ih('Unknown option "'+t+'" is met in definition of "'+n+'" YAML type.')}),this.options=s,this.tag=n,this.kind=s.kind||null,this.resolve=s.resolve||function(){return!0},this.construct=s.construct||function(t){return t},this.instanceOf=s.instanceOf||null,this.predicate=s.predicate||null,this.represent=s.represent||null,this.representName=s.representName||null,this.defaultStyle=s.defaultStyle||null,this.multi=s.multi||!1,this.styleAliases=function zN(n){var s={};return null!==n&&Object.keys(n).forEach(function(t){n[t].forEach(function(o){s[String(o)]=t})}),s}(s.styleAliases||null),-1===ZN.indexOf(this.kind))throw new Ih('Unknown kind "'+this.kind+'" is specified for "'+n+'" YAML type.')};function Vx(n,s){var t=[];return n[s].forEach(function(o){var l=t.length;t.forEach(function(_,C){_.tag===o.tag&&_.kind===o.kind&&_.multi===o.multi&&(l=C)}),t[l]=o}),t}function KO(n){return this.extend(n)}KO.prototype.extend=function(s){var t=[],o=[];if(s instanceof Np)o.push(s);else if(Array.isArray(s))o=o.concat(s);else{if(!s||!Array.isArray(s.implicit)&&!Array.isArray(s.explicit))throw new Ih("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");s.implicit&&(t=t.concat(s.implicit)),s.explicit&&(o=o.concat(s.explicit))}t.forEach(function(_){if(!(_ instanceof Np))throw new Ih("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(_.loadKind&&"scalar"!==_.loadKind)throw new Ih("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(_.multi)throw new Ih("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),o.forEach(function(_){if(!(_ instanceof Np))throw new Ih("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var l=Object.create(KO.prototype);return l.implicit=(this.implicit||[]).concat(t),l.explicit=(this.explicit||[]).concat(o),l.compiledImplicit=Vx(l,"implicit"),l.compiledExplicit=Vx(l,"explicit"),l.compiledTypeMap=function JN(){var s,t,n={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function o(l){l.multi?(n.multi[l.kind].push(l),n.multi.fallback.push(l)):n[l.kind][l.tag]=n.fallback[l.tag]=l}for(s=0,t=arguments.length;s<t;s+=1)arguments[s].forEach(o);return n}(l.compiledImplicit,l.compiledExplicit),l};var Zx=KO,zx=new Np("tag:yaml.org,2002:str",{kind:"scalar",construct:function(n){return null!==n?n:""}}),Wx=new Np("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(n){return null!==n?n:[]}}),Jx=new Np("tag:yaml.org,2002:map",{kind:"mapping",construct:function(n){return null!==n?n:{}}}),Qx=new Zx({explicit:[zx,Wx,Jx]}),Xx=new Np("tag:yaml.org,2002:null",{kind:"scalar",resolve:function QN(n){if(null===n)return!0;var s=n.length;return 1===s&&"~"===n||4===s&&("null"===n||"Null"===n||"NULL"===n)},construct:function XN(){return null},predicate:function KN(n){return null===n},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"}),Kx=new Np("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function qN(n){if(null===n)return!1;var s=n.length;return 4===s&&("true"===n||"True"===n||"TRUE"===n)||5===s&&("false"===n||"False"===n||"FALSE"===n)},construct:function e6(n){return"true"===n||"True"===n||"TRUE"===n},predicate:function t6(n){return"[object Boolean]"===Object.prototype.toString.call(n)},represent:{lowercase:function(n){return n?"true":"false"},uppercase:function(n){return n?"TRUE":"FALSE"},camelcase:function(n){return n?"True":"False"}},defaultStyle:"lowercase"});function n6(n){return 48<=n&&n<=57||65<=n&&n<=70||97<=n&&n<=102}function r6(n){return 48<=n&&n<=55}function i6(n){return 48<=n&&n<=57}var qx=new Np("tag:yaml.org,2002:int",{kind:"scalar",resolve:function o6(n){if(null===n)return!1;var l,s=n.length,t=0,o=!1;if(!s)return!1;if(("-"===(l=n[t])||"+"===l)&&(l=n[++t]),"0"===l){if(t+1===s)return!0;if("b"===(l=n[++t])){for(t++;t<s;t++)if("_"!==(l=n[t])){if("0"!==l&&"1"!==l)return!1;o=!0}return o&&"_"!==l}if("x"===l){for(t++;t<s;t++)if("_"!==(l=n[t])){if(!n6(n.charCodeAt(t)))return!1;o=!0}return o&&"_"!==l}if("o"===l){for(t++;t<s;t++)if("_"!==(l=n[t])){if(!r6(n.charCodeAt(t)))return!1;o=!0}return o&&"_"!==l}}if("_"===l)return!1;for(;t<s;t++)if("_"!==(l=n[t])){if(!i6(n.charCodeAt(t)))return!1;o=!0}return!(!o||"_"===l)},construct:function s6(n){var o,s=n,t=1;if(-1!==s.indexOf("_")&&(s=s.replace(/_/g,"")),("-"===(o=s[0])||"+"===o)&&("-"===o&&(t=-1),o=(s=s.slice(1))[0]),"0"===s)return 0;if("0"===o){if("b"===s[1])return t*parseInt(s.slice(2),2);if("x"===s[1])return t*parseInt(s.slice(2),16);if("o"===s[1])return t*parseInt(s.slice(2),8)}return t*parseInt(s,10)},predicate:function a6(n){return"[object Number]"===Object.prototype.toString.call(n)&&n%1==0&&!ip.isNegativeZero(n)},represent:{binary:function(n){return n>=0?"0b"+n.toString(2):"-0b"+n.toString(2).slice(1)},octal:function(n){return n>=0?"0o"+n.toString(8):"-0o"+n.toString(8).slice(1)},decimal:function(n){return n.toString(10)},hexadecimal:function(n){return n>=0?"0x"+n.toString(16).toUpperCase():"-0x"+n.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),l6=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),d6=/^[-+]?[0-9]+e/,eR=new Np("tag:yaml.org,2002:float",{kind:"scalar",resolve:function u6(n){return!(null===n||!l6.test(n)||"_"===n[n.length-1])},construct:function c6(n){var s,t;return t="-"===(s=n.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(s[0])>=0&&(s=s.slice(1)),".inf"===s?1===t?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===s?NaN:t*parseFloat(s,10)},predicate:function p6(n){return"[object Number]"===Object.prototype.toString.call(n)&&(n%1!=0||ip.isNegativeZero(n))},represent:function f6(n,s){var t;if(isNaN(n))switch(s){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===n)switch(s){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===n)switch(s){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(ip.isNegativeZero(n))return"-0.0";return t=n.toString(10),d6.test(t)?t.replace("e",".e"):t},defaultStyle:"lowercase"}),tR=Qx.extend({implicit:[Xx,Kx,qx,eR]}),nR=tR,rR=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),iR=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"),oR=new Np("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function h6(n){return null!==n&&(null!==rR.exec(n)||null!==iR.exec(n))},construct:function _6(n){var s,t,o,l,_,C,x,le,N=0,V=null;if(null===(s=rR.exec(n))&&(s=iR.exec(n)),null===s)throw new Error("Date resolve error");if(t=+s[1],o=+s[2]-1,l=+s[3],!s[4])return new Date(Date.UTC(t,o,l));if(_=+s[4],C=+s[5],x=+s[6],s[7]){for(N=s[7].slice(0,3);N.length<3;)N+="0";N=+N}return s[9]&&(V=6e4*(60*+s[10]+ +(s[11]||0)),"-"===s[9]&&(V=-V)),le=new Date(Date.UTC(t,o,l,_,C,x,N)),V&&le.setTime(le.getTime()-V),le},instanceOf:Date,represent:function m6(n){return n.toISOString()}}),sR=new Np("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function g6(n){return"<<"===n||null===n}}),qO="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r",aR=new Np("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function v6(n){if(null===n)return!1;var s,t,o=0,l=n.length,_=qO;for(t=0;t<l;t++)if(!((s=_.indexOf(n.charAt(t)))>64)){if(s<0)return!1;o+=6}return o%8==0},construct:function y6(n){var s,t,o=n.replace(/[\r\n=]/g,""),l=o.length,_=qO,C=0,x=[];for(s=0;s<l;s++)s%4==0&&s&&(x.push(C>>16&255),x.push(C>>8&255),x.push(255&C)),C=C<<6|_.indexOf(o.charAt(s));return 0==(t=l%4*6)?(x.push(C>>16&255),x.push(C>>8&255),x.push(255&C)):18===t?(x.push(C>>10&255),x.push(C>>2&255)):12===t&&x.push(C>>4&255),new Uint8Array(x)},predicate:function b6(n){return"[object Uint8Array]"===Object.prototype.toString.call(n)},represent:function E6(n){var o,l,s="",t=0,_=n.length,C=qO;for(o=0;o<_;o++)o%3==0&&o&&(s+=C[t>>18&63],s+=C[t>>12&63],s+=C[t>>6&63],s+=C[63&t]),t=(t<<8)+n[o];return 0==(l=_%3)?(s+=C[t>>18&63],s+=C[t>>12&63],s+=C[t>>6&63],s+=C[63&t]):2===l?(s+=C[t>>10&63],s+=C[t>>4&63],s+=C[t<<2&63],s+=C[64]):1===l&&(s+=C[t>>2&63],s+=C[t<<4&63],s+=C[64],s+=C[64]),s}}),S6=Object.prototype.hasOwnProperty,T6=Object.prototype.toString,lR=new Np("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function C6(n){if(null===n)return!0;var t,o,l,_,C,s=[],x=n;for(t=0,o=x.length;t<o;t+=1){if(C=!1,"[object Object]"!==T6.call(l=x[t]))return!1;for(_ in l)if(S6.call(l,_)){if(C)return!1;C=!0}if(!C)return!1;if(-1!==s.indexOf(_))return!1;s.push(_)}return!0},construct:function M6(n){return null!==n?n:[]}}),O6=Object.prototype.toString,uR=new Np("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function A6(n){if(null===n)return!0;var s,t,o,l,_,C=n;for(_=new Array(C.length),s=0,t=C.length;s<t;s+=1){if("[object Object]"!==O6.call(o=C[s])||1!==(l=Object.keys(o)).length)return!1;_[s]=[l[0],o[l[0]]]}return!0},construct:function D6(n){if(null===n)return[];var s,t,o,l,_,C=n;for(_=new Array(C.length),s=0,t=C.length;s<t;s+=1)o=C[s],l=Object.keys(o),_[s]=[l[0],o[l[0]]];return _}}),x6=Object.prototype.hasOwnProperty,cR=new Np("tag:yaml.org,2002:set",{kind:"mapping",resolve:function R6(n){if(null===n)return!0;var s,t=n;for(s in t)if(x6.call(t,s)&&null!==t[s])return!1;return!0},construct:function w6(n){return null!==n?n:{}}}),eA=nR.extend({implicit:[oR,sR],explicit:[aR,lR,uR,cR]}),Jg=Object.prototype.hasOwnProperty,N6=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,I6=/[\x85\u2028\u2029]/,F6=/[,\[\]\{\}]/,hR=/^(?:!|!!|![a-z\-]+!)$/i,_R=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function mR(n){return Object.prototype.toString.call(n)}function Gm(n){return 10===n||13===n}function jv(n){return 9===n||32===n}function d_(n){return 9===n||32===n||10===n||13===n}function m0(n){return 44===n||91===n||93===n||123===n||125===n}function L6(n){var s;return 48<=n&&n<=57?n-48:97<=(s=32|n)&&s<=102?s-97+10:-1}function k6(n){return 120===n?2:117===n?4:85===n?8:0}function $6(n){return 48<=n&&n<=57?n-48:-1}function gR(n){return 48===n?"\0":97===n?"\x07":98===n?"\b":116===n||9===n?"\t":110===n?"\n":118===n?"\v":102===n?"\f":114===n?"\r":101===n?"\x1b":32===n?" ":34===n?'"':47===n?"/":92===n?"\\":78===n?"\x85":95===n?"\xa0":76===n?"\u2028":80===n?"\u2029":""}function H6(n){return n<=65535?String.fromCharCode(n):String.fromCharCode(55296+(n-65536>>10),56320+(n-65536&1023))}for(var vR=new Array(256),yR=new Array(256),g0=0;g0<256;g0++)vR[g0]=gR(g0)?1:0,yR[g0]=gR(g0);function B6(n,s){this.input=n,this.filename=s.filename||null,this.schema=s.schema||eA,this.onWarning=s.onWarning||null,this.legacy=s.legacy||!1,this.json=s.json||!1,this.listener=s.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=n.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function ER(n,s){var t={name:n.filename,buffer:n.input.slice(0,-1),position:n.position,line:n.line,column:n.position-n.lineStart};return t.snippet=function jN(n,s){if(s=Object.create(s||null),!n.buffer)return null;s.maxLength||(s.maxLength=79),"number"!=typeof s.indent&&(s.indent=1),"number"!=typeof s.linesBefore&&(s.linesBefore=3),"number"!=typeof s.linesAfter&&(s.linesAfter=2);for(var _,t=/\r?\n|\r|\0/g,o=[0],l=[],C=-1;_=t.exec(n.buffer);)l.push(_.index),o.push(_.index+_[0].length),n.position<=_.index&&C<0&&(C=o.length-2);C<0&&(C=o.length-1);var N,V,x="",Q=Math.min(n.line+s.linesAfter,l.length).toString().length,oe=s.maxLength-(s.indent+Q+3);for(N=1;N<=s.linesBefore&&!(C-N<0);N++)V=QO(n.buffer,o[C-N],l[C-N],n.position-(o[C]-o[C-N]),oe),x=ip.repeat(" ",s.indent)+XO((n.line-N+1).toString(),Q)+" | "+V.str+"\n"+x;for(V=QO(n.buffer,o[C],l[C],n.position,oe),x+=ip.repeat(" ",s.indent)+XO((n.line+1).toString(),Q)+" | "+V.str+"\n",x+=ip.repeat("-",s.indent+Q+3+V.pos)+"^\n",N=1;N<=s.linesAfter&&!(C+N>=l.length);N++)V=QO(n.buffer,o[C+N],l[C+N],n.position-(o[C]-o[C+N]),oe),x+=ip.repeat(" ",s.indent)+XO((n.line+N+1).toString(),Q)+" | "+V.str+"\n";return x.replace(/\n$/,"")}(t),new Ih(s,t)}function Ia(n,s){throw ER(n,s)}function XT(n,s){n.onWarning&&n.onWarning.call(null,ER(n,s))}var bR={YAML:function(s,t,o){var l,_,C;null!==s.version&&Ia(s,"duplication of %YAML directive"),1!==o.length&&Ia(s,"YAML directive accepts exactly one argument"),null===(l=/^([0-9]+)\.([0-9]+)$/.exec(o[0]))&&Ia(s,"ill-formed argument of the YAML directive"),_=parseInt(l[1],10),C=parseInt(l[2],10),1!==_&&Ia(s,"unacceptable YAML version of the document"),s.version=o[0],s.checkLineBreaks=C<2,1!==C&&2!==C&&XT(s,"unsupported YAML version of the document")},TAG:function(s,t,o){var l,_;2!==o.length&&Ia(s,"TAG directive accepts exactly two arguments"),_=o[1],hR.test(l=o[0])||Ia(s,"ill-formed tag handle (first argument) of the TAG directive"),Jg.call(s.tagMap,l)&&Ia(s,'there is a previously declared suffix for "'+l+'" tag handle'),_R.test(_)||Ia(s,"ill-formed tag prefix (second argument) of the TAG directive");try{_=decodeURIComponent(_)}catch(C){Ia(s,"tag prefix is malformed: "+_)}s.tagMap[l]=_}};function Qg(n,s,t,o){var l,_,C,x;if(s<t){if(x=n.input.slice(s,t),o)for(l=0,_=x.length;l<_;l+=1)9===(C=x.charCodeAt(l))||32<=C&&C<=1114111||Ia(n,"expected valid JSON character");else N6.test(x)&&Ia(n,"the stream contains non-printable characters");n.result+=x}}function SR(n,s,t,o){var l,_,C,x;for(ip.isObject(t)||Ia(n,"cannot merge mappings; the provided source object is unacceptable"),C=0,x=(l=Object.keys(t)).length;C<x;C+=1)Jg.call(s,_=l[C])||(s[_]=t[_],o[_]=!0)}function v0(n,s,t,o,l,_,C,x,N){var V,Q;if(Array.isArray(l))for(V=0,Q=(l=Array.prototype.slice.call(l)).length;V<Q;V+=1)Array.isArray(l[V])&&Ia(n,"nested arrays are not supported inside keys"),"object"==typeof l&&"[object Object]"===mR(l[V])&&(l[V]="[object Object]");if("object"==typeof l&&"[object Object]"===mR(l)&&(l="[object Object]"),l=String(l),null===s&&(s={}),"tag:yaml.org,2002:merge"===o)if(Array.isArray(_))for(V=0,Q=_.length;V<Q;V+=1)SR(n,s,_[V],t);else SR(n,s,_,t);else!n.json&&!Jg.call(t,l)&&Jg.call(s,l)&&(n.line=C||n.line,n.lineStart=x||n.lineStart,n.position=N||n.position,Ia(n,"duplicated mapping key")),"__proto__"===l?Object.defineProperty(s,l,{configurable:!0,enumerable:!0,writable:!0,value:_}):s[l]=_,delete t[l];return s}function nA(n){var s;10===(s=n.input.charCodeAt(n.position))?n.position++:13===s?(n.position++,10===n.input.charCodeAt(n.position)&&n.position++):Ia(n,"a line break is expected"),n.line+=1,n.lineStart=n.position,n.firstTabInLine=-1}function jf(n,s,t){for(var o=0,l=n.input.charCodeAt(n.position);0!==l;){for(;jv(l);)9===l&&-1===n.firstTabInLine&&(n.firstTabInLine=n.position),l=n.input.charCodeAt(++n.position);if(s&&35===l)do{l=n.input.charCodeAt(++n.position)}while(10!==l&&13!==l&&0!==l);if(!Gm(l))break;for(nA(n),l=n.input.charCodeAt(n.position),o++,n.lineIndent=0;32===l;)n.lineIndent++,l=n.input.charCodeAt(++n.position)}return-1!==t&&0!==o&&n.lineIndent<t&&XT(n,"deficient indentation"),o}function KT(n){var t,s=n.position;return!(45!==(t=n.input.charCodeAt(s))&&46!==t||t!==n.input.charCodeAt(s+1)||t!==n.input.charCodeAt(s+2)||(s+=3,t=n.input.charCodeAt(s),0!==t&&!d_(t)))}function rA(n,s){1===s?n.result+=" ":s>1&&(n.result+=ip.repeat("\n",s-1))}function TR(n,s){var t,N,o=n.tag,l=n.anchor,_=[],x=!1;if(-1!==n.firstTabInLine)return!1;for(null!==n.anchor&&(n.anchorMap[n.anchor]=_),N=n.input.charCodeAt(n.position);0!==N&&(-1!==n.firstTabInLine&&(n.position=n.firstTabInLine,Ia(n,"tab characters must not be used in indentation")),45===N&&d_(n.input.charCodeAt(n.position+1)));)if(x=!0,n.position++,jf(n,!0,-1)&&n.lineIndent<=s)_.push(null),N=n.input.charCodeAt(n.position);else if(t=n.line,y0(n,s,3,!1,!0),_.push(n.result),jf(n,!0,-1),N=n.input.charCodeAt(n.position),(n.line===t||n.lineIndent>s)&&0!==N)Ia(n,"bad indentation of a sequence entry");else if(n.lineIndent<s)break;return!!x&&(n.tag=o,n.anchor=l,n.kind="sequence",n.result=_,!0)}function z6(n){var s,l,_,C,t=!1,o=!1;if(33!==(C=n.input.charCodeAt(n.position)))return!1;if(null!==n.tag&&Ia(n,"duplication of a tag property"),60===(C=n.input.charCodeAt(++n.position))?(t=!0,C=n.input.charCodeAt(++n.position)):33===C?(o=!0,l="!!",C=n.input.charCodeAt(++n.position)):l="!",s=n.position,t){do{C=n.input.charCodeAt(++n.position)}while(0!==C&&62!==C);n.position<n.length?(_=n.input.slice(s,n.position),C=n.input.charCodeAt(++n.position)):Ia(n,"unexpected end of the stream within a verbatim tag")}else{for(;0!==C&&!d_(C);)33===C&&(o?Ia(n,"tag suffix cannot contain exclamation marks"):(l=n.input.slice(s-1,n.position+1),hR.test(l)||Ia(n,"named tag handle cannot contain such characters"),o=!0,s=n.position+1)),C=n.input.charCodeAt(++n.position);_=n.input.slice(s,n.position),F6.test(_)&&Ia(n,"tag suffix cannot contain flow indicator characters")}_&&!_R.test(_)&&Ia(n,"tag name cannot contain such characters: "+_);try{_=decodeURIComponent(_)}catch(x){Ia(n,"tag name is malformed: "+_)}return t?n.tag=_:Jg.call(n.tagMap,l)?n.tag=n.tagMap[l]+_:"!"===l?n.tag="!"+_:"!!"===l?n.tag="tag:yaml.org,2002:"+_:Ia(n,'undeclared tag handle "'+l+'"'),!0}function W6(n){var s,t;if(38!==(t=n.input.charCodeAt(n.position)))return!1;for(null!==n.anchor&&Ia(n,"duplication of an anchor property"),t=n.input.charCodeAt(++n.position),s=n.position;0!==t&&!d_(t)&&!m0(t);)t=n.input.charCodeAt(++n.position);return n.position===s&&Ia(n,"name of an anchor node must contain at least one character"),n.anchor=n.input.slice(s,n.position),!0}function y0(n,s,t,o,l){var _,C,x,oe,le,me,ye,$e,Ne,N=1,V=!1,Q=!1;if(null!==n.listener&&n.listener("open",n),n.tag=null,n.anchor=null,n.kind=null,n.result=null,_=C=x=4===t||3===t,o&&jf(n,!0,-1)&&(V=!0,n.lineIndent>s?N=1:n.lineIndent===s?N=0:n.lineIndent<s&&(N=-1)),1===N)for(;z6(n)||W6(n);)jf(n,!0,-1)?(V=!0,x=_,n.lineIndent>s?N=1:n.lineIndent===s?N=0:n.lineIndent<s&&(N=-1)):x=!1;if(x&&(x=V||l),(1===N||4===t)&&($e=1===t||2===t?s:s+1,Ne=n.position-n.lineStart,1===N?x&&(TR(n,Ne)||function Z6(n,s,t){var o,l,_,C,x,N,we,V=n.tag,Q=n.anchor,oe={},le=Object.create(null),me=null,ye=null,$e=null,Ne=!1,ke=!1;if(-1!==n.firstTabInLine)return!1;for(null!==n.anchor&&(n.anchorMap[n.anchor]=oe),we=n.input.charCodeAt(n.position);0!==we;){if(!Ne&&-1!==n.firstTabInLine&&(n.position=n.firstTabInLine,Ia(n,"tab characters must not be used in indentation")),o=n.input.charCodeAt(n.position+1),_=n.line,63!==we&&58!==we||!d_(o)){if(C=n.line,x=n.lineStart,N=n.position,!y0(n,t,2,!1,!0))break;if(n.line===_){for(we=n.input.charCodeAt(n.position);jv(we);)we=n.input.charCodeAt(++n.position);if(58===we)d_(we=n.input.charCodeAt(++n.position))||Ia(n,"a whitespace character is expected after the key-value separator within a block mapping"),Ne&&(v0(n,oe,le,me,ye,null,C,x,N),me=ye=$e=null),ke=!0,Ne=!1,l=!1,me=n.tag,ye=n.result;else{if(!ke)return n.tag=V,n.anchor=Q,!0;Ia(n,"can not read an implicit mapping pair; a colon is missed")}}else{if(!ke)return n.tag=V,n.anchor=Q,!0;Ia(n,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===we?(Ne&&(v0(n,oe,le,me,ye,null,C,x,N),me=ye=$e=null),ke=!0,Ne=!0,l=!0):Ne?(Ne=!1,l=!0):Ia(n,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),n.position+=1,we=o;if((n.line===_||n.lineIndent>s)&&(Ne&&(C=n.line,x=n.lineStart,N=n.position),y0(n,s,4,!0,l)&&(Ne?ye=n.result:$e=n.result),Ne||(v0(n,oe,le,me,ye,$e,C,x,N),me=ye=$e=null),jf(n,!0,-1),we=n.input.charCodeAt(n.position)),(n.line===_||n.lineIndent>s)&&0!==we)Ia(n,"bad indentation of a mapping entry");else if(n.lineIndent<s)break}return Ne&&v0(n,oe,le,me,ye,null,C,x,N),ke&&(n.tag=V,n.anchor=Q,n.kind="mapping",n.result=oe),ke}(n,Ne,$e))||function G6(n,s){var o,l,_,x,Q,oe,le,me,$e,Ne,ke,we,t=!0,C=n.tag,N=n.anchor,ye=Object.create(null);if(91===(we=n.input.charCodeAt(n.position)))Q=93,me=!1,x=[];else{if(123!==we)return!1;Q=125,me=!0,x={}}for(null!==n.anchor&&(n.anchorMap[n.anchor]=x),we=n.input.charCodeAt(++n.position);0!==we;){if(jf(n,!0,s),(we=n.input.charCodeAt(n.position))===Q)return n.position++,n.tag=C,n.anchor=N,n.kind=me?"mapping":"sequence",n.result=x,!0;t?44===we&&Ia(n,"expected the node content, but found ','"):Ia(n,"missed comma between flow collection entries"),ke=null,oe=le=!1,63===we&&d_(n.input.charCodeAt(n.position+1))&&(oe=le=!0,n.position++,jf(n,!0,s)),o=n.line,l=n.lineStart,_=n.position,y0(n,s,1,!1,!0),Ne=n.tag,$e=n.result,jf(n,!0,s),we=n.input.charCodeAt(n.position),(le||n.line===o)&&58===we&&(oe=!0,we=n.input.charCodeAt(++n.position),jf(n,!0,s),y0(n,s,1,!1,!0),ke=n.result),me?v0(n,x,ye,Ne,$e,ke,o,l,_):x.push(oe?v0(n,null,ye,Ne,$e,ke,o,l,_):$e),jf(n,!0,s),44===(we=n.input.charCodeAt(n.position))?(t=!0,we=n.input.charCodeAt(++n.position)):t=!1}Ia(n,"unexpected end of the stream within a flow collection")}(n,$e)?Q=!0:(C&&function V6(n,s){var t,o,Q,oe,l=1,_=!1,C=!1,x=s,N=0,V=!1;if(124===(oe=n.input.charCodeAt(n.position)))o=!1;else{if(62!==oe)return!1;o=!0}for(n.kind="scalar",n.result="";0!==oe;)if(43===(oe=n.input.charCodeAt(++n.position))||45===oe)1===l?l=43===oe?3:2:Ia(n,"repeat of a chomping mode identifier");else{if(!((Q=$6(oe))>=0))break;0===Q?Ia(n,"bad explicit indentation width of a block scalar; it cannot be less than one"):C?Ia(n,"repeat of an indentation width identifier"):(x=s+Q-1,C=!0)}if(jv(oe)){do{oe=n.input.charCodeAt(++n.position)}while(jv(oe));if(35===oe)do{oe=n.input.charCodeAt(++n.position)}while(!Gm(oe)&&0!==oe)}for(;0!==oe;){for(nA(n),n.lineIndent=0,oe=n.input.charCodeAt(n.position);(!C||n.lineIndent<x)&&32===oe;)n.lineIndent++,oe=n.input.charCodeAt(++n.position);if(!C&&n.lineIndent>x&&(x=n.lineIndent),Gm(oe))N++;else{if(n.lineIndent<x){3===l?n.result+=ip.repeat("\n",_?1+N:N):1===l&&_&&(n.result+="\n");break}for(o?jv(oe)?(V=!0,n.result+=ip.repeat("\n",_?1+N:N)):V?(V=!1,n.result+=ip.repeat("\n",N+1)):0===N?_&&(n.result+=" "):n.result+=ip.repeat("\n",N):n.result+=ip.repeat("\n",_?1+N:N),_=!0,C=!0,N=0,t=n.position;!Gm(oe)&&0!==oe;)oe=n.input.charCodeAt(++n.position);Qg(n,t,n.position,!1)}}return!0}(n,$e)||function Y6(n,s){var t,o,l;if(39!==(t=n.input.charCodeAt(n.position)))return!1;for(n.kind="scalar",n.result="",n.position++,o=l=n.position;0!==(t=n.input.charCodeAt(n.position));)if(39===t){if(Qg(n,o,n.position,!0),39!==(t=n.input.charCodeAt(++n.position)))return!0;o=n.position,n.position++,l=n.position}else Gm(t)?(Qg(n,o,l,!0),rA(n,jf(n,!1,s)),o=l=n.position):n.position===n.lineStart&&KT(n)?Ia(n,"unexpected end of the document within a single quoted scalar"):(n.position++,l=n.position);Ia(n,"unexpected end of the stream within a single quoted scalar")}(n,$e)||function j6(n,s){var t,o,l,_,C,x;if(34!==(x=n.input.charCodeAt(n.position)))return!1;for(n.kind="scalar",n.result="",n.position++,t=o=n.position;0!==(x=n.input.charCodeAt(n.position));){if(34===x)return Qg(n,t,n.position,!0),n.position++,!0;if(92===x){if(Qg(n,t,n.position,!0),Gm(x=n.input.charCodeAt(++n.position)))jf(n,!1,s);else if(x<256&&vR[x])n.result+=yR[x],n.position++;else if((C=k6(x))>0){for(l=C,_=0;l>0;l--)(C=L6(x=n.input.charCodeAt(++n.position)))>=0?_=(_<<4)+C:Ia(n,"expected hexadecimal character");n.result+=H6(_),n.position++}else Ia(n,"unknown escape sequence");t=o=n.position}else Gm(x)?(Qg(n,t,o,!0),rA(n,jf(n,!1,s)),t=o=n.position):n.position===n.lineStart&&KT(n)?Ia(n,"unexpected end of the document within a double quoted scalar"):(n.position++,o=n.position)}Ia(n,"unexpected end of the stream within a double quoted scalar")}(n,$e)?Q=!0:function J6(n){var s,t,o;if(42!==(o=n.input.charCodeAt(n.position)))return!1;for(o=n.input.charCodeAt(++n.position),s=n.position;0!==o&&!d_(o)&&!m0(o);)o=n.input.charCodeAt(++n.position);return n.position===s&&Ia(n,"name of an alias node must contain at least one character"),t=n.input.slice(s,n.position),Jg.call(n.anchorMap,t)||Ia(n,'unidentified alias "'+t+'"'),n.result=n.anchorMap[t],jf(n,!0,-1),!0}(n)?(Q=!0,(null!==n.tag||null!==n.anchor)&&Ia(n,"alias node should not have any properties")):function U6(n,s,t){var l,_,C,x,N,V,Q,me,oe=n.kind,le=n.result;if(d_(me=n.input.charCodeAt(n.position))||m0(me)||35===me||38===me||42===me||33===me||124===me||62===me||39===me||34===me||37===me||64===me||96===me||(63===me||45===me)&&(d_(l=n.input.charCodeAt(n.position+1))||t&&m0(l)))return!1;for(n.kind="scalar",n.result="",_=C=n.position,x=!1;0!==me;){if(58===me){if(d_(l=n.input.charCodeAt(n.position+1))||t&&m0(l))break}else if(35===me){if(d_(n.input.charCodeAt(n.position-1)))break}else{if(n.position===n.lineStart&&KT(n)||t&&m0(me))break;if(Gm(me)){if(N=n.line,V=n.lineStart,Q=n.lineIndent,jf(n,!1,-1),n.lineIndent>=s){x=!0,me=n.input.charCodeAt(n.position);continue}n.position=C,n.line=N,n.lineStart=V,n.lineIndent=Q;break}}x&&(Qg(n,_,C,!1),rA(n,n.line-N),_=C=n.position,x=!1),jv(me)||(C=n.position+1),me=n.input.charCodeAt(++n.position)}return Qg(n,_,C,!1),!!n.result||(n.kind=oe,n.result=le,!1)}(n,$e,1===t)&&(Q=!0,null===n.tag&&(n.tag="?")),null!==n.anchor&&(n.anchorMap[n.anchor]=n.result)):0===N&&(Q=x&&TR(n,Ne))),null===n.tag)null!==n.anchor&&(n.anchorMap[n.anchor]=n.result);else if("?"===n.tag){for(null!==n.result&&"scalar"!==n.kind&&Ia(n,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+n.kind+'"'),oe=0,le=n.implicitTypes.length;oe<le;oe+=1)if((ye=n.implicitTypes[oe]).resolve(n.result)){n.result=ye.construct(n.result),n.tag=ye.tag,null!==n.anchor&&(n.anchorMap[n.anchor]=n.result);break}}else if("!"!==n.tag){if(Jg.call(n.typeMap[n.kind||"fallback"],n.tag))ye=n.typeMap[n.kind||"fallback"][n.tag];else for(ye=null,oe=0,le=(me=n.typeMap.multi[n.kind||"fallback"]).length;oe<le;oe+=1)if(n.tag.slice(0,me[oe].tag.length)===me[oe].tag){ye=me[oe];break}ye||Ia(n,"unknown tag !<"+n.tag+">"),null!==n.result&&ye.kind!==n.kind&&Ia(n,"unacceptable node kind for !<"+n.tag+'> tag; it should be "'+ye.kind+'", not "'+n.kind+'"'),ye.resolve(n.result,n.tag)?(n.result=ye.construct(n.result,n.tag),null!==n.anchor&&(n.anchorMap[n.anchor]=n.result)):Ia(n,"cannot resolve a node with !<"+n.tag+"> explicit tag")}return null!==n.listener&&n.listener("close",n),null!==n.tag||null!==n.anchor||Q}function Q6(n){var t,o,l,C,s=n.position,_=!1;for(n.version=null,n.checkLineBreaks=n.legacy,n.tagMap=Object.create(null),n.anchorMap=Object.create(null);0!==(C=n.input.charCodeAt(n.position))&&(jf(n,!0,-1),C=n.input.charCodeAt(n.position),!(n.lineIndent>0||37!==C));){for(_=!0,C=n.input.charCodeAt(++n.position),t=n.position;0!==C&&!d_(C);)C=n.input.charCodeAt(++n.position);for(l=[],(o=n.input.slice(t,n.position)).length<1&&Ia(n,"directive name must not be less than one character in length");0!==C;){for(;jv(C);)C=n.input.charCodeAt(++n.position);if(35===C){do{C=n.input.charCodeAt(++n.position)}while(0!==C&&!Gm(C));break}if(Gm(C))break;for(t=n.position;0!==C&&!d_(C);)C=n.input.charCodeAt(++n.position);l.push(n.input.slice(t,n.position))}0!==C&&nA(n),Jg.call(bR,o)?bR[o](n,o,l):XT(n,'unknown document directive "'+o+'"')}jf(n,!0,-1),0===n.lineIndent&&45===n.input.charCodeAt(n.position)&&45===n.input.charCodeAt(n.position+1)&&45===n.input.charCodeAt(n.position+2)?(n.position+=3,jf(n,!0,-1)):_&&Ia(n,"directives end mark is expected"),y0(n,n.lineIndent-1,4,!1,!0),jf(n,!0,-1),n.checkLineBreaks&&I6.test(n.input.slice(s,n.position))&&XT(n,"non-ASCII line breaks are interpreted as content"),n.documents.push(n.result),n.position===n.lineStart&&KT(n)?46===n.input.charCodeAt(n.position)&&(n.position+=3,jf(n,!0,-1)):n.position<n.length-1&&Ia(n,"end of the stream or a document separator is expected")}function CR(n,s){s=s||{},0!==(n=String(n)).length&&(10!==n.charCodeAt(n.length-1)&&13!==n.charCodeAt(n.length-1)&&(n+="\n"),65279===n.charCodeAt(0)&&(n=n.slice(1)));var t=new B6(n,s),o=n.indexOf("\0");for(-1!==o&&(t.position=o,Ia(t,"null byte is not allowed in input")),t.input+="\0";32===t.input.charCodeAt(t.position);)t.lineIndent+=1,t.position+=1;for(;t.position<t.length-1;)Q6(t);return t.documents}var MR_loadAll=function X6(n,s,t){null!==s&&"object"==typeof s&&void 0===t&&(t=s,s=null);var o=CR(n,t);if("function"!=typeof s)return o;for(var l=0,_=o.length;l<_;l+=1)s(o[l])},MR_load=function K6(n,s){var t=CR(n,s);if(0!==t.length){if(1===t.length)return t[0];throw new Ih("expected a single document in the stream, but found more")}},OR=Object.prototype.toString,AR=Object.prototype.hasOwnProperty,rh={0:"\\0",7:"\\a",8:"\\b",9:"\\t",10:"\\n",11:"\\v",12:"\\f",13:"\\r",27:"\\e",34:'\\"',92:"\\\\",133:"\\N",160:"\\_",8232:"\\L",8233:"\\P"},g8=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],v8=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function E8(n){var s,t,o;if(s=n.toString(16).toUpperCase(),n<=255)t="x",o=2;else if(n<=65535)t="u",o=4;else{if(!(n<=4294967295))throw new Ih("code point within a string may not be greater than 0xFFFFFFFF");t="U",o=8}return"\\"+t+ip.repeat("0",o-s.length)+s}function S8(n){this.schema=n.schema||eA,this.indent=Math.max(1,n.indent||2),this.noArrayIndent=n.noArrayIndent||!1,this.skipInvalid=n.skipInvalid||!1,this.flowLevel=ip.isNothing(n.flowLevel)?-1:n.flowLevel,this.styleMap=function y8(n,s){var t,o,l,_,C,x,N;if(null===s)return{};for(t={},l=0,_=(o=Object.keys(s)).length;l<_;l+=1)C=o[l],x=String(s[C]),"!!"===C.slice(0,2)&&(C="tag:yaml.org,2002:"+C.slice(2)),(N=n.compiledTypeMap.fallback[C])&&AR.call(N.styleAliases,x)&&(x=N.styleAliases[x]),t[C]=x;return t}(this.schema,n.styles||null),this.sortKeys=n.sortKeys||!1,this.lineWidth=n.lineWidth||80,this.noRefs=n.noRefs||!1,this.noCompatMode=n.noCompatMode||!1,this.condenseFlow=n.condenseFlow||!1,this.quotingType='"'===n.quotingType?2:1,this.forceQuotes=n.forceQuotes||!1,this.replacer="function"==typeof n.replacer?n.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function NR(n,s){for(var C,t=ip.repeat(" ",s),o=0,l=-1,_="",x=n.length;o<x;)-1===(l=n.indexOf("\n",o))?(C=n.slice(o),o=x):(C=n.slice(o,l+1),o=l+1),C.length&&"\n"!==C&&(_+=t),_+=C;return _}function sA(n,s){return"\n"+ip.repeat(" ",n.indent*s)}function eC(n){return 32===n||9===n}function CE(n){return 32<=n&&n<=126||161<=n&&n<=55295&&8232!==n&&8233!==n||57344<=n&&n<=65533&&65279!==n||65536<=n&&n<=1114111}function IR(n){return CE(n)&&65279!==n&&13!==n&&10!==n}function FR(n,s,t){var o=IR(n),l=o&&!eC(n);return(t?o:o&&44!==n&&91!==n&&93!==n&&123!==n&&125!==n)&&35!==n&&!(58===s&&!l)||IR(s)&&!eC(s)&&35===n||58===s&&l}function ME(n,s){var o,t=n.charCodeAt(s);return t>=55296&&t<=56319&&s+1<n.length&&(o=n.charCodeAt(s+1))>=56320&&o<=57343?1024*(t-55296)+o-56320+65536:t}function LR(n){return/^\n* /.test(n)}function A8(n,s,t,o,l){n.dump=function(){if(0===s.length)return 2===n.quotingType?'""':"''";if(!n.noCompatMode&&(-1!==g8.indexOf(s)||v8.test(s)))return 2===n.quotingType?'"'+s+'"':"'"+s+"'";var _=n.indent*Math.max(1,t),C=-1===n.lineWidth?-1:Math.max(Math.min(n.lineWidth,40),n.lineWidth-_);switch(function O8(n,s,t,o,l,_,C,x){var N,V=0,Q=null,oe=!1,le=!1,me=-1!==o,ye=-1,$e=function C8(n){return CE(n)&&65279!==n&&!eC(n)&&45!==n&&63!==n&&58!==n&&44!==n&&91!==n&&93!==n&&123!==n&&125!==n&&35!==n&&38!==n&&42!==n&&33!==n&&124!==n&&61!==n&&62!==n&&39!==n&&34!==n&&37!==n&&64!==n&&96!==n}(ME(n,0))&&function M8(n){return!eC(n)&&58!==n}(ME(n,n.length-1));if(s||C)for(N=0;N<n.length;V>=65536?N+=2:N++){if(!CE(V=ME(n,N)))return 5;$e=$e&&FR(V,Q,x),Q=V}else{for(N=0;N<n.length;V>=65536?N+=2:N++){if(10===(V=ME(n,N)))oe=!0,me&&(le=le||N-ye-1>o&&" "!==n[ye+1],ye=N);else if(!CE(V))return 5;$e=$e&&FR(V,Q,x),Q=V}le=le||me&&N-ye-1>o&&" "!==n[ye+1]}return oe||le?t>9&&LR(n)?5:C?2===_?5:2:le?4:3:!$e||C||l(n)?2===_?5:2:1}(s,o||n.flowLevel>-1&&t>=n.flowLevel,n.indent,C,function N(V){return function T8(n,s){var t,o;for(t=0,o=n.implicitTypes.length;t<o;t+=1)if(n.implicitTypes[t].resolve(s))return!0;return!1}(n,V)},n.quotingType,n.forceQuotes&&!o,l)){case 1:return s;case 2:return"'"+s.replace(/'/g,"''")+"'";case 3:return"|"+BR(s,n.indent)+UR(NR(s,_));case 4:return">"+BR(s,n.indent)+UR(NR(function D8(n,s){for(var _,C,t=/(\n+)([^\n]*)/g,o=(V=void 0,V=n.indexOf("\n"),t.lastIndex=V=-1!==V?V:n.length,YR(n.slice(0,V),s)),l="\n"===n[0]||" "===n[0];C=t.exec(n);){var N=C[2];_=" "===N[0],o+=C[1]+(l||_||""===N?"":"\n")+YR(N,s),l=_}var V;return o}(s,C),_));case 5:return'"'+function x8(n){for(var o,s="",t=0,l=0;l<n.length;t>=65536?l+=2:l++)t=ME(n,l),!(o=rh[t])&&CE(t)?(s+=n[l],t>=65536&&(s+=n[l+1])):s+=o||E8(t);return s}(s)+'"';default:throw new Ih("impossible error: invalid scalar style")}}()}function BR(n,s){var t=LR(n)?String(s):"",o="\n"===n[n.length-1];return t+(!o||"\n"!==n[n.length-2]&&"\n"!==n?o?"":"-":"+")+"\n"}function UR(n){return"\n"===n[n.length-1]?n.slice(0,-1):n}function YR(n,s){if(""===n||" "===n[0])return n;for(var o,_,t=/ [^ ]/g,l=0,C=0,x=0,N="";o=t.exec(n);)(x=o.index)-l>s&&(N+="\n"+n.slice(l,_=C>l?C:x),l=_+1),C=x;return N+="\n",(N+=n.length-l>s&&C>l?n.slice(l,C)+"\n"+n.slice(C+1):n.slice(l)).slice(1)}function GR(n,s,t){var o,l,_,C,x,N;for(_=0,C=(l=t?n.explicitTypes:n.implicitTypes).length;_<C;_+=1)if(((x=l[_]).instanceOf||x.predicate)&&(!x.instanceOf||"object"==typeof s&&s instanceof x.instanceOf)&&(!x.predicate||x.predicate(s))){if(n.tag=t?x.multi&&x.representName?x.representName(s):x.tag:"?",x.represent){if(N=n.styleMap[x.tag]||x.defaultStyle,"[object Function]"===OR.call(x.represent))o=x.represent(s,N);else{if(!AR.call(x.represent,N))throw new Ih("!<"+x.tag+'> tag resolver accepts not "'+N+'" style');o=x.represent[N](s,N)}n.dump=o}return!0}return!1}function hg(n,s,t,o,l,_,C){n.tag=null,n.dump=t,GR(n,t,!1)||GR(n,t,!0);var V,x=OR.call(n.dump),N=o;o&&(o=n.flowLevel<0||n.flowLevel>s);var oe,le,Q="[object Object]"===x||"[object Array]"===x;if(Q&&(le=-1!==(oe=n.duplicates.indexOf(t))),(null!==n.tag&&"?"!==n.tag||le||2!==n.indent&&s>0)&&(l=!1),le&&n.usedDuplicates[oe])n.dump="*ref_"+oe;else{if(Q&&le&&!n.usedDuplicates[oe]&&(n.usedDuplicates[oe]=!0),"[object Object]"===x)o&&0!==Object.keys(n.dump).length?(function P8(n,s,t,o){var x,N,V,Q,oe,le,l="",_=n.tag,C=Object.keys(t);if(!0===n.sortKeys)C.sort();else if("function"==typeof n.sortKeys)C.sort(n.sortKeys);else if(n.sortKeys)throw new Ih("sortKeys must be a boolean or a function");for(x=0,N=C.length;x<N;x+=1)le="",(!o||""!==l)&&(le+=sA(n,s)),Q=t[V=C[x]],n.replacer&&(Q=n.replacer.call(t,V,Q)),hg(n,s+1,V,!0,!0,!0)&&((oe=null!==n.tag&&"?"!==n.tag||n.dump&&n.dump.length>1024)&&(n.dump&&10===n.dump.charCodeAt(0)?le+="?":le+="? "),le+=n.dump,oe&&(le+=sA(n,s)),hg(n,s+1,Q,!0,oe)&&(n.dump&&10===n.dump.charCodeAt(0)?le+=":":le+=": ",l+=le+=n.dump));n.tag=_,n.dump=l||"{}"}(n,s,n.dump,l),le&&(n.dump="&ref_"+oe+n.dump)):(function w8(n,s,t){var C,x,N,V,Q,o="",l=n.tag,_=Object.keys(t);for(C=0,x=_.length;C<x;C+=1)Q="",""!==o&&(Q+=", "),n.condenseFlow&&(Q+='"'),V=t[N=_[C]],n.replacer&&(V=n.replacer.call(t,N,V)),hg(n,s,N,!1,!1)&&(n.dump.length>1024&&(Q+="? "),Q+=n.dump+(n.condenseFlow?'"':"")+":"+(n.condenseFlow?"":" "),hg(n,s,V,!1,!1)&&(o+=Q+=n.dump));n.tag=l,n.dump="{"+o+"}"}(n,s,n.dump),le&&(n.dump="&ref_"+oe+" "+n.dump));else if("[object Array]"===x)o&&0!==n.dump.length?(function jR(n,s,t,o){var C,x,N,l="",_=n.tag;for(C=0,x=t.length;C<x;C+=1)N=t[C],n.replacer&&(N=n.replacer.call(t,String(C),N)),(hg(n,s+1,N,!0,!0,!1,!0)||void 0===N&&hg(n,s+1,null,!0,!0,!1,!0))&&((!o||""!==l)&&(l+=sA(n,s)),n.dump&&10===n.dump.charCodeAt(0)?l+="-":l+="- ",l+=n.dump);n.tag=_,n.dump=l||"[]"}(n,n.noArrayIndent&&!C&&s>0?s-1:s,n.dump,l),le&&(n.dump="&ref_"+oe+n.dump)):(function R8(n,s,t){var _,C,x,o="",l=n.tag;for(_=0,C=t.length;_<C;_+=1)x=t[_],n.replacer&&(x=n.replacer.call(t,String(_),x)),(hg(n,s,x,!1,!1)||void 0===x&&hg(n,s,null,!1,!1))&&(""!==o&&(o+=","+(n.condenseFlow?"":" ")),o+=n.dump);n.tag=l,n.dump="["+o+"]"}(n,s,n.dump),le&&(n.dump="&ref_"+oe+" "+n.dump));else{if("[object String]"!==x){if("[object Undefined]"===x)return!1;if(n.skipInvalid)return!1;throw new Ih("unacceptable kind of an object to dump "+x)}"?"!==n.tag&&A8(n,n.dump,s,_,N)}null!==n.tag&&"?"!==n.tag&&(V=encodeURI("!"===n.tag[0]?n.tag.slice(1):n.tag).replace(/!/g,"%21"),V="!"===n.tag[0]?"!"+V:"tag:yaml.org,2002:"===V.slice(0,18)?"!!"+V.slice(18):"!<"+V+">",n.dump=V+" "+n.dump)}return!0}function N8(n,s){var l,_,t=[],o=[];for(lA(n,t,o),l=0,_=o.length;l<_;l+=1)s.duplicates.push(t[o[l]]);s.usedDuplicates=new Array(_)}function lA(n,s,t){var o,l,_;if(null!==n&&"object"==typeof n)if(-1!==(l=s.indexOf(n)))-1===t.indexOf(l)&&t.push(l);else if(s.push(n),Array.isArray(n))for(l=0,_=n.length;l<_;l+=1)lA(n[l],s,t);else for(l=0,_=(o=Object.keys(n)).length;l<_;l+=1)lA(n[o[l]],s,t)}function uA(n,s){return function(){throw new Error("Function yaml."+n+" is removed in js-yaml 4. Use yaml."+s+" instead, which is now safe by default.")}}var k8=Np,$8=Zx,H8=Qx,VR=tR,B8=nR,U8=eA,Y8=MR_load,j8=MR_loadAll,G8=function I8(n,s){var t=new S8(s=s||{});t.noRefs||N8(n,t);var o=n;return t.replacer&&(o=t.replacer.call({"":o},"",o)),hg(t,0,o,!0,!0)?t.dump+"\n":""},V8=Ih,Z8={binary:aR,float:eR,map:Jx,null:Xx,pairs:uR,set:cR,timestamp:oR,bool:Kx,int:qx,merge:sR,omap:lR,seq:Wx,str:zx},z8=uA("safeLoad","load"),W8=uA("safeLoadAll","loadAll"),J8=uA("safeDump","dump");const cA={Type:k8,Schema:$8,FAILSAFE_SCHEMA:H8,JSON_SCHEMA:VR,CORE_SCHEMA:B8,DEFAULT_SCHEMA:U8,load:Y8,loadAll:j8,dump:G8,YAMLException:V8,types:Z8,safeLoad:z8,safeLoadAll:W8,safeDump:J8},X8="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:window,{FormData:ZR,Blob:tC,File:zR}=X8,K8=n=>":/?#[]@!$&'()*+,;=".indexOf(n)>-1,q8=n=>/^[a-z0-9\-._~]+$/i.test(n);function b0(n){let{escape:s}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0;return"number"==typeof n&&(n=n.toString()),"string"==typeof n&&n.length&&s?t?JSON.parse(n):[...n].map(o=>{if(q8(o)||K8(o)&&"unsafe"===s)return o;const l=new TextEncoder;return Array.from(l.encode(o)).map(C=>`0${C.toString(16).toUpperCase()}`.slice(-2)).map(C=>`%${C}`).join("")}).join(""):n}function dA(n){const{value:s}=n;return Array.isArray(s)?function eI(n){let{key:s,value:t,style:o,explode:l,escape:_}=n;const C=x=>b0(x,{escape:_});if("simple"===o)return t.map(x=>C(x)).join(",");if("label"===o)return`.${t.map(x=>C(x)).join(".")}`;if("matrix"===o)return t.map(x=>C(x)).reduce((x,N)=>!x||l?`${x||""};${s}=${N}`:`${x},${N}`,"");if("form"===o){const x=l?`&${s}=`:",";return t.map(N=>C(N)).join(x)}if("spaceDelimited"===o){const x=l?`${s}=`:"";return t.map(N=>C(N)).join(` ${x}`)}if("pipeDelimited"===o){const x=l?`${s}=`:"";return t.map(N=>C(N)).join(`|${x}`)}}(n):"object"==typeof s?function tI(n){let{key:s,value:t,style:o,explode:l,escape:_}=n;const C=N=>b0(N,{escape:_}),x=Object.keys(t);return"simple"===o?x.reduce((N,V)=>{const Q=C(t[V]);return`${N?`${N},`:""}${V}${l?"=":","}${Q}`},""):"label"===o?x.reduce((N,V)=>{const Q=C(t[V]);return`${N?`${N}.`:"."}${V}${l?"=":"."}${Q}`},""):"matrix"===o&&l?x.reduce((N,V)=>`${N?`${N};`:";"}${V}=${C(t[V])}`,""):"matrix"===o?x.reduce((N,V)=>{const Q=C(t[V]);return`${N?`${N},`:`;${s}=`}${V},${Q}`},""):"form"===o?x.reduce((N,V)=>{const Q=C(t[V]);return`${N?`${N}${l?"&":","}`:""}${V}${l?"=":","}${Q}`},""):void 0}(n):function nI(n){let{key:s,value:t,style:o,escape:l}=n;const _=C=>b0(C,{escape:l});return"simple"===o?_(t):"label"===o?`.${_(t)}`:"matrix"===o?`;${s}=${_(t)}`:"form"===o||"deepObject"===o?_(t):void 0}(n)}const rI=(n,s)=>{s.body=n},fA={serializeRes:WR,mergeInQueryOrForm:qR};function pA(n){return hA.apply(this,arguments)}function hA(){return hA=K_(function*(n){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};"object"==typeof n&&(s=n,n=s.url),s.headers=s.headers||{},fA.mergeInQueryOrForm(s),s.headers&&Object.keys(s.headers).forEach(l=>{const _=s.headers[l];"string"==typeof _&&(s.headers[l]=_.replace(/\n+/g," "))}),s.requestInterceptor&&(s=(yield s.requestInterceptor(s))||s);const t=s.headers["content-type"]||s.headers["Content-Type"];let o;/multipart\/form-data/i.test(t)&&s.body instanceof ZR&&(delete s.headers["content-type"],delete s.headers["Content-Type"]);try{o=yield(s.userFetch||fetch)(s.url,s),o=yield fA.serializeRes(o,n,s),s.responseInterceptor&&(o=(yield s.responseInterceptor(o))||o)}catch(l){if(!o)throw l;const _=new Error(o.statusText||`response status is ${o.status}`);throw _.status=o.status,_.statusCode=o.status,_.responseError=l,_}if(!o.ok){const l=new Error(o.statusText||`response status is ${o.status}`);throw l.status=o.status,l.statusCode=o.status,l.response=o,l}return o}),hA.apply(this,arguments)}const iI=function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return/(json|xml|yaml|text)\b/.test(n)};function oI(n,s){return s&&(0===s.indexOf("application/json")||s.indexOf("+json")>0)?JSON.parse(n):cA.load(n)}function WR(n,s){let{loadSpec:t=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o={ok:n.ok,url:n.url||s,status:n.status,statusText:n.statusText,headers:aI(n.headers)},l=o.headers["content-type"],_=t||iI(l);return(_?n.text:n.blob||n.buffer).call(n).then(x=>{if(o.text=x,o.data=x,_)try{const N=oI(x,l);o.body=N,o.obj=N}catch(N){o.parseError=N}return o})}function sI(n){return n.includes(", ")?n.split(", "):n}function aI(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return"function"!=typeof n.entries?{}:Array.from(n.entries()).reduce((s,t)=>{let[o,l]=t;return s[o]=sI(l),s},{})}function _A(n,s){return!s&&"undefined"!=typeof navigator&&(s=navigator),s&&"ReactNative"===s.product?!(!n||"object"!=typeof n||"string"!=typeof n.uri):!!(void 0!==zR&&n instanceof zR||void 0!==tC&&n instanceof tC||ArrayBuffer.isView(n))||null!==n&&"object"==typeof n&&"function"==typeof n.pipe}function JR(n,s){return Array.isArray(n)&&n.some(t=>_A(t,s))}const lI={form:",",spaceDelimited:"%20",pipeDelimited:"|"},uI={csv:",",ssv:"%20",tsv:"%09",pipes:"|"};function QR(n,s){let t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const{collectionFormat:o,allowEmptyValue:l,serializationOption:_,encoding:C}=s,x="object"!=typeof s||Array.isArray(s)?s:s.value,N=t?Q=>Q.toString():Q=>encodeURIComponent(Q),V=N(n);if(void 0===x&&l)return[[V,""]];if(_A(x)||JR(x))return[[V,x]];if(_)return XR(n,x,t,_);if(C){if([typeof C.style,typeof C.explode,typeof C.allowReserved].some(Q=>"undefined"!==Q)){const{style:Q,explode:oe,allowReserved:le}=C;return XR(n,x,t,{style:Q,explode:oe,allowReserved:le})}return C.contentType?"application/json"===C.contentType?[[V,N("string"==typeof x?x:JSON.stringify(x))]]:[[V,N(x.toString())]]:"object"!=typeof x?[[V,N(x)]]:Array.isArray(x)&&x.every(Q=>"object"!=typeof Q)?[[V,x.map(N).join(",")]]:[[V,N(JSON.stringify(x))]]}return"object"!=typeof x?[[V,N(x)]]:Array.isArray(x)?"multi"===o?[[V,x.map(N)]]:[[V,x.map(N).join(uI[o||"csv"])]]:[[V,""]]}function XR(n,s,t,o){const l=o.style||"form",_=void 0===o.explode?"form"===l:o.explode,C=!t&&(o&&o.allowReserved?"unsafe":"reserved"),x=V=>b0(V,{escape:C}),N=t?V=>V:V=>b0(V,{escape:C});return"object"!=typeof s?[[N(n),x(s)]]:Array.isArray(s)?_?[[N(n),s.map(x)]]:[[N(n),s.map(x).join(lI[l])]]:"deepObject"===l?Object.keys(s).map(V=>[N(`${n}[${V}]`),x(s[V])]):_?Object.keys(s).map(V=>[N(V),x(s[V])]):[[N(n),Object.keys(s).map(V=>[`${N(V)},${x(s[V])}`]).join(",")]]}function cI(n){return Object.entries(n).reduce((s,t)=>{let[o,l]=t;for(const[_,C]of QR(o,l,!0))if(Array.isArray(C))for(const x of C)if(ArrayBuffer.isView(x)){const N=new tC([x]);s.append(_,N)}else s.append(_,x);else if(ArrayBuffer.isView(C)){const x=new tC([C]);s.append(_,x)}else s.append(_,C);return s},new ZR)}function KR(n){const s=Object.keys(n).reduce((t,o)=>{for(const[l,_]of QR(o,n[o]))t[l]=_;return t},{});return JO().stringify(s,{encode:!1,indices:!1})||""}function qR(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{url:s="",query:t,form:o}=n,l=function(){for(var _=arguments.length,C=new Array(_),x=0;x<_;x++)C[x]=arguments[x];const N=C.filter(V=>V).join("&");return N?`?${N}`:""};if(o){const _=Object.keys(o).some(x=>{const{value:N}=o[x];return _A(N)||JR(N)}),C=n.headers["content-type"]||n.headers["Content-Type"];if(_||/multipart\/form-data/i.test(C)){const x=cI(n.form);rI(x,n)}else n.body=KR(o);delete n.form}if(t){const[_,C]=s.split("?");let x="";if(C){const V=JO().parse(C);Object.keys(t).forEach(oe=>delete V[oe]),x=JO().stringify(V,{encode:!0})}const N=l(x,KR(t));n.url=_+N,delete n.query}return n}function dI(n,s,t){return t=t||(o=>o),s=s||(o=>o),o=>("string"==typeof o&&(o={url:o}),fA.mergeInQueryOrForm(o),o=s(o),t(n(o)))}const ew=n=>{const{baseDoc:s,url:t}=n;return s||t||""},tw=n=>{const{fetch:s,http:t}=n;return s||t||pA};var n,fI=(n=function(s,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,l){o.__proto__=l}||function(o,l){for(var _ in l)l.hasOwnProperty(_)&&(o[_]=l[_])})(s,t)},function(s,t){function o(){this.constructor=s}n(s,t),s.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),pI=Object.prototype.hasOwnProperty;function nC(n,s){return pI.call(n,s)}function mA(n){if(Array.isArray(n)){for(var s=new Array(n.length),t=0;t<s.length;t++)s[t]=""+t;return s}if(Object.keys)return Object.keys(n);var o=[];for(var l in n)nC(n,l)&&o.push(l);return o}function P_(n){switch(typeof n){case"object":return JSON.parse(JSON.stringify(n));case"undefined":return null;default:return n}}function gA(n){for(var o,s=0,t=n.length;s<t;){if(!((o=n.charCodeAt(s))>=48&&o<=57))return!1;s++}return!0}function _g(n){return-1===n.indexOf("/")&&-1===n.indexOf("~")?n:n.replace(/~/g,"~0").replace(/\//g,"~1")}function nw(n){return n.replace(/~1/g,"/").replace(/~0/g,"~")}function vA(n){if(void 0===n)return!0;if(n)if(Array.isArray(n)){for(var s=0,t=n.length;s<t;s++)if(vA(n[s]))return!0}else if("object"==typeof n)for(var o=mA(n),l=o.length,_=0;_<l;_++)if(vA(n[o[_]]))return!0;return!1}function iw(n,s){var t=[n];for(var o in s){var l="object"==typeof s[o]?JSON.stringify(s[o],null,2):s[o];void 0!==l&&t.push(o+": "+l)}return t.join("\n")}var ow=function(n){function s(t,o,l,_,C){var x=this.constructor,N=n.call(this,iw(t,{name:o,index:l,operation:_,tree:C}))||this;return N.name=o,N.index=l,N.operation=_,N.tree=C,Object.setPrototypeOf(N,x.prototype),N.message=iw(t,{name:o,index:l,operation:_,tree:C}),N}return fI(s,n),s}(Error),df=ow,hI=P_,S0={add:function(n,s,t){return n[s]=this.value,{newDocument:t}},remove:function(n,s,t){var o=n[s];return delete n[s],{newDocument:t,removed:o}},replace:function(n,s,t){var o=n[s];return n[s]=this.value,{newDocument:t,removed:o}},move:function(n,s,t){var o=OE(t,this.path);o&&(o=P_(o));var l=Gv(t,{op:"remove",path:this.from}).removed;return Gv(t,{op:"add",path:this.path,value:l}),{newDocument:t,removed:o}},copy:function(n,s,t){var o=OE(t,this.from);return Gv(t,{op:"add",path:this.path,value:P_(o)}),{newDocument:t}},test:function(n,s,t){return{newDocument:t,test:AE(n[s],this.value)}},_get:function(n,s,t){return this.value=n[s],{newDocument:t}}},_I={add:function(n,s,t){return gA(s)?n.splice(s,0,this.value):n[s]=this.value,{newDocument:t,index:s}},remove:function(n,s,t){return{newDocument:t,removed:n.splice(s,1)[0]}},replace:function(n,s,t){var o=n[s];return n[s]=this.value,{newDocument:t,removed:o}},move:S0.move,copy:S0.copy,test:S0.test,_get:S0._get};function OE(n,s){if(""==s)return n;var t={op:"_get",path:s};return Gv(n,t),t.value}function Gv(n,s,t,o,l,_){if(void 0===t&&(t=!1),void 0===o&&(o=!0),void 0===l&&(l=!0),void 0===_&&(_=0),t&&("function"==typeof t?t(s,0,n,s.path):rC(s,0)),""===s.path){var C={newDocument:n};if("add"===s.op)return C.newDocument=s.value,C;if("replace"===s.op)return C.newDocument=s.value,C.removed=n,C;if("move"===s.op||"copy"===s.op)return C.newDocument=OE(n,s.from),"move"===s.op&&(C.removed=n),C;if("test"===s.op){if(C.test=AE(n,s.value),!1===C.test)throw new df("Test operation failed","TEST_OPERATION_FAILED",_,s,n);return C.newDocument=n,C}if("remove"===s.op)return C.removed=n,C.newDocument=null,C;if("_get"===s.op)return s.value=n,C;if(t)throw new df("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",_,s,n);return C}o||(n=P_(n));var N=(s.path||"").split("/"),V=n,Q=1,oe=N.length,le=void 0,me=void 0,ye=void 0;for(ye="function"==typeof t?t:rC;;){if((me=N[Q])&&-1!=me.indexOf("~")&&(me=nw(me)),l&&("__proto__"==me||"prototype"==me&&Q>0&&"constructor"==N[Q-1]))throw new TypeError("JSON-Patch: modifying `__proto__` or `constructor/prototype` prop is banned for security reasons, if this was on purpose, please set `banPrototypeModifications` flag false and pass it to this function. More info in fast-json-patch README");if(t&&void 0===le&&(void 0===V[me]?le=N.slice(0,Q).join("/"):Q==oe-1&&(le=s.path),void 0!==le&&ye(s,0,n,le)),Q++,Array.isArray(V)){if("-"===me)me=V.length;else{if(t&&!gA(me))throw new df("Expected an unsigned base-10 integer value, making the new referenced value the array element with the zero-based index","OPERATION_PATH_ILLEGAL_ARRAY_INDEX",_,s,n);gA(me)&&(me=~~me)}if(Q>=oe){if(t&&"add"===s.op&&me>V.length)throw new df("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",_,s,n);if(!1===(C=_I[s.op].call(s,V,me,n)).test)throw new df("Test operation failed","TEST_OPERATION_FAILED",_,s,n);return C}}else if(Q>=oe){if(!1===(C=S0[s.op].call(s,V,me,n)).test)throw new df("Test operation failed","TEST_OPERATION_FAILED",_,s,n);return C}if(V=V[me],t&&Q<oe&&(!V||"object"!=typeof V))throw new df("Cannot perform operation at the desired path","OPERATION_PATH_UNRESOLVABLE",_,s,n)}}function Xg(n,s,t,o,l){if(void 0===o&&(o=!0),void 0===l&&(l=!0),t&&!Array.isArray(s))throw new df("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");o||(n=P_(n));for(var _=new Array(s.length),C=0,x=s.length;C<x;C++)_[C]=Gv(n,s[C],t,!0,l,C),n=_[C].newDocument;return _.newDocument=n,_}function mI(n,s,t){var o=Gv(n,s);if(!1===o.test)throw new df("Test operation failed","TEST_OPERATION_FAILED",t,s,n);return o.newDocument}function rC(n,s,t,o){if("object"!=typeof n||null===n||Array.isArray(n))throw new df("Operation is not an object","OPERATION_NOT_AN_OBJECT",s,n,t);if(!S0[n.op])throw new df("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",s,n,t);if("string"!=typeof n.path)throw new df("Operation `path` property is not a string","OPERATION_PATH_INVALID",s,n,t);if(0!==n.path.indexOf("/")&&n.path.length>0)throw new df('Operation `path` property must start with "/"',"OPERATION_PATH_INVALID",s,n,t);if(("move"===n.op||"copy"===n.op)&&"string"!=typeof n.from)throw new df("Operation `from` property is not present (applicable in `move` and `copy` operations)","OPERATION_FROM_REQUIRED",s,n,t);if(("add"===n.op||"replace"===n.op||"test"===n.op)&&void 0===n.value)throw new df("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_REQUIRED",s,n,t);if(("add"===n.op||"replace"===n.op||"test"===n.op)&&vA(n.value))throw new df("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_CANNOT_CONTAIN_UNDEFINED",s,n,t);if(t)if("add"==n.op){var l=n.path.split("/").length,_=o.split("/").length;if(l!==_+1&&l!==_)throw new df("Cannot perform an `add` operation at the desired path","OPERATION_PATH_CANNOT_ADD",s,n,t)}else if("replace"===n.op||"remove"===n.op||"_get"===n.op){if(n.path!==o)throw new df("Cannot perform the operation at a path that does not exist","OPERATION_PATH_UNRESOLVABLE",s,n,t)}else if("move"===n.op||"copy"===n.op){var x=sw([{op:"_get",path:n.from,value:void 0}],t);if(x&&"OPERATION_PATH_UNRESOLVABLE"===x.name)throw new df("Cannot perform the operation from a path that does not exist","OPERATION_FROM_UNRESOLVABLE",s,n,t)}}function sw(n,s,t){try{if(!Array.isArray(n))throw new df("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");if(s)Xg(P_(s),P_(n),t||!0);else{t=t||rC;for(var o=0;o<n.length;o++)t(n[o],o,s,void 0)}}catch(l){if(l instanceof df)return l;throw l}}function AE(n,s){if(n===s)return!0;if(n&&s&&"object"==typeof n&&"object"==typeof s){var l,_,C,t=Array.isArray(n),o=Array.isArray(s);if(t&&o){if((_=n.length)!=s.length)return!1;for(l=_;0!=l--;)if(!AE(n[l],s[l]))return!1;return!0}if(t!=o)return!1;var x=Object.keys(n);if((_=x.length)!==Object.keys(s).length)return!1;for(l=_;0!=l--;)if(!s.hasOwnProperty(x[l]))return!1;for(l=_;0!=l--;)if(!AE(n[C=x[l]],s[C]))return!1;return!0}return n!=n&&s!=s}var yA=new WeakMap,gI=function n(s){this.observers=new Map,this.obj=s},vI=function n(s,t){this.callback=s,this.observer=t};function SI(n,s){s.unobserve()}function TI(n,s){var o,l=function yI(n){return yA.get(n)}(n);if(l){var _=function EI(n,s){return n.observers.get(s)}(l,s);o=_&&_.observer}else l=new gI(n),yA.set(n,l);if(o)return o;if(o={},l.value=P_(n),s){o.callback=s,o.next=null;var C=function(){EA(o)},x=function(){clearTimeout(o.next),o.next=setTimeout(C)};"undefined"!=typeof window&&(window.addEventListener("mouseup",x),window.addEventListener("keyup",x),window.addEventListener("mousedown",x),window.addEventListener("keydown",x),window.addEventListener("change",x))}return o.patches=[],o.object=n,o.unobserve=function(){EA(o),clearTimeout(o.next),function bI(n,s){n.observers.delete(s.callback)}(l,o),"undefined"!=typeof window&&(window.removeEventListener("mouseup",x),window.removeEventListener("keyup",x),window.removeEventListener("mousedown",x),window.removeEventListener("keydown",x),window.removeEventListener("change",x))},l.observers.set(s,new vI(s,o)),o}function EA(n,s){void 0===s&&(s=!1);var t=yA.get(n.object);bA(t.value,n.object,n.patches,"",s),n.patches.length&&Xg(t.value,n.patches);var o=n.patches;return o.length>0&&(n.patches=[],n.callback&&n.callback(o)),o}function bA(n,s,t,o,l){if(s!==n){"function"==typeof s.toJSON&&(s=s.toJSON());for(var _=mA(s),C=mA(n),N=!1,V=C.length-1;V>=0;V--){var oe=n[Q=C[V]];if(!nC(s,Q)||void 0===s[Q]&&void 0!==oe&&!1===Array.isArray(s))Array.isArray(n)===Array.isArray(s)?(l&&t.push({op:"test",path:o+"/"+_g(Q),value:P_(oe)}),t.push({op:"remove",path:o+"/"+_g(Q)}),N=!0):(l&&t.push({op:"test",path:o,value:n}),t.push({op:"replace",path:o,value:s}));else{var le=s[Q];"object"==typeof oe&&null!=oe&&"object"==typeof le&&null!=le&&Array.isArray(oe)===Array.isArray(le)?bA(oe,le,t,o+"/"+_g(Q),l):oe!==le&&(l&&t.push({op:"test",path:o+"/"+_g(Q),value:P_(oe)}),t.push({op:"replace",path:o+"/"+_g(Q),value:P_(le)}))}}if(N||_.length!=C.length)for(V=0;V<_.length;V++){var Q;!nC(n,Q=_[V])&&void 0!==s[Q]&&t.push({op:"add",path:o+"/"+_g(Q),value:P_(s[Q])})}}}function CI(n,s,t){void 0===t&&(t=!1);var o=[];return bA(n,s,o,"",t),o}Object.assign({},r,a,{JsonPatchError:ow,deepClone:P_,escapePathComponent:_g,unescapePathComponent:nw});var MI=i(89225),OI=i.n(MI);const Cc={add:function DI(n,s){return{op:"add",path:n,value:s}},replace:iC,remove:function xI(n){return{op:"remove",path:n}},merge:function RI(n,s){return{type:"mutation",op:"merge",path:n,value:s}},mergeDeep:function wI(n,s){return{type:"mutation",op:"mergeDeep",path:n,value:s}},context:function PI(n,s){return{type:"context",path:n,value:s}},getIn:function LI(n,s){return s.reduce((t,o)=>void 0!==o&&t?t[o]:t,n)},applyPatch:function AI(n,s,t){if(t=t||{},"merge"===(s=kc(kc({},s),{},{path:s.path&&aw(s.path)})).op){const o=CA(n,s.path);Object.assign(o,s.value),Xg(n,[iC(s.path,o)])}else if("mergeDeep"===s.op){const o=CA(n,s.path),l=OI()(o,s.value);n=Xg(n,[iC(s.path,l)]).newDocument}else if("add"===s.op&&""===s.path&&Vv(s.value)){Xg(n,Object.keys(s.value).reduce((l,_)=>(l.push({op:"add",path:`/${aw(_)}`,value:s.value[_]}),l),[]))}else if("replace"===s.op&&""===s.path){let{value:o}=s;t.allowMetaPatches&&s.meta&&oC(s)&&(Array.isArray(s.value)||Vv(s.value))&&(o=kc(kc({},o),s.meta)),n=o}else if(Xg(n,[s]),t.allowMetaPatches&&s.meta&&oC(s)&&(Array.isArray(s.value)||Vv(s.value))){const l=kc(kc({},CA(n,s.path)),s.meta);Xg(n,[iC(s.path,l)])}return n},parentPathMatch:function FI(n,s){if(!Array.isArray(s))return!1;for(let t=0,o=s.length;t<o;t+=1)if(s[t]!==n[t])return!1;return!0},flatten:DE,fullyNormalizeArray:function kI(n){return cw(DE(uw(n)))},normalizeArray:uw,isPromise:function $I(n){return Vv(n)&&dw(n.then)},forEachNew:function NI(n,s){try{return lw(n,TA,s)}catch(t){return t}},forEachNewPrimitive:function II(n,s){try{return lw(n,SA,s)}catch(t){return t}},isJsonPatch:fw,isContextPatch:function UI(n){return sC(n)&&"context"===n.type},isPatch:sC,isMutation:pw,isAdditiveMutation:oC,isGenerator:function BI(n){return"[object GeneratorFunction]"===Object.prototype.toString.call(n)},isFunction:dw,isObject:Vv,isError:function HI(n){return n instanceof Error}};function aw(n){return Array.isArray(n)?n.length<1?"":`/${n.map(s=>(s+"").replace(/~/g,"~0").replace(/\//g,"~1")).join("/")}`:n}function iC(n,s,t){return{op:"replace",path:n,value:s,meta:t}}function lw(n,s,t){return cw(DE(n.filter(oC).map(C=>s(C.value,t,C.path))||[]))}function SA(n,s,t){return t=t||[],Array.isArray(n)?n.map((o,l)=>SA(o,s,t.concat(l))):Vv(n)?Object.keys(n).map(o=>SA(n[o],s,t.concat(o))):s(n,t[t.length-1],t)}function TA(n,s,t){let o=[];if((t=t||[]).length>0){const l=s(n,t[t.length-1],t);l&&(o=o.concat(l))}if(Array.isArray(n)){const l=n.map((_,C)=>TA(_,s,t.concat(C)));l&&(o=o.concat(l))}else if(Vv(n)){const l=Object.keys(n).map(_=>TA(n[_],s,t.concat(_)));l&&(o=o.concat(l))}return o=DE(o),o}function uw(n){return Array.isArray(n)?n:[n]}function DE(n){return[].concat(...n.map(s=>Array.isArray(s)?DE(s):s))}function cw(n){return n.filter(s=>void 0!==s)}function Vv(n){return n&&"object"==typeof n}function dw(n){return n&&"function"==typeof n}function fw(n){if(sC(n)){const{op:s}=n;return"add"===s||"remove"===s||"replace"===s}return!1}function pw(n){return fw(n)||sC(n)&&"mutation"===n.type}function oC(n){return pw(n)&&("add"===n.op||"replace"===n.op||"merge"===n.op||"mergeDeep"===n.op)}function sC(n){return n&&"object"==typeof n}function CA(n,s){try{return OE(n,s)}catch(t){return console.error(t),{}}}var Zv=i(38505);function hw(n,s){function t(){Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack;for(var o=arguments.length,l=new Array(o),_=0;_<o;_++)l[_]=arguments[_];[this.message]=l,s&&s.apply(this,l)}return(t.prototype=new Error).name=n,t.prototype.constructor=t,t}var YI=i(18807),jI=i.n(YI);const GI=["properties"],VI=["properties"],ZI=["definitions","parameters","responses","securityDefinitions","components/schemas","components/responses","components/parameters","components/securitySchemes"],zI=["schema/example","items/example"];function _w(n){const s=n[n.length-1],t=n[n.length-2],o=n.join("/");return GI.indexOf(s)>-1&&-1===VI.indexOf(t)||ZI.indexOf(o)>-1||zI.some(l=>o.indexOf(l)>-1)}function MA(n,s){const[t,o]=n.split("#"),l=Zv.resolve(t||"",s||"");return o?`${l}#${o}`:l}const JI=/^([a-z]+:\/\/|\/\/)/i,T0=hw("JSONRefError",function(s,t,o){this.originalError=o,Object.assign(this,t||{})}),mg={},mw=new WeakMap,QI=[n=>"paths"===n[0]&&"responses"===n[3]&&"examples"===n[5],n=>"paths"===n[0]&&"responses"===n[3]&&"content"===n[5]&&"example"===n[7],n=>"paths"===n[0]&&"responses"===n[3]&&"content"===n[5]&&"examples"===n[7]&&"value"===n[9],n=>"paths"===n[0]&&"requestBody"===n[3]&&"content"===n[4]&&"example"===n[6],n=>"paths"===n[0]&&"requestBody"===n[3]&&"content"===n[4]&&"examples"===n[6]&&"value"===n[8],n=>"paths"===n[0]&&"parameters"===n[2]&&"example"===n[4],n=>"paths"===n[0]&&"parameters"===n[3]&&"example"===n[5],n=>"paths"===n[0]&&"parameters"===n[2]&&"examples"===n[4]&&"value"===n[6],n=>"paths"===n[0]&&"parameters"===n[3]&&"examples"===n[5]&&"value"===n[7],n=>"paths"===n[0]&&"parameters"===n[2]&&"content"===n[4]&&"example"===n[6],n=>"paths"===n[0]&&"parameters"===n[2]&&"content"===n[4]&&"examples"===n[6]&&"value"===n[8],n=>"paths"===n[0]&&"parameters"===n[3]&&"content"===n[4]&&"example"===n[7],n=>"paths"===n[0]&&"parameters"===n[3]&&"content"===n[5]&&"examples"===n[7]&&"value"===n[9]],gw=Object.assign({key:"$ref",plugin:(n,s,t,o)=>{const l=o.getInstance(),_=t.slice(0,-1);if(_w(_)||(n=>QI.some(s=>s(n)))(_))return;const{baseDoc:C}=o.getContext(t);if("string"!=typeof n)return new T0("$ref: must be a string (JSON-Ref)",{$ref:n,baseDoc:C,fullPath:t});const x=yw(n),N=x[0],V=x[1]||"";let Q,oe,le;try{Q=C||N?vw(N,C):null}catch($e){return OA($e,{pointer:V,$ref:n,basePath:Q,fullPath:t})}if(function r4(n,s,t,o){let l=mw.get(o);l||(l={},mw.set(o,l));const _=function t4(n){return 0===n.length?"":`/${n.map(Tw).join("/")}`}(t),C=`${s||"<specmap-base>"}#${n}`,x=_.replace(/allOf\/\d+\/?/g,"");if(s===o.contextTree.get([]).baseDoc&&xA(x,n))return!0;let V="";if(t.some(oe=>(V=`${V}/${Tw(oe)}`,l[V]&&l[V].some(le=>xA(le,C)||xA(C,le)))))return!0;l[x]=(l[x]||[]).concat(C)}(V,Q,_,o)&&!l.useCircularStructures){const $e=MA(n,Q);return n===$e?null:Cc.replace(t,$e)}if(null==Q?(le=DA(V),oe=o.get(le),void 0===oe&&(oe=new T0(`Could not resolve reference: ${n}`,{pointer:V,$ref:n,baseDoc:C,fullPath:t}))):(oe=Ew(Q,V),oe=null!=oe.__value?oe.__value:oe.catch($e=>{throw OA($e,{pointer:V,$ref:n,baseDoc:C,fullPath:t})})),oe instanceof Error)return[Cc.remove(t),oe];const me=MA(n,Q),ye=Cc.replace(_,oe,{$$ref:me});if(Q&&Q!==C)return[ye,Cc.context(_,{baseDoc:Q})];try{if(!function i4(n,s){const t=[n];return s.path.reduce((l,_)=>(t.push(l[_]),l[_]),n),function o(l){return Cc.isObject(l)&&(t.indexOf(l)>=0||Object.keys(l).some(_=>o(l[_])))}(s.value)}(o.state,ye)||l.useCircularStructures)return ye}catch($e){return null}}},{docCache:mg,absoluteify:vw,clearCache:function qI(n){void 0!==n?delete mg[n]:Object.keys(mg).forEach(s=>{delete mg[s]})},JSONRefError:T0,wrapError:OA,getDoc:bw,split:yw,extractFromDoc:Ew,fetchJSON:function e4(n){return fetch(n,{headers:{Accept:Ux},loadSpec:!0}).then(s=>s.text()).then(s=>cA.load(s))},extract:AA,jsonPointerToArray:DA,unescapeJsonPointerToken:Sw}),KI=gw;function vw(n,s){if(!JI.test(n)){if(!s)throw new T0(`Tried to resolve a relative URL, without having a basePath. path: '${n}' basePath: '${s}'`);return Zv.resolve(s,n)}return n}function OA(n,s){let t;return t=n&&n.response&&n.response.body?`${n.response.body.code} ${n.response.body.message}`:n.message,new T0(`Could not resolve reference: ${t}`,s,n)}function yw(n){return(n+"").split("#")}function Ew(n,s){const t=mg[n];if(t&&!Cc.isPromise(t))try{const o=AA(s,t);return Object.assign(Promise.resolve(o),{__value:o})}catch(o){return Promise.reject(o)}return bw(n).then(o=>AA(s,o))}function bw(n){const s=mg[n];return s?Cc.isPromise(s)?s:Promise.resolve(s):(mg[n]=gw.fetchJSON(n).then(t=>(mg[n]=t,t)),mg[n])}function AA(n,s){const t=DA(n);if(t.length<1)return s;const o=Cc.getIn(s,t);if(void 0===o)throw new T0(`Could not resolve pointer: ${n} does not exist in document`,{pointer:n});return o}function DA(n){if("string"!=typeof n)throw new TypeError("Expected a string, got a "+typeof n);return"/"===n[0]&&(n=n.substr(1)),""===n?[]:n.split("/").map(Sw)}function Sw(n){return"string"!=typeof n?n:new URLSearchParams(`=${n.replace(/~1/g,"/").replace(/~0/g,"~")}`).get("")}function Tw(n){return new URLSearchParams([["",n.replace(/~/g,"~0").replace(/\//g,"~1")]]).toString().slice(1)}function xA(n,s){if((n=>!n||"/"===n||"#"===n)(s))return!0;const t=n.charAt(s.length),o=s.slice(-1);return 0===n.indexOf(s)&&(!t||"/"===t||"#"===t)&&"#"!==o}const o4={key:"allOf",plugin:(n,s,t,o,l)=>{if(l.meta&&l.meta.$$ref)return;const _=t.slice(0,-1);if(_w(_))return;if(!Array.isArray(n)){const V=new TypeError("allOf must be an array");return V.fullPath=t,V}let C=!1,x=l.value;if(_.forEach(V=>{!x||(x=x[V])}),x=kc({},x),0===Object.keys(x).length)return;delete x.allOf;const N=[];return N.push(o.replace(_,{})),n.forEach((V,Q)=>{if(!o.isObject(V)){if(C)return null;C=!0;const me=new TypeError("Elements in allOf must be objects");return me.fullPath=t,N.push(me)}N.push(o.mergeDeep(_,V));const le=function WI(n,s){let{specmap:t,getBaseUrlForNodePath:o=(C=>t.getContext([...s,...C]).baseDoc),targetKeys:l=["$ref","$$ref"]}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const _=[];return jI()(n).forEach(function(){if(l.includes(this.key)&&"string"==typeof this.node){const x=this.path,N=s.concat(this.path),V=MA(this.node,o(x));_.push(t.replace(N,V))}}),_}(V,t.slice(0,-1),{getBaseUrlForNodePath:me=>o.getContext([...t,Q,...me]).baseDoc,specmap:o});N.push(...le)}),x.example&&N.push(o.remove([].concat(_,"example"))),N.push(o.mergeDeep(_,x)),x.$$ref||N.push(o.remove([].concat(_,"$$ref"))),N}},s4={key:"parameters",plugin:(n,s,t,o)=>{if(Array.isArray(n)&&n.length){const l=Object.assign([],n),_=t.slice(0,-1),C=kc({},Cc.getIn(o.spec,_));for(let x=0;x<n.length;x+=1){const N=n[x];try{l[x].default=o.parameterMacro(C,N)}catch(V){const Q=new Error(V);return Q.fullPath=t,Q}}return Cc.replace(t,l)}return Cc.replace(t,n)}},a4={key:"properties",plugin:(n,s,t,o)=>{const l=kc({},n);for(const C in n)try{l[C].default=o.modelPropertyMacro(l[C])}catch(x){const N=new Error(x);return N.fullPath=t,N}return Cc.replace(t,l)}};class l4{constructor(s){this.root=RA(s||{})}set(s,t){const o=this.getParent(s,!0);if(!o)return void aC(this.root,t,null);const l=s[s.length-1],{children:_}=o;_[l]?aC(_[l],t,o):_[l]=RA(t,o)}get(s){if((s=s||[]).length<1)return this.root.value;let o,l,t=this.root;for(let _=0;_<s.length&&(l=s[_],o=t.children,o[l]);_+=1)t=o[l];return t&&t.protoValue}getParent(s,t){return!s||s.length<1?null:s.length<2?this.root:s.slice(0,-1).reduce((o,l)=>{if(!o)return o;const{children:_}=o;return!_[l]&&t&&(_[l]=RA(null,o)),_[l]},this.root)}}function RA(n,s){return aC({children:{}},n,s)}function aC(n,s,t){return n.value=s||{},n.protoValue=t?kc(kc({},t.protoValue),n.value):n.value,Object.keys(n.children).forEach(o=>{const l=n.children[o];n.children[o]=aC(l,l.value,n)}),n}const Mw=()=>{};class u4{static getPluginName(s){return s.pluginName}static getPatchesOfType(s,t){return s.filter(t)}constructor(s){Object.assign(this,{spec:"",debugLevel:"info",plugins:[],pluginHistory:{},errors:[],mutations:[],promisedPatches:[],state:{},patches:[],context:{},contextTree:new l4,showDebug:!1,allPatches:[],pluginProp:"specMap",libMethods:Object.assign(Object.create(this),Cc,{getInstance:()=>this}),allowMetaPatches:!1},s),this.get=this._get.bind(this),this.getContext=this._getContext.bind(this),this.hasRun=this._hasRun.bind(this),this.wrappedPlugins=this.plugins.map(this.wrapPlugin.bind(this)).filter(Cc.isFunction),this.patches.push(Cc.add([],this.spec)),this.patches.push(Cc.context([],this.context)),this.updatePatches(this.patches)}debug(s){if(this.debugLevel===s){for(var t=arguments.length,o=new Array(t>1?t-1:0),l=1;l<t;l++)o[l-1]=arguments[l];console.log(...o)}}verbose(s){if("verbose"===this.debugLevel){for(var t=arguments.length,o=new Array(t>1?t-1:0),l=1;l<t;l++)o[l-1]=arguments[l];console.log(`[${s}]   `,...o)}}wrapPlugin(s,t){const{pathDiscriminator:o}=this;let _,l=null;return s[this.pluginProp]?(l=s,_=s[this.pluginProp]):Cc.isFunction(s)?_=s:Cc.isObject(s)&&(_=function C(x){const N=(V,Q)=>!Array.isArray(V)||V.every((oe,le)=>oe===Q[le]);return function*(Q,oe){const le={};for(const ye of Q.filter(Cc.isAdditiveMutation))yield*me(ye.value,ye.path,ye);function*me(ye,$e,Ne){if(Cc.isObject(ye)){const ke=$e.length-1,we=$e[ke],G=$e.indexOf("properties"),Dt="properties"===we&&ke===G,bt=oe.allowMetaPatches&&le[ye.$$ref];for(const Bt of Object.keys(ye)){const Jt=ye[Bt],Mn=$e.concat(Bt),zt=Cc.isObject(Jt),xn=ye.$$ref;if(bt||zt&&(oe.allowMetaPatches&&xn&&(le[xn]=!0),yield*me(Jt,Mn,Ne)),!Dt&&Bt===x.key){const Nn=N(o,$e);(!o||Nn)&&(yield x.plugin(Jt,Bt,Mn,oe,Ne))}}}else x.key===$e[$e.length-1]&&(yield x.plugin(ye,x.key,$e,oe))}}}(s)),Object.assign(_.bind(l),{pluginName:s.name||t,isGenerator:Cc.isGenerator(_)})}nextPlugin(){return this.wrappedPlugins.find(s=>this.getMutationsForPlugin(s).length>0)}nextPromisedPatch(){if(this.promisedPatches.length>0)return Promise.race(this.promisedPatches.map(s=>s.value))}getPluginHistory(s){const t=this.constructor.getPluginName(s);return this.pluginHistory[t]||[]}getPluginRunCount(s){return this.getPluginHistory(s).length}getPluginHistoryTip(s){const t=this.getPluginHistory(s);return t&&t[t.length-1]||{}}getPluginMutationIndex(s){const t=this.getPluginHistoryTip(s).mutationIndex;return"number"!=typeof t?-1:t}updatePluginHistory(s,t){const o=this.constructor.getPluginName(s);this.pluginHistory[o]=this.pluginHistory[o]||[],this.pluginHistory[o].push(t)}updatePatches(s){Cc.normalizeArray(s).forEach(t=>{if(t instanceof Error)this.errors.push(t);else try{if(!Cc.isObject(t))return void this.debug("updatePatches","Got a non-object patch",t);if(this.showDebug&&this.allPatches.push(t),Cc.isPromise(t.value))return this.promisedPatches.push(t),void this.promisedPatchThen(t);if(Cc.isContextPatch(t))return void this.setContext(t.path,t.value);if(Cc.isMutation(t))return void this.updateMutations(t)}catch(o){console.error(o),this.errors.push(o)}})}updateMutations(s){"object"==typeof s.value&&!Array.isArray(s.value)&&this.allowMetaPatches&&(s.value=kc({},s.value));const t=Cc.applyPatch(this.state,s,{allowMetaPatches:this.allowMetaPatches});t&&(this.mutations.push(s),this.state=t)}removePromisedPatch(s){const t=this.promisedPatches.indexOf(s);t<0?this.debug("Tried to remove a promisedPatch that isn't there!"):this.promisedPatches.splice(t,1)}promisedPatchThen(s){return s.value=s.value.then(t=>{const o=kc(kc({},s),{},{value:t});this.removePromisedPatch(s),this.updatePatches(o)}).catch(t=>{this.removePromisedPatch(s),this.updatePatches(t)}),s.value}getMutations(s,t){return"number"!=typeof t&&(t=this.mutations.length),this.mutations.slice(s=s||0,t)}getCurrentMutations(){return this.getMutationsForPlugin(this.getCurrentPlugin())}getMutationsForPlugin(s){const t=this.getPluginMutationIndex(s);return this.getMutations(t+1)}getCurrentPlugin(){return this.currentPlugin}getLib(){return this.libMethods}_get(s){return Cc.getIn(this.state,s)}_getContext(s){return this.contextTree.get(s)}setContext(s,t){return this.contextTree.set(s,t)}_hasRun(s){return this.getPluginRunCount(this.getCurrentPlugin())>(s||0)}dispatch(){const s=this,t=this.nextPlugin();if(!t){const _=this.nextPromisedPatch();if(_)return _.then(()=>this.dispatch()).catch(()=>this.dispatch());const C={spec:this.state,errors:this.errors};return this.showDebug&&(C.patches=this.allPatches),Promise.resolve(C)}if(s.pluginCount=s.pluginCount||{},s.pluginCount[t]=(s.pluginCount[t]||0)+1,s.pluginCount[t]>100)return Promise.resolve({spec:s.state,errors:s.errors.concat(new Error("We've reached a hard limit of 100 plugin runs"))});if(t!==this.currentPlugin&&this.promisedPatches.length){const _=this.promisedPatches.map(C=>C.value);return Promise.all(_.map(C=>C.then(Mw,Mw))).then(()=>this.dispatch())}return function o(){s.currentPlugin=t;const _=s.getCurrentMutations(),C=s.mutations.length-1;try{if(t.isGenerator)for(const x of t(_,s.getLib()))l(x);else l(t(_,s.getLib()))}catch(x){console.error(x),l([Object.assign(Object.create(x),{plugin:t})])}finally{s.updatePluginHistory(t,{mutationIndex:C})}return s.dispatch()}();function l(_){_&&(_=Cc.fullyNormalizeArray(_),s.updatePatches(_,t))}}}function c4(n){return new u4(n).dispatch()}const C0={refs:KI,allOf:o4,parameters:s4,properties:a4},Ow=n=>n.replace(/\W/gi,"_");function d4(n,s){let{v2OperationIdCompatibilityMode:t}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t){let o=`${s.toLowerCase()}_${n}`.replace(/[\s!@#$%^&*()_+=[{\]};:<>|./?,\\'""-]/g,"_");return o=o||`${n.substring(1)}_${s}`,o.replace(/((_){2,})/g,"_").replace(/^(_)*/g,"").replace(/([_])*$/g,"")}return`${s.toLowerCase()}${Ow(n)}`}function wA(n,s){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",{v2OperationIdCompatibilityMode:o}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return n&&"object"==typeof n?(n.operationId||"").replace(/\s/g,"").length?Ow(n.operationId):d4(s,t,{v2OperationIdCompatibilityMode:o}):null}function lC(n){const{spec:s}=n,{paths:t}=s,o={};if(!t||s.$$normalized)return n;for(const l in t){const _=t[l];if(null==_||!["object","function"].includes(typeof _))continue;const C=_.parameters;for(const x in _){const N=_[x];if(null==N||!["object","function"].includes(typeof N))continue;const V=wA(N,l,x);if(V){o[V]?o[V].push(N):o[V]=[N];const Q=o[V];if(Q.length>1)Q.forEach((oe,le)=>{oe.__originalOperationId=oe.__originalOperationId||oe.operationId,oe.operationId=`${V}${le+1}`});else if(void 0!==N.operationId){const oe=Q[0];oe.__originalOperationId=oe.__originalOperationId||N.operationId,oe.operationId=V}}if("parameters"!==x){const Q=[],oe={};for(const le in s)("produces"===le||"consumes"===le||"security"===le)&&(oe[le]=s[le],Q.push(oe));if(C&&(oe.parameters=C,Q.push(oe)),Q.length)for(const le of Q)for(const me in le)if(N[me]){if("parameters"===me)for(const ye of le[me])N[me].some(Ne=>Ne.name&&Ne.name===ye.name||Ne.$ref&&Ne.$ref===ye.$ref||Ne.$$ref&&Ne.$$ref===ye.$$ref||Ne===ye)||N[me].push(ye)}else N[me]=le[me]}}}return s.$$normalized=!0,n}function PA(n){return NA.apply(this,arguments)}function NA(){return NA=K_(function*(n){const{spec:s,mode:t,allowMetaPatches:o=!0,pathDiscriminator:l,modelPropertyMacro:_,parameterMacro:C,requestInterceptor:x,responseInterceptor:N,skipNormalization:V,useCircularStructures:Q}=n,oe=ew(n),le=tw(n);return function me(ye){oe&&(C0.refs.docCache[oe]=ye),C0.refs.fetchJSON=Yx(le,{requestInterceptor:x,responseInterceptor:N});const $e=[C0.refs];return"function"==typeof C&&$e.push(C0.parameters),"function"==typeof _&&$e.push(C0.properties),"strict"!==t&&$e.push(C0.allOf),c4({spec:ye,context:{baseDoc:oe},plugins:$e,allowMetaPatches:o,pathDiscriminator:l,parameterMacro:C,modelPropertyMacro:_,useCircularStructures:Q}).then(V?function(){var Ne=K_(function*(ke){return ke});return function(ke){return Ne.apply(this,arguments)}}():lC)}(s)}),NA.apply(this,arguments)}const Aw={name:"generic",match:()=>!0,normalize(n){let{spec:s}=n;const{spec:t}=lC({spec:s});return t},resolve:n=>K_(function*(){return PA(n)})()};function IA(){return IA=K_(function*(n){return PA(n)}),IA.apply(this,arguments)}const Dw=n=>{try{const{openapi:s}=n;return"string"==typeof s&&/^3\.0\.([0123])(?:-rc[012])?$/.test(s)}catch(s){return!1}},xw=n=>Dw(n)||(n=>{try{const{openapi:s}=n;return"string"==typeof s&&/^3\.1\.(?:[1-9]\d*|0)$/.test(s)}catch(s){return!1}})(n),Rw={name:"openapi-2",match(n){let{spec:s}=n;return(n=>{try{const{swagger:s}=n;return"2.0"===s}catch(s){return!1}})(s)},normalize(n){let{spec:s}=n;const{spec:t}=lC({spec:s});return t},resolve:n=>K_(function*(){return function f4(n){return IA.apply(this,arguments)}(n)})()};function FA(){return FA=K_(function*(n){return PA(n)}),FA.apply(this,arguments)}const ww={name:"openapi-3-0",match(n){let{spec:s}=n;return Dw(s)},normalize(n){let{spec:s}=n;const{spec:t}=lC({spec:s});return t},resolve:n=>K_(function*(){return function _4(n){return FA.apply(this,arguments)}(n)})()},m4=function(){var n=K_(function*(s){const{spec:t,requestInterceptor:o,responseInterceptor:l}=s,_=ew(s),C=tw(s),x=t||(yield Yx(C,{requestInterceptor:o,responseInterceptor:l})(_)),N=kc(kc({},s),{},{spec:x});return s.strategies.find(Q=>Q.match(N)).resolve(N)});return function(t){return n.apply(this,arguments)}}(),Pw=(n=>function(){var s=K_(function*(t){const o=kc(kc({},n),t);return m4(o)});return function(t){return s.apply(this,arguments)}}())({strategies:[ww,Rw,Aw]});var LA=i(72632);function Nw(n,s){if(null==n)return{};var o,l,t=function g4(n,s){if(null==n)return{};var l,_,t={},o=Fx(n);for(_=0;_<o.length;_++)l=o[_],!(LA(s).call(s,l)>=0)&&(t[l]=n[l]);return t}(n,s);if(WT){var _=WT(n);for(l=0;l<_.length;l++)o=_[l],!(LA(s).call(s,o)>=0)&&(!Object.prototype.propertyIsEnumerable.call(n,o)||(t[o]=n[o]))}return t}var v4=i(58102),M0=i.n(v4),y4=i(7281);function Iw(n){return"[object Object]"===Object.prototype.toString.call(n)}function Fw(n){var s,t;return!1!==Iw(n)&&(void 0===(s=n.constructor)||!(!1===Iw(t=s.prototype)||!1===t.hasOwnProperty("isPrototypeOf")))}const E4={body:function b4(n){let{req:s,value:t}=n;s.body=t},header:function T4(n){let{req:s,parameter:t,value:o}=n;s.headers=s.headers||{},void 0!==o&&(s.headers[t.name]=o)},query:function M4(n){let{req:s,value:t,parameter:o}=n;if(s.query=s.query||{},!1===t&&"boolean"===o.type&&(t="false"),0===t&&["number","integer"].indexOf(o.type)>-1&&(t="0"),t)s.query[o.name]={collectionFormat:o.collectionFormat,value:t};else if(o.allowEmptyValue&&void 0!==t){const l=o.name;s.query[l]=s.query[l]||{},s.query[l].allowEmptyValue=!0}},path:function C4(n){let{req:s,value:t,parameter:o}=n;s.url=s.url.split(`{${o.name}}`).join(encodeURIComponent(t))},formData:function S4(n){let{req:s,value:t,parameter:o}=n;(t||o.allowEmptyValue)&&(s.form=s.form||{},s.form[o.name]={value:t,allowEmptyValue:o.allowEmptyValue,collectionFormat:o.collectionFormat})}};function uC(n,s){return s.includes("application/json")?"string"==typeof n?n:JSON.stringify(n):n.toString()}function O4(n){let{req:s,value:t,parameter:o}=n;const{name:l,style:_,explode:C,content:x}=o;if(x){const V=Object.keys(x)[0];return void(s.url=s.url.split(`{${l}}`).join(b0(uC(t,V),{escape:!0})))}const N=dA({key:o.name,value:t,style:_||"simple",explode:C||!1,escape:!0});s.url=s.url.split(`{${l}}`).join(N)}function A4(n){let{req:s,value:t,parameter:o}=n;if(s.query=s.query||{},o.content){const _=uC(t,Object.keys(o.content)[0]);if(_)s.query[o.name]=_;else if(o.allowEmptyValue&&void 0!==t){const C=o.name;s.query[C]=s.query[C]||{},s.query[C].allowEmptyValue=!0}}else if(!1===t&&(t="false"),0===t&&(t="0"),t){const{style:l,explode:_,allowReserved:C}=o;s.query[o.name]={value:t,serializationOption:{style:l,explode:_,allowReserved:C}}}else if(o.allowEmptyValue&&void 0!==t){const l=o.name;s.query[l]=s.query[l]||{},s.query[l].allowEmptyValue=!0}}const D4=["accept","authorization","content-type"];function x4(n){let{req:s,parameter:t,value:o}=n;if(s.headers=s.headers||{},!(D4.indexOf(t.name.toLowerCase())>-1)){if(t.content){const l=Object.keys(t.content)[0];return void(s.headers[t.name]=uC(o,l))}void 0!==o&&(s.headers[t.name]=dA({key:t.name,value:o,style:t.style||"simple",explode:void 0!==t.explode&&t.explode,escape:!1}))}}function R4(n){let{req:s,parameter:t,value:o}=n;s.headers=s.headers||{};const l=typeof o;if(t.content){const _=Object.keys(t.content)[0];s.headers.Cookie=`${t.name}=${uC(o,_)}`}else if("undefined"!==l){const _="object"===l&&!Array.isArray(o)&&t.explode?"":`${t.name}=`;s.headers.Cookie=_+dA({key:t.name,value:o,escape:!1,style:t.style||"form",explode:void 0!==t.explode&&t.explode})}}const w4="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:window,{btoa:P4}=w4,Lw=P4;function kw(n,s){return`${s.toLowerCase()}-${n}`}const B4=["http","fetch","spec","operationId","pathName","method","parameters","securities"],$w=n=>Array.isArray(n)?n:[],U4=hw("OperationNotFoundError",function(s,t,o){this.originalError=o,Object.assign(this,t||{})}),G4={buildRequest:Hw};function V4(n){let{http:s,fetch:t,spec:o,operationId:l,pathName:_,method:C,parameters:x,securities:N}=n,V=Nw(n,B4);const Q=s||t||pA;_&&C&&!l&&(l=kw(_,C));const oe=G4.buildRequest(kc({spec:o,operationId:l,parameters:x,securities:N,http:Q},V));return oe.body&&(Fw(oe.body)||Array.isArray(oe.body))&&(oe.body=JSON.stringify(oe.body)),Q(oe)}function Hw(n){const{spec:s,operationId:t,responseContentType:o,scheme:l,requestInterceptor:_,responseInterceptor:C,contextUrl:x,userFetch:N,server:V,serverVariables:Q,http:oe,signal:le}=n;let{parameters:me,parameterBuilders:ye}=n;const $e=xw(s);ye||(ye=$e?f:E4);let ke={url:"",credentials:oe&&oe.withCredentials?"include":"same-origin",headers:{},cookies:{}};le&&(ke.signal=le),_&&(ke.requestInterceptor=_),C&&(ke.responseInterceptor=C),N&&(ke.userFetch=N);const we=function H4(n,s){return n&&n.paths?function $4(n,s){return function k4(n,s,t){if(!n||"object"!=typeof n||!n.paths||"object"!=typeof n.paths)return null;const{paths:o}=n;for(const l in o)for(const _ in o[l]){if("PARAMETERS"===_.toUpperCase())continue;const C=o[l][_];if(!C||"object"!=typeof C)continue;const x={spec:n,pathName:l,method:_.toUpperCase(),operation:C},N=s(x);if(t&&N)return x}}(n,s,!0)||null}(n,t=>{let{pathName:o,method:l,operation:_}=t;if(!_||"object"!=typeof _)return!1;const C=_.operationId;return[wA(_,o,l),kw(o,l),C].some(V=>V&&V===s)}):null}(s,t);if(!we)throw new U4(`Operation ${t} not found`);const{operation:G={},method:Dt,pathName:bt}=we;if(ke.url+=function Z4(n){return xw(n.spec)?function z4(n){let{spec:s,pathName:t,method:o,server:l,contextUrl:_,serverVariables:C={}}=n;const x=M0()(s,["paths",t,(o||"").toLowerCase(),"servers"])||M0()(s,["paths",t,"servers"])||M0()(s,["servers"]);let N="",V=null;if(l&&x&&x.length){const Q=x.map(oe=>oe.url);Q.indexOf(l)>-1&&(N=l,V=x[Q.indexOf(l)])}return!N&&x&&x.length&&(N=x[0].url,[V]=x),N.indexOf("{")>-1&&function J4(n){const s=[],t=/{([^}]+)}/g;let o;for(;o=t.exec(n);)s.push(o[1]);return s}(N).forEach(oe=>{if(V.variables&&V.variables[oe]){const le=V.variables[oe],me=C[oe]||le.default,ye=new RegExp(`{${oe}}`,"g");N=N.replace(ye,me)}}),function W4(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const t=Zv.parse(n&&s?Zv.resolve(s,n):n),o=Zv.parse(s),l=kA(t.protocol)||kA(o.protocol)||"",_=t.host||o.host,C=t.pathname||"";let x;return x=l&&_?`${l}://${_+C}`:C,"/"===x[x.length-1]?x.slice(0,-1):x}(N,_)}(n):function Q4(n){let{spec:s,scheme:t,contextUrl:o=""}=n;const l=Zv.parse(o),_=Array.isArray(s.schemes)?s.schemes[0]:null,C=t||_||kA(l.protocol)||"http",x=s.host||l.host||"",N=s.basePath||"";let V;return V=C&&x?`${C}://${x+N}`:N,"/"===V[V.length-1]?V.slice(0,-1):V}(n)}({spec:s,scheme:l,contextUrl:x,server:V,serverVariables:Q,pathName:bt,method:Dt}),!t)return delete ke.cookies,ke;ke.url+=bt,ke.method=`${Dt}`.toUpperCase(),me=me||{};const Bt=s.paths[bt]||{};o&&(ke.headers.accept=o);const Jt=(n=>{const s={};n.forEach(o=>{s[o.in]||(s[o.in]={}),s[o.in][o.name]=o});const t=[];return Object.keys(s).forEach(o=>{Object.keys(s[o]).forEach(l=>{t.push(s[o][l])})}),t})([].concat($w(G.parameters)).concat($w(Bt.parameters)));Jt.forEach(zt=>{const xn=ye[zt.in];let Nn;if("body"===zt.in&&zt.schema&&zt.schema.properties&&(Nn=me),Nn=zt&&zt.name&&me[zt.name],void 0===Nn?Nn=zt&&zt.name&&me[`${zt.in}.${zt.name}`]:((n,s)=>s.filter(t=>t.name===n))(zt.name,Jt).length>1&&console.warn(`Parameter '${zt.name}' is ambiguous because the defined spec has more than one parameter with the name: '${zt.name}' and the passed-in parameter values did not define an 'in' value.`),null!==Nn){if(void 0!==zt.default&&void 0===Nn&&(Nn=zt.default),void 0===Nn&&zt.required&&!zt.allowEmptyValue)throw new Error(`Required parameter ${zt.name} is not provided`);if($e&&zt.schema&&"object"===zt.schema.type&&"string"==typeof Nn)try{Nn=JSON.parse(Nn)}catch(zr){throw new Error("Could not parse object parameter value string as JSON")}xn&&xn({req:ke,parameter:zt,value:Nn,operation:G,spec:s})}});const Mn=kc(kc({},n),{},{operation:G});if(ke=$e?function N4(n,s){const{operation:t,requestBody:o,securities:l,spec:_,attachContentTypeForEmptyPayload:C}=n;let{requestContentType:x}=n;s=function I4(n){let{request:s,securities:t={},operation:o={},spec:l}=n;const _=kc({},s),{authorized:C={}}=t,x=o.security||l.security||[],N=C&&!!Object.keys(C).length,V=M0()(l,["components","securitySchemes"])||{};return _.headers=_.headers||{},_.query=_.query||{},Object.keys(t).length&&N&&x&&(!Array.isArray(o.security)||o.security.length)?(x.forEach(Q=>{Object.keys(Q).forEach(oe=>{const le=C[oe],me=V[oe];if(!le)return;const ye=le.value||le,{type:$e}=me;if(le)if("apiKey"===$e)"query"===me.in&&(_.query[me.name]=ye),"header"===me.in&&(_.headers[me.name]=ye),"cookie"===me.in&&(_.cookies[me.name]=ye);else if("http"===$e){if(/^basic$/i.test(me.scheme)){const we=Lw(`${ye.username||""}:${ye.password||""}`);_.headers.Authorization=`Basic ${we}`}/^bearer$/i.test(me.scheme)&&(_.headers.Authorization=`Bearer ${ye}`)}else if("oauth2"===$e||"openIdConnect"===$e){const Ne=le.token||{},we=Ne[me["x-tokenName"]||"access_token"];let G=Ne.token_type;(!G||"bearer"===G.toLowerCase())&&(G="Bearer"),_.headers.Authorization=`${G} ${we}`}})}),_):s}({request:s,securities:l,operation:t,spec:_});const N=t.requestBody||{},V=Object.keys(N.content||{}),Q=x&&V.indexOf(x)>-1;if(o||C){if(x&&Q)s.headers["Content-Type"]=x;else if(!x){const oe=V[0];oe&&(s.headers["Content-Type"]=oe,x=oe)}}else x&&Q&&(s.headers["Content-Type"]=x);if(!n.responseContentType&&t.responses){const oe=Object.entries(t.responses).filter(le=>{let[me,ye]=le;const $e=parseInt(me,10);return $e>=200&&$e<300&&Fw(ye.content)}).reduce((le,me)=>{let[,ye]=me;return le.concat(Object.keys(ye.content))},[]);oe.length>0&&(s.headers.accept=oe.join(", "))}if(o)if(x){if(V.indexOf(x)>-1)if("application/x-www-form-urlencoded"===x||"multipart/form-data"===x)if("object"==typeof o){const oe=(N.content[x]||{}).encoding||{};s.form={},Object.keys(o).forEach(le=>{s.form[le]={value:o[le],encoding:oe[le]||{}}})}else s.form=o;else s.body=o}else s.body=o;return s}(Mn,ke):function F4(n,s){const{spec:t,operation:o,securities:l,requestContentType:_,responseContentType:C,attachContentTypeForEmptyPayload:x}=n;if(s=function L4(n){let{request:s,securities:t={},operation:o={},spec:l}=n;const _=kc({},s),{authorized:C={},specSecurity:x=[]}=t,N=o.security||x,V=C&&!!Object.keys(C).length,Q=l.securityDefinitions;return _.headers=_.headers||{},_.query=_.query||{},Object.keys(t).length&&V&&N&&(!Array.isArray(o.security)||o.security.length)?(N.forEach(oe=>{Object.keys(oe).forEach(le=>{const me=C[le];if(!me)return;const{token:ye}=me,$e=me.value||me,Ne=Q[le],{type:ke}=Ne,G=ye&&ye[Ne["x-tokenName"]||"access_token"];let Dt=ye&&ye.token_type;if(me)if("apiKey"===ke){const bt="query"===Ne.in?"query":"headers";_[bt]=_[bt]||{},_[bt][Ne.name]=$e}else"basic"===ke?$e.header?_.headers.authorization=$e.header:($e.base64=Lw(`${$e.username||""}:${$e.password||""}`),_.headers.authorization=`Basic ${$e.base64}`):"oauth2"===ke&&G&&(Dt=Dt&&"bearer"!==Dt.toLowerCase()?Dt:"Bearer",_.headers.authorization=`${Dt} ${G}`)})}),_):s}({request:s,securities:l,operation:o,spec:t}),s.body||s.form||x)_?s.headers["Content-Type"]=_:Array.isArray(o.consumes)?[s.headers["Content-Type"]]=o.consumes:Array.isArray(t.consumes)?[s.headers["Content-Type"]]=t.consumes:o.parameters&&o.parameters.filter(N=>"file"===N.type).length?s.headers["Content-Type"]="multipart/form-data":o.parameters&&o.parameters.filter(N=>"formData"===N.in).length&&(s.headers["Content-Type"]="application/x-www-form-urlencoded");else if(_){const N=o.parameters&&o.parameters.filter(Q=>"body"===Q.in).length>0,V=o.parameters&&o.parameters.filter(Q=>"formData"===Q.in).length>0;(N||V)&&(s.headers["Content-Type"]=_)}return!C&&Array.isArray(o.produces)&&o.produces.length>0&&(s.headers.accept=o.produces.join(", ")),s}(Mn,ke),ke.cookies&&Object.keys(ke.cookies).length){const zt=Object.keys(ke.cookies).reduce((xn,Nn)=>xn+(xn?"&":"")+y4.serialize(Nn,ke.cookies[Nn]),"");ke.headers.Cookie=zt}return ke.cookies&&delete ke.cookies,qR(ke),ke}const kA=n=>n?n.replace(/\W/g,""):null,X4=function(){var n=K_(function*(s,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{returnEntireTree:l,baseDoc:_,requestInterceptor:C,responseInterceptor:x,parameterMacro:N,modelPropertyMacro:V,useCircularStructures:Q,strategies:oe}=o,le={spec:s,pathDiscriminator:t,baseDoc:_,requestInterceptor:C,responseInterceptor:x,parameterMacro:N,modelPropertyMacro:V,useCircularStructures:Q,strategies:oe},ye=oe.find(Ne=>Ne.match(le)).normalize(le),$e=yield Pw(kc(kc({},le),{},{spec:ye,allowMetaPatches:!0,skipNormalization:!0}));return!l&&Array.isArray(t)&&t.length&&($e.spec=M0()($e.spec,t)||null),$e});return function(t,o){return n.apply(this,arguments)}}(),K4=(n=>function(){var s=K_(function*(t,o){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const _=kc(kc({},n),l);return X4(t,o,_)});return function(t,o){return s.apply(this,arguments)}}())({strategies:[ww,Rw,Aw]});var Bw=i(88768),Uw=pe.createContext(null),Yw=function q4(n){n()};var jw={notify:function(){},get:function(){return[]}};function Gw(n,s){var t,o=jw;function C(){Q.onStateChange&&Q.onStateChange()}function N(){t||(t=s?s.addNestedSub(C):n.subscribe(C),o=function n5(){var n=Yw,s=null,t=null;return{clear:function(){s=null,t=null},notify:function(){n(function(){for(var l=s;l;)l.callback(),l=l.next})},get:function(){for(var l=[],_=s;_;)l.push(_),_=_.next;return l},subscribe:function(l){var _=!0,C=t={callback:l,next:null,prev:t};return C.prev?C.prev.next=C:s=C,function(){!_||null===s||(_=!1,C.next?C.next.prev=C.prev:t=C.prev,C.prev?C.prev.next=C.next:s=C.next)}}}}())}var Q={addNestedSub:function l(oe){return N(),o.subscribe(oe)},notifyNestedSubs:function _(){o.notify()},handleChangeWrapper:C,isSubscribed:function x(){return Boolean(t)},trySubscribe:N,tryUnsubscribe:function V(){t&&(t(),t=void 0,o.clear(),o=jw)},getListeners:function(){return o}};return Q}var Vw="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?pe.useLayoutEffect:pe.useEffect;const i5=function r5(n){var s=n.store,t=n.context,o=n.children,l=(0,pe.useMemo)(function(){var x=Gw(s);return{store:s,subscription:x}},[s]),_=(0,pe.useMemo)(function(){return s.getState()},[s]);return Vw(function(){var x=l.subscription;return x.onStateChange=x.notifyNestedSubs,x.trySubscribe(),_!==s.getState()&&x.notifyNestedSubs(),function(){x.tryUnsubscribe(),x.onStateChange=null}},[l,_]),pe.createElement((t||Uw).Provider,{value:l},o)};function gg(){return gg=Object.assign?Object.assign.bind():function(n){for(var s=1;s<arguments.length;s++){var t=arguments[s];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o])}return n},gg.apply(this,arguments)}function xE(n,s){if(null==n)return{};var l,_,t={},o=Object.keys(n);for(_=0;_<o.length;_++)!(s.indexOf(l=o[_])>=0)&&(t[l]=n[l]);return t}var o5=i(62568),Zw=i.n(o5),s5=i(56261),a5=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],l5=["reactReduxForwardedRef"],u5=[],c5=[null,null];function d5(n,s){return[s.payload,n[1]+1]}function zw(n,s,t){Vw(function(){return n.apply(void 0,s)},t)}function f5(n,s,t,o,l,_,C){n.current=o,s.current=l,t.current=!1,_.current&&(_.current=null,C())}function p5(n,s,t,o,l,_,C,x,N,V){if(n){var Q=!1,oe=null,le=function(){if(!Q){var Ne,ke,$e=s.getState();try{Ne=o($e,l.current)}catch(we){ke=we,oe=we}ke||(oe=null),Ne===_.current?C.current||N():(_.current=Ne,x.current=Ne,C.current=!0,V({type:"STORE_UPDATED",payload:{error:ke}}))}};return t.onStateChange=le,t.trySubscribe(),le(),function(){if(Q=!0,t.tryUnsubscribe(),t.onStateChange=null,oe)throw oe}}}var h5=function(){return[null,0]};function _5(n,s){void 0===s&&(s={});var o=s.getDisplayName,l=void 0===o?function(Bt){return"ConnectAdvanced("+Bt+")"}:o,_=s.methodName,C=void 0===_?"connectAdvanced":_,x=s.renderCountProp,N=void 0===x?void 0:x,V=s.shouldHandleStateChanges,Q=void 0===V||V,oe=s.storeKey,le=void 0===oe?"store":oe,$e=s.forwardRef,Ne=void 0!==$e&&$e,ke=s.context,we=void 0===ke?Uw:ke,G=xE(s,a5),bt=we;return function(Jt){var Mn=Jt.displayName||Jt.name||"Component",zt=l(Mn),xn=gg({},G,{getDisplayName:l,methodName:C,renderCountProp:N,shouldHandleStateChanges:Q,storeKey:le,displayName:zt,wrappedComponentName:Mn,WrappedComponent:Jt}),Nn=G.pure,Hr=Nn?pe.useMemo:function(Jn){return Jn()};function Vr(Jn){var Qn=(0,pe.useMemo)(function(){var Gr=Jn.reactReduxForwardedRef,Fi=xE(Jn,l5);return[Jn.context,Gr,Fi]},[Jn]),ur=Qn[0],In=Qn[1],Yr=Qn[2],Qi=(0,pe.useMemo)(function(){return ur&&ur.Consumer&&(0,s5.isContextConsumer)(pe.createElement(ur.Consumer,null))?ur:bt},[ur,bt]),Di=(0,pe.useContext)(Qi),ji=Boolean(Jn.store)&&Boolean(Jn.store.getState)&&Boolean(Jn.store.dispatch),Bn=(Boolean(Di)&&Boolean(Di.store),ji?Jn.store:Di.store),bn=(0,pe.useMemo)(function(){return function zr(Jn){return n(Jn.dispatch,xn)}(Bn)},[Bn]),Xr=(0,pe.useMemo)(function(){if(!Q)return c5;var Gr=Gw(Bn,ji?null:Di.subscription),Fi=Gr.notifyNestedSubs.bind(Gr);return[Gr,Fi]},[Bn,ji,Di]),Ni=Xr[0],Xi=Xr[1],Bo=(0,pe.useMemo)(function(){return ji?Di:gg({},Di,{subscription:Ni})},[ji,Di,Ni]),Ao=(0,pe.useReducer)(d5,u5,h5),Qs=Ao[0][0],Ii=Ao[1];if(Qs&&Qs.error)throw Qs.error;var uo=(0,pe.useRef)(),bo=(0,pe.useRef)(Yr),Qe=(0,pe.useRef)(),Pt=(0,pe.useRef)(!1),Rt=Hr(function(){return Qe.current&&Yr===bo.current?Qe.current:bn(Bn.getState(),Yr)},[Bn,Qs,Yr]);zw(f5,[bo,uo,Pt,Yr,Rt,Qe,Xi]),zw(p5,[Q,Bn,Ni,bn,bo,uo,Pt,Qe,Xi,Ii],[Bn,Ni,bn]);var qn=(0,pe.useMemo)(function(){return pe.createElement(Jt,gg({},Rt,{ref:In}))},[In,Jt,Rt]);return(0,pe.useMemo)(function(){return Q?pe.createElement(Qi.Provider,{value:Bo},qn):qn},[Qi,qn,Bo])}var qr=Nn?pe.memo(Vr):Vr;if(qr.WrappedComponent=Jt,qr.displayName=Vr.displayName=zt,Ne){var On=pe.forwardRef(function(Qn,ur){return pe.createElement(qr,gg({},Qn,{reactReduxForwardedRef:ur}))});return On.displayName=zt,On.WrappedComponent=Jt,Zw()(On,Jt)}return Zw()(qr,Jt)}}function Ww(n,s){return n===s?0!==n||0!==s||1/n==1/s:n!=n&&s!=s}function $A(n,s){if(Ww(n,s))return!0;if("object"!=typeof n||null===n||"object"!=typeof s||null===s)return!1;var t=Object.keys(n),o=Object.keys(s);if(t.length!==o.length)return!1;for(var l=0;l<t.length;l++)if(!Object.prototype.hasOwnProperty.call(s,t[l])||!Ww(n[t[l]],s[t[l]]))return!1;return!0}function HA(n){return function(t,o){var l=n(t,o);function _(){return l}return _.dependsOnOwnProps=!1,_}}function Jw(n){return null!=n.dependsOnOwnProps?Boolean(n.dependsOnOwnProps):1!==n.length}function Qw(n,s){return function(o,l){var C=function(N,V){return C.dependsOnOwnProps?C.mapToProps(N,V):C.mapToProps(N)};return C.dependsOnOwnProps=!0,C.mapToProps=function(N,V){C.mapToProps=n,C.dependsOnOwnProps=Jw(n);var Q=C(N,V);return"function"==typeof Q&&(C.mapToProps=Q,C.dependsOnOwnProps=Jw(Q),Q=C(N,V)),Q},C}}const E5=[function g5(n){return"function"==typeof n?Qw(n):void 0},function v5(n){return n?void 0:HA(function(s){return{dispatch:s}})},function y5(n){return n&&"object"==typeof n?HA(function(s){return function m5(n,s){var t={},o=function(C){var x=n[C];"function"==typeof x&&(t[C]=function(){return s(x.apply(void 0,arguments))})};for(var l in n)o(l);return t}(n,s)}):void 0}],T5=[function b5(n){return"function"==typeof n?Qw(n):void 0},function S5(n){return n?void 0:HA(function(){return{}})}];function C5(n,s,t){return gg({},t,n,s)}const D5=[function O5(n){return"function"==typeof n?function M5(n){return function(t,o){var N,_=o.pure,C=o.areMergedPropsEqual,x=!1;return function(Q,oe,le){var me=n(Q,oe,le);return x?(!_||!C(me,N))&&(N=me):(x=!0,N=me),N}}}(n):void 0},function A5(n){return n?void 0:function(){return C5}}];var x5=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function R5(n,s,t,o){return function(_,C){return t(n(_,C),s(o,C),C)}}function w5(n,s,t,o,l){var V,Q,oe,le,me,_=l.areStatesEqual,C=l.areOwnPropsEqual,x=l.areStatePropsEqual,N=!1;return function(Dt,bt){return N?function we(G,Dt){var bt=!C(Dt,Q),Bt=!_(G,V,Dt,Q);return V=G,Q=Dt,bt&&Bt?function $e(){return oe=n(V,Q),s.dependsOnOwnProps&&(le=s(o,Q)),me=t(oe,le,Q)}():bt?function Ne(){return n.dependsOnOwnProps&&(oe=n(V,Q)),s.dependsOnOwnProps&&(le=s(o,Q)),me=t(oe,le,Q)}():Bt?function ke(){var G=n(V,Q),Dt=!x(G,oe);return oe=G,Dt&&(me=t(oe,le,Q)),me}():me}(Dt,bt):function ye(G,Dt){return oe=n(V=G,Q=Dt),le=s(o,Q),me=t(oe,le,Q),N=!0,me}(Dt,bt)}}function P5(n,s){var t=s.initMapStateToProps,o=s.initMapDispatchToProps,l=s.initMergeProps,_=xE(s,x5),C=t(n,_),x=o(n,_),N=l(n,_);return(_.pure?w5:R5)(C,x,N,n,_)}var N5=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function BA(n,s,t){for(var o=s.length-1;o>=0;o--){var l=s[o](n);if(l)return l}return function(_,C){throw new Error("Invalid value of type "+typeof n+" for "+t+" argument when connecting component "+C.wrappedComponentName+".")}}function I5(n,s){return n===s}function F5(n){var s=void 0===n?{}:n,t=s.connectHOC,o=void 0===t?_5:t,l=s.mapStateToPropsFactories,_=void 0===l?T5:l,C=s.mapDispatchToPropsFactories,x=void 0===C?E5:C,N=s.mergePropsFactories,V=void 0===N?D5:N,Q=s.selectorFactory,oe=void 0===Q?P5:Q;return function(me,ye,$e,Ne){void 0===Ne&&(Ne={});var we=Ne.pure,G=void 0===we||we,Dt=Ne.areStatesEqual,bt=void 0===Dt?I5:Dt,Bt=Ne.areOwnPropsEqual,Jt=void 0===Bt?$A:Bt,Mn=Ne.areStatePropsEqual,zt=void 0===Mn?$A:Mn,xn=Ne.areMergedPropsEqual,Nn=void 0===xn?$A:xn,zr=xE(Ne,N5),Hr=BA(me,_,"mapStateToProps"),Vr=BA(ye,x,"mapDispatchToProps"),qr=BA($e,V,"mergeProps");return o(oe,gg({methodName:"connect",getDisplayName:function(Jn){return"Connect("+Jn+")"},shouldHandleStateChanges:Boolean(me),initMapStateToProps:Hr,initMapDispatchToProps:Vr,initMergeProps:qr,pure:G,areStatesEqual:bt,areOwnPropsEqual:Jt,areStatePropsEqual:zt,areMergedPropsEqual:Nn},zr))}}const L5=F5();Yw=Bw.unstable_batchedUpdates;var H5=i(12482),B5=i.n(H5),U5=i(80290),Y5=i.n(U5);function UA(n,s){(null==s||s>n.length)&&(s=n.length);for(var t=0,o=new Array(s);t<s;t++)o[t]=n[t];return o}function W5(n){return function G5(n){if(Array.isArray(n))return UA(n)}(n)||function V5(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||function Z5(n,s){if(n){if("string"==typeof n)return UA(n,s);var t=Object.prototype.toString.call(n).slice(8,-1);if("Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t)return Array.from(n);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return UA(n,s)}}(n)||function z5(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function RE(n){return(RE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(s){return typeof s}:function(s){return s&&"function"==typeof Symbol&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s})(n)}function YA(n,s,t){return(s=function Q5(n){var s=function J5(n,s){if("object"!==RE(n)||null===n)return n;var t=n[Symbol.toPrimitive];if(void 0!==t){var o=t.call(n,s||"default");if("object"!==RE(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===s?String:Number)(n)}(n,"string");return"symbol"===RE(s)?s:String(s)}(s))in n?Object.defineProperty(n,s,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[s]=t,n}function Xw(n,s){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);s&&(o=o.filter(function(l){return Object.getOwnPropertyDescriptor(n,l).enumerable})),t.push.apply(t,o)}return t}function O0(n){for(var s=1;s<arguments.length;s++){var t=null!=arguments[s]?arguments[s]:{};s%2?Xw(Object(t),!0).forEach(function(o){YA(n,o,t[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):Xw(Object(t)).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(t,o))})}return n}var jA={};function K5(n){if(0===n.length||1===n.length)return n;var s=n.join(".");return jA[s]||(jA[s]=function X5(n){var s=n.length;return 0===s||1===s?n:2===s?[n[0],n[1],"".concat(n[0],".").concat(n[1]),"".concat(n[1],".").concat(n[0])]:3===s?[n[0],n[1],n[2],"".concat(n[0],".").concat(n[1]),"".concat(n[0],".").concat(n[2]),"".concat(n[1],".").concat(n[0]),"".concat(n[1],".").concat(n[2]),"".concat(n[2],".").concat(n[0]),"".concat(n[2],".").concat(n[1]),"".concat(n[0],".").concat(n[1],".").concat(n[2]),"".concat(n[0],".").concat(n[2],".").concat(n[1]),"".concat(n[1],".").concat(n[0],".").concat(n[2]),"".concat(n[1],".").concat(n[2],".").concat(n[0]),"".concat(n[2],".").concat(n[0],".").concat(n[1]),"".concat(n[2],".").concat(n[1],".").concat(n[0])]:s>=4?[n[0],n[1],n[2],n[3],"".concat(n[0],".").concat(n[1]),"".concat(n[0],".").concat(n[2]),"".concat(n[0],".").concat(n[3]),"".concat(n[1],".").concat(n[0]),"".concat(n[1],".").concat(n[2]),"".concat(n[1],".").concat(n[3]),"".concat(n[2],".").concat(n[0]),"".concat(n[2],".").concat(n[1]),"".concat(n[2],".").concat(n[3]),"".concat(n[3],".").concat(n[0]),"".concat(n[3],".").concat(n[1]),"".concat(n[3],".").concat(n[2]),"".concat(n[0],".").concat(n[1],".").concat(n[2]),"".concat(n[0],".").concat(n[1],".").concat(n[3]),"".concat(n[0],".").concat(n[2],".").concat(n[1]),"".concat(n[0],".").concat(n[2],".").concat(n[3]),"".concat(n[0],".").concat(n[3],".").concat(n[1]),"".concat(n[0],".").concat(n[3],".").concat(n[2]),"".concat(n[1],".").concat(n[0],".").concat(n[2]),"".concat(n[1],".").concat(n[0],".").concat(n[3]),"".concat(n[1],".").concat(n[2],".").concat(n[0]),"".concat(n[1],".").concat(n[2],".").concat(n[3]),"".concat(n[1],".").concat(n[3],".").concat(n[0]),"".concat(n[1],".").concat(n[3],".").concat(n[2]),"".concat(n[2],".").concat(n[0],".").concat(n[1]),"".concat(n[2],".").concat(n[0],".").concat(n[3]),"".concat(n[2],".").concat(n[1],".").concat(n[0]),"".concat(n[2],".").concat(n[1],".").concat(n[3]),"".concat(n[2],".").concat(n[3],".").concat(n[0]),"".concat(n[2],".").concat(n[3],".").concat(n[1]),"".concat(n[3],".").concat(n[0],".").concat(n[1]),"".concat(n[3],".").concat(n[0],".").concat(n[2]),"".concat(n[3],".").concat(n[1],".").concat(n[0]),"".concat(n[3],".").concat(n[1],".").concat(n[2]),"".concat(n[3],".").concat(n[2],".").concat(n[0]),"".concat(n[3],".").concat(n[2],".").concat(n[1]),"".concat(n[0],".").concat(n[1],".").concat(n[2],".").concat(n[3]),"".concat(n[0],".").concat(n[1],".").concat(n[3],".").concat(n[2]),"".concat(n[0],".").concat(n[2],".").concat(n[1],".").concat(n[3]),"".concat(n[0],".").concat(n[2],".").concat(n[3],".").concat(n[1]),"".concat(n[0],".").concat(n[3],".").concat(n[1],".").concat(n[2]),"".concat(n[0],".").concat(n[3],".").concat(n[2],".").concat(n[1]),"".concat(n[1],".").concat(n[0],".").concat(n[2],".").concat(n[3]),"".concat(n[1],".").concat(n[0],".").concat(n[3],".").concat(n[2]),"".concat(n[1],".").concat(n[2],".").concat(n[0],".").concat(n[3]),"".concat(n[1],".").concat(n[2],".").concat(n[3],".").concat(n[0]),"".concat(n[1],".").concat(n[3],".").concat(n[0],".").concat(n[2]),"".concat(n[1],".").concat(n[3],".").concat(n[2],".").concat(n[0]),"".concat(n[2],".").concat(n[0],".").concat(n[1],".").concat(n[3]),"".concat(n[2],".").concat(n[0],".").concat(n[3],".").concat(n[1]),"".concat(n[2],".").concat(n[1],".").concat(n[0],".").concat(n[3]),"".concat(n[2],".").concat(n[1],".").concat(n[3],".").concat(n[0]),"".concat(n[2],".").concat(n[3],".").concat(n[0],".").concat(n[1]),"".concat(n[2],".").concat(n[3],".").concat(n[1],".").concat(n[0]),"".concat(n[3],".").concat(n[0],".").concat(n[1],".").concat(n[2]),"".concat(n[3],".").concat(n[0],".").concat(n[2],".").concat(n[1]),"".concat(n[3],".").concat(n[1],".").concat(n[0],".").concat(n[2]),"".concat(n[3],".").concat(n[1],".").concat(n[2],".").concat(n[0]),"".concat(n[3],".").concat(n[2],".").concat(n[0],".").concat(n[1]),"".concat(n[3],".").concat(n[2],".").concat(n[1],".").concat(n[0])]:void 0}(n)),jA[s]}function q5(n){var s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0,o=n.filter(function(_){return"token"!==_}),l=K5(o);return l.reduce(function(_,C){return O0(O0({},_),t[C])},s)}function Kw(n){return n.join(" ")}function qw(n){var s=n.node,t=n.stylesheet,o=n.style,l=void 0===o?{}:o,_=n.useInlineStyles,C=n.key,x=s.properties,V=s.tagName;if("text"===s.type)return s.value;if(V){var le,oe=function eF(n,s){var t=0;return function(o){return t+=1,o.map(function(l,_){return qw({node:l,stylesheet:n,useInlineStyles:s,key:"code-segment-".concat(t,"-").concat(_)})})}}(t,_);if(_){var me=Object.keys(t).reduce(function(ke,we){return we.split(".").forEach(function(G){ke.includes(G)||ke.push(G)}),ke},[]),ye=x.className&&x.className.includes("token")?["token"]:[],$e=x.className&&ye.concat(x.className.filter(function(ke){return!me.includes(ke)}));le=O0(O0({},x),{},{className:Kw($e)||void 0,style:q5(x.className,Object.assign({},x.style,l),t)})}else le=O0(O0({},x),{},{className:Kw(x.className)});var Ne=oe(s.children);return pe.createElement(V,gg({key:C},le),Ne)}}var nF=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function e3(n,s){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);s&&(o=o.filter(function(l){return Object.getOwnPropertyDescriptor(n,l).enumerable})),t.push.apply(t,o)}return t}function Vm(n){for(var s=1;s<arguments.length;s++){var t=null!=arguments[s]?arguments[s]:{};s%2?e3(Object(t),!0).forEach(function(o){YA(n,o,t[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):e3(Object(t)).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(t,o))})}return n}var rF=/\n/g;function sF(n){var s=n.codeString,o=n.containerStyle,_=n.numberStyle,C=void 0===_?{}:_,x=n.startingLineNumber;return pe.createElement("code",{style:Object.assign({},n.codeStyle,void 0===o?{float:"left",paddingRight:"10px"}:o)},function oF(n){var t=n.startingLineNumber,o=n.style;return n.lines.map(function(l,_){var C=_+t;return pe.createElement("span",{key:"line-".concat(_),className:"react-syntax-highlighter-line-number",style:"function"==typeof o?o(C):o},"".concat(C,"\n"))})}({lines:s.replace(/\n$/,"").split("\n"),style:C,startingLineNumber:x}))}function aF(n){return"".concat(n.toString().length,".25em")}function t3(n,s){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(n),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:s},children:[{type:"text",value:n}]}}function n3(n,s,t){var o={display:"inline-block",minWidth:aF(t),paddingRight:"1em",textAlign:"right",userSelect:"none"},l="function"==typeof n?n(s):n;return Vm(Vm({},o),l)}function cC(n){var s=n.children,t=n.lineNumber,o=n.lineNumberStyle,l=n.largestLineNumber,_=n.showInlineLineNumbers,C=n.lineProps,x=void 0===C?{}:C,N=n.className,V=void 0===N?[]:N,Q=n.showLineNumbers,oe=n.wrapLongLines,le="function"==typeof x?x(t):x;if(le.className=V,t&&_){var me=n3(o,t,l);s.unshift(t3(t,me))}return oe&Q&&(le.style=Vm(Vm({},le.style),{},{display:"flex"})),{type:"element",tagName:"span",properties:le,children:s}}function r3(n){for(var s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=0;o<n.length;o++){var l=n[o];if("text"===l.type)t.push(cC({children:[l],className:W5(new Set(s))}));else if(l.children){var _=s.concat(l.properties.className);r3(l.children,_).forEach(function(C){return t.push(C)})}}return t}function lF(n,s,t,o,l,_,C,x,N){var V,Q=r3(n.value),oe=[],le=-1,me=0;function ye(bt,Bt){var Jt=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return cC({children:bt,lineNumber:Bt,lineNumberStyle:x,largestLineNumber:C,showInlineLineNumbers:l,lineProps:t,className:Jt,showLineNumbers:o,wrapLongLines:N})}function $e(bt,Bt){if(o&&Bt&&l){var Jt=n3(x,Bt,C);bt.unshift(t3(Bt,Jt))}return bt}function Ne(bt,Bt){var Jt=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return s||Jt.length>0?ye(bt,Bt,Jt):$e(bt,Bt)}for(var ke=function(){var Bt=Q[me],Jt=Bt.children[0].value,Mn=function iF(n){return n.match(rF)}(Jt);if(Mn){var zt=Jt.split("\n");zt.forEach(function(xn,Nn){var zr=o&&oe.length+_,Hr={type:"text",value:"".concat(xn,"\n")};if(0===Nn){var qr=Ne(Q.slice(le+1,me).concat(cC({children:[Hr],className:Bt.properties.className})),zr);oe.push(qr)}else if(Nn===zt.length-1){var On=Q[me+1]&&Q[me+1].children&&Q[me+1].children[0],Jn={type:"text",value:"".concat(xn)};if(On){var Qn=cC({children:[Jn],className:Bt.properties.className});Q.splice(me+1,0,Qn)}else{var In=Ne([Jn],zr,Bt.properties.className);oe.push(In)}}else{var Qi=Ne([Hr],zr,Bt.properties.className);oe.push(Qi)}}),le=me}me++};me<Q.length;)ke();if(le!==Q.length-1){var we=Q.slice(le+1,Q.length);if(we&&we.length){var Dt=Ne(we,o&&oe.length+_);oe.push(Dt)}}return s?oe:(V=[]).concat.apply(V,oe)}function uF(n){var t=n.stylesheet,o=n.useInlineStyles;return n.rows.map(function(l,_){return qw({node:l,stylesheet:t,useInlineStyles:o,key:"code-segement".concat(_)})})}function i3(n){return n&&void 0!==n.highlightAuto}var o3=i(74538),s3=function dF(n,s){return function(o){var l=o.language,_=o.children,C=o.style,x=void 0===C?s:C,N=o.customStyle,V=void 0===N?{}:N,Q=o.codeTagProps,oe=void 0===Q?{className:l?"language-".concat(l):void 0,style:Vm(Vm({},x['code[class*="language-"]']),x['code[class*="language-'.concat(l,'"]')])}:Q,le=o.useInlineStyles,me=void 0===le||le,ye=o.showLineNumbers,$e=void 0!==ye&&ye,Ne=o.showInlineLineNumbers,ke=void 0===Ne||Ne,we=o.startingLineNumber,G=void 0===we?1:we,Dt=o.lineNumberContainerStyle,bt=o.lineNumberStyle,Bt=void 0===bt?{}:bt,Jt=o.wrapLines,Mn=o.wrapLongLines,zt=void 0!==Mn&&Mn,xn=o.lineProps,Nn=void 0===xn?{}:xn,zr=o.renderer,Hr=o.PreTag,Vr=void 0===Hr?"pre":Hr,qr=o.CodeTag,On=void 0===qr?"code":qr,Jn=o.code,Qn=void 0===Jn?(Array.isArray(_)?_[0]:_)||"":Jn,ur=o.astGenerator,In=function j5(n,s){if(null==n)return{};var o,l,t=xE(n,s);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(n);for(l=0;l<_.length;l++)!(s.indexOf(o=_[l])>=0)&&(!Object.prototype.propertyIsEnumerable.call(n,o)||(t[o]=n[o]))}return t}(o,nF);ur=ur||n;var Yr=$e?pe.createElement(sF,{containerStyle:Dt,codeStyle:oe.style||{},numberStyle:Bt,startingLineNumber:G,codeString:Qn}):null,Qi=x.hljs||x['pre[class*="language-"]']||{backgroundColor:"#fff"},Di=i3(ur)?"hljs":"prismjs",ji=Object.assign({},In,me?{style:Object.assign({},Qi,V)}:{className:In.className?"".concat(Di," ").concat(In.className):Di,style:Object.assign({},V)});if(oe.style=Vm(Vm({},oe.style),{},zt?{whiteSpace:"pre-wrap"}:{whiteSpace:"pre"}),!ur)return pe.createElement(Vr,ji,Yr,pe.createElement(On,oe,Qn));(void 0===Jt&&zr||zt)&&(Jt=!0),zr=zr||uF;var Wr=[{type:"text",value:Qn}],Bn=function cF(n){var s=n.astGenerator,t=n.language,o=n.code,l=n.defaultCodeValue;if(i3(s)){var _=function(n,s){return-1!==n.listLanguages().indexOf(s)}(s,t);return"text"===t?{value:l,language:"text"}:_?s.highlight(t,o):s.highlightAuto(o)}try{return t&&"text"!==t?{value:s.highlight(o,t)}:{value:l}}catch(C){return{value:l}}}({astGenerator:ur,language:l,code:Qn,defaultCodeValue:Wr});null===Bn.language&&(Bn.value=Wr);var Xr=lF(Bn,Jt,Nn,$e,ke,G,Bn.value.length+G,Bt,zt);return pe.createElement(Vr,ji,pe.createElement(On,oe,!ke&&Yr,zr({rows:Xr,stylesheet:x,useInlineStyles:me})))}}(o3,{});s3.registerLanguage=o3.registerLanguage;const fF=s3;var pF=i(36147);const _F=i.n(pF)();var mF=i(92229);const vF=i.n(mF)();var yF=i(13546);const bF=i.n(yF)();var SF=i(4357);const CF=i.n(SF)();var MF=i(44776);const AF=i.n(MF)();var DF=i(28390);const RF=i.n(DF)();var wF=i(78932);const NF=i.n(wF)(),IF={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#333",color:"white"},"hljs-name":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-code":{fontStyle:"italic",color:"#888"},"hljs-emphasis":{fontStyle:"italic"},"hljs-tag":{color:"#62c8f3"},"hljs-variable":{color:"#ade5fc"},"hljs-template-variable":{color:"#ade5fc"},"hljs-selector-id":{color:"#ade5fc"},"hljs-selector-class":{color:"#ade5fc"},"hljs-string":{color:"#a2fca2"},"hljs-bullet":{color:"#d36363"},"hljs-type":{color:"#ffa"},"hljs-title":{color:"#ffa"},"hljs-section":{color:"#ffa"},"hljs-attribute":{color:"#ffa"},"hljs-quote":{color:"#ffa"},"hljs-built_in":{color:"#ffa"},"hljs-builtin-name":{color:"#ffa"},"hljs-number":{color:"#d36363"},"hljs-symbol":{color:"#d36363"},"hljs-keyword":{color:"#fcc28c"},"hljs-selector-tag":{color:"#fcc28c"},"hljs-literal":{color:"#fcc28c"},"hljs-comment":{color:"#888"},"hljs-deletion":{color:"#333",backgroundColor:"#fc9b9b"},"hljs-regexp":{color:"#c6b4f0"},"hljs-link":{color:"#c6b4f0"},"hljs-meta":{color:"#fc9b9b"},"hljs-addition":{backgroundColor:"#a2fca2",color:"#333"}},FF={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#222",color:"#aaa"},"hljs-subst":{color:"#aaa"},"hljs-section":{color:"#fff",fontWeight:"bold"},"hljs-comment":{color:"#444"},"hljs-quote":{color:"#444"},"hljs-meta":{color:"#444"},"hljs-string":{color:"#ffcc33"},"hljs-symbol":{color:"#ffcc33"},"hljs-bullet":{color:"#ffcc33"},"hljs-regexp":{color:"#ffcc33"},"hljs-number":{color:"#00cc66"},"hljs-addition":{color:"#00cc66"},"hljs-built_in":{color:"#32aaee"},"hljs-builtin-name":{color:"#32aaee"},"hljs-literal":{color:"#32aaee"},"hljs-type":{color:"#32aaee"},"hljs-template-variable":{color:"#32aaee"},"hljs-attribute":{color:"#32aaee"},"hljs-link":{color:"#32aaee"},"hljs-keyword":{color:"#6644aa"},"hljs-selector-tag":{color:"#6644aa"},"hljs-name":{color:"#6644aa"},"hljs-selector-id":{color:"#6644aa"},"hljs-selector-class":{color:"#6644aa"},"hljs-title":{color:"#bb1166"},"hljs-variable":{color:"#bb1166"},"hljs-deletion":{color:"#bb1166"},"hljs-template-tag":{color:"#bb1166"},"hljs-doctag":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}},LF={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#272822",color:"#ddd"},"hljs-tag":{color:"#f92672"},"hljs-keyword":{color:"#f92672",fontWeight:"bold"},"hljs-selector-tag":{color:"#f92672",fontWeight:"bold"},"hljs-literal":{color:"#f92672",fontWeight:"bold"},"hljs-strong":{color:"#f92672"},"hljs-name":{color:"#f92672"},"hljs-code":{color:"#66d9ef"},"hljs-class .hljs-title":{color:"white"},"hljs-attribute":{color:"#bf79db"},"hljs-symbol":{color:"#bf79db"},"hljs-regexp":{color:"#bf79db"},"hljs-link":{color:"#bf79db"},"hljs-string":{color:"#a6e22e"},"hljs-bullet":{color:"#a6e22e"},"hljs-subst":{color:"#a6e22e"},"hljs-title":{color:"#a6e22e",fontWeight:"bold"},"hljs-section":{color:"#a6e22e",fontWeight:"bold"},"hljs-emphasis":{color:"#a6e22e"},"hljs-type":{color:"#a6e22e",fontWeight:"bold"},"hljs-built_in":{color:"#a6e22e"},"hljs-builtin-name":{color:"#a6e22e"},"hljs-selector-attr":{color:"#a6e22e"},"hljs-selector-pseudo":{color:"#a6e22e"},"hljs-addition":{color:"#a6e22e"},"hljs-variable":{color:"#a6e22e"},"hljs-template-tag":{color:"#a6e22e"},"hljs-template-variable":{color:"#a6e22e"},"hljs-comment":{color:"#75715e"},"hljs-quote":{color:"#75715e"},"hljs-deletion":{color:"#75715e"},"hljs-meta":{color:"#75715e"},"hljs-doctag":{fontWeight:"bold"},"hljs-selector-id":{fontWeight:"bold"}},kF={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#2E3440",color:"#D8DEE9"},"hljs-subst":{color:"#D8DEE9"},"hljs-selector-tag":{color:"#81A1C1"},"hljs-selector-id":{color:"#8FBCBB",fontWeight:"bold"},"hljs-selector-class":{color:"#8FBCBB"},"hljs-selector-attr":{color:"#8FBCBB"},"hljs-selector-pseudo":{color:"#88C0D0"},"hljs-addition":{backgroundColor:"rgba(163, 190, 140, 0.5)"},"hljs-deletion":{backgroundColor:"rgba(191, 97, 106, 0.5)"},"hljs-built_in":{color:"#8FBCBB"},"hljs-type":{color:"#8FBCBB"},"hljs-class":{color:"#8FBCBB"},"hljs-function":{color:"#88C0D0"},"hljs-function > .hljs-title":{color:"#88C0D0"},"hljs-keyword":{color:"#81A1C1"},"hljs-literal":{color:"#81A1C1"},"hljs-symbol":{color:"#81A1C1"},"hljs-number":{color:"#B48EAD"},"hljs-regexp":{color:"#EBCB8B"},"hljs-string":{color:"#A3BE8C"},"hljs-title":{color:"#8FBCBB"},"hljs-params":{color:"#D8DEE9"},"hljs-bullet":{color:"#81A1C1"},"hljs-code":{color:"#8FBCBB"},"hljs-emphasis":{fontStyle:"italic"},"hljs-formula":{color:"#8FBCBB"},"hljs-strong":{fontWeight:"bold"},"hljs-link:hover":{textDecoration:"underline"},"hljs-quote":{color:"#4C566A"},"hljs-comment":{color:"#4C566A"},"hljs-doctag":{color:"#8FBCBB"},"hljs-meta":{color:"#5E81AC"},"hljs-meta-keyword":{color:"#5E81AC"},"hljs-meta-string":{color:"#A3BE8C"},"hljs-attr":{color:"#8FBCBB"},"hljs-attribute":{color:"#D8DEE9"},"hljs-builtin-name":{color:"#81A1C1"},"hljs-name":{color:"#81A1C1"},"hljs-section":{color:"#88C0D0"},"hljs-tag":{color:"#81A1C1"},"hljs-variable":{color:"#D8DEE9"},"hljs-template-variable":{color:"#D8DEE9"},"hljs-template-tag":{color:"#5E81AC"},"abnf .hljs-attribute":{color:"#88C0D0"},"abnf .hljs-symbol":{color:"#EBCB8B"},"apache .hljs-attribute":{color:"#88C0D0"},"apache .hljs-section":{color:"#81A1C1"},"arduino .hljs-built_in":{color:"#88C0D0"},"aspectj .hljs-meta":{color:"#D08770"},"aspectj > .hljs-title":{color:"#88C0D0"},"bnf .hljs-attribute":{color:"#8FBCBB"},"clojure .hljs-name":{color:"#88C0D0"},"clojure .hljs-symbol":{color:"#EBCB8B"},"coq .hljs-built_in":{color:"#88C0D0"},"cpp .hljs-meta-string":{color:"#8FBCBB"},"css .hljs-built_in":{color:"#88C0D0"},"css .hljs-keyword":{color:"#D08770"},"diff .hljs-meta":{color:"#8FBCBB"},"ebnf .hljs-attribute":{color:"#8FBCBB"},"glsl .hljs-built_in":{color:"#88C0D0"},"groovy .hljs-meta:not(:first-child)":{color:"#D08770"},"haxe .hljs-meta":{color:"#D08770"},"java .hljs-meta":{color:"#D08770"},"ldif .hljs-attribute":{color:"#8FBCBB"},"lisp .hljs-name":{color:"#88C0D0"},"lua .hljs-built_in":{color:"#88C0D0"},"moonscript .hljs-built_in":{color:"#88C0D0"},"nginx .hljs-attribute":{color:"#88C0D0"},"nginx .hljs-section":{color:"#5E81AC"},"pf .hljs-built_in":{color:"#88C0D0"},"processing .hljs-built_in":{color:"#88C0D0"},"scss .hljs-keyword":{color:"#81A1C1"},"stylus .hljs-keyword":{color:"#81A1C1"},"swift .hljs-meta":{color:"#D08770"},"vim .hljs-built_in":{color:"#88C0D0",fontStyle:"italic"},"yaml .hljs-meta":{color:"#D08770"}},$F={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#282b2e",color:"#e0e2e4"},"hljs-keyword":{color:"#93c763",fontWeight:"bold"},"hljs-selector-tag":{color:"#93c763",fontWeight:"bold"},"hljs-literal":{color:"#93c763",fontWeight:"bold"},"hljs-selector-id":{color:"#93c763"},"hljs-number":{color:"#ffcd22"},"hljs-attribute":{color:"#668bb0"},"hljs-code":{color:"white"},"hljs-class .hljs-title":{color:"white"},"hljs-section":{color:"white",fontWeight:"bold"},"hljs-regexp":{color:"#d39745"},"hljs-link":{color:"#d39745"},"hljs-meta":{color:"#557182"},"hljs-tag":{color:"#8cbbad"},"hljs-name":{color:"#8cbbad",fontWeight:"bold"},"hljs-bullet":{color:"#8cbbad"},"hljs-subst":{color:"#8cbbad"},"hljs-emphasis":{color:"#8cbbad"},"hljs-type":{color:"#8cbbad",fontWeight:"bold"},"hljs-built_in":{color:"#8cbbad"},"hljs-selector-attr":{color:"#8cbbad"},"hljs-selector-pseudo":{color:"#8cbbad"},"hljs-addition":{color:"#8cbbad"},"hljs-variable":{color:"#8cbbad"},"hljs-template-tag":{color:"#8cbbad"},"hljs-template-variable":{color:"#8cbbad"},"hljs-string":{color:"#ec7600"},"hljs-symbol":{color:"#ec7600"},"hljs-comment":{color:"#818e96"},"hljs-quote":{color:"#818e96"},"hljs-deletion":{color:"#818e96"},"hljs-selector-class":{color:"#A082BD"},"hljs-doctag":{fontWeight:"bold"},"hljs-title":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"}},HF={"hljs-comment":{color:"#969896"},"hljs-quote":{color:"#969896"},"hljs-variable":{color:"#cc6666"},"hljs-template-variable":{color:"#cc6666"},"hljs-tag":{color:"#cc6666"},"hljs-name":{color:"#cc6666"},"hljs-selector-id":{color:"#cc6666"},"hljs-selector-class":{color:"#cc6666"},"hljs-regexp":{color:"#cc6666"},"hljs-deletion":{color:"#cc6666"},"hljs-number":{color:"#de935f"},"hljs-built_in":{color:"#de935f"},"hljs-builtin-name":{color:"#de935f"},"hljs-literal":{color:"#de935f"},"hljs-type":{color:"#de935f"},"hljs-params":{color:"#de935f"},"hljs-meta":{color:"#de935f"},"hljs-link":{color:"#de935f"},"hljs-attribute":{color:"#f0c674"},"hljs-string":{color:"#b5bd68"},"hljs-symbol":{color:"#b5bd68"},"hljs-bullet":{color:"#b5bd68"},"hljs-addition":{color:"#b5bd68"},"hljs-title":{color:"#81a2be"},"hljs-section":{color:"#81a2be"},"hljs-keyword":{color:"#b294bb"},"hljs-selector-tag":{color:"#b294bb"},hljs:{display:"block",overflowX:"auto",background:"#1d1f21",color:"#c5c8c6",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};var BF=i(43155),UF=i(35037),YF=i.n(UF),jF=i(93890),GF=i.n(jF),VF=i(98990),ZF=i.n(VF),zF=i(52190),WF=i.n(zF),JF=i(71166),QF=i.n(JF),XF=i(52243),KF=i.n(XF),a3=i(15805),A0=i(68645),GA=i(62734),l3=i(76593);function zv(n){var s;return(zv=GA?A0(s=l3).call(s):function(o){return o.__proto__||l3(o)})(n)}function qF(n,s){for(;!Object.prototype.hasOwnProperty.call(n,s)&&null!==(n=zv(n)););return n}function dC(){var n;return dC="undefined"!=typeof Reflect&&a3?A0(n=a3).call(n):function(t,o,l){var _=qF(t,o);if(_){var C=WO(_,o);return C.get?C.get.call(arguments.length<3?t:l):C.value}},dC.apply(this,arguments)}var u3=i(54839),c3=i(73921);function wE(n,s){var t;return(wE=GA?A0(t=GA).call(t):function(l,_){return l.__proto__=_,l})(n,s)}var PE=i(69244);function d3(){if("undefined"==typeof Reflect||!PE||PE.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(PE(Boolean,[],function(){})),!0}catch(n){return!1}}function fC(n,s,t){var o;return(fC=d3()?A0(o=PE).call(o):function(_,C,x){var N=[null];N.push.apply(N,C);var Q=new(A0(Function).apply(_,N));return x&&wE(Q,x.prototype),Q}).apply(null,arguments)}function VA(n){var s="function"==typeof u3?new u3:void 0;return VA=function(o){if(null===o||!function eL(n){var s;return-1!==LA(s=Function.toString.call(n)).call(s,"[native code]")}(o))return o;if("function"!=typeof o)throw new TypeError("Super expression must either be null or a function");if(void 0!==s){if(s.has(o))return s.get(o);s.set(o,l)}function l(){return fC(o,arguments,zv(this).constructor)}return l.prototype=c3(o.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),wE(l,o)},VA(n)}var tL=i(45163),nL=i.n(tL),rL=i(30071),iL=i.n(rL),oL=i(58711),sL=i.n(oL),aL=i(15886),lL=i.n(aL),uL=i(34377),cL=i.n(uL),dL=i(28086),fL=i.n(dL),pL=i(56166),hL=i.n(pL),_L=i(10068),mL=i.n(_L),gL=i(45819),vL=i.n(gL),yL=i(84901),EL=i.n(yL),bL=i(35524),SL=i.n(bL),TL=i(71851),CL=i.n(TL),ML=i(91465),OL=i.n(ML),AL=i(37940),DL=i.n(AL),xL=i(35431),RL=i.n(xL),wL=i(46558),PL=i.n(wL),NL=i(53625),IL=i.n(NL),FL=i(31978),LL=i.n(FL),kL=i(84220),$L=i.n(kL),HL=i(40984),BL=i.n(HL),UL=i(44859),YL=i.n(UL),jL=i(54082),GL=i.n(jL),VL=i(30508),ZL=i.n(VL),zL=i(46245),WL=i.n(zL),JL=i(69605),QL=i.n(JL),XL=i(87513),KL=i.n(XL),qL=i(69253),e7=i.n(qL);function f3(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function t7(n,s){if(!(n instanceof s))throw new TypeError("Cannot call a class as a function")}function p3(n,s){for(var t=0;t<s.length;t++){var o=s[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),EE(n,$x(o.key),o)}}function n7(n,s,t){return s&&p3(n.prototype,s),t&&p3(n,t),EE(n,"prototype",{writable:!1}),n}function r7(n,s){var t=void 0!==Uv&&ZO(n)||n["@@iterator"];if(!t){if(VO(n)||(t=zT(n))||s&&n&&"number"==typeof n.length){t&&(n=t);var o=0,l=function(){};return{s:l,n:function(){return o>=n.length?{done:!0}:{done:!1,value:n[o++]}},e:function(V){throw V},f:l}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var x,_=!0,C=!1;return{s:function(){t=t.call(n)},n:function(){var V=t.next();return _=V.done,V},e:function(V){C=!0,x=V},f:function(){try{!_&&null!=t.return&&t.return()}finally{if(C)throw x}}}}function i7(n,s){if(s&&("object"===Yv(s)||"function"==typeof s))return s;if(void 0!==s)throw new TypeError("Derived constructors may only return object or undefined");return f3(n)}function o7(n){var s=d3();return function(){var l,o=zv(n);if(s){var _=zv(this).constructor;l=PE(o,arguments,_)}else l=o.apply(this,arguments);return i7(this,l)}}var h3=i(95343);function ZA(){var n;return ZA=h3?A0(n=h3).call(n):function(s){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var l in o)Object.prototype.hasOwnProperty.call(o,l)&&(s[l]=o[l])}return s},ZA.apply(this,arguments)}function s7(n,s){if("function"!=typeof s&&null!==s)throw new TypeError("Super expression must either be null or a function");n.prototype=c3(s&&s.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),EE(n,"prototype",{writable:!1}),s&&wE(n,s)}function l7(n,s){return Dx(n)||function a7(n,s){var t=null==n?null:void 0!==Uv&&ZO(n)||n["@@iterator"];if(null!=t){var o,l,_,C,x=[],N=!0,V=!1;try{if(_=(t=t.call(n)).next,0===s){if(Object(t)!==t)return;N=!1}else for(;!(N=(o=_.call(t)).done)&&(x.push(o.value),x.length!==s);N=!0);}catch(Q){V=!0,l=Q}finally{try{if(!N&&null!=t.return&&(C=t.return(),Object(C)!==C))return}finally{if(V)throw l}}return x}}(n,s)||zT(n,s)||wx()}function d7(n){return function u7(n){if(VO(n))return zO(n)}(n)||Rx(n)||zT(n)||function c7(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var f7=i(96434),p7=i.t(f7,2),h7=i(82885),_7=i.n(h7),m7=i(12658),g7=i.t(m7,2),v7=i(55836),y7=i.n(v7),E7=i(97425),b7=i.n(E7),S7=i(76874),T7=i.n(S7),C7=i(43409),M7=i(14395),O7=i.n(M7);function _3(n,s){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);s&&(o=o.filter(function(l){return Object.getOwnPropertyDescriptor(n,l).enumerable})),t.push.apply(t,o)}return t}function m3(n){for(var s=1;s<arguments.length;s++){var t=null!=arguments[s]?arguments[s]:{};s%2?_3(Object(t),!0).forEach(function(o){YA(n,o,t[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):_3(Object(t)).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(t,o))})}return n}function Ip(n){return"Minified Redux error #"+n+"; visit https://redux.js.org/Errors?code="+n+" for the full message or use the non-minified dev environment for full errors. "}var pC,g3="function"==typeof Symbol&&Symbol.observable||"@@observable",zA=function(){return Math.random().toString(36).substring(7).split("").join(".")},D0={INIT:"@@redux/INIT"+zA(),REPLACE:"@@redux/REPLACE"+zA(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+zA()}};function v3(n){if("object"!=typeof n||null===n)return!1;for(var s=n;null!==Object.getPrototypeOf(s);)s=Object.getPrototypeOf(s);return Object.getPrototypeOf(n)===s}function y3(n,s,t){var o;if("function"==typeof s&&"function"==typeof t||"function"==typeof t&&"function"==typeof arguments[3])throw new Error(Ip(0));if("function"==typeof s&&void 0===t&&(t=s,s=void 0),void 0!==t){if("function"!=typeof t)throw new Error(Ip(1));return t(y3)(n,s)}if("function"!=typeof n)throw new Error(Ip(2));var l=n,_=s,C=[],x=C,N=!1;function V(){x===C&&(x=C.slice())}function Q(){if(N)throw new Error(Ip(3));return _}function oe($e){if("function"!=typeof $e)throw new Error(Ip(4));if(N)throw new Error(Ip(5));var Ne=!0;return V(),x.push($e),function(){if(Ne){if(N)throw new Error(Ip(6));Ne=!1,V();var we=x.indexOf($e);x.splice(we,1),C=null}}}function le($e){if(!v3($e))throw new Error(Ip(7));if(void 0===$e.type)throw new Error(Ip(8));if(N)throw new Error(Ip(9));try{N=!0,_=l(_,$e)}finally{N=!1}for(var Ne=C=x,ke=0;ke<Ne.length;ke++)(0,Ne[ke])();return $e}function me($e){if("function"!=typeof $e)throw new Error(Ip(10));l=$e,le({type:D0.REPLACE})}function ye(){var $e,Ne=oe;return($e={subscribe:function(we){if("object"!=typeof we||null===we)throw new Error(Ip(11));function G(){we.next&&we.next(Q())}return G(),{unsubscribe:Ne(G)}}})[g3]=function(){return this},$e}return le({type:D0.INIT}),(o={dispatch:le,subscribe:oe,getState:Q,replaceReducer:me})[g3]=ye,o}function E3(n,s){return function(){return s(n.apply(this,arguments))}}function P7(n,s){if("function"==typeof n)return E3(n,s);if("object"!=typeof n||null===n)throw new Error(Ip(16));var t={};for(var o in n){var l=n[o];"function"==typeof l&&(t[o]=E3(l,s))}return t}function b3(){for(var n=arguments.length,s=new Array(n),t=0;t<n;t++)s[t]=arguments[t];return 0===s.length?function(o){return o}:1===s.length?s[0]:s.reduce(function(o,l){return function(){return o(l.apply(void 0,arguments))}})}function N7(){for(var n=arguments.length,s=new Array(n),t=0;t<n;t++)s[t]=arguments[t];return function(o){return function(){var l=o.apply(void 0,arguments),_=function(){throw new Error(Ip(15))},C={getState:l.getState,dispatch:function(){return _.apply(void 0,arguments)}},x=s.map(function(N){return N(C)});return _=b3.apply(void 0,x)(l.dispatch),m3(m3({},l),{},{dispatch:_})}}}function S3(n){return(pC=pC||document.createElement("textarea")).innerHTML="&"+n+";",pC.value}var L7=Object.prototype.hasOwnProperty;function WA(n){var s=[].slice.call(arguments,1);return s.forEach(function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach(function(o){n[o]=t[o]})}}),n}var k7=/\\([\\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;function x0(n){return n.indexOf("\\")<0?n:n.replace(k7,"$1")}function JA(n){return!(n>=55296&&n<=57343||n>=64976&&n<=65007||65535==(65535&n)||65534==(65535&n)||n>=0&&n<=8||11===n||n>=14&&n<=31||n>=127&&n<=159||n>1114111)}function hC(n){return n>65535?(n-=65536,String.fromCharCode(55296+(n>>10),56320+(1023&n))):String.fromCharCode(n)}var $7=/&([a-z#][a-z0-9]{1,31});/gi,H7=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i;function B7(n,s){var t=0,o=S3(s);return s!==o?o:35===s.charCodeAt(0)&&H7.test(s)&&JA(t="x"===s[1].toLowerCase()?parseInt(s.slice(2),16):parseInt(s.slice(1),10))?hC(t):n}function Kg(n){return n.indexOf("&")<0?n:n.replace($7,B7)}var U7=/[&<>"]/,Y7=/[&<>"]/g,j7={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function G7(n){return j7[n]}function Fh(n){return U7.test(n)?n.replace(Y7,G7):n}var ea={};function C3(n,s){return++s>=n.length-2?s:"paragraph_open"===n[s].type&&n[s].tight&&"inline"===n[s+1].type&&0===n[s+1].content.length&&"paragraph_close"===n[s+2].type&&n[s+2].tight?C3(n,s+2):s}ea.blockquote_open=function(){return"<blockquote>\n"},ea.blockquote_close=function(n,s){return"</blockquote>"+Wv(n,s)},ea.code=function(n,s){return n[s].block?"<pre><code>"+Fh(n[s].content)+"</code></pre>"+Wv(n,s):"<code>"+Fh(n[s].content)+"</code>"},ea.fence=function(n,s,t,o,l){var V,Q,_=n[s],C="",x=t.langPrefix;if(_.params){if(Q=(V=_.params.split(/\s+/g)).join(" "),function T3(n,s){return!!n&&L7.call(n,s)}(l.rules.fence_custom,V[0]))return l.rules.fence_custom[V[0]](n,s,t,o,l);C=' class="'+x+Fh(Kg(x0(Q)))+'"'}return"<pre><code"+C+">"+(t.highlight&&t.highlight.apply(t.highlight,[_.content].concat(V))||Fh(_.content))+"</code></pre>"+Wv(n,s)},ea.fence_custom={},ea.heading_open=function(n,s){return"<h"+n[s].hLevel+">"},ea.heading_close=function(n,s){return"</h"+n[s].hLevel+">\n"},ea.hr=function(n,s,t){return(t.xhtmlOut?"<hr />":"<hr>")+Wv(n,s)},ea.bullet_list_open=function(){return"<ul>\n"},ea.bullet_list_close=function(n,s){return"</ul>"+Wv(n,s)},ea.list_item_open=function(){return"<li>"},ea.list_item_close=function(){return"</li>\n"},ea.ordered_list_open=function(n,s){var t=n[s];return"<ol"+(t.order>1?' start="'+t.order+'"':"")+">\n"},ea.ordered_list_close=function(n,s){return"</ol>"+Wv(n,s)},ea.paragraph_open=function(n,s){return n[s].tight?"":"<p>"},ea.paragraph_close=function(n,s){return(n[s].tight?"":"</p>")+(n[s].tight&&s&&"inline"===n[s-1].type&&!n[s-1].content?"":Wv(n,s))},ea.link_open=function(n,s,t){var o=n[s].title?' title="'+Fh(Kg(n[s].title))+'"':"",l=t.linkTarget?' target="'+t.linkTarget+'"':"";return'<a href="'+Fh(n[s].href)+'"'+o+l+">"},ea.link_close=function(){return"</a>"},ea.image=function(n,s,t){var o=' src="'+Fh(n[s].src)+'"',l=n[s].title?' title="'+Fh(Kg(n[s].title))+'"':"";return"<img"+o+' alt="'+(n[s].alt?Fh(Kg(x0(n[s].alt))):"")+'"'+l+(t.xhtmlOut?" /":"")+">"},ea.table_open=function(){return"<table>\n"},ea.table_close=function(){return"</table>\n"},ea.thead_open=function(){return"<thead>\n"},ea.thead_close=function(){return"</thead>\n"},ea.tbody_open=function(){return"<tbody>\n"},ea.tbody_close=function(){return"</tbody>\n"},ea.tr_open=function(){return"<tr>"},ea.tr_close=function(){return"</tr>\n"},ea.th_open=function(n,s){var t=n[s];return"<th"+(t.align?' style="text-align:'+t.align+'"':"")+">"},ea.th_close=function(){return"</th>"},ea.td_open=function(n,s){var t=n[s];return"<td"+(t.align?' style="text-align:'+t.align+'"':"")+">"},ea.td_close=function(){return"</td>"},ea.strong_open=function(){return"<strong>"},ea.strong_close=function(){return"</strong>"},ea.em_open=function(){return"<em>"},ea.em_close=function(){return"</em>"},ea.del_open=function(){return"<del>"},ea.del_close=function(){return"</del>"},ea.ins_open=function(){return"<ins>"},ea.ins_close=function(){return"</ins>"},ea.mark_open=function(){return"<mark>"},ea.mark_close=function(){return"</mark>"},ea.sub=function(n,s){return"<sub>"+Fh(n[s].content)+"</sub>"},ea.sup=function(n,s){return"<sup>"+Fh(n[s].content)+"</sup>"},ea.hardbreak=function(n,s,t){return t.xhtmlOut?"<br />\n":"<br>\n"},ea.softbreak=function(n,s,t){return t.breaks?t.xhtmlOut?"<br />\n":"<br>\n":"\n"},ea.text=function(n,s){return Fh(n[s].content)},ea.htmlblock=function(n,s){return n[s].content},ea.htmltag=function(n,s){return n[s].content},ea.abbr_open=function(n,s){return'<abbr title="'+Fh(Kg(n[s].title))+'">'},ea.abbr_close=function(){return"</abbr>"},ea.footnote_ref=function(n,s){var t=Number(n[s].id+1).toString(),o="fnref"+t;return n[s].subId>0&&(o+=":"+n[s].subId),'<sup class="footnote-ref"><a href="#fn'+t+'" id="'+o+'">['+t+"]</a></sup>"},ea.footnote_block_open=function(n,s,t){return(t.xhtmlOut?'<hr class="footnotes-sep" />\n':'<hr class="footnotes-sep">\n')+'<section class="footnotes">\n<ol class="footnotes-list">\n'},ea.footnote_block_close=function(){return"</ol>\n</section>\n"},ea.footnote_open=function(n,s){return'<li id="fn'+Number(n[s].id+1).toString()+'"  class="footnote-item">'},ea.footnote_close=function(){return"</li>\n"},ea.footnote_anchor=function(n,s){var o="fnref"+Number(n[s].id+1).toString();return n[s].subId>0&&(o+=":"+n[s].subId),' <a href="#'+o+'" class="footnote-backref">\u21a9</a>'},ea.dl_open=function(){return"<dl>\n"},ea.dt_open=function(){return"<dt>"},ea.dd_open=function(){return"<dd>"},ea.dl_close=function(){return"</dl>\n"},ea.dt_close=function(){return"</dt>\n"},ea.dd_close=function(){return"</dd>\n"};var Wv=ea.getBreak=function(s,t){return(t=C3(s,t))<s.length&&"list_item_close"===s[t].type?"":"\n"};function QA(){this.rules=WA({},ea),this.getBreak=ea.getBreak}function N_(){this.__rules__=[],this.__cache__=null}function Jv(n,s,t,o,l){this.src=n,this.env=o,this.options=t,this.parser=s,this.tokens=l,this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache=[],this.isInLabel=!1,this.linkLevel=0,this.linkContent="",this.labelUnmatchedScopes=0}function NE(n,s){var t,o,l,_=-1,C=n.posMax,x=n.pos,N=n.isInLabel;if(n.isInLabel)return-1;if(n.labelUnmatchedScopes)return n.labelUnmatchedScopes--,-1;for(n.pos=s+1,n.isInLabel=!0,t=1;n.pos<C;){if(91===(l=n.src.charCodeAt(n.pos)))t++;else if(93===l&&0==--t){o=!0;break}n.parser.skipToken(n)}return o?(_=n.pos,n.labelUnmatchedScopes=0):n.labelUnmatchedScopes=t-1,n.pos=x,n.isInLabel=N,_}function Z7(n,s,t,o){var l,_,C,x,N,V;if(42!==n.charCodeAt(0)||91!==n.charCodeAt(1)||-1===n.indexOf("]:")||(_=NE(l=new Jv(n,s,t,o,[]),1))<0||58!==n.charCodeAt(_+1))return-1;for(x=l.posMax,C=_+2;C<x&&10!==l.src.charCodeAt(C);C++);return N=n.slice(2,_),0===(V=n.slice(_+2,C).trim()).length?-1:(o.abbreviations||(o.abbreviations={}),void 0===o.abbreviations[":"+N]&&(o.abbreviations[":"+N]=V),C)}function XA(n){var s=Kg(n);try{s=decodeURI(s)}catch(t){}return encodeURI(s)}function M3(n,s){var t,o,l,_=s,C=n.posMax;if(60===n.src.charCodeAt(s)){for(s++;s<C;){if(10===(t=n.src.charCodeAt(s)))return!1;if(62===t)return l=XA(x0(n.src.slice(_+1,s))),!!n.parser.validateLink(l)&&(n.pos=s+1,n.linkContent=l,!0);92===t&&s+1<C?s+=2:s++}return!1}for(o=0;s<C&&!(32===(t=n.src.charCodeAt(s))||t<32||127===t);)if(92===t&&s+1<C)s+=2;else{if(40===t&&++o>1||41===t&&--o<0)break;s++}return!(_===s||(l=x0(n.src.slice(_,s)),!n.parser.validateLink(l))||(n.linkContent=l,n.pos=s,0))}function O3(n,s){var t,o=s,l=n.posMax,_=n.src.charCodeAt(s);if(34!==_&&39!==_&&40!==_)return!1;for(s++,40===_&&(_=41);s<l;){if((t=n.src.charCodeAt(s))===_)return n.pos=s+1,n.linkContent=x0(n.src.slice(o+1,s)),!0;92===t&&s+1<l?s+=2:s++}return!1}function A3(n){return n.trim().replace(/\s+/g," ").toUpperCase()}function W7(n,s,t,o){var l,_,C,x,N,V,Q,oe,le;if(91!==n.charCodeAt(0)||-1===n.indexOf("]:")||(_=NE(l=new Jv(n,s,t,o,[]),0))<0||58!==n.charCodeAt(_+1))return-1;for(x=l.posMax,C=_+2;C<x&&(32===(N=l.src.charCodeAt(C))||10===N);C++);if(!M3(l,C))return-1;for(Q=l.linkContent,V=C=l.pos,C+=1;C<x&&(32===(N=l.src.charCodeAt(C))||10===N);C++);for(C<x&&V!==C&&O3(l,C)?(oe=l.linkContent,C=l.pos):(oe="",C=V);C<x&&32===l.src.charCodeAt(C);)C++;return C<x&&10!==l.src.charCodeAt(C)?-1:(le=A3(n.slice(1,_)),void 0===o.references[le]&&(o.references[le]={title:oe,href:Q}),C)}QA.prototype.renderInline=function(n,s,t){for(var o=this.rules,l=n.length,_=0,C="";l--;)C+=o[n[_].type](n,_++,s,t,this);return C},QA.prototype.render=function(n,s,t){for(var o=this.rules,l=n.length,_=-1,C="";++_<l;)C+="inline"===n[_].type?this.renderInline(n[_].children,s,t):o[n[_].type](n,_,s,t,this);return C},N_.prototype.__find__=function(n){for(var s=this.__rules__.length,t=-1;s--;)if(this.__rules__[++t].name===n)return t;return-1},N_.prototype.__compile__=function(){var n=this,s=[""];n.__rules__.forEach(function(t){!t.enabled||t.alt.forEach(function(o){s.indexOf(o)<0&&s.push(o)})}),n.__cache__={},s.forEach(function(t){n.__cache__[t]=[],n.__rules__.forEach(function(o){!o.enabled||t&&o.alt.indexOf(t)<0||n.__cache__[t].push(o.fn)})})},N_.prototype.at=function(n,s,t){var o=this.__find__(n),l=t||{};if(-1===o)throw new Error("Parser rule not found: "+n);this.__rules__[o].fn=s,this.__rules__[o].alt=l.alt||[],this.__cache__=null},N_.prototype.before=function(n,s,t,o){var l=this.__find__(n),_=o||{};if(-1===l)throw new Error("Parser rule not found: "+n);this.__rules__.splice(l,0,{name:s,enabled:!0,fn:t,alt:_.alt||[]}),this.__cache__=null},N_.prototype.after=function(n,s,t,o){var l=this.__find__(n),_=o||{};if(-1===l)throw new Error("Parser rule not found: "+n);this.__rules__.splice(l+1,0,{name:s,enabled:!0,fn:t,alt:_.alt||[]}),this.__cache__=null},N_.prototype.push=function(n,s,t){this.__rules__.push({name:n,enabled:!0,fn:s,alt:(t||{}).alt||[]}),this.__cache__=null},N_.prototype.enable=function(n,s){n=Array.isArray(n)?n:[n],s&&this.__rules__.forEach(function(t){t.enabled=!1}),n.forEach(function(t){var o=this.__find__(t);if(o<0)throw new Error("Rules manager: invalid rule name "+t);this.__rules__[o].enabled=!0},this),this.__cache__=null},N_.prototype.disable=function(n){(n=Array.isArray(n)?n:[n]).forEach(function(s){var t=this.__find__(s);if(t<0)throw new Error("Rules manager: invalid rule name "+s);this.__rules__[t].enabled=!1},this),this.__cache__=null},N_.prototype.getRules=function(n){return null===this.__cache__&&this.__compile__(),this.__cache__[n]||[]},Jv.prototype.pushPending=function(){this.tokens.push({type:"text",content:this.pending,level:this.pendingLevel}),this.pending=""},Jv.prototype.push=function(n){this.pending&&this.pushPending(),this.tokens.push(n),this.pendingLevel=this.level},Jv.prototype.cacheSet=function(n,s){for(var t=this.cache.length;t<=n;t++)this.cache.push(0);this.cache[n]=s},Jv.prototype.cacheGet=function(n){return n<this.cache.length?this.cache[n]:0};var D3=" \n()[]'\".,!?-";function KA(n){return n.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1")}var q7=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,e9=/\((c|tm|r|p)\)/gi,t9={c:"\xa9",r:"\xae",p:"\xa7",tm:"\u2122"};function n9(n){return n.indexOf("(")<0?n:n.replace(e9,function(s,t){return t9[t.toLowerCase()]})}var i9=/['"]/,x3=/['"]/g,o9=/[-\s()\[\]]/;function w3(n,s){return!(s<0||s>=n.length||o9.test(n[s]))}function R0(n,s,t){return n.substr(0,s)+t+n.substr(s+1)}var qA=[["block",function V7(n){n.inlineMode?n.tokens.push({type:"inline",content:n.src.replace(/\n/g," ").trim(),level:0,lines:[0,1],children:[]}):n.block.parse(n.src,n.options,n.env,n.tokens)}],["abbr",function z7(n){var t,o,l,_,s=n.tokens;if(!n.inlineMode)for(t=1,o=s.length-1;t<o;t++)if("paragraph_open"===s[t-1].type&&"inline"===s[t].type&&"paragraph_close"===s[t+1].type){for(l=s[t].content;l.length&&!((_=Z7(l,n.inline,n.options,n.env))<0);)l=l.slice(_).trim();s[t].content=l,l.length||(s[t-1].tight=!0,s[t+1].tight=!0)}}],["references",function J7(n){var t,o,l,_,s=n.tokens;if(n.env.references=n.env.references||{},!n.inlineMode)for(t=1,o=s.length-1;t<o;t++)if("inline"===s[t].type&&"paragraph_open"===s[t-1].type&&"paragraph_close"===s[t+1].type){for(l=s[t].content;l.length&&!((_=W7(l,n.inline,n.options,n.env))<0);)l=l.slice(_).trim();s[t].content=l,l.length||(s[t-1].tight=!0,s[t+1].tight=!0)}}],["inline",function Q7(n){var t,o,l,s=n.tokens;for(o=0,l=s.length;o<l;o++)"inline"===(t=s[o]).type&&n.inline.parse(t.content,n.options,n.env,t.children)}],["footnote_tail",function X7(n){var s,t,o,l,_,C,x,N,V,Q=0,oe=!1,le={};if(n.env.footnotes&&(n.tokens=n.tokens.filter(function(me){return"footnote_reference_open"===me.type?(oe=!0,N=[],V=me.label,!1):"footnote_reference_close"===me.type?(oe=!1,le[":"+V]=N,!1):(oe&&N.push(me),!oe)}),n.env.footnotes.list)){for(C=n.env.footnotes.list,n.tokens.push({type:"footnote_block_open",level:Q++}),s=0,t=C.length;s<t;s++){for(n.tokens.push({type:"footnote_open",id:s,level:Q++}),C[s].tokens?((x=[]).push({type:"paragraph_open",tight:!1,level:Q++}),x.push({type:"inline",content:"",level:Q,children:C[s].tokens}),x.push({type:"paragraph_close",tight:!1,level:--Q})):C[s].label&&(x=le[":"+C[s].label]),n.tokens=n.tokens.concat(x),_="paragraph_close"===n.tokens[n.tokens.length-1].type?n.tokens.pop():null,l=C[s].count>0?C[s].count:1,o=0;o<l;o++)n.tokens.push({type:"footnote_anchor",id:s,subId:o,level:Q});_&&n.tokens.push(_),n.tokens.push({type:"footnote_close",level:--Q})}n.tokens.push({type:"footnote_block_close",level:--Q})}}],["abbr2",function K7(n){var s,t,o,l,_,C,x,N,V,Q,oe,le,me=n.tokens;if(n.env.abbreviations)for(n.env.abbrRegExp||(le="(^|["+D3.split("").map(KA).join("")+"])("+Object.keys(n.env.abbreviations).map(function(ye){return ye.substr(1)}).sort(function(ye,$e){return $e.length-ye.length}).map(KA).join("|")+")($|["+D3.split("").map(KA).join("")+"])",n.env.abbrRegExp=new RegExp(le,"g")),Q=n.env.abbrRegExp,t=0,o=me.length;t<o;t++)if("inline"===me[t].type)for(s=(l=me[t].children).length-1;s>=0;s--)if("text"===(_=l[s]).type){for(N=0,C=_.content,Q.lastIndex=0,V=_.level,x=[];oe=Q.exec(C);)Q.lastIndex>N&&x.push({type:"text",content:C.slice(N,oe.index+oe[1].length),level:V}),x.push({type:"abbr_open",title:n.env.abbreviations[":"+oe[2]],level:V++}),x.push({type:"text",content:oe[2],level:V}),x.push({type:"abbr_close",level:--V}),N=Q.lastIndex-oe[3].length;!x.length||(N<C.length&&x.push({type:"text",content:C.slice(N),level:V}),me[t].children=l=[].concat(l.slice(0,s),x,l.slice(s+1)))}}],["replacements",function r9(n){var s,t,o,l,_;if(n.options.typographer)for(_=n.tokens.length-1;_>=0;_--)if("inline"===n.tokens[_].type)for(s=(l=n.tokens[_].children).length-1;s>=0;s--)"text"===(t=l[s]).type&&(o=n9(o=t.content),q7.test(o)&&(o=o.replace(/\+-/g,"\xb1").replace(/\.{2,}/g,"\u2026").replace(/([?!])\u2026/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1\u2014$2").replace(/(^|\s)--(\s|$)/gm,"$1\u2013$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1\u2013$2")),t.content=o)}],["smartquotes",function s9(n){var s,t,o,l,_,C,x,N,V,Q,oe,le,me,ye,$e,Ne,ke;if(n.options.typographer)for(ke=[],$e=n.tokens.length-1;$e>=0;$e--)if("inline"===n.tokens[$e].type)for(Ne=n.tokens[$e].children,ke.length=0,s=0;s<Ne.length;s++)if("text"===(t=Ne[s]).type&&!i9.test(t.text)){for(x=Ne[s].level,me=ke.length-1;me>=0&&!(ke[me].level<=x);me--);ke.length=me+1,_=0,C=(o=t.content).length;e:for(;_<C&&(x3.lastIndex=_,l=x3.exec(o),l);)if(N=!w3(o,l.index-1),ye="'"===l[0],(V=!w3(o,_=l.index+1))||N){if(oe=!V,le=!N)for(me=ke.length-1;me>=0&&(Q=ke[me],!(ke[me].level<x));me--)if(Q.single===ye&&ke[me].level===x){Q=ke[me],ye?(Ne[Q.token].content=R0(Ne[Q.token].content,Q.pos,n.options.quotes[2]),t.content=R0(t.content,l.index,n.options.quotes[3])):(Ne[Q.token].content=R0(Ne[Q.token].content,Q.pos,n.options.quotes[0]),t.content=R0(t.content,l.index,n.options.quotes[1])),ke.length=me;continue e}oe?ke.push({token:s,pos:l.index,single:ye,level:x}):le&&ye&&(t.content=R0(t.content,l.index,"\u2019"))}else ye&&(t.content=R0(t.content,l.index,"\u2019"))}}]];function P3(){this.options={},this.ruler=new N_;for(var n=0;n<qA.length;n++)this.ruler.push(qA[n][0],qA[n][1])}function Qv(n,s,t,o,l){var _,C,x,N,V,Q,oe;for(this.src=n,this.parser=s,this.options=t,this.env=o,this.tokens=l,this.bMarks=[],this.eMarks=[],this.tShift=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.parentType="root",this.ddIndent=-1,this.level=0,this.result="",Q=0,oe=!1,x=N=Q=0,V=(C=this.src).length;N<V;N++){if(_=C.charCodeAt(N),!oe){if(32===_){Q++;continue}oe=!0}(10===_||N===V-1)&&(10!==_&&N++,this.bMarks.push(x),this.eMarks.push(N),this.tShift.push(Q),oe=!1,Q=0,x=N+1)}this.bMarks.push(C.length),this.eMarks.push(C.length),this.tShift.push(0),this.lineMax=this.bMarks.length-1}function N3(n,s){var t,o,l;return(o=n.bMarks[s]+n.tShift[s])>=(l=n.eMarks[s])||42!==(t=n.src.charCodeAt(o++))&&45!==t&&43!==t||o<l&&32!==n.src.charCodeAt(o)?-1:o}function I3(n,s){var t,o=n.bMarks[s]+n.tShift[s],l=n.eMarks[s];if(o+1>=l||(t=n.src.charCodeAt(o++))<48||t>57)return-1;for(;;){if(o>=l)return-1;if(!((t=n.src.charCodeAt(o++))>=48&&t<=57)){if(41===t||46===t)break;return-1}}return o<l&&32!==n.src.charCodeAt(o)?-1:o}P3.prototype.process=function(n){var s,t,o;for(s=0,t=(o=this.ruler.getRules("")).length;s<t;s++)o[s](n)},Qv.prototype.isEmpty=function(s){return this.bMarks[s]+this.tShift[s]>=this.eMarks[s]},Qv.prototype.skipEmptyLines=function(s){for(var t=this.lineMax;s<t&&!(this.bMarks[s]+this.tShift[s]<this.eMarks[s]);s++);return s},Qv.prototype.skipSpaces=function(s){for(var t=this.src.length;s<t&&32===this.src.charCodeAt(s);s++);return s},Qv.prototype.skipChars=function(s,t){for(var o=this.src.length;s<o&&this.src.charCodeAt(s)===t;s++);return s},Qv.prototype.skipCharsBack=function(s,t,o){if(s<=o)return s;for(;s>o;)if(t!==this.src.charCodeAt(--s))return s+1;return s},Qv.prototype.getLines=function(s,t,o,l){var _,C,N,V,Q=s;if(s>=t)return"";if(Q+1===t)return C=this.bMarks[Q]+Math.min(this.tShift[Q],o),this.src.slice(C,l?this.eMarks[Q]+1:this.eMarks[Q]);for(N=new Array(t-s),_=0;Q<t;Q++,_++)(V=this.tShift[Q])>o&&(V=o),V<0&&(V=0),N[_]=this.src.slice(C=this.bMarks[Q]+V,Q+1<t||l?this.eMarks[Q]+1:this.eMarks[Q]);return N.join("")};var F3={};["article","aside","button","blockquote","body","canvas","caption","col","colgroup","dd","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","iframe","li","map","object","ol","output","p","pre","progress","script","section","style","table","tbody","td","textarea","tfoot","th","tr","thead","ul","video"].forEach(function(n){F3[n]=!0});var m9=/^<([a-zA-Z]{1,15})[\s\/>]/,g9=/^<\/([a-zA-Z]{1,15})[\s>]/;function eD(n,s){var t=n.bMarks[s]+n.blkIndent;return n.src.substr(t,n.eMarks[s]-t)}function _C(n,s){var t,o,l=n.bMarks[s]+n.tShift[s],_=n.eMarks[s];return l>=_||126!==(o=n.src.charCodeAt(l++))&&58!==o||l===(t=n.skipSpaces(l))||t>=_?-1:t}var mC=[["code",function a9(n,s,t){var o,l;if(n.tShift[s]-n.blkIndent<4)return!1;for(l=o=s+1;o<t;)if(n.isEmpty(o))o++;else{if(!(n.tShift[o]-n.blkIndent>=4))break;l=++o}return n.line=o,n.tokens.push({type:"code",content:n.getLines(s,l,4+n.blkIndent,!0),block:!0,lines:[s,n.line],level:n.level}),!0}],["fences",function l9(n,s,t,o){var l,_,C,x,N,V=!1,Q=n.bMarks[s]+n.tShift[s],oe=n.eMarks[s];if(Q+3>oe||126!==(l=n.src.charCodeAt(Q))&&96!==l||(N=Q,(_=(Q=n.skipChars(Q,l))-N)<3)||(C=n.src.slice(Q,oe).trim()).indexOf("`")>=0)return!1;if(o)return!0;for(x=s;!(++x>=t||(Q=N=n.bMarks[x]+n.tShift[x],oe=n.eMarks[x],Q<oe&&n.tShift[x]<n.blkIndent));)if(!(n.src.charCodeAt(Q)!==l||n.tShift[x]-n.blkIndent>=4||(Q=n.skipChars(Q,l),Q-N<_||(Q=n.skipSpaces(Q),Q<oe)))){V=!0;break}return _=n.tShift[s],n.line=x+(V?1:0),n.tokens.push({type:"fence",params:C,content:n.getLines(s+1,x,_,!0),lines:[s,n.line],level:n.level}),!0},["paragraph","blockquote","list"]],["blockquote",function u9(n,s,t,o){var l,_,C,x,N,V,Q,oe,le,me,ye,$e=n.bMarks[s]+n.tShift[s],Ne=n.eMarks[s];if($e>Ne||62!==n.src.charCodeAt($e++)||n.level>=n.options.maxNesting)return!1;if(o)return!0;for(32===n.src.charCodeAt($e)&&$e++,N=n.blkIndent,n.blkIndent=0,x=[n.bMarks[s]],n.bMarks[s]=$e,_=($e=$e<Ne?n.skipSpaces($e):$e)>=Ne,C=[n.tShift[s]],n.tShift[s]=$e-n.bMarks[s],oe=n.parser.ruler.getRules("blockquote"),l=s+1;l<t&&!(($e=n.bMarks[l]+n.tShift[l])>=(Ne=n.eMarks[l]));l++)if(62!==n.src.charCodeAt($e++)){if(_)break;for(ye=!1,le=0,me=oe.length;le<me;le++)if(oe[le](n,l,t,!0)){ye=!0;break}if(ye)break;x.push(n.bMarks[l]),C.push(n.tShift[l]),n.tShift[l]=-1337}else 32===n.src.charCodeAt($e)&&$e++,x.push(n.bMarks[l]),n.bMarks[l]=$e,_=($e=$e<Ne?n.skipSpaces($e):$e)>=Ne,C.push(n.tShift[l]),n.tShift[l]=$e-n.bMarks[l];for(V=n.parentType,n.parentType="blockquote",n.tokens.push({type:"blockquote_open",lines:Q=[s,0],level:n.level++}),n.parser.tokenize(n,s,l),n.tokens.push({type:"blockquote_close",level:--n.level}),n.parentType=V,Q[1]=n.line,le=0;le<C.length;le++)n.bMarks[le+s]=x[le],n.tShift[le+s]=C[le];return n.blkIndent=N,!0},["paragraph","blockquote","list"]],["hr",function c9(n,s,t,o){var l,_,C,x=n.bMarks[s],N=n.eMarks[s];if((x+=n.tShift[s])>N||42!==(l=n.src.charCodeAt(x++))&&45!==l&&95!==l)return!1;for(_=1;x<N;){if((C=n.src.charCodeAt(x++))!==l&&32!==C)return!1;C===l&&_++}return!(_<3||(o||(n.line=s+1,n.tokens.push({type:"hr",lines:[s,n.line],level:n.level})),0))},["paragraph","blockquote","list"]],["list",function f9(n,s,t,o){var l,_,C,x,N,V,Q,oe,me,ye,$e,Ne,ke,we,G,Dt,bt,Jt,Mn,zt,xn,Bt=!0;if((oe=I3(n,s))>=0)Ne=!0;else{if(!((oe=N3(n,s))>=0))return!1;Ne=!1}if(n.level>=n.options.maxNesting)return!1;if($e=n.src.charCodeAt(oe-1),o)return!0;for(we=n.tokens.length,Ne?(Q=n.bMarks[s]+n.tShift[s],ye=Number(n.src.substr(Q,oe-Q-1)),n.tokens.push({type:"ordered_list_open",order:ye,lines:Dt=[s,0],level:n.level++})):n.tokens.push({type:"bullet_list_open",lines:Dt=[s,0],level:n.level++}),l=s,G=!1,Jt=n.parser.ruler.getRules("list");l<t&&((me=(ke=n.skipSpaces(oe))>=n.eMarks[l]?1:ke-oe)>4&&(me=1),me<1&&(me=1),_=oe-n.bMarks[l]+me,n.tokens.push({type:"list_item_open",lines:bt=[s,0],level:n.level++}),x=n.blkIndent,N=n.tight,C=n.tShift[s],V=n.parentType,n.tShift[s]=ke-n.bMarks[s],n.blkIndent=_,n.tight=!0,n.parentType="list",n.parser.tokenize(n,s,t,!0),(!n.tight||G)&&(Bt=!1),G=n.line-s>1&&n.isEmpty(n.line-1),n.blkIndent=x,n.tShift[s]=C,n.tight=N,n.parentType=V,n.tokens.push({type:"list_item_close",level:--n.level}),l=s=n.line,bt[1]=l,ke=n.bMarks[s],!(l>=t||n.isEmpty(l)||n.tShift[l]<n.blkIndent));){for(xn=!1,Mn=0,zt=Jt.length;Mn<zt;Mn++)if(Jt[Mn](n,l,t,!0)){xn=!0;break}if(xn)break;if(Ne){if((oe=I3(n,l))<0)break}else if((oe=N3(n,l))<0)break;if($e!==n.src.charCodeAt(oe-1))break}return n.tokens.push({type:Ne?"ordered_list_close":"bullet_list_close",level:--n.level}),Dt[1]=l,n.line=l,Bt&&function d9(n,s){var t,o,l=n.level+2;for(t=s+2,o=n.tokens.length-2;t<o;t++)n.tokens[t].level===l&&"paragraph_open"===n.tokens[t].type&&(n.tokens[t+2].tight=!0,n.tokens[t].tight=!0,t+=2)}(n,we),!0},["paragraph","blockquote"]],["footnote",function p9(n,s,t,o){var l,_,C,x,N,V=n.bMarks[s]+n.tShift[s],Q=n.eMarks[s];if(V+4>Q||91!==n.src.charCodeAt(V)||94!==n.src.charCodeAt(V+1)||n.level>=n.options.maxNesting)return!1;for(x=V+2;x<Q;x++){if(32===n.src.charCodeAt(x))return!1;if(93===n.src.charCodeAt(x))break}return!(x===V+2||x+1>=Q||58!==n.src.charCodeAt(++x)||(o||(x++,n.env.footnotes||(n.env.footnotes={}),n.env.footnotes.refs||(n.env.footnotes.refs={}),N=n.src.slice(V+2,x-2),n.env.footnotes.refs[":"+N]=-1,n.tokens.push({type:"footnote_reference_open",label:N,level:n.level++}),l=n.bMarks[s],_=n.tShift[s],C=n.parentType,n.tShift[s]=n.skipSpaces(x)-x,n.bMarks[s]=x,n.blkIndent+=4,n.parentType="footnote",n.tShift[s]<n.blkIndent&&(n.tShift[s]+=n.blkIndent,n.bMarks[s]-=n.blkIndent),n.parser.tokenize(n,s,t,!0),n.parentType=C,n.blkIndent-=4,n.tShift[s]=_,n.bMarks[s]=l,n.tokens.push({type:"footnote_reference_close",level:--n.level})),0))},["paragraph"]],["heading",function h9(n,s,t,o){var l,_,C,x=n.bMarks[s]+n.tShift[s],N=n.eMarks[s];if(x>=N||35!==(l=n.src.charCodeAt(x))||x>=N)return!1;for(_=1,l=n.src.charCodeAt(++x);35===l&&x<N&&_<=6;)_++,l=n.src.charCodeAt(++x);return!(_>6||x<N&&32!==l||(o||(N=n.skipCharsBack(N,32,x),(C=n.skipCharsBack(N,35,x))>x&&32===n.src.charCodeAt(C-1)&&(N=C),n.line=s+1,n.tokens.push({type:"heading_open",hLevel:_,lines:[s,n.line],level:n.level}),x<N&&n.tokens.push({type:"inline",content:n.src.slice(x,N).trim(),level:n.level+1,lines:[s,n.line],children:[]}),n.tokens.push({type:"heading_close",hLevel:_,level:n.level})),0))},["paragraph","blockquote"]],["lheading",function _9(n,s,t){var o,l,_,C=s+1;return!(C>=t||n.tShift[C]<n.blkIndent||n.tShift[C]-n.blkIndent>3||(l=n.bMarks[C]+n.tShift[C],_=n.eMarks[C],l>=_)||(o=n.src.charCodeAt(l),45!==o&&61!==o)||(l=n.skipChars(l,o),l=n.skipSpaces(l),l<_)||(l=n.bMarks[s]+n.tShift[s],n.line=C+1,n.tokens.push({type:"heading_open",hLevel:61===o?1:2,lines:[s,n.line],level:n.level}),n.tokens.push({type:"inline",content:n.src.slice(l,n.eMarks[s]).trim(),level:n.level+1,lines:[s,n.line-1],children:[]}),n.tokens.push({type:"heading_close",hLevel:61===o?1:2,level:n.level}),0))}],["htmlblock",function y9(n,s,t,o){var l,_,C,x=n.bMarks[s],N=n.eMarks[s],V=n.tShift[s];if(x+=V,!n.options.html||V>3||x+2>=N||60!==n.src.charCodeAt(x))return!1;if(33===(l=n.src.charCodeAt(x+1))||63===l){if(o)return!0}else{if(47!==l&&!function v9(n){var s=32|n;return s>=97&&s<=122}(l))return!1;if(47===l){if(!(_=n.src.slice(x,N).match(g9)))return!1}else if(!(_=n.src.slice(x,N).match(m9)))return!1;if(!0!==F3[_[1].toLowerCase()])return!1;if(o)return!0}for(C=s+1;C<n.lineMax&&!n.isEmpty(C);)C++;return n.line=C,n.tokens.push({type:"htmlblock",level:n.level,lines:[s,n.line],content:n.getLines(s,C,0,!0)}),!0},["paragraph","blockquote"]],["table",function E9(n,s,t,o){var l,_,C,x,N,V,Q,oe,le,me,ye;if(s+2>t||n.tShift[N=s+1]<n.blkIndent||(C=n.bMarks[N]+n.tShift[N])>=n.eMarks[N]||124!==(l=n.src.charCodeAt(C))&&45!==l&&58!==l||(_=eD(n,s+1),!/^[-:| ]+$/.test(_))||(V=_.split("|"))<=2)return!1;for(oe=[],x=0;x<V.length;x++){if(!(le=V[x].trim())){if(0===x||x===V.length-1)continue;return!1}if(!/^:?-+:?$/.test(le))return!1;58===le.charCodeAt(le.length-1)?oe.push(58===le.charCodeAt(0)?"center":"right"):58===le.charCodeAt(0)?oe.push("left"):oe.push("")}if(-1===(_=eD(n,s).trim()).indexOf("|")||(V=_.replace(/^\||\|$/g,"").split("|"),oe.length!==V.length))return!1;if(o)return!0;for(n.tokens.push({type:"table_open",lines:me=[s,0],level:n.level++}),n.tokens.push({type:"thead_open",lines:[s,s+1],level:n.level++}),n.tokens.push({type:"tr_open",lines:[s,s+1],level:n.level++}),x=0;x<V.length;x++)n.tokens.push({type:"th_open",align:oe[x],lines:[s,s+1],level:n.level++}),n.tokens.push({type:"inline",content:V[x].trim(),lines:[s,s+1],level:n.level,children:[]}),n.tokens.push({type:"th_close",level:--n.level});for(n.tokens.push({type:"tr_close",level:--n.level}),n.tokens.push({type:"thead_close",level:--n.level}),n.tokens.push({type:"tbody_open",lines:ye=[s+2,0],level:n.level++}),N=s+2;N<t&&!(n.tShift[N]<n.blkIndent||(_=eD(n,N).trim(),-1===_.indexOf("|")));N++){for(V=_.replace(/^\||\|$/g,"").split("|"),n.tokens.push({type:"tr_open",level:n.level++}),x=0;x<V.length;x++)n.tokens.push({type:"td_open",align:oe[x],level:n.level++}),Q=V[x].substring(124===V[x].charCodeAt(0)?1:0,124===V[x].charCodeAt(V[x].length-1)?V[x].length-1:V[x].length).trim(),n.tokens.push({type:"inline",content:Q,level:n.level,children:[]}),n.tokens.push({type:"td_close",level:--n.level});n.tokens.push({type:"tr_close",level:--n.level})}return n.tokens.push({type:"tbody_close",level:--n.level}),n.tokens.push({type:"table_close",level:--n.level}),me[1]=ye[1]=N,n.line=N,!0},["paragraph"]],["deflist",function S9(n,s,t,o){var l,_,C,x,N,V,Q,oe,le,me,ye,$e,Ne,ke;if(o)return!(n.ddIndent<0)&&_C(n,s)>=0;if(n.isEmpty(Q=s+1)&&++Q>t||n.tShift[Q]<n.blkIndent||(l=_C(n,Q))<0||n.level>=n.options.maxNesting)return!1;V=n.tokens.length,n.tokens.push({type:"dl_open",lines:N=[s,0],level:n.level++}),C=s,_=Q;e:for(;;){for(ke=!0,Ne=!1,n.tokens.push({type:"dt_open",lines:[C,C],level:n.level++}),n.tokens.push({type:"inline",content:n.getLines(C,C+1,n.blkIndent,!1).trim(),level:n.level+1,lines:[C,C],children:[]}),n.tokens.push({type:"dt_close",level:--n.level});;){if(n.tokens.push({type:"dd_open",lines:x=[Q,0],level:n.level++}),$e=n.tight,le=n.ddIndent,oe=n.blkIndent,ye=n.tShift[_],me=n.parentType,n.blkIndent=n.ddIndent=n.tShift[_]+2,n.tShift[_]=l-n.bMarks[_],n.tight=!0,n.parentType="deflist",n.parser.tokenize(n,_,t,!0),(!n.tight||Ne)&&(ke=!1),Ne=n.line-_>1&&n.isEmpty(n.line-1),n.tShift[_]=ye,n.tight=$e,n.parentType=me,n.blkIndent=oe,n.ddIndent=le,n.tokens.push({type:"dd_close",level:--n.level}),x[1]=Q=n.line,Q>=t||n.tShift[Q]<n.blkIndent)break e;if((l=_C(n,Q))<0)break;_=Q}if(Q>=t||n.isEmpty(C=Q)||n.tShift[C]<n.blkIndent||(_=C+1)>=t||(n.isEmpty(_)&&_++,_>=t)||n.tShift[_]<n.blkIndent||(l=_C(n,_))<0)break}return n.tokens.push({type:"dl_close",level:--n.level}),N[1]=Q,n.line=Q,ke&&function b9(n,s){var t,o,l=n.level+2;for(t=s+2,o=n.tokens.length-2;t<o;t++)n.tokens[t].level===l&&"paragraph_open"===n.tokens[t].type&&(n.tokens[t+2].tight=!0,n.tokens[t].tight=!0,t+=2)}(n,V),!0},["paragraph"]],["paragraph",function T9(n,s){var t,o,l,_,C,N,x=s+1;if(x<(t=n.lineMax)&&!n.isEmpty(x))for(N=n.parser.ruler.getRules("paragraph");x<t&&!n.isEmpty(x);x++)if(!(n.tShift[x]-n.blkIndent>3)){for(l=!1,_=0,C=N.length;_<C;_++)if(N[_](n,x,t,!0)){l=!0;break}if(l)break}return o=n.getLines(s,x,n.blkIndent,!1).trim(),n.line=x,o.length&&(n.tokens.push({type:"paragraph_open",tight:!1,lines:[s,n.line],level:n.level}),n.tokens.push({type:"inline",content:o,level:n.level+1,lines:[s,n.line],children:[]}),n.tokens.push({type:"paragraph_close",tight:!1,level:n.level})),!0}]];function tD(){this.ruler=new N_;for(var n=0;n<mC.length;n++)this.ruler.push(mC[n][0],mC[n][1],{alt:(mC[n][2]||[]).slice()})}tD.prototype.tokenize=function(n,s,t){for(var N,o=this.ruler.getRules(""),l=o.length,_=s,C=!1;_<t&&(n.line=_=n.skipEmptyLines(_),!(_>=t||n.tShift[_]<n.blkIndent));){for(N=0;N<l&&!o[N](n,_,t,!1);N++);if(n.tight=!C,n.isEmpty(n.line-1)&&(C=!0),(_=n.line)<t&&n.isEmpty(_)){if(C=!0,++_<t&&"list"===n.parentType&&n.isEmpty(_))break;n.line=_}}};var C9=/[\n\t]/g,M9=/\r[\n\u0085]|[\u2424\u2028\u0085]/g,O9=/\u00a0/g;function A9(n){switch(n){case 10:case 92:case 96:case 42:case 95:case 94:case 91:case 93:case 33:case 38:case 60:case 62:case 123:case 125:case 36:case 37:case 64:case 126:case 43:case 61:case 58:return!0;default:return!1}}tD.prototype.parse=function(n,s,t,o){var l,_=0,C=0;if(!n)return[];(n=(n=n.replace(O9," ")).replace(M9,"\n")).indexOf("\t")>=0&&(n=n.replace(C9,function(x,N){var V;return 10===n.charCodeAt(N)?(_=N+1,C=0,x):(V="    ".slice((N-_-C)%4),C=N-_+1,V)})),l=new Qv(n,this,s,t,o),this.tokenize(l,l.line,l.lineMax)};for(var nD=[],L3=0;L3<256;L3++)nD.push(0);function k3(n){return n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122}function $3(n,s){var o,l,_,t=s,C=!0,x=!0,N=n.posMax,V=n.src.charCodeAt(s);for(o=s>0?n.src.charCodeAt(s-1):-1;t<N&&n.src.charCodeAt(t)===V;)t++;return t>=N&&(C=!1),(_=t-s)>=4?C=x=!1:((32===(l=t<N?n.src.charCodeAt(t):-1)||10===l)&&(C=!1),(32===o||10===o)&&(x=!1),95===V&&(k3(o)&&(C=!1),k3(l)&&(x=!1))),{can_open:C,can_close:x,delims:_}}"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(n){nD[n.charCodeAt(0)]=1});var L9=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g,$9=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g,j9=["coap","doi","javascript","aaa","aaas","about","acap","cap","cid","crid","data","dav","dict","dns","file","ftp","geo","go","gopher","h323","http","https","iax","icap","im","imap","info","ipp","iris","iris.beep","iris.xpc","iris.xpcs","iris.lwz","ldap","mailto","mid","msrp","msrps","mtqp","mupdate","news","nfs","ni","nih","nntp","opaquelocktoken","pop","pres","rtsp","service","session","shttp","sieve","sip","sips","sms","snmp","soap.beep","soap.beeps","tag","tel","telnet","tftp","thismessage","tn3270","tip","tv","urn","vemmi","ws","wss","xcon","xcon-userid","xmlrpc.beep","xmlrpc.beeps","xmpp","z39.50r","z39.50s","adiumxtra","afp","afs","aim","apt","attachment","aw","beshare","bitcoin","bolo","callto","chrome","chrome-extension","com-eventbrite-attendee","content","cvs","dlna-playsingle","dlna-playcontainer","dtn","dvb","ed2k","facetime","feed","finger","fish","gg","git","gizmoproject","gtalk","hcp","icon","ipn","irc","irc6","ircs","itms","jar","jms","keyparc","lastfm","ldaps","magnet","maps","market","message","mms","ms-help","msnim","mumble","mvn","notes","oid","palm","paparazzi","platform","proxy","psyc","query","res","resource","rmi","rsync","rtmp","secondlife","sftp","sgn","skype","smb","soldat","spotify","ssh","steam","svn","teamspeak","things","udp","unreal","ut2004","ventrilo","view-source","webcal","wtai","wyciwyg","xfire","xri","ymsgr"],G9=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,V9=/^<([a-zA-Z.\-]{1,25}):([^<>\x00-\x20]*)>/;function gC(n,s){return n=n.source,s=s||"",function t(o,l){return o?(n=n.replace(o,l=l.source||l),t):new RegExp(n,s)}}var X9=gC(/(?:unquoted|single_quoted|double_quoted)/)("unquoted",/[^"'=<>`\x00-\x20]+/)("single_quoted",/'[^']*'/)("double_quoted",/"[^"]*"/)(),K9=gC(/(?:\s+attr_name(?:\s*=\s*attr_value)?)/)("attr_name",/[a-zA-Z_:][a-zA-Z0-9:._-]*/)("attr_value",X9)(),q9=gC(/<[A-Za-z][A-Za-z0-9]*attribute*\s*\/?>/)("attribute",K9)(),ok=gC(/^(?:open_tag|close_tag|comment|processing|declaration|cdata)/)("open_tag",q9)("close_tag",/<\/[A-Za-z][A-Za-z0-9]*\s*>/)("comment",/<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->/)("processing",/<[?].*?[?]>/)("declaration",/<![A-Z]+\s+[^>]*>/)("cdata",/<!\[CDATA\[[\s\S]*?\]\]>/)(),lk=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,uk=/^&([a-z][a-z0-9]{1,31});/i,rD=[["text",function D9(n,s){for(var t=n.pos;t<n.posMax&&!A9(n.src.charCodeAt(t));)t++;return t!==n.pos&&(s||(n.pending+=n.src.slice(n.pos,t)),n.pos=t,!0)}],["newline",function x9(n,s){var t,o,l=n.pos;if(10!==n.src.charCodeAt(l))return!1;if(t=n.pending.length-1,o=n.posMax,!s)if(t>=0&&32===n.pending.charCodeAt(t))if(t>=1&&32===n.pending.charCodeAt(t-1)){for(var _=t-2;_>=0;_--)if(32!==n.pending.charCodeAt(_)){n.pending=n.pending.substring(0,_+1);break}n.push({type:"hardbreak",level:n.level})}else n.pending=n.pending.slice(0,-1),n.push({type:"softbreak",level:n.level});else n.push({type:"softbreak",level:n.level});for(l++;l<o&&32===n.src.charCodeAt(l);)l++;return n.pos=l,!0}],["escape",function R9(n,s){var t,o=n.pos,l=n.posMax;if(92!==n.src.charCodeAt(o))return!1;if(++o<l){if((t=n.src.charCodeAt(o))<256&&0!==nD[t])return s||(n.pending+=n.src[o]),n.pos+=2,!0;if(10===t){for(s||n.push({type:"hardbreak",level:n.level}),o++;o<l&&32===n.src.charCodeAt(o);)o++;return n.pos=o,!0}}return s||(n.pending+="\\"),n.pos++,!0}],["backticks",function w9(n,s){var t,o,l,_,C,x=n.pos;if(96!==n.src.charCodeAt(x))return!1;for(t=x,x++,o=n.posMax;x<o&&96===n.src.charCodeAt(x);)x++;for(l=n.src.slice(t,x),_=C=x;-1!==(_=n.src.indexOf("`",C));){for(C=_+1;C<o&&96===n.src.charCodeAt(C);)C++;if(C-_===l.length)return s||n.push({type:"code",content:n.src.slice(x,_).replace(/[ \n]+/g," ").trim(),block:!1,level:n.level}),n.pos=C,!0}return s||(n.pending+=l),n.pos+=l.length,!0}],["del",function P9(n,s){var t,o,l,x,N,_=n.posMax,C=n.pos;if(126!==n.src.charCodeAt(C)||s||C+4>=_||126!==n.src.charCodeAt(C+1)||n.level>=n.options.maxNesting||(x=C>0?n.src.charCodeAt(C-1):-1,N=n.src.charCodeAt(C+2),126===x)||126===N||32===N||10===N)return!1;for(o=C+2;o<_&&126===n.src.charCodeAt(o);)o++;if(o>C+3)return n.pos+=o-C,s||(n.pending+=n.src.slice(C,o)),!0;for(n.pos=C+2,l=1;n.pos+1<_;){if(126===n.src.charCodeAt(n.pos)&&126===n.src.charCodeAt(n.pos+1)&&(x=n.src.charCodeAt(n.pos-1),126!==(N=n.pos+2<_?n.src.charCodeAt(n.pos+2):-1)&&126!==x&&(32!==x&&10!==x?l--:32!==N&&10!==N&&l++,l<=0))){t=!0;break}n.parser.skipToken(n)}return t?(n.posMax=n.pos,n.pos=C+2,s||(n.push({type:"del_open",level:n.level++}),n.parser.tokenize(n),n.push({type:"del_close",level:--n.level})),n.pos=n.posMax+2,n.posMax=_,!0):(n.pos=C,!1)}],["ins",function N9(n,s){var t,o,l,x,N,_=n.posMax,C=n.pos;if(43!==n.src.charCodeAt(C)||s||C+4>=_||43!==n.src.charCodeAt(C+1)||n.level>=n.options.maxNesting||(x=C>0?n.src.charCodeAt(C-1):-1,N=n.src.charCodeAt(C+2),43===x)||43===N||32===N||10===N)return!1;for(o=C+2;o<_&&43===n.src.charCodeAt(o);)o++;if(o!==C+2)return n.pos+=o-C,s||(n.pending+=n.src.slice(C,o)),!0;for(n.pos=C+2,l=1;n.pos+1<_;){if(43===n.src.charCodeAt(n.pos)&&43===n.src.charCodeAt(n.pos+1)&&(x=n.src.charCodeAt(n.pos-1),43!==(N=n.pos+2<_?n.src.charCodeAt(n.pos+2):-1)&&43!==x&&(32!==x&&10!==x?l--:32!==N&&10!==N&&l++,l<=0))){t=!0;break}n.parser.skipToken(n)}return t?(n.posMax=n.pos,n.pos=C+2,s||(n.push({type:"ins_open",level:n.level++}),n.parser.tokenize(n),n.push({type:"ins_close",level:--n.level})),n.pos=n.posMax+2,n.posMax=_,!0):(n.pos=C,!1)}],["mark",function I9(n,s){var t,o,l,x,N,_=n.posMax,C=n.pos;if(61!==n.src.charCodeAt(C)||s||C+4>=_||61!==n.src.charCodeAt(C+1)||n.level>=n.options.maxNesting||(x=C>0?n.src.charCodeAt(C-1):-1,N=n.src.charCodeAt(C+2),61===x)||61===N||32===N||10===N)return!1;for(o=C+2;o<_&&61===n.src.charCodeAt(o);)o++;if(o!==C+2)return n.pos+=o-C,s||(n.pending+=n.src.slice(C,o)),!0;for(n.pos=C+2,l=1;n.pos+1<_;){if(61===n.src.charCodeAt(n.pos)&&61===n.src.charCodeAt(n.pos+1)&&(x=n.src.charCodeAt(n.pos-1),61!==(N=n.pos+2<_?n.src.charCodeAt(n.pos+2):-1)&&61!==x&&(32!==x&&10!==x?l--:32!==N&&10!==N&&l++,l<=0))){t=!0;break}n.parser.skipToken(n)}return t?(n.posMax=n.pos,n.pos=C+2,s||(n.push({type:"mark_open",level:n.level++}),n.parser.tokenize(n),n.push({type:"mark_close",level:--n.level})),n.pos=n.posMax+2,n.posMax=_,!0):(n.pos=C,!1)}],["emphasis",function F9(n,s){var t,o,l,_,C,x,N,V=n.posMax,Q=n.pos,oe=n.src.charCodeAt(Q);if(95!==oe&&42!==oe||s)return!1;if(t=(N=$3(n,Q)).delims,!N.can_open)return n.pos+=t,s||(n.pending+=n.src.slice(Q,n.pos)),!0;if(n.level>=n.options.maxNesting)return!1;for(n.pos=Q+t,x=[t];n.pos<V;)if(n.src.charCodeAt(n.pos)!==oe)n.parser.skipToken(n);else{if(o=(N=$3(n,n.pos)).delims,N.can_close){for(_=x.pop(),C=o;_!==C;){if(C<_){x.push(_-C);break}if(C-=_,0===x.length)break;n.pos+=_,_=x.pop()}if(0===x.length){t=_,l=!0;break}n.pos+=o;continue}N.can_open&&x.push(o),n.pos+=o}return l?(n.posMax=n.pos,n.pos=Q+t,s||((2===t||3===t)&&n.push({type:"strong_open",level:n.level++}),(1===t||3===t)&&n.push({type:"em_open",level:n.level++}),n.parser.tokenize(n),(1===t||3===t)&&n.push({type:"em_close",level:--n.level}),(2===t||3===t)&&n.push({type:"strong_close",level:--n.level})),n.pos=n.posMax+t,n.posMax=V,!0):(n.pos=Q,!1)}],["sub",function k9(n,s){var t,o,l=n.posMax,_=n.pos;if(126!==n.src.charCodeAt(_)||s||_+2>=l||n.level>=n.options.maxNesting)return!1;for(n.pos=_+1;n.pos<l;){if(126===n.src.charCodeAt(n.pos)){t=!0;break}n.parser.skipToken(n)}return!t||_+1===n.pos||(o=n.src.slice(_+1,n.pos)).match(/(^|[^\\])(\\\\)*\s/)?(n.pos=_,!1):(n.posMax=n.pos,n.pos=_+1,s||n.push({type:"sub",level:n.level,content:o.replace(L9,"$1")}),n.pos=n.posMax+1,n.posMax=l,!0)}],["sup",function H9(n,s){var t,o,l=n.posMax,_=n.pos;if(94!==n.src.charCodeAt(_)||s||_+2>=l||n.level>=n.options.maxNesting)return!1;for(n.pos=_+1;n.pos<l;){if(94===n.src.charCodeAt(n.pos)){t=!0;break}n.parser.skipToken(n)}return!t||_+1===n.pos||(o=n.src.slice(_+1,n.pos)).match(/(^|[^\\])(\\\\)*\s/)?(n.pos=_,!1):(n.posMax=n.pos,n.pos=_+1,s||n.push({type:"sup",level:n.level,content:o.replace($9,"$1")}),n.pos=n.posMax+1,n.posMax=l,!0)}],["links",function B9(n,s){var t,o,l,_,C,x,N,V,Q=!1,oe=n.pos,le=n.posMax,me=n.pos,ye=n.src.charCodeAt(me);if(33===ye&&(Q=!0,ye=n.src.charCodeAt(++me)),91!==ye||n.level>=n.options.maxNesting||(t=me+1,(o=NE(n,me))<0))return!1;if((x=o+1)<le&&40===n.src.charCodeAt(x)){for(x++;x<le&&(32===(V=n.src.charCodeAt(x))||10===V);x++);if(x>=le)return!1;for(me=x,M3(n,x)?(_=n.linkContent,x=n.pos):_="",me=x;x<le&&(32===(V=n.src.charCodeAt(x))||10===V);x++);if(x<le&&me!==x&&O3(n,x))for(C=n.linkContent,x=n.pos;x<le&&(32===(V=n.src.charCodeAt(x))||10===V);x++);else C="";if(x>=le||41!==n.src.charCodeAt(x))return n.pos=oe,!1;x++}else{if(n.linkLevel>0)return!1;for(;x<le&&(32===(V=n.src.charCodeAt(x))||10===V);x++);if(x<le&&91===n.src.charCodeAt(x)&&(me=x+1,(x=NE(n,x))>=0?l=n.src.slice(me,x++):x=me-1),l||(void 0===l&&(x=o+1),l=n.src.slice(t,o)),!(N=n.env.references[A3(l)]))return n.pos=oe,!1;_=N.href,C=N.title}return s||(n.pos=t,n.posMax=o,Q?n.push({type:"image",src:_,title:C,alt:n.src.substr(t,o-t),level:n.level}):(n.push({type:"link_open",href:_,title:C,level:n.level++}),n.linkLevel++,n.parser.tokenize(n),n.linkLevel--,n.push({type:"link_close",level:--n.level}))),n.pos=x,n.posMax=le,!0}],["footnote_inline",function U9(n,s){var t,o,l,_,C=n.posMax,x=n.pos;return!(x+2>=C||94!==n.src.charCodeAt(x)||91!==n.src.charCodeAt(x+1)||n.level>=n.options.maxNesting||(t=x+2,o=NE(n,x+1),o<0)||(s||(n.env.footnotes||(n.env.footnotes={}),n.env.footnotes.list||(n.env.footnotes.list=[]),l=n.env.footnotes.list.length,n.pos=t,n.posMax=o,n.push({type:"footnote_ref",id:l,level:n.level}),n.linkLevel++,_=n.tokens.length,n.parser.tokenize(n),n.env.footnotes.list[l]={tokens:n.tokens.splice(_)},n.linkLevel--),n.pos=o+1,n.posMax=C,0))}],["footnote_ref",function Y9(n,s){var t,o,l,_,C=n.posMax,x=n.pos;if(x+3>C||!n.env.footnotes||!n.env.footnotes.refs||91!==n.src.charCodeAt(x)||94!==n.src.charCodeAt(x+1)||n.level>=n.options.maxNesting)return!1;for(o=x+2;o<C;o++){if(32===n.src.charCodeAt(o)||10===n.src.charCodeAt(o))return!1;if(93===n.src.charCodeAt(o))break}return!(o===x+2||o>=C||(o++,t=n.src.slice(x+2,o-1),void 0===n.env.footnotes.refs[":"+t])||(s||(n.env.footnotes.list||(n.env.footnotes.list=[]),n.env.footnotes.refs[":"+t]<0?(n.env.footnotes.list[l=n.env.footnotes.list.length]={label:t,count:0},n.env.footnotes.refs[":"+t]=l):l=n.env.footnotes.refs[":"+t],_=n.env.footnotes.list[l].count,n.env.footnotes.list[l].count++,n.push({type:"footnote_ref",id:l,subId:_,level:n.level})),n.pos=o,n.posMax=C,0))}],["autolink",function Z9(n,s){var t,o,l,_,C,x=n.pos;return!(60!==n.src.charCodeAt(x)||(t=n.src.slice(x),t.indexOf(">")<0)||((o=t.match(V9))?j9.indexOf(o[1].toLowerCase())<0||(_=o[0].slice(1,-1),C=XA(_),!n.parser.validateLink(_))||(s||(n.push({type:"link_open",href:C,level:n.level}),n.push({type:"text",content:_,level:n.level+1}),n.push({type:"link_close",level:n.level})),n.pos+=o[0].length,0):!(l=t.match(G9))||(C=XA("mailto:"+(_=l[0].slice(1,-1))),!n.parser.validateLink(C)||(s||(n.push({type:"link_open",href:C,level:n.level}),n.push({type:"text",content:_,level:n.level+1}),n.push({type:"link_close",level:n.level})),n.pos+=l[0].length,0))))}],["htmltag",function ak(n,s){var t,o,l,_=n.pos;return!(!n.options.html||(l=n.posMax,60!==n.src.charCodeAt(_)||_+2>=l)||(t=n.src.charCodeAt(_+1),33!==t&&63!==t&&47!==t&&!function sk(n){var s=32|n;return s>=97&&s<=122}(t))||(o=n.src.slice(_).match(ok),!o)||(s||n.push({type:"htmltag",content:n.src.slice(_,_+o[0].length),level:n.level}),n.pos+=o[0].length,0))}],["entity",function ck(n,s){var o,l,_=n.pos,C=n.posMax;if(38!==n.src.charCodeAt(_))return!1;if(_+1<C)if(35===n.src.charCodeAt(_+1)){if(l=n.src.slice(_).match(lk))return s||(o="x"===l[1][0].toLowerCase()?parseInt(l[1].slice(1),16):parseInt(l[1],10),n.pending+=JA(o)?hC(o):hC(65533)),n.pos+=l[0].length,!0}else if(l=n.src.slice(_).match(uk)){var x=S3(l[1]);if(l[1]!==x)return s||(n.pending+=x),n.pos+=l[0].length,!0}return s||(n.pending+="&"),n.pos++,!0}]];function vC(){this.ruler=new N_;for(var n=0;n<rD.length;n++)this.ruler.push(rD[n][0],rD[n][1]);this.validateLink=dk}function dk(n){var t=n.trim().toLowerCase();return!(-1!==(t=Kg(t)).indexOf(":")&&-1!==["vbscript","javascript","file","data"].indexOf(t.split(":")[0]))}vC.prototype.skipToken=function(n){var l,_,s=this.ruler.getRules(""),t=s.length,o=n.pos;if((_=n.cacheGet(o))>0)n.pos=_;else{for(l=0;l<t;l++)if(s[l](n,!0))return void n.cacheSet(o,n.pos);n.pos++,n.cacheSet(o,n.pos)}},vC.prototype.tokenize=function(n){for(var l,_,s=this.ruler.getRules(""),t=s.length,o=n.posMax;n.pos<o;){for(_=0;_<t&&!(l=s[_](n,!1));_++);if(l){if(n.pos>=o)break}else n.pending+=n.src[n.pos++]}n.pending&&n.pushPending()},vC.prototype.parse=function(n,s,t,o){var l=new Jv(n,this,s,t,o);this.tokenize(l)};var _k={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["block","inline","references","replacements","smartquotes","references","abbr2","footnote_tail"]},block:{rules:["blockquote","code","fences","footnote","heading","hr","htmlblock","lheading","list","paragraph","table"]},inline:{rules:["autolink","backticks","del","emphasis","entity","escape","footnote_ref","htmltag","links","newline","text"]}}},full:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:20},components:{core:{},block:{},inline:{}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["block","inline","references","abbr2"]},block:{rules:["blockquote","code","fences","heading","hr","htmlblock","lheading","list","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","htmltag","links","newline","text"]}}}};function H3(n,s,t){this.src=s,this.env=t,this.options=n.options,this.tokens=[],this.inlineMode=!1,this.inline=n.inline,this.block=n.block,this.renderer=n.renderer,this.typographer=n.typographer}function qg(n,s){"string"!=typeof n&&(s=n,n="default"),s&&null!=s.linkify&&console.warn("linkify option is removed. Use linkify plugin instead:\n\nimport Remarkable from 'remarkable';\nimport linkify from 'remarkable/linkify';\nnew Remarkable().use(linkify)\n"),this.inline=new vC,this.block=new tD,this.core=new P3,this.renderer=new QA,this.ruler=new N_,this.options={},this.configure(_k[n]),this.set(s||{})}qg.prototype.set=function(n){WA(this.options,n)},qg.prototype.configure=function(n){var s=this;if(!n)throw new Error("Wrong `remarkable` preset, check name/content");n.options&&s.set(n.options),n.components&&Object.keys(n.components).forEach(function(t){n.components[t].rules&&s[t].ruler.enable(n.components[t].rules,!0)})},qg.prototype.use=function(n,s){return n(this,s),this},qg.prototype.parse=function(n,s){var t=new H3(this,n,s);return this.core.process(t),t.tokens},qg.prototype.render=function(n,s){return this.renderer.render(this.parse(n,s=s||{}),this.options,s)},qg.prototype.parseInline=function(n,s){var t=new H3(this,n,s);return t.inlineMode=!0,this.core.process(t),t.tokens},qg.prototype.renderInline=function(n,s){return this.renderer.render(this.parseInline(n,s=s||{}),this.options,s)};var yC="NOT_FOUND",vk=function(s,t){return s===t};function Ek(n,s){var t="object"==typeof s?s:{equalityCheck:s},o=t.equalityCheck,_=t.maxSize,C=void 0===_?1:_,x=t.resultEqualityCheck,N=function yk(n){return function(t,o){if(null===t||null===o||t.length!==o.length)return!1;for(var l=t.length,_=0;_<l;_++)if(!n(t[_],o[_]))return!1;return!0}}(void 0===o?vk:o),V=1===C?function mk(n){var s;return{get:function(o){return s&&n(s.key,o)?s.value:yC},put:function(o,l){s={key:o,value:l}},getEntries:function(){return s?[s]:[]},clear:function(){s=void 0}}}(N):function gk(n,s){var t=[];function o(x){var N=t.findIndex(function(Q){return s(x,Q.key)});if(N>-1){var V=t[N];return N>0&&(t.splice(N,1),t.unshift(V)),V.value}return yC}return{get:o,put:function l(x,N){o(x)===yC&&(t.unshift({key:x,value:N}),t.length>n&&t.pop())},getEntries:function _(){return t},clear:function C(){t=[]}}}(C,N);function Q(){var oe=V.get(arguments);if(oe===yC){if(oe=n.apply(null,arguments),x){var le=V.getEntries(),me=le.find(function(ye){return x(ye.value,oe)});me&&(oe=me.value)}V.put(arguments,oe)}return oe}return Q.clearCache=function(){return V.clear()},Q}function bk(n){var s=Array.isArray(n[0])?n[0]:n;if(!s.every(function(o){return"function"==typeof o})){var t=s.map(function(o){return"function"==typeof o?"function "+(o.name||"unnamed")+"()":typeof o}).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+t+"]")}return s}function Sk(n){for(var s=arguments.length,t=new Array(s>1?s-1:0),o=1;o<s;o++)t[o-1]=arguments[o];var l=function(){for(var C=arguments.length,x=new Array(C),N=0;N<C;N++)x[N]=arguments[N];var Q,V=0,oe={memoizeOptions:void 0},le=x.pop();if("object"==typeof le&&(oe=le,le=x.pop()),"function"!=typeof le)throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof le+"]");var me=oe,ye=me.memoizeOptions,$e=void 0===ye?t:ye,Ne=Array.isArray($e)?$e:[$e],ke=bk(x),we=n.apply(void 0,[function(){return V++,le.apply(null,arguments)}].concat(Ne)),G=n(function(){for(var bt=[],Bt=ke.length,Jt=0;Jt<Bt;Jt++)bt.push(ke[Jt].apply(null,arguments));return Q=we.apply(null,bt)});return Object.assign(G,{resultFunc:le,memoizedResultFunc:we,dependencies:ke,lastResult:function(){return Q},recomputations:function(){return V},resetRecomputations:function(){return V=0}}),G};return l}var B3=Sk(Ek),Tk=i(4043),Ck=i(2135),Mk=i.n(Ck),Ok=i(95327),Ak=i.n(Ok),Dk=i(31208),xk=i(3912),Rk=i.n(xk),wk=i(41233),Pk=i.n(wk),Nk=i(33814),Ik=i.n(Nk),Fk=i(74299),Lk=i.n(Fk),kk=i(32322),$k=i.n(kk),Hk=i(58734),Bk=i.n(Hk),Uk=i(69883),Yk=i.n(Uk),jk=i(41205),Gk=i.n(jk),Vk={3978:(n,s,t)=>{n.exports=t(1910)},1543:(n,s,t)=>{t.d(s,{Z:()=>ke});var o=t(863),l=t(7344),_=t(8656),C=t(6340),x=t(9972),N=t(5416),V=t(775),Q=t(5171),oe=t(8818),le=t(2565),me=t(810);const ye=(t.d(G={},{default:()=>mE}),G);var G,$e=t(9569),Ne=t(5053),ke=function(we){(0,x.default)(Dt,we);var G=(0,N.default)(Dt);function Dt(){var bt,Bt;(0,l.default)(this,Dt);for(var Jt=arguments.length,Mn=new Array(Jt),zt=0;zt<Jt;zt++)Mn[zt]=arguments[zt];return Bt=G.call.apply(G,(0,Q.default)(bt=[this]).call(bt,Mn)),(0,V.default)((0,C.default)(Bt),"getModelName",function(xn){return-1!==(0,oe.default)(xn).call(xn,"#/definitions/")?xn.replace(/^.*#\/definitions\//,""):-1!==(0,oe.default)(xn).call(xn,"#/components/schemas/")?xn.replace(/^.*#\/components\/schemas\//,""):void 0}),(0,V.default)((0,C.default)(Bt),"getRefSchema",function(xn){return Bt.props.specSelectors.findDefinition(xn)}),Bt}return(0,_.default)(Dt,[{key:"render",value:function(){var bt=this.props,Bt=bt.getComponent,Jt=bt.getConfigs,Mn=bt.specSelectors,zt=bt.schema,xn=bt.required,Nn=bt.name,zr=bt.isRef,Hr=bt.specPath,Vr=bt.displayName,qr=bt.includeReadOnly,On=bt.includeWriteOnly,Jn=Bt("ObjectModel"),Qn=Bt("ArrayModel"),ur=Bt("PrimitiveModel"),In="object",Yr=zt&&zt.get("$$ref");if(!Nn&&Yr&&(Nn=this.getModelName(Yr)),!zt&&Yr&&(zt=this.getRefSchema(Nn)),!zt)return me.default.createElement("span",{className:"model model-title"},me.default.createElement("span",{className:"model-title__text"},Vr||Nn),me.default.createElement("img",{src:t(2517),height:"20px",width:"20px"}));var Qi=Mn.isOAS3()&&zt.get("deprecated");switch(zr=void 0!==zr?zr:!!Yr,In=zt&&zt.get("type")||In){case"object":return me.default.createElement(Jn,(0,o.default)({className:"object"},this.props,{specPath:Hr,getConfigs:Jt,schema:zt,name:Nn,deprecated:Qi,isRef:zr,includeReadOnly:qr,includeWriteOnly:On}));case"array":return me.default.createElement(Qn,(0,o.default)({className:"array"},this.props,{getConfigs:Jt,schema:zt,name:Nn,deprecated:Qi,required:xn,includeReadOnly:qr,includeWriteOnly:On}));default:return me.default.createElement(ur,(0,o.default)({},this.props,{getComponent:Bt,getConfigs:Jt,schema:zt,name:Nn,deprecated:Qi,required:xn}))}}}]),Dt}(ye.default);(0,V.default)(ke,"propTypes",{schema:(0,le.default)($e.default).isRequired,getComponent:Ne.default.func.isRequired,getConfigs:Ne.default.func.isRequired,specSelectors:Ne.default.object.isRequired,name:Ne.default.string,displayName:Ne.default.string,isRef:Ne.default.bool,required:Ne.default.bool,expandDepth:Ne.default.number,depth:Ne.default.number,specPath:$e.default.list.isRequired,includeReadOnly:Ne.default.bool,includeWriteOnly:Ne.default.bool})},5623:(n,s,t)=>{t.d(s,{Z:()=>Ne});var o=t(1581),l=t(7344),_=t(8656),C=t(6340),x=t(9972),N=t(5416),V=t(775),Q=t(2740),oe=t(5171),le=t(810),me=t(8900),ye=(t(5053),t(6298)),$e=t(7504),Ne=function(we){(0,x.default)(Dt,we);var G=(0,N.default)(Dt);function Dt(bt,Bt){var Jt;(0,l.default)(this,Dt),Jt=G.call(this,bt,Bt),(0,V.default)((0,C.default)(Jt),"getDefinitionUrl",function(){return new me.default(Jt.props.specSelectors.url(),$e.Z.location).toString()});var Mn=(0,bt.getConfigs)().validatorUrl;return Jt.state={url:Jt.getDefinitionUrl(),validatorUrl:void 0===Mn?"https://validator.swagger.io/validator":Mn},Jt}return(0,_.default)(Dt,[{key:"UNSAFE_componentWillReceiveProps",value:function(bt){var Bt=(0,bt.getConfigs)().validatorUrl;this.setState({url:this.getDefinitionUrl(),validatorUrl:void 0===Bt?"https://validator.swagger.io/validator":Bt})}},{key:"render",value:function(){var bt,Bt,Jt=(0,this.props.getConfigs)().spec,Mn=(0,ye.Nm)(this.state.validatorUrl);return"object"===(0,o.default)(Jt)&&(0,Q.default)(Jt).length?null:this.state.url&&(0,ye.hW)(this.state.validatorUrl)&&(0,ye.hW)(this.state.url)?le.default.createElement("span",{className:"float-right"},le.default.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:(0,oe.default)(bt="".concat(Mn,"/debug?url=")).call(bt,encodeURIComponent(this.state.url))},le.default.createElement(ke,{src:(0,oe.default)(Bt="".concat(Mn,"?url=")).call(Bt,encodeURIComponent(this.state.url)),alt:"Online validator badge"}))):null}}]),Dt}(le.default.Component),ke=function(we){(0,x.default)(Dt,we);var G=(0,N.default)(Dt);function Dt(bt){var Bt;return(0,l.default)(this,Dt),(Bt=G.call(this,bt)).state={loaded:!1,error:!1},Bt}return(0,_.default)(Dt,[{key:"componentDidMount",value:function(){var bt=this,Bt=new Image;Bt.onload=function(){bt.setState({loaded:!0})},Bt.onerror=function(){bt.setState({error:!0})},Bt.src=this.props.src}},{key:"UNSAFE_componentWillReceiveProps",value:function(bt){var Bt=this;if(bt.src!==this.props.src){var Jt=new Image;Jt.onload=function(){Bt.setState({loaded:!0})},Jt.onerror=function(){Bt.setState({error:!0})},Jt.src=bt.src}}},{key:"render",value:function(){return this.state.error?le.default.createElement("img",{alt:"Error"}):this.state.loaded?le.default.createElement("img",{src:this.props.src,alt:this.props.alt}):null}}]),Dt}(le.default.Component)},5466:(n,s,t)=>{t.d(s,{Z:()=>V,s:()=>Q});var o=t(810),l=(t(5053),t(3952));const _=(t.d(le={},{linkify:()=>WP}),le),C=(oe=>{var le={};return t.d(le,oe),le})({default:()=>QP()});var le,x=t(8096);function N(oe){var le=oe.source,me=oe.className,ye=void 0===me?"":me,$e=oe.getConfigs;if("string"!=typeof le)return null;var Ne=new l.Remarkable({html:!0,typographer:!0,breaks:!0,linkTarget:"_blank"}).use(_.linkify);Ne.core.ruler.disable(["replacements","smartquotes"]);var ke=$e().useUnsafeMarkdown,we=Ne.render(le),G=Q(we,{useUnsafeMarkdown:ke});return le&&we&&G?o.default.createElement("div",{className:(0,x.default)(ye,"markdown"),dangerouslySetInnerHTML:{__html:G}}):null}C.default.addHook&&C.default.addHook("beforeSanitizeElements",function(oe){return oe.href&&oe.setAttribute("rel","noopener noreferrer"),oe}),N.defaultProps={getConfigs:function(){return{useUnsafeMarkdown:!1}}};const V=N;function Q(oe){var le=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},me=le.useUnsafeMarkdown,ye=void 0!==me&&me,$e=ye,Ne=ye?[]:["style","class"];return ye&&!Q.hasWarnedAboutDeprecation&&(console.warn("useUnsafeMarkdown display configuration parameter is deprecated since >3.26.0 and will be removed in v4.0.0."),Q.hasWarnedAboutDeprecation=!0),C.default.sanitize(oe,{ADD_ATTR:["target"],FORBID_TAGS:["style","form"],ALLOW_DATA_ATTR:$e,FORBID_ATTR:Ne})}Q.hasWarnedAboutDeprecation=!1},5308:(n,s,t)=>{t.r(s),t.d(s,{default:()=>Q});var o,l=t(29),_=t(5487),C=t(6298),x=t(8102),N=t(5102),V={};const Q=V;(0,l.default)(o=(0,_.default)(N).call(N)).call(o,function(oe){if("./index.js"!==oe){var le=N(oe);V[(0,C.Zl)(oe)]=le.default?le.default:le}}),V.SafeRender=x.default},5812:(n,s,t)=>{t.r(s),t.d(s,{SHOW_AUTH_POPUP:()=>V,AUTHORIZE:()=>Q,LOGOUT:()=>oe,PRE_AUTHORIZE_OAUTH2:()=>le,AUTHORIZE_OAUTH2:()=>me,VALIDATE:()=>ye,CONFIGURE_AUTH:()=>$e,RESTORE_AUTHORIZATION:()=>Ne,showDefinitions:()=>ke,authorize:()=>we,authorizeWithPersistOption:()=>G,logout:()=>Dt,logoutWithPersistOption:()=>bt,preAuthorizeImplicit:()=>Bt,authorizeOauth2:()=>Jt,authorizeOauth2WithPersistOption:()=>Mn,authorizePassword:()=>zt,authorizeApplication:()=>xn,authorizeAccessCodeWithFormParams:()=>Nn,authorizeAccessCodeWithBasicAuthentication:()=>zr,authorizeRequest:()=>Hr,configureAuth:()=>Vr,restoreAuthorization:()=>qr,persistAuthorizationIfNeeded:()=>On,authPopup:()=>Jn});var o=t(1581),l=t(313),_=t(7512),C=t(8900),x=t(7504),N=t(6298),V="show_popup",Q="authorize",oe="logout",le="pre_authorize_oauth2",me="authorize_oauth2",ye="validate",$e="configure_auth",Ne="restore_authorization";function ke(Qn){return{type:V,payload:Qn}}function we(Qn){return{type:Q,payload:Qn}}var G=function(Qn){return function(ur){var In=ur.authActions;In.authorize(Qn),In.persistAuthorizationIfNeeded()}};function Dt(Qn){return{type:oe,payload:Qn}}var bt=function(Qn){return function(ur){var In=ur.authActions;In.logout(Qn),In.persistAuthorizationIfNeeded()}},Bt=function(Qn){return function(ur){var In=ur.authActions,Yr=ur.errActions,Qi=Qn.auth,Di=Qn.token,ji=Qn.isValid,Bn=Qi.name,bn=Qi.schema.get("flow");delete x.Z.swaggerUIRedirectOauth2,"accessCode"===bn||ji||Yr.newAuthErr({authId:Bn,source:"auth",level:"warning",message:"Authorization may be unsafe, passed state was changed in server Passed state wasn't returned from auth server"}),Di.error?Yr.newAuthErr({authId:Bn,source:"auth",level:"error",message:(0,l.default)(Di)}):In.authorizeOauth2WithPersistOption({auth:Qi,token:Di})}};function Jt(Qn){return{type:me,payload:Qn}}var Mn=function(Qn){return function(ur){var In=ur.authActions;In.authorizeOauth2(Qn),In.persistAuthorizationIfNeeded()}},zt=function(Qn){return function(ur){var Xi,Bo,Ao,In=ur.authActions,Yr=Qn.schema,Qi=Qn.name,Di=Qn.username,ji=Qn.password,Wr=Qn.passwordType,Bn=Qn.clientId,bn=Qn.clientSecret,Xr={grant_type:"password",scope:Qn.scopes.join(" "),username:Di,password:ji},Ni={};switch(Wr){case"request-body":Xi=Xr,Ao=bn,(Bo=Bn)&&(0,_.default)(Xi,{client_id:Bo}),Ao&&(0,_.default)(Xi,{client_secret:Ao});break;case"basic":Ni.Authorization="Basic "+(0,N.r3)(Bn+":"+bn);break;default:console.warn("Warning: invalid passwordType ".concat(Wr," was passed, not including client id and secret"))}return In.authorizeRequest({body:(0,N.GZ)(Xr),url:Yr.get("tokenUrl"),name:Qi,headers:Ni,query:{},auth:Qn})}},xn=function(Qn){return function(ur){var In=ur.authActions,Yr=Qn.schema,Qi=Qn.scopes,Di=Qn.name,Bn={Authorization:"Basic "+(0,N.r3)(Qn.clientId+":"+Qn.clientSecret)},bn={grant_type:"client_credentials",scope:Qi.join(" ")};return In.authorizeRequest({body:(0,N.GZ)(bn),name:Di,url:Yr.get("tokenUrl"),auth:Qn,headers:Bn})}},Nn=function(Qn){var ur=Qn.auth,In=Qn.redirectUrl;return function(Yr){var Di=ur.schema,ji=ur.name;return Yr.authActions.authorizeRequest({body:(0,N.GZ)({grant_type:"authorization_code",code:ur.code,client_id:ur.clientId,client_secret:ur.clientSecret,redirect_uri:In,code_verifier:ur.codeVerifier}),name:ji,url:Di.get("tokenUrl"),auth:ur})}},zr=function(Qn){var ur=Qn.auth,In=Qn.redirectUrl;return function(Yr){var Qi=Yr.authActions,Di=ur.schema,ji=ur.name,Wr=ur.clientId,bn=ur.codeVerifier,Xr={Authorization:"Basic "+(0,N.r3)(Wr+":"+ur.clientSecret)};return Qi.authorizeRequest({body:(0,N.GZ)({grant_type:"authorization_code",code:ur.code,client_id:Wr,redirect_uri:In,code_verifier:bn}),name:ji,url:Di.get("tokenUrl"),auth:ur,headers:Xr})}},Hr=function(Qn){return function(ur){var In,Yr=ur.fn,Qi=ur.getConfigs,Di=ur.authActions,ji=ur.errActions,Wr=ur.oas3Selectors,Bn=ur.specSelectors,Xr=Qn.body,Ni=Qn.query,Xi=void 0===Ni?{}:Ni,Bo=Qn.headers,Ao=void 0===Bo?{}:Bo,zs=Qn.name,Qs=Qn.url,Ii=Qn.auth,uo=(ur.authSelectors.getConfigs()||{}).additionalQueryStringParams;if(Bn.isOAS3()){var bo=Wr.serverEffectiveValue(Wr.selectedServer());In=(0,C.default)(Qs,bo,!0)}else In=(0,C.default)(Qs,Bn.url(),!0);"object"===(0,o.default)(uo)&&(In.query=(0,_.default)({},In.query,uo));var Qe=In.toString(),Pt=(0,_.default)({Accept:"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded","X-Requested-With":"XMLHttpRequest"},Ao);Yr.fetch({url:Qe,method:"post",headers:Pt,query:Xi,body:Xr,requestInterceptor:Qi().requestInterceptor,responseInterceptor:Qi().responseInterceptor}).then(function(Rt){var qn=JSON.parse(Rt.data);Rt.ok?qn&&qn.error||qn&&qn.parseError?ji.newAuthErr({authId:zs,level:"error",source:"auth",message:(0,l.default)(qn)}):Di.authorizeOauth2WithPersistOption({auth:Ii,token:qn}):ji.newAuthErr({authId:zs,level:"error",source:"auth",message:Rt.statusText})}).catch(function(Rt){var qn=new Error(Rt).message;if(Rt.response&&Rt.response.data){var wr=Rt.response.data;try{var Gr="string"==typeof wr?JSON.parse(wr):wr;Gr.error&&(qn+=", error: ".concat(Gr.error)),Gr.error_description&&(qn+=", description: ".concat(Gr.error_description))}catch(Fi){}}ji.newAuthErr({authId:zs,level:"error",source:"auth",message:qn})})}};function Vr(Qn){return{type:$e,payload:Qn}}function qr(Qn){return{type:Ne,payload:Qn}}var On=function(){return function(Qn){var ur=Qn.authSelectors;if((0,Qn.getConfigs)().persistAuthorization){var In=ur.authorized();localStorage.setItem("authorized",(0,l.default)(In.toJS()))}}},Jn=function(Qn,ur){return function(){x.Z.swaggerUIRedirectOauth2=ur,x.Z.open(Qn)}}},3705:(n,s,t)=>{t.r(s),t.d(s,{default:()=>Q,preauthorizeBasic:()=>oe,preauthorizeApiKey:()=>le});var o=t(775),l=t(5527),_=t(5171),C=t(3962),x=t(5812),N=t(35),V=t(8302);function Q(){return{afterLoad:function(me){this.rootInjects=this.rootInjects||{},this.rootInjects.initOAuth=me.authActions.configureAuth,this.rootInjects.preauthorizeApiKey=(0,l.default)(le).call(le,null,me),this.rootInjects.preauthorizeBasic=(0,l.default)(oe).call(oe,null,me)},statePlugins:{auth:{reducers:C.default,actions:x,selectors:N},spec:{wrapActions:V}}}}function oe(me,ye,$e,Ne){var ke,we=me.authActions.authorize,G=me.specSelectors,Dt=G.specJson,bt=(0,G.isOAS3)()?["components","securitySchemes"]:["securityDefinitions"],Bt=Dt().getIn((0,_.default)(ke=[]).call(ke,bt,[ye]));return Bt?we((0,o.default)({},ye,{value:{username:$e,password:Ne},schema:Bt.toJS()})):null}function le(me,ye,$e){var Ne,ke=me.authActions.authorize,we=me.specSelectors,G=we.specJson,Dt=(0,we.isOAS3)()?["components","securitySchemes"]:["securityDefinitions"],bt=G().getIn((0,_.default)(Ne=[]).call(Ne,Dt,[ye]));return bt?ke((0,o.default)({},ye,{value:$e,schema:bt.toJS()})):null}},3962:(n,s,t)=>{t.r(s),t.d(s,{default:()=>oe});var o,l=t(775),_=t(9334),C=t(29),x=t(7512),N=t(9725),V=t(6298),Q=t(5812);const oe=((0,l.default)(o={},Q.SHOW_AUTH_POPUP,function(le,me){return le.set("showDefinitions",me.payload)}),(0,l.default)(o,Q.AUTHORIZE,function(le,me){var ye,Ne=(0,N.fromJS)(me.payload),ke=le.get("authorized")||(0,N.Map)();return(0,C.default)(ye=Ne.entrySeq()).call(ye,function(we){var G=(0,_.default)(we,2),Dt=G[0],bt=G[1];if(!(0,V.Wl)(bt.getIn))return le.set("authorized",ke);var Bt=bt.getIn(["schema","type"]);if("apiKey"===Bt||"http"===Bt)ke=ke.set(Dt,bt);else if("basic"===Bt){var Jt=bt.getIn(["value","username"]),Mn=bt.getIn(["value","password"]);ke=(ke=ke.setIn([Dt,"value"],{username:Jt,header:"Basic "+(0,V.r3)(Jt+":"+Mn)})).setIn([Dt,"schema"],bt.get("schema"))}}),le.set("authorized",ke)}),(0,l.default)(o,Q.AUTHORIZE_OAUTH2,function(le,me){var ye,$e=me.payload,Ne=$e.auth;Ne.token=(0,x.default)({},$e.token),ye=(0,N.fromJS)(Ne);var we=le.get("authorized")||(0,N.Map)();return we=we.set(ye.get("name"),ye),le.set("authorized",we)}),(0,l.default)(o,Q.LOGOUT,function(le,me){var ye=me.payload,$e=le.get("authorized").withMutations(function(Ne){(0,C.default)(ye).call(ye,function(ke){Ne.delete(ke)})});return le.set("authorized",$e)}),(0,l.default)(o,Q.CONFIGURE_AUTH,function(le,me){return le.set("configs",me.payload)}),(0,l.default)(o,Q.RESTORE_AUTHORIZATION,function(le,me){return le.set("authorized",(0,N.fromJS)(me.payload.authorized))}),o)},35:(n,s,t)=>{t.r(s),t.d(s,{shownDefinitions:()=>me,definitionsToAuthorize:()=>ye,getDefinitionsByNames:()=>$e,definitionsForRequirements:()=>Ne,authorized:()=>ke,isAuthorized:()=>we,getConfigs:()=>G});var o=t(9334),l=t(29),_=t(6145),C=t(9963),x=t(8818),N=t(2565),V=t(2740),Q=t(8639),oe=t(9725),le=function(Dt){return Dt},me=(0,Q.createSelector)(le,function(Dt){return Dt.get("showDefinitions")}),ye=(0,Q.createSelector)(le,function(){return function(Dt){var bt,Bt=Dt.specSelectors.securityDefinitions()||(0,oe.Map)({}),Jt=(0,oe.List)();return(0,l.default)(bt=Bt.entrySeq()).call(bt,function(Mn){var zt=(0,o.default)(Mn,2),xn=zt[0],Nn=zt[1],zr=(0,oe.Map)();zr=zr.set(xn,Nn),Jt=Jt.push(zr)}),Jt}}),$e=function(Dt,bt){return function(Bt){var Jt,Mn=Bt.specSelectors;console.warn("WARNING: getDefinitionsByNames is deprecated and will be removed in the next major version.");var zt=Mn.securityDefinitions(),xn=(0,oe.List)();return(0,l.default)(Jt=bt.valueSeq()).call(Jt,function(Nn){var zr,Hr=(0,oe.Map)();(0,l.default)(zr=Nn.entrySeq()).call(zr,function(Vr){var qr,On,Jn=(0,o.default)(Vr,2),Qn=Jn[0],ur=Jn[1],In=zt.get(Qn);"oauth2"===In.get("type")&&ur.size&&(qr=In.get("scopes"),(0,l.default)(On=qr.keySeq()).call(On,function(Yr){ur.contains(Yr)||(qr=qr.delete(Yr))}),In=In.set("allowedScopes",qr)),Hr=Hr.set(Qn,In)}),xn=xn.push(Hr)}),xn}},Ne=function(Dt){var bt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,oe.List)();return function(Bt){var Jt=Bt.authSelectors.definitionsToAuthorize()||(0,oe.List)();return(0,_.default)(Jt).call(Jt,function(Mn){return(0,C.default)(bt).call(bt,function(zt){return zt.get(Mn.keySeq().first())})})}},ke=(0,Q.createSelector)(le,function(Dt){return Dt.get("authorized")||(0,oe.Map)()}),we=function(Dt,bt){return function(Bt){var Jt,Mn=Bt.authSelectors.authorized();return oe.List.isList(bt)?!!(0,_.default)(Jt=bt.toJS()).call(Jt,function(zt){var xn,Nn;return-1===(0,x.default)(xn=(0,N.default)(Nn=(0,V.default)(zt)).call(Nn,function(zr){return!!Mn.get(zr)})).call(xn,!1)}).length:null}},G=(0,Q.createSelector)(le,function(Dt){return Dt.get("configs")})},8302:(n,s,t)=>{t.r(s),t.d(s,{execute:()=>l});var o=t(1013),l=function(_,C){var x=C.authSelectors,N=C.specSelectors;return function(V){var Q=V.path,oe=V.method,le=V.operation,me=V.extras,ye={authorized:x.authorized()&&x.authorized().toJS(),definitions:N.securityDefinitions()&&N.securityDefinitions().toJS(),specSecurity:N.security()&&N.security().toJS()};return _((0,o.default)({path:Q,method:oe,operation:le,securities:ye},me))}}},714:(n,s,t)=>{t.r(s),t.d(s,{UPDATE_CONFIGS:()=>l,TOGGLE_CONFIGS:()=>_,update:()=>C,toggle:()=>x,loaded:()=>N});var o=t(775),l="configs_update",_="configs_toggle";function C(V,Q){return{type:l,payload:(0,o.default)({},V,Q)}}function x(V){return{type:_,payload:V}}var N=function(){return function(V){var oe=V.authActions;if((0,V.getConfigs)().persistAuthorization){var le=localStorage.getItem("authorized");le&&oe.restoreAuthorization({authorized:JSON.parse(le)})}}}},2256:(n,s,t)=>{t.r(s),t.d(s,{parseYamlConfig:()=>l});var o=t(626),l=function(_,C){try{return o.default.load(_)}catch(x){return C&&C.errActions.newThrownErr(new Error(x)),{}}}},1661:(n,s,t)=>{t.r(s),t.d(s,{default:()=>Q});var o=t(5163),l=t(2256),_=t(714),C=t(2698),x=t(9018),N=t(7743),V={getLocalConfig:function(){return(0,l.parseYamlConfig)(o)}};function Q(){return{statePlugins:{spec:{actions:C,selectors:V},configs:{reducers:N.default,actions:_,selectors:x}}}}},7743:(n,s,t)=>{t.r(s),t.d(s,{default:()=>x});var o,l=t(775),_=t(9725),C=t(714);const x=((0,l.default)(o={},C.UPDATE_CONFIGS,function(N,V){return N.merge((0,_.fromJS)(V.payload))}),(0,l.default)(o,C.TOGGLE_CONFIGS,function(N,V){var Q=V.payload,oe=N.get(Q);return N.set(Q,!oe)}),o)},9018:(n,s,t)=>{t.r(s),t.d(s,{get:()=>l});var o=t(4163),l=function(_,C){return _.getIn((0,o.default)(C)?C:[C])}},2698:(n,s,t)=>{t.r(s),t.d(s,{downloadConfig:()=>l,getConfigByUrl:()=>_});var o=t(2256),l=function(C){return function(x){return(0,x.fn.fetch)(C)}},_=function(C,x){return function(N){var V=N.specActions;if(C)return V.downloadConfig(C).then(Q,Q);function Q(oe){oe instanceof Error||oe.status>=400?(V.updateLoadingStatus("failedConfig"),V.updateLoadingStatus("failedConfig"),V.updateUrl(""),console.error(oe.statusText+" "+C.url),x(null)):x((0,o.parseYamlConfig)(oe.text))}}}},1970:(n,s,t)=>{t.r(s),t.d(s,{setHash:()=>o});var o=function(l){return l?history.pushState(null,null,"#".concat(l)):window.location.hash=""}},4980:(n,s,t)=>{t.r(s),t.d(s,{default:()=>C});var o=t(5858),l=t(877),_=t(4584);function C(){return[o.default,{statePlugins:{configs:{wrapActions:{loaded:function(x,N){return function(){x.apply(void 0,arguments);var V=decodeURIComponent(window.location.hash);N.layoutActions.parseDeepLinkHash(V)}}}}},wrapComponents:{operation:l.default,OperationTag:_.default}}]}},5858:(n,s,t)=>{t.r(s),t.d(s,{clearScrollTo:()=>Bt,default:()=>Jt,parseDeepLinkHash:()=>G,readyToScroll:()=>Dt,scrollTo:()=>we,scrollToElement:()=>bt,show:()=>ke});var o=t(775),l=t(9334),_=t(4163),C=t(5171),x=t(8136),N=t(2565),V=t(8818),Q=t(1970);const oe=(t.d(zt={},{default:()=>KP()}),zt);var zt,le,me=t(6298),ye=t(9725),$e="layout_scroll_to",Ne="layout_clear_scroll",ke=function(Mn,zt){var xn=zt.getConfigs,Nn=zt.layoutSelectors;return function(){for(var zr=arguments.length,Hr=new Array(zr),Vr=0;Vr<zr;Vr++)Hr[Vr]=arguments[Vr];if(Mn.apply(void 0,Hr),xn().deepLinking)try{var qr=Hr[0],On=Hr[1];qr=(0,_.default)(qr)?qr:[qr];var Jn=Nn.urlHashArrayFromIsShownKey(qr);if(!Jn.length)return;var Qn,ur=(0,l.default)(Jn,2),In=ur[0],Yr=ur[1];if(!On)return(0,Q.setHash)("/");2===Jn.length?(0,Q.setHash)((0,me.oJ)((0,C.default)(Qn="/".concat(encodeURIComponent(In),"/")).call(Qn,encodeURIComponent(Yr)))):1===Jn.length&&(0,Q.setHash)((0,me.oJ)("/".concat(encodeURIComponent(In))))}catch(Qi){console.error(Qi)}}},we=function(Mn){return{type:$e,payload:(0,_.default)(Mn)?Mn:[Mn]}},G=function(Mn){return function(zt){var xn=zt.layoutActions,Nn=zt.layoutSelectors;if((0,zt.getConfigs)().deepLinking&&Mn){var zr,Hr=(0,x.default)(Mn).call(Mn,1);"!"===Hr[0]&&(Hr=(0,x.default)(Hr).call(Hr,1)),"/"===Hr[0]&&(Hr=(0,x.default)(Hr).call(Hr,1));var Vr=(0,N.default)(zr=Hr.split("/")).call(zr,function(Di){return Di||""}),qr=Nn.isShownKeyFromUrlHashArray(Vr),On=(0,l.default)(qr,3),Qn=On[1],ur=void 0===Qn?"":Qn,In=On[2],Yr=void 0===In?"":In;if("operations"===On[0]){var Qi=Nn.isShownKeyFromUrlHashArray([ur]);(0,V.default)(ur).call(ur,"_")>-1&&(console.warn("Warning: escaping deep link whitespace with `_` will be unsupported in v4.0, use `%20` instead."),xn.show((0,N.default)(Qi).call(Qi,function(Di){return Di.replace(/_/g," ")}),!0)),xn.show(Qi,!0)}((0,V.default)(ur).call(ur,"_")>-1||(0,V.default)(Yr).call(Yr,"_")>-1)&&(console.warn("Warning: escaping deep link whitespace with `_` will be unsupported in v4.0, use `%20` instead."),xn.show((0,N.default)(qr).call(qr,function(Di){return Di.replace(/_/g," ")}),!0)),xn.show(qr,!0),xn.scrollTo(qr)}}},Dt=function(Mn,zt){return function(xn){var Nn=xn.layoutSelectors.getScrollToKey();ye.default.is(Nn,(0,ye.fromJS)(Mn))&&(xn.layoutActions.scrollToElement(zt),xn.layoutActions.clearScrollTo())}},bt=function(Mn,zt){return function(xn){try{zt=zt||xn.fn.getScrollParent(Mn),oe.default.createScroller(zt).to(Mn)}catch(Nn){console.error(Nn)}}},Bt=function(){return{type:Ne}};const Jt={fn:{getScrollParent:function(Mn,zt){var xn=document.documentElement,Nn=getComputedStyle(Mn),zr="absolute"===Nn.position,Hr=zt?/(auto|scroll|hidden)/:/(auto|scroll)/;if("fixed"===Nn.position)return xn;for(var Vr=Mn;Vr=Vr.parentElement;)if(Nn=getComputedStyle(Vr),(!zr||"static"!==Nn.position)&&Hr.test(Nn.overflow+Nn.overflowY+Nn.overflowX))return Vr;return xn}},statePlugins:{layout:{actions:{scrollToElement:bt,scrollTo:we,clearScrollTo:Bt,readyToScroll:Dt,parseDeepLinkHash:G},selectors:{getScrollToKey:function(Mn){return Mn.get("scrollToKey")},isShownKeyFromUrlHashArray:function(Mn,zt){var xn=(0,l.default)(zt,2),Nn=xn[0],zr=xn[1];return zr?["operations",Nn,zr]:Nn?["operations-tag",Nn]:[]},urlHashArrayFromIsShownKey:function(Mn,zt){var xn=(0,l.default)(zt,3),Nn=xn[0],zr=xn[1];return"operations"==Nn?[zr,xn[2]]:"operations-tag"==Nn?[zr]:[]}},reducers:(le={},(0,o.default)(le,$e,function(Mn,zt){return Mn.set("scrollToKey",ye.default.fromJS(zt.payload))}),(0,o.default)(le,Ne,function(Mn){return Mn.delete("scrollToKey")}),le),wrapActions:{show:ke}}}}},4584:(n,s,t)=>{t.r(s),t.d(s,{default:()=>oe});var o=t(7344),l=t(8656),_=t(6340),C=t(9972),x=t(5416),N=t(775),V=t(5171),Q=t(810);t(5053);const oe=function(le,me){return function(ye){(0,C.default)(Ne,ye);var $e=(0,x.default)(Ne);function Ne(){var ke,we;(0,o.default)(this,Ne);for(var G=arguments.length,Dt=new Array(G),bt=0;bt<G;bt++)Dt[bt]=arguments[bt];return we=$e.call.apply($e,(0,V.default)(ke=[this]).call(ke,Dt)),(0,N.default)((0,_.default)(we),"onLoad",function(Bt){me.layoutActions.readyToScroll(["operations-tag",we.props.tag],Bt)}),we}return(0,l.default)(Ne,[{key:"render",value:function(){return Q.default.createElement("span",{ref:this.onLoad},Q.default.createElement(le,this.props))}}]),Ne}(Q.default.Component)}},877:(n,s,t)=>{t.r(s),t.d(s,{default:()=>oe});var o=t(7344),l=t(8656),_=t(6340),C=t(9972),x=t(5416),N=t(775),V=t(5171),Q=t(810);t(9569);const oe=function(le,me){return function(ye){(0,C.default)(Ne,ye);var $e=(0,x.default)(Ne);function Ne(){var ke,we;(0,o.default)(this,Ne);for(var G=arguments.length,Dt=new Array(G),bt=0;bt<G;bt++)Dt[bt]=arguments[bt];return we=$e.call.apply($e,(0,V.default)(ke=[this]).call(ke,Dt)),(0,N.default)((0,_.default)(we),"onLoad",function(Bt){var Jt=we.props.operation,Mn=Jt.toObject(),zt=Mn.tag,xn=Mn.operationId,Nn=Jt.toObject().isShownKey;me.layoutActions.readyToScroll(Nn=Nn||["operations",zt,xn],Bt)}),we}return(0,l.default)(Ne,[{key:"render",value:function(){return Q.default.createElement("span",{ref:this.onLoad},Q.default.createElement(le,this.props))}}]),Ne}(Q.default.Component)}},8011:(n,s,t)=>{t.r(s),t.d(s,{default:()=>oe});var o=t(7512),l=t(3769),_=t(5171),C=t(8818),x=t(313),N=t(8639),V=t(9725),Q=t(7504);function oe(le){var me=le.fn;return{statePlugins:{spec:{actions:{download:function(ye){return function($e){var Ne=$e.errActions,ke=$e.specSelectors,we=$e.specActions,Dt=me.fetch,bt=(0,$e.getConfigs)();function Bt(Jt){if(Jt instanceof Error||Jt.status>=400)return we.updateLoadingStatus("failed"),Ne.newThrownErr((0,o.default)(new Error((Jt.message||Jt.statusText)+" "+ye),{source:"fetch"})),void(!Jt.status&&Jt instanceof Error&&function(){try{var Mn;if("URL"in Q.Z?Mn=new l.default(ye):(Mn=document.createElement("a")).href=ye,"https:"!==Mn.protocol&&"https:"===Q.Z.location.protocol){var zt=(0,o.default)(new Error("Possible mixed-content issue? The page was loaded over https:// but a ".concat(Mn.protocol,"// URL was specified. Check that you are not attempting to load mixed content.")),{source:"fetch"});return void Ne.newThrownErr(zt)}if(Mn.origin!==Q.Z.location.origin){var xn,Nn=(0,o.default)(new Error((0,_.default)(xn="Possible cross-origin (CORS) issue? The URL origin (".concat(Mn.origin,") does not match the page (")).call(xn,Q.Z.location.origin,"). Check the server returns the correct 'Access-Control-Allow-*' headers.")),{source:"fetch"});Ne.newThrownErr(Nn)}}catch(zr){return}}());we.updateLoadingStatus("success"),we.updateSpec(Jt.text),ke.url()!==ye&&we.updateUrl(ye)}ye=ye||ke.url(),we.updateLoadingStatus("loading"),Ne.clear({source:"fetch"}),Dt({url:ye,loadSpec:!0,requestInterceptor:bt.requestInterceptor||function(Jt){return Jt},responseInterceptor:bt.responseInterceptor||function(Jt){return Jt},credentials:"same-origin",headers:{Accept:"application/json,*/*"}}).then(Bt,Bt)}},updateLoadingStatus:function(ye){var $e,Ne=[null,"loading","failed","success","failedConfig"];return-1===(0,C.default)(Ne).call(Ne,ye)&&console.error((0,_.default)($e="Error: ".concat(ye," is not one of ")).call($e,(0,x.default)(Ne))),{type:"spec_update_loading_status",payload:ye}}},reducers:{spec_update_loading_status:function(ye,$e){return"string"==typeof $e.payload?ye.set("loadingStatus",$e.payload):ye}},selectors:{loadingStatus:(0,N.createSelector)(function(ye){return ye||(0,V.Map)()},function(ye){return ye.get("loadingStatus")||null})}}}}}},4966:(n,s,t)=>{t.r(s),t.d(s,{NEW_THROWN_ERR:()=>l,NEW_THROWN_ERR_BATCH:()=>_,NEW_SPEC_ERR:()=>C,NEW_SPEC_ERR_BATCH:()=>x,NEW_AUTH_ERR:()=>N,CLEAR:()=>V,CLEAR_BY:()=>Q,newThrownErr:()=>oe,newThrownErrBatch:()=>le,newSpecErr:()=>me,newSpecErrBatch:()=>ye,newAuthErr:()=>$e,clear:()=>Ne,clearBy:()=>ke});var o=t(8518),l="err_new_thrown_err",_="err_new_thrown_err_batch",C="err_new_spec_err",x="err_new_spec_err_batch",N="err_new_auth_err",V="err_clear",Q="err_clear_by";function oe(we){return{type:l,payload:(0,o.serializeError)(we)}}function le(we){return{type:_,payload:we}}function me(we){return{type:C,payload:we}}function ye(we){return{type:x,payload:we}}function $e(we){return{type:N,payload:we}}function Ne(){var we=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{type:V,payload:we}}function ke(){var we=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){return!0};return{type:Q,payload:we}}},6808:(n,s,t)=>{t.r(s),t.d(s,{default:()=>x});var o=t(6145),l=t(2565);const _=(t.d(V={},{default:()=>eN()}),V);var V,C=[t(2392),t(1835)];function x(N){var V,Q={jsSpec:{}},oe=(0,_.default)(C,function(le,me){try{var ye=me.transform(le,Q);return(0,o.default)(ye).call(ye,function($e){return!!$e})}catch($e){return console.error("Transformer error:",$e),le}},N);return(0,l.default)(V=(0,o.default)(oe).call(oe,function(le){return!!le})).call(V,function(le){return!le.get("line")&&le.get("path"),le})}},2392:(n,s,t)=>{t.r(s),t.d(s,{transform:()=>x});var o=t(2565),l=t(8818),_=t(8136),C=t(6785);function x(N){return(0,o.default)(N).call(N,function(V){var Q,Ne,oe="is not of a type(s)",le=(0,l.default)(Q=V.get("message")).call(Q,oe);if(le>-1){var me,ye,$e=(0,_.default)(me=V.get("message")).call(me,le+oe.length).split(",");return V.set("message",(0,_.default)(ye=V.get("message")).call(ye,0,le)+(0,C.default)(Ne=$e).call(Ne,function(ke,we,G,Dt){return G===Dt.length-1&&Dt.length>1?ke+"or "+we:Dt[G+1]&&Dt.length>2?ke+we+", ":Dt[G+1]?ke+we+" ":ke+we},"should be a"))}return V})}},1835:(n,s,t)=>{function o(l,_){return l}t.r(s),t.d(s,{transform:()=>o}),t(2565),t(8818),t(9908),t(9725)},7793:(n,s,t)=>{t.r(s),t.d(s,{default:()=>C});var o=t(3527),l=t(4966),_=t(7667);function C(x){return{statePlugins:{err:{reducers:(0,o.default)(x),actions:l,selectors:_}}}}},3527:(n,s,t)=>{t.r(s),t.d(s,{default:()=>me});var o=t(775),l=t(7512),_=t(2565),C=t(5171),x=t(6145),N=t(7930),V=t(4966),Q=t(9725),oe=t(6808),le={line:0,level:"error",message:"Unknown error"};function me(){var ye;return(0,o.default)(ye={},V.NEW_THROWN_ERR,function($e,Ne){var we=(0,l.default)(le,Ne.payload,{type:"thrown"});return $e.update("errors",function(G){return(G||(0,Q.List)()).push((0,Q.fromJS)(we))}).update("errors",function(G){return(0,oe.default)(G)})}),(0,o.default)(ye,V.NEW_THROWN_ERR_BATCH,function($e,Ne){var ke=Ne.payload;return ke=(0,_.default)(ke).call(ke,function(we){return(0,Q.fromJS)((0,l.default)(le,we,{type:"thrown"}))}),$e.update("errors",function(we){var G;return(0,C.default)(G=we||(0,Q.List)()).call(G,(0,Q.fromJS)(ke))}).update("errors",function(we){return(0,oe.default)(we)})}),(0,o.default)(ye,V.NEW_SPEC_ERR,function($e,Ne){var we=(0,Q.fromJS)(Ne.payload);return we=we.set("type","spec"),$e.update("errors",function(G){return(G||(0,Q.List)()).push((0,Q.fromJS)(we)).sortBy(function(Dt){return Dt.get("line")})}).update("errors",function(G){return(0,oe.default)(G)})}),(0,o.default)(ye,V.NEW_SPEC_ERR_BATCH,function($e,Ne){var ke=Ne.payload;return ke=(0,_.default)(ke).call(ke,function(we){return(0,Q.fromJS)((0,l.default)(le,we,{type:"spec"}))}),$e.update("errors",function(we){var G;return(0,C.default)(G=we||(0,Q.List)()).call(G,(0,Q.fromJS)(ke))}).update("errors",function(we){return(0,oe.default)(we)})}),(0,o.default)(ye,V.NEW_AUTH_ERR,function($e,Ne){var we=(0,Q.fromJS)((0,l.default)({},Ne.payload));return we=we.set("type","auth"),$e.update("errors",function(G){return(G||(0,Q.List)()).push((0,Q.fromJS)(we))}).update("errors",function(G){return(0,oe.default)(G)})}),(0,o.default)(ye,V.CLEAR,function($e,Ne){var ke,we=Ne.payload;if(!we||!$e.get("errors"))return $e;var G=(0,x.default)(ke=$e.get("errors")).call(ke,function(Dt){var bt;return(0,N.default)(bt=Dt.keySeq()).call(bt,function(Bt){var Jt=Dt.get(Bt),Mn=we[Bt];return!Mn||Jt!==Mn})});return $e.merge({errors:G})}),(0,o.default)(ye,V.CLEAR_BY,function($e,Ne){var ke,we=Ne.payload;if(!we||"function"!=typeof we)return $e;var G=(0,x.default)(ke=$e.get("errors")).call(ke,function(Dt){return we(Dt)});return $e.merge({errors:G})}),ye}},7667:(n,s,t)=>{t.r(s),t.d(s,{allErrors:()=>_,lastError:()=>C});var o=t(9725),l=t(8639),_=(0,l.createSelector)(function(x){return x},function(x){return x.get("errors",(0,o.List)())}),C=(0,l.createSelector)(_,function(x){return x.last()})},9978:(n,s,t)=>{t.r(s),t.d(s,{default:()=>l});var o=t(4309);function l(){return{fn:{opsFilter:o.default}}}},4309:(n,s,t)=>{t.r(s),t.d(s,{default:()=>_});var o=t(6145),l=t(8818);function _(C,x){return(0,o.default)(C).call(C,function(N,V){return-1!==(0,l.default)(V).call(V,x)})}},5474:(n,s,t)=>{t.r(s),t.d(s,{UPDATE_LAYOUT:()=>l,UPDATE_FILTER:()=>_,UPDATE_MODE:()=>C,SHOW:()=>x,updateLayout:()=>N,updateFilter:()=>V,show:()=>Q,changeMode:()=>oe});var o=t(6298),l="layout_update_layout",_="layout_update_filter",C="layout_update_mode",x="layout_show";function N(le){return{type:l,payload:le}}function V(le){return{type:_,payload:le}}function Q(le){var me=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return le=(0,o.AF)(le),{type:x,payload:{thing:le,shown:me}}}function oe(le){var me=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return le=(0,o.AF)(le),{type:C,payload:{thing:le,mode:me}}}},6821:(n,s,t)=>{t.r(s),t.d(s,{default:()=>x});var o=t(5672),l=t(5474),_=t(4400),C=t(8989);function x(){return{statePlugins:{layout:{reducers:o.default,actions:l,selectors:_},spec:{wrapSelectors:C}}}}},5672:(n,s,t)=>{t.r(s),t.d(s,{default:()=>N});var o,l=t(775),_=t(5171),C=t(9725),x=t(5474);const N=((0,l.default)(o={},x.UPDATE_LAYOUT,function(V,Q){return V.set("layout",Q.payload)}),(0,l.default)(o,x.UPDATE_FILTER,function(V,Q){return V.set("filter",Q.payload)}),(0,l.default)(o,x.SHOW,function(V,Q){var oe=Q.payload.shown,le=(0,C.fromJS)(Q.payload.thing);return V.update("shown",(0,C.fromJS)({}),function(me){return me.set(le,oe)})}),(0,l.default)(o,x.UPDATE_MODE,function(V,Q){var oe,le=Q.payload.thing,me=Q.payload.mode;return V.setIn((0,_.default)(oe=["modes"]).call(oe,le),(me||"")+"")}),o)},4400:(n,s,t)=>{t.r(s),t.d(s,{current:()=>N,currentFilter:()=>V,isShown:()=>Q,whatMode:()=>oe,showSummary:()=>le});var o=t(2691),l=t(5171),_=t(8639),C=t(6298),x=t(9725),N=function(me){return me.get("layout")},V=function(me){return me.get("filter")},Q=function(me,ye,$e){return ye=(0,C.AF)(ye),me.get("shown",(0,x.fromJS)({})).get((0,x.fromJS)(ye),$e)},oe=function(me,ye){var $e,Ne=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return ye=(0,C.AF)(ye),me.getIn((0,l.default)($e=["modes"]).call($e,(0,o.default)(ye)),Ne)},le=(0,_.createSelector)(function(me){return me},function(me){return!Q(me,"editor")})},8989:(n,s,t)=>{t.r(s),t.d(s,{taggedOperations:()=>_});var o=t(5171),l=t(8136),_=function(C,x){return function(N){for(var V,Q=arguments.length,oe=new Array(Q>1?Q-1:0),le=1;le<Q;le++)oe[le-1]=arguments[le];var me=C.apply(void 0,(0,o.default)(V=[N]).call(V,oe)),ye=x.getSystem(),$e=ye.fn,Ne=ye.layoutSelectors,ke=ye.getConfigs,we=ke(),G=we.maxDisplayedTags,Dt=Ne.currentFilter();return Dt&&!0!==Dt&&"true"!==Dt&&"false"!==Dt&&(me=$e.opsFilter(me,Dt)),G&&!isNaN(G)&&G>=0&&(me=(0,l.default)(me).call(me,0,G)),me}}},9150:(n,s,t)=>{t.r(s),t.d(s,{default:()=>l});var o=t(5527);function l(_){var x={debug:0,info:1,log:2,warn:3,error:4},N=function(le){return x[le]||-1},Q=N(_.configs.logLevel);function oe(le){for(var me,ye=arguments.length,$e=new Array(ye>1?ye-1:0),Ne=1;Ne<ye;Ne++)$e[Ne-1]=arguments[Ne];N(le)>=Q&&(me=console)[le].apply(me,$e)}return oe.warn=(0,o.default)(oe).call(oe,null,"warn"),oe.error=(0,o.default)(oe).call(oe,null,"error"),oe.info=(0,o.default)(oe).call(oe,null,"info"),oe.debug=(0,o.default)(oe).call(oe,null,"debug"),{rootInjects:{log:oe}}}},7002:(n,s,t)=>{t.r(s),t.d(s,{UPDATE_SELECTED_SERVER:()=>o,UPDATE_REQUEST_BODY_VALUE:()=>l,UPDATE_REQUEST_BODY_VALUE_RETAIN_FLAG:()=>_,UPDATE_REQUEST_BODY_INCLUSION:()=>C,UPDATE_ACTIVE_EXAMPLES_MEMBER:()=>x,UPDATE_REQUEST_CONTENT_TYPE:()=>N,UPDATE_RESPONSE_CONTENT_TYPE:()=>V,UPDATE_SERVER_VARIABLE_VALUE:()=>Q,SET_REQUEST_BODY_VALIDATE_ERROR:()=>oe,CLEAR_REQUEST_BODY_VALIDATE_ERROR:()=>le,CLEAR_REQUEST_BODY_VALUE:()=>me,setSelectedServer:()=>ye,setRequestBodyValue:()=>$e,setRetainRequestBodyValueFlag:()=>Ne,setRequestBodyInclusion:()=>ke,setActiveExamplesMember:()=>we,setRequestContentType:()=>G,setResponseContentType:()=>Dt,setServerVariableValue:()=>bt,setRequestBodyValidateError:()=>Bt,clearRequestBodyValidateError:()=>Jt,initRequestBodyValidateError:()=>Mn,clearRequestBodyValue:()=>zt});var o="oas3_set_servers",l="oas3_set_request_body_value",_="oas3_set_request_body_retain_flag",C="oas3_set_request_body_inclusion",x="oas3_set_active_examples_member",N="oas3_set_request_content_type",V="oas3_set_response_content_type",Q="oas3_set_server_variable_value",oe="oas3_set_request_body_validate_error",le="oas3_clear_request_body_validate_error",me="oas3_clear_request_body_value";function ye(xn,Nn){return{type:o,payload:{selectedServerUrl:xn,namespace:Nn}}}function $e(xn){return{type:l,payload:{value:xn.value,pathMethod:xn.pathMethod}}}var Ne=function(xn){return{type:_,payload:{value:xn.value,pathMethod:xn.pathMethod}}};function ke(xn){return{type:C,payload:{value:xn.value,pathMethod:xn.pathMethod,name:xn.name}}}function we(xn){return{type:x,payload:{name:xn.name,pathMethod:xn.pathMethod,contextType:xn.contextType,contextName:xn.contextName}}}function G(xn){return{type:N,payload:{value:xn.value,pathMethod:xn.pathMethod}}}function Dt(xn){return{type:V,payload:{value:xn.value,path:xn.path,method:xn.method}}}function bt(xn){return{type:Q,payload:{server:xn.server,namespace:xn.namespace,key:xn.key,val:xn.val}}}var Bt=function(xn){return{type:oe,payload:{path:xn.path,method:xn.method,validationErrors:xn.validationErrors}}},Jt=function(xn){return{type:le,payload:{path:xn.path,method:xn.method}}},Mn=function(xn){var Nn=xn.pathMethod;return{type:le,payload:{path:Nn[0],method:Nn[1]}}},zt=function(xn){return{type:me,payload:{pathMethod:xn.pathMethod}}}},3723:(n,s,t)=>{t.r(s),t.d(s,{definitionsToAuthorize:()=>me});var le,o=t(775),l=t(9334),_=t(5171),C=t(29),x=t(6145),N=t(6785),V=t(8639),Q=t(9725),oe=t(7779),me=(le=(0,V.createSelector)(function(ye){return ye},function(ye){return ye.specSelectors.securityDefinitions()},function(ye,$e){var Ne,ke=(0,Q.List)();return $e&&(0,C.default)(Ne=$e.entrySeq()).call(Ne,function(we){var G,Dt=(0,l.default)(we,2),bt=Dt[0],Bt=Dt[1],Jt=Bt.get("type");if("oauth2"===Jt&&(0,C.default)(G=Bt.get("flows").entrySeq()).call(G,function(xn){var Nn=(0,l.default)(xn,2),Hr=Nn[1],Vr=(0,Q.fromJS)({flow:Nn[0],authorizationUrl:Hr.get("authorizationUrl"),tokenUrl:Hr.get("tokenUrl"),scopes:Hr.get("scopes"),type:Bt.get("type"),description:Bt.get("description")});ke=ke.push(new Q.Map((0,o.default)({},bt,(0,x.default)(Vr).call(Vr,function(qr){return void 0!==qr}))))}),"http"!==Jt&&"apiKey"!==Jt||(ke=ke.push(new Q.Map((0,o.default)({},bt,Bt)))),"openIdConnect"===Jt&&Bt.get("openIdConnectData")){var Mn=Bt.get("openIdConnectData"),zt=Mn.get("grant_types_supported")||["authorization_code","implicit"];(0,C.default)(zt).call(zt,function(xn){var Nn,zr=Mn.get("scopes_supported")&&(0,N.default)(Nn=Mn.get("scopes_supported")).call(Nn,function(Vr,qr){return Vr.set(qr,"")},new Q.Map),Hr=(0,Q.fromJS)({flow:xn,authorizationUrl:Mn.get("authorization_endpoint"),tokenUrl:Mn.get("token_endpoint"),scopes:zr,type:"oauth2",openIdConnectUrl:Bt.get("openIdConnectUrl")});ke=ke.push(new Q.Map((0,o.default)({},bt,(0,x.default)(Hr).call(Hr,function(Vr){return void 0!==Vr}))))})}}),ke}),function(ye,$e){return function(){for(var Ne=$e.getSystem().specSelectors.specJson(),ke=arguments.length,we=new Array(ke),G=0;G<ke;G++)we[G]=arguments[G];if((0,oe.isOAS3)(Ne)){var Dt,bt=$e.getState().getIn(["spec","resolvedSubtrees","components","securitySchemes"]);return le.apply(void 0,(0,_.default)(Dt=[$e,bt]).call(Dt,we))}return ye.apply(void 0,we)}})},3427:(n,s,t)=>{t.r(s),t.d(s,{default:()=>N});var o=t(863),l=t(9334),_=t(2565),C=t(810),x=(t(5053),t(9569),t(9725));const N=function(V){var Q,oe=V.callbacks,me=V.specPath,ye=(0,V.getComponent)("OperationContainer",!0);if(!oe)return C.default.createElement("span",null,"No callbacks");var $e=(0,_.default)(Q=oe.entrySeq()).call(Q,function(Ne){var ke,we=(0,l.default)(Ne,2),G=we[0],Dt=we[1];return C.default.createElement("div",{key:G},C.default.createElement("h2",null,G),(0,_.default)(ke=Dt.entrySeq()).call(ke,function(bt){var Bt,Jt=(0,l.default)(bt,2),Mn=Jt[0];return"$$ref"===Mn?null:C.default.createElement("div",{key:Mn},(0,_.default)(Bt=Jt[1].entrySeq()).call(Bt,function(xn){var Nn=(0,l.default)(xn,2),zr=Nn[0];if("$$ref"===zr)return null;var Vr=(0,x.fromJS)({operation:Nn[1]});return C.default.createElement(ye,(0,o.default)({},V,{op:Vr,key:zr,tag:"",method:zr,path:Mn,specPath:me.push(G,Mn,zr),allowTryItOut:!1}))}))}))});return C.default.createElement("div",null,$e)}},6775:(n,s,t)=>{t.r(s),t.d(s,{default:()=>me});var o=t(7344),l=t(8656),_=t(6340),C=t(9972),x=t(5416),N=t(775),V=t(7512),Q=t(6145),oe=t(2565),le=t(810),me=(t(5053),function(ye){(0,C.default)(Ne,ye);var $e=(0,x.default)(Ne);function Ne(ke,we){var G;(0,o.default)(this,Ne),G=$e.call(this,ke,we),(0,N.default)((0,_.default)(G),"onChange",function(Mn){var zt=G.props.onChange,xn=Mn.target,Nn=xn.value,zr=xn.name,Hr=(0,V.default)({},G.state.value);zr?Hr[zr]=Nn:Hr=Nn,G.setState({value:Hr},function(){return zt(G.state)})});var Dt=G.props,bt=Dt.name,Bt=Dt.schema,Jt=G.getValue();return G.state={name:bt,schema:Bt,value:Jt},G}return(0,l.default)(Ne,[{key:"getValue",value:function(){var ke=this.props,G=ke.authorized;return G&&G.getIn([ke.name,"value"])}},{key:"render",value:function(){var ke,we,G=this.props,Dt=G.schema,bt=G.getComponent,Bt=G.errSelectors,Jt=G.name,Mn=bt("Input"),zt=bt("Row"),xn=bt("Col"),Nn=bt("authError"),zr=bt("Markdown",!0),Hr=bt("JumpToPath",!0),Vr=(Dt.get("scheme")||"").toLowerCase(),qr=this.getValue(),On=(0,Q.default)(ke=Bt.allErrors()).call(ke,function(ur){return ur.get("authId")===Jt});if("basic"===Vr){var Jn,Qn=qr?qr.get("username"):null;return le.default.createElement("div",null,le.default.createElement("h4",null,le.default.createElement("code",null,Jt||Dt.get("name")),"\xa0 (http, Basic)",le.default.createElement(Hr,{path:["securityDefinitions",Jt]})),Qn&&le.default.createElement("h6",null,"Authorized"),le.default.createElement(zt,null,le.default.createElement(zr,{source:Dt.get("description")})),le.default.createElement(zt,null,le.default.createElement("label",null,"Username:"),Qn?le.default.createElement("code",null," ",Qn," "):le.default.createElement(xn,null,le.default.createElement(Mn,{type:"text",required:"required",name:"username","aria-label":"auth-basic-username",onChange:this.onChange,autoFocus:!0}))),le.default.createElement(zt,null,le.default.createElement("label",null,"Password:"),Qn?le.default.createElement("code",null," ****** "):le.default.createElement(xn,null,le.default.createElement(Mn,{autoComplete:"new-password",name:"password",type:"password","aria-label":"auth-basic-password",onChange:this.onChange}))),(0,oe.default)(Jn=On.valueSeq()).call(Jn,function(ur,In){return le.default.createElement(Nn,{error:ur,key:In})}))}return"bearer"===Vr?le.default.createElement("div",null,le.default.createElement("h4",null,le.default.createElement("code",null,Jt||Dt.get("name")),"\xa0 (http, Bearer)",le.default.createElement(Hr,{path:["securityDefinitions",Jt]})),qr&&le.default.createElement("h6",null,"Authorized"),le.default.createElement(zt,null,le.default.createElement(zr,{source:Dt.get("description")})),le.default.createElement(zt,null,le.default.createElement("label",null,"Value:"),qr?le.default.createElement("code",null," ****** "):le.default.createElement(xn,null,le.default.createElement(Mn,{type:"text","aria-label":"auth-bearer-value",onChange:this.onChange,autoFocus:!0}))),(0,oe.default)(we=On.valueSeq()).call(we,function(ur,In){return le.default.createElement(Nn,{error:ur,key:In})})):le.default.createElement("div",null,le.default.createElement("em",null,le.default.createElement("b",null,Jt)," HTTP authentication: unsupported scheme ","'".concat(Vr,"'")))}}]),Ne}(le.default.Component))},6467:(n,s,t)=>{t.r(s),t.d(s,{default:()=>oe});var o=t(3427),l=t(2458),_=t(5757),C=t(6617),x=t(9928),N=t(5327),V=t(6775),Q=t(6796);const oe={Callbacks:o.default,HttpAuth:V.default,RequestBody:l.default,Servers:C.default,ServersContainer:x.default,RequestBodyEditor:N.default,OperationServers:Q.default,operationLink:_.default}},5757:(n,s,t)=>{t.r(s),t.d(s,{default:()=>Q});var o=t(7344),l=t(8656),_=t(9972),C=t(5416),x=t(313),N=t(2565),V=t(810);t(5053),t(9569);const Q=function(oe){(0,_.default)(me,oe);var le=(0,C.default)(me);function me(){return(0,o.default)(this,me),le.apply(this,arguments)}return(0,l.default)(me,[{key:"render",value:function(){var Bt,Jt,ye=this.props,$e=ye.link,Ne=ye.name,ke=(0,ye.getComponent)("Markdown",!0),we=$e.get("operationId")||$e.get("operationRef"),G=$e.get("parameters")&&$e.get("parameters").toJS(),Dt=$e.get("description");return V.default.createElement("div",{className:"operation-link"},V.default.createElement("div",{className:"description"},V.default.createElement("b",null,V.default.createElement("code",null,Ne)),Dt?V.default.createElement(ke,{source:Dt}):null),V.default.createElement("pre",null,"Operation `",we,"`",V.default.createElement("br",null),V.default.createElement("br",null),"Parameters ",("string"!=typeof(Bt=(0,x.default)(G,null,2))?"":(0,N.default)(Jt=Bt.split("\n")).call(Jt,function(Mn,zt){return zt>0?Array(1).join(" ")+Mn:Mn}).join("\n"))||"{}",V.default.createElement("br",null)))}}]),me}(V.Component)},6796:(n,s,t)=>{t.r(s),t.d(s,{default:()=>le});var o=t(1013),l=t(7344),_=t(8656),C=t(6340),x=t(9972),N=t(5416),V=t(775),Q=t(5171),oe=t(810),le=(t(5053),t(9569),function(me){(0,x.default)($e,me);var ye=(0,N.default)($e);function $e(){var Ne,ke;(0,l.default)(this,$e);for(var we=arguments.length,G=new Array(we),Dt=0;Dt<we;Dt++)G[Dt]=arguments[Dt];return ke=ye.call.apply(ye,(0,Q.default)(Ne=[this]).call(Ne,G)),(0,V.default)((0,C.default)(ke),"setSelectedServer",function(bt){var Bt,Jt=ke.props,Mn=Jt.path,zt=Jt.method;return ke.forceUpdate(),ke.props.setSelectedServer(bt,(0,Q.default)(Bt="".concat(Mn,":")).call(Bt,zt))}),(0,V.default)((0,C.default)(ke),"setServerVariableValue",function(bt){var Bt,Jt=ke.props,Mn=Jt.path,zt=Jt.method;return ke.forceUpdate(),ke.props.setServerVariableValue((0,o.default)((0,o.default)({},bt),{},{namespace:(0,Q.default)(Bt="".concat(Mn,":")).call(Bt,zt)}))}),(0,V.default)((0,C.default)(ke),"getSelectedServer",function(){var bt,Bt=ke.props,Mn=Bt.method;return ke.props.getSelectedServer((0,Q.default)(bt="".concat(Bt.path,":")).call(bt,Mn))}),(0,V.default)((0,C.default)(ke),"getServerVariable",function(bt,Bt){var Jt,Mn=ke.props,xn=Mn.method;return ke.props.getServerVariable({namespace:(0,Q.default)(Jt="".concat(Mn.path,":")).call(Jt,xn),server:bt},Bt)}),(0,V.default)((0,C.default)(ke),"getEffectiveServerValue",function(bt){var Bt,Jt=ke.props,zt=Jt.method;return ke.props.getEffectiveServerValue({server:bt,namespace:(0,Q.default)(Bt="".concat(Jt.path,":")).call(Bt,zt)})}),ke}return(0,_.default)($e,[{key:"render",value:function(){var Ne=this.props,ke=Ne.operationServers,we=Ne.pathServers;if(!ke&&!we)return null;var Dt=(0,Ne.getComponent)("Servers"),bt=ke||we,Bt=ke?"operation":"path";return oe.default.createElement("div",{className:"opblock-section operation-servers"},oe.default.createElement("div",{className:"opblock-section-header"},oe.default.createElement("div",{className:"tab-header"},oe.default.createElement("h4",{className:"opblock-title"},"Servers"))),oe.default.createElement("div",{className:"opblock-description-wrapper"},oe.default.createElement("h4",{className:"message"},"These ",Bt,"-level options override the global server options."),oe.default.createElement(Dt,{servers:bt,currentServer:this.getSelectedServer(),setSelectedServer:this.setSelectedServer,setServerVariableValue:this.setServerVariableValue,getServerVariable:this.getServerVariable,getEffectiveServerValue:this.getEffectiveServerValue})))}}]),$e}(oe.default.Component))},5327:(n,s,t)=>{t.r(s),t.d(s,{default:()=>me});var o=t(7344),l=t(8656),_=t(6340),C=t(9972),x=t(5416),N=t(775),V=t(810),Q=(t(5053),t(8096)),oe=t(6298),le=Function.prototype,me=function(ye){(0,C.default)(Ne,ye);var $e=(0,x.default)(Ne);function Ne(ke,we){var G;return(0,o.default)(this,Ne),G=$e.call(this,ke,we),(0,N.default)((0,_.default)(G),"applyDefaultValue",function(Dt){var bt=Dt||G.props,Bt=bt.onChange,Jt=bt.defaultValue;return G.setState({value:Jt}),Bt(Jt)}),(0,N.default)((0,_.default)(G),"onChange",function(Dt){G.props.onChange((0,oe.Pz)(Dt))}),(0,N.default)((0,_.default)(G),"onDomChange",function(Dt){var bt=Dt.target.value;G.setState({value:bt},function(){return G.onChange(bt)})}),G.state={value:(0,oe.Pz)(ke.value)||ke.defaultValue},ke.onChange(ke.value),G}return(0,l.default)(Ne,[{key:"UNSAFE_componentWillReceiveProps",value:function(ke){this.props.value!==ke.value&&ke.value!==this.state.value&&this.setState({value:(0,oe.Pz)(ke.value)}),!ke.value&&ke.defaultValue&&this.state.value&&this.applyDefaultValue(ke)}},{key:"render",value:function(){var ke=this.props,G=ke.errors,Dt=this.state.value,bt=G.size>0,Bt=(0,ke.getComponent)("TextArea");return V.default.createElement("div",{className:"body-param"},V.default.createElement(Bt,{className:(0,Q.default)("body-param__text",{invalid:bt}),title:G.size?G.join(", "):"",value:Dt,onChange:this.onDomChange}))}}]),Ne}(V.PureComponent);(0,N.default)(me,"defaultProps",{onChange:le,userHasEditedBody:!1})},2458:(n,s,t)=>{t.r(s),t.d(s,{getDefaultRequestBodyValue:()=>me,default:()=>ye});var o=t(9334),l=t(2565),_=t(8818),C=t(2372),x=t(5171),N=t(4163),V=t(810),Q=(t(5053),t(9569),t(9725)),oe=t(6298),le=t(2518),me=function($e,Ne,ke){var we=$e.getIn(["content",Ne]),G=we.get("schema").toJS(),Dt=void 0!==we.get("examples"),bt=we.get("example"),Bt=Dt?we.getIn(["examples",ke,"value"]):bt,Jt=(0,oe.xi)(G,Ne,{includeWriteOnly:!0},Bt);return(0,oe.Pz)(Jt)};const ye=function($e){var Ne=$e.userHasEditedBody,ke=$e.requestBody,we=$e.requestBodyValue,G=$e.requestBodyInclusionSetting,Dt=$e.requestBodyErrors,bt=$e.getComponent,Bt=$e.getConfigs,Jt=$e.specSelectors,Mn=$e.fn,zt=$e.contentType,xn=$e.isExecute,Nn=$e.specPath,zr=$e.onChange,Hr=$e.onChangeIncludeEmpty,Vr=$e.activeExamplesKey,qr=$e.updateActiveExamplesKey,On=$e.setRetainRequestBodyValueFlag,Jn=function(wr){var Gr={key:wr,shouldDispatchInit:!1,defaultValue:!0};return"no value"===G.get(wr,"no value")&&(Gr.shouldDispatchInit=!0),Gr},Qn=bt("Markdown",!0),ur=bt("modelExample"),In=bt("RequestBodyEditor"),Yr=bt("highlightCode"),Qi=bt("ExamplesSelectValueRetainer"),Di=bt("Example"),ji=bt("ParameterIncludeEmpty"),Wr=Bt().showCommonExtensions,Bn=ke&&ke.get("description")||null,bn=ke&&ke.get("content")||new Q.OrderedMap;zt=zt||bn.keySeq().first()||"";var Xr=bn.get(zt,(0,Q.OrderedMap)()),Ni=Xr.get("schema",(0,Q.OrderedMap)()),Xi=Xr.get("examples",null),Bo=null==Xi?void 0:(0,l.default)(Xi).call(Xi,function(wr,Gr){var Fi,Ws=null===(Fi=wr)||void 0===Fi?void 0:Fi.get("value",null);return Ws&&(wr=wr.set("value",me(ke,zt,Gr),Ws)),wr});if(Dt=Q.List.isList(Dt)?Dt:(0,Q.List)(),!Xr.size)return null;var Ao="object"===Xr.getIn(["schema","type"]),zs="binary"===Xr.getIn(["schema","format"]),Qs="base64"===Xr.getIn(["schema","format"]);if("application/octet-stream"===zt||0===(0,_.default)(zt).call(zt,"image/")||0===(0,_.default)(zt).call(zt,"audio/")||0===(0,_.default)(zt).call(zt,"video/")||zs||Qs){var Ii=bt("Input");return xn?V.default.createElement(Ii,{type:"file",onChange:function(wr){zr(wr.target.files[0])}}):V.default.createElement("i",null,"Example values are not available for ",V.default.createElement("code",null,zt)," media types.")}if(Ao&&("application/x-www-form-urlencoded"===zt||0===(0,_.default)(zt).call(zt,"multipart/"))&&Ni.get("properties",(0,Q.OrderedMap)()).size>0){var uo,bo=bt("JsonSchemaForm"),Qe=bt("ParameterExt"),Pt=Ni.get("properties",(0,Q.OrderedMap)());return we=Q.Map.isMap(we)?we:(0,Q.OrderedMap)(),V.default.createElement("div",{className:"table-container"},Bn&&V.default.createElement(Qn,{source:Bn}),V.default.createElement("table",null,V.default.createElement("tbody",null,Q.Map.isMap(Pt)&&(0,l.default)(uo=Pt.entrySeq()).call(uo,function(wr){var Gr,Fi,Ws=(0,o.default)(wr,2),Zo=Ws[0],ol=Ws[1];if(!ol.get("readOnly")){var gl=Wr?(0,oe.po)(ol):null,Zl=(0,C.default)(Gr=Ni.get("required",(0,Q.List)())).call(Gr,Zo),Qu=ol.get("type"),Gf=ol.get("format"),wl=ol.get("description"),Vc=we.getIn([Zo,"value"]),gp=we.getIn([Zo,"errors"])||Dt,Lh=G.get(Zo)||!1,ih=ol.has("default")||ol.has("example")||ol.hasIn(["items","example"])||ol.hasIn(["items","default"]),kh=ol.has("enum")&&(1===ol.get("enum").size||Zl),zl=ih||kh,$c="";"array"!==Qu||zl||($c=[]),("object"===Qu||zl)&&($c=(0,oe.xi)(ol,!1,{includeWriteOnly:!0})),"string"!=typeof $c&&"object"===Qu&&($c=(0,oe.Pz)($c)),"string"==typeof $c&&"array"===Qu&&($c=JSON.parse($c));var Fp="string"===Qu&&("binary"===Gf||"base64"===Gf);return V.default.createElement("tr",{key:Zo,className:"parameters","data-property-name":Zo},V.default.createElement("td",{className:"parameters-col_name"},V.default.createElement("div",{className:Zl?"parameter__name required":"parameter__name"},Zo,Zl?V.default.createElement("span",null,"\xa0*"):null),V.default.createElement("div",{className:"parameter__type"},Qu,Gf&&V.default.createElement("span",{className:"prop-format"},"($",Gf,")"),Wr&&gl.size?(0,l.default)(Fi=gl.entrySeq()).call(Fi,function(zi){var mr,Mi=(0,o.default)(zi,2),eo=Mi[0],No=Mi[1];return V.default.createElement(Qe,{key:(0,x.default)(mr="".concat(eo,"-")).call(mr,No),xKey:eo,xVal:No})}):null),V.default.createElement("div",{className:"parameter__deprecated"},ol.get("deprecated")?"deprecated":null)),V.default.createElement("td",{className:"parameters-col_description"},V.default.createElement(Qn,{source:wl}),xn?V.default.createElement("div",null,V.default.createElement(bo,{fn:Mn,dispatchInitialValue:!Fp,schema:ol,description:Zo,getComponent:bt,value:void 0===Vc?$c:Vc,required:Zl,errors:gp,onChange:function(zi){zr(zi,[Zo])}}),Zl?null:V.default.createElement(ji,{onChange:function(zi){return Hr(Zo,zi)},isIncluded:Lh,isIncludedOptions:Jn(Zo),isDisabled:(0,N.default)(Vc)?0!==Vc.length:!(0,oe.O2)(Vc)})):null))}}))))}var Rt=me(ke,zt,Vr),qn=null;return(0,le.O)(Rt)&&(qn="json"),V.default.createElement("div",null,Bn&&V.default.createElement(Qn,{source:Bn}),Bo?V.default.createElement(Qi,{userHasEditedBody:Ne,examples:Bo,currentKey:Vr,currentUserInputValue:we,onSelect:function(wr){qr(wr)},updateValue:zr,defaultToFirstExample:!0,getComponent:bt,setRetainRequestBodyValueFlag:On}):null,xn?V.default.createElement("div",null,V.default.createElement(In,{value:we,errors:Dt,defaultValue:Rt,onChange:zr,getComponent:bt})):V.default.createElement(ur,{getComponent:bt,getConfigs:Bt,specSelectors:Jt,expandDepth:1,isExecute:xn,schema:Xr.get("schema"),specPath:Nn.push("content",zt),example:V.default.createElement(Yr,{className:"body-param__example",getConfigs:Bt,language:qn,value:(0,oe.Pz)(we)||Rt}),includeWriteOnly:!0}),Bo?V.default.createElement(Di,{example:Bo.get(Vr),getComponent:bt,getConfigs:Bt}):null)}},9928:(n,s,t)=>{t.r(s),t.d(s,{default:()=>N});var o=t(7344),l=t(8656),_=t(9972),C=t(5416),x=t(810),N=(t(5053),function(V){(0,_.default)(oe,V);var Q=(0,C.default)(oe);function oe(){return(0,o.default)(this,oe),Q.apply(this,arguments)}return(0,l.default)(oe,[{key:"render",value:function(){var le=this.props,ye=le.oas3Selectors,$e=le.oas3Actions,Ne=le.getComponent,ke=le.specSelectors.servers(),we=Ne("Servers");return ke&&ke.size?x.default.createElement("div",null,x.default.createElement("span",{className:"servers-title"},"Servers"),x.default.createElement(we,{servers:ke,currentServer:ye.selectedServer(),setSelectedServer:$e.setSelectedServer,setServerVariableValue:$e.setServerVariableValue,getServerVariable:ye.serverVariableValue,getEffectiveServerValue:ye.serverEffectiveValue})):null}}]),oe}(x.default.Component))},6617:(n,s,t)=>{t.r(s),t.d(s,{default:()=>$e});var o=t(9334),l=t(7344),_=t(8656),C=t(6340),x=t(9972),N=t(5416),V=t(775),Q=t(5171),oe=t(1778),le=t(2565),me=t(810),ye=t(9725),$e=(t(5053),t(9569),function(Ne){(0,x.default)(we,Ne);var ke=(0,N.default)(we);function we(){var G,Dt;(0,l.default)(this,we);for(var bt=arguments.length,Bt=new Array(bt),Jt=0;Jt<bt;Jt++)Bt[Jt]=arguments[Jt];return Dt=ke.call.apply(ke,(0,Q.default)(G=[this]).call(G,Bt)),(0,V.default)((0,C.default)(Dt),"onServerChange",function(Mn){Dt.setServer(Mn.target.value)}),(0,V.default)((0,C.default)(Dt),"onServerVariableValueChange",function(Mn){var zt=Dt.props,xn=zt.setServerVariableValue,Nn=zt.currentServer,zr=Mn.target.getAttribute("data-variable");"function"==typeof xn&&xn({server:Nn,key:zr,val:Mn.target.value})}),(0,V.default)((0,C.default)(Dt),"setServer",function(Mn){(0,Dt.props.setSelectedServer)(Mn)}),Dt}return(0,_.default)(we,[{key:"componentDidMount",value:function(){var G,Dt=this.props;Dt.currentServer||this.setServer(null===(G=Dt.servers.first())||void 0===G?void 0:G.get("url"))}},{key:"UNSAFE_componentWillReceiveProps",value:function(G){var Dt=this,bt=G.servers,Bt=G.setServerVariableValue,Jt=G.getServerVariable;if(this.props.currentServer!==G.currentServer||this.props.servers!==G.servers){var Mn,zt=(0,oe.default)(bt).call(bt,function(qr){return qr.get("url")===G.currentServer}),xn=(0,oe.default)(Mn=this.props.servers).call(Mn,function(qr){return qr.get("url")===Dt.props.currentServer})||(0,ye.OrderedMap)();if(!zt)return this.setServer(bt.first().get("url"));var Nn=xn.get("variables")||(0,ye.OrderedMap)(),zr=((0,oe.default)(Nn).call(Nn,function(qr){return qr.get("default")})||(0,ye.OrderedMap)()).get("default"),Hr=zt.get("variables")||(0,ye.OrderedMap)(),Vr=((0,oe.default)(Hr).call(Hr,function(qr){return qr.get("default")})||(0,ye.OrderedMap)()).get("default");(0,le.default)(Hr).call(Hr,function(qr,On){Jt(G.currentServer,On)&&zr===Vr||Bt({server:G.currentServer,key:On,val:qr.get("default")||""})})}}},{key:"render",value:function(){var G,Dt,bt=this,Bt=this.props,Jt=Bt.servers,Mn=Bt.currentServer,zt=Bt.getServerVariable,xn=Bt.getEffectiveServerValue,Nn=((0,oe.default)(Jt).call(Jt,function(Hr){return Hr.get("url")===Mn})||(0,ye.OrderedMap)()).get("variables")||(0,ye.OrderedMap)(),zr=0!==Nn.size;return me.default.createElement("div",{className:"servers"},me.default.createElement("label",{htmlFor:"servers"},me.default.createElement("select",{onChange:this.onServerChange,value:Mn},(0,le.default)(G=Jt.valueSeq()).call(G,function(Hr){return me.default.createElement("option",{value:Hr.get("url"),key:Hr.get("url")},Hr.get("url"),Hr.get("description")&&" - ".concat(Hr.get("description")))}).toArray())),zr?me.default.createElement("div",null,me.default.createElement("div",{className:"computed-url"},"Computed URL:",me.default.createElement("code",null,xn(Mn))),me.default.createElement("h4",null,"Server variables"),me.default.createElement("table",null,me.default.createElement("tbody",null,(0,le.default)(Dt=Nn.entrySeq()).call(Dt,function(Hr){var Vr,qr=(0,o.default)(Hr,2),On=qr[0],Jn=qr[1];return me.default.createElement("tr",{key:On},me.default.createElement("td",null,On),me.default.createElement("td",null,Jn.get("enum")?me.default.createElement("select",{"data-variable":On,onChange:bt.onServerVariableValueChange},(0,le.default)(Vr=Jn.get("enum")).call(Vr,function(Qn){return me.default.createElement("option",{selected:Qn===zt(Mn,On),key:Qn,value:Qn},Qn)})):me.default.createElement("input",{type:"text",value:zt(Mn,On)||"",onChange:bt.onServerVariableValueChange,"data-variable":On})))})))):null)}}]),we}(me.default.Component))},7779:(n,s,t)=>{t.r(s),t.d(s,{isOAS3:()=>C,isSwagger2:()=>x,OAS3ComponentWrapFactory:()=>N});var o=t(863),l=t(3590),_=t(810);function C(V){var Q=V.get("openapi");return"string"==typeof Q&&(0,l.default)(Q).call(Q,"3.0.")&&Q.length>4}function x(V){var Q=V.get("swagger");return"string"==typeof Q&&(0,l.default)(Q).call(Q,"2.0")}function N(V){return function(Q,oe){return function(le){return oe&&oe.specSelectors&&oe.specSelectors.specJson?C(oe.specSelectors.specJson())?_.default.createElement(V,(0,o.default)({},le,oe,{Ori:Q})):_.default.createElement(Q,le):(console.warn("OAS3 wrapper: couldn't get spec"),null)}}}},7451:(n,s,t)=>{t.r(s),t.d(s,{default:()=>oe});var o=t(2044),l=t(3723),_=t(1741),C=t(6467),x=t(7761),N=t(7002),V=t(5065),Q=t(9666);function oe(){return{components:C.default,wrapComponents:x.default,statePlugins:{spec:{wrapSelectors:o,selectors:_},auth:{wrapSelectors:l},oas3:{actions:N,reducers:Q.default,selectors:V}}}}},9666:(n,s,t)=>{t.r(s),t.d(s,{default:()=>me});var o=t(775);const l=(t.d($e={},{default:()=>nN}),$e);var $e,_,C=t(9334),x=t(5487),N=t(8136),V=t(29),Q=t(6785),oe=t(9725),le=t(7002);const me=((0,o.default)(_={},le.UPDATE_SELECTED_SERVER,function(ye,$e){var Ne=$e.payload,we=Ne.namespace;return ye.setIn(we?[we,"selectedServer"]:["selectedServer"],Ne.selectedServerUrl)}),(0,o.default)(_,le.UPDATE_REQUEST_BODY_VALUE,function(ye,$e){var Ne=$e.payload,ke=Ne.value,G=(0,C.default)(Ne.pathMethod,2),Dt=G[0],bt=G[1];if(!oe.Map.isMap(ke))return ye.setIn(["requestData",Dt,bt,"bodyValue"],ke);var Bt,Jt=ye.getIn(["requestData",Dt,bt,"bodyValue"])||(0,oe.Map)();oe.Map.isMap(Jt)||(Jt=(0,oe.Map)());var Mn=(0,x.default)(ke).call(ke),zt=(0,l.default)(Mn),xn=(0,N.default)(zt).call(zt,0);return(0,V.default)(xn).call(xn,function(Nn){var zr=ke.getIn([Nn]);Jt.has(Nn)&&oe.Map.isMap(zr)||(Bt=Jt.setIn([Nn,"value"],zr))}),ye.setIn(["requestData",Dt,bt,"bodyValue"],Bt)}),(0,o.default)(_,le.UPDATE_REQUEST_BODY_VALUE_RETAIN_FLAG,function(ye,$e){var Ne=$e.payload,ke=Ne.value,G=(0,C.default)(Ne.pathMethod,2);return ye.setIn(["requestData",G[0],G[1],"retainBodyValue"],ke)}),(0,o.default)(_,le.UPDATE_REQUEST_BODY_INCLUSION,function(ye,$e){var Ne=$e.payload,ke=Ne.value,G=Ne.name,Dt=(0,C.default)(Ne.pathMethod,2);return ye.setIn(["requestData",Dt[0],Dt[1],"bodyInclusion",G],ke)}),(0,o.default)(_,le.UPDATE_ACTIVE_EXAMPLES_MEMBER,function(ye,$e){var Ne=$e.payload,ke=Ne.name,G=Ne.contextType,Dt=Ne.contextName,bt=(0,C.default)(Ne.pathMethod,2);return ye.setIn(["examples",bt[0],bt[1],G,Dt,"activeExample"],ke)}),(0,o.default)(_,le.UPDATE_REQUEST_CONTENT_TYPE,function(ye,$e){var Ne=$e.payload,ke=Ne.value,G=(0,C.default)(Ne.pathMethod,2);return ye.setIn(["requestData",G[0],G[1],"requestContentType"],ke)}),(0,o.default)(_,le.UPDATE_RESPONSE_CONTENT_TYPE,function(ye,$e){var Ne=$e.payload;return ye.setIn(["requestData",Ne.path,Ne.method,"responseContentType"],Ne.value)}),(0,o.default)(_,le.UPDATE_SERVER_VARIABLE_VALUE,function(ye,$e){var Ne=$e.payload,ke=Ne.server,we=Ne.namespace,G=Ne.key;return ye.setIn(we?[we,"serverVariableValues",ke,G]:["serverVariableValues",ke,G],Ne.val)}),(0,o.default)(_,le.SET_REQUEST_BODY_VALIDATE_ERROR,function(ye,$e){var Ne=$e.payload,ke=Ne.path,we=Ne.method,G=Ne.validationErrors,Dt=[];if(Dt.push("Required field is not provided"),G.missingBodyValue)return ye.setIn(["requestData",ke,we,"errors"],(0,oe.fromJS)(Dt));if(G.missingRequiredKeys&&G.missingRequiredKeys.length>0){var bt=G.missingRequiredKeys;return ye.updateIn(["requestData",ke,we,"bodyValue"],(0,oe.fromJS)({}),function(Bt){return(0,Q.default)(bt).call(bt,function(Jt,Mn){return Jt.setIn([Mn,"errors"],(0,oe.fromJS)(Dt))},Bt)})}return console.warn("unexpected result: SET_REQUEST_BODY_VALIDATE_ERROR"),ye}),(0,o.default)(_,le.CLEAR_REQUEST_BODY_VALIDATE_ERROR,function(ye,$e){var Ne=$e.payload,ke=Ne.path,we=Ne.method,G=ye.getIn(["requestData",ke,we,"bodyValue"]);if(!oe.Map.isMap(G))return ye.setIn(["requestData",ke,we,"errors"],(0,oe.fromJS)([]));var Dt=(0,x.default)(G).call(G),bt=(0,l.default)(Dt),Bt=(0,N.default)(bt).call(bt,0);return Bt?ye.updateIn(["requestData",ke,we,"bodyValue"],(0,oe.fromJS)({}),function(Jt){return(0,Q.default)(Bt).call(Bt,function(Mn,zt){return Mn.setIn([zt,"errors"],(0,oe.fromJS)([]))},Jt)}):ye}),(0,o.default)(_,le.CLEAR_REQUEST_BODY_VALUE,function(ye,$e){var ke=(0,C.default)($e.payload.pathMethod,2),we=ke[0],G=ke[1],Dt=ye.getIn(["requestData",we,G,"bodyValue"]);return Dt?oe.Map.isMap(Dt)?ye.setIn(["requestData",we,G,"bodyValue"],(0,oe.Map)()):ye.setIn(["requestData",we,G,"bodyValue"],""):ye}),_)},5065:(n,s,t)=>{t.r(s),t.d(s,{selectedServer:()=>$e,requestBodyValue:()=>Ne,shouldRetainRequestBodyValue:()=>ke,hasUserEditedBody:()=>we,requestBodyInclusionSetting:()=>G,requestBodyErrors:()=>Dt,activeExamplesMember:()=>bt,requestContentType:()=>Bt,responseContentType:()=>Jt,serverVariableValue:()=>Mn,serverVariables:()=>zt,serverEffectiveValue:()=>xn,validateBeforeExecute:()=>Nn,validateShallowRequired:()=>zr});var o=t(2691),l=t(5171),_=t(2565),C=t(29),x=t(2740),N=t(8818),V=t(9725),Q=t(7779),oe=t(2458),le=t(6298);function me(Hr){return function(){for(var Vr=arguments.length,qr=new Array(Vr),On=0;On<Vr;On++)qr[On]=arguments[On];return function(Jn){var Qn=Jn.getSystem().specSelectors.specJson();return(0,Q.isOAS3)(Qn)?Hr.apply(void 0,qr):null}}}var ye,$e=me(function(Hr,Vr){return Hr.getIn(Vr?[Vr,"selectedServer"]:["selectedServer"])||""}),Ne=me(function(Hr,Vr,qr){return Hr.getIn(["requestData",Vr,qr,"bodyValue"])||null}),ke=me(function(Hr,Vr,qr){return Hr.getIn(["requestData",Vr,qr,"retainBodyValue"])||!1}),we=function(Hr,Vr,qr){return function(On){var Jn=On.getSystem(),Qn=Jn.oas3Selectors,ur=Jn.specSelectors,In=ur.specJson();if((0,Q.isOAS3)(In)){var Yr=!1,Qi=Qn.requestContentType(Vr,qr),Di=Qn.requestBodyValue(Vr,qr);if(V.Map.isMap(Di)&&(Di=(0,le.Pz)(Di.mapEntries(function(Wr){return V.Map.isMap(Wr[1])?[Wr[0],Wr[1].get("value")]:Wr}).toJS())),V.List.isList(Di)&&(Di=(0,le.Pz)(Di)),Qi){var ji=(0,oe.getDefaultRequestBodyValue)(ur.specResolvedSubtree(["paths",Vr,qr,"requestBody"]),Qi,Qn.activeExamplesMember(Vr,qr,"requestBody","requestBody"));Yr=!!Di&&Di!==ji}return Yr}return null}},G=me(function(Hr,Vr,qr){return Hr.getIn(["requestData",Vr,qr,"bodyInclusion"])||(0,V.Map)()}),Dt=me(function(Hr,Vr,qr){return Hr.getIn(["requestData",Vr,qr,"errors"])||null}),bt=me(function(Hr,Vr,qr,On,Jn){return Hr.getIn(["examples",Vr,qr,On,Jn,"activeExample"])||null}),Bt=me(function(Hr,Vr,qr){return Hr.getIn(["requestData",Vr,qr,"requestContentType"])||null}),Jt=me(function(Hr,Vr,qr){return Hr.getIn(["requestData",Vr,qr,"responseContentType"])||null}),Mn=me(function(Hr,Vr,qr){var On;if("string"!=typeof Vr){var Jn=Vr.server,Qn=Vr.namespace;On=Qn?[Qn,"serverVariableValues",Jn,qr]:["serverVariableValues",Jn,qr]}else On=["serverVariableValues",Vr,qr];return Hr.getIn(On)||null}),zt=me(function(Hr,Vr){var qr;if("string"!=typeof Vr){var On=Vr.server,Jn=Vr.namespace;qr=Jn?[Jn,"serverVariableValues",On]:["serverVariableValues",On]}else qr=["serverVariableValues",Vr];return Hr.getIn(qr)||(0,V.OrderedMap)()}),xn=me(function(Hr,Vr){var qr,On;if("string"!=typeof Vr){var Qn=Vr.namespace;On=Vr.server,qr=Hr.getIn(Qn?[Qn,"serverVariableValues",On]:["serverVariableValues",On])}else qr=Hr.getIn(["serverVariableValues",On=Vr]);qr=qr||(0,V.OrderedMap)();var ur=On;return(0,_.default)(qr).call(qr,function(In,Yr){ur=ur.replace(new RegExp("{".concat(Yr,"}"),"g"),In)}),ur}),Nn=(ye=function(Hr,Vr){return On=(On=Vr)||[],!!Hr.getIn((0,l.default)(Jn=["requestData"]).call(Jn,(0,o.default)(On),["bodyValue"]));var On,Jn},function(){for(var Hr=arguments.length,Vr=new Array(Hr),qr=0;qr<Hr;qr++)Vr[qr]=arguments[qr];return function(On){var Jn,Qn,ur=On.getSystem().specSelectors.specJson(),In=(0,l.default)(Jn=[]).call(Jn,Vr)[1]||[];return!ur.getIn((0,l.default)(Qn=["paths"]).call(Qn,(0,o.default)(In),["requestBody","required"]))||ye.apply(void 0,Vr)}}),zr=function(Hr,Vr){var qr,On=Vr.oas3RequiredRequestBodyContentType,Jn=Vr.oas3RequestContentType,Qn=Vr.oas3RequestBodyValue,ur=[];if(!V.Map.isMap(Qn))return ur;var In=[];return(0,C.default)(qr=(0,x.default)(On.requestContentType)).call(qr,function(Yr){if(Yr===Jn){var Qi=On.requestContentType[Yr];(0,C.default)(Qi).call(Qi,function(Di){(0,N.default)(In).call(In,Di)<0&&In.push(Di)})}}),(0,C.default)(In).call(In,function(Yr){Qn.getIn([Yr,"value"])||ur.push(Yr)}),ur}},1741:(n,s,t)=>{t.r(s),t.d(s,{servers:()=>Q,isSwagger2:()=>oe});var C,o=t(8639),l=t(9725),_=t(7779),x=function(le){return le||(0,l.Map)()},N=(0,o.createSelector)(x,function(le){return le.get("json",(0,l.Map)())}),V=(0,o.createSelector)(x,function(le){return le.get("resolved",(0,l.Map)())}),Q=(C=(0,o.createSelector)(function(le){var me=V(le);return me.count()<1&&(me=N(le)),me},function(le){return le.getIn(["servers"])||(0,l.Map)()}),function(){return function(le){var me=le.getSystem().specSelectors.specJson();if((0,_.isOAS3)(me)){for(var ye=arguments.length,$e=new Array(ye>1?ye-1:0),Ne=1;Ne<ye;Ne++)$e[Ne-1]=arguments[Ne];return C.apply(void 0,$e)}return null}}),oe=function(le,me){return function(){var ye=me.getSystem().specSelectors.specJson();return(0,_.isSwagger2)(ye)}}},2044:(n,s,t)=>{t.r(s),t.d(s,{definitions:()=>me,hasHost:()=>ye,securityDefinitions:()=>$e,host:()=>Ne,basePath:()=>ke,consumes:()=>we,produces:()=>G,schemes:()=>Dt,servers:()=>bt,isOAS3:()=>Bt,isSwagger2:()=>Jt});var o=t(8639),l=t(3881),_=t(9725),C=t(7779);function x(Mn){return function(zt,xn){return function(){var Nn=xn.getSystem().specSelectors.specJson();return(0,C.isOAS3)(Nn)?Mn.apply(void 0,arguments):zt.apply(void 0,arguments)}}}var N=function(Mn){return Mn||(0,_.Map)()},V=x((0,o.createSelector)(function(){return null})),Q=(0,o.createSelector)(N,function(Mn){return Mn.get("json",(0,_.Map)())}),oe=(0,o.createSelector)(N,function(Mn){return Mn.get("resolved",(0,_.Map)())}),le=function(Mn){var zt=oe(Mn);return zt.count()<1&&(zt=Q(Mn)),zt},me=x((0,o.createSelector)(le,function(Mn){var zt=Mn.getIn(["components","schemas"]);return _.Map.isMap(zt)?zt:(0,_.Map)()})),ye=x(function(Mn){return le(Mn).hasIn(["servers",0])}),$e=x((0,o.createSelector)(l.specJsonWithResolvedSubtrees,function(Mn){return Mn.getIn(["components","securitySchemes"])||null})),Ne=V,ke=V,we=V,G=V,Dt=V,bt=x((0,o.createSelector)(le,function(Mn){return Mn.getIn(["servers"])||(0,_.Map)()})),Bt=function(Mn,zt){return function(){var xn=zt.getSystem().specSelectors.specJson();return(0,C.isOAS3)(_.Map.isMap(xn)?xn:(0,_.Map)())}},Jt=function(Mn,zt){return function(){var xn=zt.getSystem().specSelectors.specJson();return(0,C.isSwagger2)(_.Map.isMap(xn)?xn:(0,_.Map)())}}},356:(n,s,t)=>{t.r(s),t.d(s,{default:()=>x});var o=t(302),l=t(810),_=t(7779),C=["Ori"];const x=(0,_.OAS3ComponentWrapFactory)(function(N){var V=N.Ori,Q=(0,o.default)(N,C),oe=Q.schema,le=Q.getComponent,me=Q.errSelectors,ye=Q.authorized,$e=Q.onAuthChange,Ne=Q.name,ke=le("HttpAuth");return"http"===oe.get("type")?l.default.createElement(ke,{key:Ne,schema:oe,name:Ne,errSelectors:me,authorized:ye,getComponent:le,onChange:$e}):l.default.createElement(V,Q)})},7761:(n,s,t)=>{t.r(s),t.d(s,{default:()=>V});var o=t(2460),l=t(356),_=t(9487),C=t(58),x=t(3499),N=t(287);const V={Markdown:o.default,AuthItem:l.default,JsonSchema_string:N.default,VersionStamp:_.default,model:x.default,onlineValidatorBadge:C.default}},287:(n,s,t)=>{t.r(s),t.d(s,{default:()=>x});var o=t(302),l=t(810),_=t(7779),C=["Ori"];const x=(0,_.OAS3ComponentWrapFactory)(function(N){var V=N.Ori,Q=(0,o.default)(N,C),oe=Q.schema,le=Q.getComponent,me=Q.errors,ye=Q.onChange,$e=oe&&oe.get?oe.get("format"):null,Ne=oe&&oe.get?oe.get("type"):null,ke=le("Input");return Ne&&"string"===Ne&&$e&&("binary"===$e||"base64"===$e)?l.default.createElement(ke,{type:"file",className:me.length?"invalid":"",title:me.length?me:"",onChange:function(we){ye(we.target.files[0])},disabled:V.isDisabled}):l.default.createElement(V,Q)})},2460:(n,s,t)=>{t.r(s),t.d(s,{Markdown:()=>Q,default:()=>oe});var o=t(5942),l=t(810),_=(t(5053),t(8096)),C=t(3952),x=t(7779),N=t(5466),V=new C.Remarkable("commonmark");V.block.ruler.enable(["table"]),V.set({linkTarget:"_blank"});var Q=function(le){var me=le.source,ye=le.className,$e=void 0===ye?"":ye;if("string"!=typeof me)return null;if(me){var ke,we=(0,le.getConfigs)().useUnsafeMarkdown,G=V.render(me),Dt=(0,N.s)(G,{useUnsafeMarkdown:we});return"string"==typeof Dt&&(ke=(0,o.default)(Dt).call(Dt)),l.default.createElement("div",{dangerouslySetInnerHTML:{__html:ke},className:(0,_.default)($e,"renderedMarkdown")})}return null};Q.defaultProps={getConfigs:function(){return{useUnsafeMarkdown:!1}}};const oe=(0,x.OAS3ComponentWrapFactory)(Q)},3499:(n,s,t)=>{t.r(s),t.d(s,{default:()=>le});var o=t(863),l=t(7344),_=t(8656),C=t(9972),x=t(5416),N=t(810),V=(t(5053),t(7779)),Q=t(1543),oe=function(me){(0,C.default)($e,me);var ye=(0,x.default)($e);function $e(){return(0,l.default)(this,$e),ye.apply(this,arguments)}return(0,_.default)($e,[{key:"render",value:function(){var Ne=this.props,ke=Ne.getConfigs,we=["model-box"],G=null;return!0===Ne.schema.get("deprecated")&&(we.push("deprecated"),G=N.default.createElement("span",{className:"model-deprecated-warning"},"Deprecated:")),N.default.createElement("div",{className:we.join(" ")},G,N.default.createElement(Q.Z,(0,o.default)({},this.props,{getConfigs:ke,depth:1,expandDepth:this.props.expandDepth||0})))}}]),$e}(N.Component);const le=(0,V.OAS3ComponentWrapFactory)(oe)},58:(n,s,t)=>{t.r(s),t.d(s,{default:()=>_});var o=t(7779),l=t(5623);const _=(0,o.OAS3ComponentWrapFactory)(l.Z)},9487:(n,s,t)=>{t.r(s),t.d(s,{default:()=>l});var o=t(810);const l=(0,t(7779).OAS3ComponentWrapFactory)(function(_){return o.default.createElement("span",null,o.default.createElement(_.Ori,_),o.default.createElement("small",{className:"version-stamp"},o.default.createElement("pre",{className:"version"},"OAS3")))})},8560:(n,s,t)=>{t.r(s),t.d(s,{default:()=>_});var o=t(6235),l=!1;function _(){return{statePlugins:{spec:{wrapActions:{updateSpec:function(C){return function(){return l=!0,C.apply(void 0,arguments)}},updateJsonSpec:function(C,x){return function(){var N=x.getConfigs().onComplete;return l&&"function"==typeof N&&((0,o.default)(N,0),l=!1),C.apply(void 0,arguments)}}}}}}}},4624:(n,s,t)=>{t.r(s),t.d(s,{requestSnippetGenerator_curl_bash:()=>Jt,requestSnippetGenerator_curl_cmd:()=>Mn,requestSnippetGenerator_curl_powershell:()=>Bt});var o=t(2691),l=t(9334),_=t(3248),C=t(8818),x=t(5942),N=t(5171),V=t(313),Q=t(2565);const oe=(t.d(xn={},{default:()=>iN()}),xn);var xn,le=t(2954),me=t(2372),ye=t(7504),$e=t(9725),Ne=function(zt){var xn;return(0,C.default)(zt).call(zt,"_**[]")<0?zt:(0,x.default)(xn=zt.split("_**[]")[0]).call(xn)},ke=function(zt){return"-d "===zt||/^[_\/-]/g.test(zt)?zt:"'"+zt.replace(/'/g,"'\\''")+"'"},we=function(zt){return"-d "===(zt=zt.replace(/\^/g,"^^").replace(/\\"/g,'\\\\"').replace(/"/g,'""').replace(/\n/g,"^\n"))?zt.replace(/-d /g,"-d ^\n"):/^[_\/-]/g.test(zt)?zt:'"'+zt+'"'},G=function(zt){return"-d "===zt?zt:/\n/.test(zt)?'@"\n'+zt.replace(/"/g,'\\"').replace(/`/g,"``").replace(/\$/,"`$")+'\n"@':/^[_\/-]/g.test(zt)?zt:"'"+zt.replace(/"/g,'""').replace(/'/g,"''")+"'"};function Dt(zt){var xn,Nn=[],zr=(0,_.default)(zt.get("body").entrySeq());try{for(zr.s();!(xn=zr.n()).done;){var Hr,Vr,qr,On=(0,l.default)(xn.value,2),Qn=On[1],ur=Ne(On[0]);Nn.push(Qn instanceof ye.Z.File?(0,N.default)(Hr=(0,N.default)(Vr='  "'.concat(ur,'": {\n    "name": "')).call(Vr,Qn.name,'"')).call(Hr,Qn.type?',\n    "type": "'.concat(Qn.type,'"'):"","\n  }"):(0,N.default)(qr='  "'.concat(ur,'": ')).call(qr,(0,V.default)(Qn,null,2).replace(/(\r\n|\r|\n)/g,"\n  ")))}}catch(In){zr.e(In)}finally{zr.f()}return"{\n".concat(Nn.join(",\n"),"\n}")}var bt=function(zt,xn,Nn){var zr=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",Hr=!1,Vr="",qr=function(){for(var Rt=arguments.length,qn=new Array(Rt),wr=0;wr<Rt;wr++)qn[wr]=arguments[wr];return Vr+=" "+(0,Q.default)(qn).call(qn,xn).join(" ")},On=function(){for(var Rt=arguments.length,qn=new Array(Rt),wr=0;wr<Rt;wr++)qn[wr]=arguments[wr];return Vr+=(0,Q.default)(qn).call(qn,xn).join(" ")},Jn=function(){return Vr+=" ".concat(Nn)},Qn=function(){var Rt,qn=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return Vr+=(0,oe.default)(Rt="  ").call(Rt,qn)},ur=zt.get("headers");if(Vr+="curl"+zr,zt.has("curlOptions")&&qr.apply(void 0,(0,o.default)(zt.get("curlOptions"))),qr("-X",zt.get("method")),Jn(),Qn(),On("".concat(zt.get("url"))),ur&&ur.size){var In,Yr,Qi=(0,_.default)((0,le.default)(In=zt.get("headers")).call(In));try{for(Qi.s();!(Yr=Qi.n()).done;){var Di,ji=Yr.value;Jn(),Qn();var Wr=(0,l.default)(ji,2),Bn=Wr[0],bn=Wr[1];On("-H",(0,N.default)(Di="".concat(Bn,": ")).call(Di,bn)),Hr=Hr||/^content-type$/i.test(Bn)&&/^multipart\/form-data$/i.test(bn)}}catch(Rt){Qi.e(Rt)}finally{Qi.f()}}var Xr,Ni=zt.get("body");if(Ni)if(Hr&&(0,me.default)(Xr=["POST","PUT","PATCH"]).call(Xr,zt.get("method"))){var Xi,Bo=(0,_.default)(Ni.entrySeq());try{for(Bo.s();!(Xi=Bo.n()).done;){var Ao,zs,Qs,Ii=(0,l.default)(Xi.value,2),uo=Ii[0],bo=Ii[1],Qe=Ne(uo);Jn(),Qn(),On("-F"),qr(bo instanceof ye.Z.File?(0,N.default)(Ao=(0,N.default)(zs="".concat(Qe,"=@")).call(zs,bo.name)).call(Ao,bo.type?";type=".concat(bo.type):""):(0,N.default)(Qs="".concat(Qe,"=")).call(Qs,bo))}}catch(Rt){Bo.e(Rt)}finally{Bo.f()}}else if(Ni instanceof ye.Z.File)Jn(),Qn(),On("--data-binary '@".concat(Ni.name,"'"));else{Jn(),Qn(),On("-d ");var Pt=Ni;$e.Map.isMap(Pt)?On(Dt(zt)):("string"!=typeof Pt&&(Pt=(0,V.default)(Pt)),On(Pt))}else Ni||"POST"!==zt.get("method")||(Jn(),Qn(),On("-d ''"));return Vr},Bt=function(zt){return bt(zt,G,"`\n",".exe")},Jt=function(zt){return bt(zt,ke,"\\\n")},Mn=function(zt){return bt(zt,we,"^\n")}},6575:(n,s,t)=>{t.r(s),t.d(s,{default:()=>C});var o=t(4624),l=t(4669),_=t(4206);const C=function(){return{components:{RequestSnippets:_.default},fn:o,statePlugins:{requestSnippets:{selectors:l}}}}},4206:(n,s,t)=>{t.r(s),t.d(s,{default:()=>$e});var o=t(9334),l=t(6145),_=t(8898),C=t(29),x=t(2565),N=t(810),V=(t(5053),t(9908)),Q=t(7068),oe=t(9874),le=t(471),me={cursor:"pointer",lineHeight:1,display:"inline-flex",backgroundColor:"rgb(250, 250, 250)",paddingBottom:"0",paddingTop:"0",border:"1px solid rgb(51, 51, 51)",borderRadius:"4px 4px 0 0",boxShadow:"none",borderBottom:"none"},ye={cursor:"pointer",lineHeight:1,display:"inline-flex",backgroundColor:"rgb(51, 51, 51)",boxShadow:"none",border:"1px solid rgb(51, 51, 51)",paddingBottom:"0",paddingTop:"0",borderRadius:"4px 4px 0 0",marginTop:"-5px",marginRight:"-5px",marginLeft:"-5px",zIndex:"9999",borderBottom:"none"};const $e=function(Ne){var ke,we,G=Ne.request,Dt=Ne.requestSnippetsSelectors,bt=Ne.getConfigs,Bt=(0,Q.default)(bt)?bt():null,Jt=!1!==(0,V.default)(Bt,"syntaxHighlight")&&(0,V.default)(Bt,"syntaxHighlight.activated",!0),Mn=(0,N.useRef)(null),zt=(0,N.useState)(null===(ke=Dt.getSnippetGenerators())||void 0===ke?void 0:ke.keySeq().first()),xn=(0,o.default)(zt,2),Nn=xn[0],zr=xn[1],Hr=(0,N.useState)(null==Dt?void 0:Dt.getDefaultExpanded()),Vr=(0,o.default)(Hr,2),qr=Vr[0],On=Vr[1];(0,N.useEffect)(function(){},[]),(0,N.useEffect)(function(){var ji,Wr=(0,l.default)(ji=(0,_.default)(Mn.current.childNodes)).call(ji,function(Bn){var bn;return!!Bn.nodeType&&(null===(bn=Bn.classList)||void 0===bn?void 0:bn.contains("curl-command"))});return(0,C.default)(Wr).call(Wr,function(Bn){return Bn.addEventListener("mousewheel",Qi,{passive:!1})}),function(){(0,C.default)(Wr).call(Wr,function(Bn){return Bn.removeEventListener("mousewheel",Qi)})}},[G]);var Jn=Dt.getSnippetGenerators(),Qn=Jn.get(Nn),ur=Qn.get("fn")(G),In=function(){On(!qr)},Yr=function(ji){return ji===Nn?ye:me},Qi=function(ji){var Wr=ji.target,Bn=ji.deltaY,bn=Wr.scrollHeight,Xr=Wr.offsetHeight,Ni=Wr.scrollTop;bn>Xr&&(0===Ni&&Bn<0||Xr+Ni>=bn&&Bn>0)&&ji.preventDefault()},Di=Jt?N.default.createElement(le.d3,{language:Qn.get("syntax"),className:"curl microlight",style:(0,le.C2)((0,V.default)(Bt,"syntaxHighlight.theme"))},ur):N.default.createElement("textarea",{readOnly:!0,className:"curl",value:ur});return N.default.createElement("div",{className:"request-snippets",ref:Mn},N.default.createElement("div",{style:{width:"100%",display:"flex",justifyContent:"flex-start",alignItems:"center",marginBottom:"15px"}},N.default.createElement("h4",{onClick:function(){return In()},style:{cursor:"pointer"}},"Snippets"),N.default.createElement("button",{onClick:function(){return In()},style:{border:"none",background:"none"},title:qr?"Collapse operation":"Expand operation"},N.default.createElement("svg",{className:"arrow",width:"10",height:"10"},N.default.createElement("use",{href:qr?"#large-arrow-down":"#large-arrow",xlinkHref:qr?"#large-arrow-down":"#large-arrow"})))),qr&&N.default.createElement("div",{className:"curl-command"},N.default.createElement("div",{style:{paddingLeft:"15px",paddingRight:"10px",width:"100%",display:"flex"}},(0,x.default)(we=Jn.entrySeq()).call(we,function(ji){var Wr=(0,o.default)(ji,2),Bn=Wr[0],bn=Wr[1];return N.default.createElement("div",{style:Yr(Bn),className:"btn",key:Bn,onClick:function(){var Xr;Nn!==(Xr=Bn)&&zr(Xr)}},N.default.createElement("h4",{style:Bn===Nn?{color:"white"}:{}},bn.get("title")))})),N.default.createElement("div",{className:"copy-to-clipboard"},N.default.createElement(oe.CopyToClipboard,{text:ur},N.default.createElement("button",null))),N.default.createElement("div",null,Di)))}},4669:(n,s,t)=>{t.r(s),t.d(s,{getGenerators:()=>V,getSnippetGenerators:()=>Q,getActiveLanguage:()=>oe,getDefaultExpanded:()=>le});var o=t(6145),l=t(2372),_=t(2565),C=t(8639),x=t(9725),N=function(me){return me||(0,x.Map)()},V=(0,C.createSelector)(N,function(me){var ye=me.get("languages"),$e=me.get("generators",(0,x.Map)());return!ye||ye.isEmpty()?$e:(0,o.default)($e).call($e,function(Ne,ke){return(0,l.default)(ye).call(ye,ke)})}),Q=function(me){return function(ye){var $e,Ne,ke=ye.fn;return(0,o.default)($e=(0,_.default)(Ne=V(me)).call(Ne,function(we,G){var Dt=ke["requestSnippetGenerator_".concat(G)];return"function"!=typeof Dt?null:we.set("fn",Dt)})).call($e,function(we){return we})}},oe=(0,C.createSelector)(N,function(me){return me.get("activeLanguage")}),le=(0,C.createSelector)(N,function(me){return me.get("defaultExpanded")})},6195:(n,s,t)=>{t.r(s),t.d(s,{ErrorBoundary:()=>oe,default:()=>le});var o=t(7344),l=t(8656),_=t(9972),C=t(5416),x=t(5171),N=(t(5053),t(810)),V=t(6189),Q=t(9403),oe=function(me){(0,_.default)($e,me);var ye=(0,C.default)($e);function $e(){var Ne,ke;(0,o.default)(this,$e);for(var we=arguments.length,G=new Array(we),Dt=0;Dt<we;Dt++)G[Dt]=arguments[Dt];return(ke=ye.call.apply(ye,(0,x.default)(Ne=[this]).call(Ne,G))).state={hasError:!1,error:null},ke}return(0,l.default)($e,[{key:"componentDidCatch",value:function(Ne,ke){this.props.fn.componentDidCatch(Ne,ke)}},{key:"render",value:function(){var Ne=this.props,we=Ne.targetName,G=Ne.children;if(this.state.hasError){var Dt=(0,Ne.getComponent)("Fallback");return N.default.createElement(Dt,{name:we})}return G}}],[{key:"getDerivedStateFromError",value:function(Ne){return{hasError:!0,error:Ne}}}]),$e}(N.Component);oe.defaultProps={targetName:"this component",getComponent:function(){return Q.default},fn:{componentDidCatch:V.componentDidCatch},children:null};const le=oe},9403:(n,s,t)=>{t.r(s),t.d(s,{default:()=>l});var o=t(810);t(5053);const l=function(_){var C=_.name;return o.default.createElement("div",{className:"fallback"},"\u{1f631} ",o.default.createElement("i",null,"Could not render ","t"===C?"this component":C,", see the console."))}},6189:(n,s,t)=>{t.r(s),t.d(s,{componentDidCatch:()=>V,withErrorBoundary:()=>Q});var o=t(863),l=t(7344),_=t(8656),C=t(9972),x=t(5416),N=t(810),V=console.error,Q=function(oe){return function(le){var me,ye=oe(),$e=ye.getComponent,Ne=ye.fn,ke=$e("ErrorBoundary"),we=Ne.getDisplayName(le),G=function(Dt){(0,C.default)(Bt,Dt);var bt=(0,x.default)(Bt);function Bt(){return(0,l.default)(this,Bt),bt.apply(this,arguments)}return(0,_.default)(Bt,[{key:"render",value:function(){return N.default.createElement(ke,{targetName:we,getComponent:$e,fn:Ne},N.default.createElement(le,(0,o.default)({},this.props,this.context)))}}]),Bt}(N.Component);return G.displayName="WithErrorBoundary(".concat(we,")"),(me=le).prototype&&me.prototype.isReactComponent&&(G.prototype.mapStateToProps=le.prototype.mapStateToProps),G}}},8102:(n,s,t)=>{t.r(s),t.d(s,{default:()=>Q});var o=t(2691),l=t(5171);const _=(t.d(le={},{default:()=>sN()}),le),C=(oe=>{var le={};return t.d(le,oe),le})({default:()=>lN()});var le,x=t(6195),N=t(9403),V=t(6189);const Q=function(){var oe=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},le=oe.componentList,me=void 0===le?[]:le,ye=oe.fullOverride,$e=void 0!==ye&&ye;return function(Ne){var ke,we,G=Ne.getSystem,Dt=$e?me:(0,l.default)(ke=[]).call(ke,["App","BaseLayout","VersionPragmaFilter","InfoContainer","ServersContainer","SchemesContainer","AuthorizeBtnContainer","FilterContainer","Operations","OperationContainer","parameters","responses","OperationServers","Models","ModelWrapper"],(0,o.default)(me)),bt=(0,C.default)(Dt,(0,_.default)(we=Array(Dt.length)).call(we,function(Bt,Jt){return Jt.fn.withErrorBoundary(Bt)}));return{fn:{componentDidCatch:V.componentDidCatch,withErrorBoundary:(0,V.withErrorBoundary)(G)},components:{ErrorBoundary:x.default,Fallback:N.default},wrapComponents:bt}}}},2473:(n,s,t)=>{t.r(s),t.d(s,{createXMLExample:()=>Vr,inferSchema:()=>Hr,memoizedCreateXMLExample:()=>Jn,memoizedSampleFromSchema:()=>Qn,sampleFromSchema:()=>qr,sampleFromSchemaGeneric:()=>zr});var o=t(1581),l=t(5171),_=t(8818),C=t(29),x=t(4163),N=t(2372),V=t(9963),Q=t(8136),oe=t(1778),le=t(2565),me=t(313),ye=t(3479),$e=t.n(ye);const Ne=(t.d(In={},{default:()=>cN()}),In),ke=(ur=>{var In={};return t.d(In,ur),In})({default:()=>fN()});var In,we=t(6298),G=t(8287),Dt={string:function(ur){return ur.pattern?function(In){try{return new Ne.default(In).gen()}catch(Yr){return"string"}}(ur.pattern):"string"},string_email:function(){return"user@example.com"},"string_date-time":function(){return(new Date).toISOString()},string_date:function(){return(new Date).toISOString().substring(0,10)},string_uuid:function(){return"3fa85f64-5717-4562-b3fc-2c963f66afa6"},string_hostname:function(){return"example.com"},string_ipv4:function(){return"198.51.100.42"},string_ipv6:function(){return"2001:0db8:5b96:0000:0000:426f:8e17:642a"},number:function(){return 0},number_float:function(){return 0},integer:function(){return 0},boolean:function(ur){return"boolean"!=typeof ur.default||ur.default}},bt=function(ur){var In,Yr=ur=(0,we.mz)(ur),Qi=Yr.type,Di=Yr.format,ji=Dt[(0,l.default)(In="".concat(Qi,"_")).call(In,Di)]||Dt[Qi];return(0,we.Wl)(ji)?ji(ur):"Unknown Type: "+ur.type},Bt=function(ur){return(0,we.XV)(ur,"$$ref",function(In){return"string"==typeof In&&(0,_.default)(In).call(In,"#")>-1})},Jt=["maxProperties","minProperties"],Mn=["minItems","maxItems"],zt=["minimum","maximum","exclusiveMinimum","exclusiveMaximum"],xn=["minLength","maxLength"],Nn=function ur(In,Yr){var Qi,Di,ji,Wr=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},Bn=function(Xi){void 0===Yr[Xi]&&void 0!==In[Xi]&&(Yr[Xi]=In[Xi])};if((0,C.default)(Qi=(0,l.default)(Di=["example","default","enum","xml","type"]).call(Di,Jt,Mn,zt,xn)).call(Qi,function(Xi){return Bn(Xi)}),void 0!==In.required&&(0,x.default)(In.required)&&(void 0!==Yr.required&&Yr.required.length||(Yr.required=[]),(0,C.default)(ji=In.required).call(ji,function(Xi){var Bo;(0,N.default)(Bo=Yr.required).call(Bo,Xi)||Yr.required.push(Xi)})),In.properties){Yr.properties||(Yr.properties={});var bn=(0,we.mz)(In.properties);for(var Xr in bn){var Ni;Object.prototype.hasOwnProperty.call(bn,Xr)&&(!bn[Xr]||!bn[Xr].deprecated)&&(!bn[Xr]||!bn[Xr].readOnly||Wr.includeReadOnly)&&(!bn[Xr]||!bn[Xr].writeOnly||Wr.includeWriteOnly)&&(Yr.properties[Xr]||(Yr.properties[Xr]=bn[Xr],!In.required&&(0,x.default)(In.required)&&-1!==(0,_.default)(Ni=In.required).call(Ni,Xr)&&(Yr.required?Yr.required.push(Xr):Yr.required=[Xr])))}}return In.items&&(Yr.items||(Yr.items={}),Yr.items=ur(In.items,Yr.items,Wr)),Yr},zr=function ur(In){var Yr=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Qi=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,Di=arguments.length>3&&void 0!==arguments[3]&&arguments[3];In&&(0,we.Wl)(In.toJS)&&(In=In.toJS());var ji=void 0!==Qi||In&&void 0!==In.example||In&&void 0!==In.default,Wr=!ji&&In&&In.oneOf&&In.oneOf.length>0,Bn=!ji&&In&&In.anyOf&&In.anyOf.length>0;if(!ji&&(Wr||Bn)){var bn=(0,we.mz)(Wr?In.oneOf[0]:In.anyOf[0]);if(Nn(bn,In,Yr),!In.xml&&bn.xml&&(In.xml=bn.xml),void 0!==In.example&&void 0!==bn.example)ji=!0;else if(bn.properties){In.properties||(In.properties={});var Xr=(0,we.mz)(bn.properties);for(var Ni in Xr){var Xi;Object.prototype.hasOwnProperty.call(Xr,Ni)&&(!Xr[Ni]||!Xr[Ni].deprecated)&&(!Xr[Ni]||!Xr[Ni].readOnly||Yr.includeReadOnly)&&(!Xr[Ni]||!Xr[Ni].writeOnly||Yr.includeWriteOnly)&&(In.properties[Ni]||(In.properties[Ni]=Xr[Ni],!bn.required&&(0,x.default)(bn.required)&&-1!==(0,_.default)(Xi=bn.required).call(Xi,Ni)&&(In.required?In.required.push(Ni):In.required=[Ni])))}}}var Bo,Ao={},zs=In||{},Qs=zs.xml,Ii=zs.type,uo=zs.example,bo=zs.properties,Qe=zs.additionalProperties,Pt=zs.items,Rt=Yr.includeReadOnly,qn=Yr.includeWriteOnly,wr=Qs=Qs||{},Gr=wr.name,Fi=wr.prefix,Ws=wr.namespace,Zo={};if(Di&&(Bo=(Fi?Fi+":":"")+(Gr=Gr||"notagname"),Ws)){var ol=Fi?"xmlns:"+Fi:"xmlns";Ao[ol]=Ws}Di&&(Zo[Bo]=[]);var gl=function(Wi){return(0,V.default)(Wi).call(Wi,function(Ds){return Object.prototype.hasOwnProperty.call(In,Ds)})};In&&!Ii&&(bo||Qe||gl(Jt)?Ii="object":Pt||gl(Mn)?Ii="array":gl(zt)?(Ii="number",In.type="number"):ji||In.enum||(Ii="string",In.type="string"));var Zl,Qu,Gf=function(Wi){var Ds,ss,tu,bl,fl;if(null!==(null===(Ds=In)||void 0===Ds?void 0:Ds.maxItems)&&void 0!==(null===(ss=In)||void 0===ss?void 0:ss.maxItems)&&(Wi=(0,Q.default)(Wi).call(Wi,0,null===(fl=In)||void 0===fl?void 0:fl.maxItems)),null!==(null===(tu=In)||void 0===tu?void 0:tu.minItems)&&void 0!==(null===(bl=In)||void 0===bl?void 0:bl.minItems))for(var Ba=0;Wi.length<(null===(xa=In)||void 0===xa?void 0:xa.minItems);){var xa;Wi.push(Wi[Ba++%Wi.length])}return Wi},wl=(0,we.mz)(bo),Vc=0,gp=function(){return In&&null!=In.maxProperties&&Vc>=In.maxProperties},Lh=function(){if(!In||!In.required)return 0;var Wi,Ds,ss=0;return Di?(0,C.default)(Wi=In.required).call(Wi,function(tu){return ss+=void 0===Zo[tu]?0:1}):(0,C.default)(Ds=In.required).call(Ds,function(tu){var bl;return ss+=void 0===(null===(bl=Zo[Bo])||void 0===bl?void 0:(0,oe.default)(bl).call(bl,function(fl){return void 0!==fl[tu]}))?0:1}),In.required.length-ss},ih=function(Wi){var Ds;return!(In&&In.required&&In.required.length&&(0,N.default)(Ds=In.required).call(Ds,Wi))},kh=function(Wi){return!In||null==In.maxProperties||!gp()&&(!ih(Wi)||In.maxProperties-Vc-Lh()>0)};if(Zl=Di?function(Wi){var Ds=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(In&&wl[Wi]){if(wl[Wi].xml=wl[Wi].xml||{},wl[Wi].xml.attribute){var ss=(0,x.default)(wl[Wi].enum)?wl[Wi].enum[0]:void 0,tu=wl[Wi].example,bl=wl[Wi].default;return void(Ao[wl[Wi].xml.name||Wi]=void 0!==tu?tu:void 0!==bl?bl:void 0!==ss?ss:bt(wl[Wi]))}wl[Wi].xml.name=wl[Wi].xml.name||Wi}else wl[Wi]||!1===Qe||(wl[Wi]={xml:{name:Wi}});var fl,Ba=ur(In&&wl[Wi]||void 0,Yr,Ds,Di);kh(Wi)&&(Vc++,(0,x.default)(Ba)?Zo[Bo]=(0,l.default)(fl=Zo[Bo]).call(fl,Ba):Zo[Bo].push(Ba))}:function(Wi,Ds){kh(Wi)&&(Zo[Wi]=ur(wl[Wi],Yr,Ds,Di),Vc++)},ji){var zl;if(zl=Bt(void 0!==Qi?Qi:void 0!==uo?uo:In.default),!Di){if("number"==typeof zl&&"string"===Ii)return"".concat(zl);if("string"!=typeof zl||"string"===Ii)return zl;try{return JSON.parse(zl)}catch(Wi){return zl}}if(In||(Ii=(0,x.default)(zl)?"array":(0,o.default)(zl)),"array"===Ii){if(!(0,x.default)(zl)){if("string"==typeof zl)return zl;zl=[zl]}var $c=In?In.items:void 0;$c&&($c.xml=$c.xml||Qs||{},$c.xml.name=$c.xml.name||Qs.name);var Fp=(0,le.default)(zl).call(zl,function(Wi){return ur($c,Yr,Wi,Di)});return Fp=Gf(Fp),Qs.wrapped?(Zo[Bo]=Fp,(0,ke.default)(Ao)||Zo[Bo].push({_attr:Ao})):Zo=Fp,Zo}if("object"===Ii){if("string"==typeof zl)return zl;for(var zi in zl)Object.prototype.hasOwnProperty.call(zl,zi)&&(In&&wl[zi]&&wl[zi].readOnly&&!Rt||In&&wl[zi]&&wl[zi].writeOnly&&!qn||(In&&wl[zi]&&wl[zi].xml&&wl[zi].xml.attribute?Ao[wl[zi].xml.name||zi]=zl[zi]:Zl(zi,zl[zi])));return(0,ke.default)(Ao)||Zo[Bo].push({_attr:Ao}),Zo}return Zo[Bo]=(0,ke.default)(Ao)?zl:[{_attr:Ao},zl],Zo}if("object"===Ii){for(var mr in wl)Object.prototype.hasOwnProperty.call(wl,mr)&&(wl[mr]&&wl[mr].deprecated||wl[mr]&&wl[mr].readOnly&&!Rt||wl[mr]&&wl[mr].writeOnly&&!qn||Zl(mr));if(Di&&Ao&&Zo[Bo].push({_attr:Ao}),gp())return Zo;if(!0===Qe)Di?Zo[Bo].push({additionalProp:"Anything can be here"}):Zo.additionalProp1={},Vc++;else if(Qe){var Mi=(0,we.mz)(Qe),eo=ur(Mi,Yr,void 0,Di);if(Di&&Mi.xml&&Mi.xml.name&&"notagname"!==Mi.xml.name)Zo[Bo].push(eo);else for(var No=null!=In.minProperties&&Vc<In.minProperties?In.minProperties-Vc:3,qo=1;qo<=No;qo++){if(gp())return Zo;if(Di){var os={};os["additionalProp"+qo]=eo.notagname,Zo[Bo].push(os)}else Zo["additionalProp"+qo]=eo;Vc++}}return Zo}if("array"===Ii){if(!Pt)return;var ps,_a,tl;if(Di&&(Pt.xml=Pt.xml||(null===(_a=In)||void 0===_a?void 0:_a.xml)||{},Pt.xml.name=Pt.xml.name||Qs.name),(0,x.default)(Pt.anyOf))ps=(0,le.default)(tl=Pt.anyOf).call(tl,function(Wi){return ur(Nn(Pt,Wi,Yr),Yr,void 0,Di)});else if((0,x.default)(Pt.oneOf)){var vu;ps=(0,le.default)(vu=Pt.oneOf).call(vu,function(Wi){return ur(Nn(Pt,Wi,Yr),Yr,void 0,Di)})}else{if(!(!Di||Di&&Qs.wrapped))return ur(Pt,Yr,void 0,Di);ps=[ur(Pt,Yr,void 0,Di)]}return ps=Gf(ps),Di&&Qs.wrapped?(Zo[Bo]=ps,(0,ke.default)(Ao)||Zo[Bo].push({_attr:Ao}),Zo):ps}if(In&&(0,x.default)(In.enum))Qu=(0,we.AF)(In.enum)[0];else{if(!In)return;if("number"==typeof(Qu=bt(In))){var sr=In.minimum;null!=sr&&(In.exclusiveMinimum&&sr++,Qu=sr);var Bi=In.maximum;null!=Bi&&(In.exclusiveMaximum&&Bi--,Qu=Bi)}if("string"==typeof Qu&&(null!=In.maxLength&&(Qu=(0,Q.default)(Qu).call(Qu,0,In.maxLength)),null!=In.minLength))for(var cs=0;Qu.length<In.minLength;)Qu+=Qu[cs++%Qu.length]}if("file"!==Ii)return Di?(Zo[Bo]=(0,ke.default)(Ao)?Qu:[{_attr:Ao},Qu],Zo):Qu},Hr=function(ur){return ur.schema&&(ur=ur.schema),ur.properties&&(ur.type="object"),ur},Vr=function(ur,In,Yr){var Qi=zr(ur,In,Yr,!0);if(Qi)return"string"==typeof Qi?Qi:$e()(Qi,{declaration:!0,indent:"\t"})},qr=function(ur,In,Yr){return zr(ur,In,Yr,!1)},On=function(ur,In,Yr){return[ur,(0,me.default)(In),(0,me.default)(Yr)]},Jn=(0,G.Z)(Vr,On),Qn=(0,G.Z)(qr,On)},8883:(n,s,t)=>{t.r(s),t.d(s,{default:()=>l});var o=t(2473);function l(){return{fn:o}}},1737:(n,s,t)=>{t.r(s),t.d(s,{CLEAR_REQUEST:()=>bn,CLEAR_RESPONSE:()=>Bn,CLEAR_VALIDATE_PARAMS:()=>Xr,LOG_REQUEST:()=>Wr,SET_MUTATED_REQUEST:()=>ji,SET_REQUEST:()=>Di,SET_RESPONSE:()=>Qi,SET_SCHEME:()=>Ao,UPDATE_EMPTY_PARAM_INCLUSION:()=>In,UPDATE_JSON:()=>Qn,UPDATE_OPERATION_META_VALUE:()=>Ni,UPDATE_PARAM:()=>ur,UPDATE_RESOLVED:()=>Xi,UPDATE_RESOLVED_SUBTREE:()=>Bo,UPDATE_SPEC:()=>On,UPDATE_URL:()=>Jn,VALIDATE_PARAMS:()=>Yr,changeConsumesValue:()=>Qu,changeParam:()=>Gr,changeParamByIdentity:()=>Fi,changeProducesValue:()=>Gf,clearRequest:()=>$c,clearResponse:()=>zl,clearValidateParams:()=>Zl,execute:()=>kh,executeRequest:()=>ih,invalidateResolvedSubtreeCache:()=>Zo,logRequest:()=>Lh,parseToJson:()=>bo,requestResolvedSubtree:()=>wr,resolveSpec:()=>Pt,setMutatedRequest:()=>gp,setRequest:()=>Vc,setResponse:()=>wl,setScheme:()=>Fp,updateEmptyParamInclusion:()=>gl,updateJsonSpec:()=>uo,updateResolved:()=>Qs,updateResolvedSubtree:()=>Ws,updateSpec:()=>zs,updateUrl:()=>Ii,validateParams:()=>ol});var o=t(1013),l=t(302);const _=(t.d(mr={},{default:()=>pN}),mr);var mr,C=t(1581);const x=(zi=>{var mr={};return t.d(mr,zi),mr})({default:()=>_N()});var N=t(4163),V=t(2565),Q=t(3978),oe=t.n(Q),le=t(6785),me=t(7930);const ye=(zi=>{var mr={};return t.d(mr,zi),mr})({default:()=>gN()});var $e=t(6145),Ne=t(374),ke=t(8818),we=t(29),G=t(5171),Dt=t(2740),bt=t(7512);const Bt=(zi=>{var mr={};return t.d(mr,zi),mr})({default:()=>yN()});var Jt=t(626),Mn=t(9725),zt=t(8900),xn=t(8518);const Nn=(zi=>{var mr={};return t.d(mr,zi),mr})({default:()=>bN()}),zr=(zi=>{var mr={};return t.d(mr,zi),mr})({default:()=>TN()}),Hr=(zi=>{var mr={};return t.d(mr,zi),mr})({default:()=>MN()});var Vr=t(6298),qr=["path","method"],On="spec_update_spec",Jn="spec_update_url",Qn="spec_update_json",ur="spec_update_param",In="spec_update_empty_param_inclusion",Yr="spec_validate_param",Qi="spec_set_response",Di="spec_set_request",ji="spec_set_mutated_request",Wr="spec_log_request",Bn="spec_clear_response",bn="spec_clear_request",Xr="spec_clear_validate_param",Ni="spec_update_operation_meta_value",Xi="spec_update_resolved",Bo="spec_update_resolved_subtree",Ao="set_scheme";function zs(zi){var mr,Mi=(mr=zi,(0,Nn.default)(mr)?mr:"").replace(/\t/g,"  ");if("string"==typeof zi)return{type:On,payload:Mi}}function Qs(zi){return{type:Xi,payload:zi}}function Ii(zi){return{type:Jn,payload:zi}}function uo(zi){return{type:Qn,payload:zi}}var bo=function(zi){return function(mr){var Mi=mr.specActions,No=mr.errActions,qo=mr.specSelectors.specStr,os=null;try{zi=zi||qo(),No.clear({source:"parser"}),os=Jt.default.load(zi,{schema:Jt.JSON_SCHEMA})}catch(ps){return console.error(ps),No.newSpecErr({source:"parser",level:"error",message:ps.reason,line:ps.mark&&ps.mark.line?ps.mark.line+1:void 0})}return os&&"object"===(0,C.default)(os)?Mi.updateJsonSpec(os):{}}},Qe=!1,Pt=function(zi,mr){return function(Mi){var eo=Mi.specActions,No=Mi.specSelectors,qo=Mi.errActions,os=Mi.fn,ps=os.fetch,_a=os.resolve,tl=os.AST,vu=void 0===tl?{}:tl,sr=Mi.getConfigs;Qe||(console.warn("specActions.resolveSpec is deprecated since v3.10.0 and will be removed in v4.0.0; use requestResolvedSubtree instead!"),Qe=!0);var Bi=sr(),cs=Bi.modelPropertyMacro,Wi=Bi.parameterMacro,Ds=Bi.requestInterceptor,ss=Bi.responseInterceptor;void 0===zi&&(zi=No.specJson()),void 0===mr&&(mr=No.url());var tu=vu.getLineNumberForPath?vu.getLineNumberForPath:function(){},bl=No.specStr();return _a({fetch:ps,spec:zi,baseDoc:mr,modelPropertyMacro:cs,parameterMacro:Wi,requestInterceptor:Ds,responseInterceptor:ss}).then(function(fl){var Ba=fl.spec,xa=fl.errors;if(qo.clear({type:"thrown"}),(0,N.default)(xa)&&xa.length>0){var yu=(0,V.default)(xa).call(xa,function(nu){return console.error(nu),nu.line=nu.fullPath?tu(bl,nu.fullPath):null,nu.path=nu.fullPath?nu.fullPath.join("."):null,nu.level="error",nu.type="thrown",nu.source="resolver",oe()(nu,"message",{enumerable:!0,value:nu.message}),nu});qo.newThrownErrBatch(yu)}return eo.updateResolved(Ba)})}},Rt=[],qn=(0,zr.default)((0,_.default)(x.default.mark(function zi(){var mr,Mi,eo,No,qo,os,ps,_a,tl,vu,sr,Bi,cs,Wi,Ds,ss,tu,bl;return x.default.wrap(function(fl){for(;;)switch(fl.prev=fl.next){case 0:if(mr=Rt.system){fl.next=4;break}return console.error("debResolveSubtrees: don't have a system to operate on, aborting."),fl.abrupt("return");case 4:if(Mi=mr.errActions,eo=mr.errSelectors,os=(No=mr.fn).fetch,_a=void 0===(ps=No.AST)?{}:ps,tl=mr.specSelectors,vu=mr.specActions,qo=No.resolveSubtree){fl.next=8;break}return console.error("Error: Swagger-Client did not provide a `resolveSubtree` method, doing nothing."),fl.abrupt("return");case 8:return sr=_a.getLineNumberForPath?_a.getLineNumberForPath:function(){},Bi=tl.specStr(),cs=mr.getConfigs(),Wi=cs.modelPropertyMacro,Ds=cs.parameterMacro,ss=cs.requestInterceptor,tu=cs.responseInterceptor,fl.prev=11,fl.next=14,(0,le.default)(Rt).call(Rt,function(){var Ba=(0,_.default)(x.default.mark(function xa(yu,nu){var jd,op,Pl,ff,$h,so,Em,I_,ev;return x.default.wrap(function(oh){for(;;)switch(oh.prev=oh.next){case 0:return oh.next=2,yu;case 2:return op=(jd=oh.sent).resultMap,Pl=jd.specWithCurrentSubtrees,oh.next=7,qo(Pl,nu,{baseDoc:tl.url(),modelPropertyMacro:Wi,parameterMacro:Ds,requestInterceptor:ss,responseInterceptor:tu});case 7:if($h=(ff=oh.sent).errors,so=ff.spec,eo.allErrors().size&&Mi.clearBy(function(pd){var bm;return"thrown"!==pd.get("type")||"resolver"!==pd.get("source")||!(0,me.default)(bm=pd.get("fullPath")).call(bm,function(Zm,q_){return Zm===nu[q_]||void 0===nu[q_]})}),(0,N.default)($h)&&$h.length>0&&(Em=(0,V.default)($h).call($h,function(pd){return pd.line=pd.fullPath?sr(Bi,pd.fullPath):null,pd.path=pd.fullPath?pd.fullPath.join("."):null,pd.level="error",pd.type="thrown",pd.source="resolver",oe()(pd,"message",{enumerable:!0,value:pd.message}),pd}),Mi.newThrownErrBatch(Em)),!so||!tl.isOAS3()||"components"!==nu[0]||"securitySchemes"!==nu[1]){oh.next=15;break}return oh.next=15,ye.default.all((0,V.default)(I_=(0,$e.default)(ev=(0,Ne.default)(so)).call(ev,function(pd){return"openIdConnect"===pd.type})).call(I_,function(){var pd=(0,_.default)(x.default.mark(function bm(Zm){var q_,vg;return x.default.wrap(function(Lp){for(;;)switch(Lp.prev=Lp.next){case 0:return q_={url:Zm.openIdConnectUrl,requestInterceptor:ss,responseInterceptor:tu},Lp.prev=1,Lp.next=4,os(q_);case 4:(vg=Lp.sent)instanceof Error||vg.status>=400?console.error(vg.statusText+" "+q_.url):Zm.openIdConnectData=JSON.parse(vg.text),Lp.next=11;break;case 8:Lp.prev=8,Lp.t0=Lp.catch(1),console.error(Lp.t0);case 11:case"end":return Lp.stop()}},bm,null,[[1,8]])}));return function(bm){return pd.apply(this,arguments)}}()));case 15:return(0,Hr.default)(op,nu,so),(0,Hr.default)(Pl,nu,so),oh.abrupt("return",{resultMap:op,specWithCurrentSubtrees:Pl});case 18:case"end":return oh.stop()}},xa)}));return function(xa,yu){return Ba.apply(this,arguments)}}(),ye.default.resolve({resultMap:(tl.specResolvedSubtree([])||(0,Mn.Map)()).toJS(),specWithCurrentSubtrees:tl.specJson().toJS()}));case 14:bl=fl.sent,delete Rt.system,Rt=[],fl.next=22;break;case 19:fl.prev=19,fl.t0=fl.catch(11),console.error(fl.t0);case 22:vu.updateResolvedSubtree([],bl.resultMap);case 23:case"end":return fl.stop()}},zi,null,[[11,19]])})),35),wr=function(zi){return function(mr){var Mi;(0,ke.default)(Mi=(0,V.default)(Rt).call(Rt,function(eo){return eo.join("@@")})).call(Mi,zi.join("@@"))>-1||(Rt.push(zi),Rt.system=mr,qn())}};function Gr(zi,mr,Mi,eo,No){return{type:ur,payload:{path:zi,value:eo,paramName:mr,paramIn:Mi,isXml:No}}}function Fi(zi,mr,Mi,eo){return{type:ur,payload:{path:zi,param:mr,value:Mi,isXml:eo}}}var Ws=function(zi,mr){return{type:Bo,payload:{path:zi,value:mr}}},Zo=function(){return{type:Bo,payload:{path:[],value:(0,Mn.Map)()}}},ol=function(zi,mr){return{type:Yr,payload:{pathMethod:zi,isOAS3:mr}}},gl=function(zi,mr,Mi,eo){return{type:In,payload:{pathMethod:zi,paramName:mr,paramIn:Mi,includeEmptyValue:eo}}};function Zl(zi){return{type:Xr,payload:{pathMethod:zi}}}function Qu(zi,mr){return{type:Ni,payload:{path:zi,value:mr,key:"consumes_value"}}}function Gf(zi,mr){return{type:Ni,payload:{path:zi,value:mr,key:"produces_value"}}}var wl=function(zi,mr,Mi){return{payload:{path:zi,method:mr,res:Mi},type:Qi}},Vc=function(zi,mr,Mi){return{payload:{path:zi,method:mr,req:Mi},type:Di}},gp=function(zi,mr,Mi){return{payload:{path:zi,method:mr,req:Mi},type:ji}},Lh=function(zi){return{payload:zi,type:Wr}},ih=function(zi){return function(mr){var Mi,eo,No=mr.fn,qo=mr.specActions,os=mr.specSelectors,_a=mr.oas3Selectors,tl=zi.pathName,vu=zi.method,sr=zi.operation,Bi=(0,mr.getConfigs)(),cs=Bi.requestInterceptor,Wi=Bi.responseInterceptor,Ds=sr.toJS();if(sr&&sr.get("parameters")&&(0,we.default)(Mi=(0,$e.default)(eo=sr.get("parameters")).call(eo,function(Pl){return Pl&&!0===Pl.get("allowEmptyValue")})).call(Mi,function(Pl){if(os.parameterInclusionSettingFor([tl,vu],Pl.get("name"),Pl.get("in"))){zi.parameters=zi.parameters||{};var ff=(0,Vr.cz)(Pl,zi.parameters);(!ff||ff&&0===ff.size)&&(zi.parameters[Pl.get("name")]="")}}),zi.contextUrl=(0,zt.default)(os.url()).toString(),Ds&&Ds.operationId?zi.operationId=Ds.operationId:Ds&&tl&&vu&&(zi.operationId=No.opId(Ds,tl,vu)),os.isOAS3()){var ss,tu=(0,G.default)(ss="".concat(tl,":")).call(ss,vu);zi.server=_a.selectedServer(tu)||_a.selectedServer();var bl=_a.serverVariables({server:zi.server,namespace:tu}).toJS(),fl=_a.serverVariables({server:zi.server}).toJS();zi.serverVariables=(0,Dt.default)(bl).length?bl:fl,zi.requestContentType=_a.requestContentType(tl,vu),zi.responseContentType=_a.responseContentType(tl,vu)||"*/*";var Ba,xa=_a.requestBodyValue(tl,vu),yu=_a.requestBodyInclusionSetting(tl,vu);zi.requestBody=xa&&xa.toJS?(0,$e.default)(Ba=(0,V.default)(xa).call(xa,function(Pl){return Mn.Map.isMap(Pl)?Pl.get("value"):Pl})).call(Ba,function(Pl,ff){return((0,N.default)(Pl)?0!==Pl.length:!(0,Vr.O2)(Pl))||yu.get(ff)}).toJS():xa}var nu=(0,bt.default)({},zi);nu=No.buildRequest(nu),qo.setRequest(zi.pathName,zi.method,nu);var Pl,jd=(Pl=(0,_.default)(x.default.mark(function ff($h){var so,Em;return x.default.wrap(function(I_){for(;;)switch(I_.prev=I_.next){case 0:return I_.next=2,cs.apply(void 0,[$h]);case 2:return Em=(0,bt.default)({},so=I_.sent),qo.setMutatedRequest(zi.pathName,zi.method,Em),I_.abrupt("return",so);case 6:case"end":return I_.stop()}},ff)})),function(ff){return Pl.apply(this,arguments)});zi.requestInterceptor=jd,zi.responseInterceptor=Wi;var op=(0,Bt.default)();return No.execute(zi).then(function(Pl){Pl.duration=(0,Bt.default)()-op,qo.setResponse(zi.pathName,zi.method,Pl)}).catch(function(Pl){"Failed to fetch"===Pl.message&&(Pl.name="",Pl.message='**Failed to fetch.**  \n**Possible Reasons:** \n  - CORS \n  - Network Failure \n  - URL scheme must be "http" or "https" for CORS request.'),qo.setResponse(zi.pathName,zi.method,{error:!0,err:(0,xn.serializeError)(Pl)})})}},kh=function(){var zi=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},mr=zi.path,Mi=zi.method,eo=(0,l.default)(zi,qr);return function(No){var qo=No.fn.fetch,os=No.specSelectors,ps=No.specActions,_a=os.specJsonWithResolvedSubtrees().toJS(),tl=os.operationScheme(mr,Mi),vu=os.contentTypeValues([mr,Mi]).toJS(),sr=vu.requestContentType,Bi=vu.responseContentType,cs=/xml/i.test(sr),Wi=os.parameterValues([mr,Mi],cs).toJS();return ps.executeRequest((0,o.default)((0,o.default)({},eo),{},{fetch:qo,spec:_a,pathName:mr,method:Mi,parameters:Wi,requestContentType:sr,scheme:tl,responseContentType:Bi}))}};function zl(zi,mr){return{type:Bn,payload:{path:zi,method:mr}}}function $c(zi,mr){return{type:bn,payload:{path:zi,method:mr}}}function Fp(zi,mr,Mi){return{type:Ao,payload:{scheme:zi,path:mr,method:Mi}}}},7038:(n,s,t)=>{t.r(s),t.d(s,{default:()=>x});var o=t(32),l=t(1737),_=t(3881),C=t(7508);function x(){return{statePlugins:{spec:{wrapActions:C,reducers:o.default,actions:l,selectors:_}}}}},32:(n,s,t)=>{t.r(s),t.d(s,{default:()=>$e});var o,l=t(775),_=t(2691),C=t(5171),x=t(6785),N=t(2565),V=t(7512),Q=t(9725),oe=t(6298),le=t(7504),me=t(3881),ye=t(1737);const $e=((0,l.default)(o={},ye.UPDATE_SPEC,function(Ne,ke){return"string"==typeof ke.payload?Ne.set("spec",ke.payload):Ne}),(0,l.default)(o,ye.UPDATE_URL,function(Ne,ke){return Ne.set("url",ke.payload+"")}),(0,l.default)(o,ye.UPDATE_JSON,function(Ne,ke){return Ne.set("json",(0,oe.oG)(ke.payload))}),(0,l.default)(o,ye.UPDATE_RESOLVED,function(Ne,ke){return Ne.setIn(["resolved"],(0,oe.oG)(ke.payload))}),(0,l.default)(o,ye.UPDATE_RESOLVED_SUBTREE,function(Ne,ke){var we,G=ke.payload,Dt=G.value,bt=G.path;return Ne.setIn((0,C.default)(we=["resolvedSubtrees"]).call(we,(0,_.default)(bt)),(0,oe.oG)(Dt))}),(0,l.default)(o,ye.UPDATE_PARAM,function(Ne,ke){var we,G,Dt=ke.payload,bt=Dt.path,Bt=Dt.paramName,Jt=Dt.paramIn,Mn=Dt.param,zt=Dt.value,xn=Dt.isXml,Nn=Mn?(0,oe.V9)(Mn):(0,C.default)(we="".concat(Jt,".")).call(we,Bt),zr=xn?"value_xml":"value";return Ne.setIn((0,C.default)(G=["meta","paths"]).call(G,(0,_.default)(bt),["parameters",Nn,zr]),zt)}),(0,l.default)(o,ye.UPDATE_EMPTY_PARAM_INCLUSION,function(Ne,ke){var we,G,Dt=ke.payload,bt=Dt.pathMethod,Bt=Dt.paramName,Jt=Dt.paramIn,Mn=Dt.includeEmptyValue;if(!Bt||!Jt)return console.warn("Warning: UPDATE_EMPTY_PARAM_INCLUSION could not generate a paramKey."),Ne;var zt=(0,C.default)(we="".concat(Jt,".")).call(we,Bt);return Ne.setIn((0,C.default)(G=["meta","paths"]).call(G,(0,_.default)(bt),["parameter_inclusions",zt]),Mn)}),(0,l.default)(o,ye.VALIDATE_PARAMS,function(Ne,ke){var we,G,Dt=ke.payload,bt=Dt.pathMethod,Bt=Dt.isOAS3,Jt=(0,me.specJsonWithResolvedSubtrees)(Ne).getIn((0,C.default)(we=["paths"]).call(we,(0,_.default)(bt))),Mn=(0,me.parameterValues)(Ne,bt).toJS();return Ne.updateIn((0,C.default)(G=["meta","paths"]).call(G,(0,_.default)(bt),["parameters"]),(0,Q.fromJS)({}),function(zt){var xn;return(0,x.default)(xn=Jt.get("parameters",(0,Q.List)())).call(xn,function(Nn,zr){var Hr=(0,oe.cz)(zr,Mn),Vr=(0,me.parameterInclusionSettingFor)(Ne,bt,zr.get("name"),zr.get("in")),qr=(0,oe.Ik)(zr,Hr,{bypassRequiredCheck:Vr,isOAS3:Bt});return Nn.setIn([(0,oe.V9)(zr),"errors"],(0,Q.fromJS)(qr))},zt)})}),(0,l.default)(o,ye.CLEAR_VALIDATE_PARAMS,function(Ne,ke){var we,G=ke.payload.pathMethod;return Ne.updateIn((0,C.default)(we=["meta","paths"]).call(we,(0,_.default)(G),["parameters"]),(0,Q.fromJS)([]),function(Dt){return(0,N.default)(Dt).call(Dt,function(bt){return bt.set("errors",(0,Q.fromJS)([]))})})}),(0,l.default)(o,ye.SET_RESPONSE,function(Ne,ke){var we,G=ke.payload,Dt=G.res,bt=G.path,Bt=G.method;(we=Dt.error?(0,V.default)({error:!0,name:Dt.err.name,message:Dt.err.message,statusCode:Dt.err.statusCode},Dt.err.response):Dt).headers=we.headers||{};var Jt=Ne.setIn(["responses",bt,Bt],(0,oe.oG)(we));return le.Z.Blob&&Dt.data instanceof le.Z.Blob&&(Jt=Jt.setIn(["responses",bt,Bt,"text"],Dt.data)),Jt}),(0,l.default)(o,ye.SET_REQUEST,function(Ne,ke){var we=ke.payload;return Ne.setIn(["requests",we.path,we.method],(0,oe.oG)(we.req))}),(0,l.default)(o,ye.SET_MUTATED_REQUEST,function(Ne,ke){var we=ke.payload;return Ne.setIn(["mutatedRequests",we.path,we.method],(0,oe.oG)(we.req))}),(0,l.default)(o,ye.UPDATE_OPERATION_META_VALUE,function(Ne,ke){var we,G,Dt,bt,Bt,Jt,Mn=ke.payload,zt=Mn.path,xn=Mn.value,Nn=Mn.key,zr=(0,C.default)(we=["paths"]).call(we,(0,_.default)(zt)),Hr=(0,C.default)(G=["meta","paths"]).call(G,(0,_.default)(zt));return Ne.getIn((0,C.default)(Dt=["json"]).call(Dt,(0,_.default)(zr)))||Ne.getIn((0,C.default)(bt=["resolved"]).call(bt,(0,_.default)(zr)))||Ne.getIn((0,C.default)(Bt=["resolvedSubtrees"]).call(Bt,(0,_.default)(zr)))?Ne.setIn((0,C.default)(Jt=[]).call(Jt,(0,_.default)(Hr),[Nn]),(0,Q.fromJS)(xn)):Ne}),(0,l.default)(o,ye.CLEAR_RESPONSE,function(Ne,ke){var we=ke.payload;return Ne.deleteIn(["responses",we.path,we.method])}),(0,l.default)(o,ye.CLEAR_REQUEST,function(Ne,ke){var we=ke.payload;return Ne.deleteIn(["requests",we.path,we.method])}),(0,l.default)(o,ye.SET_SCHEME,function(Ne,ke){var we=ke.payload,G=we.scheme,Dt=we.path,bt=we.method;return Dt&&bt?Ne.setIn(["scheme",Dt,bt],G):Dt||bt?void 0:Ne.setIn(["scheme","_defaultScheme"],G)}),o)},3881:(n,s,t)=>{t.r(s),t.d(s,{lastError:()=>bt,url:()=>Bt,specStr:()=>Jt,specSource:()=>Mn,specJson:()=>zt,specResolved:()=>xn,specResolvedSubtree:()=>Nn,specJsonWithResolvedSubtrees:()=>Hr,spec:()=>Vr,isOAS3:()=>qr,info:()=>On,externalDocs:()=>Jn,version:()=>Qn,semver:()=>ur,paths:()=>In,operations:()=>Yr,consumes:()=>Qi,produces:()=>Di,security:()=>ji,securityDefinitions:()=>Wr,findDefinition:()=>Bn,definitions:()=>bn,basePath:()=>Xr,host:()=>Ni,schemes:()=>Xi,operationsWithRootInherited:()=>Bo,tags:()=>Ao,tagDetails:()=>zs,operationsWithTags:()=>Qs,taggedOperations:()=>Ii,responses:()=>uo,requests:()=>bo,mutatedRequests:()=>Qe,responseFor:()=>Pt,requestFor:()=>Rt,mutatedRequestFor:()=>qn,allowTryItOutFor:()=>wr,parameterWithMetaByIdentity:()=>Gr,parameterInclusionSettingFor:()=>Fi,parameterWithMeta:()=>Ws,operationWithMeta:()=>Zo,getParameter:()=>ol,hasHost:()=>gl,parameterValues:()=>Zl,parametersIncludeIn:()=>Qu,parametersIncludeType:()=>Gf,contentTypeValues:()=>wl,currentProducesFor:()=>Vc,producesOptionsFor:()=>gp,consumesOptionsFor:()=>Lh,operationScheme:()=>ih,canExecuteScheme:()=>kh,validateBeforeExecute:()=>zl,getOAS3RequiredRequestBodyContentType:()=>$c,isMediaTypeSchemaPropertiesEqual:()=>Fp});var o=t(9334),l=t(2691),_=t(5171),C=t(8136),x=t(29),N=t(8818),V=t(2565),Q=t(6145),oe=t(1778),le=t(6785),me=t(4350),ye=t(9963),$e=t(4163),Ne=t(8639),ke=t(6298),we=t(9725),G=["get","put","post","delete","options","head","patch","trace"],Dt=function(mr){return mr||(0,we.Map)()},bt=(0,Ne.createSelector)(Dt,function(mr){return mr.get("lastError")}),Bt=(0,Ne.createSelector)(Dt,function(mr){return mr.get("url")}),Jt=(0,Ne.createSelector)(Dt,function(mr){return mr.get("spec")||""}),Mn=(0,Ne.createSelector)(Dt,function(mr){return mr.get("specSource")||"not-editor"}),zt=(0,Ne.createSelector)(Dt,function(mr){return mr.get("json",(0,we.Map)())}),xn=(0,Ne.createSelector)(Dt,function(mr){return mr.get("resolved",(0,we.Map)())}),Nn=function(mr,Mi){var eo;return mr.getIn((0,_.default)(eo=["resolvedSubtrees"]).call(eo,(0,l.default)(Mi)),void 0)},zr=function mr(Mi,eo){return we.Map.isMap(Mi)&&we.Map.isMap(eo)?eo.get("$$ref")?eo:(0,we.OrderedMap)().mergeWith(mr,Mi,eo):eo},Hr=(0,Ne.createSelector)(Dt,function(mr){return(0,we.OrderedMap)().mergeWith(zr,mr.get("json"),mr.get("resolvedSubtrees"))}),Vr=function(mr){return zt(mr)},qr=(0,Ne.createSelector)(Vr,function(){return!1}),On=(0,Ne.createSelector)(Vr,function(mr){return zi(mr&&mr.get("info"))}),Jn=(0,Ne.createSelector)(Vr,function(mr){return zi(mr&&mr.get("externalDocs"))}),Qn=(0,Ne.createSelector)(On,function(mr){return mr&&mr.get("version")}),ur=(0,Ne.createSelector)(Qn,function(mr){var Mi;return(0,C.default)(Mi=/v?([0-9]*)\.([0-9]*)\.([0-9]*)/i.exec(mr)).call(Mi,1)}),In=(0,Ne.createSelector)(Hr,function(mr){return mr.get("paths")}),Yr=(0,Ne.createSelector)(In,function(mr){if(!mr||mr.size<1)return(0,we.List)();var Mi=(0,we.List)();return mr&&(0,x.default)(mr)?((0,x.default)(mr).call(mr,function(eo,No){if(!eo||!(0,x.default)(eo))return{};(0,x.default)(eo).call(eo,function(qo,os){var ps;(0,N.default)(G).call(G,os)<0||(Mi=Mi.push((0,we.fromJS)({path:No,method:os,operation:qo,id:(0,_.default)(ps="".concat(os,"-")).call(ps,No)})))})}),Mi):(0,we.List)()}),Qi=(0,Ne.createSelector)(Vr,function(mr){return(0,we.Set)(mr.get("consumes"))}),Di=(0,Ne.createSelector)(Vr,function(mr){return(0,we.Set)(mr.get("produces"))}),ji=(0,Ne.createSelector)(Vr,function(mr){return mr.get("security",(0,we.List)())}),Wr=(0,Ne.createSelector)(Vr,function(mr){return mr.get("securityDefinitions")}),Bn=function(mr,Mi){var eo=mr.getIn(["resolvedSubtrees","definitions",Mi],null),No=mr.getIn(["json","definitions",Mi],null);return eo||No||null},bn=(0,Ne.createSelector)(Vr,function(mr){var Mi=mr.get("definitions");return we.Map.isMap(Mi)?Mi:(0,we.Map)()}),Xr=(0,Ne.createSelector)(Vr,function(mr){return mr.get("basePath")}),Ni=(0,Ne.createSelector)(Vr,function(mr){return mr.get("host")}),Xi=(0,Ne.createSelector)(Vr,function(mr){return mr.get("schemes",(0,we.Map)())}),Bo=(0,Ne.createSelector)(Yr,Qi,Di,function(mr,Mi,eo){return(0,V.default)(mr).call(mr,function(No){return No.update("operation",function(qo){return qo?we.Map.isMap(qo)?qo.withMutations(function(os){return os.get("consumes")||os.update("consumes",function(ps){return(0,we.Set)(ps).merge(Mi)}),os.get("produces")||os.update("produces",function(ps){return(0,we.Set)(ps).merge(eo)}),os}):void 0:(0,we.Map)()})})}),Ao=(0,Ne.createSelector)(Vr,function(mr){var Mi=mr.get("tags",(0,we.List)());return we.List.isList(Mi)?(0,Q.default)(Mi).call(Mi,function(eo){return we.Map.isMap(eo)}):(0,we.List)()}),zs=function(mr,Mi){var eo,No=Ao(mr)||(0,we.List)();return(0,oe.default)(eo=(0,Q.default)(No).call(No,we.Map.isMap)).call(eo,function(qo){return qo.get("name")===Mi},(0,we.Map)())},Qs=(0,Ne.createSelector)(Bo,Ao,function(mr,Mi){return(0,le.default)(mr).call(mr,function(eo,No){var qo=(0,we.Set)(No.getIn(["operation","tags"]));return qo.count()<1?eo.update("default",(0,we.List)(),function(os){return os.push(No)}):(0,le.default)(qo).call(qo,function(os,ps){return os.update(ps,(0,we.List)(),function(_a){return _a.push(No)})},eo)},(0,le.default)(Mi).call(Mi,function(eo,No){return eo.set(No.get("name"),(0,we.List)())},(0,we.OrderedMap)()))}),Ii=function(mr){return function(Mi){var eo,No=(0,Mi.getConfigs)(),qo=No.tagsSorter,os=No.operationsSorter;return(0,V.default)(eo=Qs(mr).sortBy(function(ps,_a){return _a},function(ps,_a){var tl="function"==typeof qo?qo:ke.wh.tagsSorter[qo];return tl?tl(ps,_a):null})).call(eo,function(ps,_a){var tl="function"==typeof os?os:ke.wh.operationsSorter[os],vu=tl?(0,me.default)(ps).call(ps,tl):ps;return(0,we.Map)({tagDetails:zs(mr,_a),operations:vu})})}},uo=(0,Ne.createSelector)(Dt,function(mr){return mr.get("responses",(0,we.Map)())}),bo=(0,Ne.createSelector)(Dt,function(mr){return mr.get("requests",(0,we.Map)())}),Qe=(0,Ne.createSelector)(Dt,function(mr){return mr.get("mutatedRequests",(0,we.Map)())}),Pt=function(mr,Mi,eo){return uo(mr).getIn([Mi,eo],null)},Rt=function(mr,Mi,eo){return bo(mr).getIn([Mi,eo],null)},qn=function(mr,Mi,eo){return Qe(mr).getIn([Mi,eo],null)},wr=function(){return!0},Gr=function(mr,Mi,eo){var No,qo,os=Hr(mr).getIn((0,_.default)(No=["paths"]).call(No,(0,l.default)(Mi),["parameters"]),(0,we.OrderedMap)()),ps=mr.getIn((0,_.default)(qo=["meta","paths"]).call(qo,(0,l.default)(Mi),["parameters"]),(0,we.OrderedMap)()),_a=(0,V.default)(os).call(os,function(tl){var vu,sr,Bi,cs=ps.get((0,_.default)(vu="".concat(eo.get("in"),".")).call(vu,eo.get("name"))),Wi=ps.get((0,_.default)(sr=(0,_.default)(Bi="".concat(eo.get("in"),".")).call(Bi,eo.get("name"),".hash-")).call(sr,eo.hashCode()));return(0,we.OrderedMap)().merge(tl,cs,Wi)});return(0,oe.default)(_a).call(_a,function(tl){return tl.get("in")===eo.get("in")&&tl.get("name")===eo.get("name")},(0,we.OrderedMap)())},Fi=function(mr,Mi,eo,No){var qo,os,ps=(0,_.default)(qo="".concat(No,".")).call(qo,eo);return mr.getIn((0,_.default)(os=["meta","paths"]).call(os,(0,l.default)(Mi),["parameter_inclusions",ps]),!1)},Ws=function(mr,Mi,eo,No){var qo,os=Hr(mr).getIn((0,_.default)(qo=["paths"]).call(qo,(0,l.default)(Mi),["parameters"]),(0,we.OrderedMap)()),ps=(0,oe.default)(os).call(os,function(_a){return _a.get("in")===No&&_a.get("name")===eo},(0,we.OrderedMap)());return Gr(mr,Mi,ps)},Zo=function(mr,Mi,eo){var No,qo=Hr(mr).getIn(["paths",Mi,eo],(0,we.OrderedMap)()),os=mr.getIn(["meta","paths",Mi,eo],(0,we.OrderedMap)()),ps=(0,V.default)(No=qo.get("parameters",(0,we.List)())).call(No,function(_a){return Gr(mr,[Mi,eo],_a)});return(0,we.OrderedMap)().merge(qo,os).set("parameters",ps)};function ol(mr,Mi,eo,No){var qo;Mi=Mi||[];var os=mr.getIn((0,_.default)(qo=["meta","paths"]).call(qo,(0,l.default)(Mi),["parameters"]),(0,we.fromJS)([]));return(0,oe.default)(os).call(os,function(ps){return we.Map.isMap(ps)&&ps.get("name")===eo&&ps.get("in")===No})||(0,we.Map)()}var gl=(0,Ne.createSelector)(Vr,function(mr){var Mi=mr.get("host");return"string"==typeof Mi&&Mi.length>0&&"/"!==Mi[0]});function Zl(mr,Mi,eo){var No;Mi=Mi||[];var qo=Zo.apply(void 0,(0,_.default)(No=[mr]).call(No,(0,l.default)(Mi))).get("parameters",(0,we.List)());return(0,le.default)(qo).call(qo,function(os,ps){var _a=eo&&"body"===ps.get("in")?ps.get("value_xml"):ps.get("value");return os.set((0,ke.V9)(ps,{allowHashes:!1}),_a)},(0,we.fromJS)({}))}function Qu(mr){var Mi=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(we.List.isList(mr))return(0,ye.default)(mr).call(mr,function(eo){return we.Map.isMap(eo)&&eo.get("in")===Mi})}function Gf(mr){var Mi=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(we.List.isList(mr))return(0,ye.default)(mr).call(mr,function(eo){return we.Map.isMap(eo)&&eo.get("type")===Mi})}function wl(mr,Mi){var eo,No;Mi=Mi||[];var qo=Hr(mr).getIn((0,_.default)(eo=["paths"]).call(eo,(0,l.default)(Mi)),(0,we.fromJS)({})),os=mr.getIn((0,_.default)(No=["meta","paths"]).call(No,(0,l.default)(Mi)),(0,we.fromJS)({})),ps=Vc(mr,Mi),_a=qo.get("parameters")||new we.List,tl=os.get("consumes_value")?os.get("consumes_value"):Gf(_a,"file")?"multipart/form-data":Gf(_a,"formData")?"application/x-www-form-urlencoded":void 0;return(0,we.fromJS)({requestContentType:tl,responseContentType:ps})}function Vc(mr,Mi){var eo,No;Mi=Mi||[];var qo=Hr(mr).getIn((0,_.default)(eo=["paths"]).call(eo,(0,l.default)(Mi)),null);if(null!==qo){var os=mr.getIn((0,_.default)(No=["meta","paths"]).call(No,(0,l.default)(Mi),["produces_value"]),null),ps=qo.getIn(["produces",0],null);return os||ps||"application/json"}}function gp(mr,Mi){var eo;Mi=Mi||[];var No=Hr(mr),qo=No.getIn((0,_.default)(eo=["paths"]).call(eo,(0,l.default)(Mi)),null);if(null!==qo){var ps=(0,o.default)(Mi,1)[0],_a=qo.get("produces",null),tl=No.getIn(["paths",ps,"produces"],null),vu=No.getIn(["produces"],null);return _a||tl||vu}}function Lh(mr,Mi){var eo;Mi=Mi||[];var No=Hr(mr),qo=No.getIn((0,_.default)(eo=["paths"]).call(eo,(0,l.default)(Mi)),null);if(null!==qo){var ps=(0,o.default)(Mi,1)[0],_a=qo.get("consumes",null),tl=No.getIn(["paths",ps,"consumes"],null),vu=No.getIn(["consumes"],null);return _a||tl||vu}}var ih=function(mr,Mi,eo){var No=mr.get("url").match(/^([a-z][a-z0-9+\-.]*):/),qo=(0,$e.default)(No)?No[1]:null;return mr.getIn(["scheme",Mi,eo])||mr.getIn(["scheme","_defaultScheme"])||qo||""},kh=function(mr,Mi,eo){var No;return(0,N.default)(No=["http","https"]).call(No,ih(mr,Mi,eo))>-1},zl=function(mr,Mi){var eo;Mi=Mi||[];var No=mr.getIn((0,_.default)(eo=["meta","paths"]).call(eo,(0,l.default)(Mi),["parameters"]),(0,we.fromJS)([])),qo=!0;return(0,x.default)(No).call(No,function(os){var ps=os.get("errors");ps&&ps.count()&&(qo=!1)}),qo},$c=function(mr,Mi){var eo,No,qo={requestBody:!1,requestContentType:{}},os=mr.getIn((0,_.default)(eo=["resolvedSubtrees","paths"]).call(eo,(0,l.default)(Mi),["requestBody"]),(0,we.fromJS)([]));return os.size<1||(os.getIn(["required"])&&(qo.requestBody=os.getIn(["required"])),(0,x.default)(No=os.getIn(["content"]).entrySeq()).call(No,function(ps){var _a=ps[0];if(ps[1].getIn(["schema","required"])){var tl=ps[1].getIn(["schema","required"]).toJS();qo.requestContentType[_a]=tl}})),qo},Fp=function(mr,Mi,eo,No){var qo;if((eo||No)&&eo===No)return!0;var os=mr.getIn((0,_.default)(qo=["resolvedSubtrees","paths"]).call(qo,(0,l.default)(Mi),["requestBody","content"]),(0,we.fromJS)([]));if(os.size<2||!eo||!No)return!1;var ps=os.getIn([eo,"schema","properties"],(0,we.fromJS)([])),_a=os.getIn([No,"schema","properties"],(0,we.fromJS)([]));return!!ps.equals(_a)};function zi(mr){return we.Map.isMap(mr)?mr:new we.Map}},7508:(n,s,t)=>{t.r(s),t.d(s,{updateSpec:()=>C,updateJsonSpec:()=>x,executeRequest:()=>N,validateParams:()=>V});var o=t(2740),l=t(29),_=t(9908),C=function(Q,oe){var le=oe.specActions;return function(){Q.apply(void 0,arguments),le.parseToJson.apply(le,arguments)}},x=function(Q,oe){var le=oe.specActions;return function(){for(var me=arguments.length,ye=new Array(me),$e=0;$e<me;$e++)ye[$e]=arguments[$e];Q.apply(void 0,ye),le.invalidateResolvedSubtreeCache();var Ne=ye[0],ke=(0,_.default)(Ne,["paths"])||{},we=(0,o.default)(ke);(0,l.default)(we).call(we,function(G){(0,_.default)(ke,[G]).$ref&&le.requestResolvedSubtree(["paths",G])}),le.requestResolvedSubtree(["components","securitySchemes"])}},N=function(Q,oe){var le=oe.specActions;return function(me){return le.logRequest(me),Q(me)}},V=function(Q,oe){var le=oe.specSelectors;return function(me){return Q(me,le.isOAS3())}}},4852:(n,s,t)=>{t.r(s),t.d(s,{loaded:()=>o});var o=function(l,_){return function(){l.apply(void 0,arguments);var C=_.getConfigs().withCredentials;void 0!==C&&(_.fn.fetch.withCredentials="string"==typeof C?"true"===C:!!C)}}},2990:(n,s,t)=>{t.r(s),t.d(s,{default:()=>Q});var o=t(5171);const l=(t.d(le={},{default:()=>Pw}),le),_=(oe=>{var le={};return t.d(le,oe),le})({buildRequest:()=>Hw,execute:()=>V4}),C=(oe=>{var le={};return t.d(le,oe),le})({default:()=>pA,makeHttp:()=>dI,serializeRes:()=>WR}),x=(oe=>{var le={};return t.d(le,oe),le})({default:()=>K4});var le,N=t(5013),V=t(4852);function Q(oe){var le=oe.configs,me=oe.getConfigs;return{fn:{fetch:(0,C.makeHttp)(C.default,le.preFetch,le.postFetch),buildRequest:_.buildRequest,execute:_.execute,resolve:l.default,resolveSubtree:function(ye,$e,Ne){var ke;if(void 0===Ne){var we=me();Ne={modelPropertyMacro:we.modelPropertyMacro,parameterMacro:we.parameterMacro,requestInterceptor:we.requestInterceptor,responseInterceptor:we.responseInterceptor}}for(var G=arguments.length,Dt=new Array(G>3?G-3:0),bt=3;bt<G;bt++)Dt[bt-3]=arguments[bt];return x.default.apply(void 0,(0,o.default)(ke=[ye,$e,Ne]).call(ke,Dt))},serializeRes:C.serializeRes,opId:N.opId},statePlugins:{configs:{wrapActions:{loaded:V.loaded}}}}}},8525:(n,s,t)=>{t.r(s),t.d(s,{default:()=>l});var o=t(6298);function l(){return{fn:{shallowEqualKeys:o.be}}}},8347:(n,s,t)=>{t.r(s),t.d(s,{getDisplayName:()=>o});var o=function(l){return l.displayName||l.name||"Component"}},3420:(n,s,t)=>{t.r(s),t.d(s,{default:()=>N});var o=t(313),l=t(6298),_=t(5005),C=t(8347),x=t(8287);const N=function(V){var Q,Ne,oe=V.getComponents,le=V.getStore,me=V.getSystem,ye=(Q=(0,_.getComponent)(me,le,oe),(0,l.HP)(Q,function(){for(var Ne=arguments.length,ke=new Array(Ne),we=0;we<Ne;we++)ke[we]=arguments[we];return(0,o.default)(ke)})),$e=(Ne=(0,_.withMappedContainer)(me,le,ye),(0,x.Z)(Ne,function(){for(var ke=arguments.length,we=new Array(ke),G=0;G<ke;G++)we[G]=arguments[G];return we}));return{rootInjects:{getComponent:ye,makeMappedContainer:$e,render:(0,_.render)(me,le,_.getComponent,oe)},fn:{getDisplayName:C.getDisplayName}}}},5005:(n,s,t)=>{t.r(s),t.d(s,{getComponent:()=>bt,render:()=>Dt,withMappedContainer:()=>G});var o=t(1581),l=t(1013),_=t(863),C=t(7344),x=t(8656),N=t(9972),V=t(5416),Q=t(2740),oe=t(810);const le=(t.d(Jt={},{default:()=>Bw}),Jt);var Jt,me=t(9871);const ye=(Bt=>{var Jt={};return t.d(Jt,Bt),Jt})({Provider:()=>i5,connect:()=>L5}),$e=(Bt=>{var Jt={};return t.d(Jt,Bt),Jt})({default:()=>B5()}),Ne=(Bt=>{var Jt={};return t.d(Jt,Bt),Jt})({default:()=>Y5()});var ke=function(Bt,Jt,Mn){return(0,me.compose)(Mn?(zt=Bt,xn=Mn,function(Nn){var zr=zt().fn,Hr=function(Vr){(0,N.default)(On,Vr);var qr=(0,V.default)(On);function On(){return(0,C.default)(this,On),qr.apply(this,arguments)}return(0,x.default)(On,[{key:"render",value:function(){return oe.default.createElement(ye.Provider,{store:xn},oe.default.createElement(Nn,(0,_.default)({},this.props,this.context)))}}]),On}(oe.Component);return Hr.displayName="WithRoot(".concat(zr.getDisplayName(Nn),")"),Hr}):Ne.default,(0,ye.connect)(function(zt,xn){var Nn,zr=(0,l.default)((0,l.default)({},xn),Bt());return((null===(Nn=Jt.prototype)||void 0===Nn?void 0:Nn.mapStateToProps)||function(Vr){return{state:Vr}})(zt,zr)}),function(zt){return function(xn){var Nn=zt().fn,zr=function(Hr){(0,N.default)(qr,Hr);var Vr=(0,V.default)(qr);function qr(){return(0,C.default)(this,qr),Vr.apply(this,arguments)}return(0,x.default)(qr,[{key:"render",value:function(){return oe.default.createElement(xn,(0,_.default)({},zt(),this.props,this.context))}}]),qr}(oe.Component);return zr.displayName="WithSystem(".concat(Nn.getDisplayName(xn),")"),zr}}(Bt))(Jt);var zt,xn},we=function(Bt,Jt,Mn,zt){for(var xn in Jt){var Nn=Jt[xn];"function"==typeof Nn&&Nn(Mn[xn],zt[xn],Bt())}},G=function(Bt,Jt,Mn){return function(zt,xn){var Nn=Bt().fn,zr=Mn(zt,"root"),Hr=function(Vr){(0,N.default)(On,Vr);var qr=(0,V.default)(On);function On(Jn,Qn){var ur;return(0,C.default)(this,On),ur=qr.call(this,Jn,Qn),we(Bt,xn,Jn,{}),ur}return(0,x.default)(On,[{key:"UNSAFE_componentWillReceiveProps",value:function(Jn){we(Bt,xn,Jn,this.props)}},{key:"render",value:function(){var Jn=(0,$e.default)(this.props,xn?(0,Q.default)(xn):[]);return oe.default.createElement(zr,Jn)}}]),On}(oe.Component);return Hr.displayName="WithMappedContainer(".concat(Nn.getDisplayName(zr),")"),Hr}},Dt=function(Bt,Jt,Mn,zt){return function(xn){var Nn=Mn(Bt,Jt,zt)("App","root");le.default.render(oe.default.createElement(Nn,null),xn)}},bt=function(Bt,Jt,Mn){return function(zt,xn){var Nn=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"!=typeof zt)throw new TypeError("Need a string, to fetch a component. Was given a "+(0,o.default)(zt));var zr=Mn(zt);return zr?xn?"root"===xn?ke(Bt,zr,Jt()):ke(Bt,zr):zr:(Nn.failSilently||Bt().log.warn("Could not find component:",zt),null)}}},471:(n,s,t)=>{t.d(s,{d3:()=>_.default,C2:()=>bt});var o=t(2740),l=t(2372);const _=(t.d(Jt={},{default:()=>fF}),Jt),C=(Bt=>{var Jt={};return t.d(Jt,Bt),Jt})({default:()=>_F}),x=(Bt=>{var Jt={};return t.d(Jt,Bt),Jt})({default:()=>vF}),N=(Bt=>{var Jt={};return t.d(Jt,Bt),Jt})({default:()=>bF}),V=(Bt=>{var Jt={};return t.d(Jt,Bt),Jt})({default:()=>CF}),Q=(Bt=>{var Jt={};return t.d(Jt,Bt),Jt})({default:()=>AF}),oe=(Bt=>{var Jt={};return t.d(Jt,Bt),Jt})({default:()=>RF}),le=(Bt=>{var Jt={};return t.d(Jt,Bt),Jt})({default:()=>NF}),me=(Bt=>{var Jt={};return t.d(Jt,Bt),Jt})({default:()=>IF}),ye=(Bt=>{var Jt={};return t.d(Jt,Bt),Jt})({default:()=>FF}),$e=(Bt=>{var Jt={};return t.d(Jt,Bt),Jt})({default:()=>LF}),Ne=(Bt=>{var Jt={};return t.d(Jt,Bt),Jt})({default:()=>kF}),ke=(Bt=>{var Jt={};return t.d(Jt,Bt),Jt})({default:()=>$F}),we=(Bt=>{var Jt={};return t.d(Jt,Bt),Jt})({default:()=>HF});var Jt;_.default.registerLanguage("json",x.default),_.default.registerLanguage("js",C.default),_.default.registerLanguage("xml",N.default),_.default.registerLanguage("yaml",Q.default),_.default.registerLanguage("http",oe.default),_.default.registerLanguage("bash",V.default),_.default.registerLanguage("powershell",le.default),_.default.registerLanguage("javascript",C.default);var G={agate:me.default,arta:ye.default,monokai:$e.default,nord:Ne.default,obsidian:ke.default,"tomorrow-night":we.default},Dt=(0,o.default)(G),bt=function(Bt){return(0,l.default)(Dt).call(Dt,Bt)?G[Bt]:(console.warn("Request style '".concat(Bt,"' is not available, returning default instead")),me.default)}},6298:(n,s,t)=>{t.d(s,{r3:()=>wl,GZ:()=>gp,Xb:()=>_a,oJ:()=>$c,XV:()=>Mi,iQ:()=>Pt,J6:()=>Fp,DR:()=>qn,oG:()=>Ni,Uj:()=>ps,QG:()=>zl,po:()=>mr,nX:()=>zi,gp:()=>Rt,xi:()=>Qu,kJ:()=>Qs,O2:()=>vu,LQ:()=>Bo,Wl:()=>zs,Kn:()=>Ao,HP:()=>Ii,AF:()=>Xi,D$:()=>No,Ay:()=>uo,Q2:()=>bo,mz:()=>Xr,V9:()=>qo,cz:()=>os,UG:()=>Gf,Zl:()=>wr,hW:()=>kh,Nm:()=>ih,be:()=>Lh,wh:()=>Vc,Pz:()=>eo,_5:()=>Qe,Ik:()=>Fi});var o=t(2691),l=(t(9334),t(1581)),_=t(3248),C=t(4163),x=t(2565),N=t(2954),V=t(5171),Q=t(29),oe=t(6145),le=t(2740),me=(t(5527),t(6785)),ye=t(7512),$e=t(4350),Ne=t(8136),ke=t(9963),we=(t(2372),t(313)),G=t(8818),Dt=t(1778),bt=t(3590),Bt=t(5942),Jt=t(9725);const Mn=(t.d(Bi={},{sanitizeUrl:()=>BF.N}),Bi),zt=(sr=>{var Bi={};return t.d(Bi,sr),Bi})({default:()=>YF()}),xn=(sr=>{var Bi={};return t.d(Bi,sr),Bi})({default:()=>GF()});var Bi,Nn=t(5476);const zr=(sr=>{var Bi={};return t.d(Bi,sr),Bi})({default:()=>ZF()}),Hr=(sr=>{var Bi={};return t.d(Bi,sr),Bi})({default:()=>WF()}),Vr=(sr=>{var Bi={};return t.d(Bi,sr),Bi})({default:()=>QF()});var qr=t(7068),On=t(2473),Jn=t(7504);const Qn=(sr=>{var Bi={};return t.d(Bi,sr),Bi})({default:()=>KF()});var ur=t(9069),In=t(1798),Yr=t.n(In),Qi=t(9072),Di=t.n(Qi),ji=t(626),Wr=t(8764).Buffer,Bn="default",bn=function(sr){return Jt.default.Iterable.isIterable(sr)};function Xr(sr){return Ao(sr)?bn(sr)?sr.toJS():sr:{}}function Ni(sr){var Bi,cs;if(bn(sr)||sr instanceof Jn.Z.File||!Ao(sr))return sr;if((0,C.default)(sr))return(0,x.default)(cs=Jt.default.Seq(sr)).call(cs,Ni).toList();if((0,qr.default)((0,N.default)(sr))){var Wi,Ds=function(ss){if(!(0,qr.default)((0,N.default)(ss)))return ss;var tu,bl={},Ba={},xa=(0,_.default)((0,N.default)(ss).call(ss));try{for(xa.s();!(tu=xa.n()).done;){var nu,jd,op,Pl,yu=tu.value;bl[yu[0]]||Ba[yu[0]]&&Ba[yu[0]].containsMultiple?(Ba[yu[0]]||(Ba[yu[0]]={containsMultiple:!0,length:1},bl[(0,V.default)(op=(0,V.default)(Pl="".concat(yu[0])).call(Pl,"_**[]")).call(op,Ba[yu[0]].length)]=bl[yu[0]],delete bl[yu[0]]),Ba[yu[0]].length+=1,bl[(0,V.default)(nu=(0,V.default)(jd="".concat(yu[0])).call(jd,"_**[]")).call(nu,Ba[yu[0]].length)]=yu[1]):bl[yu[0]]=yu[1]}}catch(ff){xa.e(ff)}finally{xa.f()}return bl}(sr);return(0,x.default)(Wi=Jt.default.OrderedMap(Ds)).call(Wi,Ni)}return(0,x.default)(Bi=Jt.default.OrderedMap(sr)).call(Bi,Ni)}function Xi(sr){return(0,C.default)(sr)?sr:[sr]}function Bo(sr){return"function"==typeof sr}function Ao(sr){return!!sr&&"object"===(0,l.default)(sr)}function zs(sr){return"function"==typeof sr}function Qs(sr){return(0,C.default)(sr)}var Ii=Nn.default;function uo(sr,Bi){var cs;return(0,me.default)(cs=(0,le.default)(sr)).call(cs,function(Wi,Ds){return Wi[Ds]=Bi(sr[Ds],Ds),Wi},{})}function bo(sr,Bi){var cs;return(0,me.default)(cs=(0,le.default)(sr)).call(cs,function(Wi,Ds){var ss=Bi(sr[Ds],Ds);return ss&&"object"===(0,l.default)(ss)&&(0,ye.default)(Wi,ss),Wi},{})}function Qe(sr){return function(Bi){return function(cs){return function(Wi){return"function"==typeof Wi?Wi(sr()):cs(Wi)}}}}function Pt(sr){var Bi,cs=sr.keySeq();return cs.contains(Bn)?Bn:(0,$e.default)(Bi=(0,oe.default)(cs).call(cs,function(Wi){return"2"===(Wi+"")[0]})).call(Bi).first()}function Rt(sr,Bi){if(!Jt.default.Iterable.isIterable(sr))return Jt.default.List();var cs=sr.getIn((0,C.default)(Bi)?Bi:[Bi]);return Jt.default.List.isList(cs)?cs:Jt.default.List()}function qn(sr){var Bi,cs=[/filename\*=[^']+'\w*'"([^"]+)";?/i,/filename\*=[^']+'\w*'([^;]+);?/i,/filename="([^;]*);?"/i,/filename=([^;]*);?/i];if((0,ke.default)(cs).call(cs,function(Wi){return null!==(Bi=Wi.exec(sr))}),null!==Bi&&Bi.length>1)try{return decodeURIComponent(Bi[1])}catch(Wi){console.error(Wi)}return null}function wr(sr){return Bi=sr.replace(/\.[^./]*$/,""),(0,xn.default)((0,zt.default)(Bi));var Bi}function Gr(sr,Bi,cs,Wi,Ds){if(!Bi)return[];var ss=[],tu=Bi.get("nullable"),bl=Bi.get("required"),fl=Bi.get("maximum"),Ba=Bi.get("minimum"),xa=Bi.get("type"),yu=Bi.get("format"),nu=Bi.get("maxLength"),jd=Bi.get("minLength"),op=Bi.get("uniqueItems"),Pl=Bi.get("maxItems"),ff=Bi.get("minItems"),$h=Bi.get("pattern"),so=cs||!0===bl,Em=null!=sr;if(tu&&null===sr||!xa||!(so||Em&&"array"===xa||so||Em))return[];var I_="string"===xa&&sr,ev="array"===xa&&(0,C.default)(sr)&&sr.length,oh="array"===xa&&Jt.default.List.isList(sr)&&sr.count(),pd=[I_,ev,oh,"array"===xa&&"string"==typeof sr&&sr,"file"===xa&&sr instanceof Jn.Z.File,"boolean"===xa&&(sr||!1===sr),"number"===xa&&(sr||0===sr),"integer"===xa&&(sr||0===sr),"object"===xa&&"object"===(0,l.default)(sr)&&null!==sr,"object"===xa&&"string"==typeof sr&&sr],bm=(0,ke.default)(pd).call(pd,function(Qa){return!!Qa});if(so&&!bm&&!Wi)return ss.push("Required field is not provided"),ss;if("object"===xa&&(null===Ds||"application/json"===Ds)){var Zm,q_=sr;if("string"==typeof sr)try{q_=JSON.parse(sr)}catch(Qa){return ss.push("Parameter string value must be valid JSON"),ss}Bi&&Bi.has("required")&&zs(bl.isList)&&bl.isList()&&(0,Q.default)(bl).call(bl,function(Qa){void 0===q_[Qa]&&ss.push({propKey:Qa,error:"Required property not found"})}),Bi&&Bi.has("properties")&&(0,Q.default)(Zm=Bi.get("properties")).call(Zm,function(Qa,Ru){var Kc=Gr(q_[Ru],Qa,!1,Wi,Ds);ss.push.apply(ss,(0,o.default)((0,x.default)(Kc).call(Kc,function(Xv){return{propKey:Ru,error:Xv}})))})}if($h){var vg=function(Qa,Ru){if(!new RegExp(Ru).test(Qa))return"Value must follow pattern "+Ru}(sr,$h);vg&&ss.push(vg)}if(ff&&"array"===xa){var Lp=function(Qa,Ru){var Kc;if(!Qa&&Ru>=1||Qa&&Qa.length<Ru)return(0,V.default)(Kc="Array must contain at least ".concat(Ru," item")).call(Kc,1===Ru?"":"s")}(sr,ff);Lp&&ss.push(Lp)}if(Pl&&"array"===xa){var bC=function(Qa,Ru){var Kc;if(Qa&&Qa.length>Ru)return(0,V.default)(Kc="Array must not contain more then ".concat(Ru," item")).call(Kc,1===Ru?"":"s")}(sr,Pl);bC&&ss.push({needRemove:!0,error:bC})}if(op&&"array"===xa){var Nd=function(Qa,Ru){if(Qa&&("true"===Ru||!0===Ru)){var Kc=(0,Jt.fromJS)(Qa),Xv=Kc.toSet();if(Qa.length>Xv.size){var tv=(0,Jt.Set)();if((0,Q.default)(Kc).call(Kc,function(Kv,kp){(0,oe.default)(Kc).call(Kc,function(nv){return zs(nv.equals)?nv.equals(Kv):nv===Kv}).size>1&&(tv=tv.add(kp))}),0!==tv.size)return(0,x.default)(tv).call(tv,function(Kv){return{index:Kv,error:"No duplicates allowed."}}).toArray()}}}(sr,op);Nd&&ss.push.apply(ss,(0,o.default)(Nd))}if(nu||0===nu){var SC=function(Qa,Ru){var Kc;if(Qa.length>Ru)return(0,V.default)(Kc="Value must be no longer than ".concat(Ru," character")).call(Kc,1!==Ru?"s":"")}(sr,nu);SC&&ss.push(SC)}if(jd){var FE=function(Qa,Ru){var Kc;if(Qa.length<Ru)return(0,V.default)(Kc="Value must be at least ".concat(Ru," character")).call(Kc,1!==Ru?"s":"")}(sr,jd);FE&&ss.push(FE)}if(fl||0===fl){var TC=function(Qa,Ru){if(Qa>Ru)return"Value must be less than ".concat(Ru)}(sr,fl);TC&&ss.push(TC)}if(Ba||0===Ba){var CC=function(Qa,Ru){if(Qa<Ru)return"Value must be greater than ".concat(Ru)}(sr,Ba);CC&&ss.push(CC)}if("string"===xa){var LE;if(!(LE="date-time"===yu?function(Qa){if(isNaN(Date.parse(Qa)))return"Value must be a DateTime"}(sr):"uuid"===yu?function(Qa){if(Qa=Qa.toString().toLowerCase(),!/^[{(]?[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[)}]?$/.test(Qa))return"Value must be a Guid"}(sr):function(Qa){if(Qa&&"string"!=typeof Qa)return"Value must be a string"}(sr)))return ss;ss.push(LE)}else if("boolean"===xa){var w0=function(Qa){if("true"!==Qa&&"false"!==Qa&&!0!==Qa&&!1!==Qa)return"Value must be a boolean"}(sr);if(!w0)return ss;ss.push(w0)}else if("number"===xa){var MC=function(Qa){if(!/^-?\d+(\.?\d+)?$/.test(Qa))return"Value must be a number"}(sr);if(!MC)return ss;ss.push(MC)}else if("integer"===xa){var OC=function(Qa){if(!/^-?\d+$/.test(Qa))return"Value must be an integer"}(sr);if(!OC)return ss;ss.push(OC)}else if("array"===xa){if(!ev&&!oh)return ss;sr&&(0,Q.default)(sr).call(sr,function(Qa,Ru){var Kc=Gr(Qa,Bi.get("items"),!1,Wi,Ds);ss.push.apply(ss,(0,o.default)((0,x.default)(Kc).call(Kc,function(Xv){return{index:Ru,error:Xv}})))})}else if("file"===xa){var AC=function(Qa){if(Qa&&!(Qa instanceof Jn.Z.File))return"Value must be a file"}(sr);if(!AC)return ss;ss.push(AC)}return ss}var Fi=function(sr,Bi){var cs=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},Wi=cs.isOAS3,Ds=void 0!==Wi&&Wi,ss=cs.bypassRequiredCheck,tu=void 0!==ss&&ss,bl=sr.get("required"),fl=(0,ur.Z)(sr,{isOAS3:Ds}),Ba=fl.schema,xa=fl.parameterContentMediaType;return Gr(Bi,Ba,bl,tu,xa)},Ws=function(sr,Bi,cs){if(sr&&(!sr.xml||!sr.xml.name)){if(sr.xml=sr.xml||{},!sr.$$ref)return sr.type||sr.items||sr.properties||sr.additionalProperties?'<?xml version="1.0" encoding="UTF-8"?>\n\x3c!-- XML example cannot be generated; root element name is undefined --\x3e':null;var Wi=sr.$$ref.match(/\S*\/(\S+)$/);sr.xml.name=Wi[1]}return(0,On.memoizedCreateXMLExample)(sr,Bi,cs)},Zo=[{when:/json/,shouldStringifyTypes:["string"]}],ol=["object"],gl=function(sr,Bi,cs,Wi){var Ds=(0,On.memoizedSampleFromSchema)(sr,Bi,Wi),ss=(0,l.default)(Ds),tu=(0,me.default)(Zo).call(Zo,function(bl,fl){var Ba;return fl.when.test(cs)?(0,V.default)(Ba=[]).call(Ba,(0,o.default)(bl),(0,o.default)(fl.shouldStringifyTypes)):bl},ol);return(0,Hr.default)(tu,function(bl){return bl===ss})?(0,we.default)(Ds,null,2):Ds},Zl=function(sr,Bi,cs,Wi){var Ds,ss=gl(sr,Bi,cs,Wi);try{"\n"===(Ds=ji.default.dump(ji.default.load(ss),{lineWidth:-1},{schema:ji.JSON_SCHEMA}))[Ds.length-1]&&(Ds=(0,Ne.default)(Ds).call(Ds,0,Ds.length-1))}catch(tu){return console.error(tu),"error: could not generate yaml example"}return Ds.replace(/\t/g,"  ")},Qu=function(sr){var Bi=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",cs=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},Wi=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0;return sr&&zs(sr.toJS)&&(sr=sr.toJS()),Wi&&zs(Wi.toJS)&&(Wi=Wi.toJS()),/xml/.test(Bi)?Ws(sr,cs,Wi):/(yaml|yml)/.test(Bi)?Zl(sr,cs,Bi,Wi):gl(sr,cs,Bi,Wi)},Gf=function(){var sr={},Bi=Jn.Z.location.search;if(!Bi)return{};if(""!=Bi){var cs=Bi.substr(1).split("&");for(var Wi in cs)Object.prototype.hasOwnProperty.call(cs,Wi)&&(Wi=cs[Wi].split("="),sr[decodeURIComponent(Wi[0])]=Wi[1]&&decodeURIComponent(Wi[1])||"")}return sr},wl=function(sr){return(sr instanceof Wr?sr:Wr.from(sr.toString(),"utf-8")).toString("base64")},Vc={operationsSorter:{alpha:function(sr,Bi){return sr.get("path").localeCompare(Bi.get("path"))},method:function(sr,Bi){return sr.get("method").localeCompare(Bi.get("method"))}},tagsSorter:{alpha:function(sr,Bi){return sr.localeCompare(Bi)}}},gp=function(sr){var Bi=[];for(var cs in sr){var Wi=sr[cs];void 0!==Wi&&""!==Wi&&Bi.push([cs,"=",encodeURIComponent(Wi).replace(/%20/g,"+")].join(""))}return Bi.join("&")},Lh=function(sr,Bi,cs){return!!(0,zr.default)(cs,function(Wi){return(0,Vr.default)(sr[Wi],Bi[Wi])})};function ih(sr){return"string"!=typeof sr||""===sr?"":(0,Mn.sanitizeUrl)(sr)}function kh(sr){return!(!sr||(0,G.default)(sr).call(sr,"localhost")>=0||(0,G.default)(sr).call(sr,"127.0.0.1")>=0||"none"===sr)}function zl(sr){if(!Jt.default.OrderedMap.isOrderedMap(sr)||!sr.size)return null;var Bi=(0,Dt.default)(sr).call(sr,function(Ds,ss){return(0,bt.default)(ss).call(ss,"2")&&(0,le.default)(Ds.get("content")||{}).length>0}),cs=sr.get("default")||Jt.default.OrderedMap(),Wi=(cs.get("content")||Jt.default.OrderedMap()).keySeq().toJS().length?cs:null;return Bi||Wi}var $c=function(sr){return"string"==typeof sr||sr instanceof String?(0,Bt.default)(sr).call(sr).replace(/\s/g,"%20"):""},Fp=function(sr){return(0,Qn.default)($c(sr).replace(/%20/g,"_"))},zi=function(sr){return(0,oe.default)(sr).call(sr,function(Bi,cs){return/^x-/.test(cs)})},mr=function(sr){return(0,oe.default)(sr).call(sr,function(Bi,cs){return/^pattern|maxLength|minLength|maximum|minimum/.test(cs)})};function Mi(sr,Bi){var cs,Wi=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){return!0};if("object"!==(0,l.default)(sr)||(0,C.default)(sr)||null===sr||!Bi)return sr;var Ds=(0,ye.default)({},sr);return(0,Q.default)(cs=(0,le.default)(Ds)).call(cs,function(ss){ss===Bi&&Wi(Ds[ss],ss)?delete Ds[ss]:Ds[ss]=Mi(Ds[ss],Bi,Wi)}),Ds}function eo(sr){if("string"==typeof sr)return sr;if(sr&&sr.toJS&&(sr=sr.toJS()),"object"===(0,l.default)(sr)&&null!==sr)try{return(0,we.default)(sr,null,2)}catch(Bi){return String(sr)}return null==sr?"":sr.toString()}function No(sr){return"number"==typeof sr?sr.toString():sr}function qo(sr){var Bi=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},cs=Bi.returnAll,Wi=void 0!==cs&&cs,Ds=Bi.allowHashes,ss=void 0===Ds||Ds;if(!Jt.default.Map.isMap(sr))throw new Error("paramToIdentifier: received a non-Im.Map parameter as input");var tu,bl,fl,Ba=sr.get("name"),xa=sr.get("in"),yu=[];return sr&&sr.hashCode&&xa&&Ba&&ss&&yu.push((0,V.default)(tu=(0,V.default)(bl="".concat(xa,".")).call(bl,Ba,".hash-")).call(tu,sr.hashCode())),xa&&Ba&&yu.push((0,V.default)(fl="".concat(xa,".")).call(fl,Ba)),yu.push(Ba),Wi?yu:yu[0]||""}function os(sr,Bi){var cs,Wi=qo(sr,{returnAll:!0});return(0,oe.default)(cs=(0,x.default)(Wi).call(Wi,function(Ds){return Bi[Ds]})).call(cs,function(Ds){return void 0!==Ds})[0]}function ps(){return tl(Yr()(32).toString("base64"))}function _a(sr){return tl(Di()("sha256").update(sr).digest("base64"))}function tl(sr){return sr.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}var vu=function(sr){return!sr||!(!bn(sr)||!sr.isEmpty())}},2518:(n,s,t)=>{function o(l){return function(_){try{return!!JSON.parse(_)}catch(C){return null}}(l)?"json":null}t.d(s,{O:()=>o})},7504:(n,s,t)=>{t.d(s,{Z:()=>o});const o=function(){var l={location:{},history:{},open:function(){},close:function(){},File:function(){}};if("undefined"==typeof window)return l;try{l=window;for(var _=0,C=["File","Blob","FormData"];_<C.length;_++){var x=C[_];x in window&&(l[x]=window[x])}}catch(N){console.error(N)}return l}()},9069:(n,s,t)=>{t.d(s,{Z:()=>x});var o=t(6145),l=t(2372),_=t(9725),C=_.default.Set.of("type","format","items","default","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","maxItems","minItems","uniqueItems","enum","multipleOf");function x(N){var V=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Q=V.isOAS3;if(!_.default.Map.isMap(N))return{schema:_.default.Map(),parameterContentMediaType:null};if(!Q)return"body"===N.get("in")?{schema:N.get("schema",_.default.Map()),parameterContentMediaType:null}:{schema:(0,o.default)(N).call(N,function(me,ye){return(0,l.default)(C).call(C,ye)}),parameterContentMediaType:null};if(N.get("content")){var oe=N.get("content",_.default.Map({})).keySeq(),le=oe.first();return{schema:N.getIn(["content",le,"schema"],_.default.Map()),parameterContentMediaType:le}}return{schema:N.get("schema",_.default.Map()),parameterContentMediaType:null}}},8287:(n,s,t)=>{t.d(s,{Z:()=>bt});var o=t(7344),l=t(8656);const _=(t.d(Jt={},{default:()=>dC}),Jt),C=(Bt=>{var Jt={};return t.d(Jt,Bt),Jt})({default:()=>zv});var Jt,x=t(9972),N=t(5416);const V=(Bt=>{var Jt={};return t.d(Jt,Bt),Jt})({default:()=>VA});var Q=t(4163),oe=t(7930),le=t(8898),me=t(5487),ye=t(1778);const $e=(Bt=>{var Jt={};return t.d(Jt,Bt),Jt})({default:()=>nL()});var Ne=t(6914),ke=t(5476),we=function(Bt){return function(Jt){return(0,Q.default)(Bt)&&(0,Q.default)(Jt)&&Bt.length===Jt.length&&(0,oe.default)(Bt).call(Bt,function(Mn,zt){return Mn===Jt[zt]})}},G=function(){for(var Bt=arguments.length,Jt=new Array(Bt),Mn=0;Mn<Bt;Mn++)Jt[Mn]=arguments[Mn];return Jt},Dt=function(Bt){(0,x.default)(Mn,Bt);var Jt=(0,N.default)(Mn);function Mn(){return(0,o.default)(this,Mn),Jt.apply(this,arguments)}return(0,l.default)(Mn,[{key:"delete",value:function(zt){var xn=(0,le.default)((0,me.default)(this).call(this)),Nn=(0,ye.default)(xn).call(xn,we(zt));return(0,_.default)((0,C.default)(Mn.prototype),"delete",this).call(this,Nn)}},{key:"get",value:function(zt){var xn=(0,le.default)((0,me.default)(this).call(this)),Nn=(0,ye.default)(xn).call(xn,we(zt));return(0,_.default)((0,C.default)(Mn.prototype),"get",this).call(this,Nn)}},{key:"has",value:function(zt){var xn=(0,le.default)((0,me.default)(this).call(this));return-1!==(0,$e.default)(xn).call(xn,we(zt))}}]),Mn}((0,V.default)(Ne.default));const bt=function(Bt){var Jt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:G,Mn=ke.default.Cache;ke.default.Cache=Dt;var zt=(0,ke.default)(Bt,Jt);return ke.default.Cache=Mn,zt}},8764:(n,s,t)=>{const o=t(4780),l=t(3294),_="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;s.Buffer=N,s.SlowBuffer=function(Qe){return+Qe!=Qe&&(Qe=0),N.alloc(+Qe)},s.INSPECT_MAX_BYTES=50;const C=2147483647;function x(Qe){if(Qe>C)throw new RangeError('The value "'+Qe+'" is invalid for option "size"');const Pt=new Uint8Array(Qe);return Object.setPrototypeOf(Pt,N.prototype),Pt}function N(Qe,Pt,Rt){if("number"==typeof Qe){if("string"==typeof Pt)throw new TypeError('The "string" argument must be of type string. Received type number');return oe(Qe)}return V(Qe,Pt,Rt)}function V(Qe,Pt,Rt){if("string"==typeof Qe)return function(Gr,Fi){if("string"==typeof Fi&&""!==Fi||(Fi="utf8"),!N.isEncoding(Fi))throw new TypeError("Unknown encoding: "+Fi);const Ws=0|$e(Gr,Fi);let Zo=x(Ws);const ol=Zo.write(Gr,Fi);return ol!==Ws&&(Zo=Zo.slice(0,ol)),Zo}(Qe,Pt);if(ArrayBuffer.isView(Qe))return function(Gr){if(zs(Gr,Uint8Array)){const Fi=new Uint8Array(Gr);return me(Fi.buffer,Fi.byteOffset,Fi.byteLength)}return le(Gr)}(Qe);if(null==Qe)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Qe);if(zs(Qe,ArrayBuffer)||Qe&&zs(Qe.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(zs(Qe,SharedArrayBuffer)||Qe&&zs(Qe.buffer,SharedArrayBuffer)))return me(Qe,Pt,Rt);if("number"==typeof Qe)throw new TypeError('The "value" argument must not be of type number. Received type number');const qn=Qe.valueOf&&Qe.valueOf();if(null!=qn&&qn!==Qe)return N.from(qn,Pt,Rt);const wr=function(Gr){if(N.isBuffer(Gr)){const Fi=0|ye(Gr.length),Ws=x(Fi);return 0===Ws.length||Gr.copy(Ws,0,0,Fi),Ws}return void 0!==Gr.length?"number"!=typeof Gr.length||Qs(Gr.length)?x(0):le(Gr):"Buffer"===Gr.type&&Array.isArray(Gr.data)?le(Gr.data):void 0}(Qe);if(wr)return wr;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof Qe[Symbol.toPrimitive])return N.from(Qe[Symbol.toPrimitive]("string"),Pt,Rt);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Qe)}function Q(Qe){if("number"!=typeof Qe)throw new TypeError('"size" argument must be of type number');if(Qe<0)throw new RangeError('The value "'+Qe+'" is invalid for option "size"')}function oe(Qe){return Q(Qe),x(Qe<0?0:0|ye(Qe))}function le(Qe){const Pt=Qe.length<0?0:0|ye(Qe.length),Rt=x(Pt);for(let qn=0;qn<Pt;qn+=1)Rt[qn]=255&Qe[qn];return Rt}function me(Qe,Pt,Rt){if(Pt<0||Qe.byteLength<Pt)throw new RangeError('"offset" is outside of buffer bounds');if(Qe.byteLength<Pt+(Rt||0))throw new RangeError('"length" is outside of buffer bounds');let qn;return qn=void 0===Pt&&void 0===Rt?new Uint8Array(Qe):void 0===Rt?new Uint8Array(Qe,Pt):new Uint8Array(Qe,Pt,Rt),Object.setPrototypeOf(qn,N.prototype),qn}function ye(Qe){if(Qe>=C)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+C.toString(16)+" bytes");return 0|Qe}function $e(Qe,Pt){if(N.isBuffer(Qe))return Qe.length;if(ArrayBuffer.isView(Qe)||zs(Qe,ArrayBuffer))return Qe.byteLength;if("string"!=typeof Qe)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Qe);const Rt=Qe.length,qn=arguments.length>2&&!0===arguments[2];if(!qn&&0===Rt)return 0;let wr=!1;for(;;)switch(Pt){case"ascii":case"latin1":case"binary":return Rt;case"utf8":case"utf-8":return Xi(Qe).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*Rt;case"hex":return Rt>>>1;case"base64":return Bo(Qe).length;default:if(wr)return qn?-1:Xi(Qe).length;Pt=(""+Pt).toLowerCase(),wr=!0}}function Ne(Qe,Pt,Rt){let qn=!1;if((void 0===Pt||Pt<0)&&(Pt=0),Pt>this.length||((void 0===Rt||Rt>this.length)&&(Rt=this.length),Rt<=0)||(Rt>>>=0)<=(Pt>>>=0))return"";for(Qe||(Qe="utf8");;)switch(Qe){case"hex":return Vr(this,Pt,Rt);case"utf8":case"utf-8":return xn(this,Pt,Rt);case"ascii":return zr(this,Pt,Rt);case"latin1":case"binary":return Hr(this,Pt,Rt);case"base64":return zt(this,Pt,Rt);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return qr(this,Pt,Rt);default:if(qn)throw new TypeError("Unknown encoding: "+Qe);Qe=(Qe+"").toLowerCase(),qn=!0}}function ke(Qe,Pt,Rt){const qn=Qe[Pt];Qe[Pt]=Qe[Rt],Qe[Rt]=qn}function we(Qe,Pt,Rt,qn,wr){if(0===Qe.length)return-1;if("string"==typeof Rt?(qn=Rt,Rt=0):Rt>2147483647?Rt=2147483647:Rt<-2147483648&&(Rt=-2147483648),Qs(Rt=+Rt)&&(Rt=wr?0:Qe.length-1),Rt<0&&(Rt=Qe.length+Rt),Rt>=Qe.length){if(wr)return-1;Rt=Qe.length-1}else if(Rt<0){if(!wr)return-1;Rt=0}if("string"==typeof Pt&&(Pt=N.from(Pt,qn)),N.isBuffer(Pt))return 0===Pt.length?-1:G(Qe,Pt,Rt,qn,wr);if("number"==typeof Pt)return Pt&=255,"function"==typeof Uint8Array.prototype.indexOf?wr?Uint8Array.prototype.indexOf.call(Qe,Pt,Rt):Uint8Array.prototype.lastIndexOf.call(Qe,Pt,Rt):G(Qe,[Pt],Rt,qn,wr);throw new TypeError("val must be string, number or Buffer")}function G(Qe,Pt,Rt,qn,wr){let Gr,Fi=1,Ws=Qe.length,Zo=Pt.length;if(void 0!==qn&&("ucs2"===(qn=String(qn).toLowerCase())||"ucs-2"===qn||"utf16le"===qn||"utf-16le"===qn)){if(Qe.length<2||Pt.length<2)return-1;Fi=2,Ws/=2,Zo/=2,Rt/=2}function ol(gl,Zl){return 1===Fi?gl[Zl]:gl.readUInt16BE(Zl*Fi)}if(wr){let gl=-1;for(Gr=Rt;Gr<Ws;Gr++)if(ol(Qe,Gr)===ol(Pt,-1===gl?0:Gr-gl)){if(-1===gl&&(gl=Gr),Gr-gl+1===Zo)return gl*Fi}else-1!==gl&&(Gr-=Gr-gl),gl=-1}else for(Rt+Zo>Ws&&(Rt=Ws-Zo),Gr=Rt;Gr>=0;Gr--){let gl=!0;for(let Zl=0;Zl<Zo;Zl++)if(ol(Qe,Gr+Zl)!==ol(Pt,Zl)){gl=!1;break}if(gl)return Gr}return-1}function Dt(Qe,Pt,Rt,qn){Rt=Number(Rt)||0;const wr=Qe.length-Rt;qn?(qn=Number(qn))>wr&&(qn=wr):qn=wr;const Gr=Pt.length;let Fi;for(qn>Gr/2&&(qn=Gr/2),Fi=0;Fi<qn;++Fi){const Ws=parseInt(Pt.substr(2*Fi,2),16);if(Qs(Ws))return Fi;Qe[Rt+Fi]=Ws}return Fi}function bt(Qe,Pt,Rt,qn){return Ao(Xi(Pt,Qe.length-Rt),Qe,Rt,qn)}function Bt(Qe,Pt,Rt,qn){return Ao(function(wr){const Gr=[];for(let Fi=0;Fi<wr.length;++Fi)Gr.push(255&wr.charCodeAt(Fi));return Gr}(Pt),Qe,Rt,qn)}function Jt(Qe,Pt,Rt,qn){return Ao(Bo(Pt),Qe,Rt,qn)}function Mn(Qe,Pt,Rt,qn){return Ao(function(wr,Gr){let Fi,Ws,Zo;const ol=[];for(let gl=0;gl<wr.length&&!((Gr-=2)<0);++gl)Fi=wr.charCodeAt(gl),Ws=Fi>>8,Zo=Fi%256,ol.push(Zo),ol.push(Ws);return ol}(Pt,Qe.length-Rt),Qe,Rt,qn)}function zt(Qe,Pt,Rt){return o.fromByteArray(0===Pt&&Rt===Qe.length?Qe:Qe.slice(Pt,Rt))}function xn(Qe,Pt,Rt){Rt=Math.min(Qe.length,Rt);const qn=[];let wr=Pt;for(;wr<Rt;){const Gr=Qe[wr];let Fi=null,Ws=Gr>239?4:Gr>223?3:Gr>191?2:1;if(wr+Ws<=Rt){let Zo,ol,gl,Zl;switch(Ws){case 1:Gr<128&&(Fi=Gr);break;case 2:Zo=Qe[wr+1],128==(192&Zo)&&(Zl=(31&Gr)<<6|63&Zo,Zl>127&&(Fi=Zl));break;case 3:Zo=Qe[wr+1],ol=Qe[wr+2],128==(192&Zo)&&128==(192&ol)&&(Zl=(15&Gr)<<12|(63&Zo)<<6|63&ol,Zl>2047&&(Zl<55296||Zl>57343)&&(Fi=Zl));break;case 4:Zo=Qe[wr+1],ol=Qe[wr+2],gl=Qe[wr+3],128==(192&Zo)&&128==(192&ol)&&128==(192&gl)&&(Zl=(15&Gr)<<18|(63&Zo)<<12|(63&ol)<<6|63&gl,Zl>65535&&Zl<1114112&&(Fi=Zl))}}null===Fi?(Fi=65533,Ws=1):Fi>65535&&(Fi-=65536,qn.push(Fi>>>10&1023|55296),Fi=56320|1023&Fi),qn.push(Fi),wr+=Ws}return function(Gr){const Fi=Gr.length;if(Fi<=Nn)return String.fromCharCode.apply(String,Gr);let Ws="",Zo=0;for(;Zo<Fi;)Ws+=String.fromCharCode.apply(String,Gr.slice(Zo,Zo+=Nn));return Ws}(qn)}s.kMaxLength=C,(N.TYPED_ARRAY_SUPPORT=function(){try{const Qe=new Uint8Array(1),Pt={foo:function(){return 42}};return Object.setPrototypeOf(Pt,Uint8Array.prototype),Object.setPrototypeOf(Qe,Pt),42===Qe.foo()}catch(Qe){return!1}}())||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(N.prototype,"parent",{enumerable:!0,get:function(){if(N.isBuffer(this))return this.buffer}}),Object.defineProperty(N.prototype,"offset",{enumerable:!0,get:function(){if(N.isBuffer(this))return this.byteOffset}}),N.poolSize=8192,N.from=function(Qe,Pt,Rt){return V(Qe,Pt,Rt)},Object.setPrototypeOf(N.prototype,Uint8Array.prototype),Object.setPrototypeOf(N,Uint8Array),N.alloc=function(Qe,Pt,Rt){return wr=Pt,Gr=Rt,Q(qn=Qe),qn<=0?x(qn):void 0!==wr?"string"==typeof Gr?x(qn).fill(wr,Gr):x(qn).fill(wr):x(qn);var qn,wr,Gr},N.allocUnsafe=function(Qe){return oe(Qe)},N.allocUnsafeSlow=function(Qe){return oe(Qe)},N.isBuffer=function(Qe){return null!=Qe&&!0===Qe._isBuffer&&Qe!==N.prototype},N.compare=function(Qe,Pt){if(zs(Qe,Uint8Array)&&(Qe=N.from(Qe,Qe.offset,Qe.byteLength)),zs(Pt,Uint8Array)&&(Pt=N.from(Pt,Pt.offset,Pt.byteLength)),!N.isBuffer(Qe)||!N.isBuffer(Pt))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Qe===Pt)return 0;let Rt=Qe.length,qn=Pt.length;for(let wr=0,Gr=Math.min(Rt,qn);wr<Gr;++wr)if(Qe[wr]!==Pt[wr]){Rt=Qe[wr],qn=Pt[wr];break}return Rt<qn?-1:qn<Rt?1:0},N.isEncoding=function(Qe){switch(String(Qe).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},N.concat=function(Qe,Pt){if(!Array.isArray(Qe))throw new TypeError('"list" argument must be an Array of Buffers');if(0===Qe.length)return N.alloc(0);let Rt;if(void 0===Pt)for(Pt=0,Rt=0;Rt<Qe.length;++Rt)Pt+=Qe[Rt].length;const qn=N.allocUnsafe(Pt);let wr=0;for(Rt=0;Rt<Qe.length;++Rt){let Gr=Qe[Rt];if(zs(Gr,Uint8Array))wr+Gr.length>qn.length?(N.isBuffer(Gr)||(Gr=N.from(Gr)),Gr.copy(qn,wr)):Uint8Array.prototype.set.call(qn,Gr,wr);else{if(!N.isBuffer(Gr))throw new TypeError('"list" argument must be an Array of Buffers');Gr.copy(qn,wr)}wr+=Gr.length}return qn},N.byteLength=$e,N.prototype._isBuffer=!0,N.prototype.swap16=function(){const Qe=this.length;if(Qe%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let Pt=0;Pt<Qe;Pt+=2)ke(this,Pt,Pt+1);return this},N.prototype.swap32=function(){const Qe=this.length;if(Qe%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let Pt=0;Pt<Qe;Pt+=4)ke(this,Pt,Pt+3),ke(this,Pt+1,Pt+2);return this},N.prototype.swap64=function(){const Qe=this.length;if(Qe%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let Pt=0;Pt<Qe;Pt+=8)ke(this,Pt,Pt+7),ke(this,Pt+1,Pt+6),ke(this,Pt+2,Pt+5),ke(this,Pt+3,Pt+4);return this},N.prototype.toLocaleString=N.prototype.toString=function(){const Qe=this.length;return 0===Qe?"":0===arguments.length?xn(this,0,Qe):Ne.apply(this,arguments)},N.prototype.equals=function(Qe){if(!N.isBuffer(Qe))throw new TypeError("Argument must be a Buffer");return this===Qe||0===N.compare(this,Qe)},N.prototype.inspect=function(){let Qe="";const Pt=s.INSPECT_MAX_BYTES;return Qe=this.toString("hex",0,Pt).replace(/(.{2})/g,"$1 ").trim(),this.length>Pt&&(Qe+=" ... "),"<Buffer "+Qe+">"},_&&(N.prototype[_]=N.prototype.inspect),N.prototype.compare=function(Qe,Pt,Rt,qn,wr){if(zs(Qe,Uint8Array)&&(Qe=N.from(Qe,Qe.offset,Qe.byteLength)),!N.isBuffer(Qe))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Qe);if(void 0===Pt&&(Pt=0),void 0===Rt&&(Rt=Qe?Qe.length:0),void 0===qn&&(qn=0),void 0===wr&&(wr=this.length),Pt<0||Rt>Qe.length||qn<0||wr>this.length)throw new RangeError("out of range index");if(qn>=wr&&Pt>=Rt)return 0;if(qn>=wr)return-1;if(Pt>=Rt)return 1;if(this===Qe)return 0;let Gr=(wr>>>=0)-(qn>>>=0),Fi=(Rt>>>=0)-(Pt>>>=0);const Ws=Math.min(Gr,Fi),Zo=this.slice(qn,wr),ol=Qe.slice(Pt,Rt);for(let gl=0;gl<Ws;++gl)if(Zo[gl]!==ol[gl]){Gr=Zo[gl],Fi=ol[gl];break}return Gr<Fi?-1:Fi<Gr?1:0},N.prototype.includes=function(Qe,Pt,Rt){return-1!==this.indexOf(Qe,Pt,Rt)},N.prototype.indexOf=function(Qe,Pt,Rt){return we(this,Qe,Pt,Rt,!0)},N.prototype.lastIndexOf=function(Qe,Pt,Rt){return we(this,Qe,Pt,Rt,!1)},N.prototype.write=function(Qe,Pt,Rt,qn){if(void 0===Pt)qn="utf8",Rt=this.length,Pt=0;else if(void 0===Rt&&"string"==typeof Pt)qn=Pt,Rt=this.length,Pt=0;else{if(!isFinite(Pt))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");Pt>>>=0,isFinite(Rt)?(Rt>>>=0,void 0===qn&&(qn="utf8")):(qn=Rt,Rt=void 0)}const wr=this.length-Pt;if((void 0===Rt||Rt>wr)&&(Rt=wr),Qe.length>0&&(Rt<0||Pt<0)||Pt>this.length)throw new RangeError("Attempt to write outside buffer bounds");qn||(qn="utf8");let Gr=!1;for(;;)switch(qn){case"hex":return Dt(this,Qe,Pt,Rt);case"utf8":case"utf-8":return bt(this,Qe,Pt,Rt);case"ascii":case"latin1":case"binary":return Bt(this,Qe,Pt,Rt);case"base64":return Jt(this,Qe,Pt,Rt);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Mn(this,Qe,Pt,Rt);default:if(Gr)throw new TypeError("Unknown encoding: "+qn);qn=(""+qn).toLowerCase(),Gr=!0}},N.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const Nn=4096;function zr(Qe,Pt,Rt){let qn="";Rt=Math.min(Qe.length,Rt);for(let wr=Pt;wr<Rt;++wr)qn+=String.fromCharCode(127&Qe[wr]);return qn}function Hr(Qe,Pt,Rt){let qn="";Rt=Math.min(Qe.length,Rt);for(let wr=Pt;wr<Rt;++wr)qn+=String.fromCharCode(Qe[wr]);return qn}function Vr(Qe,Pt,Rt){const qn=Qe.length;(!Pt||Pt<0)&&(Pt=0),(!Rt||Rt<0||Rt>qn)&&(Rt=qn);let wr="";for(let Gr=Pt;Gr<Rt;++Gr)wr+=Ii[Qe[Gr]];return wr}function qr(Qe,Pt,Rt){const qn=Qe.slice(Pt,Rt);let wr="";for(let Gr=0;Gr<qn.length-1;Gr+=2)wr+=String.fromCharCode(qn[Gr]+256*qn[Gr+1]);return wr}function On(Qe,Pt,Rt){if(Qe%1!=0||Qe<0)throw new RangeError("offset is not uint");if(Qe+Pt>Rt)throw new RangeError("Trying to access beyond buffer length")}function Jn(Qe,Pt,Rt,qn,wr,Gr){if(!N.isBuffer(Qe))throw new TypeError('"buffer" argument must be a Buffer instance');if(Pt>wr||Pt<Gr)throw new RangeError('"value" argument is out of bounds');if(Rt+qn>Qe.length)throw new RangeError("Index out of range")}function Qn(Qe,Pt,Rt,qn,wr){Bn(Pt,qn,wr,Qe,Rt,7);let Gr=Number(Pt&BigInt(4294967295));Qe[Rt++]=Gr,Gr>>=8,Qe[Rt++]=Gr,Gr>>=8,Qe[Rt++]=Gr,Gr>>=8,Qe[Rt++]=Gr;let Fi=Number(Pt>>BigInt(32)&BigInt(4294967295));return Qe[Rt++]=Fi,Fi>>=8,Qe[Rt++]=Fi,Fi>>=8,Qe[Rt++]=Fi,Fi>>=8,Qe[Rt++]=Fi,Rt}function ur(Qe,Pt,Rt,qn,wr){Bn(Pt,qn,wr,Qe,Rt,7);let Gr=Number(Pt&BigInt(4294967295));Qe[Rt+7]=Gr,Gr>>=8,Qe[Rt+6]=Gr,Gr>>=8,Qe[Rt+5]=Gr,Gr>>=8,Qe[Rt+4]=Gr;let Fi=Number(Pt>>BigInt(32)&BigInt(4294967295));return Qe[Rt+3]=Fi,Fi>>=8,Qe[Rt+2]=Fi,Fi>>=8,Qe[Rt+1]=Fi,Fi>>=8,Qe[Rt]=Fi,Rt+8}function In(Qe,Pt,Rt,qn,wr,Gr){if(Rt+qn>Qe.length)throw new RangeError("Index out of range");if(Rt<0)throw new RangeError("Index out of range")}function Yr(Qe,Pt,Rt,qn,wr){return Pt=+Pt,Rt>>>=0,wr||In(Qe,0,Rt,4),l.write(Qe,Pt,Rt,qn,23,4),Rt+4}function Qi(Qe,Pt,Rt,qn,wr){return Pt=+Pt,Rt>>>=0,wr||In(Qe,0,Rt,8),l.write(Qe,Pt,Rt,qn,52,8),Rt+8}N.prototype.slice=function(Qe,Pt){const Rt=this.length;(Qe=~~Qe)<0?(Qe+=Rt)<0&&(Qe=0):Qe>Rt&&(Qe=Rt),(Pt=void 0===Pt?Rt:~~Pt)<0?(Pt+=Rt)<0&&(Pt=0):Pt>Rt&&(Pt=Rt),Pt<Qe&&(Pt=Qe);const qn=this.subarray(Qe,Pt);return Object.setPrototypeOf(qn,N.prototype),qn},N.prototype.readUintLE=N.prototype.readUIntLE=function(Qe,Pt,Rt){Qe>>>=0,Pt>>>=0,Rt||On(Qe,Pt,this.length);let qn=this[Qe],wr=1,Gr=0;for(;++Gr<Pt&&(wr*=256);)qn+=this[Qe+Gr]*wr;return qn},N.prototype.readUintBE=N.prototype.readUIntBE=function(Qe,Pt,Rt){Qe>>>=0,Pt>>>=0,Rt||On(Qe,Pt,this.length);let qn=this[Qe+--Pt],wr=1;for(;Pt>0&&(wr*=256);)qn+=this[Qe+--Pt]*wr;return qn},N.prototype.readUint8=N.prototype.readUInt8=function(Qe,Pt){return Qe>>>=0,Pt||On(Qe,1,this.length),this[Qe]},N.prototype.readUint16LE=N.prototype.readUInt16LE=function(Qe,Pt){return Qe>>>=0,Pt||On(Qe,2,this.length),this[Qe]|this[Qe+1]<<8},N.prototype.readUint16BE=N.prototype.readUInt16BE=function(Qe,Pt){return Qe>>>=0,Pt||On(Qe,2,this.length),this[Qe]<<8|this[Qe+1]},N.prototype.readUint32LE=N.prototype.readUInt32LE=function(Qe,Pt){return Qe>>>=0,Pt||On(Qe,4,this.length),(this[Qe]|this[Qe+1]<<8|this[Qe+2]<<16)+16777216*this[Qe+3]},N.prototype.readUint32BE=N.prototype.readUInt32BE=function(Qe,Pt){return Qe>>>=0,Pt||On(Qe,4,this.length),16777216*this[Qe]+(this[Qe+1]<<16|this[Qe+2]<<8|this[Qe+3])},N.prototype.readBigUInt64LE=uo(function(Qe){bn(Qe>>>=0,"offset");const Pt=this[Qe],Rt=this[Qe+7];void 0!==Pt&&void 0!==Rt||Xr(Qe,this.length-8);const qn=Pt+256*this[++Qe]+65536*this[++Qe]+this[++Qe]*Wm(2,24),wr=this[++Qe]+256*this[++Qe]+65536*this[++Qe]+Rt*Wm(2,24);return BigInt(qn)+(BigInt(wr)<<BigInt(32))}),N.prototype.readBigUInt64BE=uo(function(Qe){bn(Qe>>>=0,"offset");const Pt=this[Qe],Rt=this[Qe+7];void 0!==Pt&&void 0!==Rt||Xr(Qe,this.length-8);const qn=Pt*Wm(2,24)+65536*this[++Qe]+256*this[++Qe]+this[++Qe],wr=this[++Qe]*Wm(2,24)+65536*this[++Qe]+256*this[++Qe]+Rt;return(BigInt(qn)<<BigInt(32))+BigInt(wr)}),N.prototype.readIntLE=function(Qe,Pt,Rt){Qe>>>=0,Pt>>>=0,Rt||On(Qe,Pt,this.length);let qn=this[Qe],wr=1,Gr=0;for(;++Gr<Pt&&(wr*=256);)qn+=this[Qe+Gr]*wr;return wr*=128,qn>=wr&&(qn-=Math.pow(2,8*Pt)),qn},N.prototype.readIntBE=function(Qe,Pt,Rt){Qe>>>=0,Pt>>>=0,Rt||On(Qe,Pt,this.length);let qn=Pt,wr=1,Gr=this[Qe+--qn];for(;qn>0&&(wr*=256);)Gr+=this[Qe+--qn]*wr;return wr*=128,Gr>=wr&&(Gr-=Math.pow(2,8*Pt)),Gr},N.prototype.readInt8=function(Qe,Pt){return Qe>>>=0,Pt||On(Qe,1,this.length),128&this[Qe]?-1*(255-this[Qe]+1):this[Qe]},N.prototype.readInt16LE=function(Qe,Pt){Qe>>>=0,Pt||On(Qe,2,this.length);const Rt=this[Qe]|this[Qe+1]<<8;return 32768&Rt?4294901760|Rt:Rt},N.prototype.readInt16BE=function(Qe,Pt){Qe>>>=0,Pt||On(Qe,2,this.length);const Rt=this[Qe+1]|this[Qe]<<8;return 32768&Rt?4294901760|Rt:Rt},N.prototype.readInt32LE=function(Qe,Pt){return Qe>>>=0,Pt||On(Qe,4,this.length),this[Qe]|this[Qe+1]<<8|this[Qe+2]<<16|this[Qe+3]<<24},N.prototype.readInt32BE=function(Qe,Pt){return Qe>>>=0,Pt||On(Qe,4,this.length),this[Qe]<<24|this[Qe+1]<<16|this[Qe+2]<<8|this[Qe+3]},N.prototype.readBigInt64LE=uo(function(Qe){bn(Qe>>>=0,"offset");const Pt=this[Qe],Rt=this[Qe+7];return void 0!==Pt&&void 0!==Rt||Xr(Qe,this.length-8),(BigInt(this[Qe+4]+256*this[Qe+5]+65536*this[Qe+6]+(Rt<<24))<<BigInt(32))+BigInt(Pt+256*this[++Qe]+65536*this[++Qe]+this[++Qe]*Wm(2,24))}),N.prototype.readBigInt64BE=uo(function(Qe){bn(Qe>>>=0,"offset");const Pt=this[Qe],Rt=this[Qe+7];void 0!==Pt&&void 0!==Rt||Xr(Qe,this.length-8);const qn=(Pt<<24)+65536*this[++Qe]+256*this[++Qe]+this[++Qe];return(BigInt(qn)<<BigInt(32))+BigInt(this[++Qe]*Wm(2,24)+65536*this[++Qe]+256*this[++Qe]+Rt)}),N.prototype.readFloatLE=function(Qe,Pt){return Qe>>>=0,Pt||On(Qe,4,this.length),l.read(this,Qe,!0,23,4)},N.prototype.readFloatBE=function(Qe,Pt){return Qe>>>=0,Pt||On(Qe,4,this.length),l.read(this,Qe,!1,23,4)},N.prototype.readDoubleLE=function(Qe,Pt){return Qe>>>=0,Pt||On(Qe,8,this.length),l.read(this,Qe,!0,52,8)},N.prototype.readDoubleBE=function(Qe,Pt){return Qe>>>=0,Pt||On(Qe,8,this.length),l.read(this,Qe,!1,52,8)},N.prototype.writeUintLE=N.prototype.writeUIntLE=function(Qe,Pt,Rt,qn){Qe=+Qe,Pt>>>=0,Rt>>>=0,!qn&&Jn(this,Qe,Pt,Rt,Math.pow(2,8*Rt)-1,0);let wr=1,Gr=0;for(this[Pt]=255&Qe;++Gr<Rt&&(wr*=256);)this[Pt+Gr]=Qe/wr&255;return Pt+Rt},N.prototype.writeUintBE=N.prototype.writeUIntBE=function(Qe,Pt,Rt,qn){Qe=+Qe,Pt>>>=0,Rt>>>=0,!qn&&Jn(this,Qe,Pt,Rt,Math.pow(2,8*Rt)-1,0);let wr=Rt-1,Gr=1;for(this[Pt+wr]=255&Qe;--wr>=0&&(Gr*=256);)this[Pt+wr]=Qe/Gr&255;return Pt+Rt},N.prototype.writeUint8=N.prototype.writeUInt8=function(Qe,Pt,Rt){return Qe=+Qe,Pt>>>=0,Rt||Jn(this,Qe,Pt,1,255,0),this[Pt]=255&Qe,Pt+1},N.prototype.writeUint16LE=N.prototype.writeUInt16LE=function(Qe,Pt,Rt){return Qe=+Qe,Pt>>>=0,Rt||Jn(this,Qe,Pt,2,65535,0),this[Pt]=255&Qe,this[Pt+1]=Qe>>>8,Pt+2},N.prototype.writeUint16BE=N.prototype.writeUInt16BE=function(Qe,Pt,Rt){return Qe=+Qe,Pt>>>=0,Rt||Jn(this,Qe,Pt,2,65535,0),this[Pt]=Qe>>>8,this[Pt+1]=255&Qe,Pt+2},N.prototype.writeUint32LE=N.prototype.writeUInt32LE=function(Qe,Pt,Rt){return Qe=+Qe,Pt>>>=0,Rt||Jn(this,Qe,Pt,4,4294967295,0),this[Pt+3]=Qe>>>24,this[Pt+2]=Qe>>>16,this[Pt+1]=Qe>>>8,this[Pt]=255&Qe,Pt+4},N.prototype.writeUint32BE=N.prototype.writeUInt32BE=function(Qe,Pt,Rt){return Qe=+Qe,Pt>>>=0,Rt||Jn(this,Qe,Pt,4,4294967295,0),this[Pt]=Qe>>>24,this[Pt+1]=Qe>>>16,this[Pt+2]=Qe>>>8,this[Pt+3]=255&Qe,Pt+4},N.prototype.writeBigUInt64LE=uo(function(Qe,Pt=0){return Qn(this,Qe,Pt,BigInt(0),BigInt("0xffffffffffffffff"))}),N.prototype.writeBigUInt64BE=uo(function(Qe,Pt=0){return ur(this,Qe,Pt,BigInt(0),BigInt("0xffffffffffffffff"))}),N.prototype.writeIntLE=function(Qe,Pt,Rt,qn){if(Qe=+Qe,Pt>>>=0,!qn){const Ws=Math.pow(2,8*Rt-1);Jn(this,Qe,Pt,Rt,Ws-1,-Ws)}let wr=0,Gr=1,Fi=0;for(this[Pt]=255&Qe;++wr<Rt&&(Gr*=256);)Qe<0&&0===Fi&&0!==this[Pt+wr-1]&&(Fi=1),this[Pt+wr]=(Qe/Gr>>0)-Fi&255;return Pt+Rt},N.prototype.writeIntBE=function(Qe,Pt,Rt,qn){if(Qe=+Qe,Pt>>>=0,!qn){const Ws=Math.pow(2,8*Rt-1);Jn(this,Qe,Pt,Rt,Ws-1,-Ws)}let wr=Rt-1,Gr=1,Fi=0;for(this[Pt+wr]=255&Qe;--wr>=0&&(Gr*=256);)Qe<0&&0===Fi&&0!==this[Pt+wr+1]&&(Fi=1),this[Pt+wr]=(Qe/Gr>>0)-Fi&255;return Pt+Rt},N.prototype.writeInt8=function(Qe,Pt,Rt){return Qe=+Qe,Pt>>>=0,Rt||Jn(this,Qe,Pt,1,127,-128),Qe<0&&(Qe=255+Qe+1),this[Pt]=255&Qe,Pt+1},N.prototype.writeInt16LE=function(Qe,Pt,Rt){return Qe=+Qe,Pt>>>=0,Rt||Jn(this,Qe,Pt,2,32767,-32768),this[Pt]=255&Qe,this[Pt+1]=Qe>>>8,Pt+2},N.prototype.writeInt16BE=function(Qe,Pt,Rt){return Qe=+Qe,Pt>>>=0,Rt||Jn(this,Qe,Pt,2,32767,-32768),this[Pt]=Qe>>>8,this[Pt+1]=255&Qe,Pt+2},N.prototype.writeInt32LE=function(Qe,Pt,Rt){return Qe=+Qe,Pt>>>=0,Rt||Jn(this,Qe,Pt,4,2147483647,-2147483648),this[Pt]=255&Qe,this[Pt+1]=Qe>>>8,this[Pt+2]=Qe>>>16,this[Pt+3]=Qe>>>24,Pt+4},N.prototype.writeInt32BE=function(Qe,Pt,Rt){return Qe=+Qe,Pt>>>=0,Rt||Jn(this,Qe,Pt,4,2147483647,-2147483648),Qe<0&&(Qe=4294967295+Qe+1),this[Pt]=Qe>>>24,this[Pt+1]=Qe>>>16,this[Pt+2]=Qe>>>8,this[Pt+3]=255&Qe,Pt+4},N.prototype.writeBigInt64LE=uo(function(Qe,Pt=0){return Qn(this,Qe,Pt,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),N.prototype.writeBigInt64BE=uo(function(Qe,Pt=0){return ur(this,Qe,Pt,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),N.prototype.writeFloatLE=function(Qe,Pt,Rt){return Yr(this,Qe,Pt,!0,Rt)},N.prototype.writeFloatBE=function(Qe,Pt,Rt){return Yr(this,Qe,Pt,!1,Rt)},N.prototype.writeDoubleLE=function(Qe,Pt,Rt){return Qi(this,Qe,Pt,!0,Rt)},N.prototype.writeDoubleBE=function(Qe,Pt,Rt){return Qi(this,Qe,Pt,!1,Rt)},N.prototype.copy=function(Qe,Pt,Rt,qn){if(!N.isBuffer(Qe))throw new TypeError("argument should be a Buffer");if(Rt||(Rt=0),qn||0===qn||(qn=this.length),Pt>=Qe.length&&(Pt=Qe.length),Pt||(Pt=0),qn>0&&qn<Rt&&(qn=Rt),qn===Rt||0===Qe.length||0===this.length)return 0;if(Pt<0)throw new RangeError("targetStart out of bounds");if(Rt<0||Rt>=this.length)throw new RangeError("Index out of range");if(qn<0)throw new RangeError("sourceEnd out of bounds");qn>this.length&&(qn=this.length),Qe.length-Pt<qn-Rt&&(qn=Qe.length-Pt+Rt);const wr=qn-Rt;return this===Qe&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(Pt,Rt,qn):Uint8Array.prototype.set.call(Qe,this.subarray(Rt,qn),Pt),wr},N.prototype.fill=function(Qe,Pt,Rt,qn){if("string"==typeof Qe){if("string"==typeof Pt?(qn=Pt,Pt=0,Rt=this.length):"string"==typeof Rt&&(qn=Rt,Rt=this.length),void 0!==qn&&"string"!=typeof qn)throw new TypeError("encoding must be a string");if("string"==typeof qn&&!N.isEncoding(qn))throw new TypeError("Unknown encoding: "+qn);if(1===Qe.length){const Gr=Qe.charCodeAt(0);("utf8"===qn&&Gr<128||"latin1"===qn)&&(Qe=Gr)}}else"number"==typeof Qe?Qe&=255:"boolean"==typeof Qe&&(Qe=Number(Qe));if(Pt<0||this.length<Pt||this.length<Rt)throw new RangeError("Out of range index");if(Rt<=Pt)return this;let wr;if(Pt>>>=0,Rt=void 0===Rt?this.length:Rt>>>0,Qe||(Qe=0),"number"==typeof Qe)for(wr=Pt;wr<Rt;++wr)this[wr]=Qe;else{const Gr=N.isBuffer(Qe)?Qe:N.from(Qe,qn),Fi=Gr.length;if(0===Fi)throw new TypeError('The value "'+Qe+'" is invalid for argument "value"');for(wr=0;wr<Rt-Pt;++wr)this[wr+Pt]=Gr[wr%Fi]}return this};const Di={};function ji(Qe,Pt,Rt){Di[Qe]=class extends Rt{constructor(){super(),Object.defineProperty(this,"message",{value:Pt.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${Qe}]`,delete this.name}get code(){return Qe}set code(qn){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:qn,writable:!0})}toString(){return`${this.name} [${Qe}]: ${this.message}`}}}function Wr(Qe){let Pt="",Rt=Qe.length;const qn="-"===Qe[0]?1:0;for(;Rt>=qn+4;Rt-=3)Pt=`_${Qe.slice(Rt-3,Rt)}${Pt}`;return`${Qe.slice(0,Rt)}${Pt}`}function Bn(Qe,Pt,Rt,qn,wr,Gr){if(Qe>Rt||Qe<Pt){const Fi="bigint"==typeof Pt?"n":"";let Ws;throw Ws=Gr>3?0===Pt||Pt===BigInt(0)?`>= 0${Fi} and < 2${Fi} ** ${8*(Gr+1)}${Fi}`:`>= -(2${Fi} ** ${8*(Gr+1)-1}${Fi}) and < 2 ** ${8*(Gr+1)-1}${Fi}`:`>= ${Pt}${Fi} and <= ${Rt}${Fi}`,new Di.ERR_OUT_OF_RANGE("value",Ws,Qe)}var Fi,Ws,Zo;Fi=qn,Zo=Gr,bn(Ws=wr,"offset"),void 0!==Fi[Ws]&&void 0!==Fi[Ws+Zo]||Xr(Ws,Fi.length-(Zo+1))}function bn(Qe,Pt){if("number"!=typeof Qe)throw new Di.ERR_INVALID_ARG_TYPE(Pt,"number",Qe)}function Xr(Qe,Pt,Rt){throw Math.floor(Qe)!==Qe?(bn(Qe,Rt),new Di.ERR_OUT_OF_RANGE(Rt||"offset","an integer",Qe)):Pt<0?new Di.ERR_BUFFER_OUT_OF_BOUNDS:new Di.ERR_OUT_OF_RANGE(Rt||"offset",`>= ${Rt?1:0} and <= ${Pt}`,Qe)}ji("ERR_BUFFER_OUT_OF_BOUNDS",function(Qe){return Qe?`${Qe} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),ji("ERR_INVALID_ARG_TYPE",function(Qe,Pt){return`The "${Qe}" argument must be of type number. Received type ${typeof Pt}`},TypeError),ji("ERR_OUT_OF_RANGE",function(Qe,Pt,Rt){let qn=`The value of "${Qe}" is out of range.`,wr=Rt;return Number.isInteger(Rt)&&Math.abs(Rt)>Wm(2,32)?wr=Wr(String(Rt)):"bigint"==typeof Rt&&(wr=String(Rt),(Rt>Wm(BigInt(2),BigInt(32))||Rt<-Wm(BigInt(2),BigInt(32)))&&(wr=Wr(wr)),wr+="n"),qn+=` It must be ${Pt}. Received ${wr}`,qn},RangeError);const Ni=/[^+/0-9A-Za-z-_]/g;function Xi(Qe,Pt){let Rt;Pt=Pt||1/0;const qn=Qe.length;let wr=null;const Gr=[];for(let Fi=0;Fi<qn;++Fi){if(Rt=Qe.charCodeAt(Fi),Rt>55295&&Rt<57344){if(!wr){if(Rt>56319){(Pt-=3)>-1&&Gr.push(239,191,189);continue}if(Fi+1===qn){(Pt-=3)>-1&&Gr.push(239,191,189);continue}wr=Rt;continue}if(Rt<56320){(Pt-=3)>-1&&Gr.push(239,191,189),wr=Rt;continue}Rt=65536+(wr-55296<<10|Rt-56320)}else wr&&(Pt-=3)>-1&&Gr.push(239,191,189);if(wr=null,Rt<128){if((Pt-=1)<0)break;Gr.push(Rt)}else if(Rt<2048){if((Pt-=2)<0)break;Gr.push(Rt>>6|192,63&Rt|128)}else if(Rt<65536){if((Pt-=3)<0)break;Gr.push(Rt>>12|224,Rt>>6&63|128,63&Rt|128)}else{if(!(Rt<1114112))throw new Error("Invalid code point");if((Pt-=4)<0)break;Gr.push(Rt>>18|240,Rt>>12&63|128,Rt>>6&63|128,63&Rt|128)}}return Gr}function Bo(Qe){return o.toByteArray(function(Pt){if((Pt=(Pt=Pt.split("=")[0]).trim().replace(Ni,"")).length<2)return"";for(;Pt.length%4!=0;)Pt+="=";return Pt}(Qe))}function Ao(Qe,Pt,Rt,qn){let wr;for(wr=0;wr<qn&&!(wr+Rt>=Pt.length||wr>=Qe.length);++wr)Pt[wr+Rt]=Qe[wr];return wr}function zs(Qe,Pt){return Qe instanceof Pt||null!=Qe&&null!=Qe.constructor&&null!=Qe.constructor.name&&Qe.constructor.name===Pt.name}function Qs(Qe){return Qe!=Qe}const Ii=function(){const Qe="0123456789abcdef",Pt=new Array(256);for(let Rt=0;Rt<16;++Rt){const qn=16*Rt;for(let wr=0;wr<16;++wr)Pt[qn+wr]=Qe[Rt]+Qe[wr]}return Pt}();function uo(Qe){return"undefined"==typeof BigInt?bo:Qe}function bo(){throw new Error("BigInt not supported")}},8171:(n,s,t)=>{t(6450);var o=t(4058).Object,l=n.exports=function(_,C,x){return o.defineProperty(_,C,x)};o.defineProperty.sham&&(l.sham=!0)},4883:(n,s,t)=>{var o=t(1899),l=t(7475),_=t(9826),C=o.TypeError;n.exports=function(x){if(l(x))return x;throw C(_(x)+" is not a function")}},6059:(n,s,t)=>{var o=t(1899),l=t(941),_=o.String,C=o.TypeError;n.exports=function(x){if(l(x))return x;throw C(_(x)+" is not an object")}},2532:(n,s,t)=>{var o=t(5329),l=o({}.toString),_=o("".slice);n.exports=function(C){return _(l(C),8,-1)}},2029:(n,s,t)=>{var o=t(5746),l=t(5988),_=t(1887);n.exports=o?function(C,x,N){return l.f(C,x,_(1,N))}:function(C,x,N){return C[x]=N,C}},1887:n=>{n.exports=function(s,t){return{enumerable:!(1&s),configurable:!(2&s),writable:!(4&s),value:t}}},5746:(n,s,t)=>{var o=t(5981);n.exports=!o(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},1333:(n,s,t)=>{var o=t(1899),l=t(941),_=o.document,C=l(_)&&l(_.createElement);n.exports=function(x){return C?_.createElement(x):{}}},2861:(n,s,t)=>{var o=t(224);n.exports=o("navigator","userAgent")||""},3385:(n,s,t)=>{var o,l,_=t(1899),C=t(2861),x=_.process,N=_.Deno,V=x&&x.versions||N&&N.version,Q=V&&V.v8;Q&&(l=(o=Q.split("."))[0]>0&&o[0]<4?1:+(o[0]+o[1])),!l&&C&&(!(o=C.match(/Edge\/(\d+)/))||o[1]>=74)&&(o=C.match(/Chrome\/(\d+)/))&&(l=+o[1]),n.exports=l},6887:(n,s,t)=>{var o=t(1899),l=t(9730),_=t(5329),C=t(7475),x=t(9677).f,N=t(7252),V=t(4058),Q=t(6843),oe=t(2029),le=t(953),me=function(ye){var $e=function(Ne,ke,we){if(this instanceof $e){switch(arguments.length){case 0:return new ye;case 1:return new ye(Ne);case 2:return new ye(Ne,ke)}return new ye(Ne,ke,we)}return l(ye,this,arguments)};return $e.prototype=ye.prototype,$e};n.exports=function(ye,$e){var Ne,ke,we,G,Dt,bt,Bt,Jt,Mn=ye.target,zt=ye.global,xn=ye.stat,Nn=ye.proto,zr=zt?o:xn?o[Mn]:(o[Mn]||{}).prototype,Hr=zt?V:V[Mn]||oe(V,Mn,{})[Mn],Vr=Hr.prototype;for(we in $e)Ne=!N(zt?we:Mn+(xn?".":"#")+we,ye.forced)&&zr&&le(zr,we),Dt=Hr[we],Ne&&(bt=ye.noTargetGet?(Jt=x(zr,we))&&Jt.value:zr[we]),G=Ne&&bt?bt:$e[we],Ne&&typeof Dt==typeof G||(Bt=ye.bind&&Ne?Q(G,o):ye.wrap&&Ne?me(G):Nn&&C(G)?_(G):G,(ye.sham||G&&G.sham||Dt&&Dt.sham)&&oe(Bt,"sham",!0),oe(Hr,we,Bt),Nn&&(le(V,ke=Mn+"Prototype")||oe(V,ke,{}),oe(V[ke],we,G),ye.real&&Vr&&!Vr[we]&&oe(Vr,we,G)))}},5981:n=>{n.exports=function(s){try{return!!s()}catch(t){return!0}}},9730:(n,s,t)=>{var o=t(8285),l=Function.prototype,_=l.apply,C=l.call;n.exports="object"==typeof Reflect&&Reflect.apply||(o?C.bind(_):function(){return C.apply(_,arguments)})},6843:(n,s,t)=>{var o=t(5329),l=t(4883),_=t(8285),C=o(o.bind);n.exports=function(x,N){return l(x),void 0===N?x:_?C(x,N):function(){return x.apply(N,arguments)}}},8285:(n,s,t)=>{var o=t(5981);n.exports=!o(function(){var l=function(){}.bind();return"function"!=typeof l||l.hasOwnProperty("prototype")})},8834:(n,s,t)=>{var o=t(8285),l=Function.prototype.call;n.exports=o?l.bind(l):function(){return l.apply(l,arguments)}},5329:(n,s,t)=>{var o=t(8285),l=Function.prototype,C=l.call,x=o&&l.bind.bind(C,C);n.exports=o?function(N){return N&&x(N)}:function(N){return N&&function(){return C.apply(N,arguments)}}},224:(n,s,t)=>{var o=t(4058),l=t(1899),_=t(7475),C=function(x){return _(x)?x:void 0};n.exports=function(x,N){return arguments.length<2?C(o[x])||C(l[x]):o[x]&&o[x][N]||l[x]&&l[x][N]}},9733:(n,s,t)=>{var o=t(4883);n.exports=function(l,_){var C=l[_];return null==C?void 0:o(C)}},1899:(n,s,t)=>{var o=function(l){return l&&l.Math==Math&&l};n.exports=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof t.g&&t.g)||function(){return this}()||Function("return this")()},953:(n,s,t)=>{var o=t(5329),l=t(9678),_=o({}.hasOwnProperty);n.exports=Object.hasOwn||function(C,x){return _(l(C),x)}},2840:(n,s,t)=>{var o=t(5746),l=t(5981),_=t(1333);n.exports=!o&&!l(function(){return 7!=Object.defineProperty(_("div"),"a",{get:function(){return 7}}).a})},7026:(n,s,t)=>{var o=t(1899),l=t(5329),_=t(5981),C=t(2532),x=o.Object,N=l("".split);n.exports=_(function(){return!x("z").propertyIsEnumerable(0)})?function(V){return"String"==C(V)?N(V,""):x(V)}:x},7475:n=>{n.exports=function(s){return"function"==typeof s}},7252:(n,s,t)=>{var o=t(5981),l=t(7475),_=/#|\.prototype\./,C=function(oe,le){var me=N[x(oe)];return me==Q||me!=V&&(l(le)?o(le):!!le)},x=C.normalize=function(oe){return String(oe).replace(_,".").toLowerCase()},N=C.data={},V=C.NATIVE="N",Q=C.POLYFILL="P";n.exports=C},941:(n,s,t)=>{var o=t(7475);n.exports=function(l){return"object"==typeof l?null!==l:o(l)}},2529:n=>{n.exports=!0},6664:(n,s,t)=>{var o=t(1899),l=t(224),_=t(7475),C=t(7046),x=t(2302),N=o.Object;n.exports=x?function(V){return"symbol"==typeof V}:function(V){var Q=l("Symbol");return _(Q)&&C(Q.prototype,N(V))}},2497:(n,s,t)=>{var o=t(3385),l=t(5981);n.exports=!!Object.getOwnPropertySymbols&&!l(function(){var _=Symbol();return!String(_)||!(Object(_)instanceof Symbol)||!Symbol.sham&&o&&o<41})},5988:(n,s,t)=>{var o=t(1899),l=t(5746),_=t(2840),C=t(3937),x=t(6059),N=t(3894),V=o.TypeError,Q=Object.defineProperty,oe=Object.getOwnPropertyDescriptor;s.f=l?C?function($e,Ne,ke){if(x($e),Ne=N(Ne),x(ke),"function"==typeof $e&&"prototype"===Ne&&"value"in ke&&"writable"in ke&&!ke.writable){var we=oe($e,Ne);we&&we.writable&&($e[Ne]=ke.value,ke={configurable:"configurable"in ke?ke.configurable:we.configurable,enumerable:"enumerable"in ke?ke.enumerable:we.enumerable,writable:!1})}return Q($e,Ne,ke)}:Q:function($e,Ne,ke){if(x($e),Ne=N(Ne),x(ke),_)try{return Q($e,Ne,ke)}catch(we){}if("get"in ke||"set"in ke)throw V("Accessors not supported");return"value"in ke&&($e[Ne]=ke.value),$e}},9677:(n,s,t)=>{var o=t(5746),l=t(8834),_=t(6760),C=t(1887),x=t(4529),N=t(3894),V=t(953),Q=t(2840),oe=Object.getOwnPropertyDescriptor;s.f=o?oe:function(le,me){if(le=x(le),me=N(me),Q)try{return oe(le,me)}catch(ye){}if(V(le,me))return C(!l(_.f,le,me),le[me])}},7046:(n,s,t)=>{var o=t(5329);n.exports=o({}.isPrototypeOf)},6760:(n,s)=>{var t={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,l=o&&!t.call({1:2},1);s.f=l?function(_){var C=o(this,_);return!!C&&C.enumerable}:t},9811:(n,s,t)=>{var o=t(1899),l=t(8834),_=t(7475),C=t(941),x=o.TypeError;n.exports=function(N,V){var Q,oe;if("string"===V&&_(Q=N.toString)&&!C(oe=l(Q,N))||_(Q=N.valueOf)&&!C(oe=l(Q,N))||"string"!==V&&_(Q=N.toString)&&!C(oe=l(Q,N)))return oe;throw x("Can't convert object to primitive value")}},4058:n=>{n.exports={}},8219:(n,s,t)=>{var o=t(1899).TypeError;n.exports=function(l){if(null==l)throw o("Can't call method on "+l);return l}},4911:(n,s,t)=>{var o=t(1899),l=Object.defineProperty;n.exports=function(_,C){try{l(o,_,{value:C,configurable:!0,writable:!0})}catch(x){o[_]=C}return C}},3030:(n,s,t)=>{var o=t(1899),l=t(4911),_="__core-js_shared__",C=o[_]||l(_,{});n.exports=C},8726:(n,s,t)=>{var o=t(2529),l=t(3030);(n.exports=function(_,C){return l[_]||(l[_]=void 0!==C?C:{})})("versions",[]).push({version:"3.20.3",mode:o?"pure":"global",copyright:"\xa9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.20.3/LICENSE",source:"https://github.com/zloirock/core-js"})},4529:(n,s,t)=>{var o=t(7026),l=t(8219);n.exports=function(_){return o(l(_))}},9678:(n,s,t)=>{var o=t(1899),l=t(8219),_=o.Object;n.exports=function(C){return _(l(C))}},6935:(n,s,t)=>{var o=t(1899),l=t(8834),_=t(941),C=t(6664),x=t(9733),N=t(9811),V=t(9813),Q=o.TypeError,oe=V("toPrimitive");n.exports=function(le,me){if(!_(le)||C(le))return le;var ye,$e=x(le,oe);if($e){if(void 0===me&&(me="default"),ye=l($e,le,me),!_(ye)||C(ye))return ye;throw Q("Can't convert object to primitive value")}return void 0===me&&(me="number"),N(le,me)}},3894:(n,s,t)=>{var o=t(6935),l=t(6664);n.exports=function(_){var C=o(_,"string");return l(C)?C:C+""}},9826:(n,s,t)=>{var o=t(1899).String;n.exports=function(l){try{return o(l)}catch(_){return"Object"}}},9418:(n,s,t)=>{var o=t(5329),l=0,_=Math.random(),C=o(1..toString);n.exports=function(x){return"Symbol("+(void 0===x?"":x)+")_"+C(++l+_,36)}},2302:(n,s,t)=>{var o=t(2497);n.exports=o&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3937:(n,s,t)=>{var o=t(5746),l=t(5981);n.exports=o&&l(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},9813:(n,s,t)=>{var o=t(1899),l=t(8726),_=t(953),C=t(9418),x=t(2497),N=t(2302),V=l("wks"),Q=o.Symbol,oe=Q&&Q.for,le=N?Q:Q&&Q.withoutSetter||C;n.exports=function(me){if(!_(V,me)||!x&&"string"!=typeof V[me]){var ye="Symbol."+me;V[me]=x&&_(Q,me)?Q[me]:N&&oe?oe(ye):le(ye)}return V[me]}},6450:(n,s,t)=>{var o=t(6887),l=t(5746),_=t(5988).f;o({target:"Object",stat:!0,forced:Object.defineProperty!==_,sham:!l},{defineProperty:_})},1910:(n,s,t)=>{var o=t(8171);n.exports=o},7698:(n,s,t)=>{var o=t(8764).Buffer;function l(V){return V instanceof o||V instanceof Date||V instanceof RegExp}function _(V){if(V instanceof o){var Q=o.alloc?o.alloc(V.length):new o(V.length);return V.copy(Q),Q}if(V instanceof Date)return new Date(V.getTime());if(V instanceof RegExp)return new RegExp(V);throw new Error("Unexpected situation")}function C(V){var Q=[];return V.forEach(function(oe,le){Q[le]="object"==typeof oe&&null!==oe?Array.isArray(oe)?C(oe):l(oe)?_(oe):N({},oe):oe}),Q}function x(V,Q){return"__proto__"===Q?void 0:V[Q]}var N=n.exports=function(){if(arguments.length<1||"object"!=typeof arguments[0])return!1;if(arguments.length<2)return arguments[0];var V,Q,oe=arguments[0],le=Array.prototype.slice.call(arguments,1);return le.forEach(function(me){"object"!=typeof me||null===me||Array.isArray(me)||Object.keys(me).forEach(function(ye){return Q=x(oe,ye),(V=x(me,ye))===oe?void 0:"object"!=typeof V||null===V?void(oe[ye]=V):Array.isArray(V)?void(oe[ye]=C(V)):l(V)?void(oe[ye]=_(V)):"object"!=typeof Q||null===Q||Array.isArray(Q)?void(oe[ye]=N({},V)):void(oe[ye]=N(Q,V))})}),oe}},7187:n=>{var s,t="object"==typeof Reflect?Reflect:null,o=t&&"function"==typeof t.apply?t.apply:function(Ne,ke,we){return Function.prototype.apply.call(Ne,ke,we)};s=t&&"function"==typeof t.ownKeys?t.ownKeys:Object.getOwnPropertySymbols?function(Ne){return Object.getOwnPropertyNames(Ne).concat(Object.getOwnPropertySymbols(Ne))}:function(Ne){return Object.getOwnPropertyNames(Ne)};var l=Number.isNaN||function(Ne){return Ne!=Ne};function _(){_.init.call(this)}n.exports=_,n.exports.once=function(Ne,ke){return new Promise(function(we,G){function Dt(Bt){Ne.removeListener(ke,bt),G(Bt)}function bt(){"function"==typeof Ne.removeListener&&Ne.removeListener("error",Dt),we([].slice.call(arguments))}var Bt;$e(Ne,ke,bt,{once:!0}),"error"!==ke&&("function"==typeof(Bt=Ne).on&&$e(Bt,"error",Dt,{once:!0}))})},_.EventEmitter=_,_.prototype._events=void 0,_.prototype._eventsCount=0,_.prototype._maxListeners=void 0;var C=10;function x(Ne){if("function"!=typeof Ne)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof Ne)}function N(Ne){return void 0===Ne._maxListeners?_.defaultMaxListeners:Ne._maxListeners}function V(Ne,ke,we,G){var Dt,bt,Bt;if(x(we),void 0===(bt=Ne._events)?(bt=Ne._events=Object.create(null),Ne._eventsCount=0):(void 0!==bt.newListener&&(Ne.emit("newListener",ke,we.listener?we.listener:we),bt=Ne._events),Bt=bt[ke]),void 0===Bt)Bt=bt[ke]=we,++Ne._eventsCount;else if("function"==typeof Bt?Bt=bt[ke]=G?[we,Bt]:[Bt,we]:G?Bt.unshift(we):Bt.push(we),(Dt=N(Ne))>0&&Bt.length>Dt&&!Bt.warned){Bt.warned=!0;var Mn=new Error("Possible EventEmitter memory leak detected. "+Bt.length+" "+String(ke)+" listeners added. Use emitter.setMaxListeners() to increase limit");Mn.name="MaxListenersExceededWarning",Mn.emitter=Ne,Mn.type=ke,Mn.count=Bt.length,console&&console.warn&&console.warn(Mn)}return Ne}function Q(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function oe(Ne,ke,we){var G={fired:!1,wrapFn:void 0,target:Ne,type:ke,listener:we},Dt=Q.bind(G);return Dt.listener=we,G.wrapFn=Dt,Dt}function le(Ne,ke,we){var G=Ne._events;if(void 0===G)return[];var Dt=G[ke];return void 0===Dt?[]:"function"==typeof Dt?we?[Dt.listener||Dt]:[Dt]:we?function(bt){for(var Bt=new Array(bt.length),Jt=0;Jt<Bt.length;++Jt)Bt[Jt]=bt[Jt].listener||bt[Jt];return Bt}(Dt):ye(Dt,Dt.length)}function me(Ne){var ke=this._events;if(void 0!==ke){var we=ke[Ne];if("function"==typeof we)return 1;if(void 0!==we)return we.length}return 0}function ye(Ne,ke){for(var we=new Array(ke),G=0;G<ke;++G)we[G]=Ne[G];return we}function $e(Ne,ke,we,G){if("function"==typeof Ne.on)G.once?Ne.once(ke,we):Ne.on(ke,we);else{if("function"!=typeof Ne.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof Ne);Ne.addEventListener(ke,function Dt(bt){G.once&&Ne.removeEventListener(ke,Dt),we(bt)})}}Object.defineProperty(_,"defaultMaxListeners",{enumerable:!0,get:function(){return C},set:function(Ne){if("number"!=typeof Ne||Ne<0||l(Ne))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+Ne+".");C=Ne}}),_.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},_.prototype.setMaxListeners=function(Ne){if("number"!=typeof Ne||Ne<0||l(Ne))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+Ne+".");return this._maxListeners=Ne,this},_.prototype.getMaxListeners=function(){return N(this)},_.prototype.emit=function(Ne){for(var ke=[],we=1;we<arguments.length;we++)ke.push(arguments[we]);var G="error"===Ne,Dt=this._events;if(void 0!==Dt)G=G&&void 0===Dt.error;else if(!G)return!1;if(G){var bt;if(ke.length>0&&(bt=ke[0]),bt instanceof Error)throw bt;var Bt=new Error("Unhandled error."+(bt?" ("+bt.message+")":""));throw Bt.context=bt,Bt}var Jt=Dt[Ne];if(void 0===Jt)return!1;if("function"==typeof Jt)o(Jt,this,ke);else{var Mn=Jt.length,zt=ye(Jt,Mn);for(we=0;we<Mn;++we)o(zt[we],this,ke)}return!0},_.prototype.on=_.prototype.addListener=function(Ne,ke){return V(this,Ne,ke,!1)},_.prototype.prependListener=function(Ne,ke){return V(this,Ne,ke,!0)},_.prototype.once=function(Ne,ke){return x(ke),this.on(Ne,oe(this,Ne,ke)),this},_.prototype.prependOnceListener=function(Ne,ke){return x(ke),this.prependListener(Ne,oe(this,Ne,ke)),this},_.prototype.off=_.prototype.removeListener=function(Ne,ke){var we,G,Dt,bt,Bt;if(x(ke),void 0===(G=this._events))return this;if(void 0===(we=G[Ne]))return this;if(we===ke||we.listener===ke)0==--this._eventsCount?this._events=Object.create(null):(delete G[Ne],G.removeListener&&this.emit("removeListener",Ne,we.listener||ke));else if("function"!=typeof we){for(Dt=-1,bt=we.length-1;bt>=0;bt--)if(we[bt]===ke||we[bt].listener===ke){Bt=we[bt].listener,Dt=bt;break}if(Dt<0)return this;0===Dt?we.shift():function(Jt,Mn){for(;Mn+1<Jt.length;Mn++)Jt[Mn]=Jt[Mn+1];Jt.pop()}(we,Dt),1===we.length&&(G[Ne]=we[0]),void 0!==G.removeListener&&this.emit("removeListener",Ne,Bt||ke)}return this},_.prototype.removeAllListeners=function(Ne){var ke,we,G;if(void 0===(we=this._events))return this;if(void 0===we.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==we[Ne]&&(0==--this._eventsCount?this._events=Object.create(null):delete we[Ne]),this;if(0===arguments.length){var Dt,bt=Object.keys(we);for(G=0;G<bt.length;++G)"removeListener"!==(Dt=bt[G])&&this.removeAllListeners(Dt);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(ke=we[Ne]))this.removeListener(Ne,ke);else if(void 0!==ke)for(G=ke.length-1;G>=0;G--)this.removeListener(Ne,ke[G]);return this},_.prototype.listeners=function(Ne){return le(this,Ne,!0)},_.prototype.rawListeners=function(Ne){return le(this,Ne,!1)},_.listenerCount=function(Ne,ke){return"function"==typeof Ne.listenerCount?Ne.listenerCount(ke):me.call(Ne,ke)},_.prototype.listenerCount=me,_.prototype.eventNames=function(){return this._eventsCount>0?s(this._events):[]}},5717:n=>{n.exports="function"==typeof Object.create?function(s,t){t&&(s.super_=t,s.prototype=Object.create(t.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}))}:function(s,t){if(t){s.super_=t;var o=function(){};o.prototype=t.prototype,s.prototype=new o,s.prototype.constructor=s}}},4155:n=>{var s,t,o=n.exports={};function l(){throw new Error("setTimeout has not been defined")}function _(){throw new Error("clearTimeout has not been defined")}function C($e){if(s===setTimeout)return setTimeout($e,0);if((s===l||!s)&&setTimeout)return s=setTimeout,setTimeout($e,0);try{return s($e,0)}catch(Ne){try{return s.call(null,$e,0)}catch(ke){return s.call(this,$e,0)}}}!function(){try{s="function"==typeof setTimeout?setTimeout:l}catch($e){s=l}try{t="function"==typeof clearTimeout?clearTimeout:_}catch($e){t=_}}();var x,N=[],V=!1,Q=-1;function oe(){V&&x&&(V=!1,x.length?N=x.concat(N):Q=-1,N.length&&le())}function le(){if(!V){var $e=C(oe);V=!0;for(var Ne=N.length;Ne;){for(x=N,N=[];++Q<Ne;)x&&x[Q].run();Q=-1,Ne=N.length}x=null,V=!1,function(ke){if(t===clearTimeout)return clearTimeout(ke);if((t===_||!t)&&clearTimeout)return t=clearTimeout,clearTimeout(ke);try{t(ke)}catch(we){try{return t.call(null,ke)}catch(G){return t.call(this,ke)}}}($e)}}function me($e,Ne){this.fun=$e,this.array=Ne}function ye(){}o.nextTick=function($e){var Ne=new Array(arguments.length-1);if(arguments.length>1)for(var ke=1;ke<arguments.length;ke++)Ne[ke-1]=arguments[ke];N.push(new me($e,Ne)),1!==N.length||V||C(le)},me.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=ye,o.addListener=ye,o.once=ye,o.off=ye,o.removeListener=ye,o.removeAllListeners=ye,o.emit=ye,o.prependListener=ye,o.prependOnceListener=ye,o.listeners=function($e){return[]},o.binding=function($e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function($e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},1798:(n,s,t)=>{var o=t(4155),l=65536,C=t(396).Buffer,x=t.g.crypto||t.g.msCrypto;n.exports=x&&x.getRandomValues?function(N,V){if(N>4294967295)throw new RangeError("requested too many random bytes");var Q=C.allocUnsafe(N);if(N>0)if(N>l)for(var oe=0;oe<N;oe+=l)x.getRandomValues(Q.slice(oe,oe+l));else x.getRandomValues(Q);return"function"==typeof V?o.nextTick(function(){V(null,Q)}):Q}:function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}},4281:n=>{var s={};function t(l,_,C){C||(C=Error);var x=function(N){var V,Q;function oe(le,me,ye){return N.call(this,"string"==typeof _?_:_(le,me,ye))||this}return Q=N,(V=oe).prototype=Object.create(Q.prototype),V.prototype.constructor=V,V.__proto__=Q,oe}(C);x.prototype.name=C.name,x.prototype.code=l,s[l]=x}function o(l,_){if(Array.isArray(l)){var C=l.length;return l=l.map(function(x){return String(x)}),C>2?"one of ".concat(_," ").concat(l.slice(0,C-1).join(", "),", or ")+l[C-1]:2===C?"one of ".concat(_," ").concat(l[0]," or ").concat(l[1]):"of ".concat(_," ").concat(l[0])}return"of ".concat(_," ").concat(String(l))}t("ERR_INVALID_OPT_VALUE",function(l,_){return'The value "'+_+'" is invalid for option "'+l+'"'},TypeError),t("ERR_INVALID_ARG_TYPE",function(l,_,C){var x,Q,le,ye;if("string"==typeof _&&"not "===_.substr(0,"not ".length)?(x="must not be",_=_.replace(/^not /,"")):x="must be",le=l,(void 0===ye||ye>le.length)&&(ye=le.length)," argument"===le.substring(ye-" argument".length,ye))Q="The ".concat(l," ").concat(x," ").concat(o(_,"type"));else{var oe=function(le,me,ye){return"number"!=typeof ye&&(ye=0),!(ye+".".length>le.length)&&-1!==le.indexOf(".",ye)}(l)?"property":"argument";Q='The "'.concat(l,'" ').concat(oe," ").concat(x," ").concat(o(_,"type"))}return Q+". Received type ".concat(typeof C)},TypeError),t("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),t("ERR_METHOD_NOT_IMPLEMENTED",function(l){return"The "+l+" method is not implemented"}),t("ERR_STREAM_PREMATURE_CLOSE","Premature close"),t("ERR_STREAM_DESTROYED",function(l){return"Cannot call "+l+" after a stream was destroyed"}),t("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),t("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),t("ERR_STREAM_WRITE_AFTER_END","write after end"),t("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),t("ERR_UNKNOWN_ENCODING",function(l){return"Unknown encoding: "+l},TypeError),t("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),n.exports.q=s},6753:(n,s,t)=>{var o=t(4155),l=Object.keys||function(me){var ye=[];for(var $e in me)ye.push($e);return ye};n.exports=Q;var _=t(9481),C=t(4229);t(5717)(Q,_);for(var x=l(C.prototype),N=0;N<x.length;N++){var V=x[N];Q.prototype[V]||(Q.prototype[V]=C.prototype[V])}function Q(me){if(!(this instanceof Q))return new Q(me);_.call(this,me),C.call(this,me),this.allowHalfOpen=!0,me&&(!1===me.readable&&(this.readable=!1),!1===me.writable&&(this.writable=!1),!1===me.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",oe)))}function oe(){this._writableState.ended||o.nextTick(le,this)}function le(me){me.end()}Object.defineProperty(Q.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(Q.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(Q.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(Q.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(me){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=me,this._writableState.destroyed=me)}})},2725:(n,s,t)=>{n.exports=l;var o=t(4605);function l(_){if(!(this instanceof l))return new l(_);o.call(this,_)}t(5717)(l,o),l.prototype._transform=function(_,C,x){x(null,_)}},9481:(n,s,t)=>{var o,l=t(4155);n.exports=zt,zt.ReadableState=Mn,t(7187);var V,_=function(Bn,bn){return Bn.listeners(bn).length},C=t(2503),x=t(8764).Buffer,N=t.g.Uint8Array||function(){},Q=t(4616);V=Q&&Q.debuglog?Q.debuglog("stream"):function(){};var oe,le,me,ye=t(7327),$e=t(1195),Ne=t(2457).getHighWaterMark,ke=t(4281).q,we=ke.ERR_INVALID_ARG_TYPE,G=ke.ERR_STREAM_PUSH_AFTER_EOF,Dt=ke.ERR_METHOD_NOT_IMPLEMENTED,bt=ke.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;t(5717)(zt,C);var Bt=$e.errorOrDestroy,Jt=["error","close","destroy","pause","resume"];function Mn(Bn,bn,Xr){o=o||t(6753),"boolean"!=typeof Xr&&(Xr=bn instanceof o),this.objectMode=!!(Bn=Bn||{}).objectMode,Xr&&(this.objectMode=this.objectMode||!!Bn.readableObjectMode),this.highWaterMark=Ne(this,Bn,"readableHighWaterMark",Xr),this.buffer=new ye,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==Bn.emitClose,this.autoDestroy=!!Bn.autoDestroy,this.destroyed=!1,this.defaultEncoding=Bn.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,Bn.encoding&&(oe||(oe=t(2553).s),this.decoder=new oe(Bn.encoding),this.encoding=Bn.encoding)}function zt(Bn){if(o=o||t(6753),!(this instanceof zt))return new zt(Bn);this._readableState=new Mn(Bn,this,this instanceof o),this.readable=!0,Bn&&("function"==typeof Bn.read&&(this._read=Bn.read),"function"==typeof Bn.destroy&&(this._destroy=Bn.destroy)),C.call(this)}function xn(Bn,bn,Xr,Ni,Xi){V("readableAddChunk",bn);var Bo,zs,Qs,Ii,uo,Ao=Bn._readableState;if(null===bn)Ao.reading=!1,function(zs,Qs){if(V("onEofChunk"),!Qs.ended){if(Qs.decoder){var Ii=Qs.decoder.end();Ii&&Ii.length&&(Qs.buffer.push(Ii),Qs.length+=Qs.objectMode?1:Ii.length)}Qs.ended=!0,Qs.sync?Vr(zs):(Qs.needReadable=!1,Qs.emittedReadable||(Qs.emittedReadable=!0,qr(zs)))}}(Bn,Ao);else if(Xi||(zs=Ao,x.isBuffer(uo=Qs=bn)||uo instanceof N||"string"==typeof Qs||void 0===Qs||zs.objectMode||(Ii=new we("chunk",["string","Buffer","Uint8Array"],Qs)),Bo=Ii),Bo)Bt(Bn,Bo);else if(Ao.objectMode||bn&&bn.length>0)if("string"==typeof bn||Ao.objectMode||Object.getPrototypeOf(bn)===x.prototype||(bn=function(zs){return x.from(zs)}(bn)),Ni)Ao.endEmitted?Bt(Bn,new bt):Nn(Bn,Ao,bn,!0);else if(Ao.ended)Bt(Bn,new G);else{if(Ao.destroyed)return!1;Ao.reading=!1,Ao.decoder&&!Xr?(bn=Ao.decoder.write(bn),Ao.objectMode||0!==bn.length?Nn(Bn,Ao,bn,!1):On(Bn,Ao)):Nn(Bn,Ao,bn,!1)}else Ni||(Ao.reading=!1,On(Bn,Ao));return!Ao.ended&&(Ao.length<Ao.highWaterMark||0===Ao.length)}function Nn(Bn,bn,Xr,Ni){bn.flowing&&0===bn.length&&!bn.sync?(bn.awaitDrain=0,Bn.emit("data",Xr)):(bn.length+=bn.objectMode?1:Xr.length,Ni?bn.buffer.unshift(Xr):bn.buffer.push(Xr),bn.needReadable&&Vr(Bn)),On(Bn,bn)}Object.defineProperty(zt.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(Bn){this._readableState&&(this._readableState.destroyed=Bn)}}),zt.prototype.destroy=$e.destroy,zt.prototype._undestroy=$e.undestroy,zt.prototype._destroy=function(Bn,bn){bn(Bn)},zt.prototype.push=function(Bn,bn){var Xr,Ni=this._readableState;return Ni.objectMode?Xr=!0:"string"==typeof Bn&&((bn=bn||Ni.defaultEncoding)!==Ni.encoding&&(Bn=x.from(Bn,bn),bn=""),Xr=!0),xn(this,Bn,bn,!1,Xr)},zt.prototype.unshift=function(Bn){return xn(this,Bn,null,!0,!1)},zt.prototype.isPaused=function(){return!1===this._readableState.flowing},zt.prototype.setEncoding=function(Bn){oe||(oe=t(2553).s);var bn=new oe(Bn);this._readableState.decoder=bn,this._readableState.encoding=this._readableState.decoder.encoding;for(var Xr=this._readableState.buffer.head,Ni="";null!==Xr;)Ni+=bn.write(Xr.data),Xr=Xr.next;return this._readableState.buffer.clear(),""!==Ni&&this._readableState.buffer.push(Ni),this._readableState.length=Ni.length,this};var zr=1073741824;function Hr(Bn,bn){return Bn<=0||0===bn.length&&bn.ended?0:bn.objectMode?1:Bn!=Bn?bn.flowing&&bn.length?bn.buffer.head.data.length:bn.length:(Bn>bn.highWaterMark&&(bn.highWaterMark=((Xr=Bn)>=zr?Xr=zr:(Xr--,Xr|=Xr>>>1,Xr|=Xr>>>2,Xr|=Xr>>>4,Xr|=Xr>>>8,Xr|=Xr>>>16,Xr++),Xr)),Bn<=bn.length?Bn:bn.ended?bn.length:(bn.needReadable=!0,0));var Xr}function Vr(Bn){var bn=Bn._readableState;V("emitReadable",bn.needReadable,bn.emittedReadable),bn.needReadable=!1,bn.emittedReadable||(V("emitReadable",bn.flowing),bn.emittedReadable=!0,l.nextTick(qr,Bn))}function qr(Bn){var bn=Bn._readableState;V("emitReadable_",bn.destroyed,bn.length,bn.ended),bn.destroyed||!bn.length&&!bn.ended||(Bn.emit("readable"),bn.emittedReadable=!1),bn.needReadable=!bn.flowing&&!bn.ended&&bn.length<=bn.highWaterMark,Yr(Bn)}function On(Bn,bn){bn.readingMore||(bn.readingMore=!0,l.nextTick(Jn,Bn,bn))}function Jn(Bn,bn){for(;!bn.reading&&!bn.ended&&(bn.length<bn.highWaterMark||bn.flowing&&0===bn.length);){var Xr=bn.length;if(V("maybeReadMore read 0"),Bn.read(0),Xr===bn.length)break}bn.readingMore=!1}function Qn(Bn){var bn=Bn._readableState;bn.readableListening=Bn.listenerCount("readable")>0,bn.resumeScheduled&&!bn.paused?bn.flowing=!0:Bn.listenerCount("data")>0&&Bn.resume()}function ur(Bn){V("readable nexttick read 0"),Bn.read(0)}function In(Bn,bn){V("resume",bn.reading),bn.reading||Bn.read(0),bn.resumeScheduled=!1,Bn.emit("resume"),Yr(Bn),bn.flowing&&!bn.reading&&Bn.read(0)}function Yr(Bn){var bn=Bn._readableState;for(V("flow",bn.flowing);bn.flowing&&null!==Bn.read(););}function Qi(Bn,bn){return 0===bn.length?null:(bn.objectMode?Xr=bn.buffer.shift():!Bn||Bn>=bn.length?(Xr=bn.decoder?bn.buffer.join(""):1===bn.buffer.length?bn.buffer.first():bn.buffer.concat(bn.length),bn.buffer.clear()):Xr=bn.buffer.consume(Bn,bn.decoder),Xr);var Xr}function Di(Bn){var bn=Bn._readableState;V("endReadable",bn.endEmitted),bn.endEmitted||(bn.ended=!0,l.nextTick(ji,bn,Bn))}function ji(Bn,bn){if(V("endReadableNT",Bn.endEmitted,Bn.length),!Bn.endEmitted&&0===Bn.length&&(Bn.endEmitted=!0,bn.readable=!1,bn.emit("end"),Bn.autoDestroy)){var Xr=bn._writableState;(!Xr||Xr.autoDestroy&&Xr.finished)&&bn.destroy()}}function Wr(Bn,bn){for(var Xr=0,Ni=Bn.length;Xr<Ni;Xr++)if(Bn[Xr]===bn)return Xr;return-1}zt.prototype.read=function(Bn){V("read",Bn),Bn=parseInt(Bn,10);var bn=this._readableState,Xr=Bn;if(0!==Bn&&(bn.emittedReadable=!1),0===Bn&&bn.needReadable&&((0!==bn.highWaterMark?bn.length>=bn.highWaterMark:bn.length>0)||bn.ended))return V("read: emitReadable",bn.length,bn.ended),0===bn.length&&bn.ended?Di(this):Vr(this),null;if(0===(Bn=Hr(Bn,bn))&&bn.ended)return 0===bn.length&&Di(this),null;var Ni,Xi=bn.needReadable;return V("need readable",Xi),(0===bn.length||bn.length-Bn<bn.highWaterMark)&&V("length less than watermark",Xi=!0),bn.ended||bn.reading?V("reading or ended",Xi=!1):Xi&&(V("do read"),bn.reading=!0,bn.sync=!0,0===bn.length&&(bn.needReadable=!0),this._read(bn.highWaterMark),bn.sync=!1,bn.reading||(Bn=Hr(Xr,bn))),null===(Ni=Bn>0?Qi(Bn,bn):null)?(bn.needReadable=bn.length<=bn.highWaterMark,Bn=0):(bn.length-=Bn,bn.awaitDrain=0),0===bn.length&&(bn.ended||(bn.needReadable=!0),Xr!==Bn&&bn.ended&&Di(this)),null!==Ni&&this.emit("data",Ni),Ni},zt.prototype._read=function(Bn){Bt(this,new Dt("_read()"))},zt.prototype.pipe=function(Bn,bn){var Xr=this,Ni=this._readableState;switch(Ni.pipesCount){case 0:Ni.pipes=Bn;break;case 1:Ni.pipes=[Ni.pipes,Bn];break;default:Ni.pipes.push(Bn)}Ni.pipesCount+=1,V("pipe count=%d opts=%j",Ni.pipesCount,bn);var Xi=bn&&!1===bn.end||Bn===l.stdout||Bn===l.stderr?Pt:Ao;function Ao(){V("onend"),Bn.end()}Ni.endEmitted?l.nextTick(Xi):Xr.once("end",Xi),Bn.on("unpipe",function Bo(Rt,qn){V("onunpipe"),Rt===Xr&&qn&&!1===qn.hasUnpiped&&(qn.hasUnpiped=!0,V("cleanup"),Bn.removeListener("close",bo),Bn.removeListener("finish",Qe),Bn.removeListener("drain",zs),Bn.removeListener("error",uo),Bn.removeListener("unpipe",Bo),Xr.removeListener("end",Ao),Xr.removeListener("end",Pt),Xr.removeListener("data",Ii),Qs=!0,!Ni.awaitDrain||Bn._writableState&&!Bn._writableState.needDrain||zs())});var Rt,zs=(Rt=Xr,function(){var qn=Rt._readableState;V("pipeOnDrain",qn.awaitDrain),qn.awaitDrain&&qn.awaitDrain--,0===qn.awaitDrain&&_(Rt,"data")&&(qn.flowing=!0,Yr(Rt))});Bn.on("drain",zs);var Qs=!1;function Ii(Rt){V("ondata");var qn=Bn.write(Rt);V("dest.write",qn),!1===qn&&((1===Ni.pipesCount&&Ni.pipes===Bn||Ni.pipesCount>1&&-1!==Wr(Ni.pipes,Bn))&&!Qs&&(V("false write response, pause",Ni.awaitDrain),Ni.awaitDrain++),Xr.pause())}function uo(Rt){V("onerror",Rt),Pt(),Bn.removeListener("error",uo),0===_(Bn,"error")&&Bt(Bn,Rt)}function bo(){Bn.removeListener("finish",Qe),Pt()}function Qe(){V("onfinish"),Bn.removeListener("close",bo),Pt()}function Pt(){V("unpipe"),Xr.unpipe(Bn)}return Xr.on("data",Ii),function(Rt,qn,wr){if("function"==typeof Rt.prependListener)return Rt.prependListener(qn,wr);Rt._events&&Rt._events[qn]?Array.isArray(Rt._events[qn])?Rt._events[qn].unshift(wr):Rt._events[qn]=[wr,Rt._events[qn]]:Rt.on(qn,wr)}(Bn,"error",uo),Bn.once("close",bo),Bn.once("finish",Qe),Bn.emit("pipe",Xr),Ni.flowing||(V("pipe resume"),Xr.resume()),Bn},zt.prototype.unpipe=function(Bn){var bn=this._readableState,Xr={hasUnpiped:!1};if(0===bn.pipesCount)return this;if(1===bn.pipesCount)return Bn&&Bn!==bn.pipes||(Bn||(Bn=bn.pipes),bn.pipes=null,bn.pipesCount=0,bn.flowing=!1,Bn&&Bn.emit("unpipe",this,Xr)),this;if(!Bn){var Ni=bn.pipes,Xi=bn.pipesCount;bn.pipes=null,bn.pipesCount=0,bn.flowing=!1;for(var Bo=0;Bo<Xi;Bo++)Ni[Bo].emit("unpipe",this,{hasUnpiped:!1});return this}var Ao=Wr(bn.pipes,Bn);return-1===Ao||(bn.pipes.splice(Ao,1),bn.pipesCount-=1,1===bn.pipesCount&&(bn.pipes=bn.pipes[0]),Bn.emit("unpipe",this,Xr)),this},zt.prototype.addListener=zt.prototype.on=function(Bn,bn){var Xr=C.prototype.on.call(this,Bn,bn),Ni=this._readableState;return"data"===Bn?(Ni.readableListening=this.listenerCount("readable")>0,!1!==Ni.flowing&&this.resume()):"readable"===Bn&&(Ni.endEmitted||Ni.readableListening||(Ni.readableListening=Ni.needReadable=!0,Ni.flowing=!1,Ni.emittedReadable=!1,V("on readable",Ni.length,Ni.reading),Ni.length?Vr(this):Ni.reading||l.nextTick(ur,this))),Xr},zt.prototype.removeListener=function(Bn,bn){var Xr=C.prototype.removeListener.call(this,Bn,bn);return"readable"===Bn&&l.nextTick(Qn,this),Xr},zt.prototype.removeAllListeners=function(Bn){var bn=C.prototype.removeAllListeners.apply(this,arguments);return"readable"!==Bn&&void 0!==Bn||l.nextTick(Qn,this),bn},zt.prototype.resume=function(){var Xr,Bn=this._readableState;return Bn.flowing||(V("resume"),Bn.flowing=!Bn.readableListening,this,(Xr=Bn).resumeScheduled||(Xr.resumeScheduled=!0,l.nextTick(In,this,Xr))),Bn.paused=!1,this},zt.prototype.pause=function(){return V("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(V("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},zt.prototype.wrap=function(Bn){var bn=this,Xr=this._readableState,Ni=!1;for(var Xi in Bn.on("end",function(){if(V("wrapped end"),Xr.decoder&&!Xr.ended){var Ao=Xr.decoder.end();Ao&&Ao.length&&bn.push(Ao)}bn.push(null)}),Bn.on("data",function(Ao){V("wrapped data"),Xr.decoder&&(Ao=Xr.decoder.write(Ao)),Xr.objectMode&&null==Ao||(Xr.objectMode||Ao&&Ao.length)&&(bn.push(Ao)||(Ni=!0,Bn.pause()))}),Bn)void 0===this[Xi]&&"function"==typeof Bn[Xi]&&(this[Xi]=function(Ao){return function(){return Bn[Ao].apply(Bn,arguments)}}(Xi));for(var Bo=0;Bo<Jt.length;Bo++)Bn.on(Jt[Bo],this.emit.bind(this,Jt[Bo]));return this._read=function(Ao){V("wrapped _read",Ao),Ni&&(Ni=!1,Bn.resume())},this},"function"==typeof Symbol&&(zt.prototype[Symbol.asyncIterator]=function(){return void 0===le&&(le=t(5850)),le(this)}),Object.defineProperty(zt.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(zt.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(zt.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(Bn){this._readableState&&(this._readableState.flowing=Bn)}}),zt._fromList=Qi,Object.defineProperty(zt.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(zt.from=function(Bn,bn){return void 0===me&&(me=t(5167)),me(zt,Bn,bn)})},4605:(n,s,t)=>{n.exports=Q;var o=t(4281).q,l=o.ERR_METHOD_NOT_IMPLEMENTED,_=o.ERR_MULTIPLE_CALLBACK,C=o.ERR_TRANSFORM_ALREADY_TRANSFORMING,x=o.ERR_TRANSFORM_WITH_LENGTH_0,N=t(6753);function V(me,ye){var $e=this._transformState;$e.transforming=!1;var Ne=$e.writecb;if(null===Ne)return this.emit("error",new _);$e.writechunk=null,$e.writecb=null,null!=ye&&this.push(ye),Ne(me);var ke=this._readableState;ke.reading=!1,(ke.needReadable||ke.length<ke.highWaterMark)&&this._read(ke.highWaterMark)}function Q(me){if(!(this instanceof Q))return new Q(me);N.call(this,me),this._transformState={afterTransform:V.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,me&&("function"==typeof me.transform&&(this._transform=me.transform),"function"==typeof me.flush&&(this._flush=me.flush)),this.on("prefinish",oe)}function oe(){var me=this;"function"!=typeof this._flush||this._readableState.destroyed?le(this,null,null):this._flush(function(ye,$e){le(me,ye,$e)})}function le(me,ye,$e){if(ye)return me.emit("error",ye);if(null!=$e&&me.push($e),me._writableState.length)throw new x;if(me._transformState.transforming)throw new C;return me.push(null)}t(5717)(Q,N),Q.prototype.push=function(me,ye){return this._transformState.needTransform=!1,N.prototype.push.call(this,me,ye)},Q.prototype._transform=function(me,ye,$e){$e(new l("_transform()"))},Q.prototype._write=function(me,ye,$e){var Ne=this._transformState;if(Ne.writecb=$e,Ne.writechunk=me,Ne.writeencoding=ye,!Ne.transforming){var ke=this._readableState;(Ne.needTransform||ke.needReadable||ke.length<ke.highWaterMark)&&this._read(ke.highWaterMark)}},Q.prototype._read=function(me){var ye=this._transformState;null===ye.writechunk||ye.transforming?ye.needTransform=!0:(ye.transforming=!0,this._transform(ye.writechunk,ye.writeencoding,ye.afterTransform))},Q.prototype._destroy=function(me,ye){N.prototype._destroy.call(this,me,function($e){ye($e)})}},4229:(n,s,t)=>{var o,l=t(4155);function _(On){var Jn=this;this.next=null,this.entry=null,this.finish=function(){!function(Qn,ur,In){var Yr=Qn.entry;for(Qn.entry=null;Yr;){var Qi=Yr.callback;ur.pendingcb--,Qi(void 0),Yr=Yr.next}ur.corkedRequestsFree.next=Qn}(Jn,On)}}n.exports=zt,zt.WritableState=Mn;var Q,C={deprecate:t(4927)},x=t(2503),N=t(8764).Buffer,V=t.g.Uint8Array||function(){},oe=t(1195),le=t(2457).getHighWaterMark,me=t(4281).q,ye=me.ERR_INVALID_ARG_TYPE,$e=me.ERR_METHOD_NOT_IMPLEMENTED,Ne=me.ERR_MULTIPLE_CALLBACK,ke=me.ERR_STREAM_CANNOT_PIPE,we=me.ERR_STREAM_DESTROYED,G=me.ERR_STREAM_NULL_VALUES,Dt=me.ERR_STREAM_WRITE_AFTER_END,bt=me.ERR_UNKNOWN_ENCODING,Bt=oe.errorOrDestroy;function Jt(){}function Mn(On,Jn,Qn){o=o||t(6753),"boolean"!=typeof Qn&&(Qn=Jn instanceof o),this.objectMode=!!(On=On||{}).objectMode,Qn&&(this.objectMode=this.objectMode||!!On.writableObjectMode),this.highWaterMark=le(this,On,"writableHighWaterMark",Qn),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=!(!1===On.decodeStrings),this.defaultEncoding=On.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(In){!function(Yr,Qi){var bn,Di=Yr._writableState,ji=Di.sync,Wr=Di.writecb;if("function"!=typeof Wr)throw new Ne;if((bn=Di).writing=!1,bn.writecb=null,bn.length-=bn.writelen,bn.writelen=0,Qi)!function(bn,Xr,Ni,Xi,Bo){--Xr.pendingcb,Ni?(l.nextTick(Bo,Xi),l.nextTick(qr,bn,Xr),bn._writableState.errorEmitted=!0,Bt(bn,Xi)):(Bo(Xi),bn._writableState.errorEmitted=!0,Bt(bn,Xi),qr(bn,Xr))}(Yr,Di,ji,Qi,Wr);else{var Bn=Hr(Di)||Yr.destroyed;Bn||Di.corked||Di.bufferProcessing||!Di.bufferedRequest||zr(Yr,Di),ji?l.nextTick(Nn,Yr,Di,Bn,Wr):Nn(Yr,Di,Bn,Wr)}}(Jn,In)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==On.emitClose,this.autoDestroy=!!On.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new _(this)}function zt(On){var Jn=this instanceof(o=o||t(6753));if(!Jn&&!Q.call(zt,this))return new zt(On);this._writableState=new Mn(On,this,Jn),this.writable=!0,On&&("function"==typeof On.write&&(this._write=On.write),"function"==typeof On.writev&&(this._writev=On.writev),"function"==typeof On.destroy&&(this._destroy=On.destroy),"function"==typeof On.final&&(this._final=On.final)),x.call(this)}function xn(On,Jn,Qn,ur,In,Yr,Qi){Jn.writelen=ur,Jn.writecb=Qi,Jn.writing=!0,Jn.sync=!0,Jn.destroyed?Jn.onwrite(new we("write")):Qn?On._writev(In,Jn.onwrite):On._write(In,Yr,Jn.onwrite),Jn.sync=!1}function Nn(On,Jn,Qn,ur){var In,Yr;Qn||(In=On,0===(Yr=Jn).length&&Yr.needDrain&&(Yr.needDrain=!1,In.emit("drain"))),Jn.pendingcb--,ur(),qr(On,Jn)}function zr(On,Jn){Jn.bufferProcessing=!0;var Qn=Jn.bufferedRequest;if(On._writev&&Qn&&Qn.next){var In=new Array(Jn.bufferedRequestCount),Yr=Jn.corkedRequestsFree;Yr.entry=Qn;for(var Qi=0,Di=!0;Qn;)In[Qi]=Qn,Qn.isBuf||(Di=!1),Qn=Qn.next,Qi+=1;In.allBuffers=Di,xn(On,Jn,!0,Jn.length,In,"",Yr.finish),Jn.pendingcb++,Jn.lastBufferedRequest=null,Yr.next?(Jn.corkedRequestsFree=Yr.next,Yr.next=null):Jn.corkedRequestsFree=new _(Jn),Jn.bufferedRequestCount=0}else{for(;Qn;){var ji=Qn.chunk;if(xn(On,Jn,!1,Jn.objectMode?1:ji.length,ji,Qn.encoding,Qn.callback),Qn=Qn.next,Jn.bufferedRequestCount--,Jn.writing)break}null===Qn&&(Jn.lastBufferedRequest=null)}Jn.bufferedRequest=Qn,Jn.bufferProcessing=!1}function Hr(On){return On.ending&&0===On.length&&null===On.bufferedRequest&&!On.finished&&!On.writing}function Vr(On,Jn){On._final(function(Qn){Jn.pendingcb--,Qn&&Bt(On,Qn),Jn.prefinished=!0,On.emit("prefinish"),qr(On,Jn)})}function qr(On,Jn){var In,Yr,Qn=Hr(Jn);if(Qn&&(In=On,(Yr=Jn).prefinished||Yr.finalCalled||("function"!=typeof In._final||Yr.destroyed?(Yr.prefinished=!0,In.emit("prefinish")):(Yr.pendingcb++,Yr.finalCalled=!0,l.nextTick(Vr,In,Yr))),0===Jn.pendingcb&&(Jn.finished=!0,On.emit("finish"),Jn.autoDestroy))){var ur=On._readableState;(!ur||ur.autoDestroy&&ur.endEmitted)&&On.destroy()}return Qn}t(5717)(zt,x),Mn.prototype.getBuffer=function(){for(var On=this.bufferedRequest,Jn=[];On;)Jn.push(On),On=On.next;return Jn},function(){try{Object.defineProperty(Mn.prototype,"buffer",{get:C.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(On){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(Q=Function.prototype[Symbol.hasInstance],Object.defineProperty(zt,Symbol.hasInstance,{value:function(On){return!!Q.call(this,On)||this===zt&&On&&On._writableState instanceof Mn}})):Q=function(On){return On instanceof this},zt.prototype.pipe=function(){Bt(this,new ke)},zt.prototype.write=function(On,Jn,Qn){var ur,Di,ji,Wr,In=this._writableState,Yr=!1,Qi=!In.objectMode&&(N.isBuffer(ur=On)||ur instanceof V);return Qi&&!N.isBuffer(On)&&(On=N.from(On)),"function"==typeof Jn&&(Qn=Jn,Jn=null),Qi?Jn="buffer":Jn||(Jn=In.defaultEncoding),"function"!=typeof Qn&&(Qn=Jt),In.ending?(Di=this,ji=Qn,Wr=new Dt,Bt(Di,Wr),l.nextTick(ji,Wr)):(Qi||function(Di,ji,Wr,Bn){var bn;return null===Wr?bn=new G:"string"==typeof Wr||ji.objectMode||(bn=new ye("chunk",["string","Buffer"],Wr)),!bn||(Bt(Di,bn),l.nextTick(Bn,bn),!1)}(this,In,On,Qn))&&(In.pendingcb++,Yr=function(Di,ji,Wr,Bn,bn,Xr){if(!Wr){var Ni=(Qs=Bn,(zs=ji).objectMode||!1===zs.decodeStrings||"string"!=typeof Qs||(Qs=N.from(Qs,bn)),Qs);Bn!==Ni&&(Wr=!0,bn="buffer",Bn=Ni)}var zs,Qs,Xi=ji.objectMode?1:Bn.length;ji.length+=Xi;var Bo=ji.length<ji.highWaterMark;if(Bo||(ji.needDrain=!0),ji.writing||ji.corked){var Ao=ji.lastBufferedRequest;ji.lastBufferedRequest={chunk:Bn,encoding:bn,isBuf:Wr,callback:Xr,next:null},Ao?Ao.next=ji.lastBufferedRequest:ji.bufferedRequest=ji.lastBufferedRequest,ji.bufferedRequestCount+=1}else xn(Di,ji,!1,Xi,Bn,bn,Xr);return Bo}(this,In,Qi,On,Jn,Qn)),Yr},zt.prototype.cork=function(){this._writableState.corked++},zt.prototype.uncork=function(){var On=this._writableState;On.corked&&(On.corked--,On.writing||On.corked||On.bufferProcessing||!On.bufferedRequest||zr(this,On))},zt.prototype.setDefaultEncoding=function(On){if("string"==typeof On&&(On=On.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((On+"").toLowerCase())>-1))throw new bt(On);return this._writableState.defaultEncoding=On,this},Object.defineProperty(zt.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(zt.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),zt.prototype._write=function(On,Jn,Qn){Qn(new $e("_write()"))},zt.prototype._writev=null,zt.prototype.end=function(On,Jn,Qn){var Yr,Qi,ur=this._writableState;return"function"==typeof On?(Qn=On,On=null,Jn=null):"function"==typeof Jn&&(Qn=Jn,Jn=null),null!=On&&this.write(On,Jn),ur.corked&&(ur.corked=1,this.uncork()),ur.ending||(this,Qi=Qn,(Yr=ur).ending=!0,qr(this,Yr),Qi&&(Yr.finished?l.nextTick(Qi):this.once("finish",Qi)),Yr.ended=!0,this.writable=!1),this},Object.defineProperty(zt.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(zt.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(On){this._writableState&&(this._writableState.destroyed=On)}}),zt.prototype.destroy=oe.destroy,zt.prototype._undestroy=oe.undestroy,zt.prototype._destroy=function(On,Jn){Jn(On)}},5850:(n,s,t)=>{var o,l=t(4155);function _(G,Dt,bt){return Dt in G?Object.defineProperty(G,Dt,{value:bt,enumerable:!0,configurable:!0,writable:!0}):G[Dt]=bt,G}var C=t(8610),x=Symbol("lastResolve"),N=Symbol("lastReject"),V=Symbol("error"),Q=Symbol("ended"),oe=Symbol("lastPromise"),le=Symbol("handlePromise"),me=Symbol("stream");function ye(G,Dt){return{value:G,done:Dt}}function $e(G){var Dt=G[x];if(null!==Dt){var bt=G[me].read();null!==bt&&(G[oe]=null,G[x]=null,G[N]=null,Dt(ye(bt,!1)))}}function Ne(G){l.nextTick($e,G)}var ke=Object.getPrototypeOf(function(){}),we=Object.setPrototypeOf((_(o={get stream(){return this[me]},next:function(){var G=this,Dt=this[V];if(null!==Dt)return Promise.reject(Dt);if(this[Q])return Promise.resolve(ye(void 0,!0));if(this[me].destroyed)return new Promise(function(Mn,zt){l.nextTick(function(){G[V]?zt(G[V]):Mn(ye(void 0,!0))})});var bt,Mn,zt,Bt=this[oe];if(Bt)bt=new Promise((Mn=Bt,zt=this,function(xn,Nn){Mn.then(function(){zt[Q]?xn(ye(void 0,!0)):zt[le](xn,Nn)},Nn)}));else{var Jt=this[me].read();if(null!==Jt)return Promise.resolve(ye(Jt,!1));bt=new Promise(this[le])}return this[oe]=bt,bt}},Symbol.asyncIterator,function(){return this}),_(o,"return",function(){var G=this;return new Promise(function(Dt,bt){G[me].destroy(null,function(Bt){Bt?bt(Bt):Dt(ye(void 0,!0))})})}),o),ke);n.exports=function(G){var Dt,bt=Object.create(we,(_(Dt={},me,{value:G,writable:!0}),_(Dt,x,{value:null,writable:!0}),_(Dt,N,{value:null,writable:!0}),_(Dt,V,{value:null,writable:!0}),_(Dt,Q,{value:G._readableState.endEmitted,writable:!0}),_(Dt,le,{value:function(Bt,Jt){var Mn=bt[me].read();Mn?(bt[oe]=null,bt[x]=null,bt[N]=null,Bt(ye(Mn,!1))):(bt[x]=Bt,bt[N]=Jt)},writable:!0}),Dt));return bt[oe]=null,C(G,function(Bt){if(Bt&&"ERR_STREAM_PREMATURE_CLOSE"!==Bt.code){var Jt=bt[N];return null!==Jt&&(bt[oe]=null,bt[x]=null,bt[N]=null,Jt(Bt)),void(bt[V]=Bt)}var Mn=bt[x];null!==Mn&&(bt[oe]=null,bt[x]=null,bt[N]=null,Mn(ye(void 0,!0))),bt[Q]=!0}),G.on("readable",Ne.bind(null,bt)),bt}},7327:(n,s,t)=>{function o(V,Q){var oe=Object.keys(V);if(Object.getOwnPropertySymbols){var le=Object.getOwnPropertySymbols(V);Q&&(le=le.filter(function(me){return Object.getOwnPropertyDescriptor(V,me).enumerable})),oe.push.apply(oe,le)}return oe}function l(V,Q,oe){return Q in V?Object.defineProperty(V,Q,{value:oe,enumerable:!0,configurable:!0,writable:!0}):V[Q]=oe,V}var C=t(8764).Buffer,x=t(2361).inspect,N=x&&x.custom||"inspect";n.exports=function(){function V(){(function(me,ye){if(!(me instanceof ye))throw new TypeError("Cannot call a class as a function")})(this,V),this.head=null,this.tail=null,this.length=0}var oe;return oe=[{key:"push",value:function(me){var ye={data:me,next:null};this.length>0?this.tail.next=ye:this.head=ye,this.tail=ye,++this.length}},{key:"unshift",value:function(me){var ye={data:me,next:this.head};0===this.length&&(this.tail=ye),this.head=ye,++this.length}},{key:"shift",value:function(){if(0!==this.length){var me=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,me}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(me){if(0===this.length)return"";for(var ye=this.head,$e=""+ye.data;ye=ye.next;)$e+=me+ye.data;return $e}},{key:"concat",value:function(me){if(0===this.length)return C.alloc(0);for(var ke=C.allocUnsafe(me>>>0),we=this.head,G=0;we;)C.prototype.copy.call(we.data,ke,G),G+=we.data.length,we=we.next;return ke}},{key:"consume",value:function(me,ye){var $e;return me<this.head.data.length?($e=this.head.data.slice(0,me),this.head.data=this.head.data.slice(me)):$e=me===this.head.data.length?this.shift():ye?this._getString(me):this._getBuffer(me),$e}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(me){var ye=this.head,$e=1,Ne=ye.data;for(me-=Ne.length;ye=ye.next;){var ke=ye.data,we=me>ke.length?ke.length:me;if(Ne+=we===ke.length?ke:ke.slice(0,me),0==(me-=we)){we===ke.length?(++$e,this.head=ye.next?ye.next:this.tail=null):(this.head=ye,ye.data=ke.slice(we));break}++$e}return this.length-=$e,Ne}},{key:"_getBuffer",value:function(me){var ye=C.allocUnsafe(me),$e=this.head,Ne=1;for($e.data.copy(ye),me-=$e.data.length;$e=$e.next;){var ke=$e.data,we=me>ke.length?ke.length:me;if(ke.copy(ye,ye.length-me,0,we),0==(me-=we)){we===ke.length?(++Ne,this.head=$e.next?$e.next:this.tail=null):(this.head=$e,$e.data=ke.slice(we));break}++Ne}return this.length-=Ne,ye}},{key:N,value:function(me,ye){return x(this,function($e){for(var Ne=1;Ne<arguments.length;Ne++){var ke=null!=arguments[Ne]?arguments[Ne]:{};Ne%2?o(Object(ke),!0).forEach(function(we){l($e,we,ke[we])}):Object.getOwnPropertyDescriptors?Object.defineProperties($e,Object.getOwnPropertyDescriptors(ke)):o(Object(ke)).forEach(function(we){Object.defineProperty($e,we,Object.getOwnPropertyDescriptor(ke,we))})}return $e}({},ye,{depth:0,customInspect:!1}))}}],oe&&function _(V,Q){for(var oe=0;oe<Q.length;oe++){var le=Q[oe];le.enumerable=le.enumerable||!1,le.configurable=!0,"value"in le&&(le.writable=!0),Object.defineProperty(V,le.key,le)}}(V.prototype,oe),V}()},1195:(n,s,t)=>{var o=t(4155);function l(x,N){C(x,N),_(x)}function _(x){x._writableState&&!x._writableState.emitClose||x._readableState&&!x._readableState.emitClose||x.emit("close")}function C(x,N){x.emit("error",N)}n.exports={destroy:function(x,N){var V=this;return this._readableState&&this._readableState.destroyed||this._writableState&&this._writableState.destroyed?(N?N(x):x&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,o.nextTick(C,this,x)):o.nextTick(C,this,x)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(x||null,function(le){!N&&le?V._writableState?V._writableState.errorEmitted?o.nextTick(_,V):(V._writableState.errorEmitted=!0,o.nextTick(l,V,le)):o.nextTick(l,V,le):N?(o.nextTick(_,V),N(le)):o.nextTick(_,V)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(x,N){var V=x._readableState,Q=x._writableState;V&&V.autoDestroy||Q&&Q.autoDestroy?x.destroy(N):x.emit("error",N)}}},8610:(n,s,t)=>{var o=t(4281).q.ERR_STREAM_PREMATURE_CLOSE;function l(){}n.exports=function _(C,x,N){if("function"==typeof x)return _(C,null,x);var G,Dt;x||(x={}),G=N||l,Dt=!1,N=function(){if(!Dt){Dt=!0;for(var bt=arguments.length,Bt=new Array(bt),Jt=0;Jt<bt;Jt++)Bt[Jt]=arguments[Jt];G.apply(this,Bt)}};var V=x.readable||!1!==x.readable&&C.readable,Q=x.writable||!1!==x.writable&&C.writable,oe=function(){C.writable||me()},le=C._writableState&&C._writableState.finished,me=function(){Q=!1,le=!0,V||N.call(C)},ye=C._readableState&&C._readableState.endEmitted,$e=function(){V=!1,ye=!0,Q||N.call(C)},Ne=function(G){N.call(C,G)},ke=function(){var G;return V&&!ye?(C._readableState&&C._readableState.ended||(G=new o),N.call(C,G)):Q&&!le?(C._writableState&&C._writableState.ended||(G=new o),N.call(C,G)):void 0},we=function(){C.req.on("finish",me)};return function(G){return G.setHeader&&"function"==typeof G.abort}(C)?(C.on("complete",me),C.on("abort",ke),C.req?we():C.on("request",we)):Q&&!C._writableState&&(C.on("end",oe),C.on("close",oe)),C.on("end",$e),C.on("finish",me),!1!==x.error&&C.on("error",Ne),C.on("close",ke),function(){C.removeListener("complete",me),C.removeListener("abort",ke),C.removeListener("request",we),C.req&&C.req.removeListener("finish",me),C.removeListener("end",oe),C.removeListener("close",oe),C.removeListener("finish",me),C.removeListener("end",$e),C.removeListener("error",Ne),C.removeListener("close",ke)}}},5167:n=>{n.exports=function(){throw new Error("Readable.from is not available in the browser")}},9946:(n,s,t)=>{var o,l=t(4281).q,_=l.ERR_MISSING_ARGS,C=l.ERR_STREAM_DESTROYED;function x(le){if(le)throw le}function N(le,me,ye,$e){var we,G;we=$e,G=!1,$e=function(){G||(G=!0,we.apply(void 0,arguments))};var Ne=!1;le.on("close",function(){Ne=!0}),void 0===o&&(o=t(8610)),o(le,{readable:me,writable:ye},function(we){if(we)return $e(we);Ne=!0,$e()});var ke=!1;return function(we){if(!Ne&&!ke)return ke=!0,function(G){return G.setHeader&&"function"==typeof G.abort}(le)?le.abort():"function"==typeof le.destroy?le.destroy():void $e(we||new C("pipe"))}}function V(le){le()}function Q(le,me){return le.pipe(me)}function oe(le){return le.length?"function"!=typeof le[le.length-1]?x:le.pop():x}n.exports=function(){for(var le=arguments.length,me=new Array(le),ye=0;ye<le;ye++)me[ye]=arguments[ye];var $e,Ne=oe(me);if(Array.isArray(me[0])&&(me=me[0]),me.length<2)throw new _("streams");var ke=me.map(function(we,G){var Dt=G<me.length-1;return N(we,Dt,G>0,function(bt){$e||($e=bt),bt&&ke.forEach(V),Dt||(ke.forEach(V),Ne($e))})});return me.reduce(Q)}},2457:(n,s,t)=>{var o=t(4281).q.ERR_INVALID_OPT_VALUE;n.exports={getHighWaterMark:function(l,_,C,x){var V,N=null!=(V=_).highWaterMark?V.highWaterMark:x?V[C]:null;if(null!=N){if(!isFinite(N)||Math.floor(N)!==N||N<0)throw new o(x?C:"highWaterMark",N);return Math.floor(N)}return l.objectMode?16:16384}}},2503:(n,s,t)=>{n.exports=t(7187).EventEmitter},4189:(n,s,t)=>{var o=t(396).Buffer;function l(_,C){this._block=o.alloc(_),this._finalSize=C,this._blockSize=_,this._len=0}l.prototype.update=function(_,C){"string"==typeof _&&(_=o.from(_,C=C||"utf8"));for(var x=this._block,N=this._blockSize,V=_.length,Q=this._len,oe=0;oe<V;){for(var le=Q%N,me=Math.min(V-oe,N-le),ye=0;ye<me;ye++)x[le+ye]=_[oe+ye];oe+=me,(Q+=me)%N==0&&this._update(x)}return this._len+=V,this},l.prototype.digest=function(_){var C=this._len%this._blockSize;this._block[C]=128,this._block.fill(0,C+1),C>=this._finalSize&&(this._update(this._block),this._block.fill(0));var x=8*this._len;if(x<=4294967295)this._block.writeUInt32BE(x,this._blockSize-4);else{var N=(4294967295&x)>>>0;this._block.writeUInt32BE((x-N)/4294967296,this._blockSize-8),this._block.writeUInt32BE(N,this._blockSize-4)}this._update(this._block);var Q=this._hash();return _?Q.toString(_):Q},l.prototype._update=function(){throw new Error("_update must be implemented by subclass")},n.exports=l},9072:(n,s,t)=>{var o=n.exports=function(l){l=l.toLowerCase();var _=o[l];if(!_)throw new Error(l+" is not supported (we accept pull requests)");return new _};o.sha=t(4448),o.sha1=t(8336),o.sha224=t(8432),o.sha256=t(7499),o.sha384=t(1686),o.sha512=t(7816)},4448:(n,s,t)=>{var o=t(5717),l=t(4189),_=t(396).Buffer,C=[1518500249,1859775393,-1894007588,-899497514],x=new Array(80);function N(){this.init(),this._w=x,l.call(this,64,56)}function V(oe){return oe<<30|oe>>>2}function Q(oe,le,me,ye){return 0===oe?le&me|~le&ye:2===oe?le&me|le&ye|me&ye:le^me^ye}o(N,l),N.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},N.prototype._update=function(oe){for(var le,me=this._w,ye=0|this._a,$e=0|this._b,Ne=0|this._c,ke=0|this._d,we=0|this._e,G=0;G<16;++G)me[G]=oe.readInt32BE(4*G);for(;G<80;++G)me[G]=me[G-3]^me[G-8]^me[G-14]^me[G-16];for(var Dt=0;Dt<80;++Dt){var bt=~~(Dt/20),Bt=0|((le=ye)<<5|le>>>27)+Q(bt,$e,Ne,ke)+we+me[Dt]+C[bt];we=ke,ke=Ne,Ne=V($e),$e=ye,ye=Bt}this._a=ye+this._a|0,this._b=$e+this._b|0,this._c=Ne+this._c|0,this._d=ke+this._d|0,this._e=we+this._e|0},N.prototype._hash=function(){var oe=_.allocUnsafe(20);return oe.writeInt32BE(0|this._a,0),oe.writeInt32BE(0|this._b,4),oe.writeInt32BE(0|this._c,8),oe.writeInt32BE(0|this._d,12),oe.writeInt32BE(0|this._e,16),oe},n.exports=N},8336:(n,s,t)=>{var o=t(5717),l=t(4189),_=t(396).Buffer,C=[1518500249,1859775393,-1894007588,-899497514],x=new Array(80);function N(){this.init(),this._w=x,l.call(this,64,56)}function V(le){return le<<5|le>>>27}function Q(le){return le<<30|le>>>2}function oe(le,me,ye,$e){return 0===le?me&ye|~me&$e:2===le?me&ye|me&$e|ye&$e:me^ye^$e}o(N,l),N.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},N.prototype._update=function(le){for(var me,ye=this._w,$e=0|this._a,Ne=0|this._b,ke=0|this._c,we=0|this._d,G=0|this._e,Dt=0;Dt<16;++Dt)ye[Dt]=le.readInt32BE(4*Dt);for(;Dt<80;++Dt)ye[Dt]=(me=ye[Dt-3]^ye[Dt-8]^ye[Dt-14]^ye[Dt-16])<<1|me>>>31;for(var bt=0;bt<80;++bt){var Bt=~~(bt/20),Jt=V($e)+oe(Bt,Ne,ke,we)+G+ye[bt]+C[Bt]|0;G=we,we=ke,ke=Q(Ne),Ne=$e,$e=Jt}this._a=$e+this._a|0,this._b=Ne+this._b|0,this._c=ke+this._c|0,this._d=we+this._d|0,this._e=G+this._e|0},N.prototype._hash=function(){var le=_.allocUnsafe(20);return le.writeInt32BE(0|this._a,0),le.writeInt32BE(0|this._b,4),le.writeInt32BE(0|this._c,8),le.writeInt32BE(0|this._d,12),le.writeInt32BE(0|this._e,16),le},n.exports=N},8432:(n,s,t)=>{var o=t(5717),l=t(7499),_=t(4189),C=t(396).Buffer,x=new Array(64);function N(){this.init(),this._w=x,_.call(this,64,56)}o(N,l),N.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},N.prototype._hash=function(){var V=C.allocUnsafe(28);return V.writeInt32BE(this._a,0),V.writeInt32BE(this._b,4),V.writeInt32BE(this._c,8),V.writeInt32BE(this._d,12),V.writeInt32BE(this._e,16),V.writeInt32BE(this._f,20),V.writeInt32BE(this._g,24),V},n.exports=N},7499:(n,s,t)=>{var o=t(5717),l=t(4189),_=t(396).Buffer,C=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],x=new Array(64);function N(){this.init(),this._w=x,l.call(this,64,56)}function V(ye,$e,Ne){return Ne^ye&($e^Ne)}function Q(ye,$e,Ne){return ye&$e|Ne&(ye|$e)}function oe(ye){return(ye>>>2|ye<<30)^(ye>>>13|ye<<19)^(ye>>>22|ye<<10)}function le(ye){return(ye>>>6|ye<<26)^(ye>>>11|ye<<21)^(ye>>>25|ye<<7)}function me(ye){return(ye>>>7|ye<<25)^(ye>>>18|ye<<14)^ye>>>3}o(N,l),N.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},N.prototype._update=function(ye){for(var $e,Ne=this._w,ke=0|this._a,we=0|this._b,G=0|this._c,Dt=0|this._d,bt=0|this._e,Bt=0|this._f,Jt=0|this._g,Mn=0|this._h,zt=0;zt<16;++zt)Ne[zt]=ye.readInt32BE(4*zt);for(;zt<64;++zt)Ne[zt]=0|((($e=Ne[zt-2])>>>17|$e<<15)^($e>>>19|$e<<13)^$e>>>10)+Ne[zt-7]+me(Ne[zt-15])+Ne[zt-16];for(var xn=0;xn<64;++xn){var Nn=Mn+le(bt)+V(bt,Bt,Jt)+C[xn]+Ne[xn]|0,zr=oe(ke)+Q(ke,we,G)|0;Mn=Jt,Jt=Bt,Bt=bt,bt=Dt+Nn|0,Dt=G,G=we,we=ke,ke=Nn+zr|0}this._a=ke+this._a|0,this._b=we+this._b|0,this._c=G+this._c|0,this._d=Dt+this._d|0,this._e=bt+this._e|0,this._f=Bt+this._f|0,this._g=Jt+this._g|0,this._h=Mn+this._h|0},N.prototype._hash=function(){var ye=_.allocUnsafe(32);return ye.writeInt32BE(this._a,0),ye.writeInt32BE(this._b,4),ye.writeInt32BE(this._c,8),ye.writeInt32BE(this._d,12),ye.writeInt32BE(this._e,16),ye.writeInt32BE(this._f,20),ye.writeInt32BE(this._g,24),ye.writeInt32BE(this._h,28),ye},n.exports=N},1686:(n,s,t)=>{var o=t(5717),l=t(7816),_=t(4189),C=t(396).Buffer,x=new Array(160);function N(){this.init(),this._w=x,_.call(this,128,112)}o(N,l),N.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},N.prototype._hash=function(){var V=C.allocUnsafe(48);function Q(oe,le,me){V.writeInt32BE(oe,me),V.writeInt32BE(le,me+4)}return Q(this._ah,this._al,0),Q(this._bh,this._bl,8),Q(this._ch,this._cl,16),Q(this._dh,this._dl,24),Q(this._eh,this._el,32),Q(this._fh,this._fl,40),V},n.exports=N},7816:(n,s,t)=>{var o=t(5717),l=t(4189),_=t(396).Buffer,C=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],x=new Array(160);function N(){this.init(),this._w=x,l.call(this,128,112)}function V(we,G,Dt){return Dt^we&(G^Dt)}function Q(we,G,Dt){return we&G|Dt&(we|G)}function oe(we,G){return(we>>>28|G<<4)^(G>>>2|we<<30)^(G>>>7|we<<25)}function le(we,G){return(we>>>14|G<<18)^(we>>>18|G<<14)^(G>>>9|we<<23)}function me(we,G){return(we>>>1|G<<31)^(we>>>8|G<<24)^we>>>7}function ye(we,G){return(we>>>1|G<<31)^(we>>>8|G<<24)^(we>>>7|G<<25)}function $e(we,G){return(we>>>19|G<<13)^(G>>>29|we<<3)^we>>>6}function Ne(we,G){return(we>>>19|G<<13)^(G>>>29|we<<3)^(we>>>6|G<<26)}function ke(we,G){return we>>>0<G>>>0?1:0}o(N,l),N.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},N.prototype._update=function(we){for(var G=this._w,Dt=0|this._ah,bt=0|this._bh,Bt=0|this._ch,Jt=0|this._dh,Mn=0|this._eh,zt=0|this._fh,xn=0|this._gh,Nn=0|this._hh,zr=0|this._al,Hr=0|this._bl,Vr=0|this._cl,qr=0|this._dl,On=0|this._el,Jn=0|this._fl,Qn=0|this._gl,ur=0|this._hl,In=0;In<32;In+=2)G[In]=we.readInt32BE(4*In),G[In+1]=we.readInt32BE(4*In+4);for(;In<160;In+=2){var Yr=G[In-30],Qi=G[In-30+1],Di=me(Yr,Qi),ji=ye(Qi,Yr),Wr=$e(Yr=G[In-4],Qi=G[In-4+1]),Bn=Ne(Qi,Yr),Ni=G[In-32],Xi=G[In-32+1],Bo=ji+G[In-14+1]|0,Ao=Di+G[In-14]+ke(Bo,ji)|0;Ao=(Ao=Ao+Wr+ke(Bo=Bo+Bn|0,Bn)|0)+Ni+ke(Bo=Bo+Xi|0,Xi)|0,G[In]=Ao,G[In+1]=Bo}for(var zs=0;zs<160;zs+=2){Ao=G[zs],Bo=G[zs+1];var Qs=Q(Dt,bt,Bt),Ii=Q(zr,Hr,Vr),uo=oe(Dt,zr),bo=oe(zr,Dt),Qe=le(Mn,On),Pt=le(On,Mn),Rt=C[zs],qn=C[zs+1],wr=V(Mn,zt,xn),Gr=V(On,Jn,Qn),Fi=ur+Pt|0,Ws=Nn+Qe+ke(Fi,ur)|0;Ws=(Ws=(Ws=Ws+wr+ke(Fi=Fi+Gr|0,Gr)|0)+Rt+ke(Fi=Fi+qn|0,qn)|0)+Ao+ke(Fi=Fi+Bo|0,Bo)|0;var Zo=bo+Ii|0,ol=uo+Qs+ke(Zo,bo)|0;Nn=xn,ur=Qn,xn=zt,Qn=Jn,zt=Mn,Jn=On,Mn=Jt+Ws+ke(On=qr+Fi|0,qr)|0,Jt=Bt,qr=Vr,Bt=bt,Vr=Hr,bt=Dt,Hr=zr,Dt=Ws+ol+ke(zr=Fi+Zo|0,Fi)|0}this._al=this._al+zr|0,this._bl=this._bl+Hr|0,this._cl=this._cl+Vr|0,this._dl=this._dl+qr|0,this._el=this._el+On|0,this._fl=this._fl+Jn|0,this._gl=this._gl+Qn|0,this._hl=this._hl+ur|0,this._ah=this._ah+Dt+ke(this._al,zr)|0,this._bh=this._bh+bt+ke(this._bl,Hr)|0,this._ch=this._ch+Bt+ke(this._cl,Vr)|0,this._dh=this._dh+Jt+ke(this._dl,qr)|0,this._eh=this._eh+Mn+ke(this._el,On)|0,this._fh=this._fh+zt+ke(this._fl,Jn)|0,this._gh=this._gh+xn+ke(this._gl,Qn)|0,this._hh=this._hh+Nn+ke(this._hl,ur)|0},N.prototype._hash=function(){var we=_.allocUnsafe(64);function G(Dt,bt,Bt){we.writeInt32BE(Dt,Bt),we.writeInt32BE(bt,Bt+4)}return G(this._ah,this._al,0),G(this._bh,this._bl,8),G(this._ch,this._cl,16),G(this._dh,this._dl,24),G(this._eh,this._el,32),G(this._fh,this._fl,40),G(this._gh,this._gl,48),G(this._hh,this._hl,56),we},n.exports=N},2830:(n,s,t)=>{n.exports=l;var o=t(7187).EventEmitter;function l(){o.call(this)}t(5717)(l,o),l.Readable=t(9481),l.Writable=t(4229),l.Duplex=t(6753),l.Transform=t(4605),l.PassThrough=t(2725),l.finished=t(8610),l.pipeline=t(9946),l.Stream=l,l.prototype.pipe=function(_,C){var x=this;function N($e){_.writable&&!1===_.write($e)&&x.pause&&x.pause()}function V(){x.readable&&x.resume&&x.resume()}x.on("data",N),_.on("drain",V),_._isStdio||C&&!1===C.end||(x.on("end",oe),x.on("close",le));var Q=!1;function oe(){Q||(Q=!0,_.end())}function le(){Q||(Q=!0,"function"==typeof _.destroy&&_.destroy())}function me($e){if(ye(),0===o.listenerCount(this,"error"))throw $e}function ye(){x.removeListener("data",N),_.removeListener("drain",V),x.removeListener("end",oe),x.removeListener("close",le),x.removeListener("error",me),_.removeListener("error",me),x.removeListener("end",ye),x.removeListener("close",ye),_.removeListener("close",ye)}return x.on("error",me),_.on("error",me),x.on("end",ye),x.on("close",ye),_.on("close",ye),_.emit("pipe",x),_}},2553:(n,s,t)=>{var o=t(396).Buffer,l=o.isEncoding||function(ye){switch((ye=""+ye)&&ye.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function _(ye){var $e;switch(this.encoding=function(Ne){var ke=function(we){if(!we)return"utf8";for(var G;;)switch(we){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return we;default:if(G)return;we=(""+we).toLowerCase(),G=!0}}(Ne);if("string"!=typeof ke&&(o.isEncoding===l||!l(Ne)))throw new Error("Unknown encoding: "+Ne);return ke||Ne}(ye),this.encoding){case"utf16le":this.text=N,this.end=V,$e=4;break;case"utf8":this.fillLast=x,$e=4;break;case"base64":this.text=Q,this.end=oe,$e=3;break;default:return this.write=le,void(this.end=me)}this.lastNeed=0,this.lastTotal=0,this.lastChar=o.allocUnsafe($e)}function C(ye){return ye<=127?0:ye>>5==6?2:ye>>4==14?3:ye>>3==30?4:ye>>6==2?-1:-2}function x(ye){var $e=this.lastTotal-this.lastNeed,Ne=function(ke,we,G){if(128!=(192&we[0]))return ke.lastNeed=0,"\ufffd";if(ke.lastNeed>1&&we.length>1){if(128!=(192&we[1]))return ke.lastNeed=1,"\ufffd";if(ke.lastNeed>2&&we.length>2&&128!=(192&we[2]))return ke.lastNeed=2,"\ufffd"}}(this,ye);return void 0!==Ne?Ne:this.lastNeed<=ye.length?(ye.copy(this.lastChar,$e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(ye.copy(this.lastChar,$e,0,ye.length),void(this.lastNeed-=ye.length))}function N(ye,$e){if((ye.length-$e)%2==0){var Ne=ye.toString("utf16le",$e);if(Ne){var ke=Ne.charCodeAt(Ne.length-1);if(ke>=55296&&ke<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=ye[ye.length-2],this.lastChar[1]=ye[ye.length-1],Ne.slice(0,-1)}return Ne}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=ye[ye.length-1],ye.toString("utf16le",$e,ye.length-1)}function V(ye){var $e=ye&&ye.length?this.write(ye):"";return this.lastNeed?$e+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):$e}function Q(ye,$e){var Ne=(ye.length-$e)%3;return 0===Ne?ye.toString("base64",$e):(this.lastNeed=3-Ne,this.lastTotal=3,1===Ne?this.lastChar[0]=ye[ye.length-1]:(this.lastChar[0]=ye[ye.length-2],this.lastChar[1]=ye[ye.length-1]),ye.toString("base64",$e,ye.length-Ne))}function oe(ye){var $e=ye&&ye.length?this.write(ye):"";return this.lastNeed?$e+this.lastChar.toString("base64",0,3-this.lastNeed):$e}function le(ye){return ye.toString(this.encoding)}function me(ye){return ye&&ye.length?this.write(ye):""}s.s=_,_.prototype.write=function(ye){if(0===ye.length)return"";var $e,Ne;if(this.lastNeed){if(void 0===($e=this.fillLast(ye)))return"";Ne=this.lastNeed,this.lastNeed=0}else Ne=0;return Ne<ye.length?$e?$e+this.text(ye,Ne):this.text(ye,Ne):$e||""},_.prototype.end=function(ye){var $e=ye&&ye.length?this.write(ye):"";return this.lastNeed?$e+"\ufffd":$e},_.prototype.text=function(ye,$e){var Ne=function(we,G,Dt){var bt=G.length-1;if(bt<Dt)return 0;var Bt=C(G[bt]);return Bt>=0?(Bt>0&&(we.lastNeed=Bt-1),Bt):--bt<Dt||-2===Bt?0:(Bt=C(G[bt]))>=0?(Bt>0&&(we.lastNeed=Bt-2),Bt):--bt<Dt||-2===Bt?0:(Bt=C(G[bt]))>=0?(Bt>0&&(2===Bt?Bt=0:we.lastNeed=Bt-3),Bt):0}(this,ye,$e);if(!this.lastNeed)return ye.toString("utf8",$e);this.lastTotal=Ne;var ke=ye.length-(Ne-this.lastNeed);return ye.copy(this.lastChar,0,ke),ye.toString("utf8",$e,ke)},_.prototype.fillLast=function(ye){if(this.lastNeed<=ye.length)return ye.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);ye.copy(this.lastChar,this.lastTotal-this.lastNeed,0,ye.length),this.lastNeed-=ye.length}},396:(n,s,t)=>{var o=t(8764),l=o.Buffer;function _(x,N){for(var V in x)N[V]=x[V]}function C(x,N,V){return l(x,N,V)}l.from&&l.alloc&&l.allocUnsafe&&l.allocUnsafeSlow?n.exports=o:(_(o,s),s.Buffer=C),C.prototype=Object.create(l.prototype),_(l,C),C.from=function(x,N,V){if("number"==typeof x)throw new TypeError("Argument must not be a number");return l(x,N,V)},C.alloc=function(x,N,V){if("number"!=typeof x)throw new TypeError("Argument must be a number");var Q=l(x);return void 0!==N?"string"==typeof V?Q.fill(N,V):Q.fill(N):Q.fill(0),Q},C.allocUnsafe=function(x){if("number"!=typeof x)throw new TypeError("Argument must be a number");return l(x)},C.allocUnsafeSlow=function(x){if("number"!=typeof x)throw new TypeError("Argument must be a number");return o.SlowBuffer(x)}},4927:(n,s,t)=>{function o(l){try{if(!t.g.localStorage)return!1}catch(C){return!1}var _=t.g.localStorage[l];return null!=_&&"true"===String(_).toLowerCase()}n.exports=function(l,_){if(o("noDeprecation"))return l;var C=!1;return function(){if(!C){if(o("throwDeprecation"))throw new Error(_);o("traceDeprecation")?console.trace(_):console.warn(_),C=!0}return l.apply(this,arguments)}}},255:n=>{var s={"&":"&amp;",'"':"&quot;","'":"&apos;","<":"&lt;",">":"&gt;"};n.exports=function(t){return t&&t.replace?t.replace(/([&"<>'])/g,function(o,l){return s[l]}):t}},3479:(n,s,t)=>{var o=t(4155),l=t(255),_=t(2830).Stream;function C(N,V,Q){Q=Q||0;var oe,le,me=(oe=V,new Array(Q||0).join(oe||"")),ye=N;if("object"==typeof N&&(ye=N[le=Object.keys(N)[0]])&&ye._elem)return ye._elem.name=le,ye._elem.icount=Q,ye._elem.indent=V,ye._elem.indents=me,ye._elem.interrupt=ye,ye._elem;var $e,Ne=[],ke=[];function we(G){Object.keys(G).forEach(function(Dt){Ne.push(Dt+'="'+l(G[Dt])+'"')})}switch(typeof ye){case"object":if(null===ye)break;ye._attr&&we(ye._attr),ye._cdata&&ke.push(("<![CDATA["+ye._cdata).replace(/\]\]>/g,"]]]]><![CDATA[>")+"]]>"),ye.forEach&&($e=!1,ke.push(""),ye.forEach(function(G){"object"==typeof G?"_attr"==Object.keys(G)[0]?we(G._attr):ke.push(C(G,V,Q+1)):(ke.pop(),$e=!0,ke.push(l(G)))}),$e||ke.push(""));break;default:ke.push(l(ye))}return{name:le,interrupt:!1,attributes:Ne,content:ke,icount:Q,indents:me,indent:V}}function x(N,V,Q){if("object"!=typeof V)return N(!1,V);var oe=V.interrupt?1:V.content.length;function le(){for(;V.content.length;){var ye=V.content.shift();if(void 0!==ye){if(me(ye))return;x(N,ye)}}N(!1,(oe>1?V.indents:"")+(V.name?"</"+V.name+">":"")+(V.indent&&!Q?"\n":"")),Q&&Q()}function me(ye){return!!ye.interrupt&&(ye.interrupt.append=N,ye.interrupt.end=le,ye.interrupt=!1,N(!0),!0)}if(N(!1,V.indents+(V.name?"<"+V.name:"")+(V.attributes.length?" "+V.attributes.join(" "):"")+(oe?V.name?">":"":V.name?"/>":"")+(V.indent&&oe>1?"\n":"")),!oe)return N(!1,V.indent?"\n":"");me(V)||le()}n.exports=function(N,V){"object"!=typeof V&&(V={indent:V});var Q,oe,le=V.stream?new _:null,me="",ye=!1,$e=V.indent?!0===V.indent?"    ":V.indent:"",Ne=!0;function ke(bt){Ne?o.nextTick(bt):bt()}function we(bt,Bt){if(void 0!==Bt&&(me+=Bt),bt&&!ye&&(le=le||new _,ye=!0),bt&&ye){var Jt=me;ke(function(){le.emit("data",Jt)}),me=""}}function G(bt,Bt){x(we,C(bt,$e,$e?1:0),Bt)}function Dt(){if(le){var bt=me;ke(function(){le.emit("data",bt),le.emit("end"),le.readable=!1,le.emit("close")})}}return ke(function(){Ne=!1}),V.declaration&&(oe={version:"1.0",encoding:(Q=V.declaration).encoding||"UTF-8"},Q.standalone&&(oe.standalone=Q.standalone),G({"?xml":{_attr:oe}}),me=me.replace("/>","?>")),N&&N.forEach?N.forEach(function(bt,Bt){var Jt;Bt+1===N.length&&(Jt=Dt),G(bt,Jt)}):G(N,Dt),le?(le.readable=!0,le):me},n.exports.element=n.exports.Element=function(){var N=Array.prototype.slice.call(arguments),V={_elem:C(N),push:function(Q){if(!this.append)throw new Error("not assigned to a parent!");var oe=this,le=this._elem.indent;x(this.append,C(Q,le,this._elem.icount+(le?1:0)),function(){oe.append(!0)})},close:function(Q){void 0!==Q&&this.push(Q),this.end&&this.end()}};return V}},5102:(n,s,t)=>{var o={"./all.js":5308,"./auth/actions.js":5812,"./auth/index.js":3705,"./auth/reducers.js":3962,"./auth/selectors.js":35,"./auth/spec-wrap-actions.js":8302,"./configs/actions.js":714,"./configs/helpers.js":2256,"./configs/index.js":1661,"./configs/reducers.js":7743,"./configs/selectors.js":9018,"./configs/spec-actions.js":2698,"./deep-linking/helpers.js":1970,"./deep-linking/index.js":4980,"./deep-linking/layout.js":5858,"./deep-linking/operation-tag-wrapper.jsx":4584,"./deep-linking/operation-wrapper.jsx":877,"./download-url.js":8011,"./err/actions.js":4966,"./err/error-transformers/hook.js":6808,"./err/error-transformers/transformers/not-of-type.js":2392,"./err/error-transformers/transformers/parameter-oneof.js":1835,"./err/index.js":7793,"./err/reducers.js":3527,"./err/selectors.js":7667,"./filter/index.js":9978,"./filter/opsFilter.js":4309,"./layout/actions.js":5474,"./layout/index.js":6821,"./layout/reducers.js":5672,"./layout/selectors.js":4400,"./layout/spec-extensions/wrap-selector.js":8989,"./logs/index.js":9150,"./oas3/actions.js":7002,"./oas3/auth-extensions/wrap-selectors.js":3723,"./oas3/components/callbacks.jsx":3427,"./oas3/components/http-auth.jsx":6775,"./oas3/components/index.js":6467,"./oas3/components/operation-link.jsx":5757,"./oas3/components/operation-servers.jsx":6796,"./oas3/components/request-body-editor.jsx":5327,"./oas3/components/request-body.jsx":2458,"./oas3/components/servers-container.jsx":9928,"./oas3/components/servers.jsx":6617,"./oas3/helpers.jsx":7779,"./oas3/index.js":7451,"./oas3/reducers.js":9666,"./oas3/selectors.js":5065,"./oas3/spec-extensions/selectors.js":1741,"./oas3/spec-extensions/wrap-selectors.js":2044,"./oas3/wrap-components/auth-item.jsx":356,"./oas3/wrap-components/index.js":7761,"./oas3/wrap-components/json-schema-string.jsx":287,"./oas3/wrap-components/markdown.jsx":2460,"./oas3/wrap-components/model.jsx":3499,"./oas3/wrap-components/online-validator-badge.js":58,"./oas3/wrap-components/version-stamp.jsx":9487,"./on-complete/index.js":8560,"./request-snippets/fn.js":4624,"./request-snippets/index.js":6575,"./request-snippets/request-snippets.jsx":4206,"./request-snippets/selectors.js":4669,"./safe-render/components/error-boundary.jsx":6195,"./safe-render/components/fallback.jsx":9403,"./safe-render/fn.jsx":6189,"./safe-render/index.js":8102,"./samples/fn.js":2473,"./samples/index.js":8883,"./spec/actions.js":1737,"./spec/index.js":7038,"./spec/reducers.js":32,"./spec/selectors.js":3881,"./spec/wrap-actions.js":7508,"./swagger-js/configs-wrap-actions.js":4852,"./swagger-js/index.js":2990,"./util/index.js":8525,"./view/fn.js":8347,"./view/index.js":3420,"./view/root-injects.jsx":5005,"core/plugins/all.js":5308,"core/plugins/auth/actions.js":5812,"core/plugins/auth/index.js":3705,"core/plugins/auth/reducers.js":3962,"core/plugins/auth/selectors.js":35,"core/plugins/auth/spec-wrap-actions.js":8302,"core/plugins/configs/actions.js":714,"core/plugins/configs/helpers.js":2256,"core/plugins/configs/index.js":1661,"core/plugins/configs/reducers.js":7743,"core/plugins/configs/selectors.js":9018,"core/plugins/configs/spec-actions.js":2698,"core/plugins/deep-linking/helpers.js":1970,"core/plugins/deep-linking/index.js":4980,"core/plugins/deep-linking/layout.js":5858,"core/plugins/deep-linking/operation-tag-wrapper.jsx":4584,"core/plugins/deep-linking/operation-wrapper.jsx":877,"core/plugins/download-url.js":8011,"core/plugins/err/actions.js":4966,"core/plugins/err/error-transformers/hook.js":6808,"core/plugins/err/error-transformers/transformers/not-of-type.js":2392,"core/plugins/err/error-transformers/transformers/parameter-oneof.js":1835,"core/plugins/err/index.js":7793,"core/plugins/err/reducers.js":3527,"core/plugins/err/selectors.js":7667,"core/plugins/filter/index.js":9978,"core/plugins/filter/opsFilter.js":4309,"core/plugins/layout/actions.js":5474,"core/plugins/layout/index.js":6821,"core/plugins/layout/reducers.js":5672,"core/plugins/layout/selectors.js":4400,"core/plugins/layout/spec-extensions/wrap-selector.js":8989,"core/plugins/logs/index.js":9150,"core/plugins/oas3/actions.js":7002,"core/plugins/oas3/auth-extensions/wrap-selectors.js":3723,"core/plugins/oas3/components/callbacks.jsx":3427,"core/plugins/oas3/components/http-auth.jsx":6775,"core/plugins/oas3/components/index.js":6467,"core/plugins/oas3/components/operation-link.jsx":5757,"core/plugins/oas3/components/operation-servers.jsx":6796,"core/plugins/oas3/components/request-body-editor.jsx":5327,"core/plugins/oas3/components/request-body.jsx":2458,"core/plugins/oas3/components/servers-container.jsx":9928,"core/plugins/oas3/components/servers.jsx":6617,"core/plugins/oas3/helpers.jsx":7779,"core/plugins/oas3/index.js":7451,"core/plugins/oas3/reducers.js":9666,"core/plugins/oas3/selectors.js":5065,"core/plugins/oas3/spec-extensions/selectors.js":1741,"core/plugins/oas3/spec-extensions/wrap-selectors.js":2044,"core/plugins/oas3/wrap-components/auth-item.jsx":356,"core/plugins/oas3/wrap-components/index.js":7761,"core/plugins/oas3/wrap-components/json-schema-string.jsx":287,"core/plugins/oas3/wrap-components/markdown.jsx":2460,"core/plugins/oas3/wrap-components/model.jsx":3499,"core/plugins/oas3/wrap-components/online-validator-badge.js":58,"core/plugins/oas3/wrap-components/version-stamp.jsx":9487,"core/plugins/on-complete/index.js":8560,"core/plugins/request-snippets/fn.js":4624,"core/plugins/request-snippets/index.js":6575,"core/plugins/request-snippets/request-snippets.jsx":4206,"core/plugins/request-snippets/selectors.js":4669,"core/plugins/safe-render/components/error-boundary.jsx":6195,"core/plugins/safe-render/components/fallback.jsx":9403,"core/plugins/safe-render/fn.jsx":6189,"core/plugins/safe-render/index.js":8102,"core/plugins/samples/fn.js":2473,"core/plugins/samples/index.js":8883,"core/plugins/spec/actions.js":1737,"core/plugins/spec/index.js":7038,"core/plugins/spec/reducers.js":32,"core/plugins/spec/selectors.js":3881,"core/plugins/spec/wrap-actions.js":7508,"core/plugins/swagger-js/configs-wrap-actions.js":4852,"core/plugins/swagger-js/index.js":2990,"core/plugins/util/index.js":8525,"core/plugins/view/fn.js":8347,"core/plugins/view/index.js":3420,"core/plugins/view/root-injects.jsx":5005};function l(C){var x=_(C);return t(x)}function _(C){if(!t.o(o,C)){var x=new Error("Cannot find module '"+C+"'");throw x.code="MODULE_NOT_FOUND",x}return o[C]}l.keys=function(){return Object.keys(o)},l.resolve=_,n.exports=l,l.id=5102},2517:n=>{n.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwcHgiICBoZWlnaHQ9IjIwMHB4IiAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQiIGNsYXNzPSJsZHMtcm9sbGluZyIgc3R5bGU9ImJhY2tncm91bmQtaW1hZ2U6IG5vbmU7IGJhY2tncm91bmQtcG9zaXRpb246IGluaXRpYWwgaW5pdGlhbDsgYmFja2dyb3VuZC1yZXBlYXQ6IGluaXRpYWwgaW5pdGlhbDsiPjxjaXJjbGUgY3g9IjUwIiBjeT0iNTAiIGZpbGw9Im5vbmUiIG5nLWF0dHItc3Ryb2tlPSJ7e2NvbmZpZy5jb2xvcn19IiBuZy1hdHRyLXN0cm9rZS13aWR0aD0ie3tjb25maWcud2lkdGh9fSIgbmctYXR0ci1yPSJ7e2NvbmZpZy5yYWRpdXN9fSIgbmctYXR0ci1zdHJva2UtZGFzaGFycmF5PSJ7e2NvbmZpZy5kYXNoYXJyYXl9fSIgc3Ryb2tlPSIjNTU1NTU1IiBzdHJva2Utd2lkdGg9IjEwIiByPSIzNSIgc3Ryb2tlLWRhc2hhcnJheT0iMTY0LjkzMzYxNDMxMzQ2NDE1IDU2Ljk3Nzg3MTQzNzgyMTM4Ij48YW5pbWF0ZVRyYW5zZm9ybSBhdHRyaWJ1dGVOYW1lPSJ0cmFuc2Zvcm0iIHR5cGU9InJvdGF0ZSIgY2FsY01vZGU9ImxpbmVhciIgdmFsdWVzPSIwIDUwIDUwOzM2MCA1MCA1MCIga2V5VGltZXM9IjA7MSIgZHVyPSIxcyIgYmVnaW49IjBzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSI+PC9hbmltYXRlVHJhbnNmb3JtPjwvY2lyY2xlPjwvc3ZnPgo="},5163:n=>{n.exports='---\nurl: "https://petstore.swagger.io/v2/swagger.json"\ndom_id: "#swagger-ui"\nvalidatorUrl: "https://validator.swagger.io/validator"\n'},8898:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>iL()}),l)},4163:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>sL()}),l)},5527:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>lL()}),l)},5171:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>cL()}),l)},2954:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>fL()}),l)},7930:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>hL()}),l)},6145:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>mL()}),l)},1778:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>vL()}),l)},29:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>EL()}),l)},2372:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>SL()}),l)},8818:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>CL()}),l)},5487:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>OL()}),l)},2565:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>DL()}),l)},6785:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>RL()}),l)},8136:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>PL()}),l)},9963:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>IL()}),l)},4350:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>LL()}),l)},3590:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>$L()}),l)},5942:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>BL()}),l)},313:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>YL()}),l)},6914:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>GL()}),l)},7512:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>ZL()}),l)},2740:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>WL()}),l)},374:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>QL()}),l)},6235:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>KL()}),l)},3769:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>e7()}),l)},6340:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>f3}),l)},7344:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>t7}),l)},8656:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>n7}),l)},3248:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>r7}),l)},5416:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>o7}),l)},775:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>Hx}),l)},863:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>ZA}),l)},9972:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>s7}),l)},1013:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>kc}),l)},302:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>Nw}),l)},9334:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>l7}),l)},2691:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>d7}),l)},1581:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>Yv}),l)},4780:n=>{n.exports=p7},8096:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>_7()}),l)},3294:n=>{n.exports=g7},9725:(n,s,t)=>{var l;n.exports=(t.d(l={},{List:()=>Ie.List,Map:()=>Ie.Map,OrderedMap:()=>Ie.OrderedMap,Seq:()=>Ie.Seq,Set:()=>Ie.Set,default:()=>Je(),fromJS:()=>Ie.fromJS}),l)},626:(n,s,t)=>{var l;n.exports=(t.d(l={},{JSON_SCHEMA:()=>VR,default:()=>cA}),l)},9908:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>M0()}),l)},7068:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>y7()}),l)},5476:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>b7()}),l)},5053:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>T7()}),l)},810:(n,s,t)=>{var l;n.exports=(t.d(l={},{Component:()=>pe.Component,PureComponent:()=>pe.PureComponent,default:()=>pe,useEffect:()=>pe.useEffect,useRef:()=>pe.useRef,useState:()=>pe.useState}),l)},9874:(n,s,t)=>{var l;n.exports=(t.d(l={},{CopyToClipboard:()=>C7.CopyToClipboard}),l)},9569:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>O7()}),l)},9871:(n,s,t)=>{var l;n.exports=(t.d(l={},{applyMiddleware:()=>N7,bindActionCreators:()=>P7,compose:()=>b3,createStore:()=>y3}),l)},3952:(n,s,t)=>{var l;n.exports=(t.d(l={},{Remarkable:()=>qg}),l)},8639:(n,s,t)=>{var l;n.exports=(t.d(l={},{createSelector:()=>B3}),l)},8518:(n,s,t)=>{var l;n.exports=(t.d(l={},{serializeError:()=>Tk.serializeError}),l)},5013:(n,s,t)=>{var l;n.exports=(t.d(l={},{opId:()=>wA}),l)},8900:(n,s,t)=>{var l;n.exports=(t.d(l={},{default:()=>Mk()}),l)},2361:()=>{},4616:()=>{}},U3={};function Po(n){var s=U3[n];if(void 0!==s)return s.exports;var t=U3[n]={exports:{}};return Vk[n](t,t.exports,Po),t.exports}Po.n=n=>{var s=n&&n.__esModule?()=>n.default:()=>n;return Po.d(s,{a:s}),s},Po.d=(n,s)=>{for(var t in s)Po.o(s,t)&&!Po.o(n,t)&&Object.defineProperty(n,t,{enumerable:!0,get:s[t]})},Po.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(n){if("object"==typeof window)return window}}(),Po.o=(n,s)=>Object.prototype.hasOwnProperty.call(n,s),Po.r=n=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})};var Y3={};(()=>{Po.d(Y3,{Z:()=>oH});var n={};Po.r(n),Po.d(n,{Button:()=>Q3,Col:()=>h$,Collapse:()=>eP,Container:()=>p$,Input:()=>g$,Link:()=>K3,Row:()=>_$,Select:()=>X3,TextArea:()=>m$});var s={};Po.r(s),Po.d(s,{JsonSchemaArrayItemFile:()=>cD,JsonSchemaArrayItemText:()=>uD,JsonSchemaForm:()=>sP,JsonSchema_array:()=>lP,JsonSchema_boolean:()=>uP,JsonSchema_object:()=>cP,JsonSchema_string:()=>aP});var t=Po(1581),o=Po(5171);const l=(Po.d(un={},{default:()=>Ak()}),un);var un,_=Po(6145),C=Po(2740),x=Po(313),N=Po(7698),V=Po.n(N),Q=Po(775),oe=Po(7344),le=Po(8656),me=Po(5527),ye=Po(7512),$e=Po(8136),Ne=Po(4163),ke=Po(6785),we=Po(2565),G=Po(810),Dt=Po(9871),bt=Po(9725);const Bt=(An=>{var un={};return Po.d(un,An),un})({combineReducers:()=>Dk.U});var Jt=Po(8518);const Mn=(An=>{var un={};return Po.d(un,An),un})({default:()=>Rk()});var zt=Po(4966),xn=Po(7504),Nn=Po(6298),zr=function(An){return An},Hr=function(){function An(){var un,gt=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,oe.default)(this,An),V()(this,{state:{},plugins:[],pluginsOptions:{},system:{configs:{},fn:{},components:{},rootInjects:{},statePlugins:{}},boundSystem:{},toolbox:{}},gt),this.getSystem=(0,me.default)(un=this._getSystem).call(un,this),this.store=Qn(zr,(0,bt.fromJS)(this.state),this.getSystem),this.buildSystem(!1),this.register(this.plugins)}return(0,le.default)(An,[{key:"getStore",value:function(){return this.store}},{key:"register",value:function(un){var gt=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],qe=Vr(un,this.getSystem(),this.pluginsOptions);On(this.system,qe),gt&&this.buildSystem();var tt=qr.call(this.system,un,this.getSystem());tt&&this.buildSystem()}},{key:"buildSystem",value:function(){var un=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],gt=this.getStore().dispatch,qe=this.getStore().getState;this.boundSystem=(0,ye.default)({},this.getRootInjects(),this.getWrappedAndBoundActions(gt),this.getWrappedAndBoundSelectors(qe,this.getSystem),this.getStateThunks(qe),this.getFn(),this.getConfigs()),un&&this.rebuildReducer()}},{key:"_getSystem",value:function(){return this.boundSystem}},{key:"getRootInjects",value:function(){var un,gt,qe;return(0,ye.default)({getSystem:this.getSystem,getStore:(0,me.default)(un=this.getStore).call(un,this),getComponents:(0,me.default)(gt=this.getComponents).call(gt,this),getState:this.getStore().getState,getConfigs:(0,me.default)(qe=this._getConfigs).call(qe,this),Im:bt.default,React:G.default},this.system.rootInjects||{})}},{key:"_getConfigs",value:function(){return this.system.configs}},{key:"getConfigs",value:function(){return{configs:this.system.configs}}},{key:"setConfigs",value:function(un){this.system.configs=un}},{key:"rebuildReducer",value:function(){var un,gt,qe;this.store.replaceReducer((un=(0,Nn.Ay)(this.system.statePlugins,function(at){return at.reducers}),qe=(0,ke.default)(gt=(0,C.default)(un)).call(gt,function(at,Ft){return at[Ft]=(Lt=un[Ft],function(){var on=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new bt.Map,wn=arguments.length>1?arguments[1]:void 0;if(!Lt)return on;var tr=Lt[wn.type];if(tr){var Gn=Jn(tr)(on,wn);return null===Gn?on:Gn}return on}),at;var Lt},{}),(0,C.default)(qe).length?(0,Bt.combineReducers)(qe):zr))}},{key:"getType",value:function(un){var gt=un[0].toUpperCase()+(0,$e.default)(un).call(un,1);return(0,Nn.Q2)(this.system.statePlugins,function(qe,tt){var at=qe[un];if(at)return(0,Q.default)({},tt+gt,at)})}},{key:"getSelectors",value:function(){return this.getType("selectors")}},{key:"getActions",value:function(){var un=this.getType("actions");return(0,Nn.Ay)(un,function(gt){return(0,Nn.Q2)(gt,function(qe,tt){if((0,Nn.LQ)(qe))return(0,Q.default)({},tt,qe)})})}},{key:"getWrappedAndBoundActions",value:function(un){var gt=this,qe=this.getBoundActions(un);return(0,Nn.Ay)(qe,function(tt,at){var Ft=gt.system.statePlugins[(0,$e.default)(at).call(at,0,-7)].wrapActions;return Ft?(0,Nn.Ay)(tt,function(Lt,on){var wn=Ft[on];return wn?((0,Ne.default)(wn)||(wn=[wn]),(0,ke.default)(wn).call(wn,function(tr,Gn){var dr=function(){return Gn(tr,gt.getSystem()).apply(void 0,arguments)};if(!(0,Nn.LQ)(dr))throw new TypeError("wrapActions needs to return a function that returns a new function (ie the wrapped action)");return Jn(dr)},Lt||Function.prototype)):Lt}):tt})}},{key:"getWrappedAndBoundSelectors",value:function(un,gt){var qe=this,tt=this.getBoundSelectors(un,gt);return(0,Nn.Ay)(tt,function(at,Ft){var Lt=[(0,$e.default)(Ft).call(Ft,0,-9)],on=qe.system.statePlugins[Lt].wrapSelectors;return on?(0,Nn.Ay)(at,function(wn,tr){var Gn=on[tr];return Gn?((0,Ne.default)(Gn)||(Gn=[Gn]),(0,ke.default)(Gn).call(Gn,function(dr,Ti){var _i=function(){for(var Pi,Li=arguments.length,co=new Array(Li),qi=0;qi<Li;qi++)co[qi]=arguments[qi];return Ti(dr,qe.getSystem()).apply(void 0,(0,o.default)(Pi=[un().getIn(Lt)]).call(Pi,co))};if(!(0,Nn.LQ)(_i))throw new TypeError("wrapSelector needs to return a function that returns a new function (ie the wrapped action)");return _i},wn||Function.prototype)):wn}):at})}},{key:"getStates",value:function(un){var gt;return(0,ke.default)(gt=(0,C.default)(this.system.statePlugins)).call(gt,function(qe,tt){return qe[tt]=un.get(tt),qe},{})}},{key:"getStateThunks",value:function(un){var gt;return(0,ke.default)(gt=(0,C.default)(this.system.statePlugins)).call(gt,function(qe,tt){return qe[tt]=function(){return un().get(tt)},qe},{})}},{key:"getFn",value:function(){return{fn:this.system.fn}}},{key:"getComponents",value:function(un){var gt=this,qe=this.system.components[un];return(0,Ne.default)(qe)?(0,ke.default)(qe).call(qe,function(tt,at){return at(tt,gt.getSystem())}):void 0!==un?this.system.components[un]:this.system.components}},{key:"getBoundSelectors",value:function(un,gt){return(0,Nn.Ay)(this.getSelectors(),function(qe,tt){var at=[(0,$e.default)(tt).call(tt,0,-9)],Ft=function(){return un().getIn(at)};return(0,Nn.Ay)(qe,function(Lt){return function(){for(var on,wn=arguments.length,tr=new Array(wn),Gn=0;Gn<wn;Gn++)tr[Gn]=arguments[Gn];var dr=Jn(Lt).apply(null,(0,o.default)(on=[Ft()]).call(on,tr));return"function"==typeof dr&&(dr=Jn(dr)(gt())),dr}})})}},{key:"getBoundActions",value:function(un){un=un||this.getStore().dispatch;var gt=this.getActions(),qe=function tt(at){return"function"!=typeof at?(0,Nn.Ay)(at,function(Ft){return tt(Ft)}):function(){var Ft=null;try{Ft=at.apply(void 0,arguments)}catch(Lt){Ft={type:zt.NEW_THROWN_ERR,error:!0,payload:(0,Jt.serializeError)(Lt)}}finally{return Ft}}};return(0,Nn.Ay)(gt,function(tt){return(0,Dt.bindActionCreators)(qe(tt),un)})}},{key:"getMapStateToProps",value:function(){var un=this;return function(){return(0,ye.default)({},un.getSystem())}}},{key:"getMapDispatchToProps",value:function(un){var gt=this;return function(qe){return V()({},gt.getWrappedAndBoundActions(qe),gt.getFn(),un)}}}]),An}();function Vr(An,un,gt){if((0,Nn.Kn)(An)&&!(0,Nn.kJ)(An))return(0,Mn.default)({},An);if((0,Nn.Wl)(An))return Vr(An(un),un,gt);if((0,Nn.kJ)(An)){var qe,tt="chain"===gt.pluginLoadType?un.getComponents():{};return(0,ke.default)(qe=(0,we.default)(An).call(An,function(at){return Vr(at,un,gt)})).call(qe,On,tt)}return{}}function qr(An,un){var gt=this,qe=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},tt=qe.hasLoaded,at=tt;return(0,Nn.Kn)(An)&&!(0,Nn.kJ)(An)&&"function"==typeof An.afterLoad&&(at=!0,Jn(An.afterLoad).call(this,un)),(0,Nn.Wl)(An)?qr.call(this,An(un),un,{hasLoaded:at}):(0,Nn.kJ)(An)?(0,we.default)(An).call(An,function(Ft){return qr.call(gt,Ft,un,{hasLoaded:at})}):at}function On(){var An=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},un=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,Nn.Kn)(An))return{};if(!(0,Nn.Kn)(un))return An;un.wrapComponents&&((0,Nn.Ay)(un.wrapComponents,function(Ti,_i){var Pi=An.components&&An.components[_i];Pi&&(0,Ne.default)(Pi)?(An.components[_i]=(0,o.default)(Pi).call(Pi,[Ti]),delete un.wrapComponents[_i]):Pi&&(An.components[_i]=[Pi,Ti],delete un.wrapComponents[_i])}),(0,C.default)(un.wrapComponents).length||delete un.wrapComponents);var gt=An.statePlugins;if((0,Nn.Kn)(gt))for(var qe in gt){var tt=gt[qe];if((0,Nn.Kn)(tt)){var at=tt.wrapActions,Ft=tt.wrapSelectors;if((0,Nn.Kn)(at))for(var Lt in at){var on,wn=at[Lt];(0,Ne.default)(wn)||(at[Lt]=wn=[wn]),un&&un.statePlugins&&un.statePlugins[qe]&&un.statePlugins[qe].wrapActions&&un.statePlugins[qe].wrapActions[Lt]&&(un.statePlugins[qe].wrapActions[Lt]=(0,o.default)(on=at[Lt]).call(on,un.statePlugins[qe].wrapActions[Lt]))}if((0,Nn.Kn)(Ft))for(var tr in Ft){var Gn,dr=Ft[tr];(0,Ne.default)(dr)||(Ft[tr]=dr=[dr]),un&&un.statePlugins&&un.statePlugins[qe]&&un.statePlugins[qe].wrapSelectors&&un.statePlugins[qe].wrapSelectors[tr]&&(un.statePlugins[qe].wrapSelectors[tr]=(0,o.default)(Gn=Ft[tr]).call(Gn,un.statePlugins[qe].wrapSelectors[tr]))}}}return V()(An,un)}function Jn(An){var un=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},gt=un.logErrors,qe=void 0===gt||gt;return"function"!=typeof An?An:function(){try{for(var tt,at=arguments.length,Ft=new Array(at),Lt=0;Lt<at;Lt++)Ft[Lt]=arguments[Lt];return An.call.apply(An,(0,o.default)(tt=[this]).call(tt,Ft))}catch(on){return qe&&console.error(on),null}}}function Qn(An,un,gt){var tt,at,Lt;return tt=An,at=un,Lt=[(0,Nn._5)(gt)],(0,Dt.createStore)(tt,at,(xn.Z.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__||Dt.compose)(Dt.applyMiddleware.apply(void 0,Lt)))}var ur=Po(7793),In=Po(6821),Yr=Po(7038),Qi=Po(3420),Di=Po(8883),ji=Po(6575),Wr=Po(9150),Bn=Po(2990),bn=Po(3705),Xr=Po(8525),Ni=Po(8011),Xi=Po(1661),Bo=Po(4980),Ao=Po(9978),zs=Po(8560),Qs=Po(8102),Ii=Po(6340),uo=Po(9972),bo=Po(5416),Qe=Po(8818),Pt=(Po(5053),Po(9569),Po(5013)),Rt=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(qe,tt){var at;(0,oe.default)(this,gt),at=un.call(this,qe,tt),(0,Q.default)((0,Ii.default)(at),"toggleShown",function(){var Lt=at.props,on=Lt.layoutActions,wn=Lt.tag,tr=Lt.operationId,Gn=Lt.isShown,dr=at.getResolvedSubtree();Gn||void 0!==dr||at.requestResolvedSubtree(),on.show(["operations",wn,tr],!Gn)}),(0,Q.default)((0,Ii.default)(at),"onCancelClick",function(){at.setState({tryItOutEnabled:!at.state.tryItOutEnabled})}),(0,Q.default)((0,Ii.default)(at),"onTryoutClick",function(){at.setState({tryItOutEnabled:!at.state.tryItOutEnabled})}),(0,Q.default)((0,Ii.default)(at),"onExecute",function(){at.setState({executeInProgress:!0})}),(0,Q.default)((0,Ii.default)(at),"getResolvedSubtree",function(){var Lt=at.props,wn=Lt.path,tr=Lt.method,Gn=Lt.specPath;return Lt.specSelectors.specResolvedSubtree(Gn?Gn.toJS():["paths",wn,tr])}),(0,Q.default)((0,Ii.default)(at),"requestResolvedSubtree",function(){var Lt=at.props,wn=Lt.path,tr=Lt.method,Gn=Lt.specPath;return Lt.specActions.requestResolvedSubtree(Gn?Gn.toJS():["paths",wn,tr])});var Ft=qe.getConfigs().tryItOutEnabled;return at.state={tryItOutEnabled:!0===Ft||"true"===Ft,executeInProgress:!1},at}return(0,le.default)(gt,[{key:"mapStateToProps",value:function(qe,tt){var at,Ft=tt.op,Lt=tt.layoutSelectors,on=(0,tt.getConfigs)(),wn=on.docExpansion,tr=on.deepLinking,Gn=on.displayOperationId,dr=on.displayRequestDuration,Ti=on.supportedSubmitMethods,_i=Lt.showSummary(),Pi=Ft.getIn(["operation","__originalOperationId"])||Ft.getIn(["operation","operationId"])||(0,Pt.opId)(Ft.get("operation"),tt.path,tt.method)||Ft.get("id"),Li=["operations",tt.tag,Pi],co=tr&&"false"!==tr,qi=(0,Qe.default)(Ti).call(Ti,tt.method)>=0&&(void 0===tt.allowTryItOut?tt.specSelectors.allowTryItOutFor(tt.path,tt.method):tt.allowTryItOut),to=Ft.getIn(["operation","security"])||tt.specSelectors.security();return{operationId:Pi,isDeepLinkingEnabled:co,showSummary:_i,displayOperationId:Gn,displayRequestDuration:dr,allowTryItOut:qi,security:to,isAuthorized:tt.authSelectors.isAuthorized(to),isShown:Lt.isShown(Li,"full"===wn),jumpToKey:(0,o.default)(at="paths.".concat(tt.path,".")).call(at,tt.method),response:tt.specSelectors.responseFor(tt.path,tt.method),request:tt.specSelectors.requestFor(tt.path,tt.method)}}},{key:"componentDidMount",value:function(){var qe=this.props.isShown,tt=this.getResolvedSubtree();qe&&void 0===tt&&this.requestResolvedSubtree()}},{key:"UNSAFE_componentWillReceiveProps",value:function(qe){var tt=qe.response,at=qe.isShown,Ft=this.getResolvedSubtree();tt!==this.props.response&&this.setState({executeInProgress:!1}),at&&void 0===Ft&&this.requestResolvedSubtree()}},{key:"render",value:function(){var qe=this.props,tt=qe.op,at=qe.tag,Ft=qe.path,Lt=qe.method,on=qe.security,wn=qe.isAuthorized,tr=qe.operationId,Gn=qe.showSummary,dr=qe.isShown,Ti=qe.jumpToKey,_i=qe.allowTryItOut,Pi=qe.response,Li=qe.request,co=qe.displayOperationId,qi=qe.displayRequestDuration,to=qe.isDeepLinkingEnabled,Cs=qe.specPath,Ls=qe.specSelectors,ta=qe.specActions,xs=qe.getComponent,Rs=qe.getConfigs,ks=qe.layoutSelectors,Ms=qe.layoutActions,Ua=qe.authActions,Js=qe.authSelectors,ba=qe.oas3Actions,rs=qe.oas3Selectors,na=qe.fn,vl=xs("operation"),qc=this.getResolvedSubtree()||(0,bt.Map)(),pf=(0,bt.fromJS)({op:qc,tag:at,path:Ft,summary:tt.getIn(["operation","summary"])||"",deprecated:qc.get("deprecated")||tt.getIn(["operation","deprecated"])||!1,method:Lt,security:on,isAuthorized:wn,operationId:tr,originalOperationId:qc.getIn(["operation","__originalOperationId"]),showSummary:Gn,isShown:dr,jumpToKey:Ti,allowTryItOut:_i,request:Li,displayOperationId:co,displayRequestDuration:qi,isDeepLinkingEnabled:to,executeInProgress:this.state.executeInProgress,tryItOutEnabled:this.state.tryItOutEnabled});return G.default.createElement(vl,{operation:pf,response:Pi,request:Li,isShown:dr,toggleShown:this.toggleShown,onTryoutClick:this.onTryoutClick,onCancelClick:this.onCancelClick,onExecute:this.onExecute,specPath:Cs,specActions:ta,specSelectors:Ls,oas3Actions:ba,oas3Selectors:rs,layoutActions:Ms,layoutSelectors:ks,authActions:Ua,authSelectors:Js,getComponent:xs,getConfigs:Rs,fn:na})}}]),gt}(G.PureComponent);(0,Q.default)(Rt,"defaultProps",{showSummary:!0,response:null,allowTryItOut:!0,displayOperationId:!1,displayRequestDuration:!1});var qn=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){return(0,oe.default)(this,gt),un.apply(this,arguments)}return(0,le.default)(gt,[{key:"getLayout",value:function(){var qe=this.props,tt=qe.getComponent,at=qe.layoutSelectors.current();return tt(at,!0)||function(){return G.default.createElement("h1",null,' No layout defined for "',at,'" ')}}},{key:"render",value:function(){var qe=this.getLayout();return G.default.createElement(qe,null)}}]),gt}(G.default.Component);qn.defaultProps={};var wr=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){var qe,tt;(0,oe.default)(this,gt);for(var at=arguments.length,Ft=new Array(at),Lt=0;Lt<at;Lt++)Ft[Lt]=arguments[Lt];return tt=un.call.apply(un,(0,o.default)(qe=[this]).call(qe,Ft)),(0,Q.default)((0,Ii.default)(tt),"close",function(){tt.props.authActions.showDefinitions(!1)}),tt}return(0,le.default)(gt,[{key:"render",value:function(){var qe,tt=this.props,at=tt.authSelectors,Ft=tt.authActions,Lt=tt.getComponent,on=tt.errSelectors,wn=tt.specSelectors,tr=tt.fn.AST,Gn=void 0===tr?{}:tr,dr=at.shownDefinitions(),Ti=Lt("auths");return G.default.createElement("div",{className:"dialog-ux"},G.default.createElement("div",{className:"backdrop-ux"}),G.default.createElement("div",{className:"modal-ux"},G.default.createElement("div",{className:"modal-dialog-ux"},G.default.createElement("div",{className:"modal-ux-inner"},G.default.createElement("div",{className:"modal-ux-header"},G.default.createElement("h3",null,"Available authorizations"),G.default.createElement("button",{type:"button",className:"close-modal",onClick:this.close},G.default.createElement("svg",{width:"20",height:"20"},G.default.createElement("use",{href:"#close",xlinkHref:"#close"})))),G.default.createElement("div",{className:"modal-ux-content"},(0,we.default)(qe=dr.valueSeq()).call(qe,function(_i,Pi){return G.default.createElement(Ti,{key:Pi,AST:Gn,definitions:_i,getComponent:Lt,errSelectors:on,authSelectors:at,authActions:Ft,specSelectors:wn})}))))))}}]),gt}(G.default.Component),Gr=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){return(0,oe.default)(this,gt),un.apply(this,arguments)}return(0,le.default)(gt,[{key:"render",value:function(){var qe=this.props,tt=qe.isAuthorized,at=qe.showPopup,Ft=qe.onClick,Lt=(0,qe.getComponent)("authorizationPopup",!0);return G.default.createElement("div",{className:"auth-wrapper"},G.default.createElement("button",{className:tt?"btn authorize locked":"btn authorize unlocked",onClick:Ft},G.default.createElement("span",null,"Authorize"),G.default.createElement("svg",{width:"20",height:"20"},G.default.createElement("use",{href:tt?"#locked":"#unlocked",xlinkHref:tt?"#locked":"#unlocked"}))),at&&G.default.createElement(Lt,null))}}]),gt}(G.default.Component),Fi=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){return(0,oe.default)(this,gt),un.apply(this,arguments)}return(0,le.default)(gt,[{key:"render",value:function(){var qe=this.props,tt=qe.authActions,at=qe.authSelectors,Lt=qe.getComponent,on=qe.specSelectors.securityDefinitions(),wn=at.definitionsToAuthorize(),tr=Lt("authorizeBtn");return on?G.default.createElement(tr,{onClick:function(){return tt.showDefinitions(wn)},isAuthorized:!!at.authorized().size,showPopup:!!at.shownDefinitions(),getComponent:Lt}):null}}]),gt}(G.default.Component),Ws=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){var qe,tt;(0,oe.default)(this,gt);for(var at=arguments.length,Ft=new Array(at),Lt=0;Lt<at;Lt++)Ft[Lt]=arguments[Lt];return tt=un.call.apply(un,(0,o.default)(qe=[this]).call(qe,Ft)),(0,Q.default)((0,Ii.default)(tt),"onClick",function(on){on.stopPropagation();var wn=tt.props.onClick;wn&&wn()}),tt}return(0,le.default)(gt,[{key:"render",value:function(){var qe=this.props.isAuthorized;return G.default.createElement("button",{className:qe?"authorization__btn locked":"authorization__btn unlocked","aria-label":qe?"authorization button locked":"authorization button unlocked",onClick:this.onClick},G.default.createElement("svg",{width:"20",height:"20"},G.default.createElement("use",{href:qe?"#locked":"#unlocked",xlinkHref:qe?"#locked":"#unlocked"})))}}]),gt}(G.default.Component),Zo=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(qe,tt){var at;return(0,oe.default)(this,gt),at=un.call(this,qe,tt),(0,Q.default)((0,Ii.default)(at),"onAuthChange",function(Ft){at.setState((0,Q.default)({},Ft.name,Ft))}),(0,Q.default)((0,Ii.default)(at),"submitAuth",function(Ft){Ft.preventDefault(),at.props.authActions.authorizeWithPersistOption(at.state)}),(0,Q.default)((0,Ii.default)(at),"logoutClick",function(Ft){Ft.preventDefault();var Lt=at.props,on=Lt.authActions,wn=Lt.definitions,tr=(0,we.default)(wn).call(wn,function(Gn,dr){return dr}).toArray();at.setState((0,ke.default)(tr).call(tr,function(Gn,dr){return Gn[dr]="",Gn},{})),on.logoutWithPersistOption(tr)}),(0,Q.default)((0,Ii.default)(at),"close",function(Ft){Ft.preventDefault(),at.props.authActions.showDefinitions(!1)}),at.state={},at}return(0,le.default)(gt,[{key:"render",value:function(){var qe,tt=this,at=this.props,Ft=at.definitions,Lt=at.getComponent,on=at.authSelectors,wn=at.errSelectors,tr=Lt("AuthItem"),Gn=Lt("oauth2",!0),dr=Lt("Button"),Ti=on.authorized(),_i=(0,_.default)(Ft).call(Ft,function(co,qi){return!!Ti.get(qi)}),Pi=(0,_.default)(Ft).call(Ft,function(co){return"oauth2"!==co.get("type")}),Li=(0,_.default)(Ft).call(Ft,function(co){return"oauth2"===co.get("type")});return G.default.createElement("div",{className:"auth-container"},!!Pi.size&&G.default.createElement("form",{onSubmit:this.submitAuth},(0,we.default)(Pi).call(Pi,function(co,qi){return G.default.createElement(tr,{key:qi,schema:co,name:qi,getComponent:Lt,onAuthChange:tt.onAuthChange,authorized:Ti,errSelectors:wn})}).toArray(),G.default.createElement("div",{className:"auth-btn-wrapper"},Pi.size===_i.size?G.default.createElement(dr,{className:"btn modal-btn auth",onClick:this.logoutClick},"Logout"):G.default.createElement(dr,{type:"submit",className:"btn modal-btn auth authorize"},"Authorize"),G.default.createElement(dr,{className:"btn modal-btn auth btn-done",onClick:this.close},"Close"))),Li&&Li.size?G.default.createElement("div",null,G.default.createElement("div",{className:"scope-def"},G.default.createElement("p",null,"Scopes are used to grant an application different levels of access to data on behalf of the end user. Each API may declare one or more scopes."),G.default.createElement("p",null,"API requires the following scopes. Select which ones you want to grant to Swagger UI.")),(0,we.default)(qe=(0,_.default)(Ft).call(Ft,function(co){return"oauth2"===co.get("type")})).call(qe,function(co,qi){return G.default.createElement("div",{key:qi},G.default.createElement(Gn,{authorized:Ti,schema:co,name:qi}))}).toArray()):null)}}]),gt}(G.default.Component),ol=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){return(0,oe.default)(this,gt),un.apply(this,arguments)}return(0,le.default)(gt,[{key:"render",value:function(){var qe,tt=this.props,at=tt.schema,Ft=tt.name,Lt=tt.getComponent,on=tt.onAuthChange,wn=tt.authorized,tr=tt.errSelectors,Gn=Lt("apiKeyAuth"),dr=Lt("basicAuth"),Ti=at.get("type");switch(Ti){case"apiKey":qe=G.default.createElement(Gn,{key:Ft,schema:at,name:Ft,errSelectors:tr,authorized:wn,getComponent:Lt,onChange:on});break;case"basic":qe=G.default.createElement(dr,{key:Ft,schema:at,name:Ft,errSelectors:tr,authorized:wn,getComponent:Lt,onChange:on});break;default:qe=G.default.createElement("div",{key:Ft},"Unknown security definition type ",Ti)}return G.default.createElement("div",{key:"".concat(Ft,"-jump")},qe)}}]),gt}(G.default.Component),gl=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){return(0,oe.default)(this,gt),un.apply(this,arguments)}return(0,le.default)(gt,[{key:"render",value:function(){var qe=this.props.error,tt=qe.get("level"),at=qe.get("message"),Ft=qe.get("source");return G.default.createElement("div",{className:"errors"},G.default.createElement("b",null,Ft," ",tt),G.default.createElement("span",null,at))}}]),gt}(G.default.Component),Zl=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(qe,tt){var at;(0,oe.default)(this,gt),at=un.call(this,qe,tt),(0,Q.default)((0,Ii.default)(at),"onChange",function(tr){var Gn=at.props.onChange,Ti=(0,ye.default)({},at.state,{value:tr.target.value});at.setState(Ti),Gn(Ti)});var Ft=at.props,Lt=Ft.name,on=Ft.schema,wn=at.getValue();return at.state={name:Lt,schema:on,value:wn},at}return(0,le.default)(gt,[{key:"getValue",value:function(){var qe=this.props,at=qe.authorized;return at&&at.getIn([qe.name,"value"])}},{key:"render",value:function(){var qe,tt,at=this.props,Ft=at.schema,Lt=at.getComponent,on=at.errSelectors,wn=at.name,tr=Lt("Input"),Gn=Lt("Row"),dr=Lt("Col"),Ti=Lt("authError"),_i=Lt("Markdown",!0),Pi=Lt("JumpToPath",!0),Li=this.getValue(),co=(0,_.default)(qe=on.allErrors()).call(qe,function(qi){return qi.get("authId")===wn});return G.default.createElement("div",null,G.default.createElement("h4",null,G.default.createElement("code",null,wn||Ft.get("name")),"\xa0(apiKey)",G.default.createElement(Pi,{path:["securityDefinitions",wn]})),Li&&G.default.createElement("h6",null,"Authorized"),G.default.createElement(Gn,null,G.default.createElement(_i,{source:Ft.get("description")})),G.default.createElement(Gn,null,G.default.createElement("p",null,"Name: ",G.default.createElement("code",null,Ft.get("name")))),G.default.createElement(Gn,null,G.default.createElement("p",null,"In: ",G.default.createElement("code",null,Ft.get("in")))),G.default.createElement(Gn,null,G.default.createElement("label",null,"Value:"),Li?G.default.createElement("code",null," ****** "):G.default.createElement(dr,null,G.default.createElement(tr,{type:"text",onChange:this.onChange,autoFocus:!0}))),(0,we.default)(tt=co.valueSeq()).call(tt,function(qi,to){return G.default.createElement(Ti,{error:qi,key:to})}))}}]),gt}(G.default.Component),Qu=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(qe,tt){var at;(0,oe.default)(this,gt),at=un.call(this,qe,tt),(0,Q.default)((0,Ii.default)(at),"onChange",function(tr){var Gn=at.props.onChange,dr=tr.target,Pi=at.state.value;Pi[dr.name]=dr.value,at.setState({value:Pi}),Gn(at.state)});var Ft=at.props,Lt=Ft.schema,on=Ft.name,wn=at.getValue().username;return at.state={name:on,schema:Lt,value:wn?{username:wn}:{}},at}return(0,le.default)(gt,[{key:"getValue",value:function(){var qe=this.props,tt=qe.authorized;return tt&&tt.getIn([qe.name,"value"])||{}}},{key:"render",value:function(){var qe,tt,at=this.props,Ft=at.schema,Lt=at.getComponent,on=at.name,wn=at.errSelectors,tr=Lt("Input"),Gn=Lt("Row"),dr=Lt("Col"),Ti=Lt("authError"),_i=Lt("JumpToPath",!0),Pi=Lt("Markdown",!0),Li=this.getValue().username,co=(0,_.default)(qe=wn.allErrors()).call(qe,function(qi){return qi.get("authId")===on});return G.default.createElement("div",null,G.default.createElement("h4",null,"Basic authorization",G.default.createElement(_i,{path:["securityDefinitions",on]})),Li&&G.default.createElement("h6",null,"Authorized"),G.default.createElement(Gn,null,G.default.createElement(Pi,{source:Ft.get("description")})),G.default.createElement(Gn,null,G.default.createElement("label",null,"Username:"),Li?G.default.createElement("code",null," ",Li," "):G.default.createElement(dr,null,G.default.createElement(tr,{type:"text",required:"required",name:"username",onChange:this.onChange,autoFocus:!0}))),G.default.createElement(Gn,null,G.default.createElement("label",null,"Password:"),Li?G.default.createElement("code",null," ****** "):G.default.createElement(dr,null,G.default.createElement(tr,{autoComplete:"new-password",name:"password",type:"password",onChange:this.onChange}))),(0,we.default)(tt=co.valueSeq()).call(tt,function(qi,to){return G.default.createElement(Ti,{error:qi,key:to})}))}}]),gt}(G.default.Component);function Gf(An){var un=An.example,gt=An.showValue,qe=An.getComponent,tt=An.getConfigs,at=qe("Markdown",!0),Ft=qe("highlightCode");return un?G.default.createElement("div",{className:"example"},un.get("description")?G.default.createElement("section",{className:"example__section"},G.default.createElement("div",{className:"example__section-header"},"Example Description"),G.default.createElement("p",null,G.default.createElement(at,{source:un.get("description")}))):null,gt&&un.has("value")?G.default.createElement("section",{className:"example__section"},G.default.createElement("div",{className:"example__section-header"},"Example Value"),G.default.createElement(Ft,{getConfigs:tt,value:(0,Nn.Pz)(un.get("value"))})):null):null}var wl=Po(6914),Vc=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){var qe,tt;(0,oe.default)(this,gt);for(var at=arguments.length,Ft=new Array(at),Lt=0;Lt<at;Lt++)Ft[Lt]=arguments[Lt];return tt=un.call.apply(un,(0,o.default)(qe=[this]).call(qe,Ft)),(0,Q.default)((0,Ii.default)(tt),"_onSelect",function(on){var wn=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},tr=wn.isSyntheticChange,Gn=void 0!==tr&&tr;"function"==typeof tt.props.onSelect&&tt.props.onSelect(on,{isSyntheticChange:Gn})}),(0,Q.default)((0,Ii.default)(tt),"_onDomSelect",function(on){if("function"==typeof tt.props.onSelect){var wn=on.target.selectedOptions[0].getAttribute("value");tt._onSelect(wn,{isSyntheticChange:!1})}}),(0,Q.default)((0,Ii.default)(tt),"getCurrentExample",function(){var on=tt.props,wn=on.examples,Gn=wn.get(on.currentExampleKey),dr=wn.keySeq().first(),Ti=wn.get(dr);return Gn||Ti||(0,wl.default)({})}),tt}return(0,le.default)(gt,[{key:"componentDidMount",value:function(){var qe=this.props,at=qe.examples;if("function"==typeof qe.onSelect){var Ft=at.first(),Lt=at.keyOf(Ft);this._onSelect(Lt,{isSyntheticChange:!0})}}},{key:"UNSAFE_componentWillReceiveProps",value:function(qe){var at=qe.examples;if(at!==this.props.examples&&!at.has(qe.currentExampleKey)){var Ft=at.first(),Lt=at.keyOf(Ft);this._onSelect(Lt,{isSyntheticChange:!0})}}},{key:"render",value:function(){var qe=this.props,tt=qe.examples,at=qe.currentExampleKey,Ft=qe.isValueModified,Lt=qe.isModifiedValueAvailable;return G.default.createElement("div",{className:"examples-select"},qe.showLabels?G.default.createElement("span",{className:"examples-select__section-label"},"Examples: "):null,G.default.createElement("select",{className:"examples-select-element",onChange:this._onDomSelect,value:Lt&&Ft?"__MODIFIED__VALUE__":at||""},Lt?G.default.createElement("option",{value:"__MODIFIED__VALUE__"},"[Modified value]"):null,(0,we.default)(tt).call(tt,function(wn,tr){return G.default.createElement("option",{key:tr,value:tr},wn.get("summary")||tr)}).valueSeq()))}}]),gt}(G.default.PureComponent);(0,Q.default)(Vc,"defaultProps",{examples:bt.default.Map({}),onSelect:function(){for(var An,un,gt=arguments.length,qe=new Array(gt),tt=0;tt<gt;tt++)qe[tt]=arguments[tt];return(An=console).log.apply(An,(0,o.default)(un=["DEBUG: ExamplesSelect was not given an onSelect callback"]).call(un,qe))},currentExampleKey:null,showLabels:!0});var gp=function(An){return bt.List.isList(An)?An:(0,Nn.Pz)(An)},Lh=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(qe){var tt;(0,oe.default)(this,gt),tt=un.call(this,qe),(0,Q.default)((0,Ii.default)(tt),"_getStateForCurrentNamespace",function(){return(tt.state[tt.props.currentNamespace]||(0,bt.Map)()).toObject()}),(0,Q.default)((0,Ii.default)(tt),"_setStateForCurrentNamespace",function(Ft){return tt._setStateForNamespace(tt.props.currentNamespace,Ft)}),(0,Q.default)((0,Ii.default)(tt),"_setStateForNamespace",function(Ft,Lt){var on=(tt.state[Ft]||(0,bt.Map)()).mergeDeep(Lt);return tt.setState((0,Q.default)({},Ft,on))}),(0,Q.default)((0,Ii.default)(tt),"_isCurrentUserInputSameAsExampleValue",function(){var Ft=tt.props.currentUserInputValue;return tt._getCurrentExampleValue()===Ft}),(0,Q.default)((0,Ii.default)(tt),"_getValueForExample",function(Ft,Lt){return gp(((Lt||tt.props).examples||(0,bt.Map)({})).getIn([Ft,"value"]))}),(0,Q.default)((0,Ii.default)(tt),"_getCurrentExampleValue",function(Ft){return tt._getValueForExample((Ft||tt.props).currentKey,Ft||tt.props)}),(0,Q.default)((0,Ii.default)(tt),"_onExamplesSelect",function(Ft){var Lt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},on=Lt.isSyntheticChange,wn=tt.props,tr=wn.onSelect,Gn=wn.updateValue,dr=wn.currentUserInputValue,Ti=wn.userHasEditedBody,_i=tt._getStateForCurrentNamespace(),Pi=_i.lastUserEditedValue,Li=tt._getValueForExample(Ft);if("__MODIFIED__VALUE__"===Ft)return Gn(gp(Pi)),tt._setStateForCurrentNamespace({isModifiedValueSelected:!0});if("function"==typeof tr){for(var co,qi=arguments.length,to=new Array(qi>2?qi-2:0),Cs=2;Cs<qi;Cs++)to[Cs-2]=arguments[Cs];tr.apply(void 0,(0,o.default)(co=[Ft,{isSyntheticChange:on}]).call(co,to))}tt._setStateForCurrentNamespace({lastDownstreamValue:Li,isModifiedValueSelected:on&&Ti||!!dr&&dr!==Li}),on||"function"==typeof Gn&&Gn(gp(Li))});var at=tt._getCurrentExampleValue();return tt.state=(0,Q.default)({},qe.currentNamespace,(0,bt.Map)({lastUserEditedValue:tt.props.currentUserInputValue,lastDownstreamValue:at,isModifiedValueSelected:tt.props.userHasEditedBody||tt.props.currentUserInputValue!==at})),tt}return(0,le.default)(gt,[{key:"componentWillUnmount",value:function(){this.props.setRetainRequestBodyValueFlag(!1)}},{key:"UNSAFE_componentWillReceiveProps",value:function(qe){var tt=qe.currentUserInputValue,at=qe.examples,Ft=qe.onSelect,Lt=qe.userHasEditedBody,on=this._getStateForCurrentNamespace(),wn=on.lastUserEditedValue,tr=on.lastDownstreamValue,Gn=this._getValueForExample(qe.currentKey,qe),dr=(0,_.default)(at).call(at,function(Ti){return Ti.get("value")===tt||(0,Nn.Pz)(Ti.get("value"))===tt});dr.size?Ft(dr.has(qe.currentKey)?qe.currentKey:dr.keySeq().first(),{isSyntheticChange:!0}):tt!==this.props.currentUserInputValue&&tt!==wn&&tt!==tr&&(this.props.setRetainRequestBodyValueFlag(!0),this._setStateForNamespace(qe.currentNamespace,{lastUserEditedValue:qe.currentUserInputValue,isModifiedValueSelected:Lt||tt!==Gn}))}},{key:"render",value:function(){var qe=this.props,tt=qe.currentUserInputValue,at=qe.examples,Ft=qe.currentKey,Lt=qe.getComponent,on=qe.userHasEditedBody,wn=this._getStateForCurrentNamespace(),tr=wn.lastDownstreamValue,Gn=wn.lastUserEditedValue,dr=wn.isModifiedValueSelected,Ti=Lt("ExamplesSelect");return G.default.createElement(Ti,{examples:at,currentExampleKey:Ft,onSelect:this._onExamplesSelect,isModifiedValueAvailable:!!Gn&&Gn!==tr,isValueModified:void 0!==tt&&dr&&tt!==this._getCurrentExampleValue()||on})}}]),gt}(G.default.PureComponent);(0,Q.default)(Lh,"defaultProps",{userHasEditedBody:!1,examples:(0,bt.Map)({}),currentNamespace:"__DEFAULT__NAMESPACE__",setRetainRequestBodyValueFlag:function(){},onSelect:function(){for(var An,un,gt=arguments.length,qe=new Array(gt),tt=0;tt<gt;tt++)qe[tt]=arguments[tt];return(An=console).log.apply(An,(0,o.default)(un=["ExamplesSelectValueRetainer: no `onSelect` function was provided"]).call(un,qe))},updateValue:function(){for(var An,un,gt=arguments.length,qe=new Array(gt),tt=0;tt<gt;tt++)qe[tt]=arguments[tt];return(An=console).log.apply(An,(0,o.default)(un=["ExamplesSelectValueRetainer: no `updateValue` function was provided"]).call(un,qe))}});var ih=Po(8898),kh=Po(5487),zl=Po(2372),$c=Po(8900),Fp=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(qe,tt){var at;(0,oe.default)(this,gt),at=un.call(this,qe,tt),(0,Q.default)((0,Ii.default)(at),"close",function(qi){qi.preventDefault(),at.props.authActions.showDefinitions(!1)}),(0,Q.default)((0,Ii.default)(at),"authorize",function(){var qi=at.props,to=qi.authActions,Cs=qi.errActions,ta=qi.authSelectors,xs=qi.oas3Selectors,Rs=(0,qi.getConfigs)(),ks=ta.getConfigs();Cs.clear({authId:name,type:"auth",source:"auth"}),function(Ms){var Ua=Ms.auth,Js=Ms.authActions,ba=Ms.errActions,rs=Ms.configs,na=Ms.authConfigs,vl=void 0===na?{}:na,qc=Ms.currentServer,pf=Ua.schema,hf=Ua.scopes,Vf=Ua.name,Wl=Ua.clientId,ed=pf.get("flow"),lc=[];switch(ed){case"password":return void Js.authorizePassword(Ua);case"application":case"clientCredentials":case"client_credentials":return void Js.authorizeApplication(Ua);case"accessCode":case"authorizationCode":case"authorization_code":lc.push("response_type=code");break;case"implicit":lc.push("response_type=token")}"string"==typeof Wl&&lc.push("client_id="+encodeURIComponent(Wl));var vp=rs.oauth2RedirectUrl;if(void 0!==vp){lc.push("redirect_uri="+encodeURIComponent(vp));var sp=[];(0,Ne.default)(hf)?sp=hf:bt.default.List.isList(hf)&&(sp=hf.toArray()),sp.length>0&&lc.push("scope="+encodeURIComponent(sp.join(vl.scopeSeparator||" ")));var Gd=(0,Nn.r3)(new Date);if(lc.push("state="+encodeURIComponent(Gd)),void 0!==vl.realm&&lc.push("realm="+encodeURIComponent(vl.realm)),("authorizationCode"===ed||"authorization_code"===ed||"accessCode"===ed)&&vl.usePkceWithAuthorizationCodeGrant){var uc=(0,Nn.Uj)(),Vd=(0,Nn.Xb)(uc);lc.push("code_challenge="+Vd),lc.push("code_challenge_method=S256"),Ua.codeVerifier=uc}var _f=vl.additionalQueryStringParams;for(var mf in _f){var Hh;void 0!==_f[mf]&&lc.push((0,we.default)(Hh=[mf,_f[mf]]).call(Hh,encodeURIComponent).join("="))}var Fd=pf.get("authorizationUrl"),Df=[qc?(0,$c.default)((0,Nn.Nm)(Fd),qc,!0).toString():(0,Nn.Nm)(Fd),lc.join("&")].join(-1===(0,Qe.default)(Fd).call(Fd,"?")?"?":"&");Js.authPopup(Df,{auth:Ua,state:Gd,redirectUrl:vp,callback:"implicit"===ed?Js.preAuthorizeImplicit:vl.useBasicAuthenticationWithAccessCodeGrant?Js.authorizeAccessCodeWithBasicAuthentication:Js.authorizeAccessCodeWithFormParams,errCb:ba.newAuthErr})}else ba.newAuthErr({authId:Vf,source:"validation",level:"error",message:"oauth2RedirectUrl configuration is not passed. Oauth2 authorization cannot be performed."})}({auth:at.state,currentServer:xs.serverEffectiveValue(xs.selectedServer()),authActions:to,errActions:Cs,configs:Rs,authConfigs:ks})}),(0,Q.default)((0,Ii.default)(at),"onScopeChange",function(qi){var to,Cs,Ls=qi.target,ta=Ls.checked,xs=Ls.dataset.value;if(ta&&-1===(0,Qe.default)(to=at.state.scopes).call(to,xs)){var Rs,ks=(0,o.default)(Rs=at.state.scopes).call(Rs,[xs]);at.setState({scopes:ks})}else if(!ta&&(0,Qe.default)(Cs=at.state.scopes).call(Cs,xs)>-1){var Ms;at.setState({scopes:(0,_.default)(Ms=at.state.scopes).call(Ms,function(Ua){return Ua!==xs})})}}),(0,Q.default)((0,Ii.default)(at),"onInputChange",function(qi){var to=qi.target,ta=(0,Q.default)({},to.dataset.name,to.value);at.setState(ta)}),(0,Q.default)((0,Ii.default)(at),"selectScopes",function(qi){var to;at.setState(qi.target.dataset.all?{scopes:(0,ih.default)((0,kh.default)(to=at.props.schema.get("allowedScopes")||at.props.schema.get("scopes")).call(to))}:{scopes:[]})}),(0,Q.default)((0,Ii.default)(at),"logout",function(qi){qi.preventDefault();var to=at.props,Cs=to.authActions,ta=to.name;to.errActions.clear({authId:ta,type:"auth",source:"auth"}),Cs.logoutWithPersistOption([ta])});var Ft=at.props,Lt=Ft.name,on=Ft.schema,wn=Ft.authorized,tr=Ft.authSelectors,Gn=wn&&wn.get(Lt),dr=tr.getConfigs()||{},Ti=Gn&&Gn.get("username")||"",_i=Gn&&Gn.get("clientId")||dr.clientId||"",Pi=Gn&&Gn.get("clientSecret")||dr.clientSecret||"",Li=Gn&&Gn.get("passwordType")||"basic",co=Gn&&Gn.get("scopes")||dr.scopes||[];return"string"==typeof co&&(co=co.split(dr.scopeSeparator||" ")),at.state={appName:dr.appName,name:Lt,schema:on,scopes:co,clientId:_i,clientSecret:Pi,username:Ti,password:"",passwordType:Li},at}return(0,le.default)(gt,[{key:"render",value:function(){var qe,tt,at=this,Ft=this.props,Lt=Ft.schema,on=Ft.getComponent,wn=Ft.authSelectors,tr=Ft.errSelectors,Gn=Ft.name,dr=Ft.specSelectors,Ti=on("Input"),_i=on("Row"),Pi=on("Col"),Li=on("Button"),co=on("authError"),qi=on("JumpToPath",!0),to=on("Markdown",!0),Cs=on("InitializedInput"),Ls=dr.isOAS3,ta=Ls()?Lt.get("openIdConnectUrl"):null,xs="implicit",Rs="password",ks=Ls()?ta?"authorization_code":"authorizationCode":"accessCode",Ms=Ls()?ta?"client_credentials":"clientCredentials":"application",Ua=!!(wn.getConfigs()||{}).usePkceWithAuthorizationCodeGrant,Js=Lt.get("flow"),ba=Js===ks&&Ua?Js+" with PKCE":Js,rs=Lt.get("allowedScopes")||Lt.get("scopes"),na=!!wn.authorized().get(Gn),vl=(0,_.default)(qe=tr.allErrors()).call(qe,function(hf){return hf.get("authId")===Gn}),qc=!(0,_.default)(vl).call(vl,function(hf){return"validation"===hf.get("source")}).size,pf=Lt.get("description");return G.default.createElement("div",null,G.default.createElement("h4",null,Gn," (OAuth2, ",ba,") ",G.default.createElement(qi,{path:["securityDefinitions",Gn]})),this.state.appName?G.default.createElement("h5",null,"Application: ",this.state.appName," "):null,pf&&G.default.createElement(to,{source:Lt.get("description")}),na&&G.default.createElement("h6",null,"Authorized"),ta&&G.default.createElement("p",null,"OpenID Connect URL: ",G.default.createElement("code",null,ta)),(Js===xs||Js===ks)&&G.default.createElement("p",null,"Authorization URL: ",G.default.createElement("code",null,Lt.get("authorizationUrl"))),(Js===Rs||Js===ks||Js===Ms)&&G.default.createElement("p",null,"Token URL:",G.default.createElement("code",null," ",Lt.get("tokenUrl"))),G.default.createElement("p",{className:"flow"},"Flow: ",G.default.createElement("code",null,ba)),Js!==Rs?null:G.default.createElement(_i,null,G.default.createElement(_i,null,G.default.createElement("label",{htmlFor:"oauth_username"},"username:"),na?G.default.createElement("code",null," ",this.state.username," "):G.default.createElement(Pi,{tablet:10,desktop:10},G.default.createElement("input",{id:"oauth_username",type:"text","data-name":"username",onChange:this.onInputChange,autoFocus:!0}))),G.default.createElement(_i,null,G.default.createElement("label",{htmlFor:"oauth_password"},"password:"),na?G.default.createElement("code",null," ****** "):G.default.createElement(Pi,{tablet:10,desktop:10},G.default.createElement("input",{id:"oauth_password",type:"password","data-name":"password",onChange:this.onInputChange}))),G.default.createElement(_i,null,G.default.createElement("label",{htmlFor:"password_type"},"Client credentials location:"),na?G.default.createElement("code",null," ",this.state.passwordType," "):G.default.createElement(Pi,{tablet:10,desktop:10},G.default.createElement("select",{id:"password_type","data-name":"passwordType",onChange:this.onInputChange},G.default.createElement("option",{value:"basic"},"Authorization header"),G.default.createElement("option",{value:"request-body"},"Request body"))))),(Js===Ms||Js===xs||Js===ks||Js===Rs)&&(!na||na&&this.state.clientId)&&G.default.createElement(_i,null,G.default.createElement("label",{htmlFor:"client_id"},"client_id:"),na?G.default.createElement("code",null," ****** "):G.default.createElement(Pi,{tablet:10,desktop:10},G.default.createElement(Cs,{id:"client_id",type:"text",required:Js===Rs,initialValue:this.state.clientId,"data-name":"clientId",onChange:this.onInputChange}))),(Js===Ms||Js===ks||Js===Rs)&&!Ua&&G.default.createElement(_i,null,G.default.createElement("label",{htmlFor:"client_secret"},"client_secret:"),na?G.default.createElement("code",null," ****** "):G.default.createElement(Pi,{tablet:10,desktop:10},G.default.createElement(Cs,{id:"client_secret",initialValue:this.state.clientSecret,type:"password","data-name":"clientSecret",onChange:this.onInputChange}))),!na&&rs&&rs.size?G.default.createElement("div",{className:"scopes"},G.default.createElement("h2",null,"Scopes:",G.default.createElement("a",{onClick:this.selectScopes,"data-all":!0},"select all"),G.default.createElement("a",{onClick:this.selectScopes},"select none")),(0,we.default)(rs).call(rs,function(hf,Vf){var Wl,ed,lc,vp,sp;return G.default.createElement(_i,{key:Vf},G.default.createElement("div",{className:"checkbox"},G.default.createElement(Ti,{"data-value":Vf,id:(0,o.default)(Wl=(0,o.default)(ed="".concat(Vf,"-")).call(ed,Js,"-checkbox-")).call(Wl,at.state.name),disabled:na,checked:(0,zl.default)(lc=at.state.scopes).call(lc,Vf),type:"checkbox",onChange:at.onScopeChange}),G.default.createElement("label",{htmlFor:(0,o.default)(vp=(0,o.default)(sp="".concat(Vf,"-")).call(sp,Js,"-checkbox-")).call(vp,at.state.name)},G.default.createElement("span",{className:"item"}),G.default.createElement("div",{className:"text"},G.default.createElement("p",{className:"name"},Vf),G.default.createElement("p",{className:"description"},hf)))))}).toArray()):null,(0,we.default)(tt=vl.valueSeq()).call(tt,function(hf,Vf){return G.default.createElement(co,{error:hf,key:Vf})}),G.default.createElement("div",{className:"auth-btn-wrapper"},qc&&(na?G.default.createElement(Li,{className:"btn modal-btn auth authorize",onClick:this.logout},"Logout"):G.default.createElement(Li,{className:"btn modal-btn auth authorize",onClick:this.authorize},"Authorize")),G.default.createElement(Li,{className:"btn modal-btn auth btn-done",onClick:this.close},"Close")))}}]),gt}(G.default.Component),zi=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){var qe,tt;(0,oe.default)(this,gt);for(var at=arguments.length,Ft=new Array(at),Lt=0;Lt<at;Lt++)Ft[Lt]=arguments[Lt];return tt=un.call.apply(un,(0,o.default)(qe=[this]).call(qe,Ft)),(0,Q.default)((0,Ii.default)(tt),"onClick",function(){var on=tt.props,wn=on.specActions,tr=on.path,Gn=on.method;wn.clearResponse(tr,Gn),wn.clearRequest(tr,Gn)}),tt}return(0,le.default)(gt,[{key:"render",value:function(){return G.default.createElement("button",{className:"btn btn-clear opblock-control__btn",onClick:this.onClick},"Clear")}}]),gt}(G.Component),mr=function(An){var un=An.headers;return G.default.createElement("div",null,G.default.createElement("h5",null,"Response headers"),G.default.createElement("pre",{className:"microlight"},un))},Mi=function(An){var un=An.duration;return G.default.createElement("div",null,G.default.createElement("h5",null,"Request duration"),G.default.createElement("pre",{className:"microlight"},un," ms"))},eo=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){return(0,oe.default)(this,gt),un.apply(this,arguments)}return(0,le.default)(gt,[{key:"shouldComponentUpdate",value:function(qe){return this.props.response!==qe.response||this.props.path!==qe.path||this.props.method!==qe.method||this.props.displayRequestDuration!==qe.displayRequestDuration}},{key:"render",value:function(){var qe,tt=this.props,at=tt.response,Ft=tt.getComponent,Lt=tt.getConfigs,on=tt.displayRequestDuration,wn=tt.specSelectors,tr=tt.path,Gn=tt.method,dr=Lt(),_i=dr.requestSnippetsEnabled,Pi=dr.showMutatedRequest?wn.mutatedRequestFor(tr,Gn):wn.requestFor(tr,Gn),Li=at.get("status"),co=Pi.get("url"),qi=at.get("headers").toJS(),to=at.get("notDocumented"),Cs=at.get("error"),Ls=at.get("text"),ta=at.get("duration"),xs=(0,C.default)(qi),Rs=qi["content-type"]||qi["Content-Type"],ks=Ft("responseBody"),Ms=(0,we.default)(xs).call(xs,function(na){var vl=(0,Ne.default)(qi[na])?qi[na].join():qi[na];return G.default.createElement("span",{className:"headerline",key:na}," ",na,": ",vl," ")}),Ua=0!==Ms.length,Js=Ft("Markdown",!0),ba=Ft("RequestSnippets",!0),rs=Ft("curl");return G.default.createElement("div",null,Pi&&(!0===_i||"true"===_i?G.default.createElement(ba,{request:Pi}):G.default.createElement(rs,{request:Pi,getConfigs:Lt})),co&&G.default.createElement("div",null,G.default.createElement("div",{className:"request-url"},G.default.createElement("h4",null,"Request URL"),G.default.createElement("pre",{className:"microlight"},co))),G.default.createElement("h4",null,"Server response"),G.default.createElement("table",{className:"responses-table live-responses-table"},G.default.createElement("thead",null,G.default.createElement("tr",{className:"responses-header"},G.default.createElement("td",{className:"col_header response-col_status"},"Code"),G.default.createElement("td",{className:"col_header response-col_description"},"Details"))),G.default.createElement("tbody",null,G.default.createElement("tr",{className:"response"},G.default.createElement("td",{className:"response-col_status"},Li,to?G.default.createElement("div",{className:"response-undocumented"},G.default.createElement("i",null," Undocumented ")):null),G.default.createElement("td",{className:"response-col_description"},Cs?G.default.createElement(Js,{source:(0,o.default)(qe="".concat(""!==at.get("name")?"".concat(at.get("name"),": "):"")).call(qe,at.get("message"))}):null,Ls?G.default.createElement(ks,{content:Ls,contentType:Rs,url:co,headers:qi,getConfigs:Lt,getComponent:Ft}):null,Ua?G.default.createElement(mr,{headers:Ms}):null,on&&ta?G.default.createElement(Mi,{duration:ta}):null)))))}}]),gt}(G.default.Component),No=Po(5623),qo=["get","put","post","delete","options","head","patch"],os=(0,o.default)(qo).call(qo,["trace"]),ps=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){var qe,tt;(0,oe.default)(this,gt);for(var at=arguments.length,Ft=new Array(at),Lt=0;Lt<at;Lt++)Ft[Lt]=arguments[Lt];return tt=un.call.apply(un,(0,o.default)(qe=[this]).call(qe,Ft)),(0,Q.default)((0,Ii.default)(tt),"renderOperationTag",function(on,wn){var tr=tt.props,Gn=tr.specSelectors,dr=tr.getComponent,Ti=tr.oas3Selectors,_i=tr.layoutSelectors,Pi=tr.layoutActions,Li=tr.getConfigs,co=dr("OperationContainer",!0),qi=dr("OperationTag"),to=on.get("operations");return G.default.createElement(qi,{key:"operation-"+wn,tagObj:on,tag:wn,oas3Selectors:Ti,layoutSelectors:_i,layoutActions:Pi,getConfigs:Li,getComponent:dr,specUrl:Gn.url()},G.default.createElement("div",{className:"operation-tag-content"},(0,we.default)(to).call(to,function(Cs){var Ls,ta=Cs.get("path"),xs=Cs.get("method"),Rs=bt.default.List(["paths",ta,xs]),ks=Gn.isOAS3()?os:qo;return-1===(0,Qe.default)(ks).call(ks,xs)?null:G.default.createElement(co,{key:(0,o.default)(Ls="".concat(ta,"-")).call(Ls,xs),specPath:Rs,op:Cs,path:ta,method:xs,tag:wn})}).toArray()))}),tt}return(0,le.default)(gt,[{key:"render",value:function(){var qe=this.props.specSelectors.taggedOperations();return 0===qe.size?G.default.createElement("h3",null," No operations defined in spec!"):G.default.createElement("div",null,(0,we.default)(qe).call(qe,this.renderOperationTag).toArray(),qe.size<1?G.default.createElement("h3",null," No operations defined in spec! "):null)}}]),gt}(G.default.Component),_a=Po(3769);function tl(An){return An.match(/^(?:[a-z]+:)?\/\//i)}function vu(An,un){return An?tl(An)?(gt=An).match(/^\/\//i)?(0,o.default)(qe="".concat(window.location.protocol)).call(qe,gt):gt:new _a.default(An,un).href:un;var gt,qe}function sr(An,un){var gt=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},qe=gt.selectedServer,tt=void 0===qe?"":qe;if(An){if(tl(An))return An;var at=vu(tt,un);return tl(at)?new _a.default(An,at).href:new _a.default(An,window.location.href).href}}function Bi(An,un){var gt=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},qe=gt.selectedServer,tt=void 0===qe?"":qe;try{return sr(An,un,{selectedServer:tt})}catch(at){return}}var cs=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){return(0,oe.default)(this,gt),un.apply(this,arguments)}return(0,le.default)(gt,[{key:"render",value:function(){var qe,tt=this.props,at=tt.tagObj,Ft=tt.tag,Lt=tt.children,on=tt.oas3Selectors,wn=tt.layoutSelectors,tr=tt.layoutActions,dr=tt.getComponent,Ti=tt.specUrl,_i=(0,tt.getConfigs)(),Pi=_i.docExpansion,Li=_i.deepLinking,co=Li&&"false"!==Li,qi=dr("Collapse"),to=dr("Markdown",!0),Cs=dr("DeepLink"),Ls=dr("Link"),ta=at.getIn(["tagDetails","description"],null),xs=at.getIn(["tagDetails","externalDocs","description"]),Rs=at.getIn(["tagDetails","externalDocs","url"]);qe=(0,Nn.Wl)(on)&&(0,Nn.Wl)(on.selectedServer)?Bi(Rs,Ti,{selectedServer:on.selectedServer()}):Rs;var ks=["operations-tag",Ft],Ms=wn.isShown(ks,"full"===Pi||"list"===Pi);return G.default.createElement("div",{className:Ms?"opblock-tag-section is-open":"opblock-tag-section"},G.default.createElement("h3",{onClick:function(){return tr.show(ks,!Ms)},className:ta?"opblock-tag":"opblock-tag no-desc",id:(0,we.default)(ks).call(ks,function(Ua){return(0,Nn.J6)(Ua)}).join("-"),"data-tag":Ft,"data-is-open":Ms},G.default.createElement(Cs,{enabled:co,isShown:Ms,path:(0,Nn.oJ)(Ft),text:Ft}),ta?G.default.createElement("small",null,G.default.createElement(to,{source:ta})):G.default.createElement("small",null),xs?G.default.createElement("div",{className:"info__externaldocs"},G.default.createElement("small",null,xs,qe?": ":null,qe?G.default.createElement(Ls,{href:(0,Nn.Nm)(qe),onClick:function(Ua){return Ua.stopPropagation()},target:"_blank"},qe):null)):null,G.default.createElement("button",{"aria-expanded":Ms,className:"expand-operation",title:Ms?"Collapse operation":"Expand operation",onClick:function(){return tr.show(ks,!Ms)}},G.default.createElement("svg",{className:"arrow",width:"20",height:"20","aria-hidden":"true",focusable:"false"},G.default.createElement("use",{href:Ms?"#large-arrow-up":"#large-arrow-down",xlinkHref:Ms?"#large-arrow-up":"#large-arrow-down"})))),G.default.createElement(qi,{isOpened:Ms},Lt))}}]),gt}(G.default.Component);(0,Q.default)(cs,"defaultProps",{tagObj:bt.default.fromJS({}),tag:""});var Wi=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){return(0,oe.default)(this,gt),un.apply(this,arguments)}return(0,le.default)(gt,[{key:"render",value:function(){var qe=this.props,tt=qe.specPath,at=qe.response,Ft=qe.request,Lt=qe.toggleShown,on=qe.onTryoutClick,wn=qe.onCancelClick,tr=qe.onExecute,Gn=qe.fn,dr=qe.getComponent,Ti=qe.getConfigs,_i=qe.specActions,Pi=qe.specSelectors,Li=qe.authActions,co=qe.authSelectors,qi=qe.oas3Actions,to=qe.oas3Selectors,Cs=this.props.operation,Ls=Cs.toJS(),ta=Ls.deprecated,xs=Ls.isShown,Rs=Ls.path,ks=Ls.method,Ms=Ls.op,Ua=Ls.tag,Js=Ls.operationId,ba=Ls.allowTryItOut,rs=Ls.displayRequestDuration,na=Ls.tryItOutEnabled,vl=Ls.executeInProgress,qc=Ms.description,pf=Ms.externalDocs,hf=Ms.schemes,Vf=pf?Bi(pf.url,Pi.url(),{selectedServer:to.selectedServer()}):"",Wl=Cs.getIn(["op"]),ed=Wl.get("responses"),lc=(0,Nn.gp)(Wl,["parameters"]),vp=Pi.operationScheme(Rs,ks),sp=["operations",Ua,Js],F_=(0,Nn.nX)(Wl),Gd=dr("responses"),uc=dr("parameters"),Vd=dr("execute"),_f=dr("clear"),mf=dr("Collapse"),Hh=dr("Markdown",!0),Id=dr("schemes"),Fd=dr("OperationServers"),Df=dr("OperationExt"),Bh=dr("OperationSummary"),zm=dr("Link"),sH=Ti().showExtensions;if(ed&&at&&at.size>0){var aH=!ed.get(String(at.get("status")))&&!ed.get("default");at=at.set("notDocumented",aH)}var lH=[Rs,ks];return G.default.createElement("div",{className:ta?"opblock opblock-deprecated":xs?"opblock opblock-".concat(ks," is-open"):"opblock opblock-".concat(ks),id:(0,Nn.J6)(sp.join("-"))},G.default.createElement(Bh,{operationProps:Cs,isShown:xs,toggleShown:Lt,getComponent:dr,authActions:Li,authSelectors:co,specPath:tt}),G.default.createElement(mf,{isOpened:xs},G.default.createElement("div",{className:"opblock-body"},Wl&&Wl.size||null===Wl?null:G.default.createElement("img",{height:"32px",width:"32px",src:Po(2517),className:"opblock-loading-animation"}),ta&&G.default.createElement("h4",{className:"opblock-title_normal"}," Warning: Deprecated"),qc&&G.default.createElement("div",{className:"opblock-description-wrapper"},G.default.createElement("div",{className:"opblock-description"},G.default.createElement(Hh,{source:qc}))),Vf?G.default.createElement("div",{className:"opblock-external-docs-wrapper"},G.default.createElement("h4",{className:"opblock-title_normal"},"Find more details"),G.default.createElement("div",{className:"opblock-external-docs"},G.default.createElement("span",{className:"opblock-external-docs__description"},G.default.createElement(Hh,{source:pf.description})),G.default.createElement(zm,{target:"_blank",className:"opblock-external-docs__link",href:(0,Nn.Nm)(Vf)},Vf))):null,Wl&&Wl.size?G.default.createElement(uc,{parameters:lc,specPath:tt.push("parameters"),operation:Wl,onChangeKey:lH,onTryoutClick:on,onCancelClick:wn,tryItOutEnabled:na,allowTryItOut:ba,fn:Gn,getComponent:dr,specActions:_i,specSelectors:Pi,pathMethod:[Rs,ks],getConfigs:Ti,oas3Actions:qi,oas3Selectors:to}):null,na?G.default.createElement(Fd,{getComponent:dr,path:Rs,method:ks,operationServers:Wl.get("servers"),pathServers:Pi.paths().getIn([Rs,"servers"]),getSelectedServer:to.selectedServer,setSelectedServer:qi.setSelectedServer,setServerVariableValue:qi.setServerVariableValue,getServerVariable:to.serverVariableValue,getEffectiveServerValue:to.serverEffectiveValue}):null,na&&ba&&hf&&hf.size?G.default.createElement("div",{className:"opblock-schemes"},G.default.createElement(Id,{schemes:hf,path:Rs,method:ks,specActions:_i,currentScheme:vp})):null,G.default.createElement("div",{className:na&&at&&ba?"btn-group":"execute-wrapper"},na&&ba?G.default.createElement(Vd,{operation:Wl,specActions:_i,specSelectors:Pi,oas3Selectors:to,oas3Actions:qi,path:Rs,method:ks,onExecute:tr,disabled:vl}):null,na&&at&&ba?G.default.createElement(_f,{specActions:_i,path:Rs,method:ks}):null),vl?G.default.createElement("div",{className:"loading-container"},G.default.createElement("div",{className:"loading"})):null,ed?G.default.createElement(Gd,{responses:ed,request:Ft,tryItOutResponse:at,getComponent:dr,getConfigs:Ti,specSelectors:Pi,oas3Actions:qi,oas3Selectors:to,specActions:_i,produces:Pi.producesOptionsFor([Rs,ks]),producesValue:Pi.currentProducesFor([Rs,ks]),specPath:tt.push("responses"),path:Rs,method:ks,displayRequestDuration:rs,fn:Gn}):null,sH&&F_.size?G.default.createElement(Df,{extensions:F_,getComponent:dr}):null)))}}]),gt}(G.PureComponent);(0,Q.default)(Wi,"defaultProps",{operation:null,response:null,request:null,specPath:(0,bt.List)(),summary:""});const Ds=(An=>{var un={};return Po.d(un,An),un})({default:()=>Pk()});var ss=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){return(0,oe.default)(this,gt),un.apply(this,arguments)}return(0,le.default)(gt,[{key:"render",value:function(){var qe,tt=this.props,at=tt.isShown,Ft=tt.toggleShown,Lt=tt.getComponent,on=tt.authActions,wn=tt.authSelectors,tr=tt.operationProps,Gn=tt.specPath,dr=tr.toJS(),Ti=dr.summary,_i=dr.isAuthorized,Pi=dr.method,co=dr.showSummary,qi=dr.path,to=dr.operationId,Cs=dr.originalOperationId,Ls=dr.displayOperationId,ta=dr.op.summary,xs=tr.get("security"),Rs=Lt("authorizeOperationBtn"),ks=Lt("OperationSummaryMethod"),Ms=Lt("OperationSummaryPath"),Ua=Lt("JumpToPath",!0),Js=xs&&!!xs.count(),ba=Js&&1===xs.size&&xs.first().isEmpty(),rs=!Js||ba;return G.default.createElement("div",{className:"opblock-summary opblock-summary-".concat(Pi)},G.default.createElement("button",{"aria-label":(0,o.default)(qe="".concat(Pi," ")).call(qe,qi.replace(/\//g,"\u200b/")),"aria-expanded":at,className:"opblock-summary-control",onClick:Ft},G.default.createElement(ks,{method:Pi}),G.default.createElement(Ms,{getComponent:Lt,operationProps:tr,specPath:Gn}),co?G.default.createElement("div",{className:"opblock-summary-description"},(0,Ds.default)(ta||Ti)):null,Ls&&(Cs||to)?G.default.createElement("span",{className:"opblock-summary-operation-id"},Cs||to):null,G.default.createElement("svg",{className:"arrow",width:"20",height:"20","aria-hidden":"true",focusable:"false"},G.default.createElement("use",{href:at?"#large-arrow-up":"#large-arrow-down",xlinkHref:at?"#large-arrow-up":"#large-arrow-down"}))),rs?null:G.default.createElement(Rs,{isAuthorized:_i,onClick:function(){var na=wn.definitionsForRequirements(xs);on.showDefinitions(na)}}),G.default.createElement(Ua,{path:Gn}))}}]),gt}(G.PureComponent);(0,Q.default)(ss,"defaultProps",{operationProps:null,specPath:(0,bt.List)(),summary:""});var tu=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){return(0,oe.default)(this,gt),un.apply(this,arguments)}return(0,le.default)(gt,[{key:"render",value:function(){return G.default.createElement("span",{className:"opblock-summary-method"},this.props.method.toUpperCase())}}]),gt}(G.PureComponent);(0,Q.default)(tu,"defaultProps",{operationProps:null});const bl=(An=>{var un={};return Po.d(un,An),un})({default:()=>Ik()});var fl=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){return(0,oe.default)(this,gt),un.apply(this,arguments)}return(0,le.default)(gt,[{key:"render",value:function(){for(var qe,tt=this.props,at=tt.getComponent,Ft=tt.operationProps.toJS(),Lt=Ft.deprecated,on=Ft.isShown,wn=Ft.path,tr=Ft.tag,Gn=Ft.operationId,dr=Ft.isDeepLinkingEnabled,Ti=wn.split(/(?=\/)/g),_i=1;_i<Ti.length;_i+=2)(0,bl.default)(Ti).call(Ti,_i,0,G.default.createElement("wbr",{key:_i}));var Pi=at("DeepLink");return G.default.createElement("span",{className:Lt?"opblock-summary-path__deprecated":"opblock-summary-path","data-path":wn},G.default.createElement(Pi,{enabled:dr,isShown:on,path:(0,Nn.oJ)((0,o.default)(qe="".concat(tr,"/")).call(qe,Gn)),text:Ti}))}}]),gt}(G.PureComponent),Ba=Po(9334);const xa=function(An){var un,gt=An.extensions,qe=(0,An.getComponent)("OperationExtRow");return G.default.createElement("div",{className:"opblock-section"},G.default.createElement("div",{className:"opblock-section-header"},G.default.createElement("h4",null,"Extensions")),G.default.createElement("div",{className:"table-container"},G.default.createElement("table",null,G.default.createElement("thead",null,G.default.createElement("tr",null,G.default.createElement("td",{className:"col_header"},"Field"),G.default.createElement("td",{className:"col_header"},"Value"))),G.default.createElement("tbody",null,(0,we.default)(un=gt.entrySeq()).call(un,function(tt){var at,Ft=(0,Ba.default)(tt,2),Lt=Ft[0],on=Ft[1];return G.default.createElement(qe,{key:(0,o.default)(at="".concat(Lt,"-")).call(at,on),xKey:Lt,xVal:on})})))))},yu=function(An){var un=An.xKey,gt=An.xVal,qe=gt?gt.toJS?gt.toJS():gt:null;return G.default.createElement("tr",null,G.default.createElement("td",null,un),G.default.createElement("td",null,(0,x.default)(qe)))};var nu=Po(29),jd=Po(8096),op=Po(471),Pl=Po(9908),ff=Po(7068);const $h=(An=>{var un={};return Po.d(un,An),un})({default:()=>Lk()});var so=Po(9874),Em=function(An){var un=An.value,gt=An.fileName,qe=An.className,tt=An.downloadable,at=An.getConfigs,Ft=An.canCopy,Lt=An.language,on=(0,ff.default)(at)?at():null,wn=!1!==(0,Pl.default)(on,"syntaxHighlight")&&(0,Pl.default)(on,"syntaxHighlight.activated",!0),tr=(0,G.useRef)(null);(0,G.useEffect)(function(){var dr,Ti=(0,_.default)(dr=(0,ih.default)(tr.current.childNodes)).call(dr,function(_i){return!!_i.nodeType&&_i.classList.contains("microlight")});return(0,nu.default)(Ti).call(Ti,function(_i){return _i.addEventListener("mousewheel",Gn,{passive:!1})}),function(){(0,nu.default)(Ti).call(Ti,function(_i){return _i.removeEventListener("mousewheel",Gn)})}},[un,qe,Lt]);var Gn=function(dr){var Ti=dr.target,_i=dr.deltaY,Pi=Ti.scrollHeight,Li=Ti.offsetHeight,co=Ti.scrollTop;Pi>Li&&(0===co&&_i<0||Li+co>=Pi&&_i>0)&&dr.preventDefault()};return G.default.createElement("div",{className:"highlight-code",ref:tr},tt?G.default.createElement("div",{className:"download-contents",onClick:function(){(0,$h.default)(un,gt)}},"Download"):null,Ft&&G.default.createElement("div",{className:"copy-to-clipboard"},G.default.createElement(so.CopyToClipboard,{text:un},G.default.createElement("button",null))),wn?G.default.createElement(op.d3,{language:Lt,className:(0,jd.default)(qe,"microlight"),style:(0,op.C2)((0,Pl.default)(on,"syntaxHighlight.theme","agate"))},un):G.default.createElement("pre",{className:(0,jd.default)(qe,"microlight")},un))};Em.defaultProps={fileName:"response.txt"};const I_=Em;var ev=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){var qe,tt;(0,oe.default)(this,gt);for(var at=arguments.length,Ft=new Array(at),Lt=0;Lt<at;Lt++)Ft[Lt]=arguments[Lt];return tt=un.call.apply(un,(0,o.default)(qe=[this]).call(qe,Ft)),(0,Q.default)((0,Ii.default)(tt),"onChangeProducesWrapper",function(on){return tt.props.specActions.changeProducesValue([tt.props.path,tt.props.method],on)}),(0,Q.default)((0,Ii.default)(tt),"onResponseContentTypeChange",function(on){var Gn=tt.props;on.controlsAcceptHeader&&Gn.oas3Actions.setResponseContentType({value:on.value,path:Gn.path,method:Gn.method})}),tt}return(0,le.default)(gt,[{key:"render",value:function(){var qe,tt,at=this,Ft=this.props,Lt=Ft.responses,on=Ft.tryItOutResponse,wn=Ft.getComponent,tr=Ft.getConfigs,Gn=Ft.specSelectors,dr=Ft.fn,Ti=Ft.producesValue,_i=Ft.displayRequestDuration,Pi=Ft.specPath,Li=Ft.path,co=Ft.method,qi=Ft.oas3Selectors,to=Ft.oas3Actions,Cs=(0,Nn.iQ)(Lt),Ls=wn("contentType"),ta=wn("liveResponse"),xs=wn("response"),Rs=this.props.produces&&this.props.produces.size?this.props.produces:gt.defaultProps.produces,ks=Gn.isOAS3()?(0,Nn.QG)(Lt):null,Ms=function(Js){var ba=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return Js.replace(/[^\w-]/g,ba)}((0,o.default)(qe="".concat(co)).call(qe,Li,"_responses")),Ua="".concat(Ms,"_select");return G.default.createElement("div",{className:"responses-wrapper"},G.default.createElement("div",{className:"opblock-section-header"},G.default.createElement("h4",null,"Responses"),Gn.isOAS3()?null:G.default.createElement("label",{htmlFor:Ua},G.default.createElement("span",null,"Response content type"),G.default.createElement(Ls,{value:Ti,ariaControls:Ms,ariaLabel:"Response content type",className:"execute-content-type",contentTypes:Rs,controlId:Ua,onChange:this.onChangeProducesWrapper}))),G.default.createElement("div",{className:"responses-inner"},on?G.default.createElement("div",null,G.default.createElement(ta,{response:on,getComponent:wn,getConfigs:tr,specSelectors:Gn,path:this.props.path,method:this.props.method,displayRequestDuration:_i}),G.default.createElement("h4",null,"Responses")):null,G.default.createElement("table",{"aria-live":"polite",className:"responses-table",id:Ms,role:"region"},G.default.createElement("thead",null,G.default.createElement("tr",{className:"responses-header"},G.default.createElement("td",{className:"col_header response-col_status"},"Code"),G.default.createElement("td",{className:"col_header response-col_description"},"Description"),Gn.isOAS3()?G.default.createElement("td",{className:"col col_header response-col_links"},"Links"):null)),G.default.createElement("tbody",null,(0,we.default)(tt=Lt.entrySeq()).call(tt,function(Js){var ba=(0,Ba.default)(Js,2),rs=ba[0],na=ba[1],vl=on&&on.get("status")==rs?"response_current":"";return G.default.createElement(xs,{key:rs,path:Li,method:co,specPath:Pi.push(rs),isDefault:Cs===rs,fn:dr,className:vl,code:rs,response:na,specSelectors:Gn,controlsAcceptHeader:na===ks,onContentTypeChange:at.onResponseContentTypeChange,contentType:Ti,getConfigs:tr,activeExamplesKey:qi.activeExamplesMember(Li,co,"responses",rs),oas3Actions:to,getComponent:wn})}).toArray()))))}}]),gt}(G.default.Component);(0,Q.default)(ev,"defaultProps",{tryItOutResponse:null,produces:(0,bt.fromJS)(["application/json"]),displayRequestDuration:!1});var oh=Po(1013);const pd=(An=>{var un={};return Po.d(un,An),un})({default:()=>$k()});var bm=Po(2518),Zm=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(qe,tt){var at;return(0,oe.default)(this,gt),at=un.call(this,qe,tt),(0,Q.default)((0,Ii.default)(at),"_onContentTypeChange",function(Ft){var Lt=at.props,on=Lt.onContentTypeChange,wn=Lt.controlsAcceptHeader;at.setState({responseContentType:Ft}),on({value:Ft,controlsAcceptHeader:wn})}),(0,Q.default)((0,Ii.default)(at),"getTargetExamplesKey",function(){var Ft=at.props,wn=Ft.activeExamplesKey,Gn=Ft.response.getIn(["content",at.state.responseContentType||Ft.contentType],(0,bt.Map)({})).get("examples",null).keySeq().first();return wn||Gn}),at.state={responseContentType:""},at}return(0,le.default)(gt,[{key:"render",value:function(){var qe,tt,at,Ft,Lt,on=this.props,wn=on.path,tr=on.method,Gn=on.code,dr=on.response,Ti=on.className,_i=on.specPath,Li=on.getComponent,co=on.getConfigs,qi=on.specSelectors,to=on.contentType,Cs=on.controlsAcceptHeader,Ls=on.oas3Actions,ta=on.fn.inferSchema,xs=qi.isOAS3(),Rs=co().showExtensions,ks=Rs?(0,Nn.nX)(dr):null,Ms=dr.get("headers"),Ua=dr.get("links"),Js=Li("ResponseExtension"),ba=Li("headers"),rs=Li("highlightCode"),na=Li("modelExample"),vl=Li("Markdown",!0),qc=Li("operationLink"),pf=Li("contentType"),hf=Li("ExamplesSelect"),Vf=Li("Example"),Wl=this.state.responseContentType||to,ed=dr.getIn(["content",Wl],(0,bt.Map)({})),lc=ed.get("examples",null);if(xs){var vp=ed.get("schema");at=vp?ta(vp.toJS()):null,Ft=vp?(0,bt.List)(["content",this.state.responseContentType,"schema"]):_i}else at=dr.get("schema"),Ft=dr.has("schema")?_i.push("schema"):_i;var sp,F_=!1,Gd={includeReadOnly:!0};if(xs){var uc;if(sp=null===(uc=ed.get("schema"))||void 0===uc?void 0:uc.toJS(),lc){var Vd=this.getTargetExamplesKey(),_f=function(Id){return Id.get("value")};void 0===(Lt=_f(lc.get(Vd,(0,bt.Map)({}))))&&(Lt=_f((0,pd.default)(lc).call(lc).next().value)),F_=!0}else void 0!==ed.get("example")&&(Lt=ed.get("example"),F_=!0)}else{sp=at,Gd=(0,oh.default)((0,oh.default)({},Gd),{},{includeWriteOnly:!0});var mf=dr.getIn(["examples",Wl]);mf&&(Lt=mf,F_=!0)}var Hh=function(Id,Fd,Df){if(null!=Id){var Bh=null;return(0,bm.O)(Id)&&(Bh="json"),G.default.createElement("div",null,G.default.createElement(Fd,{className:"example",getConfigs:Df,language:Bh,value:(0,Nn.Pz)(Id)}))}return null}((0,Nn.xi)(sp,Wl,Gd,F_?Lt:void 0),rs,co);return G.default.createElement("tr",{className:"response "+(Ti||""),"data-code":Gn},G.default.createElement("td",{className:"response-col_status"},Gn),G.default.createElement("td",{className:"response-col_description"},G.default.createElement("div",{className:"response-col_description__inner"},G.default.createElement(vl,{source:dr.get("description")})),Rs&&ks.size?(0,we.default)(qe=ks.entrySeq()).call(qe,function(Id){var Fd,Df=(0,Ba.default)(Id,2),Bh=Df[0],zm=Df[1];return G.default.createElement(Js,{key:(0,o.default)(Fd="".concat(Bh,"-")).call(Fd,zm),xKey:Bh,xVal:zm})}):null,xs&&dr.get("content")?G.default.createElement("section",{className:"response-controls"},G.default.createElement("div",{className:(0,jd.default)("response-control-media-type",{"response-control-media-type--accept-controller":Cs})},G.default.createElement("small",{className:"response-control-media-type__title"},"Media type"),G.default.createElement(pf,{value:this.state.responseContentType,contentTypes:dr.get("content")?dr.get("content").keySeq():(0,bt.Seq)(),onChange:this._onContentTypeChange,ariaLabel:"Media Type"}),Cs?G.default.createElement("small",{className:"response-control-media-type__accept-message"},"Controls ",G.default.createElement("code",null,"Accept")," header."):null),lc?G.default.createElement("div",{className:"response-control-examples"},G.default.createElement("small",{className:"response-control-examples__title"},"Examples"),G.default.createElement(hf,{examples:lc,currentExampleKey:this.getTargetExamplesKey(),onSelect:function(Id){return Ls.setActiveExamplesMember({name:Id,pathMethod:[wn,tr],contextType:"responses",contextName:Gn})},showLabels:!1})):null):null,Hh||at?G.default.createElement(na,{specPath:Ft,getComponent:Li,getConfigs:co,specSelectors:qi,schema:(0,Nn.oG)(at),example:Hh,includeReadOnly:!0}):null,xs&&lc?G.default.createElement(Vf,{example:lc.get(this.getTargetExamplesKey(),(0,bt.Map)({})),getComponent:Li,getConfigs:co,omitValue:!0}):null,Ms?G.default.createElement(ba,{headers:Ms,getComponent:Li}):null),xs?G.default.createElement("td",{className:"response-col_links"},Ua?(0,we.default)(tt=Ua.toSeq().entrySeq()).call(tt,function(Id){var Fd=(0,Ba.default)(Id,2),Df=Fd[0];return G.default.createElement(qc,{key:Df,name:Df,link:Fd[1],getComponent:Li})}):G.default.createElement("i",null,"No links")):null)}}]),gt}(G.default.Component);(0,Q.default)(Zm,"defaultProps",{response:(0,bt.fromJS)({}),onContentTypeChange:function(){}});const q_=function(An){return G.default.createElement("div",{className:"response__extension"},An.xKey,": ",String(An.xVal))},vg=(An=>{var un={};return Po.d(un,An),un})({default:()=>Bk()}),Lp=(An=>{var un={};return Po.d(un,An),un})({default:()=>Yk()});var bC=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){var qe,tt;(0,oe.default)(this,gt);for(var at=arguments.length,Ft=new Array(at),Lt=0;Lt<at;Lt++)Ft[Lt]=arguments[Lt];return tt=un.call.apply(un,(0,o.default)(qe=[this]).call(qe,Ft)),(0,Q.default)((0,Ii.default)(tt),"state",{parsedContent:null}),(0,Q.default)((0,Ii.default)(tt),"updateParsedContent",function(on){var wn=tt.props.content;if(on!==wn)if(wn&&wn instanceof Blob){var tr=new FileReader;tr.onload=function(){tt.setState({parsedContent:tr.result})},tr.readAsText(wn)}else tt.setState({parsedContent:wn.toString()})}),tt}return(0,le.default)(gt,[{key:"componentDidMount",value:function(){this.updateParsedContent(null)}},{key:"componentDidUpdate",value:function(qe){this.updateParsedContent(qe.content)}},{key:"render",value:function(){var qe,tt,at=this.props,Ft=at.content,Lt=at.contentType,on=at.url,wn=at.headers,tr=void 0===wn?{}:wn,Gn=at.getConfigs,Ti=this.state.parsedContent,_i=(0,at.getComponent)("highlightCode"),Pi="response_"+(new Date).getTime();if(on=on||"",/^application\/octet-stream/i.test(Lt)||tr["Content-Disposition"]&&/attachment/i.test(tr["Content-Disposition"])||tr["content-disposition"]&&/attachment/i.test(tr["content-disposition"])||tr["Content-Description"]&&/File Transfer/i.test(tr["Content-Description"])||tr["content-description"]&&/File Transfer/i.test(tr["content-description"]))if("Blob"in window){var Li=Lt||"text/html",co=Ft instanceof Blob?Ft:new Blob([Ft],{type:Li}),qi=_a.default.createObjectURL(co),to=[Li,on.substr((0,l.default)(on).call(on,"/")+1),qi].join(":"),Cs=tr["content-disposition"]||tr["Content-Disposition"];if(void 0!==Cs){var Ls=(0,Nn.DR)(Cs);null!==Ls&&(to=Ls)}tt=G.default.createElement("div",null,G.default.createElement("a",xn.Z.navigator&&xn.Z.navigator.msSaveOrOpenBlob?{href:qi,onClick:function(){return xn.Z.navigator.msSaveOrOpenBlob(co,to)}}:{href:qi,download:to},"Download file"))}else tt=G.default.createElement("pre",{className:"microlight"},"Download headers detected but your browser does not support downloading binary via XHR (Blob).");else if(/json/i.test(Lt)){var ta=null;(0,bm.O)(Ft)&&(ta="json");try{qe=(0,x.default)(JSON.parse(Ft),null,"  ")}catch(xs){qe="can't parse JSON.  Raw result:\n\n"+Ft}tt=G.default.createElement(_i,{language:ta,downloadable:!0,fileName:"".concat(Pi,".json"),value:qe,getConfigs:Gn,canCopy:!0})}else/xml/i.test(Lt)?(qe=(0,vg.default)(Ft,{textNodesOnSameLine:!0,indentor:"  "}),tt=G.default.createElement(_i,{downloadable:!0,fileName:"".concat(Pi,".xml"),value:qe,getConfigs:Gn,canCopy:!0})):tt="text/html"===(0,Lp.default)(Lt)||/text\/plain/.test(Lt)?G.default.createElement(_i,{downloadable:!0,fileName:"".concat(Pi,".html"),value:Ft,getConfigs:Gn,canCopy:!0}):"text/csv"===(0,Lp.default)(Lt)||/text\/csv/.test(Lt)?G.default.createElement(_i,{downloadable:!0,fileName:"".concat(Pi,".csv"),value:Ft,getConfigs:Gn,canCopy:!0}):/^image\//i.test(Lt)?(0,zl.default)(Lt).call(Lt,"svg")?G.default.createElement("div",null," ",Ft," "):G.default.createElement("img",{src:_a.default.createObjectURL(Ft)}):/^audio\//i.test(Lt)?G.default.createElement("pre",{className:"microlight"},G.default.createElement("audio",{controls:!0},G.default.createElement("source",{src:on,type:Lt}))):"string"==typeof Ft?G.default.createElement(_i,{downloadable:!0,fileName:"".concat(Pi,".txt"),value:Ft,getConfigs:Gn,canCopy:!0}):Ft.size>0?Ti?G.default.createElement("div",null,G.default.createElement("p",{className:"i"},"Unrecognized response type; displaying content as text."),G.default.createElement(_i,{downloadable:!0,fileName:"".concat(Pi,".txt"),value:Ti,getConfigs:Gn,canCopy:!0})):G.default.createElement("p",{className:"i"},"Unrecognized response type; unable to display."):null;return tt?G.default.createElement("div",null,G.default.createElement("h5",null,"Response body"),tt):null}}]),gt}(G.default.PureComponent),Nd=Po(2691),SC=Po(374),FE=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(qe){var tt;return(0,oe.default)(this,gt),tt=un.call(this,qe),(0,Q.default)((0,Ii.default)(tt),"onChange",function(at,Ft,Lt){var on=tt.props;(0,on.specActions.changeParamByIdentity)(on.onChangeKey,at,Ft,Lt)}),(0,Q.default)((0,Ii.default)(tt),"onChangeConsumesWrapper",function(at){var Ft=tt.props;(0,Ft.specActions.changeConsumesValue)(Ft.onChangeKey,at)}),(0,Q.default)((0,Ii.default)(tt),"toggleTab",function(at){return"parameters"===at?tt.setState({parametersVisible:!0,callbackVisible:!1}):"callbacks"===at?tt.setState({callbackVisible:!0,parametersVisible:!1}):void 0}),(0,Q.default)((0,Ii.default)(tt),"onChangeMediaType",function(at){var Ft=at.value,Lt=at.pathMethod,on=tt.props,wn=on.specActions,tr=on.oas3Selectors,Gn=on.oas3Actions,dr=tr.hasUserEditedBody.apply(tr,(0,Nd.default)(Lt)),Ti=tr.shouldRetainRequestBodyValue.apply(tr,(0,Nd.default)(Lt));Gn.setRequestContentType({value:Ft,pathMethod:Lt}),Gn.initRequestBodyValidateError({pathMethod:Lt}),dr||(Ti||Gn.setRequestBodyValue({value:void 0,pathMethod:Lt}),wn.clearResponse.apply(wn,(0,Nd.default)(Lt)),wn.clearRequest.apply(wn,(0,Nd.default)(Lt)),wn.clearValidateParams(Lt))}),tt.state={callbackVisible:!1,parametersVisible:!0},tt}return(0,le.default)(gt,[{key:"render",value:function(){var qe,tt,at=this,Ft=this.props,Lt=Ft.onTryoutClick,on=Ft.parameters,wn=Ft.allowTryItOut,tr=Ft.tryItOutEnabled,Gn=Ft.specPath,dr=Ft.fn,Ti=Ft.getComponent,_i=Ft.getConfigs,Pi=Ft.specSelectors,Li=Ft.specActions,co=Ft.pathMethod,qi=Ft.oas3Actions,to=Ft.oas3Selectors,Cs=Ft.operation,Ls=Ti("parameterRow"),ta=Ti("TryItOutButton"),xs=Ti("contentType"),Rs=Ti("Callbacks",!0),ks=Ti("RequestBody",!0),Ms=tr&&wn,Ua=Pi.isOAS3(),Js=Cs.get("requestBody"),ba=(0,ke.default)(qe=(0,SC.default)((0,ke.default)(on).call(on,function(rs,na){var vl,qc=na.get("in");return null!==(vl=rs[qc])&&void 0!==vl||(rs[qc]=[]),rs[qc].push(na),rs},{}))).call(qe,function(rs,na){return(0,o.default)(rs).call(rs,na)},[]);return G.default.createElement("div",{className:"opblock-section"},G.default.createElement("div",{className:"opblock-section-header"},Ua?G.default.createElement("div",{className:"tab-header"},G.default.createElement("div",{onClick:function(){return at.toggleTab("parameters")},className:"tab-item ".concat(this.state.parametersVisible&&"active")},G.default.createElement("h4",{className:"opblock-title"},G.default.createElement("span",null,"Parameters"))),Cs.get("callbacks")?G.default.createElement("div",{onClick:function(){return at.toggleTab("callbacks")},className:"tab-item ".concat(this.state.callbackVisible&&"active")},G.default.createElement("h4",{className:"opblock-title"},G.default.createElement("span",null,"Callbacks"))):null):G.default.createElement("div",{className:"tab-header"},G.default.createElement("h4",{className:"opblock-title"},"Parameters")),wn?G.default.createElement(ta,{isOAS3:Pi.isOAS3(),hasUserEditedBody:to.hasUserEditedBody.apply(to,(0,Nd.default)(co)),enabled:tr,onCancelClick:this.props.onCancelClick,onTryoutClick:Lt,onResetClick:function(){return qi.setRequestBodyValue({value:void 0,pathMethod:co})}}):null),this.state.parametersVisible?G.default.createElement("div",{className:"parameters-container"},ba.length?G.default.createElement("div",{className:"table-container"},G.default.createElement("table",{className:"parameters"},G.default.createElement("thead",null,G.default.createElement("tr",null,G.default.createElement("th",{className:"col_header parameters-col_name"},"Name"),G.default.createElement("th",{className:"col_header parameters-col_description"},"Description"))),G.default.createElement("tbody",null,(0,we.default)(ba).call(ba,function(rs,na){var vl;return G.default.createElement(Ls,{fn:dr,specPath:Gn.push(na.toString()),getComponent:Ti,getConfigs:_i,rawParam:rs,param:Pi.parameterWithMetaByIdentity(co,rs),key:(0,o.default)(vl="".concat(rs.get("in"),".")).call(vl,rs.get("name")),onChange:at.onChange,onChangeConsumes:at.onChangeConsumesWrapper,specSelectors:Pi,specActions:Li,oas3Actions:qi,oas3Selectors:to,pathMethod:co,isExecute:Ms})})))):G.default.createElement("div",{className:"opblock-description-wrapper"},G.default.createElement("p",null,"No parameters"))):null,this.state.callbackVisible?G.default.createElement("div",{className:"callbacks-container opblock-description-wrapper"},G.default.createElement(Rs,{callbacks:(0,bt.Map)(Cs.get("callbacks")),specPath:(0,$e.default)(Gn).call(Gn,0,-1).push("callbacks")})):null,Ua&&Js&&this.state.parametersVisible&&G.default.createElement("div",{className:"opblock-section opblock-section-request-body"},G.default.createElement("div",{className:"opblock-section-header"},G.default.createElement("h4",{className:"opblock-title parameter__name ".concat(Js.get("required")&&"required")},"Request body"),G.default.createElement("label",null,G.default.createElement(xs,{value:to.requestContentType.apply(to,(0,Nd.default)(co)),contentTypes:Js.get("content",(0,bt.List)()).keySeq(),onChange:function(rs){at.onChangeMediaType({value:rs,pathMethod:co})},className:"body-param-content-type",ariaLabel:"Request content type"}))),G.default.createElement("div",{className:"opblock-description-wrapper"},G.default.createElement(ks,{setRetainRequestBodyValueFlag:function(rs){return qi.setRetainRequestBodyValueFlag({value:rs,pathMethod:co})},userHasEditedBody:to.hasUserEditedBody.apply(to,(0,Nd.default)(co)),specPath:(0,$e.default)(Gn).call(Gn,0,-1).push("requestBody"),requestBody:Js,requestBodyValue:to.requestBodyValue.apply(to,(0,Nd.default)(co)),requestBodyInclusionSetting:to.requestBodyInclusionSetting.apply(to,(0,Nd.default)(co)),requestBodyErrors:to.requestBodyErrors.apply(to,(0,Nd.default)(co)),isExecute:Ms,getConfigs:_i,activeExamplesKey:to.activeExamplesMember.apply(to,(0,o.default)(tt=(0,Nd.default)(co)).call(tt,["requestBody","requestBody"])),updateActiveExamplesKey:function(rs){at.props.oas3Actions.setActiveExamplesMember({name:rs,pathMethod:at.props.pathMethod,contextType:"requestBody",contextName:"requestBody"})},onChange:function(rs,na){if(na){var vl=to.requestBodyValue.apply(to,(0,Nd.default)(co)),qc=bt.Map.isMap(vl)?vl:(0,bt.Map)();return qi.setRequestBodyValue({pathMethod:co,value:qc.setIn(na,rs)})}qi.setRequestBodyValue({value:rs,pathMethod:co})},onChangeIncludeEmpty:function(rs,na){qi.setRequestBodyInclusion({pathMethod:co,value:na,name:rs})},contentType:to.requestContentType.apply(to,(0,Nd.default)(co))}))))}}]),gt}(G.Component);(0,Q.default)(FE,"defaultProps",{onTryoutClick:Function.prototype,onCancelClick:Function.prototype,tryItOutEnabled:!1,allowTryItOut:!0,onChangeKey:[],specPath:[]});const TC=function(An){return G.default.createElement("div",{className:"parameter__extension"},An.xKey,": ",String(An.xVal))};var LE=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){var qe,tt;(0,oe.default)(this,gt);for(var at=arguments.length,Ft=new Array(at),Lt=0;Lt<at;Lt++)Ft[Lt]=arguments[Lt];return tt=un.call.apply(un,(0,o.default)(qe=[this]).call(qe,Ft)),(0,Q.default)((0,Ii.default)(tt),"onCheckboxChange",function(on){(0,tt.props.onChange)(on.target.checked)}),tt}return(0,le.default)(gt,[{key:"componentDidMount",value:function(){var qe=this.props,tt=qe.isIncludedOptions;tt.shouldDispatchInit&&(0,qe.onChange)(tt.defaultValue)}},{key:"render",value:function(){var qe=this.props,tt=qe.isIncluded,at=qe.isDisabled;return G.default.createElement("div",null,G.default.createElement("label",{className:(0,jd.default)("parameter__empty_value_toggle",{disabled:at})},G.default.createElement("input",{type:"checkbox",disabled:at,checked:!at&&tt,onChange:this.onCheckboxChange}),"Send empty value"))}}]),gt}(G.Component);(0,Q.default)(LE,"defaultProps",{onChange:function(){},isIncludedOptions:{}});var w0=Po(9069),MC=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(qe,tt){var at;return(0,oe.default)(this,gt),at=un.call(this,qe,tt),(0,Q.default)((0,Ii.default)(at),"onChangeWrapper",function(Ft){var Lt=arguments.length>1&&void 0!==arguments[1]&&arguments[1],on=at.props,wn=on.onChange,tr=on.rawParam;return wn(tr,""===Ft||Ft&&0===Ft.size?null:Ft,Lt)}),(0,Q.default)((0,Ii.default)(at),"_onExampleSelect",function(Ft){at.props.oas3Actions.setActiveExamplesMember({name:Ft,pathMethod:at.props.pathMethod,contextType:"parameters",contextName:at.getParamKey()})}),(0,Q.default)((0,Ii.default)(at),"onChangeIncludeEmpty",function(Ft){var Lt=at.props,on=Lt.specActions,wn=Lt.param,tr=Lt.pathMethod,Gn=wn.get("name"),dr=wn.get("in");return on.updateEmptyParamInclusion(tr,Gn,dr,Ft)}),(0,Q.default)((0,Ii.default)(at),"setDefaultValue",function(){var Ft=at.props,Lt=Ft.specSelectors,on=Ft.pathMethod,tr=Ft.oas3Selectors,Gn=Lt.parameterWithMetaByIdentity(on,Ft.rawParam)||(0,bt.Map)(),dr=(0,w0.Z)(Gn,{isOAS3:Lt.isOAS3()}).schema,Ti=Gn.get("content",(0,bt.Map)()).keySeq().first(),_i=dr?(0,Nn.xi)(dr.toJS(),Ti,{includeWriteOnly:!0}):null;if(Gn&&void 0===Gn.get("value")&&"body"!==Gn.get("in")){var Pi;if(Lt.isSwagger2())Pi=void 0!==Gn.get("x-example")?Gn.get("x-example"):void 0!==Gn.getIn(["schema","example"])?Gn.getIn(["schema","example"]):dr&&dr.getIn(["default"]);else if(Lt.isOAS3()){var Li,co=tr.activeExamplesMember.apply(tr,(0,o.default)(Li=(0,Nd.default)(on)).call(Li,["parameters",at.getParamKey()]));Pi=void 0!==Gn.getIn(["examples",co,"value"])?Gn.getIn(["examples",co,"value"]):void 0!==Gn.getIn(["content",Ti,"example"])?Gn.getIn(["content",Ti,"example"]):void 0!==Gn.get("example")?Gn.get("example"):void 0!==(dr&&dr.get("example"))?dr&&dr.get("example"):void 0!==(dr&&dr.get("default"))?dr&&dr.get("default"):Gn.get("default")}void 0===Pi||bt.List.isList(Pi)||(Pi=(0,Nn.Pz)(Pi)),void 0!==Pi?at.onChangeWrapper(Pi):dr&&"object"===dr.get("type")&&_i&&!Gn.get("examples")&&at.onChangeWrapper(bt.List.isList(_i)?_i:(0,Nn.Pz)(_i))}}),at.setDefaultValue(),at}return(0,le.default)(gt,[{key:"UNSAFE_componentWillReceiveProps",value:function(qe){var tt,at=qe.specSelectors,Ft=qe.pathMethod,Lt=qe.rawParam,on=at.isOAS3(),wn=at.parameterWithMetaByIdentity(Ft,Lt)||new bt.Map;if(wn=wn.isEmpty()?Lt:wn,on){var tr=(0,w0.Z)(wn,{isOAS3:on}).schema;tt=tr?tr.get("enum"):void 0}else tt=wn?wn.get("enum"):void 0;var Gn,dr=wn?wn.get("value"):void 0;void 0!==dr?Gn=dr:Lt.get("required")&&tt&&tt.size&&(Gn=tt.first()),void 0!==Gn&&Gn!==dr&&this.onChangeWrapper((0,Nn.D$)(Gn)),this.setDefaultValue()}},{key:"getParamKey",value:function(){var qe,tt=this.props.param;return tt?(0,o.default)(qe="".concat(tt.get("name"),"-")).call(qe,tt.get("in")):null}},{key:"render",value:function(){var qe,tt,at,Ft,Lt=this.props,on=Lt.param,wn=Lt.rawParam,tr=Lt.getComponent,Gn=Lt.getConfigs,dr=Lt.isExecute,Ti=Lt.fn,_i=Lt.onChangeConsumes,Pi=Lt.specSelectors,Li=Lt.pathMethod,co=Lt.specPath,qi=Lt.oas3Selectors,to=Pi.isOAS3(),Cs=Gn(),Ls=Cs.showExtensions,ta=Cs.showCommonExtensions;if(on||(on=wn),!wn)return null;var xs,Rs,ks,Ms,Ua=tr("JsonSchemaForm"),Js=tr("ParamBody"),ba=on.get("in"),rs="body"!==ba?null:G.default.createElement(Js,{getComponent:tr,getConfigs:Gn,fn:Ti,param:on,consumes:Pi.consumesOptionsFor(Li),consumesValue:Pi.contentTypeValues(Li).get("requestContentType"),onChange:this.onChangeWrapper,onChangeConsumes:_i,isExecute:dr,specSelectors:Pi,pathMethod:Li}),na=tr("modelExample"),vl=tr("Markdown",!0),qc=tr("ParameterExt"),pf=tr("ParameterIncludeEmpty"),hf=tr("ExamplesSelectValueRetainer"),Vf=tr("Example"),Wl=(0,w0.Z)(on,{isOAS3:to}).schema,ed=Pi.parameterWithMetaByIdentity(Li,wn)||(0,bt.Map)(),lc=Wl?Wl.get("format"):null,vp=Wl?Wl.get("type"):null,sp=Wl?Wl.getIn(["items","type"]):null,F_="formData"===ba,Gd="FormData"in xn.Z,uc=on.get("required"),Vd=ed?ed.get("value"):"",_f=ta?(0,Nn.po)(Wl):null,mf=Ls?(0,Nn.nX)(on):null,Hh=!1;return void 0!==on&&Wl&&(xs=Wl.get("items")),void 0!==xs?(Rs=xs.get("enum"),ks=xs.get("default")):Wl&&(Rs=Wl.get("enum")),Rs&&Rs.size&&Rs.size>0&&(Hh=!0),void 0!==on&&(Wl&&(ks=Wl.get("default")),void 0===ks&&(ks=on.get("default")),void 0===(Ms=on.get("example"))&&(Ms=on.get("x-example"))),G.default.createElement("tr",{"data-param-name":on.get("name"),"data-param-in":on.get("in")},G.default.createElement("td",{className:"parameters-col_name"},G.default.createElement("div",{className:uc?"parameter__name required":"parameter__name"},on.get("name"),uc?G.default.createElement("span",null,"\xa0*"):null),G.default.createElement("div",{className:"parameter__type"},vp,sp&&"[".concat(sp,"]"),lc&&G.default.createElement("span",{className:"prop-format"},"($",lc,")")),G.default.createElement("div",{className:"parameter__deprecated"},to&&on.get("deprecated")?"deprecated":null),G.default.createElement("div",{className:"parameter__in"},"(",on.get("in"),")"),ta&&_f.size?(0,we.default)(qe=_f.entrySeq()).call(qe,function(Id){var Fd,Df=(0,Ba.default)(Id,2),Bh=Df[0],zm=Df[1];return G.default.createElement(qc,{key:(0,o.default)(Fd="".concat(Bh,"-")).call(Fd,zm),xKey:Bh,xVal:zm})}):null,Ls&&mf.size?(0,we.default)(tt=mf.entrySeq()).call(tt,function(Id){var Fd,Df=(0,Ba.default)(Id,2),Bh=Df[0],zm=Df[1];return G.default.createElement(qc,{key:(0,o.default)(Fd="".concat(Bh,"-")).call(Fd,zm),xKey:Bh,xVal:zm})}):null),G.default.createElement("td",{className:"parameters-col_description"},on.get("description")?G.default.createElement(vl,{source:on.get("description")}):null,!rs&&dr||!Hh?null:G.default.createElement(vl,{className:"parameter__enum",source:"<i>Available values</i> : "+(0,we.default)(Rs).call(Rs,function(Id){return Id}).toArray().join(", ")}),!rs&&dr||void 0===ks?null:G.default.createElement(vl,{className:"parameter__default",source:"<i>Default value</i> : "+ks}),!rs&&dr||void 0===Ms?null:G.default.createElement(vl,{source:"<i>Example</i> : "+Ms}),F_&&!Gd&&G.default.createElement("div",null,"Error: your browser does not support FormData"),to&&on.get("examples")?G.default.createElement("section",{className:"parameter-controls"},G.default.createElement(hf,{examples:on.get("examples"),onSelect:this._onExampleSelect,updateValue:this.onChangeWrapper,getComponent:tr,defaultToFirstExample:!0,currentKey:qi.activeExamplesMember.apply(qi,(0,o.default)(at=(0,Nd.default)(Li)).call(at,["parameters",this.getParamKey()])),currentUserInputValue:Vd})):null,rs?null:G.default.createElement(Ua,{fn:Ti,getComponent:tr,value:Vd,required:uc,disabled:!dr,description:on.get("name"),onChange:this.onChangeWrapper,errors:ed.get("errors"),schema:Wl}),rs&&Wl?G.default.createElement(na,{getComponent:tr,specPath:co.push("schema"),getConfigs:Gn,isExecute:dr,specSelectors:Pi,schema:Wl,example:rs,includeWriteOnly:!0}):null,!rs&&dr&&on.get("allowEmptyValue")?G.default.createElement(pf,{onChange:this.onChangeIncludeEmpty,isIncluded:Pi.parameterInclusionSettingFor(Li,on.get("name"),on.get("in")),isDisabled:!(0,Nn.O2)(Vd)}):null,to&&on.get("examples")?G.default.createElement(Vf,{example:on.getIn(["examples",qi.activeExamplesMember.apply(qi,(0,o.default)(Ft=(0,Nd.default)(Li)).call(Ft,["parameters",this.getParamKey()]))]),getComponent:tr,getConfigs:Gn}):null))}}]),gt}(G.Component),OC=Po(6235),AC=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){var qe,tt;(0,oe.default)(this,gt);for(var at=arguments.length,Ft=new Array(at),Lt=0;Lt<at;Lt++)Ft[Lt]=arguments[Lt];return tt=un.call.apply(un,(0,o.default)(qe=[this]).call(qe,Ft)),(0,Q.default)((0,Ii.default)(tt),"handleValidateParameters",function(){var on=tt.props,wn=on.specSelectors,Gn=on.path,dr=on.method;return on.specActions.validateParams([Gn,dr]),wn.validateBeforeExecute([Gn,dr])}),(0,Q.default)((0,Ii.default)(tt),"handleValidateRequestBody",function(){var on=tt.props,wn=on.path,tr=on.method,Gn=on.specSelectors,dr=on.oas3Selectors,Ti=on.oas3Actions,_i={missingBodyValue:!1,missingRequiredKeys:[]};Ti.clearRequestBodyValidateError({path:wn,method:tr});var Pi=Gn.getOAS3RequiredRequestBodyContentType([wn,tr]),Li=dr.requestBodyValue(wn,tr),co=dr.validateBeforeExecute([wn,tr]),qi=dr.requestContentType(wn,tr);if(!co)return _i.missingBodyValue=!0,Ti.setRequestBodyValidateError({path:wn,method:tr,validationErrors:_i}),!1;if(!Pi)return!0;var to=dr.validateShallowRequired({oas3RequiredRequestBodyContentType:Pi,oas3RequestContentType:qi,oas3RequestBodyValue:Li});return!to||to.length<1||((0,nu.default)(to).call(to,function(Cs){_i.missingRequiredKeys.push(Cs)}),Ti.setRequestBodyValidateError({path:wn,method:tr,validationErrors:_i}),!1)}),(0,Q.default)((0,Ii.default)(tt),"handleValidationResultPass",function(){var on=tt.props,wn=on.specActions,tr=on.operation,Gn=on.path,dr=on.method;tt.props.onExecute&&tt.props.onExecute(),wn.execute({operation:tr,path:Gn,method:dr})}),(0,Q.default)((0,Ii.default)(tt),"handleValidationResultFail",function(){var on=tt.props,wn=on.specActions,tr=on.path,Gn=on.method;wn.clearValidateParams([tr,Gn]),(0,OC.default)(function(){wn.validateParams([tr,Gn])},40)}),(0,Q.default)((0,Ii.default)(tt),"handleValidationResult",function(on){on?tt.handleValidationResultPass():tt.handleValidationResultFail()}),(0,Q.default)((0,Ii.default)(tt),"onClick",function(){var on=tt.handleValidateParameters(),wn=tt.handleValidateRequestBody();tt.handleValidationResult(on&&wn)}),(0,Q.default)((0,Ii.default)(tt),"onChangeProducesWrapper",function(on){return tt.props.specActions.changeProducesValue([tt.props.path,tt.props.method],on)}),tt}return(0,le.default)(gt,[{key:"render",value:function(){return G.default.createElement("button",{className:"btn execute opblock-control__btn",onClick:this.onClick,disabled:this.props.disabled},"Execute")}}]),gt}(G.Component),Qa=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){return(0,oe.default)(this,gt),un.apply(this,arguments)}return(0,le.default)(gt,[{key:"render",value:function(){var qe,tt=this.props,at=tt.headers,Ft=tt.getComponent,Lt=Ft("Property"),on=Ft("Markdown",!0);return at&&at.size?G.default.createElement("div",{className:"headers-wrapper"},G.default.createElement("h4",{className:"headers__title"},"Headers:"),G.default.createElement("table",{className:"headers"},G.default.createElement("thead",null,G.default.createElement("tr",{className:"header-row"},G.default.createElement("th",{className:"header-col"},"Name"),G.default.createElement("th",{className:"header-col"},"Description"),G.default.createElement("th",{className:"header-col"},"Type"))),G.default.createElement("tbody",null,(0,we.default)(qe=at.entrySeq()).call(qe,function(wn){var tr=(0,Ba.default)(wn,2),Gn=tr[0],dr=tr[1];if(!bt.default.Map.isMap(dr))return null;var Ti=dr.get("description"),_i=dr.getIn(["schema"])?dr.getIn(["schema","type"]):dr.getIn(["type"]),Pi=dr.getIn(["schema","example"]);return G.default.createElement("tr",{key:Gn},G.default.createElement("td",{className:"header-col"},Gn),G.default.createElement("td",{className:"header-col"},Ti?G.default.createElement(on,{source:Ti}):null),G.default.createElement("td",{className:"header-col"},_i," ",Pi?G.default.createElement(Lt,{propKey:"Example",propVal:Pi,propClass:"header-example"}):null))}).toArray()))):null}}]),gt}(G.default.Component),Ru=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){return(0,oe.default)(this,gt),un.apply(this,arguments)}return(0,le.default)(gt,[{key:"render",value:function(){var qe=this.props,tt=qe.editorActions,at=qe.errSelectors,Ft=qe.layoutSelectors,Lt=qe.layoutActions,on=(0,qe.getComponent)("Collapse");if(tt&&tt.jumpToLine)var wn=tt.jumpToLine;var tr=at.allErrors(),Gn=(0,_.default)(tr).call(tr,function(_i){return"thrown"===_i.get("type")||"error"===_i.get("level")});if(!Gn||Gn.count()<1)return null;var dr=Ft.isShown(["errorPane"],!0),Ti=Gn.sortBy(function(_i){return _i.get("line")});return G.default.createElement("pre",{className:"errors-wrapper"},G.default.createElement("hgroup",{className:"error"},G.default.createElement("h4",{className:"errors__title"},"Errors"),G.default.createElement("button",{className:"btn errors__clear-btn",onClick:function(){return Lt.show(["errorPane"],!dr)}},dr?"Hide":"Show")),G.default.createElement(on,{isOpened:dr,animated:!0},G.default.createElement("div",{className:"errors"},(0,we.default)(Ti).call(Ti,function(_i,Pi){var Li=_i.get("type");return"thrown"===Li||"auth"===Li?G.default.createElement(Kc,{key:Pi,error:_i.get("error")||_i,jumpToLine:wn}):"spec"===Li?G.default.createElement(Xv,{key:Pi,error:_i,jumpToLine:wn}):void 0}))))}}]),gt}(G.default.Component),Kc=function(An){var un=An.error,gt=An.jumpToLine;if(!un)return null;var qe=un.get("line");return G.default.createElement("div",{className:"error-wrapper"},un?G.default.createElement("div",null,G.default.createElement("h4",null,un.get("source")&&un.get("level")?tv(un.get("source"))+" "+un.get("level"):"",un.get("path")?G.default.createElement("small",null," at ",un.get("path")):null),G.default.createElement("span",{className:"message thrown"},un.get("message")),G.default.createElement("div",{className:"error-line"},qe&&gt?G.default.createElement("a",{onClick:(0,me.default)(gt).call(gt,null,qe)},"Jump to line ",qe):null)):null)},Xv=function(An){var un=An.error,gt=An.jumpToLine,qe=null;return un.get("path")?qe=bt.List.isList(un.get("path"))?G.default.createElement("small",null,"at ",un.get("path").join(".")):G.default.createElement("small",null,"at ",un.get("path")):un.get("line")&&!gt&&(qe=G.default.createElement("small",null,"on line ",un.get("line"))),G.default.createElement("div",{className:"error-wrapper"},un?G.default.createElement("div",null,G.default.createElement("h4",null,tv(un.get("source"))+" "+un.get("level"),"\xa0",qe),G.default.createElement("span",{className:"message"},un.get("message")),G.default.createElement("div",{className:"error-line"},gt?G.default.createElement("a",{onClick:(0,me.default)(gt).call(gt,null,un.get("line"))},"Jump to line ",un.get("line")):null)):null)};function tv(An){var un;return(0,we.default)(un=(An||"").split(" ")).call(un,function(gt){return gt[0].toUpperCase()+(0,$e.default)(gt).call(gt,1)}).join(" ")}Kc.defaultProps={jumpToLine:null};var Kv=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){var qe,tt;(0,oe.default)(this,gt);for(var at=arguments.length,Ft=new Array(at),Lt=0;Lt<at;Lt++)Ft[Lt]=arguments[Lt];return tt=un.call.apply(un,(0,o.default)(qe=[this]).call(qe,Ft)),(0,Q.default)((0,Ii.default)(tt),"onChangeWrapper",function(on){return tt.props.onChange(on.target.value)}),tt}return(0,le.default)(gt,[{key:"componentDidMount",value:function(){this.props.contentTypes&&this.props.onChange(this.props.contentTypes.first())}},{key:"UNSAFE_componentWillReceiveProps",value:function(qe){var tt;qe.contentTypes&&qe.contentTypes.size&&((0,zl.default)(tt=qe.contentTypes).call(tt,qe.value)||qe.onChange(qe.contentTypes.first()))}},{key:"render",value:function(){var qe=this.props,Lt=qe.contentTypes;return Lt&&Lt.size?G.default.createElement("div",{className:"content-type-wrapper "+(qe.className||"")},G.default.createElement("select",{"aria-controls":qe.ariaControls,"aria-label":qe.ariaLabel,className:"content-type",id:qe.controlId,onChange:this.onChangeWrapper,value:qe.value||""},(0,we.default)(Lt).call(Lt,function(tr){return G.default.createElement("option",{key:tr,value:tr},tr)}).toArray())):null}}]),gt}(G.default.Component);(0,Q.default)(Kv,"defaultProps",{onChange:function(){},value:null,contentTypes:(0,bt.fromJS)(["application/json"])});var kp=Po(863),nv=Po(302),c$=Po(5942),d$=["fullscreen","full"],f$=["hide","keepContents","mobile","tablet","desktop","large"];function kE(){for(var An,un=arguments.length,gt=new Array(un),qe=0;qe<un;qe++)gt[qe]=arguments[qe];return(0,c$.default)(An=(0,_.default)(gt).call(gt,function(tt){return!!tt}).join(" ")).call(An)}var p$=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){return(0,oe.default)(this,gt),un.apply(this,arguments)}return(0,le.default)(gt,[{key:"render",value:function(){var qe=this.props,tt=qe.fullscreen,at=qe.full,Ft=(0,nv.default)(qe,d$);return G.default.createElement("section",tt?Ft:(0,kp.default)({},Ft,{className:kE(Ft.className,"swagger-container"+(at?"-full":""))}))}}]),gt}(G.default.Component),aD={mobile:"",tablet:"-tablet",desktop:"-desktop",large:"-hd"},h$=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){return(0,oe.default)(this,gt),un.apply(this,arguments)}return(0,le.default)(gt,[{key:"render",value:function(){var qe,tt=this.props,at=tt.hide,Ft=tt.keepContents,Lt=(0,nv.default)(tt,f$);if(at&&!Ft)return G.default.createElement("span",null);var on=[];for(var wn in aD)if(Object.prototype.hasOwnProperty.call(aD,wn)){var tr=aD[wn];if(wn in this.props){var Gn=this.props[wn];if(Gn<1){on.push("none"+tr);continue}on.push("block"+tr),on.push("col-"+Gn+tr)}}at&&on.push("hidden");var dr=kE.apply(void 0,(0,o.default)(qe=[Lt.className]).call(qe,on));return G.default.createElement("section",(0,kp.default)({},Lt,{className:dr}))}}]),gt}(G.default.Component),_$=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){return(0,oe.default)(this,gt),un.apply(this,arguments)}return(0,le.default)(gt,[{key:"render",value:function(){return G.default.createElement("div",(0,kp.default)({},this.props,{className:kE(this.props.className,"wrapper")}))}}]),gt}(G.default.Component),Q3=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){return(0,oe.default)(this,gt),un.apply(this,arguments)}return(0,le.default)(gt,[{key:"render",value:function(){return G.default.createElement("button",(0,kp.default)({},this.props,{className:kE(this.props.className,"button")}))}}]),gt}(G.default.Component);(0,Q.default)(Q3,"defaultProps",{className:""});var m$=function(An){return G.default.createElement("textarea",An)},g$=function(An){return G.default.createElement("input",An)},X3=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(qe,tt){var at;return(0,oe.default)(this,gt),at=un.call(this,qe,tt),(0,Q.default)((0,Ii.default)(at),"onChange",function(Lt){var on,wn,tr=at.props,Gn=tr.onChange,dr=tr.multiple,Ti=(0,$e.default)([]).call(Lt.target.options);on=dr?(0,we.default)(wn=(0,_.default)(Ti).call(Ti,function(_i){return _i.selected})).call(wn,function(_i){return _i.value}):Lt.target.value,at.setState({value:on}),Gn&&Gn(on)}),at.state={value:qe.value?qe.value:qe.multiple?[""]:""},at}return(0,le.default)(gt,[{key:"UNSAFE_componentWillReceiveProps",value:function(qe){qe.value!==this.props.value&&this.setState({value:qe.value})}},{key:"render",value:function(){var qe,tt,at=this.props,Ft=at.allowedValues,Lt=at.multiple,on=at.allowEmptyValue,wn=at.disabled,tr=(null===(qe=this.state.value)||void 0===qe||null===(tt=qe.toJS)||void 0===tt?void 0:tt.call(qe))||this.state.value;return G.default.createElement("select",{className:this.props.className,multiple:Lt,value:tr,onChange:this.onChange,disabled:wn},on?G.default.createElement("option",{value:""},"--"):null,(0,we.default)(Ft).call(Ft,function(Gn,dr){return G.default.createElement("option",{key:dr,value:String(Gn)},String(Gn))}))}}]),gt}(G.default.Component);(0,Q.default)(X3,"defaultProps",{multiple:!1,allowEmptyValue:!0});var K3=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){return(0,oe.default)(this,gt),un.apply(this,arguments)}return(0,le.default)(gt,[{key:"render",value:function(){return G.default.createElement("a",(0,kp.default)({},this.props,{rel:"noopener noreferrer",className:kE(this.props.className,"link")}))}}]),gt}(G.default.Component),q3=function(An){return G.default.createElement("div",{className:"no-margin"}," ",An.children," ")},eP=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){return(0,oe.default)(this,gt),un.apply(this,arguments)}return(0,le.default)(gt,[{key:"renderNotAnimated",value:function(){return this.props.isOpened?G.default.createElement(q3,null,this.props.children):G.default.createElement("noscript",null)}},{key:"render",value:function(){var qe=this.props,Ft=qe.children;return qe.animated?G.default.createElement(q3,null,Ft=qe.isOpened?Ft:null):this.renderNotAnimated()}}]),gt}(G.default.Component);(0,Q.default)(eP,"defaultProps",{isOpened:!1,animated:!1});var v$=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){var qe,tt,at;(0,oe.default)(this,gt);for(var Ft=arguments.length,Lt=new Array(Ft),on=0;on<Ft;on++)Lt[on]=arguments[on];return(at=un.call.apply(un,(0,o.default)(qe=[this]).call(qe,Lt))).setTagShown=(0,me.default)(tt=at._setTagShown).call(tt,(0,Ii.default)(at)),at}return(0,le.default)(gt,[{key:"_setTagShown",value:function(qe,tt){this.props.layoutActions.show(qe,tt)}},{key:"showOp",value:function(qe,tt){this.props.layoutActions.show(qe,tt)}},{key:"render",value:function(){var qe=this.props,at=qe.layoutSelectors,Ft=qe.layoutActions,Lt=qe.getComponent,on=qe.specSelectors.taggedOperations(),wn=Lt("Collapse");return G.default.createElement("div",null,G.default.createElement("h4",{className:"overview-title"},"Overview"),(0,we.default)(on).call(on,function(tr,Gn){var dr=tr.get("operations"),Ti=["overview-tags",Gn],_i=at.isShown(Ti,!0);return G.default.createElement("div",{key:"overview-"+Gn},G.default.createElement("h4",{onClick:function(){return Ft.show(Ti,!_i)},className:"link overview-tag"}," ",_i?"-":"+",Gn),G.default.createElement(wn,{isOpened:_i,animated:!0},(0,we.default)(dr).call(dr,function(Pi){var Li=Pi.toObject(),co=Li.path,qi=Li.method,to=Li.id,Cs="operations",Ls=to,ta=at.isShown([Cs,Ls]);return G.default.createElement(y$,{key:to,path:co,method:qi,id:co+"-"+qi,shown:ta,showOpId:Ls,showOpIdPrefix:Cs,href:"#operation-".concat(Ls),onClick:Ft.show})}).toArray()))}).toArray(),on.size<1&&G.default.createElement("h3",null," No operations defined in spec! "))}}]),gt}(G.default.Component),y$=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(qe){var tt,at;return(0,oe.default)(this,gt),(at=un.call(this,qe)).onClick=(0,me.default)(tt=at._onClick).call(tt,(0,Ii.default)(at)),at}return(0,le.default)(gt,[{key:"_onClick",value:function(){var qe=this.props;(0,qe.onClick)([qe.showOpIdPrefix,qe.showOpId],!qe.shown)}},{key:"render",value:function(){var qe=this.props,tt=qe.id,at=qe.method;return G.default.createElement(K3,{href:qe.href,onClick:this.onClick,className:"block opblock-link ".concat(qe.shown?"shown":"")},G.default.createElement("div",null,G.default.createElement("small",{className:"bold-label-".concat(at)},at.toUpperCase()),G.default.createElement("span",{className:"bold-label"},tt)))}}]),gt}(G.default.Component),E$=["value","defaultValue","initialValue"],b$=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){return(0,oe.default)(this,gt),un.apply(this,arguments)}return(0,le.default)(gt,[{key:"componentDidMount",value:function(){this.props.initialValue&&(this.inputRef.value=this.props.initialValue)}},{key:"render",value:function(){var qe=this,at=(0,nv.default)(this.props,E$);return G.default.createElement("input",(0,kp.default)({},at,{ref:function(Ft){return qe.inputRef=Ft}}))}}]),gt}(G.default.Component),S$=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){return(0,oe.default)(this,gt),un.apply(this,arguments)}return(0,le.default)(gt,[{key:"render",value:function(){var qe=this.props;return G.default.createElement("pre",{className:"base-url"},"[ Base URL: ",qe.host,qe.basePath," ]")}}]),gt}(G.default.Component),T$=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){return(0,oe.default)(this,gt),un.apply(this,arguments)}return(0,le.default)(gt,[{key:"render",value:function(){var qe=this.props,tt=qe.data,at=qe.getComponent,Ft=qe.selectedServer,Lt=qe.url,on=tt.get("name")||"the developer",wn=Bi(tt.get("url"),Lt,{selectedServer:Ft}),tr=tt.get("email"),Gn=at("Link");return G.default.createElement("div",{className:"info__contact"},wn&&G.default.createElement("div",null,G.default.createElement(Gn,{href:(0,Nn.Nm)(wn),target:"_blank"},on," - Website")),tr&&G.default.createElement(Gn,{href:(0,Nn.Nm)("mailto:".concat(tr))},wn?"Send email to ".concat(on):"Contact ".concat(on)))}}]),gt}(G.default.Component),C$=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){return(0,oe.default)(this,gt),un.apply(this,arguments)}return(0,le.default)(gt,[{key:"render",value:function(){var qe=this.props,tt=qe.license,Ft=qe.selectedServer,Lt=qe.url,on=(0,qe.getComponent)("Link"),wn=tt.get("name")||"License",tr=Bi(tt.get("url"),Lt,{selectedServer:Ft});return G.default.createElement("div",{className:"info__license"},tr?G.default.createElement(on,{target:"_blank",href:(0,Nn.Nm)(tr)},wn):G.default.createElement("span",null,wn))}}]),gt}(G.default.Component),M$=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){return(0,oe.default)(this,gt),un.apply(this,arguments)}return(0,le.default)(gt,[{key:"render",value:function(){var qe=this.props,tt=qe.url,at=(0,qe.getComponent)("Link");return G.default.createElement(at,{target:"_blank",href:(0,Nn.Nm)(tt)},G.default.createElement("span",{className:"url"}," ",tt))}}]),gt}(G.default.PureComponent),O$=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){return(0,oe.default)(this,gt),un.apply(this,arguments)}return(0,le.default)(gt,[{key:"render",value:function(){var qe=this.props,tt=qe.info,at=qe.url,Ft=qe.host,Lt=qe.basePath,on=qe.getComponent,wn=qe.externalDocs,tr=qe.selectedServer,Gn=qe.url,dr=tt.get("version"),Ti=tt.get("description"),_i=tt.get("title"),Pi=Bi(tt.get("termsOfService"),Gn,{selectedServer:tr}),Li=tt.get("contact"),co=tt.get("license"),qi=Bi(wn&&wn.get("url"),Gn,{selectedServer:tr}),to=wn&&wn.get("description"),Cs=on("Markdown",!0),Ls=on("Link"),ta=on("VersionStamp"),xs=on("InfoUrl"),Rs=on("InfoBasePath");return G.default.createElement("div",{className:"info"},G.default.createElement("hgroup",{className:"main"},G.default.createElement("h2",{className:"title"},_i,dr&&G.default.createElement(ta,{version:dr})),Ft||Lt?G.default.createElement(Rs,{host:Ft,basePath:Lt}):null,at&&G.default.createElement(xs,{getComponent:on,url:at})),G.default.createElement("div",{className:"description"},G.default.createElement(Cs,{source:Ti})),Pi&&G.default.createElement("div",{className:"info__tos"},G.default.createElement(Ls,{target:"_blank",href:(0,Nn.Nm)(Pi)},"Terms of service")),Li&&Li.size?G.default.createElement(T$,{getComponent:on,data:Li,selectedServer:tr,url:at}):null,co&&co.size?G.default.createElement(C$,{getComponent:on,license:co,selectedServer:tr,url:at}):null,qi?G.default.createElement(Ls,{className:"info__extdocs",target:"_blank",href:(0,Nn.Nm)(qi)},to||qi):null)}}]),gt}(G.default.Component),A$=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){return(0,oe.default)(this,gt),un.apply(this,arguments)}return(0,le.default)(gt,[{key:"render",value:function(){var qe=this.props,tt=qe.specSelectors,at=qe.getComponent,Ft=qe.oas3Selectors,Lt=tt.info(),on=tt.url(),wn=tt.basePath(),tr=tt.host(),Gn=tt.externalDocs(),dr=Ft.selectedServer(),Ti=at("info");return G.default.createElement("div",null,Lt&&Lt.count()?G.default.createElement(Ti,{info:Lt,url:on,host:tr,basePath:wn,externalDocs:Gn,getComponent:at,selectedServer:dr}):null)}}]),gt}(G.default.Component),D$=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){return(0,oe.default)(this,gt),un.apply(this,arguments)}return(0,le.default)(gt,[{key:"render",value:function(){return null}}]),gt}(G.default.Component),x$=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){return(0,oe.default)(this,gt),un.apply(this,arguments)}return(0,le.default)(gt,[{key:"render",value:function(){return G.default.createElement("div",{className:"footer"})}}]),gt}(G.default.Component),R$=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){var qe,tt;(0,oe.default)(this,gt);for(var at=arguments.length,Ft=new Array(at),Lt=0;Lt<at;Lt++)Ft[Lt]=arguments[Lt];return tt=un.call.apply(un,(0,o.default)(qe=[this]).call(qe,Ft)),(0,Q.default)((0,Ii.default)(tt),"onFilterChange",function(on){tt.props.layoutActions.updateFilter(on.target.value)}),tt}return(0,le.default)(gt,[{key:"render",value:function(){var qe=this.props,tt=qe.specSelectors,at=qe.layoutSelectors,Ft=(0,qe.getComponent)("Col"),Lt="loading"===tt.loadingStatus(),on="failed"===tt.loadingStatus(),wn=at.currentFilter(),tr=["operation-filter-input"];return on&&tr.push("failed"),Lt&&tr.push("loading"),G.default.createElement("div",null,null===wn||!1===wn||"false"===wn?null:G.default.createElement("div",{className:"filter-container"},G.default.createElement(Ft,{className:"filter wrapper",mobile:12},G.default.createElement("input",{className:tr.join(" "),placeholder:"Filter by tag",type:"text",onChange:this.onFilterChange,value:!0===wn||"true"===wn?"":wn,disabled:Lt}))))}}]),gt}(G.default.Component),lD=Function.prototype,tP=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(qe,tt){var at;return(0,oe.default)(this,gt),at=un.call(this,qe,tt),(0,Q.default)((0,Ii.default)(at),"updateValues",function(Ft){var Lt=Ft.param,on=Ft.isExecute,wn=Ft.consumesValue,tr=void 0===wn?"":wn,Gn=/xml/i.test(tr),dr=/json/i.test(tr),Ti=Lt.get(Gn?"value_xml":"value");if(void 0!==Ti){var _i=!Ti&&dr?"{}":Ti;at.setState({value:_i}),at.onChange(_i,{isXml:Gn,isEditBox:on})}else Gn?at.onChange(at.sample("xml"),{isXml:Gn,isEditBox:on}):at.onChange(at.sample(),{isEditBox:on})}),(0,Q.default)((0,Ii.default)(at),"sample",function(Ft){var Lt=at.props,wn=(0,Lt.fn.inferSchema)(Lt.param.toJS());return(0,Nn.xi)(wn,Ft,{includeWriteOnly:!0})}),(0,Q.default)((0,Ii.default)(at),"onChange",function(Ft,Lt){var wn=Lt.isXml;at.setState({value:Ft,isEditBox:Lt.isEditBox}),at._onChange(Ft,wn)}),(0,Q.default)((0,Ii.default)(at),"_onChange",function(Ft,Lt){(at.props.onChange||lD)(Ft,Lt)}),(0,Q.default)((0,Ii.default)(at),"handleOnChange",function(Ft){var on=/xml/i.test(at.props.consumesValue);at.onChange(Ft.target.value,{isXml:on,isEditBox:at.state.isEditBox})}),(0,Q.default)((0,Ii.default)(at),"toggleIsEditBox",function(){return at.setState(function(Ft){return{isEditBox:!Ft.isEditBox}})}),at.state={isEditBox:!1,value:""},at}return(0,le.default)(gt,[{key:"componentDidMount",value:function(){this.updateValues.call(this,this.props)}},{key:"UNSAFE_componentWillReceiveProps",value:function(qe){this.updateValues.call(this,qe)}},{key:"render",value:function(){var qe=this.props,tt=qe.onChangeConsumes,at=qe.param,Ft=qe.isExecute,Lt=qe.specSelectors,on=qe.pathMethod,wn=qe.getConfigs,tr=qe.getComponent,Gn=tr("Button"),dr=tr("TextArea"),Ti=tr("highlightCode"),_i=tr("contentType"),Pi=(Lt?Lt.parameterWithMetaByIdentity(on,at):at).get("errors",(0,bt.List)()),Li=Lt.contentTypeValues(on).get("requestContentType"),co=this.props.consumes&&this.props.consumes.size?this.props.consumes:gt.defaultProp.consumes,qi=this.state,to=qi.value,Cs=qi.isEditBox,Ls=null;return(0,bm.O)(to)&&(Ls="json"),G.default.createElement("div",{className:"body-param","data-param-name":at.get("name"),"data-param-in":at.get("in")},Cs&&Ft?G.default.createElement(dr,{className:"body-param__text"+(Pi.count()?" invalid":""),value:to,onChange:this.handleOnChange}):to&&G.default.createElement(Ti,{className:"body-param__example",language:Ls,getConfigs:wn,value:to}),G.default.createElement("div",{className:"body-param-options"},Ft?G.default.createElement("div",{className:"body-param-edit"},G.default.createElement(Gn,{className:Cs?"btn cancel body-param__example-edit":"btn edit body-param__example-edit",onClick:this.toggleIsEditBox},Cs?"Cancel":"Edit")):null,G.default.createElement("label",{htmlFor:""},G.default.createElement("span",null,"Parameter content type"),G.default.createElement(_i,{value:Li,contentTypes:co,onChange:tt,className:"body-param-content-type",ariaLabel:"Parameter content type"}))))}}]),gt}(G.PureComponent);(0,Q.default)(tP,"defaultProp",{consumes:(0,bt.fromJS)(["application/json"]),param:(0,bt.fromJS)({}),onChange:lD,onChangeConsumes:lD});var w$=Po(4624),P$=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){return(0,oe.default)(this,gt),un.apply(this,arguments)}return(0,le.default)(gt,[{key:"render",value:function(){var qe=this.props,at=qe.getConfigs,Ft=(0,w$.requestSnippetGenerator_curl_bash)(qe.request),Lt=at(),on=(0,Pl.default)(Lt,"syntaxHighlight.activated")?G.default.createElement(op.d3,{language:"bash",className:"curl microlight",style:(0,op.C2)((0,Pl.default)(Lt,"syntaxHighlight.theme"))},Ft):G.default.createElement("textarea",{readOnly:!0,className:"curl",value:Ft});return G.default.createElement("div",{className:"curl-command"},G.default.createElement("h4",null,"Curl"),G.default.createElement("div",{className:"copy-to-clipboard"},G.default.createElement(so.CopyToClipboard,{text:Ft},G.default.createElement("button",null))),G.default.createElement("div",null,on))}}]),gt}(G.default.Component),N$=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){var qe,tt;(0,oe.default)(this,gt);for(var at=arguments.length,Ft=new Array(at),Lt=0;Lt<at;Lt++)Ft[Lt]=arguments[Lt];return tt=un.call.apply(un,(0,o.default)(qe=[this]).call(qe,Ft)),(0,Q.default)((0,Ii.default)(tt),"onChange",function(on){tt.setScheme(on.target.value)}),(0,Q.default)((0,Ii.default)(tt),"setScheme",function(on){var wn=tt.props;wn.specActions.setScheme(on,wn.path,wn.method)}),tt}return(0,le.default)(gt,[{key:"UNSAFE_componentWillMount",value:function(){this.setScheme(this.props.schemes.first())}},{key:"UNSAFE_componentWillReceiveProps",value:function(qe){var tt;this.props.currentScheme&&(0,zl.default)(tt=qe.schemes).call(tt,this.props.currentScheme)||this.setScheme(qe.schemes.first())}},{key:"render",value:function(){var qe,tt=this.props,at=tt.schemes,Ft=tt.currentScheme;return G.default.createElement("label",{htmlFor:"schemes"},G.default.createElement("span",{className:"schemes-title"},"Schemes"),G.default.createElement("select",{onChange:this.onChange,value:Ft},(0,we.default)(qe=at.valueSeq()).call(qe,function(Lt){return G.default.createElement("option",{value:Lt,key:Lt},Lt)}).toArray()))}}]),gt}(G.default.Component),I$=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){return(0,oe.default)(this,gt),un.apply(this,arguments)}return(0,le.default)(gt,[{key:"render",value:function(){var qe=this.props,tt=qe.specActions,at=qe.specSelectors,Ft=qe.getComponent,Lt=at.operationScheme(),on=at.schemes(),wn=Ft("schemes");return on&&on.size?G.default.createElement(wn,{currentScheme:Lt,schemes:on,specActions:tt}):null}}]),gt}(G.default.Component),nP=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(qe,tt){var at;(0,oe.default)(this,gt),at=un.call(this,qe,tt),(0,Q.default)((0,Ii.default)(at),"toggleCollapsed",function(){at.props.onToggle&&at.props.onToggle(at.props.modelName,!at.state.expanded),at.setState({expanded:!at.state.expanded})}),(0,Q.default)((0,Ii.default)(at),"onLoad",function(wn){if(wn&&at.props.layoutSelectors){var tr=at.props.layoutSelectors.getScrollToKey();bt.default.is(tr,at.props.specPath)&&at.toggleCollapsed(),at.props.layoutActions.readyToScroll(at.props.specPath,wn.parentElement)}});var Ft=at.props;return at.state={expanded:Ft.expanded,collapsedContent:Ft.collapsedContent||gt.defaultProps.collapsedContent},at}return(0,le.default)(gt,[{key:"componentDidMount",value:function(){var qe=this.props,at=qe.expanded;qe.hideSelfOnExpand&&at&&this.props.onToggle(qe.modelName,at)}},{key:"UNSAFE_componentWillReceiveProps",value:function(qe){this.props.expanded!==qe.expanded&&this.setState({expanded:qe.expanded})}},{key:"render",value:function(){var qe=this.props,tt=qe.title,at=qe.classes;return this.state.expanded&&this.props.hideSelfOnExpand?G.default.createElement("span",{className:at||""},this.props.children):G.default.createElement("span",{className:at||"",ref:this.onLoad},G.default.createElement("button",{"aria-expanded":this.state.expanded,className:"model-box-control",onClick:this.toggleCollapsed},tt&&G.default.createElement("span",{className:"pointer"},tt),G.default.createElement("span",{className:"model-toggle"+(this.state.expanded?"":" collapsed")}),!this.state.expanded&&G.default.createElement("span",null,this.state.collapsedContent)),this.state.expanded&&this.props.children)}}]),gt}(G.Component);(0,Q.default)(nP,"defaultProps",{collapsedContent:"{...}",expanded:!1,title:null,onToggle:function(){},hideSelfOnExpand:!1,specPath:bt.default.List([])});var F$=Po(1798),DC=Po.n(F$),L$=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(qe,tt){var at;(0,oe.default)(this,gt),at=un.call(this,qe,tt),(0,Q.default)((0,Ii.default)(at),"activeTab",function(Gn){at.setState({activeTab:Gn.target.dataset.name})});var Ft=at.props,on=Ft.isExecute,wn=(0,Ft.getConfigs)().defaultModelRendering,tr=wn;return"example"!==wn&&"model"!==wn&&(tr="example"),on&&(tr="example"),at.state={activeTab:tr},at}return(0,le.default)(gt,[{key:"UNSAFE_componentWillReceiveProps",value:function(qe){qe.isExecute&&!this.props.isExecute&&this.props.example&&this.setState({activeTab:"example"})}},{key:"render",value:function(){var qe=this.props,tt=qe.getComponent,at=qe.specSelectors,Ft=qe.schema,Lt=qe.example,on=qe.isExecute,wn=qe.getConfigs,tr=qe.specPath,Gn=qe.includeReadOnly,dr=qe.includeWriteOnly,Ti=wn().defaultModelExpandDepth,_i=tt("ModelWrapper"),Pi=tt("highlightCode"),Li=DC()(5).toString("base64"),co=DC()(5).toString("base64"),qi=DC()(5).toString("base64"),to=DC()(5).toString("base64"),Cs=at.isOAS3();return G.default.createElement("div",{className:"model-example"},G.default.createElement("ul",{className:"tab",role:"tablist"},G.default.createElement("li",{className:(0,jd.default)("tabitem",{active:"example"===this.state.activeTab}),role:"presentation"},G.default.createElement("button",{"aria-controls":co,"aria-selected":"example"===this.state.activeTab,className:"tablinks","data-name":"example",id:Li,onClick:this.activeTab,role:"tab"},on?"Edit Value":"Example Value")),Ft&&G.default.createElement("li",{className:(0,jd.default)("tabitem",{active:"model"===this.state.activeTab}),role:"presentation"},G.default.createElement("button",{"aria-controls":to,"aria-selected":"model"===this.state.activeTab,className:(0,jd.default)("tablinks",{inactive:on}),"data-name":"model",id:qi,onClick:this.activeTab,role:"tab"},Cs?"Schema":"Model"))),"example"===this.state.activeTab&&G.default.createElement("div",{"aria-hidden":"example"!==this.state.activeTab,"aria-labelledby":Li,"data-name":"examplePanel",id:co,role:"tabpanel",tabIndex:"0"},Lt||G.default.createElement(Pi,{value:"(no example available)",getConfigs:wn})),"model"===this.state.activeTab&&G.default.createElement("div",{"aria-hidden":"example"===this.state.activeTab,"aria-labelledby":qi,"data-name":"modelPanel",id:to,role:"tabpanel",tabIndex:"0"},G.default.createElement(_i,{schema:Ft,getComponent:tt,getConfigs:wn,specSelectors:at,expandDepth:Ti,specPath:tr,includeReadOnly:Gn,includeWriteOnly:dr})))}}]),gt}(G.default.Component),k$=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){var qe,tt;(0,oe.default)(this,gt);for(var at=arguments.length,Ft=new Array(at),Lt=0;Lt<at;Lt++)Ft[Lt]=arguments[Lt];return tt=un.call.apply(un,(0,o.default)(qe=[this]).call(qe,Ft)),(0,Q.default)((0,Ii.default)(tt),"onToggle",function(on,wn){tt.props.layoutActions&&tt.props.layoutActions.show(tt.props.fullPath,wn)}),tt}return(0,le.default)(gt,[{key:"render",value:function(){var qe,tt=this.props,Ft=tt.getConfigs,Lt=(0,tt.getComponent)("Model");return this.props.layoutSelectors&&(qe=this.props.layoutSelectors.isShown(this.props.fullPath)),G.default.createElement("div",{className:"model-box"},G.default.createElement(Lt,(0,kp.default)({},this.props,{getConfigs:Ft,expanded:qe,depth:1,onToggle:this.onToggle,expandDepth:this.props.expandDepth||0})))}}]),gt}(G.Component),$$=Po(1543),H$=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){var qe,tt;(0,oe.default)(this,gt);for(var at=arguments.length,Ft=new Array(at),Lt=0;Lt<at;Lt++)Ft[Lt]=arguments[Lt];return tt=un.call.apply(un,(0,o.default)(qe=[this]).call(qe,Ft)),(0,Q.default)((0,Ii.default)(tt),"getSchemaBasePath",function(){return tt.props.specSelectors.isOAS3()?["components","schemas"]:["definitions"]}),(0,Q.default)((0,Ii.default)(tt),"getCollapsedContent",function(){return" "}),(0,Q.default)((0,Ii.default)(tt),"handleToggle",function(on,wn){var tr,Gn;tt.props.layoutActions.show((0,o.default)(tr=[]).call(tr,(0,Nd.default)(tt.getSchemaBasePath()),[on]),wn),wn&&tt.props.specActions.requestResolvedSubtree((0,o.default)(Gn=[]).call(Gn,(0,Nd.default)(tt.getSchemaBasePath()),[on]))}),(0,Q.default)((0,Ii.default)(tt),"onLoadModels",function(on){on&&tt.props.layoutActions.readyToScroll(tt.getSchemaBasePath(),on)}),(0,Q.default)((0,Ii.default)(tt),"onLoadModel",function(on){if(on){var wn,tr=on.getAttribute("data-name");tt.props.layoutActions.readyToScroll((0,o.default)(wn=[]).call(wn,(0,Nd.default)(tt.getSchemaBasePath()),[tr]),on)}}),tt}return(0,le.default)(gt,[{key:"render",value:function(){var qe,tt=this,at=this.props,Ft=at.specSelectors,Lt=at.getComponent,on=at.layoutSelectors,wn=at.layoutActions,tr=at.getConfigs,Gn=Ft.definitions(),dr=tr(),Ti=dr.docExpansion,_i=dr.defaultModelsExpandDepth;if(!Gn.size||_i<0)return null;var Pi=this.getSchemaBasePath(),Li=on.isShown(Pi,_i>0&&"none"!==Ti),co=Ft.isOAS3(),qi=Lt("ModelWrapper"),to=Lt("Collapse"),Cs=Lt("ModelCollapse"),Ls=Lt("JumpToPath",!0);return G.default.createElement("section",{className:Li?"models is-open":"models",ref:this.onLoadModels},G.default.createElement("h4",null,G.default.createElement("button",{"aria-expanded":Li,className:"models-control",onClick:function(){return wn.show(Pi,!Li)}},G.default.createElement("span",null,co?"Schemas":"Models"),G.default.createElement("svg",{width:"20",height:"20","aria-hidden":"true",focusable:"false"},G.default.createElement("use",{xlinkHref:Li?"#large-arrow-up":"#large-arrow-down"})))),G.default.createElement(to,{isOpened:Li},(0,we.default)(qe=Gn.entrySeq()).call(qe,function(ta){var xs,Rs=(0,Ba.default)(ta,1)[0],ks=(0,o.default)(xs=[]).call(xs,(0,Nd.default)(Pi),[Rs]),Ms=bt.default.List(ks),Ua=Ft.specResolvedSubtree(ks),Js=Ft.specJson().getIn(ks),ba=bt.Map.isMap(Ua)?Ua:bt.default.Map(),rs=bt.Map.isMap(Js)?Js:bt.default.Map(),na=ba.get("title")||rs.get("title")||Rs,vl=on.isShown(ks,!1);vl&&0===ba.size&&rs.size>0&&tt.props.specActions.requestResolvedSubtree(ks);var qc=G.default.createElement(qi,{name:Rs,expandDepth:_i,schema:ba||bt.default.Map(),displayName:na,fullPath:ks,specPath:Ms,getComponent:Lt,specSelectors:Ft,getConfigs:tr,layoutSelectors:on,layoutActions:wn,includeReadOnly:!0,includeWriteOnly:!0}),pf=G.default.createElement("span",{className:"model-box"},G.default.createElement("span",{className:"model model-title"},na));return G.default.createElement("div",{id:"model-".concat(Rs),className:"model-container",key:"models-section-".concat(Rs),"data-name":Rs,ref:tt.onLoadModel},G.default.createElement("span",{className:"models-jump-to-path"},G.default.createElement(Ls,{specPath:Ms})),G.default.createElement(Cs,{classes:"model-box",collapsedContent:tt.getCollapsedContent(Rs),onToggle:tt.handleToggle,title:pf,displayName:na,modelName:Rs,specPath:Ms,layoutSelectors:on,layoutActions:wn,hideSelfOnExpand:!0,expanded:_i>0&&vl},qc))}).toArray()))}}]),gt}(G.Component);const B$=function(An){var un=An.value,gt=(0,An.getComponent)("ModelCollapse"),qe=G.default.createElement("span",null,"Array [ ",un.count()," ]");return G.default.createElement("span",{className:"prop-enum"},"Enum:",G.default.createElement("br",null),G.default.createElement(gt,{collapsedContent:qe},"[ ",un.join(", ")," ]"))};var U$=["schema","name","displayName","isRef","getComponent","getConfigs","depth","onToggle","expanded","specPath"],Y$=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){return(0,oe.default)(this,gt),un.apply(this,arguments)}return(0,le.default)(gt,[{key:"render",value:function(){var qe,tt,at,Ft,Lt=this.props,on=Lt.schema,wn=Lt.name,tr=Lt.displayName,Gn=Lt.isRef,dr=Lt.getComponent,Ti=Lt.getConfigs,_i=Lt.depth,Pi=Lt.onToggle,Li=Lt.expanded,co=Lt.specPath,qi=(0,nv.default)(Lt,U$),to=qi.specSelectors,Cs=qi.expandDepth,Ls=qi.includeReadOnly,ta=qi.includeWriteOnly,xs=to.isOAS3;if(!on)return null;var Rs=Ti().showExtensions,ks=on.get("description"),Ms=on.get("properties"),Ua=on.get("additionalProperties"),Js=on.get("title")||tr||wn,ba=on.get("required"),rs=(0,_.default)(on).call(on,function(Gd,uc){var Vd;return-1!==(0,Qe.default)(Vd=["maxProperties","minProperties","nullable","example"]).call(Vd,uc)}),na=on.get("deprecated"),vl=dr("JumpToPath",!0),qc=dr("Markdown",!0),pf=dr("Model"),hf=dr("ModelCollapse"),Vf=dr("Property"),Wl=function(){return G.default.createElement("span",{className:"model-jump-to-path"},G.default.createElement(vl,{specPath:co}))},ed=G.default.createElement("span",null,G.default.createElement("span",null,"{"),"...",G.default.createElement("span",null,"}"),Gn?G.default.createElement(Wl,null):""),lc=to.isOAS3()?on.get("anyOf"):null,vp=to.isOAS3()?on.get("oneOf"):null,sp=to.isOAS3()?on.get("not"):null,F_=Js&&G.default.createElement("span",{className:"model-title"},Gn&&on.get("$$ref")&&G.default.createElement("span",{className:"model-hint"},on.get("$$ref")),G.default.createElement("span",{className:"model-title__text"},Js));return G.default.createElement("span",{className:"model"},G.default.createElement(hf,{modelName:wn,title:F_,onToggle:Pi,expanded:!!Li||_i<=Cs,collapsedContent:ed},G.default.createElement("span",{className:"brace-open object"},"{"),Gn?G.default.createElement(Wl,null):null,G.default.createElement("span",{className:"inner-object"},G.default.createElement("table",{className:"model"},G.default.createElement("tbody",null,ks?G.default.createElement("tr",{className:"description"},G.default.createElement("td",null,"description:"),G.default.createElement("td",null,G.default.createElement(qc,{source:ks}))):null,na?G.default.createElement("tr",{className:"property"},G.default.createElement("td",null,"deprecated:"),G.default.createElement("td",null,"true")):null,Ms&&Ms.size?(0,we.default)(qe=(0,_.default)(tt=Ms.entrySeq()).call(tt,function(Gd){var uc=(0,Ba.default)(Gd,2)[1];return(!uc.get("readOnly")||Ls)&&(!uc.get("writeOnly")||ta)})).call(qe,function(Gd){var uc,Vd,_f=(0,Ba.default)(Gd,2),mf=_f[0],Hh=_f[1],Id=xs()&&Hh.get("deprecated"),Fd=bt.List.isList(ba)&&ba.contains(mf),Df=["property-row"];return Id&&Df.push("deprecated"),Fd&&Df.push("required"),G.default.createElement("tr",{key:mf,className:Df.join(" ")},G.default.createElement("td",null,mf,Fd&&G.default.createElement("span",{className:"star"},"*")),G.default.createElement("td",null,G.default.createElement(pf,(0,kp.default)({key:(0,o.default)(uc=(0,o.default)(Vd="object-".concat(wn,"-")).call(Vd,mf,"_")).call(uc,Hh)},qi,{required:Fd,getComponent:dr,specPath:co.push("properties",mf),getConfigs:Ti,schema:Hh,depth:_i+1}))))}).toArray():null,Rs?G.default.createElement("tr",null,G.default.createElement("td",null,"\xa0")):null,Rs?(0,we.default)(at=on.entrySeq()).call(at,function(Gd){var uc=(0,Ba.default)(Gd,2),Vd=uc[0],_f=uc[1];if("x-"===(0,$e.default)(Vd).call(Vd,0,2)){var mf=_f?_f.toJS?_f.toJS():_f:null;return G.default.createElement("tr",{key:Vd,className:"extension"},G.default.createElement("td",null,Vd),G.default.createElement("td",null,(0,x.default)(mf)))}}).toArray():null,Ua&&Ua.size?G.default.createElement("tr",null,G.default.createElement("td",null,"< * >:"),G.default.createElement("td",null,G.default.createElement(pf,(0,kp.default)({},qi,{required:!1,getComponent:dr,specPath:co.push("additionalProperties"),getConfigs:Ti,schema:Ua,depth:_i+1})))):null,lc?G.default.createElement("tr",null,G.default.createElement("td",null,"anyOf ->"),G.default.createElement("td",null,(0,we.default)(lc).call(lc,function(Gd,uc){return G.default.createElement("div",{key:uc},G.default.createElement(pf,(0,kp.default)({},qi,{required:!1,getComponent:dr,specPath:co.push("anyOf",uc),getConfigs:Ti,schema:Gd,depth:_i+1})))}))):null,vp?G.default.createElement("tr",null,G.default.createElement("td",null,"oneOf ->"),G.default.createElement("td",null,(0,we.default)(vp).call(vp,function(Gd,uc){return G.default.createElement("div",{key:uc},G.default.createElement(pf,(0,kp.default)({},qi,{required:!1,getComponent:dr,specPath:co.push("oneOf",uc),getConfigs:Ti,schema:Gd,depth:_i+1})))}))):null,sp?G.default.createElement("tr",null,G.default.createElement("td",null,"not ->"),G.default.createElement("td",null,G.default.createElement("div",null,G.default.createElement(pf,(0,kp.default)({},qi,{required:!1,getComponent:dr,specPath:co.push("not"),getConfigs:Ti,schema:sp,depth:_i+1}))))):null))),G.default.createElement("span",{className:"brace-close"},"}")),rs.size?(0,we.default)(Ft=rs.entrySeq()).call(Ft,function(Gd){var uc,Vd=(0,Ba.default)(Gd,2),_f=Vd[0],mf=Vd[1];return G.default.createElement(Vf,{key:(0,o.default)(uc="".concat(_f,"-")).call(uc,mf),propKey:_f,propVal:mf,propClass:"property"})}):null)}}]),gt}(G.Component),j$=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){return(0,oe.default)(this,gt),un.apply(this,arguments)}return(0,le.default)(gt,[{key:"render",value:function(){var qe,tt=this.props,at=tt.getComponent,Ft=tt.getConfigs,Lt=tt.schema,on=tt.depth,wn=tt.expandDepth,tr=tt.name,Gn=tt.displayName,dr=tt.specPath,Ti=Lt.get("description"),_i=Lt.get("items"),Pi=Lt.get("title")||Gn||tr,Li=(0,_.default)(Lt).call(Lt,function(ta,xs){var Rs;return-1===(0,Qe.default)(Rs=["type","items","description","$$ref"]).call(Rs,xs)}),co=at("Markdown",!0),qi=at("ModelCollapse"),to=at("Model"),Cs=at("Property"),Ls=Pi&&G.default.createElement("span",{className:"model-title"},G.default.createElement("span",{className:"model-title__text"},Pi));return G.default.createElement("span",{className:"model"},G.default.createElement(qi,{title:Ls,expanded:on<=wn,collapsedContent:"[...]"},"[",Li.size?(0,we.default)(qe=Li.entrySeq()).call(qe,function(ta){var xs,Rs=(0,Ba.default)(ta,2),ks=Rs[0],Ms=Rs[1];return G.default.createElement(Cs,{key:(0,o.default)(xs="".concat(ks,"-")).call(xs,Ms),propKey:ks,propVal:Ms,propClass:"property"})}):null,Ti?G.default.createElement(co,{source:Ti}):Li.size?G.default.createElement("div",{className:"markdown"}):null,G.default.createElement("span",null,G.default.createElement(to,(0,kp.default)({},this.props,{getConfigs:Ft,specPath:dr.push("items"),name:null,schema:_i,required:!1,depth:on+1}))),"]"))}}]),gt}(G.Component),xC="property primitive",G$=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){return(0,oe.default)(this,gt),un.apply(this,arguments)}return(0,le.default)(gt,[{key:"render",value:function(){var qe,tt,at,Ft=this.props,Lt=Ft.schema,on=Ft.getComponent,tr=Ft.name,Gn=Ft.displayName,dr=Ft.depth,Ti=Ft.expandDepth,_i=(0,Ft.getConfigs)().showExtensions;if(!Lt||!Lt.get)return G.default.createElement("div",null);var Pi=Lt.get("type"),Li=Lt.get("format"),co=Lt.get("xml"),qi=Lt.get("enum"),to=Lt.get("title")||Gn||tr,Cs=Lt.get("description"),Ls=(0,Nn.nX)(Lt),ta=(0,_.default)(Lt).call(Lt,function(Js,ba){var rs;return-1===(0,Qe.default)(rs=["enum","type","format","description","$$ref"]).call(rs,ba)}).filterNot(function(Js,ba){return Ls.has(ba)}),xs=on("Markdown",!0),Rs=on("EnumModel"),ks=on("Property"),Ms=on("ModelCollapse"),Ua=to&&G.default.createElement("span",{className:"model-title"},G.default.createElement("span",{className:"model-title__text"},to));return G.default.createElement("span",{className:"model"},G.default.createElement(Ms,{title:Ua,expanded:dr>=Ti,collapsedContent:" ",hideSelfOnExpand:Ti!==dr},G.default.createElement("span",{className:"prop"},tr&&dr>1&&G.default.createElement("span",{className:"prop-name"},to),G.default.createElement("span",{className:"prop-type"},Pi),Li&&G.default.createElement("span",{className:"prop-format"},"($",Li,")"),ta.size?(0,we.default)(qe=ta.entrySeq()).call(qe,function(Js){var ba,rs=(0,Ba.default)(Js,2),na=rs[0],vl=rs[1];return G.default.createElement(ks,{key:(0,o.default)(ba="".concat(na,"-")).call(ba,vl),propKey:na,propVal:vl,propClass:xC})}):null,_i&&Ls.size?(0,we.default)(tt=Ls.entrySeq()).call(tt,function(Js){var ba,rs=(0,Ba.default)(Js,2),na=rs[0],vl=rs[1];return G.default.createElement(ks,{key:(0,o.default)(ba="".concat(na,"-")).call(ba,vl),propKey:na,propVal:vl,propClass:xC})}):null,Cs?G.default.createElement(xs,{source:Cs}):null,co&&co.size?G.default.createElement("span",null,G.default.createElement("br",null),G.default.createElement("span",{className:xC},"xml:"),(0,we.default)(at=co.entrySeq()).call(at,function(Js){var ba,rs=(0,Ba.default)(Js,2),na=rs[0],vl=rs[1];return G.default.createElement("span",{key:(0,o.default)(ba="".concat(na,"-")).call(ba,vl),className:xC},G.default.createElement("br",null),"\xa0\xa0\xa0",na,": ",String(vl))}).toArray()):null,qi&&G.default.createElement(Rs,{value:qi,getComponent:on}))))}}]),gt}(G.Component);const V$=function(An){var un=An.propKey,gt=An.propVal;return G.default.createElement("span",{className:An.propClass},G.default.createElement("br",null),un,": ",String(gt))};var rP=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){return(0,oe.default)(this,gt),un.apply(this,arguments)}return(0,le.default)(gt,[{key:"render",value:function(){var qe=this.props,tt=qe.onTryoutClick,Ft=qe.onResetClick,wn=qe.isOAS3&&qe.hasUserEditedBody;return G.default.createElement("div",{className:wn?"try-out btn-group":"try-out"},qe.enabled?G.default.createElement("button",{className:"btn try-out__btn cancel",onClick:qe.onCancelClick},"Cancel"):G.default.createElement("button",{className:"btn try-out__btn",onClick:tt},"Try it out "),wn&&G.default.createElement("button",{className:"btn try-out__btn reset",onClick:Ft},"Reset"))}}]),gt}(G.default.Component);(0,Q.default)(rP,"defaultProps",{onTryoutClick:Function.prototype,onCancelClick:Function.prototype,onResetClick:Function.prototype,enabled:!1,hasUserEditedBody:!1,isOAS3:!1});var iP=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){return(0,oe.default)(this,gt),un.apply(this,arguments)}return(0,le.default)(gt,[{key:"render",value:function(){var qe=this.props,at=qe.isSwagger2,Ft=qe.isOAS3,Lt=qe.alsoShow;return qe.bypass?G.default.createElement("div",null,this.props.children):at&&Ft?G.default.createElement("div",{className:"version-pragma"},Lt,G.default.createElement("div",{className:"version-pragma__message version-pragma__message--ambiguous"},G.default.createElement("div",null,G.default.createElement("h3",null,"Unable to render this definition"),G.default.createElement("p",null,G.default.createElement("code",null,"swagger")," and ",G.default.createElement("code",null,"openapi")," fields cannot be present in the same Swagger or OpenAPI definition. Please remove one of the fields."),G.default.createElement("p",null,"Supported version fields are ",G.default.createElement("code",null,"swagger: ",'"2.0"')," and those that match ",G.default.createElement("code",null,"openapi: 3.0.n")," (for example, ",G.default.createElement("code",null,"openapi: 3.0.0"),").")))):at||Ft?G.default.createElement("div",null,this.props.children):G.default.createElement("div",{className:"version-pragma"},Lt,G.default.createElement("div",{className:"version-pragma__message version-pragma__message--missing"},G.default.createElement("div",null,G.default.createElement("h3",null,"Unable to render this definition"),G.default.createElement("p",null,"The provided definition does not specify a valid version field."),G.default.createElement("p",null,"Please indicate a valid Swagger or OpenAPI version field. Supported version fields are ",G.default.createElement("code",null,"swagger: ",'"2.0"')," and those that match ",G.default.createElement("code",null,"openapi: 3.0.n")," (for example, ",G.default.createElement("code",null,"openapi: 3.0.0"),")."))))}}]),gt}(G.default.PureComponent);(0,Q.default)(iP,"defaultProps",{alsoShow:null,children:null,bypass:!1});const Z$=function(An){return G.default.createElement("small",null,G.default.createElement("pre",{className:"version"}," ",An.version," "))},z$=function(An){var un=An.enabled,qe=An.text;return G.default.createElement("a",{className:"nostyle",onClick:un?function(tt){return tt.preventDefault()}:null,href:un?"#/".concat(An.path):null},G.default.createElement("span",null,qe))},W$=function(){return G.default.createElement("div",null,G.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",className:"svg-assets"},G.default.createElement("defs",null,G.default.createElement("symbol",{viewBox:"0 0 20 20",id:"unlocked"},G.default.createElement("path",{d:"M15.8 8H14V5.6C14 2.703 12.665 1 10 1 7.334 1 6 2.703 6 5.6V6h2v-.801C8 3.754 8.797 3 10 3c1.203 0 2 .754 2 2.199V8H4c-.553 0-1 .646-1 1.199V17c0 .549.428 1.139.951 1.307l1.197.387C5.672 18.861 6.55 19 7.1 19h5.8c.549 0 1.428-.139 1.951-.307l1.196-.387c.524-.167.953-.757.953-1.306V9.199C17 8.646 16.352 8 15.8 8z"})),G.default.createElement("symbol",{viewBox:"0 0 20 20",id:"locked"},G.default.createElement("path",{d:"M15.8 8H14V5.6C14 2.703 12.665 1 10 1 7.334 1 6 2.703 6 5.6V8H4c-.553 0-1 .646-1 1.199V17c0 .549.428 1.139.951 1.307l1.197.387C5.672 18.861 6.55 19 7.1 19h5.8c.549 0 1.428-.139 1.951-.307l1.196-.387c.524-.167.953-.757.953-1.306V9.199C17 8.646 16.352 8 15.8 8zM12 8H8V5.199C8 3.754 8.797 3 10 3c1.203 0 2 .754 2 2.199V8z"})),G.default.createElement("symbol",{viewBox:"0 0 20 20",id:"close"},G.default.createElement("path",{d:"M14.348 14.849c-.469.469-1.229.469-1.697 0L10 11.819l-2.651 3.029c-.469.469-1.229.469-1.697 0-.469-.469-.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-.469-.469-.469-1.228 0-1.697.469-.469 1.228-.469 1.697 0L10 8.183l2.651-3.031c.469-.469 1.228-.469 1.697 0 .469.469.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c.469.469.469 1.229 0 1.698z"})),G.default.createElement("symbol",{viewBox:"0 0 20 20",id:"large-arrow"},G.default.createElement("path",{d:"M13.25 10L6.109 2.58c-.268-.27-.268-.707 0-.979.268-.27.701-.27.969 0l7.83 7.908c.268.271.268.709 0 .979l-7.83 7.908c-.268.271-.701.27-.969 0-.268-.269-.268-.707 0-.979L13.25 10z"})),G.default.createElement("symbol",{viewBox:"0 0 20 20",id:"large-arrow-down"},G.default.createElement("path",{d:"M17.418 6.109c.272-.268.709-.268.979 0s.271.701 0 .969l-7.908 7.83c-.27.268-.707.268-.979 0l-7.908-7.83c-.27-.268-.27-.701 0-.969.271-.268.709-.268.979 0L10 13.25l7.418-7.141z"})),G.default.createElement("symbol",{viewBox:"0 0 20 20",id:"large-arrow-up"},G.default.createElement("path",{d:"M 17.418 14.908 C 17.69 15.176 18.127 15.176 18.397 14.908 C 18.667 14.64 18.668 14.207 18.397 13.939 L 10.489 6.109 C 10.219 5.841 9.782 5.841 9.51 6.109 L 1.602 13.939 C 1.332 14.207 1.332 14.64 1.602 14.908 C 1.873 15.176 2.311 15.176 2.581 14.908 L 10 7.767 L 17.418 14.908 Z"})),G.default.createElement("symbol",{viewBox:"0 0 24 24",id:"jump-to"},G.default.createElement("path",{d:"M19 7v4H5.83l3.58-3.59L8 6l-6 6 6 6 1.41-1.41L5.83 13H21V7z"})),G.default.createElement("symbol",{viewBox:"0 0 24 24",id:"expand"},G.default.createElement("path",{d:"M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"})))))};var J$=Po(5466),Q$=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){return(0,oe.default)(this,gt),un.apply(this,arguments)}return(0,le.default)(gt,[{key:"render",value:function(){var qe=this.props,tt=qe.errSelectors,at=qe.specSelectors,Ft=qe.getComponent,Lt=Ft("SvgAssets"),on=Ft("InfoContainer",!0),wn=Ft("VersionPragmaFilter"),tr=Ft("operations",!0),Gn=Ft("Models",!0),dr=Ft("Row"),Ti=Ft("Col"),_i=Ft("errors",!0),Pi=Ft("ServersContainer",!0),Li=Ft("SchemesContainer",!0),co=Ft("AuthorizeBtnContainer",!0),qi=Ft("FilterContainer",!0),to=at.isSwagger2(),Cs=at.isOAS3(),Ls=!at.specStr(),ta=at.loadingStatus(),xs=null;if("loading"===ta&&(xs=G.default.createElement("div",{className:"info"},G.default.createElement("div",{className:"loading-container"},G.default.createElement("div",{className:"loading"})))),"failed"===ta&&(xs=G.default.createElement("div",{className:"info"},G.default.createElement("div",{className:"loading-container"},G.default.createElement("h4",{className:"title"},"Failed to load API definition."),G.default.createElement(_i,null)))),"failedConfig"===ta){var Rs=tt.lastError(),ks=Rs?Rs.get("message"):"";xs=G.default.createElement("div",{className:"info failed-config"},G.default.createElement("div",{className:"loading-container"},G.default.createElement("h4",{className:"title"},"Failed to load remote configuration."),G.default.createElement("p",null,ks)))}if(!xs&&Ls&&(xs=G.default.createElement("h4",null,"No API definition provided.")),xs)return G.default.createElement("div",{className:"swagger-ui"},G.default.createElement("div",{className:"loading-container"},xs));var Ms=at.servers(),Ua=at.schemes(),Js=Ms&&Ms.size,ba=Ua&&Ua.size,rs=!!at.securityDefinitions();return G.default.createElement("div",{className:"swagger-ui"},G.default.createElement(Lt,null),G.default.createElement(wn,{isSwagger2:to,isOAS3:Cs,alsoShow:G.default.createElement(_i,null)},G.default.createElement(_i,null),G.default.createElement(dr,{className:"information-container"},G.default.createElement(Ti,{mobile:12},G.default.createElement(on,null))),Js||ba||rs?G.default.createElement("div",{className:"scheme-container"},G.default.createElement(Ti,{className:"schemes wrapper",mobile:12},Js?G.default.createElement(Pi,null):null,ba?G.default.createElement(Li,null):null,rs?G.default.createElement(co,null):null)):null,G.default.createElement(qi,null),G.default.createElement(dr,null,G.default.createElement(Ti,{mobile:12,desktop:12},G.default.createElement(tr,null))),G.default.createElement(dr,null,G.default.createElement(Ti,{mobile:12,desktop:12},G.default.createElement(Gn,null)))))}}]),gt}(G.default.Component);const oP=(An=>{var un={};return Po.d(un,An),un})({default:()=>Gk()});var qv={value:"",onChange:function(){},schema:{},keyName:"",required:!1,errors:(0,bt.List)()},sP=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){return(0,oe.default)(this,gt),un.apply(this,arguments)}return(0,le.default)(gt,[{key:"componentDidMount",value:function(){var qe=this.props,tt=qe.dispatchInitialValue,Ft=qe.onChange;tt?Ft(qe.value):!1===tt&&Ft("")}},{key:"render",value:function(){var qe,tt=this.props,at=tt.schema,Ft=tt.errors,Lt=tt.value,on=tt.onChange,wn=tt.getComponent,tr=tt.fn,Gn=tt.disabled,dr=at&&at.get?at.get("format"):null,Ti=at&&at.get?at.get("type"):null,Pi=Ti?wn(dr?(0,o.default)(qe="JsonSchema_".concat(Ti,"_")).call(qe,dr):"JsonSchema_".concat(Ti),!1,{failSilently:!0}):wn("JsonSchema_string");return Pi||(Pi=wn("JsonSchema_string")),G.default.createElement(Pi,(0,kp.default)({},this.props,{errors:Ft,fn:tr,getComponent:wn,value:Lt,onChange:on,schema:at,disabled:Gn}))}}]),gt}(G.Component);(0,Q.default)(sP,"defaultProps",qv);var aP=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){var qe,tt;(0,oe.default)(this,gt);for(var at=arguments.length,Ft=new Array(at),Lt=0;Lt<at;Lt++)Ft[Lt]=arguments[Lt];return tt=un.call.apply(un,(0,o.default)(qe=[this]).call(qe,Ft)),(0,Q.default)((0,Ii.default)(tt),"onChange",function(on){var wn=tt.props.schema&&"file"===tt.props.schema.get("type")?on.target.files[0]:on.target.value;tt.props.onChange(wn,tt.props.keyName)}),(0,Q.default)((0,Ii.default)(tt),"onEnumChange",function(on){return tt.props.onChange(on)}),tt}return(0,le.default)(gt,[{key:"render",value:function(){var qe=this.props,tt=qe.getComponent,at=qe.value,Ft=qe.schema,Lt=qe.errors,on=qe.required,wn=qe.description,tr=qe.disabled,Gn=Ft&&Ft.get?Ft.get("enum"):null,dr=Ft&&Ft.get?Ft.get("format"):null,Ti=Ft&&Ft.get?Ft.get("type"):null,_i=Ft&&Ft.get?Ft.get("in"):null;if(at||(at=""),Lt=Lt.toJS?Lt.toJS():[],Gn){var Pi=tt("Select");return G.default.createElement(Pi,{className:Lt.length?"invalid":"",title:Lt.length?Lt:"",allowedValues:Gn,value:at,allowEmptyValue:!on,disabled:tr,onChange:this.onEnumChange})}var Li=tr||_i&&"formData"===_i&&!("FormData"in window),co=tt("Input");return Ti&&"file"===Ti?G.default.createElement(co,{type:"file",className:Lt.length?"invalid":"",title:Lt.length?Lt:"",onChange:this.onChange,disabled:Li}):G.default.createElement(oP.default,{type:dr&&"password"===dr?"password":"text",className:Lt.length?"invalid":"",title:Lt.length?Lt:"",value:at,minLength:0,debounceTimeout:350,placeholder:wn,onChange:this.onChange,disabled:Li})}}]),gt}(G.Component);(0,Q.default)(aP,"defaultProps",qv);var lP=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(qe,tt){var at;return(0,oe.default)(this,gt),at=un.call(this,qe,tt),(0,Q.default)((0,Ii.default)(at),"onChange",function(){at.props.onChange(at.state.value)}),(0,Q.default)((0,Ii.default)(at),"onItemChange",function(Ft,Lt){at.setState(function(on){return{value:on.value.set(Lt,Ft)}},at.onChange)}),(0,Q.default)((0,Ii.default)(at),"removeItem",function(Ft){at.setState(function(Lt){return{value:Lt.value.delete(Ft)}},at.onChange)}),(0,Q.default)((0,Ii.default)(at),"addItem",function(){var Ft=dD(at.state.value);at.setState(function(){return{value:Ft.push((0,Nn.xi)(at.state.schema.get("items"),!1,{includeWriteOnly:!0}))}},at.onChange)}),(0,Q.default)((0,Ii.default)(at),"onEnumChange",function(Ft){at.setState(function(){return{value:Ft}},at.onChange)}),at.state={value:dD(qe.value),schema:qe.schema},at}return(0,le.default)(gt,[{key:"UNSAFE_componentWillReceiveProps",value:function(qe){var tt=dD(qe.value);tt!==this.state.value&&this.setState({value:tt}),qe.schema!==this.state.schema&&this.setState({schema:qe.schema})}},{key:"render",value:function(){var qe,tt=this,at=this.props,Ft=at.getComponent,Lt=at.required,on=at.schema,wn=at.errors,tr=at.fn,Gn=at.disabled;wn=wn.toJS?wn.toJS():(0,Ne.default)(wn)?wn:[];var dr,Ti,_i=(0,_.default)(wn).call(wn,function(Ms){return"string"==typeof Ms}),Pi=(0,we.default)(qe=(0,_.default)(wn).call(wn,function(Ms){return void 0!==Ms.needRemove})).call(qe,function(Ms){return Ms.error}),Li=this.state.value,co=!!(Li&&Li.count&&Li.count()>0),qi=on.getIn(["items","enum"]),to=on.getIn(["items","type"]),Cs=on.getIn(["items","format"]),Ls=on.get("items"),ta=!1,xs="file"===to||"string"===to&&"binary"===Cs;if(to&&Cs?dr=Ft((0,o.default)(Ti="JsonSchema_".concat(to,"_")).call(Ti,Cs)):"boolean"!==to&&"array"!==to&&"object"!==to||(dr=Ft("JsonSchema_".concat(to))),dr||xs||(ta=!0),qi){var Rs=Ft("Select");return G.default.createElement(Rs,{className:wn.length?"invalid":"",title:wn.length?wn:"",multiple:!0,value:Li,disabled:Gn,allowedValues:qi,allowEmptyValue:!Lt,onChange:this.onEnumChange})}var ks=Ft("Button");return G.default.createElement("div",{className:"json-schema-array"},co?(0,we.default)(Li).call(Li,function(Ms,Ua){var Js,ba=(0,bt.fromJS)((0,Nd.default)((0,we.default)(Js=(0,_.default)(wn).call(wn,function(rs){return rs.index===Ua})).call(Js,function(rs){return rs.error})));return G.default.createElement("div",{key:Ua,className:"json-schema-form-item"},xs?G.default.createElement(cD,{value:Ms,onChange:function(rs){return tt.onItemChange(rs,Ua)},disabled:Gn,errors:ba,getComponent:Ft}):ta?G.default.createElement(uD,{value:Ms,onChange:function(rs){return tt.onItemChange(rs,Ua)},disabled:Gn,errors:ba}):G.default.createElement(dr,(0,kp.default)({},tt.props,{value:Ms,onChange:function(rs){return tt.onItemChange(rs,Ua)},disabled:Gn,errors:ba,schema:Ls,getComponent:Ft,fn:tr})),Gn?null:G.default.createElement(ks,{className:"btn btn-sm json-schema-form-item-remove ".concat(Pi.length?"invalid":null),title:Pi.length?Pi:"",onClick:function(){return tt.removeItem(Ua)}}," - "))}):null,Gn?null:G.default.createElement(ks,{className:"btn btn-sm json-schema-form-item-add ".concat(_i.length?"invalid":null),title:_i.length?_i:"",onClick:this.addItem},"Add ",to?"".concat(to," "):"","item"))}}]),gt}(G.PureComponent);(0,Q.default)(lP,"defaultProps",qv);var uD=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){var qe,tt;(0,oe.default)(this,gt);for(var at=arguments.length,Ft=new Array(at),Lt=0;Lt<at;Lt++)Ft[Lt]=arguments[Lt];return tt=un.call.apply(un,(0,o.default)(qe=[this]).call(qe,Ft)),(0,Q.default)((0,Ii.default)(tt),"onChange",function(on){tt.props.onChange(on.target.value,tt.props.keyName)}),tt}return(0,le.default)(gt,[{key:"render",value:function(){var qe=this.props,tt=qe.value,at=qe.errors,Ft=qe.description,Lt=qe.disabled;return tt||(tt=""),at=at.toJS?at.toJS():[],G.default.createElement(oP.default,{type:"text",className:at.length?"invalid":"",title:at.length?at:"",value:tt,minLength:0,debounceTimeout:350,placeholder:Ft,onChange:this.onChange,disabled:Lt})}}]),gt}(G.Component);(0,Q.default)(uD,"defaultProps",qv);var cD=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){var qe,tt;(0,oe.default)(this,gt);for(var at=arguments.length,Ft=new Array(at),Lt=0;Lt<at;Lt++)Ft[Lt]=arguments[Lt];return tt=un.call.apply(un,(0,o.default)(qe=[this]).call(qe,Ft)),(0,Q.default)((0,Ii.default)(tt),"onFileChange",function(on){tt.props.onChange(on.target.files[0],tt.props.keyName)}),tt}return(0,le.default)(gt,[{key:"render",value:function(){var qe=this.props,at=qe.errors,Ft=qe.disabled,Lt=(0,qe.getComponent)("Input"),on=Ft||!("FormData"in window);return G.default.createElement(Lt,{type:"file",className:at.length?"invalid":"",title:at.length?at:"",onChange:this.onFileChange,disabled:on})}}]),gt}(G.Component);(0,Q.default)(cD,"defaultProps",qv);var uP=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){var qe,tt;(0,oe.default)(this,gt);for(var at=arguments.length,Ft=new Array(at),Lt=0;Lt<at;Lt++)Ft[Lt]=arguments[Lt];return tt=un.call.apply(un,(0,o.default)(qe=[this]).call(qe,Ft)),(0,Q.default)((0,Ii.default)(tt),"onEnumChange",function(on){return tt.props.onChange(on)}),tt}return(0,le.default)(gt,[{key:"render",value:function(){var qe=this.props,tt=qe.getComponent,at=qe.value,Ft=qe.errors,Lt=qe.schema,on=qe.required,wn=qe.disabled;Ft=Ft.toJS?Ft.toJS():[];var tr=Lt&&Lt.get?Lt.get("enum"):null,Gn=!tr||!on,dr=!tr&&(0,bt.fromJS)(["true","false"]),Ti=tt("Select");return G.default.createElement(Ti,{className:Ft.length?"invalid":"",title:Ft.length?Ft:"",value:String(at),disabled:wn,allowedValues:tr||dr,allowEmptyValue:Gn,onChange:this.onEnumChange})}}]),gt}(G.Component);(0,Q.default)(uP,"defaultProps",qv);var X$=function(An){return(0,we.default)(An).call(An,function(un){var gt,tt="string"==typeof un?un:"string"==typeof un.error?un.error:null;if(!(void 0!==un.propKey?un.propKey:un.index)&&tt)return tt;for(var at=un.error,Ft="/".concat(un.propKey);"object"===(0,t.default)(at);){var Lt=void 0!==at.propKey?at.propKey:at.index;if(void 0===Lt||(Ft+="/".concat(Lt),!at.error))break;at=at.error}return(0,o.default)(gt="".concat(Ft,": ")).call(gt,at)})},cP=function(An){(0,uo.default)(gt,An);var un=(0,bo.default)(gt);function gt(){var qe;return(0,oe.default)(this,gt),qe=un.call(this),(0,Q.default)((0,Ii.default)(qe),"onChange",function(tt){qe.props.onChange(tt)}),(0,Q.default)((0,Ii.default)(qe),"handleOnChange",function(tt){qe.onChange(tt.target.value)}),qe}return(0,le.default)(gt,[{key:"render",value:function(){var qe=this.props,at=qe.value,Ft=qe.errors,Lt=qe.disabled,on=(0,qe.getComponent)("TextArea");return Ft=Ft.toJS?Ft.toJS():(0,Ne.default)(Ft)?Ft:[],G.default.createElement("div",null,G.default.createElement(on,{className:(0,jd.default)({invalid:Ft.length}),title:Ft.length?X$(Ft).join(", "):"",value:(0,Nn.Pz)(at),disabled:Lt,onChange:this.handleOnChange}))}}]),gt}(G.PureComponent);function dD(An){return bt.List.isList(An)?An:(0,Ne.default)(An)?(0,bt.fromJS)(An):(0,bt.List)()}function K$(){return[Xi.default,Xr.default,Wr.default,Qi.default,Yr.default,ur.default,In.default,Di.default,{components:{App:qn,authorizationPopup:wr,authorizeBtn:Gr,AuthorizeBtnContainer:Fi,authorizeOperationBtn:Ws,auths:Zo,AuthItem:ol,authError:gl,oauth2:Fp,apiKeyAuth:Zl,basicAuth:Qu,clear:zi,liveResponse:eo,InitializedInput:b$,info:O$,InfoContainer:A$,JumpToPath:D$,onlineValidatorBadge:No.Z,operations:ps,operation:Wi,OperationSummary:ss,OperationSummaryMethod:tu,OperationSummaryPath:fl,highlightCode:I_,responses:ev,response:Zm,ResponseExtension:q_,responseBody:bC,parameters:FE,parameterRow:MC,execute:AC,headers:Qa,errors:Ru,contentType:Kv,overview:v$,footer:x$,FilterContainer:R$,ParamBody:tP,curl:P$,schemes:N$,SchemesContainer:I$,modelExample:L$,ModelWrapper:k$,ModelCollapse:nP,Model:$$.Z,Models:H$,EnumModel:B$,ObjectModel:Y$,ArrayModel:j$,PrimitiveModel:G$,Property:V$,TryItOutButton:rP,Markdown:J$.Z,BaseLayout:Q$,VersionPragmaFilter:iP,VersionStamp:Z$,OperationExt:xa,OperationExtRow:yu,ParameterExt:TC,ParameterIncludeEmpty:LE,OperationTag:cs,OperationContainer:Rt,DeepLink:z$,InfoUrl:M$,InfoBasePath:S$,SvgAssets:W$,Example:Gf,ExamplesSelect:Vc,ExamplesSelectValueRetainer:Lh}},{components:n},Bn.default,{components:s},bn.default,Ni.default,Bo.default,Ao.default,zs.default,ji.default,(0,Qs.default)()]}(0,Q.default)(cP,"defaultProps",qv);var q$=Po(7451);function dP(){return[K$,q$.default]}var eH=Po(5308);function fD(An){var un,gt,qe;xn.Z.versions=xn.Z.versions||{},xn.Z.versions.swaggerUi={version:"4.12.0",gitRevision:"ga7e23b5",gitDirty:!0,buildTimestamp:"Fri, 03 Jun 2022 17:07:59 GMT"};var tt={dom_id:null,domNode:null,spec:{},url:"",urls:null,layout:"BaseLayout",docExpansion:"list",maxDisplayedTags:null,filter:null,validatorUrl:"https://validator.swagger.io/validator",oauth2RedirectUrl:(0,o.default)(un=(0,o.default)(gt="".concat(window.location.protocol,"//")).call(gt,window.location.host)).call(un,window.location.pathname.substring(0,(0,l.default)(qe=window.location.pathname).call(qe,"/")),"/oauth2-redirect.html"),persistAuthorization:!1,configs:{},custom:{},displayOperationId:!1,displayRequestDuration:!1,deepLinking:!1,tryItOutEnabled:!1,requestInterceptor:function(_i){return _i},responseInterceptor:function(_i){return _i},showMutatedRequest:!0,defaultModelRendering:"example",defaultModelExpandDepth:1,defaultModelsExpandDepth:1,showExtensions:!1,showCommonExtensions:!1,withCredentials:void 0,requestSnippetsEnabled:!1,requestSnippets:{generators:{curl_bash:{title:"cURL (bash)",syntax:"bash"},curl_powershell:{title:"cURL (PowerShell)",syntax:"powershell"},curl_cmd:{title:"cURL (CMD)",syntax:"bash"}},defaultExpanded:!0,languages:null},supportedSubmitMethods:["get","put","post","delete","options","head","patch","trace"],queryConfigEnabled:!1,presets:[dP],plugins:[],pluginsOptions:{pluginLoadType:"legacy"},initialState:{},fn:{},components:{},syntaxHighlight:{activated:!0,theme:"agate"}},at=An.queryConfigEnabled?(0,Nn.UG)():{},Ft=An.domNode;delete An.domNode;var Lt=V()({},tt,An,at),on={system:{configs:Lt.configs},plugins:Lt.presets,pluginsOptions:Lt.pluginsOptions,state:V()({layout:{layout:Lt.layout,filter:(0,_.default)(Lt)},spec:{spec:"",url:Lt.url},requestSnippets:Lt.requestSnippets},Lt.initialState)};if(Lt.initialState)for(var wn in Lt.initialState)Object.prototype.hasOwnProperty.call(Lt.initialState,wn)&&void 0===Lt.initialState[wn]&&delete on.state[wn];var tr=new Hr(on);tr.register([Lt.plugins,function(){return{fn:Lt.fn,components:Lt.components,state:Lt.state}}]);var Gn=tr.getSystem(),dr=function(_i){var Pi=Gn.specSelectors.getLocalConfig?Gn.specSelectors.getLocalConfig():{},Li=V()({},Pi,Lt,_i||{},at);if(Ft&&(Li.domNode=Ft),tr.setConfigs(Li),Gn.configsActions.loaded(),null!==_i&&(!at.url&&"object"===(0,t.default)(Li.spec)&&(0,C.default)(Li.spec).length?(Gn.specActions.updateUrl(""),Gn.specActions.updateLoadingStatus("success"),Gn.specActions.updateSpec((0,x.default)(Li.spec))):Gn.specActions.download&&Li.url&&!Li.urls&&(Gn.specActions.updateUrl(Li.url),Gn.specActions.download(Li.url))),Li.domNode)Gn.render(Li.domNode,"App");else if(Li.dom_id){var co=document.querySelector(Li.dom_id);Gn.render(co,"App")}else null===Li.dom_id||null===Li.domNode||console.error("Skipped rendering: no `dom_id` or `domNode` was specified");return Gn},Ti=at.config||Lt.configUrl;return Ti&&Gn.specActions&&Gn.specActions.getConfigByUrl?(Gn.specActions.getConfigByUrl({url:Ti,loadRemoteConfig:!0,requestInterceptor:Lt.requestInterceptor,responseInterceptor:Lt.responseInterceptor},dr),Gn):dr()}fD.presets={apis:dP},fD.plugins=eH.default;const oH=fD})();var Zk=Y3.Z;let zk=(()=>{class n{ngOnInit(){Zk({url:window.location.origin+"/docs/openapi.json",dom_id:"#swagger-ui",layout:"BaseLayout"})}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-api-docs"]],decls:1,vars:0,consts:[["id","swagger-ui",1,"apiDocs"]],template:function(t,o){1&t&&e._UZ(0,"div",0)},styles:[".apiDocs[_ngcontent-%COMP%]{background:#f8f9fa;font-size:18px!important;margin-top:-48px!important}"]}),n})();var iD=i(83357),Wk=i(4268),j3=i(45510);let G3=(()=>{class n{constructor(t,o){this.router=t,this.authStorageService=o}canActivate(t,o){return!(this.authStorageService.isLoggedIn()&&!this.authStorageService.isSSO()&&this.authStorageService.getPwdUpdateRequired()&&(this.router.navigate(["/login-change-password"],{queryParams:{returnUrl:o.url}}),1))}canActivateChild(t,o){return this.canActivate(t,o)}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(Io.F0),e.LFG(Vi.j))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var oD=i(4222),IE=i(54462);let V3=(()=>{class n{constructor(t){this.authStorageService=t}canActivate(){if(!this.authStorageService.isSSO())return!0;throw new dy.mM}canActivateChild(){return this.canActivate()}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(Vi.j))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Z3=(()=>{class n extends fE{resolve(t){const o=[],l=t.queryParams.fromLink||null;let _="";switch(l){case"/monitor":_="Monitors";break;case"/hosts":_="Hosts"}return o.push({text:"Cluster",path:null}),o.push({text:_,path:l}),o.push({text:"Performance Counters",path:""}),o}}return n.\u0275fac=function(){let s;return function(o){return(s||(s=e.n5z(n)))(o||n)}}(),n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n})(),z3=(()=>{class n extends fE{resolve(t){const o=t.params.name;return[{text:`${Sr().startCase(o)}/Edit`,path:o}]}}return n.\u0275fac=function(){let s;return function(o){return(s||(s=e.n5z(n)))(o||n)}}(),n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n})();const Jk=[{path:"",redirectTo:"dashboard",pathMatch:"full"},{path:"api-docs",component:zk},{path:"",component:ee,canActivate:[j3.P,G3],canActivateChild:[j3.P,G3],children:[{path:"dashboard",component:fM},{path:"error",component:zM},{path:"expand-cluster",component:hi,canActivate:[IE.P],data:{moduleStatusGuardConfig:{uiApiPath:"orchestrator",redirectTo:"dashboard",backend:"cephadm"},breadcrumbs:"Expand Cluster"}},{path:"hosts",component:dp,data:{breadcrumbs:"Cluster/Hosts"},children:[{path:Mo.MQ.ADD,component:is,outlet:"modal"}]},{path:"ceph-users",component:Wk.c,data:{breadcrumbs:"Cluster/Ceph Users",resource:"api.cluster.user@1.0"}},{path:"cluster/user/create",component:iD.U,data:{breadcrumbs:"Cluster/Ceph Users/Create",resource:"api.cluster.user@1.0"}},{path:"cluster/user/import",component:iD.U,data:{breadcrumbs:"Cluster/Ceph Users/Import",resource:"api.cluster.user@1.0"}},{path:"cluster/user/edit",component:iD.U,data:{breadcrumbs:"Cluster/Ceph Users/Edit",resource:"api.cluster.user@1.0"}},{path:"monitor",component:vv,data:{breadcrumbs:"Cluster/Monitors"}},{path:"services",component:Om,canActivate:[IE.P],data:{moduleStatusGuardConfig:{uiApiPath:"orchestrator",redirectTo:"error",section:"orch",section_info:"Orchestrator",header:"Orchestrator is not available"},breadcrumbs:"Cluster/Services"},children:[{path:Mo.MQ.CREATE,component:um,outlet:"modal"},{path:`${Mo.MQ.EDIT}/:type/:name`,component:um,outlet:"modal"}]},{path:"inventory",canActivate:[IE.P],component:dl,data:{moduleStatusGuardConfig:{uiApiPath:"orchestrator",redirectTo:"error",section:"orch",section_info:"Orchestrator",header:"Orchestrator is not available"},breadcrumbs:"Cluster/Physical Disks"}},{path:"osd",data:{breadcrumbs:"Cluster/OSDs"},children:[{path:"",component:ob},{path:Mo.MQ.CREATE,component:S_,data:{breadcrumbs:Mo.Qn.CREATE}}]},{path:"configuration",data:{breadcrumbs:"Cluster/Configuration"},children:[{path:"",component:Lc},{path:"edit/:name",component:Bc,data:{breadcrumbs:Mo.Qn.EDIT}}]},{path:"crush-map",component:uf,data:{breadcrumbs:"Cluster/CRUSH map"}},{path:"logs",component:Rg,data:{breadcrumbs:"Cluster/Logs"}},{path:"telemetry",component:Ab,data:{breadcrumbs:"Telemetry configuration"}},{path:"monitoring",data:{breadcrumbs:"Cluster/Alerts"},children:[{path:"",redirectTo:"active-alerts",pathMatch:"full"},{path:"active-alerts",data:{breadcrumbs:"Active Alerts"},component:fb},{path:"alerts",data:{breadcrumbs:"Alerts"},component:pb},{path:"silences",data:{breadcrumbs:"Silences"},children:[{path:"",component:zC},{path:Mo.MQ.CREATE,component:Q_,data:{breadcrumbs:`${Mo.Qn.CREATE} Silence`}},{path:`${Mo.MQ.CREATE}/:id`,component:Q_,data:{breadcrumbs:Mo.Qn.CREATE}},{path:`${Mo.MQ.EDIT}/:id`,component:Q_,data:{breadcrumbs:Mo.Qn.EDIT}},{path:`${Mo.MQ.RECREATE}/:id`,component:Q_,data:{breadcrumbs:Mo.Qn.RECREATE}}]}]},{path:"perf_counters/:type/:id",component:zg,data:{breadcrumbs:Z3}},{path:"mgr-modules",data:{breadcrumbs:"Cluster/Manager Modules"},children:[{path:"",component:eh},{path:"edit/:name",component:U0,data:{breadcrumbs:z3}}]},{path:"pool",data:{breadcrumbs:"Pools"},loadChildren:()=>Promise.all([i.e(43),i.e(95)]).then(i.bind(i,38095)).then(n=>n.RoutedPoolModule)},{path:"block",data:{breadcrumbs:!0,text:"Block",path:null},loadChildren:()=>i.e(43).then(i.bind(i,21043)).then(n=>n.RoutedBlockModule)},{path:"cephfs",component:yc,canActivate:[oD.T],data:{breadcrumbs:"File Systems"}},{path:"rgw",canActivateChild:[oD.T,IE.P],data:{moduleStatusGuardConfig:{uiApiPath:"rgw",redirectTo:"error",section:"rgw",section_info:"Object Gateway",header:"The Object Gateway Service is not configured"},breadcrumbs:!0,text:"Object Gateway",path:null},loadChildren:()=>i.e(543).then(i.bind(i,38543)).then(n=>n.RoutedRgwModule)},{path:"user-management",data:{breadcrumbs:"User management",path:null},loadChildren:()=>Promise.resolve().then(i.bind(i,13140)).then(n=>n.RoutedAuthModule)},{path:"user-profile",data:{breadcrumbs:"User profile",path:null},children:[{path:Mo.MQ.EDIT,component:Gy,canActivate:[V3],data:{breadcrumbs:Mo.Qn.EDIT}}]},{path:"nfs",canActivateChild:[oD.T,IE.P],data:{moduleStatusGuardConfig:{uiApiPath:"nfs-ganesha",redirectTo:"error",section:"nfs-ganesha",section_info:"NFS GANESHA",header:"NFS-Ganesha is not configured"},breadcrumbs:"NFS"},children:[{path:"",component:Pp},{path:Mo.MQ.CREATE,component:By,data:{breadcrumbs:Mo.Qn.CREATE}},{path:`${Mo.MQ.EDIT}/:cluster_id/:export_id`,component:By,data:{breadcrumbs:Mo.Qn.EDIT}}]}]},{path:"",component:FD,children:[{path:"login",component:wD},{path:"login-change-password",component:l0,canActivate:[V3]}]},{path:"",component:dT,children:[{path:"**",redirectTo:"/error"}]}];let EC=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:[z3,Z3],imports:[[Io.Bz.forRoot(Jk,{useHash:!0,preloadingStrategy:Io.wm,relativeLinkResolution:"legacy"})],Io.Bz]}),n})(),Qk=(()=>{class n{constructor(t,o){t.autoClose="outside",t.container="body",t.placement="bottom",o.container="body"}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Pr.AX),e.Y36(Pr.xI))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-root"]],decls:1,vars:0,template:function(t,o){1&t&&e._UZ(0,"router-outlet")},directives:[Io.lC],styles:[""]}),n})();var ym=i(44466);let Xk=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[p.ez,ym.m,EC,Us.m9,pa.xc,Pr.Oz]]}),n})();var W3=i(66265),sD=i(370);let Kk=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[EC,p.ez,En.UX,ym.m,Pr.Oz]]}),n})(),qk=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:[Pr.Kz],imports:[[p.ez,W3.B,Pr.Oz,ym.m,Io.Bz,En.u5,En.UX,Pr.HK,Kk,Pr.ZS,Pr.UL,pa.xc,sD.t,Pr.M,Pr.dT,Pr.XC,up.b]]}),n})(),e$=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[sD.t,p.ez,Pr.Oz,ym.m,Us.m9,Io.Bz,Pr.dT,Pr.HK,En.u5,En.UX,gm.t]]}),n})(),t$=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[sD.t,p.ez,Pr.Oz,ym.m,Us.m9,Io.Bz,Pr.dT,En.u5,En.UX,e$]]}),n})(),n$=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[En.UX,Io.Bz,ym.m,Pr.Oz,p.ez,Pr.ZS,Pr.HK]]}),n})(),r$=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[p.ez,qk,t$,W3.B,Xk,n$,ym.m]]}),n})();var i$=i(13140);let J3=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[p.ez,i$.AuthModule,Pr.lQ,Pr.XC,EC,ym.m,gm.t,Io.Bz]]}),n})(),o$=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[Fm.forRoot(),p.ez,J3,Pr.XC,Io.Bz,ym.m],J3]}),n})(),s$=(()=>{class n{constructor(t,o,l){this.router=t,this.authStorageService=o,this.notificationService=l}intercept(t,o){const l=t.headers.get("Accept");let _;return _=l&&l.startsWith("application/vnd.ceph.api.v")?t.clone():t.clone({setHeaders:{Accept:Dc.T.cdVersionHeader("1","0")}}),o.handle(_).pipe((0,cg.K)(C=>{if(C instanceof g.UA){let x;switch(C.status){case 400:const N=new Ql.R,V=C.error.task;Sr().isPlainObject(V)?(V.metadata.component=V.metadata.component||C.error.component,N.name=V.name,N.metadata=V.metadata):N.metadata=C.error,N.success=!1,N.exception=C.error,x=this.notificationService.notifyTask(N);break;case 401:this.authStorageService.remove(),this.router.navigate(["/login"]);break;case 403:this.router.navigate(["error"],{state:{message:"Sorry, you don\u2019t have permission to view this page or resource.",header:"Access Denied",icon:"fa fa-lock",source:"forbidden"}});break;default:x=this.prepareNotification(C)}C.preventDefault=()=>{this.notificationService.cancel(x)},C.ignoreStatusCode=function(N){this.status===N&&this.preventDefault()}}return(0,ES._)(C)}))}prepareNotification(t){return this.notificationService.show(()=>{let o="";return Sr().isPlainObject(t.error)&&Sr().isString(t.error.detail)?o=t.error.detail:Sr().isString(t.error)?o=t.error:Sr().isString(t.message)&&(o=t.message),new $1.T(Sa.k.error,`${t.status} - ${t.statusText}`,o,void 0,t.application)})}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(Io.F0),e.LFG(Vi.j),e.LFG(Tl.g))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),a$=(()=>{class n{constructor(t){this.http=t}jsError(t,o,l){return this.http.post("ui-api/logging/js-error",{url:t,message:o,stack:l})}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(g.eN))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),l$=(()=>{class n{constructor(t,o){this.injector=t,this.router=o}handleError(t){const o=this.injector.get(a$),l=window.location.href;if(o.jsError(l,t&&t.message,t&&t.stack).subscribe(),!(t.rejection instanceof dy.s9))throw t;setTimeout(()=>this.router.navigate(["error"],{state:{message:t.rejection.message,header:t.rejection.header,icon:t.rejection.icon}}),50)}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(e.zs3),e.LFG(Io.F0))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n})(),u$=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n,bootstrap:[Qk]}),n.\u0275inj=e.cJS({providers:[{provide:e.qLn,useClass:l$},{provide:g.TP,useClass:s$,multi:!0},{provide:p.mr,useValue:"/"+(window.location.pathname.split("/",1)[1]||"")}],imports:[[g.JF,u.b2,Yu,Ld.Rh.forRoot({positionClass:"toast-top-right",preventDuplicates:!0,enableHtml:!0}),EC,o$,ym.m,r$],ym.m]}),n})();Wy.N.production&&(0,e.G48)(),u.q6().bootstrapModule(u$).then(n=>{if((0,e.X6Q)()){const t=n.injector.get(e.z2F).components[0];(0,u.HJ)(t)}}).catch(n=>console.log(n))},77340:(v,b,i)=>{var r=i(25591),a=i(60802),f=TypeError;v.exports=function(u){if(r(u))return u;throw f(a(u)+" is not a function")}},95143:(v,b,i)=>{var r=i(25591),a=String,f=TypeError;v.exports=function(u){if("object"==typeof u||r(u))return u;throw f("Can't set "+a(u)+" as a prototype")}},24094:(v,b,i)=>{var r=i(84563),a=i(38724),f=i(52975).f,u=r("unscopables"),e=Array.prototype;null==e[u]&&f(e,u,{configurable:!0,value:a(null)}),v.exports=function(p){e[u][p]=!0}},27678:(v,b,i)=>{"use strict";var r=i(64487).charAt;v.exports=function(a,f,u){return f+(u?r(a,f).length:1)}},86063:(v,b,i)=>{var r=i(93290),a=TypeError;v.exports=function(f,u){if(r(u,f))return f;throw a("Incorrect invocation")}},21099:(v,b,i)=>{var r=i(60726),a=String,f=TypeError;v.exports=function(u){if(r(u))return u;throw f(a(u)+" is not an object")}},93241:(v,b,i)=>{var r=i(8597);v.exports=r(function(){if("function"==typeof ArrayBuffer){var a=new ArrayBuffer(8);Object.isExtensible(a)&&Object.defineProperty(a,"a",{value:8})}})},70452:(v,b,i)=>{var r=i(8643),a=i(20222),f=i(24196),u=function(e){return function(p,g,T){var U,M=r(p),w=f(M),R=a(T,w);if(e&&g!=g){for(;w>R;)if((U=M[R++])!=U)return!0}else for(;w>R;R++)if((e||R in M)&&M[R]===g)return e||R||0;return!e&&-1}};v.exports={includes:u(!0),indexOf:u(!1)}},94115:(v,b,i)=>{var r=i(29727),a=i(47964),f=i(56169),u=i(16174),e=i(24196),p=i(62889),g=a([].push),T=function(M){var w=1==M,R=2==M,U=3==M,W=4==M,j=6==M,q=7==M,ue=5==M||j;return function(re,H,se,ae){for(var Xe,He,ie=u(re),fe=f(ie),_e=r(H,se),Ce=e(fe),ce=0,Be=ae||p,Ve=w?Be(re,Ce):R||q?Be(re,0):void 0;Ce>ce;ce++)if((ue||ce in fe)&&(He=_e(Xe=fe[ce],ce,ie),M))if(w)Ve[ce]=He;else if(He)switch(M){case 3:return!0;case 5:return Xe;case 6:return ce;case 2:g(Ve,Xe)}else switch(M){case 4:return!1;case 7:g(Ve,Xe)}return j?-1:U||W?W:Ve}};v.exports={forEach:T(0),map:T(1),filter:T(2),some:T(3),every:T(4),find:T(5),findIndex:T(6),filterReject:T(7)}},37394:(v,b,i)=>{var r=i(8597),a=i(84563),f=i(17189),u=a("species");v.exports=function(e){return f>=51||!r(function(){var p=[];return(p.constructor={})[u]=function(){return{foo:1}},1!==p[e](Boolean).foo})}},47051:(v,b,i)=>{"use strict";var r=i(8597);v.exports=function(a,f){var u=[][a];return!!u&&r(function(){u.call(null,f||function(){return 1},1)})}},14716:(v,b,i)=>{var r=i(77340),a=i(16174),f=i(56169),u=i(24196),e=TypeError,p=function(g){return function(T,M,w,R){r(M);var U=a(T),W=f(U),j=u(U),q=g?j-1:0,ue=g?-1:1;if(w<2)for(;;){if(q in W){R=W[q],q+=ue;break}if(q+=ue,g?q<0:j<=q)throw e("Reduce of empty array with no initial value")}for(;g?q>=0:j>q;q+=ue)q in W&&(R=M(R,W[q],q,U));return R}};v.exports={left:p(!1),right:p(!0)}},32342:(v,b,i)=>{var r=i(20222),a=i(24196),f=i(45347),u=Array,e=Math.max;v.exports=function(p,g,T){for(var M=a(p),w=r(g,M),R=r(void 0===T?M:T,M),U=u(e(R-w,0)),W=0;w<R;w++,W++)f(U,W,p[w]);return U.length=W,U}},71497:(v,b,i)=>{var r=i(47883),a=i(57995),f=i(60726),e=i(84563)("species"),p=Array;v.exports=function(g){var T;return r(g)&&(a(T=g.constructor)&&(T===p||r(T.prototype))||f(T)&&null===(T=T[e]))&&(T=void 0),void 0===T?p:T}},62889:(v,b,i)=>{var r=i(71497);v.exports=function(a,f){return new(r(a))(0===f?0:f)}},56297:(v,b,i)=>{var a=i(84563)("iterator"),f=!1;try{var u=0,e={next:function(){return{done:!!u++}},return:function(){f=!0}};e[a]=function(){return this},Array.from(e,function(){throw 2})}catch(p){}v.exports=function(p,g){if(!g&&!f)return!1;var T=!1;try{var M={};M[a]=function(){return{next:function(){return{done:T=!0}}}},p(M)}catch(w){}return T}},96644:(v,b,i)=>{var r=i(47964),a=r({}.toString),f=r("".slice);v.exports=function(u){return f(a(u),8,-1)}},99420:(v,b,i)=>{var r=i(72900),a=i(25591),f=i(96644),e=i(84563)("toStringTag"),p=Object,g="Arguments"==f(function(){return arguments}());v.exports=r?f:function(M){var w,R,U;return void 0===M?"Undefined":null===M?"Null":"string"==typeof(R=function(M,w){try{return M[w]}catch(R){}}(w=p(M),e))?R:g?f(w):"Object"==(U=f(w))&&a(w.callee)?"Arguments":U}},96491:(v,b,i)=>{"use strict";var r=i(47964),a=i(41292),f=i(64238).getWeakData,u=i(86063),e=i(21099),p=i(37432),g=i(60726),T=i(53284),M=i(94115),w=i(62445),R=i(52493),U=R.set,W=R.getterFor,j=M.find,q=M.findIndex,ue=r([].splice),re=0,H=function(ie){return ie.frozen||(ie.frozen=new se)},se=function(){this.entries=[]},ae=function(ie,fe){return j(ie.entries,function(_e){return _e[0]===fe})};se.prototype={get:function(ie){var fe=ae(this,ie);if(fe)return fe[1]},has:function(ie){return!!ae(this,ie)},set:function(ie,fe){var _e=ae(this,ie);_e?_e[1]=fe:this.entries.push([ie,fe])},delete:function(ie){var fe=q(this.entries,function(_e){return _e[0]===ie});return~fe&&ue(this.entries,fe,1),!!~fe}},v.exports={getConstructor:function(ie,fe,_e,Ce){var ce=ie(function(He,Pe){u(He,Be),U(He,{type:fe,id:re++,frozen:void 0}),p(Pe)||T(Pe,He[Ce],{that:He,AS_ENTRIES:_e})}),Be=ce.prototype,Ve=W(fe),Xe=function(He,Pe,Ge){var Oe=Ve(He),Tt=f(e(Pe),!0);return!0===Tt?H(Oe).set(Pe,Ge):Tt[Oe.id]=Ge,He};return a(Be,{delete:function(He){var Pe=Ve(this);if(!g(He))return!1;var Ge=f(He);return!0===Ge?H(Pe).delete(He):Ge&&w(Ge,Pe.id)&&delete Ge[Pe.id]},has:function(Pe){var Ge=Ve(this);if(!g(Pe))return!1;var Oe=f(Pe);return!0===Oe?H(Ge).has(Pe):Oe&&w(Oe,Ge.id)}}),a(Be,_e?{get:function(Pe){var Ge=Ve(this);if(g(Pe)){var Oe=f(Pe);return!0===Oe?H(Ge).get(Pe):Oe?Oe[Ge.id]:void 0}},set:function(Pe,Ge){return Xe(this,Pe,Ge)}}:{add:function(Pe){return Xe(this,Pe,!0)}}),ce}}},41603:(v,b,i)=>{"use strict";var r=i(51163),a=i(31864),f=i(47964),u=i(87215),e=i(70688),p=i(64238),g=i(53284),T=i(86063),M=i(25591),w=i(37432),R=i(60726),U=i(8597),W=i(56297),j=i(58242),q=i(38267);v.exports=function(ue,re,H){var se=-1!==ue.indexOf("Map"),ae=-1!==ue.indexOf("Weak"),ie=se?"set":"add",fe=a[ue],_e=fe&&fe.prototype,Ce=fe,ce={},Be=function(Tt){var We=f(_e[Tt]);e(_e,Tt,"add"==Tt?function(Nt){return We(this,0===Nt?0:Nt),this}:"delete"==Tt?function(Qt){return!(ae&&!R(Qt))&&We(this,0===Qt?0:Qt)}:"get"==Tt?function(Nt){return ae&&!R(Nt)?void 0:We(this,0===Nt?0:Nt)}:"has"==Tt?function(Nt){return!(ae&&!R(Nt))&&We(this,0===Nt?0:Nt)}:function(Nt,Yt){return We(this,0===Nt?0:Nt,Yt),this})};if(u(ue,!M(fe)||!(ae||_e.forEach&&!U(function(){(new fe).entries().next()}))))Ce=H.getConstructor(re,ue,se,ie),p.enable();else if(u(ue,!0)){var Xe=new Ce,He=Xe[ie](ae?{}:-0,1)!=Xe,Pe=U(function(){Xe.has(1)}),Ge=W(function(Tt){new fe(Tt)}),Oe=!ae&&U(function(){for(var Tt=new fe,We=5;We--;)Tt[ie](We,We);return!Tt.has(-0)});Ge||((Ce=re(function(Tt,We){T(Tt,_e);var Qt=q(new fe,Tt,Ce);return w(We)||g(We,Qt[ie],{that:Qt,AS_ENTRIES:se}),Qt})).prototype=_e,_e.constructor=Ce),(Pe||Oe)&&(Be("delete"),Be("has"),se&&Be("get")),(Oe||He)&&Be(ie),ae&&_e.clear&&delete _e.clear}return ce[ue]=Ce,r({global:!0,constructor:!0,forced:Ce!=fe},ce),j(Ce,ue),ae||H.setStrong(Ce,ue,se),Ce}},30009:(v,b,i)=>{var r=i(62445),a=i(99376),f=i(93099),u=i(52975);v.exports=function(e,p,g){for(var T=a(p),M=u.f,w=f.f,R=0;R<T.length;R++){var U=T[R];!r(e,U)&&(!g||!r(g,U))&&M(e,U,w(p,U))}}},51335:(v,b,i)=>{var r=i(8597);v.exports=!r(function(){function a(){}return a.prototype.constructor=null,Object.getPrototypeOf(new a)!==a.prototype})},15189:v=>{v.exports=function(b,i){return{value:b,done:i}}},815:(v,b,i)=>{var r=i(47012),a=i(52975),f=i(53203);v.exports=r?function(u,e,p){return a.f(u,e,f(1,p))}:function(u,e,p){return u[e]=p,u}},53203:v=>{v.exports=function(b,i){return{enumerable:!(1&b),configurable:!(2&b),writable:!(4&b),value:i}}},45347:(v,b,i)=>{"use strict";var r=i(16582),a=i(52975),f=i(53203);v.exports=function(u,e,p){var g=r(e);g in u?a.f(u,g,f(0,p)):u[g]=p}},48213:(v,b,i)=>{var r=i(74952),a=i(52975);v.exports=function(f,u,e){return e.get&&r(e.get,u,{getter:!0}),e.set&&r(e.set,u,{setter:!0}),a.f(f,u,e)}},70688:(v,b,i)=>{var r=i(25591),a=i(52975),f=i(74952),u=i(11996);v.exports=function(e,p,g,T){T||(T={});var M=T.enumerable,w=void 0!==T.name?T.name:p;if(r(g)&&f(g,w,T),T.global)M?e[p]=g:u(p,g);else{try{T.unsafe?e[p]&&(M=!0):delete e[p]}catch(R){}M?e[p]=g:a.f(e,p,{value:g,enumerable:!1,configurable:!T.nonConfigurable,writable:!T.nonWritable})}return e}},41292:(v,b,i)=>{var r=i(70688);v.exports=function(a,f,u){for(var e in f)r(a,e,f[e],u);return a}},11996:(v,b,i)=>{var r=i(31864),a=Object.defineProperty;v.exports=function(f,u){try{a(r,f,{value:u,configurable:!0,writable:!0})}catch(e){r[f]=u}return u}},47012:(v,b,i)=>{var r=i(8597);v.exports=!r(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},34550:v=>{var b="object"==typeof document&&document.all;v.exports={all:b,IS_HTMLDDA:void 0===b&&void 0!==b}},85815:(v,b,i)=>{var r=i(31864),a=i(60726),f=r.document,u=a(f)&&a(f.createElement);v.exports=function(e){return u?f.createElement(e):{}}},26877:v=>{v.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},20713:(v,b,i)=>{var a=i(85815)("span").classList,f=a&&a.constructor&&a.constructor.prototype;v.exports=f===Object.prototype?void 0:f},32002:(v,b,i)=>{var r=i(96644);v.exports="undefined"!=typeof process&&"process"==r(process)},73792:v=>{v.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},17189:(v,b,i)=>{var g,T,r=i(31864),a=i(73792),f=r.process,u=r.Deno,e=f&&f.versions||u&&u.version,p=e&&e.v8;p&&(T=(g=p.split("."))[0]>0&&g[0]<4?1:+(g[0]+g[1])),!T&&a&&(!(g=a.match(/Edge\/(\d+)/))||g[1]>=74)&&(g=a.match(/Chrome\/(\d+)/))&&(T=+g[1]),v.exports=T},71001:v=>{v.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},51163:(v,b,i)=>{var r=i(31864),a=i(93099).f,f=i(815),u=i(70688),e=i(11996),p=i(30009),g=i(87215);v.exports=function(T,M){var j,q,ue,re,H,w=T.target,R=T.global,U=T.stat;if(j=R?r:U?r[w]||e(w,{}):(r[w]||{}).prototype)for(q in M){if(re=M[q],ue=T.dontCallGetSet?(H=a(j,q))&&H.value:j[q],!g(R?q:w+(U?".":"#")+q,T.forced)&&void 0!==ue){if(typeof re==typeof ue)continue;p(re,ue)}(T.sham||ue&&ue.sham)&&f(re,"sham",!0),u(j,q,re,T)}}},8597:v=>{v.exports=function(b){try{return!!b()}catch(i){return!0}}},9357:(v,b,i)=>{"use strict";i(69665);var r=i(29263),a=i(70688),f=i(93084),u=i(8597),e=i(84563),p=i(815),g=e("species"),T=RegExp.prototype;v.exports=function(M,w,R,U){var W=e(M),j=!u(function(){var H={};return H[W]=function(){return 7},7!=""[M](H)}),q=j&&!u(function(){var H=!1,se=/a/;return"split"===M&&((se={}).constructor={},se.constructor[g]=function(){return se},se.flags="",se[W]=/./[W]),se.exec=function(){return H=!0,null},se[W](""),!H});if(!j||!q||R){var ue=r(/./[W]),re=w(W,""[M],function(H,se,ae,ie,fe){var _e=r(H),Ce=se.exec;return Ce===f||Ce===T.exec?j&&!fe?{done:!0,value:ue(se,ae,ie)}:{done:!0,value:_e(ae,se,ie)}:{done:!1}});a(String.prototype,M,re[0]),a(T,W,re[1])}U&&p(T[W],"sham",!0)}},39352:(v,b,i)=>{var r=i(8597);v.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},32328:(v,b,i)=>{var r=i(4459),a=Function.prototype,f=a.apply,u=a.call;v.exports="object"==typeof Reflect&&Reflect.apply||(r?u.bind(f):function(){return u.apply(f,arguments)})},29727:(v,b,i)=>{var r=i(29263),a=i(77340),f=i(4459),u=r(r.bind);v.exports=function(e,p){return a(e),void 0===p?e:f?u(e,p):function(){return e.apply(p,arguments)}}},4459:(v,b,i)=>{var r=i(8597);v.exports=!r(function(){var a=function(){}.bind();return"function"!=typeof a||a.hasOwnProperty("prototype")})},757:(v,b,i)=>{var r=i(4459),a=Function.prototype.call;v.exports=r?a.bind(a):function(){return a.apply(a,arguments)}},20538:(v,b,i)=>{var r=i(47012),a=i(62445),f=Function.prototype,u=r&&Object.getOwnPropertyDescriptor,e=a(f,"name"),p=e&&"something"===function(){}.name,g=e&&(!r||r&&u(f,"name").configurable);v.exports={EXISTS:e,PROPER:p,CONFIGURABLE:g}},56389:(v,b,i)=>{var r=i(47964),a=i(77340);v.exports=function(f,u,e){try{return r(a(Object.getOwnPropertyDescriptor(f,u)[e]))}catch(p){}}},29263:(v,b,i)=>{var r=i(96644),a=i(47964);v.exports=function(f){if("Function"===r(f))return a(f)}},47964:(v,b,i)=>{var r=i(4459),a=Function.prototype,f=a.call,u=r&&a.bind.bind(f,f);v.exports=r?u:function(e){return function(){return f.apply(e,arguments)}}},73626:(v,b,i)=>{var r=i(31864),a=i(25591),f=function(u){return a(u)?u:void 0};v.exports=function(u,e){return arguments.length<2?f(r[u]):r[u]&&r[u][e]}},63076:(v,b,i)=>{var r=i(99420),a=i(35642),f=i(37432),u=i(72339),p=i(84563)("iterator");v.exports=function(g){if(!f(g))return a(g,p)||a(g,"@@iterator")||u[r(g)]}},36414:(v,b,i)=>{var r=i(757),a=i(77340),f=i(21099),u=i(60802),e=i(63076),p=TypeError;v.exports=function(g,T){var M=arguments.length<2?e(g):T;if(a(M))return f(r(M,g));throw p(u(g)+" is not iterable")}},35642:(v,b,i)=>{var r=i(77340),a=i(37432);v.exports=function(f,u){var e=f[u];return a(e)?void 0:r(e)}},16162:(v,b,i)=>{var r=i(47964),a=i(16174),f=Math.floor,u=r("".charAt),e=r("".replace),p=r("".slice),g=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,T=/\$([$&'`]|\d{1,2})/g;v.exports=function(M,w,R,U,W,j){var q=R+M.length,ue=U.length,re=T;return void 0!==W&&(W=a(W),re=g),e(j,re,function(H,se){var ae;switch(u(se,0)){case"$":return"$";case"&":return M;case"`":return p(w,0,R);case"'":return p(w,q);case"<":ae=W[p(se,1,-1)];break;default:var ie=+se;if(0===ie)return H;if(ie>ue){var fe=f(ie/10);return 0===fe?H:fe<=ue?void 0===U[fe-1]?u(se,1):U[fe-1]+u(se,1):H}ae=U[ie-1]}return void 0===ae?"":ae})}},31864:function(v){var b=function(i){return i&&i.Math==Math&&i};v.exports=b("object"==typeof globalThis&&globalThis)||b("object"==typeof window&&window)||b("object"==typeof self&&self)||b("object"==typeof global&&global)||function(){return this}()||this||Function("return this")()},62445:(v,b,i)=>{var r=i(47964),a=i(16174),f=r({}.hasOwnProperty);v.exports=Object.hasOwn||function(e,p){return f(a(e),p)}},3536:v=>{v.exports={}},67538:(v,b,i)=>{var r=i(73626);v.exports=r("document","documentElement")},27091:(v,b,i)=>{var r=i(47012),a=i(8597),f=i(85815);v.exports=!r&&!a(function(){return 7!=Object.defineProperty(f("div"),"a",{get:function(){return 7}}).a})},56169:(v,b,i)=>{var r=i(47964),a=i(8597),f=i(96644),u=Object,e=r("".split);v.exports=a(function(){return!u("z").propertyIsEnumerable(0)})?function(p){return"String"==f(p)?e(p,""):u(p)}:u},38267:(v,b,i)=>{var r=i(25591),a=i(60726),f=i(91464);v.exports=function(u,e,p){var g,T;return f&&r(g=e.constructor)&&g!==p&&a(T=g.prototype)&&T!==p.prototype&&f(u,T),u}},87720:(v,b,i)=>{var r=i(47964),a=i(25591),f=i(59941),u=r(Function.toString);a(f.inspectSource)||(f.inspectSource=function(e){return u(e)}),v.exports=f.inspectSource},64238:(v,b,i)=>{var r=i(51163),a=i(47964),f=i(3536),u=i(60726),e=i(62445),p=i(52975).f,g=i(94564),T=i(7388),M=i(67117),w=i(94295),R=i(39352),U=!1,W=w("meta"),j=0,q=function(ie){p(ie,W,{value:{objectID:"O"+j++,weakData:{}}})},ae=v.exports={enable:function(){ae.enable=function(){},U=!0;var ie=g.f,fe=a([].splice),_e={};_e[W]=1,ie(_e).length&&(g.f=function(Ce){for(var ce=ie(Ce),Be=0,Ve=ce.length;Be<Ve;Be++)if(ce[Be]===W){fe(ce,Be,1);break}return ce},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:T.f}))},fastKey:function(ie,fe){if(!u(ie))return"symbol"==typeof ie?ie:("string"==typeof ie?"S":"P")+ie;if(!e(ie,W)){if(!M(ie))return"F";if(!fe)return"E";q(ie)}return ie[W].objectID},getWeakData:function(ie,fe){if(!e(ie,W)){if(!M(ie))return!0;if(!fe)return!1;q(ie)}return ie[W].weakData},onFreeze:function(ie){return R&&U&&M(ie)&&!e(ie,W)&&q(ie),ie}};f[W]=!0},52493:(v,b,i)=>{var U,W,j,r=i(28095),a=i(31864),f=i(60726),u=i(815),e=i(62445),p=i(59941),g=i(42650),T=i(3536),M="Object already initialized",w=a.TypeError;if(r||p.state){var re=p.state||(p.state=new(0,a.WeakMap));re.get=re.get,re.has=re.has,re.set=re.set,U=function(se,ae){if(re.has(se))throw w(M);return ae.facade=se,re.set(se,ae),ae},W=function(se){return re.get(se)||{}},j=function(se){return re.has(se)}}else{var H=g("state");T[H]=!0,U=function(se,ae){if(e(se,H))throw w(M);return ae.facade=se,u(se,H,ae),ae},W=function(se){return e(se,H)?se[H]:{}},j=function(se){return e(se,H)}}v.exports={set:U,get:W,has:j,enforce:function(se){return j(se)?W(se):U(se,{})},getterFor:function(se){return function(ae){var ie;if(!f(ae)||(ie=W(ae)).type!==se)throw w("Incompatible receiver, "+se+" required");return ie}}}},81643:(v,b,i)=>{var r=i(84563),a=i(72339),f=r("iterator"),u=Array.prototype;v.exports=function(e){return void 0!==e&&(a.Array===e||u[f]===e)}},47883:(v,b,i)=>{var r=i(96644);v.exports=Array.isArray||function(f){return"Array"==r(f)}},25591:(v,b,i)=>{var r=i(34550),a=r.all;v.exports=r.IS_HTMLDDA?function(f){return"function"==typeof f||f===a}:function(f){return"function"==typeof f}},57995:(v,b,i)=>{var r=i(47964),a=i(8597),f=i(25591),u=i(99420),e=i(73626),p=i(87720),g=function(){},T=[],M=e("Reflect","construct"),w=/^\s*(?:class|function)\b/,R=r(w.exec),U=!w.exec(g),W=function(ue){if(!f(ue))return!1;try{return M(g,T,ue),!0}catch(re){return!1}},j=function(ue){if(!f(ue))return!1;switch(u(ue)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return U||!!R(w,p(ue))}catch(re){return!0}};j.sham=!0,v.exports=!M||a(function(){var q;return W(W.call)||!W(Object)||!W(function(){q=!0})||q})?j:W},87215:(v,b,i)=>{var r=i(8597),a=i(25591),f=/#|\.prototype\./,u=function(M,w){var R=p[e(M)];return R==T||R!=g&&(a(w)?r(w):!!w)},e=u.normalize=function(M){return String(M).replace(f,".").toLowerCase()},p=u.data={},g=u.NATIVE="N",T=u.POLYFILL="P";v.exports=u},37432:v=>{v.exports=function(b){return null==b}},60726:(v,b,i)=>{var r=i(25591),a=i(34550),f=a.all;v.exports=a.IS_HTMLDDA?function(u){return"object"==typeof u?null!==u:r(u)||u===f}:function(u){return"object"==typeof u?null!==u:r(u)}},97515:v=>{v.exports=!1},26186:(v,b,i)=>{var r=i(73626),a=i(25591),f=i(93290),u=i(24431),e=Object;v.exports=u?function(p){return"symbol"==typeof p}:function(p){var g=r("Symbol");return a(g)&&f(g.prototype,e(p))}},53284:(v,b,i)=>{var r=i(29727),a=i(757),f=i(21099),u=i(60802),e=i(81643),p=i(24196),g=i(93290),T=i(36414),M=i(63076),w=i(87883),R=TypeError,U=function(j,q){this.stopped=j,this.result=q},W=U.prototype;v.exports=function(j,q,ue){var _e,Ce,ce,Be,Ve,Xe,He,H=!(!ue||!ue.AS_ENTRIES),se=!(!ue||!ue.IS_RECORD),ae=!(!ue||!ue.IS_ITERATOR),ie=!(!ue||!ue.INTERRUPTED),fe=r(q,ue&&ue.that),Pe=function(Oe){return _e&&w(_e,"normal",Oe),new U(!0,Oe)},Ge=function(Oe){return H?(f(Oe),ie?fe(Oe[0],Oe[1],Pe):fe(Oe[0],Oe[1])):ie?fe(Oe,Pe):fe(Oe)};if(se)_e=j.iterator;else if(ae)_e=j;else{if(!(Ce=M(j)))throw R(u(j)+" is not iterable");if(e(Ce)){for(ce=0,Be=p(j);Be>ce;ce++)if((Ve=Ge(j[ce]))&&g(W,Ve))return Ve;return new U(!1)}_e=T(j,Ce)}for(Xe=se?j.next:_e.next;!(He=a(Xe,_e)).done;){try{Ve=Ge(He.value)}catch(Oe){w(_e,"throw",Oe)}if("object"==typeof Ve&&Ve&&g(W,Ve))return Ve}return new U(!1)}},87883:(v,b,i)=>{var r=i(757),a=i(21099),f=i(35642);v.exports=function(u,e,p){var g,T;a(u);try{if(!(g=f(u,"return"))){if("throw"===e)throw p;return p}g=r(g,u)}catch(M){T=!0,g=M}if("throw"===e)throw p;if(T)throw g;return a(g),p}},30281:(v,b,i)=>{"use strict";var r=i(92053).IteratorPrototype,a=i(38724),f=i(53203),u=i(58242),e=i(72339),p=function(){return this};v.exports=function(g,T,M,w){var R=T+" Iterator";return g.prototype=a(r,{next:f(+!w,M)}),u(g,R,!1,!0),e[R]=p,g}},43291:(v,b,i)=>{"use strict";var r=i(51163),a=i(757),f=i(97515),u=i(20538),e=i(25591),p=i(30281),g=i(3963),T=i(91464),M=i(58242),w=i(815),R=i(70688),U=i(84563),W=i(72339),j=i(92053),q=u.PROPER,ue=u.CONFIGURABLE,re=j.IteratorPrototype,H=j.BUGGY_SAFARI_ITERATORS,se=U("iterator"),ie="values",fe="entries",_e=function(){return this};v.exports=function(Ce,ce,Be,Ve,Xe,He,Pe){p(Be,ce,Ve);var dn,rn,vt,Ge=function(xt){if(xt===Xe&&Nt)return Nt;if(!H&&xt in We)return We[xt];switch(xt){case"keys":case ie:case fe:return function(){return new Be(this,xt)}}return function(){return new Be(this)}},Oe=ce+" Iterator",Tt=!1,We=Ce.prototype,Qt=We[se]||We["@@iterator"]||Xe&&We[Xe],Nt=!H&&Qt||Ge(Xe),Yt="Array"==ce&&We.entries||Qt;if(Yt&&(dn=g(Yt.call(new Ce)))!==Object.prototype&&dn.next&&(!f&&g(dn)!==re&&(T?T(dn,re):e(dn[se])||R(dn,se,_e)),M(dn,Oe,!0,!0),f&&(W[Oe]=_e)),q&&Xe==ie&&Qt&&Qt.name!==ie&&(!f&&ue?w(We,"name",ie):(Tt=!0,Nt=function(){return a(Qt,this)})),Xe)if(rn={values:Ge(ie),keys:He?Nt:Ge("keys"),entries:Ge(fe)},Pe)for(vt in rn)(H||Tt||!(vt in We))&&R(We,vt,rn[vt]);else r({target:ce,proto:!0,forced:H||Tt},rn);return(!f||Pe)&&We[se]!==Nt&&R(We,se,Nt,{name:Xe}),W[ce]=Nt,rn}},92053:(v,b,i)=>{"use strict";var R,U,W,r=i(8597),a=i(25591),f=i(60726),u=i(38724),e=i(3963),p=i(70688),g=i(84563),T=i(97515),M=g("iterator"),w=!1;[].keys&&("next"in(W=[].keys())?(U=e(e(W)))!==Object.prototype&&(R=U):w=!0),!f(R)||r(function(){var q={};return R[M].call(q)!==q})?R={}:T&&(R=u(R)),a(R[M])||p(R,M,function(){return this}),v.exports={IteratorPrototype:R,BUGGY_SAFARI_ITERATORS:w}},72339:v=>{v.exports={}},24196:(v,b,i)=>{var r=i(15902);v.exports=function(a){return r(a.length)}},74952:(v,b,i)=>{var r=i(47964),a=i(8597),f=i(25591),u=i(62445),e=i(47012),p=i(20538).CONFIGURABLE,g=i(87720),T=i(52493),M=T.enforce,w=T.get,R=String,U=Object.defineProperty,W=r("".slice),j=r("".replace),q=r([].join),ue=e&&!a(function(){return 8!==U(function(){},"length",{value:8}).length}),re=String(String).split("String"),H=v.exports=function(se,ae,ie){"Symbol("===W(R(ae),0,7)&&(ae="["+j(R(ae),/^Symbol\(([^)]*)\)/,"$1")+"]"),ie&&ie.getter&&(ae="get "+ae),ie&&ie.setter&&(ae="set "+ae),(!u(se,"name")||p&&se.name!==ae)&&(e?U(se,"name",{value:ae,configurable:!0}):se.name=ae),ue&&ie&&u(ie,"arity")&&se.length!==ie.arity&&U(se,"length",{value:ie.arity});try{ie&&u(ie,"constructor")&&ie.constructor?e&&U(se,"prototype",{writable:!1}):se.prototype&&(se.prototype=void 0)}catch(_e){}var fe=M(se);return u(fe,"source")||(fe.source=q(re,"string"==typeof ae?ae:"")),se};Function.prototype.toString=H(function(){return f(this)&&w(this).source||g(this)},"toString")},58194:v=>{var b=Math.ceil,i=Math.floor;v.exports=Math.trunc||function(a){var f=+a;return(f>0?i:b)(f)}},43656:(v,b,i)=>{var r=i(31864),a=i(8597),f=i(47964),u=i(73574),e=i(51664).trim,p=i(48004),g=r.parseInt,T=r.Symbol,M=T&&T.iterator,w=/^[+-]?0x/i,R=f(w.exec),U=8!==g(p+"08")||22!==g(p+"0x16")||M&&!a(function(){g(Object(M))});v.exports=U?function(j,q){var ue=e(u(j));return g(ue,q>>>0||(R(w,ue)?16:10))}:g},51746:(v,b,i)=>{"use strict";var r=i(47012),a=i(47964),f=i(757),u=i(8597),e=i(68032),p=i(77593),g=i(5600),T=i(16174),M=i(56169),w=Object.assign,R=Object.defineProperty,U=a([].concat);v.exports=!w||u(function(){if(r&&1!==w({b:1},w(R({},"a",{enumerable:!0,get:function(){R(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var W={},j={},q=Symbol(),ue="abcdefghijklmnopqrst";return W[q]=7,ue.split("").forEach(function(re){j[re]=re}),7!=w({},W)[q]||e(w({},j)).join("")!=ue})?function(j,q){for(var ue=T(j),re=arguments.length,H=1,se=p.f,ae=g.f;re>H;)for(var ce,ie=M(arguments[H++]),fe=se?U(e(ie),se(ie)):e(ie),_e=fe.length,Ce=0;_e>Ce;)ce=fe[Ce++],(!r||f(ae,ie,ce))&&(ue[ce]=ie[ce]);return ue}:w},38724:(v,b,i)=>{var re,r=i(21099),a=i(10988),f=i(71001),u=i(3536),e=i(67538),p=i(85815),g=i(42650),w="prototype",R="script",U=g("IE_PROTO"),W=function(){},j=function(se){return"<"+R+">"+se+"</"+R+">"},q=function(se){se.write(j("")),se.close();var ae=se.parentWindow.Object;return se=null,ae},H=function(){try{re=new ActiveXObject("htmlfile")}catch(ae){}H="undefined"!=typeof document?document.domain&&re?q(re):function(){var ie,se=p("iframe");return se.style.display="none",e.appendChild(se),se.src=String("javascript:"),(ie=se.contentWindow.document).open(),ie.write(j("document.F=Object")),ie.close(),ie.F}():q(re);for(var se=f.length;se--;)delete H[w][f[se]];return H()};u[U]=!0,v.exports=Object.create||function(ae,ie){var fe;return null!==ae?(W[w]=r(ae),fe=new W,W[w]=null,fe[U]=ae):fe=H(),void 0===ie?fe:a.f(fe,ie)}},10988:(v,b,i)=>{var r=i(47012),a=i(52339),f=i(52975),u=i(21099),e=i(8643),p=i(68032);b.f=r&&!a?Object.defineProperties:function(T,M){u(T);for(var j,w=e(M),R=p(M),U=R.length,W=0;U>W;)f.f(T,j=R[W++],w[j]);return T}},52975:(v,b,i)=>{var r=i(47012),a=i(27091),f=i(52339),u=i(21099),e=i(16582),p=TypeError,g=Object.defineProperty,T=Object.getOwnPropertyDescriptor,M="enumerable",w="configurable",R="writable";b.f=r?f?function(W,j,q){if(u(W),j=e(j),u(q),"function"==typeof W&&"prototype"===j&&"value"in q&&R in q&&!q[R]){var ue=T(W,j);ue&&ue[R]&&(W[j]=q.value,q={configurable:w in q?q[w]:ue[w],enumerable:M in q?q[M]:ue[M],writable:!1})}return g(W,j,q)}:g:function(W,j,q){if(u(W),j=e(j),u(q),a)try{return g(W,j,q)}catch(ue){}if("get"in q||"set"in q)throw p("Accessors not supported");return"value"in q&&(W[j]=q.value),W}},93099:(v,b,i)=>{var r=i(47012),a=i(757),f=i(5600),u=i(53203),e=i(8643),p=i(16582),g=i(62445),T=i(27091),M=Object.getOwnPropertyDescriptor;b.f=r?M:function(R,U){if(R=e(R),U=p(U),T)try{return M(R,U)}catch(W){}if(g(R,U))return u(!a(f.f,R,U),R[U])}},7388:(v,b,i)=>{var r=i(96644),a=i(8643),f=i(94564).f,u=i(32342),e="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];v.exports.f=function(T){return e&&"Window"==r(T)?function(g){try{return f(g)}catch(T){return u(e)}}(T):f(a(T))}},94564:(v,b,i)=>{var r=i(77759),f=i(71001).concat("length","prototype");b.f=Object.getOwnPropertyNames||function(e){return r(e,f)}},77593:(v,b)=>{b.f=Object.getOwnPropertySymbols},3963:(v,b,i)=>{var r=i(62445),a=i(25591),f=i(16174),u=i(42650),e=i(51335),p=u("IE_PROTO"),g=Object,T=g.prototype;v.exports=e?g.getPrototypeOf:function(M){var w=f(M);if(r(w,p))return w[p];var R=w.constructor;return a(R)&&w instanceof R?R.prototype:w instanceof g?T:null}},67117:(v,b,i)=>{var r=i(8597),a=i(60726),f=i(96644),u=i(93241),e=Object.isExtensible,p=r(function(){e(1)});v.exports=p||u?function(T){return!(!a(T)||u&&"ArrayBuffer"==f(T))&&(!e||e(T))}:e},93290:(v,b,i)=>{var r=i(47964);v.exports=r({}.isPrototypeOf)},77759:(v,b,i)=>{var r=i(47964),a=i(62445),f=i(8643),u=i(70452).indexOf,e=i(3536),p=r([].push);v.exports=function(g,T){var U,M=f(g),w=0,R=[];for(U in M)!a(e,U)&&a(M,U)&&p(R,U);for(;T.length>w;)a(M,U=T[w++])&&(~u(R,U)||p(R,U));return R}},68032:(v,b,i)=>{var r=i(77759),a=i(71001);v.exports=Object.keys||function(u){return r(u,a)}},5600:(v,b)=>{"use strict";var i={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,a=r&&!i.call({1:2},1);b.f=a?function(u){var e=r(this,u);return!!e&&e.enumerable}:i},91464:(v,b,i)=>{var r=i(56389),a=i(21099),f=i(95143);v.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var p,u=!1,e={};try{(p=r(Object.prototype,"__proto__","set"))(e,[]),u=e instanceof Array}catch(g){}return function(T,M){return a(T),f(M),u?p(T,M):T.__proto__=M,T}}():void 0)},83119:(v,b,i)=>{"use strict";var r=i(72900),a=i(99420);v.exports=r?{}.toString:function(){return"[object "+a(this)+"]"}},48297:(v,b,i)=>{var r=i(757),a=i(25591),f=i(60726),u=TypeError;v.exports=function(e,p){var g,T;if("string"===p&&a(g=e.toString)&&!f(T=r(g,e))||a(g=e.valueOf)&&!f(T=r(g,e))||"string"!==p&&a(g=e.toString)&&!f(T=r(g,e)))return T;throw u("Can't convert object to primitive value")}},99376:(v,b,i)=>{var r=i(73626),a=i(47964),f=i(94564),u=i(77593),e=i(21099),p=a([].concat);v.exports=r("Reflect","ownKeys")||function(T){var M=f.f(e(T)),w=u.f;return w?p(M,w(T)):M}},53793:(v,b,i)=>{var r=i(757),a=i(21099),f=i(25591),u=i(96644),e=i(93084),p=TypeError;v.exports=function(g,T){var M=g.exec;if(f(M)){var w=r(M,g,T);return null!==w&&a(w),w}if("RegExp"===u(g))return r(e,g,T);throw p("RegExp#exec called on incompatible receiver")}},93084:(v,b,i)=>{"use strict";var fe,_e,r=i(757),a=i(47964),f=i(73574),u=i(41891),e=i(29895),p=i(77719),g=i(38724),T=i(52493).get,M=i(38126),w=i(31053),R=p("native-string-replace",String.prototype.replace),U=RegExp.prototype.exec,W=U,j=a("".charAt),q=a("".indexOf),ue=a("".replace),re=a("".slice),H=(_e=/b*/g,r(U,fe=/a/,"a"),r(U,_e,"a"),0!==fe.lastIndex||0!==_e.lastIndex),se=e.BROKEN_CARET,ae=void 0!==/()??/.exec("")[1];(H||ae||se||M||w)&&(W=function(_e){var Xe,He,Pe,Ge,Oe,Tt,We,Ce=this,ce=T(Ce),Be=f(_e),Ve=ce.raw;if(Ve)return Ve.lastIndex=Ce.lastIndex,Xe=r(W,Ve,Be),Ce.lastIndex=Ve.lastIndex,Xe;var Qt=ce.groups,Nt=se&&Ce.sticky,Yt=r(u,Ce),dn=Ce.source,rn=0,vt=Be;if(Nt&&(Yt=ue(Yt,"y",""),-1===q(Yt,"g")&&(Yt+="g"),vt=re(Be,Ce.lastIndex),Ce.lastIndex>0&&(!Ce.multiline||Ce.multiline&&"\n"!==j(Be,Ce.lastIndex-1))&&(dn="(?: "+dn+")",vt=" "+vt,rn++),He=new RegExp("^(?:"+dn+")",Yt)),ae&&(He=new RegExp("^"+dn+"$(?!\\s)",Yt)),H&&(Pe=Ce.lastIndex),Ge=r(U,Nt?He:Ce,vt),Nt?Ge?(Ge.input=re(Ge.input,rn),Ge[0]=re(Ge[0],rn),Ge.index=Ce.lastIndex,Ce.lastIndex+=Ge[0].length):Ce.lastIndex=0:H&&Ge&&(Ce.lastIndex=Ce.global?Ge.index+Ge[0].length:Pe),ae&&Ge&&Ge.length>1&&r(R,Ge[0],He,function(){for(Oe=1;Oe<arguments.length-2;Oe++)void 0===arguments[Oe]&&(Ge[Oe]=void 0)}),Ge&&Qt)for(Ge.groups=Tt=g(null),Oe=0;Oe<Qt.length;Oe++)Tt[(We=Qt[Oe])[0]]=Ge[We[1]];return Ge}),v.exports=W},41891:(v,b,i)=>{"use strict";var r=i(21099);v.exports=function(){var a=r(this),f="";return a.hasIndices&&(f+="d"),a.global&&(f+="g"),a.ignoreCase&&(f+="i"),a.multiline&&(f+="m"),a.dotAll&&(f+="s"),a.unicode&&(f+="u"),a.unicodeSets&&(f+="v"),a.sticky&&(f+="y"),f}},29895:(v,b,i)=>{var r=i(8597),f=i(31864).RegExp,u=r(function(){var g=f("a","y");return g.lastIndex=2,null!=g.exec("abcd")}),e=u||r(function(){return!f("a","y").sticky}),p=u||r(function(){var g=f("^r","gy");return g.lastIndex=2,null!=g.exec("str")});v.exports={BROKEN_CARET:p,MISSED_STICKY:e,UNSUPPORTED_Y:u}},38126:(v,b,i)=>{var r=i(8597),f=i(31864).RegExp;v.exports=r(function(){var u=f(".","s");return!(u.dotAll&&u.exec("\n")&&"s"===u.flags)})},31053:(v,b,i)=>{var r=i(8597),f=i(31864).RegExp;v.exports=r(function(){var u=f("(?<a>b)","g");return"b"!==u.exec("b").groups.a||"bc"!=="b".replace(u,"$<a>c")})},95025:(v,b,i)=>{var r=i(37432),a=TypeError;v.exports=function(f){if(r(f))throw a("Can't call method on "+f);return f}},58242:(v,b,i)=>{var r=i(52975).f,a=i(62445),u=i(84563)("toStringTag");v.exports=function(e,p,g){e&&!g&&(e=e.prototype),e&&!a(e,u)&&r(e,u,{configurable:!0,value:p})}},42650:(v,b,i)=>{var r=i(77719),a=i(94295),f=r("keys");v.exports=function(u){return f[u]||(f[u]=a(u))}},59941:(v,b,i)=>{var r=i(31864),a=i(11996),f="__core-js_shared__",u=r[f]||a(f,{});v.exports=u},77719:(v,b,i)=>{var r=i(97515),a=i(59941);(v.exports=function(f,u){return a[f]||(a[f]=void 0!==u?u:{})})("versions",[]).push({version:"3.30.2",mode:r?"pure":"global",copyright:"\xa9 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE",source:"https://github.com/zloirock/core-js"})},64487:(v,b,i)=>{var r=i(47964),a=i(22157),f=i(73574),u=i(95025),e=r("".charAt),p=r("".charCodeAt),g=r("".slice),T=function(M){return function(w,R){var q,ue,U=f(u(w)),W=a(R),j=U.length;return W<0||W>=j?M?"":void 0:(q=p(U,W))<55296||q>56319||W+1===j||(ue=p(U,W+1))<56320||ue>57343?M?e(U,W):q:M?g(U,W,W+2):ue-56320+(q-55296<<10)+65536}};v.exports={codeAt:T(!1),charAt:T(!0)}},51664:(v,b,i)=>{var r=i(47964),a=i(95025),f=i(73574),u=i(48004),e=r("".replace),p=RegExp("^["+u+"]+"),g=RegExp("(^|[^"+u+"])["+u+"]+$"),T=function(M){return function(w){var R=f(a(w));return 1&M&&(R=e(R,p,"")),2&M&&(R=e(R,g,"$1")),R}};v.exports={start:T(1),end:T(2),trim:T(3)}},33021:(v,b,i)=>{var r=i(17189),a=i(8597),u=i(31864).String;v.exports=!!Object.getOwnPropertySymbols&&!a(function(){var e=Symbol();return!u(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41})},20222:(v,b,i)=>{var r=i(22157),a=Math.max,f=Math.min;v.exports=function(u,e){var p=r(u);return p<0?a(p+e,0):f(p,e)}},8643:(v,b,i)=>{var r=i(56169),a=i(95025);v.exports=function(f){return r(a(f))}},22157:(v,b,i)=>{var r=i(58194);v.exports=function(a){var f=+a;return f!=f||0===f?0:r(f)}},15902:(v,b,i)=>{var r=i(22157),a=Math.min;v.exports=function(f){return f>0?a(r(f),9007199254740991):0}},16174:(v,b,i)=>{var r=i(95025),a=Object;v.exports=function(f){return a(r(f))}},28495:(v,b,i)=>{var r=i(757),a=i(60726),f=i(26186),u=i(35642),e=i(48297),p=i(84563),g=TypeError,T=p("toPrimitive");v.exports=function(M,w){if(!a(M)||f(M))return M;var U,R=u(M,T);if(R){if(void 0===w&&(w="default"),U=r(R,M,w),!a(U)||f(U))return U;throw g("Can't convert object to primitive value")}return void 0===w&&(w="number"),e(M,w)}},16582:(v,b,i)=>{var r=i(28495),a=i(26186);v.exports=function(f){var u=r(f,"string");return a(u)?u:u+""}},72900:(v,b,i)=>{var f={};f[i(84563)("toStringTag")]="z",v.exports="[object z]"===String(f)},73574:(v,b,i)=>{var r=i(99420),a=String;v.exports=function(f){if("Symbol"===r(f))throw TypeError("Cannot convert a Symbol value to a string");return a(f)}},60802:v=>{var b=String;v.exports=function(i){try{return b(i)}catch(r){return"Object"}}},94295:(v,b,i)=>{var r=i(47964),a=0,f=Math.random(),u=r(1..toString);v.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+u(++a+f,36)}},24431:(v,b,i)=>{var r=i(33021);v.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},52339:(v,b,i)=>{var r=i(47012),a=i(8597);v.exports=r&&a(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},28095:(v,b,i)=>{var r=i(31864),a=i(25591),f=r.WeakMap;v.exports=a(f)&&/native code/.test(String(f))},84563:(v,b,i)=>{var r=i(31864),a=i(77719),f=i(62445),u=i(94295),e=i(33021),p=i(24431),g=r.Symbol,T=a("wks"),M=p?g.for||g:g&&g.withoutSetter||u;v.exports=function(w){return f(T,w)||(T[w]=e&&f(g,w)?g[w]:M("Symbol."+w)),T[w]}},48004:v=>{v.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},85443:(v,b,i)=>{"use strict";var r=i(51163),a=i(94115).filter;r({target:"Array",proto:!0,forced:!i(37394)("filter")},{filter:function(p){return a(this,p,arguments.length>1?arguments[1]:void 0)}})},66837:(v,b,i)=>{"use strict";var r=i(8643),a=i(24094),f=i(72339),u=i(52493),e=i(52975).f,p=i(43291),g=i(15189),T=i(97515),M=i(47012),w="Array Iterator",R=u.set,U=u.getterFor(w);v.exports=p(Array,"Array",function(j,q){R(this,{type:w,target:r(j),index:0,kind:q})},function(){var j=U(this),q=j.target,ue=j.kind,re=j.index++;return!q||re>=q.length?(j.target=void 0,g(void 0,!0)):g("keys"==ue?re:"values"==ue?q[re]:[re,q[re]],!1)},"values");var W=f.Arguments=f.Array;if(a("keys"),a("values"),a("entries"),!T&&M&&"values"!==W.name)try{e(W,"name",{value:"values"})}catch(j){}},35319:(v,b,i)=>{"use strict";var r=i(51163),a=i(14716).left,f=i(47051),u=i(17189);r({target:"Array",proto:!0,forced:!i(32002)&&u>79&&u<83||!f("reduce")},{reduce:function(M){var w=arguments.length;return a(this,M,w,w>1?arguments[1]:void 0)}})},80477:(v,b,i)=>{var r=i(47012),a=i(20538).EXISTS,f=i(47964),u=i(48213),e=Function.prototype,p=f(e.toString),g=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,T=f(g.exec);r&&!a&&u(e,"name",{configurable:!0,get:function(){try{return T(g,p(this))[1]}catch(w){return""}}})},8868:(v,b,i)=>{var r=i(51163),a=i(51746);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==a},{assign:a})},35704:(v,b,i)=>{var r=i(72900),a=i(70688),f=i(83119);r||a(Object.prototype,"toString",f,{unsafe:!0})},21581:(v,b,i)=>{var r=i(51163),a=i(43656);r({global:!0,forced:parseInt!=a},{parseInt:a})},69665:(v,b,i)=>{"use strict";var r=i(51163),a=i(93084);r({target:"RegExp",proto:!0,forced:/./.exec!==a},{exec:a})},13744:(v,b,i)=>{"use strict";var r=i(64487).charAt,a=i(73574),f=i(52493),u=i(43291),e=i(15189),p="String Iterator",g=f.set,T=f.getterFor(p);u(String,"String",function(M){g(this,{type:p,string:a(M),index:0})},function(){var W,w=T(this),R=w.string,U=w.index;return U>=R.length?e(void 0,!0):(W=r(R,U),w.index+=W.length,e(W,!1))})},26954:(v,b,i)=>{"use strict";var r=i(757),a=i(9357),f=i(21099),u=i(37432),e=i(15902),p=i(73574),g=i(95025),T=i(35642),M=i(27678),w=i(53793);a("match",function(R,U,W){return[function(q){var ue=g(this),re=u(q)?void 0:T(q,R);return re?r(re,q,ue):new RegExp(q)[R](p(ue))},function(j){var q=f(this),ue=p(j),re=W(U,q,ue);if(re.done)return re.value;if(!q.global)return w(q,ue);var H=q.unicode;q.lastIndex=0;for(var ie,se=[],ae=0;null!==(ie=w(q,ue));){var fe=p(ie[0]);se[ae]=fe,""===fe&&(q.lastIndex=M(ue,e(q.lastIndex),H)),ae++}return 0===ae?null:se}]})},66262:(v,b,i)=>{"use strict";var r=i(32328),a=i(757),f=i(47964),u=i(9357),e=i(8597),p=i(21099),g=i(25591),T=i(37432),M=i(22157),w=i(15902),R=i(73574),U=i(95025),W=i(27678),j=i(35642),q=i(16162),ue=i(53793),H=i(84563)("replace"),se=Math.max,ae=Math.min,ie=f([].concat),fe=f([].push),_e=f("".indexOf),Ce=f("".slice),ce=function(He){return void 0===He?He:String(He)},Be="$0"==="a".replace(/./,"$0"),Ve=!!/./[H]&&""===/./[H]("a","$0");u("replace",function(He,Pe,Ge){var Oe=Ve?"$":"$0";return[function(We,Qt){var Nt=U(this),Yt=T(We)?void 0:j(We,H);return Yt?a(Yt,We,Nt,Qt):a(Pe,R(Nt),We,Qt)},function(Tt,We){var Qt=p(this),Nt=R(Tt);if("string"==typeof We&&-1===_e(We,Oe)&&-1===_e(We,"$<")){var Yt=Ge(Pe,Qt,Nt,We);if(Yt.done)return Yt.value}var dn=g(We);dn||(We=R(We));var rn=Qt.global;if(rn){var vt=Qt.unicode;Qt.lastIndex=0}for(var xt=[];;){var Ct=ue(Qt,Nt);if(null===Ct||(fe(xt,Ct),!rn))break;""===R(Ct[0])&&(Qt.lastIndex=W(Nt,w(Qt.lastIndex),vt))}for(var Fn="",pr=0,mi=0;mi<xt.length;mi++){for(var ci=R((Ct=xt[mi])[0]),hr=se(ae(M(Ct.index),Nt.length),0),Br=[],Ur=1;Ur<Ct.length;Ur++)fe(Br,ce(Ct[Ur]));var Hn=Ct.groups;if(dn){var er=ie([ci],Br,hr,Nt);void 0!==Hn&&fe(er,Hn);var _r=R(r(We,void 0,er))}else _r=q(ci,Nt,hr,Br,Hn,We);hr>=pr&&(Fn+=Ce(Nt,pr,hr)+_r,pr=hr+ci.length)}return Fn+Ce(Nt,pr)}]},!!e(function(){var He=/./;return He.exec=function(){var Pe=[];return Pe.groups={a:"7"},Pe},"7"!=="".replace(He,"$<a>")})||!Be||Ve)},62913:(v,b,i)=>{"use strict";var fe,r=i(39352),a=i(31864),f=i(47964),u=i(41292),e=i(64238),p=i(41603),g=i(96491),T=i(60726),M=i(52493).enforce,w=i(8597),R=i(28095),U=Object,W=Array.isArray,j=U.isExtensible,q=U.isFrozen,ue=U.isSealed,re=U.freeze,H=U.seal,se={},ae={},ie=!a.ActiveXObject&&"ActiveXObject"in a,_e=function(Ge){return function(){return Ge(this,arguments.length?arguments[0]:void 0)}},Ce=p("WeakMap",_e,g),ce=Ce.prototype,Be=f(ce.set);if(R)if(ie){fe=g.getConstructor(_e,"WeakMap",!0),e.enable();var Xe=f(ce.delete),He=f(ce.has),Pe=f(ce.get);u(ce,{delete:function(Ge){if(T(Ge)&&!j(Ge)){var Oe=M(this);return Oe.frozen||(Oe.frozen=new fe),Xe(this,Ge)||Oe.frozen.delete(Ge)}return Xe(this,Ge)},has:function(Oe){if(T(Oe)&&!j(Oe)){var Tt=M(this);return Tt.frozen||(Tt.frozen=new fe),He(this,Oe)||Tt.frozen.has(Oe)}return He(this,Oe)},get:function(Oe){if(T(Oe)&&!j(Oe)){var Tt=M(this);return Tt.frozen||(Tt.frozen=new fe),He(this,Oe)?Pe(this,Oe):Tt.frozen.get(Oe)}return Pe(this,Oe)},set:function(Oe,Tt){if(T(Oe)&&!j(Oe)){var We=M(this);We.frozen||(We.frozen=new fe),He(this,Oe)?Be(this,Oe,Tt):We.frozen.set(Oe,Tt)}else Be(this,Oe,Tt);return this}})}else r&&w(function(){var Ge=re([]);return Be(new Ce,Ge,1),!q(Ge)})&&u(ce,{set:function(Oe,Tt){var We;return W(Oe)&&(q(Oe)?We=se:ue(Oe)&&(We=ae)),Be(this,Oe,Tt),We==se&&re(Oe),We==ae&&H(Oe),this}})},63438:(v,b,i)=>{i(62913)},22603:(v,b,i)=>{var r=i(31864),a=i(26877),f=i(20713),u=i(66837),e=i(815),p=i(84563),g=p("iterator"),T=p("toStringTag"),M=u.values,w=function(U,W){if(U){if(U[g]!==M)try{e(U,g,M)}catch(q){U[g]=M}if(U[T]||e(U,T,W),a[W])for(var j in u)if(U[j]!==u[j])try{e(U,j,u[j])}catch(q){U[j]=u[j]}}};for(var R in a)w(r[R]&&r[R].prototype,R);w(f,"DOMTokenList")},64762:(v,b,i)=>{"use strict";i.d(b,{ZT:()=>a,_T:()=>u,fM:()=>p,gn:()=>e,mG:()=>T,pi:()=>f,w6:()=>g});var r=function(Ve,Xe){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(He,Pe){He.__proto__=Pe}||function(He,Pe){for(var Ge in Pe)Object.prototype.hasOwnProperty.call(Pe,Ge)&&(He[Ge]=Pe[Ge])})(Ve,Xe)};function a(Ve,Xe){if("function"!=typeof Xe&&null!==Xe)throw new TypeError("Class extends value "+String(Xe)+" is not a constructor or null");function He(){this.constructor=Ve}r(Ve,Xe),Ve.prototype=null===Xe?Object.create(Xe):(He.prototype=Xe.prototype,new He)}var f=function(){return f=Object.assign||function(Xe){for(var He,Pe=1,Ge=arguments.length;Pe<Ge;Pe++)for(var Oe in He=arguments[Pe])Object.prototype.hasOwnProperty.call(He,Oe)&&(Xe[Oe]=He[Oe]);return Xe},f.apply(this,arguments)};function u(Ve,Xe){var He={};for(var Pe in Ve)Object.prototype.hasOwnProperty.call(Ve,Pe)&&Xe.indexOf(Pe)<0&&(He[Pe]=Ve[Pe]);if(null!=Ve&&"function"==typeof Object.getOwnPropertySymbols){var Ge=0;for(Pe=Object.getOwnPropertySymbols(Ve);Ge<Pe.length;Ge++)Xe.indexOf(Pe[Ge])<0&&Object.prototype.propertyIsEnumerable.call(Ve,Pe[Ge])&&(He[Pe[Ge]]=Ve[Pe[Ge]])}return He}function e(Ve,Xe,He,Pe){var Tt,Ge=arguments.length,Oe=Ge<3?Xe:null===Pe?Pe=Object.getOwnPropertyDescriptor(Xe,He):Pe;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Oe=Reflect.decorate(Ve,Xe,He,Pe);else for(var We=Ve.length-1;We>=0;We--)(Tt=Ve[We])&&(Oe=(Ge<3?Tt(Oe):Ge>3?Tt(Xe,He,Oe):Tt(Xe,He))||Oe);return Ge>3&&Oe&&Object.defineProperty(Xe,He,Oe),Oe}function p(Ve,Xe){return function(He,Pe){Xe(He,Pe,Ve)}}function g(Ve,Xe){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(Ve,Xe)}function T(Ve,Xe,He,Pe){return new(He||(He=Promise))(function(Oe,Tt){function We(Yt){try{Nt(Pe.next(Yt))}catch(dn){Tt(dn)}}function Qt(Yt){try{Nt(Pe.throw(Yt))}catch(dn){Tt(dn)}}function Nt(Yt){Yt.done?Oe(Yt.value):function Ge(Oe){return Oe instanceof He?Oe:new He(function(Tt){Tt(Oe)})}(Yt.value).then(We,Qt)}Nt((Pe=Pe.apply(Ve,Xe||[])).next())})}},46700:(v,b,i)=>{var r={"./af":26431,"./af.js":26431,"./ar":81286,"./ar-dz":1616,"./ar-dz.js":1616,"./ar-kw":9759,"./ar-kw.js":9759,"./ar-ly":43160,"./ar-ly.js":43160,"./ar-ma":62551,"./ar-ma.js":62551,"./ar-sa":79989,"./ar-sa.js":79989,"./ar-tn":6962,"./ar-tn.js":6962,"./ar.js":81286,"./az":15887,"./az.js":15887,"./be":14572,"./be.js":14572,"./bg":3276,"./bg.js":3276,"./bm":93344,"./bm.js":93344,"./bn":58985,"./bn-bd":83990,"./bn-bd.js":83990,"./bn.js":58985,"./bo":94391,"./bo.js":94391,"./br":46728,"./br.js":46728,"./bs":5536,"./bs.js":5536,"./ca":41043,"./ca.js":41043,"./cs":70420,"./cs.js":70420,"./cv":33513,"./cv.js":33513,"./cy":6771,"./cy.js":6771,"./da":47978,"./da.js":47978,"./de":46061,"./de-at":25204,"./de-at.js":25204,"./de-ch":2653,"./de-ch.js":2653,"./de.js":46061,"./dv":85,"./dv.js":85,"./el":8579,"./el.js":8579,"./en-au":25724,"./en-au.js":25724,"./en-ca":10525,"./en-ca.js":10525,"./en-gb":52847,"./en-gb.js":52847,"./en-ie":67216,"./en-ie.js":67216,"./en-il":39305,"./en-il.js":39305,"./en-in":73364,"./en-in.js":73364,"./en-nz":79130,"./en-nz.js":79130,"./en-sg":11161,"./en-sg.js":11161,"./eo":50802,"./eo.js":50802,"./es":40328,"./es-do":45551,"./es-do.js":45551,"./es-mx":75615,"./es-mx.js":75615,"./es-us":64790,"./es-us.js":64790,"./es.js":40328,"./et":96389,"./et.js":96389,"./eu":52961,"./eu.js":52961,"./fa":26151,"./fa.js":26151,"./fi":7997,"./fi.js":7997,"./fil":58898,"./fil.js":58898,"./fo":37779,"./fo.js":37779,"./fr":28174,"./fr-ca":3287,"./fr-ca.js":3287,"./fr-ch":38867,"./fr-ch.js":38867,"./fr.js":28174,"./fy":50452,"./fy.js":50452,"./ga":45014,"./ga.js":45014,"./gd":74127,"./gd.js":74127,"./gl":72124,"./gl.js":72124,"./gom-deva":6444,"./gom-deva.js":6444,"./gom-latn":37953,"./gom-latn.js":37953,"./gu":76604,"./gu.js":76604,"./he":1222,"./he.js":1222,"./hi":74235,"./hi.js":74235,"./hr":622,"./hr.js":622,"./hu":37735,"./hu.js":37735,"./hy-am":90402,"./hy-am.js":90402,"./id":59187,"./id.js":59187,"./is":30536,"./is.js":30536,"./it":35007,"./it-ch":94667,"./it-ch.js":94667,"./it.js":35007,"./ja":62093,"./ja.js":62093,"./jv":80059,"./jv.js":80059,"./ka":66870,"./ka.js":66870,"./kk":80880,"./kk.js":80880,"./km":1083,"./km.js":1083,"./kn":68785,"./kn.js":68785,"./ko":21721,"./ko.js":21721,"./ku":37851,"./ku.js":37851,"./ky":1727,"./ky.js":1727,"./lb":40346,"./lb.js":40346,"./lo":93002,"./lo.js":93002,"./lt":64035,"./lt.js":64035,"./lv":56927,"./lv.js":56927,"./me":5634,"./me.js":5634,"./mi":94173,"./mi.js":94173,"./mk":86320,"./mk.js":86320,"./ml":11705,"./ml.js":11705,"./mn":31062,"./mn.js":31062,"./mr":92805,"./mr.js":92805,"./ms":11341,"./ms-my":59900,"./ms-my.js":59900,"./ms.js":11341,"./mt":37734,"./mt.js":37734,"./my":19034,"./my.js":19034,"./nb":9324,"./nb.js":9324,"./ne":46495,"./ne.js":46495,"./nl":70673,"./nl-be":76272,"./nl-be.js":76272,"./nl.js":70673,"./nn":72486,"./nn.js":72486,"./oc-lnc":46219,"./oc-lnc.js":46219,"./pa-in":2829,"./pa-in.js":2829,"./pl":78444,"./pl.js":78444,"./pt":53170,"./pt-br":66117,"./pt-br.js":66117,"./pt.js":53170,"./ro":96587,"./ro.js":96587,"./ru":39264,"./ru.js":39264,"./sd":42135,"./sd.js":42135,"./se":95366,"./se.js":95366,"./si":93379,"./si.js":93379,"./sk":46143,"./sk.js":46143,"./sl":196,"./sl.js":196,"./sq":21082,"./sq.js":21082,"./sr":91621,"./sr-cyrl":98963,"./sr-cyrl.js":98963,"./sr.js":91621,"./ss":41404,"./ss.js":41404,"./sv":55685,"./sv.js":55685,"./sw":3872,"./sw.js":3872,"./ta":54106,"./ta.js":54106,"./te":39204,"./te.js":39204,"./tet":83692,"./tet.js":83692,"./tg":86361,"./tg.js":86361,"./th":31735,"./th.js":31735,"./tk":1568,"./tk.js":1568,"./tl-ph":96129,"./tl-ph.js":96129,"./tlh":13759,"./tlh.js":13759,"./tr":81644,"./tr.js":81644,"./tzl":90875,"./tzl.js":90875,"./tzm":16878,"./tzm-latn":11041,"./tzm-latn.js":11041,"./tzm.js":16878,"./ug-cn":74357,"./ug-cn.js":74357,"./uk":74810,"./uk.js":74810,"./ur":86794,"./ur.js":86794,"./uz":28966,"./uz-latn":77959,"./uz-latn.js":77959,"./uz.js":28966,"./vi":35386,"./vi.js":35386,"./x-pseudo":23156,"./x-pseudo.js":23156,"./yo":68028,"./yo.js":68028,"./zh-cn":9330,"./zh-cn.js":9330,"./zh-hk":89380,"./zh-hk.js":89380,"./zh-mo":60874,"./zh-mo.js":60874,"./zh-tw":96508,"./zh-tw.js":96508};function a(u){var e=f(u);return i(e)}function f(u){if(!i.o(r,u)){var e=new Error("Cannot find module '"+u+"'");throw e.code="MODULE_NOT_FOUND",e}return r[u]}a.keys=function(){return Object.keys(r)},a.resolve=f,v.exports=a,a.id=46700},24654:()=>{},30071:(v,b,i)=>{v.exports=i(75242)},58711:(v,b,i)=>{v.exports=i(10323)},14226:(v,b,i)=>{v.exports=i(38762)},15886:(v,b,i)=>{v.exports=i(71873)},34377:(v,b,i)=>{v.exports=i(61599)},28086:(v,b,i)=>{v.exports=i(34097)},56166:(v,b,i)=>{v.exports=i(15149)},48129:(v,b,i)=>{v.exports=i(83361)},10068:(v,b,i)=>{v.exports=i(19095)},45163:(v,b,i)=>{v.exports=i(71420)},45819:(v,b,i)=>{v.exports=i(13178)},84901:(v,b,i)=>{v.exports=i(52049)},35524:(v,b,i)=>{v.exports=i(83655)},71851:(v,b,i)=>{v.exports=i(87054)},91465:(v,b,i)=>{v.exports=i(51946)},95327:(v,b,i)=>{v.exports=i(40764)},37940:(v,b,i)=>{v.exports=i(81214)},35431:(v,b,i)=>{v.exports=i(50881)},53757:(v,b,i)=>{v.exports=i(38813)},46558:(v,b,i)=>{v.exports=i(70157)},53625:(v,b,i)=>{v.exports=i(3502)},31978:(v,b,i)=>{v.exports=i(81610)},33814:(v,b,i)=>{v.exports=i(19543)},84220:(v,b,i)=>{v.exports=i(74046)},40984:(v,b,i)=>{v.exports=i(13731)},32322:(v,b,i)=>{v.exports=i(80129)},44859:(v,b,i)=>{v.exports=i(43720)},54082:(v,b,i)=>{v.exports=i(640)},30508:(v,b,i)=>{v.exports=i(50320)},46245:(v,b,i)=>{v.exports=i(1162)},69605:(v,b,i)=>{v.exports=i(70809)},86413:(v,b,i)=>{v.exports=i(26498)},87513:(v,b,i)=>{v.exports=i(12118)},69253:(v,b,i)=>{v.exports=i(70906)},8225:(v,b,i)=>{v.exports=i(56286)},64975:(v,b,i)=>{v.exports=i(54153)},66627:(v,b,i)=>{v.exports=i(90755)},68645:(v,b,i)=>{v.exports=i(98235)},14306:(v,b,i)=>{v.exports=i(78096)},6379:(v,b,i)=>{v.exports=i(31236)},72632:(v,b,i)=>{v.exports=i(15819)},28033:(v,b,i)=>{v.exports=i(44948)},19621:(v,b,i)=>{v.exports=i(96471)},54839:(v,b,i)=>{v.exports=i(5228)},95343:(v,b,i)=>{v.exports=i(50182)},73921:(v,b,i)=>{v.exports=i(41171)},70891:(v,b,i)=>{v.exports=i(54585)},77576:(v,b,i)=>{v.exports=i(62005)},45862:(v,b,i)=>{v.exports=i(39964)},51134:(v,b,i)=>{v.exports=i(70326)},23591:(v,b,i)=>{v.exports=i(98162)},76593:(v,b,i)=>{v.exports=i(42346)},22714:(v,b,i)=>{v.exports=i(4204)},62734:(v,b,i)=>{v.exports=i(24329)},69138:(v,b,i)=>{v.exports=i(2793)},69244:(v,b,i)=>{v.exports=i(42700)},15805:(v,b,i)=>{v.exports=i(70269)},63380:(v,b,i)=>{v.exports=i(88819)},66342:(v,b,i)=>{v.exports=i(55912)},71950:(v,b,i)=>{v.exports=i(91185)},12885:(v,b,i)=>{var r=i(79599).default,a=i(77576),f=i(63380),u=i(73921),e=i(76593),p=i(6379),g=i(62734),T=i(69138),M=i(28033),w=i(19621);function R(){"use strict";v.exports=R=function(){return U},v.exports.__esModule=!0,v.exports.default=v.exports;var U={},W=Object.prototype,j=W.hasOwnProperty,q=a||function(vt,xt,Ct){vt[xt]=Ct.value},ue="function"==typeof f?f:{},re=ue.iterator||"@@iterator",H=ue.asyncIterator||"@@asyncIterator",se=ue.toStringTag||"@@toStringTag";function ae(vt,xt,Ct){return a(vt,xt,{value:Ct,enumerable:!0,configurable:!0,writable:!0}),vt[xt]}try{ae({},"")}catch(vt){ae=function(Ct,Gt,Fn){return Ct[Gt]=Fn}}function ie(vt,xt,Ct,Gt){var pr=u((xt&&xt.prototype instanceof Ce?xt:Ce).prototype),mi=new Yt(Gt||[]);return q(pr,"_invoke",{value:Tt(vt,Ct,mi)}),pr}function fe(vt,xt,Ct){try{return{type:"normal",arg:vt.call(xt,Ct)}}catch(Gt){return{type:"throw",arg:Gt}}}U.wrap=ie;var _e={};function Ce(){}function ce(){}function Be(){}var Ve={};ae(Ve,re,function(){return this});var He=e&&e(e(dn([])));He&&He!==W&&j.call(He,re)&&(Ve=He);var Pe=Be.prototype=Ce.prototype=u(Ve);function Ge(vt){var xt;p(xt=["next","throw","return"]).call(xt,function(Ct){ae(vt,Ct,function(Gt){return this._invoke(Ct,Gt)})})}function Oe(vt,xt){function Ct(Fn,pr,mi,ci){var hr=fe(vt[Fn],vt,pr);if("throw"!==hr.type){var Br=hr.arg,Ur=Br.value;return Ur&&"object"==r(Ur)&&j.call(Ur,"__await")?xt.resolve(Ur.__await).then(function(Hn){Ct("next",Hn,mi,ci)},function(Hn){Ct("throw",Hn,mi,ci)}):xt.resolve(Ur).then(function(Hn){Br.value=Hn,mi(Br)},function(Hn){return Ct("throw",Hn,mi,ci)})}ci(hr.arg)}var Gt;q(this,"_invoke",{value:function(pr,mi){function ci(){return new xt(function(hr,Br){Ct(pr,mi,hr,Br)})}return Gt=Gt?Gt.then(ci,ci):ci()}})}function Tt(vt,xt,Ct){var Gt="suspendedStart";return function(Fn,pr){if("executing"===Gt)throw new Error("Generator is already running");if("completed"===Gt){if("throw"===Fn)throw pr;return{value:void 0,done:!0}}for(Ct.method=Fn,Ct.arg=pr;;){var mi=Ct.delegate;if(mi){var ci=We(mi,Ct);if(ci){if(ci===_e)continue;return ci}}if("next"===Ct.method)Ct.sent=Ct._sent=Ct.arg;else if("throw"===Ct.method){if("suspendedStart"===Gt)throw Gt="completed",Ct.arg;Ct.dispatchException(Ct.arg)}else"return"===Ct.method&&Ct.abrupt("return",Ct.arg);Gt="executing";var hr=fe(vt,xt,Ct);if("normal"===hr.type){if(Gt=Ct.done?"completed":"suspendedYield",hr.arg===_e)continue;return{value:hr.arg,done:Ct.done}}"throw"===hr.type&&(Gt="completed",Ct.method="throw",Ct.arg=hr.arg)}}}function We(vt,xt){var Ct=xt.method,Gt=vt.iterator[Ct];if(void 0===Gt)return xt.delegate=null,"throw"===Ct&&vt.iterator.return&&(xt.method="return",xt.arg=void 0,We(vt,xt),"throw"===xt.method)||"return"!==Ct&&(xt.method="throw",xt.arg=new TypeError("The iterator does not provide a '"+Ct+"' method")),_e;var Fn=fe(Gt,vt.iterator,xt.arg);if("throw"===Fn.type)return xt.method="throw",xt.arg=Fn.arg,xt.delegate=null,_e;var pr=Fn.arg;return pr?pr.done?(xt[vt.resultName]=pr.value,xt.next=vt.nextLoc,"return"!==xt.method&&(xt.method="next",xt.arg=void 0),xt.delegate=null,_e):pr:(xt.method="throw",xt.arg=new TypeError("iterator result is not an object"),xt.delegate=null,_e)}function Qt(vt){var xt={tryLoc:vt[0]};1 in vt&&(xt.catchLoc=vt[1]),2 in vt&&(xt.finallyLoc=vt[2],xt.afterLoc=vt[3]),this.tryEntries.push(xt)}function Nt(vt){var xt=vt.completion||{};xt.type="normal",delete xt.arg,vt.completion=xt}function Yt(vt){this.tryEntries=[{tryLoc:"root"}],p(vt).call(vt,Qt,this),this.reset(!0)}function dn(vt){if(vt){var xt=vt[re];if(xt)return xt.call(vt);if("function"==typeof vt.next)return vt;if(!isNaN(vt.length)){var Ct=-1,Gt=function Fn(){for(;++Ct<vt.length;)if(j.call(vt,Ct))return Fn.value=vt[Ct],Fn.done=!1,Fn;return Fn.value=void 0,Fn.done=!0,Fn};return Gt.next=Gt}}return{next:rn}}function rn(){return{value:void 0,done:!0}}return ce.prototype=Be,q(Pe,"constructor",{value:Be,configurable:!0}),q(Be,"constructor",{value:ce,configurable:!0}),ce.displayName=ae(Be,se,"GeneratorFunction"),U.isGeneratorFunction=function(vt){var xt="function"==typeof vt&&vt.constructor;return!!xt&&(xt===ce||"GeneratorFunction"===(xt.displayName||xt.name))},U.mark=function(vt){return g?g(vt,Be):(vt.__proto__=Be,ae(vt,se,"GeneratorFunction")),vt.prototype=u(Pe),vt},U.awrap=function(vt){return{__await:vt}},Ge(Oe.prototype),ae(Oe.prototype,H,function(){return this}),U.AsyncIterator=Oe,U.async=function(vt,xt,Ct,Gt,Fn){void 0===Fn&&(Fn=T);var pr=new Oe(ie(vt,xt,Ct,Gt),Fn);return U.isGeneratorFunction(xt)?pr:pr.next().then(function(mi){return mi.done?mi.value:pr.next()})},Ge(Pe),ae(Pe,se,"Generator"),ae(Pe,re,function(){return this}),ae(Pe,"toString",function(){return"[object Generator]"}),U.keys=function(vt){var xt=Object(vt),Ct=[];for(var Gt in xt)Ct.push(Gt);return M(Ct).call(Ct),function Fn(){for(;Ct.length;){var pr=Ct.pop();if(pr in xt)return Fn.value=pr,Fn.done=!1,Fn}return Fn.done=!0,Fn}},U.values=dn,Yt.prototype={constructor:Yt,reset:function(xt){var Ct;if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,p(Ct=this.tryEntries).call(Ct,Nt),!xt)for(var Gt in this)"t"===Gt.charAt(0)&&j.call(this,Gt)&&!isNaN(+w(Gt).call(Gt,1))&&(this[Gt]=void 0)},stop:function(){this.done=!0;var xt=this.tryEntries[0].completion;if("throw"===xt.type)throw xt.arg;return this.rval},dispatchException:function(xt){if(this.done)throw xt;var Ct=this;function Gt(Br,Ur){return mi.type="throw",mi.arg=xt,Ct.next=Br,Ur&&(Ct.method="next",Ct.arg=void 0),!!Ur}for(var Fn=this.tryEntries.length-1;Fn>=0;--Fn){var pr=this.tryEntries[Fn],mi=pr.completion;if("root"===pr.tryLoc)return Gt("end");if(pr.tryLoc<=this.prev){var ci=j.call(pr,"catchLoc"),hr=j.call(pr,"finallyLoc");if(ci&&hr){if(this.prev<pr.catchLoc)return Gt(pr.catchLoc,!0);if(this.prev<pr.finallyLoc)return Gt(pr.finallyLoc)}else if(ci){if(this.prev<pr.catchLoc)return Gt(pr.catchLoc,!0)}else{if(!hr)throw new Error("try statement without catch or finally");if(this.prev<pr.finallyLoc)return Gt(pr.finallyLoc)}}}},abrupt:function(xt,Ct){for(var Gt=this.tryEntries.length-1;Gt>=0;--Gt){var Fn=this.tryEntries[Gt];if(Fn.tryLoc<=this.prev&&j.call(Fn,"finallyLoc")&&this.prev<Fn.finallyLoc){var pr=Fn;break}}pr&&("break"===xt||"continue"===xt)&&pr.tryLoc<=Ct&&Ct<=pr.finallyLoc&&(pr=null);var mi=pr?pr.completion:{};return mi.type=xt,mi.arg=Ct,pr?(this.method="next",this.next=pr.finallyLoc,_e):this.complete(mi)},complete:function(xt,Ct){if("throw"===xt.type)throw xt.arg;return"break"===xt.type||"continue"===xt.type?this.next=xt.arg:"return"===xt.type?(this.rval=this.arg=xt.arg,this.method="return",this.next="end"):"normal"===xt.type&&Ct&&(this.next=Ct),_e},finish:function(xt){for(var Ct=this.tryEntries.length-1;Ct>=0;--Ct){var Gt=this.tryEntries[Ct];if(Gt.finallyLoc===xt)return this.complete(Gt.completion,Gt.afterLoc),Nt(Gt),_e}},catch:function(xt){for(var Ct=this.tryEntries.length-1;Ct>=0;--Ct){var Gt=this.tryEntries[Ct];if(Gt.tryLoc===xt){var Fn=Gt.completion;if("throw"===Fn.type){var pr=Fn.arg;Nt(Gt)}return pr}}throw new Error("illegal catch attempt")},delegateYield:function(xt,Ct,Gt){return this.delegate={iterator:dn(xt),resultName:Ct,nextLoc:Gt},"next"===this.method&&(this.arg=void 0),_e}},U}v.exports=R,v.exports.__esModule=!0,v.exports.default=v.exports},79599:(v,b,i)=>{var r=i(63380),a=i(66342);function f(u){return v.exports=f="function"==typeof r&&"symbol"==typeof a?function(e){return typeof e}:function(e){return e&&"function"==typeof r&&e.constructor===r&&e!==r.prototype?"symbol":typeof e},v.exports.__esModule=!0,v.exports.default=v.exports,f(u)}v.exports=f,v.exports.__esModule=!0,v.exports.default=v.exports},33950:(v,b,i)=>{var r=i(12885)();v.exports=r;try{regeneratorRuntime=r}catch(a){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},32019:(v,b,i)=>{"use strict";i.d(b,{LC:()=>a,SB:()=>M,X$:()=>u,ZE:()=>se,ZN:()=>H,_j:()=>r,eR:()=>R,jt:()=>e,k1:()=>ae,l3:()=>f,oB:()=>T,vP:()=>g});class r{}class a{}const f="*";function u(ie,fe){return{type:7,name:ie,definitions:fe,options:{}}}function e(ie,fe=null){return{type:4,styles:fe,timings:ie}}function g(ie,fe=null){return{type:2,steps:ie,options:fe}}function T(ie){return{type:6,styles:ie,offset:null}}function M(ie,fe,_e){return{type:0,name:ie,styles:fe,options:_e}}function R(ie,fe,_e=null){return{type:1,expr:ie,animation:fe,options:_e}}function re(ie){Promise.resolve(null).then(ie)}class H{constructor(fe=0,_e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=fe+_e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(fe=>fe()),this._onDoneFns=[])}onStart(fe){this._onStartFns.push(fe)}onDone(fe){this._onDoneFns.push(fe)}onDestroy(fe){this._onDestroyFns.push(fe)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){re(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(fe=>fe()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(fe=>fe()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(fe){this._position=this.totalTime?fe*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(fe){const _e="start"==fe?this._onStartFns:this._onDoneFns;_e.forEach(Ce=>Ce()),_e.length=0}}class se{constructor(fe){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=fe;let _e=0,Ce=0,ce=0;const Be=this.players.length;0==Be?re(()=>this._onFinish()):this.players.forEach(Ve=>{Ve.onDone(()=>{++_e==Be&&this._onFinish()}),Ve.onDestroy(()=>{++Ce==Be&&this._onDestroy()}),Ve.onStart(()=>{++ce==Be&&this._onStart()})}),this.totalTime=this.players.reduce((Ve,Xe)=>Math.max(Ve,Xe.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(fe=>fe()),this._onDoneFns=[])}init(){this.players.forEach(fe=>fe.init())}onStart(fe){this._onStartFns.push(fe)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(fe=>fe()),this._onStartFns=[])}onDone(fe){this._onDoneFns.push(fe)}onDestroy(fe){this._onDestroyFns.push(fe)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(fe=>fe.play())}pause(){this.players.forEach(fe=>fe.pause())}restart(){this.players.forEach(fe=>fe.restart())}finish(){this._onFinish(),this.players.forEach(fe=>fe.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(fe=>fe.destroy()),this._onDestroyFns.forEach(fe=>fe()),this._onDestroyFns=[])}reset(){this.players.forEach(fe=>fe.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(fe){const _e=fe*this.totalTime;this.players.forEach(Ce=>{const ce=Ce.totalTime?Math.min(1,_e/Ce.totalTime):1;Ce.setPosition(ce)})}getPosition(){const fe=this.players.reduce((_e,Ce)=>null===_e||Ce.totalTime>_e.totalTime?Ce:_e,null);return null!=fe?fe.getPosition():0}beforeDestroy(){this.players.forEach(fe=>{fe.beforeDestroy&&fe.beforeDestroy()})}triggerCallback(fe){const _e="start"==fe?this._onStartFns:this._onDoneFns;_e.forEach(Ce=>Ce()),_e.length=0}}const ae="!"},11048:(v,b,i)=>{"use strict";i.d(b,{Do:()=>ie,ED:()=>ya,EM:()=>Mc,Gx:()=>ut,HT:()=>e,JF:()=>Ya,JJ:()=>ii,K0:()=>g,Mn:()=>Nt,Mx:()=>Or,NF:()=>Cl,Nd:()=>jt,O5:()=>go,Ov:()=>Gs,PC:()=>pl,RF:()=>es,S$:()=>re,Tn:()=>Pe,Ts:()=>te,UT:()=>Yt,V_:()=>w,Ye:()=>fe,Zx:()=>Oi,b0:()=>ae,bD:()=>sl,ez:()=>hl,gd:()=>hs,i8:()=>$o,iq:()=>sa,lw:()=>T,mk:()=>cr,mr:()=>se,n9:()=>ma,ol:()=>Qt,p6:()=>Gi,q:()=>f,rS:()=>Ns,sg:()=>$n,tP:()=>Co,uU:()=>kr,w_:()=>p,x:()=>He,zE:()=>Ra});var r=i(89724);let a=null;function f(){return a}function e(rt){a||(a=rt)}class p{}const g=new r.OlP("DocumentToken");let T=(()=>{class rt{historyGo(pt){throw new Error("Not implemented")}}return rt.\u0275fac=function(pt){return new(pt||rt)},rt.\u0275prov=r.Yz7({token:rt,factory:function(){return function M(){return(0,r.LFG)(R)}()},providedIn:"platform"}),rt})();const w=new r.OlP("Location Initialized");let R=(()=>{class rt extends T{constructor(pt){super(),this._doc=pt,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return f().getBaseHref(this._doc)}onPopState(pt){const Kt=f().getGlobalEventTarget(this._doc,"window");return Kt.addEventListener("popstate",pt,!1),()=>Kt.removeEventListener("popstate",pt)}onHashChange(pt){const Kt=f().getGlobalEventTarget(this._doc,"window");return Kt.addEventListener("hashchange",pt,!1),()=>Kt.removeEventListener("hashchange",pt)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(pt){this.location.pathname=pt}pushState(pt,Kt,Kn){U()?this._history.pushState(pt,Kt,Kn):this.location.hash=Kn}replaceState(pt,Kt,Kn){U()?this._history.replaceState(pt,Kt,Kn):this.location.hash=Kn}forward(){this._history.forward()}back(){this._history.back()}historyGo(pt=0){this._history.go(pt)}getState(){return this._history.state}}return rt.\u0275fac=function(pt){return new(pt||rt)(r.LFG(g))},rt.\u0275prov=r.Yz7({token:rt,factory:function(){return function W(){return new R((0,r.LFG)(g))}()},providedIn:"platform"}),rt})();function U(){return!!window.history.pushState}function j(rt,qt){if(0==rt.length)return qt;if(0==qt.length)return rt;let pt=0;return rt.endsWith("/")&&pt++,qt.startsWith("/")&&pt++,2==pt?rt+qt.substring(1):1==pt?rt+qt:rt+"/"+qt}function q(rt){const qt=rt.match(/#|\?|$/),pt=qt&&qt.index||rt.length;return rt.slice(0,pt-("/"===rt[pt-1]?1:0))+rt.slice(pt)}function ue(rt){return rt&&"?"!==rt[0]?"?"+rt:rt}let re=(()=>{class rt{historyGo(pt){throw new Error("Not implemented")}}return rt.\u0275fac=function(pt){return new(pt||rt)},rt.\u0275prov=r.Yz7({token:rt,factory:function(){return function H(rt){const qt=(0,r.LFG)(g).location;return new ae((0,r.LFG)(T),qt&&qt.origin||"")}()},providedIn:"root"}),rt})();const se=new r.OlP("appBaseHref");let ae=(()=>{class rt extends re{constructor(pt,Kt){if(super(),this._platformLocation=pt,this._removeListenerFns=[],null==Kt&&(Kt=this._platformLocation.getBaseHrefFromDOM()),null==Kt)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=Kt}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(pt){this._removeListenerFns.push(this._platformLocation.onPopState(pt),this._platformLocation.onHashChange(pt))}getBaseHref(){return this._baseHref}prepareExternalUrl(pt){return j(this._baseHref,pt)}path(pt=!1){const Kt=this._platformLocation.pathname+ue(this._platformLocation.search),Kn=this._platformLocation.hash;return Kn&&pt?`${Kt}${Kn}`:Kt}pushState(pt,Kt,Kn,oi){const wi=this.prepareExternalUrl(Kn+ue(oi));this._platformLocation.pushState(pt,Kt,wi)}replaceState(pt,Kt,Kn,oi){const wi=this.prepareExternalUrl(Kn+ue(oi));this._platformLocation.replaceState(pt,Kt,wi)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(pt=0){var Kt,Kn;null===(Kn=(Kt=this._platformLocation).historyGo)||void 0===Kn||Kn.call(Kt,pt)}}return rt.\u0275fac=function(pt){return new(pt||rt)(r.LFG(T),r.LFG(se,8))},rt.\u0275prov=r.Yz7({token:rt,factory:rt.\u0275fac}),rt})(),ie=(()=>{class rt extends re{constructor(pt,Kt){super(),this._platformLocation=pt,this._baseHref="",this._removeListenerFns=[],null!=Kt&&(this._baseHref=Kt)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(pt){this._removeListenerFns.push(this._platformLocation.onPopState(pt),this._platformLocation.onHashChange(pt))}getBaseHref(){return this._baseHref}path(pt=!1){let Kt=this._platformLocation.hash;return null==Kt&&(Kt="#"),Kt.length>0?Kt.substring(1):Kt}prepareExternalUrl(pt){const Kt=j(this._baseHref,pt);return Kt.length>0?"#"+Kt:Kt}pushState(pt,Kt,Kn,oi){let wi=this.prepareExternalUrl(Kn+ue(oi));0==wi.length&&(wi=this._platformLocation.pathname),this._platformLocation.pushState(pt,Kt,wi)}replaceState(pt,Kt,Kn,oi){let wi=this.prepareExternalUrl(Kn+ue(oi));0==wi.length&&(wi=this._platformLocation.pathname),this._platformLocation.replaceState(pt,Kt,wi)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(pt=0){var Kt,Kn;null===(Kn=(Kt=this._platformLocation).historyGo)||void 0===Kn||Kn.call(Kt,pt)}}return rt.\u0275fac=function(pt){return new(pt||rt)(r.LFG(T),r.LFG(se,8))},rt.\u0275prov=r.Yz7({token:rt,factory:rt.\u0275fac}),rt})(),fe=(()=>{class rt{constructor(pt,Kt){this._subject=new r.vpe,this._urlChangeListeners=[],this._platformStrategy=pt;const Kn=this._platformStrategy.getBaseHref();this._platformLocation=Kt,this._baseHref=q(ce(Kn)),this._platformStrategy.onPopState(oi=>{this._subject.emit({url:this.path(!0),pop:!0,state:oi.state,type:oi.type})})}path(pt=!1){return this.normalize(this._platformStrategy.path(pt))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(pt,Kt=""){return this.path()==this.normalize(pt+ue(Kt))}normalize(pt){return rt.stripTrailingSlash(function Ce(rt,qt){return rt&&qt.startsWith(rt)?qt.substring(rt.length):qt}(this._baseHref,ce(pt)))}prepareExternalUrl(pt){return pt&&"/"!==pt[0]&&(pt="/"+pt),this._platformStrategy.prepareExternalUrl(pt)}go(pt,Kt="",Kn=null){this._platformStrategy.pushState(Kn,"",pt,Kt),this._notifyUrlChangeListeners(this.prepareExternalUrl(pt+ue(Kt)),Kn)}replaceState(pt,Kt="",Kn=null){this._platformStrategy.replaceState(Kn,"",pt,Kt),this._notifyUrlChangeListeners(this.prepareExternalUrl(pt+ue(Kt)),Kn)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(pt=0){var Kt,Kn;null===(Kn=(Kt=this._platformStrategy).historyGo)||void 0===Kn||Kn.call(Kt,pt)}onUrlChange(pt){this._urlChangeListeners.push(pt),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(Kt=>{this._notifyUrlChangeListeners(Kt.url,Kt.state)}))}_notifyUrlChangeListeners(pt="",Kt){this._urlChangeListeners.forEach(Kn=>Kn(pt,Kt))}subscribe(pt,Kt,Kn){return this._subject.subscribe({next:pt,error:Kt,complete:Kn})}}return rt.normalizeQueryParams=ue,rt.joinWithSlash=j,rt.stripTrailingSlash=q,rt.\u0275fac=function(pt){return new(pt||rt)(r.LFG(re),r.LFG(T))},rt.\u0275prov=r.Yz7({token:rt,factory:function(){return function _e(){return new fe((0,r.LFG)(re),(0,r.LFG)(T))}()},providedIn:"root"}),rt})();function ce(rt){return rt.replace(/\/index.html$/,"")}var Ve=(()=>((Ve=Ve||{})[Ve.Decimal=0]="Decimal",Ve[Ve.Percent=1]="Percent",Ve[Ve.Currency=2]="Currency",Ve[Ve.Scientific=3]="Scientific",Ve))(),Xe=(()=>((Xe=Xe||{})[Xe.Zero=0]="Zero",Xe[Xe.One=1]="One",Xe[Xe.Two=2]="Two",Xe[Xe.Few=3]="Few",Xe[Xe.Many=4]="Many",Xe[Xe.Other=5]="Other",Xe))(),He=(()=>((He=He||{})[He.Format=0]="Format",He[He.Standalone=1]="Standalone",He))(),Pe=(()=>((Pe=Pe||{})[Pe.Narrow=0]="Narrow",Pe[Pe.Abbreviated=1]="Abbreviated",Pe[Pe.Wide=2]="Wide",Pe[Pe.Short=3]="Short",Pe))(),Ge=(()=>((Ge=Ge||{})[Ge.Short=0]="Short",Ge[Ge.Medium=1]="Medium",Ge[Ge.Long=2]="Long",Ge[Ge.Full=3]="Full",Ge))(),Oe=(()=>((Oe=Oe||{})[Oe.Decimal=0]="Decimal",Oe[Oe.Group=1]="Group",Oe[Oe.List=2]="List",Oe[Oe.PercentSign=3]="PercentSign",Oe[Oe.PlusSign=4]="PlusSign",Oe[Oe.MinusSign=5]="MinusSign",Oe[Oe.Exponential=6]="Exponential",Oe[Oe.SuperscriptingExponent=7]="SuperscriptingExponent",Oe[Oe.PerMille=8]="PerMille",Oe[Oe.Infinity=9]="Infinity",Oe[Oe.NaN=10]="NaN",Oe[Oe.TimeSeparator=11]="TimeSeparator",Oe[Oe.CurrencyDecimal=12]="CurrencyDecimal",Oe[Oe.CurrencyGroup=13]="CurrencyGroup",Oe))();function Qt(rt,qt,pt){const Kt=(0,r.cg1)(rt),oi=bi([Kt[r.wAp.DayPeriodsFormat],Kt[r.wAp.DayPeriodsStandalone]],qt);return bi(oi,pt)}function Nt(rt,qt,pt){const Kt=(0,r.cg1)(rt),oi=bi([Kt[r.wAp.DaysFormat],Kt[r.wAp.DaysStandalone]],qt);return bi(oi,pt)}function Yt(rt,qt,pt){const Kt=(0,r.cg1)(rt),oi=bi([Kt[r.wAp.MonthsFormat],Kt[r.wAp.MonthsStandalone]],qt);return bi(oi,pt)}function xt(rt,qt){return bi((0,r.cg1)(rt)[r.wAp.DateFormat],qt)}function Ct(rt,qt){return bi((0,r.cg1)(rt)[r.wAp.TimeFormat],qt)}function Gt(rt,qt){return bi((0,r.cg1)(rt)[r.wAp.DateTimeFormat],qt)}function Fn(rt,qt){const pt=(0,r.cg1)(rt),Kt=pt[r.wAp.NumberSymbols][qt];if(void 0===Kt){if(qt===Oe.CurrencyDecimal)return pt[r.wAp.NumberSymbols][Oe.Decimal];if(qt===Oe.CurrencyGroup)return pt[r.wAp.NumberSymbols][Oe.Group]}return Kt}function pr(rt,qt){return(0,r.cg1)(rt)[r.wAp.NumberFormats][qt]}const Ur=r.kL8;function Hn(rt){if(!rt[r.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${rt[r.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function bi(rt,qt){for(let pt=qt;pt>-1;pt--)if(void 0!==rt[pt])return rt[pt];throw new Error("Locale data API: locale data undefined")}function fi(rt){const[qt,pt]=rt.split(":");return{hours:+qt,minutes:+pt}}const an=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,vn={},Zn=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Xn=(()=>((Xn=Xn||{})[Xn.Short=0]="Short",Xn[Xn.ShortGMT=1]="ShortGMT",Xn[Xn.Long=2]="Long",Xn[Xn.Extended=3]="Extended",Xn))(),zn=(()=>((zn=zn||{})[zn.FullYear=0]="FullYear",zn[zn.Month=1]="Month",zn[zn.Date=2]="Date",zn[zn.Hours=3]="Hours",zn[zn.Minutes=4]="Minutes",zn[zn.Seconds=5]="Seconds",zn[zn.FractionalSeconds=6]="FractionalSeconds",zn[zn.Day=7]="Day",zn))(),ri=(()=>((ri=ri||{})[ri.DayPeriods=0]="DayPeriods",ri[ri.Days=1]="Days",ri[ri.Months=2]="Months",ri[ri.Eras=3]="Eras",ri))();function Gi(rt,qt,pt,Kt){let Kn=function yt(rt){if(yn(rt))return rt;if("number"==typeof rt&&!isNaN(rt))return new Date(rt);if("string"==typeof rt){if(rt=rt.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(rt)){const[Kn,oi=1,wi=1]=rt.split("-").map(as=>+as);return ui(Kn,oi-1,wi)}const pt=parseFloat(rt);if(!isNaN(rt-pt))return new Date(pt);let Kt;if(Kt=rt.match(an))return function Vt(rt){const qt=new Date(0);let pt=0,Kt=0;const Kn=rt[8]?qt.setUTCFullYear:qt.setFullYear,oi=rt[8]?qt.setUTCHours:qt.setHours;rt[9]&&(pt=Number(rt[9]+rt[10]),Kt=Number(rt[9]+rt[11])),Kn.call(qt,Number(rt[1]),Number(rt[2])-1,Number(rt[3]));const wi=Number(rt[4]||0)-pt,as=Number(rt[5]||0)-Kt,Vs=Number(rt[6]||0),Os=Math.floor(1e3*parseFloat("0."+(rt[7]||0)));return oi.call(qt,wi,as,Vs,Os),qt}(Kt)}const qt=new Date(rt);if(!yn(qt))throw new Error(`Unable to convert "${rt}" into a date`);return qt}(rt);qt=vr(pt,qt)||qt;let as,wi=[];for(;qt;){if(as=Zn.exec(qt),!as){wi.push(qt);break}{wi=wi.concat(as.slice(1));const ws=wi.pop();if(!ws)break;qt=ws}}let Vs=Kn.getTimezoneOffset();Kt&&(Vs=Et(Kt,Vs),Kn=function _t(rt,qt,pt){const Kt=pt?-1:1,Kn=rt.getTimezoneOffset();return function $t(rt,qt){return(rt=new Date(rt.getTime())).setMinutes(rt.getMinutes()+qt),rt}(rt,Kt*(Et(qt,Kn)-Kn))}(Kn,Kt,!0));let Os="";return wi.forEach(ws=>{const Fo=function Dn(rt){if(Ut[rt])return Ut[rt];let qt;switch(rt){case"G":case"GG":case"GGG":qt=Le(ri.Eras,Pe.Abbreviated);break;case"GGGG":qt=Le(ri.Eras,Pe.Wide);break;case"GGGGG":qt=Le(ri.Eras,Pe.Narrow);break;case"y":qt=Wn(zn.FullYear,1,0,!1,!0);break;case"yy":qt=Wn(zn.FullYear,2,0,!0,!0);break;case"yyy":qt=Wn(zn.FullYear,3,0,!1,!0);break;case"yyyy":qt=Wn(zn.FullYear,4,0,!1,!0);break;case"Y":qt=ti(1);break;case"YY":qt=ti(2,!0);break;case"YYY":qt=ti(3);break;case"YYYY":qt=ti(4);break;case"M":case"L":qt=Wn(zn.Month,1,1);break;case"MM":case"LL":qt=Wn(zn.Month,2,1);break;case"MMM":qt=Le(ri.Months,Pe.Abbreviated);break;case"MMMM":qt=Le(ri.Months,Pe.Wide);break;case"MMMMM":qt=Le(ri.Months,Pe.Narrow);break;case"LLL":qt=Le(ri.Months,Pe.Abbreviated,He.Standalone);break;case"LLLL":qt=Le(ri.Months,Pe.Wide,He.Standalone);break;case"LLLLL":qt=Le(ri.Months,Pe.Narrow,He.Standalone);break;case"w":qt=Lr(1);break;case"ww":qt=Lr(2);break;case"W":qt=Lr(1,!0);break;case"d":qt=Wn(zn.Date,1);break;case"dd":qt=Wn(zn.Date,2);break;case"c":case"cc":qt=Wn(zn.Day,1);break;case"ccc":qt=Le(ri.Days,Pe.Abbreviated,He.Standalone);break;case"cccc":qt=Le(ri.Days,Pe.Wide,He.Standalone);break;case"ccccc":qt=Le(ri.Days,Pe.Narrow,He.Standalone);break;case"cccccc":qt=Le(ri.Days,Pe.Short,He.Standalone);break;case"E":case"EE":case"EEE":qt=Le(ri.Days,Pe.Abbreviated);break;case"EEEE":qt=Le(ri.Days,Pe.Wide);break;case"EEEEE":qt=Le(ri.Days,Pe.Narrow);break;case"EEEEEE":qt=Le(ri.Days,Pe.Short);break;case"a":case"aa":case"aaa":qt=Le(ri.DayPeriods,Pe.Abbreviated);break;case"aaaa":qt=Le(ri.DayPeriods,Pe.Wide);break;case"aaaaa":qt=Le(ri.DayPeriods,Pe.Narrow);break;case"b":case"bb":case"bbb":qt=Le(ri.DayPeriods,Pe.Abbreviated,He.Standalone,!0);break;case"bbbb":qt=Le(ri.DayPeriods,Pe.Wide,He.Standalone,!0);break;case"bbbbb":qt=Le(ri.DayPeriods,Pe.Narrow,He.Standalone,!0);break;case"B":case"BB":case"BBB":qt=Le(ri.DayPeriods,Pe.Abbreviated,He.Format,!0);break;case"BBBB":qt=Le(ri.DayPeriods,Pe.Wide,He.Format,!0);break;case"BBBBB":qt=Le(ri.DayPeriods,Pe.Narrow,He.Format,!0);break;case"h":qt=Wn(zn.Hours,1,-12);break;case"hh":qt=Wn(zn.Hours,2,-12);break;case"H":qt=Wn(zn.Hours,1);break;case"HH":qt=Wn(zn.Hours,2);break;case"m":qt=Wn(zn.Minutes,1);break;case"mm":qt=Wn(zn.Minutes,2);break;case"s":qt=Wn(zn.Seconds,1);break;case"ss":qt=Wn(zn.Seconds,2);break;case"S":qt=Wn(zn.FractionalSeconds,1);break;case"SS":qt=Wn(zn.FractionalSeconds,2);break;case"SSS":qt=Wn(zn.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":qt=Se(Xn.Short);break;case"ZZZZZ":qt=Se(Xn.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":qt=Se(Xn.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":qt=Se(Xn.Long);break;default:return null}return Ut[rt]=qt,qt}(ws);Os+=Fo?Fo(Kn,pt,Vs):"''"===ws?"'":ws.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Os}function ui(rt,qt,pt){const Kt=new Date(0);return Kt.setFullYear(rt,qt,pt),Kt.setHours(0,0,0),Kt}function vr(rt,qt){const pt=function We(rt){return(0,r.cg1)(rt)[r.wAp.LocaleId]}(rt);if(vn[pt]=vn[pt]||{},vn[pt][qt])return vn[pt][qt];let Kt="";switch(qt){case"shortDate":Kt=xt(rt,Ge.Short);break;case"mediumDate":Kt=xt(rt,Ge.Medium);break;case"longDate":Kt=xt(rt,Ge.Long);break;case"fullDate":Kt=xt(rt,Ge.Full);break;case"shortTime":Kt=Ct(rt,Ge.Short);break;case"mediumTime":Kt=Ct(rt,Ge.Medium);break;case"longTime":Kt=Ct(rt,Ge.Long);break;case"fullTime":Kt=Ct(rt,Ge.Full);break;case"short":const Kn=vr(rt,"shortTime"),oi=vr(rt,"shortDate");Kt=Ji(Gt(rt,Ge.Short),[Kn,oi]);break;case"medium":const wi=vr(rt,"mediumTime"),as=vr(rt,"mediumDate");Kt=Ji(Gt(rt,Ge.Medium),[wi,as]);break;case"long":const Vs=vr(rt,"longTime"),Os=vr(rt,"longDate");Kt=Ji(Gt(rt,Ge.Long),[Vs,Os]);break;case"full":const ws=vr(rt,"fullTime"),Fo=vr(rt,"fullDate");Kt=Ji(Gt(rt,Ge.Full),[ws,Fo])}return Kt&&(vn[pt][qt]=Kt),Kt}function Ji(rt,qt){return qt&&(rt=rt.replace(/\{([^}]+)}/g,function(pt,Kt){return null!=qt&&Kt in qt?qt[Kt]:pt})),rt}function mn(rt,qt,pt="-",Kt,Kn){let oi="";(rt<0||Kn&&rt<=0)&&(Kn?rt=1-rt:(rt=-rt,oi=pt));let wi=String(rt);for(;wi.length<qt;)wi="0"+wi;return Kt&&(wi=wi.substr(wi.length-qt)),oi+wi}function Wn(rt,qt,pt=0,Kt=!1,Kn=!1){return function(oi,wi){let as=function et(rt,qt){switch(rt){case zn.FullYear:return qt.getFullYear();case zn.Month:return qt.getMonth();case zn.Date:return qt.getDate();case zn.Hours:return qt.getHours();case zn.Minutes:return qt.getMinutes();case zn.Seconds:return qt.getSeconds();case zn.FractionalSeconds:return qt.getMilliseconds();case zn.Day:return qt.getDay();default:throw new Error(`Unknown DateType value "${rt}".`)}}(rt,oi);if((pt>0||as>-pt)&&(as+=pt),rt===zn.Hours)0===as&&-12===pt&&(as=12);else if(rt===zn.FractionalSeconds)return function Rn(rt,qt){return mn(rt,3).substr(0,qt)}(as,qt);const Vs=Fn(wi,Oe.MinusSign);return mn(as,qt,Vs,Kt,Kn)}}function Le(rt,qt,pt=He.Format,Kt=!1){return function(Kn,oi){return function Re(rt,qt,pt,Kt,Kn,oi){switch(pt){case ri.Months:return Yt(qt,Kn,Kt)[rt.getMonth()];case ri.Days:return Nt(qt,Kn,Kt)[rt.getDay()];case ri.DayPeriods:const wi=rt.getHours(),as=rt.getMinutes();if(oi){const Os=function er(rt){const qt=(0,r.cg1)(rt);return Hn(qt),(qt[r.wAp.ExtraData][2]||[]).map(Kt=>"string"==typeof Kt?fi(Kt):[fi(Kt[0]),fi(Kt[1])])}(qt),ws=function _r(rt,qt,pt){const Kt=(0,r.cg1)(rt);Hn(Kt);const oi=bi([Kt[r.wAp.ExtraData][0],Kt[r.wAp.ExtraData][1]],qt)||[];return bi(oi,pt)||[]}(qt,Kn,Kt),Fo=Os.findIndex(Ka=>{if(Array.isArray(Ka)){const[al,Bs]=Ka,mt=wi>=al.hours&&as>=al.minutes,ot=wi<Bs.hours||wi===Bs.hours&&as<Bs.minutes;if(al.hours<Bs.hours){if(mt&&ot)return!0}else if(mt||ot)return!0}else if(Ka.hours===wi&&Ka.minutes===as)return!0;return!1});if(-1!==Fo)return ws[Fo]}return Qt(qt,Kn,Kt)[wi<12?0:1];case ri.Eras:return function dn(rt,qt){return bi((0,r.cg1)(rt)[r.wAp.Eras],qt)}(qt,Kt)[rt.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${pt}`)}}(Kn,oi,rt,qt,pt,Kt)}}function Se(rt){return function(qt,pt,Kt){const Kn=-1*Kt,oi=Fn(pt,Oe.MinusSign),wi=Kn>0?Math.floor(Kn/60):Math.ceil(Kn/60);switch(rt){case Xn.Short:return(Kn>=0?"+":"")+mn(wi,2,oi)+mn(Math.abs(Kn%60),2,oi);case Xn.ShortGMT:return"GMT"+(Kn>=0?"+":"")+mn(wi,1,oi);case Xn.Long:return"GMT"+(Kn>=0?"+":"")+mn(wi,2,oi)+":"+mn(Math.abs(Kn%60),2,oi);case Xn.Extended:return 0===Kt?"Z":(Kn>=0?"+":"")+mn(wi,2,oi)+":"+mn(Math.abs(Kn%60),2,oi);default:throw new Error(`Unknown zone width "${rt}"`)}}}function Fe(rt){return ui(rt.getFullYear(),rt.getMonth(),rt.getDate()+(4-rt.getDay()))}function Lr(rt,qt=!1){return function(pt,Kt){let Kn;if(qt){const oi=new Date(pt.getFullYear(),pt.getMonth(),1).getDay()-1,wi=pt.getDate();Kn=1+Math.floor((wi+oi)/7)}else{const oi=Fe(pt),wi=function nn(rt){const qt=ui(rt,0,1).getDay();return ui(rt,0,1+(qt<=4?4:11)-qt)}(oi.getFullYear()),as=oi.getTime()-wi.getTime();Kn=1+Math.round(as/6048e5)}return mn(Kn,rt,Fn(Kt,Oe.MinusSign))}}function ti(rt,qt=!1){return function(pt,Kt){return mn(Fe(pt).getFullYear(),rt,Fn(Kt,Oe.MinusSign),qt)}}const Ut={};function Et(rt,qt){rt=rt.replace(/:/g,"");const pt=Date.parse("Jan 01, 1970 00:00:00 "+rt)/6e4;return isNaN(pt)?qt:pt}function yn(rt){return rt instanceof Date&&!isNaN(rt.valueOf())}const Cr=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function ir(rt,qt,pt,Kt,Kn,oi,wi=!1){let as="",Vs=!1;if(isFinite(rt)){let Os=function $i(rt){let Kt,Kn,oi,wi,as,qt=Math.abs(rt)+"",pt=0;for((Kn=qt.indexOf("."))>-1&&(qt=qt.replace(".","")),(oi=qt.search(/e/i))>0?(Kn<0&&(Kn=oi),Kn+=+qt.slice(oi+1),qt=qt.substring(0,oi)):Kn<0&&(Kn=qt.length),oi=0;"0"===qt.charAt(oi);oi++);if(oi===(as=qt.length))Kt=[0],Kn=1;else{for(as--;"0"===qt.charAt(as);)as--;for(Kn-=oi,Kt=[],wi=0;oi<=as;oi++,wi++)Kt[wi]=Number(qt.charAt(oi))}return Kn>22&&(Kt=Kt.splice(0,21),pt=Kn-1,Kn=1),{digits:Kt,exponent:pt,integerLen:Kn}}(rt);wi&&(Os=function ao(rt){if(0===rt.digits[0])return rt;const qt=rt.digits.length-rt.integerLen;return rt.exponent?rt.exponent+=2:(0===qt?rt.digits.push(0,0):1===qt&&rt.digits.push(0),rt.integerLen+=2),rt}(Os));let ws=qt.minInt,Fo=qt.minFrac,Ka=qt.maxFrac;if(oi){const Xt=oi.match(Cr);if(null===Xt)throw new Error(`${oi} is not a valid digit info`);const Si=Xt[1],Jo=Xt[3],ja=Xt[5];null!=Si&&(ws=mo(Si)),null!=Jo&&(Fo=mo(Jo)),null!=ja?Ka=mo(ja):null!=Jo&&Fo>Ka&&(Ka=Fo)}!function Eo(rt,qt,pt){if(qt>pt)throw new Error(`The minimum number of digits after fraction (${qt}) is higher than the maximum (${pt}).`);let Kt=rt.digits,Kn=Kt.length-rt.integerLen;const oi=Math.min(Math.max(qt,Kn),pt);let wi=oi+rt.integerLen,as=Kt[wi];if(wi>0){Kt.splice(Math.max(rt.integerLen,wi));for(let Fo=wi;Fo<Kt.length;Fo++)Kt[Fo]=0}else{Kn=Math.max(0,Kn),rt.integerLen=1,Kt.length=Math.max(1,wi=oi+1),Kt[0]=0;for(let Fo=1;Fo<wi;Fo++)Kt[Fo]=0}if(as>=5)if(wi-1<0){for(let Fo=0;Fo>wi;Fo--)Kt.unshift(0),rt.integerLen++;Kt.unshift(1),rt.integerLen++}else Kt[wi-1]++;for(;Kn<Math.max(0,oi);Kn++)Kt.push(0);let Vs=0!==oi;const Os=qt+rt.integerLen,ws=Kt.reduceRight(function(Fo,Ka,al,Bs){return Bs[al]=(Ka+=Fo)<10?Ka:Ka-10,Vs&&(0===Bs[al]&&al>=Os?Bs.pop():Vs=!1),Ka>=10?1:0},0);ws&&(Kt.unshift(ws),rt.integerLen++)}(Os,Fo,Ka);let al=Os.digits,Bs=Os.integerLen;const mt=Os.exponent;let ot=[];for(Vs=al.every(Xt=>!Xt);Bs<ws;Bs++)al.unshift(0);for(;Bs<0;Bs++)al.unshift(0);Bs>0?ot=al.splice(Bs,al.length):(ot=al,al=[0]);const je=[];for(al.length>=qt.lgSize&&je.unshift(al.splice(-qt.lgSize,al.length).join(""));al.length>qt.gSize;)je.unshift(al.splice(-qt.gSize,al.length).join(""));al.length&&je.unshift(al.join("")),as=je.join(Fn(pt,Kt)),ot.length&&(as+=Fn(pt,Kn)+ot.join("")),mt&&(as+=Fn(pt,Oe.Exponential)+"+"+mt)}else as=Fn(pt,Oe.Infinity);return as=rt<0&&!Vs?qt.negPre+as+qt.negSuf:qt.posPre+as+qt.posSuf,as}function jr(rt,qt="-"){const pt={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},Kt=rt.split(";"),Kn=Kt[0],oi=Kt[1],wi=-1!==Kn.indexOf(".")?Kn.split("."):[Kn.substring(0,Kn.lastIndexOf("0")+1),Kn.substring(Kn.lastIndexOf("0")+1)],as=wi[0],Vs=wi[1]||"";pt.posPre=as.substr(0,as.indexOf("#"));for(let ws=0;ws<Vs.length;ws++){const Fo=Vs.charAt(ws);"0"===Fo?pt.minFrac=pt.maxFrac=ws+1:"#"===Fo?pt.maxFrac=ws+1:pt.posSuf+=Fo}const Os=as.split(",");if(pt.gSize=Os[1]?Os[1].length:0,pt.lgSize=Os[2]||Os[1]?(Os[2]||Os[1]).length:0,oi){const ws=Kn.length-pt.posPre.length-pt.posSuf.length,Fo=oi.indexOf("#");pt.negPre=oi.substr(0,Fo).replace(/'/g,""),pt.negSuf=oi.substr(Fo+ws).replace(/'/g,"")}else pt.negPre=qt+pt.posPre,pt.negSuf=pt.posSuf;return pt}function mo(rt){const qt=parseInt(rt);if(isNaN(qt))throw new Error("Invalid integer literal when parsing "+rt);return qt}let Go=(()=>{class rt{}return rt.\u0275fac=function(pt){return new(pt||rt)},rt.\u0275prov=r.Yz7({token:rt,factory:function(pt){let Kt=null;return pt?Kt=new pt:(Kn=r.LFG(r.soG),Kt=new or(Kn)),Kt;var Kn},providedIn:"root"}),rt})();function ua(rt,qt,pt,Kt){let Kn=`=${rt}`;if(qt.indexOf(Kn)>-1||(Kn=pt.getPluralCategory(rt,Kt),qt.indexOf(Kn)>-1))return Kn;if(qt.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${rt}"`)}let or=(()=>{class rt extends Go{constructor(pt){super(),this.locale=pt}getPluralCategory(pt,Kt){switch(Ur(Kt||this.locale)(pt)){case Xe.Zero:return"zero";case Xe.One:return"one";case Xe.Two:return"two";case Xe.Few:return"few";case Xe.Many:return"many";default:return"other"}}}return rt.\u0275fac=function(pt){return new(pt||rt)(r.LFG(r.soG))},rt.\u0275prov=r.Yz7({token:rt,factory:rt.\u0275fac}),rt})();function Or(rt,qt){qt=encodeURIComponent(qt);for(const pt of rt.split(";")){const Kt=pt.indexOf("="),[Kn,oi]=-1==Kt?[pt,""]:[pt.slice(0,Kt),pt.slice(Kt+1)];if(Kn.trim()===qt)return decodeURIComponent(oi)}return null}let cr=(()=>{class rt{constructor(pt,Kt,Kn,oi){this._iterableDiffers=pt,this._keyValueDiffers=Kt,this._ngEl=Kn,this._renderer=oi,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(pt){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof pt?pt.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(pt){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof pt?pt.split(/\s+/):pt,this._rawClass&&((0,r.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const pt=this._iterableDiffer.diff(this._rawClass);pt&&this._applyIterableChanges(pt)}else if(this._keyValueDiffer){const pt=this._keyValueDiffer.diff(this._rawClass);pt&&this._applyKeyValueChanges(pt)}}_applyKeyValueChanges(pt){pt.forEachAddedItem(Kt=>this._toggleClass(Kt.key,Kt.currentValue)),pt.forEachChangedItem(Kt=>this._toggleClass(Kt.key,Kt.currentValue)),pt.forEachRemovedItem(Kt=>{Kt.previousValue&&this._toggleClass(Kt.key,!1)})}_applyIterableChanges(pt){pt.forEachAddedItem(Kt=>{if("string"!=typeof Kt.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,r.AaK)(Kt.item)}`);this._toggleClass(Kt.item,!0)}),pt.forEachRemovedItem(Kt=>this._toggleClass(Kt.item,!1))}_applyClasses(pt){pt&&(Array.isArray(pt)||pt instanceof Set?pt.forEach(Kt=>this._toggleClass(Kt,!0)):Object.keys(pt).forEach(Kt=>this._toggleClass(Kt,!!pt[Kt])))}_removeClasses(pt){pt&&(Array.isArray(pt)||pt instanceof Set?pt.forEach(Kt=>this._toggleClass(Kt,!1)):Object.keys(pt).forEach(Kt=>this._toggleClass(Kt,!1)))}_toggleClass(pt,Kt){(pt=pt.trim())&&pt.split(/\s+/g).forEach(Kn=>{Kt?this._renderer.addClass(this._ngEl.nativeElement,Kn):this._renderer.removeClass(this._ngEl.nativeElement,Kn)})}}return rt.\u0275fac=function(pt){return new(pt||rt)(r.Y36(r.ZZ4),r.Y36(r.aQg),r.Y36(r.SBq),r.Y36(r.Qsj))},rt.\u0275dir=r.lG2({type:rt,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),rt})();class Sn{constructor(qt,pt,Kt,Kn){this.$implicit=qt,this.ngForOf=pt,this.index=Kt,this.count=Kn}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let $n=(()=>{class rt{constructor(pt,Kt,Kn){this._viewContainer=pt,this._template=Kt,this._differs=Kn,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(pt){this._ngForOf=pt,this._ngForOfDirty=!0}set ngForTrackBy(pt){this._trackByFn=pt}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(pt){pt&&(this._template=pt)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const pt=this._ngForOf;!this._differ&&pt&&(this._differ=this._differs.find(pt).create(this.ngForTrackBy))}if(this._differ){const pt=this._differ.diff(this._ngForOf);pt&&this._applyChanges(pt)}}_applyChanges(pt){const Kt=this._viewContainer;pt.forEachOperation((Kn,oi,wi)=>{if(null==Kn.previousIndex)Kt.createEmbeddedView(this._template,new Sn(Kn.item,this._ngForOf,-1,-1),null===wi?void 0:wi);else if(null==wi)Kt.remove(null===oi?void 0:oi);else if(null!==oi){const as=Kt.get(oi);Kt.move(as,wi),Jr(as,Kn)}});for(let Kn=0,oi=Kt.length;Kn<oi;Kn++){const as=Kt.get(Kn).context;as.index=Kn,as.count=oi,as.ngForOf=this._ngForOf}pt.forEachIdentityChange(Kn=>{Jr(Kt.get(Kn.currentIndex),Kn)})}static ngTemplateContextGuard(pt,Kt){return!0}}return rt.\u0275fac=function(pt){return new(pt||rt)(r.Y36(r.s_b),r.Y36(r.Rgc),r.Y36(r.ZZ4))},rt.\u0275dir=r.lG2({type:rt,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),rt})();function Jr(rt,qt){rt.context.$implicit=qt.item}let go=(()=>{class rt{constructor(pt,Kt){this._viewContainer=pt,this._context=new Ro,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=Kt}set ngIf(pt){this._context.$implicit=this._context.ngIf=pt,this._updateView()}set ngIfThen(pt){js("ngIfThen",pt),this._thenTemplateRef=pt,this._thenViewRef=null,this._updateView()}set ngIfElse(pt){js("ngIfElse",pt),this._elseTemplateRef=pt,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(pt,Kt){return!0}}return rt.\u0275fac=function(pt){return new(pt||rt)(r.Y36(r.s_b),r.Y36(r.Rgc))},rt.\u0275dir=r.lG2({type:rt,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),rt})();class Ro{constructor(){this.$implicit=null,this.ngIf=null}}function js(rt,qt){if(qt&&!qt.createEmbeddedView)throw new Error(`${rt} must be a TemplateRef, but received '${(0,r.AaK)(qt)}'.`)}class ds{constructor(qt,pt){this._viewContainerRef=qt,this._templateRef=pt,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(qt){qt&&!this._created?this.create():!qt&&this._created&&this.destroy()}}let es=(()=>{class rt{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(pt){this._ngSwitch=pt,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(pt){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(pt)}_matchCase(pt){const Kt=pt==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||Kt,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),Kt}_updateDefaultCases(pt){if(this._defaultViews&&pt!==this._defaultUsed){this._defaultUsed=pt;for(let Kt=0;Kt<this._defaultViews.length;Kt++)this._defaultViews[Kt].enforceState(pt)}}}return rt.\u0275fac=function(pt){return new(pt||rt)},rt.\u0275dir=r.lG2({type:rt,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),rt})(),ma=(()=>{class rt{constructor(pt,Kt,Kn){this.ngSwitch=Kn,Kn._addCase(),this._view=new ds(pt,Kt)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return rt.\u0275fac=function(pt){return new(pt||rt)(r.Y36(r.s_b),r.Y36(r.Rgc),r.Y36(es,9))},rt.\u0275dir=r.lG2({type:rt,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),rt})(),ya=(()=>{class rt{constructor(pt,Kt,Kn){Kn._addDefault(new ds(pt,Kt))}}return rt.\u0275fac=function(pt){return new(pt||rt)(r.Y36(r.s_b),r.Y36(r.Rgc),r.Y36(es,9))},rt.\u0275dir=r.lG2({type:rt,selectors:[["","ngSwitchDefault",""]]}),rt})(),sa=(()=>{class rt{constructor(pt){this._localization=pt,this._caseViews={}}set ngPlural(pt){this._switchValue=pt,this._updateView()}addCase(pt,Kt){this._caseViews[pt]=Kt}_updateView(){this._clearViews();const pt=Object.keys(this._caseViews),Kt=ua(this._switchValue,pt,this._localization);this._activateView(this._caseViews[Kt])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(pt){pt&&(this._activeView=pt,this._activeView.create())}}return rt.\u0275fac=function(pt){return new(pt||rt)(r.Y36(Go))},rt.\u0275dir=r.lG2({type:rt,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"}}),rt})(),Ra=(()=>{class rt{constructor(pt,Kt,Kn,oi){this.value=pt;const wi=!isNaN(Number(pt));oi.addCase(wi?`=${pt}`:pt,new ds(Kn,Kt))}}return rt.\u0275fac=function(pt){return new(pt||rt)(r.$8M("ngPluralCase"),r.Y36(r.Rgc),r.Y36(r.s_b),r.Y36(sa,1))},rt.\u0275dir=r.lG2({type:rt,selectors:[["","ngPluralCase",""]]}),rt})(),pl=(()=>{class rt{constructor(pt,Kt,Kn){this._ngEl=pt,this._differs=Kt,this._renderer=Kn,this._ngStyle=null,this._differ=null}set ngStyle(pt){this._ngStyle=pt,!this._differ&&pt&&(this._differ=this._differs.find(pt).create())}ngDoCheck(){if(this._differ){const pt=this._differ.diff(this._ngStyle);pt&&this._applyChanges(pt)}}_setStyle(pt,Kt){const[Kn,oi]=pt.split(".");null!=(Kt=null!=Kt&&oi?`${Kt}${oi}`:Kt)?this._renderer.setStyle(this._ngEl.nativeElement,Kn,Kt):this._renderer.removeStyle(this._ngEl.nativeElement,Kn)}_applyChanges(pt){pt.forEachRemovedItem(Kt=>this._setStyle(Kt.key,null)),pt.forEachAddedItem(Kt=>this._setStyle(Kt.key,Kt.currentValue)),pt.forEachChangedItem(Kt=>this._setStyle(Kt.key,Kt.currentValue))}}return rt.\u0275fac=function(pt){return new(pt||rt)(r.Y36(r.SBq),r.Y36(r.aQg),r.Y36(r.Qsj))},rt.\u0275dir=r.lG2({type:rt,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),rt})(),Co=(()=>{class rt{constructor(pt){this._viewContainerRef=pt,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(pt){if(pt.ngTemplateOutlet){const Kt=this._viewContainerRef;this._viewRef&&Kt.remove(Kt.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?Kt.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&pt.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return rt.\u0275fac=function(pt){return new(pt||rt)(r.Y36(r.s_b))},rt.\u0275dir=r.lG2({type:rt,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[r.TTD]}),rt})();function Wo(rt,qt){return new r.vHH(2100,"")}class ys{createSubscription(qt,pt){return qt.subscribe({next:pt,error:Kt=>{throw Kt}})}dispose(qt){qt.unsubscribe()}onDestroy(qt){qt.unsubscribe()}}class Wa{createSubscription(qt,pt){return qt.then(pt,Kt=>{throw Kt})}dispose(qt){}onDestroy(qt){}}const Is=new Wa,nl=new ys;let Gs=(()=>{class rt{constructor(pt){this._ref=pt,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(pt){return this._obj?pt!==this._obj?(this._dispose(),this.transform(pt)):this._latestValue:(pt&&this._subscribe(pt),this._latestValue)}_subscribe(pt){this._obj=pt,this._strategy=this._selectStrategy(pt),this._subscription=this._strategy.createSubscription(pt,Kt=>this._updateLatestValue(pt,Kt))}_selectStrategy(pt){if((0,r.QGY)(pt))return Is;if((0,r.F4k)(pt))return nl;throw Wo()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(pt,Kt){pt===this._obj&&(this._latestValue=Kt,this._ref.markForCheck())}}return rt.\u0275fac=function(pt){return new(pt||rt)(r.Y36(r.sBO,16))},rt.\u0275pipe=r.Yjl({name:"async",type:rt,pure:!1}),rt})(),$o=(()=>{class rt{transform(pt){if(null==pt)return null;if("string"!=typeof pt)throw Wo();return pt.toLowerCase()}}return rt.\u0275fac=function(pt){return new(pt||rt)},rt.\u0275pipe=r.Yjl({name:"lowercase",type:rt,pure:!0}),rt})();const To=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let Ns=(()=>{class rt{transform(pt){if(null==pt)return null;if("string"!=typeof pt)throw Wo();return pt.replace(To,Kt=>Kt[0].toUpperCase()+Kt.substr(1).toLowerCase())}}return rt.\u0275fac=function(pt){return new(pt||rt)},rt.\u0275pipe=r.Yjl({name:"titlecase",type:rt,pure:!0}),rt})(),hs=(()=>{class rt{transform(pt){if(null==pt)return null;if("string"!=typeof pt)throw Wo();return pt.toUpperCase()}}return rt.\u0275fac=function(pt){return new(pt||rt)},rt.\u0275pipe=r.Yjl({name:"uppercase",type:rt,pure:!0}),rt})();const Oo=new r.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let kr=(()=>{class rt{constructor(pt,Kt){this.locale=pt,this.defaultTimezone=Kt}transform(pt,Kt="mediumDate",Kn,oi){var wi;if(null==pt||""===pt||pt!=pt)return null;try{return Gi(pt,Kt,oi||this.locale,null!==(wi=null!=Kn?Kn:this.defaultTimezone)&&void 0!==wi?wi:void 0)}catch(as){throw Wo()}}}return rt.\u0275fac=function(pt){return new(pt||rt)(r.Y36(r.soG,16),r.Y36(Oo,24))},rt.\u0275pipe=r.Yjl({name:"date",type:rt,pure:!0}),rt})();const Ki=/#/g;let ut=(()=>{class rt{constructor(pt){this._localization=pt}transform(pt,Kt,Kn){if(null==pt)return"";if("object"!=typeof Kt||null===Kt)throw Wo();return Kt[ua(pt,Object.keys(Kt),this._localization,Kn)].replace(Ki,pt.toString())}}return rt.\u0275fac=function(pt){return new(pt||rt)(r.Y36(Go,16))},rt.\u0275pipe=r.Yjl({name:"i18nPlural",type:rt,pure:!0}),rt})(),te=(()=>{class rt{transform(pt){return JSON.stringify(pt,null,2)}}return rt.\u0275fac=function(pt){return new(pt||rt)},rt.\u0275pipe=r.Yjl({name:"json",type:rt,pure:!1}),rt})(),jt=(()=>{class rt{constructor(pt){this.differs=pt,this.keyValues=[],this.compareFn=hn}transform(pt,Kt=hn){if(!pt||!(pt instanceof Map)&&"object"!=typeof pt)return null;this.differ||(this.differ=this.differs.find(pt).create());const Kn=this.differ.diff(pt),oi=Kt!==this.compareFn;return Kn&&(this.keyValues=[],Kn.forEachItem(wi=>{this.keyValues.push(function Ue(rt,qt){return{key:rt,value:qt}}(wi.key,wi.currentValue))})),(Kn||oi)&&(this.keyValues.sort(Kt),this.compareFn=Kt),this.keyValues}}return rt.\u0275fac=function(pt){return new(pt||rt)(r.Y36(r.aQg,16))},rt.\u0275pipe=r.Yjl({name:"keyvalue",type:rt,pure:!1}),rt})();function hn(rt,qt){const pt=rt.key,Kt=qt.key;if(pt===Kt)return 0;if(void 0===pt)return 1;if(void 0===Kt)return-1;if(null===pt)return 1;if(null===Kt)return-1;if("string"==typeof pt&&"string"==typeof Kt)return pt<Kt?-1:1;if("number"==typeof pt&&"number"==typeof Kt)return pt-Kt;if("boolean"==typeof pt&&"boolean"==typeof Kt)return pt<Kt?-1:1;const Kn=String(pt),oi=String(Kt);return Kn==oi?0:Kn<oi?-1:1}let ii=(()=>{class rt{constructor(pt){this._locale=pt}transform(pt,Kt,Kn){if(!_s(pt))return null;Kn=Kn||this._locale;try{return function nr(rt,qt,pt){return ir(rt,jr(pr(qt,Ve.Decimal),Fn(qt,Oe.MinusSign)),qt,Oe.Group,Oe.Decimal,pt)}(Vo(pt),Kn,Kt)}catch(oi){throw Wo()}}}return rt.\u0275fac=function(pt){return new(pt||rt)(r.Y36(r.soG,16))},rt.\u0275pipe=r.Yjl({name:"number",type:rt,pure:!0}),rt})(),Oi=(()=>{class rt{constructor(pt){this._locale=pt}transform(pt,Kt,Kn){if(!_s(pt))return null;Kn=Kn||this._locale;try{return function kn(rt,qt,pt){return ir(rt,jr(pr(qt,Ve.Percent),Fn(qt,Oe.MinusSign)),qt,Oe.Group,Oe.Decimal,pt,!0).replace(new RegExp("%","g"),Fn(qt,Oe.PercentSign))}(Vo(pt),Kn,Kt)}catch(oi){throw Wo()}}}return rt.\u0275fac=function(pt){return new(pt||rt)(r.Y36(r.soG,16))},rt.\u0275pipe=r.Yjl({name:"percent",type:rt,pure:!0}),rt})();function _s(rt){return!(null==rt||""===rt||rt!=rt)}function Vo(rt){if("string"==typeof rt&&!isNaN(Number(rt)-parseFloat(rt)))return Number(rt);if("number"!=typeof rt)throw new Error(`${rt} is not a number`);return rt}let hl=(()=>{class rt{}return rt.\u0275fac=function(pt){return new(pt||rt)},rt.\u0275mod=r.oAB({type:rt}),rt.\u0275inj=r.cJS({}),rt})();const sl="browser";function Cl(rt){return rt===sl}let Mc=(()=>{class rt{}return rt.\u0275prov=(0,r.Yz7)({token:rt,providedIn:"root",factory:()=>new ru((0,r.LFG)(g),window)}),rt})();class ru{constructor(qt,pt){this.document=qt,this.window=pt,this.offset=()=>[0,0]}setOffset(qt){this.offset=Array.isArray(qt)?()=>qt:qt}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(qt){this.supportsScrolling()&&this.window.scrollTo(qt[0],qt[1])}scrollToAnchor(qt){if(!this.supportsScrolling())return;const pt=function Ol(rt,qt){const pt=rt.getElementById(qt)||rt.getElementsByName(qt)[0];if(pt)return pt;if("function"==typeof rt.createTreeWalker&&rt.body&&(rt.body.createShadowRoot||rt.body.attachShadow)){const Kt=rt.createTreeWalker(rt.body,NodeFilter.SHOW_ELEMENT);let Kn=Kt.currentNode;for(;Kn;){const oi=Kn.shadowRoot;if(oi){const wi=oi.getElementById(qt)||oi.querySelector(`[name="${qt}"]`);if(wi)return wi}Kn=Kt.nextNode()}}return null}(this.document,qt);pt&&(this.scrollToElement(pt),pt.focus())}setHistoryScrollRestoration(qt){if(this.supportScrollRestoration()){const pt=this.window.history;pt&&pt.scrollRestoration&&(pt.scrollRestoration=qt)}}scrollToElement(qt){const pt=qt.getBoundingClientRect(),Kt=pt.left+this.window.pageXOffset,Kn=pt.top+this.window.pageYOffset,oi=this.offset();this.window.scrollTo(Kt-oi[0],Kn-oi[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const qt=Ja(this.window.history)||Ja(Object.getPrototypeOf(this.window.history));return!(!qt||!qt.writable&&!qt.set)}catch(qt){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(qt){return!1}}}function Ja(rt){return Object.getOwnPropertyDescriptor(rt,"scrollRestoration")}class Ya{}},19725:(v,b,i)=>{"use strict";i.d(b,{JF:()=>fi,LE:()=>re,TP:()=>We,UA:()=>Pe,eN:()=>Oe});var r=i(11048),a=i(89724),f=i(25917),u=i(70882),e=i(94612),p=i(45435),g=i(88002);class T{}class M{}class w{constructor(an){this.normalizedNames=new Map,this.lazyUpdate=null,an?this.lazyInit="string"==typeof an?()=>{this.headers=new Map,an.split("\n").forEach(vn=>{const Zn=vn.indexOf(":");if(Zn>0){const Xn=vn.slice(0,Zn),zn=Xn.toLowerCase(),ri=vn.slice(Zn+1).trim();this.maybeSetNormalizedName(Xn,zn),this.headers.has(zn)?this.headers.get(zn).push(ri):this.headers.set(zn,[ri])}})}:()=>{this.headers=new Map,Object.keys(an).forEach(vn=>{let Zn=an[vn];const Xn=vn.toLowerCase();"string"==typeof Zn&&(Zn=[Zn]),Zn.length>0&&(this.headers.set(Xn,Zn),this.maybeSetNormalizedName(vn,Xn))})}:this.headers=new Map}has(an){return this.init(),this.headers.has(an.toLowerCase())}get(an){this.init();const vn=this.headers.get(an.toLowerCase());return vn&&vn.length>0?vn[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(an){return this.init(),this.headers.get(an.toLowerCase())||null}append(an,vn){return this.clone({name:an,value:vn,op:"a"})}set(an,vn){return this.clone({name:an,value:vn,op:"s"})}delete(an,vn){return this.clone({name:an,value:vn,op:"d"})}maybeSetNormalizedName(an,vn){this.normalizedNames.has(vn)||this.normalizedNames.set(vn,an)}init(){this.lazyInit&&(this.lazyInit instanceof w?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(an=>this.applyUpdate(an)),this.lazyUpdate=null))}copyFrom(an){an.init(),Array.from(an.headers.keys()).forEach(vn=>{this.headers.set(vn,an.headers.get(vn)),this.normalizedNames.set(vn,an.normalizedNames.get(vn))})}clone(an){const vn=new w;return vn.lazyInit=this.lazyInit&&this.lazyInit instanceof w?this.lazyInit:this,vn.lazyUpdate=(this.lazyUpdate||[]).concat([an]),vn}applyUpdate(an){const vn=an.name.toLowerCase();switch(an.op){case"a":case"s":let Zn=an.value;if("string"==typeof Zn&&(Zn=[Zn]),0===Zn.length)return;this.maybeSetNormalizedName(an.name,vn);const Xn=("a"===an.op?this.headers.get(vn):void 0)||[];Xn.push(...Zn),this.headers.set(vn,Xn);break;case"d":const zn=an.value;if(zn){let ri=this.headers.get(vn);if(!ri)return;ri=ri.filter(Gi=>-1===zn.indexOf(Gi)),0===ri.length?(this.headers.delete(vn),this.normalizedNames.delete(vn)):this.headers.set(vn,ri)}else this.headers.delete(vn),this.normalizedNames.delete(vn)}}forEach(an){this.init(),Array.from(this.normalizedNames.keys()).forEach(vn=>an(this.normalizedNames.get(vn),this.headers.get(vn)))}}class R{encodeKey(an){return q(an)}encodeValue(an){return q(an)}decodeKey(an){return decodeURIComponent(an)}decodeValue(an){return decodeURIComponent(an)}}const W=/%(\d[a-f0-9])/gi,j={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function q(Er){return encodeURIComponent(Er).replace(W,(an,vn)=>{var Zn;return null!==(Zn=j[vn])&&void 0!==Zn?Zn:an})}function ue(Er){return`${Er}`}class re{constructor(an={}){if(this.updates=null,this.cloneFrom=null,this.encoder=an.encoder||new R,an.fromString){if(an.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function U(Er,an){const vn=new Map;return Er.length>0&&Er.replace(/^\?/,"").split("&").forEach(Xn=>{const zn=Xn.indexOf("="),[ri,Gi]=-1==zn?[an.decodeKey(Xn),""]:[an.decodeKey(Xn.slice(0,zn)),an.decodeValue(Xn.slice(zn+1))],ui=vn.get(ri)||[];ui.push(Gi),vn.set(ri,ui)}),vn}(an.fromString,this.encoder)}else an.fromObject?(this.map=new Map,Object.keys(an.fromObject).forEach(vn=>{const Zn=an.fromObject[vn];this.map.set(vn,Array.isArray(Zn)?Zn:[Zn])})):this.map=null}has(an){return this.init(),this.map.has(an)}get(an){this.init();const vn=this.map.get(an);return vn?vn[0]:null}getAll(an){return this.init(),this.map.get(an)||null}keys(){return this.init(),Array.from(this.map.keys())}append(an,vn){return this.clone({param:an,value:vn,op:"a"})}appendAll(an){const vn=[];return Object.keys(an).forEach(Zn=>{const Xn=an[Zn];Array.isArray(Xn)?Xn.forEach(zn=>{vn.push({param:Zn,value:zn,op:"a"})}):vn.push({param:Zn,value:Xn,op:"a"})}),this.clone(vn)}set(an,vn){return this.clone({param:an,value:vn,op:"s"})}delete(an,vn){return this.clone({param:an,value:vn,op:"d"})}toString(){return this.init(),this.keys().map(an=>{const vn=this.encoder.encodeKey(an);return this.map.get(an).map(Zn=>vn+"="+this.encoder.encodeValue(Zn)).join("&")}).filter(an=>""!==an).join("&")}clone(an){const vn=new re({encoder:this.encoder});return vn.cloneFrom=this.cloneFrom||this,vn.updates=(this.updates||[]).concat(an),vn}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(an=>this.map.set(an,this.cloneFrom.map.get(an))),this.updates.forEach(an=>{switch(an.op){case"a":case"s":const vn=("a"===an.op?this.map.get(an.param):void 0)||[];vn.push(ue(an.value)),this.map.set(an.param,vn);break;case"d":if(void 0===an.value){this.map.delete(an.param);break}{let Zn=this.map.get(an.param)||[];const Xn=Zn.indexOf(ue(an.value));-1!==Xn&&Zn.splice(Xn,1),Zn.length>0?this.map.set(an.param,Zn):this.map.delete(an.param)}}}),this.cloneFrom=this.updates=null)}}class se{constructor(){this.map=new Map}set(an,vn){return this.map.set(an,vn),this}get(an){return this.map.has(an)||this.map.set(an,an.defaultValue()),this.map.get(an)}delete(an){return this.map.delete(an),this}has(an){return this.map.has(an)}keys(){return this.map.keys()}}function ie(Er){return"undefined"!=typeof ArrayBuffer&&Er instanceof ArrayBuffer}function fe(Er){return"undefined"!=typeof Blob&&Er instanceof Blob}function _e(Er){return"undefined"!=typeof FormData&&Er instanceof FormData}class ce{constructor(an,vn,Zn,Xn){let zn;if(this.url=vn,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=an.toUpperCase(),function ae(Er){switch(Er){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Xn?(this.body=void 0!==Zn?Zn:null,zn=Xn):zn=Zn,zn&&(this.reportProgress=!!zn.reportProgress,this.withCredentials=!!zn.withCredentials,zn.responseType&&(this.responseType=zn.responseType),zn.headers&&(this.headers=zn.headers),zn.context&&(this.context=zn.context),zn.params&&(this.params=zn.params)),this.headers||(this.headers=new w),this.context||(this.context=new se),this.params){const ri=this.params.toString();if(0===ri.length)this.urlWithParams=vn;else{const Gi=vn.indexOf("?");this.urlWithParams=vn+(-1===Gi?"?":Gi<vn.length-1?"&":"")+ri}}else this.params=new re,this.urlWithParams=vn}serializeBody(){return null===this.body?null:ie(this.body)||fe(this.body)||_e(this.body)||function Ce(Er){return"undefined"!=typeof URLSearchParams&&Er instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof re?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||_e(this.body)?null:fe(this.body)?this.body.type||null:ie(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof re?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(an={}){var vn;const Zn=an.method||this.method,Xn=an.url||this.url,zn=an.responseType||this.responseType,ri=void 0!==an.body?an.body:this.body,Gi=void 0!==an.withCredentials?an.withCredentials:this.withCredentials,ui=void 0!==an.reportProgress?an.reportProgress:this.reportProgress;let vr=an.headers||this.headers,Ji=an.params||this.params;const mn=null!==(vn=an.context)&&void 0!==vn?vn:this.context;return void 0!==an.setHeaders&&(vr=Object.keys(an.setHeaders).reduce((Rn,Wn)=>Rn.set(Wn,an.setHeaders[Wn]),vr)),an.setParams&&(Ji=Object.keys(an.setParams).reduce((Rn,Wn)=>Rn.set(Wn,an.setParams[Wn]),Ji)),new ce(Zn,Xn,ri,{params:Ji,headers:vr,context:mn,reportProgress:ui,responseType:zn,withCredentials:Gi})}}var Be=(()=>((Be=Be||{})[Be.Sent=0]="Sent",Be[Be.UploadProgress=1]="UploadProgress",Be[Be.ResponseHeader=2]="ResponseHeader",Be[Be.DownloadProgress=3]="DownloadProgress",Be[Be.Response=4]="Response",Be[Be.User=5]="User",Be))();class Ve{constructor(an,vn=200,Zn="OK"){this.headers=an.headers||new w,this.status=void 0!==an.status?an.status:vn,this.statusText=an.statusText||Zn,this.url=an.url||null,this.ok=this.status>=200&&this.status<300}}class Xe extends Ve{constructor(an={}){super(an),this.type=Be.ResponseHeader}clone(an={}){return new Xe({headers:an.headers||this.headers,status:void 0!==an.status?an.status:this.status,statusText:an.statusText||this.statusText,url:an.url||this.url||void 0})}}class He extends Ve{constructor(an={}){super(an),this.type=Be.Response,this.body=void 0!==an.body?an.body:null}clone(an={}){return new He({body:void 0!==an.body?an.body:this.body,headers:an.headers||this.headers,status:void 0!==an.status?an.status:this.status,statusText:an.statusText||this.statusText,url:an.url||this.url||void 0})}}class Pe extends Ve{constructor(an){super(an,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${an.url||"(unknown url)"}`:`Http failure response for ${an.url||"(unknown url)"}: ${an.status} ${an.statusText}`,this.error=an.error||null}}function Ge(Er,an){return{body:an,headers:Er.headers,context:Er.context,observe:Er.observe,params:Er.params,reportProgress:Er.reportProgress,responseType:Er.responseType,withCredentials:Er.withCredentials}}let Oe=(()=>{class Er{constructor(vn){this.handler=vn}request(vn,Zn,Xn={}){let zn;if(vn instanceof ce)zn=vn;else{let ui,vr;ui=Xn.headers instanceof w?Xn.headers:new w(Xn.headers),Xn.params&&(vr=Xn.params instanceof re?Xn.params:new re({fromObject:Xn.params})),zn=new ce(vn,Zn,void 0!==Xn.body?Xn.body:null,{headers:ui,context:Xn.context,params:vr,reportProgress:Xn.reportProgress,responseType:Xn.responseType||"json",withCredentials:Xn.withCredentials})}const ri=(0,f.of)(zn).pipe((0,e.b)(ui=>this.handler.handle(ui)));if(vn instanceof ce||"events"===Xn.observe)return ri;const Gi=ri.pipe((0,p.h)(ui=>ui instanceof He));switch(Xn.observe||"body"){case"body":switch(zn.responseType){case"arraybuffer":return Gi.pipe((0,g.U)(ui=>{if(null!==ui.body&&!(ui.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return ui.body}));case"blob":return Gi.pipe((0,g.U)(ui=>{if(null!==ui.body&&!(ui.body instanceof Blob))throw new Error("Response is not a Blob.");return ui.body}));case"text":return Gi.pipe((0,g.U)(ui=>{if(null!==ui.body&&"string"!=typeof ui.body)throw new Error("Response is not a string.");return ui.body}));default:return Gi.pipe((0,g.U)(ui=>ui.body))}case"response":return Gi;default:throw new Error(`Unreachable: unhandled observe type ${Xn.observe}}`)}}delete(vn,Zn={}){return this.request("DELETE",vn,Zn)}get(vn,Zn={}){return this.request("GET",vn,Zn)}head(vn,Zn={}){return this.request("HEAD",vn,Zn)}jsonp(vn,Zn){return this.request("JSONP",vn,{params:(new re).append(Zn,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(vn,Zn={}){return this.request("OPTIONS",vn,Zn)}patch(vn,Zn,Xn={}){return this.request("PATCH",vn,Ge(Xn,Zn))}post(vn,Zn,Xn={}){return this.request("POST",vn,Ge(Xn,Zn))}put(vn,Zn,Xn={}){return this.request("PUT",vn,Ge(Xn,Zn))}}return Er.\u0275fac=function(vn){return new(vn||Er)(a.LFG(T))},Er.\u0275prov=a.Yz7({token:Er,factory:Er.\u0275fac}),Er})();class Tt{constructor(an,vn){this.next=an,this.interceptor=vn}handle(an){return this.interceptor.intercept(an,this.next)}}const We=new a.OlP("HTTP_INTERCEPTORS");let Qt=(()=>{class Er{intercept(vn,Zn){return Zn.handle(vn)}}return Er.\u0275fac=function(vn){return new(vn||Er)},Er.\u0275prov=a.Yz7({token:Er,factory:Er.\u0275fac}),Er})();const Fn=/^\)\]\}',?\n/;let mi=(()=>{class Er{constructor(vn){this.xhrFactory=vn}handle(vn){if("JSONP"===vn.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new u.y(Zn=>{const Xn=this.xhrFactory.build();if(Xn.open(vn.method,vn.urlWithParams),vn.withCredentials&&(Xn.withCredentials=!0),vn.headers.forEach((Wn,et)=>Xn.setRequestHeader(Wn,et.join(","))),vn.headers.has("Accept")||Xn.setRequestHeader("Accept","application/json, text/plain, */*"),!vn.headers.has("Content-Type")){const Wn=vn.detectContentTypeHeader();null!==Wn&&Xn.setRequestHeader("Content-Type",Wn)}if(vn.responseType){const Wn=vn.responseType.toLowerCase();Xn.responseType="json"!==Wn?Wn:"text"}const zn=vn.serializeBody();let ri=null;const Gi=()=>{if(null!==ri)return ri;const Wn=Xn.statusText||"OK",et=new w(Xn.getAllResponseHeaders()),Le=function pr(Er){return"responseURL"in Er&&Er.responseURL?Er.responseURL:/^X-Request-URL:/m.test(Er.getAllResponseHeaders())?Er.getResponseHeader("X-Request-URL"):null}(Xn)||vn.url;return ri=new Xe({headers:et,status:Xn.status,statusText:Wn,url:Le}),ri},ui=()=>{let{headers:Wn,status:et,statusText:Le,url:Re}=Gi(),Se=null;204!==et&&(Se=void 0===Xn.response?Xn.responseText:Xn.response),0===et&&(et=Se?200:0);let dt=et>=200&&et<300;if("json"===vn.responseType&&"string"==typeof Se){const st=Se;Se=Se.replace(Fn,"");try{Se=""!==Se?JSON.parse(Se):null}catch(nn){Se=st,dt&&(dt=!1,Se={error:nn,text:Se})}}dt?(Zn.next(new He({body:Se,headers:Wn,status:et,statusText:Le,url:Re||void 0})),Zn.complete()):Zn.error(new Pe({error:Se,headers:Wn,status:et,statusText:Le,url:Re||void 0}))},vr=Wn=>{const{url:et}=Gi(),Le=new Pe({error:Wn,status:Xn.status||0,statusText:Xn.statusText||"Unknown Error",url:et||void 0});Zn.error(Le)};let Ji=!1;const mn=Wn=>{Ji||(Zn.next(Gi()),Ji=!0);let et={type:Be.DownloadProgress,loaded:Wn.loaded};Wn.lengthComputable&&(et.total=Wn.total),"text"===vn.responseType&&!!Xn.responseText&&(et.partialText=Xn.responseText),Zn.next(et)},Rn=Wn=>{let et={type:Be.UploadProgress,loaded:Wn.loaded};Wn.lengthComputable&&(et.total=Wn.total),Zn.next(et)};return Xn.addEventListener("load",ui),Xn.addEventListener("error",vr),Xn.addEventListener("timeout",vr),Xn.addEventListener("abort",vr),vn.reportProgress&&(Xn.addEventListener("progress",mn),null!==zn&&Xn.upload&&Xn.upload.addEventListener("progress",Rn)),Xn.send(zn),Zn.next({type:Be.Sent}),()=>{Xn.removeEventListener("error",vr),Xn.removeEventListener("abort",vr),Xn.removeEventListener("load",ui),Xn.removeEventListener("timeout",vr),vn.reportProgress&&(Xn.removeEventListener("progress",mn),null!==zn&&Xn.upload&&Xn.upload.removeEventListener("progress",Rn)),Xn.readyState!==Xn.DONE&&Xn.abort()}})}}return Er.\u0275fac=function(vn){return new(vn||Er)(a.LFG(r.JF))},Er.\u0275prov=a.Yz7({token:Er,factory:Er.\u0275fac}),Er})();const ci=new a.OlP("XSRF_COOKIE_NAME"),hr=new a.OlP("XSRF_HEADER_NAME");class Br{}let Ur=(()=>{class Er{constructor(vn,Zn,Xn){this.doc=vn,this.platform=Zn,this.cookieName=Xn,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const vn=this.doc.cookie||"";return vn!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,r.Mx)(vn,this.cookieName),this.lastCookieString=vn),this.lastToken}}return Er.\u0275fac=function(vn){return new(vn||Er)(a.LFG(r.K0),a.LFG(a.Lbi),a.LFG(ci))},Er.\u0275prov=a.Yz7({token:Er,factory:Er.\u0275fac}),Er})(),Hn=(()=>{class Er{constructor(vn,Zn){this.tokenService=vn,this.headerName=Zn}intercept(vn,Zn){const Xn=vn.url.toLowerCase();if("GET"===vn.method||"HEAD"===vn.method||Xn.startsWith("http://")||Xn.startsWith("https://"))return Zn.handle(vn);const zn=this.tokenService.getToken();return null!==zn&&!vn.headers.has(this.headerName)&&(vn=vn.clone({headers:vn.headers.set(this.headerName,zn)})),Zn.handle(vn)}}return Er.\u0275fac=function(vn){return new(vn||Er)(a.LFG(Br),a.LFG(hr))},Er.\u0275prov=a.Yz7({token:Er,factory:Er.\u0275fac}),Er})(),er=(()=>{class Er{constructor(vn,Zn){this.backend=vn,this.injector=Zn,this.chain=null}handle(vn){if(null===this.chain){const Zn=this.injector.get(We,[]);this.chain=Zn.reduceRight((Xn,zn)=>new Tt(Xn,zn),this.backend)}return this.chain.handle(vn)}}return Er.\u0275fac=function(vn){return new(vn||Er)(a.LFG(M),a.LFG(a.zs3))},Er.\u0275prov=a.Yz7({token:Er,factory:Er.\u0275fac}),Er})(),bi=(()=>{class Er{static disable(){return{ngModule:Er,providers:[{provide:Hn,useClass:Qt}]}}static withOptions(vn={}){return{ngModule:Er,providers:[vn.cookieName?{provide:ci,useValue:vn.cookieName}:[],vn.headerName?{provide:hr,useValue:vn.headerName}:[]]}}}return Er.\u0275fac=function(vn){return new(vn||Er)},Er.\u0275mod=a.oAB({type:Er}),Er.\u0275inj=a.cJS({providers:[Hn,{provide:We,useExisting:Hn,multi:!0},{provide:Br,useClass:Ur},{provide:ci,useValue:"XSRF-TOKEN"},{provide:hr,useValue:"X-XSRF-TOKEN"}]}),Er})(),fi=(()=>{class Er{}return Er.\u0275fac=function(vn){return new(vn||Er)},Er.\u0275mod=a.oAB({type:Er}),Er.\u0275inj=a.cJS({providers:[Oe,{provide:T,useClass:er},mi,{provide:M,useExisting:mi}],imports:[[bi.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),Er})()},89724:(v,b,i)=>{"use strict";i.d(b,{$8M:()=>id,$Z:()=>Rl,AFp:()=>gT,ALo:()=>LS,AaK:()=>T,AsE:()=>my,BQk:()=>sg,CHM:()=>Fa,CRH:()=>zS,CZH:()=>Jy,CqO:()=>ib,DdM:()=>MS,DjV:()=>wb,Dn7:()=>HS,DtL:()=>lS,DyG:()=>fc,EJc:()=>tO,EiD:()=>Vh,EpF:()=>nb,F$t:()=>sb,F4k:()=>rb,FYo:()=>mS,FiY:()=>fr,G48:()=>bO,Gf:()=>VS,GfV:()=>xy,GkF:()=>sy,Gpc:()=>R,Gre:()=>xb,Hsn:()=>B1,IIB:()=>_T,Ikx:()=>Ey,JOm:()=>Md,JVY:()=>ah,Jf7:()=>Lf,L6k:()=>Hp,LAX:()=>Uh,LFG:()=>ve,LSH:()=>Kd,Lbi:()=>KM,MAs:()=>P1,MGl:()=>U1,MT6:()=>Rb,N_p:()=>Oy,NdJ:()=>ly,OlP:()=>qa,Oqu:()=>_y,PXZ:()=>pO,Q6J:()=>Na,QGY:()=>ay,Qsj:()=>sM,QtT:()=>uS,R0b:()=>Ph,RDi:()=>Ja,Rgc:()=>Fv,SBq:()=>wv,SDv:()=>aS,Sil:()=>rO,Suo:()=>ZS,TTD:()=>_s,TgZ:()=>Yf,Tol:()=>yb,Udp:()=>fy,UuU:()=>pS,VKq:()=>OS,VLi:()=>cO,W1O:()=>XS,WLB:()=>AS,X6Q:()=>EO,XFs:()=>_r,Xpm:()=>Fe,Y36:()=>Ea,YKP:()=>bS,YNc:()=>w1,Yjl:()=>Vt,Yz7:()=>xt,ZZ4:()=>f0,Zx4:()=>cS,_Bn:()=>fS,_UZ:()=>rp,_Vd:()=>t0,_c5:()=>LO,_uU:()=>V1,aQg:()=>dE,c2e:()=>qM,cJS:()=>Gt,cg1:()=>Sy,d8E:()=>by,dDg:()=>CT,deG:()=>cl,dqk:()=>vr,eBb:()=>dl,eFA:()=>AT,ekj:()=>py,g9A:()=>vT,h0i:()=>Vg,hGG:()=>kO,hYB:()=>uy,hij:()=>Z1,i9L:()=>$p,iGM:()=>GS,ifc:()=>Xn,ip1:()=>mT,kEZ:()=>DS,kL8:()=>Ub,kYT:()=>$t,l5B:()=>xS,lG2:()=>yt,lcZ:()=>kS,lnq:()=>gy,mCW:()=>Pf,n5z:()=>gf,oAB:()=>Et,oJD:()=>Zh,oxw:()=>ag,pB0:()=>wf,pQV:()=>q1,pYS:()=>zu,q3G:()=>Du,qLn:()=>Cp,qOj:()=>_v,qZA:()=>cf,qbA:()=>RS,qzn:()=>Xd,r_U:()=>JM,s9C:()=>Ov,sBO:()=>SO,sIi:()=>Im,s_b:()=>o0,soG:()=>Ky,tBr:()=>Vn,tHW:()=>My,tb:()=>yT,tp0:()=>Ui,uIk:()=>vv,uOi:()=>__,vHH:()=>q,vpe:()=>X_,wAp:()=>za,xi3:()=>$S,xp6:()=>ia,yhl:()=>Bd,ynx:()=>nh,z2F:()=>iE,z3N:()=>Rc,zSh:()=>gu,zs3:()=>qp});var r=i(79765),a=i(13464),f=i(70882),u=i(66682),e=i(4121);function p(c){for(let d in c)if(c[d]===p)return d;throw Error("Could not find renamed property on target object.")}function g(c,d){for(const m in d)d.hasOwnProperty(m)&&!c.hasOwnProperty(m)&&(c[m]=d[m])}function T(c){if("string"==typeof c)return c;if(Array.isArray(c))return"["+c.map(T).join(", ")+"]";if(null==c)return""+c;if(c.overriddenName)return`${c.overriddenName}`;if(c.name)return`${c.name}`;const d=c.toString();if(null==d)return""+d;const m=d.indexOf("\n");return-1===m?d:d.substring(0,m)}function M(c,d){return null==c||""===c?null===d?"":d:null==d||""===d?c:c+" "+d}const w=p({__forward_ref__:p});function R(c){return c.__forward_ref__=R,c.toString=function(){return T(this())},c}function U(c){return W(c)?c():c}function W(c){return"function"==typeof c&&c.hasOwnProperty(w)&&c.__forward_ref__===R}class q extends Error{constructor(d,m){super(function ue(c,d){return`NG0${Math.abs(c)}${d?": "+d:""}`}(d,m)),this.code=d}}function re(c){return"string"==typeof c?c:null==c?"":String(c)}function H(c){return"function"==typeof c?c.name||c.toString():"object"==typeof c&&null!=c&&"function"==typeof c.type?c.type.name||c.type.toString():re(c)}function fe(c,d){const m=d?` in ${d}`:"";throw new q(-201,`No provider for ${H(c)} found${m}`)}function Yt(c,d,m,A){throw new Error(`ASSERTION ERROR: ${c}`+(null==A?"":` [Expected=> ${m} ${A} ${d} <=Actual]`))}function xt(c){return{token:c.token,providedIn:c.providedIn||null,factory:c.factory,value:void 0}}function Gt(c){return{providers:c.providers||[],imports:c.imports||[]}}function Fn(c){return pr(c,Br)||pr(c,Hn)}function pr(c,d){return c.hasOwnProperty(d)?c[d]:null}function hr(c){return c&&(c.hasOwnProperty(Ur)||c.hasOwnProperty(er))?c[Ur]:null}const Br=p({\u0275prov:p}),Ur=p({\u0275inj:p}),Hn=p({ngInjectableDef:p}),er=p({ngInjectorDef:p});var _r=(()=>((_r=_r||{})[_r.Default=0]="Default",_r[_r.Host=1]="Host",_r[_r.Self=2]="Self",_r[_r.SkipSelf=4]="SkipSelf",_r[_r.Optional=8]="Optional",_r))();let ei;function fi(c){const d=ei;return ei=c,d}function no(c,d,m){const A=Fn(c);return A&&"root"==A.providedIn?void 0===A.value?A.value=A.factory():A.value:m&_r.Optional?null:void 0!==d?d:void fe(T(c),"Injector")}function Er(c){return{toString:c}.toString()}var an=(()=>((an=an||{})[an.OnPush=0]="OnPush",an[an.Default=1]="Default",an))(),Xn=(()=>{return(c=Xn||(Xn={}))[c.Emulated=0]="Emulated",c[c.None=2]="None",c[c.ShadowDom=3]="ShadowDom",Xn;var c})();const zn="undefined"!=typeof globalThis&&globalThis,ri="undefined"!=typeof window&&window,Gi="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,vr=zn||"undefined"!=typeof global&&global||ri||Gi,Rn={},Wn=[],et=p({\u0275cmp:p}),Le=p({\u0275dir:p}),Re=p({\u0275pipe:p}),Se=p({\u0275mod:p}),dt=p({\u0275fac:p}),st=p({__NG_ELEMENT_ID__:p});let nn=0;function Fe(c){return Er(()=>{const m={},A={type:c.type,providersResolver:null,decls:c.decls,vars:c.vars,factory:null,template:c.template||null,consts:c.consts||null,ngContentSelectors:c.ngContentSelectors,hostBindings:c.hostBindings||null,hostVars:c.hostVars||0,hostAttrs:c.hostAttrs||null,contentQueries:c.contentQueries||null,declaredInputs:m,inputs:null,outputs:null,exportAs:c.exportAs||null,onPush:c.changeDetection===an.OnPush,directiveDefs:null,pipeDefs:null,selectors:c.selectors||Wn,viewQuery:c.viewQuery||null,features:c.features||null,data:c.data||{},encapsulation:c.encapsulation||Xn.Emulated,id:"c",styles:c.styles||Wn,_:null,setInput:null,schemas:c.schemas||null,tView:null},k=c.directives,ee=c.features,pe=c.pipes;return A.id+=nn++,A.inputs=_t(c.inputs,m),A.outputs=_t(c.outputs),ee&&ee.forEach(Ie=>Ie(A)),A.directiveDefs=k?()=>("function"==typeof k?k():k).map(ti):null,A.pipeDefs=pe?()=>("function"==typeof pe?pe():pe).map(Ut):null,A})}function ti(c){return yn(c)||function Cr(c){return c[Le]||null}(c)}function Ut(c){return function xi(c){return c[Re]||null}(c)}const Dn={};function Et(c){return Er(()=>{const d={type:c.type,bootstrap:c.bootstrap||Wn,declarations:c.declarations||Wn,imports:c.imports||Wn,exports:c.exports||Wn,transitiveCompileScopes:null,schemas:c.schemas||null,id:c.id||null};return null!=c.id&&(Dn[c.id]=c.type),d})}function $t(c,d){return Er(()=>{const m=yi(c,!0);m.declarations=d.declarations||Wn,m.imports=d.imports||Wn,m.exports=d.exports||Wn})}function _t(c,d){if(null==c)return Rn;const m={};for(const A in c)if(c.hasOwnProperty(A)){let k=c[A],ee=k;Array.isArray(k)&&(ee=k[1],k=k[0]),m[k]=A,d&&(d[k]=ee)}return m}const yt=Fe;function Vt(c){return{type:c.type,name:c.name,factory:null,pure:!1!==c.pure,onDestroy:c.type.prototype.ngOnDestroy||null}}function yn(c){return c[et]||null}function yi(c,d){const m=c[Se]||null;if(!m&&!0===d)throw new Error(`Type ${T(c)} does not have '\u0275mod' property.`);return m}function es(c){return Array.isArray(c)&&"object"==typeof c[1]}function ma(c){return Array.isArray(c)&&!0===c[1]}function ya(c){return 0!=(8&c.flags)}function fa(c){return 2==(2&c.flags)}function sa(c){return 1==(1&c.flags)}function Ra(c){return null!==c.template}function pl(c){return 0!=(512&c[2])}function Oi(c,d){return c.hasOwnProperty(dt)?c[dt]:null}class ki{constructor(d,m,A){this.previousValue=d,this.currentValue=m,this.firstChange=A}isFirstChange(){return this.firstChange}}function _s(){return Vo}function Vo(c){return c.type.prototype.ngOnChanges&&(c.setInput=Ks),Fs}function Fs(){const c=sl(this),d=null==c?void 0:c.current;if(d){const m=c.previous;if(m===Rn)c.previous=d;else for(let A in d)m[A]=d[A];c.current=null,this.ngOnChanges(d)}}function Ks(c,d,m,A){const k=sl(c)||function Jl(c,d){return c[hl]=d}(c,{previous:Rn,current:null}),ee=k.current||(k.current={}),pe=k.previous,Ie=this.declaredInputs[m],Je=pe[Ie];ee[Ie]=new ki(Je&&Je.currentValue,d,pe===Rn),c[A]=d}_s.ngInherit=!0;const hl="__ngSimpleChanges__";function sl(c){return c[hl]||null}let ru;function Ja(c){ru=c}function Ol(){return void 0!==ru?ru:"undefined"!=typeof document?document:void 0}function Ya(c){return!!c.listen}const rt={createRenderer:(c,d)=>Ol()};function pt(c){for(;Array.isArray(c);)c=c[0];return c}function oi(c,d){return pt(d[c])}function wi(c,d){return pt(d[c.index])}function Vs(c,d){return c.data[d]}function Os(c,d){return c[d]}function ws(c,d){const m=d[c];return es(m)?m:m[0]}function Fo(c){return 4==(4&c[2])}function Ka(c){return 128==(128&c[2])}function Bs(c,d){return null==d?null:c[d]}function mt(c){c[18]=0}function ot(c,d){c[5]+=d;let m=c,A=c[3];for(;null!==A&&(1===d&&1===m[5]||-1===d&&0===m[5]);)A[5]+=d,m=A,A=A[3]}const je={lFrame:Tr(null),bindingsEnabled:!0};function qu(){return je.bindingsEnabled}function Yi(){return je.lFrame.lView}function aa(){return je.lFrame.tView}function Fa(c){return je.lFrame.contextLView=c,c[8]}function Es(){let c=ec();for(;null!==c&&64===c.type;)c=c.parent;return c}function ec(){return je.lFrame.currentTNode}function Sl(){const c=je.lFrame,d=c.currentTNode;return c.isParent?d:d.parent}function lu(c,d){const m=je.lFrame;m.currentTNode=c,m.isParent=d}function Eu(){return je.lFrame.isParent}function iu(){je.lFrame.isParent=!1}function uu(){const c=je.lFrame;let d=c.bindingRootIndex;return-1===d&&(d=c.bindingRootIndex=c.tView.bindingStartIndex),d}function du(){return je.lFrame.bindingIndex}function Uu(){return je.lFrame.bindingIndex++}function Yu(c){const d=je.lFrame,m=d.bindingIndex;return d.bindingIndex=d.bindingIndex+c,m}function Ld(c){je.lFrame.inI18n=c}function Io(c,d){const m=je.lFrame;m.bindingIndex=m.bindingRootIndex=c,Sr(d)}function Sr(c){je.lFrame.currentDirectiveIndex=c}function Z(c){const d=je.lFrame.currentDirectiveIndex;return-1===d?null:c[d]}function De(){return je.lFrame.currentQueryIndex}function ct(c){je.lFrame.currentQueryIndex=c}function It(c){const d=c[1];return 2===d.type?d.declTNode:1===d.type?c[6]:null}function Ht(c,d,m){if(m&_r.SkipSelf){let k=d,ee=c;for(;!(k=k.parent,null!==k||m&_r.Host||(k=It(ee),null===k||(ee=ee[15],10&k.type))););if(null===k)return!1;d=k,c=ee}const A=je.lFrame=Pn();return A.currentTNode=d,A.lView=c,!0}function _n(c){const d=Pn(),m=c[1];je.lFrame=d,d.currentTNode=m.firstChild,d.lView=c,d.tView=m,d.contextLView=c,d.bindingIndex=m.bindingStartIndex,d.inI18n=!1}function Pn(){const c=je.lFrame,d=null===c?null:c.child;return null===d?Tr(c):d}function Tr(c){const d={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:c,child:null,inI18n:!1};return null!==c&&(c.child=d),d}function ai(){const c=je.lFrame;return je.lFrame=c.parent,c.currentTNode=null,c.lView=null,c}const Ei=ai;function Ci(){const c=ai();c.isParent=!0,c.tView=null,c.selectedIndex=-1,c.contextLView=null,c.elementDepthCount=0,c.currentDirectiveIndex=-1,c.currentNamespace=null,c.bindingRootIndex=-1,c.bindingIndex=-1,c.currentQueryIndex=0}function Yn(){return je.lFrame.selectedIndex}function Rr(c){je.lFrame.selectedIndex=c}function br(){const c=je.lFrame;return Vs(c.tView,c.selectedIndex)}function Ic(c,d){for(let m=d.directiveStart,A=d.directiveEnd;m<A;m++){const ee=c.data[m].type.prototype,{ngAfterContentInit:pe,ngAfterContentChecked:Ie,ngAfterViewInit:Je,ngAfterViewChecked:kt,ngOnDestroy:en}=ee;pe&&(c.contentHooks||(c.contentHooks=[])).push(-m,pe),Ie&&((c.contentHooks||(c.contentHooks=[])).push(m,Ie),(c.contentCheckHooks||(c.contentCheckHooks=[])).push(m,Ie)),Je&&(c.viewHooks||(c.viewHooks=[])).push(-m,Je),kt&&((c.viewHooks||(c.viewHooks=[])).push(m,kt),(c.viewCheckHooks||(c.viewCheckHooks=[])).push(m,kt)),null!=en&&(c.destroyHooks||(c.destroyHooks=[])).push(m,en)}}function Pu(c,d,m){_d(c,d,3,m)}function Su(c,d,m,A){(3&c[2])===m&&_d(c,d,m,A)}function Zd(c,d){let m=c[2];(3&m)===d&&(m&=2047,m+=1,c[2]=m)}function _d(c,d,m,A){const ee=null!=A?A:-1,pe=d.length-1;let Ie=0;for(let Je=void 0!==A?65535&c[18]:0;Je<pe;Je++)if("number"==typeof d[Je+1]){if(Ie=d[Je],null!=A&&Ie>=A)break}else d[Je]<0&&(c[18]+=65536),(Ie<ee||-1==ee)&&(md(c,m,d,Je),c[18]=(4294901760&c[18])+Je+2),Je++}function md(c,d,m,A){const k=m[A]<0,ee=m[A+1],Ie=c[k?-m[A]:m[A]];if(k){if(c[2]>>11<c[18]>>16&&(3&c[2])===d){c[2]+=2048;try{ee.call(Ie)}finally{}}}else try{ee.call(Ie)}finally{}}class La{constructor(d,m,A){this.factory=d,this.resolving=!1,this.canSeeViewProviders=m,this.injectImpl=A}}function gc(c,d,m){const A=Ya(c);let k=0;for(;k<m.length;){const ee=m[k];if("number"==typeof ee){if(0!==ee)break;k++;const pe=m[k++],Ie=m[k++],Je=m[k++];A?c.setAttribute(d,Ie,Je,pe):d.setAttributeNS(pe,Ie,Je)}else{const pe=ee,Ie=m[++k];pa(pe)?A&&c.setProperty(d,pe,Ie):A?c.setAttribute(d,pe,Ie):d.setAttribute(pe,Ie),k++}}return k}function En(c){return 3===c||4===c||6===c}function pa(c){return 64===c.charCodeAt(0)}function rd(c,d){if(null!==d&&0!==d.length)if(null===c||0===c.length)c=d.slice();else{let m=-1;for(let A=0;A<d.length;A++){const k=d[A];"number"==typeof k?m=k:0===m||Ze(c,m,k,null,-1===m||2===m?d[++A]:null)}}return c}function Ze(c,d,m,A,k){let ee=0,pe=c.length;if(-1===d)pe=-1;else for(;ee<c.length;){const Ie=c[ee++];if("number"==typeof Ie){if(Ie===d){pe=-1;break}if(Ie>d){pe=ee-1;break}}}for(;ee<c.length;){const Ie=c[ee];if("number"==typeof Ie)break;if(Ie===m){if(null===A)return void(null!==k&&(c[ee+1]=k));if(A===c[ee+1])return void(c[ee+2]=k)}ee++,null!==A&&ee++,null!==k&&ee++}-1!==pe&&(c.splice(pe,0,d),ee=pe+1),c.splice(ee++,0,m),null!==A&&c.splice(ee++,0,A),null!==k&&c.splice(ee++,0,k)}function Ae(c){return-1!==c}function ge(c){return 32767&c}function Ot(c,d){let m=function ht(c){return c>>16}(c),A=d;for(;m>0;)A=A[15],m--;return A}let sn=!0;function Un(c){const d=sn;return sn=c,d}let Ta=0;function ha(c,d){const m=Nu(c,d);if(-1!==m)return m;const A=d[1];A.firstCreatePass&&(c.injectorIndex=d.length,Ca(A.data,c),Ca(d,null),Ca(A.blueprint,null));const k=cc(c,d),ee=c.injectorIndex;if(Ae(k)){const pe=ge(k),Ie=Ot(k,d),Je=Ie[1].data;for(let kt=0;kt<8;kt++)d[ee+kt]=Ie[pe+kt]|Je[pe+kt]}return d[ee+8]=k,ee}function Ca(c,d){c.push(0,0,0,0,0,0,0,0,d)}function Nu(c,d){return-1===c.injectorIndex||c.parent&&c.parent.injectorIndex===c.injectorIndex||null===d[c.injectorIndex+8]?-1:c.injectorIndex}function cc(c,d){if(c.parent&&-1!==c.parent.injectorIndex)return c.parent.injectorIndex;let m=0,A=null,k=d;for(;null!==k;){const ee=k[1],pe=ee.type;if(A=2===pe?ee.declTNode:1===pe?k[6]:null,null===A)return-1;if(m++,k=k[15],-1!==A.injectorIndex)return A.injectorIndex|m<<16}return-1}function ka(c,d,m){!function ms(c,d,m){let A;"string"==typeof m?A=m.charCodeAt(0)||0:m.hasOwnProperty(st)&&(A=m[st]),null==A&&(A=m[st]=Ta++);const k=255&A;d.data[c+(k>>5)]|=1<<k}(c,d,m)}function vc(c,d,m){if(m&_r.Optional)return c;fe(d,"NodeInjector")}function yc(c,d,m,A){if(m&_r.Optional&&void 0===A&&(A=null),0==(m&(_r.Self|_r.Host))){const k=c[9],ee=fi(void 0);try{return k?k.get(d,A,m&_r.Optional):no(d,A,m&_r.Optional)}finally{fi(ee)}}return vc(A,d,m)}function ju(c,d,m,A=_r.Default,k){if(null!==c){const ee=function Ma(c){if("string"==typeof c)return c.charCodeAt(0)||0;const d=c.hasOwnProperty(st)?c[st]:void 0;return"number"==typeof d?d>=0?255&d:nc:d}(m);if("function"==typeof ee){if(!Ht(d,c,A))return A&_r.Host?vc(k,m,A):yc(d,m,A,k);try{const pe=ee(A);if(null!=pe||A&_r.Optional)return pe;fe(m)}finally{Ei()}}else if("number"==typeof ee){let pe=null,Ie=Nu(c,d),Je=-1,kt=A&_r.Host?d[16][6]:null;for((-1===Ie||A&_r.SkipSelf)&&(Je=-1===Ie?cc(c,d):d[Ie+8],-1!==Je&&Ll(A,!1)?(pe=d[1],Ie=ge(Je),d=Ot(Je,d)):Ie=-1);-1!==Ie;){const en=d[1];if(ll(ee,Ie,en.data)){const Ln=gd(Ie,d,m,pe,A,kt);if(Ln!==Ul)return Ln}Je=d[Ie+8],-1!==Je&&Ll(A,d[1].data[Ie+8]===kt)&&ll(ee,Ie,d)?(pe=en,Ie=ge(Je),d=Ot(Je,d)):Ie=-1}}}return yc(d,m,A,k)}const Ul={};function nc(){return new Ml(Es(),Yi())}function gd(c,d,m,A,k,ee){const pe=d[1],Ie=pe.data[c+8],en=Fc(Ie,pe,m,null==A?fa(Ie)&&sn:A!=pe&&0!=(3&Ie.type),k&_r.Host&&ee===Ie);return null!==en?cu(d,pe,en,Ie):Ul}function Fc(c,d,m,A,k){const ee=c.providerIndexes,pe=d.data,Ie=1048575&ee,Je=c.directiveStart,en=ee>>20,Ar=k?Ie+en:c.directiveEnd;for(let ni=A?Ie:Ie+en;ni<Ar;ni++){const Zi=pe[ni];if(ni<Je&&m===Zi||ni>=Je&&Zi.type===m)return ni}if(k){const ni=pe[Je];if(ni&&Ra(ni)&&ni.type===m)return Je}return null}function cu(c,d,m,A){let k=c[m];const ee=d.data;if(function kd(c){return c instanceof La}(k)){const pe=k;pe.resolving&&function se(c,d){const m=d?`. Dependency path: ${d.join(" > ")} > ${c}`:"";throw new q(-200,`Circular dependency in DI detected for ${c}${m}`)}(H(ee[m]));const Ie=Un(pe.canSeeViewProviders);pe.resolving=!0;const Je=pe.injectImpl?fi(pe.injectImpl):null;Ht(c,A,_r.Default);try{k=c[m]=pe.factory(void 0,ee,c,A),d.firstCreatePass&&m>=A.directiveStart&&function Zc(c,d,m){const{ngOnChanges:A,ngOnInit:k,ngDoCheck:ee}=d.type.prototype;if(A){const pe=Vo(d);(m.preOrderHooks||(m.preOrderHooks=[])).push(c,pe),(m.preOrderCheckHooks||(m.preOrderCheckHooks=[])).push(c,pe)}k&&(m.preOrderHooks||(m.preOrderHooks=[])).push(0-c,k),ee&&((m.preOrderHooks||(m.preOrderHooks=[])).push(c,ee),(m.preOrderCheckHooks||(m.preOrderCheckHooks=[])).push(c,ee))}(m,ee[m],d)}finally{null!==Je&&fi(Je),Un(Ie),pe.resolving=!1,Ei()}}return k}function ll(c,d,m){return!!(m[d+(c>>5)]&1<<c)}function Ll(c,d){return!(c&_r.Self||c&_r.Host&&d)}class Ml{constructor(d,m){this._tNode=d,this._lView=m}get(d,m,A){return ju(this._tNode,this._lView,d,A,m)}}function gf(c){return Er(()=>{const d=c.prototype.constructor,m=d[dt]||zd(d),A=Object.prototype;let k=Object.getPrototypeOf(c.prototype).constructor;for(;k&&k!==A;){const ee=k[dt]||zd(k);if(ee&&ee!==m)return ee;k=Object.getPrototypeOf(k)}return ee=>new ee})}function zd(c){return W(c)?()=>{const d=zd(U(c));return d&&d()}:Oi(c)}function id(c){return function rl(c,d){if("class"===d)return c.classes;if("style"===d)return c.styles;const m=c.attrs;if(m){const A=m.length;let k=0;for(;k<A;){const ee=m[k];if(En(ee))break;if(0===ee)k+=2;else if("number"==typeof ee)for(k++;k<A&&"string"==typeof m[k];)k++;else{if(ee===d)return m[k+1];k+=2}}}return null}(Es(),c)}const kl="__parameters__",Gu="__prop__metadata__";function Cu(c){return function(...m){if(c){const A=c(...m);for(const k in A)this[k]=A[k]}}}function cn(c,d,m){return Er(()=>{const A=Cu(d);function k(...ee){if(this instanceof k)return A.apply(this,ee),this;const pe=new k(...ee);return Ie.annotation=pe,Ie;function Ie(Je,kt,en){const Ln=Je.hasOwnProperty(kl)?Je[kl]:Object.defineProperty(Je,kl,{value:[]})[kl];for(;Ln.length<=en;)Ln.push(null);return(Ln[en]=Ln[en]||[]).push(pe),Je}}return m&&(k.prototype=Object.create(m.prototype)),k.prototype.ngMetadataName=c,k.annotationCls=k,k})}function Ec(c,d,m,A){return Er(()=>{const k=Cu(d);function ee(...pe){if(this instanceof ee)return k.apply(this,pe),this;const Ie=new ee(...pe);return function Je(kt,en){const Ln=kt.constructor,Ar=Ln.hasOwnProperty(Gu)?Ln[Gu]:Object.defineProperty(Ln,Gu,{value:{}})[Gu];Ar[en]=Ar.hasOwnProperty(en)&&Ar[en]||[],Ar[en].unshift(Ie),A&&A(kt,en,...pe)}}return m&&(ee.prototype=Object.create(m.prototype)),ee.prototype.ngMetadataName=c,ee.annotationCls=ee,ee})}class qa{constructor(d,m){this._desc=d,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof m?this.__NG_ELEMENT_ID__=m:void 0!==m&&(this.\u0275prov=xt({token:this,providedIn:m.providedIn||"root",factory:m.factory}))}toString(){return`InjectionToken ${this._desc}`}}const cl=new qa("AnalyzeForEntryComponents");class Bc{}const $p=Ec("ViewChild",(c,d)=>Object.assign({selector:c,first:!0,isViewQuery:!0,descendants:!0},d),Bc),fc=Function;function Lc(c,d){void 0===d&&(d=c);for(let m=0;m<c.length;m++){let A=c[m];Array.isArray(A)?(d===c&&(d=c.slice(0,m)),Lc(A,d)):d!==c&&d.push(A)}return d}function Fu(c,d){c.forEach(m=>Array.isArray(m)?Fu(m,d):d(m))}function od(c,d,m){d>=c.length?c.push(m):c.splice(d,0,m)}function rc(c,d){return d>=c.length-1?c.pop():c.splice(d,1)[0]}function Oa(c,d){const m=[];for(let A=0;A<c;A++)m.push(d);return m}function $l(c,d,m){let A=ga(c,d);return A>=0?c[1|A]=m:(A=~A,function lp(c,d,m,A){let k=c.length;if(k==d)c.push(m,A);else if(1===k)c.push(A,c[0]),c[0]=m;else{for(k--,c.push(c[k-1],c[k]);k>d;)c[k]=c[k-2],k--;c[d]=m,c[d+1]=A}}(c,A,d,m)),A}function Ac(c,d){const m=ga(c,d);if(m>=0)return c[1|m]}function ga(c,d){return function Lu(c,d,m){let A=0,k=c.length>>m;for(;k!==A;){const ee=A+(k-A>>1),pe=c[ee<<m];if(d===pe)return ee<<m;pe>d?k=ee:A=ee+1}return~(k<<m)}(c,d,1)}const Jd={},Jc="__NG_DI_FLAG__",Nl="ngTempTokenPath",oc=/\n/gm,E="__source",P=p({provide:String,useValue:p});let L;function X(c){const d=L;return L=c,d}function de(c,d=_r.Default){if(void 0===L)throw new q(203,"");return null===L?no(c,void 0,d):L.get(c,d&_r.Optional?null:void 0,d)}function ve(c,d=_r.Default){return(function bi(){return ei}()||de)(U(c),d)}const xe=ve;function nt(c){const d=[];for(let m=0;m<c.length;m++){const A=U(c[m]);if(Array.isArray(A)){if(0===A.length)throw new q(900,"");let k,ee=_r.Default;for(let pe=0;pe<A.length;pe++){const Ie=A[pe],Je=Mt(Ie);"number"==typeof Je?-1===Je?k=Ie.token:ee|=Je:k=Ie}d.push(ve(k,ee))}else d.push(ve(A))}return d}function St(c,d){return c[Jc]=d,c.prototype[Jc]=d,c}function Mt(c){return c[Jc]}const Vn=St(cn("Inject",c=>({token:c})),-1),fr=St(cn("Optional"),8),Ui=St(cn("SkipSelf"),4);let K,Ai;function lt(c){var d;return(null===(d=function be(){if(void 0===K&&(K=null,vr.trustedTypes))try{K=vr.trustedTypes.createPolicy("angular",{createHTML:c=>c,createScript:c=>c,createScriptURL:c=>c})}catch(c){}return K}())||void 0===d?void 0:d.createHTML(c))||c}function gs(){if(void 0===Ai&&(Ai=null,vr.trustedTypes))try{Ai=vr.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:c=>c,createScript:c=>c,createScriptURL:c=>c})}catch(c){}return Ai}function Aa(c){var d;return(null===(d=gs())||void 0===d?void 0:d.createHTML(c))||c}function Dl(c){var d;return(null===(d=gs())||void 0===d?void 0:d.createScriptURL(c))||c}class Yl{constructor(d){this.changingThisBreaksApplicationSecurity=d}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Yc extends Yl{getTypeName(){return"HTML"}}class yf extends Yl{getTypeName(){return"Style"}}class Hd extends Yl{getTypeName(){return"Script"}}class f_ extends Yl{getTypeName(){return"URL"}}class sh extends Yl{getTypeName(){return"ResourceURL"}}function Rc(c){return c instanceof Yl?c.changingThisBreaksApplicationSecurity:c}function Xd(c,d){const m=Bd(c);if(null!=m&&m!==d){if("ResourceURL"===m&&"URL"===d)return!0;throw new Error(`Required a safe ${d}, got a ${m} (see https://g.co/ng/security#xss)`)}return m===d}function Bd(c){return c instanceof Yl&&c.getTypeName()||null}function ah(c){return new Yc(c)}function Hp(c){return new yf(c)}function dl(c){return new Hd(c)}function Uh(c){return new f_(c)}function wf(c){return new sh(c)}function Ed(c){const d=new Kl(c);return function up(){try{return!!(new window.DOMParser).parseFromString(lt(""),"text/html")}catch(c){return!1}}()?new ad(d):d}class ad{constructor(d){this.inertDocumentHelper=d}getInertBodyElement(d){d="<body><remove></remove>"+d;try{const m=(new window.DOMParser).parseFromString(lt(d),"text/html").body;return null===m?this.inertDocumentHelper.getInertBodyElement(d):(m.removeChild(m.firstChild),m)}catch(m){return null}}}class Kl{constructor(d){if(this.defaultDoc=d,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const m=this.inertDocument.createElement("html");this.inertDocument.appendChild(m);const A=this.inertDocument.createElement("body");m.appendChild(A)}}getInertBodyElement(d){const m=this.inertDocument.createElement("template");if("content"in m)return m.innerHTML=lt(d),m;const A=this.inertDocument.createElement("body");return A.innerHTML=lt(d),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(A),A}stripCustomNsAttrs(d){const m=d.attributes;for(let k=m.length-1;0<k;k--){const pe=m.item(k).name;("xmlns:ns1"===pe||0===pe.indexOf("ns1:"))&&d.removeAttribute(pe)}let A=d.firstChild;for(;A;)A.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(A),A=A.nextSibling}}const ld=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,lh=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Pf(c){return(c=String(c)).match(ld)||c.match(lh)?c:"unsafe:"+c}function Bp(c){return(c=String(c)).split(",").map(d=>Pf(d.trim())).join(", ")}function Ef(c){const d={};for(const m of c.split(","))d[m]=!0;return d}function sc(...c){const d={};for(const m of c)for(const A in m)m.hasOwnProperty(A)&&(d[A]=!0);return d}const bd=Ef("area,br,col,hr,img,wbr"),Up=Ef("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),uh=Ef("rp,rt"),bf=sc(bd,sc(Up,Ef("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),sc(uh,Ef("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),sc(uh,Up)),Sf=Ef("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Zf=Ef("srcset"),Au=sc(Sf,Zf,Ef("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Ef("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),If=Ef("script,style,template");class jh{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(d){let m=d.firstChild,A=!0;for(;m;)if(m.nodeType===Node.ELEMENT_NODE?A=this.startElement(m):m.nodeType===Node.TEXT_NODE?this.chars(m.nodeValue):this.sanitizedSomething=!0,A&&m.firstChild)m=m.firstChild;else for(;m;){m.nodeType===Node.ELEMENT_NODE&&this.endElement(m);let k=this.checkClobberedElement(m,m.nextSibling);if(k){m=k;break}m=this.checkClobberedElement(m,m.parentNode)}return this.buf.join("")}startElement(d){const m=d.nodeName.toLowerCase();if(!bf.hasOwnProperty(m))return this.sanitizedSomething=!0,!If.hasOwnProperty(m);this.buf.push("<"),this.buf.push(m);const A=d.attributes;for(let k=0;k<A.length;k++){const ee=A.item(k),pe=ee.name,Ie=pe.toLowerCase();if(!Au.hasOwnProperty(Ie)){this.sanitizedSomething=!0;continue}let Je=ee.value;Sf[Ie]&&(Je=Pf(Je)),Zf[Ie]&&(Je=Bp(Je)),this.buf.push(" ",pe,'="',fh(Je),'"')}return this.buf.push(">"),!0}endElement(d){const m=d.nodeName.toLowerCase();bf.hasOwnProperty(m)&&!bd.hasOwnProperty(m)&&(this.buf.push("</"),this.buf.push(m),this.buf.push(">"))}chars(d){this.buf.push(fh(d))}checkClobberedElement(d,m){if(m&&(d.compareDocumentPosition(m)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${d.outerHTML}`);return m}}const Gh=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,h_=/([^\#-~ |!])/g;function fh(c){return c.replace(/&/g,"&amp;").replace(Gh,function(d){return"&#"+(1024*(d.charCodeAt(0)-55296)+(d.charCodeAt(1)-56320)+65536)+";"}).replace(h_,function(d){return"&#"+d.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Yp;function Vh(c,d){let m=null;try{Yp=Yp||Ed(c);let A=d?String(d):"";m=Yp.getInertBodyElement(A);let k=5,ee=A;do{if(0===k)throw new Error("Failed to sanitize html because the input is unstable");k--,A=ee,ee=m.innerHTML,m=Yp.getInertBodyElement(A)}while(A!==ee);return lt((new jh).sanitizeChildren(ph(m)||m))}finally{if(m){const A=ph(m)||m;for(;A.firstChild;)A.removeChild(A.firstChild)}}}function ph(c){return"content"in c&&function em(c){return c.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===c.nodeName}(c)?c.content:null}var Du=(()=>((Du=Du||{})[Du.NONE=0]="NONE",Du[Du.HTML=1]="HTML",Du[Du.STYLE=2]="STYLE",Du[Du.SCRIPT=3]="SCRIPT",Du[Du.URL=4]="URL",Du[Du.RESOURCE_URL=5]="RESOURCE_URL",Du))();function Zh(c){const d=Cd();return d?Aa(d.sanitize(Du.HTML,c)||""):Xd(c,"HTML")?Aa(Rc(c)):Vh(Ol(),re(c))}function Kd(c){const d=Cd();return d?d.sanitize(Du.URL,c)||"":Xd(c,"URL")?Rc(c):Pf(re(c))}function __(c){const d=Cd();if(d)return Dl(d.sanitize(Du.RESOURCE_URL,c)||"");if(Xd(c,"ResourceURL"))return Dl(Rc(c));throw new q(904,"")}function Cd(){const c=Yi();return c&&c[12]}const Qh="__ngContext__";function ac(c,d){c[Qh]=d}function zf(c){const d=function qd(c){return c[Qh]||null}(c);return d?Array.isArray(d)?d:d.lView:null}function e_(c){return c.ngOriginalError}function vh(c,...d){c.error(...d)}class Cp{constructor(){this._console=console}handleError(d){const m=this._findOriginalError(d),A=function Wf(c){return c&&c.ngErrorLogger||vh}(d);A(this._console,"ERROR",d),m&&A(this._console,"ORIGINAL ERROR",m)}_findOriginalError(d){let m=d&&e_(d);for(;m&&e_(m);)m=e_(m);return m||null}}const Eh=/^>|^->|<!--|-->|--!>|<!-$/g,da=/(<|>)/;const bh=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(vr))();function Lf(c){return c.ownerDocument.defaultView}function zu(c){return c.ownerDocument.body}function tf(c){return c instanceof Function?c():c}var Md=(()=>((Md=Md||{})[Md.Important=1]="Important",Md[Md.DashCase=2]="DashCase",Md))();let dp;function Bu(c,d){return dp(c,d)}function kf(c){const d=c[3];return ma(d)?d[3]:d}function nf(c){return Th(c[13])}function rf(c){return Th(c[4])}function Th(c){for(;null!==c&&!ma(c);)c=c[4];return c}function ud(c,d,m,A,k){if(null!=A){let ee,pe=!1;ma(A)?ee=A:es(A)&&(pe=!0,A=A[0]);const Ie=pt(A);0===c&&null!==m?null==k?Wp(d,m,Ie):ep(d,m,Ie,k||null,!0):1===c&&null!==m?ep(d,m,Ie,k||null,!0):2===c?Rp(d,Ie,pe):3===c&&d.destroyNode(Ie),null!=ee&&function B_(c,d,m,A,k){const ee=m[7];ee!==pt(m)&&ud(d,c,A,ee,k);for(let Ie=10;Ie<m.length;Ie++){const Je=m[Ie];Jp(Je[1],Je,c,d,A,ee)}}(d,c,ee,m,k)}}function Ch(c,d){return Ya(c)?c.createText(d):c.createTextNode(d)}function fp(c,d,m){Ya(c)?c.setValue(d,m):d.textContent=m}function Mh(c,d){return c.createComment(function $u(c){return c.replace(Eh,d=>d.replace(da,"\u200b$1\u200b"))}(d))}function jc(c,d,m){if(Ya(c))return c.createElement(d,m);{const A=null!==m?function Mc(c){const d=c.toLowerCase();return"svg"===d?"http://www.w3.org/2000/svg":"math"===d?"http://www.w3.org/1998/MathML/":null}(m):null;return null===A?c.createElement(d):c.createElementNS(A,d)}}function r_(c,d){const m=c[9],A=m.indexOf(d),k=d[3];1024&d[2]&&(d[2]&=-1025,ot(k,-1)),m.splice(A,1)}function i_(c,d){if(c.length<=10)return;const m=10+d,A=c[m];if(A){const k=A[17];null!==k&&k!==c&&r_(k,A),d>0&&(c[m-1][4]=A[4]);const ee=rc(c,10+d);!function Xf(c,d){Jp(c,d,d[11],2,null,null),d[0]=null,d[6]=null}(A[1],A);const pe=ee[19];null!==pe&&pe.detachView(ee[1]),A[3]=null,A[4]=null,A[2]&=-129}return A}function Ap(c,d){if(!(256&d[2])){const m=d[11];Ya(m)&&m.destroyNode&&Jp(c,d,m,3,null,null),function Od(c){let d=c[13];if(!d)return Zp(c[1],c);for(;d;){let m=null;if(es(d))m=d[13];else{const A=d[10];A&&(m=A)}if(!m){for(;d&&!d[4]&&d!==c;)es(d)&&Zp(d[1],d),d=d[3];null===d&&(d=c),es(d)&&Zp(d[1],d),m=d&&d[4]}d=m}}(d)}}function Zp(c,d){if(!(256&d[2])){d[2]&=-129,d[2]|=256,function qf(c,d){let m;if(null!=c&&null!=(m=c.destroyHooks))for(let A=0;A<m.length;A+=2){const k=d[m[A]];if(!(k instanceof La)){const ee=m[A+1];if(Array.isArray(ee))for(let pe=0;pe<ee.length;pe+=2){const Ie=k[ee[pe]],Je=ee[pe+1];try{Je.call(Ie)}finally{}}else try{ee.call(k)}finally{}}}}(c,d),function sf(c,d){const m=c.cleanup,A=d[7];let k=-1;if(null!==m)for(let ee=0;ee<m.length-1;ee+=2)if("string"==typeof m[ee]){const pe=m[ee+1],Ie="function"==typeof pe?pe(d):pt(d[pe]),Je=A[k=m[ee+2]],kt=m[ee+3];"boolean"==typeof kt?Ie.removeEventListener(m[ee],Je,kt):kt>=0?A[k=kt]():A[k=-kt].unsubscribe(),ee+=2}else{const pe=A[k=m[ee+1]];m[ee].call(pe)}if(null!==A){for(let ee=k+1;ee<A.length;ee++)A[ee]();d[7]=null}}(c,d),1===d[1].type&&Ya(d[11])&&d[11].destroy();const m=d[17];if(null!==m&&ma(d[3])){m!==d[3]&&r_(m,d);const A=d[19];null!==A&&A.detachView(c)}}}function zp(c,d,m){return y_(c,d.parent,m)}function y_(c,d,m){let A=d;for(;null!==A&&40&A.type;)A=(d=A).parent;if(null===A)return m[0];if(2&A.flags){const k=c.data[A.directiveStart].encapsulation;if(k===Xn.None||k===Xn.Emulated)return null}return wi(A,m)}function ep(c,d,m,A,k){Ya(c)?c.insertBefore(d,m,A,k):d.insertBefore(m,A,k)}function Wp(c,d,m){Ya(c)?c.appendChild(d,m):d.appendChild(m)}function E_(c,d,m,A,k){null!==A?ep(c,d,m,A,k):Wp(c,d,m)}function Oh(c,d){return Ya(c)?c.parentNode(d):d.parentNode}function $f(c,d,m){return S_(c,d,m)}function $_(c,d,m){return 40&c.type?wi(c,m):null}let Mf,S_=$_;function H_(c,d){S_=c,Mf=d}function tp(c,d,m,A){const k=zp(c,A,d),ee=d[11],Ie=$f(A.parent||d[6],A,d);if(null!=k)if(Array.isArray(m))for(let Je=0;Je<m.length;Je++)E_(ee,k,m[Je],Ie,!1);else E_(ee,k,m,Ie,!1);void 0!==Mf&&Mf(ee,A,d,m,k)}function Dp(c,d){if(null!==d){const m=d.type;if(3&m)return wi(d,c);if(4&m)return Ud(-1,c[d.index]);if(8&m){const A=d.child;if(null!==A)return Dp(c,A);{const k=c[d.index];return ma(k)?Ud(-1,k):pt(k)}}if(32&m)return Bu(d,c)()||pt(c[d.index]);{const A=xp(c,d);return null!==A?Array.isArray(A)?A[0]:Dp(kf(c[16]),A):Dp(c,d.next)}}return null}function xp(c,d){return null!==d?c[16][6].projection[d.projection]:null}function Ud(c,d){const m=10+c+1;if(m<d.length){const A=d[m],k=A[1].firstChild;if(null!==k)return Dp(A,k)}return d[7]}function Rp(c,d,m){const A=Oh(c,d);A&&function nm(c,d,m,A){Ya(c)?c.removeChild(d,m,A):d.removeChild(m)}(c,A,d,m)}function o_(c,d,m,A,k,ee,pe){for(;null!=m;){const Ie=A[m.index],Je=m.type;if(pe&&0===d&&(Ie&&ac(pt(Ie),A),m.flags|=4),64!=(64&m.flags))if(8&Je)o_(c,d,m.child,A,k,ee,!1),ud(d,c,k,Ie,ee);else if(32&Je){const kt=Bu(m,A);let en;for(;en=kt();)ud(d,c,k,en,ee);ud(d,c,k,Ie,ee)}else 16&Je?Ad(c,d,A,m,k,ee):ud(d,c,k,Ie,ee);m=pe?m.projectionNext:m.next}}function Jp(c,d,m,A,k,ee){o_(m,A,c.firstChild,d,k,ee,!1)}function Ad(c,d,m,A,k,ee){const pe=m[16],Je=pe[6].projection[A.projection];if(Array.isArray(Je))for(let kt=0;kt<Je.length;kt++)ud(d,c,k,Je[kt],ee);else o_(c,d,Je,pe[3],k,ee,!0)}function hp(c,d,m){Ya(c)?c.setAttribute(d,"style",m):d.style.cssText=m}function Ah(c,d,m){Ya(c)?""===m?c.removeAttribute(d,"class"):c.setAttribute(d,"class",m):d.className=m}function Gc(c,d,m){let A=c.length;for(;;){const k=c.indexOf(d,m);if(-1===k)return k;if(0===k||c.charCodeAt(k-1)<=32){const ee=d.length;if(k+ee===A||c.charCodeAt(k+ee)<=32)return k}m=k+1}}const C_="ng-template";function Dh(c,d,m){let A=0;for(;A<c.length;){let k=c[A++];if(m&&"class"===k){if(k=c[A],-1!==Gc(k.toLowerCase(),d,0))return!0}else if(1===k){for(;A<c.length&&"string"==typeof(k=c[A++]);)if(k.toLowerCase()===d)return!0;return!1}}return!1}function I(c){return 4===c.type&&c.value!==C_}function ne(c,d,m){return d===(4!==c.type||m?c.value:C_)}function S(c,d,m){let A=4;const k=c.attrs||[],ee=function yr(c){for(let d=0;d<c.length;d++)if(En(c[d]))return d;return c.length}(k);let pe=!1;for(let Ie=0;Ie<d.length;Ie++){const Je=d[Ie];if("number"!=typeof Je){if(!pe)if(4&A){if(A=2|1&A,""!==Je&&!ne(c,Je,m)||""===Je&&1===d.length){if(z(A))return!1;pe=!0}}else{const kt=8&A?Je:d[++Ie];if(8&A&&null!==c.attrs){if(!Dh(c.attrs,kt,m)){if(z(A))return!1;pe=!0}continue}const Ln=Me(8&A?"class":Je,k,I(c),m);if(-1===Ln){if(z(A))return!1;pe=!0;continue}if(""!==kt){let Ar;Ar=Ln>ee?"":k[Ln+1].toLowerCase();const ni=8&A?Ar:null;if(ni&&-1!==Gc(ni,kt,0)||2&A&&kt!==Ar){if(z(A))return!1;pe=!0}}}}else{if(!pe&&!z(A)&&!z(Je))return!1;if(pe&&z(Je))continue;pe=!1,A=Je|1&A}}return z(A)||pe}function z(c){return 0==(1&c)}function Me(c,d,m,A){if(null===d)return-1;let k=0;if(A||!m){let ee=!1;for(;k<d.length;){const pe=d[k];if(pe===c)return k;if(3===pe||6===pe)ee=!0;else{if(1===pe||2===pe){let Ie=d[++k];for(;"string"==typeof Ie;)Ie=d[++k];continue}if(4===pe)break;if(0===pe){k+=4;continue}}k+=ee?1:2}return-1}return function Nr(c,d){let m=c.indexOf(4);if(m>-1)for(m++;m<c.length;){const A=c[m];if("number"==typeof A)return-1;if(A===d)return m;m++}return-1}(d,c)}function Ke(c,d,m=!1){for(let A=0;A<d.length;A++)if(S(c,d[A],m))return!0;return!1}function vi(c,d){e:for(let m=0;m<d.length;m++){const A=d[m];if(c.length===A.length){for(let k=0;k<c.length;k++)if(c[k]!==A[k])continue e;return!0}}return!1}function di(c,d){return c?":not("+d.trim()+")":d}function ts(c){let d=c[0],m=1,A=2,k="",ee=!1;for(;m<c.length;){let pe=c[m];if("string"==typeof pe)if(2&A){const Ie=c[++m];k+="["+pe+(Ie.length>0?'="'+Ie+'"':"")+"]"}else 8&A?k+="."+pe:4&A&&(k+=" "+pe);else""!==k&&!z(pe)&&(d+=di(ee,k),k=""),A=pe,ee=ee||!z(A);m++}return""!==k&&(d+=di(ee,k)),d}const Yo={};function ia(c){y(aa(),Yi(),Yn()+c,!1)}function y(c,d,m,A){if(!A)if(3==(3&d[2])){const ee=c.preOrderCheckHooks;null!==ee&&Pu(d,ee,m)}else{const ee=c.preOrderHooks;null!==ee&&Su(d,ee,0,m)}Rr(m)}function Y(c,d){return c<<17|d<<2}function Ee(c){return c>>17&32767}function tn(c){return 2|c}function Tn(c){return(131068&c)>>2}function ar(c,d){return-131069&c|d<<2}function Ho(c){return 1|c}function eg(c,d){const m=c.contentQueries;if(null!==m)for(let A=0;A<m.length;A+=2){const k=m[A],ee=m[A+1];if(-1!==ee){const pe=c.data[ee];ct(k),pe.contentQueries(2,d[ee],ee)}}}function lm(c,d,m,A,k,ee,pe,Ie,Je,kt){const en=d.blueprint.slice();return en[0]=k,en[2]=140|A,mt(en),en[3]=en[15]=c,en[8]=m,en[10]=pe||c&&c[10],en[11]=Ie||c&&c[11],en[12]=Je||c&&c[12]||null,en[9]=kt||c&&c[9]||null,en[6]=ee,en[16]=2==d.type?c[16]:en,en}function M_(c,d,m,A,k){let ee=c.data[d];if(null===ee)ee=Mm(c,d,m,A,k),function wu(){return je.lFrame.inI18n}()&&(ee.flags|=64);else if(64&ee.type){ee.type=m,ee.value=A,ee.attrs=k;const pe=Sl();ee.injectorIndex=null===pe?-1:pe.injectorIndex}return lu(ee,!0),ee}function Mm(c,d,m,A,k){const ee=ec(),pe=Eu(),Je=c.data[d]=function Og(c,d,m,A,k,ee){return{type:m,index:A,insertBeforeIndex:null,injectorIndex:d?d.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:k,attrs:ee,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:d,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,pe?ee:ee&&ee.parent,m,d,A,k);return null===c.firstChild&&(c.firstChild=Je),null!==ee&&(pe?null==ee.child&&null!==Je.parent&&(ee.child=Je):null===ee.next&&(ee.next=Je)),Je}function xh(c,d,m,A){if(0===m)return-1;const k=d.length;for(let ee=0;ee<m;ee++)d.push(A),c.blueprint.push(A),c.data.push(null);return k}function Y_(c,d,m){_n(d);try{const A=c.viewQuery;null!==A&&Am(1,A,m);const k=c.template;null!==k&&um(c,d,k,1,m),c.firstCreatePass&&(c.firstCreatePass=!1),c.staticContentQueries&&eg(c,d),c.staticViewQueries&&Am(2,c.viewQuery,m);const ee=c.components;null!==ee&&function Cm(c,d){for(let m=0;m<d.length;m++)n1(c,d[m])}(d,ee)}catch(A){throw c.firstCreatePass&&(c.incompleteFirstPass=!0,c.firstCreatePass=!1),A}finally{d[2]&=-5,Ci()}}function O_(c,d,m,A){const k=d[2];if(256!=(256&k)){_n(d);try{mt(d),function nd(c){return je.lFrame.bindingIndex=c}(c.bindingStartIndex),null!==m&&um(c,d,m,2,A);const pe=3==(3&k);if(pe){const kt=c.preOrderCheckHooks;null!==kt&&Pu(d,kt,null)}else{const kt=c.preOrderHooks;null!==kt&&Su(d,kt,0,null),Zd(d,0)}if(function hc(c){for(let d=nf(c);null!==d;d=rf(d)){if(!d[2])continue;const m=d[9];for(let A=0;A<m.length;A++){const k=m[A],ee=k[3];0==(1024&k[2])&&ot(ee,1),k[2]|=1024}}}(d),function Wu(c){for(let d=nf(c);null!==d;d=rf(d))for(let m=10;m<d.length;m++){const A=d[m],k=A[1];Ka(A)&&O_(k,A,k.template,A[8])}}(d),null!==c.contentQueries&&eg(c,d),pe){const kt=c.contentCheckHooks;null!==kt&&Pu(d,kt)}else{const kt=c.contentHooks;null!==kt&&Su(d,kt,1),Zd(d,1)}!function wp(c,d){const m=c.hostBindingOpCodes;if(null!==m)try{for(let A=0;A<m.length;A++){const k=m[A];if(k<0)Rr(~k);else{const ee=k,pe=m[++A],Ie=m[++A];Io(pe,ee),Ie(2,d[ee])}}}finally{Rr(-1)}}(c,d);const Ie=c.components;null!==Ie&&function ov(c,d){for(let m=0;m<d.length;m++)t1(c,d[m])}(d,Ie);const Je=c.viewQuery;if(null!==Je&&Am(2,Je,A),pe){const kt=c.viewCheckHooks;null!==kt&&Pu(d,kt)}else{const kt=c.viewHooks;null!==kt&&Su(d,kt,2),Zd(d,2)}!0===c.firstUpdatePass&&(c.firstUpdatePass=!1),d[2]&=-73,1024&d[2]&&(d[2]&=-1025,ot(d[3],-1))}finally{Ci()}}}function Tg(c,d,m,A){const k=d[10],pe=Fo(d);try{!pe&&k.begin&&k.begin(),pe&&Y_(c,d,A),O_(c,d,m,A)}finally{!pe&&k.end&&k.end()}}function um(c,d,m,A,k){const ee=Yn(),pe=2&A;try{Rr(-1),pe&&d.length>20&&y(c,d,20,!1),m(A,k)}finally{Rr(ee)}}function Cg(c,d,m){if(ya(d)){const k=d.directiveEnd;for(let ee=d.directiveStart;ee<k;ee++){const pe=c.data[ee];pe.contentQueries&&pe.contentQueries(1,m[ee],ee)}}}function tg(c,d,m){!qu()||(function hi(c,d,m,A){const k=m.directiveStart,ee=m.directiveEnd;c.firstCreatePass||ha(m,d),ac(A,d);const pe=m.initialInputs;for(let Ie=k;Ie<ee;Ie++){const Je=c.data[Ie],kt=Ra(Je);kt&&lf(d,m,Je);const en=cu(d,c,Ie,m);ac(en,d),null!==pe&&G_(0,Ie-k,en,Je,0,pe),kt&&(ws(m.index,d)[8]=en)}}(c,d,m,wi(m,d)),128==(128&m.flags)&&function ns(c,d,m){const A=m.directiveStart,k=m.directiveEnd,pe=m.index,Ie=function fu(){return je.lFrame.currentDirectiveIndex}();try{Rr(pe);for(let Je=A;Je<k;Je++){const kt=c.data[Je],en=d[Je];Sr(Je),(null!==kt.hostBindings||0!==kt.hostVars||null!==kt.hostAttrs)&&zo(kt,en)}}finally{Rr(-1),Sr(Ie)}}(c,d,m))}function ng(c,d,m=wi){const A=d.localNames;if(null!==A){let k=d.index+1;for(let ee=0;ee<A.length;ee+=2){const pe=A[ee+1],Ie=-1===pe?m(d,c):c[pe];c[k++]=Ie}}}function j_(c){const d=c.tView;return null===d||d.incompleteFirstPass?c.tView=Qp(1,null,c.template,c.decls,c.vars,c.directiveDefs,c.pipeDefs,c.viewQuery,c.schemas,c.consts):d}function Qp(c,d,m,A,k,ee,pe,Ie,Je,kt){const en=20+A,Ln=en+k,Ar=function A_(c,d){const m=[];for(let A=0;A<d;A++)m.push(A<c?null:Yo);return m}(en,Ln),ni="function"==typeof kt?kt():kt;return Ar[1]={type:c,blueprint:Ar,template:m,queries:null,viewQuery:Ie,declTNode:d,data:Ar.slice().fill(null,en),bindingStartIndex:en,expandoStartIndex:Ln,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof ee?ee():ee,pipeRegistry:"function"==typeof pe?pe():pe,firstChild:null,schemas:Je,consts:ni,incompleteFirstPass:!1}}function Om(c,d,m,A){const k=r1(d);null===m?k.push(A):(k.push(m),c.firstCreatePass&&i1(c).push(A,k.length-1))}function rg(c,d,m){for(let A in c)if(c.hasOwnProperty(A)){const k=c[A];(m=null===m?{}:m).hasOwnProperty(A)?m[A].push(d,k):m[A]=[d,k]}return m}function Bf(c,d,m,A,k,ee,pe,Ie){const Je=wi(d,m);let en,kt=d.inputs;!Ie&&null!=kt&&(en=kt[A])?(a1(c,m,en,A,k),fa(d)&&function av(c,d){const m=ws(d,c);16&m[2]||(m[2]|=64)}(m,d.index)):3&d.type&&(A=function sv(c){return"class"===c?"className":"for"===c?"htmlFor":"formaction"===c?"formAction":"innerHtml"===c?"innerHTML":"readonly"===c?"readOnly":"tabindex"===c?"tabIndex":c}(A),k=null!=pe?pe(k,d.value||"",A):k,Ya(ee)?ee.setProperty(Je,A,k):pa(A)||(Je.setProperty?Je.setProperty(A,k):Je[A]=k))}function Zt(c,d,m,A){let k=!1;if(qu()){const ee=function As(c,d,m){const A=c.directiveRegistry;let k=null;if(A)for(let ee=0;ee<A.length;ee++){const pe=A[ee];Ke(m,pe.selectors,!1)&&(k||(k=[]),ka(ha(m,d),c,pe.type),Ra(pe)?(ml(c,m),k.unshift(pe)):k.push(pe))}return k}(c,d,m),pe=null===A?null:{"":-1};if(null!==ee){k=!0,xu(m,c.data.length,ee.length);for(let en=0;en<ee.length;en++){const Ln=ee[en];Ln.providersResolver&&Ln.providersResolver(Ln)}let Ie=!1,Je=!1,kt=xh(c,d,ee.length,null);for(let en=0;en<ee.length;en++){const Ln=ee[en];m.mergedAttrs=rd(m.mergedAttrs,Ln.hostAttrs),Dd(c,m,d,kt,Ln),Xl(kt,Ln,pe),null!==Ln.contentQueries&&(m.flags|=8),(null!==Ln.hostBindings||null!==Ln.hostAttrs||0!==Ln.hostVars)&&(m.flags|=128);const Ar=Ln.type.prototype;!Ie&&(Ar.ngOnChanges||Ar.ngOnInit||Ar.ngDoCheck)&&((c.preOrderHooks||(c.preOrderHooks=[])).push(m.index),Ie=!0),!Je&&(Ar.ngOnChanges||Ar.ngDoCheck)&&((c.preOrderCheckHooks||(c.preOrderCheckHooks=[])).push(m.index),Je=!0),kt++}!function e1(c,d){const A=d.directiveEnd,k=c.data,ee=d.attrs,pe=[];let Ie=null,Je=null;for(let kt=d.directiveStart;kt<A;kt++){const en=k[kt],Ln=en.inputs,Ar=null===ee||I(d)?null:uf(Ln,ee);pe.push(Ar),Ie=rg(Ln,kt,Ie),Je=rg(en.outputs,kt,Je)}null!==Ie&&(Ie.hasOwnProperty("class")&&(d.flags|=16),Ie.hasOwnProperty("style")&&(d.flags|=32)),d.initialInputs=pe,d.inputs=Ie,d.outputs=Je}(c,m)}pe&&function au(c,d,m){if(d){const A=c.localNames=[];for(let k=0;k<d.length;k+=2){const ee=m[d[k+1]];if(null==ee)throw new q(-301,!1);A.push(d[k],ee)}}}(m,A,pe)}return m.mergedAttrs=rd(m.mergedAttrs,m.attrs),k}function rr(c,d,m,A,k,ee){const pe=ee.hostBindings;if(pe){let Ie=c.hostBindingOpCodes;null===Ie&&(Ie=c.hostBindingOpCodes=[]);const Je=~d.index;(function xr(c){let d=c.length;for(;d>0;){const m=c[--d];if("number"==typeof m&&m<0)return m}return 0})(Ie)!=Je&&Ie.push(Je),Ie.push(A,k,pe)}}function zo(c,d){null!==c.hostBindings&&c.hostBindings(1,d)}function ml(c,d){d.flags|=2,(c.components||(c.components=[])).push(d.index)}function Xl(c,d,m){if(m){if(d.exportAs)for(let A=0;A<d.exportAs.length;A++)m[d.exportAs[A]]=c;Ra(d)&&(m[""]=c)}}function xu(c,d,m){c.flags|=1,c.directiveStart=d,c.directiveEnd=d+m,c.providerIndexes=d}function Dd(c,d,m,A,k){c.data[A]=k;const ee=k.factory||(k.factory=Oi(k.type)),pe=new La(ee,Ra(k),null);c.blueprint[A]=pe,m[A]=pe,rr(c,d,0,A,xh(c,m,k.hostVars,Yo),k)}function lf(c,d,m){const A=wi(d,c),k=j_(m),ee=c[10],pe=Ag(c,lm(c,k,null,m.onPush?64:16,A,d,ee,ee.createRenderer(A,m),null,null));c[d.index]=pe}function a_(c,d,m,A,k,ee,pe){if(null==ee)Ya(c)?c.removeAttribute(d,k,m):d.removeAttribute(k);else{const Ie=null==pe?re(ee):pe(ee,A||"",k);Ya(c)?c.setAttribute(d,k,Ie,m):m?d.setAttributeNS(m,k,Ie):d.setAttribute(k,Ie)}}function G_(c,d,m,A,k,ee){const pe=ee[d];if(null!==pe){const Ie=A.setInput;for(let Je=0;Je<pe.length;){const kt=pe[Je++],en=pe[Je++],Ln=pe[Je++];null!==Ie?A.setInput(m,Ln,kt,en):m[en]=Ln}}}function uf(c,d){let m=null,A=0;for(;A<d.length;){const k=d[A];if(0!==k)if(5!==k){if("number"==typeof k)break;c.hasOwnProperty(k)&&(null===m&&(m=[]),m.push(k,c[k],d[A+1])),A+=2}else A+=2;else A+=4}return m}function _p(c,d,m,A){return new Array(c,!0,!1,d,null,0,A,m,null,null)}function t1(c,d){const m=ws(d,c);if(Ka(m)){const A=m[1];80&m[2]?O_(A,m,A.template,m[8]):m[5]>0&&uv(m)}}function uv(c){for(let A=nf(c);null!==A;A=rf(A))for(let k=10;k<A.length;k++){const ee=A[k];if(1024&ee[2]){const pe=ee[1];O_(pe,ee,pe.template,ee[8])}else ee[5]>0&&uv(ee)}const m=c[1].components;if(null!==m)for(let A=0;A<m.length;A++){const k=ws(m[A],c);Ka(k)&&k[5]>0&&uv(k)}}function n1(c,d){const m=ws(d,c),A=m[1];(function P0(c,d){for(let m=d.length;m<c.blueprint.length;m++)d.push(c.blueprint[m])})(A,m),Y_(A,m,m[8])}function Ag(c,d){return c[13]?c[14][4]=d:c[13]=d,c[14]=d,d}function cv(c){for(;c;){c[2]|=64;const d=kf(c);if(pl(c)&&!d)return c;c=d}return null}function xg(c){!function Dg(c){for(let d=0;d<c.components.length;d++){const m=c.components[d],A=zf(m),k=A[1];Tg(k,A,k.template,m)}}(c[8])}function Am(c,d,m){ct(0),d(c,m)}const Dm=(()=>Promise.resolve(null))();function r1(c){return c[7]||(c[7]=[])}function i1(c){return c.cleanup||(c.cleanup=[])}function s1(c,d){const m=c[9],A=m?m.get(Cp,null):null;A&&A.handleError(d)}function a1(c,d,m,A,k){for(let ee=0;ee<m.length;){const pe=m[ee++],Ie=m[ee++],Je=d[pe],kt=c.data[pe];null!==kt.setInput?kt.setInput(Je,k,A,Ie):Je[Ie]=k}}function l_(c,d,m){const A=oi(d,c);fp(c[11],A,m)}function Kp(c,d,m){let A=m?c.styles:null,k=m?c.classes:null,ee=0;if(null!==d)for(let pe=0;pe<d.length;pe++){const Ie=d[pe];"number"==typeof Ie?ee=Ie:1==ee?k=M(k,Ie):2==ee&&(A=M(A,Ie+": "+d[++pe]+";"))}m?c.styles=A:c.stylesWithoutHost=A,m?c.classes=k:c.classesWithoutHost=k}const Rg=new qa("INJECTOR",-1);class xm{get(d,m=Jd){if(m===Jd){const A=new Error(`NullInjectorError: No provider for ${T(d)}!`);throw A.name="NullInjectorError",A}return m}}const gu=new qa("Set Injector scope."),ig={},u1={};let Rm;function c1(){return void 0===Rm&&(Rm=new xm),Rm}function d1(c,d=null,m=null,A){const k=f1(c,d,m,A);return k._resolveInjectorDefTypes(),k}function f1(c,d=null,m=null,A){return new F0(c,m,d||c1(),A)}class F0{constructor(d,m,A,k=null){this.parent=A,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const ee=[];m&&Fu(m,Ie=>this.processProvider(Ie,d,m)),Fu([d],Ie=>this.processInjectorType(Ie,[],ee)),this.records.set(Rg,wm(void 0,this));const pe=this.records.get(gu);this.scope=null!=pe?pe.value:null,this.source=k||("object"==typeof d?null:T(d))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(d=>d.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(d,m=Jd,A=_r.Default){this.assertNotDestroyed();const k=X(this),ee=fi(void 0);try{if(!(A&_r.SkipSelf)){let Ie=this.records.get(d);if(void 0===Ie){const Je=function U0(c){return"function"==typeof c||"object"==typeof c&&c instanceof qa}(d)&&Fn(d);Ie=Je&&this.injectableDefInScope(Je)?wm(dv(d),ig):null,this.records.set(d,Ie)}if(null!=Ie)return this.hydrate(d,Ie)}return(A&_r.Self?c1():this.parent).get(d,m=A&_r.Optional&&m===Jd?null:m)}catch(pe){if("NullInjectorError"===pe.name){if((pe[Nl]=pe[Nl]||[]).unshift(T(d)),k)throw pe;return function fn(c,d,m,A){const k=c[Nl];throw d[E]&&k.unshift(d[E]),c.message=function jn(c,d,m,A=null){c=c&&"\n"===c.charAt(0)&&"\u0275"==c.charAt(1)?c.substr(2):c;let k=T(d);if(Array.isArray(d))k=d.map(T).join(" -> ");else if("object"==typeof d){let ee=[];for(let pe in d)if(d.hasOwnProperty(pe)){let Ie=d[pe];ee.push(pe+":"+("string"==typeof Ie?JSON.stringify(Ie):T(Ie)))}k=`{${ee.join(", ")}}`}return`${m}${A?"("+A+")":""}[${k}]: ${c.replace(oc,"\n  ")}`}("\n"+c.message,k,m,A),c.ngTokenPath=k,c[Nl]=null,c}(pe,d,"R3InjectorError",this.source)}throw pe}finally{fi(ee),X(k)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(d=>this.get(d))}toString(){const d=[];return this.records.forEach((A,k)=>d.push(T(k))),`R3Injector[${d.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new q(205,!1)}processInjectorType(d,m,A){if(!(d=U(d)))return!1;let k=hr(d);const ee=null==k&&d.ngModule||void 0,pe=void 0===ee?d:ee,Ie=-1!==A.indexOf(pe);if(void 0!==ee&&(k=hr(ee)),null==k)return!1;if(null!=k.imports&&!Ie){let en;A.push(pe);try{Fu(k.imports,Ln=>{this.processInjectorType(Ln,m,A)&&(void 0===en&&(en=[]),en.push(Ln))})}finally{}if(void 0!==en)for(let Ln=0;Ln<en.length;Ln++){const{ngModule:Ar,providers:ni}=en[Ln];Fu(ni,Zi=>this.processProvider(Zi,Ar,ni||Wn))}}this.injectorDefTypes.add(pe);const Je=Oi(pe)||(()=>new pe);this.records.set(pe,wm(Je,ig));const kt=k.providers;if(null!=kt&&!Ie){const en=d;Fu(kt,Ln=>this.processProvider(Ln,en,kt))}return void 0!==ee&&void 0!==d.providers}processProvider(d,m,A){let k=Pm(d=U(d))?d:U(d&&d.provide);const ee=function k0(c,d,m){return h1(c)?wm(void 0,c.useValue):wm(p1(c),ig)}(d);if(Pm(d)||!0!==d.multi)this.records.get(k);else{let pe=this.records.get(k);pe||(pe=wm(void 0,ig,!0),pe.factory=()=>nt(pe.multi),this.records.set(k,pe)),k=d,pe.multi.push(d)}this.records.set(k,ee)}hydrate(d,m){return m.value===ig&&(m.value=u1,m.value=m.factory()),"object"==typeof m.value&&m.value&&function pv(c){return null!==c&&"object"==typeof c&&"function"==typeof c.ngOnDestroy}(m.value)&&this.onDestroy.add(m.value),m.value}injectableDefInScope(d){if(!d.providedIn)return!1;const m=U(d.providedIn);return"string"==typeof m?"any"===m||m===this.scope:this.injectorDefTypes.has(m)}}function dv(c){const d=Fn(c),m=null!==d?d.factory:Oi(c);if(null!==m)return m;if(c instanceof qa)throw new q(204,!1);if(c instanceof Function)return function L0(c){const d=c.length;if(d>0)throw Oa(d,"?"),new q(204,!1);const m=function mi(c){const d=c&&(c[Br]||c[Hn]);if(d){const m=function ci(c){if(c.hasOwnProperty("name"))return c.name;const d=(""+c).match(/^function\s*([^\s(]+)/);return null===d?"":d[1]}(c);return console.warn(`DEPRECATED: DI is instantiating a token "${m}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${m}" class.`),d}return null}(c);return null!==m?()=>m.factory(c):()=>new c}(c);throw new q(204,!1)}function p1(c,d,m){let A;if(Pm(c)){const k=U(c);return Oi(k)||dv(k)}if(h1(c))A=()=>U(c.useValue);else if(function H0(c){return!(!c||!c.useFactory)}(c))A=()=>c.useFactory(...nt(c.deps||[]));else if(function $0(c){return!(!c||!c.useExisting)}(c))A=()=>ve(U(c.useExisting));else{const k=U(c&&(c.useClass||c.provide));if(!function B0(c){return!!c.deps}(c))return Oi(k)||dv(k);A=()=>new k(...nt(c.deps))}return A}function wm(c,d,m=!1){return{factory:c,value:d,multi:m?[]:void 0}}function h1(c){return null!==c&&"object"==typeof c&&P in c}function Pm(c){return"function"==typeof c}let qp=(()=>{class c{static create(m,A){var k;if(Array.isArray(m))return d1({name:""},A,m,"");{const ee=null!==(k=m.name)&&void 0!==k?k:"";return d1({name:ee},m.parent,m.providers,ee)}}}return c.THROW_IF_NOT_FOUND=Jd,c.NULL=new xm,c.\u0275prov=xt({token:c,providedIn:"any",factory:()=>ve(Rg)}),c.__NG_ELEMENT_ID__=-1,c})();function b1(c,d){Ic(zf(c)[1],Es())}function _v(c){let d=function S1(c){return Object.getPrototypeOf(c.prototype).constructor}(c.type),m=!0;const A=[c];for(;d;){let k;if(Ra(c))k=d.\u0275cmp||d.\u0275dir;else{if(d.\u0275cmp)throw new q(903,"");k=d.\u0275dir}if(k){if(m){A.push(k);const pe=c;pe.inputs=fm(c.inputs),pe.declaredInputs=fm(c.declaredInputs),pe.outputs=fm(c.outputs);const Ie=k.hostBindings;Ie&&JE(c,Ie);const Je=k.viewQuery,kt=k.contentQueries;if(Je&&Nm(c,Je),kt&&z0(c,kt),g(c.inputs,k.inputs),g(c.declaredInputs,k.declaredInputs),g(c.outputs,k.outputs),Ra(k)&&k.data.animation){const en=c.data;en.animation=(en.animation||[]).concat(k.data.animation)}}const ee=k.features;if(ee)for(let pe=0;pe<ee.length;pe++){const Ie=ee[pe];Ie&&Ie.ngInherit&&Ie(c),Ie===_v&&(m=!1)}}d=Object.getPrototypeOf(d)}!function fd(c){let d=0,m=null;for(let A=c.length-1;A>=0;A--){const k=c[A];k.hostVars=d+=k.hostVars,k.hostAttrs=rd(k.hostAttrs,m=rd(m,k.hostAttrs))}}(A)}function fm(c){return c===Rn?{}:c===Wn?[]:c}function Nm(c,d){const m=c.viewQuery;c.viewQuery=m?(A,k)=>{d(A,k),m(A,k)}:d}function z0(c,d){const m=c.contentQueries;c.contentQueries=m?(A,k,ee)=>{d(A,k,ee),m(A,k,ee)}:d}function JE(c,d){const m=c.hostBindings;c.hostBindings=m?(A,k)=>{d(A,k),m(A,k)}:d}let mv=null;function pm(){if(!mv){const c=vr.Symbol;if(c&&c.iterator)mv=c.iterator;else{const d=Object.getOwnPropertyNames(Map.prototype);for(let m=0;m<d.length;++m){const A=d[m];"entries"!==A&&"size"!==A&&Map.prototype[A]===Map.prototype.entries&&(mv=A)}}}return mv}function Im(c){return!!gv(c)&&(Array.isArray(c)||!(c instanceof Map)&&pm()in c)}function gv(c){return null!==c&&("function"==typeof c||"object"==typeof c)}function c_(c,d,m){return c[d]=m}function og(c,d){return c[d]}function Uf(c,d,m){return!Object.is(c[d],m)&&(c[d]=m,!0)}function eh(c,d,m,A){const k=Uf(c,d,m);return Uf(c,d+1,A)||k}function Ig(c,d,m,A,k){const ee=eh(c,d,m,A);return Uf(c,d+2,k)||ee}function th(c,d,m,A,k,ee){const pe=eh(c,d,m,A);return eh(c,d+2,k,ee)||pe}function vv(c,d,m,A){const k=Yi();return Uf(k,Uu(),d)&&(aa(),function cd(c,d,m,A,k,ee){const pe=wi(c,d);a_(d[11],pe,ee,c.value,m,A,k)}(br(),k,c,d,m,A)),vv}function hm(c,d,m,A){return Uf(c,Uu(),m)?d+re(m)+A:Yo}function _m(c,d,m,A,k,ee){const Ie=eh(c,du(),m,k);return Yu(2),Ie?d+re(m)+A+re(k)+ee:Yo}function w1(c,d,m,A,k,ee,pe,Ie){const Je=Yi(),kt=aa(),en=c+20,Ln=kt.firstCreatePass?function yv(c,d,m,A,k,ee,pe,Ie,Je){const kt=d.consts,en=M_(d,c,4,pe||null,Bs(kt,Ie));Zt(d,m,en,Bs(kt,Je)),Ic(d,en);const Ln=en.tViews=Qp(2,en,A,k,ee,d.directiveRegistry,d.pipeRegistry,null,d.schemas,kt);return null!==d.queries&&(d.queries.template(d,en),Ln.queries=d.queries.embeddedTView(en)),en}(en,kt,Je,d,m,A,k,ee,pe):kt.data[en];lu(Ln,!1);const Ar=Je[11].createComment("");tp(kt,Je,Ar,Ln),ac(Ar,Je),Ag(Je,Je[en]=_p(Ar,Je,Ar,Ln)),sa(Ln)&&tg(kt,Je,Ln),null!=pe&&ng(Je,Ln,Ie)}function P1(c){return Os(function bu(){return je.lFrame.contextLView}(),20+c)}function Ea(c,d=_r.Default){const m=Yi();return null===m?ve(c,d):ju(Es(),m,U(c),d)}function Rl(){throw new Error("invalid")}function Na(c,d,m){const A=Yi();return Uf(A,Uu(),d)&&Bf(aa(),br(),A,c,d,A[11],m,!1),Na}function Hl(c,d,m,A,k){const pe=k?"class":"style";a1(c,m,d.inputs[pe],pe,A)}function Yf(c,d,m,A){const k=Yi(),ee=aa(),pe=20+c,Ie=k[11],Je=k[pe]=jc(Ie,d,function Us(){return je.lFrame.currentNamespace}()),kt=ee.firstCreatePass?function ql(c,d,m,A,k,ee,pe){const Ie=d.consts,kt=M_(d,c,2,k,Bs(Ie,ee));return Zt(d,m,kt,Bs(Ie,pe)),null!==kt.attrs&&Kp(kt,kt.attrs,!1),null!==kt.mergedAttrs&&Kp(kt,kt.mergedAttrs,!0),null!==d.queries&&d.queries.elementStart(d,kt),kt}(pe,ee,k,0,d,m,A):ee.data[pe];lu(kt,!0);const en=kt.mergedAttrs;null!==en&&gc(Ie,Je,en);const Ln=kt.classes;null!==Ln&&Ah(Ie,Je,Ln);const Ar=kt.styles;return null!==Ar&&hp(Ie,Je,Ar),64!=(64&kt.flags)&&tp(ee,k,Je,kt),0===function Jo(){return je.lFrame.elementDepthCount}()&&ac(Je,k),function ja(){je.lFrame.elementDepthCount++}(),sa(kt)&&(tg(ee,k,kt),Cg(ee,kt,k)),null!==A&&ng(k,kt),Yf}function cf(){let c=Es();Eu()?iu():(c=c.parent,lu(c,!1));const d=c;!function El(){je.lFrame.elementDepthCount--}();const m=aa();return m.firstCreatePass&&(Ic(m,c),ya(c)&&m.queries.elementEnd(c)),null!=d.classesWithoutHost&&function Sa(c){return 0!=(16&c.flags)}(d)&&Hl(m,d,Yi(),d.classesWithoutHost,!0),null!=d.stylesWithoutHost&&function Tl(c){return 0!=(32&c.flags)}(d)&&Hl(m,d,Yi(),d.stylesWithoutHost,!1),cf}function rp(c,d,m,A){return Yf(c,d,m,A),cf(),rp}function nh(c,d,m){const A=Yi(),k=aa(),ee=c+20,pe=k.firstCreatePass?function wh(c,d,m,A,k){const ee=d.consts,pe=Bs(ee,A),Ie=M_(d,c,8,"ng-container",pe);return null!==pe&&Kp(Ie,pe,!0),Zt(d,m,Ie,Bs(ee,k)),null!==d.queries&&d.queries.elementStart(d,Ie),Ie}(ee,k,A,d,m):k.data[ee];lu(pe,!0);const Ie=A[ee]=A[11].createComment("");return tp(k,A,Ie,pe),ac(Ie,A),sa(pe)&&(tg(k,A,pe),Cg(k,pe,A)),null!=m&&ng(A,pe),nh}function sg(){let c=Es();const d=aa();return Eu()?iu():(c=c.parent,lu(c,!1)),d.firstCreatePass&&(Ic(d,c),ya(c)&&d.queries.elementEnd(c)),sg}function sy(c,d,m){return nh(c,d,m),sg(),sy}function nb(){return Yi()}function ay(c){return!!c&&"function"==typeof c.then}function rb(c){return!!c&&"function"==typeof c.subscribe}const ib=rb;function ly(c,d,m,A){const k=Yi(),ee=aa(),pe=Es();return function Mv(c,d,m,A,k,ee,pe,Ie){const Je=sa(A),en=c.firstCreatePass&&i1(c),Ln=d[8],Ar=r1(d);let ni=!0;if(3&A.type||Ie){const us=wi(A,d),Ys=Ie?Ie(us):us,_o=Ar.length,Da=Ie?eu=>Ie(pt(eu[A.index])):A.index;if(Ya(m)){let eu=null;if(!Ie&&Je&&(eu=function mm(c,d,m,A){const k=c.cleanup;if(null!=k)for(let ee=0;ee<k.length-1;ee+=2){const pe=k[ee];if(pe===m&&k[ee+1]===A){const Ie=d[7],Je=k[ee+2];return Ie.length>Je?Ie[Je]:null}"string"==typeof pe&&(ee+=2)}return null}(c,d,k,A.index)),null!==eu)(eu.__ngLastListenerFn__||eu).__ngNextListenerFn__=ee,eu.__ngLastListenerFn__=ee,ni=!1;else{ee=H1(A,d,Ln,ee,!1);const Ju=m.listen(Ys,k,ee);Ar.push(ee,Ju),en&&en.push(k,Da,_o,_o+1)}}else ee=H1(A,d,Ln,ee,!0),Ys.addEventListener(k,ee,pe),Ar.push(ee),en&&en.push(k,Da,_o,pe)}else ee=H1(A,d,Ln,ee,!1);const Zi=A.outputs;let jo;if(ni&&null!==Zi&&(jo=Zi[k])){const us=jo.length;if(us)for(let Ys=0;Ys<us;Ys+=2){const Nh=d[jo[Ys]][jo[Ys+1]].subscribe(ee),pg=Ar.length;Ar.push(ee,Nh),en&&en.push(k,A.index,pg,-(pg+1))}}}(ee,k,k[11],pe,c,d,!!m,A),ly}function $1(c,d,m,A){try{return!1!==m(A)}catch(k){return s1(c,k),!1}}function H1(c,d,m,A,k){return function ee(pe){if(pe===Function)return A;const Ie=2&c.flags?ws(c.index,d):d;0==(32&d[2])&&cv(Ie);let Je=$1(d,0,A,pe),kt=ee.__ngNextListenerFn__;for(;kt;)Je=$1(d,0,kt,pe)&&Je,kt=kt.__ngNextListenerFn__;return k&&!1===Je&&(pe.preventDefault(),pe.returnValue=!1),Je}}function ag(c=1){return function Vi(c){return(je.lFrame.contextLView=function Pr(c,d){for(;c>0;)d=d[15],c--;return d}(c,je.lFrame.contextLView))[8]}(c)}function wC(c,d){let m=null;const A=function gn(c){const d=c.attrs;if(null!=d){const m=d.indexOf(5);if(0==(1&m))return d[m+1]}return null}(c);for(let k=0;k<d.length;k++){const ee=d[k];if("*"!==ee){if(null===A?Ke(c,ee,!0):vi(A,ee))return k}else m=k}return m}function sb(c){const d=Yi()[16][6];if(!d.projection){const A=d.projection=Oa(c?c.length:1,null),k=A.slice();let ee=d.child;for(;null!==ee;){const pe=c?wC(ee,c):0;null!==pe&&(k[pe]?k[pe].projectionNext=ee:A[pe]=ee,k[pe]=ee),ee=ee.next}}}function B1(c,d=0,m){const A=Yi(),k=aa(),ee=M_(k,20+c,16,null,m||null);null===ee.projection&&(ee.projection=d),iu(),64!=(64&ee.flags)&&function T_(c,d,m){Ad(d[11],0,d,m,zp(c,m,d),$f(m.parent||d[6],m,d))}(k,A,ee)}function Ov(c,d,m){return U1(c,"",d,"",m),Ov}function U1(c,d,m,A,k){const ee=Yi(),pe=hm(ee,d,m,A);return pe!==Yo&&Bf(aa(),br(),ee,c,pe,ee[11],k,!1),U1}function uy(c,d,m,A,k,ee,pe){const Ie=Yi(),Je=_m(Ie,d,m,A,k,ee);return Je!==Yo&&Bf(aa(),br(),Ie,c,Je,Ie[11],pe,!1),uy}function pb(c,d,m,A,k){const ee=c[m+1],pe=null===d;let Ie=A?Ee(ee):Tn(ee),Je=!1;for(;0!==Ie&&(!1===Je||pe);){const en=c[Ie+1];dy(c[Ie],d)&&(Je=!0,c[Ie+1]=A?Ho(en):tn(en)),Ie=A?Ee(en):Tn(en)}Je&&(c[m+1]=A?tn(ee):Ho(ee))}function dy(c,d){return null===c||null==d||(Array.isArray(c)?c[1]:c)===d||!(!Array.isArray(c)||"string"!=typeof d)&&ga(c,d)>=0}const Yd={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function hb(c){return c.substring(Yd.key,Yd.keyEnd)}function _b(c,d){const m=Yd.textEnd;return m===d?-1:(d=Yd.keyEnd=function kC(c,d,m){for(;d<m&&c.charCodeAt(d)>32;)d++;return d}(c,Yd.key=d,m),Hg(c,d,m))}function Hg(c,d,m){for(;d<m&&c.charCodeAt(d)<=32;)d++;return d}function fy(c,d,m){return R_(c,d,m,!1),fy}function py(c,d){return R_(c,d,null,!0),py}function yb(c){w_($l,J_,c,!0)}function J_(c,d){for(let m=function FC(c){return function gb(c){Yd.key=0,Yd.keyEnd=0,Yd.value=0,Yd.valueEnd=0,Yd.textEnd=c.length}(c),_b(c,Hg(c,0,Yd.textEnd))}(d);m>=0;m=_b(d,m))$l(c,hb(d),!0)}function R_(c,d,m,A){const k=Yi(),ee=aa(),pe=Yu(2);ee.firstUpdatePass&&bb(ee,c,pe,A),d!==Yo&&Uf(k,pe,d)&&Sb(ee,ee.data[Yn()],k,k[11],c,k[pe+1]=function zC(c,d){return null==c||("string"==typeof d?c+=d:"object"==typeof c&&(c=T(Rc(c)))),c}(d,m),A,pe)}function w_(c,d,m,A){const k=aa(),ee=Yu(2);k.firstUpdatePass&&bb(k,null,ee,A);const pe=Yi();if(m!==Yo&&Uf(pe,ee,m)){const Ie=k.data[Yn()];if(Cb(Ie,A)&&!Eb(k,ee)){let Je=A?Ie.classesWithoutHost:Ie.stylesWithoutHost;null!==Je&&(m=M(Je,m||"")),Hl(k,Ie,pe,m,A)}else!function ZC(c,d,m,A,k,ee,pe,Ie){k===Yo&&(k=Wn);let Je=0,kt=0,en=0<k.length?k[0]:null,Ln=0<ee.length?ee[0]:null;for(;null!==en||null!==Ln;){const Ar=Je<k.length?k[Je+1]:void 0,ni=kt<ee.length?ee[kt+1]:void 0;let jo,Zi=null;en===Ln?(Je+=2,kt+=2,Ar!==ni&&(Zi=Ln,jo=ni)):null===Ln||null!==en&&en<Ln?(Je+=2,Zi=en):(kt+=2,Zi=Ln,jo=ni),null!==Zi&&Sb(c,d,m,A,Zi,jo,pe,Ie),en=Je<k.length?k[Je]:null,Ln=kt<ee.length?ee[kt]:null}}(k,Ie,pe,pe[11],pe[ee+1],pe[ee+1]=function VC(c,d,m){if(null==m||""===m)return Wn;const A=[],k=Rc(m);if(Array.isArray(k))for(let ee=0;ee<k.length;ee++)c(A,k[ee],!0);else if("object"==typeof k)for(const ee in k)k.hasOwnProperty(ee)&&c(A,ee,k[ee]);else"string"==typeof k&&d(A,k);return A}(c,d,m),A,ee)}}function Eb(c,d){return d>=c.expandoStartIndex}function bb(c,d,m,A){const k=c.data;if(null===k[m+1]){const ee=k[Yn()],pe=Eb(c,m);Cb(ee,A)&&null===d&&!pe&&(d=!1),d=function UC(c,d,m,A){const k=Z(c);let ee=A?d.residualClasses:d.residualStyles;if(null===k)0===(A?d.classBindings:d.styleBindings)&&(m=Q_(m=hy(null,c,d,m,A),d.attrs,A),ee=null);else{const pe=d.directiveStylingLast;if(-1===pe||c[pe]!==k)if(m=hy(k,c,d,m,A),null===ee){let Je=function YC(c,d,m){const A=m?d.classBindings:d.styleBindings;if(0!==Tn(A))return c[Ee(A)]}(c,d,A);void 0!==Je&&Array.isArray(Je)&&(Je=hy(null,c,d,Je[1],A),Je=Q_(Je,d.attrs,A),function jC(c,d,m,A){c[Ee(m?d.classBindings:d.styleBindings)]=A}(c,d,A,Je))}else ee=function GC(c,d,m){let A;const k=d.directiveEnd;for(let ee=1+d.directiveStylingLast;ee<k;ee++)A=Q_(A,c[ee].hostAttrs,m);return Q_(A,d.attrs,m)}(c,d,A)}return void 0!==ee&&(A?d.residualClasses=ee:d.residualStyles=ee),m}(k,ee,d,A),function PC(c,d,m,A,k,ee){let pe=ee?d.classBindings:d.styleBindings,Ie=Ee(pe),Je=Tn(pe);c[A]=m;let en,kt=!1;if(Array.isArray(m)){const Ln=m;en=Ln[1],(null===en||ga(Ln,en)>0)&&(kt=!0)}else en=m;if(k)if(0!==Je){const Ar=Ee(c[Ie+1]);c[A+1]=Y(Ar,Ie),0!==Ar&&(c[Ar+1]=ar(c[Ar+1],A)),c[Ie+1]=function At(c,d){return 131071&c|d<<17}(c[Ie+1],A)}else c[A+1]=Y(Ie,0),0!==Ie&&(c[Ie+1]=ar(c[Ie+1],A)),Ie=A;else c[A+1]=Y(Je,0),0===Ie?Ie=A:c[Je+1]=ar(c[Je+1],A),Je=A;kt&&(c[A+1]=tn(c[A+1])),pb(c,en,A,!0),pb(c,en,A,!1),function NC(c,d,m,A,k){const ee=k?c.residualClasses:c.residualStyles;null!=ee&&"string"==typeof d&&ga(ee,d)>=0&&(m[A+1]=Ho(m[A+1]))}(d,en,c,A,ee),pe=Y(Ie,Je),ee?d.classBindings=pe:d.styleBindings=pe}(k,ee,d,m,pe,A)}}function hy(c,d,m,A,k){let ee=null;const pe=m.directiveEnd;let Ie=m.directiveStylingLast;for(-1===Ie?Ie=m.directiveStart:Ie++;Ie<pe&&(ee=d[Ie],A=Q_(A,ee.hostAttrs,k),ee!==c);)Ie++;return null!==c&&(m.directiveStylingLast=Ie),A}function Q_(c,d,m){const A=m?1:2;let k=-1;if(null!==d)for(let ee=0;ee<d.length;ee++){const pe=d[ee];"number"==typeof pe?k=pe:k===A&&(Array.isArray(c)||(c=void 0===c?[]:["",c]),$l(c,pe,!!m||d[++ee]))}return void 0===c?null:c}function Sb(c,d,m,A,k,ee,pe,Ie){if(!(3&d.type))return;const Je=c.data,kt=Je[Ie+1];G1(function li(c){return 1==(1&c)}(kt)?Tb(Je,d,m,k,Tn(kt),pe):void 0)||(G1(ee)||function ze(c){return 2==(2&c)}(kt)&&(ee=Tb(Je,null,m,k,Ie,pe)),function Sm(c,d,m,A,k){const ee=Ya(c);if(d)k?ee?c.addClass(m,A):m.classList.add(A):ee?c.removeClass(m,A):m.classList.remove(A);else{let pe=-1===A.indexOf("-")?void 0:Md.DashCase;if(null==k)ee?c.removeStyle(m,A,pe):m.style.removeProperty(A);else{const Ie="string"==typeof k&&k.endsWith("!important");Ie&&(k=k.slice(0,-10),pe|=Md.Important),ee?c.setStyle(m,A,k,pe):m.style.setProperty(A,k,Ie?"important":"")}}}(A,pe,oi(Yn(),m),k,ee))}function Tb(c,d,m,A,k,ee){const pe=null===d;let Ie;for(;k>0;){const Je=c[k],kt=Array.isArray(Je),en=kt?Je[1]:Je,Ln=null===en;let Ar=m[k+1];Ar===Yo&&(Ar=Ln?Wn:void 0);let ni=Ln?Ac(Ar,A):en===A?Ar:void 0;if(kt&&!G1(ni)&&(ni=Ac(Je,A)),G1(ni)&&(Ie=ni,pe))return Ie;const Zi=c[k+1];k=pe?Ee(Zi):Tn(Zi)}if(null!==d){let Je=ee?d.residualClasses:d.residualStyles;null!=Je&&(Ie=Ac(Je,A))}return Ie}function G1(c){return void 0!==c}function Cb(c,d){return 0!=(c.flags&(d?16:32))}function V1(c,d=""){const m=Yi(),A=aa(),k=c+20,ee=A.firstCreatePass?M_(A,k,1,d,null):A.data[k],pe=m[k]=Ch(m[11],d);tp(A,m,pe,ee),lu(ee,!1)}function _y(c){return Z1("",c,""),_y}function Z1(c,d,m){const A=Yi(),k=hm(A,c,d,m);return k!==Yo&&l_(A,Yn(),k),Z1}function my(c,d,m,A,k){const ee=Yi(),pe=_m(ee,c,d,m,A,k);return pe!==Yo&&l_(ee,Yn(),pe),my}function gy(c,d,m,A,k,ee,pe){const Ie=Yi(),Je=function Lm(c,d,m,A,k,ee,pe,Ie){const kt=Ig(c,du(),m,k,pe);return Yu(3),kt?d+re(m)+A+re(k)+ee+re(pe)+Ie:Yo}(Ie,c,d,m,A,k,ee,pe);return Je!==Yo&&l_(Ie,Yn(),Je),gy}function xb(c,d,m){w_($l,J_,hm(Yi(),c,d,m),!0)}function Rb(c,d,m,A,k){w_($l,J_,_m(Yi(),c,d,m,A,k),!0)}function wb(c,d,m,A,k,ee,pe,Ie,Je){w_($l,J_,function km(c,d,m,A,k,ee,pe,Ie,Je,kt){const Ln=th(c,du(),m,k,pe,Je);return Yu(4),Ln?d+re(m)+A+re(k)+ee+re(pe)+Ie+re(Je)+kt:Yo}(Yi(),c,d,m,A,k,ee,pe,Ie,Je),!0)}function Ey(c,d,m){const A=Yi();return Uf(A,Uu(),d)&&Bf(aa(),br(),A,c,d,A[11],m,!0),Ey}function by(c,d,m){const A=Yi();if(Uf(A,Uu(),d)){const ee=aa(),pe=br();Bf(ee,pe,A,c,d,function o1(c,d,m){return(null===c||Ra(c))&&(m=function Kt(c){for(;Array.isArray(c);){if("object"==typeof c[1])return c;c=c[0]}return null}(m[d.index])),m[11]}(Z(ee.data),pe,A),m,!0)}return by}const lg=void 0;var s2=["en",[["a","p"],["AM","PM"],lg],[["AM","PM"],lg,lg],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],lg,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],lg,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",lg,"{1} 'at' {0}",lg],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function o2(c){const m=Math.floor(Math.abs(c)),A=c.toString().replace(/^[^.]*\.?/,"").length;return 1===m&&0===A?1:5}];let Yg={};function Sy(c){const d=function a2(c){return c.toLowerCase().replace(/_/g,"-")}(c);let m=Yb(d);if(m)return m;const A=d.split("-")[0];if(m=Yb(A),m)return m;if("en"===A)return s2;throw new Error(`Missing locale data for the locale "${c}".`)}function Ub(c){return Sy(c)[za.PluralCase]}function Yb(c){return c in Yg||(Yg[c]=vr.ng&&vr.ng.common&&vr.ng.common.locales&&vr.ng.common.locales[c]),Yg[c]}var za=(()=>((za=za||{})[za.LocaleId=0]="LocaleId",za[za.DayPeriodsFormat=1]="DayPeriodsFormat",za[za.DayPeriodsStandalone=2]="DayPeriodsStandalone",za[za.DaysFormat=3]="DaysFormat",za[za.DaysStandalone=4]="DaysStandalone",za[za.MonthsFormat=5]="MonthsFormat",za[za.MonthsStandalone=6]="MonthsStandalone",za[za.Eras=7]="Eras",za[za.FirstDayOfWeek=8]="FirstDayOfWeek",za[za.WeekendRange=9]="WeekendRange",za[za.DateFormat=10]="DateFormat",za[za.TimeFormat=11]="TimeFormat",za[za.DateTimeFormat=12]="DateTimeFormat",za[za.NumberSymbols=13]="NumberSymbols",za[za.NumberFormats=14]="NumberFormats",za[za.CurrencyCode=15]="CurrencyCode",za[za.CurrencySymbol=16]="CurrencySymbol",za[za.CurrencyName=17]="CurrencyName",za[za.Currencies=18]="Currencies",za[za.Directionality=19]="Directionality",za[za.PluralCase=20]="PluralCase",za[za.ExtraData=21]="ExtraData",za))();const l2=["zero","one","two","few","many"],W1="en-US",J1={marker:"element"},Q1={marker:"ICU"};var wd=(()=>((wd=wd||{})[wd.SHIFT=2]="SHIFT",wd[wd.APPEND_EAGERLY=1]="APPEND_EAGERLY",wd[wd.COMMENT=2]="COMMENT",wd))();let jb=W1;function Gb(c,d,m){const A=d.insertBeforeIndex,k=Array.isArray(A)?A[0]:A;return null===k?$_(c,0,m):pt(m[k])}function Vb(c,d,m,A,k){const ee=d.insertBeforeIndex;if(Array.isArray(ee)){let pe=A,Ie=null;if(3&d.type||(Ie=pe,pe=k),null!==pe&&0==(2&d.flags))for(let Je=1;Je<ee.length;Je++)ep(c,pe,m[ee[Je]],Ie,!1)}}function Zb(c,d){if(c.push(d),c.length>1)for(let m=c.length-2;m>=0;m--){const A=c[m];zb(A)||p2(A,d)&&null===h2(A)&&_2(A,d.index)}}function zb(c){return!(64&c.type)}function p2(c,d){return zb(d)||c.index>d.index}function h2(c){const d=c.insertBeforeIndex;return Array.isArray(d)?d[0]:d}function _2(c,d){const m=c.insertBeforeIndex;Array.isArray(m)?m[0]=d:(H_(Gb,Vb),c.insertBeforeIndex=d)}function Av(c,d){const m=c.data[d];return null===m||"string"==typeof m?null:m.hasOwnProperty("currentCaseLViewIndex")?m:m.value}function v2(c,d,m){const A=Mm(c,m,64,null,null);return Zb(d,A),A}function X1(c,d){const m=d[c.currentCaseLViewIndex];return null===m?m:m<0?~m:m}function ug(c){return c>>>17}function Ym(c){return(131070&c)>>>1}let gm=0,Dv=0;function Jb(c,d,m,A){const k=m[11];let pe,ee=null;for(let Ie=0;Ie<d.length;Ie++){const Je=d[Ie];if("string"==typeof Je){const kt=d[++Ie];null===m[kt]&&(m[kt]=Ch(k,Je))}else if("number"==typeof Je)switch(1&Je){case 0:const kt=ug(Je);let en,Ln;if(null===ee&&(ee=kt,pe=Oh(k,A)),kt===ee?(en=A,Ln=pe):(en=null,Ln=pt(m[kt])),null!==Ln){const jo=Ym(Je);ep(k,Ln,m[jo],en,!1);const Ys=Av(c,jo);if(null!==Ys&&"object"==typeof Ys){const _o=X1(Ys,m);null!==_o&&Jb(c,Ys.create[_o],m,m[Ys.anchorIdx])}}break;case 1:const ni=d[++Ie],Zi=d[++Ie];a_(k,oi(Je>>>1,m),null,null,ni,Zi,null)}else switch(Je){case Q1:const kt=d[++Ie],en=d[++Ie];null===m[en]&&ac(m[en]=Mh(k,kt),m);break;case J1:const Ln=d[++Ie],Ar=d[++Ie];null===m[Ar]&&ac(m[Ar]=jc(k,Ln,null),m)}}}function Qb(c,d,m,A,k){for(let ee=0;ee<m.length;ee++){const pe=m[ee],Ie=m[++ee];if(pe&k){let Je="";for(let kt=ee+1;kt<=ee+Ie;kt++){const en=m[kt];if("string"==typeof en)Je+=en;else if("number"==typeof en)if(en<0)Je+=re(d[A-en]);else{const Ln=en>>>2;switch(3&en){case 1:const Ar=m[++kt],ni=m[++kt],Zi=c.data[Ln];"string"==typeof Zi?a_(d[11],d[Ln],null,Zi,Ar,Je,ni):Bf(c,Zi,d,Ar,Je,d[11],ni,!1);break;case 0:const jo=d[Ln];null!==jo&&fp(d[11],jo,Je);break;case 2:T2(c,Av(c,Ln),d,Je);break;case 3:Xb(c,Av(c,Ln),A,d)}}}}else{const Je=m[ee+1];if(Je>0&&3==(3&Je)){const en=Av(c,Je>>>2);d[en.currentCaseLViewIndex]<0&&Xb(c,en,A,d)}}ee+=Ie}}function Xb(c,d,m,A){let k=A[d.currentCaseLViewIndex];if(null!==k){let ee=gm;k<0&&(k=A[d.currentCaseLViewIndex]=~k,ee=-1),Qb(c,A,d.update[k],m,ee)}}function T2(c,d,m,A){const k=function C2(c,d){let m=c.cases.indexOf(d);if(-1===m)switch(c.type){case 1:{const A=function u2(c,d){const m=Ub(d)(parseInt(c,10)),A=l2[m];return void 0!==A?A:"other"}(d,function f2(){return jb}());m=c.cases.indexOf(A),-1===m&&"other"!==A&&(m=c.cases.indexOf("other"));break}case 0:m=c.cases.indexOf("other")}return-1===m?null:m}(d,A);if(X1(d,m)!==k&&(Kb(c,d,m),m[d.currentCaseLViewIndex]=null===k?null:~k,null!==k)){const pe=m[d.anchorIdx];pe&&Jb(c,d.create[k],m,pe)}}function Kb(c,d,m){let A=X1(d,m);if(null!==A){const k=d.remove[A];for(let ee=0;ee<k.length;ee++){const pe=k[ee];if(pe>0){const Ie=oi(pe,m);null!==Ie&&Rp(m[11],Ie)}else Kb(c,Av(c,~pe),m)}}}function M2(){const c=[];let m,A,d=-1;function ee(Ie,Je){d=0;const kt=X1(Ie,Je);A=null!==kt?Ie.remove[kt]:Wn}function pe(){if(d<A.length){const Ie=A[d++];return Ie>0?m[Ie]:(c.push(d,A),ee(m[1].data[~Ie],m),pe())}return 0===c.length?null:(A=c.pop(),d=c.pop(),pe())}return function k(Ie,Je){for(m=Je;c.length;)c.pop();return ee(Ie.value,Je),pe}}const K1=/\ufffd(\d+):?\d*\ufffd/gi,O2=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,A2=/\ufffd(\d+)\ufffd/,qb=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,D2=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,x2=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,R2=/\uE500/g;function eS(c,d,m,A,k,ee,pe){const Ie=xh(c,A,1,null);let Je=Ie<<wd.SHIFT,kt=Sl();d===kt&&(kt=null),null===kt&&(Je|=wd.APPEND_EAGERLY),pe&&(Je|=wd.COMMENT,function jl(c){void 0===dp&&(dp=c())}(M2)),k.push(Je,null===ee?"":ee);const en=Mm(c,Ie,pe?32:1,null===ee?"":ee,null);Zb(m,en);const Ln=en.index;return lu(en,!1),null!==kt&&d!==kt&&function g2(c,d){let m=c.insertBeforeIndex;null===m?(H_(Gb,Vb),m=c.insertBeforeIndex=[null,d]):(function Ve(c,d,m){c!=d&&Yt(m,c,d,"==")}(Array.isArray(m),!0,"Expecting array here"),m.push(d))}(kt,Ln),en}function N2(c,d,m,A,k,ee,pe){const Ie=pe.match(K1),Je=eS(c,d,m,ee,A,Ie?null:pe,!1);Ie&&jg(k,pe,Je.index,null,0,null)}function jg(c,d,m,A,k,ee){const pe=c.length,Ie=pe+1;c.push(null,null);const Je=pe+2,kt=d.split(K1);let en=0;for(let Ln=0;Ln<kt.length;Ln++){const Ar=kt[Ln];if(1&Ln){const ni=k+parseInt(Ar,10);c.push(-1-ni),en|=tS(ni)}else""!==Ar&&c.push(Ar)}return c.push(m<<2|(A?1:0)),A&&c.push(A,ee),c[pe]=en,c[Ie]=c.length-Je,en}function F2(c){let d=0;for(let m=0;m<c.length;m++){const A=c[m];"number"==typeof A&&A<0&&d++}return d}function tS(c){return 1<<Math.min(c,31)}function nS(c){let d,ee,m="",A=0,k=!1;for(;null!==(d=D2.exec(c));)k?d[0]===`\ufffd/*${ee}\ufffd`&&(A=d.index,k=!1):(m+=c.substring(A,d.index+d[0].length),ee=d[1],k=!0);return m+=c.substr(A),m}function rS(c,d,m,A,k,ee){let pe=0;const Ie={type:k.type,currentCaseLViewIndex:xh(c,d,1,null),anchorIdx:ee,cases:[],create:[],remove:[],update:[]};(function U2(c,d,m){c.push(tS(d.mainBinding),2,-1-d.mainBinding,m<<2|2)})(m,k,ee),function m2(c,d,m){const A=c.data[d];null===A?c.data[d]=m:A.value=m}(c,ee,Ie);const Je=k.values;for(let kt=0;kt<Je.length;kt++){const en=Je[kt],Ln=[];for(let Ar=0;Ar<en.length;Ar++){const ni=en[Ar];if("string"!=typeof ni){const Zi=Ln.push(ni)-1;en[Ar]=`\x3c!--\ufffd${Zi}\ufffd--\x3e`}}pe=H2(c,Ie,d,m,A,k.cases[kt],en.join(""),Ln)|pe}pe&&function Y2(c,d,m){c.push(d,1,m<<2|3)}(m,pe,ee)}function $2(c){const d=[],m=[];let A=1,k=0;const ee=Ty(c=c.replace(qb,function(pe,Ie,Je){return A="select"===Je?0:1,k=parseInt(Ie.substr(1),10),""}));for(let pe=0;pe<ee.length;){let Ie=ee[pe++].trim();1===A&&(Ie=Ie.replace(/\s*(?:=)?(\w+)\s*/,"$1")),Ie.length&&d.push(Ie);const Je=Ty(ee[pe++]);d.length>m.length&&m.push(Je)}return{type:A,mainBinding:k,cases:d,values:m}}function Ty(c){if(!c)return[];let d=0;const m=[],A=[],k=/[{}]/g;let ee;for(k.lastIndex=0;ee=k.exec(c);){const Ie=ee.index;if("}"==ee[0]){if(m.pop(),0==m.length){const Je=c.substring(d,Ie);qb.test(Je)?A.push($2(Je)):A.push(Je),d=Ie+1}}else{if(0==m.length){const Je=c.substring(d,Ie);A.push(Je),d=Ie+1}m.push("{")}}const pe=c.substring(d);return A.push(pe),A}function H2(c,d,m,A,k,ee,pe,Ie){const Je=[],kt=[],en=[];d.cases.push(ee),d.create.push(Je),d.remove.push(kt),d.update.push(en);const Ar=Ed(Ol()).getInertBodyElement(pe),ni=ph(Ar)||Ar;return ni?iS(c,d,m,A,Je,kt,en,ni,k,Ie,0):0}function iS(c,d,m,A,k,ee,pe,Ie,Je,kt,en){let Ln=0,Ar=Ie.firstChild;for(;Ar;){const ni=xh(c,m,1,null);switch(Ar.nodeType){case Node.ELEMENT_NODE:const Zi=Ar,jo=Zi.tagName.toLowerCase();if(bf.hasOwnProperty(jo)){Cy(k,J1,jo,Je,ni),c.data[ni]=jo;const Da=Zi.attributes;for(let eu=0;eu<Da.length;eu++){const Ju=Da.item(eu),Nh=Ju.name.toLowerCase();Ju.value.match(K1)?Au.hasOwnProperty(Nh)&&jg(pe,Ju.value,ni,Ju.name,0,Sf[Nh]?Pf:Zf[Nh]?Bp:null):j2(k,ni,Ju)}Ln=iS(c,d,m,A,k,ee,pe,Ar,ni,kt,en+1)|Ln,oS(ee,ni,en)}break;case Node.TEXT_NODE:const us=Ar.textContent||"",Ys=us.match(K1);Cy(k,null,Ys?"":us,Je,ni),oS(ee,ni,en),Ys&&(Ln=jg(pe,us,ni,null,0,null)|Ln);break;case Node.COMMENT_NODE:const _o=A2.exec(Ar.textContent||"");if(_o){const eu=kt[parseInt(_o[1],10)];Cy(k,Q1,"",Je,ni),rS(c,m,A,Je,eu,ni),B2(ee,ni,en)}}Ar=Ar.nextSibling}return Ln}function oS(c,d,m){0===m&&c.push(d)}function B2(c,d,m){0===m&&(c.push(~d),c.push(d))}function Cy(c,d,m,A,k){null!==d&&c.push(d),c.push(m,k,function y2(c,d,m){return c|d<<17|m<<1}(0,A,k))}function j2(c,d,m){c.push(d<<1|1,m.name,m.value)}const G2=/\[(\ufffd.+?\ufffd?)\]/,V2=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,Z2=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,z2=/{([A-Z0-9_]+)}/g,W2=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,J2=/\/\*/,Q2=/\d+\:(\d+)/;function My(c,d,m=-1){const A=aa(),k=Yi(),ee=20+c,pe=Bs(A.consts,d),Ie=Sl();A.firstCreatePass&&function P2(c,d,m,A,k,ee){const pe=Sl(),Ie=[],Je=[],kt=[[]];k=function k2(c,d){if(function L2(c){return-1===c}(d))return nS(c);{const m=c.indexOf(`:${d}\ufffd`)+2+d.toString().length,A=c.search(new RegExp(`\ufffd\\/\\*\\d+:${d}\ufffd`));return nS(c.substring(m,A))}}(k,ee);const en=function w2(c){return c.replace(R2," ")}(k).split(x2);for(let Ln=0;Ln<en.length;Ln++){let Ar=en[Ln];if(0==(1&Ln)){const ni=Ty(Ar);for(let Zi=0;Zi<ni.length;Zi++){let jo=ni[Zi];if(0==(1&Zi)){const us=jo;""!==us&&N2(c,pe,kt[0],Ie,Je,m,us)}else{const us=jo;if("object"!=typeof us)throw new Error(`Unable to parse ICU expression in "${k}" message.`);rS(c,m,Je,d,us,eS(c,pe,kt[0],m,Ie,"",!0).index)}}}else{const ni=47===Ar.charCodeAt(0),jo=(Ar.charCodeAt(ni?1:0),20+Number.parseInt(Ar.substring(ni?2:1)));if(ni)kt.shift(),lu(Sl(),!1);else{const us=v2(c,kt[0],jo);kt.unshift([]),lu(us,!0)}}}c.data[A]={create:Ie,update:Je}}(A,null===Ie?0:Ie.index,k,ee,pe,m);const Je=A.data[ee],en=y_(A,Ie===k[6]?null:Ie,k);(function S2(c,d,m,A){const k=c[11];for(let ee=0;ee<d.length;ee++){const pe=d[ee++],Ie=d[ee],Je=(pe&wd.COMMENT)===wd.COMMENT,kt=(pe&wd.APPEND_EAGERLY)===wd.APPEND_EAGERLY,en=pe>>>wd.SHIFT;let Ln=c[en];null===Ln&&(Ln=c[en]=Je?k.createComment(Ie):Ch(k,Ie)),kt&&null!==m&&ep(k,m,Ln,A,!1)}})(k,Je.create,en,Ie&&8&Ie.type?k[Ie.index]:null),Ld(!0)}function Oy(){Ld(!1)}function aS(c,d,m){My(c,d,m),Oy()}function lS(c,d){const m=aa();!function I2(c,d,m){const k=Es().index,ee=[];if(c.firstCreatePass&&null===c.data[d]){for(let pe=0;pe<m.length;pe+=2){const Ie=m[pe],Je=m[pe+1];if(""!==Je){if(O2.test(Je))throw new Error(`ICU expressions are not supported in attributes. Message: "${Je}".`);jg(ee,Je,k,Ie,F2(ee),null)}}c.data[d]=ee}}(m,c+20,Bs(m.consts,d))}function q1(c){return function E2(c){c&&(gm|=1<<Math.min(Dv,31)),Dv++}(Uf(Yi(),Uu(),c)),q1}function uS(c){!function b2(c,d,m){if(Dv>0){const A=c.data[m];Qb(c,d,Array.isArray(A)?A:A.update,du()-Dv-1,gm)}gm=0,Dv=0}(aa(),Yi(),c+20)}function cS(c,d={}){return function X2(c,d={}){let m=c;if(G2.test(c)){const A={},k=[0];m=m.replace(V2,(ee,pe,Ie)=>{const Je=pe||Ie,kt=A[Je]||[];if(kt.length||(Je.split("|").forEach(jo=>{const us=jo.match(Q2),Ys=us?parseInt(us[1],10):0,_o=J2.test(jo);kt.push([Ys,_o,jo])}),A[Je]=kt),!kt.length)throw new Error(`i18n postprocess: unmatched placeholder - ${Je}`);const en=k[k.length-1];let Ln=0;for(let jo=0;jo<kt.length;jo++)if(kt[jo][0]===en){Ln=jo;break}const[Ar,ni,Zi]=kt[Ln];return ni?k.pop():en!==Ar&&k.push(Ar),kt.splice(Ln,1),Zi})}return Object.keys(d).length&&(m=m.replace(Z2,(A,k,ee,pe,Ie,Je)=>d.hasOwnProperty(ee)?`${k}${d[ee]}${Je}`:A),m=m.replace(z2,(A,k)=>d.hasOwnProperty(k)?d[k]:A),m=m.replace(W2,(A,k)=>{if(d.hasOwnProperty(k)){const ee=d[k];if(!ee.length)throw new Error(`i18n postprocess: unmatched ICU - ${A} with key: ${k}`);return ee.shift()}return A})),m}(c,d)}function e0(c,d,m,A,k){if(c=U(c),Array.isArray(c))for(let ee=0;ee<c.length;ee++)e0(c[ee],d,m,A,k);else{const ee=aa(),pe=Yi();let Ie=Pm(c)?c:U(c.provide),Je=p1(c);const kt=Es(),en=1048575&kt.providerIndexes,Ln=kt.directiveStart,Ar=kt.providerIndexes>>20;if(Pm(c)||!c.multi){const ni=new La(Je,k,Ea),Zi=Ay(Ie,d,k?en:en+Ar,Ln);-1===Zi?(ka(ha(kt,pe),ee,Ie),Rv(ee,c,d.length),d.push(Ie),kt.directiveStart++,kt.directiveEnd++,k&&(kt.providerIndexes+=1048576),m.push(ni),pe.push(ni)):(m[Zi]=ni,pe[Zi]=ni)}else{const ni=Ay(Ie,d,en+Ar,Ln),Zi=Ay(Ie,d,en,en+Ar),jo=ni>=0&&m[ni],us=Zi>=0&&m[Zi];if(k&&!us||!k&&!jo){ka(ha(kt,pe),ee,Ie);const Ys=function tM(c,d,m,A,k){const ee=new La(c,m,Ea);return ee.multi=[],ee.index=d,ee.componentProviders=0,dS(ee,k,A&&!m),ee}(k?eM:q2,m.length,k,A,Je);!k&&us&&(m[Zi].providerFactory=Ys),Rv(ee,c,d.length,0),d.push(Ie),kt.directiveStart++,kt.directiveEnd++,k&&(kt.providerIndexes+=1048576),m.push(Ys),pe.push(Ys)}else Rv(ee,c,ni>-1?ni:Zi,dS(m[k?Zi:ni],Je,!k&&A));!k&&A&&us&&m[Zi].componentProviders++}}}function Rv(c,d,m,A){const k=Pm(d),ee=function fv(c){return!!c.useClass}(d);if(k||ee){const Je=(ee?U(d.useClass):d).prototype.ngOnDestroy;if(Je){const kt=c.destroyHooks||(c.destroyHooks=[]);if(!k&&d.multi){const en=kt.indexOf(m);-1===en?kt.push(m,[A,Je]):kt[en+1].push(A,Je)}else kt.push(m,Je)}}}function dS(c,d,m){return m&&c.componentProviders++,c.multi.push(d)-1}function Ay(c,d,m,A){for(let k=m;k<A;k++)if(d[k]===c)return k;return-1}function q2(c,d,m,A){return Dy(this.multi,[])}function eM(c,d,m,A){const k=this.multi;let ee;if(this.providerFactory){const pe=this.providerFactory.componentProviders,Ie=cu(m,m[1],this.providerFactory.index,A);ee=Ie.slice(0,pe),Dy(k,ee);for(let Je=pe;Je<Ie.length;Je++)ee.push(Ie[Je])}else ee=[],Dy(k,ee);return ee}function Dy(c,d){for(let m=0;m<c.length;m++)d.push((0,c[m])());return d}function fS(c,d=[]){return m=>{m.providersResolver=(A,k)=>function K2(c,d,m){const A=aa();if(A.firstCreatePass){const k=Ra(c);e0(m,A.data,A.blueprint,k,!0),e0(d,A.data,A.blueprint,k,!1)}}(A,k?k(c):c,d)}}class pS{}class hS{}class rM{resolveComponentFactory(d){throw function nM(c){const d=Error(`No component factory found for ${T(c)}. Did you add it to @NgModule.entryComponents?`);return d.ngComponent=c,d}(d)}}let t0=(()=>{class c{}return c.NULL=new rM,c})();function iM(){return Gg(Es(),Yi())}function Gg(c,d){return new wv(wi(c,d))}let wv=(()=>{class c{constructor(m){this.nativeElement=m}}return c.__NG_ELEMENT_ID__=iM,c})();function oM(c){return c instanceof wv?c.nativeElement:c}class mS{}let sM=(()=>{class c{}return c.__NG_ELEMENT_ID__=()=>function gS(){const c=Yi(),m=ws(Es().index,c);return function aM(c){return c[11]}(es(m)?m:c)}(),c})(),lM=(()=>{class c{}return c.\u0275prov=xt({token:c,providedIn:"root",factory:()=>null}),c})();class xy{constructor(d){this.full=d,this.major=d.split(".")[0],this.minor=d.split(".")[1],this.patch=d.split(".").slice(2).join(".")}}const uM=new xy("13.3.11"),Ry={};function n0(c,d,m,A,k=!1){for(;null!==m;){const ee=d[m.index];if(null!==ee&&A.push(pt(ee)),ma(ee))for(let Ie=10;Ie<ee.length;Ie++){const Je=ee[Ie],kt=Je[1].firstChild;null!==kt&&n0(Je[1],Je,kt,A)}const pe=m.type;if(8&pe)n0(c,d,m.child,A);else if(32&pe){const Ie=Bu(m,d);let Je;for(;Je=Ie();)A.push(Je)}else if(16&pe){const Ie=xp(d,m);if(Array.isArray(Ie))A.push(...Ie);else{const Je=kf(d[16]);n0(Je[1],Je,Ie,A,!0)}}m=k?m.projectionNext:m.next}return A}class Pv{constructor(d,m){this._lView=d,this._cdRefInjectingView=m,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const d=this._lView,m=d[1];return n0(m,d,m.firstChild,[])}get context(){return this._lView[8]}set context(d){this._lView[8]=d}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const d=this._lView[3];if(ma(d)){const m=d[8],A=m?m.indexOf(this):-1;A>-1&&(i_(d,A),rc(m,A))}this._attachedToViewContainer=!1}Ap(this._lView[1],this._lView)}onDestroy(d){Om(this._lView[1],this._lView,null,d)}markForCheck(){cv(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){!function dm(c,d,m){const A=d[10];A.begin&&A.begin();try{O_(c,d,c.template,m)}catch(k){throw s1(d,k),k}finally{A.end&&A.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new q(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Op(c,d){Jp(c,d,d[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(d){if(this._attachedToViewContainer)throw new q(902,"");this._appRef=d}}class cM extends Pv{constructor(d){super(d),this._view=d}detectChanges(){xg(this._view)}checkNoChanges(){}get context(){return null}}class vS extends t0{constructor(d){super(),this.ngModule=d}resolveComponentFactory(d){const m=yn(d);return new cg(m,this.ngModule)}}function yS(c){const d=[];for(let m in c)c.hasOwnProperty(m)&&d.push({propName:c[m],templateName:m});return d}class cg extends hS{constructor(d,m){super(),this.componentDef=d,this.ngModule=m,this.componentType=d.type,this.selector=function Do(c){return c.map(ts).join(",")}(d.selectors),this.ngContentSelectors=d.ngContentSelectors?d.ngContentSelectors:[],this.isBoundToModule=!!m}get inputs(){return yS(this.componentDef.inputs)}get outputs(){return yS(this.componentDef.outputs)}create(d,m,A,k){const ee=(k=k||this.ngModule)?function fM(c,d){return{get:(m,A,k)=>{const ee=c.get(m,Ry,k);return ee!==Ry||A===Ry?ee:d.get(m,A,k)}}}(d,k.injector):d,pe=ee.get(mS,rt),Ie=ee.get(lM,null),Je=pe.createRenderer(null,this.componentDef),kt=this.componentDef.selectors[0][0]||"div",en=A?function cm(c,d,m){if(Ya(c))return c.selectRootElement(d,m===Xn.ShadowDom);let A="string"==typeof d?c.querySelector(d):d;return A.textContent="",A}(Je,A,this.componentDef.encapsulation):jc(pe.createRenderer(null,this.componentDef),kt,function dM(c){const d=c.toLowerCase();return"svg"===d?"svg":"math"===d?"math":null}(kt)),Ln=this.componentDef.onPush?576:528,Ar=function hv(c,d){return{components:[],scheduler:c||bh,clean:Dm,playerHandler:d||null,flags:0}}(),ni=Qp(0,null,null,1,0,null,null,null,null,null),Zi=lm(null,ni,Ar,Ln,null,null,pe,Je,Ie,ee);let jo,us;_n(Zi);try{const Ys=function y1(c,d,m,A,k,ee){const pe=m[1];m[20]=c;const Je=M_(pe,20,2,"#host",null),kt=Je.mergedAttrs=d.hostAttrs;null!==kt&&(Kp(Je,kt,!0),null!==c&&(gc(k,c,kt),null!==Je.classes&&Ah(k,c,Je.classes),null!==Je.styles&&hp(k,c,Je.styles)));const en=A.createRenderer(c,d),Ln=lm(m,j_(d),null,d.onPush?64:16,m[20],Je,A,en,ee||null,null);return pe.firstCreatePass&&(ka(ha(Je,m),pe,d.type),ml(pe,Je),xu(Je,m.length,1)),Ag(m,Ln),m[20]=Ln}(en,this.componentDef,Zi,pe,Je);if(en)if(A)gc(Je,en,["ng-version",uM.full]);else{const{attrs:_o,classes:Da}=function Ss(c){const d=[],m=[];let A=1,k=2;for(;A<c.length;){let ee=c[A];if("string"==typeof ee)2===k?""!==ee&&d.push(ee,c[++A]):8===k&&m.push(ee);else{if(!z(k))break;k=ee}A++}return{attrs:d,classes:m}}(this.componentDef.selectors[0]);_o&&gc(Je,en,_o),Da&&Da.length>0&&Ah(Je,en,Da.join(" "))}if(us=Vs(ni,20),void 0!==m){const _o=us.projection=[];for(let Da=0;Da<this.ngContentSelectors.length;Da++){const eu=m[Da];_o.push(null!=eu?Array.from(eu):null)}}jo=function E1(c,d,m,A,k){const ee=m[1],pe=function ft(c,d,m){const A=Es();c.firstCreatePass&&(m.providersResolver&&m.providersResolver(m),Dd(c,A,d,xh(c,d,1,null),m));const k=cu(d,c,A.directiveStart,A);ac(k,d);const ee=wi(A,d);return ee&&ac(ee,d),k}(ee,m,d);if(A.components.push(pe),c[8]=pe,k&&k.forEach(Je=>Je(pe,d)),d.contentQueries){const Je=Es();d.contentQueries(1,pe,Je.directiveStart)}const Ie=Es();return!ee.firstCreatePass||null===d.hostBindings&&null===d.hostAttrs||(Rr(Ie.index),rr(m[1],Ie,0,Ie.directiveStart,Ie.directiveEnd,d),zo(d,pe)),pe}(Ys,this.componentDef,Zi,Ar,[b1]),Y_(ni,Zi,null)}finally{Ci()}return new ES(this.componentType,jo,Gg(us,Zi),Zi,us)}}class ES extends pS{constructor(d,m,A,k,ee){super(),this.location=A,this._rootLView=k,this._tNode=ee,this.instance=m,this.hostView=this.changeDetectorRef=new cM(k),this.componentType=d}get injector(){return new Ml(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(d){this.hostView.onDestroy(d)}}class Vg{}class bS{}const Zg=new Map;class CS extends Vg{constructor(d,m){super(),this._parent=m,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new vS(this);const A=yi(d);this._bootstrapComponents=tf(A.bootstrap),this._r3Injector=f1(d,m,[{provide:Vg,useValue:this},{provide:t0,useValue:this.componentFactoryResolver}],T(d)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(d)}get(d,m=qp.THROW_IF_NOT_FOUND,A=_r.Default){return d===qp||d===Vg||d===Rg?this:this._r3Injector.get(d,m,A)}destroy(){const d=this._r3Injector;!d.destroyed&&d.destroy(),this.destroyCbs.forEach(m=>m()),this.destroyCbs=null}onDestroy(d){this.destroyCbs.push(d)}}class Py extends bS{constructor(d){super(),this.moduleType=d,null!==yi(d)&&function hM(c){const d=new Set;!function m(A){const k=yi(A,!0),ee=k.id;null!==ee&&(function SS(c,d,m){if(d&&d!==m)throw new Error(`Duplicate module registered for ${c} - ${T(d)} vs ${T(d.name)}`)}(ee,Zg.get(ee),A),Zg.set(ee,A));const pe=tf(k.imports);for(const Ie of pe)d.has(Ie)||(d.add(Ie),m(Ie))}(c)}(d)}create(d){return new CS(this.moduleType,d)}}function MS(c,d,m){const A=uu()+c,k=Yi();return k[A]===Yo?c_(k,A,m?d.call(m):d()):og(k,A)}function OS(c,d,m,A){return wS(Yi(),uu(),c,d,m,A)}function AS(c,d,m,A,k){return PS(Yi(),uu(),c,d,m,A,k)}function DS(c,d,m,A,k,ee){return NS(Yi(),uu(),c,d,m,A,k,ee)}function xS(c,d,m,A,k,ee,pe){return function IS(c,d,m,A,k,ee,pe,Ie,Je){const kt=d+m;return th(c,kt,k,ee,pe,Ie)?c_(c,kt+4,Je?A.call(Je,k,ee,pe,Ie):A(k,ee,pe,Ie)):Nv(c,kt+4)}(Yi(),uu(),c,d,m,A,k,ee,pe)}function RS(c,d,m,A,k,ee,pe,Ie){const Je=uu()+c,kt=Yi(),en=th(kt,Je,m,A,k,ee);return Uf(kt,Je+4,pe)||en?c_(kt,Je+5,Ie?d.call(Ie,m,A,k,ee,pe):d(m,A,k,ee,pe)):og(kt,Je+5)}function Nv(c,d){const m=c[d];return m===Yo?void 0:m}function wS(c,d,m,A,k,ee){const pe=d+m;return Uf(c,pe,k)?c_(c,pe+1,ee?A.call(ee,k):A(k)):Nv(c,pe+1)}function PS(c,d,m,A,k,ee,pe){const Ie=d+m;return eh(c,Ie,k,ee)?c_(c,Ie+2,pe?A.call(pe,k,ee):A(k,ee)):Nv(c,Ie+2)}function NS(c,d,m,A,k,ee,pe,Ie){const Je=d+m;return Ig(c,Je,k,ee,pe)?c_(c,Je+3,Ie?A.call(Ie,k,ee,pe):A(k,ee,pe)):Nv(c,Je+3)}function LS(c,d){const m=aa();let A;const k=c+20;m.firstCreatePass?(A=function yM(c,d){if(d)for(let m=d.length-1;m>=0;m--){const A=d[m];if(c===A.name)return A}}(d,m.pipeRegistry),m.data[k]=A,A.onDestroy&&(m.destroyHooks||(m.destroyHooks=[])).push(k,A.onDestroy)):A=m.data[k];const ee=A.factory||(A.factory=Oi(A.type)),pe=fi(Ea);try{const Ie=Un(!1),Je=ee();return Un(Ie),function J0(c,d,m,A){m>=c.data.length&&(c.data[m]=null,c.blueprint[m]=null),d[m]=A}(m,Yi(),k,Je),Je}finally{fi(pe)}}function kS(c,d,m){const A=c+20,k=Yi(),ee=Os(k,A);return Iv(k,A)?wS(k,uu(),d,ee.transform,m,ee):ee.transform(m)}function $S(c,d,m,A){const k=c+20,ee=Yi(),pe=Os(ee,k);return Iv(ee,k)?PS(ee,uu(),d,pe.transform,m,A,pe):pe.transform(m,A)}function HS(c,d,m,A,k){const ee=c+20,pe=Yi(),Ie=Os(pe,ee);return Iv(pe,ee)?NS(pe,uu(),d,Ie.transform,m,A,k,Ie):Ie.transform(m,A,k)}function Iv(c,d){return c[1].data[d].pure}function Ny(c){return d=>{setTimeout(c,void 0,d)}}const X_=class SM extends r.xQ{constructor(d=!1){super(),this.__isAsync=d}emit(d){super.next(d)}subscribe(d,m,A){var k,ee,pe;let Ie=d,Je=m||(()=>null),kt=A;if(d&&"object"==typeof d){const Ln=d;Ie=null===(k=Ln.next)||void 0===k?void 0:k.bind(Ln),Je=null===(ee=Ln.error)||void 0===ee?void 0:ee.bind(Ln),kt=null===(pe=Ln.complete)||void 0===pe?void 0:pe.bind(Ln)}this.__isAsync&&(Je=Ny(Je),Ie&&(Ie=Ny(Ie)),kt&&(kt=Ny(kt)));const en=super.subscribe({next:Ie,error:Je,complete:kt});return d instanceof a.w&&d.add(en),en}};function TM(){return this._results[pm()]()}class Iy{constructor(d=!1){this._emitDistinctChangesOnly=d,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const m=pm(),A=Iy.prototype;A[m]||(A[m]=TM)}get changes(){return this._changes||(this._changes=new X_)}get(d){return this._results[d]}map(d){return this._results.map(d)}filter(d){return this._results.filter(d)}find(d){return this._results.find(d)}reduce(d,m){return this._results.reduce(d,m)}forEach(d){this._results.forEach(d)}some(d){return this._results.some(d)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(d,m){const A=this;A.dirty=!1;const k=Lc(d);(this._changesDetected=!function yp(c,d,m){if(c.length!==d.length)return!1;for(let A=0;A<c.length;A++){let k=c[A],ee=d[A];if(m&&(k=m(k),ee=m(ee)),ee!==k)return!1}return!0}(A._results,k,m))&&(A._results=k,A.length=k.length,A.last=k[this.length-1],A.first=k[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;let Fv=(()=>{class c{}return c.__NG_ELEMENT_ID__=OM,c})();const CM=Fv,MM=class extends CM{constructor(d,m,A){super(),this._declarationLView=d,this._declarationTContainer=m,this.elementRef=A}createEmbeddedView(d){const m=this._declarationTContainer.tViews,A=lm(this._declarationLView,m,d,16,null,m.declTNode,null,null,null,null);A[17]=this._declarationLView[this._declarationTContainer.index];const ee=this._declarationLView[19];return null!==ee&&(A[19]=ee.createEmbeddedView(m)),Y_(m,A,d),new Pv(A)}};function OM(){return r0(Es(),Yi())}function r0(c,d){return 4&c.type?new MM(d,c,Gg(c,d)):null}let o0=(()=>{class c{}return c.__NG_ELEMENT_ID__=AM,c})();function AM(){return YS(Es(),Yi())}const DM=o0,BS=class extends DM{constructor(d,m,A){super(),this._lContainer=d,this._hostTNode=m,this._hostLView=A}get element(){return Gg(this._hostTNode,this._hostLView)}get injector(){return new Ml(this._hostTNode,this._hostLView)}get parentInjector(){const d=cc(this._hostTNode,this._hostLView);if(Ae(d)){const m=Ot(d,this._hostLView),A=ge(d);return new Ml(m[1].data[A+8],m)}return new Ml(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(d){const m=US(this._lContainer);return null!==m&&m[d]||null}get length(){return this._lContainer.length-10}createEmbeddedView(d,m,A){const k=d.createEmbeddedView(m||{});return this.insert(k,A),k}createComponent(d,m,A,k,ee){const pe=d&&!function Wd(c){return"function"==typeof c}(d);let Ie;if(pe)Ie=m;else{const Ln=m||{};Ie=Ln.index,A=Ln.injector,k=Ln.projectableNodes,ee=Ln.ngModuleRef}const Je=pe?d:new cg(yn(d)),kt=A||this.parentInjector;if(!ee&&null==Je.ngModule){const Ar=(pe?kt:this.parentInjector).get(Vg,null);Ar&&(ee=Ar)}const en=Je.create(kt,k,void 0,ee);return this.insert(en.hostView,Ie),en}insert(d,m){const A=d._lView,k=A[1];if(function al(c){return ma(c[3])}(A)){const en=this.indexOf(d);if(-1!==en)this.detach(en);else{const Ln=A[3],Ar=new BS(Ln,Ln[6],Ln[3]);Ar.detach(Ar.indexOf(d))}}const ee=this._adjustIndex(m),pe=this._lContainer;!function Vp(c,d,m,A){const k=10+A,ee=m.length;A>0&&(m[k-1][4]=d),A<ee-10?(d[4]=m[k],od(m,10+A,d)):(m.push(d),d[4]=null),d[3]=m;const pe=d[17];null!==pe&&m!==pe&&function Kf(c,d){const m=c[9];d[16]!==d[3][3][16]&&(c[2]=!0),null===m?c[9]=[d]:m.push(d)}(pe,d);const Ie=d[19];null!==Ie&&Ie.insertView(c),d[2]|=128}(k,A,pe,ee);const Ie=Ud(ee,pe),Je=A[11],kt=Oh(Je,pe[7]);return null!==kt&&function pp(c,d,m,A,k,ee){A[0]=k,A[6]=d,Jp(c,A,m,1,k,ee)}(k,pe[6],Je,A,kt,Ie),d.attachToViewContainerRef(),od(Fy(pe),ee,d),d}move(d,m){return this.insert(d,m)}indexOf(d){const m=US(this._lContainer);return null!==m?m.indexOf(d):-1}remove(d){const m=this._adjustIndex(d,-1),A=i_(this._lContainer,m);A&&(rc(Fy(this._lContainer),m),Ap(A[1],A))}detach(d){const m=this._adjustIndex(d,-1),A=i_(this._lContainer,m);return A&&null!=rc(Fy(this._lContainer),m)?new Pv(A):null}_adjustIndex(d,m=0){return null==d?this.length+m:d}};function US(c){return c[8]}function Fy(c){return c[8]||(c[8]=[])}function YS(c,d){let m;const A=d[c.index];if(ma(A))m=A;else{let k;if(8&c.type)k=pt(A);else{const ee=d[11];k=ee.createComment("");const pe=wi(c,d);ep(ee,Oh(ee,pe),k,function b_(c,d){return Ya(c)?c.nextSibling(d):d.nextSibling}(ee,pe),!1)}d[c.index]=m=_p(A,d,k,c),Ag(d,m)}return new BS(m,c,d)}class Ly{constructor(d){this.queryList=d,this.matches=null}clone(){return new Ly(this.queryList)}setDirty(){this.queryList.setDirty()}}class ky{constructor(d=[]){this.queries=d}createEmbeddedView(d){const m=d.queries;if(null!==m){const A=null!==d.contentQueries?d.contentQueries[0]:m.length,k=[];for(let ee=0;ee<A;ee++){const pe=m.getByIndex(ee);k.push(this.queries[pe.indexInDeclarationView].clone())}return new ky(k)}return null}insertView(d){this.dirtyQueriesWithMatches(d)}detachView(d){this.dirtyQueriesWithMatches(d)}dirtyQueriesWithMatches(d){for(let m=0;m<this.queries.length;m++)null!==QS(d,m).matches&&this.queries[m].setDirty()}}class jS{constructor(d,m,A=null){this.predicate=d,this.flags=m,this.read=A}}class $y{constructor(d=[]){this.queries=d}elementStart(d,m){for(let A=0;A<this.queries.length;A++)this.queries[A].elementStart(d,m)}elementEnd(d){for(let m=0;m<this.queries.length;m++)this.queries[m].elementEnd(d)}embeddedTView(d){let m=null;for(let A=0;A<this.length;A++){const k=null!==m?m.length:0,ee=this.getByIndex(A).embeddedTView(d,k);ee&&(ee.indexInDeclarationView=A,null!==m?m.push(ee):m=[ee])}return null!==m?new $y(m):null}template(d,m){for(let A=0;A<this.queries.length;A++)this.queries[A].template(d,m)}getByIndex(d){return this.queries[d]}get length(){return this.queries.length}track(d){this.queries.push(d)}}class Hy{constructor(d,m=-1){this.metadata=d,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=m}elementStart(d,m){this.isApplyingToNode(m)&&this.matchTNode(d,m)}elementEnd(d){this._declarationNodeIndex===d.index&&(this._appliesToNextNode=!1)}template(d,m){this.elementStart(d,m)}embeddedTView(d,m){return this.isApplyingToNode(d)?(this.crossesNgTemplate=!0,this.addMatch(-d.index,m),new Hy(this.metadata)):null}isApplyingToNode(d){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const m=this._declarationNodeIndex;let A=d.parent;for(;null!==A&&8&A.type&&A.index!==m;)A=A.parent;return m===(null!==A?A.index:-1)}return this._appliesToNextNode}matchTNode(d,m){const A=this.metadata.predicate;if(Array.isArray(A))for(let k=0;k<A.length;k++){const ee=A[k];this.matchTNodeWithReadOption(d,m,wM(m,ee)),this.matchTNodeWithReadOption(d,m,Fc(m,d,ee,!1,!1))}else A===Fv?4&m.type&&this.matchTNodeWithReadOption(d,m,-1):this.matchTNodeWithReadOption(d,m,Fc(m,d,A,!1,!1))}matchTNodeWithReadOption(d,m,A){if(null!==A){const k=this.metadata.read;if(null!==k)if(k===wv||k===o0||k===Fv&&4&m.type)this.addMatch(m.index,-2);else{const ee=Fc(m,d,k,!1,!1);null!==ee&&this.addMatch(m.index,ee)}else this.addMatch(m.index,A)}}addMatch(d,m){null===this.matches?this.matches=[d,m]:this.matches.push(d,m)}}function wM(c,d){const m=c.localNames;if(null!==m)for(let A=0;A<m.length;A+=2)if(m[A]===d)return m[A+1];return null}function NM(c,d,m,A){return-1===m?function PM(c,d){return 11&c.type?Gg(c,d):4&c.type?r0(c,d):null}(d,c):-2===m?function IM(c,d,m){return m===wv?Gg(d,c):m===Fv?r0(d,c):m===o0?YS(d,c):void 0}(c,d,A):cu(c,c[1],m,d)}function By(c,d,m,A){const k=d[19].queries[A];if(null===k.matches){const ee=c.data,pe=m.matches,Ie=[];for(let Je=0;Je<pe.length;Je+=2){const kt=pe[Je];Ie.push(kt<0?null:NM(d,ee[kt],pe[Je+1],m.metadata.read))}k.matches=Ie}return k.matches}function s0(c,d,m,A){const k=c.queries.getByIndex(m),ee=k.matches;if(null!==ee){const pe=By(c,d,k,m);for(let Ie=0;Ie<ee.length;Ie+=2){const Je=ee[Ie];if(Je>0)A.push(pe[Ie/2]);else{const kt=ee[Ie+1],en=d[-Je];for(let Ln=10;Ln<en.length;Ln++){const Ar=en[Ln];Ar[17]===Ar[3]&&s0(Ar[1],Ar,kt,A)}if(null!==en[9]){const Ln=en[9];for(let Ar=0;Ar<Ln.length;Ar++){const ni=Ln[Ar];s0(ni[1],ni,kt,A)}}}}}return A}function GS(c){const d=Yi(),m=aa(),A=De();ct(A+1);const k=QS(m,A);if(c.dirty&&Fo(d)===(2==(2&k.metadata.flags))){if(null===k.matches)c.reset([]);else{const ee=k.crossesNgTemplate?s0(m,d,A,[]):By(m,d,k,A);c.reset(ee,oM),c.notifyOnChanges()}return!0}return!1}function VS(c,d,m){const A=aa();A.firstCreatePass&&(JS(A,new jS(c,d,m),-1),2==(2&d)&&(A.staticViewQueries=!0)),WS(A,Yi(),d)}function ZS(c,d,m,A){const k=aa();if(k.firstCreatePass){const ee=Es();JS(k,new jS(d,m,A),ee.index),function LM(c,d){const m=c.contentQueries||(c.contentQueries=[]);d!==(m.length?m[m.length-1]:-1)&&m.push(c.queries.length-1,d)}(k,c),2==(2&m)&&(k.staticContentQueries=!0)}WS(k,Yi(),m)}function zS(){return function FM(c,d){return c[19].queries[d].queryList}(Yi(),De())}function WS(c,d,m){const A=new Iy(4==(4&m));Om(c,d,A,A.destroy),null===d[19]&&(d[19]=new ky),d[19].queries.push(new Ly(A))}function JS(c,d,m){null===c.queries&&(c.queries=new $y),c.queries.track(new Hy(d,m))}function QS(c,d){return c.queries.getByIndex(d)}function XS(c,d){return r0(c,d)}const _T=Ec("Input",c=>({bindingPropertyName:c})),JM=Ec("Output",c=>({bindingPropertyName:c}));function u0(...c){}const mT=new qa("Application Initializer");let Jy=(()=>{class c{constructor(m){this.appInits=m,this.resolve=u0,this.reject=u0,this.initialized=!1,this.done=!1,this.donePromise=new Promise((A,k)=>{this.resolve=A,this.reject=k})}runInitializers(){if(this.initialized)return;const m=[],A=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let k=0;k<this.appInits.length;k++){const ee=this.appInits[k]();if(ay(ee))m.push(ee);else if(ib(ee)){const pe=new Promise((Ie,Je)=>{ee.subscribe({complete:Ie,error:Je})});m.push(pe)}}Promise.all(m).then(()=>{A()}).catch(k=>{this.reject(k)}),0===m.length&&A(),this.initialized=!0}}return c.\u0275fac=function(m){return new(m||c)(ve(mT,8))},c.\u0275prov=xt({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const gT=new qa("AppId",{providedIn:"root",factory:function Qy(){return`${Xy()}${Xy()}${Xy()}`}});function Xy(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const vT=new qa("Platform Initializer"),KM=new qa("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),yT=new qa("appBootstrapListener");let qM=(()=>{class c{log(m){console.log(m)}warn(m){console.warn(m)}}return c.\u0275fac=function(m){return new(m||c)},c.\u0275prov=xt({token:c,factory:c.\u0275fac,providedIn:"platform"}),c})();const Ky=new qa("LocaleId",{providedIn:"root",factory:()=>xe(Ky,_r.Optional|_r.SkipSelf)||function eO(){return"undefined"!=typeof $localize&&$localize.locale||W1}()}),tO=new qa("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class nO{constructor(d,m){this.ngModuleFactory=d,this.componentFactories=m}}let rO=(()=>{class c{compileModuleSync(m){return new Py(m)}compileModuleAsync(m){return Promise.resolve(this.compileModuleSync(m))}compileModuleAndAllComponentsSync(m){const A=this.compileModuleSync(m),ee=tf(yi(m).declarations).reduce((pe,Ie)=>{const Je=yn(Ie);return Je&&pe.push(new cg(Je)),pe},[]);return new nO(A,ee)}compileModuleAndAllComponentsAsync(m){return Promise.resolve(this.compileModuleAndAllComponentsSync(m))}clearCache(){}clearCacheFor(m){}getModuleId(m){}}return c.\u0275fac=function(m){return new(m||c)},c.\u0275prov=xt({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const iO=(()=>Promise.resolve(0))();function qy(c){"undefined"==typeof Zone?iO.then(()=>{c&&c.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",c)}class Ph{constructor({enableLongStackTrace:d=!1,shouldCoalesceEventChangeDetection:m=!1,shouldCoalesceRunChangeDetection:A=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new X_(!1),this.onMicrotaskEmpty=new X_(!1),this.onStable=new X_(!1),this.onError=new X_(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const k=this;k._nesting=0,k._outer=k._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(k._inner=k._inner.fork(new Zone.TaskTrackingZoneSpec)),d&&Zone.longStackTraceZoneSpec&&(k._inner=k._inner.fork(Zone.longStackTraceZoneSpec)),k.shouldCoalesceEventChangeDetection=!A&&m,k.shouldCoalesceRunChangeDetection=A,k.lastRequestAnimationFrameId=-1,k.nativeRequestAnimationFrame=function oO(){let c=vr.requestAnimationFrame,d=vr.cancelAnimationFrame;if("undefined"!=typeof Zone&&c&&d){const m=c[Zone.__symbol__("OriginalDelegate")];m&&(c=m);const A=d[Zone.__symbol__("OriginalDelegate")];A&&(d=A)}return{nativeRequestAnimationFrame:c,nativeCancelAnimationFrame:d}}().nativeRequestAnimationFrame,function kv(c){const d=()=>{!function aO(c){c.isCheckStableRunning||-1!==c.lastRequestAnimationFrameId||(c.lastRequestAnimationFrameId=c.nativeRequestAnimationFrame.call(vr,()=>{c.fakeTopEventTask||(c.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{c.lastRequestAnimationFrameId=-1,tE(c),c.isCheckStableRunning=!0,eE(c),c.isCheckStableRunning=!1},void 0,()=>{},()=>{})),c.fakeTopEventTask.invoke()}),tE(c))}(c)};c._inner=c._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(m,A,k,ee,pe,Ie)=>{try{return bT(c),m.invokeTask(k,ee,pe,Ie)}finally{(c.shouldCoalesceEventChangeDetection&&"eventTask"===ee.type||c.shouldCoalesceRunChangeDetection)&&d(),ST(c)}},onInvoke:(m,A,k,ee,pe,Ie,Je)=>{try{return bT(c),m.invoke(k,ee,pe,Ie,Je)}finally{c.shouldCoalesceRunChangeDetection&&d(),ST(c)}},onHasTask:(m,A,k,ee)=>{m.hasTask(k,ee),A===k&&("microTask"==ee.change?(c._hasPendingMicrotasks=ee.microTask,tE(c),eE(c)):"macroTask"==ee.change&&(c.hasPendingMacrotasks=ee.macroTask))},onHandleError:(m,A,k,ee)=>(m.handleError(k,ee),c.runOutsideAngular(()=>c.onError.emit(ee)),!1)})}(k)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ph.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Ph.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(d,m,A){return this._inner.run(d,m,A)}runTask(d,m,A,k){const ee=this._inner,pe=ee.scheduleEventTask("NgZoneEvent: "+k,d,sO,u0,u0);try{return ee.runTask(pe,m,A)}finally{ee.cancelTask(pe)}}runGuarded(d,m,A){return this._inner.runGuarded(d,m,A)}runOutsideAngular(d){return this._outer.run(d)}}const sO={};function eE(c){if(0==c._nesting&&!c.hasPendingMicrotasks&&!c.isStable)try{c._nesting++,c.onMicrotaskEmpty.emit(null)}finally{if(c._nesting--,!c.hasPendingMicrotasks)try{c.runOutsideAngular(()=>c.onStable.emit(null))}finally{c.isStable=!0}}}function tE(c){c.hasPendingMicrotasks=!!(c._hasPendingMicrotasks||(c.shouldCoalesceEventChangeDetection||c.shouldCoalesceRunChangeDetection)&&-1!==c.lastRequestAnimationFrameId)}function bT(c){c._nesting++,c.isStable&&(c.isStable=!1,c.onUnstable.emit(null))}function ST(c){c._nesting--,eE(c)}class TT{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new X_,this.onMicrotaskEmpty=new X_,this.onStable=new X_,this.onError=new X_}run(d,m,A){return d.apply(m,A)}runGuarded(d,m,A){return d.apply(m,A)}runOutsideAngular(d){return d()}runTask(d,m,A,k){return d.apply(m,A)}}let CT=(()=>{class c{constructor(m){this._ngZone=m,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),m.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ph.assertNotInAngularZone(),qy(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())qy(()=>{for(;0!==this._callbacks.length;){let m=this._callbacks.pop();clearTimeout(m.timeoutId),m.doneCb(this._didWork)}this._didWork=!1});else{let m=this.getPendingTasks();this._callbacks=this._callbacks.filter(A=>!A.updateCb||!A.updateCb(m)||(clearTimeout(A.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(m=>({source:m.source,creationLocation:m.creationLocation,data:m.data})):[]}addCallback(m,A,k){let ee=-1;A&&A>0&&(ee=setTimeout(()=>{this._callbacks=this._callbacks.filter(pe=>pe.timeoutId!==ee),m(this._didWork,this.getPendingTasks())},A)),this._callbacks.push({doneCb:m,timeoutId:ee,updateCb:k})}whenStable(m,A,k){if(k&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(m,A,k),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(m,A,k){return[]}}return c.\u0275fac=function(m){return new(m||c)(ve(Ph))},c.\u0275prov=xt({token:c,factory:c.\u0275fac}),c})(),lO=(()=>{class c{constructor(){this._applications=new Map,nE.addToWindow(this)}registerApplication(m,A){this._applications.set(m,A)}unregisterApplication(m){this._applications.delete(m)}unregisterAllApplications(){this._applications.clear()}getTestability(m){return this._applications.get(m)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(m,A=!0){return nE.findTestabilityInTree(this,m,A)}}return c.\u0275fac=function(m){return new(m||c)},c.\u0275prov=xt({token:c,factory:c.\u0275fac,providedIn:"platform"}),c})();class uO{addToWindow(d){}findTestabilityInTree(d,m,A){return null}}function cO(c){nE=c}let nE=new uO,dg=null;const MT=new qa("AllowMultipleToken"),OT=new qa("PlatformOnDestroy");class pO{constructor(d,m){this.name=d,this.token=m}}function AT(c,d,m=[]){const A=`Platform: ${d}`,k=new qa(A);return(ee=[])=>{let pe=rE();if(!pe||pe.injector.get(MT,!1)){const Ie=[...m,...ee,{provide:k,useValue:!0}];c?c(Ie):function hO(c){if(dg&&!dg.get(MT,!1))throw new q(400,"");dg=c;const d=c.get(DT),m=c.get(vT,null);m&&m.forEach(A=>A())}(function mO(c=[],d){return qp.create({name:d,providers:[{provide:gu,useValue:"platform"},{provide:OT,useValue:()=>dg=null},...c]})}(Ie,A))}return function _O(c){const d=rE();if(!d)throw new q(401,"");return d}()}}function rE(){var c;return null!==(c=null==dg?void 0:dg.get(DT))&&void 0!==c?c:null}let DT=(()=>{class c{constructor(m){this._injector=m,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(m,A){const Ie=function gO(c,d){let m;return m="noop"===c?new TT:("zone.js"===c?void 0:c)||new Ph({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==d?void 0:d.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==d?void 0:d.ngZoneRunCoalescing)}),m}(A?A.ngZone:void 0,{ngZoneEventCoalescing:A&&A.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:A&&A.ngZoneRunCoalescing||!1}),Je=[{provide:Ph,useValue:Ie}];return Ie.run(()=>{const kt=qp.create({providers:Je,parent:this.injector,name:m.moduleType.name}),en=m.create(kt),Ln=en.injector.get(Cp,null);if(!Ln)throw new q(402,"");return Ie.runOutsideAngular(()=>{const Ar=Ie.onError.subscribe({next:ni=>{Ln.handleError(ni)}});en.onDestroy(()=>{oE(this._modules,en),Ar.unsubscribe()})}),function vO(c,d,m){try{const A=m();return ay(A)?A.catch(k=>{throw d.runOutsideAngular(()=>c.handleError(k)),k}):A}catch(A){throw d.runOutsideAngular(()=>c.handleError(A)),A}}(Ln,Ie,()=>{const Ar=en.injector.get(Jy);return Ar.runInitializers(),Ar.donePromise.then(()=>(function d2(c){(function Nt(c,d){null==c&&Yt(d,c,null,"!=")})(c,"Expected localeId to be defined"),"string"==typeof c&&(jb=c.toLowerCase().replace(/_/g,"-"))}(en.injector.get(Ky,W1)||W1),this._moduleDoBootstrap(en),en))})})}bootstrapModule(m,A=[]){const k=xT({},A);return function dO(c,d,m){const A=new Py(m);return Promise.resolve(A)}(0,0,m).then(ee=>this.bootstrapModuleFactory(ee,k))}_moduleDoBootstrap(m){const A=m.injector.get(iE);if(m._bootstrapComponents.length>0)m._bootstrapComponents.forEach(k=>A.bootstrap(k));else{if(!m.instance.ngDoBootstrap)throw new q(403,"");m.instance.ngDoBootstrap(A)}this._modules.push(m)}onDestroy(m){this._destroyListeners.push(m)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new q(404,"");this._modules.slice().forEach(A=>A.destroy()),this._destroyListeners.forEach(A=>A());const m=this._injector.get(OT,null);null==m||m(),this._destroyed=!0}get destroyed(){return this._destroyed}}return c.\u0275fac=function(m){return new(m||c)(ve(qp))},c.\u0275prov=xt({token:c,factory:c.\u0275fac,providedIn:"platform"}),c})();function xT(c,d){return Array.isArray(d)?d.reduce(xT,c):Object.assign(Object.assign({},c),d)}let iE=(()=>{class c{constructor(m,A,k,ee){this._zone=m,this._injector=A,this._exceptionHandler=k,this._initStatus=ee,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const pe=new f.y(Je=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{Je.next(this._stable),Je.complete()})}),Ie=new f.y(Je=>{let kt;this._zone.runOutsideAngular(()=>{kt=this._zone.onStable.subscribe(()=>{Ph.assertNotInAngularZone(),qy(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,Je.next(!0))})})});const en=this._zone.onUnstable.subscribe(()=>{Ph.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{Je.next(!1)}))});return()=>{kt.unsubscribe(),en.unsubscribe()}});this.isStable=(0,u.T)(pe,Ie.pipe((0,e.B)()))}bootstrap(m,A){if(!this._initStatus.done)throw new q(405,"");let k;k=m instanceof hS?m:this._injector.get(t0).resolveComponentFactory(m),this.componentTypes.push(k.componentType);const ee=function fO(c){return c.isBoundToModule}(k)?void 0:this._injector.get(Vg),Ie=k.create(qp.NULL,[],A||k.selector,ee),Je=Ie.location.nativeElement,kt=Ie.injector.get(CT,null),en=kt&&Ie.injector.get(lO);return kt&&en&&en.registerApplication(Je,kt),Ie.onDestroy(()=>{this.detachView(Ie.hostView),oE(this.components,Ie),en&&en.unregisterApplication(Je)}),this._loadComponent(Ie),Ie}tick(){if(this._runningTick)throw new q(101,"");try{this._runningTick=!0;for(let m of this._views)m.detectChanges()}catch(m){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(m))}finally{this._runningTick=!1}}attachView(m){const A=m;this._views.push(A),A.attachToAppRef(this)}detachView(m){const A=m;oE(this._views,A),A.detachFromAppRef()}_loadComponent(m){this.attachView(m.hostView),this.tick(),this.components.push(m),this._injector.get(yT,[]).concat(this._bootstrapListeners).forEach(k=>k(m))}ngOnDestroy(){this._views.slice().forEach(m=>m.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return c.\u0275fac=function(m){return new(m||c)(ve(Ph),ve(qp),ve(Cp),ve(Jy))},c.\u0275prov=xt({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();function oE(c,d){const m=c.indexOf(d);m>-1&&c.splice(m,1)}let wT=!0,PT=!1;function EO(){return PT=!0,wT}function bO(){if(PT)throw new Error("Cannot enable prod mode after platform setup.");wT=!1}let SO=(()=>{class c{}return c.__NG_ELEMENT_ID__=TO,c})();function TO(c){return function sE(c,d,m){if(fa(c)&&!m){const A=ws(c.index,d);return new Pv(A,A)}return 47&c.type?new Pv(d[16],d):null}(Es(),Yi(),16==(16&c))}class LT{constructor(){}supports(d){return Im(d)}create(d){return new xO(d)}}const DO=(c,d)=>d;class xO{constructor(d){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=d||DO}forEachItem(d){let m;for(m=this._itHead;null!==m;m=m._next)d(m)}forEachOperation(d){let m=this._itHead,A=this._removalsHead,k=0,ee=null;for(;m||A;){const pe=!A||m&&m.currentIndex<$T(A,k,ee)?m:A,Ie=$T(pe,k,ee),Je=pe.currentIndex;if(pe===A)k--,A=A._nextRemoved;else if(m=m._next,null==pe.previousIndex)k++;else{ee||(ee=[]);const kt=Ie-k,en=Je-k;if(kt!=en){for(let Ar=0;Ar<kt;Ar++){const ni=Ar<ee.length?ee[Ar]:ee[Ar]=0,Zi=ni+Ar;en<=Zi&&Zi<kt&&(ee[Ar]=ni+1)}ee[pe.previousIndex]=en-kt}}Ie!==Je&&d(pe,Ie,Je)}}forEachPreviousItem(d){let m;for(m=this._previousItHead;null!==m;m=m._nextPrevious)d(m)}forEachAddedItem(d){let m;for(m=this._additionsHead;null!==m;m=m._nextAdded)d(m)}forEachMovedItem(d){let m;for(m=this._movesHead;null!==m;m=m._nextMoved)d(m)}forEachRemovedItem(d){let m;for(m=this._removalsHead;null!==m;m=m._nextRemoved)d(m)}forEachIdentityChange(d){let m;for(m=this._identityChangesHead;null!==m;m=m._nextIdentityChange)d(m)}diff(d){if(null==d&&(d=[]),!Im(d))throw new q(900,"");return this.check(d)?this:null}onDestroy(){}check(d){this._reset();let k,ee,pe,m=this._itHead,A=!1;if(Array.isArray(d)){this.length=d.length;for(let Ie=0;Ie<this.length;Ie++)ee=d[Ie],pe=this._trackByFn(Ie,ee),null!==m&&Object.is(m.trackById,pe)?(A&&(m=this._verifyReinsertion(m,ee,pe,Ie)),Object.is(m.item,ee)||this._addIdentityChange(m,ee)):(m=this._mismatch(m,ee,pe,Ie),A=!0),m=m._next}else k=0,function Fm(c,d){if(Array.isArray(c))for(let m=0;m<c.length;m++)d(c[m]);else{const m=c[pm()]();let A;for(;!(A=m.next()).done;)d(A.value)}}(d,Ie=>{pe=this._trackByFn(k,Ie),null!==m&&Object.is(m.trackById,pe)?(A&&(m=this._verifyReinsertion(m,Ie,pe,k)),Object.is(m.item,Ie)||this._addIdentityChange(m,Ie)):(m=this._mismatch(m,Ie,pe,k),A=!0),m=m._next,k++}),this.length=k;return this._truncate(m),this.collection=d,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let d;for(d=this._previousItHead=this._itHead;null!==d;d=d._next)d._nextPrevious=d._next;for(d=this._additionsHead;null!==d;d=d._nextAdded)d.previousIndex=d.currentIndex;for(this._additionsHead=this._additionsTail=null,d=this._movesHead;null!==d;d=d._nextMoved)d.previousIndex=d.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(d,m,A,k){let ee;return null===d?ee=this._itTail:(ee=d._prev,this._remove(d)),null!==(d=null===this._unlinkedRecords?null:this._unlinkedRecords.get(A,null))?(Object.is(d.item,m)||this._addIdentityChange(d,m),this._reinsertAfter(d,ee,k)):null!==(d=null===this._linkedRecords?null:this._linkedRecords.get(A,k))?(Object.is(d.item,m)||this._addIdentityChange(d,m),this._moveAfter(d,ee,k)):d=this._addAfter(new RO(m,A),ee,k),d}_verifyReinsertion(d,m,A,k){let ee=null===this._unlinkedRecords?null:this._unlinkedRecords.get(A,null);return null!==ee?d=this._reinsertAfter(ee,d._prev,k):d.currentIndex!=k&&(d.currentIndex=k,this._addToMoves(d,k)),d}_truncate(d){for(;null!==d;){const m=d._next;this._addToRemovals(this._unlink(d)),d=m}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(d,m,A){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(d);const k=d._prevRemoved,ee=d._nextRemoved;return null===k?this._removalsHead=ee:k._nextRemoved=ee,null===ee?this._removalsTail=k:ee._prevRemoved=k,this._insertAfter(d,m,A),this._addToMoves(d,A),d}_moveAfter(d,m,A){return this._unlink(d),this._insertAfter(d,m,A),this._addToMoves(d,A),d}_addAfter(d,m,A){return this._insertAfter(d,m,A),this._additionsTail=null===this._additionsTail?this._additionsHead=d:this._additionsTail._nextAdded=d,d}_insertAfter(d,m,A){const k=null===m?this._itHead:m._next;return d._next=k,d._prev=m,null===k?this._itTail=d:k._prev=d,null===m?this._itHead=d:m._next=d,null===this._linkedRecords&&(this._linkedRecords=new kT),this._linkedRecords.put(d),d.currentIndex=A,d}_remove(d){return this._addToRemovals(this._unlink(d))}_unlink(d){null!==this._linkedRecords&&this._linkedRecords.remove(d);const m=d._prev,A=d._next;return null===m?this._itHead=A:m._next=A,null===A?this._itTail=m:A._prev=m,d}_addToMoves(d,m){return d.previousIndex===m||(this._movesTail=null===this._movesTail?this._movesHead=d:this._movesTail._nextMoved=d),d}_addToRemovals(d){return null===this._unlinkedRecords&&(this._unlinkedRecords=new kT),this._unlinkedRecords.put(d),d.currentIndex=null,d._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=d,d._prevRemoved=null):(d._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=d),d}_addIdentityChange(d,m){return d.item=m,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=d:this._identityChangesTail._nextIdentityChange=d,d}}class RO{constructor(d,m){this.item=d,this.trackById=m,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class wO{constructor(){this._head=null,this._tail=null}add(d){null===this._head?(this._head=this._tail=d,d._nextDup=null,d._prevDup=null):(this._tail._nextDup=d,d._prevDup=this._tail,d._nextDup=null,this._tail=d)}get(d,m){let A;for(A=this._head;null!==A;A=A._nextDup)if((null===m||m<=A.currentIndex)&&Object.is(A.trackById,d))return A;return null}remove(d){const m=d._prevDup,A=d._nextDup;return null===m?this._head=A:m._nextDup=A,null===A?this._tail=m:A._prevDup=m,null===this._head}}class kT{constructor(){this.map=new Map}put(d){const m=d.trackById;let A=this.map.get(m);A||(A=new wO,this.map.set(m,A)),A.add(d)}get(d,m){const k=this.map.get(d);return k?k.get(d,m):null}remove(d){const m=d.trackById;return this.map.get(m).remove(d)&&this.map.delete(m),d}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function $T(c,d,m){const A=c.previousIndex;if(null===A)return A;let k=0;return m&&A<m.length&&(k=m[A]),A+d+k}class HT{constructor(){}supports(d){return d instanceof Map||gv(d)}create(){return new PO}}class PO{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(d){let m;for(m=this._mapHead;null!==m;m=m._next)d(m)}forEachPreviousItem(d){let m;for(m=this._previousMapHead;null!==m;m=m._nextPrevious)d(m)}forEachChangedItem(d){let m;for(m=this._changesHead;null!==m;m=m._nextChanged)d(m)}forEachAddedItem(d){let m;for(m=this._additionsHead;null!==m;m=m._nextAdded)d(m)}forEachRemovedItem(d){let m;for(m=this._removalsHead;null!==m;m=m._nextRemoved)d(m)}diff(d){if(d){if(!(d instanceof Map||gv(d)))throw new q(900,"")}else d=new Map;return this.check(d)?this:null}onDestroy(){}check(d){this._reset();let m=this._mapHead;if(this._appendAfter=null,this._forEach(d,(A,k)=>{if(m&&m.key===k)this._maybeAddToChanges(m,A),this._appendAfter=m,m=m._next;else{const ee=this._getOrCreateRecordForKey(k,A);m=this._insertBeforeOrAppend(m,ee)}}),m){m._prev&&(m._prev._next=null),this._removalsHead=m;for(let A=m;null!==A;A=A._nextRemoved)A===this._mapHead&&(this._mapHead=null),this._records.delete(A.key),A._nextRemoved=A._next,A.previousValue=A.currentValue,A.currentValue=null,A._prev=null,A._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(d,m){if(d){const A=d._prev;return m._next=d,m._prev=A,d._prev=m,A&&(A._next=m),d===this._mapHead&&(this._mapHead=m),this._appendAfter=d,d}return this._appendAfter?(this._appendAfter._next=m,m._prev=this._appendAfter):this._mapHead=m,this._appendAfter=m,null}_getOrCreateRecordForKey(d,m){if(this._records.has(d)){const k=this._records.get(d);this._maybeAddToChanges(k,m);const ee=k._prev,pe=k._next;return ee&&(ee._next=pe),pe&&(pe._prev=ee),k._next=null,k._prev=null,k}const A=new NO(d);return this._records.set(d,A),A.currentValue=m,this._addToAdditions(A),A}_reset(){if(this.isDirty){let d;for(this._previousMapHead=this._mapHead,d=this._previousMapHead;null!==d;d=d._next)d._nextPrevious=d._next;for(d=this._changesHead;null!==d;d=d._nextChanged)d.previousValue=d.currentValue;for(d=this._additionsHead;null!=d;d=d._nextAdded)d.previousValue=d.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(d,m){Object.is(m,d.currentValue)||(d.previousValue=d.currentValue,d.currentValue=m,this._addToChanges(d))}_addToAdditions(d){null===this._additionsHead?this._additionsHead=this._additionsTail=d:(this._additionsTail._nextAdded=d,this._additionsTail=d)}_addToChanges(d){null===this._changesHead?this._changesHead=this._changesTail=d:(this._changesTail._nextChanged=d,this._changesTail=d)}_forEach(d,m){d instanceof Map?d.forEach(m):Object.keys(d).forEach(A=>m(d[A],A))}}class NO{constructor(d){this.key=d,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function BT(){return new f0([new LT])}let f0=(()=>{class c{constructor(m){this.factories=m}static create(m,A){if(null!=A){const k=A.factories.slice();m=m.concat(k)}return new c(m)}static extend(m){return{provide:c,useFactory:A=>c.create(m,A||BT()),deps:[[c,new Ui,new fr]]}}find(m){const A=this.factories.find(k=>k.supports(m));if(null!=A)return A;throw new q(901,"")}}return c.\u0275prov=xt({token:c,providedIn:"root",factory:BT}),c})();function UT(){return new dE([new HT])}let dE=(()=>{class c{constructor(m){this.factories=m}static create(m,A){if(A){const k=A.factories.slice();m=m.concat(k)}return new c(m)}static extend(m){return{provide:c,useFactory:A=>c.create(m,A||UT()),deps:[[c,new Ui,new fr]]}}find(m){const A=this.factories.find(ee=>ee.supports(m));if(A)return A;throw new q(901,"")}}return c.\u0275prov=xt({token:c,providedIn:"root",factory:UT}),c})();const LO=AT(null,"core",[]);let kO=(()=>{class c{constructor(m){}}return c.\u0275fac=function(m){return new(m||c)(ve(iE))},c.\u0275mod=Et({type:c}),c.\u0275inj=Gt({}),c})()},1659:(v,b,i)=>{"use strict";i.d(b,{CE:()=>ut,Cf:()=>re,EJ:()=>Oi,F:()=>$n,Fd:()=>Fl,Fj:()=>j,JJ:()=>_r,JL:()=>ei,JU:()=>T,K7:()=>hl,Kr:()=>sl,NI:()=>Mr,Oe:()=>cr,On:()=>fa,Q7:()=>Ja,TO:()=>or,UX:()=>Fo,Wl:()=>w,YN:()=>ki,_:()=>Wa,_Y:()=>sa,a5:()=>hr,cw:()=>Or,gN:()=>Br,kI:()=>ae,oH:()=>To,qQ:()=>Xa,qu:()=>al,sg:()=>hs,u:()=>Ue,u5:()=>ws,wV:()=>pl,x0:()=>kr});var r=i(89724),a=i(11048),f=i(76666),u=i(35758),e=i(88002);let p=(()=>{class mt{constructor(je,Xt){this._renderer=je,this._elementRef=Xt,this.onChange=Si=>{},this.onTouched=()=>{}}setProperty(je,Xt){this._renderer.setProperty(this._elementRef.nativeElement,je,Xt)}registerOnTouched(je){this.onTouched=je}registerOnChange(je){this.onChange=je}setDisabledState(je){this.setProperty("disabled",je)}}return mt.\u0275fac=function(je){return new(je||mt)(r.Y36(r.Qsj),r.Y36(r.SBq))},mt.\u0275dir=r.lG2({type:mt}),mt})(),g=(()=>{class mt extends p{}return mt.\u0275fac=function(){let ot;return function(Xt){return(ot||(ot=r.n5z(mt)))(Xt||mt)}}(),mt.\u0275dir=r.lG2({type:mt,features:[r.qOj]}),mt})();const T=new r.OlP("NgValueAccessor"),M={provide:T,useExisting:(0,r.Gpc)(()=>w),multi:!0};let w=(()=>{class mt extends g{writeValue(je){this.setProperty("checked",je)}}return mt.\u0275fac=function(){let ot;return function(Xt){return(ot||(ot=r.n5z(mt)))(Xt||mt)}}(),mt.\u0275dir=r.lG2({type:mt,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(je,Xt){1&je&&r.NdJ("change",function(Jo){return Xt.onChange(Jo.target.checked)})("blur",function(){return Xt.onTouched()})},features:[r._Bn([M]),r.qOj]}),mt})();const R={provide:T,useExisting:(0,r.Gpc)(()=>j),multi:!0},W=new r.OlP("CompositionEventMode");let j=(()=>{class mt extends p{constructor(je,Xt,Si){super(je,Xt),this._compositionMode=Si,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function U(){const mt=(0,a.q)()?(0,a.q)().getUserAgent():"";return/android (\d+)/.test(mt.toLowerCase())}())}writeValue(je){this.setProperty("value",null==je?"":je)}_handleInput(je){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(je)}_compositionStart(){this._composing=!0}_compositionEnd(je){this._composing=!1,this._compositionMode&&this.onChange(je)}}return mt.\u0275fac=function(je){return new(je||mt)(r.Y36(r.Qsj),r.Y36(r.SBq),r.Y36(W,8))},mt.\u0275dir=r.lG2({type:mt,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(je,Xt){1&je&&r.NdJ("input",function(Jo){return Xt._handleInput(Jo.target.value)})("blur",function(){return Xt.onTouched()})("compositionstart",function(){return Xt._compositionStart()})("compositionend",function(Jo){return Xt._compositionEnd(Jo.target.value)})},features:[r._Bn([R]),r.qOj]}),mt})();function q(mt){return null==mt||0===mt.length}function ue(mt){return null!=mt&&"number"==typeof mt.length}const re=new r.OlP("NgValidators"),H=new r.OlP("NgAsyncValidators"),se=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class ae{static min(ot){return ie(ot)}static max(ot){return fe(ot)}static required(ot){return _e(ot)}static requiredTrue(ot){return function Ce(mt){return!0===mt.value?null:{required:!0}}(ot)}static email(ot){return function ce(mt){return q(mt.value)||se.test(mt.value)?null:{email:!0}}(ot)}static minLength(ot){return function Be(mt){return ot=>q(ot.value)||!ue(ot.value)?null:ot.value.length<mt?{minlength:{requiredLength:mt,actualLength:ot.value.length}}:null}(ot)}static maxLength(ot){return function Ve(mt){return ot=>ue(ot.value)&&ot.value.length>mt?{maxlength:{requiredLength:mt,actualLength:ot.value.length}}:null}(ot)}static pattern(ot){return function Xe(mt){if(!mt)return He;let ot,je;return"string"==typeof mt?(je="","^"!==mt.charAt(0)&&(je+="^"),je+=mt,"$"!==mt.charAt(mt.length-1)&&(je+="$"),ot=new RegExp(je)):(je=mt.toString(),ot=mt),Xt=>{if(q(Xt.value))return null;const Si=Xt.value;return ot.test(Si)?null:{pattern:{requiredPattern:je,actualValue:Si}}}}(ot)}static nullValidator(ot){return null}static compose(ot){return Nt(ot)}static composeAsync(ot){return dn(ot)}}function ie(mt){return ot=>{if(q(ot.value)||q(mt))return null;const je=parseFloat(ot.value);return!isNaN(je)&&je<mt?{min:{min:mt,actual:ot.value}}:null}}function fe(mt){return ot=>{if(q(ot.value)||q(mt))return null;const je=parseFloat(ot.value);return!isNaN(je)&&je>mt?{max:{max:mt,actual:ot.value}}:null}}function _e(mt){return q(mt.value)?{required:!0}:null}function He(mt){return null}function Pe(mt){return null!=mt}function Ge(mt){const ot=(0,r.QGY)(mt)?(0,f.D)(mt):mt;return(0,r.CqO)(ot),ot}function Oe(mt){let ot={};return mt.forEach(je=>{ot=null!=je?Object.assign(Object.assign({},ot),je):ot}),0===Object.keys(ot).length?null:ot}function Tt(mt,ot){return ot.map(je=>je(mt))}function Qt(mt){return mt.map(ot=>function We(mt){return!mt.validate}(ot)?ot:je=>ot.validate(je))}function Nt(mt){if(!mt)return null;const ot=mt.filter(Pe);return 0==ot.length?null:function(je){return Oe(Tt(je,ot))}}function Yt(mt){return null!=mt?Nt(Qt(mt)):null}function dn(mt){if(!mt)return null;const ot=mt.filter(Pe);return 0==ot.length?null:function(je){const Xt=Tt(je,ot).map(Ge);return(0,u.D)(Xt).pipe((0,e.U)(Oe))}}function rn(mt){return null!=mt?dn(Qt(mt)):null}function vt(mt,ot){return null===mt?[ot]:Array.isArray(mt)?[...mt,ot]:[mt,ot]}function xt(mt){return mt._rawValidators}function Ct(mt){return mt._rawAsyncValidators}function Gt(mt){return mt?Array.isArray(mt)?mt:[mt]:[]}function Fn(mt,ot){return Array.isArray(mt)?mt.includes(ot):mt===ot}function pr(mt,ot){const je=Gt(ot);return Gt(mt).forEach(Si=>{Fn(je,Si)||je.push(Si)}),je}function mi(mt,ot){return Gt(ot).filter(je=>!Fn(mt,je))}class ci{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(ot){this._rawValidators=ot||[],this._composedValidatorFn=Yt(this._rawValidators)}_setAsyncValidators(ot){this._rawAsyncValidators=ot||[],this._composedAsyncValidatorFn=rn(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(ot){this._onDestroyCallbacks.push(ot)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(ot=>ot()),this._onDestroyCallbacks=[]}reset(ot){this.control&&this.control.reset(ot)}hasError(ot,je){return!!this.control&&this.control.hasError(ot,je)}getError(ot,je){return this.control?this.control.getError(ot,je):null}}class hr extends ci{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Br extends ci{get formDirective(){return null}get path(){return null}}class Ur{constructor(ot){this._cd=ot}is(ot){var je,Xt,Si;return"submitted"===ot?!!(null===(je=this._cd)||void 0===je?void 0:je.submitted):!!(null===(Si=null===(Xt=this._cd)||void 0===Xt?void 0:Xt.control)||void 0===Si?void 0:Si[ot])}}let _r=(()=>{class mt extends Ur{constructor(je){super(je)}}return mt.\u0275fac=function(je){return new(je||mt)(r.Y36(hr,2))},mt.\u0275dir=r.lG2({type:mt,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(je,Xt){2&je&&r.ekj("ng-untouched",Xt.is("untouched"))("ng-touched",Xt.is("touched"))("ng-pristine",Xt.is("pristine"))("ng-dirty",Xt.is("dirty"))("ng-valid",Xt.is("valid"))("ng-invalid",Xt.is("invalid"))("ng-pending",Xt.is("pending"))},features:[r.qOj]}),mt})(),ei=(()=>{class mt extends Ur{constructor(je){super(je)}}return mt.\u0275fac=function(je){return new(je||mt)(r.Y36(Br,10))},mt.\u0275dir=r.lG2({type:mt,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(je,Xt){2&je&&r.ekj("ng-untouched",Xt.is("untouched"))("ng-touched",Xt.is("touched"))("ng-pristine",Xt.is("pristine"))("ng-dirty",Xt.is("dirty"))("ng-valid",Xt.is("valid"))("ng-invalid",Xt.is("invalid"))("ng-pending",Xt.is("pending"))("ng-submitted",Xt.is("submitted"))},features:[r.qOj]}),mt})();function Rn(mt,ot){return[...ot.path,mt]}function Wn(mt,ot){Se(mt,ot),ot.valueAccessor.writeValue(mt.value),function st(mt,ot){ot.valueAccessor.registerOnChange(je=>{mt._pendingValue=je,mt._pendingChange=!0,mt._pendingDirty=!0,"change"===mt.updateOn&&Fe(mt,ot)})}(mt,ot),function Lr(mt,ot){const je=(Xt,Si)=>{ot.valueAccessor.writeValue(Xt),Si&&ot.viewToModelUpdate(Xt)};mt.registerOnChange(je),ot._registerOnDestroy(()=>{mt._unregisterOnChange(je)})}(mt,ot),function nn(mt,ot){ot.valueAccessor.registerOnTouched(()=>{mt._pendingTouched=!0,"blur"===mt.updateOn&&mt._pendingChange&&Fe(mt,ot),"submit"!==mt.updateOn&&mt.markAsTouched()})}(mt,ot),function Re(mt,ot){if(ot.valueAccessor.setDisabledState){const je=Xt=>{ot.valueAccessor.setDisabledState(Xt)};mt.registerOnDisabledChange(je),ot._registerOnDestroy(()=>{mt._unregisterOnDisabledChange(je)})}}(mt,ot)}function et(mt,ot,je=!0){const Xt=()=>{};ot.valueAccessor&&(ot.valueAccessor.registerOnChange(Xt),ot.valueAccessor.registerOnTouched(Xt)),dt(mt,ot),mt&&(ot._invokeOnDestroyCallbacks(),mt._registerOnCollectionChange(()=>{}))}function Le(mt,ot){mt.forEach(je=>{je.registerOnValidatorChange&&je.registerOnValidatorChange(ot)})}function Se(mt,ot){const je=xt(mt);null!==ot.validator?mt.setValidators(vt(je,ot.validator)):"function"==typeof je&&mt.setValidators([je]);const Xt=Ct(mt);null!==ot.asyncValidator?mt.setAsyncValidators(vt(Xt,ot.asyncValidator)):"function"==typeof Xt&&mt.setAsyncValidators([Xt]);const Si=()=>mt.updateValueAndValidity();Le(ot._rawValidators,Si),Le(ot._rawAsyncValidators,Si)}function dt(mt,ot){let je=!1;if(null!==mt){if(null!==ot.validator){const Si=xt(mt);if(Array.isArray(Si)&&Si.length>0){const Jo=Si.filter(ja=>ja!==ot.validator);Jo.length!==Si.length&&(je=!0,mt.setValidators(Jo))}}if(null!==ot.asyncValidator){const Si=Ct(mt);if(Array.isArray(Si)&&Si.length>0){const Jo=Si.filter(ja=>ja!==ot.asyncValidator);Jo.length!==Si.length&&(je=!0,mt.setAsyncValidators(Jo))}}}const Xt=()=>{};return Le(ot._rawValidators,Xt),Le(ot._rawAsyncValidators,Xt),je}function Fe(mt,ot){mt._pendingDirty&&mt.markAsDirty(),mt.setValue(mt._pendingValue,{emitModelToViewChange:!1}),ot.viewToModelUpdate(mt._pendingValue),mt._pendingChange=!1}function ti(mt,ot){Se(mt,ot)}function yt(mt,ot){if(!mt.hasOwnProperty("model"))return!1;const je=mt.model;return!!je.isFirstChange()||!Object.is(ot,je.currentValue)}function yn(mt,ot){mt._syncPendingControls(),ot.forEach(je=>{const Xt=je.control;"submit"===Xt.updateOn&&Xt._pendingChange&&(je.viewToModelUpdate(Xt._pendingValue),Xt._pendingChange=!1)})}function Cr(mt,ot){if(!ot)return null;let je,Xt,Si;return Array.isArray(ot),ot.forEach(Jo=>{Jo.constructor===j?je=Jo:function Vt(mt){return Object.getPrototypeOf(mt.constructor)===g}(Jo)?Xt=Jo:Si=Jo}),Si||Xt||je||null}function xi(mt,ot){const je=mt.indexOf(ot);je>-1&&mt.splice(je,1)}const Qo="VALID",lo="INVALID",Ri="PENDING",ko="DISABLED";function ir(mt){return(jr(mt)?mt.validators:mt)||null}function si(mt){return Array.isArray(mt)?Yt(mt):mt||null}function kn(mt,ot){return(jr(ot)?ot.asyncValidators:mt)||null}function nr(mt){return Array.isArray(mt)?rn(mt):mt||null}function jr(mt){return null!=mt&&!Array.isArray(mt)&&"object"==typeof mt}const ao=mt=>mt instanceof Mr,$i=mt=>mt instanceof Or,Eo=mt=>mt instanceof cr;function mo(mt){return ao(mt)?mt.value:mt.getRawValue()}function Go(mt,ot){const je=$i(mt),Xt=mt.controls;if(!(je?Object.keys(Xt):Xt).length)throw new r.vHH(1e3,"");if(!Xt[ot])throw new r.vHH(1001,"")}function ua(mt,ot){$i(mt),mt._forEachChild((Xt,Si)=>{if(void 0===ot[Si])throw new r.vHH(1002,"")})}class or{constructor(ot,je){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=ot,this._rawAsyncValidators=je,this._composedValidatorFn=si(this._rawValidators),this._composedAsyncValidatorFn=nr(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(ot){this._rawValidators=this._composedValidatorFn=ot}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(ot){this._rawAsyncValidators=this._composedAsyncValidatorFn=ot}get parent(){return this._parent}get valid(){return this.status===Qo}get invalid(){return this.status===lo}get pending(){return this.status==Ri}get disabled(){return this.status===ko}get enabled(){return this.status!==ko}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(ot){this._rawValidators=ot,this._composedValidatorFn=si(ot)}setAsyncValidators(ot){this._rawAsyncValidators=ot,this._composedAsyncValidatorFn=nr(ot)}addValidators(ot){this.setValidators(pr(ot,this._rawValidators))}addAsyncValidators(ot){this.setAsyncValidators(pr(ot,this._rawAsyncValidators))}removeValidators(ot){this.setValidators(mi(ot,this._rawValidators))}removeAsyncValidators(ot){this.setAsyncValidators(mi(ot,this._rawAsyncValidators))}hasValidator(ot){return Fn(this._rawValidators,ot)}hasAsyncValidator(ot){return Fn(this._rawAsyncValidators,ot)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(ot={}){this.touched=!0,this._parent&&!ot.onlySelf&&this._parent.markAsTouched(ot)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(ot=>ot.markAllAsTouched())}markAsUntouched(ot={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(je=>{je.markAsUntouched({onlySelf:!0})}),this._parent&&!ot.onlySelf&&this._parent._updateTouched(ot)}markAsDirty(ot={}){this.pristine=!1,this._parent&&!ot.onlySelf&&this._parent.markAsDirty(ot)}markAsPristine(ot={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(je=>{je.markAsPristine({onlySelf:!0})}),this._parent&&!ot.onlySelf&&this._parent._updatePristine(ot)}markAsPending(ot={}){this.status=Ri,!1!==ot.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!ot.onlySelf&&this._parent.markAsPending(ot)}disable(ot={}){const je=this._parentMarkedDirty(ot.onlySelf);this.status=ko,this.errors=null,this._forEachChild(Xt=>{Xt.disable(Object.assign(Object.assign({},ot),{onlySelf:!0}))}),this._updateValue(),!1!==ot.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},ot),{skipPristineCheck:je})),this._onDisabledChange.forEach(Xt=>Xt(!0))}enable(ot={}){const je=this._parentMarkedDirty(ot.onlySelf);this.status=Qo,this._forEachChild(Xt=>{Xt.enable(Object.assign(Object.assign({},ot),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:ot.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},ot),{skipPristineCheck:je})),this._onDisabledChange.forEach(Xt=>Xt(!1))}_updateAncestors(ot){this._parent&&!ot.onlySelf&&(this._parent.updateValueAndValidity(ot),ot.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(ot){this._parent=ot}updateValueAndValidity(ot={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Qo||this.status===Ri)&&this._runAsyncValidator(ot.emitEvent)),!1!==ot.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!ot.onlySelf&&this._parent.updateValueAndValidity(ot)}_updateTreeValidity(ot={emitEvent:!0}){this._forEachChild(je=>je._updateTreeValidity(ot)),this.updateValueAndValidity({onlySelf:!0,emitEvent:ot.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ko:Qo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(ot){if(this.asyncValidator){this.status=Ri,this._hasOwnPendingAsyncValidator=!0;const je=Ge(this.asyncValidator(this));this._asyncValidationSubscription=je.subscribe(Xt=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(Xt,{emitEvent:ot})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(ot,je={}){this.errors=ot,this._updateControlsErrors(!1!==je.emitEvent)}get(ot){return function Xo(mt,ot,je){if(null==ot||(Array.isArray(ot)||(ot=ot.split(je)),Array.isArray(ot)&&0===ot.length))return null;let Xt=mt;return ot.forEach(Si=>{Xt=$i(Xt)?Xt.controls.hasOwnProperty(Si)?Xt.controls[Si]:null:Eo(Xt)&&Xt.at(Si)||null}),Xt}(this,ot,".")}getError(ot,je){const Xt=je?this.get(je):this;return Xt&&Xt.errors?Xt.errors[ot]:null}hasError(ot,je){return!!this.getError(ot,je)}get root(){let ot=this;for(;ot._parent;)ot=ot._parent;return ot}_updateControlsErrors(ot){this.status=this._calculateStatus(),ot&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(ot)}_initObservables(){this.valueChanges=new r.vpe,this.statusChanges=new r.vpe}_calculateStatus(){return this._allControlsDisabled()?ko:this.errors?lo:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ri)?Ri:this._anyControlsHaveStatus(lo)?lo:Qo}_anyControlsHaveStatus(ot){return this._anyControls(je=>je.status===ot)}_anyControlsDirty(){return this._anyControls(ot=>ot.dirty)}_anyControlsTouched(){return this._anyControls(ot=>ot.touched)}_updatePristine(ot={}){this.pristine=!this._anyControlsDirty(),this._parent&&!ot.onlySelf&&this._parent._updatePristine(ot)}_updateTouched(ot={}){this.touched=this._anyControlsTouched(),this._parent&&!ot.onlySelf&&this._parent._updateTouched(ot)}_isBoxedValue(ot){return"object"==typeof ot&&null!==ot&&2===Object.keys(ot).length&&"value"in ot&&"disabled"in ot}_registerOnCollectionChange(ot){this._onCollectionChange=ot}_setUpdateStrategy(ot){jr(ot)&&null!=ot.updateOn&&(this._updateOn=ot.updateOn)}_parentMarkedDirty(ot){return!ot&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Mr extends or{constructor(ot=null,je,Xt){super(ir(je),kn(Xt,je)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(ot),this._setUpdateStrategy(je),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),jr(je)&&je.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(ot)?ot.value:ot)}setValue(ot,je={}){this.value=this._pendingValue=ot,this._onChange.length&&!1!==je.emitModelToViewChange&&this._onChange.forEach(Xt=>Xt(this.value,!1!==je.emitViewToModelChange)),this.updateValueAndValidity(je)}patchValue(ot,je={}){this.setValue(ot,je)}reset(ot=this.defaultValue,je={}){this._applyFormState(ot),this.markAsPristine(je),this.markAsUntouched(je),this.setValue(this.value,je),this._pendingChange=!1}_updateValue(){}_anyControls(ot){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(ot){this._onChange.push(ot)}_unregisterOnChange(ot){xi(this._onChange,ot)}registerOnDisabledChange(ot){this._onDisabledChange.push(ot)}_unregisterOnDisabledChange(ot){xi(this._onDisabledChange,ot)}_forEachChild(ot){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(ot){this._isBoxedValue(ot)?(this.value=this._pendingValue=ot.value,ot.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=ot}}class Or extends or{constructor(ot,je,Xt){super(ir(je),kn(Xt,je)),this.controls=ot,this._initObservables(),this._setUpdateStrategy(je),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(ot,je){return this.controls[ot]?this.controls[ot]:(this.controls[ot]=je,je.setParent(this),je._registerOnCollectionChange(this._onCollectionChange),je)}addControl(ot,je,Xt={}){this.registerControl(ot,je),this.updateValueAndValidity({emitEvent:Xt.emitEvent}),this._onCollectionChange()}removeControl(ot,je={}){this.controls[ot]&&this.controls[ot]._registerOnCollectionChange(()=>{}),delete this.controls[ot],this.updateValueAndValidity({emitEvent:je.emitEvent}),this._onCollectionChange()}setControl(ot,je,Xt={}){this.controls[ot]&&this.controls[ot]._registerOnCollectionChange(()=>{}),delete this.controls[ot],je&&this.registerControl(ot,je),this.updateValueAndValidity({emitEvent:Xt.emitEvent}),this._onCollectionChange()}contains(ot){return this.controls.hasOwnProperty(ot)&&this.controls[ot].enabled}setValue(ot,je={}){ua(this,ot),Object.keys(ot).forEach(Xt=>{Go(this,Xt),this.controls[Xt].setValue(ot[Xt],{onlySelf:!0,emitEvent:je.emitEvent})}),this.updateValueAndValidity(je)}patchValue(ot,je={}){null!=ot&&(Object.keys(ot).forEach(Xt=>{this.controls[Xt]&&this.controls[Xt].patchValue(ot[Xt],{onlySelf:!0,emitEvent:je.emitEvent})}),this.updateValueAndValidity(je))}reset(ot={},je={}){this._forEachChild((Xt,Si)=>{Xt.reset(ot[Si],{onlySelf:!0,emitEvent:je.emitEvent})}),this._updatePristine(je),this._updateTouched(je),this.updateValueAndValidity(je)}getRawValue(){return this._reduceChildren({},(ot,je,Xt)=>(ot[Xt]=mo(je),ot))}_syncPendingControls(){let ot=this._reduceChildren(!1,(je,Xt)=>!!Xt._syncPendingControls()||je);return ot&&this.updateValueAndValidity({onlySelf:!0}),ot}_forEachChild(ot){Object.keys(this.controls).forEach(je=>{const Xt=this.controls[je];Xt&&ot(Xt,je)})}_setUpControls(){this._forEachChild(ot=>{ot.setParent(this),ot._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(ot){for(const je of Object.keys(this.controls)){const Xt=this.controls[je];if(this.contains(je)&&ot(Xt))return!0}return!1}_reduceValue(){return this._reduceChildren({},(ot,je,Xt)=>((je.enabled||this.disabled)&&(ot[Xt]=je.value),ot))}_reduceChildren(ot,je){let Xt=ot;return this._forEachChild((Si,Jo)=>{Xt=je(Xt,Si,Jo)}),Xt}_allControlsDisabled(){for(const ot of Object.keys(this.controls))if(this.controls[ot].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class cr extends or{constructor(ot,je,Xt){super(ir(je),kn(Xt,je)),this.controls=ot,this._initObservables(),this._setUpdateStrategy(je),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(ot){return this.controls[ot]}push(ot,je={}){this.controls.push(ot),this._registerControl(ot),this.updateValueAndValidity({emitEvent:je.emitEvent}),this._onCollectionChange()}insert(ot,je,Xt={}){this.controls.splice(ot,0,je),this._registerControl(je),this.updateValueAndValidity({emitEvent:Xt.emitEvent})}removeAt(ot,je={}){this.controls[ot]&&this.controls[ot]._registerOnCollectionChange(()=>{}),this.controls.splice(ot,1),this.updateValueAndValidity({emitEvent:je.emitEvent})}setControl(ot,je,Xt={}){this.controls[ot]&&this.controls[ot]._registerOnCollectionChange(()=>{}),this.controls.splice(ot,1),je&&(this.controls.splice(ot,0,je),this._registerControl(je)),this.updateValueAndValidity({emitEvent:Xt.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(ot,je={}){ua(this,ot),ot.forEach((Xt,Si)=>{Go(this,Si),this.at(Si).setValue(Xt,{onlySelf:!0,emitEvent:je.emitEvent})}),this.updateValueAndValidity(je)}patchValue(ot,je={}){null!=ot&&(ot.forEach((Xt,Si)=>{this.at(Si)&&this.at(Si).patchValue(Xt,{onlySelf:!0,emitEvent:je.emitEvent})}),this.updateValueAndValidity(je))}reset(ot=[],je={}){this._forEachChild((Xt,Si)=>{Xt.reset(ot[Si],{onlySelf:!0,emitEvent:je.emitEvent})}),this._updatePristine(je),this._updateTouched(je),this.updateValueAndValidity(je)}getRawValue(){return this.controls.map(ot=>mo(ot))}clear(ot={}){this.controls.length<1||(this._forEachChild(je=>je._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:ot.emitEvent}))}_syncPendingControls(){let ot=this.controls.reduce((je,Xt)=>!!Xt._syncPendingControls()||je,!1);return ot&&this.updateValueAndValidity({onlySelf:!0}),ot}_forEachChild(ot){this.controls.forEach((je,Xt)=>{ot(je,Xt)})}_updateValue(){this.value=this.controls.filter(ot=>ot.enabled||this.disabled).map(ot=>ot.value)}_anyControls(ot){return this.controls.some(je=>je.enabled&&ot(je))}_setUpControls(){this._forEachChild(ot=>this._registerControl(ot))}_allControlsDisabled(){for(const ot of this.controls)if(ot.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(ot){ot.setParent(this),ot._registerOnCollectionChange(this._onCollectionChange)}}const pi={provide:Br,useExisting:(0,r.Gpc)(()=>$n)},Sn=(()=>Promise.resolve(null))();let $n=(()=>{class mt extends Br{constructor(je,Xt){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new r.vpe,this.form=new Or({},Yt(je),rn(Xt))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(je){Sn.then(()=>{const Xt=this._findContainer(je.path);je.control=Xt.registerControl(je.name,je.control),Wn(je.control,je),je.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(je)})}getControl(je){return this.form.get(je.path)}removeControl(je){Sn.then(()=>{const Xt=this._findContainer(je.path);Xt&&Xt.removeControl(je.name),this._directives.delete(je)})}addFormGroup(je){Sn.then(()=>{const Xt=this._findContainer(je.path),Si=new Or({});ti(Si,je),Xt.registerControl(je.name,Si),Si.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(je){Sn.then(()=>{const Xt=this._findContainer(je.path);Xt&&Xt.removeControl(je.name)})}getFormGroup(je){return this.form.get(je.path)}updateModel(je,Xt){Sn.then(()=>{this.form.get(je.path).setValue(Xt)})}setValue(je){this.control.setValue(je)}onSubmit(je){return this.submitted=!0,yn(this.form,this._directives),this.ngSubmit.emit(je),!1}onReset(){this.resetForm()}resetForm(je){this.form.reset(je),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(je){return je.pop(),je.length?this.form.get(je):this.form}}return mt.\u0275fac=function(je){return new(je||mt)(r.Y36(re,10),r.Y36(H,10))},mt.\u0275dir=r.lG2({type:mt,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(je,Xt){1&je&&r.NdJ("submit",function(Jo){return Xt.onSubmit(Jo)})("reset",function(){return Xt.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r._Bn([pi]),r.qOj]}),mt})(),Jr=(()=>{class mt extends Br{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Rn(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}return mt.\u0275fac=function(){let ot;return function(Xt){return(ot||(ot=r.n5z(mt)))(Xt||mt)}}(),mt.\u0275dir=r.lG2({type:mt,features:[r.qOj]}),mt})();const ma={provide:hr,useExisting:(0,r.Gpc)(()=>fa)},ya=(()=>Promise.resolve(null))();let fa=(()=>{class mt extends hr{constructor(je,Xt,Si,Jo,ja){super(),this._changeDetectorRef=ja,this.control=new Mr,this._registered=!1,this.update=new r.vpe,this._parent=je,this._setValidators(Xt),this._setAsyncValidators(Si),this.valueAccessor=Cr(0,Jo)}ngOnChanges(je){if(this._checkForErrors(),!this._registered||"name"in je){if(this._registered&&(this._checkName(),this.formDirective)){const Xt=je.name.previousValue;this.formDirective.removeControl({name:Xt,path:this._getPath(Xt)})}this._setUpControl()}"isDisabled"in je&&this._updateDisabled(je),yt(je,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(je){this.viewModel=je,this.update.emit(je)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Wn(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(je){ya.then(()=>{var Xt;this.control.setValue(je,{emitViewToModelChange:!1}),null===(Xt=this._changeDetectorRef)||void 0===Xt||Xt.markForCheck()})}_updateDisabled(je){const Xt=je.isDisabled.currentValue,Si=""===Xt||Xt&&"false"!==Xt;ya.then(()=>{var Jo;Si&&!this.control.disabled?this.control.disable():!Si&&this.control.disabled&&this.control.enable(),null===(Jo=this._changeDetectorRef)||void 0===Jo||Jo.markForCheck()})}_getPath(je){return this._parent?Rn(je,this._parent):[je]}}return mt.\u0275fac=function(je){return new(je||mt)(r.Y36(Br,9),r.Y36(re,10),r.Y36(H,10),r.Y36(T,10),r.Y36(r.sBO,8))},mt.\u0275dir=r.lG2({type:mt,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[r._Bn([ma]),r.qOj,r.TTD]}),mt})(),sa=(()=>{class mt{}return mt.\u0275fac=function(je){return new(je||mt)},mt.\u0275dir=r.lG2({type:mt,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),mt})();const Ra={provide:T,useExisting:(0,r.Gpc)(()=>pl),multi:!0};let pl=(()=>{class mt extends g{writeValue(je){this.setProperty("value",null==je?"":je)}registerOnChange(je){this.onChange=Xt=>{je(""==Xt?null:parseFloat(Xt))}}}return mt.\u0275fac=function(){let ot;return function(Xt){return(ot||(ot=r.n5z(mt)))(Xt||mt)}}(),mt.\u0275dir=r.lG2({type:mt,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(je,Xt){1&je&&r.NdJ("input",function(Jo){return Xt.onChange(Jo.target.value)})("blur",function(){return Xt.onTouched()})},features:[r._Bn([Ra]),r.qOj]}),mt})();const Co={provide:T,useExisting:(0,r.Gpc)(()=>Wa),multi:!0};let Wo=(()=>{class mt{}return mt.\u0275fac=function(je){return new(je||mt)},mt.\u0275mod=r.oAB({type:mt}),mt.\u0275inj=r.cJS({}),mt})(),ys=(()=>{class mt{constructor(){this._accessors=[]}add(je,Xt){this._accessors.push([je,Xt])}remove(je){for(let Xt=this._accessors.length-1;Xt>=0;--Xt)if(this._accessors[Xt][1]===je)return void this._accessors.splice(Xt,1)}select(je){this._accessors.forEach(Xt=>{this._isSameGroup(Xt,je)&&Xt[1]!==je&&Xt[1].fireUncheck(je.value)})}_isSameGroup(je,Xt){return!!je[0].control&&je[0]._parent===Xt._control._parent&&je[1].name===Xt.name}}return mt.\u0275fac=function(je){return new(je||mt)},mt.\u0275prov=r.Yz7({token:mt,factory:mt.\u0275fac,providedIn:Wo}),mt})(),Wa=(()=>{class mt extends g{constructor(je,Xt,Si,Jo){super(je,Xt),this._registry=Si,this._injector=Jo,this.onChange=()=>{}}ngOnInit(){this._control=this._injector.get(hr),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(je){this._state=je===this.value,this.setProperty("checked",this._state)}registerOnChange(je){this._fn=je,this.onChange=()=>{je(this.value),this._registry.select(this)}}fireUncheck(je){this.writeValue(je)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return mt.\u0275fac=function(je){return new(je||mt)(r.Y36(r.Qsj),r.Y36(r.SBq),r.Y36(ys),r.Y36(r.zs3))},mt.\u0275dir=r.lG2({type:mt,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(je,Xt){1&je&&r.NdJ("change",function(){return Xt.onChange()})("blur",function(){return Xt.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[r._Bn([Co]),r.qOj]}),mt})();const Gs=new r.OlP("NgModelWithFormControlWarning"),$o={provide:hr,useExisting:(0,r.Gpc)(()=>To)};let To=(()=>{class mt extends hr{constructor(je,Xt,Si,Jo){super(),this._ngModelWarningConfig=Jo,this.update=new r.vpe,this._ngModelWarningSent=!1,this._setValidators(je),this._setAsyncValidators(Xt),this.valueAccessor=Cr(0,Si)}set isDisabled(je){}ngOnChanges(je){if(this._isControlChanged(je)){const Xt=je.form.previousValue;Xt&&et(Xt,this,!1),Wn(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}yt(je,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&et(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(je){this.viewModel=je,this.update.emit(je)}_isControlChanged(je){return je.hasOwnProperty("form")}}return mt._ngModelWarningSentOnce=!1,mt.\u0275fac=function(je){return new(je||mt)(r.Y36(re,10),r.Y36(H,10),r.Y36(T,10),r.Y36(Gs,8))},mt.\u0275dir=r.lG2({type:mt,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[r._Bn([$o]),r.qOj,r.TTD]}),mt})();const Ns={provide:Br,useExisting:(0,r.Gpc)(()=>hs)};let hs=(()=>{class mt extends Br{constructor(je,Xt){super(),this.validators=je,this.asyncValidators=Xt,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new r.vpe,this._setValidators(je),this._setAsyncValidators(Xt)}ngOnChanges(je){this._checkFormPresent(),je.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(dt(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(je){const Xt=this.form.get(je.path);return Wn(Xt,je),Xt.updateValueAndValidity({emitEvent:!1}),this.directives.push(je),Xt}getControl(je){return this.form.get(je.path)}removeControl(je){et(je.control||null,je,!1),xi(this.directives,je)}addFormGroup(je){this._setUpFormContainer(je)}removeFormGroup(je){this._cleanUpFormContainer(je)}getFormGroup(je){return this.form.get(je.path)}addFormArray(je){this._setUpFormContainer(je)}removeFormArray(je){this._cleanUpFormContainer(je)}getFormArray(je){return this.form.get(je.path)}updateModel(je,Xt){this.form.get(je.path).setValue(Xt)}onSubmit(je){return this.submitted=!0,yn(this.form,this.directives),this.ngSubmit.emit(je),!1}onReset(){this.resetForm()}resetForm(je){this.form.reset(je),this.submitted=!1}_updateDomValue(){this.directives.forEach(je=>{const Xt=je.control,Si=this.form.get(je.path);Xt!==Si&&(et(Xt||null,je),ao(Si)&&(Wn(Si,je),je.control=Si))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(je){const Xt=this.form.get(je.path);ti(Xt,je),Xt.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(je){if(this.form){const Xt=this.form.get(je.path);Xt&&function Ut(mt,ot){return dt(mt,ot)}(Xt,je)&&Xt.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Se(this.form,this),this._oldForm&&dt(this._oldForm,this)}_checkFormPresent(){}}return mt.\u0275fac=function(je){return new(je||mt)(r.Y36(re,10),r.Y36(H,10))},mt.\u0275dir=r.lG2({type:mt,selectors:[["","formGroup",""]],hostBindings:function(je,Xt){1&je&&r.NdJ("submit",function(Jo){return Xt.onSubmit(Jo)})("reset",function(){return Xt.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r._Bn([Ns]),r.qOj,r.TTD]}),mt})();const Oo={provide:Br,useExisting:(0,r.Gpc)(()=>kr)};let kr=(()=>{class mt extends Jr{constructor(je,Xt,Si){super(),this._parent=je,this._setValidators(Xt),this._setAsyncValidators(Si)}_checkParentType(){pn(this._parent)}}return mt.\u0275fac=function(je){return new(je||mt)(r.Y36(Br,13),r.Y36(re,10),r.Y36(H,10))},mt.\u0275dir=r.lG2({type:mt,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[r._Bn([Oo]),r.qOj]}),mt})();const Ki={provide:Br,useExisting:(0,r.Gpc)(()=>ut)};let ut=(()=>{class mt extends Br{constructor(je,Xt,Si){super(),this._parent=je,this._setValidators(Xt),this._setAsyncValidators(Si)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Rn(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){pn(this._parent)}}return mt.\u0275fac=function(je){return new(je||mt)(r.Y36(Br,13),r.Y36(re,10),r.Y36(H,10))},mt.\u0275dir=r.lG2({type:mt,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[r._Bn([Ki]),r.qOj]}),mt})();function pn(mt){return!(mt instanceof kr||mt instanceof hs||mt instanceof ut)}const te={provide:hr,useExisting:(0,r.Gpc)(()=>Ue)};let Ue=(()=>{class mt extends hr{constructor(je,Xt,Si,Jo,ja){super(),this._ngModelWarningConfig=ja,this._added=!1,this.update=new r.vpe,this._ngModelWarningSent=!1,this._parent=je,this._setValidators(Xt),this._setAsyncValidators(Si),this.valueAccessor=Cr(0,Jo)}set isDisabled(je){}ngOnChanges(je){this._added||this._setUpControl(),yt(je,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(je){this.viewModel=je,this.update.emit(je)}get path(){return Rn(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return mt._ngModelWarningSentOnce=!1,mt.\u0275fac=function(je){return new(je||mt)(r.Y36(Br,13),r.Y36(re,10),r.Y36(H,10),r.Y36(T,10),r.Y36(Gs,8))},mt.\u0275dir=r.lG2({type:mt,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[r._Bn([te]),r.qOj,r.TTD]}),mt})();const jt={provide:T,useExisting:(0,r.Gpc)(()=>Oi),multi:!0};function hn(mt,ot){return null==mt?`${ot}`:(ot&&"object"==typeof ot&&(ot="Object"),`${mt}: ${ot}`.slice(0,50))}let Oi=(()=>{class mt extends g{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(je){this._compareWith=je}writeValue(je){this.value=je;const Si=hn(this._getOptionId(je),je);this.setProperty("value",Si)}registerOnChange(je){this.onChange=Xt=>{this.value=this._getOptionValue(Xt),je(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(je){for(const Xt of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(Xt),je))return Xt;return null}_getOptionValue(je){const Xt=function ii(mt){return mt.split(":")[0]}(je);return this._optionMap.has(Xt)?this._optionMap.get(Xt):je}}return mt.\u0275fac=function(){let ot;return function(Xt){return(ot||(ot=r.n5z(mt)))(Xt||mt)}}(),mt.\u0275dir=r.lG2({type:mt,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(je,Xt){1&je&&r.NdJ("change",function(Jo){return Xt.onChange(Jo.target.value)})("blur",function(){return Xt.onTouched()})},inputs:{compareWith:"compareWith"},features:[r._Bn([jt]),r.qOj]}),mt})(),ki=(()=>{class mt{constructor(je,Xt,Si){this._element=je,this._renderer=Xt,this._select=Si,this._select&&(this.id=this._select._registerOption())}set ngValue(je){null!=this._select&&(this._select._optionMap.set(this.id,je),this._setElementValue(hn(this.id,je)),this._select.writeValue(this._select.value))}set value(je){this._setElementValue(je),this._select&&this._select.writeValue(this._select.value)}_setElementValue(je){this._renderer.setProperty(this._element.nativeElement,"value",je)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return mt.\u0275fac=function(je){return new(je||mt)(r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(Oi,9))},mt.\u0275dir=r.lG2({type:mt,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),mt})();const _s={provide:T,useExisting:(0,r.Gpc)(()=>hl),multi:!0};function Vo(mt,ot){return null==mt?`${ot}`:("string"==typeof ot&&(ot=`'${ot}'`),ot&&"object"==typeof ot&&(ot="Object"),`${mt}: ${ot}`.slice(0,50))}let hl=(()=>{class mt extends g{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(je){this._compareWith=je}writeValue(je){let Xt;if(this.value=je,Array.isArray(je)){const Si=je.map(Jo=>this._getOptionId(Jo));Xt=(Jo,ja)=>{Jo._setSelected(Si.indexOf(ja.toString())>-1)}}else Xt=(Si,Jo)=>{Si._setSelected(!1)};this._optionMap.forEach(Xt)}registerOnChange(je){this.onChange=Xt=>{const Si=[],Jo=Xt.selectedOptions;if(void 0!==Jo){const ja=Jo;for(let El=0;El<ja.length;El++){const Nc=this._getOptionValue(ja[El].value);Si.push(Nc)}}else{const ja=Xt.options;for(let El=0;El<ja.length;El++){const qu=ja[El];if(qu.selected){const Nc=this._getOptionValue(qu.value);Si.push(Nc)}}}this.value=Si,je(Si)}}_registerOption(je){const Xt=(this._idCounter++).toString();return this._optionMap.set(Xt,je),Xt}_getOptionId(je){for(const Xt of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(Xt)._value,je))return Xt;return null}_getOptionValue(je){const Xt=function Fs(mt){return mt.split(":")[0]}(je);return this._optionMap.has(Xt)?this._optionMap.get(Xt)._value:je}}return mt.\u0275fac=function(){let ot;return function(Xt){return(ot||(ot=r.n5z(mt)))(Xt||mt)}}(),mt.\u0275dir=r.lG2({type:mt,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(je,Xt){1&je&&r.NdJ("change",function(Jo){return Xt.onChange(Jo.target)})("blur",function(){return Xt.onTouched()})},inputs:{compareWith:"compareWith"},features:[r._Bn([_s]),r.qOj]}),mt})(),sl=(()=>{class mt{constructor(je,Xt,Si){this._element=je,this._renderer=Xt,this._select=Si,this._select&&(this.id=this._select._registerOption(this))}set ngValue(je){null!=this._select&&(this._value=je,this._setElementValue(Vo(this.id,je)),this._select.writeValue(this._select.value))}set value(je){this._select?(this._value=je,this._setElementValue(Vo(this.id,je)),this._select.writeValue(this._select.value)):this._setElementValue(je)}_setElementValue(je){this._renderer.setProperty(this._element.nativeElement,"value",je)}_setSelected(je){this._renderer.setProperty(this._element.nativeElement,"selected",je)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return mt.\u0275fac=function(je){return new(je||mt)(r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(hl,9))},mt.\u0275dir=r.lG2({type:mt,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),mt})();function _c(mt){return"number"==typeof mt?mt:parseFloat(mt)}let Cl=(()=>{class mt{constructor(){this._validator=He}ngOnChanges(je){if(this.inputName in je){const Xt=this.normalizeInput(je[this.inputName].currentValue);this._enabled=this.enabled(Xt),this._validator=this._enabled?this.createValidator(Xt):He,this._onChange&&this._onChange()}}validate(je){return this._validator(je)}registerOnValidatorChange(je){this._onChange=je}enabled(je){return null!=je}}return mt.\u0275fac=function(je){return new(je||mt)},mt.\u0275dir=r.lG2({type:mt,features:[r.TTD]}),mt})();const mc={provide:re,useExisting:(0,r.Gpc)(()=>Fl),multi:!0};let Fl=(()=>{class mt extends Cl{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=je=>_c(je),this.createValidator=je=>fe(je)}}return mt.\u0275fac=function(){let ot;return function(Xt){return(ot||(ot=r.n5z(mt)))(Xt||mt)}}(),mt.\u0275dir=r.lG2({type:mt,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(je,Xt){2&je&&r.uIk("max",Xt._enabled?Xt.max:null)},inputs:{max:"max"},features:[r._Bn([mc]),r.qOj]}),mt})();const Ku={provide:re,useExisting:(0,r.Gpc)(()=>Xa),multi:!0};let Xa=(()=>{class mt extends Cl{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=je=>_c(je),this.createValidator=je=>ie(je)}}return mt.\u0275fac=function(){let ot;return function(Xt){return(ot||(ot=r.n5z(mt)))(Xt||mt)}}(),mt.\u0275dir=r.lG2({type:mt,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(je,Xt){2&je&&r.uIk("min",Xt._enabled?Xt.min:null)},inputs:{min:"min"},features:[r._Bn([Ku]),r.qOj]}),mt})();const Mc={provide:re,useExisting:(0,r.Gpc)(()=>Ja),multi:!0};let Ja=(()=>{class mt extends Cl{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=je=>function Xu(mt){return null!=mt&&!1!==mt&&"false"!=`${mt}`}(je),this.createValidator=je=>_e}enabled(je){return je}}return mt.\u0275fac=function(){let ot;return function(Xt){return(ot||(ot=r.n5z(mt)))(Xt||mt)}}(),mt.\u0275dir=r.lG2({type:mt,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(je,Xt){2&je&&r.uIk("required",Xt._enabled?"":null)},inputs:{required:"required"},features:[r._Bn([Mc]),r.qOj]}),mt})(),Os=(()=>{class mt{}return mt.\u0275fac=function(je){return new(je||mt)},mt.\u0275mod=r.oAB({type:mt}),mt.\u0275inj=r.cJS({imports:[[Wo]]}),mt})(),ws=(()=>{class mt{}return mt.\u0275fac=function(je){return new(je||mt)},mt.\u0275mod=r.oAB({type:mt}),mt.\u0275inj=r.cJS({imports:[Os]}),mt})(),Fo=(()=>{class mt{static withConfig(je){return{ngModule:mt,providers:[{provide:Gs,useValue:je.warnOnNgModelWithFormControl}]}}}return mt.\u0275fac=function(je){return new(je||mt)},mt.\u0275mod=r.oAB({type:mt}),mt.\u0275inj=r.cJS({imports:[Os]}),mt})(),al=(()=>{class mt{group(je,Xt=null){const Si=this._reduceControls(je);let El,Jo=null,ja=null;return null!=Xt&&(function Ka(mt){return void 0!==mt.asyncValidators||void 0!==mt.validators||void 0!==mt.updateOn}(Xt)?(Jo=null!=Xt.validators?Xt.validators:null,ja=null!=Xt.asyncValidators?Xt.asyncValidators:null,El=null!=Xt.updateOn?Xt.updateOn:void 0):(Jo=null!=Xt.validator?Xt.validator:null,ja=null!=Xt.asyncValidator?Xt.asyncValidator:null)),new Or(Si,{asyncValidators:ja,updateOn:El,validators:Jo})}control(je,Xt,Si){return new Mr(je,Xt,Si)}array(je,Xt,Si){const Jo=je.map(ja=>this._createControl(ja));return new cr(Jo,Xt,Si)}_reduceControls(je){const Xt={};return Object.keys(je).forEach(Si=>{Xt[Si]=this._createControl(je[Si])}),Xt}_createControl(je){return ao(je)||$i(je)||Eo(je)?je:Array.isArray(je)?this.control(je[0],je.length>1?je[1]:null,je.length>2?je[2]:null):this.control(je)}}return mt.\u0275fac=function(je){return new(je||mt)},mt.\u0275prov=r.Yz7({token:mt,factory:mt.\u0275fac,providedIn:Fo}),mt})()},14800:(v,b,i)=>{"use strict";i.d(b,{Dx:()=>fi,H7:()=>Ut,HJ:()=>ui,b2:()=>Hn,q6:()=>Br,se:()=>Ge});var r=i(11048),a=i(89724);class f extends r.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class u extends f{static makeCurrent(){(0,r.HT)(new u)}onAndCancel(yt,Vt,yn){return yt.addEventListener(Vt,yn,!1),()=>{yt.removeEventListener(Vt,yn,!1)}}dispatchEvent(yt,Vt){yt.dispatchEvent(Vt)}remove(yt){yt.parentNode&&yt.parentNode.removeChild(yt)}createElement(yt,Vt){return(Vt=Vt||this.getDefaultDocument()).createElement(yt)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(yt){return yt.nodeType===Node.ELEMENT_NODE}isShadowRoot(yt){return yt instanceof DocumentFragment}getGlobalEventTarget(yt,Vt){return"window"===Vt?window:"document"===Vt?yt:"body"===Vt?yt.body:null}getBaseHref(yt){const Vt=function p(){return e=e||document.querySelector("base"),e?e.getAttribute("href"):null}();return null==Vt?null:function T(_t){g=g||document.createElement("a"),g.setAttribute("href",_t);const yt=g.pathname;return"/"===yt.charAt(0)?yt:`/${yt}`}(Vt)}resetBaseElement(){e=null}getUserAgent(){return window.navigator.userAgent}getCookie(yt){return(0,r.Mx)(document.cookie,yt)}}let g,e=null;const M=new a.OlP("TRANSITION_ID"),R=[{provide:a.ip1,useFactory:function w(_t,yt,Vt){return()=>{Vt.get(a.CZH).donePromise.then(()=>{const yn=(0,r.q)(),Cr=yt.querySelectorAll(`style[ng-transition="${_t}"]`);for(let xi=0;xi<Cr.length;xi++)yn.remove(Cr[xi])})}},deps:[M,r.K0,a.zs3],multi:!0}];class U{static init(){(0,a.VLi)(new U)}addToWindow(yt){a.dqk.getAngularTestability=(yn,Cr=!0)=>{const xi=yt.findTestabilityInTree(yn,Cr);if(null==xi)throw new Error("Could not find testability for element.");return xi},a.dqk.getAllAngularTestabilities=()=>yt.getAllTestabilities(),a.dqk.getAllAngularRootElements=()=>yt.getAllRootElements(),a.dqk.frameworkStabilizers||(a.dqk.frameworkStabilizers=[]),a.dqk.frameworkStabilizers.push(yn=>{const Cr=a.dqk.getAllAngularTestabilities();let xi=Cr.length,yi=!1;const Uo=function(Qo){yi=yi||Qo,xi--,0==xi&&yn(yi)};Cr.forEach(function(Qo){Qo.whenStable(Uo)})})}findTestabilityInTree(yt,Vt,yn){if(null==Vt)return null;const Cr=yt.getTestability(Vt);return null!=Cr?Cr:yn?(0,r.q)().isShadowRoot(Vt)?this.findTestabilityInTree(yt,Vt.host,!0):this.findTestabilityInTree(yt,Vt.parentElement,!0):null}}let W=(()=>{class _t{build(){return new XMLHttpRequest}}return _t.\u0275fac=function(Vt){return new(Vt||_t)},_t.\u0275prov=a.Yz7({token:_t,factory:_t.\u0275fac}),_t})();const j=new a.OlP("EventManagerPlugins");let q=(()=>{class _t{constructor(Vt,yn){this._zone=yn,this._eventNameToPlugin=new Map,Vt.forEach(Cr=>Cr.manager=this),this._plugins=Vt.slice().reverse()}addEventListener(Vt,yn,Cr){return this._findPluginFor(yn).addEventListener(Vt,yn,Cr)}addGlobalEventListener(Vt,yn,Cr){return this._findPluginFor(yn).addGlobalEventListener(Vt,yn,Cr)}getZone(){return this._zone}_findPluginFor(Vt){const yn=this._eventNameToPlugin.get(Vt);if(yn)return yn;const Cr=this._plugins;for(let xi=0;xi<Cr.length;xi++){const yi=Cr[xi];if(yi.supports(Vt))return this._eventNameToPlugin.set(Vt,yi),yi}throw new Error(`No event manager plugin found for event ${Vt}`)}}return _t.\u0275fac=function(Vt){return new(Vt||_t)(a.LFG(j),a.LFG(a.R0b))},_t.\u0275prov=a.Yz7({token:_t,factory:_t.\u0275fac}),_t})();class ue{constructor(yt){this._doc=yt}addGlobalEventListener(yt,Vt,yn){const Cr=(0,r.q)().getGlobalEventTarget(this._doc,yt);if(!Cr)throw new Error(`Unsupported event target ${Cr} for event ${Vt}`);return this.addEventListener(Cr,Vt,yn)}}let re=(()=>{class _t{constructor(){this._stylesSet=new Set}addStyles(Vt){const yn=new Set;Vt.forEach(Cr=>{this._stylesSet.has(Cr)||(this._stylesSet.add(Cr),yn.add(Cr))}),this.onStylesAdded(yn)}onStylesAdded(Vt){}getAllStyles(){return Array.from(this._stylesSet)}}return _t.\u0275fac=function(Vt){return new(Vt||_t)},_t.\u0275prov=a.Yz7({token:_t,factory:_t.\u0275fac}),_t})(),H=(()=>{class _t extends re{constructor(Vt){super(),this._doc=Vt,this._hostNodes=new Map,this._hostNodes.set(Vt.head,[])}_addStylesToHost(Vt,yn,Cr){Vt.forEach(xi=>{const yi=this._doc.createElement("style");yi.textContent=xi,Cr.push(yn.appendChild(yi))})}addHost(Vt){const yn=[];this._addStylesToHost(this._stylesSet,Vt,yn),this._hostNodes.set(Vt,yn)}removeHost(Vt){const yn=this._hostNodes.get(Vt);yn&&yn.forEach(se),this._hostNodes.delete(Vt)}onStylesAdded(Vt){this._hostNodes.forEach((yn,Cr)=>{this._addStylesToHost(Vt,Cr,yn)})}ngOnDestroy(){this._hostNodes.forEach(Vt=>Vt.forEach(se))}}return _t.\u0275fac=function(Vt){return new(Vt||_t)(a.LFG(r.K0))},_t.\u0275prov=a.Yz7({token:_t,factory:_t.\u0275fac}),_t})();function se(_t){(0,r.q)().remove(_t)}const ae={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},ie=/%COMP%/g;function Xe(_t,yt,Vt){for(let yn=0;yn<yt.length;yn++){let Cr=yt[yn];Array.isArray(Cr)?Xe(_t,Cr,Vt):(Cr=Cr.replace(ie,_t),Vt.push(Cr))}return Vt}function He(_t){return yt=>{if("__ngUnwrap__"===yt)return _t;!1===_t(yt)&&(yt.preventDefault(),yt.returnValue=!1)}}let Ge=(()=>{class _t{constructor(Vt,yn,Cr){this.eventManager=Vt,this.sharedStylesHost=yn,this.appId=Cr,this.rendererByCompId=new Map,this.defaultRenderer=new Oe(Vt)}createRenderer(Vt,yn){if(!Vt||!yn)return this.defaultRenderer;switch(yn.encapsulation){case a.ifc.Emulated:{let Cr=this.rendererByCompId.get(yn.id);return Cr||(Cr=new Qt(this.eventManager,this.sharedStylesHost,yn,this.appId),this.rendererByCompId.set(yn.id,Cr)),Cr.applyToHost(Vt),Cr}case 1:case a.ifc.ShadowDom:return new Nt(this.eventManager,this.sharedStylesHost,Vt,yn);default:if(!this.rendererByCompId.has(yn.id)){const Cr=Xe(yn.id,yn.styles,[]);this.sharedStylesHost.addStyles(Cr),this.rendererByCompId.set(yn.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return _t.\u0275fac=function(Vt){return new(Vt||_t)(a.LFG(q),a.LFG(H),a.LFG(a.AFp))},_t.\u0275prov=a.Yz7({token:_t,factory:_t.\u0275fac}),_t})();class Oe{constructor(yt){this.eventManager=yt,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(yt,Vt){return Vt?document.createElementNS(ae[Vt]||Vt,yt):document.createElement(yt)}createComment(yt){return document.createComment(yt)}createText(yt){return document.createTextNode(yt)}appendChild(yt,Vt){yt.appendChild(Vt)}insertBefore(yt,Vt,yn){yt&&yt.insertBefore(Vt,yn)}removeChild(yt,Vt){yt&&yt.removeChild(Vt)}selectRootElement(yt,Vt){let yn="string"==typeof yt?document.querySelector(yt):yt;if(!yn)throw new Error(`The selector "${yt}" did not match any elements`);return Vt||(yn.textContent=""),yn}parentNode(yt){return yt.parentNode}nextSibling(yt){return yt.nextSibling}setAttribute(yt,Vt,yn,Cr){if(Cr){Vt=Cr+":"+Vt;const xi=ae[Cr];xi?yt.setAttributeNS(xi,Vt,yn):yt.setAttribute(Vt,yn)}else yt.setAttribute(Vt,yn)}removeAttribute(yt,Vt,yn){if(yn){const Cr=ae[yn];Cr?yt.removeAttributeNS(Cr,Vt):yt.removeAttribute(`${yn}:${Vt}`)}else yt.removeAttribute(Vt)}addClass(yt,Vt){yt.classList.add(Vt)}removeClass(yt,Vt){yt.classList.remove(Vt)}setStyle(yt,Vt,yn,Cr){Cr&(a.JOm.DashCase|a.JOm.Important)?yt.style.setProperty(Vt,yn,Cr&a.JOm.Important?"important":""):yt.style[Vt]=yn}removeStyle(yt,Vt,yn){yn&a.JOm.DashCase?yt.style.removeProperty(Vt):yt.style[Vt]=""}setProperty(yt,Vt,yn){yt[Vt]=yn}setValue(yt,Vt){yt.nodeValue=Vt}listen(yt,Vt,yn){return"string"==typeof yt?this.eventManager.addGlobalEventListener(yt,Vt,He(yn)):this.eventManager.addEventListener(yt,Vt,He(yn))}}class Qt extends Oe{constructor(yt,Vt,yn,Cr){super(yt),this.component=yn;const xi=Xe(Cr+"-"+yn.id,yn.styles,[]);Vt.addStyles(xi),this.contentAttr=function Be(_t){return"_ngcontent-%COMP%".replace(ie,_t)}(Cr+"-"+yn.id),this.hostAttr=function Ve(_t){return"_nghost-%COMP%".replace(ie,_t)}(Cr+"-"+yn.id)}applyToHost(yt){super.setAttribute(yt,this.hostAttr,"")}createElement(yt,Vt){const yn=super.createElement(yt,Vt);return super.setAttribute(yn,this.contentAttr,""),yn}}class Nt extends Oe{constructor(yt,Vt,yn,Cr){super(yt),this.sharedStylesHost=Vt,this.hostEl=yn,this.shadowRoot=yn.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const xi=Xe(Cr.id,Cr.styles,[]);for(let yi=0;yi<xi.length;yi++){const Uo=document.createElement("style");Uo.textContent=xi[yi],this.shadowRoot.appendChild(Uo)}}nodeOrShadowRoot(yt){return yt===this.hostEl?this.shadowRoot:yt}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(yt,Vt){return super.appendChild(this.nodeOrShadowRoot(yt),Vt)}insertBefore(yt,Vt,yn){return super.insertBefore(this.nodeOrShadowRoot(yt),Vt,yn)}removeChild(yt,Vt){return super.removeChild(this.nodeOrShadowRoot(yt),Vt)}parentNode(yt){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(yt)))}}let Yt=(()=>{class _t extends ue{constructor(Vt){super(Vt)}supports(Vt){return!0}addEventListener(Vt,yn,Cr){return Vt.addEventListener(yn,Cr,!1),()=>this.removeEventListener(Vt,yn,Cr)}removeEventListener(Vt,yn,Cr){return Vt.removeEventListener(yn,Cr)}}return _t.\u0275fac=function(Vt){return new(Vt||_t)(a.LFG(r.K0))},_t.\u0275prov=a.Yz7({token:_t,factory:_t.\u0275fac}),_t})();const dn=["alt","control","meta","shift"],vt={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},xt={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},Ct={alt:_t=>_t.altKey,control:_t=>_t.ctrlKey,meta:_t=>_t.metaKey,shift:_t=>_t.shiftKey};let Gt=(()=>{class _t extends ue{constructor(Vt){super(Vt)}supports(Vt){return null!=_t.parseEventName(Vt)}addEventListener(Vt,yn,Cr){const xi=_t.parseEventName(yn),yi=_t.eventCallback(xi.fullKey,Cr,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,r.q)().onAndCancel(Vt,xi.domEventName,yi))}static parseEventName(Vt){const yn=Vt.toLowerCase().split("."),Cr=yn.shift();if(0===yn.length||"keydown"!==Cr&&"keyup"!==Cr)return null;const xi=_t._normalizeKey(yn.pop());let yi="";if(dn.forEach(Qo=>{const lo=yn.indexOf(Qo);lo>-1&&(yn.splice(lo,1),yi+=Qo+".")}),yi+=xi,0!=yn.length||0===xi.length)return null;const Uo={};return Uo.domEventName=Cr,Uo.fullKey=yi,Uo}static getEventFullKey(Vt){let yn="",Cr=function Fn(_t){let yt=_t.key;if(null==yt){if(yt=_t.keyIdentifier,null==yt)return"Unidentified";yt.startsWith("U+")&&(yt=String.fromCharCode(parseInt(yt.substring(2),16)),3===_t.location&&xt.hasOwnProperty(yt)&&(yt=xt[yt]))}return vt[yt]||yt}(Vt);return Cr=Cr.toLowerCase()," "===Cr?Cr="space":"."===Cr&&(Cr="dot"),dn.forEach(xi=>{xi!=Cr&&Ct[xi](Vt)&&(yn+=xi+".")}),yn+=Cr,yn}static eventCallback(Vt,yn,Cr){return xi=>{_t.getEventFullKey(xi)===Vt&&Cr.runGuarded(()=>yn(xi))}}static _normalizeKey(Vt){return"esc"===Vt?"escape":Vt}}return _t.\u0275fac=function(Vt){return new(Vt||_t)(a.LFG(r.K0))},_t.\u0275prov=a.Yz7({token:_t,factory:_t.\u0275fac}),_t})();const Br=(0,a.eFA)(a._c5,"browser",[{provide:a.Lbi,useValue:r.bD},{provide:a.g9A,useValue:function pr(){u.makeCurrent(),U.init()},multi:!0},{provide:r.K0,useFactory:function ci(){return(0,a.RDi)(document),document},deps:[]}]),Ur=[{provide:a.zSh,useValue:"root"},{provide:a.qLn,useFactory:function mi(){return new a.qLn},deps:[]},{provide:j,useClass:Yt,multi:!0,deps:[r.K0,a.R0b,a.Lbi]},{provide:j,useClass:Gt,multi:!0,deps:[r.K0]},{provide:Ge,useClass:Ge,deps:[q,H,a.AFp]},{provide:a.FYo,useExisting:Ge},{provide:re,useExisting:H},{provide:H,useClass:H,deps:[r.K0]},{provide:a.dDg,useClass:a.dDg,deps:[a.R0b]},{provide:q,useClass:q,deps:[j,a.R0b]},{provide:r.JF,useClass:W,deps:[]}];let Hn=(()=>{class _t{constructor(Vt){if(Vt)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(Vt){return{ngModule:_t,providers:[{provide:a.AFp,useValue:Vt.appId},{provide:M,useExisting:a.AFp},R]}}}return _t.\u0275fac=function(Vt){return new(Vt||_t)(a.LFG(_t,12))},_t.\u0275mod=a.oAB({type:_t}),_t.\u0275inj=a.cJS({providers:Ur,imports:[r.ez,a.hGG]}),_t})(),fi=(()=>{class _t{constructor(Vt){this._doc=Vt}getTitle(){return this._doc.title}setTitle(Vt){this._doc.title=Vt||""}}return _t.\u0275fac=function(Vt){return new(Vt||_t)(a.LFG(r.K0))},_t.\u0275prov=a.Yz7({token:_t,factory:function(Vt){let yn=null;return yn=Vt?new Vt:function bi(){return new fi((0,a.LFG)(r.K0))}(),yn},providedIn:"root"}),_t})();const Zn="undefined"!=typeof window&&window||{};class Xn{constructor(yt,Vt){this.msPerTick=yt,this.numTicks=Vt}}class zn{constructor(yt){this.appRef=yt.injector.get(a.z2F)}timeChangeDetection(yt){const Vt=yt&&yt.record,yn="Change Detection",Cr=null!=Zn.console.profile;Vt&&Cr&&Zn.console.profile(yn);const xi=ri();let yi=0;for(;yi<5||ri()-xi<500;)this.appRef.tick(),yi++;const Uo=ri();Vt&&Cr&&Zn.console.profileEnd(yn);const Qo=(Uo-xi)/yi;return Zn.console.log(`ran ${yi} change detection cycles`),Zn.console.log(`${Qo.toFixed(2)} ms per check`),new Xn(Qo,yi)}}function ri(){return Zn.performance&&Zn.performance.now?Zn.performance.now():(new Date).getTime()}function ui(_t){return function vn(_t,yt){"undefined"!=typeof COMPILED&&COMPILED||((a.dqk.ng=a.dqk.ng||{})[_t]=yt)}("profiler",new zn(_t)),_t}let Ut=(()=>{class _t{}return _t.\u0275fac=function(Vt){return new(Vt||_t)},_t.\u0275prov=a.Yz7({token:_t,factory:function(Vt){let yn=null;return yn=Vt?new(Vt||_t):a.LFG(Et),yn},providedIn:"root"}),_t})(),Et=(()=>{class _t extends Ut{constructor(Vt){super(),this._doc=Vt}sanitize(Vt,yn){if(null==yn)return null;switch(Vt){case a.q3G.NONE:return yn;case a.q3G.HTML:return(0,a.qzn)(yn,"HTML")?(0,a.z3N)(yn):(0,a.EiD)(this._doc,String(yn)).toString();case a.q3G.STYLE:return(0,a.qzn)(yn,"Style")?(0,a.z3N)(yn):yn;case a.q3G.SCRIPT:if((0,a.qzn)(yn,"Script"))return(0,a.z3N)(yn);throw new Error("unsafe value used in a script context");case a.q3G.URL:return(0,a.yhl)(yn),(0,a.qzn)(yn,"URL")?(0,a.z3N)(yn):(0,a.mCW)(String(yn));case a.q3G.RESOURCE_URL:if((0,a.qzn)(yn,"ResourceURL"))return(0,a.z3N)(yn);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${Vt} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(Vt){return(0,a.JVY)(Vt)}bypassSecurityTrustStyle(Vt){return(0,a.L6k)(Vt)}bypassSecurityTrustScript(Vt){return(0,a.eBb)(Vt)}bypassSecurityTrustUrl(Vt){return(0,a.LAX)(Vt)}bypassSecurityTrustResourceUrl(Vt){return(0,a.pB0)(Vt)}}return _t.\u0275fac=function(Vt){return new(Vt||_t)(a.LFG(r.K0))},_t.\u0275prov=a.Yz7({token:_t,factory:function(Vt){let yn=null;return yn=Vt?new Vt:function Dn(_t){return new Et(_t.get(r.K0))}(a.LFG(a.zs3)),yn},providedIn:"root"}),_t})()},55860:(v,b,i)=>{"use strict";i.d(b,{gz:()=>mo,m2:()=>Tt,OD:()=>Oe,wm:()=>_l,F0:()=>Ci,rH:()=>Yn,Od:()=>fo,yS:()=>Rr,Bz:()=>Hc,lC:()=>ki});var r=i(89724),a=i(76666),f=i(25917),u=i(26215),e=i(9112),p=i(40205),g=i(13410),T=i(6481),M=i(70882),w=i(59193);function R(Ze){return new M.y(Ae=>{let ge;try{ge=Ze()}catch(Ot){return void Ae.error(Ot)}return(ge?(0,a.D)(ge):(0,w.c)()).subscribe(Ae)})}var U=i(52441),W=i(79765),j=i(88002),q=i(43190),ue=i(15257),re=i(39761),H=i(42145),se=i(45435),ae=i(5304),ie=i(94612),fe=i(12627),_e=i(28049),Ce=i(19773),ce=i(68307),Be=i(548),Ve=i(51307),Xe=i(68939),He=i(63282),Pe=i(11048);class Ge{constructor(Ae,ge){this.id=Ae,this.url=ge}}class Oe extends Ge{constructor(Ae,ge,ht="imperative",Ot=null){super(Ae,ge),this.navigationTrigger=ht,this.restoredState=Ot}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Tt extends Ge{constructor(Ae,ge,ht){super(Ae,ge),this.urlAfterRedirects=ht}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class We extends Ge{constructor(Ae,ge,ht){super(Ae,ge),this.reason=ht}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Qt extends Ge{constructor(Ae,ge,ht){super(Ae,ge),this.error=ht}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Nt extends Ge{constructor(Ae,ge,ht,Ot){super(Ae,ge),this.urlAfterRedirects=ht,this.state=Ot}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Yt extends Ge{constructor(Ae,ge,ht,Ot){super(Ae,ge),this.urlAfterRedirects=ht,this.state=Ot}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dn extends Ge{constructor(Ae,ge,ht,Ot,sn){super(Ae,ge),this.urlAfterRedirects=ht,this.state=Ot,this.shouldActivate=sn}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class rn extends Ge{constructor(Ae,ge,ht,Ot){super(Ae,ge),this.urlAfterRedirects=ht,this.state=Ot}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class vt extends Ge{constructor(Ae,ge,ht,Ot){super(Ae,ge),this.urlAfterRedirects=ht,this.state=Ot}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class xt{constructor(Ae){this.route=Ae}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ct{constructor(Ae){this.route=Ae}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Gt{constructor(Ae){this.snapshot=Ae}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Fn{constructor(Ae){this.snapshot=Ae}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class pr{constructor(Ae){this.snapshot=Ae}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class mi{constructor(Ae){this.snapshot=Ae}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ci{constructor(Ae,ge,ht){this.routerEvent=Ae,this.position=ge,this.anchor=ht}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const hr="primary";class Br{constructor(Ae){this.params=Ae||{}}has(Ae){return Object.prototype.hasOwnProperty.call(this.params,Ae)}get(Ae){if(this.has(Ae)){const ge=this.params[Ae];return Array.isArray(ge)?ge[0]:ge}return null}getAll(Ae){if(this.has(Ae)){const ge=this.params[Ae];return Array.isArray(ge)?ge:[ge]}return[]}get keys(){return Object.keys(this.params)}}function Ur(Ze){return new Br(Ze)}const Hn="ngNavigationCancelingError";function er(Ze){const Ae=Error("NavigationCancelingError: "+Ze);return Ae[Hn]=!0,Ae}function ei(Ze,Ae,ge){const ht=ge.path.split("/");if(ht.length>Ze.length||"full"===ge.pathMatch&&(Ae.hasChildren()||ht.length<Ze.length))return null;const Ot={};for(let sn=0;sn<ht.length;sn++){const Un=ht[sn],gr=Ze[sn];if(Un.startsWith(":"))Ot[Un.substring(1)]=gr;else if(Un!==gr.path)return null}return{consumed:Ze.slice(0,ht.length),posParams:Ot}}function fi(Ze,Ae){const ge=Ze?Object.keys(Ze):void 0,ht=Ae?Object.keys(Ae):void 0;if(!ge||!ht||ge.length!=ht.length)return!1;let Ot;for(let sn=0;sn<ge.length;sn++)if(Ot=ge[sn],!no(Ze[Ot],Ae[Ot]))return!1;return!0}function no(Ze,Ae){if(Array.isArray(Ze)&&Array.isArray(Ae)){if(Ze.length!==Ae.length)return!1;const ge=[...Ze].sort(),ht=[...Ae].sort();return ge.every((Ot,sn)=>ht[sn]===Ot)}return Ze===Ae}function xo(Ze){return Array.prototype.concat.apply([],Ze)}function Er(Ze){return Ze.length>0?Ze[Ze.length-1]:null}function vn(Ze,Ae){for(const ge in Ze)Ze.hasOwnProperty(ge)&&Ae(Ze[ge],ge)}function Zn(Ze){return(0,r.CqO)(Ze)?Ze:(0,r.QGY)(Ze)?(0,a.D)(Promise.resolve(Ze)):(0,f.of)(Ze)}const zn={exact:function vr(Ze,Ae,ge){if(!dt(Ze.segments,Ae.segments)||!Wn(Ze.segments,Ae.segments,ge)||Ze.numberOfChildren!==Ae.numberOfChildren)return!1;for(const ht in Ae.children)if(!Ze.children[ht]||!vr(Ze.children[ht],Ae.children[ht],ge))return!1;return!0},subset:mn},ri={exact:function ui(Ze,Ae){return fi(Ze,Ae)},subset:function Ji(Ze,Ae){return Object.keys(Ae).length<=Object.keys(Ze).length&&Object.keys(Ae).every(ge=>no(Ze[ge],Ae[ge]))},ignored:()=>!0};function Gi(Ze,Ae,ge){return zn[ge.paths](Ze.root,Ae.root,ge.matrixParams)&&ri[ge.queryParams](Ze.queryParams,Ae.queryParams)&&!("exact"===ge.fragment&&Ze.fragment!==Ae.fragment)}function mn(Ze,Ae,ge){return Rn(Ze,Ae,Ae.segments,ge)}function Rn(Ze,Ae,ge,ht){if(Ze.segments.length>ge.length){const Ot=Ze.segments.slice(0,ge.length);return!(!dt(Ot,ge)||Ae.hasChildren()||!Wn(Ot,ge,ht))}if(Ze.segments.length===ge.length){if(!dt(Ze.segments,ge)||!Wn(Ze.segments,ge,ht))return!1;for(const Ot in Ae.children)if(!Ze.children[Ot]||!mn(Ze.children[Ot],Ae.children[Ot],ht))return!1;return!0}{const Ot=ge.slice(0,Ze.segments.length),sn=ge.slice(Ze.segments.length);return!!(dt(Ze.segments,Ot)&&Wn(Ze.segments,Ot,ht)&&Ze.children[hr])&&Rn(Ze.children[hr],Ae,sn,ht)}}function Wn(Ze,Ae,ge){return Ae.every((ht,Ot)=>ri[ge](Ze[Ot].parameters,ht.parameters))}class et{constructor(Ae,ge,ht){this.root=Ae,this.queryParams=ge,this.fragment=ht}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ur(this.queryParams)),this._queryParamMap}toString(){return Lr.serialize(this)}}class Le{constructor(Ae,ge){this.segments=Ae,this.children=ge,this.parent=null,vn(ge,(ht,Ot)=>ht.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ti(this)}}class Re{constructor(Ae,ge){this.path=Ae,this.parameters=ge}get parameterMap(){return this._parameterMap||(this._parameterMap=Ur(this.parameters)),this._parameterMap}toString(){return yn(this)}}function dt(Ze,Ae){return Ze.length===Ae.length&&Ze.every((ge,ht)=>ge.path===Ae[ht].path)}class nn{}class Fe{parse(Ae){const ge=new Xo(Ae);return new et(ge.parseRootSegment(),ge.parseQueryParams(),ge.parseFragment())}serialize(Ae){const ge=`/${Ut(Ae.root,!0)}`,ht=function xi(Ze){const Ae=Object.keys(Ze).map(ge=>{const ht=Ze[ge];return Array.isArray(ht)?ht.map(Ot=>`${Et(ge)}=${Et(Ot)}`).join("&"):`${Et(ge)}=${Et(ht)}`}).filter(ge=>!!ge);return Ae.length?`?${Ae.join("&")}`:""}(Ae.queryParams);return`${ge}${ht}${"string"==typeof Ae.fragment?`#${function $t(Ze){return encodeURI(Ze)}(Ae.fragment)}`:""}`}}const Lr=new Fe;function ti(Ze){return Ze.segments.map(Ae=>yn(Ae)).join("/")}function Ut(Ze,Ae){if(!Ze.hasChildren())return ti(Ze);if(Ae){const ge=Ze.children[hr]?Ut(Ze.children[hr],!1):"",ht=[];return vn(Ze.children,(Ot,sn)=>{sn!==hr&&ht.push(`${sn}:${Ut(Ot,!1)}`)}),ht.length>0?`${ge}(${ht.join("//")})`:ge}{const ge=function st(Ze,Ae){let ge=[];return vn(Ze.children,(ht,Ot)=>{Ot===hr&&(ge=ge.concat(Ae(ht,Ot)))}),vn(Ze.children,(ht,Ot)=>{Ot!==hr&&(ge=ge.concat(Ae(ht,Ot)))}),ge}(Ze,(ht,Ot)=>Ot===hr?[Ut(Ze.children[hr],!1)]:[`${Ot}:${Ut(ht,!1)}`]);return 1===Object.keys(Ze.children).length&&null!=Ze.children[hr]?`${ti(Ze)}/${ge[0]}`:`${ti(Ze)}/(${ge.join("//")})`}}function Dn(Ze){return encodeURIComponent(Ze).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Et(Ze){return Dn(Ze).replace(/%3B/gi,";")}function _t(Ze){return Dn(Ze).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function yt(Ze){return decodeURIComponent(Ze)}function Vt(Ze){return yt(Ze.replace(/\+/g,"%20"))}function yn(Ze){return`${_t(Ze.path)}${function Cr(Ze){return Object.keys(Ze).map(Ae=>`;${_t(Ae)}=${_t(Ze[Ae])}`).join("")}(Ze.parameters)}`}const yi=/^[^\/()?;=#]+/;function Uo(Ze){const Ae=Ze.match(yi);return Ae?Ae[0]:""}const Qo=/^[^=?&#]+/,Ri=/^[^&#]+/;class Xo{constructor(Ae){this.url=Ae,this.remaining=Ae}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Le([],{}):new Le([],this.parseChildren())}parseQueryParams(){const Ae={};if(this.consumeOptional("?"))do{this.parseQueryParam(Ae)}while(this.consumeOptional("&"));return Ae}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const Ae=[];for(this.peekStartsWith("(")||Ae.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),Ae.push(this.parseSegment());let ge={};this.peekStartsWith("/(")&&(this.capture("/"),ge=this.parseParens(!0));let ht={};return this.peekStartsWith("(")&&(ht=this.parseParens(!1)),(Ae.length>0||Object.keys(ge).length>0)&&(ht[hr]=new Le(Ae,ge)),ht}parseSegment(){const Ae=Uo(this.remaining);if(""===Ae&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(Ae),new Re(yt(Ae),this.parseMatrixParams())}parseMatrixParams(){const Ae={};for(;this.consumeOptional(";");)this.parseParam(Ae);return Ae}parseParam(Ae){const ge=Uo(this.remaining);if(!ge)return;this.capture(ge);let ht="";if(this.consumeOptional("=")){const Ot=Uo(this.remaining);Ot&&(ht=Ot,this.capture(ht))}Ae[yt(ge)]=yt(ht)}parseQueryParam(Ae){const ge=function lo(Ze){const Ae=Ze.match(Qo);return Ae?Ae[0]:""}(this.remaining);if(!ge)return;this.capture(ge);let ht="";if(this.consumeOptional("=")){const Un=function ko(Ze){const Ae=Ze.match(Ri);return Ae?Ae[0]:""}(this.remaining);Un&&(ht=Un,this.capture(ht))}const Ot=Vt(ge),sn=Vt(ht);if(Ae.hasOwnProperty(Ot)){let Un=Ae[Ot];Array.isArray(Un)||(Un=[Un],Ae[Ot]=Un),Un.push(sn)}else Ae[Ot]=sn}parseParens(Ae){const ge={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const ht=Uo(this.remaining),Ot=this.remaining[ht.length];if("/"!==Ot&&")"!==Ot&&";"!==Ot)throw new Error(`Cannot parse url '${this.url}'`);let sn;ht.indexOf(":")>-1?(sn=ht.substr(0,ht.indexOf(":")),this.capture(sn),this.capture(":")):Ae&&(sn=hr);const Un=this.parseChildren();ge[sn]=1===Object.keys(Un).length?Un[hr]:new Le([],Un),this.consumeOptional("//")}return ge}peekStartsWith(Ae){return this.remaining.startsWith(Ae)}consumeOptional(Ae){return!!this.peekStartsWith(Ae)&&(this.remaining=this.remaining.substring(Ae.length),!0)}capture(Ae){if(!this.consumeOptional(Ae))throw new Error(`Expected "${Ae}".`)}}class ir{constructor(Ae){this._root=Ae}get root(){return this._root.value}parent(Ae){const ge=this.pathFromRoot(Ae);return ge.length>1?ge[ge.length-2]:null}children(Ae){const ge=si(Ae,this._root);return ge?ge.children.map(ht=>ht.value):[]}firstChild(Ae){const ge=si(Ae,this._root);return ge&&ge.children.length>0?ge.children[0].value:null}siblings(Ae){const ge=kn(Ae,this._root);return ge.length<2?[]:ge[ge.length-2].children.map(Ot=>Ot.value).filter(Ot=>Ot!==Ae)}pathFromRoot(Ae){return kn(Ae,this._root).map(ge=>ge.value)}}function si(Ze,Ae){if(Ze===Ae.value)return Ae;for(const ge of Ae.children){const ht=si(Ze,ge);if(ht)return ht}return null}function kn(Ze,Ae){if(Ze===Ae.value)return[Ae];for(const ge of Ae.children){const ht=kn(Ze,ge);if(ht.length)return ht.unshift(Ae),ht}return[]}class nr{constructor(Ae,ge){this.value=Ae,this.children=ge}toString(){return`TreeNode(${this.value})`}}function jr(Ze){const Ae={};return Ze&&Ze.children.forEach(ge=>Ae[ge.value.outlet]=ge),Ae}class ao extends ir{constructor(Ae,ge){super(Ae),this.snapshot=ge,Or(this,Ae)}toString(){return this.snapshot.toString()}}function $i(Ze,Ae){const ge=function Eo(Ze,Ae){const Un=new or([],{},{},"",{},hr,Ae,null,Ze.root,-1,{});return new Mr("",new nr(Un,[]))}(Ze,Ae),ht=new u.X([new Re("",{})]),Ot=new u.X({}),sn=new u.X({}),Un=new u.X({}),gr=new u.X(""),gi=new mo(ht,Ot,Un,gr,sn,hr,Ae,ge.root);return gi.snapshot=ge.root,new ao(new nr(gi,[]),ge)}class mo{constructor(Ae,ge,ht,Ot,sn,Un,gr,gi){this.url=Ae,this.params=ge,this.queryParams=ht,this.fragment=Ot,this.data=sn,this.outlet=Un,this.component=gr,this._futureSnapshot=gi}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,j.U)(Ae=>Ur(Ae)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,j.U)(Ae=>Ur(Ae)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Go(Ze,Ae="emptyOnly"){const ge=Ze.pathFromRoot;let ht=0;if("always"!==Ae)for(ht=ge.length-1;ht>=1;){const Ot=ge[ht],sn=ge[ht-1];if(Ot.routeConfig&&""===Ot.routeConfig.path)ht--;else{if(sn.component)break;ht--}}return function ua(Ze){return Ze.reduce((Ae,ge)=>({params:Object.assign(Object.assign({},Ae.params),ge.params),data:Object.assign(Object.assign({},Ae.data),ge.data),resolve:Object.assign(Object.assign({},Ae.resolve),ge._resolvedData)}),{params:{},data:{},resolve:{}})}(ge.slice(ht))}class or{constructor(Ae,ge,ht,Ot,sn,Un,gr,gi,Lo,Ta,ms){this.url=Ae,this.params=ge,this.queryParams=ht,this.fragment=Ot,this.data=sn,this.outlet=Un,this.component=gr,this.routeConfig=gi,this._urlSegment=Lo,this._lastPathIndex=Ta,this._resolve=ms}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Ur(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ur(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(ht=>ht.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Mr extends ir{constructor(Ae,ge){super(ge),this.url=Ae,Or(this,ge)}toString(){return cr(this._root)}}function Or(Ze,Ae){Ae.value._routerState=Ze,Ae.children.forEach(ge=>Or(Ze,ge))}function cr(Ze){const Ae=Ze.children.length>0?` { ${Ze.children.map(cr).join(", ")} } `:"";return`${Ze.value}${Ae}`}function pi(Ze){if(Ze.snapshot){const Ae=Ze.snapshot,ge=Ze._futureSnapshot;Ze.snapshot=ge,fi(Ae.queryParams,ge.queryParams)||Ze.queryParams.next(ge.queryParams),Ae.fragment!==ge.fragment&&Ze.fragment.next(ge.fragment),fi(Ae.params,ge.params)||Ze.params.next(ge.params),function bi(Ze,Ae){if(Ze.length!==Ae.length)return!1;for(let ge=0;ge<Ze.length;++ge)if(!fi(Ze[ge],Ae[ge]))return!1;return!0}(Ae.url,ge.url)||Ze.url.next(ge.url),fi(Ae.data,ge.data)||Ze.data.next(ge.data)}else Ze.snapshot=Ze._futureSnapshot,Ze.data.next(Ze._futureSnapshot.data)}function Sn(Ze,Ae){const ge=fi(Ze.params,Ae.params)&&function Se(Ze,Ae){return dt(Ze,Ae)&&Ze.every((ge,ht)=>fi(ge.parameters,Ae[ht].parameters))}(Ze.url,Ae.url);return ge&&!(!Ze.parent!=!Ae.parent)&&(!Ze.parent||Sn(Ze.parent,Ae.parent))}function Jr(Ze,Ae,ge){if(ge&&Ze.shouldReuseRoute(Ae.value,ge.value.snapshot)){const ht=ge.value;ht._futureSnapshot=Ae.value;const Ot=function ro(Ze,Ae,ge){return Ae.children.map(ht=>{for(const Ot of ge.children)if(Ze.shouldReuseRoute(ht.value,Ot.value.snapshot))return Jr(Ze,ht,Ot);return Jr(Ze,ht)})}(Ze,Ae,ge);return new nr(ht,Ot)}{if(Ze.shouldAttach(Ae.value)){const sn=Ze.retrieve(Ae.value);if(null!==sn){const Un=sn.route;return Un.value._futureSnapshot=Ae.value,Un.children=Ae.children.map(gr=>Jr(Ze,gr)),Un}}const ht=function go(Ze){return new mo(new u.X(Ze.url),new u.X(Ze.params),new u.X(Ze.queryParams),new u.X(Ze.fragment),new u.X(Ze.data),Ze.outlet,Ze.component,Ze)}(Ae.value),Ot=Ae.children.map(sn=>Jr(Ze,sn));return new nr(ht,Ot)}}function js(Ze){return"object"==typeof Ze&&null!=Ze&&!Ze.outlets&&!Ze.segmentPath}function ds(Ze){return"object"==typeof Ze&&null!=Ze&&Ze.outlets}function es(Ze,Ae,ge,ht,Ot){let sn={};if(ht&&vn(ht,(gr,gi)=>{sn[gi]=Array.isArray(gr)?gr.map(Lo=>`${Lo}`):`${gr}`}),Ze===Ae)return new et(ge,sn,Ot);const Un=ma(Ze,Ae,ge);return new et(Un,sn,Ot)}function ma(Ze,Ae,ge){const ht={};return vn(Ze.children,(Ot,sn)=>{ht[sn]=Ot===Ae?ge:ma(Ot,Ae,ge)}),new Le(Ze.segments,ht)}class ya{constructor(Ae,ge,ht){if(this.isAbsolute=Ae,this.numberOfDoubleDots=ge,this.commands=ht,Ae&&ht.length>0&&js(ht[0]))throw new Error("Root segment cannot have matrix parameters");const Ot=ht.find(ds);if(Ot&&Ot!==Er(ht))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class sa{constructor(Ae,ge,ht){this.segmentGroup=Ae,this.processChildren=ge,this.index=ht}}function yl(Ze,Ae,ge){if(Ze||(Ze=new Le([],{})),0===Ze.segments.length&&Ze.hasChildren())return Wo(Ze,Ae,ge);const ht=function ys(Ze,Ae,ge){let ht=0,Ot=Ae;const sn={match:!1,pathIndex:0,commandIndex:0};for(;Ot<Ze.segments.length;){if(ht>=ge.length)return sn;const Un=Ze.segments[Ot],gr=ge[ht];if(ds(gr))break;const gi=`${gr}`,Lo=ht<ge.length-1?ge[ht+1]:null;if(Ot>0&&void 0===gi)break;if(gi&&Lo&&"object"==typeof Lo&&void 0===Lo.outlets){if(!Gs(gi,Lo,Un))return sn;ht+=2}else{if(!Gs(gi,{},Un))return sn;ht++}Ot++}return{match:!0,pathIndex:Ot,commandIndex:ht}}(Ze,Ae,ge),Ot=ge.slice(ht.commandIndex);if(ht.match&&ht.pathIndex<Ze.segments.length){const sn=new Le(Ze.segments.slice(0,ht.pathIndex),{});return sn.children[hr]=new Le(Ze.segments.slice(ht.pathIndex),Ze.children),Wo(sn,0,Ot)}return ht.match&&0===Ot.length?new Le(Ze.segments,{}):ht.match&&!Ze.hasChildren()?Wa(Ze,Ae,ge):ht.match?Wo(Ze,0,Ot):Wa(Ze,Ae,ge)}function Wo(Ze,Ae,ge){if(0===ge.length)return new Le(Ze.segments,{});{const ht=function Co(Ze){return ds(Ze[0])?Ze[0].outlets:{[hr]:Ze}}(ge),Ot={};return vn(ht,(sn,Un)=>{"string"==typeof sn&&(sn=[sn]),null!==sn&&(Ot[Un]=yl(Ze.children[Un],Ae,sn))}),vn(Ze.children,(sn,Un)=>{void 0===ht[Un]&&(Ot[Un]=sn)}),new Le(Ze.segments,Ot)}}function Wa(Ze,Ae,ge){const ht=Ze.segments.slice(0,Ae);let Ot=0;for(;Ot<ge.length;){const sn=ge[Ot];if(ds(sn)){const gi=Is(sn.outlets);return new Le(ht,gi)}if(0===Ot&&js(ge[0])){ht.push(new Re(Ze.segments[Ae].path,nl(ge[0]))),Ot++;continue}const Un=ds(sn)?sn.outlets[hr]:`${sn}`,gr=Ot<ge.length-1?ge[Ot+1]:null;Un&&gr&&js(gr)?(ht.push(new Re(Un,nl(gr))),Ot+=2):(ht.push(new Re(Un,{})),Ot++)}return new Le(ht,{})}function Is(Ze){const Ae={};return vn(Ze,(ge,ht)=>{"string"==typeof ge&&(ge=[ge]),null!==ge&&(Ae[ht]=Wa(new Le([],{}),0,ge))}),Ae}function nl(Ze){const Ae={};return vn(Ze,(ge,ht)=>Ae[ht]=`${ge}`),Ae}function Gs(Ze,Ae,ge){return Ze==ge.path&&fi(Ae,ge.parameters)}class To{constructor(Ae,ge,ht,Ot){this.routeReuseStrategy=Ae,this.futureState=ge,this.currState=ht,this.forwardEvent=Ot}activate(Ae){const ge=this.futureState._root,ht=this.currState?this.currState._root:null;this.deactivateChildRoutes(ge,ht,Ae),pi(this.futureState.root),this.activateChildRoutes(ge,ht,Ae)}deactivateChildRoutes(Ae,ge,ht){const Ot=jr(ge);Ae.children.forEach(sn=>{const Un=sn.value.outlet;this.deactivateRoutes(sn,Ot[Un],ht),delete Ot[Un]}),vn(Ot,(sn,Un)=>{this.deactivateRouteAndItsChildren(sn,ht)})}deactivateRoutes(Ae,ge,ht){const Ot=Ae.value,sn=ge?ge.value:null;if(Ot===sn)if(Ot.component){const Un=ht.getContext(Ot.outlet);Un&&this.deactivateChildRoutes(Ae,ge,Un.children)}else this.deactivateChildRoutes(Ae,ge,ht);else sn&&this.deactivateRouteAndItsChildren(ge,ht)}deactivateRouteAndItsChildren(Ae,ge){Ae.value.component&&this.routeReuseStrategy.shouldDetach(Ae.value.snapshot)?this.detachAndStoreRouteSubtree(Ae,ge):this.deactivateRouteAndOutlet(Ae,ge)}detachAndStoreRouteSubtree(Ae,ge){const ht=ge.getContext(Ae.value.outlet),Ot=ht&&Ae.value.component?ht.children:ge,sn=jr(Ae);for(const Un of Object.keys(sn))this.deactivateRouteAndItsChildren(sn[Un],Ot);if(ht&&ht.outlet){const Un=ht.outlet.detach(),gr=ht.children.onOutletDeactivated();this.routeReuseStrategy.store(Ae.value.snapshot,{componentRef:Un,route:Ae,contexts:gr})}}deactivateRouteAndOutlet(Ae,ge){const ht=ge.getContext(Ae.value.outlet),Ot=ht&&Ae.value.component?ht.children:ge,sn=jr(Ae);for(const Un of Object.keys(sn))this.deactivateRouteAndItsChildren(sn[Un],Ot);ht&&ht.outlet&&(ht.outlet.deactivate(),ht.children.onOutletDeactivated(),ht.attachRef=null,ht.resolver=null,ht.route=null)}activateChildRoutes(Ae,ge,ht){const Ot=jr(ge);Ae.children.forEach(sn=>{this.activateRoutes(sn,Ot[sn.value.outlet],ht),this.forwardEvent(new mi(sn.value.snapshot))}),Ae.children.length&&this.forwardEvent(new Fn(Ae.value.snapshot))}activateRoutes(Ae,ge,ht){const Ot=Ae.value,sn=ge?ge.value:null;if(pi(Ot),Ot===sn)if(Ot.component){const Un=ht.getOrCreateContext(Ot.outlet);this.activateChildRoutes(Ae,ge,Un.children)}else this.activateChildRoutes(Ae,ge,ht);else if(Ot.component){const Un=ht.getOrCreateContext(Ot.outlet);if(this.routeReuseStrategy.shouldAttach(Ot.snapshot)){const gr=this.routeReuseStrategy.retrieve(Ot.snapshot);this.routeReuseStrategy.store(Ot.snapshot,null),Un.children.onOutletReAttached(gr.contexts),Un.attachRef=gr.componentRef,Un.route=gr.route.value,Un.outlet&&Un.outlet.attach(gr.componentRef,gr.route.value),pi(gr.route.value),this.activateChildRoutes(Ae,null,Un.children)}else{const gr=function Ns(Ze){for(let Ae=Ze.parent;Ae;Ae=Ae.parent){const ge=Ae.routeConfig;if(ge&&ge._loadedConfig)return ge._loadedConfig;if(ge&&ge.component)return null}return null}(Ot.snapshot),gi=gr?gr.module.componentFactoryResolver:null;Un.attachRef=null,Un.route=Ot,Un.resolver=gi,Un.outlet&&Un.outlet.activateWith(Ot,gi),this.activateChildRoutes(Ae,null,Un.children)}}else this.activateChildRoutes(Ae,null,ht)}}class hs{constructor(Ae,ge){this.routes=Ae,this.module=ge}}function Oo(Ze){return"function"==typeof Ze}function Ki(Ze){return Ze instanceof et}const jt=Symbol("INITIAL_VALUE");function hn(){return(0,q.w)(Ze=>(0,e.aj)(Ze.map(Ae=>Ae.pipe((0,ue.q)(1),(0,re.O)(jt)))).pipe((0,H.R)((Ae,ge)=>{let ht=!1;return ge.reduce((Ot,sn,Un)=>Ot!==jt?Ot:(sn===jt&&(ht=!0),ht||!1!==sn&&Un!==ge.length-1&&!Ki(sn)?Ot:sn),Ae)},jt),(0,se.h)(Ae=>Ae!==jt),(0,j.U)(Ae=>Ki(Ae)?Ae:!0===Ae),(0,ue.q)(1)))}class ii{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Oi,this.attachRef=null}}class Oi{constructor(){this.contexts=new Map}onChildOutletCreated(Ae,ge){const ht=this.getOrCreateContext(Ae);ht.outlet=ge,this.contexts.set(Ae,ht)}onChildOutletDestroyed(Ae){const ge=this.getContext(Ae);ge&&(ge.outlet=null,ge.attachRef=null)}onOutletDeactivated(){const Ae=this.contexts;return this.contexts=new Map,Ae}onOutletReAttached(Ae){this.contexts=Ae}getOrCreateContext(Ae){let ge=this.getContext(Ae);return ge||(ge=new ii,this.contexts.set(Ae,ge)),ge}getContext(Ae){return this.contexts.get(Ae)||null}}let ki=(()=>{class Ze{constructor(ge,ht,Ot,sn,Un){this.parentContexts=ge,this.location=ht,this.resolver=Ot,this.changeDetector=Un,this.activated=null,this._activatedRoute=null,this.activateEvents=new r.vpe,this.deactivateEvents=new r.vpe,this.attachEvents=new r.vpe,this.detachEvents=new r.vpe,this.name=sn||hr,ge.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const ge=this.parentContexts.getContext(this.name);ge&&ge.route&&(ge.attachRef?this.attach(ge.attachRef,ge.route):this.activateWith(ge.route,ge.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const ge=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(ge.instance),ge}attach(ge,ht){this.activated=ge,this._activatedRoute=ht,this.location.insert(ge.hostView),this.attachEvents.emit(ge.instance)}deactivate(){if(this.activated){const ge=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(ge)}}activateWith(ge,ht){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=ge;const Un=(ht=ht||this.resolver).resolveComponentFactory(ge._futureSnapshot.routeConfig.component),gr=this.parentContexts.getOrCreateContext(this.name).children,gi=new _s(ge,gr,this.location.injector);this.activated=this.location.createComponent(Un,this.location.length,gi),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return Ze.\u0275fac=function(ge){return new(ge||Ze)(r.Y36(Oi),r.Y36(r.s_b),r.Y36(r._Vd),r.$8M("name"),r.Y36(r.sBO))},Ze.\u0275dir=r.lG2({type:Ze,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),Ze})();class _s{constructor(Ae,ge,ht){this.route=Ae,this.childContexts=ge,this.parent=ht}get(Ae,ge){return Ae===mo?this.route:Ae===Oi?this.childContexts:this.parent.get(Ae,ge)}}let Vo=(()=>{class Ze{}return Ze.\u0275fac=function(ge){return new(ge||Ze)},Ze.\u0275cmp=r.Xpm({type:Ze,selectors:[["ng-component"]],decls:1,vars:0,template:function(ge,ht){1&ge&&r._UZ(0,"router-outlet")},directives:[ki],encapsulation:2}),Ze})();function Fs(Ze,Ae=""){for(let ge=0;ge<Ze.length;ge++){const ht=Ze[ge];Ks(ht,hl(Ae,ht))}}function Ks(Ze,Ae){Ze.children&&Fs(Ze.children,Ae)}function hl(Ze,Ae){return Ae?Ze||Ae.path?Ze&&!Ae.path?`${Ze}/`:!Ze&&Ae.path?Ae.path:`${Ze}/${Ae.path}`:"":Ze}function sl(Ze){const Ae=Ze.children&&Ze.children.map(sl),ge=Ae?Object.assign(Object.assign({},Ze),{children:Ae}):Object.assign({},Ze);return!ge.component&&(Ae||ge.loadChildren)&&ge.outlet&&ge.outlet!==hr&&(ge.component=Vo),ge}function Jl(Ze){return Ze.outlet||hr}function Xu(Ze,Ae){const ge=Ze.filter(ht=>Jl(ht)===Ae);return ge.push(...Ze.filter(ht=>Jl(ht)!==Ae)),ge}const _c={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Cl(Ze,Ae,ge){var ht;if(""===Ae.path)return"full"===Ae.pathMatch&&(Ze.hasChildren()||ge.length>0)?Object.assign({},_c):{matched:!0,consumedSegments:[],remainingSegments:ge,parameters:{},positionalParamSegments:{}};const sn=(Ae.matcher||ei)(ge,Ze,Ae);if(!sn)return Object.assign({},_c);const Un={};vn(sn.posParams,(gi,Lo)=>{Un[Lo]=gi.path});const gr=sn.consumed.length>0?Object.assign(Object.assign({},Un),sn.consumed[sn.consumed.length-1].parameters):Un;return{matched:!0,consumedSegments:sn.consumed,remainingSegments:ge.slice(sn.consumed.length),parameters:gr,positionalParamSegments:null!==(ht=sn.posParams)&&void 0!==ht?ht:{}}}function mc(Ze,Ae,ge,ht,Ot="corrected"){if(ge.length>0&&function Xa(Ze,Ae,ge){return ge.some(ht=>ru(Ze,Ae,ht)&&Jl(ht)!==hr)}(Ze,ge,ht)){const Un=new Le(Ae,function Ku(Ze,Ae,ge,ht){const Ot={};Ot[hr]=ht,ht._sourceSegment=Ze,ht._segmentIndexShift=Ae.length;for(const sn of ge)if(""===sn.path&&Jl(sn)!==hr){const Un=new Le([],{});Un._sourceSegment=Ze,Un._segmentIndexShift=Ae.length,Ot[Jl(sn)]=Un}return Ot}(Ze,Ae,ht,new Le(ge,Ze.children)));return Un._sourceSegment=Ze,Un._segmentIndexShift=Ae.length,{segmentGroup:Un,slicedSegments:[]}}if(0===ge.length&&function Mc(Ze,Ae,ge){return ge.some(ht=>ru(Ze,Ae,ht))}(Ze,ge,ht)){const Un=new Le(Ze.segments,function Fl(Ze,Ae,ge,ht,Ot,sn){const Un={};for(const gr of ht)if(ru(Ze,ge,gr)&&!Ot[Jl(gr)]){const gi=new Le([],{});gi._sourceSegment=Ze,gi._segmentIndexShift="legacy"===sn?Ze.segments.length:Ae.length,Un[Jl(gr)]=gi}return Object.assign(Object.assign({},Ot),Un)}(Ze,Ae,ge,ht,Ze.children,Ot));return Un._sourceSegment=Ze,Un._segmentIndexShift=Ae.length,{segmentGroup:Un,slicedSegments:ge}}const sn=new Le(Ze.segments,Ze.children);return sn._sourceSegment=Ze,sn._segmentIndexShift=Ae.length,{segmentGroup:sn,slicedSegments:ge}}function ru(Ze,Ae,ge){return(!(Ze.hasChildren()||Ae.length>0)||"full"!==ge.pathMatch)&&""===ge.path}function Ja(Ze,Ae,ge,ht){return!!(Jl(Ze)===ht||ht!==hr&&ru(Ae,ge,Ze))&&("**"===Ze.path||Cl(Ae,Ze,ge).matched)}function Ol(Ze,Ae,ge){return 0===Ae.length&&!Ze.children[ge]}class Bl{constructor(Ae){this.segmentGroup=Ae||null}}class Ya{constructor(Ae){this.urlTree=Ae}}function rt(Ze){return(0,p._)(new Bl(Ze))}function qt(Ze){return(0,p._)(new Ya(Ze))}class oi{constructor(Ae,ge,ht,Ot,sn){this.configLoader=ge,this.urlSerializer=ht,this.urlTree=Ot,this.config=sn,this.allowRedirects=!0,this.ngModule=Ae.get(r.h0i)}apply(){const Ae=mc(this.urlTree.root,[],[],this.config).segmentGroup,ge=new Le(Ae.segments,Ae.children);return this.expandSegmentGroup(this.ngModule,this.config,ge,hr).pipe((0,j.U)(sn=>this.createUrlTree(as(sn),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,ae.K)(sn=>{if(sn instanceof Ya)return this.allowRedirects=!1,this.match(sn.urlTree);throw sn instanceof Bl?this.noMatchError(sn):sn}))}match(Ae){return this.expandSegmentGroup(this.ngModule,this.config,Ae.root,hr).pipe((0,j.U)(Ot=>this.createUrlTree(as(Ot),Ae.queryParams,Ae.fragment))).pipe((0,ae.K)(Ot=>{throw Ot instanceof Bl?this.noMatchError(Ot):Ot}))}noMatchError(Ae){return new Error(`Cannot match any routes. URL Segment: '${Ae.segmentGroup}'`)}createUrlTree(Ae,ge,ht){const Ot=Ae.segments.length>0?new Le([],{[hr]:Ae}):Ae;return new et(Ot,ge,ht)}expandSegmentGroup(Ae,ge,ht,Ot){return 0===ht.segments.length&&ht.hasChildren()?this.expandChildren(Ae,ge,ht).pipe((0,j.U)(sn=>new Le([],sn))):this.expandSegment(Ae,ht,ge,ht.segments,Ot,!0)}expandChildren(Ae,ge,ht){const Ot=[];for(const sn of Object.keys(ht.children))"primary"===sn?Ot.unshift(sn):Ot.push(sn);return(0,a.D)(Ot).pipe((0,ie.b)(sn=>{const Un=ht.children[sn],gr=Xu(ge,sn);return this.expandSegmentGroup(Ae,gr,Un,sn).pipe((0,j.U)(gi=>({segment:gi,outlet:sn})))}),(0,H.R)((sn,Un)=>(sn[Un.outlet]=Un.segment,sn),{}),(0,fe.Z)())}expandSegment(Ae,ge,ht,Ot,sn,Un){return(0,a.D)(ht).pipe((0,ie.b)(gr=>this.expandSegmentAgainstRoute(Ae,ge,ht,gr,Ot,sn,Un).pipe((0,ae.K)(Lo=>{if(Lo instanceof Bl)return(0,f.of)(null);throw Lo}))),(0,_e.P)(gr=>!!gr),(0,ae.K)((gr,gi)=>{if(gr instanceof g.K||"EmptyError"===gr.name)return Ol(ge,Ot,sn)?(0,f.of)(new Le([],{})):rt(ge);throw gr}))}expandSegmentAgainstRoute(Ae,ge,ht,Ot,sn,Un,gr){return Ja(Ot,ge,sn,Un)?void 0===Ot.redirectTo?this.matchSegmentAgainstRoute(Ae,ge,Ot,sn,Un):gr&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(Ae,ge,ht,Ot,sn,Un):rt(ge):rt(ge)}expandSegmentAgainstRouteUsingRedirect(Ae,ge,ht,Ot,sn,Un){return"**"===Ot.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(Ae,ht,Ot,Un):this.expandRegularSegmentAgainstRouteUsingRedirect(Ae,ge,ht,Ot,sn,Un)}expandWildCardWithParamsAgainstRouteUsingRedirect(Ae,ge,ht,Ot){const sn=this.applyRedirectCommands([],ht.redirectTo,{});return ht.redirectTo.startsWith("/")?qt(sn):this.lineralizeSegments(ht,sn).pipe((0,Ce.zg)(Un=>{const gr=new Le(Un,{});return this.expandSegment(Ae,gr,ge,Un,Ot,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(Ae,ge,ht,Ot,sn,Un){const{matched:gr,consumedSegments:gi,remainingSegments:Lo,positionalParamSegments:Ta}=Cl(ge,Ot,sn);if(!gr)return rt(ge);const ms=this.applyRedirectCommands(gi,Ot.redirectTo,Ta);return Ot.redirectTo.startsWith("/")?qt(ms):this.lineralizeSegments(Ot,ms).pipe((0,Ce.zg)(ha=>this.expandSegment(Ae,ge,ht,ha.concat(Lo),Un,!1)))}matchSegmentAgainstRoute(Ae,ge,ht,Ot,sn){if("**"===ht.path)return ht.loadChildren?(ht._loadedConfig?(0,f.of)(ht._loadedConfig):this.configLoader.load(Ae.injector,ht)).pipe((0,j.U)(ms=>(ht._loadedConfig=ms,new Le(Ot,{})))):(0,f.of)(new Le(Ot,{}));const{matched:Un,consumedSegments:gr,remainingSegments:gi}=Cl(ge,ht,Ot);return Un?this.getChildConfig(Ae,ht,Ot).pipe((0,Ce.zg)(Ta=>{const ms=Ta.module,ha=Ta.routes,{segmentGroup:Ca,slicedSegments:Nu}=mc(ge,gr,gi,ha),cc=new Le(Ca.segments,Ca.children);if(0===Nu.length&&cc.hasChildren())return this.expandChildren(ms,ha,cc).pipe((0,j.U)(yc=>new Le(gr,yc)));if(0===ha.length&&0===Nu.length)return(0,f.of)(new Le(gr,{}));const ka=Jl(ht)===sn;return this.expandSegment(ms,cc,ha,Nu,ka?hr:sn,!0).pipe((0,j.U)(vc=>new Le(gr.concat(vc.segments),vc.children)))})):rt(ge)}getChildConfig(Ae,ge,ht){return ge.children?(0,f.of)(new hs(ge.children,Ae)):ge.loadChildren?void 0!==ge._loadedConfig?(0,f.of)(ge._loadedConfig):this.runCanLoadGuards(Ae.injector,ge,ht).pipe((0,Ce.zg)(Ot=>Ot?this.configLoader.load(Ae.injector,ge).pipe((0,j.U)(sn=>(ge._loadedConfig=sn,sn))):function Kt(Ze){return(0,p._)(er(`Cannot load children because the guard of the route "path: '${Ze.path}'" returned false`))}(ge))):(0,f.of)(new hs([],Ae))}runCanLoadGuards(Ae,ge,ht){const Ot=ge.canLoad;if(!Ot||0===Ot.length)return(0,f.of)(!0);const sn=Ot.map(Un=>{const gr=Ae.get(Un);let gi;if(function ut(Ze){return Ze&&Oo(Ze.canLoad)}(gr))gi=gr.canLoad(ge,ht);else{if(!Oo(gr))throw new Error("Invalid CanLoad guard");gi=gr(ge,ht)}return Zn(gi)});return(0,f.of)(sn).pipe(hn(),(0,ce.b)(Un=>{if(!Ki(Un))return;const gr=er(`Redirecting to "${this.urlSerializer.serialize(Un)}"`);throw gr.url=Un,gr}),(0,j.U)(Un=>!0===Un))}lineralizeSegments(Ae,ge){let ht=[],Ot=ge.root;for(;;){if(ht=ht.concat(Ot.segments),0===Ot.numberOfChildren)return(0,f.of)(ht);if(Ot.numberOfChildren>1||!Ot.children[hr])return(0,p._)(new Error(`Only absolute redirects can have named outlets. redirectTo: '${Ae.redirectTo}'`));Ot=Ot.children[hr]}}applyRedirectCommands(Ae,ge,ht){return this.applyRedirectCreatreUrlTree(ge,this.urlSerializer.parse(ge),Ae,ht)}applyRedirectCreatreUrlTree(Ae,ge,ht,Ot){const sn=this.createSegmentGroup(Ae,ge.root,ht,Ot);return new et(sn,this.createQueryParams(ge.queryParams,this.urlTree.queryParams),ge.fragment)}createQueryParams(Ae,ge){const ht={};return vn(Ae,(Ot,sn)=>{if("string"==typeof Ot&&Ot.startsWith(":")){const gr=Ot.substring(1);ht[sn]=ge[gr]}else ht[sn]=Ot}),ht}createSegmentGroup(Ae,ge,ht,Ot){const sn=this.createSegments(Ae,ge.segments,ht,Ot);let Un={};return vn(ge.children,(gr,gi)=>{Un[gi]=this.createSegmentGroup(Ae,gr,ht,Ot)}),new Le(sn,Un)}createSegments(Ae,ge,ht,Ot){return ge.map(sn=>sn.path.startsWith(":")?this.findPosParam(Ae,sn,Ot):this.findOrReturn(sn,ht))}findPosParam(Ae,ge,ht){const Ot=ht[ge.path.substring(1)];if(!Ot)throw new Error(`Cannot redirect to '${Ae}'. Cannot find '${ge.path}'.`);return Ot}findOrReturn(Ae,ge){let ht=0;for(const Ot of ge){if(Ot.path===Ae.path)return ge.splice(ht),Ot;ht++}return Ae}}function as(Ze){const Ae={};for(const ht of Object.keys(Ze.children)){const sn=as(Ze.children[ht]);(sn.segments.length>0||sn.hasChildren())&&(Ae[ht]=sn)}return function wi(Ze){if(1===Ze.numberOfChildren&&Ze.children[hr]){const Ae=Ze.children[hr];return new Le(Ze.segments.concat(Ae.segments),Ae.children)}return Ze}(new Le(Ze.segments,Ae))}class Os{constructor(Ae){this.path=Ae,this.route=this.path[this.path.length-1]}}class ws{constructor(Ae,ge){this.component=Ae,this.route=ge}}function Fo(Ze,Ae,ge){const ht=Ze._root;return mt(ht,Ae?Ae._root:null,ge,[ht.value])}function al(Ze,Ae,ge){const ht=function Bs(Ze){if(!Ze)return null;for(let Ae=Ze.parent;Ae;Ae=Ae.parent){const ge=Ae.routeConfig;if(ge&&ge._loadedConfig)return ge._loadedConfig}return null}(Ae);return(ht?ht.module.injector:ge).get(Ze)}function mt(Ze,Ae,ge,ht,Ot={canDeactivateChecks:[],canActivateChecks:[]}){const sn=jr(Ae);return Ze.children.forEach(Un=>{(function ot(Ze,Ae,ge,ht,Ot={canDeactivateChecks:[],canActivateChecks:[]}){const sn=Ze.value,Un=Ae?Ae.value:null,gr=ge?ge.getContext(Ze.value.outlet):null;if(Un&&sn.routeConfig===Un.routeConfig){const gi=function je(Ze,Ae,ge){if("function"==typeof ge)return ge(Ze,Ae);switch(ge){case"pathParamsChange":return!dt(Ze.url,Ae.url);case"pathParamsOrQueryParamsChange":return!dt(Ze.url,Ae.url)||!fi(Ze.queryParams,Ae.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Sn(Ze,Ae)||!fi(Ze.queryParams,Ae.queryParams);default:return!Sn(Ze,Ae)}}(Un,sn,sn.routeConfig.runGuardsAndResolvers);gi?Ot.canActivateChecks.push(new Os(ht)):(sn.data=Un.data,sn._resolvedData=Un._resolvedData),mt(Ze,Ae,sn.component?gr?gr.children:null:ge,ht,Ot),gi&&gr&&gr.outlet&&gr.outlet.isActivated&&Ot.canDeactivateChecks.push(new ws(gr.outlet.component,Un))}else Un&&Xt(Ae,gr,Ot),Ot.canActivateChecks.push(new Os(ht)),mt(Ze,null,sn.component?gr?gr.children:null:ge,ht,Ot)})(Un,sn[Un.value.outlet],ge,ht.concat([Un.value]),Ot),delete sn[Un.value.outlet]}),vn(sn,(Un,gr)=>Xt(Un,ge.getContext(gr),Ot)),Ot}function Xt(Ze,Ae,ge){const ht=jr(Ze),Ot=Ze.value;vn(ht,(sn,Un)=>{Xt(sn,Ot.component?Ae?Ae.children.getContext(Un):null:Ae,ge)}),ge.canDeactivateChecks.push(new ws(Ot.component&&Ae&&Ae.outlet&&Ae.outlet.isActivated?Ae.outlet.component:null,Ot))}class aa{}function Fa(Ze){return new M.y(Ae=>Ae.error(Ze))}class ec{constructor(Ae,ge,ht,Ot,sn,Un){this.rootComponentType=Ae,this.config=ge,this.urlTree=ht,this.url=Ot,this.paramsInheritanceStrategy=sn,this.relativeLinkResolution=Un}recognize(){const Ae=mc(this.urlTree.root,[],[],this.config.filter(Un=>void 0===Un.redirectTo),this.relativeLinkResolution).segmentGroup,ge=this.processSegmentGroup(this.config,Ae,hr);if(null===ge)return null;const ht=new or([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},hr,this.rootComponentType,null,this.urlTree.root,-1,{}),Ot=new nr(ht,ge),sn=new Mr(this.url,Ot);return this.inheritParamsAndData(sn._root),sn}inheritParamsAndData(Ae){const ge=Ae.value,ht=Go(ge,this.paramsInheritanceStrategy);ge.params=Object.freeze(ht.params),ge.data=Object.freeze(ht.data),Ae.children.forEach(Ot=>this.inheritParamsAndData(Ot))}processSegmentGroup(Ae,ge,ht){return 0===ge.segments.length&&ge.hasChildren()?this.processChildren(Ae,ge):this.processSegment(Ae,ge,ge.segments,ht)}processChildren(Ae,ge){const ht=[];for(const sn of Object.keys(ge.children)){const Un=ge.children[sn],gr=Xu(Ae,sn),gi=this.processSegmentGroup(gr,Un,sn);if(null===gi)return null;ht.push(...gi)}const Ot=iu(ht);return function Sl(Ze){Ze.sort((Ae,ge)=>Ae.value.outlet===hr?-1:ge.value.outlet===hr?1:Ae.value.outlet.localeCompare(ge.value.outlet))}(Ot),Ot}processSegment(Ae,ge,ht,Ot){for(const sn of Ae){const Un=this.processSegmentAgainstRoute(sn,ge,ht,Ot);if(null!==Un)return Un}return Ol(ge,ht,Ot)?[]:null}processSegmentAgainstRoute(Ae,ge,ht,Ot){if(Ae.redirectTo||!Ja(Ae,ge,ht,Ot))return null;let sn,Un=[],gr=[];if("**"===Ae.path){const Ca=ht.length>0?Er(ht).parameters:{};sn=new or(ht,Ca,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,tc(Ae),Jl(Ae),Ae.component,Ae,bu(ge),td(ge)+ht.length,uu(Ae))}else{const Ca=Cl(ge,Ae,ht);if(!Ca.matched)return null;Un=Ca.consumedSegments,gr=Ca.remainingSegments,sn=new or(Un,Ca.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,tc(Ae),Jl(Ae),Ae.component,Ae,bu(ge),td(ge)+Un.length,uu(Ae))}const gi=function lu(Ze){return Ze.children?Ze.children:Ze.loadChildren?Ze._loadedConfig.routes:[]}(Ae),{segmentGroup:Lo,slicedSegments:Ta}=mc(ge,Un,gr,gi.filter(Ca=>void 0===Ca.redirectTo),this.relativeLinkResolution);if(0===Ta.length&&Lo.hasChildren()){const Ca=this.processChildren(gi,Lo);return null===Ca?null:[new nr(sn,Ca)]}if(0===gi.length&&0===Ta.length)return[new nr(sn,[])];const ms=Jl(Ae)===Ot,ha=this.processSegment(gi,Lo,Ta,ms?hr:Ot);return null===ha?null:[new nr(sn,ha)]}}function Eu(Ze){const Ae=Ze.value.routeConfig;return Ae&&""===Ae.path&&void 0===Ae.redirectTo}function iu(Ze){const Ae=[],ge=new Set;for(const ht of Ze){if(!Eu(ht)){Ae.push(ht);continue}const Ot=Ae.find(sn=>ht.value.routeConfig===sn.value.routeConfig);void 0!==Ot?(Ot.children.push(...ht.children),ge.add(Ot)):Ae.push(ht)}for(const ht of ge){const Ot=iu(ht.children);Ae.push(new nr(ht.value,Ot))}return Ae.filter(ht=>!ge.has(ht))}function bu(Ze){let Ae=Ze;for(;Ae._sourceSegment;)Ae=Ae._sourceSegment;return Ae}function td(Ze){let Ae=Ze,ge=Ae._segmentIndexShift?Ae._segmentIndexShift:0;for(;Ae._sourceSegment;)Ae=Ae._sourceSegment,ge+=Ae._segmentIndexShift?Ae._segmentIndexShift:0;return ge-1}function tc(Ze){return Ze.data||{}}function uu(Ze){return Ze.resolve||{}}function wu(Ze){return[...Object.keys(Ze),...Object.getOwnPropertySymbols(Ze)]}function Io(Ze){return(0,q.w)(Ae=>{const ge=Ze(Ae);return ge?(0,a.D)(ge).pipe((0,j.U)(()=>Ae)):(0,f.of)(Ae)})}class Z extends class Sr{shouldDetach(Ae){return!1}store(Ae,ge){}shouldAttach(Ae){return!1}retrieve(Ae){return null}shouldReuseRoute(Ae,ge){return Ae.routeConfig===ge.routeConfig}}{}const De=new r.OlP("ROUTES");class ct{constructor(Ae,ge,ht,Ot){this.injector=Ae,this.compiler=ge,this.onLoadStartListener=ht,this.onLoadEndListener=Ot}load(Ae,ge){if(ge._loader$)return ge._loader$;this.onLoadStartListener&&this.onLoadStartListener(ge);const Ot=this.loadModuleFactory(ge.loadChildren).pipe((0,j.U)(sn=>{this.onLoadEndListener&&this.onLoadEndListener(ge);const Un=sn.create(Ae);return new hs(xo(Un.injector.get(De,void 0,r.XFs.Self|r.XFs.Optional)).map(sl),Un)}),(0,ae.K)(sn=>{throw ge._loader$=void 0,sn}));return ge._loader$=new U.c(Ot,()=>new W.xQ).pipe((0,Ve.x)()),ge._loader$}loadModuleFactory(Ae){return Zn(Ae()).pipe((0,Ce.zg)(ge=>ge instanceof r.YKP?(0,f.of)(ge):(0,a.D)(this.compiler.compileModuleAsync(ge))))}}class Ht{shouldProcessUrl(Ae){return!0}extract(Ae){return Ae}merge(Ae,ge){return Ae}}function _n(Ze){throw Ze}function Pn(Ze,Ae,ge){return Ae.parse("/")}function Tr(Ze,Ae){return(0,f.of)(null)}const ai={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ei={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Ci=(()=>{class Ze{constructor(ge,ht,Ot,sn,Un,gr,gi){this.rootComponentType=ge,this.urlSerializer=ht,this.rootContexts=Ot,this.location=sn,this.config=gi,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new W.xQ,this.errorHandler=_n,this.malformedUriErrorHandler=Pn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Tr,afterPreactivation:Tr},this.urlHandlingStrategy=new Ht,this.routeReuseStrategy=new Z,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=Un.get(r.h0i),this.console=Un.get(r.c2e);const ms=Un.get(r.R0b);this.isNgZoneEnabled=ms instanceof r.R0b&&r.R0b.isInAngularZone(),this.resetConfig(gi),this.currentUrlTree=function Xn(){return new et(new Le([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new ct(Un,gr,ha=>this.triggerEvent(new xt(ha)),ha=>this.triggerEvent(new Ct(ha))),this.routerState=$i(this.currentUrlTree,this.rootComponentType),this.transitions=new u.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var ge;return null===(ge=this.location.getState())||void 0===ge?void 0:ge.\u0275routerPageId}setupNavigations(ge){const ht=this.events;return ge.pipe((0,se.h)(Ot=>0!==Ot.id),(0,j.U)(Ot=>Object.assign(Object.assign({},Ot),{extractedUrl:this.urlHandlingStrategy.extract(Ot.rawUrl)})),(0,q.w)(Ot=>{let sn=!1,Un=!1;return(0,f.of)(Ot).pipe((0,ce.b)(gr=>{this.currentNavigation={id:gr.id,initialUrl:gr.currentRawUrl,extractedUrl:gr.extractedUrl,trigger:gr.source,extras:gr.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,q.w)(gr=>{const gi=this.browserUrlTree.toString(),Lo=!this.navigated||gr.extractedUrl.toString()!==gi||gi!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||Lo)&&this.urlHandlingStrategy.shouldProcessUrl(gr.rawUrl))return Pr(gr.source)&&(this.browserUrlTree=gr.extractedUrl),(0,f.of)(gr).pipe((0,q.w)(ms=>{const ha=this.transitions.getValue();return ht.next(new Oe(ms.id,this.serializeUrl(ms.extractedUrl),ms.source,ms.restoredState)),ha!==this.transitions.getValue()?w.E:Promise.resolve(ms)}),function Vs(Ze,Ae,ge,ht){return(0,q.w)(Ot=>function Kn(Ze,Ae,ge,ht,Ot){return new oi(Ze,Ae,ge,ht,Ot).apply()}(Ze,Ae,ge,Ot.extractedUrl,ht).pipe((0,j.U)(sn=>Object.assign(Object.assign({},Ot),{urlAfterRedirects:sn}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,ce.b)(ms=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:ms.urlAfterRedirects})}),function du(Ze,Ae,ge,ht,Ot){return(0,Ce.zg)(sn=>function Es(Ze,Ae,ge,ht,Ot="emptyOnly",sn="legacy"){try{const Un=new ec(Ze,Ae,ge,ht,Ot,sn).recognize();return null===Un?Fa(new aa):(0,f.of)(Un)}catch(Un){return Fa(Un)}}(Ze,Ae,sn.urlAfterRedirects,ge(sn.urlAfterRedirects),ht,Ot).pipe((0,j.U)(Un=>Object.assign(Object.assign({},sn),{targetSnapshot:Un}))))}(this.rootComponentType,this.config,ms=>this.serializeUrl(ms),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,ce.b)(ms=>{if("eager"===this.urlUpdateStrategy){if(!ms.extras.skipLocationChange){const Ca=this.urlHandlingStrategy.merge(ms.urlAfterRedirects,ms.rawUrl);this.setBrowserUrl(Ca,ms)}this.browserUrlTree=ms.urlAfterRedirects}const ha=new Nt(ms.id,this.serializeUrl(ms.extractedUrl),this.serializeUrl(ms.urlAfterRedirects),ms.targetSnapshot);ht.next(ha)}));if(Lo&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:ha,extractedUrl:Ca,source:Nu,restoredState:cc,extras:ka}=gr,rl=new Oe(ha,this.serializeUrl(Ca),Nu,cc);ht.next(rl);const vc=$i(Ca,this.rootComponentType).snapshot;return(0,f.of)(Object.assign(Object.assign({},gr),{targetSnapshot:vc,urlAfterRedirects:Ca,extras:Object.assign(Object.assign({},ka),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=gr.rawUrl,gr.resolve(null),w.E}),Io(gr=>{const{targetSnapshot:gi,id:Lo,extractedUrl:Ta,rawUrl:ms,extras:{skipLocationChange:ha,replaceUrl:Ca}}=gr;return this.hooks.beforePreactivation(gi,{navigationId:Lo,appliedUrlTree:Ta,rawUrlTree:ms,skipLocationChange:!!ha,replaceUrl:!!Ca})}),(0,ce.b)(gr=>{const gi=new Yt(gr.id,this.serializeUrl(gr.extractedUrl),this.serializeUrl(gr.urlAfterRedirects),gr.targetSnapshot);this.triggerEvent(gi)}),(0,j.U)(gr=>Object.assign(Object.assign({},gr),{guards:Fo(gr.targetSnapshot,gr.currentSnapshot,this.rootContexts)})),function Si(Ze,Ae){return(0,Ce.zg)(ge=>{const{targetSnapshot:ht,currentSnapshot:Ot,guards:{canActivateChecks:sn,canDeactivateChecks:Un}}=ge;return 0===Un.length&&0===sn.length?(0,f.of)(Object.assign(Object.assign({},ge),{guardsResult:!0})):function Jo(Ze,Ae,ge,ht){return(0,a.D)(Ze).pipe((0,Ce.zg)(Ot=>function Yi(Ze,Ae,ge,ht,Ot){const sn=Ae&&Ae.routeConfig?Ae.routeConfig.canDeactivate:null;if(!sn||0===sn.length)return(0,f.of)(!0);const Un=sn.map(gr=>{const gi=al(gr,Ae,Ot);let Lo;if(function Ue(Ze){return Ze&&Oo(Ze.canDeactivate)}(gi))Lo=Zn(gi.canDeactivate(Ze,Ae,ge,ht));else{if(!Oo(gi))throw new Error("Invalid CanDeactivate guard");Lo=Zn(gi(Ze,Ae,ge,ht))}return Lo.pipe((0,_e.P)())});return(0,f.of)(Un).pipe(hn())}(Ot.component,Ot.route,ge,Ae,ht)),(0,_e.P)(Ot=>!0!==Ot,!0))}(Un,ht,Ot,Ze).pipe((0,Ce.zg)(gr=>gr&&function kr(Ze){return"boolean"==typeof Ze}(gr)?function ja(Ze,Ae,ge,ht){return(0,a.D)(Ae).pipe((0,ie.b)(Ot=>(0,T.z)(function qu(Ze,Ae){return null!==Ze&&Ae&&Ae(new Gt(Ze)),(0,f.of)(!0)}(Ot.route.parent,ht),function El(Ze,Ae){return null!==Ze&&Ae&&Ae(new pr(Ze)),(0,f.of)(!0)}(Ot.route,ht),function hd(Ze,Ae,ge){const ht=Ae[Ae.length-1],sn=Ae.slice(0,Ae.length-1).reverse().map(Un=>function Ka(Ze){const Ae=Ze.routeConfig?Ze.routeConfig.canActivateChild:null;return Ae&&0!==Ae.length?{node:Ze,guards:Ae}:null}(Un)).filter(Un=>null!==Un).map(Un=>R(()=>{const gr=Un.guards.map(gi=>{const Lo=al(gi,Un.node,ge);let Ta;if(function te(Ze){return Ze&&Oo(Ze.canActivateChild)}(Lo))Ta=Zn(Lo.canActivateChild(ht,Ze));else{if(!Oo(Lo))throw new Error("Invalid CanActivateChild guard");Ta=Zn(Lo(ht,Ze))}return Ta.pipe((0,_e.P)())});return(0,f.of)(gr).pipe(hn())}));return(0,f.of)(sn).pipe(hn())}(Ze,Ot.path,ge),function Nc(Ze,Ae,ge){const ht=Ae.routeConfig?Ae.routeConfig.canActivate:null;if(!ht||0===ht.length)return(0,f.of)(!0);const Ot=ht.map(sn=>R(()=>{const Un=al(sn,Ae,ge);let gr;if(function pn(Ze){return Ze&&Oo(Ze.canActivate)}(Un))gr=Zn(Un.canActivate(Ae,Ze));else{if(!Oo(Un))throw new Error("Invalid CanActivate guard");gr=Zn(Un(Ae,Ze))}return gr.pipe((0,_e.P)())}));return(0,f.of)(Ot).pipe(hn())}(Ze,Ot.route,ge))),(0,_e.P)(Ot=>!0!==Ot,!0))}(ht,sn,Ze,Ae):(0,f.of)(gr)),(0,j.U)(gr=>Object.assign(Object.assign({},ge),{guardsResult:gr})))})}(this.ngModule.injector,gr=>this.triggerEvent(gr)),(0,ce.b)(gr=>{if(Ki(gr.guardsResult)){const Lo=er(`Redirecting to "${this.serializeUrl(gr.guardsResult)}"`);throw Lo.url=gr.guardsResult,Lo}const gi=new dn(gr.id,this.serializeUrl(gr.extractedUrl),this.serializeUrl(gr.urlAfterRedirects),gr.targetSnapshot,!!gr.guardsResult);this.triggerEvent(gi)}),(0,se.h)(gr=>!!gr.guardsResult||(this.restoreHistory(gr),this.cancelNavigationTransition(gr,""),!1)),Io(gr=>{if(gr.guards.canActivateChecks.length)return(0,f.of)(gr).pipe((0,ce.b)(gi=>{const Lo=new rn(gi.id,this.serializeUrl(gi.extractedUrl),this.serializeUrl(gi.urlAfterRedirects),gi.targetSnapshot);this.triggerEvent(Lo)}),(0,q.w)(gi=>{let Lo=!1;return(0,f.of)(gi).pipe(function nd(Ze,Ae){return(0,Ce.zg)(ge=>{const{targetSnapshot:ht,guards:{canActivateChecks:Ot}}=ge;if(!Ot.length)return(0,f.of)(ge);let sn=0;return(0,a.D)(Ot).pipe((0,ie.b)(Un=>function Uu(Ze,Ae,ge,ht){return function Yu(Ze,Ae,ge,ht){const Ot=wu(Ze);if(0===Ot.length)return(0,f.of)({});const sn={};return(0,a.D)(Ot).pipe((0,Ce.zg)(Un=>function Ld(Ze,Ae,ge,ht){const Ot=al(Ze,Ae,ht);return Zn(Ot.resolve?Ot.resolve(Ae,ge):Ot(Ae,ge))}(Ze[Un],Ae,ge,ht).pipe((0,ce.b)(gr=>{sn[Un]=gr}))),(0,Be.h)(1),(0,Ce.zg)(()=>wu(sn).length===Ot.length?(0,f.of)(sn):w.E))}(Ze._resolve,Ze,Ae,ht).pipe((0,j.U)(sn=>(Ze._resolvedData=sn,Ze.data=Object.assign(Object.assign({},Ze.data),Go(Ze,ge).resolve),null)))}(Un.route,ht,Ze,Ae)),(0,ce.b)(()=>sn++),(0,Be.h)(1),(0,Ce.zg)(Un=>sn===Ot.length?(0,f.of)(ge):w.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,ce.b)({next:()=>Lo=!0,complete:()=>{Lo||(this.restoreHistory(gi),this.cancelNavigationTransition(gi,"At least one route resolver didn't emit any value."))}}))}),(0,ce.b)(gi=>{const Lo=new vt(gi.id,this.serializeUrl(gi.extractedUrl),this.serializeUrl(gi.urlAfterRedirects),gi.targetSnapshot);this.triggerEvent(Lo)}))}),Io(gr=>{const{targetSnapshot:gi,id:Lo,extractedUrl:Ta,rawUrl:ms,extras:{skipLocationChange:ha,replaceUrl:Ca}}=gr;return this.hooks.afterPreactivation(gi,{navigationId:Lo,appliedUrlTree:Ta,rawUrlTree:ms,skipLocationChange:!!ha,replaceUrl:!!Ca})}),(0,j.U)(gr=>{const gi=function $n(Ze,Ae,ge){const ht=Jr(Ze,Ae._root,ge?ge._root:void 0);return new ao(ht,Ae)}(this.routeReuseStrategy,gr.targetSnapshot,gr.currentRouterState);return Object.assign(Object.assign({},gr),{targetRouterState:gi})}),(0,ce.b)(gr=>{this.currentUrlTree=gr.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(gr.urlAfterRedirects,gr.rawUrl),this.routerState=gr.targetRouterState,"deferred"===this.urlUpdateStrategy&&(gr.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,gr),this.browserUrlTree=gr.urlAfterRedirects)}),((Ze,Ae,ge)=>(0,j.U)(ht=>(new To(Ae,ht.targetRouterState,ht.currentRouterState,ge).activate(Ze),ht)))(this.rootContexts,this.routeReuseStrategy,gr=>this.triggerEvent(gr)),(0,ce.b)({next(){sn=!0},complete(){sn=!0}}),(0,Xe.x)(()=>{var gr;sn||Un||this.cancelNavigationTransition(Ot,`Navigation ID ${Ot.id} is not equal to the current navigation id ${this.navigationId}`),(null===(gr=this.currentNavigation)||void 0===gr?void 0:gr.id)===Ot.id&&(this.currentNavigation=null)}),(0,ae.K)(gr=>{if(Un=!0,function _r(Ze){return Ze&&Ze[Hn]}(gr)){const gi=Ki(gr.url);gi||(this.navigated=!0,this.restoreHistory(Ot,!0));const Lo=new We(Ot.id,this.serializeUrl(Ot.extractedUrl),gr.message);ht.next(Lo),gi?setTimeout(()=>{const Ta=this.urlHandlingStrategy.merge(gr.url,this.rawUrlTree),ms={skipLocationChange:Ot.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Pr(Ot.source)};this.scheduleNavigation(Ta,"imperative",null,ms,{resolve:Ot.resolve,reject:Ot.reject,promise:Ot.promise})},0):Ot.resolve(!1)}else{this.restoreHistory(Ot,!0);const gi=new Qt(Ot.id,this.serializeUrl(Ot.extractedUrl),gr);ht.next(gi);try{Ot.resolve(this.errorHandler(gr))}catch(Lo){Ot.reject(Lo)}}return w.E}))}))}resetRootComponentType(ge){this.rootComponentType=ge,this.routerState.root.component=this.rootComponentType}setTransition(ge){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),ge))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(ge=>{const ht="popstate"===ge.type?"popstate":"hashchange";"popstate"===ht&&setTimeout(()=>{var Ot;const sn={replaceUrl:!0},Un=(null===(Ot=ge.state)||void 0===Ot?void 0:Ot.navigationId)?ge.state:null;if(Un){const gi=Object.assign({},Un);delete gi.navigationId,delete gi.\u0275routerPageId,0!==Object.keys(gi).length&&(sn.state=gi)}const gr=this.parseUrl(ge.url);this.scheduleNavigation(gr,ht,Un,sn)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(ge){this.events.next(ge)}resetConfig(ge){Fs(ge),this.config=ge.map(sl),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(ge,ht={}){const{relativeTo:Ot,queryParams:sn,fragment:Un,queryParamsHandling:gr,preserveFragment:gi}=ht,Lo=Ot||this.routerState.root,Ta=gi?this.currentUrlTree.fragment:Un;let ms=null;switch(gr){case"merge":ms=Object.assign(Object.assign({},this.currentUrlTree.queryParams),sn);break;case"preserve":ms=this.currentUrlTree.queryParams;break;default:ms=sn||null}return null!==ms&&(ms=this.removeEmptyProps(ms)),function Ro(Ze,Ae,ge,ht,Ot){if(0===ge.length)return es(Ae.root,Ae.root,Ae.root,ht,Ot);const sn=function fa(Ze){if("string"==typeof Ze[0]&&1===Ze.length&&"/"===Ze[0])return new ya(!0,0,Ze);let Ae=0,ge=!1;const ht=Ze.reduce((Ot,sn,Un)=>{if("object"==typeof sn&&null!=sn){if(sn.outlets){const gr={};return vn(sn.outlets,(gi,Lo)=>{gr[Lo]="string"==typeof gi?gi.split("/"):gi}),[...Ot,{outlets:gr}]}if(sn.segmentPath)return[...Ot,sn.segmentPath]}return"string"!=typeof sn?[...Ot,sn]:0===Un?(sn.split("/").forEach((gr,gi)=>{0==gi&&"."===gr||(0==gi&&""===gr?ge=!0:".."===gr?Ae++:""!=gr&&Ot.push(gr))}),Ot):[...Ot,sn]},[]);return new ya(ge,Ae,ht)}(ge);if(sn.toRoot())return es(Ae.root,Ae.root,new Le([],{}),ht,Ot);const Un=function Ra(Ze,Ae,ge){if(Ze.isAbsolute)return new sa(Ae.root,!0,0);if(-1===ge.snapshot._lastPathIndex){const sn=ge.snapshot._urlSegment;return new sa(sn,sn===Ae.root,0)}const ht=js(Ze.commands[0])?0:1;return function pl(Ze,Ae,ge){let ht=Ze,Ot=Ae,sn=ge;for(;sn>Ot;){if(sn-=Ot,ht=ht.parent,!ht)throw new Error("Invalid number of '../'");Ot=ht.segments.length}return new sa(ht,!1,Ot-sn)}(ge.snapshot._urlSegment,ge.snapshot._lastPathIndex+ht,Ze.numberOfDoubleDots)}(sn,Ae,Ze),gr=Un.processChildren?Wo(Un.segmentGroup,Un.index,sn.commands):yl(Un.segmentGroup,Un.index,sn.commands);return es(Ae.root,Un.segmentGroup,gr,ht,Ot)}(Lo,this.currentUrlTree,ge,ms,null!=Ta?Ta:null)}navigateByUrl(ge,ht={skipLocationChange:!1}){const Ot=Ki(ge)?ge:this.parseUrl(ge),sn=this.urlHandlingStrategy.merge(Ot,this.rawUrlTree);return this.scheduleNavigation(sn,"imperative",null,ht)}navigate(ge,ht={skipLocationChange:!1}){return function Vi(Ze){for(let Ae=0;Ae<Ze.length;Ae++){const ge=Ze[Ae];if(null==ge)throw new Error(`The requested path contains ${ge} segment at index ${Ae}`)}}(ge),this.navigateByUrl(this.createUrlTree(ge,ht),ht)}serializeUrl(ge){return this.urlSerializer.serialize(ge)}parseUrl(ge){let ht;try{ht=this.urlSerializer.parse(ge)}catch(Ot){ht=this.malformedUriErrorHandler(Ot,this.urlSerializer,ge)}return ht}isActive(ge,ht){let Ot;if(Ot=!0===ht?Object.assign({},ai):!1===ht?Object.assign({},Ei):ht,Ki(ge))return Gi(this.currentUrlTree,ge,Ot);const sn=this.parseUrl(ge);return Gi(this.currentUrlTree,sn,Ot)}removeEmptyProps(ge){return Object.keys(ge).reduce((ht,Ot)=>{const sn=ge[Ot];return null!=sn&&(ht[Ot]=sn),ht},{})}processNavigations(){this.navigations.subscribe(ge=>{this.navigated=!0,this.lastSuccessfulId=ge.id,this.currentPageId=ge.targetPageId,this.events.next(new Tt(ge.id,this.serializeUrl(ge.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,ge.resolve(!0)},ge=>{this.console.warn(`Unhandled Navigation Error: ${ge}`)})}scheduleNavigation(ge,ht,Ot,sn,Un){var gr,gi;if(this.disposed)return Promise.resolve(!1);let Lo,Ta,ms;Un?(Lo=Un.resolve,Ta=Un.reject,ms=Un.promise):ms=new Promise((Nu,cc)=>{Lo=Nu,Ta=cc});const ha=++this.navigationId;let Ca;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(Ot=this.location.getState()),Ca=Ot&&Ot.\u0275routerPageId?Ot.\u0275routerPageId:sn.replaceUrl||sn.skipLocationChange?null!==(gr=this.browserPageId)&&void 0!==gr?gr:0:(null!==(gi=this.browserPageId)&&void 0!==gi?gi:0)+1):Ca=0,this.setTransition({id:ha,targetPageId:Ca,source:ht,restoredState:Ot,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:ge,extras:sn,resolve:Lo,reject:Ta,promise:ms,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),ms.catch(Nu=>Promise.reject(Nu))}setBrowserUrl(ge,ht){const Ot=this.urlSerializer.serialize(ge),sn=Object.assign(Object.assign({},ht.extras.state),this.generateNgRouterState(ht.id,ht.targetPageId));this.location.isCurrentPathEqualTo(Ot)||ht.extras.replaceUrl?this.location.replaceState(Ot,"",sn):this.location.go(Ot,"",sn)}restoreHistory(ge,ht=!1){var Ot,sn;if("computed"===this.canceledNavigationResolution){const Un=this.currentPageId-ge.targetPageId;"popstate"!==ge.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(Ot=this.currentNavigation)||void 0===Ot?void 0:Ot.finalUrl)||0===Un?this.currentUrlTree===(null===(sn=this.currentNavigation)||void 0===sn?void 0:sn.finalUrl)&&0===Un&&(this.resetState(ge),this.browserUrlTree=ge.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(Un)}else"replace"===this.canceledNavigationResolution&&(ht&&this.resetState(ge),this.resetUrlToCurrentUrlTree())}resetState(ge){this.routerState=ge.currentRouterState,this.currentUrlTree=ge.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,ge.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(ge,ht){const Ot=new We(ge.id,this.serializeUrl(ge.extractedUrl),ht);this.triggerEvent(Ot),ge.resolve(!1)}generateNgRouterState(ge,ht){return"computed"===this.canceledNavigationResolution?{navigationId:ge,\u0275routerPageId:ht}:{navigationId:ge}}}return Ze.\u0275fac=function(ge){r.$Z()},Ze.\u0275prov=r.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})();function Pr(Ze){return"imperative"!==Ze}let Yn=(()=>{class Ze{constructor(ge,ht,Ot,sn,Un){this.router=ge,this.route=ht,this.tabIndexAttribute=Ot,this.renderer=sn,this.el=Un,this.commands=null,this.onChanges=new W.xQ,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(ge){if(null!=this.tabIndexAttribute)return;const ht=this.renderer,Ot=this.el.nativeElement;null!==ge?ht.setAttribute(Ot,"tabindex",ge):ht.removeAttribute(Ot,"tabindex")}ngOnChanges(ge){this.onChanges.next(this)}set routerLink(ge){null!=ge?(this.commands=Array.isArray(ge)?ge:[ge],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const ge={skipLocationChange:br(this.skipLocationChange),replaceUrl:br(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,ge),!0}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:br(this.preserveFragment)})}}return Ze.\u0275fac=function(ge){return new(ge||Ze)(r.Y36(Ci),r.Y36(mo),r.$8M("tabindex"),r.Y36(r.Qsj),r.Y36(r.SBq))},Ze.\u0275dir=r.lG2({type:Ze,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(ge,ht){1&ge&&r.NdJ("click",function(){return ht.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[r.TTD]}),Ze})(),Rr=(()=>{class Ze{constructor(ge,ht,Ot){this.router=ge,this.route=ht,this.locationStrategy=Ot,this.commands=null,this.href=null,this.onChanges=new W.xQ,this.subscription=ge.events.subscribe(sn=>{sn instanceof Tt&&this.updateTargetUrlAndHref()})}set routerLink(ge){this.commands=null!=ge?Array.isArray(ge)?ge:[ge]:null}ngOnChanges(ge){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(ge,ht,Ot,sn,Un){if(0!==ge||ht||Ot||sn||Un||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const gr={skipLocationChange:br(this.skipLocationChange),replaceUrl:br(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,gr),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:br(this.preserveFragment)})}}return Ze.\u0275fac=function(ge){return new(ge||Ze)(r.Y36(Ci),r.Y36(mo),r.Y36(Pe.S$))},Ze.\u0275dir=r.lG2({type:Ze,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(ge,ht){1&ge&&r.NdJ("click",function(sn){return ht.onClick(sn.button,sn.ctrlKey,sn.shiftKey,sn.altKey,sn.metaKey)}),2&ge&&r.uIk("target",ht.target)("href",ht.href,r.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[r.TTD]}),Ze})();function br(Ze){return""===Ze||!!Ze}let fo=(()=>{class Ze{constructor(ge,ht,Ot,sn,Un,gr){this.router=ge,this.element=ht,this.renderer=Ot,this.cdr=sn,this.link=Un,this.linkWithHref=gr,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new r.vpe,this.routerEventsSubscription=ge.events.subscribe(gi=>{gi instanceof Tt&&this.update()})}ngAfterContentInit(){(0,f.of)(this.links.changes,this.linksWithHrefs.changes,(0,f.of)(null)).pipe((0,He.J)()).subscribe(ge=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var ge;null===(ge=this.linkInputChangesSubscription)||void 0===ge||ge.unsubscribe();const ht=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(Ot=>!!Ot).map(Ot=>Ot.onChanges);this.linkInputChangesSubscription=(0,a.D)(ht).pipe((0,He.J)()).subscribe(Ot=>{this.isActive!==this.isLinkActive(this.router)(Ot)&&this.update()})}set routerLinkActive(ge){const ht=Array.isArray(ge)?ge:ge.split(" ");this.classes=ht.filter(Ot=>!!Ot)}ngOnChanges(ge){this.update()}ngOnDestroy(){var ge;this.routerEventsSubscription.unsubscribe(),null===(ge=this.linkInputChangesSubscription)||void 0===ge||ge.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const ge=this.hasActiveLinks();this.isActive!==ge&&(this.isActive=ge,this.cdr.markForCheck(),this.classes.forEach(ht=>{ge?this.renderer.addClass(this.element.nativeElement,ht):this.renderer.removeClass(this.element.nativeElement,ht)}),this.isActiveChange.emit(ge))})}isLinkActive(ge){const ht=function $s(Ze){return!!Ze.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return Ot=>!!Ot.urlTree&&ge.isActive(Ot.urlTree,ht)}hasActiveLinks(){const ge=this.isLinkActive(this.router);return this.link&&ge(this.link)||this.linkWithHref&&ge(this.linkWithHref)||this.links.some(ge)||this.linksWithHrefs.some(ge)}}return Ze.\u0275fac=function(ge){return new(ge||Ze)(r.Y36(Ci),r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(r.sBO),r.Y36(Yn,8),r.Y36(Rr,8))},Ze.\u0275dir=r.lG2({type:Ze,selectors:[["","routerLinkActive",""]],contentQueries:function(ge,ht,Ot){if(1&ge&&(r.Suo(Ot,Yn,5),r.Suo(Ot,Rr,5)),2&ge){let sn;r.iGM(sn=r.CRH())&&(ht.links=sn),r.iGM(sn=r.CRH())&&(ht.linksWithHrefs=sn)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[r.TTD]}),Ze})();class ls{}class _l{preload(Ae,ge){return ge().pipe((0,ae.K)(()=>(0,f.of)(null)))}}class Us{preload(Ae,ge){return(0,f.of)(null)}}let Zc=(()=>{class Ze{constructor(ge,ht,Ot,sn){this.router=ge,this.injector=Ot,this.preloadingStrategy=sn,this.loader=new ct(Ot,ht,gi=>ge.triggerEvent(new xt(gi)),gi=>ge.triggerEvent(new Ct(gi)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,se.h)(ge=>ge instanceof Tt),(0,ie.b)(()=>this.preload())).subscribe(()=>{})}preload(){const ge=this.injector.get(r.h0i);return this.processRoutes(ge,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(ge,ht){const Ot=[];for(const sn of ht)if(sn.loadChildren&&!sn.canLoad&&sn._loadedConfig){const Un=sn._loadedConfig;Ot.push(this.processRoutes(Un.module,Un.routes))}else sn.loadChildren&&!sn.canLoad?Ot.push(this.preloadConfig(ge,sn)):sn.children&&Ot.push(this.processRoutes(ge,sn.children));return(0,a.D)(Ot).pipe((0,He.J)(),(0,j.U)(sn=>{}))}preloadConfig(ge,ht){return this.preloadingStrategy.preload(ht,()=>(ht._loadedConfig?(0,f.of)(ht._loadedConfig):this.loader.load(ge.injector,ht)).pipe((0,Ce.zg)(sn=>(ht._loadedConfig=sn,this.processRoutes(sn.module,sn.routes)))))}}return Ze.\u0275fac=function(ge){return new(ge||Ze)(r.LFG(Ci),r.LFG(r.Sil),r.LFG(r.zs3),r.LFG(ls))},Ze.\u0275prov=r.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})(),Ic=(()=>{class Ze{constructor(ge,ht,Ot={}){this.router=ge,this.viewportScroller=ht,this.options=Ot,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},Ot.scrollPositionRestoration=Ot.scrollPositionRestoration||"disabled",Ot.anchorScrolling=Ot.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(ge=>{ge instanceof Oe?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=ge.navigationTrigger,this.restoredId=ge.restoredState?ge.restoredState.navigationId:0):ge instanceof Tt&&(this.lastId=ge.id,this.scheduleScrollEvent(ge,this.router.parseUrl(ge.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(ge=>{ge instanceof ci&&(ge.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(ge.position):ge.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(ge.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(ge,ht){this.router.triggerEvent(new ci(ge,"popstate"===this.lastSource?this.store[this.restoredId]:null,ht))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return Ze.\u0275fac=function(ge){r.$Z()},Ze.\u0275prov=r.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})();const Su=new r.OlP("ROUTER_CONFIGURATION"),Zd=new r.OlP("ROUTER_FORROOT_GUARD"),_d=[Pe.Ye,{provide:nn,useClass:Fe},{provide:Ci,useFactory:function wo(Ze,Ae,ge,ht,Ot,sn,Un={},gr,gi){const Lo=new Ci(null,Ze,Ae,ge,ht,Ot,xo(sn));return gr&&(Lo.urlHandlingStrategy=gr),gi&&(Lo.routeReuseStrategy=gi),function Sa(Ze,Ae){Ze.errorHandler&&(Ae.errorHandler=Ze.errorHandler),Ze.malformedUriErrorHandler&&(Ae.malformedUriErrorHandler=Ze.malformedUriErrorHandler),Ze.onSameUrlNavigation&&(Ae.onSameUrlNavigation=Ze.onSameUrlNavigation),Ze.paramsInheritanceStrategy&&(Ae.paramsInheritanceStrategy=Ze.paramsInheritanceStrategy),Ze.relativeLinkResolution&&(Ae.relativeLinkResolution=Ze.relativeLinkResolution),Ze.urlUpdateStrategy&&(Ae.urlUpdateStrategy=Ze.urlUpdateStrategy),Ze.canceledNavigationResolution&&(Ae.canceledNavigationResolution=Ze.canceledNavigationResolution)}(Un,Lo),Un.enableTracing&&Lo.events.subscribe(Ta=>{var ms,ha;null===(ms=console.group)||void 0===ms||ms.call(console,`Router Event: ${Ta.constructor.name}`),console.log(Ta.toString()),console.log(Ta),null===(ha=console.groupEnd)||void 0===ha||ha.call(console)}),Lo},deps:[nn,Oi,Pe.Ye,r.zs3,r.Sil,De,Su,[class It{},new r.FiY],[class fu{},new r.FiY]]},Oi,{provide:mo,useFactory:function Tl(Ze){return Ze.routerState.root},deps:[Ci]},Zc,Us,_l,{provide:Su,useValue:{enableTracing:!1}}];function md(){return new r.PXZ("Router",Ci)}let Hc=(()=>{class Ze{constructor(ge,ht){}static forRoot(ge,ht){return{ngModule:Ze,providers:[_d,Mo(ge),{provide:Zd,useFactory:Oc,deps:[[Ci,new r.FiY,new r.tp0]]},{provide:Su,useValue:ht||{}},{provide:Pe.S$,useFactory:kd,deps:[Pe.lw,[new r.tBr(Pe.mr),new r.FiY],Su]},{provide:Ic,useFactory:La,deps:[Ci,Pe.EM,Su]},{provide:ls,useExisting:ht&&ht.preloadingStrategy?ht.preloadingStrategy:Us},{provide:r.PXZ,multi:!0,useFactory:md},[ou,{provide:r.ip1,multi:!0,useFactory:Tu,deps:[ou]},{provide:En,useFactory:gc,deps:[ou]},{provide:r.tb,multi:!0,useExisting:En}]]}}static forChild(ge){return{ngModule:Ze,providers:[Mo(ge)]}}}return Ze.\u0275fac=function(ge){return new(ge||Ze)(r.LFG(Zd,8),r.LFG(Ci,8))},Ze.\u0275mod=r.oAB({type:Ze}),Ze.\u0275inj=r.cJS({}),Ze})();function La(Ze,Ae,ge){return ge.scrollOffset&&Ae.setOffset(ge.scrollOffset),new Ic(Ze,Ae,ge)}function kd(Ze,Ae,ge={}){return ge.useHash?new Pe.Do(Ze,Ae):new Pe.b0(Ze,Ae)}function Oc(Ze){return"guarded"}function Mo(Ze){return[{provide:r.deG,multi:!0,useValue:Ze},{provide:De,multi:!0,useValue:Ze}]}let ou=(()=>{class Ze{constructor(ge){this.injector=ge,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new W.xQ}appInitializer(){return this.injector.get(Pe.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let ht=null;const Ot=new Promise(gr=>ht=gr),sn=this.injector.get(Ci),Un=this.injector.get(Su);return"disabled"===Un.initialNavigation?(sn.setUpLocationChangeListener(),ht(!0)):"enabled"===Un.initialNavigation||"enabledBlocking"===Un.initialNavigation?(sn.hooks.afterPreactivation=()=>this.initNavigation?(0,f.of)(null):(this.initNavigation=!0,ht(!0),this.resultOfPreactivationDone),sn.initialNavigation()):ht(!0),Ot})}bootstrapListener(ge){const ht=this.injector.get(Su),Ot=this.injector.get(Zc),sn=this.injector.get(Ic),Un=this.injector.get(Ci),gr=this.injector.get(r.z2F);ge===gr.components[0]&&(("enabledNonBlocking"===ht.initialNavigation||void 0===ht.initialNavigation)&&Un.initialNavigation(),Ot.setUpPreloading(),sn.init(),Un.resetRootComponentType(gr.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return Ze.\u0275fac=function(ge){return new(ge||Ze)(r.LFG(r.zs3))},Ze.\u0275prov=r.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})();function Tu(Ze){return Ze.appInitializer.bind(Ze)}function gc(Ze){return Ze.bootstrapListener.bind(Ze)}const En=new r.OlP("Router Initializer")},71334:(v,b,i)=>{"use strict";i.d(b,{Kz:()=>Sp,xm:()=>Gu,_A:()=>ul,vL:()=>Zu,_D:()=>od,lQ:()=>rc,VL:()=>xe,M:()=>Td,jt:()=>bp,TH:()=>Wh,Vi:()=>Cd,XC:()=>ac,iD:()=>Jh,J4:()=>wt,FF:()=>Kh,Pz:()=>Cp,uN:()=>Wf,nv:()=>vh,Vx:()=>Cf,Oz:()=>Ts,tO:()=>wc,M2:()=>zh,o8:()=>nf,AX:()=>kf,dT:()=>rf,Ly:()=>n_,ZQ:()=>ud,Pm:()=>Ap,UL:()=>Zp,_L:()=>b_,xI:()=>E_,HK:()=>$f,dR:()=>Rp,ZS:()=>o_});var r=i(89724),a=i(11048),f=i(70882),u=i(59193),e=i(25917),p=i(79765),g=i(22759),T=i(46797),M=i(59796),w=i(56693),R=i(55197),U=i(53960);function W(...I){if(1===I.length){if(!(0,M.k)(I[0]))return I[0];I=I[0]}return(0,w.n)(I,void 0).lift(new j)}class j{call(ne,S){return S.subscribe(new q(ne))}}class q extends R.L{constructor(ne){super(ne),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(ne){this.observables.push(ne)}_complete(){const ne=this.observables,S=ne.length;if(0===S)this.destination.complete();else{for(let z=0;z<S&&!this.hasFirst;z++){const Ke=(0,U.D)(this,ne[z],void 0,z);this.subscriptions&&this.subscriptions.push(Ke),this.add(Ke)}this.observables=null}}notifyNext(ne,S,z){if(!this.hasFirst){this.hasFirst=!0;for(let Me=0;Me<this.subscriptions.length;Me++)if(Me!==z){let Ke=this.subscriptions[Me];Ke.unsubscribe(),this.remove(Ke)}this.subscriptions=null}this.destination.next(S)}}var ue=i(26215),se=(i(9112),i(17757),i(77393)),ae=i(20377),ie=i(85345);function fe(...I){const ne=I[I.length-1];return"function"==typeof ne&&I.pop(),(0,w.n)(I,void 0).lift(new _e(ne))}class _e{constructor(ne){this.resultSelector=ne}call(ne,S){return S.subscribe(new Ce(ne,this.resultSelector))}}class Ce extends se.L{constructor(ne,S,z=Object.create(null)){super(ne),this.resultSelector=S,this.iterators=[],this.active=0,this.resultSelector="function"==typeof S?S:void 0}_next(ne){const S=this.iterators;(0,M.k)(ne)?S.push(new Be(ne)):S.push("function"==typeof ne[ae.hZ]?new ce(ne[ae.hZ]()):new Ve(this.destination,this,ne))}_complete(){const ne=this.iterators,S=ne.length;if(this.unsubscribe(),0!==S){this.active=S;for(let z=0;z<S;z++){let Me=ne[z];Me.stillUnsubscribed?this.destination.add(Me.subscribe()):this.active--}}else this.destination.complete()}notifyInactive(){this.active--,0===this.active&&this.destination.complete()}checkIterators(){const ne=this.iterators,S=ne.length,z=this.destination;for(let gn=0;gn<S;gn++){let yr=ne[gn];if("function"==typeof yr.hasValue&&!yr.hasValue())return}let Me=!1;const Ke=[];for(let gn=0;gn<S;gn++){let yr=ne[gn],Nr=yr.next();if(yr.hasCompleted()&&(Me=!0),Nr.done)return void z.complete();Ke.push(Nr.value)}this.resultSelector?this._tryresultSelector(Ke):z.next(Ke),Me&&z.complete()}_tryresultSelector(ne){let S;try{S=this.resultSelector.apply(this,ne)}catch(z){return void this.destination.error(z)}this.destination.next(S)}}class ce{constructor(ne){this.iterator=ne,this.nextResult=ne.next()}hasValue(){return!0}next(){const ne=this.nextResult;return this.nextResult=this.iterator.next(),ne}hasCompleted(){const ne=this.nextResult;return Boolean(ne&&ne.done)}}class Be{constructor(ne){this.array=ne,this.index=0,this.length=0,this.length=ne.length}[ae.hZ](){return this}next(ne){const S=this.index++;return S<this.length?{value:this.array[S],done:!1}:{value:null,done:!0}}hasValue(){return this.array.length>this.index}hasCompleted(){return this.array.length===this.index}}class Ve extends ie.Ds{constructor(ne,S,z){super(ne),this.parent=S,this.observable=z,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}[ae.hZ](){return this}next(){const ne=this.buffer;return 0===ne.length&&this.isComplete?{value:null,done:!0}:{value:ne.shift(),done:!1}}hasValue(){return this.buffer.length>0}hasCompleted(){return 0===this.buffer.length&&this.isComplete}notifyComplete(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}notifyNext(ne){this.buffer.push(ne),this.parent.checkIterators()}subscribe(){return(0,ie.ft)(this.observable,new ie.IY(this))}}var Xe=i(66682),He=i(6481),Ge=i(46782),Oe=i(45435),Tt=i(15257),We=i(88002),Qt=i(39761),Nt=i(87519),Yt=i(43190),dn=i(68307);function rn(...I){return ne=>{let S;return"function"==typeof I[I.length-1]&&(S=I.pop()),ne.lift(new vt(I,S))}}class vt{constructor(ne,S){this.observables=ne,this.project=S}call(ne,S){return S.subscribe(new xt(ne,this.observables,this.project))}}class xt extends R.L{constructor(ne,S,z){super(ne),this.observables=S,this.project=z,this.toRespond=[];const Me=S.length;this.values=new Array(Me);for(let Ke=0;Ke<Me;Ke++)this.toRespond.push(Ke);for(let Ke=0;Ke<Me;Ke++)this.add((0,U.D)(this,S[Ke],void 0,Ke))}notifyNext(ne,S,z){this.values[z]=S;const Me=this.toRespond;if(Me.length>0){const Ke=Me.indexOf(z);-1!==Ke&&Me.splice(Ke,1)}}notifyComplete(){}_next(ne){if(0===this.toRespond.length){const S=[ne,...this.values];this.project?this._tryProject(S):this.destination.next(S)}}_tryProject(ne){let S;try{S=this.project.apply(this,ne)}catch(z){return void this.destination.error(z)}this.destination.next(S)}}var Ct=i(67460),Gt=i(19773);class pr{constructor(ne){this.total=ne}call(ne,S){return S.subscribe(new mi(ne,this.total))}}class mi extends se.L{constructor(ne,S){super(ne),this.total=S,this.count=0}_next(ne){++this.count>this.total&&this.destination.next(ne)}}var ci=i(4121),hr=i(1659),Br={left:"right",right:"left",bottom:"top",top:"bottom"};function Ur(I){return I.replace(/left|right|bottom|top/g,function(ne){return Br[ne]})}function Hn(I){return I.split("-")[0]}var er={start:"end",end:"start"};function _r(I){return I.replace(/start|end/g,function(ne){return er[ne]})}var ei="top",bi="bottom",fi="right",no="left",xo="auto",Er=[ei,bi,fi,no],an="start",vn="end",Xn="viewport",zn="popper",Gi=Er.reduce(function(I,ne){return I.concat([ne+"-"+an,ne+"-"+vn])},[]),ui=[].concat(Er,[xo]).reduce(function(I,ne){return I.concat([ne,ne+"-"+an,ne+"-"+vn])},[]),dt=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function st(I){if(null==I)return window;if("[object Window]"!==I.toString()){var ne=I.ownerDocument;return ne&&ne.defaultView||window}return I}function nn(I){return I instanceof st(I).Element||I instanceof Element}function Fe(I){return I instanceof st(I).HTMLElement||I instanceof HTMLElement}function Lr(I){return"undefined"!=typeof ShadowRoot&&(I instanceof st(I).ShadowRoot||I instanceof ShadowRoot)}function ti(I){return((nn(I)?I.ownerDocument:I.document)||window.document).documentElement}function Ut(I,ne){void 0===ne&&(ne=!1);var S=I.getBoundingClientRect();return{width:S.width/1,height:S.height/1,top:S.top/1,right:S.right/1,bottom:S.bottom/1,left:S.left/1,x:S.left/1,y:S.top/1}}function Dn(I){var ne=st(I);return{scrollLeft:ne.pageXOffset,scrollTop:ne.pageYOffset}}function Et(I){return Ut(ti(I)).left+Dn(I).scrollLeft}function _t(I){return st(I).getComputedStyle(I)}var yt=Math.max,Vt=Math.min,yn=Math.round;function xi(I){return I?(I.nodeName||"").toLowerCase():null}function yi(I){return"html"===xi(I)?I:I.assignedSlot||I.parentNode||(Lr(I)?I.host:null)||ti(I)}function Uo(I){var ne=_t(I);return/auto|scroll|overlay|hidden/.test(ne.overflow+ne.overflowY+ne.overflowX)}function Qo(I){return["html","body","#document"].indexOf(xi(I))>=0?I.ownerDocument.body:Fe(I)&&Uo(I)?I:Qo(yi(I))}function lo(I,ne){var S;void 0===ne&&(ne=[]);var z=Qo(I),Me=z===(null==(S=I.ownerDocument)?void 0:S.body),Ke=st(z),gn=Me?[Ke].concat(Ke.visualViewport||[],Uo(z)?z:[]):z,yr=ne.concat(gn);return Me?yr:yr.concat(lo(yi(gn)))}function Ri(I){return["table","td","th"].indexOf(xi(I))>=0}function ko(I){return Fe(I)&&"fixed"!==_t(I).position?I.offsetParent:null}function ir(I){for(var ne=st(I),S=ko(I);S&&Ri(S)&&"static"===_t(S).position;)S=ko(S);return S&&("html"===xi(S)||"body"===xi(S)&&"static"===_t(S).position)?ne:S||function Xo(I){var ne=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&Fe(I)&&"fixed"===_t(I).position)return null;for(var Me=yi(I);Fe(Me)&&["html","body"].indexOf(xi(Me))<0;){var Ke=_t(Me);if("none"!==Ke.transform||"none"!==Ke.perspective||"paint"===Ke.contain||-1!==["transform","perspective"].indexOf(Ke.willChange)||ne&&"filter"===Ke.willChange||ne&&Ke.filter&&"none"!==Ke.filter)return Me;Me=Me.parentNode}return null}(I)||ne}function si(I,ne){var S=ne.getRootNode&&ne.getRootNode();if(I.contains(ne))return!0;if(S&&Lr(S)){var z=ne;do{if(z&&I.isSameNode(z))return!0;z=z.parentNode||z.host}while(z)}return!1}function kn(I){return Object.assign({},I,{left:I.x,top:I.y,right:I.x+I.width,bottom:I.y+I.height})}function jr(I,ne){return ne===Xn?kn(function $t(I){var ne=st(I),S=ti(I),z=ne.visualViewport,Me=S.clientWidth,Ke=S.clientHeight,gn=0,yr=0;return z&&(Me=z.width,Ke=z.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(gn=z.offsetLeft,yr=z.offsetTop)),{width:Me,height:Ke,x:gn+Et(I),y:yr}}(I)):Fe(ne)?function nr(I){var ne=Ut(I);return ne.top=ne.top+I.clientTop,ne.left=ne.left+I.clientLeft,ne.bottom=ne.top+I.clientHeight,ne.right=ne.left+I.clientWidth,ne.width=I.clientWidth,ne.height=I.clientHeight,ne.x=ne.left,ne.y=ne.top,ne}(ne):kn(function Cr(I){var ne,S=ti(I),z=Dn(I),Me=null==(ne=I.ownerDocument)?void 0:ne.body,Ke=yt(S.scrollWidth,S.clientWidth,Me?Me.scrollWidth:0,Me?Me.clientWidth:0),gn=yt(S.scrollHeight,S.clientHeight,Me?Me.scrollHeight:0,Me?Me.clientHeight:0),yr=-z.scrollLeft+Et(I),Nr=-z.scrollTop;return"rtl"===_t(Me||S).direction&&(yr+=yt(S.clientWidth,Me?Me.clientWidth:0)-Ke),{width:Ke,height:gn,x:yr,y:Nr}}(ti(I)))}function Eo(I){return I.split("-")[1]}function mo(I){return["top","bottom"].indexOf(I)>=0?"x":"y"}function Go(I){var Nr,ne=I.reference,S=I.element,z=I.placement,Me=z?Hn(z):null,Ke=z?Eo(z):null,gn=ne.x+ne.width/2-S.width/2,yr=ne.y+ne.height/2-S.height/2;switch(Me){case ei:Nr={x:gn,y:ne.y-S.height};break;case bi:Nr={x:gn,y:ne.y+ne.height};break;case fi:Nr={x:ne.x+ne.width,y:yr};break;case no:Nr={x:ne.x-S.width,y:yr};break;default:Nr={x:ne.x,y:ne.y}}var vi=Me?mo(Me):null;if(null!=vi){var di="y"===vi?"height":"width";switch(Ke){case an:Nr[vi]=Nr[vi]-(ne[di]/2-S[di]/2);break;case vn:Nr[vi]=Nr[vi]+(ne[di]/2-S[di]/2)}}return Nr}function or(I){return Object.assign({},{top:0,right:0,bottom:0,left:0},I)}function Mr(I,ne){return ne.reduce(function(S,z){return S[z]=I,S},{})}function Or(I,ne){void 0===ne&&(ne={});var z=ne.placement,Me=void 0===z?I.placement:z,Ke=ne.boundary,gn=void 0===Ke?"clippingParents":Ke,yr=ne.rootBoundary,Nr=void 0===yr?Xn:yr,vi=ne.elementContext,di=void 0===vi?zn:vi,ts=ne.altBoundary,Do=void 0!==ts&&ts,Ss=ne.padding,Yo=void 0===Ss?0:Ss,ia=or("number"!=typeof Yo?Yo:Mr(Yo,Er)),D=I.rects.popper,Y=I.elements[Do?di===zn?"reference":zn:di],Ee=function $i(I,ne,S){var z="clippingParents"===ne?function ao(I){var ne=lo(yi(I)),z=["absolute","fixed"].indexOf(_t(I).position)>=0&&Fe(I)?ir(I):I;return nn(z)?ne.filter(function(Me){return nn(Me)&&si(Me,z)&&"body"!==xi(Me)}):[]}(I):[].concat(ne),Me=[].concat(z,[S]),gn=Me.reduce(function(yr,Nr){var vi=jr(I,Nr);return yr.top=yt(vi.top,yr.top),yr.right=Vt(vi.right,yr.right),yr.bottom=Vt(vi.bottom,yr.bottom),yr.left=yt(vi.left,yr.left),yr},jr(I,Me[0]));return gn.width=gn.right-gn.left,gn.height=gn.bottom-gn.top,gn.x=gn.left,gn.y=gn.top,gn}(nn(Y)?Y:Y.contextElement||ti(I.elements.popper),gn,Nr),ze=Ut(I.elements.reference),At=Go({reference:ze,element:D,strategy:"absolute",placement:Me}),tn=kn(Object.assign({},D,At)),Tn=di===zn?tn:ze,ar={top:Ee.top-Tn.top+ia.top,bottom:Tn.bottom-Ee.bottom+ia.bottom,left:Ee.left-Tn.left+ia.left,right:Tn.right-Ee.right+ia.right},li=I.modifiersData.offset;if(di===zn&&li){var Ho=li[Me];Object.keys(ar).forEach(function(Hs){var po=[fi,bi].indexOf(Hs)>=0?1:-1,fs=[ei,bi].indexOf(Hs)>=0?"y":"x";ar[Hs]+=Ho[fs]*po})}return ar}const $n={name:"flip",enabled:!0,phase:"main",fn:function Sn(I){var ne=I.state,S=I.options,z=I.name;if(!ne.modifiersData[z]._skip){for(var Me=S.mainAxis,Ke=void 0===Me||Me,gn=S.altAxis,yr=void 0===gn||gn,Nr=S.fallbackPlacements,vi=S.padding,di=S.boundary,ts=S.rootBoundary,Do=S.altBoundary,Ss=S.flipVariations,Yo=void 0===Ss||Ss,ia=S.allowedAutoPlacements,y=ne.options.placement,D=Hn(y),Ee=Nr||(D!==y&&Yo?function pi(I){if(Hn(I)===xo)return[];var ne=Ur(I);return[_r(I),ne,_r(ne)]}(y):[Ur(y)]),ze=[y].concat(Ee).reduce(function(Za,va){return Za.concat(Hn(va)===xo?function cr(I,ne){void 0===ne&&(ne={});var Me=ne.boundary,Ke=ne.rootBoundary,gn=ne.padding,yr=ne.flipVariations,Nr=ne.allowedAutoPlacements,vi=void 0===Nr?ui:Nr,di=Eo(ne.placement),ts=di?yr?Gi:Gi.filter(function(Yo){return Eo(Yo)===di}):Er,Do=ts.filter(function(Yo){return vi.indexOf(Yo)>=0});0===Do.length&&(Do=ts);var Ss=Do.reduce(function(Yo,ia){return Yo[ia]=Or(I,{placement:ia,boundary:Me,rootBoundary:Ke,padding:gn})[Hn(ia)],Yo},{});return Object.keys(Ss).sort(function(Yo,ia){return Ss[Yo]-Ss[ia]})}(ne,{placement:va,boundary:di,rootBoundary:ts,padding:vi,flipVariations:Yo,allowedAutoPlacements:ia}):va)},[]),At=ne.rects.reference,tn=ne.rects.popper,Tn=new Map,ar=!0,li=ze[0],Ho=0;Ho<ze.length;Ho++){var Hs=ze[Ho],po=Hn(Hs),fs=Eo(Hs)===an,oa=[ei,bi].indexOf(po)>=0,Xs=oa?"width":"height",Qr=Or(ne,{placement:Hs,boundary:di,rootBoundary:ts,altBoundary:Do,padding:vi}),Fr=oa?fs?fi:no:fs?bi:ei;At[Xs]>tn[Xs]&&(Fr=Ur(Fr));var Zr=Ur(Fr),Hi=[];if(Ke&&Hi.push(Qr[po]<=0),yr&&Hi.push(Qr[Fr]<=0,Qr[Zr]<=0),Hi.every(function(Za){return Za})){li=Hs,ar=!1;break}Tn.set(Hs,Hi)}if(ar)for(var Ha=function(va){var Hf=ze.find(function(im){var s_=Tn.get(im);if(s_)return s_.slice(0,va).every(function(om){return om})});if(Hf)return li=Hf,"break"},vs=Yo?3:1;vs>0&&"break"!==Ha(vs);vs--);ne.placement!==li&&(ne.modifiersData[z]._skip=!0,ne.placement=li,ne.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ro(I,ne,S){return yt(I,Vt(ne,S))}function go(I){var ne=Ut(I),S=I.offsetWidth,z=I.offsetHeight;return Math.abs(ne.width-S)<=1&&(S=ne.width),Math.abs(ne.height-z)<=1&&(z=ne.height),{x:I.offsetLeft,y:I.offsetTop,width:S,height:z}}const js={name:"preventOverflow",enabled:!0,phase:"main",fn:function Ro(I){var ne=I.state,S=I.options,z=I.name,Me=S.mainAxis,Ke=void 0===Me||Me,gn=S.altAxis,yr=void 0!==gn&&gn,Do=S.tether,Ss=void 0===Do||Do,Yo=S.tetherOffset,ia=void 0===Yo?0:Yo,y=Or(ne,{boundary:S.boundary,rootBoundary:S.rootBoundary,padding:S.padding,altBoundary:S.altBoundary}),D=Hn(ne.placement),Y=Eo(ne.placement),Ee=!Y,ze=mo(D),At=function Jr(I){return"x"===I?"y":"x"}(ze),tn=ne.modifiersData.popperOffsets,Tn=ne.rects.reference,ar=ne.rects.popper,li="function"==typeof ia?ia(Object.assign({},ne.rects,{placement:ne.placement})):ia,Ho={x:0,y:0};if(tn){if(Ke||yr){var Hs="y"===ze?ei:no,po="y"===ze?bi:fi,fs="y"===ze?"height":"width",oa=tn[ze],Xs=tn[ze]+y[Hs],Qr=tn[ze]-y[po],Fr=Ss?-ar[fs]/2:0,Zr=Y===an?Tn[fs]:ar[fs],Hi=Y===an?-ar[fs]:-Tn[fs],io=ne.elements.arrow,Ha=Ss&&io?go(io):{width:0,height:0},vs=ne.modifiersData["arrow#persistent"]?ne.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Pa=vs[Hs],Za=vs[po],va=ro(0,Tn[fs],Ha[fs]),Hf=Ee?Tn[fs]/2-Fr-va-Pa-li:Zr-va-Pa-li,im=Ee?-Tn[fs]/2+Fr+va+Za+li:Hi+va+Za+li,s_=ne.elements.arrow&&ir(ne.elements.arrow),Jm=ne.modifiersData.offset?ne.modifiersData.offset[ne.placement][ze]:0,sm=tn[ze]+Hf-Jm-(s_?"y"===ze?s_.clientTop||0:s_.clientLeft||0:0),yg=tn[ze]+im-Jm;if(Ke){var Eg=ro(Ss?Vt(Xs,sm):Xs,oa,Ss?yt(Qr,yg):Qr);tn[ze]=Eg,Ho[ze]=Eg-oa}if(yr){var Tm=tn[At],Of=Tm+y["x"===ze?ei:no],Qm=Tm-y["x"===ze?bi:fi],Xm=ro(Ss?Vt(Of,sm):Of,Tm,Ss?yt(Qm,yg):Qm);tn[At]=Xm,Ho[At]=Xm-Tm}}ne.modifiersData[z]=Ho}},requiresIfExists:["offset"]},ya={name:"arrow",enabled:!0,phase:"main",fn:function es(I){var ne,S=I.state,z=I.name,Me=I.options,Ke=S.elements.arrow,gn=S.modifiersData.popperOffsets,yr=Hn(S.placement),Nr=mo(yr),di=[no,fi].indexOf(yr)>=0?"height":"width";if(Ke&&gn){var ts=function(ne,S){return or("number"!=typeof(ne="function"==typeof ne?ne(Object.assign({},S.rects,{placement:S.placement})):ne)?ne:Mr(ne,Er))}(Me.padding,S),Do=go(Ke),Ss="y"===Nr?ei:no,Yo="y"===Nr?bi:fi,ia=S.rects.reference[di]+S.rects.reference[Nr]-gn[Nr]-S.rects.popper[di],y=gn[Nr]-S.rects.reference[Nr],D=ir(Ke),Y=D?"y"===Nr?D.clientHeight||0:D.clientWidth||0:0,tn=Y/2-Do[di]/2+(ia/2-y/2),Tn=ro(ts[Ss],tn,Y-Do[di]-ts[Yo]);S.modifiersData[z]=((ne={})[Nr]=Tn,ne.centerOffset=Tn-tn,ne)}},effect:function ma(I){var ne=I.state,z=I.options.element,Me=void 0===z?"[data-popper-arrow]":z;null!=Me&&("string"==typeof Me&&!(Me=ne.elements.popper.querySelector(Me))||!si(ne.elements.popper,Me)||(ne.elements.arrow=Me))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function pl(I,ne,S){void 0===S&&(S=!1);var z=Fe(ne),Me=Fe(ne)&&function Ra(I){var ne=I.getBoundingClientRect();return 1!==(ne.width/I.offsetWidth||1)||1!==(ne.height/I.offsetHeight||1)}(ne),Ke=ti(ne),gn=Ut(I,Me),yr={scrollLeft:0,scrollTop:0},Nr={x:0,y:0};return(z||!z&&!S)&&(("body"!==xi(ne)||Uo(Ke))&&(yr=function sa(I){return I!==st(I)&&Fe(I)?function fa(I){return{scrollLeft:I.scrollLeft,scrollTop:I.scrollTop}}(I):Dn(I)}(ne)),Fe(ne)?((Nr=Ut(ne,!0)).x+=ne.clientLeft,Nr.y+=ne.clientTop):Ke&&(Nr.x=Et(Ke))),{x:gn.left+yr.scrollLeft-Nr.x,y:gn.top+yr.scrollTop-Nr.y,width:gn.width,height:gn.height}}function Co(I){var ne=new Map,S=new Set,z=[];function Me(Ke){S.add(Ke.name),[].concat(Ke.requires||[],Ke.requiresIfExists||[]).forEach(function(yr){if(!S.has(yr)){var Nr=ne.get(yr);Nr&&Me(Nr)}}),z.push(Ke)}return I.forEach(function(Ke){ne.set(Ke.name,Ke)}),I.forEach(function(Ke){S.has(Ke.name)||Me(Ke)}),z}function Wo(I){var ne;return function(){return ne||(ne=new Promise(function(S){Promise.resolve().then(function(){ne=void 0,S(I())})})),ne}}var nl={placement:"bottom",modifiers:[],strategy:"absolute"};function Gs(){for(var I=arguments.length,ne=new Array(I),S=0;S<I;S++)ne[S]=arguments[S];return!ne.some(function(z){return!(z&&"function"==typeof z.getBoundingClientRect)})}function $o(I){void 0===I&&(I={});var S=I.defaultModifiers,z=void 0===S?[]:S,Me=I.defaultOptions,Ke=void 0===Me?nl:Me;return function(yr,Nr,vi){void 0===vi&&(vi=Ke);var di={placement:"bottom",orderedModifiers:[],options:Object.assign({},nl,Ke),modifiersData:{},elements:{reference:yr,popper:Nr},attributes:{},styles:{}},ts=[],Do=!1,Ss={state:di,setOptions:function(D){var Y="function"==typeof D?D(di.options):D;ia(),di.options=Object.assign({},Ke,di.options,Y),di.scrollParents={reference:nn(yr)?lo(yr):yr.contextElement?lo(yr.contextElement):[],popper:lo(Nr)};var Ee=function yl(I){var ne=Co(I);return dt.reduce(function(S,z){return S.concat(ne.filter(function(Me){return Me.phase===z}))},[])}(function ys(I){var ne=I.reduce(function(S,z){var Me=S[z.name];return S[z.name]=Me?Object.assign({},Me,z,{options:Object.assign({},Me.options,z.options),data:Object.assign({},Me.data,z.data)}):z,S},{});return Object.keys(ne).map(function(S){return ne[S]})}([].concat(z,di.options.modifiers)));return di.orderedModifiers=Ee.filter(function(Hs){return Hs.enabled}),function Yo(){di.orderedModifiers.forEach(function(y){var Y=y.options,ze=y.effect;if("function"==typeof ze){var At=ze({state:di,name:y.name,instance:Ss,options:void 0===Y?{}:Y});ts.push(At||function(){})}})}(),Ss.update()},forceUpdate:function(){if(!Do){var D=di.elements,Y=D.reference,Ee=D.popper;if(Gs(Y,Ee)){di.rects={reference:pl(Y,ir(Ee),"fixed"===di.options.strategy),popper:go(Ee)},di.reset=!1,di.placement=di.options.placement,di.orderedModifiers.forEach(function(Hs){return di.modifiersData[Hs.name]=Object.assign({},Hs.data)});for(var At=0;At<di.orderedModifiers.length;At++)if(!0!==di.reset){var tn=di.orderedModifiers[At],Tn=tn.fn,ar=tn.options;"function"==typeof Tn&&(di=Tn({state:di,options:void 0===ar?{}:ar,name:tn.name,instance:Ss})||di)}else di.reset=!1,At=-1}}},update:Wo(function(){return new Promise(function(y){Ss.forceUpdate(),y(di)})}),destroy:function(){ia(),Do=!0}};if(!Gs(yr,Nr))return Ss;function ia(){ts.forEach(function(y){return y()}),ts=[]}return Ss.setOptions(vi).then(function(y){!Do&&vi.onFirstUpdate&&vi.onFirstUpdate(y)}),Ss}}var Ns={passive:!0},ut={top:"auto",right:"auto",bottom:"auto",left:"auto"};function te(I){var ne,S=I.popper,z=I.popperRect,Me=I.placement,Ke=I.variation,gn=I.offsets,yr=I.position,Nr=I.gpuAcceleration,vi=I.adaptive,di=I.roundOffsets,ts=!0===di?function pn(I){var S=I.y,Me=window.devicePixelRatio||1;return{x:yn(yn(I.x*Me)/Me)||0,y:yn(yn(S*Me)/Me)||0}}(gn):"function"==typeof di?di(gn):gn,Do=ts.x,Ss=void 0===Do?0:Do,Yo=ts.y,ia=void 0===Yo?0:Yo,y=gn.hasOwnProperty("x"),D=gn.hasOwnProperty("y"),Y=no,Ee=ei,ze=window;if(vi){var At=ir(S),tn="clientHeight",Tn="clientWidth";At===st(S)&&"static"!==_t(At=ti(S)).position&&"absolute"===yr&&(tn="scrollHeight",Tn="scrollWidth"),(Me===ei||(Me===no||Me===fi)&&Ke===vn)&&(Ee=bi,ia-=At[tn]-z.height,ia*=Nr?1:-1),(Me===no||(Me===ei||Me===bi)&&Ke===vn)&&(Y=fi,Ss-=At[Tn]-z.width,Ss*=Nr?1:-1)}var li,ar=Object.assign({position:yr},vi&&ut);return Object.assign({},ar,Nr?((li={})[Ee]=D?"0":"",li[Y]=y?"0":"",li.transform=(ze.devicePixelRatio||1)<=1?"translate("+Ss+"px, "+ia+"px)":"translate3d("+Ss+"px, "+ia+"px, 0)",li):((ne={})[Ee]=D?ia+"px":"",ne[Y]=y?Ss+"px":"",ne.transform="",ne))}var _s=$o({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function hs(I){var ne=I.state,S=I.instance,z=I.options,Me=z.scroll,Ke=void 0===Me||Me,gn=z.resize,yr=void 0===gn||gn,Nr=st(ne.elements.popper),vi=[].concat(ne.scrollParents.reference,ne.scrollParents.popper);return Ke&&vi.forEach(function(di){di.addEventListener("scroll",S.update,Ns)}),yr&&Nr.addEventListener("resize",S.update,Ns),function(){Ke&&vi.forEach(function(di){di.removeEventListener("scroll",S.update,Ns)}),yr&&Nr.removeEventListener("resize",S.update,Ns)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function kr(I){var ne=I.state;ne.modifiersData[I.name]=Go({reference:ne.rects.reference,element:ne.rects.popper,strategy:"absolute",placement:ne.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function Ue(I){var ne=I.state,S=I.options,z=S.gpuAcceleration,Me=void 0===z||z,Ke=S.adaptive,gn=void 0===Ke||Ke,yr=S.roundOffsets,Nr=void 0===yr||yr,di={placement:Hn(ne.placement),variation:Eo(ne.placement),popper:ne.elements.popper,popperRect:ne.rects.popper,gpuAcceleration:Me};null!=ne.modifiersData.popperOffsets&&(ne.styles.popper=Object.assign({},ne.styles.popper,te(Object.assign({},di,{offsets:ne.modifiersData.popperOffsets,position:ne.options.strategy,adaptive:gn,roundOffsets:Nr})))),null!=ne.modifiersData.arrow&&(ne.styles.arrow=Object.assign({},ne.styles.arrow,te(Object.assign({},di,{offsets:ne.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:Nr})))),ne.attributes.popper=Object.assign({},ne.attributes.popper,{"data-popper-placement":ne.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function hn(I){var ne=I.state;Object.keys(ne.elements).forEach(function(S){var z=ne.styles[S]||{},Me=ne.attributes[S]||{},Ke=ne.elements[S];!Fe(Ke)||!xi(Ke)||(Object.assign(Ke.style,z),Object.keys(Me).forEach(function(gn){var yr=Me[gn];!1===yr?Ke.removeAttribute(gn):Ke.setAttribute(gn,!0===yr?"":yr)}))})},effect:function ii(I){var ne=I.state,S={popper:{position:ne.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(ne.elements.popper.style,S.popper),ne.styles=S,ne.elements.arrow&&Object.assign(ne.elements.arrow.style,S.arrow),function(){Object.keys(ne.elements).forEach(function(z){var Me=ne.elements[z],Ke=ne.attributes[z]||{},yr=Object.keys(ne.styles.hasOwnProperty(z)?ne.styles[z]:S[z]).reduce(function(Nr,vi){return Nr[vi]="",Nr},{});!Fe(Me)||!xi(Me)||(Object.assign(Me.style,yr),Object.keys(Ke).forEach(function(Nr){Me.removeAttribute(Nr)}))})}},requires:["computeStyles"]}]});const Ks={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function Fs(I){var ne=I.state,z=I.name,Me=I.options.offset,Ke=void 0===Me?[0,0]:Me,gn=ui.reduce(function(di,ts){return di[ts]=function Vo(I,ne,S){var z=Hn(I),Me=[no,ei].indexOf(z)>=0?-1:1,Ke="function"==typeof S?S(Object.assign({},ne,{placement:I})):S,gn=Ke[0],yr=Ke[1];return gn=gn||0,yr=(yr||0)*Me,[no,fi].indexOf(z)>=0?{x:yr,y:gn}:{x:gn,y:yr}}(ts,ne.rects,Ke),di},{}),yr=gn[ne.placement],vi=yr.y;null!=ne.modifiersData.popperOffsets&&(ne.modifiersData.popperOffsets.x+=yr.x,ne.modifiersData.popperOffsets.y+=vi),ne.modifiersData[z]=gn}};function Fl(I,ne){if(1&I){const S=r.EpF();r.TgZ(0,"button",1),r.NdJ("click",function(){return r.CHM(S),r.oxw().close()}),r.qZA()}}const Ku=["*"],Bl=["ngbDatepickerDayView",""],Ya=["month"],rt=["year"];function qt(I,ne){if(1&I&&(r.TgZ(0,"option",5),r._uU(1),r.qZA()),2&I){const S=ne.$implicit,z=r.oxw();r.Q6J("value",S),r.uIk("aria-label",z.i18n.getMonthFullName(S,null==z.date?null:z.date.year)),r.xp6(1),r.Oqu(z.i18n.getMonthShortName(S,null==z.date?null:z.date.year))}}function pt(I,ne){if(1&I&&(r.TgZ(0,"option",5),r._uU(1),r.qZA()),2&I){const S=ne.$implicit,z=r.oxw();r.Q6J("value",S),r.xp6(1),r.Oqu(z.i18n.getYearNumerals(S))}}function Kt(I,ne){if(1&I){const S=r.EpF();r.TgZ(0,"ngb-datepicker-navigation-select",7),r.NdJ("select",function(Me){return r.CHM(S),r.oxw().select.emit(Me)}),r.qZA()}if(2&I){const S=r.oxw();r.Q6J("date",S.date)("disabled",S.disabled)("months",S.selectBoxes.months)("years",S.selectBoxes.years)}}function Kn(I,ne){1&I&&r._UZ(0,"div",0)}function oi(I,ne){1&I&&r._UZ(0,"div",0)}function wi(I,ne){if(1&I&&(r.YNc(0,Kn,1,0,"div",9),r.TgZ(1,"div",10),r._uU(2),r.qZA(),r.YNc(3,oi,1,0,"div",9)),2&I){const S=ne.$implicit,z=ne.index,Me=r.oxw(2);r.Q6J("ngIf",z>0),r.xp6(2),r.hij(" ",Me.i18n.getMonthLabel(S.firstDate)," "),r.xp6(1),r.Q6J("ngIf",z!==Me.months.length-1)}}function as(I,ne){if(1&I&&r.YNc(0,wi,4,3,"ng-template",8),2&I){const S=r.oxw();r.Q6J("ngForOf",S.months)}}const Vs=["defaultDayTemplate"],Os=["content"];function ws(I,ne){if(1&I&&r._UZ(0,"div",7),2&I){const z=ne.currentMonth,Me=ne.selected,Ke=ne.disabled,gn=ne.focused;r.Q6J("date",ne.date)("currentMonth",z)("selected",Me)("disabled",Ke)("focused",gn)}}function Fo(I,ne){if(1&I&&(r.TgZ(0,"div",12),r._uU(1),r.qZA()),2&I){const S=r.oxw().$implicit,z=r.oxw(2);r.xp6(1),r.hij(" ",z.i18n.getMonthLabel(S.firstDate)," ")}}function Ka(I,ne){if(1&I&&(r.TgZ(0,"div",9),r.YNc(1,Fo,2,1,"div",10),r._UZ(2,"ngb-datepicker-month",11),r.qZA()),2&I){const S=ne.$implicit,z=r.oxw(2);r.xp6(1),r.Q6J("ngIf","none"===z.navigation||z.displayMonths>1&&"select"===z.navigation),r.xp6(1),r.Q6J("month",S.firstDate)}}function al(I,ne){if(1&I&&r.YNc(0,Ka,3,2,"div",8),2&I){const S=r.oxw();r.Q6J("ngForOf",S.model.months)}}function Bs(I,ne){if(1&I){const S=r.EpF();r.TgZ(0,"ngb-datepicker-navigation",13),r.NdJ("navigate",function(Me){return r.CHM(S),r.oxw().onNavigateEvent(Me)})("select",function(Me){return r.CHM(S),r.oxw().onNavigateDateSelect(Me)}),r.qZA()}if(2&I){const S=r.oxw();r.Q6J("date",S.model.firstDate)("months",S.model.months)("disabled",S.model.disabled)("showSelect","select"===S.model.navigation)("prevDisabled",S.model.prevDisabled)("nextDisabled",S.model.nextDisabled)("selectBoxes",S.model.selectBoxes)}}function mt(I,ne){}function ot(I,ne){}function je(I,ne){if(1&I&&(r.TgZ(0,"div",5),r._uU(1),r.qZA()),2&I){const S=r.oxw(2);r.xp6(1),r.Oqu(S.i18n.getWeekLabel())}}function Xt(I,ne){if(1&I&&(r.TgZ(0,"div",6),r._uU(1),r.qZA()),2&I){const S=ne.$implicit;r.xp6(1),r.Oqu(S)}}function Si(I,ne){if(1&I&&(r.TgZ(0,"div",2),r.YNc(1,je,2,1,"div",3),r.YNc(2,Xt,2,1,"div",4),r.qZA()),2&I){const S=r.oxw();r.xp6(1),r.Q6J("ngIf",S.datepicker.showWeekNumbers),r.xp6(1),r.Q6J("ngForOf",S.viewModel.weekdays)}}function Jo(I,ne){if(1&I&&(r.TgZ(0,"div",11),r._uU(1),r.qZA()),2&I){const S=r.oxw(2).$implicit,z=r.oxw();r.xp6(1),r.Oqu(z.i18n.getWeekNumerals(S.number))}}function ja(I,ne){}function El(I,ne){if(1&I&&r.YNc(0,ja,0,0,"ng-template",14),2&I){const S=r.oxw().$implicit,z=r.oxw(3);r.Q6J("ngTemplateOutlet",z.datepicker.dayTemplate)("ngTemplateOutletContext",S.context)}}function qu(I,ne){if(1&I){const S=r.EpF();r.TgZ(0,"div",12),r.NdJ("click",function(Me){const gn=r.CHM(S).$implicit;return r.oxw(3).doSelect(gn),Me.preventDefault()}),r.YNc(1,El,1,2,"ng-template",13),r.qZA()}if(2&I){const S=ne.$implicit;r.ekj("disabled",S.context.disabled)("hidden",S.hidden)("ngb-dp-today",S.context.today),r.Q6J("tabindex",S.tabindex),r.uIk("aria-label",S.ariaLabel),r.xp6(1),r.Q6J("ngIf",!S.hidden)}}function Nc(I,ne){if(1&I&&(r.TgZ(0,"div",8),r.YNc(1,Jo,2,1,"div",9),r.YNc(2,qu,2,9,"div",10),r.qZA()),2&I){const S=r.oxw().$implicit,z=r.oxw();r.xp6(1),r.Q6J("ngIf",z.datepicker.showWeekNumbers),r.xp6(1),r.Q6J("ngForOf",S.days)}}function hd(I,ne){1&I&&r.YNc(0,Nc,3,2,"div",7),2&I&&r.Q6J("ngIf",!ne.$implicit.collapsed)}const Yi=["dialog"],aa=["ngbNavOutlet",""];function Fa(I,ne){}const Es=function(I){return{$implicit:I}};function ec(I,ne){if(1&I&&(r.TgZ(0,"div",2),r.YNc(1,Fa,0,0,"ng-template",3),r.qZA()),2&I){const S=r.oxw().$implicit,z=r.oxw();r.Q6J("item",S)("nav",z.nav)("role",z.paneRole),r.xp6(1),r.Q6J("ngTemplateOutlet",(null==S.contentTpl?null:S.contentTpl.templateRef)||null)("ngTemplateOutletContext",r.VKq(5,Es,S.active||z.isPanelTransitioning(S)))}}function Sl(I,ne){if(1&I&&r.YNc(0,ec,2,7,"div",1),2&I){const S=ne.$implicit,z=r.oxw();r.Q6J("ngIf",S.isPanelInDom()||z.isPanelTransitioning(S))}}function Ci(I,ne){if(1&I&&r._uU(0),2&I){const S=r.oxw(2);r.Oqu(S.title)}}function Vi(I,ne){}function Pr(I,ne){if(1&I&&(r.TgZ(0,"h3",3),r.YNc(1,Ci,1,1,"ng-template",null,4,r.W1O),r.YNc(3,Vi,0,0,"ng-template",5),r.qZA()),2&I){const S=r.MAs(2),z=r.oxw();r.xp6(3),r.Q6J("ngTemplateOutlet",z.isTitleTemplate()?z.title:S)("ngTemplateOutletContext",z.context)}}function Yn(I,ne){if(1&I&&(r.TgZ(0,"span"),r.SDv(1,2),r.ALo(2,"percent"),r.qZA()),2&I){const S=r.oxw();r.xp6(2),r.pQV(r.lcZ(2,1,S.getValue()/S.max)),r.QtT(1)}}function $s(I,ne){if(1&I){const S=r.EpF();r.TgZ(0,"button",11),r.NdJ("click",function(){r.CHM(S);const Me=r.oxw();return Me.changeHour(Me.hourStep)}),r._UZ(1,"span",12),r.TgZ(2,"span",13),r.SDv(3,14),r.qZA()()}if(2&I){const S=r.oxw();r.ekj("btn-sm",S.isSmallSize)("btn-lg",S.isLargeSize)("disabled",S.disabled),r.Q6J("disabled",S.disabled)}}function ls(I,ne){if(1&I){const S=r.EpF();r.TgZ(0,"button",11),r.NdJ("click",function(){r.CHM(S);const Me=r.oxw();return Me.changeHour(-Me.hourStep)}),r._UZ(1,"span",15),r.TgZ(2,"span",13),r.SDv(3,16),r.qZA()()}if(2&I){const S=r.oxw();r.ekj("btn-sm",S.isSmallSize)("btn-lg",S.isLargeSize)("disabled",S.disabled),r.Q6J("disabled",S.disabled)}}function _l(I,ne){if(1&I){const S=r.EpF();r.TgZ(0,"button",11),r.NdJ("click",function(){r.CHM(S);const Me=r.oxw();return Me.changeMinute(Me.minuteStep)}),r._UZ(1,"span",12),r.TgZ(2,"span",13),r.SDv(3,17),r.qZA()()}if(2&I){const S=r.oxw();r.ekj("btn-sm",S.isSmallSize)("btn-lg",S.isLargeSize)("disabled",S.disabled),r.Q6J("disabled",S.disabled)}}function Us(I,ne){if(1&I){const S=r.EpF();r.TgZ(0,"button",11),r.NdJ("click",function(){r.CHM(S);const Me=r.oxw();return Me.changeMinute(-Me.minuteStep)}),r._UZ(1,"span",15),r.TgZ(2,"span",13),r.SDv(3,18),r.qZA()()}if(2&I){const S=r.oxw();r.ekj("btn-sm",S.isSmallSize)("btn-lg",S.isLargeSize)("disabled",S.disabled),r.Q6J("disabled",S.disabled)}}function Zc(I,ne){1&I&&(r.TgZ(0,"div",5),r._uU(1,":"),r.qZA())}function Ic(I,ne){if(1&I){const S=r.EpF();r.TgZ(0,"button",11),r.NdJ("click",function(){r.CHM(S);const Me=r.oxw(2);return Me.changeSecond(Me.secondStep)}),r._UZ(1,"span",12),r.TgZ(2,"span",13),r.SDv(3,21),r.qZA()()}if(2&I){const S=r.oxw(2);r.ekj("btn-sm",S.isSmallSize)("btn-lg",S.isLargeSize)("disabled",S.disabled),r.Q6J("disabled",S.disabled)}}function Pu(I,ne){if(1&I){const S=r.EpF();r.TgZ(0,"button",11),r.NdJ("click",function(){r.CHM(S);const Me=r.oxw(2);return Me.changeSecond(-Me.secondStep)}),r._UZ(1,"span",15),r.TgZ(2,"span",13),r.SDv(3,22),r.qZA()()}if(2&I){const S=r.oxw(2);r.ekj("btn-sm",S.isSmallSize)("btn-lg",S.isLargeSize)("disabled",S.disabled),r.Q6J("disabled",S.disabled)}}function Su(I,ne){if(1&I){const S=r.EpF();r.TgZ(0,"div",19),r.YNc(1,Ic,4,7,"button",3),r.TgZ(2,"input",20),r.NdJ("change",function(Me){return r.CHM(S),r.oxw().updateSecond(Me.target.value)})("blur",function(){return r.CHM(S),r.oxw().handleBlur()})("input",function(Me){return r.CHM(S),r.oxw().formatInput(Me.target)})("keydown.ArrowUp",function(Me){r.CHM(S);const Ke=r.oxw();return Ke.changeSecond(Ke.secondStep),Me.preventDefault()})("keydown.ArrowDown",function(Me){r.CHM(S);const Ke=r.oxw();return Ke.changeSecond(-Ke.secondStep),Me.preventDefault()}),r.qZA(),r.YNc(3,Pu,4,7,"button",3),r.qZA()}if(2&I){const S=r.oxw();r.xp6(1),r.Q6J("ngIf",S.spinners),r.xp6(1),r.ekj("form-control-sm",S.isSmallSize)("form-control-lg",S.isLargeSize),r.Q6J("value",S.formatMinSec(null==S.model?null:S.model.second))("readOnly",S.readonlyInputs)("disabled",S.disabled),r.xp6(1),r.Q6J("ngIf",S.spinners)}}function Zd(I,ne){1&I&&r._UZ(0,"div",5)}function _d(I,ne){if(1&I&&(r.ynx(0),r.SDv(1,27),r.BQk()),2&I){const S=r.oxw(2);r.xp6(1),r.pQV(S.i18n.getAfternoonPeriod()),r.QtT(1)}}function md(I,ne){if(1&I&&r.SDv(0,28),2&I){const S=r.oxw(2);r.pQV(S.i18n.getMorningPeriod()),r.QtT(0)}}function Hc(I,ne){if(1&I){const S=r.EpF();r.TgZ(0,"div",23)(1,"button",24),r.NdJ("click",function(){return r.CHM(S),r.oxw().toggleMeridian()}),r.YNc(2,_d,2,1,"ng-container",25),r.YNc(3,md,1,1,"ng-template",null,26,r.W1O),r.qZA()()}if(2&I){const S=r.MAs(4),z=r.oxw();r.xp6(1),r.ekj("btn-sm",z.isSmallSize)("btn-lg",z.isLargeSize)("disabled",z.disabled),r.Q6J("disabled",z.disabled),r.xp6(1),r.Q6J("ngIf",z.model&&z.model.hour>=12)("ngIfElse",S)}}function Mo(I,ne){if(1&I&&(r.TgZ(0,"span"),r._uU(1),r.qZA()),2&I){const S=r.oxw().$implicit,z=r.oxw();r.Tol(z.highlightClass),r.xp6(1),r.Oqu(S)}}function wo(I,ne){if(1&I&&r._uU(0),2&I){const S=r.oxw().$implicit;r.Oqu(S)}}function Sa(I,ne){if(1&I&&(r.YNc(0,Mo,2,3,"span",1),r.YNc(1,wo,1,1,"ng-template",null,2,r.W1O)),2&I){const S=ne.odd,z=r.MAs(2);r.Q6J("ngIf",S)("ngIfElse",z)}}function Tl(I,ne){if(1&I&&r._UZ(0,"ngb-highlight",2),2&I){const z=ne.term;r.Q6J("result",(0,ne.formatter)(ne.result))("term",z)}}function ou(I,ne){}const Tu=function(I,ne,S){return{result:I,term:ne,formatter:S}};function gc(I,ne){if(1&I){const S=r.EpF();r.TgZ(0,"button",3),r.NdJ("mouseenter",function(){const Ke=r.CHM(S).index;return r.oxw().markActive(Ke)})("click",function(){const Ke=r.CHM(S).$implicit;return r.oxw().select(Ke)}),r.YNc(1,ou,0,0,"ng-template",4),r.qZA()}if(2&I){const S=ne.$implicit,z=ne.index,Me=r.oxw(),Ke=r.MAs(1);r.ekj("active",z===Me.activeIdx),r.Q6J("id",Me.id+"-"+z),r.xp6(1),r.Q6J("ngTemplateOutlet",Me.resultTemplate||Ke)("ngTemplateOutletContext",r.kEZ(5,Tu,S,Me.term,Me.formatter))}}function En(I){return parseInt(`${I}`,10)}function pa(I){return null!=I?`${I}`:""}function Ze(I){return"string"==typeof I}function Ae(I){return!isNaN(En(I))}function ge(I){return"number"==typeof I&&isFinite(I)&&Math.floor(I)===I}function ht(I){return null!=I}function sn(I){return Ae(I)?`0${I}`.slice(-2):""}function gr(I,ne){return I&&I.className&&I.className.split&&I.className.split(/\s+/).indexOf(ne)>=0}function Lo(I){return(I||document.body).getBoundingClientRect()}function ms(I){return I.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}const Ca={animation:!0,transitionTimerDelayMs:5},Nu=()=>{},{transitionTimerDelayMs:cc}=Ca,ka=new Map,rl=(I,ne,S,z)=>{let Me=z.context||{};const Ke=ka.get(ne);if(Ke)switch(z.runningTransition){case"continue":return u.E;case"stop":I.run(()=>Ke.transition$.complete()),Me=Object.assign(Ke.context,Me),ka.delete(ne)}const gn=S(ne,z.animation,Me)||Nu;if(!z.animation||"none"===window.getComputedStyle(ne).transitionProperty)return I.run(()=>gn()),(0,e.of)(void 0).pipe(function Ta(I){return ne=>new f.y(S=>ne.subscribe({next:gn=>I.run(()=>S.next(gn)),error:gn=>I.run(()=>S.error(gn)),complete:()=>I.run(()=>S.complete())}))}(I));const yr=new p.xQ,Nr=new p.xQ,vi=yr.pipe(function Pe(...I){return ne=>(0,He.z)(ne,(0,e.of)(...I))}(!0));ka.set(ne,{transition$:yr,complete:()=>{Nr.next(),Nr.complete()},context:Me});const di=function ha(I){const{transitionDelay:ne,transitionDuration:S}=window.getComputedStyle(I);return 1e3*(parseFloat(ne)+parseFloat(S))}(ne);return I.runOutsideAngular(()=>{const ts=(0,g.R)(ne,"transitionend").pipe((0,Ge.R)(vi),(0,Oe.h)(({target:Ss})=>Ss===ne));W((0,T.H)(di+cc).pipe((0,Ge.R)(vi)),ts,Nr).pipe((0,Ge.R)(vi)).subscribe(()=>{ka.delete(ne),I.run(()=>{gn(),yr.next(),yr.complete()})})}),yr.asObservable()},ju=(I,ne,S)=>{let{direction:z,maxHeight:Me}=S;const{classList:Ke}=I;function gn(){Ke.add("collapse"),"show"===z?Ke.add("show"):Ke.remove("show")}if(ne)return Me||(Me=function yc(I){if("undefined"==typeof navigator)return"0px";const{classList:ne}=I,S=ne.contains("show");S||ne.add("show"),I.style.height="";const z=I.getBoundingClientRect().height+"px";return S||ne.remove("show"),z}(I),S.maxHeight=Me,I.style.height="show"!==z?Me:"0px",Ke.remove("collapse"),Ke.remove("collapsing"),Ke.remove("show"),Lo(I),Ke.add("collapsing")),I.style.height="show"===z?Me:"0px",()=>{gn(),Ke.remove("collapsing"),I.style.height=""};gn()};let Ul=(()=>{class I{constructor(){this.animation=Ca.animation}}return I.\u0275fac=function(S){return new(S||I)},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})();const Al=({classList:I})=>{I.remove("show")};let kl=(()=>{class I{constructor(S){this._ngbConfig=S,this.dismissible=!0,this.type="warning"}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(S){this._animation=S}}return I.\u0275fac=function(S){return new(S||I)(r.LFG(Ul))},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),Gu=(()=>{class I{constructor(S,z,Me,Ke){this._renderer=z,this._element=Me,this._zone=Ke,this.closed=new r.vpe,this.dismissible=S.dismissible,this.type=S.type,this.animation=S.animation}close(){const S=rl(this._zone,this._element.nativeElement,Al,{animation:this.animation,runningTransition:"continue"});return S.subscribe(()=>this.closed.emit()),S}ngOnChanges(S){const z=S.type;z&&!z.firstChange&&(this._renderer.removeClass(this._element.nativeElement,`alert-${z.previousValue}`),this._renderer.addClass(this._element.nativeElement,`alert-${z.currentValue}`))}ngOnInit(){this._renderer.addClass(this._element.nativeElement,`alert-${this.type}`)}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(kl),r.Y36(r.Qsj),r.Y36(r.SBq),r.Y36(r.R0b))},I.\u0275cmp=r.Xpm({type:I,selectors:[["ngb-alert"]],hostAttrs:["role","alert",1,"alert","show"],hostVars:4,hostBindings:function(S,z){2&S&&r.ekj("fade",z.animation)("alert-dismissible",z.dismissible)},inputs:{animation:"animation",dismissible:"dismissible",type:"type"},outputs:{closed:"closed"},exportAs:["ngbAlert"],features:[r.TTD],ngContentSelectors:Ku,decls:2,vars:1,consts:function(){let ne;return ne="Close",[["type","button","class","btn-close","aria-label",ne,3,"click",4,"ngIf"],["type","button","aria-label",ne,1,"btn-close",3,"click"]]},template:function(S,z){1&S&&(r.F$t(),r.Hsn(0),r.YNc(1,Fl,1,0,"button",0)),2&S&&(r.xp6(1),r.Q6J("ngIf",z.dismissible))},directives:[a.O5],styles:["ngb-alert{display:block}\n"],encapsulation:2,changeDetection:0}),I})(),ul=(()=>{class I{}return I.\u0275fac=function(S){return new(S||I)},I.\u0275mod=r.oAB({type:I}),I.\u0275inj=r.cJS({imports:[[a.ez]]}),I})(),Fu=(()=>{class I{constructor(S){this._ngbConfig=S}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(S){this._animation=S}}return I.\u0275fac=function(S){return new(S||I)(r.LFG(Ul))},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),od=(()=>{class I{constructor(S,z,Me){this._element=S,this._zone=Me,this.collapsed=!1,this.ngbCollapseChange=new r.vpe,this.shown=new r.vpe,this.hidden=new r.vpe,this.animation=z.animation}ngOnInit(){this._runTransition(this.collapsed,!1)}ngOnChanges({collapsed:S}){S.firstChange||this._runTransitionWithEvents(this.collapsed,this.animation)}toggle(S=this.collapsed){this.collapsed=!S,this.ngbCollapseChange.next(this.collapsed),this._runTransitionWithEvents(this.collapsed,this.animation)}_runTransition(S,z){return rl(this._zone,this._element.nativeElement,ju,{animation:z,runningTransition:"stop",context:{direction:S?"hide":"show"}})}_runTransitionWithEvents(S,z){this._runTransition(S,z).subscribe(()=>{S?this.hidden.emit():this.shown.emit()})}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(r.SBq),r.Y36(Fu),r.Y36(r.R0b))},I.\u0275dir=r.lG2({type:I,selectors:[["","ngbCollapse",""]],inputs:{animation:"animation",collapsed:["ngbCollapse","collapsed"]},outputs:{ngbCollapseChange:"ngbCollapseChange",shown:"shown",hidden:"hidden"},exportAs:["ngbCollapse"],features:[r.TTD]}),I})(),rc=(()=>{class I{}return I.\u0275fac=function(S){return new(S||I)},I.\u0275mod=r.oAB({type:I}),I.\u0275inj=r.cJS({}),I})();class Oa{constructor(ne,S,z){this.year=ge(ne)?ne:null,this.month=ge(S)?S:null,this.day=ge(z)?z:null}static from(ne){return ne instanceof Oa?ne:ne?new Oa(ne.year,ne.month,ne.day):null}equals(ne){return null!=ne&&this.year===ne.year&&this.month===ne.month&&this.day===ne.day}before(ne){return!!ne&&(this.year===ne.year?this.month===ne.month?this.day!==ne.day&&this.day<ne.day:this.month<ne.month:this.year<ne.year)}after(ne){return!!ne&&(this.year===ne.year?this.month===ne.month?this.day!==ne.day&&this.day>ne.day:this.month>ne.month:this.year>ne.year)}}function zc(I,ne){return!function lp(I,ne){return!I&&!ne||!!I&&!!ne&&I.equals(ne)}(I,ne)}function sd(I,ne){return!(!I&&!ne||I&&ne&&I.year===ne.year&&I.month===ne.month)}function vo(I,ne,S){return I&&ne&&I.before(ne)?ne:I&&S&&I.after(S)?S:I||null}function pu(I,ne){const{minDate:S,maxDate:z,disabled:Me,markDisabled:Ke}=ne;return!(null==I||Me||Ke&&Ke(I,{year:I.year,month:I.month})||S&&I.before(S)||z&&I.after(z))}function Ql(I){return new Oa(I.getFullYear(),I.getMonth()+1,I.getDate())}function Sc(I){const ne=new Date(I.year,I.month-1,I.day,12);return isNaN(ne.getTime())||ne.setFullYear(I.year),ne}let Zu=(()=>{class I{}return I.\u0275fac=function(S){return new(S||I)},I.\u0275prov=r.Yz7({token:I,factory:function(){return function Tc(){return new hu}()},providedIn:"root"}),I})(),hu=(()=>{class I extends Zu{getDaysPerWeek(){return 7}getMonths(){return[1,2,3,4,5,6,7,8,9,10,11,12]}getWeeksPerMonth(){return 6}getNext(S,z="d",Me=1){let Ke=Sc(S),gn=!0,yr=Ke.getMonth();switch(z){case"y":Ke.setFullYear(Ke.getFullYear()+Me);break;case"m":yr+=Me,Ke.setMonth(yr),yr%=12,yr<0&&(yr+=12);break;case"d":Ke.setDate(Ke.getDate()+Me),gn=!1;break;default:return S}return gn&&Ke.getMonth()!==yr&&Ke.setDate(0),Ql(Ke)}getPrev(S,z="d",Me=1){return this.getNext(S,z,-Me)}getWeekday(S){let Me=Sc(S).getDay();return 0===Me?7:Me}getWeekNumber(S,z){7===z&&(z=0);const gn=Sc(S[(11-z)%7]);gn.setDate(gn.getDate()+4-(gn.getDay()||7));const yr=gn.getTime();return gn.setMonth(0),gn.setDate(1),Math.floor(Math.round((yr-gn.getTime())/864e5)/7)+1}getToday(){return Ql(new Date)}isValid(S){if(!(S&&ge(S.year)&&ge(S.month)&&ge(S.day)&&0!==S.year))return!1;const z=Sc(S);return!isNaN(z.getTime())&&z.getFullYear()===S.year&&z.getMonth()+1===S.month&&z.getDate()===S.day}}return I.\u0275fac=function(){let ne;return function(z){return(ne||(ne=r.n5z(I)))(z||I)}}(),I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac}),I})(),pc=(()=>{class I{getMonthLabel(S){return`${this.getMonthFullName(S.month,S.year)} ${this.getYearNumerals(S.year)}`}getDayNumerals(S){return`${S.day}`}getWeekNumerals(S){return`${S}`}getYearNumerals(S){return`${S}`}getWeekLabel(){return""}}return I.\u0275fac=function(S){return new(S||I)},I.\u0275prov=r.Yz7({token:I,factory:function(S){let z=null;return z=S?new S:function Wc(I){return new Jd(I)}(r.LFG(r.soG)),z},providedIn:"root"}),I})(),Jd=(()=>{class I extends pc{constructor(S){super(),this._locale=S,this._monthsShort=(0,a.UT)(S,a.x.Standalone,a.Tn.Abbreviated),this._monthsFull=(0,a.UT)(S,a.x.Standalone,a.Tn.Wide)}getWeekdayLabel(S,z){const Me=(0,a.Mn)(this._locale,a.x.Standalone,void 0===z?a.Tn.Short:z);return Me.map((gn,yr)=>Me[(yr+1)%7])[S-1]||""}getMonthShortName(S){return this._monthsShort[S-1]||""}getMonthFullName(S){return this._monthsFull[S-1]||""}getDayAriaLabel(S){const z=new Date(S.year,S.month-1,S.day);return(0,a.p6)(z,"fullDate",this._locale)}}return I.\u0275fac=function(S){return new(S||I)(r.LFG(r.soG))},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac}),I})(),Jc=(()=>{class I{constructor(S,z){this._calendar=S,this._i18n=z,this._VALIDATORS={dayTemplateData:Me=>{if(this._state.dayTemplateData!==Me)return{dayTemplateData:Me}},displayMonths:Me=>{if(ge(Me=En(Me))&&Me>0&&this._state.displayMonths!==Me)return{displayMonths:Me}},disabled:Me=>{if(this._state.disabled!==Me)return{disabled:Me}},firstDayOfWeek:Me=>{if(ge(Me=En(Me))&&Me>=0&&this._state.firstDayOfWeek!==Me)return{firstDayOfWeek:Me}},focusVisible:Me=>{if(this._state.focusVisible!==Me&&!this._state.disabled)return{focusVisible:Me}},markDisabled:Me=>{if(this._state.markDisabled!==Me)return{markDisabled:Me}},maxDate:Me=>{const Ke=this.toValidDate(Me,null);if(zc(this._state.maxDate,Ke))return{maxDate:Ke}},minDate:Me=>{const Ke=this.toValidDate(Me,null);if(zc(this._state.minDate,Ke))return{minDate:Ke}},navigation:Me=>{if(this._state.navigation!==Me)return{navigation:Me}},outsideDays:Me=>{if(this._state.outsideDays!==Me)return{outsideDays:Me}},weekdays:Me=>{const Ke=!0===Me||!1===Me?a.Tn.Short:Me,gn=!0!==Me&&!1!==Me||Me;if(this._state.weekdayWidth!==Ke||this._state.weekdaysVisible!==gn)return{weekdayWidth:Ke,weekdaysVisible:gn}}},this._model$=new p.xQ,this._dateSelect$=new p.xQ,this._state={dayTemplateData:null,markDisabled:null,maxDate:null,minDate:null,disabled:!1,displayMonths:1,firstDate:null,firstDayOfWeek:1,lastDate:null,focusDate:null,focusVisible:!1,months:[],navigation:"select",outsideDays:"visible",prevDisabled:!1,nextDisabled:!1,selectedDate:null,selectBoxes:{years:[],months:[]},weekdayWidth:a.Tn.Short,weekdaysVisible:!0}}get model$(){return this._model$.pipe((0,Oe.h)(S=>S.months.length>0))}get dateSelect$(){return this._dateSelect$.pipe((0,Oe.h)(S=>null!==S))}set(S){let z=Object.keys(S).map(Me=>this._VALIDATORS[Me](S[Me])).reduce((Me,Ke)=>Object.assign(Object.assign({},Me),Ke),{});Object.keys(z).length>0&&this._nextState(z)}focus(S){const z=this.toValidDate(S,null);null!=z&&!this._state.disabled&&zc(this._state.focusDate,z)&&this._nextState({focusDate:S})}focusSelect(){pu(this._state.focusDate,this._state)&&this.select(this._state.focusDate,{emitEvent:!0})}open(S){const z=this.toValidDate(S,this._calendar.getToday());null!=z&&!this._state.disabled&&(!this._state.firstDate||sd(this._state.firstDate,z))&&this._nextState({firstDate:z})}select(S,z={}){const Me=this.toValidDate(S,null);null!=Me&&!this._state.disabled&&(zc(this._state.selectedDate,Me)&&this._nextState({selectedDate:Me}),z.emitEvent&&pu(Me,this._state)&&this._dateSelect$.next(Me))}toValidDate(S,z){const Me=Oa.from(S);return void 0===z&&(z=this._calendar.getToday()),this._calendar.isValid(Me)?Me:z}getMonth(S){for(let z of this._state.months)if(S.month===z.number&&S.year===z.year)return z;throw new Error(`month ${S.month} of year ${S.year} not found`)}_nextState(S){const z=this._updateState(S);this._patchContexts(z),this._state=z,this._model$.next(this._state)}_patchContexts(S){const{months:z,displayMonths:Me,selectedDate:Ke,focusDate:gn,focusVisible:yr,disabled:Nr,outsideDays:vi}=S;S.months.forEach(di=>{di.weeks.forEach(ts=>{ts.days.forEach(Do=>{gn&&(Do.context.focused=gn.equals(Do.date)&&yr),Do.tabindex=!Nr&&gn&&Do.date.equals(gn)&&gn.month===di.number?0:-1,!0===Nr&&(Do.context.disabled=!0),void 0!==Ke&&(Do.context.selected=null!==Ke&&Ke.equals(Do.date)),di.number!==Do.date.month&&(Do.hidden="hidden"===vi||"collapsed"===vi||Me>1&&Do.date.after(z[0].firstDate)&&Do.date.before(z[Me-1].lastDate))})})})}_updateState(S){const z=Object.assign({},this._state,S);let Me=z.firstDate;if(("minDate"in S||"maxDate"in S)&&(function $d(I,ne){if(ne&&I&&ne.before(I))throw new Error(`'maxDate' ${ne} should be greater than 'minDate' ${I}`)}(z.minDate,z.maxDate),z.focusDate=vo(z.focusDate,z.minDate,z.maxDate),z.firstDate=vo(z.firstDate,z.minDate,z.maxDate),Me=z.focusDate),"disabled"in S&&(z.focusVisible=!1),"selectedDate"in S&&0===this._state.months.length&&(Me=z.selectedDate),"focusVisible"in S||"focusDate"in S&&(z.focusDate=vo(z.focusDate,z.minDate,z.maxDate),Me=z.focusDate,0!==z.months.length&&z.focusDate&&!z.focusDate.before(z.firstDate)&&!z.focusDate.after(z.lastDate)))return z;if("firstDate"in S&&(z.firstDate=vo(z.firstDate,z.minDate,z.maxDate),Me=z.firstDate),Me){const gn=function Lu(I,ne,S,z,Me){const{displayMonths:Ke,months:gn}=S,yr=gn.splice(0,gn.length);return Array.from({length:Ke},(vi,di)=>{const ts=Object.assign(I.getNext(ne,"m",di),{day:1});if(gn[di]=null,!Me){const Do=yr.findIndex(Ss=>Ss.firstDate.equals(ts));-1!==Do&&(gn[di]=yr.splice(Do,1)[0])}return ts}).forEach((vi,di)=>{null===gn[di]&&(gn[di]=function bc(I,ne,S,z,Me={}){const{dayTemplateData:Ke,minDate:gn,maxDate:yr,firstDayOfWeek:Nr,markDisabled:vi,outsideDays:di,weekdayWidth:ts,weekdaysVisible:Do}=S,Ss=I.getToday();Me.firstDate=null,Me.lastDate=null,Me.number=ne.month,Me.year=ne.year,Me.weeks=Me.weeks||[],Me.weekdays=Me.weekdays||[],ne=function ic(I,ne,S){const z=I.getDaysPerWeek(),Me=new Oa(ne.year,ne.month,1),Ke=I.getWeekday(Me)%z;return I.getPrev(Me,"d",(z+Ke-S)%z)}(I,ne,Nr),Do||(Me.weekdays.length=0);for(let Yo=0;Yo<I.getWeeksPerMonth();Yo++){let ia=Me.weeks[Yo];ia||(ia=Me.weeks[Yo]={number:0,days:[],collapsed:!0});const y=ia.days;for(let D=0;D<I.getDaysPerWeek();D++){0===Yo&&Do&&(Me.weekdays[D]=z.getWeekdayLabel(I.getWeekday(ne),ts));const Y=new Oa(ne.year,ne.month,ne.day),Ee=I.getNext(Y),ze=z.getDayAriaLabel(Y);let At=!!(gn&&Y.before(gn)||yr&&Y.after(yr));!At&&vi&&(At=vi(Y,{month:Me.number,year:Me.year}));let tn=Y.equals(Ss),Tn=Ke?Ke(Y,{month:Me.number,year:Me.year}):void 0;null===Me.firstDate&&Y.month===Me.number&&(Me.firstDate=Y),Y.month===Me.number&&Ee.month!==Me.number&&(Me.lastDate=Y);let ar=y[D];ar||(ar=y[D]={}),ar.date=Y,ar.context=Object.assign(ar.context||{},{$implicit:Y,date:Y,data:Tn,currentMonth:Me.number,currentYear:Me.year,disabled:At,focused:!1,selected:!1,today:tn}),ar.tabindex=-1,ar.ariaLabel=ze,ar.hidden=!1,ne=Ee}ia.number=I.getWeekNumber(y.map(D=>D.date),Nr),ia.collapsed="collapsed"===di&&y[0].date.month!==Me.number&&y[y.length-1].date.month!==Me.number}return Me}(I,vi,S,z,yr.shift()||{}))}),gn}(this._calendar,Me,z,this._i18n,"dayTemplateData"in S||"firstDayOfWeek"in S||"markDisabled"in S||"minDate"in S||"maxDate"in S||"disabled"in S||"outsideDays"in S||"weekdaysVisible"in S);z.months=gn,z.firstDate=gn[0].firstDate,z.lastDate=gn[gn.length-1].lastDate,"selectedDate"in S&&!pu(z.selectedDate,z)&&(z.selectedDate=null),"firstDate"in S&&(!z.focusDate||z.focusDate.before(z.firstDate)||z.focusDate.after(z.lastDate))&&(z.focusDate=Me);const yr=!this._state.firstDate||this._state.firstDate.year!==z.firstDate.year,Nr=!this._state.firstDate||this._state.firstDate.month!==z.firstDate.month;"select"===z.navigation?(("minDate"in S||"maxDate"in S||0===z.selectBoxes.years.length||yr)&&(z.selectBoxes.years=function Ac(I,ne,S){if(!I)return[];const z=ne?Math.max(ne.year,I.year-500):I.year-10,Ke=(S?Math.min(S.year,I.year+500):I.year+10)-z+1,gn=Array(Ke);for(let yr=0;yr<Ke;yr++)gn[yr]=z+yr;return gn}(z.firstDate,z.minDate,z.maxDate)),("minDate"in S||"maxDate"in S||0===z.selectBoxes.months.length||yr)&&(z.selectBoxes.months=function $l(I,ne,S,z){if(!ne)return[];let Me=I.getMonths(ne.year);if(S&&ne.year===S.year){const Ke=Me.findIndex(gn=>gn===S.month);Me=Me.slice(Ke)}if(z&&ne.year===z.year){const Ke=Me.findIndex(gn=>gn===z.month);Me=Me.slice(0,Ke+1)}return Me}(this._calendar,z.firstDate,z.minDate,z.maxDate))):z.selectBoxes={years:[],months:[]},("arrows"===z.navigation||"select"===z.navigation)&&(Nr||yr||"minDate"in S||"maxDate"in S||"disabled"in S)&&(z.prevDisabled=z.disabled||function Dc(I,ne,S){const z=Object.assign(I.getPrev(ne,"m"),{day:1});return null!=S&&(z.year===S.year&&z.month<S.month||z.year<S.year&&1===S.month)}(this._calendar,z.firstDate,z.minDate),z.nextDisabled=z.disabled||function ga(I,ne,S){const z=Object.assign(I.getNext(ne,"m"),{day:1});return null!=S&&z.after(S)}(this._calendar,z.lastDate,z.maxDate))}return z}}return I.\u0275fac=function(S){return new(S||I)(r.LFG(Zu),r.LFG(pc))},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac}),I})();var Nl=(()=>{return(I=Nl||(Nl={}))[I.PREV=0]="PREV",I[I.NEXT=1]="NEXT",Nl;var I})();let Uc=(()=>{class I{constructor(){this.displayMonths=1,this.firstDayOfWeek=1,this.navigation="select",this.outsideDays="visible",this.showWeekNumbers=!1,this.weekdays=a.Tn.Short}}return I.\u0275fac=function(S){return new(S||I)},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),h=(()=>{class I{}return I.\u0275fac=function(S){return new(S||I)},I.\u0275prov=r.Yz7({token:I,factory:function(){return function oc(){return new E}()},providedIn:"root"}),I})(),E=(()=>{class I extends h{fromModel(S){return S&&ge(S.year)&&ge(S.month)&&ge(S.day)?{year:S.year,month:S.month,day:S.day}:null}toModel(S){return S&&ge(S.year)&&ge(S.month)&&ge(S.day)?{year:S.year,month:S.month,day:S.day}:null}}return I.\u0275fac=function(){let ne;return function(z){return(ne||(ne=r.n5z(I)))(z||I)}}(),I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac}),I})(),P=(()=>{class I{constructor(S){this.i18n=S}isMuted(){return!this.selected&&(this.date.month!==this.currentMonth||this.disabled)}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(pc))},I.\u0275cmp=r.Xpm({type:I,selectors:[["","ngbDatepickerDayView",""]],hostAttrs:[1,"btn-light"],hostVars:10,hostBindings:function(S,z){2&S&&r.ekj("bg-primary",z.selected)("text-white",z.selected)("text-muted",z.isMuted())("outside",z.isMuted())("active",z.focused)},inputs:{currentMonth:"currentMonth",date:"date",disabled:"disabled",focused:"focused",selected:"selected"},attrs:Bl,decls:1,vars:1,template:function(S,z){1&S&&r._uU(0),2&S&&r.Oqu(z.i18n.getDayNumerals(z.date))},styles:["[ngbDatepickerDayView]{text-align:center;width:2rem;height:2rem;line-height:2rem;border-radius:.25rem;background:transparent}[ngbDatepickerDayView].outside{opacity:.5}\n"],encapsulation:2,changeDetection:0}),I})(),L=(()=>{class I{constructor(S,z){this.i18n=S,this._renderer=z,this.select=new r.vpe,this._month=-1,this._year=-1}changeMonth(S){this.select.emit(new Oa(this.date.year,En(S),1))}changeYear(S){this.select.emit(new Oa(En(S),this.date.month,1))}ngAfterViewChecked(){this.date&&(this.date.month!==this._month&&(this._month=this.date.month,this._renderer.setProperty(this.monthSelect.nativeElement,"value",this._month)),this.date.year!==this._year&&(this._year=this.date.year,this._renderer.setProperty(this.yearSelect.nativeElement,"value",this._year)))}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(pc),r.Y36(r.Qsj))},I.\u0275cmp=r.Xpm({type:I,selectors:[["ngb-datepicker-navigation-select"]],viewQuery:function(S,z){if(1&S&&(r.Gf(Ya,7,r.SBq),r.Gf(rt,7,r.SBq)),2&S){let Me;r.iGM(Me=r.CRH())&&(z.monthSelect=Me.first),r.iGM(Me=r.CRH())&&(z.yearSelect=Me.first)}},inputs:{date:"date",disabled:"disabled",months:"months",years:"years"},outputs:{select:"select"},decls:6,vars:4,consts:function(){let ne,S,z,Me;return ne="Select month",S="Select month",z="Select year",Me="Select year",[["aria-label",ne,"title",S,1,"form-select",3,"disabled","change"],["month",""],[3,"value",4,"ngFor","ngForOf"],["aria-label",z,"title",Me,1,"form-select",3,"disabled","change"],["year",""],[3,"value"]]},template:function(S,z){1&S&&(r.TgZ(0,"select",0,1),r.NdJ("change",function(Ke){return z.changeMonth(Ke.target.value)}),r.YNc(2,qt,2,3,"option",2),r.qZA(),r.TgZ(3,"select",3,4),r.NdJ("change",function(Ke){return z.changeYear(Ke.target.value)}),r.YNc(5,pt,2,2,"option",2),r.qZA()),2&S&&(r.Q6J("disabled",z.disabled),r.xp6(2),r.Q6J("ngForOf",z.months),r.xp6(1),r.Q6J("disabled",z.disabled),r.xp6(2),r.Q6J("ngForOf",z.years))},directives:[a.sg,hr.YN,hr.Kr],styles:["ngb-datepicker-navigation-select>.form-select{flex:1 1 auto;padding:0 .5rem;font-size:.875rem;height:1.85rem}ngb-datepicker-navigation-select>.form-select:focus{z-index:1}ngb-datepicker-navigation-select>.form-select::-ms-value{background-color:transparent!important}\n"],encapsulation:2,changeDetection:0}),I})(),X=(()=>{class I{constructor(S){this.i18n=S,this.navigation=Nl,this.months=[],this.navigate=new r.vpe,this.select=new r.vpe}onClickPrev(S){S.currentTarget.focus(),this.navigate.emit(this.navigation.PREV)}onClickNext(S){S.currentTarget.focus(),this.navigate.emit(this.navigation.NEXT)}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(pc))},I.\u0275cmp=r.Xpm({type:I,selectors:[["ngb-datepicker-navigation"]],inputs:{date:"date",disabled:"disabled",months:"months",showSelect:"showSelect",prevDisabled:"prevDisabled",nextDisabled:"nextDisabled",selectBoxes:"selectBoxes"},outputs:{navigate:"navigate",select:"select"},decls:8,vars:4,consts:function(){let ne,S,z,Me;return ne="Previous month",S="Previous month",z="Next month",Me="Next month",[[1,"ngb-dp-arrow"],["type","button","aria-label",ne,"title",S,1,"btn","btn-link","ngb-dp-arrow-btn",3,"disabled","click"],[1,"ngb-dp-navigation-chevron"],["class","ngb-dp-navigation-select",3,"date","disabled","months","years","select",4,"ngIf"],[4,"ngIf"],[1,"ngb-dp-arrow","right"],["type","button","aria-label",z,"title",Me,1,"btn","btn-link","ngb-dp-arrow-btn",3,"disabled","click"],[1,"ngb-dp-navigation-select",3,"date","disabled","months","years","select"],["ngFor","",3,"ngForOf"],["class","ngb-dp-arrow",4,"ngIf"],[1,"ngb-dp-month-name"]]},template:function(S,z){1&S&&(r.TgZ(0,"div",0)(1,"button",1),r.NdJ("click",function(Ke){return z.onClickPrev(Ke)}),r._UZ(2,"span",2),r.qZA()(),r.YNc(3,Kt,1,4,"ngb-datepicker-navigation-select",3),r.YNc(4,as,1,1,null,4),r.TgZ(5,"div",5)(6,"button",6),r.NdJ("click",function(Ke){return z.onClickNext(Ke)}),r._UZ(7,"span",2),r.qZA()()),2&S&&(r.xp6(1),r.Q6J("disabled",z.prevDisabled),r.xp6(2),r.Q6J("ngIf",z.showSelect),r.xp6(1),r.Q6J("ngIf",!z.showSelect),r.xp6(2),r.Q6J("disabled",z.nextDisabled))},directives:[L,a.O5,a.sg],styles:["ngb-datepicker-navigation{display:flex;align-items:center}.ngb-dp-navigation-chevron{border-style:solid;border-width:.2em .2em 0 0;display:inline-block;width:.75em;height:.75em;margin-left:.25em;margin-right:.15em;transform:rotate(-135deg)}.ngb-dp-arrow{display:flex;flex:1 1 auto;padding-right:0;padding-left:0;margin:0;width:2rem;height:2rem}.ngb-dp-arrow.right{justify-content:flex-end}.ngb-dp-arrow.right .ngb-dp-navigation-chevron{transform:rotate(45deg);margin-left:.15em;margin-right:.25em}.ngb-dp-arrow-btn{padding:0 .25rem;margin:0 .5rem;border:none;background-color:transparent;z-index:1}.ngb-dp-arrow-btn:focus{outline-width:1px;outline-style:auto}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.ngb-dp-arrow-btn:focus{outline-style:solid}}.ngb-dp-month-name{font-size:larger;height:2rem;line-height:2rem;text-align:center}.ngb-dp-navigation-select{display:flex;flex:1 1 9rem}\n"],encapsulation:2,changeDetection:0}),I})();var de=(()=>{return(I=de||(de={}))[I.Tab=9]="Tab",I[I.Enter=13]="Enter",I[I.Escape=27]="Escape",I[I.Space=32]="Space",I[I.PageUp=33]="PageUp",I[I.PageDown=34]="PageDown",I[I.End=35]="End",I[I.Home=36]="Home",I[I.ArrowLeft=37]="ArrowLeft",I[I.ArrowUp=38]="ArrowUp",I[I.ArrowRight=39]="ArrowRight",I[I.ArrowDown=40]="ArrowDown",de;var I})();let ve=(()=>{class I{processKey(S,z){const{state:Me,calendar:Ke}=z;switch(S.which){case de.PageUp:z.focusDate(Ke.getPrev(Me.focusedDate,S.shiftKey?"y":"m",1));break;case de.PageDown:z.focusDate(Ke.getNext(Me.focusedDate,S.shiftKey?"y":"m",1));break;case de.End:z.focusDate(S.shiftKey?Me.maxDate:Me.lastDate);break;case de.Home:z.focusDate(S.shiftKey?Me.minDate:Me.firstDate);break;case de.ArrowLeft:z.focusDate(Ke.getPrev(Me.focusedDate,"d",1));break;case de.ArrowUp:z.focusDate(Ke.getPrev(Me.focusedDate,"d",Ke.getDaysPerWeek()));break;case de.ArrowRight:z.focusDate(Ke.getNext(Me.focusedDate,"d",1));break;case de.ArrowDown:z.focusDate(Ke.getNext(Me.focusedDate,"d",Ke.getDaysPerWeek()));break;case de.Enter:case de.Space:z.focusSelect();break;default:return}S.preventDefault(),S.stopPropagation()}}return I.\u0275fac=function(S){return new(S||I)},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),Ye=(()=>{class I{constructor(S){this.templateRef=S}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(r.Rgc))},I.\u0275dir=r.lG2({type:I,selectors:[["ng-template","ngbDatepickerContent",""]]}),I})(),xe=(()=>{class I{constructor(S,z,Me,Ke,gn,yr,Nr,vi){this._service=S,this._calendar=z,this.i18n=Me,this._elementRef=yr,this._ngbDateAdapter=Nr,this._ngZone=vi,this._controlValue=null,this._destroyed$=new p.xQ,this._publicState={},this.navigate=new r.vpe,this.dateSelect=new r.vpe,this.onChange=di=>{},this.onTouched=()=>{},["dayTemplate","dayTemplateData","displayMonths","firstDayOfWeek","footerTemplate","markDisabled","minDate","maxDate","navigation","outsideDays","showWeekNumbers","startDate","weekdays"].forEach(di=>this[di]=Ke[di]),S.dateSelect$.pipe((0,Ge.R)(this._destroyed$)).subscribe(di=>{this.dateSelect.emit(di)}),S.model$.pipe((0,Ge.R)(this._destroyed$)).subscribe(di=>{const ts=di.firstDate,Do=this.model?this.model.firstDate:null;this._publicState={maxDate:di.maxDate,minDate:di.minDate,firstDate:di.firstDate,lastDate:di.lastDate,focusedDate:di.focusDate,months:di.months.map(D=>D.firstDate)};let Ss=!1;if(!ts.equals(Do)&&(this.navigate.emit({current:Do?{year:Do.year,month:Do.month}:null,next:{year:ts.year,month:ts.month},preventDefault:()=>Ss=!0}),Ss&&null!==Do))return void this._service.open(Do);const Yo=di.selectedDate,ia=di.focusDate,y=this.model?this.model.focusDate:null;this.model=di,zc(Yo,this._controlValue)&&(this._controlValue=Yo,this.onTouched(),this.onChange(this._ngbDateAdapter.toModel(Yo))),zc(ia,y)&&y&&di.focusVisible&&this.focus(),gn.markForCheck()})}get state(){return this._publicState}get calendar(){return this._calendar}focusDate(S){this._service.focus(Oa.from(S))}focusSelect(){this._service.focusSelect()}focus(){this._ngZone.onStable.asObservable().pipe((0,Tt.q)(1)).subscribe(()=>{const S=this._elementRef.nativeElement.querySelector('div.ngb-dp-day[tabindex="0"]');S&&S.focus()})}navigateTo(S){this._service.open(Oa.from(S?S.day?S:Object.assign(Object.assign({},S),{day:1}):null))}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{const S=(0,g.R)(this._contentEl.nativeElement,"focusin"),z=(0,g.R)(this._contentEl.nativeElement,"focusout"),{nativeElement:Me}=this._elementRef;(0,Xe.T)(S,z).pipe((0,Oe.h)(({target:Ke,relatedTarget:gn})=>!(gr(Ke,"ngb-dp-day")&&gr(gn,"ngb-dp-day")&&Me.contains(Ke)&&Me.contains(gn))),(0,Ge.R)(this._destroyed$)).subscribe(({type:Ke})=>this._ngZone.run(()=>this._service.set({focusVisible:"focusin"===Ke})))})}ngOnDestroy(){this._destroyed$.next()}ngOnInit(){if(void 0===this.model){const S={};["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays","weekdays"].forEach(z=>S[z]=this[z]),this._service.set(S),this.navigateTo(this.startDate)}this.dayTemplate||(this.dayTemplate=this._defaultDayTemplate)}ngOnChanges(S){const z={};if(["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays","weekdays"].filter(Me=>Me in S).forEach(Me=>z[Me]=this[Me]),this._service.set(z),"startDate"in S){const{currentValue:Me,previousValue:Ke}=S.startDate;sd(Ke,Me)&&this.navigateTo(this.startDate)}}onDateSelect(S){this._service.focus(S),this._service.select(S,{emitEvent:!0})}onNavigateDateSelect(S){this._service.open(S)}onNavigateEvent(S){switch(S){case Nl.PREV:this._service.open(this._calendar.getPrev(this.model.firstDate,"m",1));break;case Nl.NEXT:this._service.open(this._calendar.getNext(this.model.firstDate,"m",1))}}registerOnChange(S){this.onChange=S}registerOnTouched(S){this.onTouched=S}setDisabledState(S){this._service.set({disabled:S})}writeValue(S){this._controlValue=Oa.from(this._ngbDateAdapter.fromModel(S)),this._service.select(this._controlValue)}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(Jc),r.Y36(Zu),r.Y36(pc),r.Y36(Uc),r.Y36(r.sBO),r.Y36(r.SBq),r.Y36(h),r.Y36(r.R0b))},I.\u0275cmp=r.Xpm({type:I,selectors:[["ngb-datepicker"]],contentQueries:function(S,z,Me){if(1&S&&r.Suo(Me,Ye,7),2&S){let Ke;r.iGM(Ke=r.CRH())&&(z.contentTemplate=Ke.first)}},viewQuery:function(S,z){if(1&S&&(r.Gf(Vs,7),r.Gf(Os,7)),2&S){let Me;r.iGM(Me=r.CRH())&&(z._defaultDayTemplate=Me.first),r.iGM(Me=r.CRH())&&(z._contentEl=Me.first)}},inputs:{dayTemplate:"dayTemplate",dayTemplateData:"dayTemplateData",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",footerTemplate:"footerTemplate",markDisabled:"markDisabled",maxDate:"maxDate",minDate:"minDate",navigation:"navigation",outsideDays:"outsideDays",showWeekNumbers:"showWeekNumbers",startDate:"startDate",weekdays:"weekdays"},outputs:{navigate:"navigate",dateSelect:"dateSelect"},exportAs:["ngbDatepicker"],features:[r._Bn([{provide:hr.JU,useExisting:(0,r.Gpc)(()=>I),multi:!0},Jc]),r.TTD],decls:10,vars:5,consts:[["defaultDayTemplate",""],["defaultContentTemplate",""],[1,"ngb-dp-header"],[3,"date","months","disabled","showSelect","prevDisabled","nextDisabled","selectBoxes","navigate","select",4,"ngIf"],[1,"ngb-dp-content"],["content",""],[3,"ngTemplateOutlet"],["ngbDatepickerDayView","",3,"date","currentMonth","selected","disabled","focused"],["class","ngb-dp-month",4,"ngFor","ngForOf"],[1,"ngb-dp-month"],["class","ngb-dp-month-name",4,"ngIf"],[3,"month"],[1,"ngb-dp-month-name"],[3,"date","months","disabled","showSelect","prevDisabled","nextDisabled","selectBoxes","navigate","select"]],template:function(S,z){if(1&S&&(r.YNc(0,ws,1,5,"ng-template",null,0,r.W1O),r.YNc(2,al,1,1,"ng-template",null,1,r.W1O),r.TgZ(4,"div",2),r.YNc(5,Bs,1,7,"ngb-datepicker-navigation",3),r.qZA(),r.TgZ(6,"div",4,5),r.YNc(8,mt,0,0,"ng-template",6),r.qZA(),r.YNc(9,ot,0,0,"ng-template",6)),2&S){const Me=r.MAs(3);r.xp6(5),r.Q6J("ngIf","none"!==z.navigation),r.xp6(1),r.ekj("ngb-dp-months",!z.contentTemplate),r.xp6(2),r.Q6J("ngTemplateOutlet",(null==z.contentTemplate?null:z.contentTemplate.templateRef)||Me),r.xp6(1),r.Q6J("ngTemplateOutlet",z.footerTemplate)}},directives:function(){return[P,nt,X,a.sg,a.O5,a.tP]},styles:["ngb-datepicker{border:1px solid #dfdfdf;border-radius:.25rem;display:inline-block}ngb-datepicker-month{pointer-events:auto}ngb-datepicker.dropdown-menu{padding:0}.ngb-dp-body{z-index:1055}.ngb-dp-header{border-bottom:0;border-radius:.25rem .25rem 0 0;padding-top:.25rem;background-color:#f8f9fa;background-color:var(--bs-light)}.ngb-dp-months{display:flex}.ngb-dp-month{pointer-events:none}.ngb-dp-month-name{font-size:larger;height:2rem;line-height:2rem;text-align:center;background-color:#f8f9fa;background-color:var(--bs-light)}.ngb-dp-month+.ngb-dp-month .ngb-dp-month-name,.ngb-dp-month+.ngb-dp-month .ngb-dp-week{padding-left:1rem}.ngb-dp-month:last-child .ngb-dp-week{padding-right:.25rem}.ngb-dp-month:first-child .ngb-dp-week{padding-left:.25rem}.ngb-dp-month .ngb-dp-week:last-child{padding-bottom:.25rem}\n"],encapsulation:2,changeDetection:0}),I})(),nt=(()=>{class I{constructor(S,z,Me,Ke){this.i18n=S,this.datepicker=z,this._keyboardService=Me,this._service=Ke}set month(S){this.viewModel=this._service.getMonth(S)}onKeyDown(S){this._keyboardService.processKey(S,this.datepicker)}doSelect(S){!S.context.disabled&&!S.hidden&&this.datepicker.onDateSelect(S.date)}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(pc),r.Y36(xe),r.Y36(ve),r.Y36(Jc))},I.\u0275cmp=r.Xpm({type:I,selectors:[["ngb-datepicker-month"]],hostAttrs:["role","grid"],hostBindings:function(S,z){1&S&&r.NdJ("keydown",function(Ke){return z.onKeyDown(Ke)})},inputs:{month:"month"},decls:2,vars:2,consts:[["class","ngb-dp-week ngb-dp-weekdays","role","row",4,"ngIf"],["ngFor","",3,"ngForOf"],["role","row",1,"ngb-dp-week","ngb-dp-weekdays"],["class","ngb-dp-weekday ngb-dp-showweek small",4,"ngIf"],["class","ngb-dp-weekday small","role","columnheader",4,"ngFor","ngForOf"],[1,"ngb-dp-weekday","ngb-dp-showweek","small"],["role","columnheader",1,"ngb-dp-weekday","small"],["class","ngb-dp-week","role","row",4,"ngIf"],["role","row",1,"ngb-dp-week"],["class","ngb-dp-week-number small text-muted",4,"ngIf"],["class","ngb-dp-day","role","gridcell",3,"disabled","tabindex","hidden","ngb-dp-today","click",4,"ngFor","ngForOf"],[1,"ngb-dp-week-number","small","text-muted"],["role","gridcell",1,"ngb-dp-day",3,"tabindex","click"],[3,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(S,z){1&S&&(r.YNc(0,Si,3,2,"div",0),r.YNc(1,hd,1,1,"ng-template",1)),2&S&&(r.Q6J("ngIf",z.viewModel.weekdays.length>0),r.xp6(1),r.Q6J("ngForOf",z.viewModel.weeks))},directives:[a.O5,a.sg,a.tP],styles:['ngb-datepicker-month{display:block}.ngb-dp-weekday,.ngb-dp-week-number{line-height:2rem;text-align:center;font-style:italic}.ngb-dp-weekday{color:#0dcaf0;color:var(--bs-info)}.ngb-dp-week{border-radius:.25rem;display:flex}.ngb-dp-weekdays{border-bottom:1px solid rgba(0,0,0,.125);border-radius:0;background-color:#f8f9fa;background-color:var(--bs-light)}.ngb-dp-day,.ngb-dp-weekday,.ngb-dp-week-number{width:2rem;height:2rem}.ngb-dp-day{cursor:pointer}.ngb-dp-day.disabled,.ngb-dp-day.hidden{cursor:default;pointer-events:none}.ngb-dp-day[tabindex="0"]{z-index:1}\n'],encapsulation:2}),I})();const St=(I,ne)=>!!ne&&ne.some(S=>S.contains(I)),Mt=(I,ne)=>!ne||null!=function gi(I,ne){return ne&&void 0!==I.closest?I.closest(ne):null}(I,ne),fn="undefined"!=typeof navigator&&!!navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent));function Vn(I,ne,S,z,Me,Ke,gn,yr){S&&I.runOutsideAngular((I=>fn?()=>setTimeout(()=>I(),100):I)(()=>{const vi=(0,g.R)(ne,"keydown").pipe((0,Ge.R)(Me),(0,Oe.h)(Do=>Do.which===de.Escape),(0,dn.b)(Do=>Do.preventDefault())),di=(0,g.R)(ne,"mousedown").pipe((0,We.U)(Do=>{const Ss=Do.target;return 2!==Do.button&&!St(Ss,gn)&&("inside"===S?St(Ss,Ke)&&Mt(Ss,yr):"outside"===S?!St(Ss,Ke):Mt(Ss,yr)||!St(Ss,Ke))}),(0,Ge.R)(Me)),ts=(0,g.R)(ne,"mouseup").pipe(rn(di),(0,Oe.h)(([Do,Ss])=>Ss),(0,Ct.g)(0),(0,Ge.R)(Me));W([vi.pipe((0,We.U)(Do=>0)),ts.pipe((0,We.U)(Do=>1))]).subscribe(Do=>I.run(()=>z(Do)))}))}const fr=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function $r(I){const ne=Array.from(I.querySelectorAll(fr)).filter(S=>-1!==S.tabIndex);return[ne[0],ne[ne.length-1]]}const Ui=(I,ne,S,z=!1)=>{I.runOutsideAngular(()=>{const Me=(0,g.R)(ne,"focusin").pipe((0,Ge.R)(S),(0,We.U)(Ke=>Ke.target));(0,g.R)(ne,"keydown").pipe((0,Ge.R)(S),(0,Oe.h)(Ke=>Ke.which===de.Tab),rn(Me)).subscribe(([Ke,gn])=>{const[yr,Nr]=$r(ne);(gn===yr||gn===ne)&&Ke.shiftKey&&(Nr.focus(),Ke.preventDefault()),gn===Nr&&!Ke.shiftKey&&(yr.focus(),Ke.preventDefault())}),z&&(0,g.R)(ne,"click").pipe((0,Ge.R)(S),rn(Me),(0,We.U)(Ke=>Ke[1])).subscribe(Ke=>Ke.focus())})},is=/\s+/,yo=/  +/gi,Zs=/^start/,qs=/^end/,el=/-(top|left)$/,$a=/-(bottom|right)$/,wa=/^left/,Gl=/^right/,_u=/^start/,Va=/^end/;function ku({placement:I,baseClass:ne}){let S=Array.isArray(I)?I:I.split(is),Me=S.findIndex(Nr=>"auto"===Nr);Me>=0&&["top","bottom","start","end","top-start","top-end","bottom-start","bottom-end","start-top","start-bottom","end-top","end-bottom"].forEach(function(Nr){null==S.find(vi=>-1!==vi.search("^"+Nr))&&S.splice(Me++,1,Nr)});const Ke=S.map(Nr=>function Ga(I){return I.replace(Zs,"left").replace(qs,"right").replace(el,"-start").replace($a,"-end")}(Nr));return{placement:Ke.shift(),modifiers:[{name:"bootstrapClasses",enabled:!!ne,phase:"write",fn({state:Nr}){const vi=new RegExp(ne+"(-[a-z]+)*","gi"),di=Nr.elements.popper,ts=Nr.placement;let Do=di.className;Do=Do.replace(vi,""),Do+=` ${function Mu(I,ne){let[S,z]=ne.split("-");const Me=S.replace(wa,"start").replace(Gl,"end");let Ke=[Me];if(z){let gn=z;("left"===S||"right"===S)&&(gn=gn.replace(_u,"top").replace(Va,"bottom")),Ke.push(`${Me}-${gn}`)}return I&&(Ke=Ke.map(gn=>`${I}-${gn}`)),Ke.join(" ")}(ne,ts)}`,Do=Do.trim().replace(yo," "),di.className=Do}},$n,js,ya,{enabled:!0,name:"flip",options:{fallbackPlacements:Ke}},{enabled:!0,name:"preventOverflow",phase:"main",fn:function(){}}]}}function xc(I){return I}function Ou(){let I=null;return{createPopper(ne){if(!I){let z=(ne.updatePopperOptions||xc)(ku(ne));I=_s(ne.hostElement,ne.targetElement,z)}},update(){I&&I.update()},setOptions(ne){if(I){let z=(ne.updatePopperOptions||xc)(ku(ne));I.setOptions(z)}},destroy(){I&&(I.destroy(),I=null)}}}let Qd=(()=>{class I extends Uc{constructor(){super(...arguments),this.autoClose=!0,this.placement=["bottom-start","bottom-end","top-start","top-end"],this.restoreFocus=!0}}return I.\u0275fac=function(){let ne;return function(z){return(ne||(ne=r.n5z(I)))(z||I)}}(),I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})();function il(I){return ne=>(ne.modifiers.push(Ks,{name:"offset",options:{offset:()=>I}}),ne)}let be=(()=>{class I{}return I.\u0275fac=function(S){return new(S||I)},I.\u0275prov=r.Yz7({token:I,factory:function(){return function K(){return new lt}()},providedIn:"root"}),I})(),lt=(()=>{class I extends be{parse(S){if(null!=S){const z=S.trim().split("-");if(1===z.length&&Ae(z[0]))return{year:En(z[0]),month:null,day:null};if(2===z.length&&Ae(z[0])&&Ae(z[1]))return{year:En(z[0]),month:En(z[1]),day:null};if(3===z.length&&Ae(z[0])&&Ae(z[1])&&Ae(z[2]))return{year:En(z[0]),month:En(z[1]),day:En(z[2])}}return null}format(S){return S?`${S.year}-${Ae(S.month)?sn(S.month):""}-${Ae(S.day)?sn(S.day):""}`:""}}return I.\u0275fac=function(){let ne;return function(z){return(ne||(ne=r.n5z(I)))(z||I)}}(),I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac}),I})(),wt=(()=>{class I{constructor(S,z,Me,Ke,gn,yr,Nr,vi,di,ts){this._parserFormatter=S,this._elRef=z,this._vcRef=Me,this._renderer=Ke,this._ngZone=gn,this._calendar=yr,this._dateAdapter=Nr,this._document=vi,this._changeDetector=di,this._cRef=null,this._disabled=!1,this._elWithFocus=null,this._model=null,this._positioning=Ou(),this._destroyCloseHandlers$=new p.xQ,this.dateSelect=new r.vpe,this.navigate=new r.vpe,this.closed=new r.vpe,this._onChange=Do=>{},this._onTouched=()=>{},this._validatorChange=()=>{},["autoClose","container","positionTarget","placement"].forEach(Do=>this[Do]=ts[Do])}get disabled(){return this._disabled}set disabled(S){this._disabled=""===S||S&&"false"!==S,this.isOpen()&&this._cRef.instance.setDisabledState(this._disabled)}registerOnChange(S){this._onChange=S}registerOnTouched(S){this._onTouched=S}registerOnValidatorChange(S){this._validatorChange=S}setDisabledState(S){this.disabled=S}validate(S){const{value:z}=S;if(null!=z){const Me=this._fromDateStruct(this._dateAdapter.fromModel(z));if(!Me)return{ngbDate:{invalid:z}};if(this.minDate&&Me.before(Oa.from(this.minDate)))return{ngbDate:{minDate:{minDate:this.minDate,actual:z}}};if(this.maxDate&&Me.after(Oa.from(this.maxDate)))return{ngbDate:{maxDate:{maxDate:this.maxDate,actual:z}}}}return null}writeValue(S){this._model=this._fromDateStruct(this._dateAdapter.fromModel(S)),this._writeModelValue(this._model)}manualDateChange(S,z=!1){const Me=S!==this._inputValue;Me&&(this._inputValue=S,this._model=this._fromDateStruct(this._parserFormatter.parse(S))),(Me||!z)&&this._onChange(this._model?this._dateAdapter.toModel(this._model):""===S?null:S),z&&this._model&&this._writeModelValue(this._model)}isOpen(){return!!this._cRef}open(){if(!this.isOpen()){let S;if(this._cRef=this._vcRef.createComponent(xe),this._applyPopupStyling(this._cRef.location.nativeElement),this._applyDatepickerInputs(this._cRef.instance),this._subscribeForDatepickerOutputs(this._cRef.instance),this._cRef.instance.ngOnInit(),this._cRef.instance.writeValue(this._dateAdapter.toModel(this._model)),this._cRef.instance.registerOnChange(z=>{this.writeValue(z),this._onChange(z),this._onTouched()}),this._cRef.changeDetectorRef.detectChanges(),this._cRef.instance.setDisabledState(this.disabled),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._cRef.location.nativeElement),this._elWithFocus=this._document.activeElement,Ui(this._ngZone,this._cRef.location.nativeElement,this.closed,!0),setTimeout(()=>{var z;return null===(z=this._cRef)||void 0===z?void 0:z.instance.focus()}),S=Ze(this.positionTarget)?this._document.querySelector(this.positionTarget):this.positionTarget instanceof HTMLElement?this.positionTarget:this._elRef.nativeElement,this._ngZone.runOutsideAngular(()=>{this._cRef&&(this._positioning.createPopper({hostElement:S,targetElement:this._cRef.location.nativeElement,placement:this.placement,appendToBody:"body"===this.container,updatePopperOptions:il([0,2])}),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positioning.update()))}),this.positionTarget&&!S)throw new Error("ngbDatepicker could not find element declared in [positionTarget] to position against.");this._setCloseHandlers()}}close(){var S;if(this.isOpen()){this._vcRef.remove(this._vcRef.indexOf(this._cRef.hostView)),this._cRef=null,this._positioning.destroy(),null===(S=this._zoneSubscription)||void 0===S||S.unsubscribe(),this._destroyCloseHandlers$.next(),this.closed.emit(),this._changeDetector.markForCheck();let z=this._elWithFocus;Ze(this.restoreFocus)?z=this._document.querySelector(this.restoreFocus):void 0!==this.restoreFocus&&(z=this.restoreFocus),z&&z.focus?z.focus():this._document.body.focus()}}toggle(){this.isOpen()?this.close():this.open()}navigateTo(S){this.isOpen()&&this._cRef.instance.navigateTo(S)}onBlur(){this._onTouched()}onFocus(){this._elWithFocus=this._elRef.nativeElement}ngOnChanges(S){if((S.minDate||S.maxDate)&&(this._validatorChange(),this.isOpen()&&(S.minDate&&(this._cRef.instance.minDate=this.minDate),S.maxDate&&(this._cRef.instance.maxDate=this.maxDate),this._cRef.instance.ngOnChanges(S))),S.datepickerClass){const{currentValue:z,previousValue:Me}=S.datepickerClass;this._applyPopupClass(z,Me)}S.autoClose&&this.isOpen()&&this._setCloseHandlers()}ngOnDestroy(){this.close()}_applyDatepickerInputs(S){["dayTemplate","dayTemplateData","displayMonths","firstDayOfWeek","footerTemplate","markDisabled","minDate","maxDate","navigation","outsideDays","showNavigation","showWeekNumbers","weekdays"].forEach(z=>{void 0!==this[z]&&(S[z]=this[z])}),S.startDate=this.startDate||this._model}_applyPopupClass(S,z){var Me;const Ke=null===(Me=this._cRef)||void 0===Me?void 0:Me.location.nativeElement;Ke&&(S&&this._renderer.addClass(Ke,S),z&&this._renderer.removeClass(Ke,z))}_applyPopupStyling(S){this._renderer.addClass(S,"dropdown-menu"),this._renderer.addClass(S,"show"),"body"===this.container&&this._renderer.addClass(S,"ngb-dp-body"),this._applyPopupClass(this.datepickerClass)}_subscribeForDatepickerOutputs(S){S.navigate.subscribe(z=>this.navigate.emit(z)),S.dateSelect.subscribe(z=>{this.dateSelect.emit(z),(!0===this.autoClose||"inside"===this.autoClose)&&this.close()})}_writeModelValue(S){const z=this._parserFormatter.format(S);this._inputValue=z,this._renderer.setProperty(this._elRef.nativeElement,"value",z),this.isOpen()&&(this._cRef.instance.writeValue(this._dateAdapter.toModel(S)),this._onTouched())}_fromDateStruct(S){const z=S?new Oa(S.year,S.month,S.day):null;return this._calendar.isValid(z)?z:null}_setCloseHandlers(){this._destroyCloseHandlers$.next(),Vn(this._ngZone,this._document,this.autoClose,()=>this.close(),this._destroyCloseHandlers$,[],[this._elRef.nativeElement,this._cRef.location.nativeElement])}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(be),r.Y36(r.SBq),r.Y36(r.s_b),r.Y36(r.Qsj),r.Y36(r.R0b),r.Y36(Zu),r.Y36(h),r.Y36(a.K0),r.Y36(r.sBO),r.Y36(Qd))},I.\u0275dir=r.lG2({type:I,selectors:[["input","ngbDatepicker",""]],hostVars:1,hostBindings:function(S,z){1&S&&r.NdJ("input",function(Ke){return z.manualDateChange(Ke.target.value)})("change",function(Ke){return z.manualDateChange(Ke.target.value,!0)})("focus",function(){return z.onFocus()})("blur",function(){return z.onBlur()}),2&S&&r.Ikx("disabled",z.disabled)},inputs:{autoClose:"autoClose",datepickerClass:"datepickerClass",dayTemplate:"dayTemplate",dayTemplateData:"dayTemplateData",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",footerTemplate:"footerTemplate",markDisabled:"markDisabled",minDate:"minDate",maxDate:"maxDate",navigation:"navigation",outsideDays:"outsideDays",placement:"placement",restoreFocus:"restoreFocus",showWeekNumbers:"showWeekNumbers",startDate:"startDate",container:"container",positionTarget:"positionTarget",weekdays:"weekdays",disabled:"disabled"},outputs:{dateSelect:"dateSelect",navigate:"navigate",closed:"closed"},exportAs:["ngbDatepicker"],features:[r._Bn([{provide:hr.JU,useExisting:(0,r.Gpc)(()=>I),multi:!0},{provide:hr.Cf,useExisting:(0,r.Gpc)(()=>I),multi:!0},{provide:Uc,useExisting:Qd}]),r.TTD]}),I})();new Date(1882,10,12),new Date(2174,10,25);let Td=(()=>{class I{}return I.\u0275fac=function(S){return new(S||I)},I.\u0275mod=r.oAB({type:I}),I.\u0275inj=r.cJS({imports:[[a.ez,hr.u5]]}),I})(),m_=(()=>{class I{constructor(){this.autoClose=!0,this.placement=["bottom-start","bottom-end","top-start","top-end"]}}return I.\u0275fac=function(S){return new(S||I)},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),zh=(()=>{class I{}return I.\u0275fac=function(S){return new(S||I)},I.\u0275dir=r.lG2({type:I,selectors:[["",8,"navbar"]]}),I})(),Wh=(()=>{class I{constructor(S,z){this.elementRef=S,this._renderer=z,this._disabled=!1}set disabled(S){this._disabled=""===S||!0===S,this._renderer.setProperty(this.elementRef.nativeElement,"disabled",this._disabled)}get disabled(){return this._disabled}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(r.SBq),r.Y36(r.Qsj))},I.\u0275dir=r.lG2({type:I,selectors:[["","ngbDropdownItem",""]],hostAttrs:[1,"dropdown-item"],hostVars:3,hostBindings:function(S,z){2&S&&(r.Ikx("tabIndex",z.disabled?-1:0),r.ekj("disabled",z.disabled))},inputs:{disabled:"disabled"}}),I})(),Cd=(()=>{class I{constructor(S,z){this.dropdown=S,this.placement="bottom",this.isOpen=!1,this.nativeElement=z.nativeElement}}return I.\u0275fac=function(S){return new(S||I)(r.Y36((0,r.Gpc)(()=>bp)),r.Y36(r.SBq))},I.\u0275dir=r.lG2({type:I,selectors:[["","ngbDropdownMenu",""]],contentQueries:function(S,z,Me){if(1&S&&r.Suo(Me,Wh,4),2&S){let Ke;r.iGM(Ke=r.CRH())&&(z.menuItems=Ke)}},hostVars:4,hostBindings:function(S,z){1&S&&r.NdJ("keydown.ArrowUp",function(Ke){return z.dropdown.onKeyDown(Ke)})("keydown.ArrowDown",function(Ke){return z.dropdown.onKeyDown(Ke)})("keydown.Home",function(Ke){return z.dropdown.onKeyDown(Ke)})("keydown.End",function(Ke){return z.dropdown.onKeyDown(Ke)})("keydown.Enter",function(Ke){return z.dropdown.onKeyDown(Ke)})("keydown.Space",function(Ke){return z.dropdown.onKeyDown(Ke)})("keydown.Tab",function(Ke){return z.dropdown.onKeyDown(Ke)})("keydown.Shift.Tab",function(Ke){return z.dropdown.onKeyDown(Ke)}),2&S&&r.ekj("dropdown-menu",!0)("show",z.dropdown.isOpen())}}),I})(),mu=(()=>{class I{constructor(S,z){this.dropdown=S,this.nativeElement=z.nativeElement}}return I.\u0275fac=function(S){return new(S||I)(r.Y36((0,r.Gpc)(()=>bp)),r.Y36(r.SBq))},I.\u0275dir=r.lG2({type:I,selectors:[["","ngbDropdownAnchor",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:1,hostBindings:function(S,z){2&S&&r.uIk("aria-expanded",z.dropdown.isOpen())}}),I})(),Jh=(()=>{class I extends mu{constructor(S,z){super(S,z)}}return I.\u0275fac=function(S){return new(S||I)(r.Y36((0,r.Gpc)(()=>bp)),r.Y36(r.SBq))},I.\u0275dir=r.lG2({type:I,selectors:[["","ngbDropdownToggle",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:1,hostBindings:function(S,z){1&S&&r.NdJ("click",function(){return z.dropdown.toggle()})("keydown.ArrowUp",function(Ke){return z.dropdown.onKeyDown(Ke)})("keydown.ArrowDown",function(Ke){return z.dropdown.onKeyDown(Ke)})("keydown.Home",function(Ke){return z.dropdown.onKeyDown(Ke)})("keydown.End",function(Ke){return z.dropdown.onKeyDown(Ke)})("keydown.Tab",function(Ke){return z.dropdown.onKeyDown(Ke)})("keydown.Shift.Tab",function(Ke){return z.dropdown.onKeyDown(Ke)}),2&S&&r.uIk("aria-expanded",z.dropdown.isOpen())},features:[r._Bn([{provide:mu,useExisting:(0,r.Gpc)(()=>I)}]),r.qOj]}),I})(),bp=(()=>{class I{constructor(S,z,Me,Ke,gn,yr,Nr){this._changeDetector=S,this._document=Me,this._ngZone=Ke,this._elementRef=gn,this._renderer=yr,this._destroyCloseHandlers$=new p.xQ,this._bodyContainer=null,this._positioning=Ou(),this._open=!1,this.openChange=new r.vpe,this.placement=z.placement,this.container=z.container,this.autoClose=z.autoClose,this.display=Nr?"static":"dynamic"}ngAfterContentInit(){this._ngZone.onStable.pipe((0,Tt.q)(1)).subscribe(()=>{this._applyPlacementClasses(),this._open&&this._setCloseHandlers()})}ngOnChanges(S){if(S.container&&this._open&&this._applyContainer(this.container),S.placement&&!S.placement.firstChange&&(this._positioning.setOptions({hostElement:this._anchor.nativeElement,targetElement:this._bodyContainer||this._menu.nativeElement,placement:this.placement,appendToBody:"body"===this.container}),this._applyPlacementClasses()),S.dropdownClass){const{currentValue:z,previousValue:Me}=S.dropdownClass;this._applyCustomDropdownClass(z,Me)}S.autoClose&&this._open&&(this.autoClose=S.autoClose.currentValue,this._setCloseHandlers())}isOpen(){return this._open}open(){this._open||(this._open=!0,this._applyContainer(this.container),this.openChange.emit(!0),this._setCloseHandlers(),this._anchor&&(this._anchor.nativeElement.focus(),"dynamic"===this.display&&this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._anchor.nativeElement,targetElement:this._bodyContainer||this._menu.nativeElement,placement:this.placement,appendToBody:"body"===this.container,updatePopperOptions:il([0,2])}),this._applyPlacementClasses(),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positionMenu())})))}_setCloseHandlers(){this._destroyCloseHandlers$.next(),Vn(this._ngZone,this._document,this.autoClose,S=>{this.close(),0===S&&this._anchor.nativeElement.focus()},this._destroyCloseHandlers$,this._menu?[this._menu.nativeElement]:[],this._anchor?[this._anchor.nativeElement]:[],".dropdown-item,.dropdown-divider")}close(){var S;this._open&&(this._open=!1,this._resetContainer(),this._positioning.destroy(),null===(S=this._zoneSubscription)||void 0===S||S.unsubscribe(),this._destroyCloseHandlers$.next(),this.openChange.emit(!1),this._changeDetector.markForCheck())}toggle(){this.isOpen()?this.close():this.open()}ngOnDestroy(){this.close()}onKeyDown(S){const z=S.which,Me=this._getMenuElements();let Ke=-1,gn=null;const yr=this._isEventFromToggle(S);if(!yr&&Me.length&&Me.forEach((Nr,vi)=>{Nr.contains(S.target)&&(gn=Nr),Nr===this._document.activeElement&&(Ke=vi)}),z!==de.Space&&z!==de.Enter){if(z!==de.Tab){if(yr||gn){if(this.open(),Me.length){switch(z){case de.ArrowDown:Ke=Math.min(Ke+1,Me.length-1);break;case de.ArrowUp:if(this._isDropup()&&-1===Ke){Ke=Me.length-1;break}Ke=Math.max(Ke-1,0);break;case de.Home:Ke=0;break;case de.End:Ke=Me.length-1}Me[Ke].focus()}S.preventDefault()}}else if(S.target&&this.isOpen()&&this.autoClose){if(this._anchor.nativeElement===S.target)return void("body"!==this.container||S.shiftKey?S.shiftKey&&this.close():(this._renderer.setAttribute(this._menu.nativeElement,"tabindex","0"),this._menu.nativeElement.focus(),this._renderer.removeAttribute(this._menu.nativeElement,"tabindex")));if("body"===this.container){const Nr=this._menu.nativeElement.querySelectorAll(fr);S.shiftKey&&S.target===Nr[0]?(this._anchor.nativeElement.focus(),S.preventDefault()):!S.shiftKey&&S.target===Nr[Nr.length-1]&&(this._anchor.nativeElement.focus(),this.close())}else(0,g.R)(S.target,"focusout").pipe((0,Tt.q)(1)).subscribe(({relatedTarget:Nr})=>{this._elementRef.nativeElement.contains(Nr)||this.close()})}}else gn&&(!0===this.autoClose||"inside"===this.autoClose)&&(0,g.R)(gn,"click").pipe((0,Tt.q)(1)).subscribe(()=>this.close())}_isDropup(){return this._elementRef.nativeElement.classList.contains("dropup")}_isEventFromToggle(S){return this._anchor.nativeElement.contains(S.target)}_getMenuElements(){const S=this._menu;return null==S?[]:S.menuItems.filter(z=>!z.disabled).map(z=>z.elementRef.nativeElement)}_positionMenu(){const S=this._menu;this.isOpen()&&S&&("dynamic"===this.display?(this._positioning.update(),this._applyPlacementClasses()):this._applyPlacementClasses(this._getFirstPlacement(this.placement)))}_getFirstPlacement(S){return Array.isArray(S)?S[0]:S.split(" ")[0]}_resetContainer(){const S=this._renderer;this._menu&&S.appendChild(this._elementRef.nativeElement,this._menu.nativeElement),this._bodyContainer&&(S.removeChild(this._document.body,this._bodyContainer),this._bodyContainer=null)}_applyContainer(S=null){if(this._resetContainer(),"body"===S){const z=this._renderer,Me=this._menu.nativeElement,Ke=this._bodyContainer=this._bodyContainer||z.createElement("div");z.setStyle(Ke,"position","absolute"),z.setStyle(Me,"position","static"),z.setStyle(Ke,"z-index","1055"),z.appendChild(Ke,Me),z.appendChild(this._document.body,Ke)}this._applyCustomDropdownClass(this.dropdownClass)}_applyCustomDropdownClass(S,z){const Me="body"===this.container?this._bodyContainer:this._elementRef.nativeElement;Me&&(z&&this._renderer.removeClass(Me,z),S&&this._renderer.addClass(Me,S))}_applyPlacementClasses(S){const z=this._menu;if(z){S||(S=this._getFirstPlacement(this.placement));const Me=this._renderer,Ke=this._elementRef.nativeElement;Me.removeClass(Ke,"dropup"),Me.removeClass(Ke,"dropdown");const{nativeElement:gn}=z;"static"===this.display?(z.placement=null,Me.setAttribute(gn,"data-bs-popper","static")):(z.placement=S,Me.removeAttribute(gn,"data-bs-popper"));const yr=-1!==S.search("^top")?"dropup":"dropdown";Me.addClass(Ke,yr);const Nr=this._bodyContainer;Nr&&(Me.removeClass(Nr,"dropup"),Me.removeClass(Nr,"dropdown"),Me.addClass(Nr,yr))}}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(r.sBO),r.Y36(m_),r.Y36(a.K0),r.Y36(r.R0b),r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(zh,8))},I.\u0275dir=r.lG2({type:I,selectors:[["","ngbDropdown",""]],contentQueries:function(S,z,Me){if(1&S&&(r.Suo(Me,Cd,5),r.Suo(Me,mu,5)),2&S){let Ke;r.iGM(Ke=r.CRH())&&(z._menu=Ke.first),r.iGM(Ke=r.CRH())&&(z._anchor=Ke.first)}},hostVars:2,hostBindings:function(S,z){2&S&&r.ekj("show",z.isOpen())},inputs:{autoClose:"autoClose",dropdownClass:"dropdownClass",_open:["open","_open"],placement:"placement",container:"container",display:"display"},outputs:{openChange:"openChange"},exportAs:["ngbDropdown"],features:[r.TTD]}),I})(),ac=(()=>{class I{}return I.\u0275fac=function(S){return new(S||I)},I.\u0275mod=r.oAB({type:I}),I.\u0275inj=r.cJS({}),I})();class qd{constructor(ne,S,z){this.nodes=ne,this.viewRef=S,this.componentRef=z}}class zf{constructor(ne,S,z,Me,Ke,gn){this._type=ne,this._injector=S,this._viewContainerRef=z,this._renderer=Me,this._ngZone=Ke,this._applicationRef=gn,this._windowRef=null,this._contentRef=null}open(ne,S,z=!1){this._windowRef||(this._contentRef=this._getContentRef(ne,S),this._windowRef=this._viewContainerRef.createComponent(this._type,{index:this._viewContainerRef.length,injector:this._injector,projectableNodes:this._contentRef.nodes}));const{nativeElement:Me}=this._windowRef.location,Ke=this._ngZone.onStable.pipe((0,Tt.q)(1),(0,Gt.zg)(()=>rl(this._ngZone,Me,({classList:gn})=>gn.add("show"),{animation:z,runningTransition:"continue"})));return{windowRef:this._windowRef,transition$:Ke}}close(ne=!1){return this._windowRef?rl(this._ngZone,this._windowRef.location.nativeElement,({classList:S})=>S.remove("show"),{animation:ne,runningTransition:"stop"}).pipe((0,dn.b)(()=>{var S;this._windowRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._windowRef.hostView)),this._windowRef=null),(null===(S=this._contentRef)||void 0===S?void 0:S.viewRef)&&(this._applicationRef.detachView(this._contentRef.viewRef),this._contentRef.viewRef.destroy(),this._contentRef=null)})):(0,e.of)(void 0)}_getContentRef(ne,S){if(ne){if(ne instanceof r.Rgc){const z=ne.createEmbeddedView(S);return this._applicationRef.attachView(z),new qd([z.rootNodes],z)}return new qd([[this._renderer.createText(`${ne}`)]])}return new qd([])}}let Xh=(()=>{class I{constructor(S,z){this._el=S,this._zone=z}ngOnInit(){this._zone.onStable.asObservable().pipe((0,Tt.q)(1)).subscribe(()=>{rl(this._zone,this._el.nativeElement,(S,z)=>{z&&Lo(S),S.classList.add("show")},{animation:this.animation,runningTransition:"continue"})})}hide(){return rl(this._zone,this._el.nativeElement,({classList:S})=>S.remove("show"),{animation:this.animation,runningTransition:"stop"})}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(r.SBq),r.Y36(r.R0b))},I.\u0275cmp=r.Xpm({type:I,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1055"],hostVars:6,hostBindings:function(S,z){2&S&&(r.Tol("modal-backdrop"+(z.backdropClass?" "+z.backdropClass:"")),r.ekj("show",!z.animation)("fade",z.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},decls:0,vars:0,template:function(S,z){},encapsulation:2}),I})();class Sp{close(ne){}dismiss(ne){}}class g_{constructor(ne,S,z,Me){this._windowCmptRef=ne,this._contentRef=S,this._backdropCmptRef=z,this._beforeDismiss=Me,this._closed=new p.xQ,this._dismissed=new p.xQ,this._hidden=new p.xQ,ne.instance.dismissEvent.subscribe(Ke=>{this.dismiss(Ke)}),this.result=new Promise((Ke,gn)=>{this._resolve=Ke,this._reject=gn}),this.result.then(null,()=>{})}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe((0,Ge.R)(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe((0,Ge.R)(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._windowCmptRef.instance.shown.asObservable()}close(ne){this._windowCmptRef&&(this._closed.next(ne),this._resolve(ne),this._removeModalElements())}_dismiss(ne){this._dismissed.next(ne),this._reject(ne),this._removeModalElements()}dismiss(ne){if(this._windowCmptRef)if(this._beforeDismiss){const S=this._beforeDismiss();!function Ot(I){return I&&I.then}(S)?!1!==S&&this._dismiss(ne):S.then(z=>{!1!==z&&this._dismiss(ne)},()=>{})}else this._dismiss(ne)}_removeModalElements(){const ne=this._windowCmptRef.instance.hide(),S=this._backdropCmptRef?this._backdropCmptRef.instance.hide():(0,e.of)(void 0);ne.subscribe(()=>{const{nativeElement:z}=this._windowCmptRef.location;z.parentNode.removeChild(z),this._windowCmptRef.destroy(),this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._contentRef=null}),S.subscribe(()=>{if(this._backdropCmptRef){const{nativeElement:z}=this._backdropCmptRef.location;z.parentNode.removeChild(z),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),fe(ne,S).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}}var Tp=(()=>{return(I=Tp||(Tp={}))[I.BACKDROP_CLICK=0]="BACKDROP_CLICK",I[I.ESC=1]="ESC",Tp;var I})();let _h=(()=>{class I{constructor(S,z,Me){this._document=S,this._elRef=z,this._zone=Me,this._closed$=new p.xQ,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new r.vpe,this.shown=new p.xQ,this.hidden=new p.xQ}get fullscreenClass(){return!0===this.fullscreen?" modal-fullscreen":Ze(this.fullscreen)?` modal-fullscreen-${this.fullscreen}-down`:""}dismiss(S){this.dismissEvent.emit(S)}ngOnInit(){this._elWithFocus=this._document.activeElement,this._zone.onStable.asObservable().pipe((0,Tt.q)(1)).subscribe(()=>{this._show()})}ngOnDestroy(){this._disableEventHandling()}hide(){const{nativeElement:S}=this._elRef,z={animation:this.animation,runningTransition:"stop"},gn=fe(rl(this._zone,S,()=>S.classList.remove("show"),z),rl(this._zone,this._dialogEl.nativeElement,()=>{},z));return gn.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),gn}_show(){const S={animation:this.animation,runningTransition:"continue"};fe(rl(this._zone,this._elRef.nativeElement,(Ke,gn)=>{gn&&Lo(Ke),Ke.classList.add("show")},S),rl(this._zone,this._dialogEl.nativeElement,()=>{},S)).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){const{nativeElement:S}=this._elRef;this._zone.runOutsideAngular(()=>{(0,g.R)(S,"keydown").pipe((0,Ge.R)(this._closed$),(0,Oe.h)(Me=>Me.which===de.Escape)).subscribe(Me=>{this.keyboard?requestAnimationFrame(()=>{Me.defaultPrevented||this._zone.run(()=>this.dismiss(Tp.ESC))}):"static"===this.backdrop&&this._bumpBackdrop()});let z=!1;(0,g.R)(this._dialogEl.nativeElement,"mousedown").pipe((0,Ge.R)(this._closed$),(0,dn.b)(()=>z=!1),(0,Yt.w)(()=>(0,g.R)(S,"mouseup").pipe((0,Ge.R)(this._closed$),(0,Tt.q)(1))),(0,Oe.h)(({target:Me})=>S===Me)).subscribe(()=>{z=!0}),(0,g.R)(S,"click").pipe((0,Ge.R)(this._closed$)).subscribe(({target:Me})=>{S===Me&&("static"===this.backdrop?this._bumpBackdrop():!0===this.backdrop&&!z&&this._zone.run(()=>this.dismiss(Tp.BACKDROP_CLICK))),z=!1})})}_disableEventHandling(){this._closed$.next()}_setFocus(){const{nativeElement:S}=this._elRef;if(!S.contains(document.activeElement)){const z=S.querySelector("[ngbAutofocus]"),Me=$r(S)[0];(z||Me||S).focus()}}_restoreFocus(){const S=this._document.body,z=this._elWithFocus;let Me;Me=z&&z.focus&&S.contains(z)?z:S,this._zone.runOutsideAngular(()=>{setTimeout(()=>Me.focus()),this._elWithFocus=null})}_bumpBackdrop(){"static"===this.backdrop&&rl(this._zone,this._elRef.nativeElement,({classList:S})=>(S.add("modal-static"),()=>S.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(a.K0),r.Y36(r.SBq),r.Y36(r.R0b))},I.\u0275cmp=r.Xpm({type:I,selectors:[["ngb-modal-window"]],viewQuery:function(S,z){if(1&S&&r.Gf(Yi,7),2&S){let Me;r.iGM(Me=r.CRH())&&(z._dialogEl=Me.first)}},hostAttrs:["role","dialog","tabindex","-1"],hostVars:7,hostBindings:function(S,z){2&S&&(r.uIk("aria-modal",!0)("aria-labelledby",z.ariaLabelledBy)("aria-describedby",z.ariaDescribedBy),r.Tol("modal d-block"+(z.windowClass?" "+z.windowClass:"")),r.ekj("fade",z.animation))},inputs:{animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",backdrop:"backdrop",centered:"centered",fullscreen:"fullscreen",keyboard:"keyboard",scrollable:"scrollable",size:"size",windowClass:"windowClass",modalDialogClass:"modalDialogClass"},outputs:{dismissEvent:"dismiss"},ngContentSelectors:Ku,decls:4,vars:2,consts:[["role","document"],["dialog",""],[1,"modal-content"]],template:function(S,z){1&S&&(r.F$t(),r.TgZ(0,"div",0,1)(2,"div",2),r.Hsn(3),r.qZA()()),2&S&&r.Tol("modal-dialog"+(z.size?" modal-"+z.size:"")+(z.centered?" modal-dialog-centered":"")+z.fullscreenClass+(z.scrollable?" modal-dialog-scrollable":"")+(z.modalDialogClass?" "+z.modalDialogClass:""))},styles:["ngb-modal-window .component-host-scrollable{display:flex;flex-direction:column;overflow:hidden}\n"],encapsulation:2}),I})(),v_=(()=>{class I{constructor(S){this._document=S}hide(){const S=Math.abs(window.innerWidth-this._document.documentElement.clientWidth),z=this._document.body,Me=z.style,{overflow:Ke,paddingRight:gn}=Me;if(S>0){const yr=parseFloat(window.getComputedStyle(z).paddingRight);Me.paddingRight=`${yr+S}px`}return Me.overflow="hidden",()=>{S>0&&(Me.paddingRight=gn),Me.overflow=Ke}}}return I.\u0275fac=function(S){return new(S||I)(r.LFG(a.K0))},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),mh=(()=>{class I{constructor(S,z,Me,Ke,gn,yr){this._applicationRef=S,this._injector=z,this._document=Me,this._scrollBar=Ke,this._rendererFactory=gn,this._ngZone=yr,this._activeWindowCmptHasChanged=new p.xQ,this._ariaHiddenValues=new Map,this._scrollBarRestoreFn=null,this._backdropAttributes=["animation","backdropClass"],this._modalRefs=[],this._windowAttributes=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","fullscreen","keyboard","scrollable","size","windowClass","modalDialogClass"],this._windowCmpts=[],this._activeInstances=new r.vpe,this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){const Nr=this._windowCmpts[this._windowCmpts.length-1];Ui(this._ngZone,Nr.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(Nr.location.nativeElement)}})}_restoreScrollBar(){const S=this._scrollBarRestoreFn;S&&(this._scrollBarRestoreFn=null,S())}_hideScrollBar(){this._scrollBarRestoreFn||(this._scrollBarRestoreFn=this._scrollBar.hide())}open(S,z,Me,Ke){const gn=Ke.container instanceof HTMLElement?Ke.container:ht(Ke.container)?this._document.querySelector(Ke.container):this._document.body,yr=this._rendererFactory.createRenderer(null,null);if(!gn)throw new Error(`The specified modal container "${Ke.container||"body"}" was not found in the DOM.`);this._hideScrollBar();const Nr=new Sp,vi=this._getContentRef(S,Ke.injector||z,Me,Nr,Ke);let di=!1!==Ke.backdrop?this._attachBackdrop(S,gn):void 0,ts=this._attachWindowComponent(S,gn,vi),Do=new g_(ts,vi,di,Ke.beforeDismiss);return this._registerModalRef(Do),this._registerWindowCmpt(ts),Do.hidden.pipe((0,Tt.q)(1)).subscribe(()=>Promise.resolve(!0).then(()=>{this._modalRefs.length||(yr.removeClass(this._document.body,"modal-open"),this._restoreScrollBar(),this._revertAriaHidden())})),Nr.close=Ss=>{Do.close(Ss)},Nr.dismiss=Ss=>{Do.dismiss(Ss)},this._applyWindowOptions(ts.instance,Ke),1===this._modalRefs.length&&yr.addClass(this._document.body,"modal-open"),di&&di.instance&&(this._applyBackdropOptions(di.instance,Ke),di.changeDetectorRef.detectChanges()),ts.changeDetectorRef.detectChanges(),Do}get activeInstances(){return this._activeInstances}dismissAll(S){this._modalRefs.forEach(z=>z.dismiss(S))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(S,z){let Ke=S.resolveComponentFactory(Xh).create(this._injector);return this._applicationRef.attachView(Ke.hostView),z.appendChild(Ke.location.nativeElement),Ke}_attachWindowComponent(S,z,Me){let gn=S.resolveComponentFactory(_h).create(this._injector,Me.nodes);return this._applicationRef.attachView(gn.hostView),z.appendChild(gn.location.nativeElement),gn}_applyWindowOptions(S,z){this._windowAttributes.forEach(Me=>{ht(z[Me])&&(S[Me]=z[Me])})}_applyBackdropOptions(S,z){this._backdropAttributes.forEach(Me=>{ht(z[Me])&&(S[Me]=z[Me])})}_getContentRef(S,z,Me,Ke,gn){return Me?Me instanceof r.Rgc?this._createFromTemplateRef(Me,Ke):Ze(Me)?this._createFromString(Me):this._createFromComponent(S,z,Me,Ke,gn):new qd([])}_createFromTemplateRef(S,z){const Ke=S.createEmbeddedView({$implicit:z,close(gn){z.close(gn)},dismiss(gn){z.dismiss(gn)}});return this._applicationRef.attachView(Ke),new qd([Ke.rootNodes],Ke)}_createFromString(S){const z=this._document.createTextNode(`${S}`);return new qd([[z]])}_createFromComponent(S,z,Me,Ke,gn){const yr=S.resolveComponentFactory(Me),Nr=r.zs3.create({providers:[{provide:Sp,useValue:Ke}],parent:z}),vi=yr.create(Nr),di=vi.location.nativeElement;return gn.scrollable&&di.classList.add("component-host-scrollable"),this._applicationRef.attachView(vi.hostView),new qd([[di]],vi.hostView,vi)}_setAriaHidden(S){const z=S.parentElement;z&&S!==this._document.body&&(Array.from(z.children).forEach(Me=>{Me!==S&&"SCRIPT"!==Me.nodeName&&(this._ariaHiddenValues.set(Me,Me.getAttribute("aria-hidden")),Me.setAttribute("aria-hidden","true"))}),this._setAriaHidden(z))}_revertAriaHidden(){this._ariaHiddenValues.forEach((S,z)=>{S?z.setAttribute("aria-hidden",S):z.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(S){const z=()=>{const Me=this._modalRefs.indexOf(S);Me>-1&&(this._modalRefs.splice(Me,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(S),this._activeInstances.emit(this._modalRefs),S.result.then(z,z)}_registerWindowCmpt(S){this._windowCmpts.push(S),this._activeWindowCmptHasChanged.next(),S.onDestroy(()=>{const z=this._windowCmpts.indexOf(S);z>-1&&(this._windowCmpts.splice(z,1),this._activeWindowCmptHasChanged.next())})}}return I.\u0275fac=function(S){return new(S||I)(r.LFG(r.z2F),r.LFG(r.zs3),r.LFG(a.K0),r.LFG(v_),r.LFG(r.FYo),r.LFG(r.R0b))},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),L_=(()=>{class I{constructor(S){this._ngbConfig=S,this.backdrop=!0,this.fullscreen=!1,this.keyboard=!0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(S){this._animation=S}}return I.\u0275fac=function(S){return new(S||I)(r.LFG(Ul))},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),Kh=(()=>{class I{constructor(S,z,Me,Ke){this._moduleCFR=S,this._injector=z,this._modalStack=Me,this._config=Ke}open(S,z={}){const Me=Object.assign(Object.assign(Object.assign({},this._config),{animation:this._config.animation}),z);return this._modalStack.open(this._moduleCFR,this._injector,S,Me)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(S){this._modalStack.dismissAll(S)}hasOpenModals(){return this._modalStack.hasOpenModals()}}return I.\u0275fac=function(S){return new(S||I)(r.LFG(r._Vd),r.LFG(r.zs3),r.LFG(mh),r.LFG(L_))},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),qh=(()=>{class I{constructor(S){this._ngbConfig=S,this.destroyOnHide=!0,this.orientation="horizontal",this.roles="tablist",this.keyboard=!1}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(S){this._animation=S}}return I.\u0275fac=function(S){return new(S||I)(r.LFG(Ul))},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})();const gh=I=>ht(I)&&""!==I;let e_=0,Wf=(()=>{class I{constructor(S){this.templateRef=S}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(r.Rgc))},I.\u0275dir=r.lG2({type:I,selectors:[["ng-template","ngbNavContent",""]]}),I})(),vh=(()=>{class I{constructor(S,z){this.elementRef=z,this.disabled=!1,this.shown=new r.vpe,this.hidden=new r.vpe,this._nav=S}ngAfterContentChecked(){this.contentTpl=this.contentTpls.first}ngOnInit(){ht(this.domId)||(this.domId="ngb-nav-"+e_++)}get active(){return this._nav.activeId===this.id}get id(){return gh(this._id)?this._id:this.domId}get panelDomId(){return`${this.domId}-panel`}isPanelInDom(){return(ht(this.destroyOnHide)?!this.destroyOnHide:!this._nav.destroyOnHide)||this.active}}return I.\u0275fac=function(S){return new(S||I)(r.Y36((0,r.Gpc)(()=>Cp)),r.Y36(r.SBq))},I.\u0275dir=r.lG2({type:I,selectors:[["","ngbNavItem",""]],contentQueries:function(S,z,Me){if(1&S&&r.Suo(Me,Wf,4),2&S){let Ke;r.iGM(Ke=r.CRH())&&(z.contentTpls=Ke)}},hostVars:2,hostBindings:function(S,z){2&S&&r.ekj("nav-item",!0)},inputs:{destroyOnHide:"destroyOnHide",disabled:"disabled",domId:"domId",_id:["ngbNavItem","_id"]},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbNavItem"]}),I})(),Cp=(()=>{class I{constructor(S,z,Me,Ke){this.role=S,this._cd=Me,this._document=Ke,this.activeIdChange=new r.vpe,this.shown=new r.vpe,this.hidden=new r.vpe,this.destroy$=new p.xQ,this.navItemChange$=new p.xQ,this.navChange=new r.vpe,this.animation=z.animation,this.destroyOnHide=z.destroyOnHide,this.orientation=z.orientation,this.roles=z.roles,this.keyboard=z.keyboard}click(S){S.disabled||this._updateActiveId(S.id)}onKeyDown(S){if("tablist"!==this.roles||!this.keyboard)return;const z=S.which,Me=this.links.filter(yr=>!yr.navItem.disabled),{length:Ke}=Me;let gn=-1;if(Me.forEach((yr,Nr)=>{yr.elRef.nativeElement===this._document.activeElement&&(gn=Nr)}),Ke){switch(z){case de.ArrowLeft:if("vertical"===this.orientation)return;gn=(gn-1+Ke)%Ke;break;case de.ArrowRight:if("vertical"===this.orientation)return;gn=(gn+1)%Ke;break;case de.ArrowDown:if("horizontal"===this.orientation)return;gn=(gn+1)%Ke;break;case de.ArrowUp:if("horizontal"===this.orientation)return;gn=(gn-1+Ke)%Ke;break;case de.Home:gn=0;break;case de.End:gn=Ke-1}"changeWithArrows"===this.keyboard&&this.select(Me[gn].navItem.id),Me[gn].elRef.nativeElement.focus(),S.preventDefault()}}select(S){this._updateActiveId(S,!1)}ngAfterContentInit(){if(!ht(this.activeId)){const S=this.items.first?this.items.first.id:null;gh(S)&&(this._updateActiveId(S,!1),this._cd.detectChanges())}this.items.changes.pipe((0,Ge.R)(this.destroy$)).subscribe(()=>this._notifyItemChanged(this.activeId))}ngOnChanges({activeId:S}){S&&!S.firstChange&&this._notifyItemChanged(S.currentValue)}ngOnDestroy(){this.destroy$.next()}_updateActiveId(S,z=!0){if(this.activeId!==S){let Me=!1;z&&this.navChange.emit({activeId:this.activeId,nextId:S,preventDefault:()=>{Me=!0}}),Me||(this.activeId=S,this.activeIdChange.emit(S),this._notifyItemChanged(S))}}_notifyItemChanged(S){this.navItemChange$.next(this._getItemById(S))}_getItemById(S){return this.items&&this.items.find(z=>z.id===S)||null}}return I.\u0275fac=function(S){return new(S||I)(r.$8M("role"),r.Y36(qh),r.Y36(r.sBO),r.Y36(a.K0))},I.\u0275dir=r.lG2({type:I,selectors:[["","ngbNav",""]],contentQueries:function(S,z,Me){if(1&S&&(r.Suo(Me,vh,4),r.Suo(Me,Cf,5)),2&S){let Ke;r.iGM(Ke=r.CRH())&&(z.items=Ke),r.iGM(Ke=r.CRH())&&(z.links=Ke)}},hostVars:6,hostBindings:function(S,z){1&S&&r.NdJ("keydown.arrowLeft",function(Ke){return z.onKeyDown(Ke)})("keydown.arrowRight",function(Ke){return z.onKeyDown(Ke)})("keydown.arrowDown",function(Ke){return z.onKeyDown(Ke)})("keydown.arrowUp",function(Ke){return z.onKeyDown(Ke)})("keydown.Home",function(Ke){return z.onKeyDown(Ke)})("keydown.End",function(Ke){return z.onKeyDown(Ke)}),2&S&&(r.uIk("aria-orientation","vertical"===z.orientation&&"tablist"===z.roles?"vertical":void 0)("role",z.role?z.role:z.roles?"tablist":void 0),r.ekj("nav",!0)("flex-column","vertical"===z.orientation))},inputs:{activeId:"activeId",animation:"animation",destroyOnHide:"destroyOnHide",orientation:"orientation",roles:"roles",keyboard:"keyboard"},outputs:{activeIdChange:"activeIdChange",shown:"shown",hidden:"hidden",navChange:"navChange"},exportAs:["ngbNav"],features:[r.TTD]}),I})(),Cf=(()=>{class I{constructor(S,z,Me,Ke){this.role=S,this.navItem=z,this.nav=Me,this.elRef=Ke}hasNavItemClass(){return this.navItem.elementRef.nativeElement.nodeType===Node.COMMENT_NODE}}return I.\u0275fac=function(S){return new(S||I)(r.$8M("role"),r.Y36(vh),r.Y36(Cp),r.Y36(r.SBq))},I.\u0275dir=r.lG2({type:I,selectors:[["a","ngbNavLink",""]],hostAttrs:["href",""],hostVars:14,hostBindings:function(S,z){1&S&&r.NdJ("click",function(Ke){return z.nav.click(z.navItem),Ke.preventDefault()}),2&S&&(r.Ikx("id",z.navItem.domId),r.uIk("role",z.role?z.role:z.nav.roles?"tab":void 0)("tabindex",z.navItem.disabled?-1:void 0)("aria-controls",z.navItem.isPanelInDom()?z.navItem.panelDomId:null)("aria-selected",z.navItem.active)("aria-disabled",z.navItem.disabled),r.ekj("nav-link",!0)("nav-item",z.hasNavItemClass())("active",z.navItem.active)("disabled",z.navItem.disabled))}}),I})();const yh=({classList:I})=>(I.remove("show"),()=>I.remove("active")),Eh=(I,ne)=>{ne&&Lo(I),I.classList.add("show")};let da=(()=>{class I{constructor(S){this.elRef=S}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(r.SBq))},I.\u0275dir=r.lG2({type:I,selectors:[["","ngbNavPane",""]],hostAttrs:[1,"tab-pane"],hostVars:5,hostBindings:function(S,z){2&S&&(r.Ikx("id",z.item.panelDomId),r.uIk("role",z.role?z.role:z.nav.roles?"tabpanel":void 0)("aria-labelledby",z.item.domId),r.ekj("fade",z.nav.animation))},inputs:{item:"item",nav:"nav",role:"role"}}),I})(),wc=(()=>{class I{constructor(S,z){this._cd=S,this._ngZone=z,this._activePane=null}isPanelTransitioning(S){var z;return(null===(z=this._activePane)||void 0===z?void 0:z.item)===S}ngAfterViewInit(){var S;this._updateActivePane(),this.nav.navItemChange$.pipe((0,Ge.R)(this.nav.destroy$),(0,Qt.O)((null===(S=this._activePane)||void 0===S?void 0:S.item)||null),(0,Nt.x)(),function Fn(I){return ne=>ne.lift(new pr(I))}(1)).subscribe(z=>{const Me={animation:this.nav.animation,runningTransition:"stop"};this._cd.detectChanges(),this._activePane?rl(this._ngZone,this._activePane.elRef.nativeElement,yh,Me).subscribe(()=>{var Ke;const gn=null===(Ke=this._activePane)||void 0===Ke?void 0:Ke.item;this._activePane=this._getPaneForItem(z),this._cd.markForCheck(),this._activePane&&(this._activePane.elRef.nativeElement.classList.add("active"),rl(this._ngZone,this._activePane.elRef.nativeElement,Eh,Me).subscribe(()=>{z&&(z.shown.emit(),this.nav.shown.emit(z.id))})),gn&&(gn.hidden.emit(),this.nav.hidden.emit(gn.id))}):this._updateActivePane()})}_updateActivePane(){var S,z;this._activePane=this._getActivePane(),null===(S=this._activePane)||void 0===S||S.elRef.nativeElement.classList.add("show"),null===(z=this._activePane)||void 0===z||z.elRef.nativeElement.classList.add("active")}_getPaneForItem(S){return this._panes&&this._panes.find(z=>z.item===S)||null}_getActivePane(){return this._panes&&this._panes.find(S=>S.item.active)||null}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(r.sBO),r.Y36(r.R0b))},I.\u0275cmp=r.Xpm({type:I,selectors:[["","ngbNavOutlet",""]],viewQuery:function(S,z){if(1&S&&r.Gf(da,5),2&S){let Me;r.iGM(Me=r.CRH())&&(z._panes=Me)}},hostVars:2,hostBindings:function(S,z){2&S&&r.ekj("tab-content",!0)},inputs:{paneRole:"paneRole",nav:["ngbNavOutlet","nav"]},attrs:aa,decls:1,vars:1,consts:[["ngFor","",3,"ngForOf"],["ngbNavPane","",3,"item","nav","role",4,"ngIf"],["ngbNavPane","",3,"item","nav","role"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(S,z){1&S&&r.YNc(0,Sl,1,1,"ng-template",0),2&S&&r.Q6J("ngForOf",z.nav.items)},directives:[a.sg,a.O5,da,a.tP],encapsulation:2,changeDetection:0}),I})(),Ts=(()=>{class I{}return I.\u0275fac=function(S){return new(S||I)},I.\u0275mod=r.oAB({type:I}),I.\u0275inj=r.cJS({imports:[[a.ez]]}),I})();class cp{constructor(ne,S){this.open=ne,this.close=S,S||(this.close=ne)}isManual(){return"manual"===this.open||"manual"===this.close}}const Ps={hover:["mouseenter","mouseleave"],focus:["focusin","focusout"]},Bu=I=>I>0?(0,Ct.g)(I):ne=>ne;function Qf(I,ne,S,z,Me,Ke,gn=0,yr=0){const Nr=function Md(I,ne=Ps){const S=(I||"").trim();if(0===S.length)return[];const z=S.split(/\s+/).map(Ke=>Ke.split(":")).map(Ke=>{let gn=ne[Ke[0]]||Ke;return new cp(gn[0],gn[1])}),Me=z.filter(Ke=>Ke.isManual());if(Me.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(1===Me.length&&z.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return z}(S);if(1===Nr.length&&Nr[0].isManual())return()=>{};const vi=function dp(I,ne,S,z){return new f.y(Me=>{const Ke=[],gn=()=>Me.next(!0),yr=()=>Me.next(!1),Nr=()=>Me.next(!z());return S.forEach(vi=>{vi.open===vi.close?Ke.push(I.listen(ne,vi.open,Nr)):Ke.push(I.listen(ne,vi.open,gn),I.listen(ne,vi.close,yr))}),()=>{Ke.forEach(vi=>vi())}})}(I,ne,Nr,z).pipe(function jl(I,ne,S){return z=>{let Me=null;const Ke=z.pipe((0,We.U)(Nr=>({open:Nr})),(0,Oe.h)(Nr=>{const vi=S();return vi===Nr.open||Me&&Me.open!==vi?(Me&&Me.open!==Nr.open&&(Me=null),!1):(Me=Nr,!0)}),(0,ci.B)()),gn=Ke.pipe((0,Oe.h)(Nr=>Nr.open),Bu(I)),yr=Ke.pipe((0,Oe.h)(Nr=>!Nr.open),Bu(ne));return(0,Xe.T)(gn,yr).pipe((0,Oe.h)(Nr=>Nr===Me&&(Me=null,Nr.open!==S())),(0,We.U)(Nr=>Nr.open))}}(gn,yr,z)).subscribe(di=>di?Me():Ke());return()=>vi.unsubscribe()}let kf=(()=>{class I{constructor(S){this._ngbConfig=S,this.autoClose=!0,this.placement="auto",this.triggers="click",this.disablePopover=!1,this.openDelay=0,this.closeDelay=0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(S){this._animation=S}}return I.\u0275fac=function(S){return new(S||I)(r.LFG(Ul))},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),Gp=0,t_=(()=>{class I{isTitleTemplate(){return this.title instanceof r.Rgc}}return I.\u0275fac=function(S){return new(S||I)},I.\u0275cmp=r.Xpm({type:I,selectors:[["ngb-popover-window"]],hostAttrs:["role","tooltip"],hostVars:5,hostBindings:function(S,z){2&S&&(r.Ikx("id",z.id),r.Tol("popover"+(z.popoverClass?" "+z.popoverClass:"")),r.ekj("fade",z.animation))},inputs:{animation:"animation",title:"title",id:"id",popoverClass:"popoverClass",context:"context"},ngContentSelectors:Ku,decls:4,vars:1,consts:[["data-popper-arrow","",1,"popover-arrow"],["class","popover-header",4,"ngIf"],[1,"popover-body"],[1,"popover-header"],["simpleTitle",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(S,z){1&S&&(r.F$t(),r._UZ(0,"div",0),r.YNc(1,Pr,4,2,"h3",1),r.TgZ(2,"div",2),r.Hsn(3),r.qZA()),2&S&&(r.xp6(1),r.Q6J("ngIf",z.title))},directives:[a.O5,a.tP],encapsulation:2,changeDetection:0}),I})(),nf=(()=>{class I{constructor(S,z,Me,Ke,gn,yr,Nr,vi,di){this._elementRef=S,this._renderer=z,this._ngZone=yr,this._document=Nr,this._changeDetector=vi,this.shown=new r.vpe,this.hidden=new r.vpe,this._ngbPopoverWindowId="ngb-popover-"+Gp++,this._windowRef=null,this._positioning=Ou(),this.animation=gn.animation,this.autoClose=gn.autoClose,this.placement=gn.placement,this.triggers=gn.triggers,this.container=gn.container,this.disablePopover=gn.disablePopover,this.popoverClass=gn.popoverClass,this.openDelay=gn.openDelay,this.closeDelay=gn.closeDelay,this._popupService=new zf(t_,Me,Ke,z,this._ngZone,di)}_isDisabled(){return!(!this.disablePopover&&(this.ngbPopover||this.popoverTitle))}open(S){if(!this._windowRef&&!this._isDisabled()){const{windowRef:z,transition$:Me}=this._popupService.open(this.ngbPopover,S,this.animation);this._windowRef=z,this._windowRef.instance.animation=this.animation,this._windowRef.instance.title=this.popoverTitle,this._windowRef.instance.context=S,this._windowRef.instance.popoverClass=this.popoverClass,this._windowRef.instance.id=this._ngbPopoverWindowId,this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ngbPopoverWindowId),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._elementRef.nativeElement,targetElement:this._windowRef.location.nativeElement,placement:this.placement,appendToBody:"body"===this.container,baseClass:"bs-popover",updatePopperOptions:il([0,8])}),Promise.resolve().then(()=>{this._positioning.update(),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positioning.update())})}),Vn(this._ngZone,this._document,this.autoClose,()=>this.close(),this.hidden,[this._windowRef.location.nativeElement]),Me.subscribe(()=>this.shown.emit())}}close(S=this.animation){this._windowRef&&(this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby"),this._popupService.close(S).subscribe(()=>{var z;this._windowRef=null,this._positioning.destroy(),null===(z=this._zoneSubscription)||void 0===z||z.unsubscribe(),this.hidden.emit(),this._changeDetector.markForCheck()}))}toggle(){this._windowRef?this.close():this.open()}isOpen(){return null!=this._windowRef}ngOnInit(){this._unregisterListenersFn=Qf(this._renderer,this._elementRef.nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay)}ngOnChanges({ngbPopover:S,popoverTitle:z,disablePopover:Me,popoverClass:Ke}){Ke&&this.isOpen()&&(this._windowRef.instance.popoverClass=Ke.currentValue),(S||z||Me)&&this._isDisabled()&&this.close()}ngOnDestroy(){var S;this.close(!1),null===(S=this._unregisterListenersFn)||void 0===S||S.call(this)}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(r.zs3),r.Y36(r.s_b),r.Y36(kf),r.Y36(r.R0b),r.Y36(a.K0),r.Y36(r.sBO),r.Y36(r.z2F))},I.\u0275dir=r.lG2({type:I,selectors:[["","ngbPopover",""]],inputs:{animation:"animation",autoClose:"autoClose",ngbPopover:"ngbPopover",popoverTitle:"popoverTitle",placement:"placement",triggers:"triggers",container:"container",disablePopover:"disablePopover",popoverClass:"popoverClass",openDelay:"openDelay",closeDelay:"closeDelay"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbPopover"],features:[r.TTD]}),I})(),rf=(()=>{class I{}return I.\u0275fac=function(S){return new(S||I)},I.\u0275mod=r.oAB({type:I}),I.\u0275inj=r.cJS({imports:[[a.ez]]}),I})(),Th=(()=>{class I{constructor(){this.max=100,this.animated=!1,this.striped=!1,this.showValue=!1}}return I.\u0275fac=function(S){return new(S||I)},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),n_=(()=>{class I{constructor(S){this.value=0,this.max=S.max,this.animated=S.animated,this.striped=S.striped,this.textType=S.textType,this.type=S.type,this.showValue=S.showValue,this.height=S.height}set max(S){this._max=!Ae(S)||S<=0?100:S}get max(){return this._max}getValue(){return function rd(I,ne,S=0){return Math.max(Math.min(I,ne),S)}(this.value,this.max)}getPercentValue(){return 100*this.getValue()/this.max}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(Th))},I.\u0275cmp=r.Xpm({type:I,selectors:[["ngb-progressbar"]],hostAttrs:[1,"progress"],hostVars:2,hostBindings:function(S,z){2&S&&r.Udp("height",z.height)},inputs:{max:"max",animated:"animated",striped:"striped",showValue:"showValue",textType:"textType",type:"type",value:"value",height:"height"},ngContentSelectors:Ku,decls:3,vars:11,consts:function(){let ne;return ne="" + "\ufffd0\ufffd" + "",[["role","progressbar","aria-valuemin","0"],[4,"ngIf"],ne]},template:function(S,z){1&S&&(r.F$t(),r.TgZ(0,"div",0),r.YNc(1,Yn,3,3,"span",1),r.Hsn(2),r.qZA()),2&S&&(r.DjV("progress-bar",z.type?" bg-"+z.type:"","",z.textType?" text-"+z.textType:"","\n    ",z.animated?" progress-bar-animated":"","",z.striped?" progress-bar-striped":"",""),r.Udp("width",z.getPercentValue(),"%"),r.uIk("aria-valuenow",z.getValue())("aria-valuemax",z.max),r.xp6(1),r.Q6J("ngIf",z.showValue))},directives:[a.O5],pipes:[a.Zx],encapsulation:2,changeDetection:0}),I})(),ud=(()=>{class I{}return I.\u0275fac=function(S){return new(S||I)},I.\u0275mod=r.oAB({type:I}),I.\u0275inj=r.cJS({imports:[[a.ez]]}),I})();class jc{constructor(ne,S,z){this.hour=En(ne),this.minute=En(S),this.second=En(z)}changeHour(ne=1){this.updateHour((isNaN(this.hour)?0:this.hour)+ne)}updateHour(ne){this.hour=Ae(ne)?(ne<0?24+ne:ne)%24:NaN}changeMinute(ne=1){this.updateMinute((isNaN(this.minute)?0:this.minute)+ne)}updateMinute(ne){Ae(ne)?(this.minute=ne%60<0?60+ne%60:ne%60,this.changeHour(Math.floor(ne/60))):this.minute=NaN}changeSecond(ne=1){this.updateSecond((isNaN(this.second)?0:this.second)+ne)}updateSecond(ne){Ae(ne)?(this.second=ne<0?60+ne%60:ne%60,this.changeMinute(Math.floor(ne/60))):this.second=NaN}isValid(ne=!0){return Ae(this.hour)&&Ae(this.minute)&&(!ne||Ae(this.second))}toString(){return`${this.hour||0}:${this.minute||0}:${this.second||0}`}}let Xf=(()=>{class I{constructor(){this.meridian=!1,this.spinners=!0,this.seconds=!1,this.hourStep=1,this.minuteStep=1,this.secondStep=1,this.disabled=!1,this.readonlyInputs=!1,this.size="medium"}}return I.\u0275fac=function(S){return new(S||I)},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),Op=(()=>{class I{}return I.\u0275fac=function(S){return new(S||I)},I.\u0275prov=r.Yz7({token:I,factory:function(){return function pp(){return new Od}()},providedIn:"root"}),I})(),Od=(()=>{class I extends Op{fromModel(S){return S&&ge(S.hour)&&ge(S.minute)?{hour:S.hour,minute:S.minute,second:ge(S.second)?S.second:null}:null}toModel(S){return S&&ge(S.hour)&&ge(S.minute)?{hour:S.hour,minute:S.minute,second:ge(S.second)?S.second:null}:null}}return I.\u0275fac=function(){let ne;return function(z){return(ne||(ne=r.n5z(I)))(z||I)}}(),I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac}),I})(),Kf=(()=>{class I{}return I.\u0275fac=function(S){return new(S||I)},I.\u0275prov=r.Yz7({token:I,factory:function(S){let z=null;return z=S?new S:function Vp(I){return new r_(I)}(r.LFG(r.soG)),z},providedIn:"root"}),I})(),r_=(()=>{class I extends Kf{constructor(S){super(),this._periods=(0,a.ol)(S,a.x.Standalone,a.Tn.Narrow)}getMorningPeriod(){return this._periods[0]}getAfternoonPeriod(){return this._periods[1]}}return I.\u0275fac=function(S){return new(S||I)(r.LFG(r.soG))},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac}),I})();const i_=/[^0-9]/g;let Ap=(()=>{class I{constructor(S,z,Me,Ke){this._config=S,this._ngbTimeAdapter=z,this._cd=Me,this.i18n=Ke,this.onChange=gn=>{},this.onTouched=()=>{},this.meridian=S.meridian,this.spinners=S.spinners,this.seconds=S.seconds,this.hourStep=S.hourStep,this.minuteStep=S.minuteStep,this.secondStep=S.secondStep,this.disabled=S.disabled,this.readonlyInputs=S.readonlyInputs,this.size=S.size}set hourStep(S){this._hourStep=ge(S)?S:this._config.hourStep}get hourStep(){return this._hourStep}set minuteStep(S){this._minuteStep=ge(S)?S:this._config.minuteStep}get minuteStep(){return this._minuteStep}set secondStep(S){this._secondStep=ge(S)?S:this._config.secondStep}get secondStep(){return this._secondStep}writeValue(S){const z=this._ngbTimeAdapter.fromModel(S);this.model=z?new jc(z.hour,z.minute,z.second):new jc,!this.seconds&&(!z||!Ae(z.second))&&(this.model.second=0),this._cd.markForCheck()}registerOnChange(S){this.onChange=S}registerOnTouched(S){this.onTouched=S}setDisabledState(S){this.disabled=S}changeHour(S){this.model.changeHour(S),this.propagateModelChange()}changeMinute(S){this.model.changeMinute(S),this.propagateModelChange()}changeSecond(S){this.model.changeSecond(S),this.propagateModelChange()}updateHour(S){const z=this.model.hour>=12,Me=En(S);this.model.updateHour(this.meridian&&(z&&Me<12||!z&&12===Me)?Me+12:Me),this.propagateModelChange()}updateMinute(S){this.model.updateMinute(En(S)),this.propagateModelChange()}updateSecond(S){this.model.updateSecond(En(S)),this.propagateModelChange()}toggleMeridian(){this.meridian&&this.changeHour(12)}formatInput(S){S.value=S.value.replace(i_,"")}formatHour(S){return Ae(S)?sn(this.meridian?S%12==0?12:S%12:S%24):sn(NaN)}formatMinSec(S){return sn(Ae(S)?S:NaN)}handleBlur(){this.onTouched()}get isSmallSize(){return"small"===this.size}get isLargeSize(){return"large"===this.size}ngOnChanges(S){S.seconds&&!this.seconds&&this.model&&!Ae(this.model.second)&&(this.model.second=0,this.propagateModelChange(!1))}propagateModelChange(S=!0){S&&this.onTouched(),this.model.isValid(this.seconds)?this.onChange(this._ngbTimeAdapter.toModel({hour:this.model.hour,minute:this.model.minute,second:this.model.second})):this.onChange(this._ngbTimeAdapter.toModel(null))}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(Xf),r.Y36(Op),r.Y36(r.sBO),r.Y36(Kf))},I.\u0275cmp=r.Xpm({type:I,selectors:[["ngb-timepicker"]],inputs:{meridian:"meridian",spinners:"spinners",seconds:"seconds",hourStep:"hourStep",minuteStep:"minuteStep",secondStep:"secondStep",readonlyInputs:"readonlyInputs",size:"size"},features:[r._Bn([{provide:hr.JU,useExisting:(0,r.Gpc)(()=>I),multi:!0}]),r.TTD],decls:16,vars:25,consts:function(){let ne,S,z,Me,Ke,gn,yr,Nr,vi,di,ts,Do,Ss,Yo;return ne="HH",S="Hours",z="MM",Me="Minutes",Ke="Increment hours",gn="Decrement hours",yr="Increment minutes",Nr="Decrement minutes",vi="SS",di="Seconds",ts="Increment seconds",Do="Decrement seconds",Ss="" + "\ufffd0\ufffd" + "",Yo="" + "\ufffd0\ufffd" + "",[[3,"disabled"],[1,"ngb-tp"],[1,"ngb-tp-input-container","ngb-tp-hour"],["tabindex","-1","type","button","class","btn btn-link",3,"btn-sm","btn-lg","disabled","click",4,"ngIf"],["type","text","maxlength","2","inputmode","numeric","placeholder",ne,"aria-label",S,1,"ngb-tp-input","form-control",3,"value","readOnly","disabled","change","blur","input","keydown.ArrowUp","keydown.ArrowDown"],[1,"ngb-tp-spacer"],[1,"ngb-tp-input-container","ngb-tp-minute"],["type","text","maxlength","2","inputmode","numeric","placeholder",z,"aria-label",Me,1,"ngb-tp-input","form-control",3,"value","readOnly","disabled","change","blur","input","keydown.ArrowUp","keydown.ArrowDown"],["class","ngb-tp-spacer",4,"ngIf"],["class","ngb-tp-input-container ngb-tp-second",4,"ngIf"],["class","ngb-tp-meridian",4,"ngIf"],["tabindex","-1","type","button",1,"btn","btn-link",3,"disabled","click"],[1,"chevron","ngb-tp-chevron"],[1,"visually-hidden"],Ke,[1,"chevron","ngb-tp-chevron","bottom"],gn,yr,Nr,[1,"ngb-tp-input-container","ngb-tp-second"],["type","text","maxlength","2","inputmode","numeric","placeholder",vi,"aria-label",di,1,"ngb-tp-input","form-control",3,"value","readOnly","disabled","change","blur","input","keydown.ArrowUp","keydown.ArrowDown"],ts,Do,[1,"ngb-tp-meridian"],["type","button",1,"btn","btn-outline-primary",3,"disabled","click"],[4,"ngIf","ngIfElse"],["am",""],Ss,Yo]},template:function(S,z){1&S&&(r.TgZ(0,"fieldset",0)(1,"div",1)(2,"div",2),r.YNc(3,$s,4,7,"button",3),r.TgZ(4,"input",4),r.NdJ("change",function(Ke){return z.updateHour(Ke.target.value)})("blur",function(){return z.handleBlur()})("input",function(Ke){return z.formatInput(Ke.target)})("keydown.ArrowUp",function(Ke){return z.changeHour(z.hourStep),Ke.preventDefault()})("keydown.ArrowDown",function(Ke){return z.changeHour(-z.hourStep),Ke.preventDefault()}),r.qZA(),r.YNc(5,ls,4,7,"button",3),r.qZA(),r.TgZ(6,"div",5),r._uU(7,":"),r.qZA(),r.TgZ(8,"div",6),r.YNc(9,_l,4,7,"button",3),r.TgZ(10,"input",7),r.NdJ("change",function(Ke){return z.updateMinute(Ke.target.value)})("blur",function(){return z.handleBlur()})("input",function(Ke){return z.formatInput(Ke.target)})("keydown.ArrowUp",function(Ke){return z.changeMinute(z.minuteStep),Ke.preventDefault()})("keydown.ArrowDown",function(Ke){return z.changeMinute(-z.minuteStep),Ke.preventDefault()}),r.qZA(),r.YNc(11,Us,4,7,"button",3),r.qZA(),r.YNc(12,Zc,2,0,"div",8),r.YNc(13,Su,4,9,"div",9),r.YNc(14,Zd,1,0,"div",8),r.YNc(15,Hc,5,9,"div",10),r.qZA()()),2&S&&(r.ekj("disabled",z.disabled),r.Q6J("disabled",z.disabled),r.xp6(3),r.Q6J("ngIf",z.spinners),r.xp6(1),r.ekj("form-control-sm",z.isSmallSize)("form-control-lg",z.isLargeSize),r.Q6J("value",z.formatHour(null==z.model?null:z.model.hour))("readOnly",z.readonlyInputs)("disabled",z.disabled),r.xp6(1),r.Q6J("ngIf",z.spinners),r.xp6(4),r.Q6J("ngIf",z.spinners),r.xp6(1),r.ekj("form-control-sm",z.isSmallSize)("form-control-lg",z.isLargeSize),r.Q6J("value",z.formatMinSec(null==z.model?null:z.model.minute))("readOnly",z.readonlyInputs)("disabled",z.disabled),r.xp6(1),r.Q6J("ngIf",z.spinners),r.xp6(1),r.Q6J("ngIf",z.seconds),r.xp6(1),r.Q6J("ngIf",z.seconds),r.xp6(1),r.Q6J("ngIf",z.meridian),r.xp6(1),r.Q6J("ngIf",z.meridian))},directives:[a.O5],styles:['ngb-timepicker{font-size:1rem}.ngb-tp{display:flex;align-items:center}.ngb-tp-input-container{width:4em}.ngb-tp-chevron:before{border-style:solid;border-width:.29em .29em 0 0;content:"";display:inline-block;height:.69em;left:.05em;position:relative;top:.15em;transform:rotate(-45deg);vertical-align:middle;width:.69em}.ngb-tp-chevron.bottom:before{top:-.3em;transform:rotate(135deg)}.ngb-tp-input{text-align:center}.ngb-tp-hour,.ngb-tp-minute,.ngb-tp-second,.ngb-tp-meridian{display:flex;flex-direction:column;align-items:center;justify-content:space-around}.ngb-tp-spacer{width:1em;text-align:center}\n'],encapsulation:2}),I})(),Zp=(()=>{class I{}return I.\u0275fac=function(S){return new(S||I)},I.\u0275mod=r.oAB({type:I}),I.\u0275inj=r.cJS({imports:[[a.ez]]}),I})(),E_=(()=>{class I{constructor(S){this._ngbConfig=S,this.autoClose=!0,this.placement="auto",this.triggers="hover focus",this.disableTooltip=!1,this.openDelay=0,this.closeDelay=0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(S){this._animation=S}}return I.\u0275fac=function(S){return new(S||I)(r.LFG(Ul))},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),nm=0,Oh=(()=>{class I{}return I.\u0275fac=function(S){return new(S||I)},I.\u0275cmp=r.Xpm({type:I,selectors:[["ngb-tooltip-window"]],hostAttrs:["role","tooltip"],hostVars:5,hostBindings:function(S,z){2&S&&(r.Ikx("id",z.id),r.Tol("tooltip"+(z.tooltipClass?" "+z.tooltipClass:"")),r.ekj("fade",z.animation))},inputs:{animation:"animation",id:"id",tooltipClass:"tooltipClass"},ngContentSelectors:Ku,decls:3,vars:0,consts:[["data-popper-arrow","",1,"tooltip-arrow"],[1,"tooltip-inner"]],template:function(S,z){1&S&&(r.F$t(),r._UZ(0,"div",0),r.TgZ(1,"div",1),r.Hsn(2),r.qZA())},encapsulation:2,changeDetection:0}),I})(),b_=(()=>{class I{constructor(S,z,Me,Ke,gn,yr,Nr,vi,di){this._elementRef=S,this._renderer=z,this._ngZone=yr,this._document=Nr,this._changeDetector=vi,this.shown=new r.vpe,this.hidden=new r.vpe,this._ngbTooltipWindowId="ngb-tooltip-"+nm++,this._windowRef=null,this._positioning=Ou(),this.animation=gn.animation,this.autoClose=gn.autoClose,this.placement=gn.placement,this.triggers=gn.triggers,this.container=gn.container,this.disableTooltip=gn.disableTooltip,this.tooltipClass=gn.tooltipClass,this.openDelay=gn.openDelay,this.closeDelay=gn.closeDelay,this._popupService=new zf(Oh,Me,Ke,z,this._ngZone,di)}set ngbTooltip(S){this._ngbTooltip=S,!S&&this._windowRef&&this.close()}get ngbTooltip(){return this._ngbTooltip}open(S){if(!this._windowRef&&this._ngbTooltip&&!this.disableTooltip){const{windowRef:z,transition$:Me}=this._popupService.open(this._ngbTooltip,S,this.animation);this._windowRef=z,this._windowRef.instance.animation=this.animation,this._windowRef.instance.tooltipClass=this.tooltipClass,this._windowRef.instance.id=this._ngbTooltipWindowId,this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ngbTooltipWindowId),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._elementRef.nativeElement,targetElement:this._windowRef.location.nativeElement,placement:this.placement,appendToBody:"body"===this.container,baseClass:"bs-tooltip"}),Promise.resolve().then(()=>{this._positioning.update(),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positioning.update())})}),Vn(this._ngZone,this._document,this.autoClose,()=>this.close(),this.hidden,[this._windowRef.location.nativeElement]),Me.subscribe(()=>this.shown.emit())}}close(S=this.animation){null!=this._windowRef&&(this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby"),this._popupService.close(S).subscribe(()=>{var z;this._windowRef=null,this._positioning.destroy(),null===(z=this._zoneSubscription)||void 0===z||z.unsubscribe(),this.hidden.emit(),this._changeDetector.markForCheck()}))}toggle(){this._windowRef?this.close():this.open()}isOpen(){return null!=this._windowRef}ngOnInit(){this._unregisterListenersFn=Qf(this._renderer,this._elementRef.nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay)}ngOnChanges({tooltipClass:S}){S&&this.isOpen()&&(this._windowRef.instance.tooltipClass=S.currentValue)}ngOnDestroy(){var S;this.close(!1),null===(S=this._unregisterListenersFn)||void 0===S||S.call(this)}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(r.zs3),r.Y36(r.s_b),r.Y36(E_),r.Y36(r.R0b),r.Y36(a.K0),r.Y36(r.sBO),r.Y36(r.z2F))},I.\u0275dir=r.lG2({type:I,selectors:[["","ngbTooltip",""]],inputs:{animation:"animation",autoClose:"autoClose",placement:"placement",triggers:"triggers",container:"container",disableTooltip:"disableTooltip",tooltipClass:"tooltipClass",openDelay:"openDelay",closeDelay:"closeDelay",ngbTooltip:"ngbTooltip"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbTooltip"],features:[r.TTD]}),I})(),$f=(()=>{class I{}return I.\u0275fac=function(S){return new(S||I)},I.\u0275mod=r.oAB({type:I}),I.\u0275inj=r.cJS({}),I})(),$_=(()=>{class I{constructor(){this.highlightClass="ngb-highlight",this.accentSensitive=!0}ngOnChanges(S){!this.accentSensitive&&!String.prototype.normalize&&(console.warn("The `accentSensitive` input in `ngb-highlight` cannot be set to `false` in a browser that does not implement the `String.normalize` function. You will have to include a polyfill in your application to use this feature in the current browser."),this.accentSensitive=!0);const z=pa(this.result),Me=Array.isArray(this.term)?this.term:[this.term],Ke=vi=>this.accentSensitive?vi:ms(vi),gn=Me.map(vi=>function Un(I){return I.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(Ke(pa(vi)))).filter(vi=>vi),yr=this.accentSensitive?z:ms(z),Nr=gn.length?yr.split(new RegExp(`(${gn.join("|")})`,"gmi")):[z];if(this.accentSensitive)this.parts=Nr;else{let vi=0;this.parts=Nr.map(di=>z.substring(vi,vi+=di.length))}}}return I.\u0275fac=function(S){return new(S||I)},I.\u0275cmp=r.Xpm({type:I,selectors:[["ngb-highlight"]],inputs:{highlightClass:"highlightClass",result:"result",term:"term",accentSensitive:"accentSensitive"},features:[r.TTD],decls:1,vars:1,consts:[["ngFor","",3,"ngForOf"],[3,"class",4,"ngIf","ngIfElse"],["even",""]],template:function(S,z){1&S&&r.YNc(0,Sa,3,2,"ng-template",0),2&S&&r.Q6J("ngForOf",z.parts)},directives:[a.sg,a.O5],styles:[".ngb-highlight{font-weight:700}\n"],encapsulation:2,changeDetection:0}),I})(),S_=(()=>{class I{constructor(){this.activeIdx=0,this.focusFirst=!0,this.formatter=pa,this.selectEvent=new r.vpe,this.activeChangeEvent=new r.vpe}hasActive(){return this.activeIdx>-1&&this.activeIdx<this.results.length}getActive(){return this.results[this.activeIdx]}markActive(S){this.activeIdx=S,this._activeChanged()}next(){this.activeIdx===this.results.length-1?this.activeIdx=this.focusFirst?(this.activeIdx+1)%this.results.length:-1:this.activeIdx++,this._activeChanged()}prev(){this.activeIdx<0?this.activeIdx=this.results.length-1:0===this.activeIdx?this.activeIdx=this.focusFirst?this.results.length-1:-1:this.activeIdx--,this._activeChanged()}resetActive(){this.activeIdx=this.focusFirst?0:-1,this._activeChanged()}select(S){this.selectEvent.emit(S)}ngOnInit(){this.resetActive()}_activeChanged(){this.activeChangeEvent.emit(this.activeIdx>=0?this.id+"-"+this.activeIdx:void 0)}}return I.\u0275fac=function(S){return new(S||I)},I.\u0275cmp=r.Xpm({type:I,selectors:[["ngb-typeahead-window"]],hostAttrs:["role","listbox"],hostVars:3,hostBindings:function(S,z){1&S&&r.NdJ("mousedown",function(Ke){return Ke.preventDefault()}),2&S&&(r.Ikx("id",z.id),r.Tol("dropdown-menu show"+(z.popupClass?" "+z.popupClass:"")))},inputs:{id:"id",focusFirst:"focusFirst",results:"results",term:"term",formatter:"formatter",resultTemplate:"resultTemplate",popupClass:"popupClass"},outputs:{selectEvent:"select",activeChangeEvent:"activeChange"},exportAs:["ngbTypeaheadWindow"],decls:3,vars:1,consts:[["rt",""],["ngFor","",3,"ngForOf"],[3,"result","term"],["type","button","role","option",1,"dropdown-item",3,"id","mouseenter","click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(S,z){1&S&&(r.YNc(0,Tl,1,2,"ng-template",null,0,r.W1O),r.YNc(2,gc,2,9,"ng-template",1)),2&S&&(r.xp6(2),r.Q6J("ngForOf",z.results))},directives:[$_,a.sg,a.tP],encapsulation:2}),I})(),Mf=(()=>{class I{constructor(){this.editable=!0,this.focusFirst=!0,this.showHint=!1,this.placement=["bottom-start","bottom-end","top-start","top-end"]}}return I.\u0275fac=function(S){return new(S||I)},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})();const H_=new r.OlP("live announcer delay",{providedIn:"root",factory:function tp(){return 100}});function Dp(I,ne=!1){let S=I.body.querySelector("#ngb-live");return null==S&&ne&&(S=I.createElement("div"),S.setAttribute("id","ngb-live"),S.setAttribute("aria-live","polite"),S.setAttribute("aria-atomic","true"),S.classList.add("visually-hidden"),I.body.appendChild(S)),S}let xp=(()=>{class I{constructor(S,z){this._document=S,this._delay=z}ngOnDestroy(){const S=Dp(this._document);S&&S.parentElement.removeChild(S)}say(S){const z=Dp(this._document,!0),Me=this._delay;if(null!=z){z.textContent="";const Ke=()=>z.textContent=S;null===Me?Ke():setTimeout(Ke,Me)}}}return I.\u0275fac=function(S){return new(S||I)(r.LFG(a.K0),r.LFG(H_))},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),Ud=0,Rp=(()=>{class I{constructor(S,z,Me,Ke,gn,yr,Nr,vi,di,ts,Do){this._elementRef=S,this._renderer=Me,this._live=Nr,this._document=vi,this._ngZone=di,this._changeDetector=ts,this._subscription=null,this._closed$=new p.xQ,this._inputValueBackup=null,this._windowRef=null,this._positioning=Ou(),this.autocomplete="off",this.placement="bottom-start",this.selectItem=new r.vpe,this.activeDescendant=null,this.popupId="ngb-typeahead-"+Ud++,this._onTouched=()=>{},this._onChange=Ss=>{},this.container=gn.container,this.editable=gn.editable,this.focusFirst=gn.focusFirst,this.showHint=gn.showHint,this.placement=gn.placement,this._valueChanges=(0,g.R)(S.nativeElement,"input").pipe((0,We.U)(Ss=>Ss.target.value)),this._resubscribeTypeahead=new ue.X(null),this._popupService=new zf(S_,Ke,z,Me,this._ngZone,Do)}ngOnInit(){this._subscribeToUserInput()}ngOnChanges({ngbTypeahead:S}){S&&!S.firstChange&&(this._unsubscribeFromUserInput(),this._subscribeToUserInput())}ngOnDestroy(){this._closePopup(),this._unsubscribeFromUserInput()}registerOnChange(S){this._onChange=S}registerOnTouched(S){this._onTouched=S}writeValue(S){this._writeInputValue(this._formatItemForInput(S)),this.showHint&&(this._inputValueBackup=S)}setDisabledState(S){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",S)}dismissPopup(){this.isPopupOpen()&&(this._resubscribeTypeahead.next(null),this._closePopup(),this.showHint&&null!==this._inputValueBackup&&this._writeInputValue(this._inputValueBackup),this._changeDetector.markForCheck())}isPopupOpen(){return null!=this._windowRef}handleBlur(){this._resubscribeTypeahead.next(null),this._onTouched()}handleKeyDown(S){if(this.isPopupOpen())switch(S.which){case de.ArrowDown:S.preventDefault(),this._windowRef.instance.next(),this._showHint();break;case de.ArrowUp:S.preventDefault(),this._windowRef.instance.prev(),this._showHint();break;case de.Enter:case de.Tab:{const z=this._windowRef.instance.getActive();ht(z)&&(S.preventDefault(),S.stopPropagation(),this._selectResult(z)),this._closePopup();break}}}_openPopup(){if(!this.isPopupOpen()){this._inputValueBackup=this._elementRef.nativeElement.value;const{windowRef:S}=this._popupService.open();this._windowRef=S,this._windowRef.instance.id=this.popupId,this._windowRef.instance.selectEvent.subscribe(z=>this._selectResultClosePopup(z)),this._windowRef.instance.activeChangeEvent.subscribe(z=>this.activeDescendant=z),this._windowRef.instance.popupClass=this.popupClass,"body"===this.container&&(this._renderer.setStyle(this._windowRef.location.nativeElement,"z-index","1055"),this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement)),this._changeDetector.markForCheck(),this._ngZone.runOutsideAngular(()=>{this._windowRef&&(this._positioning.createPopper({hostElement:this._elementRef.nativeElement,targetElement:this._windowRef.location.nativeElement,placement:this.placement,appendToBody:"body"===this.container,updatePopperOptions:il([0,2])}),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positioning.update()))}),Vn(this._ngZone,this._document,"outside",()=>this.dismissPopup(),this._closed$,[this._elementRef.nativeElement,this._windowRef.location.nativeElement])}}_closePopup(){this._popupService.close().subscribe(()=>{var S;this._positioning.destroy(),null===(S=this._zoneSubscription)||void 0===S||S.unsubscribe(),this._closed$.next(),this._windowRef=null,this.activeDescendant=null})}_selectResult(S){let z=!1;this.selectItem.emit({item:S,preventDefault:()=>{z=!0}}),this._resubscribeTypeahead.next(null),z||(this.writeValue(S),this._onChange(S))}_selectResultClosePopup(S){this._selectResult(S),this._closePopup()}_showHint(){var S;if(this.showHint&&(null===(S=this._windowRef)||void 0===S?void 0:S.instance.hasActive())&&null!=this._inputValueBackup){const z=this._inputValueBackup.toLowerCase(),Me=this._formatItemForInput(this._windowRef.instance.getActive());z===Me.substr(0,this._inputValueBackup.length).toLowerCase()?(this._writeInputValue(this._inputValueBackup+Me.substr(this._inputValueBackup.length)),this._elementRef.nativeElement.setSelectionRange.apply(this._elementRef.nativeElement,[this._inputValueBackup.length,Me.length])):this._writeInputValue(Me)}}_formatItemForInput(S){return null!=S&&this.inputFormatter?this.inputFormatter(S):pa(S)}_writeInputValue(S){this._renderer.setProperty(this._elementRef.nativeElement,"value",pa(S))}_subscribeToUserInput(){const S=this._valueChanges.pipe((0,dn.b)(z=>{this._inputValueBackup=this.showHint?z:null,this._onChange(this.editable?z:void 0)}),this.ngbTypeahead?this.ngbTypeahead:()=>(0,e.of)([]));this._subscription=this._resubscribeTypeahead.pipe((0,Yt.w)(()=>S)).subscribe(z=>{z&&0!==z.length?(this._openPopup(),this._windowRef.instance.focusFirst=this.focusFirst,this._windowRef.instance.results=z,this._windowRef.instance.term=this._elementRef.nativeElement.value,this.resultFormatter&&(this._windowRef.instance.formatter=this.resultFormatter),this.resultTemplate&&(this._windowRef.instance.resultTemplate=this.resultTemplate),this._windowRef.instance.resetActive(),this._windowRef.changeDetectorRef.detectChanges(),this._showHint()):this._closePopup();const Me=z?z.length:0;this._live.say(0===Me?"No results available":`${Me} result${1===Me?"":"s"} available`)})}_unsubscribeFromUserInput(){this._subscription&&this._subscription.unsubscribe(),this._subscription=null}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(r.SBq),r.Y36(r.s_b),r.Y36(r.Qsj),r.Y36(r.zs3),r.Y36(Mf),r.Y36(r.R0b),r.Y36(xp),r.Y36(a.K0),r.Y36(r.R0b),r.Y36(r.sBO),r.Y36(r.z2F))},I.\u0275dir=r.lG2({type:I,selectors:[["input","ngbTypeahead",""]],hostAttrs:["autocapitalize","off","autocorrect","off","role","combobox","aria-multiline","false"],hostVars:7,hostBindings:function(S,z){1&S&&r.NdJ("blur",function(){return z.handleBlur()})("keydown",function(Ke){return z.handleKeyDown(Ke)}),2&S&&(r.Ikx("autocomplete",z.autocomplete),r.uIk("aria-autocomplete",z.showHint?"both":"list")("aria-activedescendant",z.activeDescendant)("aria-owns",z.isPopupOpen()?z.popupId:null)("aria-expanded",z.isPopupOpen()),r.ekj("open",z.isPopupOpen()))},inputs:{autocomplete:"autocomplete",container:"container",editable:"editable",focusFirst:"focusFirst",inputFormatter:"inputFormatter",ngbTypeahead:"ngbTypeahead",resultFormatter:"resultFormatter",resultTemplate:"resultTemplate",showHint:"showHint",placement:"placement",popupClass:"popupClass"},outputs:{selectItem:"selectItem"},exportAs:["ngbTypeahead"],features:[r._Bn([{provide:hr.JU,useExisting:(0,r.Gpc)(()=>I),multi:!0}]),r.TTD]}),I})(),o_=(()=>{class I{}return I.\u0275fac=function(S){return new(S||I)},I.\u0275mod=r.oAB({type:I}),I.\u0275inj=r.cJS({imports:[[a.ez]]}),I})()},1851:(v,b,i)=>{"use strict";i.d(b,{z:()=>Re});var r=i(89724),a=i(11048),f=i(90645),u=i(1659);function e(Se,dt){1&Se&&(r.TgZ(0,"span",9),r._uU(1,"*"),r.qZA())}function p(Se,dt){if(1&Se&&(r.TgZ(0,"label",7),r._uU(1),r.YNc(2,e,2,0,"span",8),r.qZA()),2&Se){const st=r.oxw(2);r.uIk("for",st.id),r.xp6(1),r.hij(" ",st.props.label," "),r.xp6(1),r.Q6J("ngIf",st.props.required&&!0!==st.props.hideRequiredMarker)}}function g(Se,dt){if(1&Se&&r.YNc(0,p,3,3,"label",6),2&Se){const st=r.oxw();r.Q6J("ngIf",st.props.label&&!0!==st.props.hideLabel)}}function T(Se,dt){if(1&Se&&(r.ynx(0),r.GkF(1,10),r.BQk()),2&Se){r.oxw();const st=r.MAs(1);r.xp6(1),r.Q6J("ngTemplateOutlet",st)}}function M(Se,dt){}function w(Se,dt){if(1&Se&&(r.ynx(0),r.GkF(1,10),r.BQk()),2&Se){r.oxw();const st=r.MAs(1);r.xp6(1),r.Q6J("ngTemplateOutlet",st)}}function R(Se,dt){if(1&Se&&(r.TgZ(0,"div",11),r._UZ(1,"formly-validation-message",12),r.qZA()),2&Se){const st=r.oxw();r.Udp("display","block"),r.xp6(1),r.Q6J("field",st.field)}}function U(Se,dt){if(1&Se&&(r.TgZ(0,"small",13),r._uU(1),r.qZA()),2&Se){const st=r.oxw();r.xp6(1),r.Oqu(st.props.description)}}const W=["fieldTypeTemplate"];let j=(()=>{class Se extends f.n2{}return Se.\u0275fac=function(){let dt;return function(nn){return(dt||(dt=r.n5z(Se)))(nn||Se)}}(),Se.\u0275cmp=r.Xpm({type:Se,selectors:[["formly-wrapper-form-field"]],features:[r.qOj],decls:9,vars:8,consts:[["labelTemplate",""],[1,"mb-3"],[4,"ngIf"],["fieldComponent",""],["class","invalid-feedback",3,"display",4,"ngIf"],["class","form-text text-muted",4,"ngIf"],["class","form-label",4,"ngIf"],[1,"form-label"],["aria-hidden","true",4,"ngIf"],["aria-hidden","true"],[3,"ngTemplateOutlet"],[1,"invalid-feedback"],[3,"field"],[1,"form-text","text-muted"]],template:function(st,nn){1&st&&(r.YNc(0,g,1,1,"ng-template",null,0,r.W1O),r.TgZ(2,"div",1),r.YNc(3,T,2,1,"ng-container",2),r.YNc(4,M,0,0,"ng-template",null,3,r.W1O),r.YNc(6,w,2,1,"ng-container",2),r.YNc(7,R,2,3,"div",4),r.YNc(8,U,2,1,"small",5),r.qZA()),2&st&&(r.xp6(2),r.ekj("form-floating","floating"===nn.props.labelPosition)("has-error",nn.showError),r.xp6(1),r.Q6J("ngIf","floating"!==nn.props.labelPosition),r.xp6(3),r.Q6J("ngIf","floating"===nn.props.labelPosition),r.xp6(1),r.Q6J("ngIf",nn.showError),r.xp6(1),r.Q6J("ngIf",nn.props.description))},directives:[f.M2,a.O5,a.tP],encapsulation:2}),Se})(),q=(()=>{class Se{}return Se.\u0275fac=function(st){return new(st||Se)},Se.\u0275mod=r.oAB({type:Se}),Se.\u0275inj=r.cJS({imports:[[a.ez,u.UX,f.X0.forChild({wrappers:[{name:"form-field",component:j}]})]]}),Se})(),ue=(()=>{class Se extends f.fS{constructor(st){super(),this.hostContainerRef=st}set content(st){st&&this.hostContainerRef&&this.hostContainerRef.createEmbeddedView(st)}}return Se.\u0275fac=function(st){return new(st||Se)(r.Y36(r.s_b,8))},Se.\u0275dir=r.lG2({type:Se,viewQuery:function(st,nn){if(1&st&&r.Gf(W,7),2&st){let Fe;r.iGM(Fe=r.CRH())&&(nn.content=Fe.first)}},features:[r.qOj]}),Se})();function re(Se,dt){if(1&Se&&r._UZ(0,"input",3),2&Se){const st=r.oxw(2);r.ekj("is-invalid",st.showError),r.Q6J("type",st.type)("formControl",st.formControl)("formlyAttributes",st.field)}}function H(Se,dt){if(1&Se&&r._UZ(0,"input",4),2&Se){const st=r.oxw(2);r.ekj("is-invalid",st.showError),r.Q6J("formControl",st.formControl)("formlyAttributes",st.field)}}function se(Se,dt){if(1&Se&&(r.YNc(0,re,1,5,"input",1),r.YNc(1,H,1,4,"ng-template",null,2,r.W1O)),2&Se){const st=r.MAs(2),nn=r.oxw();r.Q6J("ngIf","number"!==nn.type)("ngIfElse",st)}}let ae=(()=>{class Se extends ue{get type(){return this.props.type||"text"}}return Se.\u0275fac=function(){let dt;return function(nn){return(dt||(dt=r.n5z(Se)))(nn||Se)}}(),Se.\u0275cmp=r.Xpm({type:Se,selectors:[["formly-field-input"]],features:[r.qOj],decls:2,vars:0,consts:[["fieldTypeTemplate",""],["class","form-control",3,"type","formControl","formlyAttributes","is-invalid",4,"ngIf","ngIfElse"],["numberTmp",""],[1,"form-control",3,"type","formControl","formlyAttributes"],["type","number",1,"form-control",3,"formControl","formlyAttributes"]],template:function(st,nn){1&st&&r.YNc(0,se,3,2,"ng-template",null,0,r.W1O)},directives:[a.O5,u.Fj,u.JJ,u.oH,f.JD,u.wV],encapsulation:2,changeDetection:0}),Se})(),ie=(()=>{class Se{}return Se.\u0275fac=function(st){return new(st||Se)},Se.\u0275mod=r.oAB({type:Se}),Se.\u0275inj=r.cJS({imports:[[a.ez,u.UX,q,f.X0.forChild({types:[{name:"input",component:ae,wrappers:["form-field"]},{name:"string",extends:"input"},{name:"number",extends:"input",defaultOptions:{props:{type:"number"}}},{name:"integer",extends:"input",defaultOptions:{props:{type:"number"}}}]})]]}),Se})();function fe(Se,dt){if(1&Se&&(r.TgZ(0,"textarea",1),r._uU(1,"      "),r.qZA()),2&Se){const st=r.oxw();r.ekj("is-invalid",st.showError),r.Q6J("formControl",st.formControl)("cols",st.props.cols)("rows",st.props.rows)("formlyAttributes",st.field)}}let _e=(()=>{class Se extends ue{constructor(){super(...arguments),this.defaultOptions={props:{cols:1,rows:1}}}}return Se.\u0275fac=function(){let dt;return function(nn){return(dt||(dt=r.n5z(Se)))(nn||Se)}}(),Se.\u0275cmp=r.Xpm({type:Se,selectors:[["formly-field-textarea"]],features:[r.qOj],decls:2,vars:0,consts:[["fieldTypeTemplate",""],[1,"form-control",3,"formControl","cols","rows","formlyAttributes"]],template:function(st,nn){1&st&&r.YNc(0,fe,2,6,"ng-template",null,0,r.W1O)},directives:[u.Fj,u.JJ,u.oH,f.JD],encapsulation:2,changeDetection:0}),Se})(),Ce=(()=>{class Se{}return Se.\u0275fac=function(st){return new(st||Se)},Se.\u0275mod=r.oAB({type:Se}),Se.\u0275inj=r.cJS({imports:[[a.ez,u.UX,q,f.X0.forChild({types:[{name:"textarea",component:_e,wrappers:["form-field"]}]})]]}),Se})();var ce=i(70882),Be=i(26215),Ve=i(88002),Xe=i(45435),He=i(68307);let Pe=(()=>{class Se{transform(st,nn){return st instanceof ce.y?this.dispose():st=this.observableOf(st,nn),st.pipe((0,Ve.U)(Fe=>this.transformOptions(Fe,nn)))}ngOnDestroy(){this.dispose()}transformOptions(st,nn){const Fe=this.transformSelectProps(nn),Lr=[],ti={};return null==st||st.forEach(Ut=>{const Dn=this.transformOption(Ut,Fe);if(Dn.group){const Et=ti[Dn.label];void 0===Et?ti[Dn.label]=Lr.push(Dn)-1:Dn.group.forEach($t=>Lr[Et].group.push($t))}else Lr.push(Dn)}),Lr}transformOption(st,nn){const Fe=nn.groupProp(st);return Array.isArray(Fe)?{label:nn.labelProp(st),group:Fe.map(Lr=>this.transformOption(Lr,nn))}:(st={label:nn.labelProp(st),value:nn.valueProp(st),disabled:!!nn.disabledProp(st)},Fe?{label:Fe,group:[st]}:st)}transformSelectProps(st){const nn=(null==st?void 0:st.props)||(null==st?void 0:st.templateOptions)||{},Fe=Lr=>"function"==typeof Lr?Lr:ti=>ti[Lr];return{groupProp:Fe(nn.groupProp||"group"),labelProp:Fe(nn.labelProp||"label"),valueProp:Fe(nn.valueProp||"value"),disabledProp:Fe(nn.disabledProp||"disabled")}}dispose(){this._options&&(this._options.complete(),this._options=null),this._subscription&&(this._subscription.unsubscribe(),this._subscription=null)}observableOf(st,nn){return this.dispose(),nn&&nn.options&&nn.options.fieldChanges&&(this._subscription=nn.options.fieldChanges.pipe((0,Xe.h)(({property:Fe,type:Lr,field:ti})=>"expressionChanges"===Lr&&(0===Fe.indexOf("templateOptions.options")||0===Fe.indexOf("props.options"))&&ti===nn&&Array.isArray(ti.props.options)&&!!this._options),(0,He.b)(()=>this._options.next(nn.props.options))).subscribe()),this._options=new Be.X(st),this._options.asObservable()}}return Se.\u0275fac=function(st){return new(st||Se)},Se.\u0275pipe=r.Yjl({name:"formlySelectOptions",type:Se,pure:!0}),Se})(),Ge=(()=>{class Se{}return Se.\u0275fac=function(st){return new(st||Se)},Se.\u0275mod=r.oAB({type:Se}),Se.\u0275inj=r.cJS({}),Se})();function Oe(Se,dt){if(1&Se&&(r.TgZ(0,"div",2),r._UZ(1,"input",3),r.TgZ(2,"label",4),r._uU(3),r.qZA()()),2&Se){const st=dt.$implicit,nn=dt.index,Fe=r.oxw(2);r.ekj("form-check-inline","inline"===Fe.props.formCheck),r.xp6(1),r.ekj("is-invalid",Fe.showError),r.Q6J("id",Fe.id+"_"+nn)("name",Fe.field.name||Fe.id)("value",st.value)("formControl",st.disabled?Fe.disabledControl:Fe.formControl)("formlyAttributes",Fe.field),r.uIk("value",st.value),r.xp6(1),r.Q6J("for",Fe.id+"_"+nn),r.xp6(1),r.hij(" ",st.label," ")}}function Tt(Se,dt){if(1&Se&&(r.YNc(0,Oe,4,12,"div",1),r.ALo(1,"async"),r.ALo(2,"formlySelectOptions")),2&Se){const st=r.oxw();r.Q6J("ngForOf",r.lcZ(1,1,r.xi3(2,3,st.props.options,st.field)))}}let We=(()=>{class Se extends ue{constructor(){super(...arguments),this.defaultOptions={props:{formCheck:"default"}}}get disabledControl(){return new u.NI({value:this.formControl.value,disabled:!0})}}return Se.\u0275fac=function(){let dt;return function(nn){return(dt||(dt=r.n5z(Se)))(nn||Se)}}(),Se.\u0275cmp=r.Xpm({type:Se,selectors:[["formly-field-radio"]],features:[r.qOj],decls:2,vars:0,consts:[["fieldTypeTemplate",""],["class","form-check",3,"form-check-inline",4,"ngFor","ngForOf"],[1,"form-check"],["type","radio",1,"form-check-input",3,"id","name","value","formControl","formlyAttributes"],[1,"form-check-label",3,"for"]],template:function(st,nn){1&st&&r.YNc(0,Tt,3,6,"ng-template",null,0,r.W1O)},directives:[a.sg,u._,u.Fj,u.JJ,u.oH,f.JD],pipes:[a.Ov,Pe],encapsulation:2,changeDetection:0}),Se})(),Qt=(()=>{class Se{}return Se.\u0275fac=function(st){return new(st||Se)},Se.\u0275mod=r.oAB({type:Se}),Se.\u0275inj=r.cJS({imports:[[a.ez,u.UX,q,Ge,f.X0.forChild({types:[{name:"radio",component:We,wrappers:["form-field"]}]})]]}),Se})();function Nt(Se,dt){1&Se&&(r.TgZ(0,"span",6),r._uU(1,"*"),r.qZA())}function Yt(Se,dt){if(1&Se&&(r.TgZ(0,"label",4),r._uU(1),r.YNc(2,Nt,2,0,"span",5),r.qZA()),2&Se){const st=r.oxw(2);r.Q6J("for",st.id),r.xp6(1),r.hij(" ",st.props.label," "),r.xp6(1),r.Q6J("ngIf",st.props.required&&!0!==st.props.hideRequiredMarker)}}const dn=function(Se,dt){return{"form-check-inline":Se,"form-switch":dt}};function rn(Se,dt){if(1&Se&&(r.TgZ(0,"div",1),r._UZ(1,"input",2),r.YNc(2,Yt,3,3,"label",3),r.qZA()),2&Se){const st=r.oxw();r.Q6J("ngClass",r.WLB(9,dn,"inline"===st.props.formCheck||"inline-switch"===st.props.formCheck,"switch"===st.props.formCheck||"inline-switch"===st.props.formCheck)),r.xp6(1),r.ekj("is-invalid",st.showError)("position-static","nolabel"===st.props.formCheck),r.Q6J("indeterminate",st.props.indeterminate&&null==st.formControl.value)("formControl",st.formControl)("formlyAttributes",st.field),r.xp6(1),r.Q6J("ngIf","nolabel"!==st.props.formCheck)}}let vt=(()=>{class Se extends ue{constructor(){super(...arguments),this.defaultOptions={props:{indeterminate:!0,hideLabel:!0,formCheck:"default"}}}}return Se.\u0275fac=function(){let dt;return function(nn){return(dt||(dt=r.n5z(Se)))(nn||Se)}}(),Se.\u0275cmp=r.Xpm({type:Se,selectors:[["formly-field-checkbox"]],features:[r.qOj],decls:2,vars:0,consts:[["fieldTypeTemplate",""],[1,"form-check",3,"ngClass"],["type","checkbox",1,"form-check-input",3,"indeterminate","formControl","formlyAttributes"],["class","form-check-label",3,"for",4,"ngIf"],[1,"form-check-label",3,"for"],["aria-hidden","true",4,"ngIf"],["aria-hidden","true"]],template:function(st,nn){1&st&&r.YNc(0,rn,3,12,"ng-template",null,0,r.W1O)},directives:[a.mk,u.Wl,u.JJ,u.oH,f.JD,a.O5],encapsulation:2,changeDetection:0}),Se})(),xt=(()=>{class Se{}return Se.\u0275fac=function(st){return new(st||Se)},Se.\u0275mod=r.oAB({type:Se}),Se.\u0275inj=r.cJS({imports:[[a.ez,u.UX,q,f.X0.forChild({types:[{name:"checkbox",component:vt,wrappers:["form-field"]},{name:"boolean",extends:"checkbox"}]})]]}),Se})();const Ct=function(Se,dt){return{"form-check-inline":Se,"form-switch":dt}};function Gt(Se,dt){if(1&Se){const st=r.EpF();r.TgZ(0,"div",2)(1,"input",3),r.NdJ("change",function(Fe){const ti=r.CHM(st).$implicit;return r.oxw(2).onChange(ti.value,Fe.target.checked)}),r.qZA(),r.TgZ(2,"label",4),r._uU(3),r.qZA()()}if(2&Se){const st=dt.$implicit,nn=dt.index,Fe=r.oxw(2);r.Q6J("ngClass",r.WLB(8,Ct,"inline"===Fe.props.formCheck||"inline-switch"===Fe.props.formCheck,"switch"===Fe.props.formCheck||"inline-switch"===Fe.props.formCheck)),r.xp6(1),r.Q6J("id",Fe.id+"_"+nn)("value",st.value)("checked",Fe.isChecked(st))("formlyAttributes",Fe.field)("disabled",Fe.formControl.disabled||st.disabled),r.xp6(1),r.Q6J("for",Fe.id+"_"+nn),r.xp6(1),r.hij(" ",st.label," ")}}function Fn(Se,dt){if(1&Se&&(r.YNc(0,Gt,4,11,"div",1),r.ALo(1,"async"),r.ALo(2,"formlySelectOptions")),2&Se){const st=r.oxw();r.Q6J("ngForOf",r.lcZ(1,1,r.xi3(2,3,st.props.options,st.field)))}}let pr=(()=>{class Se extends ue{constructor(){super(...arguments),this.defaultOptions={props:{formCheck:"default"}}}onChange(st,nn){this.formControl.markAsDirty(),this.formControl.patchValue("array"===this.props.type?nn?[...this.formControl.value||[],st]:[...this.formControl.value||[]].filter(Fe=>Fe!==st):Object.assign(Object.assign({},this.formControl.value),{[st]:nn})),this.formControl.markAsTouched()}isChecked(st){const nn=this.formControl.value;return nn&&("array"===this.props.type?-1!==nn.indexOf(st.value):nn[st.value])}}return Se.\u0275fac=function(){let dt;return function(nn){return(dt||(dt=r.n5z(Se)))(nn||Se)}}(),Se.\u0275cmp=r.Xpm({type:Se,selectors:[["formly-field-multicheckbox"]],features:[r.qOj],decls:2,vars:0,consts:[["fieldTypeTemplate",""],["class","form-check",3,"ngClass",4,"ngFor","ngForOf"],[1,"form-check",3,"ngClass"],["type","checkbox",1,"form-check-input",3,"id","value","checked","formlyAttributes","disabled","change"],[1,"form-check-label",3,"for"]],template:function(st,nn){1&st&&r.YNc(0,Fn,3,6,"ng-template",null,0,r.W1O)},directives:[a.sg,a.mk,f.JD],pipes:[a.Ov,Pe],encapsulation:2,changeDetection:0}),Se})(),mi=(()=>{class Se{}return Se.\u0275fac=function(st){return new(st||Se)},Se.\u0275mod=r.oAB({type:Se}),Se.\u0275inj=r.cJS({imports:[[a.ez,u.UX,q,Ge,f.X0.forChild({types:[{name:"multicheckbox",component:pr,wrappers:["form-field"]}]})]]}),Se})();var ci=i(15257);function hr(Se,dt){if(1&Se&&(r.TgZ(0,"option",8),r._uU(1),r.qZA()),2&Se){const st=r.oxw().$implicit;r.Q6J("ngValue",st.value)("disabled",st.disabled),r.xp6(1),r.hij(" ",st.label," ")}}function Br(Se,dt){if(1&Se&&(r.TgZ(0,"option",8),r._uU(1),r.qZA()),2&Se){const st=dt.$implicit;r.Q6J("ngValue",st.value)("disabled",st.disabled),r.xp6(1),r.hij(" ",st.label," ")}}function Ur(Se,dt){if(1&Se&&(r.TgZ(0,"optgroup",9),r.YNc(1,Br,2,3,"option",10),r.qZA()),2&Se){const st=r.oxw().$implicit;r.Q6J("label",st.label),r.xp6(1),r.Q6J("ngForOf",st.group)}}function Hn(Se,dt){if(1&Se&&(r.ynx(0),r.YNc(1,hr,2,3,"option",6),r.YNc(2,Ur,2,2,"ng-template",null,7,r.W1O),r.BQk()),2&Se){const st=dt.$implicit,nn=r.MAs(3);r.xp6(1),r.Q6J("ngIf",!st.group)("ngIfElse",nn)}}function er(Se,dt){if(1&Se&&(r.ynx(0),r.YNc(1,Hn,4,2,"ng-container",5),r.BQk()),2&Se){const st=dt.ngIf;r.xp6(1),r.Q6J("ngForOf",st)}}function _r(Se,dt){if(1&Se&&(r.TgZ(0,"select",3),r.YNc(1,er,2,1,"ng-container",4),r.ALo(2,"async"),r.ALo(3,"formlySelectOptions"),r.qZA()),2&Se){const st=r.oxw(2);r.ekj("is-invalid",st.showError),r.Q6J("formControl",st.formControl)("compareWith",st.props.compareWith)("formlyAttributes",st.field),r.xp6(1),r.Q6J("ngIf",r.lcZ(2,6,r.xi3(3,8,st.props.options,st.field)))}}function ei(Se,dt){if(1&Se&&(r.TgZ(0,"option",13),r._uU(1),r.qZA()),2&Se){const st=r.oxw(3);r.Q6J("ngValue",void 0),r.xp6(1),r.Oqu(st.props.placeholder)}}function bi(Se,dt){if(1&Se&&(r.TgZ(0,"option",8),r._uU(1),r.qZA()),2&Se){const st=r.oxw().$implicit;r.Q6J("ngValue",st.value)("disabled",st.disabled),r.xp6(1),r.hij(" ",st.label," ")}}function fi(Se,dt){if(1&Se&&(r.TgZ(0,"option",8),r._uU(1),r.qZA()),2&Se){const st=dt.$implicit;r.Q6J("ngValue",st.value)("disabled",st.disabled),r.xp6(1),r.hij(" ",st.label," ")}}function no(Se,dt){if(1&Se&&(r.TgZ(0,"optgroup",9),r.YNc(1,fi,2,3,"option",10),r.qZA()),2&Se){const st=r.oxw().$implicit;r.Q6J("label",st.label),r.xp6(1),r.Q6J("ngForOf",st.group)}}function xo(Se,dt){if(1&Se&&(r.ynx(0),r.YNc(1,bi,2,3,"option",6),r.YNc(2,no,2,2,"ng-template",null,7,r.W1O),r.BQk()),2&Se){const st=dt.$implicit,nn=r.MAs(3);r.xp6(1),r.Q6J("ngIf",!st.group)("ngIfElse",nn)}}function Er(Se,dt){if(1&Se&&(r.ynx(0),r.YNc(1,xo,4,2,"ng-container",5),r.BQk()),2&Se){const st=dt.ngIf;r.xp6(1),r.Q6J("ngForOf",st)}}function an(Se,dt){if(1&Se&&(r.TgZ(0,"select",11),r.YNc(1,ei,2,2,"option",12),r.YNc(2,Er,2,1,"ng-container",4),r.ALo(3,"async"),r.ALo(4,"formlySelectOptions"),r.qZA()),2&Se){const st=r.oxw(2);r.ekj("is-invalid",st.showError),r.Q6J("formControl",st.formControl)("compareWith",st.props.compareWith)("formlyAttributes",st.field),r.xp6(1),r.Q6J("ngIf",st.props.placeholder),r.xp6(1),r.Q6J("ngIf",r.lcZ(3,7,r.xi3(4,9,st.props.options,st.field)))}}function vn(Se,dt){if(1&Se&&(r.YNc(0,_r,4,11,"select",1),r.YNc(1,an,5,12,"ng-template",null,2,r.W1O)),2&Se){const st=r.MAs(2),nn=r.oxw();r.Q6J("ngIf",nn.props.multiple)("ngIfElse",st)}}let Zn=(()=>{class Se extends ue{constructor(st,nn){super(nn),this.ngZone=st,this.defaultOptions={props:{compareWith:(Fe,Lr)=>Fe===Lr}}}set selectAccessor(st){if(!st)return;const nn=st.writeValue.bind(st);null===st._getOptionId(st.value)&&nn(st.value),st.writeValue=Fe=>{const Lr=st._idCounter;nn(Fe),null===Fe&&this.ngZone.onStable.asObservable().pipe((0,ci.q)(1)).subscribe(()=>{Lr!==st._idCounter&&null===st._getOptionId(Fe)&&-1!==st._elementRef.nativeElement.selectedIndex&&nn(Fe)})}}}return Se.\u0275fac=function(st){return new(st||Se)(r.Y36(r.R0b),r.Y36(r.s_b))},Se.\u0275cmp=r.Xpm({type:Se,selectors:[["formly-field-select"]],viewQuery:function(st,nn){if(1&st&&r.Gf(u.EJ,5),2&st){let Fe;r.iGM(Fe=r.CRH())&&(nn.selectAccessor=Fe.first)}},features:[r.qOj],decls:2,vars:0,consts:[["fieldTypeTemplate",""],["class","form-select","multiple","",3,"formControl","compareWith","is-invalid","formlyAttributes",4,"ngIf","ngIfElse"],["singleSelect",""],["multiple","",1,"form-select",3,"formControl","compareWith","formlyAttributes"],[4,"ngIf"],[4,"ngFor","ngForOf"],[3,"ngValue","disabled",4,"ngIf","ngIfElse"],["optgroup",""],[3,"ngValue","disabled"],[3,"label"],[3,"ngValue","disabled",4,"ngFor","ngForOf"],[1,"form-select",3,"formControl","compareWith","formlyAttributes"],[3,"ngValue",4,"ngIf"],[3,"ngValue"]],template:function(st,nn){1&st&&r.YNc(0,vn,3,2,"ng-template",null,0,r.W1O)},directives:[a.O5,u.K7,u.JJ,u.oH,f.JD,a.sg,u.YN,u.Kr,u.EJ],pipes:[a.Ov,Pe],encapsulation:2,changeDetection:0}),Se})(),Xn=(()=>{class Se{}return Se.\u0275fac=function(st){return new(st||Se)},Se.\u0275mod=r.oAB({type:Se}),Se.\u0275inj=r.cJS({imports:[[a.ez,u.UX,q,Ge,f.X0.forChild({types:[{name:"select",component:Zn,wrappers:["form-field"]},{name:"enum",extends:"select"}]})]]}),Se})();const zn=["fieldTypeTemplate"];function ri(Se,dt){if(1&Se&&r._UZ(0,"i",7),2&Se){const st=r.oxw(3);r.Q6J("ngClass",st.props.addonLeft.class)}}function Gi(Se,dt){if(1&Se&&(r.TgZ(0,"span"),r._uU(1),r.qZA()),2&Se){const st=r.oxw(3);r.xp6(1),r.Oqu(st.props.addonLeft.text)}}function ui(Se,dt){if(1&Se){const st=r.EpF();r.TgZ(0,"div",4),r.NdJ("click",function(Fe){return r.CHM(st),r.oxw(2).addonLeftClick(Fe)}),r.YNc(1,ri,1,1,"i",5),r.YNc(2,Gi,2,1,"span",6),r.qZA()}if(2&Se){const st=r.oxw(2);r.ekj("input-group-btn",st.props.addonLeft.onClick),r.xp6(1),r.Q6J("ngIf",st.props.addonLeft.class),r.xp6(1),r.Q6J("ngIf",st.props.addonLeft.text)}}function vr(Se,dt){if(1&Se&&r._UZ(0,"i",7),2&Se){const st=r.oxw(3);r.Q6J("ngClass",st.props.addonRight.class)}}function Ji(Se,dt){if(1&Se&&(r.TgZ(0,"span"),r._uU(1),r.qZA()),2&Se){const st=r.oxw(3);r.xp6(1),r.Oqu(st.props.addonRight.text)}}function mn(Se,dt){if(1&Se){const st=r.EpF();r.TgZ(0,"div",4),r.NdJ("click",function(Fe){return r.CHM(st),r.oxw(2).addonRightClick(Fe)}),r.YNc(1,vr,1,1,"i",5),r.YNc(2,Ji,2,1,"span",6),r.qZA()}if(2&Se){const st=r.oxw(2);r.ekj("input-group-btn",st.props.addonRight.onClick),r.xp6(1),r.Q6J("ngIf",st.props.addonRight.class),r.xp6(1),r.Q6J("ngIf",st.props.addonRight.text)}}function Rn(Se,dt){if(1&Se&&(r.TgZ(0,"div",1),r.YNc(1,ui,3,4,"div",2),r.GkF(2,null,3),r.YNc(4,mn,3,4,"div",2),r.qZA()),2&Se){const st=r.oxw();r.ekj("has-validation",st.showError),r.xp6(1),r.Q6J("ngIf",st.props.addonLeft),r.xp6(3),r.Q6J("ngIf",st.props.addonRight)}}let Wn=(()=>{class Se extends f.n2{constructor(st){super(),this.hostContainerRef=st}set content(st){st&&this.hostContainerRef&&this.hostContainerRef.createEmbeddedView(st)}addonRightClick(st){var nn,Fe;null===(Fe=(nn=this.props.addonRight).onClick)||void 0===Fe||Fe.call(nn,this.field,st)}addonLeftClick(st){var nn,Fe;null===(Fe=(nn=this.props.addonLeft).onClick)||void 0===Fe||Fe.call(nn,this.field,st)}}return Se.\u0275fac=function(st){return new(st||Se)(r.Y36(r.s_b))},Se.\u0275cmp=r.Xpm({type:Se,selectors:[["formly-wrapper-addons"]],viewQuery:function(st,nn){if(1&st&&r.Gf(zn,7),2&st){let Fe;r.iGM(Fe=r.CRH())&&(nn.content=Fe.first)}},features:[r.qOj],decls:2,vars:0,consts:[["fieldTypeTemplate",""],[1,"input-group"],["class","input-group-text",3,"input-group-btn","click",4,"ngIf"],["fieldComponent",""],[1,"input-group-text",3,"click"],[3,"ngClass",4,"ngIf"],[4,"ngIf"],[3,"ngClass"]],template:function(st,nn){1&st&&r.YNc(0,Rn,5,4,"ng-template",null,0,r.W1O)},directives:[a.O5,a.mk],styles:["formly-wrapper-form-field .input-group-btn{cursor:pointer}\n"],encapsulation:2}),Se})();function et(Se){!Se.props||Se.wrappers&&-1!==Se.wrappers.indexOf("addons")||(Se.props.addonLeft||Se.props.addonRight)&&(Se.wrappers=[...Se.wrappers||[],"addons"])}let Le=(()=>{class Se{}return Se.\u0275fac=function(st){return new(st||Se)},Se.\u0275mod=r.oAB({type:Se}),Se.\u0275inj=r.cJS({imports:[[a.ez,u.UX,f.X0.forChild({wrappers:[{name:"addons",component:Wn}],extensions:[{name:"addons",extension:{postPopulate:et}}]})]]}),Se})(),Re=(()=>{class Se{}return Se.\u0275fac=function(st){return new(st||Se)},Se.\u0275mod=r.oAB({type:Se}),Se.\u0275inj=r.cJS({imports:[[q,ie,Ce,Qt,xt,mi,Xn,Le]]}),Se})()},90645:(v,b,i)=>{"use strict";i.d(b,{hv:()=>Zn,fS:()=>Er,n2:()=>Xn,cw:()=>fi,T7:()=>no,X0:()=>Wn,JD:()=>xo,M2:()=>vn,kg:()=>vt,Hl:()=>Ge,_S:()=>Be,Du:()=>Oe});var r=i(89724),a=i(1659),f=i(70882);function u(et){return!!et&&(et instanceof f.y||"function"==typeof et.lift&&"function"==typeof et.subscribe)}var e=i(66682),p=i(25917),g=i(79765),T=i(87519),M=i(39761),w=i(54395),R=i(45435),U=i(43190),W=i(15257),j=i(68307),q=i(88002),ue=i(11048),re=i(14800),H=i(64762);const se=["container"];function ae(et,Le){}function ie(et,Le){1&et&&r._UZ(0,"formly-field",1),2&et&&r.Q6J("field",Le.$implicit)}const fe=["*"],_e=["fieldComponent"];function ce(et,Le,Re){if(Le.id)return Le.id;let Se=Le.type;return!Se&&Le.template&&(Se="template"),Se instanceof r.DyG&&(Se=Se.prototype.constructor.name),[et,Se,Le.key,Re].join("_")}function Be(et){return!Tt(et.key)&&""!==et.key}function Ve(et){var Le;if(!Be(et))return[];if((null===(Le=et._keyPath)||void 0===Le?void 0:Le.key)!==et.key){let Re=[];if("string"==typeof et.key){const Se=-1===et.key.indexOf("[")?et.key:et.key.replace(/\[(\w+)\]/g,".$1");Re=-1!==Se.indexOf(".")?Se.split("."):[Se]}else Re=Array.isArray(et.key)?et.key.slice(0):[`${et.key}`];xt(et,"_keyPath",{key:et.key,path:Re})}return et._keyPath.path.slice(0)}const Xe=["required","pattern","minLength","maxLength","min","max"];function He(et,Le){let Re=Ve(et);if(0===Re.length)return;let Se=et;for(;Se.parent;)Se=Se.parent,Re=[...Ve(Se),...Re];if(void 0===Le&&et.resetOnHide){const dt=Re.pop();delete Re.reduce((nn,Fe)=>nn[Fe]||{},Se.model)[dt]}else!function Pe(et,Le,Re){for(let Se=0;Se<Le.length-1;Se++){const dt=Le[Se];(!et[dt]||!dn(et[dt]))&&(et[dt]=/^\d+$/.test(Le[Se+1])?[]:{}),et=et[dt]}et[Le[Le.length-1]]=vt(Re)}(Se.model,Re,Le)}function Ge(et){let Le=et.parent?et.parent.model:et.model;for(const Re of Ve(et)){if(!Le)return Le;Le=Le[Re]}return Le}function Oe(et,...Le){return Le.forEach(Re=>{for(const Se in Re)Tt(et[Se])||Qt(et[Se])?et[Se]=vt(Re[Se]):Yt(et[Se],Re[Se])&&Oe(et[Se],Re[Se])}),et}function Tt(et){return null==et}function We(et){return void 0===et}function Qt(et){return""===et}function Nt(et){return"function"==typeof et}function Yt(et,Le){return dn(et)&&dn(Le)&&Object.getPrototypeOf(et)===Object.getPrototypeOf(Le)&&!(Array.isArray(et)||Array.isArray(Le))}function dn(et){return null!=et&&"object"==typeof et}function vt(et){if(!dn(et)||u(et)||et instanceof r.Rgc||et.changingThisBreaksApplicationSecurity||-1!==["RegExp","FileList","File","Blob"].indexOf(et.constructor.name))return et;if(et instanceof Set)return new Set(et);if(et instanceof Map)return new Map(et);if(et._isAMomentObject&&Nt(et.clone))return et.clone();if(et instanceof a.TO)return null;if(et instanceof Date)return new Date(et.getTime());if(Array.isArray(et))return et.slice(0).map(Se=>vt(Se));const Le=Object.getPrototypeOf(et);let Re=Object.create(Le);return Re=Object.setPrototypeOf(Re,Le),Object.keys(et).reduce((Se,dt)=>{const st=Object.getOwnPropertyDescriptor(et,dt);return st.get?Object.defineProperty(Se,dt,st):Se[dt]=vt(et[dt]),Se},Re)}function xt(et,Le,Re){Object.defineProperty(et,Le,{enumerable:!1,writable:!0,configurable:!0}),et[Le]=Re}function Ct(et,Le,Re){let Se=[];const dt=()=>{Se.forEach(nn=>nn()),Se=[]},st=Gt(et,Le,({firstChange:nn,currentValue:Fe})=>{!nn&&Re(),dt(),dn(Fe)&&"Object"===Fe.constructor.name&&Object.keys(Fe).forEach(Lr=>{Se.push(Ct(et,[...Le,Lr],Re))})});return()=>{st.unsubscribe(),dt()}}function Gt(et,Le,Re){et._observers||xt(et,"_observers",{});let Se=et;for(let Fe=0;Fe<Le.length-1;Fe++)(!Se[Le[Fe]]||!dn(Se[Le[Fe]]))&&(Se[Le[Fe]]=/^\d+$/.test(Le[Fe+1])?[]:{}),Se=Se[Le[Fe]];const dt=Le[Le.length-1],st=Le.join(".");et._observers[st]||(et._observers[st]={value:Se[dt],onChange:[]});const nn=et._observers[st];if(Se[dt]!==nn.value&&(nn.value=Se[dt]),-1===nn.onChange.indexOf(Re)&&(nn.onChange.push(Re),Re({currentValue:nn.value,firstChange:!0}),nn.onChange.length>=1)){const{enumerable:Fe}=Object.getOwnPropertyDescriptor(Se,dt)||{enumerable:!0};Object.defineProperty(Se,dt,{enumerable:Fe,configurable:!0,get:()=>nn.value,set:Lr=>{if(Lr!==nn.value){const ti=nn.value;nn.value=Lr,nn.onChange.forEach(Ut=>Ut({previousValue:ti,currentValue:Lr,firstChange:!1}))}}})}return{setValue(Fe){nn.value=Fe},unsubscribe(){nn.onChange=nn.onChange.filter(Fe=>Fe!==Re),0===nn.onChange.length&&delete et._observers[st]}}}function Fn(et,Le){if(Le=Array.isArray(Le)?Le.join("."):Le,et.fieldGroup)for(let Re=0,Se=et.fieldGroup.length;Re<Se;Re++){const dt=et.fieldGroup[Re],st=Array.isArray(dt.key)?dt.key.join("."):dt.key;if(st===Le)return dt;if(dt.fieldGroup&&(Tt(st)||0===Le.indexOf(`${st}.`))){const nn=Fn(dt,Tt(st)?Le:Le.slice(st.length+1));if(nn)return nn}}}function pr(et){var Le;null===(Le=et._componentRefs)||void 0===Le||Le.forEach(Re=>{Re instanceof r.UuU?Re.injector.get(r.sBO).markForCheck():Re.markForCheck()})}const mi=new r.OlP("FORMLY_CONFIG");let ci=(()=>{class et{constructor(){this.types={},this.validators={},this.wrappers={},this.messages={},this.extras={checkExpressionOn:"modelChange",lazyRender:!0,resetFieldOnHide:!0,renderFormlyFieldElement:!0,showError(Re){var Se,dt,st,nn;return(null===(Se=Re.formControl)||void 0===Se?void 0:Se.invalid)&&((null===(dt=Re.formControl)||void 0===dt?void 0:dt.touched)||(null===(st=Re.options.parentForm)||void 0===st?void 0:st.submitted)||!!(null===(nn=Re.field.validation)||void 0===nn?void 0:nn.show))}},this.extensions={},this.presets={},this.extensionsByPriority={}}addConfig(Re){Re.types&&Re.types.forEach(Se=>this.setType(Se)),Re.validators&&Re.validators.forEach(Se=>this.setValidator(Se)),Re.wrappers&&Re.wrappers.forEach(Se=>this.setWrapper(Se)),Re.validationMessages&&Re.validationMessages.forEach(Se=>this.addValidatorMessage(Se.name,Se.message)),Re.extensions&&this.setSortedExtensions(Re.extensions),Re.extras&&(this.extras=Object.assign(Object.assign({},this.extras),Re.extras)),Re.presets&&(this.presets=Object.assign(Object.assign({},this.presets),Re.presets.reduce((Se,dt)=>Object.assign(Object.assign({},Se),{[dt.name]:dt.config}),{})))}setType(Re){Array.isArray(Re)?Re.forEach(Se=>this.setType(Se)):(this.types[Re.name]||(this.types[Re.name]={name:Re.name}),["component","extends","defaultOptions","wrappers"].forEach(Se=>{Re.hasOwnProperty(Se)&&(this.types[Re.name][Se]=Re[Se])}))}getType(Re,Se=!1){if(Re instanceof r.DyG)return{component:Re,name:Re.prototype.constructor.name};if(!this.types[Re]){if(Se)throw new Error(`[Formly Error] The type "${Re}" could not be found. Please make sure that is registered through the FormlyModule declaration.`);return null}return this.mergeExtendedType(Re),this.types[Re]}getMergedField(Re={}){var Se;const dt=this.getType(Re.type);if(!dt)return;dt.defaultOptions&&Oe(Re,dt.defaultOptions);const st=dt.extends&&this.getType(dt.extends).defaultOptions;st&&Oe(Re,st),(null==Re?void 0:Re.optionsTypes)&&Re.optionsTypes.forEach(Fe=>{const Lr=this.getType(Fe).defaultOptions;Lr&&Oe(Re,Lr)});const nn=this.resolveFieldTypeRef(Re);(null===(Se=null==nn?void 0:nn.instance)||void 0===Se?void 0:Se.defaultOptions)&&Oe(Re,nn.instance.defaultOptions),!Re.wrappers&&dt.wrappers&&(Re.wrappers=[...dt.wrappers])}resolveFieldTypeRef(Re={}){const Se=this.getType(Re.type);if(!Se)return null;if(!Se.component||Se._componentRef)return Se._componentRef;const{_viewContainerRef:dt,_injector:st}=Re.options;if(!dt||!st)return null;const nn=dt.createComponent(Se.component,{injector:st});xt(Se,"_componentRef",nn);try{nn.destroy()}catch(Fe){console.error(`An error occurred while destroying the Formly component type "${Re.type}"`,Fe)}return Se._componentRef}setWrapper(Re){this.wrappers[Re.name]=Re,Re.types&&Re.types.forEach(Se=>{this.setTypeWrapper(Se,Re.name)})}getWrapper(Re){if(Re instanceof r.DyG)return{component:Re,name:Re.prototype.constructor.name};if(!this.wrappers[Re])throw new Error(`[Formly Error] The wrapper "${Re}" could not be found. Please make sure that is registered through the FormlyModule declaration.`);return this.wrappers[Re]}setTypeWrapper(Re,Se){this.types[Re]||(this.types[Re]={}),this.types[Re].wrappers||(this.types[Re].wrappers=[]),-1===this.types[Re].wrappers.indexOf(Se)&&this.types[Re].wrappers.push(Se)}setValidator(Re){this.validators[Re.name]=Re}getValidator(Re){if(!this.validators[Re])throw new Error(`[Formly Error] The validator "${Re}" could not be found. Please make sure that is registered through the FormlyModule declaration.`);return this.validators[Re]}addValidatorMessage(Re,Se){this.messages[Re]=Se}getValidatorMessage(Re){return this.messages[Re]}setSortedExtensions(Re){Re.forEach(Se=>{var dt;const st=null!==(dt=Se.priority)&&void 0!==dt?dt:1;this.extensionsByPriority[st]=Object.assign(Object.assign({},this.extensionsByPriority[st]),{[Se.name]:Se.extension})}),this.extensions=Object.keys(this.extensionsByPriority).map(Number).sort((Se,dt)=>Se-dt).reduce((Se,dt)=>Object.assign(Object.assign({},Se),this.extensionsByPriority[dt]),{})}mergeExtendedType(Re){if(!this.types[Re].extends)return;const Se=this.getType(this.types[Re].extends);this.types[Re].component||(this.types[Re].component=Se.component),this.types[Re].wrappers||(this.types[Re].wrappers=Se.wrappers)}}return et.\u0275fac=function(Re){return new(Re||et)},et.\u0275prov=r.Yz7({token:et,factory:et.\u0275fac,providedIn:"root"}),et})(),hr=(()=>{class et{constructor(Re,Se,dt,st){this.config=Re,this.injector=Se,this.viewContainerRef=dt,this.parentForm=st}buildForm(Re,Se=[],dt,st){this.build({fieldGroup:Se,model:dt,form:Re,options:st})}build(Re){if(!this.config.extensions.core)throw new Error("NgxFormly: missing `forRoot()` call. use `forRoot()` when registering the `FormlyModule`.");Re.parent?this._build(Re):(this._setOptions(Re),function Ce(et,Le){const Re=et._updateTreeValidity.bind(et);et._updateTreeValidity=()=>{},Le(),et._updateTreeValidity=Re}(Re.form,()=>{var Se,dt;this._build(Re);const st=Re.options;null===(Se=st.checkExpressions)||void 0===Se||Se.call(st,Re,!0),null===(dt=st.detectChanges)||void 0===dt||dt.call(st,Re)}))}_build(Re){var Se;if(!Re)return;const dt=Object.values(this.config.extensions);dt.forEach(st=>{var nn;return null===(nn=st.prePopulate)||void 0===nn?void 0:nn.call(st,Re)}),dt.forEach(st=>{var nn;return null===(nn=st.onPopulate)||void 0===nn?void 0:nn.call(st,Re)}),null===(Se=Re.fieldGroup)||void 0===Se||Se.forEach(st=>this._build(st)),dt.forEach(st=>{var nn;return null===(nn=st.postPopulate)||void 0===nn?void 0:nn.call(st,Re)})}_setOptions(Re){Re.form=Re.form||new a.cw({}),Re.model=Re.model||{},Re.options=Re.options||{};const Se=Re.options;Se._viewContainerRef||xt(Se,"_viewContainerRef",this.viewContainerRef),Se._injector||xt(Se,"_injector",this.injector),Se.build||(Se._buildForm=()=>{console.warn("Formly: 'options._buildForm' is deprecated since v6.0, use 'options.build' instead."),this.build(Re)},Se.build=(dt=Re)=>(this.build(dt),dt)),!Se.parentForm&&this.parentForm&&(xt(Se,"parentForm",this.parentForm),Gt(Se,["parentForm","submitted"],({firstChange:dt})=>{dt||(Se.checkExpressions(Re),Se.detectChanges(Re))}))}}return et.\u0275fac=function(Re){return new(Re||et)(r.LFG(ci),r.LFG(r.zs3),r.LFG(r.s_b,8),r.LFG(a.sg,8))},et.\u0275prov=r.Yz7({token:et,factory:et.\u0275fac,providedIn:"root"}),et})();function Br(et,Le=!1){const Re=et.formControl,Se=Re._fields?Re._fields.indexOf(et):-1;-1!==Se&&Re._fields.splice(Se,1);const dt=Re.parent;if(!dt)return;const st={emitEvent:Le};if(dt instanceof a.Oe){const nn=dt.controls.findIndex(Fe=>Fe===Re);-1!==nn&&dt.removeAt(nn,st)}else if(dt instanceof a.cw){const nn=Ve(et),Fe=nn[nn.length-1];dt.get([Fe])===Re&&dt.removeControl(Fe,st)}Re.setParent(null)}function Ur(et){var Le;return et.formControl?et.formControl:!1===et.shareFormControl?null:null===(Le=et.form)||void 0===Le?void 0:Le.get(Ve(et))}function Hn(et,Le,Re=!1){if((Le=Le||et.formControl)._fields||xt(Le,"_fields",[]),-1===Le._fields.indexOf(et)&&Le._fields.push(et),!et.formControl&&Le){xt(et,"formControl",Le),Le.setValidators(null),Le.setAsyncValidators(null),et.props.disabled=!!et.props.disabled;const Fe=Gt(et,["props","disabled"],({firstChange:Lr,currentValue:ti})=>{Lr||(ti?et.formControl.disable():et.formControl.enable())});Le instanceof a.NI&&Le.registerOnDisabledChange(Fe.setValue)}if(!et.form||!Be(et))return;let Se=et.form;const dt=Ve(et),st=Ge(et);(!Tt(Le.value)||!Tt(st))&&Le.value!==st&&Le instanceof a.NI&&Le.patchValue(st);for(let Fe=0;Fe<dt.length-1;Fe++){const Lr=dt[Fe];Se.get([Lr])||Se.setControl(Lr,new a.cw({}),{emitEvent:Re}),Se=Se.get([Lr])}const nn=dt[dt.length-1];!et._hide&&Se.get([nn])!==Le&&Se.setControl(nn,Le,{emitEvent:Re})}function er(et,Le=!1){const Re=et.status,Se=et.value;et.updateValueAndValidity({emitEvent:!1,onlySelf:Le}),Re!==et.status&&et.statusChanges.emit(et.status),Se!==et.value&&et.valueChanges.emit(et.value)}function _r(et){null==et||delete et._fields,et.setValidators(null),et.setAsyncValidators(null),(et instanceof a.cw||et instanceof a.Oe)&&Object.values(et.controls).forEach(Le=>_r(Le))}let ei=(()=>{class et{constructor(Re){this.ref=Re}ngOnChanges(){this.name=this.name||"formly-group"}}return et.\u0275fac=function(Re){return new(Re||et)(r.Y36(r.Rgc))},et.\u0275dir=r.lG2({type:et,selectors:[["","formlyTemplate",""]],inputs:{name:["formlyTemplate","name"]},features:[r.TTD]}),et})(),bi=(()=>{class et{}return et.\u0275fac=function(Re){return new(Re||et)},et.\u0275prov=r.Yz7({token:et,factory:et.\u0275fac}),et})(),fi=(()=>{class et{constructor(Re,Se,dt,st,nn){this.config=Re,this.renderer=Se,this._elementRef=dt,this.hostContainerRef=st,this.form=nn,this.hostObservers=[],this.componentRefs=[],this.hooksObservers=[],this.detectFieldBuild=!1,this.valueChangesUnsubscribe=()=>{}}get containerRef(){return this.config.extras.renderFormlyFieldElement?this.viewContainerRef:this.hostContainerRef}get elementRef(){var Re;return this.config.extras.renderFormlyFieldElement?this._elementRef:(null===(Re=this.componentRefs)||void 0===Re?void 0:Re[0])instanceof r.UuU?this.componentRefs[0].location:null}ngAfterContentInit(){this.triggerHook("afterContentInit")}ngAfterViewInit(){this.triggerHook("afterViewInit")}ngDoCheck(){this.detectFieldBuild&&this.field&&this.field.options&&this.render()}ngOnInit(){this.triggerHook("onInit")}ngOnChanges(Re){this.triggerHook("onChanges",Re)}ngOnDestroy(){this.resetRefs(this.field),this.hostObservers.forEach(Re=>Re.unsubscribe()),this.hooksObservers.forEach(Re=>Re()),this.valueChangesUnsubscribe(),this.triggerHook("onDestroy")}renderField(Re,Se,dt=[]){var st,nn,Fe;if(this.containerRef===Re&&(this.resetRefs(this.field),this.containerRef.clear(),dt=null===(st=this.field)||void 0===st?void 0:st.wrappers),(null==dt?void 0:dt.length)>0){const[Lr,...ti]=dt,{component:Ut}=this.config.getWrapper(Lr),Dn=Re.createComponent(Ut);this.attachComponentRef(Dn,Se),Gt(Dn.instance,["fieldComponent"],({currentValue:Et,previousValue:$t,firstChange:_t})=>{if(Et){if($t&&$t._lContainer===Et._lContainer)return;const yt=$t?$t.detach():null;yt&&!yt.destroyed?Et.insert(yt):this.renderField(Et,Se,ti),!_t&&Dn.changeDetectorRef.detectChanges()}})}else if(null==Se?void 0:Se.type){const Lr=null===(Fe=null===(nn=this.form)||void 0===nn?void 0:nn.templates)||void 0===Fe?void 0:Fe.find(Ut=>Ut.name===Se.type);let ti;if(Lr)ti=Re.createEmbeddedView(Lr.ref,{$implicit:Se});else{const{component:Ut}=this.config.getType(Se.type,!0);ti=Re.createComponent(Ut)}this.attachComponentRef(ti,Se)}}triggerHook(Re,Se){var dt,st;if(("onInit"===Re||"onChanges"===Re&&Se.field&&!Se.field.firstChange)&&(this.valueChangesUnsubscribe=this.fieldChanges(this.field)),(null===(st=null===(dt=this.field)||void 0===dt?void 0:dt.hooks)||void 0===st?void 0:st[Re])&&(!Se||Se.field)){const nn=this.field.hooks[Re](this.field);if(u(nn)&&-1!==["onInit","afterContentInit","afterViewInit"].indexOf(Re)){const Fe=nn.subscribe();this.hooksObservers.push(()=>Fe.unsubscribe())}}"onChanges"===Re&&Se.field&&(this.resetRefs(Se.field.previousValue),this.render())}attachComponentRef(Re,Se){this.componentRefs.push(Re),Se._componentRefs.push(Re),Re instanceof r.UuU&&Object.assign(Re.instance,{field:Se})}render(){if(this.field){if(!this.field.options)return void(this.detectFieldBuild=!0);this.detectFieldBuild=!1,this.hostObservers.forEach(Re=>Re.unsubscribe()),this.hostObservers=[Gt(this.field,["hide"],({firstChange:Re,currentValue:Se})=>{const dt=this.containerRef;!1===this.config.extras.lazyRender?(Re&&this.renderField(dt,this.field),(!Re||Re&&Se)&&this.elementRef&&this.renderer.setStyle(this.elementRef.nativeElement,"display",Se?"none":"")):Se?(dt.clear(),this.field.className&&this.renderer.removeAttribute(this.elementRef.nativeElement,"class")):(this.renderField(dt,this.field),this.field.className&&this.renderer.setAttribute(this.elementRef.nativeElement,"class",this.field.className)),!Re&&this.field.options.detectChanges(this.field)}),Gt(this.field,["className"],({firstChange:Re,currentValue:Se})=>{(!Re||Re&&Se)&&(!this.config.extras.lazyRender||!0!==this.field.hide)&&this.elementRef&&this.renderer.setAttribute(this.elementRef.nativeElement,"class",Se)}),...["touched","pristine","status"].map(Re=>Gt(this.field,["formControl",Re],({firstChange:Se})=>!Se&&pr(this.field)))]}}resetRefs(Re){Re&&(Re._componentRefs?Re._componentRefs=Re._componentRefs.filter(Se=>-1===this.componentRefs.indexOf(Se)):xt(this.field,"_componentRefs",[])),this.componentRefs=[]}fieldChanges(Re){if(this.valueChangesUnsubscribe(),!Re)return()=>{};const Se=[Ct(Re,["props"],()=>Re.options.detectChanges(Re)),Ct(Re.options,["formState"],()=>Re.options.detectChanges(Re))];for(const dt of Object.keys(Re._expressions)){const st=Gt(Re,["_expressions",dt],({currentValue:nn,previousValue:Fe})=>{(null==Fe?void 0:Fe.subscription)&&(Fe.subscription.unsubscribe(),Fe.subscription=null),u(nn.value$)&&(nn.subscription=nn.value$.subscribe())});Se.push(()=>{var nn;(null===(nn=Re._expressions[dt])||void 0===nn?void 0:nn.subscription)&&Re._expressions[dt].subscription.unsubscribe(),st.unsubscribe()})}for(const dt of[["template"],["fieldGroupClassName"],["validation","show"]]){const st=Gt(Re,dt,({firstChange:nn})=>!nn&&Re.options.detectChanges(Re));Se.push(()=>st.unsubscribe())}if(Re.formControl&&!Re.fieldGroup){const dt=Re.formControl;let st=dt.valueChanges.pipe((0,T.x)((ti,Ut)=>!(ti!==Ut||Array.isArray(ti)||dn(ti))));dt.value!==Ge(Re)&&(st=st.pipe((0,M.O)(dt.value)));const{updateOn:nn,debounce:Fe}=Re.modelOptions;(!nn||"change"===nn)&&(null==Fe?void 0:Fe.default)>0&&(st=dt.valueChanges.pipe((0,w.b)(Fe.default)));const Lr=st.subscribe(ti=>{var Ut,Dn;(null===(Ut=dt._fields)||void 0===Ut?void 0:Ut.length)>1&&dt instanceof a.NI&&dt.patchValue(ti,{emitEvent:!1,onlySelf:!0}),null===(Dn=Re.parsers)||void 0===Dn||Dn.forEach(Et=>ti=Et(ti)),ti===Re.formControl.value?(Be(Re)&&He(Re,ti),Re.options.fieldChanges.next({value:ti,field:Re,type:"valueChanges"})):Re.formControl.setValue(ti)});Se.push(()=>Lr.unsubscribe())}return()=>Se.forEach(dt=>dt())}}return et.\u0275fac=function(Re){return new(Re||et)(r.Y36(ci),r.Y36(r.Qsj),r.Y36(r.SBq),r.Y36(r.s_b),r.Y36(bi,8))},et.\u0275cmp=r.Xpm({type:et,selectors:[["formly-field"]],viewQuery:function(Re,Se){if(1&Re&&r.Gf(se,7,r.s_b),2&Re){let dt;r.iGM(dt=r.CRH())&&(Se.viewContainerRef=dt.first)}},inputs:{field:"field"},features:[r.TTD],decls:2,vars:0,consts:[["container",""]],template:function(Re,Se){1&Re&&r.YNc(0,ae,0,0,"ng-template",null,0,r.W1O)},styles:["[_nghost-%COMP%]:empty{display:none}"]}),et})(),no=(()=>{class et{constructor(Re,Se,dt,st){this.builder=Re,this.config=Se,this.ngZone=dt,this.fieldTemplates=st,this.modelChange=new r.vpe,this.field={type:"formly-group"},this._modelChangeValue={},this.valueChangesUnsubscribe=()=>{}}set form(Re){this.field.form=Re}get form(){return this.field.form}set model(Re){this.setField({model:Re})}get model(){return this.field.model}set fields(Re){this.setField({fieldGroup:Re})}get fields(){return this.field.fieldGroup}set options(Re){this.setField({options:Re})}get options(){return this.field.options}set templates(Re){this.fieldTemplates.templates=Re}ngDoCheck(){"changeDetectionCheck"===this.config.extras.checkExpressionOn&&this.checkExpressionChange()}ngOnChanges(Re){Re.fields&&this.form&&_r(this.form),(Re.fields||Re.form||Re.model&&this._modelChangeValue!==Re.model.currentValue)&&(this.valueChangesUnsubscribe(),this.builder.build(this.field),this.valueChangesUnsubscribe=this.valueChanges())}ngOnDestroy(){this.valueChangesUnsubscribe()}checkExpressionChange(){var Re,Se;null===(Se=(Re=this.field.options).checkExpressions)||void 0===Se||Se.call(Re,this.field)}valueChanges(){this.valueChangesUnsubscribe();const Re=this.field.options.fieldChanges.pipe((0,R.h)(({field:Se,type:dt})=>Be(Se)&&"valueChanges"===dt),(0,U.w)(()=>this.ngZone.onStable.asObservable().pipe((0,W.q)(1)))).subscribe(()=>this.ngZone.runGuarded(()=>{this.checkExpressionChange(),this.modelChange.emit(this._modelChangeValue=vt(this.model))}));return()=>Re.unsubscribe()}setField(Re){this.config.extras.immutable?this.field=Object.assign(Object.assign({},this.field),vt(Re)):Object.keys(Re).forEach(Se=>this.field[Se]=Re[Se])}}return et.\u0275fac=function(Re){return new(Re||et)(r.Y36(hr),r.Y36(ci),r.Y36(r.R0b),r.Y36(bi))},et.\u0275cmp=r.Xpm({type:et,selectors:[["formly-form"]],contentQueries:function(Re,Se,dt){if(1&Re&&r.Suo(dt,ei,4),2&Re){let st;r.iGM(st=r.CRH())&&(Se.templates=st)}},inputs:{form:"form",model:"model",fields:"fields",options:"options"},outputs:{modelChange:"modelChange"},features:[r._Bn([hr,bi]),r.TTD],decls:1,vars:1,consts:[[3,"field"]],template:function(Re,Se){1&Re&&r._UZ(0,"formly-field",0),2&Re&&r.Q6J("field",Se.field)},directives:[fi],encapsulation:2,changeDetection:0}),et})(),xo=(()=>{class et{constructor(Re,Se,dt){this.renderer=Re,this.elementRef=Se,this.uiAttributesCache={},this.uiEvents={listeners:[],events:["click","keyup","keydown","keypress","focus","blur","change"],callback:(st,nn)=>{switch(st){case"focus":return this.onFocus(nn);case"blur":return this.onBlur(nn);case"change":return this.onChange(nn);default:return this.props[st](this.field,nn)}}},this.document=dt}get props(){return this.field.props||{}}get fieldAttrElements(){var Re;return(null===(Re=this.field)||void 0===Re?void 0:Re._elementRefs)||[]}ngOnChanges(Re){var Se;Re.field&&(this.field.name&&this.setAttribute("name",this.field.name),this.uiEvents.listeners.forEach(dt=>dt()),this.uiEvents.events.forEach(dt=>{var st;((null===(st=this.props)||void 0===st?void 0:st[dt])||-1!==["focus","blur","change"].indexOf(dt))&&this.uiEvents.listeners.push(this.renderer.listen(this.elementRef.nativeElement,dt,nn=>this.uiEvents.callback(dt,nn)))}),(null===(Se=this.props)||void 0===Se?void 0:Se.attributes)&&Gt(this.field,["props","attributes"],({currentValue:dt,previousValue:st})=>{st&&Object.keys(st).forEach(nn=>this.removeAttribute(nn)),dt&&Object.keys(dt).forEach(nn=>{null!=dt[nn]&&this.setAttribute(nn,dt[nn])})}),this.detachElementRef(Re.field.previousValue),this.attachElementRef(Re.field.currentValue),1===this.fieldAttrElements.length&&(!this.id&&this.field.id&&this.setAttribute("id",this.field.id),this.focusObserver=Gt(this.field,["focus"],({currentValue:dt})=>{this.toggleFocus(dt)}))),Re.id&&this.setAttribute("id",this.id)}ngDoCheck(){if(!this.uiAttributes){const Re=this.elementRef.nativeElement;this.uiAttributes=[...Xe,"tabindex","placeholder","readonly","disabled","step"].filter(Se=>!Re.hasAttribute||!Re.hasAttribute(Se))}this.uiAttributes.forEach(Re=>{const Se=this.props[Re];this.uiAttributesCache[Re]!==Se&&(!this.props.attributes||!this.props.attributes.hasOwnProperty(Re.toLowerCase()))&&(this.uiAttributesCache[Re]=Se,Se||0===Se?this.setAttribute(Re,!0===Se?Re:`${Se}`):this.removeAttribute(Re))})}ngOnDestroy(){var Re;this.uiEvents.listeners.forEach(Se=>Se()),this.detachElementRef(this.field),null===(Re=this.focusObserver)||void 0===Re||Re.unsubscribe()}toggleFocus(Re){const Se=this.fieldAttrElements?this.fieldAttrElements[0]:null;if(!Se||!Se.nativeElement.focus)return;const dt=!!this.document.activeElement&&this.fieldAttrElements.some(({nativeElement:st})=>this.document.activeElement===st||st.contains(this.document.activeElement));Re&&!dt?Promise.resolve().then(()=>Se.nativeElement.focus()):!Re&&dt&&Promise.resolve().then(()=>Se.nativeElement.blur())}onFocus(Re){var Se,dt,st;null===(Se=this.focusObserver)||void 0===Se||Se.setValue(!0),null===(st=(dt=this.props).focus)||void 0===st||st.call(dt,this.field,Re)}onBlur(Re){var Se,dt,st;null===(Se=this.focusObserver)||void 0===Se||Se.setValue(!1),null===(st=(dt=this.props).blur)||void 0===st||st.call(dt,this.field,Re)}onHostChange(Re){Re instanceof Event||this.onChange(Re)}onChange(Re){var Se,dt,st;null===(dt=(Se=this.props).change)||void 0===dt||dt.call(Se,this.field,Re),null===(st=this.field.formControl)||void 0===st||st.markAsDirty()}attachElementRef(Re){var Se;!Re||(-1===(null===(Se=Re._elementRefs)||void 0===Se?void 0:Se.indexOf(this.elementRef))?Re._elementRefs.push(this.elementRef):xt(Re,"_elementRefs",[this.elementRef]))}detachElementRef(Re){const Se=(null==Re?void 0:Re._elementRefs)?this.fieldAttrElements.indexOf(this.elementRef):-1;-1!==Se&&Re._elementRefs.splice(Se,1)}setAttribute(Re,Se){this.renderer.setAttribute(this.elementRef.nativeElement,Re,Se)}removeAttribute(Re){this.renderer.removeAttribute(this.elementRef.nativeElement,Re)}}return et.\u0275fac=function(Re){return new(Re||et)(r.Y36(r.Qsj),r.Y36(r.SBq),r.Y36(ue.K0))},et.\u0275dir=r.lG2({type:et,selectors:[["","formlyAttributes",""]],hostBindings:function(Re,Se){1&Re&&r.NdJ("change",function(st){return Se.onHostChange(st)})},inputs:{field:["formlyAttributes","field"],id:"id"},features:[r.TTD]}),et})(),Er=(()=>{class et{get model(){return this.field.model}get form(){return this.field.form}get options(){return this.field.options}get key(){return this.field.key}get formControl(){return this.field.formControl}get props(){return this.field.props||{}}get to(){return this.props}get showError(){return this.options.showError(this)}get id(){return this.field.id}get formState(){return this.options.formState||{}}}return et.\u0275fac=function(Re){return new(Re||et)},et.\u0275dir=r.lG2({type:et,inputs:{field:"field"}}),et})(),an=(()=>{class et extends Er{}return et.\u0275fac=function(){let Le;return function(Se){return(Le||(Le=r.n5z(et)))(Se||et)}}(),et.\u0275cmp=r.Xpm({type:et,selectors:[["formly-group"]],hostVars:2,hostBindings:function(Re,Se){2&Re&&r.Tol(Se.field.fieldGroupClassName||"")},features:[r.qOj],ngContentSelectors:fe,decls:2,vars:1,consts:[[3,"field",4,"ngFor","ngForOf"],[3,"field"]],template:function(Re,Se){1&Re&&(r.F$t(),r.YNc(0,ie,1,1,"formly-field",0),r.Hsn(1)),2&Re&&r.Q6J("ngForOf",Se.field.fieldGroup)},directives:[fi,ue.sg],encapsulation:2,changeDetection:0}),et})(),vn=(()=>{class et{constructor(Re){this.config=Re}ngOnChanges(){const Re=Xe.map(Se=>`templateOptions.${Se}`);this.errorMessage$=(0,e.T)(this.field.formControl.statusChanges,this.field.options?this.field.options.fieldChanges.pipe((0,R.h)(({field:Se,type:dt,property:st})=>Se===this.field&&"expressionChanges"===dt&&(-1!==st.indexOf("validation")||-1!==Re.indexOf(st)))):(0,p.of)(null)).pipe((0,M.O)(null),(0,U.w)(()=>u(this.errorMessage)?this.errorMessage:(0,p.of)(this.errorMessage)))}get errorMessage(){var Re,Se,dt,st,nn,Fe;const Lr=this.field.formControl;for(const ti in Lr.errors)if(Lr.errors.hasOwnProperty(ti)){let Ut=this.config.getValidatorMessage(ti);if(dn(Lr.errors[ti])){if(Lr.errors[ti].errorPath)return;Lr.errors[ti].message&&(Ut=Lr.errors[ti].message)}return(null===(Se=null===(Re=this.field.validation)||void 0===Re?void 0:Re.messages)||void 0===Se?void 0:Se[ti])&&(Ut=this.field.validation.messages[ti]),(null===(st=null===(dt=this.field.validators)||void 0===dt?void 0:dt[ti])||void 0===st?void 0:st.message)&&(Ut=this.field.validators[ti].message),(null===(Fe=null===(nn=this.field.asyncValidators)||void 0===nn?void 0:nn[ti])||void 0===Fe?void 0:Fe.message)&&(Ut=this.field.asyncValidators[ti].message),"function"==typeof Ut?Ut(Lr.errors[ti],this.field):Ut}}}return et.\u0275fac=function(Re){return new(Re||et)(r.Y36(ci))},et.\u0275cmp=r.Xpm({type:et,selectors:[["formly-validation-message"]],inputs:{field:"field"},features:[r.TTD],decls:2,vars:3,template:function(Re,Se){1&Re&&(r._uU(0),r.ALo(1,"async")),2&Re&&r.Oqu(r.lcZ(1,1,Se.errorMessage$))},pipes:[ue.Ov],encapsulation:2,changeDetection:0}),et})(),Zn=(()=>{class et extends Er{onPopulate(Re){!Re.formControl&&Be(Re)&&Hn(Re,Ur(Re)||new a.Oe([],{updateOn:Re.modelOptions.updateOn})),Re.fieldGroup=Re.fieldGroup||[];const Se=Array.isArray(Re.model)?Re.model.length:0;if(Re.fieldGroup.length>Se)for(let dt=Re.fieldGroup.length-1;dt>=Se;--dt)Br(Re.fieldGroup[dt],!0),Re.fieldGroup.splice(dt,1);for(let dt=Re.fieldGroup.length;dt<Se;dt++){const st=Object.assign(Object.assign({},vt("function"==typeof Re.fieldArray?Re.fieldArray(Re):Re.fieldArray)),{key:`${dt}`});Re.fieldGroup.push(st)}}add(Re,Se,{markAsDirty:dt}={markAsDirty:!0}){Re=null==Re?this.field.fieldGroup.length:Re,this.model||He(this.field,[]),this.model.splice(Re,0,Se?vt(Se):void 0),this._build(),dt&&this.formControl.markAsDirty()}remove(Re,{markAsDirty:Se}={markAsDirty:!0}){this.model.splice(Re,1);const dt=this.field.fieldGroup[Re];this.field.fieldGroup.splice(Re,1),this.field.fieldGroup.forEach((st,nn)=>st.key=`${nn}`),Br(dt,!0),this._build(),Se&&this.formControl.markAsDirty()}_build(){var Re;(null!==(Re=this.field.formControl._fields)&&void 0!==Re?Re:[this.field]).forEach(dt=>this.options.build(dt)),this.options.fieldChanges.next({field:this.field,value:Ge(this.field),type:"valueChanges"})}}return et.\u0275fac=function(){let Le;return function(Se){return(Le||(Le=r.n5z(et)))(Se||et)}}(),et.\u0275dir=r.lG2({type:et,features:[r.qOj]}),et})(),Xn=(()=>{class et extends Er{set _staticContent(Re){this.fieldComponent=Re}}return et.\u0275fac=function(){let Le;return function(Se){return(Le||(Le=r.n5z(et)))(Se||et)}}(),et.\u0275dir=r.lG2({type:et,viewQuery:function(Re,Se){if(1&Re&&(r.Gf(_e,5,r.s_b),r.Gf(_e,7,r.s_b)),2&Re){let dt;r.iGM(dt=r.CRH())&&(Se.fieldComponent=dt.first),r.iGM(dt=r.CRH())&&(Se._staticContent=dt.first)}},features:[r.qOj]}),et})(),zn=(()=>{class et extends Er{constructor(Re){super(),this.sanitizer=Re,this.innerHtml={}}get template(){return this.field&&this.field.template!==this.innerHtml.template&&(this.innerHtml={template:this.field.template,content:this.props.safeHtml?this.sanitizer.bypassSecurityTrustHtml(this.field.template):this.field.template}),this.innerHtml.content}}return et.\u0275fac=function(Re){return new(Re||et)(r.Y36(re.H7))},et.\u0275cmp=r.Xpm({type:et,selectors:[["formly-template"]],features:[r.qOj],decls:1,vars:1,consts:[[3,"innerHtml"]],template:function(Re,Se){1&Re&&r._UZ(0,"div",0),2&Re&&r.Q6J("innerHtml",Se.template,r.oJD)},encapsulation:2,changeDetection:0}),et})();class ui{onPopulate(Le){if(Le._expressions)return;xt(Le,"_expressions",{}),Gt(Le,["hide"],({currentValue:Se,firstChange:dt})=>{xt(Le,"_hide",!!Se),(!dt||dt&&!0===Se)&&(Le.props.hidden=Se,Le.options._hiddenFieldsForCheck.push(Le))}),Le.hideExpression&&Gt(Le,["hideExpression"],({currentValue:Se})=>{Le._expressions.hide=this.parseExpressions(Le,"hide","boolean"==typeof Se?()=>Se:Se)});const Re=(Se,dt)=>{"string"==typeof dt||Nt(dt)?Le._expressions[Se]=this.parseExpressions(Le,Se,dt):dt instanceof f.y&&(Le._expressions[Se]={value$:dt.pipe((0,j.b)(st=>{this.evalExpr(Le,Se,st),Le.options.detectChanges(Le)}))})};Le.expressions=Le.expressions||{};for(const Se of Object.keys(Le.expressions))Gt(Le,["expressions",Se],({currentValue:dt})=>{Re(Se,Nt(dt)?(...st)=>dt(Le,st[3]):dt)});Le.expressionProperties=Le.expressionProperties||{};for(const Se of Object.keys(Le.expressionProperties))Gt(Le,["expressionProperties",Se],({currentValue:dt})=>Re(Se,dt))}postPopulate(Le){if(!Le.parent&&!Le.options.checkExpressions){let Re=!1;Le.options.checkExpressions=(Se,dt)=>{if(Re)return;Re=!0;const st=this.checkExpressions(Se,dt),nn=Le.options;nn._hiddenFieldsForCheck.sort(Fe=>Fe.hide?-1:1).forEach(Fe=>this.changeHideState(Fe,Fe.hide,!dt)),nn._hiddenFieldsForCheck=[],st&&(this.checkExpressions(Le),Le.options&&Le.options.detectChanges&&Le.options.detectChanges(Le)),Re=!1},Le.options._checkField=(Se,dt)=>{console.warn("Formly: 'options._checkField' is deprecated since v6.0, use 'options.checkExpressions' instead."),Le.options.checkExpressions(Se,dt)}}}parseExpressions(Le,Re,Se){let dt,st;if(Le.parent&&["hide","props.disabled"].includes(Re)){const nn=Fe=>"hide"===Re?Fe.hide:Fe.props.disabled;dt=()=>{let Fe=Le.parent;for(;Fe.parent&&!nn(Fe);)Fe=Fe.parent;return nn(Fe)}}return"string"==typeof(Se=Se||(()=>!1))&&(Se=function ri(et,Le){try{return Function(...Le,`return ${et};`)}catch(Re){console.error(Re)}}(Se,["model","formState","field"])),{callback:nn=>{try{const Fe=function Gi(et,Le,Re){return"function"==typeof et?et.apply(Le,Re):!!et}(dt?(...Lr)=>dt(Le)||Se(...Lr):Se,{field:Le},[Le.model,Le.options.formState,Le,nn]);return!(!nn&&(st===Fe||dn(Fe)&&!u(Fe)&&JSON.stringify(Fe)===JSON.stringify(st))||(st=Fe,this.evalExpr(Le,Re,Fe),0))}catch(Fe){throw Fe.message=`[Formly Error] [Expression "${Re}"] ${Fe.message}`,Fe}}}}checkExpressions(Le,Re=!1){var Se,dt,st;if(!Le)return!1;let nn=!1;if(Le._expressions)for(const Fe of Object.keys(Le._expressions))(null===(dt=(Se=Le._expressions[Fe]).callback)||void 0===dt?void 0:dt.call(Se,Re))&&(nn=!0);return null===(st=Le.fieldGroup)||void 0===st||st.forEach(Fe=>this.checkExpressions(Fe,Re)&&(nn=!0)),nn}changeDisabledState(Le,Re){Le.fieldGroup&&Le.fieldGroup.filter(Se=>!Se._expressions.hasOwnProperty("props.disabled")).forEach(Se=>this.changeDisabledState(Se,Re)),Be(Le)&&Le.props.disabled!==Re&&(Le.props.disabled=Re)}changeHideState(Le,Re,Se){var dt,st,nn;if(Le.fieldGroup&&Le.fieldGroup.filter(Fe=>!Fe._expressions.hide).forEach(Fe=>this.changeHideState(Fe,Re,Se)),Le.formControl&&Be(Le)){xt(Le,"_hide",!(!Re&&!Le.hide));const Fe=Le.formControl;(null===(dt=Fe._fields)||void 0===dt?void 0:dt.length)>1&&er(Fe),!0!==Re||Fe._fields&&!Fe._fields.every(Lr=>!!Lr._hide)?!1===Re&&(Le.resetOnHide&&!We(Le.defaultValue)&&We(Ge(Le))&&He(Le,Le.defaultValue),Hn(Le,void 0,!0),Le.resetOnHide&&Le.fieldArray&&(null===(st=Le.fieldGroup)||void 0===st?void 0:st.length)!==(null===(nn=Le.model)||void 0===nn?void 0:nn.length)&&Le.options.build(Le)):(Br(Le,!0),Se&&Le.resetOnHide&&(He(Le,void 0),Le.formControl.reset({value:void 0,disabled:Le.formControl.disabled}),Le.options.fieldChanges.next({value:void 0,field:Le,type:"valueChanges"}),Le.fieldGroup&&Le.formControl instanceof a.Oe&&(Le.fieldGroup.length=0)))}Le.options.fieldChanges&&Le.options.fieldChanges.next({field:Le,type:"hidden",value:Re})}evalExpr(Le,Re,Se){try{let dt=Le;const st=this._evalExpressionPath(Le,Re),nn=st.length-1;for(let Fe=0;Fe<nn;Fe++)dt=dt[st[Fe]];dt[st[nn]]=Se}catch(dt){throw dt.message=`[Formly Error] [Expression "${Re}"] ${dt.message}`,dt}if(["templateOptions.disabled","props.disabled"].includes(Re)&&Be(Le)&&this.changeDisabledState(Le,Se),0===Re.indexOf("model.")){const dt=Re.replace(/^model\./,""),st=(null==Le?void 0:Le.key)===dt?Le.formControl:Le.form.get(dt);st&&(!Tt(st.value)||!Tt(Se))&&st.value!==Se&&st.patchValue(Se)}this.emitExpressionChanges(Le,Re,Se)}emitExpressionChanges(Le,Re,Se){!Le.options.fieldChanges||Le.options.fieldChanges.next({field:Le,type:"expressionChanges",property:Re,value:Se})}_evalExpressionPath(Le,Re){if(Le._expressions[Re]&&Le._expressions[Re].paths)return Le._expressions[Re].paths;let Se=[];return-1===Re.indexOf("[")?Se=Re.split("."):Re.split(/[[\]]{1,2}/).filter(dt=>dt).forEach(dt=>{const st=dt.match(/['|"](.*?)['|"]/);st?Se.push(st[1]):Se.push(...dt.split(".").filter(nn=>nn))}),Le._expressions[Re]&&(Le._expressions[Re].paths=Se),Se}}class vr{constructor(Le){this.config=Le}onPopulate(Le){this.initFieldValidation(Le,"validators"),this.initFieldValidation(Le,"asyncValidators")}initFieldValidation(Le,Re){const Se=[];if("validators"===Re&&!(Le.hasOwnProperty("fieldGroup")&&!Be(Le))&&Se.push(this.getPredefinedFieldValidation(Le)),Le[Re])for(const dt of Object.keys(Le[Re]))"validation"===dt?Se.push(...Le[Re].validation.map(st=>this.wrapNgValidatorFn(Le,st))):Se.push(this.wrapNgValidatorFn(Le,Le[Re][dt],dt));xt(Le,"_"+Re,Se)}getPredefinedFieldValidation(Le){let Re=[];return Xe.forEach(Se=>Gt(Le,["props",Se],({currentValue:dt,firstChange:st})=>{Re=Re.filter(nn=>nn!==Se),null!=dt&&!1!==dt&&Re.push(Se),!st&&Le.formControl&&er(Le.formControl)})),Se=>0===Re.length?null:a.kI.compose(Re.map(dt=>()=>{var st,nn,Fe,Lr;const ti=Le.props[dt];switch(dt){case"required":return a.kI.required(Se);case"pattern":return a.kI.pattern(ti)(Se);case"minLength":const Ut=a.kI.minLength(ti)(Se),Dn=this.config.getValidatorMessage("minlength")||(null===(nn=null===(st=Le.validation)||void 0===st?void 0:st.messages)||void 0===nn?void 0:nn.minlength)?"minlength":"minLength";return Ut?{[Dn]:Ut.minlength}:null;case"maxLength":const Et=a.kI.maxLength(ti)(Se),$t=this.config.getValidatorMessage("maxlength")||(null===(Lr=null===(Fe=Le.validation)||void 0===Fe?void 0:Fe.messages)||void 0===Lr?void 0:Lr.maxlength)?"maxlength":"maxLength";return Et?{[$t]:Et.maxlength}:null;case"min":return a.kI.min(ti)(Se);case"max":return a.kI.max(ti)(Se);default:return null}}))(Se)}wrapNgValidatorFn(Le,Re,Se){let dt;if("string"==typeof Re&&(dt=vt(this.config.getValidator(Re))),"object"==typeof Re&&Re.name&&(dt=vt(this.config.getValidator(Re.name)),Re.options&&(dt.options=Re.options)),"object"==typeof Re&&Re.expression){const{expression:st}=Re,nn=(0,H._T)(Re,["expression"]);dt={name:Se,validation:st,options:Object.keys(nn).length>0?nn:null}}return"function"==typeof Re&&(dt={name:Se,validation:Re}),st=>{const nn=dt.validation(st,Le,dt.options);return function rn(et){return!!et&&"function"==typeof et.then}(nn)?nn.then(Fe=>this.handleAsyncResult(Le,Se?!!Fe:Fe,dt)):u(nn)?nn.pipe((0,q.U)(Fe=>this.handleAsyncResult(Le,Se?!!Fe:Fe,dt))):this.handleResult(Le,Se?!!nn:nn,dt)}}handleAsyncResult(Le,Re,Se){return Le.options.detectChanges(Le),this.handleResult(Le,Re,Se)}handleResult(Le,Re,{name:Se,options:dt}){var st,nn;"boolean"==typeof Re&&(Re=Re?null:{[Se]:dt||!0});const Fe=Le.formControl;return null===(nn=null===(st=null==Fe?void 0:Fe._childrenErrors)||void 0===st?void 0:st[Se])||void 0===nn||nn.call(st),dn(Re)&&Object.keys(Re).forEach(Lr=>{const ti=Re[Lr].errorPath?Re[Lr].errorPath:null==dt?void 0:dt.errorPath,Ut=ti?Le.formControl.get(ti):null;if(Ut){const $t=(0,H._T)(Re[Lr],["errorPath"]);Ut.setErrors(Object.assign(Object.assign({},Ut.errors||{}),{[Lr]:$t})),!Fe._childrenErrors&&xt(Fe,"_childrenErrors",{}),Fe._childrenErrors[Lr]=()=>{const yn=(0,H._T)(Ut.errors||{},["symbol"==typeof Lr?Lr:Lr+""]);Ut.setErrors(0===Object.keys(yn).length?null:yn)}}}),Re}}class Ji{prePopulate(Le){this.root||(this.root=Le),Le.parent&&Object.defineProperty(Le,"form",{get:()=>Le.parent.formControl,configurable:!0})}onPopulate(Le){Le.hasOwnProperty("fieldGroup")&&!Be(Le)?xt(Le,"formControl",Le.form):this.addFormControl(Le)}postPopulate(Le){if(this.root===Le&&(this.root=null,this.setValidators(Le)&&Le.parent)){let Se=Le.parent;for(;Se;)(Be(Se)||!Se.parent)&&er(Se.formControl,!0),Se=Se.parent}}addFormControl(Le){let Re=Ur(Le);if(!Re){const Se={updateOn:Le.modelOptions.updateOn};if(Le.fieldGroup)Re=new a.cw({},Se);else{const dt=Be(Le)?Ge(Le):Le.defaultValue;Re=new a.NI({value:dt,disabled:!1},Object.assign(Object.assign({},Se),{initialValueIsDefault:!0}))}}Hn(Le,Re)}setValidators(Le,Re=!1){var Se,dt;!1===Re&&Be(Le)&&(null===(Se=Le.props)||void 0===Se?void 0:Se.disabled)&&(Re=!0);let st=!1;if(null===(dt=Le.fieldGroup)||void 0===dt||dt.forEach(nn=>nn&&this.setValidators(nn,Re)&&(st=!0)),Be(Le)||!Le.parent||!Be(Le)&&!Le.fieldGroup){const{formControl:nn}=Le;if(nn&&(Be(Le)&&nn instanceof a.NI&&(Re&&nn.enabled&&(nn.disable({emitEvent:!1,onlySelf:!0}),st=!0),!Re&&nn.disabled&&(nn.enable({emitEvent:!1,onlySelf:!0}),st=!0)),(null===nn.validator||null===nn.asyncValidator)&&(nn.setValidators(()=>{const Fe=a.kI.compose(this.mergeValidators(Le,"_validators"));return Fe?Fe(nn):null}),nn.setAsyncValidators(()=>{const Fe=a.kI.composeAsync(this.mergeValidators(Le,"_asyncValidators"));return Fe?Fe(nn):(0,p.of)(null)}),st=!0),st)){er(nn,!0);let Fe=nn.parent;for(let Lr=1;Lr<Ve(Le).length;Lr++)Fe&&(er(Fe,!0),Fe=Fe.parent)}}return st}mergeValidators(Le,Re){var Se;const dt=[],st=Le.formControl;return(null===(Se=null==st?void 0:st._fields)||void 0===Se?void 0:Se.length)>1?st._fields.filter(nn=>!nn._hide).forEach(nn=>dt.push(...nn[Re])):Le[Re]&&dt.push(...Le[Re]),Le.fieldGroup&&Le.fieldGroup.filter(nn=>(null==nn?void 0:nn.fieldGroup)&&!Be(nn)).forEach(nn=>dt.push(...this.mergeValidators(nn,Re))),dt}}class mn{constructor(Le){this.config=Le,this.formId=0}prePopulate(Le){var Re,Se;const dt=Le.parent;this.initRootOptions(Le),this.initFieldProps(Le),dt&&(Object.defineProperty(Le,"options",{get:()=>dt.options,configurable:!0}),Object.defineProperty(Le,"model",{get:()=>Be(Le)&&Le.fieldGroup?Ge(Le):dt.model,configurable:!0})),Object.defineProperty(Le,"get",{value:st=>Fn(Le,st),configurable:!0}),null===(Se=(Re=this.getFieldComponentInstance(Le)).prePopulate)||void 0===Se||Se.call(Re,Le)}onPopulate(Le){var Re,Se;this.initFieldOptions(Le),null===(Se=(Re=this.getFieldComponentInstance(Le)).onPopulate)||void 0===Se||Se.call(Re,Le),Le.fieldGroup&&Le.fieldGroup.forEach((dt,st)=>{dt&&(Object.defineProperty(dt,"parent",{get:()=>Le,configurable:!0}),Object.defineProperty(dt,"index",{get:()=>st,configurable:!0})),this.formId++})}postPopulate(Le){var Re,Se;null===(Se=(Re=this.getFieldComponentInstance(Le)).postPopulate)||void 0===Se||Se.call(Re,Le)}initFieldProps(Le){var Re;null!==(Re=Le.props)&&void 0!==Re||(Le.props=Le.templateOptions),Object.defineProperty(Le,"templateOptions",{get:()=>Le.props,set:Se=>Le.props=Se,configurable:!0})}initRootOptions(Le){if(Le.parent)return;const Re=Le.options;Le.options.formState=Le.options.formState||{},Re.showError||(Re.showError=this.config.extras.showError),Re.fieldChanges||xt(Re,"fieldChanges",new g.xQ),Re._hiddenFieldsForCheck||(Re._hiddenFieldsForCheck=[]),Re._markForCheck=Se=>{console.warn("Formly: 'options._markForCheck' is deprecated since v6.0, use 'options.detectChanges' instead."),Re.detectChanges(Se)},Re.detectChanges=Se=>{var dt;Se._componentRefs&&(Se.options.checkExpressions(Se),pr(Se)),null===(dt=Se.fieldGroup)||void 0===dt||dt.forEach(st=>st&&Re.detectChanges(st))},Re.resetModel=Se=>{Se=vt(null!=Se?Se:Re._initialModel),Le.model&&(Object.keys(Le.model).forEach(dt=>delete Le.model[dt]),Object.assign(Le.model,Se||{})),Re.build(Le),Le.form.reset(Le.model),Re.parentForm&&Re.parentForm.control===Le.formControl&&(Re.parentForm.submitted=!1)},Re.updateInitialValue=Se=>Re._initialModel=vt(null!=Se?Se:Le.model),Le.options.updateInitialValue()}initFieldOptions(Le){var Re,Se;if(Oe(Le,{id:ce(`formly_${this.formId}`,Le,Le.index),hooks:{},modelOptions:{},validation:{messages:{}},props:Le.type&&Be(Le)?{label:"",placeholder:"",disabled:!1}:{}}),this.config.extras.resetFieldOnHide&&!1!==Le.resetOnHide&&(Le.resetOnHide=!0),"formly-template"!==Le.type&&(Le.template||(null===(Re=Le.expressions)||void 0===Re?void 0:Re.template)||(null===(Se=Le.expressionProperties)||void 0===Se?void 0:Se.template))&&(Le.type="formly-template"),!Le.type&&Le.fieldGroup&&(Le.type="formly-group"),Le.type&&this.config.getMergedField(Le),Be(Le)&&!We(Le.defaultValue)&&We(Ge(Le))){const dt=nn=>{var Fe;return nn.hide||(null===(Fe=nn.expressions)||void 0===Fe?void 0:Fe.hide)||nn.hideExpression};let st=!Le.resetOnHide||!dt(Le);if(!dt(Le)&&Le.resetOnHide){let nn=Le.parent;for(;nn&&!dt(nn);)nn=nn.parent;st=!nn||!dt(nn)}st&&He(Le,Le.defaultValue)}Le.wrappers=Le.wrappers||[]}getFieldComponentInstance(Le){const Re=()=>{var Se;let dt=this.config.resolveFieldTypeRef(Le);const st=null===(Se=Le._componentRefs)||void 0===Se?void 0:Se.slice(-1)[0];return st instanceof r.UuU&&(null==st?void 0:st.componentType)===(null==dt?void 0:dt.componentType)&&(dt=st),null==dt?void 0:dt.instance};return Le._proxyInstance||xt(Le,"_proxyInstance",new Proxy({},{get:(Se,dt)=>{var st;return null===(st=Re())||void 0===st?void 0:st[dt]},set:(Se,dt,st)=>Re()[dt]=st})),Le._proxyInstance}}function Rn(et){return{types:[{name:"formly-group",component:an},{name:"formly-template",component:zn}],extensions:[{name:"core",extension:new mn(et),priority:-250},{name:"field-validation",extension:new vr(et),priority:-200},{name:"field-form",extension:new Ji,priority:-150},{name:"field-expression",extension:new ui,priority:-100}]}}let Wn=(()=>{class et{constructor(Re,Se=[]){!Se||Se.forEach(dt=>Re.addConfig(dt))}static forRoot(Re={}){return{ngModule:et,providers:[{provide:mi,multi:!0,useFactory:Rn,deps:[ci]},{provide:mi,useValue:Re,multi:!0},ci,hr]}}static forChild(Re={}){return{ngModule:et,providers:[{provide:mi,multi:!0,useFactory:Rn,deps:[ci]},{provide:mi,useValue:Re,multi:!0},hr]}}}return et.\u0275fac=function(Re){return new(Re||et)(r.LFG(ci),r.LFG(mi,8))},et.\u0275mod=r.oAB({type:et}),et.\u0275inj=r.cJS({imports:[[ue.ez]]}),et})()},78160:(v,b,i)=>{"use strict";i.d(b,{Z:()=>re});var f=i(66224);const e=function u(H,se){for(var ae=H.length;ae--;)if((0,f.Z)(H[ae][0],se))return ae;return-1};var g=Array.prototype.splice;function ue(H){var se=-1,ae=null==H?0:H.length;for(this.clear();++se<ae;){var ie=H[se];this.set(ie[0],ie[1])}}ue.prototype.clear=function r(){this.__data__=[],this.size=0},ue.prototype.delete=function T(H){var se=this.__data__,ae=e(se,H);return!(ae<0||(ae==se.length-1?se.pop():g.call(se,ae,1),--this.size,0))},ue.prototype.get=function w(H){var se=this.__data__,ae=e(se,H);return ae<0?void 0:se[ae][1]},ue.prototype.has=function U(H){return e(this.__data__,H)>-1},ue.prototype.set=function j(H,se){var ae=this.__data__,ie=e(ae,H);return ie<0?(++this.size,ae.push([H,se])):ae[ie][1]=se,this};const re=ue},54673:(v,b,i)=>{"use strict";i.d(b,{Z:()=>u});var r=i(10259),a=i(40309);const u=(0,r.Z)(a.Z,"Map")},94013:(v,b,i)=>{"use strict";i.d(b,{Z:()=>rn});const f=(0,i(10259).Z)(Object,"create");var w=Object.prototype.hasOwnProperty;var j=Object.prototype.hasOwnProperty;function ae(vt){var xt=-1,Ct=null==vt?0:vt.length;for(this.clear();++xt<Ct;){var Gt=vt[xt];this.set(Gt[0],Gt[1])}}ae.prototype.clear=function u(){this.__data__=f?f(null):{},this.size=0},ae.prototype.delete=function p(vt){var xt=this.has(vt)&&delete this.__data__[vt];return this.size-=xt?1:0,xt},ae.prototype.get=function R(vt){var xt=this.__data__;if(f){var Ct=xt[vt];return"__lodash_hash_undefined__"===Ct?void 0:Ct}return w.call(xt,vt)?xt[vt]:void 0},ae.prototype.has=function q(vt){var xt=this.__data__;return f?void 0!==xt[vt]:j.call(xt,vt)},ae.prototype.set=function H(vt,xt){var Ct=this.__data__;return this.size+=this.has(vt)?0:1,Ct[vt]=f&&void 0===xt?"__lodash_hash_undefined__":xt,this};const ie=ae;var fe=i(78160),_e=i(54673);const He=function Xe(vt,xt){var Ct=vt.__data__;return function Be(vt){var xt=typeof vt;return"string"==xt||"number"==xt||"symbol"==xt||"boolean"==xt?"__proto__"!==vt:null===vt}(xt)?Ct["string"==typeof xt?"string":"hash"]:Ct.map};function dn(vt){var xt=-1,Ct=null==vt?0:vt.length;for(this.clear();++xt<Ct;){var Gt=vt[xt];this.set(Gt[0],Gt[1])}}dn.prototype.clear=function Ce(){this.size=0,this.__data__={hash:new ie,map:new(_e.Z||fe.Z),string:new ie}},dn.prototype.delete=function Pe(vt){var xt=He(this,vt).delete(vt);return this.size-=xt?1:0,xt},dn.prototype.get=function Oe(vt){return He(this,vt).get(vt)},dn.prototype.has=function We(vt){return He(this,vt).has(vt)},dn.prototype.set=function Nt(vt,xt){var Ct=He(this,vt),Gt=Ct.size;return Ct.set(vt,xt),this.size+=Ct.size==Gt?0:1,this};const rn=dn},15131:(v,b,i)=>{"use strict";i.d(b,{Z:()=>ue});var r=i(78160);var w=i(54673),R=i(94013);function q(re){var H=this.__data__=new r.Z(re);this.size=H.size}q.prototype.clear=function a(){this.__data__=new r.Z,this.size=0},q.prototype.delete=function u(re){var H=this.__data__,se=H.delete(re);return this.size=H.size,se},q.prototype.get=function p(re){return this.__data__.get(re)},q.prototype.has=function T(re){return this.__data__.has(re)},q.prototype.set=function W(re,H){var se=this.__data__;if(se instanceof r.Z){var ae=se.__data__;if(!w.Z||ae.length<199)return ae.push([re,H]),this.size=++se.size,this;se=this.__data__=new R.Z(ae)}return se.set(re,H),this.size=se.size,this};const ue=q},35770:(v,b,i)=>{"use strict";i.d(b,{Z:()=>f});const f=i(40309).Z.Symbol},83345:(v,b,i)=>{"use strict";i.d(b,{Z:()=>f});const f=i(40309).Z.Uint8Array},26438:(v,b,i)=>{"use strict";i.d(b,{Z:()=>R});var f=i(40591),u=i(34654),e=i(25014),p=i(28078),g=i(14803),M=Object.prototype.hasOwnProperty;const R=function w(U,W){var j=(0,u.Z)(U),q=!j&&(0,f.Z)(U),ue=!j&&!q&&(0,e.Z)(U),re=!j&&!q&&!ue&&(0,g.Z)(U),H=j||q||ue||re,se=H?function r(U,W){for(var j=-1,q=Array(U);++j<U;)q[j]=W(j);return q}(U.length,String):[],ae=se.length;for(var ie in U)(W||M.call(U,ie))&&(!H||!("length"==ie||ue&&("offset"==ie||"parent"==ie)||re&&("buffer"==ie||"byteLength"==ie||"byteOffset"==ie)||(0,p.Z)(ie,ae)))&&se.push(ie);return se}},57052:(v,b,i)=>{"use strict";i.d(b,{Z:()=>a});const a=function r(f,u){for(var e=-1,p=u.length,g=f.length;++e<p;)f[g+e]=u[e];return f}},15427:(v,b,i)=>{"use strict";i.d(b,{Z:()=>p});var r=i(2951),a=i(66224),u=Object.prototype.hasOwnProperty;const p=function e(g,T,M){var w=g[T];(!u.call(g,T)||!(0,a.Z)(w,M)||void 0===M&&!(T in g))&&(0,r.Z)(g,T,M)}},2951:(v,b,i)=>{"use strict";i.d(b,{Z:()=>f});var r=i(99567);const f=function a(u,e,p){"__proto__"==e&&r.Z?(0,r.Z)(u,e,{configurable:!0,enumerable:!0,value:p,writable:!0}):u[e]=p}},65252:(v,b,i)=>{"use strict";i.d(b,{Z:()=>ua});var r=i(15131);var u=i(15427),e=i(57640),p=i(44409);var M=i(34673);var U=i(27672),W=i(36889),j=i(75694);var re=i(74202);var ae=i(22018),ie=i(23359),fe=i(17507),Ce=Object.prototype.hasOwnProperty;var Ve=i(80609);var Pe=/\w*$/;var Tt=i(35770),We=Tt.Z?Tt.Z.prototype:void 0,Qt=We?We.valueOf:void 0;var dn=i(1044);const Er=function xo(or,Mr,Or){var cr=or.constructor;switch(Mr){case"[object ArrayBuffer]":return(0,Ve.Z)(or);case"[object Boolean]":case"[object Date]":return new cr(+or);case"[object DataView]":return function Xe(or,Mr){var Or=Mr?(0,Ve.Z)(or.buffer):or.buffer;return new or.constructor(Or,or.byteOffset,or.byteLength)}(or,Or);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return(0,dn.Z)(or,Or);case"[object Map]":case"[object Set]":return new cr;case"[object Number]":case"[object String]":return new cr(or);case"[object RegExp]":return function Ge(or){var Mr=new or.constructor(or.source,Pe.exec(or));return Mr.lastIndex=or.lastIndex,Mr}(or);case"[object Symbol]":return function Nt(or){return Qt?Object(Qt.call(or)):{}}(or)}};var an=i(42542),vn=i(34654),Zn=i(25014),Xn=i(6539);var ui=i(21162),vr=i(48514),Ji=vr.Z&&vr.Z.isMap;const Rn=Ji?(0,ui.Z)(Ji):function ri(or){return(0,Xn.Z)(or)&&"[object Map]"==(0,fe.Z)(or)};var Wn=i(4214);var Se=vr.Z&&vr.Z.isSet;const st=Se?(0,ui.Z)(Se):function Le(or){return(0,Xn.Z)(or)&&"[object Set]"==(0,fe.Z)(or)};var ti="[object Arguments]",_t="[object Function]",Cr="[object Object]",mo={};mo[ti]=mo["[object Array]"]=mo["[object ArrayBuffer]"]=mo["[object DataView]"]=mo["[object Boolean]"]=mo["[object Date]"]=mo["[object Float32Array]"]=mo["[object Float64Array]"]=mo["[object Int8Array]"]=mo["[object Int16Array]"]=mo["[object Int32Array]"]=mo["[object Map]"]=mo["[object Number]"]=mo[Cr]=mo["[object RegExp]"]=mo["[object Set]"]=mo["[object String]"]=mo["[object Symbol]"]=mo["[object Uint8Array]"]=mo["[object Uint8ClampedArray]"]=mo["[object Uint16Array]"]=mo["[object Uint32Array]"]=!0,mo["[object Error]"]=mo[_t]=mo["[object WeakMap]"]=!1;const ua=function Go(or,Mr,Or,cr,pi,Sn){var $n,Jr=1&Mr,ro=2&Mr,go=4&Mr;if(Or&&($n=pi?Or(or,cr,pi,Sn):Or(or)),void 0!==$n)return $n;if(!(0,Wn.Z)(or))return or;var Ro=(0,vn.Z)(or);if(Ro){if($n=function ce(or){var Mr=or.length,Or=new or.constructor(Mr);return Mr&&"string"==typeof or[0]&&Ce.call(or,"index")&&(Or.index=or.index,Or.input=or.input),Or}(or),!Jr)return(0,W.Z)(or,$n)}else{var js=(0,fe.Z)(or),ds=js==_t||"[object GeneratorFunction]"==js;if((0,Zn.Z)(or))return(0,U.Z)(or,Jr);if(js==Cr||js==ti||ds&&!pi){if($n=ro||ds?{}:(0,an.Z)(or),!Jr)return ro?function H(or,Mr){return(0,e.Z)(or,(0,re.Z)(or),Mr)}(or,function w(or,Mr){return or&&(0,e.Z)(Mr,(0,M.Z)(Mr),or)}($n,or)):function q(or,Mr){return(0,e.Z)(or,(0,j.Z)(or),Mr)}(or,function g(or,Mr){return or&&(0,e.Z)(Mr,(0,p.Z)(Mr),or)}($n,or))}else{if(!mo[js])return pi?or:{};$n=Er(or,js,Jr)}}Sn||(Sn=new r.Z);var es=Sn.get(or);if(es)return es;Sn.set(or,$n),st(or)?or.forEach(function(fa){$n.add(Go(fa,Mr,Or,fa,or,Sn))}):Rn(or)&&or.forEach(function(fa,sa){$n.set(sa,Go(fa,Mr,Or,sa,or,Sn))});var ya=Ro?void 0:(go?ro?ie.Z:ae.Z:ro?M.Z:p.Z)(or);return function a(or,Mr){for(var Or=-1,cr=null==or?0:or.length;++Or<cr&&!1!==Mr(or[Or],Or,or););}(ya||or,function(fa,sa){ya&&(fa=or[sa=fa]),(0,u.Z)($n,sa,Go(fa,Mr,Or,sa,or,Sn))}),$n}},49137:(v,b,i)=>{"use strict";i.d(b,{Z:()=>u});var r=i(57052),a=i(34654);const u=function f(e,p,g){var T=p(e);return(0,a.Z)(e)?T:(0,r.Z)(T,g(e))}},98286:(v,b,i)=>{"use strict";i.d(b,{Z:()=>ue});var r=i(35770),a=Object.prototype,f=a.hasOwnProperty,u=a.toString,e=r.Z?r.Z.toStringTag:void 0;var M=Object.prototype.toString;var j=r.Z?r.Z.toStringTag:void 0;const ue=function q(re){return null==re?void 0===re?"[object Undefined]":"[object Null]":j&&j in Object(re)?function p(re){var H=f.call(re,e),se=re[e];try{re[e]=void 0;var ae=!0}catch(fe){}var ie=u.call(re);return ae&&(H?re[e]=se:delete re[e]),ie}(re):function w(re){return M.call(re)}(re)}},21162:(v,b,i)=>{"use strict";i.d(b,{Z:()=>a});const a=function r(f){return function(u){return f(u)}}},80609:(v,b,i)=>{"use strict";i.d(b,{Z:()=>f});var r=i(83345);const f=function a(u){var e=new u.constructor(u.byteLength);return new r.Z(e).set(new r.Z(u)),e}},27672:(v,b,i)=>{"use strict";i.d(b,{Z:()=>T});var r=i(40309),a="object"==typeof exports&&exports&&!exports.nodeType&&exports,f=a&&"object"==typeof module&&module&&!module.nodeType&&module,e=f&&f.exports===a?r.Z.Buffer:void 0,p=e?e.allocUnsafe:void 0;const T=function g(M,w){if(w)return M.slice();var R=M.length,U=p?p(R):new M.constructor(R);return M.copy(U),U}},1044:(v,b,i)=>{"use strict";i.d(b,{Z:()=>f});var r=i(80609);const f=function a(u,e){var p=e?(0,r.Z)(u.buffer):u.buffer;return new u.constructor(p,u.byteOffset,u.length)}},36889:(v,b,i)=>{"use strict";i.d(b,{Z:()=>a});const a=function r(f,u){var e=-1,p=f.length;for(u||(u=Array(p));++e<p;)u[e]=f[e];return u}},57640:(v,b,i)=>{"use strict";i.d(b,{Z:()=>u});var r=i(15427),a=i(2951);const u=function f(e,p,g,T){var M=!g;g||(g={});for(var w=-1,R=p.length;++w<R;){var U=p[w],W=T?T(g[U],e[U],U,g,e):void 0;void 0===W&&(W=e[U]),M?(0,a.Z)(g,U,W):(0,r.Z)(g,U,W)}return g}},99567:(v,b,i)=>{"use strict";i.d(b,{Z:()=>f});var r=i(10259);const f=function(){try{var u=(0,r.Z)(Object,"defineProperty");return u({},"",{}),u}catch(e){}}()},7746:(v,b,i)=>{"use strict";i.d(b,{Z:()=>a});const a="object"==typeof global&&global&&global.Object===Object&&global},22018:(v,b,i)=>{"use strict";i.d(b,{Z:()=>e});var r=i(49137),a=i(75694),f=i(44409);const e=function u(p){return(0,r.Z)(p,f.Z,a.Z)}},23359:(v,b,i)=>{"use strict";i.d(b,{Z:()=>e});var r=i(49137),a=i(74202),f=i(34673);const e=function u(p){return(0,r.Z)(p,f.Z,a.Z)}},10259:(v,b,i)=>{"use strict";i.d(b,{Z:()=>fe});var _e,r=i(58209),f=i(40309).Z["__core-js_shared__"],e=(_e=/[^.]+$/.exec(f&&f.keys&&f.keys.IE_PROTO||""))?"Symbol(src)_1."+_e:"";var T=i(4214),M=i(22035),R=/^\[object .+?Constructor\]$/,ue=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const H=function re(_e){return!(!(0,T.Z)(_e)||function p(_e){return!!e&&e in _e}(_e))&&((0,r.Z)(_e)?ue:R).test((0,M.Z)(_e))},fe=function ie(_e,Ce){var ce=function se(_e,Ce){return null==_e?void 0:_e[Ce]}(_e,Ce);return H(ce)?ce:void 0}},11595:(v,b,i)=>{"use strict";i.d(b,{Z:()=>f});const f=(0,i(24184).Z)(Object.getPrototypeOf,Object)},75694:(v,b,i)=>{"use strict";i.d(b,{Z:()=>T});var f=i(38387),e=Object.prototype.propertyIsEnumerable,p=Object.getOwnPropertySymbols;const T=p?function(M){return null==M?[]:(M=Object(M),function r(M,w){for(var R=-1,U=null==M?0:M.length,W=0,j=[];++R<U;){var q=M[R];w(q,R,M)&&(j[W++]=q)}return j}(p(M),function(w){return e.call(M,w)}))}:f.Z},74202:(v,b,i)=>{"use strict";i.d(b,{Z:()=>g});var r=i(57052),a=i(11595),f=i(75694),u=i(38387);const g=Object.getOwnPropertySymbols?function(T){for(var M=[];T;)(0,r.Z)(M,(0,f.Z)(T)),T=(0,a.Z)(T);return M}:u.Z},17507:(v,b,i)=>{"use strict";i.d(b,{Z:()=>Be});var r=i(10259),a=i(40309);const u=(0,r.Z)(a.Z,"DataView");var e=i(54673);const g=(0,r.Z)(a.Z,"Promise"),M=(0,r.Z)(a.Z,"Set"),R=(0,r.Z)(a.Z,"WeakMap");var U=i(98286),W=i(22035),j="[object Map]",ue="[object Promise]",re="[object Set]",H="[object WeakMap]",se="[object DataView]",ae=(0,W.Z)(u),ie=(0,W.Z)(e.Z),fe=(0,W.Z)(g),_e=(0,W.Z)(M),Ce=(0,W.Z)(R),ce=U.Z;(u&&ce(new u(new ArrayBuffer(1)))!=se||e.Z&&ce(new e.Z)!=j||g&&ce(g.resolve())!=ue||M&&ce(new M)!=re||R&&ce(new R)!=H)&&(ce=function(Ve){var Xe=(0,U.Z)(Ve),He="[object Object]"==Xe?Ve.constructor:void 0,Pe=He?(0,W.Z)(He):"";if(Pe)switch(Pe){case ae:return se;case ie:return j;case fe:return ue;case _e:return re;case Ce:return H}return Xe});const Be=ce},42542:(v,b,i)=>{"use strict";i.d(b,{Z:()=>T});var r=i(4214),a=Object.create;const u=function(){function M(){}return function(w){if(!(0,r.Z)(w))return{};if(a)return a(w);M.prototype=w;var R=new M;return M.prototype=void 0,R}}();var e=i(11595),p=i(31550);const T=function g(M){return"function"!=typeof M.constructor||(0,p.Z)(M)?{}:u((0,e.Z)(M))}},28078:(v,b,i)=>{"use strict";i.d(b,{Z:()=>u});var a=/^(?:0|[1-9]\d*)$/;const u=function f(e,p){var g=typeof e;return!!(p=null==p?9007199254740991:p)&&("number"==g||"symbol"!=g&&a.test(e))&&e>-1&&e%1==0&&e<p}},31550:(v,b,i)=>{"use strict";i.d(b,{Z:()=>f});var r=Object.prototype;const f=function a(u){var e=u&&u.constructor;return u===("function"==typeof e&&e.prototype||r)}},48514:(v,b,i)=>{"use strict";i.d(b,{Z:()=>g});var r=i(7746),a="object"==typeof exports&&exports&&!exports.nodeType&&exports,f=a&&"object"==typeof module&&module&&!module.nodeType&&module,e=f&&f.exports===a&&r.Z.process;const g=function(){try{return f&&f.require&&f.require("util").types||e&&e.binding&&e.binding("util")}catch(M){}}()},24184:(v,b,i)=>{"use strict";i.d(b,{Z:()=>a});const a=function r(f,u){return function(e){return f(u(e))}}},40309:(v,b,i)=>{"use strict";i.d(b,{Z:()=>u});var r=i(7746),a="object"==typeof self&&self&&self.Object===Object&&self;const u=r.Z||a||Function("return this")()},22035:(v,b,i)=>{"use strict";i.d(b,{Z:()=>u});var a=Function.prototype.toString;const u=function f(e){if(null!=e){try{return a.call(e)}catch(p){}try{return e+""}catch(p){}}return""}},66224:(v,b,i)=>{"use strict";i.d(b,{Z:()=>a});const a=function r(f,u){return f===u||f!=f&&u!=u}},40591:(v,b,i)=>{"use strict";i.d(b,{Z:()=>w});var r=i(98286),a=i(6539);const e=function u(R){return(0,a.Z)(R)&&"[object Arguments]"==(0,r.Z)(R)};var p=Object.prototype,g=p.hasOwnProperty,T=p.propertyIsEnumerable;const w=e(function(){return arguments}())?e:function(R){return(0,a.Z)(R)&&g.call(R,"callee")&&!T.call(R,"callee")}},34654:(v,b,i)=>{"use strict";i.d(b,{Z:()=>a});const a=Array.isArray},18402:(v,b,i)=>{"use strict";i.d(b,{Z:()=>u});var r=i(58209),a=i(19238);const u=function f(e){return null!=e&&(0,a.Z)(e.length)&&!(0,r.Z)(e)}},25014:(v,b,i)=>{"use strict";i.d(b,{Z:()=>w});var r=i(40309),u="object"==typeof exports&&exports&&!exports.nodeType&&exports,e=u&&"object"==typeof module&&module&&!module.nodeType&&module,g=e&&e.exports===u?r.Z.Buffer:void 0;const w=(g?g.isBuffer:void 0)||function a(){return!1}},58209:(v,b,i)=>{"use strict";i.d(b,{Z:()=>T});var r=i(98286),a=i(4214);const T=function g(M){if(!(0,a.Z)(M))return!1;var w=(0,r.Z)(M);return"[object Function]"==w||"[object GeneratorFunction]"==w||"[object AsyncFunction]"==w||"[object Proxy]"==w}},19238:(v,b,i)=>{"use strict";i.d(b,{Z:()=>f});const f=function a(u){return"number"==typeof u&&u>-1&&u%1==0&&u<=9007199254740991}},4214:(v,b,i)=>{"use strict";i.d(b,{Z:()=>a});const a=function r(f){var u=typeof f;return null!=f&&("object"==u||"function"==u)}},6539:(v,b,i)=>{"use strict";i.d(b,{Z:()=>a});const a=function r(f){return null!=f&&"object"==typeof f}},14803:(v,b,i)=>{"use strict";i.d(b,{Z:()=>Qt});var r=i(98286),a=i(19238),f=i(6539),Xe={};Xe["[object Float32Array]"]=Xe["[object Float64Array]"]=Xe["[object Int8Array]"]=Xe["[object Int16Array]"]=Xe["[object Int32Array]"]=Xe["[object Uint8Array]"]=Xe["[object Uint8ClampedArray]"]=Xe["[object Uint16Array]"]=Xe["[object Uint32Array]"]=!0,Xe["[object Arguments]"]=Xe["[object Array]"]=Xe["[object ArrayBuffer]"]=Xe["[object Boolean]"]=Xe["[object DataView]"]=Xe["[object Date]"]=Xe["[object Error]"]=Xe["[object Function]"]=Xe["[object Map]"]=Xe["[object Number]"]=Xe["[object Object]"]=Xe["[object RegExp]"]=Xe["[object Set]"]=Xe["[object String]"]=Xe["[object WeakMap]"]=!1;var Ge=i(21162),Oe=i(48514),Tt=Oe.Z&&Oe.Z.isTypedArray;const Qt=Tt?(0,Ge.Z)(Tt):function He(Nt){return(0,f.Z)(Nt)&&(0,a.Z)(Nt.length)&&!!Xe[(0,r.Z)(Nt)]}},44409:(v,b,i)=>{"use strict";i.d(b,{Z:()=>U});var r=i(26438),a=i(31550);const e=(0,i(24184).Z)(Object.keys,Object);var g=Object.prototype.hasOwnProperty;var w=i(18402);const U=function R(W){return(0,w.Z)(W)?(0,r.Z)(W):function T(W){if(!(0,a.Z)(W))return e(W);var j=[];for(var q in Object(W))g.call(W,q)&&"constructor"!=q&&j.push(q);return j}(W)}},34673:(v,b,i)=>{"use strict";i.d(b,{Z:()=>U});var r=i(26438),a=i(4214),f=i(31550);var g=Object.prototype.hasOwnProperty;const M=function T(W){if(!(0,a.Z)(W))return function u(W){var j=[];if(null!=W)for(var q in Object(W))j.push(q);return j}(W);var j=(0,f.Z)(W),q=[];for(var ue in W)"constructor"==ue&&(j||!g.call(W,ue))||q.push(ue);return q};var w=i(18402);const U=function R(W){return(0,w.Z)(W)?(0,r.Z)(W,!0):M(W)}},38387:(v,b,i)=>{"use strict";i.d(b,{Z:()=>a});const a=function r(){return[]}},92870:(v,b,i)=>{"use strict";i.d(b,{Rh:()=>Qt,_W:()=>Oe});var r=i(89724),a=i(32019),f=i(79765),u=i(11048),e=i(14800);const p=["toast-component",""];function g(vt,xt){if(1&vt){const Ct=r.EpF();r.TgZ(0,"button",5),r.NdJ("click",function(){return r.CHM(Ct),r.oxw().remove()}),r.TgZ(1,"span",6),r._uU(2,"\xd7"),r.qZA()()}}function T(vt,xt){if(1&vt&&(r.ynx(0),r._uU(1),r.BQk()),2&vt){const Ct=r.oxw(2);r.xp6(1),r.hij("[",Ct.duplicatesCount+1,"]")}}function M(vt,xt){if(1&vt&&(r.TgZ(0,"div"),r._uU(1),r.YNc(2,T,2,1,"ng-container",4),r.qZA()),2&vt){const Ct=r.oxw();r.Tol(Ct.options.titleClass),r.uIk("aria-label",Ct.title),r.xp6(1),r.hij(" ",Ct.title," "),r.xp6(1),r.Q6J("ngIf",Ct.duplicatesCount)}}function w(vt,xt){if(1&vt&&r._UZ(0,"div",7),2&vt){const Ct=r.oxw();r.Tol(Ct.options.messageClass),r.Q6J("innerHTML",Ct.message,r.oJD)}}function R(vt,xt){if(1&vt&&(r.TgZ(0,"div",8),r._uU(1),r.qZA()),2&vt){const Ct=r.oxw();r.Tol(Ct.options.messageClass),r.uIk("aria-label",Ct.message),r.xp6(1),r.hij(" ",Ct.message," ")}}function U(vt,xt){if(1&vt&&(r.TgZ(0,"div"),r._UZ(1,"div",9),r.qZA()),2&vt){const Ct=r.oxw();r.xp6(1),r.Udp("width",Ct.width+"%")}}function W(vt,xt){if(1&vt){const Ct=r.EpF();r.TgZ(0,"button",5),r.NdJ("click",function(){return r.CHM(Ct),r.oxw().remove()}),r.TgZ(1,"span",6),r._uU(2,"\xd7"),r.qZA()()}}function j(vt,xt){if(1&vt&&(r.ynx(0),r._uU(1),r.BQk()),2&vt){const Ct=r.oxw(2);r.xp6(1),r.hij("[",Ct.duplicatesCount+1,"]")}}function q(vt,xt){if(1&vt&&(r.TgZ(0,"div"),r._uU(1),r.YNc(2,j,2,1,"ng-container",4),r.qZA()),2&vt){const Ct=r.oxw();r.Tol(Ct.options.titleClass),r.uIk("aria-label",Ct.title),r.xp6(1),r.hij(" ",Ct.title," "),r.xp6(1),r.Q6J("ngIf",Ct.duplicatesCount)}}function ue(vt,xt){if(1&vt&&r._UZ(0,"div",7),2&vt){const Ct=r.oxw();r.Tol(Ct.options.messageClass),r.Q6J("innerHTML",Ct.message,r.oJD)}}function re(vt,xt){if(1&vt&&(r.TgZ(0,"div",8),r._uU(1),r.qZA()),2&vt){const Ct=r.oxw();r.Tol(Ct.options.messageClass),r.uIk("aria-label",Ct.message),r.xp6(1),r.hij(" ",Ct.message," ")}}function H(vt,xt){if(1&vt&&(r.TgZ(0,"div"),r._UZ(1,"div",9),r.qZA()),2&vt){const Ct=r.oxw();r.xp6(1),r.Udp("width",Ct.width+"%")}}class ie{constructor(xt,Ct){this.component=xt,this.injector=Ct}attach(xt,Ct){return this._attachedHost=xt,xt.attach(this,Ct)}detach(){const xt=this._attachedHost;if(xt)return this._attachedHost=void 0,xt.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(xt){this._attachedHost=xt}}class _e{constructor(xt,Ct,Gt,Fn,pr,mi){this.toastId=xt,this.config=Ct,this.message=Gt,this.title=Fn,this.toastType=pr,this.toastRef=mi,this._onTap=new f.xQ,this._onAction=new f.xQ,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(xt){this._onAction.next(xt)}onAction(){return this._onAction.asObservable()}}const Ce={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing",payload:null},ce=new r.OlP("ToastConfig");class Be{constructor(xt){this._overlayRef=xt,this.duplicatesCount=0,this._afterClosed=new f.xQ,this._activate=new f.xQ,this._manualClose=new f.xQ,this._resetTimeout=new f.xQ,this._countDuplicate=new f.xQ}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(xt,Ct){xt&&this._resetTimeout.next(),Ct&&this._countDuplicate.next(++this.duplicatesCount)}}class Ve{constructor(xt,Ct){this._toastPackage=xt,this._parentInjector=Ct}get(xt,Ct,Gt){return xt===_e?this._toastPackage:this._parentInjector.get(xt,Ct,Gt)}}class Xe extends class fe{attach(xt,Ct){return this._attachedPortal=xt,this.attachComponentPortal(xt,Ct)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(xt){this._disposeFn=xt}}{constructor(xt,Ct,Gt){super(),this._hostDomElement=xt,this._componentFactoryResolver=Ct,this._appRef=Gt}attachComponentPortal(xt,Ct){const Gt=this._componentFactoryResolver.resolveComponentFactory(xt.component);let Fn;return Fn=Gt.create(xt.injector),this._appRef.attachView(Fn.hostView),this.setDisposeFn(()=>{this._appRef.detachView(Fn.hostView),Fn.destroy()}),Ct?this._hostDomElement.insertBefore(this._getComponentRootNode(Fn),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(Fn)),Fn}_getComponentRootNode(xt){return xt.hostView.rootNodes[0]}}class He{constructor(xt){this._portalHost=xt}attach(xt,Ct=!0){return this._portalHost.attach(xt,Ct)}detach(){return this._portalHost.detach()}}let Pe=(()=>{class vt{constructor(Ct){this._document=Ct}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const Ct=this._document.createElement("div");Ct.classList.add("overlay-container"),Ct.setAttribute("aria-live","polite"),this._document.body.appendChild(Ct),this._containerElement=Ct}}return vt.\u0275fac=function(Ct){return new(Ct||vt)(r.LFG(u.K0))},vt.\u0275prov=r.Yz7({token:vt,factory:vt.\u0275fac,providedIn:"root"}),vt})(),Ge=(()=>{class vt{constructor(Ct,Gt,Fn,pr){this._overlayContainer=Ct,this._componentFactoryResolver=Gt,this._appRef=Fn,this._document=pr,this._paneElements=new Map}create(Ct,Gt){return this._createOverlayRef(this.getPaneElement(Ct,Gt))}getPaneElement(Ct="",Gt){return this._paneElements.get(Gt)||this._paneElements.set(Gt,{}),this._paneElements.get(Gt)[Ct]||(this._paneElements.get(Gt)[Ct]=this._createPaneElement(Ct,Gt)),this._paneElements.get(Gt)[Ct]}_createPaneElement(Ct,Gt){const Fn=this._document.createElement("div");return Fn.id="toast-container",Fn.classList.add(Ct),Fn.classList.add("toast-container"),Gt?Gt.getContainerElement().appendChild(Fn):this._overlayContainer.getContainerElement().appendChild(Fn),Fn}_createPortalHost(Ct){return new Xe(Ct,this._componentFactoryResolver,this._appRef)}_createOverlayRef(Ct){return new He(this._createPortalHost(Ct))}}return vt.\u0275fac=function(Ct){return new(Ct||vt)(r.LFG(Pe),r.LFG(r._Vd),r.LFG(r.z2F),r.LFG(u.K0))},vt.\u0275prov=r.Yz7({token:vt,factory:vt.\u0275fac,providedIn:"root"}),vt})(),Oe=(()=>{class vt{constructor(Ct,Gt,Fn,pr,mi){this.overlay=Gt,this._injector=Fn,this.sanitizer=pr,this.ngZone=mi,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig=Object.assign(Object.assign({},Ct.default),Ct.config),Ct.config.iconClasses&&(this.toastrConfig.iconClasses=Object.assign(Object.assign({},Ct.default.iconClasses),Ct.config.iconClasses))}show(Ct,Gt,Fn={},pr=""){return this._preBuildNotification(pr,Ct,Gt,this.applyConfig(Fn))}success(Ct,Gt,Fn={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",Ct,Gt,this.applyConfig(Fn))}error(Ct,Gt,Fn={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",Ct,Gt,this.applyConfig(Fn))}info(Ct,Gt,Fn={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",Ct,Gt,this.applyConfig(Fn))}warning(Ct,Gt,Fn={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",Ct,Gt,this.applyConfig(Fn))}clear(Ct){for(const Gt of this.toasts)if(void 0!==Ct){if(Gt.toastId===Ct)return void Gt.toastRef.manualClose()}else Gt.toastRef.manualClose()}remove(Ct){const Gt=this._findToast(Ct);if(!Gt||(Gt.activeToast.toastRef.close(),this.toasts.splice(Gt.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){const Fn=this.toasts[this.currentlyActive].toastRef;Fn.isInactive()||(this.currentlyActive=this.currentlyActive+1,Fn.activate())}return!0}findDuplicate(Ct="",Gt="",Fn,pr){const{includeTitleDuplicates:mi}=this.toastrConfig;for(const ci of this.toasts){const hr=mi&&ci.title===Ct;if((!mi||hr)&&ci.message===Gt)return ci.toastRef.onDuplicate(Fn,pr),ci}return null}applyConfig(Ct={}){return Object.assign(Object.assign({},this.toastrConfig),Ct)}_findToast(Ct){for(let Gt=0;Gt<this.toasts.length;Gt++)if(this.toasts[Gt].toastId===Ct)return{index:Gt,activeToast:this.toasts[Gt]};return null}_preBuildNotification(Ct,Gt,Fn,pr){return pr.onActivateTick?this.ngZone.run(()=>this._buildNotification(Ct,Gt,Fn,pr)):this._buildNotification(Ct,Gt,Fn,pr)}_buildNotification(Ct,Gt,Fn,pr){if(!pr.toastComponent)throw new Error("toastComponent required");const mi=this.findDuplicate(Fn,Gt,this.toastrConfig.resetTimeoutOnDuplicate&&pr.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&Fn||Gt)&&this.toastrConfig.preventDuplicates&&null!==mi)return mi;this.previousToastMessage=Gt;let ci=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(ci=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const hr=this.overlay.create(pr.positionClass,this.overlayContainer);this.index=this.index+1;let Br=Gt;Gt&&pr.enableHtml&&(Br=this.sanitizer.sanitize(r.q3G.HTML,Gt));const Ur=new Be(hr),Hn=new _e(this.index,pr,Br,Fn,Ct,Ur),er=new Ve(Hn,this._injector),_r=new ie(pr.toastComponent,er),ei=hr.attach(_r,this.toastrConfig.newestOnTop);Ur.componentInstance=ei.instance;const bi={toastId:this.index,title:Fn||"",message:Gt||"",toastRef:Ur,onShown:Ur.afterActivate(),onHidden:Ur.afterClosed(),onTap:Hn.onTap(),onAction:Hn.onAction(),portal:ei};return ci||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{bi.toastRef.activate()})),this.toasts.push(bi),bi}}return vt.\u0275fac=function(Ct){return new(Ct||vt)(r.LFG(ce),r.LFG(Ge),r.LFG(r.zs3),r.LFG(e.H7),r.LFG(r.R0b))},vt.\u0275prov=r.Yz7({token:vt,factory:vt.\u0275fac,providedIn:"root"}),vt})(),Tt=(()=>{class vt{constructor(Ct,Gt,Fn){this.toastrService=Ct,this.toastPackage=Gt,this.ngZone=Fn,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=Gt.message,this.title=Gt.title,this.options=Gt.config,this.originalTimeout=Gt.config.timeOut,this.toastClasses=`${Gt.toastType} ${Gt.config.toastClass}`,this.sub=Gt.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=Gt.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=Gt.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=Gt.toastRef.countDuplicate().subscribe(pr=>{this.duplicatesCount=pr})}get displayStyle(){if("inactive"===this.state.value)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state=Object.assign(Object.assign({},this.state),{value:"active"}),!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const Ct=(new Date).getTime();this.width=(this.hideTime-Ct)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state=Object.assign(Object.assign({},this.state),{value:"active"}),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state=Object.assign(Object.assign({},this.state),{value:"removed"}),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state.value||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(Ct,Gt){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(Ct),Gt)):this.timeout=setTimeout(()=>Ct(),Gt)}outsideInterval(Ct,Gt){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(Ct),Gt)):this.intervalId=setInterval(()=>Ct(),Gt)}runInsideAngular(Ct){this.ngZone?this.ngZone.run(()=>Ct()):Ct()}}return vt.\u0275fac=function(Ct){return new(Ct||vt)(r.Y36(Oe),r.Y36(_e),r.Y36(r.R0b))},vt.\u0275cmp=r.Xpm({type:vt,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(Ct,Gt){1&Ct&&r.NdJ("click",function(){return Gt.tapToast()})("mouseenter",function(){return Gt.stickAround()})("mouseleave",function(){return Gt.delayedHideToast()}),2&Ct&&(r.d8E("@flyInOut",Gt.state),r.Tol(Gt.toastClasses),r.Udp("display",Gt.displayStyle))},attrs:p,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(Ct,Gt){1&Ct&&(r.YNc(0,g,3,0,"button",0),r.YNc(1,M,3,5,"div",1),r.YNc(2,w,1,3,"div",2),r.YNc(3,R,2,4,"div",3),r.YNc(4,U,2,2,"div",4)),2&Ct&&(r.Q6J("ngIf",Gt.options.closeButton),r.xp6(1),r.Q6J("ngIf",Gt.title),r.xp6(1),r.Q6J("ngIf",Gt.message&&Gt.options.enableHtml),r.xp6(1),r.Q6J("ngIf",Gt.message&&!Gt.options.enableHtml),r.xp6(1),r.Q6J("ngIf",Gt.options.progressBar))},directives:[u.O5],encapsulation:2,data:{animation:[(0,a.X$)("flyInOut",[(0,a.SB)("inactive",(0,a.oB)({opacity:0})),(0,a.SB)("active",(0,a.oB)({opacity:1})),(0,a.SB)("removed",(0,a.oB)({opacity:0})),(0,a.eR)("inactive => active",(0,a.jt)("{{ easeTime }}ms {{ easing }}")),(0,a.eR)("active => removed",(0,a.jt)("{{ easeTime }}ms {{ easing }}"))])]}}),vt})();const We=Object.assign(Object.assign({},Ce),{toastComponent:Tt});let Qt=(()=>{class vt{static forRoot(Ct={}){return{ngModule:vt,providers:[{provide:ce,useValue:{default:We,config:Ct}}]}}}return vt.\u0275fac=function(Ct){return new(Ct||vt)},vt.\u0275mod=r.oAB({type:vt}),vt.\u0275inj=r.cJS({imports:[[u.ez]]}),vt})(),Yt=(()=>{class vt{constructor(Ct,Gt,Fn){this.toastrService=Ct,this.toastPackage=Gt,this.appRef=Fn,this.width=-1,this.toastClasses="",this.state="inactive",this.message=Gt.message,this.title=Gt.title,this.options=Gt.config,this.originalTimeout=Gt.config.timeOut,this.toastClasses=`${Gt.toastType} ${Gt.config.toastClass}`,this.sub=Gt.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=Gt.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=Gt.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=Gt.toastRef.countDuplicate().subscribe(pr=>{this.duplicatesCount=pr})}get displayStyle(){if("inactive"===this.state)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state="active",!(!0===this.options.disableTimeOut||"timeOut"===this.options.disableTimeOut)&&this.options.timeOut&&(this.timeout=setTimeout(()=>{this.remove()},this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))),this.options.onActivateTick&&this.appRef.tick()}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const Ct=(new Date).getTime();this.width=(this.hideTime-Ct)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state="active",this.options.timeOut=this.originalTimeout,this.timeout=setTimeout(()=>this.remove(),this.originalTimeout),this.hideTime=(new Date).getTime()+(this.originalTimeout||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))}remove(){"removed"!==this.state&&(clearTimeout(this.timeout),this.state="removed",this.timeout=setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId)))}tapToast(){"removed"!==this.state&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state||(this.timeout=setTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10)))}}return vt.\u0275fac=function(Ct){return new(Ct||vt)(r.Y36(Oe),r.Y36(_e),r.Y36(r.z2F))},vt.\u0275cmp=r.Xpm({type:vt,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(Ct,Gt){1&Ct&&r.NdJ("click",function(){return Gt.tapToast()})("mouseenter",function(){return Gt.stickAround()})("mouseleave",function(){return Gt.delayedHideToast()}),2&Ct&&(r.Tol(Gt.toastClasses),r.Udp("display",Gt.displayStyle))},attrs:p,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(Ct,Gt){1&Ct&&(r.YNc(0,W,3,0,"button",0),r.YNc(1,q,3,5,"div",1),r.YNc(2,ue,1,3,"div",2),r.YNc(3,re,2,4,"div",3),r.YNc(4,H,2,2,"div",4)),2&Ct&&(r.Q6J("ngIf",Gt.options.closeButton),r.xp6(1),r.Q6J("ngIf",Gt.title),r.xp6(1),r.Q6J("ngIf",Gt.message&&Gt.options.enableHtml),r.xp6(1),r.Q6J("ngIf",Gt.message&&!Gt.options.enableHtml),r.xp6(1),r.Q6J("ngIf",Gt.options.progressBar))},directives:[u.O5],encapsulation:2}),vt})();Object.assign(Object.assign({},Ce),{toastComponent:Yt})}},v=>{v(v.s=68543)}]);
\ No newline at end of file