@smals-belgium-shared/vidis-medication-scheme-list 3.3.3-snapshot.3 → 3.3.3-snapshot.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -58,7 +58,7 @@ Probeer het later nog eens.`,dM="De patiënt heeft 1 of meerdere voorschriften v
|
|
|
58
58
|
`],encapsulation:2}));let e=t;return e})(),kTe=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Re));o(this,"_changeDetectorRef",_(kt));o(this,"_ngZone",_(Ne));o(this,"_tabsSubscription",Ye.EMPTY);o(this,"_tabLabelSubscription",Ye.EMPTY);o(this,"_tabBodySubscription",Ye.EMPTY);o(this,"_diAnimationsDisabled",_(Ra,{optional:!0})==="NoopAnimations");o(this,"_allTabs");o(this,"_tabBodies");o(this,"_tabBodyWrapper");o(this,"_tabHeader");o(this,"_tabs",new es);o(this,"_indexToSelect",0);o(this,"_lastFocusedTabIndex",null);o(this,"_tabBodyWrapperHeight",0);o(this,"color");o(this,"_fitInkBarToContent",!1);o(this,"stretchTabs",!0);o(this,"alignTabs",null);o(this,"dynamicHeight",!1);o(this,"_selectedIndex",null);o(this,"headerPosition","above");o(this,"_animationDuration");o(this,"_contentTabIndex");o(this,"disablePagination",!1);o(this,"disableRipple",!1);o(this,"preserveContent",!1);o(this,"_backgroundColor");o(this,"ariaLabel");o(this,"ariaLabelledby");o(this,"selectedIndexChange",new ie);o(this,"focusChange",new ie);o(this,"animationDone",new ie);o(this,"selectedTabChange",new ie(!0));o(this,"_groupId");o(this,"_isServer",!_($t).isBrowser);let a=_(wTe,{optional:!0});this._groupId=_(ca).getId("mat-tab-group-"),this.animationDuration=a&&a.animationDuration?a.animationDuration:"500ms",this.disablePagination=a&&a.disablePagination!=null?a.disablePagination:!1,this.dynamicHeight=a&&a.dynamicHeight!=null?a.dynamicHeight:!1,(a==null?void 0:a.contentTabIndex)!=null&&(this.contentTabIndex=a.contentTabIndex),this.preserveContent=!!(a!=null&&a.preserveContent),this.fitInkBarToContent=a&&a.fitInkBarToContent!=null?a.fitInkBarToContent:!1,this.stretchTabs=a&&a.stretchTabs!=null?a.stretchTabs:!0,this.alignTabs=a&&a.alignTabs!=null?a.alignTabs:null}get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(a){this._fitInkBarToContent=a,this._changeDetectorRef.markForCheck()}get selectedIndex(){return this._selectedIndex}set selectedIndex(a){this._indexToSelect=isNaN(a)?null:a}get animationDuration(){return this._animationDuration}set animationDuration(a){let i=a+"";this._animationDuration=/^\d+$/.test(i)?a+"ms":i}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(a){this._contentTabIndex=isNaN(a)?null:a}get backgroundColor(){return this._backgroundColor}set backgroundColor(a){let i=this._elementRef.nativeElement.classList;i.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),a&&i.add("mat-tabs-with-background",`mat-background-${a}`),this._backgroundColor=a}ngAfterContentChecked(){let a=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=a){let i=this._selectedIndex==null;if(!i){this.selectedTabChange.emit(this._createChangeEvent(a));let r=this._tabBodyWrapper.nativeElement;r.style.minHeight=r.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((r,s)=>r.isActive=s===a),i||(this.selectedIndexChange.emit(a),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((i,r)=>{i.position=r-a,this._selectedIndex!=null&&i.position==0&&!i.origin&&(i.origin=a-this._selectedIndex)}),this._selectedIndex!==a&&(this._selectedIndex=a,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{let a=this._clampTabIndex(this._indexToSelect);if(a===this._selectedIndex){let i=this._tabs.toArray(),r;for(let s=0;s<i.length;s++)if(i[s].isActive){this._indexToSelect=this._selectedIndex=s,this._lastFocusedTabIndex=null,r=i[s];break}!r&&i[a]&&Promise.resolve().then(()=>{i[a].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(a))})}this._changeDetectorRef.markForCheck()})}ngAfterViewInit(){this._tabBodySubscription=this._tabBodies.changes.subscribe(()=>this._bodyCentered(!0))}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Oa(this._allTabs)).subscribe(a=>{this._tabs.reset(a.filter(i=>i._closestTabGroup===this||!i._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe(),this._tabBodySubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(a){let i=this._tabHeader;i&&(i.focusIndex=a)}_focusChanged(a){this._lastFocusedTabIndex=a,this.focusChange.emit(this._createChangeEvent(a))}_createChangeEvent(a){let i=new ETe;return i.index=a,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[a]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=ba(...this._tabs.map(a=>a._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(a){return Math.min(this._tabs.length-1,Math.max(a||0,0))}_getTabLabelId(a,i){return a.id||`${this._groupId}-label-${i}`}_getTabContentId(a){return`${this._groupId}-content-${a}`}_setTabBodyWrapperHeight(a){if(!this.dynamicHeight||!this._tabBodyWrapperHeight){this._tabBodyWrapperHeight=a;return}let i=this._tabBodyWrapper.nativeElement;i.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(i.style.height=a+"px")}_removeTabBodyWrapperHeight(){let a=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=a.clientHeight,a.style.height="",this._ngZone.run(()=>this.animationDone.emit())}_handleClick(a,i,r){i.focusIndex=r,a.disabled||(this.selectedIndex=r)}_getTabIndex(a){let i=this._lastFocusedTabIndex??this.selectedIndex;return a===i?0:-1}_tabFocusChanged(a,i){a&&a!=="mouse"&&a!=="touch"&&(this._tabHeader.focusIndex=i)}_bodyCentered(a){var i;a&&((i=this._tabBodies)==null||i.forEach((r,s)=>r._setActiveClass(s===this._selectedIndex)))}_animationsDisabled(){return this._diAnimationsDisabled||this.animationDuration==="0"||this.animationDuration==="0ms"}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",ee({type:t,selectors:[["mat-tab-group"]],contentQueries:function(a,i,r){if(a&1&&mt(r,ele,5),a&2){let s;ye(s=_e())&&(i._allTabs=s)}},viewQuery:function(a,i){if(a&1&&($e(nTe,5),$e(rTe,5),$e(zm,5)),a&2){let r;ye(r=_e())&&(i._tabBodyWrapper=r.first),ye(r=_e())&&(i._tabHeader=r.first),ye(r=_e())&&(i._tabBodies=r)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:11,hostBindings:function(a,i){a&2&&(ve("mat-align-tabs",i.alignTabs),Pi("mat-"+(i.color||"primary")),Zn("--mat-tab-animation-duration",i.animationDuration),Ee("mat-mdc-tab-group-dynamic-height",i.dynamicHeight)("mat-mdc-tab-group-inverted-header",i.headerPosition==="below")("mat-mdc-tab-group-stretch-tabs",i.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",fe],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",fe],alignTabs:[0,"mat-align-tabs","alignTabs"],dynamicHeight:[2,"dynamicHeight","dynamicHeight",fe],selectedIndex:[2,"selectedIndex","selectedIndex",gn],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",gn],disablePagination:[2,"disablePagination","disablePagination",fe],disableRipple:[2,"disableRipple","disableRipple",fe],preserveContent:[2,"preserveContent","preserveContent",fe],backgroundColor:"backgroundColor",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"]},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],features:[st([{provide:Xse,useExisting:t}])],ngContentSelectors:r0,decls:9,vars:8,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination","aria-label","aria-labelledby"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","class","content","position","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering","_beforeCentering","id","content","position","animationDuration","preserveContent"]],template:function(a,i){if(a&1){let r=wt();ut(),S(0,"mat-tab-header",3,0),xe("indexFocused",function(s){return De(r),Ie(i._focusChanged(s))})("selectFocusedIndex",function(s){return De(r),Ie(i.selectedIndex=s)}),qa(2,cTe,8,17,"div",4,Mi),I(),z(4,dTe,1,0),S(5,"div",5,1),qa(7,uTe,1,10,"mat-tab-body",6,Mi),I()}a&2&&(F("selectedIndex",i.selectedIndex||0)("disableRipple",i.disableRipple)("disablePagination",i.disablePagination)("aria-label",i.ariaLabel)("aria-labelledby",i.ariaLabelledby),C(2),$a(i._tabs),C(2),U(i._isServer?4:-1),C(),Ee("_mat-animation-noopable",i._animationsDisabled()),C(2),$a(i._tabs))},dependencies:[xTe,tle,hg,Hu,bn,zm],styles:[`.mdc-tab{min-width:90px;padding:0 24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;z-index:1}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab--active .mdc-tab__text-label{transition-delay:100ms}._mat-animation-noopable .mdc-tab__text-label{transition:none}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transition:var(--mat-tab-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1);transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}._mat-animation-noopable .mdc-tab-indicator__content,.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mat-mdc-tab-ripple.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mdc-secondary-navigation-tab-container-height, 48px);font-family:var(--mat-tab-header-label-text-font, var(--mat-sys-title-small-font));font-size:var(--mat-tab-header-label-text-size, var(--mat-sys-title-small-size));letter-spacing:var(--mat-tab-header-label-text-tracking, var(--mat-sys-title-small-tracking));line-height:var(--mat-tab-header-label-text-line-height, var(--mat-sys-title-small-line-height));font-weight:var(--mat-tab-header-label-text-weight, var(--mat-sys-title-small-weight))}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mdc-tab-indicator-active-indicator-height, 2px);border-radius:var(--mdc-tab-indicator-active-indicator-shape, 0)}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color, var(--mat-sys-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}
|
|
59
59
|
`],encapsulation:2}));let e=t;return e})(),ETe=class{constructor(){o(this,"index");o(this,"tab")}},CTe=(()=>{const t=class t{constructor(){o(this,"_vertical",!1);o(this,"_inset",!1)}get vertical(){return this._vertical}set vertical(a){this._vertical=Wo(a)}get inset(){return this._inset}set inset(a){this._inset=Wo(a)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",ee({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(a,i){a&2&&(ve("aria-orientation",i.vertical?"vertical":"horizontal"),Ee("mat-divider-vertical",i.vertical)("mat-divider-horizontal",!i.vertical)("mat-divider-inset",i.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(a,i){},styles:[`.mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color, var(--mat-sys-outline));border-top-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color, var(--mat-sys-outline));border-right-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}
|
|
60
60
|
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),ale={"application/prs.cww":["cww"],"application/prs.xsf+xml":["xsf"],"application/vnd.1000minds.decision-model+xml":["1km"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["*xfdf"],"application/vnd.age":["age"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.keynote":["key"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.numbers":["numbers"],"application/vnd.apple.pages":["pages"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.autodesk.fbx":["fbx"],"application/vnd.balsamiq.bmml+xml":["bmml"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.citationstyles.style+xml":["csl"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dbf":["dbf"],"application/vnd.dcmp+xml":["dcmp"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["*fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.slides":["ggs"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.drawing":["gdraw"],"application/vnd.google-apps.form":["gform"],"application/vnd.google-apps.jam":["gjam"],"application/vnd.google-apps.map":["gmap"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.script":["gscript"],"application/vnd.google-apps.site":["gsite"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.gov.sk.xmldatacontainer+xml":["xdcf"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mapbox-vector-tile":["mvt"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["*stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["*mpp","mpt"],"application/vnd.ms-visio.viewer":["vdx"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.nato.bindingdataobject+xml":["bdo"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.ac+xml":["*ac"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openblox.game+xml":["obgx"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openstreetmap.data+xml":["osm"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.procrate.brushset":["brushset"],"application/vnd.procreate.brush":["brush"],"application/vnd.procreate.dream":["drm"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.pwg-xhtml-print+xml":["xhtm"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.rar":["rar"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.software602.filler.form+xml":["fo"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.syncml.dmddf+xml":["ddf"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml","uo"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw","vsdx","vtx"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":["*dmg"],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":["*bdoc"],"application/x-bittorrent":["torrent"],"application/x-blender":["blend"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-compressed":["*rar"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["*deb","udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-ipynb+json":["ipynb"],"application/x-iso9660-image":["*iso"],"application/x-iwork-keynote-sffkey":["*key"],"application/x-iwork-numbers-sffnumbers":["*numbers"],"application/x-iwork-pages-sffpages":["*pages"],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-keepass2":["kdbx"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["*prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":["*exe"],"application/x-msdownload":["*exe","*dll","com","bat","*msi"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["*wmf","*wmz","*emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":["*prc","*pdb"],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["*rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["*sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["*obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["*xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zip-compressed":["*zip"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["*aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":["*m4a"],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":["*ra"],"audio/x-wav":["*wav"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif","btf"],"image/prs.pti":["pti"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.airzip.accelerator.azv":["azv"],"image/vnd.blockfact.facti":["facti"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":["*sub"],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.microsoft.icon":["ico"],"image/vnd.ms-dds":["dds"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.pco.b16":["b16"],"image/vnd.tencent.tap":["tap"],"image/vnd.valve.source.texture":["vtf"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/vnd.zbrush.pcx":["pcx"],"image/x-3ds":["3ds"],"image/x-adobe-dng":["dng"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["*ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":["*bmp"],"image/x-pcx":["*pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/vnd.wfa.wsc":["wsc"],"model/vnd.bary":["bary"],"model/vnd.cld":["cld"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["*mts"],"model/vnd.opengex":["ogex"],"model/vnd.parasolid.transmit.binary":["x_b"],"model/vnd.parasolid.transmit.text":["x_t"],"model/vnd.pytha.pyox":["pyo","pyox"],"model/vnd.sap.vds":["vds"],"model/vnd.usda":["usda"],"model/vnd.usdz+zip":["usdz"],"model/vnd.valve.source.compiled-map":["bsp"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.familysearch.gedcom":["ged"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":["*org"],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]};Object.freeze(ale);var STe=ale,ile={"application/andrew-inset":["ez"],"application/appinstaller":["appinstaller"],"application/applixware":["aw"],"application/appx":["appx"],"application/appxbundle":["appxbundle"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/automationml-aml+xml":["aml"],"application/automationml-amlx+zip":["amlx"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cpl+xml":["cpl"],"application/cu-seeme":["cu"],"application/cwl":["cwl"],"application/dash+xml":["mpd"],"application/dash-patch+xml":["mpp"],"application/davmount+xml":["davmount"],"application/dicom":["dcm"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdf":["fdf"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["*js"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/media-policy-dataset+xml":["mpf"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["*mp4","*mpg4","mp4s","m4p"],"application/msix":["msix"],"application/msixbundle":["msixbundle"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg","one","onea"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-keys":["asc"],"application/pgp-signature":["sig","*asc"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/sql":["sql"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/watcherinfo+xml":["wif"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xfdf":["xfdf"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"application/zip+dotlottie":["lottie"],"audio/3gpp":["*3gpp"],"audio/aac":["adts","aac"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a","m4b"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avci":["avci"],"image/avcs":["avcs"],"image/avif":["avif"],"image/bmp":["bmp","dib"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/dpx":["dpx"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/ief":["ief"],"image/jaii":["jaii"],"image/jais":["jais"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpg","jpeg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm","jpgm"],"image/jpx":["jpx","jpf"],"image/jxl":["jxl"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/pjpeg":["jfif"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime","mht","mhtml"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/jt":["jt"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/prc":["prc"],"model/step":["step","stp","stpnc","p21","210"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/u3d":["u3d"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/javascript":["js","mjs"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["md","markdown"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/wgsl":["wgsl"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","*jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts","m2t","m2ts","mts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]};Object.freeze(ile);var DTe=ile,Ei=function(e,t,n,a){if(typeof t=="function"?e!==t||!0:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?a:n==="a"?a.call(e):a?a.value:t.get(e)},Ao,Js,Fr,ITe=class{constructor(...e){Ao.set(this,new Map),Js.set(this,new Map),Fr.set(this,new Map);for(let t of e)this.define(t)}define(e,t=!1){for(let[n,a]of Object.entries(e)){n=n.toLowerCase(),a=a.map(s=>s.toLowerCase()),Ei(this,Fr,"f").has(n)||Ei(this,Fr,"f").set(n,new Set);let i=Ei(this,Fr,"f").get(n),r=!0;for(let s of a){let l=s.startsWith("*");if(s=l?s.slice(1):s,i==null||i.add(s),r&&Ei(this,Js,"f").set(n,s),r=!1,l)continue;let c=Ei(this,Ao,"f").get(s);if(c&&c!=n&&!t)throw new Error(`"${n} -> ${s}" conflicts with "${c} -> ${s}". Pass \`force=true\` to override this definition.`);Ei(this,Ao,"f").set(s,n)}}return this}getType(e){if(typeof e!="string")return null;let t=e.replace(/^.*[/\\]/s,"").toLowerCase(),n=t.replace(/^.*\./s,"").toLowerCase(),a=t.length<e.length;return!(n.length<t.length-1)&&a?null:Ei(this,Ao,"f").get(n)??null}getExtension(e){var t;return typeof e!="string"?null:(e=(t=e==null?void 0:e.split)==null?void 0:t.call(e,";")[0],(e&&Ei(this,Js,"f").get(e.trim().toLowerCase()))??null)}getAllExtensions(e){return typeof e!="string"?null:Ei(this,Fr,"f").get(e.toLowerCase())??null}_freeze(){this.define=()=>{throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances")},Object.freeze(this);for(let e of Ei(this,Fr,"f").values())Object.freeze(e);return this}_getTestState(){return{types:Ei(this,Ao,"f"),extensions:Ei(this,Js,"f")}}};Ao=new WeakMap,Js=new WeakMap,Fr=new WeakMap;var TTe=ITe;new TTe(DTe,STe)._freeze();var ATe=(()=>{const t=class t{transform(a){return a?"":"no"}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=_a({name:"canTranslateForAttr",type:t,pure:!0});let e=t;return e})(),Zi=(()=>{const t=class t{transform(a){let i="";return Array.isArray(a)&&a.forEach(r=>{i+=r.charAt(0).toUpperCase()+r.slice(1)+" "}),typeof a=="string"&&a.split(" ").length>1&&a.split(" ").forEach((r,s)=>{s===0?i=r.charAt(0).toUpperCase()+r.slice(1):i+=" "+r}),typeof a=="string"&&a.split(" ").length===1&&(i=a.charAt(0).toUpperCase()+a.slice(1)),i}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=_a({name:"firstLetterUppercase",type:t,pure:!0});let e=t;return e})(),lc=(()=>{const t=class t{transform(a){return f2e(a)}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=_a({name:"fullname",type:t,pure:!0});let e=t;return e})(),OTe=(()=>{const t=class t{constructor(){this.translate=_(Fa)}transform(a){return a||this.translate.currentLang}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=_a({name:"getLangForAttrLang",type:t,pure:!0});let e=t;return e})(),o0=(()=>{const t=class t{transform(a){if(a){let i=a%1,r=Math.floor(a)>0?`${Math.floor(a)} + `:"";return i===.25?`${r}¼`:i===.5?`${r}½`:i===.75?`${r}¾`:a.toString()}return""}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=_a({name:"quantity",type:t,pure:!0});let e=t;return e})(),RTe=(()=>{const t=class t{constructor(){this.translate=_(Fa)}transform(a){return g2e(a,this.translate.currentLang)}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=_a({name:"translateObject",type:t,pure:!0});let e=t;return e})(),Os=(()=>{const t=class t{constructor(){this.translate=_(Fa)}transform(a){return oc(a,this.translate.currentLang)}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=_a({name:"translateValue",type:t,pure:!0});let e=t;return e})(),PTe={1:"monday",2:"tuesday",3:"wednesday",4:"thursday",5:"friday",6:"saturday",7:"sunday"},MTe=(()=>{const t=class t{transform(a){return PTe[yr(a)]}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=_a({name:"weekdayName",type:t,pure:!0});let e=t;return e})(),NTe=(()=>{const t=class t{transform(a){let i=new Date;return a==null?void 0:a.filter(r=>r.type==="definitive"||r.endDate&&!so(new Date(r.endDate),i))}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=_a({name:"activeAndFutureSuspensions",type:t,pure:!0});let e=t;return e})(),nle=(()=>{const t=class t{constructor(){this.translate=_(Fa),this.cdRef=_(kt),this.destroyRef=_(_i),this.result="",this.translate.onLangChange.pipe(sc(this.destroyRef)).subscribe(()=>{this.result=this.getResult(this.medication),this.cdRef.markForCheck()})}transform(a){return this.medication!==a&&(this.medication=a,this.result=this.getResult(a)),this.result}getResult(a){var r,s;let i=a.posology;if(i){if(i.length===1&&this.posologiesAreWithDayPeriodOrWithTime(i)&&((r=a.frequency)!=null&&r.periodicity))return i[0].quantity.value+" - 1x/"+this.translate.instant("commons.periodicities."+a.frequency.periodicity);if(i.length>1&&this.posologiesAreWithDayPeriodOrWithTime(i)&&i.every(l=>l.quantity.value===i[0].quantity.value)&&((s=a.frequency)!=null&&s.periodicity))return i[0].quantity.value+" - "+i.length+"x/"+this.translate.instant("commons.periodicities."+a.frequency.periodicity);if(i[0].text)return oc(i[0].text,this.translate.currentLang)}}posologiesAreWithDayPeriodOrWithTime(a){return a.some(i=>{var r,s;return!!((r=i==null?void 0:i.daytime)!=null&&r.dayPeriod)||!!((s=i==null?void 0:i.daytime)!=null&&s.time)})}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=_a({name:"dose",type:t,pure:!1});let e=t;return e})(),gt=function(e){return e.TO_PLAN="toPlan",e.MORNING="morning",e.NOON="noon",e.EVENING="evening",e.NIGHT="night",e.IF_NEEDED="ifNeeded",e}(gt||{}),rl=function(e){return e.ALL="all",e.CURRENT="current",e.FUTURE="future",e}(rl||{}),rle=function(e){return e.VITALINK="vitalink",e.RSB="rsb",e.RSW="rsw",e}(rle||{}),ja=function(e){return e.LIST="list",e.DAY="day",e.WEEK="week",e}(ja||{});function Xd(e,t){return!so(e,t)}function LTe(e,t){return!Dl(e,t)}function FTe(e,t){let n=[],a=e;for(;!Dl(a,t);)n.push(a),a=Et(Yi(a,1));return n}function ah(e){switch(e){case Qt.MONDAY:return 1;case Qt.TUESDAY:return 2;case Qt.WEDNESDAY:return 3;case Qt.THURSDAY:return 4;case Qt.FRIDAY:return 5;case Qt.SATURDAY:return 6;case Qt.SUNDAY:return 7;default:return}}var ole="minutes",fi="hours",gi="days",ri="weeks",oi="months",Vr="years",VTe=new Map([[X.UH,{number:30,unit:ole}],[X.U,{number:1,unit:fi}],[X.UT,{number:2,unit:fi}],[X.UD,{number:3,unit:fi}],[X.UV,{number:4,unit:fi}],[X.UQ,{number:5,unit:fi}],[X.UZ,{number:6,unit:fi}],[X.US,{number:7,unit:fi}],[X.UA,{number:8,unit:fi}],[X.UN,{number:9,unit:fi}],[X.UX,{number:10,unit:fi}],[X.UE,{number:11,unit:fi}],[X.UW,{number:12,unit:fi}],[X.D,{number:1,unit:gi}],[X.DT,{number:2,unit:gi}],[X.O1,{number:2,unit:gi}],[X.DD,{number:3,unit:gi}],[X.DV,{number:4,unit:gi}],[X.DQ,{number:5,unit:gi}],[X.DZ,{number:6,unit:gi}],[X.DA,{number:8,unit:gi}],[X.DN,{number:9,unit:gi}],[X.DX,{number:10,unit:gi}],[X.DE,{number:11,unit:gi}],[X.DW,{number:12,unit:gi}],[X.WT,{number:2,unit:ri}],[X.WD,{number:3,unit:ri}],[X.WV,{number:4,unit:ri}],[X.WQ,{number:5,unit:ri}],[X.WZ,{number:6,unit:ri}],[X.WS,{number:7,unit:ri}],[X.WA,{number:8,unit:ri}],[X.WN,{number:9,unit:ri}],[X.WX,{number:10,unit:ri}],[X.WE,{number:11,unit:ri}],[X.WW,{number:12,unit:ri}],[X.WP,{number:24,unit:ri}],[X.W,{number:1,unit:ri}],[X.M,{number:1,unit:oi}],[X.MT,{number:2,unit:oi}],[X.MD,{number:3,unit:oi}],[X.MV,{number:4,unit:oi}],[X.MQ,{number:5,unit:oi}],[X.MZ2,{number:6,unit:oi}],[X.MS,{number:7,unit:oi}],[X.MA,{number:8,unit:oi}],[X.MN,{number:9,unit:oi}],[X.MX,{number:10,unit:oi}],[X.ME,{number:11,unit:oi}],[X.MC,{number:18,unit:oi}],[X.JH2,{number:6,unit:oi}],[X.J,{number:1,unit:Vr}],[X.JT,{number:2,unit:Vr}],[X.JD,{number:3,unit:Vr}],[X.JV,{number:4,unit:Vr}],[X.JQ,{number:5,unit:Vr}],[X.JZ,{number:6,unit:Vr}]]);function zTe(e,t,n){var i;let a=VTe.get((i=t.frequency)==null?void 0:i.periodicity);switch(a==null?void 0:a.unit){case ole:case fi:return!0;case gi:return BTe(e,t,a,n);case ri:return jTe(e,t,a,n);case oi:return HTe(e,t,a,n);case Vr:return UTe(e,t,a,n);default:return!1}}function BTe(e,t,n,a){var d;let i=Et(new Date(t.treatmentStartDate)),r=Ju(a,i),s=Math.floor(r/n.number),l=n.number*s,c=((d=e.day)==null?void 0:d.dayNumber)||1;return r===l+c-1}function jTe(e,t,n,a){var r,s,l;let i=Et(new Date(t.treatmentStartDate));if((s=(r=e.day)==null?void 0:r.weekday)!=null&&s.day)return nCe(i,a)%n.number===0&&yr(a)===ah(e.day.weekday.day);{let c=Ju(a,i),d=Math.floor(c/(n.number*7)),u=n.number*7*d,p=((l=e.day)==null?void 0:l.dayNumber)||1;return c===u+p-1}}function HTe(e,t,n,a){var s,l;let i;(s=e.day)!=null&&s.date?i=Et(new Date(e.day.date)):(l=e.day)!=null&&l.dayNumber?i=Et(Yi(new Date(t.treatmentStartDate),e.day.dayNumber-1)):i=Et(new Date(t.treatmentStartDate));let r=iCe(i,a);return n.number>1?r%n.number===0&&Fo(a.getDate(),i.getDate()):Fo(a.getDate(),i.getDate())}function UTe(e,t,n,a){var s;let i=(s=e.day)!=null&&s.date?Et(new Date(e.day.date)):Et(new Date(t.treatmentStartDate)),r=rCe(i,a);return n.number>1?r%n.number===0&&Cy(a,i):Cy(a,i)}function Cy(e,t){return e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}var WTe=[X.M,X.MT,X.MD,X.MV,X.MQ,X.MZ2,X.MS,X.MA,X.MN,X.MX,X.ME,X.MC];function fp(e){return WTe.includes(e)}var GTe=[X.J,X.JH2,X.JT,X.JD,X.JV,X.JQ,X.JZ];function gp(e){return GTe.includes(e)}function qTe(e,t){return Xd(t,Et(new Date(e.treatmentStartDate)))&&(!e.treatmentEndDate||LTe(t,Xu(new Date(e.treatmentEndDate))))}function sle(e,t){var n;return(n=e.suspensions)!=null&&n.length?e.suspensions.some(a=>a.startDate&&a.endDate?t0(t,{start:Et(new Date(a.startDate)),end:Xu(new Date(a.endDate))}):Xd(t,Et(new Date(a.startDate)))):!1}function $Te(e,t){var a;let n=(a=e.suspensions)==null?void 0:a.filter(i=>i.type==="temporary");return n!=null&&n.length?n.some(i=>t0(t,{start:Et(new Date(i.startDate)),end:Xu(new Date(i.endDate))})):!1}function lle(e,t,n){var a,i,r,s,l,c,d;return(a=t.frequency)!=null&&a.periodicity?zTe(e,t,n):(i=e.day)!=null&&i.date?Fo(n,Et(new Date(e.day.date))):(r=e.day)!=null&&r.dayNumber?Fo(n,Et(Yi(new Date(t.treatmentStartDate),e.day.dayNumber-1))):(l=(s=e.day)==null?void 0:s.weekday)!=null&&l.day||(d=(c=e.day)==null?void 0:c.weekday)!=null&&d.weekNumber?e.day.weekday.weekNumber?eh(n)===e.day.weekday.weekNumber&&(ah(e.day.weekday.day)||1)===yr(n):Fo(n,cle(e,t)):!!(t.treatmentStartDate&&Fo(n,Et(new Date(t.treatmentStartDate))))}function YTe(e,t){var n,a;return(a=(n=e.day)==null?void 0:n.weekday)!=null&&a.weekNumber?ZTe(e,t):cle(e,t)}function ZTe(e,t){let n=new Date(t.treatmentStartDate),a=eh(n),i=Et(Yi(Kg(oo(n),e.day.weekday.weekNumber-a),(ah(e.day.weekday.day)||1)-1));return so(i,n)?QEe(i,1):i}function cle(e,t){var i,r;let n=ah((r=(i=e.day)==null?void 0:i.weekday)==null?void 0:r.day)||0,a=yr(new Date(t.treatmentStartDate));return Et(Yi(new Date(t.treatmentStartDate),(n-a+7)%7))}function dle(e,t){let n=e.treatmentEndDate?new Date(e.treatmentEndDate):null,a=KTe(e,t);return n&&a?JEe([n,a]):n||a}function KTe(e,t){var a;if(!((a=e.suspensions)!=null&&a.length))return null;let n=e.suspensions.filter(i=>QTe(i,t)).map(i=>a0(new Date(i.startDate)));return eCe(t,n)}function QTe(e,t){return e.startDate&&Xd(new Date(e.startDate),t)||so(new Date(e.startDate),t)&&Xd(new Date(e.endDate),t)}function ule(e,t,n){let a=new Date(t.treatmentStartDate);if(!n||so(n,a))return n;let i,r=n;for(;!i&&!so(r,a);)lle(e,t,r)?i=r:r=a0(r);return r}function JTe(e,t){let n=Object.values(gt),a=i=>oc(i.medication.name,t)||"";return[...e||[]].sort((i,r)=>{let s=n.indexOf(i.posology.dayPart)-n.indexOf(r.posology.dayPart);return s===0?a(i).localeCompare(a(r),void 0,{sensitivity:"base"}):s})}function XTe(e,t,n="asc"){let a=i=>oc(i.name,t)||"";return[...e||[]].sort((i,r)=>a(i).localeCompare(a(r),void 0,{sensitivity:"base"})*(n==="asc"?1:-1))}function eAe(e){return e?e.flatMap(t=>t!=null&&t.posology?t.posology.map(n=>({medication:t,posology:n})):t?[{medication:t,posology:{dayPart:gt.TO_PLAN}}]:[]).filter(t=>t!==void 0):[]}function Sy(e,t){return qTe(e.medication,t)&&!sle(e.medication,t)&&lle(e.posology,e.medication,t)}function tAe(e){return e.filter(t=>hle(t))}function hle(e){let t=Et(new Date),n=e.treatmentEndDate;return e.treatmentStartDate&&Dl(new Date(e.treatmentStartDate).setHours(0),t)?!1:!sle(e,t)&&(!n||Dl(new Date(n),t))}function aAe(e){return e.filter(t=>ih(t))}function ih(e){let t=Et(new Date);return e.treatmentStartDate&&Dl(new Date(e.treatmentStartDate).setHours(0),t)?!0:e.treatmentStartDate&&$Te(e,t)}function iAe(e){return e.filter(t=>hle(t)||ih(t))}var nAe=(()=>{const t=class t{transform(a,i){return a.filter(r=>i===r.posology.dayPart)}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=_a({name:"filterMedicationByDayPart",type:t,pure:!0});let e=t;return e})(),rAe=(()=>{const t=class t{transform(a,i){switch(i){case"current":return tAe(a);case"future":return aAe(a);case"all":default:return iAe(a)}}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=_a({name:"filterMedicationTo",type:t,pure:!0});let e=t;return e})(),ple=(()=>{const t=class t{transform(a){return ih(a)}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=_a({name:"isFutureMedication",type:t,pure:!0});let e=t;return e})(),oAe=(()=>{const t=class t{transform(a,i){let r=dle(a.medication,i),s=ule(a.posology,a.medication,r);return RC(Et(s),Et(i))}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=_a({name:"isLastIngestionDay",type:t,pure:!0});let e=t;return e})(),sAe=(()=>{const t=class t{transform(a,i,r){let s=dle(a.medication,i),l=ule(a.posology,a.medication,s);return t0(l,{start:Et(i),end:Xu(r)})?{lastDay:s,lastIngestionDay:l}:null}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=_a({name:"lastIngestionPeriod",type:t,pure:!0});let e=t;return e})(),lAe=(()=>{const t=class t{constructor(){this.translate=_(Fa),this.cdRef=_(kt),this.destroyRef=_(_i),this.result="",this.translate.onLangChange.pipe(sc(this.destroyRef)).subscribe(()=>{this.result=this.getResult(this.posology),this.cdRef.markForCheck()})}transform(a){return this.posology!==a&&(this.posology=a,this.result=this.getResult(a)),this.result}getResult(a){if(a!=null&&a.daytime){if(a.daytime.dayPeriod)return this.translate.instant("commons.period."+a.daytime.dayPeriod);if(a.daytime.time)return a.daytime.time.substring(0,5)}return""}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=_a({name:"posologyDayTime",type:t,pure:!1});let e=t;return e})(),cAe=(()=>{const t=class t{constructor(){this.translate=_(Fa),this.cdRef=_(kt),this.destroyRef=_(_i),this.result="",this.translate.onLangChange.pipe(sc(this.destroyRef)).subscribe(()=>{this.result=this.getResult(this.posology,this.medication),this.cdRef.markForCheck()})}transform(a,i){return(this.posology!==a||this.medication!==i)&&(this.posology=a,this.medication=i,this.result=this.getResult(a,i)),this.result}getResult(a,i){var s,l,c;if(!((s=a.daytime)!=null&&s.dayPeriod)&&!((l=a.daytime)!=null&&l.time))return"";let r=[this.getPosologyDayTimeTranslation(a)];return(c=i.frequency)!=null&&c.periodicity?r.push(...this.getPeriodicityText(a,i.frequency.periodicity,new Date(i.treatmentStartDate))):r.push(...this.getPosologyText(a,i,new Date(i.treatmentStartDate))),r.join(" ").trim()}getPeriodicityText(a,i,r){var s,l,c,d,u;if(((s=a.day)==null?void 0:s.weekday)!=null&&a.daytime!=null&&!fp(i)&&!gp(i))return[this.translate.instant("commons.posology.on"),this.translate.instant("commons.days."+a.day.weekday.day).toLowerCase()];if(((l=a.day)==null?void 0:l.dayNumber)!=null&&a.daytime!=null&&!fp(i)&&!gp(i))return[this.translate.instant("commons.posology.day"),a.day.dayNumber.toString()];if(fp(i))return((c=a.day)==null?void 0:c.date)!=null?[this.translate.instant("commons.posology.day"),$c(new Date(a.day.date)).toString()]:((d=a.day)==null?void 0:d.dayNumber)!=null?[this.translate.instant("commons.posology.day"),a.day.dayNumber.toString()]:[this.translate.instant("commons.posology.day"),$c(r).toString()];if(gp(i)){let p=[this.translate.instant("commons.posology.on")];return(u=a.day)!=null&&u.date?p.push($c(new Date(a.day.date))+"/"+(_y(a.day.date)+1)):p.push($c(r)+"/"+(_y(r)+1)),p}return[]}getPosologyText(a,i,r){var l,c,d;let s=[this.translate.instant("commons.posology.on")];return((l=a.day)==null?void 0:l.date)!=null?s.push(Lo(new Date(a.day.date),"dd-MM-yyyy")):((c=a.day)==null?void 0:c.weekday)!=null?s.push(Lo(YTe(a,i),"dd-MM-yyyy")):((d=a.day)==null?void 0:d.dayNumber)!=null?s.push(Lo(Yi(r,a.day.dayNumber-1),"dd-MM-yyyy")):s.push(Lo(r,"dd-MM-yyyy")),s}getPosologyDayTimeTranslation(a){var i,r,s;return a&&((i=a.daytime)!=null&&i.dayPeriod)&&Object.values(Kt).includes((r=a.daytime)==null?void 0:r.dayPeriod)?this.translate.instant("commons.period."+a.daytime.dayPeriod):(s=a.daytime)!=null&&s.time?a.daytime.time.substring(0,5):""}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=_a({name:"posologySpecification",type:t,pure:!1});let e=t;return e})(),dAe=(()=>{const t=class t{transform(a,i){var r,s;return((s=(r=a.suspensions)==null?void 0:r.filter(l=>so(i,Et(new Date(l.startDate)))).reduce((l,c)=>this.getClosestToLastIngestionDate(i,l,c),null))==null?void 0:s.type)||""}getClosestToLastIngestionDate(a,i,r){if(i==null)return r;let s=my(new Date(i.startDate),a),l=my(new Date(r.startDate),a);return s===l?i.type==="definitive"?i:r:s<l?i:r}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=_a({name:"suspensionType",type:t,pure:!0});let e=t;return e})(),mle=e=>({posology:e}),uAe=e=>({count:e});function hAe(e,t){e&1&&(S(0,"span",1),N(1),A(2,"translate"),I()),e&2&&(C(),ne("",R(2,1,"medicationSchemeListView.remarks.ifneeded"),":"))}function pAe(e,t){if(e&1&&(S(0,"li"),Ca(1,2),I()),e&2){let n=t.$implicit;L(3);let a=Ya(3);C(),F("ngTemplateOutlet",a)("ngTemplateOutletContext",fn(2,mle,n))}}function mAe(e,t){if(e&1&&(S(0,"ul"),qa(1,pAe,2,4,"li",null,Mi),I()),e&2){let n=L(2);C(),$a(n.medication().posology)}}function fAe(e,t){if(e&1&&Ca(0,2),e&2){let n=L(2),a=Ya(3);F("ngTemplateOutlet",a)("ngTemplateOutletContext",fn(2,mle,n.medication().posology[0]))}}function gAe(e,t){if(e&1&&z(0,hAe,3,3,"span",1)(1,mAe,3,0,"ul")(2,fAe,1,4,"ng-container",2),e&2){let n=L();U(n.medication().temporality===n.temporalities.ONESHOT?0:-1),C(),U(n.medication().posology.length>1?1:2)}}function bAe(e,t){e&1&&(N(0),A(1,"translate")),e&2&&ne(" ",R(1,1,"medicationSchemeListView.notSpecified"),`
|
|
61
|
-
`)}function vAe(e,t){e&1&&(S(0,"span"),N(1),I()),e&2&&(C(),ne(" ",t,""))}function yAe(e,t){if(e&1&&(S(0,"span"),N(1),A(2,"translate"),I(),z(3,vAe,2,1,"span"),A(4,"posologySpecification")),e&2){let n,a=L(2).posology,i=L();C(),ne(" ",Nt(2,2,"commons.administrationUnits."+a.quantity.unit,fn(8,uAe,a.quantity.value)),""),C(2),U((n=Nt(4,5,a,i.medication()))?3:-1,n)}}function _Ae(e,t){if(e&1&&(S(0,"span"),N(1),A(2,"quantity"),I(),z(3,yAe,5,10)),e&2){let n=L().posology;C(),te(R(2,2,n.quantity.value)),C(2),U(n.quantity.unit?3:-1)}}function xAe(e,t){if(e&1&&(S(0,"span",3),A(1,"getLangForAttrLang"),A(2,"canTranslateForAttr"),N(3),I()),e&2){let n=L();F("lang",R(1,3,n.lang)),ve("translate",R(2,5,n.lang)),C(3),ne(" ",t," ")}}function wAe(e,t){if(e&1&&(S(0,"span",3),A(1,"getLangForAttrLang"),A(2,"canTranslateForAttr"),N(3),I(),z(4,xAe,4,7,"span",3),A(5,"posologySpecification")),e&2){let n,a=t,i=L().posology,r=L();F("lang",R(1,4,a.lang)),ve("translate",R(2,6,a.lang)),C(3),ne(" ",a.value," "),C(),U((n=Nt(5,8,i,r.medication()))?4:-1,n)}}function kAe(e,t){if(e&1&&(S(0,"div"),z(1,_Ae,4,4)(2,wAe,6,11),A(3,"translateObject"),I()),e&2){let n,a=t.posology;C(),U(a.quantity?1:-1),C(),U((n=R(3,2,a.text))?2:-1,n)}}var EAe=(()=>{const t=class t{constructor(){this.medication=we.required(),this.temporalities=Ai}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=ee({type:t,selectors:[["vidis-medication-scheme-posology"]],inputs:{medication:[1,"medication"]},decls:4,vars:1,consts:[["posologyTemplate",""],[1,"if-needed"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"lang"]],template:function(a,i){if(a&1&&z(0,gAe,3,2)(1,bAe,2,3)(2,kAe,4,4,"ng-template",null,0,Nd),a&2){let r;U((r=i.medication().posology)!=null&&r.length?0:1)}},dependencies:[Ot,o0,cAe,RTe,ATe,OTe,cg],styles:[".if-needed[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:700;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}ul[_ngcontent-%COMP%]{padding-inline-start:20px;margin-block:0}"],changeDetection:0});let e=t;return e})(),CAe=e=>({count:e});function SAe(e,t){e&1&&(S(0,"span",1),N(1),A(2,"translate"),I(),S(3,"span",2),N(4),A(5,"firstLetterUppercase"),I()),e&2&&(C(),te(R(2,2,"medicationSchemeDetails.indication")),C(3),te(R(5,4,t)))}function DAe(e,t){e&1&&(S(0,"span",1),N(1),A(2,"translate"),I(),S(3,"span",2),N(4),A(5,"fullname"),I()),e&2&&(C(),te(R(2,2,"medicationSchemeDetails.prescriber")),C(3),te(R(5,4,t)))}function IAe(e,t){e&1&&(S(0,"span",1),N(1),A(2,"translate"),I(),S(3,"span",2),N(4),A(5,"date"),I()),e&2&&(C(),te(R(2,2,"medicationSchemeDetails.start")),C(3),te(Nt(5,4,t,"dd/MM/yyyy")))}function TAe(e,t){e&1&&(S(0,"span",1),N(1),A(2,"translate"),I(),S(3,"span",2),N(4),A(5,"date"),I()),e&2&&(C(),te(R(2,2,"medicationSchemeDetails.end")),C(3),te(Nt(5,4,t,"dd/MM/yyyy")))}function AAe(e,t){e&1&&(S(0,"span",1),N(1),A(2,"translate"),I(),S(3,"span",5),N(4),A(5,"date"),I()),e&2&&(C(),te(R(2,2,"medicationSchemeDetails.suspension.start")),C(3),te(Nt(5,4,t,"dd/MM/yyyy")))}function OAe(e,t){e&1&&(S(0,"span",1),N(1),A(2,"translate"),I(),S(3,"span",5),N(4),A(5,"date"),I()),e&2&&(C(),te(R(2,2,"medicationSchemeDetails.suspension.end")),C(3),te(Nt(5,4,t,"dd/MM/yyyy")))}function RAe(e,t){e&1&&(S(0,"span",1),N(1),A(2,"translate"),I(),S(3,"span",2),N(4),A(5,"firstLetterUppercase"),I()),e&2&&(C(),te(R(2,2,"medicationSchemeDetails.suspension.reason")),C(3),te(R(5,4,t)))}function PAe(e,t){e&1&&Y(0,"span",1)(1,"span",2)}function MAe(e,t){e&1&&Y(0,"mat-divider")}function NAe(e,t){if(e&1&&(z(0,AAe,6,7)(1,OAe,6,7)(2,RAe,6,6),A(3,"translateValue"),z(4,PAe,2,0)(5,MAe,1,0,"mat-divider")),e&2){let n,a,i,r=t.$implicit,s=t.$index,l=t.$count;U((n=r.startDate)?0:-1,n),C(),U((a=r.endDate)?1:-1,a),C(),U((i=R(3,5,r.reason))?2:-1,i),C(2),U(r.type==="definitive"?4:-1),C(),U(s!==l-1?5:-1)}}function LAe(e,t){if(e&1&&(S(0,"span",1),N(1),A(2,"translate"),I(),S(3,"span",4),qa(4,NAe,6,7,null,null,Mi),I()),e&2){let n=L();C(),te(R(2,1,"medicationSchemeDetails.suspension.label")),C(3),$a(n)}}function FAe(e,t){e&1&&z(0,LAe,6,3),e&2&&U(t.length>0?0:-1)}function VAe(e,t){if(e&1&&(S(0,"span",1),N(1),A(2,"translate"),I(),S(3,"span",2),N(4),A(5,"translate"),A(6,"firstLetterUppercase"),I()),e&2){let n=L();C(),te(R(2,2,"medicationSchemeDetails.quantity")),C(3),te(R(6,7,Nt(5,4,"commons.administrationUnits."+n.medication().posology[0].quantity.unit,fn(9,CAe,n.medication().posology[0].quantity.value))))}}function zAe(e,t){e&1&&(S(0,"span",1),N(1),A(2,"translate"),I(),S(3,"span",2),N(4),A(5,"translate"),I()),e&2&&(C(),te(R(2,2,"medicationSchemeDetails.periodicity")),C(3),te(R(5,4,"commons.periodicities."+t)))}function BAe(e,t){e&1&&(S(0,"span",1),N(1),A(2,"translate"),I(),S(3,"span",2),N(4),A(5,"translate"),A(6,"firstLetterUppercase"),I()),e&2&&(C(),te(R(2,2,"medicationSchemeDetails.route")),C(3),te(R(6,6,R(5,4,"commons.routes."+t))))}function jAe(e,t){e&1&&(S(0,"span",1),N(1),A(2,"translate"),I(),S(3,"span",2),N(4),A(5,"translate"),A(6,"firstLetterUppercase"),I()),e&2&&(C(),te(R(2,2,"medicationSchemeDetails.temporality")),C(3),te(R(6,6,R(5,4,"commons.temporality."+t))))}function HAe(e,t){e&1&&(S(0,"span",1),N(1),A(2,"translate"),I(),S(3,"span",2),N(4),I()),e&2&&(C(),te(R(2,2,"medicationSchemeDetails.startCondition")),C(3),te(t))}function UAe(e,t){e&1&&(S(0,"span",1),N(1),A(2,"translate"),I(),S(3,"span",2),N(4),I()),e&2&&(C(),te(R(2,2,"medicationSchemeDetails.endCondition")),C(3),te(t))}function WAe(e,t){e&1&&(S(0,"span",1),N(1),A(2,"translate"),I(),S(3,"span",2),N(4),I()),e&2&&(C(),te(R(2,2,"medicationSchemeDetails.instructions")),C(3),te(t))}function GAe(e,t){e&1&&(S(0,"span",1),N(1),A(2,"translate"),I(),S(3,"span",2),N(4),I()),e&2&&(C(),te(R(2,2,"medicationSchemeDetails.comment")),C(3),te(t))}var fle=(()=>{const t=class t{constructor(){this.medication=we.required(),this.temporalities=Ai}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=ee({type:t,selectors:[["vidis-medication-scheme-details-row"]],inputs:{medication:[1,"medication"]},decls:30,vars:33,consts:[[1,"details"],[1,"details__label"],[1,"details__value"],[3,"medication"],[1,"details__value","suspension"],[1,"details__value","suspension__date"]],template:function(a,i){if(a&1&&(S(0,"span",0)(1,"span",1),N(2),A(3,"translate"),I(),S(4,"span",2),N(5),A(6,"translateValue"),A(7,"firstLetterUppercase"),I(),z(8,SAe,6,6),A(9,"translateValue"),z(10,DAe,6,6)(11,IAe,6,7)(12,TAe,6,7)(13,FAe,1,1),A(14,"activeAndFutureSuspensions"),z(15,VAe,7,11)(16,zAe,6,6),S(17,"span",1),N(18),A(19,"translate"),I(),S(20,"span",2),Y(21,"vidis-medication-scheme-posology",3),I(),z(22,BAe,7,8)(23,jAe,7,8)(24,HAe,5,4)(25,UAe,5,4)(26,WAe,5,4),A(27,"translateValue"),z(28,GAe,5,4),A(29,"translateValue"),I()),a&2){let r,s,l,c,d,u,p,b,g,w,k,D,O;C(2),te(R(3,17,"medicationSchemeDetails.medication")),C(3),te(R(7,21,R(6,19,i.medication().name))),C(3),U((r=R(9,23,i.medication().indication))?8:-1,r),C(2),U((s=i.medication().author)?10:-1,s),C(),U((l=i.medication().treatmentStartDate)?11:-1,l),C(),U((c=i.medication().treatmentEndDate)?12:-1,c),C(),U((d=R(14,25,i.medication().suspensions))?13:-1,d),C(2),U(!((u=i.medication().posology)==null||u[0]==null||u[0].quantity==null)&&u[0].quantity.unit?15:-1),C(),U((p=(p=i.medication().frequency)==null?null:p.periodicity)?16:-1,p),C(2),te(R(19,27,"medicationSchemeDetails.posologie")),C(3),F("medication",i.medication()),C(),U((b=i.medication().route)?22:-1,b),C(),U((g=i.medication().temporality)?23:-1,g),C(),U((w=i.medication().treatmentStartCondition)?24:-1,w),C(),U((k=i.medication().treatmentEndCondition)?25:-1,k),C(),U((D=R(27,29,i.medication().instructions))?26:-1,D),C(2),U((O=R(29,31,i.medication().comment))?28:-1,O)}},dependencies:[Ka,CTe,Ot,EAe,Cs,lc,Zi,Os,NTe],styles:[".details[_ngcontent-%COMP%], .details[_ngcontent-%COMP%] .suspension[_ngcontent-%COMP%]{display:grid}@media only screen and (min-width: 960px){.details[_ngcontent-%COMP%]{grid-template-columns:max-content auto;gap:10px 20px}.details[_ngcontent-%COMP%] mat-divider[_ngcontent-%COMP%]{display:none}.details[_ngcontent-%COMP%] .suspension[_ngcontent-%COMP%]{grid-template-columns:max-content max-content max-content max-content max-content max-content;column-gap:10px}.details[_ngcontent-%COMP%] .suspension__date[_ngcontent-%COMP%]{margin-right:20px}}@media only screen and (max-width: 960px){.details__value[_ngcontent-%COMP%]{margin-bottom:10px}.details[_ngcontent-%COMP%] .suspension[_ngcontent-%COMP%]{border:1px solid #8f8f8f;padding:8px}.details[_ngcontent-%COMP%] .suspension[_ngcontent-%COMP%] mat-divider[_ngcontent-%COMP%]{margin-top:6px;margin-bottom:6px}.details[_ngcontent-%COMP%] .suspension[_ngcontent-%COMP%] .details__label[_ngcontent-%COMP%], .details[_ngcontent-%COMP%] .suspension[_ngcontent-%COMP%] .details__value[_ngcontent-%COMP%]{margin-bottom:0}}.details__label[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:700;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.details__value[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}"],changeDetection:0});let e=t;return e})(),nh=(()=>{const t=class t{setClientId(a){this.clientId=a}buildClientIdHeader(){return this.clientId&&new ro().set($o.exchangeClientId,this.clientId)}};t.ɵfac=function(a){return new(a||t)},t.ɵprov=Z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),gle=(()=>{const t=class t extends nh{constructor(){super(...arguments),this.http=_(ac)}find(a){return this.http.post("/v1/medicationscheme",{ssins:a?[a]:[]},{headers:this.buildClientIdHeader()})}};t.ɵfac=(()=>{let a;return function(i){return(a||(a=tt(t)))(i||t)}})(),t.ɵprov=Z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),qAe={schemes:[{patient:{ssin:"00000000097",firstName:"John",lastName:"Doe"},lastChange:{author:{firstName:"Dr.",lastName:"Fictif (FICTIF)",nihdi:"10000000004",role:Ba.PERSPHYSICIAN},date:"2024-10-16T19:59:18.000+0000"},version:"42",medications:[{author:{firstName:"Dr.",lastName:"Fictif (FICTIF)",nihdi:"10000000037",role:Ba.PERSPHYSICIAN},identifier:{value:"0041020",type:Si.CNK},temporality:Ai.CHRONIC,frequency:{periodicity:X.D},route:Ci._00064,name:[{lang:h.FR,value:"Novyra 50 mg"},{lang:h.NL,value:"Novyra 50 mg"},{lang:h.DE,value:"Novyra 50 mg"},{lang:h.EN,value:"Novyra 50 mg"}],instructions:[{lang:h.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],leaflet:[{lang:h.FR,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc812a1e5c015ab30ac66d"},{lang:h.NL,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc812a1e5c015ab30ac68a"},{lang:h.DE,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc81291e5c015ab30ac650"}],posology:[{quantity:{unit:Zt._00005,value:1},daytime:{dayPeriod:Kt.MORNING},dayPart:gt.MORNING}],treatmentStartDate:"2025-09-01",treatmentEndCondition:"wanneer niet nodig"},{author:{firstName:"Dr.",lastName:"Exemple (FICTIF)",nihdi:"10000000008",role:Ba.PERSPHARMACIST},frequency:{periodicity:X.D},route:Ci._00064,name:[{lang:h.NL,value:"Elenzom 100 ml"}],instructions:[{lang:h.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],posology:[{quantity:{unit:Zt._00016,value:10},daytime:{dayPeriod:Kt.MORNING},dayPart:gt.MORNING},{quantity:{unit:Zt._00016,value:10},daytime:{dayPeriod:Kt.THEHOUROFSLEEP},dayPart:gt.NIGHT}],treatmentStartDate:"2025-08-15",comment:[{lang:h.NL,value:"magistrale bereiding"}]},{author:{firstName:"Dr.",lastName:"Demo (FICTIF)",nihdi:"10000000003",role:Ba.PERSPHYSICIAN},identifier:{value:"0039347",type:Si.CNK},frequency:{periodicity:X.D},route:Ci._00002,name:[{lang:h.FR,value:"Zypharel 5%"},{lang:h.NL,value:"Zypharel 5%"},{lang:h.DE,value:"Zypharel 5%"},{lang:h.EN,value:"Zypharel 5%"}],instructions:[{lang:h.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],leaflet:[{lang:h.FR,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc70ce1e5c015ab3f12a1e"},{lang:h.NL,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc70d01e5c015ab3f12fb6"},{lang:h.DE,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc70cd1e5c015ab3f124e4"}],posology:[{quantity:{unit:Zt._00003,value:1},daytime:{dayPeriod:Kt.MORNING},dayPart:gt.MORNING},{quantity:{unit:Zt._00003,value:1},daytime:{dayPeriod:Kt.AFTERNOON},dayPart:gt.EVENING}],treatmentStartDate:"2025-07-20"},{author:{firstName:"Dr.",lastName:"Test (FICTIF)",nihdi:"10000000027",role:Ba.PERSPHYSICIAN},identifier:{value:"2120046",type:Si.CNK},temporality:Ai.CHRONIC,frequency:{periodicity:X.D},route:Ci._00064,name:[{lang:h.FR,value:"Trivonex 10 mg"},{lang:h.NL,value:"Trivonex 10 mg"},{lang:h.DE,value:"Trivonex 10 mg"},{lang:h.EN,value:"Trivonex 10 mg"}],instructions:[{lang:h.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],leaflet:[{lang:h.FR,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc6ac21e5c015ab3e5eaeb"},{lang:h.NL,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc6ac21e5c015ab3e5ecd2"},{lang:h.DE,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc6ac11e5c015ab3e5e82d"}],posology:[{quantity:{unit:Zt._00005,value:.5},daytime:{dayPeriod:Kt.EVENING},dayPart:gt.EVENING}],treatmentStartDate:"2025-09-10"},{author:{firstName:"Dr.",lastName:"Test (FICTIF)",nihdi:"10000000005",role:Ba.PERSPHARMACIST},identifier:{value:"0119065",type:Si.CNK},frequency:{periodicity:X.D},route:Ci.OFT,instructions:[{lang:h.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],name:[{lang:h.FR,value:"Meldiora 10 ml"},{lang:h.NL,value:"Meldiora 10 ml"},{lang:h.DE,value:"Meldiora 10 ml"},{lang:h.EN,value:"Meldiora 10 ml"}],leaflet:[{lang:h.FR,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc8f801e5c015ab30e40ab"},{lang:h.NL,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc8f811e5c015ab30e40dd"},{lang:h.DE,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc8f7f1e5c015ab30e4079"}],posology:[{quantity:{unit:Zt._00007,value:1},daytime:{dayPeriod:Kt.MORNING},dayPart:gt.MORNING},{quantity:{unit:Zt._00007,value:1},daytime:{dayPeriod:Kt.AFTERNOON},dayPart:gt.NOON},{quantity:{unit:Zt._00007,value:1},daytime:{dayPeriod:Kt.EVENING},dayPart:gt.EVENING}],treatmentStartDate:"2025-06-30"},{author:{firstName:"Dr.",lastName:"Demo (FICTIF)",nihdi:"10000000014",role:Ba.PERSPHARMACIST,organization:{type:Ba.ORGPHARMACY,nihdi:"80000551",name:"Pharmacie Sans Soucis"}},identifier:{value:"2257095",type:Si.CNK},frequency:{periodicity:X.ONDEMAND},route:Ci._00064,name:[{lang:h.FR,value:"Praxelin 5 mg"},{lang:h.NL,value:"Praxelin 5 mg"},{lang:h.DE,value:"Praxelin 5 mg"},{lang:h.EN,value:"Praxelin 5 mg"}],posology:[{dayPart:gt.TO_PLAN,quantity:{unit:Zt._00005,value:1},daytime:{dayPeriod:Kt.AFTERNOON}}],instructions:[{lang:h.EN,value:"(max 2/j) - Exemple FICTIF - NE PAS UTILISER"}],treatmentStartDate:"2025-09-05"},{author:{firstName:"Dr.",lastName:"Model (FICTIF)",nihdi:"10000000007",role:Ba.PERSPHARMACIST,organization:{type:Ba.ORGPHARMACY,nihdi:"80000551",name:"Pharmacie Sans Soucis"}},identifier:{value:"2257095",type:Si.CNK},frequency:{periodicity:X.D},route:Ci._00004,name:[{lang:h.FR,value:"Voralyte 250 mg"},{lang:h.NL,value:"Voralyte 250 mg"},{lang:h.DE,value:"Voralyte 250 mg"},{lang:h.EN,value:"Voralyte 250 mg"}],posology:[{dayPart:gt.MORNING,quantity:{value:1,unit:Zt._00004},daytime:{dayPeriod:Kt.BEFOREBREAKFAST}},{dayPart:gt.NOON,quantity:{value:1,unit:Zt._00004},daytime:{dayPeriod:Kt.BEFORELUNCH}},{dayPart:gt.EVENING,quantity:{value:1,unit:Zt._00004},daytime:{dayPeriod:Kt.BEFOREDINNER}}],instructions:[{lang:h.EN,value:"(max 2/j) - Exemple FICTIF - NE PAS UTILISER"}],treatmentStartDate:"2025-09-05"},{author:{firstName:"Dr.",lastName:"SampleA (FICTIF)",nihdi:"10000000034",role:Ba.PERSPHYSICIAN},identifier:{value:"1557396",type:Si.CNK},temporality:Ai.ONESHOT,frequency:{periodicity:X.DD},route:Ci.TRANSDERMAL,name:[{lang:h.FR,value:"Syntoril 10 mg/24h"},{lang:h.NL,value:"Syntoril 10 mg/24h"},{lang:h.DE,value:"Syntoril 10 mg/24h"},{lang:h.EN,value:"Syntoril 10 mg/24h"}],posology:[{quantity:{unit:Zt._00020,value:1},daytime:{dayPeriod:Kt.MORNING},dayPart:gt.MORNING}],instructions:[{lang:h.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],leaflet:[{lang:h.FR,value:"https://app.fagg-afmps.be/pharma-status/api/files/62bc773e1e5c015ab3faf955"},{lang:h.NL,value:"https://app.fagg-afmps.be/pharma-status/api/files/62bc773f1e5c015ab3fafa9d"},{lang:h.DE,value:"https://app.fagg-afmps.be/pharma-status/api/files/62bc773d1e5c015ab3faf792"}],treatmentStartDate:"2025-07-01"},{author:{firstName:"Dr.",lastName:"DemoB (FICTIF)",nihdi:"10000000009",role:Ba.PERSPHYSICIAN},identifier:{value:"2915353",type:Si.CNK},frequency:{periodicity:X.ONDEMAND},route:Ci._00049,name:[{lang:h.FR,value:"Cymelune 200 µg"},{lang:h.NL,value:"Cymelune 200 µg"},{lang:h.DE,value:"Cymelune 200 µg"},{lang:h.EN,value:"Cymelune 200 µg"}],posology:[{quantity:{unit:Zt._00011,value:2},dayPart:gt.IF_NEEDED}],instructions:[{lang:h.EN,value:" (max 4/j) - Exemple FICTIF - NE PAS UTILISER"}],leaflet:[{lang:h.FR,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc60891e5c015ab3cfc523"},{lang:h.NL,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc60891e5c015ab3cfc661"},{lang:h.DE,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc60881e5c015ab3cfc3ce"}],treatmentStartDate:"2025-09-02"},{author:{firstName:"Dr.",lastName:"Nuit (FICTIF)",nihdi:"40000000401",role:Ba.PERSNURSE},identifier:{value:"2744753",type:Si.CNK},frequency:{periodicity:X.D},route:Ci._00064,name:[{lang:h.FR,value:"Orvexis 25 mg"},{lang:h.NL,value:"Orvexis 25 mg"},{lang:h.DE,value:"Orvexis 25 mg"},{lang:h.EN,value:"Orvexis 25 mg"}],posology:[{quantity:{unit:Zt._00005,value:1},daytime:{dayPeriod:Kt.THEHOUROFSLEEP},dayPart:gt.NIGHT}],instructions:[{lang:h.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],leaflet:[{lang:h.FR,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc65d71e5c015ab3db5fd8"},{lang:h.NL,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc65d71e5c015ab3db604c"},{lang:h.DE,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc65d61e5c015ab3db5fa6"}],treatmentStartDate:"2025-08-22",treatmentStartCondition:"afwisselend: 1/2 per dag, en 2x 1/2 per dag"},{author:{firstName:"Dr.",lastName:"Nasal (FICTIF)",nihdi:"20000000001",role:Ba.PERSPHARMACIST},identifier:{value:"0062521",type:Si.CNK},temporality:Ai.ONESHOT,frequency:{periodicity:X.D},route:Ci._00055,name:[{lang:h.FR,value:"Beltrion 20 ml"},{lang:h.NL,value:"Beltrion 20 ml"},{lang:h.DE,value:"Beltrion 20 ml"},{lang:h.EN,value:"Beltrion 20 ml"}],posology:[{quantity:{unit:Zt._00012,value:1},daytime:{dayPeriod:Kt.MORNING},dayPart:gt.MORNING},{quantity:{unit:Zt._00012,value:1},daytime:{dayPeriod:Kt.NIGHT},dayPart:gt.NIGHT}],instructions:[{lang:h.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],leaflet:[{lang:h.FR,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc85c41e5c015ab30cc9ac"},{lang:h.NL,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc85c41e5c015ab30ccab5"},{lang:h.DE,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc85c31e5c015ab30cc8ae"}],treatmentStartDate:"2025-07-28"},{author:{firstName:"Dr.",lastName:"Nasal (FICTIF)",nihdi:"10000000011",role:Ba.PERSPHYSICIAN},identifier:{value:"3301",type:Si.VMP},temporality:Ai.CHRONIC,name:[{lang:h.FR,value:"Lumexor 200 mg"},{lang:h.NL,value:"Lumexor 200 mg"}],posology:[{quantity:{unit:Zt._00007,value:1},daytime:{dayPeriod:Kt.MORNING},dayPart:gt.MORNING},{quantity:{unit:Zt._00007,value:1},daytime:{dayPeriod:Kt.AFTERNOON},dayPart:gt.NOON},{quantity:{unit:Zt._00007,value:1},daytime:{dayPeriod:Kt.EVENING},dayPart:gt.EVENING}],instructions:[{lang:h.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],treatmentStartDate:"2025-07-28"}],source:rle.VITALINK}],errors:[]},ble=(()=>{const t=class t extends nh{constructor(){super(...arguments),this.demoService=_(m2e)}find(a){return this.demoService.post("/v1/medicationscheme",qAe,this.buildClientIdHeader())}};t.ɵfac=(()=>{let a;return function(i){return(a||(a=tt(t)))(i||t)}})(),t.ɵprov=Z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),_r=class Di{constructor(){this._dataLength=0,this._bufferLength=0,this._state=new Int32Array(4),this._buffer=new ArrayBuffer(68),this._buffer8=new Uint8Array(this._buffer,0,68),this._buffer32=new Uint32Array(this._buffer,0,17),this.start()}static hashStr(t,n=!1){return this.onePassHasher.start().appendStr(t).end(n)}static hashAsciiStr(t,n=!1){return this.onePassHasher.start().appendAsciiStr(t).end(n)}static _hex(t){let n=Di.hexChars,a=Di.hexOut,i,r,s,l;for(l=0;l<4;l+=1)for(r=l*8,i=t[l],s=0;s<8;s+=2)a[r+1+s]=n.charAt(i&15),i>>>=4,a[r+0+s]=n.charAt(i&15),i>>>=4;return a.join("")}static _md5cycle(t,n){let a=t[0],i=t[1],r=t[2],s=t[3];a+=(i&r|~i&s)+n[0]-680876936|0,a=(a<<7|a>>>25)+i|0,s+=(a&i|~a&r)+n[1]-389564586|0,s=(s<<12|s>>>20)+a|0,r+=(s&a|~s&i)+n[2]+606105819|0,r=(r<<17|r>>>15)+s|0,i+=(r&s|~r&a)+n[3]-1044525330|0,i=(i<<22|i>>>10)+r|0,a+=(i&r|~i&s)+n[4]-176418897|0,a=(a<<7|a>>>25)+i|0,s+=(a&i|~a&r)+n[5]+1200080426|0,s=(s<<12|s>>>20)+a|0,r+=(s&a|~s&i)+n[6]-1473231341|0,r=(r<<17|r>>>15)+s|0,i+=(r&s|~r&a)+n[7]-45705983|0,i=(i<<22|i>>>10)+r|0,a+=(i&r|~i&s)+n[8]+1770035416|0,a=(a<<7|a>>>25)+i|0,s+=(a&i|~a&r)+n[9]-1958414417|0,s=(s<<12|s>>>20)+a|0,r+=(s&a|~s&i)+n[10]-42063|0,r=(r<<17|r>>>15)+s|0,i+=(r&s|~r&a)+n[11]-1990404162|0,i=(i<<22|i>>>10)+r|0,a+=(i&r|~i&s)+n[12]+1804603682|0,a=(a<<7|a>>>25)+i|0,s+=(a&i|~a&r)+n[13]-40341101|0,s=(s<<12|s>>>20)+a|0,r+=(s&a|~s&i)+n[14]-1502002290|0,r=(r<<17|r>>>15)+s|0,i+=(r&s|~r&a)+n[15]+1236535329|0,i=(i<<22|i>>>10)+r|0,a+=(i&s|r&~s)+n[1]-165796510|0,a=(a<<5|a>>>27)+i|0,s+=(a&r|i&~r)+n[6]-1069501632|0,s=(s<<9|s>>>23)+a|0,r+=(s&i|a&~i)+n[11]+643717713|0,r=(r<<14|r>>>18)+s|0,i+=(r&a|s&~a)+n[0]-373897302|0,i=(i<<20|i>>>12)+r|0,a+=(i&s|r&~s)+n[5]-701558691|0,a=(a<<5|a>>>27)+i|0,s+=(a&r|i&~r)+n[10]+38016083|0,s=(s<<9|s>>>23)+a|0,r+=(s&i|a&~i)+n[15]-660478335|0,r=(r<<14|r>>>18)+s|0,i+=(r&a|s&~a)+n[4]-405537848|0,i=(i<<20|i>>>12)+r|0,a+=(i&s|r&~s)+n[9]+568446438|0,a=(a<<5|a>>>27)+i|0,s+=(a&r|i&~r)+n[14]-1019803690|0,s=(s<<9|s>>>23)+a|0,r+=(s&i|a&~i)+n[3]-187363961|0,r=(r<<14|r>>>18)+s|0,i+=(r&a|s&~a)+n[8]+1163531501|0,i=(i<<20|i>>>12)+r|0,a+=(i&s|r&~s)+n[13]-1444681467|0,a=(a<<5|a>>>27)+i|0,s+=(a&r|i&~r)+n[2]-51403784|0,s=(s<<9|s>>>23)+a|0,r+=(s&i|a&~i)+n[7]+1735328473|0,r=(r<<14|r>>>18)+s|0,i+=(r&a|s&~a)+n[12]-1926607734|0,i=(i<<20|i>>>12)+r|0,a+=(i^r^s)+n[5]-378558|0,a=(a<<4|a>>>28)+i|0,s+=(a^i^r)+n[8]-2022574463|0,s=(s<<11|s>>>21)+a|0,r+=(s^a^i)+n[11]+1839030562|0,r=(r<<16|r>>>16)+s|0,i+=(r^s^a)+n[14]-35309556|0,i=(i<<23|i>>>9)+r|0,a+=(i^r^s)+n[1]-1530992060|0,a=(a<<4|a>>>28)+i|0,s+=(a^i^r)+n[4]+1272893353|0,s=(s<<11|s>>>21)+a|0,r+=(s^a^i)+n[7]-155497632|0,r=(r<<16|r>>>16)+s|0,i+=(r^s^a)+n[10]-1094730640|0,i=(i<<23|i>>>9)+r|0,a+=(i^r^s)+n[13]+681279174|0,a=(a<<4|a>>>28)+i|0,s+=(a^i^r)+n[0]-358537222|0,s=(s<<11|s>>>21)+a|0,r+=(s^a^i)+n[3]-722521979|0,r=(r<<16|r>>>16)+s|0,i+=(r^s^a)+n[6]+76029189|0,i=(i<<23|i>>>9)+r|0,a+=(i^r^s)+n[9]-640364487|0,a=(a<<4|a>>>28)+i|0,s+=(a^i^r)+n[12]-421815835|0,s=(s<<11|s>>>21)+a|0,r+=(s^a^i)+n[15]+530742520|0,r=(r<<16|r>>>16)+s|0,i+=(r^s^a)+n[2]-995338651|0,i=(i<<23|i>>>9)+r|0,a+=(r^(i|~s))+n[0]-198630844|0,a=(a<<6|a>>>26)+i|0,s+=(i^(a|~r))+n[7]+1126891415|0,s=(s<<10|s>>>22)+a|0,r+=(a^(s|~i))+n[14]-1416354905|0,r=(r<<15|r>>>17)+s|0,i+=(s^(r|~a))+n[5]-57434055|0,i=(i<<21|i>>>11)+r|0,a+=(r^(i|~s))+n[12]+1700485571|0,a=(a<<6|a>>>26)+i|0,s+=(i^(a|~r))+n[3]-1894986606|0,s=(s<<10|s>>>22)+a|0,r+=(a^(s|~i))+n[10]-1051523|0,r=(r<<15|r>>>17)+s|0,i+=(s^(r|~a))+n[1]-2054922799|0,i=(i<<21|i>>>11)+r|0,a+=(r^(i|~s))+n[8]+1873313359|0,a=(a<<6|a>>>26)+i|0,s+=(i^(a|~r))+n[15]-30611744|0,s=(s<<10|s>>>22)+a|0,r+=(a^(s|~i))+n[6]-1560198380|0,r=(r<<15|r>>>17)+s|0,i+=(s^(r|~a))+n[13]+1309151649|0,i=(i<<21|i>>>11)+r|0,a+=(r^(i|~s))+n[4]-145523070|0,a=(a<<6|a>>>26)+i|0,s+=(i^(a|~r))+n[11]-1120210379|0,s=(s<<10|s>>>22)+a|0,r+=(a^(s|~i))+n[2]+718787259|0,r=(r<<15|r>>>17)+s|0,i+=(s^(r|~a))+n[9]-343485551|0,i=(i<<21|i>>>11)+r|0,t[0]=a+t[0]|0,t[1]=i+t[1]|0,t[2]=r+t[2]|0,t[3]=s+t[3]|0}start(){return this._dataLength=0,this._bufferLength=0,this._state.set(Di.stateIdentity),this}appendStr(t){let n=this._buffer8,a=this._buffer32,i=this._bufferLength,r,s;for(s=0;s<t.length;s+=1){if(r=t.charCodeAt(s),r<128)n[i++]=r;else if(r<2048)n[i++]=(r>>>6)+192,n[i++]=r&63|128;else if(r<55296||r>56319)n[i++]=(r>>>12)+224,n[i++]=r>>>6&63|128,n[i++]=r&63|128;else{if(r=(r-55296)*1024+(t.charCodeAt(++s)-56320)+65536,r>1114111)throw new Error("Unicode standard supports code points up to U+10FFFF");n[i++]=(r>>>18)+240,n[i++]=r>>>12&63|128,n[i++]=r>>>6&63|128,n[i++]=r&63|128}i>=64&&(this._dataLength+=64,Di._md5cycle(this._state,a),i-=64,a[0]=a[16])}return this._bufferLength=i,this}appendAsciiStr(t){let n=this._buffer8,a=this._buffer32,i=this._bufferLength,r,s=0;for(;;){for(r=Math.min(t.length-s,64-i);r--;)n[i++]=t.charCodeAt(s++);if(i<64)break;this._dataLength+=64,Di._md5cycle(this._state,a),i=0}return this._bufferLength=i,this}appendByteArray(t){let n=this._buffer8,a=this._buffer32,i=this._bufferLength,r,s=0;for(;;){for(r=Math.min(t.length-s,64-i);r--;)n[i++]=t[s++];if(i<64)break;this._dataLength+=64,Di._md5cycle(this._state,a),i=0}return this._bufferLength=i,this}getState(){let t=this._state;return{buffer:String.fromCharCode.apply(null,Array.from(this._buffer8)),buflen:this._bufferLength,length:this._dataLength,state:[t[0],t[1],t[2],t[3]]}}setState(t){let n=t.buffer,a=t.state,i=this._state,r;for(this._dataLength=t.length,this._bufferLength=t.buflen,i[0]=a[0],i[1]=a[1],i[2]=a[2],i[3]=a[3],r=0;r<n.length;r+=1)this._buffer8[r]=n.charCodeAt(r)}end(t=!1){let n=this._bufferLength,a=this._buffer8,i=this._buffer32,r=(n>>2)+1;this._dataLength+=n;let s=this._dataLength*8;if(a[n]=128,a[n+1]=a[n+2]=a[n+3]=0,i.set(Di.buffer32Identity.subarray(r),r),n>55&&(Di._md5cycle(this._state,i),i.set(Di.buffer32Identity)),s<=4294967295)i[14]=s;else{let l=s.toString(16).match(/(.*?)(.{0,8})$/);if(l===null)return;let c=parseInt(l[2],16),d=parseInt(l[1],16)||0;i[14]=c,i[15]=d}return Di._md5cycle(this._state,i),t?this._state:Di._hex(this._state)}};_r.stateIdentity=new Int32Array([1732584193,-271733879,-1732584194,271733878]);_r.buffer32Identity=new Int32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);_r.hexChars="0123456789abcdef";_r.hexOut=[];_r.onePassHasher=new _r;if(_r.hashStr("hello")!=="5d41402abc4b2a76b9719d911017c592")throw new Error("Md5 self test failed.");var Dy=(()=>{const t=class t extends GC{constructor(a,i){super(a.getServices(),Ur.MEDICATION_SCHEME,i.getInstance().isOfflineAuthenticated,i.getInstance().isOfflineDataStorageEnabled,Ur.MEDICATION_SCHEME),this.medicationSchemeApiService=_(nh),this.authServiceSelector=_(Il),this.medicationSchemeStateSubject$=new Gr({status:fr.INITIAL}),this.medicationSchemeState$=this.medicationSchemeStateSubject$.asObservable(),this.fnsOptions={weekStartsOn:1},this.addIdToMedication=()=>r=>r.pipe(St(s=>ct(pe({},s),{schemes:s.schemes.map(l=>ct(pe({},l),{medications:l.medications.map(c=>ct(pe({},c),{id:c.id??_r.hashStr(JSON.stringify(c))}))}))})))}fetchMedicationScheme(a=!0){return ga(this,null,function*(){return b2e(this.getData(a),this.medicationSchemeStateSubject$)})}getPageState(){return this.services.cacheDataStorage.get(Ur.MEDICATION_SCHEME_PAGE_STATE)??{filter:rl.ALL,view:0,date:{displayDate:new Date,startOfWeek:ii(new Date,this.fnsOptions),endOfWeek:Qg(new Date,this.fnsOptions)}}}setPageState(a){let i=this.getPageState(),r=pe(pe({},i),a);this.services.cacheDataStorage.set(Ur.MEDICATION_SCHEME_PAGE_STATE,r)}getDataFromBackend(){return ga(this,null,function*(){let a=yield this.authServiceSelector.getInstance().resolveSsin();return zue(this.medicationSchemeApiService.find(a).pipe(this.addIdToMedication()))})}setClientId(a){this.medicationSchemeApiService.setClientId(a)}};t.ɵfac=function(a){return new(a||t)(Se(th),Se(Il))},t.ɵprov=Z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),$Ae=(e,t)=>e.getEnvironmentVariable("env")===rr.DEMO?t.get(ble):t.get(gle),YAe={provide:nh,useFactory:$Ae,deps:[As,dt]};i_(Gde());var Zc;function ZAe(){if(Zc===void 0&&(Zc=null,typeof window<"u")){let e=window;e.trustedTypes!==void 0&&(Zc=e.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return Zc}function qs(e){var t;return((t=ZAe())==null?void 0:t.createHTML(e))||e}function Iy(e){return Error(`Unable to find icon with the name "${e}"`)}function KAe(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function Ty(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function Ay(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}var Mr=class{constructor(e,t,n){o(this,"url");o(this,"svgText");o(this,"options");o(this,"svgElement");this.url=e,this.svgText=t,this.options=n}},QAe=(()=>{const t=class t{constructor(a,i,r,s){o(this,"_httpClient");o(this,"_sanitizer");o(this,"_errorHandler");o(this,"_document");o(this,"_svgIconConfigs",new Map);o(this,"_iconSetConfigs",new Map);o(this,"_cachedIconsByUrl",new Map);o(this,"_inProgressUrlFetches",new Map);o(this,"_fontCssClassesByAlias",new Map);o(this,"_resolvers",[]);o(this,"_defaultFontSetClass",["material-icons","mat-ligature-font"]);this._httpClient=a,this._sanitizer=i,this._errorHandler=s,this._document=r}addSvgIcon(a,i,r){return this.addSvgIconInNamespace("",a,i,r)}addSvgIconLiteral(a,i,r){return this.addSvgIconLiteralInNamespace("",a,i,r)}addSvgIconInNamespace(a,i,r,s){return this._addSvgIconConfig(a,i,new Mr(r,null,s))}addSvgIconResolver(a){return this._resolvers.push(a),this}addSvgIconLiteralInNamespace(a,i,r,s){let l=this._sanitizer.sanitize(li.HTML,r);if(!l)throw Ay(r);let c=qs(l);return this._addSvgIconConfig(a,i,new Mr("",c,s))}addSvgIconSet(a,i){return this.addSvgIconSetInNamespace("",a,i)}addSvgIconSetLiteral(a,i){return this.addSvgIconSetLiteralInNamespace("",a,i)}addSvgIconSetInNamespace(a,i,r){return this._addSvgIconSetConfig(a,new Mr(i,null,r))}addSvgIconSetLiteralInNamespace(a,i,r){let s=this._sanitizer.sanitize(li.HTML,i);if(!s)throw Ay(i);let l=qs(s);return this._addSvgIconSetConfig(a,new Mr("",l,r))}registerFontClassAlias(a,i=a){return this._fontCssClassesByAlias.set(a,i),this}classNameForFontAlias(a){return this._fontCssClassesByAlias.get(a)||a}setDefaultFontSetClass(...a){return this._defaultFontSetClass=a,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(a){let i=this._sanitizer.sanitize(li.RESOURCE_URL,a);if(!i)throw Ty(a);let r=this._cachedIconsByUrl.get(i);return r?bt(Kc(r)):this._loadSvgIconFromConfig(new Mr(a,null)).pipe(ad(s=>this._cachedIconsByUrl.set(i,s)),St(s=>Kc(s)))}getNamedSvgIcon(a,i=""){let r=Oy(i,a),s=this._svgIconConfigs.get(r);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(i,a),s)return this._svgIconConfigs.set(r,s),this._getSvgFromConfig(s);let l=this._iconSetConfigs.get(i);return l?this._getSvgFromIconSetConfigs(a,l):Fue(Iy(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(a){return a.svgText?bt(Kc(this._svgElementFromConfig(a))):this._loadSvgIconFromConfig(a).pipe(St(i=>Kc(i)))}_getSvgFromIconSetConfigs(a,i){let r=this._extractIconWithNameFromAnySet(a,i);if(r)return bt(r);let s=i.filter(l=>!l.svgText).map(l=>this._loadSvgIconSetFromConfig(l).pipe(Z_(c=>{let d=`Loading icon set URL: ${this._sanitizer.sanitize(li.RESOURCE_URL,l.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(d)),bt(null)})));return sf(s).pipe(St(()=>{let l=this._extractIconWithNameFromAnySet(a,i);if(!l)throw Iy(a);return l}))}_extractIconWithNameFromAnySet(a,i){for(let r=i.length-1;r>=0;r--){let s=i[r];if(s.svgText&&s.svgText.toString().indexOf(a)>-1){let l=this._svgElementFromConfig(s),c=this._extractSvgIconFromSet(l,a,s.options);if(c)return c}}return null}_loadSvgIconFromConfig(a){return this._fetchIcon(a).pipe(ad(i=>a.svgText=i),St(()=>this._svgElementFromConfig(a)))}_loadSvgIconSetFromConfig(a){return a.svgText?bt(null):this._fetchIcon(a).pipe(ad(i=>a.svgText=i))}_extractSvgIconFromSet(a,i,r){let s=a.querySelector(`[id="${i}"]`);if(!s)return null;let l=s.cloneNode(!0);if(l.removeAttribute("id"),l.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(l,r);if(l.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(l),r);let c=this._svgElementFromString(qs("<svg></svg>"));return c.appendChild(l),this._setSvgAttributes(c,r)}_svgElementFromString(a){let i=this._document.createElement("DIV");i.innerHTML=a;let r=i.querySelector("svg");if(!r)throw Error("<svg> tag not found");return r}_toSvgElement(a){let i=this._svgElementFromString(qs("<svg></svg>")),r=a.attributes;for(let s=0;s<r.length;s++){let{name:l,value:c}=r[s];l!=="id"&&i.setAttribute(l,c)}for(let s=0;s<a.childNodes.length;s++)a.childNodes[s].nodeType===this._document.ELEMENT_NODE&&i.appendChild(a.childNodes[s].cloneNode(!0));return i}_setSvgAttributes(a,i){return a.setAttribute("fit",""),a.setAttribute("height","100%"),a.setAttribute("width","100%"),a.setAttribute("preserveAspectRatio","xMidYMid meet"),a.setAttribute("focusable","false"),i&&i.viewBox&&a.setAttribute("viewBox",i.viewBox),a}_fetchIcon(a){let{url:i,options:r}=a,s=(r==null?void 0:r.withCredentials)??!1;if(!this._httpClient)throw KAe();if(i==null)throw Error(`Cannot fetch icon from URL "${i}".`);let l=this._sanitizer.sanitize(li.RESOURCE_URL,i);if(!l)throw Ty(i);let c=this._inProgressUrlFetches.get(l);if(c)return c;let d=this._httpClient.get(l,{responseType:"text",withCredentials:s}).pipe(St(u=>qs(u)),Q_(()=>this._inProgressUrlFetches.delete(l)),J_());return this._inProgressUrlFetches.set(l,d),d}_addSvgIconConfig(a,i,r){return this._svgIconConfigs.set(Oy(a,i),r),this}_addSvgIconSetConfig(a,i){let r=this._iconSetConfigs.get(a);return r?r.push(i):this._iconSetConfigs.set(a,[i]),this}_svgElementFromConfig(a){if(!a.svgElement){let i=this._svgElementFromString(a.svgText);this._setSvgAttributes(i,a.options),a.svgElement=i}return a.svgElement}_getIconConfigFromResolvers(a,i){for(let r=0;r<this._resolvers.length;r++){let s=this._resolvers[r](i,a);if(s)return JAe(s)?new Mr(s.url,null,s.options):new Mr(s,null)}}};o(t,"ɵfac",function(a){return new(a||t)(Se(ac,8),Se(jE),Se(it,8),Se(qi))}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Kc(e){return e.cloneNode(!0)}function Oy(e,t){return e+":"+t}function JAe(e){return!!(e.url&&e.options)}var XAe=["*"],eOe=new $("MAT_ICON_DEFAULT_OPTIONS"),tOe=new $("mat-icon-location",{providedIn:"root",factory:aOe});function aOe(){let e=_(it),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}var vle=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],iOe=vle.map(e=>`[${e}]`).join(", "),nOe=/^url\(['"]?#(.*?)['"]?\)$/,Jn=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Re));o(this,"_iconRegistry",_(QAe));o(this,"_location",_(tOe));o(this,"_errorHandler",_(qi));o(this,"_defaultColor");o(this,"_color");o(this,"inline",!1);o(this,"_svgIcon");o(this,"_fontSet");o(this,"_fontIcon");o(this,"_previousFontSetClass",[]);o(this,"_previousFontIconClass");o(this,"_svgName");o(this,"_svgNamespace");o(this,"_previousPath");o(this,"_elementsWithExternalReferences");o(this,"_currentIconFetch",Ye.EMPTY);let a=_(new bs("aria-hidden"),{optional:!0}),i=_(eOe,{optional:!0});i&&(i.color&&(this.color=this._defaultColor=i.color),i.fontSet&&(this.fontSet=i.fontSet)),a||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}get color(){return this._color||this._defaultColor}set color(a){this._color=a}get svgIcon(){return this._svgIcon}set svgIcon(a){a!==this._svgIcon&&(a?this._updateSvgIcon(a):this._svgIcon&&this._clearSvgElement(),this._svgIcon=a)}get fontSet(){return this._fontSet}set fontSet(a){let i=this._cleanupFontValue(a);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(a){let i=this._cleanupFontValue(a);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_splitIconName(a){if(!a)return["",""];let i=a.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${a}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let a=this._elementsWithExternalReferences;if(a&&a.size){let i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(a){this._clearSvgElement();let i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(a),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(a)}_clearSvgElement(){let a=this._elementRef.nativeElement,i=a.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){let r=a.childNodes[i];(r.nodeType!==1||r.nodeName.toLowerCase()==="svg")&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let a=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>a.classList.remove(r)),i.forEach(r=>a.classList.add(r)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&a.classList.remove(this._previousFontIconClass),this.fontIcon&&a.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(a){return typeof a=="string"?a.trim().split(" ")[0]:a}_prependPathToReferences(a){let i=this._elementsWithExternalReferences;i&&i.forEach((r,s)=>{r.forEach(l=>{s.setAttribute(l.name,`url('${a}#${l.value}')`)})})}_cacheChildrenWithExternalReferences(a){let i=a.querySelectorAll(iOe),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let s=0;s<i.length;s++)vle.forEach(l=>{let c=i[s],d=c.getAttribute(l),u=d?d.match(nOe):null;if(u){let p=r.get(c);p||(p=[],r.set(c,p)),p.push({name:l,value:u[1]})}})}_updateSvgIcon(a){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),a){let[i,r]=this._splitIconName(a);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(ei(1)).subscribe(s=>this._setSvgElement(s),s=>{let l=`Error retrieving icon ${i}:${r}! ${s.message}`;this._errorHandler.handleError(new Error(l))})}}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",ee({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(a,i){a&2&&(ve("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet)("fontIcon",i._usingFontIcon()?i.fontIcon:null),Pi(i.color?"mat-"+i.color:""),Ee("mat-icon-inline",i.inline)("mat-icon-no-color",i.color!=="primary"&&i.color!=="accent"&&i.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",fe],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:XAe,decls:1,vars:0,template:function(a,i){a&1&&(ut(),Ce(0))},styles:[`mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}
|
|
61
|
+
`)}function vAe(e,t){e&1&&(S(0,"span"),N(1),I()),e&2&&(C(),ne(" ",t,""))}function yAe(e,t){if(e&1&&(S(0,"span"),N(1),A(2,"translate"),I(),z(3,vAe,2,1,"span"),A(4,"posologySpecification")),e&2){let n,a=L(2).posology,i=L();C(),ne(" ",Nt(2,2,"commons.administrationUnits."+a.quantity.unit,fn(8,uAe,a.quantity.value)),""),C(2),U((n=Nt(4,5,a,i.medication()))?3:-1,n)}}function _Ae(e,t){if(e&1&&(S(0,"span"),N(1),A(2,"quantity"),I(),z(3,yAe,5,10)),e&2){let n=L().posology;C(),te(R(2,2,n.quantity.value)),C(2),U(n.quantity.unit?3:-1)}}function xAe(e,t){if(e&1&&(S(0,"span",3),A(1,"getLangForAttrLang"),A(2,"canTranslateForAttr"),N(3),I()),e&2){let n=L();F("lang",R(1,3,n.lang)),ve("translate",R(2,5,n.lang)),C(3),ne(" ",t," ")}}function wAe(e,t){if(e&1&&(S(0,"span",3),A(1,"getLangForAttrLang"),A(2,"canTranslateForAttr"),N(3),I(),z(4,xAe,4,7,"span",3),A(5,"posologySpecification")),e&2){let n,a=t,i=L().posology,r=L();F("lang",R(1,4,a.lang)),ve("translate",R(2,6,a.lang)),C(3),ne(" ",a.value," "),C(),U((n=Nt(5,8,i,r.medication()))?4:-1,n)}}function kAe(e,t){if(e&1&&(S(0,"div"),z(1,_Ae,4,4)(2,wAe,6,11),A(3,"translateObject"),I()),e&2){let n,a=t.posology;C(),U(a.quantity?1:-1),C(),U((n=R(3,2,a.text))?2:-1,n)}}var EAe=(()=>{const t=class t{constructor(){this.medication=we.required(),this.temporalities=Ai}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=ee({type:t,selectors:[["vidis-medication-scheme-posology"]],inputs:{medication:[1,"medication"]},decls:4,vars:1,consts:[["posologyTemplate",""],[1,"if-needed"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"lang"]],template:function(a,i){if(a&1&&z(0,gAe,3,2)(1,bAe,2,3)(2,kAe,4,4,"ng-template",null,0,Nd),a&2){let r;U((r=i.medication().posology)!=null&&r.length?0:1)}},dependencies:[Ot,o0,cAe,RTe,ATe,OTe,cg],styles:[".if-needed[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:700;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}ul[_ngcontent-%COMP%]{padding-inline-start:20px;margin-block:0}"],changeDetection:0});let e=t;return e})(),CAe=e=>({count:e});function SAe(e,t){e&1&&(S(0,"span",1),N(1),A(2,"translate"),I(),S(3,"span",2),N(4),A(5,"firstLetterUppercase"),I()),e&2&&(C(),te(R(2,2,"medicationSchemeDetails.indication")),C(3),te(R(5,4,t)))}function DAe(e,t){e&1&&(S(0,"span",1),N(1),A(2,"translate"),I(),S(3,"span",2),N(4),A(5,"fullname"),I()),e&2&&(C(),te(R(2,2,"medicationSchemeDetails.prescriber")),C(3),te(R(5,4,t)))}function IAe(e,t){e&1&&(S(0,"span",1),N(1),A(2,"translate"),I(),S(3,"span",2),N(4),A(5,"date"),I()),e&2&&(C(),te(R(2,2,"medicationSchemeDetails.start")),C(3),te(Nt(5,4,t,"dd/MM/yyyy")))}function TAe(e,t){e&1&&(S(0,"span",1),N(1),A(2,"translate"),I(),S(3,"span",2),N(4),A(5,"date"),I()),e&2&&(C(),te(R(2,2,"medicationSchemeDetails.end")),C(3),te(Nt(5,4,t,"dd/MM/yyyy")))}function AAe(e,t){e&1&&(S(0,"span",1),N(1),A(2,"translate"),I(),S(3,"span",5),N(4),A(5,"date"),I()),e&2&&(C(),te(R(2,2,"medicationSchemeDetails.suspension.start")),C(3),te(Nt(5,4,t,"dd/MM/yyyy")))}function OAe(e,t){e&1&&(S(0,"span",1),N(1),A(2,"translate"),I(),S(3,"span",5),N(4),A(5,"date"),I()),e&2&&(C(),te(R(2,2,"medicationSchemeDetails.suspension.end")),C(3),te(Nt(5,4,t,"dd/MM/yyyy")))}function RAe(e,t){e&1&&(S(0,"span",1),N(1),A(2,"translate"),I(),S(3,"span",2),N(4),A(5,"firstLetterUppercase"),I()),e&2&&(C(),te(R(2,2,"medicationSchemeDetails.suspension.reason")),C(3),te(R(5,4,t)))}function PAe(e,t){e&1&&Y(0,"span",1)(1,"span",2)}function MAe(e,t){e&1&&Y(0,"mat-divider")}function NAe(e,t){if(e&1&&(z(0,AAe,6,7)(1,OAe,6,7)(2,RAe,6,6),A(3,"translateValue"),z(4,PAe,2,0)(5,MAe,1,0,"mat-divider")),e&2){let n,a,i,r=t.$implicit,s=t.$index,l=t.$count;U((n=r.startDate)?0:-1,n),C(),U((a=r.endDate)?1:-1,a),C(),U((i=R(3,5,r.reason))?2:-1,i),C(2),U(r.type==="definitive"?4:-1),C(),U(s!==l-1?5:-1)}}function LAe(e,t){if(e&1&&(S(0,"span",1),N(1),A(2,"translate"),I(),S(3,"span",4),qa(4,NAe,6,7,null,null,Mi),I()),e&2){let n=L();C(),te(R(2,1,"medicationSchemeDetails.suspension.label")),C(3),$a(n)}}function FAe(e,t){e&1&&z(0,LAe,6,3),e&2&&U(t.length>0?0:-1)}function VAe(e,t){if(e&1&&(S(0,"span",1),N(1),A(2,"translate"),I(),S(3,"span",2),N(4),A(5,"translate"),A(6,"firstLetterUppercase"),I()),e&2){let n=L();C(),te(R(2,2,"medicationSchemeDetails.quantity")),C(3),te(R(6,7,Nt(5,4,"commons.administrationUnits."+n.medication().posology[0].quantity.unit,fn(9,CAe,n.medication().posology[0].quantity.value))))}}function zAe(e,t){e&1&&(S(0,"span",1),N(1),A(2,"translate"),I(),S(3,"span",2),N(4),A(5,"translate"),I()),e&2&&(C(),te(R(2,2,"medicationSchemeDetails.periodicity")),C(3),te(R(5,4,"commons.periodicities."+t)))}function BAe(e,t){e&1&&(S(0,"span",1),N(1),A(2,"translate"),I(),S(3,"span",2),N(4),A(5,"translate"),A(6,"firstLetterUppercase"),I()),e&2&&(C(),te(R(2,2,"medicationSchemeDetails.route")),C(3),te(R(6,6,R(5,4,"commons.routes."+t))))}function jAe(e,t){e&1&&(S(0,"span",1),N(1),A(2,"translate"),I(),S(3,"span",2),N(4),A(5,"translate"),A(6,"firstLetterUppercase"),I()),e&2&&(C(),te(R(2,2,"medicationSchemeDetails.temporality")),C(3),te(R(6,6,R(5,4,"commons.temporality."+t))))}function HAe(e,t){e&1&&(S(0,"span",1),N(1),A(2,"translate"),I(),S(3,"span",2),N(4),I()),e&2&&(C(),te(R(2,2,"medicationSchemeDetails.startCondition")),C(3),te(t))}function UAe(e,t){e&1&&(S(0,"span",1),N(1),A(2,"translate"),I(),S(3,"span",2),N(4),I()),e&2&&(C(),te(R(2,2,"medicationSchemeDetails.endCondition")),C(3),te(t))}function WAe(e,t){e&1&&(S(0,"span",1),N(1),A(2,"translate"),I(),S(3,"span",2),N(4),I()),e&2&&(C(),te(R(2,2,"medicationSchemeDetails.instructions")),C(3),te(t))}function GAe(e,t){e&1&&(S(0,"span",1),N(1),A(2,"translate"),I(),S(3,"span",2),N(4),I()),e&2&&(C(),te(R(2,2,"medicationSchemeDetails.comment")),C(3),te(t))}var fle=(()=>{const t=class t{constructor(){this.medication=we.required(),this.temporalities=Ai}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=ee({type:t,selectors:[["vidis-medication-scheme-details-row"]],inputs:{medication:[1,"medication"]},decls:30,vars:33,consts:[[1,"details"],[1,"details__label"],[1,"details__value"],[3,"medication"],[1,"details__value","suspension"],[1,"details__value","suspension__date"]],template:function(a,i){if(a&1&&(S(0,"span",0)(1,"span",1),N(2),A(3,"translate"),I(),S(4,"span",2),N(5),A(6,"translateValue"),A(7,"firstLetterUppercase"),I(),z(8,SAe,6,6),A(9,"translateValue"),z(10,DAe,6,6)(11,IAe,6,7)(12,TAe,6,7)(13,FAe,1,1),A(14,"activeAndFutureSuspensions"),z(15,VAe,7,11)(16,zAe,6,6),S(17,"span",1),N(18),A(19,"translate"),I(),S(20,"span",2),Y(21,"vidis-medication-scheme-posology",3),I(),z(22,BAe,7,8)(23,jAe,7,8)(24,HAe,5,4)(25,UAe,5,4)(26,WAe,5,4),A(27,"translateValue"),z(28,GAe,5,4),A(29,"translateValue"),I()),a&2){let r,s,l,c,d,u,p,b,g,w,k,D,O;C(2),te(R(3,17,"medicationSchemeDetails.medication")),C(3),te(R(7,21,R(6,19,i.medication().name))),C(3),U((r=R(9,23,i.medication().indication))?8:-1,r),C(2),U((s=i.medication().author)?10:-1,s),C(),U((l=i.medication().treatmentStartDate)?11:-1,l),C(),U((c=i.medication().treatmentEndDate)?12:-1,c),C(),U((d=R(14,25,i.medication().suspensions))?13:-1,d),C(2),U(!((u=i.medication().posology)==null||u[0]==null||u[0].quantity==null)&&u[0].quantity.unit?15:-1),C(),U((p=(p=i.medication().frequency)==null?null:p.periodicity)?16:-1,p),C(2),te(R(19,27,"medicationSchemeDetails.posologie")),C(3),F("medication",i.medication()),C(),U((b=i.medication().route)?22:-1,b),C(),U((g=i.medication().temporality)?23:-1,g),C(),U((w=i.medication().treatmentStartCondition)?24:-1,w),C(),U((k=i.medication().treatmentEndCondition)?25:-1,k),C(),U((D=R(27,29,i.medication().instructions))?26:-1,D),C(2),U((O=R(29,31,i.medication().comment))?28:-1,O)}},dependencies:[Ka,CTe,Ot,EAe,Cs,lc,Zi,Os,NTe],styles:[".details[_ngcontent-%COMP%], .details[_ngcontent-%COMP%] .suspension[_ngcontent-%COMP%]{display:grid}@media only screen and (min-width: 960px){.details[_ngcontent-%COMP%]{grid-template-columns:max-content auto;gap:10px 20px}.details[_ngcontent-%COMP%] mat-divider[_ngcontent-%COMP%]{display:none}.details[_ngcontent-%COMP%] .suspension[_ngcontent-%COMP%]{grid-template-columns:max-content max-content max-content max-content max-content max-content;column-gap:10px}.details[_ngcontent-%COMP%] .suspension__date[_ngcontent-%COMP%]{margin-right:20px}}@media only screen and (max-width: 960px){.details__value[_ngcontent-%COMP%]{margin-bottom:10px}.details[_ngcontent-%COMP%] .suspension[_ngcontent-%COMP%]{border:1px solid #8f8f8f;padding:8px}.details[_ngcontent-%COMP%] .suspension[_ngcontent-%COMP%] mat-divider[_ngcontent-%COMP%]{margin-top:6px;margin-bottom:6px}.details[_ngcontent-%COMP%] .suspension[_ngcontent-%COMP%] .details__label[_ngcontent-%COMP%], .details[_ngcontent-%COMP%] .suspension[_ngcontent-%COMP%] .details__value[_ngcontent-%COMP%]{margin-bottom:0}}.details__label[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:700;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.details__value[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}"],changeDetection:0});let e=t;return e})(),nh=(()=>{const t=class t{setClientId(a){this.clientId=a}buildClientIdHeader(){return this.clientId&&new ro().set($o.exchangeClientId,this.clientId)}};t.ɵfac=function(a){return new(a||t)},t.ɵprov=Z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),gle=(()=>{const t=class t extends nh{constructor(){super(...arguments),this.http=_(ac)}find(a){return this.http.post("/v1/medicationscheme",{ssins:a?[a]:[]},{headers:this.buildClientIdHeader()})}};t.ɵfac=(()=>{let a;return function(i){return(a||(a=tt(t)))(i||t)}})(),t.ɵprov=Z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),qAe={schemes:[{patient:{ssin:"00000000097",firstName:"John",lastName:"Doe"},lastChange:{author:{firstName:"Dr.",lastName:"Laurent Dupont",nihdi:"10000000004",role:Ba.PERSPHYSICIAN},date:"2024-10-16T19:59:18.000+0000"},version:"42",medications:[{author:{firstName:"Dr.",lastName:"Gerard Pierre",nihdi:"10000000037",role:Ba.PERSPHYSICIAN},identifier:{value:"0041020",type:Si.CNK},temporality:Ai.CHRONIC,frequency:{periodicity:X.D},route:Ci._00064,name:[{lang:h.FR,value:"Novyra 50 mg"},{lang:h.NL,value:"Novyra 50 mg"},{lang:h.DE,value:"Novyra 50 mg"},{lang:h.EN,value:"Novyra 50 mg"}],instructions:[{lang:h.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],leaflet:[{lang:h.FR,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc812a1e5c015ab30ac66d"},{lang:h.NL,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc812a1e5c015ab30ac68a"},{lang:h.DE,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc81291e5c015ab30ac650"}],posology:[{quantity:{unit:Zt._00005,value:1},daytime:{dayPeriod:Kt.MORNING},dayPart:gt.MORNING}],treatmentStartDate:"2025-09-01",treatmentEndCondition:"wanneer niet nodig"},{author:{firstName:"Dr.",lastName:"Gerard Pierre",nihdi:"10000000008",role:Ba.PERSPHARMACIST},frequency:{periodicity:X.D},route:Ci._00064,name:[{lang:h.NL,value:"Elenzom 100 ml"}],instructions:[{lang:h.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],posology:[{quantity:{unit:Zt._00016,value:10},daytime:{dayPeriod:Kt.MORNING},dayPart:gt.MORNING},{quantity:{unit:Zt._00016,value:10},daytime:{dayPeriod:Kt.THEHOUROFSLEEP},dayPart:gt.NIGHT}],treatmentStartDate:"2025-08-15",comment:[{lang:h.NL,value:"magistrale bereiding"}]},{author:{firstName:"Dr.",lastName:"François Dupont",nihdi:"10000000003",role:Ba.PERSPHYSICIAN},identifier:{value:"0039347",type:Si.CNK},frequency:{periodicity:X.D},route:Ci._00002,name:[{lang:h.FR,value:"Zypharel 5%"},{lang:h.NL,value:"Zypharel 5%"},{lang:h.DE,value:"Zypharel 5%"},{lang:h.EN,value:"Zypharel 5%"}],instructions:[{lang:h.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],leaflet:[{lang:h.FR,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc70ce1e5c015ab3f12a1e"},{lang:h.NL,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc70d01e5c015ab3f12fb6"},{lang:h.DE,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc70cd1e5c015ab3f124e4"}],posology:[{quantity:{unit:Zt._00003,value:1},daytime:{dayPeriod:Kt.MORNING},dayPart:gt.MORNING},{quantity:{unit:Zt._00003,value:1},daytime:{dayPeriod:Kt.AFTERNOON},dayPart:gt.EVENING}],treatmentStartDate:"2025-07-20"},{author:{firstName:"Dr.",lastName:"Francois Alexandre",nihdi:"10000000027",role:Ba.PERSPHYSICIAN},identifier:{value:"2120046",type:Si.CNK},temporality:Ai.CHRONIC,frequency:{periodicity:X.D},route:Ci._00064,name:[{lang:h.FR,value:"Trivonex 10 mg"},{lang:h.NL,value:"Trivonex 10 mg"},{lang:h.DE,value:"Trivonex 10 mg"},{lang:h.EN,value:"Trivonex 10 mg"}],instructions:[{lang:h.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],leaflet:[{lang:h.FR,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc6ac21e5c015ab3e5eaeb"},{lang:h.NL,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc6ac21e5c015ab3e5ecd2"},{lang:h.DE,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc6ac11e5c015ab3e5e82d"}],posology:[{quantity:{unit:Zt._00005,value:.5},daytime:{dayPeriod:Kt.EVENING},dayPart:gt.EVENING}],treatmentStartDate:"2025-09-10"},{author:{firstName:"Dr.",lastName:"Pieter Dumont",nihdi:"10000000005",role:Ba.PERSPHARMACIST},identifier:{value:"0119065",type:Si.CNK},frequency:{periodicity:X.D},route:Ci.OFT,instructions:[{lang:h.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],name:[{lang:h.FR,value:"Meldiora 10 ml"},{lang:h.NL,value:"Meldiora 10 ml"},{lang:h.DE,value:"Meldiora 10 ml"},{lang:h.EN,value:"Meldiora 10 ml"}],leaflet:[{lang:h.FR,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc8f801e5c015ab30e40ab"},{lang:h.NL,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc8f811e5c015ab30e40dd"},{lang:h.DE,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc8f7f1e5c015ab30e4079"}],posology:[{quantity:{unit:Zt._00007,value:1},daytime:{dayPeriod:Kt.MORNING},dayPart:gt.MORNING},{quantity:{unit:Zt._00007,value:1},daytime:{dayPeriod:Kt.AFTERNOON},dayPart:gt.NOON},{quantity:{unit:Zt._00007,value:1},daytime:{dayPeriod:Kt.EVENING},dayPart:gt.EVENING}],treatmentStartDate:"2025-06-30"},{author:{firstName:"Dr.",lastName:"Maxwel Bernard",nihdi:"10000000014",role:Ba.PERSPHARMACIST,organization:{type:Ba.ORGPHARMACY,nihdi:"80000551",name:"Pharmacie Sans Soucis"}},identifier:{value:"2257095",type:Si.CNK},frequency:{periodicity:X.ONDEMAND},route:Ci._00064,name:[{lang:h.FR,value:"Praxelin 5 mg"},{lang:h.NL,value:"Praxelin 5 mg"},{lang:h.DE,value:"Praxelin 5 mg"},{lang:h.EN,value:"Praxelin 5 mg"}],posology:[{dayPart:gt.TO_PLAN,quantity:{unit:Zt._00005,value:1},daytime:{dayPeriod:Kt.AFTERNOON}}],instructions:[{lang:h.EN,value:"(max 2/j) - Exemple FICTIF - NE PAS UTILISER"}],treatmentStartDate:"2025-09-05"},{author:{firstName:"Dr.",lastName:"David Martins",nihdi:"10000000007",role:Ba.PERSPHARMACIST,organization:{type:Ba.ORGPHARMACY,nihdi:"80000551",name:"Pharmacie Sans Soucis"}},identifier:{value:"2257095",type:Si.CNK},frequency:{periodicity:X.D},route:Ci._00004,name:[{lang:h.FR,value:"Voralyte 250 mg"},{lang:h.NL,value:"Voralyte 250 mg"},{lang:h.DE,value:"Voralyte 250 mg"},{lang:h.EN,value:"Voralyte 250 mg"}],posology:[{dayPart:gt.MORNING,quantity:{value:1,unit:Zt._00004},daytime:{dayPeriod:Kt.BEFOREBREAKFAST}},{dayPart:gt.NOON,quantity:{value:1,unit:Zt._00004},daytime:{dayPeriod:Kt.BEFORELUNCH}},{dayPart:gt.EVENING,quantity:{value:1,unit:Zt._00004},daytime:{dayPeriod:Kt.BEFOREDINNER}}],instructions:[{lang:h.EN,value:"(max 2/j) - Exemple FICTIF - NE PAS UTILISER"}],treatmentStartDate:"2025-09-05"},{author:{firstName:"Dr.",lastName:"Isabelle Francis",nihdi:"10000000034",role:Ba.PERSPHYSICIAN},identifier:{value:"1557396",type:Si.CNK},temporality:Ai.ONESHOT,frequency:{periodicity:X.DD},route:Ci.TRANSDERMAL,name:[{lang:h.FR,value:"Syntoril 10 mg/24h"},{lang:h.NL,value:"Syntoril 10 mg/24h"},{lang:h.DE,value:"Syntoril 10 mg/24h"},{lang:h.EN,value:"Syntoril 10 mg/24h"}],posology:[{quantity:{unit:Zt._00020,value:1},daytime:{dayPeriod:Kt.MORNING},dayPart:gt.MORNING}],instructions:[{lang:h.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],leaflet:[{lang:h.FR,value:"https://app.fagg-afmps.be/pharma-status/api/files/62bc773e1e5c015ab3faf955"},{lang:h.NL,value:"https://app.fagg-afmps.be/pharma-status/api/files/62bc773f1e5c015ab3fafa9d"},{lang:h.DE,value:"https://app.fagg-afmps.be/pharma-status/api/files/62bc773d1e5c015ab3faf792"}],treatmentStartDate:"2025-07-01"},{author:{firstName:"Dr.",lastName:"Jane Marchand",nihdi:"10000000009",role:Ba.PERSPHYSICIAN},identifier:{value:"2915353",type:Si.CNK},frequency:{periodicity:X.ONDEMAND},route:Ci._00049,name:[{lang:h.FR,value:"Cymelune 200 µg"},{lang:h.NL,value:"Cymelune 200 µg"},{lang:h.DE,value:"Cymelune 200 µg"},{lang:h.EN,value:"Cymelune 200 µg"}],posology:[{quantity:{unit:Zt._00011,value:2},dayPart:gt.IF_NEEDED}],instructions:[{lang:h.EN,value:" (max 4/j) - Exemple FICTIF - NE PAS UTILISER"}],leaflet:[{lang:h.FR,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc60891e5c015ab3cfc523"},{lang:h.NL,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc60891e5c015ab3cfc661"},{lang:h.DE,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc60881e5c015ab3cfc3ce"}],treatmentStartDate:"2025-09-02"},{author:{firstName:"Dr.",lastName:"Anne Smith",nihdi:"40000000401",role:Ba.PERSNURSE},identifier:{value:"2744753",type:Si.CNK},frequency:{periodicity:X.D},route:Ci._00064,name:[{lang:h.FR,value:"Orvexis 25 mg"},{lang:h.NL,value:"Orvexis 25 mg"},{lang:h.DE,value:"Orvexis 25 mg"},{lang:h.EN,value:"Orvexis 25 mg"}],posology:[{quantity:{unit:Zt._00005,value:1},daytime:{dayPeriod:Kt.THEHOUROFSLEEP},dayPart:gt.NIGHT}],instructions:[{lang:h.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],leaflet:[{lang:h.FR,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc65d71e5c015ab3db5fd8"},{lang:h.NL,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc65d71e5c015ab3db604c"},{lang:h.DE,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc65d61e5c015ab3db5fa6"}],treatmentStartDate:"2025-08-22",treatmentStartCondition:"afwisselend: 1/2 per dag, en 2x 1/2 per dag"},{author:{firstName:"Dr.",lastName:"Maurice Antoine",nihdi:"20000000001",role:Ba.PERSPHARMACIST},identifier:{value:"0062521",type:Si.CNK},temporality:Ai.ONESHOT,frequency:{periodicity:X.D},route:Ci._00055,name:[{lang:h.FR,value:"Beltrion 20 ml"},{lang:h.NL,value:"Beltrion 20 ml"},{lang:h.DE,value:"Beltrion 20 ml"},{lang:h.EN,value:"Beltrion 20 ml"}],posology:[{quantity:{unit:Zt._00012,value:1},daytime:{dayPeriod:Kt.MORNING},dayPart:gt.MORNING},{quantity:{unit:Zt._00012,value:1},daytime:{dayPeriod:Kt.NIGHT},dayPart:gt.NIGHT}],instructions:[{lang:h.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],leaflet:[{lang:h.FR,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc85c41e5c015ab30cc9ac"},{lang:h.NL,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc85c41e5c015ab30ccab5"},{lang:h.DE,value:"https://uat.app.fagg-afmps.be/pharma-status/api/files/62bc85c31e5c015ab30cc8ae"}],treatmentStartDate:"2025-07-28"},{author:{firstName:"Dr.",lastName:"Laurent Dupont",nihdi:"10000000011",role:Ba.PERSPHYSICIAN},identifier:{value:"3301",type:Si.VMP},temporality:Ai.CHRONIC,name:[{lang:h.FR,value:"Lumexor 200 mg"},{lang:h.NL,value:"Lumexor 200 mg"}],posology:[{quantity:{unit:Zt._00007,value:1},daytime:{dayPeriod:Kt.MORNING},dayPart:gt.MORNING},{quantity:{unit:Zt._00007,value:1},daytime:{dayPeriod:Kt.AFTERNOON},dayPart:gt.NOON},{quantity:{unit:Zt._00007,value:1},daytime:{dayPeriod:Kt.EVENING},dayPart:gt.EVENING}],instructions:[{lang:h.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],treatmentStartDate:"2025-07-28"}],source:rle.VITALINK}],errors:[]},ble=(()=>{const t=class t extends nh{constructor(){super(...arguments),this.demoService=_(m2e)}find(a){return this.demoService.post("/v1/medicationscheme",qAe,this.buildClientIdHeader())}};t.ɵfac=(()=>{let a;return function(i){return(a||(a=tt(t)))(i||t)}})(),t.ɵprov=Z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),_r=class Di{constructor(){this._dataLength=0,this._bufferLength=0,this._state=new Int32Array(4),this._buffer=new ArrayBuffer(68),this._buffer8=new Uint8Array(this._buffer,0,68),this._buffer32=new Uint32Array(this._buffer,0,17),this.start()}static hashStr(t,n=!1){return this.onePassHasher.start().appendStr(t).end(n)}static hashAsciiStr(t,n=!1){return this.onePassHasher.start().appendAsciiStr(t).end(n)}static _hex(t){let n=Di.hexChars,a=Di.hexOut,i,r,s,l;for(l=0;l<4;l+=1)for(r=l*8,i=t[l],s=0;s<8;s+=2)a[r+1+s]=n.charAt(i&15),i>>>=4,a[r+0+s]=n.charAt(i&15),i>>>=4;return a.join("")}static _md5cycle(t,n){let a=t[0],i=t[1],r=t[2],s=t[3];a+=(i&r|~i&s)+n[0]-680876936|0,a=(a<<7|a>>>25)+i|0,s+=(a&i|~a&r)+n[1]-389564586|0,s=(s<<12|s>>>20)+a|0,r+=(s&a|~s&i)+n[2]+606105819|0,r=(r<<17|r>>>15)+s|0,i+=(r&s|~r&a)+n[3]-1044525330|0,i=(i<<22|i>>>10)+r|0,a+=(i&r|~i&s)+n[4]-176418897|0,a=(a<<7|a>>>25)+i|0,s+=(a&i|~a&r)+n[5]+1200080426|0,s=(s<<12|s>>>20)+a|0,r+=(s&a|~s&i)+n[6]-1473231341|0,r=(r<<17|r>>>15)+s|0,i+=(r&s|~r&a)+n[7]-45705983|0,i=(i<<22|i>>>10)+r|0,a+=(i&r|~i&s)+n[8]+1770035416|0,a=(a<<7|a>>>25)+i|0,s+=(a&i|~a&r)+n[9]-1958414417|0,s=(s<<12|s>>>20)+a|0,r+=(s&a|~s&i)+n[10]-42063|0,r=(r<<17|r>>>15)+s|0,i+=(r&s|~r&a)+n[11]-1990404162|0,i=(i<<22|i>>>10)+r|0,a+=(i&r|~i&s)+n[12]+1804603682|0,a=(a<<7|a>>>25)+i|0,s+=(a&i|~a&r)+n[13]-40341101|0,s=(s<<12|s>>>20)+a|0,r+=(s&a|~s&i)+n[14]-1502002290|0,r=(r<<17|r>>>15)+s|0,i+=(r&s|~r&a)+n[15]+1236535329|0,i=(i<<22|i>>>10)+r|0,a+=(i&s|r&~s)+n[1]-165796510|0,a=(a<<5|a>>>27)+i|0,s+=(a&r|i&~r)+n[6]-1069501632|0,s=(s<<9|s>>>23)+a|0,r+=(s&i|a&~i)+n[11]+643717713|0,r=(r<<14|r>>>18)+s|0,i+=(r&a|s&~a)+n[0]-373897302|0,i=(i<<20|i>>>12)+r|0,a+=(i&s|r&~s)+n[5]-701558691|0,a=(a<<5|a>>>27)+i|0,s+=(a&r|i&~r)+n[10]+38016083|0,s=(s<<9|s>>>23)+a|0,r+=(s&i|a&~i)+n[15]-660478335|0,r=(r<<14|r>>>18)+s|0,i+=(r&a|s&~a)+n[4]-405537848|0,i=(i<<20|i>>>12)+r|0,a+=(i&s|r&~s)+n[9]+568446438|0,a=(a<<5|a>>>27)+i|0,s+=(a&r|i&~r)+n[14]-1019803690|0,s=(s<<9|s>>>23)+a|0,r+=(s&i|a&~i)+n[3]-187363961|0,r=(r<<14|r>>>18)+s|0,i+=(r&a|s&~a)+n[8]+1163531501|0,i=(i<<20|i>>>12)+r|0,a+=(i&s|r&~s)+n[13]-1444681467|0,a=(a<<5|a>>>27)+i|0,s+=(a&r|i&~r)+n[2]-51403784|0,s=(s<<9|s>>>23)+a|0,r+=(s&i|a&~i)+n[7]+1735328473|0,r=(r<<14|r>>>18)+s|0,i+=(r&a|s&~a)+n[12]-1926607734|0,i=(i<<20|i>>>12)+r|0,a+=(i^r^s)+n[5]-378558|0,a=(a<<4|a>>>28)+i|0,s+=(a^i^r)+n[8]-2022574463|0,s=(s<<11|s>>>21)+a|0,r+=(s^a^i)+n[11]+1839030562|0,r=(r<<16|r>>>16)+s|0,i+=(r^s^a)+n[14]-35309556|0,i=(i<<23|i>>>9)+r|0,a+=(i^r^s)+n[1]-1530992060|0,a=(a<<4|a>>>28)+i|0,s+=(a^i^r)+n[4]+1272893353|0,s=(s<<11|s>>>21)+a|0,r+=(s^a^i)+n[7]-155497632|0,r=(r<<16|r>>>16)+s|0,i+=(r^s^a)+n[10]-1094730640|0,i=(i<<23|i>>>9)+r|0,a+=(i^r^s)+n[13]+681279174|0,a=(a<<4|a>>>28)+i|0,s+=(a^i^r)+n[0]-358537222|0,s=(s<<11|s>>>21)+a|0,r+=(s^a^i)+n[3]-722521979|0,r=(r<<16|r>>>16)+s|0,i+=(r^s^a)+n[6]+76029189|0,i=(i<<23|i>>>9)+r|0,a+=(i^r^s)+n[9]-640364487|0,a=(a<<4|a>>>28)+i|0,s+=(a^i^r)+n[12]-421815835|0,s=(s<<11|s>>>21)+a|0,r+=(s^a^i)+n[15]+530742520|0,r=(r<<16|r>>>16)+s|0,i+=(r^s^a)+n[2]-995338651|0,i=(i<<23|i>>>9)+r|0,a+=(r^(i|~s))+n[0]-198630844|0,a=(a<<6|a>>>26)+i|0,s+=(i^(a|~r))+n[7]+1126891415|0,s=(s<<10|s>>>22)+a|0,r+=(a^(s|~i))+n[14]-1416354905|0,r=(r<<15|r>>>17)+s|0,i+=(s^(r|~a))+n[5]-57434055|0,i=(i<<21|i>>>11)+r|0,a+=(r^(i|~s))+n[12]+1700485571|0,a=(a<<6|a>>>26)+i|0,s+=(i^(a|~r))+n[3]-1894986606|0,s=(s<<10|s>>>22)+a|0,r+=(a^(s|~i))+n[10]-1051523|0,r=(r<<15|r>>>17)+s|0,i+=(s^(r|~a))+n[1]-2054922799|0,i=(i<<21|i>>>11)+r|0,a+=(r^(i|~s))+n[8]+1873313359|0,a=(a<<6|a>>>26)+i|0,s+=(i^(a|~r))+n[15]-30611744|0,s=(s<<10|s>>>22)+a|0,r+=(a^(s|~i))+n[6]-1560198380|0,r=(r<<15|r>>>17)+s|0,i+=(s^(r|~a))+n[13]+1309151649|0,i=(i<<21|i>>>11)+r|0,a+=(r^(i|~s))+n[4]-145523070|0,a=(a<<6|a>>>26)+i|0,s+=(i^(a|~r))+n[11]-1120210379|0,s=(s<<10|s>>>22)+a|0,r+=(a^(s|~i))+n[2]+718787259|0,r=(r<<15|r>>>17)+s|0,i+=(s^(r|~a))+n[9]-343485551|0,i=(i<<21|i>>>11)+r|0,t[0]=a+t[0]|0,t[1]=i+t[1]|0,t[2]=r+t[2]|0,t[3]=s+t[3]|0}start(){return this._dataLength=0,this._bufferLength=0,this._state.set(Di.stateIdentity),this}appendStr(t){let n=this._buffer8,a=this._buffer32,i=this._bufferLength,r,s;for(s=0;s<t.length;s+=1){if(r=t.charCodeAt(s),r<128)n[i++]=r;else if(r<2048)n[i++]=(r>>>6)+192,n[i++]=r&63|128;else if(r<55296||r>56319)n[i++]=(r>>>12)+224,n[i++]=r>>>6&63|128,n[i++]=r&63|128;else{if(r=(r-55296)*1024+(t.charCodeAt(++s)-56320)+65536,r>1114111)throw new Error("Unicode standard supports code points up to U+10FFFF");n[i++]=(r>>>18)+240,n[i++]=r>>>12&63|128,n[i++]=r>>>6&63|128,n[i++]=r&63|128}i>=64&&(this._dataLength+=64,Di._md5cycle(this._state,a),i-=64,a[0]=a[16])}return this._bufferLength=i,this}appendAsciiStr(t){let n=this._buffer8,a=this._buffer32,i=this._bufferLength,r,s=0;for(;;){for(r=Math.min(t.length-s,64-i);r--;)n[i++]=t.charCodeAt(s++);if(i<64)break;this._dataLength+=64,Di._md5cycle(this._state,a),i=0}return this._bufferLength=i,this}appendByteArray(t){let n=this._buffer8,a=this._buffer32,i=this._bufferLength,r,s=0;for(;;){for(r=Math.min(t.length-s,64-i);r--;)n[i++]=t[s++];if(i<64)break;this._dataLength+=64,Di._md5cycle(this._state,a),i=0}return this._bufferLength=i,this}getState(){let t=this._state;return{buffer:String.fromCharCode.apply(null,Array.from(this._buffer8)),buflen:this._bufferLength,length:this._dataLength,state:[t[0],t[1],t[2],t[3]]}}setState(t){let n=t.buffer,a=t.state,i=this._state,r;for(this._dataLength=t.length,this._bufferLength=t.buflen,i[0]=a[0],i[1]=a[1],i[2]=a[2],i[3]=a[3],r=0;r<n.length;r+=1)this._buffer8[r]=n.charCodeAt(r)}end(t=!1){let n=this._bufferLength,a=this._buffer8,i=this._buffer32,r=(n>>2)+1;this._dataLength+=n;let s=this._dataLength*8;if(a[n]=128,a[n+1]=a[n+2]=a[n+3]=0,i.set(Di.buffer32Identity.subarray(r),r),n>55&&(Di._md5cycle(this._state,i),i.set(Di.buffer32Identity)),s<=4294967295)i[14]=s;else{let l=s.toString(16).match(/(.*?)(.{0,8})$/);if(l===null)return;let c=parseInt(l[2],16),d=parseInt(l[1],16)||0;i[14]=c,i[15]=d}return Di._md5cycle(this._state,i),t?this._state:Di._hex(this._state)}};_r.stateIdentity=new Int32Array([1732584193,-271733879,-1732584194,271733878]);_r.buffer32Identity=new Int32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);_r.hexChars="0123456789abcdef";_r.hexOut=[];_r.onePassHasher=new _r;if(_r.hashStr("hello")!=="5d41402abc4b2a76b9719d911017c592")throw new Error("Md5 self test failed.");var Dy=(()=>{const t=class t extends GC{constructor(a,i){super(a.getServices(),Ur.MEDICATION_SCHEME,i.getInstance().isOfflineAuthenticated,i.getInstance().isOfflineDataStorageEnabled,Ur.MEDICATION_SCHEME),this.medicationSchemeApiService=_(nh),this.authServiceSelector=_(Il),this.medicationSchemeStateSubject$=new Gr({status:fr.INITIAL}),this.medicationSchemeState$=this.medicationSchemeStateSubject$.asObservable(),this.fnsOptions={weekStartsOn:1},this.addIdToMedication=()=>r=>r.pipe(St(s=>ct(pe({},s),{schemes:s.schemes.map(l=>ct(pe({},l),{medications:l.medications.map(c=>ct(pe({},c),{id:c.id??_r.hashStr(JSON.stringify(c))}))}))})))}fetchMedicationScheme(a=!0){return ga(this,null,function*(){return b2e(this.getData(a),this.medicationSchemeStateSubject$)})}getPageState(){return this.services.cacheDataStorage.get(Ur.MEDICATION_SCHEME_PAGE_STATE)??{filter:rl.ALL,view:0,date:{displayDate:new Date,startOfWeek:ii(new Date,this.fnsOptions),endOfWeek:Qg(new Date,this.fnsOptions)}}}setPageState(a){let i=this.getPageState(),r=pe(pe({},i),a);this.services.cacheDataStorage.set(Ur.MEDICATION_SCHEME_PAGE_STATE,r)}getDataFromBackend(){return ga(this,null,function*(){let a=yield this.authServiceSelector.getInstance().resolveSsin();return zue(this.medicationSchemeApiService.find(a).pipe(this.addIdToMedication()))})}setClientId(a){this.medicationSchemeApiService.setClientId(a)}};t.ɵfac=function(a){return new(a||t)(Se(th),Se(Il))},t.ɵprov=Z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),$Ae=(e,t)=>e.getEnvironmentVariable("env")===rr.DEMO?t.get(ble):t.get(gle),YAe={provide:nh,useFactory:$Ae,deps:[As,dt]};i_(Gde());var Zc;function ZAe(){if(Zc===void 0&&(Zc=null,typeof window<"u")){let e=window;e.trustedTypes!==void 0&&(Zc=e.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return Zc}function qs(e){var t;return((t=ZAe())==null?void 0:t.createHTML(e))||e}function Iy(e){return Error(`Unable to find icon with the name "${e}"`)}function KAe(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function Ty(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function Ay(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}var Mr=class{constructor(e,t,n){o(this,"url");o(this,"svgText");o(this,"options");o(this,"svgElement");this.url=e,this.svgText=t,this.options=n}},QAe=(()=>{const t=class t{constructor(a,i,r,s){o(this,"_httpClient");o(this,"_sanitizer");o(this,"_errorHandler");o(this,"_document");o(this,"_svgIconConfigs",new Map);o(this,"_iconSetConfigs",new Map);o(this,"_cachedIconsByUrl",new Map);o(this,"_inProgressUrlFetches",new Map);o(this,"_fontCssClassesByAlias",new Map);o(this,"_resolvers",[]);o(this,"_defaultFontSetClass",["material-icons","mat-ligature-font"]);this._httpClient=a,this._sanitizer=i,this._errorHandler=s,this._document=r}addSvgIcon(a,i,r){return this.addSvgIconInNamespace("",a,i,r)}addSvgIconLiteral(a,i,r){return this.addSvgIconLiteralInNamespace("",a,i,r)}addSvgIconInNamespace(a,i,r,s){return this._addSvgIconConfig(a,i,new Mr(r,null,s))}addSvgIconResolver(a){return this._resolvers.push(a),this}addSvgIconLiteralInNamespace(a,i,r,s){let l=this._sanitizer.sanitize(li.HTML,r);if(!l)throw Ay(r);let c=qs(l);return this._addSvgIconConfig(a,i,new Mr("",c,s))}addSvgIconSet(a,i){return this.addSvgIconSetInNamespace("",a,i)}addSvgIconSetLiteral(a,i){return this.addSvgIconSetLiteralInNamespace("",a,i)}addSvgIconSetInNamespace(a,i,r){return this._addSvgIconSetConfig(a,new Mr(i,null,r))}addSvgIconSetLiteralInNamespace(a,i,r){let s=this._sanitizer.sanitize(li.HTML,i);if(!s)throw Ay(i);let l=qs(s);return this._addSvgIconSetConfig(a,new Mr("",l,r))}registerFontClassAlias(a,i=a){return this._fontCssClassesByAlias.set(a,i),this}classNameForFontAlias(a){return this._fontCssClassesByAlias.get(a)||a}setDefaultFontSetClass(...a){return this._defaultFontSetClass=a,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(a){let i=this._sanitizer.sanitize(li.RESOURCE_URL,a);if(!i)throw Ty(a);let r=this._cachedIconsByUrl.get(i);return r?bt(Kc(r)):this._loadSvgIconFromConfig(new Mr(a,null)).pipe(ad(s=>this._cachedIconsByUrl.set(i,s)),St(s=>Kc(s)))}getNamedSvgIcon(a,i=""){let r=Oy(i,a),s=this._svgIconConfigs.get(r);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(i,a),s)return this._svgIconConfigs.set(r,s),this._getSvgFromConfig(s);let l=this._iconSetConfigs.get(i);return l?this._getSvgFromIconSetConfigs(a,l):Fue(Iy(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(a){return a.svgText?bt(Kc(this._svgElementFromConfig(a))):this._loadSvgIconFromConfig(a).pipe(St(i=>Kc(i)))}_getSvgFromIconSetConfigs(a,i){let r=this._extractIconWithNameFromAnySet(a,i);if(r)return bt(r);let s=i.filter(l=>!l.svgText).map(l=>this._loadSvgIconSetFromConfig(l).pipe(Z_(c=>{let d=`Loading icon set URL: ${this._sanitizer.sanitize(li.RESOURCE_URL,l.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(d)),bt(null)})));return sf(s).pipe(St(()=>{let l=this._extractIconWithNameFromAnySet(a,i);if(!l)throw Iy(a);return l}))}_extractIconWithNameFromAnySet(a,i){for(let r=i.length-1;r>=0;r--){let s=i[r];if(s.svgText&&s.svgText.toString().indexOf(a)>-1){let l=this._svgElementFromConfig(s),c=this._extractSvgIconFromSet(l,a,s.options);if(c)return c}}return null}_loadSvgIconFromConfig(a){return this._fetchIcon(a).pipe(ad(i=>a.svgText=i),St(()=>this._svgElementFromConfig(a)))}_loadSvgIconSetFromConfig(a){return a.svgText?bt(null):this._fetchIcon(a).pipe(ad(i=>a.svgText=i))}_extractSvgIconFromSet(a,i,r){let s=a.querySelector(`[id="${i}"]`);if(!s)return null;let l=s.cloneNode(!0);if(l.removeAttribute("id"),l.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(l,r);if(l.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(l),r);let c=this._svgElementFromString(qs("<svg></svg>"));return c.appendChild(l),this._setSvgAttributes(c,r)}_svgElementFromString(a){let i=this._document.createElement("DIV");i.innerHTML=a;let r=i.querySelector("svg");if(!r)throw Error("<svg> tag not found");return r}_toSvgElement(a){let i=this._svgElementFromString(qs("<svg></svg>")),r=a.attributes;for(let s=0;s<r.length;s++){let{name:l,value:c}=r[s];l!=="id"&&i.setAttribute(l,c)}for(let s=0;s<a.childNodes.length;s++)a.childNodes[s].nodeType===this._document.ELEMENT_NODE&&i.appendChild(a.childNodes[s].cloneNode(!0));return i}_setSvgAttributes(a,i){return a.setAttribute("fit",""),a.setAttribute("height","100%"),a.setAttribute("width","100%"),a.setAttribute("preserveAspectRatio","xMidYMid meet"),a.setAttribute("focusable","false"),i&&i.viewBox&&a.setAttribute("viewBox",i.viewBox),a}_fetchIcon(a){let{url:i,options:r}=a,s=(r==null?void 0:r.withCredentials)??!1;if(!this._httpClient)throw KAe();if(i==null)throw Error(`Cannot fetch icon from URL "${i}".`);let l=this._sanitizer.sanitize(li.RESOURCE_URL,i);if(!l)throw Ty(i);let c=this._inProgressUrlFetches.get(l);if(c)return c;let d=this._httpClient.get(l,{responseType:"text",withCredentials:s}).pipe(St(u=>qs(u)),Q_(()=>this._inProgressUrlFetches.delete(l)),J_());return this._inProgressUrlFetches.set(l,d),d}_addSvgIconConfig(a,i,r){return this._svgIconConfigs.set(Oy(a,i),r),this}_addSvgIconSetConfig(a,i){let r=this._iconSetConfigs.get(a);return r?r.push(i):this._iconSetConfigs.set(a,[i]),this}_svgElementFromConfig(a){if(!a.svgElement){let i=this._svgElementFromString(a.svgText);this._setSvgAttributes(i,a.options),a.svgElement=i}return a.svgElement}_getIconConfigFromResolvers(a,i){for(let r=0;r<this._resolvers.length;r++){let s=this._resolvers[r](i,a);if(s)return JAe(s)?new Mr(s.url,null,s.options):new Mr(s,null)}}};o(t,"ɵfac",function(a){return new(a||t)(Se(ac,8),Se(jE),Se(it,8),Se(qi))}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Kc(e){return e.cloneNode(!0)}function Oy(e,t){return e+":"+t}function JAe(e){return!!(e.url&&e.options)}var XAe=["*"],eOe=new $("MAT_ICON_DEFAULT_OPTIONS"),tOe=new $("mat-icon-location",{providedIn:"root",factory:aOe});function aOe(){let e=_(it),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}var vle=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],iOe=vle.map(e=>`[${e}]`).join(", "),nOe=/^url\(['"]?#(.*?)['"]?\)$/,Jn=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Re));o(this,"_iconRegistry",_(QAe));o(this,"_location",_(tOe));o(this,"_errorHandler",_(qi));o(this,"_defaultColor");o(this,"_color");o(this,"inline",!1);o(this,"_svgIcon");o(this,"_fontSet");o(this,"_fontIcon");o(this,"_previousFontSetClass",[]);o(this,"_previousFontIconClass");o(this,"_svgName");o(this,"_svgNamespace");o(this,"_previousPath");o(this,"_elementsWithExternalReferences");o(this,"_currentIconFetch",Ye.EMPTY);let a=_(new bs("aria-hidden"),{optional:!0}),i=_(eOe,{optional:!0});i&&(i.color&&(this.color=this._defaultColor=i.color),i.fontSet&&(this.fontSet=i.fontSet)),a||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}get color(){return this._color||this._defaultColor}set color(a){this._color=a}get svgIcon(){return this._svgIcon}set svgIcon(a){a!==this._svgIcon&&(a?this._updateSvgIcon(a):this._svgIcon&&this._clearSvgElement(),this._svgIcon=a)}get fontSet(){return this._fontSet}set fontSet(a){let i=this._cleanupFontValue(a);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(a){let i=this._cleanupFontValue(a);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_splitIconName(a){if(!a)return["",""];let i=a.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${a}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let a=this._elementsWithExternalReferences;if(a&&a.size){let i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(a){this._clearSvgElement();let i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(a),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(a)}_clearSvgElement(){let a=this._elementRef.nativeElement,i=a.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){let r=a.childNodes[i];(r.nodeType!==1||r.nodeName.toLowerCase()==="svg")&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let a=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>a.classList.remove(r)),i.forEach(r=>a.classList.add(r)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&a.classList.remove(this._previousFontIconClass),this.fontIcon&&a.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(a){return typeof a=="string"?a.trim().split(" ")[0]:a}_prependPathToReferences(a){let i=this._elementsWithExternalReferences;i&&i.forEach((r,s)=>{r.forEach(l=>{s.setAttribute(l.name,`url('${a}#${l.value}')`)})})}_cacheChildrenWithExternalReferences(a){let i=a.querySelectorAll(iOe),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let s=0;s<i.length;s++)vle.forEach(l=>{let c=i[s],d=c.getAttribute(l),u=d?d.match(nOe):null;if(u){let p=r.get(c);p||(p=[],r.set(c,p)),p.push({name:l,value:u[1]})}})}_updateSvgIcon(a){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),a){let[i,r]=this._splitIconName(a);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(ei(1)).subscribe(s=>this._setSvgElement(s),s=>{let l=`Error retrieving icon ${i}:${r}! ${s.message}`;this._errorHandler.handleError(new Error(l))})}}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",ee({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(a,i){a&2&&(ve("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet)("fontIcon",i._usingFontIcon()?i.fontIcon:null),Pi(i.color?"mat-"+i.color:""),Ee("mat-icon-inline",i.inline)("mat-icon-no-color",i.color!=="primary"&&i.color!=="accent"&&i.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",fe],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:XAe,decls:1,vars:0,template:function(a,i){a&1&&(ut(),Ce(0))},styles:[`mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}
|
|
62
62
|
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),yo=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",vt({imports:[Vt,Vt]}));let e=t;return e})(),rOe=(()=>{const t=class t{constructor(){this.message=we.required()}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=ee({type:t,selectors:[["vidis-error-display"]],inputs:{message:[1,"message"]},decls:3,vars:3,consts:[["fontIcon","info"]],template:function(a,i){a&1&&(Y(0,"mat-icon",0),N(1),A(2,"translate")),a&2&&(C(),ne(" ",R(2,1,"commons.errors."+i.message())," "))},dependencies:[Jn,Ot],styles:["[_nghost-%COMP%]{display:flex;align-items:center;background:#c41c0d0d;color:#c41c0d;font-weight:700;padding:16px}mat-icon[_ngcontent-%COMP%]{margin-right:8px}mat-icon[_ngcontent-%COMP%]{--mat-icon-color: #c41c0d}"]});let e=t;return e})(),oOe=(()=>{const t=class t{};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=ee({type:t,selectors:[["vidis-report-error-dialog"]],decls:24,vars:23,consts:[["mat-dialog-title",""],["target","_blank",3,"href"],["mat-flat-button","","type","button",3,"mat-dialog-close"],["mat-stroked-button","","type","button",3,"mat-dialog-close"]],template:function(a,i){a&1&&(S(0,"h2",0),N(1),A(2,"translate"),I(),S(3,"mat-dialog-content")(4,"p")(5,"span"),N(6),A(7,"translate"),I()(),S(8,"p")(9,"span"),N(10),A(11,"translate"),I(),S(12,"a",1),A(13,"translate"),N(14),A(15,"translate"),I(),N(16,"."),I()(),S(17,"mat-dialog-actions")(18,"button",2),N(19),A(20,"translate"),I(),S(21,"button",3),N(22),A(23,"translate"),I()()),a&2&&(C(),te(R(2,9,"commons.errors.report-message-title")),C(5),te(R(7,11,"commons.errors.report-message-explanation")),C(4),te(R(11,13,"commons.errors.report-message-content")),C(2),F("href",R(13,15,"commons.errors.report-message-link"),Bf),C(2),te(R(15,17,"commons.errors.report-message-term-use")),C(4),F("mat-dialog-close",!0),C(),ne(" ",R(20,19,"commons.errors.report-message-report-button")," "),C(2),F("mat-dialog-close",!1),C(),ne(" ",R(23,21,"commons.errors.report-message-ignore-button")," "))},dependencies:[nC,Yu,Zu,Qu,Ku,Ka,Qn,Ot],encapsulation:2});let e=t;return e})(),sOe=(()=>{const t=class t{constructor(){this.vidisErrorCode=_(zg)}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=ee({type:t,selectors:[["vidis-not-authorized-dialog"]],decls:12,vars:10,consts:[["mat-dialog-title",""],["mat-flat-button","","type","button",3,"mat-dialog-close"]],template:function(a,i){a&1&&(S(0,"h2",0),N(1),A(2,"translate"),I(),S(3,"mat-dialog-content")(4,"p")(5,"span"),N(6),A(7,"translate"),I()()(),S(8,"mat-dialog-actions")(9,"button",1),N(10),A(11,"translate"),I()()),a&2&&(C(),te(R(2,4,"commons.errors.action-not-authorized-title")),C(5),te(R(7,6,"commons.errors."+i.vidisErrorCode)),C(3),F("mat-dialog-close",!1),C(),ne(" ",R(11,8,"commons.errors.action-not-authorized-close-button")," "))},dependencies:[nC,Yu,Zu,Qu,Ku,Ka,Qn,Ot],encapsulation:2});let e=t;return e})();function Ry(e,t,n){let a=VC(),i=dOe(e,n.timeZone,n.locale??a.locale);return"formatToParts"in i?lOe(i,t):cOe(i,t)}function lOe(e,t){let n=e.formatToParts(t);for(let a=n.length-1;a>=0;--a)if(n[a].type==="timeZoneName")return n[a].value}function cOe(e,t){let n=e.format(t).replace(/\u200E/g,""),a=/ [\w-+ ]+$/.exec(n);return a?a[0].substr(1):""}function dOe(e,t,n){return new Intl.DateTimeFormat(n?[n.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}function uOe(e,t){let n=gOe(t);return"formatToParts"in n?pOe(n,e):mOe(n,e)}var hOe={year:0,month:1,day:2,hour:3,minute:4,second:5};function pOe(e,t){try{let n=e.formatToParts(t),a=[];for(let i=0;i<n.length;i++){let r=hOe[n[i].type];r!==void 0&&(a[r]=parseInt(n[i].value,10))}return a}catch(n){if(n instanceof RangeError)return[NaN];throw n}}function mOe(e,t){let n=e.format(t),a=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);return[parseInt(a[3],10),parseInt(a[1],10),parseInt(a[2],10),parseInt(a[4],10),parseInt(a[5],10),parseInt(a[6],10)]}var bp={},Py=new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),fOe=Py==="06/25/2014, 00:00:00"||Py==="06/25/2014 00:00:00";function gOe(e){return bp[e]||(bp[e]=fOe?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),bp[e]}function yle(e,t,n,a,i,r,s){let l=new Date(0);return l.setUTCFullYear(e,t,n),l.setUTCHours(a,i,r,s),l}var My=36e5,bOe=6e4,vp={timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function _le(e,t,n){if(!e)return 0;let a=vp.timezoneZ.exec(e);if(a)return 0;let i,r;if(a=vp.timezoneHH.exec(e),a)return i=parseInt(a[1],10),Ny(i)?-(i*My):NaN;if(a=vp.timezoneHHMM.exec(e),a){i=parseInt(a[2],10);let s=parseInt(a[3],10);return Ny(i,s)?(r=Math.abs(i)*My+s*bOe,a[1]==="+"?-r:r):NaN}if(_Oe(e)){t=new Date(t||Date.now());let s=n?t:vOe(t),l=Bm(s,e);return-(n?l:yOe(t,l,e))}return NaN}function vOe(e){return yle(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function Bm(e,t){let n=uOe(e,t),a=yle(n[0],n[1]-1,n[2],n[3]%24,n[4],n[5],0).getTime(),i=e.getTime(),r=i%1e3;return i-=r>=0?r:1e3+r,a-i}function yOe(e,t,n){let a=e.getTime()-t,i=Bm(new Date(a),n);if(t===i)return t;a-=i-t;let r=Bm(new Date(a),n);return i===r?i:Math.max(i,r)}function Ny(e,t){return-23<=e&&e<=23&&(t==null||0<=t&&t<=59)}var Ly={};function _Oe(e){if(Ly[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),Ly[e]=!0,!0}catch{return!1}}var xOe=60*1e3,wOe={X:function(e,t,n){let a=yp(n.timeZone,e);if(a===0)return"Z";switch(t){case"X":return Fy(a);case"XXXX":case"XX":return Oo(a);case"XXXXX":case"XXX":default:return Oo(a,":")}},x:function(e,t,n){let a=yp(n.timeZone,e);switch(t){case"x":return Fy(a);case"xxxx":case"xx":return Oo(a);case"xxxxx":case"xxx":default:return Oo(a,":")}},O:function(e,t,n){let a=yp(n.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+kOe(a,":");case"OOOO":default:return"GMT"+Oo(a,":")}},z:function(e,t,n){switch(t){case"z":case"zz":case"zzz":return Ry("short",e,n);case"zzzz":default:return Ry("long",e,n)}}};function yp(e,t){let n=e?_le(e,t,!0)/xOe:(t==null?void 0:t.getTimezoneOffset())??0;if(Number.isNaN(n))throw new RangeError("Invalid time zone specified: "+e);return n}function eu(e,t){let n=e<0?"-":"",a=Math.abs(e).toString();for(;a.length<t;)a="0"+a;return n+a}function Oo(e,t=""){let n=e>0?"-":"+",a=Math.abs(e),i=eu(Math.floor(a/60),2),r=eu(Math.floor(a%60),2);return n+i+t+r}function Fy(e,t){return e%60===0?(e>0?"-":"+")+eu(Math.abs(e)/60,2):Oo(e,t)}function kOe(e,t=""){let n=e>0?"-":"+",a=Math.abs(e),i=Math.floor(a/60),r=a%60;return r===0?n+String(i):n+String(i)+t+eu(r,2)}function Vy(e){let t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),+e-+t}var EOe=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,_p=36e5,zy=6e4,COe=2,Xa={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:EOe};function SOe(e,t={}){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(e===null)return new Date(NaN);let n=t.additionalDigits==null?COe:Number(t.additionalDigits);if(n!==2&&n!==1&&n!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]")return new Date(e.getTime());if(typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]")return new Date(e);if(Object.prototype.toString.call(e)!=="[object String]")return new Date(NaN);let a=DOe(e),{year:i,restDateString:r}=IOe(a.date,n),s=TOe(r,i);if(s===null||isNaN(s.getTime()))return new Date(NaN);if(s){let l=s.getTime(),c=0,d;if(a.time&&(c=AOe(a.time),c===null||isNaN(c)))return new Date(NaN);if(a.timeZone||t.timeZone){if(d=_le(a.timeZone||t.timeZone,new Date(l+c)),isNaN(d))return new Date(NaN)}else d=Vy(new Date(l+c)),d=Vy(new Date(l+c+d));return new Date(l+c+d)}else return new Date(NaN)}function DOe(e){let t={},n=Xa.dateTimePattern.exec(e),a;if(n?(t.date=n[1],a=n[3]):(n=Xa.datePattern.exec(e),n?(t.date=n[1],a=n[2]):(t.date=null,a=e)),a){let i=Xa.timeZone.exec(a);i?(t.time=a.replace(i[1],""),t.timeZone=i[1].trim()):t.time=a}return t}function IOe(e,t){if(e){let n=Xa.YYY[t],a=Xa.YYYYY[t],i=Xa.YYYY.exec(e)||a.exec(e);if(i){let r=i[1];return{year:parseInt(r,10),restDateString:e.slice(r.length)}}if(i=Xa.YY.exec(e)||n.exec(e),i){let r=i[1];return{year:parseInt(r,10)*100,restDateString:e.slice(r.length)}}}return{year:null}}function TOe(e,t){if(t===null)return null;let n,a,i;if(!e||!e.length)return n=new Date(0),n.setUTCFullYear(t),n;let r=Xa.MM.exec(e);if(r)return n=new Date(0),a=parseInt(r[1],10)-1,jy(t,a)?(n.setUTCFullYear(t,a),n):new Date(NaN);if(r=Xa.DDD.exec(e),r){n=new Date(0);let s=parseInt(r[1],10);return POe(t,s)?(n.setUTCFullYear(t,0,s),n):new Date(NaN)}if(r=Xa.MMDD.exec(e),r){n=new Date(0),a=parseInt(r[1],10)-1;let s=parseInt(r[2],10);return jy(t,a,s)?(n.setUTCFullYear(t,a,s),n):new Date(NaN)}if(r=Xa.Www.exec(e),r)return i=parseInt(r[1],10)-1,Hy(i)?By(t,i):new Date(NaN);if(r=Xa.WwwD.exec(e),r){i=parseInt(r[1],10)-1;let s=parseInt(r[2],10)-1;return Hy(i,s)?By(t,i,s):new Date(NaN)}return null}function AOe(e){let t,n,a=Xa.HH.exec(e);if(a)return t=parseFloat(a[1].replace(",",".")),xp(t)?t%24*_p:NaN;if(a=Xa.HHMM.exec(e),a)return t=parseInt(a[1],10),n=parseFloat(a[2].replace(",",".")),xp(t,n)?t%24*_p+n*zy:NaN;if(a=Xa.HHMMSS.exec(e),a){t=parseInt(a[1],10),n=parseInt(a[2],10);let i=parseFloat(a[3].replace(",","."));return xp(t,n,i)?t%24*_p+n*zy+i*1e3:NaN}return null}function By(e,t,n){t=t||0,n=n||0;let a=new Date(0);a.setUTCFullYear(e,0,4);let i=a.getUTCDay()||7,r=t*7+n+1-i;return a.setUTCDate(a.getUTCDate()+r),a}var OOe=[31,28,31,30,31,30,31,31,30,31,30,31],ROe=[31,29,31,30,31,30,31,31,30,31,30,31];function xle(e){return e%400===0||e%4===0&&e%100!==0}function jy(e,t,n){if(t<0||t>11)return!1;if(n!=null){if(n<1)return!1;let a=xle(e);if(a&&n>ROe[t]||!a&&n>OOe[t])return!1}return!0}function POe(e,t){if(t<1)return!1;let n=xle(e);return!(n&&t>366||!n&&t>365)}function Hy(e,t){return!(e<0||e>52||t!=null&&(t<0||t>6))}function xp(e,t,n){return!(e<0||e>=25||t!=null&&(t<0||t>=60)||n!=null&&(n<0||n>=60))}var MOe=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function NOe(e,t,n={}){t=String(t);let a=t.match(MOe);if(a){let i=SOe(n.originalDate||e,n);t=a.reduce(function(r,s){if(s[0]==="'")return r;let l=r.indexOf(s),c=r[l-1]==="'",d=r.replace(s,"'"+wOe[s[0]](i,s,n)+"'");return c?d.substring(0,l-1)+d.substring(l+1):d},t)}return Lo(e,t,n)}var LOe=(()=>{const t=class t{reportError(a){return bt({status:"ok"})}};t.ɵfac=function(a){return new(a||t)},t.ɵprov=Z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),FOe=(()=>{const t=class t{constructor(){this.http=_(ac),this.authService=_(Il).getInstance(),this.apiUrl=_(As).getEnvironmentVariable("apiUrl")}reportError(a){return this.http.post(`${this.apiUrl}/v2/report/error`,a,{headers:{[$o.userType]:Wr.getUserType({isProfessional:this.authService.isProfessional}),[$o.clientType]:qC()?Wr.clientType.mobileApp:Wr.clientType.webApp}})}};t.ɵfac=function(a){return new(a||t)},t.ɵprov=Z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),VOe=(()=>{const t=class t{constructor(){this.config=_(As),this.injector=_(dt),this._instance=null}getInstance(){if(!this._instance){let a=this.config.getEnvironmentVariable("env")==="demo";this._instance=a?this.injector.get(LOe):this.injector.get(FOe)}return this._instance}};t.ɵfac=function(a){return new(a||t)},t.ɵprov=Z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),zOe=(()=>{const t=class t extends r2e{constructor(){super(...arguments),this.version=Fm,this.authServiceSelector=_(Il),this.translateService=_(Fa),this.webComponentConfig=_(As),this.injector=_(dt),this.servicesStore=_(th),this.matDialog=_(Ts),this.destroyRef=_(_i),this.errorServiceSelector=_(VOe),this.snackbarService=_(M2e),this.extraRequiredFields=["offlineDataStorageEnabled","isOfflineAuthenticated","professional","ssin"]}onInitialized(){return ga(this,null,function*(){this.webComponentConfig.setEnvironment(this.configName),this.translateService.use(this.language),this.servicesStore.setServices(this.services),this.authServiceSelector.getInstance().isProfessional=this.professional,this.authServiceSelector.getInstance().patientSsin=this.ssin,this.authServiceSelector.getInstance().registerAccessTokenService(this.isOfflineAuthenticated,this.offlineDataStorageEnabled),this.injectService(),yield this.fetchData(!0),this.services.registerRefreshCallback(a=>ga(this,null,function*(){yield this.fetchData(!0),a()}))})}onPropsChanged(a){a.language&&this.translateService.use(this.language)}checkError(a){(a==null?void 0:a.group)===zn.NOT_AUTHORIZED?this.showNotAuthorizedErrorPopup(a.code):(a==null?void 0:a.group)===zn.OTHER&&this.showTechnicalErrorPopup(a)}showTechnicalErrorPopup(a){this.matDialog.open(oOe,{data:{error:a}}).beforeClosed().pipe(ra(i=>i),sc(this.destroyRef)).subscribe(()=>{this.reportVidisError(a)})}reportVidisError(a){let i={backendTraceId:"",errorMessage:a.message,pageUrl:window.location.href,timestamp:this.formatDateWithZone()};this.errorServiceSelector.getInstance().reportError(i).subscribe({next:r=>{r.status==="ok"?this.snackbarService.showSuccess("commons.errors.report-message-confirm-toast"):this.snackbarService.showError("commons.errors..general")},error:()=>{this.snackbarService.showError("commons.errors.general")}})}showNotAuthorizedErrorPopup(a){this.matDialog.open(sOe,{data:a})}formatDateWithZone(){return NOe(new Date,"yyyy-MM-dd'T'HH:mm:ssXXX",{timeZone:"Europe/Brussels"})}};t.ɵfac=(()=>{let a;return function(i){return(a||(a=tt(t)))(i||t)}})(),t.ɵcmp=ee({type:t,selectors:[["ng-component"]],inputs:{isOfflineAuthenticated:"isOfflineAuthenticated",offlineDataStorageEnabled:"offlineDataStorageEnabled",professional:"professional",ssin:"ssin"},features:[ze],decls:0,vars:0,template:function(a,i){},encapsulation:2});let e=t;return e})();function BOe(e,t){if(e&1&&(S(0,"mat-option",4),N(1),A(2,"translate"),I()),e&2){let n=t.$implicit;F("value",n),C(),te(R(2,2,"commons.sortDropdown."+n))}}function jOe(e,t){if(e&1){let n=wt();S(0,"button",6),A(1,"translate"),xe("click",function(){De(n);let a=L();return Ie(a.emitNewData({sort:a.sortData().sort,order:a.sortDirection.descending}))}),Y(2,"mat-icon",7),I()}if(e&2){let n=L();F("disabled",n.disabled()),ve("aria-label",R(1,2,"commons.sortDropdown.sorting-ascendant"))}}function HOe(e,t){if(e&1){let n=wt();S(0,"button",6),A(1,"translate"),xe("click",function(){De(n);let a=L();return Ie(a.emitNewData({sort:a.sortData().sort,order:a.sortDirection.ascending}))}),Y(2,"mat-icon",8),I()}if(e&2){let n=L();F("disabled",n.disabled()),ve("aria-label",R(1,2,"commons.sortDropdown.sorting-descendent"))}}var UOe=(()=>{const t=class t{constructor(){this.sortData=ws.required(),this.sortItems=we.required(),this.disabled=we(!1),this.sortDirection=n0}emitNewData(a){this.sortData.set(a)}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=ee({type:t,selectors:[["vidis-sort-dropdown"]],inputs:{sortData:[1,"sortData"],sortItems:[1,"sortItems"],disabled:[1,"disabled"]},outputs:{sortData:"sortDataChange"},decls:8,vars:3,consts:[[1,"wrap"],[1,"mh-form-field"],["appearance","outline"],[3,"valueChange","value","disabled"],[3,"value"],["mat-icon-button","",3,"disabled"],["mat-icon-button","",3,"click","disabled"],["fontIcon","sort",1,"ascending"],["fontIcon","sort"]],template:function(a,i){a&1&&(S(0,"div",0)(1,"div",1)(2,"mat-form-field",2)(3,"mat-select",3),xe("valueChange",function(r){return i.emitNewData({sort:r,order:i.sortData().order})}),qa(4,BOe,3,4,"mat-option",4,Mi),I()()(),z(6,jOe,3,4,"button",5)(7,HOe,3,4,"button",5),I()),a&2&&(C(3),F("value",i.sortData().sort)("disabled",i.disabled()),C(),$a(i.sortItems()),C(2),U(i.sortData().order===i.sortDirection.ascending?6:7))},dependencies:[Jn,Ka,Jl,El,uE,Zwe,Ywe,KE,Ot],styles:[".wrap[_ngcontent-%COMP%]{margin-bottom:16px;display:flex;gap:16px;align-items:baseline}.wrap[_ngcontent-%COMP%] .mh-form-field[_ngcontent-%COMP%]{width:100%}.wrap[_ngcontent-%COMP%] .ascending[_ngcontent-%COMP%]{transform:rotateX(180deg)}"]});let e=t;return e})(),WOe=["*"];function GOe(e,t){e&1&&Ca(0)}function qOe(e,t){if(e&1&&(S(0,"div",3),z(1,GOe,1,0,"ng-container",5),I()),e&2){L();let n=Ya(5);C(),F("ngTemplateOutlet",n)}}function $Oe(e,t){e&1&&Ca(0)}function YOe(e,t){if(e&1){let n=wt();S(0,"div",6),xe("click",function(){De(n);let a=L();return Ie(a.toggleExpanded())})("keydown.enter",function(){De(n);let a=L();return Ie(a.toggleExpanded())})("keydown.space",function(){De(n);let a=L();return Ie(a.toggleExpanded())}),z(1,$Oe,1,0,"ng-container",5),I()}if(e&2){let n=L(),a=Ya(5);ve("aria-label",n.currentExpandIconAriaLabel()),C(),F("ngTemplateOutlet",a)}}function ZOe(e,t){e&1&&Ca(0)}function KOe(e,t){if(e&1&&z(0,ZOe,1,0,"ng-container",5),e&2){L();let n=Ya(7);F("ngTemplateOutlet",n)}}function QOe(e,t){if(e&1&&(S(0,"h2"),N(1),I()),e&2){let n=L(3);C(),te(n.alertTitle())}}function JOe(e,t){if(e&1&&(S(0,"p"),N(1),I()),e&2){let n=L(3);C(),te(n.alertSubtitle())}}function XOe(e,t){if(e&1&&(S(0,"div"),z(1,QOe,2,1,"h2")(2,JOe,2,1,"p"),I()),e&2){let n=L(2);C(),U(n.alertTitle()?1:-1),C(),U(n.alertSubtitle()?2:-1)}}function eRe(e,t){e&1&&Ca(0)}function tRe(e,t){if(e&1&&z(0,eRe,1,0,"ng-container",5),e&2){L(2);let n=Ya(7);F("ngTemplateOutlet",n)}}function aRe(e,t){if(e&1){let n=wt();S(0,"mat-icon",11),xe("click",function(){De(n);let a=L(2);return Ie(a.onCloseButtonClick())})("keydown.enter",function(){De(n);let a=L(2);return Ie(a.onCloseButtonClick())})("keydown.space",function(){De(n);let a=L(2);return Ie(a.onCloseButtonClick())}),I()}if(e&2){let n=L(2);ve("aria-label",n.closeButtonAriaLabel())}}function iRe(e,t){if(e&1&&Y(0,"mat-icon",10),e&2){let n=L(2);F("fontIcon",n.expanded()?"keyboard_arrow_up":"keyboard_arrow_down")}}function nRe(e,t){if(e&1&&(Y(0,"mat-icon",7),S(1,"div",8),z(2,XOe,3,2,"div")(3,tRe,1,1,"ng-container"),I(),z(4,aRe,1,1,"mat-icon",9)(5,iRe,1,1,"mat-icon",10)),e&2){let n=L();F("fontIcon",n.fontIcon()),C(2),U(n.alertTitle()||n.alertSubtitle()?2:n.dismissMode()!=="expandable"?3:-1),C(2),U(n.dismissMode()==="closable"?4:n.dismissMode()==="expandable"?5:-1)}}function rRe(e,t){if(e&1){let n=wt();S(0,"button",14),xe("click",function(){De(n);let a=L(2);return Ie(a.onActionButtonClicked())}),N(1),I()}if(e&2){let n=L(2);F("disabled",n.buttonDisabled()),C(),ne(" ",n.buttonLabel()," ")}}function oRe(e,t){if(e&1&&(S(0,"span",12),Ce(1),I(),z(2,rRe,2,2,"button",13)),e&2){let n=L();C(2),U(n.actionButton()?2:-1)}}var wle=(()=>{const t=class t{constructor(){o(this,"usage",we("info"));o(this,"backgroundColor",we("color"));o(this,"alertTitle",we());o(this,"alertSubtitle",we());o(this,"actionButton",we(!1));o(this,"buttonDisabled",we(!1));o(this,"buttonLabel",we());o(this,"dismissMode",we("pinned"));o(this,"closeButtonAriaLabel",we(""));o(this,"startExpanded",we(!1));o(this,"expandedButtonAriaLabel",we(""));o(this,"collapsedButtonAriaLabel",we(""));o(this,"closeButtonClicked",ao());o(this,"actionButtonClicked",ao());o(this,"expanded",Ybe(()=>this.startExpanded()));o(this,"currentExpandIconAriaLabel",Jt(()=>this.expanded()?this.expandedButtonAriaLabel():this.collapsedButtonAriaLabel()));o(this,"expandableExpanded",Jt(()=>this.dismissMode()==="expandable"&&this.expanded()));o(this,"notExpandableMissingTitleAndSubtitle",Jt(()=>this.dismissMode()!=="expandable"&&(this.alertTitle()||this.alertSubtitle())));o(this,"toggleExpanded",()=>{this.expanded.update(a=>!a)});o(this,"onActionButtonClicked",()=>{this.actionButtonClicked.emit()});o(this,"fontIcon",Jt(()=>({info:"info",success:"check_circle",warning:"warning",error:"emergency_home",notification:"notifications"})[this.usage()]??"info"))}onCloseButtonClick(){this.closeButtonClicked.emit()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",ee({type:t,selectors:[["mh-alert"]],inputs:{usage:[1,"usage"],backgroundColor:[1,"backgroundColor"],alertTitle:[1,"alertTitle"],alertSubtitle:[1,"alertSubtitle"],actionButton:[1,"actionButton"],buttonDisabled:[1,"buttonDisabled"],buttonLabel:[1,"buttonLabel"],dismissMode:[1,"dismissMode"],closeButtonAriaLabel:[1,"closeButtonAriaLabel"],startExpanded:[1,"startExpanded"],expandedButtonAriaLabel:[1,"expandedButtonAriaLabel"],collapsedButtonAriaLabel:[1,"collapsedButtonAriaLabel"]},outputs:{closeButtonClicked:"closeButtonClicked",actionButtonClicked:"actionButtonClicked"},ngContentSelectors:WOe,decls:8,vars:6,consts:[["header",""],["details",""],["role","alert","aria-live","assertive"],[1,"display-flex"],["type","button","tabindex","0",1,"display-flex","pointer"],[4,"ngTemplateOutlet"],["type","button","tabindex","0",1,"display-flex","pointer",3,"click","keydown.enter","keydown.space"],[3,"fontIcon"],[1,"flex-grow"],["type","button","tabindex","0","fontIcon","close",1,"top-right-icon"],[1,"top-right-icon",3,"fontIcon"],["type","button","tabindex","0","fontIcon","close",1,"top-right-icon",3,"click","keydown.enter","keydown.space"],[1,"alert-details"],["type","button","mat-flat-button","",3,"disabled"],["type","button","mat-flat-button","",3,"click","disabled"]],template:function(a,i){a&1&&(ut(),S(0,"div",2),z(1,qOe,2,1,"div",3)(2,YOe,2,2,"div",4)(3,KOe,1,1,"ng-container"),I(),z(4,nRe,6,3,"ng-template",null,0,Nd)(6,oRe,3,1,"ng-template",null,1,Nd)),a&2&&(Pi(i.usage()),Ee("white",i.backgroundColor()==="white"),C(),U(i.dismissMode()!=="expandable"?1:2),C(2),U(i.notExpandableMissingTitleAndSubtitle()||i.expandableExpanded()?3:-1))},dependencies:[dg,cg,Jn,Qn],styles:[".info[_ngcontent-%COMP%]{background:#f2f7fd;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.info[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.info[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.info[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.info[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .info[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em}.info[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .info[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .info[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#1d5caf;margin:0}.info[_ngcontent-%COMP%]{--mat-icon-color: #1d5caf}.info[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.info[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .info[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#2473db;width:max-content}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#1d5caf}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#1d5caf}.success[_ngcontent-%COMP%]{background:#f2fcf8;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.success[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.success[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.success[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.success[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .success[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em}.success[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .success[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .success[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#1d8657;margin:0}.success[_ngcontent-%COMP%]{--mat-icon-color: #1d8657}.success[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.success[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .success[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#1d8657;width:max-content}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#145c3c}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#145c3c}.warning[_ngcontent-%COMP%]{background:#ffeee0;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.warning[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.warning[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.warning[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.warning[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .warning[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em}.warning[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .warning[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .warning[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#662e00;margin:0}.warning[_ngcontent-%COMP%]{--mat-icon-color: #662e00}.warning[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.warning[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .warning[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#994500;width:max-content}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#662e00}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#662e00}.error[_ngcontent-%COMP%]{background:#fff6f5;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.error[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.error[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.error[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.error[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .error[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em}.error[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .error[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .error[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#c41c0d;margin:0}.error[_ngcontent-%COMP%]{--mat-icon-color: #c41c0d}.error[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.error[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .error[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#c41c0d;width:max-content}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#8f0c00}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#8f0c00}.notification[_ngcontent-%COMP%]{background:#f5f5f5;border-radius:6px;box-shadow:1px 1px 4px #00000021;padding:10px;display:flex;flex-direction:column;gap:10px}.notification[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;gap:10px}.notification[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.notification[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em}.notification[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .notification[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em}.notification[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .notification[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .notification[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#0d0d0d;margin:0}.notification[_ngcontent-%COMP%]{--mat-icon-color: #c41c0d}.notification[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{flex-shrink:0}.notification[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%], .notification[_ngcontent-%COMP%] .pointer[_ngcontent-%COMP%]{cursor:pointer}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#2473db;width:max-content}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#1d5caf}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#1d5caf}.notification[_ngcontent-%COMP%] .top-right-icon[_ngcontent-%COMP%]{--mat-icon-color: #0d0d0d}.white[_ngcontent-%COMP%]{background:#fff}.white[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .white[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .white[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#0d0d0d}"]}));let e=t;return e})();function sRe(e,t){if(e&1&&(S(0,"mh-alert",0),A(1,"translate"),S(2,"div",1),N(3),A(4,"translate"),I()()),e&2){let n=L();F("alertTitle",R(1,2,"commons.errors.data-not-available-title")),C(3),te(R(4,4,"commons.errors."+n.error().code))}}var lRe=(()=>{const t=class t{constructor(){this.error=we.required(),this.vidisErrorGroup=zn}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=ee({type:t,selectors:[["vidis-status-message"]],inputs:{error:[1,"error"]},decls:1,vars:1,consts:[["usage","info",3,"alertTitle"],["alert-details",""]],template:function(a,i){a&1&&z(0,sRe,5,6,"mh-alert",0),a&2&&U(i.error().group===i.vidisErrorGroup.TEMP_UNAVAILABLE?0:-1)},dependencies:[Ot,wle],styles:["mat-card-header[_ngcontent-%COMP%]{color:#c41c0d}mat-card-header[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:8px}span[_ngcontent-%COMP%]{white-space:pre-line}"]});let e=t;return e})(),cRe=["*"],kle=(()=>{const t=class t{constructor(){this.item=we.required(),this.expandedElement=ws.required()}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=ee({type:t,selectors:[["vidis-table-detail-button"]],inputs:{item:[1,"item"],expandedElement:[1,"expandedElement"]},outputs:{expandedElement:"expandedElementChange"},ngContentSelectors:cRe,decls:3,vars:1,consts:[["mat-button","",1,"font",3,"click"],[3,"fontIcon"]],template:function(a,i){a&1&&(ut(),S(0,"button",0),xe("click",function(){return i.expandedElement.set(i.expandedElement()===i.item()?null:i.item())}),Y(1,"mat-icon",1),Ce(2),I()),a&2&&(C(),F("fontIcon",i.item()===i.expandedElement()?"keyboard_arrow_up":"keyboard_arrow_down"))},dependencies:[Ka,Qn,Jn],styles:[".font[_ngcontent-%COMP%]{font-size:1rem}"]});let e=t;return e})();function dRe(e,t){if(e&1&&(S(0,"span"),N(1),I()),e&2){let n=L();C(),ne("(",n.idNumber(),")")}}var Ele=(()=>{const t=class t{constructor(){this.fullname=we.required(),this.idNumber=we()}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=ee({type:t,selectors:[["vidis-person-name"]],inputs:{fullname:[1,"fullname"],idNumber:[1,"idNumber"]},decls:2,vars:2,template:function(a,i){a&1&&(N(0),z(1,dRe,2,1,"span")),a&2&&(ne(" ",i.fullname()," "),C(),U(i.idNumber()?1:-1))},styles:["span[_ngcontent-%COMP%]{color:#8f8f8f}"]});let e=t;return e})(),uRe=["*"],hRe=(e,t,n,a,i)=>({"custom-content":e,circle:t,progress:n,"progress-dark":a,pulse:i});function pRe(e,t){e&1&&Ce(0)}function mRe(e,t){if(e&1&&(S(0,"div",0),z(1,pRe,1,0),I()),e&2){let n=L(),a=Ib(0),i=Ib(1);F("ngClass",hbe(5,hRe,a==="custom-content",a==="circle",i==="progress",i==="progress-dark",i==="pulse"))("ngStyle",n.styles()),ve("aria-label",n.ariaLabel())("aria-valuetext",n.loadingText()),C(),U(a==="custom-content"?1:-1)}}var Cle=new $("ngx-skeleton-loader.config"),cc=(()=>{var t;const n=class n{constructor(){D0(this,t);var i,r,s,l,c,d;I0(this,t,_(Cle,{optional:!0})),this.count=we(((i=On(this,t))==null?void 0:i.count)||1,{transform:gn}),this.loadingText=we(((r=On(this,t))==null?void 0:r.loadingText)||"Loading..."),this.appearance=we(((s=On(this,t))==null?void 0:s.appearance)||"line"),this.animation=we(((l=On(this,t))==null?void 0:l.animation)||"progress"),this.ariaLabel=we(((c=On(this,t))==null?void 0:c.ariaLabel)||"loading"),this.theme=we(((d=On(this,t))==null?void 0:d.theme)||null),this.items=Jt(()=>{let u=this.count()||1;return this.appearance()==="custom-content"&&Abe(),[...Array(u)].map((p,b)=>b)}),this.styles=Jt(()=>{var p,b,g;let u=this.theme();return(b=(p=On(this,t))==null?void 0:p.theme)!=null&&b.extendsFromRoot?pe(pe({},(g=On(this,t))==null?void 0:g.theme),u):u})}};t=new WeakMap,n.ɵfac=function(i){return new(i||n)},n.ɵcmp=ee({type:n,selectors:[["ngx-skeleton-loader"]],inputs:{count:[1,"count"],loadingText:[1,"loadingText"],appearance:[1,"appearance"],animation:[1,"animation"],ariaLabel:[1,"ariaLabel"],theme:[1,"theme"]},ngContentSelectors:uRe,decls:4,vars:2,consts:[["aria-busy","true","aria-valuemin","0","aria-valuemax","100","role","progressbar","tabindex","-1",1,"skeleton-loader",3,"ngClass","ngStyle"]],template:function(i,r){i&1&&(ut(),sg(0)(1),qa(2,mRe,2,11,"div",0,Mi)),i&2&&(Db(r.appearance()),C(),Db(r.animation()),C(),$a(r.items()))},dependencies:[Vu,nk],styles:['.skeleton-loader[_ngcontent-%COMP%]{box-sizing:border-box;overflow:hidden;position:relative;background:#eff1f6 no-repeat;border-radius:4px;width:100%;height:20px;display:inline-block;margin-bottom:10px;will-change:transform}.skeleton-loader[_ngcontent-%COMP%]:after, .skeleton-loader[_ngcontent-%COMP%]:before{box-sizing:border-box}.skeleton-loader.circle[_ngcontent-%COMP%]{width:40px;height:40px;margin:5px;border-radius:50%}.skeleton-loader.progress[_ngcontent-%COMP%], .skeleton-loader.progress-dark[_ngcontent-%COMP%]{transform:translateZ(0)}.skeleton-loader.progress[_ngcontent-%COMP%]:after, .skeleton-loader.progress[_ngcontent-%COMP%]:before, .skeleton-loader.progress-dark[_ngcontent-%COMP%]:after, .skeleton-loader.progress-dark[_ngcontent-%COMP%]:before{box-sizing:border-box}.skeleton-loader.progress[_ngcontent-%COMP%]:before, .skeleton-loader.progress-dark[_ngcontent-%COMP%]:before{animation:_ngcontent-%COMP%_progress 2s ease-in-out infinite;background-size:200px 100%;position:absolute;z-index:1;top:0;left:0;width:200px;height:100%;content:""}.skeleton-loader.progress[_ngcontent-%COMP%]:before{background-image:linear-gradient(90deg,#fff0,#fff9,#fff0)}.skeleton-loader.progress-dark[_ngcontent-%COMP%]:before{background-image:linear-gradient(90deg,transparent,rgba(0,0,0,.2),transparent)}.skeleton-loader.pulse[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_pulse 1.5s cubic-bezier(.4,0,.2,1) infinite;animation-delay:.5s}.skeleton-loader.custom-content[_ngcontent-%COMP%]{height:100%;background:none}@media (prefers-reduced-motion: reduce){.skeleton-loader.pulse[_ngcontent-%COMP%], .skeleton-loader.progress-dark[_ngcontent-%COMP%], .skeleton-loader.custom-content[_ngcontent-%COMP%], .skeleton-loader.progress[_ngcontent-%COMP%]:before{animation:none}.skeleton-loader.progress[_ngcontent-%COMP%]:before, .skeleton-loader.progress-dark[_ngcontent-%COMP%], .skeleton-loader.custom-content[_ngcontent-%COMP%]{background-image:none}}@media screen and (min-device-width: 1200px){.skeleton-loader[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none;cursor:wait}}@keyframes _ngcontent-%COMP%_progress{0%{transform:translate3d(-200px,0,0)}to{transform:translate3d(calc(200px + 100vw),0,0)}}@keyframes _ngcontent-%COMP%_pulse{0%{opacity:1}50%{opacity:.4}to{opacity:1}}'],changeDetection:0});let e=n;return e})(),dc=(()=>{const t=class t{static forRoot(a){return{ngModule:t,providers:[{provide:Cle,useValue:a}]}}};t.ɵfac=function(a){return new(a||t)},t.ɵmod=yt({type:t}),t.ɵinj=vt({imports:[dg]});let e=t;return e})(),fRe=(()=>{const t=class t{constructor(){this.creationDetails=_(zg)}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=ee({type:t,selectors:[["ng-component"]],decls:39,vars:38,consts:[["mat-dialog-title",""],["mat-flat-button","","mat-dialog-close",""]],template:function(a,i){a&1&&(S(0,"h2",0),N(1),A(2,"translate"),I(),S(3,"mat-dialog-content")(4,"dl")(5,"dt"),N(6),A(7,"translate"),I(),S(8,"dd"),N(9),I(),S(10,"dt"),N(11),A(12,"translate"),I(),S(13,"dd"),N(14),A(15,"date"),I(),S(16,"dt"),N(17),A(18,"translate"),I(),S(19,"dd"),N(20),A(21,"fullname"),I(),S(22,"dt"),N(23),A(24,"translate"),I(),S(25,"dd"),N(26),A(27,"translate"),A(28,"firstLetterUppercase"),I(),S(29,"dt"),N(30),A(31,"translate"),I(),S(32,"dd"),N(33),A(34,"translate"),I()()(),S(35,"mat-dialog-actions")(36,"button",1),N(37),A(38,"translate"),I()()),a&2&&(C(),te(R(2,13,"medicationSchemeCreationDetails.title")),C(5),ne("",R(7,15,"medicationSchemeCreationDetails.version"),":"),C(3),te(i.creationDetails.version),C(2),ne("",R(12,17,"medicationSchemeCreationDetails.updated"),":"),C(3),te(Nt(15,19,i.creationDetails.lastChange.date,"dd/MM/yyyy")),C(3),ne("",R(18,22,"medicationSchemeCreationDetails.author"),":"),C(3),te(R(21,24,i.creationDetails.lastChange==null?null:i.creationDetails.lastChange.author)),C(3),ne("",R(24,26,"medicationSchemeCreationDetails.profession"),":"),C(2),ve("translate","no"),C(),ne(" ",R(28,30,R(27,28,"commons.roles."+i.creationDetails.lastChange.author.role.toLowerCase()))," "),C(4),ne("",R(31,32,"medicationSchemeCreationDetails.source"),":"),C(3),te(R(34,34,"commons.safes."+i.creationDetails.source.toLowerCase())),C(4),te(R(38,36,"commons.close")))},dependencies:[Zu,Ku,Qu,Yu,Ka,Qn,Ot,Cs,lc,Zi],styles:["dd[_ngcontent-%COMP%]{color:#0d0d0d;margin-inline-start:0;margin-bottom:16px}"],changeDetection:0});let e=t;return e})(),gRe=()=>({height:"47px",width:"50%",margin:"0px"});function bRe(e,t){e&1&&Y(0,"ngx-skeleton-loader",0),e&2&&F("count",1)("theme",mn(2,gRe))}function vRe(e,t){if(e&1&&(S(0,"dl")(1,"dt"),N(2),A(3,"translate"),I(),S(4,"dd"),N(5),I(),S(6,"dt"),N(7),A(8,"translate"),I(),S(9,"dd"),N(10),A(11,"date"),I(),S(12,"dt"),N(13),A(14,"translate"),I(),S(15,"dd"),N(16),A(17,"fullname"),A(18,"translate"),A(19,"firstLetterUppercase"),I(),S(20,"dt"),N(21),A(22,"translate"),I(),S(23,"dd"),N(24),A(25,"translate"),I()()),e&2){let n,a=L();C(2),ne("",R(3,10,"medicationSchemeCreationDetails.version"),":"),C(3),te(a.creationDetails().version),C(2),ne("",R(8,12,"medicationSchemeCreationDetails.updated"),":"),C(3),te(Nt(11,14,a.creationDetails().lastChange.date,"dd/MM/yyyy, HH:mm")),C(3),ne("",R(14,17,"medicationSchemeCreationDetails.updatedBy"),":"),C(2),ve("translate","no"),C(),Wn(" ",R(17,19,(n=a.creationDetails().lastChange)==null?null:n.author),", ",R(19,23,R(18,21,"commons.roles."+a.creationDetails().lastChange.author.role.toLowerCase()))," "),C(5),ne("",R(22,25,"medicationSchemeCreationDetails.source"),":"),C(3),te(R(25,27,"commons.safes."+a.creationDetails().source.toLowerCase()))}}var yRe=(()=>{const t=class t{constructor(){this.matDialog=_(Ts),this.isLoading=we.required(),this.creationDetails=we.required()}openCreationDetails(){this.matDialog.open(fRe,{data:this.creationDetails()})}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=ee({type:t,selectors:[["vidis-medication-scheme-creation-details"]],inputs:{isLoading:[1,"isLoading"],creationDetails:[1,"creationDetails"]},decls:2,vars:1,consts:[["appearance","line",3,"count","theme"]],template:function(a,i){a&1&&z(0,bRe,1,3,"ngx-skeleton-loader",0)(1,vRe,26,29,"dl"),a&2&&U(i.isLoading()?0:i.creationDetails()?1:-1)},dependencies:[Ka,Ot,dc,cc,lc,Zi,Cs],styles:["dl[_ngcontent-%COMP%]{display:flex}dt[_ngcontent-%COMP%]{color:#8f8f8f;margin-right:8px}dd[_ngcontent-%COMP%]{margin-right:20px;margin-inline-start:0}"],changeDetection:0});let e=t;return e})(),_Re=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",ee({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(a,i){},styles:[`textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0 !important;box-sizing:content-box !important;height:auto !important;overflow:hidden !important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0 !important;box-sizing:content-box !important;height:0 !important}@keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}
|
|
63
63
|
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),xRe={passive:!0},wRe=(()=>{const t=class t{constructor(){o(this,"_platform",_($t));o(this,"_ngZone",_(Ne));o(this,"_renderer",_(Li).createRenderer(null,null));o(this,"_styleLoader",_(Pa));o(this,"_monitoredElements",new Map)}monitor(a){if(!this._platform.isBrowser)return Fl;this._styleLoader.load(_Re);let i=jn(a),r=this._monitoredElements.get(i);if(r)return r.subject;let s=new me,l="cdk-text-field-autofilled",c=u=>{u.animationName==="cdk-text-field-autofill-start"&&!i.classList.contains(l)?(i.classList.add(l),this._ngZone.run(()=>s.next({target:u.target,isAutofilled:!0}))):u.animationName==="cdk-text-field-autofill-end"&&i.classList.contains(l)&&(i.classList.remove(l),this._ngZone.run(()=>s.next({target:u.target,isAutofilled:!1})))},d=this._ngZone.runOutsideAngular(()=>(i.classList.add("cdk-text-field-autofill-monitored"),Aa(this._renderer,i,"animationstart",c,xRe)));return this._monitoredElements.set(i,{subject:s,unlisten:d}),s}stopMonitoring(a){let i=jn(a),r=this._monitoredElements.get(i);r&&(r.unlisten(),r.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((a,i)=>this.stopMonitoring(i))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),kRe=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",vt({}));let e=t;return e})(),ERe=["button","checkbox","file","hidden","image","radio","range","reset","submit"],CRe=new $("MAT_INPUT_CONFIG"),SRe=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Re));o(this,"_platform",_($t));o(this,"ngControl",_(Eg,{optional:!0,self:!0}));o(this,"_autofillMonitor",_(wRe));o(this,"_ngZone",_(Ne));o(this,"_formField",_(tc,{optional:!0}));o(this,"_renderer",_(hi));o(this,"_uid",_(ca).getId("mat-input-"));o(this,"_previousNativeValue");o(this,"_inputValueAccessor");o(this,"_signalBasedValueAccessor");o(this,"_previousPlaceholder");o(this,"_errorStateTracker");o(this,"_config",_(CRe,{optional:!0}));o(this,"_cleanupIosKeyup");o(this,"_cleanupWebkitWheel");o(this,"_formFieldDescribedBy");o(this,"_isServer");o(this,"_isNativeSelect");o(this,"_isTextarea");o(this,"_isInFormField");o(this,"focused",!1);o(this,"stateChanges",new me);o(this,"controlType","mat-input");o(this,"autofilled",!1);o(this,"_disabled",!1);o(this,"_id");o(this,"placeholder");o(this,"name");o(this,"_required");o(this,"_type","text");o(this,"userAriaDescribedBy");o(this,"_readonly",!1);o(this,"disabledInteractive");o(this,"_neverEmptyInputTypes",["date","datetime","datetime-local","month","time","week"].filter(a=>av().has(a)));o(this,"_iOSKeyupListener",a=>{let i=a.target;!i.value&&i.selectionStart===0&&i.selectionEnd===0&&(i.setSelectionRange(1,1),i.setSelectionRange(0,0))});o(this,"_webkitBlinkWheelListener",()=>{});var d;let a=_(Gu,{optional:!0}),i=_(qu,{optional:!0}),r=_(Sg),s=_(lE,{optional:!0,self:!0}),l=this._elementRef.nativeElement,c=l.nodeName.toLowerCase();s?fl(s.value)?this._signalBasedValueAccessor=s:this._inputValueAccessor=s:this._inputValueAccessor=l,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{this._cleanupIosKeyup=this._renderer.listen(l,"keyup",this._iOSKeyupListener)}),this._errorStateTracker=new Dg(r,this.ngControl,i,a,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=c==="select",this._isTextarea=c==="textarea",this._isInFormField=!!this._formField,this.disabledInteractive=((d=this._config)==null?void 0:d.disabledInteractive)||!1,this._isNativeSelect&&(this.controlType=l.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&Nu(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}get disabled(){return this._disabled}set disabled(a){this._disabled=Wo(a),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(a){this._id=a||this._uid}get required(){var a,i;return this._required??((i=(a=this.ngControl)==null?void 0:a.control)==null?void 0:i.hasValidator(Ss.required))??!1}set required(a){this._required=Wo(a)}get type(){return this._type}set type(a){let i=this._type;this._type=a||"text",this._validateType(),!this._isTextarea&&av().has(this._type)&&(this._elementRef.nativeElement.type=this._type),this._type!==i&&this._ensureWheelDefaultBehavior()}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(a){this._errorStateTracker.matcher=a}get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(a){a!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(a):this._inputValueAccessor.value=a,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(a){this._readonly=Wo(a)}get errorState(){return this._errorStateTracker.errorState}set errorState(a){this._errorStateTracker.errorState=a}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(a=>{this.autofilled=a.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){var a,i;this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),(a=this._cleanupIosKeyup)==null||a.call(this),(i=this._cleanupWebkitWheel)==null||i.call(this)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(a){this._elementRef.nativeElement.focus(a)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(a){if(a!==this.focused){if(!this._isNativeSelect&&a&&this.disabled&&this.disabledInteractive){let i=this._elementRef.nativeElement;i.type==="number"?(i.type="text",i.setSelectionRange(0,0),i.type="number"):i.setSelectionRange(0,0)}this.focused=a,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){let a=this._elementRef.nativeElement.value;this._previousNativeValue!==a&&(this._previousNativeValue=a,this.stateChanges.next())}_dirtyCheckPlaceholder(){let a=this._getPlaceholder();if(a!==this._previousPlaceholder){let i=this._elementRef.nativeElement;this._previousPlaceholder=a,a?i.setAttribute("placeholder",a):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){ERe.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let a=this._elementRef.nativeElement.validity;return a&&a.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let a=this._elementRef.nativeElement,i=a.options[0];return this.focused||a.multiple||!this.empty||!!(a.selectedIndex>-1&&i&&i.label)}else return this.focused&&!this.disabled||!this.empty}setDescribedByIds(a){let i=this._elementRef.nativeElement,r=i.getAttribute("aria-describedby"),s;if(r){let l=this._formFieldDescribedBy||a;s=a.concat(r.split(" ").filter(c=>c&&!l.includes(c)))}else s=a;this._formFieldDescribedBy=a,s.length?i.setAttribute("aria-describedby",s.join(" ")):i.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let a=this._elementRef.nativeElement;return this._isNativeSelect&&(a.multiple||a.size>1)}_ensureWheelDefaultBehavior(){var a;(a=this._cleanupWebkitWheel)==null||a.call(this),this._type==="number"&&(this._platform.BLINK||this._platform.WEBKIT)&&(this._cleanupWebkitWheel=this._renderer.listen(this._elementRef.nativeElement,"wheel",this._webkitBlinkWheelListener))}_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",ue({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(a,i){a&1&&xe("focus",function(){return i._focusChanged(!0)})("blur",function(){return i._focusChanged(!1)})("input",function(){return i._onInput()}),a&2&&(_n("id",i.id)("disabled",i.disabled&&!i.disabledInteractive)("required",i.required),ve("name",i.name||null)("readonly",i._getReadonlyAttribute())("aria-disabled",i.disabled&&i.disabledInteractive?"true":null)("aria-invalid",i.empty&&i.required?null:i.errorState)("aria-required",i.required)("id",i.id),Ee("mat-input-server",i._isServer)("mat-mdc-form-field-textarea-control",i._isInFormField&&i._isTextarea)("mat-mdc-form-field-input-control",i._isInFormField)("mat-mdc-input-disabled-interactive",i.disabledInteractive)("mdc-text-field__input",i._isInFormField)("mat-mdc-native-select-inline",i._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",fe]},exportAs:["matInput"],features:[st([{provide:$u,useExisting:t}]),ta]}));let e=t;return e})(),DRe=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",vt({imports:[Vt,El,El,kRe,Vt]}));let e=t;return e})(),IRe=e=>({visibility:e});function TRe(e,t){if(e&1){let n=wt();S(0,"mat-form-field")(1,"input",8),xe("dateChange",function(a){De(n);let i=L();return Ie(i.onChangeDate(a))}),I(),Y(2,"mat-datepicker",null,0),I(),S(4,"a",9),A(5,"translate"),xe("click",function(){De(n);let a=Ya(3);return Ie(a.open())}),N(6),A(7,"date"),A(8,"firstLetterUppercase"),Y(9,"br"),N(10),A(11,"date"),A(12,"firstLetterUppercase"),I()}if(e&2){let n=Ya(3),a=L();Zn("height","0px")("width","0px"),C(),F("matDatepicker",n),C(3),ve("aria-label",R(5,8,"medicationSchemeDateToggler.openCalendar")),C(2),ne(" ",R(8,15,$r(7,10,a.activeDate().displayDate,"EEEE",void 0,a.locale))," "),C(4),ne(" ",R(12,22,$r(11,17,a.activeDate().displayDate,"dd MMMM yyyy",void 0,a.locale))," ")}}function ARe(e,t){if(e&1&&(S(0,"span"),N(1),A(2,"date"),A(3,"date"),Y(4,"br"),N(5),A(6,"date"),I()),e&2){let n=L(2);C(),Wn(" ",$r(2,3,n.activeDate().startOfWeek,"dd",void 0,n.locale)," - ",$r(3,8,n.activeDate().endOfWeek,"dd",void 0,n.locale)," "),C(4),ne(" ",$r(6,13,n.activeDate().endOfWeek,"MMMM y",void 0,n.locale)," ")}}function ORe(e,t){if(e&1&&(N(0),A(1,"date"),Y(2,"br"),N(3," - "),Y(4,"br"),N(5),A(6,"date")),e&2){let n=L(2);ne(" ",$r(1,2,n.activeDate().startOfWeek,"dd MMMM y",void 0,n.locale)," "),C(5),ne(" ",$r(6,7,n.activeDate().endOfWeek,"dd MMMM y",void 0,n.locale)," ")}}function RRe(e,t){if(e&1){let n=wt();S(0,"mat-form-field")(1,"mat-date-range-input",10)(2,"input",11),xe("dateChange",function(a){De(n);let i=L();return Ie(i.onChangeDate(a))}),I(),Y(3,"input",12),I(),Y(4,"mat-date-range-picker",null,0),I(),S(6,"a",9),A(7,"translate"),xe("click",function(){De(n);let a=Ya(5);return Ie(a.open())}),z(8,ARe,7,18,"span")(9,ORe,7,12),I()}if(e&2){let n=Ya(5),a=L();Zn("height","0px")("width","0px"),C(),F("rangePicker",n),C(),F("value",a.activeDate().startOfWeek),C(),F("value",a.activeDate().endOfWeek),C(3),ve("aria-label",R(7,9,"medicationSchemeDateToggler.openCalendar")),C(2),U(a.activeDate().startOfWeek.getFullYear()===a.activeDate().endOfWeek.getFullYear()?8:9)}}var PRe=(()=>{const t=class t{constructor(){this.translate=_(Fa),this.dateAdapter=_(Ia),this.destroyRef=_(_i),this.activeDate=ws.required(),this.fnsOptions={weekStartsOn:1},this.views=ja}ngOnInit(){this.locale=this.translate.currentLang==="de"?"de-DE":`${this.translate.currentLang}-BE`,this.dateAdapter.setLocale(this.translate.currentLang),this.translate.onLangChange.pipe(sc(this.destroyRef)).subscribe(({lang:a})=>{this.locale=this.translate.currentLang==="de"?"de-DE":`${this.translate.currentLang}-BE`,this.dateAdapter.setLocale(a)})}onChangeDate(a){this.activeDate().displayDate=new Date(a.value),this.emitDateChange()}onTogglePrevious(){switch(this.activeDate().view){case ja.DAY:this.activeDate().displayDate=a0(this.activeDate().displayDate);break;case ja.WEEK:this.activeDate().displayDate=QSe(this.activeDate().displayDate);break}this.emitDateChange()}onToggleNext(){switch(this.activeDate().view){case ja.DAY:this.activeDate().displayDate=Yi(this.activeDate().displayDate,1);break;case ja.WEEK:this.activeDate().displayDate=Kg(this.activeDate().displayDate,1);break}this.emitDateChange()}onSetCurrent(){this.activeDate().displayDate=Et(new Date),this.emitDateChange()}isDisplayDateToday(a){return KSe(new Date(a))}isDisplayDateThisWeek(a){return ZSe(new Date(a),this.fnsOptions)}emitDateChange(){this.activeDate.set(ct(pe({},this.activeDate()),{startOfWeek:ii(this.activeDate().displayDate,this.fnsOptions),endOfWeek:Qg(this.activeDate().displayDate,this.fnsOptions)}))}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=ee({type:t,selectors:[["vidis-medication-scheme-date-toggler"]],inputs:{activeDate:[1,"activeDate"]},outputs:{activeDate:"activeDateChange"},decls:16,vars:16,consts:[["calendar",""],[1,"text-center"],[1,"items-center"],["mat-icon-button","",3,"click"],["fontIcon","chevron_left"],["fontIcon","chevron_right"],["mat-button","",3,"click","ngStyle"],["fontIcon","replay"],["matInput","","tabindex","-1",3,"dateChange","matDatepicker"],["mat-button","",3,"click"],["tabindex","-1",3,"rangePicker"],["matStartDate","",3,"dateChange","value"],["matEndDate","",3,"value"]],template:function(a,i){a&1&&(S(0,"div",1)(1,"div",2)(2,"button",3),A(3,"translate"),xe("click",function(){return i.onTogglePrevious()}),Y(4,"mat-icon",4),I(),S(5,"div"),z(6,TRe,13,24)(7,RRe,10,11),I(),S(8,"button",3),A(9,"translate"),xe("click",function(){return i.onToggleNext()}),Y(10,"mat-icon",5),I()(),S(11,"a",6),A(12,"translate"),xe("click",function(){return i.onSetCurrent()}),Y(13,"mat-icon",7),N(14),A(15,"translate"),I()()),a&2&&(C(2),ve("aria-label",R(3,6,"medicationSchemeDateToggler.previous"+i.activeDate().view)),C(4),U(i.activeDate().view===i.views.DAY?6:7),C(2),ve("aria-label",R(9,8,"medicationSchemeDateToggler.next"+i.activeDate().view)),C(3),F("ngStyle",fn(14,IRe,i.isDisplayDateToday(i.activeDate().displayDate)&&i.isDisplayDateThisWeek(i.activeDate().displayDate)?"hidden":"visible")),ve("aria-label",R(12,10,"medicationSchemeDateToggler.returnTo"+(i.activeDate().view===i.views.DAY?"Today":"CurrentWeek"))),C(3),ne(" ",R(15,12,"medicationSchemeDateToggler.returnTo"+(i.activeDate().view===i.views.DAY?"Today":"CurrentWeek"))," "))},dependencies:[wwe,El,uE,DRe,SRe,ixe,q1e,Tg,xE,exe,txe,axe,Ka,l_e,Jl,yo,Jn,Ot,Zi,Cs,nk],styles:["@media only screen and (min-width: 600px){br[_ngcontent-%COMP%]{display:none}}.text-center[_ngcontent-%COMP%]{text-align:center}.items-center[_ngcontent-%COMP%]{align-items:center;justify-content:center;display:flex;flex-wrap:wrap;margin-top:16px;margin-bottom:16px}"],changeDetection:0});let e=t;return e})(),MRe=[[["caption"]],[["colgroup"],["col"]],"*"],NRe=["caption","colgroup, col","*"];function LRe(e,t){e&1&&Ce(0,2)}function FRe(e,t){e&1&&(S(0,"thead",0),Ca(1,1),I(),S(2,"tbody",0),Ca(3,2)(4,3),I(),S(5,"tfoot",0),Ca(6,4),I())}function VRe(e,t){e&1&&Ca(0,1)(1,2)(2,3)(3,4)}var xn=new $("CDK_TABLE"),jm=(()=>{const t=class t{constructor(){o(this,"template",_(va))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",ue({type:t,selectors:[["","cdkCellDef",""]]}));let e=t;return e})(),Hm=(()=>{const t=class t{constructor(){o(this,"template",_(va))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",ue({type:t,selectors:[["","cdkHeaderCellDef",""]]}));let e=t;return e})(),zRe=(()=>{const t=class t{constructor(){o(this,"template",_(va))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",ue({type:t,selectors:[["","cdkFooterCellDef",""]]}));let e=t;return e})(),Tl=(()=>{const t=class t{constructor(){o(this,"_table",_(xn,{optional:!0}));o(this,"_hasStickyChanged",!1);o(this,"_name");o(this,"_sticky",!1);o(this,"_stickyEnd",!1);o(this,"cell");o(this,"headerCell");o(this,"footerCell");o(this,"cssClassFriendlyName");o(this,"_columnCssClassName")}get name(){return this._name}set name(a){this._setNameInput(a)}get sticky(){return this._sticky}set sticky(a){a!==this._sticky&&(this._sticky=a,this._hasStickyChanged=!0)}get stickyEnd(){return this._stickyEnd}set stickyEnd(a){a!==this._stickyEnd&&(this._stickyEnd=a,this._hasStickyChanged=!0)}hasStickyChanged(){let a=this._hasStickyChanged;return this.resetStickyChanged(),a}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(a){a&&(this._name=a,this.cssClassFriendlyName=a.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",ue({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(a,i,r){if(a&1&&(mt(r,jm,5),mt(r,Hm,5),mt(r,zRe,5)),a&2){let s;ye(s=_e())&&(i.cell=s.first),ye(s=_e())&&(i.headerCell=s.first),ye(s=_e())&&(i.footerCell=s.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",fe],stickyEnd:[2,"stickyEnd","stickyEnd",fe]},features:[st([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}])]}));let e=t;return e})(),Sle=class{constructor(e,t){t.nativeElement.classList.add(...e._columnCssClassName)}},BRe=(()=>{const t=class t extends Sle{constructor(){super(_(Tl),_(Re))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",ue({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[ze]}));let e=t;return e})(),jRe=(()=>{const t=class t extends Sle{constructor(){var s;let a=_(Tl),i=_(Re);super(a,i);let r=(s=a._table)==null?void 0:s._getCellRole();r&&i.nativeElement.setAttribute("role",r)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",ue({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[ze]}));let e=t;return e})(),Uy=class{constructor(){o(this,"tasks",[]);o(this,"endTasks",[])}},Um=new $("_COALESCED_STYLE_SCHEDULER"),Dle=(()=>{const t=class t{constructor(){o(this,"_currentSchedule",null);o(this,"_ngZone",_(Ne))}schedule(a){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(a)}scheduleEnd(a){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(a)}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new Uy,this._ngZone.runOutsideAngular(()=>queueMicrotask(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let a=this._currentSchedule;this._currentSchedule=new Uy;for(let i of a.tasks)i();for(let i of a.endTasks)i()}this._currentSchedule=null})))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac}));let e=t;return e})(),s0=(()=>{const t=class t{constructor(){o(this,"template",_(va));o(this,"_differs",_(Es));o(this,"columns");o(this,"_columnsDiffer")}ngOnChanges(a){if(!this._columnsDiffer){let i=a.columns&&a.columns.currentValue||[];this._columnsDiffer=this._differs.find(i).create(),this._columnsDiffer.diff(i)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(a){return this instanceof tu?a.headerCell.template:this instanceof Ile?a.footerCell.template:a.cell.template}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",ue({type:t,features:[ta]}));let e=t;return e})(),tu=(()=>{const t=class t extends s0{constructor(){super(_(va),_(Es));o(this,"_table",_(xn,{optional:!0}));o(this,"_hasStickyChanged",!1);o(this,"_sticky",!1)}get sticky(){return this._sticky}set sticky(i){i!==this._sticky&&(this._sticky=i,this._hasStickyChanged=!0)}ngOnChanges(i){super.ngOnChanges(i)}hasStickyChanged(){let i=this._hasStickyChanged;return this.resetStickyChanged(),i}resetStickyChanged(){this._hasStickyChanged=!1}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",ue({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",fe]},features:[ze,ta]}));let e=t;return e})(),Ile=(()=>{const t=class t extends s0{constructor(){super(_(va),_(Es));o(this,"_table",_(xn,{optional:!0}));o(this,"_hasStickyChanged",!1);o(this,"_sticky",!1)}get sticky(){return this._sticky}set sticky(i){i!==this._sticky&&(this._sticky=i,this._hasStickyChanged=!0)}ngOnChanges(i){super.ngOnChanges(i)}hasStickyChanged(){let i=this._hasStickyChanged;return this.resetStickyChanged(),i}resetStickyChanged(){this._hasStickyChanged=!1}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",ue({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",fe]},features:[ze,ta]}));let e=t;return e})(),Wm=(()=>{const t=class t extends s0{constructor(){super(_(va),_(Es));o(this,"_table",_(xn,{optional:!0}));o(this,"when")}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",ue({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},features:[ze]}));let e=t;return e})(),ss=(()=>{const t=class t{constructor(){o(this,"_viewContainer",_(ni));o(this,"cells");o(this,"context");t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}};o(t,"mostRecentCellOutlet",null),o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",ue({type:t,selectors:[["","cdkCellOutlet",""]]}));let e=t;return e})(),Wy=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",ee({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a,i){a&1&&Ca(0,0)},dependencies:[ss],encapsulation:2}));let e=t;return e})(),Gy=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",ee({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a,i){a&1&&Ca(0,0)},dependencies:[ss],encapsulation:2}));let e=t;return e})(),HRe=(()=>{const t=class t{constructor(){o(this,"templateRef",_(va));o(this,"_contentClassName","cdk-no-data-row")}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",ue({type:t,selectors:[["ng-template","cdkNoDataRow",""]]}));let e=t;return e})(),qy=["top","bottom","left","right"],URe=class{constructor(e,t,n,a,i=!0,r=!0,s,l){o(this,"_isNativeHtmlTable");o(this,"_stickCellCss");o(this,"direction");o(this,"_coalescedStyleScheduler");o(this,"_isBrowser");o(this,"_needsPositionStickyOnElement");o(this,"_positionListener");o(this,"_tableInjector");o(this,"_elemSizeCache",new WeakMap);o(this,"_resizeObserver",globalThis!=null&&globalThis.ResizeObserver?new globalThis.ResizeObserver(e=>this._updateCachedSizes(e)):null);o(this,"_updatedStickyColumnsParamsToReplay",[]);o(this,"_stickyColumnsReplayTimeout",null);o(this,"_cachedCellWidths",[]);o(this,"_borderCellCss");o(this,"_destroyed",!1);this._isNativeHtmlTable=e,this._stickCellCss=t,this.direction=n,this._coalescedStyleScheduler=a,this._isBrowser=i,this._needsPositionStickyOnElement=r,this._positionListener=s,this._tableInjector=l,this._borderCellCss={top:`${t}-border-elem-top`,bottom:`${t}-border-elem-bottom`,left:`${t}-border-elem-left`,right:`${t}-border-elem-right`}}clearStickyPositioning(e,t){(t.includes("left")||t.includes("right"))&&this._removeFromStickyColumnReplayQueue(e);let n=[];for(let a of e)a.nodeType===a.ELEMENT_NODE&&n.push(a,...Array.from(a.children));this._afterNextRender({write:()=>{for(let a of n)this._removeStickyStyle(a,t)}})}updateStickyColumns(e,t,n,a=!0,i=!0){var k,D;if(!e.length||!this._isBrowser||!(t.some(O=>O)||n.some(O=>O))){(k=this._positionListener)==null||k.stickyColumnsUpdated({sizes:[]}),(D=this._positionListener)==null||D.stickyEndColumnsUpdated({sizes:[]});return}let r=e[0],s=r.children.length,l=this.direction==="rtl",c=l?"right":"left",d=l?"left":"right",u=t.lastIndexOf(!0),p=n.indexOf(!0),b,g,w;i&&this._updateStickyColumnReplayQueue({rows:[...e],stickyStartStates:[...t],stickyEndStates:[...n]}),this._afterNextRender({earlyRead:()=>{b=this._getCellWidths(r,a),g=this._getStickyStartColumnPositions(b,t),w=this._getStickyEndColumnPositions(b,n)},write:()=>{for(let O of e)for(let B=0;B<s;B++){let j=O.children[B];t[B]&&this._addStickyStyle(j,c,g[B],B===u),n[B]&&this._addStickyStyle(j,d,w[B],B===p)}this._positionListener&&b.some(O=>!!O)&&(this._positionListener.stickyColumnsUpdated({sizes:u===-1?[]:b.slice(0,u+1).map((O,B)=>t[B]?O:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:p===-1?[]:b.slice(p).map((O,B)=>n[B+p]?O:null).reverse()}))}})}stickRows(e,t,n){if(!this._isBrowser)return;let a=n==="bottom"?e.slice().reverse():e,i=n==="bottom"?t.slice().reverse():t,r=[],s=[],l=[];this._afterNextRender({earlyRead:()=>{for(let c=0,d=0;c<a.length;c++){if(!i[c])continue;r[c]=d;let u=a[c];l[c]=this._isNativeHtmlTable?Array.from(u.children):[u];let p=this._retrieveElementSize(u).height;d+=p,s[c]=p}},write:()=>{var d,u;let c=i.lastIndexOf(!0);for(let p=0;p<a.length;p++){if(!i[p])continue;let b=r[p],g=p===c;for(let w of l[p])this._addStickyStyle(w,n,b,g)}n==="top"?(d=this._positionListener)==null||d.stickyHeaderRowsUpdated({sizes:s,offsets:r,elements:l}):(u=this._positionListener)==null||u.stickyFooterRowsUpdated({sizes:s,offsets:r,elements:l})}})}updateStickyFooterContainer(e,t){this._isNativeHtmlTable&&this._afterNextRender({write:()=>{let n=e.querySelector("tfoot");n&&(t.some(a=>!a)?this._removeStickyStyle(n,["bottom"]):this._addStickyStyle(n,"bottom",0,!1))}})}destroy(){var e;this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),(e=this._resizeObserver)==null||e.disconnect(),this._destroyed=!0}_removeStickyStyle(e,t){if(e.classList.contains(this._stickCellCss)){for(let n of t)e.style[n]="",e.classList.remove(this._borderCellCss[n]);qy.some(n=>t.indexOf(n)===-1&&e.style[n])?e.style.zIndex=this._getCalculatedZIndex(e):(e.style.zIndex="",this._needsPositionStickyOnElement&&(e.style.position=""),e.classList.remove(this._stickCellCss))}}_addStickyStyle(e,t,n,a){e.classList.add(this._stickCellCss),a&&e.classList.add(this._borderCellCss[t]),e.style[t]=`${n}px`,e.style.zIndex=this._getCalculatedZIndex(e),this._needsPositionStickyOnElement&&(e.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(e){let t={top:100,bottom:10,left:1,right:1},n=0;for(let a of qy)e.style[a]&&(n+=t[a]);return n?`${n}`:""}_getCellWidths(e,t=!0){if(!t&&this._cachedCellWidths.length)return this._cachedCellWidths;let n=[],a=e.children;for(let i=0;i<a.length;i++){let r=a[i];n.push(this._retrieveElementSize(r).width)}return this._cachedCellWidths=n,n}_getStickyStartColumnPositions(e,t){let n=[],a=0;for(let i=0;i<e.length;i++)t[i]&&(n[i]=a,a+=e[i]);return n}_getStickyEndColumnPositions(e,t){let n=[],a=0;for(let i=e.length;i>0;i--)t[i]&&(n[i]=a,a+=e[i]);return n}_retrieveElementSize(e){let t=this._elemSizeCache.get(e);if(t)return t;let n=e.getBoundingClientRect(),a={width:n.width,height:n.height};return this._resizeObserver&&(this._elemSizeCache.set(e,a),this._resizeObserver.observe(e,{box:"border-box"})),a}_updateStickyColumnReplayQueue(e){this._removeFromStickyColumnReplayQueue(e.rows),this._stickyColumnsReplayTimeout||this._updatedStickyColumnsParamsToReplay.push(e)}_removeFromStickyColumnReplayQueue(e){let t=new Set(e);for(let n of this._updatedStickyColumnsParamsToReplay)n.rows=n.rows.filter(a=>!t.has(a));this._updatedStickyColumnsParamsToReplay=this._updatedStickyColumnsParamsToReplay.filter(n=>!!n.rows.length)}_updateCachedSizes(e){var n,a;let t=!1;for(let i of e){let r=(n=i.borderBoxSize)!=null&&n.length?{width:i.borderBoxSize[0].inlineSize,height:i.borderBoxSize[0].blockSize}:{width:i.contentRect.width,height:i.contentRect.height};r.width!==((a=this._elemSizeCache.get(i.target))==null?void 0:a.width)&&WRe(i.target)&&(t=!0),this._elemSizeCache.set(i.target,r)}t&&this._updatedStickyColumnsParamsToReplay.length&&(this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._stickyColumnsReplayTimeout=setTimeout(()=>{if(!this._destroyed){for(let i of this._updatedStickyColumnsParamsToReplay)this.updateStickyColumns(i.rows,i.stickyStartStates,i.stickyEndStates,!0,!1);this._updatedStickyColumnsParamsToReplay=[],this._stickyColumnsReplayTimeout=null}},0))}_afterNextRender(e){this._tableInjector?Un(e,{injector:this._tableInjector}):this._coalescedStyleScheduler.schedule(()=>{var t;(t=e.earlyRead)==null||t.call(e),e.write()})}};function WRe(e){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(t=>e.classList.contains(t))}var Gm=new $("CDK_SPL"),Tle=(()=>{const t=class t{constructor(){o(this,"viewContainer",_(ni));o(this,"elementRef",_(Re));let a=_(xn);a._rowOutlet=this,a._outletAssigned()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",ue({type:t,selectors:[["","rowOutlet",""]]}));let e=t;return e})(),Ale=(()=>{const t=class t{constructor(){o(this,"viewContainer",_(ni));o(this,"elementRef",_(Re));let a=_(xn);a._headerRowOutlet=this,a._outletAssigned()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",ue({type:t,selectors:[["","headerRowOutlet",""]]}));let e=t;return e})(),Ole=(()=>{const t=class t{constructor(){o(this,"viewContainer",_(ni));o(this,"elementRef",_(Re));let a=_(xn);a._footerRowOutlet=this,a._outletAssigned()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",ue({type:t,selectors:[["","footerRowOutlet",""]]}));let e=t;return e})(),Rle=(()=>{const t=class t{constructor(){o(this,"viewContainer",_(ni));o(this,"elementRef",_(Re));let a=_(xn);a._noDataRowOutlet=this,a._outletAssigned()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",ue({type:t,selectors:[["","noDataRowOutlet",""]]}));let e=t;return e})(),$y=(()=>{const t=class t{constructor(){o(this,"_differs",_(Es));o(this,"_changeDetectorRef",_(kt));o(this,"_elementRef",_(Re));o(this,"_dir",_(La,{optional:!0}));o(this,"_platform",_($t));o(this,"_viewRepeater",_(mm));o(this,"_coalescedStyleScheduler",_(Um));o(this,"_viewportRuler",_(Kl));o(this,"_stickyPositioningListener",_(Gm,{optional:!0,skipSelf:!0}));o(this,"_document",_(it));o(this,"_data");o(this,"_onDestroy",new me);o(this,"_renderRows");o(this,"_renderChangeSubscription");o(this,"_columnDefsByName",new Map);o(this,"_rowDefs");o(this,"_headerRowDefs");o(this,"_footerRowDefs");o(this,"_dataDiffer");o(this,"_defaultRowDef");o(this,"_customColumnDefs",new Set);o(this,"_customRowDefs",new Set);o(this,"_customHeaderRowDefs",new Set);o(this,"_customFooterRowDefs",new Set);o(this,"_customNoDataRow");o(this,"_headerRowDefChanged",!0);o(this,"_footerRowDefChanged",!0);o(this,"_stickyColumnStylesNeedReset",!0);o(this,"_forceRecalculateCellWidths",!0);o(this,"_cachedRenderRowsMap",new Map);o(this,"_isNativeHtmlTable");o(this,"_stickyStyler");o(this,"stickyCssClass","cdk-table-sticky");o(this,"needsPositionStickyOnElement",!0);o(this,"_isServer");o(this,"_isShowingNoDataRow",!1);o(this,"_hasAllOutlets",!1);o(this,"_hasInitialized",!1);o(this,"_cellRoleInternal");o(this,"_trackByFn");o(this,"_dataSource");o(this,"_multiTemplateDataRows",!1);o(this,"_fixedLayout",!1);o(this,"contentChanged",new ie);o(this,"viewChange",new Gr({start:0,end:Number.MAX_VALUE}));o(this,"_rowOutlet");o(this,"_headerRowOutlet");o(this,"_footerRowOutlet");o(this,"_noDataRowOutlet");o(this,"_contentColumnDefs");o(this,"_contentRowDefs");o(this,"_contentHeaderRowDefs");o(this,"_contentFooterRowDefs");o(this,"_noDataRow");o(this,"_injector",_(dt));_(new bs("role"),{optional:!0})||this._elementRef.nativeElement.setAttribute("role","table"),this._isServer=!this._platform.isBrowser,this._isNativeHtmlTable=this._elementRef.nativeElement.nodeName==="TABLE",this._dataDiffer=this._differs.find([]).create((a,i)=>this.trackBy?this.trackBy(i.dataIndex,i.data):i)}_getCellRole(){if(this._cellRoleInternal===void 0){let a=this._elementRef.nativeElement.getAttribute("role");return a==="grid"||a==="treegrid"?"gridcell":"cell"}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(a){this._trackByFn=a}get dataSource(){return this._dataSource}set dataSource(a){this._dataSource!==a&&this._switchDataSource(a)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(a){this._multiTemplateDataRows=a,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(a){this._fixedLayout=a,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._viewportRuler.change().pipe(Ht(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){var a,i,r,s;(a=this._stickyStyler)==null||a.destroy(),[(i=this._rowOutlet)==null?void 0:i.viewContainer,(r=this._headerRowOutlet)==null?void 0:r.viewContainer,(s=this._footerRowOutlet)==null?void 0:s.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(l=>{l==null||l.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),Bh(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let a=this._dataDiffer.diff(this._renderRows);if(!a){this._updateNoDataRow(),this.contentChanged.next();return}let i=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(a,i,(r,s,l)=>this._getEmbeddedViewArgs(r.item,l),r=>r.item.data,r=>{r.operation===il.INSERTED&&r.context&&this._renderCellTemplateForItem(r.record.item.rowDef,r.context)}),this._updateRowIndexContext(),a.forEachIdentityChange(r=>{let s=i.get(r.currentIndex);s.context.$implicit=r.item.data}),this._updateNoDataRow(),this.contentChanged.next(),this.updateStickyColumnStyles()}addColumnDef(a){this._customColumnDefs.add(a)}removeColumnDef(a){this._customColumnDefs.delete(a)}addRowDef(a){this._customRowDefs.add(a)}removeRowDef(a){this._customRowDefs.delete(a)}addHeaderRowDef(a){this._customHeaderRowDefs.add(a),this._headerRowDefChanged=!0}removeHeaderRowDef(a){this._customHeaderRowDefs.delete(a),this._headerRowDefChanged=!0}addFooterRowDef(a){this._customFooterRowDefs.add(a),this._footerRowDefChanged=!0}removeFooterRowDef(a){this._customFooterRowDefs.delete(a),this._footerRowDefChanged=!0}setNoDataRow(a){this._customNoDataRow=a}updateStickyHeaderRowStyles(){let a=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let r=Yy(this._headerRowOutlet,"thead");r&&(r.style.display=a.length?"":"none")}let i=this._headerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(a,["top"]),this._stickyStyler.stickRows(a,i,"top"),this._headerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyFooterRowStyles(){let a=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let r=Yy(this._footerRowOutlet,"tfoot");r&&(r.style.display=a.length?"":"none")}let i=this._footerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(a,["bottom"]),this._stickyStyler.stickRows(a,i,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,i),this._footerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyColumnStyles(){let a=this._getRenderedRows(this._headerRowOutlet),i=this._getRenderedRows(this._rowOutlet),r=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...a,...i,...r],["left","right"]),this._stickyColumnStylesNeedReset=!1),a.forEach((s,l)=>{this._addStickyColumnStyles([s],this._headerRowDefs[l])}),this._rowDefs.forEach(s=>{let l=[];for(let c=0;c<i.length;c++)this._renderRows[c].rowDef===s&&l.push(i[c]);this._addStickyColumnStyles(l,s)}),r.forEach((s,l)=>{this._addStickyColumnStyles([s],this._footerRowDefs[l])}),Array.from(this._columnDefsByName.values()).forEach(s=>s.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let a=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||a,this._forceRecalculateCellWidths=a,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){let a=[],i=this._cachedRenderRowsMap;if(this._cachedRenderRowsMap=new Map,!this._data)return a;for(let r=0;r<this._data.length;r++){let s=this._data[r],l=this._getRenderRowsForData(s,r,i.get(s));this._cachedRenderRowsMap.has(s)||this._cachedRenderRowsMap.set(s,new WeakMap);for(let c=0;c<l.length;c++){let d=l[c],u=this._cachedRenderRowsMap.get(d.data);u.has(d.rowDef)?u.get(d.rowDef).push(d):u.set(d.rowDef,[d]),a.push(d)}}return a}_getRenderRowsForData(a,i,r){return this._getRowDefs(a,i).map(s=>{let l=r&&r.has(s)?r.get(s):[];if(l.length){let c=l.shift();return c.dataIndex=i,c}else return{data:a,rowDef:s,dataIndex:i}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Qc(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(a=>{this._columnDefsByName.has(a.name),this._columnDefsByName.set(a.name,a)})}_cacheRowDefs(){this._headerRowDefs=Qc(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Qc(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Qc(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let a=this._rowDefs.filter(i=>!i.when);!this.multiTemplateDataRows&&a.length>1,this._defaultRowDef=a[0]}_renderUpdatedColumns(){let a=(l,c)=>{let d=!!c.getColumnsDiff();return l||d},i=this._rowDefs.reduce(a,!1);i&&this._forceRenderDataRows();let r=this._headerRowDefs.reduce(a,!1);r&&this._forceRenderHeaderRows();let s=this._footerRowDefs.reduce(a,!1);return s&&this._forceRenderFooterRows(),i||r||s}_switchDataSource(a){this._data=[],Bh(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),a||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=a}_observeRenderChanges(){if(!this.dataSource)return;let a;Bh(this.dataSource)?a=this.dataSource.connect(this):Bo(this.dataSource)?a=this.dataSource:Array.isArray(this.dataSource)&&(a=bt(this.dataSource)),this._renderChangeSubscription=a.pipe(Ht(this._onDestroy)).subscribe(i=>{this._data=i||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((a,i)=>this._renderRow(this._headerRowOutlet,a,i)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((a,i)=>this._renderRow(this._footerRowOutlet,a,i)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(a,i){let r=Array.from((i==null?void 0:i.columns)||[]).map(c=>this._columnDefsByName.get(c)),s=r.map(c=>c.sticky),l=r.map(c=>c.stickyEnd);this._stickyStyler.updateStickyColumns(a,s,l,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(a){let i=[];for(let r=0;r<a.viewContainer.length;r++){let s=a.viewContainer.get(r);i.push(s.rootNodes[0])}return i}_getRowDefs(a,i){if(this._rowDefs.length==1)return[this._rowDefs[0]];let r=[];if(this.multiTemplateDataRows)r=this._rowDefs.filter(s=>!s.when||s.when(i,a));else{let s=this._rowDefs.find(l=>l.when&&l.when(i,a))||this._defaultRowDef;s&&r.push(s)}return r.length,r}_getEmbeddedViewArgs(a,i){let r=a.rowDef,s={$implicit:a.data};return{templateRef:r.template,context:s,index:i}}_renderRow(a,i,r,s={}){let l=a.viewContainer.createEmbeddedView(i.template,s,r);return this._renderCellTemplateForItem(i,s),l}_renderCellTemplateForItem(a,i){for(let r of this._getCellTemplates(a))ss.mostRecentCellOutlet&&ss.mostRecentCellOutlet._viewContainer.createEmbeddedView(r,i);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let a=this._rowOutlet.viewContainer;for(let i=0,r=a.length;i<r;i++){let s=a.get(i).context;s.count=r,s.first=i===0,s.last=i===r-1,s.even=i%2===0,s.odd=!s.even,this.multiTemplateDataRows?(s.dataIndex=this._renderRows[i].dataIndex,s.renderIndex=i):s.index=this._renderRows[i].dataIndex}}_getCellTemplates(a){return!a||!a.columns?[]:Array.from(a.columns,i=>{let r=this._columnDefsByName.get(i);return a.extractCellTemplate(r)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let a=(i,r)=>i||r.hasStickyChanged();this._headerRowDefs.reduce(a,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(a,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(a,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let a=this._dir?this._dir.value:"ltr";this._stickyStyler=new URe(this._isNativeHtmlTable,this.stickyCssClass,a,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener,this._injector),(this._dir?this._dir.change:bt()).pipe(Ht(this._onDestroy)).subscribe(i=>{this._stickyStyler.direction=i,this.updateStickyColumnStyles()})}_getOwnDefs(a){return a.filter(i=>!i._table||i._table===this)}_updateNoDataRow(){let a=this._customNoDataRow||this._noDataRow;if(!a)return;let i=this._rowOutlet.viewContainer.length===0;if(i===this._isShowingNoDataRow)return;let r=this._noDataRowOutlet.viewContainer;if(i){let s=r.createEmbeddedView(a.templateRef),l=s.rootNodes[0];s.rootNodes.length===1&&(l==null?void 0:l.nodeType)===this._document.ELEMENT_NODE&&(l.setAttribute("role","row"),l.classList.add(a._contentClassName))}else r.clear();this._isShowingNoDataRow=i,this._changeDetectorRef.markForCheck()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",ee({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(a,i,r){if(a&1&&(mt(r,HRe,5),mt(r,Tl,5),mt(r,Wm,5),mt(r,tu,5),mt(r,Ile,5)),a&2){let s;ye(s=_e())&&(i._noDataRow=s.first),ye(s=_e())&&(i._contentColumnDefs=s),ye(s=_e())&&(i._contentRowDefs=s),ye(s=_e())&&(i._contentHeaderRowDefs=s),ye(s=_e())&&(i._contentFooterRowDefs=s)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(a,i){a&2&&Ee("cdk-table-fixed-layout",i.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",fe],fixedLayout:[2,"fixedLayout","fixedLayout",fe]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[st([{provide:xn,useExisting:t},{provide:mm,useClass:oC},{provide:Um,useClass:Dle},{provide:Gm,useValue:null}])],ngContentSelectors:NRe,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(a,i){a&1&&(ut(MRe),Ce(0),Ce(1,1),z(2,LRe,1,0)(3,FRe,7,0)(4,VRe,4,0)),a&2&&(C(2),U(i._isServer?2:-1),C(),U(i._isNativeHtmlTable?3:4))},dependencies:[Ale,Tle,Rle,Ole],styles:[`.cdk-table-fixed-layout{table-layout:fixed}
|
|
64
64
|
`],encapsulation:2}));let e=t;return e})();function Qc(e,t){return e.concat(Array.from(t))}function Yy(e,t){let n=t.toUpperCase(),a=e.viewContainer.element.nativeElement;for(;a;){let i=a.nodeType===1?a.nodeName:null;if(i===n)return a;if(i==="TABLE")break;a=a.parentNode}return null}var GRe=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",vt({imports:[fm]}));let e=t;return e})(),qRe=[[["caption"]],[["colgroup"],["col"]],"*"],$Re=["caption","colgroup, col","*"];function YRe(e,t){e&1&&Ce(0,2)}function ZRe(e,t){e&1&&(S(0,"thead",0),Ca(1,1),I(),S(2,"tbody",2),Ca(3,3)(4,4),I(),S(5,"tfoot",0),Ca(6,5),I())}function KRe(e,t){e&1&&Ca(0,1)(1,3)(2,4)(3,5)}var Ple=(()=>{const t=class t extends $y{constructor(){super(...arguments);o(this,"stickyCssClass","mat-mdc-table-sticky");o(this,"needsPositionStickyOnElement",!1)}};o(t,"ɵfac",(()=>{let i;return function(r){return(i||(i=tt(t)))(r||t)}})()),o(t,"ɵcmp",ee({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(i,r){i&2&&Ee("mdc-table-fixed-layout",r.fixedLayout)},exportAs:["matTable"],features:[st([{provide:$y,useExisting:t},{provide:xn,useExisting:t},{provide:Um,useClass:Dle},{provide:mm,useClass:oC},{provide:Gm,useValue:null}]),ze],ngContentSelectors:$Re,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,r){i&1&&(ut(qRe),Ce(0),Ce(1,1),z(2,YRe,1,0)(3,ZRe,7,0)(4,KRe,4,0)),i&2&&(C(2),U(r._isServer?2:-1),C(),U(r._isNativeHtmlTable?3:4))},dependencies:[Ale,Tle,Rle,Ole],styles:[`.mat-mdc-table-sticky{position:sticky !important}mat-table{display:block}mat-header-row{min-height:var(--mat-table-header-container-height, 56px)}mat-row{min-height:var(--mat-table-row-item-container-height, 52px)}mat-footer-row{min-height:var(--mat-table-footer-container-height, 52px)}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{min-width:100%;border:0;border-spacing:0;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color, var(--mat-sys-surface))}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell{text-align:right}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-header-headline-font, var(--mat-sys-title-small-font, Roboto, sans-serif));line-height:var(--mat-table-header-headline-line-height, var(--mat-sys-title-small-line-height));font-size:var(--mat-table-header-headline-size, var(--mat-sys-title-small-size, 14px));font-weight:var(--mat-table-header-headline-weight, var(--mat-sys-title-small-weight, 500))}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-row-item-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-row-item-label-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-row-item-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-footer-supporting-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-footer-supporting-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-footer-supporting-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-footer-supporting-text-weight, var(--mat-sys-body-medium-weight));letter-spacing:var(--mat-table-footer-supporting-text-tracking, var(--mat-sys-body-medium-tracking))}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking, var(--mat-sys-title-small-tracking));font-weight:inherit;line-height:inherit;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mat-mdc-header-cell{text-align:right}.mdc-data-table__row:last-child>.mat-mdc-header-cell{border-bottom:none}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking));line-height:inherit}.mdc-data-table__row:last-child>.mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking))}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./assets/polyfills-CGYnV-49.js";import"./assets/main-
|
|
1
|
+
import"./assets/polyfills-CGYnV-49.js";import"./assets/main-B32u-swv.js";/* empty css */
|
package/package.json
CHANGED