@smals-belgium-shared/vidis-medication-scheme-list 3.4.2-snapshot.2 → 3.4.2-snapshot.3

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.
@@ -57,9 +57,9 @@ Probeer het later nog eens.`,bP="De patiënt heeft 1 of meerdere voorschriften v
57
57
  `],encapsulation:2}));let e=t;return e})(),HTe=new Y("MAT_TABS_CONFIG"),Sy=(()=>{const t=class t extends bn{constructor(){super();o(this,"_host",_(Bm));o(this,"_centeringSub",Ye.EMPTY);o(this,"_leavingSub",Ye.EMPTY)}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Aa(this._host._isCenterPosition())).subscribe(i=>{this._host._content&&i&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",de({type:t,selectors:[["","matTabBodyHost",""]],features:[ze]}));let e=t;return e})(),Bm=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Oe));o(this,"_dir",_(La,{optional:!0}));o(this,"_ngZone",_(Ne));o(this,"_injector",_(ut));o(this,"_renderer",_(ri));o(this,"_animationsModule",_(Ra,{optional:!0}));o(this,"_eventCleanups");o(this,"_initialized");o(this,"_fallbackTimer");o(this,"_positionIndex");o(this,"_dirChangeSubscription",Ye.EMPTY);o(this,"_position");o(this,"_previousPosition");o(this,"_onCentering",new ie);o(this,"_beforeCentering",new ie);o(this,"_afterLeavingCenter",new ie);o(this,"_onCentered",new ie(!0));o(this,"_portalHost");o(this,"_contentElement");o(this,"_content");o(this,"animationDuration","500ms");o(this,"preserveContent",!1);if(this._dir){let a=_(kt);this._dirChangeSubscription=this._dir.change.subscribe(i=>{this._computePositionAnimationState(i),a.markForCheck()})}}set position(a){this._positionIndex=a,this._computePositionAnimationState()}ngOnInit(){this._bindTransitionEvents(),this._position==="center"&&(this._setActiveClass(!0),Wn(()=>this._onCentering.emit(this._elementRef.nativeElement.clientHeight),{injector:this._injector})),this._initialized=!0}ngOnDestroy(){var a;clearTimeout(this._fallbackTimer),(a=this._eventCleanups)==null||a.forEach(i=>i()),this._dirChangeSubscription.unsubscribe()}_bindTransitionEvents(){this._ngZone.runOutsideAngular(()=>{let a=this._elementRef.nativeElement,i=r=>{var s;r.target===((s=this._contentElement)==null?void 0:s.nativeElement)&&(this._elementRef.nativeElement.classList.remove("mat-tab-body-animating"),r.type==="transitionend"&&this._transitionDone())};this._eventCleanups=[this._renderer.listen(a,"transitionstart",r=>{var s;r.target===((s=this._contentElement)==null?void 0:s.nativeElement)&&(this._elementRef.nativeElement.classList.add("mat-tab-body-animating"),this._transitionStarted())}),this._renderer.listen(a,"transitionend",i),this._renderer.listen(a,"transitioncancel",i)]})}_transitionStarted(){clearTimeout(this._fallbackTimer);let a=this._position==="center";this._beforeCentering.emit(a),a&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_transitionDone(){this._position==="center"?this._onCentered.emit():this._previousPosition==="center"&&this._afterLeavingCenter.emit()}_setActiveClass(a){this._elementRef.nativeElement.classList.toggle("mat-mdc-tab-body-active",a)}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_isCenterPosition(){return this._positionIndex===0}_computePositionAnimationState(a=this._getLayoutDirection()){this._previousPosition=this._position,this._positionIndex<0?this._position=a=="ltr"?"left":"right":this._positionIndex>0?this._position=a=="ltr"?"right":"left":this._position="center",this._animationsDisabled()?this._simulateTransitionEvents():this._initialized&&(this._position==="center"||this._previousPosition==="center")&&(clearTimeout(this._fallbackTimer),this._fallbackTimer=this._ngZone.runOutsideAngular(()=>setTimeout(()=>this._simulateTransitionEvents(),100)))}_simulateTransitionEvents(){this._transitionStarted(),Wn(()=>this._transitionDone(),{injector:this._injector})}_animationsDisabled(){return this._animationsModule==="NoopAnimations"||this.animationDuration==="0ms"||this.animationDuration==="0s"}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",X({type:t,selectors:[["mat-tab-body"]],viewQuery:function(a,i){if(a&1&&($e(Sy,5),$e(wTe,5)),a&2){let r;ye(r=_e())&&(i._portalHost=r.first),ye(r=_e())&&(i._contentElement=r.first)}},hostAttrs:[1,"mat-mdc-tab-body"],hostVars:1,hostBindings:function(a,i){a&2&&be("inert",i._position==="center"?null:"")},inputs:{_content:[0,"content","_content"],animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_onCentered:"_onCentered"},decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(a,i){a&1&&(D(0,"div",1,0),V(2,ETe,0,0,"ng-template",2),T()),a&2&&we("mat-tab-body-content-left",i._position==="left")("mat-tab-body-content-right",i._position==="right")("mat-tab-body-content-can-animate",i._position==="center"||i._previousPosition==="center")},dependencies:[Sy,OE],styles:[`.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto;transform:none;visibility:hidden}.mat-tab-body-animating>.mat-mdc-tab-body-content,.mat-mdc-tab-body-active>.mat-mdc-tab-body-content{visibility:visible}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-tab-body-content-can-animate{transition:transform var(--mat-tab-animation-duration) 1ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable .mat-tab-body-content-can-animate{transition:none}.mat-tab-body-content-left{transform:translate3d(-100%, 0, 0)}.mat-tab-body-content-right{transform:translate3d(100%, 0, 0)}
58
58
  `],encapsulation:2}));let e=t;return e})(),UTe=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Oe));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 ts);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",!_(Yt).isBrowser);let a=_(HTe,{optional:!0});this._groupId=_(ha).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(Aa(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 WTe;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",X({type:t,selectors:[["mat-tab-group"]],contentQueries:function(a,i,r){if(a&1&&mt(r,ble,5),a&2){let s;ye(s=_e())&&(i._allTabs=s)}},viewQuery:function(a,i){if(a&1&&($e(kTe,5),$e(CTe,5),$e(Bm,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&&(be("mat-align-tabs",i.alignTabs),Pi("mat-"+(i.color||"primary")),Kn("--mat-tab-animation-duration",i.animationDuration),we("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",vn],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",vn],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:[lt([{provide:vle,useExisting:t}])],ngContentSelectors:o0,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=Et();st(),D(0,"mat-tab-header",3,0),xe("indexFocused",function(s){return Se(r),De(i._focusChanged(s))})("selectFocusedIndex",function(s){return Se(r),De(i.selectedIndex=s)}),Ga(2,TTe,8,17,"div",4,Ni),T(),V(4,OTe,1,0),D(5,"div",5,1),Ga(7,ATe,1,10,"mat-tab-body",6,Ni),T()}a&2&&(N("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(),we("_mat-animation-noopable",i._animationsDisabled()),C(2),$a(i._tabs))},dependencies:[jTe,yle,pg,Uu,bn,Bm],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})(),WTe=class{constructor(){o(this,"index");o(this,"tab")}},qTe=(()=>{const t=class t{constructor(){o(this,"_vertical",!1);o(this,"_inset",!1)}get vertical(){return this._vertical}set vertical(a){this._vertical=qo(a)}get inset(){return this._inset}set inset(a){this._inset=qo(a)}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",X({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(a,i){a&2&&(be("aria-orientation",i.vertical?"vertical":"horizontal"),we("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
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),_le={"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(_le);var GTe=_le,xle={"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(xle);var $Te=xle,Ci=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,el,Vr,YTe=class{constructor(...e){Ao.set(this,new Map),el.set(this,new Map),Vr.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()),Ci(this,Vr,"f").has(n)||Ci(this,Vr,"f").set(n,new Set);let i=Ci(this,Vr,"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&&Ci(this,el,"f").set(n,s),r=!1,l)continue;let c=Ci(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.`);Ci(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:Ci(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&&Ci(this,el,"f").get(e.trim().toLowerCase()))??null)}getAllExtensions(e){return typeof e!="string"?null:Ci(this,Vr,"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 Ci(this,Vr,"f").values())Object.freeze(e);return this}_getTestState(){return{types:Ci(this,Ao,"f"),extensions:Ci(this,el,"f")}}};Ao=new WeakMap,el=new WeakMap,Vr=new WeakMap;var ZTe=YTe;new ZTe($Te,GTe)._freeze();var KTe=(()=>{const t=class t{transform(a){return a?"":"no"}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=ua({name:"canTranslateForAttr",type:t,pure:!0});let e=t;return e})(),Qi=(()=>{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=ua({name:"firstLetterUppercase",type:t,pure:!0});let e=t;return e})(),dc=(()=>{const t=class t{transform(a){return N2e(a)}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=ua({name:"fullname",type:t,pure:!0});let e=t;return e})(),QTe=(()=>{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=ua({name:"getLangForAttrLang",type:t,pure:!0});let e=t;return e})(),s0=(()=>{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=ua({name:"quantity",type:t,pure:!0});let e=t;return e})(),XTe=(()=>{const t=class t{constructor(){this.translate=_(Fa)}transform(a){return L2e(a,this.translate.currentLang)}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=ua({name:"translateObject",type:t,pure:!0});let e=t;return e})(),Ms=(()=>{const t=class t{constructor(){this.translate=_(Fa)}transform(a){return lc(a,this.translate.currentLang)}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=ua({name:"translateValue",type:t,pure:!0});let e=t;return e})(),JTe={1:"monday",2:"tuesday",3:"wednesday",4:"thursday",5:"friday",6:"saturday",7:"sunday"},eOe=(()=>{const t=class t{transform(a){return JTe[_r(a)]}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=ua({name:"weekdayName",type:t,pure:!0});let e=t;return e})(),tOe=(()=>{const t=class t{transform(a){let i=new Date;return a==null?void 0:a.filter(r=>r.type==="definitive"||r.endDate&&!lo(new Date(r.endDate),i))}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=ua({name:"activeAndFutureSuspensions",type:t,pure:!0});let e=t;return e})(),wle=(()=>{const t=class t{constructor(){this.translate=_(Fa),this.cdRef=_(kt),this.destroyRef=_(xi),this.result="",this.translate.onLangChange.pipe(cc(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 lc(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=ua({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||{}),sl=function(e){return e.ALL="all",e.CURRENT="current",e.FUTURE="future",e}(sl||{}),Ele=function(e){return e.VITALINK="vitalink",e.RSB="rsb",e.RSW="rsw",e}(Ele||{}),ja=function(e){return e.LIST="list",e.DAY="day",e.WEEK="week",e}(ja||{});function tu(e,t){return!lo(e,t)}function aOe(e,t){return!Tl(e,t)}function iOe(e,t){let n=[],a=e;for(;!Tl(a,t);)n.push(a),a=Ct(Ki(a,1));return n}function ih(e){switch(e){case ea.MONDAY:return 1;case ea.TUESDAY:return 2;case ea.WEDNESDAY:return 3;case ea.THURSDAY:return 4;case ea.FRIDAY:return 5;case ea.SATURDAY:return 6;case ea.SUNDAY:return 7;default:return}}var kle="minutes",gi="hours",vi="days",si="weeks",li="months",zr="years",nOe=new Map([[ee.UH,{number:30,unit:kle}],[ee.U,{number:1,unit:gi}],[ee.UT,{number:2,unit:gi}],[ee.UD,{number:3,unit:gi}],[ee.UV,{number:4,unit:gi}],[ee.UQ,{number:5,unit:gi}],[ee.UZ,{number:6,unit:gi}],[ee.US,{number:7,unit:gi}],[ee.UA,{number:8,unit:gi}],[ee.UN,{number:9,unit:gi}],[ee.UX,{number:10,unit:gi}],[ee.UE,{number:11,unit:gi}],[ee.UW,{number:12,unit:gi}],[ee.D,{number:1,unit:vi}],[ee.DT,{number:2,unit:vi}],[ee.O1,{number:2,unit:vi}],[ee.DD,{number:3,unit:vi}],[ee.DV,{number:4,unit:vi}],[ee.DQ,{number:5,unit:vi}],[ee.DZ,{number:6,unit:vi}],[ee.DA,{number:8,unit:vi}],[ee.DN,{number:9,unit:vi}],[ee.DX,{number:10,unit:vi}],[ee.DE,{number:11,unit:vi}],[ee.DW,{number:12,unit:vi}],[ee.WT,{number:2,unit:si}],[ee.WD,{number:3,unit:si}],[ee.WV,{number:4,unit:si}],[ee.WQ,{number:5,unit:si}],[ee.WZ,{number:6,unit:si}],[ee.WS,{number:7,unit:si}],[ee.WA,{number:8,unit:si}],[ee.WN,{number:9,unit:si}],[ee.WX,{number:10,unit:si}],[ee.WE,{number:11,unit:si}],[ee.WW,{number:12,unit:si}],[ee.WP,{number:24,unit:si}],[ee.W,{number:1,unit:si}],[ee.M,{number:1,unit:li}],[ee.MT,{number:2,unit:li}],[ee.MD,{number:3,unit:li}],[ee.MV,{number:4,unit:li}],[ee.MQ,{number:5,unit:li}],[ee.MZ2,{number:6,unit:li}],[ee.MS,{number:7,unit:li}],[ee.MA,{number:8,unit:li}],[ee.MN,{number:9,unit:li}],[ee.MX,{number:10,unit:li}],[ee.ME,{number:11,unit:li}],[ee.MC,{number:18,unit:li}],[ee.JH2,{number:6,unit:li}],[ee.J,{number:1,unit:zr}],[ee.JT,{number:2,unit:zr}],[ee.JD,{number:3,unit:zr}],[ee.JV,{number:4,unit:zr}],[ee.JQ,{number:5,unit:zr}],[ee.JZ,{number:6,unit:zr}]]);function rOe(e,t,n){var i;let a=nOe.get((i=t.frequency)==null?void 0:i.periodicity);switch(a==null?void 0:a.unit){case kle:case gi:return!0;case vi:return oOe(e,t,a,n);case si:return sOe(e,t,a,n);case li:return lOe(e,t,a,n);case zr:return cOe(e,t,a,n);default:return!1}}function oOe(e,t,n,a){var d;let i=Ct(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 sOe(e,t,n,a){var r,s,l;let i=Ct(new Date(t.treatmentStartDate));if((s=(r=e.day)==null?void 0:r.weekday)!=null&&s.day)return kCe(i,a)%n.number===0&&_r(a)===ih(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 lOe(e,t,n,a){var s,l;let i;(s=e.day)!=null&&s.date?i=Ct(new Date(e.day.date)):(l=e.day)!=null&&l.dayNumber?i=Ct(Ki(new Date(t.treatmentStartDate),e.day.dayNumber-1)):i=Ct(new Date(t.treatmentStartDate));let r=ECe(i,a);return n.number>1?r%n.number===0&&Vo(a.getDate(),i.getDate()):Vo(a.getDate(),i.getDate())}function cOe(e,t,n,a){var s;let i=(s=e.day)!=null&&s.date?Ct(new Date(e.day.date)):Ct(new Date(t.treatmentStartDate)),r=CCe(i,a);return n.number>1?r%n.number===0&&Dy(a,i):Dy(a,i)}function Dy(e,t){return e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}var dOe=[ee.M,ee.MT,ee.MD,ee.MV,ee.MQ,ee.MZ2,ee.MS,ee.MA,ee.MN,ee.MX,ee.ME,ee.MC];function gp(e){return dOe.includes(e)}var uOe=[ee.J,ee.JH2,ee.JT,ee.JD,ee.JV,ee.JQ,ee.JZ];function vp(e){return uOe.includes(e)}function hOe(e,t){return tu(t,Ct(new Date(e.treatmentStartDate)))&&(!e.treatmentEndDate||aOe(t,eh(new Date(e.treatmentEndDate))))}function Cle(e,t){var n;return(n=e.suspensions)!=null&&n.length?e.suspensions.some(a=>a.startDate&&a.endDate?a0(t,{start:Ct(new Date(a.startDate)),end:eh(new Date(a.endDate))}):tu(t,Ct(new Date(a.startDate)))):!1}function pOe(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=>a0(t,{start:Ct(new Date(i.startDate)),end:eh(new Date(i.endDate))})):!1}function Sle(e,t,n){var a,i,r,s,l,c,d;return(a=t.frequency)!=null&&a.periodicity?rOe(e,t,n):(i=e.day)!=null&&i.date?Vo(n,Ct(new Date(e.day.date))):(r=e.day)!=null&&r.dayNumber?Vo(n,Ct(Ki(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?th(n)===e.day.weekday.weekNumber&&(ih(e.day.weekday.day)||1)===_r(n):Vo(n,Dle(e,t)):!!(t.treatmentStartDate&&Vo(n,Ct(new Date(t.treatmentStartDate))))}function mOe(e,t){var n,a;return(a=(n=e.day)==null?void 0:n.weekday)!=null&&a.weekNumber?fOe(e,t):Dle(e,t)}function fOe(e,t){let n=new Date(t.treatmentStartDate),a=th(n),i=Ct(Ki(Qg(so(n),e.day.weekday.weekNumber-a),(ih(e.day.weekday.day)||1)-1));return lo(i,n)?vCe(i,1):i}function Dle(e,t){var i,r;let n=ih((r=(i=e.day)==null?void 0:i.weekday)==null?void 0:r.day)||0,a=_r(new Date(t.treatmentStartDate));return Ct(Ki(new Date(t.treatmentStartDate),(n-a+7)%7))}function Ile(e,t){let n=e.treatmentEndDate?new Date(e.treatmentEndDate):null,a=gOe(e,t);return n&&a?bCe([n,a]):n||a}function gOe(e,t){var a;if(!((a=e.suspensions)!=null&&a.length))return null;let n=e.suspensions.filter(i=>vOe(i,t)).map(i=>i0(new Date(i.startDate)));return _Ce(t,n)}function vOe(e,t){return e.startDate&&tu(new Date(e.startDate),t)||lo(new Date(e.startDate),t)&&tu(new Date(e.endDate),t)}function Tle(e,t,n){let a=new Date(t.treatmentStartDate);if(!n||lo(n,a))return n;let i,r=n;for(;!i&&!lo(r,a);)Sle(e,t,r)?i=r:r=i0(r);return r}function bOe(e,t){let n=Object.values(gt),a=i=>lc(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 yOe(e,t,n="asc"){let a=i=>lc(i.name,t)||"";return[...e||[]].sort((i,r)=>a(i).localeCompare(a(r),void 0,{sensitivity:"base"})*(n==="asc"?1:-1))}function _Oe(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 Iy(e,t){return hOe(e.medication,t)&&!Cle(e.medication,t)&&Sle(e.posology,e.medication,t)}function xOe(e){return e.filter(t=>Ole(t))}function Ole(e){let t=Ct(new Date),n=e.treatmentEndDate;return e.treatmentStartDate&&Tl(new Date(e.treatmentStartDate).setHours(0),t)?!1:!Cle(e,t)&&(!n||Tl(new Date(n),t))}function wOe(e){return e.filter(t=>nh(t))}function nh(e){let t=Ct(new Date);return e.treatmentStartDate&&Tl(new Date(e.treatmentStartDate).setHours(0),t)?!0:e.treatmentStartDate&&pOe(e,t)}function EOe(e){return e.filter(t=>Ole(t)||nh(t))}function Ale(e,t,n){if(!(e!=null&&e.length))return!1;let a=new RegExp(`^medications\\[${t}]`);return e.some(i=>a.test(i.field)?n?i.field.includes(`.${n}`):!0:!1)}var kOe=(()=>{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=ua({name:"filterMedicationByDayPart",type:t,pure:!0});let e=t;return e})(),COe=(()=>{const t=class t{transform(a,i){switch(i){case"current":return xOe(a);case"future":return wOe(a);case"all":default:return EOe(a)}}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=ua({name:"filterMedicationTo",type:t,pure:!0});let e=t;return e})(),Rle=(()=>{const t=class t{transform(a){return nh(a)}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=ua({name:"isFutureMedication",type:t,pure:!0});let e=t;return e})(),SOe=(()=>{const t=class t{transform(a,i){let r=Ile(a.medication,i),s=Tle(a.posology,a.medication,r);return PC(Ct(s),Ct(i))}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=ua({name:"isLastIngestionDay",type:t,pure:!0});let e=t;return e})(),DOe=(()=>{const t=class t{transform(a,i,r){let s=Ile(a.medication,i),l=Tle(a.posology,a.medication,s);return a0(l,{start:Ct(i),end:eh(r)})?{lastDay:s,lastIngestionDay:l}:null}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=ua({name:"lastIngestionPeriod",type:t,pure:!0});let e=t;return e})(),IOe=(()=>{const t=class t{constructor(){this.translate=_(Fa),this.cdRef=_(kt),this.destroyRef=_(xi),this.result="",this.translate.onLangChange.pipe(cc(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=ua({name:"posologyDayTime",type:t,pure:!1});let e=t;return e})(),TOe=(()=>{const t=class t{constructor(){this.translate=_(Fa),this.cdRef=_(kt),this.destroyRef=_(xi),this.result="",this.translate.onLangChange.pipe(cc(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&&!gp(i)&&!vp(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&&!gp(i)&&!vp(i))return[this.translate.instant("commons.posology.day"),a.day.dayNumber.toString()];if(gp(i))return((c=a.day)==null?void 0:c.date)!=null?[this.translate.instant("commons.posology.day"),Zc(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"),Zc(r).toString()];if(vp(i)){let p=[this.translate.instant("commons.posology.on")];return(u=a.day)!=null&&u.date?p.push(Zc(new Date(a.day.date))+"/"+(wy(a.day.date)+1)):p.push(Zc(r)+"/"+(wy(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(Fo(new Date(a.day.date),"dd-MM-yyyy")):((c=a.day)==null?void 0:c.weekday)!=null?s.push(Fo(mOe(a,i),"dd-MM-yyyy")):((d=a.day)==null?void 0:d.dayNumber)!=null?s.push(Fo(Ki(r,a.day.dayNumber-1),"dd-MM-yyyy")):s.push(Fo(r,"dd-MM-yyyy")),s}getPosologyDayTimeTranslation(a){var i,r,s;return a&&((i=a.daytime)!=null&&i.dayPeriod)&&Object.values(Qt).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=ua({name:"posologySpecification",type:t,pure:!1});let e=t;return e})(),OOe=(()=>{const t=class t{transform(a,i){var r,s;return((s=(r=a.suspensions)==null?void 0:r.filter(l=>lo(i,Ct(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=gy(new Date(i.startDate),a),l=gy(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=ua({name:"suspensionType",type:t,pure:!0});let e=t;return e})(),l0=(()=>{const t=class t{transform(a,i,r){return Ale(a,i,r)}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=ua({name:"hasMedicationError",type:t,pure:!0});let e=t;return e})(),Mle=e=>({posology:e}),AOe=e=>({count:e});function ROe(e,t){e&1&&(D(0,"span",1),F(1),O(2,"translate"),T()),e&2&&(C(),te("",P(2,1,"medicationSchemeListView.remarks.ifneeded"),":"))}function MOe(e,t){if(e&1&&(D(0,"li"),Ca(1,2),T()),e&2){let n=t.$implicit;L(3);let a=Ya(3);C(),N("ngTemplateOutlet",a)("ngTemplateOutletContext",ii(2,Mle,n))}}function POe(e,t){if(e&1&&(D(0,"ul"),Ga(1,MOe,2,4,"li",null,Ni),T()),e&2){let n=L(2);C(),$a(n.medication().posology)}}function NOe(e,t){if(e&1&&Ca(0,2),e&2){let n=L(2),a=Ya(3);N("ngTemplateOutlet",a)("ngTemplateOutletContext",ii(2,Mle,n.medication().posology[0]))}}function LOe(e,t){if(e&1&&V(0,ROe,3,3,"span",1)(1,POe,3,0,"ul")(2,NOe,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 FOe(e,t){e&1&&(F(0),O(1,"translate")),e&2&&te(" ",P(1,1,"medicationSchemeListView.notSpecified"),`
60
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),_le={"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(_le);var GTe=_le,xle={"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(xle);var $Te=xle,Ci=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,el,Vr,YTe=class{constructor(...e){Ao.set(this,new Map),el.set(this,new Map),Vr.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()),Ci(this,Vr,"f").has(n)||Ci(this,Vr,"f").set(n,new Set);let i=Ci(this,Vr,"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&&Ci(this,el,"f").set(n,s),r=!1,l)continue;let c=Ci(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.`);Ci(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:Ci(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&&Ci(this,el,"f").get(e.trim().toLowerCase()))??null)}getAllExtensions(e){return typeof e!="string"?null:Ci(this,Vr,"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 Ci(this,Vr,"f").values())Object.freeze(e);return this}_getTestState(){return{types:Ci(this,Ao,"f"),extensions:Ci(this,el,"f")}}};Ao=new WeakMap,el=new WeakMap,Vr=new WeakMap;var ZTe=YTe;new ZTe($Te,GTe)._freeze();var KTe=(()=>{const t=class t{transform(a){return a?"":"no"}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=ua({name:"canTranslateForAttr",type:t,pure:!0});let e=t;return e})(),Qi=(()=>{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=ua({name:"firstLetterUppercase",type:t,pure:!0});let e=t;return e})(),dc=(()=>{const t=class t{transform(a){return N2e(a)}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=ua({name:"fullname",type:t,pure:!0});let e=t;return e})(),QTe=(()=>{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=ua({name:"getLangForAttrLang",type:t,pure:!0});let e=t;return e})(),s0=(()=>{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=ua({name:"quantity",type:t,pure:!0});let e=t;return e})(),XTe=(()=>{const t=class t{constructor(){this.translate=_(Fa)}transform(a){return L2e(a,this.translate.currentLang)}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=ua({name:"translateObject",type:t,pure:!0});let e=t;return e})(),Ms=(()=>{const t=class t{constructor(){this.translate=_(Fa)}transform(a){return lc(a,this.translate.currentLang)}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=ua({name:"translateValue",type:t,pure:!0});let e=t;return e})(),JTe={1:"monday",2:"tuesday",3:"wednesday",4:"thursday",5:"friday",6:"saturday",7:"sunday"},eOe=(()=>{const t=class t{transform(a){return JTe[_r(a)]}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=ua({name:"weekdayName",type:t,pure:!0});let e=t;return e})(),tOe=(()=>{const t=class t{transform(a){let i=new Date;return a.map((r,s)=>({item:r,originalIndex:s})).filter(r=>r.item.type==="definitive"||r.item.endDate&&!lo(new Date(r.item.endDate),i))}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=ua({name:"activeAndFutureSuspensions",type:t,pure:!0});let e=t;return e})(),wle=(()=>{const t=class t{constructor(){this.translate=_(Fa),this.cdRef=_(kt),this.destroyRef=_(xi),this.result="",this.translate.onLangChange.pipe(cc(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 lc(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=ua({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||{}),sl=function(e){return e.ALL="all",e.CURRENT="current",e.FUTURE="future",e}(sl||{}),Ele=function(e){return e.VITALINK="vitalink",e.RSB="rsb",e.RSW="rsw",e}(Ele||{}),ja=function(e){return e.LIST="list",e.DAY="day",e.WEEK="week",e}(ja||{});function tu(e,t){return!lo(e,t)}function aOe(e,t){return!Tl(e,t)}function iOe(e,t){let n=[],a=e;for(;!Tl(a,t);)n.push(a),a=Ct(Ki(a,1));return n}function ih(e){switch(e){case ea.MONDAY:return 1;case ea.TUESDAY:return 2;case ea.WEDNESDAY:return 3;case ea.THURSDAY:return 4;case ea.FRIDAY:return 5;case ea.SATURDAY:return 6;case ea.SUNDAY:return 7;default:return}}var kle="minutes",gi="hours",vi="days",si="weeks",li="months",zr="years",nOe=new Map([[ee.UH,{number:30,unit:kle}],[ee.U,{number:1,unit:gi}],[ee.UT,{number:2,unit:gi}],[ee.UD,{number:3,unit:gi}],[ee.UV,{number:4,unit:gi}],[ee.UQ,{number:5,unit:gi}],[ee.UZ,{number:6,unit:gi}],[ee.US,{number:7,unit:gi}],[ee.UA,{number:8,unit:gi}],[ee.UN,{number:9,unit:gi}],[ee.UX,{number:10,unit:gi}],[ee.UE,{number:11,unit:gi}],[ee.UW,{number:12,unit:gi}],[ee.D,{number:1,unit:vi}],[ee.DT,{number:2,unit:vi}],[ee.O1,{number:2,unit:vi}],[ee.DD,{number:3,unit:vi}],[ee.DV,{number:4,unit:vi}],[ee.DQ,{number:5,unit:vi}],[ee.DZ,{number:6,unit:vi}],[ee.DA,{number:8,unit:vi}],[ee.DN,{number:9,unit:vi}],[ee.DX,{number:10,unit:vi}],[ee.DE,{number:11,unit:vi}],[ee.DW,{number:12,unit:vi}],[ee.WT,{number:2,unit:si}],[ee.WD,{number:3,unit:si}],[ee.WV,{number:4,unit:si}],[ee.WQ,{number:5,unit:si}],[ee.WZ,{number:6,unit:si}],[ee.WS,{number:7,unit:si}],[ee.WA,{number:8,unit:si}],[ee.WN,{number:9,unit:si}],[ee.WX,{number:10,unit:si}],[ee.WE,{number:11,unit:si}],[ee.WW,{number:12,unit:si}],[ee.WP,{number:24,unit:si}],[ee.W,{number:1,unit:si}],[ee.M,{number:1,unit:li}],[ee.MT,{number:2,unit:li}],[ee.MD,{number:3,unit:li}],[ee.MV,{number:4,unit:li}],[ee.MQ,{number:5,unit:li}],[ee.MZ2,{number:6,unit:li}],[ee.MS,{number:7,unit:li}],[ee.MA,{number:8,unit:li}],[ee.MN,{number:9,unit:li}],[ee.MX,{number:10,unit:li}],[ee.ME,{number:11,unit:li}],[ee.MC,{number:18,unit:li}],[ee.JH2,{number:6,unit:li}],[ee.J,{number:1,unit:zr}],[ee.JT,{number:2,unit:zr}],[ee.JD,{number:3,unit:zr}],[ee.JV,{number:4,unit:zr}],[ee.JQ,{number:5,unit:zr}],[ee.JZ,{number:6,unit:zr}]]);function rOe(e,t,n){var i;let a=nOe.get((i=t.frequency)==null?void 0:i.periodicity);switch(a==null?void 0:a.unit){case kle:case gi:return!0;case vi:return oOe(e,t,a,n);case si:return sOe(e,t,a,n);case li:return lOe(e,t,a,n);case zr:return cOe(e,t,a,n);default:return!1}}function oOe(e,t,n,a){var d;let i=Ct(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 sOe(e,t,n,a){var r,s,l;let i=Ct(new Date(t.treatmentStartDate));if((s=(r=e.day)==null?void 0:r.weekday)!=null&&s.day)return kCe(i,a)%n.number===0&&_r(a)===ih(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 lOe(e,t,n,a){var s,l;let i;(s=e.day)!=null&&s.date?i=Ct(new Date(e.day.date)):(l=e.day)!=null&&l.dayNumber?i=Ct(Ki(new Date(t.treatmentStartDate),e.day.dayNumber-1)):i=Ct(new Date(t.treatmentStartDate));let r=ECe(i,a);return n.number>1?r%n.number===0&&Vo(a.getDate(),i.getDate()):Vo(a.getDate(),i.getDate())}function cOe(e,t,n,a){var s;let i=(s=e.day)!=null&&s.date?Ct(new Date(e.day.date)):Ct(new Date(t.treatmentStartDate)),r=CCe(i,a);return n.number>1?r%n.number===0&&Dy(a,i):Dy(a,i)}function Dy(e,t){return e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}var dOe=[ee.M,ee.MT,ee.MD,ee.MV,ee.MQ,ee.MZ2,ee.MS,ee.MA,ee.MN,ee.MX,ee.ME,ee.MC];function gp(e){return dOe.includes(e)}var uOe=[ee.J,ee.JH2,ee.JT,ee.JD,ee.JV,ee.JQ,ee.JZ];function vp(e){return uOe.includes(e)}function hOe(e,t){return tu(t,Ct(new Date(e.treatmentStartDate)))&&(!e.treatmentEndDate||aOe(t,eh(new Date(e.treatmentEndDate))))}function Cle(e,t){var n;return(n=e.suspensions)!=null&&n.length?e.suspensions.some(a=>a.startDate&&a.endDate?a0(t,{start:Ct(new Date(a.startDate)),end:eh(new Date(a.endDate))}):tu(t,Ct(new Date(a.startDate)))):!1}function pOe(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=>a0(t,{start:Ct(new Date(i.startDate)),end:eh(new Date(i.endDate))})):!1}function Sle(e,t,n){var a,i,r,s,l,c,d;return(a=t.frequency)!=null&&a.periodicity?rOe(e,t,n):(i=e.day)!=null&&i.date?Vo(n,Ct(new Date(e.day.date))):(r=e.day)!=null&&r.dayNumber?Vo(n,Ct(Ki(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?th(n)===e.day.weekday.weekNumber&&(ih(e.day.weekday.day)||1)===_r(n):Vo(n,Dle(e,t)):!!(t.treatmentStartDate&&Vo(n,Ct(new Date(t.treatmentStartDate))))}function mOe(e,t){var n,a;return(a=(n=e.day)==null?void 0:n.weekday)!=null&&a.weekNumber?fOe(e,t):Dle(e,t)}function fOe(e,t){let n=new Date(t.treatmentStartDate),a=th(n),i=Ct(Ki(Qg(so(n),e.day.weekday.weekNumber-a),(ih(e.day.weekday.day)||1)-1));return lo(i,n)?vCe(i,1):i}function Dle(e,t){var i,r;let n=ih((r=(i=e.day)==null?void 0:i.weekday)==null?void 0:r.day)||0,a=_r(new Date(t.treatmentStartDate));return Ct(Ki(new Date(t.treatmentStartDate),(n-a+7)%7))}function Ile(e,t){let n=e.treatmentEndDate?new Date(e.treatmentEndDate):null,a=gOe(e,t);return n&&a?bCe([n,a]):n||a}function gOe(e,t){var a;if(!((a=e.suspensions)!=null&&a.length))return null;let n=e.suspensions.filter(i=>vOe(i,t)).map(i=>i0(new Date(i.startDate)));return _Ce(t,n)}function vOe(e,t){return e.startDate&&tu(new Date(e.startDate),t)||lo(new Date(e.startDate),t)&&tu(new Date(e.endDate),t)}function Tle(e,t,n){let a=new Date(t.treatmentStartDate);if(!n||lo(n,a))return n;let i,r=n;for(;!i&&!lo(r,a);)Sle(e,t,r)?i=r:r=i0(r);return r}function bOe(e,t){let n=Object.values(gt),a=i=>lc(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 yOe(e,t,n="asc"){let a=i=>lc(i.name,t)||"";return[...e||[]].sort((i,r)=>a(i).localeCompare(a(r),void 0,{sensitivity:"base"})*(n==="asc"?1:-1))}function _Oe(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 Iy(e,t){return hOe(e.medication,t)&&!Cle(e.medication,t)&&Sle(e.posology,e.medication,t)}function xOe(e){return e.filter(t=>Ole(t))}function Ole(e){let t=Ct(new Date),n=e.treatmentEndDate;return e.treatmentStartDate&&Tl(new Date(e.treatmentStartDate).setHours(0),t)?!1:!Cle(e,t)&&(!n||Tl(new Date(n),t))}function wOe(e){return e.filter(t=>nh(t))}function nh(e){let t=Ct(new Date);return e.treatmentStartDate&&Tl(new Date(e.treatmentStartDate).setHours(0),t)?!0:e.treatmentStartDate&&pOe(e,t)}function EOe(e){return e.filter(t=>Ole(t)||nh(t))}function Ale(e,t,n){if(!(e!=null&&e.length))return!1;let a=new RegExp(`^medications\\[${t}]`);return e.some(i=>a.test(i.field)?n?i.field.includes(`.${n}`):!0:!1)}var kOe=(()=>{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=ua({name:"filterMedicationByDayPart",type:t,pure:!0});let e=t;return e})(),COe=(()=>{const t=class t{transform(a,i){switch(i){case"current":return xOe(a);case"future":return wOe(a);case"all":default:return EOe(a)}}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=ua({name:"filterMedicationTo",type:t,pure:!0});let e=t;return e})(),Rle=(()=>{const t=class t{transform(a){return nh(a)}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=ua({name:"isFutureMedication",type:t,pure:!0});let e=t;return e})(),SOe=(()=>{const t=class t{transform(a,i){let r=Ile(a.medication,i),s=Tle(a.posology,a.medication,r);return PC(Ct(s),Ct(i))}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=ua({name:"isLastIngestionDay",type:t,pure:!0});let e=t;return e})(),DOe=(()=>{const t=class t{transform(a,i,r){let s=Ile(a.medication,i),l=Tle(a.posology,a.medication,s);return a0(l,{start:Ct(i),end:eh(r)})?{lastDay:s,lastIngestionDay:l}:null}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=ua({name:"lastIngestionPeriod",type:t,pure:!0});let e=t;return e})(),IOe=(()=>{const t=class t{constructor(){this.translate=_(Fa),this.cdRef=_(kt),this.destroyRef=_(xi),this.result="",this.translate.onLangChange.pipe(cc(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=ua({name:"posologyDayTime",type:t,pure:!1});let e=t;return e})(),TOe=(()=>{const t=class t{constructor(){this.translate=_(Fa),this.cdRef=_(kt),this.destroyRef=_(xi),this.result="",this.translate.onLangChange.pipe(cc(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&&!gp(i)&&!vp(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&&!gp(i)&&!vp(i))return[this.translate.instant("commons.posology.day"),a.day.dayNumber.toString()];if(gp(i))return((c=a.day)==null?void 0:c.date)!=null?[this.translate.instant("commons.posology.day"),Zc(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"),Zc(r).toString()];if(vp(i)){let p=[this.translate.instant("commons.posology.on")];return(u=a.day)!=null&&u.date?p.push(Zc(new Date(a.day.date))+"/"+(wy(a.day.date)+1)):p.push(Zc(r)+"/"+(wy(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(Fo(new Date(a.day.date),"dd-MM-yyyy")):((c=a.day)==null?void 0:c.weekday)!=null?s.push(Fo(mOe(a,i),"dd-MM-yyyy")):((d=a.day)==null?void 0:d.dayNumber)!=null?s.push(Fo(Ki(r,a.day.dayNumber-1),"dd-MM-yyyy")):s.push(Fo(r,"dd-MM-yyyy")),s}getPosologyDayTimeTranslation(a){var i,r,s;return a&&((i=a.daytime)!=null&&i.dayPeriod)&&Object.values(Qt).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=ua({name:"posologySpecification",type:t,pure:!1});let e=t;return e})(),OOe=(()=>{const t=class t{transform(a,i){var r,s;return((s=(r=a.suspensions)==null?void 0:r.filter(l=>lo(i,Ct(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=gy(new Date(i.startDate),a),l=gy(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=ua({name:"suspensionType",type:t,pure:!0});let e=t;return e})(),l0=(()=>{const t=class t{transform(a,i,r){return Ale(a,i,r)}};t.ɵfac=function(a){return new(a||t)},t.ɵpipe=ua({name:"hasMedicationError",type:t,pure:!0});let e=t;return e})(),Mle=e=>({posology:e}),AOe=e=>({count:e});function ROe(e,t){e&1&&(D(0,"span",1),F(1),O(2,"translate"),T()),e&2&&(C(),te("",P(2,1,"medicationSchemeListView.remarks.ifneeded"),":"))}function MOe(e,t){if(e&1&&(D(0,"li"),Ca(1,2),T()),e&2){let n=t.$implicit;L(3);let a=Ya(3);C(),N("ngTemplateOutlet",a)("ngTemplateOutletContext",ii(2,Mle,n))}}function POe(e,t){if(e&1&&(D(0,"ul"),Ga(1,MOe,2,4,"li",null,Ni),T()),e&2){let n=L(2);C(),$a(n.medication().posology)}}function NOe(e,t){if(e&1&&Ca(0,2),e&2){let n=L(2),a=Ya(3);N("ngTemplateOutlet",a)("ngTemplateOutletContext",ii(2,Mle,n.medication().posology[0]))}}function LOe(e,t){if(e&1&&V(0,ROe,3,3,"span",1)(1,POe,3,0,"ul")(2,NOe,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 FOe(e,t){e&1&&(F(0),O(1,"translate")),e&2&&te(" ",P(1,1,"medicationSchemeListView.notSpecified"),`
61
61
  `)}function VOe(e,t){e&1&&(D(0,"span"),F(1),T()),e&2&&(C(),te(" ",t,""))}function zOe(e,t){if(e&1&&(D(0,"span"),F(1),O(2,"translate"),T(),V(3,VOe,2,1,"span"),O(4,"posologySpecification")),e&2){let n,a=L(2).posology,i=L();C(),te(" ",wt(2,2,"commons.administrationUnits."+a.quantity.unit,ii(8,AOe,a.quantity.value)),""),C(2),U((n=wt(4,5,a,i.medication()))?3:-1,n)}}function BOe(e,t){if(e&1&&(D(0,"span"),F(1),O(2,"quantity"),T(),V(3,zOe,5,10)),e&2){let n=L().posology;C(),Re(P(2,2,n.quantity.value)),C(2),U(n.quantity.unit?3:-1)}}function jOe(e,t){if(e&1&&(D(0,"span",3),O(1,"getLangForAttrLang"),O(2,"canTranslateForAttr"),F(3),T()),e&2){let n=L();N("lang",P(1,3,n.lang)),be("translate",P(2,5,n.lang)),C(3),te("  ",t," ")}}function HOe(e,t){if(e&1&&(D(0,"span",3),O(1,"getLangForAttrLang"),O(2,"canTranslateForAttr"),F(3),T(),V(4,jOe,4,7,"span",3),O(5,"posologySpecification")),e&2){let n,a=t,i=L().posology,r=L();N("lang",P(1,4,a.lang)),be("translate",P(2,6,a.lang)),C(3),te(" ",a.value," "),C(),U((n=wt(5,8,i,r.medication()))?4:-1,n)}}function UOe(e,t){if(e&1&&(D(0,"div"),V(1,BOe,4,4)(2,HOe,6,11),O(3,"translateObject"),T()),e&2){let n,a=t.posology;C(),U(a.quantity?1:-1),C(),U((n=P(3,2,a.text))?2:-1,n)}}var WOe=(()=>{const t=class t{constructor(){this.medication=ne.required(),this.temporalities=Ai}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({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&&V(0,LOe,3,2)(1,FOe,2,3)(2,UOe,4,4,"ng-template",null,0,Fd),a&2){let r;U((r=i.medication().posology)!=null&&r.length?0:1)}},dependencies:[St,s0,TOe,XTe,KTe,QTe,dg],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})();r_(hue());var Qc;function qOe(){if(Qc===void 0&&(Qc=null,typeof window<"u")){let e=window;e.trustedTypes!==void 0&&(Qc=e.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return Qc}function Ys(e){var t;return((t=qOe())==null?void 0:t.createHTML(e))||e}function Ty(e){return Error(`Unable to find icon with the name "${e}"`)}function GOe(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function Oy(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 Nr=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}},$Oe=(()=>{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 Nr(r,null,s))}addSvgIconResolver(a){return this._resolvers.push(a),this}addSvgIconLiteralInNamespace(a,i,r,s){let l=this._sanitizer.sanitize(di.HTML,r);if(!l)throw Ay(r);let c=Ys(l);return this._addSvgIconConfig(a,i,new Nr("",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 Nr(i,null,r))}addSvgIconSetLiteralInNamespace(a,i,r){let s=this._sanitizer.sanitize(di.HTML,i);if(!s)throw Ay(i);let l=Ys(s);return this._addSvgIconSetConfig(a,new Nr("",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(di.RESOURCE_URL,a);if(!i)throw Oy(a);let r=this._cachedIconsByUrl.get(i);return r?vt(Xc(r)):this._loadSvgIconFromConfig(new Nr(a,null)).pipe(nd(s=>this._cachedIconsByUrl.set(i,s)),It(s=>Xc(s)))}getNamedSvgIcon(a,i=""){let r=Ry(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):nhe(Ty(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(a){return a.svgText?vt(Xc(this._svgElementFromConfig(a))):this._loadSvgIconFromConfig(a).pipe(It(i=>Xc(i)))}_getSvgFromIconSetConfigs(a,i){let r=this._extractIconWithNameFromAnySet(a,i);if(r)return vt(r);let s=i.filter(l=>!l.svgText).map(l=>this._loadSvgIconSetFromConfig(l).pipe(Q_(c=>{let d=`Loading icon set URL: ${this._sanitizer.sanitize(di.RESOURCE_URL,l.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(d)),vt(null)})));return lf(s).pipe(It(()=>{let l=this._extractIconWithNameFromAnySet(a,i);if(!l)throw Ty(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(nd(i=>a.svgText=i),It(()=>this._svgElementFromConfig(a)))}_loadSvgIconSetFromConfig(a){return a.svgText?vt(null):this._fetchIcon(a).pipe(nd(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(Ys("<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(Ys("<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 GOe();if(i==null)throw Error(`Cannot fetch icon from URL "${i}".`);let l=this._sanitizer.sanitize(di.RESOURCE_URL,i);if(!l)throw Oy(i);let c=this._inProgressUrlFetches.get(l);if(c)return c;let d=this._httpClient.get(l,{responseType:"text",withCredentials:s}).pipe(It(u=>Ys(u)),J_(()=>this._inProgressUrlFetches.delete(l)),e1());return this._inProgressUrlFetches.set(l,d),d}_addSvgIconConfig(a,i,r){return this._svgIconConfigs.set(Ry(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 YOe(s)?new Nr(s.url,null,s.options):new Nr(s,null)}}};o(t,"ɵfac",function(a){return new(a||t)(Ce(nc,8),Ce(Uk),Ce(it,8),Ce(Yi))}),o(t,"ɵprov",Z({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})();function Xc(e){return e.cloneNode(!0)}function Ry(e,t){return e+":"+t}function YOe(e){return!!(e.url&&e.options)}var ZOe=["*"],KOe=new Y("MAT_ICON_DEFAULT_OPTIONS"),QOe=new Y("mat-icon-location",{providedIn:"root",factory:XOe});function XOe(){let e=_(it),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}var Ple=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],JOe=Ple.map(e=>`[${e}]`).join(", "),eAe=/^url\(['"]?#(.*?)['"]?\)$/,Vi=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Oe));o(this,"_iconRegistry",_($Oe));o(this,"_location",_(QOe));o(this,"_errorHandler",_(Yi));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=_(KOe,{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(JOe),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let s=0;s<i.length;s++)Ple.forEach(l=>{let c=i[s],d=c.getAttribute(l),u=d?d.match(eAe):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",X({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(a,i){a&2&&(be("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:""),we("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:ZOe,decls:1,vars:0,template:function(a,i){a&1&&(st(),ke(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
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),_o=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",bt({imports:[Vt,Vt]}));let e=t;return e})(),Nle=(()=>{const t=class t{constructor(){this.message=ne.required(),this.fontIcon=ne("info"),this.translateParams=ne({})}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({type:t,selectors:[["vidis-error-display"]],inputs:{message:[1,"message"],fontIcon:[1,"fontIcon"],translateParams:[1,"translateParams"]},decls:3,vars:5,consts:[[3,"fontIcon"]],template:function(a,i){a&1&&(H(0,"mat-icon",0),F(1),O(2,"translate")),a&2&&(N("fontIcon",i.fontIcon()),C(),te(" ",wt(2,2,"commons.errors."+i.message(),i.translateParams())," "))},dependencies:[Vi,St],styles:["[_nghost-%COMP%]{display:flex;align-items:center;background:#c41c0d0d;color:#c41c0d;font-weight:700;padding:16px}mat-icon[_ngcontent-%COMP%]{flex-shrink:0;font-size:20px;width:20px;height:20px;line-height:1;margin-right:6px}mat-icon[_ngcontent-%COMP%]{--mat-icon-color: #c41c0d}"]});let e=t;return e})(),tAe=(()=>{const t=class t{};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({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&&(D(0,"h2",0),F(1),O(2,"translate"),T(),D(3,"mat-dialog-content")(4,"p")(5,"span"),F(6),O(7,"translate"),T()(),D(8,"p")(9,"span"),F(10),O(11,"translate"),T(),D(12,"a",1),O(13,"translate"),F(14),O(15,"translate"),T(),F(16,"."),T()(),D(17,"mat-dialog-actions")(18,"button",2),F(19),O(20,"translate"),T(),D(21,"button",3),F(22),O(23,"translate"),T()()),a&2&&(C(),Re(P(2,9,"commons.errors.report-message-title")),C(5),Re(P(7,11,"commons.errors.report-message-explanation")),C(4),Re(P(11,13,"commons.errors.report-message-content")),C(2),N("href",P(13,15,"commons.errors.report-message-link"),jf),C(2),Re(P(15,17,"commons.errors.report-message-term-use")),C(4),N("mat-dialog-close",!0),C(),te(" ",P(20,19,"commons.errors.report-message-report-button")," "),C(2),N("mat-dialog-close",!1),C(),te(" ",P(23,21,"commons.errors.report-message-ignore-button")," "))},dependencies:[oC,Zu,Ku,Xu,Qu,Ka,Xn,St],encapsulation:2});let e=t;return e})(),aAe=(()=>{const t=class t{constructor(){this.vidisErrorCode=_(Bg)}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({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&&(D(0,"h2",0),F(1),O(2,"translate"),T(),D(3,"mat-dialog-content")(4,"p")(5,"span"),F(6),O(7,"translate"),T()()(),D(8,"mat-dialog-actions")(9,"button",1),F(10),O(11,"translate"),T()()),a&2&&(C(),Re(P(2,4,"commons.errors.action-not-authorized-title")),C(5),Re(P(7,6,"commons.errors."+i.vidisErrorCode)),C(3),N("mat-dialog-close",!1),C(),te(" ",P(11,8,"commons.errors.action-not-authorized-close-button")," "))},dependencies:[oC,Zu,Ku,Xu,Qu,Ka,Xn,St],encapsulation:2});let e=t;return e})();function My(e,t,n){let a=BC(),i=rAe(e,n.timeZone,n.locale??a.locale);return"formatToParts"in i?iAe(i,t):nAe(i,t)}function iAe(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 nAe(e,t){let n=e.format(t).replace(/\u200E/g,""),a=/ [\w-+ ]+$/.exec(n);return a?a[0].substr(1):""}function rAe(e,t,n){return new Intl.DateTimeFormat(n?[n.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}function oAe(e,t){let n=uAe(t);return"formatToParts"in n?lAe(n,e):cAe(n,e)}var sAe={year:0,month:1,day:2,hour:3,minute:4,second:5};function lAe(e,t){try{let n=e.formatToParts(t),a=[];for(let i=0;i<n.length;i++){let r=sAe[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 cAe(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")),dAe=Py==="06/25/2014, 00:00:00"||Py==="‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";function uAe(e){return bp[e]||(bp[e]=dAe?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 Lle(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 Ny=36e5,hAe=6e4,yp={timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function Fle(e,t,n){if(!e)return 0;let a=yp.timezoneZ.exec(e);if(a)return 0;let i,r;if(a=yp.timezoneHH.exec(e),a)return i=parseInt(a[1],10),Ly(i)?-(i*Ny):NaN;if(a=yp.timezoneHHMM.exec(e),a){i=parseInt(a[2],10);let s=parseInt(a[3],10);return Ly(i,s)?(r=Math.abs(i)*Ny+s*hAe,a[1]==="+"?-r:r):NaN}if(fAe(e)){t=new Date(t||Date.now());let s=n?t:pAe(t),l=jm(s,e);return-(n?l:mAe(t,l,e))}return NaN}function pAe(e){return Lle(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function jm(e,t){let n=oAe(e,t),a=Lle(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 mAe(e,t,n){let a=e.getTime()-t,i=jm(new Date(a),n);if(t===i)return t;a-=i-t;let r=jm(new Date(a),n);return i===r?i:Math.max(i,r)}function Ly(e,t){return-23<=e&&e<=23&&(t==null||0<=t&&t<=59)}var Fy={};function fAe(e){if(Fy[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),Fy[e]=!0,!0}catch{return!1}}var gAe=60*1e3,vAe={X:function(e,t,n){let a=_p(n.timeZone,e);if(a===0)return"Z";switch(t){case"X":return Vy(a);case"XXXX":case"XX":return Ro(a);case"XXXXX":case"XXX":default:return Ro(a,":")}},x:function(e,t,n){let a=_p(n.timeZone,e);switch(t){case"x":return Vy(a);case"xxxx":case"xx":return Ro(a);case"xxxxx":case"xxx":default:return Ro(a,":")}},O:function(e,t,n){let a=_p(n.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+bAe(a,":");case"OOOO":default:return"GMT"+Ro(a,":")}},z:function(e,t,n){switch(t){case"z":case"zz":case"zzz":return My("short",e,n);case"zzzz":default:return My("long",e,n)}}};function _p(e,t){let n=e?Fle(e,t,!0)/gAe:(t==null?void 0:t.getTimezoneOffset())??0;if(Number.isNaN(n))throw new RangeError("Invalid time zone specified: "+e);return n}function au(e,t){let n=e<0?"-":"",a=Math.abs(e).toString();for(;a.length<t;)a="0"+a;return n+a}function Ro(e,t=""){let n=e>0?"-":"+",a=Math.abs(e),i=au(Math.floor(a/60),2),r=au(Math.floor(a%60),2);return n+i+t+r}function Vy(e,t){return e%60===0?(e>0?"-":"+")+au(Math.abs(e)/60,2):Ro(e,t)}function bAe(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+au(r,2)}function zy(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 yAe=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,xp=36e5,By=6e4,_Ae=2,Ja={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:yAe};function xAe(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?_Ae: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=wAe(e),{year:i,restDateString:r}=EAe(a.date,n),s=kAe(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=CAe(a.time),c===null||isNaN(c)))return new Date(NaN);if(a.timeZone||t.timeZone){if(d=Fle(a.timeZone||t.timeZone,new Date(l+c)),isNaN(d))return new Date(NaN)}else d=zy(new Date(l+c)),d=zy(new Date(l+c+d));return new Date(l+c+d)}else return new Date(NaN)}function wAe(e){let t={},n=Ja.dateTimePattern.exec(e),a;if(n?(t.date=n[1],a=n[3]):(n=Ja.datePattern.exec(e),n?(t.date=n[1],a=n[2]):(t.date=null,a=e)),a){let i=Ja.timeZone.exec(a);i?(t.time=a.replace(i[1],""),t.timeZone=i[1].trim()):t.time=a}return t}function EAe(e,t){if(e){let n=Ja.YYY[t],a=Ja.YYYYY[t],i=Ja.YYYY.exec(e)||a.exec(e);if(i){let r=i[1];return{year:parseInt(r,10),restDateString:e.slice(r.length)}}if(i=Ja.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 kAe(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=Ja.MM.exec(e);if(r)return n=new Date(0),a=parseInt(r[1],10)-1,Hy(t,a)?(n.setUTCFullYear(t,a),n):new Date(NaN);if(r=Ja.DDD.exec(e),r){n=new Date(0);let s=parseInt(r[1],10);return IAe(t,s)?(n.setUTCFullYear(t,0,s),n):new Date(NaN)}if(r=Ja.MMDD.exec(e),r){n=new Date(0),a=parseInt(r[1],10)-1;let s=parseInt(r[2],10);return Hy(t,a,s)?(n.setUTCFullYear(t,a,s),n):new Date(NaN)}if(r=Ja.Www.exec(e),r)return i=parseInt(r[1],10)-1,Uy(i)?jy(t,i):new Date(NaN);if(r=Ja.WwwD.exec(e),r){i=parseInt(r[1],10)-1;let s=parseInt(r[2],10)-1;return Uy(i,s)?jy(t,i,s):new Date(NaN)}return null}function CAe(e){let t,n,a=Ja.HH.exec(e);if(a)return t=parseFloat(a[1].replace(",",".")),wp(t)?t%24*xp:NaN;if(a=Ja.HHMM.exec(e),a)return t=parseInt(a[1],10),n=parseFloat(a[2].replace(",",".")),wp(t,n)?t%24*xp+n*By:NaN;if(a=Ja.HHMMSS.exec(e),a){t=parseInt(a[1],10),n=parseInt(a[2],10);let i=parseFloat(a[3].replace(",","."));return wp(t,n,i)?t%24*xp+n*By+i*1e3:NaN}return null}function jy(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 SAe=[31,28,31,30,31,30,31,31,30,31,30,31],DAe=[31,29,31,30,31,30,31,31,30,31,30,31];function Vle(e){return e%400===0||e%4===0&&e%100!==0}function Hy(e,t,n){if(t<0||t>11)return!1;if(n!=null){if(n<1)return!1;let a=Vle(e);if(a&&n>DAe[t]||!a&&n>SAe[t])return!1}return!0}function IAe(e,t){if(t<1)return!1;let n=Vle(e);return!(n&&t>366||!n&&t>365)}function Uy(e,t){return!(e<0||e>52||t!=null&&(t<0||t>6))}function wp(e,t,n){return!(e<0||e>=25||t!=null&&(t<0||t>=60)||n!=null&&(n<0||n>=60))}var TAe=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function OAe(e,t,n={}){t=String(t);let a=t.match(TAe);if(a){let i=xAe(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,"'"+vAe[s[0]](i,s,n)+"'");return c?d.substring(0,l-1)+d.substring(l+1):d},t)}return Fo(e,t,n)}var AAe=(()=>{const t=class t{reportError(a){return vt({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})(),RAe=(()=>{const t=class t{constructor(){this.http=_(nc),this.authService=_(Ol).getInstance(),this.apiUrl=_(Rs).getEnvironmentVariable("apiUrl")}reportError(a){return this.http.post(`${this.apiUrl}/v2/report/error`,a,{headers:{[Yo.userType]:qr.getUserType({isProfessional:this.authService.isProfessional}),[Yo.clientType]:YC()?qr.clientType.mobileApp:qr.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})(),MAe=(()=>{const t=class t{constructor(){this.config=_(Rs),this.injector=_(ut),this._instance=null}getInstance(){if(!this._instance){let a=this.config.getEnvironmentVariable("env")==="demo";this._instance=a?this.injector.get(AAe):this.injector.get(RAe)}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})(),PAe=(()=>{const t=class t extends C2e{constructor(){super(...arguments),this.version=Vm,this.authServiceSelector=_(Ol),this.translateService=_(Fa),this.webComponentConfig=_(Rs),this.injector=_(ut),this.servicesStore=_(ah),this.matDialog=_(As),this.destroyRef=_(xi),this.errorServiceSelector=_(MAe),this.snackbarService=_(eDe),this.extraRequiredFields=["offlineDataStorageEnabled","isOfflineAuthenticated","professional","ssin"]}onInitialized(){return va(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=>va(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)===Bn.NOT_AUTHORIZED?this.showNotAuthorizedErrorPopup(a.code):(a==null?void 0:a.group)===Bn.OTHER&&this.showTechnicalErrorPopup(a)}showTechnicalErrorPopup(a){this.matDialog.open(tAe,{data:{error:a}}).beforeClosed().pipe(sa(i=>i),cc(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(aAe,{data:a})}formatDateWithZone(){return OAe(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=X({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 NAe(e,t){if(e&1&&(D(0,"mat-option",4),F(1),O(2,"translate"),T()),e&2){let n=t.$implicit;N("value",n),C(),Re(P(2,2,"commons.sortDropdown."+n))}}function LAe(e,t){if(e&1){let n=Et();D(0,"button",6),O(1,"translate"),xe("click",function(){Se(n);let a=L();return De(a.emitNewData({sort:a.sortData().sort,order:a.sortDirection.descending}))}),H(2,"mat-icon",7),T()}if(e&2){let n=L();N("disabled",n.disabled()),be("aria-label",P(1,2,"commons.sortDropdown.sorting-ascendant"))}}function FAe(e,t){if(e&1){let n=Et();D(0,"button",6),O(1,"translate"),xe("click",function(){Se(n);let a=L();return De(a.emitNewData({sort:a.sortData().sort,order:a.sortDirection.ascending}))}),H(2,"mat-icon",8),T()}if(e&2){let n=L();N("disabled",n.disabled()),be("aria-label",P(1,2,"commons.sortDropdown.sorting-descendent"))}}var VAe=(()=>{const t=class t{constructor(){this.sortData=Es.required(),this.sortItems=ne.required(),this.disabled=ne(!1),this.sortDirection=r0}emitNewData(a){this.sortData.set(a)}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({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&&(D(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})}),Ga(4,NAe,3,4,"mat-option",4,Ni),T()()(),V(6,LAe,3,4,"button",5)(7,FAe,3,4,"button",5),T()),a&2&&(C(3),N("value",i.sortData().sort)("disabled",i.disabled()),C(),$a(i.sortItems()),C(2),U(i.sortData().order===i.sortDirection.ascending?6:7))},dependencies:[Vi,Ka,ec,Sl,pk,fEe,mEe,Xk,St],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})(),zAe=["*"];function BAe(e,t){e&1&&Ca(0)}function jAe(e,t){if(e&1&&(D(0,"div",3),V(1,BAe,1,0,"ng-container",5),T()),e&2){L();let n=Ya(5);C(),N("ngTemplateOutlet",n)}}function HAe(e,t){e&1&&Ca(0)}function UAe(e,t){if(e&1){let n=Et();D(0,"div",6),xe("click",function(){Se(n);let a=L();return De(a.toggleExpanded())})("keydown.enter",function(){Se(n);let a=L();return De(a.toggleExpanded())})("keydown.space",function(){Se(n);let a=L();return De(a.toggleExpanded())}),V(1,HAe,1,0,"ng-container",5),T()}if(e&2){let n=L(),a=Ya(5);be("aria-label",n.currentExpandIconAriaLabel()),C(),N("ngTemplateOutlet",a)}}function WAe(e,t){e&1&&Ca(0)}function qAe(e,t){if(e&1&&V(0,WAe,1,0,"ng-container",5),e&2){L();let n=Ya(7);N("ngTemplateOutlet",n)}}function GAe(e,t){if(e&1&&(D(0,"h2"),F(1),T()),e&2){let n=L(3);C(),Re(n.alertTitle())}}function $Ae(e,t){if(e&1&&(D(0,"p"),F(1),T()),e&2){let n=L(3);C(),Re(n.alertSubtitle())}}function YAe(e,t){if(e&1&&(D(0,"div"),V(1,GAe,2,1,"h2")(2,$Ae,2,1,"p"),T()),e&2){let n=L(2);C(),U(n.alertTitle()?1:-1),C(),U(n.alertSubtitle()?2:-1)}}function ZAe(e,t){e&1&&Ca(0)}function KAe(e,t){if(e&1&&V(0,ZAe,1,0,"ng-container",5),e&2){L(2);let n=Ya(7);N("ngTemplateOutlet",n)}}function QAe(e,t){if(e&1){let n=Et();D(0,"mat-icon",11),xe("click",function(){Se(n);let a=L(2);return De(a.onCloseButtonClick())})("keydown.enter",function(){Se(n);let a=L(2);return De(a.onCloseButtonClick())})("keydown.space",function(){Se(n);let a=L(2);return De(a.onCloseButtonClick())}),T()}if(e&2){let n=L(2);be("aria-label",n.closeButtonAriaLabel())}}function XAe(e,t){if(e&1&&H(0,"mat-icon",10),e&2){let n=L(2);N("fontIcon",n.expanded()?"keyboard_arrow_up":"keyboard_arrow_down")}}function JAe(e,t){if(e&1&&(H(0,"mat-icon",7),D(1,"div",8),V(2,YAe,3,2,"div")(3,KAe,1,1,"ng-container"),T(),V(4,QAe,1,1,"mat-icon",9)(5,XAe,1,1,"mat-icon",10)),e&2){let n=L();N("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 eRe(e,t){if(e&1){let n=Et();D(0,"button",14),xe("click",function(){Se(n);let a=L(2);return De(a.onActionButtonClicked())}),F(1),T()}if(e&2){let n=L(2);N("disabled",n.buttonDisabled()),C(),te(" ",n.buttonLabel()," ")}}function tRe(e,t){if(e&1&&(D(0,"span",12),ke(1),T(),V(2,eRe,2,2,"button",13)),e&2){let n=L();C(2),U(n.actionButton()?2:-1)}}var zle=(()=>{const t=class t{constructor(){o(this,"usage",ne("info"));o(this,"backgroundColor",ne("color"));o(this,"alertTitle",ne());o(this,"alertSubtitle",ne());o(this,"actionButton",ne(!1));o(this,"buttonDisabled",ne(!1));o(this,"buttonLabel",ne());o(this,"dismissMode",ne("pinned"));o(this,"closeButtonAriaLabel",ne(""));o(this,"startExpanded",ne(!1));o(this,"expandedButtonAriaLabel",ne(""));o(this,"collapsedButtonAriaLabel",ne(""));o(this,"closeButtonClicked",io());o(this,"actionButtonClicked",io());o(this,"expanded",mbe(()=>this.startExpanded()));o(this,"currentExpandIconAriaLabel",ta(()=>this.expanded()?this.expandedButtonAriaLabel():this.collapsedButtonAriaLabel()));o(this,"expandableExpanded",ta(()=>this.dismissMode()==="expandable"&&this.expanded()));o(this,"notExpandableMissingTitleAndSubtitle",ta(()=>this.dismissMode()!=="expandable"&&(this.alertTitle()||this.alertSubtitle())));o(this,"toggleExpanded",()=>{this.expanded.update(a=>!a)});o(this,"onActionButtonClicked",()=>{this.actionButtonClicked.emit()});o(this,"fontIcon",ta(()=>({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",X({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:zAe,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&&(st(),D(0,"div",2),V(1,jAe,2,1,"div",3)(2,UAe,2,2,"div",4)(3,qAe,1,1,"ng-container"),T(),V(4,JAe,6,3,"ng-template",null,0,Fd)(6,tRe,3,1,"ng-template",null,1,Fd)),a&2&&(Pi(i.usage()),we("white",i.backgroundColor()==="white"),C(),U(i.dismissMode()!=="expandable"?1:2),C(2),U(i.notExpandableMissingTitleAndSubtitle()||i.expandableExpanded()?3:-1))},dependencies:[ug,dg,Vi,Xn],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 aRe(e,t){if(e&1&&(D(0,"mh-alert",0),O(1,"translate"),D(2,"div",1),F(3),O(4,"translate"),T()()),e&2){let n=L();N("alertTitle",P(1,2,"commons.errors.data-not-available-title")),C(3),Re(P(4,4,"commons.errors."+n.error().code))}}var iRe=(()=>{const t=class t{constructor(){this.error=ne.required(),this.vidisErrorGroup=Bn}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({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&&V(0,aRe,5,6,"mh-alert",0),a&2&&U(i.error().group===i.vidisErrorGroup.TEMP_UNAVAILABLE?0:-1)},dependencies:[St,zle],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})(),nRe=["*"],Ble=(()=>{const t=class t{constructor(){this.item=ne.required(),this.expandedElement=Es.required()}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({type:t,selectors:[["vidis-table-detail-button"]],inputs:{item:[1,"item"],expandedElement:[1,"expandedElement"]},outputs:{expandedElement:"expandedElementChange"},ngContentSelectors:nRe,decls:3,vars:1,consts:[["mat-button","",1,"font",3,"click"],[3,"fontIcon"]],template:function(a,i){a&1&&(st(),D(0,"button",0),xe("click",function(){return i.expandedElement.set(i.expandedElement()===i.item()?null:i.item())}),H(1,"mat-icon",1),ke(2),T()),a&2&&(C(),N("fontIcon",i.item()===i.expandedElement()?"keyboard_arrow_up":"keyboard_arrow_down"))},dependencies:[Ka,Xn,Vi],styles:[".font[_ngcontent-%COMP%]{font-size:1rem}"]});let e=t;return e})();function rRe(e,t){if(e&1&&(D(0,"span"),F(1),T()),e&2){let n=L();C(),te("(",n.idNumber(),")")}}var jle=(()=>{const t=class t{constructor(){this.fullname=ne.required(),this.idNumber=ne()}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({type:t,selectors:[["vidis-person-name"]],inputs:{fullname:[1,"fullname"],idNumber:[1,"idNumber"]},decls:2,vars:2,template:function(a,i){a&1&&(F(0),V(1,rRe,2,1,"span")),a&2&&(te(" ",i.fullname()," "),C(),U(i.idNumber()?1:-1))},styles:["span[_ngcontent-%COMP%]{color:#8f8f8f}"]});let e=t;return e})(),oRe=e=>({label_error:e}),sRe=e=>({value_error:e});function lRe(e,t){e&1&&H(0,"mat-icon",3)}function cRe(e,t){if(e&1&&(D(0,"span",0)(1,"span",1),F(2),O(3,"translate"),T(),D(4,"span",2),V(5,lRe,1,0,"mat-icon",3),F(6),T()()),e&2){let n=L();C(),N("ngClass",ii(7,oRe,n.withError())),C(),te(" ",P(3,5,n.labelKey())," "),C(2),N("ngClass",ii(9,sRe,n.withError())),C(),U(n.withError()?5:-1),C(),te(" ",n.value()," ")}}var dRe=(()=>{const t=class t{constructor(){this.labelKey=ne.required(),this.value=ne.required(),this.withError=ne(!1)}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({type:t,selectors:[["vidis-detail-field"]],inputs:{labelKey:[1,"labelKey"],value:[1,"value"],withError:[1,"withError"]},decls:1,vars:1,consts:[[1,"details"],[1,"details__label",3,"ngClass"],[1,"details__value",3,"ngClass"],["fontIcon","warning"]],template:function(a,i){a&1&&V(0,cRe,7,11,"span",0),a&2&&U(i.value()?0:-1)},dependencies:[St,Vi,Ss],styles:[".details[_ngcontent-%COMP%]{display:grid}@media only screen and (min-width: 960px){.details[_ngcontent-%COMP%]{grid-template-columns:max-content auto;gap:10px 20px}}@media only screen and (max-width: 960px){.details__value[_ngcontent-%COMP%]{margin-bottom:10px}}.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;width:210px}.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}.details[_ngcontent-%COMP%] .label_error[_ngcontent-%COMP%]{border-left:4px solid #c41c0d}.details[_ngcontent-%COMP%] .value_error[_ngcontent-%COMP%]{border-left:4px solid #c41c0d;color:#c41c0d}mat-icon[_ngcontent-%COMP%]{flex-shrink:0;font-size:20px;width:20px;height:20px;line-height:1;margin-right:6px}mat-icon[_ngcontent-%COMP%]{--mat-icon-color: #c41c0d}"]});let e=t;return e})(),uRe=["*"],hRe=e=>({label_error:e}),pRe=e=>({value_error:e});function mRe(e,t){e&1&&H(0,"mat-icon",3)}var fRe=(()=>{const t=class t{constructor(){this.labelKey=ne.required(),this.withError=ne(!1)}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({type:t,selectors:[["vidis-detail-field-slot"]],inputs:{labelKey:[1,"labelKey"],withError:[1,"withError"]},ngContentSelectors:uRe,decls:7,vars:10,consts:[[1,"details"],[1,"details__label",3,"ngClass"],[1,"details__value",3,"ngClass"],["fontIcon","warning"]],template:function(a,i){a&1&&(st(),D(0,"span",0)(1,"span",1),F(2),O(3,"translate"),T(),D(4,"span",2),V(5,mRe,1,0,"mat-icon",3),ke(6),T()()),a&2&&(C(),N("ngClass",ii(6,hRe,i.withError())),C(),te(" ",P(3,4,i.labelKey())," "),C(2),N("ngClass",ii(8,pRe,i.withError())),C(),U(i.withError()?5:-1))},dependencies:[St,Vi,Ss],styles:[".details[_ngcontent-%COMP%]{display:grid}@media only screen and (min-width: 960px){.details[_ngcontent-%COMP%]{grid-template-columns:max-content auto;gap:10px 20px}}@media only screen and (max-width: 960px){.details__value[_ngcontent-%COMP%]{margin-bottom:10px}}.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;width:210px}.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;display:flex;align-items:center;gap:6px}.details[_ngcontent-%COMP%] .label_error[_ngcontent-%COMP%]{border-left:4px solid #c41c0d}.details[_ngcontent-%COMP%] .value_error[_ngcontent-%COMP%]{border-left:4px solid #c41c0d;color:#c41c0d}mat-icon[_ngcontent-%COMP%]{flex-shrink:0;font-size:20px;width:20px;height:20px;line-height:1;margin-right:6px}mat-icon[_ngcontent-%COMP%]{--mat-icon-color: #c41c0d}"]});let e=t;return e})(),gRe=e=>({prescriber:e}),vRe=e=>({count:e});function bRe(e,t){if(e&1&&(H(0,"vidis-error-display",0),O(1,"translate"),O(2,"fullname")),e&2){let n=L();N("message",P(1,2,"incorrect-elements-ms-detail"))("translateParams",ii(6,gRe,P(2,4,n.medication().author)))}}function yRe(e,t){e&1&&(H(0,"vidis-detail-field",5),O(1,"date")),e&2&&N("value",wt(1,1,t,"dd/MM/yyyy"))}function _Re(e,t){e&1&&(H(0,"vidis-detail-field",6),O(1,"date")),e&2&&N("value",wt(1,1,t,"dd/MM/yyyy"))}function xRe(e,t){if(e&1&&(H(0,"vidis-detail-field",20),O(1,"date"),O(2,"hasMedicationError")),e&2){let n=L().$index,a=L(3);N("value",wt(1,2,t,"dd/MM/yyyy"))("withError",br(2,5,a.fieldErrors(),a.medication().index,"suspensions["+n+"]"))}}function wRe(e,t){e&1&&(H(0,"vidis-detail-field",21),O(1,"date")),e&2&&N("value",wt(1,1,t,"dd/MM/yyyy"))}function ERe(e,t){e&1&&(H(0,"vidis-detail-field",22),O(1,"firstLetterUppercase")),e&2&&N("value",P(1,1,t))}function kRe(e,t){e&1&&H(0,"span",18)(1,"span",23)}function CRe(e,t){e&1&&H(0,"mat-divider")}function SRe(e,t){if(e&1&&(V(0,xRe,3,9,"vidis-detail-field",20)(1,wRe,2,4,"vidis-detail-field",21)(2,ERe,2,3,"vidis-detail-field",22),O(3,"translateValue"),V(4,kRe,2,0)(5,CRe,1,0,"mat-divider"),H(6,"br")),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=P(3,5,r.reason))?2:-1,i),C(2),U(r.type==="definitive"?4:-1),C(),U(s!==l-1?5:-1)}}function DRe(e,t){if(e&1&&(D(0,"span",18),F(1),O(2,"translate"),T(),D(3,"span",19),Ga(4,SRe,7,7,null,null,Ni),T()),e&2){let n=L();C(),Re(P(2,1,"medicationSchemeDetails.suspension.label")),C(3),$a(n)}}function IRe(e,t){e&1&&V(0,DRe,6,3),e&2&&U(t.length>0?0:-1)}function TRe(e,t){if(e&1&&(H(0,"vidis-detail-field",7),O(1,"translate"),O(2,"firstLetterUppercase"),O(3,"hasMedicationError")),e&2){let n,a=L();N("value",P(2,5,wt(1,2,"commons.administrationUnits."+((n=a.medication().posology[0].quantity)==null?null:n.unit),ii(11,vRe,a.medication().posology[0].quantity.value))))("withError",br(3,7,a.fieldErrors(),a.medication().index,"posologies"))}}function ORe(e,t){if(e&1&&(H(0,"vidis-detail-field",8),O(1,"translate"),O(2,"hasMedicationError")),e&2){let n=L();N("value",P(1,2,"commons.periodicities."+t))("withError",br(2,4,n.fieldErrors(),n.medication().index,"frequency"))}}function ARe(e,t){if(e&1&&(H(0,"vidis-detail-field",11),O(1,"translate"),O(2,"firstLetterUppercase"),O(3,"hasMedicationError")),e&2){let n=L();N("value",P(2,4,P(1,2,"commons.routes."+t)))("withError",br(3,6,n.fieldErrors(),n.medication().index,"route"))}}function RRe(e,t){if(e&1&&(H(0,"vidis-detail-field",12),O(1,"translate"),O(2,"firstLetterUppercase"),O(3,"hasMedicationError")),e&2){let n=L();N("value",P(2,4,P(1,2,"commons.temporality."+t)))("withError",br(3,6,n.fieldErrors(),n.medication().index,"temporality"))}}function MRe(e,t){e&1&&H(0,"vidis-detail-field",15),e&2&&N("value",t)}function PRe(e,t){e&1&&H(0,"vidis-detail-field",16),e&2&&N("value",t)}function NRe(e,t){if(e&1&&H(0,"vidis-detail-field",17),e&2){let n,a=L();N("value",(n=a.medication().others)==null?null:n.join(", "))("withError",!0)}}var Hle=(()=>{const t=class t{constructor(){this.medication=ne.required(),this.fieldErrors=ne(),this.temporalities=Ai}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({type:t,selectors:[["vidis-medication-scheme-details-row"]],inputs:{medication:[1,"medication"],fieldErrors:[1,"fieldErrors"]},decls:30,vars:45,consts:[["fontIcon","warning",3,"message","translateParams"],[1,"details"],["labelKey","medicationSchemeDetails.medication",3,"value"],["labelKey","medicationSchemeDetails.indication",3,"value"],["labelKey","medicationSchemeDetails.prescriber",3,"value"],["labelKey","medicationSchemeDetails.start",3,"value"],["labelKey","medicationSchemeDetails.end",3,"value"],["labelKey","medicationSchemeDetails.quantity",3,"value","withError"],["labelKey","medicationSchemeDetails.periodicity",3,"value","withError"],["labelKey","medicationSchemeDetails.posologie",3,"withError"],[3,"medication"],["labelKey","medicationSchemeDetails.route",3,"value","withError"],["labelKey","medicationSchemeDetails.temporality",3,"value","withError"],["labelKey","medicationSchemeDetails.startCondition",3,"value"],["labelKey","medicationSchemeDetails.endCondition",3,"value"],["labelKey","medicationSchemeDetails.instructions",3,"value"],["labelKey","medicationSchemeDetails.comment",3,"value"],["labelKey","medicationSchemeDetails.other",3,"value","withError"],[1,"details__label"],[1,"details__value","suspension"],["labelKey","medicationSchemeDetails.suspension.start",3,"value","withError"],["labelKey","medicationSchemeDetails.suspension.end",3,"value"],["labelKey","medicationSchemeDetails.suspension.reason",3,"value"],[1,"details__value"]],template:function(a,i){if(a&1&&(V(0,bRe,3,8,"vidis-error-display",0),O(1,"hasMedicationError"),D(2,"span",1),H(3,"vidis-detail-field",2),O(4,"translateValue"),O(5,"firstLetterUppercase"),H(6,"vidis-detail-field",3),O(7,"translateValue"),O(8,"firstLetterUppercase"),H(9,"vidis-detail-field",4),O(10,"fullname"),V(11,yRe,2,4,"vidis-detail-field",5)(12,_Re,2,4,"vidis-detail-field",6)(13,IRe,1,1),O(14,"activeAndFutureSuspensions"),V(15,TRe,4,13,"vidis-detail-field",7)(16,ORe,3,8,"vidis-detail-field",8),D(17,"vidis-detail-field-slot",9),O(18,"hasMedicationError"),H(19,"vidis-medication-scheme-posology",10),T(),V(20,ARe,4,10,"vidis-detail-field",11)(21,RRe,4,10,"vidis-detail-field",12),H(22,"vidis-detail-field",13)(23,"vidis-detail-field",14),V(24,MRe,1,1,"vidis-detail-field",15),O(25,"translateValue"),V(26,PRe,1,1,"vidis-detail-field",16),O(27,"translateValue"),V(28,NRe,1,2,"vidis-detail-field",17),O(29,"hasMedicationError"),T()),a&2){let r,s,l,c,d,u,p,v,g;U(wt(1,18,i.fieldErrors(),i.medication().index)?0:-1),C(3),N("value",P(5,23,P(4,21,i.medication().name))),C(3),N("value",P(8,27,P(7,25,i.medication().indication))),C(3),N("value",P(10,29,i.medication().author)),C(2),U((r=i.medication().treatmentStartDate)?11:-1,r),C(),U((s=i.medication().treatmentEndDate)?12:-1,s),C(),U((l=P(14,31,i.medication().suspensions))?13:-1,l),C(2),U(!((c=i.medication().posology)==null||c[0]==null||c[0].quantity==null)&&c[0].quantity.unit?15:-1),C(),U((d=(d=i.medication().frequency)==null?null:d.periodicity)?16:-1,d),C(),N("withError",br(18,33,i.fieldErrors(),i.medication().index,"posologies")),C(2),N("medication",i.medication()),C(),U((u=i.medication().route)?20:-1,u),C(),U((p=i.medication().temporality)?21:-1,p),C(),N("value",i.medication().treatmentStartCondition),C(),N("value",i.medication().treatmentEndCondition),C(),U((v=P(25,37,i.medication().instructions))?24:-1,v),C(2),U((g=P(27,39,i.medication().comment))?26:-1,g),C(2),U(br(29,41,i.fieldErrors(),i.medication().index,"others")?28:-1)}},dependencies:[Ka,qTe,St,WOe,Nle,dRe,fRe,Ds,dc,Qi,Ms,tOe,l0],styles:[".details[_ngcontent-%COMP%], .details[_ngcontent-%COMP%] .suspension[_ngcontent-%COMP%]{display:grid}@media only screen and (min-width: 960px){.details[_ngcontent-%COMP%]{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}@media only screen and (min-width: 960px){vidis-error-display[_ngcontent-%COMP%]{display:none!important}}"],changeDetection:0});let e=t;return e})(),rh=(()=>{const t=class t{setClientId(a){this.clientId=a}buildClientIdHeader(){return this.clientId&&new oo().set(Yo.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})(),Ule=(()=>{const t=class t extends rh{constructor(){super(...arguments),this.http=_(nc)}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})(),LRe={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:Di.CNK},temporality:Ai.CHRONIC,frequency:{periodicity:ee.D},route:Si._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:Kt._00005,value:1},daytime:{dayPeriod:Qt.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:ee.D},route:Si._00064,name:[{lang:h.NL,value:"Elenzom 100 ml"}],instructions:[{lang:h.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],posology:[{quantity:{unit:Kt._00016,value:10},daytime:{dayPeriod:Qt.MORNING},dayPart:gt.MORNING},{quantity:{unit:Kt._00016,value:10},daytime:{dayPeriod:Qt.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:Di.CNK},frequency:{periodicity:ee.D},route:Si._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:Kt._00003,value:1},daytime:{dayPeriod:Qt.MORNING},dayPart:gt.MORNING},{quantity:{unit:Kt._00003,value:1},daytime:{dayPeriod:Qt.AFTERNOON},dayPart:gt.EVENING}],treatmentStartDate:"2025-07-20"},{author:{firstName:"Dr.",lastName:"Francois Alexandre",nihdi:"10000000027",role:Ba.PERSPHYSICIAN},identifier:{value:"2120046",type:Di.CNK},temporality:Ai.CHRONIC,frequency:{periodicity:ee.D},route:Si._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:Kt._00005,value:.5},daytime:{dayPeriod:Qt.EVENING},dayPart:gt.EVENING}],treatmentStartDate:"2025-09-10"},{author:{firstName:"Dr.",lastName:"Pieter Dumont",nihdi:"10000000005",role:Ba.PERSPHARMACIST},identifier:{value:"0119065",type:Di.CNK},frequency:{periodicity:ee.D},route:Si.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:Kt._00007,value:1},daytime:{dayPeriod:Qt.MORNING},dayPart:gt.MORNING},{quantity:{unit:Kt._00007,value:1},daytime:{dayPeriod:Qt.AFTERNOON},dayPart:gt.NOON},{quantity:{unit:Kt._00007,value:1},daytime:{dayPeriod:Qt.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:Di.CNK},frequency:{periodicity:ee.ONDEMAND},route:Si._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:Kt._00005,value:1},daytime:{dayPeriod:Qt.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:Di.CNK},frequency:{periodicity:ee.D},route:Si._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:Kt._00004},daytime:{dayPeriod:Qt.BEFOREBREAKFAST}},{dayPart:gt.NOON,quantity:{value:1,unit:Kt._00004},daytime:{dayPeriod:Qt.BEFORELUNCH}},{dayPart:gt.EVENING,quantity:{value:1,unit:Kt._00004},daytime:{dayPeriod:Qt.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:Di.CNK},temporality:Ai.ONESHOT,frequency:{periodicity:ee.DD},route:Si.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:Kt._00020,value:1},daytime:{dayPeriod:Qt.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:Di.CNK},frequency:{periodicity:ee.ONDEMAND},route:Si._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:Kt._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:Di.CNK},frequency:{periodicity:ee.D},route:Si._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:Kt._00005,value:1},daytime:{dayPeriod:Qt.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:Di.CNK},temporality:Ai.ONESHOT,frequency:{periodicity:ee.D},route:Si._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:Kt._00012,value:1},daytime:{dayPeriod:Qt.MORNING},dayPart:gt.MORNING},{quantity:{unit:Kt._00012,value:1},daytime:{dayPeriod:Qt.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:Di.VMP},temporality:Ai.CHRONIC,name:[{lang:h.FR,value:"Lumexor 200 mg"},{lang:h.NL,value:"Lumexor 200 mg"}],posology:[{quantity:{unit:Kt._00007,value:1},daytime:{dayPeriod:Qt.MORNING},dayPart:gt.MORNING},{quantity:{unit:Kt._00007,value:1},daytime:{dayPeriod:Qt.AFTERNOON},dayPart:gt.NOON},{quantity:{unit:Kt._00007,value:1},daytime:{dayPeriod:Qt.EVENING},dayPart:gt.EVENING}],instructions:[{lang:h.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],treatmentStartDate:"2025-07-28"}],source:Ele.VITALINK}],errors:[]},Wle=(()=>{const t=class t extends rh{constructor(){super(...arguments),this.demoService=_(P2e)}find(a){return this.demoService.post("/v1/medicationscheme",LRe,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})(),xr=class Ii{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=Ii.hexChars,a=Ii.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(Ii.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,Ii._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,Ii._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,Ii._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(Ii.buffer32Identity.subarray(r),r),n>55&&(Ii._md5cycle(this._state,i),i.set(Ii.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 Ii._md5cycle(this._state,i),t?this._state:Ii._hex(this._state)}};xr.stateIdentity=new Int32Array([1732584193,-271733879,-1732584194,271733878]);xr.buffer32Identity=new Int32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);xr.hexChars="0123456789abcdef";xr.hexOut=[];xr.onePassHasher=new xr;if(xr.hashStr("hello")!=="5d41402abc4b2a76b9719d911017c592")throw new Error("Md5 self test failed.");var Wy=(()=>{const t=class t extends $C{constructor(a,i){super(a.getServices(),Wr.MEDICATION_SCHEME,i.getInstance().isOfflineAuthenticated,i.getInstance().isOfflineDataStorageEnabled,Wr.MEDICATION_SCHEME),this.medicationSchemeApiService=_(rh),this.authServiceSelector=_(Ol),this.medicationSchemeStateSubject$=new Gr({status:fr.INITIAL}),this.medicationSchemeState$=this.medicationSchemeStateSubject$.asObservable(),this.fnsOptions={weekStartsOn:1},this.addIdToMedication=()=>r=>r.pipe(It(s=>dt(pe({},s),{schemes:s.schemes.map(l=>dt(pe({},l),{medications:l.medications.map((c,d)=>dt(pe({},c),{id:c.id??xr.hashStr(JSON.stringify(c)),index:d}))}))})))}fetchMedicationScheme(a=!0){return va(this,null,function*(){return F2e(this.getData(a),this.medicationSchemeStateSubject$)})}getPageState(){return this.services.cacheDataStorage.get(Wr.MEDICATION_SCHEME_PAGE_STATE)??{filter:sl.ALL,view:0,date:{displayDate:new Date,startOfWeek:ni(new Date,this.fnsOptions),endOfWeek:Xg(new Date,this.fnsOptions)}}}setPageState(a){let i=this.getPageState(),r=pe(pe({},i),a);this.services.cacheDataStorage.set(Wr.MEDICATION_SCHEME_PAGE_STATE,r)}getDataFromBackend(){return va(this,null,function*(){let a=yield this.authServiceSelector.getInstance().resolveSsin();return ohe(this.medicationSchemeApiService.find(a).pipe(this.addIdToMedication()))})}setClientId(a){this.medicationSchemeApiService.setClientId(a)}};t.ɵfac=function(a){return new(a||t)(Ce(ah),Ce(Ol))},t.ɵprov=Z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),FRe=(e,t)=>e.getEnvironmentVariable("env")===rr.DEMO?t.get(Wle):t.get(Ule),VRe={provide:rh,useFactory:FRe,deps:[Rs,ut]},qle=(()=>{const t=class t{constructor(){this.renderer=_(ri),this.el=_(Oe),this.fieldErrors=null,this.medicationIndex=null}ngOnChanges(a){this.medicationIndex!=null&&Ale(this.fieldErrors,this.medicationIndex)?this.renderer.addClass(this.el.nativeElement,"error-row"):this.renderer.removeClass(this.el.nativeElement,"error-row")}};t.ɵfac=function(a){return new(a||t)},t.ɵdir=de({type:t,selectors:[["","highlightErrorRow",""]],inputs:{fieldErrors:"fieldErrors",medicationIndex:"medicationIndex"},features:[$t]});let e=t;return e})(),zRe=["*"],BRe=(e,t,n,a,i)=>({"custom-content":e,circle:t,progress:n,"progress-dark":a,pulse:i});function jRe(e,t){e&1&&ke(0)}function HRe(e,t){if(e&1&&(D(0,"div",0),V(1,jRe,1,0),T()),e&2){let n=L(),a=Ov(0),i=Ov(1);N("ngClass",Mve(5,BRe,a==="custom-content",a==="circle",i==="progress",i==="progress-dark",i==="pulse"))("ngStyle",n.styles()),be("aria-label",n.ariaLabel())("aria-valuetext",n.loadingText()),C(),U(a==="custom-content"?1:-1)}}var Gle=new Y("ngx-skeleton-loader.config"),uc=(()=>{var t;const n=class n{constructor(){T0(this,t);var i,r,s,l,c,d;O0(this,t,_(Gle,{optional:!0})),this.count=ne(((i=Rn(this,t))==null?void 0:i.count)||1,{transform:vn}),this.loadingText=ne(((r=Rn(this,t))==null?void 0:r.loadingText)||"Loading..."),this.appearance=ne(((s=Rn(this,t))==null?void 0:s.appearance)||"line"),this.animation=ne(((l=Rn(this,t))==null?void 0:l.animation)||"progress"),this.ariaLabel=ne(((c=Rn(this,t))==null?void 0:c.ariaLabel)||"loading"),this.theme=ne(((d=Rn(this,t))==null?void 0:d.theme)||null),this.items=ta(()=>{let u=this.count()||1;return this.appearance()==="custom-content"&&Kve(),[...Array(u)].map((p,v)=>v)}),this.styles=ta(()=>{var p,v,g;let u=this.theme();return(v=(p=Rn(this,t))==null?void 0:p.theme)!=null&&v.extendsFromRoot?pe(pe({},(g=Rn(this,t))==null?void 0:g.theme),u):u})}};t=new WeakMap,n.ɵfac=function(i){return new(i||n)},n.ɵcmp=X({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:zRe,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&&(st(),lg(0)(1),Ga(2,HRe,2,11,"div",0,Ni)),i&2&&(Tv(r.appearance()),C(),Tv(r.animation()),C(),$a(r.items()))},dependencies:[Ss,oE],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})(),hc=(()=>{const t=class t{static forRoot(a){return{ngModule:t,providers:[{provide:Gle,useValue:a}]}}};t.ɵfac=function(a){return new(a||t)},t.ɵmod=yt({type:t}),t.ɵinj=bt({imports:[ug]});let e=t;return e})(),URe=(()=>{const t=class t{constructor(){this.creationDetails=_(Bg)}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({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&&(D(0,"h2",0),F(1),O(2,"translate"),T(),D(3,"mat-dialog-content")(4,"dl")(5,"dt"),F(6),O(7,"translate"),T(),D(8,"dd"),F(9),T(),D(10,"dt"),F(11),O(12,"translate"),T(),D(13,"dd"),F(14),O(15,"date"),T(),D(16,"dt"),F(17),O(18,"translate"),T(),D(19,"dd"),F(20),O(21,"fullname"),T(),D(22,"dt"),F(23),O(24,"translate"),T(),D(25,"dd"),F(26),O(27,"translate"),O(28,"firstLetterUppercase"),T(),D(29,"dt"),F(30),O(31,"translate"),T(),D(32,"dd"),F(33),O(34,"translate"),T()()(),D(35,"mat-dialog-actions")(36,"button",1),F(37),O(38,"translate"),T()()),a&2&&(C(),Re(P(2,13,"medicationSchemeCreationDetails.title")),C(5),te("",P(7,15,"medicationSchemeCreationDetails.version"),":"),C(3),Re(i.creationDetails.version),C(2),te("",P(12,17,"medicationSchemeCreationDetails.updated"),":"),C(3),Re(wt(15,19,i.creationDetails.lastChange.date,"dd/MM/yyyy")),C(3),te("",P(18,22,"medicationSchemeCreationDetails.author"),":"),C(3),Re(P(21,24,i.creationDetails.lastChange==null?null:i.creationDetails.lastChange.author)),C(3),te("",P(24,26,"medicationSchemeCreationDetails.profession"),":"),C(2),be("translate","no"),C(),te(" ",P(28,30,P(27,28,"commons.roles."+i.creationDetails.lastChange.author.role.toLowerCase()))," "),C(4),te("",P(31,32,"medicationSchemeCreationDetails.source"),":"),C(3),Re(P(34,34,"commons.safes."+i.creationDetails.source.toLowerCase())),C(4),Re(P(38,36,"commons.close")))},dependencies:[Ku,Qu,Xu,Zu,Ka,Xn,St,Ds,dc,Qi],styles:["dd[_ngcontent-%COMP%]{color:#0d0d0d;margin-inline-start:0;margin-bottom:16px}"],changeDetection:0});let e=t;return e})(),WRe=()=>({height:"47px",width:"50%",margin:"0px"});function qRe(e,t){e&1&&H(0,"ngx-skeleton-loader",0),e&2&&N("count",1)("theme",gn(2,WRe))}function GRe(e,t){if(e&1&&(D(0,"dl")(1,"dt"),F(2),O(3,"translate"),T(),D(4,"dd"),F(5),T(),D(6,"dt"),F(7),O(8,"translate"),T(),D(9,"dd"),F(10),O(11,"date"),T(),D(12,"dt"),F(13),O(14,"translate"),T(),D(15,"dd"),F(16),O(17,"fullname"),O(18,"translate"),O(19,"firstLetterUppercase"),T(),D(20,"dt"),F(21),O(22,"translate"),T(),D(23,"dd"),F(24),O(25,"translate"),T()()),e&2){let n,a=L();C(2),te("",P(3,10,"medicationSchemeCreationDetails.version"),":"),C(3),Re(a.creationDetails().version),C(2),te("",P(8,12,"medicationSchemeCreationDetails.updated"),":"),C(3),Re(wt(11,14,a.creationDetails().lastChange.date,"dd/MM/yyyy, HH:mm")),C(3),te("",P(14,17,"medicationSchemeCreationDetails.updatedBy"),":"),C(2),be("translate","no"),C(),qn(" ",P(17,19,(n=a.creationDetails().lastChange)==null?null:n.author),", ",P(19,23,P(18,21,"commons.roles."+a.creationDetails().lastChange.author.role.toLowerCase()))," "),C(5),te("",P(22,25,"medicationSchemeCreationDetails.source"),":"),C(3),Re(P(25,27,"commons.safes."+a.creationDetails().source.toLowerCase()))}}var $Re=(()=>{const t=class t{constructor(){this.matDialog=_(As),this.isLoading=ne.required(),this.creationDetails=ne.required()}openCreationDetails(){this.matDialog.open(URe,{data:this.creationDetails()})}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({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&&V(0,qRe,1,3,"ngx-skeleton-loader",0)(1,GRe,26,29,"dl"),a&2&&U(i.isLoading()?0:i.creationDetails()?1:-1)},dependencies:[Ka,St,hc,uc,dc,Qi,Ds],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})(),YRe=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",X({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}
62
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),_o=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",bt({imports:[Vt,Vt]}));let e=t;return e})(),Nle=(()=>{const t=class t{constructor(){this.message=ne.required(),this.fontIcon=ne("info"),this.translateParams=ne({})}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({type:t,selectors:[["vidis-error-display"]],inputs:{message:[1,"message"],fontIcon:[1,"fontIcon"],translateParams:[1,"translateParams"]},decls:3,vars:5,consts:[[3,"fontIcon"]],template:function(a,i){a&1&&(H(0,"mat-icon",0),F(1),O(2,"translate")),a&2&&(N("fontIcon",i.fontIcon()),C(),te(" ",wt(2,2,"commons.errors."+i.message(),i.translateParams())," "))},dependencies:[Vi,St],styles:["[_nghost-%COMP%]{display:flex;align-items:center;background:#c41c0d0d;color:#c41c0d;font-weight:700;padding:16px}mat-icon[_ngcontent-%COMP%]{flex-shrink:0;font-size:20px;width:20px;height:20px;line-height:1;margin-right:6px}mat-icon[_ngcontent-%COMP%]{--mat-icon-color: #c41c0d}"]});let e=t;return e})(),tAe=(()=>{const t=class t{};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({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&&(D(0,"h2",0),F(1),O(2,"translate"),T(),D(3,"mat-dialog-content")(4,"p")(5,"span"),F(6),O(7,"translate"),T()(),D(8,"p")(9,"span"),F(10),O(11,"translate"),T(),D(12,"a",1),O(13,"translate"),F(14),O(15,"translate"),T(),F(16,"."),T()(),D(17,"mat-dialog-actions")(18,"button",2),F(19),O(20,"translate"),T(),D(21,"button",3),F(22),O(23,"translate"),T()()),a&2&&(C(),Re(P(2,9,"commons.errors.report-message-title")),C(5),Re(P(7,11,"commons.errors.report-message-explanation")),C(4),Re(P(11,13,"commons.errors.report-message-content")),C(2),N("href",P(13,15,"commons.errors.report-message-link"),jf),C(2),Re(P(15,17,"commons.errors.report-message-term-use")),C(4),N("mat-dialog-close",!0),C(),te(" ",P(20,19,"commons.errors.report-message-report-button")," "),C(2),N("mat-dialog-close",!1),C(),te(" ",P(23,21,"commons.errors.report-message-ignore-button")," "))},dependencies:[oC,Zu,Ku,Xu,Qu,Ka,Xn,St],encapsulation:2});let e=t;return e})(),aAe=(()=>{const t=class t{constructor(){this.vidisErrorCode=_(Bg)}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({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&&(D(0,"h2",0),F(1),O(2,"translate"),T(),D(3,"mat-dialog-content")(4,"p")(5,"span"),F(6),O(7,"translate"),T()()(),D(8,"mat-dialog-actions")(9,"button",1),F(10),O(11,"translate"),T()()),a&2&&(C(),Re(P(2,4,"commons.errors.action-not-authorized-title")),C(5),Re(P(7,6,"commons.errors."+i.vidisErrorCode)),C(3),N("mat-dialog-close",!1),C(),te(" ",P(11,8,"commons.errors.action-not-authorized-close-button")," "))},dependencies:[oC,Zu,Ku,Xu,Qu,Ka,Xn,St],encapsulation:2});let e=t;return e})();function My(e,t,n){let a=BC(),i=rAe(e,n.timeZone,n.locale??a.locale);return"formatToParts"in i?iAe(i,t):nAe(i,t)}function iAe(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 nAe(e,t){let n=e.format(t).replace(/\u200E/g,""),a=/ [\w-+ ]+$/.exec(n);return a?a[0].substr(1):""}function rAe(e,t,n){return new Intl.DateTimeFormat(n?[n.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}function oAe(e,t){let n=uAe(t);return"formatToParts"in n?lAe(n,e):cAe(n,e)}var sAe={year:0,month:1,day:2,hour:3,minute:4,second:5};function lAe(e,t){try{let n=e.formatToParts(t),a=[];for(let i=0;i<n.length;i++){let r=sAe[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 cAe(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")),dAe=Py==="06/25/2014, 00:00:00"||Py==="‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";function uAe(e){return bp[e]||(bp[e]=dAe?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 Lle(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 Ny=36e5,hAe=6e4,yp={timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function Fle(e,t,n){if(!e)return 0;let a=yp.timezoneZ.exec(e);if(a)return 0;let i,r;if(a=yp.timezoneHH.exec(e),a)return i=parseInt(a[1],10),Ly(i)?-(i*Ny):NaN;if(a=yp.timezoneHHMM.exec(e),a){i=parseInt(a[2],10);let s=parseInt(a[3],10);return Ly(i,s)?(r=Math.abs(i)*Ny+s*hAe,a[1]==="+"?-r:r):NaN}if(fAe(e)){t=new Date(t||Date.now());let s=n?t:pAe(t),l=jm(s,e);return-(n?l:mAe(t,l,e))}return NaN}function pAe(e){return Lle(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function jm(e,t){let n=oAe(e,t),a=Lle(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 mAe(e,t,n){let a=e.getTime()-t,i=jm(new Date(a),n);if(t===i)return t;a-=i-t;let r=jm(new Date(a),n);return i===r?i:Math.max(i,r)}function Ly(e,t){return-23<=e&&e<=23&&(t==null||0<=t&&t<=59)}var Fy={};function fAe(e){if(Fy[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),Fy[e]=!0,!0}catch{return!1}}var gAe=60*1e3,vAe={X:function(e,t,n){let a=_p(n.timeZone,e);if(a===0)return"Z";switch(t){case"X":return Vy(a);case"XXXX":case"XX":return Ro(a);case"XXXXX":case"XXX":default:return Ro(a,":")}},x:function(e,t,n){let a=_p(n.timeZone,e);switch(t){case"x":return Vy(a);case"xxxx":case"xx":return Ro(a);case"xxxxx":case"xxx":default:return Ro(a,":")}},O:function(e,t,n){let a=_p(n.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+bAe(a,":");case"OOOO":default:return"GMT"+Ro(a,":")}},z:function(e,t,n){switch(t){case"z":case"zz":case"zzz":return My("short",e,n);case"zzzz":default:return My("long",e,n)}}};function _p(e,t){let n=e?Fle(e,t,!0)/gAe:(t==null?void 0:t.getTimezoneOffset())??0;if(Number.isNaN(n))throw new RangeError("Invalid time zone specified: "+e);return n}function au(e,t){let n=e<0?"-":"",a=Math.abs(e).toString();for(;a.length<t;)a="0"+a;return n+a}function Ro(e,t=""){let n=e>0?"-":"+",a=Math.abs(e),i=au(Math.floor(a/60),2),r=au(Math.floor(a%60),2);return n+i+t+r}function Vy(e,t){return e%60===0?(e>0?"-":"+")+au(Math.abs(e)/60,2):Ro(e,t)}function bAe(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+au(r,2)}function zy(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 yAe=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,xp=36e5,By=6e4,_Ae=2,Ja={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:yAe};function xAe(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?_Ae: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=wAe(e),{year:i,restDateString:r}=EAe(a.date,n),s=kAe(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=CAe(a.time),c===null||isNaN(c)))return new Date(NaN);if(a.timeZone||t.timeZone){if(d=Fle(a.timeZone||t.timeZone,new Date(l+c)),isNaN(d))return new Date(NaN)}else d=zy(new Date(l+c)),d=zy(new Date(l+c+d));return new Date(l+c+d)}else return new Date(NaN)}function wAe(e){let t={},n=Ja.dateTimePattern.exec(e),a;if(n?(t.date=n[1],a=n[3]):(n=Ja.datePattern.exec(e),n?(t.date=n[1],a=n[2]):(t.date=null,a=e)),a){let i=Ja.timeZone.exec(a);i?(t.time=a.replace(i[1],""),t.timeZone=i[1].trim()):t.time=a}return t}function EAe(e,t){if(e){let n=Ja.YYY[t],a=Ja.YYYYY[t],i=Ja.YYYY.exec(e)||a.exec(e);if(i){let r=i[1];return{year:parseInt(r,10),restDateString:e.slice(r.length)}}if(i=Ja.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 kAe(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=Ja.MM.exec(e);if(r)return n=new Date(0),a=parseInt(r[1],10)-1,Hy(t,a)?(n.setUTCFullYear(t,a),n):new Date(NaN);if(r=Ja.DDD.exec(e),r){n=new Date(0);let s=parseInt(r[1],10);return IAe(t,s)?(n.setUTCFullYear(t,0,s),n):new Date(NaN)}if(r=Ja.MMDD.exec(e),r){n=new Date(0),a=parseInt(r[1],10)-1;let s=parseInt(r[2],10);return Hy(t,a,s)?(n.setUTCFullYear(t,a,s),n):new Date(NaN)}if(r=Ja.Www.exec(e),r)return i=parseInt(r[1],10)-1,Uy(i)?jy(t,i):new Date(NaN);if(r=Ja.WwwD.exec(e),r){i=parseInt(r[1],10)-1;let s=parseInt(r[2],10)-1;return Uy(i,s)?jy(t,i,s):new Date(NaN)}return null}function CAe(e){let t,n,a=Ja.HH.exec(e);if(a)return t=parseFloat(a[1].replace(",",".")),wp(t)?t%24*xp:NaN;if(a=Ja.HHMM.exec(e),a)return t=parseInt(a[1],10),n=parseFloat(a[2].replace(",",".")),wp(t,n)?t%24*xp+n*By:NaN;if(a=Ja.HHMMSS.exec(e),a){t=parseInt(a[1],10),n=parseInt(a[2],10);let i=parseFloat(a[3].replace(",","."));return wp(t,n,i)?t%24*xp+n*By+i*1e3:NaN}return null}function jy(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 SAe=[31,28,31,30,31,30,31,31,30,31,30,31],DAe=[31,29,31,30,31,30,31,31,30,31,30,31];function Vle(e){return e%400===0||e%4===0&&e%100!==0}function Hy(e,t,n){if(t<0||t>11)return!1;if(n!=null){if(n<1)return!1;let a=Vle(e);if(a&&n>DAe[t]||!a&&n>SAe[t])return!1}return!0}function IAe(e,t){if(t<1)return!1;let n=Vle(e);return!(n&&t>366||!n&&t>365)}function Uy(e,t){return!(e<0||e>52||t!=null&&(t<0||t>6))}function wp(e,t,n){return!(e<0||e>=25||t!=null&&(t<0||t>=60)||n!=null&&(n<0||n>=60))}var TAe=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function OAe(e,t,n={}){t=String(t);let a=t.match(TAe);if(a){let i=xAe(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,"'"+vAe[s[0]](i,s,n)+"'");return c?d.substring(0,l-1)+d.substring(l+1):d},t)}return Fo(e,t,n)}var AAe=(()=>{const t=class t{reportError(a){return vt({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})(),RAe=(()=>{const t=class t{constructor(){this.http=_(nc),this.authService=_(Ol).getInstance(),this.apiUrl=_(Rs).getEnvironmentVariable("apiUrl")}reportError(a){return this.http.post(`${this.apiUrl}/v2/report/error`,a,{headers:{[Yo.userType]:qr.getUserType({isProfessional:this.authService.isProfessional}),[Yo.clientType]:YC()?qr.clientType.mobileApp:qr.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})(),MAe=(()=>{const t=class t{constructor(){this.config=_(Rs),this.injector=_(ut),this._instance=null}getInstance(){if(!this._instance){let a=this.config.getEnvironmentVariable("env")==="demo";this._instance=a?this.injector.get(AAe):this.injector.get(RAe)}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})(),PAe=(()=>{const t=class t extends C2e{constructor(){super(...arguments),this.version=Vm,this.authServiceSelector=_(Ol),this.translateService=_(Fa),this.webComponentConfig=_(Rs),this.injector=_(ut),this.servicesStore=_(ah),this.matDialog=_(As),this.destroyRef=_(xi),this.errorServiceSelector=_(MAe),this.snackbarService=_(eDe),this.extraRequiredFields=["offlineDataStorageEnabled","isOfflineAuthenticated","professional","ssin"]}onInitialized(){return va(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=>va(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)===Bn.NOT_AUTHORIZED?this.showNotAuthorizedErrorPopup(a.code):(a==null?void 0:a.group)===Bn.OTHER&&this.showTechnicalErrorPopup(a)}showTechnicalErrorPopup(a){this.matDialog.open(tAe,{data:{error:a}}).beforeClosed().pipe(sa(i=>i),cc(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(aAe,{data:a})}formatDateWithZone(){return OAe(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=X({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 NAe(e,t){if(e&1&&(D(0,"mat-option",4),F(1),O(2,"translate"),T()),e&2){let n=t.$implicit;N("value",n),C(),Re(P(2,2,"commons.sortDropdown."+n))}}function LAe(e,t){if(e&1){let n=Et();D(0,"button",6),O(1,"translate"),xe("click",function(){Se(n);let a=L();return De(a.emitNewData({sort:a.sortData().sort,order:a.sortDirection.descending}))}),H(2,"mat-icon",7),T()}if(e&2){let n=L();N("disabled",n.disabled()),be("aria-label",P(1,2,"commons.sortDropdown.sorting-ascendant"))}}function FAe(e,t){if(e&1){let n=Et();D(0,"button",6),O(1,"translate"),xe("click",function(){Se(n);let a=L();return De(a.emitNewData({sort:a.sortData().sort,order:a.sortDirection.ascending}))}),H(2,"mat-icon",8),T()}if(e&2){let n=L();N("disabled",n.disabled()),be("aria-label",P(1,2,"commons.sortDropdown.sorting-descendent"))}}var VAe=(()=>{const t=class t{constructor(){this.sortData=Es.required(),this.sortItems=ne.required(),this.disabled=ne(!1),this.sortDirection=r0}emitNewData(a){this.sortData.set(a)}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({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&&(D(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})}),Ga(4,NAe,3,4,"mat-option",4,Ni),T()()(),V(6,LAe,3,4,"button",5)(7,FAe,3,4,"button",5),T()),a&2&&(C(3),N("value",i.sortData().sort)("disabled",i.disabled()),C(),$a(i.sortItems()),C(2),U(i.sortData().order===i.sortDirection.ascending?6:7))},dependencies:[Vi,Ka,ec,Sl,pk,fEe,mEe,Xk,St],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})(),zAe=["*"];function BAe(e,t){e&1&&Ca(0)}function jAe(e,t){if(e&1&&(D(0,"div",3),V(1,BAe,1,0,"ng-container",5),T()),e&2){L();let n=Ya(5);C(),N("ngTemplateOutlet",n)}}function HAe(e,t){e&1&&Ca(0)}function UAe(e,t){if(e&1){let n=Et();D(0,"div",6),xe("click",function(){Se(n);let a=L();return De(a.toggleExpanded())})("keydown.enter",function(){Se(n);let a=L();return De(a.toggleExpanded())})("keydown.space",function(){Se(n);let a=L();return De(a.toggleExpanded())}),V(1,HAe,1,0,"ng-container",5),T()}if(e&2){let n=L(),a=Ya(5);be("aria-label",n.currentExpandIconAriaLabel()),C(),N("ngTemplateOutlet",a)}}function WAe(e,t){e&1&&Ca(0)}function qAe(e,t){if(e&1&&V(0,WAe,1,0,"ng-container",5),e&2){L();let n=Ya(7);N("ngTemplateOutlet",n)}}function GAe(e,t){if(e&1&&(D(0,"h2"),F(1),T()),e&2){let n=L(3);C(),Re(n.alertTitle())}}function $Ae(e,t){if(e&1&&(D(0,"p"),F(1),T()),e&2){let n=L(3);C(),Re(n.alertSubtitle())}}function YAe(e,t){if(e&1&&(D(0,"div"),V(1,GAe,2,1,"h2")(2,$Ae,2,1,"p"),T()),e&2){let n=L(2);C(),U(n.alertTitle()?1:-1),C(),U(n.alertSubtitle()?2:-1)}}function ZAe(e,t){e&1&&Ca(0)}function KAe(e,t){if(e&1&&V(0,ZAe,1,0,"ng-container",5),e&2){L(2);let n=Ya(7);N("ngTemplateOutlet",n)}}function QAe(e,t){if(e&1){let n=Et();D(0,"mat-icon",11),xe("click",function(){Se(n);let a=L(2);return De(a.onCloseButtonClick())})("keydown.enter",function(){Se(n);let a=L(2);return De(a.onCloseButtonClick())})("keydown.space",function(){Se(n);let a=L(2);return De(a.onCloseButtonClick())}),T()}if(e&2){let n=L(2);be("aria-label",n.closeButtonAriaLabel())}}function XAe(e,t){if(e&1&&H(0,"mat-icon",10),e&2){let n=L(2);N("fontIcon",n.expanded()?"keyboard_arrow_up":"keyboard_arrow_down")}}function JAe(e,t){if(e&1&&(H(0,"mat-icon",7),D(1,"div",8),V(2,YAe,3,2,"div")(3,KAe,1,1,"ng-container"),T(),V(4,QAe,1,1,"mat-icon",9)(5,XAe,1,1,"mat-icon",10)),e&2){let n=L();N("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 eRe(e,t){if(e&1){let n=Et();D(0,"button",14),xe("click",function(){Se(n);let a=L(2);return De(a.onActionButtonClicked())}),F(1),T()}if(e&2){let n=L(2);N("disabled",n.buttonDisabled()),C(),te(" ",n.buttonLabel()," ")}}function tRe(e,t){if(e&1&&(D(0,"span",12),ke(1),T(),V(2,eRe,2,2,"button",13)),e&2){let n=L();C(2),U(n.actionButton()?2:-1)}}var zle=(()=>{const t=class t{constructor(){o(this,"usage",ne("info"));o(this,"backgroundColor",ne("color"));o(this,"alertTitle",ne());o(this,"alertSubtitle",ne());o(this,"actionButton",ne(!1));o(this,"buttonDisabled",ne(!1));o(this,"buttonLabel",ne());o(this,"dismissMode",ne("pinned"));o(this,"closeButtonAriaLabel",ne(""));o(this,"startExpanded",ne(!1));o(this,"expandedButtonAriaLabel",ne(""));o(this,"collapsedButtonAriaLabel",ne(""));o(this,"closeButtonClicked",io());o(this,"actionButtonClicked",io());o(this,"expanded",mbe(()=>this.startExpanded()));o(this,"currentExpandIconAriaLabel",ta(()=>this.expanded()?this.expandedButtonAriaLabel():this.collapsedButtonAriaLabel()));o(this,"expandableExpanded",ta(()=>this.dismissMode()==="expandable"&&this.expanded()));o(this,"notExpandableMissingTitleAndSubtitle",ta(()=>this.dismissMode()!=="expandable"&&(this.alertTitle()||this.alertSubtitle())));o(this,"toggleExpanded",()=>{this.expanded.update(a=>!a)});o(this,"onActionButtonClicked",()=>{this.actionButtonClicked.emit()});o(this,"fontIcon",ta(()=>({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",X({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:zAe,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&&(st(),D(0,"div",2),V(1,jAe,2,1,"div",3)(2,UAe,2,2,"div",4)(3,qAe,1,1,"ng-container"),T(),V(4,JAe,6,3,"ng-template",null,0,Fd)(6,tRe,3,1,"ng-template",null,1,Fd)),a&2&&(Pi(i.usage()),we("white",i.backgroundColor()==="white"),C(),U(i.dismissMode()!=="expandable"?1:2),C(2),U(i.notExpandableMissingTitleAndSubtitle()||i.expandableExpanded()?3:-1))},dependencies:[ug,dg,Vi,Xn],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 aRe(e,t){if(e&1&&(D(0,"mh-alert",0),O(1,"translate"),D(2,"div",1),F(3),O(4,"translate"),T()()),e&2){let n=L();N("alertTitle",P(1,2,"commons.errors.data-not-available-title")),C(3),Re(P(4,4,"commons.errors."+n.error().code))}}var iRe=(()=>{const t=class t{constructor(){this.error=ne.required(),this.vidisErrorGroup=Bn}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({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&&V(0,aRe,5,6,"mh-alert",0),a&2&&U(i.error().group===i.vidisErrorGroup.TEMP_UNAVAILABLE?0:-1)},dependencies:[St,zle],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})(),nRe=["*"],Ble=(()=>{const t=class t{constructor(){this.item=ne.required(),this.expandedElement=Es.required()}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({type:t,selectors:[["vidis-table-detail-button"]],inputs:{item:[1,"item"],expandedElement:[1,"expandedElement"]},outputs:{expandedElement:"expandedElementChange"},ngContentSelectors:nRe,decls:3,vars:1,consts:[["mat-button","",1,"font",3,"click"],[3,"fontIcon"]],template:function(a,i){a&1&&(st(),D(0,"button",0),xe("click",function(){return i.expandedElement.set(i.expandedElement()===i.item()?null:i.item())}),H(1,"mat-icon",1),ke(2),T()),a&2&&(C(),N("fontIcon",i.item()===i.expandedElement()?"keyboard_arrow_up":"keyboard_arrow_down"))},dependencies:[Ka,Xn,Vi],styles:[".font[_ngcontent-%COMP%]{font-size:1rem}"]});let e=t;return e})();function rRe(e,t){if(e&1&&(D(0,"span"),F(1),T()),e&2){let n=L();C(),te("(",n.idNumber(),")")}}var jle=(()=>{const t=class t{constructor(){this.fullname=ne.required(),this.idNumber=ne()}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({type:t,selectors:[["vidis-person-name"]],inputs:{fullname:[1,"fullname"],idNumber:[1,"idNumber"]},decls:2,vars:2,template:function(a,i){a&1&&(F(0),V(1,rRe,2,1,"span")),a&2&&(te(" ",i.fullname()," "),C(),U(i.idNumber()?1:-1))},styles:["span[_ngcontent-%COMP%]{color:#8f8f8f}"]});let e=t;return e})(),oRe=e=>({label_error:e}),sRe=e=>({value_error:e});function lRe(e,t){e&1&&H(0,"mat-icon",3)}function cRe(e,t){if(e&1&&(D(0,"span",0)(1,"span",1),F(2),O(3,"translate"),T(),D(4,"span",2),V(5,lRe,1,0,"mat-icon",3),F(6),T()()),e&2){let n=L();C(),N("ngClass",ii(7,oRe,n.withError())),C(),te(" ",P(3,5,n.labelKey())," "),C(2),N("ngClass",ii(9,sRe,n.withError())),C(),U(n.withError()?5:-1),C(),te(" ",n.value()," ")}}var dRe=(()=>{const t=class t{constructor(){this.labelKey=ne.required(),this.value=ne.required(),this.withError=ne(!1)}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({type:t,selectors:[["vidis-detail-field"]],inputs:{labelKey:[1,"labelKey"],value:[1,"value"],withError:[1,"withError"]},decls:1,vars:1,consts:[[1,"details"],[1,"details__label",3,"ngClass"],[1,"details__value",3,"ngClass"],["fontIcon","warning"]],template:function(a,i){a&1&&V(0,cRe,7,11,"span",0),a&2&&U(i.value()?0:-1)},dependencies:[St,Vi,Ss],styles:[".details[_ngcontent-%COMP%]{display:grid}@media only screen and (min-width: 960px){.details[_ngcontent-%COMP%]{grid-template-columns:max-content auto;gap:10px 20px}}@media only screen and (max-width: 960px){.details__value[_ngcontent-%COMP%]{margin-bottom:10px}}.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;width:210px}.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}.details[_ngcontent-%COMP%] .label_error[_ngcontent-%COMP%]{border-left:4px solid #c41c0d}.details[_ngcontent-%COMP%] .value_error[_ngcontent-%COMP%]{border-left:4px solid #c41c0d;color:#c41c0d}mat-icon[_ngcontent-%COMP%]{flex-shrink:0;font-size:20px;width:20px;height:20px;line-height:1;margin-right:6px}mat-icon[_ngcontent-%COMP%]{--mat-icon-color: #c41c0d}"]});let e=t;return e})(),uRe=["*"],hRe=e=>({label_error:e}),pRe=e=>({value_error:e});function mRe(e,t){e&1&&H(0,"mat-icon",3)}var fRe=(()=>{const t=class t{constructor(){this.labelKey=ne.required(),this.withError=ne(!1)}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({type:t,selectors:[["vidis-detail-field-slot"]],inputs:{labelKey:[1,"labelKey"],withError:[1,"withError"]},ngContentSelectors:uRe,decls:7,vars:10,consts:[[1,"details"],[1,"details__label",3,"ngClass"],[1,"details__value",3,"ngClass"],["fontIcon","warning"]],template:function(a,i){a&1&&(st(),D(0,"span",0)(1,"span",1),F(2),O(3,"translate"),T(),D(4,"span",2),V(5,mRe,1,0,"mat-icon",3),ke(6),T()()),a&2&&(C(),N("ngClass",ii(6,hRe,i.withError())),C(),te(" ",P(3,4,i.labelKey())," "),C(2),N("ngClass",ii(8,pRe,i.withError())),C(),U(i.withError()?5:-1))},dependencies:[St,Vi,Ss],styles:[".details[_ngcontent-%COMP%]{display:grid}@media only screen and (min-width: 960px){.details[_ngcontent-%COMP%]{grid-template-columns:max-content auto;gap:10px 20px}}@media only screen and (max-width: 960px){.details__value[_ngcontent-%COMP%]{margin-bottom:10px}}.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;width:210px}.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;display:flex;align-items:center;gap:6px}.details[_ngcontent-%COMP%] .label_error[_ngcontent-%COMP%]{border-left:4px solid #c41c0d}.details[_ngcontent-%COMP%] .value_error[_ngcontent-%COMP%]{border-left:4px solid #c41c0d;color:#c41c0d}mat-icon[_ngcontent-%COMP%]{flex-shrink:0;font-size:20px;width:20px;height:20px;line-height:1;margin-right:6px}mat-icon[_ngcontent-%COMP%]{--mat-icon-color: #c41c0d}"]});let e=t;return e})(),gRe=e=>({prescriber:e}),vRe=e=>({count:e});function bRe(e,t){if(e&1&&(H(0,"vidis-error-display",0),O(1,"translate"),O(2,"fullname")),e&2){let n=L();N("message",P(1,2,"incorrect-elements-ms-detail"))("translateParams",ii(6,gRe,P(2,4,n.medication().author)))}}function yRe(e,t){e&1&&(H(0,"vidis-detail-field",5),O(1,"date")),e&2&&N("value",wt(1,1,t,"dd/MM/yyyy"))}function _Re(e,t){e&1&&(H(0,"vidis-detail-field",6),O(1,"date")),e&2&&N("value",wt(1,1,t,"dd/MM/yyyy"))}function xRe(e,t){if(e&1&&(H(0,"vidis-detail-field",20),O(1,"date"),O(2,"hasMedicationError")),e&2){let n=L().$implicit,a=L(3);N("value",wt(1,2,t,"dd/MM/yyyy"))("withError",br(2,5,a.fieldErrors(),a.medication().index,"suspensions["+n.originalIndex+"]"))}}function wRe(e,t){e&1&&(H(0,"vidis-detail-field",21),O(1,"date")),e&2&&N("value",wt(1,1,t,"dd/MM/yyyy"))}function ERe(e,t){e&1&&(H(0,"vidis-detail-field",22),O(1,"firstLetterUppercase")),e&2&&N("value",P(1,1,t))}function kRe(e,t){e&1&&H(0,"span",18)(1,"span",23)}function CRe(e,t){e&1&&H(0,"mat-divider")}function SRe(e,t){if(e&1&&(V(0,xRe,3,9,"vidis-detail-field",20)(1,wRe,2,4,"vidis-detail-field",21)(2,ERe,2,3,"vidis-detail-field",22),O(3,"translateValue"),V(4,kRe,2,0)(5,CRe,1,0,"mat-divider"),H(6,"br")),e&2){let n,a,i,r=t.$implicit,s=t.$index,l=t.$count;U((n=r.item.startDate)?0:-1,n),C(),U((a=r.item.endDate)?1:-1,a),C(),U((i=P(3,5,r.item.reason))?2:-1,i),C(2),U(r.item.type==="definitive"?4:-1),C(),U(s!==l-1?5:-1)}}function DRe(e,t){if(e&1&&(D(0,"span",18),F(1),O(2,"translate"),T(),D(3,"span",19),Ga(4,SRe,7,7,null,null,Ni),T()),e&2){let n=L();C(),Re(P(2,1,"medicationSchemeDetails.suspension.label")),C(3),$a(n)}}function IRe(e,t){e&1&&V(0,DRe,6,3),e&2&&U(t.length>0?0:-1)}function TRe(e,t){if(e&1&&(H(0,"vidis-detail-field",7),O(1,"translate"),O(2,"firstLetterUppercase"),O(3,"hasMedicationError")),e&2){let n,a=L();N("value",P(2,5,wt(1,2,"commons.administrationUnits."+((n=a.medication().posology[0].quantity)==null?null:n.unit),ii(11,vRe,a.medication().posology[0].quantity.value))))("withError",br(3,7,a.fieldErrors(),a.medication().index,"posologies"))}}function ORe(e,t){if(e&1&&(H(0,"vidis-detail-field",8),O(1,"translate"),O(2,"hasMedicationError")),e&2){let n=L();N("value",P(1,2,"commons.periodicities."+t))("withError",br(2,4,n.fieldErrors(),n.medication().index,"frequency"))}}function ARe(e,t){if(e&1&&(H(0,"vidis-detail-field",11),O(1,"translate"),O(2,"firstLetterUppercase"),O(3,"hasMedicationError")),e&2){let n=L();N("value",P(2,4,P(1,2,"commons.routes."+t)))("withError",br(3,6,n.fieldErrors(),n.medication().index,"route"))}}function RRe(e,t){if(e&1&&(H(0,"vidis-detail-field",12),O(1,"translate"),O(2,"firstLetterUppercase"),O(3,"hasMedicationError")),e&2){let n=L();N("value",P(2,4,P(1,2,"commons.temporality."+t)))("withError",br(3,6,n.fieldErrors(),n.medication().index,"temporality"))}}function MRe(e,t){e&1&&H(0,"vidis-detail-field",15),e&2&&N("value",t)}function PRe(e,t){e&1&&H(0,"vidis-detail-field",16),e&2&&N("value",t)}function NRe(e,t){if(e&1&&H(0,"vidis-detail-field",17),e&2){let n,a=L();N("value",(n=a.medication().others)==null?null:n.join(", "))("withError",!0)}}var Hle=(()=>{const t=class t{constructor(){this.medication=ne.required(),this.fieldErrors=ne(),this.temporalities=Ai}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({type:t,selectors:[["vidis-medication-scheme-details-row"]],inputs:{medication:[1,"medication"],fieldErrors:[1,"fieldErrors"]},decls:30,vars:45,consts:[["fontIcon","warning",3,"message","translateParams"],[1,"details"],["labelKey","medicationSchemeDetails.medication",3,"value"],["labelKey","medicationSchemeDetails.indication",3,"value"],["labelKey","medicationSchemeDetails.prescriber",3,"value"],["labelKey","medicationSchemeDetails.start",3,"value"],["labelKey","medicationSchemeDetails.end",3,"value"],["labelKey","medicationSchemeDetails.quantity",3,"value","withError"],["labelKey","medicationSchemeDetails.periodicity",3,"value","withError"],["labelKey","medicationSchemeDetails.posologie",3,"withError"],[3,"medication"],["labelKey","medicationSchemeDetails.route",3,"value","withError"],["labelKey","medicationSchemeDetails.temporality",3,"value","withError"],["labelKey","medicationSchemeDetails.startCondition",3,"value"],["labelKey","medicationSchemeDetails.endCondition",3,"value"],["labelKey","medicationSchemeDetails.instructions",3,"value"],["labelKey","medicationSchemeDetails.comment",3,"value"],["labelKey","medicationSchemeDetails.other",3,"value","withError"],[1,"details__label"],[1,"details__value","suspension"],["labelKey","medicationSchemeDetails.suspension.start",3,"value","withError"],["labelKey","medicationSchemeDetails.suspension.end",3,"value"],["labelKey","medicationSchemeDetails.suspension.reason",3,"value"],[1,"details__value"]],template:function(a,i){if(a&1&&(V(0,bRe,3,8,"vidis-error-display",0),O(1,"hasMedicationError"),D(2,"span",1),H(3,"vidis-detail-field",2),O(4,"translateValue"),O(5,"firstLetterUppercase"),H(6,"vidis-detail-field",3),O(7,"translateValue"),O(8,"firstLetterUppercase"),H(9,"vidis-detail-field",4),O(10,"fullname"),V(11,yRe,2,4,"vidis-detail-field",5)(12,_Re,2,4,"vidis-detail-field",6)(13,IRe,1,1),O(14,"activeAndFutureSuspensions"),V(15,TRe,4,13,"vidis-detail-field",7)(16,ORe,3,8,"vidis-detail-field",8),D(17,"vidis-detail-field-slot",9),O(18,"hasMedicationError"),H(19,"vidis-medication-scheme-posology",10),T(),V(20,ARe,4,10,"vidis-detail-field",11)(21,RRe,4,10,"vidis-detail-field",12),H(22,"vidis-detail-field",13)(23,"vidis-detail-field",14),V(24,MRe,1,1,"vidis-detail-field",15),O(25,"translateValue"),V(26,PRe,1,1,"vidis-detail-field",16),O(27,"translateValue"),V(28,NRe,1,2,"vidis-detail-field",17),O(29,"hasMedicationError"),T()),a&2){let r,s,l,c,d,u,p,v,g;U(wt(1,18,i.fieldErrors(),i.medication().index)?0:-1),C(3),N("value",P(5,23,P(4,21,i.medication().name))),C(3),N("value",P(8,27,P(7,25,i.medication().indication))),C(3),N("value",P(10,29,i.medication().author)),C(2),U((r=i.medication().treatmentStartDate)?11:-1,r),C(),U((s=i.medication().treatmentEndDate)?12:-1,s),C(),U((l=P(14,31,i.medication().suspensions))?13:-1,l),C(2),U(!((c=i.medication().posology)==null||c[0]==null||c[0].quantity==null)&&c[0].quantity.unit?15:-1),C(),U((d=(d=i.medication().frequency)==null?null:d.periodicity)?16:-1,d),C(),N("withError",br(18,33,i.fieldErrors(),i.medication().index,"posologies")),C(2),N("medication",i.medication()),C(),U((u=i.medication().route)?20:-1,u),C(),U((p=i.medication().temporality)?21:-1,p),C(),N("value",i.medication().treatmentStartCondition),C(),N("value",i.medication().treatmentEndCondition),C(),U((v=P(25,37,i.medication().instructions))?24:-1,v),C(2),U((g=P(27,39,i.medication().comment))?26:-1,g),C(2),U(br(29,41,i.fieldErrors(),i.medication().index,"others")?28:-1)}},dependencies:[Ka,qTe,St,WOe,Nle,dRe,fRe,Ds,dc,Qi,Ms,tOe,l0],styles:[".details[_ngcontent-%COMP%], .details[_ngcontent-%COMP%] .suspension[_ngcontent-%COMP%]{display:grid}@media only screen and (min-width: 960px){.details[_ngcontent-%COMP%]{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}@media only screen and (min-width: 960px){vidis-error-display[_ngcontent-%COMP%]{display:none!important}}"],changeDetection:0});let e=t;return e})(),rh=(()=>{const t=class t{setClientId(a){this.clientId=a}buildClientIdHeader(){return this.clientId&&new oo().set(Yo.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})(),Ule=(()=>{const t=class t extends rh{constructor(){super(...arguments),this.http=_(nc)}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})(),LRe={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:Di.CNK},temporality:Ai.CHRONIC,frequency:{periodicity:ee.D},route:Si._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:Kt._00005,value:1},daytime:{dayPeriod:Qt.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:ee.D},route:Si._00064,name:[{lang:h.NL,value:"Elenzom 100 ml"}],instructions:[{lang:h.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],posology:[{quantity:{unit:Kt._00016,value:10},daytime:{dayPeriod:Qt.MORNING},dayPart:gt.MORNING},{quantity:{unit:Kt._00016,value:10},daytime:{dayPeriod:Qt.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:Di.CNK},frequency:{periodicity:ee.D},route:Si._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:Kt._00003,value:1},daytime:{dayPeriod:Qt.MORNING},dayPart:gt.MORNING},{quantity:{unit:Kt._00003,value:1},daytime:{dayPeriod:Qt.AFTERNOON},dayPart:gt.EVENING}],treatmentStartDate:"2025-07-20"},{author:{firstName:"Dr.",lastName:"Francois Alexandre",nihdi:"10000000027",role:Ba.PERSPHYSICIAN},identifier:{value:"2120046",type:Di.CNK},temporality:Ai.CHRONIC,frequency:{periodicity:ee.D},route:Si._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:Kt._00005,value:.5},daytime:{dayPeriod:Qt.EVENING},dayPart:gt.EVENING}],treatmentStartDate:"2025-09-10"},{author:{firstName:"Dr.",lastName:"Pieter Dumont",nihdi:"10000000005",role:Ba.PERSPHARMACIST},identifier:{value:"0119065",type:Di.CNK},frequency:{periodicity:ee.D},route:Si.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:Kt._00007,value:1},daytime:{dayPeriod:Qt.MORNING},dayPart:gt.MORNING},{quantity:{unit:Kt._00007,value:1},daytime:{dayPeriod:Qt.AFTERNOON},dayPart:gt.NOON},{quantity:{unit:Kt._00007,value:1},daytime:{dayPeriod:Qt.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:Di.CNK},frequency:{periodicity:ee.ONDEMAND},route:Si._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:Kt._00005,value:1},daytime:{dayPeriod:Qt.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:Di.CNK},frequency:{periodicity:ee.D},route:Si._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:Kt._00004},daytime:{dayPeriod:Qt.BEFOREBREAKFAST}},{dayPart:gt.NOON,quantity:{value:1,unit:Kt._00004},daytime:{dayPeriod:Qt.BEFORELUNCH}},{dayPart:gt.EVENING,quantity:{value:1,unit:Kt._00004},daytime:{dayPeriod:Qt.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:Di.CNK},temporality:Ai.ONESHOT,frequency:{periodicity:ee.DD},route:Si.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:Kt._00020,value:1},daytime:{dayPeriod:Qt.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:Di.CNK},frequency:{periodicity:ee.ONDEMAND},route:Si._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:Kt._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:Di.CNK},frequency:{periodicity:ee.D},route:Si._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:Kt._00005,value:1},daytime:{dayPeriod:Qt.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:Di.CNK},temporality:Ai.ONESHOT,frequency:{periodicity:ee.D},route:Si._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:Kt._00012,value:1},daytime:{dayPeriod:Qt.MORNING},dayPart:gt.MORNING},{quantity:{unit:Kt._00012,value:1},daytime:{dayPeriod:Qt.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:Di.VMP},temporality:Ai.CHRONIC,name:[{lang:h.FR,value:"Lumexor 200 mg"},{lang:h.NL,value:"Lumexor 200 mg"}],posology:[{quantity:{unit:Kt._00007,value:1},daytime:{dayPeriod:Qt.MORNING},dayPart:gt.MORNING},{quantity:{unit:Kt._00007,value:1},daytime:{dayPeriod:Qt.AFTERNOON},dayPart:gt.NOON},{quantity:{unit:Kt._00007,value:1},daytime:{dayPeriod:Qt.EVENING},dayPart:gt.EVENING}],instructions:[{lang:h.EN,value:"Exemple FICTIF - NE PAS UTILISER"}],treatmentStartDate:"2025-07-28"}],source:Ele.VITALINK}],errors:[]},Wle=(()=>{const t=class t extends rh{constructor(){super(...arguments),this.demoService=_(P2e)}find(a){return this.demoService.post("/v1/medicationscheme",LRe,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})(),xr=class Ii{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=Ii.hexChars,a=Ii.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(Ii.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,Ii._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,Ii._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,Ii._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(Ii.buffer32Identity.subarray(r),r),n>55&&(Ii._md5cycle(this._state,i),i.set(Ii.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 Ii._md5cycle(this._state,i),t?this._state:Ii._hex(this._state)}};xr.stateIdentity=new Int32Array([1732584193,-271733879,-1732584194,271733878]);xr.buffer32Identity=new Int32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);xr.hexChars="0123456789abcdef";xr.hexOut=[];xr.onePassHasher=new xr;if(xr.hashStr("hello")!=="5d41402abc4b2a76b9719d911017c592")throw new Error("Md5 self test failed.");var Wy=(()=>{const t=class t extends $C{constructor(a,i){super(a.getServices(),Wr.MEDICATION_SCHEME,i.getInstance().isOfflineAuthenticated,i.getInstance().isOfflineDataStorageEnabled,Wr.MEDICATION_SCHEME),this.medicationSchemeApiService=_(rh),this.authServiceSelector=_(Ol),this.medicationSchemeStateSubject$=new Gr({status:fr.INITIAL}),this.medicationSchemeState$=this.medicationSchemeStateSubject$.asObservable(),this.fnsOptions={weekStartsOn:1},this.addIdToMedication=()=>r=>r.pipe(It(s=>dt(pe({},s),{schemes:s.schemes.map(l=>dt(pe({},l),{medications:l.medications.map((c,d)=>dt(pe({},c),{id:c.id??xr.hashStr(JSON.stringify(c)),index:d}))}))})))}fetchMedicationScheme(a=!0){return va(this,null,function*(){return F2e(this.getData(a),this.medicationSchemeStateSubject$)})}getPageState(){return this.services.cacheDataStorage.get(Wr.MEDICATION_SCHEME_PAGE_STATE)??{filter:sl.ALL,view:0,date:{displayDate:new Date,startOfWeek:ni(new Date,this.fnsOptions),endOfWeek:Xg(new Date,this.fnsOptions)}}}setPageState(a){let i=this.getPageState(),r=pe(pe({},i),a);this.services.cacheDataStorage.set(Wr.MEDICATION_SCHEME_PAGE_STATE,r)}getDataFromBackend(){return va(this,null,function*(){let a=yield this.authServiceSelector.getInstance().resolveSsin();return ohe(this.medicationSchemeApiService.find(a).pipe(this.addIdToMedication()))})}setClientId(a){this.medicationSchemeApiService.setClientId(a)}};t.ɵfac=function(a){return new(a||t)(Ce(ah),Ce(Ol))},t.ɵprov=Z({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),FRe=(e,t)=>e.getEnvironmentVariable("env")===rr.DEMO?t.get(Wle):t.get(Ule),VRe={provide:rh,useFactory:FRe,deps:[Rs,ut]},qle=(()=>{const t=class t{constructor(){this.renderer=_(ri),this.el=_(Oe),this.fieldErrors=null,this.medicationIndex=null}ngOnChanges(a){this.medicationIndex!=null&&Ale(this.fieldErrors,this.medicationIndex)?this.renderer.addClass(this.el.nativeElement,"error-row"):this.renderer.removeClass(this.el.nativeElement,"error-row")}};t.ɵfac=function(a){return new(a||t)},t.ɵdir=de({type:t,selectors:[["","highlightErrorRow",""]],inputs:{fieldErrors:"fieldErrors",medicationIndex:"medicationIndex"},features:[$t]});let e=t;return e})(),zRe=["*"],BRe=(e,t,n,a,i)=>({"custom-content":e,circle:t,progress:n,"progress-dark":a,pulse:i});function jRe(e,t){e&1&&ke(0)}function HRe(e,t){if(e&1&&(D(0,"div",0),V(1,jRe,1,0),T()),e&2){let n=L(),a=Ov(0),i=Ov(1);N("ngClass",Mve(5,BRe,a==="custom-content",a==="circle",i==="progress",i==="progress-dark",i==="pulse"))("ngStyle",n.styles()),be("aria-label",n.ariaLabel())("aria-valuetext",n.loadingText()),C(),U(a==="custom-content"?1:-1)}}var Gle=new Y("ngx-skeleton-loader.config"),uc=(()=>{var t;const n=class n{constructor(){T0(this,t);var i,r,s,l,c,d;O0(this,t,_(Gle,{optional:!0})),this.count=ne(((i=Rn(this,t))==null?void 0:i.count)||1,{transform:vn}),this.loadingText=ne(((r=Rn(this,t))==null?void 0:r.loadingText)||"Loading..."),this.appearance=ne(((s=Rn(this,t))==null?void 0:s.appearance)||"line"),this.animation=ne(((l=Rn(this,t))==null?void 0:l.animation)||"progress"),this.ariaLabel=ne(((c=Rn(this,t))==null?void 0:c.ariaLabel)||"loading"),this.theme=ne(((d=Rn(this,t))==null?void 0:d.theme)||null),this.items=ta(()=>{let u=this.count()||1;return this.appearance()==="custom-content"&&Kve(),[...Array(u)].map((p,v)=>v)}),this.styles=ta(()=>{var p,v,g;let u=this.theme();return(v=(p=Rn(this,t))==null?void 0:p.theme)!=null&&v.extendsFromRoot?pe(pe({},(g=Rn(this,t))==null?void 0:g.theme),u):u})}};t=new WeakMap,n.ɵfac=function(i){return new(i||n)},n.ɵcmp=X({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:zRe,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&&(st(),lg(0)(1),Ga(2,HRe,2,11,"div",0,Ni)),i&2&&(Tv(r.appearance()),C(),Tv(r.animation()),C(),$a(r.items()))},dependencies:[Ss,oE],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})(),hc=(()=>{const t=class t{static forRoot(a){return{ngModule:t,providers:[{provide:Gle,useValue:a}]}}};t.ɵfac=function(a){return new(a||t)},t.ɵmod=yt({type:t}),t.ɵinj=bt({imports:[ug]});let e=t;return e})(),URe=(()=>{const t=class t{constructor(){this.creationDetails=_(Bg)}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({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&&(D(0,"h2",0),F(1),O(2,"translate"),T(),D(3,"mat-dialog-content")(4,"dl")(5,"dt"),F(6),O(7,"translate"),T(),D(8,"dd"),F(9),T(),D(10,"dt"),F(11),O(12,"translate"),T(),D(13,"dd"),F(14),O(15,"date"),T(),D(16,"dt"),F(17),O(18,"translate"),T(),D(19,"dd"),F(20),O(21,"fullname"),T(),D(22,"dt"),F(23),O(24,"translate"),T(),D(25,"dd"),F(26),O(27,"translate"),O(28,"firstLetterUppercase"),T(),D(29,"dt"),F(30),O(31,"translate"),T(),D(32,"dd"),F(33),O(34,"translate"),T()()(),D(35,"mat-dialog-actions")(36,"button",1),F(37),O(38,"translate"),T()()),a&2&&(C(),Re(P(2,13,"medicationSchemeCreationDetails.title")),C(5),te("",P(7,15,"medicationSchemeCreationDetails.version"),":"),C(3),Re(i.creationDetails.version),C(2),te("",P(12,17,"medicationSchemeCreationDetails.updated"),":"),C(3),Re(wt(15,19,i.creationDetails.lastChange.date,"dd/MM/yyyy")),C(3),te("",P(18,22,"medicationSchemeCreationDetails.author"),":"),C(3),Re(P(21,24,i.creationDetails.lastChange==null?null:i.creationDetails.lastChange.author)),C(3),te("",P(24,26,"medicationSchemeCreationDetails.profession"),":"),C(2),be("translate","no"),C(),te(" ",P(28,30,P(27,28,"commons.roles."+i.creationDetails.lastChange.author.role.toLowerCase()))," "),C(4),te("",P(31,32,"medicationSchemeCreationDetails.source"),":"),C(3),Re(P(34,34,"commons.safes."+i.creationDetails.source.toLowerCase())),C(4),Re(P(38,36,"commons.close")))},dependencies:[Ku,Qu,Xu,Zu,Ka,Xn,St,Ds,dc,Qi],styles:["dd[_ngcontent-%COMP%]{color:#0d0d0d;margin-inline-start:0;margin-bottom:16px}"],changeDetection:0});let e=t;return e})(),WRe=()=>({height:"47px",width:"50%",margin:"0px"});function qRe(e,t){e&1&&H(0,"ngx-skeleton-loader",0),e&2&&N("count",1)("theme",gn(2,WRe))}function GRe(e,t){if(e&1&&(D(0,"dl")(1,"dt"),F(2),O(3,"translate"),T(),D(4,"dd"),F(5),T(),D(6,"dt"),F(7),O(8,"translate"),T(),D(9,"dd"),F(10),O(11,"date"),T(),D(12,"dt"),F(13),O(14,"translate"),T(),D(15,"dd"),F(16),O(17,"fullname"),O(18,"translate"),O(19,"firstLetterUppercase"),T(),D(20,"dt"),F(21),O(22,"translate"),T(),D(23,"dd"),F(24),O(25,"translate"),T()()),e&2){let n,a=L();C(2),te("",P(3,10,"medicationSchemeCreationDetails.version"),":"),C(3),Re(a.creationDetails().version),C(2),te("",P(8,12,"medicationSchemeCreationDetails.updated"),":"),C(3),Re(wt(11,14,a.creationDetails().lastChange.date,"dd/MM/yyyy, HH:mm")),C(3),te("",P(14,17,"medicationSchemeCreationDetails.updatedBy"),":"),C(2),be("translate","no"),C(),qn(" ",P(17,19,(n=a.creationDetails().lastChange)==null?null:n.author),", ",P(19,23,P(18,21,"commons.roles."+a.creationDetails().lastChange.author.role.toLowerCase()))," "),C(5),te("",P(22,25,"medicationSchemeCreationDetails.source"),":"),C(3),Re(P(25,27,"commons.safes."+a.creationDetails().source.toLowerCase()))}}var $Re=(()=>{const t=class t{constructor(){this.matDialog=_(As),this.isLoading=ne.required(),this.creationDetails=ne.required()}openCreationDetails(){this.matDialog.open(URe,{data:this.creationDetails()})}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({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&&V(0,qRe,1,3,"ngx-skeleton-loader",0)(1,GRe,26,29,"dl"),a&2&&U(i.isLoading()?0:i.creationDetails()?1:-1)},dependencies:[Ka,St,hc,uc,dc,Qi,Ds],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})(),YRe=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",X({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})(),ZRe={passive:!0},KRe=(()=>{const t=class t{constructor(){o(this,"_platform",_(Yt));o(this,"_ngZone",_(Ne));o(this,"_renderer",_(Fi).createRenderer(null,null));o(this,"_styleLoader",_(Ma));o(this,"_monitoredElements",new Map)}monitor(a){if(!this._platform.isBrowser)return zl;this._styleLoader.load(YRe);let i=Hn(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"),Oa(this._renderer,i,"animationstart",c,ZRe)));return this._monitoredElements.set(i,{subject:s,unlisten:d}),s}stopMonitoring(a){let i=Hn(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})(),QRe=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",bt({}));let e=t;return e})(),XRe=["button","checkbox","file","hidden","image","radio","range","reset","submit"],JRe=new Y("MAT_INPUT_CONFIG"),eMe=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Oe));o(this,"_platform",_(Yt));o(this,"ngControl",_(Cg,{optional:!0,self:!0}));o(this,"_autofillMonitor",_(KRe));o(this,"_ngZone",_(Ne));o(this,"_formField",_(ic,{optional:!0}));o(this,"_renderer",_(ri));o(this,"_uid",_(ha).getId("mat-input-"));o(this,"_previousNativeValue");o(this,"_inputValueAccessor");o(this,"_signalBasedValueAccessor");o(this,"_previousPlaceholder");o(this,"_errorStateTracker");o(this,"_config",_(JRe,{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=>nb().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=_($u,{optional:!0}),r=_(Dg),s=_(dk,{optional:!0,self:!0}),l=this._elementRef.nativeElement,c=l.nodeName.toLowerCase();s?vl(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 Ig(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&&Fu(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}get disabled(){return this._disabled}set disabled(a){this._disabled=qo(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(Is.required))??!1}set required(a){this._required=qo(a)}get type(){return this._type}set type(a){let i=this._type;this._type=a||"text",this._validateType(),!this._isTextarea&&nb().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=qo(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(){XRe.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",de({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&&(xn("id",i.id)("disabled",i.disabled&&!i.disabledInteractive)("required",i.required),be("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),we("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:[lt([{provide:Yu,useExisting:t}]),$t]}));let e=t;return e})(),tMe=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",bt({imports:[Vt,Sl,Sl,QRe,Vt]}));let e=t;return e})(),aMe=e=>({visibility:e});function iMe(e,t){if(e&1){let n=Et();D(0,"mat-form-field")(1,"input",8),xe("dateChange",function(a){Se(n);let i=L();return De(i.onChangeDate(a))}),T(),H(2,"mat-datepicker",null,0),T(),D(4,"a",9),O(5,"translate"),xe("click",function(){Se(n);let a=Ya(3);return De(a.open())}),F(6),O(7,"date"),O(8,"firstLetterUppercase"),H(9,"br"),F(10),O(11,"date"),O(12,"firstLetterUppercase"),T()}if(e&2){let n=Ya(3),a=L();Kn("height","0px")("width","0px"),C(),N("matDatepicker",n),C(3),be("aria-label",P(5,8,"medicationSchemeDateToggler.openCalendar")),C(2),te(" ",P(8,15,Yr(7,10,a.activeDate().displayDate,"EEEE",void 0,a.locale))," "),C(4),te(" ",P(12,22,Yr(11,17,a.activeDate().displayDate,"dd MMMM yyyy",void 0,a.locale))," ")}}function nMe(e,t){if(e&1&&(D(0,"span"),F(1),O(2,"date"),O(3,"date"),H(4,"br"),F(5),O(6,"date"),T()),e&2){let n=L(2);C(),qn(" ",Yr(2,3,n.activeDate().startOfWeek,"dd",void 0,n.locale)," - ",Yr(3,8,n.activeDate().endOfWeek,"dd",void 0,n.locale)," "),C(4),te(" ",Yr(6,13,n.activeDate().endOfWeek,"MMMM y",void 0,n.locale)," ")}}function rMe(e,t){if(e&1&&(F(0),O(1,"date"),H(2,"br"),F(3," - "),H(4,"br"),F(5),O(6,"date")),e&2){let n=L(2);te(" ",Yr(1,2,n.activeDate().startOfWeek,"dd MMMM y",void 0,n.locale)," "),C(5),te(" ",Yr(6,7,n.activeDate().endOfWeek,"dd MMMM y",void 0,n.locale)," ")}}function oMe(e,t){if(e&1){let n=Et();D(0,"mat-form-field")(1,"mat-date-range-input",10)(2,"input",11),xe("dateChange",function(a){Se(n);let i=L();return De(i.onChangeDate(a))}),T(),H(3,"input",12),T(),H(4,"mat-date-range-picker",null,0),T(),D(6,"a",9),O(7,"translate"),xe("click",function(){Se(n);let a=Ya(5);return De(a.open())}),V(8,nMe,7,18,"span")(9,rMe,7,12),T()}if(e&2){let n=Ya(5),a=L();Kn("height","0px")("width","0px"),C(),N("rangePicker",n),C(),N("value",a.activeDate().startOfWeek),C(),N("value",a.activeDate().endOfWeek),C(3),be("aria-label",P(7,9,"medicationSchemeDateToggler.openCalendar")),C(2),U(a.activeDate().startOfWeek.getFullYear()===a.activeDate().endOfWeek.getFullYear()?8:9)}}var sMe=(()=>{const t=class t{constructor(){this.translate=_(Fa),this.dateAdapter=_(Ia),this.destroyRef=_(xi),this.activeDate=Es.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(cc(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=i0(this.activeDate().displayDate);break;case ja.WEEK:this.activeDate().displayDate=v2e(this.activeDate().displayDate);break}this.emitDateChange()}onToggleNext(){switch(this.activeDate().view){case ja.DAY:this.activeDate().displayDate=Ki(this.activeDate().displayDate,1);break;case ja.WEEK:this.activeDate().displayDate=Qg(this.activeDate().displayDate,1);break}this.emitDateChange()}onSetCurrent(){this.activeDate().displayDate=Ct(new Date),this.emitDateChange()}isDisplayDateToday(a){return g2e(new Date(a))}isDisplayDateThisWeek(a){return f2e(new Date(a),this.fnsOptions)}emitDateChange(){this.activeDate.set(dt(pe({},this.activeDate()),{startOfWeek:ni(this.activeDate().displayDate,this.fnsOptions),endOfWeek:Xg(this.activeDate().displayDate,this.fnsOptions)}))}};t.ɵfac=function(a){return new(a||t)},t.ɵcmp=X({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&&(D(0,"div",1)(1,"div",2)(2,"button",3),O(3,"translate"),xe("click",function(){return i.onTogglePrevious()}),H(4,"mat-icon",4),T(),D(5,"div"),V(6,iMe,13,24)(7,oMe,10,11),T(),D(8,"button",3),O(9,"translate"),xe("click",function(){return i.onToggleNext()}),H(10,"mat-icon",5),T()(),D(11,"a",6),O(12,"translate"),xe("click",function(){return i.onSetCurrent()}),H(13,"mat-icon",7),F(14),O(15,"translate"),T()()),a&2&&(C(2),be("aria-label",P(3,6,"medicationSchemeDateToggler.previous"+i.activeDate().view)),C(4),U(i.activeDate().view===i.views.DAY?6:7),C(2),be("aria-label",P(9,8,"medicationSchemeDateToggler.next"+i.activeDate().view)),C(3),N("ngStyle",ii(14,aMe,i.isDisplayDateToday(i.activeDate().displayDate)&&i.isDisplayDateThisWeek(i.activeDate().displayDate)?"hidden":"visible")),be("aria-label",P(12,10,"medicationSchemeDateToggler.returnTo"+(i.activeDate().view===i.views.DAY?"Today":"CurrentWeek"))),C(3),te(" ",P(15,12,"medicationSchemeDateToggler.returnTo"+(i.activeDate().view===i.views.DAY?"Today":"CurrentWeek"))," "))},dependencies:[Hwe,Sl,pk,tMe,eMe,Exe,hxe,Og,Ek,_xe,xxe,wxe,Ka,I_e,ec,_o,Vi,St,Qi,Ds,oE],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})(),lMe=[[["caption"]],[["colgroup"],["col"]],"*"],cMe=["caption","colgroup, col","*"];function dMe(e,t){e&1&&ke(0,2)}function uMe(e,t){e&1&&(D(0,"thead",0),Ca(1,1),T(),D(2,"tbody",0),Ca(3,2)(4,3),T(),D(5,"tfoot",0),Ca(6,4),T())}function hMe(e,t){e&1&&Ca(0,1)(1,2)(2,3)(3,4)}var wn=new Y("CDK_TABLE"),Hm=(()=>{const t=class t{constructor(){o(this,"template",_(ya))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["","cdkCellDef",""]]}));let e=t;return e})(),Um=(()=>{const t=class t{constructor(){o(this,"template",_(ya))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["","cdkHeaderCellDef",""]]}));let e=t;return e})(),pMe=(()=>{const t=class t{constructor(){o(this,"template",_(ya))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["","cdkFooterCellDef",""]]}));let e=t;return e})(),Al=(()=>{const t=class t{constructor(){o(this,"_table",_(wn,{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",de({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(a,i,r){if(a&1&&(mt(r,Hm,5),mt(r,Um,5),mt(r,pMe,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:[lt([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}])]}));let e=t;return e})(),$le=class{constructor(e,t){t.nativeElement.classList.add(...e._columnCssClassName)}},mMe=(()=>{const t=class t extends $le{constructor(){super(_(Al),_(Oe))}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[ze]}));let e=t;return e})(),fMe=(()=>{const t=class t extends $le{constructor(){var s;let a=_(Al),i=_(Oe);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",de({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[ze]}));let e=t;return e})(),qy=class{constructor(){o(this,"tasks",[]);o(this,"endTasks",[])}},Wm=new Y("_COALESCED_STYLE_SCHEDULER"),Yle=(()=>{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 qy,this._ngZone.runOutsideAngular(()=>queueMicrotask(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let a=this._currentSchedule;this._currentSchedule=new qy;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})(),c0=(()=>{const t=class t{constructor(){o(this,"template",_(ya));o(this,"_differs",_(Cs));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 iu?a.headerCell.template:this instanceof Zle?a.footerCell.template:a.cell.template}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,features:[$t]}));let e=t;return e})(),iu=(()=>{const t=class t extends c0{constructor(){super(_(ya),_(Cs));o(this,"_table",_(wn,{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",de({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",fe]},features:[ze,$t]}));let e=t;return e})(),Zle=(()=>{const t=class t extends c0{constructor(){super(_(ya),_(Cs));o(this,"_table",_(wn,{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",de({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",fe]},features:[ze,$t]}));let e=t;return e})(),qm=(()=>{const t=class t extends c0{constructor(){super(_(ya),_(Cs));o(this,"_table",_(wn,{optional:!0}));o(this,"when")}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",de({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},features:[ze]}));let e=t;return e})(),ls=(()=>{const t=class t{constructor(){o(this,"_viewContainer",_(oi));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",de({type:t,selectors:[["","cdkCellOutlet",""]]}));let e=t;return e})(),Gy=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",X({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:[ls],encapsulation:2}));let e=t;return e})(),$y=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",X({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:[ls],encapsulation:2}));let e=t;return e})(),gMe=(()=>{const t=class t{constructor(){o(this,"templateRef",_(ya));o(this,"_contentClassName","cdk-no-data-row")}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["ng-template","cdkNoDataRow",""]]}));let e=t;return e})(),Yy=["top","bottom","left","right"],vMe=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 E,S;if(!e.length||!this._isBrowser||!(t.some(A=>A)||n.some(A=>A))){(E=this._positionListener)==null||E.stickyColumnsUpdated({sizes:[]}),(S=this._positionListener)==null||S.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),v,g,w;i&&this._updateStickyColumnReplayQueue({rows:[...e],stickyStartStates:[...t],stickyEndStates:[...n]}),this._afterNextRender({earlyRead:()=>{v=this._getCellWidths(r,a),g=this._getStickyStartColumnPositions(v,t),w=this._getStickyEndColumnPositions(v,n)},write:()=>{for(let A of e)for(let B=0;B<s;B++){let j=A.children[B];t[B]&&this._addStickyStyle(j,c,g[B],B===u),n[B]&&this._addStickyStyle(j,d,w[B],B===p)}this._positionListener&&v.some(A=>!!A)&&(this._positionListener.stickyColumnsUpdated({sizes:u===-1?[]:v.slice(0,u+1).map((A,B)=>t[B]?A:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:p===-1?[]:v.slice(p).map((A,B)=>n[B+p]?A: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 v=r[p],g=p===c;for(let w of l[p])this._addStickyStyle(w,n,v,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]);Yy.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 Yy)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)&&bMe(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?Wn(e,{injector:this._tableInjector}):this._coalescedStyleScheduler.schedule(()=>{var t;(t=e.earlyRead)==null||t.call(e),e.write()})}};function bMe(e){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(t=>e.classList.contains(t))}var Gm=new Y("CDK_SPL"),Kle=(()=>{const t=class t{constructor(){o(this,"viewContainer",_(oi));o(this,"elementRef",_(Oe));let a=_(wn);a._rowOutlet=this,a._outletAssigned()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["","rowOutlet",""]]}));let e=t;return e})(),Qle=(()=>{const t=class t{constructor(){o(this,"viewContainer",_(oi));o(this,"elementRef",_(Oe));let a=_(wn);a._headerRowOutlet=this,a._outletAssigned()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["","headerRowOutlet",""]]}));let e=t;return e})(),Xle=(()=>{const t=class t{constructor(){o(this,"viewContainer",_(oi));o(this,"elementRef",_(Oe));let a=_(wn);a._footerRowOutlet=this,a._outletAssigned()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["","footerRowOutlet",""]]}));let e=t;return e})(),Jle=(()=>{const t=class t{constructor(){o(this,"viewContainer",_(oi));o(this,"elementRef",_(Oe));let a=_(wn);a._noDataRowOutlet=this,a._outletAssigned()}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["","noDataRowOutlet",""]]}));let e=t;return e})(),Zy=(()=>{const t=class t{constructor(){o(this,"_differs",_(Cs));o(this,"_changeDetectorRef",_(kt));o(this,"_elementRef",_(Oe));o(this,"_dir",_(La,{optional:!0}));o(this,"_platform",_(Yt));o(this,"_viewRepeater",_(fm));o(this,"_coalescedStyleScheduler",_(Wm));o(this,"_viewportRuler",_(Xl));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",_(ut));_(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(),jh(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===rl.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=Ky(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=Ky(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(),Jc(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(a=>{this._columnDefsByName.has(a.name),this._columnDefsByName.set(a.name,a)})}_cacheRowDefs(){this._headerRowDefs=Jc(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Jc(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Jc(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=[],jh(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;jh(this.dataSource)?a=this.dataSource.connect(this):jo(this.dataSource)?a=this.dataSource:Array.isArray(this.dataSource)&&(a=vt(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))ls.mostRecentCellOutlet&&ls.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 vMe(this._isNativeHtmlTable,this.stickyCssClass,a,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener,this._injector),(this._dir?this._dir.change:vt()).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",X({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(a,i,r){if(a&1&&(mt(r,gMe,5),mt(r,Al,5),mt(r,qm,5),mt(r,iu,5),mt(r,Zle,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&&we("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:[lt([{provide:wn,useExisting:t},{provide:fm,useClass:lC},{provide:Wm,useClass:Yle},{provide:Gm,useValue:null}])],ngContentSelectors:cMe,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(a,i){a&1&&(st(lMe),ke(0),ke(1,1),V(2,dMe,1,0)(3,uMe,7,0)(4,hMe,4,0)),a&2&&(C(2),U(i._isServer?2:-1),C(),U(i._isNativeHtmlTable?3:4))},dependencies:[Qle,Kle,Jle,Xle],styles:[`.cdk-table-fixed-layout{table-layout:fixed}
64
64
  `],encapsulation:2}));let e=t;return e})();function Jc(e,t){return e.concat(Array.from(t))}function Ky(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 yMe=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",bt({imports:[gm]}));let e=t;return e})(),_Me=[[["caption"]],[["colgroup"],["col"]],"*"],xMe=["caption","colgroup, col","*"];function wMe(e,t){e&1&&ke(0,2)}function EMe(e,t){e&1&&(D(0,"thead",0),Ca(1,1),T(),D(2,"tbody",2),Ca(3,3)(4,4),T(),D(5,"tfoot",0),Ca(6,5),T())}function kMe(e,t){e&1&&Ca(0,1)(1,3)(2,4)(3,5)}var ece=(()=>{const t=class t extends Zy{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",X({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&&we("mdc-table-fixed-layout",r.fixedLayout)},exportAs:["matTable"],features:[lt([{provide:Zy,useExisting:t},{provide:wn,useExisting:t},{provide:Wm,useClass:Yle},{provide:fm,useClass:lC},{provide:Gm,useValue:null}]),ze],ngContentSelectors:xMe,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,r){i&1&&(st(_Me),ke(0),ke(1,1),V(2,wMe,1,0)(3,EMe,7,0)(4,kMe,4,0)),i&2&&(C(2),U(r._isServer?2:-1),C(),U(r._isNativeHtmlTable?3:4))},dependencies:[Qle,Kle,Jle,Xle],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}
65
65
  `],encapsulation:2}));let e=t;return e})(),tce=(()=>{const t=class t extends Hm{};o(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=tt(t)))(i||t)}})()),o(t,"ɵdir",de({type:t,selectors:[["","matCellDef",""]],features:[lt([{provide:Hm,useExisting:t}]),ze]}));let e=t;return e})(),ace=(()=>{const t=class t extends Um{};o(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=tt(t)))(i||t)}})()),o(t,"ɵdir",de({type:t,selectors:[["","matHeaderCellDef",""]],features:[lt([{provide:Um,useExisting:t}]),ze]}));let e=t;return e})(),ice=(()=>{const t=class t extends Al{get name(){return this._name}set name(a){this._setNameInput(a)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}};o(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=tt(t)))(i||t)}})()),o(t,"ɵdir",de({type:t,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},features:[lt([{provide:Al,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),ze]}));let e=t;return e})(),nce=(()=>{const t=class t extends mMe{};o(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=tt(t)))(i||t)}})()),o(t,"ɵdir",de({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[ze]}));let e=t;return e})(),rce=(()=>{const t=class t extends fMe{};o(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=tt(t)))(i||t)}})()),o(t,"ɵdir",de({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[ze]}));let e=t;return e})(),oce=(()=>{const t=class t extends iu{};o(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=tt(t)))(i||t)}})()),o(t,"ɵdir",de({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",fe]},features:[lt([{provide:iu,useExisting:t}]),ze]}));let e=t;return e})(),sce=(()=>{const t=class t extends qm{};o(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=tt(t)))(i||t)}})()),o(t,"ɵdir",de({type:t,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},features:[lt([{provide:qm,useExisting:t}]),ze]}));let e=t;return e})(),lce=(()=>{const t=class t extends Gy{};o(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=tt(t)))(i||t)}})()),o(t,"ɵcmp",X({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[lt([{provide:Gy,useExisting:t}]),ze],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a,i){a&1&&Ca(0,0)},dependencies:[ls],encapsulation:2}));let e=t;return e})(),cce=(()=>{const t=class t extends $y{};o(t,"ɵfac",(()=>{let a;return function(i){return(a||(a=tt(t)))(i||t)}})()),o(t,"ɵcmp",X({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[lt([{provide:$y,useExisting:t}]),ze],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a,i){a&1&&Ca(0,0)},dependencies:[ls],encapsulation:2}));let e=t;return e})(),dce=(()=>{const t=class t{};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵmod",yt({type:t})),o(t,"ɵinj",bt({imports:[Vt,yMe,Vt]}));let e=t;return e})(),CMe=9007199254740991,uce=class extends $ye{constructor(t=[]){super();o(this,"_data");o(this,"_renderData",new Gr([]));o(this,"_filter",new Gr(""));o(this,"_internalPageChanges",new me);o(this,"_renderChangesSubscription",null);o(this,"filteredData");o(this,"_sort");o(this,"_paginator");o(this,"sortingDataAccessor",(t,n)=>{let a=t[n];if(pE(a)){let i=Number(a);return i<CMe?i:a}return a});o(this,"sortData",(t,n)=>{let a=n.active,i=n.direction;return!a||i==""?t:t.sort((r,s)=>{let l=this.sortingDataAccessor(r,a),c=this.sortingDataAccessor(s,a),d=typeof l,u=typeof c;d!==u&&(d==="number"&&(l+=""),u==="number"&&(c+=""));let p=0;return l!=null&&c!=null?l>c?p=1:l<c&&(p=-1):l!=null?p=1:c!=null&&(p=-1),p*(i=="asc"?1:-1)})});o(this,"filterPredicate",(t,n)=>{let a=n.trim().toLowerCase();return Object.values(t).some(i=>`${i}`.toLowerCase().includes(a))});this._data=new Gr(t),this._updateChangeSubscription()}get data(){return this._data.value}set data(t){t=Array.isArray(t)?t:[],this._data.next(t),this._renderChangesSubscription||this._filterData(t)}get filter(){return this._filter.value}set filter(t){this._filter.next(t),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(t){this._sort=t,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(t){this._paginator=t,this._updateChangeSubscription()}_updateChangeSubscription(){var l;let t=this._sort?ba(this._sort.sortChange,this._sort.initialized):vt(null),n=this._paginator?ba(this._paginator.page,this._internalPageChanges,this._paginator.initialized):vt(null),a=this._data,i=id([a,this._filter]).pipe(It(([c])=>this._filterData(c))),r=id([i,t]).pipe(It(([c])=>this._orderData(c))),s=id([r,n]).pipe(It(([c])=>this._pageData(c)));(l=this._renderChangesSubscription)==null||l.unsubscribe(),this._renderChangesSubscription=s.subscribe(c=>this._renderData.next(c))}_filterData(t){return this.filteredData=this.filter==null||this.filter===""?t:t.filter(n=>this.filterPredicate(n,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(t){return this.sort?this.sortData(t.slice(),this.sort):t}_pageData(t){if(!this.paginator)return t;let n=this.paginator.pageIndex*this.paginator.pageSize;return t.slice(n,n+this.paginator.pageSize)}_updatePaginator(t){Promise.resolve().then(()=>{let n=this.paginator;if(n&&(n.length=t,n.pageIndex>0)){let a=Math.ceil(n.length/n.pageSize)-1||0,i=Math.min(n.pageIndex,a);i!==n.pageIndex&&(n.pageIndex=i,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var t;(t=this._renderChangesSubscription)==null||t.unsubscribe(),this._renderChangesSubscription=null}},SMe=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],DMe=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function IMe(e,t){e&1&&(D(0,"span",3),ke(1,1),T())}function TMe(e,t){e&1&&(D(0,"span",6),ke(1,2),T())}var OMe=["*"],Qy=new Y("MatChipAvatar"),Xy=new Y("MatChipTrailingIcon"),Jy=new Y("MatChipRemove"),hce=new Y("MatChip"),e_=(()=>{const t=class t{constructor(){o(this,"_elementRef",_(Oe));o(this,"_parentChip",_(hce));o(this,"isInteractive",!0);o(this,"_isPrimary",!0);o(this,"_disabled",!1);o(this,"tabIndex",-1);o(this,"_allowFocusWhenDisabled",!1);_(Ma).load(Qn),this._elementRef.nativeElement.nodeName==="BUTTON"&&this._elementRef.nativeElement.setAttribute("type","button")}get disabled(){var a;return this._disabled||((a=this._parentChip)==null?void 0:a.disabled)||!1}set disabled(a){this._disabled=a}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}focus(){this._elementRef.nativeElement.focus()}_handleClick(a){!this.disabled&&this.isInteractive&&this._isPrimary&&(a.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(a){(a.keyCode===13||a.keyCode===32)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(a.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",de({type:t,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(a,i){a&1&&xe("click",function(r){return i._handleClick(r)})("keydown",function(r){return i._handleKeydown(r)}),a&2&&(be("tabindex",i._getTabindex())("disabled",i._getDisabledAttribute())("aria-disabled",i.disabled),we("mdc-evolution-chip__action--primary",i._isPrimary)("mdc-evolution-chip__action--presentational",!i.isInteractive)("mdc-evolution-chip__action--trailing",!i._isPrimary))},inputs:{isInteractive:"isInteractive",disabled:[2,"disabled","disabled",fe],tabIndex:[2,"tabIndex","tabIndex",a=>a==null?-1:vn(a)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"}}));let e=t;return e})(),oh=(()=>{const t=class t{constructor(){o(this,"_changeDetectorRef",_(kt));o(this,"_elementRef",_(Oe));o(this,"_ngZone",_(Ne));o(this,"_focusMonitor",_(go));o(this,"_globalRippleOptions",_(bg,{optional:!0}));o(this,"_document",_(it));o(this,"_onFocus",new me);o(this,"_onBlur",new me);o(this,"_isBasicChip");o(this,"role",null);o(this,"_hasFocusInternal",!1);o(this,"_pendingFocus");o(this,"_actionChanges");o(this,"_animationsDisabled");o(this,"_allLeadingIcons");o(this,"_allTrailingIcons");o(this,"_allRemoveIcons");o(this,"id",_(ha).getId("mat-mdc-chip-"));o(this,"ariaLabel",null);o(this,"ariaDescription",null);o(this,"_ariaDescriptionId",`${this.id}-aria-description`);o(this,"_chipListDisabled",!1);o(this,"_textElement");o(this,"_value");o(this,"color");o(this,"removable",!0);o(this,"highlighted",!1);o(this,"disableRipple",!1);o(this,"_disabled",!1);o(this,"removed",new ie);o(this,"destroyed",new ie);o(this,"basicChipAttrName","mat-basic-chip");o(this,"leadingIcon");o(this,"trailingIcon");o(this,"removeIcon");o(this,"primaryAction");o(this,"_rippleLoader",_(FE));o(this,"_injector",_(ut));var r;let a=_(Ma);a.load(Qn),a.load(vo);let i=_(Ra,{optional:!0});this._animationsDisabled=i==="NoopAnimations",this._monitorFocus(),(r=this._rippleLoader)==null||r.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}_hasFocus(){return this._hasFocusInternal}get value(){return this._value!==void 0?this._value:this._textElement.textContent.trim()}set value(a){this._value=a}get disabled(){return this._disabled||this._chipListDisabled}set disabled(a){this._disabled=a}ngOnInit(){let a=this._elementRef.nativeElement;this._isBasicChip=a.hasAttribute(this.basicChipAttrName)||a.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=ba(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){var a,i;this._focusMonitor.stopMonitoring(this._elementRef),(a=this._rippleLoader)==null||a.destroyRipple(this._elementRef.nativeElement),(i=this._actionChanges)==null||i.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){var a;return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!((a=this._globalRippleOptions)!=null&&a.disabled)}_hasTrailingIcon(){return!!(this.trailingIcon||this.removeIcon)}_handleKeydown(a){(a.keyCode===8&&!a.repeat||a.keyCode===46)&&(a.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(a){return this._getActions().find(i=>{let r=i._elementRef.nativeElement;return r===a||r.contains(a)})}_getActions(){let a=[];return this.primaryAction&&a.push(this.primaryAction),this.removeIcon&&a.push(this.removeIcon),this.trailingIcon&&a.push(this.trailingIcon),a}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(a=>{let i=a!==null;i!==this._hasFocusInternal&&(this._hasFocusInternal=i,i?this._onFocus.next({chip:this}):(this._changeDetectorRef.markForCheck(),setTimeout(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})))))})}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",X({type:t,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(a,i,r){if(a&1&&(mt(r,Qy,5),mt(r,Xy,5),mt(r,Jy,5),mt(r,Qy,5),mt(r,Xy,5),mt(r,Jy,5)),a&2){let s;ye(s=_e())&&(i.leadingIcon=s.first),ye(s=_e())&&(i.trailingIcon=s.first),ye(s=_e())&&(i.removeIcon=s.first),ye(s=_e())&&(i._allLeadingIcons=s),ye(s=_e())&&(i._allTrailingIcons=s),ye(s=_e())&&(i._allRemoveIcons=s)}},viewQuery:function(a,i){if(a&1&&$e(e_,5),a&2){let r;ye(r=_e())&&(i.primaryAction=r.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:31,hostBindings:function(a,i){a&1&&xe("keydown",function(r){return i._handleKeydown(r)}),a&2&&(xn("id",i.id),be("role",i.role)("aria-label",i.ariaLabel),Pi("mat-"+(i.color||"primary")),we("mdc-evolution-chip",!i._isBasicChip)("mdc-evolution-chip--disabled",i.disabled)("mdc-evolution-chip--with-trailing-action",i._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",i.leadingIcon)("mdc-evolution-chip--with-primary-icon",i.leadingIcon)("mdc-evolution-chip--with-avatar",i.leadingIcon)("mat-mdc-chip-with-avatar",i.leadingIcon)("mat-mdc-chip-highlighted",i.highlighted)("mat-mdc-chip-disabled",i.disabled)("mat-mdc-basic-chip",i._isBasicChip)("mat-mdc-standard-chip",!i._isBasicChip)("mat-mdc-chip-with-trailing-icon",i._hasTrailingIcon())("_mat-animation-noopable",i._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",fe],highlighted:[2,"highlighted","highlighted",fe],disableRipple:[2,"disableRipple","disableRipple",fe],disabled:[2,"disabled","disabled",fe]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[lt([{provide:hce,useExisting:t}])],ngContentSelectors:DMe,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(a,i){a&1&&(st(SMe),H(0,"span",0),D(1,"span",1)(2,"span",2),V(3,IMe,2,0,"span",3),D(4,"span",4),ke(5),H(6,"span",5),T()()(),V(7,TMe,2,0,"span",6)),a&2&&(C(2),N("isInteractive",!1),C(),U(i.leadingIcon?3:-1),C(4),U(i._hasTrailingIcon()?7:-1))},dependencies:[e_],styles:[`.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}@media(forced-colors: active){.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{forced-color-adjust:none}}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-outline-width, 1px);border-radius:var(--mdc-chip-container-shape-radius, 8px);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-outline-color, var(--mat-sys-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mdc-chip-focus-outline-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mdc-chip-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mdc-chip-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mdc-chip-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mdc-chip-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mdc-chip-with-avatar-avatar-size, 24px);height:var(--mdc-chip-with-avatar-avatar-size, 24px);font-size:var(--mdc-chip-with-avatar-avatar-size, 24px)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@media(forced-colors: active){.mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius, 8px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}@media(forced-colors: active){.mat-mdc-standard-chip{outline:solid 1px}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 24px);width:var(--mdc-chip-with-icon-icon-size, 18px);height:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity, 0.38)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity, 0.38)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity, 1)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity, 1)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity, 1)}.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}@media(forced-colors: active){.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}}.mat-mdc-chip-action:focus .mat-focus-indicator::before{content:""}.mdc-evolution-chip__icon,.mat-mdc-chip-remove .mat-icon{min-height:fit-content}
@@ -1 +1 @@
1
- import"./assets/polyfills-CGYnV-49.js";import"./assets/main-D0XK97pX.js";/* empty css */
1
+ import"./assets/polyfills-CGYnV-49.js";import"./assets/main-CTa783Mw.js";/* empty css */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smals-belgium-shared/vidis-medication-scheme-list",
3
- "version": "3.4.2-snapshot.2",
3
+ "version": "3.4.2-snapshot.3",
4
4
  "description": "Medication scheme list web component",
5
5
  "main": "medication-scheme-list.js",
6
6
  "author": "smals",