@smals-belgium-shared/vidis-delivered-medication-detail 1.0.2 → 1.0.5

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.
@@ -256,7 +256,7 @@ ${e.map((i,n)=>`${n+1}) ${i.toString()}`).join(`
256
256
  `+u.message,o,i,n),u[WX]=o,u[cl]=null,u}function $X(u,e,i,n=null){u=u&&u.charAt(0)===`
257
257
  `&&u.charAt(1)==YX?u.slice(2):u;let o=hi(e);if(Array.isArray(e))o=e.map(hi).join(" -> ");else if(typeof e=="object"){let f=[];for(let l in e)if(e.hasOwnProperty(l)){let h=e[l];f.push(l+":"+(typeof h=="string"?JSON.stringify(h):hi(h)))}o=`{${f.join(", ")}}`}return`${i}${n?"("+n+")":""}[${o}]: ${u.replace(XX,`
258
258
  `)}`}var uY=Zh(zh("Optional"),8),eY=Zh(zh("SkipSelf"),4);function Ra(u,e){return u.hasOwnProperty(ll)?u[ll]:null}function tY(u,e,i){if(u.length!==e.length)return!1;for(let n=0;n<u.length;n++){let o=u[n],f=e[n];if(i&&(o=i(o),f=i(f)),f!==o)return!1}return!0}function nY(u){return u.flat(Number.POSITIVE_INFINITY)}function b1(u,e){u.forEach(i=>Array.isArray(i)?b1(i,e):e(i))}function Kh(u,e,i){e>=u.length?u.push(i):u.splice(e,0,i)}function hl(u,e){return e>=u.length-1?u.pop():u.splice(e,1)[0]}function rY(u,e){let i=[];for(let n=0;n<u;n++)i.push(e);return i}function iY(u,e,i,n){let o=u.length;if(o==e)u.push(i,n);else if(o===1)u.push(n,u[0]),u[0]=i;else{for(o--,u.push(u[o-1],u[o]);o>e;){let f=o-2;u[o]=u[f],o--}u[e]=i,u[e+1]=n}}function x1(u,e,i){let n=Us(u,e);return n>=0?u[n|1]=i:(n=~n,iY(u,n,e,i)),n}function Sc(u,e){let i=Us(u,e);if(i>=0)return u[i|1]}function Us(u,e){return aY(u,e,1)}function aY(u,e,i){let n=0,o=u.length>>i;for(;o!==n;){let f=n+(o-n>>1),l=u[f<<i];if(e===l)return f<<i;l>e?o=f:n=f+1}return~(o<<i)}var Bo={},Nr=[],dl=new xt(""),Jh=new xt("",-1),Qh=new xt(""),$h=class{get(u,e=ms){if(e===ms){let i=new Error(`NullInjectorError: No provider for ${hi(u)}!`);throw i.name="NullInjectorError",i}return e}},u9=function(u){return u[u.OnPush=0]="OnPush",u[u.Default=1]="Default",u}(u9||{}),ji=function(u){return u[u.Emulated=0]="Emulated",u[u.None=2]="None",u[u.ShadowDom=3]="ShadowDom",u}(ji||{}),On=function(u){return u[u.None=0]="None",u[u.SignalBased=1]="SignalBased",u[u.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",u}(On||{});function oY(u,e,i){let n=u.length;for(;;){let o=u.indexOf(e,i);if(o===-1)return o;if(o===0||u.charCodeAt(o-1)<=32){let f=e.length;if(o+f===n||u.charCodeAt(o+f)<=32)return o}i=o+1}}function g5(u,e,i){let n=0;for(;n<i.length;){let o=i[n];if(typeof o=="number"){if(o!==0)break;n++;let f=i[n++],l=i[n++],h=i[n++];u.setAttribute(e,l,h,f)}else{let f=o,l=i[++n];sY(f)?u.setProperty(e,f,l):u.setAttribute(e,f,l),n++}}return n}function e9(u){return u===3||u===4||u===6}function sY(u){return u.charCodeAt(0)===64}function Bs(u,e){if(!(e===null||e.length===0))if(u===null||u.length===0)u=e.slice();else{let i=-1;for(let n=0;n<e.length;n++){let o=e[n];typeof o=="number"?i=o:i===0||(i===-1||i===2?u8(u,i,o,null,e[++n]):u8(u,i,o,null,null))}}return u}function u8(u,e,i,n,o){let f=0,l=u.length;if(e===-1)l=-1;else for(;f<u.length;){let h=u[f++];if(typeof h=="number"){if(h===e){l=-1;break}else if(h>e){l=f-1;break}}}for(;f<u.length;){let h=u[f];if(typeof h=="number")break;if(h===i){o!==null&&(u[f+1]=o);return}f++,o!==null&&f++}l!==-1&&(u.splice(l,0,e),f=l+1),u.splice(f++,0,i),o!==null&&u.splice(f++,0,o)}var t9="ng-template";function lY(u,e,i,n){let o=0;if(n){for(;o<e.length&&typeof e[o]=="string";o+=2)if(e[o]==="class"&&oY(e[o+1].toLowerCase(),i,0)!==-1)return!0}else if(w1(u))return!1;if(o=e.indexOf(1,o),o>-1){let f;for(;++o<e.length&&typeof(f=e[o])=="string";)if(f.toLowerCase()===i)return!0}return!1}function w1(u){return u.type===4&&u.value!==t9}function cY(u,e,i){let n=u.type===4&&!i?t9:u.value;return e===n}function hY(u,e,i){let n=4,o=u.attrs,f=o!==null?pY(o):0,l=!1;for(let h=0;h<e.length;h++){let t=e[h];if(typeof t=="number"){if(!l&&!oi(n)&&!oi(t))return!1;if(l&&oi(t))continue;l=!1,n=t|n&1;continue}if(!l)if(n&4){if(n=2|n&1,t!==""&&!cY(u,t,i)||t===""&&e.length===1){if(oi(n))return!1;l=!0}}else if(n&8){if(o===null||!lY(u,o,t,i)){if(oi(n))return!1;l=!0}}else{let c=e[++h],a=dY(t,o,w1(u),i);if(a===-1){if(oi(n))return!1;l=!0;continue}if(c!==""){let s;if(a>f?s="":s=o[a+1].toLowerCase(),n&2&&c!==s){if(oi(n))return!1;l=!0}}}}return oi(n)||l}function oi(u){return(u&1)===0}function dY(u,e,i,n){if(e===null)return-1;let o=0;if(n||!i){let f=!1;for(;o<e.length;){let l=e[o];if(l===u)return o;if(l===3||l===6)f=!0;else if(l===1||l===2){let h=e[++o];for(;typeof h=="string";)h=e[++o];continue}else{if(l===4)break;if(l===0){o+=4;continue}}o+=f?1:2}return-1}else return EY(e,u)}function n9(u,e,i=!1){for(let n=0;n<e.length;n++)if(hY(u,e[n],i))return!0;return!1}function fY(u){let e=u.attrs;if(e!=null){let i=e.indexOf(5);if(!(i&1))return e[i+1]}return null}function pY(u){for(let e=0;e<u.length;e++){let i=u[e];if(e9(i))return e}return u.length}function EY(u,e){let i=u.indexOf(4);if(i>-1)for(i++;i<u.length;){let n=u[i];if(typeof n=="number")return-1;if(n===e)return i;i++}return-1}function CY(u,e){u:for(let i=0;i<e.length;i++){let n=e[i];if(u.length===n.length){for(let o=0;o<u.length;o++)if(u[o]!==n[o])continue u;return!0}}return!1}function e8(u,e){return u?":not("+e.trim()+")":e}function FY(u){let e=u[0],i=1,n=2,o="",f=!1;for(;i<u.length;){let l=u[i];if(typeof l=="string")if(n&2){let h=u[++i];o+="["+l+(h.length>0?'="'+h+'"':"")+"]"}else n&8?o+="."+l:n&4&&(o+=" "+l);else o!==""&&!oi(l)&&(e+=e8(f,o),o=""),n=l,f=f||!oi(n);i++}return o!==""&&(e+=e8(f,o)),e}function AY(u){return u.map(FY).join(",")}function gY(u){let e=[],i=[],n=1,o=2;for(;n<u.length;){let f=u[n];if(typeof f=="string")o===2?f!==""&&e.push(f,u[++n]):o===8&&i.push(f);else{if(!oi(o))break;o=f}n++}return{attrs:e,classes:i}}function Mr(u){return zs(()=>{let e=a9(u),i=Wi(jt({},e),{decls:u.decls,vars:u.vars,template:u.template,consts:u.consts||null,ngContentSelectors:u.ngContentSelectors,onPush:u.changeDetection===u9.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&u.dependencies||null,getStandaloneInjector:null,signals:u.signals??!1,data:u.data||{},encapsulation:u.encapsulation||ji.Emulated,styles:u.styles||Nr,_:null,schemas:u.schemas||null,tView:null,id:""});o9(i);let n=u.dependencies;return i.directiveDefs=n8(n,!1),i.pipeDefs=n8(n,!0),i.id=vY(i),i})}function DY(u){return vo(u)||r9(u)}function mY(u){return u!==null}function _1(u){return zs(()=>({type:u.type,bootstrap:u.bootstrap||Nr,declarations:u.declarations||Nr,imports:u.imports||Nr,exports:u.exports||Nr,transitiveCompileScopes:null,schemas:u.schemas||null,id:u.id||null}))}function t8(u,e){if(u==null)return Bo;let i={};for(let n in u)if(u.hasOwnProperty(n)){let o=u[n],f,l,h=On.None;Array.isArray(o)?(h=o[0],f=o[1],l=o[2]??f):(f=o,l=o),e?(i[f]=h!==On.None?[n,h]:n,e[f]=l):i[f]=n}return i}function Si(u){return zs(()=>{let e=a9(u);return o9(e),e})}function Po(u){return{type:u.type,name:u.name,factory:null,pure:u.pure!==!1,standalone:u.standalone===!0,onDestroy:u.type.prototype.ngOnDestroy||null}}function vo(u){return u[VX]||null}function r9(u){return u[zX]||null}function i9(u){return u[UX]||null}function BY(u){let e=vo(u)||r9(u)||i9(u);return e!==null?e.standalone:!1}function a9(u){let e={};return{type:u.type,providersResolver:null,factory:null,hostBindings:u.hostBindings||null,hostVars:u.hostVars||0,hostAttrs:u.hostAttrs||null,contentQueries:u.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:u.inputs||Bo,exportAs:u.exportAs||null,standalone:u.standalone===!0,signals:u.signals===!0,selectors:u.selectors||Nr,viewQuery:u.viewQuery||null,features:u.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:t8(u.inputs,e),outputs:t8(u.outputs),debugInfo:null}}function o9(u){var e;(e=u.features)==null||e.forEach(i=>i(u))}function n8(u,e){if(!u)return null;let i=e?i9:DY;return()=>(typeof u=="function"?u():u).map(n=>i(n)).filter(mY)}function vY(u){let e=0,i=[u.selectors,u.ngContentSelectors,u.hostVars,u.hostAttrs,u.consts,u.vars,u.decls,u.encapsulation,u.standalone,u.signals,u.exportAs,JSON.stringify(u.inputs),JSON.stringify(u.outputs),Object.getOwnPropertyNames(u.type.prototype),!!u.contentQueries,!!u.viewQuery].join("|");for(let n of i)e=Math.imul(31,e)+n.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function S1(u){return{ɵproviders:u}}function Ul(...u){return{ɵproviders:s9(!0,u),ɵfromNgModule:!0}}function s9(u,...e){let i=[],n=new Set,o,f=l=>{i.push(l)};return b1(e,l=>{let h=l;D5(h,f,[],n)&&(o||(o=[]),o.push(h))}),o!==void 0&&l9(o,f),i}function l9(u,e){for(let i=0;i<u.length;i++){let{ngModule:n,providers:o}=u[i];k1(o,f=>{e(f,n)})}}function D5(u,e,i,n){if(u=Jr(u),!u)return!1;let o=null,f=K2(u),l=!f&&vo(u);if(!f&&!l){let t=u.ngModule;if(f=K2(t),f)o=t;else return!1}else{if(l&&!l.standalone)return!1;o=u}let h=n.has(o);if(l){if(h)return!1;if(n.add(o),l.dependencies){let t=typeof l.dependencies=="function"?l.dependencies():l.dependencies;for(let c of t)D5(c,e,i,n)}}else if(f){if(f.imports!=null&&!h){n.add(o);let c;try{b1(f.imports,a=>{D5(a,e,i,n)&&(c||(c=[]),c.push(a))})}finally{}c!==void 0&&l9(c,e)}if(!h){let c=Ra(o)||(()=>new o);e({provide:o,useFactory:c,deps:Nr},o),e({provide:Qh,useValue:o,multi:!0},o),e({provide:dl,useValue:()=>Le(o),multi:!0},o)}let t=f.providers;if(t!=null&&!h){let c=u;k1(t,a=>{e(a,c)})}}else return!1;return o!==u&&u.providers!==void 0}function k1(u,e){for(let i of u)Wh(i)&&(i=i.ɵproviders),Array.isArray(i)?k1(i,e):e(i)}var yY=jn({provide:String,useValue:jn});function c9(u){return u!==null&&typeof u=="object"&&yY in u}function bY(u){return!!(u&&u.useExisting)}function xY(u){return!!(u&&u.useFactory)}function m5(u){return typeof u=="function"}var P1=new xt(""),Z0={},wY={},kc;function I1(){return kc===void 0&&(kc=new $h),kc}var Ma=class{},T1=class extends Ma{get destroyed(){return this._destroyed}constructor(u,e,i,n){super(),this.parent=e,this.source=i,this.scopes=n,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,v5(u,f=>this.processProvider(f)),this.records.set(Jh,ro(void 0,this)),n.has("environment")&&this.records.set(Ma,ro(void 0,this));let o=this.records.get(P1);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Qh,Nr,cn.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let u=rn(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of e)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),rn(u)}}onDestroy(u){return this.assertNotDestroyed(),this._onDestroyHooks.push(u),()=>this.removeOnDestroy(u)}runInContext(u){this.assertNotDestroyed();let e=na(this),i=Or(void 0);try{return u()}finally{na(e),Or(i)}}get(u,e=ms,i=cn.Default){if(this.assertNotDestroyed(),u.hasOwnProperty(Q2))return u[Q2](this);i=zl(i);let n=na(this),o=Or(void 0);try{if(!(i&cn.SkipSelf)){let l=this.records.get(u);if(l===void 0){let h=TY(u)&&v1(u);h&&this.injectableDefInScope(h)?l=ro(B5(u),Z0):l=null,this.records.set(u,l)}if(l!=null)return this.hydrate(u,l)}let f=i&cn.Self?I1():this.parent;return e=i&cn.Optional&&e===ms?null:e,f.get(u,e)}catch(f){if(f.name==="NullInjectorError"){if((f[cl]=f[cl]||[]).unshift(hi(u)),n)throw f;return QX(f,u,"R3InjectorError",this.source)}else throw f}finally{Or(o),na(n)}}resolveInjectorInitializers(){let u=rn(null),e=na(this),i=Or(void 0);try{let n=this.get(dl,Nr,cn.Self);for(let o of n)o()}finally{na(e),Or(i),rn(u)}}toString(){let u=[],e=this.records;for(let i of e.keys())u.push(hi(i));return`R3Injector[${u.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ct(205,!1)}processProvider(u){u=Jr(u);let e=m5(u)?u:Jr(u&&u.provide),i=SY(u);if(!m5(u)&&u.multi===!0){let n=this.records.get(e);n||(n=ro(void 0,Z0,!0),n.factory=()=>A5(n.multi),this.records.set(e,n)),e=u,n.multi.push(u)}this.records.set(e,i)}hydrate(u,e){let i=rn(null);try{return e.value===Z0&&(e.value=wY,e.value=e.factory()),typeof e.value=="object"&&e.value&&IY(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{rn(i)}}injectableDefInScope(u){if(!u.providedIn)return!1;let e=Jr(u.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(u){let e=this._onDestroyHooks.indexOf(u);e!==-1&&this._onDestroyHooks.splice(e,1)}};function B5(u){let e=v1(u),i=e!==null?e.factory:Ra(u);if(i!==null)return i;if(u instanceof xt)throw new ct(204,!1);if(u instanceof Function)return _Y(u);throw new ct(204,!1)}function _Y(u){if(u.length>0)throw new ct(204,!1);let e=LX(u);return e!==null?()=>e.factory(u):()=>new u}function SY(u){if(c9(u))return ro(void 0,u.useValue);{let e=kY(u);return ro(e,Z0)}}function kY(u,e,i){let n;if(m5(u)){let o=Jr(u);return Ra(o)||B5(o)}else if(c9(u))n=()=>Jr(u.useValue);else if(xY(u))n=()=>u.useFactory(...A5(u.deps||[]));else if(bY(u))n=()=>Le(Jr(u.useExisting));else{let o=Jr(u&&(u.useClass||u.provide));if(PY(u))n=()=>new o(...A5(u.deps));else return Ra(o)||B5(o)}return n}function ro(u,e,i=!1){return{factory:u,value:e,multi:i?[]:void 0}}function PY(u){return!!u.deps}function IY(u){return u!==null&&typeof u=="object"&&typeof u.ngOnDestroy=="function"}function TY(u){return typeof u=="function"||typeof u=="object"&&u instanceof xt}function v5(u,e){for(let i of u)Array.isArray(i)?v5(i,e):i&&Wh(i)?v5(i.ɵproviders,e):e(i)}function OY(u,e){u instanceof T1&&u.assertNotDestroyed();let i=na(u),n=Or(void 0);try{return e()}finally{na(i),Or(n)}}function h9(){return Xh()!==void 0||ZX()!=null}function NY(u){if(!h9())throw new ct(-203,!1)}function RY(u){return typeof u=="function"}var ki=0,Rt=1,Pt=2,Er=3,di=4,Ur=5,yo=6,vs=7,xr=8,bo=9,xi=10,or=11,ys=12,r8=13,Io=14,pi=15,Hs=16,io=17,fi=18,Hl=19,d9=20,oa=21,Pc=22,La=23,wr=25,O1=1,ja=7,fl=8,xo=9,Fr=10,N1=function(u){return u[u.None=0]="None",u[u.HasTransplantedViews=2]="HasTransplantedViews",u}(N1||{});function Na(u){return Array.isArray(u)&&typeof u[O1]=="object"}function Xi(u){return Array.isArray(u)&&u[O1]===!0}function f9(u){return(u.flags&4)!==0}function Gl(u){return u.componentOffset>-1}function R1(u){return(u.flags&1)===1}function ha(u){return!!u.template}function MY(u){return(u[Pt]&512)!==0}var p9=class{constructor(u,e,i){this.previousValue=u,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}};function E9(u,e,i,n){e!==null?e.applyValueToInputSignal(e,n):u[i]=n}function M1(){return C9}function C9(u){return u.type.prototype.ngOnChanges&&(u.setInput=jY),LY}M1.ngInherit=!0;function LY(){let u=A9(this),e=u==null?void 0:u.current;if(e){let i=u.previous;if(i===Bo)u.previous=e;else for(let n in e)i[n]=e[n];u.current=null,this.ngOnChanges(e)}}function jY(u,e,i,n,o){let f=this.declaredInputs[n],l=A9(u)||VY(u,{previous:Bo,current:null}),h=l.current||(l.current={}),t=l.previous,c=t[f];h[f]=new p9(c&&c.currentValue,i,t===Bo),E9(u,e,o,i)}var F9="__ngSimpleChanges__";function A9(u){return u[F9]||null}function VY(u,e){return u[F9]=e}var g9=function(u,e,i){},zY="svg",UY="math";function wi(u){for(;Array.isArray(u);)u=u[ki];return u}function HY(u){for(;Array.isArray(u);){if(typeof u[O1]=="object")return u;u=u[ki]}return null}function D9(u,e){return wi(e[u])}function ni(u,e){return wi(e[u.index])}function L1(u,e){return u.data[e]}function m9(u,e){return u[e]}function pa(u,e){let i=e[u];return Na(i)?i:i[ki]}function GY(u){return(u[Pt]&4)===4}function j1(u){return(u[Pt]&128)===128}function qY(u){return Xi(u[Er])}function pl(u,e){return e==null?null:u[e]}function B9(u){u[io]=0}function WY(u){u[Pt]&1024||(u[Pt]|=1024,j1(u)&&ql(u))}function XY(u,e){for(;u>0;)e=e[Io],u--;return e}function V1(u){var e;return!!(u[Pt]&9216||(e=u[La])!=null&&e.dirty)}function y5(u){var e,i;(e=u[xi].changeDetectionScheduler)==null||e.notify(1),V1(u)?ql(u):u[Pt]&64&&((i=u[xi].changeDetectionScheduler)==null||i.notify())}function ql(u){var i;(i=u[xi].changeDetectionScheduler)==null||i.notify();let e=bs(u);for(;e!==null&&!(e[Pt]&8192||(e[Pt]|=8192,!j1(e)));)e=bs(e)}function v9(u,e){if((u[Pt]&256)===256)throw new ct(911,!1);u[oa]===null&&(u[oa]=[]),u[oa].push(e)}function YY(u,e){if(u[oa]===null)return;let i=u[oa].indexOf(e);i!==-1&&u[oa].splice(i,1)}function bs(u){let e=u[Er];return Xi(e)?e[Er]:e}var Jt={lFrame:T9(null),skipHydrationRootTNode:null};function ZY(){return Jt.lFrame.elementDepthCount}function KY(){Jt.lFrame.elementDepthCount++}function JY(){Jt.lFrame.elementDepthCount--}function y9(){return Jt.skipHydrationRootTNode!==null}function QY(u){return Jt.skipHydrationRootTNode===u}function $Y(){Jt.skipHydrationRootTNode=null}function Yt(){return Jt.lFrame.lView}function Dr(){return Jt.lFrame.tView}function b9(u){return Jt.lFrame.contextLView=u,u[xr]}function x9(u){return Jt.lFrame.contextLView=null,u}function Hr(){let u=w9();for(;u!==null&&u.type===64;)u=u.parent;return u}function w9(){return Jt.lFrame.currentTNode}function uZ(){let u=Jt.lFrame,e=u.currentTNode;return u.isParent?e:e.parent}function Gs(u,e){let i=Jt.lFrame;i.currentTNode=u,i.isParent=e}function _9(){return Jt.lFrame.isParent}function S9(){Jt.lFrame.isParent=!1}function qs(){let u=Jt.lFrame,e=u.bindingRootIndex;return e===-1&&(e=u.bindingRootIndex=u.tView.bindingStartIndex),e}function eZ(){return Jt.lFrame.bindingIndex}function tZ(u){return Jt.lFrame.bindingIndex=u}function To(){return Jt.lFrame.bindingIndex++}function z1(u){let e=Jt.lFrame,i=e.bindingIndex;return e.bindingIndex=e.bindingIndex+u,i}function nZ(){return Jt.lFrame.inI18n}function rZ(u,e){let i=Jt.lFrame;i.bindingIndex=i.bindingRootIndex=u,b5(e)}function iZ(){return Jt.lFrame.currentDirectiveIndex}function b5(u){Jt.lFrame.currentDirectiveIndex=u}function U1(u){let e=Jt.lFrame.currentDirectiveIndex;return e===-1?null:u[e]}function k9(){return Jt.lFrame.currentQueryIndex}function H1(u){Jt.lFrame.currentQueryIndex=u}function aZ(u){let e=u[Rt];return e.type===2?e.declTNode:e.type===1?u[Ur]:null}function P9(u,e,i){if(i&cn.SkipSelf){let o=e,f=u;for(;(o=o.parent,o===null&&!(i&cn.Host))&&(o=aZ(f),!(o===null||(f=f[Io],o.type&10))););if(o===null)return!1;e=o,u=f}let n=Jt.lFrame=I9();return n.currentTNode=e,n.lView=u,!0}function G1(u){let e=I9(),i=u[Rt];Jt.lFrame=e,e.currentTNode=i.firstChild,e.lView=u,e.tView=i,e.contextLView=u,e.bindingIndex=i.bindingStartIndex,e.inI18n=!1}function I9(){let u=Jt.lFrame,e=u===null?null:u.child;return e===null?T9(u):e}function T9(u){let e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:u,child:null,inI18n:!1};return u!==null&&(u.child=e),e}function O9(){let u=Jt.lFrame;return Jt.lFrame=u.parent,u.currentTNode=null,u.lView=null,u}var N9=O9;function q1(){let u=O9();u.isParent=!0,u.tView=null,u.selectedIndex=-1,u.contextLView=null,u.elementDepthCount=0,u.currentDirectiveIndex=-1,u.currentNamespace=null,u.bindingRootIndex=-1,u.bindingIndex=-1,u.currentQueryIndex=0}function oZ(u){return(Jt.lFrame.contextLView=XY(u,Jt.lFrame.contextLView))[xr]}function Yi(){return Jt.lFrame.selectedIndex}function Va(u){Jt.lFrame.selectedIndex=u}function W1(){let u=Jt.lFrame;return L1(u.tView,u.selectedIndex)}function sZ(){return Jt.lFrame.currentNamespace}var R9=!0;function X1(){return R9}function Y1(u){R9=u}function lZ(u,e,i){let{ngOnChanges:n,ngOnInit:o,ngDoCheck:f}=e.type.prototype;if(n){let l=C9(e);(i.preOrderHooks??(i.preOrderHooks=[])).push(u,l),(i.preOrderCheckHooks??(i.preOrderCheckHooks=[])).push(u,l)}o&&(i.preOrderHooks??(i.preOrderHooks=[])).push(0-u,o),f&&((i.preOrderHooks??(i.preOrderHooks=[])).push(u,f),(i.preOrderCheckHooks??(i.preOrderCheckHooks=[])).push(u,f))}function Z1(u,e){for(let i=e.directiveStart,n=e.directiveEnd;i<n;i++){let o=u.data[i].type.prototype,{ngAfterContentInit:f,ngAfterContentChecked:l,ngAfterViewInit:h,ngAfterViewChecked:t,ngOnDestroy:c}=o;f&&(u.contentHooks??(u.contentHooks=[])).push(-i,f),l&&((u.contentHooks??(u.contentHooks=[])).push(i,l),(u.contentCheckHooks??(u.contentCheckHooks=[])).push(i,l)),h&&(u.viewHooks??(u.viewHooks=[])).push(-i,h),t&&((u.viewHooks??(u.viewHooks=[])).push(i,t),(u.viewCheckHooks??(u.viewCheckHooks=[])).push(i,t)),c!=null&&(u.destroyHooks??(u.destroyHooks=[])).push(i,c)}}function K0(u,e,i){M9(u,e,3,i)}function J0(u,e,i,n){(u[Pt]&3)===i&&M9(u,e,i,n)}function Ic(u,e){let i=u[Pt];(i&3)===e&&(i&=16383,i+=1,u[Pt]=i)}function M9(u,e,i,n){let o=n!==void 0?u[io]&65535:0,f=n??-1,l=e.length-1,h=0;for(let t=o;t<l;t++)if(typeof e[t+1]=="number"){if(h=e[t],n!=null&&h>=n)break}else e[t]<0&&(u[io]+=65536),(h<f||f==-1)&&(cZ(u,i,e,t),u[io]=(u[io]&4294901760)+t+2),t++}function i8(u,e){let i=rn(null);try{e.call(u)}finally{rn(i)}}function cZ(u,e,i,n){let o=i[n]<0,f=i[n+1],l=o?-i[n]:i[n],h=u[l];o?u[Pt]>>14<u[io]>>16&&(u[Pt]&3)===e&&(u[Pt]+=16384,i8(h,f)):i8(h,f)}var fo=-1,K1=class{constructor(u,e,i){this.factory=u,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}};function hZ(u){return u instanceof K1}function dZ(u){return(u.flags&8)!==0}function fZ(u){return(u.flags&16)!==0}function L9(u){return u!==fo}function El(u){return u&32767}function pZ(u){return u>>16}function Cl(u,e){let i=pZ(u),n=e;for(;i>0;)n=n[Io],i--;return n}var x5=!0;function Fl(u){let e=x5;return x5=u,e}var EZ=256,j9=EZ-1,V9=5,CZ=0,bi={};function FZ(u,e,i){let n;typeof i=="string"?n=i.charCodeAt(0)||0:i.hasOwnProperty(ds)&&(n=i[ds]),n==null&&(n=i[ds]=CZ++);let o=n&j9,f=1<<o;e.data[u+(o>>V9)]|=f}function z9(u,e){let i=U9(u,e);if(i!==-1)return i;let n=e[Rt];n.firstCreatePass&&(u.injectorIndex=e.length,Tc(n.data,u),Tc(e,null),Tc(n.blueprint,null));let o=J1(u,e),f=u.injectorIndex;if(L9(o)){let l=El(o),h=Cl(o,e),t=h[Rt].data;for(let c=0;c<8;c++)e[f+c]=h[l+c]|t[l+c]}return e[f+8]=o,f}function Tc(u,e){u.push(0,0,0,0,0,0,0,0,e)}function U9(u,e){return u.injectorIndex===-1||u.parent&&u.parent.injectorIndex===u.injectorIndex||e[u.injectorIndex+8]===null?-1:u.injectorIndex}function J1(u,e){if(u.parent&&u.parent.injectorIndex!==-1)return u.parent.injectorIndex;let i=0,n=null,o=e;for(;o!==null;){if(n=X9(o),n===null)return fo;if(i++,o=o[Io],n.injectorIndex!==-1)return n.injectorIndex|i<<16}return fo}function AZ(u,e,i){FZ(u,e,i)}function gZ(u,e){let i=u.attrs;if(i){let n=i.length,o=0;for(;o<n;){let f=i[o];if(e9(f))break;if(f===0)o=o+2;else if(typeof f=="number")for(o++;o<n&&typeof i[o]=="string";)o++;else{if(f===e)return i[o+1];o=o+2}}}return null}function H9(u,e,i){if(i&cn.Optional||u!==void 0)return u;y1()}function G9(u,e,i,n){if(i&cn.Optional&&n===void 0&&(n=null),!(i&(cn.Self|cn.Host))){let o=u[bo],f=Or(void 0);try{return o?o.get(e,n,i&cn.Optional):Yh(e,n,i&cn.Optional)}finally{Or(f)}}return H9(n,e,i)}function q9(u,e,i,n=cn.Default,o){if(u!==null){if(e[Pt]&2048&&!(n&cn.Self)){let l=vZ(u,e,i,n,bi);if(l!==bi)return l}let f=W9(u,e,i,n,bi);if(f!==bi)return f}return G9(e,i,n,o)}function W9(u,e,i,n,o){let f=mZ(i);if(typeof f=="function"){if(!P9(e,u,n))return n&cn.Host?H9(o,i,n):G9(e,i,n,o);try{let l;if(l=f(n),l==null&&!(n&cn.Optional))y1(i);else return l}finally{N9()}}else if(typeof f=="number"){let l=null,h=U9(u,e),t=fo,c=n&cn.Host?e[pi][Ur]:null;for((h===-1||n&cn.SkipSelf)&&(t=h===-1?J1(u,e):e[h+8],t===fo||!o8(n,!1)?h=-1:(l=e[Rt],h=El(t),e=Cl(t,e)));h!==-1;){let a=e[Rt];if(a8(f,h,a.data)){let s=DZ(h,e,i,l,n,c);if(s!==bi)return s}t=e[h+8],t!==fo&&o8(n,e[Rt].data[h+8]===c)&&a8(f,h,e)?(l=a,h=El(t),e=Cl(t,e)):h=-1}}return o}function DZ(u,e,i,n,o,f){let l=e[Rt],h=l.data[u+8],t=n==null?Gl(h)&&x5:n!=l&&(h.type&3)!==0,c=o&cn.Host&&f===h,a=Q0(h,l,i,t,c);return a!==null?wo(e,l,a,h):bi}function Q0(u,e,i,n,o){let f=u.providerIndexes,l=e.data,h=f&1048575,t=u.directiveStart,c=u.directiveEnd,a=f>>20,s=n?h:h+a,d=o?h+a:c;for(let p=s;p<d;p++){let E=l[p];if(p<t&&i===E||p>=t&&E.type===i)return p}if(o){let p=l[t];if(p&&ha(p)&&p.type===i)return t}return null}function wo(u,e,i,n){let o=u[i],f=e.data;if(hZ(o)){let l=o;l.resolving&&GX(HX(f[i]));let h=Fl(l.canSeeViewProviders);l.resolving=!0;let t=l.injectImpl?Or(l.injectImpl):null;P9(u,n,cn.Default);try{o=u[i]=l.factory(void 0,f,u,n),e.firstCreatePass&&i>=n.directiveStart&&lZ(i,f[i],e)}finally{t!==null&&Or(t),Fl(h),l.resolving=!1,N9()}}return o}function mZ(u){if(typeof u=="string")return u.charCodeAt(0)||0;let e=u.hasOwnProperty(ds)?u[ds]:void 0;return typeof e=="number"?e>=0?e&j9:BZ:e}function a8(u,e,i){let n=1<<u;return!!(i[e+(u>>V9)]&n)}function o8(u,e){return!(u&cn.Self)&&!(u&cn.Host&&e)}var fs=class{constructor(u,e){this._tNode=u,this._lView=e}get(u,e,i){return q9(this._tNode,this._lView,u,zl(i),e)}};function BZ(){return new fs(Hr(),Yt())}function Oo(u){return zs(()=>{let e=u.prototype.constructor,i=e[ll]||w5(e),n=Object.prototype,o=Object.getPrototypeOf(u.prototype).constructor;for(;o&&o!==n;){let f=o[ll]||w5(o);if(f&&f!==i)return f;o=Object.getPrototypeOf(o)}return f=>new f})}function w5(u){return Hh(u)?()=>{let e=w5(Jr(u));return e&&e()}:Ra(u)}function vZ(u,e,i,n,o){let f=u,l=e;for(;f!==null&&l!==null&&l[Pt]&2048&&!(l[Pt]&512);){let h=W9(f,l,i,n|cn.Self,bi);if(h!==bi)return h;let t=f.parent;if(!t){let c=l[d9];if(c){let a=c.get(i,bi,n);if(a!==bi)return a}t=X9(l),l=l[Io]}f=t}return o}function X9(u){let e=u[Rt],i=e.type;return i===2?e.declTNode:i===1?u[Ur]:null}function yZ(u){return gZ(Hr(),u)}function s8(u,e=null,i=null,n){let o=bZ(u,e,i,n);return o.resolveInjectorInitializers(),o}function bZ(u,e=null,i=null,n,o=new Set){let f=[i||Nr,Ul(u)];return n=n||(typeof u=="object"?void 0:hi(u)),new T1(f,e||I1(),n||null,o)}var sa=(()=>{const e=class e{static create(n,o){if(Array.isArray(n))return s8({name:""},o,n,"");{let f=n.name??"";return s8({name:f},n.parent,n.providers,f)}}};e.THROW_IF_NOT_FOUND=ms,e.NULL=new $h,e.ɵprov=ft({token:e,providedIn:"any",factory:()=>Le(Jh)}),e.__NG_ELEMENT_ID__=-1;let u=e;return u})(),xZ="ngOriginalError";function Oc(u){return u[xZ]}var Ea=class{constructor(){this._console=console}handleError(u){let e=this._findOriginalError(u);this._console.error("ERROR",u),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(u){let e=u&&Oc(u);for(;e&&Oc(e);)e=Oc(e);return e||null}},Y9=new xt("",{providedIn:"root",factory:()=>ht(Ea).handleError.bind(void 0)}),Wl=(()=>{const e=class e{};e.__NG_ELEMENT_ID__=_Z,e.__NG_ENV_ID__=n=>n;let u=e;return u})(),wZ=class extends Wl{constructor(u){super(),this._lView=u}onDestroy(u){return v9(this._lView,u),()=>YY(this._lView,u)}};function _Z(){return new wZ(Yt())}function l8(u,e){return Vh(u,e)}function SZ(u){return Vh(jh,u)}var xs=(l8.required=SZ,l8);function kZ(){return No(Hr(),Yt())}function No(u,e){return new mr(ni(u,e))}var mr=(()=>{const e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=kZ;let u=e;return u})();function PZ(u){return u instanceof mr?u.nativeElement:u}var IZ=class extends Un{constructor(u=!1){super(),this.destroyRef=void 0,this.__isAsync=u,h9()&&(this.destroyRef=ht(Wl,{optional:!0})??void 0)}emit(u){let e=rn(null);try{super.next(u)}finally{rn(e)}}subscribe(u,e,i){var h,t,c;let n=u,o=e||(()=>null),f=i;if(u&&typeof u=="object"){let a=u;n=(h=a.next)==null?void 0:h.bind(a),o=(t=a.error)==null?void 0:t.bind(a),f=(c=a.complete)==null?void 0:c.bind(a)}this.__isAsync&&(o=Nc(o),n&&(n=Nc(n)),f&&(f=Nc(f)));let l=super.subscribe({next:n,error:o,complete:f});return u instanceof $r&&u.add(l),l}};function Nc(u){return e=>{setTimeout(u,void 0,e)}}var Cr=IZ;function TZ(){return this._results[Symbol.iterator]()}var OZ=class Z9{get changes(){return this._changes??(this._changes=new Cr)}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let i=Z9.prototype;i[Symbol.iterator]||(i[Symbol.iterator]=TZ)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,i){return this._results.reduce(e,i)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,i){this.dirty=!1;let n=nY(e);(this._changesDetected=!tY(this._results,n,i))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(e){this._onDirty=e}setDirty(){var e;this.dirty=!0,(e=this._onDirty)==null||e.call(this)}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function K9(u){return(u.flags&128)===128}var J9=new Map,NZ=0;function RZ(){return NZ++}function MZ(u){J9.set(u[Hl],u)}function LZ(u){J9.delete(u[Hl])}var c8="__ngContext__";function za(u,e){Na(e)?(u[c8]=e[Hl],MZ(e)):u[c8]=e}function Q9(u){return ud(u[ys])}function $9(u){return ud(u[di])}function ud(u){for(;u!==null&&!Xi(u);)u=u[di];return u}var _5;function jZ(u){_5=u}function VZ(){if(_5!==void 0)return _5;if(typeof document<"u")return document;throw new ct(210,!1)}var ed=new xt("",{providedIn:"root",factory:()=>zZ}),zZ="ng",td=new xt(""),Ro=new xt("",{providedIn:"platform",factory:()=>"unknown"}),Mo=new xt(""),Q1=new xt("",{providedIn:"root",factory:()=>{var u,e;return((e=(u=VZ().body)==null?void 0:u.querySelector("[ngCspNonce]"))==null?void 0:e.getAttribute("ngCspNonce"))||null}}),UZ=()=>null;function $1(u,e,i=!1){return UZ()}var nd=!1,HZ=new xt("",{providedIn:"root",factory:()=>nd}),x0;function GZ(){if(x0===void 0&&(x0=null,yi.trustedTypes))try{x0=yi.trustedTypes.createPolicy("angular",{createHTML:u=>u,createScript:u=>u,createScriptURL:u=>u})}catch{}return x0}function Xl(u){var e;return((e=GZ())==null?void 0:e.createHTML(u))||u}var Ga=class{constructor(u){this.changingThisBreaksApplicationSecurity=u}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Lh})`}},qZ=class extends Ga{getTypeName(){return"HTML"}},WZ=class extends Ga{getTypeName(){return"Style"}},XZ=class extends Ga{getTypeName(){return"Script"}},YZ=class extends Ga{getTypeName(){return"URL"}},ZZ=class extends Ga{getTypeName(){return"ResourceURL"}};function Ia(u){return u instanceof Ga?u.changingThisBreaksApplicationSecurity:u}function is(u,e){let i=KZ(u);if(i!=null&&i!==e){if(i==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${i} (see ${Lh})`)}return i===e}function KZ(u){return u instanceof Ga&&u.getTypeName()||null}function JZ(u){return new qZ(u)}function QZ(u){return new WZ(u)}function $Z(u){return new XZ(u)}function uK(u){return new YZ(u)}function eK(u){return new ZZ(u)}function tK(u){let e=new rK(u);return iK()?new nK(e):e}var nK=class{constructor(u){this.inertDocumentHelper=u}getInertBodyElement(u){u="<body><remove></remove>"+u;try{let e=new window.DOMParser().parseFromString(Xl(u),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(u):(e.removeChild(e.firstChild),e)}catch{return null}}},rK=class{constructor(u){this.defaultDoc=u,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(u){let e=this.inertDocument.createElement("template");return e.innerHTML=Xl(u),e}};function iK(){try{return!!new window.DOMParser().parseFromString(Xl(""),"text/html")}catch{return!1}}var aK=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function rd(u){return u=String(u),u.match(aK)?u:"unsafe:"+u}function Zi(u){let e={};for(let i of u.split(","))e[i]=!0;return e}function Ws(...u){let e={};for(let i of u)for(let n in i)i.hasOwnProperty(n)&&(e[n]=!0);return e}var id=Zi("area,br,col,hr,img,wbr"),ad=Zi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),od=Zi("rp,rt"),oK=Ws(od,ad),sK=Ws(ad,Zi("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),lK=Ws(od,Zi("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),h8=Ws(id,sK,lK,oK),sd=Zi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),cK=Zi("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),hK=Zi("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),dK=Ws(sd,cK,hK),fK=Zi("script,style,template"),pK=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(u){let e=u.firstChild,i=!0,n=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild){n.push(e),e=FK(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=CK(e);if(o){e=o;break}e=n.pop()}}return this.buf.join("")}startElement(u){let e=d8(u).toLowerCase();if(!h8.hasOwnProperty(e))return this.sanitizedSomething=!0,!fK.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let i=u.attributes;for(let n=0;n<i.length;n++){let o=i.item(n),f=o.name,l=f.toLowerCase();if(!dK.hasOwnProperty(l)){this.sanitizedSomething=!0;continue}let h=o.value;sd[l]&&(h=rd(h)),this.buf.push(" ",f,'="',f8(h),'"')}return this.buf.push(">"),!0}endElement(u){let e=d8(u).toLowerCase();h8.hasOwnProperty(e)&&!id.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(u){this.buf.push(f8(u))}};function EK(u,e){return(u.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function CK(u){let e=u.nextSibling;if(e&&u!==e.previousSibling)throw ld(e);return e}function FK(u){let e=u.firstChild;if(e&&EK(u,e))throw ld(e);return e}function d8(u){let e=u.nodeName;return typeof e=="string"?e:"FORM"}function ld(u){return new Error(`Failed to sanitize html because the element is clobbered: ${u.outerHTML}`)}var AK=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,gK=/([^\#-~ |!])/g;function f8(u){return u.replace(/&/g,"&amp;").replace(AK,function(e){let i=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+((i-55296)*1024+(n-56320)+65536)+";"}).replace(gK,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var w0;function DK(u,e){let i=null;try{w0=w0||tK(u);let n=e?String(e):"";i=w0.getInertBodyElement(n);let o=5,f=n;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,n=f,f=i.innerHTML,i=w0.getInertBodyElement(n)}while(n!==f);let l=new pK().sanitizeChildren(p8(i)||i);return Xl(l)}finally{if(i){let n=p8(i)||i;for(;n.firstChild;)n.removeChild(n.firstChild)}}}function p8(u){return"content"in u&&mK(u)?u.content:null}function mK(u){return u.nodeType===Node.ELEMENT_NODE&&u.nodeName==="TEMPLATE"}var Zr=function(u){return u[u.NONE=0]="NONE",u[u.HTML=1]="HTML",u[u.STYLE=2]="STYLE",u[u.SCRIPT=3]="SCRIPT",u[u.URL=4]="URL",u[u.RESOURCE_URL=5]="RESOURCE_URL",u}(Zr||{}),ao=function(u){return u[u.Important=1]="Important",u[u.DashCase=2]="DashCase",u}(ao||{}),BK;function u6(u,e){return BK(u,e)}function oo(u,e,i,n,o){if(n!=null){let f,l=!1;Xi(n)?f=n:Na(n)&&(l=!0,n=n[ki]);let h=wi(n);u===0&&i!==null?o==null?pd(e,i,h):Al(e,i,h,o||null,!0):u===1&&i!==null?Al(e,i,h,o||null,!0):u===2?MK(e,h,l):u===3&&e.destroyNode(h),f!=null&&jK(e,u,f,i,o)}}function vK(u,e){return u.createText(e)}function yK(u,e,i){u.setValue(e,i)}function cd(u,e,i){return u.createElement(e,i)}function bK(u,e){hd(u,e),e[ki]=null,e[Ur]=null}function xK(u,e,i,n,o,f){n[ki]=o,n[Ur]=e,Zl(u,n,i,1,o,f)}function hd(u,e){var i;(i=e[xi].changeDetectionScheduler)==null||i.notify(1),Zl(u,e,e[or],2,null,null)}function wK(u){let e=u[ys];if(!e)return Rc(u[Rt],u);for(;e;){let i=null;if(Na(e))i=e[ys];else{let n=e[Fr];n&&(i=n)}if(!i){for(;e&&!e[di]&&e!==u;)Na(e)&&Rc(e[Rt],e),e=e[Er];e===null&&(e=u),Na(e)&&Rc(e[Rt],e),i=e&&e[di]}e=i}}function _K(u,e,i,n){let o=Fr+n,f=i.length;n>0&&(i[o-1][di]=e),n<f-Fr?(e[di]=i[o],Kh(i,Fr+n,e)):(i.push(e),e[di]=null),e[Er]=i;let l=e[Hs];l!==null&&i!==l&&SK(l,e);let h=e[fi];h!==null&&h.insertView(u),y5(e),e[Pt]|=128}function SK(u,e){let i=u[xo],n=e[Er][Er][pi];e[pi]!==n&&(u[Pt]|=N1.HasTransplantedViews),i===null?u[xo]=[e]:i.push(e)}function dd(u,e){let i=u[xo],n=i.indexOf(e);i.splice(n,1)}function ws(u,e){if(u.length<=Fr)return;let i=Fr+e,n=u[i];if(n){let o=n[Hs];o!==null&&o!==u&&dd(o,n),e>0&&(u[i-1][di]=n[di]);let f=hl(u,Fr+e);bK(n[Rt],n);let l=f[fi];l!==null&&l.detachView(f[Rt]),n[Er]=null,n[di]=null,n[Pt]&=-129}return n}function Yl(u,e){if(!(e[Pt]&256)){let i=e[or];i.destroyNode&&Zl(u,e,i,3,null,null),wK(e)}}function Rc(u,e){if(e[Pt]&256)return;let i=rn(null);try{e[Pt]&=-129,e[Pt]|=256,e[La]&&xW(e[La]),PK(u,e),kK(u,e),e[Rt].type===1&&e[or].destroy();let n=e[Hs];if(n!==null&&Xi(e[Er])){n!==e[Er]&&dd(n,e);let o=e[fi];o!==null&&o.detachView(u)}LZ(e)}finally{rn(i)}}function kK(u,e){let i=u.cleanup,n=e[vs];if(i!==null)for(let f=0;f<i.length-1;f+=2)if(typeof i[f]=="string"){let l=i[f+3];l>=0?n[l]():n[-l].unsubscribe(),f+=2}else{let l=n[i[f+1]];i[f].call(l)}n!==null&&(e[vs]=null);let o=e[oa];if(o!==null){e[oa]=null;for(let f=0;f<o.length;f++){let l=o[f];l()}}}function PK(u,e){let i;if(u!=null&&(i=u.destroyHooks)!=null)for(let n=0;n<i.length;n+=2){let o=e[i[n]];if(!(o instanceof K1)){let f=i[n+1];if(Array.isArray(f))for(let l=0;l<f.length;l+=2){let h=o[f[l]],t=f[l+1];try{t.call(h)}finally{}}else try{f.call(o)}finally{}}}}function fd(u,e,i){return IK(u,e.parent,i)}function IK(u,e,i){let n=e;for(;n!==null&&n.type&40;)e=n,n=e.parent;if(n===null)return i[ki];{let{componentOffset:o}=n;if(o>-1){let{encapsulation:f}=u.data[n.directiveStart+o];if(f===ji.None||f===ji.Emulated)return null}return ni(n,i)}}function Al(u,e,i,n,o){u.insertBefore(e,i,n,o)}function pd(u,e,i){u.appendChild(e,i)}function E8(u,e,i,n,o){n!==null?Al(u,e,i,n,o):pd(u,e,i)}function TK(u,e,i,n){u.removeChild(e,i,n)}function e6(u,e){return u.parentNode(e)}function OK(u,e){return u.nextSibling(e)}function Ed(u,e,i){return RK(u,e,i)}function NK(u,e,i){return u.type&40?ni(u,i):null}var RK=NK;function t6(u,e,i,n){let o=fd(u,n,e),f=e[or],l=n.parent||e[Ur],h=Ed(l,n,e);if(o!=null)if(Array.isArray(i))for(let t=0;t<i.length;t++)E8(f,o,i[t],h,!1);else E8(f,o,i,h,!1)}function $0(u,e){if(e!==null){let i=e.type;if(i&3)return ni(e,u);if(i&4)return S5(-1,u[e.index]);if(i&8){let n=e.child;if(n!==null)return $0(u,n);{let o=u[e.index];return Xi(o)?S5(-1,o):wi(o)}}else{if(i&32)return u6(e,u)()||wi(u[e.index]);{let n=Cd(u,e);if(n!==null){if(Array.isArray(n))return n[0];let o=bs(u[pi]);return $0(o,n)}else return $0(u,e.next)}}}return null}function Cd(u,e){if(e!==null){let i=u[pi][Ur],n=e.projection;return i.projection[n]}return null}function S5(u,e){let i=Fr+u+1;if(i<e.length){let n=e[i],o=n[Rt].firstChild;if(o!==null)return $0(n,o)}return e[ja]}function MK(u,e,i){let n=e6(u,e);n&&TK(u,n,e,i)}function n6(u,e,i,n,o,f,l){for(;i!=null;){let h=n[i.index],t=i.type;if(l&&e===0&&(h&&za(wi(h),n),i.flags|=2),(i.flags&32)!==32)if(t&8)n6(u,e,i.child,n,o,f,!1),oo(e,u,o,h,f);else if(t&32){let c=u6(i,n),a;for(;a=c();)oo(e,u,o,a,f);oo(e,u,o,h,f)}else t&16?Fd(u,e,n,i,o,f):oo(e,u,o,h,f);i=l?i.projectionNext:i.next}}function Zl(u,e,i,n,o,f){n6(i,n,u.firstChild,e,o,f,!1)}function LK(u,e,i){let n=e[or],o=fd(u,i,e),f=i.parent||e[Ur],l=Ed(f,i,e);Fd(n,0,e,i,o,l)}function Fd(u,e,i,n,o,f){let l=i[pi],h=l[Ur].projection[n.projection];if(Array.isArray(h))for(let t=0;t<h.length;t++){let c=h[t];oo(e,u,o,c,f)}else{let t=h,c=l[Er];K9(n)&&(t.flags|=128),n6(u,e,t,c,o,f,!0)}}function jK(u,e,i,n,o){let f=i[ja],l=wi(i);f!==l&&oo(e,u,n,f,o);for(let h=Fr;h<i.length;h++){let t=i[h];Zl(t[Rt],t,u,e,n,f)}}function VK(u,e,i,n,o){o?u.addClass(i,n):u.removeClass(i,n)}function zK(u,e,i){u.setAttribute(e,"style",i)}function Ad(u,e,i){i===""?u.removeAttribute(e,"class"):u.setAttribute(e,"class",i)}function gd(u,e,i){let{mergedAttrs:n,classes:o,styles:f}=i;n!==null&&g5(u,e,n),o!==null&&Ad(u,e,o),f!==null&&zK(u,e,f)}var ri={};function un(u=1){Dd(Dr(),Yt(),Yi()+u)}function Dd(u,e,i,n){if((e[Pt]&3)===3){let o=u.preOrderCheckHooks;o!==null&&K0(e,o,i)}else{let o=u.preOrderHooks;o!==null&&J0(e,o,0,i)}Va(i)}function Nt(u,e=cn.Default){let i=Yt();if(i===null)return Le(u,e);let n=Hr();return q9(n,i,Jr(u),e)}function md(){let u="invalid";throw new Error(u)}function Bd(u,e,i,n,o,f){let l=rn(null);try{let h=null;o&On.SignalBased&&(h=e[n][go]),h!==null&&h.transformFn!==void 0&&(f=h.transformFn(f)),o&On.HasDecoratorInputTransform&&(f=u.inputTransforms[n].call(e,f)),u.setInput!==null?u.setInput(e,h,f,i,n):E9(e,h,n,f)}finally{rn(l)}}function UK(u,e){let i=u.hostBindingOpCodes;if(i!==null)try{for(let n=0;n<i.length;n++){let o=i[n];if(o<0)Va(~o);else{let f=o,l=i[++n],h=i[++n];rZ(l,f);let t=e[f];h(2,t)}}}finally{Va(-1)}}function Kl(u,e,i,n,o,f,l,h,t,c,a){let s=e.blueprint.slice();return s[ki]=o,s[Pt]=n|4|128|8|64,(c!==null||u&&u[Pt]&2048)&&(s[Pt]|=2048),B9(s),s[Er]=s[Io]=u,s[xr]=i,s[xi]=l||u&&u[xi],s[or]=h||u&&u[or],s[bo]=t||u&&u[bo]||null,s[Ur]=f,s[Hl]=RZ(),s[yo]=a,s[d9]=c,s[pi]=e.type==2?u[pi]:s,s}function Xs(u,e,i,n,o){let f=u.data[e];if(f===null)f=HK(u,e,i,n,o),nZ()&&(f.flags|=32);else if(f.type&64){f.type=i,f.value=n,f.attrs=o;let l=uZ();f.injectorIndex=l===null?-1:l.injectorIndex}return Gs(f,!0),f}function HK(u,e,i,n,o){let f=w9(),l=_9(),h=l?f:f&&f.parent,t=u.data[e]=XK(u,h,i,e,n,o);return u.firstChild===null&&(u.firstChild=t),f!==null&&(l?f.child==null&&t.parent!==null&&(f.child=t):f.next===null&&(f.next=t,t.prev=f)),t}function vd(u,e,i,n){if(i===0)return-1;let o=e.length;for(let f=0;f<i;f++)e.push(n),u.blueprint.push(n),u.data.push(null);return o}function yd(u,e,i,n,o){let f=Yi(),l=n&2;try{Va(-1),l&&e.length>wr&&Dd(u,e,wr,!1),g9(l?2:0,o),i(n,o)}finally{Va(f)}}function bd(u,e,i){if(f9(e)){let n=rn(null);try{let o=e.directiveStart,f=e.directiveEnd;for(let l=o;l<f;l++){let h=u.data[l];if(h.contentQueries){let t=i[l];h.contentQueries(1,t,l)}}}finally{rn(n)}}}function xd(u,e,i){$K(u,e,i,ni(i,e)),(i.flags&64)===64&&Id(u,e,i)}function wd(u,e,i=ni){let n=e.localNames;if(n!==null){let o=e.index+1;for(let f=0;f<n.length;f+=2){let l=n[f+1],h=l===-1?i(e,u):u[l];u[o++]=h}}}function _d(u){let e=u.tView;return e===null||e.incompleteFirstPass?u.tView=r6(1,null,u.template,u.decls,u.vars,u.directiveDefs,u.pipeDefs,u.viewQuery,u.schemas,u.consts,u.id):e}function r6(u,e,i,n,o,f,l,h,t,c,a){let s=wr+n,d=s+o,p=GK(s,d),E=typeof c=="function"?c():c;return p[Rt]={type:u,blueprint:p,template:i,queries:null,viewQuery:h,declTNode:e,data:p.slice().fill(null,s),bindingStartIndex:s,expandoStartIndex:d,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof f=="function"?f():f,pipeRegistry:typeof l=="function"?l():l,firstChild:null,schemas:t,consts:E,incompleteFirstPass:!1,ssrId:a}}function GK(u,e){let i=[];for(let n=0;n<e;n++)i.push(n<u?null:ri);return i}function qK(u,e,i,n){let o=n.get(HZ,nd)||i===ji.ShadowDom;return u.selectRootElement(e,o)}function WK(u,e,i,n){let o=Nd(e);o.push(i),u.firstCreatePass&&Rd(u).push(n,o.length-1)}function XK(u,e,i,n,o,f){let l=e?e.injectorIndex:-1,h=0;return y9()&&(h|=128),{type:i,index:n,insertBeforeIndex:null,injectorIndex:l,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:h,providerIndexes:0,value:o,attrs:f,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function C8(u,e,i,n,o){for(let f in e){if(!e.hasOwnProperty(f))continue;let l=e[f];if(l===void 0)continue;n??(n={});let h,t=On.None;Array.isArray(l)?(h=l[0],t=l[1]):h=l;let c=f;if(o!==null){if(!o.hasOwnProperty(f))continue;c=o[f]}u===0?F8(n,i,c,h,t):F8(n,i,c,h)}return n}function F8(u,e,i,n,o){let f;u.hasOwnProperty(i)?(f=u[i]).push(e,n):f=u[i]=[e,n],o!==void 0&&f.push(o)}function YK(u,e,i){let n=e.directiveStart,o=e.directiveEnd,f=u.data,l=e.attrs,h=[],t=null,c=null;for(let a=n;a<o;a++){let s=f[a],d=i?i.get(s):null,p=d?d.inputs:null,E=d?d.outputs:null;t=C8(0,s.inputs,a,t,p),c=C8(1,s.outputs,a,c,E);let C=t!==null&&l!==null&&!w1(e)?cJ(t,a,l):null;h.push(C)}t!==null&&(t.hasOwnProperty("class")&&(e.flags|=8),t.hasOwnProperty("style")&&(e.flags|=16)),e.initialInputs=h,e.inputs=t,e.outputs=c}function ZK(u){return u==="class"?"className":u==="for"?"htmlFor":u==="formaction"?"formAction":u==="innerHtml"?"innerHTML":u==="readonly"?"readOnly":u==="tabindex"?"tabIndex":u}function Sd(u,e,i,n,o,f,l,h){let t=ni(e,i),c=e.inputs,a;!h&&c!=null&&(a=c[n])?(i6(u,i,a,n,o),Gl(e)&&KK(i,e.index)):e.type&3?(n=ZK(n),o=l!=null?l(o,e.value||"",n):o,f.setProperty(t,n,o)):e.type&12}function KK(u,e){let i=pa(e,u);i[Pt]&16||(i[Pt]|=64)}function kd(u,e,i,n){{let o=n===null?null:{"":-1},f=eJ(u,i),l,h;f===null?l=h=null:[l,h]=f,l!==null&&Pd(u,e,i,l,o,h),o&&tJ(i,n,o)}i.mergedAttrs=Bs(i.mergedAttrs,i.attrs)}function Pd(u,e,i,n,o,f){for(let c=0;c<n.length;c++)AZ(z9(i,e),u,n[c].type);rJ(i,u.data.length,n.length);for(let c=0;c<n.length;c++){let a=n[c];a.providersResolver&&a.providersResolver(a)}let l=!1,h=!1,t=vd(u,e,n.length,null);for(let c=0;c<n.length;c++){let a=n[c];i.mergedAttrs=Bs(i.mergedAttrs,a.hostAttrs),iJ(u,i,e,t,a),nJ(t,a,o),a.contentQueries!==null&&(i.flags|=4),(a.hostBindings!==null||a.hostAttrs!==null||a.hostVars!==0)&&(i.flags|=64);let s=a.type.prototype;!l&&(s.ngOnChanges||s.ngOnInit||s.ngDoCheck)&&((u.preOrderHooks??(u.preOrderHooks=[])).push(i.index),l=!0),!h&&(s.ngOnChanges||s.ngDoCheck)&&((u.preOrderCheckHooks??(u.preOrderCheckHooks=[])).push(i.index),h=!0),t++}YK(u,i,f)}function JK(u,e,i,n,o){let f=o.hostBindings;if(f){let l=u.hostBindingOpCodes;l===null&&(l=u.hostBindingOpCodes=[]);let h=~e.index;QK(l)!=h&&l.push(h),l.push(i,n,f)}}function QK(u){let e=u.length;for(;e>0;){let i=u[--e];if(typeof i=="number"&&i<0)return i}return 0}function $K(u,e,i,n){let o=i.directiveStart,f=i.directiveEnd;Gl(i)&&aJ(e,i,u.data[o+i.componentOffset]),u.firstCreatePass||z9(i,e),za(n,e);let l=i.initialInputs;for(let h=o;h<f;h++){let t=u.data[h],c=wo(e,u,h,i);if(za(c,e),l!==null&&lJ(e,h-o,c,t,i,l),ha(t)){let a=pa(i.index,e);a[xr]=wo(e,u,h,i)}}}function Id(u,e,i){let n=i.directiveStart,o=i.directiveEnd,f=i.index,l=iZ();try{Va(f);for(let h=n;h<o;h++){let t=u.data[h],c=e[h];b5(h),(t.hostBindings!==null||t.hostVars!==0||t.hostAttrs!==null)&&uJ(t,c)}}finally{Va(-1),b5(l)}}function uJ(u,e){u.hostBindings!==null&&u.hostBindings(1,e)}function eJ(u,e){var f;let i=u.directiveRegistry,n=null,o=null;if(i)for(let l=0;l<i.length;l++){let h=i[l];if(n9(e,h.selectors,!1))if(n||(n=[]),ha(h))if(h.findHostDirectiveDefs!==null){let t=[];o=o||new Map,h.findHostDirectiveDefs(h,t,o),n.unshift(...t,h);let c=t.length;k5(u,e,c)}else n.unshift(h),k5(u,e,0);else o=o||new Map,(f=h.findHostDirectiveDefs)==null||f.call(h,h,n,o),n.push(h)}return n===null?null:[n,o]}function k5(u,e,i){e.componentOffset=i,(u.components??(u.components=[])).push(e.index)}function tJ(u,e,i){if(e){let n=u.localNames=[];for(let o=0;o<e.length;o+=2){let f=i[e[o+1]];if(f==null)throw new ct(-301,!1);n.push(e[o],f)}}}function nJ(u,e,i){if(i){if(e.exportAs)for(let n=0;n<e.exportAs.length;n++)i[e.exportAs[n]]=u;ha(e)&&(i[""]=u)}}function rJ(u,e,i){u.flags|=1,u.directiveStart=e,u.directiveEnd=e+i,u.providerIndexes=e}function iJ(u,e,i,n,o){u.data[n]=o;let f=o.factory||(o.factory=Ra(o.type)),l=new K1(f,ha(o),Nt);u.blueprint[n]=l,i[n]=l,JK(u,e,n,vd(u,i,o.hostVars,ri),o)}function aJ(u,e,i){let n=ni(e,u),o=_d(i),f=u[xi].rendererFactory,l=16;i.signals?l=4096:i.onPush&&(l=64);let h=Jl(u,Kl(u,o,null,l,n,e,null,f.createRenderer(n,i),null,null,null));u[e.index]=h}function oJ(u,e,i,n,o,f){let l=ni(u,e);sJ(e[or],l,f,u.value,i,n,o)}function sJ(u,e,i,n,o,f,l){if(f==null)u.removeAttribute(e,o,i);else{let h=l==null?Ds(f):l(f,n||"",o);u.setAttribute(e,o,h,i)}}function lJ(u,e,i,n,o,f){let l=f[e];if(l!==null)for(let h=0;h<l.length;){let t=l[h++],c=l[h++],a=l[h++],s=l[h++];Bd(n,i,t,c,a,s)}}function cJ(u,e,i){let n=null,o=0;for(;o<i.length;){let f=i[o];if(f===0){o+=4;continue}else if(f===5){o+=2;continue}if(typeof f=="number")break;if(u.hasOwnProperty(f)){n===null&&(n=[]);let l=u[f];for(let h=0;h<l.length;h+=3)if(l[h]===e){n.push(f,l[h+1],l[h+2],i[o+1]);break}}o+=2}return n}function Td(u,e,i,n){return[u,!0,0,e,null,n,null,i,null,null]}function Od(u,e){let i=u.contentQueries;if(i!==null){let n=rn(null);try{for(let o=0;o<i.length;o+=2){let f=i[o],l=i[o+1];if(l!==-1){let h=u.data[l];H1(f),h.contentQueries(2,e[l],l)}}}finally{rn(n)}}}function Jl(u,e){return u[ys]?u[r8][di]=e:u[ys]=e,u[r8]=e,e}function P5(u,e,i){H1(0);let n=rn(null);try{e(u,i)}finally{rn(n)}}function Nd(u){return u[vs]||(u[vs]=[])}function Rd(u){return u.cleanup||(u.cleanup=[])}function Md(u,e,i){return(u===null||ha(u))&&(i=HY(i[e.index])),i[or]}function Ld(u,e){let i=u[bo],n=i?i.get(Ea,null):null;n&&n.handleError(e)}function i6(u,e,i,n,o){for(let f=0;f<i.length;){let l=i[f++],h=i[f++],t=i[f++],c=e[l],a=u.data[l];Bd(a,c,n,h,t,o)}}function jd(u,e,i){let n=D9(e,u);yK(u[or],n,i)}function hJ(u,e){let i=pa(e,u),n=i[Rt];dJ(n,i);let o=i[ki];o!==null&&i[yo]===null&&(i[yo]=$1(o,i[bo])),a6(n,i,i[xr])}function dJ(u,e){for(let i=e.length;i<u.blueprint.length;i++)e.push(u.blueprint[i])}function a6(u,e,i){var n;G1(e);try{let o=u.viewQuery;o!==null&&P5(1,o,i);let f=u.template;f!==null&&yd(u,e,f,1,i),u.firstCreatePass&&(u.firstCreatePass=!1),(n=e[fi])==null||n.finishViewCreation(u),u.staticContentQueries&&Od(u,e),u.staticViewQueries&&P5(2,u.viewQuery,i);let l=u.components;l!==null&&fJ(e,l)}catch(o){throw u.firstCreatePass&&(u.incompleteFirstPass=!0,u.firstCreatePass=!1),o}finally{e[Pt]&=-5,q1()}}function fJ(u,e){for(let i=0;i<e.length;i++)hJ(u,e[i])}function Ql(u,e,i,n){let o=rn(null);try{let f=e.tView,l=u[Pt]&4096?4096:16,h=Kl(u,f,i,l,null,e,null,null,(n==null?void 0:n.injector)??null,(n==null?void 0:n.embeddedViewInjector)??null,(n==null?void 0:n.dehydratedView)??null),t=u[e.index];h[Hs]=t;let c=u[fi];return c!==null&&(h[fi]=c.createEmbeddedView(f)),a6(f,h,i),h}finally{rn(o)}}function Vd(u,e){let i=Fr+e;if(i<u.length)return u[i]}function _s(u,e){return!e||e.firstChild===null||K9(u)}function $l(u,e,i,n=!0){let o=e[Rt];if(_K(o,e,u,i),n){let l=S5(i,u),h=e[or],t=e6(h,u[ja]);t!==null&&xK(o,u[Ur],h,e,t,l)}let f=e[yo];f!==null&&f.firstChild!==null&&(f.firstChild=null)}function zd(u,e){let i=ws(u,e);return i!==void 0&&Yl(i[Rt],i),i}function gl(u,e,i,n,o=!1){for(;i!==null;){let f=e[i.index];f!==null&&n.push(wi(f)),Xi(f)&&pJ(f,n);let l=i.type;if(l&8)gl(u,e,i.child,n);else if(l&32){let h=u6(i,e),t;for(;t=h();)n.push(t)}else if(l&16){let h=Cd(e,i);if(Array.isArray(h))n.push(...h);else{let t=bs(e[pi]);gl(t[Rt],t,h,n,!0)}}i=o?i.projectionNext:i.next}return n}function pJ(u,e){for(let i=Fr;i<u.length;i++){let n=u[i],o=n[Rt].firstChild;o!==null&&gl(n[Rt],n,o,e)}u[ja]!==u[ki]&&e.push(u[ja])}var Ud=[];function EJ(u){return u[La]??CJ(u)}function CJ(u){let e=Ud.pop()??Object.create(AJ);return e.lView=u,e}function FJ(u){u.lView[La]!==u&&(u.lView=null,Ud.push(u))}var AJ=Wi(jt({},K7),{consumerIsAlwaysLive:!0,consumerMarkedDirty:u=>{ql(u.lView)},consumerOnSignalRead(){this.lView[La]=this}}),Hd=100;function Gd(u,e=!0,i=0){var f,l,h;let n=u[xi],o=n.rendererFactory;(f=o.begin)==null||f.call(o);try{gJ(u,i)}catch(t){throw e&&Ld(u,t),t}finally{(l=o.end)==null||l.call(o),(h=n.inlineEffectRunner)==null||h.flush()}}function gJ(u,e){I5(u,e);let i=0;for(;V1(u);){if(i===Hd)throw new ct(103,!1);i++,I5(u,1)}}function DJ(u,e,i,n){var t;let o=e[Pt];if((o&256)===256)return;let f=!1;(t=e[xi].inlineEffectRunner)==null||t.flush(),G1(e);let l=null,h=null;mJ(u)&&(h=EJ(e),l=yW(h));try{B9(e),tZ(u.bindingStartIndex),i!==null&&yd(u,e,i,2,n);let c=(o&3)===3;if(!f)if(c){let d=u.preOrderCheckHooks;d!==null&&K0(e,d,null)}else{let d=u.preOrderHooks;d!==null&&J0(e,d,0,null),Ic(e,0)}if(BJ(e),qd(e,0),u.contentQueries!==null&&Od(u,e),!f)if(c){let d=u.contentCheckHooks;d!==null&&K0(e,d)}else{let d=u.contentHooks;d!==null&&J0(e,d,1),Ic(e,1)}UK(u,e);let a=u.components;a!==null&&Xd(e,a,0);let s=u.viewQuery;if(s!==null&&P5(2,s,n),!f)if(c){let d=u.viewCheckHooks;d!==null&&K0(e,d)}else{let d=u.viewHooks;d!==null&&J0(e,d,2),Ic(e,2)}if(u.firstUpdatePass===!0&&(u.firstUpdatePass=!1),e[Pc]){for(let d of e[Pc])d();e[Pc]=null}f||(e[Pt]&=-73)}catch(c){throw ql(e),c}finally{h!==null&&(bW(h,l),FJ(h)),q1()}}function mJ(u){return u.type!==2}function qd(u,e){for(let i=Q9(u);i!==null;i=$9(i))for(let n=Fr;n<i.length;n++){let o=i[n];Wd(o,e)}}function BJ(u){for(let e=Q9(u);e!==null;e=$9(e)){if(!(e[Pt]&N1.HasTransplantedViews))continue;let i=e[xo];for(let n=0;n<i.length;n++){let o=i[n];o[Er],WY(o)}}}function vJ(u,e,i){let n=pa(e,u);Wd(n,i)}function Wd(u,e){j1(u)&&I5(u,e)}function I5(u,e){let i=u[Rt],n=u[Pt],o=u[La],f=!!(e===0&&n&16);if(f||(f=!!(n&64&&e===0)),f||(f=!!(n&1024)),f||(f=!!(o!=null&&o.dirty&&uh(o))),o&&(o.dirty=!1),u[Pt]&=-9217,f)DJ(i,u,i.template,u[xr]);else if(n&8192){qd(u,1);let l=i.components;l!==null&&Xd(u,l,1)}}function Xd(u,e,i){for(let n=0;n<e.length;n++)vJ(u,e[n],i)}function o6(u){var e;for((e=u[xi].changeDetectionScheduler)==null?void 0:e.notify();u;){u[Pt]|=64;let i=bs(u);if(MY(u)&&!i)return u;u=i}return null}var Ss=class{get rootNodes(){let u=this._lView,e=u[Rt];return gl(e,u,e.firstChild,[])}constructor(u,e,i=!0){this._lView=u,this._cdRefInjectingView=e,this.notifyErrorHandler=i,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[xr]}set context(u){this._lView[xr]=u}get destroyed(){return(this._lView[Pt]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let u=this._lView[Er];if(Xi(u)){let e=u[fl],i=e?e.indexOf(this):-1;i>-1&&(ws(u,i),hl(e,i))}this._attachedToViewContainer=!1}Yl(this._lView[Rt],this._lView)}onDestroy(u){v9(this._lView,u)}markForCheck(){o6(this._cdRefInjectingView||this._lView)}detach(){this._lView[Pt]&=-129}reattach(){y5(this._lView),this._lView[Pt]|=128}detectChanges(){this._lView[Pt]|=1024,Gd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ct(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,hd(this._lView[Rt],this._lView)}attachToAppRef(u){if(this._attachedToViewContainer)throw new ct(902,!1);this._appRef=u,y5(this._lView)}},ks=(()=>{const e=class e{};e.__NG_ELEMENT_ID__=xJ;let u=e;return u})(),yJ=ks,bJ=class extends yJ{constructor(u,e,i){super(),this._declarationLView=u,this._declarationTContainer=e,this.elementRef=i}get ssrId(){var u;return((u=this._declarationTContainer.tView)==null?void 0:u.ssrId)||null}createEmbeddedView(u,e){return this.createEmbeddedViewImpl(u,e)}createEmbeddedViewImpl(u,e,i){let n=Ql(this._declarationLView,this._declarationTContainer,u,{embeddedViewInjector:e,dehydratedView:i});return new Ss(n)}};function xJ(){return s6(Hr(),Yt())}function s6(u,e){return u.type&4?new bJ(e,u,No(u,e)):null}var wJ=()=>null;function Ps(u,e){return wJ()}var Yd=class{},_J=class{},Zd=class{};function SJ(u){let e=Error(`No component factory found for ${hi(u)}.`);return e[kJ]=u,e}var kJ="ngComponent",PJ=class{resolveComponentFactory(u){throw SJ(u)}},qa=(()=>{const e=class e{};e.NULL=new PJ;let u=e;return u})(),l6=class{},c6=(()=>{const e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>IJ();let u=e;return u})();function IJ(){let u=Yt(),e=Hr(),i=pa(e.index,u);return(Na(i)?i:u)[or]}var TJ=(()=>{const e=class e{};e.ɵprov=ft({token:e,providedIn:"root",factory:()=>null});let u=e;return u})(),Mc={},A8=new Set;function Ys(u){var e;A8.has(u)||(A8.add(u),(e=performance==null?void 0:performance.mark)==null||e.call(performance,"mark_feature_usage",{detail:{feature:u}}))}function g8(...u){}function OJ(){let u=typeof yi.requestAnimationFrame=="function",e=yi[u?"requestAnimationFrame":"setTimeout"],i=yi[u?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&i){let n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);let o=i[Zone.__symbol__("OriginalDelegate")];o&&(i=o)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:i}}var Sn=class T5{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Cr(!1),this.onMicrotaskEmpty=new Cr(!1),this.onStable=new Cr(!1),this.onError=new Cr(!1),typeof Zone>"u")throw new ct(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!n&&i,o.shouldCoalesceRunChangeDetection=n,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=OJ().nativeRequestAnimationFrame,MJ(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!T5.isInAngularZone())throw new ct(909,!1)}static assertNotInAngularZone(){if(T5.isInAngularZone())throw new ct(909,!1)}run(e,i,n){return this._inner.run(e,i,n)}runTask(e,i,n,o){let f=this._inner,l=f.scheduleEventTask("NgZoneEvent: "+o,e,NJ,g8,g8);try{return f.runTask(l,i,n)}finally{f.cancelTask(l)}}runGuarded(e,i,n){return this._inner.runGuarded(e,i,n)}runOutsideAngular(e){return this._outer.run(e)}},NJ={};function h6(u){if(u._nesting==0&&!u.hasPendingMicrotasks&&!u.isStable)try{u._nesting++,u.onMicrotaskEmpty.emit(null)}finally{if(u._nesting--,!u.hasPendingMicrotasks)try{u.runOutsideAngular(()=>u.onStable.emit(null))}finally{u.isStable=!0}}}function RJ(u){u.isCheckStableRunning||u.lastRequestAnimationFrameId!==-1||(u.lastRequestAnimationFrameId=u.nativeRequestAnimationFrame.call(yi,()=>{u.fakeTopEventTask||(u.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{u.lastRequestAnimationFrameId=-1,O5(u),u.isCheckStableRunning=!0,h6(u),u.isCheckStableRunning=!1},void 0,()=>{},()=>{})),u.fakeTopEventTask.invoke()}),O5(u))}function MJ(u){let e=()=>{RJ(u)};u._inner=u._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,n,o,f,l,h)=>{if(LJ(h))return i.invokeTask(o,f,l,h);try{return D8(u),i.invokeTask(o,f,l,h)}finally{(u.shouldCoalesceEventChangeDetection&&f.type==="eventTask"||u.shouldCoalesceRunChangeDetection)&&e(),m8(u)}},onInvoke:(i,n,o,f,l,h,t)=>{try{return D8(u),i.invoke(o,f,l,h,t)}finally{u.shouldCoalesceRunChangeDetection&&e(),m8(u)}},onHasTask:(i,n,o,f)=>{i.hasTask(o,f),n===o&&(f.change=="microTask"?(u._hasPendingMicrotasks=f.microTask,O5(u),h6(u)):f.change=="macroTask"&&(u.hasPendingMacrotasks=f.macroTask))},onHandleError:(i,n,o,f)=>(i.handleError(o,f),u.runOutsideAngular(()=>u.onError.emit(f)),!1)})}function O5(u){u._hasPendingMicrotasks||(u.shouldCoalesceEventChangeDetection||u.shouldCoalesceRunChangeDetection)&&u.lastRequestAnimationFrameId!==-1?u.hasPendingMicrotasks=!0:u.hasPendingMicrotasks=!1}function D8(u){u._nesting++,u.isStable&&(u.isStable=!1,u.onUnstable.emit(null))}function m8(u){u._nesting--,h6(u)}function LJ(u){var e;return!Array.isArray(u)||u.length!==1?!1:((e=u[0].data)==null?void 0:e.__ignore_ng_zone__)===!0}var Kd=(()=>{const e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){var n;this.executeInternalCallbacks(),(n=this.handler)==null||n.execute()}executeInternalCallbacks(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of n)o()}ngOnDestroy(){var n;(n=this.handler)==null||n.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.ɵprov=ft({token:e,providedIn:"root",factory:()=>new e});let u=e;return u})();function N5(u,e,i){let n=i?u.styles:null,o=i?u.classes:null,f=0;if(e!==null)for(let l=0;l<e.length;l++){let h=e[l];if(typeof h=="number")f=h;else if(f==1)o=E5(o,h);else if(f==2){let t=h,c=e[++l];n=E5(n,t+": "+c+";")}}i?u.styles=n:u.stylesWithoutHost=n,i?u.classes=o:u.classesWithoutHost=o}var jJ=class extends qa{constructor(u){super(),this.ngModule=u}resolveComponentFactory(u){let e=vo(u);return new Jd(e,this.ngModule)}};function B8(u){let e=[];for(let i in u){if(!u.hasOwnProperty(i))continue;let n=u[i];n!==void 0&&e.push({propName:Array.isArray(n)?n[0]:n,templateName:i})}return e}function VJ(u){let e=u.toLowerCase();return e==="svg"?zY:e==="math"?UY:null}var zJ=class{constructor(u,e){this.injector=u,this.parentInjector=e}get(u,e,i){i=zl(i);let n=this.injector.get(u,Mc,i);return n!==Mc||e===Mc?n:this.parentInjector.get(u,e,i)}},Jd=class extends Zd{get inputs(){let u=this.componentDef,e=u.inputTransforms,i=B8(u.inputs);if(e!==null)for(let n of i)e.hasOwnProperty(n.propName)&&(n.transform=e[n.propName]);return i}get outputs(){return B8(this.componentDef.outputs)}constructor(u,e){super(),this.componentDef=u,this.ngModule=e,this.componentType=u.type,this.selector=AY(u.selectors),this.ngContentSelectors=u.ngContentSelectors?u.ngContentSelectors:[],this.isBoundToModule=!!e}create(u,e,i,n){let o=rn(null);try{n=n||this.ngModule;let f=n instanceof Ma?n:n==null?void 0:n.injector;f&&this.componentDef.getStandaloneInjector!==null&&(f=this.componentDef.getStandaloneInjector(f)||f);let l=f?new zJ(u,f):u,h=l.get(l6,null);if(h===null)throw new ct(407,!1);let t=l.get(TJ,null),c=l.get(Kd,null),a=l.get(Yd,null),s={rendererFactory:h,sanitizer:t,inlineEffectRunner:null,afterRenderEventManager:c,changeDetectionScheduler:a},d=h.createRenderer(null,this.componentDef),p=this.componentDef.selectors[0][0]||"div",E=i?qK(d,i,this.componentDef.encapsulation,l):cd(d,p,VJ(p)),C=512;this.componentDef.signals?C|=4096:this.componentDef.onPush||(C|=16);let A=null;E!==null&&(A=$1(E,l,!0));let F=r6(0,null,null,1,0,null,null,null,null,null,null),D=Kl(null,F,null,C,null,null,s,d,l,null,A);G1(D);let g,B;try{let r=this.componentDef,m,x=null;r.findHostDirectiveDefs?(m=[],x=new Map,r.findHostDirectiveDefs(r,m,x),m.push(r)):m=[r];let M=HJ(D,E),k=GJ(M,E,r,m,D,s,d);B=L1(F,wr),E&&XJ(d,r,E,i),e!==void 0&&YJ(B,this.ngContentSelectors,e),g=WJ(k,r,m,x,D,[ZJ]),a6(F,D,null)}finally{q1()}return new UJ(this.componentType,g,No(B,D),D,B)}finally{rn(o)}}},UJ=class extends _J{constructor(u,e,i,n,o){super(),this.location=i,this._rootLView=n,this._tNode=o,this.previousInputValues=null,this.instance=e,this.hostView=this.changeDetectorRef=new Ss(n,void 0,!1),this.componentType=u}setInput(u,e){let i=this._tNode.inputs,n;if(i!==null&&(n=i[u])){if(this.previousInputValues??(this.previousInputValues=new Map),this.previousInputValues.has(u)&&Object.is(this.previousInputValues.get(u),e))return;let o=this._rootLView;i6(o[Rt],o,n,u,e),this.previousInputValues.set(u,e);let f=pa(this._tNode.index,o);o6(f)}}get injector(){return new fs(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(u){this.hostView.onDestroy(u)}};function HJ(u,e){let i=u[Rt],n=wr;return u[n]=e,Xs(i,n,2,"#host",null)}function GJ(u,e,i,n,o,f,l){let h=o[Rt];qJ(n,u,e,l);let t=null;e!==null&&(t=$1(e,o[bo]));let c=f.rendererFactory.createRenderer(e,i),a=16;i.signals?a=4096:i.onPush&&(a=64);let s=Kl(o,_d(i),null,a,o[u.index],u,f,c,null,null,t);return h.firstCreatePass&&k5(h,u,n.length-1),Jl(o,s),o[u.index]=s}function qJ(u,e,i,n){for(let o of u)e.mergedAttrs=Bs(e.mergedAttrs,o.hostAttrs);e.mergedAttrs!==null&&(N5(e,e.mergedAttrs,!0),i!==null&&gd(n,i,e))}function WJ(u,e,i,n,o,f){let l=Hr(),h=o[Rt],t=ni(l,o);Pd(h,o,l,i,null,n);for(let a=0;a<i.length;a++){let s=l.directiveStart+a,d=wo(o,h,s,l);za(d,o)}Id(h,o,l),t&&za(t,o);let c=wo(o,h,l.directiveStart+l.componentOffset,l);if(u[xr]=o[xr]=c,f!==null)for(let a of f)a(c,e);return bd(h,l,o),c}function XJ(u,e,i,n){if(n)g5(u,i,["ng-version","17.3.12"]);else{let{attrs:o,classes:f}=gY(e.selectors[0]);o&&g5(u,i,o),f&&f.length>0&&Ad(u,i,f.join(" "))}}function YJ(u,e,i){let n=u.projection=[];for(let o=0;o<e.length;o++){let f=i[o];n.push(f!=null?Array.from(f):null)}}function ZJ(){let u=Hr();Z1(Yt()[Rt],u)}var uc=(()=>{const e=class e{};e.__NG_ELEMENT_ID__=KJ;let u=e;return u})();function KJ(){let u=Hr();return $d(u,Yt())}var JJ=uc,Qd=class extends JJ{constructor(u,e,i){super(),this._lContainer=u,this._hostTNode=e,this._hostLView=i}get element(){return No(this._hostTNode,this._hostLView)}get injector(){return new fs(this._hostTNode,this._hostLView)}get parentInjector(){let u=J1(this._hostTNode,this._hostLView);if(L9(u)){let e=Cl(u,this._hostLView),i=El(u),n=e[Rt].data[i+8];return new fs(n,e)}else return new fs(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(u){let e=v8(this._lContainer);return e!==null&&e[u]||null}get length(){return this._lContainer.length-Fr}createEmbeddedView(u,e,i){let n,o;typeof i=="number"?n=i:i!=null&&(n=i.index,o=i.injector);let f=Ps(this._lContainer,u.ssrId),l=u.createEmbeddedViewImpl(e||{},o,f);return this.insertImpl(l,n,_s(this._hostTNode,f)),l}createComponent(u,e,i,n,o){let f=u&&!RY(u),l;if(f)l=e;else{let p=e||{};l=p.index,i=p.injector,n=p.projectableNodes,o=p.environmentInjector||p.ngModuleRef}let h=f?u:new Jd(vo(u)),t=i||this.parentInjector;if(!o&&h.ngModule==null){let p=(f?t:this.parentInjector).get(Ma,null);p&&(o=p)}let c=vo(h.componentType??{}),a=Ps(this._lContainer,(c==null?void 0:c.id)??null),s=null,d=h.create(t,n,s,o);return this.insertImpl(d.hostView,l,_s(this._hostTNode,a)),d}insert(u,e){return this.insertImpl(u,e,!0)}insertImpl(u,e,i){let n=u._lView;if(qY(n)){let l=this.indexOf(u);if(l!==-1)this.detach(l);else{let h=n[Er],t=new Qd(h,h[Ur],h[Er]);t.detach(t.indexOf(u))}}let o=this._adjustIndex(e),f=this._lContainer;return $l(f,n,o,i),u.attachToViewContainerRef(),Kh(Lc(f),o,u),u}move(u,e){return this.insert(u,e)}indexOf(u){let e=v8(this._lContainer);return e!==null?e.indexOf(u):-1}remove(u){let e=this._adjustIndex(u,-1),i=ws(this._lContainer,e);i&&(hl(Lc(this._lContainer),e),Yl(i[Rt],i))}detach(u){let e=this._adjustIndex(u,-1),i=ws(this._lContainer,e);return i&&hl(Lc(this._lContainer),e)!=null?new Ss(i):null}_adjustIndex(u,e=0){return u??this.length+e}};function v8(u){return u[fl]}function Lc(u){return u[fl]||(u[fl]=[])}function $d(u,e){let i,n=e[u.index];return Xi(n)?i=n:(i=Td(n,e,null,u),e[u.index]=i,Jl(e,i)),$J(i,e,u,n),new Qd(i,u,e)}function QJ(u,e){let i=u[or],n=i.createComment(""),o=ni(e,u),f=e6(i,o);return Al(i,f,n,OK(i,o),!1),n}var $J=uQ;function uQ(u,e,i,n){if(u[ja])return;let o;i.type&8?o=wi(n):o=QJ(e,i),u[ja]=o}var eQ=class u4{constructor(e){this.queryList=e,this.matches=null}clone(){return new u4(this.queryList)}setDirty(){this.queryList.setDirty()}},tQ=class e4{constructor(e=[]){this.queries=e}createEmbeddedView(e){let i=e.queries;if(i!==null){let n=e.contentQueries!==null?e.contentQueries[0]:i.length,o=[];for(let f=0;f<n;f++){let l=i.getByIndex(f),h=this.queries[l.indexInDeclarationView];o.push(h.clone())}return new e4(o)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}finishViewCreation(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let i=0;i<this.queries.length;i++)d6(e,i).matches!==null&&this.queries[i].setDirty()}},nQ=class{constructor(u,e,i=null){this.flags=e,this.read=i,typeof u=="string"?this.predicate=fQ(u):this.predicate=u}},rQ=class t4{constructor(e=[]){this.queries=e}elementStart(e,i){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,i)}elementEnd(e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementEnd(e)}embeddedTView(e){let i=null;for(let n=0;n<this.length;n++){let o=i!==null?i.length:0,f=this.getByIndex(n).embeddedTView(e,o);f&&(f.indexInDeclarationView=n,i!==null?i.push(f):i=[f])}return i!==null?new t4(i):null}template(e,i){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,i)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}},iQ=class n4{constructor(e,i=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=i}elementStart(e,i){this.isApplyingToNode(i)&&this.matchTNode(e,i)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,i){this.elementStart(e,i)}embeddedTView(e,i){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,i),new n4(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let i=this._declarationNodeIndex,n=e.parent;for(;n!==null&&n.type&8&&n.index!==i;)n=n.parent;return i===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(e,i){let n=this.metadata.predicate;if(Array.isArray(n))for(let o=0;o<n.length;o++){let f=n[o];this.matchTNodeWithReadOption(e,i,aQ(i,f)),this.matchTNodeWithReadOption(e,i,Q0(i,e,f,!1,!1))}else n===ks?i.type&4&&this.matchTNodeWithReadOption(e,i,-1):this.matchTNodeWithReadOption(e,i,Q0(i,e,n,!1,!1))}matchTNodeWithReadOption(e,i,n){if(n!==null){let o=this.metadata.read;if(o!==null)if(o===mr||o===uc||o===ks&&i.type&4)this.addMatch(i.index,-2);else{let f=Q0(i,e,o,!1,!1);f!==null&&this.addMatch(i.index,f)}else this.addMatch(i.index,n)}}addMatch(e,i){this.matches===null?this.matches=[e,i]:this.matches.push(e,i)}};function aQ(u,e){let i=u.localNames;if(i!==null){for(let n=0;n<i.length;n+=2)if(i[n]===e)return i[n+1]}return null}function oQ(u,e){return u.type&11?No(u,e):u.type&4?s6(u,e):null}function sQ(u,e,i,n){return i===-1?oQ(e,u):i===-2?lQ(u,e,n):wo(u,u[Rt],i,e)}function lQ(u,e,i){if(i===mr)return No(e,u);if(i===ks)return s6(e,u);if(i===uc)return $d(e,u)}function r4(u,e,i,n){let o=e[fi].queries[n];if(o.matches===null){let f=u.data,l=i.matches,h=[];for(let t=0;l!==null&&t<l.length;t+=2){let c=l[t];if(c<0)h.push(null);else{let a=f[c];h.push(sQ(e,a,l[t+1],i.metadata.read))}}o.matches=h}return o.matches}function R5(u,e,i,n){let o=u.queries.getByIndex(i),f=o.matches;if(f!==null){let l=r4(u,e,o,i);for(let h=0;h<f.length;h+=2){let t=f[h];if(t>0)n.push(l[h/2]);else{let c=f[h+1],a=e[-t];for(let s=Fr;s<a.length;s++){let d=a[s];d[Hs]===d[Er]&&R5(d[Rt],d,c,n)}if(a[xo]!==null){let s=a[xo];for(let d=0;d<s.length;d++){let p=s[d];R5(p[Rt],p,c,n)}}}}}return n}function cQ(u,e){return u[fi].queries[e].queryList}function hQ(u,e,i){let n=new OZ((i&4)===4);return WK(u,e,n,n.destroy),(e[fi]??(e[fi]=new tQ)).queries.push(new eQ(n))-1}function dQ(u,e,i){let n=Dr();return n.firstCreatePass&&(pQ(n,new nQ(u,e,i),-1),n.staticViewQueries=!0),hQ(n,Yt(),e)}function fQ(u){return u.split(",").map(e=>e.trim())}function pQ(u,e,i){u.queries===null&&(u.queries=new rQ),u.queries.track(new iQ(e,i))}function d6(u,e){return u.queries.getByIndex(e)}function EQ(u,e){let i=u[Rt],n=d6(i,e);return n.crossesNgTemplate?R5(i,u,e,[]):r4(i,u,n,e)}function CQ(u,e){Ys("NgSignals");let i=SW(u),n=i[go];return i.set=o=>d1(n,o),i.update=o=>kW(n,o),i.asReadonly=FQ.bind(i),i}function FQ(){let u=this[go];if(u.readonlyFn===void 0){let e=()=>this();e[go]=u,u.readonlyFn=e}return u.readonlyFn}function AQ(u){return Object.getPrototypeOf(u.prototype).constructor}function Ca(u){let e=AQ(u.type),i=!0,n=[u];for(;e;){let o;if(ha(u))o=e.ɵcmp||e.ɵdir;else{if(e.ɵcmp)throw new ct(903,!1);o=e.ɵdir}if(o){if(i){n.push(o);let l=u;l.inputs=_0(u.inputs),l.inputTransforms=_0(u.inputTransforms),l.declaredInputs=_0(u.declaredInputs),l.outputs=_0(u.outputs);let h=o.hostBindings;h&&vQ(u,h);let t=o.viewQuery,c=o.contentQueries;if(t&&mQ(u,t),c&&BQ(u,c),gQ(u,o),RX(u.outputs,o.outputs),ha(o)&&o.data.animation){let a=u.data;a.animation=(a.animation||[]).concat(o.data.animation)}}let f=o.features;if(f)for(let l=0;l<f.length;l++){let h=f[l];h&&h.ngInherit&&h(u),h===Ca&&(i=!1)}}e=Object.getPrototypeOf(e)}DQ(n)}function gQ(u,e){for(let i in e.inputs){if(!e.inputs.hasOwnProperty(i)||u.inputs.hasOwnProperty(i))continue;let n=e.inputs[i];if(n!==void 0&&(u.inputs[i]=n,u.declaredInputs[i]=e.declaredInputs[i],e.inputTransforms!==null)){let o=Array.isArray(n)?n[0]:n;if(!e.inputTransforms.hasOwnProperty(o))continue;u.inputTransforms??(u.inputTransforms={}),u.inputTransforms[o]=e.inputTransforms[o]}}}function DQ(u){let e=0,i=null;for(let n=u.length-1;n>=0;n--){let o=u[n];o.hostVars=e+=o.hostVars,o.hostAttrs=Bs(o.hostAttrs,i=Bs(i,o.hostAttrs))}}function _0(u){return u===Bo?{}:u===Nr?[]:u}function mQ(u,e){let i=u.viewQuery;i?u.viewQuery=(n,o)=>{e(n,o),i(n,o)}:u.viewQuery=e}function BQ(u,e){let i=u.contentQueries;i?u.contentQueries=(n,o,f)=>{e(n,o,f),i(n,o,f)}:u.contentQueries=e}function vQ(u,e){let i=u.hostBindings;i?u.hostBindings=(n,o)=>{e(n,o),i(n,o)}:u.hostBindings=e}function f6(u){let e=u.inputConfig,i={};for(let n in e)if(e.hasOwnProperty(n)){let o=e[n];Array.isArray(o)&&o[3]&&(i[n]=o[3])}u.inputTransforms=i}var M5=class{},i4=class extends M5{constructor(u){super(),this.componentFactoryResolver=new jJ(this),this.instance=null;let e=new T1([...u.providers,{provide:M5,useValue:this},{provide:qa,useValue:this.componentFactoryResolver}],u.parent||I1(),u.debugName,new Set(["environment"]));this.injector=e,u.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(u){this.injector.onDestroy(u)}};function yQ(u,e,i=null){return new i4({providers:u,parent:e,debugName:i,runEnvironmentInitializers:!0}).injector}var p6=(()=>{const e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new E1(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.ɵfac=function(n){return new(n||e)},e.ɵprov=ft({token:e,factory:e.ɵfac,providedIn:"root"});let u=e;return u})();function a4(u){return u!==null&&(typeof u=="function"||typeof u=="object")}function ec(u,e,i){return u[e]=i}function o4(u,e){return u[e]}function ui(u,e,i){let n=u[e];return Object.is(n,i)?!1:(u[e]=i,!0)}function Dl(u,e,i,n){let o=ui(u,e,i);return ui(u,e+1,n)||o}function bQ(u,e,i,n,o,f){let l=Dl(u,e,i,n);return Dl(u,e+2,o,f)||l}function xQ(u){return(u.flags&32)===32}function wQ(u,e,i,n,o,f,l,h,t){let c=e.consts,a=Xs(e,u,4,l||null,pl(c,h));kd(e,i,a,pl(c,t)),Z1(e,a);let s=a.tView=r6(2,a,n,o,f,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c,null);return e.queries!==null&&(e.queries.template(e,a),s.queries=e.queries.embeddedTView(a)),a}function Rr(u,e,i,n,o,f,l,h){let t=Yt(),c=Dr(),a=u+wr,s=c.firstCreatePass?wQ(a,c,t,e,i,n,o,f,l):c.data[a];Gs(s,!1);let d=_Q(c,t);X1()&&t6(c,t,d,s),za(d,t);let p=Td(d,t,d,s);return t[a]=p,Jl(t,p),R1(s)&&xd(c,t,s),l!=null&&wd(t,s,h),Rr}var _Q=SQ;function SQ(u,e,i,n){return Y1(!0),e[or].createComment("")}function Lo(u,e,i,n){let o=Yt(),f=To();if(ui(o,f,e)){Dr();let l=W1();oJ(l,o,u,e,i,n)}return Lo}function kQ(u,e,i,n){return ui(u,To(),i)?e+Ds(i)+n:ri}function PQ(u,e,i,n,o,f){let l=eZ(),h=Dl(u,l,i,o);return z1(2),h?e+Ds(i)+n+Ds(o)+f:ri}function S0(u,e){return u<<17|e<<2}function Ua(u){return u>>17&32767}function IQ(u){return(u&2)==2}function TQ(u,e){return u&131071|e<<17}function L5(u){return u|2}function _o(u){return(u&131068)>>2}function jc(u,e){return u&-131069|e<<2}function OQ(u){return(u&1)===1}function j5(u){return u|1}function NQ(u,e,i,n,o,f){let l=e.classBindings,h=Ua(l),t=_o(l);u[n]=i;let c=!1,a;if(Array.isArray(i)){let s=i;a=s[1],(a===null||Us(s,a)>0)&&(c=!0)}else a=i;if(o)if(t!==0){let s=Ua(u[h+1]);u[n+1]=S0(s,h),s!==0&&(u[s+1]=jc(u[s+1],n)),u[h+1]=TQ(u[h+1],n)}else u[n+1]=S0(h,0),h!==0&&(u[h+1]=jc(u[h+1],n)),h=n;else u[n+1]=S0(t,0),h===0?h=n:u[t+1]=jc(u[t+1],n),t=n;c&&(u[n+1]=L5(u[n+1])),y8(u,a,n,!0),y8(u,a,n,!1),RQ(e,a,u,n),l=S0(h,t),e.classBindings=l}function RQ(u,e,i,n,o){let f=u.residualClasses;f!=null&&typeof e=="string"&&Us(f,e)>=0&&(i[n+1]=j5(i[n+1]))}function y8(u,e,i,n){let o=u[i+1],f=e===null,l=n?Ua(o):_o(o),h=!1;for(;l!==0&&(h===!1||f);){let t=u[l],c=u[l+1];MQ(t,e)&&(h=!0,u[l+1]=n?j5(c):L5(c)),l=n?Ua(c):_o(c)}h&&(u[i+1]=n?L5(o):j5(o))}function MQ(u,e){return u===null||e==null||(Array.isArray(u)?u[1]:u)===e?!0:Array.isArray(u)&&typeof e=="string"?Us(u,e)>=0:!1}var ci={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function LQ(u){return u.substring(ci.key,ci.keyEnd)}function jQ(u){return VQ(u),s4(u,l4(u,0,ci.textEnd))}function s4(u,e){let i=ci.textEnd;return i===e?-1:(e=ci.keyEnd=zQ(u,ci.key=e,i),l4(u,e,i))}function VQ(u){ci.key=0,ci.keyEnd=0,ci.value=0,ci.valueEnd=0,ci.textEnd=u.length}function l4(u,e,i){for(;e<i&&u.charCodeAt(e)<=32;)e++;return e}function zQ(u,e,i){for(;e<i&&u.charCodeAt(e)>32;)e++;return e}function jo(u,e,i){let n=Yt(),o=To();if(ui(n,o,e)){let f=Dr(),l=W1();Sd(f,l,n,u,e,n[or],i,!1)}return jo}function V5(u,e,i,n,o){let f=e.inputs,l=o?"class":"style";i6(u,i,f[l],l,n)}function da(u,e){return HQ(u,e,null,!0),da}function E6(u){GQ(KQ,UQ,u,!0)}function UQ(u,e){for(let i=jQ(e);i>=0;i=s4(e,i))x1(u,LQ(e),!0)}function HQ(u,e,i,n){let o=Yt(),f=Dr(),l=z1(2);if(f.firstUpdatePass&&h4(f,u,l,n),e!==ri&&ui(o,l,e)){let h=f.data[Yi()];d4(f,h,o,o[or],u,o[l+1]=QQ(e),n,l)}}function GQ(u,e,i,n){let o=Dr(),f=z1(2);o.firstUpdatePass&&h4(o,null,f,n);let l=Yt();if(i!==ri&&ui(l,f,i)){let h=o.data[Yi()];if(f4(h)&&!c4(o,f)){let t=h.classesWithoutHost;t!==null&&(i=E5(t,i||"")),V5(o,h,l,i,n)}else JQ(o,h,l,l[or],l[f+1],l[f+1]=ZQ(u,e,i),n,f)}}function c4(u,e){return e>=u.expandoStartIndex}function h4(u,e,i,n){let o=u.data;if(o[i+1]===null){let f=o[Yi()],l=c4(u,i);f4(f)&&e===null&&!l&&(e=!1),e=qQ(o,f,e,n),NQ(o,f,e,i,l)}}function qQ(u,e,i,n){let o=U1(u),f=e.residualClasses;if(o===null)e.classBindings===0&&(i=Vc(null,u,e,i),i=Is(i,e.attrs),f=null);else{let l=e.directiveStylingLast;if(l===-1||u[l]!==o)if(i=Vc(o,u,e,i),f===null){let h=WQ(u,e);h!==void 0&&Array.isArray(h)&&(h=Vc(null,u,e,h[1]),h=Is(h,e.attrs),XQ(u,e,n,h))}else f=YQ(u,e)}return f!==void 0&&(e.residualClasses=f),i}function WQ(u,e,i){let n=e.classBindings;if(_o(n)!==0)return u[Ua(n)]}function XQ(u,e,i,n){let o=e.classBindings;u[Ua(o)]=n}function YQ(u,e,i){let n,o=e.directiveEnd;for(let f=1+e.directiveStylingLast;f<o;f++){let l=u[f].hostAttrs;n=Is(n,l)}return Is(n,e.attrs)}function Vc(u,e,i,n,o){let f=null,l=i.directiveEnd,h=i.directiveStylingLast;for(h===-1?h=i.directiveStart:h++;h<l&&(f=e[h],n=Is(n,f.hostAttrs),f!==u);)h++;return u!==null&&(i.directiveStylingLast=h),n}function Is(u,e,i){let n=1,o=-1;if(e!==null)for(let f=0;f<e.length;f++){let l=e[f];typeof l=="number"?o=l:o===n&&(Array.isArray(u)||(u=u===void 0?[]:["",u]),x1(u,l,!0))}return u===void 0?null:u}function ZQ(u,e,i){if(i==null||i==="")return Nr;let n=[],o=Ia(i);if(Array.isArray(o))for(let f=0;f<o.length;f++)u(n,o[f],!0);else if(typeof o=="object")for(let f in o)o.hasOwnProperty(f)&&u(n,f,o[f]);else typeof o=="string"&&e(n,o);return n}function KQ(u,e,i){let n=String(e);n!==""&&!n.includes(" ")&&x1(u,n,i)}function JQ(u,e,i,n,o,f,l,h){o===ri&&(o=Nr);let t=0,c=0,a=0<o.length?o[0]:null,s=0<f.length?f[0]:null;for(;a!==null||s!==null;){let d=t<o.length?o[t+1]:void 0,p=c<f.length?f[c+1]:void 0,E=null,C;a===s?(t+=2,c+=2,d!==p&&(E=s,C=p)):s===null||a!==null&&a<s?(t+=2,E=a):(c+=2,E=s,C=p),E!==null&&d4(u,e,i,n,E,C,l,h),a=t<o.length?o[t]:null,s=c<f.length?f[c]:null}}function d4(u,e,i,n,o,f,l,h){if(!(e.type&3))return;let t=u.data,c=t[h+1],a=OQ(c)?b8(t,e,i,o,_o(c)):void 0;if(!ml(a)){ml(f)||IQ(c)&&(f=b8(t,null,i,o,h));let s=D9(Yi(),i);VK(n,l,s,o,f)}}function b8(u,e,i,n,o,f){let l=e===null,h;for(;o>0;){let t=u[o],c=Array.isArray(t),a=c?t[1]:t,s=a===null,d=i[o+1];d===ri&&(d=s?Nr:void 0);let p=s?Sc(d,n):a===n?d:void 0;if(c&&!ml(p)&&(p=Sc(t,n)),ml(p)&&(h=p,l))return h;let E=u[o+1];o=l?Ua(E):_o(E)}if(e!==null){let t=e.residualClasses;t!=null&&(h=Sc(t,n))}return h}function ml(u){return u!==void 0}function QQ(u,e){return u==null||u===""||typeof u=="object"&&(u=hi(Ia(u))),u}function f4(u,e){return(u.flags&8)!==0}var $Q=class{destroy(u){}updateValue(u,e){}swap(u,e){let i=Math.min(u,e),n=Math.max(u,e),o=this.detach(n);if(n-i>1){let f=this.detach(i);this.attach(i,o),this.attach(n,f)}else this.attach(i,o)}move(u,e){this.attach(e,this.detach(u))}};function zc(u,e,i,n,o){return u===i&&Object.is(e,n)?1:Object.is(o(u,e),o(i,n))?-1:0}function u$(u,e,i){let n,o,f=0,l=u.length-1;if(Array.isArray(e)){let h=e.length-1;for(;f<=l&&f<=h;){let t=u.at(f),c=e[f],a=zc(f,t,f,c,i);if(a!==0){a<0&&u.updateValue(f,c),f++;continue}let s=u.at(l),d=e[h],p=zc(l,s,h,d,i);if(p!==0){p<0&&u.updateValue(l,d),l--,h--;continue}let E=i(f,t),C=i(l,s),A=i(f,c);if(Object.is(A,C)){let F=i(h,d);Object.is(F,E)?(u.swap(f,l),u.updateValue(l,d),h--,l--):u.move(l,f),u.updateValue(f,c),f++;continue}if(n??(n=new _8),o??(o=w8(u,f,l,i)),z5(u,n,f,A))u.updateValue(f,c),f++,l++;else if(o.has(A))n.set(E,u.detach(f)),l--;else{let F=u.create(f,e[f]);u.attach(f,F),f++,l++}}for(;f<=h;)x8(u,n,i,f,e[f]),f++}else if(e!=null){let h=e[Symbol.iterator](),t=h.next();for(;!t.done&&f<=l;){let c=u.at(f),a=t.value,s=zc(f,c,f,a,i);if(s!==0)s<0&&u.updateValue(f,a),f++,t=h.next();else{n??(n=new _8),o??(o=w8(u,f,l,i));let d=i(f,a);if(z5(u,n,f,d))u.updateValue(f,a),f++,l++,t=h.next();else if(!o.has(d))u.attach(f,u.create(f,a)),f++,l++,t=h.next();else{let p=i(f,c);n.set(p,u.detach(f)),l--}}}for(;!t.done;)x8(u,n,i,u.length,t.value),t=h.next()}for(;f<=l;)u.destroy(u.detach(l--));n==null||n.forEach(h=>{u.destroy(h)})}function z5(u,e,i,n){return e!==void 0&&e.has(n)?(u.attach(i,e.get(n)),e.delete(n),!0):!1}function x8(u,e,i,n,o){if(z5(u,e,n,i(n,o)))u.updateValue(n,o);else{let f=u.create(n,o);u.attach(n,f)}}function w8(u,e,i,n){let o=new Set;for(let f=e;f<=i;f++)o.add(n(f,u.at(f)));return o}var _8=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(u){return this.kvMap.has(u)}delete(u){if(!this.has(u))return!1;let e=this.kvMap.get(u);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(u,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(u),!0}get(u){return this.kvMap.get(u)}set(u,e){if(this.kvMap.has(u)){let i=this.kvMap.get(u);this._vMap===void 0&&(this._vMap=new Map);let n=this._vMap;for(;n.has(i);)i=n.get(i);n.set(i,e)}else this.kvMap.set(u,e)}forEach(u){for(let[e,i]of this.kvMap)if(u(i,e),this._vMap!==void 0){let n=this._vMap;for(;n.has(i);)i=n.get(i),u(i,e)}}};function Kr(u,e,i){Ys("NgControlFlow");let n=Yt(),o=To(),f=U5(n,wr+u),l=0;if(ui(n,o,e)){let h=rn(null);try{if(zd(f,l),e!==-1){let t=H5(n[Rt],wr+e),c=Ps(f,t.tView.ssrId),a=Ql(n,t,i,{dehydratedView:c});$l(f,a,l,_s(t,c))}}finally{rn(h)}}else{let h=Vd(f,l);h!==void 0&&(h[xr]=i)}}var e$=class{constructor(u,e,i){this.lContainer=u,this.$implicit=e,this.$index=i}get $count(){return this.lContainer.length-Fr}};function t$(u){return u}function n$(u,e){return e}var r$=class{constructor(u,e,i){this.hasEmptyBlock=u,this.trackByFn=e,this.liveCollection=i}};function p4(u,e,i,n,o,f,l,h,t,c,a,s,d){Ys("NgControlFlow");let p=t!==void 0,E=Yt(),C=l,A=new r$(p,C);E[wr+u]=A,Rr(u+1,e,i,n,o,f)}var i$=class extends $Q{constructor(u,e,i){super(),this.lContainer=u,this.hostLView=e,this.templateTNode=i,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Fr}at(u){return this.getLView(u)[xr].$implicit}attach(u,e){let i=e[yo];this.needsIndexUpdate||(this.needsIndexUpdate=u!==this.length),$l(this.lContainer,e,u,_s(this.templateTNode,i))}detach(u){return this.needsIndexUpdate||(this.needsIndexUpdate=u!==this.length-1),a$(this.lContainer,u)}create(u,e){let i=Ps(this.lContainer,this.templateTNode.tView.ssrId);return Ql(this.hostLView,this.templateTNode,new e$(this.lContainer,e,u),{dehydratedView:i})}destroy(u){Yl(u[Rt],u)}updateValue(u,e){this.getLView(u)[xr].$implicit=e}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let u=0;u<this.length;u++)this.getLView(u)[xr].$index=u}getLView(u){return o$(this.lContainer,u)}};function E4(u){let e=rn(null),i=Yi();try{let n=Yt(),o=n[Rt],f=n[i];if(f.liveCollection===void 0){let h=i+1,t=U5(n,h),c=H5(o,h);f.liveCollection=new i$(t,n,c)}else f.liveCollection.reset();let l=f.liveCollection;if(u$(l,u,f.trackByFn),l.updateIndexes(),f.hasEmptyBlock){let h=To(),t=l.length===0;if(ui(n,h,t)){let c=i+2,a=U5(n,c);if(t){let s=H5(o,c),d=Ps(a,s.tView.ssrId),p=Ql(n,s,void 0,{dehydratedView:d});$l(a,p,0,_s(s,d))}else zd(a,0)}}}finally{rn(e)}}function U5(u,e){return u[e]}function a$(u,e){return ws(u,e)}function o$(u,e){return Vd(u,e)}function H5(u,e){return L1(u,e)}function s$(u,e,i,n,o,f){let l=e.consts,h=pl(l,o),t=Xs(e,u,2,n,h);return kd(e,i,t,pl(l,f)),t.attrs!==null&&N5(t,t.attrs,!1),t.mergedAttrs!==null&&N5(t,t.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,t),t}function tn(u,e,i,n){let o=Yt(),f=Dr(),l=wr+u,h=o[or],t=f.firstCreatePass?s$(l,f,o,e,i,n):f.data[l],c=l$(f,o,t,h,e);o[l]=c;let a=R1(t);return Gs(t,!0),gd(h,c,t),!xQ(t)&&X1()&&t6(f,o,c,t),ZY()===0&&za(c,o),KY(),a&&(xd(f,o,t),bd(f,t,o)),n!==null&&wd(o,t),tn}function nn(){let u=Hr();_9()?S9():(u=u.parent,Gs(u,!1));let e=u;QY(e)&&$Y(),JY();let i=Dr();return i.firstCreatePass&&(Z1(i,u),f9(u)&&i.queries.elementEnd(u)),e.classesWithoutHost!=null&&dZ(e)&&V5(i,e,Yt(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&fZ(e)&&V5(i,e,Yt(),e.stylesWithoutHost,!1),nn}function zr(u,e,i,n){return tn(u,e,i,n),nn(),zr}var l$=(u,e,i,n,o,f)=>(Y1(!0),cd(n,o,sZ()));function C4(){return Yt()}function F4(u,e,i){let n=Yt(),o=To();if(ui(n,o,e)){let f=Dr(),l=W1(),h=U1(f.data),t=Md(h,l,n);Sd(f,l,n,u,e,t,i,!0)}return F4}var ya=void 0;function c$(u){let e=Math.floor(Math.abs(u)),i=u.toString().replace(/^[^.]*\.?/,"").length;return e===1&&i===0?1:5}var h$=["en",[["a","p"],["AM","PM"],ya],[["AM","PM"],ya,ya],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],ya,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],ya,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",ya,"{1} 'at' {0}",ya],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",c$],Uc={};function Ei(u){let e=d$(u),i=S8(e);if(i)return i;let n=e.split("-")[0];if(i=S8(n),i)return i;if(n==="en")return h$;throw new ct(701,!1)}function S8(u){return u in Uc||(Uc[u]=yi.ng&&yi.ng.common&&yi.ng.common.locales&&yi.ng.common.locales[u]),Uc[u]}var dr=function(u){return u[u.LocaleId=0]="LocaleId",u[u.DayPeriodsFormat=1]="DayPeriodsFormat",u[u.DayPeriodsStandalone=2]="DayPeriodsStandalone",u[u.DaysFormat=3]="DaysFormat",u[u.DaysStandalone=4]="DaysStandalone",u[u.MonthsFormat=5]="MonthsFormat",u[u.MonthsStandalone=6]="MonthsStandalone",u[u.Eras=7]="Eras",u[u.FirstDayOfWeek=8]="FirstDayOfWeek",u[u.WeekendRange=9]="WeekendRange",u[u.DateFormat=10]="DateFormat",u[u.TimeFormat=11]="TimeFormat",u[u.DateTimeFormat=12]="DateTimeFormat",u[u.NumberSymbols=13]="NumberSymbols",u[u.NumberFormats=14]="NumberFormats",u[u.CurrencyCode=15]="CurrencyCode",u[u.CurrencySymbol=16]="CurrencySymbol",u[u.CurrencyName=17]="CurrencyName",u[u.Currencies=18]="Currencies",u[u.Directionality=19]="Directionality",u[u.PluralCase=20]="PluralCase",u[u.ExtraData=21]="ExtraData",u}(dr||{});function d$(u){return u.toLowerCase().replace(/_/g,"-")}var G5="en-US";function f$(u){typeof u=="string"&&u.toLowerCase().replace(/_/g,"-")}function C6(u,e,i,n){let o=Yt(),f=Dr(),l=Hr();return g4(f,o,o[or],l,u,e,n),C6}function A4(u,e){let i=Hr(),n=Yt(),o=Dr(),f=U1(o.data),l=Md(f,i,n);return g4(o,n,l,i,u,e),A4}function p$(u,e,i,n){let o=u.cleanup;if(o!=null)for(let f=0;f<o.length-1;f+=2){let l=o[f];if(l===i&&o[f+1]===n){let h=e[vs],t=o[f+2];return h.length>t?h[t]:null}typeof l=="string"&&(f+=2)}return null}function g4(u,e,i,n,o,f,l){let h=R1(n),t=u.firstCreatePass&&Rd(u),c=e[xr],a=Nd(e),s=!0;if(n.type&3||l){let E=ni(n,e),C=l?l(E):E,A=a.length,F=l?g=>l(wi(g[n.index])):n.index,D=null;if(!l&&h&&(D=p$(u,e,o,n.index)),D!==null){let g=D.__ngLastListenerFn__||D;g.__ngNextListenerFn__=f,D.__ngLastListenerFn__=f,s=!1}else{f=P8(n,e,c,f);let g=i.listen(C,o,f);a.push(f,g),t&&t.push(o,F,A,A+1)}}else f=P8(n,e,c,f);let d=n.outputs,p;if(s&&d!==null&&(p=d[o])){let E=p.length;if(E)for(let C=0;C<E;C+=2){let A=p[C],F=p[C+1],D=e[A][F].subscribe(f),g=a.length;a.push(f,D),t&&t.push(o,n.index,g,-(g+1))}}}function k8(u,e,i,n){let o=rn(null);try{return g9(6,e,i),i(n)!==!1}catch(f){return Ld(u,f),!1}finally{rn(o)}}function P8(u,e,i,n,o){return function f(l){if(l===Function)return n;let h=u.componentOffset>-1?pa(u.index,e):e;o6(h);let t=k8(e,i,n,l),c=f.__ngNextListenerFn__;for(;c;)t=k8(e,i,c,l)&&t,c=c.__ngNextListenerFn__;return t}}function Ar(u=1){return oZ(u)}function E$(u,e){let i=null,n=fY(u);for(let o=0;o<e.length;o++){let f=e[o];if(f==="*"){i=o;continue}if(n===null?n9(u,f,!0):CY(n,f))return o}return i}function Vo(u){let e=Yt()[pi][Ur];if(!e.projection){let i=u?u.length:1,n=e.projection=rY(i,null),o=n.slice(),f=e.child;for(;f!==null;){let l=u?E$(f,u):0;l!==null&&(o[l]?o[l].projectionNext=f:n[l]=f,o[l]=f),f=f.next}}}function Qr(u,e=0,i){let n=Yt(),o=Dr(),f=Xs(o,wr+u,16,null,null);f.projection===null&&(f.projection=e),S9(),(!n[yo]||y9())&&(f.flags&32)!==32&&LK(o,n,f)}function I8(u,e,i){dQ(u,e,i)}function T8(u){let e=Yt(),i=Dr(),n=k9();H1(n+1);let o=d6(i,n);if(u.dirty&&GY(e)===((o.metadata.flags&2)===2)){if(o.matches===null)u.reset([]);else{let f=EQ(e,n);u.reset(f,PZ),u.notifyOnChanges()}return!0}return!1}function O8(){return cQ(Yt(),k9())}function C$(u,e,i,n){i>=u.data.length&&(u.data[i]=null,u.blueprint[i]=null),e[i]=n}function bn(u,e=""){let i=Yt(),n=Dr(),o=u+wr,f=n.firstCreatePass?Xs(n,o,1,e,null):n.data[o],l=F$(n,i,f,e);i[o]=l,X1()&&t6(n,i,l,f),Gs(f,!1)}var F$=(u,e,i,n,o)=>(Y1(!0),vK(e[or],n));function ar(u){return Gi("",u,""),ar}function Gi(u,e,i){let n=Yt(),o=kQ(n,u,e,i);return o!==ri&&jd(n,Yi(),o),Gi}function F6(u,e,i,n,o){let f=Yt(),l=PQ(f,u,e,i,n,o);return l!==ri&&jd(f,Yi(),l),F6}var A$=(()=>{const e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let o=s9(!1,n.type),f=o.length>0?yQ([o],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,f)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};e.ɵprov=ft({token:e,providedIn:"environment",factory:()=>new e(Le(Ma))});let u=e;return u})();function Ci(u){Ys("NgStandalone"),u.getStandaloneInjector=e=>e.get(A$).getOrCreateStandaloneInjector(u)}function g$(u,e,i){let n=qs()+u,o=Yt();return o[n]===ri?ec(o,n,e()):o4(o,n)}function D$(u,e,i,n){return m4(Yt(),qs(),u,e,i,n)}function m$(u,e,i,n,o,f,l,h){let t=qs()+u,c=Yt(),a=bQ(c,t,i,n,o,f);return ui(c,t+4,l)||a?ec(c,t+5,e(i,n,o,f,l)):o4(c,t+5)}function D4(u,e){let i=u[e];return i===ri?void 0:i}function m4(u,e,i,n,o,f){let l=e+i;return ui(u,l,o)?ec(u,l+1,f?n.call(f,o):n(o)):D4(u,l+1)}function B$(u,e,i,n,o,f,l){let h=e+i;return Dl(u,h,o,f)?ec(u,h+2,l?n.call(l,o,f):n(o,f)):D4(u,h+2)}function Hn(u,e){let i=Dr(),n,o=u+wr;i.firstCreatePass?(n=v$(e,i.pipeRegistry),i.data[o]=n,n.onDestroy&&(i.destroyHooks??(i.destroyHooks=[])).push(o,n.onDestroy)):n=i.data[o];let f=n.factory||(n.factory=Ra(n.type)),l=Or(Nt);try{let h=Fl(!1),t=f();return Fl(h),C$(i,Yt(),o,t),t}finally{Or(l)}}function v$(u,e){if(e)for(let i=e.length-1;i>=0;i--){let n=e[i];if(u===n.name)return n}}function Yn(u,e,i){let n=u+wr,o=Yt(),f=m9(o,n);return v4(o,n)?m4(o,qs(),e,f.transform,i,f):f.transform(i)}function B4(u,e,i,n){let o=u+wr,f=Yt(),l=m9(f,o);return v4(f,o)?B$(f,qs(),e,l.transform,i,n,l):l.transform(i,n)}function v4(u,e){return u[Rt].data[e].pure}var y$=new xt("");function A6(u){return!!u&&typeof u.then=="function"}function y4(u){return!!u&&typeof u.subscribe=="function"}var b$=new xt(""),b4=(()=>{const e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,o)=>{this.resolve=n,this.reject=o}),this.appInits=ht(b$,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let f of this.appInits){let l=f();if(A6(l))n.push(l);else if(y4(l)){let h=new Promise((t,c)=>{l.subscribe({complete:t,error:c})});n.push(h)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{o()}).catch(f=>{this.reject(f)}),n.length===0&&o(),this.initialized=!0}};e.ɵfac=function(n){return new(n||e)},e.ɵprov=ft({token:e,factory:e.ɵfac,providedIn:"root"});let u=e;return u})(),x$=new xt("");function w$(){_W(()=>{throw new ct(600,!1)})}function _$(u){return u.isBoundToModule}function S$(u,e,i){try{let n=i();return A6(n)?n.catch(o=>{throw e.runOutsideAngular(()=>u.handleError(o)),o}):n}catch(n){throw e.runOutsideAngular(()=>u.handleError(n)),n}}var tc=(()=>{const e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=ht(Y9),this.afterRenderEffectManager=ht(Kd),this.externalTestViews=new Set,this.beforeRender=new Un,this.afterTick=new Un,this.componentTypes=[],this.components=[],this.isStable=ht(p6).hasPendingTasks.pipe(cr(n=>!n)),this._injector=ht(Ma)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,o){let f=n instanceof Zd;if(!this._injector.get(b4).done){!f&&BY(n);let d=!1;throw new ct(405,d)}let l;f?l=n:l=this._injector.get(qa).resolveComponentFactory(n),this.componentTypes.push(l.componentType);let h=_$(l)?void 0:this._injector.get(M5),t=o||l.selector,c=l.create(sa.NULL,[],t,h),a=c.location.nativeElement,s=c.injector.get(y$,null);return s==null||s.registerApplication(a),c.onDestroy(()=>{this.detachView(c.hostView),Hc(this.components,c),s==null||s.unregisterApplication(a)}),this._loadComponent(c),c}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new ct(101,!1);let o=rn(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(f){this.internalErrorHandler(f)}finally{this.afterTick.next(),this._runningTick=!1,rn(o)}}detectChangesInAttachedViews(n){let o=0,f=this.afterRenderEffectManager;for(;;){if(o===Hd)throw new ct(103,!1);if(n){let l=o===0;this.beforeRender.next(l);for(let{_lView:h,notifyErrorHandler:t}of this._views)k$(h,l,t)}if(o++,f.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:l})=>q5(l))&&(f.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:l})=>q5(l))))break}}attachView(n){let o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){let o=n;Hc(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let o=this._injector.get(x$,[]);[...this._bootstrapListeners,...o].forEach(f=>f(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Hc(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new ct(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.ɵfac=function(n){return new(n||e)},e.ɵprov=ft({token:e,factory:e.ɵfac,providedIn:"root"});let u=e;return u})();function Hc(u,e){let i=u.indexOf(e);i>-1&&u.splice(i,1)}function k$(u,e,i){!e&&!q5(u)||P$(u,i,e)}function q5(u){return V1(u)}function P$(u,e,i){let n;i?(n=0,u[Pt]|=1024):u[Pt]&64?n=0:n=1,Gd(u,e,n)}var I$=(()=>{const e=class e{constructor(){this.zone=ht(Sn),this.applicationRef=ht(tc)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){var n;(n=this._onMicrotaskEmptySubscription)==null||n.unsubscribe()}};e.ɵfac=function(n){return new(n||e)},e.ɵprov=ft({token:e,factory:e.ɵfac,providedIn:"root"});let u=e;return u})();function T$(u){return[{provide:Sn,useFactory:u},{provide:dl,multi:!0,useFactory:()=>{let e=ht(I$,{optional:!0});return()=>e.initialize()}},{provide:dl,multi:!0,useFactory:()=>{let e=ht(M$);return()=>{e.initialize()}}},{provide:Y9,useFactory:O$}]}function O$(){let u=ht(Sn),e=ht(Ea);return i=>u.runOutsideAngular(()=>e.handleError(i))}function N$(u){let e=T$(()=>new Sn(R$(u)));return S1([[],e])}function R$(u){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(u==null?void 0:u.eventCoalescing)??!1,shouldCoalesceRunChangeDetection:(u==null?void 0:u.runCoalescing)??!1}}var M$=(()=>{const e=class e{constructor(){this.subscription=new $r,this.initialized=!1,this.zone=ht(Sn),this.pendingTasks=ht(p6)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Sn.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Sn.assertInAngularZone(),n??(n=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.ɵfac=function(n){return new(n||e)},e.ɵprov=ft({token:e,factory:e.ɵfac,providedIn:"root"});let u=e;return u})();function L$(){return typeof $localize<"u"&&$localize.locale||G5}var g6=new xt("",{providedIn:"root",factory:()=>ht(g6,cn.Optional|cn.SkipSelf)||L$()}),x4=new xt(""),ul=null;function j$(u=[],e){return sa.create({name:e,providers:[{provide:P1,useValue:"platform"},{provide:x4,useValue:new Set([()=>ul=null])},...u]})}function V$(u=[]){if(ul)return ul;let e=j$(u);return ul=e,w$(),z$(e),e}function z$(u){var e;(e=u.get(td,null))==null||e.forEach(i=>i())}function U$(){return!1}var Zs=(()=>{const e=class e{};e.__NG_ELEMENT_ID__=H$;let u=e;return u})();function H$(u){return G$(Hr(),Yt(),(u&16)===16)}function G$(u,e,i){if(Gl(u)&&!i){let n=pa(u.index,e);return new Ss(n,n)}else if(u.type&47){let n=e[pi];return new Ss(n,e)}return null}var q$=class{constructor(){}supports(u){return u instanceof Map||a4(u)}create(){return new W$}},W$=class{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(u){let e;for(e=this._mapHead;e!==null;e=e._next)u(e)}forEachPreviousItem(u){let e;for(e=this._previousMapHead;e!==null;e=e._nextPrevious)u(e)}forEachChangedItem(u){let e;for(e=this._changesHead;e!==null;e=e._nextChanged)u(e)}forEachAddedItem(u){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)u(e)}forEachRemovedItem(u){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)u(e)}diff(u){if(!u)u=new Map;else if(!(u instanceof Map||a4(u)))throw new ct(900,!1);return this.check(u)?this:null}onDestroy(){}check(u){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(u,(i,n)=>{if(e&&e.key===n)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{let o=this._getOrCreateRecordForKey(n,i);e=this._insertBeforeOrAppend(e,o)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;i!==null;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(u,e){if(u){let i=u._prev;return e._next=u,e._prev=i,u._prev=e,i&&(i._next=e),u===this._mapHead&&(this._mapHead=e),this._appendAfter=u,u}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(u,e){if(this._records.has(u)){let n=this._records.get(u);this._maybeAddToChanges(n,e);let o=n._prev,f=n._next;return o&&(o._next=f),f&&(f._prev=o),n._next=null,n._prev=null,n}let i=new X$(u);return this._records.set(u,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let u;for(this._previousMapHead=this._mapHead,u=this._previousMapHead;u!==null;u=u._next)u._nextPrevious=u._next;for(u=this._changesHead;u!==null;u=u._nextChanged)u.previousValue=u.currentValue;for(u=this._additionsHead;u!=null;u=u._nextAdded)u.previousValue=u.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(u,e){Object.is(e,u.currentValue)||(u.previousValue=u.currentValue,u.currentValue=e,this._addToChanges(u))}_addToAdditions(u){this._additionsHead===null?this._additionsHead=this._additionsTail=u:(this._additionsTail._nextAdded=u,this._additionsTail=u)}_addToChanges(u){this._changesHead===null?this._changesHead=this._changesTail=u:(this._changesTail._nextChanged=u,this._changesTail=u)}_forEach(u,e){u instanceof Map?u.forEach(e):Object.keys(u).forEach(i=>e(u[i],i))}},X$=class{constructor(u){this.key=u,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function N8(){return new w4([new q$])}var w4=(()=>{const e=class e{constructor(n){this.factories=n}static create(n,o){if(o){let f=o.factories.slice();n=n.concat(f)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||N8()),deps:[[e,new eY,new uY]]}}find(n){let o=this.factories.find(f=>f.supports(n));if(o)return o;throw new ct(901,!1)}};e.ɵprov=ft({token:e,providedIn:"root",factory:N8});let u=e;return u})();function Y$(u){try{let{rootComponent:e,appProviders:i,platformProviders:n}=u,o=V$(n),f=[N$(),...i||[]],l=new i4({providers:f,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,h=l.get(Sn);return h.run(()=>{l.resolveInjectorInitializers();let t=l.get(Ea,null),c;h.runOutsideAngular(()=>{c=h.onError.subscribe({next:d=>{t.handleError(d)}})});let a=()=>l.destroy(),s=o.get(x4);return s.add(a),l.onDestroy(()=>{c.unsubscribe(),s.delete(a)}),S$(t,h,()=>{let d=l.get(b4);return d.runInitializers(),d.donePromise.then(()=>{let p=l.get(g6,G5);f$(p||G5);let E=l.get(tc);return e!==void 0&&E.bootstrap(e),E})})})}catch(e){return Promise.reject(e)}}function ls(u){return typeof u=="boolean"?u:u!=null&&u!=="false"}function Z$(u,e=NaN){return!isNaN(parseFloat(u))&&!isNaN(Number(u))?Number(u):e}function R8(u){let e=rn(null);try{return u()}finally{rn(e)}}var Bl={schedule(u,e){let i=setTimeout(u,e);return()=>clearTimeout(i)},scheduleBeforeRender(u){if(typeof window>"u")return Bl.schedule(u,0);if(typeof window.requestAnimationFrame>"u")return Bl.schedule(u,16);let e=window.requestAnimationFrame(u);return()=>window.cancelAnimationFrame(e)}};function K$(u){return u.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}function J$(u){return!!u&&u.nodeType===Node.ELEMENT_NODE}function Q$(u){return typeof u=="function"}var Gc;function $$(u,e){if(!Gc){let i=Element.prototype;Gc=i.matches||i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}return u.nodeType===Node.ELEMENT_NODE?Gc.call(u,e):!1}function uuu(u,e){return u===e||u!==u&&e!==e}function euu(u){let e={};return u.forEach(({propName:i,templateName:n,transform:o})=>{e[K$(n)]=[i,o]}),e}function tuu(u,e){return e.get(qa).resolveComponentFactory(u).inputs}function nuu(u,e){let i=u.childNodes,n=e.map(()=>[]),o=-1;e.some((f,l)=>f==="*"?(o=l,!0):!1);for(let f=0,l=i.length;f<l;++f){let h=i[f],t=ruu(h,e,o);t!==-1&&n[t].push(h)}return n}function ruu(u,e,i){let n=i;return J$(u)&&e.some((o,f)=>o!=="*"&&$$(u,o)?(n=f,!0):!1),n}var iuu=10,auu=class{constructor(u,e){this.componentFactory=e.get(qa).resolveComponentFactory(u)}create(u){return new ouu(this.componentFactory,u)}},ouu=class{constructor(u,e){this.componentFactory=u,this.injector=e,this.eventEmitters=new F1(1),this.events=this.eventEmitters.pipe(sl(i=>Ph(...i))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:i})=>i)),this.ngZone=this.injector.get(Sn),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(u){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(u)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=Bl.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},iuu))})}getInputValue(u){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(u):this.componentRef.instance[u])}setInputValue(u,e,i){this.runInZone(()=>{var n;if(i&&(e=i.call((n=this.componentRef)==null?void 0:n.instance,e)),this.componentRef===null){this.initialInputValues.set(u,e);return}uuu(e,this.getInputValue(u))&&!(e===void 0&&this.unchangedInputs.has(u))||(this.recordInputChange(u,e),this.unchangedInputs.delete(u),this.hasInputChanges=!0,this.componentRef.instance[u]=e,this.scheduleDetectChanges())})}initializeComponent(u){let e=sa.create({providers:[],parent:this.injector}),i=nuu(u,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(e,i,u),this.viewChangeDetectorRef=this.componentRef.injector.get(Zs),this.implementsOnChanges=Q$(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(tc).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:u,transform:e})=>{this.initialInputValues.has(u)&&this.setInputValue(u,this.initialInputValues.get(u),e)}),this.initialInputValues.clear()}initializeOutputs(u){let e=this.componentFactory.outputs.map(({propName:i,templateName:n})=>u.instance[i].pipe(cr(o=>({name:n,value:o}))));this.eventEmitters.next(e)}callNgOnChanges(u){if(!this.implementsOnChanges||this.inputChanges===null)return;let e=this.inputChanges;this.inputChanges=null,u.instance.ngOnChanges(e)}markViewForCheck(u){this.hasInputChanges&&(this.hasInputChanges=!1,u.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Bl.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(u,e){if(!this.implementsOnChanges)return;this.inputChanges===null&&(this.inputChanges={});let i=this.inputChanges[u];if(i){i.currentValue=e;return}let n=this.unchangedInputs.has(u),o=n?void 0:this.getInputValue(u);this.inputChanges[u]=new p9(o,e,n)}detectChanges(){this.componentRef!==null&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(u){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(u):u()}},suu=class extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}};function luu(u,e){let i=tuu(u,e.injector),n=e.strategyFactory||new auu(u,e.injector),o=euu(i);const l=class l extends suu{get ngElementStrategy(){if(!this._ngElementStrategy){let t=this._ngElementStrategy=n.create(this.injector||e.injector);i.forEach(({propName:c,transform:a})=>{if(!this.hasOwnProperty(c))return;let s=this[c];delete this[c],t.setInputValue(c,s,a)})}return this._ngElementStrategy}constructor(t){super(),this.injector=t}attributeChangedCallback(t,c,a,s){let[d,p]=o[t];this.ngElementStrategy.setInputValue(d,a,p)}connectedCallback(){let t=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),t=!0),this.ngElementStrategy.connect(this),t||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(t=>{let c=new CustomEvent(t.name,{detail:t.value});this.dispatchEvent(c)})}};l.observedAttributes=Object.keys(o);let f=l;return i.forEach(({propName:h,transform:t})=>{Object.defineProperty(f.prototype,h,{get(){return this.ngElementStrategy.getInputValue(h)},set(c){this.ngElementStrategy.setInputValue(h,c,t)},configurable:!0,enumerable:!0})}),f}var _4=null;function ps(){return _4}function cuu(u){_4??(_4=u)}var huu=class{},mn=new xt(""),S4=(()=>{const e=class e{historyGo(n){throw new Error("")}};e.ɵfac=function(n){return new(n||e)},e.ɵprov=ft({token:e,factory:()=>ht(duu),providedIn:"platform"});let u=e;return u})(),duu=(()=>{const e=class e extends S4{constructor(){super(),this._doc=ht(mn),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ps().getBaseHref(this._doc)}onPopState(n){let o=ps().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",n,!1),()=>o.removeEventListener("popstate",n)}onHashChange(n){let o=ps().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",n,!1),()=>o.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,o,f){this._history.pushState(n,o,f)}replaceState(n,o,f){this._history.replaceState(n,o,f)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};e.ɵfac=function(n){return new(n||e)},e.ɵprov=ft({token:e,factory:()=>new e,providedIn:"platform"});let u=e;return u})();function k4(u,e){if(u.length==0)return e;if(e.length==0)return u;let i=0;return u.endsWith("/")&&i++,e.startsWith("/")&&i++,i==2?u+e.substring(1):i==1?u+e:u+"/"+e}function M8(u){let e=u.match(/#|\?|$/),i=e&&e.index||u.length,n=i-(u[i-1]==="/"?1:0);return u.slice(0,n)+u.slice(i)}function Ta(u){return u&&u[0]!=="?"?"?"+u:u}var D6=(()=>{const e=class e{historyGo(n){throw new Error("")}};e.ɵfac=function(n){return new(n||e)},e.ɵprov=ft({token:e,factory:()=>ht(puu),providedIn:"root"});let u=e;return u})(),fuu=new xt(""),puu=(()=>{const e=class e extends D6{constructor(n,o){var f;super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??((f=ht(mn).location)==null?void 0:f.origin)??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return k4(this._baseHref,n)}path(n=!1){let o=this._platformLocation.pathname+Ta(this._platformLocation.search),f=this._platformLocation.hash;return f&&n?`${o}${f}`:o}pushState(n,o,f,l){let h=this.prepareExternalUrl(f+Ta(l));this._platformLocation.pushState(n,o,h)}replaceState(n,o,f,l){let h=this.prepareExternalUrl(f+Ta(l));this._platformLocation.replaceState(n,o,h)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){var o,f;(f=(o=this._platformLocation).historyGo)==null||f.call(o,n)}};e.ɵfac=function(n){return new(n||e)(Le(S4),Le(fuu,8))},e.ɵprov=ft({token:e,factory:e.ɵfac,providedIn:"root"});let u=e;return u})(),P4=(()=>{const e=class e{constructor(n){this._subject=new Cr,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let o=this._locationStrategy.getBaseHref();this._basePath=Fuu(M8(L8(o))),this._locationStrategy.onPopState(f=>{this._subject.emit({url:this.path(!0),pop:!0,state:f.state,type:f.type})})}ngOnDestroy(){var n;(n=this._urlChangeSubscription)==null||n.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,o=""){return this.path()==this.normalize(n+Ta(o))}normalize(n){return e.stripTrailingSlash(Cuu(this._basePath,L8(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,o="",f=null){this._locationStrategy.pushState(f,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ta(o)),f)}replaceState(n,o="",f=null){this._locationStrategy.replaceState(f,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ta(o)),f)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){var o,f;(f=(o=this._locationStrategy).historyGo)==null||f.call(o,n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??(this._urlChangeSubscription=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)})),()=>{var f;let o=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&((f=this._urlChangeSubscription)==null||f.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",o){this._urlChangeListeners.forEach(f=>f(n,o))}subscribe(n,o,f){return this._subject.subscribe({next:n,error:o,complete:f})}};e.normalizeQueryParams=Ta,e.joinWithSlash=k4,e.stripTrailingSlash=M8,e.ɵfac=function(n){return new(n||e)(Le(D6))},e.ɵprov=ft({token:e,factory:()=>Euu(),providedIn:"root"});let u=e;return u})();function Euu(){return new P4(Le(D6))}function Cuu(u,e){if(!u||!e.startsWith(u))return e;let i=e.substring(u.length);return i===""||["/",";","?","#"].includes(i[0])?i:e}function L8(u){return u.replace(/\/index.html$/,"")}function Fuu(u){if(new RegExp("^(https?:)?//").test(u)){let[,e]=u.split(/\/\/[^\/]+/);return e}return u}var br=function(u){return u[u.Format=0]="Format",u[u.Standalone=1]="Standalone",u}(br||{}),Pn=function(u){return u[u.Narrow=0]="Narrow",u[u.Abbreviated=1]="Abbreviated",u[u.Wide=2]="Wide",u[u.Short=3]="Short",u}(Pn||{}),Lr=function(u){return u[u.Short=0]="Short",u[u.Medium=1]="Medium",u[u.Long=2]="Long",u[u.Full=3]="Full",u}(Lr||{}),nc={MinusSign:5};function Auu(u){return Ei(u)[dr.LocaleId]}function guu(u,e,i){let n=Ei(u),o=[n[dr.DayPeriodsFormat],n[dr.DayPeriodsStandalone]],f=ei(o,e);return ei(f,i)}function Duu(u,e,i){let n=Ei(u),o=[n[dr.DaysFormat],n[dr.DaysStandalone]],f=ei(o,e);return ei(f,i)}function muu(u,e,i){let n=Ei(u),o=[n[dr.MonthsFormat],n[dr.MonthsStandalone]],f=ei(o,e);return ei(f,i)}function Buu(u,e){let i=Ei(u)[dr.Eras];return ei(i,e)}function k0(u,e){let i=Ei(u);return ei(i[dr.DateFormat],e)}function P0(u,e){let i=Ei(u);return ei(i[dr.TimeFormat],e)}function I0(u,e){let i=Ei(u)[dr.DateTimeFormat];return ei(i,e)}function rc(u,e){return Ei(u)[dr.NumberSymbols][e]}function I4(u){if(!u[dr.ExtraData])throw new Error(`Missing extra locale data for the locale "${u[dr.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function vuu(u){let e=Ei(u);return I4(e),(e[dr.ExtraData][2]||[]).map(i=>typeof i=="string"?qc(i):[qc(i[0]),qc(i[1])])}function yuu(u,e,i){let n=Ei(u);I4(n);let o=[n[dr.ExtraData][0],n[dr.ExtraData][1]],f=ei(o,e)||[];return ei(f,i)||[]}function ei(u,e){for(let i=e;i>-1;i--)if(typeof u[i]<"u")return u[i];throw new Error("Locale data API: locale data undefined")}function qc(u){let[e,i]=u.split(":");return{hours:+e,minutes:+i}}var buu=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,eo={},xuu=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,Vi=function(u){return u[u.Short=0]="Short",u[u.ShortGMT=1]="ShortGMT",u[u.Long=2]="Long",u[u.Extended=3]="Extended",u}(Vi||{}),Dn=function(u){return u[u.FullYear=0]="FullYear",u[u.Month=1]="Month",u[u.Date=2]="Date",u[u.Hours=3]="Hours",u[u.Minutes=4]="Minutes",u[u.Seconds=5]="Seconds",u[u.FractionalSeconds=6]="FractionalSeconds",u[u.Day=7]="Day",u}(Dn||{}),gn=function(u){return u[u.DayPeriods=0]="DayPeriods",u[u.Days=1]="Days",u[u.Months=2]="Months",u[u.Eras=3]="Eras",u}(gn||{});function wuu(u,e,i,n){let o=Ruu(u);e=Mi(i,e)||e;let f=[],l;for(;e;)if(l=xuu.exec(e),l){f=f.concat(l.slice(1));let c=f.pop();if(!c)break;e=c}else{f.push(e);break}let h=o.getTimezoneOffset();n&&(h=O4(n,h),o=Nuu(o,n));let t="";return f.forEach(c=>{let a=Tuu(c);t+=a?a(o,i,h):c==="''"?"'":c.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),t}function vl(u,e,i){let n=new Date(0);return n.setFullYear(u,e,i),n.setHours(0,0,0),n}function Mi(u,e){let i=Auu(u);if(eo[i]??(eo[i]={}),eo[i][e])return eo[i][e];let n="";switch(e){case"shortDate":n=k0(u,Lr.Short);break;case"mediumDate":n=k0(u,Lr.Medium);break;case"longDate":n=k0(u,Lr.Long);break;case"fullDate":n=k0(u,Lr.Full);break;case"shortTime":n=P0(u,Lr.Short);break;case"mediumTime":n=P0(u,Lr.Medium);break;case"longTime":n=P0(u,Lr.Long);break;case"fullTime":n=P0(u,Lr.Full);break;case"short":let o=Mi(u,"shortTime"),f=Mi(u,"shortDate");n=T0(I0(u,Lr.Short),[o,f]);break;case"medium":let l=Mi(u,"mediumTime"),h=Mi(u,"mediumDate");n=T0(I0(u,Lr.Medium),[l,h]);break;case"long":let t=Mi(u,"longTime"),c=Mi(u,"longDate");n=T0(I0(u,Lr.Long),[t,c]);break;case"full":let a=Mi(u,"fullTime"),s=Mi(u,"fullDate");n=T0(I0(u,Lr.Full),[a,s]);break}return n&&(eo[i][e]=n),n}function T0(u,e){return e&&(u=u.replace(/\{([^}]+)}/g,function(i,n){return e!=null&&n in e?e[n]:i})),u}function li(u,e,i="-",n,o){let f="";(u<0||o&&u<=0)&&(o?u=-u+1:(u=-u,f=i));let l=String(u);for(;l.length<e;)l="0"+l;return n&&(l=l.slice(l.length-e)),f+l}function _uu(u,e){return li(u,3).substring(0,e)}function nr(u,e,i=0,n=!1,o=!1){return function(f,l){let h=Suu(u,f);if((i>0||h>-i)&&(h+=i),u===Dn.Hours)h===0&&i===-12&&(h=12);else if(u===Dn.FractionalSeconds)return _uu(h,e);let t=rc(l,nc.MinusSign);return li(h,e,t,n,o)}}function Suu(u,e){switch(u){case Dn.FullYear:return e.getFullYear();case Dn.Month:return e.getMonth();case Dn.Date:return e.getDate();case Dn.Hours:return e.getHours();case Dn.Minutes:return e.getMinutes();case Dn.Seconds:return e.getSeconds();case Dn.FractionalSeconds:return e.getMilliseconds();case Dn.Day:return e.getDay();default:throw new Error(`Unknown DateType value "${u}".`)}}function Tn(u,e,i=br.Format,n=!1){return function(o,f){return kuu(o,f,u,e,i,n)}}function kuu(u,e,i,n,o,f){switch(i){case gn.Months:return muu(e,o,n)[u.getMonth()];case gn.Days:return Duu(e,o,n)[u.getDay()];case gn.DayPeriods:let l=u.getHours(),h=u.getMinutes();if(f){let c=vuu(e),a=yuu(e,o,n),s=c.findIndex(d=>{if(Array.isArray(d)){let[p,E]=d,C=l>=p.hours&&h>=p.minutes,A=l<E.hours||l===E.hours&&h<E.minutes;if(p.hours<E.hours){if(C&&A)return!0}else if(C||A)return!0}else if(d.hours===l&&d.minutes===h)return!0;return!1});if(s!==-1)return a[s]}return guu(e,o,n)[l<12?0:1];case gn.Eras:return Buu(e,n)[u.getFullYear()<=0?0:1];default:let t=i;throw new Error(`unexpected translation type ${t}`)}}function O0(u){return function(e,i,n){let o=-1*n,f=rc(i,nc.MinusSign),l=o>0?Math.floor(o/60):Math.ceil(o/60);switch(u){case Vi.Short:return(o>=0?"+":"")+li(l,2,f)+li(Math.abs(o%60),2,f);case Vi.ShortGMT:return"GMT"+(o>=0?"+":"")+li(l,1,f);case Vi.Long:return"GMT"+(o>=0?"+":"")+li(l,2,f)+":"+li(Math.abs(o%60),2,f);case Vi.Extended:return n===0?"Z":(o>=0?"+":"")+li(l,2,f)+":"+li(Math.abs(o%60),2,f);default:throw new Error(`Unknown zone width "${u}"`)}}}var Puu=0,el=4;function Iuu(u){let e=vl(u,Puu,1).getDay();return vl(u,0,1+(e<=el?el:el+7)-e)}function T4(u){let e=u.getDay(),i=e===0?-3:el-e;return vl(u.getFullYear(),u.getMonth(),u.getDate()+i)}function Wc(u,e=!1){return function(i,n){let o;if(e){let f=new Date(i.getFullYear(),i.getMonth(),1).getDay()-1,l=i.getDate();o=1+Math.floor((l+f)/7)}else{let f=T4(i),l=Iuu(f.getFullYear()),h=f.getTime()-l.getTime();o=1+Math.round(h/6048e5)}return li(o,u,rc(n,nc.MinusSign))}}function N0(u,e=!1){return function(i,n){let o=T4(i).getFullYear();return li(o,u,rc(n,nc.MinusSign),e)}}var Xc={};function Tuu(u){if(Xc[u])return Xc[u];let e;switch(u){case"G":case"GG":case"GGG":e=Tn(gn.Eras,Pn.Abbreviated);break;case"GGGG":e=Tn(gn.Eras,Pn.Wide);break;case"GGGGG":e=Tn(gn.Eras,Pn.Narrow);break;case"y":e=nr(Dn.FullYear,1,0,!1,!0);break;case"yy":e=nr(Dn.FullYear,2,0,!0,!0);break;case"yyy":e=nr(Dn.FullYear,3,0,!1,!0);break;case"yyyy":e=nr(Dn.FullYear,4,0,!1,!0);break;case"Y":e=N0(1);break;case"YY":e=N0(2,!0);break;case"YYY":e=N0(3);break;case"YYYY":e=N0(4);break;case"M":case"L":e=nr(Dn.Month,1,1);break;case"MM":case"LL":e=nr(Dn.Month,2,1);break;case"MMM":e=Tn(gn.Months,Pn.Abbreviated);break;case"MMMM":e=Tn(gn.Months,Pn.Wide);break;case"MMMMM":e=Tn(gn.Months,Pn.Narrow);break;case"LLL":e=Tn(gn.Months,Pn.Abbreviated,br.Standalone);break;case"LLLL":e=Tn(gn.Months,Pn.Wide,br.Standalone);break;case"LLLLL":e=Tn(gn.Months,Pn.Narrow,br.Standalone);break;case"w":e=Wc(1);break;case"ww":e=Wc(2);break;case"W":e=Wc(1,!0);break;case"d":e=nr(Dn.Date,1);break;case"dd":e=nr(Dn.Date,2);break;case"c":case"cc":e=nr(Dn.Day,1);break;case"ccc":e=Tn(gn.Days,Pn.Abbreviated,br.Standalone);break;case"cccc":e=Tn(gn.Days,Pn.Wide,br.Standalone);break;case"ccccc":e=Tn(gn.Days,Pn.Narrow,br.Standalone);break;case"cccccc":e=Tn(gn.Days,Pn.Short,br.Standalone);break;case"E":case"EE":case"EEE":e=Tn(gn.Days,Pn.Abbreviated);break;case"EEEE":e=Tn(gn.Days,Pn.Wide);break;case"EEEEE":e=Tn(gn.Days,Pn.Narrow);break;case"EEEEEE":e=Tn(gn.Days,Pn.Short);break;case"a":case"aa":case"aaa":e=Tn(gn.DayPeriods,Pn.Abbreviated);break;case"aaaa":e=Tn(gn.DayPeriods,Pn.Wide);break;case"aaaaa":e=Tn(gn.DayPeriods,Pn.Narrow);break;case"b":case"bb":case"bbb":e=Tn(gn.DayPeriods,Pn.Abbreviated,br.Standalone,!0);break;case"bbbb":e=Tn(gn.DayPeriods,Pn.Wide,br.Standalone,!0);break;case"bbbbb":e=Tn(gn.DayPeriods,Pn.Narrow,br.Standalone,!0);break;case"B":case"BB":case"BBB":e=Tn(gn.DayPeriods,Pn.Abbreviated,br.Format,!0);break;case"BBBB":e=Tn(gn.DayPeriods,Pn.Wide,br.Format,!0);break;case"BBBBB":e=Tn(gn.DayPeriods,Pn.Narrow,br.Format,!0);break;case"h":e=nr(Dn.Hours,1,-12);break;case"hh":e=nr(Dn.Hours,2,-12);break;case"H":e=nr(Dn.Hours,1);break;case"HH":e=nr(Dn.Hours,2);break;case"m":e=nr(Dn.Minutes,1);break;case"mm":e=nr(Dn.Minutes,2);break;case"s":e=nr(Dn.Seconds,1);break;case"ss":e=nr(Dn.Seconds,2);break;case"S":e=nr(Dn.FractionalSeconds,1);break;case"SS":e=nr(Dn.FractionalSeconds,2);break;case"SSS":e=nr(Dn.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=O0(Vi.Short);break;case"ZZZZZ":e=O0(Vi.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=O0(Vi.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=O0(Vi.Long);break;default:return null}return Xc[u]=e,e}function O4(u,e){u=u.replace(/:/g,"");let i=Date.parse("Jan 01, 1970 00:00:00 "+u)/6e4;return isNaN(i)?e:i}function Ouu(u,e){return u=new Date(u.getTime()),u.setMinutes(u.getMinutes()+e),u}function Nuu(u,e,i){let n=-1,o=u.getTimezoneOffset(),f=O4(e,o);return Ouu(u,n*(f-o))}function Ruu(u){if(j8(u))return u;if(typeof u=="number"&&!isNaN(u))return new Date(u);if(typeof u=="string"){if(u=u.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(u)){let[o,f=1,l=1]=u.split("-").map(h=>+h);return vl(o,f-1,l)}let i=parseFloat(u);if(!isNaN(u-i))return new Date(i);let n;if(n=u.match(buu))return Muu(n)}let e=new Date(u);if(!j8(e))throw new Error(`Unable to convert "${u}" into a date`);return e}function Muu(u){let e=new Date(0),i=0,n=0,o=u[8]?e.setUTCFullYear:e.setFullYear,f=u[8]?e.setUTCHours:e.setHours;u[9]&&(i=Number(u[9]+u[10]),n=Number(u[9]+u[11])),o.call(e,Number(u[1]),Number(u[2])-1,Number(u[3]));let l=Number(u[4]||0)-i,h=Number(u[5]||0)-n,t=Number(u[6]||0),c=Math.floor(parseFloat("0."+(u[7]||0))*1e3);return f.call(e,l,h,t,c),e}function j8(u){return u instanceof Date&&!isNaN(u.valueOf())}function N4(u,e){e=encodeURIComponent(e);for(let i of u.split(";")){let n=i.indexOf("="),[o,f]=n==-1?[i,""]:[i.slice(0,n),i.slice(n+1)];if(o.trim()===e)return decodeURIComponent(f)}return null}var Yc=/\s+/,V8=[],Luu=(()=>{const e=class e{constructor(n,o){this._ngEl=n,this._renderer=o,this.initialClasses=V8,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(Yc):V8}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Yc):n}ngDoCheck(){for(let o of this.initialClasses)this._updateState(o,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let o of n)this._updateState(o,!0);else if(n!=null)for(let o of Object.keys(n))this._updateState(o,!!n[o]);this._applyStateDiff()}_updateState(n,o){let f=this.stateMap.get(n);f!==void 0?(f.enabled!==o&&(f.changed=!0,f.enabled=o),f.touched=!0):this.stateMap.set(n,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let o=n[0],f=n[1];f.changed?(this._toggleClass(o,f.enabled),f.changed=!1):f.touched||(f.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),f.touched=!1}}_toggleClass(n,o){n=n.trim(),n.length>0&&n.split(Yc).forEach(f=>{o?this._renderer.addClass(this._ngEl.nativeElement,f):this._renderer.removeClass(this._ngEl.nativeElement,f)})}};e.ɵfac=function(n){return new(n||e)(Nt(mr),Nt(c6))},e.ɵdir=Si({type:e,selectors:[["","ngClass",""]],inputs:{klass:[On.None,"class","klass"],ngClass:"ngClass"},standalone:!0});let u=e;return u})(),juu=(()=>{const e=class e{constructor(n,o,f){this._ngEl=n,this._differs=o,this._renderer=f,this._ngStyle=null,this._differ=null}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,o){let[f,l]=n.split("."),h=f.indexOf("-")===-1?void 0:ao.DashCase;o!=null?this._renderer.setStyle(this._ngEl.nativeElement,f,l?`${o}${l}`:o,h):this._renderer.removeStyle(this._ngEl.nativeElement,f,h)}_applyChanges(n){n.forEachRemovedItem(o=>this._setStyle(o.key,null)),n.forEachAddedItem(o=>this._setStyle(o.key,o.currentValue)),n.forEachChangedItem(o=>this._setStyle(o.key,o.currentValue))}};e.ɵfac=function(n){return new(n||e)(Nt(mr),Nt(w4),Nt(c6))},e.ɵdir=Si({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});let u=e;return u})();function R4(u,e){return new ct(2100,!1)}var Vuu=class{createSubscription(u,e){return R8(()=>u.subscribe({next:e,error:i=>{throw i}}))}dispose(u){R8(()=>u.unsubscribe())}},zuu=class{createSubscription(u,e){return u.then(e,i=>{throw i})}dispose(u){}},Uuu=new zuu,Huu=new Vuu,Guu=(()=>{const e=class e{constructor(n){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,o=>this._updateLatestValue(n,o))}_selectStrategy(n){if(A6(n))return Uuu;if(y4(n))return Huu;throw R4()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,o){var f;n===this._obj&&(this._latestValue=o,this.markForCheckOnValueUpdate&&((f=this._ref)==null||f.markForCheck()))}};e.ɵfac=function(n){return new(n||e)(Nt(Zs,16))},e.ɵpipe=Po({name:"async",type:e,pure:!1,standalone:!0});let u=e;return u})(),quu="mediumDate",Wuu=new xt(""),Xuu=new xt(""),Yuu=(()=>{const e=class e{constructor(n,o,f){this.locale=n,this.defaultTimezone=o,this.defaultOptions=f}transform(n,o,f,l){var h,t;if(n==null||n===""||n!==n)return null;try{let c=o??((h=this.defaultOptions)==null?void 0:h.dateFormat)??quu,a=f??((t=this.defaultOptions)==null?void 0:t.timezone)??this.defaultTimezone??void 0;return wuu(n,c,l||this.locale,a)}catch(c){throw R4(e,c.message)}}};e.ɵfac=function(n){return new(n||e)(Nt(g6,16),Nt(Wuu,24),Nt(Xuu,24))},e.ɵpipe=Po({name:"date",type:e,pure:!0,standalone:!0});let u=e;return u})(),Zuu=(()=>{const e=class e{};e.ɵfac=function(n){return new(n||e)},e.ɵmod=_1({type:e}),e.ɵinj=B1({});let u=e;return u})(),M4="browser",Kuu="server";function Juu(u){return u===M4}function L4(u){return u===Kuu}var j4=class{},m6=class{},V4=class{},So=class tl{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(`
259
- `).forEach(i=>{let n=i.indexOf(":");if(n>0){let o=i.slice(0,n),f=o.toLowerCase(),l=i.slice(n+1).trim();this.maybeSetNormalizedName(o,f),this.headers.has(f)?this.headers.get(f).push(l):this.headers.set(f,[l])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((i,n)=>{this.setHeaderEntries(n,i)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([i,n])=>{this.setHeaderEntries(i,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let i=this.headers.get(e.toLowerCase());return i&&i.length>0?i[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,i){return this.clone({name:e,value:i,op:"a"})}set(e,i){return this.clone({name:e,value:i,op:"s"})}delete(e,i){return this.clone({name:e,value:i,op:"d"})}maybeSetNormalizedName(e,i){this.normalizedNames.has(i)||this.normalizedNames.set(i,e)}init(){this.lazyInit&&(this.lazyInit instanceof tl?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(i=>{this.headers.set(i,e.headers.get(i)),this.normalizedNames.set(i,e.normalizedNames.get(i))})}clone(e){let i=new tl;return i.lazyInit=this.lazyInit&&this.lazyInit instanceof tl?this.lazyInit:this,i.lazyUpdate=(this.lazyUpdate||[]).concat([e]),i}applyUpdate(e){let i=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,i);let o=(e.op==="a"?this.headers.get(i):void 0)||[];o.push(...n),this.headers.set(i,o);break;case"d":let f=e.value;if(!f)this.headers.delete(i),this.normalizedNames.delete(i);else{let l=this.headers.get(i);if(!l)return;l=l.filter(h=>f.indexOf(h)===-1),l.length===0?(this.headers.delete(i),this.normalizedNames.delete(i)):this.headers.set(i,l)}break}}setHeaderEntries(e,i){let n=(Array.isArray(i)?i:[i]).map(f=>f.toString()),o=e.toLowerCase();this.headers.set(o,n),this.maybeSetNormalizedName(e,o)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(i=>e(this.normalizedNames.get(i),this.headers.get(i)))}},Quu=class{encodeKey(u){return z8(u)}encodeValue(u){return z8(u)}decodeKey(u){return decodeURIComponent(u)}decodeValue(u){return decodeURIComponent(u)}};function $uu(u,e){let i=new Map;return u.length>0&&u.replace(/^\?/,"").split("&").forEach(n=>{let o=n.indexOf("="),[f,l]=o==-1?[e.decodeKey(n),""]:[e.decodeKey(n.slice(0,o)),e.decodeValue(n.slice(o+1))],h=i.get(f)||[];h.push(l),i.set(f,h)}),i}var ueu=/%(\d[a-f0-9])/gi,eeu={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function z8(u){return encodeURIComponent(u).replace(ueu,(e,i)=>eeu[i]??e)}function R0(u){return`${u}`}var po=class z4{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Quu,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=$uu(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(i=>{let n=e.fromObject[i],o=Array.isArray(n)?n.map(R0):[R0(n)];this.map.set(i,o)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let i=this.map.get(e);return i?i[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,i){return this.clone({param:e,value:i,op:"a"})}appendAll(e){let i=[];return Object.keys(e).forEach(n=>{let o=e[n];Array.isArray(o)?o.forEach(f=>{i.push({param:n,value:f,op:"a"})}):i.push({param:n,value:o,op:"a"})}),this.clone(i)}set(e,i){return this.clone({param:e,value:i,op:"s"})}delete(e,i){return this.clone({param:e,value:i,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let i=this.encoder.encodeKey(e);return this.map.get(e).map(n=>i+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let i=new z4({encoder:this.encoder});return i.cloneFrom=this.cloneFrom||this,i.updates=(this.updates||[]).concat(e),i}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let i=(e.op==="a"?this.map.get(e.param):void 0)||[];i.push(R0(e.value)),this.map.set(e.param,i);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],o=n.indexOf(R0(e.value));o!==-1&&n.splice(o,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}},teu=class{constructor(){this.map=new Map}set(u,e){return this.map.set(u,e),this}get(u){return this.map.has(u)||this.map.set(u,u.defaultValue()),this.map.get(u)}delete(u){return this.map.delete(u),this}has(u){return this.map.has(u)}keys(){return this.map.keys()}};function neu(u){switch(u){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function U8(u){return typeof ArrayBuffer<"u"&&u instanceof ArrayBuffer}function H8(u){return typeof Blob<"u"&&u instanceof Blob}function G8(u){return typeof FormData<"u"&&u instanceof FormData}function reu(u){return typeof URLSearchParams<"u"&&u instanceof URLSearchParams}var Zc=class U4{constructor(e,i,n,o){this.url=i,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let f;if(neu(this.method)||o?(this.body=n!==void 0?n:null,f=o):f=n,f&&(this.reportProgress=!!f.reportProgress,this.withCredentials=!!f.withCredentials,f.responseType&&(this.responseType=f.responseType),f.headers&&(this.headers=f.headers),f.context&&(this.context=f.context),f.params&&(this.params=f.params),this.transferCache=f.transferCache),this.headers??(this.headers=new So),this.context??(this.context=new teu),!this.params)this.params=new po,this.urlWithParams=i;else{let l=this.params.toString();if(l.length===0)this.urlWithParams=i;else{let h=i.indexOf("?"),t=h===-1?"?":h<i.length-1?"&":"";this.urlWithParams=i+t+l}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||U8(this.body)||H8(this.body)||G8(this.body)||reu(this.body)?this.body:this.body instanceof po?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||G8(this.body)?null:H8(this.body)?this.body.type||null:U8(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof po?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(e={}){let i=e.method||this.method,n=e.url||this.url,o=e.responseType||this.responseType,f=e.transferCache??this.transferCache,l=e.body!==void 0?e.body:this.body,h=e.withCredentials??this.withCredentials,t=e.reportProgress??this.reportProgress,c=e.headers||this.headers,a=e.params||this.params,s=e.context??this.context;return e.setHeaders!==void 0&&(c=Object.keys(e.setHeaders).reduce((d,p)=>d.set(p,e.setHeaders[p]),c)),e.setParams&&(a=Object.keys(e.setParams).reduce((d,p)=>d.set(p,e.setParams[p]),a)),new U4(i,n,l,{params:a,headers:c,context:s,reportProgress:t,responseType:o,withCredentials:h,transferCache:f})}},Eo=function(u){return u[u.Sent=0]="Sent",u[u.UploadProgress=1]="UploadProgress",u[u.ResponseHeader=2]="ResponseHeader",u[u.DownloadProgress=3]="DownloadProgress",u[u.Response=4]="Response",u[u.User=5]="User",u}(Eo||{}),B6=class{constructor(u,e=yl.Ok,i="OK"){this.headers=u.headers||new So,this.status=u.status!==void 0?u.status:e,this.statusText=u.statusText||i,this.url=u.url||null,this.ok=this.status>=200&&this.status<300}},ieu=class H4 extends B6{constructor(e={}){super(e),this.type=Eo.ResponseHeader}clone(e={}){return new H4({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},G4=class q4 extends B6{constructor(e={}){super(e),this.type=Eo.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new q4({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},q8=class extends B6{constructor(u){super(u,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${u.url||"(unknown url)"}`:this.message=`Http failure response for ${u.url||"(unknown url)"}: ${u.status} ${u.statusText}`,this.error=u.error||null}},yl=function(u){return u[u.Continue=100]="Continue",u[u.SwitchingProtocols=101]="SwitchingProtocols",u[u.Processing=102]="Processing",u[u.EarlyHints=103]="EarlyHints",u[u.Ok=200]="Ok",u[u.Created=201]="Created",u[u.Accepted=202]="Accepted",u[u.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",u[u.NoContent=204]="NoContent",u[u.ResetContent=205]="ResetContent",u[u.PartialContent=206]="PartialContent",u[u.MultiStatus=207]="MultiStatus",u[u.AlreadyReported=208]="AlreadyReported",u[u.ImUsed=226]="ImUsed",u[u.MultipleChoices=300]="MultipleChoices",u[u.MovedPermanently=301]="MovedPermanently",u[u.Found=302]="Found",u[u.SeeOther=303]="SeeOther",u[u.NotModified=304]="NotModified",u[u.UseProxy=305]="UseProxy",u[u.Unused=306]="Unused",u[u.TemporaryRedirect=307]="TemporaryRedirect",u[u.PermanentRedirect=308]="PermanentRedirect",u[u.BadRequest=400]="BadRequest",u[u.Unauthorized=401]="Unauthorized",u[u.PaymentRequired=402]="PaymentRequired",u[u.Forbidden=403]="Forbidden",u[u.NotFound=404]="NotFound",u[u.MethodNotAllowed=405]="MethodNotAllowed",u[u.NotAcceptable=406]="NotAcceptable",u[u.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",u[u.RequestTimeout=408]="RequestTimeout",u[u.Conflict=409]="Conflict",u[u.Gone=410]="Gone",u[u.LengthRequired=411]="LengthRequired",u[u.PreconditionFailed=412]="PreconditionFailed",u[u.PayloadTooLarge=413]="PayloadTooLarge",u[u.UriTooLong=414]="UriTooLong",u[u.UnsupportedMediaType=415]="UnsupportedMediaType",u[u.RangeNotSatisfiable=416]="RangeNotSatisfiable",u[u.ExpectationFailed=417]="ExpectationFailed",u[u.ImATeapot=418]="ImATeapot",u[u.MisdirectedRequest=421]="MisdirectedRequest",u[u.UnprocessableEntity=422]="UnprocessableEntity",u[u.Locked=423]="Locked",u[u.FailedDependency=424]="FailedDependency",u[u.TooEarly=425]="TooEarly",u[u.UpgradeRequired=426]="UpgradeRequired",u[u.PreconditionRequired=428]="PreconditionRequired",u[u.TooManyRequests=429]="TooManyRequests",u[u.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",u[u.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",u[u.InternalServerError=500]="InternalServerError",u[u.NotImplemented=501]="NotImplemented",u[u.BadGateway=502]="BadGateway",u[u.ServiceUnavailable=503]="ServiceUnavailable",u[u.GatewayTimeout=504]="GatewayTimeout",u[u.HttpVersionNotSupported=505]="HttpVersionNotSupported",u[u.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",u[u.InsufficientStorage=507]="InsufficientStorage",u[u.LoopDetected=508]="LoopDetected",u[u.NotExtended=510]="NotExtended",u[u.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",u}(yl||{});function Kc(u,e){return{body:e,headers:u.headers,context:u.context,observe:u.observe,params:u.params,reportProgress:u.reportProgress,responseType:u.responseType,withCredentials:u.withCredentials,transferCache:u.transferCache}}var ic=(()=>{const e=class e{constructor(n){this.handler=n}request(n,o,f={}){let l;if(n instanceof Zc)l=n;else{let c;f.headers instanceof So?c=f.headers:c=new So(f.headers);let a;f.params&&(f.params instanceof po?a=f.params:a=new po({fromObject:f.params})),l=new Zc(n,o,f.body!==void 0?f.body:null,{headers:c,context:f.context,params:a,reportProgress:f.reportProgress,responseType:f.responseType||"json",withCredentials:f.withCredentials,transferCache:f.transferCache})}let h=Kn(l).pipe(Th(c=>this.handler.handle(c)));if(n instanceof Zc||f.observe==="events")return h;let t=h.pipe(jl(c=>c instanceof G4));switch(f.observe||"body"){case"body":switch(l.responseType){case"arraybuffer":return t.pipe(cr(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return t.pipe(cr(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return t.pipe(cr(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return t.pipe(cr(c=>c.body))}case"response":return t;default:throw new Error(`Unreachable: unhandled observe type ${f.observe}}`)}}delete(n,o={}){return this.request("DELETE",n,o)}get(n,o={}){return this.request("GET",n,o)}head(n,o={}){return this.request("HEAD",n,o)}jsonp(n,o){return this.request("JSONP",n,{params:new po().append(o,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,o={}){return this.request("OPTIONS",n,o)}patch(n,o,f={}){return this.request("PATCH",n,Kc(f,o))}post(n,o,f={}){return this.request("POST",n,Kc(f,o))}put(n,o,f={}){return this.request("PUT",n,Kc(f,o))}};e.ɵfac=function(n){return new(n||e)(Le(m6))},e.ɵprov=ft({token:e,factory:e.ɵfac});let u=e;return u})();function aeu(u,e){return e(u)}function oeu(u,e,i){return(n,o)=>OY(i,()=>e(n,f=>u(f,o)))}var v6=new xt(""),seu=new xt(""),leu=new xt(""),W8=(()=>{const e=class e extends m6{constructor(n,o){super(),this.backend=n,this.injector=o,this.chain=null,this.pendingTasks=ht(p6);let f=ht(leu,{optional:!0});this.backend=f??n}handle(n){if(this.chain===null){let f=Array.from(new Set([...this.injector.get(v6),...this.injector.get(seu,[])]));this.chain=f.reduceRight((l,h)=>oeu(l,h,this.injector),aeu)}let o=this.pendingTasks.add();return this.chain(n,f=>this.backend.handle(f)).pipe(Oh(()=>this.pendingTasks.remove(o)))}};e.ɵfac=function(n){return new(n||e)(Le(V4),Le(Ma))},e.ɵprov=ft({token:e,factory:e.ɵfac});let u=e;return u})(),ceu=/^\)\]\}',?\n/;function heu(u){return"responseURL"in u&&u.responseURL?u.responseURL:/^X-Request-URL:/m.test(u.getAllResponseHeaders())?u.getResponseHeader("X-Request-URL"):null}var X8=(()=>{const e=class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new ct(-2800,!1);let o=this.xhrFactory;return(o.ɵloadImpl?Ha(o.ɵloadImpl()):Kn(null)).pipe(sl(()=>new Wn(f=>{let l=o.build();if(l.open(n.method,n.urlWithParams),n.withCredentials&&(l.withCredentials=!0),n.headers.forEach((C,A)=>l.setRequestHeader(C,A.join(","))),n.headers.has("Accept")||l.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let C=n.detectContentTypeHeader();C!==null&&l.setRequestHeader("Content-Type",C)}if(n.responseType){let C=n.responseType.toLowerCase();l.responseType=C!=="json"?C:"text"}let h=n.serializeBody(),t=null,c=()=>{if(t!==null)return t;let C=l.statusText||"OK",A=new So(l.getAllResponseHeaders()),F=heu(l)||n.url;return t=new ieu({headers:A,status:l.status,statusText:C,url:F}),t},a=()=>{let{headers:C,status:A,statusText:F,url:D}=c(),g=null;A!==yl.NoContent&&(g=typeof l.response>"u"?l.responseText:l.response),A===0&&(A=g?yl.Ok:0);let B=A>=200&&A<300;if(n.responseType==="json"&&typeof g=="string"){let r=g;g=g.replace(ceu,"");try{g=g!==""?JSON.parse(g):null}catch(m){g=r,B&&(B=!1,g={error:m,text:g})}}B?(f.next(new G4({body:g,headers:C,status:A,statusText:F,url:D||void 0})),f.complete()):f.error(new q8({error:g,headers:C,status:A,statusText:F,url:D||void 0}))},s=C=>{let{url:A}=c(),F=new q8({error:C,status:l.status||0,statusText:l.statusText||"Unknown Error",url:A||void 0});f.error(F)},d=!1,p=C=>{d||(f.next(c()),d=!0);let A={type:Eo.DownloadProgress,loaded:C.loaded};C.lengthComputable&&(A.total=C.total),n.responseType==="text"&&l.responseText&&(A.partialText=l.responseText),f.next(A)},E=C=>{let A={type:Eo.UploadProgress,loaded:C.loaded};C.lengthComputable&&(A.total=C.total),f.next(A)};return l.addEventListener("load",a),l.addEventListener("error",s),l.addEventListener("timeout",s),l.addEventListener("abort",s),n.reportProgress&&(l.addEventListener("progress",p),h!==null&&l.upload&&l.upload.addEventListener("progress",E)),l.send(h),f.next({type:Eo.Sent}),()=>{l.removeEventListener("error",s),l.removeEventListener("abort",s),l.removeEventListener("load",a),l.removeEventListener("timeout",s),n.reportProgress&&(l.removeEventListener("progress",p),h!==null&&l.upload&&l.upload.removeEventListener("progress",E)),l.readyState!==l.DONE&&l.abort()}})))}};e.ɵfac=function(n){return new(n||e)(Le(j4))},e.ɵprov=ft({token:e,factory:e.ɵfac});let u=e;return u})(),W4=new xt(""),deu="XSRF-TOKEN",feu=new xt("",{providedIn:"root",factory:()=>deu}),peu="X-XSRF-TOKEN",Eeu=new xt("",{providedIn:"root",factory:()=>peu}),X4=class{},Ceu=(()=>{const e=class e{constructor(n,o,f){this.doc=n,this.platform=o,this.cookieName=f,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=N4(n,this.cookieName),this.lastCookieString=n),this.lastToken}};e.ɵfac=function(n){return new(n||e)(Le(mn),Le(Ro),Le(feu))},e.ɵprov=ft({token:e,factory:e.ɵfac});let u=e;return u})();function Feu(u,e){let i=u.url.toLowerCase();if(!ht(W4)||u.method==="GET"||u.method==="HEAD"||i.startsWith("http://")||i.startsWith("https://"))return e(u);let n=ht(X4).getToken(),o=ht(Eeu);return n!=null&&!u.headers.has(o)&&(u=u.clone({headers:u.headers.set(o,n)})),e(u)}var Y4=function(u){return u[u.Interceptors=0]="Interceptors",u[u.LegacyInterceptors=1]="LegacyInterceptors",u[u.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",u[u.NoXsrfProtection=3]="NoXsrfProtection",u[u.JsonpSupport=4]="JsonpSupport",u[u.RequestsMadeViaParent=5]="RequestsMadeViaParent",u[u.Fetch=6]="Fetch",u}(Y4||{});function Aeu(u,e){return{ɵkind:u,ɵproviders:e}}function y6(...u){let e=[ic,X8,W8,{provide:m6,useExisting:W8},{provide:V4,useExisting:X8},{provide:v6,useValue:Feu,multi:!0},{provide:W4,useValue:!0},{provide:X4,useClass:Ceu}];for(let i of u)e.push(...i.ɵproviders);return S1(e)}function b6(u){return Aeu(Y4.Interceptors,u.map(e=>({provide:v6,useValue:e,multi:!0})))}var geu=class extends huu{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Deu=class Z4 extends geu{static makeCurrent(){cuu(new Z4)}onAndCancel(e,i,n){return e.addEventListener(i,n),()=>{e.removeEventListener(i,n)}}dispatchEvent(e,i){e.dispatchEvent(i)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,i){return i=i||this.getDefaultDocument(),i.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,i){return i==="window"?window:i==="document"?e:i==="body"?e.body:null}getBaseHref(e){let i=meu();return i==null?null:Beu(i)}resetBaseElement(){cs=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return N4(document.cookie,e)}},cs=null;function meu(){return cs=cs||document.querySelector("base"),cs?cs.getAttribute("href"):null}function Beu(u){return new URL(u,document.baseURI).pathname}var veu=(()=>{const e=class e{build(){return new XMLHttpRequest}};e.ɵfac=function(n){return new(n||e)},e.ɵprov=ft({token:e,factory:e.ɵfac});let u=e;return u})(),W5=new xt(""),K4=(()=>{const e=class e{constructor(n,o){this._zone=o,this._eventNameToPlugin=new Map,n.forEach(f=>{f.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,o,f){return this._findPluginFor(o).addEventListener(n,o,f)}getZone(){return this._zone}_findPluginFor(n){let o=this._eventNameToPlugin.get(n);if(o)return o;if(o=this._plugins.find(f=>f.supports(n)),!o)throw new ct(5101,!1);return this._eventNameToPlugin.set(n,o),o}};e.ɵfac=function(n){return new(n||e)(Le(W5),Le(Sn))},e.ɵprov=ft({token:e,factory:e.ɵfac});let u=e;return u})(),J4=class{constructor(u){this._doc=u}},Jc="ng-app-id",Q4=(()=>{const e=class e{constructor(n,o,f,l={}){this.doc=n,this.appId=o,this.nonce=f,this.platformId=l,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=L4(l),this.resetHostNodes()}addStyles(n){for(let o of n)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(n){for(let o of n)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(o=>o.remove()),n.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let o of this.getAllStyles())this.addStyleToHost(n,o)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let o of this.hostNodes)this.addStyleToHost(o,n)}onStyleRemoved(n){var f,l;let o=this.styleRef;(l=(f=o.get(n))==null?void 0:f.elements)==null||l.forEach(h=>h.remove()),o.delete(n)}collectServerRenderedStyles(){var o;let n=(o=this.doc.head)==null?void 0:o.querySelectorAll(`style[${Jc}="${this.appId}"]`);if(n!=null&&n.length){let f=new Map;return n.forEach(l=>{l.textContent!=null&&f.set(l.textContent,l)}),f}return null}changeUsageCount(n,o){let f=this.styleRef;if(f.has(n)){let l=f.get(n);return l.usage+=o,l.usage}return f.set(n,{usage:o,elements:[]}),o}getStyleElement(n,o){let f=this.styleNodesInDOM,l=f==null?void 0:f.get(o);if((l==null?void 0:l.parentNode)===n)return f.delete(o),l.removeAttribute(Jc),l;{let h=this.doc.createElement("style");return this.nonce&&h.setAttribute("nonce",this.nonce),h.textContent=o,this.platformIsServer&&h.setAttribute(Jc,this.appId),n.appendChild(h),h}}addStyleToHost(n,o){var t;let f=this.getStyleElement(n,o),l=this.styleRef,h=(t=l.get(o))==null?void 0:t.elements;h?h.push(f):l.set(o,{elements:[f],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.ɵfac=function(n){return new(n||e)(Le(mn),Le(ed),Le(Q1,8),Le(Ro))},e.ɵprov=ft({token:e,factory:e.ɵfac});let u=e;return u})(),Qc={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},x6=/%COMP%/g,$4="%COMP%",yeu=`_nghost-${$4}`,beu=`_ngcontent-${$4}`,xeu=!0,weu=new xt("",{providedIn:"root",factory:()=>xeu});function _eu(u){return beu.replace(x6,u)}function Seu(u){return yeu.replace(x6,u)}function uf(u,e){return e.map(i=>i.replace(x6,u))}var X5=(()=>{const e=class e{constructor(n,o,f,l,h,t,c,a=null){this.eventManager=n,this.sharedStylesHost=o,this.appId=f,this.removeStylesOnCompDestroy=l,this.doc=h,this.platformId=t,this.ngZone=c,this.nonce=a,this.rendererByCompId=new Map,this.platformIsServer=L4(t),this.defaultRenderer=new w6(n,h,c,this.platformIsServer)}createRenderer(n,o){if(!n||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===ji.ShadowDom&&(o=Wi(jt({},o),{encapsulation:ji.Emulated}));let f=this.getOrCreateRenderer(n,o);return f instanceof Z8?f.applyToHost(n):f instanceof Y5&&f.applyStyles(),f}getOrCreateRenderer(n,o){let f=this.rendererByCompId,l=f.get(o.id);if(!l){let h=this.doc,t=this.ngZone,c=this.eventManager,a=this.sharedStylesHost,s=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(o.encapsulation){case ji.Emulated:l=new Z8(c,a,o,this.appId,s,h,t,d);break;case ji.ShadowDom:return new keu(c,a,n,o,h,t,this.nonce,d);default:l=new Y5(c,a,o,s,h,t,d);break}f.set(o.id,l)}return l}ngOnDestroy(){this.rendererByCompId.clear()}};e.ɵfac=function(n){return new(n||e)(Le(K4),Le(Q4),Le(ed),Le(weu),Le(mn),Le(Ro),Le(Sn),Le(Q1))},e.ɵprov=ft({token:e,factory:e.ɵfac});let u=e;return u})(),w6=class{constructor(u,e,i,n){this.eventManager=u,this.doc=e,this.ngZone=i,this.platformIsServer=n,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(u,e){return e?this.doc.createElementNS(Qc[e]||e,u):this.doc.createElement(u)}createComment(u){return this.doc.createComment(u)}createText(u){return this.doc.createTextNode(u)}appendChild(u,e){(Y8(u)?u.content:u).appendChild(e)}insertBefore(u,e,i){u&&(Y8(u)?u.content:u).insertBefore(e,i)}removeChild(u,e){u&&u.removeChild(e)}selectRootElement(u,e){let i=typeof u=="string"?this.doc.querySelector(u):u;if(!i)throw new ct(-5104,!1);return e||(i.textContent=""),i}parentNode(u){return u.parentNode}nextSibling(u){return u.nextSibling}setAttribute(u,e,i,n){if(n){e=n+":"+e;let o=Qc[n];o?u.setAttributeNS(o,e,i):u.setAttribute(e,i)}else u.setAttribute(e,i)}removeAttribute(u,e,i){if(i){let n=Qc[i];n?u.removeAttributeNS(n,e):u.removeAttribute(`${i}:${e}`)}else u.removeAttribute(e)}addClass(u,e){u.classList.add(e)}removeClass(u,e){u.classList.remove(e)}setStyle(u,e,i,n){n&(ao.DashCase|ao.Important)?u.style.setProperty(e,i,n&ao.Important?"important":""):u.style[e]=i}removeStyle(u,e,i){i&ao.DashCase?u.style.removeProperty(e):u.style[e]=""}setProperty(u,e,i){u!=null&&(u[e]=i)}setValue(u,e){u.nodeValue=e}listen(u,e,i){if(typeof u=="string"&&(u=ps().getGlobalEventTarget(this.doc,u),!u))throw new Error(`Unsupported event target ${u} for event ${e}`);return this.eventManager.addEventListener(u,e,this.decoratePreventDefault(i))}decoratePreventDefault(u){return e=>{if(e==="__ngUnwrap__")return u;(this.platformIsServer?this.ngZone.runGuarded(()=>u(e)):u(e))===!1&&e.preventDefault()}}};function Y8(u){return u.tagName==="TEMPLATE"&&u.content!==void 0}var keu=class extends w6{constructor(u,e,i,n,o,f,l,h){super(u,o,f,h),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let t=uf(n.id,n.styles);for(let c of t){let a=document.createElement("style");l&&a.setAttribute("nonce",l),a.textContent=c,this.shadowRoot.appendChild(a)}}nodeOrShadowRoot(u){return u===this.hostEl?this.shadowRoot:u}appendChild(u,e){return super.appendChild(this.nodeOrShadowRoot(u),e)}insertBefore(u,e,i){return super.insertBefore(this.nodeOrShadowRoot(u),e,i)}removeChild(u,e){return super.removeChild(this.nodeOrShadowRoot(u),e)}parentNode(u){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(u)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Y5=class extends w6{constructor(u,e,i,n,o,f,l,h){super(u,o,f,l),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=n,this.styles=h?uf(h,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Z8=class extends Y5{constructor(u,e,i,n,o,f,l,h){let t=n+"-"+i.id;super(u,e,i,o,f,l,h,t),this.contentAttr=_eu(t),this.hostAttr=Seu(t)}applyToHost(u){this.applyStyles(),this.setAttribute(u,this.hostAttr,"")}createElement(u,e){let i=super.createElement(u,e);return super.setAttribute(i,this.contentAttr,""),i}},Peu=(()=>{const e=class e extends J4{constructor(n){super(n)}supports(n){return!0}addEventListener(n,o,f){return n.addEventListener(o,f,!1),()=>this.removeEventListener(n,o,f)}removeEventListener(n,o,f){return n.removeEventListener(o,f)}};e.ɵfac=function(n){return new(n||e)(Le(mn))},e.ɵprov=ft({token:e,factory:e.ɵfac});let u=e;return u})(),K8=["alt","control","meta","shift"],Ieu={"\b":"Backspace"," ":"Tab","":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Teu={alt:u=>u.altKey,control:u=>u.ctrlKey,meta:u=>u.metaKey,shift:u=>u.shiftKey},Oeu=(()=>{const e=class e extends J4{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,o,f){let l=e.parseEventName(o),h=e.eventCallback(l.fullKey,f,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ps().onAndCancel(n,l.domEventName,h))}static parseEventName(n){let o=n.toLowerCase().split("."),f=o.shift();if(o.length===0||!(f==="keydown"||f==="keyup"))return null;let l=e._normalizeKey(o.pop()),h="",t=o.indexOf("code");if(t>-1&&(o.splice(t,1),h="code."),K8.forEach(a=>{let s=o.indexOf(a);s>-1&&(o.splice(s,1),h+=a+".")}),h+=l,o.length!=0||l.length===0)return null;let c={};return c.domEventName=f,c.fullKey=h,c}static matchEventFullKeyCode(n,o){let f=Ieu[n.key]||n.key,l="";return o.indexOf("code.")>-1&&(f=n.code,l="code."),f==null||!f?!1:(f=f.toLowerCase(),f===" "?f="space":f==="."&&(f="dot"),K8.forEach(h=>{if(h!==f){let t=Teu[h];t(n)&&(l+=h+".")}}),l+=f,l===o)}static eventCallback(n,o,f){return l=>{e.matchEventFullKeyCode(l,n)&&f.runGuarded(()=>o(l))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.ɵfac=function(n){return new(n||e)(Le(mn))},e.ɵprov=ft({token:e,factory:e.ɵfac});let u=e;return u})();function Neu(u){return Y$(Reu(u))}function Reu(u){return{appProviders:[...zeu,...(u==null?void 0:u.providers)??[]],platformProviders:Veu}}function Meu(){Deu.makeCurrent()}function Leu(){return new Ea}function jeu(){return jZ(document),document}var Veu=[{provide:Ro,useValue:M4},{provide:td,useValue:Meu,multi:!0},{provide:mn,useFactory:jeu,deps:[]}],zeu=[{provide:P1,useValue:"root"},{provide:Ea,useFactory:Leu,deps:[]},{provide:W5,useClass:Peu,multi:!0,deps:[mn,Sn,Ro]},{provide:W5,useClass:Oeu,multi:!0,deps:[mn]},X5,Q4,K4,{provide:l6,useExisting:X5},{provide:j4,useClass:veu,deps:[]},[]],ef=(()=>{const e=class e{};e.ɵfac=function(n){return new(n||e)},e.ɵprov=ft({token:e,factory:function(n){let o=null;return n?o=new(n||e):o=Le(Ueu),o},providedIn:"root"});let u=e;return u})(),Ueu=(()=>{const e=class e extends ef{constructor(n){super(),this._doc=n}sanitize(n,o){if(o==null)return null;switch(n){case Zr.NONE:return o;case Zr.HTML:return is(o,"HTML")?Ia(o):DK(this._doc,String(o)).toString();case Zr.STYLE:return is(o,"Style")?Ia(o):o;case Zr.SCRIPT:if(is(o,"Script"))return Ia(o);throw new ct(5200,!1);case Zr.URL:return is(o,"URL")?Ia(o):rd(String(o));case Zr.RESOURCE_URL:if(is(o,"ResourceURL"))return Ia(o);throw new ct(5201,!1);default:throw new ct(5202,!1)}}bypassSecurityTrustHtml(n){return JZ(n)}bypassSecurityTrustStyle(n){return QZ(n)}bypassSecurityTrustScript(n){return $Z(n)}bypassSecurityTrustUrl(n){return uK(n)}bypassSecurityTrustResourceUrl(n){return eK(n)}};e.ɵfac=function(n){return new(n||e)(Le(mn))},e.ɵprov=ft({token:e,factory:e.ɵfac,providedIn:"root"});let u=e;return u})(),pe=function(u){return u.SEPARATOR="separator",u.PERCENT="percent",u.IP="IP",u.CPF_CNPJ="CPF_CNPJ",u.MONTH="M",u.MONTHS="M0",u.MINUTE="m",u.HOUR="h",u.HOURS="H",u.MINUTES="m0",u.HOURS_HOUR="Hh",u.SECONDS="s0",u.HOURS_MINUTES_SECONDS="Hh:m0:s0",u.EMAIL_MASK="A*@A*.A*",u.HOURS_MINUTES="Hh:m0",u.MINUTES_SECONDS="m0:s0",u.DAYS_MONTHS_YEARS="d0/M0/0000",u.DAYS_MONTHS="d0/M0",u.DAYS="d0",u.DAY="d",u.SECOND="s",u.LETTER_S="S",u.DOT=".",u.COMMA=",",u.CURLY_BRACKETS_LEFT="{",u.CURLY_BRACKETS_RIGHT="}",u.MINUS="-",u.OR="||",u.HASH="#",u.EMPTY_STRING="",u.SYMBOL_STAR="*",u.SYMBOL_QUESTION="?",u.SLASH="/",u.WHITE_SPACE=" ",u.NUMBER_ZERO="0",u.NUMBER_NINE="9",u.BACKSPACE="Backspace",u.DELETE="Delete",u.ARROW_LEFT="ArrowLeft",u.ARROW_UP="ArrowUp",u.DOUBLE_ZERO="00",u}(pe||{}),_6=new xt("ngx-mask config"),tf=new xt("new ngx-mask config"),nf=new xt("initial ngx-mask config"),Heu={suffix:"",prefix:"",thousandSeparator:" ",decimalMarker:[".",","],clearIfNotMatch:!1,showTemplate:!1,showMaskTyped:!1,placeHolderCharacter:"_",dropSpecialCharacters:!0,hiddenInput:null,shownMaskExpression:"",separatorLimit:"",allowNegativeNumbers:!1,validation:!0,specialCharacters:["-","/","(",")",".",":"," ","+",",","@","[","]",'"',"'"],leadZeroDateTime:!1,apm:!1,leadZero:!1,keepCharacterPositions:!1,triggerOnMaskChange:!1,inputTransformFn:u=>u,outputTransformFn:u=>u,maskFilled:new Cr,patterns:{0:{pattern:new RegExp("\\d")},9:{pattern:new RegExp("\\d"),optional:!0},X:{pattern:new RegExp("\\d"),symbol:"*"},A:{pattern:new RegExp("[a-zA-Z0-9]")},S:{pattern:new RegExp("[a-zA-Z]")},U:{pattern:new RegExp("[A-Z]")},L:{pattern:new RegExp("[a-z]")},d:{pattern:new RegExp("\\d")},m:{pattern:new RegExp("\\d")},M:{pattern:new RegExp("\\d")},H:{pattern:new RegExp("\\d")},h:{pattern:new RegExp("\\d")},s:{pattern:new RegExp("\\d")}}};pe.HOURS_MINUTES_SECONDS,pe.HOURS_MINUTES,pe.MINUTES_SECONDS;pe.PERCENT,pe.HOURS_HOUR,pe.SECONDS,pe.MINUTES,pe.SEPARATOR,pe.DAYS_MONTHS_YEARS,pe.DAYS_MONTHS,pe.DAYS,pe.MONTHS;var Geu=(()=>{const e=class e{constructor(){Te(this,"_config",ht(_6));Te(this,"dropSpecialCharacters",this._config.dropSpecialCharacters);Te(this,"hiddenInput",this._config.hiddenInput);Te(this,"showTemplate");Te(this,"clearIfNotMatch",this._config.clearIfNotMatch);Te(this,"specialCharacters",this._config.specialCharacters);Te(this,"patterns",this._config.patterns);Te(this,"prefix",this._config.prefix);Te(this,"suffix",this._config.suffix);Te(this,"thousandSeparator",this._config.thousandSeparator);Te(this,"decimalMarker",this._config.decimalMarker);Te(this,"customPattern");Te(this,"showMaskTyped",this._config.showMaskTyped);Te(this,"placeHolderCharacter",this._config.placeHolderCharacter);Te(this,"validation",this._config.validation);Te(this,"separatorLimit",this._config.separatorLimit);Te(this,"allowNegativeNumbers",this._config.allowNegativeNumbers);Te(this,"leadZeroDateTime",this._config.leadZeroDateTime);Te(this,"leadZero",this._config.leadZero);Te(this,"apm",this._config.apm);Te(this,"inputTransformFn",this._config.inputTransformFn);Te(this,"outputTransformFn",this._config.outputTransformFn);Te(this,"keepCharacterPositions",this._config.keepCharacterPositions);Te(this,"_shift",new Set);Te(this,"plusOnePosition",!1);Te(this,"maskExpression","");Te(this,"actualValue","");Te(this,"showKeepCharacterExp","");Te(this,"shownMaskExpression","");Te(this,"deletedSpecialCharacter",!1);Te(this,"ipError");Te(this,"cpfCnpjError");Te(this,"_formatWithSeparators",(n,o,f,l)=>{var p;let h=[],t="";if(Array.isArray(f)){let E=new RegExp(f.map(C=>"[\\^$.|?*+()".indexOf(C)>=0?`\\${C}`:C).join("|"));h=n.split(E),t=((p=n.match(E))==null?void 0:p[0])??pe.EMPTY_STRING}else h=n.split(f),t=f;let c=h.length>1?`${t}${h[1]}`:pe.EMPTY_STRING,a=h[0]??pe.EMPTY_STRING,s=this.separatorLimit.replace(/\s/g,pe.EMPTY_STRING);s&&+s&&(a[0]===pe.MINUS?a=`-${a.slice(1,a.length).slice(0,s.length)}`:a=a.slice(0,s.length));let d=/(\d+)(\d{3})/;for(;o&&d.test(a);)a=a.replace(d,"$1"+o+"$2");return typeof l>"u"?a+c:l===0?a:a+c.substring(0,l+1)});Te(this,"percentage",n=>{let o=n.replace(",","."),f=Number(this.allowNegativeNumbers&&n.includes(pe.MINUS)?o.slice(1,n.length):o);return!isNaN(f)&&f>=0&&f<=100});Te(this,"getPrecision",n=>{let o=n.split(pe.DOT);return o.length>1?Number(o[o.length-1]):1/0});Te(this,"checkAndRemoveSuffix",n=>{var o,f,l,h;for(let t=((o=this.suffix)==null?void 0:o.length)-1;t>=0;t--){let c=this.suffix.substring(t,(f=this.suffix)==null?void 0:f.length);if(n.includes(c)&&t!==((l=this.suffix)==null?void 0:l.length)-1&&(t-1<0||!n.includes(this.suffix.substring(t-1,(h=this.suffix)==null?void 0:h.length))))return n.replace(c,pe.EMPTY_STRING)}return n});Te(this,"checkInputPrecision",(n,o,f)=>{var t;let l=n,h=f;if(o<1/0){Array.isArray(h)&&(h=h.find(p=>p!==this.thousandSeparator)||h[0]);let c=new RegExp(this._charToRegExpExpression(h)+`\\d{${o}}.*$`),a=l.match(c),s=(a&&((t=a[0])==null?void 0:t.length))??0;if(s-1>o){let d=s-1-o;l=l.substring(0,l.length-d)}o===0&&this._compareOrIncludes(l[l.length-1],h,this.thousandSeparator)&&(l=l.substring(0,l.length-1))}return l})}applyMaskWithPattern(n,o){let[f,l]=o;return this.customPattern=l,this.applyMask(n,f)}applyMask(n,o,f=0,l=!1,h=!1,t=()=>{}){var M,k,P;if(!o||typeof n!="string")return pe.EMPTY_STRING;let c=0,a="",s=!1,d=!1,p=1,E=!1,C=n,A=f;C.slice(0,this.prefix.length)===this.prefix&&(C=C.slice(this.prefix.length,C.length)),this.suffix&&C.length>0&&(C=this.checkAndRemoveSuffix(C)),C==="("&&this.prefix&&(C="");let F=C.toString().split(pe.EMPTY_STRING);if(this.allowNegativeNumbers&&C.slice(c,c+1)===pe.MINUS&&(a+=C.slice(c,c+1)),o===pe.IP){let v=C.split(pe.DOT);this.ipError=this._validIP(v),o="099.099.099.099"}let D=[];for(let v=0;v<C.length;v++)(M=C[v])!=null&&M.match("\\d")&&D.push(C[v]??pe.EMPTY_STRING);if(o===pe.CPF_CNPJ&&(this.cpfCnpjError=D.length!==11&&D.length!==14,D.length>11?o="00.000.000/0000-00":o="000.000.000-00"),o.startsWith(pe.PERCENT)){if(C.match("[a-z]|[A-Z]")||C.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!h){C=this._stripToDecimal(C);let b=this.getPrecision(o);C=this.checkInputPrecision(C,b,this.decimalMarker)}let v=typeof this.decimalMarker=="string"?this.decimalMarker:pe.DOT;if(C.indexOf(v)>0&&!this.percentage(C.substring(0,C.indexOf(v)))){let b=C.substring(0,C.indexOf(v)-1);this.allowNegativeNumbers&&C.slice(c,c+1)===pe.MINUS&&!h&&(b=C.substring(0,C.indexOf(v))),C=`${b}${C.substring(C.indexOf(v),C.length)}`}let _="";this.allowNegativeNumbers&&C.slice(c,c+1)===pe.MINUS?_=`${pe.MINUS}${C.slice(c+1,c+C.length)}`:_=C,this.percentage(_)?a=this._splitPercentZero(C):a=this._splitPercentZero(C.substring(0,C.length-1))}else if(o.startsWith(pe.SEPARATOR)){(C.match("[wа-яА-Я]")||C.match("[ЁёА-я]")||C.match("[a-z]|[A-Z]")||C.match(/[-@#!$%\\^&*()_£¬'+|~=`{}\]:";<>.?/]/)||C.match("[^A-Za-z0-9,]"))&&(C=this._stripToDecimal(C));let v=this.getPrecision(o),_=Array.isArray(this.decimalMarker)?this.thousandSeparator===pe.DOT?pe.COMMA:pe.DOT:this.decimalMarker;if(v===0?C=this.allowNegativeNumbers?C.length>2&&C[0]===pe.MINUS&&C[1]===pe.NUMBER_ZERO&&C[2]!==this.thousandSeparator&&C[2]!==pe.COMMA&&C[2]!==pe.DOT?"-"+C.slice(2,C.length):C[0]===pe.NUMBER_ZERO&&C.length>1&&C[1]!==this.thousandSeparator&&C[1]!==pe.COMMA&&C[1]!==pe.DOT?C.slice(1,C.length):C:C.length>1&&C[0]===pe.NUMBER_ZERO&&C[1]!==this.thousandSeparator&&C[1]!==pe.COMMA&&C[1]!==pe.DOT?C.slice(1,C.length):C:(C[0]===_&&C.length>1&&(C=pe.NUMBER_ZERO+C.slice(0,C.length+1),this.plusOnePosition=!0),C[0]===pe.NUMBER_ZERO&&C[1]!==_&&C[1]!==this.thousandSeparator&&(C=C.length>1?C.slice(0,1)+_+C.slice(1,C.length+1):C,this.plusOnePosition=!0),this.allowNegativeNumbers&&C[0]===pe.MINUS&&(C[1]===_||C[1]===pe.NUMBER_ZERO)&&(C=C[1]===_&&C.length>2?C.slice(0,1)+pe.NUMBER_ZERO+C.slice(1,C.length):C[1]===pe.NUMBER_ZERO&&C.length>2&&C[2]!==_?C.slice(0,2)+_+C.slice(2,C.length):C,this.plusOnePosition=!0)),h){let pu=C.slice(this._findFirstNonZeroDigitIndex(C),C.length),lu=C[A]===pe.NUMBER_ZERO||C[A]===_,fu=C[0]===pe.NUMBER_ZERO,_u=C[0]===pe.MINUS,Iu=C[0]===this.thousandSeparator,Mu=C[1]===_,Pu=C[1]===pe.NUMBER_ZERO,Zu=C[2]===_;fu&&Mu&&lu&&A<2&&(C=pu),_u&&Pu&&Zu&&lu&&A<3&&(C=pe.MINUS+pu),pu!==pe.MINUS&&(A===0&&(fu||Iu)||this.allowNegativeNumbers&&A===1&&_u&&!Pu)&&(C=_u?pe.MINUS+pu:pu)}let b=this._charToRegExpExpression(this.thousandSeparator),w='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(b,"");if(Array.isArray(this.decimalMarker))for(let pu of this.decimalMarker)w=w.replace(this._charToRegExpExpression(pu),pe.EMPTY_STRING);else w=w.replace(this._charToRegExpExpression(this.decimalMarker),"");let S=new RegExp("["+w+"]");C.match(S)&&(C=C.substring(0,C.length-1)),C=this.checkInputPrecision(C,v,this.decimalMarker);let N=C.replace(new RegExp(b,"g"),"");a=this._formatWithSeparators(N,this.thousandSeparator,this.decimalMarker,v);let j=a.indexOf(pe.COMMA)-C.indexOf(pe.COMMA),z=a.length-C.length,tu=h&&a.length<n.length&&this.separatorLimit;if((a[A-1]===this.thousandSeparator||a[A-this.prefix.length])&&this.prefix&&h)A=A-1;else if(z>0&&a[A]!==this.thousandSeparator||tu){d=!0;let pu=0;do this._shift.add(A+pu),pu++;while(pu<z)}else a[A-1]===this.thousandSeparator||z===-4||z===-3||a[A]===this.thousandSeparator?(this._shift.clear(),this._shift.add(A-1)):j!==0&&A>0&&!(a.indexOf(pe.COMMA)>=A&&A>3)||!(a.indexOf(pe.DOT)>=A&&A>3)&&z<=0?(this._shift.clear(),d=!0,p=z,A+=z,this._shift.add(A)):this._shift.clear()}else for(let v=0,_=F[0];v<F.length&&c!==o.length;v++,_=F[v]??pe.EMPTY_STRING){let b=pe.SYMBOL_STAR in this.patterns;if(this._checkSymbolMask(_,o[c]??pe.EMPTY_STRING)&&o[c+1]===pe.SYMBOL_QUESTION)a+=_,c+=2;else if(o[c+1]===pe.SYMBOL_STAR&&s&&this._checkSymbolMask(_,o[c+2]??pe.EMPTY_STRING))a+=_,c+=3,s=!1;else if(this._checkSymbolMask(_,o[c]??pe.EMPTY_STRING)&&o[c+1]===pe.SYMBOL_STAR&&!b)a+=_,s=!0;else if(o[c+1]===pe.SYMBOL_QUESTION&&this._checkSymbolMask(_,o[c+2]??pe.EMPTY_STRING))a+=_,c+=3;else if(this._checkSymbolMask(_,o[c]??pe.EMPTY_STRING)){if(o[c]===pe.HOURS&&(this.apm?Number(_)>9:Number(_)>2)){A=this.leadZeroDateTime?A:A+1,c+=1,this._shiftStep(o,c,F.length),v--,this.leadZeroDateTime&&(a+="0");continue}if(o[c]===pe.HOUR&&(this.apm?a.length===1&&Number(a)>1||a==="1"&&Number(_)>2||C.slice(c-1,c).length===1&&Number(C.slice(c-1,c))>2||C.slice(c-1,c)==="1"&&Number(_)>2:a==="2"&&Number(_)>3||(a.slice(c-2,c)==="2"||a.slice(c-3,c)==="2"||a.slice(c-4,c)==="2"||a.slice(c-1,c)==="2")&&Number(_)>3&&c>10)){A=A+1,c+=1,v--;continue}if((o[c]===pe.MINUTE||o[c]===pe.SECOND)&&Number(_)>5){A=this.leadZeroDateTime?A:A+1,c+=1,this._shiftStep(o,c,F.length),v--,this.leadZeroDateTime&&(a+="0");continue}let w=31,S=C[c],N=C[c+1],j=C[c+2],z=C[c-1],tu=C[c-2],pu=C.slice(c-3,c-1),lu=C.slice(c-1,c+1),fu=C.slice(c,c+2),_u=C.slice(c-2,c);if(o[c]===pe.DAY){let Iu=o.slice(0,2)===pe.MONTHS,Mu=o.slice(0,2)===pe.MONTHS&&this.specialCharacters.includes(tu);if(Number(_)>3&&this.leadZeroDateTime||!Iu&&(Number(fu)>w||Number(lu)>w||this.specialCharacters.includes(N))||(Mu?Number(lu)>w||!this.specialCharacters.includes(S)&&this.specialCharacters.includes(j)||this.specialCharacters.includes(S):Number(fu)>w||this.specialCharacters.includes(N)&&!h)){A=this.leadZeroDateTime?A:A+1,c+=1,this._shiftStep(o,c,F.length),v--,this.leadZeroDateTime&&(a+="0");continue}}if(o[c]===pe.MONTH){let Iu=c===0&&(Number(_)>2||Number(fu)>12||this.specialCharacters.includes(N)&&!h),Mu=o.slice(c+2,c+3),Pu=pu.includes(Mu)&&o.includes("d0")&&(this.specialCharacters.includes(tu)&&Number(lu)>12&&!this.specialCharacters.includes(S)||this.specialCharacters.includes(S)),Zu=Number(pu)<=w&&!this.specialCharacters.includes(pu)&&this.specialCharacters.includes(z)&&(Number(fu)>12||this.specialCharacters.includes(N)),ju=Number(fu)>12&&c===5||this.specialCharacters.includes(N)&&c===5,$=Number(pu)>w&&!this.specialCharacters.includes(pu)&&!this.specialCharacters.includes(_u)&&Number(_u)>12&&o.includes("d0"),Bu=Number(pu)<=w&&!this.specialCharacters.includes(pu)&&!this.specialCharacters.includes(z)&&Number(lu)>12;if(Number(_)>1&&this.leadZeroDateTime||Iu||Pu||Bu||$||Zu||ju&&!this.leadZeroDateTime){A=this.leadZeroDateTime?A:A+1,c+=1,this._shiftStep(o,c,F.length),v--,this.leadZeroDateTime&&(a+="0");continue}}a+=_,c++}else this.specialCharacters.includes(_)&&o[c]===_?(a+=_,c++):this.specialCharacters.indexOf(o[c]??pe.EMPTY_STRING)!==-1?(a+=o[c],c++,this._shiftStep(o,c,F.length),v--):o[c]===pe.NUMBER_NINE&&this.showMaskTyped?this._shiftStep(o,c,F.length):this.patterns[o[c]??pe.EMPTY_STRING]&&((k=this.patterns[o[c]??pe.EMPTY_STRING])!=null&&k.optional)?(F[c]&&o!=="099.099.099.099"&&o!=="000.000.000-00"&&o!=="00.000.000/0000-00"&&!o.match(/^9+\.0+$/)&&!((P=this.patterns[o[c]??pe.EMPTY_STRING])!=null&&P.optional)&&(a+=F[c]),o.includes(pe.NUMBER_NINE+pe.SYMBOL_STAR)&&o.includes(pe.NUMBER_ZERO+pe.SYMBOL_STAR)&&c++,c++,v--):this.maskExpression[c+1]===pe.SYMBOL_STAR&&this._findSpecialChar(this.maskExpression[c+2]??pe.EMPTY_STRING)&&this._findSpecialChar(_)===this.maskExpression[c+2]&&s||this.maskExpression[c+1]===pe.SYMBOL_QUESTION&&this._findSpecialChar(this.maskExpression[c+2]??pe.EMPTY_STRING)&&this._findSpecialChar(_)===this.maskExpression[c+2]&&s?(c+=3,a+=_):this.showMaskTyped&&this.specialCharacters.indexOf(_)<0&&_!==this.placeHolderCharacter&&this.placeHolderCharacter.length===1&&(E=!0)}a.length+1===o.length&&this.specialCharacters.indexOf(o[o.length-1]??pe.EMPTY_STRING)!==-1&&(a+=o[o.length-1]);let g=A+1;for(;this._shift.has(g);)p++,g++;let B=l&&!o.startsWith(pe.SEPARATOR)?c:this._shift.has(A)?p:0;E&&B--,t(B,d),p<0&&this._shift.clear();let r=!1;h&&(r=F.every(v=>this.specialCharacters.includes(v)));let m=`${this.prefix}${r?pe.EMPTY_STRING:a}${this.showMaskTyped?"":this.suffix}`;a.length===0&&(m=this.dropSpecialCharacters?`${a}`:`${this.prefix}${a}`);let x=C.length===1&&this.specialCharacters.includes(o[0])&&C!==o[0];if(!this._checkSymbolMask(C,o[1])&&x)return"";if(a.includes(pe.MINUS)&&this.prefix&&this.allowNegativeNumbers){if(h&&a===pe.MINUS)return"";m=`${pe.MINUS}${this.prefix}${a.split(pe.MINUS).join(pe.EMPTY_STRING)}${this.suffix}`}return m}_findDropSpecialChar(n){return Array.isArray(this.dropSpecialCharacters)?this.dropSpecialCharacters.find(o=>o===n):this._findSpecialChar(n)}_findSpecialChar(n){return this.specialCharacters.find(o=>o===n)}_checkSymbolMask(n,o){var f,l;return this.patterns=this.customPattern?this.customPattern:this.patterns,(((f=this.patterns[o])==null?void 0:f.pattern)&&((l=this.patterns[o])==null?void 0:l.pattern.test(n)))??!1}_stripToDecimal(n){return n.split(pe.EMPTY_STRING).filter((o,f)=>{let l=typeof this.decimalMarker=="string"?o===this.decimalMarker:this.decimalMarker.includes(o);return o.match("^-?\\d")||o===this.thousandSeparator||l||o===pe.MINUS&&f===0&&this.allowNegativeNumbers}).join(pe.EMPTY_STRING)}_charToRegExpExpression(n){return n&&(n===" "?"\\s":"[\\^$.|?*+()".indexOf(n)>=0?`\\${n}`:n)}_shiftStep(n,o,f){let l=/[*?]/g.test(n.slice(0,o))?f:o;this._shift.add(l+this.prefix.length||0)}_compareOrIncludes(n,o,f){return Array.isArray(o)?o.filter(l=>l!==f).includes(n):n===o}_validIP(n){return!(n.length===4&&!n.some((o,f)=>n.length!==f+1?o===pe.EMPTY_STRING||Number(o)>255:o===pe.EMPTY_STRING||Number(o.substring(0,3))>255))}_splitPercentZero(n){if(n===pe.MINUS&&this.allowNegativeNumbers)return n;let o=typeof this.decimalMarker=="string"?n.indexOf(this.decimalMarker):n.indexOf(pe.DOT),f=this.allowNegativeNumbers&&n.includes(pe.MINUS)?"-":"";if(o===-1){let l=parseInt(f?n.slice(1,n.length):n,10);return isNaN(l)?pe.EMPTY_STRING:`${f}${l}`}else{let l=parseInt(n.replace("-","").substring(0,o),10),h=n.substring(o+1),t=isNaN(l)?"":l.toString(),c=typeof this.decimalMarker=="string"?this.decimalMarker:pe.DOT;return t===pe.EMPTY_STRING?pe.EMPTY_STRING:`${f}${t}${c}${h}`}}_findFirstNonZeroDigitIndex(n){for(let o=0;o<n.length;o++){let f=n[o];if(f&&f>="1"&&f<="9")return o}return-1}};Te(e,"ɵfac",function(n){return new(n||e)}),Te(e,"ɵprov",ft({token:e,factory:e.ɵfac}));let u=e;return u})(),qeu=(()=>{const e=class e extends Geu{constructor(){super(...arguments);Te(this,"isNumberValue",!1);Te(this,"maskIsShown","");Te(this,"selStart",null);Te(this,"selEnd",null);Te(this,"writingValue",!1);Te(this,"maskChanged",!1);Te(this,"_maskExpressionArray",[]);Te(this,"triggerOnMaskChange",!1);Te(this,"_previousValue","");Te(this,"_currentValue","");Te(this,"_emitValue",!1);Te(this,"_start");Te(this,"_end");Te(this,"onChange",o=>{});Te(this,"_elementRef",ht(mr,{optional:!0}));Te(this,"document",ht(mn));Te(this,"_config",ht(_6));Te(this,"_renderer",ht(c6,{optional:!0}))}applyMask(o,f,l=0,h=!1,t=!1,c=()=>{}){if(!f)return o!==this.actualValue?this.actualValue:o;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():pe.EMPTY_STRING,this.maskExpression===pe.IP&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(o||pe.HASH)),this.maskExpression===pe.CPF_CNPJ&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(o||pe.HASH)),!o&&this.showMaskTyped)return this.formControlResult(this.prefix),`${this.prefix}${this.maskIsShown}${this.suffix}`;let a=o&&typeof this.selStart=="number"?o[this.selStart]??pe.EMPTY_STRING:pe.EMPTY_STRING,s="",d=l;if(this.hiddenInput!==null&&!this.writingValue){let A=o&&o.length===1?o.split(pe.EMPTY_STRING):this.actualValue.split(pe.EMPTY_STRING);typeof this.selStart=="object"&&typeof this.selEnd=="object"?(this.selStart=Number(this.selStart),this.selEnd=Number(this.selEnd)):o!==pe.EMPTY_STRING&&A.length?typeof this.selStart=="number"&&typeof this.selEnd=="number"&&(o.length>A.length?A.splice(this.selStart,0,a):o.length<A.length&&(A.length-o.length===1?t?A.splice(this.selStart-1,1):A.splice(o.length-1,1):A.splice(this.selStart,this.selEnd-this.selStart))):A=[],this.showMaskTyped&&!this.hiddenInput&&(s=this.removeMask(o)),s=this.actualValue.length&&A.length<=o.length?this.shiftTypedSymbols(A.join(pe.EMPTY_STRING)):o}if(h&&(this.hiddenInput||!this.hiddenInput)&&(s=o),t&&this.specialCharacters.indexOf(this.maskExpression[d]??pe.EMPTY_STRING)!==-1&&this.showMaskTyped&&!this.prefix&&(s=this._currentValue),this.deletedSpecialCharacter&&d&&(this.specialCharacters.includes(this.actualValue.slice(d,d+1))?d=d+1:f.slice(d-1,d+1)!==pe.MONTHS&&(d=d-2),this.deletedSpecialCharacter=!1),this.showMaskTyped&&this.placeHolderCharacter.length===1&&!this.leadZeroDateTime&&(s=this.removeMask(o)),this.maskChanged?s=o:s=s&&s.length?s:o,this.showMaskTyped&&this.keepCharacterPositions&&this.actualValue&&!h&&!this.writingValue){let A=this.dropSpecialCharacters?this.removeMask(this.actualValue):this.actualValue;return this.formControlResult(A),this.actualValue?this.actualValue:`${this.prefix}${this.maskIsShown}${this.suffix}`}let p=super.applyMask(s,f,d,h,t,c);if(this.actualValue=this.getActualValue(p),this.thousandSeparator===pe.DOT&&this.decimalMarker===pe.DOT&&(this.decimalMarker=pe.COMMA),this.maskExpression.startsWith(pe.SEPARATOR)&&this.dropSpecialCharacters===!0&&(this.specialCharacters=this.specialCharacters.filter(A=>!this._compareOrIncludes(A,this.decimalMarker,this.thousandSeparator))),(p||p==="")&&(this._previousValue=this._currentValue,this._currentValue=p,this._emitValue=this._previousValue!==this._currentValue||this.maskChanged||this.writingValue||this._previousValue===this._currentValue&&h),this._emitValue&&(this.writingValue&&this.triggerOnMaskChange?requestAnimationFrame(()=>this.formControlResult(p)):this.formControlResult(p)),!this.showMaskTyped||this.showMaskTyped&&this.hiddenInput)return this.hiddenInput?t?this.hideInput(p,this.maskExpression):`${this.hideInput(p,this.maskExpression)}${this.maskIsShown.slice(p.length)}`:p;let E=p.length,C=`${this.prefix}${this.maskIsShown}${this.suffix}`;if(this.maskExpression.includes(pe.HOURS)){let A=this._numberSkipedSymbols(p);return`${p}${C.slice(E+A)}`}else if(this.maskExpression===pe.IP||this.maskExpression===pe.CPF_CNPJ)return`${p}${C}`;return`${p}${C.slice(E)}`}_numberSkipedSymbols(o){let f=/(^|\D)(\d\D)/g,l=f.exec(o),h=0;for(;l!=null;)h+=1,l=f.exec(o);return h}applyValueChanges(o,f,l,h=()=>{}){var c;let t=(c=this._elementRef)==null?void 0:c.nativeElement;t&&(t.value=this.applyMask(t.value,this.maskExpression,o,f,l,h),t!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(o,f){return o.split(pe.EMPTY_STRING).map((l,h)=>{var t,c;return this.patterns&&this.patterns[f[h]??pe.EMPTY_STRING]&&((t=this.patterns[f[h]??pe.EMPTY_STRING])!=null&&t.symbol)?(c=this.patterns[f[h]??pe.EMPTY_STRING])==null?void 0:c.symbol:l}).join(pe.EMPTY_STRING)}getActualValue(o){let f=o.split(pe.EMPTY_STRING).filter((l,h)=>{let t=this.maskExpression[h]??pe.EMPTY_STRING;return this._checkSymbolMask(l,t)||this.specialCharacters.includes(t)&&l===t});return f.join(pe.EMPTY_STRING)===o?f.join(pe.EMPTY_STRING):o}shiftTypedSymbols(o){let f="";return(o&&o.split(pe.EMPTY_STRING).map((l,h)=>{if(this.specialCharacters.includes(o[h+1]??pe.EMPTY_STRING)&&o[h+1]!==this.maskExpression[h+1])return f=l,o[h+1];if(f.length){let t=f;return f=pe.EMPTY_STRING,t}return l})||[]).join(pe.EMPTY_STRING)}numberToString(o){return!o&&o!==0||this.maskExpression.startsWith(pe.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith(pe.SEPARATOR)&&this.separatorLimit.length>14&&String(o).length>14?String(o):Number(o).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace(`/${pe.MINUS}/`,pe.MINUS)}showMaskInInput(o){if(this.showMaskTyped&&this.shownMaskExpression){if(this.maskExpression.length!==this.shownMaskExpression.length)throw new Error("Mask expression must match mask placeholder length");return this.shownMaskExpression}else if(this.showMaskTyped){if(o){if(this.maskExpression===pe.IP)return this._checkForIp(o);if(this.maskExpression===pe.CPF_CNPJ)return this._checkForCpfCnpj(o)}return this.placeHolderCharacter.length===this.maskExpression.length?this.placeHolderCharacter:this.maskExpression.replace(/\w/g,this.placeHolderCharacter)}return""}clearIfNotMatchFn(){var f;let o=(f=this._elementRef)==null?void 0:f.nativeElement;o&&this.clearIfNotMatch&&this.prefix.length+this.maskExpression.length+this.suffix.length!==o.value.replace(this.placeHolderCharacter,pe.EMPTY_STRING).length&&(this.formElementProperty=["value",pe.EMPTY_STRING],this.applyMask("",this.maskExpression))}set formElementProperty([o,f]){!this._renderer||!this._elementRef||Promise.resolve().then(()=>{var l,h;return(h=this._renderer)==null?void 0:h.setProperty((l=this._elementRef)==null?void 0:l.nativeElement,o,f)})}checkDropSpecialCharAmount(o){return o.split(pe.EMPTY_STRING).filter(f=>this._findDropSpecialChar(f)).length}removeMask(o){return this._removeMask(this._removeSuffix(this._removePrefix(o)),this.specialCharacters.concat("_").concat(this.placeHolderCharacter))}_checkForIp(o){if(o===pe.HASH)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;let f=[];for(let l=0;l<o.length;l++){let h=o[l]??pe.EMPTY_STRING;h&&h.match("\\d")&&f.push(h)}return f.length<=3?`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`:f.length>3&&f.length<=6?`${this.placeHolderCharacter}.${this.placeHolderCharacter}`:f.length>6&&f.length<=9?this.placeHolderCharacter:""}_checkForCpfCnpj(o){let f=`${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`,l=`${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}/${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`;if(o===pe.HASH)return f;let h=[];for(let t=0;t<o.length;t++){let c=o[t]??pe.EMPTY_STRING;c&&c.match("\\d")&&h.push(c)}return h.length<=3?f.slice(h.length,f.length):h.length>3&&h.length<=6?f.slice(h.length+1,f.length):h.length>6&&h.length<=9?f.slice(h.length+2,f.length):h.length>9&&h.length<11?f.slice(h.length+3,f.length):h.length===11?"":h.length===12?o.length===17?l.slice(16,l.length):l.slice(15,l.length):h.length>12&&h.length<=14?l.slice(h.length+4,l.length):""}_getActiveElement(o=this.document){var l;let f=(l=o==null?void 0:o.activeElement)==null?void 0:l.shadowRoot;return f!=null&&f.activeElement?this._getActiveElement(f):o.activeElement}formControlResult(o){if(this.writingValue&&!o){this.onChange("");return}if(this.writingValue||!this.triggerOnMaskChange&&this.maskChanged){this.triggerOnMaskChange&&this.maskChanged&&this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(o)))))),this.maskChanged=!1;return}Array.isArray(this.dropSpecialCharacters)?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeMask(this._removeSuffix(this._removePrefix(o)),this.dropSpecialCharacters))))):this.dropSpecialCharacters||!this.dropSpecialCharacters&&this.prefix===o?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(o)))))):this.onChange(this.outputTransformFn(this._toNumber(o)))}_toNumber(o){if(!this.isNumberValue||o===pe.EMPTY_STRING||this.maskExpression.startsWith(pe.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters))return o;if(String(o).length>14&&this.maskExpression.startsWith(pe.SEPARATOR))return String(o);let f=Number(o);if(this.maskExpression.startsWith(pe.SEPARATOR)&&Number.isNaN(f)){let l=String(o).replace(",",".");return Number(l)}return Number.isNaN(f)?o:f}_removeMask(o,f){return this.maskExpression.startsWith(pe.PERCENT)&&o.includes(pe.DOT)?o:o&&o.replace(this._regExpForRemove(f),pe.EMPTY_STRING)}_removePrefix(o){return this.prefix?o&&o.replace(this.prefix,pe.EMPTY_STRING):o}_removeSuffix(o){return this.suffix?o&&o.replace(this.suffix,pe.EMPTY_STRING):o}_retrieveSeparatorValue(o){let f=Array.isArray(this.dropSpecialCharacters)?this.specialCharacters.filter(l=>this.dropSpecialCharacters.includes(l)):this.specialCharacters;return!this.deletedSpecialCharacter&&this._checkPatternForSpace()&&o.includes(pe.WHITE_SPACE)&&this.maskExpression.includes(pe.SYMBOL_STAR)&&(f=f.filter(l=>l!==pe.WHITE_SPACE)),this._removeMask(o,f)}_regExpForRemove(o){return new RegExp(o.map(f=>`\\${f}`).join("|"),"gi")}_replaceDecimalMarkerToDot(o){let f=Array.isArray(this.decimalMarker)?this.decimalMarker:[this.decimalMarker];return o.replace(this._regExpForRemove(f),pe.DOT)}_checkSymbols(o){let f=o;if(f===pe.EMPTY_STRING)return f;this.maskExpression.startsWith(pe.PERCENT)&&this.decimalMarker===pe.COMMA&&(f=f.replace(pe.COMMA,pe.DOT));let l=this._retrieveSeparatorPrecision(this.maskExpression),h=this._replaceDecimalMarkerToDot(this._retrieveSeparatorValue(f));return this.isNumberValue&&l?f===this.decimalMarker?null:h.length>14?String(h):this._checkPrecision(this.maskExpression,h):h}_checkPatternForSpace(){var o,f,l;for(let h in this.patterns)if(this.patterns[h]&&((o=this.patterns[h])!=null&&o.hasOwnProperty("pattern"))){let t=(f=this.patterns[h])==null?void 0:f.pattern.toString(),c=(l=this.patterns[h])==null?void 0:l.pattern;if(t!=null&&t.includes(pe.WHITE_SPACE)&&(c!=null&&c.test(this.maskExpression)))return!0}return!1}_retrieveSeparatorPrecision(o){let f=o.match(new RegExp("^separator\\.([^d]*)"));return f?Number(f[1]):null}_checkPrecision(o,f){let l=this.getPrecision(o),h=f;return o.indexOf("2")>0||this.leadZero&&Number(l)>0?(this.decimalMarker===pe.COMMA&&this.leadZero&&(h=h.replace(",",".")),this.leadZero?Number(h).toFixed(Number(l)):Number(h).toFixed(2)):this.numberToString(h)}_repeatPatternSymbols(o){return o.match(/{[0-9]+}/)&&o.split(pe.EMPTY_STRING).reduce((f,l,h)=>{if(this._start=l===pe.CURLY_BRACKETS_LEFT?h:this._start,l!==pe.CURLY_BRACKETS_RIGHT)return this._findSpecialChar(l)?f+l:f;this._end=h;let t=Number(o.slice(this._start+1,this._end)),c=new Array(t+1).join(o[this._start-1]);if(o.slice(0,this._start).length>1&&o.includes(pe.LETTER_S)){let a=o.slice(0,this._start-1);return a.includes(pe.CURLY_BRACKETS_LEFT)?f+c:a+f+c}else return f+c},"")||o}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}};Te(e,"ɵfac",(()=>{let o;return function(f){return(o||(o=Oo(e)))(f||e)}})()),Te(e,"ɵprov",ft({token:e,factory:e.ɵfac}));let u=e;return u})();function Weu(){let u=ht(nf),e=ht(tf);return e instanceof Function?jt(jt({},u),e()):jt(jt({},u),e)}function Xeu(u){return[{provide:tf,useValue:u},{provide:nf,useValue:Heu},{provide:_6,useFactory:Weu},qeu]}function Yeu(u){return S1(Xeu(u))}var qi=class{},J8=(()=>{const e=class e extends qi{getTranslation(n){return Kn({})}};Te(e,"ɵfac",(()=>{let n;return function(o){return(n||(n=Oo(e)))(o||e)}})()),Te(e,"ɵprov",ft({token:e,factory:e.ɵfac}));let u=e;return u})(),Z5=class{},Q8=(()=>{const e=class e{handle(n){return n.key}};Te(e,"ɵfac",function(n){return new(n||e)}),Te(e,"ɵprov",ft({token:e,factory:e.ɵfac}));let u=e;return u})();function bl(u,e){if(u===e)return!0;if(u===null||e===null)return!1;if(u!==u&&e!==e)return!0;let i=typeof u,n=typeof e,o,f,l;if(i==n&&i=="object")if(Array.isArray(u)){if(!Array.isArray(e))return!1;if((o=u.length)==e.length){for(f=0;f<o;f++)if(!bl(u[f],e[f]))return!1;return!0}}else{if(Array.isArray(e))return!1;l=Object.create(null);for(f in u){if(!bl(u[f],e[f]))return!1;l[f]=!0}for(f in e)if(!(f in l)&&typeof e[f]<"u")return!1;return!0}return!1}function aa(u){return typeof u<"u"&&u!==null}function $c(u){return u&&typeof u=="object"&&!Array.isArray(u)}function rf(u,e){let i=Object.assign({},u);return $c(u)&&$c(e)&&Object.keys(e).forEach(n=>{$c(e[n])?n in u?i[n]=rf(u[n],e[n]):Object.assign(i,{[n]:e[n]}):Object.assign(i,{[n]:e[n]})}),i}var xl=class{},$8=(()=>{const e=class e extends xl{constructor(){super(...arguments);Te(this,"templateMatcher",/{{\s?([^{}\s]*)\s?}}/g)}interpolate(o,f){let l;return typeof o=="string"?l=this.interpolateString(o,f):typeof o=="function"?l=this.interpolateFunction(o,f):l=o,l}getValue(o,f){let l=typeof f=="string"?f.split("."):[f];f="";do f+=l.shift(),aa(o)&&aa(o[f])&&(typeof o[f]=="object"||!l.length)?(o=o[f],f=""):l.length?f+=".":o=void 0;while(l.length);return o}interpolateFunction(o,f){return o(f)}interpolateString(o,f){return f?o.replace(this.templateMatcher,(l,h)=>{let t=this.getValue(f,h);return aa(t)?t:l}):o}};Te(e,"ɵfac",(()=>{let o;return function(f){return(o||(o=Oo(e)))(f||e)}})()),Te(e,"ɵprov",ft({token:e,factory:e.ɵfac}));let u=e;return u})(),fa=class{},u7=(()=>{const e=class e extends fa{compile(n,o){return n}compileTranslations(n,o){return n}};Te(e,"ɵfac",(()=>{let n;return function(o){return(n||(n=Oo(e)))(o||e)}})()),Te(e,"ɵprov",ft({token:e,factory:e.ɵfac}));let u=e;return u})(),af=class{constructor(){Te(this,"defaultLang");Te(this,"currentLang",this.defaultLang);Te(this,"translations",{});Te(this,"langs",[]);Te(this,"onTranslationChange",new Cr);Te(this,"onLangChange",new Cr);Te(this,"onDefaultLangChange",new Cr)}},K5=new xt("USE_STORE"),J5=new xt("USE_DEFAULT_LANG"),Q5=new xt("DEFAULT_LANGUAGE"),$5=new xt("USE_EXTEND"),_i=(()=>{const e=class e{constructor(n,o,f,l,h,t=!0,c=!1,a=!1,s){Te(this,"store");Te(this,"currentLoader");Te(this,"compiler");Te(this,"parser");Te(this,"missingTranslationHandler");Te(this,"useDefaultLang");Te(this,"isolate");Te(this,"extend");Te(this,"loadingTranslations");Te(this,"pending",!1);Te(this,"_onTranslationChange",new Cr);Te(this,"_onLangChange",new Cr);Te(this,"_onDefaultLangChange",new Cr);Te(this,"_defaultLang");Te(this,"_currentLang");Te(this,"_langs",[]);Te(this,"_translations",{});Te(this,"_translationRequests",{});this.store=n,this.currentLoader=o,this.compiler=f,this.parser=l,this.missingTranslationHandler=h,this.useDefaultLang=t,this.isolate=c,this.extend=a,s&&this.setDefaultLang(s)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(n){this.isolate?this._defaultLang=n:this.store.defaultLang=n}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(n){this.isolate?this._currentLang=n:this.store.currentLang=n}get langs(){return this.isolate?this._langs:this.store.langs}set langs(n){this.isolate?this._langs=n:this.store.langs=n}get translations(){return this.isolate?this._translations:this.store.translations}set translations(n){this.isolate?this._translations=n:this.store.translations=n}setDefaultLang(n){if(n===this.defaultLang)return;let o=this.retrieveTranslations(n);typeof o<"u"?(this.defaultLang==null&&(this.defaultLang=n),o.pipe(ia(1)).subscribe(f=>{this.changeDefaultLang(n)})):this.changeDefaultLang(n)}getDefaultLang(){return this.defaultLang}use(n){if(n===this.currentLang)return Kn(this.translations[n]);let o=this.retrieveTranslations(n);return typeof o<"u"?(this.currentLang||(this.currentLang=n),o.pipe(ia(1)).subscribe(f=>{this.changeLang(n)}),o):(this.changeLang(n),Kn(this.translations[n]))}retrieveTranslations(n){let o;return(typeof this.translations[n]>"u"||this.extend)&&(this._translationRequests[n]=this._translationRequests[n]||this.getTranslation(n),o=this._translationRequests[n]),o}getTranslation(n){this.pending=!0;let o=this.currentLoader.getTranslation(n).pipe(Y2(1),ia(1));return this.loadingTranslations=o.pipe(cr(f=>this.compiler.compileTranslations(f,n)),Y2(1),ia(1)),this.loadingTranslations.subscribe({next:f=>{this.translations[n]=this.extend&&this.translations[n]?jt(jt({},f),this.translations[n]):f,this.updateLangs(),this.pending=!1},error:f=>{this.pending=!1}}),o}setTranslation(n,o,f=!1){o=this.compiler.compileTranslations(o,n),(f||this.extend)&&this.translations[n]?this.translations[n]=rf(this.translations[n],o):this.translations[n]=o,this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}getLangs(){return this.langs}addLangs(n){n.forEach(o=>{this.langs.indexOf(o)===-1&&this.langs.push(o)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(n,o,f){let l;if(o instanceof Array){let h={},t=!1;for(let c of o)h[c]=this.getParsedResult(n,c,f),Pa(h[c])&&(t=!0);if(t){let c=o.map(a=>Pa(h[a])?h[a]:Kn(h[a]));return kh(c).pipe(cr(a=>{let s={};return a.forEach((d,p)=>{s[o[p]]=d}),s}))}return h}if(n&&(l=this.parser.interpolate(this.parser.getValue(n,o),f)),typeof l>"u"&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(l=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],o),f)),typeof l>"u"){let h={key:o,translateService:this};typeof f<"u"&&(h.interpolateParams=f),l=this.missingTranslationHandler.handle(h)}return typeof l<"u"?l:o}get(n,o){if(!aa(n)||!n.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(Th(f=>(f=this.getParsedResult(f,n,o),Pa(f)?f:Kn(f))));{let f=this.getParsedResult(this.translations[this.currentLang],n,o);return Pa(f)?f:Kn(f)}}getStreamOnTranslationChange(n,o){if(!aa(n)||!n.length)throw new Error('Parameter "key" required');return gs(W2(()=>this.get(n,o)),this.onTranslationChange.pipe(sl(f=>{let l=this.getParsedResult(f.translations,n,o);return typeof l.subscribe=="function"?l:Kn(l)})))}stream(n,o){if(!aa(n)||!n.length)throw new Error('Parameter "key" required');return gs(W2(()=>this.get(n,o)),this.onLangChange.pipe(sl(f=>{let l=this.getParsedResult(f.translations,n,o);return Pa(l)?l:Kn(l)})))}instant(n,o){if(!aa(n)||!n.length)throw new Error('Parameter "key" required');let f=this.getParsedResult(this.translations[this.currentLang],n,o);if(Pa(f)){if(n instanceof Array){let l={};return n.forEach((h,t)=>{l[n[t]]=n[t]}),l}return n}else return f}set(n,o,f=this.currentLang){this.translations[f][n]=this.compiler.compile(o,f),this.updateLangs(),this.onTranslationChange.emit({lang:f,translations:this.translations[f]})}changeLang(n){this.currentLang=n,this.onLangChange.emit({lang:n,translations:this.translations[n]}),this.defaultLang==null&&this.changeDefaultLang(n)}changeDefaultLang(n){this.defaultLang=n,this.onDefaultLangChange.emit({lang:n,translations:this.translations[n]})}reloadLang(n){return this.resetLang(n),this.getTranslation(n)}resetLang(n){this._translationRequests[n]=void 0,this.translations[n]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let n=window.navigator.languages?window.navigator.languages[0]:null;if(n=n||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,!(typeof n>"u"))return n.indexOf("-")!==-1&&(n=n.split("-")[0]),n.indexOf("_")!==-1&&(n=n.split("_")[0]),n}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let n=window.navigator.languages?window.navigator.languages[0]:null;return n=n||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,n}};Te(e,"ɵfac",function(n){return new(n||e)(Le(af),Le(qi),Le(fa),Le(xl),Le(Z5),Le(J5),Le(K5),Le($5),Le(Q5))}),Te(e,"ɵprov",ft({token:e,factory:e.ɵfac}));let u=e;return u})(),ac=(()=>{const e=class e{constructor(n,o){Te(this,"translate");Te(this,"_ref");Te(this,"value","");Te(this,"lastKey",null);Te(this,"lastParams",[]);Te(this,"onTranslationChange");Te(this,"onLangChange");Te(this,"onDefaultLangChange");this.translate=n,this._ref=o}updateValue(n,o,f){let l=h=>{this.value=h!==void 0?h:n,this.lastKey=n,this._ref.markForCheck()};if(f){let h=this.translate.getParsedResult(f,n,o);Pa(h.subscribe)?h.subscribe(l):l(h)}this.translate.get(n,o).subscribe(l)}transform(n,...o){if(!n||!n.length)return n;if(bl(n,this.lastKey)&&bl(o,this.lastParams))return this.value;let f;if(aa(o[0])&&o.length)if(typeof o[0]=="string"&&o[0].length){let l=o[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{f=JSON.parse(l)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${o[0]}`)}}else typeof o[0]=="object"&&!Array.isArray(o[0])&&(f=o[0]);return this.lastKey=n,this.lastParams=o,this.updateValue(n,f),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(l=>{this.lastKey&&l.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(n,f,l.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(l=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,f,l.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,f))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}};Te(e,"ɵfac",function(n){return new(n||e)(Nt(_i,16),Nt(Zs,16))}),Te(e,"ɵpipe",Po({name:"translate",type:e,pure:!1})),Te(e,"ɵprov",ft({token:e,factory:e.ɵfac}));let u=e;return u})(),Wa=(()=>{const e=class e{static forRoot(n={}){return{ngModule:e,providers:[n.loader||{provide:qi,useClass:J8},n.compiler||{provide:fa,useClass:u7},n.parser||{provide:xl,useClass:$8},n.missingTranslationHandler||{provide:Z5,useClass:Q8},af,{provide:K5,useValue:n.isolate},{provide:J5,useValue:n.useDefaultLang},{provide:$5,useValue:n.extend},{provide:Q5,useValue:n.defaultLanguage},_i]}}static forChild(n={}){return{ngModule:e,providers:[n.loader||{provide:qi,useClass:J8},n.compiler||{provide:fa,useClass:u7},n.parser||{provide:xl,useClass:$8},n.missingTranslationHandler||{provide:Z5,useClass:Q8},{provide:K5,useValue:n.isolate},{provide:J5,useValue:n.useDefaultLang},{provide:$5,useValue:n.extend},{provide:Q5,useValue:n.defaultLanguage},_i]}}};Te(e,"ɵfac",function(n){return new(n||e)}),Te(e,"ɵmod",_1({type:e})),Te(e,"ɵinj",B1({}));let u=e;return u})(),Zeu="1.2",nl=Zeu,so=(u=>(u.DEV="dev",u.INT="int",u.ACC="acc",u.PROD="prod",u))(so||{}),Keu=(()=>{const e=class e{constructor(){Te(this,"version");Te(this,"language");Te(this,"configName");Te(this,"services");Te(this,"onError",new Cr);Te(this,"initialized",!1);Te(this,"_ngInitDone",!1);Te(this,"_ngFirstChangesDone",!1)}validateVersion(){let n=nl.split(".").map(f=>parseInt(f)),o=(this.version||"").split(".").map(f=>parseInt(f));if(o.length!==2)throw new Error(`The given version (${this.version}) has the wrong format <major>.<minor>!`);if(o[0]!==n[0])throw new Error(`The given version (${this.version})'s major is not compatible with this component's major version (${nl})!`)}validateInputs(){console.log("[BaseWebComponent] validating inputs..."),this.validateVersion();let n=this;if(["language","configName","services"].forEach(o=>{if(n[o]===void 0)throw new Error(`Missing required component input "${o}"!`)}),this.services.cache==null)throw new Error("The given services input does not contain a cache service!");if(this.services.getAccessToken==null)throw new Error("The given services input does not contain a getAccessToken() function!");if(this.services.registerRefreshCallback==null)throw new Error("The given services input does not contain a registerRefreshCallack() function!");console.log("[BaseWebComponent] all inputs validated ok!")}finalizeInitialization(){!this._ngInitDone||!this._ngFirstChangesDone||(this.validateInputs(),console.log(`[BaseWebComponent] host version = [${this.version}], our version = [${nl}]`),this.onInitialized(),this.initialized=!0)}ngOnInit(){console.log("[BaseWebComponent] onInit"),this._ngInitDone||(this._ngInitDone=!0,this.finalizeInitialization())}ngOnChanges(n){console.log("[BaseWebComponent] onChange: ",n),this._ngFirstChangesDone?this.onPropsChanged(n):(this._ngFirstChangesDone=!0,this.finalizeInitialization())}isInitialized(){return this.initialized}onInitialized(){}onPropsChanged(n){}fireError(n,o){this.onError.emit({title:n,text:o})}};Te(e,"ɵfac",function(n){return new(n||e)}),Te(e,"ɵcmp",Mr({type:e,selectors:[["ng-component"]],inputs:{version:"version",language:"language",configName:"configName",services:"services"},outputs:{onError:"onError"},features:[M1],decls:0,vars:0,template:function(n,o){},encapsulation:2}));let u=e;return u})(),Jeu=()=>{let u=["WebView","(iPhone|iPod|iPad)(?!.*Safari)","Android.*(;\\s+wv|Version/\\d.\\d\\s+Chrome/\\d+(\\.0){3})","Linux; U; Android"],e=new RegExp("("+u.join("|")+")","ig");return!!navigator.userAgent.match(e)},hs=class extends Error{};hs.prototype.name="InvalidTokenError";function Qeu(u){return decodeURIComponent(atob(u).replace(/(.)/g,(e,i)=>{let n=i.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}function $eu(u){let e=u.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return Qeu(e)}catch{return atob(e)}}function utu(u,e){if(typeof u!="string")throw new hs("Invalid token specified: must be a string");e||(e={});let i=e.header===!0?0:1,n=u.split(".")[i];if(typeof n!="string")throw new hs(`Invalid token specified: missing part #${i+1}`);let o;try{o=$eu(n)}catch(f){throw new hs(`Invalid token specified: invalid base64 for part #${i+1} (${f.message})`)}try{return JSON.parse(o)}catch(f){throw new hs(`Invalid token specified: invalid json for part #${i+1} (${f.message})`)}}var S6=(()=>{const e=class e{registerAccessToken(n){this.getLocalAccessToken=n}getAccessToken(){return Ha(this.getLocalAccessToken("nihii-vidis"))}getSsin(){return lo(this,null,function*(){return(yield this.decodedToken()).userProfile.ssin})}getPatientInfo(){return lo(this,null,function*(){return(yield this.decodedToken()).userProfile})}decodedToken(){return lo(this,null,function*(){return utu(yield this.getLocalAccessToken("nihii-vidis"))})}};e.ɵfac=function(n){return new(n||e)},e.ɵprov=ft({token:e,factory:e.ɵfac,providedIn:"root"});let u=e;return u})();function etu(u){return u.firstName&&u.lastName?u.firstName+" "+u.lastName:u.name}var ttu={fr:["fr","nl","de","en"],nl:["nl","fr","de","en"],de:["de","fr","nl","en"],en:["en","nl","fr","de"]};function of(u,e){if(u){e=e==null?void 0:e.substring(0,2);for(let i of ttu[e]){let n=u.find(o=>o.lang===i);if(n)return n.value}return u.length>0?u[0].value:"Missing translation"}}var Ut=function(u){return u[u.State=0]="State",u[u.Transition=1]="Transition",u[u.Sequence=2]="Sequence",u[u.Group=3]="Group",u[u.Animate=4]="Animate",u[u.Keyframes=5]="Keyframes",u[u.Style=6]="Style",u[u.Trigger=7]="Trigger",u[u.Reference=8]="Reference",u[u.AnimateChild=9]="AnimateChild",u[u.AnimateRef=10]="AnimateRef",u[u.Query=11]="Query",u[u.Stagger=12]="Stagger",u}(Ut||{}),zi="*";function ntu(u,e){return{type:Ut.Trigger,name:u,definitions:e,options:{}}}function e7(u,e=null){return{type:Ut.Animate,styles:e,timings:u}}function rtu(u,e=null){return{type:Ut.Sequence,steps:u,options:e}}function Es(u){return{type:Ut.Style,styles:u,offset:null}}function t7(u,e,i){return{type:Ut.State,name:u,styles:e,options:i}}function n7(u,e,i=null){return{type:Ut.Transition,expr:u,animation:e,options:i}}var Ts=class{constructor(u=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=u+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(u=>u()),this._onDoneFns=[])}onStart(u){this._originalOnStartFns.push(u),this._onStartFns.push(u)}onDone(u){this._originalOnDoneFns.push(u),this._onDoneFns.push(u)}onDestroy(u){this._onDestroyFns.push(u)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(u=>u()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(u=>u()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(u){this._position=this.totalTime?u*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(u){let e=u=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},sf=class{constructor(u){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=u;let e=0,i=0,n=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(f=>{f.onDone(()=>{++e==o&&this._onFinish()}),f.onDestroy(()=>{++i==o&&this._onDestroy()}),f.onStart(()=>{++n==o&&this._onStart()})}),this.totalTime=this.players.reduce((f,l)=>Math.max(f,l.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(u=>u()),this._onDoneFns=[])}init(){this.players.forEach(u=>u.init())}onStart(u){this._onStartFns.push(u)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(u=>u()),this._onStartFns=[])}onDone(u){this._onDoneFns.push(u)}onDestroy(u){this._onDestroyFns.push(u)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(u=>u.play())}pause(){this.players.forEach(u=>u.pause())}restart(){this.players.forEach(u=>u.restart())}finish(){this._onFinish(),this.players.forEach(u=>u.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(u=>u.destroy()),this._onDestroyFns.forEach(u=>u()),this._onDestroyFns=[])}reset(){this.players.forEach(u=>u.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(u){let e=u*this.totalTime;this.players.forEach(i=>{let n=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(n)})}getPosition(){let u=this.players.reduce((e,i)=>e===null||i.totalTime>e.totalTime?i:e,null);return u!=null?u.getPosition():0}beforeDestroy(){this.players.forEach(u=>{u.beforeDestroy&&u.beforeDestroy()})}triggerCallback(u){let e=u=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},k6="!";function r7(u){return new ct(3e3,!1)}function itu(){return new ct(3100,!1)}function atu(){return new ct(3101,!1)}function otu(u){return new ct(3001,!1)}function stu(u){return new ct(3003,!1)}function ltu(u){return new ct(3004,!1)}function ctu(u,e){return new ct(3005,!1)}function htu(){return new ct(3006,!1)}function dtu(){return new ct(3007,!1)}function ftu(u,e){return new ct(3008,!1)}function ptu(u){return new ct(3002,!1)}function Etu(u,e,i,n,o){return new ct(3010,!1)}function Ctu(){return new ct(3011,!1)}function Ftu(){return new ct(3012,!1)}function Atu(){return new ct(3200,!1)}function gtu(){return new ct(3202,!1)}function Dtu(){return new ct(3013,!1)}function mtu(u){return new ct(3014,!1)}function Btu(u){return new ct(3015,!1)}function vtu(u){return new ct(3016,!1)}function ytu(u,e){return new ct(3404,!1)}function btu(u){return new ct(3502,!1)}function xtu(u){return new ct(3503,!1)}function wtu(){return new ct(3300,!1)}function _tu(u){return new ct(3504,!1)}function Stu(u){return new ct(3301,!1)}function ktu(u,e){return new ct(3302,!1)}function Ptu(u){return new ct(3303,!1)}function Itu(u,e){return new ct(3400,!1)}function Ttu(u){return new ct(3401,!1)}function Otu(u){return new ct(3402,!1)}function Ntu(u,e){return new ct(3505,!1)}function ra(u){switch(u.length){case 0:return new Ts;case 1:return u[0];default:return new sf(u)}}function lf(u,e,i=new Map,n=new Map){let o=[],f=[],l=-1,h=null;if(e.forEach(t=>{let c=t.get("offset"),a=c==l,s=a&&h||new Map;t.forEach((d,p)=>{let E=p,C=d;if(p!=="offset")switch(E=u.normalizePropertyName(E,o),C){case k6:C=i.get(p);break;case zi:C=n.get(p);break;default:C=u.normalizeStyleValue(p,E,C,o);break}s.set(E,C)}),a||f.push(s),h=s,l=c}),o.length)throw btu();return f}function P6(u,e,i,n){switch(e){case"start":u.onStart(()=>n(i&&u5(i,"start",u)));break;case"done":u.onDone(()=>n(i&&u5(i,"done",u)));break;case"destroy":u.onDestroy(()=>n(i&&u5(i,"destroy",u)));break}}function u5(u,e,i){let n=i.totalTime,o=!!i.disabled,f=I6(u.element,u.triggerName,u.fromState,u.toState,e||u.phaseName,n??u.totalTime,o),l=u._data;return l!=null&&(f._data=l),f}function I6(u,e,i,n,o="",f=0,l){return{element:u,triggerName:e,fromState:i,toState:n,phaseName:o,totalTime:f,disabled:!!l}}function Vr(u,e,i){let n=u.get(e);return n||u.set(e,n=i),n}function i7(u){let e=u.indexOf(":"),i=u.substring(1,e),n=u.slice(e+1);return[i,n]}var Rtu=typeof document>"u"?null:document.documentElement;function T6(u){let e=u.parentNode||u.host||null;return e===Rtu?null:e}function Mtu(u){return u.substring(1,6)=="ebkit"}var ba=null,a7=!1;function Ltu(u){ba||(ba=jtu()||{},a7=ba.style?"WebkitAppearance"in ba.style:!1);let e=!0;return ba.style&&!Mtu(u)&&(e=u in ba.style,!e&&a7&&(e="Webkit"+u.charAt(0).toUpperCase()+u.slice(1)in ba.style)),e}function jtu(){return typeof document<"u"?document.body:null}function cf(u,e){for(;e;){if(e===u)return!0;e=T6(e)}return!1}function hf(u,e,i){if(i)return Array.from(u.querySelectorAll(e));let n=u.querySelector(e);return n?[n]:[]}var Vtu=(()=>{const e=class e{validateStyleProperty(n){return Ltu(n)}matchesElement(n,o){return!1}containsElement(n,o){return cf(n,o)}getParentElement(n){return T6(n)}query(n,o,f){return hf(n,o,f)}computeStyle(n,o,f){return f||""}animate(n,o,f,l,h,t=[],c){return new Ts(f,l)}};e.ɵfac=function(n){return new(n||e)},e.ɵprov=ft({token:e,factory:e.ɵfac});let u=e;return u})(),Ao,df=(Ao=class{},Ao.NOOP=new Vtu,Ao),O6=class{},ztu=1e3,ff="{{",Utu="}}",pf="ng-enter",u1="ng-leave",M0="ng-trigger",wl=".ng-trigger",o7="ng-animating",e1=".ng-animating";function Li(u){if(typeof u=="number")return u;let e=u.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:t1(parseFloat(e[1]),e[2])}function t1(u,e){switch(e){case"s":return u*ztu;default:return u}}function _l(u,e,i){return u.hasOwnProperty("duration")?u:Htu(u,e,i)}function Htu(u,e,i){let n=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,o,f=0,l="";if(typeof u=="string"){let h=u.match(n);if(h===null)return e.push(r7()),{duration:0,delay:0,easing:""};o=t1(parseFloat(h[1]),h[2]);let t=h[3];t!=null&&(f=t1(parseFloat(t),h[4]));let c=h[5];c&&(l=c)}else o=u;if(!i){let h=!1,t=e.length;o<0&&(e.push(itu()),h=!0),f<0&&(e.push(atu()),h=!0),h&&e.splice(t,0,r7())}return{duration:o,delay:f,easing:l}}function Gtu(u){return u.length?u[0]instanceof Map?u:u.map(e=>new Map(Object.entries(e))):[]}function vi(u,e,i){e.forEach((n,o)=>{let f=N6(o);i&&!i.has(o)&&i.set(o,u.style[f]),u.style[f]=n})}function Oa(u,e){e.forEach((i,n)=>{let o=N6(n);u.style[o]=""})}function as(u){return Array.isArray(u)?u.length==1?u[0]:rtu(u):u}function qtu(u,e,i){let n=e.params||{},o=Ef(u);o.length&&o.forEach(f=>{n.hasOwnProperty(f)||i.push(otu())})}var n1=new RegExp(`${ff}\\s*(.+?)\\s*${Utu}`,"g");function Ef(u){let e=[];if(typeof u=="string"){let i;for(;i=n1.exec(u);)e.push(i[1]);n1.lastIndex=0}return e}function Os(u,e,i){let n=`${u}`,o=n.replace(n1,(f,l)=>{let h=e[l];return h==null&&(i.push(stu()),h=""),h.toString()});return o==n?u:o}var Wtu=/-+([a-z0-9])/g;function N6(u){return u.replace(Wtu,(...e)=>e[1].toUpperCase())}function Xtu(u,e){return u===0||e===0}function Ytu(u,e,i){if(i.size&&e.length){let n=e[0],o=[];if(i.forEach((f,l)=>{n.has(l)||o.push(l),n.set(l,f)}),o.length)for(let f=1;f<e.length;f++){let l=e[f];o.forEach(h=>l.set(h,R6(u,h)))}}return e}function jr(u,e,i){switch(e.type){case Ut.Trigger:return u.visitTrigger(e,i);case Ut.State:return u.visitState(e,i);case Ut.Transition:return u.visitTransition(e,i);case Ut.Sequence:return u.visitSequence(e,i);case Ut.Group:return u.visitGroup(e,i);case Ut.Animate:return u.visitAnimate(e,i);case Ut.Keyframes:return u.visitKeyframes(e,i);case Ut.Style:return u.visitStyle(e,i);case Ut.Reference:return u.visitReference(e,i);case Ut.AnimateChild:return u.visitAnimateChild(e,i);case Ut.AnimateRef:return u.visitAnimateRef(e,i);case Ut.Query:return u.visitQuery(e,i);case Ut.Stagger:return u.visitStagger(e,i);default:throw ltu(e.type)}}function R6(u,e){return window.getComputedStyle(u)[e]}var Ztu=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),Ktu=class extends O6{normalizePropertyName(u,e){return N6(u)}normalizeStyleValue(u,e,i,n){let o="",f=i.toString().trim();if(Ztu.has(e)&&i!==0&&i!=="0")if(typeof i=="number")o="px";else{let l=i.match(/^[+-]?[\d\.]+([a-z]*)$/);l&&l[1].length==0&&n.push(ctu())}return f+o}},Sl="*";function Jtu(u,e){let i=[];return typeof u=="string"?u.split(/\s*,\s*/).forEach(n=>Qtu(n,i,e)):i.push(u),i}function Qtu(u,e,i){if(u[0]==":"){let t=$tu(u,i);if(typeof t=="function"){e.push(t);return}u=t}let n=u.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(n==null||n.length<4)return i.push(Btu()),e;let o=n[1],f=n[2],l=n[3];e.push(s7(o,l));let h=o==Sl&&l==Sl;f[0]=="<"&&!h&&e.push(s7(l,o))}function $tu(u,e){switch(u){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(i,n)=>parseFloat(n)>parseFloat(i);case":decrement":return(i,n)=>parseFloat(n)<parseFloat(i);default:return e.push(vtu()),"* => *"}}var L0=new Set(["true","1"]),j0=new Set(["false","0"]);function s7(u,e){let i=L0.has(u)||j0.has(u),n=L0.has(e)||j0.has(e);return(o,f)=>{let l=u==Sl||u==o,h=e==Sl||e==f;return!l&&i&&typeof o=="boolean"&&(l=o?L0.has(u):j0.has(u)),!h&&n&&typeof f=="boolean"&&(h=f?L0.has(e):j0.has(e)),l&&h}}var Cf=":self",unu=new RegExp(`s*${Cf}s*,?`,"g");function Ff(u,e,i,n){return new enu(u).build(e,i,n)}var l7="",enu=class{constructor(u){this._driver=u}build(u,e,i){let n=new rnu(e);return this._resetContextStyleTimingState(n),jr(this,as(u),n)}_resetContextStyleTimingState(u){u.currentQuerySelector=l7,u.collectedStyles=new Map,u.collectedStyles.set(l7,new Map),u.currentTime=0}visitTrigger(u,e){let i=e.queryCount=0,n=e.depCount=0,o=[],f=[];return u.name.charAt(0)=="@"&&e.errors.push(htu()),u.definitions.forEach(l=>{if(this._resetContextStyleTimingState(e),l.type==Ut.State){let h=l,t=h.name;t.toString().split(/\s*,\s*/).forEach(c=>{h.name=c,o.push(this.visitState(h,e))}),h.name=t}else if(l.type==Ut.Transition){let h=this.visitTransition(l,e);i+=h.queryCount,n+=h.depCount,f.push(h)}else e.errors.push(dtu())}),{type:Ut.Trigger,name:u.name,states:o,transitions:f,queryCount:i,depCount:n,options:null}}visitState(u,e){let i=this.visitStyle(u.styles,e),n=u.options&&u.options.params||null;if(i.containsDynamicStyles){let o=new Set,f=n||{};i.styles.forEach(l=>{l instanceof Map&&l.forEach(h=>{Ef(h).forEach(t=>{f.hasOwnProperty(t)||o.add(t)})})}),o.size&&e.errors.push(ftu(u.name,[...o.values()]))}return{type:Ut.State,name:u.name,style:i,options:n?{params:n}:null}}visitTransition(u,e){e.queryCount=0,e.depCount=0;let i=jr(this,as(u.animation),e),n=Jtu(u.expr,e.errors);return{type:Ut.Transition,matchers:n,animation:i,queryCount:e.queryCount,depCount:e.depCount,options:xa(u.options)}}visitSequence(u,e){return{type:Ut.Sequence,steps:u.steps.map(i=>jr(this,i,e)),options:xa(u.options)}}visitGroup(u,e){let i=e.currentTime,n=0,o=u.steps.map(f=>{e.currentTime=i;let l=jr(this,f,e);return n=Math.max(n,e.currentTime),l});return e.currentTime=n,{type:Ut.Group,steps:o,options:xa(u.options)}}visitAnimate(u,e){let i=anu(u.timings,e.errors);e.currentAnimateTimings=i;let n,o=u.styles?u.styles:Es({});if(o.type==Ut.Keyframes)n=this.visitKeyframes(o,e);else{let f=u.styles,l=!1;if(!f){l=!0;let t={};i.easing&&(t.easing=i.easing),f=Es(t)}e.currentTime+=i.duration+i.delay;let h=this.visitStyle(f,e);h.isEmptyStep=l,n=h}return e.currentAnimateTimings=null,{type:Ut.Animate,timings:i,style:n,options:null}}visitStyle(u,e){let i=this._makeStyleAst(u,e);return this._validateStyleAst(i,e),i}_makeStyleAst(u,e){let i=[],n=Array.isArray(u.styles)?u.styles:[u.styles];for(let l of n)typeof l=="string"?l===zi?i.push(l):e.errors.push(ptu()):i.push(new Map(Object.entries(l)));let o=!1,f=null;return i.forEach(l=>{if(l instanceof Map&&(l.has("easing")&&(f=l.get("easing"),l.delete("easing")),!o)){for(let h of l.values())if(h.toString().indexOf(ff)>=0){o=!0;break}}}),{type:Ut.Style,styles:i,easing:f,offset:u.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(u,e){let i=e.currentAnimateTimings,n=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),u.styles.forEach(f=>{typeof f!="string"&&f.forEach((l,h)=>{let t=e.collectedStyles.get(e.currentQuerySelector),c=t.get(h),a=!0;c&&(o!=n&&o>=c.startTime&&n<=c.endTime&&(e.errors.push(Etu(h,c.startTime,c.endTime)),a=!1),o=c.startTime),a&&t.set(h,{startTime:o,endTime:n}),e.options&&qtu(l,e.options,e.errors)})})}visitKeyframes(u,e){let i={type:Ut.Keyframes,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(Ctu()),i;let n=1,o=0,f=[],l=!1,h=!1,t=0,c=u.steps.map(A=>{let F=this._makeStyleAst(A,e),D=F.offset!=null?F.offset:inu(F.styles),g=0;return D!=null&&(o++,g=F.offset=D),h=h||g<0||g>1,l=l||g<t,t=g,f.push(g),F});h&&e.errors.push(Ftu()),l&&e.errors.push(Atu());let a=u.steps.length,s=0;o>0&&o<a?e.errors.push(gtu()):o==0&&(s=n/(a-1));let d=a-1,p=e.currentTime,E=e.currentAnimateTimings,C=E.duration;return c.forEach((A,F)=>{let D=s>0?F==d?1:s*F:f[F],g=D*C;e.currentTime=p+E.delay+g,E.duration=g,this._validateStyleAst(A,e),A.offset=D,i.styles.push(A)}),i}visitReference(u,e){return{type:Ut.Reference,animation:jr(this,as(u.animation),e),options:xa(u.options)}}visitAnimateChild(u,e){return e.depCount++,{type:Ut.AnimateChild,options:xa(u.options)}}visitAnimateRef(u,e){return{type:Ut.AnimateRef,animation:this.visitReference(u.animation,e),options:xa(u.options)}}visitQuery(u,e){let i=e.currentQuerySelector,n=u.options||{};e.queryCount++,e.currentQuery=u;let[o,f]=tnu(u.selector);e.currentQuerySelector=i.length?i+" "+o:o,Vr(e.collectedStyles,e.currentQuerySelector,new Map);let l=jr(this,as(u.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:Ut.Query,selector:o,limit:n.limit||0,optional:!!n.optional,includeSelf:f,animation:l,originalSelector:u.selector,options:xa(u.options)}}visitStagger(u,e){e.currentQuery||e.errors.push(Dtu());let i=u.timings==="full"?{duration:0,delay:0,easing:"full"}:_l(u.timings,e.errors,!0);return{type:Ut.Stagger,animation:jr(this,as(u.animation),e),timings:i,options:null}}};function tnu(u){let e=!!u.split(/\s*,\s*/).find(i=>i==Cf);return e&&(u=u.replace(unu,"")),u=u.replace(/@\*/g,wl).replace(/@\w+/g,i=>wl+"-"+i.slice(1)).replace(/:animating/g,e1),[u,e]}function nnu(u){return u?jt({},u):null}var rnu=class{constructor(u){this.errors=u,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function inu(u){if(typeof u=="string")return null;let e=null;if(Array.isArray(u))u.forEach(i=>{if(i instanceof Map&&i.has("offset")){let n=i;e=parseFloat(n.get("offset")),n.delete("offset")}});else if(u instanceof Map&&u.has("offset")){let i=u;e=parseFloat(i.get("offset")),i.delete("offset")}return e}function anu(u,e){if(u.hasOwnProperty("duration"))return u;if(typeof u=="number"){let o=_l(u,e).duration;return e5(o,0,"")}let i=u;if(i.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=e5(0,0,"");return o.dynamic=!0,o.strValue=i,o}let n=_l(i,e);return e5(n.duration,n.delay,n.easing)}function xa(u){return u?(u=jt({},u),u.params&&(u.params=nnu(u.params))):u={},u}function e5(u,e,i){return{duration:u,delay:e,easing:i}}function M6(u,e,i,n,o,f,l=null,h=!1){return{type:1,element:u,keyframes:e,preStyleProps:i,postStyleProps:n,duration:o,delay:f,totalTime:o+f,easing:l,subTimeline:h}}var L6=class{constructor(){this._map=new Map}get(u){return this._map.get(u)||[]}append(u,e){let i=this._map.get(u);i||this._map.set(u,i=[]),i.push(...e)}has(u){return this._map.has(u)}clear(){this._map.clear()}},onu=1,snu=":enter",lnu=new RegExp(snu,"g"),cnu=":leave",hnu=new RegExp(cnu,"g");function Af(u,e,i,n,o,f=new Map,l=new Map,h,t,c=[]){return new dnu().buildKeyframes(u,e,i,n,o,f,l,h,t,c)}var dnu=class{buildKeyframes(u,e,i,n,o,f,l,h,t,c=[]){t=t||new L6;let a=new fnu(u,e,t,n,o,c,[]);a.options=h;let s=h.delay?Li(h.delay):0;a.currentTimeline.delayNextStep(s),a.currentTimeline.setStyles([f],null,a.errors,h),jr(this,i,a);let d=a.timelines.filter(p=>p.containsAnimation());if(d.length&&l.size){let p;for(let E=d.length-1;E>=0;E--){let C=d[E];if(C.element===e){p=C;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([l],null,a.errors,h)}return d.length?d.map(p=>p.buildKeyframes()):[M6(e,[],[],[],0,s,"",!1)]}visitTrigger(u,e){}visitState(u,e){}visitTransition(u,e){}visitAnimateChild(u,e){let i=e.subInstructions.get(e.element);if(i){let n=e.createSubContext(u.options),o=e.currentTimeline.currentTime,f=this._visitSubInstructions(i,n,n.options);o!=f&&e.transformIntoNewTimeline(f)}e.previousNode=u}visitAnimateRef(u,e){let i=e.createSubContext(u.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([u.options,u.animation.options],e,i),this.visitReference(u.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=u}_applyAnimationRefDelays(u,e,i){for(let n of u){let o=n==null?void 0:n.delay;if(o){let f=typeof o=="number"?o:Li(Os(o,(n==null?void 0:n.params)??{},e.errors));i.delayNextStep(f)}}}_visitSubInstructions(u,e,i){let n=e.currentTimeline.currentTime,o=i.duration!=null?Li(i.duration):null,f=i.delay!=null?Li(i.delay):null;return o!==0&&u.forEach(l=>{let h=e.appendInstructionToTimeline(l,o,f);n=Math.max(n,h.duration+h.delay)}),n}visitReference(u,e){e.updateOptions(u.options,!0),jr(this,u.animation,e),e.previousNode=u}visitSequence(u,e){let i=e.subContextCount,n=e,o=u.options;if(o&&(o.params||o.delay)&&(n=e.createSubContext(o),n.transformIntoNewTimeline(),o.delay!=null)){n.previousNode.type==Ut.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=kl);let f=Li(o.delay);n.delayNextStep(f)}u.steps.length&&(u.steps.forEach(f=>jr(this,f,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>i&&n.transformIntoNewTimeline()),e.previousNode=u}visitGroup(u,e){let i=[],n=e.currentTimeline.currentTime,o=u.options&&u.options.delay?Li(u.options.delay):0;u.steps.forEach(f=>{let l=e.createSubContext(u.options);o&&l.delayNextStep(o),jr(this,f,l),n=Math.max(n,l.currentTimeline.currentTime),i.push(l.currentTimeline)}),i.forEach(f=>e.currentTimeline.mergeTimelineCollectedStyles(f)),e.transformIntoNewTimeline(n),e.previousNode=u}_visitTiming(u,e){if(u.dynamic){let i=u.strValue,n=e.params?Os(i,e.params,e.errors):i;return _l(n,e.errors)}else return{duration:u.duration,delay:u.delay,easing:u.easing}}visitAnimate(u,e){let i=e.currentAnimateTimings=this._visitTiming(u.timings,e),n=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),n.snapshotCurrentStyles());let o=u.style;o.type==Ut.Keyframes?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),n.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=u}visitStyle(u,e){let i=e.currentTimeline,n=e.currentAnimateTimings;!n&&i.hasCurrentStyleProperties()&&i.forwardFrame();let o=n&&n.easing||u.easing;u.isEmptyStep?i.applyEmptyStep(o):i.setStyles(u.styles,o,e.errors,e.options),e.previousNode=u}visitKeyframes(u,e){let i=e.currentAnimateTimings,n=e.currentTimeline.duration,o=i.duration,f=e.createSubContext().currentTimeline;f.easing=i.easing,u.styles.forEach(l=>{let h=l.offset||0;f.forwardTime(h*o),f.setStyles(l.styles,l.easing,e.errors,e.options),f.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(f),e.transformIntoNewTimeline(n+o),e.previousNode=u}visitQuery(u,e){let i=e.currentTimeline.currentTime,n=u.options||{},o=n.delay?Li(n.delay):0;o&&(e.previousNode.type===Ut.Style||i==0&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=kl);let f=i,l=e.invokeQuery(u.selector,u.originalSelector,u.limit,u.includeSelf,!!n.optional,e.errors);e.currentQueryTotal=l.length;let h=null;l.forEach((t,c)=>{e.currentQueryIndex=c;let a=e.createSubContext(u.options,t);o&&a.delayNextStep(o),t===e.element&&(h=a.currentTimeline),jr(this,u.animation,a),a.currentTimeline.applyStylesToKeyframe();let s=a.currentTimeline.currentTime;f=Math.max(f,s)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(f),h&&(e.currentTimeline.mergeTimelineCollectedStyles(h),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=u}visitStagger(u,e){let i=e.parentContext,n=e.currentTimeline,o=u.timings,f=Math.abs(o.duration),l=f*(e.currentQueryTotal-1),h=f*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":h=l-h;break;case"full":h=i.currentStaggerTime;break}let t=e.currentTimeline;h&&t.delayNextStep(h);let c=t.currentTime;jr(this,u.animation,e),e.previousNode=u,i.currentStaggerTime=n.currentTime-c+(n.startTime-i.currentTimeline.startTime)}},kl={},fnu=class gf{constructor(e,i,n,o,f,l,h,t){this._driver=e,this.element=i,this.subInstructions=n,this._enterClassName=o,this._leaveClassName=f,this.errors=l,this.timelines=h,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=kl,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=t||new Df(this._driver,i,0),h.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,i){if(!e)return;let n=e,o=this.options;n.duration!=null&&(o.duration=Li(n.duration)),n.delay!=null&&(o.delay=Li(n.delay));let f=n.params;if(f){let l=o.params;l||(l=this.options.params={}),Object.keys(f).forEach(h=>{(!i||!l.hasOwnProperty(h))&&(l[h]=Os(f[h],l,this.errors))})}}_copyOptions(){let e={};if(this.options){let i=this.options.params;if(i){let n=e.params={};Object.keys(i).forEach(o=>{n[o]=i[o]})}}return e}createSubContext(e=null,i,n){let o=i||this.element,f=new gf(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,n||0));return f.previousNode=this.previousNode,f.currentAnimateTimings=this.currentAnimateTimings,f.options=this._copyOptions(),f.updateOptions(e),f.currentQueryIndex=this.currentQueryIndex,f.currentQueryTotal=this.currentQueryTotal,f.parentContext=this,this.subContextCount++,f}transformIntoNewTimeline(e){return this.previousNode=kl,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,i,n){let o={duration:i??e.duration,delay:this.currentTimeline.currentTime+(n??0)+e.delay,easing:""},f=new pnu(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,o,e.stretchStartingKeyframe);return this.timelines.push(f),o}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,i,n,o,f,l){let h=[];if(o&&h.push(this.element),e.length>0){e=e.replace(lnu,"."+this._enterClassName),e=e.replace(hnu,"."+this._leaveClassName);let t=n!=1,c=this._driver.query(this.element,e,t);n!==0&&(c=n<0?c.slice(c.length+n,c.length):c.slice(0,n)),h.push(...c)}return!f&&h.length==0&&l.push(mtu()),h}},Df=class mf{constructor(e,i,n,o){this._driver=e,this.element=i,this.startTime=n,this._elementTimelineStylesLookup=o,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(i),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(i,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let i=this._keyframes.size===1&&this._pendingStyles.size;this.duration||i?(this.forwardTime(this.currentTime+e),i&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,i){return this.applyStylesToKeyframe(),new mf(this._driver,e,i||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=onu,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,i){this._localTimelineStyles.set(e,i),this._globalTimelineStyles.set(e,i),this._styleSummary.set(e,{time:this.currentTime,value:i})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[i,n]of this._globalTimelineStyles)this._backFill.set(i,n||zi),this._currentKeyframe.set(i,zi);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,i,n,o){i&&this._previousKeyframe.set("easing",i);let f=o&&o.params||{},l=Enu(e,this._globalTimelineStyles);for(let[h,t]of l){let c=Os(t,f,n);this._pendingStyles.set(h,c),this._localTimelineStyles.has(h)||this._backFill.set(h,this._globalTimelineStyles.get(h)??zi),this._updateStyle(h,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,i)=>{this._currentKeyframe.set(i,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,i)=>{this._currentKeyframe.has(i)||this._currentKeyframe.set(i,e)}))}snapshotCurrentStyles(){for(let[e,i]of this._localTimelineStyles)this._pendingStyles.set(e,i),this._updateStyle(e,i)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let i in this._currentKeyframe)e.push(i);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((i,n)=>{let o=this._styleSummary.get(n);(!o||i.time>o.time)&&this._updateStyle(n,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,i=new Set,n=this._keyframes.size===1&&this.duration===0,o=[];this._keyframes.forEach((h,t)=>{let c=new Map([...this._backFill,...h]);c.forEach((a,s)=>{a===k6?e.add(s):a===zi&&i.add(s)}),n||c.set("offset",t/this.duration),o.push(c)});let f=[...e.values()],l=[...i.values()];if(n){let h=o[0],t=new Map(h);h.set("offset",0),t.set("offset",1),o=[h,t]}return M6(this.element,o,f,l,this.duration,this.startTime,this.easing,!1)}},pnu=class extends Df{constructor(u,e,i,n,o,f,l=!1){super(u,e,f.delay),this.keyframes=i,this.preStyleProps=n,this.postStyleProps=o,this._stretchStartingKeyframe=l,this.timings={duration:f.duration,delay:f.delay,easing:f.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let u=this.keyframes,{delay:e,duration:i,easing:n}=this.timings;if(this._stretchStartingKeyframe&&e){let o=[],f=i+e,l=e/f,h=new Map(u[0]);h.set("offset",0),o.push(h);let t=new Map(u[0]);t.set("offset",c7(l)),o.push(t);let c=u.length-1;for(let a=1;a<=c;a++){let s=new Map(u[a]),d=s.get("offset"),p=e+d*i;s.set("offset",c7(p/f)),o.push(s)}i=f,e=0,n="",u=o}return M6(this.element,u,this.preStyleProps,this.postStyleProps,i,e,n,!0)}};function c7(u,e=3){let i=Math.pow(10,e-1);return Math.round(u*i)/i}function Enu(u,e){let i=new Map,n;return u.forEach(o=>{if(o==="*"){n??(n=e.keys());for(let f of n)i.set(f,zi)}else for(let[f,l]of o)i.set(f,l)}),i}function h7(u,e,i,n,o,f,l,h,t,c,a,s,d){return{type:0,element:u,triggerName:e,isRemovalTransition:o,fromState:i,fromStyles:f,toState:n,toStyles:l,timelines:h,queriedElements:t,preStyleProps:c,postStyleProps:a,totalTime:s,errors:d}}var t5={},Bf=class{constructor(u,e,i){this._triggerName=u,this.ast=e,this._stateStyles=i}match(u,e,i,n){return Cnu(this.ast.matchers,u,e,i,n)}buildStyles(u,e,i){let n=this._stateStyles.get("*");return u!==void 0&&(n=this._stateStyles.get(u==null?void 0:u.toString())||n),n?n.buildStyles(e,i):new Map}build(u,e,i,n,o,f,l,h,t,c){var x;let a=[],s=this.ast.options&&this.ast.options.params||t5,d=l&&l.params||t5,p=this.buildStyles(i,d,a),E=h&&h.params||t5,C=this.buildStyles(n,E,a),A=new Set,F=new Map,D=new Map,g=n==="void",B={params:vf(E,s),delay:(x=this.ast.options)==null?void 0:x.delay},r=c?[]:Af(u,e,this.ast.animation,o,f,p,C,B,t,a),m=0;return r.forEach(M=>{m=Math.max(M.duration+M.delay,m)}),a.length?h7(e,this._triggerName,i,n,g,p,C,[],[],F,D,m,a):(r.forEach(M=>{let k=M.element,P=Vr(F,k,new Set);M.preStyleProps.forEach(_=>P.add(_));let v=Vr(D,k,new Set);M.postStyleProps.forEach(_=>v.add(_)),k!==e&&A.add(k)}),h7(e,this._triggerName,i,n,g,p,C,r,[...A.values()],F,D,m))}};function Cnu(u,e,i,n,o){return u.some(f=>f(e,i,n,o))}function vf(u,e){let i=jt({},e);return Object.entries(u).forEach(([n,o])=>{o!=null&&(i[n]=o)}),i}var Fnu=class{constructor(u,e,i){this.styles=u,this.defaultParams=e,this.normalizer=i}buildStyles(u,e){let i=new Map,n=vf(u,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((f,l)=>{f&&(f=Os(f,n,e));let h=this.normalizer.normalizePropertyName(l,e);f=this.normalizer.normalizeStyleValue(l,h,f,e),i.set(l,f)})}),i}};function Anu(u,e,i){return new gnu(u,e,i)}var gnu=class{constructor(u,e,i){this.name=u,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(n=>{let o=n.options&&n.options.params||{};this.states.set(n.name,new Fnu(n.style,o,i))}),d7(this.states,"true","1"),d7(this.states,"false","0"),e.transitions.forEach(n=>{this.transitionFactories.push(new Bf(u,n,this.states))}),this.fallbackTransition=Dnu(u,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(u,e,i,n){return this.transitionFactories.find(o=>o.match(u,e,i,n))||null}matchStyles(u,e,i){return this.fallbackTransition.buildStyles(u,e,i)}};function Dnu(u,e,i){let n=[(l,h)=>!0],o={type:Ut.Sequence,steps:[],options:null},f={type:Ut.Transition,animation:o,matchers:n,options:null,queryCount:0,depCount:0};return new Bf(u,f,e)}function d7(u,e,i){u.has(e)?u.has(i)||u.set(i,u.get(e)):u.has(i)&&u.set(e,u.get(i))}var mnu=new L6,Bnu=class{constructor(u,e,i){this.bodyNode=u,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(u,e){let i=[],n=[],o=Ff(this._driver,e,i,n);if(i.length)throw xtu();n.length,this._animations.set(u,o)}_buildPlayer(u,e,i){let n=u.element,o=lf(this._normalizer,u.keyframes,e,i);return this._driver.animate(n,o,u.duration,u.delay,u.easing,[],!0)}create(u,e,i={}){let n=[],o=this._animations.get(u),f,l=new Map;if(o?(f=Af(this._driver,e,o,pf,u1,new Map,new Map,i,mnu,n),f.forEach(c=>{let a=Vr(l,c.element,new Map);c.postStyleProps.forEach(s=>a.set(s,null))})):(n.push(wtu()),f=[]),n.length)throw _tu();l.forEach((c,a)=>{c.forEach((s,d)=>{c.set(d,this._driver.computeStyle(a,d,zi))})});let h=f.map(c=>{let a=l.get(c.element);return this._buildPlayer(c,new Map,a)}),t=ra(h);return this._playersById.set(u,t),t.onDestroy(()=>this.destroy(u)),this.players.push(t),t}destroy(u){let e=this._getPlayer(u);e.destroy(),this._playersById.delete(u);let i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(u){let e=this._playersById.get(u);if(!e)throw Stu();return e}listen(u,e,i,n){let o=I6(e,"","","");return P6(this._getPlayer(u),i,o,n),()=>{}}command(u,e,i,n){if(i=="register"){this.register(u,n[0]);return}if(i=="create"){let f=n[0]||{};this.create(u,e,f);return}let o=this._getPlayer(u);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(u);break}}},f7="ng-animate-queued",vnu=".ng-animate-queued",n5="ng-animate-disabled",ynu=".ng-animate-disabled",bnu="ng-star-inserted",xnu=".ng-star-inserted",wnu=[],yf={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},_nu={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},si="__ng_removed",r1=class{get params(){return this.options.params}constructor(u,e=""){this.namespaceId=e;let i=u&&u.hasOwnProperty("value"),n=i?u.value:u;if(this.value=Inu(n),i){let o=u,{value:f}=o,l=Rq(o,["value"]);this.options=l}else this.options={};this.options.params||(this.options.params={})}absorbOptions(u){let e=u.params;if(e){let i=this.options.params;Object.keys(e).forEach(n=>{i[n]==null&&(i[n]=e[n])})}}},Cs="void",r5=new r1(Cs),Snu=class{constructor(u,e,i){this.id=u,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+u,Yr(e,this._hostClassName)}listen(u,e,i,n){if(!this._triggers.has(e))throw ktu();if(i==null||i.length==0)throw Ptu();if(!Tnu(i))throw Itu();let o=Vr(this._elementListeners,u,[]),f={name:e,phase:i,callback:n};o.push(f);let l=Vr(this._engine.statesByElement,u,new Map);return l.has(e)||(Yr(u,M0),Yr(u,M0+"-"+e),l.set(e,r5)),()=>{this._engine.afterFlush(()=>{let h=o.indexOf(f);h>=0&&o.splice(h,1),this._triggers.has(e)||l.delete(e)})}}register(u,e){return this._triggers.has(u)?!1:(this._triggers.set(u,e),!0)}_getTrigger(u){let e=this._triggers.get(u);if(!e)throw Ttu();return e}trigger(u,e,i,n=!0){let o=this._getTrigger(e),f=new i1(this.id,e,u),l=this._engine.statesByElement.get(u);l||(Yr(u,M0),Yr(u,M0+"-"+e),this._engine.statesByElement.set(u,l=new Map));let h=l.get(e),t=new r1(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&h&&t.absorbOptions(h.options),l.set(e,t),h||(h=r5),t.value!==Cs&&h.value===t.value){if(!Rnu(h.params,t.params)){let d=[],p=o.matchStyles(h.value,h.params,d),E=o.matchStyles(t.value,t.params,d);d.length?this._engine.reportError(d):this._engine.afterFlush(()=>{Oa(u,p),vi(u,E)})}return}let c=Vr(this._engine.playersByElement,u,[]);c.forEach(d=>{d.namespaceId==this.id&&d.triggerName==e&&d.queued&&d.destroy()});let a=o.matchTransition(h.value,t.value,u,t.params),s=!1;if(!a){if(!n)return;a=o.fallbackTransition,s=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:u,triggerName:e,transition:a,fromState:h,toState:t,player:f,isFallbackTransition:s}),s||(Yr(u,f7),f.onStart(()=>{no(u,f7)})),f.onDone(()=>{let d=this.players.indexOf(f);d>=0&&this.players.splice(d,1);let p=this._engine.playersByElement.get(u);if(p){let E=p.indexOf(f);E>=0&&p.splice(E,1)}}),this.players.push(f),c.push(f),f}deregister(u){this._triggers.delete(u),this._engine.statesByElement.forEach(e=>e.delete(u)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(n=>n.name!=u))})}clearElementCache(u){this._engine.statesByElement.delete(u),this._elementListeners.delete(u);let e=this._engine.playersByElement.get(u);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(u))}_signalRemovalForInnerTriggers(u,e){let i=this._engine.driver.query(u,wl,!0);i.forEach(n=>{if(n[si])return;let o=this._engine.fetchNamespacesByElement(n);o.size?o.forEach(f=>f.triggerLeaveAnimation(n,e,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(u,e,i,n){let o=this._engine.statesByElement.get(u),f=new Map;if(o){let l=[];if(o.forEach((h,t)=>{if(f.set(t,h.value),this._triggers.has(t)){let c=this.trigger(u,t,Cs,n);c&&l.push(c)}}),l.length)return this._engine.markElementAsRemoved(this.id,u,!0,e,f),i&&ra(l).onDone(()=>this._engine.processLeaveNode(u)),!0}return!1}prepareLeaveAnimationListeners(u){let e=this._elementListeners.get(u),i=this._engine.statesByElement.get(u);if(e&&i){let n=new Set;e.forEach(o=>{let f=o.name;if(n.has(f))return;n.add(f);let l=this._triggers.get(f).fallbackTransition,h=i.get(f)||r5,t=new r1(Cs),c=new i1(this.id,f,u);this._engine.totalQueuedPlayers++,this._queue.push({element:u,triggerName:f,transition:l,fromState:h,toState:t,player:c,isFallbackTransition:!0})})}}removeNode(u,e){let i=this._engine;if(u.childElementCount&&this._signalRemovalForInnerTriggers(u,e),this.triggerLeaveAnimation(u,e,!0))return;let n=!1;if(i.totalAnimations){let o=i.players.length?i.playersByQueriedElement.get(u):[];if(o&&o.length)n=!0;else{let f=u;for(;f=f.parentNode;)if(i.statesByElement.get(f)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(u),n)i.markElementAsRemoved(this.id,u,!1,e);else{let o=u[si];(!o||o===yf)&&(i.afterFlush(()=>this.clearElementCache(u)),i.destroyInnerAnimations(u),i._onRemovalComplete(u,e))}}insertNode(u,e){Yr(u,this._hostClassName)}drainQueuedTransitions(u){let e=[];return this._queue.forEach(i=>{let n=i.player;if(n.destroyed)return;let o=i.element,f=this._elementListeners.get(o);f&&f.forEach(l=>{if(l.name==i.triggerName){let h=I6(o,i.triggerName,i.fromState.value,i.toState.value);h._data=u,P6(i.player,l.phase,h,l.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):e.push(i)}),this._queue=[],e.sort((i,n)=>{let o=i.transition.ast.depCount,f=n.transition.ast.depCount;return o==0||f==0?o-f:this._engine.driver.containsElement(i.element,n.element)?1:-1})}destroy(u){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,u)}},knu=class{_onRemovalComplete(u,e){this.onRemovalComplete(u,e)}constructor(u,e,i,n){this.bodyNode=u,this.driver=e,this._normalizer=i,this.scheduler=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(o,f)=>{}}get queuedPlayers(){let u=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&u.push(i)})}),u}createNamespace(u,e){let i=new Snu(u,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[u]=i}_balanceNamespaceList(u,e){let i=this._namespaceList,n=this.namespacesByHostElement;if(i.length-1>=0){let o=!1,f=this.driver.getParentElement(e);for(;f;){let l=n.get(f);if(l){let h=i.indexOf(l);i.splice(h+1,0,u),o=!0;break}f=this.driver.getParentElement(f)}o||i.unshift(u)}else i.push(u);return n.set(e,u),u}register(u,e){let i=this._namespaceLookup[u];return i||(i=this.createNamespace(u,e)),i}registerTrigger(u,e,i){let n=this._namespaceLookup[u];n&&n.register(e,i)&&this.totalAnimations++}destroy(u,e){u&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let i=this._fetchNamespace(u);this.namespacesByHostElement.delete(i.hostElement);let n=this._namespaceList.indexOf(i);n>=0&&this._namespaceList.splice(n,1),i.destroy(e),delete this._namespaceLookup[u]}))}_fetchNamespace(u){return this._namespaceLookup[u]}fetchNamespacesByElement(u){let e=new Set,i=this.statesByElement.get(u);if(i){for(let n of i.values())if(n.namespaceId){let o=this._fetchNamespace(n.namespaceId);o&&e.add(o)}}return e}trigger(u,e,i,n){if(V0(e)){let o=this._fetchNamespace(u);if(o)return o.trigger(e,i,n),!0}return!1}insertNode(u,e,i,n){if(!V0(e))return;let o=e[si];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let f=this.collectedLeaveElements.indexOf(e);f>=0&&this.collectedLeaveElements.splice(f,1)}if(u){let f=this._fetchNamespace(u);f&&f.insertNode(e,i)}n&&this.collectEnterElement(e)}collectEnterElement(u){this.collectedEnterElements.push(u)}markElementAsDisabled(u,e){e?this.disabledNodes.has(u)||(this.disabledNodes.add(u),Yr(u,n5)):this.disabledNodes.has(u)&&(this.disabledNodes.delete(u),no(u,n5))}removeNode(u,e,i){var n;if(V0(e)){(n=this.scheduler)==null||n.notify();let o=u?this._fetchNamespace(u):null;o?o.removeNode(e,i):this.markElementAsRemoved(u,e,!1,i);let f=this.namespacesByHostElement.get(e);f&&f.id!==u&&f.removeNode(e,i)}else this._onRemovalComplete(e,i)}markElementAsRemoved(u,e,i,n,o){this.collectedLeaveElements.push(e),e[si]={namespaceId:u,setForRemoval:n,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(u,e,i,n,o){return V0(e)?this._fetchNamespace(u).listen(e,i,n,o):()=>{}}_buildInstruction(u,e,i,n,o){return u.transition.build(this.driver,u.element,u.fromState.value,u.toState.value,i,n,u.fromState.options,u.toState.options,e,o)}destroyInnerAnimations(u){let e=this.driver.query(u,wl,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),this.playersByQueriedElement.size!=0&&(e=this.driver.query(u,e1,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(u){let e=this.playersByElement.get(u);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(u){let e=this.playersByQueriedElement.get(u);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(u=>{if(this.players.length)return ra(this.players).onDone(()=>u());u()})}processLeaveNode(u){var i;let e=u[si];if(e&&e.setForRemoval){if(u[si]=yf,e.namespaceId){this.destroyInnerAnimations(u);let n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(u)}this._onRemovalComplete(u,e.setForRemoval)}(i=u.classList)!=null&&i.contains(n5)&&this.markElementAsDisabled(u,!1),this.driver.query(u,ynu,!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(u=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,n)=>this._balanceNamespaceList(i,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++){let n=this.collectedEnterElements[i];Yr(n,bnu)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let i=[];try{e=this._flushAnimations(i,u)}finally{for(let n=0;n<i.length;n++)i[n]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++){let n=this.collectedLeaveElements[i];this.processLeaveNode(n)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){let i=this._whenQuietFns;this._whenQuietFns=[],e.length?ra(e).onDone(()=>{i.forEach(n=>n())}):i.forEach(n=>n())}}reportError(u){throw Otu()}_flushAnimations(u,e){let i=new L6,n=[],o=new Map,f=[],l=new Map,h=new Map,t=new Map,c=new Set;this.disabledNodes.forEach(w=>{c.add(w);let S=this.driver.query(w,vnu,!0);for(let N=0;N<S.length;N++)c.add(S[N])});let a=this.bodyNode,s=Array.from(this.statesByElement.keys()),d=C7(s,this.collectedEnterElements),p=new Map,E=0;d.forEach((w,S)=>{let N=pf+E++;p.set(S,N),w.forEach(j=>Yr(j,N))});let C=[],A=new Set,F=new Set;for(let w=0;w<this.collectedLeaveElements.length;w++){let S=this.collectedLeaveElements[w],N=S[si];N&&N.setForRemoval&&(C.push(S),A.add(S),N.hasAnimation?this.driver.query(S,xnu,!0).forEach(j=>A.add(j)):F.add(S))}let D=new Map,g=C7(s,Array.from(A));g.forEach((w,S)=>{let N=u1+E++;D.set(S,N),w.forEach(j=>Yr(j,N))}),u.push(()=>{d.forEach((w,S)=>{let N=p.get(S);w.forEach(j=>no(j,N))}),g.forEach((w,S)=>{let N=D.get(S);w.forEach(j=>no(j,N))}),C.forEach(w=>{this.processLeaveNode(w)})});let B=[],r=[];for(let w=this._namespaceList.length-1;w>=0;w--)this._namespaceList[w].drainQueuedTransitions(e).forEach(S=>{let N=S.player,j=S.element;if(B.push(N),this.collectedEnterElements.length){let Iu=j[si];if(Iu&&Iu.setForMove){if(Iu.previousTriggersValues&&Iu.previousTriggersValues.has(S.triggerName)){let Mu=Iu.previousTriggersValues.get(S.triggerName),Pu=this.statesByElement.get(S.element);if(Pu&&Pu.has(S.triggerName)){let Zu=Pu.get(S.triggerName);Zu.value=Mu,Pu.set(S.triggerName,Zu)}}N.destroy();return}}let z=!a||!this.driver.containsElement(a,j),tu=D.get(j),pu=p.get(j),lu=this._buildInstruction(S,i,pu,tu,z);if(lu.errors&&lu.errors.length){r.push(lu);return}if(z){N.onStart(()=>Oa(j,lu.fromStyles)),N.onDestroy(()=>vi(j,lu.toStyles)),n.push(N);return}if(S.isFallbackTransition){N.onStart(()=>Oa(j,lu.fromStyles)),N.onDestroy(()=>vi(j,lu.toStyles)),n.push(N);return}let fu=[];lu.timelines.forEach(Iu=>{Iu.stretchStartingKeyframe=!0,this.disabledNodes.has(Iu.element)||fu.push(Iu)}),lu.timelines=fu,i.append(j,lu.timelines);let _u={instruction:lu,player:N,element:j};f.push(_u),lu.queriedElements.forEach(Iu=>Vr(l,Iu,[]).push(N)),lu.preStyleProps.forEach((Iu,Mu)=>{if(Iu.size){let Pu=h.get(Mu);Pu||h.set(Mu,Pu=new Set),Iu.forEach((Zu,ju)=>Pu.add(ju))}}),lu.postStyleProps.forEach((Iu,Mu)=>{let Pu=t.get(Mu);Pu||t.set(Mu,Pu=new Set),Iu.forEach((Zu,ju)=>Pu.add(ju))})});if(r.length){let w=[];r.forEach(S=>{w.push(Ntu(S.triggerName,S.errors))}),B.forEach(S=>S.destroy()),this.reportError(w)}let m=new Map,x=new Map;f.forEach(w=>{let S=w.element;i.has(S)&&(x.set(S,S),this._beforeAnimationBuild(w.player.namespaceId,w.instruction,m))}),n.forEach(w=>{let S=w.element;this._getPreviousPlayers(S,!1,w.namespaceId,w.triggerName,null).forEach(N=>{Vr(m,S,[]).push(N),N.destroy()})});let M=C.filter(w=>F7(w,h,t)),k=new Map;E7(k,this.driver,F,t,zi).forEach(w=>{F7(w,h,t)&&M.push(w)});let P=new Map;d.forEach((w,S)=>{E7(P,this.driver,new Set(w),h,k6)}),M.forEach(w=>{let S=k.get(w),N=P.get(w);k.set(w,new Map([...(S==null?void 0:S.entries())??[],...(N==null?void 0:N.entries())??[]]))});let v=[],_=[],b={};f.forEach(w=>{let{element:S,player:N,instruction:j}=w;if(i.has(S)){if(c.has(S)){N.onDestroy(()=>vi(S,j.toStyles)),N.disabled=!0,N.overrideTotalTime(j.totalTime),n.push(N);return}let z=b;if(x.size>1){let pu=S,lu=[];for(;pu=pu.parentNode;){let fu=x.get(pu);if(fu){z=fu;break}lu.push(pu)}lu.forEach(fu=>x.set(fu,z))}let tu=this._buildAnimation(N.namespaceId,j,m,o,P,k);if(N.setRealPlayer(tu),z===b)v.push(N);else{let pu=this.playersByElement.get(z);pu&&pu.length&&(N.parentPlayer=ra(pu)),n.push(N)}}else Oa(S,j.fromStyles),N.onDestroy(()=>vi(S,j.toStyles)),_.push(N),c.has(S)&&n.push(N)}),_.forEach(w=>{let S=o.get(w.element);if(S&&S.length){let N=ra(S);w.setRealPlayer(N)}}),n.forEach(w=>{w.parentPlayer?w.syncPlayerEvents(w.parentPlayer):w.destroy()});for(let w=0;w<C.length;w++){let S=C[w],N=S[si];if(no(S,u1),N&&N.hasAnimation)continue;let j=[];if(l.size){let tu=l.get(S);tu&&tu.length&&j.push(...tu);let pu=this.driver.query(S,e1,!0);for(let lu=0;lu<pu.length;lu++){let fu=l.get(pu[lu]);fu&&fu.length&&j.push(...fu)}}let z=j.filter(tu=>!tu.destroyed);z.length?Onu(this,S,z):this.processLeaveNode(S)}return C.length=0,v.forEach(w=>{this.players.push(w),w.onDone(()=>{w.destroy();let S=this.players.indexOf(w);this.players.splice(S,1)}),w.play()}),v}afterFlush(u){this._flushFns.push(u)}afterFlushAnimationsDone(u){this._whenQuietFns.push(u)}_getPreviousPlayers(u,e,i,n,o){let f=[];if(e){let l=this.playersByQueriedElement.get(u);l&&(f=l)}else{let l=this.playersByElement.get(u);if(l){let h=!o||o==Cs;l.forEach(t=>{t.queued||!h&&t.triggerName!=n||f.push(t)})}}return(i||n)&&(f=f.filter(l=>!(i&&i!=l.namespaceId||n&&n!=l.triggerName))),f}_beforeAnimationBuild(u,e,i){let n=e.triggerName,o=e.element,f=e.isRemovalTransition?void 0:u,l=e.isRemovalTransition?void 0:n;for(let h of e.timelines){let t=h.element,c=t!==o,a=Vr(i,t,[]);this._getPreviousPlayers(t,c,f,l,e.toState).forEach(s=>{let d=s.getRealPlayer();d.beforeDestroy&&d.beforeDestroy(),s.destroy(),a.push(s)})}Oa(o,e.fromStyles)}_buildAnimation(u,e,i,n,o,f){let l=e.triggerName,h=e.element,t=[],c=new Set,a=new Set,s=e.timelines.map(p=>{let E=p.element;c.add(E);let C=E[si];if(C&&C.removedBeforeQueried)return new Ts(p.duration,p.delay);let A=E!==h,F=Nnu((i.get(E)||wnu).map(m=>m.getRealPlayer())).filter(m=>{let x=m;return x.element?x.element===E:!1}),D=o.get(E),g=f.get(E),B=lf(this._normalizer,p.keyframes,D,g),r=this._buildPlayer(p,B,F);if(p.subTimeline&&n&&a.add(E),A){let m=new i1(u,l,E);m.setRealPlayer(r),t.push(m)}return r});t.forEach(p=>{Vr(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>Pnu(this.playersByQueriedElement,p.element,p))}),c.forEach(p=>Yr(p,o7));let d=ra(s);return d.onDestroy(()=>{c.forEach(p=>no(p,o7)),vi(h,e.toStyles)}),a.forEach(p=>{Vr(n,p,[]).push(d)}),d}_buildPlayer(u,e,i){return e.length>0?this.driver.animate(u.element,e,u.duration,u.delay,u.easing,i):new Ts(u.duration,u.delay)}},i1=class{constructor(u,e,i){this.namespaceId=u,this.triggerName=e,this.element=i,this._player=new Ts,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(u){this._containsRealPlayer||(this._player=u,this._queuedCallbacks.forEach((e,i)=>{e.forEach(n=>P6(u,i,void 0,n))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(u.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(u){this.totalTime=u}syncPlayerEvents(u){let e=this._player;e.triggerCallback&&u.onStart(()=>e.triggerCallback("start")),u.onDone(()=>this.finish()),u.onDestroy(()=>this.destroy())}_queueEvent(u,e){Vr(this._queuedCallbacks,u,[]).push(e)}onDone(u){this.queued&&this._queueEvent("done",u),this._player.onDone(u)}onStart(u){this.queued&&this._queueEvent("start",u),this._player.onStart(u)}onDestroy(u){this.queued&&this._queueEvent("destroy",u),this._player.onDestroy(u)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(u){this.queued||this._player.setPosition(u)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(u){let e=this._player;e.triggerCallback&&e.triggerCallback(u)}};function Pnu(u,e,i){let n=u.get(e);if(n){if(n.length){let o=n.indexOf(i);n.splice(o,1)}n.length==0&&u.delete(e)}return n}function Inu(u){return u??null}function V0(u){return u&&u.nodeType===1}function Tnu(u){return u=="start"||u=="done"}function p7(u,e){let i=u.style.display;return u.style.display=e??"none",i}function E7(u,e,i,n,o){let f=[];i.forEach(t=>f.push(p7(t)));let l=[];n.forEach((t,c)=>{let a=new Map;t.forEach(s=>{let d=e.computeStyle(c,s,o);a.set(s,d),(!d||d.length==0)&&(c[si]=_nu,l.push(c))}),u.set(c,a)});let h=0;return i.forEach(t=>p7(t,f[h++])),l}function C7(u,e){let i=new Map;if(u.forEach(h=>i.set(h,[])),e.length==0)return i;let n=1,o=new Set(e),f=new Map;function l(h){if(!h)return n;let t=f.get(h);if(t)return t;let c=h.parentNode;return i.has(c)?t=c:o.has(c)?t=n:t=l(c),f.set(h,t),t}return e.forEach(h=>{let t=l(h);t!==n&&i.get(t).push(h)}),i}function Yr(u,e){var i;(i=u.classList)==null||i.add(e)}function no(u,e){var i;(i=u.classList)==null||i.remove(e)}function Onu(u,e,i){ra(i).onDone(()=>u.processLeaveNode(e))}function Nnu(u){let e=[];return bf(u,e),e}function bf(u,e){for(let i=0;i<u.length;i++){let n=u[i];n instanceof sf?bf(n.players,e):e.push(n)}}function Rnu(u,e){let i=Object.keys(u),n=Object.keys(e);if(i.length!=n.length)return!1;for(let o=0;o<i.length;o++){let f=i[o];if(!e.hasOwnProperty(f)||u[f]!==e[f])return!1}return!0}function F7(u,e,i){let n=i.get(u);if(!n)return!1;let o=e.get(u);return o?n.forEach(f=>o.add(f)):e.set(u,n),i.delete(u),!0}var a1=class{constructor(u,e,i,n){this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(o,f)=>{},this._transitionEngine=new knu(u.body,e,i,n),this._timelineEngine=new Bnu(u.body,e,i),this._transitionEngine.onRemovalComplete=(o,f)=>this.onRemovalComplete(o,f)}registerTrigger(u,e,i,n,o){let f=u+"-"+n,l=this._triggerCache[f];if(!l){let h=[],t=[],c=Ff(this._driver,o,h,t);if(h.length)throw ytu();t.length,l=Anu(n,c,this._normalizer),this._triggerCache[f]=l}this._transitionEngine.registerTrigger(e,n,l)}register(u,e){this._transitionEngine.register(u,e)}destroy(u,e){this._transitionEngine.destroy(u,e)}onInsert(u,e,i,n){this._transitionEngine.insertNode(u,e,i,n)}onRemove(u,e,i){this._transitionEngine.removeNode(u,e,i)}disableAnimations(u,e){this._transitionEngine.markElementAsDisabled(u,e)}process(u,e,i,n){if(i.charAt(0)=="@"){let[o,f]=i7(i),l=n;this._timelineEngine.command(o,e,f,l)}else this._transitionEngine.trigger(u,e,i,n)}listen(u,e,i,n,o){if(i.charAt(0)=="@"){let[f,l]=i7(i);return this._timelineEngine.listen(f,e,l,o)}return this._transitionEngine.listen(u,e,i,n,o)}flush(u=-1){this._transitionEngine.flush(u)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(u){this._transitionEngine.afterFlushAnimationsDone(u)}};function Mnu(u,e){let i=null,n=null;return Array.isArray(e)&&e.length?(i=i5(e[0]),e.length>1&&(n=i5(e[e.length-1]))):e instanceof Map&&(i=i5(e)),i||n?new Lnu(u,i,n):null}var Ui,Lnu=(Ui=class{constructor(e,i,n){this._element=e,this._startStyles=i,this._endStyles=n,this._state=0;let o=Ui.initialStylesByElement.get(e);o||Ui.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&vi(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(vi(this._element,this._initialStyles),this._endStyles&&(vi(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Ui.initialStylesByElement.delete(this._element),this._startStyles&&(Oa(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Oa(this._element,this._endStyles),this._endStyles=null),vi(this._element,this._initialStyles),this._state=3)}},Ui.initialStylesByElement=new WeakMap,Ui);function i5(u){let e=null;return u.forEach((i,n)=>{jnu(n)&&(e=e||new Map,e.set(n,i))}),e}function jnu(u){return u==="display"||u==="position"}var A7=class{constructor(u,e,i,n){this.element=u,this.keyframes=e,this.options=i,this._specialStyles=n,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(u=>u()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let u=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,u,this.options),this._finalKeyframe=u.length?u[u.length-1]:new Map;let e=()=>this._onFinish();this.domPlayer.addEventListener("finish",e),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",e)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(u){let e=[];return u.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(u,e,i){return u.animate(this._convertKeyframesToObject(e),i)}onStart(u){this._originalOnStartFns.push(u),this._onStartFns.push(u)}onDone(u){this._originalOnDoneFns.push(u),this._onDoneFns.push(u)}onDestroy(u){this._onDestroyFns.push(u)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(u=>u()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(u=>u()),this._onDestroyFns=[])}setPosition(u){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=u*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let u=new Map;this.hasStarted()&&this._finalKeyframe.forEach((e,i)=>{i!=="offset"&&u.set(i,this._finished?e:R6(this.element,i))}),this.currentSnapshot=u}triggerCallback(u){let e=u==="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},Vnu=class{validateStyleProperty(u){return!0}validateAnimatableStyleProperty(u){return!0}matchesElement(u,e){return!1}containsElement(u,e){return cf(u,e)}getParentElement(u){return T6(u)}query(u,e,i){return hf(u,e,i)}computeStyle(u,e,i){return R6(u,e)}animate(u,e,i,n,o,f=[]){let l=n==0?"both":"forwards",h={duration:i,delay:n,fill:l};o&&(h.easing=o);let t=new Map,c=f.filter(d=>d instanceof A7);Xtu(i,n)&&c.forEach(d=>{d.currentSnapshot.forEach((p,E)=>t.set(E,p))});let a=Gtu(e).map(d=>new Map(d));a=Ytu(u,a,t);let s=Mnu(u,a);return new A7(u,a,h,s)}},rl="@",xf="@.disabled",wf=class{constructor(u,e,i,n){this.namespaceId=u,this.delegate=e,this.engine=i,this._onDestroy=n,this.ɵtype=0}get data(){return this.delegate.data}destroyNode(u){var e,i;(i=(e=this.delegate).destroyNode)==null||i.call(e,u)}destroy(){var u;this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),(u=this._onDestroy)==null||u.call(this)}createElement(u,e){return this.delegate.createElement(u,e)}createComment(u){return this.delegate.createComment(u)}createText(u){return this.delegate.createText(u)}appendChild(u,e){this.delegate.appendChild(u,e),this.engine.onInsert(this.namespaceId,e,u,!1)}insertBefore(u,e,i,n=!0){this.delegate.insertBefore(u,e,i),this.engine.onInsert(this.namespaceId,e,u,n)}removeChild(u,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(u,e){return this.delegate.selectRootElement(u,e)}parentNode(u){return this.delegate.parentNode(u)}nextSibling(u){return this.delegate.nextSibling(u)}setAttribute(u,e,i,n){this.delegate.setAttribute(u,e,i,n)}removeAttribute(u,e,i){this.delegate.removeAttribute(u,e,i)}addClass(u,e){this.delegate.addClass(u,e)}removeClass(u,e){this.delegate.removeClass(u,e)}setStyle(u,e,i,n){this.delegate.setStyle(u,e,i,n)}removeStyle(u,e,i){this.delegate.removeStyle(u,e,i)}setProperty(u,e,i){e.charAt(0)==rl&&e==xf?this.disableAnimations(u,!!i):this.delegate.setProperty(u,e,i)}setValue(u,e){this.delegate.setValue(u,e)}listen(u,e,i){return this.delegate.listen(u,e,i)}disableAnimations(u,e){this.engine.disableAnimations(u,e)}},znu=class extends wf{constructor(u,e,i,n,o){super(e,i,n,o),this.factory=u,this.namespaceId=e}setProperty(u,e,i){e.charAt(0)==rl?e.charAt(1)=="."&&e==xf?(i=i===void 0?!0:!!i,this.disableAnimations(u,i)):this.engine.process(this.namespaceId,u,e.slice(1),i):this.delegate.setProperty(u,e,i)}listen(u,e,i){if(e.charAt(0)==rl){let n=Unu(u),o=e.slice(1),f="";return o.charAt(0)!=rl&&([o,f]=Hnu(o)),this.engine.listen(this.namespaceId,n,o,f,l=>{let h=l._data||-1;this.factory.scheduleListenerCallback(h,i,l)})}return this.delegate.listen(u,e,i)}};function Unu(u){switch(u){case"body":return document.body;case"document":return document;case"window":return window;default:return u}}function Hnu(u){let e=u.indexOf("."),i=u.substring(0,e),n=u.slice(e+1);return[i,n]}var Gnu=class{constructor(u,e,i){this.delegate=u,this.engine=e,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,e.onRemovalComplete=(n,o)=>{let f=o==null?void 0:o.parentNode(n);f&&o.removeChild(f,n)}}createRenderer(u,e){var h;let i="",n=this.delegate.createRenderer(u,e);if(!u||!((h=e==null?void 0:e.data)!=null&&h.animation)){let t=this._rendererCache,c=t.get(n);if(!c){let a=()=>t.delete(n);c=new wf(i,n,this.engine,a),t.set(n,c)}return c}let o=e.id,f=e.id+"-"+this._currentId;this._currentId++,this.engine.register(f,u);let l=t=>{Array.isArray(t)?t.forEach(l):this.engine.registerTrigger(o,f,u,t.name,t)};return e.data.animation.forEach(l),new znu(this,f,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(u,e,i){if(u>=0&&u<this._microtaskId){this._zone.run(()=>e(i));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(o=>{let[f,l]=o;f(l)}),this._animationCallbacksBuffer=[]})}),n.push([e,i])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}},qnu=(()=>{const e=class e extends a1{constructor(n,o,f){super(n,o,f,ht(Yd,{optional:!0}))}ngOnDestroy(){this.flush()}};e.ɵfac=function(n){return new(n||e)(Le(mn),Le(df),Le(O6))},e.ɵprov=ft({token:e,factory:e.ɵfac});let u=e;return u})();function Wnu(){return new Ktu}function Xnu(u,e,i){return new Gnu(u,e,i)}var Ynu=[{provide:O6,useFactory:Wnu},{provide:a1,useClass:qnu},{provide:l6,useFactory:Xnu,deps:[X5,a1,Sn]}],Znu=[{provide:df,useFactory:()=>new Vnu},{provide:Mo,useValue:"BrowserAnimations"},...Ynu];function j6(){return Ys("NgEagerAnimations"),[...Znu]}var Knu=Ol(Lq(),1),Jnu=new xt("MESSAGE_FORMAT_CONFIG"),Qnu={biDiSupport:!1,formatters:{},strictNumberSign:!1,currency:"USD",strictPluralKeys:!0,throwOnError:!1,fallbackPrefix:void 0},V6=(()=>{const e=class e extends fa{constructor(n){super(),this.mfCache=new Map;let{formatters:o,biDiSupport:f,strictNumberSign:l,currency:h,strictPluralKeys:t,throwOnError:c,fallbackPrefix:a}=jt(jt({},Qnu),n);this.messageFormatOptions={customFormatters:o,biDiSupport:f,strict:l,currency:h,strictPluralKeys:t},this.throwOnError=!!c,this.fallbackPrefix=a}compile(n,o){if(this.fallbackPrefix&&n.startsWith(this.fallbackPrefix))return n.slice(this.fallbackPrefix.length);let f;try{f=this.getMessageFormatInstance(o).compile(n)}catch(l){if(this.throwOnError)throw l;console.error(l),console.error(`[ngx-translate-messageformat-compiler] Could not compile message for lang '${o}': '${n}'`),f=uru(n,o)}return this.throwOnError||(f=$nu(f,n)),f}compileTranslations(n,o){return typeof n=="string"?this.compile(n,o):Object.keys(n).reduce((f,l)=>{let h=n[l];return f[l]=this.compileTranslations(h,o),f},{})}getMessageFormatInstance(n){return this.mfCache.has(n)||this.mfCache.set(n,new Knu.default(n,this.messageFormatOptions)),this.mfCache.get(n)}};e.ɵfac=function(n){return new(n||e)(Le(Jnu,8))},e.ɵprov=ft({token:e,factory:e.ɵfac});let u=e;return u})();function $nu(u,e){return i=>{let n=e;try{n=u(i)}catch(o){console.error(o),console.error(`[ngx-translate-messageformat-compiler] Could not interpolate '${e}' with params '${i}'`)}return n}}function uru(u,e){return()=>(console.warn(`[ngx-translate-messageformat-compiler] Falling back to original invalid message: '${u}' ('${e}')`),String(u))}var _f={};it(_f,{"00001":()=>Sf,"00002":()=>kf,"00003":()=>Pf,"00004":()=>If,"00005":()=>Tf,"00006":()=>Of,"00007":()=>Nf,"00008":()=>Rf,"00009":()=>Mf,"00010":()=>Lf,"00011":()=>jf,"00012":()=>Vf,"00013":()=>zf,"00014":()=>Uf,"00015":()=>Hf,"00016":()=>Gf,"00017":()=>qf,"00018":()=>Wf,"00019":()=>Xf,"00020":()=>Yf,"00021":()=>Zf,"00022":()=>Kf,"00023":()=>Jf,"00024":()=>Qf,"00025":()=>$f,"00026":()=>u3,"00027":()=>e3,"00028":()=>t3,"00029":()=>n3,"00030":()=>r3,ampoule:()=>k3,bandage:()=>b3,bottle:()=>P3,box:()=>w3,cm:()=>i3,default:()=>eru,dropsperminute:()=>a3,"effervescent-tablet":()=>v3,gm:()=>o3,internationalunits:()=>s3,iu:()=>m3,liter:()=>_3,"mck/h":()=>l3,"mck/kg/minute":()=>c3,measure:()=>h3,meq:()=>g3,mg:()=>F3,"mg/h":()=>d3,"mg/ml":()=>A3,micrograms:()=>y3,miu:()=>D3,"ml/h":()=>f3,mmol:()=>B3,piece:()=>x3,syringe:()=>S3,"syringe-ampoule":()=>I3,tbl:()=>p3,tsp:()=>E3,"unt/h":()=>C3});var Sf="{count, plural, one{kaffeelöffel (5 ml)} other{kaffeelöffellen (5 ml)}}",kf="{count, plural, one{Ampulle} other{Ampullen}}",Pf="anwenden",If="{count, plural, one{Kapsel} other{Kapseln}}",Tf="{count, plural, one{Tablette} other{Tabletten}}",Of="Dosis",Nf="{count, plural, one{Tropf} other{Tropfen}}",Rf="{count, plural, one{Fläsche} other{Fläschchen}}",Mf="{count, plural, one{Implantat} other{Implantate}}",Lf="{count, plural, one{Infusion} other{Infusionen}}",jf="{count, plural, one{Inhalation} other{Inhalationen}}",Vf="Einstechen",zf="Kaugummi",Uf="{count, plural, one{Kompresse} other{Kompressen}}",Hf="{count, plural, one{Einlauf} other{Einläufe}}",Gf="ml",qf="Ov.",Wf="{count, plural, one{Perle} other{Perlen}}",Xf="{count, plural, one{Pastille} other{Pastillen}}",Yf="Pflaster",Zf="cart",Kf="Pen",Jf="{count, plural, one{Puff} other{Puffs}}",Qf="{count, plural, one{Schwamm} other{Schwämme}}",$f="{count, plural, one{Stift} other{Stifte}}",u3="Suppo",e3="Tube",t3="{count, plural, one{Docht} other{Dochte}}",n3="Beutel",r3="Beutel",i3="Zentimeter",a3="{count, plural, one{Tropf pro Minute} other{Tropfen pro Minute}}",o3="Gramm",s3="{count, plural, one{Internationale Einheit} other{Internationale Einheiten}}",l3="Mikrogramm pro Stunde",c3="Mikrogramm pro Kilogramm pro Minute",h3="Maß",d3="Miligramm pro Stunde",f3="Milliliter pro Stunde",p3="Esslöffel",E3="Kaffeelöffel",C3="{count, plural, one{Einheit pro Stunde} other{Einheiten pro Stunde}}",F3="Milligramm",A3="Milligramm pro Millimeter",g3="meq",D3="miu",m3="iu",B3="mmol",v3="effervescent-tablet",y3="micrograms",b3="{count, plural, one{bandage} other{bandagen}}",x3="{count, plural, one{stück} other{stücke}}",w3="schachteln",_3="liter",S3="{count, plural, one{spritze} other{spritzen}}",k3="{count, plural, one{glühbirn} other{glühbirnen}}",P3="{count, plural, one{Fläsche} other{Fläschchen}}",I3="{count, plural, one{spritze-ampulle} other{spritzen-ampulle}}",eru={"00001":Sf,"00002":kf,"00003":Pf,"00004":If,"00005":Tf,"00006":Of,"00007":Nf,"00008":Rf,"00009":Mf,"00010":Lf,"00011":jf,"00012":Vf,"00013":zf,"00014":Uf,"00015":Hf,"00016":Gf,"00017":qf,"00018":Wf,"00019":Xf,"00020":Yf,"00021":Zf,"00022":Kf,"00023":Jf,"00024":Qf,"00025":$f,"00026":u3,"00027":e3,"00028":t3,"00029":n3,"00030":r3,cm:i3,dropsperminute:a3,gm:o3,internationalunits:s3,"mck/h":l3,"mck/kg/minute":c3,measure:h3,"mg/h":d3,"ml/h":f3,tbl:p3,tsp:E3,"unt/h":C3,mg:F3,"mg/ml":A3,meq:g3,miu:D3,iu:m3,mmol:B3,"effervescent-tablet":v3,micrograms:y3,bandage:b3,piece:x3,box:w3,liter:_3,syringe:S3,ampoule:k3,bottle:P3,"syringe-ampoule":I3},T3={};it(T3,{"00001":()=>O3,"00002":()=>N3,"00003":()=>R3,"00004":()=>M3,"00005":()=>L3,"00006":()=>j3,"00007":()=>V3,"00008":()=>z3,"00009":()=>U3,"00010":()=>H3,"00011":()=>G3,"00012":()=>q3,"00013":()=>W3,"00014":()=>X3,"00015":()=>Y3,"00016":()=>Z3,"00017":()=>K3,"00018":()=>J3,"00019":()=>Q3,"00020":()=>$3,"00021":()=>up,"00022":()=>ep,"00023":()=>tp,"00024":()=>np,"00025":()=>rp,"00026":()=>ip,"00027":()=>ap,"00028":()=>op,"00029":()=>sp,"00030":()=>lp,ampoule:()=>Np,bandage:()=>kp,bottle:()=>Rp,box:()=>Ip,cm:()=>cp,default:()=>tru,dropsperminute:()=>hp,"effervescent-tablet":()=>_p,gm:()=>dp,internationalunits:()=>fp,iu:()=>xp,liter:()=>Tp,"mck/h":()=>pp,"mck/kg/minute":()=>Ep,measure:()=>Cp,meq:()=>yp,mg:()=>Bp,"mg/h":()=>Fp,"mg/ml":()=>vp,micrograms:()=>Sp,miu:()=>bp,"ml/h":()=>Ap,mmol:()=>wp,piece:()=>Pp,syringe:()=>Op,"syringe-ampoule":()=>Mp,tbl:()=>gp,tsp:()=>Dp,"unt/h":()=>mp});var O3="{count, plural, one{Teaspoon (5 ml)} other{Teaspoons (5 ml)}}",N3="{count, plural, one{ampoule} other{ampoules}}",R3="applic.",M3="{count, plural, one{capsule} other{capsules}}",L3="{count, plural, one{tablet} other{tablets}}",j3="{count, plural, one{dose} other{doses}}",V3="{count, plural, one{drop} other{drops}}",z3="{count, plural, one{bottle} other{bottles}}",U3="{count, plural, one{implant} other{implants}}",H3="{count, plural, one{perfusion} other{perfusions}}",G3="{count, plural, one{inhalation} other{inhalations}}",q3="insert",W3="{count, plural, one{chewing gum} other{chewing gums}}",X3="{count, plural, one{compress} other{compresses}}",Y3="enema",Z3="ml",K3="{count, plural, one{ovule} other{ovules}}",J3="{count, plural, one{pearl} other{pearls}}",Q3="{count, plural, one{pastille} other{pastilles}}",$3="{count, plural, one{patch} other{patches}}",up="{count, plural, one{cartridge} other{cartridges}}",ep="{count, plural, one{pen} other{pens}}",tp="{count, plural, one{puff} other{puffs}}",np="{count, plural, one{sponge} other{sponges}}",rp="{count, plural, one{stylo} other{stylos}}",ip="{count, plural, one{supository} other{supositories}}",ap="{count, plural, one{tube} other{tubes}}",op="{count, plural, one{wick} other{wicks}}",sp="{count, plural, one{bag} other{bags}}",lp="{count, plural, one{small bag} other{small bags}}",cp="centimeter",hp="{count, plural, one{drop per minute} other{drops per minute}}",dp="gram",fp="international units",pp="microgram per hour",Ep="microgram per kilogram per minute",Cp="{count, plural, one{measure} other{measures}}",Fp="milligram per hour",Ap="milliliter per hour",gp="{count, plural, one{tablespoon} other{tablespoons}}",Dp="{count, plural, one{teaspoon} other{teaspoons}}",mp="{count, plural, one{unit per hour} other{units per hour}}",Bp="milligram",vp="milligram per milliliter",yp="milli-equivalent",bp="miu",xp="international units",wp="millimole",_p="{count, plural, one{effervescent tablet} other{effervescent tablets}}",Sp="microgram",kp="{count, plural, one{bandage} other{bandages}}",Pp="{count, plural, one{piece} other{pieces}}",Ip="{count, plural, one{spray} other{sprays}}",Tp="liter",Op="{count, plural, one{syringe} other{syringes}}",Np="{count, plural, one{ampoule} other{ampoules}}",Rp="{count, plural, one{bottle} other{bottles}}",Mp="{count, plural, one{syringe ampoule} other{syringe ampoules}}",tru={"00001":O3,"00002":N3,"00003":R3,"00004":M3,"00005":L3,"00006":j3,"00007":V3,"00008":z3,"00009":U3,"00010":H3,"00011":G3,"00012":q3,"00013":W3,"00014":X3,"00015":Y3,"00016":Z3,"00017":K3,"00018":J3,"00019":Q3,"00020":$3,"00021":up,"00022":ep,"00023":tp,"00024":np,"00025":rp,"00026":ip,"00027":ap,"00028":op,"00029":sp,"00030":lp,cm:cp,dropsperminute:hp,gm:dp,internationalunits:fp,"mck/h":pp,"mck/kg/minute":Ep,measure:Cp,"mg/h":Fp,"ml/h":Ap,tbl:gp,tsp:Dp,"unt/h":mp,mg:Bp,"mg/ml":vp,meq:yp,miu:bp,iu:xp,mmol:wp,"effervescent-tablet":_p,micrograms:Sp,bandage:kp,piece:Pp,box:Ip,liter:Tp,syringe:Op,ampoule:Np,bottle:Rp,"syringe-ampoule":Mp},Lp={};it(Lp,{"00001":()=>jp,"00002":()=>Vp,"00003":()=>zp,"00004":()=>Up,"00005":()=>Hp,"00006":()=>Gp,"00007":()=>qp,"00008":()=>Wp,"00009":()=>Xp,"00010":()=>Yp,"00011":()=>Zp,"00012":()=>Kp,"00013":()=>Jp,"00014":()=>Qp,"00015":()=>$p,"00016":()=>uE,"00017":()=>eE,"00018":()=>tE,"00019":()=>nE,"00020":()=>rE,"00021":()=>iE,"00022":()=>aE,"00023":()=>oE,"00024":()=>sE,"00025":()=>lE,"00026":()=>cE,"00027":()=>hE,"00028":()=>dE,"00029":()=>fE,"00030":()=>pE,ampoule:()=>VE,bandage:()=>NE,bottle:()=>zE,box:()=>ME,cm:()=>EE,default:()=>nru,dropsperminute:()=>CE,"effervescent-tablet":()=>TE,gm:()=>FE,internationalunits:()=>AE,iu:()=>PE,liter:()=>LE,"mck/h":()=>gE,"mck/kg/minute":()=>DE,measure:()=>mE,meq:()=>SE,mg:()=>wE,"mg/h":()=>BE,"mg/ml":()=>_E,micrograms:()=>OE,miu:()=>kE,"ml/h":()=>vE,mmol:()=>IE,piece:()=>RE,syringe:()=>jE,"syringe-ampoule":()=>UE,tbl:()=>yE,tsp:()=>bE,"unt/h":()=>xE});var jp="{count, plural, one{cuillère à café (5 ml)} other{cuillères à café (5 ml)}}",Vp="amp.",zp="applic.",Up="caps.",Hp="compr.",Gp="{count, plural, one{dose} other{doses}}",qp="{count, plural, one{goutte} other{gouttes}}",Wp="flac.",Xp="{count, plural, one{implant} other{implants}}",Yp="{count, plural, one{perfusion} other{perfusions}}",Zp="{count, plural, one{inhalation} other{inhalations}}",Kp="insert",Jp="{count, plural, one{gomme à mâcher} other{gommes à mâcher}}",Qp="{count, plural, one{compres(se)} other{compres(ses)}}",$p="{count, plural, one{lavement} other{lavements}}",uE="ml",eE="ov.",tE="{count, plural, one{perle} other{perles}}",nE="{count, plural, one{pastille} other{pastilles}}",rE="{count, plural, one{patch} other{patchs}}",iE="patr.",aE="{count, plural, one{stylo} other{stylos}}",oE="{count, plural, one{puff} other{puffs}}",sE="{count, plural, one{éponge} other{éponges}}",lE="{count, plural, one{stylo} other{stylos}}",cE="suppo",hE="{count, plural, one{tube} other{tubes}}",dE="{count, plural, one{mèche} other{mèches}}",fE="{count, plural, one{sac} other{sacs}}",pE="{count, plural, one{sachet} other{sachets}}",EE="{count, plural, one{centimètre} other{centimètres}}",CE="{count, plural, one{goute par minute} other{goutes par minute}}",FE="{count, plural, one{gramme} other{grammes}}",AE="{count, plural, one{unité internationales} other{unités internationales}}",gE="{count, plural, one{microgramme par heure} other{microgrammes par heure}}",DE="{count, plural, one{microgramme par kilogramme par minute} other{microgrammes par kilogramme par minute}}",mE="{count, plural, one{mesure} other{mesures}}",BE="{count, plural, one{milligramme par heure} other{milligrammes par heure}}",vE="{count, plural, one{millilitre par heure} other{millilitres par heure}}",yE="{count, plural, one{cuillère à soupe} other{cuillères à soupe}}",bE="{count, plural, one{cuillère à café} other{cuillères à café}}",xE="{count, plural, one{unité par heure} other{unités par heure}}",wE="{count, plural, one{miligramme} other{miligrammes}}",_E="{count, plural, one{milligramme par millimètre} other{milligrammes par millimètre}}",SE="milli-équivalent",kE="miu",PE="{count, plural, one{unité internationales} other{unités internationales}}",IE="millimol",TE="{count, plural, one{comprimé effervescent} other{comprimés effervescents}}",OE="{count, plural, one{microgramme} other{microgrammes}}",NE="{count, plural, one{bandage} other{bandages}}",RE="{count, plural, one{pièce} other{pièces}}",ME="{count, plural, one{vaporisateur} other{vaporisateurs}}",LE="{count, plural, one{litre} other{litres}}",jE="{count, plural, one{seringue} other{seringues}}",VE="{count, plural, one{ampoule} other{ampoules}}",zE="{count, plural, one{fiole} other{fioles}}",UE="{count, plural, one{ampoule de seringue} other{ampoules de seringue}}",nru={"00001":jp,"00002":Vp,"00003":zp,"00004":Up,"00005":Hp,"00006":Gp,"00007":qp,"00008":Wp,"00009":Xp,"00010":Yp,"00011":Zp,"00012":Kp,"00013":Jp,"00014":Qp,"00015":$p,"00016":uE,"00017":eE,"00018":tE,"00019":nE,"00020":rE,"00021":iE,"00022":aE,"00023":oE,"00024":sE,"00025":lE,"00026":cE,"00027":hE,"00028":dE,"00029":fE,"00030":pE,cm:EE,dropsperminute:CE,gm:FE,internationalunits:AE,"mck/h":gE,"mck/kg/minute":DE,measure:mE,"mg/h":BE,"ml/h":vE,tbl:yE,tsp:bE,"unt/h":xE,mg:wE,"mg/ml":_E,meq:SE,miu:kE,iu:PE,mmol:IE,"effervescent-tablet":TE,micrograms:OE,bandage:NE,piece:RE,box:ME,liter:LE,syringe:jE,ampoule:VE,bottle:zE,"syringe-ampoule":UE},HE={};it(HE,{"00001":()=>GE,"00002":()=>qE,"00003":()=>WE,"00004":()=>XE,"00005":()=>YE,"00006":()=>ZE,"00007":()=>KE,"00008":()=>JE,"00009":()=>QE,"00010":()=>$E,"00011":()=>uC,"00012":()=>eC,"00013":()=>tC,"00014":()=>nC,"00015":()=>rC,"00016":()=>iC,"00017":()=>aC,"00018":()=>oC,"00019":()=>sC,"00020":()=>lC,"00021":()=>cC,"00022":()=>hC,"00023":()=>dC,"00024":()=>fC,"00025":()=>pC,"00026":()=>EC,"00027":()=>CC,"00028":()=>FC,"00029":()=>AC,"00030":()=>gC,ampoule:()=>qC,bandage:()=>VC,bottle:()=>WC,box:()=>UC,cm:()=>DC,default:()=>rru,dropsperminute:()=>mC,"effervescent-tablet":()=>LC,gm:()=>BC,internationalunits:()=>vC,iu:()=>RC,liter:()=>HC,"mck/h":()=>yC,"mck/kg/minute":()=>bC,measure:()=>xC,meq:()=>OC,mg:()=>IC,"mg/h":()=>wC,"mg/ml":()=>TC,micrograms:()=>jC,miu:()=>NC,"ml/h":()=>_C,mmol:()=>MC,piece:()=>zC,syringe:()=>GC,"syringe-ampoule":()=>XC,tbl:()=>SC,tsp:()=>kC,"unt/h":()=>PC});var GE="{count, plural, one{Koffielepel (5 ml)} other{Koffielepels (5 ml)}}",qE="{count, plural, one{ampule} other{ampullen}}",WE="aanbrengen",XE="{count, plural, one{capsule} other{capsules}}",YE="{count, plural, one{tablet} other{tabletten}}",ZE="{count, plural, one{dose} other{dosissen}}",KE="{count, plural, one{druppel} other{druppels}}",JE="{count, plural, one{flesje} other{flesjes}}",QE="{count, plural, one{implantaat} other{implantaten}}",$E="{count, plural, one{infuus} other{infusen}}",uC="{count, plural, one{inhalatie} other{inhalaties}}",eC="inbrengen",tC="{count, plural, one{kauwgom} other{kauwgommen}}",nC="{count, plural, one{kompres} other{kompressen}}",rC="lavement",iC="ml",aC="{count, plural, one{ovule} other{ovules}}",oC="{count, plural, one{parel} other{parels}}",sC="{count, plural, one{pastille} other{pastilles}}",lC="{count, plural, one{pleister} other{pleisters}}",cC="{count, plural, one{patroon} other{patronen}}",hC="{count, plural, one{pen} other{pennen}}",dC="{count, plural, one{puff} other{puffs}}",fC="{count, plural, one{spons} other{sponsen}}",pC="{count, plural, one{stylo} other{stylos}}",EC="{count, plural, one{zetpil} other{zetpillen}}",CC="{count, plural, one{tube} other{tubes}}",FC="{count, plural, one{wiek} other{wieken}}",AC="{count, plural, one{zak} other{zakken}}",gC="{count, plural, one{zakje} other{zakjes}}",DC="centimeter",mC="{count, plural, one{druppel per minuut} other{druppels per minuut}}",BC="gram",vC="internationale eenheden",yC="microgram per uur",bC="microgram per kilogram per minuut",xC="{count, plural, one{maat} other{maten}}",wC="milligram per uur",_C="milliliter per uur",SC="{count, plural, one{eetlepel} other{eetlepels}}",kC="{count, plural, one{koffielepel} other{koffielepels}}",PC="{count, plural, one{eenheid per uur} other{eenheden per uur}}",IC="miligram",TC="miligram per milimeter",OC="milli-equivalent",NC="miu",RC="internationale eenheden",MC="millimol",LC="{count, plural, one{bruistablet} other{bruistabletten}}",jC="microgram",VC="{count, plural, one{verband} other{verbanden}}",zC="{count, plural, one{stuk} other{stuks}}",UC="{count, plural, one{verstuiving} other{verstuivingen}}",HC="liter",GC="{count, plural, one{spuit} other{spuiten}}",qC="{count, plural, one{ampul} other{ampullen}}",WC="{count, plural, one{fles} other{flessen}}",XC="{count, plural, one{spuitampul} other{spuitampullen}}",rru={"00001":GE,"00002":qE,"00003":WE,"00004":XE,"00005":YE,"00006":ZE,"00007":KE,"00008":JE,"00009":QE,"00010":$E,"00011":uC,"00012":eC,"00013":tC,"00014":nC,"00015":rC,"00016":iC,"00017":aC,"00018":oC,"00019":sC,"00020":lC,"00021":cC,"00022":hC,"00023":dC,"00024":fC,"00025":pC,"00026":EC,"00027":CC,"00028":FC,"00029":AC,"00030":gC,cm:DC,dropsperminute:mC,gm:BC,internationalunits:vC,"mck/h":yC,"mck/kg/minute":bC,measure:xC,"mg/h":wC,"ml/h":_C,tbl:SC,tsp:kC,"unt/h":PC,mg:IC,"mg/ml":TC,meq:OC,miu:NC,iu:RC,mmol:MC,"effervescent-tablet":LC,micrograms:jC,bandage:VC,piece:zC,box:UC,liter:HC,syringe:GC,ampoule:qC,bottle:WC,"syringe-ampoule":XC},YC={nl:HE,fr:Lp,de:_f,en:T3},ZC={};it(ZC,{default:()=>iru,friday:()=>uF,monday:()=>KC,saturday:()=>eF,sunday:()=>tF,thursday:()=>$C,tuesday:()=>JC,wednesday:()=>QC});var KC="Montag",JC="Dienstag",QC="Mittwoch",$C="Donnerstag",uF="Freitag",eF="Samstag",tF="Sonntag",iru={monday:KC,tuesday:JC,wednesday:QC,thursday:$C,friday:uF,saturday:eF,sunday:tF},nF={};it(nF,{default:()=>aru,friday:()=>sF,monday:()=>rF,saturday:()=>lF,sunday:()=>cF,thursday:()=>oF,tuesday:()=>iF,wednesday:()=>aF});var rF="Monday",iF="Tuesday",aF="Wednesday",oF="Thursday",sF="Friday",lF="Saturday",cF="Sunday",aru={monday:rF,tuesday:iF,wednesday:aF,thursday:oF,friday:sF,saturday:lF,sunday:cF},hF={};it(hF,{default:()=>oru,friday:()=>CF,monday:()=>dF,saturday:()=>FF,sunday:()=>AF,thursday:()=>EF,tuesday:()=>fF,wednesday:()=>pF});var dF="Lundi",fF="Mardi",pF="Mercredi",EF="Jeudi",CF="Vendredi",FF="Samedi",AF="Dimanche",oru={monday:dF,tuesday:fF,wednesday:pF,thursday:EF,friday:CF,saturday:FF,sunday:AF},gF={};it(gF,{default:()=>sru,friday:()=>yF,monday:()=>DF,saturday:()=>bF,sunday:()=>xF,thursday:()=>vF,tuesday:()=>mF,wednesday:()=>BF});var DF="Maandag",mF="Dinsdag",BF="Woensdag",vF="Donderdag",yF="Vrijdag",bF="Zaterdag",xF="Zondag",sru={monday:DF,tuesday:mF,wednesday:BF,thursday:vF,friday:yF,saturday:bF,sunday:xF},wF={nl:gF,fr:hF,de:ZC,en:nF},_F={};it(_F,{VIDIS_0035:()=>SF,VIDIS_0050:()=>kF,VIDIS_0090:()=>PF,VIDIS_0100:()=>IF,VIDIS_0110:()=>TF,VIDIS_0120:()=>OF,VIDIS_0121:()=>NF,VIDIS_0122:()=>RF,VIDIS_0123:()=>MF,VIDIS_0124:()=>LF,VIDIS_0125:()=>jF,VIDIS_0126:()=>VF,VIDIS_0190:()=>zF,VIDIS_0200:()=>UF,VIDIS_0210:()=>HF,VIDIS_0211:()=>GF,VIDIS_0230:()=>qF,VIDIS_0290:()=>WF,VIDIS_0330:()=>XF,VIDIS_0340:()=>YF,VIDIS_0341:()=>ZF,VIDIS_0400:()=>KF,VIDIS_0435:()=>JF,VIDIS_0440:()=>QF,VIDIS_5000:()=>$F,VIDIS_7000:()=>uA,default:()=>lru,general:()=>tA,invalid_date_format:()=>oA,myHealth:()=>rA,myHealthUrl:()=>iA,network_error:()=>aA,"no-access":()=>nA,prescriptionList:()=>eA,"status-message-content":()=>lA,"status-message-title":()=>sA});var SF="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0035)",kF="Die Patienten-INSS fehlt. (VIDIS_0050)",PF="Die angegebenen persönlichen Daten wurden nicht erkannt. (VIDIS_0090)",IF="Der Benutzer ist für diesen Vorgang nicht autorisiert. (VIDIS_0100)",TF="Der Patient hat keine informierte Einwilligung für den Austausch von Gesundheitsdaten erteilt. (VIDIS_0110)",OF="Es besteht keine therapeutische Beziehung zwischen der Bezugsperson und dem Patienten. (VIDIS_0120)",NF="Die Einsichtnahme in die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",RF="Die Einsichtnahme in die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",MF="Die Einsichtnahme in die Daten eines Brüsseler Kinder von einem Elternteil ist derzeit nicht erlaubt.",LF="Die Einsichtnahme in die Daten eines wallonischen Kinder von einem Elternteil ist derzeit nicht erlaubt.",jF="Die Einsichtnahme in die Daten eines Brüsseler Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",VF="Die Einsichtnahme in die Daten eines wallonischen Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",zF="Ungültige INSS-Patientennummer. (VIDIS_0190)",UF="Der Benutzer darf die Bearbeitung nicht vornehmen, da Antragsteller und Patient sich ausschließen. (VIDIS_0200)",HF="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0210)",GF="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0211)",qF="Der Vorgang ist ungültig (VIDIS_0230)",WF='Die Benutzerrolle muss "Bürger" sein. (VIDIS_0290)',XF="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)",YF="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. (VIDIS_0340)",ZF="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. (VIDIS_0341)",KF="Ihre Anfrage ist ungültig. Bitte versuchen Sie es später nochmal. (VIDIS_0400)",JF="Die Speicherregion für den Medikamentenplan kann nicht bestimmt werden. (VIDIS_0435)",QF="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0440)",$F="Leider konnten wir Ihre Daten nicht abrufen. Versuchen Sie es bitte noch einmal? (VIDIS_5000)",uA="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_7000)",eA="Leider war es nicht möglich, die Details der Verschreibung abzurufen. Versuchen Sie es erneut?",tA="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",nA="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",rA="Zurück zum Portal Meine Gesundheit",iA="https://wwwint.meinegesundheit.belgien.be/#/",aA="Es ist leider ein Netzwerkfehler aufgetreten. Bitte wenden Sie sich an Ihren Netzwerkadministrator, wenn das Problem weiterhin besteht.",oA="Ungültiges Datumsformat.",sA="Dienst vorübergehend nicht verfügbar",lA=`Wir haben derzeit ein Problem mit der Verbindung zum Server.
259
+ `).forEach(i=>{let n=i.indexOf(":");if(n>0){let o=i.slice(0,n),f=o.toLowerCase(),l=i.slice(n+1).trim();this.maybeSetNormalizedName(o,f),this.headers.has(f)?this.headers.get(f).push(l):this.headers.set(f,[l])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((i,n)=>{this.setHeaderEntries(n,i)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([i,n])=>{this.setHeaderEntries(i,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let i=this.headers.get(e.toLowerCase());return i&&i.length>0?i[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,i){return this.clone({name:e,value:i,op:"a"})}set(e,i){return this.clone({name:e,value:i,op:"s"})}delete(e,i){return this.clone({name:e,value:i,op:"d"})}maybeSetNormalizedName(e,i){this.normalizedNames.has(i)||this.normalizedNames.set(i,e)}init(){this.lazyInit&&(this.lazyInit instanceof tl?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(i=>{this.headers.set(i,e.headers.get(i)),this.normalizedNames.set(i,e.normalizedNames.get(i))})}clone(e){let i=new tl;return i.lazyInit=this.lazyInit&&this.lazyInit instanceof tl?this.lazyInit:this,i.lazyUpdate=(this.lazyUpdate||[]).concat([e]),i}applyUpdate(e){let i=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,i);let o=(e.op==="a"?this.headers.get(i):void 0)||[];o.push(...n),this.headers.set(i,o);break;case"d":let f=e.value;if(!f)this.headers.delete(i),this.normalizedNames.delete(i);else{let l=this.headers.get(i);if(!l)return;l=l.filter(h=>f.indexOf(h)===-1),l.length===0?(this.headers.delete(i),this.normalizedNames.delete(i)):this.headers.set(i,l)}break}}setHeaderEntries(e,i){let n=(Array.isArray(i)?i:[i]).map(f=>f.toString()),o=e.toLowerCase();this.headers.set(o,n),this.maybeSetNormalizedName(e,o)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(i=>e(this.normalizedNames.get(i),this.headers.get(i)))}},Quu=class{encodeKey(u){return z8(u)}encodeValue(u){return z8(u)}decodeKey(u){return decodeURIComponent(u)}decodeValue(u){return decodeURIComponent(u)}};function $uu(u,e){let i=new Map;return u.length>0&&u.replace(/^\?/,"").split("&").forEach(n=>{let o=n.indexOf("="),[f,l]=o==-1?[e.decodeKey(n),""]:[e.decodeKey(n.slice(0,o)),e.decodeValue(n.slice(o+1))],h=i.get(f)||[];h.push(l),i.set(f,h)}),i}var ueu=/%(\d[a-f0-9])/gi,eeu={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function z8(u){return encodeURIComponent(u).replace(ueu,(e,i)=>eeu[i]??e)}function R0(u){return`${u}`}var po=class z4{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Quu,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=$uu(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(i=>{let n=e.fromObject[i],o=Array.isArray(n)?n.map(R0):[R0(n)];this.map.set(i,o)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let i=this.map.get(e);return i?i[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,i){return this.clone({param:e,value:i,op:"a"})}appendAll(e){let i=[];return Object.keys(e).forEach(n=>{let o=e[n];Array.isArray(o)?o.forEach(f=>{i.push({param:n,value:f,op:"a"})}):i.push({param:n,value:o,op:"a"})}),this.clone(i)}set(e,i){return this.clone({param:e,value:i,op:"s"})}delete(e,i){return this.clone({param:e,value:i,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let i=this.encoder.encodeKey(e);return this.map.get(e).map(n=>i+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let i=new z4({encoder:this.encoder});return i.cloneFrom=this.cloneFrom||this,i.updates=(this.updates||[]).concat(e),i}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let i=(e.op==="a"?this.map.get(e.param):void 0)||[];i.push(R0(e.value)),this.map.set(e.param,i);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],o=n.indexOf(R0(e.value));o!==-1&&n.splice(o,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}},teu=class{constructor(){this.map=new Map}set(u,e){return this.map.set(u,e),this}get(u){return this.map.has(u)||this.map.set(u,u.defaultValue()),this.map.get(u)}delete(u){return this.map.delete(u),this}has(u){return this.map.has(u)}keys(){return this.map.keys()}};function neu(u){switch(u){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function U8(u){return typeof ArrayBuffer<"u"&&u instanceof ArrayBuffer}function H8(u){return typeof Blob<"u"&&u instanceof Blob}function G8(u){return typeof FormData<"u"&&u instanceof FormData}function reu(u){return typeof URLSearchParams<"u"&&u instanceof URLSearchParams}var Zc=class U4{constructor(e,i,n,o){this.url=i,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let f;if(neu(this.method)||o?(this.body=n!==void 0?n:null,f=o):f=n,f&&(this.reportProgress=!!f.reportProgress,this.withCredentials=!!f.withCredentials,f.responseType&&(this.responseType=f.responseType),f.headers&&(this.headers=f.headers),f.context&&(this.context=f.context),f.params&&(this.params=f.params),this.transferCache=f.transferCache),this.headers??(this.headers=new So),this.context??(this.context=new teu),!this.params)this.params=new po,this.urlWithParams=i;else{let l=this.params.toString();if(l.length===0)this.urlWithParams=i;else{let h=i.indexOf("?"),t=h===-1?"?":h<i.length-1?"&":"";this.urlWithParams=i+t+l}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||U8(this.body)||H8(this.body)||G8(this.body)||reu(this.body)?this.body:this.body instanceof po?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||G8(this.body)?null:H8(this.body)?this.body.type||null:U8(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof po?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(e={}){let i=e.method||this.method,n=e.url||this.url,o=e.responseType||this.responseType,f=e.transferCache??this.transferCache,l=e.body!==void 0?e.body:this.body,h=e.withCredentials??this.withCredentials,t=e.reportProgress??this.reportProgress,c=e.headers||this.headers,a=e.params||this.params,s=e.context??this.context;return e.setHeaders!==void 0&&(c=Object.keys(e.setHeaders).reduce((d,p)=>d.set(p,e.setHeaders[p]),c)),e.setParams&&(a=Object.keys(e.setParams).reduce((d,p)=>d.set(p,e.setParams[p]),a)),new U4(i,n,l,{params:a,headers:c,context:s,reportProgress:t,responseType:o,withCredentials:h,transferCache:f})}},Eo=function(u){return u[u.Sent=0]="Sent",u[u.UploadProgress=1]="UploadProgress",u[u.ResponseHeader=2]="ResponseHeader",u[u.DownloadProgress=3]="DownloadProgress",u[u.Response=4]="Response",u[u.User=5]="User",u}(Eo||{}),B6=class{constructor(u,e=yl.Ok,i="OK"){this.headers=u.headers||new So,this.status=u.status!==void 0?u.status:e,this.statusText=u.statusText||i,this.url=u.url||null,this.ok=this.status>=200&&this.status<300}},ieu=class H4 extends B6{constructor(e={}){super(e),this.type=Eo.ResponseHeader}clone(e={}){return new H4({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},G4=class q4 extends B6{constructor(e={}){super(e),this.type=Eo.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new q4({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},q8=class extends B6{constructor(u){super(u,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${u.url||"(unknown url)"}`:this.message=`Http failure response for ${u.url||"(unknown url)"}: ${u.status} ${u.statusText}`,this.error=u.error||null}},yl=function(u){return u[u.Continue=100]="Continue",u[u.SwitchingProtocols=101]="SwitchingProtocols",u[u.Processing=102]="Processing",u[u.EarlyHints=103]="EarlyHints",u[u.Ok=200]="Ok",u[u.Created=201]="Created",u[u.Accepted=202]="Accepted",u[u.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",u[u.NoContent=204]="NoContent",u[u.ResetContent=205]="ResetContent",u[u.PartialContent=206]="PartialContent",u[u.MultiStatus=207]="MultiStatus",u[u.AlreadyReported=208]="AlreadyReported",u[u.ImUsed=226]="ImUsed",u[u.MultipleChoices=300]="MultipleChoices",u[u.MovedPermanently=301]="MovedPermanently",u[u.Found=302]="Found",u[u.SeeOther=303]="SeeOther",u[u.NotModified=304]="NotModified",u[u.UseProxy=305]="UseProxy",u[u.Unused=306]="Unused",u[u.TemporaryRedirect=307]="TemporaryRedirect",u[u.PermanentRedirect=308]="PermanentRedirect",u[u.BadRequest=400]="BadRequest",u[u.Unauthorized=401]="Unauthorized",u[u.PaymentRequired=402]="PaymentRequired",u[u.Forbidden=403]="Forbidden",u[u.NotFound=404]="NotFound",u[u.MethodNotAllowed=405]="MethodNotAllowed",u[u.NotAcceptable=406]="NotAcceptable",u[u.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",u[u.RequestTimeout=408]="RequestTimeout",u[u.Conflict=409]="Conflict",u[u.Gone=410]="Gone",u[u.LengthRequired=411]="LengthRequired",u[u.PreconditionFailed=412]="PreconditionFailed",u[u.PayloadTooLarge=413]="PayloadTooLarge",u[u.UriTooLong=414]="UriTooLong",u[u.UnsupportedMediaType=415]="UnsupportedMediaType",u[u.RangeNotSatisfiable=416]="RangeNotSatisfiable",u[u.ExpectationFailed=417]="ExpectationFailed",u[u.ImATeapot=418]="ImATeapot",u[u.MisdirectedRequest=421]="MisdirectedRequest",u[u.UnprocessableEntity=422]="UnprocessableEntity",u[u.Locked=423]="Locked",u[u.FailedDependency=424]="FailedDependency",u[u.TooEarly=425]="TooEarly",u[u.UpgradeRequired=426]="UpgradeRequired",u[u.PreconditionRequired=428]="PreconditionRequired",u[u.TooManyRequests=429]="TooManyRequests",u[u.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",u[u.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",u[u.InternalServerError=500]="InternalServerError",u[u.NotImplemented=501]="NotImplemented",u[u.BadGateway=502]="BadGateway",u[u.ServiceUnavailable=503]="ServiceUnavailable",u[u.GatewayTimeout=504]="GatewayTimeout",u[u.HttpVersionNotSupported=505]="HttpVersionNotSupported",u[u.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",u[u.InsufficientStorage=507]="InsufficientStorage",u[u.LoopDetected=508]="LoopDetected",u[u.NotExtended=510]="NotExtended",u[u.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",u}(yl||{});function Kc(u,e){return{body:e,headers:u.headers,context:u.context,observe:u.observe,params:u.params,reportProgress:u.reportProgress,responseType:u.responseType,withCredentials:u.withCredentials,transferCache:u.transferCache}}var ic=(()=>{const e=class e{constructor(n){this.handler=n}request(n,o,f={}){let l;if(n instanceof Zc)l=n;else{let c;f.headers instanceof So?c=f.headers:c=new So(f.headers);let a;f.params&&(f.params instanceof po?a=f.params:a=new po({fromObject:f.params})),l=new Zc(n,o,f.body!==void 0?f.body:null,{headers:c,context:f.context,params:a,reportProgress:f.reportProgress,responseType:f.responseType||"json",withCredentials:f.withCredentials,transferCache:f.transferCache})}let h=Kn(l).pipe(Th(c=>this.handler.handle(c)));if(n instanceof Zc||f.observe==="events")return h;let t=h.pipe(jl(c=>c instanceof G4));switch(f.observe||"body"){case"body":switch(l.responseType){case"arraybuffer":return t.pipe(cr(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return t.pipe(cr(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return t.pipe(cr(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return t.pipe(cr(c=>c.body))}case"response":return t;default:throw new Error(`Unreachable: unhandled observe type ${f.observe}}`)}}delete(n,o={}){return this.request("DELETE",n,o)}get(n,o={}){return this.request("GET",n,o)}head(n,o={}){return this.request("HEAD",n,o)}jsonp(n,o){return this.request("JSONP",n,{params:new po().append(o,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,o={}){return this.request("OPTIONS",n,o)}patch(n,o,f={}){return this.request("PATCH",n,Kc(f,o))}post(n,o,f={}){return this.request("POST",n,Kc(f,o))}put(n,o,f={}){return this.request("PUT",n,Kc(f,o))}};e.ɵfac=function(n){return new(n||e)(Le(m6))},e.ɵprov=ft({token:e,factory:e.ɵfac});let u=e;return u})();function aeu(u,e){return e(u)}function oeu(u,e,i){return(n,o)=>OY(i,()=>e(n,f=>u(f,o)))}var v6=new xt(""),seu=new xt(""),leu=new xt(""),W8=(()=>{const e=class e extends m6{constructor(n,o){super(),this.backend=n,this.injector=o,this.chain=null,this.pendingTasks=ht(p6);let f=ht(leu,{optional:!0});this.backend=f??n}handle(n){if(this.chain===null){let f=Array.from(new Set([...this.injector.get(v6),...this.injector.get(seu,[])]));this.chain=f.reduceRight((l,h)=>oeu(l,h,this.injector),aeu)}let o=this.pendingTasks.add();return this.chain(n,f=>this.backend.handle(f)).pipe(Oh(()=>this.pendingTasks.remove(o)))}};e.ɵfac=function(n){return new(n||e)(Le(V4),Le(Ma))},e.ɵprov=ft({token:e,factory:e.ɵfac});let u=e;return u})(),ceu=/^\)\]\}',?\n/;function heu(u){return"responseURL"in u&&u.responseURL?u.responseURL:/^X-Request-URL:/m.test(u.getAllResponseHeaders())?u.getResponseHeader("X-Request-URL"):null}var X8=(()=>{const e=class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new ct(-2800,!1);let o=this.xhrFactory;return(o.ɵloadImpl?Ha(o.ɵloadImpl()):Kn(null)).pipe(sl(()=>new Wn(f=>{let l=o.build();if(l.open(n.method,n.urlWithParams),n.withCredentials&&(l.withCredentials=!0),n.headers.forEach((C,A)=>l.setRequestHeader(C,A.join(","))),n.headers.has("Accept")||l.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let C=n.detectContentTypeHeader();C!==null&&l.setRequestHeader("Content-Type",C)}if(n.responseType){let C=n.responseType.toLowerCase();l.responseType=C!=="json"?C:"text"}let h=n.serializeBody(),t=null,c=()=>{if(t!==null)return t;let C=l.statusText||"OK",A=new So(l.getAllResponseHeaders()),F=heu(l)||n.url;return t=new ieu({headers:A,status:l.status,statusText:C,url:F}),t},a=()=>{let{headers:C,status:A,statusText:F,url:D}=c(),g=null;A!==yl.NoContent&&(g=typeof l.response>"u"?l.responseText:l.response),A===0&&(A=g?yl.Ok:0);let B=A>=200&&A<300;if(n.responseType==="json"&&typeof g=="string"){let r=g;g=g.replace(ceu,"");try{g=g!==""?JSON.parse(g):null}catch(m){g=r,B&&(B=!1,g={error:m,text:g})}}B?(f.next(new G4({body:g,headers:C,status:A,statusText:F,url:D||void 0})),f.complete()):f.error(new q8({error:g,headers:C,status:A,statusText:F,url:D||void 0}))},s=C=>{let{url:A}=c(),F=new q8({error:C,status:l.status||0,statusText:l.statusText||"Unknown Error",url:A||void 0});f.error(F)},d=!1,p=C=>{d||(f.next(c()),d=!0);let A={type:Eo.DownloadProgress,loaded:C.loaded};C.lengthComputable&&(A.total=C.total),n.responseType==="text"&&l.responseText&&(A.partialText=l.responseText),f.next(A)},E=C=>{let A={type:Eo.UploadProgress,loaded:C.loaded};C.lengthComputable&&(A.total=C.total),f.next(A)};return l.addEventListener("load",a),l.addEventListener("error",s),l.addEventListener("timeout",s),l.addEventListener("abort",s),n.reportProgress&&(l.addEventListener("progress",p),h!==null&&l.upload&&l.upload.addEventListener("progress",E)),l.send(h),f.next({type:Eo.Sent}),()=>{l.removeEventListener("error",s),l.removeEventListener("abort",s),l.removeEventListener("load",a),l.removeEventListener("timeout",s),n.reportProgress&&(l.removeEventListener("progress",p),h!==null&&l.upload&&l.upload.removeEventListener("progress",E)),l.readyState!==l.DONE&&l.abort()}})))}};e.ɵfac=function(n){return new(n||e)(Le(j4))},e.ɵprov=ft({token:e,factory:e.ɵfac});let u=e;return u})(),W4=new xt(""),deu="XSRF-TOKEN",feu=new xt("",{providedIn:"root",factory:()=>deu}),peu="X-XSRF-TOKEN",Eeu=new xt("",{providedIn:"root",factory:()=>peu}),X4=class{},Ceu=(()=>{const e=class e{constructor(n,o,f){this.doc=n,this.platform=o,this.cookieName=f,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=N4(n,this.cookieName),this.lastCookieString=n),this.lastToken}};e.ɵfac=function(n){return new(n||e)(Le(mn),Le(Ro),Le(feu))},e.ɵprov=ft({token:e,factory:e.ɵfac});let u=e;return u})();function Feu(u,e){let i=u.url.toLowerCase();if(!ht(W4)||u.method==="GET"||u.method==="HEAD"||i.startsWith("http://")||i.startsWith("https://"))return e(u);let n=ht(X4).getToken(),o=ht(Eeu);return n!=null&&!u.headers.has(o)&&(u=u.clone({headers:u.headers.set(o,n)})),e(u)}var Y4=function(u){return u[u.Interceptors=0]="Interceptors",u[u.LegacyInterceptors=1]="LegacyInterceptors",u[u.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",u[u.NoXsrfProtection=3]="NoXsrfProtection",u[u.JsonpSupport=4]="JsonpSupport",u[u.RequestsMadeViaParent=5]="RequestsMadeViaParent",u[u.Fetch=6]="Fetch",u}(Y4||{});function Aeu(u,e){return{ɵkind:u,ɵproviders:e}}function y6(...u){let e=[ic,X8,W8,{provide:m6,useExisting:W8},{provide:V4,useExisting:X8},{provide:v6,useValue:Feu,multi:!0},{provide:W4,useValue:!0},{provide:X4,useClass:Ceu}];for(let i of u)e.push(...i.ɵproviders);return S1(e)}function b6(u){return Aeu(Y4.Interceptors,u.map(e=>({provide:v6,useValue:e,multi:!0})))}var geu=class extends huu{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Deu=class Z4 extends geu{static makeCurrent(){cuu(new Z4)}onAndCancel(e,i,n){return e.addEventListener(i,n),()=>{e.removeEventListener(i,n)}}dispatchEvent(e,i){e.dispatchEvent(i)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,i){return i=i||this.getDefaultDocument(),i.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,i){return i==="window"?window:i==="document"?e:i==="body"?e.body:null}getBaseHref(e){let i=meu();return i==null?null:Beu(i)}resetBaseElement(){cs=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return N4(document.cookie,e)}},cs=null;function meu(){return cs=cs||document.querySelector("base"),cs?cs.getAttribute("href"):null}function Beu(u){return new URL(u,document.baseURI).pathname}var veu=(()=>{const e=class e{build(){return new XMLHttpRequest}};e.ɵfac=function(n){return new(n||e)},e.ɵprov=ft({token:e,factory:e.ɵfac});let u=e;return u})(),W5=new xt(""),K4=(()=>{const e=class e{constructor(n,o){this._zone=o,this._eventNameToPlugin=new Map,n.forEach(f=>{f.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,o,f){return this._findPluginFor(o).addEventListener(n,o,f)}getZone(){return this._zone}_findPluginFor(n){let o=this._eventNameToPlugin.get(n);if(o)return o;if(o=this._plugins.find(f=>f.supports(n)),!o)throw new ct(5101,!1);return this._eventNameToPlugin.set(n,o),o}};e.ɵfac=function(n){return new(n||e)(Le(W5),Le(Sn))},e.ɵprov=ft({token:e,factory:e.ɵfac});let u=e;return u})(),J4=class{constructor(u){this._doc=u}},Jc="ng-app-id",Q4=(()=>{const e=class e{constructor(n,o,f,l={}){this.doc=n,this.appId=o,this.nonce=f,this.platformId=l,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=L4(l),this.resetHostNodes()}addStyles(n){for(let o of n)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(n){for(let o of n)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(o=>o.remove()),n.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let o of this.getAllStyles())this.addStyleToHost(n,o)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let o of this.hostNodes)this.addStyleToHost(o,n)}onStyleRemoved(n){var f,l;let o=this.styleRef;(l=(f=o.get(n))==null?void 0:f.elements)==null||l.forEach(h=>h.remove()),o.delete(n)}collectServerRenderedStyles(){var o;let n=(o=this.doc.head)==null?void 0:o.querySelectorAll(`style[${Jc}="${this.appId}"]`);if(n!=null&&n.length){let f=new Map;return n.forEach(l=>{l.textContent!=null&&f.set(l.textContent,l)}),f}return null}changeUsageCount(n,o){let f=this.styleRef;if(f.has(n)){let l=f.get(n);return l.usage+=o,l.usage}return f.set(n,{usage:o,elements:[]}),o}getStyleElement(n,o){let f=this.styleNodesInDOM,l=f==null?void 0:f.get(o);if((l==null?void 0:l.parentNode)===n)return f.delete(o),l.removeAttribute(Jc),l;{let h=this.doc.createElement("style");return this.nonce&&h.setAttribute("nonce",this.nonce),h.textContent=o,this.platformIsServer&&h.setAttribute(Jc,this.appId),n.appendChild(h),h}}addStyleToHost(n,o){var t;let f=this.getStyleElement(n,o),l=this.styleRef,h=(t=l.get(o))==null?void 0:t.elements;h?h.push(f):l.set(o,{elements:[f],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.ɵfac=function(n){return new(n||e)(Le(mn),Le(ed),Le(Q1,8),Le(Ro))},e.ɵprov=ft({token:e,factory:e.ɵfac});let u=e;return u})(),Qc={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},x6=/%COMP%/g,$4="%COMP%",yeu=`_nghost-${$4}`,beu=`_ngcontent-${$4}`,xeu=!0,weu=new xt("",{providedIn:"root",factory:()=>xeu});function _eu(u){return beu.replace(x6,u)}function Seu(u){return yeu.replace(x6,u)}function uf(u,e){return e.map(i=>i.replace(x6,u))}var X5=(()=>{const e=class e{constructor(n,o,f,l,h,t,c,a=null){this.eventManager=n,this.sharedStylesHost=o,this.appId=f,this.removeStylesOnCompDestroy=l,this.doc=h,this.platformId=t,this.ngZone=c,this.nonce=a,this.rendererByCompId=new Map,this.platformIsServer=L4(t),this.defaultRenderer=new w6(n,h,c,this.platformIsServer)}createRenderer(n,o){if(!n||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===ji.ShadowDom&&(o=Wi(jt({},o),{encapsulation:ji.Emulated}));let f=this.getOrCreateRenderer(n,o);return f instanceof Z8?f.applyToHost(n):f instanceof Y5&&f.applyStyles(),f}getOrCreateRenderer(n,o){let f=this.rendererByCompId,l=f.get(o.id);if(!l){let h=this.doc,t=this.ngZone,c=this.eventManager,a=this.sharedStylesHost,s=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(o.encapsulation){case ji.Emulated:l=new Z8(c,a,o,this.appId,s,h,t,d);break;case ji.ShadowDom:return new keu(c,a,n,o,h,t,this.nonce,d);default:l=new Y5(c,a,o,s,h,t,d);break}f.set(o.id,l)}return l}ngOnDestroy(){this.rendererByCompId.clear()}};e.ɵfac=function(n){return new(n||e)(Le(K4),Le(Q4),Le(ed),Le(weu),Le(mn),Le(Ro),Le(Sn),Le(Q1))},e.ɵprov=ft({token:e,factory:e.ɵfac});let u=e;return u})(),w6=class{constructor(u,e,i,n){this.eventManager=u,this.doc=e,this.ngZone=i,this.platformIsServer=n,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(u,e){return e?this.doc.createElementNS(Qc[e]||e,u):this.doc.createElement(u)}createComment(u){return this.doc.createComment(u)}createText(u){return this.doc.createTextNode(u)}appendChild(u,e){(Y8(u)?u.content:u).appendChild(e)}insertBefore(u,e,i){u&&(Y8(u)?u.content:u).insertBefore(e,i)}removeChild(u,e){u&&u.removeChild(e)}selectRootElement(u,e){let i=typeof u=="string"?this.doc.querySelector(u):u;if(!i)throw new ct(-5104,!1);return e||(i.textContent=""),i}parentNode(u){return u.parentNode}nextSibling(u){return u.nextSibling}setAttribute(u,e,i,n){if(n){e=n+":"+e;let o=Qc[n];o?u.setAttributeNS(o,e,i):u.setAttribute(e,i)}else u.setAttribute(e,i)}removeAttribute(u,e,i){if(i){let n=Qc[i];n?u.removeAttributeNS(n,e):u.removeAttribute(`${i}:${e}`)}else u.removeAttribute(e)}addClass(u,e){u.classList.add(e)}removeClass(u,e){u.classList.remove(e)}setStyle(u,e,i,n){n&(ao.DashCase|ao.Important)?u.style.setProperty(e,i,n&ao.Important?"important":""):u.style[e]=i}removeStyle(u,e,i){i&ao.DashCase?u.style.removeProperty(e):u.style[e]=""}setProperty(u,e,i){u!=null&&(u[e]=i)}setValue(u,e){u.nodeValue=e}listen(u,e,i){if(typeof u=="string"&&(u=ps().getGlobalEventTarget(this.doc,u),!u))throw new Error(`Unsupported event target ${u} for event ${e}`);return this.eventManager.addEventListener(u,e,this.decoratePreventDefault(i))}decoratePreventDefault(u){return e=>{if(e==="__ngUnwrap__")return u;(this.platformIsServer?this.ngZone.runGuarded(()=>u(e)):u(e))===!1&&e.preventDefault()}}};function Y8(u){return u.tagName==="TEMPLATE"&&u.content!==void 0}var keu=class extends w6{constructor(u,e,i,n,o,f,l,h){super(u,o,f,h),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let t=uf(n.id,n.styles);for(let c of t){let a=document.createElement("style");l&&a.setAttribute("nonce",l),a.textContent=c,this.shadowRoot.appendChild(a)}}nodeOrShadowRoot(u){return u===this.hostEl?this.shadowRoot:u}appendChild(u,e){return super.appendChild(this.nodeOrShadowRoot(u),e)}insertBefore(u,e,i){return super.insertBefore(this.nodeOrShadowRoot(u),e,i)}removeChild(u,e){return super.removeChild(this.nodeOrShadowRoot(u),e)}parentNode(u){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(u)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Y5=class extends w6{constructor(u,e,i,n,o,f,l,h){super(u,o,f,l),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=n,this.styles=h?uf(h,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Z8=class extends Y5{constructor(u,e,i,n,o,f,l,h){let t=n+"-"+i.id;super(u,e,i,o,f,l,h,t),this.contentAttr=_eu(t),this.hostAttr=Seu(t)}applyToHost(u){this.applyStyles(),this.setAttribute(u,this.hostAttr,"")}createElement(u,e){let i=super.createElement(u,e);return super.setAttribute(i,this.contentAttr,""),i}},Peu=(()=>{const e=class e extends J4{constructor(n){super(n)}supports(n){return!0}addEventListener(n,o,f){return n.addEventListener(o,f,!1),()=>this.removeEventListener(n,o,f)}removeEventListener(n,o,f){return n.removeEventListener(o,f)}};e.ɵfac=function(n){return new(n||e)(Le(mn))},e.ɵprov=ft({token:e,factory:e.ɵfac});let u=e;return u})(),K8=["alt","control","meta","shift"],Ieu={"\b":"Backspace"," ":"Tab","":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Teu={alt:u=>u.altKey,control:u=>u.ctrlKey,meta:u=>u.metaKey,shift:u=>u.shiftKey},Oeu=(()=>{const e=class e extends J4{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,o,f){let l=e.parseEventName(o),h=e.eventCallback(l.fullKey,f,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ps().onAndCancel(n,l.domEventName,h))}static parseEventName(n){let o=n.toLowerCase().split("."),f=o.shift();if(o.length===0||!(f==="keydown"||f==="keyup"))return null;let l=e._normalizeKey(o.pop()),h="",t=o.indexOf("code");if(t>-1&&(o.splice(t,1),h="code."),K8.forEach(a=>{let s=o.indexOf(a);s>-1&&(o.splice(s,1),h+=a+".")}),h+=l,o.length!=0||l.length===0)return null;let c={};return c.domEventName=f,c.fullKey=h,c}static matchEventFullKeyCode(n,o){let f=Ieu[n.key]||n.key,l="";return o.indexOf("code.")>-1&&(f=n.code,l="code."),f==null||!f?!1:(f=f.toLowerCase(),f===" "?f="space":f==="."&&(f="dot"),K8.forEach(h=>{if(h!==f){let t=Teu[h];t(n)&&(l+=h+".")}}),l+=f,l===o)}static eventCallback(n,o,f){return l=>{e.matchEventFullKeyCode(l,n)&&f.runGuarded(()=>o(l))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.ɵfac=function(n){return new(n||e)(Le(mn))},e.ɵprov=ft({token:e,factory:e.ɵfac});let u=e;return u})();function Neu(u){return Y$(Reu(u))}function Reu(u){return{appProviders:[...zeu,...(u==null?void 0:u.providers)??[]],platformProviders:Veu}}function Meu(){Deu.makeCurrent()}function Leu(){return new Ea}function jeu(){return jZ(document),document}var Veu=[{provide:Ro,useValue:M4},{provide:td,useValue:Meu,multi:!0},{provide:mn,useFactory:jeu,deps:[]}],zeu=[{provide:P1,useValue:"root"},{provide:Ea,useFactory:Leu,deps:[]},{provide:W5,useClass:Peu,multi:!0,deps:[mn,Sn,Ro]},{provide:W5,useClass:Oeu,multi:!0,deps:[mn]},X5,Q4,K4,{provide:l6,useExisting:X5},{provide:j4,useClass:veu,deps:[]},[]],ef=(()=>{const e=class e{};e.ɵfac=function(n){return new(n||e)},e.ɵprov=ft({token:e,factory:function(n){let o=null;return n?o=new(n||e):o=Le(Ueu),o},providedIn:"root"});let u=e;return u})(),Ueu=(()=>{const e=class e extends ef{constructor(n){super(),this._doc=n}sanitize(n,o){if(o==null)return null;switch(n){case Zr.NONE:return o;case Zr.HTML:return is(o,"HTML")?Ia(o):DK(this._doc,String(o)).toString();case Zr.STYLE:return is(o,"Style")?Ia(o):o;case Zr.SCRIPT:if(is(o,"Script"))return Ia(o);throw new ct(5200,!1);case Zr.URL:return is(o,"URL")?Ia(o):rd(String(o));case Zr.RESOURCE_URL:if(is(o,"ResourceURL"))return Ia(o);throw new ct(5201,!1);default:throw new ct(5202,!1)}}bypassSecurityTrustHtml(n){return JZ(n)}bypassSecurityTrustStyle(n){return QZ(n)}bypassSecurityTrustScript(n){return $Z(n)}bypassSecurityTrustUrl(n){return uK(n)}bypassSecurityTrustResourceUrl(n){return eK(n)}};e.ɵfac=function(n){return new(n||e)(Le(mn))},e.ɵprov=ft({token:e,factory:e.ɵfac,providedIn:"root"});let u=e;return u})(),pe=function(u){return u.SEPARATOR="separator",u.PERCENT="percent",u.IP="IP",u.CPF_CNPJ="CPF_CNPJ",u.MONTH="M",u.MONTHS="M0",u.MINUTE="m",u.HOUR="h",u.HOURS="H",u.MINUTES="m0",u.HOURS_HOUR="Hh",u.SECONDS="s0",u.HOURS_MINUTES_SECONDS="Hh:m0:s0",u.EMAIL_MASK="A*@A*.A*",u.HOURS_MINUTES="Hh:m0",u.MINUTES_SECONDS="m0:s0",u.DAYS_MONTHS_YEARS="d0/M0/0000",u.DAYS_MONTHS="d0/M0",u.DAYS="d0",u.DAY="d",u.SECOND="s",u.LETTER_S="S",u.DOT=".",u.COMMA=",",u.CURLY_BRACKETS_LEFT="{",u.CURLY_BRACKETS_RIGHT="}",u.MINUS="-",u.OR="||",u.HASH="#",u.EMPTY_STRING="",u.SYMBOL_STAR="*",u.SYMBOL_QUESTION="?",u.SLASH="/",u.WHITE_SPACE=" ",u.NUMBER_ZERO="0",u.NUMBER_NINE="9",u.BACKSPACE="Backspace",u.DELETE="Delete",u.ARROW_LEFT="ArrowLeft",u.ARROW_UP="ArrowUp",u.DOUBLE_ZERO="00",u}(pe||{}),_6=new xt("ngx-mask config"),tf=new xt("new ngx-mask config"),nf=new xt("initial ngx-mask config"),Heu={suffix:"",prefix:"",thousandSeparator:" ",decimalMarker:[".",","],clearIfNotMatch:!1,showTemplate:!1,showMaskTyped:!1,placeHolderCharacter:"_",dropSpecialCharacters:!0,hiddenInput:null,shownMaskExpression:"",separatorLimit:"",allowNegativeNumbers:!1,validation:!0,specialCharacters:["-","/","(",")",".",":"," ","+",",","@","[","]",'"',"'"],leadZeroDateTime:!1,apm:!1,leadZero:!1,keepCharacterPositions:!1,triggerOnMaskChange:!1,inputTransformFn:u=>u,outputTransformFn:u=>u,maskFilled:new Cr,patterns:{0:{pattern:new RegExp("\\d")},9:{pattern:new RegExp("\\d"),optional:!0},X:{pattern:new RegExp("\\d"),symbol:"*"},A:{pattern:new RegExp("[a-zA-Z0-9]")},S:{pattern:new RegExp("[a-zA-Z]")},U:{pattern:new RegExp("[A-Z]")},L:{pattern:new RegExp("[a-z]")},d:{pattern:new RegExp("\\d")},m:{pattern:new RegExp("\\d")},M:{pattern:new RegExp("\\d")},H:{pattern:new RegExp("\\d")},h:{pattern:new RegExp("\\d")},s:{pattern:new RegExp("\\d")}}};pe.HOURS_MINUTES_SECONDS,pe.HOURS_MINUTES,pe.MINUTES_SECONDS;pe.PERCENT,pe.HOURS_HOUR,pe.SECONDS,pe.MINUTES,pe.SEPARATOR,pe.DAYS_MONTHS_YEARS,pe.DAYS_MONTHS,pe.DAYS,pe.MONTHS;var Geu=(()=>{const e=class e{constructor(){Te(this,"_config",ht(_6));Te(this,"dropSpecialCharacters",this._config.dropSpecialCharacters);Te(this,"hiddenInput",this._config.hiddenInput);Te(this,"showTemplate");Te(this,"clearIfNotMatch",this._config.clearIfNotMatch);Te(this,"specialCharacters",this._config.specialCharacters);Te(this,"patterns",this._config.patterns);Te(this,"prefix",this._config.prefix);Te(this,"suffix",this._config.suffix);Te(this,"thousandSeparator",this._config.thousandSeparator);Te(this,"decimalMarker",this._config.decimalMarker);Te(this,"customPattern");Te(this,"showMaskTyped",this._config.showMaskTyped);Te(this,"placeHolderCharacter",this._config.placeHolderCharacter);Te(this,"validation",this._config.validation);Te(this,"separatorLimit",this._config.separatorLimit);Te(this,"allowNegativeNumbers",this._config.allowNegativeNumbers);Te(this,"leadZeroDateTime",this._config.leadZeroDateTime);Te(this,"leadZero",this._config.leadZero);Te(this,"apm",this._config.apm);Te(this,"inputTransformFn",this._config.inputTransformFn);Te(this,"outputTransformFn",this._config.outputTransformFn);Te(this,"keepCharacterPositions",this._config.keepCharacterPositions);Te(this,"_shift",new Set);Te(this,"plusOnePosition",!1);Te(this,"maskExpression","");Te(this,"actualValue","");Te(this,"showKeepCharacterExp","");Te(this,"shownMaskExpression","");Te(this,"deletedSpecialCharacter",!1);Te(this,"ipError");Te(this,"cpfCnpjError");Te(this,"_formatWithSeparators",(n,o,f,l)=>{var p;let h=[],t="";if(Array.isArray(f)){let E=new RegExp(f.map(C=>"[\\^$.|?*+()".indexOf(C)>=0?`\\${C}`:C).join("|"));h=n.split(E),t=((p=n.match(E))==null?void 0:p[0])??pe.EMPTY_STRING}else h=n.split(f),t=f;let c=h.length>1?`${t}${h[1]}`:pe.EMPTY_STRING,a=h[0]??pe.EMPTY_STRING,s=this.separatorLimit.replace(/\s/g,pe.EMPTY_STRING);s&&+s&&(a[0]===pe.MINUS?a=`-${a.slice(1,a.length).slice(0,s.length)}`:a=a.slice(0,s.length));let d=/(\d+)(\d{3})/;for(;o&&d.test(a);)a=a.replace(d,"$1"+o+"$2");return typeof l>"u"?a+c:l===0?a:a+c.substring(0,l+1)});Te(this,"percentage",n=>{let o=n.replace(",","."),f=Number(this.allowNegativeNumbers&&n.includes(pe.MINUS)?o.slice(1,n.length):o);return!isNaN(f)&&f>=0&&f<=100});Te(this,"getPrecision",n=>{let o=n.split(pe.DOT);return o.length>1?Number(o[o.length-1]):1/0});Te(this,"checkAndRemoveSuffix",n=>{var o,f,l,h;for(let t=((o=this.suffix)==null?void 0:o.length)-1;t>=0;t--){let c=this.suffix.substring(t,(f=this.suffix)==null?void 0:f.length);if(n.includes(c)&&t!==((l=this.suffix)==null?void 0:l.length)-1&&(t-1<0||!n.includes(this.suffix.substring(t-1,(h=this.suffix)==null?void 0:h.length))))return n.replace(c,pe.EMPTY_STRING)}return n});Te(this,"checkInputPrecision",(n,o,f)=>{var t;let l=n,h=f;if(o<1/0){Array.isArray(h)&&(h=h.find(p=>p!==this.thousandSeparator)||h[0]);let c=new RegExp(this._charToRegExpExpression(h)+`\\d{${o}}.*$`),a=l.match(c),s=(a&&((t=a[0])==null?void 0:t.length))??0;if(s-1>o){let d=s-1-o;l=l.substring(0,l.length-d)}o===0&&this._compareOrIncludes(l[l.length-1],h,this.thousandSeparator)&&(l=l.substring(0,l.length-1))}return l})}applyMaskWithPattern(n,o){let[f,l]=o;return this.customPattern=l,this.applyMask(n,f)}applyMask(n,o,f=0,l=!1,h=!1,t=()=>{}){var M,k,P;if(!o||typeof n!="string")return pe.EMPTY_STRING;let c=0,a="",s=!1,d=!1,p=1,E=!1,C=n,A=f;C.slice(0,this.prefix.length)===this.prefix&&(C=C.slice(this.prefix.length,C.length)),this.suffix&&C.length>0&&(C=this.checkAndRemoveSuffix(C)),C==="("&&this.prefix&&(C="");let F=C.toString().split(pe.EMPTY_STRING);if(this.allowNegativeNumbers&&C.slice(c,c+1)===pe.MINUS&&(a+=C.slice(c,c+1)),o===pe.IP){let v=C.split(pe.DOT);this.ipError=this._validIP(v),o="099.099.099.099"}let D=[];for(let v=0;v<C.length;v++)(M=C[v])!=null&&M.match("\\d")&&D.push(C[v]??pe.EMPTY_STRING);if(o===pe.CPF_CNPJ&&(this.cpfCnpjError=D.length!==11&&D.length!==14,D.length>11?o="00.000.000/0000-00":o="000.000.000-00"),o.startsWith(pe.PERCENT)){if(C.match("[a-z]|[A-Z]")||C.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!h){C=this._stripToDecimal(C);let b=this.getPrecision(o);C=this.checkInputPrecision(C,b,this.decimalMarker)}let v=typeof this.decimalMarker=="string"?this.decimalMarker:pe.DOT;if(C.indexOf(v)>0&&!this.percentage(C.substring(0,C.indexOf(v)))){let b=C.substring(0,C.indexOf(v)-1);this.allowNegativeNumbers&&C.slice(c,c+1)===pe.MINUS&&!h&&(b=C.substring(0,C.indexOf(v))),C=`${b}${C.substring(C.indexOf(v),C.length)}`}let _="";this.allowNegativeNumbers&&C.slice(c,c+1)===pe.MINUS?_=`${pe.MINUS}${C.slice(c+1,c+C.length)}`:_=C,this.percentage(_)?a=this._splitPercentZero(C):a=this._splitPercentZero(C.substring(0,C.length-1))}else if(o.startsWith(pe.SEPARATOR)){(C.match("[wа-яА-Я]")||C.match("[ЁёА-я]")||C.match("[a-z]|[A-Z]")||C.match(/[-@#!$%\\^&*()_£¬'+|~=`{}\]:";<>.?/]/)||C.match("[^A-Za-z0-9,]"))&&(C=this._stripToDecimal(C));let v=this.getPrecision(o),_=Array.isArray(this.decimalMarker)?this.thousandSeparator===pe.DOT?pe.COMMA:pe.DOT:this.decimalMarker;if(v===0?C=this.allowNegativeNumbers?C.length>2&&C[0]===pe.MINUS&&C[1]===pe.NUMBER_ZERO&&C[2]!==this.thousandSeparator&&C[2]!==pe.COMMA&&C[2]!==pe.DOT?"-"+C.slice(2,C.length):C[0]===pe.NUMBER_ZERO&&C.length>1&&C[1]!==this.thousandSeparator&&C[1]!==pe.COMMA&&C[1]!==pe.DOT?C.slice(1,C.length):C:C.length>1&&C[0]===pe.NUMBER_ZERO&&C[1]!==this.thousandSeparator&&C[1]!==pe.COMMA&&C[1]!==pe.DOT?C.slice(1,C.length):C:(C[0]===_&&C.length>1&&(C=pe.NUMBER_ZERO+C.slice(0,C.length+1),this.plusOnePosition=!0),C[0]===pe.NUMBER_ZERO&&C[1]!==_&&C[1]!==this.thousandSeparator&&(C=C.length>1?C.slice(0,1)+_+C.slice(1,C.length+1):C,this.plusOnePosition=!0),this.allowNegativeNumbers&&C[0]===pe.MINUS&&(C[1]===_||C[1]===pe.NUMBER_ZERO)&&(C=C[1]===_&&C.length>2?C.slice(0,1)+pe.NUMBER_ZERO+C.slice(1,C.length):C[1]===pe.NUMBER_ZERO&&C.length>2&&C[2]!==_?C.slice(0,2)+_+C.slice(2,C.length):C,this.plusOnePosition=!0)),h){let pu=C.slice(this._findFirstNonZeroDigitIndex(C),C.length),lu=C[A]===pe.NUMBER_ZERO||C[A]===_,fu=C[0]===pe.NUMBER_ZERO,_u=C[0]===pe.MINUS,Iu=C[0]===this.thousandSeparator,Mu=C[1]===_,Pu=C[1]===pe.NUMBER_ZERO,Zu=C[2]===_;fu&&Mu&&lu&&A<2&&(C=pu),_u&&Pu&&Zu&&lu&&A<3&&(C=pe.MINUS+pu),pu!==pe.MINUS&&(A===0&&(fu||Iu)||this.allowNegativeNumbers&&A===1&&_u&&!Pu)&&(C=_u?pe.MINUS+pu:pu)}let b=this._charToRegExpExpression(this.thousandSeparator),w='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(b,"");if(Array.isArray(this.decimalMarker))for(let pu of this.decimalMarker)w=w.replace(this._charToRegExpExpression(pu),pe.EMPTY_STRING);else w=w.replace(this._charToRegExpExpression(this.decimalMarker),"");let S=new RegExp("["+w+"]");C.match(S)&&(C=C.substring(0,C.length-1)),C=this.checkInputPrecision(C,v,this.decimalMarker);let N=C.replace(new RegExp(b,"g"),"");a=this._formatWithSeparators(N,this.thousandSeparator,this.decimalMarker,v);let j=a.indexOf(pe.COMMA)-C.indexOf(pe.COMMA),z=a.length-C.length,tu=h&&a.length<n.length&&this.separatorLimit;if((a[A-1]===this.thousandSeparator||a[A-this.prefix.length])&&this.prefix&&h)A=A-1;else if(z>0&&a[A]!==this.thousandSeparator||tu){d=!0;let pu=0;do this._shift.add(A+pu),pu++;while(pu<z)}else a[A-1]===this.thousandSeparator||z===-4||z===-3||a[A]===this.thousandSeparator?(this._shift.clear(),this._shift.add(A-1)):j!==0&&A>0&&!(a.indexOf(pe.COMMA)>=A&&A>3)||!(a.indexOf(pe.DOT)>=A&&A>3)&&z<=0?(this._shift.clear(),d=!0,p=z,A+=z,this._shift.add(A)):this._shift.clear()}else for(let v=0,_=F[0];v<F.length&&c!==o.length;v++,_=F[v]??pe.EMPTY_STRING){let b=pe.SYMBOL_STAR in this.patterns;if(this._checkSymbolMask(_,o[c]??pe.EMPTY_STRING)&&o[c+1]===pe.SYMBOL_QUESTION)a+=_,c+=2;else if(o[c+1]===pe.SYMBOL_STAR&&s&&this._checkSymbolMask(_,o[c+2]??pe.EMPTY_STRING))a+=_,c+=3,s=!1;else if(this._checkSymbolMask(_,o[c]??pe.EMPTY_STRING)&&o[c+1]===pe.SYMBOL_STAR&&!b)a+=_,s=!0;else if(o[c+1]===pe.SYMBOL_QUESTION&&this._checkSymbolMask(_,o[c+2]??pe.EMPTY_STRING))a+=_,c+=3;else if(this._checkSymbolMask(_,o[c]??pe.EMPTY_STRING)){if(o[c]===pe.HOURS&&(this.apm?Number(_)>9:Number(_)>2)){A=this.leadZeroDateTime?A:A+1,c+=1,this._shiftStep(o,c,F.length),v--,this.leadZeroDateTime&&(a+="0");continue}if(o[c]===pe.HOUR&&(this.apm?a.length===1&&Number(a)>1||a==="1"&&Number(_)>2||C.slice(c-1,c).length===1&&Number(C.slice(c-1,c))>2||C.slice(c-1,c)==="1"&&Number(_)>2:a==="2"&&Number(_)>3||(a.slice(c-2,c)==="2"||a.slice(c-3,c)==="2"||a.slice(c-4,c)==="2"||a.slice(c-1,c)==="2")&&Number(_)>3&&c>10)){A=A+1,c+=1,v--;continue}if((o[c]===pe.MINUTE||o[c]===pe.SECOND)&&Number(_)>5){A=this.leadZeroDateTime?A:A+1,c+=1,this._shiftStep(o,c,F.length),v--,this.leadZeroDateTime&&(a+="0");continue}let w=31,S=C[c],N=C[c+1],j=C[c+2],z=C[c-1],tu=C[c-2],pu=C.slice(c-3,c-1),lu=C.slice(c-1,c+1),fu=C.slice(c,c+2),_u=C.slice(c-2,c);if(o[c]===pe.DAY){let Iu=o.slice(0,2)===pe.MONTHS,Mu=o.slice(0,2)===pe.MONTHS&&this.specialCharacters.includes(tu);if(Number(_)>3&&this.leadZeroDateTime||!Iu&&(Number(fu)>w||Number(lu)>w||this.specialCharacters.includes(N))||(Mu?Number(lu)>w||!this.specialCharacters.includes(S)&&this.specialCharacters.includes(j)||this.specialCharacters.includes(S):Number(fu)>w||this.specialCharacters.includes(N)&&!h)){A=this.leadZeroDateTime?A:A+1,c+=1,this._shiftStep(o,c,F.length),v--,this.leadZeroDateTime&&(a+="0");continue}}if(o[c]===pe.MONTH){let Iu=c===0&&(Number(_)>2||Number(fu)>12||this.specialCharacters.includes(N)&&!h),Mu=o.slice(c+2,c+3),Pu=pu.includes(Mu)&&o.includes("d0")&&(this.specialCharacters.includes(tu)&&Number(lu)>12&&!this.specialCharacters.includes(S)||this.specialCharacters.includes(S)),Zu=Number(pu)<=w&&!this.specialCharacters.includes(pu)&&this.specialCharacters.includes(z)&&(Number(fu)>12||this.specialCharacters.includes(N)),ju=Number(fu)>12&&c===5||this.specialCharacters.includes(N)&&c===5,$=Number(pu)>w&&!this.specialCharacters.includes(pu)&&!this.specialCharacters.includes(_u)&&Number(_u)>12&&o.includes("d0"),Bu=Number(pu)<=w&&!this.specialCharacters.includes(pu)&&!this.specialCharacters.includes(z)&&Number(lu)>12;if(Number(_)>1&&this.leadZeroDateTime||Iu||Pu||Bu||$||Zu||ju&&!this.leadZeroDateTime){A=this.leadZeroDateTime?A:A+1,c+=1,this._shiftStep(o,c,F.length),v--,this.leadZeroDateTime&&(a+="0");continue}}a+=_,c++}else this.specialCharacters.includes(_)&&o[c]===_?(a+=_,c++):this.specialCharacters.indexOf(o[c]??pe.EMPTY_STRING)!==-1?(a+=o[c],c++,this._shiftStep(o,c,F.length),v--):o[c]===pe.NUMBER_NINE&&this.showMaskTyped?this._shiftStep(o,c,F.length):this.patterns[o[c]??pe.EMPTY_STRING]&&((k=this.patterns[o[c]??pe.EMPTY_STRING])!=null&&k.optional)?(F[c]&&o!=="099.099.099.099"&&o!=="000.000.000-00"&&o!=="00.000.000/0000-00"&&!o.match(/^9+\.0+$/)&&!((P=this.patterns[o[c]??pe.EMPTY_STRING])!=null&&P.optional)&&(a+=F[c]),o.includes(pe.NUMBER_NINE+pe.SYMBOL_STAR)&&o.includes(pe.NUMBER_ZERO+pe.SYMBOL_STAR)&&c++,c++,v--):this.maskExpression[c+1]===pe.SYMBOL_STAR&&this._findSpecialChar(this.maskExpression[c+2]??pe.EMPTY_STRING)&&this._findSpecialChar(_)===this.maskExpression[c+2]&&s||this.maskExpression[c+1]===pe.SYMBOL_QUESTION&&this._findSpecialChar(this.maskExpression[c+2]??pe.EMPTY_STRING)&&this._findSpecialChar(_)===this.maskExpression[c+2]&&s?(c+=3,a+=_):this.showMaskTyped&&this.specialCharacters.indexOf(_)<0&&_!==this.placeHolderCharacter&&this.placeHolderCharacter.length===1&&(E=!0)}a.length+1===o.length&&this.specialCharacters.indexOf(o[o.length-1]??pe.EMPTY_STRING)!==-1&&(a+=o[o.length-1]);let g=A+1;for(;this._shift.has(g);)p++,g++;let B=l&&!o.startsWith(pe.SEPARATOR)?c:this._shift.has(A)?p:0;E&&B--,t(B,d),p<0&&this._shift.clear();let r=!1;h&&(r=F.every(v=>this.specialCharacters.includes(v)));let m=`${this.prefix}${r?pe.EMPTY_STRING:a}${this.showMaskTyped?"":this.suffix}`;a.length===0&&(m=this.dropSpecialCharacters?`${a}`:`${this.prefix}${a}`);let x=C.length===1&&this.specialCharacters.includes(o[0])&&C!==o[0];if(!this._checkSymbolMask(C,o[1])&&x)return"";if(a.includes(pe.MINUS)&&this.prefix&&this.allowNegativeNumbers){if(h&&a===pe.MINUS)return"";m=`${pe.MINUS}${this.prefix}${a.split(pe.MINUS).join(pe.EMPTY_STRING)}${this.suffix}`}return m}_findDropSpecialChar(n){return Array.isArray(this.dropSpecialCharacters)?this.dropSpecialCharacters.find(o=>o===n):this._findSpecialChar(n)}_findSpecialChar(n){return this.specialCharacters.find(o=>o===n)}_checkSymbolMask(n,o){var f,l;return this.patterns=this.customPattern?this.customPattern:this.patterns,(((f=this.patterns[o])==null?void 0:f.pattern)&&((l=this.patterns[o])==null?void 0:l.pattern.test(n)))??!1}_stripToDecimal(n){return n.split(pe.EMPTY_STRING).filter((o,f)=>{let l=typeof this.decimalMarker=="string"?o===this.decimalMarker:this.decimalMarker.includes(o);return o.match("^-?\\d")||o===this.thousandSeparator||l||o===pe.MINUS&&f===0&&this.allowNegativeNumbers}).join(pe.EMPTY_STRING)}_charToRegExpExpression(n){return n&&(n===" "?"\\s":"[\\^$.|?*+()".indexOf(n)>=0?`\\${n}`:n)}_shiftStep(n,o,f){let l=/[*?]/g.test(n.slice(0,o))?f:o;this._shift.add(l+this.prefix.length||0)}_compareOrIncludes(n,o,f){return Array.isArray(o)?o.filter(l=>l!==f).includes(n):n===o}_validIP(n){return!(n.length===4&&!n.some((o,f)=>n.length!==f+1?o===pe.EMPTY_STRING||Number(o)>255:o===pe.EMPTY_STRING||Number(o.substring(0,3))>255))}_splitPercentZero(n){if(n===pe.MINUS&&this.allowNegativeNumbers)return n;let o=typeof this.decimalMarker=="string"?n.indexOf(this.decimalMarker):n.indexOf(pe.DOT),f=this.allowNegativeNumbers&&n.includes(pe.MINUS)?"-":"";if(o===-1){let l=parseInt(f?n.slice(1,n.length):n,10);return isNaN(l)?pe.EMPTY_STRING:`${f}${l}`}else{let l=parseInt(n.replace("-","").substring(0,o),10),h=n.substring(o+1),t=isNaN(l)?"":l.toString(),c=typeof this.decimalMarker=="string"?this.decimalMarker:pe.DOT;return t===pe.EMPTY_STRING?pe.EMPTY_STRING:`${f}${t}${c}${h}`}}_findFirstNonZeroDigitIndex(n){for(let o=0;o<n.length;o++){let f=n[o];if(f&&f>="1"&&f<="9")return o}return-1}};Te(e,"ɵfac",function(n){return new(n||e)}),Te(e,"ɵprov",ft({token:e,factory:e.ɵfac}));let u=e;return u})(),qeu=(()=>{const e=class e extends Geu{constructor(){super(...arguments);Te(this,"isNumberValue",!1);Te(this,"maskIsShown","");Te(this,"selStart",null);Te(this,"selEnd",null);Te(this,"writingValue",!1);Te(this,"maskChanged",!1);Te(this,"_maskExpressionArray",[]);Te(this,"triggerOnMaskChange",!1);Te(this,"_previousValue","");Te(this,"_currentValue","");Te(this,"_emitValue",!1);Te(this,"_start");Te(this,"_end");Te(this,"onChange",o=>{});Te(this,"_elementRef",ht(mr,{optional:!0}));Te(this,"document",ht(mn));Te(this,"_config",ht(_6));Te(this,"_renderer",ht(c6,{optional:!0}))}applyMask(o,f,l=0,h=!1,t=!1,c=()=>{}){if(!f)return o!==this.actualValue?this.actualValue:o;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():pe.EMPTY_STRING,this.maskExpression===pe.IP&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(o||pe.HASH)),this.maskExpression===pe.CPF_CNPJ&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(o||pe.HASH)),!o&&this.showMaskTyped)return this.formControlResult(this.prefix),`${this.prefix}${this.maskIsShown}${this.suffix}`;let a=o&&typeof this.selStart=="number"?o[this.selStart]??pe.EMPTY_STRING:pe.EMPTY_STRING,s="",d=l;if(this.hiddenInput!==null&&!this.writingValue){let A=o&&o.length===1?o.split(pe.EMPTY_STRING):this.actualValue.split(pe.EMPTY_STRING);typeof this.selStart=="object"&&typeof this.selEnd=="object"?(this.selStart=Number(this.selStart),this.selEnd=Number(this.selEnd)):o!==pe.EMPTY_STRING&&A.length?typeof this.selStart=="number"&&typeof this.selEnd=="number"&&(o.length>A.length?A.splice(this.selStart,0,a):o.length<A.length&&(A.length-o.length===1?t?A.splice(this.selStart-1,1):A.splice(o.length-1,1):A.splice(this.selStart,this.selEnd-this.selStart))):A=[],this.showMaskTyped&&!this.hiddenInput&&(s=this.removeMask(o)),s=this.actualValue.length&&A.length<=o.length?this.shiftTypedSymbols(A.join(pe.EMPTY_STRING)):o}if(h&&(this.hiddenInput||!this.hiddenInput)&&(s=o),t&&this.specialCharacters.indexOf(this.maskExpression[d]??pe.EMPTY_STRING)!==-1&&this.showMaskTyped&&!this.prefix&&(s=this._currentValue),this.deletedSpecialCharacter&&d&&(this.specialCharacters.includes(this.actualValue.slice(d,d+1))?d=d+1:f.slice(d-1,d+1)!==pe.MONTHS&&(d=d-2),this.deletedSpecialCharacter=!1),this.showMaskTyped&&this.placeHolderCharacter.length===1&&!this.leadZeroDateTime&&(s=this.removeMask(o)),this.maskChanged?s=o:s=s&&s.length?s:o,this.showMaskTyped&&this.keepCharacterPositions&&this.actualValue&&!h&&!this.writingValue){let A=this.dropSpecialCharacters?this.removeMask(this.actualValue):this.actualValue;return this.formControlResult(A),this.actualValue?this.actualValue:`${this.prefix}${this.maskIsShown}${this.suffix}`}let p=super.applyMask(s,f,d,h,t,c);if(this.actualValue=this.getActualValue(p),this.thousandSeparator===pe.DOT&&this.decimalMarker===pe.DOT&&(this.decimalMarker=pe.COMMA),this.maskExpression.startsWith(pe.SEPARATOR)&&this.dropSpecialCharacters===!0&&(this.specialCharacters=this.specialCharacters.filter(A=>!this._compareOrIncludes(A,this.decimalMarker,this.thousandSeparator))),(p||p==="")&&(this._previousValue=this._currentValue,this._currentValue=p,this._emitValue=this._previousValue!==this._currentValue||this.maskChanged||this.writingValue||this._previousValue===this._currentValue&&h),this._emitValue&&(this.writingValue&&this.triggerOnMaskChange?requestAnimationFrame(()=>this.formControlResult(p)):this.formControlResult(p)),!this.showMaskTyped||this.showMaskTyped&&this.hiddenInput)return this.hiddenInput?t?this.hideInput(p,this.maskExpression):`${this.hideInput(p,this.maskExpression)}${this.maskIsShown.slice(p.length)}`:p;let E=p.length,C=`${this.prefix}${this.maskIsShown}${this.suffix}`;if(this.maskExpression.includes(pe.HOURS)){let A=this._numberSkipedSymbols(p);return`${p}${C.slice(E+A)}`}else if(this.maskExpression===pe.IP||this.maskExpression===pe.CPF_CNPJ)return`${p}${C}`;return`${p}${C.slice(E)}`}_numberSkipedSymbols(o){let f=/(^|\D)(\d\D)/g,l=f.exec(o),h=0;for(;l!=null;)h+=1,l=f.exec(o);return h}applyValueChanges(o,f,l,h=()=>{}){var c;let t=(c=this._elementRef)==null?void 0:c.nativeElement;t&&(t.value=this.applyMask(t.value,this.maskExpression,o,f,l,h),t!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(o,f){return o.split(pe.EMPTY_STRING).map((l,h)=>{var t,c;return this.patterns&&this.patterns[f[h]??pe.EMPTY_STRING]&&((t=this.patterns[f[h]??pe.EMPTY_STRING])!=null&&t.symbol)?(c=this.patterns[f[h]??pe.EMPTY_STRING])==null?void 0:c.symbol:l}).join(pe.EMPTY_STRING)}getActualValue(o){let f=o.split(pe.EMPTY_STRING).filter((l,h)=>{let t=this.maskExpression[h]??pe.EMPTY_STRING;return this._checkSymbolMask(l,t)||this.specialCharacters.includes(t)&&l===t});return f.join(pe.EMPTY_STRING)===o?f.join(pe.EMPTY_STRING):o}shiftTypedSymbols(o){let f="";return(o&&o.split(pe.EMPTY_STRING).map((l,h)=>{if(this.specialCharacters.includes(o[h+1]??pe.EMPTY_STRING)&&o[h+1]!==this.maskExpression[h+1])return f=l,o[h+1];if(f.length){let t=f;return f=pe.EMPTY_STRING,t}return l})||[]).join(pe.EMPTY_STRING)}numberToString(o){return!o&&o!==0||this.maskExpression.startsWith(pe.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith(pe.SEPARATOR)&&this.separatorLimit.length>14&&String(o).length>14?String(o):Number(o).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace(`/${pe.MINUS}/`,pe.MINUS)}showMaskInInput(o){if(this.showMaskTyped&&this.shownMaskExpression){if(this.maskExpression.length!==this.shownMaskExpression.length)throw new Error("Mask expression must match mask placeholder length");return this.shownMaskExpression}else if(this.showMaskTyped){if(o){if(this.maskExpression===pe.IP)return this._checkForIp(o);if(this.maskExpression===pe.CPF_CNPJ)return this._checkForCpfCnpj(o)}return this.placeHolderCharacter.length===this.maskExpression.length?this.placeHolderCharacter:this.maskExpression.replace(/\w/g,this.placeHolderCharacter)}return""}clearIfNotMatchFn(){var f;let o=(f=this._elementRef)==null?void 0:f.nativeElement;o&&this.clearIfNotMatch&&this.prefix.length+this.maskExpression.length+this.suffix.length!==o.value.replace(this.placeHolderCharacter,pe.EMPTY_STRING).length&&(this.formElementProperty=["value",pe.EMPTY_STRING],this.applyMask("",this.maskExpression))}set formElementProperty([o,f]){!this._renderer||!this._elementRef||Promise.resolve().then(()=>{var l,h;return(h=this._renderer)==null?void 0:h.setProperty((l=this._elementRef)==null?void 0:l.nativeElement,o,f)})}checkDropSpecialCharAmount(o){return o.split(pe.EMPTY_STRING).filter(f=>this._findDropSpecialChar(f)).length}removeMask(o){return this._removeMask(this._removeSuffix(this._removePrefix(o)),this.specialCharacters.concat("_").concat(this.placeHolderCharacter))}_checkForIp(o){if(o===pe.HASH)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;let f=[];for(let l=0;l<o.length;l++){let h=o[l]??pe.EMPTY_STRING;h&&h.match("\\d")&&f.push(h)}return f.length<=3?`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`:f.length>3&&f.length<=6?`${this.placeHolderCharacter}.${this.placeHolderCharacter}`:f.length>6&&f.length<=9?this.placeHolderCharacter:""}_checkForCpfCnpj(o){let f=`${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`,l=`${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}/${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`;if(o===pe.HASH)return f;let h=[];for(let t=0;t<o.length;t++){let c=o[t]??pe.EMPTY_STRING;c&&c.match("\\d")&&h.push(c)}return h.length<=3?f.slice(h.length,f.length):h.length>3&&h.length<=6?f.slice(h.length+1,f.length):h.length>6&&h.length<=9?f.slice(h.length+2,f.length):h.length>9&&h.length<11?f.slice(h.length+3,f.length):h.length===11?"":h.length===12?o.length===17?l.slice(16,l.length):l.slice(15,l.length):h.length>12&&h.length<=14?l.slice(h.length+4,l.length):""}_getActiveElement(o=this.document){var l;let f=(l=o==null?void 0:o.activeElement)==null?void 0:l.shadowRoot;return f!=null&&f.activeElement?this._getActiveElement(f):o.activeElement}formControlResult(o){if(this.writingValue&&!o){this.onChange("");return}if(this.writingValue||!this.triggerOnMaskChange&&this.maskChanged){this.triggerOnMaskChange&&this.maskChanged&&this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(o)))))),this.maskChanged=!1;return}Array.isArray(this.dropSpecialCharacters)?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeMask(this._removeSuffix(this._removePrefix(o)),this.dropSpecialCharacters))))):this.dropSpecialCharacters||!this.dropSpecialCharacters&&this.prefix===o?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(o)))))):this.onChange(this.outputTransformFn(this._toNumber(o)))}_toNumber(o){if(!this.isNumberValue||o===pe.EMPTY_STRING||this.maskExpression.startsWith(pe.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters))return o;if(String(o).length>14&&this.maskExpression.startsWith(pe.SEPARATOR))return String(o);let f=Number(o);if(this.maskExpression.startsWith(pe.SEPARATOR)&&Number.isNaN(f)){let l=String(o).replace(",",".");return Number(l)}return Number.isNaN(f)?o:f}_removeMask(o,f){return this.maskExpression.startsWith(pe.PERCENT)&&o.includes(pe.DOT)?o:o&&o.replace(this._regExpForRemove(f),pe.EMPTY_STRING)}_removePrefix(o){return this.prefix?o&&o.replace(this.prefix,pe.EMPTY_STRING):o}_removeSuffix(o){return this.suffix?o&&o.replace(this.suffix,pe.EMPTY_STRING):o}_retrieveSeparatorValue(o){let f=Array.isArray(this.dropSpecialCharacters)?this.specialCharacters.filter(l=>this.dropSpecialCharacters.includes(l)):this.specialCharacters;return!this.deletedSpecialCharacter&&this._checkPatternForSpace()&&o.includes(pe.WHITE_SPACE)&&this.maskExpression.includes(pe.SYMBOL_STAR)&&(f=f.filter(l=>l!==pe.WHITE_SPACE)),this._removeMask(o,f)}_regExpForRemove(o){return new RegExp(o.map(f=>`\\${f}`).join("|"),"gi")}_replaceDecimalMarkerToDot(o){let f=Array.isArray(this.decimalMarker)?this.decimalMarker:[this.decimalMarker];return o.replace(this._regExpForRemove(f),pe.DOT)}_checkSymbols(o){let f=o;if(f===pe.EMPTY_STRING)return f;this.maskExpression.startsWith(pe.PERCENT)&&this.decimalMarker===pe.COMMA&&(f=f.replace(pe.COMMA,pe.DOT));let l=this._retrieveSeparatorPrecision(this.maskExpression),h=this._replaceDecimalMarkerToDot(this._retrieveSeparatorValue(f));return this.isNumberValue&&l?f===this.decimalMarker?null:h.length>14?String(h):this._checkPrecision(this.maskExpression,h):h}_checkPatternForSpace(){var o,f,l;for(let h in this.patterns)if(this.patterns[h]&&((o=this.patterns[h])!=null&&o.hasOwnProperty("pattern"))){let t=(f=this.patterns[h])==null?void 0:f.pattern.toString(),c=(l=this.patterns[h])==null?void 0:l.pattern;if(t!=null&&t.includes(pe.WHITE_SPACE)&&(c!=null&&c.test(this.maskExpression)))return!0}return!1}_retrieveSeparatorPrecision(o){let f=o.match(new RegExp("^separator\\.([^d]*)"));return f?Number(f[1]):null}_checkPrecision(o,f){let l=this.getPrecision(o),h=f;return o.indexOf("2")>0||this.leadZero&&Number(l)>0?(this.decimalMarker===pe.COMMA&&this.leadZero&&(h=h.replace(",",".")),this.leadZero?Number(h).toFixed(Number(l)):Number(h).toFixed(2)):this.numberToString(h)}_repeatPatternSymbols(o){return o.match(/{[0-9]+}/)&&o.split(pe.EMPTY_STRING).reduce((f,l,h)=>{if(this._start=l===pe.CURLY_BRACKETS_LEFT?h:this._start,l!==pe.CURLY_BRACKETS_RIGHT)return this._findSpecialChar(l)?f+l:f;this._end=h;let t=Number(o.slice(this._start+1,this._end)),c=new Array(t+1).join(o[this._start-1]);if(o.slice(0,this._start).length>1&&o.includes(pe.LETTER_S)){let a=o.slice(0,this._start-1);return a.includes(pe.CURLY_BRACKETS_LEFT)?f+c:a+f+c}else return f+c},"")||o}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}};Te(e,"ɵfac",(()=>{let o;return function(f){return(o||(o=Oo(e)))(f||e)}})()),Te(e,"ɵprov",ft({token:e,factory:e.ɵfac}));let u=e;return u})();function Weu(){let u=ht(nf),e=ht(tf);return e instanceof Function?jt(jt({},u),e()):jt(jt({},u),e)}function Xeu(u){return[{provide:tf,useValue:u},{provide:nf,useValue:Heu},{provide:_6,useFactory:Weu},qeu]}function Yeu(u){return S1(Xeu(u))}var qi=class{},J8=(()=>{const e=class e extends qi{getTranslation(n){return Kn({})}};Te(e,"ɵfac",(()=>{let n;return function(o){return(n||(n=Oo(e)))(o||e)}})()),Te(e,"ɵprov",ft({token:e,factory:e.ɵfac}));let u=e;return u})(),Z5=class{},Q8=(()=>{const e=class e{handle(n){return n.key}};Te(e,"ɵfac",function(n){return new(n||e)}),Te(e,"ɵprov",ft({token:e,factory:e.ɵfac}));let u=e;return u})();function bl(u,e){if(u===e)return!0;if(u===null||e===null)return!1;if(u!==u&&e!==e)return!0;let i=typeof u,n=typeof e,o,f,l;if(i==n&&i=="object")if(Array.isArray(u)){if(!Array.isArray(e))return!1;if((o=u.length)==e.length){for(f=0;f<o;f++)if(!bl(u[f],e[f]))return!1;return!0}}else{if(Array.isArray(e))return!1;l=Object.create(null);for(f in u){if(!bl(u[f],e[f]))return!1;l[f]=!0}for(f in e)if(!(f in l)&&typeof e[f]<"u")return!1;return!0}return!1}function aa(u){return typeof u<"u"&&u!==null}function $c(u){return u&&typeof u=="object"&&!Array.isArray(u)}function rf(u,e){let i=Object.assign({},u);return $c(u)&&$c(e)&&Object.keys(e).forEach(n=>{$c(e[n])?n in u?i[n]=rf(u[n],e[n]):Object.assign(i,{[n]:e[n]}):Object.assign(i,{[n]:e[n]})}),i}var xl=class{},$8=(()=>{const e=class e extends xl{constructor(){super(...arguments);Te(this,"templateMatcher",/{{\s?([^{}\s]*)\s?}}/g)}interpolate(o,f){let l;return typeof o=="string"?l=this.interpolateString(o,f):typeof o=="function"?l=this.interpolateFunction(o,f):l=o,l}getValue(o,f){let l=typeof f=="string"?f.split("."):[f];f="";do f+=l.shift(),aa(o)&&aa(o[f])&&(typeof o[f]=="object"||!l.length)?(o=o[f],f=""):l.length?f+=".":o=void 0;while(l.length);return o}interpolateFunction(o,f){return o(f)}interpolateString(o,f){return f?o.replace(this.templateMatcher,(l,h)=>{let t=this.getValue(f,h);return aa(t)?t:l}):o}};Te(e,"ɵfac",(()=>{let o;return function(f){return(o||(o=Oo(e)))(f||e)}})()),Te(e,"ɵprov",ft({token:e,factory:e.ɵfac}));let u=e;return u})(),fa=class{},u7=(()=>{const e=class e extends fa{compile(n,o){return n}compileTranslations(n,o){return n}};Te(e,"ɵfac",(()=>{let n;return function(o){return(n||(n=Oo(e)))(o||e)}})()),Te(e,"ɵprov",ft({token:e,factory:e.ɵfac}));let u=e;return u})(),af=class{constructor(){Te(this,"defaultLang");Te(this,"currentLang",this.defaultLang);Te(this,"translations",{});Te(this,"langs",[]);Te(this,"onTranslationChange",new Cr);Te(this,"onLangChange",new Cr);Te(this,"onDefaultLangChange",new Cr)}},K5=new xt("USE_STORE"),J5=new xt("USE_DEFAULT_LANG"),Q5=new xt("DEFAULT_LANGUAGE"),$5=new xt("USE_EXTEND"),_i=(()=>{const e=class e{constructor(n,o,f,l,h,t=!0,c=!1,a=!1,s){Te(this,"store");Te(this,"currentLoader");Te(this,"compiler");Te(this,"parser");Te(this,"missingTranslationHandler");Te(this,"useDefaultLang");Te(this,"isolate");Te(this,"extend");Te(this,"loadingTranslations");Te(this,"pending",!1);Te(this,"_onTranslationChange",new Cr);Te(this,"_onLangChange",new Cr);Te(this,"_onDefaultLangChange",new Cr);Te(this,"_defaultLang");Te(this,"_currentLang");Te(this,"_langs",[]);Te(this,"_translations",{});Te(this,"_translationRequests",{});this.store=n,this.currentLoader=o,this.compiler=f,this.parser=l,this.missingTranslationHandler=h,this.useDefaultLang=t,this.isolate=c,this.extend=a,s&&this.setDefaultLang(s)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(n){this.isolate?this._defaultLang=n:this.store.defaultLang=n}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(n){this.isolate?this._currentLang=n:this.store.currentLang=n}get langs(){return this.isolate?this._langs:this.store.langs}set langs(n){this.isolate?this._langs=n:this.store.langs=n}get translations(){return this.isolate?this._translations:this.store.translations}set translations(n){this.isolate?this._translations=n:this.store.translations=n}setDefaultLang(n){if(n===this.defaultLang)return;let o=this.retrieveTranslations(n);typeof o<"u"?(this.defaultLang==null&&(this.defaultLang=n),o.pipe(ia(1)).subscribe(f=>{this.changeDefaultLang(n)})):this.changeDefaultLang(n)}getDefaultLang(){return this.defaultLang}use(n){if(n===this.currentLang)return Kn(this.translations[n]);let o=this.retrieveTranslations(n);return typeof o<"u"?(this.currentLang||(this.currentLang=n),o.pipe(ia(1)).subscribe(f=>{this.changeLang(n)}),o):(this.changeLang(n),Kn(this.translations[n]))}retrieveTranslations(n){let o;return(typeof this.translations[n]>"u"||this.extend)&&(this._translationRequests[n]=this._translationRequests[n]||this.getTranslation(n),o=this._translationRequests[n]),o}getTranslation(n){this.pending=!0;let o=this.currentLoader.getTranslation(n).pipe(Y2(1),ia(1));return this.loadingTranslations=o.pipe(cr(f=>this.compiler.compileTranslations(f,n)),Y2(1),ia(1)),this.loadingTranslations.subscribe({next:f=>{this.translations[n]=this.extend&&this.translations[n]?jt(jt({},f),this.translations[n]):f,this.updateLangs(),this.pending=!1},error:f=>{this.pending=!1}}),o}setTranslation(n,o,f=!1){o=this.compiler.compileTranslations(o,n),(f||this.extend)&&this.translations[n]?this.translations[n]=rf(this.translations[n],o):this.translations[n]=o,this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}getLangs(){return this.langs}addLangs(n){n.forEach(o=>{this.langs.indexOf(o)===-1&&this.langs.push(o)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(n,o,f){let l;if(o instanceof Array){let h={},t=!1;for(let c of o)h[c]=this.getParsedResult(n,c,f),Pa(h[c])&&(t=!0);if(t){let c=o.map(a=>Pa(h[a])?h[a]:Kn(h[a]));return kh(c).pipe(cr(a=>{let s={};return a.forEach((d,p)=>{s[o[p]]=d}),s}))}return h}if(n&&(l=this.parser.interpolate(this.parser.getValue(n,o),f)),typeof l>"u"&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(l=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],o),f)),typeof l>"u"){let h={key:o,translateService:this};typeof f<"u"&&(h.interpolateParams=f),l=this.missingTranslationHandler.handle(h)}return typeof l<"u"?l:o}get(n,o){if(!aa(n)||!n.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(Th(f=>(f=this.getParsedResult(f,n,o),Pa(f)?f:Kn(f))));{let f=this.getParsedResult(this.translations[this.currentLang],n,o);return Pa(f)?f:Kn(f)}}getStreamOnTranslationChange(n,o){if(!aa(n)||!n.length)throw new Error('Parameter "key" required');return gs(W2(()=>this.get(n,o)),this.onTranslationChange.pipe(sl(f=>{let l=this.getParsedResult(f.translations,n,o);return typeof l.subscribe=="function"?l:Kn(l)})))}stream(n,o){if(!aa(n)||!n.length)throw new Error('Parameter "key" required');return gs(W2(()=>this.get(n,o)),this.onLangChange.pipe(sl(f=>{let l=this.getParsedResult(f.translations,n,o);return Pa(l)?l:Kn(l)})))}instant(n,o){if(!aa(n)||!n.length)throw new Error('Parameter "key" required');let f=this.getParsedResult(this.translations[this.currentLang],n,o);if(Pa(f)){if(n instanceof Array){let l={};return n.forEach((h,t)=>{l[n[t]]=n[t]}),l}return n}else return f}set(n,o,f=this.currentLang){this.translations[f][n]=this.compiler.compile(o,f),this.updateLangs(),this.onTranslationChange.emit({lang:f,translations:this.translations[f]})}changeLang(n){this.currentLang=n,this.onLangChange.emit({lang:n,translations:this.translations[n]}),this.defaultLang==null&&this.changeDefaultLang(n)}changeDefaultLang(n){this.defaultLang=n,this.onDefaultLangChange.emit({lang:n,translations:this.translations[n]})}reloadLang(n){return this.resetLang(n),this.getTranslation(n)}resetLang(n){this._translationRequests[n]=void 0,this.translations[n]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let n=window.navigator.languages?window.navigator.languages[0]:null;if(n=n||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,!(typeof n>"u"))return n.indexOf("-")!==-1&&(n=n.split("-")[0]),n.indexOf("_")!==-1&&(n=n.split("_")[0]),n}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let n=window.navigator.languages?window.navigator.languages[0]:null;return n=n||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,n}};Te(e,"ɵfac",function(n){return new(n||e)(Le(af),Le(qi),Le(fa),Le(xl),Le(Z5),Le(J5),Le(K5),Le($5),Le(Q5))}),Te(e,"ɵprov",ft({token:e,factory:e.ɵfac}));let u=e;return u})(),ac=(()=>{const e=class e{constructor(n,o){Te(this,"translate");Te(this,"_ref");Te(this,"value","");Te(this,"lastKey",null);Te(this,"lastParams",[]);Te(this,"onTranslationChange");Te(this,"onLangChange");Te(this,"onDefaultLangChange");this.translate=n,this._ref=o}updateValue(n,o,f){let l=h=>{this.value=h!==void 0?h:n,this.lastKey=n,this._ref.markForCheck()};if(f){let h=this.translate.getParsedResult(f,n,o);Pa(h.subscribe)?h.subscribe(l):l(h)}this.translate.get(n,o).subscribe(l)}transform(n,...o){if(!n||!n.length)return n;if(bl(n,this.lastKey)&&bl(o,this.lastParams))return this.value;let f;if(aa(o[0])&&o.length)if(typeof o[0]=="string"&&o[0].length){let l=o[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{f=JSON.parse(l)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${o[0]}`)}}else typeof o[0]=="object"&&!Array.isArray(o[0])&&(f=o[0]);return this.lastKey=n,this.lastParams=o,this.updateValue(n,f),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(l=>{this.lastKey&&l.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(n,f,l.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(l=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,f,l.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(n,f))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}};Te(e,"ɵfac",function(n){return new(n||e)(Nt(_i,16),Nt(Zs,16))}),Te(e,"ɵpipe",Po({name:"translate",type:e,pure:!1})),Te(e,"ɵprov",ft({token:e,factory:e.ɵfac}));let u=e;return u})(),Wa=(()=>{const e=class e{static forRoot(n={}){return{ngModule:e,providers:[n.loader||{provide:qi,useClass:J8},n.compiler||{provide:fa,useClass:u7},n.parser||{provide:xl,useClass:$8},n.missingTranslationHandler||{provide:Z5,useClass:Q8},af,{provide:K5,useValue:n.isolate},{provide:J5,useValue:n.useDefaultLang},{provide:$5,useValue:n.extend},{provide:Q5,useValue:n.defaultLanguage},_i]}}static forChild(n={}){return{ngModule:e,providers:[n.loader||{provide:qi,useClass:J8},n.compiler||{provide:fa,useClass:u7},n.parser||{provide:xl,useClass:$8},n.missingTranslationHandler||{provide:Z5,useClass:Q8},{provide:K5,useValue:n.isolate},{provide:J5,useValue:n.useDefaultLang},{provide:$5,useValue:n.extend},{provide:Q5,useValue:n.defaultLanguage},_i]}}};Te(e,"ɵfac",function(n){return new(n||e)}),Te(e,"ɵmod",_1({type:e})),Te(e,"ɵinj",B1({}));let u=e;return u})(),Zeu="1.3",nl=Zeu,so=(u=>(u.DEV="dev",u.DEMO="demo",u.INT="int",u.ACC="acc",u.PROD="prod",u))(so||{}),Keu=(()=>{const e=class e{constructor(){Te(this,"version");Te(this,"language");Te(this,"configName");Te(this,"services");Te(this,"onError",new Cr);Te(this,"initialized",!1);Te(this,"_ngInitDone",!1);Te(this,"_ngFirstChangesDone",!1)}validateVersion(){let n=nl.split(".").map(f=>parseInt(f)),o=(this.version||"").split(".").map(f=>parseInt(f));if(o.length!==2)throw new Error(`The given version (${this.version}) has the wrong format <major>.<minor>!`);if(o[0]!==n[0])throw new Error(`The given version (${this.version})'s major is not compatible with this component's major version (${nl})!`)}validateInputs(){console.log("[BaseWebComponent] validating inputs..."),this.validateVersion();let n=this;if(["language","configName","services"].forEach(o=>{if(n[o]===void 0)throw new Error(`Missing required component input "${o}"!`)}),this.services.cache==null)throw new Error("The given services input does not contain a cache service!");if(this.services.getAccessToken==null)throw new Error("The given services input does not contain a getAccessToken() function!");if(this.services.registerRefreshCallback==null)throw new Error("The given services input does not contain a registerRefreshCallack() function!");console.log("[BaseWebComponent] all inputs validated ok!")}finalizeInitialization(){!this._ngInitDone||!this._ngFirstChangesDone||(this.validateInputs(),console.log(`[BaseWebComponent] host version = [${this.version}], our version = [${nl}]`),this.onInitialized(),this.initialized=!0)}ngOnInit(){console.log("[BaseWebComponent] onInit"),this._ngInitDone||(this._ngInitDone=!0,this.finalizeInitialization())}ngOnChanges(n){console.log("[BaseWebComponent] onChange: ",n),this._ngFirstChangesDone?this.onPropsChanged(n):(this._ngFirstChangesDone=!0,this.finalizeInitialization())}isInitialized(){return this.initialized}onInitialized(){}onPropsChanged(n){}fireError(n,o){this.onError.emit({title:n,text:o})}};Te(e,"ɵfac",function(n){return new(n||e)}),Te(e,"ɵcmp",Mr({type:e,selectors:[["ng-component"]],inputs:{version:"version",language:"language",configName:"configName",services:"services"},outputs:{onError:"onError"},features:[M1],decls:0,vars:0,template:function(n,o){},encapsulation:2}));let u=e;return u})(),Jeu=()=>{let u=["WebView","(iPhone|iPod|iPad)(?!.*Safari)","Android.*(;\\s+wv|Version/\\d.\\d\\s+Chrome/\\d+(\\.0){3})","Linux; U; Android"],e=new RegExp("("+u.join("|")+")","ig");return!!navigator.userAgent.match(e)},hs=class extends Error{};hs.prototype.name="InvalidTokenError";function Qeu(u){return decodeURIComponent(atob(u).replace(/(.)/g,(e,i)=>{let n=i.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}function $eu(u){let e=u.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return Qeu(e)}catch{return atob(e)}}function utu(u,e){if(typeof u!="string")throw new hs("Invalid token specified: must be a string");e||(e={});let i=e.header===!0?0:1,n=u.split(".")[i];if(typeof n!="string")throw new hs(`Invalid token specified: missing part #${i+1}`);let o;try{o=$eu(n)}catch(f){throw new hs(`Invalid token specified: invalid base64 for part #${i+1} (${f.message})`)}try{return JSON.parse(o)}catch(f){throw new hs(`Invalid token specified: invalid json for part #${i+1} (${f.message})`)}}var S6=(()=>{const e=class e{registerAccessToken(n){this.getLocalAccessToken=n}getAccessToken(){return Ha(this.getLocalAccessToken("nihii-vidis"))}getSsin(){return lo(this,null,function*(){return(yield this.decodedToken()).userProfile.ssin})}getPatientInfo(){return lo(this,null,function*(){return(yield this.decodedToken()).userProfile})}decodedToken(){return lo(this,null,function*(){return utu(yield this.getLocalAccessToken("nihii-vidis"))})}};e.ɵfac=function(n){return new(n||e)},e.ɵprov=ft({token:e,factory:e.ɵfac,providedIn:"root"});let u=e;return u})();function etu(u){return u.firstName&&u.lastName?u.firstName+" "+u.lastName:u.name}var ttu={fr:["fr","nl","de","en"],nl:["nl","fr","de","en"],de:["de","fr","nl","en"],en:["en","nl","fr","de"]};function of(u,e){if(u){e=e==null?void 0:e.substring(0,2);for(let i of ttu[e]){let n=u.find(o=>o.lang===i);if(n)return n.value}return u.length>0?u[0].value:"Missing translation"}}var Ut=function(u){return u[u.State=0]="State",u[u.Transition=1]="Transition",u[u.Sequence=2]="Sequence",u[u.Group=3]="Group",u[u.Animate=4]="Animate",u[u.Keyframes=5]="Keyframes",u[u.Style=6]="Style",u[u.Trigger=7]="Trigger",u[u.Reference=8]="Reference",u[u.AnimateChild=9]="AnimateChild",u[u.AnimateRef=10]="AnimateRef",u[u.Query=11]="Query",u[u.Stagger=12]="Stagger",u}(Ut||{}),zi="*";function ntu(u,e){return{type:Ut.Trigger,name:u,definitions:e,options:{}}}function e7(u,e=null){return{type:Ut.Animate,styles:e,timings:u}}function rtu(u,e=null){return{type:Ut.Sequence,steps:u,options:e}}function Es(u){return{type:Ut.Style,styles:u,offset:null}}function t7(u,e,i){return{type:Ut.State,name:u,styles:e,options:i}}function n7(u,e,i=null){return{type:Ut.Transition,expr:u,animation:e,options:i}}var Ts=class{constructor(u=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=u+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(u=>u()),this._onDoneFns=[])}onStart(u){this._originalOnStartFns.push(u),this._onStartFns.push(u)}onDone(u){this._originalOnDoneFns.push(u),this._onDoneFns.push(u)}onDestroy(u){this._onDestroyFns.push(u)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(u=>u()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(u=>u()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(u){this._position=this.totalTime?u*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(u){let e=u=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},sf=class{constructor(u){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=u;let e=0,i=0,n=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(f=>{f.onDone(()=>{++e==o&&this._onFinish()}),f.onDestroy(()=>{++i==o&&this._onDestroy()}),f.onStart(()=>{++n==o&&this._onStart()})}),this.totalTime=this.players.reduce((f,l)=>Math.max(f,l.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(u=>u()),this._onDoneFns=[])}init(){this.players.forEach(u=>u.init())}onStart(u){this._onStartFns.push(u)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(u=>u()),this._onStartFns=[])}onDone(u){this._onDoneFns.push(u)}onDestroy(u){this._onDestroyFns.push(u)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(u=>u.play())}pause(){this.players.forEach(u=>u.pause())}restart(){this.players.forEach(u=>u.restart())}finish(){this._onFinish(),this.players.forEach(u=>u.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(u=>u.destroy()),this._onDestroyFns.forEach(u=>u()),this._onDestroyFns=[])}reset(){this.players.forEach(u=>u.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(u){let e=u*this.totalTime;this.players.forEach(i=>{let n=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(n)})}getPosition(){let u=this.players.reduce((e,i)=>e===null||i.totalTime>e.totalTime?i:e,null);return u!=null?u.getPosition():0}beforeDestroy(){this.players.forEach(u=>{u.beforeDestroy&&u.beforeDestroy()})}triggerCallback(u){let e=u=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},k6="!";function r7(u){return new ct(3e3,!1)}function itu(){return new ct(3100,!1)}function atu(){return new ct(3101,!1)}function otu(u){return new ct(3001,!1)}function stu(u){return new ct(3003,!1)}function ltu(u){return new ct(3004,!1)}function ctu(u,e){return new ct(3005,!1)}function htu(){return new ct(3006,!1)}function dtu(){return new ct(3007,!1)}function ftu(u,e){return new ct(3008,!1)}function ptu(u){return new ct(3002,!1)}function Etu(u,e,i,n,o){return new ct(3010,!1)}function Ctu(){return new ct(3011,!1)}function Ftu(){return new ct(3012,!1)}function Atu(){return new ct(3200,!1)}function gtu(){return new ct(3202,!1)}function Dtu(){return new ct(3013,!1)}function mtu(u){return new ct(3014,!1)}function Btu(u){return new ct(3015,!1)}function vtu(u){return new ct(3016,!1)}function ytu(u,e){return new ct(3404,!1)}function btu(u){return new ct(3502,!1)}function xtu(u){return new ct(3503,!1)}function wtu(){return new ct(3300,!1)}function _tu(u){return new ct(3504,!1)}function Stu(u){return new ct(3301,!1)}function ktu(u,e){return new ct(3302,!1)}function Ptu(u){return new ct(3303,!1)}function Itu(u,e){return new ct(3400,!1)}function Ttu(u){return new ct(3401,!1)}function Otu(u){return new ct(3402,!1)}function Ntu(u,e){return new ct(3505,!1)}function ra(u){switch(u.length){case 0:return new Ts;case 1:return u[0];default:return new sf(u)}}function lf(u,e,i=new Map,n=new Map){let o=[],f=[],l=-1,h=null;if(e.forEach(t=>{let c=t.get("offset"),a=c==l,s=a&&h||new Map;t.forEach((d,p)=>{let E=p,C=d;if(p!=="offset")switch(E=u.normalizePropertyName(E,o),C){case k6:C=i.get(p);break;case zi:C=n.get(p);break;default:C=u.normalizeStyleValue(p,E,C,o);break}s.set(E,C)}),a||f.push(s),h=s,l=c}),o.length)throw btu();return f}function P6(u,e,i,n){switch(e){case"start":u.onStart(()=>n(i&&u5(i,"start",u)));break;case"done":u.onDone(()=>n(i&&u5(i,"done",u)));break;case"destroy":u.onDestroy(()=>n(i&&u5(i,"destroy",u)));break}}function u5(u,e,i){let n=i.totalTime,o=!!i.disabled,f=I6(u.element,u.triggerName,u.fromState,u.toState,e||u.phaseName,n??u.totalTime,o),l=u._data;return l!=null&&(f._data=l),f}function I6(u,e,i,n,o="",f=0,l){return{element:u,triggerName:e,fromState:i,toState:n,phaseName:o,totalTime:f,disabled:!!l}}function Vr(u,e,i){let n=u.get(e);return n||u.set(e,n=i),n}function i7(u){let e=u.indexOf(":"),i=u.substring(1,e),n=u.slice(e+1);return[i,n]}var Rtu=typeof document>"u"?null:document.documentElement;function T6(u){let e=u.parentNode||u.host||null;return e===Rtu?null:e}function Mtu(u){return u.substring(1,6)=="ebkit"}var ba=null,a7=!1;function Ltu(u){ba||(ba=jtu()||{},a7=ba.style?"WebkitAppearance"in ba.style:!1);let e=!0;return ba.style&&!Mtu(u)&&(e=u in ba.style,!e&&a7&&(e="Webkit"+u.charAt(0).toUpperCase()+u.slice(1)in ba.style)),e}function jtu(){return typeof document<"u"?document.body:null}function cf(u,e){for(;e;){if(e===u)return!0;e=T6(e)}return!1}function hf(u,e,i){if(i)return Array.from(u.querySelectorAll(e));let n=u.querySelector(e);return n?[n]:[]}var Vtu=(()=>{const e=class e{validateStyleProperty(n){return Ltu(n)}matchesElement(n,o){return!1}containsElement(n,o){return cf(n,o)}getParentElement(n){return T6(n)}query(n,o,f){return hf(n,o,f)}computeStyle(n,o,f){return f||""}animate(n,o,f,l,h,t=[],c){return new Ts(f,l)}};e.ɵfac=function(n){return new(n||e)},e.ɵprov=ft({token:e,factory:e.ɵfac});let u=e;return u})(),Ao,df=(Ao=class{},Ao.NOOP=new Vtu,Ao),O6=class{},ztu=1e3,ff="{{",Utu="}}",pf="ng-enter",u1="ng-leave",M0="ng-trigger",wl=".ng-trigger",o7="ng-animating",e1=".ng-animating";function Li(u){if(typeof u=="number")return u;let e=u.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:t1(parseFloat(e[1]),e[2])}function t1(u,e){switch(e){case"s":return u*ztu;default:return u}}function _l(u,e,i){return u.hasOwnProperty("duration")?u:Htu(u,e,i)}function Htu(u,e,i){let n=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,o,f=0,l="";if(typeof u=="string"){let h=u.match(n);if(h===null)return e.push(r7()),{duration:0,delay:0,easing:""};o=t1(parseFloat(h[1]),h[2]);let t=h[3];t!=null&&(f=t1(parseFloat(t),h[4]));let c=h[5];c&&(l=c)}else o=u;if(!i){let h=!1,t=e.length;o<0&&(e.push(itu()),h=!0),f<0&&(e.push(atu()),h=!0),h&&e.splice(t,0,r7())}return{duration:o,delay:f,easing:l}}function Gtu(u){return u.length?u[0]instanceof Map?u:u.map(e=>new Map(Object.entries(e))):[]}function vi(u,e,i){e.forEach((n,o)=>{let f=N6(o);i&&!i.has(o)&&i.set(o,u.style[f]),u.style[f]=n})}function Oa(u,e){e.forEach((i,n)=>{let o=N6(n);u.style[o]=""})}function as(u){return Array.isArray(u)?u.length==1?u[0]:rtu(u):u}function qtu(u,e,i){let n=e.params||{},o=Ef(u);o.length&&o.forEach(f=>{n.hasOwnProperty(f)||i.push(otu())})}var n1=new RegExp(`${ff}\\s*(.+?)\\s*${Utu}`,"g");function Ef(u){let e=[];if(typeof u=="string"){let i;for(;i=n1.exec(u);)e.push(i[1]);n1.lastIndex=0}return e}function Os(u,e,i){let n=`${u}`,o=n.replace(n1,(f,l)=>{let h=e[l];return h==null&&(i.push(stu()),h=""),h.toString()});return o==n?u:o}var Wtu=/-+([a-z0-9])/g;function N6(u){return u.replace(Wtu,(...e)=>e[1].toUpperCase())}function Xtu(u,e){return u===0||e===0}function Ytu(u,e,i){if(i.size&&e.length){let n=e[0],o=[];if(i.forEach((f,l)=>{n.has(l)||o.push(l),n.set(l,f)}),o.length)for(let f=1;f<e.length;f++){let l=e[f];o.forEach(h=>l.set(h,R6(u,h)))}}return e}function jr(u,e,i){switch(e.type){case Ut.Trigger:return u.visitTrigger(e,i);case Ut.State:return u.visitState(e,i);case Ut.Transition:return u.visitTransition(e,i);case Ut.Sequence:return u.visitSequence(e,i);case Ut.Group:return u.visitGroup(e,i);case Ut.Animate:return u.visitAnimate(e,i);case Ut.Keyframes:return u.visitKeyframes(e,i);case Ut.Style:return u.visitStyle(e,i);case Ut.Reference:return u.visitReference(e,i);case Ut.AnimateChild:return u.visitAnimateChild(e,i);case Ut.AnimateRef:return u.visitAnimateRef(e,i);case Ut.Query:return u.visitQuery(e,i);case Ut.Stagger:return u.visitStagger(e,i);default:throw ltu(e.type)}}function R6(u,e){return window.getComputedStyle(u)[e]}var Ztu=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),Ktu=class extends O6{normalizePropertyName(u,e){return N6(u)}normalizeStyleValue(u,e,i,n){let o="",f=i.toString().trim();if(Ztu.has(e)&&i!==0&&i!=="0")if(typeof i=="number")o="px";else{let l=i.match(/^[+-]?[\d\.]+([a-z]*)$/);l&&l[1].length==0&&n.push(ctu())}return f+o}},Sl="*";function Jtu(u,e){let i=[];return typeof u=="string"?u.split(/\s*,\s*/).forEach(n=>Qtu(n,i,e)):i.push(u),i}function Qtu(u,e,i){if(u[0]==":"){let t=$tu(u,i);if(typeof t=="function"){e.push(t);return}u=t}let n=u.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(n==null||n.length<4)return i.push(Btu()),e;let o=n[1],f=n[2],l=n[3];e.push(s7(o,l));let h=o==Sl&&l==Sl;f[0]=="<"&&!h&&e.push(s7(l,o))}function $tu(u,e){switch(u){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(i,n)=>parseFloat(n)>parseFloat(i);case":decrement":return(i,n)=>parseFloat(n)<parseFloat(i);default:return e.push(vtu()),"* => *"}}var L0=new Set(["true","1"]),j0=new Set(["false","0"]);function s7(u,e){let i=L0.has(u)||j0.has(u),n=L0.has(e)||j0.has(e);return(o,f)=>{let l=u==Sl||u==o,h=e==Sl||e==f;return!l&&i&&typeof o=="boolean"&&(l=o?L0.has(u):j0.has(u)),!h&&n&&typeof f=="boolean"&&(h=f?L0.has(e):j0.has(e)),l&&h}}var Cf=":self",unu=new RegExp(`s*${Cf}s*,?`,"g");function Ff(u,e,i,n){return new enu(u).build(e,i,n)}var l7="",enu=class{constructor(u){this._driver=u}build(u,e,i){let n=new rnu(e);return this._resetContextStyleTimingState(n),jr(this,as(u),n)}_resetContextStyleTimingState(u){u.currentQuerySelector=l7,u.collectedStyles=new Map,u.collectedStyles.set(l7,new Map),u.currentTime=0}visitTrigger(u,e){let i=e.queryCount=0,n=e.depCount=0,o=[],f=[];return u.name.charAt(0)=="@"&&e.errors.push(htu()),u.definitions.forEach(l=>{if(this._resetContextStyleTimingState(e),l.type==Ut.State){let h=l,t=h.name;t.toString().split(/\s*,\s*/).forEach(c=>{h.name=c,o.push(this.visitState(h,e))}),h.name=t}else if(l.type==Ut.Transition){let h=this.visitTransition(l,e);i+=h.queryCount,n+=h.depCount,f.push(h)}else e.errors.push(dtu())}),{type:Ut.Trigger,name:u.name,states:o,transitions:f,queryCount:i,depCount:n,options:null}}visitState(u,e){let i=this.visitStyle(u.styles,e),n=u.options&&u.options.params||null;if(i.containsDynamicStyles){let o=new Set,f=n||{};i.styles.forEach(l=>{l instanceof Map&&l.forEach(h=>{Ef(h).forEach(t=>{f.hasOwnProperty(t)||o.add(t)})})}),o.size&&e.errors.push(ftu(u.name,[...o.values()]))}return{type:Ut.State,name:u.name,style:i,options:n?{params:n}:null}}visitTransition(u,e){e.queryCount=0,e.depCount=0;let i=jr(this,as(u.animation),e),n=Jtu(u.expr,e.errors);return{type:Ut.Transition,matchers:n,animation:i,queryCount:e.queryCount,depCount:e.depCount,options:xa(u.options)}}visitSequence(u,e){return{type:Ut.Sequence,steps:u.steps.map(i=>jr(this,i,e)),options:xa(u.options)}}visitGroup(u,e){let i=e.currentTime,n=0,o=u.steps.map(f=>{e.currentTime=i;let l=jr(this,f,e);return n=Math.max(n,e.currentTime),l});return e.currentTime=n,{type:Ut.Group,steps:o,options:xa(u.options)}}visitAnimate(u,e){let i=anu(u.timings,e.errors);e.currentAnimateTimings=i;let n,o=u.styles?u.styles:Es({});if(o.type==Ut.Keyframes)n=this.visitKeyframes(o,e);else{let f=u.styles,l=!1;if(!f){l=!0;let t={};i.easing&&(t.easing=i.easing),f=Es(t)}e.currentTime+=i.duration+i.delay;let h=this.visitStyle(f,e);h.isEmptyStep=l,n=h}return e.currentAnimateTimings=null,{type:Ut.Animate,timings:i,style:n,options:null}}visitStyle(u,e){let i=this._makeStyleAst(u,e);return this._validateStyleAst(i,e),i}_makeStyleAst(u,e){let i=[],n=Array.isArray(u.styles)?u.styles:[u.styles];for(let l of n)typeof l=="string"?l===zi?i.push(l):e.errors.push(ptu()):i.push(new Map(Object.entries(l)));let o=!1,f=null;return i.forEach(l=>{if(l instanceof Map&&(l.has("easing")&&(f=l.get("easing"),l.delete("easing")),!o)){for(let h of l.values())if(h.toString().indexOf(ff)>=0){o=!0;break}}}),{type:Ut.Style,styles:i,easing:f,offset:u.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(u,e){let i=e.currentAnimateTimings,n=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),u.styles.forEach(f=>{typeof f!="string"&&f.forEach((l,h)=>{let t=e.collectedStyles.get(e.currentQuerySelector),c=t.get(h),a=!0;c&&(o!=n&&o>=c.startTime&&n<=c.endTime&&(e.errors.push(Etu(h,c.startTime,c.endTime)),a=!1),o=c.startTime),a&&t.set(h,{startTime:o,endTime:n}),e.options&&qtu(l,e.options,e.errors)})})}visitKeyframes(u,e){let i={type:Ut.Keyframes,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(Ctu()),i;let n=1,o=0,f=[],l=!1,h=!1,t=0,c=u.steps.map(A=>{let F=this._makeStyleAst(A,e),D=F.offset!=null?F.offset:inu(F.styles),g=0;return D!=null&&(o++,g=F.offset=D),h=h||g<0||g>1,l=l||g<t,t=g,f.push(g),F});h&&e.errors.push(Ftu()),l&&e.errors.push(Atu());let a=u.steps.length,s=0;o>0&&o<a?e.errors.push(gtu()):o==0&&(s=n/(a-1));let d=a-1,p=e.currentTime,E=e.currentAnimateTimings,C=E.duration;return c.forEach((A,F)=>{let D=s>0?F==d?1:s*F:f[F],g=D*C;e.currentTime=p+E.delay+g,E.duration=g,this._validateStyleAst(A,e),A.offset=D,i.styles.push(A)}),i}visitReference(u,e){return{type:Ut.Reference,animation:jr(this,as(u.animation),e),options:xa(u.options)}}visitAnimateChild(u,e){return e.depCount++,{type:Ut.AnimateChild,options:xa(u.options)}}visitAnimateRef(u,e){return{type:Ut.AnimateRef,animation:this.visitReference(u.animation,e),options:xa(u.options)}}visitQuery(u,e){let i=e.currentQuerySelector,n=u.options||{};e.queryCount++,e.currentQuery=u;let[o,f]=tnu(u.selector);e.currentQuerySelector=i.length?i+" "+o:o,Vr(e.collectedStyles,e.currentQuerySelector,new Map);let l=jr(this,as(u.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:Ut.Query,selector:o,limit:n.limit||0,optional:!!n.optional,includeSelf:f,animation:l,originalSelector:u.selector,options:xa(u.options)}}visitStagger(u,e){e.currentQuery||e.errors.push(Dtu());let i=u.timings==="full"?{duration:0,delay:0,easing:"full"}:_l(u.timings,e.errors,!0);return{type:Ut.Stagger,animation:jr(this,as(u.animation),e),timings:i,options:null}}};function tnu(u){let e=!!u.split(/\s*,\s*/).find(i=>i==Cf);return e&&(u=u.replace(unu,"")),u=u.replace(/@\*/g,wl).replace(/@\w+/g,i=>wl+"-"+i.slice(1)).replace(/:animating/g,e1),[u,e]}function nnu(u){return u?jt({},u):null}var rnu=class{constructor(u){this.errors=u,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function inu(u){if(typeof u=="string")return null;let e=null;if(Array.isArray(u))u.forEach(i=>{if(i instanceof Map&&i.has("offset")){let n=i;e=parseFloat(n.get("offset")),n.delete("offset")}});else if(u instanceof Map&&u.has("offset")){let i=u;e=parseFloat(i.get("offset")),i.delete("offset")}return e}function anu(u,e){if(u.hasOwnProperty("duration"))return u;if(typeof u=="number"){let o=_l(u,e).duration;return e5(o,0,"")}let i=u;if(i.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=e5(0,0,"");return o.dynamic=!0,o.strValue=i,o}let n=_l(i,e);return e5(n.duration,n.delay,n.easing)}function xa(u){return u?(u=jt({},u),u.params&&(u.params=nnu(u.params))):u={},u}function e5(u,e,i){return{duration:u,delay:e,easing:i}}function M6(u,e,i,n,o,f,l=null,h=!1){return{type:1,element:u,keyframes:e,preStyleProps:i,postStyleProps:n,duration:o,delay:f,totalTime:o+f,easing:l,subTimeline:h}}var L6=class{constructor(){this._map=new Map}get(u){return this._map.get(u)||[]}append(u,e){let i=this._map.get(u);i||this._map.set(u,i=[]),i.push(...e)}has(u){return this._map.has(u)}clear(){this._map.clear()}},onu=1,snu=":enter",lnu=new RegExp(snu,"g"),cnu=":leave",hnu=new RegExp(cnu,"g");function Af(u,e,i,n,o,f=new Map,l=new Map,h,t,c=[]){return new dnu().buildKeyframes(u,e,i,n,o,f,l,h,t,c)}var dnu=class{buildKeyframes(u,e,i,n,o,f,l,h,t,c=[]){t=t||new L6;let a=new fnu(u,e,t,n,o,c,[]);a.options=h;let s=h.delay?Li(h.delay):0;a.currentTimeline.delayNextStep(s),a.currentTimeline.setStyles([f],null,a.errors,h),jr(this,i,a);let d=a.timelines.filter(p=>p.containsAnimation());if(d.length&&l.size){let p;for(let E=d.length-1;E>=0;E--){let C=d[E];if(C.element===e){p=C;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([l],null,a.errors,h)}return d.length?d.map(p=>p.buildKeyframes()):[M6(e,[],[],[],0,s,"",!1)]}visitTrigger(u,e){}visitState(u,e){}visitTransition(u,e){}visitAnimateChild(u,e){let i=e.subInstructions.get(e.element);if(i){let n=e.createSubContext(u.options),o=e.currentTimeline.currentTime,f=this._visitSubInstructions(i,n,n.options);o!=f&&e.transformIntoNewTimeline(f)}e.previousNode=u}visitAnimateRef(u,e){let i=e.createSubContext(u.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([u.options,u.animation.options],e,i),this.visitReference(u.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=u}_applyAnimationRefDelays(u,e,i){for(let n of u){let o=n==null?void 0:n.delay;if(o){let f=typeof o=="number"?o:Li(Os(o,(n==null?void 0:n.params)??{},e.errors));i.delayNextStep(f)}}}_visitSubInstructions(u,e,i){let n=e.currentTimeline.currentTime,o=i.duration!=null?Li(i.duration):null,f=i.delay!=null?Li(i.delay):null;return o!==0&&u.forEach(l=>{let h=e.appendInstructionToTimeline(l,o,f);n=Math.max(n,h.duration+h.delay)}),n}visitReference(u,e){e.updateOptions(u.options,!0),jr(this,u.animation,e),e.previousNode=u}visitSequence(u,e){let i=e.subContextCount,n=e,o=u.options;if(o&&(o.params||o.delay)&&(n=e.createSubContext(o),n.transformIntoNewTimeline(),o.delay!=null)){n.previousNode.type==Ut.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=kl);let f=Li(o.delay);n.delayNextStep(f)}u.steps.length&&(u.steps.forEach(f=>jr(this,f,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>i&&n.transformIntoNewTimeline()),e.previousNode=u}visitGroup(u,e){let i=[],n=e.currentTimeline.currentTime,o=u.options&&u.options.delay?Li(u.options.delay):0;u.steps.forEach(f=>{let l=e.createSubContext(u.options);o&&l.delayNextStep(o),jr(this,f,l),n=Math.max(n,l.currentTimeline.currentTime),i.push(l.currentTimeline)}),i.forEach(f=>e.currentTimeline.mergeTimelineCollectedStyles(f)),e.transformIntoNewTimeline(n),e.previousNode=u}_visitTiming(u,e){if(u.dynamic){let i=u.strValue,n=e.params?Os(i,e.params,e.errors):i;return _l(n,e.errors)}else return{duration:u.duration,delay:u.delay,easing:u.easing}}visitAnimate(u,e){let i=e.currentAnimateTimings=this._visitTiming(u.timings,e),n=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),n.snapshotCurrentStyles());let o=u.style;o.type==Ut.Keyframes?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),n.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=u}visitStyle(u,e){let i=e.currentTimeline,n=e.currentAnimateTimings;!n&&i.hasCurrentStyleProperties()&&i.forwardFrame();let o=n&&n.easing||u.easing;u.isEmptyStep?i.applyEmptyStep(o):i.setStyles(u.styles,o,e.errors,e.options),e.previousNode=u}visitKeyframes(u,e){let i=e.currentAnimateTimings,n=e.currentTimeline.duration,o=i.duration,f=e.createSubContext().currentTimeline;f.easing=i.easing,u.styles.forEach(l=>{let h=l.offset||0;f.forwardTime(h*o),f.setStyles(l.styles,l.easing,e.errors,e.options),f.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(f),e.transformIntoNewTimeline(n+o),e.previousNode=u}visitQuery(u,e){let i=e.currentTimeline.currentTime,n=u.options||{},o=n.delay?Li(n.delay):0;o&&(e.previousNode.type===Ut.Style||i==0&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=kl);let f=i,l=e.invokeQuery(u.selector,u.originalSelector,u.limit,u.includeSelf,!!n.optional,e.errors);e.currentQueryTotal=l.length;let h=null;l.forEach((t,c)=>{e.currentQueryIndex=c;let a=e.createSubContext(u.options,t);o&&a.delayNextStep(o),t===e.element&&(h=a.currentTimeline),jr(this,u.animation,a),a.currentTimeline.applyStylesToKeyframe();let s=a.currentTimeline.currentTime;f=Math.max(f,s)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(f),h&&(e.currentTimeline.mergeTimelineCollectedStyles(h),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=u}visitStagger(u,e){let i=e.parentContext,n=e.currentTimeline,o=u.timings,f=Math.abs(o.duration),l=f*(e.currentQueryTotal-1),h=f*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":h=l-h;break;case"full":h=i.currentStaggerTime;break}let t=e.currentTimeline;h&&t.delayNextStep(h);let c=t.currentTime;jr(this,u.animation,e),e.previousNode=u,i.currentStaggerTime=n.currentTime-c+(n.startTime-i.currentTimeline.startTime)}},kl={},fnu=class gf{constructor(e,i,n,o,f,l,h,t){this._driver=e,this.element=i,this.subInstructions=n,this._enterClassName=o,this._leaveClassName=f,this.errors=l,this.timelines=h,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=kl,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=t||new Df(this._driver,i,0),h.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,i){if(!e)return;let n=e,o=this.options;n.duration!=null&&(o.duration=Li(n.duration)),n.delay!=null&&(o.delay=Li(n.delay));let f=n.params;if(f){let l=o.params;l||(l=this.options.params={}),Object.keys(f).forEach(h=>{(!i||!l.hasOwnProperty(h))&&(l[h]=Os(f[h],l,this.errors))})}}_copyOptions(){let e={};if(this.options){let i=this.options.params;if(i){let n=e.params={};Object.keys(i).forEach(o=>{n[o]=i[o]})}}return e}createSubContext(e=null,i,n){let o=i||this.element,f=new gf(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,n||0));return f.previousNode=this.previousNode,f.currentAnimateTimings=this.currentAnimateTimings,f.options=this._copyOptions(),f.updateOptions(e),f.currentQueryIndex=this.currentQueryIndex,f.currentQueryTotal=this.currentQueryTotal,f.parentContext=this,this.subContextCount++,f}transformIntoNewTimeline(e){return this.previousNode=kl,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,i,n){let o={duration:i??e.duration,delay:this.currentTimeline.currentTime+(n??0)+e.delay,easing:""},f=new pnu(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,o,e.stretchStartingKeyframe);return this.timelines.push(f),o}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,i,n,o,f,l){let h=[];if(o&&h.push(this.element),e.length>0){e=e.replace(lnu,"."+this._enterClassName),e=e.replace(hnu,"."+this._leaveClassName);let t=n!=1,c=this._driver.query(this.element,e,t);n!==0&&(c=n<0?c.slice(c.length+n,c.length):c.slice(0,n)),h.push(...c)}return!f&&h.length==0&&l.push(mtu()),h}},Df=class mf{constructor(e,i,n,o){this._driver=e,this.element=i,this.startTime=n,this._elementTimelineStylesLookup=o,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(i),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(i,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let i=this._keyframes.size===1&&this._pendingStyles.size;this.duration||i?(this.forwardTime(this.currentTime+e),i&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,i){return this.applyStylesToKeyframe(),new mf(this._driver,e,i||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=onu,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,i){this._localTimelineStyles.set(e,i),this._globalTimelineStyles.set(e,i),this._styleSummary.set(e,{time:this.currentTime,value:i})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[i,n]of this._globalTimelineStyles)this._backFill.set(i,n||zi),this._currentKeyframe.set(i,zi);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,i,n,o){i&&this._previousKeyframe.set("easing",i);let f=o&&o.params||{},l=Enu(e,this._globalTimelineStyles);for(let[h,t]of l){let c=Os(t,f,n);this._pendingStyles.set(h,c),this._localTimelineStyles.has(h)||this._backFill.set(h,this._globalTimelineStyles.get(h)??zi),this._updateStyle(h,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,i)=>{this._currentKeyframe.set(i,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,i)=>{this._currentKeyframe.has(i)||this._currentKeyframe.set(i,e)}))}snapshotCurrentStyles(){for(let[e,i]of this._localTimelineStyles)this._pendingStyles.set(e,i),this._updateStyle(e,i)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let i in this._currentKeyframe)e.push(i);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((i,n)=>{let o=this._styleSummary.get(n);(!o||i.time>o.time)&&this._updateStyle(n,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,i=new Set,n=this._keyframes.size===1&&this.duration===0,o=[];this._keyframes.forEach((h,t)=>{let c=new Map([...this._backFill,...h]);c.forEach((a,s)=>{a===k6?e.add(s):a===zi&&i.add(s)}),n||c.set("offset",t/this.duration),o.push(c)});let f=[...e.values()],l=[...i.values()];if(n){let h=o[0],t=new Map(h);h.set("offset",0),t.set("offset",1),o=[h,t]}return M6(this.element,o,f,l,this.duration,this.startTime,this.easing,!1)}},pnu=class extends Df{constructor(u,e,i,n,o,f,l=!1){super(u,e,f.delay),this.keyframes=i,this.preStyleProps=n,this.postStyleProps=o,this._stretchStartingKeyframe=l,this.timings={duration:f.duration,delay:f.delay,easing:f.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let u=this.keyframes,{delay:e,duration:i,easing:n}=this.timings;if(this._stretchStartingKeyframe&&e){let o=[],f=i+e,l=e/f,h=new Map(u[0]);h.set("offset",0),o.push(h);let t=new Map(u[0]);t.set("offset",c7(l)),o.push(t);let c=u.length-1;for(let a=1;a<=c;a++){let s=new Map(u[a]),d=s.get("offset"),p=e+d*i;s.set("offset",c7(p/f)),o.push(s)}i=f,e=0,n="",u=o}return M6(this.element,u,this.preStyleProps,this.postStyleProps,i,e,n,!0)}};function c7(u,e=3){let i=Math.pow(10,e-1);return Math.round(u*i)/i}function Enu(u,e){let i=new Map,n;return u.forEach(o=>{if(o==="*"){n??(n=e.keys());for(let f of n)i.set(f,zi)}else for(let[f,l]of o)i.set(f,l)}),i}function h7(u,e,i,n,o,f,l,h,t,c,a,s,d){return{type:0,element:u,triggerName:e,isRemovalTransition:o,fromState:i,fromStyles:f,toState:n,toStyles:l,timelines:h,queriedElements:t,preStyleProps:c,postStyleProps:a,totalTime:s,errors:d}}var t5={},Bf=class{constructor(u,e,i){this._triggerName=u,this.ast=e,this._stateStyles=i}match(u,e,i,n){return Cnu(this.ast.matchers,u,e,i,n)}buildStyles(u,e,i){let n=this._stateStyles.get("*");return u!==void 0&&(n=this._stateStyles.get(u==null?void 0:u.toString())||n),n?n.buildStyles(e,i):new Map}build(u,e,i,n,o,f,l,h,t,c){var x;let a=[],s=this.ast.options&&this.ast.options.params||t5,d=l&&l.params||t5,p=this.buildStyles(i,d,a),E=h&&h.params||t5,C=this.buildStyles(n,E,a),A=new Set,F=new Map,D=new Map,g=n==="void",B={params:vf(E,s),delay:(x=this.ast.options)==null?void 0:x.delay},r=c?[]:Af(u,e,this.ast.animation,o,f,p,C,B,t,a),m=0;return r.forEach(M=>{m=Math.max(M.duration+M.delay,m)}),a.length?h7(e,this._triggerName,i,n,g,p,C,[],[],F,D,m,a):(r.forEach(M=>{let k=M.element,P=Vr(F,k,new Set);M.preStyleProps.forEach(_=>P.add(_));let v=Vr(D,k,new Set);M.postStyleProps.forEach(_=>v.add(_)),k!==e&&A.add(k)}),h7(e,this._triggerName,i,n,g,p,C,r,[...A.values()],F,D,m))}};function Cnu(u,e,i,n,o){return u.some(f=>f(e,i,n,o))}function vf(u,e){let i=jt({},e);return Object.entries(u).forEach(([n,o])=>{o!=null&&(i[n]=o)}),i}var Fnu=class{constructor(u,e,i){this.styles=u,this.defaultParams=e,this.normalizer=i}buildStyles(u,e){let i=new Map,n=vf(u,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((f,l)=>{f&&(f=Os(f,n,e));let h=this.normalizer.normalizePropertyName(l,e);f=this.normalizer.normalizeStyleValue(l,h,f,e),i.set(l,f)})}),i}};function Anu(u,e,i){return new gnu(u,e,i)}var gnu=class{constructor(u,e,i){this.name=u,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(n=>{let o=n.options&&n.options.params||{};this.states.set(n.name,new Fnu(n.style,o,i))}),d7(this.states,"true","1"),d7(this.states,"false","0"),e.transitions.forEach(n=>{this.transitionFactories.push(new Bf(u,n,this.states))}),this.fallbackTransition=Dnu(u,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(u,e,i,n){return this.transitionFactories.find(o=>o.match(u,e,i,n))||null}matchStyles(u,e,i){return this.fallbackTransition.buildStyles(u,e,i)}};function Dnu(u,e,i){let n=[(l,h)=>!0],o={type:Ut.Sequence,steps:[],options:null},f={type:Ut.Transition,animation:o,matchers:n,options:null,queryCount:0,depCount:0};return new Bf(u,f,e)}function d7(u,e,i){u.has(e)?u.has(i)||u.set(i,u.get(e)):u.has(i)&&u.set(e,u.get(i))}var mnu=new L6,Bnu=class{constructor(u,e,i){this.bodyNode=u,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(u,e){let i=[],n=[],o=Ff(this._driver,e,i,n);if(i.length)throw xtu();n.length,this._animations.set(u,o)}_buildPlayer(u,e,i){let n=u.element,o=lf(this._normalizer,u.keyframes,e,i);return this._driver.animate(n,o,u.duration,u.delay,u.easing,[],!0)}create(u,e,i={}){let n=[],o=this._animations.get(u),f,l=new Map;if(o?(f=Af(this._driver,e,o,pf,u1,new Map,new Map,i,mnu,n),f.forEach(c=>{let a=Vr(l,c.element,new Map);c.postStyleProps.forEach(s=>a.set(s,null))})):(n.push(wtu()),f=[]),n.length)throw _tu();l.forEach((c,a)=>{c.forEach((s,d)=>{c.set(d,this._driver.computeStyle(a,d,zi))})});let h=f.map(c=>{let a=l.get(c.element);return this._buildPlayer(c,new Map,a)}),t=ra(h);return this._playersById.set(u,t),t.onDestroy(()=>this.destroy(u)),this.players.push(t),t}destroy(u){let e=this._getPlayer(u);e.destroy(),this._playersById.delete(u);let i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(u){let e=this._playersById.get(u);if(!e)throw Stu();return e}listen(u,e,i,n){let o=I6(e,"","","");return P6(this._getPlayer(u),i,o,n),()=>{}}command(u,e,i,n){if(i=="register"){this.register(u,n[0]);return}if(i=="create"){let f=n[0]||{};this.create(u,e,f);return}let o=this._getPlayer(u);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(u);break}}},f7="ng-animate-queued",vnu=".ng-animate-queued",n5="ng-animate-disabled",ynu=".ng-animate-disabled",bnu="ng-star-inserted",xnu=".ng-star-inserted",wnu=[],yf={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},_nu={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},si="__ng_removed",r1=class{get params(){return this.options.params}constructor(u,e=""){this.namespaceId=e;let i=u&&u.hasOwnProperty("value"),n=i?u.value:u;if(this.value=Inu(n),i){let o=u,{value:f}=o,l=Rq(o,["value"]);this.options=l}else this.options={};this.options.params||(this.options.params={})}absorbOptions(u){let e=u.params;if(e){let i=this.options.params;Object.keys(e).forEach(n=>{i[n]==null&&(i[n]=e[n])})}}},Cs="void",r5=new r1(Cs),Snu=class{constructor(u,e,i){this.id=u,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+u,Yr(e,this._hostClassName)}listen(u,e,i,n){if(!this._triggers.has(e))throw ktu();if(i==null||i.length==0)throw Ptu();if(!Tnu(i))throw Itu();let o=Vr(this._elementListeners,u,[]),f={name:e,phase:i,callback:n};o.push(f);let l=Vr(this._engine.statesByElement,u,new Map);return l.has(e)||(Yr(u,M0),Yr(u,M0+"-"+e),l.set(e,r5)),()=>{this._engine.afterFlush(()=>{let h=o.indexOf(f);h>=0&&o.splice(h,1),this._triggers.has(e)||l.delete(e)})}}register(u,e){return this._triggers.has(u)?!1:(this._triggers.set(u,e),!0)}_getTrigger(u){let e=this._triggers.get(u);if(!e)throw Ttu();return e}trigger(u,e,i,n=!0){let o=this._getTrigger(e),f=new i1(this.id,e,u),l=this._engine.statesByElement.get(u);l||(Yr(u,M0),Yr(u,M0+"-"+e),this._engine.statesByElement.set(u,l=new Map));let h=l.get(e),t=new r1(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&h&&t.absorbOptions(h.options),l.set(e,t),h||(h=r5),t.value!==Cs&&h.value===t.value){if(!Rnu(h.params,t.params)){let d=[],p=o.matchStyles(h.value,h.params,d),E=o.matchStyles(t.value,t.params,d);d.length?this._engine.reportError(d):this._engine.afterFlush(()=>{Oa(u,p),vi(u,E)})}return}let c=Vr(this._engine.playersByElement,u,[]);c.forEach(d=>{d.namespaceId==this.id&&d.triggerName==e&&d.queued&&d.destroy()});let a=o.matchTransition(h.value,t.value,u,t.params),s=!1;if(!a){if(!n)return;a=o.fallbackTransition,s=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:u,triggerName:e,transition:a,fromState:h,toState:t,player:f,isFallbackTransition:s}),s||(Yr(u,f7),f.onStart(()=>{no(u,f7)})),f.onDone(()=>{let d=this.players.indexOf(f);d>=0&&this.players.splice(d,1);let p=this._engine.playersByElement.get(u);if(p){let E=p.indexOf(f);E>=0&&p.splice(E,1)}}),this.players.push(f),c.push(f),f}deregister(u){this._triggers.delete(u),this._engine.statesByElement.forEach(e=>e.delete(u)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(n=>n.name!=u))})}clearElementCache(u){this._engine.statesByElement.delete(u),this._elementListeners.delete(u);let e=this._engine.playersByElement.get(u);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(u))}_signalRemovalForInnerTriggers(u,e){let i=this._engine.driver.query(u,wl,!0);i.forEach(n=>{if(n[si])return;let o=this._engine.fetchNamespacesByElement(n);o.size?o.forEach(f=>f.triggerLeaveAnimation(n,e,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(u,e,i,n){let o=this._engine.statesByElement.get(u),f=new Map;if(o){let l=[];if(o.forEach((h,t)=>{if(f.set(t,h.value),this._triggers.has(t)){let c=this.trigger(u,t,Cs,n);c&&l.push(c)}}),l.length)return this._engine.markElementAsRemoved(this.id,u,!0,e,f),i&&ra(l).onDone(()=>this._engine.processLeaveNode(u)),!0}return!1}prepareLeaveAnimationListeners(u){let e=this._elementListeners.get(u),i=this._engine.statesByElement.get(u);if(e&&i){let n=new Set;e.forEach(o=>{let f=o.name;if(n.has(f))return;n.add(f);let l=this._triggers.get(f).fallbackTransition,h=i.get(f)||r5,t=new r1(Cs),c=new i1(this.id,f,u);this._engine.totalQueuedPlayers++,this._queue.push({element:u,triggerName:f,transition:l,fromState:h,toState:t,player:c,isFallbackTransition:!0})})}}removeNode(u,e){let i=this._engine;if(u.childElementCount&&this._signalRemovalForInnerTriggers(u,e),this.triggerLeaveAnimation(u,e,!0))return;let n=!1;if(i.totalAnimations){let o=i.players.length?i.playersByQueriedElement.get(u):[];if(o&&o.length)n=!0;else{let f=u;for(;f=f.parentNode;)if(i.statesByElement.get(f)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(u),n)i.markElementAsRemoved(this.id,u,!1,e);else{let o=u[si];(!o||o===yf)&&(i.afterFlush(()=>this.clearElementCache(u)),i.destroyInnerAnimations(u),i._onRemovalComplete(u,e))}}insertNode(u,e){Yr(u,this._hostClassName)}drainQueuedTransitions(u){let e=[];return this._queue.forEach(i=>{let n=i.player;if(n.destroyed)return;let o=i.element,f=this._elementListeners.get(o);f&&f.forEach(l=>{if(l.name==i.triggerName){let h=I6(o,i.triggerName,i.fromState.value,i.toState.value);h._data=u,P6(i.player,l.phase,h,l.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):e.push(i)}),this._queue=[],e.sort((i,n)=>{let o=i.transition.ast.depCount,f=n.transition.ast.depCount;return o==0||f==0?o-f:this._engine.driver.containsElement(i.element,n.element)?1:-1})}destroy(u){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,u)}},knu=class{_onRemovalComplete(u,e){this.onRemovalComplete(u,e)}constructor(u,e,i,n){this.bodyNode=u,this.driver=e,this._normalizer=i,this.scheduler=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(o,f)=>{}}get queuedPlayers(){let u=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&u.push(i)})}),u}createNamespace(u,e){let i=new Snu(u,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[u]=i}_balanceNamespaceList(u,e){let i=this._namespaceList,n=this.namespacesByHostElement;if(i.length-1>=0){let o=!1,f=this.driver.getParentElement(e);for(;f;){let l=n.get(f);if(l){let h=i.indexOf(l);i.splice(h+1,0,u),o=!0;break}f=this.driver.getParentElement(f)}o||i.unshift(u)}else i.push(u);return n.set(e,u),u}register(u,e){let i=this._namespaceLookup[u];return i||(i=this.createNamespace(u,e)),i}registerTrigger(u,e,i){let n=this._namespaceLookup[u];n&&n.register(e,i)&&this.totalAnimations++}destroy(u,e){u&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let i=this._fetchNamespace(u);this.namespacesByHostElement.delete(i.hostElement);let n=this._namespaceList.indexOf(i);n>=0&&this._namespaceList.splice(n,1),i.destroy(e),delete this._namespaceLookup[u]}))}_fetchNamespace(u){return this._namespaceLookup[u]}fetchNamespacesByElement(u){let e=new Set,i=this.statesByElement.get(u);if(i){for(let n of i.values())if(n.namespaceId){let o=this._fetchNamespace(n.namespaceId);o&&e.add(o)}}return e}trigger(u,e,i,n){if(V0(e)){let o=this._fetchNamespace(u);if(o)return o.trigger(e,i,n),!0}return!1}insertNode(u,e,i,n){if(!V0(e))return;let o=e[si];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let f=this.collectedLeaveElements.indexOf(e);f>=0&&this.collectedLeaveElements.splice(f,1)}if(u){let f=this._fetchNamespace(u);f&&f.insertNode(e,i)}n&&this.collectEnterElement(e)}collectEnterElement(u){this.collectedEnterElements.push(u)}markElementAsDisabled(u,e){e?this.disabledNodes.has(u)||(this.disabledNodes.add(u),Yr(u,n5)):this.disabledNodes.has(u)&&(this.disabledNodes.delete(u),no(u,n5))}removeNode(u,e,i){var n;if(V0(e)){(n=this.scheduler)==null||n.notify();let o=u?this._fetchNamespace(u):null;o?o.removeNode(e,i):this.markElementAsRemoved(u,e,!1,i);let f=this.namespacesByHostElement.get(e);f&&f.id!==u&&f.removeNode(e,i)}else this._onRemovalComplete(e,i)}markElementAsRemoved(u,e,i,n,o){this.collectedLeaveElements.push(e),e[si]={namespaceId:u,setForRemoval:n,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(u,e,i,n,o){return V0(e)?this._fetchNamespace(u).listen(e,i,n,o):()=>{}}_buildInstruction(u,e,i,n,o){return u.transition.build(this.driver,u.element,u.fromState.value,u.toState.value,i,n,u.fromState.options,u.toState.options,e,o)}destroyInnerAnimations(u){let e=this.driver.query(u,wl,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),this.playersByQueriedElement.size!=0&&(e=this.driver.query(u,e1,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(u){let e=this.playersByElement.get(u);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(u){let e=this.playersByQueriedElement.get(u);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(u=>{if(this.players.length)return ra(this.players).onDone(()=>u());u()})}processLeaveNode(u){var i;let e=u[si];if(e&&e.setForRemoval){if(u[si]=yf,e.namespaceId){this.destroyInnerAnimations(u);let n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(u)}this._onRemovalComplete(u,e.setForRemoval)}(i=u.classList)!=null&&i.contains(n5)&&this.markElementAsDisabled(u,!1),this.driver.query(u,ynu,!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(u=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,n)=>this._balanceNamespaceList(i,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++){let n=this.collectedEnterElements[i];Yr(n,bnu)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let i=[];try{e=this._flushAnimations(i,u)}finally{for(let n=0;n<i.length;n++)i[n]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++){let n=this.collectedLeaveElements[i];this.processLeaveNode(n)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){let i=this._whenQuietFns;this._whenQuietFns=[],e.length?ra(e).onDone(()=>{i.forEach(n=>n())}):i.forEach(n=>n())}}reportError(u){throw Otu()}_flushAnimations(u,e){let i=new L6,n=[],o=new Map,f=[],l=new Map,h=new Map,t=new Map,c=new Set;this.disabledNodes.forEach(w=>{c.add(w);let S=this.driver.query(w,vnu,!0);for(let N=0;N<S.length;N++)c.add(S[N])});let a=this.bodyNode,s=Array.from(this.statesByElement.keys()),d=C7(s,this.collectedEnterElements),p=new Map,E=0;d.forEach((w,S)=>{let N=pf+E++;p.set(S,N),w.forEach(j=>Yr(j,N))});let C=[],A=new Set,F=new Set;for(let w=0;w<this.collectedLeaveElements.length;w++){let S=this.collectedLeaveElements[w],N=S[si];N&&N.setForRemoval&&(C.push(S),A.add(S),N.hasAnimation?this.driver.query(S,xnu,!0).forEach(j=>A.add(j)):F.add(S))}let D=new Map,g=C7(s,Array.from(A));g.forEach((w,S)=>{let N=u1+E++;D.set(S,N),w.forEach(j=>Yr(j,N))}),u.push(()=>{d.forEach((w,S)=>{let N=p.get(S);w.forEach(j=>no(j,N))}),g.forEach((w,S)=>{let N=D.get(S);w.forEach(j=>no(j,N))}),C.forEach(w=>{this.processLeaveNode(w)})});let B=[],r=[];for(let w=this._namespaceList.length-1;w>=0;w--)this._namespaceList[w].drainQueuedTransitions(e).forEach(S=>{let N=S.player,j=S.element;if(B.push(N),this.collectedEnterElements.length){let Iu=j[si];if(Iu&&Iu.setForMove){if(Iu.previousTriggersValues&&Iu.previousTriggersValues.has(S.triggerName)){let Mu=Iu.previousTriggersValues.get(S.triggerName),Pu=this.statesByElement.get(S.element);if(Pu&&Pu.has(S.triggerName)){let Zu=Pu.get(S.triggerName);Zu.value=Mu,Pu.set(S.triggerName,Zu)}}N.destroy();return}}let z=!a||!this.driver.containsElement(a,j),tu=D.get(j),pu=p.get(j),lu=this._buildInstruction(S,i,pu,tu,z);if(lu.errors&&lu.errors.length){r.push(lu);return}if(z){N.onStart(()=>Oa(j,lu.fromStyles)),N.onDestroy(()=>vi(j,lu.toStyles)),n.push(N);return}if(S.isFallbackTransition){N.onStart(()=>Oa(j,lu.fromStyles)),N.onDestroy(()=>vi(j,lu.toStyles)),n.push(N);return}let fu=[];lu.timelines.forEach(Iu=>{Iu.stretchStartingKeyframe=!0,this.disabledNodes.has(Iu.element)||fu.push(Iu)}),lu.timelines=fu,i.append(j,lu.timelines);let _u={instruction:lu,player:N,element:j};f.push(_u),lu.queriedElements.forEach(Iu=>Vr(l,Iu,[]).push(N)),lu.preStyleProps.forEach((Iu,Mu)=>{if(Iu.size){let Pu=h.get(Mu);Pu||h.set(Mu,Pu=new Set),Iu.forEach((Zu,ju)=>Pu.add(ju))}}),lu.postStyleProps.forEach((Iu,Mu)=>{let Pu=t.get(Mu);Pu||t.set(Mu,Pu=new Set),Iu.forEach((Zu,ju)=>Pu.add(ju))})});if(r.length){let w=[];r.forEach(S=>{w.push(Ntu(S.triggerName,S.errors))}),B.forEach(S=>S.destroy()),this.reportError(w)}let m=new Map,x=new Map;f.forEach(w=>{let S=w.element;i.has(S)&&(x.set(S,S),this._beforeAnimationBuild(w.player.namespaceId,w.instruction,m))}),n.forEach(w=>{let S=w.element;this._getPreviousPlayers(S,!1,w.namespaceId,w.triggerName,null).forEach(N=>{Vr(m,S,[]).push(N),N.destroy()})});let M=C.filter(w=>F7(w,h,t)),k=new Map;E7(k,this.driver,F,t,zi).forEach(w=>{F7(w,h,t)&&M.push(w)});let P=new Map;d.forEach((w,S)=>{E7(P,this.driver,new Set(w),h,k6)}),M.forEach(w=>{let S=k.get(w),N=P.get(w);k.set(w,new Map([...(S==null?void 0:S.entries())??[],...(N==null?void 0:N.entries())??[]]))});let v=[],_=[],b={};f.forEach(w=>{let{element:S,player:N,instruction:j}=w;if(i.has(S)){if(c.has(S)){N.onDestroy(()=>vi(S,j.toStyles)),N.disabled=!0,N.overrideTotalTime(j.totalTime),n.push(N);return}let z=b;if(x.size>1){let pu=S,lu=[];for(;pu=pu.parentNode;){let fu=x.get(pu);if(fu){z=fu;break}lu.push(pu)}lu.forEach(fu=>x.set(fu,z))}let tu=this._buildAnimation(N.namespaceId,j,m,o,P,k);if(N.setRealPlayer(tu),z===b)v.push(N);else{let pu=this.playersByElement.get(z);pu&&pu.length&&(N.parentPlayer=ra(pu)),n.push(N)}}else Oa(S,j.fromStyles),N.onDestroy(()=>vi(S,j.toStyles)),_.push(N),c.has(S)&&n.push(N)}),_.forEach(w=>{let S=o.get(w.element);if(S&&S.length){let N=ra(S);w.setRealPlayer(N)}}),n.forEach(w=>{w.parentPlayer?w.syncPlayerEvents(w.parentPlayer):w.destroy()});for(let w=0;w<C.length;w++){let S=C[w],N=S[si];if(no(S,u1),N&&N.hasAnimation)continue;let j=[];if(l.size){let tu=l.get(S);tu&&tu.length&&j.push(...tu);let pu=this.driver.query(S,e1,!0);for(let lu=0;lu<pu.length;lu++){let fu=l.get(pu[lu]);fu&&fu.length&&j.push(...fu)}}let z=j.filter(tu=>!tu.destroyed);z.length?Onu(this,S,z):this.processLeaveNode(S)}return C.length=0,v.forEach(w=>{this.players.push(w),w.onDone(()=>{w.destroy();let S=this.players.indexOf(w);this.players.splice(S,1)}),w.play()}),v}afterFlush(u){this._flushFns.push(u)}afterFlushAnimationsDone(u){this._whenQuietFns.push(u)}_getPreviousPlayers(u,e,i,n,o){let f=[];if(e){let l=this.playersByQueriedElement.get(u);l&&(f=l)}else{let l=this.playersByElement.get(u);if(l){let h=!o||o==Cs;l.forEach(t=>{t.queued||!h&&t.triggerName!=n||f.push(t)})}}return(i||n)&&(f=f.filter(l=>!(i&&i!=l.namespaceId||n&&n!=l.triggerName))),f}_beforeAnimationBuild(u,e,i){let n=e.triggerName,o=e.element,f=e.isRemovalTransition?void 0:u,l=e.isRemovalTransition?void 0:n;for(let h of e.timelines){let t=h.element,c=t!==o,a=Vr(i,t,[]);this._getPreviousPlayers(t,c,f,l,e.toState).forEach(s=>{let d=s.getRealPlayer();d.beforeDestroy&&d.beforeDestroy(),s.destroy(),a.push(s)})}Oa(o,e.fromStyles)}_buildAnimation(u,e,i,n,o,f){let l=e.triggerName,h=e.element,t=[],c=new Set,a=new Set,s=e.timelines.map(p=>{let E=p.element;c.add(E);let C=E[si];if(C&&C.removedBeforeQueried)return new Ts(p.duration,p.delay);let A=E!==h,F=Nnu((i.get(E)||wnu).map(m=>m.getRealPlayer())).filter(m=>{let x=m;return x.element?x.element===E:!1}),D=o.get(E),g=f.get(E),B=lf(this._normalizer,p.keyframes,D,g),r=this._buildPlayer(p,B,F);if(p.subTimeline&&n&&a.add(E),A){let m=new i1(u,l,E);m.setRealPlayer(r),t.push(m)}return r});t.forEach(p=>{Vr(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>Pnu(this.playersByQueriedElement,p.element,p))}),c.forEach(p=>Yr(p,o7));let d=ra(s);return d.onDestroy(()=>{c.forEach(p=>no(p,o7)),vi(h,e.toStyles)}),a.forEach(p=>{Vr(n,p,[]).push(d)}),d}_buildPlayer(u,e,i){return e.length>0?this.driver.animate(u.element,e,u.duration,u.delay,u.easing,i):new Ts(u.duration,u.delay)}},i1=class{constructor(u,e,i){this.namespaceId=u,this.triggerName=e,this.element=i,this._player=new Ts,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(u){this._containsRealPlayer||(this._player=u,this._queuedCallbacks.forEach((e,i)=>{e.forEach(n=>P6(u,i,void 0,n))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(u.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(u){this.totalTime=u}syncPlayerEvents(u){let e=this._player;e.triggerCallback&&u.onStart(()=>e.triggerCallback("start")),u.onDone(()=>this.finish()),u.onDestroy(()=>this.destroy())}_queueEvent(u,e){Vr(this._queuedCallbacks,u,[]).push(e)}onDone(u){this.queued&&this._queueEvent("done",u),this._player.onDone(u)}onStart(u){this.queued&&this._queueEvent("start",u),this._player.onStart(u)}onDestroy(u){this.queued&&this._queueEvent("destroy",u),this._player.onDestroy(u)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(u){this.queued||this._player.setPosition(u)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(u){let e=this._player;e.triggerCallback&&e.triggerCallback(u)}};function Pnu(u,e,i){let n=u.get(e);if(n){if(n.length){let o=n.indexOf(i);n.splice(o,1)}n.length==0&&u.delete(e)}return n}function Inu(u){return u??null}function V0(u){return u&&u.nodeType===1}function Tnu(u){return u=="start"||u=="done"}function p7(u,e){let i=u.style.display;return u.style.display=e??"none",i}function E7(u,e,i,n,o){let f=[];i.forEach(t=>f.push(p7(t)));let l=[];n.forEach((t,c)=>{let a=new Map;t.forEach(s=>{let d=e.computeStyle(c,s,o);a.set(s,d),(!d||d.length==0)&&(c[si]=_nu,l.push(c))}),u.set(c,a)});let h=0;return i.forEach(t=>p7(t,f[h++])),l}function C7(u,e){let i=new Map;if(u.forEach(h=>i.set(h,[])),e.length==0)return i;let n=1,o=new Set(e),f=new Map;function l(h){if(!h)return n;let t=f.get(h);if(t)return t;let c=h.parentNode;return i.has(c)?t=c:o.has(c)?t=n:t=l(c),f.set(h,t),t}return e.forEach(h=>{let t=l(h);t!==n&&i.get(t).push(h)}),i}function Yr(u,e){var i;(i=u.classList)==null||i.add(e)}function no(u,e){var i;(i=u.classList)==null||i.remove(e)}function Onu(u,e,i){ra(i).onDone(()=>u.processLeaveNode(e))}function Nnu(u){let e=[];return bf(u,e),e}function bf(u,e){for(let i=0;i<u.length;i++){let n=u[i];n instanceof sf?bf(n.players,e):e.push(n)}}function Rnu(u,e){let i=Object.keys(u),n=Object.keys(e);if(i.length!=n.length)return!1;for(let o=0;o<i.length;o++){let f=i[o];if(!e.hasOwnProperty(f)||u[f]!==e[f])return!1}return!0}function F7(u,e,i){let n=i.get(u);if(!n)return!1;let o=e.get(u);return o?n.forEach(f=>o.add(f)):e.set(u,n),i.delete(u),!0}var a1=class{constructor(u,e,i,n){this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(o,f)=>{},this._transitionEngine=new knu(u.body,e,i,n),this._timelineEngine=new Bnu(u.body,e,i),this._transitionEngine.onRemovalComplete=(o,f)=>this.onRemovalComplete(o,f)}registerTrigger(u,e,i,n,o){let f=u+"-"+n,l=this._triggerCache[f];if(!l){let h=[],t=[],c=Ff(this._driver,o,h,t);if(h.length)throw ytu();t.length,l=Anu(n,c,this._normalizer),this._triggerCache[f]=l}this._transitionEngine.registerTrigger(e,n,l)}register(u,e){this._transitionEngine.register(u,e)}destroy(u,e){this._transitionEngine.destroy(u,e)}onInsert(u,e,i,n){this._transitionEngine.insertNode(u,e,i,n)}onRemove(u,e,i){this._transitionEngine.removeNode(u,e,i)}disableAnimations(u,e){this._transitionEngine.markElementAsDisabled(u,e)}process(u,e,i,n){if(i.charAt(0)=="@"){let[o,f]=i7(i),l=n;this._timelineEngine.command(o,e,f,l)}else this._transitionEngine.trigger(u,e,i,n)}listen(u,e,i,n,o){if(i.charAt(0)=="@"){let[f,l]=i7(i);return this._timelineEngine.listen(f,e,l,o)}return this._transitionEngine.listen(u,e,i,n,o)}flush(u=-1){this._transitionEngine.flush(u)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(u){this._transitionEngine.afterFlushAnimationsDone(u)}};function Mnu(u,e){let i=null,n=null;return Array.isArray(e)&&e.length?(i=i5(e[0]),e.length>1&&(n=i5(e[e.length-1]))):e instanceof Map&&(i=i5(e)),i||n?new Lnu(u,i,n):null}var Ui,Lnu=(Ui=class{constructor(e,i,n){this._element=e,this._startStyles=i,this._endStyles=n,this._state=0;let o=Ui.initialStylesByElement.get(e);o||Ui.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&vi(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(vi(this._element,this._initialStyles),this._endStyles&&(vi(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Ui.initialStylesByElement.delete(this._element),this._startStyles&&(Oa(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Oa(this._element,this._endStyles),this._endStyles=null),vi(this._element,this._initialStyles),this._state=3)}},Ui.initialStylesByElement=new WeakMap,Ui);function i5(u){let e=null;return u.forEach((i,n)=>{jnu(n)&&(e=e||new Map,e.set(n,i))}),e}function jnu(u){return u==="display"||u==="position"}var A7=class{constructor(u,e,i,n){this.element=u,this.keyframes=e,this.options=i,this._specialStyles=n,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(u=>u()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let u=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,u,this.options),this._finalKeyframe=u.length?u[u.length-1]:new Map;let e=()=>this._onFinish();this.domPlayer.addEventListener("finish",e),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",e)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(u){let e=[];return u.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(u,e,i){return u.animate(this._convertKeyframesToObject(e),i)}onStart(u){this._originalOnStartFns.push(u),this._onStartFns.push(u)}onDone(u){this._originalOnDoneFns.push(u),this._onDoneFns.push(u)}onDestroy(u){this._onDestroyFns.push(u)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(u=>u()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(u=>u()),this._onDestroyFns=[])}setPosition(u){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=u*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let u=new Map;this.hasStarted()&&this._finalKeyframe.forEach((e,i)=>{i!=="offset"&&u.set(i,this._finished?e:R6(this.element,i))}),this.currentSnapshot=u}triggerCallback(u){let e=u==="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},Vnu=class{validateStyleProperty(u){return!0}validateAnimatableStyleProperty(u){return!0}matchesElement(u,e){return!1}containsElement(u,e){return cf(u,e)}getParentElement(u){return T6(u)}query(u,e,i){return hf(u,e,i)}computeStyle(u,e,i){return R6(u,e)}animate(u,e,i,n,o,f=[]){let l=n==0?"both":"forwards",h={duration:i,delay:n,fill:l};o&&(h.easing=o);let t=new Map,c=f.filter(d=>d instanceof A7);Xtu(i,n)&&c.forEach(d=>{d.currentSnapshot.forEach((p,E)=>t.set(E,p))});let a=Gtu(e).map(d=>new Map(d));a=Ytu(u,a,t);let s=Mnu(u,a);return new A7(u,a,h,s)}},rl="@",xf="@.disabled",wf=class{constructor(u,e,i,n){this.namespaceId=u,this.delegate=e,this.engine=i,this._onDestroy=n,this.ɵtype=0}get data(){return this.delegate.data}destroyNode(u){var e,i;(i=(e=this.delegate).destroyNode)==null||i.call(e,u)}destroy(){var u;this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),(u=this._onDestroy)==null||u.call(this)}createElement(u,e){return this.delegate.createElement(u,e)}createComment(u){return this.delegate.createComment(u)}createText(u){return this.delegate.createText(u)}appendChild(u,e){this.delegate.appendChild(u,e),this.engine.onInsert(this.namespaceId,e,u,!1)}insertBefore(u,e,i,n=!0){this.delegate.insertBefore(u,e,i),this.engine.onInsert(this.namespaceId,e,u,n)}removeChild(u,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(u,e){return this.delegate.selectRootElement(u,e)}parentNode(u){return this.delegate.parentNode(u)}nextSibling(u){return this.delegate.nextSibling(u)}setAttribute(u,e,i,n){this.delegate.setAttribute(u,e,i,n)}removeAttribute(u,e,i){this.delegate.removeAttribute(u,e,i)}addClass(u,e){this.delegate.addClass(u,e)}removeClass(u,e){this.delegate.removeClass(u,e)}setStyle(u,e,i,n){this.delegate.setStyle(u,e,i,n)}removeStyle(u,e,i){this.delegate.removeStyle(u,e,i)}setProperty(u,e,i){e.charAt(0)==rl&&e==xf?this.disableAnimations(u,!!i):this.delegate.setProperty(u,e,i)}setValue(u,e){this.delegate.setValue(u,e)}listen(u,e,i){return this.delegate.listen(u,e,i)}disableAnimations(u,e){this.engine.disableAnimations(u,e)}},znu=class extends wf{constructor(u,e,i,n,o){super(e,i,n,o),this.factory=u,this.namespaceId=e}setProperty(u,e,i){e.charAt(0)==rl?e.charAt(1)=="."&&e==xf?(i=i===void 0?!0:!!i,this.disableAnimations(u,i)):this.engine.process(this.namespaceId,u,e.slice(1),i):this.delegate.setProperty(u,e,i)}listen(u,e,i){if(e.charAt(0)==rl){let n=Unu(u),o=e.slice(1),f="";return o.charAt(0)!=rl&&([o,f]=Hnu(o)),this.engine.listen(this.namespaceId,n,o,f,l=>{let h=l._data||-1;this.factory.scheduleListenerCallback(h,i,l)})}return this.delegate.listen(u,e,i)}};function Unu(u){switch(u){case"body":return document.body;case"document":return document;case"window":return window;default:return u}}function Hnu(u){let e=u.indexOf("."),i=u.substring(0,e),n=u.slice(e+1);return[i,n]}var Gnu=class{constructor(u,e,i){this.delegate=u,this.engine=e,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,e.onRemovalComplete=(n,o)=>{let f=o==null?void 0:o.parentNode(n);f&&o.removeChild(f,n)}}createRenderer(u,e){var h;let i="",n=this.delegate.createRenderer(u,e);if(!u||!((h=e==null?void 0:e.data)!=null&&h.animation)){let t=this._rendererCache,c=t.get(n);if(!c){let a=()=>t.delete(n);c=new wf(i,n,this.engine,a),t.set(n,c)}return c}let o=e.id,f=e.id+"-"+this._currentId;this._currentId++,this.engine.register(f,u);let l=t=>{Array.isArray(t)?t.forEach(l):this.engine.registerTrigger(o,f,u,t.name,t)};return e.data.animation.forEach(l),new znu(this,f,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(u,e,i){if(u>=0&&u<this._microtaskId){this._zone.run(()=>e(i));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(o=>{let[f,l]=o;f(l)}),this._animationCallbacksBuffer=[]})}),n.push([e,i])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}},qnu=(()=>{const e=class e extends a1{constructor(n,o,f){super(n,o,f,ht(Yd,{optional:!0}))}ngOnDestroy(){this.flush()}};e.ɵfac=function(n){return new(n||e)(Le(mn),Le(df),Le(O6))},e.ɵprov=ft({token:e,factory:e.ɵfac});let u=e;return u})();function Wnu(){return new Ktu}function Xnu(u,e,i){return new Gnu(u,e,i)}var Ynu=[{provide:O6,useFactory:Wnu},{provide:a1,useClass:qnu},{provide:l6,useFactory:Xnu,deps:[X5,a1,Sn]}],Znu=[{provide:df,useFactory:()=>new Vnu},{provide:Mo,useValue:"BrowserAnimations"},...Ynu];function j6(){return Ys("NgEagerAnimations"),[...Znu]}var Knu=Ol(Lq(),1),Jnu=new xt("MESSAGE_FORMAT_CONFIG"),Qnu={biDiSupport:!1,formatters:{},strictNumberSign:!1,currency:"USD",strictPluralKeys:!0,throwOnError:!1,fallbackPrefix:void 0},V6=(()=>{const e=class e extends fa{constructor(n){super(),this.mfCache=new Map;let{formatters:o,biDiSupport:f,strictNumberSign:l,currency:h,strictPluralKeys:t,throwOnError:c,fallbackPrefix:a}=jt(jt({},Qnu),n);this.messageFormatOptions={customFormatters:o,biDiSupport:f,strict:l,currency:h,strictPluralKeys:t},this.throwOnError=!!c,this.fallbackPrefix=a}compile(n,o){if(this.fallbackPrefix&&n.startsWith(this.fallbackPrefix))return n.slice(this.fallbackPrefix.length);let f;try{f=this.getMessageFormatInstance(o).compile(n)}catch(l){if(this.throwOnError)throw l;console.error(l),console.error(`[ngx-translate-messageformat-compiler] Could not compile message for lang '${o}': '${n}'`),f=uru(n,o)}return this.throwOnError||(f=$nu(f,n)),f}compileTranslations(n,o){return typeof n=="string"?this.compile(n,o):Object.keys(n).reduce((f,l)=>{let h=n[l];return f[l]=this.compileTranslations(h,o),f},{})}getMessageFormatInstance(n){return this.mfCache.has(n)||this.mfCache.set(n,new Knu.default(n,this.messageFormatOptions)),this.mfCache.get(n)}};e.ɵfac=function(n){return new(n||e)(Le(Jnu,8))},e.ɵprov=ft({token:e,factory:e.ɵfac});let u=e;return u})();function $nu(u,e){return i=>{let n=e;try{n=u(i)}catch(o){console.error(o),console.error(`[ngx-translate-messageformat-compiler] Could not interpolate '${e}' with params '${i}'`)}return n}}function uru(u,e){return()=>(console.warn(`[ngx-translate-messageformat-compiler] Falling back to original invalid message: '${u}' ('${e}')`),String(u))}var _f={};it(_f,{"00001":()=>Sf,"00002":()=>kf,"00003":()=>Pf,"00004":()=>If,"00005":()=>Tf,"00006":()=>Of,"00007":()=>Nf,"00008":()=>Rf,"00009":()=>Mf,"00010":()=>Lf,"00011":()=>jf,"00012":()=>Vf,"00013":()=>zf,"00014":()=>Uf,"00015":()=>Hf,"00016":()=>Gf,"00017":()=>qf,"00018":()=>Wf,"00019":()=>Xf,"00020":()=>Yf,"00021":()=>Zf,"00022":()=>Kf,"00023":()=>Jf,"00024":()=>Qf,"00025":()=>$f,"00026":()=>u3,"00027":()=>e3,"00028":()=>t3,"00029":()=>n3,"00030":()=>r3,ampoule:()=>k3,bandage:()=>b3,bottle:()=>P3,box:()=>w3,cm:()=>i3,default:()=>eru,dropsperminute:()=>a3,"effervescent-tablet":()=>v3,gm:()=>o3,internationalunits:()=>s3,iu:()=>m3,liter:()=>_3,"mck/h":()=>l3,"mck/kg/minute":()=>c3,measure:()=>h3,meq:()=>g3,mg:()=>F3,"mg/h":()=>d3,"mg/ml":()=>A3,micrograms:()=>y3,miu:()=>D3,"ml/h":()=>f3,mmol:()=>B3,piece:()=>x3,syringe:()=>S3,"syringe-ampoule":()=>I3,tbl:()=>p3,tsp:()=>E3,"unt/h":()=>C3});var Sf="{count, plural, one{kaffeelöffel (5 ml)} other{kaffeelöffellen (5 ml)}}",kf="{count, plural, one{Ampulle} other{Ampullen}}",Pf="anwenden",If="{count, plural, one{Kapsel} other{Kapseln}}",Tf="{count, plural, one{Tablette} other{Tabletten}}",Of="Dosis",Nf="{count, plural, one{Tropf} other{Tropfen}}",Rf="{count, plural, one{Fläsche} other{Fläschchen}}",Mf="{count, plural, one{Implantat} other{Implantate}}",Lf="{count, plural, one{Infusion} other{Infusionen}}",jf="{count, plural, one{Inhalation} other{Inhalationen}}",Vf="Einstechen",zf="Kaugummi",Uf="{count, plural, one{Kompresse} other{Kompressen}}",Hf="{count, plural, one{Einlauf} other{Einläufe}}",Gf="ml",qf="Ov.",Wf="{count, plural, one{Perle} other{Perlen}}",Xf="{count, plural, one{Pastille} other{Pastillen}}",Yf="Pflaster",Zf="cart",Kf="Pen",Jf="{count, plural, one{Puff} other{Puffs}}",Qf="{count, plural, one{Schwamm} other{Schwämme}}",$f="{count, plural, one{Stift} other{Stifte}}",u3="Suppo",e3="Tube",t3="{count, plural, one{Docht} other{Dochte}}",n3="Beutel",r3="Beutel",i3="Zentimeter",a3="{count, plural, one{Tropf pro Minute} other{Tropfen pro Minute}}",o3="Gramm",s3="{count, plural, one{Internationale Einheit} other{Internationale Einheiten}}",l3="Mikrogramm pro Stunde",c3="Mikrogramm pro Kilogramm pro Minute",h3="Maß",d3="Miligramm pro Stunde",f3="Milliliter pro Stunde",p3="Esslöffel",E3="Kaffeelöffel",C3="{count, plural, one{Einheit pro Stunde} other{Einheiten pro Stunde}}",F3="Milligramm",A3="Milligramm pro Millimeter",g3="meq",D3="miu",m3="iu",B3="mmol",v3="effervescent-tablet",y3="micrograms",b3="{count, plural, one{bandage} other{bandagen}}",x3="{count, plural, one{stück} other{stücke}}",w3="schachteln",_3="liter",S3="{count, plural, one{spritze} other{spritzen}}",k3="{count, plural, one{glühbirn} other{glühbirnen}}",P3="{count, plural, one{Fläsche} other{Fläschchen}}",I3="{count, plural, one{spritze-ampulle} other{spritzen-ampulle}}",eru={"00001":Sf,"00002":kf,"00003":Pf,"00004":If,"00005":Tf,"00006":Of,"00007":Nf,"00008":Rf,"00009":Mf,"00010":Lf,"00011":jf,"00012":Vf,"00013":zf,"00014":Uf,"00015":Hf,"00016":Gf,"00017":qf,"00018":Wf,"00019":Xf,"00020":Yf,"00021":Zf,"00022":Kf,"00023":Jf,"00024":Qf,"00025":$f,"00026":u3,"00027":e3,"00028":t3,"00029":n3,"00030":r3,cm:i3,dropsperminute:a3,gm:o3,internationalunits:s3,"mck/h":l3,"mck/kg/minute":c3,measure:h3,"mg/h":d3,"ml/h":f3,tbl:p3,tsp:E3,"unt/h":C3,mg:F3,"mg/ml":A3,meq:g3,miu:D3,iu:m3,mmol:B3,"effervescent-tablet":v3,micrograms:y3,bandage:b3,piece:x3,box:w3,liter:_3,syringe:S3,ampoule:k3,bottle:P3,"syringe-ampoule":I3},T3={};it(T3,{"00001":()=>O3,"00002":()=>N3,"00003":()=>R3,"00004":()=>M3,"00005":()=>L3,"00006":()=>j3,"00007":()=>V3,"00008":()=>z3,"00009":()=>U3,"00010":()=>H3,"00011":()=>G3,"00012":()=>q3,"00013":()=>W3,"00014":()=>X3,"00015":()=>Y3,"00016":()=>Z3,"00017":()=>K3,"00018":()=>J3,"00019":()=>Q3,"00020":()=>$3,"00021":()=>up,"00022":()=>ep,"00023":()=>tp,"00024":()=>np,"00025":()=>rp,"00026":()=>ip,"00027":()=>ap,"00028":()=>op,"00029":()=>sp,"00030":()=>lp,ampoule:()=>Np,bandage:()=>kp,bottle:()=>Rp,box:()=>Ip,cm:()=>cp,default:()=>tru,dropsperminute:()=>hp,"effervescent-tablet":()=>_p,gm:()=>dp,internationalunits:()=>fp,iu:()=>xp,liter:()=>Tp,"mck/h":()=>pp,"mck/kg/minute":()=>Ep,measure:()=>Cp,meq:()=>yp,mg:()=>Bp,"mg/h":()=>Fp,"mg/ml":()=>vp,micrograms:()=>Sp,miu:()=>bp,"ml/h":()=>Ap,mmol:()=>wp,piece:()=>Pp,syringe:()=>Op,"syringe-ampoule":()=>Mp,tbl:()=>gp,tsp:()=>Dp,"unt/h":()=>mp});var O3="{count, plural, one{Teaspoon (5 ml)} other{Teaspoons (5 ml)}}",N3="{count, plural, one{ampoule} other{ampoules}}",R3="applic.",M3="{count, plural, one{capsule} other{capsules}}",L3="{count, plural, one{tablet} other{tablets}}",j3="{count, plural, one{dose} other{doses}}",V3="{count, plural, one{drop} other{drops}}",z3="{count, plural, one{bottle} other{bottles}}",U3="{count, plural, one{implant} other{implants}}",H3="{count, plural, one{perfusion} other{perfusions}}",G3="{count, plural, one{inhalation} other{inhalations}}",q3="insert",W3="{count, plural, one{chewing gum} other{chewing gums}}",X3="{count, plural, one{compress} other{compresses}}",Y3="enema",Z3="ml",K3="{count, plural, one{ovule} other{ovules}}",J3="{count, plural, one{pearl} other{pearls}}",Q3="{count, plural, one{pastille} other{pastilles}}",$3="{count, plural, one{patch} other{patches}}",up="{count, plural, one{cartridge} other{cartridges}}",ep="{count, plural, one{pen} other{pens}}",tp="{count, plural, one{puff} other{puffs}}",np="{count, plural, one{sponge} other{sponges}}",rp="{count, plural, one{stylo} other{stylos}}",ip="{count, plural, one{supository} other{supositories}}",ap="{count, plural, one{tube} other{tubes}}",op="{count, plural, one{wick} other{wicks}}",sp="{count, plural, one{bag} other{bags}}",lp="{count, plural, one{small bag} other{small bags}}",cp="centimeter",hp="{count, plural, one{drop per minute} other{drops per minute}}",dp="gram",fp="international units",pp="microgram per hour",Ep="microgram per kilogram per minute",Cp="{count, plural, one{measure} other{measures}}",Fp="milligram per hour",Ap="milliliter per hour",gp="{count, plural, one{tablespoon} other{tablespoons}}",Dp="{count, plural, one{teaspoon} other{teaspoons}}",mp="{count, plural, one{unit per hour} other{units per hour}}",Bp="milligram",vp="milligram per milliliter",yp="milli-equivalent",bp="miu",xp="international units",wp="millimole",_p="{count, plural, one{effervescent tablet} other{effervescent tablets}}",Sp="microgram",kp="{count, plural, one{bandage} other{bandages}}",Pp="{count, plural, one{piece} other{pieces}}",Ip="{count, plural, one{spray} other{sprays}}",Tp="liter",Op="{count, plural, one{syringe} other{syringes}}",Np="{count, plural, one{ampoule} other{ampoules}}",Rp="{count, plural, one{bottle} other{bottles}}",Mp="{count, plural, one{syringe ampoule} other{syringe ampoules}}",tru={"00001":O3,"00002":N3,"00003":R3,"00004":M3,"00005":L3,"00006":j3,"00007":V3,"00008":z3,"00009":U3,"00010":H3,"00011":G3,"00012":q3,"00013":W3,"00014":X3,"00015":Y3,"00016":Z3,"00017":K3,"00018":J3,"00019":Q3,"00020":$3,"00021":up,"00022":ep,"00023":tp,"00024":np,"00025":rp,"00026":ip,"00027":ap,"00028":op,"00029":sp,"00030":lp,cm:cp,dropsperminute:hp,gm:dp,internationalunits:fp,"mck/h":pp,"mck/kg/minute":Ep,measure:Cp,"mg/h":Fp,"ml/h":Ap,tbl:gp,tsp:Dp,"unt/h":mp,mg:Bp,"mg/ml":vp,meq:yp,miu:bp,iu:xp,mmol:wp,"effervescent-tablet":_p,micrograms:Sp,bandage:kp,piece:Pp,box:Ip,liter:Tp,syringe:Op,ampoule:Np,bottle:Rp,"syringe-ampoule":Mp},Lp={};it(Lp,{"00001":()=>jp,"00002":()=>Vp,"00003":()=>zp,"00004":()=>Up,"00005":()=>Hp,"00006":()=>Gp,"00007":()=>qp,"00008":()=>Wp,"00009":()=>Xp,"00010":()=>Yp,"00011":()=>Zp,"00012":()=>Kp,"00013":()=>Jp,"00014":()=>Qp,"00015":()=>$p,"00016":()=>uE,"00017":()=>eE,"00018":()=>tE,"00019":()=>nE,"00020":()=>rE,"00021":()=>iE,"00022":()=>aE,"00023":()=>oE,"00024":()=>sE,"00025":()=>lE,"00026":()=>cE,"00027":()=>hE,"00028":()=>dE,"00029":()=>fE,"00030":()=>pE,ampoule:()=>VE,bandage:()=>NE,bottle:()=>zE,box:()=>ME,cm:()=>EE,default:()=>nru,dropsperminute:()=>CE,"effervescent-tablet":()=>TE,gm:()=>FE,internationalunits:()=>AE,iu:()=>PE,liter:()=>LE,"mck/h":()=>gE,"mck/kg/minute":()=>DE,measure:()=>mE,meq:()=>SE,mg:()=>wE,"mg/h":()=>BE,"mg/ml":()=>_E,micrograms:()=>OE,miu:()=>kE,"ml/h":()=>vE,mmol:()=>IE,piece:()=>RE,syringe:()=>jE,"syringe-ampoule":()=>UE,tbl:()=>yE,tsp:()=>bE,"unt/h":()=>xE});var jp="{count, plural, one{cuillère à café (5 ml)} other{cuillères à café (5 ml)}}",Vp="amp.",zp="applic.",Up="caps.",Hp="compr.",Gp="{count, plural, one{dose} other{doses}}",qp="{count, plural, one{goutte} other{gouttes}}",Wp="flac.",Xp="{count, plural, one{implant} other{implants}}",Yp="{count, plural, one{perfusion} other{perfusions}}",Zp="{count, plural, one{inhalation} other{inhalations}}",Kp="insert",Jp="{count, plural, one{gomme à mâcher} other{gommes à mâcher}}",Qp="{count, plural, one{compres(se)} other{compres(ses)}}",$p="{count, plural, one{lavement} other{lavements}}",uE="ml",eE="ov.",tE="{count, plural, one{perle} other{perles}}",nE="{count, plural, one{pastille} other{pastilles}}",rE="{count, plural, one{patch} other{patchs}}",iE="patr.",aE="{count, plural, one{stylo} other{stylos}}",oE="{count, plural, one{puff} other{puffs}}",sE="{count, plural, one{éponge} other{éponges}}",lE="{count, plural, one{stylo} other{stylos}}",cE="suppo",hE="{count, plural, one{tube} other{tubes}}",dE="{count, plural, one{mèche} other{mèches}}",fE="{count, plural, one{sac} other{sacs}}",pE="{count, plural, one{sachet} other{sachets}}",EE="{count, plural, one{centimètre} other{centimètres}}",CE="{count, plural, one{goute par minute} other{goutes par minute}}",FE="{count, plural, one{gramme} other{grammes}}",AE="{count, plural, one{unité internationales} other{unités internationales}}",gE="{count, plural, one{microgramme par heure} other{microgrammes par heure}}",DE="{count, plural, one{microgramme par kilogramme par minute} other{microgrammes par kilogramme par minute}}",mE="{count, plural, one{mesure} other{mesures}}",BE="{count, plural, one{milligramme par heure} other{milligrammes par heure}}",vE="{count, plural, one{millilitre par heure} other{millilitres par heure}}",yE="{count, plural, one{cuillère à soupe} other{cuillères à soupe}}",bE="{count, plural, one{cuillère à café} other{cuillères à café}}",xE="{count, plural, one{unité par heure} other{unités par heure}}",wE="{count, plural, one{miligramme} other{miligrammes}}",_E="{count, plural, one{milligramme par millimètre} other{milligrammes par millimètre}}",SE="milli-équivalent",kE="miu",PE="{count, plural, one{unité internationales} other{unités internationales}}",IE="millimol",TE="{count, plural, one{comprimé effervescent} other{comprimés effervescents}}",OE="{count, plural, one{microgramme} other{microgrammes}}",NE="{count, plural, one{bandage} other{bandages}}",RE="{count, plural, one{pièce} other{pièces}}",ME="{count, plural, one{vaporisateur} other{vaporisateurs}}",LE="{count, plural, one{litre} other{litres}}",jE="{count, plural, one{seringue} other{seringues}}",VE="{count, plural, one{ampoule} other{ampoules}}",zE="{count, plural, one{fiole} other{fioles}}",UE="{count, plural, one{ampoule de seringue} other{ampoules de seringue}}",nru={"00001":jp,"00002":Vp,"00003":zp,"00004":Up,"00005":Hp,"00006":Gp,"00007":qp,"00008":Wp,"00009":Xp,"00010":Yp,"00011":Zp,"00012":Kp,"00013":Jp,"00014":Qp,"00015":$p,"00016":uE,"00017":eE,"00018":tE,"00019":nE,"00020":rE,"00021":iE,"00022":aE,"00023":oE,"00024":sE,"00025":lE,"00026":cE,"00027":hE,"00028":dE,"00029":fE,"00030":pE,cm:EE,dropsperminute:CE,gm:FE,internationalunits:AE,"mck/h":gE,"mck/kg/minute":DE,measure:mE,"mg/h":BE,"ml/h":vE,tbl:yE,tsp:bE,"unt/h":xE,mg:wE,"mg/ml":_E,meq:SE,miu:kE,iu:PE,mmol:IE,"effervescent-tablet":TE,micrograms:OE,bandage:NE,piece:RE,box:ME,liter:LE,syringe:jE,ampoule:VE,bottle:zE,"syringe-ampoule":UE},HE={};it(HE,{"00001":()=>GE,"00002":()=>qE,"00003":()=>WE,"00004":()=>XE,"00005":()=>YE,"00006":()=>ZE,"00007":()=>KE,"00008":()=>JE,"00009":()=>QE,"00010":()=>$E,"00011":()=>uC,"00012":()=>eC,"00013":()=>tC,"00014":()=>nC,"00015":()=>rC,"00016":()=>iC,"00017":()=>aC,"00018":()=>oC,"00019":()=>sC,"00020":()=>lC,"00021":()=>cC,"00022":()=>hC,"00023":()=>dC,"00024":()=>fC,"00025":()=>pC,"00026":()=>EC,"00027":()=>CC,"00028":()=>FC,"00029":()=>AC,"00030":()=>gC,ampoule:()=>qC,bandage:()=>VC,bottle:()=>WC,box:()=>UC,cm:()=>DC,default:()=>rru,dropsperminute:()=>mC,"effervescent-tablet":()=>LC,gm:()=>BC,internationalunits:()=>vC,iu:()=>RC,liter:()=>HC,"mck/h":()=>yC,"mck/kg/minute":()=>bC,measure:()=>xC,meq:()=>OC,mg:()=>IC,"mg/h":()=>wC,"mg/ml":()=>TC,micrograms:()=>jC,miu:()=>NC,"ml/h":()=>_C,mmol:()=>MC,piece:()=>zC,syringe:()=>GC,"syringe-ampoule":()=>XC,tbl:()=>SC,tsp:()=>kC,"unt/h":()=>PC});var GE="{count, plural, one{Koffielepel (5 ml)} other{Koffielepels (5 ml)}}",qE="{count, plural, one{ampule} other{ampullen}}",WE="aanbrengen",XE="{count, plural, one{capsule} other{capsules}}",YE="{count, plural, one{tablet} other{tabletten}}",ZE="{count, plural, one{dose} other{dosissen}}",KE="{count, plural, one{druppel} other{druppels}}",JE="{count, plural, one{flesje} other{flesjes}}",QE="{count, plural, one{implantaat} other{implantaten}}",$E="{count, plural, one{infuus} other{infusen}}",uC="{count, plural, one{inhalatie} other{inhalaties}}",eC="inbrengen",tC="{count, plural, one{kauwgom} other{kauwgommen}}",nC="{count, plural, one{kompres} other{kompressen}}",rC="lavement",iC="ml",aC="{count, plural, one{ovule} other{ovules}}",oC="{count, plural, one{parel} other{parels}}",sC="{count, plural, one{pastille} other{pastilles}}",lC="{count, plural, one{pleister} other{pleisters}}",cC="{count, plural, one{patroon} other{patronen}}",hC="{count, plural, one{pen} other{pennen}}",dC="{count, plural, one{puff} other{puffs}}",fC="{count, plural, one{spons} other{sponsen}}",pC="{count, plural, one{stylo} other{stylos}}",EC="{count, plural, one{zetpil} other{zetpillen}}",CC="{count, plural, one{tube} other{tubes}}",FC="{count, plural, one{wiek} other{wieken}}",AC="{count, plural, one{zak} other{zakken}}",gC="{count, plural, one{zakje} other{zakjes}}",DC="centimeter",mC="{count, plural, one{druppel per minuut} other{druppels per minuut}}",BC="gram",vC="internationale eenheden",yC="microgram per uur",bC="microgram per kilogram per minuut",xC="{count, plural, one{maat} other{maten}}",wC="milligram per uur",_C="milliliter per uur",SC="{count, plural, one{eetlepel} other{eetlepels}}",kC="{count, plural, one{koffielepel} other{koffielepels}}",PC="{count, plural, one{eenheid per uur} other{eenheden per uur}}",IC="miligram",TC="miligram per milimeter",OC="milli-equivalent",NC="miu",RC="internationale eenheden",MC="millimol",LC="{count, plural, one{bruistablet} other{bruistabletten}}",jC="microgram",VC="{count, plural, one{verband} other{verbanden}}",zC="{count, plural, one{stuk} other{stuks}}",UC="{count, plural, one{verstuiving} other{verstuivingen}}",HC="liter",GC="{count, plural, one{spuit} other{spuiten}}",qC="{count, plural, one{ampul} other{ampullen}}",WC="{count, plural, one{fles} other{flessen}}",XC="{count, plural, one{spuitampul} other{spuitampullen}}",rru={"00001":GE,"00002":qE,"00003":WE,"00004":XE,"00005":YE,"00006":ZE,"00007":KE,"00008":JE,"00009":QE,"00010":$E,"00011":uC,"00012":eC,"00013":tC,"00014":nC,"00015":rC,"00016":iC,"00017":aC,"00018":oC,"00019":sC,"00020":lC,"00021":cC,"00022":hC,"00023":dC,"00024":fC,"00025":pC,"00026":EC,"00027":CC,"00028":FC,"00029":AC,"00030":gC,cm:DC,dropsperminute:mC,gm:BC,internationalunits:vC,"mck/h":yC,"mck/kg/minute":bC,measure:xC,"mg/h":wC,"ml/h":_C,tbl:SC,tsp:kC,"unt/h":PC,mg:IC,"mg/ml":TC,meq:OC,miu:NC,iu:RC,mmol:MC,"effervescent-tablet":LC,micrograms:jC,bandage:VC,piece:zC,box:UC,liter:HC,syringe:GC,ampoule:qC,bottle:WC,"syringe-ampoule":XC},YC={nl:HE,fr:Lp,de:_f,en:T3},ZC={};it(ZC,{default:()=>iru,friday:()=>uF,monday:()=>KC,saturday:()=>eF,sunday:()=>tF,thursday:()=>$C,tuesday:()=>JC,wednesday:()=>QC});var KC="Montag",JC="Dienstag",QC="Mittwoch",$C="Donnerstag",uF="Freitag",eF="Samstag",tF="Sonntag",iru={monday:KC,tuesday:JC,wednesday:QC,thursday:$C,friday:uF,saturday:eF,sunday:tF},nF={};it(nF,{default:()=>aru,friday:()=>sF,monday:()=>rF,saturday:()=>lF,sunday:()=>cF,thursday:()=>oF,tuesday:()=>iF,wednesday:()=>aF});var rF="Monday",iF="Tuesday",aF="Wednesday",oF="Thursday",sF="Friday",lF="Saturday",cF="Sunday",aru={monday:rF,tuesday:iF,wednesday:aF,thursday:oF,friday:sF,saturday:lF,sunday:cF},hF={};it(hF,{default:()=>oru,friday:()=>CF,monday:()=>dF,saturday:()=>FF,sunday:()=>AF,thursday:()=>EF,tuesday:()=>fF,wednesday:()=>pF});var dF="Lundi",fF="Mardi",pF="Mercredi",EF="Jeudi",CF="Vendredi",FF="Samedi",AF="Dimanche",oru={monday:dF,tuesday:fF,wednesday:pF,thursday:EF,friday:CF,saturday:FF,sunday:AF},gF={};it(gF,{default:()=>sru,friday:()=>yF,monday:()=>DF,saturday:()=>bF,sunday:()=>xF,thursday:()=>vF,tuesday:()=>mF,wednesday:()=>BF});var DF="Maandag",mF="Dinsdag",BF="Woensdag",vF="Donderdag",yF="Vrijdag",bF="Zaterdag",xF="Zondag",sru={monday:DF,tuesday:mF,wednesday:BF,thursday:vF,friday:yF,saturday:bF,sunday:xF},wF={nl:gF,fr:hF,de:ZC,en:nF},_F={};it(_F,{VIDIS_0035:()=>SF,VIDIS_0050:()=>kF,VIDIS_0090:()=>PF,VIDIS_0100:()=>IF,VIDIS_0110:()=>TF,VIDIS_0120:()=>OF,VIDIS_0121:()=>NF,VIDIS_0122:()=>RF,VIDIS_0123:()=>MF,VIDIS_0124:()=>LF,VIDIS_0125:()=>jF,VIDIS_0126:()=>VF,VIDIS_0190:()=>zF,VIDIS_0200:()=>UF,VIDIS_0210:()=>HF,VIDIS_0211:()=>GF,VIDIS_0230:()=>qF,VIDIS_0290:()=>WF,VIDIS_0330:()=>XF,VIDIS_0340:()=>YF,VIDIS_0341:()=>ZF,VIDIS_0400:()=>KF,VIDIS_0435:()=>JF,VIDIS_0440:()=>QF,VIDIS_5000:()=>$F,VIDIS_7000:()=>uA,default:()=>lru,general:()=>tA,invalid_date_format:()=>oA,myHealth:()=>rA,myHealthUrl:()=>iA,network_error:()=>aA,"no-access":()=>nA,prescriptionList:()=>eA,"status-message-content":()=>lA,"status-message-title":()=>sA});var SF="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0035)",kF="Die Patienten-INSS fehlt. (VIDIS_0050)",PF="Die angegebenen persönlichen Daten wurden nicht erkannt. (VIDIS_0090)",IF="Der Benutzer ist für diesen Vorgang nicht autorisiert. (VIDIS_0100)",TF="Der Patient hat keine informierte Einwilligung für den Austausch von Gesundheitsdaten erteilt. (VIDIS_0110)",OF="Es besteht keine therapeutische Beziehung zwischen der Bezugsperson und dem Patienten. (VIDIS_0120)",NF="Die Einsichtnahme in die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",RF="Die Einsichtnahme in die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",MF="Die Einsichtnahme in die Daten eines Brüsseler Kinder von einem Elternteil ist derzeit nicht erlaubt.",LF="Die Einsichtnahme in die Daten eines wallonischen Kinder von einem Elternteil ist derzeit nicht erlaubt.",jF="Die Einsichtnahme in die Daten eines Brüsseler Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",VF="Die Einsichtnahme in die Daten eines wallonischen Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",zF="Ungültige INSS-Patientennummer. (VIDIS_0190)",UF="Der Benutzer darf die Bearbeitung nicht vornehmen, da Antragsteller und Patient sich ausschließen. (VIDIS_0200)",HF="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0210)",GF="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0211)",qF="Der Vorgang ist ungültig (VIDIS_0230)",WF='Die Benutzerrolle muss "Bürger" sein. (VIDIS_0290)',XF="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)",YF="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. (VIDIS_0340)",ZF="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. (VIDIS_0341)",KF="Ihre Anfrage ist ungültig. Bitte versuchen Sie es später nochmal. (VIDIS_0400)",JF="Die Speicherregion für den Medikamentenplan kann nicht bestimmt werden. (VIDIS_0435)",QF="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0440)",$F="Leider konnten wir Ihre Daten nicht abrufen. Versuchen Sie es bitte noch einmal? (VIDIS_5000)",uA="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_7000)",eA="Leider war es nicht möglich, die Details der Verschreibung abzurufen. Versuchen Sie es erneut?",tA="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",nA="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",rA="Zurück zum Portal Meine Gesundheit",iA="https://wwwint.meinegesundheit.belgien.be/#/",aA="Es ist leider ein Netzwerkfehler aufgetreten. Bitte wenden Sie sich an Ihren Netzwerkadministrator, wenn das Problem weiterhin besteht.",oA="Ungültiges Datumsformat.",sA="Dienst vorübergehend nicht verfügbar",lA=`Wir haben derzeit ein Problem mit der Verbindung zum Server.
260
260
  Bitte versuchen Sie es zu einem späteren Zeitpunkt erneut.`,lru={VIDIS_0035:SF,VIDIS_0050:kF,VIDIS_0090:PF,VIDIS_0100:IF,VIDIS_0110:TF,VIDIS_0120:OF,VIDIS_0121:NF,VIDIS_0122:RF,VIDIS_0123:MF,VIDIS_0124:LF,VIDIS_0125:jF,VIDIS_0126:VF,VIDIS_0190:zF,VIDIS_0200:UF,VIDIS_0210:HF,VIDIS_0211:GF,VIDIS_0230:qF,VIDIS_0290:WF,VIDIS_0330:XF,VIDIS_0340:YF,VIDIS_0341:ZF,VIDIS_0400:KF,VIDIS_0435:JF,VIDIS_0440:QF,VIDIS_5000:$F,VIDIS_7000:uA,prescriptionList:eA,general:tA,"no-access":nA,myHealth:rA,myHealthUrl:iA,network_error:aA,invalid_date_format:oA,"status-message-title":sA,"status-message-content":lA},cA={};it(cA,{VIDIS_0035:()=>hA,VIDIS_0050:()=>dA,VIDIS_0090:()=>fA,VIDIS_0100:()=>pA,VIDIS_0110:()=>EA,VIDIS_0120:()=>CA,VIDIS_0121:()=>FA,VIDIS_0122:()=>AA,VIDIS_0123:()=>gA,VIDIS_0124:()=>DA,VIDIS_0125:()=>mA,VIDIS_0126:()=>BA,VIDIS_0190:()=>vA,VIDIS_0200:()=>yA,VIDIS_0210:()=>bA,VIDIS_0211:()=>xA,VIDIS_0230:()=>wA,VIDIS_0290:()=>_A,VIDIS_0330:()=>SA,VIDIS_0340:()=>kA,VIDIS_0341:()=>PA,VIDIS_0400:()=>IA,VIDIS_0435:()=>TA,VIDIS_0440:()=>OA,VIDIS_5000:()=>NA,VIDIS_7000:()=>RA,default:()=>cru,general:()=>LA,invalid_date_format:()=>HA,myHealth:()=>VA,myHealthUrl:()=>zA,network_error:()=>UA,"no-access":()=>jA,prescriptionList:()=>MA,"status-message-content":()=>qA,"status-message-title":()=>GA});var hA="Unfortunately, this did not succeed. Please try again. (VIDIS_0035)",dA="The patient's NISS number is missing (VIDIS_0050)",fA="The personal information provided was not recognised. (VIDIS_0090)",pA="The user is not allowed to perform the operation. (VIDIS_0100)",EA="The patient did not give informed consent to share personal health information. (VIDIS_0110)",CA="There is no therapeutic relationship between the healthcare provider and the patient. (VIDIS_0120)",FA="Consulting data of a Brussels patient is currently not authorised.",AA="Consulting data of a Walloon patient is currently not authorised.",gA="Consulting data of a Brussels child by a parent is currently not authorised.",DA="Consulting data of a Walloon child by a parent is currently not authorised.",mA="Consulting data of a Brussels patient by a power of attorney is currently not authorised.",BA="Consulting data of a Walloon patient by a power of attorney is currently not authorised.",vA="The patient's NISS number is invalid. (VIDIS_0190)",yA="The user is not allowed to perform the operation because an exclusion exists between the applicant and the patient. (VIDIS_0200)",bA="The login was unsuccessful. Please try again. (VIDIS_0210)",xA="The login was unsuccessful. Please try again. (VIDIS_0211)",wA="The request is invalid. (VIDIS_0230)",_A="User role must be citizen. (VIDIS_0290)",SA="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)",kA="You are not authorised to view this patient's data because your visa is not active. Please contact the FPS Health via the email address visa@health.fgov.be",PA="You are not authorised to view this patient's details because - or your visa is not active. Please contact the FPS Health via the email address visa@health.fgov.be - or the NIHDI number of the pharmacy is not valid. Please contact the NIHDI via the e-mail address dossierpharma@riziv-inami.fgov.be (VIDIS_0341)",IA="You request in invalid. Please try again later. (VIDIS_0400)",TA="Cannot determine the storage region of the medication scheme. (VIDIS_0435)",OA="Unfortunately, this did not succeed. Please try again. (VIDIS_0440)",NA="Unfortunately your data could not be retrieved. Please try again. (VIDIS_5000)",RA="Unfortunately, this did not succeed. Please try again. (VIDIS_7000)",MA="Unfortunately the details of the prescription could not be retrieved. Please try again.",LA="An internal technical error has occured. Please try again later.",jA="An internal technical error has occured. Please try again later.",VA="Back to the MyHealth portal.",zA="https://www.myhealth.belgium.be/",UA="A network error unfortunately has occured. Please contact your network manager if the problem persists.",HA="Invalid date format.",GA="Service temporarily unavailable",qA=`We are currently having a problem connecting to the server.
261
261
  Please try again later.`,cru={VIDIS_0035:hA,VIDIS_0050:dA,VIDIS_0090:fA,VIDIS_0100:pA,VIDIS_0110:EA,VIDIS_0120:CA,VIDIS_0121:FA,VIDIS_0122:AA,VIDIS_0123:gA,VIDIS_0124:DA,VIDIS_0125:mA,VIDIS_0126:BA,VIDIS_0190:vA,VIDIS_0200:yA,VIDIS_0210:bA,VIDIS_0211:xA,VIDIS_0230:wA,VIDIS_0290:_A,VIDIS_0330:SA,VIDIS_0340:kA,VIDIS_0341:PA,VIDIS_0400:IA,VIDIS_0435:TA,VIDIS_0440:OA,VIDIS_5000:NA,VIDIS_7000:RA,prescriptionList:MA,general:LA,"no-access":jA,myHealth:VA,myHealthUrl:zA,network_error:UA,invalid_date_format:HA,"status-message-title":GA,"status-message-content":qA},WA={};it(WA,{VIDIS_0035:()=>XA,VIDIS_0050:()=>YA,VIDIS_0090:()=>ZA,VIDIS_0100:()=>KA,VIDIS_0110:()=>JA,VIDIS_0120:()=>QA,VIDIS_0121:()=>$A,VIDIS_0122:()=>ug,VIDIS_0123:()=>eg,VIDIS_0124:()=>tg,VIDIS_0125:()=>ng,VIDIS_0126:()=>rg,VIDIS_0190:()=>ig,VIDIS_0200:()=>ag,VIDIS_0210:()=>og,VIDIS_0211:()=>sg,VIDIS_0230:()=>lg,VIDIS_0290:()=>cg,VIDIS_0330:()=>hg,VIDIS_0340:()=>dg,VIDIS_0341:()=>fg,VIDIS_0400:()=>pg,VIDIS_0435:()=>Eg,VIDIS_0440:()=>Cg,VIDIS_5000:()=>Fg,VIDIS_7000:()=>Ag,default:()=>hru,general:()=>Dg,invalid_date_format:()=>bg,myHealth:()=>Bg,myHealthUrl:()=>vg,network_error:()=>yg,"no-access":()=>mg,prescriptionList:()=>gg,"status-message-content":()=>wg,"status-message-title":()=>xg});var XA="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0035)",YA="Le NISS du patient est manquant. (VIDIS_0050)",ZA="Les informations personnelles fournies n'ont pas été reconnues. (VIDIS_0090)",KA="L’utilisateur n’est pas autorisé à effectuer l’opération. (VIDIS_0100)",JA="Le patient n’a pas donné son consentement éclairé pour partager des informations personnelles sur sa santé. (VIDIS_0110)",QA="Il n’y a pas de relation thérapeutique entre le soignant et le patient. (VIDIS_0120)",$A="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",ug="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",eg="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",tg="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",ng="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",rg="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",ig="Le NISS du patient n’est pas valide. (VIDIS_0190)",ag="L’utilisateur n’est pas autorisé à effectuer l’opération en raison d’une exclusion entre le demandeur et le patient. (VIDIS_0200)",og="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0210)",sg="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0211)",lg="L’opération n’est pas valide. (VIDIS_0230)",cg="Le rôle d’utilisateur doit être citoyen (VIDIS_0290)",hg="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)",dg="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 (VIDIS_0340)",fg="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 (VIDIS_0341)",pg="Votre requête est invalide. Veuillez réessayer plus tard. (VIDIS_0400)",Eg="Impossible de déterminer la région de stockage du schéma de médication. (VIDIS_0435)",Cg="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0440)",Fg="Malheureusement, nous n'avons pas pu récupérer vos données. Voulez-vous réessayer ? (VIDIS_5000)",Ag="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_7000)",gg="Malheureusement, il n’a pas été possible de retrouver les détails de la prescription. Essayez-vous à nouveau?",Dg="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",mg="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",Bg="Revenir au portail MaSanté",vg="https://wwwint.masante.belgique.be/#/",yg="Désolé, une erreur réseau s'est produite. Veuillez contacter votre administrateur réseau si le problème persiste.",bg="Le format de date est invalide.",xg="Service temporairement indisponible",wg=`Nous rencontrons actuellement un problème de connexion au serveur.
262
262
  Veuillez réessayer plus tard.`,hru={VIDIS_0035:XA,VIDIS_0050:YA,VIDIS_0090:ZA,VIDIS_0100:KA,VIDIS_0110:JA,VIDIS_0120:QA,VIDIS_0121:$A,VIDIS_0122:ug,VIDIS_0123:eg,VIDIS_0124:tg,VIDIS_0125:ng,VIDIS_0126:rg,VIDIS_0190:ig,VIDIS_0200:ag,VIDIS_0210:og,VIDIS_0211:sg,VIDIS_0230:lg,VIDIS_0290:cg,VIDIS_0330:hg,VIDIS_0340:dg,VIDIS_0341:fg,VIDIS_0400:pg,VIDIS_0435:Eg,VIDIS_0440:Cg,VIDIS_5000:Fg,VIDIS_7000:Ag,prescriptionList:gg,general:Dg,"no-access":mg,myHealth:Bg,myHealthUrl:vg,network_error:yg,invalid_date_format:bg,"status-message-title":xg,"status-message-content":wg},_g={};it(_g,{VIDIS_0035:()=>Sg,VIDIS_0050:()=>kg,VIDIS_0090:()=>Pg,VIDIS_0100:()=>Ig,VIDIS_0110:()=>Tg,VIDIS_0120:()=>Og,VIDIS_0121:()=>Ng,VIDIS_0122:()=>Rg,VIDIS_0123:()=>Mg,VIDIS_0124:()=>Lg,VIDIS_0125:()=>jg,VIDIS_0126:()=>Vg,VIDIS_0190:()=>zg,VIDIS_0200:()=>Ug,VIDIS_0210:()=>Hg,VIDIS_0211:()=>Gg,VIDIS_0230:()=>qg,VIDIS_0290:()=>Wg,VIDIS_0330:()=>Xg,VIDIS_0340:()=>Yg,VIDIS_0341:()=>Zg,VIDIS_0400:()=>Kg,VIDIS_0435:()=>Jg,VIDIS_0440:()=>Qg,VIDIS_5000:()=>$g,VIDIS_7000:()=>uD,default:()=>dru,general:()=>tD,invalid_date_format:()=>oD,myHealth:()=>rD,myHealthUrl:()=>iD,network_error:()=>aD,"no-access":()=>nD,prescriptionList:()=>eD,"status-message-content":()=>lD,"status-message-title":()=>sD});var Sg="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0035)",kg="Het INSZ-patiëntnummer ontbreekt. (VIDIS_0050)",Pg="De persoonlijke informatie verstrekt werd niet herkend. (VIDIS_0090)",Ig="De gebruiker mag de bewerking niet uitvoeren. (VIDIS_0100)",Tg="De patiënt heeft geen geïnformeerde toestemming gegeven om persoonlijke gezondheidsinformatie te delen. (VIDIS_0110)",Og="Er is geen therapeutische relatie tussen de zorgverlener en de patiënt. (VIDIS_0120)",Ng="Het raadplegen van gegevens van een Brusselse patiënt is momenteel niet toegelaten.",Rg="Het raadplegen van gegevens van een Waalse patiënt is op dit moment niet toegelaten.",Mg="Het raadplegen van gegevens van een Brusselse kind door een ouder is momenteel niet toegelaten.",Lg="Het raadplegen van gegevens van een Waalse kind door een ouder is momenteel niet toegelaten.",jg="Het raadplegen van gegevens van een Brusselse patiënt door een volmacht is momenteel niet toegelaten.",Vg="Het raadplegen van gegevens van een Waalse patiënt door een volmacht is momenteel niet toegelaten.",zg="Het INSZ-patiëntnummer is ongeldig. (VIDIS_0190)",Ug="De gebruiker mag de bewerking niet uitvoeren omdat er een uitsluiting bestaat tussen de aanvrager en de patiënt. (VIDIS_0200)",Hg="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0210)",Gg="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0211)",qg="Het verzoek is ongeldig. (VIDIS_0230)",Wg="Gebruikersrol moet burger zijn. (VIDIS_0290)",Xg="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)",Yg="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 (VIDIS_0340)",Zg="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 (VIDIS_0341)",Kg="Uw aanvraag is ongeldig. Probeer het later opnieuw. (VIDIS_0400)",Jg="Kan de opslagregio van het medicatieschema niet bepalen. (VIDIS_0435)",Qg="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0440)",$g="Het is jammer genoeg niet gelukt uw gegevens op te halen. Probeert u het even opnieuw? (VIDIS_5000)",uD="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_7000)",eD="Het is jammer genoeg niet gelukt de details van het voorschrift op te halen. Probeert u het even opnieuw?",tD="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",nD="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",rD="Terug naar het MijnGezondheid portaal",iD="http://wwwint.mijngezondheid.belgie.be/",aD="Er is helaas een netwerkfout opgetreden. Neem contact op met uw netwerkbeheerder als het probleem aanhoudt.",oD="Ongeldig datumformaat.",sD="Service tijdelijk niet beschikbaar",lD=`Er is momenteel een probleem met de verbinding met de server.