@smals-belgium-shared/vidis-diarynote 3.3.2 → 3.3.3-snapshot.1

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.
@@ -39,7 +39,7 @@ ${t.map((n,i)=>`${i+1}) ${n.toString()}`).join(`
39
39
  `],encapsulation:2,changeDetection:0}));let e=t;return e})();gy(vK());var kce=(()=>{const t=class t{constructor(){this.message=Pt.required()}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["vidis-error-display"]],inputs:{message:[1,"message"]},decls:3,vars:3,consts:[["fontIcon","info"]],template:function(i,a){i&1&&(de(0,"mat-icon",0),B(1),H(2,"translate")),i&2&&(D(),Ie(" ",W(2,1,"commons.errors."+a.message())," "))},dependencies:[Un,_a],styles:["[_nghost-%COMP%]{display:flex;align-items:center;background:#c41c0d0d;color:#c41c0d;font-weight:700;padding:16px}mat-icon[_ngcontent-%COMP%]{margin-right:8px}mat-icon[_ngcontent-%COMP%]{--mat-icon-color: #c41c0d}"]});let e=t;return e})(),eu=(()=>{const t=class t{setServices(i){this.services=i}getServices(){if(!this.services)throw new Error("ComponentServices has not been set yet.");return this.services}hasServices(){return!!this.services}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Ece="4.0",bp=Ece,En=(e=>(e.DEV="dev",e.DEMO="demo",e.INT="int",e.ACC="acc",e.PROD="prod",e))(En||{}),Cce=(()=>{const t=class t{constructor(){o(this,"version");o(this,"language");o(this,"configName");o(this,"services");o(this,"onPrint",new ce);o(this,"_ngInitDone",!1);o(this,"correctlySetup",!1);o(this,"extraRequiredFields",[])}validateVersion(){let i=bp.split(".").map(r=>parseInt(r)),a=(this.version||"").split(".").map(r=>parseInt(r));return a.length!==2?(console.error(`[BaseWebComponent] The given version (${this.version}) has the wrong format <major>.<minor>!`),!1):a[0]!==i[0]?(console.error(`[BaseWebComponent] The given version (${this.version})'s major is not compatible with this component's major version (${bp})!`),!1):!0}validateInputs(){let i=this,a=["language","configName","services","version",...this.extraRequiredFields],{missingFields:r,presentFields:s}=a.reduce((l,c)=>(i[c]===void 0?l.missingFields.push(c):l.presentFields.push(c),l),{missingFields:[],presentFields:[]});return r.length?(console.log(`[BaseWebComponent] Waiting for missing inputs: ${r.join(", ")}; Present inputs: ${s.join(", ")}`),!1):(console.log("[BaseWebComponent] All required inputs are present"),this.validateVersion()?this.services.cacheDataStorage==null?(console.error("[BaseWebComponent] The given services input does not contain a cache service!"),!1):this.services.getAccessToken==null?(console.error("[BaseWebComponent] The given services input does not contain a getAccessToken() function!"),!1):this.services.registerRefreshCallback==null?(console.error("[BaseWebComponent] The given services input does not contain a registerRefreshCallback() function!"),!1):!0:!1)}ngOnChanges(i){this.correctlySetup=this.validateInputs(),this.correctlySetup&&(this._ngInitDone?this.onPropsChanged(i):(this.onInitialized(),this._ngInitDone=!0))}isCorrectlySetup(){return this.correctlySetup}onInitialized(){}onPropsChanged(i){}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["ng-component"]],inputs:{version:"version",language:"language",configName:"configName",services:"services"},outputs:{onPrint:"onPrint"},features:[vi],decls:0,vars:0,template:function(i,a){},encapsulation:2}));let e=t;return e})(),pS=class{constructor(e,t,n,i,a){o(this,"logId");o(this,"services");o(this,"key");o(this,"cacheFetchingKey");o(this,"offlineDataStorageEnabled");o(this,"isOfflineAuthenticated");this.logId=a,this.services=e,this.key=t,this.cacheFetchingKey=`fetching-${this.key}`,this.offlineDataStorageEnabled=i,this.isOfflineAuthenticated=n}clearStoredDataWhen(e){return Array.isArray(e)&&e.length===0}fetchBackendData(){return _t(this,null,function*(){let e=yield this.getDataFromBackend();return e&&(yield this.updateStoredData(e)),e})}fetchOfflineData(){return _t(this,null,function*(){if(this.services.offlineDataStorage==null)return null;let e=yield this.services.offlineDataStorage.get(this.key);return e==null&&this.logId&&console.log("[%s] Offline data not found for key [%s]",this.logId,this.key),this.logId&&console.log("[%s] Found valid data in offline store for key [%s]: [%s]",this.logId,this.key,e),this.storeDataInCache(e),e})}storeDataOffline(e){return _t(this,null,function*(){this.offlineDataStorageEnabled&&this.services.offlineDataStorage&&e&&(yield this.services.offlineDataStorage.set(this.key,e),this.logId&&console.log("[%s] Updated data in the offline store",this.logId))})}storeDataInCache(e){e&&(this.logId&&console.log("[%s] updating data in cache at [%s]",this.logId,this.key),this.services.cacheDataStorage.set(this.key,e))}getDataFromCache(){return _t(this,null,function*(){let e=t=>{this.services.cacheDataStorage.get(this.cacheFetchingKey)?(this.logId&&console.log("[%s] Another WC is fetching data... Waiting a bit.",this.logId),setTimeout(()=>{e(t)},500)):t(this.services.cacheDataStorage.get(this.key))};return this.logId&&console.log("[%s] Trying to get data from cache...",this.logId),new Promise(t=>{e(t)})})}getData(e=!1){return _t(this,null,function*(){let t=null;if(this.isOfflineAuthenticated){if(this.offlineDataStorageEnabled&&this.services.offlineDataStorage)return yield this.fetchOfflineData();throw new Error(`[${this.logId}] Trying to access offline store while it is not present or not enabled`)}if(!e){if(t=yield this.getDataFromCache(),t)return this.logId&&console.log("[%s] Data pulled from cache: ",this.logId,t),t;this.logId&&console.log("[%s] No data in cache",this.logId)}try{return this.services.cacheDataStorage.set(this.cacheFetchingKey,!0),yield this.fetchBackendData()}finally{this.services.cacheDataStorage.remove(this.cacheFetchingKey)}})}updateStoredData(e){return _t(this,null,function*(){this.storeDataInCache(e),yield this.clearStoredDataWhen(e)?this.clearStoredData():this.storeDataOffline(e)})}clearStoredData(){return _t(this,null,function*(){this.offlineDataStorageEnabled&&this.services.offlineDataStorage&&(yield this.services.offlineDataStorage.remove(this.key),this.logId&&console.log(`[${this.logId}] Removed all data from "${this.key}" in the offline store`))})}},mS=()=>{let e=["WebView","(iPhone|iPod|iPad)(?!.*Safari)","Android.*(;\\s+wv|Version/\\d.\\d\\s+Chrome/\\d+(\\.0){3})","Linux; U; Android"],t=new RegExp("("+e.join("|")+")","ig");return!!navigator.userAgent.match(t)},Ds=function(e){return e.DIARY_NOTES="diarynotes",e.PRESCRIPTIONS="prescriptions",e.MEDICATION_SCHEME="medicationScheme",e.MEDICATION_SCHEME_PAGE_STATE="medicationSchemePageState",e.DELIVERED_MEDICATIONS="deliveredMedications",e.USER_INFOS="userInfos",e.MANDATE_TYPE="mandateType",e}(Ds||{}),h=function(e){return e.NL="nl",e.FR="fr",e.DE="de",e.EN="en",e}(h||{}),tu=function(e){return e.ascending="asc",e.descending="desc",e}(tu||{});h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE;var lr={getAuthorizationHeader:e=>`Bearer ${e}`,getUserType:e=>e.isProfessional?"professional":"patient",clientType:{webApp:"webapp",mobileApp:"mobapp"}},ao={exchangeClientId:"exchange-client-id",authorization:"Authorization",userType:"user-type",clientType:"client-type"},es=class extends Error{};es.prototype.name="InvalidTokenError";function Dce(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,n)=>{let i=n.charCodeAt(0).toString(16).toUpperCase();return i.length<2&&(i="0"+i),"%"+i}))}function Ice(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return Dce(t)}catch{return atob(t)}}function Ace(e,t){if(typeof e!="string")throw new es("Invalid token specified: must be a string");t||(t={});let n=t.header===!0?0:1,i=e.split(".")[n];if(typeof i!="string")throw new es(`Invalid token specified: missing part #${n+1}`);let a;try{a=Ice(i)}catch(r){throw new es(`Invalid token specified: invalid base64 for part #${n+1} (${r.message})`)}try{return JSON.parse(a)}catch(r){throw new es(`Invalid token specified: invalid json for part #${n+1} (${r.message})`)}}var Oce=class extends pS{constructor(e,t,n){super(e,Ds.USER_INFOS,t,n,Ds.USER_INFOS),this.getLocalAccessToken=e.getAccessToken}getDataFromBackend(){return _t(this,null,function*(){return Ace(yield this.getLocalAccessToken("")).userProfile})}},fS=(()=>{const t=class t{get isProfessional(){return this._isProfessional}set isProfessional(i){this._isProfessional=i}get patientSsin(){return this._patientSsin}set patientSsin(i){this._patientSsin=i}get isOfflineDataStorageEnabled(){return this._offlineDataStorageEnabled}set isOfflineDataStorageEnabled(i){this._offlineDataStorageEnabled=i}get isOfflineAuthenticated(){return this._isOfflineAuthenticated}set isOfflineAuthenticated(i){this._isOfflineAuthenticated=i}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function Tce(e){var t,n;return((t=e==null?void 0:e.children)==null?void 0:t.length)>0?e.children[0].ssin:((n=e==null?void 0:e.mandators)==null?void 0:n.length)>0?e.mandators[0].ssin:e.ssin}function Nce(e){var t,n;return((t=e==null?void 0:e.children)==null?void 0:t.length)>0?e.children[0]:((n=e==null?void 0:e.mandators)==null?void 0:n.length)>0?e.mandators[0]:{ssin:e.ssin,lastName:e==null?void 0:e.lastName,firstName:e==null?void 0:e.firstName}}var Mce=(()=>{const t=class t extends fS{constructor(){super(...arguments),this.servicesStore=S(eu)}resolveSsin(){return _t(this,null,function*(){if(this.isProfessional===!0)return this.patientSsin;let i=yield this.fetchUserProfileToken();return Tce(i)})}resolvePatientInfo(){return _t(this,null,function*(){let i=yield this.fetchUserProfileToken();return Nce(i)})}resolveUserInfo(){return _t(this,null,function*(){var u,p,v,g;let i=yield this.fetchUserProfileToken(),a=i.lastName,r=i.firstName,s=this.extractProfessionalRole(i),l=((u=i==null?void 0:i.organizations)==null?void 0:u.length)>0&&((p=i==null?void 0:i.organizations[0])!=null&&p.pharmacy)?"pharmacist":void 0,c=(v=i==null?void 0:i.organizations)!=null&&v.length&&l!==void 0?i==null?void 0:i.organizations[0]:void 0,d=this.resolveProfessional(i,s)?i[s]:void 0;return{firstName:r,ssin:i.ssin,lastName:a,role:l||s,organization:c&&l?c:void 0,professional:d,mandator:((g=i==null?void 0:i.mandators)==null?void 0:g.length)>0}})}isMandator(){return _t(this,null,function*(){var i,a;return((a=(i=yield this.fetchUserProfileToken())==null?void 0:i.mandators)==null?void 0:a.length)>0})}resolveProfessional(i,a){return a?i[a]:void 0}extractProfessionalRole(i){let a=["physician","nurse","midwife","dentist"],r="patient";return a.forEach(s=>{i[s]&&(r=s)}),r}fetchUserProfileToken(){return this.accessTokenService.getData(!0)}registerAccessTokenService(i,a){this.isOfflineAuthenticated=i,this.isOfflineDataStorageEnabled=a,this.accessTokenService=new Oce(this.servicesStore.getServices(),i,a)}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Qt(t)))(a||t)}})(),t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Pce=(()=>{const t=class t extends fS{resolveSsin(){return _t(this,null,function*(){return Promise.resolve("00000000097")})}resolvePatientInfo(){return Promise.resolve({firstName:"John",lastName:"Doe",ssin:"00000000097"})}resolveUserInfo(){return Promise.resolve({firstName:"John",lastName:"Doe",ssin:"00000000097",role:"patient",organization:void 0,professional:void 0,mandator:!1})}isMandator(){return _t(this,null,function*(){return Promise.resolve(!1)})}registerAccessTokenService(i,a){this.isOfflineAuthenticated=i,this.isOfflineDataStorageEnabled=a}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Qt(t)))(a||t)}})(),t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Rce=(()=>{const t=class t{constructor(){this.http=S(el)}get(i,a,r){return Ul()?this.http.get(i,{headers:r}):ft(a)}patch(i,a,r){return Ul()?this.http.patch(i,{},{headers:r}):ft(a)}post(i,a,r){return Ul()?this.http.post(i,{},{headers:r}):ft(a)}delete(i,a,r){return Ul()?this.http.delete(i,{headers:r}):ft(a)}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Ul=()=>window.Cypress,Fn=function(e){return e.INITIAL="INITIAL",e.LOADING="LOADING",e.SUCCESS="SUCCESS",e.UPDATING="UPDATING",e.ERROR="ERROR",e}(Fn||{}),ln=function(e){return e.NO_DATA="NO_DATA",e.TEMP_UNAVAILABLE="TEMP_UNAVAILABLE",e.NOT_AUTHORIZED="NOT_AUTHORIZED",e.OTHER="OTHER",e}(ln||{});function Fce(e,t){return _t(this,null,function*(){t.next({status:Fn.LOADING});try{let n=yield e,i={status:Fn.SUCCESS,data:n};return t.next(i),i}catch(n){let i={status:Fn.ERROR,error:zce(n)};return t.next(i),i}})}var kb={[ln.NO_DATA]:["VIDIS_0140"],[ln.TEMP_UNAVAILABLE]:["VIDIS_0121","VIDIS_0122","VIDIS_0123","VIDIS_0124","VIDIS_0125","VIDIS_0126","VIDIS_0131","VIDIS_0132","VIDIS_0133","VIDIS_0134","VIDIS_0135","VIDIS_0136"],[ln.NOT_AUTHORIZED]:["VIDIS_3150","VIDIS_3090","VIDIS_3140","VIDIS_3100","VIDIS_3120","VIDIS_0400","VIDIS_3030","VIDIS_0100","VIDIS_0120","VIDIS_0110","VIDIS_0200","VIDIS_0340","VIDIS_0341"],[ln.OTHER]:[]};function Lce(e){for(let t of Object.keys(kb))if(kb[t].includes(e))return t;return ln.OTHER}function Vce(e,t,n){let i=e||"UNKNOWN",a=Lce(i);return{code:i,message:n??"An unexpected error occurred",group:a,traceId:t}}function zce(e){var a,r,s;let t=((a=e.error)==null?void 0:a.code)??void 0,n=((r=e.error)==null?void 0:r.message)??e.message,i=(s=e.headers)==null?void 0:s.get("trace-id");return Vce(t,i,n)}var jce={HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)"};function Bce(e,t){if(e&1){let n=Ke();I(0,"div",1)(1,"button",2),ue("click",function(){ge(n);let i=R();return ve(i.action())}),B(2),T()()}if(e&2){let n=R();D(2),Ie(" ",n.data.action," ")}}var Hce=["label"];function $ce(e,t){}var qce=Math.pow(2,31)-1,yp=class{constructor(e,t){o(this,"_overlayRef");o(this,"instance");o(this,"containerInstance");o(this,"_afterDismissed",new le);o(this,"_afterOpened",new le);o(this,"_onAction",new le);o(this,"_durationTimeoutId");o(this,"_dismissedByAction",!1);this._overlayRef=t,this.containerInstance=e,e._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(e){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(e,qce))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},gS=new $("MatSnackBarData"),Zc=class{constructor(){o(this,"politeness","assertive");o(this,"announcementMessage","");o(this,"viewContainerRef");o(this,"duration",0);o(this,"panelClass");o(this,"direction");o(this,"data",null);o(this,"horizontalPosition","center");o(this,"verticalPosition","bottom")}},Uce=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}));let e=t;return e})(),Gce=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}));let e=t;return e})(),Yce=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}));let e=t;return e})(),Wce=(()=>{const t=class t{constructor(){o(this,"snackBarRef",S(yp));o(this,"data",S(gS))}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(i,a){i&1&&(I(0,"div",0),B(1),T(),re(2,Bce,3,1,"div",1)),i&2&&(D(),Ie(" ",a.data.message,`
40
40
  `),D(),se(a.hasAction?2:-1))},dependencies:[xa,Uce,Gce,Yce],styles:[`.mat-mdc-simple-snack-bar{display:flex}
41
41
  `],encapsulation:2,changeDetection:0}));let e=t;return e})(),Wu="_mat-snack-bar-enter",Ku="_mat-snack-bar-exit",Kce=(()=>{const t=class t extends Ud{constructor(){super();o(this,"_ngZone",S(Ne));o(this,"_elementRef",S(ze));o(this,"_changeDetectorRef",S(Lt));o(this,"_platform",S(Ut));o(this,"_rendersRef");o(this,"_animationsDisabled",S(Gi,{optional:!0})==="NoopAnimations");o(this,"snackBarConfig",S(Zc));o(this,"_document",S(et));o(this,"_trackedModals",new Set);o(this,"_enterFallback");o(this,"_exitFallback");o(this,"_renders",new le);o(this,"_announceDelay",150);o(this,"_announceTimeoutId");o(this,"_destroyed",!1);o(this,"_portalOutlet");o(this,"_onAnnounce",new le);o(this,"_onExit",new le);o(this,"_onEnter",new le);o(this,"_animationState","void");o(this,"_live");o(this,"_label");o(this,"_role");o(this,"_liveElementId",S(xi).getId("mat-snack-bar-container-live-"));o(this,"attachDomPortal",a=>{this._assertNotAttached();let r=this._portalOutlet.attachDomPortal(a);return this._afterPortalAttached(),r});let a=this.snackBarConfig;a.politeness==="assertive"&&!a.announcementMessage?this._live="assertive":a.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert")),this._rendersRef=Sm(()=>this._renders.next(),{manualCleanup:!0})}attachComponentPortal(a){this._assertNotAttached();let r=this._portalOutlet.attachComponentPortal(a);return this._afterPortalAttached(),r}attachTemplatePortal(a){this._assertNotAttached();let r=this._portalOutlet.attachTemplatePortal(a);return this._afterPortalAttached(),r}onAnimationEnd(a){a===Ku?this._completeExit():a===Wu&&(clearTimeout(this._enterFallback),this._ngZone.run(()=>{this._onEnter.next(),this._onEnter.complete()}))}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce(),this._animationsDisabled?this._renders.pipe(Ci(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(Wu)))}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd(Wu)},200)))}exit(){return this._destroyed?ft(void 0):(this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._animationsDisabled?this._renders.pipe(Ci(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(Ku)))}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(Ku),200))}),this._onExit)}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit(),this._renders.complete(),this._rendersRef.destroy()}_completeExit(){clearTimeout(this._exitFallback),queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let a=this._elementRef.nativeElement,r=this.snackBarConfig.panelClass;r&&(Array.isArray(r)?r.forEach(c=>a.classList.add(c)):a.classList.add(r)),this._exposeToModals();let s=this._label.nativeElement,l="mdc-snackbar__label";s.classList.toggle(l,!s.querySelector(`.${l}`))}_exposeToModals(){let a=this._liveElementId,r=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let s=0;s<r.length;s++){let l=r[s],c=l.getAttribute("aria-owns");this._trackedModals.add(l),c?c.indexOf(a)===-1&&l.setAttribute("aria-owns",c+" "+a):l.setAttribute("aria-owns",a)}}_clearFromModals(){this._trackedModals.forEach(a=>{let r=a.getAttribute("aria-owns");if(r){let s=r.replace(this._liveElementId,"").trim();s.length>0?a.setAttribute("aria-owns",s):a.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{if(this._destroyed)return;let a=this._elementRef.nativeElement,r=a.querySelector("[aria-hidden]"),s=a.querySelector("[aria-live]");if(r&&s){let l=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&r.contains(document.activeElement)&&(l=document.activeElement),r.removeAttribute("aria-hidden"),s.appendChild(r),l==null||l.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(a,r){if(a&1&&(mt(kr,7),mt(Hce,7)),a&2){let s;Re(s=Fe())&&(r._portalOutlet=s.first),Re(s=Fe())&&(r._label=s.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(a,r){a&1&&ue("animationend",function(s){return r.onAnimationEnd(s.animationName)})("animationcancel",function(s){return r.onAnimationEnd(s.animationName)}),a&2&&We("mat-snack-bar-container-enter",r._animationState==="visible")("mat-snack-bar-container-exit",r._animationState==="hidden")("mat-snack-bar-container-animations-enabled",!r._animationsDisabled)},features:[Ft],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(a,r){a&1&&(I(0,"div",1)(1,"div",2,0)(3,"div",3),re(4,$ce,0,0,"ng-template",4),T(),de(5,"div"),T()()),a&2&&(D(5),_e("aria-live",r._live)("role",r._role)("id",r._liveElementId))},dependencies:[kr],styles:[`@keyframes _mat-snack-bar-enter{from{transform:scale(0.8);opacity:0}to{transform:scale(1);opacity:1}}@keyframes _mat-snack-bar-exit{from{opacity:1}to{opacity:0}}.mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-snack-bar-container-animations-enabled{opacity:0}.mat-snack-bar-container-animations-enabled.mat-snack-bar-fallback-visible{opacity:1}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-enter{animation:_mat-snack-bar-enter 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-exit{animation:_mat-snack-bar-exit 75ms cubic-bezier(0.4, 0, 1, 1) forwards}.mat-mdc-snackbar-surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}@media(forced-colors: active){.mat-mdc-snackbar-surface{outline:solid 1px}}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mdc-snackbar-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mdc-snackbar-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mdc-snackbar-container-color, var(--mat-sys-inverse-surface))}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mdc-snackbar-supporting-text-font, var(--mat-sys-body-medium-font));font-size:var(--mdc-snackbar-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mdc-snackbar-supporting-text-weight, var(--mat-sys-body-medium-weight));line-height:var(--mdc-snackbar-supporting-text-line-height, var(--mat-sys-body-medium-line-height))}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed{color:var(--mat-snack-bar-button-color, var(--mat-sys-inverse-primary))}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}
42
- `],encapsulation:2}));let e=t;return e})();function Zce(){return new Zc}var Xce=new $("mat-snack-bar-default-options",{providedIn:"root",factory:Zce}),Qce=(()=>{const t=class t{constructor(){o(this,"_overlay",S(wi));o(this,"_live",S(dw));o(this,"_injector",S(lt));o(this,"_breakpointObserver",S(rw));o(this,"_parentSnackBar",S(t,{optional:!0,skipSelf:!0}));o(this,"_defaultConfig",S(Xce));o(this,"_snackBarRefAtThisLevel",null);o(this,"simpleSnackBarComponent",Wce);o(this,"snackBarContainerComponent",Kce);o(this,"handsetCssClass","mat-mdc-snack-bar-handset")}get _openedSnackBarRef(){let i=this._parentSnackBar;return i?i._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(i){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=i:this._snackBarRefAtThisLevel=i}openFromComponent(i,a){return this._attach(i,a)}openFromTemplate(i,a){return this._attach(i,a)}open(i,a="",r){let s=Q(Q({},this._defaultConfig),r);return s.data={message:i,action:a},s.announcementMessage===i&&(s.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,s)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(i,a){let r=a&&a.viewContainerRef&&a.viewContainerRef.injector,s=lt.create({parent:r||this._injector,providers:[{provide:Zc,useValue:a}]}),l=new jn(this.snackBarContainerComponent,a.viewContainerRef,s),c=i.attach(l);return c.instance.snackBarConfig=a,c.instance}_attach(i,a){let r=Q(Q(Q({},new Zc),this._defaultConfig),a),s=this._createOverlay(r),l=this._attachSnackBarContainer(s,r),c=new yp(l,s);if(i instanceof Ln){let d=new qd(i,null,{$implicit:r.data,snackBarRef:c});c.instance=l.attachTemplatePortal(d)}else{let d=this._createInjector(r,c),u=new jn(i,void 0,d),p=l.attachComponentPortal(u);c.instance=p.instance}return this._breakpointObserver.observe(jce.HandsetPortrait).pipe(Dt(s.detachments())).subscribe(d=>{s.overlayElement.classList.toggle(this.handsetCssClass,d.matches)}),r.announcementMessage&&l._onAnnounce.subscribe(()=>{this._live.announce(r.announcementMessage,r.politeness)}),this._animateSnackBar(c,r),this._openedSnackBarRef=c,this._openedSnackBarRef}_animateSnackBar(i,a){i.afterDismissed().subscribe(()=>{this._openedSnackBarRef==i&&(this._openedSnackBarRef=null),a.announcementMessage&&this._live.clear()}),a.duration&&a.duration>0&&i.afterOpened().subscribe(()=>i._dismissAfter(a.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{i.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):i.containerInstance.enter()}_createOverlay(i){let a=new ol;a.direction=i.direction;let r=this._overlay.position().global(),s=i.direction==="rtl",l=i.horizontalPosition==="left"||i.horizontalPosition==="start"&&!s||i.horizontalPosition==="end"&&s,c=!l&&i.horizontalPosition!=="center";return l?r.left("0"):c?r.right("0"):r.centerHorizontally(),i.verticalPosition==="top"?r.top("0"):r.bottom("0"),a.positionStrategy=r,this._overlay.create(a)}_createInjector(i,a){let r=i&&i.viewContainerRef&&i.viewContainerRef.injector;return lt.create({parent:r||this._injector,providers:[{provide:yp,useValue:a},{provide:gS,useValue:i.data}]})}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),vS=(()=>{const t=class t{constructor(){this.snackbar=S(Qce),this.translate=S(qn)}showSuccess(i,a="commons.close",r=5e3){return this.snackbar.open(this.translate.instant(i),this.translate.instant(a),{duration:r,panelClass:"mh-snackbar--success"})}showError(i,a="commons.close",r=5e3){return this.snackbar.open(this.translate.instant(i),this.translate.instant(a),{duration:r,panelClass:"mh-snackbar--error"})}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Jce={demo:{env:En.DEMO},dev:{apiUrl:"http://vidis-fake-api.test.paas.vasdc.be",env:En.DEV},int:{apiUrl:"https://vidis-api.int.pub.vascloud.be/REST/vidis",env:En.INT},acc:{apiUrl:"https://vidis-api.acc.vasha.be/REST/vidis",env:En.ACC},prod:{apiUrl:"https://vidis-api.vasha.be/REST/vidis",env:En.PROD}},No=(()=>{const t=class t{setEnvironment(i){this.configVariables=Jce[En[i.toUpperCase()]]||{}}getEnvironmentVariable(i){return this.configVariables[i]}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Er=(()=>{const t=class t{constructor(){this.config=S(No),this.injector=S(lt),this._instance=null}getInstance(){if(!this._instance){let i=this.config.getEnvironmentVariable("env")==="demo";this._instance=i?this.injector.get(Pce):this.injector.get(Mce)}return this._instance}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),ede=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({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(i,a){i&1&&(I(0,"h2",0),B(1),H(2,"translate"),T(),I(3,"mat-dialog-content")(4,"p")(5,"span"),B(6),H(7,"translate"),T()(),I(8,"p")(9,"span"),B(10),H(11,"translate"),T(),I(12,"a",1),H(13,"translate"),B(14),H(15,"translate"),T(),B(16,"."),T()(),I(17,"mat-dialog-actions")(18,"button",2),B(19),H(20,"translate"),T(),I(21,"button",3),B(22),H(23,"translate"),T()()),i&2&&(D(),we(W(2,9,"commons.errors.report-message-title")),D(5),we(W(7,11,"commons.errors.report-message-explanation")),D(4),we(W(11,13,"commons.errors.report-message-content")),D(2),K("href",W(13,15,"commons.errors.report-message-link"),oJ),D(2),we(W(15,17,"commons.errors.report-message-term-use")),D(4),K("mat-dialog-close",!0),D(),Ie(" ",W(20,19,"commons.errors.report-message-report-button")," "),D(2),K("mat-dialog-close",!1),D(),Ie(" ",W(23,21,"commons.errors.report-message-ignore-button")," "))},dependencies:[hf,sl,ll,dl,cl,Ao,xa,_a],encapsulation:2});let e=t;return e})(),tde=(()=>{const t=class t{constructor(){this.vidisErrorCode=S(uf)}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({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(i,a){i&1&&(I(0,"h2",0),B(1),H(2,"translate"),T(),I(3,"mat-dialog-content")(4,"p")(5,"span"),B(6),H(7,"translate"),T()()(),I(8,"mat-dialog-actions")(9,"button",1),B(10),H(11,"translate"),T()()),i&2&&(D(),we(W(2,4,"commons.errors.action-not-authorized-title")),D(5),we(W(7,6,"commons.errors."+a.vidisErrorCode)),D(3),K("mat-dialog-close",!1),D(),Ie(" ",W(11,8,"commons.errors.action-not-authorized-close-button")," "))},dependencies:[hf,sl,ll,dl,cl,Ao,xa,_a],encapsulation:2});let e=t;return e})(),ide={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},ade=(e,t,n)=>{let i,a=ide[e];return typeof a=="string"?i=a:t===1?i=a.one:i=a.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i};function Zu(e){return(t={})=>{let n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var nde={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},rde={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},ode={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},sde={date:Zu({formats:nde,defaultWidth:"full"}),time:Zu({formats:rde,defaultWidth:"full"}),dateTime:Zu({formats:ode,defaultWidth:"full"})},lde={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},cde=(e,t,n,i)=>lde[e];function Wo(e){return(t,n)=>{let i=n!=null&&n.context?String(n.context):"standalone",a;if(i==="formatting"&&e.formattingValues){let s=e.defaultFormattingWidth||e.defaultWidth,l=n!=null&&n.width?String(n.width):s;a=e.formattingValues[l]||e.formattingValues[s]}else{let s=e.defaultWidth,l=n!=null&&n.width?String(n.width):e.defaultWidth;a=e.values[l]||e.values[s]}let r=e.argumentCallback?e.argumentCallback(t):t;return a[r]}}var dde={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},ude={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},hde={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},pde={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},mde={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},fde={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},gde=(e,t)=>{let n=Number(e),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},vde={ordinalNumber:gde,era:Wo({values:dde,defaultWidth:"wide"}),quarter:Wo({values:ude,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Wo({values:hde,defaultWidth:"wide"}),day:Wo({values:pde,defaultWidth:"wide"}),dayPeriod:Wo({values:mde,defaultWidth:"wide",formattingValues:fde,defaultFormattingWidth:"wide"})};function Ko(e){return(t,n={})=>{let i=n.width,a=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],r=t.match(a);if(!r)return null;let s=r[0],l=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?yde(l,p=>p.test(s)):bde(l,p=>p.test(s)),d;d=e.valueCallback?e.valueCallback(c):c,d=n.valueCallback?n.valueCallback(d):d;let u=t.slice(s.length);return{value:d,rest:u}}}function bde(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function yde(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function _de(e){return(t,n={})=>{let i=t.match(e.matchPattern);if(!i)return null;let a=i[0],r=t.match(e.parsePattern);if(!r)return null;let s=e.valueCallback?e.valueCallback(r[0]):r[0];s=n.valueCallback?n.valueCallback(s):s;let l=t.slice(a.length);return{value:s,rest:l}}}var xde=/^(\d+)(th|st|nd|rd)?/i,wde=/\d+/i,Sde={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},kde={any:[/^b/i,/^(a|c)/i]},Ede={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Cde={any:[/1/i,/2/i,/3/i,/4/i]},Dde={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Ide={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Ade={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Ode={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Tde={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Nde={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Mde={ordinalNumber:_de({matchPattern:xde,parsePattern:wde,valueCallback:e=>parseInt(e,10)}),era:Ko({matchPatterns:Sde,defaultMatchWidth:"wide",parsePatterns:kde,defaultParseWidth:"any"}),quarter:Ko({matchPatterns:Ede,defaultMatchWidth:"wide",parsePatterns:Cde,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Ko({matchPatterns:Dde,defaultMatchWidth:"wide",parsePatterns:Ide,defaultParseWidth:"any"}),day:Ko({matchPatterns:Ade,defaultMatchWidth:"wide",parsePatterns:Ode,defaultParseWidth:"any"}),dayPeriod:Ko({matchPatterns:Tde,defaultMatchWidth:"any",parsePatterns:Nde,defaultParseWidth:"any"})},bS={code:"en-US",formatDistance:ade,formatLong:sde,formatRelative:cde,localize:vde,match:Mde,options:{weekStartsOn:0,firstWeekContainsDate:1}},Pde={};function Mo(){return Pde}var yS=6048e5,Rde=864e5,Fde=6e4,Lde=36e5,Vde=1e3,Eb=Symbol.for("constructDateFrom");function si(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&Eb in e?e[Eb](t):e instanceof Date?new e.constructor(t):new Date(t)}function ni(e,t){return si(t||e,e)}function Xc(e){let t=ni(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function zde(e,...t){let n=si.bind(null,t.find(i=>typeof i=="object"));return t.map(n)}function Cb(e,t){let n=ni(e,t==null?void 0:t.in);return n.setHours(0,0,0,0),n}function jde(e,t,n){let[i,a]=zde(n==null?void 0:n.in,e,t),r=Cb(i),s=Cb(a),l=+r-Xc(r),c=+s-Xc(s);return Math.round((l-c)/Rde)}function Bde(e,t){let n=ni(e,t==null?void 0:t.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function Hde(e,t){let n=ni(e,t==null?void 0:t.in);return jde(n,Bde(n))+1}function Bn(e,t){var l,c,d,u;let n=Mo(),i=(t==null?void 0:t.weekStartsOn)??((c=(l=t==null?void 0:t.locale)==null?void 0:l.options)==null?void 0:c.weekStartsOn)??n.weekStartsOn??((u=(d=n.locale)==null?void 0:d.options)==null?void 0:u.weekStartsOn)??0,a=ni(e,t==null?void 0:t.in),r=a.getDay(),s=(r<i?7:0)+r-i;return a.setDate(a.getDate()-s),a.setHours(0,0,0,0),a}function mo(e,t){return Bn(e,Qe(Q({},t),{weekStartsOn:1}))}function _S(e,t){let n=ni(e,t==null?void 0:t.in),i=n.getFullYear(),a=si(n,0);a.setFullYear(i+1,0,4),a.setHours(0,0,0,0);let r=mo(a),s=si(n,0);s.setFullYear(i,0,4),s.setHours(0,0,0,0);let l=mo(s);return n.getTime()>=r.getTime()?i+1:n.getTime()>=l.getTime()?i:i-1}function $de(e,t){let n=_S(e,t),i=si(e,0);return i.setFullYear(n,0,4),i.setHours(0,0,0,0),mo(i)}function xS(e,t){let n=ni(e,t==null?void 0:t.in),i=+mo(n)-+$de(n);return Math.round(i/yS)+1}function If(e,t){var u,p,v,g;let n=ni(e,t==null?void 0:t.in),i=n.getFullYear(),a=Mo(),r=(t==null?void 0:t.firstWeekContainsDate)??((p=(u=t==null?void 0:t.locale)==null?void 0:u.options)==null?void 0:p.firstWeekContainsDate)??a.firstWeekContainsDate??((g=(v=a.locale)==null?void 0:v.options)==null?void 0:g.firstWeekContainsDate)??1,s=si((t==null?void 0:t.in)||e,0);s.setFullYear(i+1,0,r),s.setHours(0,0,0,0);let l=Bn(s,t),c=si((t==null?void 0:t.in)||e,0);c.setFullYear(i,0,r),c.setHours(0,0,0,0);let d=Bn(c,t);return+n>=+l?i+1:+n>=+d?i:i-1}function qde(e,t){var s,l,c,d;let n=Mo(),i=(t==null?void 0:t.firstWeekContainsDate)??((l=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:l.firstWeekContainsDate)??n.firstWeekContainsDate??((d=(c=n.locale)==null?void 0:c.options)==null?void 0:d.firstWeekContainsDate)??1,a=If(e,t),r=si((t==null?void 0:t.in)||e,0);return r.setFullYear(a,0,i),r.setHours(0,0,0,0),Bn(r,t)}function wS(e,t){let n=ni(e,t==null?void 0:t.in),i=+Bn(n,t)-+qde(n,t);return Math.round(i/yS)+1}function st(e,t){let n=e<0?"-":"",i=Math.abs(e).toString().padStart(t,"0");return n+i}var Sn={y(e,t){let n=e.getFullYear(),i=n>0?n:1-n;return st(t==="yy"?i%100:i,t.length)},M(e,t){let n=e.getMonth();return t==="M"?String(n+1):st(n+1,2)},d(e,t){return st(e.getDate(),t.length)},a(e,t){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return st(e.getHours()%12||12,t.length)},H(e,t){return st(e.getHours(),t.length)},m(e,t){return st(e.getMinutes(),t.length)},s(e,t){return st(e.getSeconds(),t.length)},S(e,t){let n=t.length,i=e.getMilliseconds(),a=Math.trunc(i*Math.pow(10,n-3));return st(a,t.length)}},jr={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Db={G:function(e,t,n){let i=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});case"GGGG":default:return n.era(i,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){let i=e.getFullYear(),a=i>0?i:1-i;return n.ordinalNumber(a,{unit:"year"})}return Sn.y(e,t)},Y:function(e,t,n,i){let a=If(e,i),r=a>0?a:1-a;if(t==="YY"){let s=r%100;return st(s,2)}return t==="Yo"?n.ordinalNumber(r,{unit:"year"}):st(r,t.length)},R:function(e,t){let n=_S(e);return st(n,t.length)},u:function(e,t){let n=e.getFullYear();return st(n,t.length)},Q:function(e,t,n){let i=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(i);case"QQ":return st(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(e,t,n){let i=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(i);case"qq":return st(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(e,t,n){let i=e.getMonth();switch(t){case"M":case"MM":return Sn.M(e,t);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(e,t,n){let i=e.getMonth();switch(t){case"L":return String(i+1);case"LL":return st(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(e,t,n,i){let a=wS(e,i);return t==="wo"?n.ordinalNumber(a,{unit:"week"}):st(a,t.length)},I:function(e,t,n){let i=xS(e);return t==="Io"?n.ordinalNumber(i,{unit:"week"}):st(i,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):Sn.d(e,t)},D:function(e,t,n){let i=Hde(e);return t==="Do"?n.ordinalNumber(i,{unit:"dayOfYear"}):st(i,t.length)},E:function(e,t,n){let i=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"});case"EEEE":default:return n.day(i,{width:"wide",context:"formatting"})}},e:function(e,t,n,i){let a=e.getDay(),r=(a-i.weekStartsOn+8)%7||7;switch(t){case"e":return String(r);case"ee":return st(r,2);case"eo":return n.ordinalNumber(r,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});case"eeee":default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,n,i){let a=e.getDay(),r=(a-i.weekStartsOn+8)%7||7;switch(t){case"c":return String(r);case"cc":return st(r,t.length);case"co":return n.ordinalNumber(r,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});case"cccc":default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,n){let i=e.getDay(),a=i===0?7:i;switch(t){case"i":return String(a);case"ii":return st(a,t.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});case"iiii":default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(e,t,n){let i=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,n){let i=e.getHours(),a;switch(i===12?a=jr.noon:i===0?a=jr.midnight:a=i/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(e,t,n){let i=e.getHours(),a;switch(i>=17?a=jr.evening:i>=12?a=jr.afternoon:i>=4?a=jr.morning:a=jr.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let i=e.getHours()%12;return i===0&&(i=12),n.ordinalNumber(i,{unit:"hour"})}return Sn.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):Sn.H(e,t)},K:function(e,t,n){let i=e.getHours()%12;return t==="Ko"?n.ordinalNumber(i,{unit:"hour"}):st(i,t.length)},k:function(e,t,n){let i=e.getHours();return i===0&&(i=24),t==="ko"?n.ordinalNumber(i,{unit:"hour"}):st(i,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):Sn.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):Sn.s(e,t)},S:function(e,t){return Sn.S(e,t)},X:function(e,t,n){let i=e.getTimezoneOffset();if(i===0)return"Z";switch(t){case"X":return Ab(i);case"XXXX":case"XX":return ir(i);case"XXXXX":case"XXX":default:return ir(i,":")}},x:function(e,t,n){let i=e.getTimezoneOffset();switch(t){case"x":return Ab(i);case"xxxx":case"xx":return ir(i);case"xxxxx":case"xxx":default:return ir(i,":")}},O:function(e,t,n){let i=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Ib(i,":");case"OOOO":default:return"GMT"+ir(i,":")}},z:function(e,t,n){let i=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Ib(i,":");case"zzzz":default:return"GMT"+ir(i,":")}},t:function(e,t,n){let i=Math.trunc(+e/1e3);return st(i,t.length)},T:function(e,t,n){return st(+e,t.length)}};function Ib(e,t=""){let n=e>0?"-":"+",i=Math.abs(e),a=Math.trunc(i/60),r=i%60;return r===0?n+String(a):n+String(a)+t+st(r,2)}function Ab(e,t){return e%60===0?(e>0?"-":"+")+st(Math.abs(e)/60,2):ir(e,t)}function ir(e,t=""){let n=e>0?"-":"+",i=Math.abs(e),a=st(Math.trunc(i/60),2),r=st(i%60,2);return n+a+t+r}var Ob=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},SS=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},Ude=(e,t)=>{let n=e.match(/(P+)(p+)?/)||[],i=n[1],a=n[2];if(!a)return Ob(e,t);let r;switch(i){case"P":r=t.dateTime({width:"short"});break;case"PP":r=t.dateTime({width:"medium"});break;case"PPP":r=t.dateTime({width:"long"});break;case"PPPP":default:r=t.dateTime({width:"full"});break}return r.replace("{{date}}",Ob(i,t)).replace("{{time}}",SS(a,t))},_p={p:SS,P:Ude},Gde=/^D+$/,Yde=/^Y+$/,Wde=["D","DD","YY","YYYY"];function kS(e){return Gde.test(e)}function ES(e){return Yde.test(e)}function xp(e,t,n){let i=Kde(e,t,n);if(console.warn(i),Wde.includes(e))throw new RangeError(i)}function Kde(e,t,n){let i=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${i} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}function Zde(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Xde(e){return!(!Zde(e)&&typeof e!="number"||isNaN(+ni(e)))}var Qde=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Jde=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,eue=/^'([^]*?)'?$/,tue=/''/g,iue=/[a-zA-Z]/;function Qc(e,t,n){var u,p,v,g,x,w,E,N;let i=Mo(),a=(n==null?void 0:n.locale)??i.locale??bS,r=(n==null?void 0:n.firstWeekContainsDate)??((p=(u=n==null?void 0:n.locale)==null?void 0:u.options)==null?void 0:p.firstWeekContainsDate)??i.firstWeekContainsDate??((g=(v=i.locale)==null?void 0:v.options)==null?void 0:g.firstWeekContainsDate)??1,s=(n==null?void 0:n.weekStartsOn)??((w=(x=n==null?void 0:n.locale)==null?void 0:x.options)==null?void 0:w.weekStartsOn)??i.weekStartsOn??((N=(E=i.locale)==null?void 0:E.options)==null?void 0:N.weekStartsOn)??0,l=ni(e,n==null?void 0:n.in);if(!Xde(l))throw new RangeError("Invalid time value");let c=t.match(Jde).map(V=>{let P=V[0];if(P==="p"||P==="P"){let oe=_p[P];return oe(V,a.formatLong)}return V}).join("").match(Qde).map(V=>{if(V==="''")return{isToken:!1,value:"'"};let P=V[0];if(P==="'")return{isToken:!1,value:aue(V)};if(Db[P])return{isToken:!0,value:V};if(P.match(iue))throw new RangeError("Format string contains an unescaped latin alphabet character `"+P+"`");return{isToken:!1,value:V}});a.localize.preprocessor&&(c=a.localize.preprocessor(l,c));let d={firstWeekContainsDate:r,weekStartsOn:s,locale:a};return c.map(V=>{if(!V.isToken)return V.value;let P=V.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&ES(P)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&kS(P))&&xp(P,t,String(e));let oe=Db[P[0]];return oe(l,P,a.localize,d)}).join("")}function aue(e){let t=e.match(eue);return t?t[1].replace(tue,"'"):e}function CS(e,t,n){let i=ni(e,n==null?void 0:n.in);return isNaN(t)?si((n==null?void 0:n.in)||e,NaN):(t&&i.setDate(i.getDate()+t),i)}function DS(){return Object.assign({},Mo())}function nue(e,t){let n=ni(e,t==null?void 0:t.in).getDay();return n===0?7:n}function rue(e,t){let n=oue(t)?new t(0):si(t,0);return n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n}function oue(e){var t;return typeof e=="function"&&((t=e.prototype)==null?void 0:t.constructor)===e}var sue=10,IS=class{constructor(){o(this,"subPriority",0)}validate(e,t){return!0}},lue=class extends IS{constructor(e,t,n,i,a){super(),this.value=e,this.validateValue=t,this.setValue=n,this.priority=i,a&&(this.subPriority=a)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,n){return this.setValue(e,t,this.value,n)}},cue=class extends IS{constructor(t,n){super();o(this,"priority",sue);o(this,"subPriority",-1);this.context=t||(i=>si(n,i))}set(t,n){return n.timestampIsSet?t:si(t,rue(t,this.context))}},rt=class{run(e,t,n,i){let a=this.parse(e,t,n,i);return a?{setter:new lue(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}validate(e,t,n){return!0}},due=class extends rt{constructor(){super(...arguments);o(this,"priority",140);o(this,"incompatibleTokens",["R","u","t","T"])}parse(t,n,i){switch(n){case"G":case"GG":case"GGG":return i.era(t,{width:"abbreviated"})||i.era(t,{width:"narrow"});case"GGGGG":return i.era(t,{width:"narrow"});case"GGGG":default:return i.era(t,{width:"wide"})||i.era(t,{width:"abbreviated"})||i.era(t,{width:"narrow"})}}set(t,n,i){return n.era=i,t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}},Bt={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Ia={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function Ht(e,t){return e&&{value:t(e.value),rest:e.rest}}function Nt(e,t){let n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function Aa(e,t){let n=t.match(e);if(!n)return null;if(n[0]==="Z")return{value:0,rest:t.slice(1)};let i=n[1]==="+"?1:-1,a=n[2]?parseInt(n[2],10):0,r=n[3]?parseInt(n[3],10):0,s=n[5]?parseInt(n[5],10):0;return{value:i*(a*Lde+r*Fde+s*Vde),rest:t.slice(n[0].length)}}function AS(e){return Nt(Bt.anyDigitsSigned,e)}function Rt(e,t){switch(e){case 1:return Nt(Bt.singleDigit,t);case 2:return Nt(Bt.twoDigits,t);case 3:return Nt(Bt.threeDigits,t);case 4:return Nt(Bt.fourDigits,t);default:return Nt(new RegExp("^\\d{1,"+e+"}"),t)}}function Jc(e,t){switch(e){case 1:return Nt(Bt.singleDigitSigned,t);case 2:return Nt(Bt.twoDigitsSigned,t);case 3:return Nt(Bt.threeDigitsSigned,t);case 4:return Nt(Bt.fourDigitsSigned,t);default:return Nt(new RegExp("^-?\\d{1,"+e+"}"),t)}}function Af(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function OS(e,t){let n=t>0,i=n?t:1-t,a;if(i<=50)a=e||100;else{let r=i+50,s=Math.trunc(r/100)*100,l=e>=r%100;a=e+s-(l?100:0)}return n?a:1-a}function TS(e){return e%400===0||e%4===0&&e%100!==0}var uue=class extends rt{constructor(){super(...arguments);o(this,"priority",130);o(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(t,n,i){let a=r=>({year:r,isTwoDigitYear:n==="yy"});switch(n){case"y":return Ht(Rt(4,t),a);case"yo":return Ht(i.ordinalNumber(t,{unit:"year"}),a);default:return Ht(Rt(n.length,t),a)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,i){let a=t.getFullYear();if(i.isTwoDigitYear){let s=OS(i.year,a);return t.setFullYear(s,0,1),t.setHours(0,0,0,0),t}let r=!("era"in n)||n.era===1?i.year:1-i.year;return t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}},hue=class extends rt{constructor(){super(...arguments);o(this,"priority",130);o(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(t,n,i){let a=r=>({year:r,isTwoDigitYear:n==="YY"});switch(n){case"Y":return Ht(Rt(4,t),a);case"Yo":return Ht(i.ordinalNumber(t,{unit:"year"}),a);default:return Ht(Rt(n.length,t),a)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,i,a){let r=If(t,a);if(i.isTwoDigitYear){let l=OS(i.year,r);return t.setFullYear(l,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),Bn(t,a)}let s=!("era"in n)||n.era===1?i.year:1-i.year;return t.setFullYear(s,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),Bn(t,a)}},pue=class extends rt{constructor(){super(...arguments);o(this,"priority",130);o(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,n){return Jc(n==="R"?4:n.length,t)}set(t,n,i){let a=si(t,0);return a.setFullYear(i,0,4),a.setHours(0,0,0,0),mo(a)}},mue=class extends rt{constructor(){super(...arguments);o(this,"priority",130);o(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,n){return Jc(n==="u"?4:n.length,t)}set(t,n,i){return t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}},fue=class extends rt{constructor(){super(...arguments);o(this,"priority",120);o(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,i){switch(n){case"Q":case"QQ":return Rt(n.length,t);case"Qo":return i.ordinalNumber(t,{unit:"quarter"});case"QQQ":return i.quarter(t,{width:"abbreviated",context:"formatting"})||i.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return i.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return i.quarter(t,{width:"wide",context:"formatting"})||i.quarter(t,{width:"abbreviated",context:"formatting"})||i.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=1&&n<=4}set(t,n,i){return t.setMonth((i-1)*3,1),t.setHours(0,0,0,0),t}},gue=class extends rt{constructor(){super(...arguments);o(this,"priority",120);o(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,i){switch(n){case"q":case"qq":return Rt(n.length,t);case"qo":return i.ordinalNumber(t,{unit:"quarter"});case"qqq":return i.quarter(t,{width:"abbreviated",context:"standalone"})||i.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return i.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return i.quarter(t,{width:"wide",context:"standalone"})||i.quarter(t,{width:"abbreviated",context:"standalone"})||i.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=1&&n<=4}set(t,n,i){return t.setMonth((i-1)*3,1),t.setHours(0,0,0,0),t}},vue=class extends rt{constructor(){super(...arguments);o(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);o(this,"priority",110)}parse(t,n,i){let a=r=>r-1;switch(n){case"M":return Ht(Nt(Bt.month,t),a);case"MM":return Ht(Rt(2,t),a);case"Mo":return Ht(i.ordinalNumber(t,{unit:"month"}),a);case"MMM":return i.month(t,{width:"abbreviated",context:"formatting"})||i.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return i.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return i.month(t,{width:"wide",context:"formatting"})||i.month(t,{width:"abbreviated",context:"formatting"})||i.month(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=11}set(t,n,i){return t.setMonth(i,1),t.setHours(0,0,0,0),t}},bue=class extends rt{constructor(){super(...arguments);o(this,"priority",110);o(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(t,n,i){let a=r=>r-1;switch(n){case"L":return Ht(Nt(Bt.month,t),a);case"LL":return Ht(Rt(2,t),a);case"Lo":return Ht(i.ordinalNumber(t,{unit:"month"}),a);case"LLL":return i.month(t,{width:"abbreviated",context:"standalone"})||i.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return i.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return i.month(t,{width:"wide",context:"standalone"})||i.month(t,{width:"abbreviated",context:"standalone"})||i.month(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=11}set(t,n,i){return t.setMonth(i,1),t.setHours(0,0,0,0),t}};function yue(e,t,n){let i=ni(e,n==null?void 0:n.in),a=wS(i,n)-t;return i.setDate(i.getDate()-a*7),ni(i,n==null?void 0:n.in)}var _ue=class extends rt{constructor(){super(...arguments);o(this,"priority",100);o(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,n,i){switch(n){case"w":return Nt(Bt.week,t);case"wo":return i.ordinalNumber(t,{unit:"week"});default:return Rt(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,i,a){return Bn(yue(t,i,a),a)}};function xue(e,t,n){let i=ni(e,n==null?void 0:n.in),a=xS(i,n)-t;return i.setDate(i.getDate()-a*7),i}var wue=class extends rt{constructor(){super(...arguments);o(this,"priority",100);o(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(t,n,i){switch(n){case"I":return Nt(Bt.week,t);case"Io":return i.ordinalNumber(t,{unit:"week"});default:return Rt(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,i){return mo(xue(t,i))}},Sue=[31,28,31,30,31,30,31,31,30,31,30,31],kue=[31,29,31,30,31,30,31,31,30,31,30,31],Eue=class extends rt{constructor(){super(...arguments);o(this,"priority",90);o(this,"subPriority",1);o(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,n,i){switch(n){case"d":return Nt(Bt.date,t);case"do":return i.ordinalNumber(t,{unit:"date"});default:return Rt(n.length,t)}}validate(t,n){let i=t.getFullYear(),a=TS(i),r=t.getMonth();return a?n>=1&&n<=kue[r]:n>=1&&n<=Sue[r]}set(t,n,i){return t.setDate(i),t.setHours(0,0,0,0),t}},Cue=class extends rt{constructor(){super(...arguments);o(this,"priority",90);o(this,"subpriority",1);o(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(t,n,i){switch(n){case"D":case"DD":return Nt(Bt.dayOfYear,t);case"Do":return i.ordinalNumber(t,{unit:"date"});default:return Rt(n.length,t)}}validate(t,n){let i=t.getFullYear();return TS(i)?n>=1&&n<=366:n>=1&&n<=365}set(t,n,i){return t.setMonth(0,i),t.setHours(0,0,0,0),t}};function Of(e,t,n){var u,p,v,g;let i=Mo(),a=(n==null?void 0:n.weekStartsOn)??((p=(u=n==null?void 0:n.locale)==null?void 0:u.options)==null?void 0:p.weekStartsOn)??i.weekStartsOn??((g=(v=i.locale)==null?void 0:v.options)==null?void 0:g.weekStartsOn)??0,r=ni(e,n==null?void 0:n.in),s=r.getDay(),l=(t%7+7)%7,c=7-a,d=t<0||t>6?t-(s+c)%7:(l+c)%7-(s+c)%7;return CS(r,d,n)}var Due=class extends rt{constructor(){super(...arguments);o(this,"priority",90);o(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,n,i){switch(n){case"E":case"EE":case"EEE":return i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return i.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,i,a){return t=Of(t,i,a),t.setHours(0,0,0,0),t}},Iue=class extends rt{constructor(){super(...arguments);o(this,"priority",90);o(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(t,n,i,a){let r=s=>{let l=Math.floor((s-1)/7)*7;return(s+a.weekStartsOn+6)%7+l};switch(n){case"e":case"ee":return Ht(Rt(n.length,t),r);case"eo":return Ht(i.ordinalNumber(t,{unit:"day"}),r);case"eee":return i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"eeeee":return i.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,i,a){return t=Of(t,i,a),t.setHours(0,0,0,0),t}},Aue=class extends rt{constructor(){super(...arguments);o(this,"priority",90);o(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(t,n,i,a){let r=s=>{let l=Math.floor((s-1)/7)*7;return(s+a.weekStartsOn+6)%7+l};switch(n){case"c":case"cc":return Ht(Rt(n.length,t),r);case"co":return Ht(i.ordinalNumber(t,{unit:"day"}),r);case"ccc":return i.day(t,{width:"abbreviated",context:"standalone"})||i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"});case"ccccc":return i.day(t,{width:"narrow",context:"standalone"});case"cccccc":return i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return i.day(t,{width:"wide",context:"standalone"})||i.day(t,{width:"abbreviated",context:"standalone"})||i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=6}set(t,n,i,a){return t=Of(t,i,a),t.setHours(0,0,0,0),t}};function Oue(e,t,n){let i=ni(e,n==null?void 0:n.in),a=nue(i,n),r=t-a;return CS(i,r,n)}var Tue=class extends rt{constructor(){super(...arguments);o(this,"priority",90);o(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(t,n,i){let a=r=>r===0?7:r;switch(n){case"i":case"ii":return Rt(n.length,t);case"io":return i.ordinalNumber(t,{unit:"day"});case"iii":return Ht(i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),a);case"iiiii":return Ht(i.day(t,{width:"narrow",context:"formatting"}),a);case"iiiiii":return Ht(i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),a);case"iiii":default:return Ht(i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),a)}}validate(t,n){return n>=1&&n<=7}set(t,n,i){return t=Oue(t,i),t.setHours(0,0,0,0),t}},Nue=class extends rt{constructor(){super(...arguments);o(this,"priority",80);o(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,n,i){switch(n){case"a":case"aa":case"aaa":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return i.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,i){return t.setHours(Af(i),0,0,0),t}},Mue=class extends rt{constructor(){super(...arguments);o(this,"priority",80);o(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,n,i){switch(n){case"b":case"bb":case"bbb":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return i.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,i){return t.setHours(Af(i),0,0,0),t}},Pue=class extends rt{constructor(){super(...arguments);o(this,"priority",80);o(this,"incompatibleTokens",["a","b","t","T"])}parse(t,n,i){switch(n){case"B":case"BB":case"BBB":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return i.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,i){return t.setHours(Af(i),0,0,0),t}},Rue=class extends rt{constructor(){super(...arguments);o(this,"priority",70);o(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,n,i){switch(n){case"h":return Nt(Bt.hour12h,t);case"ho":return i.ordinalNumber(t,{unit:"hour"});default:return Rt(n.length,t)}}validate(t,n){return n>=1&&n<=12}set(t,n,i){let a=t.getHours()>=12;return a&&i<12?t.setHours(i+12,0,0,0):!a&&i===12?t.setHours(0,0,0,0):t.setHours(i,0,0,0),t}},Fue=class extends rt{constructor(){super(...arguments);o(this,"priority",70);o(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,n,i){switch(n){case"H":return Nt(Bt.hour23h,t);case"Ho":return i.ordinalNumber(t,{unit:"hour"});default:return Rt(n.length,t)}}validate(t,n){return n>=0&&n<=23}set(t,n,i){return t.setHours(i,0,0,0),t}},Lue=class extends rt{constructor(){super(...arguments);o(this,"priority",70);o(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,n,i){switch(n){case"K":return Nt(Bt.hour11h,t);case"Ko":return i.ordinalNumber(t,{unit:"hour"});default:return Rt(n.length,t)}}validate(t,n){return n>=0&&n<=11}set(t,n,i){return t.getHours()>=12&&i<12?t.setHours(i+12,0,0,0):t.setHours(i,0,0,0),t}},Vue=class extends rt{constructor(){super(...arguments);o(this,"priority",70);o(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,n,i){switch(n){case"k":return Nt(Bt.hour24h,t);case"ko":return i.ordinalNumber(t,{unit:"hour"});default:return Rt(n.length,t)}}validate(t,n){return n>=1&&n<=24}set(t,n,i){let a=i<=24?i%24:i;return t.setHours(a,0,0,0),t}},zue=class extends rt{constructor(){super(...arguments);o(this,"priority",60);o(this,"incompatibleTokens",["t","T"])}parse(t,n,i){switch(n){case"m":return Nt(Bt.minute,t);case"mo":return i.ordinalNumber(t,{unit:"minute"});default:return Rt(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,i){return t.setMinutes(i,0,0),t}},jue=class extends rt{constructor(){super(...arguments);o(this,"priority",50);o(this,"incompatibleTokens",["t","T"])}parse(t,n,i){switch(n){case"s":return Nt(Bt.second,t);case"so":return i.ordinalNumber(t,{unit:"second"});default:return Rt(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,i){return t.setSeconds(i,0),t}},Bue=class extends rt{constructor(){super(...arguments);o(this,"priority",30);o(this,"incompatibleTokens",["t","T"])}parse(t,n){let i=a=>Math.trunc(a*Math.pow(10,-n.length+3));return Ht(Rt(n.length,t),i)}set(t,n,i){return t.setMilliseconds(i),t}},Hue=class extends rt{constructor(){super(...arguments);o(this,"priority",10);o(this,"incompatibleTokens",["t","T","x"])}parse(t,n){switch(n){case"X":return Aa(Ia.basicOptionalMinutes,t);case"XX":return Aa(Ia.basic,t);case"XXXX":return Aa(Ia.basicOptionalSeconds,t);case"XXXXX":return Aa(Ia.extendedOptionalSeconds,t);case"XXX":default:return Aa(Ia.extended,t)}}set(t,n,i){return n.timestampIsSet?t:si(t,t.getTime()-Xc(t)-i)}},$ue=class extends rt{constructor(){super(...arguments);o(this,"priority",10);o(this,"incompatibleTokens",["t","T","X"])}parse(t,n){switch(n){case"x":return Aa(Ia.basicOptionalMinutes,t);case"xx":return Aa(Ia.basic,t);case"xxxx":return Aa(Ia.basicOptionalSeconds,t);case"xxxxx":return Aa(Ia.extendedOptionalSeconds,t);case"xxx":default:return Aa(Ia.extended,t)}}set(t,n,i){return n.timestampIsSet?t:si(t,t.getTime()-Xc(t)-i)}},que=class extends rt{constructor(){super(...arguments);o(this,"priority",40);o(this,"incompatibleTokens","*")}parse(t){return AS(t)}set(t,n,i){return[si(t,i*1e3),{timestampIsSet:!0}]}},Uue=class extends rt{constructor(){super(...arguments);o(this,"priority",20);o(this,"incompatibleTokens","*")}parse(t){return AS(t)}set(t,n,i){return[si(t,i),{timestampIsSet:!0}]}},Gue={G:new due,y:new uue,Y:new hue,R:new pue,u:new mue,Q:new fue,q:new gue,M:new vue,L:new bue,w:new _ue,I:new wue,d:new Eue,D:new Cue,E:new Due,e:new Iue,c:new Aue,i:new Tue,a:new Nue,b:new Mue,B:new Pue,h:new Rue,H:new Fue,K:new Lue,k:new Vue,m:new zue,s:new jue,S:new Bue,X:new Hue,x:new $ue,t:new que,T:new Uue},Yue=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Wue=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Kue=/^'([^]*?)'?$/,Zue=/''/g,Xue=/\S/,Que=/[a-zA-Z]/;function Jue(e,t,n,i){var E,N,V,P;let a=()=>si(n,NaN),r=DS(),s=r.locale??bS,l=r.firstWeekContainsDate??((N=(E=r.locale)==null?void 0:E.options)==null?void 0:N.firstWeekContainsDate)??1,c=r.weekStartsOn??((P=(V=r.locale)==null?void 0:V.options)==null?void 0:P.weekStartsOn)??0,d={firstWeekContainsDate:l,weekStartsOn:c,locale:s},u=[new cue(i==null?void 0:i.in,n)],p=t.match(Wue).map(oe=>{let xe=oe[0];if(xe in _p){let Me=_p[xe];return Me(oe,s.formatLong)}return oe}).join("").match(Yue),v=[];for(let oe of p){ES(oe)&&xp(oe,t,e),kS(oe)&&xp(oe,t,e);let xe=oe[0],Me=Gue[xe];if(Me){let{incompatibleTokens:Jt}=Me;if(Array.isArray(Jt)){let vt=v.find(Gt=>Jt.includes(Gt.token)||Gt.token===xe);if(vt)throw new RangeError(`The format string mustn't contain \`${vt.fullToken}\` and \`${oe}\` at the same time`)}else if(Me.incompatibleTokens==="*"&&v.length>0)throw new RangeError(`The format string mustn't contain \`${oe}\` and any other token at the same time`);v.push({token:xe,fullToken:oe});let Vt=Me.run(e,oe,s.match,d);if(!Vt)return a();u.push(Vt.setter),e=Vt.rest}else{if(xe.match(Que))throw new RangeError("Format string contains an unescaped latin alphabet character `"+xe+"`");if(oe==="''"?oe="'":xe==="'"&&(oe=ehe(oe)),e.indexOf(oe)===0)e=e.slice(oe.length);else return a()}}if(e.length>0&&Xue.test(e))return a();let g=u.map(oe=>oe.priority).sort((oe,xe)=>xe-oe).filter((oe,xe,Me)=>Me.indexOf(oe)===xe).map(oe=>u.filter(xe=>xe.priority===oe).sort((xe,Me)=>Me.subPriority-xe.subPriority)).map(oe=>oe[0]),x=ni(n,i==null?void 0:i.in);if(isNaN(+x))return a();let w={};for(let oe of g){if(!oe.validate(x,d))return a();let xe=oe.set(x,w,d);Array.isArray(xe)?(x=xe[0],Object.assign(w,xe[1])):x=xe}return x}function ehe(e){return e.match(Kue)[1].replace(Zue,"'")}function Tb(e,t,n){let i=DS(),a=ahe(e,n.timeZone,n.locale??i.locale);return"formatToParts"in a?the(a,t):ihe(a,t)}function the(e,t){let n=e.formatToParts(t);for(let i=n.length-1;i>=0;--i)if(n[i].type==="timeZoneName")return n[i].value}function ihe(e,t){let n=e.format(t).replace(/\u200E/g,""),i=/ [\w-+ ]+$/.exec(n);return i?i[0].substr(1):""}function ahe(e,t,n){return new Intl.DateTimeFormat(n?[n.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}function nhe(e,t){let n=che(t);return"formatToParts"in n?ohe(n,e):she(n,e)}var rhe={year:0,month:1,day:2,hour:3,minute:4,second:5};function ohe(e,t){try{let n=e.formatToParts(t),i=[];for(let a=0;a<n.length;a++){let r=rhe[n[a].type];r!==void 0&&(i[r]=parseInt(n[a].value,10))}return i}catch(n){if(n instanceof RangeError)return[NaN];throw n}}function she(e,t){let n=e.format(t),i=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);return[parseInt(i[3],10),parseInt(i[1],10),parseInt(i[2],10),parseInt(i[4],10),parseInt(i[5],10),parseInt(i[6],10)]}var Xu={},Nb=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")),lhe=Nb==="06/25/2014, 00:00:00"||Nb==="‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";function che(e){return Xu[e]||(Xu[e]=lhe?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"})),Xu[e]}function NS(e,t,n,i,a,r,s){let l=new Date(0);return l.setUTCFullYear(e,t,n),l.setUTCHours(i,a,r,s),l}var Mb=36e5,dhe=6e4,Qu={timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function MS(e,t,n){if(!e)return 0;let i=Qu.timezoneZ.exec(e);if(i)return 0;let a,r;if(i=Qu.timezoneHH.exec(e),i)return a=parseInt(i[1],10),Pb(a)?-(a*Mb):NaN;if(i=Qu.timezoneHHMM.exec(e),i){a=parseInt(i[2],10);let s=parseInt(i[3],10);return Pb(a,s)?(r=Math.abs(a)*Mb+s*dhe,i[1]==="+"?-r:r):NaN}if(phe(e)){t=new Date(t||Date.now());let s=n?t:uhe(t),l=wp(s,e);return-(n?l:hhe(t,l,e))}return NaN}function uhe(e){return NS(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function wp(e,t){let n=nhe(e,t),i=NS(n[0],n[1]-1,n[2],n[3]%24,n[4],n[5],0).getTime(),a=e.getTime(),r=a%1e3;return a-=r>=0?r:1e3+r,i-a}function hhe(e,t,n){let i=e.getTime()-t,a=wp(new Date(i),n);if(t===a)return t;i-=a-t;let r=wp(new Date(i),n);return a===r?a:Math.max(a,r)}function Pb(e,t){return-23<=e&&e<=23&&(t==null||0<=t&&t<=59)}var Rb={};function phe(e){if(Rb[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),Rb[e]=!0,!0}catch{return!1}}var mhe=60*1e3,fhe={X:function(e,t,n){let i=Ju(n.timeZone,e);if(i===0)return"Z";switch(t){case"X":return Fb(i);case"XXXX":case"XX":return Hr(i);case"XXXXX":case"XXX":default:return Hr(i,":")}},x:function(e,t,n){let i=Ju(n.timeZone,e);switch(t){case"x":return Fb(i);case"xxxx":case"xx":return Hr(i);case"xxxxx":case"xxx":default:return Hr(i,":")}},O:function(e,t,n){let i=Ju(n.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+ghe(i,":");case"OOOO":default:return"GMT"+Hr(i,":")}},z:function(e,t,n){switch(t){case"z":case"zz":case"zzz":return Tb("short",e,n);case"zzzz":default:return Tb("long",e,n)}}};function Ju(e,t){let n=e?MS(e,t,!0)/mhe:(t==null?void 0:t.getTimezoneOffset())??0;if(Number.isNaN(n))throw new RangeError("Invalid time zone specified: "+e);return n}function ed(e,t){let n=e<0?"-":"",i=Math.abs(e).toString();for(;i.length<t;)i="0"+i;return n+i}function Hr(e,t=""){let n=e>0?"-":"+",i=Math.abs(e),a=ed(Math.floor(i/60),2),r=ed(Math.floor(i%60),2);return n+a+t+r}function Fb(e,t){return e%60===0?(e>0?"-":"+")+ed(Math.abs(e)/60,2):Hr(e,t)}function ghe(e,t=""){let n=e>0?"-":"+",i=Math.abs(e),a=Math.floor(i/60),r=i%60;return r===0?n+String(a):n+String(a)+t+ed(r,2)}function Lb(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 vhe=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,eh=36e5,Vb=6e4,bhe=2,Ei={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:vhe};function yhe(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?bhe: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 i=_he(e),{year:a,restDateString:r}=xhe(i.date,n),s=whe(r,a);if(s===null||isNaN(s.getTime()))return new Date(NaN);if(s){let l=s.getTime(),c=0,d;if(i.time&&(c=She(i.time),c===null||isNaN(c)))return new Date(NaN);if(i.timeZone||t.timeZone){if(d=MS(i.timeZone||t.timeZone,new Date(l+c)),isNaN(d))return new Date(NaN)}else d=Lb(new Date(l+c)),d=Lb(new Date(l+c+d));return new Date(l+c+d)}else return new Date(NaN)}function _he(e){let t={},n=Ei.dateTimePattern.exec(e),i;if(n?(t.date=n[1],i=n[3]):(n=Ei.datePattern.exec(e),n?(t.date=n[1],i=n[2]):(t.date=null,i=e)),i){let a=Ei.timeZone.exec(i);a?(t.time=i.replace(a[1],""),t.timeZone=a[1].trim()):t.time=i}return t}function xhe(e,t){if(e){let n=Ei.YYY[t],i=Ei.YYYYY[t],a=Ei.YYYY.exec(e)||i.exec(e);if(a){let r=a[1];return{year:parseInt(r,10),restDateString:e.slice(r.length)}}if(a=Ei.YY.exec(e)||n.exec(e),a){let r=a[1];return{year:parseInt(r,10)*100,restDateString:e.slice(r.length)}}}return{year:null}}function whe(e,t){if(t===null)return null;let n,i,a;if(!e||!e.length)return n=new Date(0),n.setUTCFullYear(t),n;let r=Ei.MM.exec(e);if(r)return n=new Date(0),i=parseInt(r[1],10)-1,jb(t,i)?(n.setUTCFullYear(t,i),n):new Date(NaN);if(r=Ei.DDD.exec(e),r){n=new Date(0);let s=parseInt(r[1],10);return Che(t,s)?(n.setUTCFullYear(t,0,s),n):new Date(NaN)}if(r=Ei.MMDD.exec(e),r){n=new Date(0),i=parseInt(r[1],10)-1;let s=parseInt(r[2],10);return jb(t,i,s)?(n.setUTCFullYear(t,i,s),n):new Date(NaN)}if(r=Ei.Www.exec(e),r)return a=parseInt(r[1],10)-1,Bb(a)?zb(t,a):new Date(NaN);if(r=Ei.WwwD.exec(e),r){a=parseInt(r[1],10)-1;let s=parseInt(r[2],10)-1;return Bb(a,s)?zb(t,a,s):new Date(NaN)}return null}function She(e){let t,n,i=Ei.HH.exec(e);if(i)return t=parseFloat(i[1].replace(",",".")),th(t)?t%24*eh:NaN;if(i=Ei.HHMM.exec(e),i)return t=parseInt(i[1],10),n=parseFloat(i[2].replace(",",".")),th(t,n)?t%24*eh+n*Vb:NaN;if(i=Ei.HHMMSS.exec(e),i){t=parseInt(i[1],10),n=parseInt(i[2],10);let a=parseFloat(i[3].replace(",","."));return th(t,n,a)?t%24*eh+n*Vb+a*1e3:NaN}return null}function zb(e,t,n){t=t||0,n=n||0;let i=new Date(0);i.setUTCFullYear(e,0,4);let a=i.getUTCDay()||7,r=t*7+n+1-a;return i.setUTCDate(i.getUTCDate()+r),i}var khe=[31,28,31,30,31,30,31,31,30,31,30,31],Ehe=[31,29,31,30,31,30,31,31,30,31,30,31];function PS(e){return e%400===0||e%4===0&&e%100!==0}function jb(e,t,n){if(t<0||t>11)return!1;if(n!=null){if(n<1)return!1;let i=PS(e);if(i&&n>Ehe[t]||!i&&n>khe[t])return!1}return!0}function Che(e,t){if(t<1)return!1;let n=PS(e);return!(n&&t>366||!n&&t>365)}function Bb(e,t){return!(e<0||e>52||t!=null&&(t<0||t>6))}function th(e,t,n){return!(e<0||e>=25||t!=null&&(t<0||t>=60)||n!=null&&(n<0||n>=60))}var Dhe=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function Ihe(e,t,n={}){t=String(t);let i=t.match(Dhe);if(i){let a=yhe(n.originalDate||e,n);t=i.reduce(function(r,s){if(s[0]==="'")return r;let l=r.indexOf(s),c=r[l-1]==="'",d=r.replace(s,"'"+fhe[s[0]](a,s,n)+"'");return c?d.substring(0,l-1)+d.substring(l+1):d},t)}return Qc(e,t,n)}var Ahe=(()=>{const t=class t{reportError(i){return ft({status:"ok"})}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Ohe=(()=>{const t=class t{constructor(){this.http=S(el),this.authService=S(Er).getInstance(),this.apiUrl=S(No).getEnvironmentVariable("apiUrl")}reportError(i){return this.http.post(`${this.apiUrl}/v2/report/error`,i,{headers:{[ao.userType]:lr.getUserType({isProfessional:this.authService.isProfessional}),[ao.clientType]:mS()?lr.clientType.mobileApp:lr.clientType.webApp}})}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),The=(()=>{const t=class t{constructor(){this.config=S(No),this.injector=S(lt),this._instance=null}getInstance(){if(!this._instance){let i=this.config.getEnvironmentVariable("env")==="demo";this._instance=i?this.injector.get(Ahe):this.injector.get(Ohe)}return this._instance}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Nhe=(()=>{const t=class t extends Cce{constructor(){super(...arguments),this.version=bp,this.authServiceSelector=S(Er),this.translateService=S(qn),this.webComponentConfig=S(No),this.injector=S(lt),this.servicesStore=S(eu),this.matDialog=S(Nr),this.destroyRef=S($i),this.errorServiceSelector=S(The),this.snackbarService=S(vS),this.extraRequiredFields=["offlineDataStorageEnabled","isOfflineAuthenticated","professional","ssin"]}onInitialized(){return _t(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(i=>_t(this,null,function*(){yield this.fetchData(!0),i()}))})}onPropsChanged(i){i.language&&this.translateService.use(this.language)}checkError(i){(i==null?void 0:i.group)===ln.NOT_AUTHORIZED?this.showNotAuthorizedErrorPopup(i.code):(i==null?void 0:i.group)===ln.OTHER&&this.showTechnicalErrorPopup(i)}showTechnicalErrorPopup(i){this.matDialog.open(ede,{data:{error:i}}).beforeClosed().pipe(oi(a=>a),Do(this.destroyRef)).subscribe(()=>{this.reportVidisError(i)})}reportVidisError(i){let a={backendTraceId:"",errorMessage:i.message,pageUrl:window.location.href,timestamp:this.formatDateWithZone()};this.errorServiceSelector.getInstance().reportError(a).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(i){this.matDialog.open(tde,{data:i})}formatDateWithZone(){return Ihe(new Date,"yyyy-MM-dd'T'HH:mm:ssXXX",{timeZone:"Europe/Brussels"})}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Qt(t)))(a||t)}})(),t.ɵcmp=Ce({type:t,selectors:[["ng-component"]],inputs:{isOfflineAuthenticated:"isOfflineAuthenticated",offlineDataStorageEnabled:"offlineDataStorageEnabled",professional:"professional",ssin:"ssin"},features:[Ft],decls:0,vars:0,template:function(i,a){},encapsulation:2});let e=t;return e})();function Mhe(e,t){if(e&1&&(I(0,"mat-option",4),B(1),H(2,"translate"),T()),e&2){let n=t.$implicit;K("value",n),D(),we(W(2,2,"commons.sortDropdown."+n))}}function Phe(e,t){if(e&1){let n=Ke();I(0,"button",6),H(1,"translate"),ue("click",function(){ge(n);let i=R();return ve(i.emitNewData({sort:i.sortData().sort,order:i.sortDirection.descending}))}),de(2,"mat-icon",7),T()}if(e&2){let n=R();K("disabled",n.disabled()),_e("aria-label",W(1,2,"commons.sortDropdown.sorting-ascendant"))}}function Rhe(e,t){if(e&1){let n=Ke();I(0,"button",6),H(1,"translate"),ue("click",function(){ge(n);let i=R();return ve(i.emitNewData({sort:i.sortData().sort,order:i.sortDirection.ascending}))}),de(2,"mat-icon",8),T()}if(e&2){let n=R();K("disabled",n.disabled()),_e("aria-label",W(1,2,"commons.sortDropdown.sorting-descendent"))}}var Fhe=(()=>{const t=class t{constructor(){this.sortData=_te.required(),this.sortItems=Pt.required(),this.disabled=Pt(!1),this.sortDirection=tu}emitNewData(i){this.sortData.set(i)}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({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(i,a){i&1&&(I(0,"div",0)(1,"div",1)(2,"mat-form-field",2)(3,"mat-select",3),ue("valueChange",function(r){return a.emitNewData({sort:r,order:a.sortData().order})}),Ri(4,Mhe,3,4,"mat-option",4,ba),T()()(),re(6,Phe,3,4,"button",5)(7,Rhe,3,4,"button",5),T()),i&2&&(D(3),K("value",a.sortData().sort)("disabled",a.disabled()),D(),Fi(a.sortItems()),D(2),se(a.sortData().order===a.sortDirection.ascending?6:7))},dependencies:[Un,Ao,Io,Cs,Wd,hS,Cf,Jd,_a],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})(),Lhe=["*"];function Vhe(e,t){e&1&&Qs(0)}function zhe(e,t){if(e&1&&(I(0,"div",3),re(1,Vhe,1,0,"ng-container",5),T()),e&2){R();let n=Qi(5);D(),K("ngTemplateOutlet",n)}}function jhe(e,t){e&1&&Qs(0)}function Bhe(e,t){if(e&1){let n=Ke();I(0,"div",6),ue("click",function(){ge(n);let i=R();return ve(i.toggleExpanded())})("keydown.enter",function(){ge(n);let i=R();return ve(i.toggleExpanded())})("keydown.space",function(){ge(n);let i=R();return ve(i.toggleExpanded())}),re(1,jhe,1,0,"ng-container",5),T()}if(e&2){let n=R(),i=Qi(5);_e("aria-label",n.currentExpandIconAriaLabel()),D(),K("ngTemplateOutlet",i)}}function Hhe(e,t){e&1&&Qs(0)}function $he(e,t){if(e&1&&re(0,Hhe,1,0,"ng-container",5),e&2){R();let n=Qi(7);K("ngTemplateOutlet",n)}}function qhe(e,t){if(e&1&&(I(0,"h2"),B(1),T()),e&2){let n=R(3);D(),we(n.alertTitle())}}function Uhe(e,t){if(e&1&&(I(0,"p"),B(1),T()),e&2){let n=R(3);D(),we(n.alertSubtitle())}}function Ghe(e,t){if(e&1&&(I(0,"div"),re(1,qhe,2,1,"h2")(2,Uhe,2,1,"p"),T()),e&2){let n=R(2);D(),se(n.alertTitle()?1:-1),D(),se(n.alertSubtitle()?2:-1)}}function Yhe(e,t){e&1&&Qs(0)}function Whe(e,t){if(e&1&&re(0,Yhe,1,0,"ng-container",5),e&2){R(2);let n=Qi(7);K("ngTemplateOutlet",n)}}function Khe(e,t){if(e&1){let n=Ke();I(0,"mat-icon",11),ue("click",function(){ge(n);let i=R(2);return ve(i.onCloseButtonClick())})("keydown.enter",function(){ge(n);let i=R(2);return ve(i.onCloseButtonClick())})("keydown.space",function(){ge(n);let i=R(2);return ve(i.onCloseButtonClick())}),T()}if(e&2){let n=R(2);_e("aria-label",n.closeButtonAriaLabel())}}function Zhe(e,t){if(e&1&&de(0,"mat-icon",10),e&2){let n=R(2);K("fontIcon",n.expanded()?"keyboard_arrow_up":"keyboard_arrow_down")}}function Xhe(e,t){if(e&1&&(de(0,"mat-icon",7),I(1,"div",8),re(2,Ghe,3,2,"div")(3,Whe,1,1,"ng-container"),T(),re(4,Khe,1,1,"mat-icon",9)(5,Zhe,1,1,"mat-icon",10)),e&2){let n=R();K("fontIcon",n.fontIcon()),D(2),se(n.alertTitle()||n.alertSubtitle()?2:n.dismissMode()!=="expandable"?3:-1),D(2),se(n.dismissMode()==="closable"?4:n.dismissMode()==="expandable"?5:-1)}}function Qhe(e,t){if(e&1){let n=Ke();I(0,"button",14),ue("click",function(){ge(n);let i=R(2);return ve(i.onActionButtonClicked())}),B(1),T()}if(e&2){let n=R(2);K("disabled",n.buttonDisabled()),D(),Ie(" ",n.buttonLabel()," ")}}function Jhe(e,t){if(e&1&&(I(0,"span",12),dt(1),T(),re(2,Qhe,2,2,"button",13)),e&2){let n=R();D(2),se(n.actionButton()?2:-1)}}var epe=(()=>{const t=class t{constructor(){o(this,"usage",Pt("info"));o(this,"backgroundColor",Pt("color"));o(this,"alertTitle",Pt());o(this,"alertSubtitle",Pt());o(this,"actionButton",Pt(!1));o(this,"buttonDisabled",Pt(!1));o(this,"buttonLabel",Pt());o(this,"dismissMode",Pt("pinned"));o(this,"closeButtonAriaLabel",Pt(""));o(this,"startExpanded",Pt(!1));o(this,"expandedButtonAriaLabel",Pt(""));o(this,"collapsedButtonAriaLabel",Pt(""));o(this,"closeButtonClicked",Ag());o(this,"actionButtonClicked",Ag());o(this,"expanded",bae(()=>this.startExpanded()));o(this,"currentExpandIconAriaLabel",Ti(()=>this.expanded()?this.expandedButtonAriaLabel():this.collapsedButtonAriaLabel()));o(this,"expandableExpanded",Ti(()=>this.dismissMode()==="expandable"&&this.expanded()));o(this,"notExpandableMissingTitleAndSubtitle",Ti(()=>this.dismissMode()!=="expandable"&&(this.alertTitle()||this.alertSubtitle())));o(this,"toggleExpanded",()=>{this.expanded.update(i=>!i)});o(this,"onActionButtonClicked",()=>{this.actionButtonClicked.emit()});o(this,"fontIcon",Ti(()=>({info:"info",success:"check_circle",warning:"warning",error:"emergency_home",notification:"notifications"})[this.usage()]??"info"))}onCloseButtonClick(){this.closeButtonClicked.emit()}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({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:Lhe,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(i,a){i&1&&(Li(),I(0,"div",2),re(1,zhe,2,1,"div",3)(2,Bhe,2,2,"div",4)(3,$he,1,1,"ng-container"),T(),re(4,Xhe,6,3,"ng-template",null,0,ip)(6,Jhe,3,1,"ng-template",null,1,ip)),i&2&&(wr(a.usage()),We("white",a.backgroundColor()==="white"),D(),se(a.dismissMode()!=="expandable"?1:2),D(2),se(a.notExpandableMissingTitleAndSubtitle()||a.expandableExpanded()?3:-1))},dependencies:[I1,k1,Un,xa],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 tpe(e,t){if(e&1&&(I(0,"mh-alert",0),H(1,"translate"),I(2,"div",1),B(3),H(4,"translate"),T()()),e&2){let n=R();K("alertTitle",W(1,2,"commons.errors.data-not-available-title")),D(3),we(W(4,4,"commons.errors."+n.error().code))}}var ipe=(()=>{const t=class t{constructor(){this.error=Pt.required(),this.vidisErrorGroup=ln}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["vidis-status-message"]],inputs:{error:[1,"error"]},decls:1,vars:1,consts:[["usage","info",3,"alertTitle"],["alert-details",""]],template:function(i,a){i&1&&re(0,tpe,5,6,"mh-alert",0),i&2&&se(a.error().group===a.vidisErrorGroup.TEMP_UNAVAILABLE?0:-1)},dependencies:[_a,epe],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})(),RS=(()=>{const t=class t{constructor(){this.authService=S(Er).getInstance(),this.templateRef=S(Ln),this.viewContainer=S(bn),this.cdRef=S(Lt)}ngOnInit(){this.authService.isOfflineAuthenticated?this.viewContainer.clear():this.viewContainer.createEmbeddedView(this.templateRef),this.cdRef.markForCheck()}};t.ɵfac=function(i){return new(i||t)},t.ɵdir=Se({type:t,selectors:[["","hideIfOffline",""]]});let e=t;return e})(),ape=["*"],npe=(e,t,n,i,a)=>({"custom-content":e,circle:t,progress:n,"progress-dark":i,pulse:a});function rpe(e,t){e&1&&dt(0)}function ope(e,t){if(e&1&&(I(0,"div",0),re(1,rpe,1,0),T()),e&2){let n=R(),i=ov(0),a=ov(1);K("ngClass",$ie(5,npe,i==="custom-content",i==="circle",a==="progress",a==="progress-dark",a==="pulse"))("ngStyle",n.styles()),_e("aria-label",n.ariaLabel())("aria-valuetext",n.loadingText()),D(),se(i==="custom-content"?1:-1)}}var FS=new $("ngx-skeleton-loader.config"),spe=(()=>{var t;const n=class n{constructor(){rg(this,t);var a,r,s,l,c,d;og(this,t,S(FS,{optional:!0})),this.count=Pt(((a=en(this,t))==null?void 0:a.count)||1,{transform:sn}),this.loadingText=Pt(((r=en(this,t))==null?void 0:r.loadingText)||"Loading..."),this.appearance=Pt(((s=en(this,t))==null?void 0:s.appearance)||"line"),this.animation=Pt(((l=en(this,t))==null?void 0:l.animation)||"progress"),this.ariaLabel=Pt(((c=en(this,t))==null?void 0:c.ariaLabel)||"loading"),this.theme=Pt(((d=en(this,t))==null?void 0:d.theme)||null),this.items=Ti(()=>{let u=this.count()||1;return this.appearance()==="custom-content"&&rae(),[...Array(u)].map((p,v)=>v)}),this.styles=Ti(()=>{var p,v,g;let u=this.theme();return(v=(p=en(this,t))==null?void 0:p.theme)!=null&&v.extendsFromRoot?Q(Q({},(g=en(this,t))==null?void 0:g.theme),u):u})}};t=new WeakMap,n.ɵfac=function(a){return new(a||n)},n.ɵcmp=Ce({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:ape,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(a,r){a&1&&(Li(),Um(0)(1),Ri(2,ope,2,11,"div",0,ba)),a&2&&(rv(r.appearance()),D(),rv(r.animation()),D(),Fi(r.items()))},dependencies:[Js,one],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})(),lpe=(()=>{const t=class t{static forRoot(i){return{ngModule:t,providers:[{provide:FS,useValue:i}]}}};t.ɵfac=function(i){return new(i||t)},t.ɵmod=kt({type:t}),t.ɵinj=St({imports:[I1]});let e=t;return e})(),LS={"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(LS);var cpe=LS,VS={"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(VS);var dpe=VS,Ki=function(e,t,n,i){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"?i:n==="a"?i.call(e):i?i.value:t.get(e)},$r,ts,ar,upe=class{constructor(...e){$r.set(this,new Map),ts.set(this,new Map),ar.set(this,new Map);for(let t of e)this.define(t)}define(e,t=!1){for(let[n,i]of Object.entries(e)){n=n.toLowerCase(),i=i.map(s=>s.toLowerCase()),Ki(this,ar,"f").has(n)||Ki(this,ar,"f").set(n,new Set);let a=Ki(this,ar,"f").get(n),r=!0;for(let s of i){let l=s.startsWith("*");if(s=l?s.slice(1):s,a==null||a.add(s),r&&Ki(this,ts,"f").set(n,s),r=!1,l)continue;let c=Ki(this,$r,"f").get(s);if(c&&c!=n&&!t)throw new Error(`"${n} -> ${s}" conflicts with "${c} -> ${s}". Pass \`force=true\` to override this definition.`);Ki(this,$r,"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(),i=t.length<e.length;return!(n.length<t.length-1)&&i?null:Ki(this,$r,"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&&Ki(this,ts,"f").get(e.trim().toLowerCase()))??null)}getAllExtensions(e){return typeof e!="string"?null:Ki(this,ar,"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 Ki(this,ar,"f").values())Object.freeze(e);return this}_getTestState(){return{types:Ki(this,$r,"f"),extensions:Ki(this,ts,"f")}}};$r=new WeakMap,ts=new WeakMap,ar=new WeakMap;var hpe=upe,zS=new hpe(dpe,cpe)._freeze(),Tf=function(e){return e.author="author",e.date="date",e.role="role",e}(Tf||{}),iu=(()=>{const t=class t{setClientId(i){this.clientId=i}buildClientIdHeader(){return this.clientId&&new zn().set(ao.exchangeClientId,this.clientId)}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Is=(()=>{const t=class t extends pS{constructor(i,a){super(i.getServices(),Ds.DIARY_NOTES,a.getInstance().isOfflineAuthenticated,a.getInstance().isOfflineDataStorageEnabled,Ds.DIARY_NOTES),this.diarynoteApiService=S(iu),this.snackbarService=S(vS),this.translate=S(qn),this.authServiceSelector=S(Er),this.diarynotesStateSubject$=new nr({status:Fn.INITIAL}),this.filterStateSubject$=new nr({dateRange:{from:null,until:null}}),this.paginationStateSubject$=new nr({page:0,pageSize:10,totalPages:void 0}),this.sortStateSubject$=new nr({sort:Tf.date,order:tu.descending}),this.patientSubject$=new nr(void 0),this.diarynotesState$=this.diarynotesStateSubject$.asObservable(),this.filterState$=this.filterStateSubject$.asObservable(),this.paginationState$=this.paginationStateSubject$.asObservable(),this.sortState$=this.sortStateSubject$.asObservable()}setClientId(i){this.diarynoteApiService.setClientId(i)}fetchDiarynotes(i=!0){return _t(this,null,function*(){return Fce(this.getData(i),this.diarynotesStateSubject$)})}getDataFromBackend(){return _t(this,null,function*(){let i=yield this.authServiceSelector.getInstance().resolvePatientInfo(),a=this.authServiceSelector.getInstance().isProfessional?yield this.authServiceSelector.getInstance().resolveSsin():"";this.patientSubject$.next(i);let r=this.diarynoteApiService.search(this.filterStateSubject$.getValue(),this.paginationStateSubject$.getValue(),this.sortStateSubject$.getValue(),a);return lZ(r)})}static isDiaryNoteCompleted(i){return(i==null?void 0:i.toLowerCase())==="completed"}updatePagination(i){return _t(this,null,function*(){let a=this.paginationStateSubject$.getValue(),r=Qe(Q({},a),{page:(i==null?void 0:i.page)!==void 0?i.page:a.page,pageSize:(i==null?void 0:i.pageSize)||a.pageSize});this.paginationStateSubject$.next(r),yield this.fetchDiarynotes(!0)})}updateSorting(i){return _t(this,null,function*(){let a=this.sortStateSubject$.getValue(),r={sort:(i==null?void 0:i.sort)!==void 0?i.sort:a.sort,order:(i==null?void 0:i.order)||a.order};this.sortStateSubject$.next(r),yield this.fetchDiarynotes(!0)})}updateFilter(i){return _t(this,null,function*(){this.filterStateSubject$.next(i);let a=this.paginationStateSubject$.getValue();this.paginationStateSubject$.next(Qe(Q({},a),{page:void 0})),yield this.fetchDiarynotes(!0)})}clearFilter(){return _t(this,null,function*(){this.filterStateSubject$.next({dateRange:{from:null,until:null},author:"",role:"",tags:[]}),yield this.fetchDiarynotes(!0)})}clearFilterByKey(i){return _t(this,null,function*(){let a=this.filterStateSubject$.getValue(),r;i==="range"?r=Qe(Q({},a),{dateRange:{from:null,until:null}}):r=Qe(Q({},a),{[i]:void 0}),this.filterStateSubject$.next(r),yield this.fetchDiarynotes(!0)})}downloadSpecificDiaryNoteAttachment(i,a,r,s,l){this.diarynoteApiService.downloadDiaryNoteAttachment(i,l,s,r,a).subscribe({next:c=>{let d=c.body;if(!d||d.size===0){this.snackbarService.showError("commons.errors.general");return}let u=c.headers.get("Content-Type")||d.type||"application/octet-stream",p=this.getAttachmentFileName(l,u),v=URL.createObjectURL(d),g=document.createElement("a");g.href=v,g.download=p,g.rel="noopener",g.target="_blank",document.body.appendChild(g),g.click(),g.remove(),URL.revokeObjectURL(v)},error:()=>{this.snackbarService.showError("commons.errors.general")}})}getAttachmentFileName(i,a){let r=a?zS.getExtension(a):"unknown";return this.translate.instant("commons.file")+"_"+(i+1)+"."+r}postDiarynote(i,a){this.diarynoteApiService.postDiaryNote(i,a,this.patientSubject$.getValue(),this.translate.currentLang).subscribe({next:()=>{this.fetchDiarynotes(!0).catch(r=>{console.error("Error fetching diary note:",r)})},error:r=>{console.error("Error posting diary note:",r),this.handleDiaryNoteError(r)}})}handleDiaryNoteError(i){let a="diaryNotesPage.add-note-error.default";["VIDIS_0410","VIDIS_0415","VIDIS_0420","VIDIS_0425","VIDIS_1005","VIDIS_1000"].includes(i==null?void 0:i.code)&&(a="diaryNotesPage.add-note-error."+i.code),this.snackbarService.showError(a)}deleteDiaryNote(i,a,r,s){this.diarynoteApiService.deleteDiaryNote(i,a,r,s).subscribe({next:l=>{var d,u;let c=this.diarynotesStateSubject$.getValue();if(l.statusCode===204){let p=((d=c.data)==null?void 0:d.items.filter(v=>v.id!==i))||[];this.diarynotesStateSubject$.next(Qe(Q({},c),{data:Qe(Q({},c.data),{items:p}),status:Fn.SUCCESS}))}else{let p=((u=c.data)==null?void 0:u.items.map(v=>v.id===l.diaryNote.note.id?l.diaryNote.note:v))||[];this.diarynotesStateSubject$.next(Qe(Q({},c),{data:Qe(Q({},c.data),{items:p}),status:Fn.SUCCESS}))}this.updateStoredData(this.diarynotesStateSubject$.getValue().data)},error:l=>{var c;this.snackbarService.showError(((c=l.error)==null?void 0:c.code)==="VIDIS_0500"?"commons.errors.general":"commons.errors.VIDIS_0400")}})}};t.ɵfac=function(i){return new(i||t)(pe(eu),pe(Er))},t.ɵprov=q({token:t,factory:t.ɵfac});let e=t;return e})(),jS=(()=>{const t=class t extends iu{constructor(){super(...arguments),this.http=S(el)}search(i,a,r,s){let l={};return s&&(l.ssin=s),i.dateRange.from&&(l.fromDate=Qc(i.dateRange.from,"yyyy-MM-dd")),i.dateRange.until&&(l.toDate=Qc(i.dateRange.until,"yyyy-MM-dd")),i.role&&(l.roles=[i.role]),i.tags&&(l.tags=i.tags),i.author&&(l.authors=[i.author]),r.sort&&(l.sort=Tf[r.sort]),r.order===tu.ascending&&(l.sortDirection="ascending"),a.page&&(l.page=a.page),a.pageSize&&(l.pageSize=a.pageSize),this.http.get("/v1/mydiarynotes",{params:Q({},l),headers:this.buildClientIdHeader()})}downloadDiaryNoteAttachment(i,a,r,s,l){let c={patientSsin:r,source:s??"vitalink",version:String(l??"")};return this.http.get(`/v1/diarynotes/${i}/download/${a}`,{params:c,headers:this.buildClientIdHeader(),responseType:"blob",observe:"response"}).pipe(Wp(d=>t0(()=>d)))}postDiaryNote(i,a,r,s){return this.http.post("/v1/diarynotes",this.buildFormData(i,a,r,s),{headers:this.buildClientIdHeader()})}deleteDiaryNote(i,a,r,s){return this.http.delete(`/v1/diarynotes/${i}`,{params:{version:a,source:r??"vitalink",patientSsin:s},observe:"response",headers:this.buildClientIdHeader()}).pipe(It(l=>({diaryNote:l.body,statusCode:l.status})))}buildFormData(i,a,r,s){let l=new FormData,c={language:s,subject:{firstName:r.firstName,lastName:r.lastName,ssin:r.ssin},content:i,contentType:"plaintext"};return l.append("attachments",a),l.append("diaryNote",new Blob([JSON.stringify(c)],{type:"application/json"})),l}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Qt(t)))(a||t)}})(),t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),ppe={items:[{language:"fr",id:"7530f63b-7e82-4884-8ddd-fa137e0a9b42",creation:"2021-02-10T15:38:16.176194+02:00",version:1,source:"vitalink",status:"completed",author:{firstName:"Mickey",lastName:"Mouse",nihdi:"10000000004",role:"persphysician"},subject:{ssin:"00000000097",firstName:"John",lastName:"Doe"},content:"Ce matin, après la prise de son médicament, le patient avait le ventre gonflé",contentType:"plaintext",attachments:[],tags:["medication"]},{language:"fr",id:"7a82de0a-ab8e-4985-bb3d-6aed1c8e7894",creation:"2020-12-31T15:38:16.176194+02:00",version:1,source:"vitalink",status:"deleted",author:{firstName:"Mickey",lastName:"Mouse",nihdi:"10000000004",role:"persphysician"},subject:{ssin:"00000000097",firstName:"John",lastName:"Doe"},content:"<strike>Ceci est une note supprimée</strike>",contentType:"html",attachments:[],tags:[]},{language:"nl",id:"b394a649-c91c-4088-a2d1-45e2f54cf071",creation:"2018-04-13T15:38:16.176194+02:00",version:1,source:"vitalink",status:"completed",author:{firstName:"Goof",lastName:"Goofy",ssin:"12345678902",nihdi:"20000000001",role:"perspharmacist"},subject:{ssin:"00000000097",firstName:"John",lastName:"Doe"},content:"Inhoud van het journaal item, in Vitalink beperkt tot maximaal 320 karakters.",contentType:"plaintext",attachments:[],tags:[]}],availableFilters:{authors:["Mickey Mouse","Goof Goofy"],roles:["pharmacist","physician"],tags:["medication"]},errors:[],page:0,totalItems:3,totalPages:1},mpe={note:{language:"nl",id:"7530f63b-7e82-4884-8ddd-fa137e0a9b42",creation:"2021-03-10T15:38:16.176194+02:00",version:1,source:"vitalink",status:"completed",author:{firstName:"Nadia",lastName:"Hassan",ssin:"82012419934",nihdi:"10025840123",role:"persorthopedist"},subject:{ssin:"80120532330",firstName:"Benjamin",lastName:"Van Rietvelde"},content:"Fis parturient montes, nascetur ridiculus mus. Donec quam felis... (demo)",contentType:"plaintext",tags:[]},attachments:[]},fpe={diaryNote:mpe,statusCode:200},BS=(()=>{const t=class t extends iu{constructor(){super(...arguments),this.demoService=S(Rce)}search(i,a,r,s){return this.demoService.get("/v1/mydiarynotes",ppe,this.buildClientIdHeader())}downloadDiaryNoteAttachment(i,a,r,s,l){let c="application/pdf",d=new Blob([`Demo PDF content for note=${i} idx=${a}`],{type:c}),u=new zn({"Content-Type":c});return ft(new Xm({status:200,body:d,headers:u}))}postDiaryNote(i,a,r,s){return this.demoService.post("/v1/diarynotes",{},this.buildClientIdHeader())}deleteDiaryNote(i,a,r,s){return this.demoService.delete(`/v1/diarynotes/${i}`,fpe,this.buildClientIdHeader())}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Qt(t)))(a||t)}})(),t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),gpe=(e,t)=>e.getEnvironmentVariable("env")===En.DEMO?t.get(BS):t.get(jS),vpe={provide:iu,useFactory:gpe,deps:[No,lt]},bpe=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],ype=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function _pe(e,t){e&1&&(I(0,"span",3),dt(1,1),T())}function xpe(e,t){e&1&&(I(0,"span",6),dt(1,2),T())}var wpe=["*"],Spe=new $("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})}),Hb=new $("MatChipAvatar"),$b=new $("MatChipTrailingIcon"),Sp=new $("MatChipRemove"),HS=new $("MatChip"),kp=(()=>{const t=class t{constructor(){o(this,"_elementRef",S(ze));o(this,"_parentChip",S(HS));o(this,"isInteractive",!0);o(this,"_isPrimary",!0);o(this,"_disabled",!1);o(this,"tabIndex",-1);o(this,"_allowFocusWhenDisabled",!1);S(Vi).load(rl),this._elementRef.nativeElement.nodeName==="BUTTON"&&this._elementRef.nativeElement.setAttribute("type","button")}get disabled(){var i;return this._disabled||((i=this._parentChip)==null?void 0:i.disabled)||!1}set disabled(i){this._disabled=i}_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(i){!this.disabled&&this.isInteractive&&this._isPrimary&&(i.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(i){(i.keyCode===13||i.keyCode===32)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(i.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(i,a){i&1&&ue("click",function(r){return a._handleClick(r)})("keydown",function(r){return a._handleKeydown(r)}),i&2&&(_e("tabindex",a._getTabindex())("disabled",a._getDisabledAttribute())("aria-disabled",a.disabled),We("mdc-evolution-chip__action--primary",a._isPrimary)("mdc-evolution-chip__action--presentational",!a.isInteractive)("mdc-evolution-chip__action--trailing",!a._isPrimary))},inputs:{isInteractive:"isInteractive",disabled:[2,"disabled","disabled",qe],tabIndex:[2,"tabIndex","tabIndex",i=>i==null?-1:sn(i)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"}}));let e=t;return e})(),$S=(()=>{const t=class t extends kp{constructor(){super(...arguments);o(this,"_isPrimary",!1)}_handleClick(a){this.disabled||(a.stopPropagation(),a.preventDefault(),this._parentChip.remove())}_handleKeydown(a){(a.keyCode===13||a.keyCode===32)&&!this.disabled&&(a.stopPropagation(),a.preventDefault(),this._parentChip.remove())}};o(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=Qt(t)))(r||t)}})()),o(t,"ɵdir",Se({type:t,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(a,r){a&2&&_e("aria-hidden",null)},features:[_i([{provide:Sp,useExisting:t}]),Ft]}));let e=t;return e})(),au=(()=>{const t=class t{constructor(){o(this,"_changeDetectorRef",S(Lt));o(this,"_elementRef",S(ze));o(this,"_ngZone",S(Ne));o(this,"_focusMonitor",S(nl));o(this,"_globalRippleOptions",S(af,{optional:!0}));o(this,"_document",S(et));o(this,"_onFocus",new le);o(this,"_onBlur",new le);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",S(xi).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 ce);o(this,"destroyed",new ce);o(this,"basicChipAttrName","mat-basic-chip");o(this,"leadingIcon");o(this,"trailingIcon");o(this,"removeIcon");o(this,"primaryAction");o(this,"_rippleLoader",S(yw));o(this,"_injector",S(lt));var r;let i=S(Vi);i.load(rl),i.load(Tr);let a=S(Gi,{optional:!0});this._animationsDisabled=a==="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(i){this._value=i}get disabled(){return this._disabled||this._chipListDisabled}set disabled(i){this._disabled=i}ngOnInit(){let i=this._elementRef.nativeElement;this._isBasicChip=i.hasAttribute(this.basicChipAttrName)||i.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=Ji(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){var i,a;this._focusMonitor.stopMonitoring(this._elementRef),(i=this._rippleLoader)==null||i.destroyRipple(this._elementRef.nativeElement),(a=this._actionChanges)==null||a.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){var i;return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!((i=this._globalRippleOptions)!=null&&i.disabled)}_hasTrailingIcon(){return!!(this.trailingIcon||this.removeIcon)}_handleKeydown(i){(i.keyCode===8&&!i.repeat||i.keyCode===46)&&(i.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(i){return this._getActions().find(a=>{let r=a._elementRef.nativeElement;return r===i||r.contains(i)})}_getActions(){let i=[];return this.primaryAction&&i.push(this.primaryAction),this.removeIcon&&i.push(this.removeIcon),this.trailingIcon&&i.push(this.trailingIcon),i}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(i=>{let a=i!==null;a!==this._hasFocusInternal&&(this._hasFocusInternal=a,a?this._onFocus.next({chip:this}):(this._changeDetectorRef.markForCheck(),setTimeout(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})))))})}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(i,a,r){if(i&1&&(pi(r,Hb,5),pi(r,$b,5),pi(r,Sp,5),pi(r,Hb,5),pi(r,$b,5),pi(r,Sp,5)),i&2){let s;Re(s=Fe())&&(a.leadingIcon=s.first),Re(s=Fe())&&(a.trailingIcon=s.first),Re(s=Fe())&&(a.removeIcon=s.first),Re(s=Fe())&&(a._allLeadingIcons=s),Re(s=Fe())&&(a._allTrailingIcons=s),Re(s=Fe())&&(a._allRemoveIcons=s)}},viewQuery:function(i,a){if(i&1&&mt(kp,5),i&2){let r;Re(r=Fe())&&(a.primaryAction=r.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:31,hostBindings:function(i,a){i&1&&ue("keydown",function(r){return a._handleKeydown(r)}),i&2&&(yn("id",a.id),_e("role",a.role)("aria-label",a.ariaLabel),wr("mat-"+(a.color||"primary")),We("mdc-evolution-chip",!a._isBasicChip)("mdc-evolution-chip--disabled",a.disabled)("mdc-evolution-chip--with-trailing-action",a._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",a.leadingIcon)("mdc-evolution-chip--with-primary-icon",a.leadingIcon)("mdc-evolution-chip--with-avatar",a.leadingIcon)("mat-mdc-chip-with-avatar",a.leadingIcon)("mat-mdc-chip-highlighted",a.highlighted)("mat-mdc-chip-disabled",a.disabled)("mat-mdc-basic-chip",a._isBasicChip)("mat-mdc-standard-chip",!a._isBasicChip)("mat-mdc-chip-with-trailing-icon",a._hasTrailingIcon())("_mat-animation-noopable",a._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",qe],highlighted:[2,"highlighted","highlighted",qe],disableRipple:[2,"disableRipple","disableRipple",qe],disabled:[2,"disabled","disabled",qe]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[_i([{provide:HS,useExisting:t}])],ngContentSelectors:ype,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(i,a){i&1&&(Li(bpe),de(0,"span",0),I(1,"span",1)(2,"span",2),re(3,_pe,2,0,"span",3),I(4,"span",4),dt(5),de(6,"span",5),T()()(),re(7,xpe,2,0,"span",6)),i&2&&(D(2),K("isInteractive",!1),D(),se(a.leadingIcon?3:-1),D(4),se(a._hasTrailingIcon()?7:-1))},dependencies:[kp],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}
42
+ `],encapsulation:2}));let e=t;return e})();function Zce(){return new Zc}var Xce=new $("mat-snack-bar-default-options",{providedIn:"root",factory:Zce}),Qce=(()=>{const t=class t{constructor(){o(this,"_overlay",S(wi));o(this,"_live",S(dw));o(this,"_injector",S(lt));o(this,"_breakpointObserver",S(rw));o(this,"_parentSnackBar",S(t,{optional:!0,skipSelf:!0}));o(this,"_defaultConfig",S(Xce));o(this,"_snackBarRefAtThisLevel",null);o(this,"simpleSnackBarComponent",Wce);o(this,"snackBarContainerComponent",Kce);o(this,"handsetCssClass","mat-mdc-snack-bar-handset")}get _openedSnackBarRef(){let i=this._parentSnackBar;return i?i._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(i){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=i:this._snackBarRefAtThisLevel=i}openFromComponent(i,a){return this._attach(i,a)}openFromTemplate(i,a){return this._attach(i,a)}open(i,a="",r){let s=Q(Q({},this._defaultConfig),r);return s.data={message:i,action:a},s.announcementMessage===i&&(s.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,s)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(i,a){let r=a&&a.viewContainerRef&&a.viewContainerRef.injector,s=lt.create({parent:r||this._injector,providers:[{provide:Zc,useValue:a}]}),l=new jn(this.snackBarContainerComponent,a.viewContainerRef,s),c=i.attach(l);return c.instance.snackBarConfig=a,c.instance}_attach(i,a){let r=Q(Q(Q({},new Zc),this._defaultConfig),a),s=this._createOverlay(r),l=this._attachSnackBarContainer(s,r),c=new yp(l,s);if(i instanceof Ln){let d=new qd(i,null,{$implicit:r.data,snackBarRef:c});c.instance=l.attachTemplatePortal(d)}else{let d=this._createInjector(r,c),u=new jn(i,void 0,d),p=l.attachComponentPortal(u);c.instance=p.instance}return this._breakpointObserver.observe(jce.HandsetPortrait).pipe(Dt(s.detachments())).subscribe(d=>{s.overlayElement.classList.toggle(this.handsetCssClass,d.matches)}),r.announcementMessage&&l._onAnnounce.subscribe(()=>{this._live.announce(r.announcementMessage,r.politeness)}),this._animateSnackBar(c,r),this._openedSnackBarRef=c,this._openedSnackBarRef}_animateSnackBar(i,a){i.afterDismissed().subscribe(()=>{this._openedSnackBarRef==i&&(this._openedSnackBarRef=null),a.announcementMessage&&this._live.clear()}),a.duration&&a.duration>0&&i.afterOpened().subscribe(()=>i._dismissAfter(a.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{i.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):i.containerInstance.enter()}_createOverlay(i){let a=new ol;a.direction=i.direction;let r=this._overlay.position().global(),s=i.direction==="rtl",l=i.horizontalPosition==="left"||i.horizontalPosition==="start"&&!s||i.horizontalPosition==="end"&&s,c=!l&&i.horizontalPosition!=="center";return l?r.left("0"):c?r.right("0"):r.centerHorizontally(),i.verticalPosition==="top"?r.top("0"):r.bottom("0"),a.positionStrategy=r,this._overlay.create(a)}_createInjector(i,a){let r=i&&i.viewContainerRef&&i.viewContainerRef.injector;return lt.create({parent:r||this._injector,providers:[{provide:yp,useValue:a},{provide:gS,useValue:i.data}]})}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),vS=(()=>{const t=class t{constructor(){this.snackbar=S(Qce),this.translate=S(qn)}showSuccess(i,a="commons.close",r=5e3){return this.snackbar.open(this.translate.instant(i),this.translate.instant(a),{duration:r,panelClass:"mh-snackbar--success"})}showError(i,a="commons.close",r=5e3){return this.snackbar.open(this.translate.instant(i),this.translate.instant(a),{duration:r,panelClass:"mh-snackbar--error"})}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Jce={demo:{env:En.DEMO},dev:{apiUrl:"http://vidis-fake-api.test.paas.vasdc.be",env:En.DEV},int:{apiUrl:"https://vidis-api.int.pub.vascloud.be/REST/vidis",env:En.INT},acc:{apiUrl:"https://vidis-api.acc.vasha.be/REST/vidis",env:En.ACC},prod:{apiUrl:"https://vidis-api.vasha.be/REST/vidis",env:En.PROD}},No=(()=>{const t=class t{setEnvironment(i){this.configVariables=Jce[En[i.toUpperCase()]]||{}}getEnvironmentVariable(i){return this.configVariables[i]}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Er=(()=>{const t=class t{constructor(){this.config=S(No),this.injector=S(lt),this._instance=null}getInstance(){if(!this._instance){let i=this.config.getEnvironmentVariable("env")==="demo";this._instance=i?this.injector.get(Pce):this.injector.get(Mce)}return this._instance}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),ede=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({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(i,a){i&1&&(I(0,"h2",0),B(1),H(2,"translate"),T(),I(3,"mat-dialog-content")(4,"p")(5,"span"),B(6),H(7,"translate"),T()(),I(8,"p")(9,"span"),B(10),H(11,"translate"),T(),I(12,"a",1),H(13,"translate"),B(14),H(15,"translate"),T(),B(16,"."),T()(),I(17,"mat-dialog-actions")(18,"button",2),B(19),H(20,"translate"),T(),I(21,"button",3),B(22),H(23,"translate"),T()()),i&2&&(D(),we(W(2,9,"commons.errors.report-message-title")),D(5),we(W(7,11,"commons.errors.report-message-explanation")),D(4),we(W(11,13,"commons.errors.report-message-content")),D(2),K("href",W(13,15,"commons.errors.report-message-link"),oJ),D(2),we(W(15,17,"commons.errors.report-message-term-use")),D(4),K("mat-dialog-close",!0),D(),Ie(" ",W(20,19,"commons.errors.report-message-report-button")," "),D(2),K("mat-dialog-close",!1),D(),Ie(" ",W(23,21,"commons.errors.report-message-ignore-button")," "))},dependencies:[hf,sl,ll,dl,cl,Ao,xa,_a],encapsulation:2});let e=t;return e})(),tde=(()=>{const t=class t{constructor(){this.vidisErrorCode=S(uf)}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({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(i,a){i&1&&(I(0,"h2",0),B(1),H(2,"translate"),T(),I(3,"mat-dialog-content")(4,"p")(5,"span"),B(6),H(7,"translate"),T()()(),I(8,"mat-dialog-actions")(9,"button",1),B(10),H(11,"translate"),T()()),i&2&&(D(),we(W(2,4,"commons.errors.action-not-authorized-title")),D(5),we(W(7,6,"commons.errors."+a.vidisErrorCode)),D(3),K("mat-dialog-close",!1),D(),Ie(" ",W(11,8,"commons.errors.action-not-authorized-close-button")," "))},dependencies:[hf,sl,ll,dl,cl,Ao,xa,_a],encapsulation:2});let e=t;return e})(),ide={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},ade=(e,t,n)=>{let i,a=ide[e];return typeof a=="string"?i=a:t===1?i=a.one:i=a.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i};function Zu(e){return(t={})=>{let n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var nde={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},rde={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},ode={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},sde={date:Zu({formats:nde,defaultWidth:"full"}),time:Zu({formats:rde,defaultWidth:"full"}),dateTime:Zu({formats:ode,defaultWidth:"full"})},lde={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},cde=(e,t,n,i)=>lde[e];function Wo(e){return(t,n)=>{let i=n!=null&&n.context?String(n.context):"standalone",a;if(i==="formatting"&&e.formattingValues){let s=e.defaultFormattingWidth||e.defaultWidth,l=n!=null&&n.width?String(n.width):s;a=e.formattingValues[l]||e.formattingValues[s]}else{let s=e.defaultWidth,l=n!=null&&n.width?String(n.width):e.defaultWidth;a=e.values[l]||e.values[s]}let r=e.argumentCallback?e.argumentCallback(t):t;return a[r]}}var dde={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},ude={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},hde={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},pde={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},mde={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},fde={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},gde=(e,t)=>{let n=Number(e),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},vde={ordinalNumber:gde,era:Wo({values:dde,defaultWidth:"wide"}),quarter:Wo({values:ude,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Wo({values:hde,defaultWidth:"wide"}),day:Wo({values:pde,defaultWidth:"wide"}),dayPeriod:Wo({values:mde,defaultWidth:"wide",formattingValues:fde,defaultFormattingWidth:"wide"})};function Ko(e){return(t,n={})=>{let i=n.width,a=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],r=t.match(a);if(!r)return null;let s=r[0],l=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?yde(l,p=>p.test(s)):bde(l,p=>p.test(s)),d;d=e.valueCallback?e.valueCallback(c):c,d=n.valueCallback?n.valueCallback(d):d;let u=t.slice(s.length);return{value:d,rest:u}}}function bde(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function yde(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function _de(e){return(t,n={})=>{let i=t.match(e.matchPattern);if(!i)return null;let a=i[0],r=t.match(e.parsePattern);if(!r)return null;let s=e.valueCallback?e.valueCallback(r[0]):r[0];s=n.valueCallback?n.valueCallback(s):s;let l=t.slice(a.length);return{value:s,rest:l}}}var xde=/^(\d+)(th|st|nd|rd)?/i,wde=/\d+/i,Sde={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},kde={any:[/^b/i,/^(a|c)/i]},Ede={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Cde={any:[/1/i,/2/i,/3/i,/4/i]},Dde={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Ide={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Ade={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Ode={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Tde={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Nde={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Mde={ordinalNumber:_de({matchPattern:xde,parsePattern:wde,valueCallback:e=>parseInt(e,10)}),era:Ko({matchPatterns:Sde,defaultMatchWidth:"wide",parsePatterns:kde,defaultParseWidth:"any"}),quarter:Ko({matchPatterns:Ede,defaultMatchWidth:"wide",parsePatterns:Cde,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Ko({matchPatterns:Dde,defaultMatchWidth:"wide",parsePatterns:Ide,defaultParseWidth:"any"}),day:Ko({matchPatterns:Ade,defaultMatchWidth:"wide",parsePatterns:Ode,defaultParseWidth:"any"}),dayPeriod:Ko({matchPatterns:Tde,defaultMatchWidth:"any",parsePatterns:Nde,defaultParseWidth:"any"})},bS={code:"en-US",formatDistance:ade,formatLong:sde,formatRelative:cde,localize:vde,match:Mde,options:{weekStartsOn:0,firstWeekContainsDate:1}},Pde={};function Mo(){return Pde}var yS=6048e5,Rde=864e5,Fde=6e4,Lde=36e5,Vde=1e3,Eb=Symbol.for("constructDateFrom");function si(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&Eb in e?e[Eb](t):e instanceof Date?new e.constructor(t):new Date(t)}function ni(e,t){return si(t||e,e)}function Xc(e){let t=ni(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function zde(e,...t){let n=si.bind(null,t.find(i=>typeof i=="object"));return t.map(n)}function Cb(e,t){let n=ni(e,t==null?void 0:t.in);return n.setHours(0,0,0,0),n}function jde(e,t,n){let[i,a]=zde(n==null?void 0:n.in,e,t),r=Cb(i),s=Cb(a),l=+r-Xc(r),c=+s-Xc(s);return Math.round((l-c)/Rde)}function Bde(e,t){let n=ni(e,t==null?void 0:t.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function Hde(e,t){let n=ni(e,t==null?void 0:t.in);return jde(n,Bde(n))+1}function Bn(e,t){var l,c,d,u;let n=Mo(),i=(t==null?void 0:t.weekStartsOn)??((c=(l=t==null?void 0:t.locale)==null?void 0:l.options)==null?void 0:c.weekStartsOn)??n.weekStartsOn??((u=(d=n.locale)==null?void 0:d.options)==null?void 0:u.weekStartsOn)??0,a=ni(e,t==null?void 0:t.in),r=a.getDay(),s=(r<i?7:0)+r-i;return a.setDate(a.getDate()-s),a.setHours(0,0,0,0),a}function mo(e,t){return Bn(e,Qe(Q({},t),{weekStartsOn:1}))}function _S(e,t){let n=ni(e,t==null?void 0:t.in),i=n.getFullYear(),a=si(n,0);a.setFullYear(i+1,0,4),a.setHours(0,0,0,0);let r=mo(a),s=si(n,0);s.setFullYear(i,0,4),s.setHours(0,0,0,0);let l=mo(s);return n.getTime()>=r.getTime()?i+1:n.getTime()>=l.getTime()?i:i-1}function $de(e,t){let n=_S(e,t),i=si(e,0);return i.setFullYear(n,0,4),i.setHours(0,0,0,0),mo(i)}function xS(e,t){let n=ni(e,t==null?void 0:t.in),i=+mo(n)-+$de(n);return Math.round(i/yS)+1}function If(e,t){var u,p,v,g;let n=ni(e,t==null?void 0:t.in),i=n.getFullYear(),a=Mo(),r=(t==null?void 0:t.firstWeekContainsDate)??((p=(u=t==null?void 0:t.locale)==null?void 0:u.options)==null?void 0:p.firstWeekContainsDate)??a.firstWeekContainsDate??((g=(v=a.locale)==null?void 0:v.options)==null?void 0:g.firstWeekContainsDate)??1,s=si((t==null?void 0:t.in)||e,0);s.setFullYear(i+1,0,r),s.setHours(0,0,0,0);let l=Bn(s,t),c=si((t==null?void 0:t.in)||e,0);c.setFullYear(i,0,r),c.setHours(0,0,0,0);let d=Bn(c,t);return+n>=+l?i+1:+n>=+d?i:i-1}function qde(e,t){var s,l,c,d;let n=Mo(),i=(t==null?void 0:t.firstWeekContainsDate)??((l=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:l.firstWeekContainsDate)??n.firstWeekContainsDate??((d=(c=n.locale)==null?void 0:c.options)==null?void 0:d.firstWeekContainsDate)??1,a=If(e,t),r=si((t==null?void 0:t.in)||e,0);return r.setFullYear(a,0,i),r.setHours(0,0,0,0),Bn(r,t)}function wS(e,t){let n=ni(e,t==null?void 0:t.in),i=+Bn(n,t)-+qde(n,t);return Math.round(i/yS)+1}function st(e,t){let n=e<0?"-":"",i=Math.abs(e).toString().padStart(t,"0");return n+i}var Sn={y(e,t){let n=e.getFullYear(),i=n>0?n:1-n;return st(t==="yy"?i%100:i,t.length)},M(e,t){let n=e.getMonth();return t==="M"?String(n+1):st(n+1,2)},d(e,t){return st(e.getDate(),t.length)},a(e,t){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return st(e.getHours()%12||12,t.length)},H(e,t){return st(e.getHours(),t.length)},m(e,t){return st(e.getMinutes(),t.length)},s(e,t){return st(e.getSeconds(),t.length)},S(e,t){let n=t.length,i=e.getMilliseconds(),a=Math.trunc(i*Math.pow(10,n-3));return st(a,t.length)}},jr={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Db={G:function(e,t,n){let i=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});case"GGGG":default:return n.era(i,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){let i=e.getFullYear(),a=i>0?i:1-i;return n.ordinalNumber(a,{unit:"year"})}return Sn.y(e,t)},Y:function(e,t,n,i){let a=If(e,i),r=a>0?a:1-a;if(t==="YY"){let s=r%100;return st(s,2)}return t==="Yo"?n.ordinalNumber(r,{unit:"year"}):st(r,t.length)},R:function(e,t){let n=_S(e);return st(n,t.length)},u:function(e,t){let n=e.getFullYear();return st(n,t.length)},Q:function(e,t,n){let i=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(i);case"QQ":return st(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(e,t,n){let i=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(i);case"qq":return st(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(e,t,n){let i=e.getMonth();switch(t){case"M":case"MM":return Sn.M(e,t);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(e,t,n){let i=e.getMonth();switch(t){case"L":return String(i+1);case"LL":return st(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(e,t,n,i){let a=wS(e,i);return t==="wo"?n.ordinalNumber(a,{unit:"week"}):st(a,t.length)},I:function(e,t,n){let i=xS(e);return t==="Io"?n.ordinalNumber(i,{unit:"week"}):st(i,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):Sn.d(e,t)},D:function(e,t,n){let i=Hde(e);return t==="Do"?n.ordinalNumber(i,{unit:"dayOfYear"}):st(i,t.length)},E:function(e,t,n){let i=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"});case"EEEE":default:return n.day(i,{width:"wide",context:"formatting"})}},e:function(e,t,n,i){let a=e.getDay(),r=(a-i.weekStartsOn+8)%7||7;switch(t){case"e":return String(r);case"ee":return st(r,2);case"eo":return n.ordinalNumber(r,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});case"eeee":default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,n,i){let a=e.getDay(),r=(a-i.weekStartsOn+8)%7||7;switch(t){case"c":return String(r);case"cc":return st(r,t.length);case"co":return n.ordinalNumber(r,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});case"cccc":default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,n){let i=e.getDay(),a=i===0?7:i;switch(t){case"i":return String(a);case"ii":return st(a,t.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});case"iiii":default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(e,t,n){let i=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,n){let i=e.getHours(),a;switch(i===12?a=jr.noon:i===0?a=jr.midnight:a=i/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(e,t,n){let i=e.getHours(),a;switch(i>=17?a=jr.evening:i>=12?a=jr.afternoon:i>=4?a=jr.morning:a=jr.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let i=e.getHours()%12;return i===0&&(i=12),n.ordinalNumber(i,{unit:"hour"})}return Sn.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):Sn.H(e,t)},K:function(e,t,n){let i=e.getHours()%12;return t==="Ko"?n.ordinalNumber(i,{unit:"hour"}):st(i,t.length)},k:function(e,t,n){let i=e.getHours();return i===0&&(i=24),t==="ko"?n.ordinalNumber(i,{unit:"hour"}):st(i,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):Sn.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):Sn.s(e,t)},S:function(e,t){return Sn.S(e,t)},X:function(e,t,n){let i=e.getTimezoneOffset();if(i===0)return"Z";switch(t){case"X":return Ab(i);case"XXXX":case"XX":return ir(i);case"XXXXX":case"XXX":default:return ir(i,":")}},x:function(e,t,n){let i=e.getTimezoneOffset();switch(t){case"x":return Ab(i);case"xxxx":case"xx":return ir(i);case"xxxxx":case"xxx":default:return ir(i,":")}},O:function(e,t,n){let i=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Ib(i,":");case"OOOO":default:return"GMT"+ir(i,":")}},z:function(e,t,n){let i=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Ib(i,":");case"zzzz":default:return"GMT"+ir(i,":")}},t:function(e,t,n){let i=Math.trunc(+e/1e3);return st(i,t.length)},T:function(e,t,n){return st(+e,t.length)}};function Ib(e,t=""){let n=e>0?"-":"+",i=Math.abs(e),a=Math.trunc(i/60),r=i%60;return r===0?n+String(a):n+String(a)+t+st(r,2)}function Ab(e,t){return e%60===0?(e>0?"-":"+")+st(Math.abs(e)/60,2):ir(e,t)}function ir(e,t=""){let n=e>0?"-":"+",i=Math.abs(e),a=st(Math.trunc(i/60),2),r=st(i%60,2);return n+a+t+r}var Ob=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},SS=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},Ude=(e,t)=>{let n=e.match(/(P+)(p+)?/)||[],i=n[1],a=n[2];if(!a)return Ob(e,t);let r;switch(i){case"P":r=t.dateTime({width:"short"});break;case"PP":r=t.dateTime({width:"medium"});break;case"PPP":r=t.dateTime({width:"long"});break;case"PPPP":default:r=t.dateTime({width:"full"});break}return r.replace("{{date}}",Ob(i,t)).replace("{{time}}",SS(a,t))},_p={p:SS,P:Ude},Gde=/^D+$/,Yde=/^Y+$/,Wde=["D","DD","YY","YYYY"];function kS(e){return Gde.test(e)}function ES(e){return Yde.test(e)}function xp(e,t,n){let i=Kde(e,t,n);if(console.warn(i),Wde.includes(e))throw new RangeError(i)}function Kde(e,t,n){let i=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${i} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}function Zde(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Xde(e){return!(!Zde(e)&&typeof e!="number"||isNaN(+ni(e)))}var Qde=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Jde=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,eue=/^'([^]*?)'?$/,tue=/''/g,iue=/[a-zA-Z]/;function Qc(e,t,n){var u,p,v,g,x,w,E,N;let i=Mo(),a=(n==null?void 0:n.locale)??i.locale??bS,r=(n==null?void 0:n.firstWeekContainsDate)??((p=(u=n==null?void 0:n.locale)==null?void 0:u.options)==null?void 0:p.firstWeekContainsDate)??i.firstWeekContainsDate??((g=(v=i.locale)==null?void 0:v.options)==null?void 0:g.firstWeekContainsDate)??1,s=(n==null?void 0:n.weekStartsOn)??((w=(x=n==null?void 0:n.locale)==null?void 0:x.options)==null?void 0:w.weekStartsOn)??i.weekStartsOn??((N=(E=i.locale)==null?void 0:E.options)==null?void 0:N.weekStartsOn)??0,l=ni(e,n==null?void 0:n.in);if(!Xde(l))throw new RangeError("Invalid time value");let c=t.match(Jde).map(V=>{let P=V[0];if(P==="p"||P==="P"){let oe=_p[P];return oe(V,a.formatLong)}return V}).join("").match(Qde).map(V=>{if(V==="''")return{isToken:!1,value:"'"};let P=V[0];if(P==="'")return{isToken:!1,value:aue(V)};if(Db[P])return{isToken:!0,value:V};if(P.match(iue))throw new RangeError("Format string contains an unescaped latin alphabet character `"+P+"`");return{isToken:!1,value:V}});a.localize.preprocessor&&(c=a.localize.preprocessor(l,c));let d={firstWeekContainsDate:r,weekStartsOn:s,locale:a};return c.map(V=>{if(!V.isToken)return V.value;let P=V.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&ES(P)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&kS(P))&&xp(P,t,String(e));let oe=Db[P[0]];return oe(l,P,a.localize,d)}).join("")}function aue(e){let t=e.match(eue);return t?t[1].replace(tue,"'"):e}function CS(e,t,n){let i=ni(e,n==null?void 0:n.in);return isNaN(t)?si((n==null?void 0:n.in)||e,NaN):(t&&i.setDate(i.getDate()+t),i)}function DS(){return Object.assign({},Mo())}function nue(e,t){let n=ni(e,t==null?void 0:t.in).getDay();return n===0?7:n}function rue(e,t){let n=oue(t)?new t(0):si(t,0);return n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n}function oue(e){var t;return typeof e=="function"&&((t=e.prototype)==null?void 0:t.constructor)===e}var sue=10,IS=class{constructor(){o(this,"subPriority",0)}validate(e,t){return!0}},lue=class extends IS{constructor(e,t,n,i,a){super(),this.value=e,this.validateValue=t,this.setValue=n,this.priority=i,a&&(this.subPriority=a)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,n){return this.setValue(e,t,this.value,n)}},cue=class extends IS{constructor(t,n){super();o(this,"priority",sue);o(this,"subPriority",-1);this.context=t||(i=>si(n,i))}set(t,n){return n.timestampIsSet?t:si(t,rue(t,this.context))}},rt=class{run(e,t,n,i){let a=this.parse(e,t,n,i);return a?{setter:new lue(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}validate(e,t,n){return!0}},due=class extends rt{constructor(){super(...arguments);o(this,"priority",140);o(this,"incompatibleTokens",["R","u","t","T"])}parse(t,n,i){switch(n){case"G":case"GG":case"GGG":return i.era(t,{width:"abbreviated"})||i.era(t,{width:"narrow"});case"GGGGG":return i.era(t,{width:"narrow"});case"GGGG":default:return i.era(t,{width:"wide"})||i.era(t,{width:"abbreviated"})||i.era(t,{width:"narrow"})}}set(t,n,i){return n.era=i,t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}},Bt={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Ia={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function Ht(e,t){return e&&{value:t(e.value),rest:e.rest}}function Nt(e,t){let n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function Aa(e,t){let n=t.match(e);if(!n)return null;if(n[0]==="Z")return{value:0,rest:t.slice(1)};let i=n[1]==="+"?1:-1,a=n[2]?parseInt(n[2],10):0,r=n[3]?parseInt(n[3],10):0,s=n[5]?parseInt(n[5],10):0;return{value:i*(a*Lde+r*Fde+s*Vde),rest:t.slice(n[0].length)}}function AS(e){return Nt(Bt.anyDigitsSigned,e)}function Rt(e,t){switch(e){case 1:return Nt(Bt.singleDigit,t);case 2:return Nt(Bt.twoDigits,t);case 3:return Nt(Bt.threeDigits,t);case 4:return Nt(Bt.fourDigits,t);default:return Nt(new RegExp("^\\d{1,"+e+"}"),t)}}function Jc(e,t){switch(e){case 1:return Nt(Bt.singleDigitSigned,t);case 2:return Nt(Bt.twoDigitsSigned,t);case 3:return Nt(Bt.threeDigitsSigned,t);case 4:return Nt(Bt.fourDigitsSigned,t);default:return Nt(new RegExp("^-?\\d{1,"+e+"}"),t)}}function Af(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function OS(e,t){let n=t>0,i=n?t:1-t,a;if(i<=50)a=e||100;else{let r=i+50,s=Math.trunc(r/100)*100,l=e>=r%100;a=e+s-(l?100:0)}return n?a:1-a}function TS(e){return e%400===0||e%4===0&&e%100!==0}var uue=class extends rt{constructor(){super(...arguments);o(this,"priority",130);o(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(t,n,i){let a=r=>({year:r,isTwoDigitYear:n==="yy"});switch(n){case"y":return Ht(Rt(4,t),a);case"yo":return Ht(i.ordinalNumber(t,{unit:"year"}),a);default:return Ht(Rt(n.length,t),a)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,i){let a=t.getFullYear();if(i.isTwoDigitYear){let s=OS(i.year,a);return t.setFullYear(s,0,1),t.setHours(0,0,0,0),t}let r=!("era"in n)||n.era===1?i.year:1-i.year;return t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}},hue=class extends rt{constructor(){super(...arguments);o(this,"priority",130);o(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(t,n,i){let a=r=>({year:r,isTwoDigitYear:n==="YY"});switch(n){case"Y":return Ht(Rt(4,t),a);case"Yo":return Ht(i.ordinalNumber(t,{unit:"year"}),a);default:return Ht(Rt(n.length,t),a)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,i,a){let r=If(t,a);if(i.isTwoDigitYear){let l=OS(i.year,r);return t.setFullYear(l,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),Bn(t,a)}let s=!("era"in n)||n.era===1?i.year:1-i.year;return t.setFullYear(s,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),Bn(t,a)}},pue=class extends rt{constructor(){super(...arguments);o(this,"priority",130);o(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,n){return Jc(n==="R"?4:n.length,t)}set(t,n,i){let a=si(t,0);return a.setFullYear(i,0,4),a.setHours(0,0,0,0),mo(a)}},mue=class extends rt{constructor(){super(...arguments);o(this,"priority",130);o(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,n){return Jc(n==="u"?4:n.length,t)}set(t,n,i){return t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}},fue=class extends rt{constructor(){super(...arguments);o(this,"priority",120);o(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,i){switch(n){case"Q":case"QQ":return Rt(n.length,t);case"Qo":return i.ordinalNumber(t,{unit:"quarter"});case"QQQ":return i.quarter(t,{width:"abbreviated",context:"formatting"})||i.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return i.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return i.quarter(t,{width:"wide",context:"formatting"})||i.quarter(t,{width:"abbreviated",context:"formatting"})||i.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=1&&n<=4}set(t,n,i){return t.setMonth((i-1)*3,1),t.setHours(0,0,0,0),t}},gue=class extends rt{constructor(){super(...arguments);o(this,"priority",120);o(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,i){switch(n){case"q":case"qq":return Rt(n.length,t);case"qo":return i.ordinalNumber(t,{unit:"quarter"});case"qqq":return i.quarter(t,{width:"abbreviated",context:"standalone"})||i.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return i.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return i.quarter(t,{width:"wide",context:"standalone"})||i.quarter(t,{width:"abbreviated",context:"standalone"})||i.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=1&&n<=4}set(t,n,i){return t.setMonth((i-1)*3,1),t.setHours(0,0,0,0),t}},vue=class extends rt{constructor(){super(...arguments);o(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);o(this,"priority",110)}parse(t,n,i){let a=r=>r-1;switch(n){case"M":return Ht(Nt(Bt.month,t),a);case"MM":return Ht(Rt(2,t),a);case"Mo":return Ht(i.ordinalNumber(t,{unit:"month"}),a);case"MMM":return i.month(t,{width:"abbreviated",context:"formatting"})||i.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return i.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return i.month(t,{width:"wide",context:"formatting"})||i.month(t,{width:"abbreviated",context:"formatting"})||i.month(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=11}set(t,n,i){return t.setMonth(i,1),t.setHours(0,0,0,0),t}},bue=class extends rt{constructor(){super(...arguments);o(this,"priority",110);o(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(t,n,i){let a=r=>r-1;switch(n){case"L":return Ht(Nt(Bt.month,t),a);case"LL":return Ht(Rt(2,t),a);case"Lo":return Ht(i.ordinalNumber(t,{unit:"month"}),a);case"LLL":return i.month(t,{width:"abbreviated",context:"standalone"})||i.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return i.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return i.month(t,{width:"wide",context:"standalone"})||i.month(t,{width:"abbreviated",context:"standalone"})||i.month(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=11}set(t,n,i){return t.setMonth(i,1),t.setHours(0,0,0,0),t}};function yue(e,t,n){let i=ni(e,n==null?void 0:n.in),a=wS(i,n)-t;return i.setDate(i.getDate()-a*7),ni(i,n==null?void 0:n.in)}var _ue=class extends rt{constructor(){super(...arguments);o(this,"priority",100);o(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,n,i){switch(n){case"w":return Nt(Bt.week,t);case"wo":return i.ordinalNumber(t,{unit:"week"});default:return Rt(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,i,a){return Bn(yue(t,i,a),a)}};function xue(e,t,n){let i=ni(e,n==null?void 0:n.in),a=xS(i,n)-t;return i.setDate(i.getDate()-a*7),i}var wue=class extends rt{constructor(){super(...arguments);o(this,"priority",100);o(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(t,n,i){switch(n){case"I":return Nt(Bt.week,t);case"Io":return i.ordinalNumber(t,{unit:"week"});default:return Rt(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,i){return mo(xue(t,i))}},Sue=[31,28,31,30,31,30,31,31,30,31,30,31],kue=[31,29,31,30,31,30,31,31,30,31,30,31],Eue=class extends rt{constructor(){super(...arguments);o(this,"priority",90);o(this,"subPriority",1);o(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,n,i){switch(n){case"d":return Nt(Bt.date,t);case"do":return i.ordinalNumber(t,{unit:"date"});default:return Rt(n.length,t)}}validate(t,n){let i=t.getFullYear(),a=TS(i),r=t.getMonth();return a?n>=1&&n<=kue[r]:n>=1&&n<=Sue[r]}set(t,n,i){return t.setDate(i),t.setHours(0,0,0,0),t}},Cue=class extends rt{constructor(){super(...arguments);o(this,"priority",90);o(this,"subpriority",1);o(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(t,n,i){switch(n){case"D":case"DD":return Nt(Bt.dayOfYear,t);case"Do":return i.ordinalNumber(t,{unit:"date"});default:return Rt(n.length,t)}}validate(t,n){let i=t.getFullYear();return TS(i)?n>=1&&n<=366:n>=1&&n<=365}set(t,n,i){return t.setMonth(0,i),t.setHours(0,0,0,0),t}};function Of(e,t,n){var u,p,v,g;let i=Mo(),a=(n==null?void 0:n.weekStartsOn)??((p=(u=n==null?void 0:n.locale)==null?void 0:u.options)==null?void 0:p.weekStartsOn)??i.weekStartsOn??((g=(v=i.locale)==null?void 0:v.options)==null?void 0:g.weekStartsOn)??0,r=ni(e,n==null?void 0:n.in),s=r.getDay(),l=(t%7+7)%7,c=7-a,d=t<0||t>6?t-(s+c)%7:(l+c)%7-(s+c)%7;return CS(r,d,n)}var Due=class extends rt{constructor(){super(...arguments);o(this,"priority",90);o(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,n,i){switch(n){case"E":case"EE":case"EEE":return i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return i.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,i,a){return t=Of(t,i,a),t.setHours(0,0,0,0),t}},Iue=class extends rt{constructor(){super(...arguments);o(this,"priority",90);o(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(t,n,i,a){let r=s=>{let l=Math.floor((s-1)/7)*7;return(s+a.weekStartsOn+6)%7+l};switch(n){case"e":case"ee":return Ht(Rt(n.length,t),r);case"eo":return Ht(i.ordinalNumber(t,{unit:"day"}),r);case"eee":return i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"eeeee":return i.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,i,a){return t=Of(t,i,a),t.setHours(0,0,0,0),t}},Aue=class extends rt{constructor(){super(...arguments);o(this,"priority",90);o(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(t,n,i,a){let r=s=>{let l=Math.floor((s-1)/7)*7;return(s+a.weekStartsOn+6)%7+l};switch(n){case"c":case"cc":return Ht(Rt(n.length,t),r);case"co":return Ht(i.ordinalNumber(t,{unit:"day"}),r);case"ccc":return i.day(t,{width:"abbreviated",context:"standalone"})||i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"});case"ccccc":return i.day(t,{width:"narrow",context:"standalone"});case"cccccc":return i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return i.day(t,{width:"wide",context:"standalone"})||i.day(t,{width:"abbreviated",context:"standalone"})||i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=6}set(t,n,i,a){return t=Of(t,i,a),t.setHours(0,0,0,0),t}};function Oue(e,t,n){let i=ni(e,n==null?void 0:n.in),a=nue(i,n),r=t-a;return CS(i,r,n)}var Tue=class extends rt{constructor(){super(...arguments);o(this,"priority",90);o(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(t,n,i){let a=r=>r===0?7:r;switch(n){case"i":case"ii":return Rt(n.length,t);case"io":return i.ordinalNumber(t,{unit:"day"});case"iii":return Ht(i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),a);case"iiiii":return Ht(i.day(t,{width:"narrow",context:"formatting"}),a);case"iiiiii":return Ht(i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),a);case"iiii":default:return Ht(i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),a)}}validate(t,n){return n>=1&&n<=7}set(t,n,i){return t=Oue(t,i),t.setHours(0,0,0,0),t}},Nue=class extends rt{constructor(){super(...arguments);o(this,"priority",80);o(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,n,i){switch(n){case"a":case"aa":case"aaa":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return i.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,i){return t.setHours(Af(i),0,0,0),t}},Mue=class extends rt{constructor(){super(...arguments);o(this,"priority",80);o(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,n,i){switch(n){case"b":case"bb":case"bbb":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return i.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,i){return t.setHours(Af(i),0,0,0),t}},Pue=class extends rt{constructor(){super(...arguments);o(this,"priority",80);o(this,"incompatibleTokens",["a","b","t","T"])}parse(t,n,i){switch(n){case"B":case"BB":case"BBB":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return i.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,i){return t.setHours(Af(i),0,0,0),t}},Rue=class extends rt{constructor(){super(...arguments);o(this,"priority",70);o(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,n,i){switch(n){case"h":return Nt(Bt.hour12h,t);case"ho":return i.ordinalNumber(t,{unit:"hour"});default:return Rt(n.length,t)}}validate(t,n){return n>=1&&n<=12}set(t,n,i){let a=t.getHours()>=12;return a&&i<12?t.setHours(i+12,0,0,0):!a&&i===12?t.setHours(0,0,0,0):t.setHours(i,0,0,0),t}},Fue=class extends rt{constructor(){super(...arguments);o(this,"priority",70);o(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,n,i){switch(n){case"H":return Nt(Bt.hour23h,t);case"Ho":return i.ordinalNumber(t,{unit:"hour"});default:return Rt(n.length,t)}}validate(t,n){return n>=0&&n<=23}set(t,n,i){return t.setHours(i,0,0,0),t}},Lue=class extends rt{constructor(){super(...arguments);o(this,"priority",70);o(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,n,i){switch(n){case"K":return Nt(Bt.hour11h,t);case"Ko":return i.ordinalNumber(t,{unit:"hour"});default:return Rt(n.length,t)}}validate(t,n){return n>=0&&n<=11}set(t,n,i){return t.getHours()>=12&&i<12?t.setHours(i+12,0,0,0):t.setHours(i,0,0,0),t}},Vue=class extends rt{constructor(){super(...arguments);o(this,"priority",70);o(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,n,i){switch(n){case"k":return Nt(Bt.hour24h,t);case"ko":return i.ordinalNumber(t,{unit:"hour"});default:return Rt(n.length,t)}}validate(t,n){return n>=1&&n<=24}set(t,n,i){let a=i<=24?i%24:i;return t.setHours(a,0,0,0),t}},zue=class extends rt{constructor(){super(...arguments);o(this,"priority",60);o(this,"incompatibleTokens",["t","T"])}parse(t,n,i){switch(n){case"m":return Nt(Bt.minute,t);case"mo":return i.ordinalNumber(t,{unit:"minute"});default:return Rt(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,i){return t.setMinutes(i,0,0),t}},jue=class extends rt{constructor(){super(...arguments);o(this,"priority",50);o(this,"incompatibleTokens",["t","T"])}parse(t,n,i){switch(n){case"s":return Nt(Bt.second,t);case"so":return i.ordinalNumber(t,{unit:"second"});default:return Rt(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,i){return t.setSeconds(i,0),t}},Bue=class extends rt{constructor(){super(...arguments);o(this,"priority",30);o(this,"incompatibleTokens",["t","T"])}parse(t,n){let i=a=>Math.trunc(a*Math.pow(10,-n.length+3));return Ht(Rt(n.length,t),i)}set(t,n,i){return t.setMilliseconds(i),t}},Hue=class extends rt{constructor(){super(...arguments);o(this,"priority",10);o(this,"incompatibleTokens",["t","T","x"])}parse(t,n){switch(n){case"X":return Aa(Ia.basicOptionalMinutes,t);case"XX":return Aa(Ia.basic,t);case"XXXX":return Aa(Ia.basicOptionalSeconds,t);case"XXXXX":return Aa(Ia.extendedOptionalSeconds,t);case"XXX":default:return Aa(Ia.extended,t)}}set(t,n,i){return n.timestampIsSet?t:si(t,t.getTime()-Xc(t)-i)}},$ue=class extends rt{constructor(){super(...arguments);o(this,"priority",10);o(this,"incompatibleTokens",["t","T","X"])}parse(t,n){switch(n){case"x":return Aa(Ia.basicOptionalMinutes,t);case"xx":return Aa(Ia.basic,t);case"xxxx":return Aa(Ia.basicOptionalSeconds,t);case"xxxxx":return Aa(Ia.extendedOptionalSeconds,t);case"xxx":default:return Aa(Ia.extended,t)}}set(t,n,i){return n.timestampIsSet?t:si(t,t.getTime()-Xc(t)-i)}},que=class extends rt{constructor(){super(...arguments);o(this,"priority",40);o(this,"incompatibleTokens","*")}parse(t){return AS(t)}set(t,n,i){return[si(t,i*1e3),{timestampIsSet:!0}]}},Uue=class extends rt{constructor(){super(...arguments);o(this,"priority",20);o(this,"incompatibleTokens","*")}parse(t){return AS(t)}set(t,n,i){return[si(t,i),{timestampIsSet:!0}]}},Gue={G:new due,y:new uue,Y:new hue,R:new pue,u:new mue,Q:new fue,q:new gue,M:new vue,L:new bue,w:new _ue,I:new wue,d:new Eue,D:new Cue,E:new Due,e:new Iue,c:new Aue,i:new Tue,a:new Nue,b:new Mue,B:new Pue,h:new Rue,H:new Fue,K:new Lue,k:new Vue,m:new zue,s:new jue,S:new Bue,X:new Hue,x:new $ue,t:new que,T:new Uue},Yue=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Wue=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Kue=/^'([^]*?)'?$/,Zue=/''/g,Xue=/\S/,Que=/[a-zA-Z]/;function Jue(e,t,n,i){var E,N,V,P;let a=()=>si(n,NaN),r=DS(),s=r.locale??bS,l=r.firstWeekContainsDate??((N=(E=r.locale)==null?void 0:E.options)==null?void 0:N.firstWeekContainsDate)??1,c=r.weekStartsOn??((P=(V=r.locale)==null?void 0:V.options)==null?void 0:P.weekStartsOn)??0,d={firstWeekContainsDate:l,weekStartsOn:c,locale:s},u=[new cue(i==null?void 0:i.in,n)],p=t.match(Wue).map(oe=>{let xe=oe[0];if(xe in _p){let Me=_p[xe];return Me(oe,s.formatLong)}return oe}).join("").match(Yue),v=[];for(let oe of p){ES(oe)&&xp(oe,t,e),kS(oe)&&xp(oe,t,e);let xe=oe[0],Me=Gue[xe];if(Me){let{incompatibleTokens:Jt}=Me;if(Array.isArray(Jt)){let vt=v.find(Gt=>Jt.includes(Gt.token)||Gt.token===xe);if(vt)throw new RangeError(`The format string mustn't contain \`${vt.fullToken}\` and \`${oe}\` at the same time`)}else if(Me.incompatibleTokens==="*"&&v.length>0)throw new RangeError(`The format string mustn't contain \`${oe}\` and any other token at the same time`);v.push({token:xe,fullToken:oe});let Vt=Me.run(e,oe,s.match,d);if(!Vt)return a();u.push(Vt.setter),e=Vt.rest}else{if(xe.match(Que))throw new RangeError("Format string contains an unescaped latin alphabet character `"+xe+"`");if(oe==="''"?oe="'":xe==="'"&&(oe=ehe(oe)),e.indexOf(oe)===0)e=e.slice(oe.length);else return a()}}if(e.length>0&&Xue.test(e))return a();let g=u.map(oe=>oe.priority).sort((oe,xe)=>xe-oe).filter((oe,xe,Me)=>Me.indexOf(oe)===xe).map(oe=>u.filter(xe=>xe.priority===oe).sort((xe,Me)=>Me.subPriority-xe.subPriority)).map(oe=>oe[0]),x=ni(n,i==null?void 0:i.in);if(isNaN(+x))return a();let w={};for(let oe of g){if(!oe.validate(x,d))return a();let xe=oe.set(x,w,d);Array.isArray(xe)?(x=xe[0],Object.assign(w,xe[1])):x=xe}return x}function ehe(e){return e.match(Kue)[1].replace(Zue,"'")}function Tb(e,t,n){let i=DS(),a=ahe(e,n.timeZone,n.locale??i.locale);return"formatToParts"in a?the(a,t):ihe(a,t)}function the(e,t){let n=e.formatToParts(t);for(let i=n.length-1;i>=0;--i)if(n[i].type==="timeZoneName")return n[i].value}function ihe(e,t){let n=e.format(t).replace(/\u200E/g,""),i=/ [\w-+ ]+$/.exec(n);return i?i[0].substr(1):""}function ahe(e,t,n){return new Intl.DateTimeFormat(n?[n.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}function nhe(e,t){let n=che(t);return"formatToParts"in n?ohe(n,e):she(n,e)}var rhe={year:0,month:1,day:2,hour:3,minute:4,second:5};function ohe(e,t){try{let n=e.formatToParts(t),i=[];for(let a=0;a<n.length;a++){let r=rhe[n[a].type];r!==void 0&&(i[r]=parseInt(n[a].value,10))}return i}catch(n){if(n instanceof RangeError)return[NaN];throw n}}function she(e,t){let n=e.format(t),i=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);return[parseInt(i[3],10),parseInt(i[1],10),parseInt(i[2],10),parseInt(i[4],10),parseInt(i[5],10),parseInt(i[6],10)]}var Xu={},Nb=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")),lhe=Nb==="06/25/2014, 00:00:00"||Nb==="‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";function che(e){return Xu[e]||(Xu[e]=lhe?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"})),Xu[e]}function NS(e,t,n,i,a,r,s){let l=new Date(0);return l.setUTCFullYear(e,t,n),l.setUTCHours(i,a,r,s),l}var Mb=36e5,dhe=6e4,Qu={timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function MS(e,t,n){if(!e)return 0;let i=Qu.timezoneZ.exec(e);if(i)return 0;let a,r;if(i=Qu.timezoneHH.exec(e),i)return a=parseInt(i[1],10),Pb(a)?-(a*Mb):NaN;if(i=Qu.timezoneHHMM.exec(e),i){a=parseInt(i[2],10);let s=parseInt(i[3],10);return Pb(a,s)?(r=Math.abs(a)*Mb+s*dhe,i[1]==="+"?-r:r):NaN}if(phe(e)){t=new Date(t||Date.now());let s=n?t:uhe(t),l=wp(s,e);return-(n?l:hhe(t,l,e))}return NaN}function uhe(e){return NS(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function wp(e,t){let n=nhe(e,t),i=NS(n[0],n[1]-1,n[2],n[3]%24,n[4],n[5],0).getTime(),a=e.getTime(),r=a%1e3;return a-=r>=0?r:1e3+r,i-a}function hhe(e,t,n){let i=e.getTime()-t,a=wp(new Date(i),n);if(t===a)return t;i-=a-t;let r=wp(new Date(i),n);return a===r?a:Math.max(a,r)}function Pb(e,t){return-23<=e&&e<=23&&(t==null||0<=t&&t<=59)}var Rb={};function phe(e){if(Rb[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),Rb[e]=!0,!0}catch{return!1}}var mhe=60*1e3,fhe={X:function(e,t,n){let i=Ju(n.timeZone,e);if(i===0)return"Z";switch(t){case"X":return Fb(i);case"XXXX":case"XX":return Hr(i);case"XXXXX":case"XXX":default:return Hr(i,":")}},x:function(e,t,n){let i=Ju(n.timeZone,e);switch(t){case"x":return Fb(i);case"xxxx":case"xx":return Hr(i);case"xxxxx":case"xxx":default:return Hr(i,":")}},O:function(e,t,n){let i=Ju(n.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+ghe(i,":");case"OOOO":default:return"GMT"+Hr(i,":")}},z:function(e,t,n){switch(t){case"z":case"zz":case"zzz":return Tb("short",e,n);case"zzzz":default:return Tb("long",e,n)}}};function Ju(e,t){let n=e?MS(e,t,!0)/mhe:(t==null?void 0:t.getTimezoneOffset())??0;if(Number.isNaN(n))throw new RangeError("Invalid time zone specified: "+e);return n}function ed(e,t){let n=e<0?"-":"",i=Math.abs(e).toString();for(;i.length<t;)i="0"+i;return n+i}function Hr(e,t=""){let n=e>0?"-":"+",i=Math.abs(e),a=ed(Math.floor(i/60),2),r=ed(Math.floor(i%60),2);return n+a+t+r}function Fb(e,t){return e%60===0?(e>0?"-":"+")+ed(Math.abs(e)/60,2):Hr(e,t)}function ghe(e,t=""){let n=e>0?"-":"+",i=Math.abs(e),a=Math.floor(i/60),r=i%60;return r===0?n+String(a):n+String(a)+t+ed(r,2)}function Lb(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 vhe=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,eh=36e5,Vb=6e4,bhe=2,Ei={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:vhe};function yhe(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?bhe: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 i=_he(e),{year:a,restDateString:r}=xhe(i.date,n),s=whe(r,a);if(s===null||isNaN(s.getTime()))return new Date(NaN);if(s){let l=s.getTime(),c=0,d;if(i.time&&(c=She(i.time),c===null||isNaN(c)))return new Date(NaN);if(i.timeZone||t.timeZone){if(d=MS(i.timeZone||t.timeZone,new Date(l+c)),isNaN(d))return new Date(NaN)}else d=Lb(new Date(l+c)),d=Lb(new Date(l+c+d));return new Date(l+c+d)}else return new Date(NaN)}function _he(e){let t={},n=Ei.dateTimePattern.exec(e),i;if(n?(t.date=n[1],i=n[3]):(n=Ei.datePattern.exec(e),n?(t.date=n[1],i=n[2]):(t.date=null,i=e)),i){let a=Ei.timeZone.exec(i);a?(t.time=i.replace(a[1],""),t.timeZone=a[1].trim()):t.time=i}return t}function xhe(e,t){if(e){let n=Ei.YYY[t],i=Ei.YYYYY[t],a=Ei.YYYY.exec(e)||i.exec(e);if(a){let r=a[1];return{year:parseInt(r,10),restDateString:e.slice(r.length)}}if(a=Ei.YY.exec(e)||n.exec(e),a){let r=a[1];return{year:parseInt(r,10)*100,restDateString:e.slice(r.length)}}}return{year:null}}function whe(e,t){if(t===null)return null;let n,i,a;if(!e||!e.length)return n=new Date(0),n.setUTCFullYear(t),n;let r=Ei.MM.exec(e);if(r)return n=new Date(0),i=parseInt(r[1],10)-1,jb(t,i)?(n.setUTCFullYear(t,i),n):new Date(NaN);if(r=Ei.DDD.exec(e),r){n=new Date(0);let s=parseInt(r[1],10);return Che(t,s)?(n.setUTCFullYear(t,0,s),n):new Date(NaN)}if(r=Ei.MMDD.exec(e),r){n=new Date(0),i=parseInt(r[1],10)-1;let s=parseInt(r[2],10);return jb(t,i,s)?(n.setUTCFullYear(t,i,s),n):new Date(NaN)}if(r=Ei.Www.exec(e),r)return a=parseInt(r[1],10)-1,Bb(a)?zb(t,a):new Date(NaN);if(r=Ei.WwwD.exec(e),r){a=parseInt(r[1],10)-1;let s=parseInt(r[2],10)-1;return Bb(a,s)?zb(t,a,s):new Date(NaN)}return null}function She(e){let t,n,i=Ei.HH.exec(e);if(i)return t=parseFloat(i[1].replace(",",".")),th(t)?t%24*eh:NaN;if(i=Ei.HHMM.exec(e),i)return t=parseInt(i[1],10),n=parseFloat(i[2].replace(",",".")),th(t,n)?t%24*eh+n*Vb:NaN;if(i=Ei.HHMMSS.exec(e),i){t=parseInt(i[1],10),n=parseInt(i[2],10);let a=parseFloat(i[3].replace(",","."));return th(t,n,a)?t%24*eh+n*Vb+a*1e3:NaN}return null}function zb(e,t,n){t=t||0,n=n||0;let i=new Date(0);i.setUTCFullYear(e,0,4);let a=i.getUTCDay()||7,r=t*7+n+1-a;return i.setUTCDate(i.getUTCDate()+r),i}var khe=[31,28,31,30,31,30,31,31,30,31,30,31],Ehe=[31,29,31,30,31,30,31,31,30,31,30,31];function PS(e){return e%400===0||e%4===0&&e%100!==0}function jb(e,t,n){if(t<0||t>11)return!1;if(n!=null){if(n<1)return!1;let i=PS(e);if(i&&n>Ehe[t]||!i&&n>khe[t])return!1}return!0}function Che(e,t){if(t<1)return!1;let n=PS(e);return!(n&&t>366||!n&&t>365)}function Bb(e,t){return!(e<0||e>52||t!=null&&(t<0||t>6))}function th(e,t,n){return!(e<0||e>=25||t!=null&&(t<0||t>=60)||n!=null&&(n<0||n>=60))}var Dhe=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function Ihe(e,t,n={}){t=String(t);let i=t.match(Dhe);if(i){let a=yhe(n.originalDate||e,n);t=i.reduce(function(r,s){if(s[0]==="'")return r;let l=r.indexOf(s),c=r[l-1]==="'",d=r.replace(s,"'"+fhe[s[0]](a,s,n)+"'");return c?d.substring(0,l-1)+d.substring(l+1):d},t)}return Qc(e,t,n)}var Ahe=(()=>{const t=class t{reportError(i){return ft({status:"ok"})}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Ohe=(()=>{const t=class t{constructor(){this.http=S(el),this.authService=S(Er).getInstance(),this.apiUrl=S(No).getEnvironmentVariable("apiUrl")}reportError(i){return this.http.post(`${this.apiUrl}/v2/report/error`,i,{headers:{[ao.userType]:lr.getUserType({isProfessional:this.authService.isProfessional}),[ao.clientType]:mS()?lr.clientType.mobileApp:lr.clientType.webApp}})}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),The=(()=>{const t=class t{constructor(){this.config=S(No),this.injector=S(lt),this._instance=null}getInstance(){if(!this._instance){let i=this.config.getEnvironmentVariable("env")==="demo";this._instance=i?this.injector.get(Ahe):this.injector.get(Ohe)}return this._instance}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Nhe=(()=>{const t=class t extends Cce{constructor(){super(...arguments),this.version=bp,this.authServiceSelector=S(Er),this.translateService=S(qn),this.webComponentConfig=S(No),this.injector=S(lt),this.servicesStore=S(eu),this.matDialog=S(Nr),this.destroyRef=S($i),this.errorServiceSelector=S(The),this.snackbarService=S(vS),this.extraRequiredFields=["offlineDataStorageEnabled","isOfflineAuthenticated","professional","ssin"]}onInitialized(){return _t(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(i=>_t(this,null,function*(){yield this.fetchData(!0),i()}))})}onPropsChanged(i){i.language&&this.translateService.use(this.language)}checkError(i){(i==null?void 0:i.group)===ln.NOT_AUTHORIZED?this.showNotAuthorizedErrorPopup(i.code):(i==null?void 0:i.group)===ln.OTHER&&this.showTechnicalErrorPopup(i)}showTechnicalErrorPopup(i){this.matDialog.open(ede,{data:{error:i}}).beforeClosed().pipe(oi(a=>a),Do(this.destroyRef)).subscribe(()=>{this.reportVidisError(i)})}reportVidisError(i){let a={backendTraceId:"",errorMessage:i.message,pageUrl:window.location.href,timestamp:this.formatDateWithZone()};this.errorServiceSelector.getInstance().reportError(a).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(i){this.matDialog.open(tde,{data:i})}formatDateWithZone(){return Ihe(new Date,"yyyy-MM-dd'T'HH:mm:ssXXX",{timeZone:"Europe/Brussels"})}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Qt(t)))(a||t)}})(),t.ɵcmp=Ce({type:t,selectors:[["ng-component"]],inputs:{isOfflineAuthenticated:"isOfflineAuthenticated",offlineDataStorageEnabled:"offlineDataStorageEnabled",professional:"professional",ssin:"ssin"},features:[Ft],decls:0,vars:0,template:function(i,a){},encapsulation:2});let e=t;return e})();function Mhe(e,t){if(e&1&&(I(0,"mat-option",4),B(1),H(2,"translate"),T()),e&2){let n=t.$implicit;K("value",n),D(),we(W(2,2,"commons.sortDropdown."+n))}}function Phe(e,t){if(e&1){let n=Ke();I(0,"button",6),H(1,"translate"),ue("click",function(){ge(n);let i=R();return ve(i.emitNewData({sort:i.sortData().sort,order:i.sortDirection.descending}))}),de(2,"mat-icon",7),T()}if(e&2){let n=R();K("disabled",n.disabled()),_e("aria-label",W(1,2,"commons.sortDropdown.sorting-ascendant"))}}function Rhe(e,t){if(e&1){let n=Ke();I(0,"button",6),H(1,"translate"),ue("click",function(){ge(n);let i=R();return ve(i.emitNewData({sort:i.sortData().sort,order:i.sortDirection.ascending}))}),de(2,"mat-icon",8),T()}if(e&2){let n=R();K("disabled",n.disabled()),_e("aria-label",W(1,2,"commons.sortDropdown.sorting-descendent"))}}var Fhe=(()=>{const t=class t{constructor(){this.sortData=_te.required(),this.sortItems=Pt.required(),this.disabled=Pt(!1),this.sortDirection=tu}emitNewData(i){this.sortData.set(i)}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({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(i,a){i&1&&(I(0,"div",0)(1,"div",1)(2,"mat-form-field",2)(3,"mat-select",3),ue("valueChange",function(r){return a.emitNewData({sort:r,order:a.sortData().order})}),Ri(4,Mhe,3,4,"mat-option",4,ba),T()()(),re(6,Phe,3,4,"button",5)(7,Rhe,3,4,"button",5),T()),i&2&&(D(3),K("value",a.sortData().sort)("disabled",a.disabled()),D(),Fi(a.sortItems()),D(2),se(a.sortData().order===a.sortDirection.ascending?6:7))},dependencies:[Un,Ao,Io,Cs,Wd,hS,Cf,Jd,_a],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})(),Lhe=["*"];function Vhe(e,t){e&1&&Qs(0)}function zhe(e,t){if(e&1&&(I(0,"div",3),re(1,Vhe,1,0,"ng-container",5),T()),e&2){R();let n=Qi(5);D(),K("ngTemplateOutlet",n)}}function jhe(e,t){e&1&&Qs(0)}function Bhe(e,t){if(e&1){let n=Ke();I(0,"div",6),ue("click",function(){ge(n);let i=R();return ve(i.toggleExpanded())})("keydown.enter",function(){ge(n);let i=R();return ve(i.toggleExpanded())})("keydown.space",function(){ge(n);let i=R();return ve(i.toggleExpanded())}),re(1,jhe,1,0,"ng-container",5),T()}if(e&2){let n=R(),i=Qi(5);_e("aria-label",n.currentExpandIconAriaLabel()),D(),K("ngTemplateOutlet",i)}}function Hhe(e,t){e&1&&Qs(0)}function $he(e,t){if(e&1&&re(0,Hhe,1,0,"ng-container",5),e&2){R();let n=Qi(7);K("ngTemplateOutlet",n)}}function qhe(e,t){if(e&1&&(I(0,"h2"),B(1),T()),e&2){let n=R(3);D(),we(n.alertTitle())}}function Uhe(e,t){if(e&1&&(I(0,"p"),B(1),T()),e&2){let n=R(3);D(),we(n.alertSubtitle())}}function Ghe(e,t){if(e&1&&(I(0,"div"),re(1,qhe,2,1,"h2")(2,Uhe,2,1,"p"),T()),e&2){let n=R(2);D(),se(n.alertTitle()?1:-1),D(),se(n.alertSubtitle()?2:-1)}}function Yhe(e,t){e&1&&Qs(0)}function Whe(e,t){if(e&1&&re(0,Yhe,1,0,"ng-container",5),e&2){R(2);let n=Qi(7);K("ngTemplateOutlet",n)}}function Khe(e,t){if(e&1){let n=Ke();I(0,"mat-icon",11),ue("click",function(){ge(n);let i=R(2);return ve(i.onCloseButtonClick())})("keydown.enter",function(){ge(n);let i=R(2);return ve(i.onCloseButtonClick())})("keydown.space",function(){ge(n);let i=R(2);return ve(i.onCloseButtonClick())}),T()}if(e&2){let n=R(2);_e("aria-label",n.closeButtonAriaLabel())}}function Zhe(e,t){if(e&1&&de(0,"mat-icon",10),e&2){let n=R(2);K("fontIcon",n.expanded()?"keyboard_arrow_up":"keyboard_arrow_down")}}function Xhe(e,t){if(e&1&&(de(0,"mat-icon",7),I(1,"div",8),re(2,Ghe,3,2,"div")(3,Whe,1,1,"ng-container"),T(),re(4,Khe,1,1,"mat-icon",9)(5,Zhe,1,1,"mat-icon",10)),e&2){let n=R();K("fontIcon",n.fontIcon()),D(2),se(n.alertTitle()||n.alertSubtitle()?2:n.dismissMode()!=="expandable"?3:-1),D(2),se(n.dismissMode()==="closable"?4:n.dismissMode()==="expandable"?5:-1)}}function Qhe(e,t){if(e&1){let n=Ke();I(0,"button",14),ue("click",function(){ge(n);let i=R(2);return ve(i.onActionButtonClicked())}),B(1),T()}if(e&2){let n=R(2);K("disabled",n.buttonDisabled()),D(),Ie(" ",n.buttonLabel()," ")}}function Jhe(e,t){if(e&1&&(I(0,"span",12),dt(1),T(),re(2,Qhe,2,2,"button",13)),e&2){let n=R();D(2),se(n.actionButton()?2:-1)}}var epe=(()=>{const t=class t{constructor(){o(this,"usage",Pt("info"));o(this,"backgroundColor",Pt("color"));o(this,"alertTitle",Pt());o(this,"alertSubtitle",Pt());o(this,"actionButton",Pt(!1));o(this,"buttonDisabled",Pt(!1));o(this,"buttonLabel",Pt());o(this,"dismissMode",Pt("pinned"));o(this,"closeButtonAriaLabel",Pt(""));o(this,"startExpanded",Pt(!1));o(this,"expandedButtonAriaLabel",Pt(""));o(this,"collapsedButtonAriaLabel",Pt(""));o(this,"closeButtonClicked",Ag());o(this,"actionButtonClicked",Ag());o(this,"expanded",bae(()=>this.startExpanded()));o(this,"currentExpandIconAriaLabel",Ti(()=>this.expanded()?this.expandedButtonAriaLabel():this.collapsedButtonAriaLabel()));o(this,"expandableExpanded",Ti(()=>this.dismissMode()==="expandable"&&this.expanded()));o(this,"notExpandableMissingTitleAndSubtitle",Ti(()=>this.dismissMode()!=="expandable"&&(this.alertTitle()||this.alertSubtitle())));o(this,"toggleExpanded",()=>{this.expanded.update(i=>!i)});o(this,"onActionButtonClicked",()=>{this.actionButtonClicked.emit()});o(this,"fontIcon",Ti(()=>({info:"info",success:"check_circle",warning:"warning",error:"emergency_home",notification:"notifications"})[this.usage()]??"info"))}onCloseButtonClick(){this.closeButtonClicked.emit()}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({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:Lhe,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(i,a){i&1&&(Li(),I(0,"div",2),re(1,zhe,2,1,"div",3)(2,Bhe,2,2,"div",4)(3,$he,1,1,"ng-container"),T(),re(4,Xhe,6,3,"ng-template",null,0,ip)(6,Jhe,3,1,"ng-template",null,1,ip)),i&2&&(wr(a.usage()),We("white",a.backgroundColor()==="white"),D(),se(a.dismissMode()!=="expandable"?1:2),D(2),se(a.notExpandableMissingTitleAndSubtitle()||a.expandableExpanded()?3:-1))},dependencies:[I1,k1,Un,xa],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 tpe(e,t){if(e&1&&(I(0,"mh-alert",0),H(1,"translate"),I(2,"div",1),B(3),H(4,"translate"),T()()),e&2){let n=R();K("alertTitle",W(1,2,"commons.errors.data-not-available-title")),D(3),we(W(4,4,"commons.errors."+n.error().code))}}var ipe=(()=>{const t=class t{constructor(){this.error=Pt.required(),this.vidisErrorGroup=ln}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["vidis-status-message"]],inputs:{error:[1,"error"]},decls:1,vars:1,consts:[["usage","info",3,"alertTitle"],["alert-details",""]],template:function(i,a){i&1&&re(0,tpe,5,6,"mh-alert",0),i&2&&se(a.error().group===a.vidisErrorGroup.TEMP_UNAVAILABLE?0:-1)},dependencies:[_a,epe],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})(),RS=(()=>{const t=class t{constructor(){this.authService=S(Er).getInstance(),this.templateRef=S(Ln),this.viewContainer=S(bn),this.cdRef=S(Lt)}ngOnInit(){this.authService.isOfflineAuthenticated?this.viewContainer.clear():this.viewContainer.createEmbeddedView(this.templateRef),this.cdRef.markForCheck()}};t.ɵfac=function(i){return new(i||t)},t.ɵdir=Se({type:t,selectors:[["","hideIfOffline",""]]});let e=t;return e})(),ape=["*"],npe=(e,t,n,i,a)=>({"custom-content":e,circle:t,progress:n,"progress-dark":i,pulse:a});function rpe(e,t){e&1&&dt(0)}function ope(e,t){if(e&1&&(I(0,"div",0),re(1,rpe,1,0),T()),e&2){let n=R(),i=ov(0),a=ov(1);K("ngClass",$ie(5,npe,i==="custom-content",i==="circle",a==="progress",a==="progress-dark",a==="pulse"))("ngStyle",n.styles()),_e("aria-label",n.ariaLabel())("aria-valuetext",n.loadingText()),D(),se(i==="custom-content"?1:-1)}}var FS=new $("ngx-skeleton-loader.config"),spe=(()=>{var t;const n=class n{constructor(){rg(this,t);var a,r,s,l,c,d;og(this,t,S(FS,{optional:!0})),this.count=Pt(((a=en(this,t))==null?void 0:a.count)||1,{transform:sn}),this.loadingText=Pt(((r=en(this,t))==null?void 0:r.loadingText)||"Loading..."),this.appearance=Pt(((s=en(this,t))==null?void 0:s.appearance)||"line"),this.animation=Pt(((l=en(this,t))==null?void 0:l.animation)||"progress"),this.ariaLabel=Pt(((c=en(this,t))==null?void 0:c.ariaLabel)||"loading"),this.theme=Pt(((d=en(this,t))==null?void 0:d.theme)||null),this.items=Ti(()=>{let u=this.count()||1;return this.appearance()==="custom-content"&&rae(),[...Array(u)].map((p,v)=>v)}),this.styles=Ti(()=>{var p,v,g;let u=this.theme();return(v=(p=en(this,t))==null?void 0:p.theme)!=null&&v.extendsFromRoot?Q(Q({},(g=en(this,t))==null?void 0:g.theme),u):u})}};t=new WeakMap,n.ɵfac=function(a){return new(a||n)},n.ɵcmp=Ce({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:ape,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(a,r){a&1&&(Li(),Um(0)(1),Ri(2,ope,2,11,"div",0,ba)),a&2&&(rv(r.appearance()),D(),rv(r.animation()),D(),Fi(r.items()))},dependencies:[Js,one],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})(),lpe=(()=>{const t=class t{static forRoot(i){return{ngModule:t,providers:[{provide:FS,useValue:i}]}}};t.ɵfac=function(i){return new(i||t)},t.ɵmod=kt({type:t}),t.ɵinj=St({imports:[I1]});let e=t;return e})(),LS={"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(LS);var cpe=LS,VS={"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(VS);var dpe=VS,Ki=function(e,t,n,i){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"?i:n==="a"?i.call(e):i?i.value:t.get(e)},$r,ts,ar,upe=class{constructor(...e){$r.set(this,new Map),ts.set(this,new Map),ar.set(this,new Map);for(let t of e)this.define(t)}define(e,t=!1){for(let[n,i]of Object.entries(e)){n=n.toLowerCase(),i=i.map(s=>s.toLowerCase()),Ki(this,ar,"f").has(n)||Ki(this,ar,"f").set(n,new Set);let a=Ki(this,ar,"f").get(n),r=!0;for(let s of i){let l=s.startsWith("*");if(s=l?s.slice(1):s,a==null||a.add(s),r&&Ki(this,ts,"f").set(n,s),r=!1,l)continue;let c=Ki(this,$r,"f").get(s);if(c&&c!=n&&!t)throw new Error(`"${n} -> ${s}" conflicts with "${c} -> ${s}". Pass \`force=true\` to override this definition.`);Ki(this,$r,"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(),i=t.length<e.length;return!(n.length<t.length-1)&&i?null:Ki(this,$r,"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&&Ki(this,ts,"f").get(e.trim().toLowerCase()))??null)}getAllExtensions(e){return typeof e!="string"?null:Ki(this,ar,"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 Ki(this,ar,"f").values())Object.freeze(e);return this}_getTestState(){return{types:Ki(this,$r,"f"),extensions:Ki(this,ts,"f")}}};$r=new WeakMap,ts=new WeakMap,ar=new WeakMap;var hpe=upe,zS=new hpe(dpe,cpe)._freeze(),Tf=function(e){return e.author="author",e.date="date",e.role="role",e}(Tf||{}),iu=(()=>{const t=class t{setClientId(i){this.clientId=i}buildClientIdHeader(){return this.clientId&&new zn().set(ao.exchangeClientId,this.clientId)}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Is=(()=>{const t=class t extends pS{constructor(i,a){super(i.getServices(),Ds.DIARY_NOTES,a.getInstance().isOfflineAuthenticated,a.getInstance().isOfflineDataStorageEnabled,Ds.DIARY_NOTES),this.diarynoteApiService=S(iu),this.snackbarService=S(vS),this.translate=S(qn),this.authServiceSelector=S(Er),this.diarynotesStateSubject$=new nr({status:Fn.INITIAL}),this.filterStateSubject$=new nr({dateRange:{from:null,until:null}}),this.paginationStateSubject$=new nr({page:0,pageSize:10,totalPages:void 0}),this.sortStateSubject$=new nr({sort:Tf.date,order:tu.descending}),this.patientSubject$=new nr(void 0),this.diarynotesState$=this.diarynotesStateSubject$.asObservable(),this.filterState$=this.filterStateSubject$.asObservable(),this.paginationState$=this.paginationStateSubject$.asObservable(),this.sortState$=this.sortStateSubject$.asObservable()}setClientId(i){this.diarynoteApiService.setClientId(i)}fetchDiarynotes(i=!0){return _t(this,null,function*(){return Fce(this.getData(i),this.diarynotesStateSubject$)})}getDataFromBackend(){return _t(this,null,function*(){let i=yield this.authServiceSelector.getInstance().resolvePatientInfo(),a=this.authServiceSelector.getInstance().isProfessional?yield this.authServiceSelector.getInstance().resolveSsin():"";this.patientSubject$.next(i);let r=this.diarynoteApiService.search(this.filterStateSubject$.getValue(),this.paginationStateSubject$.getValue(),this.sortStateSubject$.getValue(),a);return lZ(r)})}static isDiaryNoteCompleted(i){return(i==null?void 0:i.toLowerCase())==="completed"}updatePagination(i){return _t(this,null,function*(){let a=this.paginationStateSubject$.getValue(),r=Qe(Q({},a),{page:(i==null?void 0:i.page)!==void 0?i.page:a.page,pageSize:(i==null?void 0:i.pageSize)||a.pageSize});this.paginationStateSubject$.next(r),yield this.fetchDiarynotes(!0)})}updateSorting(i){return _t(this,null,function*(){let a=this.sortStateSubject$.getValue(),r={sort:(i==null?void 0:i.sort)!==void 0?i.sort:a.sort,order:(i==null?void 0:i.order)||a.order};this.sortStateSubject$.next(r),yield this.fetchDiarynotes(!0)})}updateFilter(i){return _t(this,null,function*(){this.filterStateSubject$.next(i);let a=this.paginationStateSubject$.getValue();this.paginationStateSubject$.next(Qe(Q({},a),{page:void 0})),yield this.fetchDiarynotes(!0)})}clearFilter(){return _t(this,null,function*(){this.filterStateSubject$.next({dateRange:{from:null,until:null},author:"",role:"",tags:[]}),yield this.fetchDiarynotes(!0)})}clearFilterByKey(i){return _t(this,null,function*(){let a=this.filterStateSubject$.getValue(),r;i==="range"?r=Qe(Q({},a),{dateRange:{from:null,until:null}}):r=Qe(Q({},a),{[i]:void 0}),this.filterStateSubject$.next(r),yield this.fetchDiarynotes(!0)})}downloadSpecificDiaryNoteAttachment(i,a,r,s,l){this.diarynoteApiService.downloadDiaryNoteAttachment(i,l,s,r,a).subscribe({next:c=>{let d=c.body;if(!d||d.size===0){this.snackbarService.showError("commons.errors.general");return}let u=c.headers.get("Content-Type")||d.type||"application/octet-stream",p=this.getAttachmentFileName(l,u),v=URL.createObjectURL(d),g=document.createElement("a");g.href=v,g.download=p,g.rel="noopener",g.target="_blank",document.body.appendChild(g),g.click(),g.remove(),URL.revokeObjectURL(v)},error:()=>{this.snackbarService.showError("commons.errors.general")}})}getAttachmentFileName(i,a){let r=a?zS.getExtension(a):"unknown";return this.translate.instant("commons.file")+"_"+(i+1)+"."+r}postDiarynote(i,a){this.diarynoteApiService.postDiaryNote(i,a,this.patientSubject$.getValue(),this.translate.currentLang).subscribe({next:()=>{this.fetchDiarynotes(!0).catch(r=>{console.error("Error fetching diary note:",r)})},error:r=>{console.error("Error posting diary note:",r),this.handleDiaryNoteError(r)}})}handleDiaryNoteError(i){let a="diaryNotesPage.add-note-error.default";["VIDIS_0410","VIDIS_0415","VIDIS_0420","VIDIS_0425","VIDIS_1005","VIDIS_1000"].includes(i==null?void 0:i.code)&&(a="diaryNotesPage.add-note-error."+i.code),this.snackbarService.showError(a)}deleteDiaryNote(i,a,r,s){this.diarynoteApiService.deleteDiaryNote(i,a,r,s).subscribe({next:l=>{var d,u;let c=this.diarynotesStateSubject$.getValue();if(l.statusCode===204){let p=((d=c.data)==null?void 0:d.items.filter(v=>v.id!==i))||[];this.diarynotesStateSubject$.next(Qe(Q({},c),{data:Qe(Q({},c.data),{items:p}),status:Fn.SUCCESS}))}else{let p=((u=c.data)==null?void 0:u.items.map(v=>v.id===l.diaryNote.note.id?l.diaryNote.note:v))||[];this.diarynotesStateSubject$.next(Qe(Q({},c),{data:Qe(Q({},c.data),{items:p}),status:Fn.SUCCESS}))}this.updateStoredData(this.diarynotesStateSubject$.getValue().data)},error:l=>{var c;this.snackbarService.showError(((c=l.error)==null?void 0:c.code)==="VIDIS_0500"?"commons.errors.general":"commons.errors.VIDIS_0400")}})}};t.ɵfac=function(i){return new(i||t)(pe(eu),pe(Er))},t.ɵprov=q({token:t,factory:t.ɵfac});let e=t;return e})(),jS=(()=>{const t=class t extends iu{constructor(){super(...arguments),this.http=S(el)}search(i,a,r,s){let l={};return s&&(l.ssin=s),i.dateRange.from&&(l.fromDate=Qc(i.dateRange.from,"yyyy-MM-dd")),i.dateRange.until&&(l.toDate=Qc(i.dateRange.until,"yyyy-MM-dd")),i.role&&(l.roles=[i.role]),i.tags&&(l.tags=i.tags),i.author&&(l.authors=[i.author]),r.sort&&(l.sort=Tf[r.sort]),r.order===tu.ascending&&(l.sortDirection="ascending"),a.page&&(l.page=a.page),a.pageSize&&(l.pageSize=a.pageSize),this.http.get("/v1/mydiarynotes",{params:Q({},l),headers:this.buildClientIdHeader()})}downloadDiaryNoteAttachment(i,a,r,s,l){let c={patientSsin:r,source:s??"vitalink",version:String(l??"")};return this.http.get(`/v1/diarynotes/${i}/download/${a}`,{params:c,headers:this.buildClientIdHeader(),responseType:"blob",observe:"response"}).pipe(Wp(d=>t0(()=>d)))}postDiaryNote(i,a,r,s){return this.http.post("/v1/diarynotes",this.buildFormData(i,a,r,s),{headers:this.buildClientIdHeader()})}deleteDiaryNote(i,a,r,s){return this.http.delete(`/v1/diarynotes/${i}`,{params:{version:a,source:r??"vitalink",patientSsin:s},observe:"response",headers:this.buildClientIdHeader()}).pipe(It(l=>({diaryNote:l.body,statusCode:l.status})))}buildFormData(i,a,r,s){let l=new FormData,c={language:s,subject:{firstName:r.firstName,lastName:r.lastName,ssin:r.ssin},content:i,contentType:"plaintext"};return l.append("attachments",a),l.append("diaryNote",new Blob([JSON.stringify(c)],{type:"application/json"})),l}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Qt(t)))(a||t)}})(),t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),ppe={items:[{language:"fr",id:"7530f63b-7e82-4884-8ddd-fa137e0a9b42",creation:"2021-02-10T06:17:16.176194+02:00",version:1,source:"vitalink",status:"completed",author:{firstName:"Mickey",lastName:"Mouse",nihdi:"10000000004",role:"persphysician"},subject:{ssin:"00000000097",firstName:"John",lastName:"Doe"},content:"Ce matin, après la prise de son médicament, le patient avait le ventre gonflé",contentType:"plaintext",attachments:[],tags:["medication"]},{language:"fr",id:"7a82de0a-ab8e-4985-bb3d-6aed1c8e7894",creation:"2020-12-31T12:27:16.176194+02:00",version:1,source:"vitalink",status:"deleted",author:{firstName:"Mickey",lastName:"Mouse",nihdi:"10000000004",role:"persphysician"},subject:{ssin:"00000000097",firstName:"John",lastName:"Doe"},content:"<strike>Ceci est une note supprimée</strike>",contentType:"html",attachments:[],tags:[]},{language:"nl",id:"b394a649-c91c-4088-a2d1-45e2f54cf071",creation:"2018-04-13T15:38:16.176194+02:00",version:1,source:"vitalink",status:"completed",author:{firstName:"Goof",lastName:"Goofy",ssin:"12345678902",nihdi:"20000000001",role:"perspharmacist"},subject:{ssin:"00000000097",firstName:"John",lastName:"Doe"},content:"Inhoud van het journaal item, in Vitalink beperkt tot maximaal 320 karakters.",contentType:"plaintext",attachments:[],tags:[]}],availableFilters:{authors:["Mickey Mouse","Goof Goofy"],roles:["pharmacist","physician"],tags:["medication"]},errors:[],page:0,totalItems:3,totalPages:1},mpe={note:{language:"nl",id:"7530f63b-7e82-4884-8ddd-fa137e0a9b42",creation:"2021-03-10T15:38:16.176194+02:00",version:1,source:"vitalink",status:"completed",author:{firstName:"Nadia",lastName:"Hassan",ssin:"82012419934",nihdi:"10025840123",role:"persorthopedist"},subject:{ssin:"80120532330",firstName:"Benjamin",lastName:"Van Rietvelde"},content:"Fis parturient montes, nascetur ridiculus mus. Donec quam felis... (demo)",contentType:"plaintext",tags:[]},attachments:[]},fpe={diaryNote:mpe,statusCode:200},BS=(()=>{const t=class t extends iu{constructor(){super(...arguments),this.demoService=S(Rce)}search(i,a,r,s){return this.demoService.get("/v1/mydiarynotes",ppe,this.buildClientIdHeader())}downloadDiaryNoteAttachment(i,a,r,s,l){let c="application/pdf",d=new Blob([`Demo PDF content for note=${i} idx=${a}`],{type:c}),u=new zn({"Content-Type":c});return ft(new Xm({status:200,body:d,headers:u}))}postDiaryNote(i,a,r,s){return this.demoService.post("/v1/diarynotes",{},this.buildClientIdHeader())}deleteDiaryNote(i,a,r,s){return this.demoService.delete(`/v1/diarynotes/${i}`,fpe,this.buildClientIdHeader())}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Qt(t)))(a||t)}})(),t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),gpe=(e,t)=>e.getEnvironmentVariable("env")===En.DEMO?t.get(BS):t.get(jS),vpe={provide:iu,useFactory:gpe,deps:[No,lt]},bpe=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],ype=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function _pe(e,t){e&1&&(I(0,"span",3),dt(1,1),T())}function xpe(e,t){e&1&&(I(0,"span",6),dt(1,2),T())}var wpe=["*"],Spe=new $("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})}),Hb=new $("MatChipAvatar"),$b=new $("MatChipTrailingIcon"),Sp=new $("MatChipRemove"),HS=new $("MatChip"),kp=(()=>{const t=class t{constructor(){o(this,"_elementRef",S(ze));o(this,"_parentChip",S(HS));o(this,"isInteractive",!0);o(this,"_isPrimary",!0);o(this,"_disabled",!1);o(this,"tabIndex",-1);o(this,"_allowFocusWhenDisabled",!1);S(Vi).load(rl),this._elementRef.nativeElement.nodeName==="BUTTON"&&this._elementRef.nativeElement.setAttribute("type","button")}get disabled(){var i;return this._disabled||((i=this._parentChip)==null?void 0:i.disabled)||!1}set disabled(i){this._disabled=i}_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(i){!this.disabled&&this.isInteractive&&this._isPrimary&&(i.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(i){(i.keyCode===13||i.keyCode===32)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(i.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(i,a){i&1&&ue("click",function(r){return a._handleClick(r)})("keydown",function(r){return a._handleKeydown(r)}),i&2&&(_e("tabindex",a._getTabindex())("disabled",a._getDisabledAttribute())("aria-disabled",a.disabled),We("mdc-evolution-chip__action--primary",a._isPrimary)("mdc-evolution-chip__action--presentational",!a.isInteractive)("mdc-evolution-chip__action--trailing",!a._isPrimary))},inputs:{isInteractive:"isInteractive",disabled:[2,"disabled","disabled",qe],tabIndex:[2,"tabIndex","tabIndex",i=>i==null?-1:sn(i)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"}}));let e=t;return e})(),$S=(()=>{const t=class t extends kp{constructor(){super(...arguments);o(this,"_isPrimary",!1)}_handleClick(a){this.disabled||(a.stopPropagation(),a.preventDefault(),this._parentChip.remove())}_handleKeydown(a){(a.keyCode===13||a.keyCode===32)&&!this.disabled&&(a.stopPropagation(),a.preventDefault(),this._parentChip.remove())}};o(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=Qt(t)))(r||t)}})()),o(t,"ɵdir",Se({type:t,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(a,r){a&2&&_e("aria-hidden",null)},features:[_i([{provide:Sp,useExisting:t}]),Ft]}));let e=t;return e})(),au=(()=>{const t=class t{constructor(){o(this,"_changeDetectorRef",S(Lt));o(this,"_elementRef",S(ze));o(this,"_ngZone",S(Ne));o(this,"_focusMonitor",S(nl));o(this,"_globalRippleOptions",S(af,{optional:!0}));o(this,"_document",S(et));o(this,"_onFocus",new le);o(this,"_onBlur",new le);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",S(xi).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 ce);o(this,"destroyed",new ce);o(this,"basicChipAttrName","mat-basic-chip");o(this,"leadingIcon");o(this,"trailingIcon");o(this,"removeIcon");o(this,"primaryAction");o(this,"_rippleLoader",S(yw));o(this,"_injector",S(lt));var r;let i=S(Vi);i.load(rl),i.load(Tr);let a=S(Gi,{optional:!0});this._animationsDisabled=a==="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(i){this._value=i}get disabled(){return this._disabled||this._chipListDisabled}set disabled(i){this._disabled=i}ngOnInit(){let i=this._elementRef.nativeElement;this._isBasicChip=i.hasAttribute(this.basicChipAttrName)||i.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=Ji(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){var i,a;this._focusMonitor.stopMonitoring(this._elementRef),(i=this._rippleLoader)==null||i.destroyRipple(this._elementRef.nativeElement),(a=this._actionChanges)==null||a.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){var i;return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!((i=this._globalRippleOptions)!=null&&i.disabled)}_hasTrailingIcon(){return!!(this.trailingIcon||this.removeIcon)}_handleKeydown(i){(i.keyCode===8&&!i.repeat||i.keyCode===46)&&(i.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(i){return this._getActions().find(a=>{let r=a._elementRef.nativeElement;return r===i||r.contains(i)})}_getActions(){let i=[];return this.primaryAction&&i.push(this.primaryAction),this.removeIcon&&i.push(this.removeIcon),this.trailingIcon&&i.push(this.trailingIcon),i}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(i=>{let a=i!==null;a!==this._hasFocusInternal&&(this._hasFocusInternal=a,a?this._onFocus.next({chip:this}):(this._changeDetectorRef.markForCheck(),setTimeout(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})))))})}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(i,a,r){if(i&1&&(pi(r,Hb,5),pi(r,$b,5),pi(r,Sp,5),pi(r,Hb,5),pi(r,$b,5),pi(r,Sp,5)),i&2){let s;Re(s=Fe())&&(a.leadingIcon=s.first),Re(s=Fe())&&(a.trailingIcon=s.first),Re(s=Fe())&&(a.removeIcon=s.first),Re(s=Fe())&&(a._allLeadingIcons=s),Re(s=Fe())&&(a._allTrailingIcons=s),Re(s=Fe())&&(a._allRemoveIcons=s)}},viewQuery:function(i,a){if(i&1&&mt(kp,5),i&2){let r;Re(r=Fe())&&(a.primaryAction=r.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:31,hostBindings:function(i,a){i&1&&ue("keydown",function(r){return a._handleKeydown(r)}),i&2&&(yn("id",a.id),_e("role",a.role)("aria-label",a.ariaLabel),wr("mat-"+(a.color||"primary")),We("mdc-evolution-chip",!a._isBasicChip)("mdc-evolution-chip--disabled",a.disabled)("mdc-evolution-chip--with-trailing-action",a._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",a.leadingIcon)("mdc-evolution-chip--with-primary-icon",a.leadingIcon)("mdc-evolution-chip--with-avatar",a.leadingIcon)("mat-mdc-chip-with-avatar",a.leadingIcon)("mat-mdc-chip-highlighted",a.highlighted)("mat-mdc-chip-disabled",a.disabled)("mat-mdc-basic-chip",a._isBasicChip)("mat-mdc-standard-chip",!a._isBasicChip)("mat-mdc-chip-with-trailing-icon",a._hasTrailingIcon())("_mat-animation-noopable",a._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",qe],highlighted:[2,"highlighted","highlighted",qe],disableRipple:[2,"disableRipple","disableRipple",qe],disabled:[2,"disabled","disabled",qe]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[_i([{provide:HS,useExisting:t}])],ngContentSelectors:ype,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(i,a){i&1&&(Li(bpe),de(0,"span",0),I(1,"span",1)(2,"span",2),re(3,_pe,2,0,"span",3),I(4,"span",4),dt(5),de(6,"span",5),T()()(),re(7,xpe,2,0,"span",6)),i&2&&(D(2),K("isInteractive",!1),D(),se(a.leadingIcon?3:-1),D(4),se(a._hasTrailingIcon()?7:-1))},dependencies:[kp],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}
43
43
  `],encapsulation:2,changeDetection:0}));let e=t;return e})(),qS=(()=>{const t=class t{constructor(){o(this,"_elementRef",S(ze));o(this,"_changeDetectorRef",S(Lt));o(this,"_dir",S(qi,{optional:!0}));o(this,"_lastDestroyedFocusedChipIndex",null);o(this,"_keyManager");o(this,"_destroyed",new le);o(this,"_defaultRole","presentation");o(this,"_disabled",!1);o(this,"tabIndex",0);o(this,"_explicitRole",null);o(this,"_chips");o(this,"_chipActions",new Tc)}get chipFocusChanges(){return this._getChipStream(i=>i._onFocus)}get chipDestroyedChanges(){return this._getChipStream(i=>i.destroyed)}get chipRemovedChanges(){return this._getChipStream(i=>i.removed)}get disabled(){return this._disabled}set disabled(i){this._disabled=i,this._syncChipsState()}get empty(){return!this._chips||this._chips.length===0}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(i){this._explicitRole=i}get focused(){return this._hasFocusedChip()}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){var i;(i=this._keyManager)==null||i.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(i=>i._hasFocus())}_syncChipsState(){var i;(i=this._chips)==null||i.forEach(a=>{a._chipListDisabled=this._disabled,a._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(i){this._originatesFromChip(i)&&this._keyManager.onKeydown(i)}_isValidIndex(i){return i>=0&&i<this._chips.length}_allowFocusEscape(){let i=this._elementRef.nativeElement.tabIndex;i!==-1&&(this._elementRef.nativeElement.tabIndex=-1,setTimeout(()=>this._elementRef.nativeElement.tabIndex=i))}_getChipStream(i){return this._chips.changes.pipe(ea(null),hr(()=>Ji(...this._chips.map(i))))}_originatesFromChip(i){let a=i.target;for(;a&&a!==this._elementRef.nativeElement;){if(a.classList.contains("mat-mdc-chip"))return!0;a=a.parentElement}return!1}_setUpFocusManagement(){var i;this._chips.changes.pipe(ea(this._chips)).subscribe(a=>{let r=[];a.forEach(s=>s._getActions().forEach(l=>r.push(l))),this._chipActions.reset(r),this._chipActions.notifyOnChanges()}),this._keyManager=new soe(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(a=>this._skipPredicate(a)),this.chipFocusChanges.pipe(Dt(this._destroyed)).subscribe(({chip:a})=>{let r=a._getSourceAction(document.activeElement);r&&this._keyManager.updateActiveItem(r)}),(i=this._dir)==null||i.change.pipe(Dt(this._destroyed)).subscribe(a=>this._keyManager.withHorizontalOrientation(a))}_skipPredicate(i){return!i.isInteractive||i.disabled}_trackChipSetChanges(){this._chips.changes.pipe(ea(null),Dt(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(Dt(this._destroyed)).subscribe(i=>{let a=this._chips.toArray().indexOf(i.chip);this._isValidIndex(a)&&i.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=a)})}_redirectDestroyedChipFocus(){if(this._lastDestroyedFocusedChipIndex!=null){if(this._chips.length){let i=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),a=this._chips.toArray()[i];a.disabled?this._chips.length===1?this.focus():this._keyManager.setPreviousItemActive():a.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["mat-chip-set"]],contentQueries:function(i,a,r){if(i&1&&pi(r,au,5),i&2){let s;Re(s=Fe())&&(a._chips=s)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(i,a){i&1&&ue("keydown",function(r){return a._handleKeydown(r)}),i&2&&_e("role",a.role)},inputs:{disabled:[2,"disabled","disabled",qe],role:"role",tabIndex:[2,"tabIndex","tabIndex",i=>i==null?0:sn(i)]},ngContentSelectors:wpe,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(i,a){i&1&&(Li(),I(0,"div",0),dt(1),T())},styles:[`.mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}
44
44
  `],encapsulation:2,changeDetection:0}));let e=t;return e})(),US=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",kt({type:t})),o(t,"ɵinj",St({providers:[Ef,{provide:Spe,useValue:{separatorKeyCodes:[13]}}],imports:[ai,nf,ai]}));let e=t;return e})(),kpe=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(i,a){},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}
45
45
  `],encapsulation:2,changeDetection:0}));let e=t;return e})(),Epe={passive:!0},Cpe=(()=>{const t=class t{constructor(){o(this,"_platform",S(Ut));o(this,"_ngZone",S(Ne));o(this,"_renderer",S(na).createRenderer(null,null));o(this,"_styleLoader",S(Vi));o(this,"_monitoredElements",new Map)}monitor(i){if(!this._platform.isBrowser)return qp;this._styleLoader.load(kpe);let a=Rn(i),r=this._monitoredElements.get(a);if(r)return r.subject;let s=new le,l="cdk-text-field-autofilled",c=u=>{u.animationName==="cdk-text-field-autofill-start"&&!a.classList.contains(l)?(a.classList.add(l),this._ngZone.run(()=>s.next({target:u.target,isAutofilled:!0}))):u.animationName==="cdk-text-field-autofill-end"&&a.classList.contains(l)&&(a.classList.remove(l),this._ngZone.run(()=>s.next({target:u.target,isAutofilled:!1})))},d=this._ngZone.runOutsideAngular(()=>(a.classList.add("cdk-text-field-autofill-monitored"),hi(this._renderer,a,"animationstart",c,Epe)));return this._monitoredElements.set(a,{subject:s,unlisten:d}),s}stopMonitoring(i){let a=Rn(i),r=this._monitoredElements.get(a);r&&(r.unlisten(),r.subject.complete(),a.classList.remove("cdk-text-field-autofill-monitored"),a.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(a))}ngOnDestroy(){this._monitoredElements.forEach((i,a)=>this.stopMonitoring(a))}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Dpe=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",kt({type:t})),o(t,"ɵinj",St({}));let e=t;return e})(),GS=new $("MAT_INPUT_VALUE_ACCESSOR"),Ipe=["button","checkbox","file","hidden","image","radio","range","reset","submit"],Ape=new $("MAT_INPUT_CONFIG"),YS=(()=>{const t=class t{constructor(){o(this,"_elementRef",S(ze));o(this,"_platform",S(Ut));o(this,"ngControl",S(hl,{optional:!0,self:!0}));o(this,"_autofillMonitor",S(Cpe));o(this,"_ngZone",S(Ne));o(this,"_formField",S(Yd,{optional:!0}));o(this,"_renderer",S(ra));o(this,"_uid",S(xi).getId("mat-input-"));o(this,"_previousNativeValue");o(this,"_inputValueAccessor");o(this,"_signalBasedValueAccessor");o(this,"_previousPlaceholder");o(this,"_errorStateTracker");o(this,"_config",S(Ape,{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 le);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(i=>Fv().has(i)));o(this,"_iOSKeyupListener",i=>{let a=i.target;!a.value&&a.selectionStart===0&&a.selectionEnd===0&&(a.setSelectionRange(1,1),a.setSelectionRange(0,0))});o(this,"_webkitBlinkWheelListener",()=>{});var d;let i=S(Qd,{optional:!0}),a=S(kf,{optional:!0}),r=S(Ef),s=S(GS,{optional:!0,self:!0}),l=this._elementRef.nativeElement,c=l.nodeName.toLowerCase();s?vs(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 dS(r,this.ngControl,a,i,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&&m1(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}get disabled(){return this._disabled}set disabled(i){this._disabled=io(i),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(i){this._id=i||this._uid}get required(){var i,a;return this._required??((a=(i=this.ngControl)==null?void 0:i.control)==null?void 0:a.hasValidator(bf.required))??!1}set required(i){this._required=io(i)}get type(){return this._type}set type(i){let a=this._type;this._type=i||"text",this._validateType(),!this._isTextarea&&Fv().has(this._type)&&(this._elementRef.nativeElement.type=this._type),this._type!==a&&this._ensureWheelDefaultBehavior()}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(i){this._errorStateTracker.matcher=i}get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(i){i!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(i):this._inputValueAccessor.value=i,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(i){this._readonly=io(i)}get errorState(){return this._errorStateTracker.errorState}set errorState(i){this._errorStateTracker.errorState=i}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(i=>{this.autofilled=i.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){var i,a;this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),(i=this._cleanupIosKeyup)==null||i.call(this),(a=this._cleanupWebkitWheel)==null||a.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(i){this._elementRef.nativeElement.focus(i)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(i){if(i!==this.focused){if(!this._isNativeSelect&&i&&this.disabled&&this.disabledInteractive){let a=this._elementRef.nativeElement;a.type==="number"?(a.type="text",a.setSelectionRange(0,0),a.type="number"):a.setSelectionRange(0,0)}this.focused=i,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){let i=this._elementRef.nativeElement.value;this._previousNativeValue!==i&&(this._previousNativeValue=i,this.stateChanges.next())}_dirtyCheckPlaceholder(){let i=this._getPlaceholder();if(i!==this._previousPlaceholder){let a=this._elementRef.nativeElement;this._previousPlaceholder=i,i?a.setAttribute("placeholder",i):a.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){Ipe.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let i=this._elementRef.nativeElement.validity;return i&&i.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let i=this._elementRef.nativeElement,a=i.options[0];return this.focused||i.multiple||!this.empty||!!(i.selectedIndex>-1&&a&&a.label)}else return this.focused&&!this.disabled||!this.empty}setDescribedByIds(i){let a=this._elementRef.nativeElement,r=a.getAttribute("aria-describedby"),s;if(r){let l=this._formFieldDescribedBy||i;s=i.concat(r.split(" ").filter(c=>c&&!l.includes(c)))}else s=i;this._formFieldDescribedBy=i,s.length?a.setAttribute("aria-describedby",s.join(" ")):a.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let i=this._elementRef.nativeElement;return this._isNativeSelect&&(i.multiple||i.size>1)}_ensureWheelDefaultBehavior(){var i;(i=this._cleanupWebkitWheel)==null||i.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(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(i,a){i&1&&ue("focus",function(){return a._focusChanged(!0)})("blur",function(){return a._focusChanged(!1)})("input",function(){return a._onInput()}),i&2&&(yn("id",a.id)("disabled",a.disabled&&!a.disabledInteractive)("required",a.required),_e("name",a.name||null)("readonly",a._getReadonlyAttribute())("aria-disabled",a.disabled&&a.disabledInteractive?"true":null)("aria-invalid",a.empty&&a.required?null:a.errorState)("aria-required",a.required)("id",a.id),We("mat-input-server",a._isServer)("mat-mdc-form-field-textarea-control",a._isInFormField&&a._isTextarea)("mat-mdc-form-field-input-control",a._isInFormField)("mat-mdc-input-disabled-interactive",a.disabledInteractive)("mdc-text-field__input",a._isInFormField)("mat-mdc-native-select-inline",a._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",qe]},exportAs:["matInput"],features:[_i([{provide:pf,useExisting:t}]),vi]}));let e=t;return e})(),Ope=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",kt({type:t})),o(t,"ɵinj",St({imports:[ai,Cs,Cs,Dpe,ai]}));let e=t;return e})(),Tpe=(e,t)=>({text:e,file:t});function Npe(e,t){if(e&1){let n=Ke();I(0,"mat-chip",11),ue("removed",function(){ge(n);let i=R();return ve(i.selectedFile=void 0)}),B(1),I(2,"button",12),de(3,"mat-icon",13),T()()}if(e&2){let n=R();K("removable",!0),D(),Ie(" ",(n.selectedFile==null?null:n.selectedFile.name)||"No file selected"," ")}}function Mpe(e,t){if(e&1){let n=Ke();I(0,"mat-chip",6)(1,"label",14),B(2),H(3,"translate"),T(),I(4,"input",15),ue("change",function(i){ge(n);let a=R();return ve(a.fileChanged(i))}),T()()}e&2&&(D(2),Ie(" ",W(3,1,"diaryNotesPage.add-note-dialog.file-upload-button")," "))}function Ppe(e,t){e&1&&(I(0,"mat-error",8),B(1),H(2,"translate"),T()),e&2&&(D(),we(W(2,1,"diaryNotesPage.add-note-dialog.file-size-error")))}var Rpe=(()=>{const t=class t{constructor(){this.inputtedData="",this.showSizeError=!1}fileChanged(i){let a=i.target.files[0],r=a.size/1024/1024;this.showSizeError=r>6,this.selectedFile=this.showSizeError?void 0:a}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["ng-component"]],decls:32,vars:31,consts:[["mat-dialog-title",""],[1,"contact-info-form"],["for","note"],["appearance","outline",1,"formfield-wrapper"],["id","note","matInput","","maxlength","319",3,"ngModelChange","ngModel"],[3,"removable"],["clickable","",1,"mh-black","file-upload-chip"],["align","start"],[1,"size-error"],["mat-button","","mat-dialog-close",""],["mat-flat-button","","type","button",3,"disabled","mat-dialog-close"],[3,"removed","removable"],["matChipRemove",""],["fontIcon","close"],["for","file-upload"],["tabindex","0","id","file-upload","type","file","accept",".jpeg, .pdf, .png, .tiff, .jpg",3,"change"]],template:function(i,a){i&1&&(I(0,"h2",0),B(1),H(2,"translate"),T(),I(3,"mat-dialog-content")(4,"div",1)(5,"label",2),B(6),H(7,"translate"),T(),I(8,"mat-form-field",3)(9,"textarea",4),$a("ngModelChange",function(r){return pn(a.inputtedData,r)||(a.inputtedData=r),r}),T(),I(10,"mat-hint"),B(11),H(12,"translate"),T()()(),I(13,"div")(14,"h3"),B(15),H(16,"translate"),T(),re(17,Npe,4,2,"mat-chip",5)(18,Mpe,5,3,"mat-chip",6),I(19,"div")(20,"mat-hint",7),B(21),H(22,"translate"),T(),re(23,Ppe,3,3,"mat-error",8),T(),de(24,"div"),T()(),I(25,"mat-dialog-actions")(26,"button",9),B(27),H(28,"translate"),T(),I(29,"button",10),B(30),H(31,"translate"),T()()),i&2&&(D(),we(W(2,14,"diaryNotesPage.add-note-dialog.title")),D(5),we(W(7,16,"diaryNotesPage.add-note-dialog.field-description")),D(3),Ha("ngModel",a.inputtedData),D(2),Sr(" ",a.inputtedData.length,"/319 ",W(12,18,"diaryNotesPage.add-note-dialog.character-counter")," "),D(4),we(W(16,20,"diaryNotesPage.add-note-dialog.file-upload-title")),D(2),se(a.selectedFile?17:18),D(4),we(W(22,22,"diaryNotesPage.add-note-dialog.file-info")),D(2),se(a.showSizeError?23:-1),D(4),Ie(" ",W(28,24,"diaryNotesPage.add-note-dialog.cancel")," "),D(2),K("disabled",!a.showSizeError)("disabled",a.inputtedData.length===0)("mat-dialog-close",Hie(28,Tpe,a.inputtedData,a.selectedFile)),D(),Ie(" ",W(31,26,"diaryNotesPage.add-note-dialog.confirm")," "))},dependencies:[cl,Wd,_a,fp,dl,Pw,sS,Kd,Zw,oS,Sf,ll,YS,Ao,xa,Un,au,$S,sl],styles:["textarea[_ngcontent-%COMP%]{height:120px!important}.formfield-wrapper[_ngcontent-%COMP%]{width:100%;min-width:50vw}.text-length[_ngcontent-%COMP%]{margin-bottom:16px}input[type=file][_ngcontent-%COMP%]{display:none}.close-button[_ngcontent-%COMP%]{position:absolute;top:1px;right:1px;z-index:1}.file-input-container[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;cursor:pointer}.file-label[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;margin:0;width:100%}.close-file-button[_ngcontent-%COMP%]{padding:0;margin-left:8px}.file-upload-chip[_ngcontent-%COMP%], .file-upload-chip[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{cursor:pointer}"]});let e=t;return e})(),Fpe=(()=>{const t=class t{constructor(){this.translate=S(qn),this.cdRef=S(Lt),this.destroyRef=S($i),this.result="",this.translate.onLangChange.pipe(Do(this.destroyRef)).subscribe(()=>{this.result=this.getResult(this.contentType,this.index),this.cdRef.markForCheck()})}transform(i,a){return i!==this.contentType&&a!==this.index&&(this.contentType=i,this.index=a,this.result=this.getResult(i,a)),this.result}getResult(i,a){let r=i?zS.getExtension(i):"unknown";return this.translate.instant("commons.file")+"_"+(a+1)+"."+r}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=Co({name:"attachementFilename",type:t,pure:!0});let e=t;return e})(),Nf=(()=>{const t=class t{transform(i){let a="";return Array.isArray(i)&&i.forEach(r=>{a+=r.charAt(0).toUpperCase()+r.slice(1)+" "}),typeof i=="string"&&i.split(" ").length>1&&i.split(" ").forEach((r,s)=>{s===0?a=r.charAt(0).toUpperCase()+r.slice(1):a+=" "+r}),typeof i=="string"&&i.split(" ").length===1&&(a=i.charAt(0).toUpperCase()+i.slice(1)),a}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=Co({name:"firstLetterUppercase",type:t,pure:!0});let e=t;return e})(),Ep=new $("MAT_DATE_LOCALE",{providedIn:"root",factory:Lpe});function Lpe(){return S(zd)}var Br="Method not implemented",Yi=class{constructor(){o(this,"locale");o(this,"_localeChanges",new le);o(this,"localeChanges",this._localeChanges)}setTime(e,t,n,i){throw new Error(Br)}getHours(e){throw new Error(Br)}getMinutes(e){throw new Error(Br)}getSeconds(e){throw new Error(Br)}parseTime(e,t){throw new Error(Br)}addSeconds(e,t){throw new Error(Br)}getValidDateOrNull(e){return this.isDateInstance(e)&&this.isValid(e)?e:null}deserialize(e){return e==null||this.isDateInstance(e)&&this.isValid(e)?e:this.invalid()}setLocale(e){this.locale=e,this._localeChanges.next()}compareDate(e,t){return this.getYear(e)-this.getYear(t)||this.getMonth(e)-this.getMonth(t)||this.getDate(e)-this.getDate(t)}compareTime(e,t){return this.getHours(e)-this.getHours(t)||this.getMinutes(e)-this.getMinutes(t)||this.getSeconds(e)-this.getSeconds(t)}sameDate(e,t){if(e&&t){let n=this.isValid(e),i=this.isValid(t);return n&&i?!this.compareDate(e,t):n==i}return e==t}sameTime(e,t){if(e&&t){let n=this.isValid(e),i=this.isValid(t);return n&&i?!this.compareTime(e,t):n==i}return e==t}clampDate(e,t,n){return t&&this.compareDate(e,t)<0?t:n&&this.compareDate(e,n)>0?n:e}},Po=new $("mat-date-formats"),Vpe=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,zpe=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function ih(e,t){let n=Array(e);for(let i=0;i<e;i++)n[i]=t(i);return n}var jpe=(()=>{const t=class t extends Yi{constructor(){super();o(this,"useUtcForDisplay",!1);o(this,"_matDateLocale",S(Ep,{optional:!0}));let a=S(Ep,{optional:!0});a!==void 0&&(this._matDateLocale=a),super.setLocale(this._matDateLocale)}getYear(a){return a.getFullYear()}getMonth(a){return a.getMonth()}getDate(a){return a.getDate()}getDayOfWeek(a){return a.getDay()}getMonthNames(a){let r=new Intl.DateTimeFormat(this.locale,{month:a,timeZone:"utc"});return ih(12,s=>this._format(r,new Date(2017,s,1)))}getDateNames(){let a=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return ih(31,r=>this._format(a,new Date(2017,0,r+1)))}getDayOfWeekNames(a){let r=new Intl.DateTimeFormat(this.locale,{weekday:a,timeZone:"utc"});return ih(7,s=>this._format(r,new Date(2017,0,s+1)))}getYearName(a){let r=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(r,a)}getFirstDayOfWeek(){var a,r;if(typeof Intl<"u"&&Intl.Locale){let s=new Intl.Locale(this.locale),l=((r=((a=s.getWeekInfo)==null?void 0:a.call(s))||s.weekInfo)==null?void 0:r.firstDay)??0;return l===7?0:l}return 0}getNumDaysInMonth(a){return this.getDate(this._createDateWithOverflow(this.getYear(a),this.getMonth(a)+1,0))}clone(a){return new Date(a.getTime())}createDate(a,r,s){let l=this._createDateWithOverflow(a,r,s);return l.getMonth()!=r,l}today(){return new Date}parse(a,r){return typeof a=="number"?new Date(a):a?new Date(Date.parse(a)):null}format(a,r){if(!this.isValid(a))throw Error("NativeDateAdapter: Cannot format invalid date.");let s=new Intl.DateTimeFormat(this.locale,Qe(Q({},r),{timeZone:"utc"}));return this._format(s,a)}addCalendarYears(a,r){return this.addCalendarMonths(a,r*12)}addCalendarMonths(a,r){let s=this._createDateWithOverflow(this.getYear(a),this.getMonth(a)+r,this.getDate(a));return this.getMonth(s)!=((this.getMonth(a)+r)%12+12)%12&&(s=this._createDateWithOverflow(this.getYear(s),this.getMonth(s),0)),s}addCalendarDays(a,r){return this._createDateWithOverflow(this.getYear(a),this.getMonth(a),this.getDate(a)+r)}toIso8601(a){return[a.getUTCFullYear(),this._2digit(a.getUTCMonth()+1),this._2digit(a.getUTCDate())].join("-")}deserialize(a){if(typeof a=="string"){if(!a)return null;if(Vpe.test(a)){let r=new Date(a);if(this.isValid(r))return r}}return super.deserialize(a)}isDateInstance(a){return a instanceof Date}isValid(a){return!isNaN(a.getTime())}invalid(){return new Date(NaN)}setTime(a,r,s,l){let c=this.clone(a);return c.setHours(r,s,l,0),c}getHours(a){return a.getHours()}getMinutes(a){return a.getMinutes()}getSeconds(a){return a.getSeconds()}parseTime(a,r){if(typeof a!="string")return a instanceof Date?new Date(a.getTime()):null;let s=a.trim();if(s.length===0)return null;let l=this._parseTimeString(s);if(l===null){let c=s.replace(/[^0-9:(AM|PM)]/gi,"").trim();c.length>0&&(l=this._parseTimeString(c))}return l||this.invalid()}addSeconds(a,r){return new Date(a.getTime()+r*1e3)}_createDateWithOverflow(a,r,s){let l=new Date;return l.setFullYear(a,r,s),l.setHours(0,0,0,0),l}_2digit(a){return("00"+a).slice(-2)}_format(a,r){let s=new Date;return s.setUTCFullYear(r.getFullYear(),r.getMonth(),r.getDate()),s.setUTCHours(r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()),a.format(s)}_parseTimeString(a){let r=a.toUpperCase().match(zpe);if(r){let s=parseInt(r[1]),l=parseInt(r[2]),c=r[3]==null?void 0:parseInt(r[3]),d=r[4];if(s===12?s=d==="AM"?0:s:d==="PM"&&(s+=12),ah(s,0,23)&&ah(l,0,59)&&(c==null||ah(c,0,59)))return this.setTime(this.today(),s,l,c||0)}return null}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})();function ah(e,t,n){return!isNaN(e)&&e>=t&&e<=n}function Bpe(e,t){return this._trackRow(t)}var WS=(e,t)=>t.id;function Hpe(e,t){if(e&1&&(I(0,"tr",0)(1,"td",3),B(2),T()()),e&2){let n=R();D(),Ld("padding-top",n._cellPadding)("padding-bottom",n._cellPadding),_e("colspan",n.numCols),D(),Ie(" ",n.label," ")}}function $pe(e,t){if(e&1&&(I(0,"td",3),B(1),T()),e&2){let n=R(2);Ld("padding-top",n._cellPadding)("padding-bottom",n._cellPadding),_e("colspan",n._firstRowOffset),D(),Ie(" ",n._firstRowOffset>=n.labelMinRequiredCells?n.label:""," ")}}function qpe(e,t){if(e&1){let n=Ke();I(0,"td",6)(1,"button",7),ue("click",function(i){let a=ge(n).$implicit,r=R(2);return ve(r._cellClicked(a,i))})("focus",function(i){let a=ge(n).$implicit,r=R(2);return ve(r._emitActiveDateChange(a,i))}),I(2,"span",8),B(3),T(),de(4,"span",9),T()()}if(e&2){let n=t.$implicit,i=t.$index,a=R().$index,r=R();Ld("width",r._cellWidth)("padding-top",r._cellPadding)("padding-bottom",r._cellPadding),_e("data-mat-row",a)("data-mat-col",i),D(),We("mat-calendar-body-disabled",!n.enabled)("mat-calendar-body-active",r._isActiveCell(a,i))("mat-calendar-body-range-start",r._isRangeStart(n.compareValue))("mat-calendar-body-range-end",r._isRangeEnd(n.compareValue))("mat-calendar-body-in-range",r._isInRange(n.compareValue))("mat-calendar-body-comparison-bridge-start",r._isComparisonBridgeStart(n.compareValue,a,i))("mat-calendar-body-comparison-bridge-end",r._isComparisonBridgeEnd(n.compareValue,a,i))("mat-calendar-body-comparison-start",r._isComparisonStart(n.compareValue))("mat-calendar-body-comparison-end",r._isComparisonEnd(n.compareValue))("mat-calendar-body-in-comparison-range",r._isInComparisonRange(n.compareValue))("mat-calendar-body-preview-start",r._isPreviewStart(n.compareValue))("mat-calendar-body-preview-end",r._isPreviewEnd(n.compareValue))("mat-calendar-body-in-preview",r._isInPreview(n.compareValue)),K("ngClass",n.cssClasses)("tabindex",r._isActiveCell(a,i)?0:-1),_e("aria-label",n.ariaLabel)("aria-disabled",!n.enabled||null)("aria-pressed",r._isSelected(n.compareValue))("aria-current",r.todayValue===n.compareValue?"date":null)("aria-describedby",r._getDescribedby(n.compareValue)),D(),We("mat-calendar-body-selected",r._isSelected(n.compareValue))("mat-calendar-body-comparison-identical",r._isComparisonIdentical(n.compareValue))("mat-calendar-body-today",r.todayValue===n.compareValue),D(),Ie(" ",n.displayValue," ")}}function Upe(e,t){if(e&1&&(I(0,"tr",1),re(1,$pe,2,6,"td",4),Ri(2,qpe,5,48,"td",5,WS),T()),e&2){let n=t.$implicit,i=t.$index,a=R();D(),se(i===0&&a._firstRowOffset?1:-1),D(),Fi(n)}}function Gpe(e,t){if(e&1&&(I(0,"th",2)(1,"span",6),B(2),T(),I(3,"span",3),B(4),T()()),e&2){let n=t.$implicit;D(2),we(n.long),D(2),we(n.narrow)}}var Ype=["*"];function Wpe(e,t){}function Kpe(e,t){if(e&1){let n=Ke();I(0,"mat-month-view",4),$a("activeDateChange",function(i){ge(n);let a=R();return pn(a.activeDate,i)||(a.activeDate=i),ve(i)}),ue("_userSelection",function(i){ge(n);let a=R();return ve(a._dateSelected(i))})("dragStarted",function(i){ge(n);let a=R();return ve(a._dragStarted(i))})("dragEnded",function(i){ge(n);let a=R();return ve(a._dragEnded(i))}),T()}if(e&2){let n=R();Ha("activeDate",n.activeDate),K("selected",n.selected)("dateFilter",n.dateFilter)("maxDate",n.maxDate)("minDate",n.minDate)("dateClass",n.dateClass)("comparisonStart",n.comparisonStart)("comparisonEnd",n.comparisonEnd)("startDateAccessibleName",n.startDateAccessibleName)("endDateAccessibleName",n.endDateAccessibleName)("activeDrag",n._activeDrag)}}function Zpe(e,t){if(e&1){let n=Ke();I(0,"mat-year-view",5),$a("activeDateChange",function(i){ge(n);let a=R();return pn(a.activeDate,i)||(a.activeDate=i),ve(i)}),ue("monthSelected",function(i){ge(n);let a=R();return ve(a._monthSelectedInYearView(i))})("selectedChange",function(i){ge(n);let a=R();return ve(a._goToDateInView(i,"month"))}),T()}if(e&2){let n=R();Ha("activeDate",n.activeDate),K("selected",n.selected)("dateFilter",n.dateFilter)("maxDate",n.maxDate)("minDate",n.minDate)("dateClass",n.dateClass)}}function Xpe(e,t){if(e&1){let n=Ke();I(0,"mat-multi-year-view",6),$a("activeDateChange",function(i){ge(n);let a=R();return pn(a.activeDate,i)||(a.activeDate=i),ve(i)}),ue("yearSelected",function(i){ge(n);let a=R();return ve(a._yearSelectedInMultiYearView(i))})("selectedChange",function(i){ge(n);let a=R();return ve(a._goToDateInView(i,"year"))}),T()}if(e&2){let n=R();Ha("activeDate",n.activeDate),K("selected",n.selected)("dateFilter",n.dateFilter)("maxDate",n.maxDate)("minDate",n.minDate)("dateClass",n.dateClass)}}function Qpe(e,t){}var Jpe=["button"],eme=[[["","matDatepickerToggleIcon",""]]],tme=["[matDatepickerToggleIcon]"];function ime(e,t){e&1&&(un(),I(0,"svg",2),de(1,"path",3),T())}var Ro=(()=>{const t=class t{constructor(){o(this,"changes",new le);o(this,"calendarLabel","Calendar");o(this,"openCalendarLabel","Open calendar");o(this,"closeCalendarLabel","Close calendar");o(this,"prevMonthLabel","Previous month");o(this,"nextMonthLabel","Next month");o(this,"prevYearLabel","Previous year");o(this,"nextYearLabel","Next year");o(this,"prevMultiYearLabel","Previous 24 years");o(this,"nextMultiYearLabel","Next 24 years");o(this,"switchToMonthViewLabel","Choose date");o(this,"switchToMultiYearViewLabel","Choose month and year");o(this,"startDateLabel","Start date");o(this,"endDateLabel","End date");o(this,"comparisonDateLabel","Comparison range")}formatYearRange(i,a){return`${i} – ${a}`}formatYearRangeLabel(i,a){return`${i} to ${a}`}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),ame=0,Mf=class{constructor(e,t,n,i,a={},r=e,s){o(this,"value");o(this,"displayValue");o(this,"ariaLabel");o(this,"enabled");o(this,"cssClasses");o(this,"compareValue");o(this,"rawValue");o(this,"id",ame++);this.value=e,this.displayValue=t,this.ariaLabel=n,this.enabled=i,this.cssClasses=a,this.compareValue=r,this.rawValue=s}},nme={passive:!1,capture:!0},Gl={passive:!0,capture:!0},qb={passive:!0},fo=(()=>{const t=class t{constructor(){o(this,"_elementRef",S(ze));o(this,"_ngZone",S(Ne));o(this,"_platform",S(Ut));o(this,"_intl",S(Ro));o(this,"_eventCleanups");o(this,"_skipNextFocus");o(this,"_focusActiveCellAfterViewChecked",!1);o(this,"label");o(this,"rows");o(this,"todayValue");o(this,"startValue");o(this,"endValue");o(this,"labelMinRequiredCells");o(this,"numCols",7);o(this,"activeCell",0);o(this,"isRange",!1);o(this,"cellAspectRatio",1);o(this,"comparisonStart");o(this,"comparisonEnd");o(this,"previewStart",null);o(this,"previewEnd",null);o(this,"startDateAccessibleName");o(this,"endDateAccessibleName");o(this,"selectedValueChange",new ce);o(this,"previewChange",new ce);o(this,"activeDateChange",new ce);o(this,"dragStarted",new ce);o(this,"dragEnded",new ce);o(this,"_firstRowOffset");o(this,"_cellPadding");o(this,"_cellWidth");o(this,"_startDateLabelId");o(this,"_endDateLabelId");o(this,"_comparisonStartDateLabelId");o(this,"_comparisonEndDateLabelId");o(this,"_didDragSinceMouseDown",!1);o(this,"_injector",S(lt));o(this,"comparisonDateAccessibleName",this._intl.comparisonDateLabel);o(this,"_trackRow",i=>i);o(this,"_enterHandler",i=>{if(this._skipNextFocus&&i.type==="focus"){this._skipNextFocus=!1;return}if(i.target&&this.isRange){let a=this._getCellFromElement(i.target);a&&this._ngZone.run(()=>this.previewChange.emit({value:a.enabled?a:null,event:i}))}});o(this,"_touchmoveHandler",i=>{if(!this.isRange)return;let a=Ub(i),r=a?this._getCellFromElement(a):null;a!==i.target&&(this._didDragSinceMouseDown=!0),rh(i.target)&&i.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:r!=null&&r.enabled?r:null,event:i}))});o(this,"_leaveHandler",i=>{this.previewEnd!==null&&this.isRange&&(i.type!=="blur"&&(this._didDragSinceMouseDown=!0),i.target&&this._getCellFromElement(i.target)&&!(i.relatedTarget&&this._getCellFromElement(i.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:i})))});o(this,"_mousedownHandler",i=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;let a=i.target&&this._getCellFromElement(i.target);!a||!this._isInRange(a.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:a.rawValue,event:i})})});o(this,"_mouseupHandler",i=>{if(!this.isRange)return;let a=rh(i.target);if(!a){this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:i})});return}a.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{let r=this._getCellFromElement(a);this.dragEnded.emit({value:(r==null?void 0:r.rawValue)??null,event:i})})});o(this,"_touchendHandler",i=>{let a=Ub(i);a&&this._mouseupHandler({target:a})});let i=S(ra),a=S(xi);this._startDateLabelId=a.getId("mat-calendar-body-start-"),this._endDateLabelId=a.getId("mat-calendar-body-end-"),this._comparisonStartDateLabelId=a.getId("mat-calendar-body-comparison-start-"),this._comparisonEndDateLabelId=a.getId("mat-calendar-body-comparison-end-"),S(Vi).load(rl),this._ngZone.runOutsideAngular(()=>{let r=this._elementRef.nativeElement,s=[hi(i,r,"touchmove",this._touchmoveHandler,nme),hi(i,r,"mouseenter",this._enterHandler,Gl),hi(i,r,"focus",this._enterHandler,Gl),hi(i,r,"mouseleave",this._leaveHandler,Gl),hi(i,r,"blur",this._leaveHandler,Gl),hi(i,r,"mousedown",this._mousedownHandler,qb),hi(i,r,"touchstart",this._mousedownHandler,qb)];this._platform.isBrowser&&s.push(i.listen("window","mouseup",this._mouseupHandler),i.listen("window","touchend",this._touchendHandler)),this._eventCleanups=s})}ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}_cellClicked(i,a){this._didDragSinceMouseDown||i.enabled&&this.selectedValueChange.emit({value:i.value,event:a})}_emitActiveDateChange(i,a){i.enabled&&this.activeDateChange.emit({value:i.value,event:a})}_isSelected(i){return this.startValue===i||this.endValue===i}ngOnChanges(i){let a=i.numCols,{rows:r,numCols:s}=this;(i.rows||a)&&(this._firstRowOffset=r&&r.length&&r[0].length?s-r[0].length:0),(i.cellAspectRatio||a||!this._cellPadding)&&(this._cellPadding=`${50*this.cellAspectRatio/s}%`),(a||!this._cellWidth)&&(this._cellWidth=`${100/s}%`)}ngOnDestroy(){this._eventCleanups.forEach(i=>i())}_isActiveCell(i,a){let r=i*this.numCols+a;return i&&(r-=this._firstRowOffset),r==this.activeCell}_focusActiveCell(i=!0){_r(()=>{setTimeout(()=>{let a=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");a&&(i||(this._skipNextFocus=!0),a.focus())})},{injector:this._injector})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(i){return oh(i,this.startValue,this.endValue)}_isRangeEnd(i){return sh(i,this.startValue,this.endValue)}_isInRange(i){return lh(i,this.startValue,this.endValue,this.isRange)}_isComparisonStart(i){return oh(i,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(i,a,r){if(!this._isComparisonStart(i)||this._isRangeStart(i)||!this._isInRange(i))return!1;let s=this.rows[a][r-1];if(!s){let l=this.rows[a-1];s=l&&l[l.length-1]}return s&&!this._isRangeEnd(s.compareValue)}_isComparisonBridgeEnd(i,a,r){if(!this._isComparisonEnd(i)||this._isRangeEnd(i)||!this._isInRange(i))return!1;let s=this.rows[a][r+1];if(!s){let l=this.rows[a+1];s=l&&l[0]}return s&&!this._isRangeStart(s.compareValue)}_isComparisonEnd(i){return sh(i,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(i){return lh(i,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(i){return this.comparisonStart===this.comparisonEnd&&i===this.comparisonStart}_isPreviewStart(i){return oh(i,this.previewStart,this.previewEnd)}_isPreviewEnd(i){return sh(i,this.previewStart,this.previewEnd)}_isInPreview(i){return lh(i,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(i){if(!this.isRange)return null;if(this.startValue===i&&this.endValue===i)return`${this._startDateLabelId} ${this._endDateLabelId}`;if(this.startValue===i)return this._startDateLabelId;if(this.endValue===i)return this._endDateLabelId;if(this.comparisonStart!==null&&this.comparisonEnd!==null){if(i===this.comparisonStart&&i===this.comparisonEnd)return`${this._comparisonStartDateLabelId} ${this._comparisonEndDateLabelId}`;if(i===this.comparisonStart)return this._comparisonStartDateLabelId;if(i===this.comparisonEnd)return this._comparisonEndDateLabelId}return null}_getCellFromElement(i){let a=rh(i);if(a){let r=a.getAttribute("data-mat-row"),s=a.getAttribute("data-mat-col");if(r&&s)return this.rows[parseInt(r)][parseInt(s)]}return null}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[vi],decls:11,vars:11,consts:[["aria-hidden","true"],["role","row"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],[1,"mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"click","focus","ngClass","tabindex"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(i,a){i&1&&(re(0,Hpe,3,6,"tr",0),Ri(1,Upe,4,1,"tr",1,Bpe,!0),I(3,"span",2),B(4),T(),I(5,"span",2),B(6),T(),I(7,"span",2),B(8),T(),I(9,"span",2),B(10),T()),i&2&&(se(a._firstRowOffset<a.labelMinRequiredCells?0:-1),D(),Fi(a.rows),D(2),K("id",a._startDateLabelId),D(),Ie(" ",a.startDateAccessibleName,`
@@ -51,7 +51,7 @@ ${t.map((n,i)=>`${i+1}) ${n.toString()}`).join(`
51
51
  `],encapsulation:2,changeDetection:0}));let e=t;return e})(),ek=new $("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{let e=S(wi);return()=>e.scrollStrategies.reposition()}});function cme(e){return()=>e.scrollStrategies.reposition()}var dme={provide:ek,deps:[wi],useFactory:cme},tk=(()=>{const t=class t{constructor(){o(this,"_elementRef",S(ze));o(this,"_animationsDisabled",S(Gi,{optional:!0})==="NoopAnimations");o(this,"_changeDetectorRef",S(Lt));o(this,"_globalModel",S(As));o(this,"_dateAdapter",S(Yi));o(this,"_ngZone",S(Ne));o(this,"_rangeSelectionStrategy",S(ZS,{optional:!0}));o(this,"_stateChanges");o(this,"_model");o(this,"_eventCleanups");o(this,"_animationFallback");o(this,"_calendar");o(this,"color");o(this,"datepicker");o(this,"comparisonStart");o(this,"comparisonEnd");o(this,"startDateAccessibleName");o(this,"endDateAccessibleName");o(this,"_isAbove");o(this,"_animationDone",new le);o(this,"_isAnimating",!1);o(this,"_closeButtonText");o(this,"_closeButtonFocused");o(this,"_actionsPortal",null);o(this,"_dialogLabelId");o(this,"_handleAnimationEvent",i=>{let a=this._elementRef.nativeElement;i.target!==a||!i.animationName.startsWith("_mat-datepicker-content")||(clearTimeout(this._animationFallback),this._isAnimating=i.type==="animationstart",a.classList.toggle("mat-datepicker-content-animating",this._isAnimating),this._isAnimating||this._animationDone.next())});if(S(Vi).load(Tr),this._closeButtonText=S(Ro).closeCalendarLabel,!this._animationsDisabled){let i=this._elementRef.nativeElement,a=S(ra);this._eventCleanups=this._ngZone.runOutsideAngular(()=>[a.listen(i,"animationstart",this._handleAnimationEvent),a.listen(i,"animationend",this._handleAnimationEvent),a.listen(i,"animationcancel",this._handleAnimationEvent)])}}ngAfterViewInit(){this._stateChanges=this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()}),this._calendar.focusActiveCell()}ngOnDestroy(){var i,a;clearTimeout(this._animationFallback),(i=this._eventCleanups)==null||i.forEach(r=>r()),(a=this._stateChanges)==null||a.unsubscribe(),this._animationDone.complete()}_handleUserSelection(i){let a=this._model.selection,r=i.value,s=a instanceof Fa;if(s&&this._rangeSelectionStrategy){let l=this._rangeSelectionStrategy.selectionFinished(r,a,i.event);this._model.updateSelection(l,this)}else r&&(s||!this._dateAdapter.sameDate(r,a))&&this._model.add(r);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(i){this._model.updateSelection(i.value,this)}_startExitAnimation(){this._elementRef.nativeElement.classList.add("mat-datepicker-content-exit"),this._animationsDisabled?this._animationDone.next():(clearTimeout(this._animationFallback),this._animationFallback=setTimeout(()=>{this._isAnimating||this._animationDone.next()},200))}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(i,a){this._model=i?this._globalModel.clone():this._globalModel,this._actionsPortal=i,a&&this._changeDetectorRef.detectChanges()}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["mat-datepicker-content"]],viewQuery:function(i,a){if(i&1&&mt(Cp,5),i&2){let r;Re(r=Fe())&&(a._calendar=r.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:6,hostBindings:function(i,a){i&2&&(wr(a.color?"mat-"+a.color:""),We("mat-datepicker-content-touch",a.datepicker.touchUi)("mat-datepicker-content-animations-enabled",!a._animationsDisabled))},inputs:{color:"color"},exportAs:["matDatepickerContent"],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop","id","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"focus","blur","click","color"]],template:function(i,a){if(i&1&&(I(0,"div",0)(1,"mat-calendar",1),ue("yearSelected",function(r){return a.datepicker._selectYear(r)})("monthSelected",function(r){return a.datepicker._selectMonth(r)})("viewChanged",function(r){return a.datepicker._viewChanged(r)})("_userSelection",function(r){return a._handleUserSelection(r)})("_userDragDrop",function(r){return a._handleUserDragDrop(r)}),T(),re(2,Qpe,0,0,"ng-template",2),I(3,"button",3),ue("focus",function(){return a._closeButtonFocused=!0})("blur",function(){return a._closeButtonFocused=!1})("click",function(){return a.datepicker.close()}),B(4),T()()),i&2){let r;We("mat-datepicker-content-container-with-custom-header",a.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",a._actionsPortal),_e("aria-modal",!0)("aria-labelledby",(r=a._dialogLabelId)!==null&&r!==void 0?r:void 0),D(),wr(a.datepicker.panelClass),K("id",a.datepicker.id)("startAt",a.datepicker.startAt)("startView",a.datepicker.startView)("minDate",a.datepicker._getMinDate())("maxDate",a.datepicker._getMaxDate())("dateFilter",a.datepicker._getDateFilter())("headerComponent",a.datepicker.calendarHeaderComponent)("selected",a._getSelected())("dateClass",a.datepicker.dateClass)("comparisonStart",a.comparisonStart)("comparisonEnd",a.comparisonEnd)("startDateAccessibleName",a.startDateAccessibleName)("endDateAccessibleName",a.endDateAccessibleName),D(),K("cdkPortalOutlet",a._actionsPortal),D(),We("cdk-visually-hidden",!a._closeButtonFocused),K("color",a.color||"primary"),D(),we(a._closeButtonText)}},dependencies:[Jre,Cp,kr,xa],styles:[`@keyframes _mat-datepicker-content-dropdown-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-datepicker-content-dialog-enter{from{opacity:0;transform:scale(0.8)}to{opacity:1;transform:none}}@keyframes _mat-datepicker-content-exit{from{opacity:1}to{opacity:0}}.mat-datepicker-content{display:block;border-radius:4px;background-color:var(--mat-datepicker-calendar-container-background-color, var(--mat-sys-surface-container-high));color:var(--mat-datepicker-calendar-container-text-color, var(--mat-sys-on-surface));box-shadow:var(--mat-datepicker-calendar-container-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12));border-radius:var(--mat-datepicker-calendar-container-shape, var(--mat-sys-corner-large))}.mat-datepicker-content.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-dropdown-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.mat-datepicker-content-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;box-shadow:var(--mat-datepicker-calendar-container-touch-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12));border-radius:var(--mat-datepicker-calendar-container-touch-shape, var(--mat-sys-corner-extra-large));position:relative;overflow:visible}.mat-datepicker-content-touch.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-dialog-enter 150ms cubic-bezier(0, 0, 0.2, 1)}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}.mat-datepicker-content-exit.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-exit 100ms linear}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}
52
52
  `],encapsulation:2,changeDetection:0}));let e=t;return e})(),Zb=(()=>{const t=class t{constructor(){o(this,"_overlay",S(wi));o(this,"_viewContainerRef",S(bn));o(this,"_dateAdapter",S(Yi,{optional:!0}));o(this,"_dir",S(qi,{optional:!0}));o(this,"_model",S(As));o(this,"_scrollStrategy",S(ek));o(this,"_inputStateChanges",ct.EMPTY);o(this,"_document",S(et));o(this,"calendarHeaderComponent");o(this,"_startAt");o(this,"startView","month");o(this,"_color");o(this,"touchUi",!1);o(this,"_disabled");o(this,"xPosition","start");o(this,"yPosition","below");o(this,"restoreFocus",!0);o(this,"yearSelected",new ce);o(this,"monthSelected",new ce);o(this,"viewChanged",new ce(!0));o(this,"dateClass");o(this,"openedStream",new ce);o(this,"closedStream",new ce);o(this,"_panelClass");o(this,"_opened",!1);o(this,"id",S(xi).getId("mat-datepicker-"));o(this,"_overlayRef");o(this,"_componentRef");o(this,"_focusedElementBeforeOpen",null);o(this,"_backdropHarnessClass",`${this.id}-backdrop`);o(this,"_actionsPortal");o(this,"datepickerInput");o(this,"stateChanges",new le);o(this,"_injector",S(lt));o(this,"_changeDetectorRef",S(Lt));this._dateAdapter,this._model.selectionChanged.subscribe(()=>{this._changeDetectorRef.markForCheck()})}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(i){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(i){this._color=i}get disabled(){return this._disabled===void 0&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(i){i!==this._disabled&&(this._disabled=i,this.stateChanges.next(void 0))}get panelClass(){return this._panelClass}set panelClass(i){this._panelClass=coe(i)}get opened(){return this._opened}set opened(i){i?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}ngOnChanges(i){let a=i.xPosition||i.yPosition;if(a&&!a.firstChange&&this._overlayRef){let r=this._overlayRef.getConfig().positionStrategy;r instanceof kw&&(this._setConnectedPositions(r),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(i){this._model.add(i)}_selectYear(i){this.yearSelected.emit(i)}_selectMonth(i){this.monthSelected.emit(i)}_viewChanged(i){this.viewChanged.emit(i)}registerInput(i){return this.datepickerInput,this._inputStateChanges.unsubscribe(),this.datepickerInput=i,this._inputStateChanges=i.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(i){var a;this._actionsPortal,this._actionsPortal=i,(a=this._componentRef)==null||a.instance._assignActions(i,!0)}removeActions(i){var a;i===this._actionsPortal&&(this._actionsPortal=null,(a=this._componentRef)==null||a.instance._assignActions(null,!0))}open(){var i;this._opened||this.disabled||(i=this._componentRef)!=null&&i.instance._isAnimating||(this.datepickerInput,this._focusedElementBeforeOpen=to(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){var r;if(!this._opened||(r=this._componentRef)!=null&&r.instance._isAnimating)return;let i=this.restoreFocus&&this._focusedElementBeforeOpen&&typeof this._focusedElementBeforeOpen.focus=="function",a=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){let{instance:s,location:l}=this._componentRef;s._animationDone.pipe(Ci(1)).subscribe(()=>{let c=this._document.activeElement;i&&(!c||c===this._document.activeElement||l.nativeElement.contains(c))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()}),s._startExitAnimation()}i?setTimeout(a):a()}_applyPendingSelection(){var i,a;(a=(i=this._componentRef)==null?void 0:i.instance)==null||a._applyPendingSelection()}_forwardContentValues(i){i.datepicker=this,i.color=this.color,i._dialogLabelId=this.datepickerInput.getOverlayLabelId(),i._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();let i=this.touchUi,a=new jn(tk,this._viewContainerRef),r=this._overlayRef=this._overlay.create(new ol({positionStrategy:i?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[i?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir||"ltr",scrollStrategy:i?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:`mat-datepicker-${i?"dialog":"popup"}`}));this._getCloseStream(r).subscribe(s=>{s&&s.preventDefault(),this.close()}),r.keydownEvents().subscribe(s=>{let l=s.keyCode;(l===38||l===40||l===37||l===39||l===33||l===34)&&s.preventDefault()}),this._componentRef=r.attach(a),this._forwardContentValues(this._componentRef.instance),i||_r(()=>{r.updatePosition()},{injector:this._injector})}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){let i=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(i)}_setConnectedPositions(i){let a=this.xPosition==="end"?"end":"start",r=a==="start"?"end":"start",s=this.yPosition==="above"?"bottom":"top",l=s==="top"?"bottom":"top";return i.withPositions([{originX:a,originY:l,overlayX:a,overlayY:s},{originX:a,originY:s,overlayX:a,overlayY:l},{originX:r,originY:l,overlayX:r,overlayY:s},{originX:r,originY:s,overlayX:r,overlayY:l}])}_getCloseStream(i){let a=["ctrlKey","shiftKey","metaKey"];return Ji(i.backdropClick(),i.detachments(),i.keydownEvents().pipe(oi(r=>r.keyCode===27&&!Ii(r)||this.datepickerInput&&Ii(r,"altKey")&&r.keyCode===38&&a.every(s=>!Ii(r,s)))))}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:[2,"touchUi","touchUi",qe],disabled:[2,"disabled","disabled",qe],xPosition:"xPosition",yPosition:"yPosition",restoreFocus:[2,"restoreFocus","restoreFocus",qe],dateClass:"dateClass",panelClass:"panelClass",opened:[2,"opened","opened",qe]},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[vi]}));let e=t;return e})(),ume=(()=>{const t=class t extends Zb{};o(t,"ɵfac",(()=>{let i;return function(a){return(i||(i=Qt(t)))(a||t)}})()),o(t,"ɵcmp",Ce({type:t,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[_i([KS,{provide:Zb,useExisting:t}]),Ft],decls:0,vars:0,template:function(i,a){},encapsulation:2,changeDetection:0}));let e=t;return e})(),Yl=class{constructor(e,t){o(this,"target");o(this,"targetElement");o(this,"value");this.target=e,this.targetElement=t,this.value=this.target.value}},hme=(()=>{const t=class t{constructor(){o(this,"_elementRef",S(ze));o(this,"_dateAdapter",S(Yi,{optional:!0}));o(this,"_dateFormats",S(Po,{optional:!0}));o(this,"_isInitialized");o(this,"_model");o(this,"_disabled");o(this,"dateChange",new ce);o(this,"dateInput",new ce);o(this,"stateChanges",new le);o(this,"_onTouched",()=>{});o(this,"_validatorOnChange",()=>{});o(this,"_cvaOnChange",()=>{});o(this,"_valueChangesSubscription",ct.EMPTY);o(this,"_localeSubscription",ct.EMPTY);o(this,"_pendingValue");o(this,"_parseValidator",()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}});o(this,"_filterValidator",i=>{let a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i.value));return!a||this._matchesFilter(a)?null:{matDatepickerFilter:!0}});o(this,"_minValidator",i=>{let a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i.value)),r=this._getMinDate();return!r||!a||this._dateAdapter.compareDate(r,a)<=0?null:{matDatepickerMin:{min:r,actual:a}}});o(this,"_maxValidator",i=>{let a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i.value)),r=this._getMaxDate();return!r||!a||this._dateAdapter.compareDate(r,a)>=0?null:{matDatepickerMax:{max:r,actual:a}}});o(this,"_lastValueValid",!1);this._localeSubscription=this._dateAdapter.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(i){this._assignValueProgrammatically(i)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(i){let a=i,r=this._elementRef.nativeElement;this._disabled!==a&&(this._disabled=a,this.stateChanges.next(void 0)),a&&this._isInitialized&&r.blur&&r.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(i){this._model=i,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(a=>{if(this._shouldHandleChangeEvent(a)){let r=this._getValueFromModel(a.selection);this._lastValueValid=this._isValidValue(r),this._cvaOnChange(r),this._onTouched(),this._formatValue(r),this.dateInput.emit(new Yl(this,this._elementRef.nativeElement)),this.dateChange.emit(new Yl(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(i){pme(i,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(i){this._validatorOnChange=i}validate(i){return this._validator?this._validator(i):null}writeValue(i){this._assignValueProgrammatically(i)}registerOnChange(i){this._cvaOnChange=i}registerOnTouched(i){this._onTouched=i}setDisabledState(i){this.disabled=i}_onKeydown(i){let a=["ctrlKey","shiftKey","metaKey"];Ii(i,"altKey")&&i.keyCode===40&&a.every(r=>!Ii(i,r))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),i.preventDefault())}_onInput(i){let a=this._lastValueValid,r=this._dateAdapter.parse(i,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(r),r=this._dateAdapter.getValidDateOrNull(r);let s=!this._dateAdapter.sameDate(r,this.value);!r||s?this._cvaOnChange(r):(i&&!this.value&&this._cvaOnChange(r),a!==this._lastValueValid&&this._validatorOnChange()),s&&(this._assignValue(r),this.dateInput.emit(new Yl(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new Yl(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(i){this._elementRef.nativeElement.value=i!=null?this._dateAdapter.format(i,this._dateFormats.display.dateInput):""}_assignValue(i){this._model?(this._assignValueToModel(i),this._pendingValue=null):this._pendingValue=i}_isValidValue(i){return!i||this._dateAdapter.isValid(i)}_parentDisabled(){return!1}_assignValueProgrammatically(i){i=this._dateAdapter.deserialize(i),this._lastValueValid=this._isValidValue(i),i=this._dateAdapter.getValidDateOrNull(i),this._assignValue(i),this._formatValue(i)}_matchesFilter(i){let a=this._getDateFilter();return!a||a(i)}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,inputs:{value:"value",disabled:[2,"disabled","disabled",qe]},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[vi]}));let e=t;return e})();function pme(e,t){let n=Object.keys(e);for(let i of n){let{previousValue:a,currentValue:r}=e[i];if(t.isDateInstance(a)&&t.isDateInstance(r)){if(!t.sameDate(a,r))return!0}else return!0}return!1}var mme={provide:mf,useExisting:mn(()=>Pf),multi:!0},fme={provide:ul,useExisting:mn(()=>Pf),multi:!0},Pf=(()=>{const t=class t extends hme{constructor(){super();o(this,"_formField",S(Yd,{optional:!0}));o(this,"_closedSubscription",ct.EMPTY);o(this,"_openedSubscription",ct.EMPTY);o(this,"_datepicker");o(this,"_ariaOwns",Pa(null));o(this,"_min");o(this,"_max");o(this,"_dateFilter");o(this,"_validator");this._validator=bf.compose(super._getValidators())}set matDatepicker(a){a&&(this._datepicker=a,this._ariaOwns.set(a.opened?a.id:null),this._closedSubscription=a.closedStream.subscribe(()=>{this._onTouched(),this._ariaOwns.set(null)}),this._openedSubscription=a.openedStream.subscribe(()=>{this._ariaOwns.set(a.id)}),this._registerModel(a.registerInput(this)))}get min(){return this._min}set min(a){let r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a));this._dateAdapter.sameDate(r,this._min)||(this._min=r,this._validatorOnChange())}get max(){return this._max}set max(a){let r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a));this._dateAdapter.sameDate(r,this._max)||(this._max=r,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(a){let r=this._matchesFilter(this.value);this._dateFilter=a,this._matchesFilter(this.value)!==r&&this._validatorOnChange()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe(),this._openedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(a){return a}_assignValueToModel(a){this._model&&this._model.updateSelection(a,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(a){return a.source!==this}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",Se({type:t,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(a,r){a&1&&ue("input",function(s){return r._onInput(s.target.value)})("change",function(){return r._onChange()})("blur",function(){return r._onBlur()})("keydown",function(s){return r._onKeydown(s)}),a&2&&(yn("disabled",r.disabled),_e("aria-haspopup",r._datepicker?"dialog":null)("aria-owns",r._ariaOwns())("min",r.min?r._dateAdapter.toIso8601(r.min):null)("max",r.max?r._dateAdapter.toIso8601(r.max):null)("data-mat-calendar",r._datepicker?r._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:[0,"matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[_i([mme,fme,{provide:GS,useExisting:t}]),Ft]}));let e=t;return e})(),gme=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["","matDatepickerToggleIcon",""]]}));let e=t;return e})(),ik=(()=>{const t=class t{constructor(){o(this,"_intl",S(Ro));o(this,"_changeDetectorRef",S(Lt));o(this,"_stateChanges",ct.EMPTY);o(this,"datepicker");o(this,"tabIndex");o(this,"ariaLabel");o(this,"_disabled");o(this,"disableRipple");o(this,"_customIcon");o(this,"_button");let i=S(new gm("tabindex"),{optional:!0}),a=Number(i);this.tabIndex=a||a===0?a:null}get disabled(){return this._disabled===void 0&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(i){this._disabled=i}ngOnChanges(i){i.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(i){this.datepicker&&!this.disabled&&(this.datepicker.open(),i.stopPropagation())}_watchStateChanges(){let i=this.datepicker?this.datepicker.stateChanges:ft(),a=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:ft(),r=this.datepicker?Ji(this.datepicker.openedStream,this.datepicker.closedStream):ft();this._stateChanges.unsubscribe(),this._stateChanges=Ji(this._intl.changes,i,a,r).subscribe(()=>this._changeDetectorRef.markForCheck())}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["mat-datepicker-toggle"]],contentQueries:function(i,a,r){if(i&1&&pi(r,gme,5),i&2){let s;Re(s=Fe())&&(a._customIcon=s.first)}},viewQuery:function(i,a){if(i&1&&mt(Jpe,5),i&2){let r;Re(r=Fe())&&(a._button=r.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(i,a){i&1&&ue("click",function(r){return a._open(r)}),i&2&&(_e("tabindex",null)("data-mat-calendar",a.datepicker?a.datepicker.id:null),We("mat-datepicker-toggle-active",a.datepicker&&a.datepicker.opened)("mat-accent",a.datepicker&&a.datepicker.color==="accent")("mat-warn",a.datepicker&&a.datepicker.color==="warn"))},inputs:{datepicker:[0,"for","datepicker"],tabIndex:"tabIndex",ariaLabel:[0,"aria-label","ariaLabel"],disabled:[2,"disabled","disabled",qe],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[vi],ngContentSelectors:tme,decls:4,vars:7,consts:[["button",""],["mat-icon-button","","type","button",3,"disabled","disableRipple"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(i,a){i&1&&(Li(eme),I(0,"button",1,0),re(2,ime,2,0,":svg:svg",2),dt(3),T()),i&2&&(K("disabled",a.disabled)("disableRipple",a.disableRipple),_e("aria-haspopup",a.datepicker?"dialog":null)("aria-label",a.ariaLabel||a._intl.openCalendarLabel)("tabindex",a.disabled?-1:a.tabIndex)("aria-expanded",a.datepicker?a.datepicker.opened:null),D(2),se(a._customIcon?-1:2))},dependencies:[Io],styles:[`.mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color, var(--mat-sys-on-surface-variant))}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color, var(--mat-sys-on-surface-variant))}@media(forced-colors: active){.mat-datepicker-toggle-default-icon{color:CanvasText}}
53
53
  `],encapsulation:2,changeDetection:0}));let e=t;return e})(),vme=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",kt({type:t})),o(t,"ɵinj",St({providers:[Ro,dme],imports:[Ao,Gd,hw,ks,ai,tk,ik,JS,$c]}));let e=t;return e})();function bme(e,t){e&1&&(I(0,"mat-error"),B(1),H(2,"translate"),T()),e&2&&(D(),we(W(2,1,"commons.errors.invalid_date_format")))}function yme(e,t){e&1&&(I(0,"mat-error"),B(1),H(2,"translate"),T()),e&2&&(D(),we(W(2,1,"diaryNotesPage.filters.errFrom")))}function _me(e,t){e&1&&(I(0,"mat-error"),B(1),H(2,"translate"),T()),e&2&&(D(),we(W(2,1,"commons.errors.invalid_date_format")))}function xme(e,t){e&1&&(I(0,"mat-error"),B(1),H(2,"translate"),T()),e&2&&(D(),we(W(2,1,"diaryNotesPage.filters.errUntil")))}function wme(e,t){e&1&&de(0,"mat-option",18)}function Sme(e,t){if(e&1&&(I(0,"mat-option",19),B(1),T()),e&2){let n=t.$implicit;Vd("value",n),_e("translate","no"),D(),we(n)}}function kme(e,t){if(e&1){let n=Ke();I(0,"button",21),H(1,"translate"),H(2,"translate"),ue("click",function(i){ge(n);let a=R(2);return a.filter.author="",ve(i.stopPropagation())}),de(3,"mat-icon",22),T()}e&2&&(K("title",W(1,2,"diaryNotesPage.filters.deleteSelection")),_e("aria-label",W(2,4,"diaryNotesPage.filters.deleteSelection")))}function Eme(e,t){if(e&1){let n=Ke();I(0,"div",6)(1,"label",16),B(2),H(3,"translate"),T(),I(4,"mat-form-field",8)(5,"mat-select",17),$a("ngModelChange",function(i){ge(n);let a=R();return pn(a.filter.author,i)||(a.filter.author=i),ve(i)}),re(6,wme,1,0,"mat-option",18),Ri(7,Sme,2,3,"mat-option",19,ba),T(),re(9,kme,4,6,"button",20),T()()}if(e&2){let n=R();D(2),we(W(3,4,"diaryNotesPage.filters.author")),D(3),Ha("ngModel",n.filter.author),D(),se(n.filter.author?6:-1),D(),Fi(t),D(2),se(n.filter.author?9:-1)}}function Cme(e,t){e&1&&de(0,"mat-option",18)}function Dme(e,t){if(e&1&&(I(0,"mat-option",19),B(1),H(2,"translate"),H(3,"firstLetterUppercase"),T()),e&2){let n=t.$implicit;Vd("value",n),_e("translate","no"),D(),Ie("",W(3,5,W(2,3,"commons.roles."+n.toLowerCase()))," ")}}function Ime(e,t){if(e&1){let n=Ke();I(0,"button",21),H(1,"translate"),H(2,"translate"),ue("click",function(i){ge(n);let a=R(2);return a.filter.role=void 0,ve(i.stopPropagation())}),de(3,"mat-icon",22),T()}e&2&&(K("title",W(1,2,"diaryNotesPage.filters.deleteSelection")),_e("aria-label",W(2,4,"diaryNotesPage.filters.deleteSelection")))}function Ame(e,t){if(e&1){let n=Ke();I(0,"div",6)(1,"label",23),B(2),H(3,"translate"),T(),I(4,"mat-form-field",8)(5,"mat-select",24),$a("ngModelChange",function(i){ge(n);let a=R();return pn(a.filter.role,i)||(a.filter.role=i),ve(i)}),re(6,Cme,1,0,"mat-option",18),Ri(7,Dme,4,7,"mat-option",19,ba),T(),re(9,Ime,4,6,"button",20),T()()}if(e&2){let n=R();D(2),we(W(3,4,"diaryNotesPage.filters.role")),D(3),Ha("ngModel",n.filter.role),D(),se(n.filter.role?6:-1),D(),Fi(t),D(2),se(n.filter.role?9:-1)}}function Ome(e,t){if(e&1&&(I(0,"mat-option",19),B(1),H(2,"translate"),H(3,"firstLetterUppercase"),T()),e&2){let n=t.$implicit;Vd("value",n),D(),Ie(" ",W(3,4,W(2,2,"commons.tags."+n.toLowerCase()))," ")}}function Tme(e,t){if(e&1){let n=Ke();I(0,"button",21),H(1,"translate"),H(2,"translate"),ue("click",function(i){ge(n);let a=R(2);return a.filter.tags=[],ve(i.stopPropagation())}),de(3,"mat-icon",22),T()}e&2&&(K("title",W(1,2,"diaryNotesPage.filters.deleteSelection")),_e("aria-label",W(2,4,"diaryNotesPage.filters.deleteSelection")))}function Nme(e,t){if(e&1){let n=Ke();I(0,"div",6)(1,"label",25),B(2),H(3,"translate"),T(),I(4,"mat-form-field",8)(5,"mat-select",26),$a("ngModelChange",function(i){ge(n);let a=R();return pn(a.filter.tags,i)||(a.filter.tags=i),ve(i)}),Ri(6,Ome,4,6,"mat-option",19,ba),T(),re(8,Tme,4,6,"button",20),T()()}if(e&2){let n=R();D(2),we(W(3,3,"diaryNotesPage.filters.tags")),D(3),Ha("ngModel",n.filter.tags),D(),Fi(t),D(2),se((n.filter==null||n.filter.tags==null?null:n.filter.tags.length)>0?8:-1)}}var Mme=(()=>{const t=class t{constructor(){this.translateService=S(qn),this.dateAdapter=S(Yi),this.destroyRef=S($i),this.data=S(uf),this.today=new Date,this.filter={dateRange:{from:null,until:null}},this.setActiveFilters=i=>{this.filter=Qe(Q({},i),{dateRange:{from:i.dateRange.from?new Date(i.dateRange.from):null,until:i.dateRange.until?new Date(i.dateRange.until):null}})}}ngOnInit(){this.dateAdapter.setLocale(this.translateService.currentLang),this.filterOptions=this.data.filterOptions,this.authors=this.filterOptions.authors,this.roles=this.filterOptions.roles,this.tags=this.filterOptions.tags,this.data.activeFilters$.pipe(IZ()).subscribe(this.setActiveFilters),this.translateService.onLangChange.pipe(Do(this.destroyRef)).subscribe(({lang:i})=>{this.dateAdapter.setLocale(i)})}onSelectFromDate(i){this.filter.dateRange.from=i.value}onSelectUntilDate(i){this.filter.dateRange.until=i.value}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["ng-component"]],decls:40,vars:33,consts:[["dateRangeFrom","ngModel"],["fromPicker",""],["dateRangeUntil","ngModel"],["untilPicker",""],["mat-dialog-title",""],[1,"date-range"],[1,"mh-form-field"],["for","fromFilter"],["appearance","outline"],["id","fromFilter","matInput","","name","fromPicker","placeholder","dd/mm/yyyy",3,"ngModelChange","dateChange","ngModel","matDatepicker","max"],["matSuffix","",3,"for"],["startView","month",3,"startAt"],["for","untilDate"],["id","untilDate","matInput","","name","untilPicker","placeholder","dd/mm/yyyy",3,"ngModelChange","dateChange","ngModel","matDatepicker","min","max"],["mat-button","","mat-dialog-close",""],["mat-flat-button","","type","button",3,"disabled","mat-dialog-close"],["for","author"],["id","author","name","author",3,"ngModelChange","ngModel"],["value",""],[3,"value"],["matSuffix","","mat-icon-button","",3,"title"],["matSuffix","","mat-icon-button","",3,"click","title"],["aria-hidden","true","fontIcon","close"],["for","role"],["id","role","name","role",3,"ngModelChange","ngModel"],["for","tags"],["id","tags","name","tags","multiple","",3,"ngModelChange","ngModel"]],template:function(i,a){if(i&1){let r=Ke();I(0,"h2",4),B(1),H(2,"translate"),T(),I(3,"mat-dialog-content")(4,"form")(5,"div",5)(6,"div",6)(7,"label",7),B(8),H(9,"translate"),T(),I(10,"mat-form-field",8)(11,"input",9,0),$a("ngModelChange",function(s){return ge(r),pn(a.filter.dateRange.from,s)||(a.filter.dateRange.from=s),ve(s)}),ue("dateChange",function(s){return ge(r),ve(a.onSelectFromDate(s))}),T(),de(13,"mat-datepicker-toggle",10)(14,"mat-datepicker",11,1),re(16,bme,3,3,"mat-error")(17,yme,3,3,"mat-error"),T()(),I(18,"div",6)(19,"label",12),B(20),H(21,"translate"),T(),I(22,"mat-form-field",8)(23,"input",13,2),$a("ngModelChange",function(s){return ge(r),pn(a.filter.dateRange.until,s)||(a.filter.dateRange.until=s),ve(s)}),ue("dateChange",function(s){return ge(r),ve(a.onSelectUntilDate(s))}),T(),de(25,"mat-datepicker-toggle",10)(26,"mat-datepicker",11,3),re(28,_me,3,3,"mat-error")(29,xme,3,3,"mat-error"),T()()(),re(30,Eme,10,6,"div",6)(31,Ame,10,6,"div",6)(32,Nme,9,5,"div",6),T()(),I(33,"mat-dialog-actions")(34,"button",14),B(35),H(36,"translate"),T(),I(37,"button",15),B(38),H(39,"translate"),T()()}if(i&2){let r,s,l,c=Qi(12),d=Qi(15),u=Qi(24),p=Qi(27);D(),we(W(2,23,"diaryNotesPage.filters.filter")),D(7),we(W(9,25,"diaryNotesPage.filters.from")),D(3),Ha("ngModel",a.filter.dateRange.from),K("matDatepicker",d)("max",a.filter.dateRange.until?a.filter.dateRange.until:a.today),D(2),K("for",d),D(),K("startAt",a.today),D(2),se(c.hasError("matDatepickerParse")?16:c.hasError("matDatepickerMax")?17:-1),D(4),we(W(21,27,"diaryNotesPage.filters.until")),D(3),Ha("ngModel",a.filter.dateRange.until),K("matDatepicker",p)("min",a.filter.dateRange.from)("max",a.today),D(2),K("for",p),D(),K("startAt",a.today),D(2),se(u.hasError("matDatepickerParse")?28:u.hasError("matDatepickerMin")?29:-1),D(2),se((r=a.authors)?30:-1,r),D(),se((s=a.roles)?31:-1,s),D(),se((l=a.tags)?32:-1,l),D(3),Ie(" ",W(36,29,"diaryNotesPage.cancel")," "),D(2),K("disabled",c.invalid||u.invalid)("mat-dialog-close",a.filter),D(),Ie(" ",W(39,31,"diaryNotesPage.confirm")," ")}},dependencies:[cl,Wd,ik,ume,Cf,Jd,dl,sl,sS,Dle,Kd,Zw,cle,Sf,Qd,Io,Pf,YS,ll,hf,Cs,Pw,$se,Ope,vme,hS,vp,Ao,xa,_a,Nf,Un,pse],styles:["@media only screen and (min-width: 960px){.date-range[_ngcontent-%COMP%]{display:flex;gap:16px}.date-range[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:100%}}"]});let e=t;return e})();function Pme(e,t){if(e&1){let n=Ke();I(0,"mat-chip",4),ue("removed",function(){ge(n);let i=R(2);return ve(i.onClearFilter("author"))}),B(1),H(2,"translate"),I(3,"span"),B(4),H(5,"firstLetterUppercase"),T(),I(6,"button",5),de(7,"mat-icon",6),T()()}if(e&2){let n=R(),i=R();K("removable",!0)("disabled",i.disabled),D(),Ie(" ",W(2,5,"diaryNotesPage.filters.author"),": "),D(2),_e("translate","no"),D(),we(W(5,7,n.author))}}function Rme(e,t){if(e&1){let n=Ke();I(0,"mat-chip",4),ue("removed",function(){ge(n);let i=R(2);return ve(i.onClearFilter("role"))}),B(1),H(2,"translate"),I(3,"span"),B(4),H(5,"translate"),H(6,"firstLetterUppercase"),T(),I(7,"button",5),de(8,"mat-icon",6),T()()}if(e&2){let n=R(),i=R();K("removable",!0)("disabled",i.disabled),D(),Ie(" ",W(2,5,"diaryNotesPage.filters.role"),": "),D(2),_e("translate","no"),D(),Ie("",W(6,9,W(5,7,"commons.roles."+n.role.toLowerCase()))," ")}}function Fme(e,t){e&1&&B(0," , ")}function Lme(e,t){if(e&1&&(B(0),H(1,"translate"),H(2,"firstLetterUppercase"),re(3,Fme,1,0)),e&2){let n=t.$implicit,i=t.$index,a=t.$count;Ie(" ",W(2,4,W(1,2,"commons.tags."+n.toLowerCase()))," "),D(3),se(i!==a-1?3:-1)}}function Vme(e,t){if(e&1){let n=Ke();I(0,"mat-chip",4),ue("removed",function(){ge(n);let i=R(2);return ve(i.onClearFilter("tags"))}),B(1),H(2,"translate"),I(3,"span"),Ri(4,Lme,4,6,null,null,ba),T(),I(6,"button",5),de(7,"mat-icon",6),T()()}if(e&2){let n=R(),i=R();K("removable",!0)("disabled",i.disabled),D(),Ie(" ",W(2,4,"diaryNotesPage.filters.tags"),":"),D(2),_e("translate","no"),D(),Fi(n==null?null:n.tags)}}function zme(e,t){if(e&1&&(B(0),H(1,"translate"),H(2,"date")),e&2){let n=R(2);Sr(" ",W(1,2,"diaryNotesPage.filters.from")," : ",Or(2,4,n==null?null:n.dateRange.from,"dd/MM/yyyy")," ")}}function jme(e,t){if(e&1&&(B(0),H(1,"translate"),H(2,"date")),e&2){let n=R(2);Sr(" ",W(1,2,"diaryNotesPage.filters.until")," : ",Or(2,4,n==null?null:n.dateRange.until,"dd/MM/yyyy")," ")}}function Bme(e,t){if(e&1){let n=Ke();I(0,"mat-chip",4),ue("removed",function(){ge(n);let i=R(2);return ve(i.onClearFilter("range"))}),re(1,zme,3,7)(2,jme,3,7),I(3,"button",5),de(4,"mat-icon",6),T()()}if(e&2){let n=R(),i=R();K("removable",!0)("disabled",i.disabled),D(),se(n.dateRange.from?1:-1),D(),se(n!=null&&n.dateRange.until?2:-1)}}function Hme(e,t){if(e&1&&(I(0,"mat-chip-set"),re(1,Pme,8,9,"mat-chip",3)(2,Rme,9,11,"mat-chip",3)(3,Vme,8,6,"mat-chip",3)(4,Bme,5,4,"mat-chip",3),T()),e&2){let n=t;D(),se(n!=null&&n.author&&n.author!==""?1:-1),D(),se(n!=null&&n.role&&n.role!==""?2:-1),D(),se(n!=null&&n.tags&&n.tags.length>0?3:-1),D(),se(n.dateRange.from||n!=null&&n.dateRange.until?4:-1)}}var $me=(()=>{const t=class t{constructor(){this.diarynoteService=S(Is),this.destroyRef=S($i),this.dialog=S(Nr),this.activeFilters$=this.diarynoteService.filterState$.pipe(bc({refCount:!0,bufferSize:1}))}onShowFilterDialog(){this.dialog.open(Mme,{data:{filterOptions:this.filterOptions,activeFilters$:this.activeFilters$}}).beforeClosed().pipe(oi(i=>i),Do(this.destroyRef)).subscribe(i=>{this.diarynoteService.updateFilter(i)})}onClearFilter(i){this.diarynoteService.clearFilterByKey(i)}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["vidis-diarynotes-filter-block"]],inputs:{filterOptions:"filterOptions",services:"services",disabled:"disabled"},decls:7,vars:7,consts:[[1,"filter-container"],["mat-stroked-button","",3,"click","disabled"],["fontIcon","tune"],[3,"removable","disabled"],[3,"removed","removable","disabled"],["matChipRemove",""],["fontIcon","close"]],template:function(i,a){if(i&1&&(I(0,"div",0)(1,"button",1),ue("click",function(){return a.onShowFilterDialog()}),de(2,"mat-icon",2),B(3),H(4,"translate"),T(),re(5,Hme,5,4,"mat-chip-set"),H(6,"async"),T()),i&2){let r;D(),K("disabled",a.disabled),D(2),Ie(" ",W(4,3,"diaryNotesPage.filters.filter")," "),D(2),se((r=W(6,5,a.activeFilters$))?5:-1,r)}},dependencies:[_a,Nf,D1,C1,xa,Un,US,au,$S,qS],styles:[".filter-container[_ngcontent-%COMP%]{margin-bottom:1rem;display:flex;align-items:center}"]});let e=t;return e})(),qme=["*"],Ume=new $("MAT_CARD_CONFIG"),Gme=(()=>{const t=class t{constructor(){o(this,"appearance");let i=S(Ume,{optional:!0});this.appearance=(i==null?void 0:i.appearance)||"raised"}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(i,a){i&2&&We("mat-mdc-card-outlined",a.appearance==="outlined")("mdc-card--outlined",a.appearance==="outlined")},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:qme,decls:1,vars:0,template:function(i,a){i&1&&(Li(),dt(0))},styles:[`.mat-mdc-card{display:flex;flex-direction:column;box-sizing:border-box;position:relative;border-style:solid;border-width:0;background-color:var(--mdc-elevated-card-container-color, var(--mat-sys-surface-container-low));border-color:var(--mdc-elevated-card-container-color, var(--mat-sys-surface-container-low));border-radius:var(--mdc-elevated-card-container-shape, var(--mat-sys-corner-medium));box-shadow:var(--mdc-elevated-card-container-elevation, var(--mat-sys-level1))}.mat-mdc-card::after{position:absolute;top:0;left:0;width:100%;height:100%;border:solid 1px rgba(0,0,0,0);content:"";display:block;pointer-events:none;box-sizing:border-box;border-radius:var(--mdc-elevated-card-container-shape, var(--mat-sys-corner-medium))}.mat-mdc-card-outlined{background-color:var(--mdc-outlined-card-container-color, var(--mat-sys-surface));border-radius:var(--mdc-outlined-card-container-shape, var(--mat-sys-corner-medium));border-width:var(--mdc-outlined-card-outline-width, 1px);border-color:var(--mdc-outlined-card-outline-color, var(--mat-sys-outline-variant));box-shadow:var(--mdc-outlined-card-container-elevation, var(--mat-sys-level0))}.mat-mdc-card-outlined::after{border:none}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mat-mdc-card-actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font, var(--mat-sys-title-large-font));line-height:var(--mat-card-title-text-line-height, var(--mat-sys-title-large-line-height));font-size:var(--mat-card-title-text-size, var(--mat-sys-title-large-size));letter-spacing:var(--mat-card-title-text-tracking, var(--mat-sys-title-large-tracking));font-weight:var(--mat-card-title-text-weight, var(--mat-sys-title-large-weight))}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color, var(--mat-sys-on-surface));font-family:var(--mat-card-subtitle-text-font, var(--mat-sys-title-medium-font));line-height:var(--mat-card-subtitle-text-line-height, var(--mat-sys-title-medium-line-height));font-size:var(--mat-card-subtitle-text-size, var(--mat-sys-title-medium-size));letter-spacing:var(--mat-card-subtitle-text-tracking, var(--mat-sys-title-medium-tracking));font-weight:var(--mat-card-subtitle-text-weight, var(--mat-sys-title-medium-weight))}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}
54
- `],encapsulation:2,changeDetection:0}));let e=t;return e})(),Yme=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]}));let e=t;return e})(),Wme=(()=>{const t=class t{constructor(){o(this,"align","start")}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(i,a){i&2&&We("mat-mdc-card-actions-align-end",a.align==="end")},inputs:{align:"align"},exportAs:["matCardActions"]}));let e=t;return e})(),Kme=(()=>{const t=class t{constructor(){this.rolesMapData={patient:"patient",physician:"persphysician",midwife:"persmidwife",nurse:"persnurse",dentist:"persdentist",pharmacist:"perspharmacist"}}transform(i,a){return this.diaryNote!==i&&(this.diaryNote=i,this.user=a,this.setCanDelete()),this.canDelete}setCanDelete(){this.canDelete=this.diaryNote&&this.user?this.canDeleteDiaryNote(this.diaryNote):!1}canDeleteDiaryNote(i){var r,s,l,c,d,u,p,v,g;let a=this.user.organization?(r=this.user.organization[this.getOrganizationType(this.user.organization)])==null?void 0:r.nihii:void 0;return((s=i==null?void 0:i.source)==null?void 0:s.toLowerCase())==="vitalink"&&(i==null?void 0:i.status)==="completed"&&this.equalsCheck((l=i==null?void 0:i.author)==null?void 0:l.role,this.mapRole(this.user.role))&&(this.equalsCheck((c=i==null?void 0:i.author)==null?void 0:c.ssin,(d=this.user)==null?void 0:d.ssin)||this.equalsCheck((u=i==null?void 0:i.author)==null?void 0:u.nihdi,(p=this.user.professional)==null?void 0:p.nihii11)||this.equalsCheck((g=(v=i==null?void 0:i.author)==null?void 0:v.organization)==null?void 0:g.nihdi,a))}mapRole(i){return this.rolesMapData[i]||"patient"}equalsCheck(i,a){return i===a&&!!i}getOrganizationType(i){let a=["pharmacy"],r=null;return a.forEach(s=>{i[s]&&(r=s)}),r}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=Co({name:"canDeleteDiarynote",type:t,pure:!0});let e=t;return e})(),Zme=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["ng-component"]],decls:14,vars:14,consts:[["mat-dialog-title",""],["mat-button","","type","button",3,"mat-dialog-close"],["mat-flat-button","","type","button",3,"mat-dialog-close"]],template:function(i,a){i&1&&(I(0,"h2",0),B(1),H(2,"translate"),T(),I(3,"mat-dialog-content")(4,"p"),B(5),H(6,"translate"),T()(),I(7,"mat-dialog-actions")(8,"button",1),B(9),H(10,"translate"),T(),I(11,"button",2),B(12),H(13,"translate"),T()()),i&2&&(D(),we(W(2,6,"diaryNotesPage.delete-dialog.title")),D(4),we(W(6,8,"diaryNotesPage.delete-dialog.message")),D(3),K("mat-dialog-close",!1),D(),Ie(" ",W(10,10,"diaryNotesPage.delete-dialog.cancel")," "),D(2),K("mat-dialog-close",!0),D(),Ie(" ",W(13,12,"diaryNotesPage.delete-dialog.confirm")," "))},dependencies:[cl,dl,_a,xa,sl,ll],encapsulation:2});let e=t;return e})(),ak=e=>({"strike-through":e}),Xme=e=>({count:e});function Qme(e,t){if(e&1&&(I(0,"span",1),B(1),H(2,"translate"),T()),e&2){let n=R().$implicit;D(),Sr("",W(2,2,"diaryNotesPage.table.error")," ( ",n.id," )")}}function Jme(e,t){if(e&1&&(I(0,"mat-chip",5),B(1),H(2,"translate"),T()),e&2){let n=t.$implicit;K("disableRipple",!0),D(),Ie(" ",W(2,2,"commons.tags."+n)," ")}}function efe(e,t){if(e&1&&(de(0,"dt",4),I(1,"dd")(2,"mat-chip-set"),Ri(3,Jme,3,4,"mat-chip",5,ba),T()()),e&2){let n=R(2).$implicit;D(3),Fi(n.tags)}}function tfe(e,t){if(e&1){let n=Ke();I(0,"mat-chip",8),ue("click",function(){let i=ge(n).$index,a=R(3).$implicit,r=R();return ve(r.onDownloadFile(a,i))}),de(1,"mat-icon",9),B(2),H(3,"attachementFilename"),T()}if(e&2){let n=t.$implicit,i=t.$index,a=R(4);K("disabled",a.isOffline),D(2),Ie(" ",Or(3,2,n.contentType,i)," ")}}function ife(e,t){if(e&1&&(I(0,"dt"),B(1),H(2,"translate"),T(),I(3,"dd",6),Ri(4,tfe,4,5,"mat-chip",7,ba),T()),e&2){let n=R(2).$implicit,i=R();D(),we(Or(2,2,"diaryNotesPage.table.attachment",Fc(5,Xme,n.attachments.length))),D(2),K("ngClass",Fc(7,ak,!i.diaryNoteCompleted(n.status))),D(),Fi(n.attachments)}}function afe(e,t){if(e&1){let n=Ke();I(0,"button",12),ue("click",function(){ge(n);let i=R(3).$implicit,a=R();return ve(a.onDeleteNote(i))}),de(1,"mat-icon",13),T()}}function nfe(e,t){if(e&1&&(I(0,"mat-card-actions",10),re(1,afe,2,0,"button",11),H(2,"canDeleteDiarynote"),T()),e&2){let n=R(2).$implicit,i=R();D(),se(Or(2,1,n,i.userInfo)?1:-1)}}function rfe(e,t){if(e&1&&(I(0,"dl"),re(1,efe,5,0),I(2,"dt"),B(3),H(4,"translate"),T(),I(5,"dd"),B(6),H(7,"date"),T(),I(8,"dt"),B(9),H(10,"translate"),T(),I(11,"dd"),B(12),H(13,"firstLetterUppercase"),H(14,"firstLetterUppercase"),H(15,"translate"),H(16,"firstLetterUppercase"),T(),I(17,"dt"),B(18),H(19,"translate"),T(),de(20,"dd",2),H(21,"firstLetterUppercase"),re(22,ife,6,9),T(),re(23,nfe,3,4,"mat-card-actions",3)),e&2){let n=R().$implicit,i=R();D(),se((n.tags==null?null:n.tags.length)>0?1:-1),D(2),we(W(4,12,"diaryNotesPage.table.date")),D(3),we(Or(7,14,n.creation,"dd/MM/yyyy")),D(3),we(W(10,17,"diaryNotesPage.table.author")),D(2),_e("translate","no"),D(),r1(" ",W(13,19,n.author.lastName)," ",W(14,21,n.author.firstName)," (",W(16,25,W(15,23,"commons.roles."+n.author.role.toLowerCase())),") "),D(6),we(W(19,27,"diaryNotesPage.table.note")),D(2),K("ngClass",Fc(31,ak,!i.diaryNoteCompleted(n.status)))("innerHTML",W(21,29,n.content),rJ),D(2),se((n.attachments==null?null:n.attachments.length)>0?22:-1)}}function ofe(e,t){if(e&1&&(I(0,"mat-card")(1,"mat-card-content")(2,"div",0),re(3,Qme,3,4,"span",1)(4,rfe,24,33),T()()()),e&2){let n=t.$implicit;D(3),se(n!=null&&n.error?3:4)}}var sfe=(()=>{const t=class t{constructor(){this.authService=S(Er).getInstance(),this.diarynoteService=S(Is),this.dialog=S(Nr),this.destroyRef=S($i)}get isOffline(){return this.authService.isOfflineAuthenticated}diaryNoteCompleted(i){return Is.isDiaryNoteCompleted(i)}onDownloadFile(i,a){this.diarynoteService.downloadSpecificDiaryNoteAttachment(i.id,i.version,i.source,i.subject.ssin,a)}onDeleteNote(i){this.dialog.open(Zme).beforeClosed().pipe(oi(a=>a),Do(this.destroyRef)).subscribe(()=>{this.diarynoteService.deleteDiaryNote(i.id,i.version,i.source,i.subject.ssin)})}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["vidis-diarynotes-table"]],inputs:{diaryNoteDataItems:"diaryNoteDataItems",services:"services",userInfo:"userInfo"},decls:2,vars:0,consts:[[1,"content-wrapper"],[1,"error-text"],[3,"ngClass","innerHTML"],["align","end",4,"hideIfOffline"],[1,"no-colon"],[1,"mh-black","mh-no-overlay",3,"disableRipple"],[3,"ngClass"],["clickable","",3,"disabled"],["clickable","",3,"click","disabled"],["aria-hidden","true","fontIcon","insert_drive_file"],["align","end"],["mat-icon-button","","aria-label","Delete"],["mat-icon-button","","aria-label","Delete",3,"click"],["fontIcon","delete"]],template:function(i,a){i&1&&Ri(0,ofe,5,1,"mat-card",null,ba),i&2&&Fi(a.diaryNoteDataItems)},dependencies:[Js,D1,_a,Nf,Gme,Yme,Un,Io,Wme,Fpe,Kme,US,au,qS,RS],styles:['mat-card[_ngcontent-%COMP%]{margin-bottom:10px;box-sizing:border-box}.content-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}mat-card-actions[_ngcontent-%COMP%]{margin:0;padding:0;display:flex;align-items:center}.strike-through[_ngcontent-%COMP%], .strike-through[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{text-decoration:line-through!important}dl[_ngcontent-%COMP%]{display:grid;grid-template-columns:auto 1fr;column-gap:16px;row-gap:6px;align-items:center}dt[_ngcontent-%COMP%]{font-weight:700;margin:0;position:relative}dt[_ngcontent-%COMP%]:not(.no-colon):after{content:":";position:absolute;right:-8px}dd[_ngcontent-%COMP%]{margin:0}']});let e=t;return e})(),lfe=()=>[10,25,50],cfe=e=>({addNote:e}),dfe=()=>({height:"47px",margin:"0"});function ufe(e,t){e&1&&(I(0,"div"),B(1,"Component not properly initialized!"),T())}function hfe(e,t){if(e&1){let n=Ke();I(0,"div")(1,"button",4),ue("click",function(){ge(n);let i=R(3);return ve(i.onAddNote())}),I(2,"mat-icon",5),B(3,"add_circle"),T(),B(4),H(5,"translate"),T()()}if(e&2){let n=R(),i=R(2);D(),K("disabled",n.status===i.loadingStatus.LOADING),D(3),Ie(" ",W(5,2,"diaryNotesPage.table.addNote")," ")}}function pfe(e,t){if(e&1){let n=Ke();I(0,"div",1),de(1,"vidis-diarynotes-filter-block",6),I(2,"vidis-sort-dropdown",7),ue("sortDataChange",function(i){ge(n);let a=R(3);return ve(a.handleSortEvent(i))}),T()()}if(e&2){let n=R(),i=R(2);D(),K("filterOptions",n.data==null?null:n.data.availableFilters)("services",i.services)("disabled",n.status===i.loadingStatus.LOADING),D(),K("sortItems",i.sortDropdownData)("sortData",i.sortDataState())("disabled",n.status===i.loadingStatus.LOADING)}}function mfe(e,t){if(e&1&&de(0,"vidis-status-message",2),e&2){let n=R();K("error",n.error)}}function ffe(e,t){if(e&1&&de(0,"vidis-error-display",9),e&2){let n=t.$implicit;K("message",n.code)}}function gfe(e,t){if(e&1&&Ri(0,ffe,1,1,"vidis-error-display",9,ba),e&2){let n=R(2);Fi(n.data==null?null:n.data.errors)}}function vfe(e,t){if(e&1){let n=Ke();de(0,"vidis-diarynotes-table",10),I(1,"mat-paginator",11),H(2,"async"),ue("page",function(i){ge(n);let a=R(4);return ve(a.handlePageEvent(i))}),T()}if(e&2){let n=R(2),i=R(2);K("diaryNoteDataItems",n.data==null?null:n.data.items)("services",i.services)("userInfo",i.userInfo),D(),K("length",n.data==null?null:n.data.totalItems)("pageSize",W(2,8,i.paginationState$).pageSize)("pageIndex",n.data==null?null:n.data.page)("pageSizeOptions",l1(10,lfe))("disabled",(n.data==null?null:n.data.totalItems)<=0)}}function bfe(e,t){e&1&&(I(0,"h3"),B(1),H(2,"translate"),T(),I(3,"div",12)(4,"p",13),B(5),H(6,"translate"),de(7,"br"),B(8),H(9,"translate"),H(10,"translate"),T(),I(11,"p",13),B(12),H(13,"translate"),de(14,"br"),B(15),H(16,"translate"),de(17,"br"),B(18),H(19,"translate"),de(20,"br"),B(21),H(22,"translate"),T()()),e&2&&(D(),we(W(2,7,"diaryNotesPage.noDiaryNotes")),D(4),Ie(" ",W(6,9,"diaryNotesPage.noNote.part1"),""),D(3),Ie(" ",Or(10,13,"diaryNotesPage.noNote.part2",Fc(24,cfe,W(9,11,"diaryNotesPage.table.addNote")))," "),D(4),Ie(" ",W(13,16,"diaryNotesPage.noNote.part3")," :"),D(3),Ie(" ",W(16,18,"diaryNotesPage.noNote.part4"),""),D(3),Ie(" ",W(19,20,"diaryNotesPage.noNote.part5"),""),D(3),Ie(" ",W(22,22,"diaryNotesPage.noNote.part6")," "))}function yfe(e,t){if(e&1){let n=Ke();I(0,"p",8)(1,"span"),B(2),H(3,"translate"),T(),I(4,"button",14),ue("click",function(){ge(n);let i=R(4);return ve(i.clearAllFilters())}),B(5),H(6,"translate"),T()()}e&2&&(D(2),we(W(3,2,"diaryNotesPage.filters.nonefound")),D(3),Ie(" ",W(6,4,"diaryNotesPage.filters.clearfilters")," "))}function _fe(e,t){if(e&1&&(re(0,gfe,2,0)(1,vfe,3,11),H(2,"async"),re(3,bfe,23,26)(4,yfe,7,6,"p",8)),e&2){let n=R(),i=R(2);se(!(n.data==null||n.data.errors==null)&&n.data.errors.length?0:-1),D(),se((n.data==null?null:n.data.totalItems)>0?1:W(2,2,i.isFilterEmpty$)?3:4)}}function xfe(e,t){e&1&&de(0,"ngx-skeleton-loader",3),e&2&&K("count",10)("theme",l1(2,dfe))}function wfe(e,t){if(e&1&&(re(0,hfe,6,4,"div",0)(1,pfe,3,6,"div",1),H(2,"async"),re(3,mfe,1,1,"vidis-status-message",2)(4,_fe,5,4)(5,xfe,1,3,"ngx-skeleton-loader",3)),e&2){let n,i=t,a=R(2);D(),se((i.data==null?null:i.data.totalItems)>0||W(2,2,a.isFilterEmpty$)===!1?1:-1),D(2),se((n=i.status)===a.loadingStatus.ERROR?3:n===a.loadingStatus.SUCCESS?4:n===a.loadingStatus.LOADING?5:-1)}}function Sfe(e,t){if(e&1&&(re(0,wfe,6,4),H(1,"async"),I(2,"span"),B(3),H(4,"translate"),T()),e&2){let n,i=R();se((n=W(1,2,i.diarynotesState$))?0:-1,n),D(3),we(W(4,4,"diaryNotesPage.disclaimer"))}}var kfe=(()=>{const t=class t extends Nhe{constructor(){super(...arguments),this.dialog=S(Nr),this.getTotalItems=new ce,this.extraRequiredFields=["professional","ssin","offlineDataStorageEnabled","isOfflineAuthenticated","exchangeClientId"],this.loadingStatus=Fn,this.sortDropdownData=["date","author","role"]}fetchData(i){return _t(this,null,function*(){return this.diarynoteService.setClientId(this.exchangeClientId),this.diarynoteService.fetchDiarynotes(i)})}onAddNote(){this.dialog.open(Rpe).beforeClosed().pipe(oi(i=>i),Do(this.destroyRef)).subscribe(i=>{this.diarynoteService.postDiarynote(i.text,i.file)})}clearAllFilters(){this.diarynoteService.clearFilter()}handlePageEvent(i){let a={page:i.pageIndex,pageSize:i.pageSize};this.diarynoteService.updatePagination(a)}handleSortEvent(i){this.diarynoteService.updateSorting(i)}injectService(){this.authServiceSelector.getInstance().resolveUserInfo().then(i=>{this.userInfo=i}).catch(i=>console.error("Failed to load user info",i)),this.diarynoteService=this.injector.get(Is),this.diarynotesState$=this.diarynoteService.diarynotesState$,this.paginationState$=this.diarynoteService.paginationState$,vd(this.injector,()=>{this.sortDataState=Dre(this.diarynoteService.sortState$)}),this.isFilterEmpty$=this.diarynoteService.filterState$.pipe(It(i=>!i.dateRange.from&&!i.dateRange.until&&!i.author&&!i.role&&(!i.tags||i.tags.length===0))),this.diarynoteService.diarynotesState$.pipe(It(i=>{var a;return((a=i==null?void 0:i.data)==null?void 0:a.totalItems)??0})).subscribe(i=>this.getTotalItems.emit(i)),this.diarynotesState$.subscribe(i=>{this.checkError(i.error)})}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Qt(t)))(a||t)}})(),t.ɵcmp=Ce({type:t,selectors:[["ng-component"]],inputs:{exchangeClientId:"exchangeClientId"},outputs:{getTotalItems:"getTotalItems"},features:[_i([Is,jS,BS,vpe]),Ft],decls:2,vars:1,consts:[[4,"hideIfOffline"],[1,"filter-container"],[3,"error"],[3,"count","theme"],["mat-button","","color","primary",3,"click","disabled"],[1,"mr-2"],[3,"filterOptions","services","disabled"],[3,"sortDataChange","sortItems","sortData","disabled"],[1,"text-center"],[3,"message"],[3,"diaryNoteDataItems","services","userInfo"],["showFirstLastButtons","",3,"page","length","pageSize","pageIndex","pageSizeOptions","disabled"],[1,"no-diary-notes__content"],[1,"description"],["mat-button","",3,"click"]],template:function(i,a){i&1&&re(0,ufe,2,0,"div")(1,Sfe,5,6),i&2&&se(a.isCorrectlySetup()?1:0)},dependencies:[Sce,xa,Un,sfe,$me,Fhe,lpe,spe,_a,C1,ipe,kce,RS],styles:["@media only screen and (min-width: 960px){.filter-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}div[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end}}.text-center[_ngcontent-%COMP%]{text-align:center}.no-diary-notes[_ngcontent-%COMP%]{background:#fff;padding:40px;border-radius:8px;position:relative}.no-diary-notes__content[_ngcontent-%COMP%]{margin-top:30px;border-left:8px solid #2473db;padding-left:30px}.no-diary-notes__content[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{max-width:50%}"]});let e=t;return e})(),nk={};Ae(nk,{default:()=>Efe,friday:()=>ck,monday:()=>rk,saturday:()=>dk,sunday:()=>uk,thursday:()=>lk,tuesday:()=>ok,wednesday:()=>sk});var rk="Montag",ok="Dienstag",sk="Mittwoch",lk="Donnerstag",ck="Freitag",dk="Samstag",uk="Sonntag",Efe={monday:rk,tuesday:ok,wednesday:sk,thursday:lk,friday:ck,saturday:dk,sunday:uk},hk={};Ae(hk,{default:()=>Cfe,friday:()=>vk,monday:()=>pk,saturday:()=>bk,sunday:()=>yk,thursday:()=>gk,tuesday:()=>mk,wednesday:()=>fk});var pk="Monday",mk="Tuesday",fk="Wednesday",gk="Thursday",vk="Friday",bk="Saturday",yk="Sunday",Cfe={monday:pk,tuesday:mk,wednesday:fk,thursday:gk,friday:vk,saturday:bk,sunday:yk},_k={};Ae(_k,{default:()=>Dfe,friday:()=>Ek,monday:()=>xk,saturday:()=>Ck,sunday:()=>Dk,thursday:()=>kk,tuesday:()=>wk,wednesday:()=>Sk});var xk="Lundi",wk="Mardi",Sk="Mercredi",kk="Jeudi",Ek="Vendredi",Ck="Samedi",Dk="Dimanche",Dfe={monday:xk,tuesday:wk,wednesday:Sk,thursday:kk,friday:Ek,saturday:Ck,sunday:Dk},Ik={};Ae(Ik,{default:()=>Ife,friday:()=>Mk,monday:()=>Ak,saturday:()=>Pk,sunday:()=>Rk,thursday:()=>Nk,tuesday:()=>Ok,wednesday:()=>Tk});var Ak="Maandag",Ok="Dinsdag",Tk="Woensdag",Nk="Donderdag",Mk="Vrijdag",Pk="Zaterdag",Rk="Zondag",Ife={monday:Ak,tuesday:Ok,wednesday:Tk,thursday:Nk,friday:Mk,saturday:Pk,sunday:Rk},Afe={nl:Ik,fr:_k,de:nk,en:hk},Fk={};Ae(Fk,{VIDIS_0035:()=>Lk,VIDIS_0050:()=>Vk,VIDIS_0090:()=>zk,VIDIS_0100:()=>fE,VIDIS_0110:()=>vE,VIDIS_0120:()=>gE,VIDIS_0121:()=>jk,VIDIS_0122:()=>Bk,VIDIS_0123:()=>Hk,VIDIS_0124:()=>$k,VIDIS_0125:()=>qk,VIDIS_0126:()=>Uk,VIDIS_0131:()=>Gk,VIDIS_0132:()=>Yk,VIDIS_0133:()=>Wk,VIDIS_0134:()=>Kk,VIDIS_0135:()=>Zk,VIDIS_0136:()=>Xk,VIDIS_0190:()=>Qk,VIDIS_0200:()=>bE,VIDIS_0210:()=>Jk,VIDIS_0211:()=>eE,VIDIS_0230:()=>tE,VIDIS_0290:()=>iE,VIDIS_0330:()=>aE,VIDIS_0340:()=>yE,VIDIS_0341:()=>_E,VIDIS_0400:()=>pE,VIDIS_04001:()=>xE,VIDIS_0435:()=>nE,VIDIS_0440:()=>rE,VIDIS_3030:()=>mE,VIDIS_3090:()=>cE,VIDIS_3100:()=>uE,VIDIS_3120:()=>hE,VIDIS_3140:()=>dE,VIDIS_3150:()=>lE,VIDIS_5000:()=>oE,VIDIS_7000:()=>sE,"action-not-authorized-close-button":()=>HE,"action-not-authorized-title":()=>BE,"data-not-available-title":()=>jE,default:()=>Ofe,general:()=>SE,"has-hidden-prescriptions":()=>TE,invalid_date_format:()=>IE,myHealth:()=>EE,myHealthUrl:()=>CE,network_error:()=>DE,"no-access":()=>kE,prescriptionList:()=>wE,"report-message-confirm-toast":()=>zE,"report-message-content":()=>PE,"report-message-explanation":()=>ME,"report-message-ignore-button":()=>VE,"report-message-link":()=>FE,"report-message-report-button":()=>LE,"report-message-term-use":()=>RE,"report-message-title":()=>NE,"status-message-content":()=>OE,"status-message-title":()=>AE});var Lk="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0035)",Vk="Die Patienten-INSS fehlt. (VIDIS_0050)",zk="Die angegebenen persönlichen Daten wurden nicht erkannt. (VIDIS_0090)",jk="Die Einsichtnahme in die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",Bk="Die Einsichtnahme in die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",Hk="Die Einsichtnahme in die Daten eines Brüsseler Kinder von einem Elternteil ist derzeit nicht erlaubt.",$k="Die Einsichtnahme in die Daten eines wallonischen Kinder von einem Elternteil ist derzeit nicht erlaubt.",qk="Die Einsichtnahme in die Daten eines Brüsseler Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",Uk="Die Einsichtnahme in die Daten eines wallonischen Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",Gk="Der Zugriff auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",Yk="Der Zugriff auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",Wk="Der Zugriff eines Elternteils auf die Daten eines Brüsseler Kindes ist derzeit nicht erlaubt.",Kk="Der Zugriff eines Elternteils auf die Daten eines wallonischen Kindes ist derzeit nicht erlaubt.",Zk="Der Zugriff eines Bevollmächtigten auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",Xk="Der Zugriff eines Bevollmächtigten auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",Qk="Ungültige INSS-Patientennummer. (VIDIS_0190)",Jk="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0210)",eE="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0211)",tE="Der Vorgang ist ungültig (VIDIS_0230)",iE='Die Benutzerrolle muss "Bürger" sein. (VIDIS_0290)',aE="Ihre Authentifizierungsstufe erlaubt keinen Zugriff auf diese Seite. Bitte melden Sie sich mit einem anderen Authentifizierungsmittel an (itsme, eID oder mit einem per E-Mail oder App verschickten Sicherheitscode). (VIDIS_0330)",nE="Die Speicherregion für den Medikamentenplan kann nicht bestimmt werden. (VIDIS_0435)",rE="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0440)",oE="Leider konnten wir Ihre Daten nicht abrufen. Versuchen Sie es bitte noch einmal? (VIDIS_5000)",sE="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_7000)",lE="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",cE="Das Rezept ist abgelaufen.",dE="Reservierungen müssen bei derselben Apotheke erfolgen wie die, bei der das Visi-Flag gesetzt wurde. Sie können das Visi-Flag auch offen lassen.",uE="Das Visi-Flag muss auf dieselbe Apotheke gesetzt sein, bei der Sie reserviert haben.",hE="Der Patient in der Sitzung ist nicht derselbe wie der Patient in der Anfrage.",pE="Der Benutzer ist nicht berechtigt, die Anfrage zu stellen.",mE="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",fE="Vorgang nicht erlaubt.",gE="Es besteht keine therapeutische Beziehung zwischen Anfragendem und Patient.",vE="Keine Zustimmung zur Weitergabe von Gesundheitsdaten.",bE="Der Benutzer darf die Bearbeitung nicht vornehmen, da Antragsteller und Patient sich ausschließen.",yE="Sie sind nicht berechtigt, die Daten dieses Patienten abzurufen, da Ihr Visum nicht aktiv ist. Bitte wenden Sie sich per E-Mail unter visa@health.belgium.be an den FÖD Gesundheit.",_E="Sie sind nicht berechtigt, die Daten dieses Patienten abzurufen, entweder weil Ihr Visum nicht aktiv ist, bitte wenden Sie sich in diesem Fall per E-Mail an den FÖD Gesundheit unter visa@health.belgium.be, oder weil die LIKIV-Nummer der Apotheke ungültig ist, bitte kontaktieren Sie in diesem Fall das LIKIV per E-Mail unter dossierpharma@riziv-inami.fgov.be.",xE="Ihre Anfrage ist ungültig. Bitte versuchen Sie es später erneut.",wE="Leider war es nicht möglich, die Details der Verschreibung abzurufen. Versuchen Sie es erneut?",SE="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",kE="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",EE="Zurück zum Portal Meine Gesundheit",CE="https://wwwint.meinegesundheit.belgien.be/#/",DE="Es ist leider ein Netzwerkfehler aufgetreten. Bitte wenden Sie sich an Ihren Netzwerkadministrator, wenn das Problem weiterhin besteht.",IE="Ungültiges Datumsformat.",AE="Dienst vorübergehend nicht verfügbar",OE=`Wir haben derzeit ein Problem mit der Verbindung zum Server.
54
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})(),Yme=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]}));let e=t;return e})(),Wme=(()=>{const t=class t{constructor(){o(this,"align","start")}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(i,a){i&2&&We("mat-mdc-card-actions-align-end",a.align==="end")},inputs:{align:"align"},exportAs:["matCardActions"]}));let e=t;return e})(),Kme=(()=>{const t=class t{constructor(){this.rolesMapData={patient:"patient",physician:"persphysician",midwife:"persmidwife",nurse:"persnurse",dentist:"persdentist",pharmacist:"perspharmacist"}}transform(i,a){return this.diaryNote!==i&&(this.diaryNote=i,this.user=a,this.setCanDelete()),this.canDelete}setCanDelete(){this.canDelete=this.diaryNote&&this.user?this.canDeleteDiaryNote(this.diaryNote):!1}canDeleteDiaryNote(i){var r,s,l,c,d,u,p,v,g;let a=this.user.organization?(r=this.user.organization[this.getOrganizationType(this.user.organization)])==null?void 0:r.nihii:void 0;return((s=i==null?void 0:i.source)==null?void 0:s.toLowerCase())==="vitalink"&&(i==null?void 0:i.status)==="completed"&&this.equalsCheck((l=i==null?void 0:i.author)==null?void 0:l.role,this.mapRole(this.user.role))&&(this.equalsCheck((c=i==null?void 0:i.author)==null?void 0:c.ssin,(d=this.user)==null?void 0:d.ssin)||this.equalsCheck((u=i==null?void 0:i.author)==null?void 0:u.nihdi,(p=this.user.professional)==null?void 0:p.nihii11)||this.equalsCheck((g=(v=i==null?void 0:i.author)==null?void 0:v.organization)==null?void 0:g.nihdi,a))}mapRole(i){return this.rolesMapData[i]||"patient"}equalsCheck(i,a){return i===a&&!!i}getOrganizationType(i){let a=["pharmacy"],r=null;return a.forEach(s=>{i[s]&&(r=s)}),r}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=Co({name:"canDeleteDiarynote",type:t,pure:!0});let e=t;return e})(),Zme=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["ng-component"]],decls:14,vars:14,consts:[["mat-dialog-title",""],["mat-button","","type","button",3,"mat-dialog-close"],["mat-flat-button","","type","button",3,"mat-dialog-close"]],template:function(i,a){i&1&&(I(0,"h2",0),B(1),H(2,"translate"),T(),I(3,"mat-dialog-content")(4,"p"),B(5),H(6,"translate"),T()(),I(7,"mat-dialog-actions")(8,"button",1),B(9),H(10,"translate"),T(),I(11,"button",2),B(12),H(13,"translate"),T()()),i&2&&(D(),we(W(2,6,"diaryNotesPage.delete-dialog.title")),D(4),we(W(6,8,"diaryNotesPage.delete-dialog.message")),D(3),K("mat-dialog-close",!1),D(),Ie(" ",W(10,10,"diaryNotesPage.delete-dialog.cancel")," "),D(2),K("mat-dialog-close",!0),D(),Ie(" ",W(13,12,"diaryNotesPage.delete-dialog.confirm")," "))},dependencies:[cl,dl,_a,xa,sl,ll],encapsulation:2});let e=t;return e})(),ak=e=>({"strike-through":e}),Xme=e=>({count:e});function Qme(e,t){if(e&1&&(I(0,"span",1),B(1),H(2,"translate"),T()),e&2){let n=R().$implicit;D(),Sr("",W(2,2,"diaryNotesPage.table.error")," ( ",n.id," )")}}function Jme(e,t){if(e&1&&(I(0,"mat-chip",5),B(1),H(2,"translate"),T()),e&2){let n=t.$implicit;K("disableRipple",!0),D(),Ie(" ",W(2,2,"commons.tags."+n)," ")}}function efe(e,t){if(e&1&&(de(0,"dt",4),I(1,"dd")(2,"mat-chip-set"),Ri(3,Jme,3,4,"mat-chip",5,ba),T()()),e&2){let n=R(2).$implicit;D(3),Fi(n.tags)}}function tfe(e,t){if(e&1){let n=Ke();I(0,"mat-chip",8),ue("click",function(){let i=ge(n).$index,a=R(3).$implicit,r=R();return ve(r.onDownloadFile(a,i))}),de(1,"mat-icon",9),B(2),H(3,"attachementFilename"),T()}if(e&2){let n=t.$implicit,i=t.$index,a=R(4);K("disabled",a.isOffline),D(2),Ie(" ",Or(3,2,n.contentType,i)," ")}}function ife(e,t){if(e&1&&(I(0,"dt"),B(1),H(2,"translate"),T(),I(3,"dd",6),Ri(4,tfe,4,5,"mat-chip",7,ba),T()),e&2){let n=R(2).$implicit,i=R();D(),we(Or(2,2,"diaryNotesPage.table.attachment",Fc(5,Xme,n.attachments.length))),D(2),K("ngClass",Fc(7,ak,!i.diaryNoteCompleted(n.status))),D(),Fi(n.attachments)}}function afe(e,t){if(e&1){let n=Ke();I(0,"button",12),ue("click",function(){ge(n);let i=R(3).$implicit,a=R();return ve(a.onDeleteNote(i))}),de(1,"mat-icon",13),T()}}function nfe(e,t){if(e&1&&(I(0,"mat-card-actions",10),re(1,afe,2,0,"button",11),H(2,"canDeleteDiarynote"),T()),e&2){let n=R(2).$implicit,i=R();D(),se(Or(2,1,n,i.userInfo)?1:-1)}}function rfe(e,t){if(e&1&&(I(0,"dl"),re(1,efe,5,0),I(2,"dt"),B(3),H(4,"translate"),T(),I(5,"dd"),B(6),H(7,"date"),T(),I(8,"dt"),B(9),H(10,"translate"),T(),I(11,"dd"),B(12),H(13,"firstLetterUppercase"),H(14,"firstLetterUppercase"),H(15,"translate"),H(16,"firstLetterUppercase"),T(),I(17,"dt"),B(18),H(19,"translate"),T(),de(20,"dd",2),H(21,"firstLetterUppercase"),re(22,ife,6,9),T(),re(23,nfe,3,4,"mat-card-actions",3)),e&2){let n=R().$implicit,i=R();D(),se((n.tags==null?null:n.tags.length)>0?1:-1),D(2),we(W(4,12,"diaryNotesPage.table.date")),D(3),we(Or(7,14,n.creation,"dd/MM/yyyy, HH:mm")),D(3),we(W(10,17,"diaryNotesPage.table.author")),D(2),_e("translate","no"),D(),r1(" ",W(13,19,n.author.lastName)," ",W(14,21,n.author.firstName)," (",W(16,25,W(15,23,"commons.roles."+n.author.role.toLowerCase())),") "),D(6),we(W(19,27,"diaryNotesPage.table.note")),D(2),K("ngClass",Fc(31,ak,!i.diaryNoteCompleted(n.status)))("innerHTML",W(21,29,n.content),rJ),D(2),se((n.attachments==null?null:n.attachments.length)>0?22:-1)}}function ofe(e,t){if(e&1&&(I(0,"mat-card")(1,"mat-card-content")(2,"div",0),re(3,Qme,3,4,"span",1)(4,rfe,24,33),T()()()),e&2){let n=t.$implicit;D(3),se(n!=null&&n.error?3:4)}}var sfe=(()=>{const t=class t{constructor(){this.authService=S(Er).getInstance(),this.diarynoteService=S(Is),this.dialog=S(Nr),this.destroyRef=S($i)}get isOffline(){return this.authService.isOfflineAuthenticated}diaryNoteCompleted(i){return Is.isDiaryNoteCompleted(i)}onDownloadFile(i,a){this.diarynoteService.downloadSpecificDiaryNoteAttachment(i.id,i.version,i.source,i.subject.ssin,a)}onDeleteNote(i){this.dialog.open(Zme).beforeClosed().pipe(oi(a=>a),Do(this.destroyRef)).subscribe(()=>{this.diarynoteService.deleteDiaryNote(i.id,i.version,i.source,i.subject.ssin)})}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["vidis-diarynotes-table"]],inputs:{diaryNoteDataItems:"diaryNoteDataItems",services:"services",userInfo:"userInfo"},decls:2,vars:0,consts:[[1,"content-wrapper"],[1,"error-text"],[3,"ngClass","innerHTML"],["align","end",4,"hideIfOffline"],[1,"no-colon"],[1,"mh-black","mh-no-overlay",3,"disableRipple"],[3,"ngClass"],["clickable","",3,"disabled"],["clickable","",3,"click","disabled"],["aria-hidden","true","fontIcon","insert_drive_file"],["align","end"],["mat-icon-button","","aria-label","Delete"],["mat-icon-button","","aria-label","Delete",3,"click"],["fontIcon","delete"]],template:function(i,a){i&1&&Ri(0,ofe,5,1,"mat-card",null,ba),i&2&&Fi(a.diaryNoteDataItems)},dependencies:[Js,D1,_a,Nf,Gme,Yme,Un,Io,Wme,Fpe,Kme,US,au,qS,RS],styles:['mat-card[_ngcontent-%COMP%]{margin-bottom:10px;box-sizing:border-box}.content-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}mat-card-actions[_ngcontent-%COMP%]{margin:0;padding:0;display:flex;align-items:center}.strike-through[_ngcontent-%COMP%], .strike-through[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{text-decoration:line-through!important}dl[_ngcontent-%COMP%]{display:grid;grid-template-columns:auto 1fr;column-gap:16px;row-gap:6px;align-items:center}dt[_ngcontent-%COMP%]{font-weight:700;margin:0;position:relative}dt[_ngcontent-%COMP%]:not(.no-colon):after{content:":";position:absolute;right:-8px}dd[_ngcontent-%COMP%]{margin:0}']});let e=t;return e})(),lfe=()=>[10,25,50],cfe=e=>({addNote:e}),dfe=()=>({height:"47px",margin:"0"});function ufe(e,t){e&1&&(I(0,"div"),B(1,"Component not properly initialized!"),T())}function hfe(e,t){if(e&1){let n=Ke();I(0,"div")(1,"button",4),ue("click",function(){ge(n);let i=R(3);return ve(i.onAddNote())}),I(2,"mat-icon",5),B(3,"add_circle"),T(),B(4),H(5,"translate"),T()()}if(e&2){let n=R(),i=R(2);D(),K("disabled",n.status===i.loadingStatus.LOADING),D(3),Ie(" ",W(5,2,"diaryNotesPage.table.addNote")," ")}}function pfe(e,t){if(e&1){let n=Ke();I(0,"div",1),de(1,"vidis-diarynotes-filter-block",6),I(2,"vidis-sort-dropdown",7),ue("sortDataChange",function(i){ge(n);let a=R(3);return ve(a.handleSortEvent(i))}),T()()}if(e&2){let n=R(),i=R(2);D(),K("filterOptions",n.data==null?null:n.data.availableFilters)("services",i.services)("disabled",n.status===i.loadingStatus.LOADING),D(),K("sortItems",i.sortDropdownData)("sortData",i.sortDataState())("disabled",n.status===i.loadingStatus.LOADING)}}function mfe(e,t){if(e&1&&de(0,"vidis-status-message",2),e&2){let n=R();K("error",n.error)}}function ffe(e,t){if(e&1&&de(0,"vidis-error-display",9),e&2){let n=t.$implicit;K("message",n.code)}}function gfe(e,t){if(e&1&&Ri(0,ffe,1,1,"vidis-error-display",9,ba),e&2){let n=R(2);Fi(n.data==null?null:n.data.errors)}}function vfe(e,t){if(e&1){let n=Ke();de(0,"vidis-diarynotes-table",10),I(1,"mat-paginator",11),H(2,"async"),ue("page",function(i){ge(n);let a=R(4);return ve(a.handlePageEvent(i))}),T()}if(e&2){let n=R(2),i=R(2);K("diaryNoteDataItems",n.data==null?null:n.data.items)("services",i.services)("userInfo",i.userInfo),D(),K("length",n.data==null?null:n.data.totalItems)("pageSize",W(2,8,i.paginationState$).pageSize)("pageIndex",n.data==null?null:n.data.page)("pageSizeOptions",l1(10,lfe))("disabled",(n.data==null?null:n.data.totalItems)<=0)}}function bfe(e,t){e&1&&(I(0,"h3"),B(1),H(2,"translate"),T(),I(3,"div",12)(4,"p",13),B(5),H(6,"translate"),de(7,"br"),B(8),H(9,"translate"),H(10,"translate"),T(),I(11,"p",13),B(12),H(13,"translate"),de(14,"br"),B(15),H(16,"translate"),de(17,"br"),B(18),H(19,"translate"),de(20,"br"),B(21),H(22,"translate"),T()()),e&2&&(D(),we(W(2,7,"diaryNotesPage.noDiaryNotes")),D(4),Ie(" ",W(6,9,"diaryNotesPage.noNote.part1"),""),D(3),Ie(" ",Or(10,13,"diaryNotesPage.noNote.part2",Fc(24,cfe,W(9,11,"diaryNotesPage.table.addNote")))," "),D(4),Ie(" ",W(13,16,"diaryNotesPage.noNote.part3")," :"),D(3),Ie(" ",W(16,18,"diaryNotesPage.noNote.part4"),""),D(3),Ie(" ",W(19,20,"diaryNotesPage.noNote.part5"),""),D(3),Ie(" ",W(22,22,"diaryNotesPage.noNote.part6")," "))}function yfe(e,t){if(e&1){let n=Ke();I(0,"p",8)(1,"span"),B(2),H(3,"translate"),T(),I(4,"button",14),ue("click",function(){ge(n);let i=R(4);return ve(i.clearAllFilters())}),B(5),H(6,"translate"),T()()}e&2&&(D(2),we(W(3,2,"diaryNotesPage.filters.nonefound")),D(3),Ie(" ",W(6,4,"diaryNotesPage.filters.clearfilters")," "))}function _fe(e,t){if(e&1&&(re(0,gfe,2,0)(1,vfe,3,11),H(2,"async"),re(3,bfe,23,26)(4,yfe,7,6,"p",8)),e&2){let n=R(),i=R(2);se(!(n.data==null||n.data.errors==null)&&n.data.errors.length?0:-1),D(),se((n.data==null?null:n.data.totalItems)>0?1:W(2,2,i.isFilterEmpty$)?3:4)}}function xfe(e,t){e&1&&de(0,"ngx-skeleton-loader",3),e&2&&K("count",10)("theme",l1(2,dfe))}function wfe(e,t){if(e&1&&(re(0,hfe,6,4,"div",0)(1,pfe,3,6,"div",1),H(2,"async"),re(3,mfe,1,1,"vidis-status-message",2)(4,_fe,5,4)(5,xfe,1,3,"ngx-skeleton-loader",3)),e&2){let n,i=t,a=R(2);D(),se((i.data==null?null:i.data.totalItems)>0||W(2,2,a.isFilterEmpty$)===!1?1:-1),D(2),se((n=i.status)===a.loadingStatus.ERROR?3:n===a.loadingStatus.SUCCESS?4:n===a.loadingStatus.LOADING?5:-1)}}function Sfe(e,t){if(e&1&&(re(0,wfe,6,4),H(1,"async"),I(2,"span"),B(3),H(4,"translate"),T()),e&2){let n,i=R();se((n=W(1,2,i.diarynotesState$))?0:-1,n),D(3),we(W(4,4,"diaryNotesPage.disclaimer"))}}var kfe=(()=>{const t=class t extends Nhe{constructor(){super(...arguments),this.dialog=S(Nr),this.getTotalItems=new ce,this.extraRequiredFields=["professional","ssin","offlineDataStorageEnabled","isOfflineAuthenticated","exchangeClientId"],this.loadingStatus=Fn,this.sortDropdownData=["date","author","role"]}fetchData(i){return _t(this,null,function*(){return this.diarynoteService.setClientId(this.exchangeClientId),this.diarynoteService.fetchDiarynotes(i)})}onAddNote(){this.dialog.open(Rpe).beforeClosed().pipe(oi(i=>i),Do(this.destroyRef)).subscribe(i=>{this.diarynoteService.postDiarynote(i.text,i.file)})}clearAllFilters(){this.diarynoteService.clearFilter()}handlePageEvent(i){let a={page:i.pageIndex,pageSize:i.pageSize};this.diarynoteService.updatePagination(a)}handleSortEvent(i){this.diarynoteService.updateSorting(i)}injectService(){this.authServiceSelector.getInstance().resolveUserInfo().then(i=>{this.userInfo=i}).catch(i=>console.error("Failed to load user info",i)),this.diarynoteService=this.injector.get(Is),this.diarynotesState$=this.diarynoteService.diarynotesState$,this.paginationState$=this.diarynoteService.paginationState$,vd(this.injector,()=>{this.sortDataState=Dre(this.diarynoteService.sortState$)}),this.isFilterEmpty$=this.diarynoteService.filterState$.pipe(It(i=>!i.dateRange.from&&!i.dateRange.until&&!i.author&&!i.role&&(!i.tags||i.tags.length===0))),this.diarynoteService.diarynotesState$.pipe(It(i=>{var a;return((a=i==null?void 0:i.data)==null?void 0:a.totalItems)??0})).subscribe(i=>this.getTotalItems.emit(i)),this.diarynotesState$.subscribe(i=>{this.checkError(i.error)})}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Qt(t)))(a||t)}})(),t.ɵcmp=Ce({type:t,selectors:[["ng-component"]],inputs:{exchangeClientId:"exchangeClientId"},outputs:{getTotalItems:"getTotalItems"},features:[_i([Is,jS,BS,vpe]),Ft],decls:2,vars:1,consts:[[4,"hideIfOffline"],[1,"filter-container"],[3,"error"],[3,"count","theme"],["mat-button","","color","primary",3,"click","disabled"],[1,"mr-2"],[3,"filterOptions","services","disabled"],[3,"sortDataChange","sortItems","sortData","disabled"],[1,"text-center"],[3,"message"],[3,"diaryNoteDataItems","services","userInfo"],["showFirstLastButtons","",3,"page","length","pageSize","pageIndex","pageSizeOptions","disabled"],[1,"no-diary-notes__content"],[1,"description"],["mat-button","",3,"click"]],template:function(i,a){i&1&&re(0,ufe,2,0,"div")(1,Sfe,5,6),i&2&&se(a.isCorrectlySetup()?1:0)},dependencies:[Sce,xa,Un,sfe,$me,Fhe,lpe,spe,_a,C1,ipe,kce,RS],styles:["@media only screen and (min-width: 960px){.filter-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}div[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end}}.text-center[_ngcontent-%COMP%]{text-align:center}.no-diary-notes[_ngcontent-%COMP%]{background:#fff;padding:40px;border-radius:8px;position:relative}.no-diary-notes__content[_ngcontent-%COMP%]{margin-top:30px;border-left:8px solid #2473db;padding-left:30px}.no-diary-notes__content[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{max-width:50%}"]});let e=t;return e})(),nk={};Ae(nk,{default:()=>Efe,friday:()=>ck,monday:()=>rk,saturday:()=>dk,sunday:()=>uk,thursday:()=>lk,tuesday:()=>ok,wednesday:()=>sk});var rk="Montag",ok="Dienstag",sk="Mittwoch",lk="Donnerstag",ck="Freitag",dk="Samstag",uk="Sonntag",Efe={monday:rk,tuesday:ok,wednesday:sk,thursday:lk,friday:ck,saturday:dk,sunday:uk},hk={};Ae(hk,{default:()=>Cfe,friday:()=>vk,monday:()=>pk,saturday:()=>bk,sunday:()=>yk,thursday:()=>gk,tuesday:()=>mk,wednesday:()=>fk});var pk="Monday",mk="Tuesday",fk="Wednesday",gk="Thursday",vk="Friday",bk="Saturday",yk="Sunday",Cfe={monday:pk,tuesday:mk,wednesday:fk,thursday:gk,friday:vk,saturday:bk,sunday:yk},_k={};Ae(_k,{default:()=>Dfe,friday:()=>Ek,monday:()=>xk,saturday:()=>Ck,sunday:()=>Dk,thursday:()=>kk,tuesday:()=>wk,wednesday:()=>Sk});var xk="Lundi",wk="Mardi",Sk="Mercredi",kk="Jeudi",Ek="Vendredi",Ck="Samedi",Dk="Dimanche",Dfe={monday:xk,tuesday:wk,wednesday:Sk,thursday:kk,friday:Ek,saturday:Ck,sunday:Dk},Ik={};Ae(Ik,{default:()=>Ife,friday:()=>Mk,monday:()=>Ak,saturday:()=>Pk,sunday:()=>Rk,thursday:()=>Nk,tuesday:()=>Ok,wednesday:()=>Tk});var Ak="Maandag",Ok="Dinsdag",Tk="Woensdag",Nk="Donderdag",Mk="Vrijdag",Pk="Zaterdag",Rk="Zondag",Ife={monday:Ak,tuesday:Ok,wednesday:Tk,thursday:Nk,friday:Mk,saturday:Pk,sunday:Rk},Afe={nl:Ik,fr:_k,de:nk,en:hk},Fk={};Ae(Fk,{VIDIS_0035:()=>Lk,VIDIS_0050:()=>Vk,VIDIS_0090:()=>zk,VIDIS_0100:()=>fE,VIDIS_0110:()=>vE,VIDIS_0120:()=>gE,VIDIS_0121:()=>jk,VIDIS_0122:()=>Bk,VIDIS_0123:()=>Hk,VIDIS_0124:()=>$k,VIDIS_0125:()=>qk,VIDIS_0126:()=>Uk,VIDIS_0131:()=>Gk,VIDIS_0132:()=>Yk,VIDIS_0133:()=>Wk,VIDIS_0134:()=>Kk,VIDIS_0135:()=>Zk,VIDIS_0136:()=>Xk,VIDIS_0190:()=>Qk,VIDIS_0200:()=>bE,VIDIS_0210:()=>Jk,VIDIS_0211:()=>eE,VIDIS_0230:()=>tE,VIDIS_0290:()=>iE,VIDIS_0330:()=>aE,VIDIS_0340:()=>yE,VIDIS_0341:()=>_E,VIDIS_0400:()=>pE,VIDIS_04001:()=>xE,VIDIS_0435:()=>nE,VIDIS_0440:()=>rE,VIDIS_3030:()=>mE,VIDIS_3090:()=>cE,VIDIS_3100:()=>uE,VIDIS_3120:()=>hE,VIDIS_3140:()=>dE,VIDIS_3150:()=>lE,VIDIS_5000:()=>oE,VIDIS_7000:()=>sE,"action-not-authorized-close-button":()=>HE,"action-not-authorized-title":()=>BE,"data-not-available-title":()=>jE,default:()=>Ofe,general:()=>SE,"has-hidden-prescriptions":()=>TE,invalid_date_format:()=>IE,myHealth:()=>EE,myHealthUrl:()=>CE,network_error:()=>DE,"no-access":()=>kE,prescriptionList:()=>wE,"report-message-confirm-toast":()=>zE,"report-message-content":()=>PE,"report-message-explanation":()=>ME,"report-message-ignore-button":()=>VE,"report-message-link":()=>FE,"report-message-report-button":()=>LE,"report-message-term-use":()=>RE,"report-message-title":()=>NE,"status-message-content":()=>OE,"status-message-title":()=>AE});var Lk="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0035)",Vk="Die Patienten-INSS fehlt. (VIDIS_0050)",zk="Die angegebenen persönlichen Daten wurden nicht erkannt. (VIDIS_0090)",jk="Die Einsichtnahme in die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",Bk="Die Einsichtnahme in die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",Hk="Die Einsichtnahme in die Daten eines Brüsseler Kinder von einem Elternteil ist derzeit nicht erlaubt.",$k="Die Einsichtnahme in die Daten eines wallonischen Kinder von einem Elternteil ist derzeit nicht erlaubt.",qk="Die Einsichtnahme in die Daten eines Brüsseler Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",Uk="Die Einsichtnahme in die Daten eines wallonischen Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",Gk="Der Zugriff auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",Yk="Der Zugriff auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",Wk="Der Zugriff eines Elternteils auf die Daten eines Brüsseler Kindes ist derzeit nicht erlaubt.",Kk="Der Zugriff eines Elternteils auf die Daten eines wallonischen Kindes ist derzeit nicht erlaubt.",Zk="Der Zugriff eines Bevollmächtigten auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",Xk="Der Zugriff eines Bevollmächtigten auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",Qk="Ungültige INSS-Patientennummer. (VIDIS_0190)",Jk="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0210)",eE="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0211)",tE="Der Vorgang ist ungültig (VIDIS_0230)",iE='Die Benutzerrolle muss "Bürger" sein. (VIDIS_0290)',aE="Ihre Authentifizierungsstufe erlaubt keinen Zugriff auf diese Seite. Bitte melden Sie sich mit einem anderen Authentifizierungsmittel an (itsme, eID oder mit einem per E-Mail oder App verschickten Sicherheitscode). (VIDIS_0330)",nE="Die Speicherregion für den Medikamentenplan kann nicht bestimmt werden. (VIDIS_0435)",rE="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0440)",oE="Leider konnten wir Ihre Daten nicht abrufen. Versuchen Sie es bitte noch einmal? (VIDIS_5000)",sE="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_7000)",lE="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",cE="Das Rezept ist abgelaufen.",dE="Reservierungen müssen bei derselben Apotheke erfolgen wie die, bei der das Visi-Flag gesetzt wurde. Sie können das Visi-Flag auch offen lassen.",uE="Das Visi-Flag muss auf dieselbe Apotheke gesetzt sein, bei der Sie reserviert haben.",hE="Der Patient in der Sitzung ist nicht derselbe wie der Patient in der Anfrage.",pE="Der Benutzer ist nicht berechtigt, die Anfrage zu stellen.",mE="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",fE="Vorgang nicht erlaubt.",gE="Es besteht keine therapeutische Beziehung zwischen Anfragendem und Patient.",vE="Keine Zustimmung zur Weitergabe von Gesundheitsdaten.",bE="Der Benutzer darf die Bearbeitung nicht vornehmen, da Antragsteller und Patient sich ausschließen.",yE="Sie sind nicht berechtigt, die Daten dieses Patienten abzurufen, da Ihr Visum nicht aktiv ist. Bitte wenden Sie sich per E-Mail unter visa@health.belgium.be an den FÖD Gesundheit.",_E="Sie sind nicht berechtigt, die Daten dieses Patienten abzurufen, entweder weil Ihr Visum nicht aktiv ist, bitte wenden Sie sich in diesem Fall per E-Mail an den FÖD Gesundheit unter visa@health.belgium.be, oder weil die LIKIV-Nummer der Apotheke ungültig ist, bitte kontaktieren Sie in diesem Fall das LIKIV per E-Mail unter dossierpharma@riziv-inami.fgov.be.",xE="Ihre Anfrage ist ungültig. Bitte versuchen Sie es später erneut.",wE="Leider war es nicht möglich, die Details der Verschreibung abzurufen. Versuchen Sie es erneut?",SE="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",kE="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",EE="Zurück zum Portal Meine Gesundheit",CE="https://wwwint.meinegesundheit.belgien.be/#/",DE="Es ist leider ein Netzwerkfehler aufgetreten. Bitte wenden Sie sich an Ihren Netzwerkadministrator, wenn das Problem weiterhin besteht.",IE="Ungültiges Datumsformat.",AE="Dienst vorübergehend nicht verfügbar",OE=`Wir haben derzeit ein Problem mit der Verbindung zum Server.
55
55
  Bitte versuchen Sie es zu einem späteren Zeitpunkt erneut.`,TE="Der Patient hat ein oder mehrere Verschreibungen ausgeblendet.",NE="Technisches Problem",ME="Bitte versuchen Sie es später noch einmal.",PE="Helfen Sie uns, das Problem zu identifizieren und zu lösen. Mit dem Melden akzeptieren Sie ",RE="unsere Nutzungsbedingungen",FE="https://www.riziv.fgov.be/nl/pagina/datenschutzerklarung-der-mobilen-anwendung-meinegesundheit",LE="Problem melden",VE="Nicht melden",zE="Das Problem wurde gemeldet",jE="Daten nicht verfügbar",BE="Aktion nicht erlaubt",HE="Schließen",Ofe={VIDIS_0035:Lk,VIDIS_0050:Vk,VIDIS_0090:zk,VIDIS_0121:jk,VIDIS_0122:Bk,VIDIS_0123:Hk,VIDIS_0124:$k,VIDIS_0125:qk,VIDIS_0126:Uk,VIDIS_0131:Gk,VIDIS_0132:Yk,VIDIS_0133:Wk,VIDIS_0134:Kk,VIDIS_0135:Zk,VIDIS_0136:Xk,VIDIS_0190:Qk,VIDIS_0210:Jk,VIDIS_0211:eE,VIDIS_0230:tE,VIDIS_0290:iE,VIDIS_0330:aE,VIDIS_0435:nE,VIDIS_0440:rE,VIDIS_5000:oE,VIDIS_7000:sE,VIDIS_3150:lE,VIDIS_3090:cE,VIDIS_3140:dE,VIDIS_3100:uE,VIDIS_3120:hE,VIDIS_0400:pE,VIDIS_3030:mE,VIDIS_0100:fE,VIDIS_0120:gE,VIDIS_0110:vE,VIDIS_0200:bE,VIDIS_0340:yE,VIDIS_0341:_E,VIDIS_04001:xE,prescriptionList:wE,general:SE,"no-access":kE,myHealth:EE,myHealthUrl:CE,network_error:DE,invalid_date_format:IE,"status-message-title":AE,"status-message-content":OE,"has-hidden-prescriptions":TE,"report-message-title":NE,"report-message-explanation":ME,"report-message-content":PE,"report-message-term-use":RE,"report-message-link":FE,"report-message-report-button":LE,"report-message-ignore-button":VE,"report-message-confirm-toast":zE,"data-not-available-title":jE,"action-not-authorized-title":BE,"action-not-authorized-close-button":HE},$E={};Ae($E,{VIDIS_0035:()=>qE,VIDIS_0050:()=>UE,VIDIS_0090:()=>GE,VIDIS_0100:()=>wC,VIDIS_0110:()=>kC,VIDIS_0120:()=>SC,VIDIS_0121:()=>YE,VIDIS_0122:()=>WE,VIDIS_0123:()=>KE,VIDIS_0124:()=>ZE,VIDIS_0125:()=>XE,VIDIS_0126:()=>QE,VIDIS_0131:()=>JE,VIDIS_0132:()=>eC,VIDIS_0133:()=>tC,VIDIS_0134:()=>iC,VIDIS_0135:()=>aC,VIDIS_0136:()=>nC,VIDIS_0190:()=>rC,VIDIS_0200:()=>EC,VIDIS_0210:()=>oC,VIDIS_0211:()=>sC,VIDIS_0230:()=>lC,VIDIS_0290:()=>cC,VIDIS_0330:()=>dC,VIDIS_0340:()=>CC,VIDIS_0341:()=>DC,VIDIS_0400:()=>_C,VIDIS_04001:()=>IC,VIDIS_0435:()=>uC,VIDIS_0440:()=>hC,VIDIS_3030:()=>xC,VIDIS_3090:()=>gC,VIDIS_3100:()=>bC,VIDIS_3120:()=>yC,VIDIS_3140:()=>vC,VIDIS_3150:()=>fC,VIDIS_5000:()=>pC,VIDIS_7000:()=>mC,"action-not-authorized-close-button":()=>KC,"action-not-authorized-title":()=>WC,"data-not-available-title":()=>YC,default:()=>Tfe,general:()=>OC,"has-hidden-prescriptions":()=>VC,invalid_date_format:()=>RC,myHealth:()=>NC,myHealthUrl:()=>MC,network_error:()=>PC,"no-access":()=>TC,prescriptionList:()=>AC,"report-message-confirm-toast":()=>GC,"report-message-content":()=>BC,"report-message-explanation":()=>jC,"report-message-ignore-button":()=>UC,"report-message-link":()=>$C,"report-message-report-button":()=>qC,"report-message-term-use":()=>HC,"report-message-title":()=>zC,"status-message-content":()=>LC,"status-message-title":()=>FC});var qE="Unfortunately, this did not succeed. Please try again. (VIDIS_0035)",UE="The patient's NISS number is missing (VIDIS_0050)",GE="The personal information provided was not recognised. (VIDIS_0090)",YE="Consulting data of a Brussels patient is currently not authorised.",WE="Consulting data of a Walloon patient is currently not authorised.",KE="Consulting data of a Brussels child by a parent is currently not authorised.",ZE="Consulting data of a Walloon child by a parent is currently not authorised.",XE="Consulting data of a Brussels patient by a power of attorney is currently not authorised.",QE="Consulting data of a Walloon patient by a power of attorney is currently not authorised.",JE="Access to the data of a Brussels patient is currently not permitted.",eC="Access to the data of a Walloon patient is currently not permitted.",tC="A parent’s access to the data of a Brussels child is currently not permitted.",iC="A parent’s access to the data of a Walloon child is currently not permitted.",aC="A representative’s access to the data of a Brussels patient is currently not permitted.",nC="A representative’s access to the data of a Walloon patient is currently not permitted.",rC="The patient's NISS number is invalid. (VIDIS_0190)",oC="The login was unsuccessful. Please try again. (VIDIS_0210)",sC="The login was unsuccessful. Please try again. (VIDIS_0211)",lC="The request is invalid. (VIDIS_0230)",cC="User role must be citizen. (VIDIS_0290)",dC="Your authentication level is insufficient to access this page. Please authenticate by using other means (itsme, eID or a security code sent via email or an app). (VIDIS_0330)",uC="Cannot determine the storage region of the medication scheme. (VIDIS_0435)",hC="Unfortunately, this did not succeed. Please try again. (VIDIS_0440)",pC="Unfortunately your data could not be retrieved. Please try again. (VIDIS_5000)",mC="Unfortunately, this did not succeed. Please try again. (VIDIS_7000)",fC="No mandate found between patient and mandateholder.",gC="Prescription has expired.",vC="Reservations must be made at the same pharmacy as the pharmacy for which you have set your visi-flag to be able to collect your medication. You can also leave your visi-flag unset or open.",bC="The vision-flag must be set to the same pharmacy as the pharmacy where you have reserved.",yC="The patient in the session is different from the patient in the request.",_C="User is not authorized to make the request.",xC="No mandate found between patient and mandateholder.",wC="Operation is not allowed.",SC="A therapeutic relation between the requester and the patient is not available.",kC="There is no consent to share personal health information.",EC="User is not allowed to perform the operation due to an exclusion between requester and patient.",CC="You are not authorized to consult this patient’s data because your visa is not active. Please contact the FPS Public Health at: visa@health.belgium.be",DC="You are not authorized to consult this patient’s data. - Either your visa is not active. Please contact the FPS Public Health via: visa@health.belgium.be - Or the NIHDI number of the pharmacy is invalid. In that case, please contact NIHDI via: dossierpharma@riziv-inami.fgov.be",IC="Your request is invalid. Please try again later.",AC="Unfortunately the details of the prescription could not be retrieved. Please try again.",OC="An internal technical error has occured. Please try again later.",TC="An internal technical error has occured. Please try again later.",NC="Back to the MyHealth portal.",MC="https://www.myhealth.belgium.be/",PC="A network error unfortunately has occured. Please contact your network manager if the problem persists.",RC="Invalid date format.",FC="Service temporarily unavailable",LC=`We are currently having a problem connecting to the server.
56
56
  Please try again later.`,VC="The patient has hidden one or more prescriptions.",zC="Technical problem",jC="Please try again later.",BC="Help us identify and resolve the issue. By reporting it, you accept ",HC="our terms of use",$C="https://www.riziv.fgov.be/nl/pagina/privacy-statement-for-the-mobile-application-myhealth",qC="Report the problem",UC="Don't report",GC="The problem has been reported",YC="Data not available",WC="Action not authorized",KC="Close",Tfe={VIDIS_0035:qE,VIDIS_0050:UE,VIDIS_0090:GE,VIDIS_0121:YE,VIDIS_0122:WE,VIDIS_0123:KE,VIDIS_0124:ZE,VIDIS_0125:XE,VIDIS_0126:QE,VIDIS_0131:JE,VIDIS_0132:eC,VIDIS_0133:tC,VIDIS_0134:iC,VIDIS_0135:aC,VIDIS_0136:nC,VIDIS_0190:rC,VIDIS_0210:oC,VIDIS_0211:sC,VIDIS_0230:lC,VIDIS_0290:cC,VIDIS_0330:dC,VIDIS_0435:uC,VIDIS_0440:hC,VIDIS_5000:pC,VIDIS_7000:mC,VIDIS_3150:fC,VIDIS_3090:gC,VIDIS_3140:vC,VIDIS_3100:bC,VIDIS_3120:yC,VIDIS_0400:_C,VIDIS_3030:xC,VIDIS_0100:wC,VIDIS_0120:SC,VIDIS_0110:kC,VIDIS_0200:EC,VIDIS_0340:CC,VIDIS_0341:DC,VIDIS_04001:IC,prescriptionList:AC,general:OC,"no-access":TC,myHealth:NC,myHealthUrl:MC,network_error:PC,invalid_date_format:RC,"status-message-title":FC,"status-message-content":LC,"has-hidden-prescriptions":VC,"report-message-title":zC,"report-message-explanation":jC,"report-message-content":BC,"report-message-term-use":HC,"report-message-link":$C,"report-message-report-button":qC,"report-message-ignore-button":UC,"report-message-confirm-toast":GC,"data-not-available-title":YC,"action-not-authorized-title":WC,"action-not-authorized-close-button":KC},ZC={};Ae(ZC,{VIDIS_0035:()=>XC,VIDIS_0050:()=>QC,VIDIS_0090:()=>JC,VIDIS_0100:()=>AD,VIDIS_0110:()=>TD,VIDIS_0120:()=>OD,VIDIS_0121:()=>eD,VIDIS_0122:()=>tD,VIDIS_0123:()=>iD,VIDIS_0124:()=>aD,VIDIS_0125:()=>nD,VIDIS_0126:()=>rD,VIDIS_0131:()=>oD,VIDIS_0132:()=>sD,VIDIS_0133:()=>lD,VIDIS_0134:()=>cD,VIDIS_0135:()=>dD,VIDIS_0136:()=>uD,VIDIS_0190:()=>hD,VIDIS_0200:()=>ND,VIDIS_0210:()=>pD,VIDIS_0211:()=>mD,VIDIS_0230:()=>fD,VIDIS_0290:()=>gD,VIDIS_0330:()=>vD,VIDIS_0340:()=>MD,VIDIS_0341:()=>PD,VIDIS_0400:()=>DD,VIDIS_04001:()=>RD,VIDIS_0435:()=>bD,VIDIS_0440:()=>yD,VIDIS_3030:()=>ID,VIDIS_3090:()=>SD,VIDIS_3100:()=>ED,VIDIS_3120:()=>CD,VIDIS_3140:()=>kD,VIDIS_3150:()=>wD,VIDIS_5000:()=>_D,VIDIS_7000:()=>xD,"action-not-authorized-close-button":()=>iI,"action-not-authorized-title":()=>tI,"data-not-available-title":()=>eI,default:()=>Nfe,general:()=>LD,"has-hidden-prescriptions":()=>UD,invalid_date_format:()=>HD,myHealth:()=>zD,myHealthUrl:()=>jD,network_error:()=>BD,"no-access":()=>VD,prescriptionList:()=>FD,"report-message-confirm-toast":()=>JD,"report-message-content":()=>WD,"report-message-explanation":()=>YD,"report-message-ignore-button":()=>QD,"report-message-link":()=>ZD,"report-message-report-button":()=>XD,"report-message-term-use":()=>KD,"report-message-title":()=>GD,"status-message-content":()=>qD,"status-message-title":()=>$D});var XC="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0035)",QC="Le NISS du patient est manquant. (VIDIS_0050)",JC="Les informations personnelles fournies n'ont pas été reconnues. (VIDIS_0090)",eD="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",tD="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",iD="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",aD="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",nD="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",rD="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",oD="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",sD="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",lD="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",cD="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",dD="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",uD="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",hD="Le NISS du patient n’est pas valide. (VIDIS_0190)",pD="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0210)",mD="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0211)",fD="L’opération n’est pas valide. (VIDIS_0230)",gD="Le rôle d’utilisateur doit être citoyen (VIDIS_0290)",vD="Votre niveau d’authentification ne vous permet pas d’accéder à cette page. Veuillez vous connecter avec un autre moyen d’authentification (itsme, eID ou code de sécurité envoyé par e-mail ou via app). (VIDIS_0330)",bD="Impossible de déterminer la région de stockage du schéma de médication. (VIDIS_0435)",yD="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0440)",_D="Malheureusement, nous n'avons pas pu récupérer vos données. Voulez-vous réessayer ? (VIDIS_5000)",xD="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_7000)",wD="Aucun mandat trouvé entre le patient et le mandataire.",SD="L’ordonnance est expirée.",kD="Les réservations doivent être faites auprès de la même pharmacie que celle pour laquelle vous avez défini votre visi-flag. Vous pouvez également laisser le visi-flag vide ou ouvert.",ED="Le visi-flag doit être défini pour la même pharmacie que celle auprès de laquelle vous avez réservé.",CD="Le patient dans la session est différent de celui dans la demande.",DD="L’utilisateur n’est pas autorisé à effectuer la requête.",ID="Aucun mandat trouvé entre le patient et le mandataire.",AD="Opération non autorisée.",OD="Aucune relation thérapeutique entre le demandeur et le patient.",TD="Aucun consentement au partage des données de santé.",ND="L’utilisateur n’est pas autorisé à effectuer l’opération en raison d’une exclusion entre le demandeur et le patient",MD="Vous n’êtes pas autorisé à consulter les données de ce patient parce que votre visa n’est pas actif. Veuillez prendre contact avec le SPF Santé publique à l’adresse e-mail suivante : visa@health.belgium.be",PD="Vous n’êtes pas autorisé à consulter les données de ce patient. - Soit votre visa n’est pas actif. Veuillez prendre contact avec le SPF Santé publique via l’adresse e-mail suivante : visa@health.belgium.be - Soit le numéro INAMI de la pharmacie n’est pas valide. Veuillez dans ce cas contacter l’INAMI à l’adresse e-mail dossierpharma@riziv-inami.fgov.be",RD="Votre requête est invalide. Veuillez réessayer plus tard.",FD="Malheureusement, il n’a pas été possible de retrouver les détails de la prescription. Essayez-vous à nouveau?",LD="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",VD="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",zD="Revenir au portail MaSanté",jD="https://wwwint.masante.belgique.be/#/",BD="Désolé, une erreur réseau s'est produite. Veuillez contacter votre administrateur réseau si le problème persiste.",HD="Le format de date est invalide.",$D="Service temporairement indisponible",qD=`Nous rencontrons actuellement un problème de connexion au serveur.
57
57
  Veuillez réessayer plus tard.`,UD="Le patient a masqué une ou plusieurs prescriptions.",GD="Problème technique",YD="Veuillez réessayer plus tard.",WD="Aidez-nous à identifier et résoudre le problème. En le signalant vous acceptez nos ",KD="conditions d'utilisation",ZD="https://www.riziv.fgov.be/fr/page/declaration-de-confidentialite-application-mobile-masante",XD="Signaler le problème",QD="Ignorer",JD="Le problème a été signalé",eI="Données non disponibles",tI="Action non autorisée",iI="Fermer",Nfe={VIDIS_0035:XC,VIDIS_0050:QC,VIDIS_0090:JC,VIDIS_0121:eD,VIDIS_0122:tD,VIDIS_0123:iD,VIDIS_0124:aD,VIDIS_0125:nD,VIDIS_0126:rD,VIDIS_0131:oD,VIDIS_0132:sD,VIDIS_0133:lD,VIDIS_0134:cD,VIDIS_0135:dD,VIDIS_0136:uD,VIDIS_0190:hD,VIDIS_0210:pD,VIDIS_0211:mD,VIDIS_0230:fD,VIDIS_0290:gD,VIDIS_0330:vD,VIDIS_0435:bD,VIDIS_0440:yD,VIDIS_5000:_D,VIDIS_7000:xD,VIDIS_3150:wD,VIDIS_3090:SD,VIDIS_3140:kD,VIDIS_3100:ED,VIDIS_3120:CD,VIDIS_0400:DD,VIDIS_3030:ID,VIDIS_0100:AD,VIDIS_0120:OD,VIDIS_0110:TD,VIDIS_0200:ND,VIDIS_0340:MD,VIDIS_0341:PD,VIDIS_04001:RD,prescriptionList:FD,general:LD,"no-access":VD,myHealth:zD,myHealthUrl:jD,network_error:BD,invalid_date_format:HD,"status-message-title":$D,"status-message-content":qD,"has-hidden-prescriptions":UD,"report-message-title":GD,"report-message-explanation":YD,"report-message-content":WD,"report-message-term-use":KD,"report-message-link":ZD,"report-message-report-button":XD,"report-message-ignore-button":QD,"report-message-confirm-toast":JD,"data-not-available-title":eI,"action-not-authorized-title":tI,"action-not-authorized-close-button":iI},aI={};Ae(aI,{VIDIS_0035:()=>nI,VIDIS_0050:()=>rI,VIDIS_0090:()=>oI,VIDIS_0100:()=>FI,VIDIS_0110:()=>VI,VIDIS_0120:()=>LI,VIDIS_0121:()=>sI,VIDIS_0122:()=>lI,VIDIS_0123:()=>cI,VIDIS_0124:()=>dI,VIDIS_0125:()=>uI,VIDIS_0126:()=>hI,VIDIS_0131:()=>pI,VIDIS_0132:()=>mI,VIDIS_0133:()=>fI,VIDIS_0134:()=>gI,VIDIS_0135:()=>vI,VIDIS_0136:()=>bI,VIDIS_0190:()=>yI,VIDIS_0200:()=>zI,VIDIS_0210:()=>_I,VIDIS_0211:()=>xI,VIDIS_0230:()=>wI,VIDIS_0290:()=>SI,VIDIS_0330:()=>kI,VIDIS_0340:()=>jI,VIDIS_0341:()=>BI,VIDIS_0400:()=>PI,VIDIS_04001:()=>HI,VIDIS_0435:()=>EI,VIDIS_0440:()=>CI,VIDIS_3030:()=>RI,VIDIS_3090:()=>OI,VIDIS_3100:()=>NI,VIDIS_3120:()=>MI,VIDIS_3140:()=>TI,VIDIS_3150:()=>AI,VIDIS_5000:()=>DI,VIDIS_7000:()=>II,"action-not-authorized-close-button":()=>c2,"action-not-authorized-title":()=>l2,"data-not-available-title":()=>s2,default:()=>Mfe,general:()=>qI,"has-hidden-prescriptions":()=>QI,invalid_date_format:()=>KI,myHealth:()=>GI,myHealthUrl:()=>YI,network_error:()=>WI,"no-access":()=>UI,prescriptionList:()=>$I,"report-message-confirm-toast":()=>o2,"report-message-content":()=>t2,"report-message-explanation":()=>e2,"report-message-ignore-button":()=>r2,"report-message-link":()=>a2,"report-message-report-button":()=>n2,"report-message-term-use":()=>i2,"report-message-title":()=>JI,"status-message-content":()=>XI,"status-message-title":()=>ZI});var nI="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0035)",rI="Het INSZ-patiëntnummer ontbreekt. (VIDIS_0050)",oI="De persoonlijke informatie verstrekt werd niet herkend. (VIDIS_0090)",sI="Het raadplegen van gegevens van een Brusselse patiënt is momenteel niet toegelaten.",lI="Het raadplegen van gegevens van een Waalse patiënt is op dit moment niet toegelaten.",cI="Het raadplegen van gegevens van een Brusselse kind door een ouder is momenteel niet toegelaten.",dI="Het raadplegen van gegevens van een Waalse kind door een ouder is momenteel niet toegelaten.",uI="Het raadplegen van gegevens van een Brusselse patiënt door een volmacht is momenteel niet toegelaten.",hI="Het raadplegen van gegevens van een Waalse patiënt door een volmacht is momenteel niet toegelaten.",pI="Het raadplegen van de gegevens van een Brusselse patiënt is momenteel niet toegestaan.",mI="Het raadplegen van de gegevens van een Waalse patiënt is momenteel niet toegestaan.",fI="Het raadplegen van de gegevens van een Brussels kind door een ouder is momenteel niet toegestaan.",gI="Het raadplegen van de gegevens van een Waals kind door een ouder is momenteel niet toegestaan.",vI="Het raadplegen van de gegevens van een Brusselse patiënt door een gemachtigde is momenteel niet toegestaan.",bI="Het raadplegen van de gegevens van een Waalse patiënt door een gemachtigde is momenteel niet toegestaan.",yI="Het INSZ-patiëntnummer is ongeldig. (VIDIS_0190)",_I="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0210)",xI="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0211)",wI="Het verzoek is ongeldig. (VIDIS_0230)",SI="Gebruikersrol moet burger zijn. (VIDIS_0290)",kI="Uw authenticatieniveau is onvoldoende om toegang te krijgen tot deze pagina. Gelieve u op een andere manier te authenticeren (itsme, eID of een beveiligingscode verstuurd via email of een app). (VIDIS_0330)",EI="Kan de opslagregio van het medicatieschema niet bepalen. (VIDIS_0435)",CI="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0440)",DI="Het is jammer genoeg niet gelukt uw gegevens op te halen. Probeert u het even opnieuw? (VIDIS_5000)",II="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_7000)",AI="Geen mandaat gevonden tussen patiënt en mandataris.",OI="Voorschrift is verlopen.",TI="Reservaties moeten gebeuren bij dezelfde apotheek als waar de visivlag is ingesteld om medicatie te kunnen afhalen. U kunt de visivlag ook leeg of open laten.",NI="De visivlag moet ingesteld zijn op dezelfde apotheek als waar u gereserveerd heeft.",MI="De patiënt in de sessie is anders dan de patiënt in de aanvraag.",PI="De gebruiker is niet gemachtigd om de aanvraag te doen.",RI="Geen mandaat gevonden tussen patiënt en mandataris.",FI="Bewerking is niet toegestaan.",LI="Er bestaat geen therapeutische relatie tussen aanvrager en patiënt.",VI="Er is geen toestemming om gezondheidsgegevens te delen.",zI="De gebruiker mag de bewerking niet uitvoeren omdat er een uitsluiting bestaat tussen de aanvrager en de patiënt.",jI="U bent niet bevoegd om de gegevens van deze patiënt te bekijken omdat uw visum niet actief is. Gelieve contact op te nemen met de FOD Volksgezondheid via het e-mailadres visa@health.fgov.be",BI="U bent niet bevoegd om de gegevens van deze patiënt te bekijken omdat - ofwel uw visum niet actief is. Gelieve contact op te nemen met de FOD Volksgezondheid via het e-mailadres visa@health.fgov.be - ofwel het RIZIV nummer van de apotheek niet geldig is. Gelieve contact op te nemen met het RIZIV via het e-mailadres dossierpharma@riziv-inami.fgov.be",HI="Uw verzoek is ongeldig. Probeer later opnieuw.",$I="Het is jammer genoeg niet gelukt de details van het voorschrift op te halen. Probeert u het even opnieuw?",qI="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",UI="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",GI="Terug naar het MijnGezondheid portaal",YI="http://wwwint.mijngezondheid.belgie.be/",WI="Er is helaas een netwerkfout opgetreden. Neem contact op met uw netwerkbeheerder als het probleem aanhoudt.",KI="Ongeldig datumformaat.",ZI="Service tijdelijk niet beschikbaar",XI=`Er is momenteel een probleem met de verbinding met de server.