',this.getInertBodyElement=t.querySelector&&t.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}getInertBodyElement_XHR(e){e="
"+e+"";try{e=encodeURI(e)}catch(i){return null}const t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);const n=t.response.body;return n.removeChild(n.firstChild),n}getInertBodyElement_DOMParser(e){e=" "+e+"";try{const t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(t){return null}}getInertBodyElement_InertDocument(e){const t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=e,t;const n=this.inertDocument.createElement("body");return n.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(e){const t=e.attributes;for(let i=t.length-1;0ri(e.trim())).join(", ")}function oi(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function si(...e){const t={};for(const n of e)for(const e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}const ci=oi("area,br,col,hr,img,wbr"),li=oi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ui=oi("rp,rt"),di=si(ui,li),Ai=si(ci,si(li,oi("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")),si(ui,oi("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")),di),hi=oi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),mi=oi("srcset"),pi=si(hi,mi,oi("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"),oi("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")),gi=oi("script,style,template");class fi{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,n=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let e=this.checkClobberedElement(t,t.nextSibling);if(e){t=e;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(e){const t=e.nodeName.toLowerCase();if(!Ai.hasOwnProperty(t))return this.sanitizedSomething=!0,!gi.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const n=e.attributes;for(let i=0;i"),!0}endElement(e){const t=e.nodeName.toLowerCase();Ai.hasOwnProperty(t)&&!ci.hasOwnProperty(t)&&(this.buf.push(""),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(wi(e))}checkClobberedElement(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return t}}const bi=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,vi=/([^\#-~ |!])/g;function wi(e){return e.replace(/&/g,"&").replace(bi,(function(e){return""+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(vi,(function(e){return""+e.charCodeAt(0)+";"})).replace(//g,">")}let yi;function _i(e,t){let n=null;try{yi=yi||new ti(e);let i=t?String(t):"";n=yi.getInertBodyElement(i);let r=5,a=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=a,a=n.innerHTML,n=yi.getInertBodyElement(i)}while(i!==a);const o=new fi,s=o.sanitizeChildren(Ci(n)||n);return Jn()&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),s}finally{if(n){const e=Ci(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}function Ci(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}const Di=function(){var e={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return e[e.NONE]="NONE",e[e.HTML]="HTML",e[e.STYLE]="STYLE",e[e.SCRIPT]="SCRIPT",e[e.URL]="URL",e[e.RESOURCE_URL]="RESOURCE_URL",e}(),Mi=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:attr|calc|var))\\([-0-9.%, #a-zA-Z]+\\))$","g"),xi=/^url\(([^)]+)\)$/;function Pi(e){if(!(e=String(e).trim()))return"";const t=e.match(xi);return t&&ri(t[1])===t[1]||e.match(Mi)&&function(e){let t=!0,n=!0;for(let i=0;i>1}function Ki(e,t){e.__ngContext__=t}function qi(e){throw new Error(`Multiple components match node with tagname ${e.tagName}`)}function Yi(){throw new Error("Cannot mix multi providers and regular providers")}function $i(e,t,n){let i=e.length;for(;;){const r=e.indexOf(t,n);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){const n=t.length;if(r+n===i||e.charCodeAt(r+n)<=32)return r}n=r+1}}function Ji(e,t,n){let i=0;for(;ia?"":r[u+1].toLowerCase();const t=8&i?e:null;if(t&&-1!==$i(t,l,0)||2&i&&l!==e){if(nr(i))return!1;o=!0}}}}else{if(!o&&!nr(i)&&!nr(c))return!1;if(o&&nr(c))continue;o=!1,i=c|1&i}}return nr(i)||o}function nr(e){return 0==(1&e)}function ir(e,t,n,i){if(null===t)return-1;let r=0;if(i||!n){let n=!1;for(;r-1)for(n++;n0?'="'+t+'"':"")+"]"}else 8&i?r+="."+o:4&i&&(r+=" "+o);else""===r||nr(o)||(t+=or(a,r),r=""),i=o,a=a||!nr(i);n++}return""!==r&&(t+=or(a,r)),t}const cr={};function lr(e){const t=e[3];return tt(t)?t[3]:t}function ur(e){Ar(At(),dt(),Ft()+e,bt())}function dr(e){Ar(At(),dt(),e,bt())}function Ar(e,t,n,i){if(!i)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&Nt(t,i,n)}else{const i=e.preOrderHooks;null!==i&&jt(t,i,0,n)}Ot(n)}const hr={marker:"element"},mr={marker:"comment"};function pr(e,t){return e<<17|t<<2}function gr(e){return e>>17&32767}function fr(e){return 2|e}function br(e){return(131068&e)>>2}function vr(e,t){return-131069&e|t<<2}function wr(e){return 1|e}function yr(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i>1==-1){for(let e=9;e19&&Ar(e,t,0,bt()),n(i,r)}finally{Ot(a)}}function Ir(e,t,n){if(nt(t)){const i=t.directiveEnd;for(let r=t.directiveStart;rPromise.resolve(null))();function sa(e){return e[7]||(e[7]=[])}function ca(e){return e.cleanup||(e.cleanup=[])}function la(e,t){return function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(t[e.index])[11]}function ua(e,t){const n=e[9],i=n?n.get(On,null):null;i&&i.handleError(t)}function da(e,t,n,i,r){for(let a=0;a0&&(n[r-1][4]=t),i0&&(e[n-1][4]=i[4]);const a=Se(e,9+t);fa(i[1],i,!1,null);const o=a[5];null!==o&&o.detachView(a[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}function ya(e,t){const n=wa(e,t);n&&_a(n[1],n)}function _a(e,t){if(!(256&t[2])){const n=t[11];qt(n)&&n.destroyNode&&Fa(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return Da(e[1],e);for(;t;){let n=null;if(et(t))n=t[13];else{const e=t[9];e&&(n=e)}if(!n){for(;t&&!t[4]&&t!==e;)et(t)&&Da(t[1],t),t=Ca(t,e);null===t&&(t=e),et(t)&&Da(t[1],t),n=t&&t[4]}t=n}}(t)}}function Ca(e,t){let n;return et(e)&&(n=e[6])&&2===n.type?ha(n,e):e[3]===t?null:e[3]}function Da(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i=0?e[s]():e[-s].unsubscribe(),i+=2}else n[i].call(e[n[i+1]]);t[7]=null}}(e,t);const n=t[6];n&&3===n.type&&qt(t[11])&&t[11].destroy();const i=t[17];if(null!==i&&tt(t[3])){i!==t[3]&&va(i,t);const n=t[5];null!==n&&n.detachView(e)}}}function Ma(e,t,n){let i=t.parent;for(;null!=i&&(4===i.type||5===i.type);)i=(t=i).parent;if(null==i){const e=n[6];return 2===e.type?ma(e,n):n[0]}if(t&&5===t.type&&4&t.flags)return Ui(t,n).parentNode;if(2&i.flags){const t=e.data,n=t[t[i.index].directiveStart].encapsulation;if(n!==Le.ShadowDom&&n!==Le.Native)return null}return Ui(i,n)}function xa(e,t,n,i){qt(e)?e.insertBefore(t,n,i):t.insertBefore(n,i,!0)}function Pa(e,t,n){qt(e)?e.appendChild(t,n):t.appendChild(n)}function Sa(e,t,n,i){null!==i?xa(e,t,n,i):Pa(e,t,n)}function Ba(e,t){return qt(e)?e.parentNode(t):t.parentNode}function Ia(e,t){if(2===e.type){const n=ha(e,t);return null===n?null:Ta(n.indexOf(t,9)-9,n)}return 4===e.type||5===e.type?Ui(e,t):null}function Ha(e,t,n,i){const r=Ma(e,i,t);if(null!=r){const e=t[11],a=Ia(i.parent||t[6],t);if(Array.isArray(n))for(let t=0;t-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}_a(this._lView[1],this._lView)}onDestroy(e){var t,n,i;t=this._lView[1],i=e,sa(n=this._lView).push(i),t.firstCreatePass&&ca(t).push(n[7].length-1,null)}markForCheck(){na(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){ia(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){vt(!0);try{ia(e,t,n)}finally{vt(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}detachFromAppRef(){var e;this._appRef=null,Fa(this._lView[1],e=this._lView,e[11],2,null,null)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class Na extends Za{constructor(e){super(e),this._view=e}detectChanges(){ra(this._view)}checkNoChanges(){!function(e){vt(!0);try{ra(e)}finally{vt(!1)}}(this._view)}get context(){return null}}let ja,Qa,Ra;function Ga(e,t,n){return ja||(ja=class extends e{}),new ja(Ui(t,n))}function Wa(e,t,n,i){return Qa||(Qa=class extends e{constructor(e,t,n){super(),this._declarationView=e,this._declarationTContainer=t,this.elementRef=n}createEmbeddedView(e){const t=this._declarationTContainer.tViews,n=Cr(this._declarationView,t,e,16,null,t.node);n[17]=this._declarationView[this._declarationTContainer.index];const i=this._declarationView[5];null!==i&&(n[5]=i.createEmbeddedView(t)),xr(t,n,e);const r=new Za(n);return r._tViewNode=n[6],r}}),0===n.type?new Qa(i,n,Ga(t,n,i)):null}function Xa(e,t,n,i){let r;Ra||(Ra=class extends e{constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostView=n}get element(){return Ga(t,this._hostTNode,this._hostView)}get injector(){return new In(this._hostTNode,this._hostView)}get parentInjector(){const e=yn(this._hostTNode,this._hostView),t=sn(e,this._hostView),n=function(e,t,n){if(n.parent&&-1!==n.parent.injectorIndex){const e=n.parent.injectorIndex;let t=n.parent;for(;null!=t.parent&&e==t.parent.injectorIndex;)t=t.parent;return t}let i=on(e),r=t,a=t[6];for(;i>1;)r=r[15],a=r[6],i--;return a}(e,this._hostView,this._hostTNode);return rn(e)&&null!=n?new In(n,t):new In(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){return null!==this._lContainer[8]&&this._lContainer[8][e]||null}get length(){return this._lContainer.length-9}createEmbeddedView(e,t,n){const i=e.createEmbeddedView(t||{});return this.insert(i,n),i}createComponent(e,t,n,i,r){const a=n||this.parentInjector;if(!r&&null==e.ngModule&&a){const e=a.get(_e,null);e&&(r=e)}const o=e.create(a,i,void 0,r);return this.insert(o.hostView,t),o}insert(e,t){const n=e._lView,i=n[1];if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),tt(n[3])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=n[3],i=new Ra(t,t[6],t[3]);i.detach(i.indexOf(e))}}const r=this._adjustIndex(t);return ba(i,n,this._lContainer,r),fa(i,n,!0,Ta(r,this._lContainer)),e.attachToViewContainerRef(this),Pe(this._lContainer[8],r,e),e}move(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(e,t)}indexOf(e){const t=this._lContainer[8];return null!==t?t.indexOf(e):-1}remove(e){this.allocateContainerIfNeeded();const t=this._adjustIndex(e,-1);ya(this._lContainer,t),Se(this._lContainer[8],t)}detach(e){this.allocateContainerIfNeeded();const t=this._adjustIndex(e,-1),n=wa(this._lContainer,t);return n&&null!=Se(this._lContainer[8],t)?new Za(n):null}_adjustIndex(e,t=0){return null==e?this.length+t:e}allocateContainerIfNeeded(){null===this._lContainer[8]&&(this._lContainer[8]=[])}});const a=i[n.index];if(tt(a))r=a,function(e,t){e[2]=-2}(r);else{let e;if(4===n.type)e=Vi(a);else if(e=i[11].createComment(""),ot(i)){const t=i[11],r=Ui(n,i);xa(t,Ba(t,r),e,function(e,t){return qt(e)?e.nextSibling(t):t.nextSibling}(t,r))}else Ha(i[1],i,e,n);i[n.index]=r=Yr(a,i,e,n),ta(i,r)}return new Ra(r,n,i)}function za(e=!1){return function(e,t,n){if(!n&&it(e)){const n=ji(e.index,t);return new Za(n,n)}return 3===e.type||0===e.type||4===e.type||5===e.type?new Za(t[16],t):null}(mt(),dt(),e)}let Ka=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>qa(),e})();const qa=za,Ya=Function;function $a(e){return"function"==typeof e}const Ja=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/,eo=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,to=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,no=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s+super\(\.\.\.arguments\)/;class io{constructor(e){this._reflect=e||Y.Reflect}isReflectionEnabled(){return!0}factory(e){return(...t)=>new e(...t)}_zipTypesAndAnnotations(e,t){let n;n=Be(void 0===e?t.length:e.length);for(let i=0;ie&&e.type),n=e.map(e=>e&&ro(e.decorators));return this._zipTypesAndAnnotations(t,n)}const r=e.hasOwnProperty(g)&&e[g],a=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return a||r?this._zipTypesAndAnnotations(a,r):Be(e.length)}parameters(e){if(!$a(e))return[];const t=ao(e);let n=this._ownParameters(e,t);return n||t===Object||(n=this.parameters(t)),n||[]}_ownAnnotations(e,t){if(e.annotations&&e.annotations!==t.annotations){let t=e.annotations;return"function"==typeof t&&t.annotations&&(t=t.annotations),t}return e.decorators&&e.decorators!==t.decorators?ro(e.decorators):e.hasOwnProperty(p)?e[p]:null}annotations(e){if(!$a(e))return[];const t=ao(e),n=this._ownAnnotations(e,t)||[];return(t!==Object?this.annotations(t):[]).concat(n)}_ownPropMetadata(e,t){if(e.propMetadata&&e.propMetadata!==t.propMetadata){let t=e.propMetadata;return"function"==typeof t&&t.propMetadata&&(t=t.propMetadata),t}if(e.propDecorators&&e.propDecorators!==t.propDecorators){const t=e.propDecorators,n={};return Object.keys(t).forEach(e=>{n[e]=ro(t[e])}),n}return e.hasOwnProperty(f)?e[f]:null}propMetadata(e){if(!$a(e))return{};const t=ao(e),n={};if(t!==Object){const e=this.propMetadata(t);Object.keys(e).forEach(t=>{n[t]=e[t]})}const i=this._ownPropMetadata(e,t);return i&&Object.keys(i).forEach(e=>{const t=[];n.hasOwnProperty(e)&&t.push(...n[e]),t.push(...i[e]),n[e]=t}),n}ownPropMetadata(e){return $a(e)&&this._ownPropMetadata(e,ao(e))||{}}hasLifecycleHook(e,t){return e instanceof Ya&&t in e.prototype}guards(e){return{}}getter(e){return new Function("o","return o."+e+";")}setter(e){return new Function("o","v","return o."+e+" = v;")}method(e){return new Function("o","args",`if (!o.${e}) throw new Error('"${e}" is undefined');\n return o.${e}.apply(o, args);`)}importUri(e){return"object"==typeof e&&e.filePath?e.filePath:`./${N(e)}`}resourceUri(e){return`./${N(e)}`}resolveIdentifier(e,t,n,i){return i}resolveEnum(e,t){return e[t]}}function ro(e){return e?e.map(e=>new(0,e.type.annotationCls)(...e.args?e.args:[])):[]}function ao(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}let oo=null;function so(){return oo=oo||new io}function co(e){return function(e){const t=J();return e.map(e=>function(e,t){const n={token:null,host:!1,optional:!1,resolved:e.R3ResolvedDependencyType.Token,self:!1,skipSelf:!1};function i(t){n.resolved=e.R3ResolvedDependencyType.Token,n.token=t}if(Array.isArray(t)&&t.length>0)for(let r=0;rthis.processProvider(n,e,t)),xe([e],e=>this.processInjectorType(e,[],r)),this.records.set(ce,wo(void 0,this));const a=this.records.get(lo);this.scope=null!=a?a.value:null,this.source=i||("object"==typeof e?null:N(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,t=le,n=S.Default){this.assertNotDestroyed();const i=me(this);try{if(!(n&S.SkipSelf)){let t=this.records.get(e);if(void 0===t){const n=("function"==typeof(r=e)||"object"==typeof r&&r instanceof se)&&k(e);t=n&&this.injectableDefInScope(n)?wo(bo(e),uo):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}return(n&S.Self?po():this.parent).get(e,t=n&S.Optional&&t===le?null:t)}catch(a){if("NullInjectorError"===a.name){if((a.ngTempTokenPath=a.ngTempTokenPath||[]).unshift(N(e)),i)throw a;return function(e,t,n,i){const r=e.ngTempTokenPath;throw t.__source&&r.unshift(t.__source),e.message=function(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let r=N(t);if(Array.isArray(t))r=t.map(N).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let i=t[n];e.push(n+":"+("string"==typeof i?JSON.stringify(i):N(i)))}r=`{${e.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${e.replace(ue,"\n ")}`}("\n"+e.message,r,n,i),e.ngTokenPath=r,e.ngTempTokenPath=null,e}(a,e,"R3InjectorError",this.source)}throw a}finally{me(i)}var r}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((t,n)=>e.push(N(n))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,n){if(!(e=G(e)))return!1;let i=F(e);const r=null==i&&e.ngModule||void 0,a=void 0===r?e:r,o=-1!==n.indexOf(a);if(void 0!==r&&(i=F(r)),null==i)return!1;if(null!=i.imports&&!o){let e;n.push(a);try{xe(i.imports,i=>{this.processInjectorType(i,t,n)&&(void 0===e&&(e=[]),e.push(i))})}finally{}if(void 0!==e)for(let t=0;tthis.processProvider(e,n,i||ho))}}this.injectorDefTypes.add(a),this.records.set(a,wo(i.factory,uo));const s=i.providers;if(null!=s&&!o){const t=e;xe(s,e=>this.processProvider(e,t,s))}return void 0!==r&&void 0!==e.providers}processProvider(e,t,n){let i=_o(e=G(e))?e:G(e&&e.provide);const r=function(e,t,n){return yo(e)?wo(void 0,e.useValue):wo(vo(e,t,n),uo)}(e,t,n);if(_o(e)||!0!==e.multi){const e=this.records.get(i);e&&void 0!==e.multi&&Yi()}else{let t=this.records.get(i);t?void 0===t.multi&&Yi():(t=wo(void 0,uo,!0),t.factory=()=>we(t.multi),this.records.set(i,t)),i=e,t.multi.push(e)}this.records.set(i,r)}hydrate(e,t){var n;return t.value===Ao?function(e){throw new Error(`Cannot instantiate cyclic dependency! ${e}`)}(N(e)):t.value===uo&&(t.value=Ao,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value}injectableDefInScope(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}}function bo(e){const t=k(e),n=null!==t?t.factory:$e(e);if(null!==n)return n;const i=F(e);if(null!==i)return i.factory;if(e instanceof se)throw new Error(`Token ${N(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const n=Be(t,"?");throw new Error(`Can't resolve all parameters for ${N(e)}: (${n.join(", ")}).`)}const n=function(e){const t=e&&(e[O]||e[U]||e[E]&&e[E]());if(t){const n=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\n`+`This will become an error in v10. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function vo(e,t,n){let i=void 0;if(_o(e)){const t=G(e);return $e(t)||bo(t)}if(yo(e))i=()=>G(e.useValue);else if((r=e)&&r.useFactory)i=()=>e.useFactory(...we(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))i=()=>fe(G(e.useExisting));else{const r=G(e&&(e.useClass||e.provide));if(r||function(e,t,n){let i="";throw e&&t&&(i=` - only instances of Provider and Type are allowed, got: [${t.map(e=>e==n?"?"+n+"?":"...").join(", ")}]`),new Error(`Invalid provider for the NgModule '${N(e)}'`+i)}(t,n,e),!function(e){return!!e.deps}(e))return $e(r)||bo(r);i=()=>new r(...we(e.deps))}var r;return i}function wo(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function yo(e){return null!==e&&"object"==typeof e&&de in e}function _o(e){return"function"==typeof e}const Co=function(e,t,n){return function(e,t=null,n=null,i){const r=go(e,t,n,i);return r._resolveInjectorDefTypes(),r}({name:n},t,e,n)};let Do=(()=>{class e{static create(e,t){return Array.isArray(e)?Co(e,t,""):Co(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=le,e.NULL=new ye,e.\u0275prov=H({token:e,providedIn:"any",factory:()=>fe(ce)}),e.__NG_ELEMENT_ID__=-1,e})();const Mo=new se("AnalyzeForEntryComponents");let xo=new Map;const Po=new Set;function So(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length)}function Bo(e){return"string"==typeof e?e:e.text()}function Io(e,t){let n=e.styles,i=e.classes,r=0;for(let a=0;a=a.length||null==a[e])&&(a[e]=Lr(2,e,null,t,n,r.directiveRegistry,r.pipeRegistry,null,null,r.consts)),a[e]}(e,t,n,a),null,16,null,null);const o=gt()?r:r&&r.parent;Mr(s[1],o,e,s),Bt(s,s[1].node)}return o&&(Ri(s)&&ba(s[1],s,o,zi(o)),o[2]+=2),Ri(s)?3:2}function Ms(){const e=dt(),t=At(),n=e[6],i=e[8];Ri(e)&&xr(t,e,i),Pr(t,e,t.template,i),Lt(),pt(n,!1)}function xs(){return dt()}function Ps(e){return!!e&&"function"==typeof e.then}function Ss(e){return!!e&&"function"==typeof e.subscribe}function Bs(e,t,n=!1,i){const r=dt(),a=At(),o=mt();return Hs(a,r,r[11],o,e,t,n,i),Bs}function Is(e,t,n=!1,i){const r=mt(),a=dt(),o=la(r,a);return Hs(At(),a,o,r,e,t,n,i),Is}function Hs(e,t,n,i,r,a,o=!1,s){const c=rt(i),l=e.firstCreatePass&&(e.cleanup||(e.cleanup=[])),u=sa(t);let d=!0;if(3===i.type){const A=Ui(i,t),h=s?s(A):Oe,m=h.target||A,p=u.length,g=s?e=>s(Vi(e[i.index])).target:i.index;if(qt(n)){let o=null;if(!s&&c&&(o=function(e,t,n,i){const r=e.cleanup;if(null!=r)for(let a=0;an?e[n]:null}"string"==typeof e&&(a+=2)}return null}(e,t,r,i.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=a,o.__ngLastListenerFn__=a,d=!1;else{a=ks(i,t,a,!1);const e=n.listen(h.name||m,r,a);u.push(a,e),l&&l.push(r,g,p,p+1)}}else a=ks(i,t,a,!0),m.addEventListener(r,a,o),u.push(a),l&&l.push(r,g,p,o)}const A=i.outputs;let h;if(d&&null!==A&&(h=A[r])){const e=h.length;if(e)for(let n=0;n0;)t=t[15],e--;return t}(e,st.lFrame.contextLView))[8]}(e)}function Fs(e,t){let n=null;const i=function(e){const t=e.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(e);for(let r=0;r=0}const Js={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ec(e){return e.substring(Js.key,Js.keyEnd)}function tc(e){return e.substring(Js.value,Js.valueEnd)}function nc(e,t){const n=Js.textEnd;return n===t?-1:(t=Js.keyEnd=function(e,t,n){for(;t32;)t++;return t}(e,Js.key=t,n),ac(e,t,n))}function ic(e,t){const n=Js.textEnd;let i=Js.key=ac(e,t,n);return n===i?-1:(i=Js.keyEnd=function(e,t,n){let i;for(;t=65&&(-33&i)<=90);)t++;return t}(e,i,n),i=oc(e,i,n),i=Js.value=ac(e,i,n),i=Js.valueEnd=function(e,t,n){let i=-1,r=-1,a=-1,o=t,s=o;for(;o32&&(s=o),a=r,r=i,i=-33&c}return s}(e,i,n),oc(e,i,n))}function rc(e){Js.key=0,Js.keyEnd=0,Js.value=0,Js.valueEnd=0,Js.textEnd=e.length}function ac(e,t,n){for(;t=0;n=ic(t,n))yc(e,ec(t),tc(t))}function hc(e){gc(Ie,mc,e,!0)}function mc(e,t){for(let n=function(e){return rc(e),nc(e,ac(e,0,Js.textEnd))}(t);n>=0;n=nc(t,n))Ie(e,ec(t),!0)}function pc(e,t,n,i){const r=dt(),a=At(),o=Dt(2);if(a.firstUpdatePass&&bc(a,e,o,i),t!==cr&&Uo(r,o,t)){let s;null==n&&(s=function(){const e=st.lFrame;return null===e?null:e.currentSanitizer}())&&(n=s),_c(a,a.data[Ft()+19],r,r[11],e,r[o+1]=function(e,t){return null==e||("function"==typeof t?e=t(e):"string"==typeof t?e+=t:"object"==typeof e&&(e=N(Qn(e)))),e}(t,n),i,o)}}function gc(e,t,n,i){const r=At(),a=Dt(2);r.firstUpdatePass&&bc(r,null,a,i);const o=dt();if(n!==cr&&Uo(o,a,n)){const s=r.data[Ft()+19];if(Mc(s,i)&&!fc(r,a)){let e=i?s.classes:s.styles;null!==e&&(n=j(e,n||"")),fs(r,s,o,n,i)}else!function(e,t,n,i,r,a,o,s){r===cr&&(r=qs);let c=0,l=0,u=0=e.expandoStartIndex}function bc(e,t,n,i){const r=e.data;if(null===r[n+1]){const a=r[Ft()+19],o=fc(e,n);Mc(a,i)&&null===t&&!o&&(t=!1),t=function(e,t,n,i){const r=function(e){const t=st.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let a=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=wc(n=vc(null,e,t,n,i),t.attrs,i),a=null);else{const o=t.directiveStylingLast;if(-1===o||e[o]!==r)if(n=vc(r,e,t,n,i),null===a){let n=function(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==br(i))return e[gr(i)]}(e,t,i);void 0!==n&&Array.isArray(n)&&(n=vc(null,e,t,n[1],i),n=wc(n,t.attrs,i),function(e,t,n,i){e[gr(n?t.classBindings:t.styleBindings)]=i}(e,t,i,n))}else a=function(e,t,n){let i=void 0;const r=t.directiveEnd;for(let a=1+t.directiveStylingLast;a0)&&(u=!0)}else l=n;if(r)if(0!==c){const t=gr(e[s+1]);e[i+1]=pr(t,s),0!==t&&(e[t+1]=vr(e[t+1],i)),e[s+1]=131071&e[s+1]|i<<17}else e[i+1]=pr(s,0),0!==s&&(e[s+1]=vr(e[s+1],i)),s=i;else e[i+1]=pr(c,0),0===s?s=i:e[c+1]=vr(e[c+1],i),c=i;u&&(e[i+1]=fr(e[i+1])),Ys(e,l,i,!0),Ys(e,l,i,!1),function(e,t,n,i,r){const a=r?e.residualClasses:e.residualStyles;null!=a&&"string"==typeof t&&Te(a,t)>=0&&(n[i+1]=wr(n[i+1]))}(t,l,e,i,a),o=pr(s,c),a?t.classBindings=o:t.styleBindings=o}(r,a,t,n,o,i)}}function vc(e,t,n,i,r){let a=null;const o=n.directiveEnd;let s=n.directiveStylingLast;for(-1===s?s=n.directiveStart:s++;s0;){const t=e[r],a=Array.isArray(t),c=a?t[1]:t,l=null===c;let u=n[r+1];u===cr&&(u=l?qs:void 0);let d=l?He(u,i):c===i?u:void 0;if(a&&!Dc(d)&&(d=He(t,i)),Dc(d)&&(s=d,o))return s;const A=e[r+1];r=o?gr(A):br(A)}if(null!==t){let e=a?t.residualClasses:t.residualStyles;null!=e&&(s=He(e,i))}return s}function Dc(e){return void 0!==e}function Mc(e,t){return 0!=(e.flags&(t?16:32))}function xc(e,t=""){const n=dt(),i=At(),r=e+19,a=i.firstCreatePass?Dr(i,n[6],e,3,null,null):i.data[r],o=n[r]=ga(t,n[11]);Ha(i,n,o,a),pt(a,!1)}function Pc(e){return Sc("",e,""),Pc}function Sc(e,t,n){const i=dt(),r=Go(i,e,t,n);return r!==cr&&Aa(i,Ft(),r),Sc}function Bc(e,t,n,i,r){const a=dt(),o=Wo(a,e,t,n,i,r);return o!==cr&&Aa(a,Ft(),o),Bc}function Ic(e,t,n,i,r,a,o){const s=dt(),c=Xo(s,e,t,n,i,r,a,o);return c!==cr&&Aa(s,Ft(),c),Ic}function Hc(e,t,n,i,r,a,o,s,c){const l=dt(),u=zo(l,e,t,n,i,r,a,o,s,c);return u!==cr&&Aa(l,Ft(),u),Hc}function Tc(e,t,n,i,r,a,o,s,c,l,u){const d=dt(),A=Ko(d,e,t,n,i,r,a,o,s,c,l,u);return A!==cr&&Aa(d,Ft(),A),Tc}function kc(e,t,n,i,r,a,o,s,c,l,u,d,A){const h=dt(),m=qo(h,e,t,n,i,r,a,o,s,c,l,u,d,A);return m!==cr&&Aa(h,Ft(),m),kc}function Lc(e,t,n,i,r,a,o,s,c,l,u,d,A,h,m){const p=dt(),g=Yo(p,e,t,n,i,r,a,o,s,c,l,u,d,A,h,m);return g!==cr&&Aa(p,Ft(),g),Lc}function Fc(e,t,n,i,r,a,o,s,c,l,u,d,A,h,m,p,g){const f=dt(),b=$o(f,e,t,n,i,r,a,o,s,c,l,u,d,A,h,m,p,g);return b!==cr&&Aa(f,Ft(),b),Fc}function Oc(e){const t=dt(),n=Ro(t,e);return n!==cr&&Aa(t,Ft(),n),Oc}function Vc(e,t,n){gc(Ie,mc,Go(dt(),e,t,n),!0)}function Ec(e,t,n,i,r){gc(Ie,mc,Wo(dt(),e,t,n,i,r),!0)}function Uc(e,t,n,i,r,a,o){gc(Ie,mc,Xo(dt(),e,t,n,i,r,a,o),!0)}function Zc(e,t,n,i,r,a,o,s,c){gc(Ie,mc,zo(dt(),e,t,n,i,r,a,o,s,c),!0)}function Nc(e,t,n,i,r,a,o,s,c,l,u){gc(Ie,mc,Ko(dt(),e,t,n,i,r,a,o,s,c,l,u),!0)}function jc(e,t,n,i,r,a,o,s,c,l,u,d,A){gc(Ie,mc,qo(dt(),e,t,n,i,r,a,o,s,c,l,u,d,A),!0)}function Qc(e,t,n,i,r,a,o,s,c,l,u,d,A,h,m){gc(Ie,mc,Yo(dt(),e,t,n,i,r,a,o,s,c,l,u,d,A,h,m),!0)}function Rc(e,t,n,i,r,a,o,s,c,l,u,d,A,h,m,p,g){gc(Ie,mc,$o(dt(),e,t,n,i,r,a,o,s,c,l,u,d,A,h,m,p,g),!0)}function Gc(e){gc(Ie,mc,Ro(dt(),e),!0)}function Wc(e,t,n){dc(Go(dt(),e,t,n))}function Xc(e,t,n,i,r){dc(Wo(dt(),e,t,n,i,r))}function zc(e,t,n,i,r,a,o){dc(Xo(dt(),e,t,n,i,r,a,o))}function Kc(e,t,n,i,r,a,o,s,c){dc(zo(dt(),e,t,n,i,r,a,o,s,c))}function qc(e,t,n,i,r,a,o,s,c,l,u){dc(Ko(dt(),e,t,n,i,r,a,o,s,c,l,u))}function Yc(e,t,n,i,r,a,o,s,c,l,u,d,A){dc(qo(dt(),e,t,n,i,r,a,o,s,c,l,u,d,A))}function $c(e,t,n,i,r,a,o,s,c,l,u,d,A,h,m){dc(Yo(dt(),e,t,n,i,r,a,o,s,c,l,u,d,A,h,m))}function Jc(e,t,n,i,r,a,o,s,c,l,u,d,A,h,m,p,g){dc($o(dt(),e,t,n,i,r,a,o,s,c,l,u,d,A,h,m,p,g))}function el(e){dc(Ro(dt(),e))}function tl(e,t,n,i,r){return pc(e,Go(dt(),t,n,i),r,!1),tl}function nl(e,t,n,i,r,a,o){return pc(e,Wo(dt(),t,n,i,r,a),o,!1),nl}function il(e,t,n,i,r,a,o,s,c){return pc(e,Xo(dt(),t,n,i,r,a,o,s),c,!1),il}function rl(e,t,n,i,r,a,o,s,c,l,u){return pc(e,zo(dt(),t,n,i,r,a,o,s,c,l),u,!1),rl}function al(e,t,n,i,r,a,o,s,c,l,u,d,A){return pc(e,Ko(dt(),t,n,i,r,a,o,s,c,l,u,d),A,!1),al}function ol(e,t,n,i,r,a,o,s,c,l,u,d,A,h,m){return pc(e,qo(dt(),t,n,i,r,a,o,s,c,l,u,d,A,h),m,!1),ol}function sl(e,t,n,i,r,a,o,s,c,l,u,d,A,h,m,p,g){return pc(e,Yo(dt(),t,n,i,r,a,o,s,c,l,u,d,A,h,m,p),g,!1),sl}function cl(e,t,n,i,r,a,o,s,c,l,u,d,A,h,m,p,g,f,b){return pc(e,$o(dt(),t,n,i,r,a,o,s,c,l,u,d,A,h,m,p,g,f),b,!1),cl}function ll(e,t,n){return pc(e,Ro(dt(),t),n,!1),ll}function ul(e,t,n){const i=dt();if(Uo(i,Ct(),t)){const r=Ft();Vr(At(),i,r,e,t,n,!0)}return ul}function dl(e,t,n){const i=dt();if(Uo(i,Ct(),t)){const r=Ft();Vr(At(),i,r,e,t,n,!0,la)}return dl}function Al(e,t){const n=Qi(e)[1],i=n.data.length-1;Zt(n,{directiveStart:i,directiveEnd:i+1})}function hl(e){return Object.getPrototypeOf(e.prototype).constructor}function ml(e){let t=hl(e.type),n=!0;const i=[e];for(;t;){let r=void 0;if(at(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");r=t.\u0275dir}if(r){if(n){i.push(r);const t=e;t.inputs=pl(e.inputs),t.declaredInputs=pl(e.declaredInputs),t.outputs=pl(e.outputs);const n=r.hostBindings;n&&bl(e,n);const a=r.viewQuery,o=r.contentQueries;if(a&&gl(e,a),o&&fl(e,o),I(e.inputs,r.inputs),I(e.declaredInputs,r.declaredInputs),I(e.outputs,r.outputs),at(r)&&r.data.animation){const t=e.data;t.animation=(t.animation||[]).concat(r.data.animation)}t.afterContentChecked=t.afterContentChecked||r.afterContentChecked,t.afterContentInit=e.afterContentInit||r.afterContentInit,t.afterViewChecked=e.afterViewChecked||r.afterViewChecked,t.afterViewInit=e.afterViewInit||r.afterViewInit,t.doCheck=e.doCheck||r.doCheck,t.onDestroy=e.onDestroy||r.onDestroy,t.onInit=e.onInit||r.onInit}const t=r.features;if(t)for(let i=0;i=0;i--){const r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=tn(r.hostAttrs,n=tn(n,r.hostAttrs))}}(i)}function pl(e){return e===Oe?{}:e===Ve?[]:e}function gl(e,t){const n=e.viewQuery;e.viewQuery=n?(e,i)=>{t(e,i),n(e,i)}:t}function fl(e,t){const n=e.contentQueries;e.contentQueries=n?(e,i,r)=>{t(e,i,r),n(e,i,r)}:t}function bl(e,t){const n=e.hostBindings;e.hostBindings=n?(e,i)=>{t(e,i),n(e,i)}:t}const vl=["providersResolver"],wl=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function yl(e){let t=hl(e.type),n=void 0;n=at(e)?t.\u0275cmp:t.\u0275dir;const i=e;for(const r of vl)i[r]=n[r];if(at(n))for(const r of wl)i[r]=n[r]}class _l{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}function Cl(){return Dl.ngInherit=!0,Dl}function Dl(e){e.type.prototype.ngOnChanges&&(e.setInput=Ml,e.onChanges=function(){const e=xl(this),t=e&&e.current;if(t){const n=e.previous;if(n===Oe)e.previous=t;else for(let e in t)n[e]=t[e];e.current=null,this.ngOnChanges(t)}})}function Ml(e,t,n,i){const r=xl(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:Oe,current:null}),a=r.current||(r.current={}),o=r.previous,s=this.declaredInputs[n],c=o[s];a[s]=new _l(c&&c.currentValue,t,o===Oe),e[i]=t}function xl(e){return e.__ngSimpleChanges__||null}function Pl(e,t,n,i,r){if(e=G(e),Array.isArray(e))for(let a=0;a>16;if(_o(e)||!e.multi){const i=new Wt(c,r,hs),h=Il(s,t,r?u:u+A,d);-1===h?(_n(bn(l,o),a,s),Sl(a,e,t.length),t.push(s),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=65536),n.push(i),o.push(i)):(n[h]=i,o[h]=i)}else{const h=Il(s,t,u+A,d),m=Il(s,t,u,u+A),p=h>=0&&n[h],g=m>=0&&n[m];if(r&&!g||!r&&!p){_n(bn(l,o),a,s);const u=function(e,t,n,i,r){const a=new Wt(e,n,hs);return a.multi=[],a.index=t,a.componentProviders=0,Bl(a,r,i&&!n),a}(r?Tl:Hl,n.length,r,i,c);!r&&g&&(n[m].providerFactory=u),Sl(a,e,t.length),t.push(s),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=65536),n.push(u),o.push(u)}else Sl(a,e,h>-1?h:m),Bl(n[r?m:h],c,!r&&i);!r&&i&&g&&n[m].componentProviders++}}}function Sl(e,t,n){if(_o(t)||t.useClass){const i=(t.useClass||t).prototype.ngOnDestroy;i&&(e.destroyHooks||(e.destroyHooks=[])).push(n,i)}}function Bl(e,t,n){e.multi.push(t),n&&e.componentProviders++}function Il(e,t,n,i){for(let r=n;r{n.providersResolver=(n,i)=>function(e,t,n){const i=At();if(i.firstCreatePass){const r=at(e);Pl(n,i.data,i.blueprint,r,!0),Pl(t,i.data,i.blueprint,r,!1)}}(n,i?i(e):e,t)}}class Fl{}class Ol{resolveComponentFactory(e){throw function(e){const t=Error(`No component factory found for ${N(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(e)}}let Vl=(()=>{class e{}return e.NULL=new Ol,e})(),El=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=()=>Ul(e),e})();const Ul=function(e){return Ga(e,mt(),dt())};class Zl{}const Nl=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}();let jl=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Ql(),e})();const Ql=function(){const e=dt(),t=ji(mt().index,e);return function(e){const t=e[11];if(qt(t))return t;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(et(t)?t:e)};let Rl=(()=>{class e{}return e.\u0275prov=H({token:e,providedIn:"root",factory:()=>null}),e})();class Gl{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const Wl=new Gl("9.0.5");class Xl{constructor(){}supports(e){return Fo(e)}create(e){return new Kl(e)}}const zl=(e,t)=>t;class Kl{constructor(e){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=e||zl}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,i=0,r=null;for(;t||n;){const a=!n||t&&t.currentIndex{i=this._trackByFn(t,e),null!==r&&ko(r.trackById,i)?(a&&(r=this._verifyReinsertion(r,e,i,t)),ko(r.item,e)||this._addIdentityChange(r,e)):(r=this._mismatch(r,e,i,t),a=!0),r=r._next,t++}),this.length=t;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e,t;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,i){let r;return null===e?r=this._itTail:(r=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(ko(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,r,i)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(ko(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,r,i)):e=this._addAfter(new ql(t,n),r,i),e}_verifyReinsertion(e,t,n,i){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?e=this._reinsertAfter(r,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}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(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const i=e._prevRemoved,r=e._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const i=null===t?this._itHead:t._next;return e._next=i,e._prev=t,null===i?this._itTail=e:i._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new $l),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t?e:(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e,e)}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new $l),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class ql{constructor(e,t){this.item=e,this.trackById=t,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 Yl{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&ko(n.trackById,e))return n;return null}remove(e){const t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}class $l{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new Yl,this.map.set(t,n)),n.add(e)}get(e,t){const n=this.map.get(e);return n?n.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Jl(e,t,n){const i=e.previousIndex;if(null===i)return i;let r=0;return n&&i{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const i=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,i)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const i=n._prev,r=n._next;return i&&(i._next=r),r&&(r._prev=i),n._next=null,n._prev=null,n}const n=new nu(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){ko(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}}class nu{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let iu=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(null!=n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new M,new C]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${n=e,n.name||typeof n}'`);var n}}return e.\u0275prov=H({token:e,providedIn:"root",factory:()=>new e([new Xl])}),e})(),ru=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new M,new C]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}return e.\u0275prov=H({token:e,providedIn:"root",factory:()=>new e([new eu])}),e})();const au=[new eu],ou=new iu([new Xl]),su=new ru(au);let cu=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>lu(e,El),e})();const lu=function(e,t){return Wa(e,t,mt(),dt())};let uu=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>du(e,El),e})();const du=function(e,t){return Xa(e,t,mt(),dt())},Au={};class hu extends Vl{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=Ke(e);return new gu(t,this.ngModule)}}function mu(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const pu=new se("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>un});class gu extends Fl{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(sr).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return mu(this.componentDef.inputs)}get outputs(){return mu(this.componentDef.outputs)}create(e,t,n,i){const r=(i=i||this.ngModule)?function(e,t){return{get:(n,i,r)=>{const a=e.get(n,Au,r);return a!==Au||i===Au?a:t.get(n,i,r)}}}(e,i.injector):e,a=r.get(Zl,Yt),o=r.get(Rl,null),s=a.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",l=n?function(e,t,n){if(qt(e))return e.selectRootElement(t,n===Le.ShadowDom);let i="string"==typeof t?e.querySelector(t):t;return i.textContent="",i}(s,n,this.componentDef.encapsulation):_r(c,a.createRenderer(null,this.componentDef),function(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(c)),u=this.componentDef.onPush?576:528,d="string"==typeof n&&/^#root-ng-internal-isolated-\d+/.test(n),A={components:[],scheduler:un,clean:oa,playerHandler:null,flags:0},h=Lr(0,-1,null,1,0,null,null,null,null,null),m=Cr(null,h,A,u,null,null,a,s,o,r);let p,g;Bt(m,null);try{const e=function(e,t,n,i,r,a){const o=n[1];n[19]=e;const s=Dr(o,null,0,3,null,null),c=s.mergedAttrs=t.hostAttrs;null!==c&&(Io(s,c),null!==e&&($t(r,e,c),null!==s.classes&&Ua(r,e,s.classes),null!==s.styles&&Ea(r,e,s.styles)));const l=i.createRenderer(e,t),u=Cr(n,kr(t),null,t.onPush?64:16,n[19],s,i,l,void 0);return o.firstCreatePass&&(_n(bn(s,n),o,t.type),Qr(o,s),Gr(s,n.length,1)),ta(n,u),n[19]=u}(l,this.componentDef,m,a,s);if(l)if(n)$t(s,l,["ng-version",Wl.full]);else{const{attrs:e,classes:t}=function(e){const t=[],n=[];let i=1,r=2;for(;i0&&Ua(s,l,t.join(" "))}g=Zi(m[1],0),t&&(g.projection=t.map(e=>Array.from(e))),p=function(e,t,n,i,r){const a=n[1],o=function(e,t,n){const i=mt();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),jr(e,i,1),Wr(e,t,n));const r=Pn(t,e,t.length-1,i);Ki(r,t);const a=Ui(i,t);return a&&Ki(a,t),r}(a,n,t);i.components.push(o),e[8]=o,r&&r.forEach(e=>e(o,t)),t.contentQueries&&t.contentQueries(1,o,n.length-1);const s=mt();if(a.firstCreatePass&&(null!==t.hostBindings||null!==t.hostAttrs)){Ot(s.index-19);const e=n[1];Ur(e,t),Zr(e,n,t.hostVars),Nr(t,o)}return o}(e,this.componentDef,m,A,[Al]),xr(h,m,null)}finally{Lt()}const f=new fu(this.componentType,p,Ga(El,g,m),m,g);return n&&!d||(f.hostView._tViewNode.child=g),f}}class fu extends class{}{constructor(e,t,n,i,r){super(),this.location=n,this._rootLView=i,this._tNode=r,this.destroyCbs=[],this.instance=t,this.hostView=this.changeDetectorRef=new Na(i),this.hostView._tViewNode=Mr(i[1],null,-1,i),this.componentType=e}get injector(){return new In(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(e=>e()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(e){this.destroyCbs&&this.destroyCbs.push(e)}}const bu=void 0;var vu=["en",[["a","p"],["AM","PM"],bu],[["AM","PM"],bu,bu],[["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"]],bu,[["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"]],bu,[["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}",bu,"{1} 'at' {0}",bu],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let wu={};function yu(e,t,n){"string"!=typeof t&&(n=t,t=e[xu.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),wu[t]=e,n&&(wu[t][xu.ExtraData]=n)}function _u(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Mu(t);if(n)return n;const i=t.split("-")[0];if(n=Mu(i),n)return n;if("en"===i)return vu;throw new Error(`Missing locale data for the locale "${e}".`)}function Cu(e){return _u(e)[xu.CurrencyCode]||null}function Du(e){return _u(e)[xu.PluralCase]}function Mu(e){return e in wu||(wu[e]=Y.ng&&Y.ng.common&&Y.ng.common.locales&&Y.ng.common.locales[e]),wu[e]}const xu=function(){var e={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencyCode:15,CurrencySymbol:16,CurrencyName:17,Currencies:18,PluralCase:19,ExtraData:20};return e[e.LocaleId]="LocaleId",e[e.DayPeriodsFormat]="DayPeriodsFormat",e[e.DayPeriodsStandalone]="DayPeriodsStandalone",e[e.DaysFormat]="DaysFormat",e[e.DaysStandalone]="DaysStandalone",e[e.MonthsFormat]="MonthsFormat",e[e.MonthsStandalone]="MonthsStandalone",e[e.Eras]="Eras",e[e.FirstDayOfWeek]="FirstDayOfWeek",e[e.WeekendRange]="WeekendRange",e[e.DateFormat]="DateFormat",e[e.TimeFormat]="TimeFormat",e[e.DateTimeFormat]="DateTimeFormat",e[e.NumberSymbols]="NumberSymbols",e[e.NumberFormats]="NumberFormats",e[e.CurrencyCode]="CurrencyCode",e[e.CurrencySymbol]="CurrencySymbol",e[e.CurrencyName]="CurrencyName",e[e.Currencies]="Currencies",e[e.PluralCase]="PluralCase",e[e.ExtraData]="ExtraData",e}(),Pu=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,Su=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,Bu=/\ufffd(\/?[#*!]\d+):?\d*\ufffd/gi,Iu=/\ufffd(\d+):?\d*\ufffd/gi,Hu=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,Tu=/\[(\ufffd.+?\ufffd?)\]/,ku=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,Lu=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,Fu=/{([A-Z0-9_]+)}/g,Ou=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,Vu=/\/\*/,Eu=/\d+\:(\d+)/;function Uu(e){if(!e)return[];let t=0;const n=[],i=[],r=/[{}]/g;let a;for(r.lastIndex=0;a=r.exec(e);){const r=a.index;if("}"==a[0]){if(n.pop(),0==n.length){const n=e.substring(t,r);Pu.test(n)?i.push(Zu(n)):i.push(n),t=r+1}}else{if(0==n.length){const n=e.substring(t,r);i.push(n),t=r+1}n.push("{")}}const o=e.substring(t);return i.push(o),i}function Zu(e){const t=[],n=[];let i=1,r=0;const a=Uu(e=e.replace(Pu,(function(e,t,n){return i="select"===n?0:1,r=parseInt(t.substr(1),10),""})));for(let o=0;on.length&&n.push(r)}return{type:i,mainBinding:r,cases:t,values:n}}function Nu(e){let t,n,i="",r=0,a=!1;for(;null!==(t=Su.exec(e));)a?t[0]===`\ufffd/*${n}\ufffd`&&(r=t.index,a=!1):(i+=e.substring(r,t.index+t[0].length),n=t[1],a=!0);return i+=e.substr(r),i}function ju(e,t,n,i=null){const r=[null,null],a=e.split(Iu);let o=0;for(let s=0;s0&&o!==s){let e=o.index-19;gt()||(e=~e),u.push(e<<3|0)}const d=[],A=[],h=(m=function(e,t){if("number"!=typeof t)return Nu(e);{const n=e.indexOf(`:${t}\ufffd`)+2+t.toString().length,i=e.search(new RegExp(`\ufffd\\/\\*\\d+:${t}\ufffd`));return Nu(e.substring(n,i))}}(i,r),m.replace(Ad," ")).split(Bu);var m;for(let p=0;p0&&function(e,t,n){if(n>0&&e.firstCreatePass){for(let i=0;i{const a=i||r,o=e[a]||[];if(o.length||(a.split("|").forEach(e=>{const t=e.match(Eu),n=t?parseInt(t[1],10):0,i=Vu.test(e);o.push([n,i,e])}),e[a]=o),!o.length)throw new Error(`i18n postprocess: unmatched placeholder - ${a}`);const s=t[t.length-1];let c=0;for(let e=0;et.hasOwnProperty(i)?`${n}${t[i]}${o}`:e),n=n.replace(Fu,(e,n)=>t.hasOwnProperty(n)?t[n]:e),n=n.replace(Ou,(e,n)=>{if(t.hasOwnProperty(n)){const i=t[n];if(!i.length)throw new Error(`i18n postprocess: unmatched ICU - ${e} with key: ${n}`);return i.shift()}return e}),n):n}function $u(){const e=dt();!function(e,t){const n=Ru[Gu--],i=e.data[n+19],r=mt(),a=ed(n,i.create,e,t);let o=n+1;for(;o<=r.index-19;){-1===a.indexOf(o)&&td(e,t,o,!0);const n=Zi(e,o);!n||0!==n.type&&3!==n.type&&4!==n.type||null===n.localNames||(o+=n.localNames.length>>1),o++}}(At(),e),Es(!1)}function Ju(e,t,n,i,r,a){const o=mt();t[n+19]=r;const s=Dr(e,t[6],n,i,a,null);return o&&o.next===s&&(o.next=null),s}function ed(e,t,n,i){const r=i[11];let a=null,o=null;const s=[];for(let c=0;c>>17;let u;u=r===e?i[6]:Zi(n,r),o=qu(n,a,u,o,i);break;case 0:const d=l>=0,A=(d?l:~l)>>>3;s.push(A),o=a,a=Zi(n,A),a&&pt(a,d);break;case 5:o=a=Zi(n,l>>>3),pt(a,!1);break;case 4:zr(l>>>3,t[++c],t[++c],n,i);break;default:throw new Error(`Unable to determine the type of mutate operation for "${l}"`)}else switch(l){case mr:const e=t[++c],u=t[++c],d=r.createComment(e);o=a,a=Ju(n,i,u,5,d,null),s.push(u),Ki(d,i),a.activeCaseIndex=null,ft();break;case hr:const A=t[++c],h=t[++c];o=a,a=Ju(n,i,h,3,r.createElement(A),A),s.push(h);break;default:throw new Error(`Unable to determine the type of mutate operation for "${l}"`)}}return ft(),s}function td(e,t,n,i){const r=Zi(e,n),a=Ei(n,t);a&&ka(t[11],a);const o=Ni(t,n);if(tt(o)){const e=o;0!==r.type&&ka(t[11],e[7])}i&&(r.flags|=64)}function nd(e,t,n){zu(e,t,n),$u()}function id(e,t){!function(e,t,n,i){const r=mt().index-19,a=[];for(let o=0;o>>2;let A,h,m;switch(3&l){case 1:Vr(a,o,d,t[++u],s,t[++u]);break;case 0:Aa(o,d,s);break;case 2:if(A=t[++u],h=n[A],m=Zi(a,d),null!==m.activeCaseIndex){const e=h.remove[m.activeCaseIndex];for(let t=0;t>>3,!1);break;case 6:const r=Zi(a,e[t+1]>>>3).activeCaseIndex;null!==r&&De(n[i>>>3].remove[r],e)}}}const l=cd(h,s);m.activeCaseIndex=-1!==l?l:null,l>-1&&(ed(-1,h.create[l],a,o),c=!0);break;case 3:A=t[++u],h=n[A],m=Zi(a,d),null!==m.activeCaseIndex&&e(h.update[m.activeCaseIndex],n,i,r,a,o,c)}}}}l+=d}}(i,r,a,rd,t,o),rd=0,ad=0}}function cd(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const i=function(e,t){switch(Du(t)(e)){case 0:return"zero";case 1:return"one";case 2:return"two";case 3:return"few";case 4:return"many";default:return"other"}}(t,hd);n=e.cases.indexOf(i),-1===n&&"other"!==i&&(n=e.cases.indexOf("other"));break}case 0:n=e.cases.indexOf("other")}return n}function ld(e,t,n,i){const r=[],a=[],o=[],s=[],c=[];for(let l=0;l null != ${t} <=Actual]`)}(n,t),"string"==typeof e&&(hd=e.toLowerCase().replace(/_/g,"-"))}const pd=new Map;class gd extends _e{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new hu(this);const n=Je(e),i=e[re]||null;i&&md(i),this._bootstrapComponents=mn(n.bootstrap),this._r3Injector=go(e,t,[{provide:_e,useValue:this},{provide:Vl,useValue:this.componentFactoryResolver}],N(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=Do.THROW_IF_NOT_FOUND,n=S.Default){return e===Do||e===_e||e===ce?this:this._r3Injector.get(e,t,n)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class fd extends Ce{constructor(e){super(),this.moduleType=e,null!==Je(e)&&function e(t){if(null!==t.\u0275mod.id){const e=t.\u0275mod.id;(function(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${N(t)} vs ${N(t.name)}`)})(e,pd.get(e),t),pd.set(e,t)}let n=t.\u0275mod.imports;n instanceof Function&&(n=n()),n&&n.forEach(t=>e(t))}(e)}create(e){return new gd(this.moduleType,e)}}function bd(e,t,n,i){return Fe(()=>{const r=e,a=r.prototype?Object.getPrototypeOf(r.prototype):null,o=a&&a.constructor;null!==t&&(void 0===r.decorators||o&&o.decorators===r.decorators?r.decorators=t:r.decorators.push(...t)),null!==n&&(r.ctorParameters=n),null!==i&&(r.propDecorators=void 0===r.propDecorators||o&&o.propDecorators===r.propDecorators?i:Object.assign(Object.assign({},r.propDecorators),i))})}function vd(e,t,n){const i=wt()+e,r=dt();return r[i]===cr?Vo(r,i,n?t.call(n):t()):Eo(r,i)}function wd(e,t,n,i){return Bd(dt(),wt(),e,t,n,i)}function yd(e,t,n,i,r){return Id(dt(),wt(),e,t,n,i,r)}function _d(e,t,n,i,r,a){return Hd(dt(),wt(),e,t,n,i,r,a)}function Cd(e,t,n,i,r,a,o){return Td(dt(),wt(),e,t,n,i,r,a,o)}function Dd(e,t,n,i,r,a,o,s){const c=wt()+e,l=dt(),u=jo(l,c,n,i,r,a);return Uo(l,c+4,o)||u?Vo(l,c+5,s?t.call(s,n,i,r,a,o):t(n,i,r,a,o)):Eo(l,c+5)}function Md(e,t,n,i,r,a,o,s,c){const l=wt()+e,u=dt(),d=jo(u,l,n,i,r,a);return Zo(u,l+4,o,s)||d?Vo(u,l+6,c?t.call(c,n,i,r,a,o,s):t(n,i,r,a,o,s)):Eo(u,l+6)}function xd(e,t,n,i,r,a,o,s,c,l){const u=wt()+e,d=dt();let A=jo(d,u,n,i,r,a);return No(d,u+4,o,s,c)||A?Vo(d,u+7,l?t.call(l,n,i,r,a,o,s,c):t(n,i,r,a,o,s,c)):Eo(d,u+7)}function Pd(e,t,n,i,r,a,o,s,c,l,u){const d=wt()+e,A=dt(),h=jo(A,d,n,i,r,a);return jo(A,d+4,o,s,c,l)||h?Vo(A,d+8,u?t.call(u,n,i,r,a,o,s,c,l):t(n,i,r,a,o,s,c,l)):Eo(A,d+8)}function Sd(e,t,n,i){return kd(dt(),wt(),e,t,n,i)}function Bd(e,t,n,i,r,a){const o=t+n;return Uo(e,o,r)?Vo(e,o+1,a?i.call(a,r):i(r)):Eo(e,o+1)}function Id(e,t,n,i,r,a,o){const s=t+n;return Zo(e,s,r,a)?Vo(e,s+2,o?i.call(o,r,a):i(r,a)):Eo(e,s+2)}function Hd(e,t,n,i,r,a,o,s){const c=t+n;return No(e,c,r,a,o)?Vo(e,c+3,s?i.call(s,r,a,o):i(r,a,o)):Eo(e,c+3)}function Td(e,t,n,i,r,a,o,s,c){const l=t+n;return jo(e,l,r,a,o,s)?Vo(e,l+4,c?i.call(c,r,a,o,s):i(r,a,o,s)):Eo(e,l+4)}function kd(e,t,n,i,r,a){let o=t+n,s=!1;for(let c=0;c=0;n--){const i=t[n];if(e===i.name)return i}throw new Error(`The pipe '${e}' could not be found!`)}(t,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(r,i.onDestroy)):i=n.data[r];const a=i.factory||(i.factory=$e(i.type)),o=pe(hs),s=a();return pe(o),function(e,t,n,i){const r=n+19;r>=e.data.length&&(e.data[r]=null,e.blueprint[r]=null),t[r]=i}(n,dt(),e,s),s}function Fd(e,t,n){const i=dt(),r=Ni(i,e);return Nd(i,Zd(i,e)?Bd(i,wt(),t,r.transform,n,r):r.transform(n))}function Od(e,t,n,i){const r=dt(),a=Ni(r,e);return Nd(r,Zd(r,e)?Id(r,wt(),t,a.transform,n,i,a):a.transform(n,i))}function Vd(e,t,n,i,r){const a=dt(),o=Ni(a,e);return Nd(a,Zd(a,e)?Hd(a,wt(),t,o.transform,n,i,r,o):o.transform(n,i,r))}function Ed(e,t,n,i,r,a){const o=dt(),s=Ni(o,e);return Nd(o,Zd(o,e)?Td(o,wt(),t,s.transform,n,i,r,a,s):s.transform(n,i,r,a))}function Ud(e,t,n){const i=dt(),r=Ni(i,e);return Nd(i,Zd(i,e)?kd(i,wt(),t,r.transform,n,r):r.transform.apply(r,n))}function Zd(e,t){return e[1].data[t+19].pure}function Nd(e,t){return Lo.isWrapped(t)&&(t=Lo.unwrap(t),e[yt()]=cr),t}class jd extends i.a{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){let i,a=e=>null,o=()=>null;e&&"object"==typeof e?(i=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(a=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(o=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(i=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(a=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),n&&(o=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const s=super.subscribe(i,a,o);return e instanceof r.a&&e.add(s),s}}function Qd(){return this._results[To()]()}class Rd{constructor(){this.dirty=!0,this._results=[],this.changes=new jd,this.length=0;const e=To(),t=Rd.prototype;t[e]||(t[e]=Qd)}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e){this._results=Me(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class Gd{constructor(e){this.queryList=e,this.matches=null}clone(){return new Gd(this.queryList)}setDirty(){this.queryList.setDirty()}}class Wd{constructor(e=[]){this.queries=e}createEmbeddedView(e){const t=e.queries;if(null!==t){const n=null!==e.contentQueries?e.contentQueries[0]:t.length,i=[];for(let e=0;e0)r.push(s[t/2]);else{const a=o[t+1],s=n[-i];for(let t=9;t({"\u0275\u0275attribute":Qo,"\u0275\u0275attributeInterpolate1":Jo,"\u0275\u0275attributeInterpolate2":es,"\u0275\u0275attributeInterpolate3":ts,"\u0275\u0275attributeInterpolate4":ns,"\u0275\u0275attributeInterpolate5":is,"\u0275\u0275attributeInterpolate6":rs,"\u0275\u0275attributeInterpolate7":as,"\u0275\u0275attributeInterpolate8":os,"\u0275\u0275attributeInterpolateV":ss,"\u0275\u0275defineComponent":Ue,"\u0275\u0275defineDirective":Xe,"\u0275\u0275defineInjectable":H,"\u0275\u0275defineInjector":T,"\u0275\u0275defineNgModule":Re,"\u0275\u0275definePipe":ze,"\u0275\u0275directiveInject":hs,"\u0275\u0275getFactoryOf":Hn,"\u0275\u0275getInheritedFactory":Tn,"\u0275\u0275inject":fe,"\u0275\u0275injectAttribute":ms,"\u0275\u0275invalidFactory":ps,"\u0275\u0275invalidFactoryDep":be,"\u0275\u0275injectPipeChangeDetectorRef":dA,"\u0275\u0275templateRefExtractor":uA,"\u0275\u0275NgOnChangesFeature":Cl,"\u0275\u0275ProvidersFeature":Ll,"\u0275\u0275CopyDefinitionFeature":yl,"\u0275\u0275InheritDefinitionFeature":ml,"\u0275\u0275container":cs,"\u0275\u0275nextContext":Ls,"\u0275\u0275containerRefreshStart":us,"\u0275\u0275containerRefreshEnd":ds,"\u0275\u0275namespaceHTML":Ut,"\u0275\u0275namespaceMathML":Et,"\u0275\u0275namespaceSVG":Vt,"\u0275\u0275enableBindings":lt,"\u0275\u0275disableBindings":ut,"\u0275\u0275elementStart":bs,"\u0275\u0275elementEnd":vs,"\u0275\u0275element":ws,"\u0275\u0275elementContainerStart":ys,"\u0275\u0275elementContainerEnd":_s,"\u0275\u0275elementContainer":Cs,"\u0275\u0275pureFunction0":vd,"\u0275\u0275pureFunction1":wd,"\u0275\u0275pureFunction2":yd,"\u0275\u0275pureFunction3":_d,"\u0275\u0275pureFunction4":Cd,"\u0275\u0275pureFunction5":Dd,"\u0275\u0275pureFunction6":Md,"\u0275\u0275pureFunction7":xd,"\u0275\u0275pureFunction8":Pd,"\u0275\u0275pureFunctionV":Sd,"\u0275\u0275getCurrentView":xs,"\u0275\u0275restoreView":ht,"\u0275\u0275listener":Bs,"\u0275\u0275projection":Us,"\u0275\u0275updateSyntheticHostBinding":dl,"\u0275\u0275componentHostSyntheticListener":Is,"\u0275\u0275pipeBind1":Fd,"\u0275\u0275pipeBind2":Od,"\u0275\u0275pipeBind3":Vd,"\u0275\u0275pipeBind4":Ed,"\u0275\u0275pipeBindV":Ud,"\u0275\u0275projectionDef":Os,"\u0275\u0275hostProperty":ul,"\u0275\u0275property":gs,"\u0275\u0275propertyInterpolate":Zs,"\u0275\u0275propertyInterpolate1":Ns,"\u0275\u0275propertyInterpolate2":js,"\u0275\u0275propertyInterpolate3":Qs,"\u0275\u0275propertyInterpolate4":Rs,"\u0275\u0275propertyInterpolate5":Gs,"\u0275\u0275propertyInterpolate6":Ws,"\u0275\u0275propertyInterpolate7":Xs,"\u0275\u0275propertyInterpolate8":zs,"\u0275\u0275propertyInterpolateV":Ks,"\u0275\u0275pipe":Ld,"\u0275\u0275queryRefresh":Jd,"\u0275\u0275viewQuery":tA,"\u0275\u0275staticViewQuery":eA,"\u0275\u0275staticContentQuery":rA,"\u0275\u0275loadQuery":oA,"\u0275\u0275contentQuery":iA,"\u0275\u0275reference":As,"\u0275\u0275classMap":hc,"\u0275\u0275classMapInterpolate1":Vc,"\u0275\u0275classMapInterpolate2":Ec,"\u0275\u0275classMapInterpolate3":Uc,"\u0275\u0275classMapInterpolate4":Zc,"\u0275\u0275classMapInterpolate5":Nc,"\u0275\u0275classMapInterpolate6":jc,"\u0275\u0275classMapInterpolate7":Qc,"\u0275\u0275classMapInterpolate8":Rc,"\u0275\u0275classMapInterpolateV":Gc,"\u0275\u0275styleMap":dc,"\u0275\u0275styleMapInterpolate1":Wc,"\u0275\u0275styleMapInterpolate2":Xc,"\u0275\u0275styleMapInterpolate3":zc,"\u0275\u0275styleMapInterpolate4":Kc,"\u0275\u0275styleMapInterpolate5":qc,"\u0275\u0275styleMapInterpolate6":Yc,"\u0275\u0275styleMapInterpolate7":$c,"\u0275\u0275styleMapInterpolate8":Jc,"\u0275\u0275styleMapInterpolateV":el,"\u0275\u0275styleProp":lc,"\u0275\u0275stylePropInterpolate1":tl,"\u0275\u0275stylePropInterpolate2":nl,"\u0275\u0275stylePropInterpolate3":il,"\u0275\u0275stylePropInterpolate4":rl,"\u0275\u0275stylePropInterpolate5":al,"\u0275\u0275stylePropInterpolate6":ol,"\u0275\u0275stylePropInterpolate7":sl,"\u0275\u0275stylePropInterpolate8":cl,"\u0275\u0275stylePropInterpolateV":ll,"\u0275\u0275styleSanitizer":cc,"\u0275\u0275classProp":uc,"\u0275\u0275select":dr,"\u0275\u0275advance":ur,"\u0275\u0275template":ls,"\u0275\u0275text":xc,"\u0275\u0275textInterpolate":Pc,"\u0275\u0275textInterpolate1":Sc,"\u0275\u0275textInterpolate2":Bc,"\u0275\u0275textInterpolate3":Ic,"\u0275\u0275textInterpolate4":Hc,"\u0275\u0275textInterpolate5":Tc,"\u0275\u0275textInterpolate6":kc,"\u0275\u0275textInterpolate7":Lc,"\u0275\u0275textInterpolate8":Fc,"\u0275\u0275textInterpolateV":Oc,"\u0275\u0275embeddedViewStart":Ds,"\u0275\u0275embeddedViewEnd":Ms,"\u0275\u0275i18n":nd,"\u0275\u0275i18nAttributes":id,"\u0275\u0275i18nExp":od,"\u0275\u0275i18nStart":zu,"\u0275\u0275i18nEnd":$u,"\u0275\u0275i18nApply":sd,"\u0275\u0275i18nPostprocess":Yu,"\u0275\u0275resolveWindow":dn,"\u0275\u0275resolveDocument":An,"\u0275\u0275resolveBody":hn,"\u0275\u0275setComponentScope":Ze,"\u0275\u0275setNgModuleScope":Ge,"\u0275\u0275sanitizeHtml":Si,"\u0275\u0275sanitizeStyle":Bi,"\u0275\u0275defaultStyleSanitizer":Li,"\u0275\u0275sanitizeResourceUrl":Hi,"\u0275\u0275sanitizeScript":Ti,"\u0275\u0275sanitizeUrl":Ii,"\u0275\u0275sanitizeUrlOrResourceUrl":ki}))(),hA=[],mA=[];let pA=!1;function gA(e){return Array.isArray(e)?e.every(gA):!!G(e)}function fA(e,t){const n=Me(t.declarations||hA),i=vA(e);n.forEach(t=>{t.hasOwnProperty(ee)?bA(Ke(t),i):t.hasOwnProperty(te)||t.hasOwnProperty(ne)||(t.ngSelectorScope=e)})}function bA(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map(e=>e.hasOwnProperty(ee)?Ke(e):qe(e)).filter(e=>!!e),e.pipeDefs=()=>Array.from(t.compilation.pipes).map(e=>Ye(e)),e.schemas=t.schemas,e.tView=null}function vA(e){if(!yA(e))throw new Error(`${e.name} does not have a module def (\u0275mod property)`);const t=Je(e);if(null!==t.transitiveCompileScopes)return t.transitiveCompileScopes;const n={schemas:t.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return mn(t.declarations).forEach(e=>{Ye(e)?n.compilation.pipes.add(e):n.compilation.directives.add(e)}),mn(t.imports).forEach(e=>{const t=e;if(!yA(t))throw new Error(`Importing ${t.name} which does not have a \u0275mod property`);const i=vA(t);i.exported.directives.forEach(e=>n.compilation.directives.add(e)),i.exported.pipes.forEach(e=>n.compilation.pipes.add(e))}),mn(t.exports).forEach(e=>{const t=e;if(yA(t)){const e=vA(t);e.exported.directives.forEach(e=>{n.compilation.directives.add(e),n.exported.directives.add(e)}),e.exported.pipes.forEach(e=>{n.compilation.pipes.add(e),n.exported.pipes.add(e)})}else Ye(t)?n.exported.pipes.add(t):n.exported.directives.add(t)}),t.transitiveCompileScopes=n,n}function wA(e){return function(e){return void 0!==e.ngModule}(e)?e.ngModule:e}function yA(e){return!!Je(e)}function _A(e,t){let n=null;DA(e,t||{}),Object.defineProperty(e,te,{get:()=>{if(null===n){const i=CA(e,t||{});n=J().compileDirective(AA,i.sourceMapUrl,i.metadata)}return n},configurable:!1})}function CA(e,t){const n=e&&e.name,i=`ng:///${n}/\u0275dir.js`,r=J(),a=xA(e,t);return a.typeSourceSpan=r.createParseSourceSpan("Directive",n,i),a.usesInheritance&&PA(e),{metadata:a,sourceMapUrl:i}}function DA(e,t){let n=null;Object.defineProperty(e,ae,{get:()=>{if(null===n){const i=CA(e,t),r=J();n=r.compileFactory(AA,`ng:///${e.name}/\u0275fac.js`,Object.assign(Object.assign({},i.metadata),{injectFn:"directiveInject",target:r.R3FactoryTarget.Directive}))}return n},configurable:!1})}function MA(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function xA(e,t){const n=so(),i=n.ownPropMetadata(e);return{name:e.name,type:e,typeArgumentCount:0,selector:void 0!==t.selector?t.selector:null,deps:co(e),host:t.host||Oe,propMetadata:i,inputs:t.inputs||Ve,outputs:t.outputs||Ve,queries:BA(e,i,IA),lifecycle:{usesOnChanges:n.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!MA(e),exportAs:(r=t.exportAs,void 0===r?null:kA(r)),providers:t.providers||null,viewQueries:BA(e,i,HA)};var r}function PA(e){const t=Object.prototype;let n=Object.getPrototypeOf(e.prototype).constructor;for(;n&&n!==t;)qe(n)||Ke(n)||!FA(n)||_A(n,null),n=Object.getPrototypeOf(n)}function SA(e,t){return{propertyName:e,predicate:(n=t.selector,"string"==typeof n?kA(n):G(n)),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static};var n}function BA(e,t,n){const i=[];for(const r in t)if(t.hasOwnProperty(r)){const a=t[r];a.forEach(t=>{if(n(t)){if(!t.selector)throw new Error(`Can't construct a query for the property "${r}" of `+`"${ln(e)}" since the query selector wasn't defined.`);if(a.some(TA))throw new Error("Cannot combine @Input decorators with query decorators");i.push(SA(r,t))}})}return i}function IA(e){const t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function HA(e){const t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function TA(e){return"Input"===e.ngMetadataName}function kA(e){return e.split(",").map(e=>e.trim())}const LA=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function FA(e){const t=so();if(LA.some(n=>t.hasLifecycleHook(e,n)))return!0;const n=t.propMetadata(e);for(const i in n){const e=n[i];for(let t=0;te,void 0,void 0,(e,t)=>QA(e,t)),EA=b("Component",(e={})=>Object.assign({changeDetection:ke.Default},e),VA,void 0,(e,t)=>jA(e,t)),UA=b("Pipe",e=>Object.assign({pure:!0},e),void 0,void 0,(e,t)=>RA(e,t)),ZA=y("Input",e=>({bindingPropertyName:e})),NA=y("Output",e=>({bindingPropertyName:e})),jA=function(e,t){let n=null;!function(e,t){So(t)&&(xo.set(e,t),Po.add(e))}(e,t),DA(e,t),Object.defineProperty(e,ee,{get:()=>{if(null===n){const i=J();if(So(t)){const n=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&n.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&n.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),n.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(n.join("\n"))}const r=t.templateUrl||`ng:///${e.name}/template.html`,a=Object.assign(Object.assign({},xA(e,t)),{typeSourceSpan:i.createParseSourceSpan("Component",e.name,r),template:t.template||"",preserveWhitespaces:t.preserveWhitespaces||!1,styles:t.styles||Ve,animations:t.animations,directives:[],changeDetection:t.changeDetection,pipes:new Map,encapsulation:t.encapsulation||Le.Emulated,interpolation:t.interpolation,viewProviders:t.viewProviders||null});if(a.usesInheritance&&PA(e),n=i.compileComponent(AA,r,a),function(){if(!pA){pA=!0;try{for(let e=mA.length-1;e>=0;e--){const{moduleType:t,ngModule:n}=mA[e];n.declarations&&n.declarations.every(gA)&&(mA.splice(e,1),fA(t,n))}}finally{pA=!1}}}(),void 0!==e.ngSelectorScope){const t=vA(e.ngSelectorScope);bA(n,t)}}return n},configurable:!1})},QA=_A,RA=function(e,t){let n=null,i=null;Object.defineProperty(e,ae,{get:()=>{if(null===i){const n=OA(e,t),r=J();i=r.compileFactory(AA,`ng:///${n.name}/\u0275fac.js`,Object.assign(Object.assign({},n),{injectFn:"directiveInject",target:r.R3FactoryTarget.Pipe}))}return i},configurable:!1}),Object.defineProperty(e,ne,{get:()=>{if(null===n){const i=OA(e,t);n=J().compilePipe(AA,`ng:///${i.name}/\u0275pipe.js`,i)}return n},configurable:!1})},GA=b("NgModule",e=>e,void 0,void 0,(e,t)=>WA(e,t)),WA=function(e,t={}){!function(e,t,n=!1){const i=Me(t.declarations||hA);let r=null;Object.defineProperty(e,ie,{configurable:!0,get:()=>(null===r&&(r=J().compileNgModule(AA,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:Me(t.bootstrap||hA).map(G),declarations:i.map(G),imports:Me(t.imports||hA).map(G).map(wA),exports:Me(t.exports||hA).map(G).map(wA),schemas:t.schemas?Me(t.schemas):null,id:t.id||null}),r.schemas||(r.schemas=[])),r)});let a=null;Object.defineProperty(e,V,{get:()=>{if(null===a){const n={name:e.name,type:e,deps:co(e),providers:t.providers||hA,imports:[(t.imports||hA).map(G),(t.exports||hA).map(G)]};a=J().compileInjector(AA,`ng:///${e.name}/\u0275inj.js`,n)}return a},configurable:!1})}(e,t),function(e,t){mA.push({moduleType:e,ngModule:t})}(e,t)},XA=new se("Application Initializer");let zA=(()=>{class e{constructor(e){this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}return e.\u0275fac=function(t){return new(t||e)(fe(XA,8))},e.\u0275prov=H({token:e,factory:e.\u0275fac}),e})();const KA=new se("AppId"),qA={provide:KA,useFactory:function(){return`${YA()}${YA()}${YA()}`},deps:[]};function YA(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const $A=new se("Platform Initializer"),JA=new se("Platform ID"),eh=new se("appBootstrapListener");let th=(()=>{class e{log(e){console.log(e)}warn(e){console.warn(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=H({token:e,factory:e.\u0275fac}),e})();const nh=new se("LocaleId"),ih=new se("DefaultCurrencyCode");class rh{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const ah=function(e){return new fd(e)},oh=ah,sh=function(e){return Promise.resolve(ah(e))},ch=function(e){const t=ah(e),n=mn(Je(e).declarations).reduce((e,t)=>{const n=Ke(t);return n&&e.push(new gu(n)),e},[]);return new rh(t,n)},lh=ch,uh=function(e){return Promise.resolve(ch(e))};let dh=(()=>{class e{constructor(){this.compileModuleSync=oh,this.compileModuleAsync=sh,this.compileModuleAndAllComponentsSync=lh,this.compileModuleAndAllComponentsAsync=uh}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=H({token:e,factory:e.\u0275fac}),e})();const Ah=new se("compilerOptions"),hh=(()=>Promise.resolve(0))();function mh(e){"undefined"==typeof Zone?hh.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class ph{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new jd(!1),this.onMicrotaskEmpty=new jd(!1),this.onStable=new jd(!1),this.onError=new jd(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=t,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let e=Y.requestAnimationFrame,t=Y.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=!!e.shouldCoalesceEventChangeDetection&&e.nativeRequestAnimationFrame&&(()=>{!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Y,()=>{e.lastRequestAnimationFrameId=-1,vh(e),bh(e)}),vh(e))}(e)});e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:t},onInvokeTask:(n,i,r,a,o,s)=>{try{return wh(e),n.invokeTask(r,a,o,s)}finally{t&&"eventTask"===a.type&&t(),yh(e)}},onInvoke:(t,n,i,r,a,o,s)=>{try{return wh(e),t.invoke(i,r,a,o,s)}finally{yh(e)}},onHasTask:(t,n,i,r)=>{t.hasTask(i,r),n===i&&("microTask"==r.change?(e._hasPendingMicrotasks=r.microTask,vh(e),bh(e)):"macroTask"==r.change&&(e.hasPendingMacrotasks=r.macroTask))},onHandleError:(t,n,i,r)=>(t.handleError(i,r),e.runOutsideAngular(()=>e.onError.emit(r)),!1)})}(this)}static isInAngularZone(){return!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(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,i){const r=this._inner,a=r.scheduleEventTask("NgZoneEvent: "+i,e,fh,gh,gh);try{return r.runTask(a,t,n)}finally{r.cancelTask(a)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}function gh(){}const fh={};function bh(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function vh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||e.shouldCoalesceEventChangeDetection&&-1!==e.lastRequestAnimationFrameId)}function wh(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function yh(e){e._nesting--,bh(e)}class _h{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new jd,this.onMicrotaskEmpty=new jd,this.onStable=new jd,this.onError=new jd}run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,i){return e.apply(t,n)}}let Ch=(()=>{class e{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.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(),mh(()=>{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())mh(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let i=-1;t&&t>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==i),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:n})}whenStable(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,n){return[]}}return e.\u0275fac=function(t){return new(t||e)(fe(ph))},e.\u0275prov=H({token:e,factory:e.\u0275fac}),e})(),Dh=(()=>{class e{constructor(){this._applications=new Map,Sh.addToWindow(this)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return Sh.findTestabilityInTree(this,e,t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=H({token:e,factory:e.\u0275fac}),e})();class Mh{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}function xh(e){Sh=e}let Ph,Sh=new Mh,Bh=function(e,t,n){const i=new fd(n);if(0===xo.size)return Promise.resolve(i);const r=function(e){const t=[];return e.forEach(e=>e&&t.push(...e)),t}(e.get(Ah,[]).concat(t).map(e=>e.providers));if(0===r.length)return Promise.resolve(i);const a=J(),o=Do.create({providers:r}).get(a.ResourceLoader);return function(e){const t=[],n=new Map;function i(e){let t=n.get(e);if(!t){const i=(e=>Promise.resolve(o.get(e)))(e);n.set(e,t=i.then(Bo))}return t}return xo.forEach((e,n)=>{const r=[];e.templateUrl&&r.push(i(e.templateUrl).then(t=>{e.template=t}));const a=e.styleUrls,o=e.styles||(e.styles=[]),s=e.styles.length;a&&a.forEach((t,n)=>{o.push(""),r.push(i(t).then(i=>{o[s+n]=i,a.splice(a.indexOf(t),1),0==a.length&&(e.styleUrls=void 0)}))});const c=Promise.all(r).then(()=>function(e){Po.delete(e)}(n));t.push(c)}),xo=new Map,Promise.all(t).then(()=>{})}().then(()=>i)};const Ih=new se("AllowMultipleToken");class Hh{constructor(e,t){this.name=e,this.token=t}}function Th(e,t,n=[]){const i=`Platform: ${t}`,r=new se(i);return(t=[])=>{let a=kh();if(!a||a.injector.get(Ih,!1))if(e)e(n.concat(t).concat({provide:r,useValue:!0}));else{const e=n.concat(t).concat({provide:r,useValue:!0},{provide:lo,useValue:"platform"});!function(e){if(Ph&&!Ph.destroyed&&!Ph.injector.get(Ih,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Ph=e.get(Lh);const t=e.get($A,null);t&&t.forEach(e=>e())}(Do.create({providers:e,name:i}))}return function(e){const t=kh();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(r)}}function kh(){return Ph&&!Ph.destroyed?Ph:null}let Lh=(()=>{class e{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n=function(e,t){let n;return n="noop"===e?new _h:("zone.js"===e?void 0:e)||new ph({enableLongStackTrace:Jn(),shouldCoalesceEventChangeDetection:t}),n}(t?t.ngZone:void 0,t&&t.ngZoneEventCoalescing||!1),i=[{provide:ph,useValue:n}];return n.run(()=>{const t=Do.create({providers:i,parent:this.injector,name:e.moduleType.name}),r=e.create(t),a=r.injector.get(On,null);if(!a)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return r.onDestroy(()=>Vh(this._modules,r)),n.runOutsideAngular(()=>n.onError.subscribe({next:e=>{a.handleError(e)}})),function(e,t,n){try{const i=n();return Ps(i)?i.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(a,n,()=>{const e=r.injector.get(zA);return e.runInitializers(),e.donePromise.then(()=>(md(r.injector.get(nh,"en-US")||"en-US"),this._moduleDoBootstrap(r),r))})})}bootstrapModule(e,t=[]){const n=Fh({},t);return Bh(this.injector,n,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(Oh);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${N(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. `+"Please define one of these.");e.instance.ngDoBootstrap(t)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(t){return new(t||e)(fe(Do))},e.\u0275prov=H({token:e,factory:e.\u0275fac}),e})();function Fh(e,t){return Array.isArray(t)?t.reduce(Fh,e):Object.assign(Object.assign({},e),t)}let Oh=(()=>{class e{constructor(e,t,n,i,r,s){this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=i,this._componentFactoryResolver=r,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Jn(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const l=new a.a(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),u=new a.a(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{ph.assertNotInAngularZone(),mh(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{ph.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=Object(o.a)(l,u.pipe(e=>{return c()((t=m,function(e){let n;n="function"==typeof t?t:function(){return t};const i=Object.create(e,A);return i.source=e,i.subjectFactory=n,i})(e));var t}))}bootstrap(e,t){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=e instanceof Fl?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const i=n.isBoundToModule?void 0:this._injector.get(_e),r=n.create(Do.NULL,[],t||n.selector,i);r.onDestroy(()=>{this._unloadComponent(r)});const a=r.injector.get(Ch,null);return a&&r.injector.get(Dh).registerApplication(r.location.nativeElement,a),this._loadComponent(r),Jn()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),r}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let e of this._views)e.detectChanges();if(this._enforceNoNewChanges)for(let e of this._views)e.checkNoChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;Vh(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(eh,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}_unloadComponent(e){this.detachView(e.hostView),Vh(this.components,e)}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy())}get viewCount(){return this._views.length}}return e.\u0275fac=function(t){return new(t||e)(fe(ph),fe(th),fe(Do),fe(On),fe(Vl),fe(zA))},e.\u0275prov=H({token:e,factory:e.\u0275fac}),e})();function Vh(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Eh{}class Uh{}const Zh={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let Nh=(()=>{class e{constructor(e,t){this._compiler=e,this._config=t||Zh}load(e){return this.loadAndCompile(e)}loadAndCompile(e){let[t,i]=e.split("#");return void 0===i&&(i="default"),n("zn8P")(t).then(e=>e[i]).then(e=>jh(e,t,i)).then(e=>this._compiler.compileModuleAsync(e))}loadFactory(e){let[t,i]=e.split("#"),r="NgFactory";return void 0===i&&(i="default",r=""),n("zn8P")(this._config.factoryPathPrefix+t+this._config.factoryPathSuffix).then(e=>e[i+r]).then(e=>jh(e,t,i))}}return e.\u0275fac=function(t){return new(t||e)(fe(dh),fe(Uh,8))},e.\u0275prov=H({token:e,factory:e.\u0275fac}),e})();function jh(e,t,n){if(!e)throw new Error(`Cannot find '${n}' in '${t}'`);return e}const Qh=function(e){return null},Rh=Th(null,"core",[{provide:JA,useValue:"unknown"},{provide:Lh,deps:[Do]},{provide:Dh,deps:[]},{provide:th,deps:[]}]),Gh=[{provide:Oh,useClass:Oh,deps:[ph,th,Do,On,Vl,zA]},{provide:pu,deps:[ph],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:zA,useClass:zA,deps:[[new C,XA]]},{provide:dh,useClass:dh,deps:[]},qA,{provide:iu,useFactory:function(){return ou},deps:[]},{provide:ru,useFactory:function(){return su},deps:[]},{provide:nh,useFactory:function(e){return md(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new _(nh),new C,new M]]},{provide:ih,useValue:"USD"}];let Wh=(()=>{class e{constructor(e){}}return e.\u0275mod=Re({type:e}),e.\u0275inj=T({factory:function(t){return new(t||e)(fe(Oh))},providers:Gh}),e})()},ffpz:function(e,t,n){"use strict";t.Scheduler=function(){function e(t,n){void 0===n&&(n=e.now),this.SchedulerAction=t,this.now=n}return e.prototype.schedule=function(e,t,n){return void 0===t&&(t=0),new this.SchedulerAction(this,e).schedule(n,t)},e.now=function(){return Date.now()},e}()},fsMM:function(e,t,n){"use strict";n.d(t,"p",(function(){return i})),n.d(t,"g",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"l",(function(){return o})),n.d(t,"j",(function(){return s})),n.d(t,"f",(function(){return c})),n.d(t,"d",(function(){return l})),n.d(t,"h",(function(){return u})),n.d(t,"r",(function(){return d})),n.d(t,"q",(function(){return A})),n.d(t,"o",(function(){return h})),n.d(t,"n",(function(){return m})),n.d(t,"m",(function(){return p})),n.d(t,"k",(function(){return g})),n.d(t,"i",(function(){return f})),n.d(t,"c",(function(){return b})),n.d(t,"b",(function(){return v})),n.d(t,"e",(function(){return w}));var i=function(e){return e[e.Group=1]="Group",e[e.Individual=2]="Individual",e}({}),r=function(e){return e.Photo="PHOTO",e.Video="VIDEO",e.YoutubeUrl="YOUTUBE URL",e.VideoUrl="VIDEO URL",e.PDF="PDF",e.URL="URL",e}({}),a=function(e){return e[e.GovermentAchievement=1]="GovermentAchievement",e[e.Advertisement=2]="Advertisement",e}({}),o=function(e){return e.Center="26",e.State="27",e.Both="28",e}({}),s=function(e){return e.InDuration="34",e.Date="33",e}({}),c=function(e){return e[e.Continuous=10056]="Continuous",e[e.FixedTimePeriod=10055]="FixedTimePeriod",e}({}),l=function(e){return e[e.StateLevel=1]="StateLevel",e[e.DistrictLevel=2]="DistrictLevel",e[e.BlockLevel=3]="BlockLevel",e[e.TehsilLevel=4]="TehsilLevel",e}({}),u=function(e){return e[e.Online=37]="Online",e[e.OffLine=38]="OffLine",e[e.OnlineOffline=39]="OnlineOffline",e}({}),d=function(e){return e[e.EMitra=44]="EMitra",e[e.SchemeWebsite=45]="SchemeWebsite",e[e.EMitraSchemeWebsite=48]="EMitraSchemeWebsite",e[e.MobileApp=49]="MobileApp",e}({}),A=function(e){return e.Yes="35",e.No="36",e}({}),h=function(e){return e[e.Scheme=20062]="Scheme",e[e.Service=20063]="Service",e}({}),m=function(e){return e[e.Mandatory=42]="Mandatory",e[e.NonMandatory=43]="NonMandatory",e}({}),p=function(e){return e[e.Yes=29]="Yes",e[e.No=30]="No",e}({}),g=function(e){return e[e.FinancialAssistance=2]="FinancialAssistance",e[e.Subsidy=3]="Subsidy",e[e.Scholarship=4]="Scholarship",e[e.CertificateLicenceDocument=5]="CertificateLicenceDocument",e[e.PhysicalItem=6]="PhysicalItem",e}({}),f=function(e){return e[e.OneTime=40]="OneTime",e[e.Installments=41]="Installments",e}({}),b=function(e){return e[e.Yes=32]="Yes",e[e.No=31]="No",e}({}),v=function(e){return e[e.GovermentAchievement=1]="GovermentAchievement",e[e.Advertisement=2]="Advertisement",e[e.Jankalyan=3]="Jankalyan",e}({}),w=function(e){return e[e.AssemblyConstituency=1]="AssemblyConstituency",e[e.Block=2]="Block",e[e.Tehsil=3]="Tehsil",e}({})},gRHU:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("2fFW"),r=n("NJ4a");const a={closed:!0,next(e){},error(e){if(i.a.useDeprecatedSynchronousErrorHandling)throw e;Object(r.a)(e)},complete(){}}},hzby:function(e,t,n){"use strict";var i=n("fXoL"),r=n("pLZG"),a=n("lJxs"),o=n("IzEk"),s=n("l7GE"),c=n("ZUHj");function l(e){return t=>t.lift(new u(e))}class u{constructor(e){this.notifier=e}call(e,t){const n=new d(e),i=Object(c.a)(n,this.notifier);return i&&!n.seenValue?(n.add(i),t.subscribe(n)):n}}class d extends s.a{constructor(e){super(e),this.seenValue=!1}notifyNext(e,t,n,i,r){this.seenValue=!0,this.complete()}notifyComplete(){}}function A(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function h(e){return"string"==typeof e}function m(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function p(e){return e&&e.getTime&&!isNaN(e.getTime())}function g(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function f(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function b(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function v(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function w(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function y(e){return void 0===e}function _(e){const t=+e;let n=0;return 0!==t&&isFinite(t)&&(n=A(t)),n}const C={},D={date:"day",hour:"hours",minute:"minutes",second:"seconds",millisecond:"milliseconds"};function M(e,t){const n=e.toLowerCase();let i=e;n in D&&(i=D[n]),C[n]=C[`${n}s`]=C[t]=i}function x(e){return h(e)?C[e]||C[e.toLowerCase()]:void 0}function P(e,t,n){const i=`${Math.abs(e)}`;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,t-i.length)).toString().substr(1)+i}let S={},B={};const I=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g;function H(e,t,n,i){e&&(B[e]=i),t&&(B[t[0]]=function(){return P(i.apply(null,arguments),t[1],t[2])}),n&&(B[n]=function(t,n){return n.locale.ordinal(i.apply(null,arguments),e)})}function T(e,t,n){const i=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(i.getUTCFullYear())&&i.setUTCFullYear(e),i}function k(e,t=0,n=1,i=0,r=0,a=0,o=0){const s=new Date(e,t,n,i,r,a,o);return e<100&&e>=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function L(e,t=!1){return t?e.getUTCHours():e.getHours()}function F(e,t=!1){return t?e.getUTCMinutes():e.getMinutes()}function O(e,t=!1){return t?e.getUTCSeconds():e.getSeconds()}function V(e,t=!1){return t?e.getUTCMilliseconds():e.getMilliseconds()}function E(e,t=!1){return t?e.getUTCDay():e.getDay()}function U(e,t=!1){return t?e.getUTCDate():e.getDate()}function Z(e,t=!1){return t?e.getUTCMonth():e.getMonth()}function N(e,t=!1){return t?e.getUTCFullYear():e.getFullYear()}function j(e,t){return!(!e||!t)&&Q(e,t)&&Z(e)===Z(t)}function Q(e,t){return!(!e||!t)&&N(e)===N(t)}function R(e,t){return!(!e||!t)&&Q(e,t)&&j(e,t)&&U(e)===U(t)}const G=/\d/,W=/\d\d/,X=/\d{3}/,z=/\d{4}/,K=/[+-]?\d{6}/,q=/\d\d?/,Y=/\d\d\d\d?/,$=/\d\d\d\d\d\d?/,J=/\d{1,3}/,ee=/\d{1,4}/,te=/[+-]?\d{1,6}/,ne=/\d+/,ie=/[+-]?\d+/,re=/Z|[+-]\d\d(?::?\d\d)?/gi,ae=/[+-]?\d+(\.\d{1,3})?/,oe=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,se={};function ce(e,t,n){se[e]=g(t)?t:function(e,i){return e&&n?n:t}}function le(e,t){return v(se,e)?se[e](!1,t):new RegExp(ue(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(e,t,n,i,r)=>t||n||i||r)))}function ue(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}const de={};function Ae(e,t){const n=h(e)?[e]:e;let i=t;if(f(t)&&(i=function(e,n,i){return n[t]=_(e),i}),b(n)&&g(i)){let e;for(e=0;e68?1900:2e3)}function we(e){return ye(e)?366:365}function ye(e){return e%4==0&&e%100!=0||e%400==0}function _e(e,t){if(isNaN(e)||isNaN(t))return NaN;const n=(t%12+12)%12;return 1===n?ye(e+(t-n)/12)?29:28:31-n%7%2}const Ce={year:0,month:0,day:0,hour:0,minute:0,seconds:0};function De(e,t){const n=Object.assign({},Ce,t),i=e.getFullYear()+(n.year||0),r=e.getMonth()+(n.month||0);let a=e.getDate()+(n.day||0);return n.month&&!n.day&&(a=Math.min(a,_e(i,r))),k(i,r,a,e.getHours()+(n.hour||0),e.getMinutes()+(n.minute||0),e.getSeconds()+(n.seconds||0))}function Me(e,t){return f(t)?t:e}function xe(e,t,n){const i=Math.min(U(e),_e(N(e),t));return n?e.setUTCMonth(t,i):e.setMonth(t,i),e}function Pe(e,t,n){return n?e.setUTCDate(t):e.setDate(t),e}function Se(e){return new Date(e.getTime())}function Be(e,t,n){const i=Se(e);switch(t){case"year":xe(i,0,n);case"quarter":case"month":Pe(i,1,n);case"week":case"isoWeek":case"day":case"date":!function(e,t,n){n?e.setUTCHours(0):e.setHours(0)}(i,0,n);case"hours":!function(e,t,n){n?e.setUTCMinutes(0):e.setMinutes(0)}(i,0,n);case"minutes":!function(e,t,n){n?e.setUTCSeconds(0):e.setSeconds(0)}(i,0,n);case"seconds":!function(e,t,n){n?e.setUTCMilliseconds(0):e.setMilliseconds(0)}(i,0,n)}return"week"===t&&function(e,t,n={}){Rt(e,0-Xt(e,n.locale,n.isUTC),"day")}(i,0,{isUTC:n}),"isoWeek"===t&&function(e,t,n={}){const i=function(e,t=at()){return h(e)?t.weekdaysParse(e)%7||7:f(e)&&isNaN(e)?null:e}(1,n.locale);Wt(e,function(e,t){return E(e,t)}(e)%7?i:i-7)}(i),"quarter"===t&&xe(i,3*Math.floor(Z(i,n)/3),n),i}function Ie(e,t,n){let i=t;return"date"===i&&(i="day"),function(e,t,n,i){return Gt(e,Nt(1,"milliseconds"),-1,i)}(Rt(Be(e,i,n),1,"isoWeek"===i?"week":i,n),0,0,n)}function He(e,t){const n=+Be(e,"day",t),i=+Be(e,"year",t);return Math.round((n-i)/864e5)+1}function Te(e,t,n){const i=t-n+7;return-(T(e,0,i).getUTCDay()-t+7)%7+i-1}function ke(e,t,n,i){const r=Te(N(e,i),t,n),a=Math.floor((He(e,i)-r-1)/7)+1;let o,s;return a<1?(s=N(e,i)-1,o=a+Le(s,t,n)):a>Le(N(e,i),t,n)?(o=a-Le(N(e,i),t,n),s=N(e,i)+1):(s=N(e,i),o=a),{week:o,year:s}}function Le(e,t,n){const i=Te(e,t,n),r=Te(e+1,t,n);return(we(e)-i+r)/7}const Fe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Oe="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ve="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ee="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ue="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ne={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"},je=oe,Qe=oe;class Re{constructor(e){e&&this.set(e)}set(e){let t;for(t in e){if(!e.hasOwnProperty(t))continue;const n=e[t];this[g(n)?t:`_${t}`]=n}this._config=e}calendar(e,t,n){const i=this._calendar[e]||this._calendar.sameElse;return g(i)?i.call(null,t,n):i}longDateFormat(e){const t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,(function(e){return e.slice(1)})),this._longDateFormat[e])}get invalidDate(){return this._invalidDate}set invalidDate(e){this._invalidDate=e}ordinal(e,t){return this._ordinal.replace("%d",e.toString(10))}preparse(e){return e}getFullYear(e,t=!1){return N(e,t)}postformat(e){return e}relativeTime(e,t,n,i){const r=this._relativeTime[n];return g(r)?r(e,t,n,i):r.replace(/%d/i,e.toString(10))}pastFuture(e,t){const n=this._relativeTime[e>0?"future":"past"];return g(n)?n(t):n.replace(/%s/i,t)}months(e,t,n=!1){if(!e)return b(this._months)?this._months:this._months.standalone;if(b(this._months))return this._months[Z(e,n)];const i=(this._months.isFormat||Fe).test(t)?"format":"standalone";return this._months[i][Z(e,n)]}monthsShort(e,t,n=!1){if(!e)return b(this._monthsShort)?this._monthsShort:this._monthsShort.standalone;if(b(this._monthsShort))return this._monthsShort[Z(e,n)];const i=Fe.test(t)?"format":"standalone";return this._monthsShort[i][Z(e,n)]}monthsParse(e,t,n){let i,r,a;if(this._monthsParseExact)return this.handleMonthStrictParse(e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),a=0;a<12;a++){if(i=new Date(Date.UTC(2e3,a)),n&&!this._longMonthsParse[a]){const e=this.months(i,"",!0).replace(".",""),t=this.monthsShort(i,"",!0).replace(".","");this._longMonthsParse[a]=new RegExp(`^${e}$`,"i"),this._shortMonthsParse[a]=new RegExp(`^${t}$`,"i")}if(n||this._monthsParse[a]||(r=`^${this.months(i,"",!0)}|^${this.monthsShort(i,"",!0)}`,this._monthsParse[a]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[a].test(e))return a;if(n&&"MMM"===t&&this._shortMonthsParse[a].test(e))return a;if(!n&&this._monthsParse[a].test(e))return a}}monthsRegex(e){return this._monthsParseExact?(v(this,"_monthsRegex")||this.computeMonthsParse(),e?this._monthsStrictRegex:this._monthsRegex):(v(this,"_monthsRegex")||(this._monthsRegex=Qe),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}monthsShortRegex(e){return this._monthsParseExact?(v(this,"_monthsRegex")||this.computeMonthsParse(),e?this._monthsShortStrictRegex:this._monthsShortRegex):(v(this,"_monthsShortRegex")||(this._monthsShortRegex=je),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}week(e,t){return ke(e,this._week.dow,this._week.doy,t).week}firstDayOfWeek(){return this._week.dow}firstDayOfYear(){return this._week.doy}weekdays(e,t,n){if(!e)return b(this._weekdays)?this._weekdays:this._weekdays.standalone;if(b(this._weekdays))return this._weekdays[E(e,n)];const i=this._weekdays.isFormat.test(t)?"format":"standalone";return this._weekdays[i][E(e,n)]}weekdaysMin(e,t,n){return e?this._weekdaysMin[E(e,n)]:this._weekdaysMin}weekdaysShort(e,t,n){return e?this._weekdaysShort[E(e,n)]:this._weekdaysShort}weekdaysParse(e,t,n){let i,r;if(this._weekdaysParseExact)return this.handleWeekStrictParse(e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){const a=Wt(new Date(Date.UTC(2e3,1)),i,null,!0);if(n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp(`^${this.weekdays(a,"",!0).replace(".",".?")}$`,"i"),this._shortWeekdaysParse[i]=new RegExp(`^${this.weekdaysShort(a,"",!0).replace(".",".?")}$`,"i"),this._minWeekdaysParse[i]=new RegExp(`^${this.weekdaysMin(a,"",!0).replace(".",".?")}$`,"i")),this._weekdaysParse[i]||(r=`^${this.weekdays(a,"",!0)}|^${this.weekdaysShort(a,"",!0)}|^${this.weekdaysMin(a,"",!0)}`,this._weekdaysParse[i]=new RegExp(r.replace(".",""),"i")),!(b(this._fullWeekdaysParse)&&b(this._shortWeekdaysParse)&&b(this._minWeekdaysParse)&&b(this._weekdaysParse)))return;if(n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}}weekdaysRegex(e){return this._weekdaysParseExact?(v(this,"_weekdaysRegex")||this.computeWeekdaysParse(),e?this._weekdaysStrictRegex:this._weekdaysRegex):(v(this,"_weekdaysRegex")||(this._weekdaysRegex=oe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}weekdaysShortRegex(e){return this._weekdaysParseExact?(v(this,"_weekdaysRegex")||this.computeWeekdaysParse(),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(v(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=oe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}weekdaysMinRegex(e){return this._weekdaysParseExact?(v(this,"_weekdaysRegex")||this.computeWeekdaysParse(),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(v(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=oe),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}isPM(e){return"p"===e.toLowerCase().charAt(0)}meridiem(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}formatLongDate(e){this._longDateFormat=this._longDateFormat?this._longDateFormat:Ne;const t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,e=>e.slice(1)),this._longDateFormat[e])}handleMonthStrictParse(e,t,n){const i=e.toLocaleLowerCase();let r,a,o;if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=new Date(2e3,r),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?(a=this._shortMonthsParse.indexOf(i),-1!==a?a:null):(a=this._longMonthsParse.indexOf(i),-1!==a?a:null):"MMM"===t?(a=this._shortMonthsParse.indexOf(i),-1!==a?a:(a=this._longMonthsParse.indexOf(i),-1!==a?a:null)):(a=this._longMonthsParse.indexOf(i),-1!==a?a:(a=this._shortMonthsParse.indexOf(i),-1!==a?a:null))}handleWeekStrictParse(e,t,n){let i;const r=e.toLocaleLowerCase();if(!this._weekdaysParse){let e;for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],e=0;e<7;++e){const t=Wt(new Date(Date.UTC(2e3,1)),e,null,!0);this._minWeekdaysParse[e]=this.weekdaysMin(t).toLocaleLowerCase(),this._shortWeekdaysParse[e]=this.weekdaysShort(t).toLocaleLowerCase(),this._weekdaysParse[e]=this.weekdays(t,"").toLocaleLowerCase()}}if(b(this._weekdaysParse)&&b(this._shortWeekdaysParse)&&b(this._minWeekdaysParse))return n?"dddd"===t?(i=this._weekdaysParse.indexOf(r),-1!==i?i:null):"ddd"===t?(i=this._shortWeekdaysParse.indexOf(r),-1!==i?i:null):(i=this._minWeekdaysParse.indexOf(r),-1!==i?i:null):"dddd"===t?(i=this._weekdaysParse.indexOf(r),-1!==i?i:(i=this._shortWeekdaysParse.indexOf(r),-1!==i?i:(i=this._minWeekdaysParse.indexOf(r),-1!==i?i:null))):"ddd"===t?(i=this._shortWeekdaysParse.indexOf(r),-1!==i?i:(i=this._weekdaysParse.indexOf(r),-1!==i?i:(i=this._minWeekdaysParse.indexOf(r),-1!==i?i:null))):(i=this._minWeekdaysParse.indexOf(r),-1!==i?i:(i=this._weekdaysParse.indexOf(r),-1!==i?i:(i=this._shortWeekdaysParse.indexOf(r),-1!==i?i:null)))}computeMonthsParse(){const e=[],t=[],n=[];let i,r;for(r=0;r<12;r++)i=new Date(2e3,r),e.push(this.monthsShort(i,"")),t.push(this.months(i,"")),n.push(this.months(i,"")),n.push(this.monthsShort(i,""));for(e.sort(Ge),t.sort(Ge),n.sort(Ge),r=0;r<12;r++)e[r]=ue(e[r]),t[r]=ue(t[r]);for(r=0;r<24;r++)n[r]=ue(n[r]);this._monthsRegex=new RegExp(`^(${n.join("|")})`,"i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp(`^(${t.join("|")})`,"i"),this._monthsShortStrictRegex=new RegExp(`^(${e.join("|")})`,"i")}computeWeekdaysParse(){const e=[],t=[],n=[],i=[];let r;for(r=0;r<7;r++){const a=Wt(new Date(Date.UTC(2e3,1)),r,null,!0),o=this.weekdaysMin(a),s=this.weekdaysShort(a),c=this.weekdays(a);e.push(o),t.push(s),n.push(c),i.push(o),i.push(s),i.push(c)}for(e.sort(Ge),t.sort(Ge),n.sort(Ge),i.sort(Ge),r=0;r<7;r++)t[r]=ue(t[r]),n[r]=ue(n[r]),i[r]=ue(i[r]);this._weekdaysRegex=new RegExp(`^(${i.join("|")})`,"i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp(`^(${n.join("|")})`,"i"),this._weekdaysShortStrictRegex=new RegExp(`^(${t.join("|")})`,"i"),this._weekdaysMinStrictRegex=new RegExp(`^(${e.join("|")})`,"i")}}function Ge(e,t){return t.length-e.length}const We={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:Ne,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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Oe,monthsShort:Ve,week:{dow:0,doy:6},weekdays:Ee,weekdaysMin:Ze,weekdaysShort:Ue,meridiemParse:/[ap]\.?m?\.?/i};function Xe(e,t,n){const i=Math.min(e.length,t.length),r=Math.abs(e.length-t.length);let a,o=0;for(a=0;a0;){if(r=a.slice(0,o).join("-"),tt[r]||console.error(`Khronos locale error: please load locale "${r}" before using it`),n=tt[r],n)return n;if(t&&t.length>=o&&Xe(a,t,!0)>=o-1)break;o--}i++}var r;return null}(b(e)?e:[e]):it}const ot=["year","quarter","month","week","day","hours","minutes","seconds","milliseconds"],st=ot.reduce((e,t)=>(e[t]=!0,e),{});function ct(e){return e<0?Math.floor(e):Math.ceil(e)}function lt(e){return 4800*e/146097}function ut(e){return 146097*e/4800}let dt=Math.round;function At(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}class ht{constructor(e,t={}){this._data={},this._locale=at(),this._locale=t&&t._locale||at();const n=e.year||0,i=e.quarter||0,r=e.month||0,a=e.week||0,o=e.day||0,s=e.hours||0,c=e.minutes||0,l=e.seconds||0,u=e.milliseconds||0;return this._isValid=function(e){if(Object.keys(e).some(t=>t in st&&null===e[t]||isNaN(e[t])))return!1;let t=!1;for(let n=0;n=0&&n>=0&&i>=0||t<=0&&n<=0&&i<=0||(t+=864e5*ct(ut(i)+n),n=0,i=0),r.milliseconds=t%1e3;const a=A(t/1e3);r.seconds=a%60;const o=A(a/60);r.minutes=o%60;const s=A(o/60);r.hours=s%24,n+=A(s/24);const c=A(lt(n));i+=c,n-=ct(ut(c));const l=A(i/12);return i%=12,r.day=n,r.month=i,r.year=l,e}(this)}isValid(){return this._isValid}humanize(e){if(!this.isValid())return this.localeData().invalidDate;const t=this.localeData();let n=function(e,t,n){const i=Nt(e).abs(),r=dt(i.as("s")),a=dt(i.as("m")),o=dt(i.as("h")),s=dt(i.as("d")),c=dt(i.as("M")),l=dt(i.as("y")),u=r<=44&&["s",r]||r<45&&["ss",r]||a<=1&&["m"]||a<45&&["mm",a]||o<=1&&["h"]||o<22&&["hh",o]||s<=1&&["d"]||s<26&&["dd",s]||c<=1&&["M"]||c<11&&["MM",c]||l<=1&&["y"]||["yy",l];return At.apply(null,[u[0],u[1],t,+e>0,n])}(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}localeData(){return this._locale}locale(e){return e?(this._locale=at(e)||this._locale,this):this._locale._abbr}abs(){const e=Math.abs,t=this._data;return this._milliseconds=e(this._milliseconds),this._days=e(this._days),this._months=e(this._months),t.milliseconds=e(t.milliseconds),t.seconds=e(t.seconds),t.minutes=e(t.minutes),t.hours=e(t.hours),t.month=e(t.month),t.year=e(t.year),this}as(e){if(!this.isValid())return NaN;let t,n;const i=this._milliseconds,r=x(e);if("month"===r||"year"===r)return t=this._days+i/864e5,n=this._months+lt(t),"month"===r?n:n/12;switch(t=this._days+Math.round(ut(this._months)),r){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hours":return 24*t+i/36e5;case"minutes":return 1440*t+i/6e4;case"seconds":return 86400*t+i/1e3;case"milliseconds":return Math.floor(864e5*t)+i;default:throw new Error(`Unknown unit ${r}`)}}valueOf(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*_(this._months/12):NaN}}function mt(e){if(null==e._isValid){const t=fe(e),n=Array.prototype.some.call(t.parsedDateParts,(function(e){return null!=e}));let i=!isNaN(e._d&&e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function pt(e,t){return e._d=new Date(NaN),Object.assign(fe(e),t||{userInvalidated:!0}),e}const gt=/^\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)?)?$/,ft=/^\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)?)?$/,bt=/Z|[+-]\d\d(?::?\d\d)?/,vt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/,!0],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/,!0],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/,!0],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/,!0],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/,!0],["YYYYMMDD",/\d{8}/,!0],["GGGG[W]WWE",/\d{4}W\d{3}/,!0],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/,!0]],wt=[["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/]],yt=/^\/?Date\((\-?\d+)/i,_t={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480},Ct=/^(?:(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}))$/;function Dt(e){if(!h(e._i))return e;const t=e._i,n=gt.exec(t)||ft.exec(t);let i,r,a,o,s,c;if(!n)return e._isValid=!1,e;for(s=0,c=vt.length;st.formatLongDate(e)||e;for(r.lastIndex=0;i>=0&&r.test(n);)n=n.replace(r,a),r.lastIndex=0,i-=1;return n}function Bt(e,t,n){return null!=e?e:null!=t?t:n}function It(e){const t=[];let n,i,r,a,o;if(e._d)return e;for(r=function(e){const t=new Date;return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){let t,n,i,r,a,o,s,c;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)a=1,o=4,n=Bt(t.GG,e._a[0],ke(new Date,1,4).year),i=Bt(t.W,1),r=Bt(t.E,1),(r<1||r>7)&&(c=!0);else{a=e._locale._week.dow,o=e._locale._week.doy;const s=ke(new Date,a,o);n=Bt(t.gg,e._a[0],s.year),i=Bt(t.w,s.week),null!=t.d?(r=t.d,(r<0||r>6)&&(c=!0)):null!=t.e?(r=t.e+a,(t.e<0||t.e>6)&&(c=!0)):r=a}i<1||i>Le(n,a,o)?fe(e)._overflowWeeks=!0:null!=c?fe(e)._overflowWeekday=!0:(s=function(e,t,n,i,r){const a=1+7*(t-1)+(7+n-i)%7+Te(e,i,r);let o,s;return a<=0?(o=e-1,s=we(o)+a):a>we(e)?(o=e+1,s=a-we(e)):(o=e,s=a),{year:o,dayOfYear:s}}(n,i,r,a,o),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(o=Bt(e._a[0],r[0]),(e._dayOfYear>we(o)||0===e._dayOfYear)&&(fe(e)._overflowDayOfYear=!0),i=new Date(Date.UTC(o,0,e._dayOfYear)),e._a[1]=i.getUTCMonth(),e._a[2]=i.getUTCDate()),n=0;n<3&&null==e._a[n];++n)e._a[n]=t[n]=r[n];for(;n<7;n++)e._a[n]=t[n]=null==e._a[n]?2===n?1:0:e._a[n];return 24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?T:k).apply(null,t),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==a&&(fe(e).weekdayMismatch=!0),e}function Ht(e){let t;const n=e._a;return n&&-2===fe(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>_e(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,fe(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),fe(e)._overflowWeeks&&-1===t&&(t=7),fe(e)._overflowWeekday&&-1===t&&(t=8),fe(e).overflow=t),e}function Tt(e){if("ISO_8601"===e._f)return Dt(e);if("RFC_2822"===e._f)return xt(e);if(e._a=[],fe(e).empty=!0,b(e._f)||!e._i&&0!==e._i)return e;let t=e._i.toString(),n=0;const i=t.length,r=St(e._f,e._locale).match(I)||[];let a,o,s,c;for(a=0;a0&&fe(e).unusedInput.push(c),t=t.slice(t.indexOf(s)+s.length),n+=s.length),B[o]?(s?fe(e).empty=!1:fe(e).unusedTokens.push(o),me(o,s,e)):e._strict&&!s&&fe(e).unusedTokens.push(o);return fe(e).charsLeftOver=i-n,t.length>0&&fe(e).unusedInput.push(t),e._a[3]<=12&&!0===fe(e).bigHour&&e._a[3]>0&&(fe(e).bigHour=void 0),fe(e).parsedDateParts=e._a.slice(0),fe(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){let i=t;if(null==n)return i;if(null!=e.meridiemHour)return e.meridiemHour(i,n);if(null==e.isPM)return i;const r=e.isPM(n);return r&&i<12&&(i+=12),r||12!==i||(i=0),i}(e._locale,e._a[3],e._meridiem),It(e),Ht(e)}function kt(e,t,n,i,r){return m(e)?e:function(e,t,n,i,r){const a={};let o=e;return(w(o)&&function(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;let t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}(o)||b(o)&&0===o.length)&&(o=void 0),a._useUTC=a._isUTC=r,a._l=n,a._i=o,a._f=t,a._strict=i,function(e){const t=Ht(function(e){let t=e._i;const n=e._f;return e._locale=e._locale||at(e._l),null===t||void 0===n&&""===t?pt(e,{nullInput:!0}):(h(t)&&(e._i=t=e._locale.preparse(t)),m(t)?(e._d=Se(t),e):(b(n)?function(e){let t,n,i,r,a;if(!e._f||0===e._f.length)return fe(e).invalidFormat=!0,pt(e);for(a=0;ah(e)?parseInt(e,10):e),It(e)}else if(w(t))!function(e){if(e._d)return e;const t=e._i;if(w(t)){const n=function(e){const t={};let n,i;for(i in e)v(e,i)&&(n=x(i),n&&(t[n]=e[i]));return t}(t);e._a=[n.year,n.month,n.day,n.hours,n.minutes,n.seconds,n.milliseconds].map(e=>h(e)?parseInt(e,10):e)}It(e)}(e);else{if(!f(t))return pt(e);e._d=new Date(t)}}(e),mt(e)||(e._d=null),e))}(e));return t._d=new Date(null!=t._d?t._d.getTime():NaN),mt(Object.assign({},t,{_isValid:null}))||(t._d=new Date(NaN)),t}(a)}(e,t,n,i,r)._d}function Lt(e){return e instanceof Date?new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()):null}function Ft(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ot(e,t,n="milliseconds"){return!(!e||!t)&&("milliseconds"===n?e.valueOf()>t.valueOf():t.valueOf()=3&&e%100<=10?3:e%100>=11?4:5},Kt={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"]},qt=function(e){return function(t,n){const i=zt(t);let r=Kt[e][zt(t)];return 2===i&&(r=r[n?0:1]),r.replace(/%d/i,t.toString())}};"\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("_"),"\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("_"),"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),qt("s"),qt("s"),qt("m"),qt("m"),qt("h"),qt("h"),qt("d"),qt("d"),qt("M"),qt("M"),qt("y"),qt("y"),"\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("_"),"\u044f\u043d\u0440_\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("_"),"\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("_"),"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),"gen._feb._mar._abr._mai._jun._jul._ago._set._oct._nov._des.".split("_"),"ene_feb_mar_abr_mai_jun_jul_ago_set_oct_nov_des".split("_"),"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),"diu._dil._dim._dix._dij._div._dis.".split("_"),"dg_dl_dt_dc_dj_dv_ds".split("_");const Yt="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),$t="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_");function Jt(e){return function(t){return e+"\u043e"+(11===L(t)?"\u0431":"")+"] LT"}}(function(e,t){let n,i=[];for(n=0;n<12;n++)i[n]=new RegExp("^"+e[n]+"$|^"+t[n]+"$","i")})(Yt,$t),function(e){let t,n=[];for(t=0;t<12;t++)n[t]=new RegExp("^"+e[t]+"$","i")}($t),function(e){let t,n=[];for(t=0;t<12;t++)n[t]=new RegExp("^"+e[t]+"$","i")}(Yt),"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),"Januar_Februar_Marts_April_Maj_Juni_Juli_August_September_Oktober_November_December".split("_"),"Jan_Feb_Mar_Apr_Maj_Jun_Jul_Aug_Sep_Okt_Nov_Dec".split("_"),"S\xf8ndag_Mandag_Tirsdag_Onsdag_Torsdag_Fredag_L\xf8rdag".split("_"),"S\xf8n_Man_Tir_Ons_Tor_Fre_L\xf8r".split("_"),"S\xf8_Ma_Ti_On_To_Fr_L\xf8".split("_"),"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),"do_lu_ma_mi_ju_vi_s\xe1".split("_"),"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),"do_lu_ma_mi_ju_vi_s\xe1".split("_"),"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),"do_lu_ma_mi_ju_vi_s\xe1".split("_"),"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),"P_E_T_K_N_R_L".split("_"),"P_E_T_K_N_R_L".split("_"),"nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),"su_ma_ti_ke_to_pe_la".split("_"),"su_ma_ti_ke_to_pe_la".split("_"),"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),"dim._lun._mar._mer._jeu._ven._sam.".split("_"),"di_lu_ma_me_je_ve_sa".split("_"),"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),"xan_feb_mar_abr_mai_xu\xf1_xul_ago_set_out_nov_dec".split("_"),"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),"\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("_"),"\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("_"),"\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("_"),"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),"\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("_"),"\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("_"),"\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("_"),"\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("_"),"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),"vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" "),"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),"jan_feb_m\xe1rc_\xe1pr_m\xe1j_j\xfan_j\xfal_aug_szept_okt_nov_dec".split("_"),"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),"v_h_k_sze_cs_p_szo".split("_"),"Sije\u010danj_Velja\u010da_O\u017eujak_Travanj_Svibanj_Lipanj_Srpanj_Kolovoz_Rujan_Listopad_Studeni_Prosinac".split("_"),"Sij_Velj_O\u017eu_Tra_Svi_Lip_Srp_Kol_Ruj_Lis_Stu_Pro".split("_"),"Nedjelja_Ponedjeljak_Utorak_Srijeda_\u010cetvrtak_Petak_Subota".split("_"),"Ned_Pon_Uto_Sri_\u010cet_Pet_Sub".split("_"),"Ne_Po_Ut_Sr_\u010ce_Pe_Su".split("_"),"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),"dom_lun_mar_mer_gio_ven_sab".split("_"),"do_lu_ma_me_gi_ve_sa".split("_"),"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("_"),"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("_"),"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10e1_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10e1_\u10db\u10d0\u10e0\u10e2\u10e1_\u10d0\u10de\u10e0\u10d8\u10da\u10d8\u10e1_\u10db\u10d0\u10d8\u10e1\u10e1_\u10d8\u10d5\u10dc\u10d8\u10e1\u10e1_\u10d8\u10d5\u10da\u10d8\u10e1\u10e1_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10e1_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10e1_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10e1".split("_"),"\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("_"),"\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("_"),"\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("_"),"\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("_"),"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),"\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("_"),"\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("_"),"\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("_"),"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),"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("_"),"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("_"),"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),"S_P_A_T_K_Pn_\u0160".split("_"),"Janv\u0101ris_Febru\u0101ris_Marts_Apr\u012blis_Maijs_J\u016bnijs_J\u016blijs_Augusts_Septembris_Oktobris_Novembris_Decembris".split("_"),"Jan_Feb_Mar_Apr_Mai_J\u016bn_J\u016bl_Aug_Sep_Okt_Nov_Dec".split("_"),"Sv\u0113tdiena_Pirmdiena_Otrdiena_Tre\u0161diena_Ceturtdiena_Piektdiena_Sestdiena".split("_"),"Sv\u0113td_Pirmd_Otrd_Tre\u0161d_Ceturtd_Piektd_Sestd".split("_"),"Sv_Pi_Ot_Tr_Ce_Pk_Se".split("_"),"\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("_"),"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("_"),"\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("_"),"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),"jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),"zo._ma._di._wo._do._vr._za.".split("_"),"zo_ma_di_wo_do_vr_za".split("_"),"jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),"zo._ma._di._wo._do._vr._za.".split("_"),"zo_ma_di_wo_do_vr_za".split("_"),"stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),"stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),"Janeiro_Fevereiro_Mar\xe7o_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),"\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("_"),"\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("_"),"\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("_"),"\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("_"),"\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("_"),"\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("_"),"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),"janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),"jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_"),"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),"ne_po_ut_st_\u0161t_pi_so".split("_"),"ne_po_ut_st_\u0161t_pi_so".split("_"),"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),"ne_po_to_sr_\u010de_pe_so".split("_"),"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),"E Diel\xeb_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),"Di_He_Ma_Me_En_Pr_Sh".split("_"),"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),"\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("_"),"\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("_"),"\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("_"),"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),"\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("_"),"\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("_"),"\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("_"),"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),"\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("_"),"\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("_"),"\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("_"),"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),Jt("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),Jt("[\u0417\u0430\u0432\u0442\u0440\u0430 "),Jt("[\u0412\u0447\u043e\u0440\u0430 "),Jt("[\u0423] dddd ["),"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("_"),"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),"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("_"),"CN_T2_T3_T4_T5_T6_T7".split("_"),"CN_T2_T3_T4_T5_T6_T7".split("_"),"\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("_"),"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("_"),"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_");var en=n("2Vo4"),tn=n("XNiG"),nn=n("qgXg"),rn=n("HDdC"),an=n("pxpQ"),on=n("Kqap"),sn=n("7o/Q");class cn{constructor(e,t){this.compare=e,this.keySelector=t}call(e,t){return t.subscribe(new ln(e,this.compare,this.keySelector))}}class ln extends sn.a{constructor(e,t,n){super(e),this.keySelector=n,this.hasKey=!1,"function"==typeof t&&(this.compare=t)}compare(e,t){return e===t}_next(e){let t;try{const{keySelector:n}=this;t=n?n(e):e}catch(i){return this.destination.error(i)}let n=!1;if(this.hasKey)try{const{compare:e}=this;n=e(this.key,t)}catch(i){return this.destination.error(i)}else this.hasKey=!0;n||(this.key=t,this.destination.next(e))}}class un extends en.a{constructor(e,t,n){super(e),t.pipe(Object(an.b)(nn.a)).pipe(Object(on.a)((e,t)=>t?n(e,t):e,e)).subscribe(e=>this.next(e))}}class dn extends rn.a{constructor(e,t,n){super(),this._dispatcher=e,this._reducer=t,this.source=n}select(e){return this.source.pipe(Object(a.a)(e)).pipe(e=>e.lift(new cn(void 0,void 0)))}lift(e){const t=new dn(this._dispatcher,this._reducer,this);return t.operator=e,t}dispatch(e){this._dispatcher.next(e)}next(e){this._dispatcher.next(e)}error(e){this._dispatcher.error(e)}complete(){}}var An=n("ofXK"),hn=n("VRyK"),mn=n("DH7j"),pn=n("n6bG");function gn(e,t,n,i){return Object(pn.a)(n)&&(i=n,n=void 0),i?gn(e,t,n).pipe(Object(a.a)(e=>Object(mn.a)(e)?i(...e):i(e))):new rn.a(i=>{!function e(t,n,i,r,a){let o;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(t)){const e=t;t.addEventListener(n,i,a),o=()=>e.removeEventListener(n,i,a)}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(t)){const e=t;t.on(n,i),o=()=>e.off(n,i)}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(t)){const e=t;t.addListener(n,i),o=()=>e.removeListener(n,i)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let o=0,s=t.length;o1?Array.prototype.slice.call(arguments):e)}),i,n)})}var fn=n("LRne"),bn=n("3N8a");class vn extends bn.a{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,n=0){return null!==n&&n>0?super.requestAsyncId(e,t,n):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(()=>e.flush(null))))}recycleAsyncId(e,t,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(e,t,n);0===e.actions.length&&(cancelAnimationFrame(t),e.scheduled=void 0)}}var wn=n("IjjT");class yn extends wn.a{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let n,i=-1,r=t.length;e=e||t.shift();do{if(n=e.execute(e.state,e.delay))break}while(++iObject.assign({key:e},c[e],{area:jn(c[e])})).sort((e,t)=>t.area-e.area);let u=l.filter(({width:e,height:t})=>e>=n.clientWidth&&t>=n.clientHeight);u=u.filter(e=>r.some(t=>t===e.key));const d=u.length>0?u[0].key:l[0].key,A=e.split(" ")[1];return n.className=n.className.replace(/bs-tooltip-auto/g,`bs-tooltip-${d}`),d+(A?`-${A}`:"")}function Rn(e){const t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),i=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:Number(e.offsetWidth)+i,height:Number(e.offsetHeight)+n}}function Gn(e,t,n=null){return Un(t,n?Zn(e):Tn(e,t),n)}function Wn(e,t,n){const i=n.split(" ")[0],r=Rn(e),a={width:r.width,height:r.height},o=-1!==["right","left"].indexOf(i),s=o?"top":"left",c=o?"left":"top",l=o?"height":"width",u=o?"width":"height";return a[s]=t[s]+t[l]/2-r[l]/2,a[c]=i===c?t[c]-r[u]:t[function(e){const t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,e=>t[e])}(c)],a}function Xn(e,t){return e&&e.modifiers&&e.modifiers[t]&&e.modifiers[t].enabled}function zn(e,t,n){Object.keys(t).forEach(i=>{let r="";var a;-1!==["width","height","top","right","bottom","left"].indexOf(i)&&""!==(a=t[i])&&!isNaN(parseFloat(a))&&isFinite(a)&&(r="px"),n?n.setStyle(e,i,`${String(t[i])}${r}`):e.style[i]=String(t[i])+r})}function Kn(e){let t=e.offsets.target;const n=e.instance.target.querySelector(".arrow");if(!n)return e;const i=-1!==["left","right"].indexOf(e.placement.split(" ")[0]),r=i?"height":"width",a=i?"Top":"Left",o=a.toLowerCase(),s=i?"left":"top",c=i?"bottom":"right",l=Rn(n)[r],u=e.placement.split(" ")[1];e.offsets.host[c]-lt[c]&&(t[o]+=Number(e.offsets.host[o])+Number(l)-Number(t[c])),t=Vn(t);const d=Cn(e.instance.target),A=parseFloat(d[`margin${a}`]),h=parseFloat(d[`border${a}Width`]);let m;if(u){const t=parseFloat(d.borderRadius),n=Number(A+h+t);m=o===u?Number(e.offsets.host[o])+n:Number(e.offsets.host[o])+Number(e.offsets.host[r]-n)}else m=Number(e.offsets.host[o])+Number(e.offsets.host[r]/2-l/2);let p=m-t[o]-A-h;return p=Math.max(Math.min(t[r]-l,p),0),e.offsets.arrow={[o]:Math.round(p),[s]:""},e.instance.arrow=n,e}function qn(e){if(e.offsets.target=Vn(e.offsets.target),!Xn(e.options,"flip"))return e.offsets.target=Object.assign({},e.offsets.target,Wn(e.instance.target,e.offsets.host,e.placement)),e;const t=Nn(e.instance.target,e.instance.host,0,"viewport",!1);let n=e.placement.split(" ")[0],i=e.placement.split(" ")[1]||"";const r=Qn("auto",e.offsets.host,e.instance.target,e.instance.host,e.options.allowedPositions),a=[n,r];return a.forEach((r,o)=>{if(n!==r||a.length===o+1)return e;n=e.placement.split(" ")[0];const s="left"===n&&Math.floor(e.offsets.target.right)>Math.floor(e.offsets.host.left)||"right"===n&&Math.floor(e.offsets.target.left)Math.floor(e.offsets.host.top)||"bottom"===n&&Math.floor(e.offsets.target.top)Math.floor(t.right),u=Math.floor(e.offsets.target.top)Math.floor(t.bottom),A="left"===n&&c||"right"===n&&l||"top"===n&&u||"bottom"===n&&d,h=-1!==["top","bottom"].indexOf(n),m=h&&"left"===i&&c||h&&"right"===i&&l||!h&&"left"===i&&u||!h&&"right"===i&&d;(s||A||m)&&((s||A)&&(n=a[o+1]),m&&(i=function(e){return"right"===e?"left":"left"===e?"right":e}(i)),e.placement=n+(i?` ${i}`:""),e.offsets.target=Object.assign({},e.offsets.target,Wn(e.instance.target,e.offsets.host,e.placement)))}),e}function Yn(e){if(!Xn(e.options,"preventOverflow"))return e;const t="transform",n=e.instance.target.style,{top:i,left:r,[t]:a}=n;n.top="",n.left="",n[t]="";const o=Nn(e.instance.target,e.instance.host,0,"scrollParent",!1);n.top=i,n.left=r,n[t]=a;const s={primary(t){let n=e.offsets.target[t];return e.offsets.target[t]o[t]&&(i=Math.min(e.offsets.target[n],o[t]-("right"===t?e.offsets.target.width:e.offsets.target.height))),{[n]:i}}};let c;return["left","right","top","bottom"].forEach(t=>{c=-1!==["left","top"].indexOf(t)?"primary":"secondary",e.offsets.target=Object.assign({},e.offsets.target,s[c](t))}),e}function $n(e){const t=e.placement,n=t.split(" ")[0],i=t.split(" ")[1];if(i){const{host:t,target:r}=e.offsets,a=-1!==["bottom","top"].indexOf(n),o=a?"left":"top",s=a?"width":"height",c={start:{[o]:t[o]},end:{[o]:t[o]+t[s]-r[s]}};e.offsets.target=Object.assign({},r,{[o]:o===i?c.start[o]:c.end[o]})}return e}const Jn=new class{position(e,t,n=!0){return this.offset(e,t,!1)}offset(e,t,n=!0){return Gn(t,e)}positionElements(e,t,n,i,r){return[qn,$n,Yn,Kn].reduce((e,t)=>t(e),function(e,t,n,i){const r=Gn(e,t);n.match(/^(auto)*\s*(left|right|top|bottom)*$/)||n.match(/^(left|right|top|bottom)*(?: (left|right|top|bottom))?\s*(start|end)*$/)||(n="auto");const a=!!n.match(/auto/g);let o=n.match(/auto\s(left|right|top|bottom)/)?n.split(" ")[1]||"auto":n;const s=o.match(/^(left|right|top|bottom)* ?(?!\1)(left|right|top|bottom)?/);s&&(o=s[1]+(s[2]?` ${s[2]}`:"")),-1!==["left right","right left","top bottom","bottom top"].indexOf(o)&&(o="auto");const c=Wn(e,r,o);return o=Qn(o,r,e,t,i?i.allowedPositions:void 0),{options:i,instance:{target:e,host:t,arrow:null},offsets:{target:c,host:r,arrow:null},positionFixed:!1,placement:o,placementAuto:a}}(t,e,n,r))}};let ei=(()=>{class e{constructor(e,t,n){this.update$$=new tn.a,this.positionElements=new Map,this.isDisabled=!1,Object(An.w)(n)&&e.runOutsideAngular(()=>{this.triggerEvent$=Object(hn.a)(gn(window,"scroll",{passive:!0}),gn(window,"resize",{passive:!0}),Object(fn.a)(0,_n),this.update$$),this.triggerEvent$.subscribe(()=>{this.isDisabled||this.positionElements.forEach(e=>{!function(e,t,n,i,r,a){const o=Jn.positionElements(e,t,n,i,r),s=function(e){return{width:e.offsets.target.width,height:e.offsets.target.height,left:Math.floor(e.offsets.target.left),top:Math.round(e.offsets.target.top),bottom:Math.round(e.offsets.target.bottom),right:Math.floor(e.offsets.target.right)}}(o);zn(t,{"will-change":"transform",top:"0px",left:"0px",transform:`translate3d(${s.left}px, ${s.top}px, 0px)`},a),o.instance.arrow&&zn(o.instance.arrow,o.offsets.arrow,a),function(e,t){const n=e.instance.target;let i=n.className;e.placementAuto&&(i=i.replace(/bs-popover-auto/g,`bs-popover-${e.placement}`),i=i.replace(/bs-tooltip-auto/g,`bs-tooltip-${e.placement}`),i=i.replace(/\sauto/g,` ${e.placement}`),-1!==i.indexOf("popover")&&-1===i.indexOf("popover-auto")&&(i+=" popover-auto"),-1!==i.indexOf("tooltip")&&-1===i.indexOf("tooltip-auto")&&(i+=" tooltip-auto")),i=i.replace(/left|right|top|bottom/g,`${e.placement.split(" ")[0]}`),t?t.setAttribute(n,"class",i):n.className=i}(o,a)}(ti(e.target),ti(e.element),e.attachment,e.appendToBody,this.options,t.createRenderer(null,null))})})})}position(e){this.addPositionElement(e)}get event$(){return this.triggerEvent$}disable(){this.isDisabled=!0}enable(){this.isDisabled=!1}addPositionElement(e){this.positionElements.set(ti(e.element),e)}calcPosition(){this.update$$.next()}deletePositionElement(e){this.positionElements.delete(ti(e))}setOptions(e){this.options=e}}return e.\u0275fac=function(t){return new(t||e)(i.ec(i.E),i.ec(i.L),i.ec(i.H))},e.\u0275prov=i.Rb({token:e,factory:e.\u0275fac}),e})();function ti(e){return"string"==typeof e?document.querySelector(e):e instanceof i.o?e.nativeElement:e}var ni=n("R0Ic");class ii{constructor(e,t){this.open=e,this.close=t||e}isManual(){return"manual"===this.open||"manual"===this.close}}const ri={hover:["mouseover","mouseout"],focus:["focusin","focusout"]},ai="undefined"!=typeof window&&window||{};let oi;function si(){return void 0===ai||(void 0===ai.__theme?oi?"bs3"===oi:(oi=function(){if("undefined"==typeof document)return null;const e=document.createElement("span");e.innerText="test bs version",document.body.appendChild(e),e.classList.add("d-none");const t=e.getBoundingClientRect();return document.body.removeChild(e),t&&0===t.top?"bs4":"bs3"}(),"bs3"===oi):"bs4"!==ai.__theme)}"undefined"==typeof console||console;class ci{constructor(e,t,n){this.nodes=e,this.viewRef=t,this.componentRef=n}}class li{constructor(e,t,n,r,a,o,s,c){this._viewContainerRef=e,this._renderer=t,this._elementRef=n,this._injector=r,this._componentFactoryResolver=a,this._ngZone=o,this._applicationRef=s,this._posService=c,this.onBeforeShow=new i.q,this.onShown=new i.q,this.onBeforeHide=new i.q,this.onHidden=new i.q,this._providers=[],this._isHiding=!1,this.containerDefaultSelector="body",this._listenOpts={},this._globalListener=Function.prototype}get isShown(){return!this._isHiding&&!!this._componentRef}attach(e){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(e),this}to(e){return this.container=e||this.container,this}position(e){return this.attachment=e.attachment||this.attachment,this._elementRef=e.target||this._elementRef,this}provide(e){return this._providers.push(e),this}show(e={}){if(this._subscribePositioning(),this._innerComponent=null,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(e.content,e.context,e.initialState);const t=i.u.create({providers:this._providers,parent:this._injector});this._componentRef=this._componentFactory.create(t,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,e),this.container instanceof i.o&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"string"==typeof this.container&&"undefined"!=typeof document&&(document.querySelector(this.container)||document.querySelector(this.containerDefaultSelector)).appendChild(this._componentRef.location.nativeElement),!this.container&&this._elementRef&&this._elementRef.nativeElement.parentElement&&this._elementRef.nativeElement.parentElement.appendChild(this._componentRef.location.nativeElement),this._contentRef.componentRef&&(this._innerComponent=this._contentRef.componentRef.instance,this._contentRef.componentRef.changeDetectorRef.markForCheck(),this._contentRef.componentRef.changeDetectorRef.detectChanges()),this._componentRef.changeDetectorRef.markForCheck(),this._componentRef.changeDetectorRef.detectChanges(),this.onShown.emit(this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef}hide(){if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);const e=this._componentRef.location.nativeElement;return e.parentNode.removeChild(e),this._contentRef.componentRef&&this._contentRef.componentRef.destroy(),this._componentRef.destroy(),this._viewContainerRef&&this._contentRef.viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._contentRef=null,this._componentRef=null,this._removeGlobalListener(),this.onHidden.emit(),this}toggle(){this.isShown?this.hide():this.show()}dispose(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()}listen(e){this.triggers=e.triggers||this.triggers,this._listenOpts.outsideClick=e.outsideClick,this._listenOpts.outsideEsc=e.outsideEsc,e.target=e.target||this._elementRef.nativeElement;const t=this._listenOpts.hide=()=>e.hide?e.hide():void this.hide(),n=this._listenOpts.show=t=>{e.show?e.show(t):this.show(t),t()};return this._unregisterListenersFn=function(e,t){const n=function(e,t=ri){const n=(e||"").trim();if(0===n.length)return[];const i=n.split(/\s+/).map(e=>e.split(":")).map(e=>{const n=t[e[0]]||e;return new ii(n[0],n[1])}),r=i.filter(e=>e.isManual());if(r.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===r.length&&i.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return i}(t.triggers),i=t.target;if(1===n.length&&n[0].isManual())return Function.prototype;const r=[],a=[],o=()=>{a.forEach(e=>r.push(e())),a.length=0};return n.forEach(n=>{const s=n.open===n.close,c=s?t.toggle:t.show;s||a.push(()=>e.listen(i,n.close,t.hide)),r.push(e.listen(i,n.open,()=>c(o)))}),()=>{r.forEach(e=>e())}}(this._renderer,{target:e.target,triggers:e.triggers,show:n,hide:t,toggle:e=>{this.isShown?t():n(e)}}),this}_removeGlobalListener(){this._globalListener&&(this._globalListener(),this._globalListener=null)}attachInline(e,t){return this._inlineViewRef=e.createEmbeddedView(t),this}_registerOutsideClick(){if(this._componentRef&&this._componentRef.location){if(this._listenOpts.outsideClick){const e=this._componentRef.location.nativeElement;setTimeout(()=>{var t;this._globalListener=(t={targets:[e,this._elementRef.nativeElement],outsideClick:this._listenOpts.outsideClick,hide:()=>this._listenOpts.hide()}).outsideClick?this._renderer.listen("document","click",e=>{t.target&&t.target.contains(e.target)||t.targets&&t.targets.some(t=>t.contains(e.target))||t.hide()}):Function.prototype})}var e;this._listenOpts.outsideEsc&&(this._globalListener=(e={targets:[this._componentRef.location.nativeElement,this._elementRef.nativeElement],outsideEsc:this._listenOpts.outsideEsc,hide:()=>this._listenOpts.hide()}).outsideEsc?this._renderer.listen("document","keyup.esc",t=>{e.target&&e.target.contains(t.target)||e.targets&&e.targets.some(e=>e.contains(t.target))||e.hide()}):Function.prototype)}}getInnerComponent(){return this._innerComponent}_subscribePositioning(){!this._zoneSubscription&&this.attachment&&(this.onShown.subscribe(()=>{this._posService.position({element:this._componentRef.location,target:this._elementRef,attachment:this.attachment,appendToBody:"body"===this.container})}),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>{this._componentRef&&this._posService.calcPosition()}))}_unsubscribePositioning(){this._zoneSubscription&&(this._zoneSubscription.unsubscribe(),this._zoneSubscription=null)}_getContentRef(e,t,n){if(!e)return new ci([]);if(e instanceof i.R){if(this._viewContainerRef){const n=this._viewContainerRef.createEmbeddedView(e,t);return n.markForCheck(),new ci([n.rootNodes],n)}const n=e.createEmbeddedView({});return this._applicationRef.attachView(n),new ci([n.rootNodes],n)}if("function"==typeof e){const t=this._componentFactoryResolver.resolveComponentFactory(e),r=i.u.create({providers:this._providers,parent:this._injector}),a=t.create(r);return Object.assign(a.instance,n),this._applicationRef.attachView(a.hostView),new ci([[a.location.nativeElement]],a.hostView,a)}return new ci([[this._renderer.createText(`${e}`)]])}}let ui=(()=>{class e{constructor(e,t,n,i,r){this._componentFactoryResolver=e,this._ngZone=t,this._injector=n,this._posService=i,this._applicationRef=r}createLoader(e,t,n){return new li(t,n,e,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService)}}return e.\u0275fac=function(t){return new(t||e)(i.ec(i.l),i.ec(i.E),i.ec(i.u),i.ec(ei),i.ec(i.g))},e.\u0275prov=i.Rb({token:e,factory:e.\u0275fac}),e})();var di=n("3Pt+");function Ai(e,t){if(1&e){const e=i.bc();i.ac(0,"bs-days-calendar-view",9),i.ic("onNavigate",(function(t){return i.Mc(e),i.mc(3).navigateTo(t)}))("onViewMode",(function(t){return i.Mc(e),i.mc(3).setViewMode(t)}))("onHover",(function(t){return i.Mc(e),i.mc(3).dayHoverHandler(t)}))("onHoverWeek",(function(t){return i.Mc(e),i.mc(3).weekHoverHandler(t)}))("onSelect",(function(t){return i.Mc(e),i.mc(3).daySelectHandler(t)})),i.nc(1,"async"),i.nc(2,"async"),i.Zb()}if(2&e){const e=t.$implicit,r=i.mc(3);var n;const a=(null==(n=i.oc(1,4,r.daysCalendar))?null:n.length)>1;i.Mb("bs-datepicker-multiple",a),i.tc("calendar",e)("options",i.oc(2,6,r.options))}}function hi(e,t){if(1&e&&(i.ac(0,"div",7),i.Tc(1,Ai,3,8,"bs-days-calendar-view",8),i.nc(2,"async"),i.Zb()),2&e){const e=i.mc(2);i.Hb(1),i.tc("ngForOf",i.oc(2,1,e.daysCalendar))}}function mi(e,t){if(1&e){const e=i.bc();i.ac(0,"bs-month-calendar-view",11),i.ic("onNavigate",(function(t){return i.Mc(e),i.mc(3).navigateTo(t)}))("onViewMode",(function(t){return i.Mc(e),i.mc(3).setViewMode(t)}))("onHover",(function(t){return i.Mc(e),i.mc(3).monthHoverHandler(t)}))("onSelect",(function(t){return i.Mc(e),i.mc(3).monthSelectHandler(t)})),i.nc(1,"async"),i.Zb()}if(2&e){const e=t.$implicit,r=i.mc(3);var n;const a=(null==(n=i.oc(1,3,r.daysCalendar))?null:n.length)>1;i.Mb("bs-datepicker-multiple",a),i.tc("calendar",e)}}function pi(e,t){if(1&e&&(i.ac(0,"div",7),i.Tc(1,mi,2,5,"bs-month-calendar-view",10),i.nc(2,"async"),i.Zb()),2&e){const e=i.mc(2);i.Hb(1),i.tc("ngForOf",i.oc(2,1,e.monthsCalendar))}}function gi(e,t){if(1&e){const e=i.bc();i.ac(0,"bs-years-calendar-view",11),i.ic("onNavigate",(function(t){return i.Mc(e),i.mc(3).navigateTo(t)}))("onViewMode",(function(t){return i.Mc(e),i.mc(3).setViewMode(t)}))("onHover",(function(t){return i.Mc(e),i.mc(3).yearHoverHandler(t)}))("onSelect",(function(t){return i.Mc(e),i.mc(3).yearSelectHandler(t)})),i.nc(1,"async"),i.Zb()}if(2&e){const e=t.$implicit,r=i.mc(3);var n;const a=(null==(n=i.oc(1,3,r.daysCalendar))?null:n.length)>1;i.Mb("bs-datepicker-multiple",a),i.tc("calendar",e)}}function fi(e,t){if(1&e&&(i.ac(0,"div",7),i.Tc(1,gi,2,5,"bs-years-calendar-view",10),i.nc(2,"async"),i.Zb()),2&e){const e=i.mc(2);i.Hb(1),i.tc("ngForOf",i.oc(2,1,e.yearsCalendar))}}function bi(e,t){1&e&&(i.ac(0,"div",12),i.ac(1,"button",13),i.Vc(2,"Apply"),i.Zb(),i.ac(3,"button",14),i.Vc(4,"Cancel"),i.Zb(),i.Zb())}function vi(e,t){if(1&e){const e=i.bc();i.ac(0,"div",15),i.ac(1,"bs-custom-date-view",16),i.ic("onSelect",(function(t){return i.Mc(e),i.mc(2).setRangeOnCalendar(t)})),i.Zb(),i.Zb()}if(2&e){const e=i.mc(2);i.Hb(1),i.tc("selectedRange",e.chosenRange)("ranges",e.customRanges)}}function wi(e,t){if(1&e){const e=i.bc();i.ac(0,"div",1),i.ac(1,"div",2),i.ic("@datepickerAnimation.done",(function(){return i.Mc(e),i.mc().positionServiceEnable()})),i.ac(2,"div",3),i.nc(3,"async"),i.Tc(4,hi,3,3,"div",4),i.Tc(5,pi,3,3,"div",4),i.Tc(6,fi,3,3,"div",4),i.Zb(),i.Tc(7,bi,5,0,"div",5),i.Zb(),i.Tc(8,vi,2,2,"div",6),i.Zb()}if(2&e){const e=i.mc();i.tc("ngClass",e.containerClass),i.Hb(1),i.tc("@datepickerAnimation",e.animationState),i.Hb(1),i.tc("ngSwitch",i.oc(3,8,e.viewMode)),i.Hb(2),i.tc("ngSwitchCase","day"),i.Hb(1),i.tc("ngSwitchCase","month"),i.Hb(1),i.tc("ngSwitchCase","year"),i.Hb(1),i.tc("ngIf",!1),i.Hb(1),i.tc("ngIf",(null==e.customRanges?null:e.customRanges.length)>0)}}function yi(e,t){if(1&e){const e=i.bc();i.ac(0,"bs-days-calendar-view",9),i.ic("onNavigate",(function(t){return i.Mc(e),i.mc(3).navigateTo(t)}))("onViewMode",(function(t){return i.Mc(e),i.mc(3).setViewMode(t)}))("onHover",(function(t){return i.Mc(e),i.mc(3).dayHoverHandler(t)}))("onHoverWeek",(function(t){return i.Mc(e),i.mc(3).weekHoverHandler(t)}))("onSelect",(function(t){return i.Mc(e),i.mc(3).daySelectHandler(t)})),i.nc(1,"async"),i.nc(2,"async"),i.Zb()}if(2&e){const e=t.$implicit,r=i.mc(3);var n;const a=(null==(n=i.oc(1,4,r.daysCalendar))?null:n.length)>1;i.Mb("bs-datepicker-multiple",a),i.tc("calendar",e)("options",i.oc(2,6,r.options))}}function _i(e,t){if(1&e&&(i.ac(0,"div",7),i.Tc(1,yi,3,8,"bs-days-calendar-view",8),i.nc(2,"async"),i.Zb()),2&e){const e=i.mc(2);i.Hb(1),i.tc("ngForOf",i.oc(2,1,e.daysCalendar))}}function Ci(e,t){if(1&e){const e=i.bc();i.ac(0,"bs-month-calendar-view",11),i.ic("onNavigate",(function(t){return i.Mc(e),i.mc(3).navigateTo(t)}))("onViewMode",(function(t){return i.Mc(e),i.mc(3).setViewMode(t)}))("onHover",(function(t){return i.Mc(e),i.mc(3).monthHoverHandler(t)}))("onSelect",(function(t){return i.Mc(e),i.mc(3).monthSelectHandler(t)})),i.nc(1,"async"),i.Zb()}if(2&e){const e=t.$implicit,r=i.mc(3);var n;const a=(null==(n=i.oc(1,3,r.daysCalendar))?null:n.length)>1;i.Mb("bs-datepicker-multiple",a),i.tc("calendar",e)}}function Di(e,t){if(1&e&&(i.ac(0,"div",7),i.Tc(1,Ci,2,5,"bs-month-calendar-view",10),i.nc(2,"async"),i.Zb()),2&e){const e=i.mc(2);i.Hb(1),i.tc("ngForOf",i.oc(2,1,e.monthsCalendar))}}function Mi(e,t){if(1&e){const e=i.bc();i.ac(0,"bs-years-calendar-view",11),i.ic("onNavigate",(function(t){return i.Mc(e),i.mc(3).navigateTo(t)}))("onViewMode",(function(t){return i.Mc(e),i.mc(3).setViewMode(t)}))("onHover",(function(t){return i.Mc(e),i.mc(3).yearHoverHandler(t)}))("onSelect",(function(t){return i.Mc(e),i.mc(3).yearSelectHandler(t)})),i.nc(1,"async"),i.Zb()}if(2&e){const e=t.$implicit,r=i.mc(3);var n;const a=(null==(n=i.oc(1,3,r.daysCalendar))?null:n.length)>1;i.Mb("bs-datepicker-multiple",a),i.tc("calendar",e)}}function xi(e,t){if(1&e&&(i.ac(0,"div",7),i.Tc(1,Mi,2,5,"bs-years-calendar-view",10),i.nc(2,"async"),i.Zb()),2&e){const e=i.mc(2);i.Hb(1),i.tc("ngForOf",i.oc(2,1,e.yearsCalendar))}}function Pi(e,t){1&e&&(i.ac(0,"div",12),i.ac(1,"button",13),i.Vc(2,"Apply"),i.Zb(),i.ac(3,"button",14),i.Vc(4,"Cancel"),i.Zb(),i.Zb())}function Si(e,t){if(1&e){const e=i.bc();i.ac(0,"div",15),i.ac(1,"bs-custom-date-view",16),i.ic("onSelect",(function(t){return i.Mc(e),i.mc(2).setRangeOnCalendar(t)})),i.Zb(),i.Zb()}if(2&e){const e=i.mc(2);i.Hb(1),i.tc("selectedRange",e.chosenRange)("ranges",e.customRanges)}}function Bi(e,t){if(1&e){const e=i.bc();i.ac(0,"div",1),i.ac(1,"div",2),i.ic("@datepickerAnimation.done",(function(){return i.Mc(e),i.mc().positionServiceEnable()})),i.ac(2,"div",3),i.nc(3,"async"),i.Tc(4,_i,3,3,"div",4),i.Tc(5,Di,3,3,"div",4),i.Tc(6,xi,3,3,"div",4),i.Zb(),i.Tc(7,Pi,5,0,"div",5),i.Zb(),i.Tc(8,Si,2,2,"div",6),i.Zb()}if(2&e){const e=i.mc();i.tc("ngClass",e.containerClass),i.Hb(1),i.tc("@datepickerAnimation",e.animationState),i.Hb(1),i.tc("ngSwitch",i.oc(3,8,e.viewMode)),i.Hb(2),i.tc("ngSwitchCase","day"),i.Hb(1),i.tc("ngSwitchCase","month"),i.Hb(1),i.tc("ngSwitchCase","year"),i.Hb(1),i.tc("ngIf",!1),i.Hb(1),i.tc("ngIf",(null==e.customRanges?null:e.customRanges.length)>0)}}function Ii(e,t){1&e&&i.Wb(0,"bs-current-date",4)}function Hi(e,t){1&e&&i.Wb(0,"bs-timepicker")}n.d(t,"a",(function(){return Rr})),n.d(t,"b",(function(){return $r})),n.d(t,"c",(function(){return pa}));const Ti=[[["bs-datepicker-navigation-view"]],"*"],ki=["bs-datepicker-navigation-view","*"];function Li(e,t){if(1&e){const e=i.bc();i.ac(0,"button",2),i.ic("click",(function(){i.Mc(e);const n=t.$implicit;return i.mc().selectFromRanges(n)})),i.Vc(1),i.Zb()}if(2&e){const e=t.$implicit,n=i.mc();i.Mb("selected",e.value===n.selectedRange),i.Hb(1),i.Xc(" ",e.label," ")}}const Fi=["bsDatepickerDayDecorator",""];function Oi(e,t){if(1&e){const e=i.bc();i.Yb(0),i.Vc(1," \u200b "),i.ac(2,"button",2),i.ic("click",(function(){return i.Mc(e),i.mc().view("month")})),i.ac(3,"span"),i.Vc(4),i.Zb(),i.Zb(),i.Xb()}if(2&e){const e=i.mc();i.Hb(4),i.Wc(e.calendar.monthTitle)}}function Vi(e,t){1&e&&i.Wb(0,"th")}function Ei(e,t){if(1&e&&(i.ac(0,"th",5),i.Vc(1),i.Zb()),2&e){const e=t.index,n=i.mc();i.Hb(1),i.Xc("",n.calendar.weekdays[e]," ")}}function Ui(e,t){if(1&e){const e=i.bc();i.ac(0,"td",8),i.ac(1,"span",9),i.ic("click",(function(){i.Mc(e);const t=i.mc().$implicit;return i.mc().selectWeek(t)}))("mouseenter",(function(){i.Mc(e);const t=i.mc().$implicit;return i.mc().weekHoverHandler(t,!0)}))("mouseleave",(function(){i.Mc(e);const t=i.mc().$implicit;return i.mc().weekHoverHandler(t,!1)})),i.Vc(2),i.Zb(),i.Zb()}if(2&e){const e=i.mc().index,t=i.mc();i.Mb("active-week",t.isWeekHovered),i.Hb(2),i.Wc(t.calendar.weekNumbers[e])}}function Zi(e,t){if(1&e){const e=i.bc();i.ac(0,"td",10),i.ac(1,"span",11),i.ic("click",(function(){i.Mc(e);const n=t.$implicit;return i.mc(2).selectDay(n)}))("mouseenter",(function(){i.Mc(e);const n=t.$implicit;return i.mc(2).hoverDay(n,!0)}))("mouseleave",(function(){i.Mc(e);const n=t.$implicit;return i.mc(2).hoverDay(n,!1)})),i.Vc(2),i.Zb(),i.Zb()}if(2&e){const e=t.$implicit;i.Hb(1),i.tc("day",e),i.Hb(1),i.Wc(e.label)}}function Ni(e,t){if(1&e&&(i.ac(0,"tr"),i.Tc(1,Ui,3,3,"td",6),i.Tc(2,Zi,3,2,"td",7),i.Zb()),2&e){const e=t.$implicit,n=i.mc();i.Hb(1),i.tc("ngIf",n.options.showWeekNumbers),i.Hb(1),i.tc("ngForOf",e.days)}}function ji(e,t){if(1&e){const e=i.bc();i.ac(0,"td",4),i.ic("click",(function(){i.Mc(e);const n=t.$implicit;return i.mc(2).viewMonth(n)}))("mouseenter",(function(){i.Mc(e);const n=t.$implicit;return i.mc(2).hoverMonth(n,!0)}))("mouseleave",(function(){i.Mc(e);const n=t.$implicit;return i.mc(2).hoverMonth(n,!1)})),i.ac(1,"span"),i.Vc(2),i.Zb(),i.Zb()}if(2&e){const e=t.$implicit;i.Mb("disabled",e.isDisabled)("is-highlighted",e.isHovered),i.Hb(1),i.Mb("selected",e.isSelected),i.Hb(1),i.Wc(e.label)}}function Qi(e,t){if(1&e&&(i.ac(0,"tr"),i.Tc(1,ji,3,7,"td",3),i.Zb()),2&e){const e=t.$implicit;i.Hb(1),i.tc("ngForOf",e)}}function Ri(e,t){if(1&e){const e=i.bc();i.ac(0,"td",4),i.ic("click",(function(){i.Mc(e);const n=t.$implicit;return i.mc(2).viewYear(n)}))("mouseenter",(function(){i.Mc(e);const n=t.$implicit;return i.mc(2).hoverYear(n,!0)}))("mouseleave",(function(){i.Mc(e);const n=t.$implicit;return i.mc(2).hoverYear(n,!1)})),i.ac(1,"span"),i.Vc(2),i.Zb(),i.Zb()}if(2&e){const e=t.$implicit;i.Mb("disabled",e.isDisabled)("is-highlighted",e.isHovered),i.Hb(1),i.Mb("selected",e.isSelected),i.Hb(1),i.Wc(e.label)}}function Gi(e,t){if(1&e&&(i.ac(0,"tr"),i.Tc(1,Ri,3,7,"td",3),i.Zb()),2&e){const e=t.$implicit;i.Hb(1),i.tc("ngForOf",e)}}function Wi(e,t){1&e&&(i.ac(0,"div",1),i.rc(1),i.Zb())}const Xi=["*"];function zi(e,t){if(1&e){const e=i.bc();i.ac(0,"button",8),i.ic("click",(function(){return i.Mc(e),i.mc(2).datePicker.move(-1)})),i.Vc(1,"\u2039"),i.Zb()}}function Ki(e,t){if(1&e){const e=i.bc();i.ac(0,"button",8),i.ic("click",(function(){return i.Mc(e),i.mc(2).datePicker.move(-1)})),i.Vc(1,"<"),i.Zb()}}function qi(e,t){if(1&e){const e=i.bc();i.ac(0,"button",9),i.ic("click",(function(){return i.Mc(e),i.mc(2).datePicker.move(1)})),i.Vc(1,"\u203a"),i.Zb()}}function Yi(e,t){if(1&e){const e=i.bc();i.ac(0,"button",9),i.ic("click",(function(){return i.Mc(e),i.mc(2).datePicker.move(1)})),i.Vc(1,"> "),i.Zb()}}function $i(e,t){1&e&&i.Wb(0,"th")}function Ji(e,t){if(1&e&&(i.ac(0,"th",10),i.ac(1,"small",11),i.ac(2,"b"),i.Vc(3),i.Zb(),i.Zb(),i.Zb()),2&e){const e=t.$implicit;i.Hb(3),i.Wc(e.abbr)}}function er(e,t){if(1&e&&(i.ac(0,"td",10),i.ac(1,"em"),i.Vc(2),i.Zb(),i.Zb()),2&e){const e=i.mc(2).index,t=i.mc(2);i.Hb(2),i.Wc(t.weekNumbers[e])}}const tr=function(e,t,n,i,r){return{"btn-secondary":e,"btn-info":t,disabled:n,active:i,"btn-default":r}},nr=function(e,t){return{"text-muted":e,"text-info":t}};function ir(e,t){if(1&e){const e=i.bc();i.ac(0,"button",16),i.ic("click",(function(){i.Mc(e);const t=i.mc().$implicit;return i.mc(4).datePicker.select(t.date)})),i.ac(1,"span",17),i.Vc(2),i.Zb(),i.Zb()}if(2&e){const e=i.mc().$implicit,t=i.mc(4);i.Lb("btn btn-sm ",e.customClass,""),i.tc("ngClass",i.Ic(7,tr,t.isBs4&&!e.selected&&!t.datePicker.isActive(e),e.selected,e.disabled,!t.isBs4&&t.datePicker.isActive(e),!t.isBs4))("disabled",e.disabled),i.Hb(1),i.tc("ngClass",i.Fc(13,nr,e.secondary||e.current,!t.isBs4&&e.current)),i.Hb(1),i.Wc(e.label)}}function rr(e,t){if(1&e&&(i.ac(0,"td",14),i.Tc(1,ir,3,16,"button",15),i.Zb()),2&e){const e=t.$implicit,n=i.mc(4);i.tc("id",e.uid),i.Hb(1),i.tc("ngIf",!(n.datePicker.onlyCurrentMonth&&e.secondary))}}function ar(e,t){if(1&e&&(i.ac(0,"tr"),i.Tc(1,er,3,1,"td",12),i.Tc(2,rr,2,2,"td",13),i.Zb()),2&e){const e=i.mc().$implicit,t=i.mc(2);i.Hb(1),i.tc("ngIf",t.datePicker.showWeeks),i.Hb(1),i.tc("ngForOf",e)}}function or(e,t){if(1&e&&i.Tc(0,ar,3,2,"tr",5),2&e){const e=t.$implicit,n=i.mc(2);i.tc("ngIf",!(n.datePicker.onlyCurrentMonth&&e[0].secondary&&e[6].secondary))}}const sr=function(e){return{disabled:e}};function cr(e,t){if(1&e){const e=i.bc();i.ac(0,"table",1),i.ac(1,"thead"),i.ac(2,"tr"),i.ac(3,"th"),i.Tc(4,zi,2,0,"button",2),i.Tc(5,Ki,2,0,"button",2),i.Zb(),i.ac(6,"th"),i.ac(7,"button",3),i.ic("click",(function(){return i.Mc(e),i.mc().datePicker.toggleMode(0)})),i.ac(8,"strong"),i.Vc(9),i.Zb(),i.Zb(),i.Zb(),i.ac(10,"th"),i.Tc(11,qi,2,0,"button",4),i.Tc(12,Yi,2,0,"button",4),i.Zb(),i.Zb(),i.ac(13,"tr"),i.Tc(14,$i,1,0,"th",5),i.Tc(15,Ji,4,1,"th",6),i.Zb(),i.Zb(),i.ac(16,"tbody"),i.Tc(17,or,1,1,"ng-template",7),i.Zb(),i.Zb()}if(2&e){const e=i.mc();i.Ib("aria-labelledby",e.datePicker.uniqueId+"-title"),i.Hb(4),i.tc("ngIf",!e.isBs4),i.Hb(1),i.tc("ngIf",e.isBs4),i.Hb(1),i.Ib("colspan",5+(e.datePicker.showWeeks?1:0)),i.Hb(1),i.tc("id",e.datePicker.uniqueId+"-title")("disabled",e.datePicker.datepickerMode===e.datePicker.maxMode)("ngClass",i.Ec(13,sr,e.datePicker.datepickerMode===e.datePicker.maxMode)),i.Hb(2),i.Wc(e.title),i.Hb(2),i.tc("ngIf",!e.isBs4),i.Hb(1),i.tc("ngIf",e.isBs4),i.Hb(2),i.tc("ngIf",e.datePicker.showWeeks),i.Hb(1),i.tc("ngForOf",e.labels),i.Hb(2),i.tc("ngForOf",e.rows)}}const lr=function(e,t,n,i){return{"btn-link":e,"btn-info":t,disabled:n,active:i}},ur=function(e,t){return{"text-success":e,"text-info":t}};function dr(e,t){if(1&e){const e=i.bc();i.ac(0,"td",7),i.ac(1,"button",8),i.ic("click",(function(){i.Mc(e);const n=t.$implicit;return i.mc(3).datePicker.select(n.date)})),i.ac(2,"span",9),i.Vc(3),i.Zb(),i.Zb(),i.Zb()}if(2&e){const e=t.$implicit,n=i.mc(3);i.tc("ngClass",e.customClass),i.Ib("id",e.uid),i.Hb(1),i.tc("ngClass",i.Hc(6,lr,n.isBs4&&!e.selected&&!n.datePicker.isActive(e),e.selected||n.isBs4&&!e.selected&&n.datePicker.isActive(e),e.disabled,!n.isBs4&&n.datePicker.isActive(e)))("disabled",e.disabled),i.Hb(1),i.tc("ngClass",i.Fc(11,ur,n.isBs4&&e.current,!n.isBs4&&e.current)),i.Hb(1),i.Wc(e.label)}}function Ar(e,t){if(1&e&&(i.ac(0,"tr"),i.Tc(1,dr,4,14,"td",6),i.Zb()),2&e){const e=t.$implicit;i.Hb(1),i.tc("ngForOf",e)}}function hr(e,t){if(1&e){const e=i.bc();i.ac(0,"table",1),i.ac(1,"thead"),i.ac(2,"tr"),i.ac(3,"th"),i.ac(4,"button",2),i.ic("click",(function(){return i.Mc(e),i.mc().datePicker.move(-1)})),i.Vc(5,"\u2039"),i.Zb(),i.Zb(),i.ac(6,"th"),i.ac(7,"button",3),i.ic("click",(function(){return i.Mc(e),i.mc().datePicker.toggleMode(0)})),i.ac(8,"strong"),i.Vc(9),i.Zb(),i.Zb(),i.Zb(),i.ac(10,"th"),i.ac(11,"button",4),i.ic("click",(function(){return i.Mc(e),i.mc().datePicker.move(1)})),i.Vc(12,"\u203a"),i.Zb(),i.Zb(),i.Zb(),i.Zb(),i.ac(13,"tbody"),i.Tc(14,Ar,2,1,"tr",5),i.Zb(),i.Zb()}if(2&e){const e=i.mc();i.Hb(6),i.Ib("colspan",e.datePicker.monthColLimit-2<=0?1:e.datePicker.monthColLimit-2),i.Hb(1),i.tc("id",e.datePicker.uniqueId+"-title")("disabled",e.datePicker.datepickerMode===e.maxMode)("ngClass",i.Ec(6,sr,e.datePicker.datepickerMode===e.maxMode)),i.Hb(2),i.Wc(e.title),i.Hb(5),i.tc("ngForOf",e.rows)}}function mr(e,t){if(1&e){const e=i.bc();i.ac(0,"td",7),i.ac(1,"button",8),i.ic("click",(function(){i.Mc(e);const n=t.$implicit;return i.mc(3).datePicker.select(n.date)})),i.ac(2,"span",9),i.Vc(3),i.Zb(),i.Zb(),i.Zb()}if(2&e){const e=t.$implicit,n=i.mc(3);i.Ib("id",e.uid),i.Hb(1),i.tc("ngClass",i.Hc(5,lr,n.isBs4&&!e.selected&&!n.datePicker.isActive(e),e.selected||n.isBs4&&!e.selected&&n.datePicker.isActive(e),e.disabled,!n.isBs4&&n.datePicker.isActive(e)))("disabled",e.disabled),i.Hb(1),i.tc("ngClass",i.Fc(10,ur,n.isBs4&&e.current,!n.isBs4&&e.current)),i.Hb(1),i.Wc(e.label)}}function pr(e,t){if(1&e&&(i.ac(0,"tr"),i.Tc(1,mr,4,13,"td",6),i.Zb()),2&e){const e=t.$implicit;i.Hb(1),i.tc("ngForOf",e)}}function gr(e,t){if(1&e){const e=i.bc();i.ac(0,"table",1),i.ac(1,"thead"),i.ac(2,"tr"),i.ac(3,"th"),i.ac(4,"button",2),i.ic("click",(function(){return i.Mc(e),i.mc().datePicker.move(-1)})),i.Vc(5,"\u2039"),i.Zb(),i.Zb(),i.ac(6,"th"),i.ac(7,"button",3),i.ic("click",(function(){return i.Mc(e),i.mc().datePicker.toggleMode(0)})),i.ac(8,"strong"),i.Vc(9),i.Zb(),i.Zb(),i.Zb(),i.ac(10,"th"),i.ac(11,"button",4),i.ic("click",(function(){return i.Mc(e),i.mc().datePicker.move(1)})),i.Vc(12,"\u203a"),i.Zb(),i.Zb(),i.Zb(),i.Zb(),i.ac(13,"tbody"),i.Tc(14,pr,2,1,"tr",5),i.Zb(),i.Zb()}if(2&e){const e=i.mc();i.Hb(6),i.Ib("colspan",e.datePicker.yearColLimit-2<=0?1:e.datePicker.yearColLimit-2),i.Hb(1),i.tc("id",e.datePicker.uniqueId+"-title")("disabled",e.datePicker.datepickerMode===e.datePicker.maxMode)("ngClass",i.Ec(6,sr,e.datePicker.datepickerMode===e.datePicker.maxMode)),i.Hb(2),i.Wc(e.title),i.Hb(5),i.tc("ngForOf",e.rows)}}let fr=(()=>{class e{constructor(){this.adaptivePosition=!1,this.useUtc=!1,this.isAnimated=!1,this.returnFocusToInput=!1,this.containerClass="theme-green",this.displayMonths=1,this.showWeekNumbers=!0,this.dateInputFormat="L",this.rangeSeparator=" - ",this.rangeInputFormat="L",this.monthTitle="MMMM",this.yearTitle="YYYY",this.dayLabel="D",this.monthLabel="MMMM",this.yearLabel="YYYY",this.weekNumbers="w"}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Rb({token:e,factory:e.\u0275fac}),e})();class br{constructor(){this.customRanges=[]}set minDate(e){this._effects.setMinDate(e)}set maxDate(e){this._effects.setMaxDate(e)}set daysDisabled(e){this._effects.setDaysDisabled(e)}set datesDisabled(e){this._effects.setDatesDisabled(e)}set datesEnabled(e){this._effects.setDatesEnabled(e)}set isDisabled(e){this._effects.setDisabled(e)}set dateCustomClasses(e){this._effects.setDateCustomClasses(e)}setViewMode(e){}navigateTo(e){}dayHoverHandler(e){}weekHoverHandler(e){}monthHoverHandler(e){}yearHoverHandler(e){}daySelectHandler(e){}monthSelectHandler(e){}yearSelectHandler(e){}_stopPropagation(e){e.stopPropagation()}}let vr=(()=>{class e{calculate(){return{type:e.CALCULATE}}format(){return{type:e.FORMAT}}flag(){return{type:e.FLAG}}select(t){return{type:e.SELECT,payload:t}}changeViewMode(t){return{type:e.CHANGE_VIEWMODE,payload:t}}navigateTo(t){return{type:e.NAVIGATE_TO,payload:t}}navigateStep(t){return{type:e.NAVIGATE_OFFSET,payload:t}}setOptions(t){return{type:e.SET_OPTIONS,payload:t}}selectRange(t){return{type:e.SELECT_RANGE,payload:t}}hoverDay(t){return{type:e.HOVER,payload:t.isHovered?t.cell.date:null}}minDate(t){return{type:e.SET_MIN_DATE,payload:t}}maxDate(t){return{type:e.SET_MAX_DATE,payload:t}}daysDisabled(t){return{type:e.SET_DAYSDISABLED,payload:t}}datesDisabled(t){return{type:e.SET_DATESDISABLED,payload:t}}datesEnabled(t){return{type:e.SET_DATESENABLED,payload:t}}isDisabled(t){return{type:e.SET_IS_DISABLED,payload:t}}setDateCustomClasses(t){return{type:e.SET_DATE_CUSTOM_CLASSES,payload:t}}setLocale(t){return{type:e.SET_LOCALE,payload:t}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Rb({token:e,factory:e.\u0275fac}),e.CALCULATE="[datepicker] calculate dates matrix",e.FORMAT="[datepicker] format datepicker values",e.FLAG="[datepicker] set flags",e.SELECT="[datepicker] select date",e.NAVIGATE_OFFSET="[datepicker] shift view date",e.NAVIGATE_TO="[datepicker] change view date",e.SET_OPTIONS="[datepicker] update render options",e.HOVER="[datepicker] hover date",e.CHANGE_VIEWMODE="[datepicker] switch view mode",e.SET_MIN_DATE="[datepicker] set min date",e.SET_MAX_DATE="[datepicker] set max date",e.SET_DAYSDISABLED="[datepicker] set days disabled",e.SET_DATESDISABLED="[datepicker] set dates disabled",e.SET_DATESENABLED="[datepicker] set dates enabled",e.SET_IS_DISABLED="[datepicker] set is disabled",e.SET_DATE_CUSTOM_CLASSES="[datepicker] set date custom classes",e.SET_LOCALE="[datepicker] set datepicker locale",e.SELECT_RANGE="[daterangepicker] select dates range",e})(),wr=(()=>{class e{constructor(){this._defaultLocale="en",this._locale=new en.a(this._defaultLocale),this._localeChange=this._locale.asObservable()}get locale(){return this._locale}get localeChange(){return this._localeChange}get currentLocale(){return this._locale.getValue()}use(e){e!==this.currentLocale&&this._locale.next(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Rb({token:e,factory:e.\u0275fac}),e})(),yr=(()=>{class e{constructor(e,t){this._actions=e,this._localeService=t,this._subs=[]}init(e){return this._store=e,this}setValue(e){this._store.dispatch(this._actions.select(e))}setRangeValue(e){this._store.dispatch(this._actions.selectRange(e))}setMinDate(e){return this._store.dispatch(this._actions.minDate(e)),this}setMaxDate(e){return this._store.dispatch(this._actions.maxDate(e)),this}setDaysDisabled(e){return this._store.dispatch(this._actions.daysDisabled(e)),this}setDatesDisabled(e){return this._store.dispatch(this._actions.datesDisabled(e)),this}setDatesEnabled(e){return this._store.dispatch(this._actions.datesEnabled(e)),this}setDisabled(e){return this._store.dispatch(this._actions.isDisabled(e)),this}setDateCustomClasses(e){return this._store.dispatch(this._actions.setDateCustomClasses(e)),this}setOptions(e){const t=Object.assign({locale:this._localeService.currentLocale},e);return this._store.dispatch(this._actions.setOptions(t)),this}setBindings(e){return e.daysCalendar=this._store.select(e=>e.flaggedMonths).pipe(Object(r.a)(e=>!!e)),e.monthsCalendar=this._store.select(e=>e.flaggedMonthsCalendar).pipe(Object(r.a)(e=>!!e)),e.yearsCalendar=this._store.select(e=>e.yearsCalendarFlagged).pipe(Object(r.a)(e=>!!e)),e.viewMode=this._store.select(e=>e.view.mode),e.options=this._store.select(e=>e.showWeekNumbers).pipe(Object(a.a)(e=>({showWeekNumbers:e}))),this}setEventHandlers(e){return e.setViewMode=e=>{this._store.dispatch(this._actions.changeViewMode(e))},e.navigateTo=e=>{this._store.dispatch(this._actions.navigateStep(e.step))},e.dayHoverHandler=e=>{const t=e.cell;t.isOtherMonth||t.isDisabled||(this._store.dispatch(this._actions.hoverDay(e)),t.isHovered=e.isHovered)},e.monthHoverHandler=e=>{e.cell.isHovered=e.isHovered},e.yearHoverHandler=e=>{e.cell.isHovered=e.isHovered},e.monthSelectHandler=e=>{e.isDisabled||this._store.dispatch(this._actions.navigateTo({unit:{month:Z(e.date),year:N(e.date)},viewMode:"day"}))},e.yearSelectHandler=e=>{e.isDisabled||this._store.dispatch(this._actions.navigateTo({unit:{year:N(e.date)},viewMode:"month"}))},this}registerDatepickerSideEffects(){return this._subs.push(this._store.select(e=>e.view).subscribe(e=>{this._store.dispatch(this._actions.calculate())})),this._subs.push(this._store.select(e=>e.monthsModel).pipe(Object(r.a)(e=>!!e)).subscribe(e=>this._store.dispatch(this._actions.format()))),this._subs.push(this._store.select(e=>e.formattedMonths).pipe(Object(r.a)(e=>!!e)).subscribe(e=>this._store.dispatch(this._actions.flag()))),this._subs.push(this._store.select(e=>e.selectedDate).pipe(Object(r.a)(e=>!!e)).subscribe(e=>this._store.dispatch(this._actions.flag()))),this._subs.push(this._store.select(e=>e.selectedRange).pipe(Object(r.a)(e=>!!e)).subscribe(e=>this._store.dispatch(this._actions.flag()))),this._subs.push(this._store.select(e=>e.monthsCalendar).subscribe(()=>this._store.dispatch(this._actions.flag()))),this._subs.push(this._store.select(e=>e.yearsCalendarModel).pipe(Object(r.a)(e=>!!e)).subscribe(()=>this._store.dispatch(this._actions.flag()))),this._subs.push(this._store.select(e=>e.hoveredDate).pipe(Object(r.a)(e=>!!e)).subscribe(e=>this._store.dispatch(this._actions.flag()))),this._subs.push(this._store.select(e=>e.dateCustomClasses).pipe(Object(r.a)(e=>!!e)).subscribe(e=>this._store.dispatch(this._actions.flag()))),this._subs.push(this._localeService.localeChange.subscribe(e=>this._store.dispatch(this._actions.setLocale(e)))),this}destroy(){for(const e of this._subs)e.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(i.ec(vr),i.ec(wr))},e.\u0275prov=i.Rb({token:e,factory:e.\u0275fac}),e})();const _r={date:new Date,mode:"day"},Cr=Object.assign(new fr,{locale:"en",view:_r,selectedRange:[],monthViewOptions:{width:7,height:6}});function Dr(e,t,n){const i=t&&Vt(Ie(e,"month"),t,"day"),r=n&&Ot(Be(e,"month"),n,"day");return i||r}function Mr(e,t,n){const i=t&&Vt(Ie(e,"year"),t,"day"),r=n&&Ot(Be(e,"year"),n,"day");return i||r}function xr(e,t=0){const n=e&&e.yearsCalendarModel&&e.yearsCalendarModel[t];return n&&n.years&&n.years[0]&&n.years[0][0]&&n.years[0][0].date}function Pr(e,t){let n=e.initialDate;const i=new Array(e.height);for(let r=0;re),month:n}}function Br(e){const t=at(e),n=t.weekdaysShort(),i=t.firstDayOfWeek();return[...n.slice(i),...n.slice(0,i)]}function Ir(e,t){return!t||e>=t}const Hr={month:1};function Tr(e,t){return{months:Pr({width:3,height:4,initialDate:Be(e,"year"),shift:Hr},e=>({date:e,label:Pt(e,t.monthLabel,t.locale)})),monthTitle:"",yearTitle:Pt(e,t.yearTitle,t.locale)}}const kr=-1*(Math.floor(8)-1),Lr={year:1};function Fr(e,t,n){const i=Pr({width:4,height:4,initialDate:function(e,t){return t&&e.getFullYear()>=t.getFullYear()&&e.getFullYear()({date:e,label:Pt(e,t.yearLabel,t.locale)}));return{years:i,monthTitle:"",yearTitle:function(e,t){return`${Pt(e[0][0].date,t.yearTitle,t.locale)} - ${Pt(e[3][3].date,t.yearTitle,t.locale)}`}(i,t)}}function Or(e=Cr,t){switch(t.type){case vr.CALCULATE:return function(e){const t=e.displayOneMonthRange&&Zr(e.view.date,e.minDate,e.maxDate)?1:e.displayMonths;let n=e.view.date;if("day"===e.view.mode){e.showPreviousMonth&&0===e.selectedRange.length&&(n=De(n,{month:-1})),e.monthViewOptions.firstDayOfWeek=at(e.locale).firstDayOfWeek();const i=new Array(t);for(let r=0;rfunction(e,t,n){return{month:e.month,monthTitle:Pt(e.month,t.monthTitle,t.locale),yearTitle:Pt(e.month,t.yearTitle,t.locale),weekNumbers:(i=e.daysMatrix,r=t.weekNumbers,a=t.locale,i.map(e=>e[0]?Pt(e[0],r,a):"")),weekdays:Br(t.locale),weeks:e.daysMatrix.map((e,i)=>({days:e.map((e,r)=>({date:e,label:Pt(e,t.dayLabel,t.locale),monthIndex:n,weekIndex:i,dayIndex:r}))}))};var i,r,a}(t,Er(e),n));return Object.assign({},e,{formattedMonths:t})}const n=e.displayMonths;let i=e.view.date;if("month"===e.view.mode){const t=new Array(n);for(let r=0;rfunction(e,t){return e.weeks.forEach(n=>{n.days.forEach((i,r)=>{const a=!j(i.date,e.month),o=!a&&R(i.date,t.hoveredDate),s=!a&&t.selectedRange&&R(i.date,t.selectedRange[0]),c=!a&&t.selectedRange&&R(i.date,t.selectedRange[1]),l=!a&&R(i.date,t.selectedDate)||s||c,u=!a&&t.selectedRange&&function(e,t,n){return!(!e||!t[0])&&(t[1]?e>t[0]&&e<=t[1]:!!n&&e>t[0]&&e<=n)}(i.date,t.selectedRange,t.hoveredDate),d=t.isDisabled||Vt(i.date,t.minDate,"day")||Ot(i.date,t.maxDate,"day")||(A=i.date,!(void 0===(h=t.daysDisabled)||!h||!h.length)&&h.some(e=>e===A.getDay()))||function(e,t){return!!(t&&b(t)&&t.length)&&t.some(t=>Et(e,t,"date"))}(i.date,t.datesDisabled)||function(e,t){return!!(t&&b(t)&&t.length)&&!t.some(t=>Et(e,t,"date"))}(i.date,t.datesEnabled);var A,h;const m=new Date,p=!a&&R(i.date,m),g=t.dateCustomClasses&&t.dateCustomClasses.map(e=>R(i.date,e.date)?e.classes:[]).reduce((e,t)=>e.concat(t),[]).join(" ")||"",f=Object.assign({},i,{isOtherMonth:a,isHovered:o,isSelected:l,isSelectionStart:s,isSelectionEnd:c,isInRange:u,isDisabled:d,isToday:p,customClasses:g});i.isOtherMonth===f.isOtherMonth&&i.isHovered===f.isHovered&&i.isSelected===f.isSelected&&i.isSelectionStart===f.isSelectionStart&&i.isSelectionEnd===f.isSelectionEnd&&i.isDisabled===f.isDisabled&&i.isInRange===f.isInRange&&i.customClasses===f.customClasses||(n.days[r]=f)})}),e.hideLeftArrow=t.isDisabled||t.monthIndex>0&&t.monthIndex!==t.displayMonths,e.hideRightArrow=t.isDisabled||t.monthIndex{return a={isDisabled:e.isDisabled,minDate:e.minDate,maxDate:e.maxDate,hoveredMonth:e.hoveredMonth,selectedDate:e.selectedDate,displayMonths:n,monthIndex:i},(r=t).months.forEach((e,t)=>{e.forEach((e,n)=>{const i=j(e.date,a.hoveredMonth),o=a.isDisabled||Dr(e.date,a.minDate,a.maxDate),s=j(e.date,a.selectedDate),c=Object.assign(e,{isHovered:i,isDisabled:o,isSelected:s});e.isHovered===c.isHovered&&e.isDisabled===c.isDisabled&&e.isSelected===c.isSelected||(r.months[t][n]=c)})}),r.hideLeftArrow=a.monthIndex>0&&a.monthIndex!==a.displayMonths,r.hideRightArrow=a.monthIndexfunction(e,t){e.years.forEach((n,i)=>{n.forEach((n,r)=>{const a=Q(n.date,t.hoveredYear),o=t.isDisabled||Mr(n.date,t.minDate,t.maxDate),s=Q(n.date,t.selectedDate),c=Object.assign(n,{isHovered:a,isDisabled:o,isSelected:s});n.isHovered===c.isHovered&&n.isDisabled===c.isDisabled&&n.isSelected===c.isSelected||(e.years[i][r]=c)})}),e.hideLeftArrow=t.yearIndex>0&&t.yearIndex!==t.displayMonths,e.hideRightArrow=t.yearIndex{class e extends dn{constructor(){const e=new en.a({type:"[datepicker] dispatcher init"});super(e,Or,new un(Cr,e,Or))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Rb({token:e,factory:e.\u0275fac}),e})();const jr=Object(ni.j)("datepickerAnimation",[Object(ni.g)("animated-down",Object(ni.h)({height:"*",overflow:"hidden"})),Object(ni.i)("* => animated-down",[Object(ni.h)({height:0,overflow:"hidden"}),Object(ni.e)("220ms cubic-bezier(0, 0, 0.2, 1)")]),Object(ni.g)("animated-up",Object(ni.h)({height:"*",overflow:"hidden"})),Object(ni.i)("* => animated-up",[Object(ni.h)({height:"*",overflow:"hidden"}),Object(ni.e)("220ms cubic-bezier(0, 0, 0.2, 1)")]),Object(ni.i)("* => unanimated",Object(ni.e)("0s"))]);let Qr=(()=>{class e extends br{constructor(e,t,n,r,a,o,s){super(),this._config=t,this._store=n,this._element=r,this._actions=a,this._positionService=s,this.valueChange=new i.q,this.animationState="void",this._subs=[],this._effects=o,e.setStyle(r.nativeElement,"display","block"),e.setStyle(r.nativeElement,"position","absolute")}set value(e){this._effects.setValue(e)}ngOnInit(){this._positionService.setOptions({modifiers:{flip:{enabled:this._config.adaptivePosition}},allowedPositions:["top","bottom"]}),this._positionService.event$.pipe(Object(o.a)(1)).subscribe(()=>{this._positionService.disable(),this.animationState=this._config.isAnimated?this.isTopPosition?"animated-up":"animated-down":"unanimated"}),this.isOtherMonthsActive=this._config.selectFromOtherMonth,this.containerClass=this._config.containerClass,this._effects.init(this._store).setOptions(this._config).setBindings(this).setEventHandlers(this).registerDatepickerSideEffects(),this._subs.push(this._store.select(e=>e.selectedDate).subscribe(e=>this.valueChange.emit(e)))}get isTopPosition(){return this._element.nativeElement.classList.contains("top")}positionServiceEnable(){this._positionService.enable()}daySelectHandler(e){e&&((this.isOtherMonthsActive?e.isDisabled:e.isOtherMonth||e.isDisabled)||this._store.dispatch(this._actions.select(e.date)))}ngOnDestroy(){for(const e of this._subs)e.unsubscribe();this._effects.destroy()}}return e.\u0275fac=function(t){return new(t||e)(i.Vb(i.K),i.Vb(fr),i.Vb(Nr),i.Vb(i.o),i.Vb(vr),i.Vb(yr),i.Vb(ei))},e.\u0275cmp=i.Pb({type:e,selectors:[["bs-datepicker-container"]],hostAttrs:["role","dialog","aria-label","calendar",1,"bottom"],hostBindings:function(e,t){1&e&&i.ic("click",(function(e){return t._stopPropagation(e)}))},features:[i.Gb([Nr,yr]),i.Eb],decls:2,vars:3,consts:[["class","bs-datepicker",3,"ngClass",4,"ngIf"],[1,"bs-datepicker",3,"ngClass"],[1,"bs-datepicker-container"],["role","application",1,"bs-calendar-container",3,"ngSwitch"],["class","bs-media-container",4,"ngSwitchCase"],["class","bs-datepicker-buttons",4,"ngIf"],["class","bs-datepicker-custom-range",4,"ngIf"],[1,"bs-media-container"],[3,"bs-datepicker-multiple","calendar","options","onNavigate","onViewMode","onHover","onHoverWeek","onSelect",4,"ngFor","ngForOf"],[3,"calendar","options","onNavigate","onViewMode","onHover","onHoverWeek","onSelect"],[3,"bs-datepicker-multiple","calendar","onNavigate","onViewMode","onHover","onSelect",4,"ngFor","ngForOf"],[3,"calendar","onNavigate","onViewMode","onHover","onSelect"],[1,"bs-datepicker-buttons"],["type","button",1,"btn","btn-success"],["type","button",1,"btn","btn-default"],[1,"bs-datepicker-custom-range"],[3,"selectedRange","ranges","onSelect"]],template:function(e,t){1&e&&(i.Tc(0,wi,9,10,"div",0),i.nc(1,"async")),2&e&&i.tc("ngIf",i.oc(1,1,t.viewMode))},directives:function(){return[An.n,An.l,An.p,An.q,An.m,da,Aa,ma,sa]},pipes:function(){return[An.b]},encapsulation:2,data:{animation:[jr]}}),e})(),Rr=(()=>{class e{constructor(e,t,n,r,a){this._config=e,this._elementRef=t,this._renderer=n,this.placement="bottom",this.triggers="click",this.outsideClick=!0,this.container="body",this.outsideEsc=!0,this.bsValueChange=new i.q,this._subs=[],Object.assign(this,this._config),this._datepicker=a.createLoader(t,r,n),this.onShown=this._datepicker.onShown,this.onHidden=this._datepicker.onHidden,this.isOpen$=new en.a(this.isOpen)}get isOpen(){return this._datepicker.isShown}set isOpen(e){this.isOpen$.next(e)}set bsValue(e){this._bsValue&&e&&this._bsValue.getTime()===e.getTime()||(this._bsValue=e,this.bsValueChange.emit(e))}ngOnInit(){this.isDestroy$=new tn.a,this._datepicker.listen({outsideClick:this.outsideClick,outsideEsc:this.outsideEsc,triggers:this.triggers,show:()=>this.show()}),this.setConfig()}ngOnChanges(e){this._datepickerRef&&this._datepickerRef.instance&&(e.minDate&&(this._datepickerRef.instance.minDate=this.minDate),e.maxDate&&(this._datepickerRef.instance.maxDate=this.maxDate),e.daysDisabled&&(this._datepickerRef.instance.daysDisabled=this.daysDisabled),e.datesDisabled&&(this._datepickerRef.instance.datesDisabled=this.datesDisabled),e.datesEnabled&&(this._datepickerRef.instance.datesEnabled=this.datesEnabled),e.isDisabled&&(this._datepickerRef.instance.isDisabled=this.isDisabled),e.dateCustomClasses&&(this._datepickerRef.instance.dateCustomClasses=this.dateCustomClasses))}ngAfterViewInit(){this.isOpen$.pipe(Object(r.a)(e=>e!==this.isOpen),l(this.isDestroy$)).subscribe(()=>this.toggle())}show(){this._datepicker.isShown||(this.setConfig(),this._datepickerRef=this._datepicker.provide({provide:fr,useValue:this._config}).attach(Qr).to(this.container).position({attachment:this.placement}).show({placement:this.placement}),this._subs.push(this.bsValueChange.subscribe(e=>{this._datepickerRef.instance.value=e})),this._subs.push(this._datepickerRef.instance.valueChange.subscribe(e=>{this.bsValue=e,this.hide()})))}hide(){this.isOpen&&this._datepicker.hide();for(const e of this._subs)e.unsubscribe();this._config.returnFocusToInput&&this._renderer.selectRootElement(this._elementRef.nativeElement).focus()}toggle(){if(this.isOpen)return this.hide();this.show()}setConfig(){this._config=Object.assign({},this._config,this.bsConfig,{value:this._bsValue,isDisabled:this.isDisabled,minDate:this.minDate||this.bsConfig&&this.bsConfig.minDate,maxDate:this.maxDate||this.bsConfig&&this.bsConfig.maxDate,daysDisabled:this.daysDisabled||this.bsConfig&&this.bsConfig.daysDisabled,dateCustomClasses:this.dateCustomClasses||this.bsConfig&&this.bsConfig.dateCustomClasses,datesDisabled:this.datesDisabled||this.bsConfig&&this.bsConfig.datesDisabled,datesEnabled:this.datesEnabled||this.bsConfig&&this.bsConfig.datesEnabled,minMode:this.minMode||this.bsConfig&&this.bsConfig.minMode})}ngOnDestroy(){this._datepicker.dispose(),this.isOpen$.next(!1),this.isDestroy$&&(this.isDestroy$.next(),this.isDestroy$.complete())}}return e.\u0275fac=function(t){return new(t||e)(i.Vb(fr),i.Vb(i.o),i.Vb(i.K),i.Vb(i.U),i.Vb(ui))},e.\u0275dir=i.Qb({type:e,selectors:[["","bsDatepicker",""]],inputs:{placement:"placement",triggers:"triggers",outsideClick:"outsideClick",container:"container",outsideEsc:"outsideEsc",isOpen:"isOpen",bsValue:"bsValue",bsConfig:"bsConfig",isDisabled:"isDisabled",minDate:"minDate",maxDate:"maxDate",minMode:"minMode",daysDisabled:"daysDisabled",datesDisabled:"datesDisabled",datesEnabled:"datesEnabled",dateCustomClasses:"dateCustomClasses"},outputs:{bsValueChange:"bsValueChange",onShown:"onShown",onHidden:"onHidden"},exportAs:["bsDatepicker"],features:[i.Fb()]}),e})(),Gr=(()=>{class e extends fr{}return e.\u0275fac=function(t){return Wr(t||e)},e.\u0275prov=i.Rb({token:e,factory:e.\u0275fac}),e})();const Wr=i.cc(Gr);let Xr=(()=>{class e extends fr{constructor(){super(...arguments),this.displayMonths=2,this.isAnimated=!1}}return e.\u0275fac=function(t){return zr(t||e)},e.\u0275prov=i.Rb({token:e,factory:e.\u0275fac}),e})();const zr=i.cc(Xr);let Kr=(()=>{class e extends br{constructor(e,t,n,r,a,o,s){super(),this._config=t,this._store=n,this._element=r,this._actions=a,this._positionService=s,this.valueChange=new i.q,this.animationState="void",this._rangeStack=[],this.chosenRange=[],this._subs=[],this._effects=o,this.customRanges=this._config.ranges,e.setStyle(r.nativeElement,"display","block"),e.setStyle(r.nativeElement,"position","absolute")}set value(e){this._effects.setRangeValue(e)}ngOnInit(){this._positionService.setOptions({modifiers:{flip:{enabled:this._config.adaptivePosition}},allowedPositions:["top","bottom"]}),this._positionService.event$.pipe(Object(o.a)(1)).subscribe(()=>{this._positionService.disable(),this.animationState=this._config.isAnimated?this.isTopPosition?"animated-up":"animated-down":"unanimated"}),this.containerClass=this._config.containerClass,this.isOtherMonthsActive=this._config.selectFromOtherMonth,this._effects.init(this._store).setOptions(this._config).setBindings(this).setEventHandlers(this).registerDatepickerSideEffects(),this._subs.push(this._store.select(e=>e.selectedRange).subscribe(e=>{this.valueChange.emit(e),this.chosenRange=e}))}get isTopPosition(){return this._element.nativeElement.classList.contains("top")}positionServiceEnable(){this._positionService.enable()}daySelectHandler(e){e&&((this.isOtherMonthsActive?e.isDisabled:e.isOtherMonth||e.isDisabled)||(1===this._rangeStack.length&&(this._rangeStack=e.date>=this._rangeStack[0]?[this._rangeStack[0],e.date]:[e.date]),0===this._rangeStack.length&&(this._rangeStack=[e.date]),this._store.dispatch(this._actions.selectRange(this._rangeStack)),2===this._rangeStack.length&&(this._rangeStack=[])))}ngOnDestroy(){for(const e of this._subs)e.unsubscribe();this._effects.destroy()}setRangeOnCalendar(e){this._rangeStack=null===e?[]:e.value instanceof Date?[e.value]:e.value,this._store.dispatch(this._actions.selectRange(this._rangeStack))}}return e.\u0275fac=function(t){return new(t||e)(i.Vb(i.K),i.Vb(fr),i.Vb(Nr),i.Vb(i.o),i.Vb(vr),i.Vb(yr),i.Vb(ei))},e.\u0275cmp=i.Pb({type:e,selectors:[["bs-daterangepicker-container"]],hostAttrs:["role","dialog","aria-label","calendar",1,"bottom"],hostBindings:function(e,t){1&e&&i.ic("click",(function(e){return t._stopPropagation(e)}))},features:[i.Gb([Nr,yr]),i.Eb],decls:2,vars:3,consts:[["class","bs-datepicker",3,"ngClass",4,"ngIf"],[1,"bs-datepicker",3,"ngClass"],[1,"bs-datepicker-container"],["role","application",1,"bs-calendar-container",3,"ngSwitch"],["class","bs-media-container",4,"ngSwitchCase"],["class","bs-datepicker-buttons",4,"ngIf"],["class","bs-datepicker-custom-range",4,"ngIf"],[1,"bs-media-container"],[3,"bs-datepicker-multiple","calendar","options","onNavigate","onViewMode","onHover","onHoverWeek","onSelect",4,"ngFor","ngForOf"],[3,"calendar","options","onNavigate","onViewMode","onHover","onHoverWeek","onSelect"],[3,"bs-datepicker-multiple","calendar","onNavigate","onViewMode","onHover","onSelect",4,"ngFor","ngForOf"],[3,"calendar","onNavigate","onViewMode","onHover","onSelect"],[1,"bs-datepicker-buttons"],["type","button",1,"btn","btn-success"],["type","button",1,"btn","btn-default"],[1,"bs-datepicker-custom-range"],[3,"selectedRange","ranges","onSelect"]],template:function(e,t){1&e&&(i.Tc(0,Bi,9,10,"div",0),i.nc(1,"async")),2&e&&i.tc("ngIf",i.oc(1,1,t.viewMode))},directives:function(){return[An.n,An.l,An.p,An.q,An.m,da,Aa,ma,sa]},pipes:function(){return[An.b]},encapsulation:2,data:{animation:[jr]}}),e})();const qr={provide:di.l,useExisting:Object(i.Z)(()=>$r),multi:!0},Yr={provide:di.k,useExisting:Object(i.Z)(()=>$r),multi:!0};let $r=(()=>{class e{constructor(e,t,n,i,r){this._picker=e,this._localeService=t,this._renderer=n,this._elRef=i,this.changeDetection=r,this._onChange=Function.prototype,this._onTouched=Function.prototype,this._validatorChange=Function.prototype,this._picker.bsValueChange.subscribe(e=>{this._setInputValue(e),this._value!==e&&(this._value=e,this._onChange(e),this._onTouched()),this.changeDetection.markForCheck()}),this._localeService.localeChange.subscribe(()=>{this._setInputValue(this._value)})}onKeydownEvent(e){13!==e.keyCode&&"Enter"!==e.code||this.hide()}_setInputValue(e){const t=e?Pt(e,this._picker._config.dateInputFormat,this._localeService.currentLocale):"";this._renderer.setProperty(this._elRef.nativeElement,"value",t)}onChange(e){this.writeValue(e.target.value),this._onChange(this._value),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus(),this._onTouched()}validate(e){const t=e.value;if(null==t||""===t)return null;if(m(t)){if(!p(t))return{bsDate:{invalid:t}};if(this._picker&&this._picker.minDate&&Vt(t,this._picker.minDate,"date"))return this.writeValue(this._picker.minDate),{bsDate:{minDate:this._picker.minDate}};if(this._picker&&this._picker.maxDate&&Ot(t,this._picker.maxDate,"date"))return this.writeValue(this._picker.maxDate),{bsDate:{maxDate:this._picker.maxDate}}}}registerOnValidatorChange(e){this._validatorChange=e}writeValue(e){if(e){const t=this._localeService.currentLocale;if(!at(t))throw new Error(`Locale "${t}" is not defined, please add it with "defineLocale(...)"`);this._value=kt(e,this._picker._config.dateInputFormat,this._localeService.currentLocale),this._picker._config.useUtc&&(this._value=Lt(this._value))}else this._value=null;this._picker.bsValue=this._value}setDisabledState(e){this._picker.isDisabled=e,e?this._renderer.setAttribute(this._elRef.nativeElement,"disabled","disabled"):this._renderer.removeAttribute(this._elRef.nativeElement,"disabled")}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}onBlur(){this._onTouched()}hide(){this._picker.hide(),this._renderer.selectRootElement(this._elRef.nativeElement).blur(),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus()}}return e.\u0275fac=function(t){return new(t||e)(i.Vb(Rr,1),i.Vb(wr),i.Vb(i.K),i.Vb(i.o),i.Vb(i.i))},e.\u0275dir=i.Qb({type:e,selectors:[["input","bsDatepicker",""]],hostBindings:function(e,t){1&e&&i.ic("change",(function(e){return t.onChange(e)}))("keyup.esc",(function(){return t.hide()}))("keydown",(function(e){return t.onKeydownEvent(e)}))("blur",(function(){return t.onBlur()}))},features:[i.Gb([qr,Yr])]}),e})(),Jr=(()=>{class e extends fr{constructor(){super(...arguments),this.displayMonths=2}}return e.\u0275fac=function(t){return ea(t||e)},e.\u0275prov=i.Rb({token:e,factory:e.\u0275fac}),e})();const ea=i.cc(Jr);let ta=(()=>{class e{constructor(e,t,n,r,a){this._config=e,this._elementRef=t,this._renderer=n,this.placement="bottom",this.triggers="click",this.outsideClick=!0,this.container="body",this.outsideEsc=!0,this.bsValueChange=new i.q,this._subs=[],this._datepicker=a.createLoader(t,r,n),Object.assign(this,e),this.onShown=this._datepicker.onShown,this.onHidden=this._datepicker.onHidden,this.isOpen$=new en.a(this.isOpen)}get isOpen(){return this._datepicker.isShown}set isOpen(e){this.isOpen$.next(e)}set bsValue(e){this._bsValue!==e&&(this._bsValue=e,this.bsValueChange.emit(e))}ngOnInit(){this.isDestroy$=new tn.a,this._datepicker.listen({outsideClick:this.outsideClick,outsideEsc:this.outsideEsc,triggers:this.triggers,show:()=>this.show()}),this.setConfig()}ngOnChanges(e){this._datepickerRef&&this._datepickerRef.instance&&(e.minDate&&(this._datepickerRef.instance.minDate=this.minDate),e.maxDate&&(this._datepickerRef.instance.maxDate=this.maxDate),e.datesDisabled&&(this._datepickerRef.instance.datesDisabled=this.datesDisabled),e.datesEnabled&&(this._datepickerRef.instance.datesEnabled=this.datesEnabled),e.daysDisabled&&(this._datepickerRef.instance.daysDisabled=this.daysDisabled),e.isDisabled&&(this._datepickerRef.instance.isDisabled=this.isDisabled),e.dateCustomClasses&&(this._datepickerRef.instance.dateCustomClasses=this.dateCustomClasses))}ngAfterViewInit(){this.isOpen$.pipe(Object(r.a)(e=>e!==this.isOpen),l(this.isDestroy$)).subscribe(()=>this.toggle())}show(){this._datepicker.isShown||(this.setConfig(),this._datepickerRef=this._datepicker.provide({provide:fr,useValue:this._config}).attach(Kr).to(this.container).position({attachment:this.placement}).show({placement:this.placement}),this._subs.push(this.bsValueChange.subscribe(e=>{this._datepickerRef.instance.value=e})),this._subs.push(this._datepickerRef.instance.valueChange.pipe(Object(r.a)(e=>e&&e[0]&&!!e[1])).subscribe(e=>{this.bsValue=e,this.hide()})))}setConfig(){this._config=Object.assign({},this._config,this.bsConfig,{value:this._bsValue,isDisabled:this.isDisabled,minDate:this.minDate||this.bsConfig&&this.bsConfig.minDate,maxDate:this.maxDate||this.bsConfig&&this.bsConfig.maxDate,daysDisabled:this.daysDisabled||this.bsConfig&&this.bsConfig.daysDisabled,dateCustomClasses:this.dateCustomClasses||this.bsConfig&&this.bsConfig.dateCustomClasses,datesDisabled:this.datesDisabled||this.bsConfig&&this.bsConfig.datesDisabled,datesEnabled:this.datesEnabled||this.bsConfig&&this.bsConfig.datesEnabled,ranges:this.bsConfig&&this.bsConfig.ranges})}hide(){this.isOpen&&this._datepicker.hide();for(const e of this._subs)e.unsubscribe();this._config.returnFocusToInput&&this._renderer.selectRootElement(this._elementRef.nativeElement).focus()}toggle(){if(this.isOpen)return this.hide();this.show()}ngOnDestroy(){this._datepicker.dispose(),this.isOpen$.next(!1),this.isDestroy$&&(this.isDestroy$.next(),this.isDestroy$.complete())}}return e.\u0275fac=function(t){return new(t||e)(i.Vb(Jr),i.Vb(i.o),i.Vb(i.K),i.Vb(i.U),i.Vb(ui))},e.\u0275dir=i.Qb({type:e,selectors:[["","bsDaterangepicker",""]],inputs:{placement:"placement",triggers:"triggers",outsideClick:"outsideClick",container:"container",outsideEsc:"outsideEsc",isOpen:"isOpen",bsValue:"bsValue",bsConfig:"bsConfig",isDisabled:"isDisabled",minDate:"minDate",maxDate:"maxDate",dateCustomClasses:"dateCustomClasses",daysDisabled:"daysDisabled",datesDisabled:"datesDisabled",datesEnabled:"datesEnabled"},outputs:{bsValueChange:"bsValueChange",onShown:"onShown",onHidden:"onHidden"},exportAs:["bsDaterangepicker"],features:[i.Fb()]}),e})();const na={provide:di.l,useExisting:Object(i.Z)(()=>ra),multi:!0},ia={provide:di.k,useExisting:Object(i.Z)(()=>ra),multi:!0};let ra=(()=>{class e{constructor(e,t,n,i,r){this._picker=e,this._localeService=t,this._renderer=n,this._elRef=i,this.changeDetection=r,this._onChange=Function.prototype,this._onTouched=Function.prototype,this._validatorChange=Function.prototype,this._picker.bsValueChange.subscribe(e=>{this._setInputValue(e),this._value!==e&&(this._value=e,this._onChange(e),this._onTouched()),this.changeDetection.markForCheck()}),this._localeService.localeChange.subscribe(()=>{this._setInputValue(this._value)})}onKeydownEvent(e){13!==e.keyCode&&"Enter"!==e.code||this.hide()}_setInputValue(e){let t="";if(e){const n=e[0]?Pt(e[0],this._picker._config.rangeInputFormat,this._localeService.currentLocale):"",i=e[1]?Pt(e[1],this._picker._config.rangeInputFormat,this._localeService.currentLocale):"";t=n&&i?n+this._picker._config.rangeSeparator+i:""}this._renderer.setProperty(this._elRef.nativeElement,"value",t)}onChange(e){this.writeValue(e.target.value),this._onChange(this._value),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus(),this._onTouched()}validate(e){const t=e.value,n=[];if(null==t||!b(t))return null;t.sort((e,t)=>e-t);const i=p(t[0]),r=p(t[1]);return i?r?(this._picker&&this._picker.minDate&&Vt(t[0],this._picker.minDate,"date")&&(t[0]=this._picker.minDate,n.push({bsDate:{minDate:this._picker.minDate}})),this._picker&&this._picker.maxDate&&Ot(t[1],this._picker.maxDate,"date")&&(t[1]=this._picker.maxDate,n.push({bsDate:{maxDate:this._picker.maxDate}})),n.length>0?(this.writeValue(t),n):void 0):{bsDate:{invalid:t[1]}}:{bsDate:{invalid:t[0]}}}registerOnValidatorChange(e){this._validatorChange=e}writeValue(e){if(e){const t=this._localeService.currentLocale;if(!at(t))throw new Error(`Locale "${t}" is not defined, please add it with "defineLocale(...)"`);let n=[];"string"==typeof e&&(n=e.split(this._picker._config.rangeSeparator)),Array.isArray(e)&&(n=e),this._value=n.map(e=>this._picker._config.useUtc?Lt(kt(e,this._picker._config.dateInputFormat,this._localeService.currentLocale)):kt(e,this._picker._config.dateInputFormat,this._localeService.currentLocale)).map(e=>isNaN(e.valueOf())?null:e)}else this._value=null;this._picker.bsValue=this._value}setDisabledState(e){this._picker.isDisabled=e,e?this._renderer.setAttribute(this._elRef.nativeElement,"disabled","disabled"):this._renderer.removeAttribute(this._elRef.nativeElement,"disabled")}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}onBlur(){this._onTouched()}hide(){this._picker.hide(),this._renderer.selectRootElement(this._elRef.nativeElement).blur(),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus()}}return e.\u0275fac=function(t){return new(t||e)(i.Vb(ta,1),i.Vb(wr),i.Vb(i.K),i.Vb(i.o),i.Vb(i.i))},e.\u0275dir=i.Qb({type:e,selectors:[["input","bsDaterangepicker",""]],hostBindings:function(e,t){1&e&&i.ic("change",(function(e){return t.onChange(e)}))("keyup.esc",(function(){return t.hide()}))("keydown",(function(e){return t.onKeydownEvent(e)}))("blur",(function(){return t.onBlur()}))},features:[i.Gb([na,ia])]}),e})(),aa=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Pb({type:e,selectors:[["bs-calendar-layout"]],ngContentSelectors:ki,decls:6,vars:2,consts:[["title","hey there",4,"ngIf"],[1,"bs-datepicker-head"],[1,"bs-datepicker-body"],[4,"ngIf"],["title","hey there"]],template:function(e,t){1&e&&(i.sc(Ti),i.Tc(0,Ii,1,0,"bs-current-date",0),i.ac(1,"div",1),i.rc(2),i.Zb(),i.ac(3,"div",2),i.rc(4,1),i.Zb(),i.Tc(5,Hi,1,0,"bs-timepicker",3)),2&e&&(i.tc("ngIf",!1),i.Hb(5),i.tc("ngIf",!1))},directives:function(){return[An.n,oa,ha]},encapsulation:2}),e})(),oa=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Pb({type:e,selectors:[["bs-current-date"]],inputs:{title:"title"},decls:3,vars:1,consts:[[1,"current-timedate"]],template:function(e,t){1&e&&(i.ac(0,"div",0),i.ac(1,"span"),i.Vc(2),i.Zb(),i.Zb()),2&e&&(i.Hb(2),i.Wc(t.title))},encapsulation:2}),e})(),sa=(()=>{class e{constructor(){this.onSelect=new i.q,this.customRange=null}selectFromRanges(e){this.onSelect.emit(e)}checkRange(){return!!this.ranges&&this.ranges.filter(e=>e.value===this.selectedRange).length>0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Pb({type:e,selectors:[["bs-custom-date-view"]],inputs:{ranges:"ranges",selectedRange:"selectedRange"},outputs:{onSelect:"onSelect"},decls:4,vars:3,consts:[[1,"bs-datepicker-predefined-btns"],["type","button","class","btn",3,"selected","click",4,"ngFor","ngForOf"],["type","button",1,"btn",3,"click"]],template:function(e,t){1&e&&(i.ac(0,"div",0),i.Tc(1,Li,2,3,"button",1),i.ac(2,"button",2),i.ic("click",(function(){return t.selectFromRanges(t.customRange)})),i.Vc(3," Custom Range "),i.Zb(),i.Zb()),2&e&&(i.Hb(1),i.tc("ngForOf",t.ranges),i.Hb(1),i.Mb("selected",!t.checkRange()))},directives:[An.m],encapsulation:2,changeDetection:0}),e})(),ca=(()=>{class e{constructor(e,t,n){this._config=e,this._elRef=t,this._renderer=n}ngOnInit(){this.day.isToday&&this._config&&this._config.customTodayClass&&this._renderer.addClass(this._elRef.nativeElement,this._config.customTodayClass),"string"==typeof this.day.customClasses&&this.day.customClasses.split(" ").filter(e=>e).forEach(e=>{this._renderer.addClass(this._elRef.nativeElement,e)})}}return e.\u0275fac=function(t){return new(t||e)(i.Vb(fr),i.Vb(i.o),i.Vb(i.K))},e.\u0275cmp=i.Pb({type:e,selectors:[["","bsDatepickerDayDecorator",""]],hostVars:16,hostBindings:function(e,t){2&e&&i.Mb("disabled",t.day.isDisabled)("is-highlighted",t.day.isHovered)("is-other-month",t.day.isOtherMonth)("is-active-other-month",t.day.isOtherMonthHovered)("in-range",t.day.isInRange)("select-start",t.day.isSelectionStart)("select-end",t.day.isSelectionEnd)("selected",t.day.isSelected)},inputs:{day:"day"},attrs:Fi,decls:1,vars:1,template:function(e,t){1&e&&i.Vc(0),2&e&&i.Wc(t.day.label)},encapsulation:2,changeDetection:0}),e})();const la=function(){var e={UP:0,DOWN:1};return e[e.UP]="UP",e[e.DOWN]="DOWN",e}();let ua=(()=>{class e{constructor(){this.onNavigate=new i.q,this.onViewMode=new i.q}navTo(e){this.onNavigate.emit(e?la.DOWN:la.UP)}view(e){this.onViewMode.emit(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Pb({type:e,selectors:[["bs-datepicker-navigation-view"]],inputs:{calendar:"calendar"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode"},decls:12,vars:8,consts:[["type","button",1,"previous",3,"disabled","click"],[4,"ngIf"],["type","button",1,"current",3,"click"],["type","button",1,"next",3,"disabled","click"]],template:function(e,t){1&e&&(i.ac(0,"button",0),i.ic("click",(function(){return t.navTo(!0)})),i.ac(1,"span"),i.Vc(2,"\u2039"),i.Zb(),i.Zb(),i.Tc(3,Oi,5,1,"ng-container",1),i.Vc(4," \u200b "),i.ac(5,"button",2),i.ic("click",(function(){return t.view("year")})),i.ac(6,"span"),i.Vc(7),i.Zb(),i.Zb(),i.Vc(8," \u200b "),i.ac(9,"button",3),i.ic("click",(function(){return t.navTo(!1)})),i.ac(10,"span"),i.Vc(11,"\u203a"),i.Zb(),i.Zb()),2&e&&(i.Sc("visibility",t.calendar.hideLeftArrow?"hidden":"visible"),i.tc("disabled",t.calendar.disableLeftArrow),i.Hb(3),i.tc("ngIf",t.calendar.monthTitle),i.Hb(4),i.Wc(t.calendar.yearTitle),i.Hb(2),i.Sc("visibility",t.calendar.hideRightArrow?"hidden":"visible"),i.tc("disabled",t.calendar.disableRightArrow))},directives:[An.n],encapsulation:2,changeDetection:0}),e})(),da=(()=>{class e{constructor(e){this._config=e,this.onNavigate=new i.q,this.onViewMode=new i.q,this.onSelect=new i.q,this.onHover=new i.q,this.onHoverWeek=new i.q}navigateTo(e){this.onNavigate.emit({step:{month:la.DOWN===e?-1:1}})}changeViewMode(e){this.onViewMode.emit(e)}selectDay(e){this.onSelect.emit(e)}selectWeek(e){if(!this._config.selectWeek&&!this._config.selectWeekDateRange)return;if(0===e.days.length)return;if(this._config.selectWeek&&e.days[0]&&!e.days[0].isDisabled&&this._config.selectFromOtherMonth)return void this.onSelect.emit(e.days[0]);const t=e.days.find(e=>this._config.selectFromOtherMonth?!e.isDisabled:!e.isOtherMonth&&!e.isDisabled);if(this.onSelect.emit(t),this._config.selectWeekDateRange){const t=e.days.slice(0).reverse().find(e=>this._config.selectFromOtherMonth?!e.isDisabled:!e.isOtherMonth&&!e.isDisabled);this.onSelect.emit(t)}}weekHoverHandler(e,t){(this._config.selectWeek||this._config.selectWeekDateRange)&&e.days.find(e=>this._config.selectFromOtherMonth?!e.isDisabled:!e.isOtherMonth&&!e.isDisabled)&&(e.isHovered=t,this.isWeekHovered=t,this.onHoverWeek.emit(e))}hoverDay(e,t){this._config.selectFromOtherMonth&&e.isOtherMonth&&(e.isOtherMonthHovered=t),this.onHover.emit({cell:e,isHovered:t})}}return e.\u0275fac=function(t){return new(t||e)(i.Vb(fr))},e.\u0275cmp=i.Pb({type:e,selectors:[["bs-days-calendar-view"]],inputs:{calendar:"calendar",options:"options"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover",onHoverWeek:"onHoverWeek"},decls:9,vars:4,consts:[[3,"calendar","onNavigate","onViewMode"],["role","grid",1,"days","weeks"],[4,"ngIf"],["aria-label","weekday",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],["aria-label","weekday"],["class","week",3,"active-week",4,"ngIf"],["role","gridcell",4,"ngFor","ngForOf"],[1,"week"],[3,"click","mouseenter","mouseleave"],["role","gridcell"],["bsDatepickerDayDecorator","",3,"day","click","mouseenter","mouseleave"]],template:function(e,t){1&e&&(i.ac(0,"bs-calendar-layout"),i.ac(1,"bs-datepicker-navigation-view",0),i.ic("onNavigate",(function(e){return t.navigateTo(e)}))("onViewMode",(function(e){return t.changeViewMode(e)})),i.Zb(),i.ac(2,"table",1),i.ac(3,"thead"),i.ac(4,"tr"),i.Tc(5,Vi,1,0,"th",2),i.Tc(6,Ei,2,1,"th",3),i.Zb(),i.Zb(),i.ac(7,"tbody"),i.Tc(8,Ni,3,2,"tr",4),i.Zb(),i.Zb(),i.Zb()),2&e&&(i.Hb(1),i.tc("calendar",t.calendar),i.Hb(4),i.tc("ngIf",t.options.showWeekNumbers),i.Hb(1),i.tc("ngForOf",t.calendar.weekdays),i.Hb(2),i.tc("ngForOf",t.calendar.weeks))},directives:[aa,ua,An.n,An.m,ca],encapsulation:2}),e})(),Aa=(()=>{class e{constructor(){this.onNavigate=new i.q,this.onViewMode=new i.q,this.onSelect=new i.q,this.onHover=new i.q}navigateTo(e){this.onNavigate.emit({step:{year:la.DOWN===e?-1:1}})}viewMonth(e){this.onSelect.emit(e)}hoverMonth(e,t){this.onHover.emit({cell:e,isHovered:t})}changeViewMode(e){this.onViewMode.emit(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Pb({type:e,selectors:[["bs-month-calendar-view"]],inputs:{calendar:"calendar"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover"},decls:5,vars:2,consts:[[3,"calendar","onNavigate","onViewMode"],["role","grid",1,"months"],[4,"ngFor","ngForOf"],["role","gridcell",3,"disabled","is-highlighted","click","mouseenter","mouseleave",4,"ngFor","ngForOf"],["role","gridcell",3,"click","mouseenter","mouseleave"]],template:function(e,t){1&e&&(i.ac(0,"bs-calendar-layout"),i.ac(1,"bs-datepicker-navigation-view",0),i.ic("onNavigate",(function(e){return t.navigateTo(e)}))("onViewMode",(function(e){return t.changeViewMode(e)})),i.Zb(),i.ac(2,"table",1),i.ac(3,"tbody"),i.Tc(4,Qi,2,1,"tr",2),i.Zb(),i.Zb(),i.Zb()),2&e&&(i.Hb(1),i.tc("calendar",t.calendar),i.Hb(3),i.tc("ngForOf",t.calendar.months))},directives:[aa,ua,An.m],encapsulation:2}),e})(),ha=(()=>{class e{constructor(){this.ampm="ok",this.hours=0,this.minutes=0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Pb({type:e,selectors:[["bs-timepicker"]],decls:16,vars:3,consts:[[1,"bs-timepicker-container"],[1,"bs-timepicker-controls"],["type","button",1,"bs-decrease"],["type","text","placeholder","00",3,"value"],["type","button",1,"bs-increase"],["type","button",1,"switch-time-format"],["src","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAKCAYAAABi8KSDAAABSElEQVQYV3XQPUvDUBQG4HNuagtVqc6KgouCv6GIuIntYBLB9hcIQpLStCAIV7DYmpTcRWcXqZio3Vwc/UCc/QEqfgyKGbr0I7nS1EiHeqYzPO/h5SD0jaxUZjmSLCB+OFb+UFINFwASAEAdpu9gaGXVyAHHFQBkHpKHc6a9dzECvADyY9sqlAMsK9W0jzxDXqeytr3mhQckxSji27TJJ5/rPmIpwJJq3HrtduriYOurv1a4i1p5HnhkG9OFymi0ReoO05cGwb+ayv4dysVygjeFmsP05f8wpZQ8fsdvfmuY9zjWSNqUtgYFVnOVReILYoBFzdQI5/GGFzNHhGbeZnopDGU29sZbscgldmC99w35VOATTycIMMcBXIfpSVGzZhA6C8hh00conln6VQ9TGgV32OEAKQC4DrBq7CJwd0ggR7Vq/rPrfgB+C3sGypY5DAAAAABJRU5ErkJggg==","alt",""]],template:function(e,t){1&e&&(i.ac(0,"div",0),i.ac(1,"div",1),i.ac(2,"button",2),i.Vc(3,"-"),i.Zb(),i.Wb(4,"input",3),i.ac(5,"button",4),i.Vc(6,"+"),i.Zb(),i.Zb(),i.ac(7,"div",1),i.ac(8,"button",2),i.Vc(9,"-"),i.Zb(),i.Wb(10,"input",3),i.ac(11,"button",4),i.Vc(12,"+"),i.Zb(),i.Zb(),i.ac(13,"button",5),i.Vc(14),i.Wb(15,"img",6),i.Zb(),i.Zb()),2&e&&(i.Hb(4),i.tc("value",t.hours),i.Hb(6),i.tc("value",t.minutes),i.Hb(4),i.Xc("",t.ampm," "))},encapsulation:2}),e})(),ma=(()=>{class e{constructor(){this.onNavigate=new i.q,this.onViewMode=new i.q,this.onSelect=new i.q,this.onHover=new i.q}navigateTo(e){this.onNavigate.emit({step:{year:16*(la.DOWN===e?-1:1)}})}viewYear(e){this.onSelect.emit(e)}hoverYear(e,t){this.onHover.emit({cell:e,isHovered:t})}changeViewMode(e){this.onViewMode.emit(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Pb({type:e,selectors:[["bs-years-calendar-view"]],inputs:{calendar:"calendar"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover"},decls:5,vars:2,consts:[[3,"calendar","onNavigate","onViewMode"],["role","grid",1,"years"],[4,"ngFor","ngForOf"],["role","gridcell",3,"disabled","is-highlighted","click","mouseenter","mouseleave",4,"ngFor","ngForOf"],["role","gridcell",3,"click","mouseenter","mouseleave"]],template:function(e,t){1&e&&(i.ac(0,"bs-calendar-layout"),i.ac(1,"bs-datepicker-navigation-view",0),i.ic("onNavigate",(function(e){return t.navigateTo(e)}))("onViewMode",(function(e){return t.changeViewMode(e)})),i.Zb(),i.ac(2,"table",1),i.ac(3,"tbody"),i.Tc(4,Gi,2,1,"tr",2),i.Zb(),i.Zb(),i.Zb()),2&e&&(i.Hb(1),i.tc("calendar",t.calendar),i.Hb(3),i.tc("ngForOf",t.calendar.years))},directives:[aa,ua,An.m],encapsulation:2}),e})(),pa=(()=>{class e{static forRoot(){return{ngModule:e,providers:[ui,ei,Nr,vr,fr,Jr,Gr,Xr,yr,wr]}}}return e.\u0275mod=i.Tb({type:e}),e.\u0275inj=i.Sb({factory:function(t){return new(t||e)},imports:[[An.c]]}),e})();class ga{format(e,t,n){return Pt(e,t,n)}}let fa=(()=>{class e{constructor(){this.selectionDone=new i.q(void 0),this.update=new i.q(!1),this.activeDateChange=new i.q(void 0),this.stepDay={},this.stepMonth={},this.stepYear={},this.modes=["day","month","year"],this.dateFormatter=new ga}get activeDate(){return this._activeDate}set activeDate(e){this._activeDate=e}ngOnInit(){this.uniqueId=`datepicker--${Math.floor(1e4*Math.random())}`,this.initDate?(this.activeDate=this.initDate,this.selectedDate=new Date(this.activeDate.valueOf()),this.update.emit(this.activeDate)):void 0===this.activeDate&&(this.activeDate=new Date)}ngOnChanges(e){this.refreshView(),this.checkIfActiveDateGotUpdated(e.activeDate)}checkIfActiveDateGotUpdated(e){if(e&&!e.firstChange){const t=e.previousValue;t&&t instanceof Date&&t.getTime()!==e.currentValue.getTime()&&this.activeDateChange.emit(this.activeDate)}}setCompareHandler(e,t){"day"===t&&(this.compareHandlerDay=e),"month"===t&&(this.compareHandlerMonth=e),"year"===t&&(this.compareHandlerYear=e)}compare(e,t){if(void 0!==e&&void 0!==t)return"day"===this.datepickerMode&&this.compareHandlerDay?this.compareHandlerDay(e,t):"month"===this.datepickerMode&&this.compareHandlerMonth?this.compareHandlerMonth(e,t):"year"===this.datepickerMode&&this.compareHandlerYear?this.compareHandlerYear(e,t):void 0}setRefreshViewHandler(e,t){"day"===t&&(this.refreshViewHandlerDay=e),"month"===t&&(this.refreshViewHandlerMonth=e),"year"===t&&(this.refreshViewHandlerYear=e)}refreshView(){"day"===this.datepickerMode&&this.refreshViewHandlerDay&&this.refreshViewHandlerDay(),"month"===this.datepickerMode&&this.refreshViewHandlerMonth&&this.refreshViewHandlerMonth(),"year"===this.datepickerMode&&this.refreshViewHandlerYear&&this.refreshViewHandlerYear()}dateFilter(e,t){return this.dateFormatter.format(e,t,this.locale)}isActive(e){return 0===this.compare(e.date,this.activeDate)&&(this.activeDateId=e.uid,!0)}createDateObject(e,t){const n={};return n.date=new Date(e.getFullYear(),e.getMonth(),e.getDate()),n.date=this.fixTimeZone(n.date),n.label=this.dateFilter(e,t),n.selected=0===this.compare(e,this.selectedDate),n.disabled=this.isDisabled(e),n.current=0===this.compare(e,new Date),n.customClass=this.getCustomClassForDate(n.date),n}split(e,t){const n=[];for(;e.length>0;)n.push(e.splice(0,t));return n}fixTimeZone(e){const t=e.getHours();return new Date(e.getFullYear(),e.getMonth(),e.getDate(),23===t?t+2:0)}select(e,t=!0){this.datepickerMode===this.minMode?(this.activeDate||(this.activeDate=new Date(0,0,0,0,0,0,0)),this.activeDate=new Date(e.getFullYear(),e.getMonth(),e.getDate()),this.activeDate=this.fixTimeZone(this.activeDate),t&&this.selectionDone.emit(this.activeDate)):(this.activeDate=new Date(e.getFullYear(),e.getMonth(),e.getDate()),this.activeDate=this.fixTimeZone(this.activeDate),t&&(this.datepickerMode=this.modes[this.modes.indexOf(this.datepickerMode)-1])),this.selectedDate=new Date(this.activeDate.valueOf()),this.update.emit(this.activeDate),this.refreshView()}move(e){let t;if("day"===this.datepickerMode&&(t=this.stepDay),"month"===this.datepickerMode&&(t=this.stepMonth),"year"===this.datepickerMode&&(t=this.stepYear),t){const n=this.activeDate.getFullYear()+e*(t.years||0),i=this.activeDate.getMonth()+e*(t.months||0);this.activeDate=new Date(n,i,1),this.refreshView(),this.activeDateChange.emit(this.activeDate)}}toggleMode(e){const t=e||1;this.datepickerMode===this.maxMode&&1===t||this.datepickerMode===this.minMode&&-1===t||(this.datepickerMode=this.modes[this.modes.indexOf(this.datepickerMode)+t],this.refreshView())}getCustomClassForDate(e){if(!this.customClass)return"";const t=this.customClass.find(t=>t.date.valueOf()===e.valueOf()&&t.mode===this.datepickerMode,this);return void 0===t?"":t.clazz}compareDateDisabled(e,t){if(void 0!==e&&void 0!==t)return"day"===e.mode&&this.compareHandlerDay?this.compareHandlerDay(e.date,t):"month"===e.mode&&this.compareHandlerMonth?this.compareHandlerMonth(e.date,t):"year"===e.mode&&this.compareHandlerYear?this.compareHandlerYear(e.date,t):void 0}isDisabled(e){let t=!1;return this.dateDisabled&&this.dateDisabled.forEach(n=>{0===this.compareDateDisabled(n,e)&&(t=!0)}),this.dayDisabled&&(t=t||this.dayDisabled.indexOf(e.getDay())>-1),t||this.minDate&&this.compare(e,this.minDate)<0||this.maxDate&&this.compare(e,this.maxDate)>0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Pb({type:e,selectors:[["datepicker-inner"]],inputs:{activeDate:"activeDate",datepickerMode:"datepickerMode",locale:"locale",startingDay:"startingDay",yearRange:"yearRange",minDate:"minDate",maxDate:"maxDate",minMode:"minMode",maxMode:"maxMode",showWeeks:"showWeeks",formatDay:"formatDay",formatMonth:"formatMonth",formatYear:"formatYear",formatDayHeader:"formatDayHeader",formatDayTitle:"formatDayTitle",formatMonthTitle:"formatMonthTitle",onlyCurrentMonth:"onlyCurrentMonth",shortcutPropagation:"shortcutPropagation",customClass:"customClass",monthColLimit:"monthColLimit",yearColLimit:"yearColLimit",dateDisabled:"dateDisabled",dayDisabled:"dayDisabled",initDate:"initDate"},outputs:{selectionDone:"selectionDone",update:"update",activeDateChange:"activeDateChange"},features:[i.Fb()],ngContentSelectors:Xi,decls:1,vars:1,consts:[["class","well well-sm bg-faded p-a card","role","application",4,"ngIf"],["role","application",1,"well","well-sm","bg-faded","p-a","card"]],template:function(e,t){1&e&&(i.sc(),i.Tc(0,Wi,2,0,"div",0)),2&e&&i.tc("ngIf",t.datepickerMode)},directives:[An.n],encapsulation:2}),e})(),ba=(()=>{class e{constructor(){this.locale="en",this.datepickerMode="day",this.startingDay=0,this.yearRange=20,this.minMode="day",this.maxMode="year",this.showWeeks=!0,this.formatDay="DD",this.formatMonth="MMMM",this.formatYear="YYYY",this.formatDayHeader="dd",this.formatDayTitle="MMMM YYYY",this.formatMonthTitle="YYYY",this.onlyCurrentMonth=!1,this.monthColLimit=3,this.yearColLimit=5,this.shortcutPropagation=!1}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Rb({token:e,factory:e.\u0275fac}),e})();const va={provide:di.l,useExisting:Object(i.Z)(()=>wa),multi:!0};let wa=(()=>{class e{constructor(e){this.datepickerMode="day",this.showWeeks=!0,this.selectionDone=new i.q(void 0),this.activeDateChange=new i.q(void 0),this.onChange=Function.prototype,this.onTouched=Function.prototype,this._now=new Date,this.config=e,this.configureOptions()}get activeDate(){return this._activeDate||this._now}set activeDate(e){this._activeDate=e}configureOptions(){Object.assign(this,this.config)}onUpdate(e){this.activeDate=e,this.onChange(e)}onSelectionDone(e){this.selectionDone.emit(e)}onActiveDateChange(e){this.activeDateChange.emit(e)}writeValue(e){if(0!==this._datePicker.compare(e,this._activeDate))return e&&e instanceof Date?(this.activeDate=e,void this._datePicker.select(e,!1)):void(this.activeDate=e?new Date(e):void 0)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}}return e.\u0275fac=function(t){return new(t||e)(i.Vb(ba))},e.\u0275cmp=i.Pb({type:e,selectors:[["datepicker"]],viewQuery:function(e,t){var n;1&e&&i.Rc(fa,!0),2&e&&i.Jc(n=i.jc())&&(t._datePicker=n.first)},inputs:{datepickerMode:"datepickerMode",showWeeks:"showWeeks",activeDate:"activeDate",initDate:"initDate",minDate:"minDate",maxDate:"maxDate",minMode:"minMode",maxMode:"maxMode",formatDay:"formatDay",formatMonth:"formatMonth",formatYear:"formatYear",formatDayHeader:"formatDayHeader",formatDayTitle:"formatDayTitle",formatMonthTitle:"formatMonthTitle",startingDay:"startingDay",yearRange:"yearRange",onlyCurrentMonth:"onlyCurrentMonth",shortcutPropagation:"shortcutPropagation",monthColLimit:"monthColLimit",yearColLimit:"yearColLimit",customClass:"customClass",dateDisabled:"dateDisabled",dayDisabled:"dayDisabled"},outputs:{selectionDone:"selectionDone",activeDateChange:"activeDateChange"},features:[i.Gb([va])],decls:4,vars:24,consts:[[3,"activeDate","locale","datepickerMode","initDate","minDate","maxDate","minMode","maxMode","showWeeks","formatDay","formatMonth","formatYear","formatDayHeader","formatDayTitle","formatMonthTitle","startingDay","yearRange","customClass","dateDisabled","dayDisabled","onlyCurrentMonth","shortcutPropagation","monthColLimit","yearColLimit","update","selectionDone","activeDateChange"],["tabindex","0"]],template:function(e,t){1&e&&(i.ac(0,"datepicker-inner",0),i.ic("update",(function(e){return t.onUpdate(e)}))("selectionDone",(function(e){return t.onSelectionDone(e)}))("activeDateChange",(function(e){return t.onActiveDateChange(e)})),i.Wb(1,"daypicker",1),i.Wb(2,"monthpicker",1),i.Wb(3,"yearpicker",1),i.Zb()),2&e&&i.tc("activeDate",t.activeDate)("locale",t.config.locale)("datepickerMode",t.datepickerMode)("initDate",t.initDate)("minDate",t.minDate)("maxDate",t.maxDate)("minMode",t.minMode)("maxMode",t.maxMode)("showWeeks",t.showWeeks)("formatDay",t.formatDay)("formatMonth",t.formatMonth)("formatYear",t.formatYear)("formatDayHeader",t.formatDayHeader)("formatDayTitle",t.formatDayTitle)("formatMonthTitle",t.formatMonthTitle)("startingDay",t.startingDay)("yearRange",t.yearRange)("customClass",t.customClass)("dateDisabled",t.dateDisabled)("dayDisabled",t.dayDisabled)("onlyCurrentMonth",t.onlyCurrentMonth)("shortcutPropagation",t.shortcutPropagation)("monthColLimit",t.monthColLimit)("yearColLimit",t.yearColLimit)},directives:function(){return[fa,ya,_a,Ca]},encapsulation:2}),e})(),ya=(()=>{class e{constructor(e){this.labels=[],this.rows=[],this.weekNumbers=[],this.datePicker=e}get isBs4(){return!si()}ngOnInit(){const e=this;this.datePicker.stepDay={months:1},this.datePicker.setRefreshViewHandler((function(){const t=this.activeDate.getFullYear(),n=this.activeDate.getMonth(),i=new Date(t,n,1),r=this.startingDay-i.getDay(),a=r>0?7-r:-r,o=new Date(i.getTime());a>0&&o.setDate(1-a);const s=e.getDates(o,42),c=[];for(let e=0;e<42;e++){const t=this.createDateObject(s[e],this.formatDay);t.secondary=s[e].getMonth()!==n,t.uid=this.uniqueId+"-"+e,c[e]=t}e.labels=[];for(let l=0;l<7;l++)e.labels[l]={},e.labels[l].abbr=this.dateFilter(c[l].date,this.formatDayHeader),e.labels[l].full=this.dateFilter(c[l].date,"EEEE");if(e.title=this.dateFilter(this.activeDate,this.formatDayTitle),e.rows=this.split(c,7),this.showWeeks){e.weekNumbers=[];const t=(11-this.startingDay)%7,n=e.rows.length;for(let i=0;i{class e{constructor(e){this.rows=[],this.datePicker=e}get isBs4(){return!si()}ngOnInit(){const e=this;this.datePicker.stepMonth={years:1},this.datePicker.setRefreshViewHandler((function(){const t=new Array(12),n=this.activeDate.getFullYear();let i;for(let e=0;e<12;e++)i=new Date(n,e,1),i=this.fixTimeZone(i),t[e]=this.createDateObject(i,this.formatMonth),t[e].uid=this.uniqueId+"-"+e;e.title=this.dateFilter(this.activeDate,this.formatMonthTitle),e.rows=this.split(t,e.datePicker.monthColLimit)}),"month"),this.datePicker.setCompareHandler((function(e,t){const n=new Date(e.getFullYear(),e.getMonth()),i=new Date(t.getFullYear(),t.getMonth());return n.getTime()-i.getTime()}),"month"),this.datePicker.refreshView()}}return e.\u0275fac=function(t){return new(t||e)(i.Vb(fa))},e.\u0275cmp=i.Pb({type:e,selectors:[["monthpicker"]],decls:1,vars:1,consts:[["role","grid",4,"ngIf"],["role","grid"],["type","button","tabindex","-1",1,"btn","btn-default","btn-sm","pull-left","float-left",3,"click"],["type","button","tabindex","-1",1,"btn","btn-default","btn-sm",2,"width","100%",3,"id","disabled","ngClass","click"],["type","button","tabindex","-1",1,"btn","btn-default","btn-sm","pull-right","float-right",3,"click"],[4,"ngFor","ngForOf"],["class","text-center","role","gridcell",3,"ngClass",4,"ngFor","ngForOf"],["role","gridcell",1,"text-center",3,"ngClass"],["type","button","tabindex","-1",1,"btn","btn-default",2,"min-width","100%",3,"ngClass","disabled","click"],[3,"ngClass"]],template:function(e,t){1&e&&i.Tc(0,hr,15,8,"table",0),2&e&&i.tc("ngIf","month"===t.datePicker.datepickerMode)},directives:[An.n,An.l,An.m],styles:["[_nghost-%COMP%] .btn-info[_ngcontent-%COMP%] .text-success[_ngcontent-%COMP%] {\n color: #fff !important;\n }"]}),e})(),Ca=(()=>{class e{constructor(e){this.rows=[],this.datePicker=e}get isBs4(){return!si()}ngOnInit(){const e=this;this.datePicker.stepYear={years:this.datePicker.yearRange},this.datePicker.setRefreshViewHandler((function(){const t=new Array(this.yearRange);let n;const i=e.getStartingYear(this.activeDate.getFullYear());for(let e=0;e>>1|(21845&v)<<1;b[v]=((65280&(w=(61680&(w=(52428&w)>>>2|(13107&w)<<2))>>>4|(3855&w)<<4))>>>8|(255&w)<<8)>>>1}var y=function(e,t,n){for(var i=e.length,r=0,a=new o(t);r>>l]=u}else for(s=new o(i),r=0;r>>15-e[r];return s},_=new a(288);for(v=0;v<144;++v)_[v]=8;for(v=144;v<256;++v)_[v]=9;for(v=256;v<280;++v)_[v]=7;for(v=280;v<288;++v)_[v]=8;var C=new a(32);for(v=0;v<32;++v)C[v]=5;var D=y(_,9,0),M=y(_,9,1),x=y(C,5,0),P=y(C,5,1),S=function(e){for(var t=e[0],n=1;nt&&(t=e[n]);return t},B=function(e,t,n){var i=t/8>>0;return(e[i]|e[i+1]<<8)>>>(7&t)&n},I=function(e,t){var n=t/8>>0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>>(7&t)},H=function(e){return(e/8>>0)+(7&e&&1)},T=function(e,t,n){(null==t||t<0)&&(t=0),(null==n||n>e.length)&&(n=e.length);var i=new(e instanceof o?o:e instanceof s?s:a)(n-t);return i.set(e.subarray(t,n)),i},k=function(e,t,n){var i=t/8>>0;e[i]|=n<<=7&t,e[i+1]|=n>>>8},L=function(e,t,n){var i=t/8>>0;e[i]|=n<<=7&t,e[i+1]|=n>>>8,e[i+2]|=n>>>16},F=function(e,t){for(var n=[],i=0;im&&(m=s[i].s);var p=new o(m+1),g=O(n[A-1],p,0);if(g>t){i=0;var f=0,b=g-t,v=1<t))break;f+=v-(1<>>=b;f>0;){var y=s[i].s;p[y]=0&&f;--i){var _=s[i].s;p[_]==t&&(--p[_],++f)}g=t}return[new a(p),g]},O=function(e,t,n){return-1==e.s?Math.max(O(e.l,t,n+1),O(e.r,t,n+1)):t[e.s]=n},V=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new o(++t),i=0,r=e[0],a=1,s=function(e){n[i++]=e},c=1;c<=t;++c)if(e[c]==r&&c!=t)++a;else{if(!r&&a>2){for(;a>138;a-=138)s(32754);a>2&&(s(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(s(r),--a;a>6;a-=6)s(8304);a>2&&(s(a-3<<5|8208),a=0)}for(;a--;)s(r);a=1,r=e[c]}return[n.subarray(0,i),t]},E=function(e,t){for(var n=0,i=0;i>>8,e[r+2]=255^e[r],e[r+3]=255^e[r+1];for(var a=0;a4&&!N[u[Q-1]];--Q);var R,G,W,X,z=h+5<<3,K=E(r,_)+E(a,C)+s,q=E(r,g)+E(a,v)+s+14+3*Q+E(T,N)+(2*T[16]+3*T[17]+7*T[18]);if(z<=K&&z<=q)return U(t,m,e.subarray(A,A+h));if(k(t,m,1+(q15&&(k(t,m,ee[O]>>>5&127),m+=ee[O]>>>12)}}else R=D,G=_,W=x,X=C;for(O=0;O255){var te;L(t,m,R[257+(te=i[O]>>>18&31)]),m+=G[te+257],te>7&&(k(t,m,i[O]>>>23&31),m+=c[te]);var ne=31&i[O];L(t,m,W[ne]),m+=X[ne],ne>3&&(L(t,m,i[O]>>>5&8191),m+=l[ne])}else L(t,m,R[i[O]]),m+=G[i[O]];return L(t,m,R[256]),m+G[256]},N=new s([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),j=new a(0);function Q(e,t){void 0===t&&(t={});var n=function(){var e=1,t=0;return{p:function(n){for(var i=e,r=t,a=n.length,o=0;o!=a;){for(var s=Math.min(o+5552,a);o>>8<<16|(255&t)<<8|t>>>8)+2*((255&e)<<23)}}}();n.p(e);var i,r,u,d,A,h=(u=2,d=4,function(e,t,n,i,r,u){var d=e.length,A=new a(i+d+5*(1+Math.floor(d/7e3))+r),h=A.subarray(i,A.length-r),p=0;if(!t||d<8)for(var g=0;g<=d;g+=65535){var b=g+65535;b>>13,y=8191&v,_=(1<7e3||F>24576)&&G>423){p=Z(e,h,0,S,B,I,L,F,V,g-V,p),F=k=L=0,V=g;for(var W=0;W<286;++W)B[W]=0;for(W=0;W<30;++W)I[W]=0}var X=2,z=0,K=y,q=Q-R&32767;if(G>2&&E==P(g-q))for(var Y=Math.min(w,G)-1,$=Math.min(32767,g),J=Math.min(258,G);q<=$&&--K&&Q!=R;){if(e[g+X]==e[g+X-q]){for(var ee=0;eeX){if(X=ee,z=q,ee>Y)break;var te=Math.min(q,ee-2),ne=0;for(W=0;Wne&&(ne=re,R=ie)}}}q+=(Q=R)-(R=C[Q])+32768&32767}if(z){S[F++]=268435456|m[X]<<18|f[z];var ae=31&m[X],oe=31&f[z];L+=c[ae]+l[oe],++B[257+ae],++I[oe],O=g+X,++k}else S[F++]=e[g],++B[e[g]]}}p=Z(e,h,u,S,B,I,L,F,V,g-V,p),u||(p=U(h,p,j))}return T(A,0,i+H(p)+r)}(i=e,null==(r=t).level?6:r.level,null==r.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(i.length)))):12+r.mem,u,d,!A));return function(e,t){var n=t.level,i=0==n?0:n<6?1:9==n?3:2;e[0]=120,e[1]=i<<6|(i?32-2*i:1)}(h,t),function(e,t,n){for(;n;++t)e[t]=n,n>>>=8}(h,h.length-4,n.d()),h}n.d(t,"b",(function(){return Ce}));var R=function(){return"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this}();function G(){R.console&&"function"==typeof R.console.log&&R.console.log.apply(R.console,arguments)}var W={log:G,warn:function(e){R.console&&("function"==typeof R.console.warn?R.console.warn.apply(R.console,arguments):G.call(null,arguments))},error:function(e){R.console&&("function"==typeof R.console.error?R.console.error.apply(R.console,arguments):G(e))}};function X(e,t,n){var i=new XMLHttpRequest;i.open("GET",e),i.responseType="blob",i.onload=function(){$(i.response,t,n)},i.onerror=function(){W.error("could not download file")},i.send()}function z(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return t.status>=200&&t.status<=299}function K(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var q,Y,$=R.saveAs||("object"!==("undefined"==typeof window?"undefined":r()(window))||window!==R?function(){}:"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype?function(e,t,n){var i=R.URL||R.webkitURL,r=document.createElement("a");r.download=t=t||e.name||"download",r.rel="noopener","string"==typeof e?(r.href=e,r.origin!==location.origin?z(r.href)?X(e,t,n):K(r,r.target="_blank"):K(r)):(r.href=i.createObjectURL(e),setTimeout((function(){i.revokeObjectURL(r.href)}),4e4),setTimeout((function(){K(r)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,t,n){if(t=t||e.name||"download","string"==typeof e)if(z(e))X(e,t,n);else{var i=document.createElement("a");i.href=e,i.target="_blank",setTimeout((function(){K(i)}))}else navigator.msSaveOrOpenBlob(function(e,t){return void 0===t?t={autoBom:!1}:"object"!==r()(t)&&(W.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e}(e,n),t)}:function(e,t,n,i){if((i=i||open("","_blank"))&&(i.document.title=i.document.body.innerText="downloading..."),"string"==typeof e)return X(e,t,n);var a="application/octet-stream"===e.type,o=/constructor/i.test(R.HTMLElement)||R.safari,s=/CriOS\/[\d]+/.test(navigator.userAgent);if((s||a&&o)&&"object"===("undefined"==typeof FileReader?"undefined":r()(FileReader))){var c=new FileReader;c.onloadend=function(){var e=c.result;e=s?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),i?i.location.href=e:location=e,i=null},c.readAsDataURL(e)}else{var l=R.URL||R.webkitURL,u=l.createObjectURL(e);i?i.location=u:location.href=u,i=null,setTimeout((function(){l.revokeObjectURL(u)}),4e4)}});function J(e){var t;e=e||"",this.ok=!1,"#"==e.charAt(0)&&(e=e.substr(1,6)),e={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[e=(e=e.replace(/ /g,"")).toLowerCase()]||e;for(var n=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}}],i=0;i255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var e=this.r.toString(16),t=this.g.toString(16),n=this.b.toString(16);return 1==e.length&&(e="0"+e),1==t.length&&(t="0"+t),1==n.length&&(n="0"+n),"#"+e+t+n}}function ee(e,t){var n=e[0],i=e[1],r=e[2],a=e[3];n=ne(n,i,r,a,t[0],7,-680876936),a=ne(a,n,i,r,t[1],12,-389564586),r=ne(r,a,n,i,t[2],17,606105819),i=ne(i,r,a,n,t[3],22,-1044525330),n=ne(n,i,r,a,t[4],7,-176418897),a=ne(a,n,i,r,t[5],12,1200080426),r=ne(r,a,n,i,t[6],17,-1473231341),i=ne(i,r,a,n,t[7],22,-45705983),n=ne(n,i,r,a,t[8],7,1770035416),a=ne(a,n,i,r,t[9],12,-1958414417),r=ne(r,a,n,i,t[10],17,-42063),i=ne(i,r,a,n,t[11],22,-1990404162),n=ne(n,i,r,a,t[12],7,1804603682),a=ne(a,n,i,r,t[13],12,-40341101),r=ne(r,a,n,i,t[14],17,-1502002290),n=ie(n,i=ne(i,r,a,n,t[15],22,1236535329),r,a,t[1],5,-165796510),a=ie(a,n,i,r,t[6],9,-1069501632),r=ie(r,a,n,i,t[11],14,643717713),i=ie(i,r,a,n,t[0],20,-373897302),n=ie(n,i,r,a,t[5],5,-701558691),a=ie(a,n,i,r,t[10],9,38016083),r=ie(r,a,n,i,t[15],14,-660478335),i=ie(i,r,a,n,t[4],20,-405537848),n=ie(n,i,r,a,t[9],5,568446438),a=ie(a,n,i,r,t[14],9,-1019803690),r=ie(r,a,n,i,t[3],14,-187363961),i=ie(i,r,a,n,t[8],20,1163531501),n=ie(n,i,r,a,t[13],5,-1444681467),a=ie(a,n,i,r,t[2],9,-51403784),r=ie(r,a,n,i,t[7],14,1735328473),n=re(n,i=ie(i,r,a,n,t[12],20,-1926607734),r,a,t[5],4,-378558),a=re(a,n,i,r,t[8],11,-2022574463),r=re(r,a,n,i,t[11],16,1839030562),i=re(i,r,a,n,t[14],23,-35309556),n=re(n,i,r,a,t[1],4,-1530992060),a=re(a,n,i,r,t[4],11,1272893353),r=re(r,a,n,i,t[7],16,-155497632),i=re(i,r,a,n,t[10],23,-1094730640),n=re(n,i,r,a,t[13],4,681279174),a=re(a,n,i,r,t[0],11,-358537222),r=re(r,a,n,i,t[3],16,-722521979),i=re(i,r,a,n,t[6],23,76029189),n=re(n,i,r,a,t[9],4,-640364487),a=re(a,n,i,r,t[12],11,-421815835),r=re(r,a,n,i,t[15],16,530742520),n=ae(n,i=re(i,r,a,n,t[2],23,-995338651),r,a,t[0],6,-198630844),a=ae(a,n,i,r,t[7],10,1126891415),r=ae(r,a,n,i,t[14],15,-1416354905),i=ae(i,r,a,n,t[5],21,-57434055),n=ae(n,i,r,a,t[12],6,1700485571),a=ae(a,n,i,r,t[3],10,-1894986606),r=ae(r,a,n,i,t[10],15,-1051523),i=ae(i,r,a,n,t[1],21,-2054922799),n=ae(n,i,r,a,t[8],6,1873313359),a=ae(a,n,i,r,t[15],10,-30611744),r=ae(r,a,n,i,t[6],15,-1560198380),i=ae(i,r,a,n,t[13],21,1309151649),n=ae(n,i,r,a,t[4],6,-145523070),a=ae(a,n,i,r,t[11],10,-1120210379),r=ae(r,a,n,i,t[2],15,718787259),i=ae(i,r,a,n,t[9],21,-343485551),e[0]=he(n,e[0]),e[1]=he(i,e[1]),e[2]=he(r,e[2]),e[3]=he(a,e[3])}function te(e,t,n,i,r,a){return t=he(he(t,e),he(i,a)),he(t<>>32-r,n)}function ne(e,t,n,i,r,a,o){return te(t&n|~t&i,e,t,r,a,o)}function ie(e,t,n,i,r,a,o){return te(t&i|n&~i,e,t,r,a,o)}function re(e,t,n,i,r,a,o){return te(t^n^i,e,t,r,a,o)}function ae(e,t,n,i,r,a,o){return te(n^(t|~i),e,t,r,a,o)}function oe(e){var t,n=e.length,i=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=e.length;t+=64)ee(i,se(e.substring(t-64,t)));e=e.substring(t-64);var r=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t>2]|=e.charCodeAt(t)<<(t%4<<3);if(r[t>>2]|=128<<(t%4<<3),t>55)for(ee(i,r),t=0;t<16;t++)r[t]=0;return r[14]=8*n,ee(i,r),i}function se(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return n}q=R.atob.bind(R),Y=R.btoa.bind(R);var ce="0123456789abcdef".split("");function le(e){for(var t="",n=0;n<4;n++)t+=ce[e>>8*n+4&15]+ce[e>>8*n&15];return t}function ue(e){return String.fromCharCode((255&e)>>0,(65280&e)>>8,(16711680&e)>>16,(4278190080&e)>>24)}function de(e){return oe(e).map(ue).join("")}var Ae="5d41402abc4b2a76b9719d911017c592"!=function(e){for(var t=0;t>16)+(t>>16)+(n>>16)<<16|65535&n}return e+t&4294967295}function me(e,t){var n,i,r;if(e!==n){for(var a=(r=e,new Array(1+(256/e.length>>0)+1).join(r)),o=[],s=0;s<256;s++)o[s]=s;var c=0;for(s=0;s<256;s++){var l=o[s];c=(c+l+a.charCodeAt(s))%256,o[s]=o[c],o[c]=l}n=e,i=o}else o=i;var u=t.length,d=0,A=0,h="";for(s=0;s\x80/\f\xa9\xfedSiz";var a=(t+this.padding).substr(0,32),o=(n+this.padding).substr(0,32);this.O=this.processOwnerPassword(a,o),this.P=-(1+(255^r)),this.encryptionKey=de(a+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(i)).substr(0,5),this.U=me(this.encryptionKey,this.padding)}function fe(e){if(/[^\u0000-\u00ff]/.test(e))throw new Error("Invalid PDF Name Object: "+e+", Only accept ASCII characters.");for(var t="",n=e.length,i=0;i126?"#"+("0"+r.toString(16)).slice(-2):e[i]}return t}function be(e){if("object"!==r()(e))throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var t={};this.subscribe=function(e,n,i){if(i=i||!1,"string"!=typeof e||"function"!=typeof n||"boolean"!=typeof i)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");t.hasOwnProperty(e)||(t[e]={});var r=Math.random().toString(35);return t[e][r]=[n,!!i],r},this.unsubscribe=function(e){for(var n in t)if(t[n][e])return delete t[n][e],0===Object.keys(t[n]).length&&delete t[n],!0;return!1},this.publish=function(n){if(t.hasOwnProperty(n)){var i=Array.prototype.slice.call(arguments,1),r=[];for(var a in t[n]){var o=t[n][a];try{o[0].apply(e,i)}catch(n){R.console&&W.error("jsPDF PubSub Error",n.message,n)}o[1]&&r.push(a)}r.length&&r.forEach(this.unsubscribe)}},this.getTopics=function(){return t}}function ve(e){if(!(this instanceof ve))return new ve(e);var t="opacity,stroke-opacity".split(",");for(var n in e)e.hasOwnProperty(n)&&t.indexOf(n)>=0&&(this[n]=e[n]);this.id="",this.objectNumber=-1}function we(e,t){this.gState=e,this.matrix=t,this.id="",this.objectNumber=-1}function ye(e,t,n,i,r){if(!(this instanceof ye))return new ye(e,t,n,i,r);this.type="axial"===e?2:3,this.coords=t,this.colors=n,we.call(this,i,r)}function _e(e,t,n,i,r){if(!(this instanceof _e))return new _e(e,t,n,i,r);this.boundingBox=e,this.xStep=t,this.yStep=n,this.stream="",this.cloneIndex=0,we.call(this,i,r)}function Ce(e){var t,n="string"==typeof arguments[0]?arguments[0]:"p",i=arguments[1],a=arguments[2],o=arguments[3],s=[],c=1,l=16,u="S",d=null;"object"===r()(e=e||{})&&(n=e.orientation,i=e.unit||i,a=e.format||a,o=e.compress||e.compressPdf||o,null!==(d=e.encryption||null)&&(d.userPassword=d.userPassword||"",d.ownerPassword=d.ownerPassword||"",d.userPermissions=d.userPermissions||[]),c="number"==typeof e.userUnit?Math.abs(e.userUnit):1,void 0!==e.precision&&(t=e.precision),void 0!==e.floatPrecision&&(l=e.floatPrecision),u=e.defaultPathOperation||"S"),s=e.filters||(!0===o?["FlateEncode"]:s),i=i||"mm",n=(""+(n||"P")).toLowerCase();var A=e.putOnlyUsedFonts||!1,h={},m={internal:{},__private__:{}};m.__private__.PubSub=be;var p="1.3",g=m.__private__.getPdfVersion=function(){return p};m.__private__.setPdfVersion=function(e){p=e};var f={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};m.__private__.getPageFormats=function(){return f};var b=m.__private__.getPageFormat=function(e){return f[e]};a=a||"a4";var v={COMPAT:"compat",ADVANCED:"advanced"},w=v.COMPAT;function y(){this.saveGraphicsState(),re(new Ge(xe,0,0,-xe,0,Zn()*xe).toString()+" cm"),this.setFontSize(this.getFontSize()/xe),u="n",w=v.ADVANCED}function _(){this.restoreGraphicsState(),u="S",w=v.COMPAT}var C=m.__private__.combineFontStyleAndFontWeight=function(e,t){if("bold"==e&&"normal"==t||"bold"==e&&400==t||"normal"==e&&"italic"==t||"bold"==e&&"italic"==t)throw new Error("Invalid Combination of fontweight and fontstyle");return t&&(e=400==t||"normal"===t?"italic"===e?"italic":"normal":700!=t&&"bold"!==t||"normal"!==e?(700==t?"bold":t)+""+e:"bold"),e};m.advancedAPI=function(e){var t=w===v.COMPAT;return t&&y.call(this),"function"!=typeof e||(e(this),t&&_.call(this)),this},m.compatAPI=function(e){var t=w===v.ADVANCED;return t&&_.call(this),"function"!=typeof e||(e(this),t&&y.call(this)),this},m.isAdvancedAPI=function(){return w===v.ADVANCED};var D,M=function(e){if(w!==v.ADVANCED)throw new Error(e+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},x=m.roundToPrecision=m.__private__.roundToPrecision=function(e,n){var i=t||n;if(isNaN(e)||isNaN(i))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return e.toFixed(i).replace(/0+$/,"")};D=m.hpf=m.__private__.hpf="number"==typeof l?function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return x(e,l)}:"smart"===l?function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return x(e,e>-1&&e<1?16:5)}:function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return x(e,16)};var P=m.f2=m.__private__.f2=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f2");return x(e,2)},S=m.__private__.f3=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f3");return x(e,3)},B=m.scale=m.__private__.scale=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.scale");return w===v.COMPAT?e*xe:w===v.ADVANCED?e:void 0},I=function(e){return w===v.COMPAT?Zn()-e:w===v.ADVANCED?e:void 0},H=function(e){return B(I(e))};m.__private__.setPrecision=m.setPrecision=function(e){"number"==typeof parseInt(e,10)&&(t=parseInt(e,10))};var T,k="00000000000000000000000000000000",L=m.__private__.getFileId=function(){return k},F=m.__private__.setFileId=function(e){return k=void 0!==e&&/^[a-fA-F0-9]{32}$/.test(e)?e.toUpperCase():k.split("").map((function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))})).join(""),null!==d&&(Xt=new ge(d.userPermissions,d.userPassword,d.ownerPassword,k)),k};m.setFileId=function(e){return F(e),this},m.getFileId=function(){return L()};var O=m.__private__.convertDateToPDFDate=function(e){var t=e.getTimezoneOffset(),n=t<0?"+":"-",i=Math.floor(Math.abs(t/60)),r=Math.abs(t%60),a=[n,N(i),"'",N(r),"'"].join("");return["D:",e.getFullYear(),N(e.getMonth()+1),N(e.getDate()),N(e.getHours()),N(e.getMinutes()),N(e.getSeconds()),a].join("")},V=m.__private__.convertPDFDateToDate=function(e){var t=parseInt(e.substr(2,4),10),n=parseInt(e.substr(6,2),10)-1,i=parseInt(e.substr(8,2),10),r=parseInt(e.substr(10,2),10),a=parseInt(e.substr(12,2),10),o=parseInt(e.substr(14,2),10);return new Date(t,n,i,r,a,o,0)},E=m.__private__.setCreationDate=function(e){var t;if(void 0===e&&(e=new Date),e instanceof Date)t=O(e);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(e))throw new Error("Invalid argument passed to jsPDF.setCreationDate");t=e}return T=t},U=m.__private__.getCreationDate=function(e){var t=T;return"jsDate"===e&&(t=V(T)),t};m.setCreationDate=function(e){return E(e),this},m.getCreationDate=function(e){return U(e)};var Z,N=m.__private__.padd2=function(e){return("0"+parseInt(e)).slice(-2)},j=m.__private__.padd2Hex=function(e){return("00"+(e=e.toString())).substr(e.length)},Q=0,G=[],X=[],z=0,K=[],q=[],ee=!1,te=X,ne=function(){Q=0,z=0,X=[],G=[],K=[],Je=qe(),et=qe()};m.__private__.setCustomOutputDestination=function(e){ee=!0,te=e};var ie=function(e){ee||(te=e)};m.__private__.resetCustomOutputDestination=function(){ee=!1,te=X};var re=m.__private__.out=function(e){return e=e.toString(),z+=e.length+1,te.push(e),te},ae=m.__private__.write=function(e){return re(1===arguments.length?e.toString():Array.prototype.join.call(arguments," "))},oe=m.__private__.getArrayBuffer=function(e){for(var t=e.length,n=new ArrayBuffer(t),i=new Uint8Array(n);t--;)i[t]=e.charCodeAt(t);return n},se=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];m.__private__.getStandardFonts=function(){return se};var ce=e.fontSize||16;m.__private__.setFontSize=m.setFontSize=function(e){return ce=w===v.ADVANCED?e/xe:e,this};var le,ue=m.__private__.getFontSize=m.getFontSize=function(){return w===v.COMPAT?ce:ce*xe},de=e.R2L||!1;m.__private__.setR2L=m.setR2L=function(e){return de=e,this},m.__private__.getR2L=m.getR2L=function(){return de};var Ae,he=m.__private__.setZoomMode=function(e){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(e))le=e;else if(isNaN(e)){if(-1===[void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(e))throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+e+'" is not recognized.');le=e}else le=parseInt(e,10)};m.__private__.getZoomMode=function(){return le};var me,pe=m.__private__.setPageMode=function(e){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(e))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+e+'" is not recognized.');Ae=e};m.__private__.getPageMode=function(){return Ae};var we=m.__private__.setLayoutMode=function(e){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(e))throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+e+'" is not recognized.');me=e};m.__private__.getLayoutMode=function(){return me},m.__private__.setDisplayMode=m.setDisplayMode=function(e,t,n){return he(e),we(t),pe(n),this};var De={title:"",subject:"",author:"",keywords:"",creator:""};m.__private__.getDocumentProperty=function(e){if(-1===Object.keys(De).indexOf(e))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return De[e]},m.__private__.getDocumentProperties=function(){return De},m.__private__.setDocumentProperties=m.setProperties=m.setDocumentProperties=function(e){for(var t in De)De.hasOwnProperty(t)&&e[t]&&(De[t]=e[t]);return this},m.__private__.setDocumentProperty=function(e,t){if(-1===Object.keys(De).indexOf(e))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return De[e]=t};var Me,xe,Pe,Se,Be,Ie={},He={},Te=[],ke={},Le={},Fe={},Oe={},Ve=null,Ee=0,Ue=[],Ze=new be(m),Ne=e.hotfixes||[],je={},Qe={},Re=[],Ge=function e(t,n,i,r,a,o){if(!(this instanceof e))return new e(t,n,i,r,a,o);isNaN(t)&&(t=1),isNaN(n)&&(n=0),isNaN(i)&&(i=0),isNaN(r)&&(r=1),isNaN(a)&&(a=0),isNaN(o)&&(o=0),this._matrix=[t,n,i,r,a,o]};Object.defineProperty(Ge.prototype,"sx",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(Ge.prototype,"shy",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(Ge.prototype,"shx",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(Ge.prototype,"sy",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(Ge.prototype,"tx",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(Ge.prototype,"ty",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(Ge.prototype,"a",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(Ge.prototype,"b",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(Ge.prototype,"c",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(Ge.prototype,"d",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(Ge.prototype,"e",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(Ge.prototype,"f",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(Ge.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Ge.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Ge.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Ge.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),Ge.prototype.join=function(e){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(D).join(e)},Ge.prototype.multiply=function(e){return new Ge(e.sx*this.sx+e.shy*this.shx,e.sx*this.shy+e.shy*this.sy,e.shx*this.sx+e.sy*this.shx,e.shx*this.shy+e.sy*this.sy,e.tx*this.sx+e.ty*this.shx+this.tx,e.tx*this.shy+e.ty*this.sy+this.ty)},Ge.prototype.decompose=function(){var e=this.sx,t=this.shy,n=this.shx,i=this.sy,r=this.tx,a=this.ty,o=Math.sqrt(e*e+t*t),s=(e/=o)*n+(t/=o)*i;n-=e*s,i-=t*s;var c=Math.sqrt(n*n+i*i);return s/=c,e*(i/=c)>16&255,i=l>>8&255,a=255&l}if(void 0===i||void 0===o&&n===i&&i===a)if("string"==typeof n)t=n+" "+s[0];else switch(e.precision){case 2:t=P(n/255)+" "+s[0];break;case 3:default:t=S(n/255)+" "+s[0]}else if(void 0===o||"object"===r()(o)){if(o&&!isNaN(o.a)&&0===o.a)return["1.","1.","1.",s[1]].join(" ");if("string"==typeof n)t=[n,i,a,s[1]].join(" ");else switch(e.precision){case 2:t=[P(n/255),P(i/255),P(a/255),s[1]].join(" ");break;default:case 3:t=[S(n/255),S(i/255),S(a/255),s[1]].join(" ")}}else if("string"==typeof n)t=[n,i,a,o,s[2]].join(" ");else switch(e.precision){case 2:t=[P(n),P(i),P(a),P(o),s[2]].join(" ");break;case 3:default:t=[S(n),S(i),S(a),S(o),s[2]].join(" ")}return t},it=m.__private__.getFilters=function(){return s},rt=m.__private__.putStream=function(e){var t=(e=e||{}).data||"",n=e.filters||it(),i=e.alreadyAppliedFilters||[],r=e.addLength1||!1,a=t.length,o=e.objectId,s=function(e){return e};if(null!==d&&void 0===o)throw new Error("ObjectId must be passed to putStream for file encryption");null!==d&&(s=Xt.encryptor(o,0));var c={};!0===n&&(n=["FlateEncode"]);var l=e.additionalKeyValues||[],u=(c=void 0!==Ce.API.processDataByFilters?Ce.API.processDataByFilters(t,n):{data:t,reverseChain:[]}).reverseChain+(Array.isArray(i)?i.join(" "):i.toString());if(0!==c.data.length&&(l.push({key:"Length",value:c.data.length}),!0===r&&l.push({key:"Length1",value:a})),0!=u.length)if(u.split("/").length-1==1)l.push({key:"Filter",value:u});else{l.push({key:"Filter",value:"["+u+"]"});for(var A=0;A>"),0!==c.data.length&&(re("stream"),re(s(c.data)),re("endstream"))},at=m.__private__.putPage=function(e){var t=e.number,n=e.data,i=e.objId,r=e.contentsObjId;Ye(i,!0),re("<>"),re("endobj");var a=n.join("\n");return w===v.ADVANCED&&(a+="\nQ"),Ye(r,!0),rt({data:a,filters:it(),objectId:r}),re("endobj"),i},ot=m.__private__.putPages=function(){var e,t,n=[];for(e=1;e<=Ee;e++)Ue[e].objId=qe(),Ue[e].contentsObjId=qe();for(e=1;e<=Ee;e++)n.push(at({number:e,data:q[e],objId:Ue[e].objId,contentsObjId:Ue[e].contentsObjId,mediaBox:Ue[e].mediaBox,cropBox:Ue[e].cropBox,bleedBox:Ue[e].bleedBox,trimBox:Ue[e].trimBox,artBox:Ue[e].artBox,userUnit:Ue[e].userUnit,rootDictionaryObjId:Je,resourceDictionaryObjId:et}));Ye(Je,!0),re("<>"),re("endobj"),Ze.publish("postPutPages")},st=function(e){Ze.publish("putFont",{font:e,out:re,newObject:Ke,putStream:rt}),!0!==e.isAlreadyPutted&&(e.objectNumber=Ke(),re("<<"),re("/Type /Font"),re("/BaseFont /"+fe(e.postScriptName)),re("/Subtype /Type1"),"string"==typeof e.encoding&&re("/Encoding /"+e.encoding),re("/FirstChar 32"),re("/LastChar 255"),re(">>"),re("endobj"))},ct=function(){for(var e in Ie)Ie.hasOwnProperty(e)&&(!1===A||!0===A&&h.hasOwnProperty(e))&&st(Ie[e])},lt=function(e){e.objectNumber=Ke();var t=[];t.push({key:"Type",value:"/XObject"}),t.push({key:"Subtype",value:"/Form"}),t.push({key:"BBox",value:"["+[D(e.x),D(e.y),D(e.x+e.width),D(e.y+e.height)].join(" ")+"]"}),t.push({key:"Matrix",value:"["+e.matrix.toString()+"]"});var n=e.pages[1].join("\n");rt({data:n,additionalKeyValues:t,objectId:e.objectNumber}),re("endobj")},ut=function(){for(var e in je)je.hasOwnProperty(e)&<(je[e])},dt=function(e,t){var n,i=[],r=1/(t-1);for(n=0;n<1;n+=r)i.push(n);i.push(1),0!=e[0].offset&&e.unshift({offset:0,color:e[0].color}),1!=e[e.length-1].offset&&e.push({offset:1,color:e[e.length-1].color});for(var a="",o=0,s=0;se[o+1].offset;)o++;var c=e[o].offset,l=(n-c)/(e[o+1].offset-c),u=e[o].color,d=e[o+1].color;a+=j(Math.round((1-l)*u[0]+l*d[0]).toString(16))+j(Math.round((1-l)*u[1]+l*d[1]).toString(16))+j(Math.round((1-l)*u[2]+l*d[2]).toString(16))}return a.trim()},At=function(e,t){t||(t=21);var n=Ke(),i=dt(e.colors,t),r=[];r.push({key:"FunctionType",value:"0"}),r.push({key:"Domain",value:"[0.0 1.0]"}),r.push({key:"Size",value:"["+t+"]"}),r.push({key:"BitsPerSample",value:"8"}),r.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),r.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),rt({data:i,additionalKeyValues:r,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:n}),re("endobj"),e.objectNumber=Ke(),re("<< /ShadingType "+e.type),re("/ColorSpace /DeviceRGB");var a="/Coords ["+D(parseFloat(e.coords[0]))+" "+D(parseFloat(e.coords[1]))+" ";a+=2===e.type?D(parseFloat(e.coords[2]))+" "+D(parseFloat(e.coords[3])):D(parseFloat(e.coords[2]))+" "+D(parseFloat(e.coords[3]))+" "+D(parseFloat(e.coords[4]))+" "+D(parseFloat(e.coords[5])),re(a+="]"),e.matrix&&re("/Matrix ["+e.matrix.toString()+"]"),re("/Function "+n+" 0 R"),re("/Extend [true true]"),re(">>"),re("endobj")},ht=function(e,t){var n=qe(),i=Ke();t.push({resourcesOid:n,objectOid:i}),e.objectNumber=i;var r=[];r.push({key:"Type",value:"/Pattern"}),r.push({key:"PatternType",value:"1"}),r.push({key:"PaintType",value:"1"}),r.push({key:"TilingType",value:"1"}),r.push({key:"BBox",value:"["+e.boundingBox.map(D).join(" ")+"]"}),r.push({key:"XStep",value:D(e.xStep)}),r.push({key:"YStep",value:D(e.yStep)}),r.push({key:"Resources",value:n+" 0 R"}),e.matrix&&r.push({key:"Matrix",value:"["+e.matrix.toString()+"]"}),rt({data:e.stream,additionalKeyValues:r,objectId:e.objectNumber}),re("endobj")},mt=function(e){var t;for(t in ke)ke.hasOwnProperty(t)&&(ke[t]instanceof ye?At(ke[t]):ke[t]instanceof _e&&ht(ke[t],e))},pt=function(e){for(var t in e.objectNumber=Ke(),re("<<"),e)switch(t){case"opacity":re("/ca "+P(e[t]));break;case"stroke-opacity":re("/CA "+P(e[t]))}re(">>"),re("endobj")},gt=function(){var e;for(e in Fe)Fe.hasOwnProperty(e)&&pt(Fe[e])},ft=function(){for(var e in re("/XObject <<"),je)je.hasOwnProperty(e)&&je[e].objectNumber>=0&&re("/"+e+" "+je[e].objectNumber+" 0 R");Ze.publish("putXobjectDict"),re(">>")},bt=function(){Xt.oid=Ke(),re("<<"),re("/Filter /Standard"),re("/V "+Xt.v),re("/R "+Xt.r),re("/U <"+Xt.toHexString(Xt.U)+">"),re("/O <"+Xt.toHexString(Xt.O)+">"),re("/P "+Xt.P),re(">>"),re("endobj")},vt=function(){for(var e in re("/Font <<"),Ie)Ie.hasOwnProperty(e)&&(!1===A||!0===A&&h.hasOwnProperty(e))&&re("/"+e+" "+Ie[e].objectNumber+" 0 R");re(">>")},wt=function(){if(Object.keys(ke).length>0){for(var e in re("/Shading <<"),ke)ke.hasOwnProperty(e)&&ke[e]instanceof ye&&ke[e].objectNumber>=0&&re("/"+e+" "+ke[e].objectNumber+" 0 R");Ze.publish("putShadingPatternDict"),re(">>")}},yt=function(e){if(Object.keys(ke).length>0){for(var t in re("/Pattern <<"),ke)ke.hasOwnProperty(t)&&ke[t]instanceof m.TilingPattern&&ke[t].objectNumber>=0&&ke[t].objectNumber>")}},_t=function(){if(Object.keys(Fe).length>0){var e;for(e in re("/ExtGState <<"),Fe)Fe.hasOwnProperty(e)&&Fe[e].objectNumber>=0&&re("/"+e+" "+Fe[e].objectNumber+" 0 R");Ze.publish("putGStateDict"),re(">>")}},Ct=function(e){Ye(e.resourcesOid,!0),re("<<"),re("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),vt(),wt(),yt(e.objectOid),_t(),ft(),re(">>"),re("endobj")},Dt=function(){var e=[];ct(),gt(),ut(),mt(e),Ze.publish("putResources"),e.forEach(Ct),Ct({resourcesOid:et,objectOid:Number.MAX_SAFE_INTEGER}),Ze.publish("postPutResources")},Mt=function(){Ze.publish("putAdditionalObjects");for(var e=0;e>8&&(c=!0);e=s.join("")}for(n=e.length;void 0===c&&0!==n;)e.charCodeAt(n-1)>>8&&(c=!0),n--;if(!c)return e;for(s=t.noBOM?[]:[254,255],n=0,i=e.length;n>8)>>8)throw new Error("Character at position "+n+" of string '"+e+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");s.push(u),s.push(l-(u<<8))}return String.fromCharCode.apply(void 0,s)},Ht=m.__private__.pdfEscape=m.pdfEscape=function(e,t){return It(e,t).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Tt=m.__private__.beginPage=function(e){q[++Ee]=[],Ue[Ee]={objId:0,contentsObjId:0,userUnit:Number(c),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(e[0]),topRightY:Number(e[1])}},Ft(Ee),ie(q[Z])},kt=function(e,t){var i,r,o;switch(n=t||n,"string"==typeof e&&(i=b(e.toLowerCase()),Array.isArray(i)&&(r=i[0],o=i[1])),Array.isArray(e)&&(r=e[0]*xe,o=e[1]*xe),isNaN(r)&&(r=a[0],o=a[1]),(r>14400||o>14400)&&(W.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),r=Math.min(14400,r),o=Math.min(14400,o)),a=[r,o],n.substr(0,1)){case"l":o>r&&(a=[o,r]);break;case"p":r>o&&(a=[o,r])}Tt(a),pn(hn),re(Cn),0!==Bn&&re(Bn+" J"),0!==In&&re(In+" j"),Ze.publish("addPage",{pageNumber:Ee})},Lt=function(e){e>0&&e<=Ee&&(q.splice(e,1),Ue.splice(e,1),Ee--,Z>Ee&&(Z=Ee),this.setPage(Z))},Ft=function(e){e>0&&e<=Ee&&(Z=e)},Ot=m.__private__.getNumberOfPages=m.getNumberOfPages=function(){return q.length-1},Vt=function(e,t,n){var i,r=void 0;return n=n||{},t=void 0!==t?t:Ie[Me].fontStyle,i=(e=void 0!==e?e:Ie[Me].fontName).toLowerCase(),void 0!==He[i]&&void 0!==He[i][t]?r=He[i][t]:void 0!==He[e]&&void 0!==He[e][t]?r=He[e][t]:!1===n.disableWarning&&W.warn("Unable to look up font label for font '"+e+"', '"+t+"'. Refer to getFontList() for available fonts."),r||n.noFallback||null==(r=He.times[t])&&(r=He.times.normal),r},Et=m.__private__.putInfo=function(){var e=Ke(),t=function(e){return e};for(var n in null!==d&&(t=Xt.encryptor(e,0)),re("<<"),re("/Producer ("+Ht(t("jsPDF "+Ce.version))+")"),De)De.hasOwnProperty(n)&&De[n]&&re("/"+n.substr(0,1).toUpperCase()+n.substr(1)+" ("+Ht(t(De[n]))+")");re("/CreationDate ("+Ht(t(T))+")"),re(">>"),re("endobj")},Ut=m.__private__.putCatalog=function(e){var t=(e=e||{}).rootDictionaryObjId||Je;switch(Ke(),re("<<"),re("/Type /Catalog"),re("/Pages "+t+" 0 R"),le||(le="fullwidth"),le){case"fullwidth":re("/OpenAction [3 0 R /FitH null]");break;case"fullheight":re("/OpenAction [3 0 R /FitV null]");break;case"fullpage":re("/OpenAction [3 0 R /Fit]");break;case"original":re("/OpenAction [3 0 R /XYZ null null 1]");break;default:var n=""+le;"%"===n.substr(n.length-1)&&(le=parseInt(le)/100),"number"==typeof le&&re("/OpenAction [3 0 R /XYZ null null "+P(le)+"]")}switch(me||(me="continuous"),me){case"continuous":re("/PageLayout /OneColumn");break;case"single":re("/PageLayout /SinglePage");break;case"two":case"twoleft":re("/PageLayout /TwoColumnLeft");break;case"tworight":re("/PageLayout /TwoColumnRight")}Ae&&re("/PageMode /"+Ae),Ze.publish("putCatalog"),re(">>"),re("endobj")},Zt=m.__private__.putTrailer=function(){re("trailer"),re("<<"),re("/Size "+(Q+1)),re("/Root "+Q+" 0 R"),re("/Info "+(Q-1)+" 0 R"),null!==d&&re("/Encrypt "+Xt.oid+" 0 R"),re("/ID [ <"+k+"> <"+k+"> ]"),re(">>")},Nt=m.__private__.putHeader=function(){re("%PDF-"+p),re("%\xba\xdf\xac\xe0")},jt=m.__private__.putXRef=function(){var e="0000000000";re("xref"),re("0 "+(Q+1)),re("0000000000 65535 f ");for(var t=1;t<=Q;t++)re("function"==typeof G[t]?(e+G[t]()).slice(-10)+" 00000 n ":void 0!==G[t]?(e+G[t]).slice(-10)+" 00000 n ":"0000000000 00000 n ")},Qt=m.__private__.buildDocument=function(){ne(),ie(X),Ze.publish("buildDocument"),Nt(),ot(),Mt(),Dt(),null!==d&&bt(),Et(),Ut();var e=z;return jt(),Zt(),re("startxref"),re(""+e),re("%%EOF"),ie(q[Z]),X.join("\n")},Rt=m.__private__.getBlob=function(e){return new Blob([oe(e)],{type:"application/pdf"})},Gt=m.output=m.__private__.output=Bt((function(e,t){switch("string"==typeof(t=t||{})?t={filename:t}:t.filename=t.filename||"generated.pdf",e){case void 0:return Qt();case"save":m.save(t.filename);break;case"arraybuffer":return oe(Qt());case"blob":return Rt(Qt());case"bloburi":case"bloburl":if(void 0!==R.URL&&"function"==typeof R.URL.createObjectURL)return R.URL&&R.URL.createObjectURL(Rt(Qt()))||void 0;W.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var n="",i=Qt();try{n=Y(i)}catch(e){n=Y(unescape(encodeURIComponent(i)))}return"data:application/pdf;filename="+t.filename+";base64,"+n;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(R)){var r="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",a=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';t.pdfObjectUrl&&(r=t.pdfObjectUrl,a="");var o='