PageSourceSearch

https://www.digilocker.gov.in/main.a0bfef6f888217393f92.js

js digilocker.gov.in collected 2026-10-01 10:11:44 UTC 1,645,349 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{"+lAO":function(e,t,n){"use strict";n.r(t),n.d(t,"iosTransitionAnimation",function(){return h}),n.d(t,"shadow",function(){return o});var r=n("Kfhc"),i=n("qb1Q");n("W6o/"),n("wEJo");const s=e=>document.querySelector(`${e}.ion-cloned-element`),o=e=>e.shadowRoot||e,a=e=>{const t="ION-TABS"===e.tagName?e:e.querySelector("ion-tabs"),n="ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=t){const e=t.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=e?e.querySelector(n):null}return e.querySelector(n)},l=(e,t)=>{const n="ION-TABS"===e.tagName?e:e.querySelector("ion-tabs");let r=[];if(null!=n){const e=n.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=e&&(r=e.querySelectorAll("ion-buttons"))}else r=e.querySelectorAll("ion-buttons");for(const i of r){const e=i.closest("ion-header"),n=e&&!e.classList.contains("header-collapse-condense-inactive"),r=i.querySelector("ion-back-button"),s=i.classList.contains("buttons-collapse"),o="start"===i.slot||""===i.slot;if(null!==r&&o&&(s&&n&&t||!s))return r}return null},c=(e,t,n,i,a,l)=>{const c=t?`calc(100% - ${l.right+4}px)`:l.left-4+"px",u=t?"7px":"-7px",h=t?"-4px":"4px",d=t?"-4px":"4px",p=t?"right":"left",f=t?"left":"right",m=[{offset:0,opacity:0,transform:`translate3d(${u}, ${a.top-40}px, 0) scale(2.1)`},{offset:1,opacity:1,transform:`translate3d(${h}, ${l.top-46}px, 0) scale(1)`}],g=[{offset:0,opacity:1,transform:`translate3d(${h}, ${l.top-46}px, 0) scale(1)`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${u}, ${a.top-40}px, 0) scale(2.1)`}],v=n?g:m,y=[{offset:0,opacity:0,transform:`translate3d(${d}, ${l.top-41}px, 0) scale(0.6)`},{offset:1,opacity:1,transform:`translate3d(${d}, ${l.top-46}px, 0) scale(1)`}],b=[{offset:0,opacity:1,transform:`translate3d(${d}, ${l.top-46}px, 0) scale(1)`},{offset:.2,opacity:0,transform:`translate3d(${d}, ${l.top-41}px, 0) scale(0.6)`},{offset:1,opacity:0,transform:`translate3d(${d}, ${l.top-41}px, 0) scale(0.6)`}],w=n?b:y,_=Object(r.a)(),x=Object(r.a)(),C=s("ion-back-button"),S=o(C).querySelector(".button-text"),E=o(C).querySelector("ion-icon");C.text=i.text,C.mode=i.mode,C.icon=i.icon,C.color=i.color,C.disabled=i.disabled,C.style.setProperty("display","block"),C.style.setProperty("position","fixed"),x.addElement(E),_.addElement(S),_.beforeStyles({"transform-origin":`${p} center`}).beforeAddWrite(()=>{i.style.setProperty("display","none"),C.style.setProperty(p,c)}).afterAddWrite(()=>{i.style.setProperty("display",""),C.style.setProperty("display","none"),C.style.removeProperty(p)}).keyframes(v),x.beforeStyles({"transform-origin":`${f} center`}).keyframes(w),e.addAnimation([_,x])},u=(e,t,n,i,o,a)=>{const l=t?`calc(100% - ${o.right}px)`:`${o.left}px`,c=t?"-18px":"18px",u=t?"right":"left",h=[{offset:0,opacity:0,transform:`translate3d(${c}, ${a.top-4}px, 0) scale(0.49)`},{offset:.1,opacity:0},{offset:1,opacity:1,transform:`translate3d(0, ${o.top-2}px, 0) scale(1)`}],d=[{offset:0,opacity:.99,transform:`translate3d(0, ${o.top-2}px, 0) scale(1)`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${c}, ${a.top-4}px, 0) scale(0.5)`}],p=n?h:d,f=s("ion-title"),m=Object(r.a)();f.innerText=i.innerText,f.size=i.size,f.color=i.color,m.addElement(f),m.beforeStyles({"transform-origin":`${u} center`,height:"46px",display:"",position:"relative",[u]:l}).beforeAddWrite(()=>{i.style.setProperty("display","none")}).afterAddWrite(()=>{i.style.setProperty("display",""),f.style.setProperty("display","none")}).keyframes(p),e.addAnimation(m)},h=(e,t)=>{try{const n="cubic-bezier(0.32,0.72,0,1)",s="opacity",h="transform",d="0%",p=.8,f="rtl"===e.ownerDocument.dir,m=f?"-99.5%":"99.5%",g=f?"33%":"-33%",v=t.enteringEl,y=t.leavingEl,b="back"===t.direction,w=v.querySelector(":scope > ion-content"),_=v.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),x=v.querySelectorAll(":scope > ion-header > ion-toolbar"),C=Object(r.a)(),S=Object(r.a)();if(C.addElement(v).duration(t.duration||540).easing(t.easing||n).fill("both").beforeRemoveClass("ion-page-invisible"),y&&e){const t=Object(r.a)();t.addElement(e),C.addAnimation(t)}if(w||0!==x.length||0!==_.length?(S.addElement(w),S.addElement(_)):S.addElement(v.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),C.addAnimation(S),b?S.beforeClearStyles([s]).fromTo("transform",`translateX(${g})`,`translateX(${d})`).fromTo(s,p,1):S.beforeClearStyles([s]).fromTo("transform",`translateX(${m})`,`translateX(${d})`),w){const e=o(w).querySelector(".transition-effect");if(e){const t=e.querySelector(".transition-cover"),n=e.querySelector(".transition-shadow"),i=Object(r.a)(),o=Object(r.a)(),a=Object(r.a)();i.addElement(e).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),o.addElement(t).beforeClearStyles([s]).fromTo(s,0,.1),a.addElement(n).beforeClearStyles([s]).fromTo(s,.03,.7),i.addAnimation([o,a]),S.addAnimation([i])}}const E=v.querySelector("ion-header.header-collapse-condense"),{forward:A,backward:k}=((e,t,n,r,i)=>{const s=l(r,n),o=a(i),h=a(r),d=l(i,n),p=null!==s&&null!==o&&!n,f=null!==h&&null!==d&&n;if(p){const r=o.getBoundingClientRect(),i=s.getBoundingClientRect();u(e,t,n,o,r,i),c(e,t,n,s,r,i)}else if(f){const r=h.getBoundingClientRect(),i=d.getBoundingClientRect();u(e,t,n,h,r,i),c(e,t,n,d,r,i)}return{forward:p,backward:f}})(C,f,b,v,y);
1if(x.forEach(e=>{const t=Object(r.a)();t.addElement(e),C.addAnimation(t);const n=Object(r.a)();n.addElement(e.querySelector("ion-title"));const i=Object(r.a)(),a=Array.from(e.querySelectorAll("ion-buttons,[menuToggle]")),l=e.closest("ion-header"),c=l&&l.classList.contains("header-collapse-condense-inactive");let u;u=b?a.filter(e=>{const t=e.classList.contains("buttons-collapse");return t&&!c||!t}):a.filter(e=>!e.classList.contains("buttons-collapse")),i.addElement(u);const h=Object(r.a)();h.addElement(e.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));const p=Object(r.a)();p.addElement(o(e).querySelector(".toolbar-background"));const v=Object(r.a)(),y=e.querySelector("ion-back-button");if(y&&v.addElement(y),t.addAnimation([n,i,h,p,v]),i.fromTo(s,.01,1),h.fromTo(s,.01,1),b)c||n.fromTo("transform",`translateX(${g})`,`translateX(${d})`).fromTo(s,.01,1),h.fromTo("transform",`translateX(${g})`,`translateX(${d})`),v.fromTo(s,.01,1);else{E||n.fromTo("transform",`translateX(${m})`,`translateX(${d})`).fromTo(s,.01,1),h.fromTo("transform",`translateX(${m})`,`translateX(${d})`),p.beforeClearStyles([s,"transform"]);if((null==l?void 0:l.translucent)?p.fromTo("transform",f?"translateX(-100%)":"translateX(100%)","translateX(0px)"):p.fromTo(s,.01,"var(--opacity)"),A||v.fromTo(s,.01,1),y&&!A){const e=Object(r.a)();e.addElement(o(y).querySelector(".button-text")).fromTo("transform",f?"translateX(-100px)":"translateX(100px)","translateX(0px)"),t.addAnimation(e)}}}),y){const e=Object(r.a)(),t=y.querySelector(":scope > ion-content"),n=y.querySelectorAll(":scope > ion-header > ion-toolbar"),a=y.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(t||0!==n.length||0!==a.length?(e.addElement(t),e.addElement(a)):e.addElement(y.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),C.addAnimation(e),b){e.beforeClearStyles([s]).fromTo("transform",`translateX(${d})`,f?"translateX(-100%)":"translateX(100%)");const t=Object(i.g)(y);C.afterAddWrite(()=>{"normal"===C.getDirection()&&t.style.setProperty("display","none")})}else e.fromTo("transform",`translateX(${d})`,`translateX(${g})`).fromTo(s,1,p);if(t){const n=o(t).querySelector(".transition-effect");if(n){const t=n.querySelector(".transition-cover"),i=n.querySelector(".transition-shadow"),o=Object(r.a)(),a=Object(r.a)(),l=Object(r.a)();o.addElement(n).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),a.addElement(t).beforeClearStyles([s]).fromTo(s,.1,0),l.addElement(i).beforeClearStyles([s]).fromTo(s,.7,.03),o.addAnimation([a,l]),e.addAnimation([o])}}n.forEach(e=>{const t=Object(r.a)();t.addElement(e);const n=Object(r.a)();n.addElement(e.querySelector("ion-title"));const i=Object(r.a)(),a=e.querySelectorAll("ion-buttons,[menuToggle]"),l=e.closest("ion-header"),c=l&&l.classList.contains("header-collapse-condense-inactive"),u=Array.from(a).filter(e=>{const t=e.classList.contains("buttons-collapse");return t&&!c||!t});i.addElement(u);const p=Object(r.a)(),m=e.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");m.length>0&&p.addElement(m);const v=Object(r.a)();v.addElement(o(e).querySelector(".toolbar-background"));const y=Object(r.a)(),w=e.querySelector("ion-back-button");if(w&&y.addElement(w),t.addAnimation([n,i,p,y,v]),C.addAnimation(t),y.fromTo(s,.99,0),i.fromTo(s,.99,0),p.fromTo(s,.99,0),b){c||n.fromTo("transform",`translateX(${d})`,f?"translateX(-100%)":"translateX(100%)").fromTo(s,.99,0),p.fromTo("transform",`translateX(${d})`,f?"translateX(-100%)":"translateX(100%)"),v.beforeClearStyles([s,"transform"]);if((null==l?void 0:l.translucent)?v.fromTo("transform","translateX(0px)",f?"translateX(-100%)":"translateX(100%)"):v.fromTo(s,"var(--opacity)",0),w&&!k){const e=Object(r.a)();e.addElement(o(w).querySelector(".button-text")).fromTo("transform",`translateX(${d})`,`translateX(${(f?-124:124)+"px"})`),t.addAnimation(e)}}else c||n.fromTo("transform",`translateX(${d})`,`translateX(${g})`).fromTo(s,.99,0).afterClearStyles([h,s]),p.fromTo("transform",`translateX(${d})`,`translateX(${g})`).afterClearStyles([h,s]),y.afterClearStyles([s]),n.afterClearStyles([s]),i.afterClearStyles([s])})}return C}catch(n){throw n}}},"/uUt":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("7o/Q");function i(e,t){return n=>n.lift(new s(e,t))}class s{constructor(e,t){this.compare=e,this.keySelector=t}call(e,t){return t.subscribe(new o(e,this.compare,this.keySelector))}}class o extends r.a{constructor(e,t,n){super(e),this.keySelector=n,this.hasKey=!1,"function"==typeof t&&(this.compare=t)}compare(e,t){return e===t}_next(e){let t;try{const{keySelector:n}=this;t=n?n(e):e}catch(r){return this.destination.error(r)}let n=!1;if(this.hasKey)try{const{compare:e}=this;n=e(this.key,t)}catch(r){return this.destination.error(r)}else this.hasKey=!0;n||(this.key=t,this.destination.next(e))}}},0:function(e,t,n){e.exports=n("zUnb")},1:function(e,t){},"1HFy":function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("mrSG"),i=n("fXoL");let s=class{constructor(){}setCurrentPageId(e){this.currentPageId=e}getCurrentPageId(){return this.currentPageId}};s.ctorParameters=()=>[],s=Object(r.c)([Object(i.E)({providedIn:"root"})],s)},"1uat":function(e,t,n){var r;e.exports=(r=n("Ib8C"),n("MlIO"),function(){var e=r,t=e.lib.Hasher,n=e.x64,i=n.Word,s=n.WordArray,o=e.algo;function a(){return i.create.apply(i,arguments)}var l=[a(1116352408,3609767458),a(1899447441,602891725),a(3049323471,3964484399),a(3921009573,2173295548),a(961987163,4081628472),a(1508970993,3053834265),a(2453635748,2937671579),a(2870763221,3664609560),a(3624381080,2734883394),a(310598401,1164996542),a(607225278,1323610764),a(1426881987,3590304994),a(1925078388,4068182383),a(2162078206,991336113),a(2614888103,633803317),a(3248222580,3479774868),a(3835390401,2666613458),a(4022224774,944711139),a(264347078,2341262773),a(604807628,2007800933),a(770255983,1495990901),a(1249150122,1856431235),a(1555081692,3175218132),a(1996064986,2198950837),a(2554220882,3999719339),a(2821834349,766784016),a(2952996808,2566594879),a(3210313671,3203337956),a(3336571891,1034457026),a(3584528711,2466948901),a(113926993,3758326383),a(338241895,168717936),a(666307205,1188179964),a(773529912,1546045734),a(1294757372,1522805485),a(1396182291,2643833823),a(1695183700,2343527390),a(198
16661051,1014477480),a(2177026350,1206759142),a(2456956037,344077627),a(2730485921,1290863460),a(2820302411,3158454273),a(3259730800,3505952657),a(3345764771,106217008),a(3516065817,3606008344),a(3600352804,1432725776),a(4094571909,1467031594),a(275423344,851169720),a(430227734,3100823752),a(506948616,1363258195),a(659060556,3750685593),a(883997877,3785050280),a(958139571,3318307427),a(1322822218,3812723403),a(1537002063,2003034995),a(1747873779,3602036899),a(1955562222,1575990012),a(2024104815,1125592928),a(2227730452,2716904306),a(2361852424,442776044),a(2428436474,593698344),a(2756734187,3733110249),a(3204031479,2999351573),a(3329325298,3815920427),a(3391569614,3928383900),a(3515267271,566280711),a(3940187606,3454069534),a(4118630271,4000239992),a(116418474,1914138554),a(174292421,2731055270),a(289380356,3203993006),a(460393269,320620315),a(685471733,587496836),a(852142971,1086792851),a(1017036298,365543100),a(1126000580,2618297676),a(1288033470,3409855158),a(1501505948,4234509866),a(1607167915,987167468),a(1816402316,1246189591)],c=[];!function(){for(var e=0;e<80;e++)c[e]=a()}();var u=o.SHA512=t.extend({_doReset:function(){this._hash=new s.init([new i.init(1779033703,4089235720),new i.init(3144134277,2227873595),new i.init(1013904242,4271175723),new i.init(2773480762,1595750129),new i.init(1359893119,2917565137),new i.init(2600822924,725511199),new i.init(528734635,4215389547),new i.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],i=n[1],s=n[2],o=n[3],a=n[4],u=n[5],h=n[6],d=n[7],p=r.high,f=r.low,m=i.high,g=i.low,v=s.high,y=s.low,b=o.high,w=o.low,_=a.high,x=a.low,C=u.high,S=u.low,E=h.high,A=h.low,k=d.high,I=d.low,T=p,O=f,D=m,P=g,M=v,N=y,R=b,L=w,j=_,F=x,B=C,$=S,V=E,U=A,z=k,H=I,q=0;q<80;q++){var G,W,Q=c[q];if(q<16)W=Q.high=0|e[t+2*q],G=Q.low=0|e[t+2*q+1];else{var K=c[q-15],X=K.high,Y=K.low,Z=(X>>>1|Y<<31)^(X>>>8|Y<<24)^X>>>7,J=(Y>>>1|X<<31)^(Y>>>8|X<<24)^(Y>>>7|X<<25),ee=c[q-2],te=ee.high,ne=ee.low,re=(te>>>19|ne<<13)^(te<<3|ne>>>29)^te>>>6,ie=(ne>>>19|te<<13)^(ne<<3|te>>>29)^(ne>>>6|te<<26),se=c[q-7],oe=se.high,ae=se.low,le=c[q-16],ce=le.high,ue=le.low;W=(W=(W=Z+oe+((G=J+ae)>>>0<J>>>0?1:0))+re+((G+=ie)>>>0<ie>>>0?1:0))+ce+((G+=ue)>>>0<ue>>>0?1:0),Q.high=W,Q.low=G}var he,de=j&B^~j&V,pe=F&$^~F&U,fe=T&D^T&M^D&M,me=O&P^O&N^P&N,ge=(T>>>28|O<<4)^(T<<30|O>>>2)^(T<<25|O>>>7),ve=(O>>>28|T<<4)^(O<<30|T>>>2)^(O<<25|T>>>7),ye=(j>>>14|F<<18)^(j>>>18|F<<14)^(j<<23|F>>>9),be=(F>>>14|j<<18)^(F>>>18|j<<14)^(F<<23|j>>>9),we=l[q],_e=we.high,xe=we.low,Ce=z+ye+((he=H+be)>>>0<H>>>0?1:0),Se=ve+me;z=V,H=U,V=B,U=$,B=j,$=F,j=R+(Ce=(Ce=(Ce=Ce+de+((he+=pe)>>>0<pe>>>0?1:0))+_e+((he+=xe)>>>0<xe>>>0?1:0))+W+((he+=G)>>>0<G>>>0?1:0))+((F=L+he|0)>>>0<L>>>0?1:0)|0,R=M,L=N,M=D,N=P,D=T,P=O,T=Ce+(ge+fe+(Se>>>0<ve>>>0?1:0))+((O=he+Se|0)>>>0<he>>>0?1:0)|0}f=r.low=f+O,r.high=p+T+(f>>>0<O>>>0?1:0),g=i.low=g+P,i.high=m+D+(g>>>0<P>>>0?1:0),y=s.low=y+N,s.high=v+M+(y>>>0<N>>>0?1:0),w=o.low=w+L,o.high=b+R+(w>>>0<L>>>0?1:0),x=a.low=x+F,a.high=_+j+(x>>>0<F>>>0?1:0),S=u.low=S+$,u.high=C+B+(S>>>0<$>>>0?1:0),A=h.low=A+U,h.high=E+V+(A>>>0<U>>>0?1:0),I=d.low=I+H,d.high=k+z+(I>>>0<H>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[30+(r+128>>>10<<5)]=Math.floor(n/4294967296),t[31+(r+128>>>10<<5)]=n,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=t.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});e.SHA512=t._createHelper(u),e.HmacSHA512=t._createHmacHelper(u)}(),r.SHA512)},"2QA8":function(e,t,n){"use strict";n.d(t,"a",function(){return r});const r="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},"2Vo4":function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("XNiG"),i=n("9ppp");class s extends r.a{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return t&&!t.closed&&e.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new i.a;return this._value}next(e){super.next(this._value=e)}}},"2fFW":function(e,t,n){"use strict";n.d(t,"a",function(){return i});let r=!1;const i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior b
1y code at: \n"+e.stack)}else r&&console.log("RxJS: Back to a better error behavior. Thank you. <3");r=e},get useDeprecatedSynchronousErrorHandling(){return r}}},"39oe":function(e,t,n){"use strict";n.d(t,"a",function(){return r});const r=e=>{try{if(e instanceof class{constructor(e){this.value=e}})return e.value;if(!o()||"string"!=typeof e||""===e)return e;const t=document.createDocumentFragment(),n=document.createElement("div");t.appendChild(n),n.innerHTML=e,l.forEach(e=>{const n=t.querySelectorAll(e);for(let r=n.length-1;r>=0;r--){const e=n[r];e.parentNode?e.parentNode.removeChild(e):t.removeChild(e);const o=s(e);for(let t=0;t<o.length;t++)i(o[t])}});const r=s(t);for(let e=0;e<r.length;e++)i(r[e]);const a=document.createElement("div");a.appendChild(t);const c=a.querySelector("div");return null!==c?c.innerHTML:a.innerHTML}catch(t){return console.error(t),""}},i=e=>{if(e.nodeType&&1!==e.nodeType)return;for(let n=e.attributes.length-1;n>=0;n--){const t=e.attributes.item(n),r=t.name;if(!a.includes(r.toLowerCase())){e.removeAttribute(r);continue}const i=t.value;null!=i&&i.toLowerCase().includes("javascript:")&&e.removeAttribute(r)}const t=s(e);for(let n=0;n<t.length;n++)i(t[n])},s=e=>null!=e.children?e.children:e.childNodes,o=()=>{const e=window,t=e&&e.Ionic&&e.Ionic.config;return!t||(t.get?t.get("sanitizerEnabled",!0):!0===t.sanitizerEnabled||void 0===t.sanitizerEnabled)},a=["class","id","href","src","name","slot"],l=["script","style","iframe","meta","link","object","embed"]},"3N8a":function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("quSY");class i extends r.a{constructor(e,t){super()}schedule(e,t=0){return this}}class s extends i{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){if(this.closed)return this;this.state=e;const n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this}requestAsyncId(e,t,n=0){return setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,t,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let n,r=!1;try{this.work(e)}catch(i){r=!0,n=!!i&&i||new Error(i)}if(r)return this.unsubscribe(),n}_unsubscribe(){const e=this.id,t=this.scheduler,n=t.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}},"3Pt+":function(e,t,n){"use strict";n.d(t,"a",function(){return bt}),n.d(t,"b",function(){return vt}),n.d(t,"c",function(){return c}),n.d(t,"d",function(){return z}),n.d(t,"e",function(){return yt}),n.d(t,"f",function(){return w});var r=n("fXoL"),i=n("ofXK"),s=n("Cfvw"),o=n("cp0P"),a=n("lJxs");class l{}const c=new r.F("NgValueAccessor"),u={provide:c,useExisting:Object(r.tb)(()=>h),multi:!0};class h extends l{constructor(e,t){super(),this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}h.\u0275fac=function(e){return new(e||h)(r.Mc(r.Z),r.Mc(r.v))},h.\u0275dir=r.Hc({type:h,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,t){1&e&&r.Zc("change",function(e){return t.onChange(e.target.checked)})("blur",function(){return t.onTouched()})},features:[r.Bc([u]),r.zc]}),h.ctorParameters=()=>[{type:r.Z},{type:r.v}];const d={provide:c,useExisting:Object(r.tb)(()=>f),multi:!0};const p=new r.F("CompositionEventMode");class f{constructor(e,t,n){this._renderer=e,this._elementRef=t,this._compositionMode=n,this.onChange=e=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const e=Object(i.r)()?Object(i.r)().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(e){const t=null==e?"":e;this._renderer.setProperty(this._elementRef.nativeElement,"value",t)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}function m(e){return null==e||0===e.length}function g(e){return null!=e&&"number"==typeof e.length}f.\u0275fac=function(e){return new(e||f)(r.Mc(r.Z),r.Mc(r.v),r.Mc(p,8))},f.\u0275dir=r.Hc({type:f,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,t){1&e&&r.Zc("input",function(e){return t._handleInput(e.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(e){return t._compositionEnd(e.target.value)})},features:[r.Bc([d])]}),f.ctorParameters=()=>[{type:r.Z},{type:r.v},{type:Boolean,decorators:[{type:r.S},{type:r.C,args:[p]}]}];const v=new r.F("NgValidators"),y=new r.F("NgAsyncValidators"),b=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class w{static min(e){return function(e){return t=>{if(m(t.value)||m(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}(e)}static max(e){return function(e){return t=>{if(m(t.value)||m(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}(e)}static required(e){return _(e)}static requiredTrue(e){return x(e)}static email(e){return C(e)}static minLength(e){return S(e)}static maxLength(e){return E(e)}static pattern(e){return A(e)}static nullValidator(e){return null}static compose(e){return M(e)}static composeAsync(e){return R(e)}}function _(e){return m(e.value)?{required:!0}:null}function x(e){return!0===e.value?null:{required:!0}}function C(e){return m(e.value)||b.test(e.value)?null:{email:!0}}function S(e){return t=>m(t.value)||!g(t.value)?null:t.value.length<e?{minlength:{requiredLength:e,actualLength:t.value.length}}:null}function E(e){return t=>g(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}function A(e){if(!e)return k;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),e=>{if(m(e.value))return null;const r=e.value;return t.test(r)?null:{pattern:{requiredPattern:n,actualValue:r}}}}function k(e){return null}function I(e){return null!=e}function T(e){const t=Object(r.ec)(e)?Object(s.a)(e):e;return Object(r.dc)(t),t}function O(e){let t={};
1return e.forEach(e=>{t=null!=e?Object.assign(Object.assign({},t),e):t}),0===Object.keys(t).length?null:t}function D(e,t){return t.map(t=>t(e))}function P(e){return e.map(e=>function(e){return!e.validate}(e)?e:t=>e.validate(t))}function M(e){if(!e)return null;const t=e.filter(I);return 0==t.length?null:function(e){return O(D(e,t))}}function N(e){return null!=e?M(P(e)):null}function R(e){if(!e)return null;const t=e.filter(I);return 0==t.length?null:function(e){const n=D(e,t).map(T);return Object(o.a)(n).pipe(Object(a.a)(O))}}function L(e){return null!=e?R(P(e)):null}function j(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function F(e){return e._rawValidators}function B(e){return e._rawAsyncValidators}class ${constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=N(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=L(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e){this.control&&this.control.reset(e)}hasError(e,t){return!!this.control&&this.control.hasError(e,t)}getError(e,t){return this.control?this.control.getError(e,t):null}}$.\u0275fac=function(e){return new(e||$)},$.\u0275dir=r.Hc({type:$});class V extends ${get formDirective(){return null}get path(){return null}}V.\u0275fac=function(e){return U(e||V)},V.\u0275dir=r.Hc({type:V,features:[r.zc]});const U=r.Tc(V);class z extends ${constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class H{constructor(e){this._cd=e}is(e){var t,n;return!!(null===(n=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===n?void 0:n[e])}}class q extends H{constructor(e){super(e)}}q.\u0275fac=function(e){return new(e||q)(r.Mc(z,2))},q.\u0275dir=r.Hc({type:q,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&r.Ec("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[r.zc]}),q.ctorParameters=()=>[{type:z,decorators:[{type:r.eb}]}];class G extends H{constructor(e){super(e)}}G.\u0275fac=function(e){return new(e||G)(r.Mc(V,10))},G.\u0275dir=r.Hc({type:G,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(e,t){2&e&&r.Ec("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[r.zc]}),G.ctorParameters=()=>[{type:V,decorators:[{type:r.S},{type:r.eb}]}];function W(e,t){return[...t.path,e]}function Q(e,t){Y(e,t,!0),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&J(e,t)})}(e,t),function(e,t){const n=(e,n)=>{t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&J(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function(e,t){if(t.valueAccessor.setDisabledState){const n=e=>{t.valueAccessor.setDisabledState(e)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function K(e,t,n=!0){const r=()=>{0};t.valueAccessor&&(t.valueAccessor.registerOnChange(r),t.valueAccessor.registerOnTouched(r)),Z(e,t,!0),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}
1function X(e,t){e.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function Y(e,t,n){const r=F(e);null!==t.validator?e.setValidators(j(r,t.validator)):"function"==typeof r&&e.setValidators([r]);const i=B(e);if(null!==t.asyncValidator?e.setAsyncValidators(j(i,t.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]),n){const n=()=>e.updateValueAndValidity();X(t._rawValidators,n),X(t._rawAsyncValidators,n)}}function Z(e,t,n){let r=!1;if(null!==e){if(null!==t.validator){const n=F(e);if(Array.isArray(n)&&n.length>0){const i=n.filter(e=>e!==t.validator);i.length!==n.length&&(r=!0,e.setValidators(i))}}if(null!==t.asyncValidator){const n=B(e);if(Array.isArray(n)&&n.length>0){const i=n.filter(e=>e!==t.asyncValidator);i.length!==n.length&&(r=!0,e.setAsyncValidators(i))}}}if(n){const e=()=>{};X(t._rawValidators,e),X(t._rawAsyncValidators,e)}return r}function J(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function ee(e,t){Y(e,t,!1)}function te(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}function ne(e,t){e._syncPendingControls(),t.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function re(e,t){if(!t)return null;let n,r,i;return Array.isArray(t),t.forEach(e=>{var t;e.constructor===f?n=e:(t=e,Object.getPrototypeOf(t.constructor)===l?r=e:i=e)}),i||(r||(n||null))}function ie(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const se="VALID",oe="INVALID",ae="PENDING",le="DISABLED";function ce(e){return(pe(e)?e.validators:e)||null}function ue(e){return Array.isArray(e)?N(e):e||null}function he(e,t){return(pe(t)?t.asyncValidators:e)||null}function de(e){return Array.isArray(e)?L(e):e||null}function pe(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class fe{constructor(e,t){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=e,this._rawAsyncValidators=t,this._composedValidatorFn=ue(this._rawValidators),this._composedAsyncValidatorFn=de(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===se}get invalid(){return this.status===oe}get pending(){return this.status==ae}get disabled(){return this.status===le}get enabled(){return this.status!==le}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._rawValidators=e,this._composedValidatorFn=ue(e)}setAsyncValidators(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=de(e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}
1markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=ae,!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=le,this.errors=null,this._forEachChild(t=>{t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!0))}enable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=se,this._forEachChild(t=>{t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),this.status!==se&&this.status!==ae||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?le:se}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=ae,this._hasOwnPendingAsyncValidator=!0;const t=T(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}get(e){return function(e,t,n){if(null==t)return null;if(Array.isArray(t)||(t=t.split(n)),Array.isArray(t)&&0===t.length)return null;let r=e;return t.forEach(e=>{r=r instanceof ge?r.controls.hasOwnProperty(e)?r.controls[e]:null:r instanceof ve&&r.at(e)||null}),r}(this,e,".")}getError(e,t){const n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new r.x,this.statusChanges=new r.x}_calculateStatus(){return this._allControlsDisabled()?le:this.errors?oe:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ae)?ae:this._anyControlsHaveStatus(oe)?oe:se}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_isBoxedValue(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){pe(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){const t=this._parent&&this._parent.dirty;return!e&&!!t&&!this._parent._anyControlsDirty()}}class me extends fe{constructor(e=null,t,n){super(ce(t),he(n,t)),this._onChange=[],this._applyFormState(e),this._setUpdateStrategy(t),this._initOb
vendor: 4,215 bytes, line 1
1servables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(e=>e(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=null,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){ie(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){ie(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange))&&(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0)}_applyFormState(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}class ge extends fe{constructor(e,t,n){super(ce(t),he(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){this._checkAllValuesPresent(e),Object.keys(e).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(Object.keys(e).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e={},t={}){this._forEachChild((n,r)=>{n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,n)=>(e[n]=t instanceof me?t.value:t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!Object.keys(this.controls).length)throw new Error("\n        There are no form controls registered with this group yet. If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.controls[e])throw new Error(`Cannot find form control with name: ${e}.`)}_forEachChild(e){Object.keys(this.controls).forEach(t=>{const n=this.controls[t];n&&e(n,t)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(const t of Object.keys(this.controls)){const n=this.controls[t];if(this.contains(t)&&e(n))return!0}return!1}_reduceValue(){return this._reduceChildren({},(e,t,n)=>((t.enabled||this.disabled)&&(e[n]=t.value),e))}_reduceChildren(e,t){let n=e;return this._forEachChild((e,r)=>{n=t(n,e,r)}),n}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(e){this._forEachChild((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class ve extends fe{constructor(e,t,n){super(ce(t),he(n,t)),this.controls=e,this._initOb
1servables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}at(e){return this.controls[e]}push(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()}insert(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()}removeAt(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),this.updateValueAndValidity()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,t={}){this._checkAllValuesPresent(e),e.forEach((e,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(e.forEach((e,n)=>{this.at(n)&&this.at(n).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e=[],t={}){this._forEachChild((n,r)=>{n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(e=>e instanceof me?e.value:e.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let e=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!this.controls.length)throw new Error("\n        There are no form controls registered with this array yet. If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.at(e))throw new Error(`Cannot find form control at index ${e}`)}_forEachChild(e){this.controls.forEach((t,n)=>{e(t,n)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(t=>t.enabled&&e(t))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_checkAllValuesPresent(e){this._forEachChild((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}}const ye={provide:V,useExisting:Object(r.tb)(()=>we)},be=Promise.resolve(null);class we extends V{constructor(e,t){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new r.x,this.form=new ge({},N(e),L(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){be.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),Q(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(e)})}getControl(e){return this.form.get(e.path)}
1removeControl(e){be.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),ie(this._directives,e)})}addFormGroup(e){be.then(()=>{const t=this._findContainer(e.path),n=new ge({});ee(n,e),t.registerControl(e.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){be.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){be.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,ne(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}we.\u0275fac=function(e){return new(e||we)(r.Mc(v,10),r.Mc(y,10))},we.\u0275dir=r.Hc({type:we,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&r.Zc("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r.Bc([ye]),r.zc]}),we.ctorParameters=()=>[{type:Array,decorators:[{type:r.S},{type:r.eb},{type:r.C,args:[v]}]},{type:Array,decorators:[{type:r.S},{type:r.eb},{type:r.C,args:[y]}]}],we.propDecorators={options:[{type:r.H,args:["ngFormOptions"]}]};class _e extends V{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return W(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}_e.\u0275fac=function(e){return xe(e||_e)},_e.\u0275dir=r.Hc({type:_e,features:[r.zc]});const xe=r.Tc(_e);const Ce={provide:V,useExisting:Object(r.tb)(()=>Se)};class Se extends _e{constructor(e,t,n){super(),this._parent=e,this._setValidators(t),this._setAsyncValidators(n)}_checkParentType(){!(this._parent instanceof Se)&&this._parent,0}}Se.\u0275fac=function(e){return new(e||Se)(r.Mc(V,5),r.Mc(v,10),r.Mc(y,10))},Se.\u0275dir=r.Hc({type:Se,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[r.Bc([Ce]),r.zc]}),Se.ctorParameters=()=>[{type:V,decorators:[{type:r.y},{type:r.fb}]},{type:Array,decorators:[{type:r.S},{type:r.eb},{type:r.C,args:[v]}]},{type:Array,decorators:[{type:r.S},{type:r.eb},{type:r.C,args:[y]}]}],Se.propDecorators={name:[{type:r.H,args:["ngModelGroup"]}]};const Ee={provide:z,useExisting:Object(r.tb)(()=>ke)},Ae=Promise.resolve(null);class ke extends z{constructor(e,t,n,i){super(),this.control=new me,this._registered=!1,this.update=new r.x,this._parent=e,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=re(0,i)}ngOnChanges(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),te(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?W(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Q(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){0}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){Ae.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1})})}_updateDisabled(e){const t=e.isDisabled.currentValue,n=""===t||t&&"false"!==t;Ae.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}ke.\u0275fac=function(e){return new(e||ke)(r.Mc(V,9),r.Mc(v,10),r.Mc(y,10),r.Mc(c,10))},ke.\u0275dir=r.Hc({type:ke,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[r.Bc([Ee]),r.zc,r.Ac]}),ke.ctorParameters=()=>[{type:V,decorators:[{type:r.S},{type:r.y}]}
1,{type:Array,decorators:[{type:r.S},{type:r.eb},{type:r.C,args:[v]}]},{type:Array,decorators:[{type:r.S},{type:r.eb},{type:r.C,args:[y]}]},{type:Array,decorators:[{type:r.S},{type:r.eb},{type:r.C,args:[c]}]}],ke.propDecorators={name:[{type:r.H}],isDisabled:[{type:r.H,args:["disabled"]}],model:[{type:r.H,args:["ngModel"]}],options:[{type:r.H,args:["ngModelOptions"]}],update:[{type:r.T,args:["ngModelChange"]}]};class Ie{}Ie.\u0275fac=function(e){return new(e||Ie)},Ie.\u0275dir=r.Hc({type:Ie,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});const Te={provide:c,useExisting:Object(r.tb)(()=>Oe),multi:!0};class Oe extends l{constructor(e,t){super(),this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){const t=null==e?"":e;this._renderer.setProperty(this._elementRef.nativeElement,"value",t)}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}Oe.\u0275fac=function(e){return new(e||Oe)(r.Mc(r.Z),r.Mc(r.v))},Oe.\u0275dir=r.Hc({type:Oe,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&r.Zc("input",function(e){return t.onChange(e.target.value)})("blur",function(){return t.onTouched()})},features:[r.Bc([Te]),r.zc]}),Oe.ctorParameters=()=>[{type:r.Z},{type:r.v}];const De={provide:c,useExisting:Object(r.tb)(()=>Ne),multi:!0};class Pe{}Pe.\u0275fac=function(e){return new(e||Pe)},Pe.\u0275mod=r.Kc({type:Pe}),Pe.\u0275inj=r.Jc({});class Me{constructor(){this._accessors=[]}add(e,t){this._accessors.push([e,t])}remove(e){for(let t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}select(e){this._accessors.forEach(t=>{this._isSameGroup(t,e)&&t[1]!==e&&t[1].fireUncheck(e.value)})}_isSameGroup(e,t){return!!e[0].control&&(e[0]._parent===t._control._parent&&e[1].name===t.name)}}Me.\u0275fac=function(e){return new(e||Me)},Me.\u0275prov=Object(r.Ic)({factory:function(){return new Me},token:Me,providedIn:Pe});class Ne extends l{constructor(e,t,n,r){super(),this._renderer=e,this._elementRef=t,this._registry=n,this._injector=r,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(z),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(e){this._fn=e,this.onChange=()=>{e(this.value),this._registry.select(this)}}fireUncheck(e){this.writeValue(e)}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_checkName(){this.name&&this.formControlName&&(this.name,this.formControlName),!this.name&&this.formControlName&&(this.name=this.formControlName)}}Ne.\u0275fac=function(e){return new(e||Ne)(r.Mc(r.Z),r.Mc(r.v),r.Mc(Me),r.Mc(r.G))},Ne.\u0275dir=r.Hc({type:Ne,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,t){1&e&&r.Zc("change",function(){return t.onChange()})("blur",function(){return t.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[r.Bc([De]),r.zc]}),Ne.ctorParameters=()=>[{type:r.Z},{type:r.v},{type:Me},{type:r.G}],Ne.propDecorators={name:[{type:r.H}],formControlName:[{type:r.H}],value:[{type:r.H}]};const Re={provide:c,useExisting:Object(r.tb)(()=>Le),multi:!0};class Le extends l{constructor(e,t){super(),this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}Le.\u0275fac=function(e){return new(e||Le)(r.Mc(r.Z),r.Mc(r.v))},Le.\u0275dir=r.Hc({type:Le,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,t){1&e&&r.Zc("change",function(e){return t.onChange(e.target.value)})("input",function(e){return t.onChange(e.target.value)})("blur",function(){return t.onTouched()})},features:[r.Bc([Re]),r.zc]}),Le.ctorParameters=()=>[{type:r.Z},{type:r.v}];const je=new r.F("NgModelWithFormControlWarning"),Fe={provide:z,useExisting:Object(r.tb)(()=>Be)};class Be extends z{constructor(e,t,n,i){super(),this._ngModelWarningConfig=i,this.update=new r.x,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(t),this.valueAccessor=re(0,n)}set isDisabled(e){0}ngOnChanges(e){if(this._isControlChanged(e)){const t=e.form.previousValue;
1t&&K(t,this,!1),Q(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}te(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&K(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}Be.\u0275fac=function(e){return new(e||Be)(r.Mc(v,10),r.Mc(y,10),r.Mc(c,10),r.Mc(je,8))},Be.\u0275dir=r.Hc({type:Be,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[r.Bc([Fe]),r.zc,r.Ac]}),Be._ngModelWarningSentOnce=!1,Be.ctorParameters=()=>[{type:Array,decorators:[{type:r.S},{type:r.eb},{type:r.C,args:[v]}]},{type:Array,decorators:[{type:r.S},{type:r.eb},{type:r.C,args:[y]}]},{type:Array,decorators:[{type:r.S},{type:r.eb},{type:r.C,args:[c]}]},{type:String,decorators:[{type:r.S},{type:r.C,args:[je]}]}],Be.propDecorators={form:[{type:r.H,args:["formControl"]}],isDisabled:[{type:r.H,args:["disabled"]}],model:[{type:r.H,args:["ngModel"]}],update:[{type:r.T,args:["ngModelChange"]}]};const $e={provide:V,useExisting:Object(r.tb)(()=>Ve)};class Ve extends V{constructor(e,t){super(),this.validators=e,this.asyncValidators=t,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new r.x,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Z(this.form,this,!1),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return Q(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}
1removeControl(e){K(e.control||null,e,!1),ie(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this.submitted=!0,ne(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const t=e.control,n=this.form.get(e.path);t!==n&&(K(t||null,e),n instanceof me&&(Q(n,e),e.control=n))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const t=this.form.get(e.path);ee(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const t=this.form.get(e.path);if(t){(function(e,t){return Z(e,t,!1)})(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Y(this.form,this,!1),this._oldForm&&Z(this._oldForm,this,!1)}_checkFormPresent(){this.form,0}}Ve.\u0275fac=function(e){return new(e||Ve)(r.Mc(v,10),r.Mc(y,10))},Ve.\u0275dir=r.Hc({type:Ve,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&r.Zc("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r.Bc([$e]),r.zc,r.Ac]}),Ve.ctorParameters=()=>[{type:Array,decorators:[{type:r.S},{type:r.eb},{type:r.C,args:[v]}]},{type:Array,decorators:[{type:r.S},{type:r.eb},{type:r.C,args:[y]}]}],Ve.propDecorators={form:[{type:r.H,args:["formGroup"]}],ngSubmit:[{type:r.T}]};const Ue={provide:V,useExisting:Object(r.tb)(()=>ze)};class ze extends _e{constructor(e,t,n){super(),this._parent=e,this._setValidators(t),this._setAsyncValidators(n)}_checkParentType(){Ge(this._parent),0}}ze.\u0275fac=function(e){return new(e||ze)(r.Mc(V,13),r.Mc(v,10),r.Mc(y,10))},ze.\u0275dir=r.Hc({type:ze,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[r.Bc([Ue]),r.zc]}),ze.ctorParameters=()=>[{type:V,decorators:[{type:r.S},{type:r.y},{type:r.fb}]},{type:Array,decorators:[{type:r.S},{type:r.eb},{type:r.C,args:[v]}]},{type:Array,decorators:[{type:r.S},{type:r.eb},{type:r.C,args:[y]}]}],ze.propDecorators={name:[{type:r.H,args:["formGroupName"]}]};const He={provide:V,useExisting:Object(r.tb)(()=>qe)};class qe extends V{constructor(e,t,n){super(),this._parent=e,this._setValidators(t),this._setAsyncValidators(n)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return W(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Ge(this._parent),0}}function Ge(e){return!(e instanceof ze||e instanceof Ve||e instanceof qe)}qe.\u0275fac=function(e){return new(e||qe)(r.Mc(V,13),r.Mc(v,10),r.Mc(y,10))},qe.\u0275dir=r.Hc({type:qe,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[r.Bc([He]),r.zc]}),qe.ctorParameters=()=>[{type:V,decorators:[{type:r.S},{type:r.y},{type:r.fb}]},{type:Array,decorators:[{type:r.S},{type:r.eb},{type:r.C,args:[v]}]},{type:Array,decorators:[{type:r.S},{type:r.eb},{type:r.C,args:[y]}]}],qe.propDecorators={name:[{type:r.H,args:["formArrayName"]}]};const We={provide:z,useExisting:Object(r.tb)(()=>Qe)};class Qe extends z{constructor(e,t,n,i,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.update=new r.x,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=re(0,i)}set isDisabled(e){0}ngOnChanges(e){this._added||this._setUpControl(),te(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return W(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){0}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}Qe.\u0275fac=function(e){return new(e||Qe)(r.Mc(V,13),r.Mc(v,10),r.Mc(y,10),r.Mc(c,10),r.Mc(je,8))},Qe.\u0275dir=r.Hc({type:Qe,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[r.Bc([We]),r.zc,r.Ac]}),Qe._ngModelWarningSentOnce=!1,Qe.ctorParameters=()=>[{type:V,decorators:[{type:r.S},{type:r.y},{type:r.fb}]},{type:Array,decorators:[{type:r.S},{type:r.eb},{type:r.C,args:[v]}]},{type:Array,decorators:[{type:r.S},{type:r.eb},{type:r.C,args:[y]}]},{type:Array,decorators:[{type:r.S},{type:r.eb},{type:r.C,args:[c]}]},{type:String,decorators:[{type:r.S},{type:r.C,args:[je]}]}],Qe.propDecorators={name:[{type:r.H,args:["formControlName"]}],isDisabled:[{type:r.H,args:["disabled"]}],model:[{type:r.H,args:["ngModel"]}],update:[{type:r.T,args:["ngModelChange"]}]};const Ke={provide:c,useExisting:Object(r.tb)(()=>Ye),multi:!0};function Xe(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}class Ye extends l{constructor(e,t){super(),this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){this.value=e;const t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const n=Xe(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}registerOnChange(e){this.onChange=t=>{this.value=this._getOptionValue(t),e(this.value)}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t),e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e}}Ye.\u0275fac=function(e){return new(e||Ye)(r.Mc(r.Z),r.Mc(r.v))},Ye.\u0275dir=r.Hc({type:Ye,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,t){1&e&&r.Zc("change",function(e){return t.onChange(e.target.value)})("blur",function(){return t.onTouched()})},inputs:{compareWith:"compareWith"},features:[r.Bc([Ke]),r.zc]}),Ye.ctorParameters=()=>[{type:r.Z},{type:r.v}],Ye.propDecorators={compareWith:[{type:r.H}]};class Ze{constructor(e,t,n){this._element=e,this._renderer=t,this._select=n,this._select&&(this.id=this._select._registerOption())}set ngValue(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(Xe(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id
1),this._select.writeValue(this._select.value))}}Ze.\u0275fac=function(e){return new(e||Ze)(r.Mc(r.v),r.Mc(r.Z),r.Mc(Ye,9))},Ze.\u0275dir=r.Hc({type:Ze,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),Ze.ctorParameters=()=>[{type:r.v},{type:r.Z},{type:Ye,decorators:[{type:r.S},{type:r.y}]}],Ze.propDecorators={ngValue:[{type:r.H,args:["ngValue"]}],value:[{type:r.H,args:["value"]}]};const Je={provide:c,useExisting:Object(r.tb)(()=>tt),multi:!0};function et(e,t){return null==e?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}class tt extends l{constructor(e,t){super(),this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){let t;if(this.value=e,Array.isArray(e)){const n=e.map(e=>this._getOptionId(e));t=(e,t)=>{e._setSelected(n.indexOf(t.toString())>-1)}}else t=(e,t)=>{e._setSelected(!1)};this._optionMap.forEach(t)}registerOnChange(e){this.onChange=t=>{const n=[];if(void 0!==t.selectedOptions){const e=t.selectedOptions;for(let t=0;t<e.length;t++){const r=e.item(t),i=this._getOptionValue(r.value);n.push(i)}}else{const e=t.options;for(let t=0;t<e.length;t++){const r=e.item(t);if(r.selected){const e=this._getOptionValue(r.value);n.push(e)}}}this.value=n,e(n)}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_registerOption(e){const t=(this._idCounter++).toString();return this._optionMap.set(t,e),t}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t)._value,e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t)._value:e}}tt.\u0275fac=function(e){return new(e||tt)(r.Mc(r.Z),r.Mc(r.v))},tt.\u0275dir=r.Hc({type:tt,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(e,t){1&e&&r.Zc("change",function(e){return t.onChange(e.target)})("blur",function(){return t.onTouched()})},inputs:{compareWith:"compareWith"},features:[r.Bc([Je]),r.zc]}),tt.ctorParameters=()=>[{type:r.Z},{type:r.v}],tt.propDecorators={compareWith:[{type:r.H}]};class nt{constructor(e,t,n){this._element=e,this._renderer=t,this._select=n,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){null!=this._select&&(this._value=e,this._setElementValue(et(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(et(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}_setSelected(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}nt.\u0275fac=function(e){return new(e||nt)(r.Mc(r.v),r.Mc(r.Z),r.Mc(tt,9))},nt.\u0275dir=r.Hc({type:nt,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),nt.ctorParameters=()=>[{type:r.v},{type:r.Z},{type:tt,decorators:[{type:r.S},{type:r.y}]}],nt.propDecorators={ngValue:[{type:r.H,args:["ngValue"]}],value:[{type:r.H,args:["value"]}]};const rt={provide:v,useExisting:Object(r.tb)(()=>st),multi:!0},it={provide:v,useExisting:Object(r.tb)(()=>ot),multi:!0};class st{constructor(){this._required=!1}get required(){return this._required}set required(e){this._required=null!=e&&!1!==e&&"false"!=`${e}`,this._onChange&&this._onChange()}validate(e){return this.required?_(e):null}registerOnValidatorChange(e){this._onChange=e}}st.\u0275fac=function(e){return new(e||st)},st.\u0275dir=r.Hc({type:st,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&r.Dc("required",t.required?"":null)},inputs:{required:"required"},features:[r.Bc([rt])]}),st.propDecorators={required:[{type:r.H}]};class ot extends st{validate(e){return this.required?x(e):null}}ot.\u0275fac=function(e){return at(e||ot)},ot.\u0275dir=r.Hc({type:ot,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&r.Dc("required",t.required?"":null)},features:[r.Bc([it]),r.zc]});const at=r.Tc(ot),lt={provide:v,useExisting:Object(r.tb)(()=>ct),multi:!0};class ct{constructor(){this._enabled=!1}set email(e){this._enabled=""===e||!0===e||"true"===e,this._onChange&&this._onChange()}validate(e){return this._enabled?C(e):null}registerOnValidatorChange(e){this._onChange=e}}ct.\u0275fac=function(e){return new(e||ct)},ct.\u0275dir=r.Hc({type:ct,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[r.Bc([lt])]}),ct.propDecorators={email:[{type:r.H}]};const ut={provide:v,useExisting:Object(r.tb)(()=>ht),multi:!0};
1class ht{constructor(){this._validator=k}ngOnChanges(e){"minlength"in e&&(this._createValidator(),this._onChange&&this._onChange())}validate(e){return null==this.minlength?null:this._validator(e)}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=S("number"==typeof this.minlength?this.minlength:parseInt(this.minlength,10))}}ht.\u0275fac=function(e){return new(e||ht)},ht.\u0275dir=r.Hc({type:ht,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&r.Dc("minlength",t.minlength?t.minlength:null)},inputs:{minlength:"minlength"},features:[r.Bc([ut]),r.Ac]}),ht.propDecorators={minlength:[{type:r.H}]};const dt={provide:v,useExisting:Object(r.tb)(()=>pt),multi:!0};class pt{constructor(){this._validator=k}ngOnChanges(e){"maxlength"in e&&(this._createValidator(),this._onChange&&this._onChange())}validate(e){return null!=this.maxlength?this._validator(e):null}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=E("number"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))}}pt.\u0275fac=function(e){return new(e||pt)},pt.\u0275dir=r.Hc({type:pt,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&r.Dc("maxlength",t.maxlength?t.maxlength:null)},inputs:{maxlength:"maxlength"},features:[r.Bc([dt]),r.Ac]}),pt.propDecorators={maxlength:[{type:r.H}]};const ft={provide:v,useExisting:Object(r.tb)(()=>mt),multi:!0};class mt{constructor(){this._validator=k}ngOnChanges(e){"pattern"in e&&(this._createValidator(),this._onChange&&this._onChange())}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=A(this.pattern)}}mt.\u0275fac=function(e){return new(e||mt)},mt.\u0275dir=r.Hc({type:mt,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&r.Dc("pattern",t.pattern?t.pattern:null)},inputs:{pattern:"pattern"},features:[r.Bc([ft]),r.Ac]}),mt.propDecorators={pattern:[{type:r.H}]};class gt{}gt.\u0275fac=function(e){return new(e||gt)},gt.\u0275mod=r.Kc({type:gt}),gt.\u0275inj=r.Jc({imports:[[Pe]]}),("undefined"==typeof ngJitMode||ngJitMode)&&r.nd(gt,{declarations:[Ie,Ze,nt,f,Oe,Le,h,Ye,tt,Ne,q,G,st,ht,pt,mt,ot,ct],imports:[Pe],exports:[Ie,Ze,nt,f,Oe,Le,h,Ye,tt,Ne,q,G,st,ht,pt,mt,ot,ct]});class vt{}vt.\u0275fac=function(e){return new(e||vt)},vt.\u0275mod=r.Kc({type:vt}),vt.\u0275inj=r.Jc({imports:[gt]}),("undefined"==typeof ngJitMode||ngJitMode)&&r.nd(vt,{declarations:[ke,Se,we],exports:[gt,ke,Se,we]});class yt{static withConfig(e){return{ngModule:yt,providers:[{provide:je,useValue:e.warnOnNgModelWithFormControl}]}}}yt.\u0275fac=function(e){return new(e||yt)},yt.\u0275mod=r.Kc({type:yt}),yt.\u0275inj=r.Jc({imports:[gt]}),("undefined"==typeof ngJitMode||ngJitMode)&&r.nd(yt,{declarations:[Be,Ve,Qe,ze,qe],exports:[gt,Be,Ve,Qe,ze,qe]});class bt{group(e,t=null){const n=this._reduceControls(e);let r,i=null,s=null;return null!=t&&(!function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(t)?(i=null!=t.validator?t.validator:null,s=null!=t.asyncValidator?t.asyncValidator:null):(i=null!=t.validators?t.validators:null,s=null!=t.asyncValidators?t.asyncValidators:null,r=null!=t.updateOn?t.updateOn:void 0)),new ge(n,{asyncValidators:s,updateOn:r,validators:i})}control(e,t,n){return new me(e,t,n)}array(e,t,n){const r=e.map(e=>this._createControl(e));return new ve(r,t,n)}_reduceControls(e){const t={};return Object.keys(e).forEach(n=>{t[n]=this._createControl(e[n])}),t}_createControl(e){if(e instanceof me||e instanceof ge||e instanceof ve)return e;if(Array.isArray(e)){const t=e[0],n=e.length>1?e[1]:null,r=e.length>2?e[2]:null;return this.control(t,n,r)}return this.control(e)}}bt.\u0275fac=function(e){return new(e||bt)},bt.\u0275prov=Object(r.Ic)({factory:function(){return new bt},token:bt,providedIn:yt});
1new r.mb("11.2.14")},"3y9D":function(e,t,n){var r,i,s,o,a,l,c,u;e.exports=(u=n("Ib8C"),i=(r=u).lib,s=i.WordArray,o=i.Hasher,a=r.algo,l=[],c=a.SHA1=o.extend({_doReset:function(){this._hash=new s.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],i=n[1],s=n[2],o=n[3],a=n[4],c=0;c<80;c++){if(c<16)l[c]=0|e[t+c];else{var u=l[c-3]^l[c-8]^l[c-14]^l[c-16];l[c]=u<<1|u>>>31}var h=(r<<5|r>>>27)+a+l[c];h+=c<20?1518500249+(i&s|~i&o):c<40?1859775393+(i^s^o):c<60?(i&s|i&o|s&o)-1894007588:(i^s^o)-899497514,a=o,o=s,s=i<<30|i>>>2,i=r,r=h}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+s|0,n[3]=n[3]+o|0,n[4]=n[4]+a|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(r+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}}),r.SHA1=o._createHelper(c),r.HmacSHA1=o._createHmacHelper(c),u.SHA1)},"4I5i":function(e,t,n){"use strict";n.d(t,"a",function(){return r});const r=(()=>{function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e})()},"4pnn":function(e,t,n){"use strict";n.d(t,"a",function(){return m}),n.d(t,"b",function(){return h}),n.d(t,"c",function(){return d});var r=n("fXoL"),i=n("ofXK");const s=new r.F("COOKIE_OPTIONS"),o=new r.F("COOKIE_WRITER");function a(e){return null==e}function l(e){return!a(e)}function c(e,t){return t?{path:l(t.path)?t.path:e.path,domain:l(t.domain)?t.domain:e.domain,expires:l(t.expires)?t.expires:e.expires,secure:l(t.secure)?t.secure:e.secure,sameSite:l(t.sameSite)?t.sameSite:e.sameSite,httpOnly:l(t.httpOnly)?t.httpOnly:e.httpOnly,storeUnencoded:l(t.storeUnencoded)?t.storeUnencoded:e.storeUnencoded}:e}function u(e){try{return decodeURIComponent(e)}catch(t){return e}}class h{constructor(e={},t){this.injector=t,this.defaultOptions={path:this.injector.get(i.a,"/"),domain:void 0,expires:void 0,secure:!1,httpOnly:!1},this.options=c(this.defaultOptions,e)}}h.\u0275fac=function(e){return new(e||h)(r.Vc(s),r.Vc(r.G))},h.\u0275prov=r.Ic({token:h,factory:h.\u0275fac}),h.ctorParameters=()=>[{type:void 0,decorators:[{type:r.C,args:[s]}]},{type:r.G}];class d{constructor(e,t,n){this.document=e,this.optionsProvider=t,this.cookieWriterService=n,this.options=this.optionsProvider.options}hasKey(e){return l(this.get(e))}get(e){var t;return null===(t=this.getAll())||void 0===t?void 0:t[e]}getObject(e){const t=this.get(e);if(!a(t))return""===t?{}:JSON.parse(t)}getAll(){return function(e){let t,n,r,i,s,o={},l="";if(e!==l)for(l=e,t=l.split("; "),o={},r=0;r<t.length;r++)n=t[r],i=n.indexOf("="),i>0&&(s=u(n.substring(0,i)),a(o[s])&&(o[s]=u(n.substring(i+1))));return o}(this.cookieWriterService.readAllAsString())}put(e,t,n){const r=c(this.options,n);this.cookieWriterService.write(e,t,r)}putObject(e,t,n){this.put(e,JSON.stringify(t),n)}remove(e,t){this.put(e,void 0,t)}removeAll(e){const t=this.getAll();Object.keys(t).forEach(t=>this.remove(t,e))}}d.\u0275fac=function(e){return new(e||d)(r.Vc(i.c),r.Vc(h),r.Vc(o))},d.\u0275prov=r.Ic({token:d,factory:d.\u0275fac}),d.ctorParameters=()=>[{type:void 0,decorators:[{type:r.C,args:[i.c]}]},{type:h},{type:void 0,decorators:[{type:r.C,args:[o]}]}];class p{constructor(e){this.document=e}readAllAsString(){return this.document.cookie||""}write(e,t,n){this.document.cookie=function(e,t,n){let r,i=null==n?void 0:n.expires;a(t)?(i="Thu, 01 Jan 1970 00:00:00 GMT",r=""):r=t,"string"==typeof i&&(i=new Date(i));const s=(null==n?void 0:n.storeUnencoded)?t:encodeURIComponent(r);let o=encodeURIComponent(e)+"="+s;o+=(null==n?void 0:n.path)?";path="+n.path:"",o+=(null==n?void 0:n.domain)?";domain="+n.domain:"",o+=i?";expires="+i.toUTCString():"",o+=(null==n?void 0:n.sameSite)?"; SameSite="+n.sameSite:"",o+=(null==n?void 0:n.secure)?";secure":"",o+=(null==n?void 0:n.httpOnly)?"; HttpOnly":"";const l=o.length+1;return l>4096&&console.log("Cookie '"+e+"' possibly not set or overflowed because it was too large ("+l+" > 4096 bytes)!"),o}(e,t,n)}}function f(e,t,n){return new d(e,t,n)}p.\u0275fac=function(e){return new(e||p)(r.Vc(i.c))},p.\u0275prov=r.Ic({token:p,factory:p.\u0275fac}),p.ctorParameters=()=>[{type:void 0,decorators:[{type:r.C,args:[i.c]}]}];class m{static forRoot(e={}){return{ngModule:m,providers:[{provide:s,useValue:e}
1,{provide:o,useClass:p},{provide:d,useFactory:f,deps:[i.c,h,o]}]}}static forChild(e={}){return m.forRoot(e)}}m.\u0275fac=function(e){return new(e||m)},m.\u0275mod=r.Kc({type:m}),m.\u0275inj=r.Jc({providers:[h]})},"5+tZ":function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("lJxs"),i=n("Cfvw"),s=n("zx2A");function o(e,t,n=Number.POSITIVE_INFINITY){return"function"==typeof t?s=>s.pipe(o((n,s)=>Object(i.a)(e(n,s)).pipe(Object(r.a)((e,r)=>t(n,e,s,r))),n)):("number"==typeof t&&(n=t),t=>t.lift(new a(e,n)))}class a{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new l(e,this.project,this.concurrent))}}class l extends s.b{constructor(e,t,n=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t)}_innerSub(e){const t=new s.a(this),n=this.destination;n.add(t);const r=Object(s.c)(e,t);r!==t&&n.add(r)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e){this.destination.next(e)}notifyComplete(){const e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},"5hvy":function(e,t,n){var r;e.exports=(r=n("Ib8C"),n("MlIO"),function(e){var t=r,n=t.lib,i=n.WordArray,s=n.Hasher,o=t.x64.Word,a=t.algo,l=[],c=[],u=[];!function(){for(var e=1,t=0,n=0;n<24;n++){l[e+5*t]=(n+1)*(n+2)/2%64;var r=(2*e+3*t)%5;e=t%5,t=r}for(e=0;e<5;e++)for(t=0;t<5;t++)c[e+5*t]=t+(2*e+3*t)%5*5;for(var i=1,s=0;s<24;s++){for(var a=0,h=0,d=0;d<7;d++){if(1&i){var p=(1<<d)-1;p<32?h^=1<<p:a^=1<<p-32}128&i?i=i<<1^113:i<<=1}u[s]=o.create(a,h)}}();var h=[];!function(){for(var e=0;e<25;e++)h[e]=o.create()}();var d=a.SHA3=s.extend({cfg:s.cfg.extend({outputLength:512}),_doReset:function(){for(var e=this._state=[],t=0;t<25;t++)e[t]=new o.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(e,t){for(var n=this._state,r=this.blockSize/2,i=0;i<r;i++){var s=e[t+2*i],o=e[t+2*i+1];s=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),o=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),(I=n[i]).high^=o,I.low^=s}for(var a=0;a<24;a++){for(var d=0;d<5;d++){for(var p=0,f=0,m=0;m<5;m++)p^=(I=n[d+5*m]).high,f^=I.low;var g=h[d];g.high=p,g.low=f}for(d=0;d<5;d++){var v=h[(d+4)%5],y=h[(d+1)%5],b=y.high,w=y.low;for(p=v.high^(b<<1|w>>>31),f=v.low^(w<<1|b>>>31),m=0;m<5;m++)(I=n[d+5*m]).high^=p,I.low^=f}for(var _=1;_<25;_++){var x=(I=n[_]).high,C=I.low,S=l[_];S<32?(p=x<<S|C>>>32-S,f=C<<S|x>>>32-S):(p=C<<S-32|x>>>64-S,f=x<<S-32|C>>>64-S);var E=h[c[_]];E.high=p,E.low=f}var A=h[0],k=n[0];for(A.high=k.high,A.low=k.low,d=0;d<5;d++)for(m=0;m<5;m++){var I=n[_=d+5*m],T=h[_],O=h[(d+1)%5+5*m],D=h[(d+2)%5+5*m];I.high=T.high^~O.high&D.high,I.low=T.low^~O.low&D.low}I=n[0];var P=u[a];I.high^=P.high,I.low^=P.low}},_doFinalize:function(){var t=this._data,n=t.words,r=(this._nDataBytes,8*t.sigBytes),s=32*this.blockSize;n[r>>>5]|=1<<24-r%32,n[(e.ceil((r+1)/s)*s>>>5)-1]|=128,t.sigBytes=4*n.length,this._process();for(var o=this._state,a=this.cfg.outputLength/8,l=a/8,c=[],u=0;u<l;u++){var h=o[u],d=h.high,p=h.low;d=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8),p=16711935&(p<<8|p>>>24)|4278255360&(p<<24|p>>>8),c.push(p),c.push(d)}return new i.init(c,a)},clone:function(){for(var e=s.clone.call(this),t=e._state=this._state.slice(0),n=0;n<25;n++)t[n]=t[n].clone();return e}});t.SHA3=s._createHelper(d),t.HmacSHA3=s._createHmacHelper(d)}(Math),r.SHA3)},"6wLT":function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("mrSG"),i=n("fXoL"),s=n("TEn/");let o=class{constructor(e,t){this.modalController=e,this.platform=t,this.deviceSize=this.platform.isLandscape()}ngOnInit(){}dismiss(e=!1){this.modalController.dismiss({dismissed:e})}};o.ctorParameters=()=>[{type:s.g},{type:s.j}],o=Object(r.c)([Object(i.n)({selector:"app-how-to-signup",template:'<ion-content>\n  <ion-button (click)="dismiss()" fill="clear" shape="round" size="medium" class="ion-float-end staticText">\n    <ion-icon name="close-circle-outline"></ion-icon>\n  </ion-button>\n\n  <div [ngStyle]="{\n    \'display\': \'flex\',\n    \'justify-content\': \'center\',\n    \'align-items\': \'center\',\n    \'width\': \'100%\'}">\n    <iframe\n      [ngStyle]="{ \'width\': !deviceSize ? \'90%\' : \'100%\',\n      \'height\': !deviceSize ? \'235px\' : \'325px\'}"\n      height="325"\n      src="https://www.youtube.com/embed/U_U5PVeYGGs?rel=0"\n      title="How to Onboard?"\n      frameborder="0"\n      allowfullscreen picture-in-picture="0" web-share="0" clipboard-write="0">\n    </iframe>\n  </div>\n</ion-content>\n',styles:[""]})],o)},"7o/Q":function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n("n6bG"),i=n("gRHU"),s=n("quSY"),o=n("2QA8"),a=n("2fFW"),l=n("NJ4a");class c extends s.a{constructor(e,t,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=i.a;break;case 1:if(!e){this.destination=i.a;break}if("object"==typeof e){e instanceof c?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new u(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new u(this,e,t,n)}}[o.a](){return this}
1static create(e,t,n){const r=new c(e,t,n);return r.syncErrorThrowable=!1,r}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class u extends c{constructor(e,t,n,s){let o;super(),this._parentSubscriber=e;let a=this;Object(r.a)(t)?o=t:t&&(o=t.next,n=t.error,s=t.complete,t!==i.a&&(a=Object.create(t),Object(r.a)(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=o,this._error=n,this._complete=s}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;a.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:n}=a.a;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):Object(l.a)(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;Object(l.a)(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);a.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),a.a.useDeprecatedSynchronousErrorHandling)throw n;Object(l.a)(n)}}__tryOrSetError(e,t,n){if(!a.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return a.a.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(Object(l.a)(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}},"87cB":function(e,t,n){"use strict";n.d(t,"a",function(){return kt}),n.d(t,"b",function(){return Et});var r=n("O1h7"),i=n("fXoL"),s=n("XNiG"),o="undefined"!=typeof self?self:global;const a="undefined"!=typeof navigator,l=a&&"undefined"==typeof HTMLImageElement,c=!("undefined"==typeof global||"undefined"==typeof process||!process.versions||!process.versions.node),u=o.Buffer,h=o.BigInt,d=!!u,p=e=>e;function f(e,t=p){if(c)try{return"function"==typeof require?Promise.resolve(t(require(e))):import(e).then(t)}catch(t){console.warn(`Couldn't load ${e}`)}}let m=o.fetch;if(!o.fetch){const e=f("http",e=>e),t=f("https",e=>e),n=(r,{headers:i}={})=>new Promise(async(s,o)=>{let{port:a,hostname:l,pathname:c,protocol:u,search:h}=new URL(r);const d={method:"GET",hostname:l,path:encodeURI(c)+h,headers:i};""!==a&&(d.port=Number(a));const p=("https:"===u?await t:await e).request(d,e=>{if(301===e.statusCode||302===e.statusCode){let t=new URL(e.headers.location,r).toString();return n(t,{headers:i}).then(s).catch(o)}s({status:e.statusCode,arrayBuffer:()=>new Promise(t=>{let n=[];e.on("data",e=>n.push(e)),e.on("end",()=>t(Buffer.concat(n)))})})});p.on("error",o),p.end()});(e=>{m=e})(n)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const v=e=>b(e)?void 0:e,y=e=>void 0!==e;function b(e){return void 0===e||(e instanceof Map?0===e.size:0===Object.values(e).filter(y).length)}function w(e){let t=new Error(e);throw delete t.stack,t}function _(e){return""===(e=function(e){for(;e.endsWith("\0");)e=e.slice(0,-1);return e}(e).trim())?void 0:e}function x(e){let t=function(e){let t=0;return e.ifd0.enabled&&(t+=1024),e.exif.enabled&&(t+=2048),e.makerNote&&(t+=2048),e.userComment&&(t+=1024),e.gps.enabled&&(t+=512),e.interop.enabled&&(t+=100),e.ifd1.enabled&&(t+=1024),t+2048}(e);return e.jfif.enabled&&(t+=50),e.xmp.enabled&&(t+=2e4),e.iptc.enabled&&(t+=14e3),e.icc.enabled&&(t+=6e3),t}const C=e=>String.fromCharCode.apply(null,e),S="undefined"!=typeof TextDecoder?new TextDecoder("utf-8"):void 0;function E(e){return S?S.decode(e):d?Buffer.from(e).toString("utf8"):decodeURIComponent(escape(C(e)))}class A{static from(e,t){return e instanceof this&&e.le===t?e:new A(e,void 0,void 0,t)}constructor(e,t=0,n,r){if("boolean"==typeof r&&(this.le=r),Array.isArray(e)&&(e=new Uint8Array(e)),0===e)this.byteOffset=0,this.byteLength=0;else if(e instanceof ArrayBuffer){void 0===n&&(n=e.byteLength-t);let r=new DataView(e,t,n);this._swapDataView(r)}else if(e instanceof Uint8Array||e instanceof DataView||e instanceof A){void 0===n&&(n=e.byteLength-t),(t+=e.byteOffset)+n>e.byteOffset+e.byteLength&&w("Creating view outside of available memory in ArrayBuffer");let r=new DataView(e.buffer,t,n);this._swapDataView(r)}else if("number"==typeof e){let t=new DataView(new ArrayBuffer(e));this._swapDataView(t)}else w("Invalid input argument for BufferView: "+e)}_swapArrayBuffer(e){this._swapDataView(new DataView(e))}_swapBuffer(e){this._swapDataView(new DataView(e.buffer,e.byteOffset,e.byteLength))}_swapDataView(e){this.dataView=e,this.buffer=e.buffer,this.byteOffset=e.byteOffset,this.byteLength=e.byteLength}_lengthToEnd(e){return this.byteLength-e}set(e,t,n=A){return e instanceof DataView||e instanceof A?e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength):e instanceof ArrayBuffer&&(e=new Uint8Array(e)),e instanceof Uint8Array||w("BufferView.set(): Invalid data argument."),this.toUint8().set(e,t),new n(this,t,e.byteLength)}subarray(e,t){return t=t||this._lengthToEnd(e),new A(this,e,t)}toUint8(){return new Uint8Array(this.buffer,this.byteOffset,this.byteLength)}getUint8Array(e,t){return new Uint8Array(this.buffer,this.byteOffset+e,t)}getString(e=0,t=this.byteLength){return E(this.getUint8Array(e,t))}getLatin1String(e=0,t=this.byteLength){let n=this.getUint8Array(e,t);return C(n)}getUnicodeString(e=0,t=this.byteLength){const n=[];for(let r=0;r<t&&e+r<this.byteLength;r+=2)n.push(this.getUint16(e+r));return C(n)}getInt8(e){return this.dataView.getInt8(e)}getUint8(e){return this.dataView.getUint8(e)}getInt16(e,t=this.le){return this.dataView.getInt16(e,t)}getInt32(e,t=this.le){return this.dataView.getInt32(e,t)}getUint16(e,t=this.le){return this.dataView.getUint16(e,t)}getUint32(e,t=this.le){return this.dataView.getUint32(e,t)}getFloat32(e,t=this.le){return this.dataView.getFloat32(e,t)}getFloat64(e,t=this.le){return this.dataView.getFloat64(e,t)}
vendor: 11,084 bytes, line 1
1getFloat(e,t=this.le){return this.dataView.getFloat32(e,t)}getDouble(e,t=this.le){return this.dataView.getFloat64(e,t)}getUintBytes(e,t,n){switch(t){case 1:return this.getUint8(e,n);case 2:return this.getUint16(e,n);case 4:return this.getUint32(e,n);case 8:return this.getUint64&&this.getUint64(e,n)}}getUint(e,t,n){switch(t){case 8:return this.getUint8(e,n);case 16:return this.getUint16(e,n);case 32:return this.getUint32(e,n);case 64:return this.getUint64&&this.getUint64(e,n)}}toString(e){return this.dataView.toString(e,this.constructor.name)}ensureChunk(){}}function k(e,t){w(`${e} '${t}' was not loaded, try using full build of exifr.`)}class I extends Map{constructor(e){super(),this.kind=e}get(e,t){return this.has(e)||k(this.kind,e),t&&(e in t||function(e,t){w(`Unknown ${e} '${t}'.`)}(this.kind,e),t[e].enabled||k(this.kind,e)),super.get(e)}keyList(){return Array.from(this.keys())}}var T=new I("file parser"),O=new I("segment parser"),D=new I("file reader");function P(e,t){return"string"==typeof e?M(e,t):a&&!l&&e instanceof HTMLImageElement?M(e.src,t):e instanceof Uint8Array||e instanceof ArrayBuffer||e instanceof DataView?new A(e):a&&e instanceof Blob?N(e,t,"blob",j):void w("Invalid input argument")}function M(e,t){return(n=e).startsWith("data:")||n.length>1e4?R(e,t,"base64"):c&&e.includes("://")?N(e,t,"url",L):c?R(e,t,"fs"):a?N(e,t,"url",L):void w("Invalid input argument");var n}async function N(e,t,n,r){return D.has(n)?R(e,t,n):r?async function(e,t){let n=await t(e);return new A(n)}(e,r):void w(`Parser ${n} is not loaded`)}async function R(e,t,n){let r=new(D.get(n))(e,t);return await r.read(),r}const L=e=>m(e).then(e=>e.arrayBuffer()),j=e=>new Promise((t,n)=>{let r=new FileReader;r.onloadend=()=>t(r.result||new ArrayBuffer),r.onerror=n,r.readAsArrayBuffer(e)});class F extends Map{get tagKeys(){return this.allKeys||(this.allKeys=Array.from(this.keys())),this.allKeys}get tagValues(){return this.allValues||(this.allValues=Array.from(this.values())),this.allValues}}function B(e,t,n){let r=new F;for(let[i,s]of n)r.set(i,s);if(Array.isArray(t))for(let i of t)e.set(i,r);else e.set(t,r);return r}function $(e,t,n){let r,i=e.get(t);for(r of n)i.set(r[0],r[1])}const V=new Map,U=new Map,z=new Map,H=["chunked","firstChunkSize","firstChunkSizeNode","firstChunkSizeBrowser","chunkSize","chunkLimit"],q=["jfif","xmp","icc","iptc","ihdr"],G=["tiff",...q],W=["ifd0","ifd1","exif","gps","interop"],Q=[...G,...W],K=["makerNote","userComment"],X=["translateKeys","translateValues","reviveValues","multiSegment"],Y=[...X,"sanitize","mergeOutput","silentErrors"];class Z{get translate(){return this.translateKeys||this.translateValues||this.reviveValues}}class J extends Z{get needed(){return this.enabled||this.deps.size>0}constructor(e,t,n,r){if(super(),g(this,"enabled",!1),g(this,"skip",new Set),g(this,"pick",new Set),g(this,"deps",new Set),g(this,"translateKeys",!1),g(this,"translateValues",!1),g(this,"reviveValues",!1),this.key=e,this.enabled=t,this.parse=this.enabled,this.applyInheritables(r),this.canBeFiltered=W.includes(e),this.canBeFiltered&&(this.dict=V.get(e)),void 0!==n)if(Array.isArray(n))this.parse=this.enabled=!0,this.canBeFiltered&&n.length>0&&this.translateTagSet(n,this.pick);else if("object"==typeof n){if(this.enabled=!0,this.parse=!1!==n.parse,this.canBeFiltered){let{pick:e,skip:t}=n;e&&e.length>0&&this.translateTagSet(e,this.pick),t&&t.length>0&&this.translateTagSet(t,this.skip)}this.applyInheritables(n)}else!0===n||!1===n?this.parse=this.enabled=n:w(`Invalid options argument: ${n}`)}applyInheritables(e){let t,n;for(t of X)n=e[t],void 0!==n&&(this[t]=n)}translateTagSet(e,t){if(this.dict){let n,r,{tagKeys:i,tagValues:s}=this.dict;for(n of e)"string"==typeof n?(r=s.indexOf(n),-1===r&&(r=i.indexOf(Number(n))),-1!==r&&t.add(Number(i[r]))):t.add(n)}else for(let n of e)t.add(n)}finalizeFilters(){!this.enabled&&this.deps.size>0?(this.enabled=!0,se(this.pick,this.deps)):this.enabled&&this.pick.size>0&&se(this.pick,this.deps)}}var ee={jfif:!1,tiff:!0,xmp:!1,icc:!1,iptc:!1,ifd0:!0,ifd1:!1,exif:!0,gps:!0,interop:!1,ihdr:void 0,makerNote:!1,userComment:!1,multiSegment:!1,skip:[],pick:[],translateKeys:!0,translateValues:!0,reviveValues:!0,sanitize:!0,mergeOutput:!0,silentErrors:!0,chunked:!0,firstChunkSize:void 0,firstChunkSizeNode:512,firstChunkSizeBrowser:65536,chunkSize:65536,chunkLimit:5},te=new Map;class ne extends Z{static useCached(e){let t=te.get(e);return void 0!==t||(t=new this(e),te.set(e,t)),t}constructor(e){super(),!0===e?this.setupFromTrue():void 0===e?this.setupFromUndefined():Array.isArray(e)?this.setupFromArray(e):"object"==typeof e?this.setupFromObject(e):w(`Invalid options argument ${e}`),void 0===this.firstChunkSize&&(this.firstChunkSize=a?this.firstChunkSizeBrowser:this.firstChunkSizeNode),this.mergeOutput&&(this.ifd1.enabled=!1),this.filterNestedSegmentTags(),this.traverseTiffDependencyTree(),this.checkLoadedPlugins()}setupFromUndefined(){let e;for(e of H)this[e]=ee[e];for(e of Y)this[e]=ee[e];for(e of K)this[e]=ee[e];for(e of Q)this[e]=new J(e,ee[e],void 0,this)}setupFromTrue(){let e;for(e of H)this[e]=ee[e];for(e of Y)this[e]=ee[e];for(e of K)this[e]=!0;for(e of Q)this[e]=new J(e,!0,void 0,this)}setupFromArray(e){let t;for(t of H)this[t]=ee[t];for(t of Y)this[t]=ee[t];for(t of K)this[t]=ee[t];for(t of Q)this[t]=new J(t,!1,void 0,this);this.setupGlobalFilters(e,void 0,W)}setupFromObject(e){let t;for(t of(W.ifd0=W.ifd0||W.image,W.ifd1=W.ifd1||W.thumbnail,Object.assign(this,e),H))this[t]=ie(e[t],ee[t]);for(t of Y)this[t]=ie(e[t],ee[t]);for(t of K)this[t]=ie(e[t],ee[t]);for(t of G)this[t]=new J(t,ee[t],e[t],this);for(t of W)this[t]=new J(t,ee[t],e[t],this.tiff);this.setupGlobalFilters(e.pick,e.skip,W,Q),!0===e.tiff?this.batchEnableWithBool(W,!0):!1===e.tiff?this.batchEnableWithUserValue(W,e):Array.isArray(e.tiff)?this.setupGlobalFilters(e.tiff,void 0,W):"object"==typeof e.tiff&&this.setupGlobalFilters(e.tiff.pick,e.tiff.skip,W)}batchEnableWithBool(e,t){for(let n of e)this[n].enabled=t}batchEnableWithUserValue(e,t){for(let n of e){let e=t[n];this[n].enabled=!1!==e&&void 0!==e}}setupGlobalFilters(e,t,n,r=n){if(e&&e.length){for(let e of r)this[e].enabled=!1;let t=re(e,n);for(let[e,n]of t)se(this[e].pick,n),this[e].enabled=!0}else if(t&&t.length){let e=re(t,n);for(let[t,n]of e)se(this[t].skip,n)}}filterNestedSegmentTags(){let{ifd0:e,exif:t,xmp:n,iptc:r,icc:i}=this;this.makerNote?t.deps.add(37500):t.skip.add(37500),this.userComment?t.deps.add(37510):t.skip.add(37510),n.enabled||e.skip.add(700),r.enabled||e.skip.add(33723),i.enabled||e.skip.add(34675)}traverseTiffDependencyTree(){let{ifd0:e,exif:t,gps:n,interop:r}=this;r.needed&&(t.deps.add(40965),e.deps.add(40965)),t.needed&&e.deps.add(34665),n.needed&&e.deps.add(34853),this.tiff.enabled=W.some(e=>!0===this[e].enabled)||this.makerNote||this.userComment;for(let i of W)this[i].finalizeFilters()}get onlyTiff(){return!q.map(e=>this[e].enabled).some(e=>!0===e)&&this.tiff.enabled}checkLoadedPlugins(){for(let e of G)this[e].enabled&&!O.has(e)&&k("segment parser",e)}}function re(e,t){let n,r,i,s,o=[];for(i of t){for(s of(n=V.get(i),r=[],n))(e.includes(s[0])||e.includes(s[1]))&&r.push(s[0]);r.length&&o.push([i,r])}return o}function ie(e,t){return void 0!==e?e:void 0!==t?t:void 0}function se(e,t){for(let n of t)e.add(n)}g(ne,"default",ee);class oe{constructor(e){g(this,"parsers",{}),g(this,"output",{}),g(this,"errors",[]),g(this,"pushToErrors",e=>this.errors.push(e)),this.options=ne.useCached(e)}async read(e){this.file=await P(e,this.options)}setup(){if(this.fileParser)return;let{file:e}=this,t=e.getUint16(0);for(let[n,r]of T)if(r.canHandle(e,t))return this.fileParser=new r(this.options,this.file,this.parsers),e[n]=!0;this.file.close&&this.file.close(),w("Unknown file format")}async parse(){let{output:e,errors:t}=this;return this.setup(),this.options.silentErrors?(await this.executeParsers().catch(this.pushToErrors),t.push(...this.fileParser.errors)):await this.executeParsers(),this.file.close&&this.file.close(),this.options.silentErrors&&t.length>0&&(e.errors=t),v(e)}async executeParsers(){let{output:e}=this;await this.fileParser.parse();let t=Object.values(this.parsers).map(async t=>{let n=await t.parse();t.assignToOutput(e,n)});this.options.silentErrors&&(t=t.map(e=>e.catch(this.pushToErrors))),await Promise.all(t)}async extractThumbnail(){this.setup();let{options:e,file:t}=this,n=O.get("tiff",e);var r;if(t.tiff?r={start:0,type:"tiff"}:t.jpeg&&(r=await this.fileParser.getOrFindSegment("tiff")),void 0===r)return;let i=await this.fileParser.ensureSegmentChunk(r),s=this.parsers.tiff=new n(i,e,t),o=await s.extractThumbnail();return t.close&&t.close(),o}}async function ae(e,t){let n=new oe(t);return await n.read(e),n.parse()}var le=Object.freeze({__proto__:null,parse:ae,Exifr:oe,fileParsers:T,segmentParsers:O,fileReaders:D,tagKeys:V,tagValues:U,tagRevivers:z,createDictionary:B,extendDictionary:$,fetchUrlAsArrayBuffer:L,readBlobAsArrayBuffer:j,chunkedProps:H,otherSegments:q,segments:G,tiffBlocks:W,segmentsAndBlocks:Q,tiffExtractables:K,inheritables:X,allFormatters:Y,Options:ne});class ce{constructor(e,t,n){g(this,"errors",[]),g(this,"ensureSegmentChunk",async e=>{let t=e.start,n=e.size||65536;if(this.file.chunked)if(this.file.available(t,n))e.chunk=this.file.subarray(t,n);else try{e.chunk=await this.file.readChunk(t,n)}catch(t){w(`Couldn't read segment: ${JSON.stringify(e)}. ${t.message}`)}else this.file.byteLength>t+n?e.chunk=this.file.subarray(t,n):void 0===e.size?e.chunk=this.file.subarray(t):w("Segment unreachable: "+JSON.stringify(e));return e.chunk}),this.extendOptions&&this.extendOptions(e),this.options=e,this.file=t,this.parsers=n}injectSegment(e,t){this.options[e].enabled&&this.createParser(e,t)}createParser(e,t){let n=new(O.get(e))(t,this.options,this.file);return this.parsers[e]=n}createParsers(e){for(let t of e){let{type:e,chunk:n}=t,r=this.options[e];if(r&&r.enabled){let t=this.parsers[e];t&&t.append||t||this.createParser(e,n)}}}async readSegments(e){let t=e.map(this.ensureSegmentChunk);await Promise.all(t)}}class ue{static findPosition(e,t){let n=e.getUint16(t+2)+2,r="function"==typeof this.headerLength?this.headerLength(e,t,n):this.headerLength,i=t+r,s=n-r;return{offset:t,length:n,headerLength:r,start:i,size:s,end:i+s}}static parse(e,t={}){return new this(e,new ne({[this.type]:t}),e).parse()}normalizeInput(e){return e instanceof A?e:new A(e)}constructor(e,t={},n){g(this,"errors",[]),g(this,"raw",new Map),g(this,"handleError",e=>{if(!this.options.silentErrors)throw e;this.errors.push(e.message)}),this.chunk=this.normalizeInput(e),this.file=n,this.type=this.constructor.type,this.globalOptions=this.options=t,this.localOptions=t[this.type],this.canTranslate=this.localOptions&&this.localOptions.translate}translate(){this.canTranslate&&(this.translated=this.translateBlock(this.raw,this.type))}get output(){return this.translated?this.translated:this.raw?Object.fromEntries(this.raw):void 0}translateBlock(e,t){let n=z.get(t),r=U.get(t),i=V.get(t),s=this.options[t],o=s.reviveValues&&!!n,a=s.translateValues&&!!r,l=s.translateKeys&&!!i,c={};
vendor: 6,017 bytes, line 1
1for(let[u,h]of e)o&&n.has(u)?h=n.get(u)(h):a&&r.has(u)&&(h=this.translateValue(h,r.get(u))),l&&i.has(u)&&(u=i.get(u)||u),c[u]=h;return c}translateValue(e,t){return t[e]||t.DEFAULT||e}assignToOutput(e,t){this.assignObjectToOutput(e,this.constructor.type,t)}assignObjectToOutput(e,t,n){if(this.globalOptions.mergeOutput)return Object.assign(e,n);e[t]?Object.assign(e[t],n):e[t]=n}}function he(e){return 192===e||194===e||196===e||219===e||221===e||218===e||254===e}function de(e){return e>=224&&e<=239}function pe(e,t,n){for(let[r,i]of O)if(i.canHandle(e,t,n))return r}g(ue,"headerLength",4),g(ue,"type",void 0),g(ue,"multiSegment",!1),g(ue,"canHandle",()=>!1);class fe extends ce{constructor(...e){super(...e),g(this,"appSegments",[]),g(this,"jpegSegments",[]),g(this,"unknownSegments",[])}static canHandle(e,t){return 65496===t}async parse(){await this.findAppSegments(),await this.readSegments(this.appSegments),this.mergeMultiSegments(),this.createParsers(this.mergedAppSegments||this.appSegments)}setupSegmentFinderArgs(e){!0===e?(this.findAll=!0,this.wanted=new Set(O.keyList())):(e=void 0===e?O.keyList().filter(e=>this.options[e].enabled):e.filter(e=>this.options[e].enabled&&O.has(e)),this.findAll=!1,this.remaining=new Set(e),this.wanted=new Set(e)),this.unfinishedMultiSegment=!1}async findAppSegments(e=0,t){this.setupSegmentFinderArgs(t);let{file:n,findAll:r,wanted:i,remaining:s}=this;if(!r&&this.file.chunked&&(r=Array.from(i).some(e=>{let t=O.get(e),n=this.options[e];return t.multiSegment&&n.multiSegment}),r&&await this.file.readWhole()),e=this.findAppSegmentsInRange(e,n.byteLength),!this.options.onlyTiff&&n.chunked){let t=!1;for(;s.size>0&&!t&&(n.canReadNextChunk||this.unfinishedMultiSegment);){let{nextChunkOffset:r}=n,i=this.appSegments.some(e=>!this.file.available(e.offset||e.start,e.length||e.size));if(t=e>r&&!i?!(await n.readNextChunk(e)):!(await n.readNextChunk(r)),void 0===(e=this.findAppSegmentsInRange(e,n.byteLength)))return}}}findAppSegmentsInRange(e,t){t-=2;let n,r,i,s,o,a,{file:l,findAll:c,wanted:u,remaining:h,options:d}=this;for(;e<t;e++)if(255===l.getUint8(e))if(n=l.getUint8(e+1),de(n)){if(r=l.getUint16(e+2),i=pe(l,e,r),i&&u.has(i)&&(s=O.get(i),o=s.findPosition(l,e),a=d[i],o.type=i,this.appSegments.push(o),!c&&(s.multiSegment&&a.multiSegment?(this.unfinishedMultiSegment=o.chunkNumber<o.chunkCount,this.unfinishedMultiSegment||h.delete(i)):h.delete(i),0===h.size)))break;d.recordUnknownSegments&&(o=ue.findPosition(l,e),o.marker=n,this.unknownSegments.push(o)),e+=r+1}else if(he(n)){if(r=l.getUint16(e+2),218===n&&!1!==d.stopAfterSos)return;d.recordJpegSegments&&this.jpegSegments.push({offset:e,length:r,marker:n}),e+=r+1}return e}mergeMultiSegments(){if(!this.appSegments.some(e=>e.multiSegment))return;let e=function(e,t){let n,r,i,s=new Map;for(let o=0;o<e.length;o++)n=e[o],r=n.type,s.has(r)?i=s.get(r):s.set(r,i=[]),i.push(n);return Array.from(s)}(this.appSegments);this.mergedAppSegments=e.map(([e,t])=>{let n=O.get(e,this.options);return n.handleMultiSegments?{type:e,chunk:n.handleMultiSegments(t)}:t[0]})}getSegment(e){return this.appSegments.find(t=>t.type===e)}async getOrFindSegment(e){let t=this.getSegment(e);return void 0===t&&(await this.findAppSegments(0,[e]),t=this.getSegment(e)),t}}g(fe,"type","jpeg"),T.set("jpeg",fe);const me=[void 0,1,1,2,4,8,1,1,2,4,8,4,8,4];class ge extends ue{parseHeader(){var e=this.chunk.getUint16();18761===e?this.le=!0:19789===e&&(this.le=!1),this.chunk.le=this.le,this.headerParsed=!0}parseTags(e,t,n=new Map){let{pick:r,skip:i}=this.options[t];r=new Set(r);let s=r.size>0,o=0===i.size,a=this.chunk.getUint16(e);e+=2;for(let l=0;l<a;l++){let a=this.chunk.getUint16(e);if(s){if(r.has(a)&&(n.set(a,this.parseTag(e,a,t)),r.delete(a),0===r.size))break}else!o&&i.has(a)||n.set(a,this.parseTag(e,a,t));e+=12}return n}parseTag(e,t,n){let{chunk:r}=this,i=r.getUint16(e+2),s=r.getUint32(e+4),o=me[i];if(o*s<=4?e+=8:e=r.getUint32(e+8),(i<1||i>13)&&w(`Invalid TIFF value type. block: ${n.toUpperCase()}, tag: ${t.toString(16)}, type: ${i}, offset ${e}`),e>r.byteLength&&w(`Invalid TIFF value offset. block: ${n.toUpperCase()}, tag: ${t.toString(16)}, type: ${i}, offset ${e} is outside of chunk size ${r.byteLength}`),1===i)return r.getUint8Array(e,s);if(2===i)return _(r.getString(e,s));if(7===i)return r.getUint8Array(e,s);if(1===s)return this.parseTagValue(i,e);{let t=new(function(e){switch(e){case 1:return Uint8Array;case 3:return Uint16Array;case 4:return Uint32Array;case 5:return Array;case 6:return Int8Array;case 8:return Int16Array;case 9:return Int32Array;case 10:return Array;case 11:return Float32Array;case 12:return Float64Array;default:return Array}}(i))(s),n=o;for(let r=0;r<s;r++)t[r]=this.parseTagValue(i,e),e+=n;return t}}parseTagValue(e,t){let{chunk:n}=this;switch(e){case 1:return n.getUint8(t);case 3:return n.getUint16(t);case 4:return n.getUint32(t);case 5:return n.getUint32(t)/n.getUint32(t+4);case 6:return n.getInt8(t);case 8:return n.getInt16(t);case 9:return n.getInt32(t);case 10:return n.getInt32(t)/n.getInt32(t+4);case 11:return n.getFloat(t);case 12:return n.getDouble(t);case 13:return n.getUint32(t);default:w(`Invalid tiff type ${e}`)}}}class ve extends ge{static canHandle(e,t){return 225===e.getUint8(t+1)&&1165519206===e.getUint32(t+4)&&0===e.getUint16(t+8)}async parse(){this.parseHeader();let{options:e}=this;return e.ifd0.enabled&&await this.parseIfd0Block(),e.exif.enabled&&await this.safeParse("parseExifBlock"),e.gps.enabled&&await this.safeParse("parseGpsBlock"),e.interop.enabled&&await this.safeParse("parseInteropBlock"),e.ifd1.enabled&&await this.safeParse("parseThumbnailBlock"),this.createOutput()}safeParse(e){let t=this[e]();return void 0!==t.catch&&(t=t.catch(this.handleError)),t}findIfd0Offset(){void 0===this.ifd0Offset&&(this.ifd0Offset=this.chunk.getUint32(4))}findIfd1Offset(){if(void 0===this.ifd1Offset){this.findIfd0Offset();let e=this.chunk.getUint16(this.ifd0Offset),t=this.ifd0Offset+2+12*e;this.ifd1Offset=this.chunk.getUint32(t)}}parseBlock(e,t){let n=new Map;
vendor: 13,585 bytes, line 1
1return this[t]=n,this.parseTags(e,t,n),n}async parseIfd0Block(){if(this.ifd0)return;let{file:e}=this;this.findIfd0Offset(),this.ifd0Offset<8&&w("Malformed EXIF data"),!e.chunked&&this.ifd0Offset>e.byteLength&&w(`IFD0 offset points to outside of file.\nthis.ifd0Offset: ${this.ifd0Offset}, file.byteLength: ${e.byteLength}`),e.tiff&&await e.ensureChunk(this.ifd0Offset,x(this.options));let t=this.parseBlock(this.ifd0Offset,"ifd0");return 0!==t.size?(this.exifOffset=t.get(34665),this.interopOffset=t.get(40965),this.gpsOffset=t.get(34853),this.xmp=t.get(700),this.iptc=t.get(33723),this.icc=t.get(34675),this.options.sanitize&&(t.delete(34665),t.delete(40965),t.delete(34853),t.delete(700),t.delete(33723),t.delete(34675)),t):void 0}async parseExifBlock(){if(this.exif)return;if(this.ifd0||await this.parseIfd0Block(),void 0===this.exifOffset)return;this.file.tiff&&await this.file.ensureChunk(this.exifOffset,x(this.options));let e=this.parseBlock(this.exifOffset,"exif");return this.interopOffset||(this.interopOffset=e.get(40965)),this.makerNote=e.get(37500),this.userComment=e.get(37510),this.options.sanitize&&(e.delete(40965),e.delete(37500),e.delete(37510)),this.unpack(e,41728),this.unpack(e,41729),e}unpack(e,t){let n=e.get(t);n&&1===n.length&&e.set(t,n[0])}async parseGpsBlock(){if(this.gps)return;if(this.ifd0||await this.parseIfd0Block(),void 0===this.gpsOffset)return;let e=this.parseBlock(this.gpsOffset,"gps");return e&&e.has(2)&&e.has(4)&&(e.set("latitude",ye(...e.get(2),e.get(1))),e.set("longitude",ye(...e.get(4),e.get(3)))),e}async parseInteropBlock(){if(!this.interop&&(this.ifd0||await this.parseIfd0Block(),void 0!==this.interopOffset||this.exif||await this.parseExifBlock(),void 0!==this.interopOffset))return this.parseBlock(this.interopOffset,"interop")}async parseThumbnailBlock(e=!1){if(!this.ifd1&&!this.ifd1Parsed&&(!this.options.mergeOutput||e))return this.findIfd1Offset(),this.ifd1Offset>0&&(this.parseBlock(this.ifd1Offset,"ifd1"),this.ifd1Parsed=!0),this.ifd1}async extractThumbnail(){if(this.headerParsed||this.parseHeader(),this.ifd1Parsed||await this.parseThumbnailBlock(!0),void 0===this.ifd1)return;let e=this.ifd1.get(513),t=this.ifd1.get(514);return this.chunk.getUint8Array(e,t)}get image(){return this.ifd0}get thumbnail(){return this.ifd1}createOutput(){let e,t,n,r={};for(t of W)if(e=this[t],!b(e))if(n=this.canTranslate?this.translateBlock(e,t):Object.fromEntries(e),this.options.mergeOutput){if("ifd1"===t)continue;Object.assign(r,n)}else r[t]=n;return this.makerNote&&(r.makerNote=this.makerNote),this.userComment&&(r.userComment=this.userComment),r}assignToOutput(e,t){if(this.globalOptions.mergeOutput)Object.assign(e,t);else for(let[n,r]of Object.entries(t))this.assignObjectToOutput(e,n,r)}}function ye(e,t,n,r){var i=e+t/60+n/3600;return"S"!==r&&"W"!==r||(i*=-1),i}g(ve,"type","tiff"),g(ve,"headerLength",10),O.set("tiff",ve);var be=Object.freeze({__proto__:null,default:le,Exifr:oe,fileParsers:T,segmentParsers:O,fileReaders:D,tagKeys:V,tagValues:U,tagRevivers:z,createDictionary:B,extendDictionary:$,fetchUrlAsArrayBuffer:L,readBlobAsArrayBuffer:j,chunkedProps:H,otherSegments:q,segments:G,tiffBlocks:W,segmentsAndBlocks:Q,tiffExtractables:K,inheritables:X,allFormatters:Y,Options:ne,parse:ae});const we={ifd0:!1,ifd1:!1,exif:!1,gps:!1,interop:!1,sanitize:!1,reviveValues:!0,translateKeys:!1,translateValues:!1,mergeOutput:!1},_e=Object.assign({},we,{firstChunkSize:4e4,gps:[1,2,3,4]});async function xe(e){let t=new oe(_e);await t.read(e);let n=await t.parse();if(n&&n.gps){let{latitude:e,longitude:t}=n.gps;return{latitude:e,longitude:t}}}const Ce=Object.assign({},we,{tiff:!1,ifd1:!0,mergeOutput:!1});async function Se(e){let t=new oe(Ce);await t.read(e);let n=await t.extractThumbnail();return n&&d?u.from(n):n}async function Ee(e){let t=await this.thumbnail(e);if(void 0!==t){let e=new Blob([t]);return URL.createObjectURL(e)}}const Ae=Object.assign({},we,{firstChunkSize:4e4,ifd0:[274]});async function ke(e){let t=new oe(Ae);await t.read(e);let n=await t.parse();if(n&&n.ifd0)return n.ifd0[274]}const Ie=Object.freeze({1:{dimensionSwapped:!1,scaleX:1,scaleY:1,deg:0,rad:0},2:{dimensionSwapped:!1,scaleX:-1,scaleY:1,deg:0,rad:0},3:{dimensionSwapped:!1,scaleX:1,scaleY:1,deg:180,rad:180*Math.PI/180},4:{dimensionSwapped:!1,scaleX:-1,scaleY:1,deg:180,rad:180*Math.PI/180},5:{dimensionSwapped:!0,scaleX:1,scaleY:-1,deg:90,rad:90*Math.PI/180},6:{dimensionSwapped:!0,scaleX:1,scaleY:1,deg:90,rad:90*Math.PI/180},7:{dimensionSwapped:!0,scaleX:1,scaleY:-1,deg:270,rad:270*Math.PI/180},8:{dimensionSwapped:!0,scaleX:1,scaleY:1,deg:270,rad:270*Math.PI/180}});let Te=!0,Oe=!0;if("object"==typeof navigator){let e=navigator.userAgent;if(e.includes("iPad")||e.includes("iPhone")){let t=e.match(/OS (\d+)_(\d+)/);if(t){let[,e,n]=t,r=Number(e)+.1*Number(n);Te=r<13.4,Oe=!1}}else if(e.includes("OS X 10")){let[,t]=e.match(/OS X 10[_.](\d+)/);Te=Oe=Number(t)<15}if(e.includes("Chrome/")){let[,t]=e.match(/Chrome\/(\d+)/);Te=Oe=Number(t)<81}else if(e.includes("Firefox/")){let[,t]=e.match(/Firefox\/(\d+)/);Te=Oe=Number(t)<77}}async function De(e){let t=await ke(e);return Object.assign({canvas:Te,css:Oe},Ie[t])}class Pe extends A{constructor(...e){super(...e),g(this,"ranges",new Me),0!==this.byteLength&&this.ranges.add(0,this.byteLength)}_tryExtend(e,t,n){if(0===e&&0===this.byteLength&&n){let e=new DataView(n.buffer||n,n.byteOffset,n.byteLength);this._swapDataView(e)}else{let n=e+t;if(n>this.byteLength){let{dataView:e}=this._extend(n);this._swapDataView(e)}}}_extend(e){let t;t=d?u.allocUnsafe(e):new Uint8Array(e);let n=new DataView(t.buffer,t.byteOffset,t.byteLength);return t.set(new Uint8Array(this.buffer,this.byteOffset,this.byteLength),0),{uintView:t,dataView:n}}subarray(e,t,n=!1){return t=t||this._lengthToEnd(e),n&&this._tryExtend(e,t),this.ranges.add(e,t),super.subarray(e,t)}set(e,t,n=!1){n&&this._tryExtend(t,e.byteLength,e);let r=super.set(e,t);return this.ranges.add(t,r.byteLength),r}async ensureChunk(e,t){this.chunked&&(this.ranges.available(e,t)||await this.readChunk(e,t))}available(e,t){return this.ranges.available(e,t)}}class Me{constructor(){g(this,"list",[])}get length(){return this.list.length}add(e,t,n=0){let r=e+t,i=this.list.filter(t=>Ne(e,t.offset,r)||Ne(e,t.end,r));if(i.length>0){e=Math.min(e,...i.map(e=>e.offset)),r=Math.max(r,...i.map(e=>e.end)),t=r-e;let n=i.shift();n.offset=e,n.length=t,n.end=r,this.list=this.list.filter(e=>!i.includes(e))}else this.list.push({offset:e,length:t,end:r})}available(e,t){let n=e+t;return this.list.some(t=>t.offset<=e&&n<=t.end)}}function Ne(e,t,n){return e<=t&&t<=n}class Re extends Pe{constructor(e,t){super(0),g(this,"chunksRead",0),this.input=e,this.options=t}async readWhole(){this.chunked=!1,await this.readChunk(this.nextChunkOffset)}async readChunked(){this.chunked=!0,await this.readChunk(0,this.options.firstChunkSize)}async readNextChunk(e=this.nextChunkOffset){if(this.fullyRead)return this.chunksRead++,!1;let t=this.options.chunkSize,n=await this.readChunk(e,t);return!!n&&n.byteLength===t}async readChunk(e,t){if(this.chunksRead++,0!==(t=this.safeWrapAddress(e,t)))return this._readChunk(e,t)}safeWrapAddress(e,t){return void 0!==this.size&&e+t>this.size?Math.max(0,this.size-e):t}get nextChunkOffset(){if(0!==this.ranges.list.length)return this.ranges.list[0].length}get canReadNextChunk(){return this.chunksRead<this.options.chunkLimit}get fullyRead(){return void 0!==this.size&&this.nextChunkOffset===this.size}read(){return this.options.chunked?this.readChunked():this.readWhole()}close(){}}D.set("blob",class extends Re{async readWhole(){this.chunked=!1;let e=await j(this.input);this._swapArrayBuffer(e)}readChunked(){return this.chunked=!0,this.size=this.input.size,super.readChunked()}async _readChunk(e,t){let n=t?e+t:void 0,r=this.input.slice(e,n),i=await j(r);return this.set(i,e,!0)}});var Le=Object.freeze({__proto__:null,default:be,Exifr:oe,fileParsers:T,segmentParsers:O,fileReaders:D,tagKeys:V,tagValues:U,tagRevivers:z,createDictionary:B,extendDictionary:$,fetchUrlAsArrayBuffer:L,readBlobAsArrayBuffer:j,chunkedProps:H,otherSegments:q,segments:G,tiffBlocks:W,segmentsAndBlocks:Q,tiffExtractables:K,inheritables:X,allFormatters:Y,Options:ne,parse:ae,gpsOnlyOptions:_e,gps:xe,thumbnailOnlyOptions:Ce,thumbnail:Se,thumbnailUrl:Ee,orientationOnlyOptions:Ae,orientation:ke,rotations:Ie,get rotateCanvas(){return Te},get rotateCss(){return Oe},rotation:De});D.set("url",class extends Re{async readWhole(){this.chunked=!1;let e=await L(this.input);e instanceof ArrayBuffer?this._swapArrayBuffer(e):e instanceof Uint8Array&&this._swapBuffer(e)}async _readChunk(e,t){let n=t?e+t-1:void 0,r=this.options.httpHeaders||{};(e||n)&&(r.range=`bytes=${[e,n].join("-")}`);let i=await m(this.input,{headers:r}),s=await i.arrayBuffer(),o=s.byteLength;if(416!==i.status)return o!==t&&(this.size=e+o),this.set(s,e,!0)}}),A.prototype.getUint64=function(e){let t=this.getUint32(e),n=this.getUint32(e+4);return t<1048575?t<<32|n:void 0!==typeof h?(console.warn("Using BigInt because of type 64uint but JS can only handle 53b numbers."),h(t)<<h(32)|h(n)):void w("Trying to read 64b value but JS can only handle 53b numbers.")};class je extends ce{parseBoxes(e=0){let t=[];for(;e<this.file.byteLength-4;){let n=this.parseBoxHead(e);if(t.push(n),0===n.length)break;e+=n.length}return t}parseSubBoxes(e){e.boxes=this.parseBoxes(e.start)}findBox(e,t){return void 0===e.boxes&&this.parseSubBoxes(e),e.boxes.find(e=>e.kind===t)}parseBoxHead(e){let t=this.file.getUint32(e),n=this.file.getString(e+4,4),r=e+8;return 1===t&&(t=this.file.getUint64(e+8),r+=8),{offset:e,length:t,kind:n,start:r}}parseBoxFullHead(e){if(void 0!==e.version)return;let t=this.file.getUint32(e.start);e.version=t>>24,e.start+=4}}class Fe extends je{static canHandle(e,t){if(0!==t)return!1;let n=e.getUint16(2);if(n>50)return!1;let r=16,i=[];for(;r<n;)i.push(e.getString(r,4)),r+=4;return i.includes(this.type)}async parse(){let e=this.file.getUint32(0),t=this.parseBoxHead(e);for(;"meta"!==t.kind;)e+=t.length,await this.file.ensureChunk(e,16),t=this.parseBoxHead(e);await this.file.ensureChunk(t.offset,t.length),this.parseBoxFullHead(t),this.parseSubBoxes(t),this.options.icc.enabled&&await this.findIcc(t),this.options.tiff.enabled&&await this.findExif(t)}async registerSegment(e,t,n){await this.file.ensureChunk(t,n);let r=this.file.subarray(t,n);this.createParser(e,r)}async findIcc(e){let t=this.findBox(e,"iprp");if(void 0===t)return;let n=this.findBox(t,"ipco");if(void 0===n)return;let r=this.findBox(n,"colr");void 0!==r&&await this.registerSegment("icc",r.offset+12,r.length)}async findExif(e){let t=this.findBox(e,"iinf");if(void 0===t)return;let n=this.findBox(e,"iloc");if(void 0===n)return;let r=this.findExifLocIdInIinf(t),i=this.findExtentInIloc(n,r);if(void 0===i)return;let[s,o]=i;await this.file.ensureChunk(s,o);let a=4+this.file.getUint32(s);s+=a,o-=a,await this.registerSegment("tiff",s,o)}findExifLocIdInIinf(e){this.parseBoxFullHead(e);let t,n,r,i,s=e.start,o=this.file.getUint16(s);for(s+=2;o--;){if(t=this.parseBoxHead(s),this.parseBoxFullHead(t),n=t.start,t.version>=2&&(r=3===t.version?4:2,i=this.file.getString(n+r+2,4),"Exif"===i))return this.file.getUintBytes(n,r);s+=t.length}}get8bits(e){let t=this.file.getUint8(e);return[t>>4,15&t]}findExtentInIloc(e,t){this.parseBoxFullHead(e);let n=e.start,[r,i]=this.get8bits(n++),[s,o]=this.get8bits(n++),a=2===e.version?4:2,l=1===e.version||2===e.version?2:0,c=o+r+i,u=2===e.version?4:2,h=this.file.getUintBytes(n,u);for(n+=u;h--;){let e=this.file.getUintBytes(n,a);n+=a+l+2+s;let u=this.file.getUint16(n);if(n+=2,e===t)return u>1&&console.warn("ILOC box has more than one extent but we're only processing one\nPlease create an issue at https://github.com/MikeKovarik/exifr with this file"),[this.file.getUintBytes(n+o,r),this.file.getUintBytes(n+o+r,i)];n+=u*c}}}class Be extends Fe{}g(Be,"type","heic");class $e extends Fe{}g($e,"type","avif"),T.set("heic",Be),T.set("avif",$e),B(V,["ifd0","ifd1"],[[256,"ImageWidth"],[257,"ImageHeight"],[258,"BitsPerSample"],[259,"Compression"],[262,"PhotometricInterpretation"],[270,"ImageDescription"],[271,"Make"],[272,"Model"],[273,"StripOffsets"],[274,"Orientation"],[277,"SamplesPerPixel"],[278,"RowsPerStrip"],[279,"StripByteCounts"],[282,"XResolution"],[283,"YResolution"],[284,"PlanarConfiguration"],[296,"ResolutionUnit"],[301,"TransferFunction"],[305,"Software"],[306,"ModifyDate"],[315,"Artist"],[316,"HostComputer"],[317,"Predictor"],[318,"WhitePoint"],[319,"PrimaryChromaticities"],[513,"ThumbnailOffset"],[514,"ThumbnailLength"],[529,"YCbCrCoefficients"],[530,"YCbCrSubSampling"],[531,"YCbCrPositioning"],[532,"ReferenceBlackWhite"],[700,"ApplicationNotes"],[33432,"Copyright"],[33723,"IPTC"],[34665,"ExifIFD"],[34675,"ICC"],[34853,"GpsIFD"],[330,"SubIFD"],[40965,"InteropIFD"],[40091,"XPTitle"],[40092,"XPComment"],[40093,"XPAuthor"],[40094,"XPKeywords"],[40095,"XPSubject"]]),B(V,"exif",[[33434,"ExposureTime"],[33437,"FNumber"],[34850,"ExposureProgram"],[34852,"SpectralSensitivity"],[34855,"ISO"],[34858,"TimeZoneOffset"],[34859,"SelfTimerMode"],[34864,"SensitivityType"],[34865,"StandardOutputSensitivity"],[34866,"RecommendedExposureIndex"],[34867,"ISOSpeed"],[34868,"ISOSpeedLatitudeyyy"],[34869,"ISOSpeedLatitudezzz"],[36864,"ExifVersion"],[36867,"DateTimeOriginal"],[36868,"CreateDate"],[36873,"GooglePlusUploadCode"],[36880,"OffsetTime"],[36881,"OffsetTimeOriginal"],[36882,"OffsetTimeDigitized"],[37121,"ComponentsConfiguration"],[37122,"CompressedBitsPerPixel"],[37377,"ShutterSpeedValue"],[37378,"ApertureValue"],[37379,"BrightnessValue"],[3738
10,"ExposureCompensation"],[37381,"MaxApertureValue"],[37382,"SubjectDistance"],[37383,"MeteringMode"],[37384,"LightSource"],[37385,"Flash"],[37386,"FocalLength"],[37393,"ImageNumber"],[37394,"SecurityClassification"],[37395,"ImageHistory"],[37396,"SubjectArea"],[37500,"MakerNote"],[37510,"UserComment"],[37520,"SubSecTime"],[37521,"SubSecTimeOriginal"],[37522,"SubSecTimeDigitized"],[37888,"AmbientTemperature"],[37889,"Humidity"],[37890,"Pressure"],[37891,"WaterDepth"],[37892,"Acceleration"],[37893,"CameraElevationAngle"],[40960,"FlashpixVersion"],[40961,"ColorSpace"],[40962,"ExifImageWidth"],[40963,"ExifImageHeight"],[40964,"RelatedSoundFile"],[41483,"FlashEnergy"],[41486,"FocalPlaneXResolution"],[41487,"FocalPlaneYResolution"],[41488,"FocalPlaneResolutionUnit"],[41492,"SubjectLocation"],[41493,"ExposureIndex"],[41495,"SensingMethod"],[41728,"FileSource"],[41729,"SceneType"],[41730,"CFAPattern"],[41985,"CustomRendered"],[41986,"ExposureMode"],[41987,"WhiteBalance"],[41988,"DigitalZoomRatio"],[41989,"FocalLengthIn35mmFormat"],[41990,"SceneCaptureType"],[41991,"GainControl"],[41992,"Contrast"],[41993,"Saturation"],[41994,"Sharpness"],[41996,"SubjectDistanceRange"],[42016,"ImageUniqueID"],[42032,"OwnerName"],[42033,"SerialNumber"],[42034,"LensInfo"],[42035,"LensMake"],[42036,"LensModel"],[42037,"LensSerialNumber"],[42080,"CompositeImage"],[42081,"CompositeImageCount"],[42082,"CompositeImageExposureTimes"],[42240,"Gamma"],[59932,"Padding"],[59933,"OffsetSchema"],[65e3,"OwnerName"],[65001,"SerialNumber"],[65002,"Lens"],[65100,"RawFile"],[65101,"Converter"],[65102,"WhiteBalance"],[65105,"Exposure"],[65106,"Shadows"],[65107,"Brightness"],[65108,"Contrast"],[65109,"Saturation"],[65110,"Sharpness"],[65111,"Smoothness"],[65112,"MoireFilter"],[40965,"InteropIFD"]]),B(V,"gps",[[0,"GPSVersionID"],[1,"GPSLatitudeRef"],[2,"GPSLatitude"],[3,"GPSLongitudeRef"],[4,"GPSLongitude"],[5,"GPSAltitudeRef"],[6,"GPSAltitude"],[7,"GPSTimeStamp"],[8,"GPSSatellites"],[9,"GPSStatus"],[10,"GPSMeasureMode"],[11,"GPSDOP"],[12,"GPSSpeedRef"],[13,"GPSSpeed"],[14,"GPSTrackRef"],[15,"GPSTrack"],[16,"GPSImgDirectionRef"],[17,"GPSImgDirection"],[18,"GPSMapDatum"],[19,"GPSDestLatitudeRef"],[20,"GPSDestLatitude"],[21,"GPSDestLongitudeRef"],[22,"GPSDestLongitude"],[23,"GPSDestBearingRef"],[24,"GPSDestBearing"],[25,"GPSDestDistanceRef"],[26,"GPSDestDistance"],[27,"GPSProcessingMethod"],[28,"GPSAreaInformation"],[29,"GPSDateStamp"],[30,"GPSDifferential"],[31,"GPSHPositioningError"]]),B(U,["ifd0","ifd1"],[[274,{1:"Horizontal (normal)",2:"Mirror horizontal",3:"Rotate 180",4:"Mirror vertical",5:"Mirror horizontal and rotate 270 CW",6:"Rotate 90 CW",7:"Mirror horizontal and rotate 90 CW",8:"Rotate 270 CW"}],[296,{1:"None",2:"inches",3:"cm"}]]);let Ve=B(U,"exif",[[34850,{0:"Not defined",1:"Manual",2:"Normal program",3:"Aperture priority",4:"Shutter priority",5:"Creative program",6:"Action program",7:"Portrait mode",8:"Landscape mode"}],[37121,{0:"-",1:"Y",2:"Cb",3:"Cr",4:"R",5:"G",6:"B"}],[37383,{0:"Unknown",1:"Average",2:"CenterWeightedAverage",3:"Spot",4:"MultiSpot",5:"Pattern",6:"Partial",255:"Other"}],[37384,{0:"Unknown",1:"Daylight",2:"Fluorescent",3:"Tungsten (incandescent light)",4:"Flash",9:"Fine weather",10:"Cloudy weather",11:"Shade",12:"Daylight fluorescent (D 5700 - 7100K)",13:"Day white fluorescent (N 4600 - 5400K)",14:"Cool white fluorescent (W 3900 - 4500K)",15:"White fluorescent (WW 3200 - 3700K)",17:"Standard light A",18:"Standard light B",19:"Standard light C",20:"D55",21:"D65",22:"D75",23:"D50",24:"ISO studio tungsten",255:"Other"}],[37385,{0:"Flash did not fire",1:"Flash fired",5:"Strobe return light not detected",7:"Strobe return light detected",9:"Flash fired, compulsory flash mode",13:"Flash fired, compulsory flash mode, return light not detected",15:"Flash fired, compulsory flash mode, return light detected",16:"Flash did not fire, compulsory flash mode",24:"Flash did not fire, auto mode",25:"Flash fired, auto mode",29:"Flash fired, auto mode, return light not detected",31:"Flash fired, auto mode, return light detected",32:"No flash function",65:"Flash fired, red-eye reduction mode",69:"Flas
1h fired, red-eye reduction mode, return light not detected",71:"Flash fired, red-eye reduction mode, return light detected",73:"Flash fired, compulsory flash mode, red-eye reduction mode",77:"Flash fired, compulsory flash mode, red-eye reduction mode, return light not detected",79:"Flash fired, compulsory flash mode, red-eye reduction mode, return light detected",89:"Flash fired, auto mode, red-eye reduction mode",93:"Flash fired, auto mode, return light not detected, red-eye reduction mode",95:"Flash fired, auto mode, return light detected, red-eye reduction mode"}],[41495,{1:"Not defined",2:"One-chip color area sensor",3:"Two-chip color area sensor",4:"Three-chip color area sensor",5:"Color sequential area sensor",7:"Trilinear sensor",8:"Color sequential linear sensor"}],[41728,{1:"Film Scanner",2:"Reflection Print Scanner",3:"Digital Camera"}],[41729,{1:"Directly photographed"}],[41985,{0:"Normal",1:"Custom",2:"HDR (no original saved)",3:"HDR (original saved)",4:"Original (for HDR)",6:"Panorama",7:"Portrait HDR",8:"Portrait"}],[41986,{0:"Auto",1:"Manual",2:"Auto bracket"}],[41987,{0:"Auto",1:"Manual"}],[41990,{0:"Standard",1:"Landscape",2:"Portrait",3:"Night",4:"Other"}],[41991,{0:"None",1:"Low gain up",2:"High gain up",3:"Low gain down",4:"High gain down"}],[41996,{0:"Unknown",1:"Macro",2:"Close",3:"Distant"}],[42080,{0:"Unknown",1:"Not a Composite Image",2:"General Composite Image",3:"Composite Image Captured While Shooting"}]]);const Ue={1:"No absolute unit of measurement",2:"Inch",3:"Centimeter"};Ve.set(37392,Ue),Ve.set(41488,Ue);const ze={0:"Normal",1:"Low",2:"High"};function He(e){return"object"==typeof e&&void 0!==e.length?e[0]:e}function qe(e){let t=Array.from(e).slice(1);return t[1]>15&&(t=t.map(e=>String.fromCharCode(e))),"0"!==t[2]&&0!==t[2]||t.pop(),t.join(".")}function Ge(e){if("string"==typeof e){var[t,n,r,i,s,o]=e.trim().split(/[-: ]/g).map(Number),a=new Date(t,n-1,r);return Number.isNaN(i)||Number.isNaN(s)||Number.isNaN(o)||(a.setHours(i),a.setMinutes(s),a.setSeconds(o)),Number.isNaN(+a)?e:a}}function We(e){if("string"==typeof e)return e;let t=[];if(0===e[1]&&0===e[e.length-1])for(let n=0;n<e.length;n+=2)t.push(Qe(e[n+1],e[n]));else for(let n=0;n<e.length;n+=2)t.push(Qe(e[n],e[n+1]));return _(String.fromCodePoint(...t))}function Qe(e,t){return e<<8|t}Ve.set(41992,ze),Ve.set(41993,ze),Ve.set(41994,ze),B(z,["ifd0","ifd1"],[[50827,function(e){return"string"!=typeof e?E(e):e}],[306,Ge],[40091,We],[40092,We],[40093,We],[40094,We],[40095,We]]),B(z,"exif",[[40960,qe],[36864,qe],[36867,Ge],[36868,Ge],[40962,He],[40963,He]]),B(z,"gps",[[0,e=>Array.from(e).join(".")],[7,e=>Array.from(e).join(":")]]);class Ke extends ue{static canHandle(e,t){return 225===e.getUint8(t+1)&&1752462448===e.getUint32(t+4)&&"http://ns.adobe.com/"===e.getString(t+4,"http://ns.adobe.com/".length)}static headerLength(e,t){return"http://ns.adobe.com/xmp/extension/"===e.getString(t+4,"http://ns.adobe.com/xmp/extension/".length)?79:4+"http://ns.adobe.com/xap/1.0/".length+1}static findPosition(e,t){let n=super.findPosition(e,t);return n.multiSegment=n.extended=79===n.headerLength,n.multiSegment?(n.chunkCount=e.getUint8(t+72),n.chunkNumber=e.getUint8(t+76),0!==e.getUint8(t+77)&&n.chunkNumber++):(n.chunkCount=1/0,n.chunkNumber=-1),n}static handleMultiSegments(e){return e.map(e=>e.chunk.getString()).join("")}normalizeInput(e){return"string"==typeof e?e:A.from(e).getString()}parse(e=this.chunk){if(!this.localOptions.parse)return e;e=function(e){let t={},n={};for(let r of it)t[r]=[],n[r]=0;return e.replace(st,(e,r,i)=>{if("<"===r){let r=++n[i];return t[i].push(r),`${e}#${r}`}return`${e}#${t[i].pop()}`})}(e);let t=Ye.findAll(e,"rdf","Description");0===t.length&&t.push(new Ye("rdf","Description",void 0,e));let n,r={};for(let i of t)for(let e of i.properties)n=tt(e.ns,r),Ze(e,n);return function(e){let t;for(let n in e)t=e[n]=v(e[n]),void 0===t&&delete e[n];return v(e)}(r)}assignToOutput(e,t){if(this.localOptions.parse)for(let[n,r]of Object.entries(t))switch(n){case"tiff":this.assignObjectToOutput(e,"ifd0",r);break;case"exif":this.assignObjectToOutput(e,"exif",r);break;case"xmlns":break;default:this.assignObjectToOutput(e,n,r)}else e.xmp=t}}g(Ke,"type","xmp"),g(Ke,"multiSegment",!0),O.set("xmp",Ke);class Xe{static findAll(e){return nt(e,/([a-zA-Z0-9-]+):([a-zA-Z0-9-]+)=("[^"]*"|'[^']*')/gm).map(Xe.unpackMatch)}static unpackMatch(e){let t=e[1],n=e[2],r=e[3].slice(1,-1);return r=rt(r),new Xe(t,n,r)}constructor(e,t,n){this.ns=e,this.name=t,this.value=n}serialize(){return this.value}}class Ye{static findAll(e,t,n){if(void 0!==t||void 0!==n){t=t||"[\\w\\d-]+",n=n||"[\\w\\d-]+";var r=new RegExp(`<(${t}):(${n})(#\\d+)?((\\s+?[\\w\\d-:]+=("[^"]*"|'[^']*'))*\\s*)(\\/>|>([\\s\\S]*?)<\\/\\1:\\2\\3>)`,"gm")}else r=/<([\w\d-]+):([\w\d-]+)(#\d+)?((\s+?[\w\d-:]+=("[^"]*"|'[^']*'))*\s*)(\/>|>([\s\S]*?)<\/\1:\2\3>)/gm;return nt(e,r).map(Ye.unpackMatch)}static unpackMatch(e){let t=e[1],n=e[2],r=e[4],i=e[8];return new Ye(t,n,r,i)}constructor(e,t,n,r){this.ns=e,this.name=t,this.attrString=n,this.innerXml=r,this.attrs=Xe.findAll(n),this.children=Ye.findAll(r),this.value=0===this.children.length?rt(r):void 0,this.properties=[...this.attrs,...this.children]}get isPrimitive(){return void 0!==this.value&&0===this.attrs.length&&0===this.children.length}get isListContainer(){return 1===this.children.length&&this.children[0].isList}get isList(){let{ns:e,name:t}=this;return"rdf"===e&&("Seq"===t||"Bag"===t||"Alt"===t)}get isListItem(){return"rdf"===this.ns&&"li"===this.name}serialize(){if(0===this.properties.length&&void 0===this.value)return;if(this.isPrimitive)return this.value;if(this.isListContainer)return this.children[0].serialize();if(this.isList)return et(this.children.map(Je));if(this.isListItem&&1===this.children.length&&0===this.attrs.length)return this.children[0].serialize();let e={};for(let t of this.properties)Ze(t,e);return void 0!==this.value&&(e.value=this.value),v(e)}}function Ze(e,t){let n=e.serialize();void 0!==n&&(t[e.name]=n)}var Je=e=>e.serialize(),et=e=>1===e.length?e[0]:e,tt=(e,t)=>t[e]?t[e]:t[e]={};function nt(e,t){let n,r=[];if(!e)return r;for(;null!==(n=t.exec(e));)r.push(n);return r}function rt(e){if(function(e){return null==e||"null"===e||"undefined"===e||""===e||""===e.trim()}(e))return;let t=Number(e);if(!Number.isNaN(t))return t;let n=e.toLowerCase();return"true"===n||"false"!==n&&e.trim()}const it=["rdf:li","rdf:Seq","rdf:Bag","rdf:Alt","rdf:Description"],st=new RegExp(`(<|\\/)(${it.join("|")})`,"g");Object.freeze({__proto__:null,default:Le,Exifr:oe,fileParsers:T,segmentParsers:O,fileReaders:D,tagKeys:V,tagValues:U,tagRevivers:z,createDictionary:B,extendDictionary:$,fetchUrlAsArrayBuffer:L,readBlobAsArrayBuffer:j,chunkedProps:H,otherSegments:q,segments:G,tiffBlocks:W,segmentsAndBlocks:Q,tiffExtractables:K,inheritables:X,allFormatters:Y,Options:ne,parse:ae,gpsOnlyOptions:_e,gps:xe,thumbnailOnlyOptions:Ce,thumbnail:Se,thumbnailUrl:Ee,orientationOnlyOptions:Ae,orientation:ke,rotations:Ie,get rotateCanvas(){return Te},get rotateCss(){return Oe},rotation:De});let ot=f("fs",e=>e.promises);D.set("fs",class extends Re{async readWhole(){this.chunked=!1,this.fs=await ot;let e=await this.fs.readFile(this.input);this._swapBuffer(e)}async readChunked(){this.chunked=!0,this.fs=await ot,await this.open(),await this.readChunk(0,this.options.firstChunkSize)}async open(){void 0===this.fh&&(this.fh=await this.fs.open(this.input,"r"),this.size=(await this.fh.stat(this.input)).size)}
vendor: 5,588 bytes, line 1
1async _readChunk(e,t){void 0===this.fh&&await this.open(),e+t>this.size&&(t=this.size-e);var n=this.subarray(e,t,!0);return await this.fh.read(n.dataView,0,t,e),n}async close(){if(this.fh){let e=this.fh;this.fh=void 0,await e.close()}}}),D.set("base64",class extends Re{constructor(...e){super(...e),this.input=this.input.replace(/^data:([^;]+);base64,/gim,""),this.size=this.input.length/4*3,this.input.endsWith("==")?this.size-=2:this.input.endsWith("=")&&(this.size-=1)}async _readChunk(e,t){let n,r,i=this.input;void 0===e?(e=0,n=0,r=0):(n=4*Math.floor(e/3),r=e-n/4*3),void 0===t&&(t=this.size);let s=e+t,o=n+4*Math.ceil(s/3);i=i.slice(n,o);let a=Math.min(t,this.size-e);if(d){let t=u.from(i,"base64").slice(r,r+a);return this.set(t,e,!0)}{let t=this.subarray(e,a,!0),n=atob(i),s=t.toUint8();for(let e=0;e<a;e++)s[e]=n.charCodeAt(r+e);return t}}});class at extends ce{static canHandle(e,t){return 18761===t||19789===t}extendOptions(e){let{ifd0:t,xmp:n,iptc:r,icc:i}=e;n.enabled&&t.deps.add(700),r.enabled&&t.deps.add(33723),i.enabled&&t.deps.add(34675),t.finalizeFilters()}async parse(){let{tiff:e,xmp:t,iptc:n,icc:r}=this.options;if(e.enabled||t.enabled||n.enabled||r.enabled){let e=Math.max(x(this.options),this.options.chunkSize);await this.file.ensureChunk(0,e),this.createParser("tiff",this.file),this.parsers.tiff.parseHeader(),await this.parsers.tiff.parseIfd0Block(),this.adaptTiffPropAsSegment("xmp"),this.adaptTiffPropAsSegment("iptc"),this.adaptTiffPropAsSegment("icc")}}adaptTiffPropAsSegment(e){if(this.parsers.tiff[e]){let t=this.parsers.tiff[e];this.injectSegment(e,t)}}}g(at,"type","tiff"),T.set("tiff",at);let lt=f("zlib");const ct=["ihdr","iccp","text","itxt","exif"];class ut extends ce{constructor(...e){super(...e),g(this,"catchError",e=>this.errors.push(e)),g(this,"metaChunks",[]),g(this,"unknownChunks",[])}static canHandle(e,t){return 35152===t&&2303741511===e.getUint32(0)&&218765834===e.getUint32(4)}async parse(){let{file:e}=this;await this.findPngChunksInRange("\x89PNG\r\n\x1a\n".length,e.byteLength),await this.readSegments(this.metaChunks),this.findIhdr(),this.parseTextChunks(),await this.findExif().catch(this.catchError),await this.findXmp().catch(this.catchError),await this.findIcc().catch(this.catchError)}async findPngChunksInRange(e,t){let{file:n}=this;for(;e<t;){let t=n.getUint32(e),r=n.getUint32(e+4),i=n.getString(e+4,4).toLowerCase(),s=t+4+4+4,o={type:i,offset:e,length:s,start:e+4+4,size:t,marker:r};ct.includes(i)?this.metaChunks.push(o):this.unknownChunks.push(o),e+=s}}parseTextChunks(){let e=this.metaChunks.filter(e=>"text"===e.type);for(let t of e){let[e,n]=this.file.getString(t.start,t.size).split("\0");this.injectKeyValToIhdr(e,n)}}injectKeyValToIhdr(e,t){let n=this.parsers.ihdr;n&&n.raw.set(e,t)}findIhdr(){let e=this.metaChunks.find(e=>"ihdr"===e.type);e&&!1!==this.options.ihdr.enabled&&this.createParser("ihdr",e.chunk)}async findExif(){let e=this.metaChunks.find(e=>"exif"===e.type);e&&this.injectSegment("tiff",e.chunk)}async findXmp(){let e=this.metaChunks.filter(e=>"itxt"===e.type);for(let t of e)"XML:com.adobe.xmp"===t.chunk.getString(0,"XML:com.adobe.xmp".length)&&this.injectSegment("xmp",t.chunk)}async findIcc(){let e=this.metaChunks.find(e=>"iccp"===e.type);if(!e)return;let{chunk:t}=e,n=t.getUint8Array(0,81),r=0;for(;r<80&&0!==n[r];)r++;let i=r+2,s=t.getString(0,r);if(this.injectKeyValToIhdr("ProfileName",s),c){let e=await lt,n=t.getUint8Array(i);n=e.inflateSync(n),this.injectSegment("icc",n)}}}g(ut,"type","png"),T.set("png",ut),B(V,"interop",[[1,"InteropIndex"],[2,"InteropVersion"],[4096,"RelatedImageFileFormat"],[4097,"RelatedImageWidth"],[4098,"RelatedImageHeight"]]),$(V,"ifd0",[[11,"ProcessingSoftware"],[254,"SubfileType"],[255,"OldSubfileType"],[263,"Thresholding"],[264,"CellWidth"],[265,"CellLength"],[266,"FillOrder"],[269,"DocumentName"],[280,"MinSampleValue"],[281,"MaxSampleValue"],[285,"PageName"],[286,"XPosition"],[287,"YPosition"],[290,"GrayResponseUnit"],[297,"PageNumber"],[321,"HalftoneHints"],[322,"TileWidth"],[323,"TileLength"],[332,"InkSet"],[337,"TargetPrinter"],[18246,"Rating"],[18249,"RatingPercent"],[33550,"PixelScale"],[34264,"ModelTransform"],[34377,"PhotoshopSettings"],[50706,"DNGVersion"],[50707,"DNGBackwardVersion"],[50708,"UniqueCameraModel"],[50709,"LocalizedCameraModel"],[50736,"DNGLensInfo"],[50739,"ShadowScale"],[50740,"DNGPrivateData"],[33920,"IntergraphMatrix"],[33922,"ModelTiePoint"],[34118,"SEMInfo"],[34735,"GeoTiffDirectory"],[34736,"GeoTiffDoubleParams"],[34737,"GeoTiffAsciiParams"],[50341,"PrintIM"],[50721,"ColorMatrix1"],[50722,"ColorMatrix2"],[50723,"CameraCalibration1"],[50724,"CameraCalibration2"],[50725,"ReductionMatrix1"],[50726,"ReductionMatrix2"],[50727,"AnalogBalance"],[50728,"AsShotNeutral"],[50729,"AsShotWhiteXY"],[50730,"BaselineExposure"],[50731,"BaselineNoise"],[50732,"BaselineSharpness"],[50734,"LinearResponseLimit"],[50735,"CameraSerialNumber"],[50741,"MakerNoteSafety"],[50778,"CalibrationIlluminant1"],[50779,"CalibrationIlluminant2"],[50781,"RawDataUniqueID"],[50827,"OriginalRawFileName"],[50828,"OriginalRawFileData"],[50831,"AsShotICCProfile"],[50832,"AsShotPreProfileMatrix"],[50833,"CurrentICCProfile"],[50834,"CurrentPreProfileMatrix"],[50879,"ColorimetricReference"],[50885,"SRawType"],[50898,"PanasonicTitle"],[50899,"PanasonicTitle2"],[50931,"CameraCalibrationSig"],[50932,"ProfileCalibrationSig"],[50933,"ProfileIFD"],[50934,"AsShotProfileName"],[50936,"ProfileName"],[50937,"ProfileHueSatMapDims"],[50938,"ProfileHueSatMapData1"],[50939,"ProfileHueSatMapData2"],[50940,"ProfileToneCurve"],[50941,"ProfileEmbedPol
1icy"],[50942,"ProfileCopyright"],[50964,"ForwardMatrix1"],[50965,"ForwardMatrix2"],[50966,"PreviewApplicationName"],[50967,"PreviewApplicationVersion"],[50968,"PreviewSettingsName"],[50969,"PreviewSettingsDigest"],[50970,"PreviewColorSpace"],[50971,"PreviewDateTime"],[50972,"RawImageDigest"],[50973,"OriginalRawFileDigest"],[50981,"ProfileLookTableDims"],[50982,"ProfileLookTableData"],[51043,"TimeCodes"],[51044,"FrameRate"],[51058,"TStop"],[51081,"ReelName"],[51089,"OriginalDefaultFinalSize"],[51090,"OriginalBestQualitySize"],[51091,"OriginalDefaultCropSize"],[51105,"CameraLabel"],[51107,"ProfileHueSatMapEncoding"],[51108,"ProfileLookTableEncoding"],[51109,"BaselineExposureOffset"],[51110,"DefaultBlackRender"],[51111,"NewRawImageDigest"],[51112,"RawToPreviewGain"]]);let ht=[[273,"StripOffsets"],[279,"StripByteCounts"],[288,"FreeOffsets"],[289,"FreeByteCounts"],[291,"GrayResponseCurve"],[292,"T4Options"],[293,"T6Options"],[300,"ColorResponseUnit"],[320,"ColorMap"],[324,"TileOffsets"],[325,"TileByteCounts"],[326,"BadFaxLines"],[327,"CleanFaxData"],[328,"ConsecutiveBadFaxLines"],[330,"SubIFD"],[333,"InkNames"],[334,"NumberofInks"],[336,"DotRange"],[338,"ExtraSamples"],[339,"SampleFormat"],[340,"SMinSampleValue"],[341,"SMaxSampleValue"],[342,"TransferRange"],[343,"ClipPath"],[344,"XClipPathUnits"],[345,"YClipPathUnits"],[346,"Indexed"],[347,"JPEGTables"],[351,"OPIProxy"],[400,"GlobalParametersIFD"],[401,"ProfileType"],[402,"FaxProfile"],[403,"CodingMethods"],[404,"VersionYear"],[405,"ModeNumber"],[433,"Decode"],[434,"DefaultImageColor"],[435,"T82Options"],[437,"JPEGTables"],[512,"JPEGProc"],[515,"JPEGRestartInterval"],[517,"JPEGLosslessPredictors"],[518,"JPEGPointTransforms"],[519,"JPEGQTables"],[520,"JPEGDCTables"],[521,"JPEGACTables"],[559,"StripRowCounts"],[999,"USPTOMiscellaneous"],[18247,"XP_DIP_XML"],[18248,"StitchInfo"],[28672,"SonyRawFileType"],[28688,"SonyToneCurve"],[28721,"VignettingCorrection"],[28722,"VignettingCorrParams"],[28724,"ChromaticAberrationCorrection"],[28725,"ChromaticAberrationCorrParams"],[28726,"DistortionCorrection"],[28727,"DistortionCorrParams"],[29895,"SonyCropTopLeft"],[29896,"SonyCropSize"],[32781,"ImageID"],[32931,"WangTag1"],[32932,"WangAnnotation"],[32933,"WangTag3"],[32934,"WangTag4"],[32953,"ImageReferencePoints"],[32954,"RegionXformTackPoint"],[32955,"WarpQuadrilateral"],[32956,"AffineTransformMat"],[32995,"Matteing"],[32996,"DataType"],[32997,"ImageDepth"],[32998,"TileDepth"],[33300,"ImageFullWidth"],[33301,"ImageFullHeight"],[33302,"TextureFormat"],[33303,"WrapModes"],[33304,"FovCot"],[33305,"MatrixWorldToScreen"],[33306,"MatrixWorldToCamera"],[33405,"Model2"],[33421,"CFARepeatPatternDim"],[33422,"CFAPattern2"],[33423,"BatteryLevel"],[33424,"KodakIFD"],[33445,"MDFileTag"],[33446,"MDScalePixel"],[33447,"MDColorTable"],[33448,"MDLabName"],[33449,"MDSampleInfo"],[33450,"MDPrepDate"],[33451,"MDPrepTime"],[33452,"MDFileUnits"],[33589,"AdventScale"],[33590,"AdventRevision"],[33628,"UIC1Tag"],[33629,"UIC2Tag"],[33630,"UIC3Tag"],[33631,"UIC4Tag"],[33918,"IntergraphPacketData"],[33919,"IntergraphFlagRegisters"],[33921,"INGRReserved"],[34016,"Site"],[34017,"ColorSequence"],[34018,"IT8Header"],[34019,"RasterPadding"],[34020,"BitsPerRunLength"],[34021,"BitsPerExtendedRunLength"],[34022,"ColorTable"],[34023,"ImageColorIndicator"],[34024,"BackgroundColorIndicator"],[34025,"ImageColorValue"],[34026,"BackgroundColorValue"],[34027,"PixelIntensityRange"],[34028,"TransparencyIndicator"],[34029,"ColorCharacterization"],[34030,"HCUsage"],[34031,"TrapIndicator"],[34032,"CMYKEquivalent"],[34152,"AFCP_IPTC"],[34232,"PixelMagicJBIGOptions"],[34263,"JPLCartoIFD"],[34306,"WB_GRGBLevels"],[34310,"LeafData"],[34687,"TIFF_FXExtensions"],[34688,"MultiProfiles"],[34689,"SharedData"],[34690,"T88Options"],[34732,"ImageLayer"],[34750,"JBIGOptions"],[34856,"Opto-ElectricConvFactor"],[34857,"Interlace"],[34908,"FaxRecvParams"],[34909,"FaxSubAddress"],[34910,"FaxRecvTime"],[34929,"FedexEDR"],[34954,"LeafSubIFD"],[37387,"FlashEnergy"],[37388,"SpatialFrequencyResponse"],[37389,"Noise"],[37390,"FocalPlaneXResolution"],[37391,"FocalPlaneYResolution"],[37392,"FocalPlaneResolutionUnit"],[37397,"ExposureIndex"],[37398,"TIFF-EPStandardID"],[37399,"SensingMethod"],[37434,"CIP3DataFile"],[37435,"CIP3Sheet"],[37436,"C
1IP3Side"],[37439,"StoNits"],[37679,"MSDocumentText"],[37680,"MSPropertySetStorage"],[37681,"MSDocumentTextPosition"],[37724,"ImageSourceData"],[40965,"InteropIFD"],[40976,"SamsungRawPointersOffset"],[40977,"SamsungRawPointersLength"],[41217,"SamsungRawByteOrder"],[41218,"SamsungRawUnknown"],[41484,"SpatialFrequencyResponse"],[41485,"Noise"],[41489,"ImageNumber"],[41490,"SecurityClassification"],[41491,"ImageHistory"],[41494,"TIFF-EPStandardID"],[41995,"DeviceSettingDescription"],[42112,"GDALMetadata"],[42113,"GDALNoData"],[44992,"ExpandSoftware"],[44993,"ExpandLens"],[44994,"ExpandFilm"],[44995,"ExpandFilterLens"],[44996,"ExpandScanner"],[44997,"ExpandFlashLamp"],[46275,"HasselbladRawImage"],[48129,"PixelFormat"],[48130,"Transformation"],[48131,"Uncompressed"],[48132,"ImageType"],[48256,"ImageWidth"],[48257,"ImageHeight"],[48258,"WidthResolution"],[48259,"HeightResolution"],[48320,"ImageOffset"],[48321,"ImageByteCount"],[48322,"AlphaOffset"],[48323,"AlphaByteCount"],[48324,"ImageDataDiscard"],[48325,"AlphaDataDiscard"],[50215,"OceScanjobDesc"],[50216,"OceApplicationSelector"],[50217,"OceIDNumber"],[50218,"OceImageLogic"],[50255,"Annotations"],[50459,"HasselbladExif"],[50547,"OriginalFileName"],[50560,"USPTOOriginalContentType"],[50656,"CR2CFAPattern"],[50710,"CFAPlaneColor"],[50711,"CFALayout"],[50712,"LinearizationTable"],[50713,"BlackLevelRepeatDim"],[50714,"BlackLevel"],[50715,"BlackLevelDeltaH"],[50716,"BlackLevelDeltaV"],[50717,"WhiteLevel"],[50718,"DefaultScale"],[50719,"DefaultCropOrigin"],[50720,"DefaultCropSize"],[50733,"BayerGreenSplit"],[50737,"ChromaBlurRadius"],[50738,"AntiAliasStrength"],[50752,"RawImageSegmentation"],[50780,"BestQualityScale"],[50784,"AliasLayerMetadata"],[50829,"ActiveArea"],[50830,"MaskedAreas"],[50935,"NoiseReductionApplied"],[50974,"SubTileBlockSize"],[50975,"RowInterleaveFactor"],[51008,"OpcodeList1"],[51009,"OpcodeList2"],[51022,"OpcodeList3"],[51041,"NoiseProfile"],[51114,"CacheVersion"],[51125,"DefaultUserCrop"],[51157,"NikonNEFInfo"],[65024,"KdcIFD"]];$(V,"ifd0",ht),$(V,"exif",ht),B(U,"gps",[[23,{M:"Magnetic North",T:"True North"}],[25,{K:"Kilometers",M:"Miles",N:"Nautical Miles"}]]);class dt extends ue{static canHandle(e,t){return 224===e.getUint8(t+1)&&1246120262===e.getUint32(t+4)&&0===e.getUint8(t+8)}parse(){return this.parseTags(),this.translate(),this.output}parseTags(){this.raw=new Map([[0,this.chunk.getUint16(0)],[2,this.chunk.getUint8(2)],[3,this.chunk.getUint16(3)],[5,this.chunk.getUint16(5)],[7,this.chunk.getUint8(7)],[8,this.chunk.getUint8(8)]])}}g(dt,"type","jfif"),g(dt,"headerLength",9),O.set("jfif",dt),B(V,"jfif",[[0,"JFIFVersion"],[2,"ResolutionUnit"],[3,"XResolution"],[5,"YResolution"],[7,"ThumbnailWidth"],[8,"ThumbnailHeight"]]);class pt extends ue{parse(){return this.parseTags(),this.translate(),this.output}parseTags(){this.raw=new Map([[0,this.chunk.getUint32(0)],[4,this.chunk.getUint32(4)],[8,this.chunk.getUint8(8)],[9,this.chunk.getUint8(9)],[10,this.chunk.getUint8(10)],[11,this.chunk.getUint8(11)],[12,this.chunk.getUint8(12)],...Array.from(this.raw)])}}g(pt,"type","ihdr"),O.set("ihdr",pt),B(V,"ihdr",[[0,"ImageWidth"],[4,"ImageHeight"],[8,"BitDepth"],[9,"ColorType"],[10,"Compression"],[11,"Filter"],[12,"Interlace"]]),B(U,"ihdr",[[9,{0:"Grayscale",2:"RGB",3:"Palette",4:"Grayscale with Alpha",6:"RGB with Alpha",DEFAULT:"Unknown"}],[10,{0:"Deflate/Inflate",DEFAULT:"Unknown"}],[11,{0:"Adaptive",DEFAULT:"Unknown"}],[12,{0:"Noninterlaced",1:"Adam7 Interlace",DEFAULT:"Unknown"}]]);class ft extends ue{static canHandle(e,t){return 226===e.getUint8(t+1)&&1229144927===e.getUint32(t+4)}static findPosition(e,t){let n=super.findPosition(e,t);return n.chunkNumber=e.getUint8(t+16),n.chunkCount=e.getUint8(t+17),n.multiSegment=n.chunkCount>1,n}static handleMultiSegments(e){return function(e){let t=function(e){let t=e[0].constructor,n=0;for(let s of e)n+=s.length;let r=new t(n),i=0;for(let s of e)r.set(s,i),i+=s.length;return r}(e.map(e=>e.chunk.toUint8()));return new A(t)}(e)}parse(){return this.raw=new Map,this.parseHeader(),this.parseTags(),this.translate(),this.output}parseHeader(){let{raw:e}=this;this.chunk.byteLength<84&&w("ICC header is too short");for(let[t,n]of Object.entries(mt)){t=parseInt(t,10);let r=n(this.chunk,t);"\0\0\0\0"!==r&&e.set(t,r)}}parseTags(){let e,t,n,r,i,{raw:s}=this,o=this.chunk.getUint32(128),a=132,l=this.chunk.byteLength;for(;o--;){if(e=this.chunk.getString(a,4),t=this.chunk.getUint32(a+4),n=this.chunk.getUint32(a+8),r=this.chunk.getString(t,4),t+n>l)return void console.warn("reached the end of the first ICC chunk. Enable options.tiff.multiSegment to read all ICC segments.");i=this.parseTag(r,t,n),void 0!==i&&"\0\0\0\0"!==i&&s.set(e,i),a+=12}}
vendor: 3,339 bytes, line 1
1parseTag(e,t,n){switch(e){case"desc":return this.parseDesc(t);case"mluc":return this.parseMluc(t);case"text":return this.parseText(t,n);case"sig ":return this.parseSig(t)}if(!(t+n>this.chunk.byteLength))return this.chunk.getUint8Array(t,n)}parseDesc(e){let t=this.chunk.getUint32(e+8)-1;return _(this.chunk.getString(e+12,t))}parseText(e,t){return _(this.chunk.getString(e+8,t-8))}parseSig(e){return _(this.chunk.getString(e+8,4))}parseMluc(e){let{chunk:t}=this,n=t.getUint32(e+8),r=t.getUint32(e+12),i=e+16,s=[];for(let o=0;o<n;o++){let n=t.getString(i+0,2),o=t.getString(i+2,2),a=t.getUint32(i+4),l=t.getUint32(i+8)+e,c=_(t.getUnicodeString(l,a));s.push({lang:n,country:o,text:c}),i+=r}return 1===n?s[0].text:s}translateValue(e,t){return"string"==typeof e?t[e]||t[e.toLowerCase()]||e:t[e]||e}}g(ft,"type","icc"),g(ft,"multiSegment",!0),g(ft,"headerLength",18);const mt={4:gt,8:function(e,t){return[e.getUint8(t),e.getUint8(t+1)>>4,e.getUint8(t+1)%16].map(e=>e.toString(10)).join(".")},12:gt,16:gt,20:gt,24:function(e,t){const n=e.getUint16(t),r=e.getUint16(t+2)-1,i=e.getUint16(t+4),s=e.getUint16(t+6),o=e.getUint16(t+8),a=e.getUint16(t+10);return new Date(Date.UTC(n,r,i,s,o,a))},36:gt,40:gt,48:gt,52:gt,64:(e,t)=>e.getUint32(t),80:gt};function gt(e,t){return _(e.getString(t,4))}O.set("icc",ft),B(V,"icc",[[4,"ProfileCMMType"],[8,"ProfileVersion"],[12,"ProfileClass"],[16,"ColorSpaceData"],[20,"ProfileConnectionSpace"],[24,"ProfileDateTime"],[36,"ProfileFileSignature"],[40,"PrimaryPlatform"],[44,"CMMFlags"],[48,"DeviceManufacturer"],[52,"DeviceModel"],[56,"DeviceAttributes"],[64,"RenderingIntent"],[68,"ConnectionSpaceIlluminant"],[80,"ProfileCreator"],[84,"ProfileID"],["Header","ProfileHeader"],["MS00","WCSProfiles"],["bTRC","BlueTRC"],["bXYZ","BlueMatrixColumn"],["bfd","UCRBG"],["bkpt","MediaBlackPoint"],["calt","CalibrationDateTime"],["chad","ChromaticAdaptation"],["chrm","Chromaticity"],["ciis","ColorimetricIntentImageState"],["clot","ColorantTableOut"],["clro","ColorantOrder"],["clrt","ColorantTable"],["cprt","ProfileCopyright"],["crdi","CRDInfo"],["desc","ProfileDescription"],["devs","DeviceSettings"],["dmdd","DeviceModelDesc"],["dmnd","DeviceMfgDesc"],["dscm","ProfileDescriptionML"],["fpce","FocalPlaneColorimetryEstimates"],["gTRC","GreenTRC"],["gXYZ","GreenMatrixColumn"],["gamt","Gamut"],["kTRC","GrayTRC"],["lumi","Luminance"],["meas","Measurement"],["meta","Metadata"],["mmod","MakeAndModel"],["ncl2","NamedColor2"],["ncol","NamedColor"],["ndin","NativeDisplayInfo"],["pre0","Preview0"],["pre1","Preview1"],["pre2","Preview2"],["ps2i","PS2RenderingIntent"],["ps2s","PostScript2CSA"],["psd0","PostScript2CRD0"],["psd1","PostScript2CRD1"],["psd2","PostScript2CRD2"],["psd3","PostScript2CRD3"],["pseq","ProfileSequenceDesc"],["psid","ProfileSequenceIdentifier"],["psvm","PS2CRDVMSize"],["rTRC","RedTRC"],["rXYZ","RedMatrixColumn"],["resp","OutputResponse"],["rhoc","ReflectionHardcopyOrigColorimetry"],["rig0","PerceptualRenderingIntentGamut"],["rig2","SaturationRenderingIntentGamut"],["rpoc","ReflectionPrintOutputColorimetry"],["sape","SceneAppearanceEstimates"],["scoe","SceneColorimetryEstimates"],["scrd","ScreeningDesc"],["scrn","Screening"],["targ","CharTarget"],["tech","Technology"],["vcgt","VideoCardGamma"],["view","ViewingConditions"],["vued","ViewingCondDesc"],["wtpt","MediaWhitePoint"]]);const v
vendor: 5,572 bytes, line 1
1t={"4d2p":"Erdt Systems",AAMA:"Aamazing Technologies",ACER:"Acer",ACLT:"Acolyte Color Research",ACTI:"Actix Sytems",ADAR:"Adara Technology",ADBE:"Adobe",ADI:"ADI Systems",AGFA:"Agfa Graphics",ALMD:"Alps Electric",ALPS:"Alps Electric",ALWN:"Alwan Color Expertise",AMTI:"Amiable Technologies",AOC:"AOC International",APAG:"Apago",APPL:"Apple Computer",AST:"AST","AT&T":"AT&T",BAEL:"BARBIERI electronic",BRCO:"Barco NV",BRKP:"Breakpoint",BROT:"Brother",BULL:"Bull",BUS:"Bus Computer Systems","C-IT":"C-Itoh",CAMR:"Intel",CANO:"Canon",CARR:"Carroll Touch",CASI:"Casio",CBUS:"Colorbus PL",CEL:"Crossfield",CELx:"Crossfield",CGS:"CGS Publishing Technologies International",CHM:"Rochester Robotics",CIGL:"Colour Imaging Group, London",CITI:"Citizen",CL00:"Candela",CLIQ:"Color IQ",CMCO:"Chromaco",CMiX:"CHROMiX",COLO:"Colorgraphic Communications",COMP:"Compaq",COMp:"Compeq/Focus Technology",CONR:"Conrac Display Products",CORD:"Cordata Technologies",CPQ:"Compaq",CPRO:"ColorPro",CRN:"Cornerstone",CTX:"CTX International",CVIS:"ColorVision",CWC:"Fujitsu Laboratories",DARI:"Darius Technology",DATA:"Dataproducts",DCP:"Dry Creek Photo",DCRC:"Digital Contents Resource Center, Chung-Ang University",DELL:"Dell Computer",DIC:"Dainippon Ink and Chemicals",DICO:"Diconix",DIGI:"Digital","DL&C":"Digital Light & Color",DPLG:"Doppelganger",DS:"Dainippon Screen",DSOL:"DOOSOL",DUPN:"DuPont",EPSO:"Epson",ESKO:"Esko-Graphics",ETRI:"Electronics and Telecommunications Research Institute",EVER:"Everex Systems",EXAC:"ExactCODE",Eizo:"Eizo",FALC:"Falco Data Products",FF:"Fuji Photo Film",FFEI:"FujiFilm Electronic Imaging",FNRD:"Fnord Software",FORA:"Fora",FORE:"Forefront Technology",FP:"Fujitsu",FPA:"WayTech Development",FUJI:"Fujitsu",FX:"Fuji Xerox",GCC:"GCC Technologies",GGSL:"Global Graphics Software",GMB:"Gretagmacbeth",GMG:"GMG",GOLD:"GoldStar Technology",GOOG:"Google",GPRT:"Giantprint",GTMB:"Gretagmacbeth",GVC:"WayTech Development",GW2K:"Sony",HCI:"HCI",HDM:"Heidelberger Druckmaschinen",HERM:"Hermes",HITA:"Hitachi America",HP:"Hewlett-Packard",HTC:"Hitachi",HiTi:"HiTi Digital",IBM:"IBM",IDNT:"Scitex",IEC:"Hewlett-Packard",IIYA:"Iiyama North America",IKEG:"Ikegami Electronics",IMAG:"Image Systems",IMI:"Ingram Micro",INTC:"Intel",INTL:"N/A (INTL)",INTR:"Intra Electronics",IOCO:"Iocomm International Technology",IPS:"InfoPrint Solutions Company",IRIS:"Scitex",ISL:"Ichikawa Soft Laboratory",ITNL:"N/A (ITNL)",IVM:"IVM",IWAT:"Iwatsu Electric",Idnt:"Scitex",Inca:"Inca Digital Printers",Iris:"Scitex",JPEG:"Joint Photographic Experts Group",JSFT:"Jetsoft Development",JVC:"JVC Information Products",KART:"Scitex",KFC:"KFC Computek Components",KLH:"KLH Computers",KMHD:"Konica Minolta",KNCA:"Konica",KODA:"Kodak",KYOC:"Kyocera",Kart:"Scitex",LCAG:"Leica",LCCD:"Leeds Colour",LDAK:"Left Dakota",LEAD:"Leading Technology",LEXM:"Lexmark International",LINK:"Link Computer",LINO:"Linotronic",LITE:"Lite-On",Leaf:"Leaf",Lino:"Linotronic",MAGC:"Mag Computronic",MAGI:"MAG Innovision",MANN:"Mannesmann",MICN:"Micron Technology",MICR:"Microtek",MICV:"Microvitec",MINO:"Minolta",MITS:"Mitsubishi Electronics America",MITs:"Mitsuba",MNLT:"Minolta",MODG:"Modgraph",MONI:"Monitronix",MONS:"Monaco Systems",MORS:"Morse Technology",MOTI:"Motive Systems",MSFT:"Microsoft",MUTO:"MUTOH INDUSTRIES",Mits:"Mitsubishi Electric",NANA:"NANAO",NEC:"NEC",NEXP:"NexPress Solutions",NISS:"Nissei Sangyo America",NKON:"Nikon",NONE:"none",OCE:"Oce Technologies",OCEC:"OceColor",OKI:"Oki",OKID:"Okidata",OKIP:"Okidata",OLIV:"Olivetti",OLYM:"Olympus",ONYX:"Onyx Graphics",OPTI:"Optiquest",PACK:"Packard Bell",PANA:"Matsushita Electric Industrial",PANT:"Pantone",PBN:"Packard Bell",PFU:"PFU",PHIL:"Philips Consumer Electronics",PNTX:"HOYA",POne:"Phase One A/S",PREM:"Premier Computer Innovations",PRIN:"Princeton Graphic Systems",PRIP:"Princeton Publishing Labs",QLUX:"Hong Kong",QMS:"QMS",QPCD:"QPcard AB",QUAD:"QuadLaser",QUME:"Qume",RADI:"Radius",RDDx:"Integrated Color Solutions",RDG:"Roland DG",REDM:"REDMS Group",RELI:"Relisys",RGMS:"Rolf Gierling Multitools",RICO:"Ricoh",RNLD:"Edmund Ronald",ROYA:"Royal",RPC:"Ricoh Printing Systems",RTL:"Royal Information Electronics",SAMP:"Sampo",SAMS:"Samsung",SANT:"Jaime Santana Pomares",SCIT:"Scitex",SCRN:"Dainippon Screen",SDP:"Scitex",SEC:"Samsung",SEIK:"Seiko Instruments",SEIk:"Seikosha",SGUY:"ScanGuy.com",SHAR:"Sharp Laboratories",SICC:"International Color Consortium",SONY:"Sony",SPCL:"SpectraCal",STAR:"Star",STC:"Sampo Technology",Scit:"Scitex",Sdp:"Scitex",Sony:"Sony",TALO:"Talon Technology",TAND:"Tandy",TATU:"Tatung",TAXA:"TAXAN America",TDS:"Tokyo Denshi Sekei",TECO:"TECO Information Systems",TEGR:"Tegra",TEKT:"Tektronix",TI:"Texas Instruments",TMKR:"TypeMaker",TOSB:"Toshiba",TOSH:"Toshiba",TOTK:"TOTOKU ELECTRIC",TRIU:"Triumph",TSBT:"Toshiba",TTX:"TTX Computer Products",TVM:"TVM Professional Monitor",TW:"TW Casper",ULSX:"Ulead Systems",UNIS:"Unisys",UTZF:"Utz Fehlau & Sohn",VARI:"Varityper",VIEW:"Viewsonic",VISL:"Visual communication",VIVO:"Vivo Mobile Communication",WANG:"Wang",WLBR:"Wilbur Imaging",WTG2:"Ware To Go",WYSE:"WYSE Technology",XERX:"Xerox",XRIT:"X-Rite",ZRAN:"Zoran",Zebr:"Zebra Technologies",appl:"Apple Computer",bICC:"basICColor",berg:"bergdesign",ceyd:"Integrated Color Solutions",clsp:"MacDermid ColorSpan",ds:"Dainippon Screen",dupn:"DuPont",ffei:"FujiFilm Electronic Imaging",flux:"FluxData",iris:"Scitex",kart:"Scitex",lcms:"Little CMS",lino:"Linotronic",none:"none",ob4d:"Erdt Systems",obic:"Medigraph",quby:"Qubyx Sarl",scit:"Scitex",scrn:"Dainippon Screen",sdp:"Scitex",siwi:"SIWI GRAFIKA",yxym:"YxyMaster"},
vendor: 4,246 bytes, line 1
1yt={scnr:"Scanner",mntr:"Monitor",prtr:"Printer",link:"Device Link",abst:"Abstract",spac:"Color Space Conversion Profile",nmcl:"Named Color",cenc:"ColorEncodingSpace profile",mid:"MultiplexIdentification profile",mlnk:"MultiplexLink profile",mvis:"MultiplexVisualization profile",nkpf:"Nikon Input Device Profile (NON-STANDARD!)"};B(U,"icc",[[4,vt],[12,yt],[40,Object.assign({},vt,yt)],[48,vt],[80,vt],[64,{0:"Perceptual",1:"Relative Colorimetric",2:"Saturation",3:"Absolute Colorimetric"}],["tech",{amd:"Active Matrix Display",crt:"Cathode Ray Tube Display",kpcd:"Photo CD",pmd:"Passive Matrix Display",dcam:"Digital Camera",dcpj:"Digital Cinema Projector",dmpc:"Digital Motion Picture Camera",dsub:"Dye Sublimation Printer",epho:"Electrophotographic Printer",esta:"Electrostatic Printer",flex:"Flexography",fprn:"Film Writer",fscn:"Film Scanner",grav:"Gravure",ijet:"Ink Jet Printer",imgs:"Photo Image Setter",mpfr:"Motion Picture Film Recorder",mpfs:"Motion Picture Film Scanner",offs:"Offset Lithography",pjtv:"Projection Television",rpho:"Photographic Paper Printer",rscn:"Reflective Scanner",silk:"Silkscreen",twax:"Thermal Wax Printer",vidc:"Video Camera",vidm:"Video Monitor"}]]);class bt extends ue{static canHandle(e,t,n){return 237===e.getUint8(t+1)&&"Photoshop"===e.getString(t+4,9)&&void 0!==this.containsIptc8bim(e,t,n)}static headerLength(e,t,n){let r,i=this.containsIptc8bim(e,t,n);if(void 0!==i)return r=e.getUint8(t+i+7),r%2!=0&&(r+=1),0===r&&(r=4),i+8+r}static containsIptc8bim(e,t,n){for(let r=0;r<n;r++)if(this.isIptcSegmentHead(e,t+r))return r}static isIptcSegmentHead(e,t){return 56===e.getUint8(t)&&943868237===e.getUint32(t)&&1028===e.getUint16(t+4)}parse(){let{raw:e}=this,t=this.chunk.byteLength-1,n=!1;for(let r=0;r<t;r++)if(28===this.chunk.getUint8(r)&&2===this.chunk.getUint8(r+1)){n=!0;let t=this.chunk.getUint16(r+3),i=this.chunk.getUint8(r+2),s=this.chunk.getLatin1String(r+5,t);e.set(i,this.pluralizeValue(e.get(i),s)),r+=4+t}else if(n)break;return this.translate(),this.output}pluralizeValue(e,t){return void 0!==e?e instanceof Array?(e.push(t),e):[e,t]:t}}g(bt,"type","iptc"),g(bt,"translateValues",!1),g(bt,"reviveValues",!1),O.set("iptc",bt),B(V,"iptc",[[0,"ApplicationRecordVersion"],[3,"ObjectTypeReference"],[4,"ObjectAttributeReference"],[5,"ObjectName"],[7,"EditStatus"],[8,"EditorialUpdate"],[10,"Urgency"],[12,"SubjectReference"],[15,"Category"],[20,"SupplementalCategories"],[22,"FixtureIdentifier"],[25,"Keywords"],[26,"ContentLocationCode"],[27,"ContentLocationName"],[30,"ReleaseDate"],[35,"ReleaseTime"],[37,"ExpirationDate"],[38,"ExpirationTime"],[40,"SpecialInstructions"],[42,"ActionAdvised"],[45,"ReferenceService"],[47,"ReferenceDate"],[50,"ReferenceNumber"],[55,"DateCreated"],[60,"TimeCreated"],[62,"DigitalCreationDate"],[63,"DigitalCreationTime"],[65,"OriginatingProgram"],[70,"ProgramVersion"],[75,"ObjectCycle"],[80,"Byline"],[85,"BylineTitle"],[90,"City"],[92,"Sublocation"],[95,"State"],[100,"CountryCode"],[101,"Country"],[103,"OriginalTransmissionReference"],[105,"Headline"],[110,"Credit"],[115,"Source"],[116,"CopyrightNotice"],[118,"Contact"],[120,"Caption"],[121,"LocalCaption"],[122,"Writer"],[125,"RasterizedCaption"],[130,"ImageType"],[131,"ImageOrientation"],[135,"LanguageIdentifier"],[150,"AudioType"],[151,"AudioSamplingRate"],[152,"AudioSamplingResolution"],[153,"AudioDuration"],[154,"AudioOutcue"],[184,"JobID"],[185,"MasterDocumentID"],[186,"ShortDocumentID"],[187,"UniqueDocumentID"],[188,"OwnerID"],[200,"ObjectPreviewFileFormat"],[201,"ObjectPreviewFileVersion"],[202,"ObjectPreviewData"],[221,"Prefs"],[225,"ClassifyState"],[228,"SimilarityIndex"],[230,"DocumentNotes"],[231,"DocumentHistory"],[232,"ExifCameraInfo"],[255,"CatalogSets"]]),B(U,"iptc",[[10,{0:"0 (reserved)",1:"1 (most urgent)",2:"2",3:"3",4:"4",5:"5 (normal urgency)",6:"6",7:"7",8:"8 (least urgent)",9:"9 (user-defined priority)"}],[75,{a:"Morning",b:"Both Morning and Evening",p:"Evening"}],[131,{L:"Landscape",P:"Portrait",S:"Square"}]]);var wt,_t=n("gkvR"),xt=n.n(_t),Ct=n("eIep");!function(e){e.NO_FILES_RECEIVED="NO_FILES_RECEIVED",e.CANVAS_CONTEXT_IDENTIFIER_NOT_SUPPORTED="CANVAS_CONTEXT_IDENTIFIER_NOT_SUPPORTED",e.NOT_BE_ABLE_TO_COMPRESS_ENOUGH="NOT_BE_ABLE_TO_COMPRESS_ENOUGH",e.READ_E
1RROR="IMAGE_COULD_NOT_BE_LOADED"}(wt||(wt={}));let St=class{getExifOrientedImage(e){return new Promise((t,n)=>{ke(e).catch(n=>{t(e)}).then(n=>{if(n&&1!==n){if(n<1||n>8)throw new Error("orientation should be [1-8]");const r=document.createElement("canvas"),i=r.getContext("2d");let s=0,o=0,a=0,l=e.width,c=e.height;switch([5,6,7,8].indexOf(n)>-1&&(l=e.height,c=e.width),r.width=l,r.height=c,n){case 3:case 4:o=-e.width,a=-e.height,s=180;break;case 5:case 6:a=-e.height,s=90;break;case 7:case 8:o=-e.width,s=270}[2,4,5,7].indexOf(n)>-1&&(i.translate(l,0),i.scale(-1,1)),i.rotate(s/180*Math.PI),i.drawImage(e,o,a);const u=new Image;u.width=l,u.height=c,u.onload=()=>{t(u)},u.src=r.toDataURL()}else t(e)})})}};St.\u0275fac=function(e){return new(e||St)},St.\u0275prov=i.Ic({token:St,factory:function(e){return St.\u0275fac(e)}});let Et=class{constructor(e){this._ngxPicaExifService=e,this.picaResizer=new xt.a,this.MAX_STEPS=20,this.picaResizer&&this.picaResizer.resize||(this.picaResizer=new window.Pica)}resizeImages(e,t,n,r){const i=new s.a,o=e.length;if(o>0){const a=new s.a;let l=0;const c=a.pipe(Object(Ct.a)(e=>this.resizeImage(e,t,n,r))).subscribe(t=>{l++,i.next(t),l<o?a.next(e[l]):(i.complete(),c.unsubscribe())},t=>{const n={file:e[l],err:t};i.error(n)});a.next(e[l])}else{const e={err:wt.NO_FILES_RECEIVED};i.error(e),i.complete()}return i.asObservable()}resizeImage(e,t,n,r){const i=new s.a,o=document.createElement("canvas"),a=o.getContext("2d"),l=new Image,c=new FileReader;return r||(r={exifOptions:{forceExifOrientation:!0}}),a?(c.addEventListener("load",s=>{l.onerror=t=>{i.error({err:wt.READ_ERROR,file:e,original_error:t})},l.onload=()=>{this.processImageExifOptions(l,r.exifOptions).then(s=>{o.width=s.width,o.height=s.height,a.drawImage(s,0,0);const l=a.getImageData(0,0,s.width,s.height);if(r&&r.aspectRatio&&r.aspectRatio.keepAspectRatio){let e=0;e=r.aspectRatio.forceMinDimensions?Math.max(t/l.width,n/l.height):Math.min(t/l.width,n/l.height),t=Math.round(l.width*e),n=Math.round(l.height*e)}const c=document.createElement("canvas");c.width=t,c.height=n,this.picaResize(e,o,c,r).catch(e=>i.error(e)).then(e=>{i.next(e),i.complete()})}).catch(t=>{i.error({err:wt.READ_ERROR,file:e,original_error:t})})},l.src=c.result}),c.readAsDataURL(e)):i.error(wt.CANVAS_CONTEXT_IDENTIFIER_NOT_SUPPORTED),i.asObservable()}compressImages(e,t,n){const r=new s.a,i=e.length;if(i>0){const o=new s.a;let a=0;const l=o.pipe(Object(Ct.a)(e=>this.compressImage(e,t,n))).subscribe(t=>{a++,r.next(t),a<i?o.next(e[a]):(r.complete(),l.unsubscribe())},t=>{const n={file:e[a],err:t};r.error(n)});o.next(e[a])}else{const e={err:wt.NO_FILES_RECEIVED};r.error(e),r.complete()}return r.asObservable()}compressImage(e,t,n){const r=new s.a;if(this.bytesToMB(e.size)<=t)setTimeout(()=>{r.next(e),r.complete()});else{const i=document.createElement("canvas"),s=i.getContext("2d"),o=new Image,a=new FileReader;n||(n={exifOptions:{forceExifOrientation:!0}}),s?(a.addEventListener("load",l=>{o.onload=()=>{this.processImageExifOptions(o,n.exifOptions).then(n=>{i.width=n.width,i.height=n.height,s.drawImage(n,0,0),this.getCompressedImage(i,e.type,1,t,0).catch(e=>r.error(e)).then(t=>{const n=this.blobToFile(t,e.name,e.type,(new Date).getTime());r.next(n),r.complete()})})},o.src=a.result}),a.readAsDataURL(e)):r.error(wt.CANVAS_CONTEXT_IDENTIFIER_NOT_SUPPORTED)}return r.asObservable()}processImageExifOptions(e,t){return new Promise((n,r)=>{t.forceExifOrientation?this._ngxPicaExifService.getExifOrientedImage(e).then(e=>n(e)).catch(e=>r(e)):n(e)})}getCompressedImage(e,t,n,r,i){return new Promise((s,o)=>{this.picaResizer.toBlob(e,t,n).catch(e=>o(e)).then(t=>{this.checkCompressedImageSize(e,t,n,r,i).catch(e=>o(e)).then(e=>{s(e)})})})}checkCompressedImageSize(e,t,n,r,i){return new Promise((s,o)=>{if(i>this.MAX_STEPS)o(wt.NOT_BE_ABLE_TO_COMPRESS_ENOUGH);else if(this.bytesToMB(t.size)<r)s(t);else{const o=n-.1*n,a=i+1;s(this.getCompressedImage(e,t.type,o,r,a))}})}picaResize(e,t,n,r){return new Promise((i,s)=>{this.picaResizer.resize(t,n,r).catch(e=>s(e)).then(t=>this.picaResizer.toBlob(t,e.type)).then(t=>{const n=this.blobToFile(t,e.name,e.type,(new Date).getTime());i(n)})})}blobToFile(e,t,n,r){return Object.assign(new Blob([e],{type:n}),{name:t,lastModified:r})}bytesToMB(e){return e/1048576}};Et.\u0275fac=function(e){return new(e||Et)(i.Vc(St))},Et.\u0275prov=i.Ic({token:Et,factory:function(e){return Et.\u0275fac(e)}}),Et.ctorParameters=()=>[{type:St}],Et=Object(r.b)([Object(r.c)("design:paramtypes",[St])],Et);let At=class{constructor(){this.imageExtensions=["ase","art","bmp","blp","cd5","cit","cpt","cr2","cut","dds","dib","djvu","egt","exif","gif","gpl","grf","icns","ico","iff","jng","jpeg","jpg","jfif","jp2","jps","lbm","max","miff","mng","msp","nitf","ota","pbm","pc1","pc2","pc3","pcf","pcx","pdn","pgm","PI1","PI2","PI3","pict","pct","pnm","pns","ppm","psb","psd","pdd","psp","px","pxm","pxr","qfx","raw","rle","sct","sgi","rgb","int","bw","tga","tiff","tif","vtf","xbm","xcf","xpm","3dv","amf","ai","awg","cgm","cdr","cmx","dxf","e2d","egt","eps","fs","gbr","odg","svg","stl","vrml","x3d","sxd","v2d","vnd","wmf","emf","art","xar","png","webp","jxr","hdp","wdp","cur","ecw","iff","lbm","liff","nrrd","pam","pcx","pgf","sgi","rgb","rgba","bw","int","inta","sid","ras","sun","tga"]}isImage(e){const t=e.name.toLowerCase().substr(e.name.lastIndexOf(".")+1);return-1!==this.imageExtensions.indexOf(t)}};At.\u0275fac=function(e){return new(e||At)},At.\u0275prov=i.Ic({token:At,factory:function(e){return At.\u0275fac(e)}});let kt=class{};kt.\u0275fac=function(e){return new(e||kt)},kt.\u0275mod=i.Kc({type:kt}),kt.\u0275inj=i.Jc({providers:[{provide:Et,useClass:Et},{provide:St,useClass:St},{provide:At,useClass:At}]})},"9OqN":function(e,t,n){var r,i,s;e.exports=(s=n("Ib8C"),n("OLod"),s.mode.CTR=(r=s.lib.BlockCipherMode.extend(),i=r.Encryptor=r.extend({processBlock:function(e,t){var n=this._cipher,r=n.blockSize,i=this._iv,s=this._counter;i&&(s=this._counter=i.slice(0),this._iv=void 0);var o=s.slice(0);n.encryptBlock(o,0),s[r-1]=s[r-1]+1|0;for(var a=0;a<r;a++)e[t+a]^=o[a]}}),r.Decryptor=i,r),s.mode.CTR)},"9ans":function(e,t,n){"use strict";n.d(t,"a",function(){return fe});var r=n("mrSG"),i=n("TEn/"),s=n("fXoL"),o=n("sRcL"),a=n("tyNb"),l=n("AytR"),c=n("4pnn"),u="3.4.2";function h(e,t){return new Promise(function(n){return setTimeout(n,e,t)})}function d(e){return!!e&&"function"==typeof e.then}function p(e,t){try{var n=e();d(n)?n.then(function(e){return t(!0,e)},function(e){return t(!1,e)}):t(!0,n)}catch(r){t(!1,r)}}function f(e,t,n){return void 0===n&&(n=16),Object(r.b)(this,void 0,void 0,function(){var i,s,o,a;return Object(r.d)(this,function(r){switch(r.label){case 0:i=Array(e.length),s=Date.now(),o=0,r.label=1;case 1:return o<e.length?(i[o]=t(e[o],o),(a=Date.now())>=s+n?(s=a,[4,h(0)]):[3,3]):[3,4];case 2:r.sent(),r.label=3;case 3:return++o,[3,1];case 4:return[2,i]}})})}function m(e){e.then(void 0,function(){})}function g(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]+t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]+t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]+t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]+t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function v(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]*t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]*t[3],n[1]+=n[2]>>>16,n[2]&=65535,n[2]+=e[3]*t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]*t[3],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[2]*t[2],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[3]*t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function y(e,t){return 32===(t%=64)?[e[1],e[0]]:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t|e[0]>>>32-t]:(t-=32,[e[1]<<t|e[0]>>>32-t,e[0]<<t|e[1]>>>32-t])}
1function b(e,t){return 0===(t%=64)?e:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t]:[e[1]<<t-32,0]}function w(e,t){return[e[0]^t[0],e[1]^t[1]]}function _(e){return e=w(e,[0,e[0]>>>1]),e=w(e=v(e,[4283543511,3981806797]),[0,e[0]>>>1]),e=w(e=v(e,[3301882366,444984403]),[0,e[0]>>>1])}function x(e,t){t=t||0;var n,r=(e=e||"").length%16,i=e.length-r,s=[0,t],o=[0,t],a=[0,0],l=[0,0],c=[2277735313,289559509],u=[1291169091,658871167];for(n=0;n<i;n+=16)a=[255&e.charCodeAt(n+4)|(255&e.charCodeAt(n+5))<<8|(255&e.charCodeAt(n+6))<<16|(255&e.charCodeAt(n+7))<<24,255&e.charCodeAt(n)|(255&e.charCodeAt(n+1))<<8|(255&e.charCodeAt(n+2))<<16|(255&e.charCodeAt(n+3))<<24],l=[255&e.charCodeAt(n+12)|(255&e.charCodeAt(n+13))<<8|(255&e.charCodeAt(n+14))<<16|(255&e.charCodeAt(n+15))<<24,255&e.charCodeAt(n+8)|(255&e.charCodeAt(n+9))<<8|(255&e.charCodeAt(n+10))<<16|(255&e.charCodeAt(n+11))<<24],a=y(a=v(a,c),31),s=g(s=y(s=w(s,a=v(a,u)),27),o),s=g(v(s,[0,5]),[0,1390208809]),l=y(l=v(l,u),33),o=g(o=y(o=w(o,l=v(l,c)),31),s),o=g(v(o,[0,5]),[0,944331445]);switch(a=[0,0],l=[0,0],r){case 15:l=w(l,b([0,e.charCodeAt(n+14)],48));case 14:l=w(l,b([0,e.charCodeAt(n+13)],40));case 13:l=w(l,b([0,e.charCodeAt(n+12)],32));case 12:l=w(l,b([0,e.charCodeAt(n+11)],24));case 11:l=w(l,b([0,e.charCodeAt(n+10)],16));case 10:l=w(l,b([0,e.charCodeAt(n+9)],8));case 9:l=v(l=w(l,[0,e.charCodeAt(n+8)]),u),o=w(o,l=v(l=y(l,33),c));case 8:a=w(a,b([0,e.charCodeAt(n+7)],56));case 7:a=w(a,b([0,e.charCodeAt(n+6)],48));case 6:a=w(a,b([0,e.charCodeAt(n+5)],40));case 5:a=w(a,b([0,e.charCodeAt(n+4)],32));case 4:a=w(a,b([0,e.charCodeAt(n+3)],24));case 3:a=w(a,b([0,e.charCodeAt(n+2)],16));case 2:a=w(a,b([0,e.charCodeAt(n+1)],8));case 1:a=v(a=w(a,[0,e.charCodeAt(n)]),c),s=w(s,a=v(a=y(a,31),u))}return s=g(s=w(s,[0,e.length]),o=w(o,[0,e.length])),o=g(o,s),s=g(s=_(s),o=_(o)),o=g(o,s),("00000000"+(s[0]>>>0).toString(16)).slice(-8)+("00000000"+(s[1]>>>0).toString(16)).slice(-8)+("00000000"+(o[0]>>>0).toString(16)).slice(-8)+("00000000"+(o[1]>>>0).toString(16)).slice(-8)}function C(e){return parseInt(e)}function S(e){return parseFloat(e)}function E(e,t){return"number"==typeof e&&isNaN(e)?t:e}function A(e){return e.reduce(function(e,t){return e+(t?1:0)},0)}function k(e,t){if(void 0===t&&(t=1),Math.abs(t)>=1)return Math.round(e/t)*t;var n=1/t;return Math.round(e*n)/n}function I(e){return e&&"object"==typeof e&&"message"in e?e:{message:e}}function T(e){return"function"!=typeof e}function O(e,t,n){var i=Object.keys(e).filter(function(e){return!function(e,t){for(var n=0,r=e.length;n<r;++n)if(e[n]===t)return!0;return!1}(n,e)}),s=f(i,function(n){return function(e,t){var n=new Promise(function(n){var r=Date.now();p(e.bind(null,t),function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var i=Date.now()-r;if(!e[0])return n(function(){return{error:I(e[1]),duration:i}});var s=e[1];if(T(s))return n(function(){return{value:s,duration:i}});n(function(){return new Promise(function(e){var t=Date.now();p(s,function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var s=i+Date.now()-t;if(!n[0])return e({error:I(n[1]),duration:s});e({value:n[1],duration:s})})})})})});return m(n),function(){return n.then(function(e){return e()})}}(e[n],t)});return m(s),function(){return Object(r.b)(this,void 0,void 0,function(){var e,t,n,o;return Object(r.d)(this,function(r){switch(r.label){case 0:return[4,s];case 1:return[4,f(r.sent(),function(e){var t=e();return m(t),t})];case 2:return e=r.sent(),[4,Promise.all(e)];case 3:for(t=r.sent(),n={},o=0;o<i.length;++o)n[i[o]]=t[o];return[2,n]}})})}}function D(){var e=window,t=navigator;return A(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in t,"msPointerEnabled"in t])>=4}function P(){var e=window,t=navigator;return A(["webkitPersistentStorage"in t,"webkitTemporaryStorage"in t,0===t.vendor.indexOf("Google"),"webkitResolveLocalFileSystemURL"in e,"BatteryManager"in e,"webkitMediaStream"in e,"webkitSpeechGrammar"in e])>=5}function M(){var e=window,t=navigator;return A(["ApplePayError"in e,"CSSPrimitiveValue"in e,"Counter"in e,0===t.vendor.indexOf("Apple"),"getStorageUpdates"in t,"WebKitMediaKeys"in e])>=4}function N(){var e=window;return A(["safari"in e,!("DeviceMotionEvent"in e),!("ongestureend"in e),!("standalone"in navigator)])>=3}function R(){var e=document;return(e.exitFullscreen||e.msExitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen).call(e)}function L(){var e=P(),t=function(){var e,t,n=window;return A(["buildID"in navigator,"MozAppearance"in(null!==(t=null===(e=document.documentElement)||void 0===e?void 0:e.style)&&void 0!==t?t:{}),"onmozfullscreenchange"in n,"mozInnerScreenX"in n,"CSSMozDocumentRule"in n,"CanvasCaptureMediaStream"in n])>=4}();if(!e&&!t)return!1;var n=window;return A(["onorientationchange"in n,"orientation"in n,e&&!("SharedWorker"in n),t&&/android/i.test(navigator.appVersion)])>=2}function j(e){var t=new Error(e);return t.name=e,t}function F(e,t,n){var i,s,o;
1return void 0===n&&(n=50),Object(r.b)(this,void 0,void 0,function(){var a,l;return Object(r.d)(this,function(r){switch(r.label){case 0:a=document,r.label=1;case 1:return a.body?[3,3]:[4,h(n)];case 2:return r.sent(),[3,1];case 3:l=a.createElement("iframe"),r.label=4;case 4:return r.trys.push([4,,10,11]),[4,new Promise(function(e,n){var r=!1,i=function(){r=!0,e()};l.onload=i,l.onerror=function(e){r=!0,n(e)};var s=l.style;s.setProperty("display","block","important"),s.position="absolute",s.top="0",s.left="0",s.visibility="hidden",t&&"srcdoc"in l?l.srcdoc=t:l.src="about:blank",a.body.appendChild(l);var o=function(){var e,t;r||("complete"===(null===(t=null===(e=l.contentWindow)||void 0===e?void 0:e.document)||void 0===t?void 0:t.readyState)?i():setTimeout(o,10))};o()})];case 5:r.sent(),r.label=6;case 6:return(null===(s=null===(i=l.contentWindow)||void 0===i?void 0:i.document)||void 0===s?void 0:s.body)?[3,8]:[4,h(n)];case 7:return r.sent(),[3,6];case 8:return[4,e(l,l.contentWindow)];case 9:return[2,r.sent()];case 10:return null===(o=l.parentNode)||void 0===o||o.removeChild(l),[7];case 11:return[2]}})})}function B(e){for(var t=function(e){for(var t,n,r="Unexpected syntax '".concat(e,"'"),i=/^\s*([a-z-]*)(.*)$/i.exec(e),s=i[1]||void 0,o={},a=/([.:#][\w-]+|\[.+?\])/gi,l=function(e,t){o[e]=o[e]||[],o[e].push(t)};;){var c=a.exec(i[2]);if(!c)break;var u=c[0];switch(u[0]){case".":l("class",u.slice(1));break;case"#":l("id",u.slice(1));break;case"[":var h=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(u);if(!h)throw new Error(r);l(h[1],null!==(n=null!==(t=h[4])&&void 0!==t?t:h[5])&&void 0!==n?n:"");break;default:throw new Error(r)}}return[s,o]}(e),n=t[0],r=t[1],i=document.createElement(null!=n?n:"div"),s=0,o=Object.keys(r);s<o.length;s++){var a=o[s],l=r[a].join(" ");"style"===a?$(i.style,l):i.setAttribute(a,l)}return i}function $(e,t){for(var n=0,r=t.split(";");n<r.length;n++){var i=r[n],s=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(i);if(s){var o=s[1],a=s[2],l=s[4];e.setProperty(o,a,l||"")}}}var V=["monospace","sans-serif","serif"],U=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"];function z(e){return e.toDataURL()}var H,q;function G(){var e=this;return function(){if(void 0===q){var e=function(){var t=W();Q(t)?q=setTimeout(e,2500):(H=t,q=void 0)};e()}}(),function(){return Object(r.b)(e,void 0,void 0,function(){var e;return Object(r.d)(this,function(t){switch(t.label){case 0:return Q(e=W())?H?[2,Object(r.e)([],H,!0)]:(n=document).fullscreenElement||n.msFullscreenElement||n.mozFullScreenElement||n.webkitFullscreenElement?[4,R()]:[3,2]:[3,2];case 1:t.sent(),e=W(),t.label=2;case 2:return Q(e)||(H=e),[2,e]}var n})})}}function W(){var e=screen;return[E(S(e.availTop),null),E(S(e.width)-S(e.availWidth)-E(S(e.availLeft),0),null),E(S(e.height)-S(e.availHeight)-E(S(e.availTop),0),null),E(S(e.availLeft),null)]}function Q(e){for(var t=0;t<4;++t)if(e[t])return!1;return!0}function K(e){var t;return Object(r.b)(this,void 0,void 0,function(){var n,i,s,o,a,l,c;return Object(r.d)(this,function(r){switch(r.label){case 0:for(n=document,i=n.createElement("div"),s=new Array(e.length),o={},X(i),c=0;c<e.length;++c)"DIALOG"===(a=B(e[c])).tagName&&a.show(),X(l=n.createElement("div")),l.appendChild(a),i.appendChild(l),s[c]=a;r.label=1;case 1:return n.body?[3,3]:[4,h(50)];case 2:return r.sent(),[3,1];case 3:n.body.appendChild(i);try{for(c=0;c<e.length;++c)s[c].offsetParent||(o[e[c]]=!0)}finally{null===(t=i.parentNode)||void 0===t||t.removeChild(i)}return[2,o]}})})}function X(e){e.style.setProperty("display","block","important")}function Y(e){return matchMedia("(inverted-colors: ".concat(e,")")).matches}function Z(e){return matchMedia("(forced-colors: ".concat(e,")")).matches}function J(e){return matchMedia("(prefers-contrast: ".concat(e,")")).matches}function ee(e){return matchMedia("(prefers-reduced-motion: ".concat(e,")")).matches}function te(e){return matchMedia("(dynamic-range: ".concat(e,")")).matches}var ne=Math,re=function(){return 0};var ie={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]};var se={fonts:function(){return F(function(e,t){var n=t.document,r=n.body;r.style.fontSize="48px";var i=n.createElement("div"),s={},o={},a=function(e){var t=n.createElement("span"),r=t.style;return r.position="absolute",r.top="0",r.left="0",r.fontFamily=e,t.textContent="mmMwWLliI0O&1",i.appendChild(t),t},l=V.map(a),c=function(){for(var e={},t=function(t){e[t]=V.map(function(e){return function(e,t){return a("'".concat(e,"',").concat(t))}(t,e)})},n=0,r=U;n<r.length;n++){t(r[n])}return e}();r.appendChild(i);for(var u=0;u<V.length;u++)s[V[u]]=l[u].offsetWidth,o[V[u]]=l[u].offsetHeight;return U.filter(function(e){return t=c[e],V.some(function(e,n){return t[n].offsetWidth!==s[e]||t[n].offsetHeight!==o[e]});var t})})},domBlockers:function(e){var t=(void 0===e?{}:e).debug;return Object(r.b)(this,void 0,void 0,function(){var e,n,i,s,o;return Object(r.d)(this,function(r){switch(r.label){case 0:return M()||L()?(a=atob,e={abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",'[title="ALIENBOLA" i]',a("I0JveC1CYW5uZXItYWRz")],abpvn:[".quangcao","#mobileCatfish",a("LmNsb3NlLWFkcw=="),'[id^="bn_bottom_fixed_"]',"#pmadv"],adBlockFinland:[".mainostila",a("LnNwb25zb3JpdA=="),".ylamainos",a("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),a("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZH
1BlYWsuY29tL2FkcyJd")],adBlockPersian:["#navbar_notice_50",".kadr",'TABLE[width="140px"]',"#divAgahi",a("YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd")],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect",a("LmhlYWRlci1ibG9ja2VkLWFk"),a("I2FkX2Jsb2NrZXI=")],adGuardAnnoyances:[".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil",'[data-cypress="soft-push-notification-modal"]'],adGuardBase:[".BetterJsPopOverlay",a("I2FkXzMwMFgyNTA="),a("I2Jhbm5lcmZsb2F0MjI="),a("I2NhbXBhaWduLWJhbm5lcg=="),a("I0FkLUNvbnRlbnQ=")],adGuardChinese:[a("LlppX2FkX2FfSA=="),a("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),"#widget-quan",a("YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd"),a("YVtocmVmKj0iLjE5NTZobC5jb20vIl0=")],adGuardFrench:["#pavePub",a("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),".mobile_adhesion",".widgetadv",a("LmFkc19iYW4=")],adGuardGerman:['aside[data-portal-id="leaderboard"]'],adGuardJapanese:["#kauli_yad_1",a("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),a("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),a("LmFkZ29vZ2xl"),a("Ll9faXNib29zdFJldHVybkFk")],adGuardMobile:[a("YW1wLWF1dG8tYWRz"),a("LmFtcF9hZA=="),'amp-embed[type="24smi"]',"#mgid_iframe1",a("I2FkX2ludmlld19hcmVh")],adGuardRussian:[a("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),a("LnJlY2xhbWE="),'div[id^="smi2adblock"]',a("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),"#psyduckpockeball"],adGuardSocial:[a("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),a("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",".cnt-publi"],adGuardTrackingProtection:["#qoo-counter",a("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="),a("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="),a("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="),"#top100counter"],adGuardTurkish:["#backkapat",a("I3Jla2xhbWk="),a("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0="),a("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"),a("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==")],bulgarian:[a("dGQjZnJlZW5ldF90YWJsZV9hZHM="),"#ea_intext_div",".lapni-pop-over","#xenium_hot_offers"],easyList:[".yb-floorad",a("LndpZGdldF9wb19hZHNfd2lkZ2V0"),a("LnRyYWZmaWNqdW5reS1hZA=="),".textad_headline",a("LnNwb25zb3JlZC10ZXh0LWxpbmtz")],easyListChina:[a("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),a("LmZyb250cGFnZUFkdk0="),"#taotaole","#aafoot.top_box",".cfa_popup"],easyListCookie:[".ezmob-footer",".cc-CookieWarning","[data-cookie-number]",a("LmF3LWNvb2tpZS1iYW5uZXI="),".sygnal24-gdpr-modal-wrap"],easyListCzechSlovak:["#onlajny-stickers",a("I3Jla2xhbW5pLWJveA=="),a("LnJla2xhbWEtbWVnYWJvYXJk"),".sklik",a("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")],easyListDutch:[a("I2FkdmVydGVudGll"),a("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),".adstekst",a("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:["#SSpotIMPopSlider",a("LnNwb25zb3JsaW5rZ3J1ZW4="),a("I3dlcmJ1bmdza3k="),a("I3Jla2xhbWUtcmVjaHRzLW1pdHRl"),a("YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0=")],easyListItaly:[a("LmJveF9hZHZfYW5udW5jaQ=="),".sb-box-pubbliredazionale",a("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"),a("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd"),a("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")],easyListLithuania:[a("LnJla2xhbW9zX3RhcnBhcw=="),a("LnJla2xhbW9zX251b3JvZG9z"),a("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"),a("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),a("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd")],estonian:[a("QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==")],fanboyAnnoyances:["#ac-lre-player",".navigate-to-top","#subscribe_popup",".newsletter_holder","#back-top"],fanboyAntiFacebook:[".util-bar-module-firefly-visible"],fanboyEnhancedTrackers:[".open.pushModal","#issuem-leaky-paywall-articles-zero-remaining-nag","#sovrn_container",'div[class$="-hide"][zoompage-fontsize][style="display: block;"]',".BlockNag__Card"],fanboySocial:["#FollowUs","#meteored_share","#social_follow",".article-sharer",".community__social-desc"],frellwitSwedish:[a("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),a("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiX
1Q=="),"article.category-samarbete",a("ZGl2LmhvbGlkQWRz"),"ul.adsmodern"],greekAdBlock:[a("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"),a("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="),a("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"),"DIV.agores300","TABLE.advright"],hungarian:["#cemp_doboz",".optimonk-iframe-container",a("LmFkX19tYWlu"),a("W2NsYXNzKj0iR29vZ2xlQWRzIl0="),"#hirdetesek_box"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container","#cookies-policy-sticky","#stickyCookieBar"],icelandicAbp:[a("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==")],latvian:[a("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="),a("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==")],listKr:[a("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="),a("I2xpdmVyZUFkV3JhcHBlcg=="),a("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="),a("aW5zLmZhc3R2aWV3LWFk"),".revenue_unit_item.dable"],listeAr:[a("LmdlbWluaUxCMUFk"),".right-and-left-sponsers",a("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="),a("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),a("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd")],listeFr:[a("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),a("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="),a("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="),".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",a("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"),a("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="),a("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiX
1Q=="),a("ZGl2I3NrYXBpZWNfYWQ=")],ro:[a("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"),a("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),a("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),a("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd"),'a[href^="/url/"]'],ruAd:[a("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"),a("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="),a("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="),"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]",a("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="),a("LmFkczMwMHM="),".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",a("LmN0cGwtZnVsbGJhbm5lcg=="),".zergnet-recommend",".yt.btn-link.btn-md.btn"]},n=Object.keys(e),[4,K((o=[]).concat.apply(o,n.map(function(t){return e[t]})))]):[2,void 0];case 1:return i=r.sent(),t&&function(e,t){for(var n="DOM blockers debug:\n```",r=0,i=Object.keys(e);r<i.length;r++){var s=i[r];n+="\n".concat(s,":");for(var o=0,a=e[s];o<a.length;o++){var l=a[o];n+="\n  ".concat(t[l]?"\ud83d\udeab":"\u27a1\ufe0f"," ").concat(l)}}console.log("".concat(n,"\n```"))}(e,i),(s=n.filter(function(t){var n=e[t];return A(n.map(function(e){return i[e]}))>.6*n.length})).sort(),[2,s]}var a})})},fontPreferences:function(){return function(e,t){void 0===t&&(t=4e3);return F(function(n,i){var s=i.document,o=s.body,a=o.style;a.width="".concat(t,"px"),a.webkitTextSizeAdjust=a.textSizeAdjust="none",P()?o.style.zoom="".concat(1/i.devicePixelRatio):M()&&(o.style.zoom="reset");var l=s.createElement("div");return l.textContent=Object(r.e)([],Array(t/20<<0),!0).map(function(){return"word"}).join(" "),o.appendChild(l),e(s,o)},'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">')}(function(e,t){for(var n={},r={},i=0,s=Object.keys(ie);i<s.length;i++){var o=s[i],a=ie[o],l=a[0],c=void 0===l?{}:l,u=a[1],h=void 0===u?"mmMwWLliI0fiflO&1":u,d=e.createElement("span");d.textContent=h,d.style.whiteSpace="nowrap";for(var p=0,f=Object.keys(c);p<f.length;p++){var m=f[p],g=c[m];void 0!==g&&(d.style[m]=g)}n[o]=d,t.appendChild(e.createElement("br")),t.appendChild(d)}for(var v=0,y=Object.keys(ie);v<y.length;v++){r[o=y[v]]=n[o].getBoundingClientRect().width}return r})},audio:function(){var e=window,t=e.OfflineAudioContext||e.webkitOfflineAudioContext;if(!t)return-2;if(M()&&!N()&&!function(){var e=window;return A(["DOMRectList"in e,"RTCPeerConnectionIceEvent"in e,"SVGGeometryElement"in e,"ontransitioncancel"in e])>=3}())return-1;var n=new t(1,5e3,44100),r=n.createOscillator();r.type="triangle",r.frequency.value=1e4;var i=n.createDynamicsCompressor();i.threshold.value=-50,i.knee.value=40,i.ratio.value=12,i.attack.value=0,i.release.value=.25,r.connect(i),i.connect(n.destination),r.start(0);var s=function(e){var t=3,n=500,r=500,i=5e3,s=function(){};return[new Promise(function(o,a){var l=!1,c=0,u=0;e.oncomplete=function(e){return o(e.renderedBuffer)};var h=function(){setTimeout(function(){return a(j("timeout"))},Math.min(r,u+i-Date.now()))},p=function(){try{var r=e.startRendering();switch(d(r)&&m(r),e.state){case"running":u=Date.now(),l&&h();break;case"suspended":document.hidden||c++,l&&c>=t?a(j("suspended")):setTimeout(p,n)}}catch(i){a(i)}};p(),s=function(){l||(l=!0,u>0&&h())}}),s]}(n),o=s[0],a=s[1],l=o.then(function(e){return function(e){for(var t=0,n=0;n<e.length;++n)t+=Math.abs(e[n]);return t}(e.getChannelData(0).subarray(4500))},function(e){if("timeout"===e.name||"suspended"===e.name)return-3;throw e});return m(l),function(){return a(),l}},screenFrame:function(){var e=this,t=G();return function(){return Object(r.b)(e,void 0,void 0,function(){var e,n;return Object(r.d)(this,function(r){switch(r.label){case 0:return[4,t()];case 1:return e=r.sent(),[2,[(n=function(e){return null===e?null:k(e,10)})(e[0]),n(e[1]),n(e[2]),n(e[3])]]}})})}},osCpu:function(){return navigator.oscpu},languages:function(){var e,t=navigator,n=[],r=t.language||t.userLanguage||t.browserLanguage||t.systemLanguage;if(void 0!==r&&n.push([r]),Array.isArray(t.languages))P()&&A([!("MediaSettingsRange"in(e=window)),"RTCEncodedAudioFrame"in e,""+e.Intl=="[object Intl]",""+e.Reflect=="[object Reflect]"])>=3||n.push(t.languages);else if("string"==typeof t.languages){var i=t.languages;i&&n.push(i.split(","))}return n},colorDepth:function(){return window.screen.colorDepth},deviceMemory:function(){return E(S(navigator.deviceMemory),void 0)},screenResolution:function(){var e=screen,t=function(e){return E(C(e),null)},n=[t(e.width),t(e.height)];return n.sort().reverse(),n},hardwareConcurrency:function(){return E(C(navigator.hardwareConcurrency),void 0)},timezone:function(){var e,t=null===(e=window.Intl)||void 0===e?void 0:e.DateTimeFormat;if(t){var n=(new t).resolvedOptions().timeZone;if(n)return n}var r,i=(r=(new Date).getFullYear(),-Math.max(S(new Date(r,0,1).getTimezoneOffset()),S(new Date(r,6,1).getTimezoneOffset())));return"UTC".concat(i>=0?"+":"").concat(Math.abs(i))},sessionStorage:function(){try{return!!window.sessionStorage}catch(e){return!0}},localStorage:function(){try{return!!window.localStorage}catch(e){return!0}},indexedDB:function(){var e,t;if(!(D()||(e=window,t=navigator,A(["msWriteProfilerMark"in e,"MSStream"in e,"msLaunchUri"in t,"msSaveBlob"in t])>=3&&!D())))try{return!!window.indexedDB}catch(n){return!0}}
1,openDatabase:function(){return!!window.openDatabase},cpuClass:function(){return navigator.cpuClass},platform:function(){var e=navigator.platform;return"MacIntel"===e&&M()&&!N()?function(){if("iPad"===navigator.platform)return!0;var e=screen,t=e.width/e.height;return A(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,t>.65&&t<1.53])>=2}()?"iPad":"iPhone":e},plugins:function(){var e=navigator.plugins;if(e){for(var t=[],n=0;n<e.length;++n){var r=e[n];if(r){for(var i=[],s=0;s<r.length;++s){var o=r[s];i.push({type:o.type,suffixes:o.suffixes})}t.push({name:r.name,description:r.description,mimeTypes:i})}}return t}},canvas:function(){var e,t,n=!1,r=function(){var e=document.createElement("canvas");return e.width=1,e.height=1,[e,e.getContext("2d")]}(),i=r[0],s=r[1];if(function(e,t){return!(!t||!e.toDataURL)}(i,s)){n=function(e){return e.rect(0,0,10,10),e.rect(2,2,6,6),!e.isPointInPath(5,5,"evenodd")}(s),function(e,t){e.width=240,e.height=60,t.textBaseline="alphabetic",t.fillStyle="#f60",t.fillRect(100,1,62,20),t.fillStyle="#069",t.font='11pt "Times New Roman"';var n="Cwm fjordbank gly ".concat(String.fromCharCode(55357,56835));t.fillText(n,2,15),t.fillStyle="rgba(102, 204, 0, 0.2)",t.font="18pt Arial",t.fillText(n,4,45)}(i,s);var o=z(i);o!==z(i)?e=t="unstable":(t=o,function(e,t){e.width=122,e.height=110,t.globalCompositeOperation="multiply";for(var n=0,r=[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]];n<r.length;n++){var i=r[n],s=i[0],o=i[1],a=i[2];t.fillStyle=s,t.beginPath(),t.arc(o,a,40,0,2*Math.PI,!0),t.closePath(),t.fill()}t.fillStyle="#f9c",t.arc(60,60,60,0,2*Math.PI,!0),t.arc(60,60,20,0,2*Math.PI,!0),t.fill("evenodd")}(i,s),e=z(i))}else e=t="";return{winding:n,geometry:e,text:t}},touchSupport:function(){var e,t=navigator,n=0;void 0!==t.maxTouchPoints?n=C(t.maxTouchPoints):void 0!==t.msMaxTouchPoints&&(n=t.msMaxTouchPoints);try{document.createEvent("TouchEvent"),e=!0}catch(r){e=!1}return{maxTouchPoints:n,touchEvent:e,touchStart:"ontouchstart"in window}},vendor:function(){return navigator.vendor||""},vendorFlavors:function(){for(var e=[],t=0,n=["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"];t<n.length;t++){var r=n[t],i=window[r];i&&"object"==typeof i&&e.push(r)}return e.sort()},cookiesEnabled:function(){var e=document;try{e.cookie="cookietest=1; SameSite=Strict;";var t=-1!==e.cookie.indexOf("cookietest=");return e.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",t}catch(n){return!1}},colorGamut:function(){for(var e=0,t=["rec2020","p3","srgb"];e<t.length;e++){var n=t[e];if(matchMedia("(color-gamut: ".concat(n,")")).matches)return n}},invertedColors:function(){return!!Y("inverted")||!Y("none")&&void 0},forcedColors:function(){return!!Z("active")||!Z("none")&&void 0},monochrome:function(){if(matchMedia("(min-monochrome: 0)").matches){for(var e=0;e<=100;++e)if(matchMedia("(max-monochrome: ".concat(e,")")).matches)return e;throw new Error("Too high value")}},contrast:function(){return J("no-preference")?0:J("high")||J("more")?1:J("low")||J("less")?-1:J("forced")?10:void 0},reducedMotion:function(){return!!ee("reduce")||!ee("no-preference")&&void 0},hdr:function(){return!!te("high")||!te("standard")&&void 0},math:function(){var e,t=ne.acos||re,n=ne.acosh||re,r=ne.asin||re,i=ne.asinh||re,s=ne.atanh||re,o=ne.atan||re,a=ne.sin||re,l=ne.sinh||re,c=ne.cos||re,u=ne.cosh||re,h=ne.tan||re,d=ne.tanh||re,p=ne.exp||re,f=ne.expm1||re,m=ne.log1p||re;return{acos:t(.12312423423423424),acosh:n(1e308),acoshPf:(e=1e154,ne.log(e+ne.sqrt(e*e-1))),asin:r(.12312423423423424),asinh:i(1),asinhPf:function(e){return ne.log(e+ne.sqrt(e*e+1))}(1),atanh:s(.5),atanhPf:function(e){return ne.log((1+e)/(1-e))/2}(.5),atan:o(.5),sin:a(-1e300),sinh:l(1),sinhPf:function(e){return ne.exp(e)-1/ne.exp(e)/2}(1),cos:c(10.000000000123),cosh:u(1),coshPf:function(e){return(ne.exp(e)+1/ne.exp(e))/2}(1),tan:h(-1e300),tanh:d(1),tanhPf:function(e){return(ne.exp(2*e)-1)/(ne.exp(2*e)+1)}(1),exp:p(1),expm1:f(1),expm1Pf:function(e){return ne.exp(e)-1}(1),log1p:m(10),log1pPf:function(e){return ne.log(1+e)}(10),powPI:function(e){return ne.pow(ne.PI,e)}(-100)}},videoCard:function(){var e,t=document.createElement("canvas"),n=null!==(e=t.getContext("webgl"))&&void 0!==e?e:t.getContext("experimental-webgl");
1if(n&&"getExtension"in n){var r=n.getExtension("WEBGL_debug_renderer_info");if(r)return{vendor:(n.getParameter(r.UNMASKED_VENDOR_WEBGL)||"").toString(),renderer:(n.getParameter(r.UNMASKED_RENDERER_WEBGL)||"").toString()}}},pdfViewerEnabled:function(){return navigator.pdfViewerEnabled},architecture:function(){var e=new Float32Array(1),t=new Uint8Array(e.buffer);return e[0]=1/0,e[0]=e[0]-e[0],t[3]}};function oe(e){var t=function(e){if(L())return.4;if(M())return N()?.5:.3;var t=e.platform.value||"";if(/^Win/.test(t))return.6;if(/^Mac/.test(t))return.5;return.7}(e),n=function(e){return k(.99+.01*e,1e-4)}(t);return{score:t,comment:"$ if upgrade to Pro: https://fpjs.dev/pro".replace(/\$/g,"".concat(n))}}function ae(e){return JSON.stringify(e,function(e,t){return t instanceof Error?(n=t,Object(r.a)({name:n.name,message:n.message,stack:null===(i=n.stack)||void 0===i?void 0:i.split("\n")},n)):t;var n,i},2)}function le(e){return x(function(e){for(var t="",n=0,r=Object.keys(e).sort();n<r.length;n++){var i=r[n],s=e[i],o=s.error?"error":JSON.stringify(s.value);t+="".concat(t?"|":"").concat(i.replace(/([:|\\])/g,"\\$1"),":").concat(o)}return t}(e))}function ce(e){return void 0===e&&(e=50),function(e,t){void 0===t&&(t=1/0);var n=window.requestIdleCallback;return n?new Promise(function(e){return n.call(window,function(){return e()},{timeout:t})}):h(Math.min(e,t))}(e,2*e)}function ue(e,t){var n=Date.now();return{get:function(i){return Object(r.b)(this,void 0,void 0,function(){var s,o,a;return Object(r.d)(this,function(r){switch(r.label){case 0:return s=Date.now(),[4,e()];case 1:return o=r.sent(),a=function(e){var t;return{get visitorId(){return void 0===t&&(t=le(this.components)),t},set visitorId(e){t=e},confidence:oe(e),components:e,version:u}}(o),(t||(null==i?void 0:i.debug))&&console.log("Copy the text below to get the debug data:\n\n```\nversion: ".concat(a.version,"\nuserAgent: ").concat(navigator.userAgent,"\ntimeBetweenLoadAndGet: ").concat(s-n,"\nvisitorId: ").concat(a.visitorId,"\ncomponents: ").concat(ae(o),"\n```")),[2,a]}})})}}}var he={load:function(e){var t=void 0===e?{}:e,n=t.delayFallback,i=t.debug,s=t.monitoring,o=void 0===s||s;return Object(r.b)(this,void 0,void 0,function(){return Object(r.d)(this,function(e){switch(e.label){case 0:return o&&function(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{var e=new XMLHttpRequest;e.open("get","https://m1.openfpcdn.io/fingerprintjs/v".concat(u,"/npm-monitoring"),!0),e.send()}catch(t){console.error(t)}}(),[4,ce(n)];case 1:return e.sent(),[2,ue(O(se,{debug:i},[]),i)]}})})},hashComponents:le,componentsToDebugString:ae},de=n("NFKh"),pe=n("VBEu");let fe=class{constructor(e,t,n,r,i,s){this.ajax=e,this.router=t,this.loadingController=n,this.cookieService=r,this.cookieProvider=i,this.encrypt=s,this.fpPromise=he.load()}login(e){return Object(r.b)(this,void 0,void 0,function*(){let t={"content-type":"application/x-www-form-urlencoded",Authorization:"Basic "+btoa(e.usr+":"+e.pw)};this.showLoader(),yield this.ajax.postMethod(l.a.jwt_login,"",t).subscribe(e=>{if(this.hideLoader(),e.status){let t=e.token;this.checkAuth(t)}else this.router.navigateByUrl("")})})}checkAuth(e,t="web/home"){return Object(r.b)(this,void 0,void 0,function*(){this.isLogin()||(yield this.cookieSet(l.a.TOKEN,e)),yield this.setProfile(t)})}cookieSet(e,t){return Object(r.b)(this,void 0,void 0,function*(){let n=this.cookieProvider.options;n.httpOnly=!1,n.secure=l.a.production,n.path="/",n.sameSite="strict",this.isHostUnderAllowedDomain()?n.domain=l.a.allowedDomain:delete n.domain,this.cookieService.putObject(e,t,n)})}isHostUnderAllowedDomain(){const e=(l.a.allowedDomain||"").replace(/^\./,"");if(!e)return!1;const t=window.location.hostname;return t===e||t.endsWith("."+e)}setCookieWithExpiry(e,t,n){let r=this.cookieProvider.options;r.httpOnly=!1,r.secure=l.a.production,r.path="/",r.sameSite="strict",r.expires=new Date(Date.now()+60*n*1e3),this.isHostUnderAllowedDomain()?r.domain=l.a.allowedDomain:delete r.domain,this.cookieService.putObject(e,t,r)}setProfile(e){return Object(r.b)(this,void 0,void 0,function*(){let t={"device-security-id":this.getDeviceId()};yield this.ajax.postMethod(l.a.urls.account.profile,"",t).subscribe(t=>Object(r.b)(this,void 0,void 0,function*(){let n=t;if(t&&t.data){const e=yield this.encrypt.decryptionAESGCM(t.data,null);n=e?JSON.parse(e):t}if(n.full_name){let t=JSON.parse(sessionStorage.getItem("fetchDoc")),r=sessionStorage.getItem("url");
1if(localStorage.clear(),void 0===t&&void 0===r&&sessionStorage.clear(),"Y"==n.year_only){let e=n.date_of_birth?n.date_of_birth.slice(0,4):null;n.customDob=e}else n.customDob=n.date_of_birth?n.date_of_birth.slice(0,10):null;if(n.lbsnaa=null!=n.lbsnaa?n.lbsnaa:null,n.resident_photo&&localStorage.setItem("avatar",n.resident_photo),delete n.resident_photo,this.setLocal(n),this.setProfileCooki(n),this.isProfilePhoto(),this.notifyLoginForChatbot(),"aadhaar"!==n.user_type||n.UID_Token)if(null!=r){let e=JSON.parse(r);this.router.navigate(["web","dashboard","issuers",e.value1,e.value2])}else null==t?"mobile_update"==e?this.router.navigateByUrl("/web/home",{state:{pageOpen:e,profile:n}}):null==e?this.router.navigateByUrl("/web/home"):this.router.navigateByUrl(e):l.a.goToCS.includes(t)?"uhid"==t&&(l.a.verified_user_type.includes(n.user_type)?this.router.navigateByUrl(t):this.router.navigateByUrl("web/aadhaar")):l.a.verified_user_type.includes(n.user_type)?this.router.navigateByUrl(t):this.router.navigateByUrl("web/aadhaar");else this.router.navigateByUrl("web/aadhaar")}else this.router.navigateByUrl("web/dashboard")}))})}setLocal(e){return Object(r.b)(this,void 0,void 0,function*(){""!=e.mobile&&null!=e.mobile||this.cookieSet("user_mob",!1),null==e.xml_modified_on&&localStorage.setItem("kyc","true"),null!==e.user_alias&&""!==e.user_alias||localStorage.setItem("userName","false"),localStorage.getItem("aadhaarUpdated")&&(localStorage.removeItem("aadhaarUpdated"),localStorage.removeItem("userName"),localStorage.removeItem("kyc"))})}setProfileCooki(e){return Object(r.b)(this,void 0,void 0,function*(){let t={profile:this.getEncryptedValue(e)};this.cookieSet(l.a.TOKEN_KEY,t)})}getEncryptedValue(e){let t=this.getToken(),n=JSON.stringify(e),r=t.slice(0,16),i=Object(de.MD5)(r).toString(),s=de.enc.Utf8.parse(r),o=de.enc.Utf8.parse(i),a=de.AES.encrypt(n,o,{iv:s}).toString();return encodeURI(a.replace(/\+/g,"---"))}isProfilePhoto(){return Object(r.b)(this,void 0,void 0,function*(){if(null==localStorage.getItem("avatar")){let e,t=this.userProfile(),n={"device-security-id":this.getDeviceId()};const i=l.a.verified_user_type.includes(t.user_type);let s=i?l.a.urls.account.profile:l.a.urls.drive.get_image;this.ajax.postMethod(s,"",n).subscribe(t=>Object(r.b)(this,void 0,void 0,function*(){if(i){const t=localStorage.getItem("avatar");e=t||"missing"}else e="success"==t.status?t.Body:"missing";localStorage.setItem("avatar",e)}))}})}showLoader(){return Object(r.b)(this,void 0,void 0,function*(){const e=yield this.loadingController.create({});yield e.present()})}hideLoader(){this.loadingController.dismiss()}isLogin(){return!!this.getToken()}page(){return"dashboard"==this.router.url.split("/")[1]||"/"==this.router.url}isPartner(){return!!("partners"==window.location.href.split("/")[4])}getToken(){try{const e=this.cookieService.getObject(l.a.TOKEN);if("string"==typeof e&&e.length>0)return e.trim()}catch(e){}return(this.cookieService.get(l.a.TOKEN)||"").replace(/"/g,"").trim()}logOut(){this.showLoader(),this.clearSalesforceSessionBeforeLogout(),this.ajax.postMethod(l.a.urls.auth.logout,"",{}).subscribe(e=>{if(this.hideLoader(),e.status="success"){const e=this.getLanguage(),t=this.getCookieThemeModeValue("themeMode");sessionStorage.clear(),localStorage.removeItem("avatar"),localStorage.clear(),this.cookieService.removeAll({domain:l.a.allowedDomain}),this.cookieSet("language",e),this.cookieSet("themeMode",t),this.redirectToHome()}else this.ajax.showToast("Please try again to logout",3e3,"warning")})}redirectToHome(){window.location.replace("")}clearSalesforceSessionBeforeLogout(){window.dispatchEvent(new CustomEvent("digilocker:local-logout"))}notifyLoginForChatbot(){console.log("[AuthService] Dispatching digilocker:local-login for chatbot"),window.dispatchEvent(new CustomEvent("digilocker:local-login"))}createDid(){return Object(r.b)(this,void 0,void 0,function*(){window.location.hostname.split(".");let e=(new Date).getTime().toString(),t="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){const n=new Uint8Array(1);window.crypto.getRandomValues(n);const r=n[0]%16;return("x"===t?r:(3&r|8)+e).toString(16)})+e;this.setDeviceId(t)})}detectBrowser(){return-1!=(navigator.userAgent.indexOf("Opera")||navigator.userAgent.indexOf("OPR"))?"Opera":-1!=navigator.userAgent.indexOf("Chrome")?"Chrome":-1!=navigator.userAgent.indexOf("Safari")?"Safari":-1!=navigator.userAgent.indexOf("Firefox")?"Firefox":-1!=navigator.userAgent.indexOf("MSIE")||-1!=navigator.userAgent.indexOf("Edg")?"IE":"Unknown"}isVerified(){let e=!1;return l.a.verified_user_type.includes(this.userProfile().user_t
1ype)&&this.userProfile().UID_Token&&(e=!0),e}userProfile(){var e;let t=null!==(e=this.cookieService.get(l.a.TOKEN_KEY))&&void 0!==e&&e,n=!1;return t&&(n=JSON.parse(t).profile,n=null!=n&&this.getDecryptedValue(n)),n}getDecryptedValue(e){let t=this.getToken(),n=e.replaceAll("---","+"),r=t.slice(0,16),i=Object(de.MD5)(r).toString();var s=de.enc.Utf8.parse(i),o=de.enc.Utf8.parse(r),a=de.AES.decrypt(n,s,{iv:o}).toString(de.enc.Utf8);return JSON.parse(a)}getLanguage(){var e;return(null===(e=this.cookieService.get("language"))||void 0===e?void 0:e.replace(/"/g,""))||"en"}getCookieThemeModeValue(e){var t;return null===(t=this.cookieService.get(e))||void 0===t?void 0:t.replace(/"/g,"")}getDeviceId(){null==this.cookieService.get("d")&&this.createDid();try{const e=this.cookieService.getObject("d");if("string"==typeof e&&e.length>0)return e.trim()}catch(e){}return(this.cookieService.get("d")||"").replace(/"/g,"").trim()}setDeviceId(e){return this.cookieSet("d",e)}getVisitorsId(){return Object(r.b)(this,void 0,void 0,function*(){const e=yield this.fpPromise;return(yield e.get()).visitorId})}switchUser(){return Object(r.b)(this,void 0,void 0,function*(){const e=this.getDeviceId(),t=this.getToken();if(e&&t){const n=`${l.a.urls.auth.switchUserUrl}token?token=${t}&did=${e}`;window.location.href=n}else console.error("Device ID or Token is missing. Cannot switch user.")})}};fe.ctorParameters=()=>[{type:o.a},{type:a.h},{type:i.f},{type:c.c},{type:c.b},{type:pe.a}],fe=Object(r.c)([Object(s.E)({providedIn:"root"})],fe)},"9ppp":function(e,t,n){"use strict";n.d(t,"a",function(){return r});const r=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})()},ALsQ:function(e,t,n){var r;e.exports=(r=n("Ib8C"),n("OLod"),r.mode.CFB=function(){var e=r.lib.BlockCipherMode.extend();function t(e,t,n,r){var i,s=this._iv;s?(i=s.slice(0),this._iv=void 0):i=this._prevBlock,r.encryptBlock(i,0);for(var o=0;o<n;o++)e[t+o]^=i[o]}return e.Encryptor=e.extend({processBlock:function(e,n){var r=this._cipher,i=r.blockSize;t.call(this,e,n,i,r),this._prevBlock=e.slice(n,n+i)}}),e.Decryptor=e.extend({processBlock:function(e,n){var r=this._cipher,i=r.blockSize,s=e.slice(n,n+i);t.call(this,e,n,i,r),this._prevBlock=s}}),e}(),r.mode.CFB)},AytR:function(e,t,n){"use strict";n.d(t,"a",function(){return v});const r="https://ids.digilocker.gov.in",i="https://cf-media.api-setu.in",s="https://api-delhi-accounts-10001.digitallocker.gov.in",o="https://cdn.digilocker.gov.in",a="https://drive-api.digilocker.gov.in",l="https://accounts.digilocker.gov.in",c="https://api.apisetu.gov.in",u="https://dl-abha-api.digilocker.gov.in",h="https://api.digitallocker.gov.in",d="https://acsapi.digilocker.gov.in",p="https://cdn.apisetu.gov.in",f="https://dashboard.digitallocker.gov.in",m="https://doc-services.dl6.in",g="https://api.apisetu.gov.in",v={production:!0,TOKEN_KEY:"globals",TOKEN:"jtoken",msplr:"msplr",defaultLanguage:"en",updateDate:"Sept 28, 2026",supportedLanguagesId:["en","hi","as","bn","gu","ml","mr","or","pa","ta","te","kn"],supportedLanguages:[{id:"en",name:"English",regional:"English"},{id:"hi",name:"Hindi",regional:"\u0939\u093f\u0902\u0926\u0940 (Hindi)"},{id:"as",name:"Assamese",regional:"\u0985\u09b8\u09ae\u09c0\u09af\u09bc\u09be (Assamese)"},{id:"bn",name:"Bangla",regional:"\u09ac\u09be\u0999\u09cd\u0997\u09be\u09b2\u09c0 (Bengali)"},{id:"gu",name:"Gujarati",regional:"\u0a97\u0ac1\u0a9c\u0ab0\u0abe\u0aa4\u0ac0 (Gujarati)"},{id:"kn",name:"Kannada",regional:"\u0c95\u0ca8\u0ccd\u0ca8\u0ca1 (Kannada)"},{id:"ml",name:"Malayalam",regional:"\u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02 (Malayalam)"},{id:"mr",name:"Marathi",regional:"\u092e\u0930\u093e\u0920\u0940 (Marathi)"},{id:"or",name:"Odia",regional:"\u0b13\u0b21\u0b3c\u0b3f\u0b06 (Odia)"},{id:"pa",name:"Punjabi",regional:"\u0a2a\u0a70\u0a1c\u0a3e\u0a2c\u0a40 (Punjabi)"},{id:"ta",name:"Tamil",regional:"\u0ba4\u0bae\u0bbf\u0bb4\u0bcd (Tamil)"},{id:"te",name:"Telugu",regional:"\u0c24\u0c46\u0c32\u0c41\u0c17\u0c41 (Telugu)"}],exitedFolder:["Health","Education","Documents","LBSNAA","eSigned Docs"],jwt_login:"",verified_user_type:["aadhaar"],verified_by:["DL","PAN","aadhaar"],url_type:["ashish"],allowedDomain:".digilocker.gov.in",goToCS:["services/abha","dashboard","uhid"],md:["wb"],urls:{auth:{loginUrl:l+"/v3/",
1signUpUrl:l+"/v3/",logout:s+"/users/logout",switchUserUrl:l+"/v3/switch_account/"},ids:{fetchDocRequest:r+"/api/4/pull-uri-requests/",issued_documents:"https://ids.digilocker.gov.in/fast"+"/api/1.0/issueddocs",metadata:r+"/api/2.0/metadata",refreshIssuedDoc:r+"/api/2.0/refresh",refreshIssuedDocList:r+"/api/2.0/refreshlist",deleteIssuedDoc:r+"/api/4.0/delete",pdfdata:r+"/api/2.0/showfile",jsondata:r+"/api/2.0/datatype/json",xmldata:r+"/api/2.0/datatype/xml",getDVClist:r+"/api/1.0/get-dvc-list",getDVCdocument:r+"/api/1.0/get-dvc-document",janAadharSendOTP:r+"/api/1.0/send_otp"},drive:{list_files:a+"/list",drive_file_download:a+"/read",drive_rename:a+"/rename",drive_delete:a+"/delete",drive_upload:a+"/upload",create_folder:a+"/create_folder",delete_folder:a+"/delete_folder",rename_folder:a+"/rename_folder",file_move:a+"/move_file",folder_move:a+"/move_folder",get_image:a+"/get_image",upload_image:a+"/upload_image",lbsnaa_list:a+"/lbsnaa/list",lbsnaa_read:a+"/lbsnaa/read",lbsnaa_upload:a+"/lbsnaa/upload"},account:{profile:d+"/profile/1.3",reset_pin:s+"/profile/reset_pin",nominee:{get_nominee:s+"/Nominee/get_v2",add_nominee:s+"/Nominee/add",delete_nominee:s+"/Nominee/delete",add_nominee_send_otp:s+"/profile/send_otp",add_nominee_verify_otp:s+"/profile/verify_otp",nomineeIssued:r+"/api/2.0/issueddocs/nominee",nomineeShowfile:r+"/api/2.0/showfile/nominee",nomineeDrive:a+"/list/2.0/nominee",nomineeDriveRead:a+"/read/2.0/nominee",nominator:"https://dl-nominee-api.dl6.in"+"/nominator/2.0"},aadhaar:{aadharProfileOtp:s+"/linkaadhaar/send_otp",aadharProfileVerifyOtp:s+"/linkaadhaar/verify_otp"},mobileUpdate:{mobileupdate_send_otp:s+"/profile/mobileupdate_send_otp",mobileupdate_verify_otp:s+"/profile/mobileupdate_verify_otp"},emailUpdate:{emailupdate_send_otp:d+"/email_update/send_otp/1.0",emailupdate_verify_otp:d+"/email_update/verify_otp/1.0"},nonAadharUpdateProfile:s+"/users/updateProfile",aadhaar_profile_pic:s+"/profile/photo",activities:"https://dlactivity.dl6.in"+"/activity/fetch/"},abha:{abhaLists:r+"/abha-lists/1.0",unlink_ndhm:r+"/abha-unlink/1.0",phrAddressOTP:u+"/v5/phrAuthInitAddress",phrConfirmAddressOTP:u+"/v5/phrAuthConfirmAddress",phrNumberOTP:u+"/v5/phrAuthInitNumber",phrConfirmNumberOTP:u+"/v5/phrAuthConfirmNumber",phrMobileOtp:u+"/v5/phrMobileLoginRequestOtp",phrMobileConfirmOtp:u+"/v5/phrMobileLoginConfirmOtp",phrAuthNumberVerifyUser:u+"/v5/phrAuthNumberVerifyUser",aadharRegister:u+"/v5/aadharRegister",confirmAadharOtp:u+"/v5/confirmAadharRegisterWithOtp",getAbhaAddressSuggestions:u+"/v5/getAbhaAddressSuggestions",registerAabhaAddress:u+"/v5/registerAabhaAddress",CheckLoginMethods:u+"/v5/phrAuthMethods",get_crstatus:u+"/v5/get_crstatus",abhaPostLoginCalls:u+"/v5/phrPostLoginCalls",abhaPull_records:u+"/v6/pull_records",ndhm_drive_list:u+"/healthDrivev5/list",ndhm_drive_read:u+"/healthDrivev5/read",ndhm_drive_upload:u+"/healthDrivev5/upload",phrAuthMode:u+"/phrAuthMode",phrAuthInitNumber:u+"/phrAuthInitNumber",phrAuthInitAddress:u+"/phrAuthInitAddress",phrAuthConfirmAddress:u+"/phrAuthConfirmAddress",phrPreVerify:u+"/phrPreVerify",phrAuthConfirmNumber:u+"/phrAuthConfirmNumber",phrPostLoginCalls:u+"/phrPostLoginCalls",phrFetchAttachment:u+"/phrFetchAttachment",phrProfileQR:u+"/phrProfileQR"},UpdateAddress:{ndhm_docs_type:"/assets/AddressUpdateDocs.json",docs_list:"/assets/docs_json.json",address_docDetails:u+"/update/docDetails",address_sendOtp:u+"/update/sendOtp",address_verifyOtp:u+"/update/verifyOtp",address_requestList:u+"/update/requestList",address_updateList:u+"/update/updateList",shareprofileapi:u+"/update/download"},partners:{digi_partners_cascades:c+"/public/api/cascades",digi_partners_nextcascades:c+"/public/api/v2/nextcascades"},searchIssuer:{searchAPI:p+"/directory/digiapi/v2/list",categoriesAPI:p+"/directory/digiapi/v1/categories",key:"9d1f32rg45r3rh5u3kl5d6e3n4r6rg4t25t73gh"},setting:{usernameUpdate:d+"/username/set",usernameCheck:d+"/username/check"},meripehchaan:{authorization_list:h+"/public/oauth2/authorization/1/clients",authorization_unlink:h+"/public/oauth2/authorization/1/unlink"},statistics:{get_total_users_count:"https://dashboard.digitallocker.gov.in"+"/users_data.json",stats_get_all_statistic:i+"/statsfiles/statistic_reports.json",stats_get_docs_type:i+"/statsfiles/statistic_docs_type.json",stats_get_issuer_wise_docs:i+"/statsfiles/statistic_issuer_doc_wise.json",stats_get_requestor_wise:i+"/statsfiles/statistic_get_requestor_data.json",stats_month_user_doc:"/assets/statistics/month_user_doc.json",stats_issuerdoctrends:"/assets/statistics/issuerdoctrends.json",stats_count_state_user:"/assets/statistics/count_state_user.json",stats_count_district_user:"/assets/statistics/count_district_user.json",stats_yearwiseregusers:"/assets/statistics/yearwiseregusers.json",dashboard_template:"/assets/data/statistics/dashboard_template.json"},misc:{esignUrl:"https://esign.digilocker.gov.in/v2/",cardViewDataAPI:"https://js1.digitallocker.gov.in"+"/dashboard/param_smartDashboardData.json",appLogo:o+"/public/smart/images/digiLocker_logo_19_091219.png",cardViewDataAPI2:o+"/public/assets/dashboard/75e5db42f1f82b32959458bb4130f3cb.json",loadingImg:o+"/assets/img/icons/lazyload96x96.gif",cardErrImg:o+"/core/img/issuers/issure_icon.png",msplrErrImg:o+"/assets/img/logodg.png",loadingMostPopular:o+"/assets/img/icons/lazyload336x204.gif",maintenanceImg:o+"/assets/img/icons/server-maintain.png",digiVerified:"/assets/img/PoweredbyDigiLockerVersion3.png",joinVcApi:"https://us06web.zoom.us/j/81362789411?pwd=BYjTFCPh9dFgSqo5EZWtlflmeJbFFB.1",umangUrl:"https://web.umang.gov.in/web_new/deep-link?data=",partnerUrl:"https://partners.apisetu.gov.in",partner_sop:i+"/resources/Partners-SOP.pdf",sachet:f+"/sachet",sachetDetails:f+"/sachet/detail
1s",sachetFilterbyState:f+"/sachet/stateWise",PartnersIssuersCountURL:g+"/portal/statistics/v2/onboarded-organizations",PartnersRequestersCountURL:g+"/portal/statistics/v2/onboarded-organizations",PartnersURLCRED:"Basic SEpHRlRFTDowNDMyOWE0MmQyOGFmNzFmRDJlN2JhYmIwZTdiZjI3MzI2Ykc2NzZzODM2NGVhNjEyODVhNTVjODIyZjAyMTQz",anuvaad:u+"/anuvaad",visitors_count:u+"/web",GetIssuedDocuments:c+"/directory/jobapi/getissueddocumentdata",emailUpdate:{sendOtp:d+"/email_update/send_otp/1.0",verifyOtp:d+"/email_update/verify_otp/1.0"},jwe_generate:d+"/jwe/generate/1.0",generateCaptcha:d+"/api/generate_captcha",joinVC:d+"/join_vc/1.0",public_profile:d+"/shared_profile"},salesforce:{generateIdentityToken:d+"/salesforce/generate_jwe",supportsIdentityToken:!1,orgId:"00Df600000814Mj",scrt2URL:"https://nationale-governancedivisionnegdm2.my.salesforce-scrt.com",citizenSite:"https://nationale-governancedivisionnegdm2.my.site.com/ESWNeGDBOTMessegingCha1781073793332",partnerSite:"https://nationale-governancedivisionnegdm2.my.site.com/ESWNeGDBOTMessegingCha1781073793332",loggedInSite:"https://nationale-governancedivisionnegdm2.my.site.com/ESWNeGDBOTMessegingCha1781073793332",citizenBotName:"NeGD_BOT_Messeging_Channel",partnerBotName:"NeGD_BOT_Messeging_Channel",loggedInBotName:"NeGD_BOT_Messeging_Channel"},expiry:{baseUrl:m,serverPublicKeyPem:"-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAETDMCr6JHr69nk5xZuJ5zHdvC0iDK\ndkM1WYXAdducms0U5q+R6SjkIKNGlpwyfiZUNeWdA5eaFTgQMZ01zdgVJw==\n-----END PUBLIC KEY-----"}},ocrAPI:m+"/v1/ocr-extract",ocr:{PANCR:r+"/api/1.0/pan_ocr",DRVLC:r+"/dl/api/extract",RVCER:r+"/rc/api/extract",UNCRD:r+"/api/1.0/uan_ocr"},recommend:"https://recommend-prod.dl6.in"+"/recommend",issuedDoc:{METADATA_DOC_TYPES:["ADHAR","HSCER","SSCER","HSTR1","SSTR1"],METADATA_ORG_IDS:["000133","000027","000127","001925"],AVAILABLE_TEMPLATES:["1","2","3","4","5"]},firebase:{apiKey:"fake-api-key",authDomain:"fake-auth-domain",projectId:"fake-project-id",storageBucket:"fake-storage",messagingSenderId:"fake-sender",appId:"fake-app-id"},fileShare:{inbox:{get:d+"/share/to_me",list:d+"/share/to_me_list",delete:d+"/share/inbox/document/remove"},outbox:{get:d+"/share/by_me",list:d+"/share/by_me_list",revoke:d+"/share/revoke"},document:{listFolder:d+"/share/list_folder",read:d+"/share/read"},share:{searchUser:d+"/retrieve_account/1.1",withDigi:d+"/share/digi"}},statisticsAuthorization:"Basic SEpERlRVTDowNDMyOWE0MmQyOGFmNzFmYzJlN2JhYmIwZTdiZjI3MzI2YmQ2NzZkODM2NGVhNjEyODRhNTVjODcyZjAyMTQz"}},B4Jq:function(e,t,n){"use strict";n.r(t),n.d(t,"MENU_BACK_BUTTON_PRIORITY",function(){return o}),n.d(t,"OVERLAY_BACK_BUTTON_PRIORITY",function(){return s}),n.d(t,"blockHardwareBackButton",function(){return r}),n.d(t,"startHardwareBackButton",function(){return i});const r=()=>{document.addEventListener("backbutton",()=>{})},i=()=>{const e=document;let t=!1;e.addEventListener("backbutton",()=>{if(t)return;let n=0,r=[];const i=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(e,t){r.push({priority:e,handler:t,id:n++})}}});e.dispatchEvent(i);const s=()=>
1{if(r.length>0){let e={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};r.forEach(t=>{t.priority>=e.priority&&(e=t)}),t=!0,r=r.filter(t=>t.id!==e.id),(async e=>{try{if(e&&e.handler){const t=e.handler(s);null!=t&&await t}}catch(t){console.error(t)}})(e).then(()=>t=!1)}};s()})},s=100,o=99},Cfvw:function(e,t,n){"use strict";n.d(t,"a",function(){return d});var r=n("HDdC"),i=n("SeVD"),s=n("quSY"),o=n("kJWO");var a=n("jZKg"),l=n("Lhse");var c=n("c2HN"),u=n("I55L");function h(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[o.a]}(e))return function(e,t){return new r.a(n=>{const r=new s.a;return r.add(t.schedule(()=>{const i=e[o.a]();r.add(i.subscribe({next(e){r.add(t.schedule(()=>n.next(e)))},error(e){r.add(t.schedule(()=>n.error(e)))},complete(){r.add(t.schedule(()=>n.complete()))}}))})),r})}(e,t);if(Object(c.a)(e))return function(e,t){return new r.a(n=>{const r=new s.a;return r.add(t.schedule(()=>e.then(e=>{r.add(t.schedule(()=>{n.next(e),r.add(t.schedule(()=>n.complete()))}))},e=>{r.add(t.schedule(()=>n.error(e)))}))),r})}(e,t);if(Object(u.a)(e))return Object(a.a)(e,t);if(function(e){return e&&"function"==typeof e[l.a]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new r.a(n=>{const r=new s.a;let i;return r.add(()=>{i&&"function"==typeof i.return&&i.return()}),r.add(t.schedule(()=>{i=e[l.a](),r.add(t.schedule(function(){if(n.closed)return;let e,t;try{const n=i.next();e=n.value,t=n.done}catch(r){return void n.error(r)}t?n.complete():(n.next(e),this.schedule())}))})),r})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}function d(e,t){return t?h(e,t):e instanceof r.a?e:new r.a(Object(i.a)(e))}},D0XW:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("3N8a");const i=new(n("IjjT").a)(r.a)},D6d0:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("mrSG"),i=n("fXoL"),s=n("TEn/");let o=class{constructor(e,t){this.modalController=e,this.platform=t,this.deviceSize=this.platform.isLandscape()}ngOnInit(){}dismiss(e=!1){this.modalController.dismiss({dismissed:e})}};o.ctorParameters=()=>[{type:s.g},{type:s.j}],o=Object(r.c)([Object(i.n)({selector:"app-integrate-partner",template:'<ion-content>\n  <ion-button (click)="dismiss()" fill="clear" shape="round" size="medium" class="ion-float-end staticText">\n      <ion-icon name="close-circle-outline"></ion-icon>\n  </ion-button>\n\n  <div [ngStyle]="{\n    \'display\': \'flex\',\n    \'justify-content\': \'center\',\n    \'align-items\': \'center\',\n    \'width\': \'100%\'}">\n    <iframe\n      [ngStyle]="{ \'width\': !deviceSize ? \'90%\' : \'100%\',\n      \'height\': !deviceSize ? \'235px\' : \'325px\'}"\n      height="325"\n      src="https://www.youtube.com/embed/Gv1BZTh2wZ8?rel=0"\n      title="How to Integrate with DigiLocker"\n      frameborder="0"\n      allowfullscreen picture-in-picture="0" web-share="0" clipboard-write="0">\n    </iframe>\n  </div>\n</ion-content>\n',styles:[""]})],o)},DH7j:function(e,t,n){"use strict";n.d(t,"a",function(){return r});const r=Array.isArray||(e=>e&&"number"==typeof e.length)},"E/Mt":function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"b",function(){return C}),n.d(t,"c",function(){return y}),n.d(t,"d",function(){return i}),n.d(t,"e",function(){return S});var r=n("wEJo");const i=e=>o(e),s=(e,t)=>("string"==typeof e&&(t=e,e=void 0),i(e).includes(t)),o=(e=window)=>{if(void 0===e)return[];e.Ionic=e.Ionic||{};let t=e.Ionic.platforms;return null==t&&(t=e.Ionic.platforms=a(e),t.forEach(t=>e.document.documentElement.classList.add(`plt-${t}`))),t},a=e=>Object.keys(g).filter(t=>g[t](e)),l=e=>!!f(e,/iPad/i)||!(!f(e,/Macintosh/i)||!u(e)),c=e=>f(e,/android|sink/i),u=e=>m(e,"(any-pointer:coarse)"),h=e=>d(e)||p(e),d=e=>!!(e.cordova||e.phonegap||e.PhoneGap),p=e=>{const t=e.Capacitor;return!(!t||!t.isNative)},f=(e,t)=>t.test(e.navigator.userAgent),m=(e,t)=>
1e.matchMedia(t).matches,g={ipad:l,iphone:e=>f(e,/iPhone/i),ios:e=>f(e,/iPhone|iPod/i)||l(e),android:c,phablet:e=>{const t=e.innerWidth,n=e.innerHeight,r=Math.min(t,n),i=Math.max(t,n);return r>390&&r<520&&i>620&&i<800},tablet:e=>{const t=e.innerWidth,n=e.innerHeight,r=Math.min(t,n),i=Math.max(t,n);return l(e)||(e=>c(e)&&!f(e,/mobile/i))(e)||r>460&&r<820&&i>780&&i<1400},cordova:d,capacitor:p,electron:e=>f(e,/electron/i),pwa:e=>!(!e.matchMedia("(display-mode: standalone)").matches&&!e.navigator.standalone),mobile:u,mobileweb:e=>u(e)&&!h(e),desktop:e=>!u(e),hybrid:h};class v{constructor(){this.m=new Map}reset(e){this.m=new Map(Object.entries(e))}get(e,t){const n=this.m.get(e);return void 0!==n?n:t}getBoolean(e,t=!1){const n=this.m.get(e);return void 0===n?t:"string"==typeof n?"true"===n:!!n}getNumber(e,t){const n=parseFloat(this.m.get(e));return isNaN(n)?void 0!==t?t:NaN:n}set(e,t){this.m.set(e,t)}}const y=new v,b=(e,t)=>e.substr(0,t.length)===t,w="ionic:",_="ionic-persist-config";let x;const C=e=>e&&Object(r.i)(e)||x,S=(e={})=>{if("undefined"==typeof window)return;const t=window.document,n=window,i=n.Ionic=n.Ionic||{};o(n);const a=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(e=>{try{const t=e.sessionStorage.getItem(_);return null!==t?JSON.parse(t):{}}catch(t){return{}}})(n)),{persistConfig:!1}),i.config),(e=>{const t={};return e.location.search.slice(1).split("&").map(e=>e.split("=")).map(([e,t])=>[decodeURIComponent(e),decodeURIComponent(t)]).filter(([e])=>b(e,w)).map(([e,t])=>[e.slice(w.length),t]).forEach(([e,n])=>{t[e]=n}),t})(n)),e);y.reset(a),y.getBoolean("persistConfig")&&((e,t)=>{try{e.sessionStorage.setItem(_,JSON.stringify(t))}catch(n){return}})(n,a),i.config=y,i.mode=x=y.get("mode",t.documentElement.getAttribute("mode")||(s(n,"ios")?"ios":"md")),y.set("mode",x),t.documentElement.setAttribute("mode",x),t.documentElement.classList.add(x),y.getBoolean("_testing")&&y.set("animated",!1);const l=e=>e.tagName&&e.tagName.startsWith("ION-"),c=e=>["ios","md"].includes(e);Object(r.p)(e=>{for(;e;){const t=e.mode||e.getAttribute("mode");if(t){if(c(t))return t;l(e)&&console.warn('Invalid ionic mode: "'+t+'", expected: "ios" or "md"')}e=e.parentElement}return x})}},E4JC:function(e,t,n){var r;e.exports=(r=n("Ib8C"),n("ETIr"),n("cv67"),n("K3mO"),n("OLod"),function(){var e=r,t=e.lib.StreamCipher,n=e.algo,i=[],s=[],o=[],a=n.Rabbit=t.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,n=0;n<4;n++)e[n]=16711935&(e[n]<<8|e[n]>>>24)|4278255360&(e[n]<<24|e[n]>>>8);var r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],i=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(this._b=0,n=0;n<4;n++)l.call(this);for(n=0;n<8;n++)i[n]^=r[n+4&7];if(t){var s=t.words,o=s[0],a=s[1],c=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),u=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),h=c>>>16|4294901760&u,d=u<<16|65535&c;for(i[0]^=c,i[1]^=h,i[2]^=u,i[3]^=d,i[4]^=c,i[5]^=h,i[6]^=u,i[7]^=d,n=0;n<4;n++)l.call(this)}},_doProcessBlock:function(e,t){var n=this._X;l.call(this),i[0]=n[0]^n[5]>>>16^n[3]<<16,i[1]=n[2]^n[7]>>>16^n[5]<<16,i[2]=n[4]^n[1]>>>16^n[7]<<16,i[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)i[r]=16711935&(i[r]<<8|i[r]>>>24)|4278255360&(i[r]<<24|i[r]>>>8),e[t+r]^=i[r]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,n=0;n<8;n++)s[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<s[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<s[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<s[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<s[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<s[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<s[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<s[6]>>>0?1:0)|0,this._b=t[7]>>>0<s[7]>>>0?1:0,n=0;n<8;n++){var r=e[n]+t[n],i=65535&r,a=r>>>16,l=((i*i>>>17)+i*a>>>15)+a*a,c=((4294901760&r)*r|0)+((65535&r)*r|0);o[n]=l^c}e[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,e[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,e[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,e[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,e[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,e[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,e[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,e[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}e.Rabbit=t._createHelper(a)}(),r.Rabbit)},ELcG:function(e,t,n){var r;e.exports=(r=n("Ib8C"),function(e){var t=r,n=t.lib,i=n.WordArray,s=n.Hasher,o=t.algo,a=i.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),l=i.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),c=i.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),u=i.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),h=i.create([0,1518500249,1859775393,2400959708,2840853838]),d=i.create([1352829926,1548603684,1836072691,2053994217,0]),p=o.RIPEMD160=s.extend({_doReset:function(){this._hash=i.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,i=e[r];e[r]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var s,o,p,w,_,x,C,S,E,A,k,I=this._hash.words,T=h.words,O=d.words,D=a.words,P=l.words,M=c.words,N=u.words;for(x=s=I[0],C=o=I[1],S=p=I[2],E=w=I[3],A=_=I[4],n=0;n<80;n+=1)k=s+e[t+D[n]]|0,k+=n<16?f(o,p,w)+T[0]:n<32?m(o,p,w)+T[1]:n<48?g(o,p,w)+T[2]:n<64?v(o,p,w)+T[3]:y(o,p,w)+T[4],k=(k=b(k|=0,M[n]))+_|0,s=_,_=w,w=b(p,10),p=o,o=k,k=x+e[t+P[n]]|0,k+=n<16?y(C,S,E)+O[0]:n<32?v(C,S,E)+O[1]:n<48?g(C,S,E)+O[2]:n<64?m(C,S,E)+O[3]:f(C,S,E)+O[4],k=(k=b(k|=0,N[n])
1)+A|0,x=A,A=E,E=b(S,10),S=C,C=k;k=I[1]+p+E|0,I[1]=I[2]+w+A|0,I[2]=I[3]+_+x|0,I[3]=I[4]+s+C|0,I[4]=I[0]+o+S|0,I[0]=k},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process();for(var i=this._hash,s=i.words,o=0;o<5;o++){var a=s[o];s[o]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}return i},clone:function(){var e=s.clone.call(this);return e._hash=this._hash.clone(),e}});function f(e,t,n){return e^t^n}function m(e,t,n){return e&t|~e&n}function g(e,t,n){return(e|~t)^n}function v(e,t,n){return e&n|t&~n}function y(e,t,n){return e^(t|~n)}function b(e,t){return e<<t|e>>>32-t}t.RIPEMD160=s._createHelper(p),t.HmacRIPEMD160=s._createHmacHelper(p)}(Math),r.RIPEMD160)},EQ5u:function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"b",function(){return c});var r=n("XNiG"),i=n("HDdC"),s=n("7o/Q"),o=n("quSY"),a=n("x+ZX");class l extends i.a{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new o.a,e.add(this.source.subscribe(new u(this.getSubject(),this))),e.closed&&(this._connection=null,e=o.a.EMPTY)),e}refCount(){return Object(a.a)()(this)}}const c=(()=>{const e=l.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}})();class u extends r.b{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}s.a},ETIr:function(e,t,n){var r;e.exports=(r=n("Ib8C"),function(){var e=r,t=e.lib.WordArray;function n(e,n,r){for(var i=[],s=0,o=0;o<n;o++)if(o%4){var a=r[e.charCodeAt(o-1)]<<o%4*2|r[e.charCodeAt(o)]>>>6-o%4*2;i[s>>>2]|=a<<24-s%4*8,s++}return t.create(i,s)}e.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var i=[],s=0;s<n;s+=3)for(var o=(t[s>>>2]>>>24-s%4*8&255)<<16|(t[s+1>>>2]>>>24-(s+1)%4*8&255)<<8|t[s+2>>>2]>>>24-(s+2)%4*8&255,a=0;a<4&&s+.75*a<n;a++)i.push(r.charAt(o>>>6*(3-a)&63));var l=r.charAt(64);if(l)for(;i.length%4;)i.push(l);return i.join("")},parse:function(e){var t=e.length,r=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var s=0;s<r.length;s++)i[r.charCodeAt(s)]=s}var o=r.charAt(64);if(o){var a=e.indexOf(o);-1!==a&&(t=a)}return n(e,t,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),r.enc.Base64)},EY2u:function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return s});var r=n("HDdC");const i=new r.a(e=>e.complete());function s(e){return e?function(e){return new r.a(t=>e.schedule(()=>t.complete()))}(e):i}},"F+F2":function(e,t,n){var r;e.exports=(r=n("Ib8C"),function(){if("function"==typeof ArrayBuffer){var e=r.lib.WordArray,t=e.init;(e.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var n=e.byteLength,r=[],i=0;i<n;i++)r[i>>>2]|=e[i]<<24-i%4*8;t.call(this,r,n)}else t.apply(this,arguments)}).prototype=e}}(),r.lib.WordArray)},GRuw:function(e,t,n){var r,i,s,o,a,l;e.exports=(l=n("Ib8C"),n("lPiR"),i=(r=l).lib.WordArray,s=r.algo,o=s.SHA256,a=s.SHA224=o.extend({_doReset:function(){this._hash=new i.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=o._doFinalize.call(this);return e.sigBytes-=4,e}}
1),r.SHA224=o._createHelper(a),r.HmacSHA224=o._createHmacHelper(a),l.SHA224)},GyhO:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("LRne"),i=n("bHdf");function s(...e){return Object(i.a)(1)(Object(r.a)(...e))}},HDdC:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var r=n("7o/Q");var i=n("2QA8"),s=n("gRHU");var o=n("kJWO"),a=n("SpAZ");function l(e){return 0===e.length?a.a:1===e.length?e[0]:function(t){return e.reduce((e,t)=>t(e),t)}}var c=n("2fFW");class u{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(e){const t=new u;return t.source=this,t.operator=e,t}subscribe(e,t,n){const{operator:o}=this,a=function(e,t,n){if(e){if(e instanceof r.a)return e;if(e[i.a])return e[i.a]()}return e||t||n?new r.a(e,t,n):new r.a(s.a)}(e,t,n);if(o?a.add(o.call(a,this.source)):a.add(this.source||c.a.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),c.a.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(e){try{return this._subscribe(e)}catch(t){c.a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),!function(e){for(;e;){const{closed:t,destination:n,isStopped:i}=e;if(t||i)return!1;e=n&&n instanceof r.a?n:null}return!0}(e)?console.warn(t):e.error(t)}}forEach(e,t){return new(t=h(t))((t,n)=>{let r;r=this.subscribe(t=>{try{e(t)}catch(i){n(i),r&&r.unsubscribe()}},n,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[o.a](){return this}pipe(...e){return 0===e.length?this:l(e)(this)}toPromise(e){return new(e=h(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}function h(e){if(e||(e=c.a.Promise||Promise),!e)throw new Error("no Promise impl found");return e}u.create=e=>new u(e)},I55L:function(e,t,n){"use strict";n.d(t,"a",function(){return r});const r=e=>e&&"number"==typeof e.length&&"function"!=typeof e},Ib8C:function(e,t,n){var r;e.exports=(r=r||function(e,t){var r;if("undefined"!=typeof window&&window.crypto&&(r=window.crypto),"undefined"!=typeof self&&self.crypto&&(r=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(r=globalThis.crypto),!r&&"undefined"!=typeof window&&window.msCrypto&&(r=window.msCrypto),!r&&"undefined"!=typeof global&&global.crypto&&(r=global.crypto),!r)try{r=n(1)}catch(g){}var i=function(){if(r){if("function"==typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(g){}if("function"==typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(g){}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),o={},a=o.lib={},l=a.Base={extend:function(e){var t=s(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},c=a.WordArray=l.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:4*e.length},toString:function(e){return(e||h).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,i=e.sigBytes;if(this.clamp(),r%4)for(var s=0;s<i;s++){var o=n[s>>>2]>>>24-s%4*8&255;t[r+s>>>2]|=o<<24-(r+s)%4*8}else for(var a=0;a<i;a+=4)t[r+a>>>2]=n[a>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=l.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n<e;n+=4)t.push(i());return new c.init(t,e)}}),u=o.enc={},h=u.Hex={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i++){var s=t[i>>>2]>>>24-i%4*8&255;r.push((s>>>4).toString(16)),r.push((15&s).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new c.init(n,t/2)}},d=u.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i++){var s=t[i>>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(s))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r++)n[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new c.init(n,t)}},p=u.Utf8={stringify:function(e){try{return decodeURIComponent(escape(d.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return d.parse(unescape(encodeURIComponent(e)))}},f=a.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=p.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,i=r.words,s=r.sigBytes,o=this.blockSize,a=s/(4*o),l=(a=t?e.ceil(a):e.max((0|a)-this._minBufferSize,0))*o,u=e.min(4*l,s);if(l){for(var h=0;h<l;h+=o)this._doProcessBlock(i,h);n=i.splice(0,l),r.sigBytes-=u}return new c.init(n,u)},clone:function(){var e=l.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),m=(a.Hasher=f.extend({cfg:l.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){f.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,n){return new e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return new m.HMAC.init(e,n).finalize(t)}}}),o.algo={});return o}(Math),r)},IjjT:function(e,t,n){"use strict";n.d(t,"a",function(){return i});
1class r{constructor(e,t=r.now){this.SchedulerAction=e,this.now=t}schedule(e,t=0,n){return new this.SchedulerAction(this,e).schedule(n,t)}}r.now=()=>Date.now();class i extends r{constructor(e,t=r.now){super(e,()=>i.delegate&&i.delegate!==this?i.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,n){return i.delegate&&i.delegate!==this?i.delegate.schedule(e,t,n):super.schedule(e,t,n)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}},IzEk:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("7o/Q"),i=n("4I5i"),s=n("EY2u");function o(e){return t=>0===e?Object(s.b)():t.lift(new a(e))}class a{constructor(e){if(this.total=e,this.total<0)throw new i.a}call(e,t){return t.subscribe(new l(e,this.total))}}class l extends r.a{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){const t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}},JIr8:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("zx2A");function i(e){return function(t){const n=new s(e),r=t.lift(n);return n.caught=r}}class s{constructor(e){this.selector=e}call(e,t){return t.subscribe(new o(e,this.selector,this.caught))}}class o extends r.b{constructor(e,t,n){super(e),this.selector=t,this.caught=n}error(e){if(!this.isStopped){let n;try{n=this.selector(e,this.caught)}catch(t){return void super.error(t)}this._unsubscribeAndRecycle();const i=new r.a(this);this.add(i);const s=Object(r.c)(n,i);s!==i&&this.add(s)}}}},JX91:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("GyhO"),i=n("z+Ro");function s(...e){const t=e[e.length-1];return Object(i.a)(t)?(e.pop(),n=>Object(r.a)(e,n,t)):t=>Object(r.a)(e,t)}},K3mO:function(e,t,n){var r,i,s,o,a,l,c,u;e.exports=(u=n("Ib8C"),n("3y9D"),n("WYAk"),i=(r=u).lib,s=i.Base,o=i.WordArray,a=r.algo,l=a.MD5,c=a.EvpKDF=s.extend({cfg:s.extend({keySize:4,hasher:l,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n,r=this.cfg,i=r.hasher.create(),s=o.create(),a=s.words,l=r.keySize,c=r.iterations;a.length<l;){n&&i.update(n),n=i.update(e).finalize(t),i.reset();for(var u=1;u<c;u++)n=i.finalize(n),i.reset();s.concat(n)}return s.sigBytes=4*l,s}}),r.EvpKDF=function(e,t,n){return c.create(n).compute(e,t)},u.EvpKDF)},KF81:function(e,t,n){"use strict";n.r(t),n.d(t,"createGesture",function(){return l});var r=n("y08P");n.d(t,"GESTURE_CONTROLLER",function(){return r.a});const i=(e,t,n,r)=>{const i=s(e)?{capture:!!r.capture,passive:!!r.passive}:!!r.capture;let o,a;return e.__zone_symbol__addEventListener?(o="__zone_symbol__addEventListener",a="__zone_symbol__removeEventListener"):(o="addEventListener",a="removeEventListener"),e[o](t,n,i),()=>{e[a](t,n,i)}},s=e=>{if(void 0===o)try{const t=Object.defineProperty({},"passive",{get:()=>{o=!0}});e.addEventListener("optsTest",()=>{},t)}catch(t){o=!1}return!!o};let o;const a=e=>e instanceof Document?e:e.ownerDocument,l=e=>{let t=!1,n=!1,s=!0,o=!1;const l=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},e),d=l.canStart,p=l.onWillStart,f=l.onStart,m=l.onEnd,g=l.notCaptured,v=l.onMove,y=l.threshold,b=l.passive,w=l.blurOnStart,_={type:"pan",startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,event:void 0,data:void 0},x=((e,t,n)=>{const r=n*(Math.PI/180),i="x"===e,s=Math.cos(r),o=t*t;let a=0,l=0,c=!1,u=0;return{start(e,t){a=e,l=t,u=0,c=!0},detect(e,t){if(!c)return!1;const n=e-a,r=t-l,h=n*n+r*r;if(h<o)return!1;const d=Math.sqrt(h),p=(i?n:r)/d;return u=p>s?1:p<-s?-1:0,c=!1,!0},isGesture:()=>0!==u,getDirection:()=>u}})(l.direction,l.threshold,l.maxAngle),C=r.a.createGesture({name:e.gestureName,priority:e.gesturePriority,disableScroll:e.disableScroll}),S=()=>{t&&(o=!1,v&&v(_))},E=()=>!(C&&!C.capture())&&(t=!0,s=!1,_.startX=_.currentX,_.startY=_.currentY,_.startTime=_.currentTime,p?p(_).then(A):A(),!0),A=()=>{w&&(()=>{if("undefined"!=typeof document){const e=document.activeElement;null!==e&&e.blur&&e.blur()}})(),f&&f(_),s=!0},k=()=>{t=!1,n=!1,o=!1,s=!0,C.release()},I=e=>{const n=t,r=s;k(),r&&(c(_,e),n?m&&m(_):g&&g(_))}
1,T=((e,t,n,r,s)=>{let o,l,c,u,h,d,p,f=0;const m=r=>{f=Date.now()+2e3,t(r)&&(!l&&n&&(l=i(e,"touchmove",n,s)),c||(c=i(r.target,"touchend",v,s)),u||(u=i(r.target,"touchcancel",v,s)))},g=r=>{f>Date.now()||t(r)&&(!d&&n&&(d=i(a(e),"mousemove",n,s)),p||(p=i(a(e),"mouseup",y,s)))},v=e=>{b(),r&&r(e)},y=e=>{w(),r&&r(e)},b=()=>{l&&l(),c&&c(),u&&u(),l=c=u=void 0},w=()=>{d&&d(),p&&p(),d=p=void 0},_=()=>{b(),w()},x=(t=!0)=>{t?(o||(o=i(e,"touchstart",m,s)),h||(h=i(e,"mousedown",g,s))):(o&&o(),h&&h(),o=h=void 0,_())};return{enable:x,stop:_,destroy:()=>{x(!1),r=n=t=void 0}}})(l.el,e=>{const t=h(e);return!(n||!s)&&(u(e,_),_.startX=_.currentX,_.startY=_.currentY,_.startTime=_.currentTime=t,_.velocityX=_.velocityY=_.deltaX=_.deltaY=0,_.event=e,(!d||!1!==d(_))&&(C.release(),!!C.start()&&(n=!0,0===y?E():(x.start(_.startX,_.startY),!0))))},e=>{t?!o&&s&&(o=!0,c(_,e),requestAnimationFrame(S)):(c(_,e),x.detect(_.currentX,_.currentY)&&(x.isGesture()&&E()||O()))},I,{capture:!1,passive:b}),O=()=>{k(),T.stop(),g&&g(_)};return{enable(e=!0){e||(t&&I(void 0),k()),T.enable(e)},destroy(){C.destroy(),T.destroy()}}},c=(e,t)=>{if(!t)return;const n=e.currentX,r=e.currentY,i=e.currentTime;u(t,e);const s=e.currentX,o=e.currentY,a=(e.currentTime=h(t))-i;if(a>0&&a<100){const t=(s-n)/a,i=(o-r)/a;e.velocityX=.7*t+.3*e.velocityX,e.velocityY=.7*i+.3*e.velocityY}e.deltaX=s-e.startX,e.deltaY=o-e.startY,e.event=t},u=(e,t)=>
1{let n=0,r=0;if(e){const t=e.changedTouches;if(t&&t.length>0){const e=t[0];n=e.clientX,r=e.clientY}else void 0!==e.pageX&&(n=e.pageX,r=e.pageY)}t.currentX=n,t.currentY=r},h=e=>e.timeStamp||Date.now()},Kfhc:function(e,t,n){"use strict";n.d(t,"a",function(){return h});var r=n("W6o/");let i;const s=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),o=e=>{if(void 0===i){const t=void 0!==e.style.animationName,n=void 0!==e.style.webkitAnimationName;i=!t&&n?"-webkit-":""}return i},a=(e,t,n)=>{const r=t.startsWith("animation")?o(e):"";e.style.setProperty(r+t,n)},l=(e,t)=>{const n=t.startsWith("animation")?o(e):"";e.style.removeProperty(n+t)},c=[],u=(e=[],t)=>{if(void 0!==t){const n=Array.isArray(t)?t:[t];return[...e,...n]}return e},h=e=>{let t,n,i,h,d,p,f,m,g,v,y,b,w,_=[],x=[],C=[],S=!1,E={},A=[],k=[],I={},T=0,O=!1,D=!1,P=!0,M=!1,N=!0;const R=e,L=[],j=[],F=[],B=[],$=[],V=[],U=[],z=[],H=[],q=[],G="function"==typeof AnimationEffect||"function"==typeof window.AnimationEffect,W="function"==typeof Element&&"function"==typeof Element.prototype.animate&&G,Q=e=>{Y(),e&&Z()},K=(e,t)=>((t&&t.oneTimeCallback?j:L).push({c:e,o:t}),w),X=()=>(L.length=0,j.length=0,w),Y=()=>{if(W)q.forEach(e=>{e.cancel()}),q.length=0;else{const e=F.slice();Object(r.r)(()=>{e.forEach(e=>{l(e,"animation-name"),l(e,"animation-duration"),l(e,"animation-timing-function"),l(e,"animation-iteration-count"),l(e,"animation-delay"),l(e,"animation-play-state"),l(e,"animation-fill-mode"),l(e,"animation-direction")})})}},Z=()=>{$.forEach(e=>{e&&e.parentNode&&e.parentNode.removeChild(e)}),$.length=0},J=()=>void 0!==d?d:f?f.getFill():"both",ee=()=>void 0!==g?g:void 0!==p?p:f?f.getDirection():"normal",te=()=>O?"linear":void 0!==i?i:f?f.getEasing():"linear",ne=()=>D?0:void 0!==v?v:void 0!==n?n:f?f.getDuration():0,re=()=>void 0!==h?h:f?f.getIterations():1,ie=()=>void 0!==y?y:void 0!==t?t:f?f.getDelay():0,se=()=>{0!==T&&(T--,0===T&&((()=>{fe(),z.forEach(e=>e()),H.forEach(e=>e());const e=P?1:0,t=A,n=k,r=I;F.forEach(e=>{const i=e.classList;t.forEach(e=>
1i.add(e)),n.forEach(e=>i.remove(e));for(const t in r)r.hasOwnProperty(t)&&a(e,t,r[t])}),L.forEach(t=>t.c(e,w)),j.forEach(t=>t.c(e,w)),j.length=0,N=!0,P&&(M=!0),P=!0})(),f&&f.animationFinish()))},oe=(t=!0)=>{Z();const n=(e=>(e.forEach(e=>{for(const t in e)if(e.hasOwnProperty(t)){const n=e[t];if("easing"===t)e["animation-timing-function"]=n,delete e[t];else{const r=s(t);r!==t&&(e[r]=n,delete e[t])}}}),e))(_);F.forEach(i=>{if(n.length>0){const s=((e=[])=>e.map(e=>{const t=e.offset,n=[];for(const r in e)e.hasOwnProperty(r)&&"offset"!==r&&n.push(`${r}: ${e[r]};`);return`${100*t}% { ${n.join(" ")} }`}).join(" "))(n);b=void 0!==e?e:(e=>{let t=c.indexOf(e);return t<0&&(t=c.push(e)-1),`ion-animation-${t}`})(s);const l=((e,t,n)=>{const r=(e=>{const t=e.getRootNode();return t.head||t})(n),i=o(n),s=r.querySelector("#"+e);if(s)return s;const a=(n.ownerDocument||document).createElement("style");return a.id=e,a.textContent=`@${i}keyframes ${e} { ${t} } @${i}keyframes ${e}-alt { ${t} }`,r.appendChild(a),a})(b,s,i);$.push(l),a(i,"animation-duration",`${ne()}ms`),a(i,"animation-timing-function",te()),a(i,"animation-delay",`${ie()}ms`),a(i,"animation-fill-mode",J()),a(i,"animation-direction",ee());const u=re()===1/0?"infinite":re().toString();a(i,"animation-iteration-count",u),a(i,"animation-play-state","paused"),t&&a(i,"animation-name",`${l.id}-alt`),Object(r.r)(()=>{a(i,"animation-name",l.id||null)})}})},ae=(e=!0)=>{(()=>
1{V.forEach(e=>e()),U.forEach(e=>e());const e=x,t=C,n=E;F.forEach(r=>{const i=r.classList;e.forEach(e=>i.add(e)),t.forEach(e=>i.remove(e));for(const e in n)n.hasOwnProperty(e)&&a(r,e,n[e])})})(),_.length>0&&(W?(F.forEach(e=>{const t=e.animate(_,{id:R,delay:ie(),duration:ne(),easing:te(),iterations:re(),fill:J(),direction:ee()});t.pause(),q.push(t)}),q.length>0&&(q[0].onfinish=()=>{se()})):oe(e)),S=!0},le=e=>{if(e=Math.min(Math.max(e,0),.9999),W)q.forEach(t=>{t.currentTime=t.effect.getComputedTiming().delay+ne()*e,t.pause()});else{const t=`-${ne()*e}ms`;F.forEach(e=>{_.length>0&&(a(e,"animation-delay",t),a(e,"animation-play-state","paused"))})}},ce=e=>{q.forEach(e=>{e.effect.updateTiming({delay:ie(),duration:ne(),easing:te(),iterations:re(),fill:J(),direction:ee()})}),void 0!==e&&le(e)},ue=(e=!0,t)=>{Object(r.r)(()=>{F.forEach(n=>{a(n,"animation-name",b||null),a(n,"animation-duration",`${ne()}ms`),a(n,"animation-timing-function",te()),a(n,"animation-delay",void 0!==t?`-${t*ne()}ms`:`${ie()}ms`),a(n,"animation-fill-mode",J()||null),a(n,"animation-direction",ee()||null);const i=re()===1/0?"infinite":re().toString();a(n,"animation-iteration-count",i),e&&a(n,"animation-name",`${b}-alt`),Object(r.r)(()=>{a(n,"animation-name",b||null)})})})},he=(e=!1,t=!0,n)=>(e&&B.forEach(r=>{r.update(e,t,n)}),W?ce(n):ue(t,n),w),de=()=>{S&&(W?q.forEach(e=>{e.pause()}):F.forEach(e=>{a(e,"animation-play-state","paused")}))},pe=()=>{m=void 0,se()},fe=()=>{m&&clearTimeout(m)},me=()=>{F.forEach(e=>{l(e,"animation-duration"),l(e,"animation-delay"),l(e,"animation-play-state")})},ge=e=>new Promise(t=>{e&&e.sync&&(D=!0,K(()=>D=!1,{oneTimeCallback:!0})),S||ae(),M&&(W?(le(0),ce()):ue(),M=!1),N&&(T=B.length+1,N=!1),K(()=>t(),{oneTimeCallback:!0}),B.forEach(e=>{e.play()}),W?(q.forEach(e=>{e.play()}),0!==_.length&&0!==F.length||se()):(()=>{if(fe(),Object(r.r)(()=>{F.forEach(e=>{_.length>0&&a(e,"animation-play-state","running")})}),0===_.length||0===F.length)se();else{const e=ie()||0,t=ne()||0,n=re()||1;isFinite(n)&&(m=setTimeout(pe,e+t*n+100)),((e,t)=>{let n;const r={passive:!0},i=()=>{n&&n()},s=n=>{e===n.target&&(i(),t(n))};e&&(e.addEventListener("webkitAnimationEnd",s,r),e.addEventListener("animationend",s,r),n=()=>{e.removeEventListener("webkitAnimationEnd",s,r),e.removeEventListener("animationend",s,r)})})(F[0],()=>{fe(),Object(r.r)(()=>{me(),Object(r.r)(se)})})}})()}),ve=(e,t)=>{const n=_[0];return void 0===n||void 0!==n.offset&&0!==n.offset?_=[{offset:0,[e]:t},..._]:n[e]=t,w};return w={parentAnimation:f,elements:F,childAnimations:B,id:R,animationFinish:se,from:ve,to:(e,t)=>{const n=_[_.length-1];return void 0===n||void 0!==n.offset&&1!==n.offset?_=[..._,{offset:1,[e]:t}]:n[e]=t,w},fromTo:(e,t,n)=>ve(e,t).to(e,n),parent:e=>(f=e,w),play:ge,pause:()=>(B.forEach(e=>{e.pause()}),de(),w),stop:()=>{B.forEach(e=>{e.stop()}),S&&(Y(),S=!1),O=!1,D=!1,N=!0,g=void 0,v=void 0,y=void 0,T=0,M=!1,P=!0},destroy:e=>(B.forEach(t=>{t.destroy(e)}),Q(e),F.length=0,B.length=0,_.length=0,X(),S=!1,N=!0,w),keyframes:e=>(_=e,w),addAnimation:e=>{if(null!=e)if(Array.isArray(e))for(const t of e)t.parent(w),B.push(t);else e.parent(w),B.push(e);return w},addElement:e=>{if(null!=e)if(1===e.nodeType)F.push(e);else if(e.length>=0)for(let t=0;t<e.length;t++)F.push(e[t]);else console.error("Invalid addElement value");return w},update:he,fill:e=>(d=e,he(!0),w),direction:e=>(p=e,he(!0),w),iterations:e=>(h=e,he(!0),w),duration:e=>(W||0!==e||(e=1),n=e,he(!0),w),easing:e=>(i=e,he(!0),w),delay:e=>(t=e,he(!0),w),getWebAnimations:()=>q,getKeyframes:()=>_,getFill:J,getDirection:ee,getDelay:ie,getIterations:re,getEasing:te,getDuration:ne,afterAddRead:e=>(z.push(e),w),afterAddWrite:e=>(H.push(e),w),afterClearStyles:(e=[])=>{for(const t of e)I[t]="";return w},afterStyles:(e={})=>(I=e,w),afterRemoveClass:e=>(k=u(k,e),w),afterAddClass:e=>(A=u(A,e),w),beforeAddRead:e=>(V.push(e),w),beforeAddWrite:e=>(U.push(e),w),beforeClearStyles:(e=[])=>{for(const t of e)E[t]="";return w},beforeStyles:(e={})=>(E=e,w),beforeRemoveClass:e=>(C=u(C,e),w),beforeAddClass:e=>(x=u(x,e),w),onFinish:K,progressStart:(e=!1,t)=>
1(B.forEach(n=>{n.progressStart(e,t)}),de(),O=e,S?he(!1,!0,t):ae(),w),progressStep:e=>(B.forEach(t=>{t.progressStep(e)}),le(e),w),progressEnd:(e,t,n)=>(O=!1,B.forEach(r=>{r.progressEnd(e,t,n)}),void 0!==n&&(v=n),M=!1,P=!0,0===e?(g="reverse"===ee()?"normal":"reverse","reverse"===g&&(P=!1),W?(he(),le(1-t)):(y=(1-t)*ne()*-1,he(!1,!1))):1===e&&(W?(he(),le(t)):(y=t*ne()*-1,he(!1,!1))),void 0!==e&&(K(()=>{v=void 0,g=void 0,y=void 0},{oneTimeCallback:!0}),f||ge()),w)}}},KmYQ:function(e,t,n){var r;e.exports=(r=n("Ib8C"),n("OLod"),r.pad.ZeroPadding={pad:function(e,t){var n=4*t;e.clamp(),e.sigBytes+=n-(e.sigBytes%n||n)},unpad:function(e){var t=e.words,n=e.sigBytes-1;for(n=e.sigBytes-1;n>=0;n--)if(t[n>>>2]>>>24-n%4*8&255){e.sigBytes=n+1;break}}},r.pad.ZeroPadding)},KqfI:function(e,t,n){"use strict";function r(){}n.d(t,"a",function(){return r})},LRne:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("z+Ro"),i=n("yCtX"),s=n("jZKg");function o(...e){let t=e[e.length-1];return Object(r.a)(t)?(e.pop(),Object(s.a)(e,t)):Object(i.a)(e)}},Lhse:function(e,t,n){"use strict";n.d(t,"a",function(){return r});const r="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},MlIO:function(e,t,n){var r;e.exports=(r=n("Ib8C"),function(e){var t=r,n=t.lib,i=n.Base,s=n.WordArray,o=t.x64={};o.Word=i.extend({init:function(e,t){this.high=e,this.low=t}}),o.WordArray=i.extend({init:function(t,n){t=this.words=t||[],this.sigBytes=n!=e?n:8*t.length},toX32:function(){for(var e=this.words,t=e.length,n=[],r=0;r<t;r++){var i=e[r];n.push(i.high),n.push(i.low)}return s.create(n,this.sigBytes)},clone:function(){for(var e=i.clone.call(this),t=e.words=this.words.slice(0),n=t.length,r=0;r<n;r++)t[r]=t[r].clone();return e}})}(),r)},NFKh:function(e,t,n){var r;e.exports=(r=n("Ib8C"),n("MlIO"),n("F+F2"),n("qM6L"),n("ETIr"),n("wbyO"),n("cv67"),n("3y9D"),n("lPiR"),n("GRuw"),n("1uat"),n("uGsb"),n("5hvy"),n("ELcG"),n("WYAk"),n("e7zE"),n("K3mO"),n("OLod"),n("ALsQ"),n("9OqN"),n("qu8F"),n("S6kV"),n("gb/T"),n("qBft"),n("oRuE"),n("jO9C"),n("KmYQ"),n("uGxW"),n("bQjk"),n("wZgz"),n("pA7S"),n("w7YG"),n("E4JC"),n("PVpz"),n("r1uz"),r)},NJ4a:function(e,t,n){"use strict";function r(e){setTimeout(()=>{throw e},0)}n.d(t,"a",function(){return r})},NXyV:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("HDdC"),i=n("Cfvw"),s=n("EY2u");function o(e){return new r.a(t=>{let n;try{n=e()}catch(r){return void t.error(r)}return(n?Object(i.a)(n):Object(s.b)()).subscribe(t)})}},O1h7:function(e,t,n){"use strict";n.d(t,"b",function(){return r}),n.d(t,"d",function(){return i}),n.d(t,"c",function(){return s}),n.d(t,"a",function(){return o});function r(e,t,n,r){var i,s=arguments.length,o=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(o=(s<3?i(o):s>3?i(t,n,o):i(t,n))||o);return s>3&&o&&Object.defineProperty(t,n,o),o}function i(e,t){return function(n,r){t(n,r,e)}}function s(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function o(e,t,n,r){return new(n||(n=Promise))(function(i,s){function o(e){try{l(r.next(e))}catch(t){s(t)}}function a(e){try{l(r.throw(e))}catch(t){s(t)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,a)}l((r=r.apply(e,t||[])).next())})}},OLod:function(e,t,n){var r;e.exports=(r=n("Ib8C"),n("K3mO"),void(r.lib.Cipher||function(e){var t=r,n=t.lib,i=n.Base,s=n.WordArray,o=n.BufferedBlockAlgorithm,a=t.enc,l=(a.Utf8,a.Base64),c=t.algo.EvpKDF,u=n.Cipher=o.extend({cfg:i.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,n){this.cfg=this.cfg.extend(n),this._xformMode=e,this._key=t,this.reset()},reset:function(){o.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?b:v}return function(t){return{encrypt:function(n,r,i){return e(r).encrypt
1(t,n,r,i)},decrypt:function(n,r,i){return e(r).decrypt(t,n,r,i)}}}}()}),h=(n.StreamCipher=u.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),t.mode={}),d=n.BlockCipherMode=i.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),p=h.CBC=function(){var t=d.extend();function n(t,n,r){var i,s=this._iv;s?(i=s,this._iv=e):i=this._prevBlock;for(var o=0;o<r;o++)t[n+o]^=i[o]}return t.Encryptor=t.extend({processBlock:function(e,t){var r=this._cipher,i=r.blockSize;n.call(this,e,t,i),r.encryptBlock(e,t),this._prevBlock=e.slice(t,t+i)}}),t.Decryptor=t.extend({processBlock:function(e,t){var r=this._cipher,i=r.blockSize,s=e.slice(t,t+i);r.decryptBlock(e,t),n.call(this,e,t,i),this._prevBlock=s}}),t}(),f=(t.pad={}).Pkcs7={pad:function(e,t){for(var n=4*t,r=n-e.sigBytes%n,i=r<<24|r<<16|r<<8|r,o=[],a=0;a<r;a+=4)o.push(i);var l=s.create(o,r);e.concat(l)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},m=(n.BlockCipher=u.extend({cfg:u.cfg.extend({mode:p,padding:f}),reset:function(){var e;u.reset.call(this);var t=this.cfg,n=t.iv,r=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=r.createEncryptor:(e=r.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,n&&n.words):(this._mode=e.call(r,this,n&&n.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),n.CipherParams=i.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}})),g=(t.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,n=e.salt;return(n?s.create([1398893684,1701076831]).concat(n).concat(t):t).toString(l)},parse:function(e){var t,n=l.parse(e),r=n.words;return 1398893684==r[0]&&1701076831==r[1]&&(t=s.create(r.slice(2,4)),r.splice(0,4),n.sigBytes-=16),m.create({ciphertext:n,salt:t})}},v=n.SerializableCipher=i.extend({cfg:i.extend({format:g}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var i=e.createEncryptor(n,r),s=i.finalize(t),o=i.cfg;return m.create({ciphertext:s,key:n,iv:o.iv,algorithm:e,mode:o.mode,padding:o.padding,blockSize:e.blockSize,formatter:r.format})},decrypt:function(e,t,n,r){return r=this.cfg.extend(r),t=this._parse(t,r.format),e.createDecryptor(n,r).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),y=(t.kdf={}).OpenSSL={execute:function(e,t,n,r,i){if(r||(r=s.random(8)),i)o=c.create({keySize:t+n,hasher:i}).compute(e,r);else var o=c.create({keySize:t+n}).compute(e,r);var a=s.create(o.words.slice(t),4*n);return o.sigBytes=4*t,m.create({key:o,iv:a,salt:r})}},b=n.PasswordBasedCipher=v.extend({cfg:v.cfg.extend({kdf:y}),encrypt:function(e,t,n,r){var i=(r=this.cfg.extend(r)).kdf.execute(n,e.keySize,e.ivSize,r.salt,r.hasher);r.iv=i.iv;var s=v.encrypt.call(this,e,t,i.key,r);return s.mixIn(i),s},decrypt:function(e,t,n,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var i=r.kdf.execute(n,e.keySize,e.ivSize,t.salt,r.hasher);return r.iv=i.iv,v.decrypt.call(this,e,t,i.key,r)}})}()))},PVpz:function(e,t,n){var r;e.exports=(r=n("Ib8C"),n("ETIr"),n("cv67"),n("K3mO"),n("OLod"),function(){var e=r,t=e.lib.StreamCipher,n=e.algo,i=[],s=[],o=[],a=n.RabbitLegacy=t.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],r=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var i=0;i<4;i++)l.call(this);for(i=0;i<8;i++)r[i]^=n[i+4&7];if(t){var s=t.words,o=s[0],a=s[1],c=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),u=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),h=c>>>16|4294901760&u,d=u<<16|65535&c;for(r[0]^=c,r[1]^=h,r[2]^=u,r[3]^=d,r[4]^=c,r[5]^=h,r[6]^=u,r[7]^=d,i=0;i<4;i++)l.call(this)}},_doProcessBlock:function(e,t){var n=this._X;l.call(this),i[0]=n[0]^n[5]>>>16^n[3]<<16,i[1]=n[2]^n[7]>>>16^n[5]<<16,i[2]=n[4]^n[1]>>>16^n[7]<<16,i[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)i[r]=16711935&(i[r]<<8|i[r]>>>24)|4278255360&(i[r]<<24|i[r]>>>8),e[t+r]^=i[r]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,n=0;n<8;n++)s[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<s[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<s[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<s[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<s[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<s[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<s[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<s[6]>>>0?1:0)|0,this._b=t[7]>>>0<s[7]>>>0?1:0,n=0;n<8;n++){var r=e[n]+t[n],i=65535&r,a=r>>>16,l=((i*i>>>17)+i*a>>>15)+a*a,c=((4294901760&r)*r|0)+((65535&r)*r|0);o[n]=l^c}e[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,e[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,e[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,e[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,e[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,e[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,e[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,e[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}e.RabbitLegacy=t._createHelper(a)}(),r.RabbitLegacy)},S6kV:function(e,t,n){var r,i,s;e.exports=(s=n("Ib8C"),n("OLod"),s.mode.OFB=(r=s.lib.BlockCipherMode.extend(),i=r.Encryptor=r.extend({processBlock:function(e,t){var n=this._cipher,r=n.blockSize,i=this._iv,s=this._keystream;i&&(s=this._keystream=i.slice(0),this._iv=void 0),n.encryptBlock(s,0);for(var o=0;o<r;o++)e[t+o]^=s[o]}}),r.Decryptor=i,r),s.mode.OFB)},SeVD:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var r=n("ngJS"),i=n("NJ4a");var s=n("Lhse");var o=n("kJWO");var a=n("I55L"),l=n("c2HN"),c=n("XoHu");const u=e=>{if(e&&"function"==typeof e[o.a])return u=e,e=>{const t=u[o.a]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(Object(a.a)(e))return Object(r.a)(e);if(Object(l.a)(e))return n=e,e=>(n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,i.a),e);if(e&&"function"==typeof e[s.a])return t=e,e=>{const n=t[s.a]();for(;;){let t;try{t=n.next()}catch(r){return e.error(r),e}if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof n.return&&e.add(()=>{n.return&&n.return()}),e};
1{const t=Object(c.a)(e)?"an invalid object":`'${e}'`;throw new TypeError(`You provided ${t} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var t,n,u}},SpAZ:function(e,t,n){"use strict";function r(e){return e}n.d(t,"a",function(){return r})},"TEn/":function(e,t,n){"use strict";n.d(t,"a",function(){return Jt}),n.d(t,"b",function(){return ge}),n.d(t,"c",function(){return at}),n.d(t,"d",function(){return fn}),n.d(t,"e",function(){return hn}),n.d(t,"f",function(){return en}),n.d(t,"g",function(){return rn}),n.d(t,"h",function(){return W}),n.d(t,"i",function(){return _t}),n.d(t,"j",function(){return H}),n.d(t,"k",function(){return sn}),n.d(t,"l",function(){return on});var r=n("O1h7"),i=n("fXoL"),s=n("3Pt+"),o=n("ofXK"),a=n("tyNb"),l=n("Kfhc"),c=(n("+lAO"),n("qhJI"),n("bC4P")),u=n("KF81"),h=n("E/Mt"),d=n("W6o/"),p=(n("39oe"),n("qb1Q")),f=n("gfLf"),m=n("f9PN"),g=(n("y08P"),n("wEJo"));n("B4Jq");var v=n("XNiG"),y=n("xgIS"),b=n("2Vo4"),w=n("pLZG"),_=n("eIep"),x=n("/uUt");const C=h.e,S=(e,t)=>"undefined"==typeof window?Promise.resolve():(g.b&&g.b.supports&&g.b.supports("color","var(--c)")?Object(g.d)():n.e(14).then(n.t.bind(null,"9qUq",7)).then(()=>(g.n.$cssShim$=g.q.__cssshim)?g.n.$cssShim$.i():0)).then(()=>(C(),Object(g.e)(JSON.parse('[["ion-select_3",[[2,"ion-select-popover",{"header":[1],"subHeader":[1,"sub-header"],"message":[1],"options":[16]},[[0,"ionChange","onSelect"]]],[33,"ion-select",{"disabled":[4],"cancelText":[1,"cancel-text"],"okText":[1,"ok-text"],"placeholder":[1],"name":[1],"selectedText":[1,"selected-text"],"multiple":[4],"interface":[1],"interfaceOptions":[8,"interface-options"],"compareWith":[1,"compare-with"],"value":[1032],"isExpanded":[32],"open":[64]}],[1,"ion-select-option",{"disabled":[4],"value":[8]}]]],["ion-menu_3",[[33,"ion-menu-button",{"color":[513],"disabled":[4],"menu":[1],"autoHide":[4,"auto-hide"],"type":[1],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]],[33,"ion-menu",{"contentId":[513,"content-id"],"menuId":[513,"menu-id"],"type":[1025],"disabled":[1028],"side":[513],"swipeGesture":[4,"swipe-gesture"],"maxEdgeStart":[2,"max-edge-start"],"isPaneVisible":[32],"isEndSide":[32],"isOpen":[64],"isActive":[64],"open":[64],"close":[64],"toggle":[64],"setOpen":[64]},[[16,"ionSplitPaneVisible","onSplitPaneChanged"],[2,"click","onBackdropClick"],[0,"keydown","onKeydown"]]],[1,"ion-menu-toggle",{"menu":[1],"autoHide":[4,"auto-hide"],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]]]],["ion-action-sheet",[[34,"ion-action-sheet",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"header":[1],"subHeader":[1,"sub-header"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-fab_3",[[33,"ion-fab-button",{"color":[513],"activated":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1],"show":[4],"translucent":[4],"type":[1],"size":[1],"closeIcon":[1,"close-icon"]}],[1,"ion-fab",{"horizontal":[1],"vertical":[1],"edge":[4],"activated":[1028],"close":[64]}],[1,"ion-fab-list",{"activated":[4],"side":[1]}]]],["ion-refresher_2",[[0,"ion-refresher-content",{"pullingIcon":[1025,"pulling-icon"],"pullingText":[1,"pulling-text"],"refreshingSpinner":[1025,"refreshing-spinner"],"refreshingText":[1,"refreshing-text"]}],[32,"ion-refresher",{"pullMin":[2,"pull-min"],"pullMax":[2,"pull-max"],"closeDuration":[1,"close-duration"],"snapbackDuration":[1,"snapback-duration"],"pullFactor":[2,"pull-factor"],"disabled":[4],"nativeRefresher":[32],"state":[32],"complete":[64],"cancel":[64],"getProgress":[64]}]]],["ion-alert",[[34,"ion-alert",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"header":[1],"subHeader":[1,"sub-header"],"message":[1],"buttons":[16],"inputs":[1040],"backdropDismiss":[4,"backdrop-dismiss"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},[[4,"keydown","onKeydown"]]]]],["ion-back-button",[[33,"ion-back-button",{"color":[513],"defaultHref":[1025,"default-href"],"disabled":[516],"icon":[1],"text":[1],"type":[1],"routerAnimation":[16]}]]],["ion-loading",[[34,"ion-loading",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"message":[1],"cssClass":[1,"css-class"],"duration":[2],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"spinner":[1025],"translucent":[4],"animated":[4],"htmlAttributes":[16],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-toast",[[33,"ion-toast",{"overlayIndex":[2,"overlay-index"],"color":[513],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"duration":[2],"header":[1],"message":[1],"keyboardClose":[4,"keyboard-close"],"position":[1],"buttons":[16],"translucent":[4],"animated":[4],"htmlAttributes":[16],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-card_5",[[33,"ion-card",{"color":[513],"button":[4],"type":[1],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}],[32,"ion-card-content"],[33,"ion-card-header",{"color":[513],"translucent":[4]}],[33,"ion-card-subtitle",{"color":[513]}],[33,"ion-card-title",{"color":[513]}]]],["ion-item-option_3",[[33,"ion-item-option",{"color":[513],"disabled":[4],"download":[1],"expandable":[4],"href":[1],"rel":[1],"target":[1],"type":[1]}],[32,"ion-item-options",{"side":[1],"fireSwipeEvent":[64]}],[0,"ion-item-sliding",{"disabled":[4],"state":[32],"getOpenAmount":[64],"getSlidingRatio":[64],"open":[64],"close":[64],"closeOpened":[64]}]]],["ion-infinite-scroll_2",[[32,"ion-infinite-scroll-content",{"loadingSpinner":[1025,"loading-spinner"],"loadingText":[1,"loading-text"]}],[0,"ion-infinite-scroll",{"threshold":[1],"disabled":[4],"position":[1],"isLoading":[32],"complete":[64]}]]],["ion-reorder_2",[[33,"ion-reorder",null,[[2,"click","onClick"]]],[0,"ion-reorder-group",{"disabled":[4],"state":[32],"complete":[64]}]]],["ion-segment_2",[[33,"ion-segment-button",{"disabled":[4],"layout":[1],"type":[1],"value":[1],"checked":[32]}],[33,"ion-segment",{"color":[513],"disabled":[4],"scrollable":[4],"swipeGesture":[4,"swipe-gesture"],"value":[1025],"activated":[32]}]]],["ion-tab-bar_2",[[33,"ion-tab-button",{"disabled":[4],"download":[1],"href":[1],"rel":[1],"layout":[1025],"selected":[1028],"tab":[1],"target":[1]},[[8,"ionTabBarChanged","onTabBarChanged"]]],[33,"ion-tab-bar",{"color":[513],"selectedTab":[1,"selected-tab"],"translucent":[4],"keyboardVisible":[32]}]]],["ion-chip",[[33,"ion-chip",{"color":[513],"outline":[4],"disabled":[4]}]]],["ion-modal",[[34,"ion-modal",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"component":[1],"componentProps":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"animated":[4],"swipeToClose":[4,"swipe-to-close"],"presentingElement":[16],"htmlAttributes":[16],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-popover",[[34,"ion-popover",{"delegate":[16],"overlayIndex":[2,"overlay-index"],"enterAnimation":[16],"leaveAnimation":[16],"component":[1],"componentProps":[16],"keyboardClose":[4,"keyboard-close"],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"event":[8],"showBackdrop":[4,"show-backdrop"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-searchbar",[[34,"ion-searchbar",{"color":[513],"animated":[4],"autocomplete":[
11],"autocorrect":[1],"cancelButtonIcon":[1,"cancel-button-icon"],"cancelButtonText":[1,"cancel-button-text"],"clearIcon":[1,"clear-icon"],"debounce":[2],"disabled":[4],"inputmode":[1],"enterkeyhint":[1],"placeholder":[1],"searchIcon":[1,"search-icon"],"showCancelButton":[1,"show-cancel-button"],"showClearButton":[1,"show-clear-button"],"spellcheck":[4],"type":[1],"value":[1025],"focused":[32],"noAnimate":[32],"setFocus":[64],"getInputElement":[64]}]]],["ion-app_8",[[0,"ion-app"],[34,"ion-buttons",{"collapse":[4]}],[1,"ion-content",{"color":[513],"fullscreen":[4],"forceOverscroll":[1028,"force-overscroll"],"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"scrollEvents":[4,"scroll-events"],"getScrollElement":[64],"scrollToTop":[64],"scrollToBottom":[64],"scrollByPoint":[64],"scrollToPoint":[64]},[[8,"appload","onAppLoad"]]],[36,"ion-footer",{"translucent":[4]}],[36,"ion-header",{"collapse":[1],"translucent":[4]}],[1,"ion-router-outlet",{"mode":[1025],"delegate":[16],"animated":[4],"animation":[16],"swipeHandler":[16],"commit":[64],"setRouteId":[64],"getRouteId":[64]}],[33,"ion-title",{"color":[513],"size":[1]}],[33,"ion-toolbar",{"color":[513]},[[0,"ionStyle","childrenStyle"]]]]],["ion-route_4",[[0,"ion-route",{"url":[1],"component":[1],"componentProps":[16],"beforeLeave":[16],"beforeEnter":[16]}],[0,"ion-route-redirect",{"from":[1],"to":[1]}],[0,"ion-router",{"root":[1],"useHash":[4,"use-hash"],"canTransition":[64],"push":[64],"back":[64],"printDebug":[64],"navChanged":[64]},[[8,"popstate","onPopState"],[4,"ionBackButton","onBackButton"]]],[1,"ion-router-link",{"color":[513],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}]]],["ion-avatar_3",[[33,"ion-avatar"],[33,"ion-badge",{"color":[513]}],[1,"ion-thumbnail"]]],["ion-col_3",[[1,"ion-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]],[1,"ion-grid",{"fixed":[4]}],[1,"ion-row"]]],["ion-nav_2",[[1,"ion-nav",{"delegate":[16],"swipeGesture":[1028,"swipe-gesture"],"animated":[4],"animation":[16],"rootParams":[16],"root":[1],"push":[64],"insert":[64],"insertPages":[64],"pop":[64],"popTo":[64],"popToRoot":[64],"removeIndex":[64],"setRoot":[64],"setPages":[64],"setRouteId":[64],"getRouteId":[64],"getActive":[64],"getByIndex":[64],"canGoBack":[64],"getPrevious":[64]}],[0,"ion-nav-link",{"component":[1],"componentProps":[16],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}]]],["ion-slide_2",[[0,"ion-slide"],[36,"ion-slides",{"options":[8],"pager":[4],"scrollbar":[4],"update":[64],"updateAutoHeight":[64],"slideTo":[64],"slideNext":[64],"slidePrev":[64],"getActiveIndex":[64],"getPreviousIndex":[64],"length":[64],"isEnd":[64],"isBeginning":[64],"startAutoplay":[64],"stopAutoplay":[64],"lockSwipeToNext":[64],"lockSwipeToPrev":[64],"lockSwipes":[64],"getSwiper":[64]}]]],["ion-tab_2",[[1,"ion-tab",{"active":[1028],"delegate":[16],"tab":[1],"component":[1],"setActive":[64]}],[1,"ion-tabs",{"useRouter":[1028,"use-router"],"selectedTab":[32],"select":[64],"getTab":[64],"getSelected":[64],"setRouteId":[64],"getRouteId":[64]}]]],["ion-checkbox",[[33,"ion-checkbox",{"color":[513],"name":[1],"checked":[1028],"indeterminate":[1028],"disabled":[4],"value":[1]}]]],["ion-img",[[1,"ion-img",{"alt":[1],"src":[1],"loadSrc":[32],"loadError":[32]}]]],["ion-input",[[34,"ion-input",{"fireFocusEvents":[4,"fire-focus-events"],"color":[513],"accept":[1],"autocapitalize":[1],"autocomplete":[
11],"autocorrect":[1],"autofocus":[4],"clearInput":[4,"clear-input"],"clearOnEdit":[4,"clear-on-edit"],"debounce":[2],"disabled":[4],"enterkeyhint":[1],"inputmode":[1],"max":[1],"maxlength":[2],"min":[1],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"step":[1],"size":[2],"type":[1],"value":[1032],"hasFocus":[32],"setFocus":[64],"setBlur":[64],"getInputElement":[64]}]]],["ion-progress-bar",[[33,"ion-progress-bar",{"type":[1],"reversed":[4],"value":[2],"buffer":[2],"color":[513]}]]],["ion-range",[[33,"ion-range",{"color":[513],"debounce":[2],"name":[1],"dualKnobs":[4,"dual-knobs"],"min":[2],"max":[2],"pin":[4],"snaps":[4],"step":[2],"ticks":[4],"disabled":[4],"value":[1026],"ratioA":[32],"ratioB":[32],"pressedKnob":[32]}]]],["ion-split-pane",[[33,"ion-split-pane",{"contentId":[513,"content-id"],"disabled":[4],"when":[8],"visible":[32]}]]],["ion-text",[[1,"ion-text",{"color":[513]}]]],["ion-textarea",[[34,"ion-textarea",{"fireFocusEvents":[4,"fire-focus-events"],"color":[513],"autocapitalize":[1],"autofocus":[4],"clearOnEdit":[1028,"clear-on-edit"],"debounce":[2],"disabled":[4],"inputmode":[1],"enterkeyhint":[1],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"cols":[2],"rows":[2],"wrap":[1],"autoGrow":[4,"auto-grow"],"value":[1025],"hasFocus":[32],"setFocus":[64],"setBlur":[64],"getInputElement":[64]}]]],["ion-toggle",[[33,"ion-toggle",{"color":[513],"name":[1],"checked":[1028],"disabled":[4],"value":[1],"activated":[32]}]]],["ion-virtual-scroll",[[0,"ion-virtual-scroll",{"approxItemHeight":[2,"approx-item-height"],"approxHeaderHeight":[2,"approx-header-height"],"approxFooterHeight":[2,"approx-footer-height"],"headerFn":[16],"footerFn":[16],"items":[16],"itemHeight":[16],"headerHeight":[16],"footerHeight":[16],"renderItem":[16],"renderHeader":[16],"renderFooter":[16],"nodeRender":[16],"domRender":[16],"totalHeight":[32],"positionForItem":[64],"checkRange":[64],"checkEnd":[64]},[[9,"resize","onResize"]]]]],["ion-datetime_3",[[34,"ion-picker",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"columns":[16],"cssClass":[1,"css-class"],"duration":[2],"showBackdrop":[4,"show-backdrop"],"backdropDismiss":[4,"backdrop-dismiss"],"animated":[4],"htmlAttributes":[16],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"getColumn":[64]}],[33,"ion-datetime",{"name":[1],"disabled":[4],"readonly":[4],"min":[1025],"max":[1025],"displayFormat":[1,"display-format"],"displayTimezone":[1,"display-timezone"],"pickerFormat":[1,"picker-format"],"cancelText":[1,"cancel-text"],"doneText":[1,"done-text"],"yearValues":[8,"year-values"],"monthValues":[8,"month-values"],"dayValues":[8,"day-values"],"hourValues":[8,"hour-values"],"minuteValues":[8,"minute-values"],"monthNames":[1,"month-names"],"monthShortNames":[1,"month-short-names"],"dayNames":[1,"day-names"],"dayShortNames":[1,"day-short-names"],"pickerOptions":[16],"placeholder":[1],"value":[1025],"isExpanded":[32],"open":[64]}],[32,"ion-picker-column",{"col":[16]}]]],["ion-radio_2",[[33,"ion-radio",{"color":[513],"name":[1],"disabled":[4],"value":[8],"checked":[32],"buttonTabindex":[32],"setFocus":[64],"setButtonTabindex":[64]}],[0,"ion-radio-group",{"allowEmptySelection":[4,"allow-empty-selection"],"name":[1],"value":[1032]},[[4,"keydown","onKeydown"]]]]],["ion-spinner",[[1,"ion-spinner",{"color":[513],"duration":[2],"name":[1],"paused":[4]}]]],["ion-backdrop",[[33,"ion-backdrop",{"visible":[4],"tappable":[4],"stopPropagation":[4,"stop-propagation"]},[[2,"click","onMouseDown"]]]]],["ion-ripple-effect",[[1,"ion-ripple-effect",{"type":[1],"addRipple":[64]}]]],["ion-button_2",[[33,"ion-button",{"color":[513],"buttonType":[1025,"button-type"],"disabled":[516],"expand":[513],"fill":[1537],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"download":[1],"href":[1],"rel":[1],"shape":[513],"size":[513],"strong":[4],"target":[1],"type":[1]}],[1,"ion-icon",{"mode":[1025],"color":[1],"ariaLabel":[1537,"aria-label"],"ariaHidden":[513,"aria-hidden"],"ios":[1],"md":[1],"flipRtl":[4,"flip-rtl"],"name":[513],"src":[1],"icon":[8],"size":[1],"lazy":[4],"sanitize":[4],"svgContent":[32],"isVisible":[32]}]]],["ion-item_8",[[33,"ion-item-divider",{"color":[513],"sticky":[4]}],[32,"ion-item-group"],[33,"ion-note",{"color":[513]}],[1,"ion-skeleton-text",{"animated":[4]}],[49,"ion-item",{"color":[513],"button":[4],"detail":[4],"detailIcon":[1,"detail-icon"],"disabled":[4],"download":[1],"href":[1],"rel":[1],"lines":[1],"routerAnimation":[16],"routerDirection":[1,"router-direction"],"target":[1],"type":[1],"multipleInputs":[32],"focu
1sable":[32]},[[0,"ionColor","labelColorChanged"],[0,"ionStyle","itemStyle"]]],[34,"ion-label",{"color":[513],"position":[1],"noAnimate":[32]}],[32,"ion-list",{"lines":[1],"inset":[4],"closeSlidingItems":[64]}],[33,"ion-list-header",{"color":[513],"lines":[1]}]]]]'),t))),E=["*"],A=["outlet"],k=[[["","slot","top"]],"*"],I=e=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(e):"function"==typeof requestAnimationFrame?requestAnimationFrame(e):setTimeout(e);class T{constructor(e,t){this.injector=e,this.el=t,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(e){this.el.nativeElement.value=this.lastValue=null==e?"":e,O(this.el)}handleChangeEvent(e,t){e===this.el.nativeElement&&(t!==this.lastValue&&(this.lastValue=t,this.onChange(t)),O(this.el))}_handleBlurEvent(e){e===this.el.nativeElement&&(this.onTouched(),O(this.el))}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.el.nativeElement.disabled=e}ngOnDestroy(){this.statusChanges&&this.statusChanges.unsubscribe()}ngAfterViewInit(){let e;try{e=this.injector.get(s.d)}catch(n){}if(!e)return;e.statusChanges&&(this.statusChanges=e.statusChanges.subscribe(()=>O(this.el)));const t=e.control;if(t){["markAsTouched","markAllAsTouched","markAsUntouched","markAsDirty","markAsPristine"].forEach(e=>{if(t[e]){const n=t[e].bind(t);t[e]=(...e)=>{n(...e),O(this.el)}}})}}}T.\u0275fac=function(e){i.Yc()},T.\u0275dir=i.Hc({type:T,hostBindings:function(e,t){1&e&&i.Zc("ionBlur",function(e){return t._handleBlurEvent(e.target)})}}),Object(r.b)([Object(i.A)("ionBlur",["$event.target"])],T.prototype,"_handleBlurEvent",null);const O=e=>{I(()=>{const t=e.nativeElement,n=D(t);P(t,n);const r=t.closest("ion-item");r&&P(r,n)})},D=e=>{const t=e.classList,n=[];for(let r=0;r<t.length;r++){const e=t.item(r);null!==e&&M(e,"ng-")&&n.push(`ion-${e.substr(3)}`)}return n},P=(e,t)=>{const n=e.classList;["ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"].forEach(e=>n.remove(e)),t.forEach(e=>n.add(e))},M=(e,t)=>e.substr(0,t.length)===t;var N;let R=N=class extends T{constructor(e,t){super(e,t)}writeValue(e){this.el.nativeElement.checked=this.lastValue=null!=e&&e,O(this.el)}_handleIonChange(e){this.handleChangeEvent(e,e.checked)}};var L;R.\u0275fac=function(e){return new(e||R)(i.Mc(i.G),i.Mc(i.v))},R.\u0275dir=i.Hc({type:R,selectors:[["ion-checkbox"],["ion-toggle"]],hostBindings:function(e,t){1&e&&i.Zc("ionChange",function(e){return t._handleIonChange(e.target)})},features:[i.Bc([{provide:s.c,useExisting:N,multi:!0}]),i.zc]}),R.ctorParameters=()=>[{type:i.G},{type:i.v}],Object(r.b)([Object(i.A)("ionChange",["$event.target"])],R.prototype,"_handleIonChange",null);let j=L=class extends T{constructor(e,t){super(e,t)}_handleIonChange(e){this.handleChangeEvent(e,e.value)}registerOnChange(e){super.registerOnChange(t=>{e(""===t?null:parseFloat(t))})}};var F;j.\u0275fac=function(e){return new(e||j)(i.Mc(i.G),i.Mc(i.v))},j.\u0275dir=i.Hc({type:j,selectors:[["ion-input","type","number"]],hostBindings:function(e,t){1&e&&i.Zc("ionChange",function(e){return t._handleIonChange(e.target)})},features:[i.Bc([{provide:s.c,useExisting:L,multi:!0}]),i.zc]}),j.ctorParameters=()=>[{type:i.G},{type:i.v}],Object(r.b)([Object(i.A)("ionChange",["$event.target"])],j.prototype,"_handleIonChange",null);let B=F=class extends T{constructor(e,t){super(e,t)}_handleIonSelect(e){this.handleChangeEvent(e,e.checked)}};var $;B.\u0275fac=function(e){return new(e||B)(i.Mc(i.G),i.Mc(i.v))},B.\u0275dir=i.Hc({type:B,selectors:[["ion-radio"]],hostBindings:function(e,t){1&e&&i.Zc("ionSelect",function(e){return t._handleIonSelect(e.target)})},features:[i.Bc([{provide:s.c,useExisting:F,multi:!0}]),i.zc]}),B.ctorParameters=()=>[{type:i.G},{type:i.v}],Object(r.b)([Object(i.A)("ionSelect",["$event.target"])],B.prototype,"_handleIonSelect",null);let V=$=class extends T{constructor(e,t){super(e,t)}_handleChangeEvent(e){this.handleChangeEvent(e,e.value)}};var U;V.\u0275fac=function(e){return new(e||V)(i.Mc(i.G),i.Mc(i.v))},V.\u0275dir=i.Hc({type:V,selectors:[["ion-range"],["ion-select"],["ion-radio-group"],["ion-segment"],["ion-datetime"]],hostBindings:function(e,t){1&e&&i.Zc("ionChange",function(e){return t._handleChangeEvent(e.target)})},features:[i.Bc([{provide:s.c,useExisting:$,multi:!0}]),i.zc]}),V.ctorParameters=()=>[{type:i.G},{type:i.v}],Object(r.b)([Object(i.A)("ionChange",["$event.target"])],V.prototype,"_handleChangeEvent",null);let z=U=class extends T{constructor(e,t){super(e,t)}_handleInputEvent(e){this.handleChangeEvent(e,e.value)}};z.\u0275fac=function(e){return new(e||z)(i.Mc(i.G),i.Mc(i.v))},z.\u0275dir=i.Hc({type:z,selectors:[["ion-input",3,"type","number"],["ion-textarea"],["ion-searchbar"]],hostBindings:function(e,t){1&e&&i.Zc("ionChange",function(e){return t._handleInputEvent(e.target)})},features:[i.Bc([{provide:s.c,useExisting:U,multi:!0}]),i.zc]}),z.ctorParameters=()=>[{type:i.G},{type:i.v}],Object(r.b)([Object(i.A)("ionChange",["$event.target"])],z.prototype,"_handleInputEvent",null);let H=class{constructor(e,t){this.doc=e,this.backButton=new v.a,this.keyboardDidShow=new v.a,this.keyboardDidHide=new v.a,this.pause=new v.a,this.resume=new v.a,this.resize=new v.a,t.run(()=>{let n;this.win=e.defaultView,this.backButton.subscribeWithPriority=function(e,n){return this.subscribe(r=>r.register(e,e=>t.run(()=>n(e))))},G(this.pause,e,"pause"),G(this.resume,e,"resume"),G(this.backButton,e,"ionBackButton"),G(this.resize,this.win,"resize"),G(this.keyboardDidShow,this.win,"ionKeyboardDidShow"),G(this.keyboardDidHide,this.win,"ionKeyboardDidHide"),this._readyPromise=new Promise(e=>{n=e}),this.win&&this.win.cordova?e.addEventListener("deviceready",()=>{n("cordova")},{once:!0}):n("dom")})}is(e){return Object(h.a)(this.win,e)}platforms(){return Object(h.d)(this.win)}ready(){return this._readyPromise}get isRTL(){return"rtl"===this.doc.dir}getQueryParam(e){return q(this.win.location.href,e)}isLandscape(){return!this.isPortrait()}isPortrait(){return this.win.matchMedia&&this.win.matchMedia("(orientation: portrait)").matches}testUserAgent(e){const t=this.win.navigator;return!!(t&&t.userAgent&&t.userAgent.indexOf(e)>=0)}url(){return this.win.location.href}width(){return this.win.innerWidth}height(){return this.win.innerHeight}};H.\u0275fac=function(e){return new(e||H)(i.Vc(o.c),i.Vc(i.R))},H.\u0275prov=i.Ic({token:H,factory:function(e){return H.\u0275fac(e)},providedIn:"root"}),H.ctorParameters=()=>[{type:void 0,decorators:[{type:i.C,args:[o.c]}]},{type:i.R}],H.ngInjectableDef=Object(i.Ic)({factory:function(){return new H(Object(i.Vc)(o.c),Object(i.Vc)(i.R))},token:H,providedIn:"root"}),H=Object(r.b)([Object(r.d)(0,Object(i.C)(o.c))],H);const q=(e,t)=>
1{t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");const n=new RegExp("[\\?&]"+t+"=([^&#]*)").exec(e);return n?decodeURIComponent(n[1].replace(/\+/g," ")):null},G=(e,t,n)=>{t&&t.addEventListener(n,t=>{e.next(null!=t?t.detail:void 0)})};let W=class{constructor(e,t,n,r){this.location=t,this.serializer=n,this.router=r,this.direction=K,this.animated=X,this.guessDirection="forward",this.lastNavId=-1,r&&r.events.subscribe(e=>{if(e instanceof a.d){const t=e.restoredState?e.restoredState.navigationId:e.id;this.guessDirection=t<this.lastNavId?"back":"forward",this.guessAnimation=e.restoredState?void 0:this.guessDirection,this.lastNavId="forward"===this.guessDirection?e.id:t}}),e.backButton.subscribeWithPriority(0,e=>{this.pop(),e()})}navigateForward(e,t={}){return this.setDirection("forward",t.animated,t.animationDirection,t.animation),this.navigate(e,t)}navigateBack(e,t={}){return this.setDirection("back",t.animated,t.animationDirection,t.animation),this.navigate(e,t)}navigateRoot(e,t={}){return this.setDirection("root",t.animated,t.animationDirection,t.animation),this.navigate(e,t)}back(e={animated:!0,animationDirection:"back"}){return this.setDirection("back",e.animated,e.animationDirection,e.animation),this.location.back()}pop(){return Object(r.a)(this,void 0,void 0,function*(){let e=this.topOutlet;for(;e&&!(yield e.pop());)e=e.parentOutlet})}setDirection(e,t,n,r){this.direction=e,this.animated=Q(e,t,n),this.animationBuilder=r}setTopOutlet(e){this.topOutlet=e}consumeTransition(){let e,t="root";const n=this.animationBuilder;return"auto"===this.direction?(t=this.guessDirection,e=this.guessAnimation):(e=this.animated,t=this.direction),this.direction=K,this.animated=X,this.animationBuilder=void 0,{direction:t,animation:e,animationBuilder:n}}navigate(e,t){if(Array.isArray(e))return this.router.navigate(e,t);{const n=this.serializer.parse(e.toString());return void 0!==t.queryParams&&(n.queryParams=Object.assign({},t.queryParams)),void 0!==t.fragment&&(n.fragment=t.fragment),this.router.navigateByUrl(n,t)}}};W.\u0275fac=function(e){return new(e||W)(i.Vc(H),i.Vc(o.h),i.Vc(a.k),i.Vc(a.h,8))},W.\u0275prov=i.Ic({token:W,factory:function(e){return W.\u0275fac(e)},providedIn:"root"}),W.ctorParameters=()=>[{type:H},{type:o.h},{type:a.k},{type:a.h,decorators:[{type:i.S}]}],W.ngInjectableDef=Object(i.Ic)({factory:function(){return new W(Object(i.Vc)(H),Object(i.Vc)(o.h),Object(i.Vc)(a.k),Object(i.Vc)(a.h,8))},token:W,providedIn:"root"}),W=Object(r.b)([Object(r.d)(3,Object(i.S)())],W);const Q=(e,t,n)=>{if(!1!==t)return void 0!==n?n:"forward"===e||"back"===e?e:"root"===e&&!0===t?"forward":void 0},K="auto",X=void 0,Y=(e,t)=>{const n=e.prototype;t.forEach(e=>{Object.defineProperty(n,e,{get(){return this.el[e]},set(t){this.z.runOutsideAngular(()=>this.el[e]=t)}})})},Z=(e,t)=>{const n=e.prototype;t.forEach(e=>{n[e]=function(){const t=arguments;return this.z.runOutsideAngular(()=>this.el[e].apply(this.el,t))}})},J=(e,t,n)=>{n.forEach(n=>e[n]=Object(y.a)(t,n))};function ee(e){return function(t){return e.inputs&&Y(t,e.inputs),e.methods&&Z(t,e.methods),t}}let te=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};te.\u0275fac=function(e){return new(e||te)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},te.\u0275cmp=i.Gc({type:te,selectors:[["ion-app"]],ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),te.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}];let ne=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};ne.\u0275fac=function(e){return new(e||ne)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},ne.\u0275cmp=i.Gc({type:ne,selectors:[["ion-avatar"]],ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),ne.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}];let re=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};re.\u0275fac=function(e){return new(e||re)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},re.\u0275cmp=i.Gc({type:re,selectors:[["ion-back-button"]],inputs:{color:"color",defaultHref:"defaultHref",disabled:"disabled",icon:"icon",mode:"mode",routerAnimation:"routerAnimation",text:"text",type:"type"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),re.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],re=Object(r.b)([ee({inputs:["color","defaultHref","disabled","icon","mode","routerAnimation","text","type"]})],re);let ie=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,J(this,this.el,["ionBackdropTap"])}};ie.\u0275fac=function(e){return new(e||ie)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},ie.\u0275cmp=i.Gc({type:ie,selectors:[["ion-backdrop"]],inputs:{stopPropagation:"stopPropagation",ta
1ppable:"tappable",visible:"visible"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),ie.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],ie=Object(r.b)([ee({inputs:["stopPropagation","tappable","visible"]})],ie);let se=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};se.\u0275fac=function(e){return new(e||se)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},se.\u0275cmp=i.Gc({type:se,selectors:[["ion-badge"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),se.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],se=Object(r.b)([ee({inputs:["color","mode"]})],se);let oe=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,J(this,this.el,["ionFocus","ionBlur"])}};oe.\u0275fac=function(e){return new(e||oe)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},oe.\u0275cmp=i.Gc({type:oe,selectors:[["ion-button"]],inputs:{buttonType:"buttonType",color:"color",disabled:"disabled",download:"download",expand:"expand",fill:"fill",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",size:"size",strong:"strong",target:"target",type:"type"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),oe.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],oe=Object(r.b)([ee({inputs:["buttonType","color","disabled","download","expand","fill","href","mode","rel","routerAnimation","routerDirection","shape","size","strong","target","type"]})],oe);let ae=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};ae.\u0275fac=function(e){return new(e||ae)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},ae.\u0275cmp=i.Gc({type:ae,selectors:[["ion-buttons"]],inputs:{collapse:"collapse"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),ae.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],ae=Object(r.b)([ee({inputs:["collapse"]})],ae);let le=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};le.\u0275fac=function(e){return new(e||le)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},le.\u0275cmp=i.Gc({type:le,selectors:[["ion-card"]],inputs:{button:"button",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",target:"target",type:"type"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),le.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],le=Object(r.b)([ee({inputs:["button","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","target","type"]})],le);let ce=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};ce.\u0275fac=function(e){return new(e||ce)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},ce.\u0275cmp=i.Gc({type:ce,selectors:[["ion-card-content"]],inputs:{mode:"mode"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),ce.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],ce=Object(r.b)([ee({inputs:["mode"]})],ce);let ue=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};ue.\u0275fac=function(e){return new(e||ue)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},ue.\u0275cmp=i.Gc({type:ue,selectors:[["ion-card-header"]],inputs:{color:"color",mode:"mode",translucent:"translucent"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),ue.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],ue=Object(r.b)([ee({inputs:["color","mode","translucent"]})],ue);let he=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};he.\u0275fac=function(e){return new(e||he)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},he.\u0275cmp=i.Gc({type:he,selectors:[["ion-card-subtitle"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),he.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}
1],he=Object(r.b)([ee({inputs:["color","mode"]})],he);let de=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};de.\u0275fac=function(e){return new(e||de)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},de.\u0275cmp=i.Gc({type:de,selectors:[["ion-card-title"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),de.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],de=Object(r.b)([ee({inputs:["color","mode"]})],de);let pe=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,J(this,this.el,["ionChange","ionFocus","ionBlur"])}};pe.\u0275fac=function(e){return new(e||pe)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},pe.\u0275cmp=i.Gc({type:pe,selectors:[["ion-checkbox"]],inputs:{checked:"checked",color:"color",disabled:"disabled",indeterminate:"indeterminate",mode:"mode",name:"name",value:"value"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),pe.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],pe=Object(r.b)([ee({inputs:["checked","color","disabled","indeterminate","mode","name","value"]})],pe);let fe=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};fe.\u0275fac=function(e){return new(e||fe)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},fe.\u0275cmp=i.Gc({type:fe,selectors:[["ion-chip"]],inputs:{color:"color",disabled:"disabled",mode:"mode",outline:"outline"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),fe.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],fe=Object(r.b)([ee({inputs:["color","disabled","mode","outline"]})],fe);let me=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};me.\u0275fac=function(e){return new(e||me)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},me.\u0275cmp=i.Gc({type:me,selectors:[["ion-col"]],inputs:{offset:"offset",offsetLg:"offsetLg",offsetMd:"offsetMd",offsetSm:"offsetSm",offsetXl:"offsetXl",offsetXs:"offsetXs",pull:"pull",pullLg:"pullLg",pullMd:"pullMd",pullSm:"pullSm",pullXl:"pullXl",pullXs:"pullXs",push:"push",pushLg:"pushLg",pushMd:"pushMd",pushSm:"pushSm",pushXl:"pushXl",pushXs:"pushXs",size:"size",sizeLg:"sizeLg",sizeMd:"sizeMd",sizeSm:"sizeSm",sizeXl:"sizeXl",sizeXs:"sizeXs"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),me.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],me=Object(r.b)([ee({inputs:["offset","offsetLg","offsetMd","offsetSm","offsetXl","offsetXs","pull","pullLg","pullMd","pullSm","pullXl","pullXs","push","pushLg","pushMd","pushSm","pushXl","pushXs","size","sizeLg","sizeMd","sizeSm","sizeXl","sizeXs"]})],me);let ge=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,J(this,this.el,["ionScrollStart","ionScroll","ionScrollEnd"])}};ge.\u0275fac=function(e){return new(e||ge)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},ge.\u0275cmp=i.Gc({type:ge,selectors:[["ion-content"]],inputs:{color:"color",forceOverscroll:"forceOverscroll",fullscreen:"fullscreen",scrollEvents:"scrollEvents",scrollX:"scrollX",scrollY:"scrollY"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),ge.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],ge=Object(r.b)([ee({inputs:["color","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"],methods:["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]})],ge);let ve=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,J(this,this.el,["ionCancel","ionChange","ionFocus","ionBlur"])}};ve.\u0275fac=function(e){return new(e||ve)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},ve.\u0275cmp=i.Gc({type:ve,selectors:[["ion-datetime"]],inputs:{cancelText:"cancelText",dayNames:"dayNames",dayShortNames:"dayShortNames",dayValues:"dayValues",disabled:"disabled",displayFormat:"displayFormat",displayTimezone:"displayTimezone",doneText:"doneText",hourValues:"hourValues",max:"max",min:"min",minuteValues:"minuteValues",mode:"mode",monthNames:"monthNames",monthShortNames:"monthShortNames",monthValues:"monthValues",name:"name",pickerFormat:"pickerFormat",pickerOptions:"pickerOptions",placeholder:"placeholder",readonly:"readonly",value:"value",yearValues:"yearValues"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),ve.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],ve=Object(r.b)([ee({inputs:["cancelText","dayNames","dayShortNames","dayValues","disabled","displayFormat","displayTimezone","doneText","hourValues","max","min","minuteValues","mode","monthNames","monthShortNames","monthValues","name","pickerFormat","pickerOptions","placeholder","readonly","value","yearValues"],methods:["open"]})],ve);let ye=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};ye.\u0275fac=function(e){return new(e||ye)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},ye.\u0275cmp=i.Gc({type:ye,selectors:[["ion-fab"]],inputs:{activated:"activated",edge:"edge",horizontal:"horizontal",vertical:"vertical"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),ye.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],ye=Object(r.b)([ee({inputs:["activated","edge","horizontal","vertical"],methods:["close"]})],ye);let be=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,J(this,this.el,["ionFocus","ionBlur"])}};be.\u0275fac=function(e){return new(e||be)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},be.\u0275cmp=i.Gc({type:be,selectors:[["ion-fab-button"]],inputs:{activated:"activated",closeIcon:"closeIcon",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",show:"show",size:"size",target:"target",translucent:"translucent",type:"type"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),be.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],be=Object(r.b)([ee({inputs:["activated","closeIcon","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","show","size","target","translucent","type"]})],be);let we=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};we.\u0275fac=function(e){return new(e||we)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},we.\u0275cmp=i.Gc({type:we,selectors:[["ion-fab-list"]],inputs:{activated:"activated",side:"side"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),we.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],we=Object(r.b)([ee({inputs:["activated","side"]})],we);let _e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};_e.\u0275fac=function(e){return new(e||_e)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},_e.\u0275cmp=i.Gc({type:_e,selectors:[["ion-footer"]],inputs:{mode:"mode",translucent:"translucent"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),_e.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],_e=Object(r.b)([ee({inputs:["mode","translucent"]})],_e);let xe=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};xe.\u0275fac=function(e){return new(e||xe)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},xe.\u0275cmp=i.Gc({type:xe,selectors:[["ion-grid"]],inputs:{fixed:"fixed"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),xe.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],xe=Object(r.b)([ee({inputs:["fixed"]})],xe);let Ce=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};Ce.\u0275fac=function(e){return new(e||Ce)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},Ce.\u0275cmp=i.Gc({type:Ce,selectors:[["ion-header"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}
1),Ce.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],Ce=Object(r.b)([ee({inputs:["collapse","mode","translucent"]})],Ce);let Se=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};Se.\u0275fac=function(e){return new(e||Se)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},Se.\u0275cmp=i.Gc({type:Se,selectors:[["ion-icon"]],inputs:{ariaHidden:"ariaHidden",ariaLabel:"ariaLabel",color:"color",flipRtl:"flipRtl",icon:"icon",ios:"ios",lazy:"lazy",md:"md",mode:"mode",name:"name",sanitize:"sanitize",size:"size",src:"src"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),Se.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],Se=Object(r.b)([ee({inputs:["ariaHidden","ariaLabel","color","flipRtl","icon","ios","lazy","md","mode","name","sanitize","size","src"]})],Se);let Ee=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,J(this,this.el,["ionImgWillLoad","ionImgDidLoad","ionError"])}};Ee.\u0275fac=function(e){return new(e||Ee)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},Ee.\u0275cmp=i.Gc({type:Ee,selectors:[["ion-img"]],inputs:{alt:"alt",src:"src"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),Ee.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],Ee=Object(r.b)([ee({inputs:["alt","src"]})],Ee);let Ae=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,J(this,this.el,["ionInfinite"])}};Ae.\u0275fac=function(e){return new(e||Ae)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},Ae.\u0275cmp=i.Gc({type:Ae,selectors:[["ion-infinite-scroll"]],inputs:{disabled:"disabled",position:"position",threshold:"threshold"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),Ae.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],Ae=Object(r.b)([ee({inputs:["disabled","position","threshold"],methods:["complete"]})],Ae);let ke=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};ke.\u0275fac=function(e){return new(e||ke)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},ke.\u0275cmp=i.Gc({type:ke,selectors:[["ion-infinite-scroll-content"]],inputs:{loadingSpinner:"loadingSpinner",loadingText:"loadingText"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),ke.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],ke=Object(r.b)([ee({inputs:["loadingSpinner","loadingText"]})],ke);let Ie=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,J(this,this.el,["ionInput","ionChange","ionBlur","ionFocus"])}};Ie.\u0275fac=function(e){return new(e||Ie)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},Ie.\u0275cmp=i.Gc({type:Ie,selectors:[["ion-input"]],inputs:{accept:"accept",autocapitalize:"autocapitalize",autocomplete:"autocomplete",autocorrect:"autocorrect",autofocus:"autofocus",clearInput:"clearInput",clearOnEdit:"clearOnEdit",color:"color",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",inputmode:"inputmode",max:"max",maxlength:"maxlength",min:"min",minlength:"minlength",mode:"mode",multiple:"multiple",name:"name",pattern:"pattern",placeholder:"placeholder",readonly:"readonly",required:"required",size:"size",spellcheck:"spellcheck",step:"step",type:"type",value:"value"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),Ie.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],Ie=Object(r.b)([ee({inputs:["accept","autocapitalize","autocomplete","autocorrect","autofocus","clearInput","clearOnEdit","color","debounce","disabled","enterkeyhint","inputmode","max","maxlength","min","minlength","mode","multiple","name","pattern","placeholder","readonly","required","size","spellcheck","step","type","value"],methods:["setFocus","getInputElement"]})],Ie);let Te=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};Te.\u0275fac=function(e){return new(e||Te)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},Te.\u0275cmp=i.Gc({type:Te,selectors:[["ion-item"]],inputs:{button:"button",color:"color",detail:"detail",detailIcon:"detailIcon",disabled:"disabled",download:"download",href:"href",lines:"lines",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",target:"target",type:"type"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),Te.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],Te=Object(r.b)([ee({inputs:["button","color","detail","detailIcon","disabled","download","href","lines","mode","rel","routerAnimation","routerDirection","target","type"]})],Te);let Oe=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};Oe.\u0275fac=function(e){return new(e||Oe)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},Oe.\u0275cmp=i.Gc({type:Oe,selectors:[["ion-item-divider"]],inputs:{color:"color",mode:"mode",sticky:"sticky"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),Oe.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],Oe=Object(r.b)([ee({inputs:["color","mode","sticky"]})],Oe);let De=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};De.\u0275fac=function(e){return new(e||De)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},De.\u0275cmp=i.Gc({type:De,selectors:[["ion-item-group"]],ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),De.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}];let Pe=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};Pe.\u0275fac=function(e){return new(e||Pe)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},Pe.\u0275cmp=i.Gc({type:Pe,selectors:[["ion-item-option"]],inputs:{color:"color",disabled:"disabled",download:"download",expandable:"expandable",href:"href",mode:"mode",rel:"rel",target:"target",type:"type"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),Pe.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],Pe=Object(r.b)([ee({inputs:["color","disabled","download","expandable","href","mode","rel","target","type"]})],Pe);let Me=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,J(this,this.el,["ionSwipe"])}};Me.\u0275fac=function(e){return new(e||Me)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},Me.\u0275cmp=i.Gc({type:Me,selectors:[["ion-item-options"]],inputs:{side:"side"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),Me.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],Me=Object(r.b)([ee({inputs:["side"]})],Me);let Ne=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,J(this,this.el,["ionDrag"])}};Ne.\u0275fac=function(e){return new(e||Ne)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},Ne.\u0275cmp=i.Gc({type:Ne,selectors:[["ion-item-sliding"]],inputs:{disabled:"disabled"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),Ne.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],Ne=Object(r.b)([ee({inputs:["disabled"],methods:["getOpenAmount","getSlidingRatio","open","close","closeOpened"]})],Ne);let Re=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};Re.\u0275fac=function(e){return new(e||Re)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},Re.\u0275cmp=i.Gc({type:Re,selectors:[["ion-label"]],inputs:{color:"color",mode:"mode",position:"position"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),Re.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],Re=Object(r.b)([ee({inputs:["color","mode","position"]})],Re);let Le=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};Le.\u0275fac=function(e){return new(e||Le)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},Le.\u0275cmp=i.Gc({type:Le,selectors:[["ion-list"]],inputs:{inset:"inset",lines:"lines",mode:"mode"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),Le.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],Le=Object(r.b)([ee({inputs:["inset","lines","mode"],methods:["closeSlidingItems"]})],Le);let je=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};je.\u0275fac=function(e){return new(e||je)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},je.\u0275cmp=i.Gc({type:je,selectors:[["ion-list-header"]],inputs:{color:"color",lines:"lines",mode:"mode"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),je.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],je=Object(r.b)([ee({inputs:["color","lines","mode"]})],je);let Fe=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,J(this,this.el,["ionWillOpen","ionWillClose","ionDidOpen","ionDidClose"])}};Fe.\u0275fac=function(e){return new(e||Fe)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},Fe.\u0275cmp=i.Gc({type:Fe,selectors:[["ion-menu"]],inputs:{contentId:"contentId",disabled:"disabled",maxEdgeStart:"maxEdgeStart",menuId:"menuId",side:"side",swipeGesture:"swipeGesture",type:"type"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),Fe.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],Fe=Object(r.b)([ee({inputs:["contentId","disabled","maxEdgeStart","menuId","side","swipeGesture","type"],methods:["isOpen","isActive","open","close","toggle","setOpen"]})],Fe);let Be=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};Be.\u0275fac=function(e){return new(e||Be)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},Be.\u0275cmp=i.Gc({type:Be,selectors:[["ion-menu-button"]],inputs:{autoHide:"autoHide",color:"color",disabled:"disabled",menu:"menu",mode:"mode",type:"type"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),Be.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],Be=Object(r.b)([ee({inputs:["autoHide","color","disabled","menu","mode","type"]})],Be);let $e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};$e.\u0275fac=function(e){return new(e||$e)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},$e.\u0275cmp=i.Gc({type:$e,selectors:[["ion-menu-toggle"]],inputs:{autoHide:"autoHide",menu:"menu"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),$e.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],$e=Object(r.b)([ee({inputs:["autoHide","menu"]}
1)],$e);let Ve=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,J(this,this.el,["ionNavWillChange","ionNavDidChange"])}};Ve.\u0275fac=function(e){return new(e||Ve)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},Ve.\u0275cmp=i.Gc({type:Ve,selectors:[["ion-nav"]],inputs:{animated:"animated",animation:"animation",root:"root",rootParams:"rootParams",swipeGesture:"swipeGesture"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),Ve.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],Ve=Object(r.b)([ee({inputs:["animated","animation","root","rootParams","swipeGesture"],methods:["push","insert","insertPages","pop","popTo","popToRoot","removeIndex","setRoot","setPages","getActive","getByIndex","canGoBack","getPrevious"]})],Ve);let Ue=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};Ue.\u0275fac=function(e){return new(e||Ue)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},Ue.\u0275cmp=i.Gc({type:Ue,selectors:[["ion-nav-link"]],inputs:{component:"component",componentProps:"componentProps",routerAnimation:"routerAnimation",routerDirection:"routerDirection"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),Ue.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],Ue=Object(r.b)([ee({inputs:["component","componentProps","routerAnimation","routerDirection"]})],Ue);let ze=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};ze.\u0275fac=function(e){return new(e||ze)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},ze.\u0275cmp=i.Gc({type:ze,selectors:[["ion-note"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),ze.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],ze=Object(r.b)([ee({inputs:["color","mode"]})],ze);let He=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};He.\u0275fac=function(e){return new(e||He)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},He.\u0275cmp=i.Gc({type:He,selectors:[["ion-progress-bar"]],inputs:{buffer:"buffer",color:"color",mode:"mode",reversed:"reversed",type:"type",value:"value"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),He.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],He=Object(r.b)([ee({inputs:["buffer","color","mode","reversed","type","value"]})],He);let qe=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,J(this,this.el,["ionFocus","ionBlur"])}};qe.\u0275fac=function(e){return new(e||qe)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},qe.\u0275cmp=i.Gc({type:qe,selectors:[["ion-radio"]],inputs:{color:"color",disabled:"disabled",mode:"mode",name:"name",value:"value"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),qe.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],qe=Object(r.b)([ee({inputs:["color","disabled","mode","name","value"]})],qe);let Ge=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,J(this,this.el,["ionChange"])}};Ge.\u0275fac=function(e){return new(e||Ge)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},Ge.\u0275cmp=i.Gc({type:Ge,selectors:[["ion-radio-group"]],inputs:{allowEmptySelection:"allowEmptySelection",name:"name",value:"value"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),Ge.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],Ge=Object(r.b)([ee({inputs:["allowEmptySelection","name","value"]})],Ge);let We=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,J(this,this.el,["ionChange","ionFocus","ionBlur"])}};We.\u0275fac=function(e){return new(e||We)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},We.\u0275cmp=i.Gc({type:We,selectors:[["ion-range"]],inputs:{color:"color",debounce:"debounce",disabled:"disabled",dualKnobs:"dualKnobs",max:"max",min:"min",mode:"mode",name:"name",pin:"pin",snaps:"snaps",step:"step",ticks:"ticks",value:"value"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),We.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],We=Object(r.b)([ee({inputs:["color","debounce","disabled","dualKnobs","max","min","mode","name","pin","snaps","step","ticks","value"]})],We);let Qe=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,J(this,this.el,["ionRefresh","ionPull","ionStart"])}};Qe.\u0275fac=function(e){return new(e||Qe)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},Qe.\u0275cmp=i.Gc({type:Qe,selectors:[["ion-refresher"]],inputs:{closeDuration:"closeDuration",disabled:"disabled",pullFactor:"pullFactor",pullMax:"pullMax",pullMin:"pullMin",snapbackDuration:"snapbackDuration"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),Qe.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],Qe=Object(r.b)([ee({inputs:["closeDuration","disabled","pullFactor","pullMax","pullMin","snapbackDuration"],methods:["complete","cancel","getProgress"]})],Qe);let Ke=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};Ke.\u0275fac=function(e){return new(e||Ke)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},Ke.\u0275cmp=i.Gc({type:Ke,selectors:[["ion-refresher-content"]],inputs:{pullingIcon:"pullingIcon",pullingText:"pullingText",refreshingSpinner:"refreshingSpinner",refreshingText:"refreshingText"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),Ke.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],Ke=Object(r.b)([ee({inputs:["pullingIcon","pullingText","refreshingSpinner","refreshingText"]})],Ke);let Xe=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};Xe.\u0275fac=function(e){return new(e||Xe)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},Xe.\u0275cmp=i.Gc({type:Xe,selectors:[["ion-reorder"]],ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),Xe.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}];let Ye=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,J(this,this.el,["ionItemReorder"])}};Ye.\u0275fac=function(e){return new(e||Ye)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},Ye.\u0275cmp=i.Gc({type:Ye,selectors:[["ion-reorder-group"]],inputs:{disabled:"disabled"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),Ye.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],Ye=Object(r.b)([ee({inputs:["disabled"],methods:["complete"]})],Ye);let Ze=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};Ze.\u0275fac=function(e){return new(e||Ze)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},Ze.\u0275cmp=i.Gc({type:Ze,selectors:[["ion-ripple-effect"]],inputs:{type:"type"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),Ze.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}
1],Ze=Object(r.b)([ee({inputs:["type"],methods:["addRipple"]})],Ze);let Je=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};Je.\u0275fac=function(e){return new(e||Je)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},Je.\u0275cmp=i.Gc({type:Je,selectors:[["ion-row"]],ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),Je.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}];let et=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,J(this,this.el,["ionInput","ionChange","ionCancel","ionClear","ionBlur","ionFocus"])}};et.\u0275fac=function(e){return new(e||et)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},et.\u0275cmp=i.Gc({type:et,selectors:[["ion-searchbar"]],inputs:{animated:"animated",autocomplete:"autocomplete",autocorrect:"autocorrect",cancelButtonIcon:"cancelButtonIcon",cancelButtonText:"cancelButtonText",clearIcon:"clearIcon",color:"color",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",inputmode:"inputmode",mode:"mode",placeholder:"placeholder",searchIcon:"searchIcon",showCancelButton:"showCancelButton",showClearButton:"showClearButton",spellcheck:"spellcheck",type:"type",value:"value"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),et.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],et=Object(r.b)([ee({inputs:["animated","autocomplete","autocorrect","cancelButtonIcon","cancelButtonText","clearIcon","color","debounce","disabled","enterkeyhint","inputmode","mode","placeholder","searchIcon","showCancelButton","showClearButton","spellcheck","type","value"],methods:["setFocus","getInputElement"]})],et);let tt=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,J(this,this.el,["ionChange"])}};tt.\u0275fac=function(e){return new(e||tt)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},tt.\u0275cmp=i.Gc({type:tt,selectors:[["ion-segment"]],inputs:{color:"color",disabled:"disabled",mode:"mode",scrollable:"scrollable",swipeGesture:"swipeGesture",value:"value"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),tt.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],tt=Object(r.b)([ee({inputs:["color","disabled","mode","scrollable","swipeGesture","value"]})],tt);let nt=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};nt.\u0275fac=function(e){return new(e||nt)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},nt.\u0275cmp=i.Gc({type:nt,selectors:[["ion-segment-button"]],inputs:{disabled:"disabled",layout:"layout",mode:"mode",type:"type",value:"value"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),nt.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],nt=Object(r.b)([ee({inputs:["disabled","layout","mode","type","value"]})],nt);let rt=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,J(this,this.el,["ionChange","ionCancel","ionFocus","ionBlur"])}};rt.\u0275fac=function(e){return new(e||rt)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},rt.\u0275cmp=i.Gc({type:rt,selectors:[["ion-select"]],inputs:{cancelText:"cancelText",compareWith:"compareWith",disabled:"disabled",interface:"interface",interfaceOptions:"interfaceOptions",mode:"mode",multiple:"multiple",name:"name",okText:"okText",placeholder:"placeholder",selectedText:"selectedText",value:"value"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),rt.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],rt=Object(r.b)([ee({inputs:["cancelText","compareWith","disabled","interface","interfaceOptions","mode","multiple","name","okText","placeholder","selectedText","value"],methods:["open"]})],rt);let it=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};it.\u0275fac=function(e){return new(e||it)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},it.\u0275cmp=i.Gc({type:it,selectors:[["ion-select-option"]],inputs:{disabled:"disabled",value:"value"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),it.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],it=Object(r.b)([ee({inputs:["disabled","value"]})],it);let st=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};st.\u0275fac=function(e){return new(e||st)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},st.\u0275cmp=i.Gc({type:st,selectors:[["ion-skeleton-text"]],inputs:{animated:"animated"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),st.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],st=Object(r.b)([ee({inputs:["animated"]})],st);let ot=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};ot.\u0275fac=function(e){return new(e||ot)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},ot.\u0275cmp=i.Gc({type:ot,selectors:[["ion-slide"]],ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),ot.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}];let at=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,J(this,this.el,["ionSlidesDidLoad","ionSlideTap","ionSlideDoubleTap","ionSlideWillChange","ionSlideDidChange","ionSlideNextStart","ionSlidePrevStart","ionSlideNextEnd","ionSlidePrevEnd","ionSlideTransitionStart","ionSlideTransitionEnd","ionSlideDrag","ionSlideReachStart","ionSlideReachEnd","ionSlideTouchStart","ionSlideTouchEnd"])}};at.\u0275fac=function(e){return new(e||at)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},at.\u0275cmp=i.Gc({type:at,selectors:[["ion-slides"]],inputs:{mode:"mode",options:"options",pager:"pager",scrollbar:"scrollbar"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),at.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],at=Object(r.b)([ee({inputs:["mode","options","pager","scrollbar"],methods:["update","updateAutoHeight","slideTo","slideNext","slidePrev","getActiveIndex","getPreviousIndex","length","isEnd","isBeginning","startAutoplay","stopAutoplay","lockSwipeToNext","lockSwipeToPrev","lockSwipes","getSwiper"]})],at);let lt=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};lt.\u0275fac=function(e){return new(e||lt)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},lt.\u0275cmp=i.Gc({type:lt,selectors:[["ion-spinner"]],inputs:{color:"color",duration:"duration",name:"name",paused:"paused"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),lt.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],lt=Object(r.b)([ee({inputs:["color","duration","name","paused"]})],lt);let ct=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,J(this,this.el,["ionSplitPaneVisible"])}};ct.\u0275fac=function(e){return new(e||ct)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},ct.\u0275cmp=i.Gc({type:ct,selectors:[["ion-split-pane"]],inputs:{contentId:"contentId",disabled:"disabled",when:"when"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),ct.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],ct=Object(r.b)([ee({inputs:["contentId","disabled","when"]})],ct);let ut=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};ut.\u0275fac=function(e){return new(e||ut)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},ut.\u0275cmp=i.Gc({type:ut,selectors:[["ion-tab-bar"]],inputs:{color:"color",mode:"mode",selectedTab:"selectedTab",translucent:"translucent"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),ut.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],ut=Object(r.b)([ee({inputs:["color","mode","selectedTab","translucent"]})],ut);let ht=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};ht.\u0275fac=function(e){return new(e||ht)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},ht.\u0275cmp=i.Gc({type:ht,selectors:[["ion-tab-button"]],inputs:{disabled:"disabled",download:"download",href:"href",layout:"layout",mode:"mode",rel:"rel",selected:"selected",tab:"tab",target:"target"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),ht.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],ht=Object(r.b)([ee({inputs:["disabled","download","href","layout","mode","rel","selected","tab","target"]})],ht);let dt=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};dt.\u0275fac=function(e){return new(e||dt)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},dt.\u0275cmp=i.Gc({type:dt,selectors:[["ion-text"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),dt.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],dt=Object(r.b)([ee({inputs:["color","mode"]})],dt);let pt=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,J(this,this.el,["ionChange","ionInput","ionBlur","ionFocus"])}};pt.\u0275fac=function(e){return new(e||pt)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},pt.\u0275cmp=i.Gc({type:pt,selectors:[["ion-textarea"]],inputs:{autoGrow:"autoGrow",autocapitalize:"autocapitalize",autofocus:"autofocus",clearOnEdit:"clearOnEdit",color:"color",cols:"cols",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",inputmode:"inputmode",maxlength:"maxlength",minlength:"minlength",mode:"mode",name:"name",placeholder:"placeholder",readonly:"readonly",required:"required",rows:"rows",spellcheck:"spellcheck",value:"value",wrap:"wrap"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),pt.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],pt=Object(r.b)([ee({inputs:["autoGrow","autocapitalize","autofocus","clearOnEdit","color","cols","debounce","disabled","enterkeyhint","inputmode","maxlength","minlength","mode","name","placeholder","readonly","required","rows","spellcheck","value","wrap"],methods:["setFocus","getIn
1putElement"]})],pt);let ft=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};ft.\u0275fac=function(e){return new(e||ft)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},ft.\u0275cmp=i.Gc({type:ft,selectors:[["ion-thumbnail"]],ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),ft.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}];let mt=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};mt.\u0275fac=function(e){return new(e||mt)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},mt.\u0275cmp=i.Gc({type:mt,selectors:[["ion-title"]],inputs:{color:"color",size:"size"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),mt.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],mt=Object(r.b)([ee({inputs:["color","size"]})],mt);let gt=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,J(this,this.el,["ionChange","ionFocus","ionBlur"])}};gt.\u0275fac=function(e){return new(e||gt)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},gt.\u0275cmp=i.Gc({type:gt,selectors:[["ion-toggle"]],inputs:{checked:"checked",color:"color",disabled:"disabled",mode:"mode",name:"name",value:"value"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),gt.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],gt=Object(r.b)([ee({inputs:["checked","color","disabled","mode","name","value"]})],gt);let vt=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};vt.\u0275fac=function(e){return new(e||vt)(i.Mc(i.k),i.Mc(i.v),i.Mc(i.R))},vt.\u0275cmp=i.Gc({type:vt,selectors:[["ion-toolbar"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),vt.ctorParameters=()=>[{type:i.k},{type:i.v},{type:i.R}],vt=Object(r.b)([ee({inputs:["color","mode"]})],vt);let yt=class{get(e,t){const n=wt();return n?n.get(e,t):null}getBoolean(e,t){const n=wt();return!!n&&n.getBoolean(e,t)}getNumber(e,t){const n=wt();return n?n.getNumber(e,t):0}set(e,t){console.warn("[DEPRECATION][Config]: The Config.set() method is deprecated and will be removed in Ionic Framework 6.0. Please see https://ionicframework.com/docs/angular/config for alternatives.");const n=wt();n&&n.set(e,t)}};yt.\u0275fac=function(e){return new(e||yt)},yt.\u0275prov=i.Ic({token:yt,factory:function(e){return yt.\u0275fac(e)},providedIn:"root"}),yt.ngInjectableDef=Object(i.Ic)({factory:function(){return new yt},token:yt,providedIn:"root"});const bt=new i.F("USERCONFIG"),wt=()=>{if("undefined"!=typeof window){const e=window.Ionic;if(e&&e.config)return e.config}return null};class _t{constructor(e={}){this.data=e}get(e){return this.data[e]}}let xt=class{constructor(e,t){this.zone=e,this.appRef=t}create(e,t,n){return new Ct(e,t,n,this.appRef,this.zone)}};xt.\u0275fac=function(e){return new(e||xt)(i.Vc(i.R),i.Vc(i.g))},xt.\u0275prov=i.Ic({token:xt,factory:function(e){return xt.\u0275fac(e)}}),xt.ctorParameters=()=>[{type:i.R},{type:i.g}];class Ct{constructor(e,t,n,r,i){this.resolver=e,this.injector=t,this.location=n,this.appRef=r,this.zone=i,this.elRefMap=new WeakMap,this.elEventsMap=new WeakMap}attachViewToDom(e,t,n,r){return this.zone.run(()=>new Promise(i=>{i(St(this.zone,this.resolver,this.injector,this.location,this.appRef,this.elRefMap,this.elEventsMap,e,t,n,r))}))}removeViewFromDom(e,t){return this.zone.run(()=>new Promise(e=>{const n=this.elRefMap.get(t);if(n){n.destroy(),this.elRefMap.delete(t);const e=this.elEventsMap.get(t);e&&(e(),this.elEventsMap.delete(t))}e()}))}}const St=(e,t,n,r,s,o,a,l,c,u,h)=>{const d=t.resolveComponentFactory(c),p=i.G.create({providers:It(u),parent:n}),f=r?r.createComponent(d,r.length,p):d.create(p),m=f.instance,g=f.location.nativeElement;if(u&&Object.assign(m,u),h)for(const i of h)g.classList.add(i);const v=At(e,m,g);return l.appendChild(g),r||s.attachView(f.hostView),f.changeDetectorRef.reattach(),o.set(g,f),a.set(g,v),g},Et=[p.a,p.b,p.c,p.d,p.e],At=(e,t,n)=>e.run(()=>{const e=Et.filter(e=>"function"==typeof t[e]).map(e=>{const r=n=>t[e](n.detail);return n.addEventListener(e,r),()=>n.removeEventListener(e,r)});return()=>
1e.forEach(e=>e())}),kt=new i.F("NavParamsToken"),It=e=>[{provide:kt,useValue:e},{provide:_t,useFactory:Tt,deps:[kt]}],Tt=e=>new _t(e),Ot=(e,t)=>((e=e.filter(e=>e.stackId!==t.stackId)).push(t),e),Dt=(e,t)=>(e.indexOf(t)>=0?e=e.filter(e=>e.stackId!==t.stackId||e.id<=t.id):e.push(t),e),Pt=(e,t)=>e.indexOf(t)>=0?e.filter(e=>e.stackId!==t.stackId||e.id<=t.id):Ot(e,t),Mt=(e,t)=>{const n=e.createUrlTree(["."],{relativeTo:t});return e.serializeUrl(n)},Nt=(e,t)=>{if(!e)return;const n=Rt(t);for(let r=0;r<n.length;r++){if(r>=e.length)return n[r];if(n[r]!==e[r])return}},Rt=e=>e.split("/").map(e=>e.trim()).filter(e=>""!==e),Lt=e=>{e&&(e.ref.destroy(),e.unlistenEvents())};class jt{constructor(e,t,n,r,i,s){this.containerEl=t,this.router=n,this.navCtrl=r,this.zone=i,this.location=s,this.views=[],this.skipTransition=!1,this.nextId=0,this.tabsPrefix=void 0!==e?Rt(e):void 0}createView(e,t){const n=Mt(this.router,t),r=e&&e.location&&e.location.nativeElement,i=At(this.zone,e.instance,r);return{id:this.nextId++,stackId:Nt(this.tabsPrefix,n),unlistenEvents:i,element:r,ref:e,url:n}}getExistingView(e){const t=Mt(this.router,e),n=this.views.find(e=>e.url===t);return n&&n.ref.changeDetectorRef.reattach(),n}setActive(e){const t=this.navCtrl.consumeTransition();let{direction:n,animation:r,animationBuilder:i}=t;const s=this.activeView,o=((e,t)=>!t||e.stackId!==t.stackId)(e,s);o&&(n="back",r=void 0);const a=this.views.slice();let l;const c=this.router;c.getCurrentNavigation?l=c.getCurrentNavigation():c.navigations&&c.navigations.value&&(l=c.navigations.value),l&&l.extras&&l.extras.replaceUrl&&this.views.length>0&&this.views.splice(-1,1);const u=this.views.includes(e),h=this.insertView(e,n);u||e.ref.changeDetectorRef.detectChanges();const d=e.animationBuilder;return void 0!==i||"back"!==n||o||void 0===d||(i=d),s&&(s.animationBuilder=i),this.zone.runOutsideAngular(()=>this.wait(()=>(s&&s.ref.changeDetectorRef.detach(),e.ref.changeDetectorRef.reattach(),this.transition(e,s,r,this.canGoBack(1),!1,i).then(()=>Ft(e,h,a,this.location)).then(()=>({enteringView:e,direction:n,animation:r,tabSwitch:o})))))}canGoBack(e,t=this.getActiveStackId()){return this.getStack(t).length>e}pop(e,t=this.getActiveStackId()){return this.zone.run(()=>{const n=this.getStack(t);if(n.length<=e)return Promise.resolve(!1);const r=n[n.length-e-1];let i=r.url;const s=r.savedData;if(s){const e=s.get("primary");e&&e.route&&e.route._routerState&&e.route._routerState.snapshot&&e.route._routerState.snapshot.url&&(i=e.route._routerState.snapshot.url)}const{animationBuilder:o}=this.navCtrl.consumeTransition();return this.navCtrl.navigateBack(i,Object.assign({},r.savedExtras,{animation:o})).then(()=>!0)})}startBackTransition(){const e=this.activeView;if(e){const t=this.getStack(e.stackId),n=t[t.length-2],r=n.animationBuilder;return this.wait(()=>this.transition(n,e,"back",this.canGoBack(2),!0,r))}return Promise.resolve()}endBackTransition(e){e?(this.skipTransition=!0,this.pop(1)):this.activeView&&Bt(this.activeView,this.views,this.views,this.location)}getLastUrl(e){const t=this.getStack(e);return t.length>0?t[t.length-1]:void 0}getRootUrl(e){const t=this.getStack(e);return t.length>0?t[0]:void 0}getActiveStackId(){return this.activeView?this.activeView.stackId:void 0}hasRunningTask(){return void 0!==this.runningTask}destroy(){this.containerEl=void 0,this.views.forEach(Lt),this.activeView=void 0,this.views=[]}getStack(e){return this.views.filter(t=>t.stackId===e)}insertView(e,t){return this.activeView=e,this.views=((e,t,n)=>"root"===n?Ot(e,t):"forward"===n?Dt(e,t):Pt(e,t))(this.views,e,t),this.views.slice()}transition(e,t,n,r,i,s){if(this.skipTransition)return this.skipTransition=!1,Promise.resolve(!1);if(t===e)return Promise.resolve(!1);const o=e?e.element:void 0,a=t?t.element:void 0,l=this.containerEl;return o&&o!==a&&(o.classList.add("ion-page"),o.classList.add("ion-page-invisible"),o.parentElement!==l&&l.appendChild(o),l.commit)?l.commit(o,a,{deepWait:!0,duration:void 0===n?0:void 0,direction:n,showGoBack:r,progressAnimation:i,animationBuilder:s}):Promise.resolve(!1)}wait(e){return Object(r.a)(this,void 0,void 0,function*(){void 0!==this.runningTask&&(yield this.runningTask,this.runningTask=void 0);const t=this.runningTask=e();return t.finally(()=>this.runningTask=void 0),t})}}const Ft=(e,t,n,r)=>"function"==typeof requestAnimationFrame?new Promise(i=>{requestAnimationFrame(()=>{Bt(e,t,n,r),i()})}):Promise.resolve(),Bt=(e,t,n,r)=>{n.filter(e=>
1!t.includes(e)).forEach(Lt),t.forEach(t=>{const n=r.path().split("?")[0].split("#")[0];if(t!==e&&t.url!==n){const e=t.element;e.setAttribute("aria-hidden","true"),e.classList.add("ion-page-hidden"),t.ref.changeDetectorRef.detach()}})};let $t=class{constructor(e,t,n,r,s,o,l,c,u,h,d,p,f){this.parentContexts=e,this.location=t,this.resolver=n,this.config=o,this.navCtrl=l,this.parentOutlet=f,this.activated=null,this.activatedView=null,this._activatedRoute=null,this.proxyMap=new WeakMap,this.currentActivatedRoute$=new b.a(null),this.stackEvents=new i.x,this.activateEvents=new i.x,this.deactivateEvents=new i.x,this.nativeEl=u.nativeElement,this.name=r||a.e,this.tabsPrefix="true"===s?Mt(h,p):void 0,this.stackCtrl=new jt(this.tabsPrefix,this.nativeEl,h,l,d,c),e.onChildOutletCreated(this.name,this)}set animation(e){this.nativeEl.animation=e}set animated(e){this.nativeEl.animated=e}set swipeGesture(e){this._swipeGesture=e,this.nativeEl.swipeHandler=e?{canStart:()=>this.stackCtrl.canGoBack(1)&&!this.stackCtrl.hasRunningTask(),onStart:()=>this.stackCtrl.startBackTransition(),onEnd:e=>this.stackCtrl.endBackTransition(e)}:void 0}ngOnDestroy(){this.stackCtrl.destroy()}getContext(){return this.parentContexts.getContext(this.name)}ngOnInit(){if(!this.activated){const e=this.getContext();e&&e.route&&this.activateWith(e.route,e.resolver||null)}new Promise(e=>Object(d.c)(this.nativeEl,e)).then(()=>{void 0===this._swipeGesture&&(this.swipeGesture=this.config.getBoolean("swipeBackEnabled","ios"===this.nativeEl.mode))})}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){throw new Error("incompatible reuse strategy")}attach(e,t){throw new Error("incompatible reuse strategy")}deactivate(){if(this.activated){if(this.activatedView){const e=this.getContext();this.activatedView.savedData=new Map(e.children.contexts);const t=this.activatedView.savedData.get("primary");if(t&&e.route&&(t.route=Object.assign({},e.route)),this.activatedView.savedExtras={},e.route){const t=e.route.snapshot;this.activatedView.savedExtras.queryParams=t.queryParams,this.activatedView.savedExtras.fragment=t.fragment}}const e=this.component;this.activatedView=null,this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");let n;this._activatedRoute=e;let r=this.stackCtrl.getExistingView(e);if(r){n=this.activated=r.ref;const t=r.savedData;if(t){this.getContext().children.contexts=t}this.updateActivatedRouteProxy(n.instance,e)}else{const i=e._futureSnapshot.routeConfig.component,s=(t=t||this.resolver).resolveComponentFactory(i),o=this.parentContexts.getOrCreateContext(this.name).children,a=new b.a(null),l=this.createActivatedRouteProxy(a,e),c=new Vt(l,o,this.location.injector);n=this.activated=this.location.createComponent(s,this.location.length,c),a.next(n.instance),r=this.stackCtrl.createView(this.activated,e),this.proxyMap.set(n.instance,l),this.currentActivatedRoute$.next({component:n.instance,activatedRoute:e})}this.activatedView=r,this.stackCtrl.setActive(r).then(e=>{this.navCtrl.setTopOutlet(this),this.activateEvents.emit(n.instance),this.stackEvents.emit(e)})}canGoBack(e=1,t){return this.stackCtrl.canGoBack(e,t)}pop(e=1,t){return this.stackCtrl.pop(e,t)}getLastUrl(e){const t=this.stackCtrl.getLastUrl(e);return t?t.url:void 0}getLastRouteView(e){return this.stackCtrl.getLastUrl(e)}getRootView(e){return this.stackCtrl.getRootUrl(e)}getActiveStackId(){return this.stackCtrl.getActiveStackId()}createActivatedRouteProxy(e,t){const n=new a.a;return n._futureSnapshot=t._futureSnapshot,n._routerState=t._routerState,n.snapshot=t.snapshot,n.outlet=t.outlet,n.component=t.component,n._paramMap=this.proxyObservable(e,"paramMap"),n._queryParamMap=this.proxyObservable(e,"queryParamMap"),n.url=this.proxyObservable(e,"url"),n.params=this.proxyObservable(e,"params"),n.queryParams=this.proxyObservable(e,"queryParams"),n.fragment=this.proxyObservable(e,"fragment"),n.data=this.proxyObservable(e,"data"),n}proxyObservable(e,t){return e.pipe(Object(w.a)(e=>!!e),Object(_.a)(e=>this.currentActivatedRoute$.pipe(Object(w.a)(t=>null!==t&&t.component===e),Object(_.a)(e=>e&&e.activatedRoute[t]),Object(x.a)())))}updateActivatedRouteProxy(e,t){const n=this.proxyMap.get(e);if(!n)throw new Error("Could not find activated route proxy for view");n._futureSnapshot=t._futureSnapshot,n._routerState=t._routerState,n.snapshot=t.snapshot,n.outlet=t.outlet,n.component=t.component,this.currentActivatedRoute$.next({component:e,activatedRoute:t})}};$t.\u0275fac=function(e){return new(e||$t)(i.Mc(a.b),i.Mc(i.ob),i.Mc(i.p),i.Wc("name"),i.Wc("tabs"),i.Mc(yt),i.Mc(W),i.Mc(o.h),i.Mc(i.v),i.Mc(a.h),i.Mc(i.R),i.Mc(a.a),i.Mc($t,12))},$t.\u0275dir=i.Hc({type:$t,selectors:[["ion-router-outlet"]],inputs:{animated:"animated",animation:"animation",swipeGesture:"swipeGesture"},outputs:{stackEvents:"stackEvents",activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),$t.ctorParameters=()=>[{type:a.b},{type:i.ob},{type:i.p},{type:String,decorators:[{type:i.h,args:["name"]}]},{type:String,decorators:[{type:i.S}
1,{type:i.h,args:["tabs"]}]},{type:yt},{type:W},{type:o.h},{type:i.v},{type:a.h},{type:i.R},{type:a.a},{type:$t,decorators:[{type:i.fb},{type:i.S}]}],Object(r.b)([Object(i.T)()],$t.prototype,"stackEvents",void 0),Object(r.b)([Object(i.T)("activate")],$t.prototype,"activateEvents",void 0),Object(r.b)([Object(i.T)("deactivate")],$t.prototype,"deactivateEvents",void 0),$t=Object(r.b)([Object(r.d)(3,Object(i.h)("name")),Object(r.d)(4,Object(i.S)()),Object(r.d)(4,Object(i.h)("tabs")),Object(r.d)(12,Object(i.fb)()),Object(r.d)(12,Object(i.S)())],$t);class Vt{constructor(e,t,n){this.route=e,this.childContexts=t,this.parent=n}get(e,t){return e===a.a?this.route:e===a.b?this.childContexts:this.parent.get(e,t)}}let Ut=class{constructor(e){this.navCtrl=e,this.ionTabsWillChange=new i.x,this.ionTabsDidChange=new i.x}onPageSelected(e){const t=e.enteringView.stackId;e.tabSwitch&&void 0!==t&&(this.tabBar&&(this.tabBar.selectedTab=t),this.ionTabsWillChange.emit({tab:t}),this.ionTabsDidChange.emit({tab:t}))}select(e){const t="string"==typeof e,n=t?e:e.detail.tab,r=this.outlet.getActiveStackId()===n,i=`${this.outlet.tabsPrefix}/${n}`;if(t||e.stopPropagation(),r){const e=this.outlet.getActiveStackId();if(this.outlet.getLastRouteView(e).url===i)return;const t=this.outlet.getRootView(n),r=t&&i===t.url&&t.savedExtras;return this.navCtrl.navigateRoot(i,Object.assign({},r,{animated:!0,animationDirection:"back"}))}{const e=this.outlet.getLastRouteView(n),t=e&&e.url||i,r=e&&e.savedExtras;return this.navCtrl.navigateRoot(t,Object.assign({},r,{animated:!0,animationDirection:"back"}))}}getSelected(){return this.outlet.getActiveStackId()}};Ut.\u0275fac=function(e){return new(e||Ut)(i.Mc(W))},Ut.\u0275cmp=i.Gc({type:Ut,selectors:[["ion-tabs"]],contentQueries:function(e,t,n){if(1&e&&i.Fc(n,ut,1),2&e){let e;i.hd(e=i.ad())&&(t.tabBar=e.first)}},viewQuery:function(e,t){if(1&e&&i.ud(A,1,$t),2&e){let e;i.hd(e=i.ad())&&(t.outlet=e.first)}},hostBindings:function(e,t){1&e&&i.Zc("ionTabButtonClick",function(e){return t.select(e)})},outputs:{ionTabsWillChange:"ionTabsWillChange",ionTabsDidChange:"ionTabsDidChange"},ngContentSelectors:["[slot=top]","*"],decls:5,vars:0,consts:[[1,"tabs-inner"],["tabs","true",3,"stackEvents"],["outlet",""]],template:function(e,t){1&e&&(i.fd(k),i.ed(0),i.Rc(1,"div",0),i.Rc(2,"ion-router-outlet",1,2),i.Zc("stackEvents",function(e){return t.onPageSelected(e)}),i.Qc(),i.Qc(),i.ed(4,1))},directives:[$t],styles:["[_nghost-%COMP%] {\n      display: flex;\n      position: absolute;\n      top: 0;\n      left: 0;\n      right: 0;\n      bottom: 0;\n\n      flex-direction: column;\n\n      width: 100%;\n      height: 100%;\n\n      contain: layout size style;\n      z-index: $z-index-page-container;\n    }\n    .tabs-inner[_ngcontent-%COMP%] {\n      position: relative;\n\n      flex: 1;\n\n      contain: layout size style;\n    }"]}),Ut.ctorParameters=()=>[{type:W}],Object(r.b)([Object(i.nb)("outlet",{read:$t,static:!1})],Ut.prototype,"outlet",void 0),Object(r.b)([Object(i.r)(ut,{static:!1})],Ut.prototype,"tabBar",void 0),Object(r.b)([Object(i.T)()],Ut.prototype,"ionTabsWillChange",void 0),Object(r.b)([Object(i.T)()],Ut.prototype,"ionTabsDidChange",void 0),Object(r.b)([Object(i.A)("ionTabButtonClick",["$event"])],Ut.prototype,"select",null);let zt=class{constructor(e,t,n){this.routerOutlet=e,this.navCtrl=t,this.config=n}onClick(e){const t=this.defaultHref||this.config.get("backButtonDefaultHref");this.routerOutlet&&this.routerOutlet.canGoBack()?(this.navCtrl.setDirection("back",void 0,void 0,this.routerAnimation),this.routerOutlet.pop(),e.preventDefault()):null!=t&&(this.navCtrl.navigateBack(t,{animation:this.routerAnimation}),e.preventDefault())}};zt.\u0275fac=function(e){return new(e||zt)(i.Mc($t,8),i.Mc(W),i.Mc(yt))},zt.\u0275dir=i.Hc({type:zt,selectors:[["ion-back-button"]],hostBindings:function(e,t){1&e&&i.Zc("click",function(e){return t.onClick(e)})},inputs:{defaultHref:"defaultHref",routerAnimation:"routerAnimation"}}),zt.ctorParameters=()=>[{type:$t,decorators:[{type:i.S}]},{type:W},{type:yt}],Object(r.b)([Object(i.A)("click",["$event"])],zt.prototype,"onClick",null),zt=Object(r.b)([Object(r.d)(0,Object(i.S)())],zt);let Ht=class{constructor(e,t,n,r,i){this.el=e.nativeElement,e.nativeElement.delegate=r.create(t,n,i),J(this,this.el,["ionNavDidChange","ionNavWillChange"])}};Ht.\u0275fac=function(e){return new(e||Ht)(i.Mc(i.v),i.Mc(i.p),i.Mc(i.G),i.Mc(xt),i.Mc(i.ob))},Ht.\u0275dir=i.Hc({type:Ht,selectors:[["ion-nav"]]}),Ht.ctorParameters=()=>[{type:i.v},{type:i.p},{type:i.G},{type:xt},{type:i.ob}],Ht=Object(r.b)([ee({inputs:["animated","animation","root","rootParam
1s","swipeGesture"],methods:["push","insert","insertPages","pop","popTo","popToRoot","removeIndex","setRoot","setPages","getActive","getByIndex","canGoBack","getPrevious"]})],Ht);let qt=class{constructor(e,t,n,r,i){this.locationStrategy=e,this.navCtrl=t,this.elementRef=n,this.router=r,this.routerLink=i,this.routerDirection="forward"}ngOnInit(){this.updateTargetUrlAndHref()}ngOnChanges(){this.updateTargetUrlAndHref()}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}updateTargetUrlAndHref(){if(this.routerLink){const e=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=e}}onClick(e){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation),e.preventDefault()}};qt.\u0275fac=function(e){return new(e||qt)(i.Mc(o.i),i.Mc(W),i.Mc(i.v),i.Mc(a.h),i.Mc(a.i,8))},qt.\u0275dir=i.Hc({type:qt,selectors:[["","routerLink",""]],hostBindings:function(e,t){1&e&&i.Zc("click",function(e){return t.onClick(e)})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[i.Ac]}),qt.ctorParameters=()=>[{type:o.i},{type:W},{type:i.v},{type:a.h},{type:a.i,decorators:[{type:i.S}]}],Object(r.b)([Object(i.A)("click",["$event"])],qt.prototype,"onClick",null),qt=Object(r.b)([Object(r.d)(4,Object(i.S)())],qt);let Gt=class{constructor(e){this.templateRef=e}};Gt.\u0275fac=function(e){return new(e||Gt)(i.Mc(i.jb))},Gt.\u0275dir=i.Hc({type:Gt,selectors:[["","virtualFooter",""]]}),Gt.ctorParameters=()=>[{type:i.jb}];let Wt=class{constructor(e){this.templateRef=e}};Wt.\u0275fac=function(e){return new(e||Wt)(i.Mc(i.jb))},Wt.\u0275dir=i.Hc({type:Wt,selectors:[["","virtualHeader",""]]}),Wt.ctorParameters=()=>[{type:i.jb}];let Qt=class{constructor(e,t){this.templateRef=e,this.viewContainer=t}};Qt.\u0275fac=function(e){return new(e||Qt)(i.Mc(i.jb),i.Mc(i.ob))},Qt.\u0275dir=i.Hc({type:Qt,selectors:[["","virtualItem",""]]}),Qt.ctorParameters=()=>[{type:i.jb},{type:i.ob}];let Kt=class{constructor(e,t,n){this.z=e,this.iterableDiffers=t,this.refMap=new WeakMap,this.el=n.nativeElement,this.el.nodeRender=this.nodeRender.bind(this)}ngOnChanges(e){if(this.trackBy&&"items"in e){const n=e.items.currentValue;if(void 0===this.differ&&null!=n)try{this.differ=this.iterableDiffers.find(n).create(this.trackBy)}catch(t){throw new Error(`Cannot find a differ supporting object '${n}'. VirtualScroll only supports binding to Iterables such as Arrays.`)}}}ngDoCheck(){null!==(void 0!==this.differ&&this.items?this.differ.diff(this.items):null)&&this.checkRange(0)}nodeRender(e,t,n){return this.z.run(()=>{let r;if(e){r=this.refMap.get(e);const n=r.context;n.$implicit=t.value,n.index=t.index}else r=this.itmTmp.viewContainer.createEmbeddedView(this.getComponent(t.type),{$implicit:t.value,index:n},n),e=Xt(r),this.refMap.set(e,r);return r.detectChanges(),e})}getComponent(e){switch(e){case"item":return this.itmTmp.templateRef;case"header":return this.hdrTmp.templateRef;case"footer":return this.ftrTmp.templateRef}throw new Error("template for virtual item was not provided")}};Kt.\u0275fac=function(e){return new(e||Kt)(i.Mc(i.R),i.Mc(i.I),i.Mc(i.v))},Kt.\u0275cmp=i.Gc({type:Kt,selectors:[["ion-virtual-scroll"]],contentQueries:function(e,t,n){if(1&e&&(i.Fc(n,Qt,1),i.Fc(n,Wt,1),i.Fc(n,Gt,1)),2&e){let e;i.hd(e=i.ad())&&(t.itmTmp=e.first),i.hd(e=i.ad())&&(t.hdrTmp=e.first),i.hd(e=i.ad())&&(t.ftrTmp=e.first)}},inputs:{approxItemHeight:"approxItemHeight",approxHeaderHeight:"approxHeaderHeight",approxFooterHeight:"approxFooterHeight",headerFn:"headerFn",footerFn:"footerFn",items:"items",itemHeight:"itemHeight",headerHeight:"headerHeight",footerHeight:"footerHeight",trackBy:"trackBy"},features:[i.Ac],ngContentSelectors:E,decls:1,vars:0,template:function(e,t){1&e&&(i.fd(),i.ed(0))},encapsulation:2,changeDetection:0}),Kt.ctorParameters=()=>[{type:i.R},{type:i.I},{type:i.v}],Object(r.b)([Object(i.r)(Qt,{static:!1})],Kt.prototype,"itmTmp",void 0),Object(r.b)([Object(i.r)(Wt,{static:!1})],Kt.prototype,"hdrTmp",void 0),Object(r.b)([Object(i.r)(Gt,{static:!1})],Kt.prototype,"ftrTmp",void 0),Kt=Object(r.b)([ee({inputs:["approxItemHeight","approxHeaderHeight","approxFooterHeight","headerFn","footerFn","items","itemHeight","headerHeight","footerHeight"],methods:["checkEnd","checkRange","positionForItem"]})],Kt);const Xt=e=>{const t=e.rootNodes;for(let n=0;n<t.length;n++)if(1===t[n].nodeType)return t[n];throw new Error("virtual element was not created")};
1class Yt{constructor(e){this.ctrl=e}create(e){return this.ctrl.create(e||{})}dismiss(e,t,n){return this.ctrl.dismiss(e,t,n)}getTop(){return this.ctrl.getTop()}}let Zt=class extends Yt{constructor(){super(m.c)}};Zt.\u0275fac=function(e){return new(e||Zt)},Zt.\u0275prov=i.Ic({token:Zt,factory:function(e){return Zt.\u0275fac(e)},providedIn:"root"}),Zt.ngInjectableDef=Object(i.Ic)({factory:function(){return new Zt},token:Zt,providedIn:"root"});let Jt=class extends Yt{constructor(){super(m.b)}};Jt.\u0275fac=function(e){return new(e||Jt)},Jt.\u0275prov=i.Ic({token:Jt,factory:function(e){return Jt.\u0275fac(e)},providedIn:"root"}),Jt.ngInjectableDef=Object(i.Ic)({factory:function(){return new Jt},token:Jt,providedIn:"root"});let en=class extends Yt{constructor(){super(m.k)}};en.\u0275fac=function(e){return new(e||en)},en.\u0275prov=i.Ic({token:en,factory:function(e){return en.\u0275fac(e)},providedIn:"root"}),en.ngInjectableDef=Object(i.Ic)({factory:function(){return new en},token:en,providedIn:"root"});let tn=class{open(e){return f.a.open(e)}close(e){return f.a.close(e)}toggle(e){return f.a.toggle(e)}enable(e,t){return f.a.enable(e,t)}swipeGesture(e,t){return f.a.swipeGesture(e,t)}isOpen(e){return f.a.isOpen(e)}isEnabled(e){return f.a.isEnabled(e)}get(e){return f.a.get(e)}getOpen(){return f.a.getOpen()}getMenus(){return f.a.getMenus()}};tn.\u0275fac=function(e){return new(e||tn)},tn.\u0275prov=i.Ic({token:tn,factory:function(e){return tn.\u0275fac(e)},providedIn:"root"}),tn.ngInjectableDef=Object(i.Ic)({factory:function(){return new tn},token:tn,providedIn:"root"});let nn=class extends Yt{constructor(){super(m.m)}};nn.\u0275fac=function(e){return new(e||nn)},nn.\u0275prov=i.Ic({token:nn,factory:function(e){return nn.\u0275fac(e)},providedIn:"root"}),nn.ngInjectableDef=Object(i.Ic)({factory:function(){return new nn},token:nn,providedIn:"root"});let rn=class extends Yt{constructor(e,t,n){super(m.l),this.angularDelegate=e,this.resolver=t,this.injector=n}create(e){return super.create(Object.assign({},e,{delegate:this.angularDelegate.create(this.resolver,this.injector)}))}};rn.\u0275fac=function(e){return new(e||rn)(i.Vc(xt),i.Vc(i.p),i.Vc(i.G))},rn.\u0275prov=i.Ic({token:rn,factory:function(e){return rn.\u0275fac(e)}}),rn.ctorParameters=()=>[{type:xt},{type:i.p},{type:i.G}];let sn=class extends Yt{constructor(e,t,n){super(m.d),this.angularDelegate=e,this.resolver=t,this.injector=n}create(e){return super.create(Object.assign({},e,{delegate:this.angularDelegate.create(this.resolver,this.injector)}))}};sn.\u0275fac=function(e){return new(e||sn)(i.Vc(xt),i.Vc(i.p),i.Vc(i.G))},sn.\u0275prov=i.Ic({token:sn,factory:function(e){return sn.\u0275fac(e)}}),sn.ctorParameters=()=>[{type:xt},{type:i.p},{type:i.G}];let on=class extends Yt{constructor(){super(m.o)}};on.\u0275fac=function(e){return new(e||on)},on.\u0275prov=i.Ic({token:on,factory:function(e){return on.\u0275fac(e)},providedIn:"root"}),on.ngInjectableDef=Object(i.Ic)({factory:function(){return new on},token:on,providedIn:"root"});let an=class{read(e){ln().read(e)}write(e){ln().write(e)}};an.\u0275fac=function(e){return new(e||an)},an.\u0275prov=i.Ic({token:an,factory:function(e){return an.\u0275fac(e)},providedIn:"root"}),an.ngInjectableDef=Object(i.Ic)({factory:function(){return new an},token:an,providedIn:"root"});const ln=()=>{const e="undefined"!=typeof window?window:null;if(null!=e){const t=e.Ionic;return t&&t.queue?t.queue:{read:t=>e.requestAnimationFrame(t),write:t=>e.requestAnimationFrame(t)}}return{read:e=>e(),write:e=>e()}};let cn=class{create(e){return Object(l.a)(e)}easingTime(e,t,n,r,i){return Object(c.a)(e,t,n,r,i)}};cn.\u0275fac=function(e){return new(e||cn)},cn.\u0275prov=i.Ic({token:cn,factory:function(e){return cn.\u0275fac(e)},providedIn:"root"}),cn.ngInjectableDef=Object(i.Ic)({factory:function(){return new cn},token:cn,providedIn:"root"});let un=class{constructor(e){this.zone=e}create(e,t=!1){return t&&Object.getOwnPropertyNames(e).forEach(t=>{if("function"==typeof e[t]){const n=e[t];e[t]=(...e)=>this.zone.run(()=>n(...e))}}),Object(u.createGesture)(e)}};un.\u0275fac=function(e){return new(e||un)(i.Vc(i.R))},un.\u0275prov=i.Ic({token:un,factory:function(e){return un.\u0275fac(e)},providedIn:"root"}),un.ctorParameters=()=>[{type:i.R}],un.ngInjectableDef=Object(i.Ic)({factory:function(){return new un(Object(i.Vc)(i.R))},token:un,providedIn:"root"});class hn{shouldDetach(e){return!1}shouldAttach(e){return!1}store(e,t){}retrieve(e){return null}shouldReuseRoute(e,t){if(e.routeConfig!==t.routeConfig)return!1;const n=e.params,r=t.params,i=Object.keys(n),s=Object.keys(r);if(i.length!==s.length)return!1;for(const o of i)if(r[o]!==n[o])return!1;return!0}}const dn=(e,t,r)=>()=>{const i=t.defaultView;if(i&&"undefined"!=typeof window){(e=>{const t=window,n=t.Ionic;if(!n||!n.config||"Object"===n.config.constructor.name)t.Ionic=t.Ionic||{},t.Ionic.config=Object.assign(Object.assign({},t.Ionic.config),e),t.Ionic.config})(Object.assign({},e,{_zoneGate:e=>r.run(e)}));const i="__zone_symbol__addEventListener"in t.body?"__zone_symbol__addEventListener":"addEventListener";return function(){var e=[];
1if("undefined"!=typeof window){var t=window;t.customElements&&(!t.Element||t.Element.prototype.closest&&t.Element.prototype.matches&&t.Element.prototype.remove&&t.Element.prototype.getRootNode)||e.push(n.e(15).then(n.t.bind(null,"QdDj",7))),"function"==typeof Object.assign&&Object.entries&&Array.prototype.find&&Array.prototype.includes&&String.prototype.startsWith&&String.prototype.endsWith&&(!t.NodeList||t.NodeList.prototype.forEach)&&t.fetch&&function(){try{var e=new URL("b","http://a");return e.pathname="c%20d","http://a/c%20d"===e.href&&e.searchParams}catch(t){return!1}}()&&"undefined"!=typeof WeakMap||e.push(n.e(13).then(n.t.bind(null,"t6o4",7)))}return Promise.all(e)}().then(()=>S(0,{exclude:["ion-tabs","ion-tab"],syncQueue:!0,raf:I,jmp:e=>r.runOutsideAngular(e),ael(e,t,n,r){e[i](t,n,r)},rel(e,t,n,r){e.removeEventListener(t,n,r)}}))}};var pn;let fn=pn=class{static forRoot(e){return{ngModule:pn,providers:[{provide:bt,useValue:e},{provide:i.d,useFactory:dn,multi:!0,deps:[bt,o.c,i.R]}]}}};fn.\u0275fac=function(e){return new(e||fn)},fn.\u0275mod=i.Kc({type:fn}),fn.\u0275inj=i.Jc({providers:[xt,rn,sn],imports:[[o.b]]}),("undefined"==typeof ngJitMode||ngJitMode)&&i.nd(fn,{declarations:function(){return[te,ne,re,ie,se,oe,ae,le,ce,ue,he,de,pe,fe,me,ge,ve,ye,be,we,_e,xe,Ce,Se,Ee,Ae,ke,Ie,Te,Oe,De,Pe,Me,Ne,Re,Le,je,Fe,Be,$e,Ve,Ue,ze,He,qe,Ge,We,Qe,Ke,Xe,Ye,Ze,Je,et,tt,nt,rt,it,st,ot,at,lt,ct,ut,ht,dt,pt,ft,gt,vt,mt,Ut,R,j,B,V,z,$t,zt,Ht,qt,Gt,Wt,Qt,Kt]},imports:function(){return[o.b]},exports:function(){return[te,ne,re,ie,se,oe,ae,le,ce,ue,he,de,pe,fe,me,ge,ve,ye,be,we,_e,xe,Ce,Se,Ee,Ae,ke,Ie,Te,Oe,De,Pe,Me,Ne,Re,Le,je,Fe,Be,$e,Ve,Ue,ze,He,qe,Ge,We,Qe,Ke,Xe,Ye,Ze,Je,et,tt,nt,rt,it,st,ot,at,lt,ct,ut,ht,dt,pt,ft,gt,vt,mt,Ut,R,j,B,V,z,$t,zt,Ht,qt,Gt,Wt,Qt,Kt]}})},VBEu:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("mrSG"),i=n("fXoL"),s=n("4pnn");let o=class{constructor(e){this.cookieService=e,this.d=[[0,1,2,3,4,5,6,7,8,9],[1,2,3,4,0,6,7,8,9,5],[2,3,4,0,1,7,8,9,5,6],[3,4,0,1,2,8,9,5,6,7],[4,0,1,2,3,9,5,6,7,8],[5,9,8,7,6,0,4,3,2,1],[6,5,9,8,7,1,0,4,3,2],[7,6,5,9,8,2,1,0,4,3],[8,7,6,5,9,3,2,1,0,4],[9,8,7,6,5,4,3,2,1,0]],this.p=[[0,1,2,3,4,5,6,7,8,9],[1,5,7,6,2,8,3,0,9,4],[5,8,0,3,7,9,6,1,4,2],[8,9,1,6,0,4,3,5,2,7],[9,4,5,3,1,2,6,8,7,0],[4,2,8,6,5,7,3,9,0,1],[2,7,9,3,8,0,6,4,1,5],[7,0,4,6,9,1,3,2,5,8]]}validate(e){let t=0;const n=this.invArray(e);for(let r=0;r<n.length;r++)t=this.d[t][this.p[r%8][n[r]]];return 0===t}invArray(e){return e.reverse()}checkAadhaar(e){if("123412341234"===e)return!1;const t=e.split("").map(Number);return this.validate(t)}encryptAESGCM(e,t){return Object(r.b)(this,void 0,void 0,function*(){try{const t=new TextEncoder,n=this.getDeviceId(),r=t.encode(n),i=yield crypto.subtle.digest("SHA-256",r),s=yield crypto.subtle.importKey("raw",i,{name:"AES-GCM"},!1,["encrypt"]),o=crypto.getRandomValues(new Uint8Array(16)),a=yield crypto.subtle.encrypt({name:"AES-GCM",iv:o},s,t.encode(e)),l=new Uint8Array(a),c=new Uint8Array(o.length+l.length);return c.set(o,0),c.set(l,o.length),btoa(String.fromCharCode(...c)).replace(/\+/g,"---")}catch(t){return console.error("Encryption failed:",t),null}})}decryptionAESGCM(e,t){return Object(r.b)(this,void 0,void 0,function*(){try{if(0==e.length)return null;const t=new TextDecoder,n=new TextEncoder,r=this.getDeviceId(),i=n.encode(r),s=yield crypto.subtle.digest("SHA-256",i),o=yield crypto.subtle.importKey("raw",s,{name:"AES-GCM"},!1,["decrypt"]),a=e.replace(/---/g,"+"),l=atob(a),c=Uint8Array.from(l,e=>e.charCodeAt(0));if(c.length<16)throw new Error("Invalid encrypted data: Too short");const u=c.slice(0,16),h=c.slice(16),d=yield crypto.subtle.decrypt({name:"AES-GCM",iv:u},o,h);return t.decode(d)}catch(t){return console.error("Decryption failed:",t),null}})}getDeviceId(){return this.cookieService.get("d").replace(/"/g,"")}};o.ctorParameters=()=>[{type:s.c}],o=Object(r.c)([Object(i.E)({providedIn:"root"})],o)},VRyK:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n("HDdC"),i=n("z+Ro"),s=n("bHdf"),o=n("yCtX");function a(...e){let t=Number.POSITIVE_INFINITY,n=null,a=e[e.length-1];return Object(i.a)(a)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof a&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof r.a?e[0]:Object(s.a)(t)(Object(o.a)(e,n))}},"W6o/":function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return l}),n.d(t,"c",function(){return r}),n.d(t,"d",function(){return p}),n.d(t,"e",function(){return f}),n.d(t,"f",function(){return w}),n.d(t,"g",function(){return c}),n.d(t,"h",function(){return i}),n.d(t,"i",function(){return o}
1),n.d(t,"j",function(){return d}),n.d(t,"k",function(){return m}),n.d(t,"l",function(){return h}),n.d(t,"m",function(){return g}),n.d(t,"n",function(){return b}),n.d(t,"o",function(){return _}),n.d(t,"p",function(){return y}),n.d(t,"q",function(){return v}),n.d(t,"r",function(){return u});const r=(e,t)=>{e.componentOnReady?e.componentOnReady().then(e=>t(e)):u(()=>t(e))},i=(e,t=[])=>{const n={};return t.forEach(t=>{if(e.hasAttribute(t)){null!==e.getAttribute(t)&&(n[t]=e.getAttribute(t)),e.removeAttribute(t)}}),n},s=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","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-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],o=e=>i(e,s),a=(e,t,n,r)=>{if("undefined"!=typeof window){const i=window,s=i&&i.Ionic&&i.Ionic.config;if(s){const i=s.get("_ael");if(i)return i(e,t,n,r);if(s._ael)return s._ael(e,t,n,r)}}return e.addEventListener(t,n,r)},l=(e,t,n,r)=>{if("undefined"!=typeof window){const i=window,s=i&&i.Ionic&&i.Ionic.config;if(s){const i=s.get("_rel");if(i)return i(e,t,n,r);if(s._rel)return s._rel(e,t,n,r)}}return e.removeEventListener(t,n,r)},c=(e,t=e)=>e.shadowRoot||t,u=e=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(e):"function"==typeof requestAnimationFrame?requestAnimationFrame(e):setTimeout(e),h=e=>!!e.shadowRoot&&!!e.attachShadow,d=e=>{const t=e.closest("ion-item");return t?t.querySelector("ion-label"):null},p=(e,t)=>{let n;const r=e.getAttribute("aria-labelledby"),i=e.id;let s=null!==r&&""!==r.trim()?r:t+"-lbl",o=null!==r&&""!==r.trim()?document.getElementById(r):d(e);return o?(null===r&&(o.id=s),n=o.textContent,o.setAttribute("aria-hidden","true")):""!==i.trim()&&(o=document.querySelector(`label[for="${i}"]`),o&&(""!==o.id?s=o.id:o.id=s=`${i}-lbl`,n=o.textContent)),{label:o,labelId:s,labelText:n}},f=(e,t,n,r,i)=>{if(e||h(t)){let e=t.querySelector("input.aux-input");e||(e=t.ownerDocument.createElement("input"),e.type="hidden",e.classList.add("aux-input"),t.appendChild(e)),e.disabled=i,e.name=n,e.value=r||""}},m=(e,t,n)=>Math.max(e,Math.min(t,n)),g=(e,t)=>{if(!e){const e="ASSERT: "+t;throw console.error(e),new Error(e)}},v=e=>e.timeStamp||Date.now(),y=e=>{if(e){const t=e.changedTouches;if(t&&t.length>0){const e=t[0];return{x:e.clientX,y:e.clientY}}if(void 0!==e.pageX)return{x:e.pageX,y:e.pageY}}return{x:0,y:0}},b=e=>{const t="rtl"===document.dir;switch(e){case"start":return t;case"end":return!t;default:throw new Error(`"${e}" is not a valid value for [side]. Use "start" or "end" instead.`)}},w=(e,t)=>{const n=e._original||e;return{_original:e,emit:_(n.emit.bind(n),t)}},_=(e,t=0)=>{let n;return(...r)=>{clearTimeout(n),n=setTimeout(e,t,...r)}}},WYAk:function(e,t,n){var r,i,s,o;e.exports=(r=n("Ib8C"),s=(i=r).lib.Base,o=i.enc.Utf8,void(i.algo.HMAC=s.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=o.parse(t));var n=e.blockSize,r=4*n;t.sigBytes>r&&(t=e.finalize(t)),t.clamp();for(var i=this._oKey=t.clone(),s=this._iKey=t.clone(),a=i.words,l=s.words,c=0;c<n;c++)a[c]^=1549556828,l[c]^=909522486;i.sigBytes=s.sigBytes=r,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,n=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(n))}})))},XNiG:function(e,t,n){"use strict";n.d(t,"b",function(){return c}),n.d(t,"a",function(){return u});var r=n("HDdC"),i=n("7o/Q"),s=n("quSY"),o=n("9ppp"),a=n("Ylt2"),l=n("2QA8");class c extends i.a{constructor(e){super(e),this.destination=e}}class u extends r.a{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[l.a](){return new c(this)}lift(e){const t=new h(this,this);return t.operator=e,t}next(e){if(this.closed)throw new o.a;if(!this.isStopped){const{observers:t}=this,n=t.length,r=t.slice();for(let i=0;i<n;i++)r[i].next(e)}}error(e){if(this.closed)throw new o.a;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:t}=this,n=t.length,r=t.slice();for(let i=0;i<n;i++)r[i].error(e);this.observers.length=0}complete(){if(this.closed)throw new o.a;this.isStopped=!0;const{observers:e}=this,t=e.length,n=e.slice();for(let r=0;r<t;r++)n[r].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(e){if(this.closed)throw new o.a;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new o.a;return this.hasError?(e.error(this.thrownError),s.a.EMPTY):this.isStopped?(e.complete(),s.a.EMPTY):(this.observers.push(e),new a.a(this,e))}asObservable(){const e=new r.a;return e.source=this,e}}u.create=(e,t)=>
1new h(e,t);class h extends u{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):s.a.EMPTY}}},XoHu:function(e,t,n){"use strict";function r(e){return null!==e&&"object"==typeof e}n.d(t,"a",function(){return r})},Ylt2:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("quSY");class i extends r.a{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}},aDnW:function(e,t,n){"use strict";n.d(t,"a",function(){return B});var r=n("mrSG"),i=n("fXoL"),s=n("ofXK"),o=n("3Pt+"),a=n("TEn/"),l=n("9ans"),c=n("AytR"),u=n("sYmb"),h=n("tyNb");let d=class{constructor(e,t,n,r,i,s){this.popCtrl=e,this.alertCtrl=t,this._translate=n,this.auth=r,this.router=i,this.navCtlr=s,this.profileData=[],this.token=""}ngOnInit(){this.profileData=this.auth.userProfile(),this.token=this.auth.getToken(),"missing"==localStorage.getItem("avatar")||"null"==localStorage.getItem("avatar")?this.profilePhoto=null:this.profilePhoto="data:image/png;base64,"+localStorage.getItem("avatar")}string_translate(e){return this._translate.instant(e)}close(){this.popCtrl.dismiss()}confirmLogout(){return Object(r.b)(this,void 0,void 0,function*(){this.close();const e=yield this.alertCtrl.create({header:"",message:this._translate.instant("logoutMsg"),cssClass:"alertCustomCss",buttons:[{text:this._translate.instant("Cancel"),role:"cancel",cssClass:"primary"},{text:this._translate.instant("Logout"),role:"logout",cssClass:"danger"}]});e.present(),e.onDidDismiss().then(e=>{"logout"==e.role&&this.logout()})})}logout(e=!0){return Object(r.b)(this,void 0,void 0,function*(){yield this.auth.logOut(),e?this.router.navigate(["."]):location.href="."})}NavigateToProfile(){this.navCtlr.navigateForward("/web/profile"),this.close()}NavigateToActivity(){this.navCtlr.navigateForward("/web/activities"),this.close()}NavigateToSettings(){this.navCtlr.navigateForward("/web/settings"),this.close()}NavigateToNominee(){this.navCtlr.navigateForward("/web/services/nominee"),this.close()}NavigateToSwitchUser(){this.auth.switchUser()}};d.ctorParameters=()=>[{type:a.k},{type:a.a},{type:u.c},{type:l.a},{type:h.h},{type:a.h}],d=Object(r.c)([Object(i.n)({selector:"app-header-popover",template:'<div class="namedgn headerDiv">\n    <ion-row class="ion-margin-top">\n        <ion-col>\n            <ion-avatar style="margin: auto;">\n                <img [src]="profilePhoto != null?profilePhoto:\'assets/img/profile_blank.svg\'">\n            </ion-avatar>\n        </ion-col>\n    </ion-row>\n    <ion-row class="nametp">\n        <ion-col class="ion-text-center">\n            <p class="staticText"><strong>{{(profileData.full_name)?profileData.full_name:null}}</strong><br>\n                <small>{{(profileData.alias != null)?\'@\'+profileData.alias:null}}</small></p>\n        </ion-col>\n    </ion-row>\n</div>\n\x3c!-- <div style="margin-left: auto; margin-right: auto;">\n    <ion-row>\n        <ion-col>\n            <ion-chip [outline]="true">{{Manage your Account Settings | translate}}</ion-chip>\n        </ion-col>\n    </ion-row>\n</div> --\x3e\n\x3c!-- <hr> --\x3e\n<div style="margin-top: -3px;" class="headerDiv">\n    <ion-item lines="full" class="ion-text-center">\n        <ion-chip [outline]="true" style="margin:auto; display: inline-table;" (click)="NavigateToSettings()">\n            <ion-text class="staticText">{{string_translate(\'Manage your Account Settings\')}}</ion-text>\n        </ion-chip>\n    </ion-item>\n    <ion-item lines="full" (click)="NavigateToProfile()" detail="false" class="button_hover " [routerLink]="profile">\n        <ion-label class="cursor">{{string_translate(\'My Profile\')}}</ion-label>\n        <ion-icon name="person-outline" slot="start" size="small" class="staticText"></ion-icon>\n    </ion-item>\n    <ion-item lines="full" (click)="NavigateToNominee()" detail="false" class="button_hover ">\n        <ion-label class="cursor">{{string_translate(\'Nominee\')}}</ion-label>\n        <ion-icon name="people-outline" slot="start" size="small" class="staticText"></ion-icon>\n    </ion-item>\n    <ion-item lines="full" (click)="NavigateToActivity()" detail="false" class="button_hover">\n        <ion-label class="cursor">{{string_translate(\'Activities\')}}</ion-label>\n        <ion-icon name="sync-outline" slot="start" size="small" class="staticText"></ion-icon>\n    </ion-item>\n    <ion-item lines="full" (click)="NavigateToSwitchUser()" detail="false" class="button_hover">\n        <ion-label class="cursor">{{string_translate(\'Switch Account\')}}</ion-label>\n        <ion-icon name="shuffle-outline" slot="start" size="small" class="staticText"></ion-icon>\n    </ion-item>\n</div>\n<div class="headerDiv">\n    <ion-row>\n        <ion-col class="ion-text-center">\n            <ion-button color="danger" (click)="confirmLogout()" class="buttonup">\n                <ion-icon name="log-out-outline"></ion-icon>\n                {{string_translate(\'Logout\')}}\n            </ion-button>\n        </ion-col>\n    </ion-row>\n</div>\n',styles:["hr {\n  width: 98%;\n  color: #000;\n  height: 0px;\n  border: 0.1px solid #c8c7cc;\n}\n\np {\n  line-height: 1.3;\n  margin-top: 10px;\n  margin-bottom: 5px;\n}\n\n.button_hover ion-item:hover {\n  --background: #E2E0E0 !important;\n}\n\n@media only screen and (min-width: 425px) {\n  .buttonup {\n    margin-top: -3px;\n  }\n}\n\n@media only screen and (min-width: 425px) {\n  .namedgn {\n    display: flex;\n    justify-content: center;
1\n    align-items: center;\n    margin-top: -15px;\n  }\n}\n\n@media only screen and (min-width: 768px) {\n  .namedgn {\n    display: block;\n  }\n}\n\n@media only screen and (min-width: 992px) {\n  .namedgn {\n    display: block;\n  }\n}\n\n@media only screen and (min-width: 425px) {\n  .nametp {\n    margin-top: 7px !important;\n  }\n}\n\n@media only screen and (min-width: 768px) {\n  .nametp {\n    margin-top: -12px !important;\n  }\n}\n\n@media only screen and (min-width: 992px) {\n  .nametp {\n    margin-top: -12px !important;\n  }\n}"]})],d);var p=n("sRcL"),f=n("jhN1"),m=n("kyzu");let g=class{constructor(e,t,n,r,i,s){this._translate=e,this.auth=t,this.alertCtrl=n,this.toastController=r,this.titleService=i,this.meta=s,this.supportedLanguage=c.a.supportedLanguages,this.isAlertOpen=!1,this.tost=!1,this.lang={en:{msg:"By selecting English, the website's language will switch to English. Are you sure you want to continue?",OK:"OK",Cancel:"Cancel"},hi:{msg:"\u0939\u093f\u0902\u0926\u0940 (Hindi) \u091a\u0941\u0928\u0928\u0947 \u092a\u0930, \u0935\u0947\u092c\u0938\u093e\u0907\u091f \u0915\u0940 \u092d\u093e\u0937\u093e \u0939\u093f\u0902\u0926\u0940 (Hindi) \u092e\u0947\u0902 \u092c\u0926\u0932 \u091c\u093e\u090f\u0917\u0940\u0964 \u0915\u094d\u092f\u093e \u0906\u092a \u0928\u093f\u0936\u094d\u091a\u093f\u0924 \u0939\u0948\u0902 \u0915\u093f \u0906\u092a \u091c\u093e\u0930\u0940 \u0930\u0916\u0928\u093e \u091a\u093e\u0939\u0924\u0947 \u0939\u0948\u0902?",OK:"\u0920\u0940\u0915 \u0939\u0948",Cancel:"\u0930\u0926\u094d\u0926 \u0915\u0930\u0947\u0902"},as:{msg:"\u0985\u09b8\u09ae\u09c0\u09af\u09bc\u09be (Assamese)\u09ac\u09be\u099b\u09a8\u09bf \u0995\u09f0\u09bf \u09f1\u09c7\u09ac\u099b\u09be\u0987\u099f\u09f0 \u09ad\u09be\u09b7\u09be \u0985\u09b8\u09ae\u09c0\u09af\u09bc\u09be (Assamese) \u09b2\u09c8 \u09b8\u09b2\u09a8\u09bf \u09b9 '\u09ac\u0964 \u0986\u09aa\u09c1\u09a8\u09bf \u09a8\u09bf\u09b6\u09cd\u099a\u09bf\u09a4 \u09af\u09c7 \u0986\u09aa\u09c1\u09a8\u09bf \u0986\u0997\u09ac\u09be\u09a2\u09bc\u09bf\u09ac \u09ac\u09bf\u099a\u09be\u09f0\u09c7?",OK:"\u09b9'\u09ac",Cancel:"\u09ac\u09be\u09a4\u09bf\u09b2 \u0995\u09f0\u0995"},bn:{msg:"\u09ac\u09be\u0999\u09cd\u0997\u09be\u09b2\u09c0 (Bengali) \u09a8\u09bf\u09b0\u09cd\u09ac\u09be\u099a\u09a8 \u0995\u09b0\u09c7, \u0993\u09af\u09bc\u09c7\u09ac\u09b8\u09be\u0987\u099f\u09c7\u09b0 \u09ad\u09be\u09b7\u09be \u09ac\u09be\u0999\u09cd\u0997\u09be\u09b2\u09c0 (Bengali)-\u098f \u09aa\u09b0\u09bf\u09ac\u09b0\u09cd\u09a4\u09bf\u09a4 \u09b9\u09ac\u09c7\u0964 \u0986\u09aa\u09a8\u09bf \u0995\u09bf \u09a8\u09bf\u09b6\u09cd\u099a\u09bf\u09a4 \u09af\u09c7 \u0986\u09aa\u09a8\u09bf \u099a\u09be\u09b2\u09bf\u09af\u09bc\u09c7 \u09af\u09c7\u09a4\u09c7 \u099a\u09be\u09a8?",OK:"\u09a0\u09bf\u0995 \u0986\u099b\u09c7",Cancel:"\u09ac\u09be\u09a4\u09bf\u09b2"},gu:{msg:"\u0a97\u0ac1\u0a9c\u0ab0\u0abe\u0aa4\u0ac0 (Gujarati) \u0aaa\u0ab8\u0a82\u0aa6 \u0a95\u0ab0\u0ac0\u0aa8\u0ac7, \u0ab5\u0ac7\u0aac\u0ab8\u0abe\u0a87\u0a9f\u0aa8\u0ac0 \u0aad\u0abe\u0ab7\u0abe \u0a97\u0ac1\u0a9c\u0ab0\u0abe\u0aa4\u0ac0 (Gujarati) \u0aaa\u0ab0 \u0a9c\u0ab6\u0ac7. \u0ab6\u0ac1\u0a82 \u0aa4\u0aae\u0ac7 \u0a9a\u0abe\u0ab2\u0ac1 \u0ab0\u0abe\u0a96\u0ab5\u0abe \u0aae\u0abe\u0a82\u0a97\u0acb \u0a9b\u0acb?",OK:"\u0aac\u0ab0\u0abe\u0aac\u0ab0",Cancel:"\u0a85\u0aae\u0abe\u0aa8\u0acd\u0aaf \u0a95\u0ab0\u0ab5\u0ac1\u0a82"},ml:{msg:"\u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02 (Malayalam) \u0d24\u0d3f\u0d30\u0d1e\u0d4d\u0d1e\u0d46\u0d1f\u0d41\u0d15\u0d4d\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d24\u0d3f\u0d32\u0d42\u0d1f\u0d46, \u0d35\u0d46\u0d2c\u0d4d\u0d38\u0d48\u0d31\u0d4d\u0d31\u0d3f\u0d28\u0d4d\u0d31\u0d46 \u0d2d\u0d3e\u0d37 \u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02 (Malayalam) \u0d32\u0d47\u0d15\u0d4d\u0d15\u0d4d \u0d2e\u0d3e\u0d31\u0d41\u0d02. \u0d24\u0d41\u0d1f\u0d30\u0d3e\u0d7b \u0d28\u0d3f\u0d19\u0d4d\u0d19\u0d7e \u0d06\u0d17\u0d4d\u0d30\u0d39\u0d3f\u0d15\u0d4d\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d41\u0d23\u0d4d\u0d1f\u0d4b?",OK:"\u0d36\u0d30\u0d3f",Cancel:"\u0d31\u0d26\u0d4d\u0d26\u0d3e\u0d15\u0d4d\u0d15\u0d7d"},mr:{msg:"\u092e\u0930\u093e\u0920\u0940 (Marathi) \u0928\u093f\u0935\u0921\u0942\u0928, \u
10938\u0902\u0915\u0947\u0924\u0938\u094d\u0925\u0933\u093e\u091a\u0940 \u092d\u093e\u0937\u093e \u092e\u0930\u093e\u0920\u0940 (Marathi) \u0935\u0930 \u091c\u093e\u0908\u0932. \u0924\u0941\u092e\u094d\u0939\u093e\u0932\u093e \u0928\u0915\u094d\u0915\u0940 \u092a\u0941\u0922\u0947 \u091c\u093e\u092f\u091a\u0947 \u0906\u0939\u0947 \u0915\u093e?",OK:"\u0920\u0940\u0915 \u0906\u0939\u0947",Cancel:"\u0930\u0926\u094d\u0926 \u0915\u0930\u093e"},or:{msg:"\u0b13\u0b21\u0b3c\u0b3f\u0b06 (Odia) \u0b1a\u0b2f\u0b3c\u0b28 \u0b15\u0b30\u0b3f, \u0b71\u0b47\u0b2c\u0b38\u0b3e\u0b07\u0b1f\u0b30 \u0b2d\u0b3e\u0b37\u0b3e \u0b13\u0b21\u0b3c\u0b3f\u0b06 (Odia) \u0b15\u0b41 \u0b2c\u0b26\u0b33\u0b3f\u0b2c\u0964 \u0b06\u0b2a\u0b23 \u0b28\u0b3f\u0b36\u0b4d\u0b1a\u0b3f\u0b24 \u0b15\u0b3f \u0b06\u0b2a\u0b23 \u0b06\u0b17\u0b15\u0b41 \u0b2c\u0b22\u0b3c\u0b3f\u0b2c\u0b3e\u0b15\u0b41 \u0b1a\u0b3e\u0b39\u0b41\u0b01\u0b1b\u0b28\u0b4d\u0b24\u0b3f?",OK:"\u0b20\u0b3f\u0b15\u0b4d \u0b05\u0b1b\u0b3f",Cancel:"\u0b2c\u0b3e\u0b24\u0b3f\u0b32\u0b4d \u0b15\u0b30\u0b28\u0b4d\u0b24\u0b41"},pa:{msg:"\u0a2a\u0a70\u0a1c\u0a3e\u0a2c\u0a40 (Punjabi) \u0a26\u0a40 \u0a1a\u0a4b\u0a23 \u0a15\u0a30\u0a15\u0a47, \u0a35\u0a48\u0a71\u0
1a2c\u0a38\u0a3e\u0a08\u0a1f \u0a26\u0a40 \u0a2d\u0a3e\u0a38\u0a3c\u0a3e \u0a2a\u0a70\u0a1c\u0a3e\u0a2c\u0a40 (Punjabi) \u0a35\u0a3f\u0a71\u0a1a \u0a2c\u0a26\u0a32 \u0a1c\u0a3e\u0a35\u0a47\u0a17\u0a40\u0964 \u0a15\u0a40 \u0a24\u0a41\u0a38\u0a40\u0a02 \u0a1c\u0a3e\u0a30\u0a40 \u0a30\u0a71\u0a16\u0a23\u0a3e \u0a1a\u0a3e\u0a39\u0a41\u0a70\u0a26\u0a47 \u0a39\u0a4b?",OK:"\u0a20\u0a40\u0a15 \u0a39\u0a48",Cancel:"\u0a30\u0a71\u0a26 \u0a15\u0a30\u0a4b"},ta:{msg:"\u0ba4\u0bae\u0bbf\u0bb4\u0bcd (Tamil) \u0b90\u0ba4\u0bcd \u0ba4\u0bc7\u0bb0\u0bcd\u0ba8\u0bcd\u0ba4\u0bc6\u0b9f\u0bc1\u0b95\u0bcd\u0b95\u0bc1\u0bae\u0bcd \u0bae\u0bc2\u0bb2\u0bae\u0bcd, \u0bb5\u0bb2\u0bc8\u0ba4\u0bcd\u0ba4\u0bb3\u0ba4\u0bcd\u0ba4\u0bbf\u0ba9\u0bcd \u0bae\u0bca\u0bb4\u0bbf \u0ba4\u0bae\u0bbf\u0bb4\u0bcd (Tamil) \u0b95\u0bcd\u0b95\u0bc1 \u0bae\u0bbe\u0bb1\u0bc1\u0bae\u0bcd. \u0ba8\u0bc0\u0b99\u0bcd\u0b95\u0bb3\u0bcd \u0ba4\u0bca\u0b9f\u0bb0 \u0bb5\u0bbf\u0bb0\u0bc1\u0bae\u0bcd\u0baa\u0bc1\u0b95\u0bbf\u0bb1\u0bc0\u0bb0\u0bcd\u0b95\u0bb3\u0bbe?",OK:"\u0b9a\u0bb0\u0bbf",Cancel:"\u0bb0\u0ba4\u0bcd\u0ba4\u0bc1 \u0b9a\u0bc6\u0baf\u0bcd"},te:{msg:"\u0c24\u0c46\u0c32\u0c41\u0c17\u0c41 (Telugu) \u0c28\u0c41 \u0c0e\u0c02\u0c1a\u0c41\u0c15\u0c4b\u0c35\u0c21\u0c02 \u0c26\u0c4d\u0c35\u0c3e\u0c30\u0c3e, \u0c35\u0c46\u0c2c\u0c4d\u0c38\u0c48\u0c1f\u0c4d \u0c2d\u0c3e\u0c37 \u0c24\u0c46\u0c32\u0c41\u0c17\u0c41 (Telugu) \u0c15\u0c41 \u0c2e\u0c3e\u0c30\u0c41\u0c24\u0c41\u0c02\u0c26\u0c3f. \u0c2e\u0c40\u0c30\u0c41 \u0c16\u0c1a\u0c4d\u0c1a\u0c3f\u0c24\u0c02\u0c17\u0c3e \u0c15\u0c4a\u0c28\u0c38\u0c3e\u0c17\u0c3f\u0c02\u0c1a\u0c3e\u0c32\u0c28\u0c41\u0c15\u0c41\u0c02\u0c1f\u0c41\u0c28\u0c4d\u0c28\u0c3e\u0c30\u0c3e?",OK:"\u0c05\u0c32\u0c3e\u0c17\u0c47",Cancel:"\u0c30\u0c26\u0c4d\u0c26\u0c41 \u0c1a\u0c47\u0c2f\u0c3f"},kn:{msg:"\u0c95\u0ca8\u0ccd\u0ca8\u0ca1 (Kannada) \u0c85\u0ca8\u0ccd\u0ca8\u0cc1 \u0c86\u0caf\u0ccd\u0c95\u0cc6 \u0cae\u0cbe\u0ca1\u0cc1\u0cb5 \u0cae\u0cc2\u0cb2\u0c95, \u0c9c\u0cbe\u0cb2\u0ca4\u0cbe\u0ca3\u0ca6 \u0cad\u0cbe\u0cb7\u0cc6\u0caf\u0cc1 \u0c95\u0ca8\u0ccd\u0ca8\u0ca1 (Kannada) \u0c97\u0cc6 \u0cac\u0ca6\u0cb2\u0cbe\u0c97\u0cc1\u0ca4\u0ccd\u0ca4\u0ca6\u0cc6. \u0ca8\u0cc0\u0cb5\u0cc1 \u0c96\u0c9a\u0cbf\u0ca4\u0cb5\u0cbe\u0c97\u0cbf \u0c85\u0ca6\u0ca8\u0ccd\u0ca8\u0cc1 \u0cae\u0cc1\u0c82\u0ca6\u0cc1\u0cb5\u0cb0\u0cbf\u0cb8\u0cb2\u0cc1 \u0cac\u0caf\u0cb8\u0cc1\u0cb5\u0cbf\u0cb0\u0cbe?",OK:"\u0cb8\u0cb0\u0cbf",Cancel:"\u0cb0\u0ca6\u0ccd\u0ca6\u0cc1\u0cae\u0cbe\u0ca1\u0cbf"}}}openLanguage(e){return Object(r.b)(this,void 0,void 0,function*(){})}changeLanguage(e){this.language=e,this.oldLanguage=this.auth.getLanguage(),1==this.tost&&this.dismissToast(),this.auth.cookieSet("language",this.language),this._translate.use(this.language),this._translate.get("language_webdisclamer").subscribe(e=>{let t=e;this.presentToast(t),this.translateTitle(),this.translateMeta()})}translateMeta(){return Object(r.b)(this,void 0,void 0,function*(){let e=this.meta.getTag('name="description"');if(e&&e.content){let t=yield this.getKeyByValueAndLanguage(e.content);t&&this.meta.updateTag({name:"description",content:this._translate.instant(t)})}let t=this.meta.getTag('name="keywords"');if(t&&t.content){let e=yield this.getKeyByValueAndLanguage(t.content);e&&this.meta.updateTag({name:"keywords",content:this._translate.instant(e)})}})}translateTitle(){return Object(r.b)(this,void 0,void 0,function*(){let e=this.titleService.getTitle();if(e){let t=yield this.getKeyByValueAndLanguage(e);t&&this.titleService.setTitle(this._translate.instant(t))}})}getKeyByValueAndLanguage(e){return Object(r.b)(this,void 0,void 0,function*(){const t=this._translate.translations[this.oldLanguage];if(t){return Object.keys(t).find(n=>t[n]===e)||null}return null})}presentToast(e){return Object(r.b)(this,void 0,void 0,function*(){this.tost=!0,setTimeout(()=>{this.tost=!1},9e3);(yield this.toastController.create({message:e,duration:9e3,position:"bottom",color:"warning",mode:"ios",cssClass:"toast-full-width",buttons:[{side:"end",icon:"close-circle-outline"}]})).present()})}dismissToast(){return Object(r.b)(this,void 0,void 0,function*(){yield this.toastController.dismiss({})})}};g.ctorParameters=()=>[{type:u.c},{type:l.a},{type:a.a},{type:a.l},{type:f.d},{type:f.c}],g=Object(r.c)([Object(i.E)({providedIn:"root"})],g);let v=class{constructor(e,t,n,r,i,s,o,a,l,u,h,d,p,f){this.auth=e,this.navCtlr
1=t,this._translate=n,this.platform=r,this.popoverCtrl=i,this.toastController=s,this.ajax=o,this.titleService=a,this.meta=l,this.alertCtrl=u,this.alert=h,this.cdr=d,this.router=p,this.languageService=f,this.updateDate=c.a.updateDate,this.screenSize=this.platform.isPortrait(),this.deviceSize=this.platform.isLandscape(),this.currentYear=(new Date).getFullYear(),this.tost=!1,this.signin=null,this.language=this.auth.getLanguage(),this.tempLanguage=this.language,this.supportedLanguage=c.a.supportedLanguages,this.loc=window.location.hostname.split("."),this.profile=null,this.resetbut=!0,this.decreasebut=!1,this.increasebut=!1,this.no_of_changes=0,this.currsize=100,this.sideBarMenues=[],this.sideBarMenuesPostLogin=[],this.sideBarMenuesLogout=[],this.activeMenu="",this.isAlertOpen=!1,this.shareMenuOpen=!1,this.lang={en:{msg:"By selecting English, the website's language will switch to English. Are you sure you want to continue?",OK:"OK",Cancel:"Cancel"},hi:{msg:"\u0939\u093f\u0902\u0926\u0940 (Hindi) \u091a\u0941\u0928\u0928\u0947 \u092a\u0930, \u0935\u0947\u092c\u0938\u093e\u0907\u091f \u0915\u0940 \u092d\u093e\u0937\u093e \u0939\u093f\u0902\u0926\u0940 (Hindi) \u092e\u0947\u0902 \u092c\u0926\u0932 \u091c\u093e\u090f\u0917\u0940\u0964 \u0915\u094d\u092f\u093e \u0906\u092a \u0928\u093f\u0936\u094d\u091a\u093f\u0924 \u0939\u0948\u0902 \u0915\u093f \u0906\u092a \u091c\u093e\u0930\u0940 \u0930\u0916\u0928\u093e \u091a\u093e\u0939\u0924\u0947 \u0939\u0948\u0902?",OK:"\u0920\u0940\u0915 \u0939\u0948",Cancel:"\u0930\u0926\u094d\u0926 \u0915\u0930\u0947\u0902"},as:{msg:"\u0985\u09b8\u09ae\u09c0\u09af\u09bc\u09be (Assamese)\u09ac\u09be\u099b\u09a8\u09bf \u0995\u09f0\u09bf \u09f1\u09c7\u09ac\u099b\u09be\u0987\u099f\u09f0 \u09ad\u09be\u09b7\u09be \u0985\u09b8\u09ae\u09c0\u09af\u09bc\u09be (Assamese) \u09b2\u09c8 \u09b8\u09b2\u09a8\u09bf \u09b9 '\u09ac\u0964 \u0986\u09aa\u09c1\u09a8\u09bf \u09a8\u09bf\u09b6\u09cd\u099a\u09bf\u09a4 \u09af\u09c7 \u0986\u09aa\u09c1\u09a8\u09bf \u0986\u0997\u09ac\u09be\u09a2\u09bc\u09bf\u09ac \u09ac\u09bf\u099a\u09be\u09f0\u09c7?",OK:"\u09b9'\u09ac",Cancel:"\u09ac\u09be\u09a4\u09bf\u09b2 \u0995\u09f0\u0995"},bn:{msg:"\u09ac\u09be\u0999\u09cd\u0997\u09be\u09b2\u09c0 (Bengali) \u09a8\u09bf\u09b0\u09cd\u09ac\u09be\u099a\u09a8 \u0995\u09b0\u09c7, \u0993\u09af\u09bc\u09c7\u09ac\u09b8\u09be\u0987\u099f\u09c7\u09b0 \u09ad\u09be\u09b7\u09be \u09ac\u09be\u0999\u09cd\u0997\u09be\u09b2\u09c0 (Bengali)-\u098f \u09aa\u09b0\u09bf\u09ac\u09b0\u09cd\u09a4\u09bf\u09a4 \u09b9\u09ac\u09c7\u0964 \u0986\u09aa\u09a8\u09bf \u0995\u09bf \u09a8\u09bf\u09b6\u09cd\u099a\u09bf\u09a4 \u09af\u09c7 \u0986\u09aa\u09a8\u09bf \u099a\u09be\u09b2\u09bf\u09af\u09bc\u09c7 \u09af\u09c7\u09a4\u09c7 \u099a\u09be\u09a8?",OK:"\u09a0\u09bf\u0995 \u0986\u099b\u09c7",Cancel:"\u09ac\u09be\u09a4\u09bf\u09b2"},gu:{msg:"\u0a97\u0ac1\u0a9c\u0ab0\u0abe\u0aa4\u0ac0 (Gujarati) \u0aaa\u0ab8\u0a82\u0aa6 \u0a95\u0ab0\u0ac0\u0aa8\u0ac7, \u0ab5\u0ac7\u0aac\u0ab8\u0abe\u0a87\u0a9f\u0aa8\u0ac0 \u0aad\u0abe\u0ab7\u0abe \u0a97\u0ac1\u0a9c\u0ab0\u0abe\u0aa4\u0ac0 (Gujarati) \u0aaa\u0ab0 \u0a9c\u0ab6\u0ac7. \u0ab6\u0ac1\u0a82 \u0aa4\u0aae\u0ac7 \u0a9a\u0abe\u0ab2\u0ac1 \u0ab0\u0abe\u0a96\u0ab5\u0abe \u0aae\u0abe\u0a82\u0a97\u0acb \u0a9b\u0acb?",OK:"\u0aac\u0ab0\u0abe\u0aac\u0ab0",Cancel:"\u0a85\u0aae\u0abe\u0aa8\u0acd\u0aaf \u0a95\u0ab0\u0ab5\u0ac1\u0a82"},ml:{msg:"\u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02 (Malayalam) \u0d24\u0d3f\u0d30\u0d1e\u0d4d\u0d1e\u0d46\u0d1f\u0d41\u0d15\u0d4d\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d24\u0d3f\u0d32\u0d42\u0d1f\u0d46, \u0d35\u0d46\u0d2c\u0d4d\u0d38\u0d48\u0d31\u0d4d\u0d31\u0d3f\u0d28\u0d4d\u0d31\u0d46 \u0d2d\u0d3e\u0d37 \u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02 (Malayalam) \u0d32\u0d47\u0d15\u0d4d\u0d15\u0d4d \u0d2e\u0d3e\u0d31\u0d41\u0d02. \u0d24\u0d41\u0d1f\u0d30\u0d3e\u0d7b \u0d28\u0d3f\u0d19\u0d4d\u0d19\u0d7e \u0d06\u0d17\u0d4d\u0d30\u0d39\u0d3f\u0d15\u0d4d\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d41\u0d23\u0d4d\u0d1f\u0d4b?",OK:"\u0d36\u0d30\u0d3f",Cancel:"\u0d31\u0d26\u0d4d\u0d26\u0d3e\u0d15\u0d4d\u0d15\u0d7d"},mr:{msg:"\u092e\u0930\u093e\u0920\u0940 (Marathi) \u0928\u093f\u0935\u0921\u0942\u0928, \u
10938\u0902\u0915\u0947\u0924\u0938\u094d\u0925\u0933\u093e\u091a\u0940 \u092d\u093e\u0937\u093e \u092e\u0930\u093e\u0920\u0940 (Marathi) \u0935\u0930 \u091c\u093e\u0908\u0932. \u0924\u0941\u092e\u094d\u0939\u093e\u0932\u093e \u0928\u0915\u094d\u0915\u0940 \u092a\u0941\u0922\u0947 \u091c\u093e\u092f\u091a\u0947 \u0906\u0939\u0947 \u0915\u093e?",OK:"\u0920\u0940\u0915 \u0906\u0939\u0947",Cancel:"\u0930\u0926\u094d\u0926 \u0915\u0930\u093e"},or:{msg:"\u0b13\u0b21\u0b3c\u0b3f\u0b06 (Odia) \u0b1a\u0b2f\u0b3c\u0b28 \u0b15\u0b30\u0b3f, \u0b71\u0b47\u0b2c\u0b38\u0b3e\u0b07\u0b1f\u0b30 \u0b2d\u0b3e\u0b37\u0b3e \u0b13\u0b21\u0b3c\u0b3f\u0b06 (Odia) \u0b15\u0b41 \u0b2c\u0b26\u0b33\u0b3f\u0b2c\u0964 \u0b06\u0b2a\u0b23 \u0b28\u0b3f\u0b36\u0b4d\u0b1a\u0b3f\u0b24 \u0b15\u0b3f \u0b06\u0b2a\u0b23 \u0b06\u0b17\u0b15\u0b41 \u0b2c\u0b22\u0b3c\u0b3f\u0b2c\u0b3e\u0b15\u0b41 \u0b1a\u0b3e\u0b39\u0b41\u0b01\u0b1b\u0b28\u0b4d\u0b24\u0b3f?",OK:"\u0b20\u0b3f\u0b15\u0b4d \u0b05\u0b1b\u0b3f",Cancel:"\u0b2c\u0b3e\u0b24\u0b3f\u0b32\u0b4d \u0b15\u0b30\u0b28\u0b4d\u0b24\u0b41"},pa:{msg:"\u0a2a\u0a70\u0a1c\u0a3e\u0a2c\u0a40 (Punjabi) \u0a26\u0a40 \u0a1a\u0a4b\u0a23 \u0a15\u0a30\u0a15\u0a47, \u0a35\u0a48\u0a71\u0
1a2c\u0a38\u0a3e\u0a08\u0a1f \u0a26\u0a40 \u0a2d\u0a3e\u0a38\u0a3c\u0a3e \u0a2a\u0a70\u0a1c\u0a3e\u0a2c\u0a40 (Punjabi) \u0a35\u0a3f\u0a71\u0a1a \u0a2c\u0a26\u0a32 \u0a1c\u0a3e\u0a35\u0a47\u0a17\u0a40\u0964 \u0a15\u0a40 \u0a24\u0a41\u0a38\u0a40\u0a02 \u0a1c\u0a3e\u0a30\u0a40 \u0a30\u0a71\u0a16\u0a23\u0a3e \u0a1a\u0a3e\u0a39\u0a41\u0a70\u0a26\u0a47 \u0a39\u0a4b?",OK:"\u0a20\u0a40\u0a15 \u0a39\u0a48",Cancel:"\u0a30\u0a71\u0a26 \u0a15\u0a30\u0a4b"},ta:{msg:"\u0ba4\u0bae\u0bbf\u0bb4\u0bcd (Tamil) \u0b90\u0ba4\u0bcd \u0ba4\u0bc7\u0bb0\u0bcd\u0ba8\u0bcd\u0ba4\u0bc6\u0b9f\u0bc1\u0b95\u0bcd\u0b95\u0bc1\u0bae\u0bcd \u0bae\u0bc2\u0bb2\u0bae\u0bcd, \u0bb5\u0bb2\u0bc8\u0ba4\u0bcd\u0ba4\u0bb3\u0ba4\u0bcd\u0ba4\u0bbf\u0ba9\u0bcd \u0bae\u0bca\u0bb4\u0bbf \u0ba4\u0bae\u0bbf\u0bb4\u0bcd (Tamil) \u0b95\u0bcd\u0b95\u0bc1 \u0bae\u0bbe\u0bb1\u0bc1\u0bae\u0bcd. \u0ba8\u0bc0\u0b99\u0bcd\u0b95\u0bb3\u0bcd \u0ba4\u0bca\u0b9f\u0bb0 \u0bb5\u0bbf\u0bb0\u0bc1\u0bae\u0bcd\u0baa\u0bc1\u0b95\u0bbf\u0bb1\u0bc0\u0bb0\u0bcd\u0b95\u0bb3\u0bbe?",OK:"\u0b9a\u0bb0\u0bbf",Cancel:"\u0bb0\u0ba4\u0bcd\u0ba4\u0bc1 \u0b9a\u0bc6\u0baf\u0bcd"},te:{msg:"\u0c24\u0c46\u0c32\u0c41\u0c17\u0c41 (Telugu) \u0c28\u0c41 \u0c0e\u0c02\u0c1a\u0c41\u0c15\u0c4b\u0c35\u0c21\u0c02 \u0c26\u0c4d\u0c35\u0c3e\u0c30\u0c3e, \u0c35\u0c46\u0c2c\u0c4d\u0c38\u0c48\u0c1f\u0c4d \u0c2d\u0c3e\u0c37 \u0c24\u0c46\u0c32\u0c41\u0c17\u0c41 (Telugu) \u0c15\u0c41 \u0c2e\u0c3e\u0c30\u0c41\u0c24\u0c41\u0c02\u0c26\u0c3f. \u0c2e\u0c40\u0c30\u0c41 \u0c16\u0c1a\u0c4d\u0c1a\u0c3f\u0c24\u0c02\u0c17\u0c3e \u0c15\u0c4a\u0c28\u0c38\u0c3e\u0c17\u0c3f\u0c02\u0c1a\u0c3e\u0c32\u0c28\u0c41\u0c15\u0c41\u0c02\u0c1f\u0c41\u0c28\u0c4d\u0c28\u0c3e\u0c30\u0c3e?",OK:"\u0c05\u0c32\u0c3e\u0c17\u0c47",Cancel:"\u0c30\u0c26\u0c4d\u0c26\u0c41 \u0c1a\u0c47\u0c2f\u0c3f"},kn:{msg:"\u0c95\u0ca8\u0ccd\u0ca8\u0ca1 (Kannada) \u0c85\u0ca8\u0ccd\u0ca8\u0cc1 \u0c86\u0caf\u0ccd\u0c95\u0cc6 \u0cae\u0cbe\u0ca1\u0cc1\u0cb5 \u0cae\u0cc2\u0cb2\u0c95, \u0c9c\u0cbe\u0cb2\u0ca4\u0cbe\u0ca3\u0ca6 \u0cad\u0cbe\u0cb7\u0cc6\u0caf\u0cc1 \u0c95\u0ca8\u0ccd\u0ca8\u0ca1 (Kannada) \u0c97\u0cc6 \u0cac\u0ca6\u0cb2\u0cbe\u0c97\u0cc1\u0ca4\u0ccd\u0ca4\u0ca6\u0cc6. \u0ca8\u0cc0\u0cb5\u0cc1 \u0c96\u0c9a\u0cbf\u0ca4\u0cb5\u0cbe\u0c97\u0cbf \u0c85\u0ca6\u0ca8\u0ccd\u0ca8\u0cc1 \u0cae\u0cc1\u0c82\u0ca6\u0cc1\u0cb5\u0cb0\u0cbf\u0cb8\u0cb2\u0cc1 \u0cac\u0caf\u0cb8\u0cc1\u0cb5\u0cbf\u0cb0\u0cbe?",OK:"\u0cb8\u0cb0\u0cbf",Cancel:"\u0cb0\u0ca6\u0ccd\u0ca6\u0cc1\u0cae\u0cbe\u0ca1\u0cbf"}},this.auth.getDeviceId(),this._translate.use(this.language)}ngOnInit(){this.router.events.subscribe(e=>{e instanceof h.c&&(this.currentUrl=e.urlAfterRedirects.split("/")[2])}),this.profile=this.auth.userProfile(),this.loadProfileandSidebarmenu()}loadProfileandSidebarmenu(){const e=this.profile&&"aadhaar"==this.profile.user_type,t={label:"Share",url:"share",icon:"share",hasDropdown:!0,children:[{label:"Inbox",url:"web/share-documents/inbox",icon:"mail"},{label:"Outbox",url:"web/share-documents/outbox",icon:"send"}]};this.sideBarMenues=[{label:"Home",url:"web/home",icon:"home"},{label:"Issued Documents",url:"web/issued-documents",icon:"ribbon"},{label:"Browse Documents",url:"web/dashboard",icon:"search"},{label:"Drive",url:"web/drive",icon:"documents"},...e?[t]:[],{label:"DigiLocker Services",url:"web/services",icon:"briefcase"},{label:"About DigiLocker",url:"web/about",icon:"information-circle"},{label:"Access UMANG",url:"umang",link:"/assets/img/umang_icon.svg"}],this.sideBarMenuesPostLogin=[{label:"Home",url:"web/home",icon:"home"},{label:"Issued Documents",url:"web/issued-documents",icon:"ribbon"},{label:"Browse Documents",url:"web/dashboard",icon:"search"},{label:"Drive",url:"web/drive",icon:"documents"},...e?[t]:[],{label:"DigiLocker Services",url:"web/services",icon:"briefcase"},{label:"My Profile",url:"web/profile",icon:"person"},{label:"Settings",url:"web/settings",icon:"settings"},{label:"Activities",url:"web/activities",icon:"sync"},{label:"About DigiLocker",url:"web/about",icon:"information-circle"},{label:"Switch Account",url:"switchUser",icon:"shuffle"},{label:"Access UMANG",url:"umang",link:"/assets/img/umang_icon.svg"}],this.sideBarMenuesLogout=[{label:"Logout",url:"web/logout",icon:"exit"}]}ionViewDidEnter(){this.no_of_changes=0}goToUrl(e="/"){return Object(r.b)(this,void 0,void 0,function*(){this.activeMenu=e,["umang"].includes(e)?"aadhaar"!==this.profile.user_type?this.alert.alertMsg("www.digilocker.gov.in","You are not a verified user. Kindl
1y verify using Aadhaar to access these services.").then(e=>{e&&this.navCtlr.navigateForward("web/aadhaar")}):this.alert.alertMsg("www.umang.gov.in","You are being redirected to an external website. Please note that DigiLocker is not responsible for external websites content & privacy policies.").then(e=>{e&&this.gotoUmangPage()}):e&&("web/logout"==e?this.confirmLogout():"switchUser"==e?this.NavigateToSwitchUser():"share"==e?this.toggleShareDropdown():this.navCtlr.navigateRoot(e||this.signin))})}toggleShareDropdown(){this.shareMenuOpen=!this.shareMenuOpen}navigateToSharePage(e){this.activeMenu=e,this.navCtlr.navigateRoot(e)}dismiss(){this.navCtlr.pop()}gotoUmangPage(){this.ajax.showLoader("Please wait while we redirect you to the UMANG.");let e=c.a.urls.misc.jwe_generate;this.ajax.postMethod(e,"",{}).subscribe(e=>{if("success"==e.status){this.ajax.hideLoader();let t=e.token;window.open(`${c.a.urls.misc.umangUrl}${t}`,"_blank")}else e.error_description&&this.ajax.showToast(e.error_description?e.error_description.charAt(0).toUpperCase()+e.error_description.slice(1):"",5e3,"warning"),this.ajax.hideLoader()})}confirmLogout(){return Object(r.b)(this,void 0,void 0,function*(){const e=yield this.alertCtrl.create({header:"",message:this._translate.instant("logoutMsg"),buttons:[{text:this._translate.instant("Cancel"),role:"cancel",cssClass:"primary"},{text:this._translate.instant("Logout"),role:"logout",cssClass:"danger"}]});e.present(),e.onDidDismiss().then(e=>{"logout"==e.role&&this.auth.logOut()})})}_initTranslate(){this._translate.setDefaultLang(this.language)}openLanguage(e){var t;return Object(r.b)(this,void 0,void 0,function*(){if(this.isAlertOpen)return;this.tempLanguage=e;const n=this.supportedLanguage.find(t=>t.id===e),i=this.language;if(!n)return void console.error("Selected language not found!");const s=yield this.alertCtrl.create({header:"www.digilocker.gov.in",message:`\n      <div>\n        <p>${(null===(t=this.lang[n.id])||void 0===t?void 0:t.msg)||""}</p>\n      </div>`,cssClass:"externalLinkCSS",buttons:[{text:"Cancel",role:"cancel",handler:()=>{this.tempLanguage=i,this.isAlertOpen=!1}},{text:"OK",handler:()=>Object(r.b)(this,void 0,void 0,function*(){this.language=e,this.tempLanguage=e,this.languageService.changeLanguage(this.language),this.isAlertOpen=!1})}],backdropDismiss:!1});this.isAlertOpen=!0,yield s.present()})}presentToast(e){return Object(r.b)(this,void 0,void 0,function*(){this.tost=!0,setTimeout(()=>{this.tost=!1},9e3);(yield this.toastController.create({message:e,duration:9e3,position:"bottom",color:"warning",mode:"ios",cssClass:"toast-full-width",buttons:[{side:"end",icon:"close-circle-outline"}]})).present()})}dismissToast(){return Object(r.b)(this,void 0,void 0,function*(){yield this.toastController.dismiss({})})}gotodashboardPage(){this.navCtlr.navigateForward("/dashboard")}presentPopover(e,t=[],n=null){return Object(r.b)(this,void 0,void 0,function*(){const r=yield this.popoverCtrl.create({component:d,cssClass:"header_popover",event:e,translucent:!0,mode:"ios",componentProps:{labels:t},animated:!0});yield r.present(),yield r.onDidDismiss().then(e=>{if(null!=e.data){let t=e.data.label;"action"==n&&("My Profile"==t?this.navCtlr.navigateForward("/profile"):"Activities"==t?this.navCtlr.navigateForward("/activities"):this.ajax.showToast("No action",5e3))}})})}getProfilePhoto(){return Object(r.b)(this,void 0,void 0,function*(){return"missing"==localStorage.getItem("avatar")||"null"==localStorage.getItem("avatar")?this.profilePhoto=null:this.profilePhoto="data:image/png;base64,"+localStorage.getItem("avatar"),!0})}increase(){this.increasebut=!0,this.decreasebut=!1,this.resetbut=!1,this.no_of_changes<2&&(this.no_of_changes++,this.currsize+=1.8,this.updateFontSize())}decrease(){this.increasebut=!1,this.decreasebut=!0,this.resetbut=!1,this.no_of_changes>-2&&(this.no_of_changes--,this.currsize-=1.8,this.updateFontSize())}reset(){this.increasebut=!1,this.decreasebut=!1,this.resetbut=!0,this.currsize=100,this.no_of_changes=0,this.updateFontSize()}updateFontSize(){document.querySelectorAll("#main-content *").forEach(e
1=>{e.style.fontSize=`${this.currsize}%`})}goToG20(){window.open("https://www.g20.org/en/","_blank")}NavigateToSwitchUser(){this.auth.switchUser()}};v.ctorParameters=()=>[{type:l.a},{type:a.h},{type:u.c},{type:a.j},{type:a.k},{type:a.l},{type:p.a},{type:f.d},{type:f.c},{type:a.a},{type:m.a},{type:i.k},{type:h.h},{type:g}],v=Object(r.c)([Object(i.n)({selector:"app-header",template:'<ion-header style=" padding: 0px 10px;" class="header-sticky">\n\n  <ion-grid fixed="false">\n    <ion-toolbar>\n      <ion-buttons slot="start">\n        <ion-menu-button>\n        </ion-menu-button>\n      </ion-buttons>\n      <ion-row [style]="(!screenSize)?\'padding-top: 7px\':\'\'">\n        <div class="logo">\n          <img *ngIf="loc[0] != \'wb\'" tabindex="1" (keyup.enter)="goToUrl(\'web/dashboard\')"\n            (click)="goToUrl(\'web/dashboard\')" class="cursor" id="emblem_lightMode"\n            alt="{{\'National Emblem\' | translate}}" src="assets/img/National-Emblem-black.png" style="padding-left: 7px"\n            class="emblemLogozoom" title="{{\'National Emblem\' | translate}}">\n          <ion-text class="verticalBorder"></ion-text>\n          <img *ngIf="loc[0] != \'wb\'" tabindex="1" (keyup.enter)="goToUrl(\'web/home\')" class="cursor dlLogo"\n            id="dl_logo" alt="{{\'DigiLocker Logo\' |translate}}" src="assets/img/digilocker_logo_new.png"\n            style="padding-left: 7px" title="{{\'DigiLocker Logo\' | translate}}">\n        </div>\n      </ion-row>\n\n      <ion-buttons slot="end">\n        <div class="ion-hide-sm-down">\n\n          <ion-button (click)="increase()" size="small" class="{{increasebut?\'textButtons\':\'\'}}"\n            strong="{{increasebut}}" aria-label="Increase font size" title="Increase font size"><span\n              class="btnText">A+</span></ion-button>\n          <ion-button (click)="reset()" size="small" class="{{resetbut?\'textButtons\':\'\'}}" strong="{{resetbut}}"\n            aria-label="Reset font size" title="Reset font size"><span class="btnText">A</span></ion-button>\n          <ion-button (click)="decrease()" size="small" class="{{decreasebut?\'textButtons\':\'\'}}"\n            strong="{{decreasebut}}" aria-label="Decrease font size" title="Decrease font size"><span\n              class="btnText">A-</span></ion-button>\n        </div>\n        <ion-text class="verticalLine ion-hide-sm-down"></ion-text>\n\n        \x3c!-- <div  class="ion-hide-sm-down">\n                  <app-dark-light-theme></app-dark-light-theme>\n              </div> --\x3e\n\n        \x3c!-- <ion-text  class="verticalLine ion-hide-sm-down"></ion-text> --\x3e\n\n        <span id="languageIcon" class="ion-hide-sm-down">\n          <img src="/assets/img/uil_language.svg" *ngIf="screenSize" style="margin-left: 10px;">\n        </span>\n        <span id="languageIconWhite" class="ion-hide-sm-down">\n          <img src="/assets/img/uil_language_white.svg" *ngIf="screenSize" style="margin-left: 10px;">\n        </span>\n        <ion-select class="cursor ion-no-padding-top staticText ion-hide-sm-down" [ngModel]="tempLanguage"\n          (ngModelChange)="openLanguage($event)" interface="popover" mode="ios" style="margin-right: 25px;">\n          <ion-select-option *ngFor="let lang of supportedLanguage" [value]="lang.id" placeholder="Language">\n            <small>{{ lang.regional }}</small>\n          </ion-select-option>\n        </ion-select>\n\n\n        <div class="ion-hide-sm-down">\n          <div *ngIf="getProfilePhoto()">\n            <ion-avatar (click)="presentPopover($event,[\'My Profile\',\'Activities\'],\'action\')" size="small"\n              class="cursor" mode="ios">\n              <img [src]="profilePhoto != null?profilePhoto:\'assets/img/profile_blank.svg\'" alt="Profile Picture">\n            </ion-avatar>\n          </div>\n        </div>\n\n      </ion-buttons>\n    </ion-toolbar>\n  </ion-grid>\n</ion-header>\n<ion-split-pane contentId="main-content">\n  <ion-menu contentId="main-content" class="ion-margin-top" *ngIf="currentUrl !== \'about-app\'">\n    <ion-header>\n      <ion-toolbar>\n      </ion-toolbar>\n    </ion-header>\n    <ion-content>\n      <div class="shadow">\n        <div class="ion-hide-sm-down">\n          <ion-menu-toggle auto-hide="false" *ngFor="let p of sideBarMenues">\n            \x3c!-- Regular menu items without dropdown --\x3e\n            <ion-item \n              *ngIf="p.url != \'logout\' && !p.hasDropdown" \n              lines="none" \n              (click)="goToUrl(p.url)" \n              class="cursor staticText bgclrf"\n              [ngClass]="{\'active-item\': activeMenu === p.url}" \n              routerDirection="root" \n              routerLinkActive="active-item"\n            >\n              <ion-label class="ion-no-text-wrap">\n                {{ p.label | translate }}\n                <ion-icon name="open-outline" style="font-size: 12px; margin-bottom: 2px;" *ngIf="p.link"></ion-icon>\n              </ion-label>\n              <ion-icon *ngIf="p.icon" class="staticText" slot="start" [ios]="p.icon + \'-outline\'"\n                [md]="p.icon + \'-outline\'"></ion-icon>\n              <ion-icon *ngIf="p.link" slot="start" [src]="p.link"></ion-icon>\n            </ion-item>\n\n            \x3c!-- Dropdown menu items --\x3e\n            <div *ngIf="p.hasDropdown" class="dropdown-menu-container">\n              <ion-item \n                lines="none" \n                (click)="toggleShareDropdown();
1 $event.stopPropagation()" \n                class="cursor staticText bgclrf dropdown-parent"\n                [ngClass]="{\'active-item\': shareMenuOpen}"\n              >\n                <ion-label class="ion-no-text-wrap">\n                  {{ p.label | translate }}\n                </ion-label>\n                <ion-icon class="staticText" slot="start" [ios]="p.icon + \'-outline\'" [md]="p.icon + \'-outline\'"></ion-icon>\n                <ion-icon \n                  slot="end" \n                  [name]="shareMenuOpen ? \'chevron-up-outline\' : \'chevron-down-outline\'"\n                  class="dropdown-arrow"\n                ></ion-icon>\n              </ion-item>\n\n              \x3c!-- Dropdown items --\x3e\n              <div class="dropdown-items" [class.show]="shareMenuOpen" *ngIf="p.children">\n                <ion-item \n                  *ngFor="let child of p.children"\n                  lines="none" \n                  (click)="navigateToSharePage(child.url)" \n                  class="cursor staticText dropdown-child"\n                  [ngClass]="{\'active-item\': activeMenu === child.url}"\n                >\n                  <ion-label class="ion-no-text-wrap dropdown-child-label">\n                    {{ child.label | translate }}\n                  </ion-label>\n                  <ion-icon class="staticText dropdown-child-icon" slot="start" [ios]="child.icon + \'-outline\'" [md]="child.icon + \'-outline\'"></ion-icon>\n                </ion-item>\n              </div>\n            </div>\n          </ion-menu-toggle>\n        </div>\n\n        <div class="ion-hide-md-up ion-hide-sm-up">\n          <ion-menu-toggle auto-hide="false" *ngFor="let p of sideBarMenuesPostLogin">\n            \x3c!-- Regular menu items without dropdown --\x3e\n            <ion-item \n              *ngIf="p.url != \'logout\' && !p.hasDropdown" \n              lines="none" \n              (click)="goToUrl(p.url)" \n              class="cursor"\n              [ngClass]="{\'active-item\': activeMenu === p.url}" \n              routerDirection="root" \n              routerLinkActive="active-item"\n            >\n              <ion-label class="ion-no-text-wrap">\n                {{ p.label | translate }}\n                <ion-icon name="open-outline" style="font-size: 12px; margin-bottom: 2px;" *ngIf="p.link"></ion-icon>\n              </ion-label>\n              <ion-icon *ngIf="p.icon" class="staticText" slot="start" [ios]="p.icon + \'-outline\'"\n                [md]="p.icon + \'-outline\'"></ion-icon>\n              <ion-icon *ngIf="p.link" slot="start" [src]="p.link"></ion-icon>\n            </ion-item>\n\n            \x3c!-- Dropdown menu items --\x3e\n            <div *ngIf="p.hasDropdown" class="dropdown-menu-container">\n              <ion-item \n                lines="none" \n                (click)="toggleShareDropdown(); $event.stopPropagation()" \n                class="cursor dropdown-parent"\n                [ngClass]="{\'active-item\': shareMenuOpen}"\n              >\n                <ion-label class="ion-no-text-wrap">\n                  {{ p.label | translate }}\n                </ion-label>\n                <ion-icon class="staticText" slot="start" [ios]="p.icon + \'-outline\'" [md]="p.icon + \'-outline\'"></ion-icon>\n                <ion-icon \n                  slot="end" \n                  [name]="shareMenuOpen ? \'chevron-up-outline\' : \'chevron-down-outline\'"\n                  class="dropdown-arrow"\n                ></ion-icon>\n              </ion-item>\n\n              \x3c!-- Dropdown items --\x3e\n              <div class="dropdown-items" [class.show]="shareMenuOpen" *ngIf="p.children">\n                <ion-item \n                  *ngFor="let child of p.children"\n                  lines="none" \n                  (click)="navigateToSharePage(child.url)" \n                  class="cursor dropdown-child"\n                  [ngClass]="{\'active-item\': activeMenu === child.url}"\n                >\n                  <ion-label class="ion-no-text-wrap dropdown-child-label">\n                    {{ child.label | translate }}\n                  </ion-label>\n                  <ion-icon class="staticText dropdown-child-icon" slot="start" [ios]="child.icon + \'-outline\'" [md]="child.icon + \'-outline\'"></ion-icon>\n                </ion-item>\n              </div>\n            </div>\n          </ion-menu-toggle>\n          <ion-menu-toggle auto-hide="false" *ngFor="let p of sideBarMenuesLogout">\n            <ion-item *ngIf="p.url != \'logout\'" lines="none" [routerLink]="p.url" 
1class="cursor" routerDirection="root"\n              routerLinkActive="active-item">\n              <ion-label color="danger">{{ p.label | translate }}</ion-label>\n              <ion-icon color="danger" slot="start" [ios]="p.icon + \'-outline\'" [md]="p.icon + \'-outline\'"></ion-icon>\n            </ion-item>\n            <ion-item *ngIf="p.url == \'logout\'" lines="none" (click)="confirmLogout()" routerLinkActive="active-item"\n              class="cursor">\n              <ion-label color="danger">{{ p.label | translate }}</ion-label>\n              <ion-icon color="danger" slot="start" [ios]="p.icon + \'-outline\'" [md]="p.icon + \'-outline\'"></ion-icon>\n            </ion-item>\n          </ion-menu-toggle>\n          <ion-row>\n            <ion-col class="ion-text-center">\n              <ion-text>\n                {{"Last Updated" | translate}}: {{updateDate}}\n              </ion-text>\n            </ion-col>\n          </ion-row>\n          <ion-row>\n            <ion-col class="ion-text-center">\n              <span>Copyright \xa9\ufe0f {{currentYear}}, </span>\n            </ion-col>\n          </ion-row>\n          <ion-row>\n            <ion-col class="ion-text-center">\n              <span [innerHTML]="\'developedBy\' | translate"></span>\n            </ion-col>\n          </ion-row>\n\n        </div>\n\n      </div>\n    </ion-content>\n  </ion-menu>\n  <ion-router-outlet id="main-content" main class="ion-margin-top"></ion-router-outlet>\n</ion-split-pane>\n',styles:["ion-title {\n  cursor: pointer;\n}\n\n.verticalLine {\n  width: 0;\n  border-right: 1px solid #e3e6f0;\n  height: 2.375rem;\n  margin: 0px 0px 5px 5px !important;\n}\n\n.fixedSearchBar {\n  min-width: 50% !important;\n  max-width: 50% !important;\n  margin: auto;\n}\n\nion-searchbar ion-icon {\n  right: 16px !important;\n  left: auto !important;\n}\n\nselect {\n  background-color: #fff;\n  border: 0px !important;\n}\n\n.sc-ion-buttons-md-s ion-button {\n  --padding-top: 0;\n  --padding-bottom: 0;\n  --padding-start: 20px;\n  --padding-end: 20px;\n}\n\nselect {\n  text-decoration: none !important;\n  outline: none !important;\n}\n\n.toast-full-width {\n  --min-width: 90% !important;\n}\n\n.toast-wrapper {\n  min-width: 90% !important;\n}\n\n.toast-wrapper a {\n  color: #e0dbdb !important;\n}\n\n.searchButton {\n  cursor: text;\n  width: 370px;\n  text-align: left;\n  border-radius: 50px;\n  font-size: 16px;\n  padding: 9px 23px;\n  color: #7e7d7d;\n  background-color: #fff;\n  box-shadow: 0 3px 7px 0 rgba(59, 65, 94, 0.1), 0 3px 6px 0 rgba(0, 0, 0, 0.07);\n  height: 38px;\n  margin-top: 2px;\n  margin-left: 35px;\n}\n\n@media only screen and (min-width: 425px) {\n  .searchButton {\n    width: 370px;\n  }\n}\n\n@media only screen and (min-width: 768px) {\n  .searchButton {\n    width: 335px;\n  }\n}\n\n@media only screen and (min-width: 992px) {\n  .searchButton {\n    width: 335px;\n  }\n}\n\nion-button .select-icon {\n  display: none !important;\n}\n\n@media only screen and (max-width: 300px) {\n  .emblemLogozoom {\n    width: 12%;\n  }\n}\n\n@media only screen and (min-width: 300px) {\n  .emblemLogozoom {\n    width: 12%;\n  }\n}\n\n@media only screen and (min-width: 768px) {\n  .emblemLogozoom {\n    width: 7%;\n  }\n}\n\n@media only screen and (min-width: 992px) {\n  .emblemLogozoom {\n    width: 6%;\n  }\n}\n\n@media print {\n  .emblemLogozoom {\n    width: 2%;\n  }\n}\n\n@media only screen and (max-width: 300px) {\n  .dlLogo {\n    width: 57%;\n  }\n}\n\n@media only screen and (min-width: 300px) {\n  .dlLogo {\n    width: 57%;\n  }\n}\n\n@media only screen and (min-width: 768px) {\n  .dlLogo {\n    width: 33%;\n  }\n}\n\n@media only screen and (min-width: 992px) {\n  .dlLogo {\n    width: 28%;\n  }\n}\n\n@media print {\n  .dlLogo {\n    width: 2%;\n  }\n}\n\n.textButtons {\n  background-color: #e7e7e782;\n  color: black;\n}\n\nion-button {\n  --background-focused-opacity: 0.50;\n}\n\nion-item:hover {\n  --background: #e8f0fe;\n  box-shadow: 0px 0px 0px 0px #e8f0fe;\n  --border-radius: 0px 50px 50px 0px;\n  --color: var(--ion-color-primary);\n}\n\nion-menu {\n  --border: 0px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13)))
1) !important;\n  --side-min-width: 240px;\n  --side-max-width: 240px;\n}\n\nion-menu ion-content .shadow {\n  margin-right: 7px;\n  box-shadow: 19px -4px 20px -14px rgba(0, 0, 0, 0.09), -25px 0px 20px -20px rgba(8, 8, 8, 0.12);\n  height: 99%;\n}\n\nion-menu ion-menu-toggle:hover {\n  --background: #e8f0fe;\n}\n\nion-menu ion-item {\n  margin-top: 5px;\n  margin-bottom: 5px;\n  margin-right: 5px;\n}\n\nion-menu ion-item ion-label {\n  white-space: unset;\n}\n\nion-menu ion-icon[slot=start] {\n  margin-right: unset;\n  margin-inline-end: 15px;\n}\n\n@media print {\n  .pagePreview {\n    display: none;\n  }\n}\n\nion-select:focus {\n  background-color: rgba(180, 180, 180, 0.22);\n}\n\nion-menu-toggle:hover ion-label {\n  color: #000;\n}\n\nion-menu-toggle:hover ion-icon {\n  color: #000;\n}\n\n.dropdown-menu-container {\n  width: 100%;\n}\n\n.dropdown-items {\n  display: none;\n  margin-left: 1rem;\n}\n\n.dropdown-items.show {\n  display: block;\n}\n\n.dropdown-child {\n  --background: transparent;\n  padding-left: 1.5rem;\n  color: #000;\n}\n\n.dropdown-child-label {\n  color: #000 !important;\n}\n\n.dropdown-child-icon {\n  color: #000 !important;\n}\n\n.dropdown-parent {\n  justify-content: space-between;\n}\n\n.dropdown-arrow {\n  font-size: 1rem;\n}"]})],v);let y=class{constructor(e,t,n,r,i,s){this.platform=e,this.router=t,this._translate=n,this.navCtlr=r,this.auth=i,this.alert=s,this.language=this.auth.getLanguage(),this.supportedLanguage=c.a.supportedLanguages,this.slideUrl=null,this.playPause=!0,this.actionBtn=!0,this.slideUrlWeb=[{url:"https://cdn.digilocker.gov.in/assets/img/icons/web_2_en.jpg",goTo:"login",altText:"Securely Access Your Documents anytime, anywhere"},{url:"https://cdn.digilocker.gov.in/assets/img/icons/web_4_en.jpg",goTo:"login",altText:"Now drive hassle free with DigiLocker"},{url:"https://cdn.digilocker.gov.in/assets/img/icons/web_5_en.jpg",goTo:"login",altText:"Indian Railways accepts DigiLocker as valid ID"},{url:"https://cdn.digilocker.gov.in/assets/img/icons/web_6_en.jpg",goTo:"login",altText:"Airport entry get more easier now"}],this.slideUrlMob=[{url:"/assets/img/WebSlidesBanner/mob_2_en.jpg",goTo:"login"},{url:"/assets/img/WebSlidesBanner/mob_4_en.jpg",goTo:"login"},{url:"/assets/img/WebSlidesBanner/mob_5_en.jpg",goTo:"login"},{url:"/assets/img/WebSlidesBanner/mob_6_en.jpg",goTo:"login"}],this.deviceSize=this.platform.isLandscape(),this.slideOptions={effect:"fade",initialSlide:0,slidesPerView:1,direction:"horizontal",allowSlidePrev:!0,allowSlideNext:!0,autoplay:{delay:2e3,disableOnInteraction:!1,autoplay:!0},loop:!0,speed:200,watchSlidesProgress:!0}}ngOnInit(){this.sildeStart();const e=this.deviceSize?this.slideUrlWeb:this.slideUrlMob;this.slideUrl=e}slidePrev(){this.slides.slidePrev()}slideNext(){this.slides.slideNext()}sildeStart(){this.slideUrl=this.slideUrlWeb}sliderPlayPause(){this.playPause=!this.playPause,this.actionBtn=this.slideOptions.autoplay.autoplay,this.actionBtn?(this.sliderPause(),this.slideOptions.autoplay.autoplay=!1):(this.sliderPlay(),this.slideOptions.autoplay.autoplay=!0)}sliderPlay(){this.slides.startAutoplay()}sliderPause(){this.slides.stopAutoplay()}gotToLogin(e){return Object(r.b)(this,void 0,void 0,function*(){["login","uhid"].includes(e.goTo)?(["uhid"].includes(e.goTo)&&sessionStorage.setItem("fetchDoc",e.goTo),this.alert.signInAlert()):"fetch"==e.goTo?this.alert.signInAlert(e.doc.orgId,e.doc.docTypeId):"list"==e.goTo?this.router.navigate(["web","dashboard","issuers",e.doc.orgId]):"youtube"==e.goTo||"download"==e.goTo?window.open(e.link,"_blank"):window.open(e.goTo,"_blank")})}_initTranslate(){this._translate.setDefaultLang(this.language)}changeLanguage(){this.auth.cookieSet("language",this.language),this._translate.use(this.language)}};y.ctorParameters=()=>[{type:a.j},{type:h.h},{type:u.c},{type:a.h},{type:l.a},{type:m.a}],y.propDecorators={slides:[{type:i.nb,args:["mySlider"]}]},y=Object(r.c)([Object(i.n)({selector:"app-home-slides",template:'<ion-button class="cursor prevBtn" color="light" (click)="slidePrev()" mode="ios" size="small">\n    <ion-icon name="arrow-back"></ion-icon>\n</ion-button>\n<ion-button class="cursor nextBtn" color="light" (click)="slideNext()" mode="ios" size="small">\n    <ion-icon name="arrow-forward"></ion-icon>\n</ion-button>\n\n<ion-button class="cursor playBtn" color="light" (click)="sliderPlayPause()" mode="ios" size="small">\n    <ion-icon name="{{(playPause )?\'pause-outline\': \'play-outline\'}}"></ion-icon>\n</ion-button>\n\x3c!-- <ion-button class="cursor pauseBtn" color="light" (click)="sliderPause()" mode="ios" size="small">\n    <ion-icon name="pause-circle-outline"></ion-icon>\n</ion-button> --\x3e\n\n\x3c!-- <div *ngIf="!slideUrl"> --\x3e\n<ion-slides #mySlider [options]="{initialSlide: 0,slidesPerView: 1,autoplay:true,loop:true}" class="ion-no-padding cursor" *ngIf="!slideUrl">\n    <ion-slide *ngFor="let drive of [].constructor(3)" class="ion-no-margin">\n        <ion-skeleton-text animated [style]="\'width: 100%;\'+(deviceSize?\'height:300px;\':\'height:150px;\')"></ion-skeleton-text>\n    </ion-slide>\n</ion-slides>\n\x3c!-- </div> --\x3e\n\x3c!-- <div *ngIf="slideUrl"> --\x3e\n<ion-slides #mySlider [options]="slideOptions" class="ion-no-padding cursor" *ngIf="slideUrl">\n    <ion-slide *ngFor="let slide of slideUrl" class="ion-no-margin" (click)="gotToLogin(slide)">\n\n        <img [src]="slide.url | translate" alt="{{slide.altText | translate}}" />\n    </ion-slide>\n</ion-slides>\n\x3c!-- </div> --\x3e',styles:["ion-slide img {\n  max-width: 100%;\n  width: 100%;\n}
1\n@media only screen and (min-width: 768px) {\n  ion-slide img {\n    max-width: 100%;\n    width: 100%;\n  }\n}\n.prevBtn {\n  position: absolute;\n  left: 13px;\n  font-size: 10px;\n  z-index: 999;\n  opacity: 0.3;\n  margin-top: 17%;\n  --border-radius: 50%;\n  width: 40px;\n  height: 40px;\n  display: flex;\n}\n@media only screen and (min-width: 425px) {\n  .prevBtn {\n    font-size: 10px;\n    margin-top: 5%;\n    opacity: 0.3;\n    --border-radius: 50%;\n  }\n}\n@media only screen and (min-width: 768px) {\n  .prevBtn {\n    font-size: 15px;\n    margin-top: 7%;\n    opacity: 0.4;\n    --border-radius: 50%;\n    width: 40px;\n    height: 40px;\n  }\n}\n@media only screen and (min-width: 992px) {\n  .prevBtn {\n    font-size: 20px;\n    margin-top: 10%;\n    opacity: 0.4;\n    --border-radius: 50%;\n    width: 56px;\n    height: 56px;\n  }\n}\n.prevBtn:hover {\n  opacity: 1;\n}\n.nextBtn {\n  position: absolute;\n  right: 13px;\n  font-size: 10px;\n  z-index: 999;\n  opacity: 0.3;\n  margin-top: 17%;\n  --border-radius: 50%;\n  width: 40px;\n  height: 40px;\n  display: flex;\n}\n@media only screen and (min-width: 425px) {\n  .nextBtn {\n    font-size: 10px;\n    margin-top: 5%;\n    opacity: 0.3;\n    --border-radius: 50%;\n  }\n}\n@media only screen and (min-width: 768px) {\n  .nextBtn {\n    font-size: 15px;\n    margin-top: 7%;\n    opacity: 0.4;\n    --border-radius: 50%;\n    width: 40px;\n    height: 40px;\n  }\n}\n@media only screen and (min-width: 992px) {\n  .nextBtn {\n    font-size: 20px;\n    margin-top: 10%;\n    opacity: 0.4;\n    --border-radius: 50%;\n    width: 56px;\n    height: 56px;\n  }\n}\n.nextBtn:hover {\n  opacity: 1;\n}\n.playBtn {\n  position: absolute;\n  right: 13px;\n  font-size: 10px;\n  z-index: 999;\n  opacity: 0.3;\n  margin-top: 30%;\n  --border-radius: 50%;\n  width: 40px;\n  height: 40px;\n  display: flex;\n}\n@media only screen and (min-width: 425px) {\n  .playBtn {\n    font-size: 10px;\n    margin-top: 30%;\n    opacity: 0.3;\n    --border-radius: 50%;\n  }\n}\n@media only screen and (min-width: 768px) {\n  .playBtn {\n    font-size: 15px;\n    margin-top: 18%;\n    opacity: 0.4;\n    --border-radius: 50%;\n    width: 40px;\n    height: 40px;\n  }\n}\n@media only screen and (min-width: 992px) {\n  .playBtn {\n    font-size: 10px;\n    margin-top: 19%;\n    opacity: 0.4;\n    --border-radius: 50%;\n    width: 45px;\n    height: 45px;\n  }\n}\n.playBtn:hover {\n  opacity: 1;\n}\n.pauseBtn:hover {\n  opacity: 1;\n}\n.pauseBtn {\n  position: absolute;\n  left: 13px;\n  font-size: 10px;\n  z-index: 999;\n  opacity: 0.3;\n  margin-top: 30%;\n  --border-radius: 50%;\n  width: 40px;\n  height: 40px;\n}\n@media only screen and (min-width: 425px) {\n  .pauseBtn {\n    font-size: 10px;\n    margin-top: 30%;\n    opacity: 0.3;\n    --border-radius: 50%;\n  }\n}\n@media only screen and (min-width: 768px) {\n  .pauseBtn {\n    font-size: 15px;\n    margin-top: 18%;\n    opacity: 0.4;\n    --border-radius: 50%;\n    width: 40px;\n    height: 40px;\n  }\n}\n@media only screen and (min-width: 992px) {\n  .pauseBtn {\n    font-size: 20px;\n    margin-top: 19%;\n    left: 92%;\n    opacity: 0.4;\n    --border-radius: 50%;\n    width: 45px;\n    height: 45px;\n  }\n}"]})],y);let b=class{constructor(e,t,n,r,i,s){this.navCtlr=e,this.platform=t,this._translate=n,this.alertcntrl=r,this.ajax=i,this.auth=s,this.updateDate=c.a.updateDate,this.deviceSize=this.platform.isLandscape(),this.language=this.auth.getLanguage(),this.footerMenu=[{label:"Home",url:"/"},{label:"About Us",url:"web/about/about-digilocker"},{label:"FAQ",url:"/web/about/faq"},{label:"Statistics",url:"/web/statistics"},{label:"Resources",url:"/web/about/resources"},{label:"Circulars",url:"/web/about/circulars"},{label:"Explore DigiLocker",url:"/web/ecosystem"}],this.footerLinks=[{label:"Support/Feedback",url:"https://support.digilocker.gov.in/"},{label:"Terms & Condition of Use",url:"/web/about/tos"},{label:"Informational Videos",url:"/web/webinars"},{label:"Credits",url:"/web/about/credits"},{label:"Partners",url:"/web/partners/introductions"},{label:"Meri Pehchaan",url:"https://digilocker.meripehchaan.gov.in/"}],this.footerBottom=[{label:"DigiLocker Policy",url:"/web/about/digilocker-policy"},{label:"Contact Us",url:"/web/about/contact-us"}],this.DIC="Digital India Corporation",this.NeGD="National eGovernance Division (NeGD)",this.MeitY="Ministry of Electronics & IT (MeitY)",this.GoI="Government of India",this.currentYear=(new Date).getFullYear()}ngOnInit(){this._translate.onLangChange.subscribe(e=>{this.language=e.lang})}goToUrl(e="/"){return Object(r.b)(this,void 0,void 0,function*(){"https://support.digilocker.gov.in/"==e||"https://partners.apisetu.gov.in"==e||"http://blog.digilocker.gov.in/"==e||"https://digilocker.meripehchaan.gov.in/"==e||"https://api.digitallocker.gov.in/"==e||"https://cdn.digilocker.gov.in/assets/img/digi_locker_rules_and_amendment.pdf"==e?window.open(e,"_blank"):this.navCtlr.navigateForward(e)})}goToDIC(){window.open("https://digitalindia.gov.in/","_blank")}openLink(e){"/web/about/credits"===e||"/web/about/tos"===e||"/web/tender"===e||"/web/
1partners/introductions"===e||"/web/certifications"===e||"/web/ecosystem"===e||"/web/webinars"===e?window.location.href=e:this.alertcntrl.openLink(e)}};b.ctorParameters=()=>[{type:a.h},{type:a.j},{type:u.c},{type:m.a},{type:p.a},{type:l.a}],b=Object(r.c)([Object(i.n)({selector:"app-footer",template:'<ion-footer>\n    <div style="background-color: #08192b; " class="ion-padding-top">\n        <ion-grid [fixed]="true">\n            <ion-row>\n                <ion-col size="4" class=" ion-hide-md-down ">\n                    <ion-row class="ion-padding-bottom">\n                        <img (click)="goToUrl(\'/web/dashboard\')" class=" cursor dlLogoFooter" src="https://cdn.digilocker.gov.in/assets/img/icons/digilocker-w.png">\n                    </ion-row>\n                    <ion-row>\n                        <ion-text color="light">{{\'How It Works discription\' | translate}} </ion-text>\n                    </ion-row>\n                    <ion-row class="ion-padding-bottom">\n                        <img src="https://cdn.digilocker.gov.in/digilocker-landing-page/assets/img/ISO-logo-27001.svg" class="logoImg1">\n                        <img src="https://cdn.digilocker.gov.in/digilocker-landing-page/assets/img/ISO-logo-002.svg" class="logoImg2">\n                    </ion-row>\n                    <ion-text color="light">\n                        <h3> {{\'FOLLOW US\' | translate}} </h3>\n                    </ion-text>\n                    <ion-row>\n                        <a (click)="openLink(\'https://www.facebook.com/OfficialDigiLocker\')" class="footerIcons">\n                            <img src="https://cdn.digilocker.gov.in/digilocker-landing-page/assets/img/Facebook.svg" alt="{{\'Facebook\' | translate}}" title="{{\'DigiLocker Facebook\' | translate}}" class="iconWidth">\n                        </a>\n                        <a (click)="openLink(\'https://twitter.com/digilocker_ind\')" class="footerIcons">\n                            <img src="https://cdn.digilocker.gov.in/digilocker-landing-page/assets/img/Twitter.svg" alt="{{\'Twitter\' | translate}}" title="{{\'DigiLocker X\' | translate}}" class="iconWidth">\n                        </a>\n                        <a (click)="openLink(\'https://www.instagram.com/officialdigilocker/\')" class="footerIcons">\n                            <img src="https://cdn.digilocker.gov.in/digilocker-landing-page/assets/img/Instagram.svg" alt="{{\'Instagram\' | translate}}" title="{{\'DigiLocker Instagram\' | translate}}" class="iconWidth">\n                        </a>\n                        <a (click)="openLink(\'https://www.linkedin.com/company/digitallocker/\')" class="footerIcons">\n                            <img src="https://cdn.digilocker.gov.in/digilocker-landing-page/assets/img/LinkedIn.svg" alt="{{\'linkedin\' | translate}}" title="{{\'DigiLocker LinkedIn\' | translate}}" class="iconWidth">\n                        </a>\n                        <a (click)="openLink(\'https://www.youtube.com/channel/UCHVbXM4OexDUKyGBtdvmfmg\')" class="footerIcons">\n                            <img src="https://cdn.digilocker.gov.in/digilocker-landing-page/assets/img/YouTube.svg" alt="{{\'youtube\' | translate}}" title="{{\'DigiLocker YouTube\' | translate}}" class="iconWidth">\n                        </a>\n                    </ion-row>\n                </ion-col>\n                \x3c!-- <ion-col size="1">\n                </ion-col> --\x3e\n                <ion-col size="2" class=" ion-padding-start ion-hide-md-down">\n                    \x3c!-- <ion-text color="light">\n                        <h3> </h3>\n                    </ion-text> --\x3e\n                    <ul class="ion-text-start">\n                        <li *ngFor="let bt of footerMenu">\n                            <a href="/">\n                                <ion-button *ngIf="bt.label == \'Home\'" color="light" mode="ios" fill="clear" [attr.alt]="bt.label | translate" size="small" title="{{bt.label | translate}}">\n                                    <span>{{bt.label | translate}}</span>\n                                </ion-button>\n                            </a>\n                        </li>\n                        <li *ngFor="let bt of footerMenu">\n                            <ion-button *ngIf="bt.label != \'Home\'" color="light" mode="ios" fill="clear" [attr.alt]="bt.label | translate" size="small" (click)="goToUrl(bt.url)" title="{{bt.label | translate}}">
1\n                                <span *ngIf="bt.label != \'FAQ\'">{{bt.label | translate}}</span>\n                                <span *ngIf="bt.label == \'FAQ\'" class="btnTextWrap">{{bt.label | translate}}</span>\n                            </ion-button>\n                        </li>\n                    </ul>\n                </ion-col>\n                <ion-col size="2" class="ion-padding-start ion-hide-md-down">\n                    \x3c!-- <ion-text color="light">\n                        <h3> </h3>\n                    </ion-text> --\x3e\n                    <ul>\n                        <li *ngFor="let bt of footerLinks">\n                            <ion-button color="light" mode="ios" fill="clear" size="small" [attr.alt]="bt.label | translate" (click)="openLink(bt.url)" title="{{bt.label | translate}}">\n                                <span style="margin-right: 2px;">{{bt.label | translate}}</span>\n                                <ion-icon name="open-outline" style="font-size: 10px; margin-bottom: 10px;" *ngIf="bt.label !==\'Careers\' && bt.label !== \'Credits\'&& bt.label !== \'Terms & Condition of Use\' && bt.label !== \'Tender\' && bt.label !== \'Partners\' && bt.label !== \'Informational Videos\' && bt.label !==\'Certifications\' && bt.label !==\'Explore DigiLocker\'"></ion-icon>\n                            </ion-button>\n                        </li>\n                    </ul>\n                </ion-col>\n                <ion-col size="1" class=" ion-hide-md-down ">\n                </ion-col>\n                <ion-col size-md="3" size="12" class="responsiveText">\n                    <ion-row class="ion-padding-bottom responsiveText">\n                        <ion-text color="light">\n                            <ion-row style=" margin-bottom: 15px; " class="responsiveText"><small class="orgDescText responsiveText">{{"Powered by" |\n                                    translate}}</small><img (click)="goToDIC()" class="cursor" src="https://cdn.digilocker.gov.in/assets/img/icons/dilogonew.svg"></ion-row>\n                            <a href="https://negd.gov.in/" target="_blank" style="color: #F4F5F8B0;"><strong> {{NeGD | translate}}</strong> </a> <br> {{DIC | translate}} <br> {{MeitY | translate}} <br> {{GoI | translate}}\n                        </ion-text>\n                    </ion-row>\n                    <ion-text color="light">\n                        <h3>{{\'DOWNLOAD APP\' | translate}}</h3>\n                    </ion-text>\n                    <ion-row>\n                        <ion-col class="responsiveText" style="display: flex;">\n                            <a href="https://play.google.com/store/apps/details?id=com.digilocker.android" target="_blank"  rel="noopener noreferrer" style="margin-right: 10px;" class="responsiveText">\n                                <ion-img src="https://cdn.digilocker.gov.in/digilocker-landing-page/assets/img/GetItOnGooglePlay.svg" class="ion-margin-bottom downloadImg"></ion-img>\n                            </a>\n                            <a href="https://apps.apple.com/in/app/digilocker/id1320618078" target="_blank"  rel="noopener noreferrer">\n                                <ion-img src="https://cdn.digilocker.gov.in/digilocker-landing-page/assets/img/GetItOnAppStore.svg" class="downloadImg"></ion-img>\n                            </a>\n                        </ion-col>\n                    </ion-row>\n                    <ion-row style="display: block ruby;">\n                        <ion-col class="responsiveText">\n                            <a href="https://apps.gov.in/app-info/2451" target="_blank" rel="noopener noreferrer">\n                                <ion-img src="https://cdn.digilocker.gov.in/digilocker-landing-page/assets/img/gov_aap_store.svg" class="govAppStoreImg" style="border: 1px solid #b0b0b0; border-radius: 4px;"></ion-img>\n                            </a>\n                        </ion-col>\n                    </ion-row>\n                    <ion-row>\n                        <ion-col>\n                            <ion-text class="updatedText">\n                                {{"Last Updated" | translate}}: {{updateDate}}\n                            </ion-text>\n                        </ion-col>\n                    </ion-row>\n                </ion-col>\n            </ion-row>\n            <hr color="medium" class=" ion-hide-md-down ">\n            <ion-row class="ion-hide-md-down" style="margin-bottom: 10px;">\n                <ion-col size-md="8" style="color: white;margin-top: 6px;">
1\n                    <span><span id="Copyright" [innerHTML]="\'Copyright\' | translate">Copyright</span> \xa9 {{currentYear}}, </span>\n                    <span title="https://negd.gov.in/" (click)="openLink(\'https://negd.gov.in/\')" class="cursor" [innerHTML]="\'developedBy\' | translate"></span>\n                    <ion-icon title="https://negd.gov.in/" name="open-outline" class="orgIcon"></ion-icon>\n                </ion-col>\n                <ion-col size-md="4" style="display: flex;justify-content: end;">\n                    <ion-button *ngFor="let bt of footerBottom" mode="ios" fill="clear" size="small" (click)="goToUrl(bt.url)" title="{{bt.label | translate}}" style="padding: 0px 10px;color: #fff;">{{bt.label | translate}}</ion-button>\n                </ion-col>\n            </ion-row>\n\n            <ion-row class=" ion-hide-lg-up responsiveText">\n                <ion-col class="ion-text-center">\n                    <img src="https://cdn.digilocker.gov.in/digilocker-landing-page/assets/img/ISO-logo-27001.svg" class="logoImg1" style="width: 15%;">\n                    <img src="https://cdn.digilocker.gov.in/digilocker-landing-page/assets/img/ISO-logo-002.svg" class="logoImg2" style="width: 15%;">\n                </ion-col>\n            </ion-row>\n\n            <ion-text color="light" class="ion-hide-lg-up" style="text-align: center;">\n                <h3> {{\'FOLLOW US\' | translate}} </h3>\n            </ion-text>\n            <ion-row class="ion-hide-lg-up">\n                <ion-col size-md="12" class="ion-text-center">\n                    <ion-text class="ion-margin-top ion-padding-top ion-text-center">\n                        <a href="https://www.facebook.com/OfficialDigiLocker" target="_blank"  rel="noopener noreferrer" style="margin-right: 15px; ">\n                            <img src="https://cdn.digilocker.gov.in/digilocker-landing-page/assets/img/Facebook.svg" alt="{{\'Facebook\' | translate}}" title="{{\'DigiLocker Facebook\' | translate}}" style="width: 50px;">\n                        </a>\n                        <a href="https://twitter.com/digilocker_ind" target="_blank"  rel="noopener noreferrer" style="margin-right: 15px;">\n                            <img src="https://cdn.digilocker.gov.in/digilocker-landing-page/assets/img/Twitter.svg" alt="{{\'Twitter\' | translate}}" class="ion-margin-right" title="{{\'DigiLocker X\' | translate}}" style="width: 50px;">\n                        </a>\n                        <a href="https://www.instagram.com/officialdigilocker/" target="_blank"  rel="noopener noreferrer" style="margin-right: 15px;">\n                            <img src="https://cdn.digilocker.gov.in/digilocker-landing-page/assets/img/Instagram.svg" alt="{{\'Instagram\' | translate}}" class="ion-margin-right" title="{{\'DigiLocker Instagram\' | translate}}" style="width: 50px;">\n                        </a>\n                        <a href="https://www.linkedin.com/company/digitallocker/" target="_blank"  rel="noopener noreferrer" style="margin-right: 15px;">\n                            <img src="https://cdn.digilocker.gov.in/digilocker-landing-page/assets/img/LinkedIn.svg" alt="{{\'linkedin\' | translate}}" title="{{\'DigiLocker LinkedIn\' | translate}}" style="width: 50px;">\n                        </a>\n                        <a href="https://www.youtube.com/channel/UCHVbXM4OexDUKyGBtdvmfmg" target="_blank"  rel="noopener noreferrer">\n                            <img src="https://cdn.digilocker.gov.in/digilocker-landing-page/assets/img/YouTube.svg" alt="{{\'youtube\' | translate}}" title="{{\'DigiLocker YouTube\' | translate}}" style="width: 50px;">\n                        </a>\n                    </ion-text>\n                    <hr color="medium" class=" ion-hide-md-up ">\n                    <ion-row class="ion-hide-md-up">\n                        <ion-col size-md="8" size="12" style="color: white;margin-top: 6px;">\n                            <span> <span id="Copyright">Copyright</span> \xa9 {{currentYear}}, </span>\n                            <span title="https://negd.gov.in/" (click)="openLink(\'https://negd.gov.in/\')" class="cursor" [innerHTML]="\'developedBy\' | translate"></span>\n                            <ion-icon title="https://negd.gov.in/" name="open-outline" style="font-size: 10px; margin-bottom: 7px; cursor: pointer;"></ion-icon>\n                        </ion-col>\n                        <ion-col size-md="4" size="12" style="display: flex;" class="responsiveText">\n                            <ion-button *ngFor="let bt of footerBottom" color="light" mode="ios" fill="clear" size="small" (click)="goToUrl(bt.url)" title="{{bt.label | translate}}">{{bt.label | translate}}</ion-button>\n                        </ion-col>\n                    </ion-row>\n                </ion-col>\n            </ion-row>\n        </ion-grid>\n    </div>\n    \x3c!-- <div style="background-color: #0e2a47; ">\n        <ion-grid [fixed]="true">\n\n        </ion-grid>\n    </div> --\x3e\n</ion-footer>\n',styles:['ion-footer ion-button {\n  --padding-start: 0px;\n  color: #f4f5f8b0;\n  --color: #f4f5f8b0;\n}\nion-footer ion-text {\n  color: #f4f5f8b0;\n  --color: #f4f5f8b0;\n}\nion-footer hr {\n  background-color: rgba(246, 246, 246, 0.99);\n}\nion-footer ion-text {\n  margin-bottom: 8px;\n  font-size: 14px !important;\n  line-height: 1.7 !important;\n}\n.imgsz {\n  width: 13%;\n}
1\n.negdlink:hover {\n  color: gray;\n}\n.btnTextWrap {\n  width: 75px;\n  overflow: hidden;\n  text-align: left;\n  text-decoration: none;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n}\nion-button {\n  --background-focused-opacity: 0.50;\n}\nion-icon:before {\n  content: "";\n  position: absolute;\n  width: 100%;\n  height: 100%;\n}\n.logoImg1 {\n  width: 25%;\n  margin-right: 14px;\n}\n.logoImg2 {\n  width: 25%;\n}\n.footerIcons {\n  margin-right: 3px;\n  cursor: pointer;\n}\n.iconWidth {\n  margin-top: -4px;\n  width: 75%;\n}\n.dlLogoFooter {\n  width: 60%;\n  padding-right: 7px;\n}\n.responsiveText {\n  text-align: center;\n  justify-content: center;\n}\n@media only screen and (min-width: 768px) {\n  .responsiveText {\n    text-align: left;\n    justify-content: left;\n  }\n}\nul li {\n  margin-bottom: 5px;\n}\nul {\n  margin-top: 0px;\n}\n.downloadImg {\n  height: 40px;\n  width: auto;\n}\n.govAppStoreImg {\n  width: auto;\n  max-width: 50%;\n  margin-top: -16px;\n}\n.orgDescText {\n  font-size: 14px;\n  margin-top: 8px;\n  padding-right: 3px;\n}\n.updatedText {\n  font-size: 13px !important;\n  margin-bottom: 0px;\n}\n.countText {\n  font-size: 10px !important;\n  line-height: 1.2 !important;\n}\n.countText p {\n  margin-top: 0px;\n  margin-bottom: 0px;\n}\n.orgIcon {\n  font-size: 10px;\n  margin-bottom: 7px;\n  cursor: pointer;\n}']})],b);let w=class{constructor(e,t){this.renderer=e,this.router=t,this.expanded=!1,this.expandHeight="150px"}ngAfterViewInit(){this.renderer.setStyle(this.expandWrapper.nativeElement,"max-height",this.expandHeight)}};w.ctorParameters=()=>[{type:i.Z},{type:h.h}],w.propDecorators={expandWrapper:[{type:i.nb,args:["expandWrapper",{read:i.v}]}],expanded:[{type:i.H,args:["expanded"]}],expandHeight:[{type:i.H,args:["expandHeight"]}]},w=Object(r.c)([Object(i.n)({selector:"app-expandable",template:"<div #expandWrapper class='expand-wrapper' [class.collapsed]=\"(router.url.split('/')[2] != 'about-app')?!expanded:expanded\">\n    <ng-content></ng-content>\n</div>",styles:[".expand-wrapper {\n  transition: max-height 0.1s ease-in-out;\n  overflow: hidden;\n  height: auto;\n  -webkit-transition: max-height 0.1s ease-in-out;\n  -moz-transition: max-height 0.1s ease-in-out;\n  -ms-transition: max-height 0.1s ease-in-out;\n  -o-transition: max-height 0.1s ease-in-out;\n}\n\n.collapsed {\n  max-height: 0 !important;\n}"]})],w);var _=n("tk/3");let x=class{constructor(e,t,n,r,i,s,o,a,l){this.ajax=e,this.auth=t,this.navCtlr=n,this.platform=r,this.router=i,this._translate=s,this.alert=o,this.http=a,this.renderer=l,this.gradientPrimaryColors={"bg-gradient-blue":"#9bbee1","bg-gradient-purple":"#6365B5","bg-gradient-green":"#1781C3","bg-gradient-orange":"#FF9800","bg-gradient-dark-purple":"#380F59","bg-gradient-teal":"#4facfe","bg-gradient-indigo":"#490552","bg-gradient-cyan":"#74b9ff","bg-gradient-nagaland":"#42C4C8","bg-gradient-gujarat":"#8E2DE2","bg-gradient-ayushman":"#95BE59","bg-gradient-ayush":"#42AF7E","bg-gradient-tata-power":"#4497CD","bg-gradient-tnpdcl":"#315EBC"},this.universities=[],this.colorSet=!1,this.slideOptspost={initialSlide:0,slidesPerView:"auto",autoplay:{delay:3e3,disableOnInteraction:!1}}}ngOnInit(){this.profile=this.auth.userProfile(),this.fetchAllUniversity()}ngAfterViewChecked(){this.universities.length&&!this.colorSet&&(this.setButtonTextColor(),this.colorSet=!0)}fetchAllUniversity(){this.http.get("assets/landing/newInDigiLocker.json").subscribe(e=>{this.universities=e,this.colorSet=!1})}slidePrev(){this.slides.slidePrev()}slideNext(){this.slides.slideNext()}slidesDidLoad(){this.slides.startAutoplay()}redirectTo(e){return Object(r.b)(this,void 0,void 0,function*(){e&&e.orgId&&(this.auth.isLogin()?this.router.navigate(["/web/dashboard/issuers",e.orgId]):this.alert.signInAlert(null,null,e.orgId))})}setButtonTextColor(){document.querySelectorAll(".new-digi-card").forEach(e=>{const t=e.querySelector(".new-digi-card-btn");if(!t)return;Object.entries(this.gradientPrimaryColors).find(([t])=>e.classList.contains(t));t.style.setProperty("color","#00021B","important")})}};x.ctorParameters=()=>[{type:p.a},{type:l.a},{type:a.h},{type:a.j},{type:h.h},{type:u.c},{type:m.a},{type:_.b},{type:i.Z}],x.propDecorators={slides:[{type:i.nb,args:["mySlider"]}]},x=Object(r.c)([Object(i.n)({selector:"app-new-in-locker-slide",template:'<ion-row>\n  <ion-col size="12" class="msplrCard">\n    <ion-button class="cursor prevBtn" *ngIf="universities.length > 4" color="light" (click)="slidePrev()" mode="ios"\n      shape="round" size="small">\n      <ion-icon name="arrow-back"></ion-icon>\n    </ion-button>\n    <ion-button class="cursor nextBtn" *ngIf="universities.length > 4" color="light" (click)="slideNext()" mode="ios"\n      shape="round" size="small">\n      <ion-icon name="arrow-forward"></ion-icon>\n    </ion-button>\n\n    <div class="ion-no-margin cursor">\n      <ion-slides #mySlider (ionSlidesDidLoad)="slidesDidLoad()" [options]="slideOptspost">\n        <ion-slide *ngFor="let slide of universities" (click)="redirectTo(slide)">\n          <ion-card class="new-digi-card transition-all" [ngClass]="slide.bgGradientClass"\n            style="transition: transform 0.3s ease;">\n            <ion-card-content class="px-2 py-3 d-flex flex-column">\n              <div class="d-flex align-items-start flex-grow-1" style="gap: 10px;">\n                <div class="new-digi-card-logo"\n                  style="flex-shrink: 0; display: flex; align-items: center; justify-content: center;"\n                  [title]="(slide.title | translate)">\n                  <img [src]="\'https://cf-media.api-setu.in/logo/issuers/\' + slide.orgId + \'.png\'"\n                    [alt]="slide.title + \' Logo\'"\n                    style="max-width: 100%; max-height: 100%; object-fit: contain; width: 100% !important;"\n                    loading="lazy" />\n                </div>\n                <div class="text-start flex-grow-1">\n                  <p class="new-digi-card-sub-title my-lg-1 my-0 opacity-75" [id]="slide.subTitle"\n                    [title]="(slide.subTitle | translate)">\n                    {{ slide.subTitle | translate }}\n                  </p>\n                  <h5 class="new-digi-card-title fw-bold lh-sm m-md-0" style="padding-top:4px" [id]="slide.title"\n                    [title]="(slide.title | translate) + (slide.year ? \' - \' + slide.year : \'\')">\n                    {{ slide.title | translate }}{{ slide.year ? \' - \' + slide.year : \'\' }}\n                  </h5>\n                  <button class="btn new-digi-card-btn no-dark-reset" [id]="slide.buttonTitle + \'-btn\'"\n                    [title]="(slide.buttonTitle | translate)" (click)="redirectTo(slide)">\n                    {{ slide.buttonTitle | translate }}\n                  </button>\n                </div>\n              </div>\n            </ion-card-content>\n          </ion-card>\n        </ion-slide>\n      </ion-slides>\n    </div>\n  </ion-col>\n</ion-row>',styles:[".prevBtn {\n  position: absolute;\n  top: 30%;\n  left: 13px;\n  font-size: 10px;\n  z-index: 999;\n  opacity: 0.3;\n  width: 40px;\n  height: 40px;\n}\n\n.prevBtn:hover {\n  opacity: 1;\n}\n\n.nextBtn {\n  position: absolute;\n  top: 30%;\n  right: 13px;\n  font-size: 10px;\n  z-index: 999;\n  opacity: 0.3;\n  width: 40px;\n  height: 40px;\n}\n\n.nextBtn:hover {\n  opacity: 1;\n}\n\n.section_title {\n  padding: 25px 0px 0px;\n}\n\n@media only screen and (min-width: 425px) {\n  .section_title {\n    padding: 25px 0px 0px;\n  }\n}\n\n@media only screen and (min-width: 768px) {\n  .section_title {\n    padding: 25px 0px 0px;\n  }\n}\n\n@media only screen and (min-width: 992px) {\n  .section_title {\n    padding: 25px 0px 0px;\n  }\n}\n\n.container {\n  height: 160px;\n  position: relative;\n}\n\n.vertical-center {\n  margin: 0;\n  margin-left: -30px;\n  position: absolute;\n  top: 50%;\n  transform: translateY(-50%);\n}\n\n.newDocText {\n  font-size: 20px;\n}\n\n@media only screen and (min-width: 425px) {\n  .newDocText {\n    font-size: 20px;\n  }\n}\n\n@media only screen and (min-width: 768px) {\n  .newDocText {\n    font-size: 22px;\n  }\n}\n\n@media only screen and (min-width: 992px) {\n  .newDocText {\n    font-size: 24px;\n  }\n}\n\nion-slide {\n  width: 180.143px !important;\n}
1\n\n@media only screen and (max-width: 325px) {\n  ion-slide {\n    width: 263.429px !important;\n  }\n}\n\n@media (min-width: 330px) and (max-width: 500px) {\n  ion-slide {\n    width: 280px !important;\n  }\n}\n\n@media only screen and (min-width: 768px) {\n  ion-slide {\n    width: 280px !important;\n  }\n}\n\n@media only screen and (min-width: 992px) {\n  ion-slide {\n    width: 300px !important;\n  }\n}\n\n/* Gradient backgrounds */\n\n.bg-gradient-lightgreen {\n  background: linear-gradient(135deg, #c9ef97, #a7bc69) !important;\n}\n\n.bg-gradient-blue {\n  background: linear-gradient(135deg, #9bbee1, #167ee6) !important;\n}\n\n.bg-gradient-purple {\n  background: linear-gradient(135deg, #6365B5, #3D3E82) !important;\n}\n\n.bg-gradient-green {\n  background: linear-gradient(135deg, #1781C3, #265F83) !important;\n}\n\n.bg-gradient-orange {\n  background: linear-gradient(135deg, #FF9800, #F57C00) !important;\n}\n\n.bg-gradient-dark-purple {\n  background: linear-gradient(135deg, #5b4071, #9032dd) !important;\n}\n\n.bg-gradient-teal {\n  background: linear-gradient(135deg, #4facfe, #00f2fe) !important;\n}\n\n.bg-gradient-indigo {\n  background: linear-gradient(135deg, #ba450b, #a19e68) !important;\n}\n\n.bg-gradient-cyan {\n  background: linear-gradient(135deg, #74b9ff, #0984e3) !important;\n}\n\n/* Nagaland Public Service Commission */\n\n.bg-gradient-nagaland {\n  background: linear-gradient(251.63deg, #E6DCF9 7.68%, #EAE7FB 48.66%, #EEEFFC 92.92%) !important;\n}\n\n/* Social Justice & Empowerment Department, Gujarat */\n\n.bg-gradient-gujarat {\n  background: linear-gradient(249.14deg, #E6E3FB 12.46%, #EAE9F9 51.07%, #EEEDF9 92.76%) !important;\n}\n\n/* Ayushman Bharat */\n\n.bg-gradient-ayushman {\n  background: linear-gradient(251.63deg, #E2ECF8 7.68%, #E9F0FD 48.66%, #E8F1FD 92.92%) !important;\n}\n\n/* Department of AYUSH, Andhra Pradesh */\n\n.bg-gradient-ayush {\n  background: linear-gradient(251.63deg, #FCE4E2 7.68%, #FDEAE7 48.66%, #FEF2EE 92.92%) !important;\n}\n\n/* Tata Power Delhi Distribution Limited */\n\n.bg-gradient-tata-power {\n  background: linear-gradient(251.63deg, #E4F0E2 7.68%, #E9F5E7 48.66%, #ECF6EA 92.92%) !important;\n}\n\n/* Tamil Nadu Power Distribution Corporation Limited */\n\n.bg-gradient-tnpdcl {\n  background: linear-gradient(251.63deg, #E2EDFB 7.68%, #E8F0FA 48.66%, #EBF1FC 92.92%) !important;\n}\n\n/* New In Digilocker Section Cards CSS */\n\nion-card.new-digi-card {\n  margin: 0;\n  box-shadow: none;\n  --background: transparent;\n  background-color: transparent;\n}\n\nion-card.new-digi-card ion-card-content {\n  padding: 0.75rem;\n}\n\n.new-digi-card {\n  width: 285.827px;\n  min-height: 145px;\n  border-radius: 7.874px;\n  border: 1px solid #f6f4f406;\n  text-align: left;\n  transition: transform 0.3s ease, box-shadow 0.3s ease;\n  will-change: transform, box-shadow;\n}\n\n.new-digi-card:hover {\n  font-size: 14px;\n  transform: translate3d(0, -4px, 0);\n  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);\n}\n\n.new-digi-card .new-digi-card-logo {\n  width: 80px;\n  height: 80px;\n  flex-shrink: 0;\n  aspect-ratio: 74.27/84.25;\n  object-fit: cover;\n  background: #ffffff 50%/cover no-repeat;\n  border-radius: 50%;\n  overflow: hidden;\n  /* background: url(<path-to-image>) lightgray 50% / cover no-repeat; */\n}\n\n.new-digi-card .new-digi-card-title {\n  color: #00021B;\n  font-size: 12px;\n  font-style: normal;\n  font-weight: 500;\n  line-height: 120%;\n  /* 17.354px */\n  letter-spacing: 0.126px;\n  min-height: 34.708px;\n  display: -webkit-box;\n  line-clamp: 2;\n  -webkit-line-clamp: 2;\n  -webkit-box-orient: vertical;\n  overflow: hidden;\n  text-overflow: ellipsis;\n}\n\n.new-digi-card .new-digi-card-sub-title {\n  color: #151516;\n  font-size: 12.598px;\n  font-style: normal;\n  font-weight: 700;\n  line-height: 160%;\n  /* 14.11px */\n  letter-spacing: -0.129px;\n  min-height: 40.32px;\n  display: -webkit-box;\n  line-clamp: 2;\n  -webkit-line-clamp: 2;\n  -webkit-box-orient: vertical;\n  overflow: hidden;\n  text-overflow: ellipsis;\n}\n\n.new-digi-card .new-digi-card-btn {\n  display: flex;\n  /* width: 94.488px; */\n  padding: 2.362px 7.874px;\n  justify-content: center;\n  align-items: center;\n  gap: 7.874px;\n  flex-shrink: 0;\n  border-radius: 5px;\n  background: #ffffff;\n  border: 1px solid white;\n  color: #00021B !important;\n  font-size: 12.598px;\n  font-style: normal;\n  font-weight: 400;\n  line-height: 135.99%;
1\n  /* 16.125px */\n  letter-spacing: -0.315px;\n  margin-top: 5px;\n  display: -webkit-box;\n  -webkit-line-clamp: 1;\n  -webkit-box-orient: vertical;\n  overflow: hidden;\n  text-overflow: ellipsis;\n}\n\n:host-context(.dark-mode) .new-digi-card,\n:host-context(.ux4g-accessibility-dark-mode) .new-digi-card {\n  background: linear-gradient(135deg, #2a2d35 0%, #1c1f26 100%) !important;\n  border: 1px solid rgba(255, 255, 255, 0.14) !important;\n  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);\n  color: #ffffff;\n}\n\n:host-context(.dark-mode) .new-digi-card .new-digi-card-title,\n:host-context(.dark-mode) .new-digi-card .new-digi-card-title span,\n:host-context(.dark-mode) .new-digi-card .new-digi-card-sub-title,\n:host-context(.ux4g-accessibility-dark-mode) .new-digi-card .new-digi-card-title,\n:host-context(.ux4g-accessibility-dark-mode) .new-digi-card .new-digi-card-title span,\n:host-context(.ux4g-accessibility-dark-mode) .new-digi-card .new-digi-card-sub-title {\n  color: yellow !important;\n}\n\n:host-context(.dark-mode) .new-digi-card .new-digi-card-btn,\n:host-context(.dark-mode) .new-digi-card .new-digi-card-btn *,\n:host-context(.ux4g-accessibility-dark-mode) .new-digi-card .new-digi-card-btn,\n:host-context(.ux4g-accessibility-dark-mode) .new-digi-card .new-digi-card-btn * {\n  background: rgba(255, 255, 255, 0.12) !important;\n  border-color: rgba(255, 255, 255, 0.2) !important;\n  color: yellow !important;\n}\n\n:host-context(.dark-mode) .new-digi-card .new-digi-card-logo,\n:host-context(.ux4g-accessibility-dark-mode) .new-digi-card .new-digi-card-logo {\n  background: rgba(255, 255, 255, 0.12) !important;\n}\n\n:host-context(.dark-mode) .new-digi-card .new-digi-card-logo img,\n:host-context(.ux4g-accessibility-dark-mode) .new-digi-card .new-digi-card-logo img {\n  filter: invert(1) brightness(2) saturate(0) !important;\n}\n\n.swiper-slide img {\n  max-width: 100px;\n}\n\n@media (min-width: 500px) and (max-width: 768px) {\n  .swiper-slide img {\n    max-width: 90px !important;\n  }\n}"]})],x);let C=class{constructor(e,t){this.ajax=e,this.auth=t}getTranslations(e){let t=this.auth.getLanguage(),n=c.a.urls.misc.anuvaad,r={language:t,text:e,sourceType:"audio"};return this.ajax.postMethod(n,r,{"content-type":"application/json"})}};C.ctorParameters=()=>[{type:p.a},{type:l.a}],C=Object(r.c)([Object(i.E)({providedIn:"root"})],C);let S=class{constructor(e,t,n){this.translationService=e,this._translate=t,this.router=n,this.isPlaying=!1,this.isLoading=!1,this.translationNeeded=!0}ngOnInit(){this.audio=new Audio,this.audio.addEventListener("ended",()=>{this.isPlaying=!1}),this._translate.onLangChange.subscribe(e=>{this.audio.pause(),this.isPlaying=!1,this.audioData=null,this.translationNeeded=!0}),this.router.events.subscribe(e=>{e instanceof h.d&&(this.audio.pause(),this.isPlaying=!1,this.audioData=null,this.translationNeeded=!0)})}translateAndPlayText(){return Object(r.b)(this,void 0,void 0,function*(){if(this.translationNeeded&&!this.audioData)if(this.isLoading=!0,Array.isArray(this.translationKey)){const e=this.translationKey.map(e=>this._translate.instant(e));this.translationService.getTranslations(e.join("\n")).subscribe(e=>{this.isLoading=!1,e.status&&(this.audioData=e.response,this.playAudio())})}else{let e=this._translate.instant(this.translationKey);this.translationService.getTranslations(e).subscribe(e=>{this.isLoading=!1,e.status&&(this.audioData=e.response,this.playAudio())})}else this.playAudio()})}playAudio(){this.audio.src=this.audioData,this.isPlaying||this.audio.play().then(()=>{this.isPlaying=!0}).catch(()=>{this.isPlaying=!1})}pauseAudio(){this.isPlaying?(this.audio.pause(),this.isPlaying=!1):(this.translationNeeded=!0,this.translateAndPlayText())}replayAudio(){this.audio&&(this.audio.currentTime=0,this.audio.play())}showMoreAudioAndTranslate(){this.audio.pause(),this.isPlaying=!1,this.audioData=null,this.translationNeeded=!0}};S.ctorParameters=()=>[{type:C},{type:u.c},{type:h.h}],S.propDecorators={translationKey:[{type:i.H}]},S=Object(r.c)([Object(i.n)({selector:"app-audio-player",template:'<ion-row>\n  <ion-col size="6">
1\n    <ion-button fill="clear" size="small" title="{{isPlaying ? \'Pause\' : \'Play\'}}" *ngIf="!isLoading" (click)="pauseAudio()">\n      <ion-icon *ngIf="!isPlaying" name="play-circle-outline"></ion-icon>\n      <ion-icon *ngIf="isPlaying" name="pause-circle-outline"></ion-icon>\n    </ion-button>\n  </ion-col>\n  <ion-col size="4">\n    <ion-button fill="clear" size="small" *ngIf="isPlaying" title="Replay" (click)="replayAudio()">\n      <ion-icon name="refresh-circle-outline"></ion-icon>\n    </ion-button>\n  </ion-col>\n</ion-row>\n<ion-spinner *ngIf="isLoading && !isPlaying" name="crescent"></ion-spinner>\n',styles:[""]})],S);let E=class{constructor(e,t){this.platform=e,this.auth=t}ngOnInit(){this.themeMode=this.auth.getCookieThemeModeValue("themeMode"),document.addEventListener("DOMContentLoaded",()=>{this.updateTheme()});const e=document.getElementById("dl_logo"),t=document.getElementById("emblem_lightMode");"dark"===this.themeMode?(document.body.setAttribute("data-theme","dark"),e&&(e.style.filter="brightness(0) invert(1)"),t&&(t.style.filter="brightness(0) invert(1)")):(document.body.setAttribute("data-theme","light"),e&&(e.style.filter="brightness(1) invert(0)"),t&&(t.style.filter="brightness(1) invert(0)"))}toggleThemeMode(){this.themeMode="light"===this.themeMode?"dark":"light",this.updateTheme(),this.auth.cookieSet("themeMode",this.themeMode)}updateTheme(){const e=document.getElementById("languageIcon"),t=document.getElementById("languageIconWhite"),n=document.getElementById("dl_logo"),r=document.getElementById("emblem_lightMode");"dark"===this.themeMode?(document.body.setAttribute("data-theme","dark"),e&&(e.style.display="none"),t&&(t.style.display="inline"),n&&(n.style.filter="brightness(0) invert(1)"),r&&(r.style.filter="brightness(0) invert(1)")):(document.body.setAttribute("data-theme","light"),t&&(t.style.display="none"),e&&(e.style.display="inline"),n&&(n.style.filter="brightness(1) invert(0)"),r&&(r.style.filter="brightness(1) invert(0)"))}};E.ctorParameters=()=>[{type:a.j},{type:l.a}],E=Object(r.c)([Object(i.n)({selector:"app-dark-light-theme",template:'<ion-button tabindex="0" size="small" fill="clear" title="{{ (themeMode !== \'dark\' ? (\'Light\' | translate) : (\'Dark\' | translate)) }}" (click)="toggleThemeMode()" (keyup.enter)="toggleThemeMode()" style="margin-top: 1p
1x; margin-left: 5px;">\n    <ion-icon name="sunny" *ngIf="themeMode !== \'dark\'" style="color: #f39c12;"></ion-icon>\n    <ion-icon name="moon" *ngIf="themeMode === \'dark\'" style="color: #e7df0d;"></ion-icon>\n</ion-button>',styles:["ion-button {\n  --background-focused-opacity: 0.50;\n}"]})],E);var A=n("1HFy");let k=class{constructor(e,t,n,r,i,s,o,a,l,u,h,d,p){var f;this.auth=e,this.router=t,this.platform=n,this.navCtlr=r,this._translate=i,this.toastController=s,this.titleService=o,this.meta=a,this.alertCtrl=l,this.alertcntrl=u,this.elementRef=h,this.skiptomain=d,this.languageService=p,this.activeSubMenu="Home",this.activeSubMenuItem="inbox",this.isAlertOpen=!1,this.screenSize=this.platform.isPortrait(),this.deviceSize=this.platform.isLandscape(),this.beforeLoginSideBar=null,this.languageHeader=null,this.signin=null,this.signup=null,this.tost=!1,this.resetbut=!0,this.decreasebut=!1,this.increasebut=!1,this.no_of_changes=0,this.currsize=100,this.verifiedUserTypes=[],this.did=null,this.supportedLanguage=c.a.supportedLanguages,this.loc=window.location.hostname.split("."),this.lang={en:{msg:"By selecting English, the website's language will switch to English. Are you sure you want to continue?",OK:"OK",Cancel:"Cancel"},hi:{msg:"\u0939\u093f\u0902\u0926\u0940 (Hindi) \u091a\u0941\u0928\u0928\u0947 \u092a\u0930, \u0935\u0947\u092c\u0938\u093e\u0907\u091f \u0915\u0940 \u092d\u093e\u0937\u093e \u0939\u093f\u0902\u0926\u0940 (Hindi) \u092e\u0947\u0902 \u092c\u0926\u0932 \u091c\u093e\u090f\u0917\u0940\u0964 \u0915\u094d\u092f\u093e \u0906\u092a \u0928\u093f\u0936\u094d\u091a\u093f\u0924 \u0939\u0948\u0902 \u0915\u093f \u0906\u092a \u091c\u093e\u0930\u0940 \u0930\u0916\u0928\u093e \u091a\u093e\u0939\u0924\u0947 \u0939\u0948\u0902?",OK:"\u0920\u0940\u0915 \u0939\u0948",Cancel:"\u0930\u0926\u094d\u0926 \u0915\u0930\u0947\u0902"},as:{msg:"\u0985\u09b8\u09ae\u09c0\u09af\u09bc\u09be (Assamese)\u09ac\u09be\u099b\u09a8\u09bf \u0995\u09f0\u09bf \u09f1\u09c7\u09ac\u099b\u09be\u0987\u099f\u09f0 \u09ad\u09be\u09b7\u09be \u0985\u09b8\u09ae\u09c0\u09af\u09bc\u09be (Assamese) \u09b2\u09c8 \u09b8\u09b2\u09a8\u09bf \u09b9 '\u09ac\u0964 \u0986\u09aa\u09c1\u09a8\u09bf \u09a8\u09bf\u09b6\u09cd\u099a\u09bf\u09a4 \u09af\u09c7 \u0986\u09aa\u09c1\u09a8\u09bf \u0986\u0997\u09ac\u09be\u09a2\u09bc\u09bf\u09ac \u09ac\u09bf\u099a\u09be\u09f0\u09c7?",OK:"\u09b9'\u09ac",Cancel:"\u09ac\u09be\u09a4\u09bf\u09b2 \u0995\u09f0\u0995"},bn:{msg:"\u09ac\u09be\u0999\u09cd\u0997\u09be\u09b2\u09c0 (Bengali) \u09a8\u09bf\u09b0\u09cd\u09ac\u09be\u099a\u09a8 \u0995\u09b0\u09c7, \u0993\u09af\u09bc\u09c7\u09ac\u09b8\u09be\u0987\u099f\u09c7\u09b0 \u09ad\u09be\u09b7\u09be \u09ac\u09be\u0999\u09cd\u0997\u09be\u09b2\u09c0 (Bengali)-\u098f \u09aa\u09b0\u09bf\u09ac\u09b0\u09cd\u09a4\u09bf\u09a4 \u09b9\u09ac\u09c7\u0964 \u0986\u09aa\u09a8\u09bf \u0995\u09bf \u09a8\u09bf\u09b6\u09cd\u099a\u09bf\u09a4 \u09af\u09c7 \u0986\u09aa\u09a8\u09bf \u099a\u09be\u09b2\u09bf\u09af\u09bc\u09c7 \u09af\u09c7\u09a4\u09c7 \u099a\u09be\u09a8?",OK:"\u09a0\u09bf\u0995 \u0986\u099b\u09c7",Cancel:"\u09ac\u09be\u09a4\u09bf\u09b2"},gu:{msg:"\u0a97\u0ac1\u0a9c\u0ab0\u0abe\u0aa4\u0ac0 (Gujarati) \u0aaa\u0ab8\u0a82\u0aa6 \u0a95\u0ab0\u0ac0\u0aa8\u0ac7, \u0ab5\u0ac7\u0aac\u0ab8\u0abe\u0a87\u0a9f\u0aa8\u0ac0 \u0aad\u0abe\u0ab7\u0abe \u0a97\u0ac1\u0a9c\u0ab0\u0abe\u0aa4\u0ac0 (Gujarati) \u0aaa\u0ab0 \u0a9c\u0ab6\u0ac7. \u0ab6\u0ac1\u0a82 \u0aa4\u0aae\u0ac7 \u0a9a\u0abe\u0ab2\u0ac1 \u0ab0\u0abe\u0a96\u0ab5\u0abe \u0aae\u0abe\u0a82\u0a97\u0acb \u0a9b\u0acb?",OK:"\u0aac\u0ab0\u0abe\u0aac\u0ab0",Cancel:"\u0a85\u0aae\u0abe\u0aa8\u0acd\u0aaf \u0a95\u0ab0\u0ab5\u0ac1\u0a82"},ml:{msg:"\u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02 (Malayalam) \u0d24\u0d3f\u0d30\u0d1e\u0d4d\u0d1e\u0d46\u0d1f\u0d41\u0d15\u0d4d\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d24\u0d3f\u0d32\u0d42\u0d1f\u0d46, \u0d35\u0d46\u0d2c\u0d4d\u0d38\u0d48\u0d31\u0d4d\u0d31\u0d3f\u0d28\u0d4d\u0d31\u0d46 \u0d2d\u0d3e\u0d37 \u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02 (Malayalam) \u0d32\u0d47\u0d15\u0d4d\u0d15\u0d4d \u0d2e\u0d3e\u0d31\u0d41\u0d02. \u0d24\u0d41\u0d1f\u0d30\u0d3e\u0d7b \u0d28\u0d3f\u0d19\u0d4d\u0d19\u0d7e \u0d06\u0d17\u0d4d\u0d30\u0d39\u0d3f\u0d15\u0d4d\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d41\u0d23\u0d4d\u0d1f\u0d4b?",OK:"\u0d36\u0d30\u0d3f",Cancel:"\u0d31\u0d26\u0d4d\u0d26\u0d3e\u0d15\u0d4d\u0d15\u0d7d"},mr:{msg:"\u092e\u0930\u093e\u0920\u0940 (Marathi) \u0928\u093f\u0935\u0921\u0942\u0928, \u
10938\u0902\u0915\u0947\u0924\u0938\u094d\u0925\u0933\u093e\u091a\u0940 \u092d\u093e\u0937\u093e \u092e\u0930\u093e\u0920\u0940 (Marathi) \u0935\u0930 \u091c\u093e\u0908\u0932. \u0924\u0941\u092e\u094d\u0939\u093e\u0932\u093e \u0928\u0915\u094d\u0915\u0940 \u092a\u0941\u0922\u0947 \u091c\u093e\u092f\u091a\u0947 \u0906\u0939\u0947 \u0915\u093e?",OK:"\u0920\u0940\u0915 \u0906\u0939\u0947",Cancel:"\u0930\u0926\u094d\u0926 \u0915\u0930\u093e"},or:{msg:"\u0b13\u0b21\u0b3c\u0b3f\u0b06 (Odia) \u0b1a\u0b2f\u0b3c\u0b28 \u0b15\u0b30\u0b3f, \u0b71\u0b47\u0b2c\u0b38\u0b3e\u0b07\u0b1f\u0b30 \u0b2d\u0b3e\u0b37\u0b3e \u0b13\u0b21\u0b3c\u0b3f\u0b06 (Odia) \u0b15\u0b41 \u0b2c\u0b26\u0b33\u0b3f\u0b2c\u0964 \u0b06\u0b2a\u0b23 \u0b28\u0b3f\u0b36\u0b4d\u0b1a\u0b3f\u0b24 \u0b15\u0b3f \u0b06\u0b2a\u0b23 \u0b06\u0b17\u0b15\u0b41 \u0b2c\u0b22\u0b3c\u0b3f\u0b2c\u0b3e\u0b15\u0b41 \u0b1a\u0b3e\u0b39\u0b41\u0b01\u0b1b\u0b28\u0b4d\u0b24\u0b3f?",OK:"\u0b20\u0b3f\u0b15\u0b4d \u0b05\u0b1b\u0b3f",Cancel:"\u0b2c\u0b3e\u0b24\u0b3f\u0b32\u0b4d \u0b15\u0b30\u0b28\u0b4d\u0b24\u0b41"},pa:{msg:"\u0a2a\u0a70\u0a1c\u0a3e\u0a2c\u0a40 (Punjabi) \u0a26\u0a40 \u0a1a\u0a4b\u0a23 \u0a15\u0a30\u0a15\u0a47, \u0a35\u0a48\u0a71\u0
1a2c\u0a38\u0a3e\u0a08\u0a1f \u0a26\u0a40 \u0a2d\u0a3e\u0a38\u0a3c\u0a3e \u0a2a\u0a70\u0a1c\u0a3e\u0a2c\u0a40 (Punjabi) \u0a35\u0a3f\u0a71\u0a1a \u0a2c\u0a26\u0a32 \u0a1c\u0a3e\u0a35\u0a47\u0a17\u0a40\u0964 \u0a15\u0a40 \u0a24\u0a41\u0a38\u0a40\u0a02 \u0a1c\u0a3e\u0a30\u0a40 \u0a30\u0a71\u0a16\u0a23\u0a3e \u0a1a\u0a3e\u0a39\u0a41\u0a70\u0a26\u0a47 \u0a39\u0a4b?",OK:"\u0a20\u0a40\u0a15 \u0a39\u0a48",Cancel:"\u0a30\u0a71\u0a26 \u0a15\u0a30\u0a4b"},ta:{msg:"\u0ba4\u0bae\u0bbf\u0bb4\u0bcd (Tamil) \u0b90\u0ba4\u0bcd \u0ba4\u0bc7\u0bb0\u0bcd\u0ba8\u0bcd\u0ba4\u0bc6\u0b9f\u0bc1\u0b95\u0bcd\u0b95\u0bc1\u0bae\u0bcd \u0bae\u0bc2\u0bb2\u0bae\u0bcd, \u0bb5\u0bb2\u0bc8\u0ba4\u0bcd\u0ba4\u0bb3\u0ba4\u0bcd\u0ba4\u0bbf\u0ba9\u0bcd \u0bae\u0bca\u0bb4\u0bbf \u0ba4\u0bae\u0bbf\u0bb4\u0bcd (Tamil) \u0b95\u0bcd\u0b95\u0bc1 \u0bae\u0bbe\u0bb1\u0bc1\u0bae\u0bcd. \u0ba8\u0bc0\u0b99\u0bcd\u0b95\u0bb3\u0bcd \u0ba4\u0bca\u0b9f\u0bb0 \u0bb5\u0bbf\u0bb0\u0bc1\u0bae\u0bcd\u0baa\u0bc1\u0b95\u0bbf\u0bb1\u0bc0\u0bb0\u0bcd\u0b95\u0bb3\u0bbe?",OK:"\u0b9a\u0bb0\u0bbf",Cancel:"\u0bb0\u0ba4\u0bcd\u0ba4\u0bc1 \u0b9a\u0bc6\u0baf\u0bcd"},te:{msg:"\u0c24\u0c46\u0c32\u0c41\u0c17\u0c41 (Telugu) \u0c28\u0c41 \u0c0e\u0c02\u0c1a\u0c41\u0c15\u0c4b\u0c35\u0c21\u0c02 \u0c26\u0c4d\u0c35\u0c3e\u0c30\u0c3e, \u0c35\u0c46\u0c2c\u0c4d\u0c38\u0c48\u0c1f\u0c4d \u0c2d\u0c3e\u0c37 \u0c24\u0c46\u0c32\u0c41\u0c17\u0c41 (Telugu) \u0c15\u0c41 \u0c2e\u0c3e\u0c30\u0c41\u0c24\u0c41\u0c02\u0c26\u0c3f. \u0c2e\u0c40\u0c30\u0c41 \u0c16\u0c1a\u0c4d\u0c1a\u0c3f\u0c24\u0c02\u0c17\u0c3e \u0c15\u0c4a\u0c28\u0c38\u0c3e\u0c17\u0c3f\u0c02\u0c1a\u0c3e\u0c32\u0c28\u0c41\u0c15\u0c41\u0c02\u0c1f\u0c41\u0c28\u0c4d\u0c28\u0c3e\u0c30\u0c3e?",OK:"\u0c05\u0c32\u0c3e\u0c17\u0c47",Cancel:"\u0c30\u0c26\u0c4d\u0c26\u0c41 \u0c1a\u0c47\u0c2f\u0c3f"},kn:{msg:"\u0c95\u0ca8\u0ccd\u0ca8\u0ca1 (Kannada) \u0c85\u0ca8\u0ccd\u0ca8\u0cc1 \u0c86\u0caf\u0ccd\u0c95\u0cc6 \u0cae\u0cbe\u0ca1\u0cc1\u0cb5 \u0cae\u0cc2\u0cb2\u0c95, \u0c9c\u0cbe\u0cb2\u0ca4\u0cbe\u0ca3\u0ca6 \u0cad\u0cbe\u0cb7\u0cc6\u0caf\u0cc1 \u0c95\u0ca8\u0ccd\u0ca8\u0ca1 (Kannada) \u0c97\u0cc6 \u0cac\u0ca6\u0cb2\u0cbe\u0c97\u0cc1\u0ca4\u0ccd\u0ca4\u0ca6\u0cc6. \u0ca8\u0cc0\u0cb5\u0cc1 \u0c96\u0c9a\u0cbf\u0ca4\u0cb5\u0cbe\u0c97\u0cbf \u0c85\u0ca6\u0ca8\u0ccd\u0ca8\u0cc1 \u0cae\u0cc1\u0c82\u0ca6\u0cc1\u0cb5\u0cb0\u0cbf\u0cb8\u0cb2\u0cc1 \u0cac\u0caf\u0cb8\u0cc1\u0cb5\u0cbf\u0cb0\u0cbe?",OK:"\u0cb8\u0cb0\u0cbf",Cancel:"\u0cb0\u0ca6\u0ccd\u0ca6\u0cc1\u0cae\u0cbe\u0ca1\u0cbf"}};const m=(null===(f=null===window||void 0===window?void 0:window.location)||void 0===f?void 0:f.href)||"";let g=null==m?void 0:m.split("/");this.language=this.auth.getLanguage(),g.length>5&&c.a.supportedLanguagesId.includes(g[5])&&(this.language=g[5],this.auth.cookieSet("language",g[5])),this._translate.use(this.language),this.tempLanguage=this.language}ngOnInit(){const e=localStorage.getItem("themeMode")||"light";document.body.setAttribute("data-theme",e),this.beforeLoginSideBar=[{label:"Home",url:"/web",icon:"home"},{label:"Become a Partner",url:"/web/partners/introductions",icon:"person-add"},{label:"About Us",url:"/web/about/about-digilocker",icon:"information-circle"},{label:"Statistics",url:"/web/statistics",icon:"bar-chart"},{label:"FAQ",url:"/web/about/faq",icon:"help-circle"},{label:"Informational Videos",url:"/web/webinars",icon:"play"},{label:"Resources",url:"/web/about/resources",icon:"cart"},{label:"Circulars",url:"/web/about/circulars",icon:"document-text"},{label:"Explore DigiLocker",url:"/web/ecosystem",icon:"nuclear"},{label:"Terms & Condition of Use",url:"/web/about/tos",icon:"document-attach"},{label:"DigiLocker Policy",url:"/web/about/digilocker-policy",icon:"receipt"},{label:"Meri Pehchaan",url:"https://digilocker.meripehchaan.gov.in/"},{label:"Support/Feedback",url:"https://support.digilocker.gov.in/",icon:"wifi"},{label:"Contact",url:"/web/about/contact-us",icon:"call"}],this.languageHeader=[{label:"Government of India"},{label:"Skip to Main Content"}]}ionViewDidEnter(){this.no_of_changes=0}skipToMainContent(){const e=this.skiptomain.getCurrentPageId(),t=this.elementRef.nativeElement.querySelector(`#${e}`);t&&t.scrollIntoView({behavior:"smooth",block:"main"===e?"center":"start"})}openLanguage(e){var t;return Object(r.b)(this,void 0,void 0,function*(){if(this.isAlertOpen)return;const n=this.supportedLanguage.find(t=>
1t.id===e),i=this.language;if(!n)return void console.error("Selected language not found!");const s=yield this.alertCtrl.create({header:"www.digilocker.gov.in",message:`\n        <div>\n          <p>${(null===(t=this.lang[n.id])||void 0===t?void 0:t.msg)||""}</p>\n        </div>`,cssClass:"externalLinkCSS",buttons:[{text:"Cancel",role:"cancel",handler:()=>{this.tempLanguage=i,this.isAlertOpen=!1}},{text:"OK",handler:()=>Object(r.b)(this,void 0,void 0,function*(){this.language=e,this.tempLanguage=e,this.languageService.changeLanguage(this.language),this.isAlertOpen=!1})}],backdropDismiss:!1});this.isAlertOpen=!0,yield s.present()})}goToUrl(e="/"){"/"==e?this.navCtlr.navigateBack(e):this.navCtlr.navigateRoot(e)}goToUrlOpen(e="/",t=null){"/"===e?this.router.navigate(["web/home"],{skipLocationChange:!0}):this.navCtlr.navigateRoot(e)}goToUrlPage(e="/"){sessionStorage.getItem("fetchDoc")&&sessionStorage.removeItem("fetchDoc");["http://blog.digilocker.gov.in/","https://support.digilocker.gov.in/","https://digilocker.meripehchaan.gov.in/","https://api.digitallocker.gov.in/","https://partners.apisetu.gov.in"].includes(e)?window.open(e,"_blank"):this.navCtlr.navigateForward(e)}increase(){this.increasebut=!0,this.decreasebut=!1,this.resetbut=!1,this.no_of_changes<2&&(this.no_of_changes++,this.currsize+=1.8,this.updateFontSize())}decrease(){this.increasebut=!1,this.decreasebut=!0,this.resetbut=!1,this.no_of_changes>-2&&(this.no_of_changes--,this.currsize-=1.8,this.updateFontSize())}reset(){this.increasebut=!1,this.decreasebut=!1,this.resetbut=!0,this.currsize=100,this.no_of_changes=0,this.updateFontSize()}updateFontSize(){document.querySelectorAll("#main-content *").forEach(e=>{e.style.fontSize=`${this.currsize}%`})}onSplitPaneChange(e){var t;this.screenSize=(null===(t=null==e?void 0:e.detail)||void 0===t?void 0:t.visible)||!1}toggleSubMenu(e){this.activeSubMenu===e?(this.activeSubMenu="",this.activeSubMenuItem=""):(this.activeSubMenu=e,this.activeSubMenuItem=this.screenSize?"":"inbox")}openLink(e){this.alertcntrl.openLink(e)}_initTranslate(){this._translate.setDefaultLang(this.language)}getKeyByValueAndLanguage(e){return Object(r.b)(this,void 0,void 0,function*(){const t=this._translate.translations[this.oldLanguage];if(t){return Object.keys(t).find(n=>t[n]===e)||null}return null})}};k.ctorParameters=()=>[{type:l.a},{type:h.h},{type:a.j},{type:a.h},{type:u.c},{type:a.l},{type:f.d},{type:f.c},{type:a.a},{type:m.a},{type:i.v},{type:A.a},{type:g}],k=Object(r.c)([Object(i.n)({selector:"app-dl-header",template:'<ion-header *ngIf="router.url.split(\'/\')[2] != \'about-app\' " class="header-sticky">\n    <div style="font-size: 13px; height: 32px;" class="pagePreview mobileHeader">\n        <ion-grid fixed="\'true\'">\n            <ion-row>\n                <ion-col size="7" size-md="4" class="ion-no-padding" style="white-space: nowrap;">\n                    <span *ngFor="let p of languageHeader" class="skipandgoiflag">\n                        <ion-text [style]="\'margin-top: 2px; margin-left: 15px;\'"> <img class=" cursor"\n                                src="https://cdn.digilocker.gov.in/assets/img/icons/indian_flag.jpg"\n                                style="width: 19px;" *ngIf="p.label == \'Government of India\'"></ion-text>\n                        <ion-text tabindex="0" class="ion-margin-start"\n                            (keyup.enter)="openLink(\'https://www.india.gov.in/\')"\n                            (click)="openLink(\'https://www.india.gov.in/\')" style="margin-top: 2px;cursor: pointer;"\n                            *ngIf="p.label == \'Government of India\'">{{ p.label | translate }}\n                            <ion-icon name="open-outline" style="margin-bottom: 2px;"></ion-icon>\n                        </ion-text>\n                    </span>\n                </ion-col>\n                <ion-col size="5" size-md="8" class="ion-no-padding">\n                    <div class="skipcontent">\n\n                        <a (click)="skipToMainContent()" tabindex="-1" class="ion-hide-sm-down">\n                            <ion-button size="small" fill="clear" style=" border-right: 1px solid #bbbeca; margin-inline-end: 13px;text-transform: none;color: #fff;">{{"Skip to main content" | translate}}\n                            </ion-button>\n                        </a>\n\n                        <ion-button (click)="increase()" size="small" fill="clear" style="color: #fff;" strong="{{increasebut}}" class="ion-hide-sm-down">A+</ion-button>\n                        <ion-button (click)="reset()" size="small" fill="clear" style="color: #fff;" strong="{{resetbut}}" class="ion-hide-sm-down">A</ion-button>\n                        \x3c!-- <ion-button (click)="decrease()" size="small" fill="clear" strong="{{decreasebut}}" style=" border-right: 1px solid #bbbeca; color: #fff; " class="ion-hide-sm-down">A-</ion-button> --\x3e\n                        <ion-button (click)="decrease()" size="small" fill="clear" strong="{{decreasebut}}" style=" color: #fff; " class="ion-hide-sm-down">A-</ion-button>\n\n                        \x3c!-- <app-dark-light-theme class="ion-hide-sm-down"></app-dark-light-theme> --\x3e\n\n                        <ion-button class="ion-text-capitalize ion-hide-sm-down" fill="clear" size="small" color="light" style=" border-left: 1px solid #bbbeca; ">\n                            <img src="/assets/img/uil_language_white.svg" alt="{{\'Language\' | translate}}" title="{{\'Language\' | translate}}">\n\n                            <ion-select class="cursor ion-no-padding-top" [ngModel]="tempLanguage" (ngModelChange)="openLanguage($event)" interface="popover" mode="ios" style="color: #fcfafa; line-height: 1.5; padding: 5px;">\n                                <ion-select-option *ngFor="let lang of supportedLanguage" [value]="lang.id" placeholder="Language">\n                                    <small>
1{{ lang.regional }}</small>\n                                </ion-select-option>\n                            </ion-select>\n                        </ion-button>\n                        <ion-button class="ion-text-capitalize ion-hide-sm-up" fill="clear" size="small" style="margin-bottom: 0px; margin-top: 0px; color: #f6f6f6;">\n                            <img src="/assets/img/uil_language.svg" alt="{{\'Language\' | translate}}" title="{{\'Language\' | translate}}">\n\n                            <ion-select class="cursor ion-no-padding-top" [ngModel]="tempLanguage" (ngModelChange)="openLanguage($event)" interface="popover" mode="ios" style="color: #000000; line-height: 1.5; padding: 5px;">\n                                <ion-select-option *ngFor="let lang of supportedLanguage" [value]="lang.id" placeholder="Language">\n                                    <small>{{ lang.regional }}</small>\n                                </ion-select-option>\n                            </ion-select>\n                        </ion-button>\n                    </div>\n                </ion-col>\n            </ion-row>\n        </ion-grid>\n    </div>\n    <ion-grid fixed="true" class="header-sticky">\n        <ion-toolbar>\n\n            <ion-buttons slot="start" class="ion-hide-md-up">\n                <ion-menu-button>\n                </ion-menu-button>\n            </ion-buttons>\n            <ion-row [style]="(!screenSize)?\'padding-top: 7px\':\'\'">\n                <div class="logo">\n                    <img *ngIf="loc[0] != \'wb\'" tabindex="1" (keyup.enter)="goToUrl(\'web/dashboard\')" (click)="goToUrl(\'web/dashboard\')" class="cursor" id="emblem_lightMode" alt="{{\'National Emblem\' | translate}}" src="https://cdn.digilocker.gov.in/assets/img/icons/National-Emblem.png"\n                        [style]=" \'padding-left: 7px; \' " class="emblemLogozoom" title="{{\'National Emblem\' | translate}}">\n                    <ion-text class="verticalBorder"></ion-text>\n                    <a href="/">\n                        <img *ngIf="loc[0] != \'wb\'" tabindex="1" class="cursor dlLogo" id="dl_logo" alt="{{\'DigiLocker Logo\' |translate}}" src="https://cdn.digilocker.gov.in/assets/img/icons/digilocker_logo_new.png" [style]="\'padding-left: 7px; \' " title="{{\'DigiLocker Logo\' | translate}}">\n                    </a>\n                </div>\n            </ion-row>\n\n            <ion-buttons slot="end">\n\n                <div class="button-group">\n                    \x3c!-- <ion-button size="small" fill="outline" shape="round" [color]="router.url.split(\'/\')[2] == \'ecosystem\' ?\'primary\':\'dark\'" mode="ios" (keyup.enter)="goToUrl(\'web/ecosystem\')" (click)="goToUrl(\'web/ecosystem\')" class="change ion-hide-sm-down"> --\x3e\n                        <ion-button size="small" fill="outline" shape="round" [color]="router.url.split(\'/\')[2] == \'ecosystem\' ?\'primary\':\'dark\'" mode="ios" (keyup.enter)="goToUrl(\'web/ecosystem\')" href="web/ecosystem" class="change ion-hide-sm-down">\n                        <span class="primaryText"> {{"Explore DigiLocker" | translate}} </span>\n                    </ion-button>\n                    <ion-button size="small" fill="outline" shape="round" [color]="router.url.split(\'/\')[2] == \'partners\' ?\'primary\':\'dark\'" mode="ios" (keyup.enter)="goToUrl(\'web/partners/introductions\')" href="web/partners/introductions" class="change ion-hide-sm-down">\n                        \x3c!-- <ion-button size="small" fill="outline" shape="round" [color]="router.url.split(\'/\')[2] == \'partners\' ?\'primary\':\'dark\'" mode="ios" (keyup.enter)="goToUrl(\'web/partners/introductions\')" (click)="goToUrl(\'web/partners/introductions\')" class="change ion-hide-sm-down"> --\x3e\n                        <span class="primaryText"> {{"Become a Partner" | translate}} </span>\n                    </ion-button>\n                    <div *ngIf="deviceSize" class="verticalLine ion-hide-sm-down"></div>\n                    <ion-button size="small" fill="solid" shape="round" color="primary" mode="ios" (keyup.enter)="goToUrl(\'/web/login\')" (click)="goToUrlPage(\'/web/login\')">
1\n                        <span class="signinBtn"> {{"Login / Register" | translate}} </span>\n                    </ion-button>\n                    \x3c!-- <ion-button fill="solid" color="primary" class="ion-hide-sm-down" shape="round" mode="ios" (keyup.enter)="goToUrl(\'/web/signup\')" (click)="goToUrlPage(\'/web/signup\')">\n                        {{"Sign Up" | translate}}\n                    </ion-button> --\x3e\n                </div>\n\n\n            </ion-buttons>\n        </ion-toolbar>\n    </ion-grid>\n</ion-header>\n<div *ngIf=" router.url.split(\'/\')[1] != \'partners\' ">\n    <ion-split-pane contentId="main-content" (ionSplitPaneVisible)="onSplitPaneChange($event)" [style]="\'margin-top: 18px;\'">\n\n        <ion-menu type="overlay" contentId="main-content" [class]="\'ion-hide-md-up pagePreview\'" *ngIf="router.url.split(\'/\')[2] != \'about-app\'">\n\n            <ion-content>\n\n                <div style="margin-top: 20%;" class="ion-padding-top">\n                    <ion-menu-toggle auto-hide="false" *ngFor="let p of beforeLoginSideBar">\n                        <ion-item *ngIf="p.label!=\'Meri Pehchaan\'" lines="none" class="cursor" (click)="goToUrlPage(p.url)" routerDirection="root" routerLinkActive="active-item" [routerLinkActiveOptions]="{ exact: true }">\n                            <ion-label>{{ p.label | translate }}</ion-label>\n                            <ion-icon slot="start" [ios]="p.icon + \'-outline\'" [md]="p.icon + \'-outline\'"></ion-icon>\n                        </ion-item>\n                        <ion-item *ngIf="p.label==\'Meri Pehchaan\'" lines="none" class="cursor" (click)="goToUrlPage(p.url)" routerDirection="root" routerLinkActive="active-item" [routerLinkActiveOptions]="{ exact: true }">\n                            <ion-icon slot="start" src="/assets/img/Group 6714.svg"></ion-icon>\n                            <ion-label>{{ p.label | translate }}</ion-label>\n                        </ion-item>\n                    </ion-menu-toggle>\n                </div><br>\n            </ion-content>\n        </ion-menu>\n        <ion-router-outlet id="main-content" main style="margin-top: 30px !important"></ion-router-outlet>\n    </ion-split-pane>\n</div>\n<div *ngIf="router.url.split(\'/\')[1] == \'partners\' ">\n    <ion-split-pane contentId="main-content" (ionSplitPaneVisible)="onSplitPaneChange($event)" [style]="\'margin-top: 40px;\'">\n        <ion-menu type="overlay" contentId="main-content" class="ion-hide-md-up">\n            <ion-header style=" margin-bottom: 45px;">\n\n            </ion-header>\n            <ion-content>\n                <div class="ion-hide-sm-down">\n                    <ion-menu-toggle auto-hide="false" *ngFor="let p of partnersSideBar">\n                        <div>\n                            <ion-item lines="none" class="cursor" routerDirection="root" (click)="goToUrl(p.url)" [ngClass]="{ \'active-item\': p.label === activeSubMenu }" (click)="activeSubMenu = p.label">\n                                <ion-label class="ion-no-text-wrap">{{ p.label | translate }}</ion-label>\n                                <ion-icon slot="start" [ios]="p.icon + \'-outline\'" [md]="p.icon + \'-outline\'"></ion-icon>\n                            </ion-item>\n                        </div>\n                    </ion-menu-toggle>\n                </div>\n                <div class="ion-hide-md-up ion-hide-sm-up" style="margin-top: 12%;">\n                    <ion-menu-toggle auto-hide="false" *ngFor="let p of partnersSideBarMobile">\n                        <div>\n                            <ion-item lines="none" class="cursor" routerDirection="root" [ngClass]="{ \'active-item\': p.url === activeSubMenu || p.url === activeSubMenuItem }" (click)="goToUrl(p.url)" (click)="activeSubMenu = p.url">\n                                <ion-label class="ion-no-text-wrap">{{ p.label | translate }}</ion-label>\n                                <ion-icon slot="start" [ios]="p.icon + \'-outline\'" [md]="p.icon + \'-outline\'"></ion-icon>\n                            </ion-item>\n                        </div>\n                    </ion-menu-toggle>\n                </div>\n            </ion-content>\n        </ion-menu>\n\n        <ion-router-outlet id="main-content" main style="margin-top: 30px !important"></ion-router-outlet>\n    </ion-split-pane>\n</div>\n',styles:["@media only screen and (max-width: 300px) {\n  .emblemLogozoom {\n    width: 15%;\n  }\n}\n@media only screen and (min-width: 300px) {\n  .emblemLogozoom {\n    width: 15%;\n  }\n}\n@media only screen and (min-width: 768px) {\n  .emblemLogozoom {\n    width: 11%;\n  }\n}\n@media only screen and (min-width: 992px) {\n  .emblemLogozoom {\n    width: 6%;\n  }\n}\n@media print {\n  .emblemLogozoom {\n    width: 10%;\n  }\n}\n@media only screen and (max-width: 300px) {\n  .dlLogo {\n    width: 70%;\n  }\n}\n@media only screen and (min-width: 300px) {\n  .dlLogo {\n    width: 70%;\n  }\n}\n@media only screen and (min-width: 768px) {\n  .dlLogo {\n    width: 50%;\n  }\n}\n@media only screen and (min-width: 992px) {\n  .dlLogo {\n    width: 28%;\n  }\n}\n@media print {\n  .dlLogo {\n    width: 45%;\n  }\n}\n@media print {\n  .pagePreview {\n    display: none;\n  }\n}\n@media only screen and (min-width: 425px) {\n  .skipcontent {\n    display: flex;\n    width: max-content;\n  }\n}\n@media only screen and (min-width: 768px) {\n  .skipcontent {\n    float: right;\n    margin-top: -27px;\n    margin-right: 0px;\n  }\n}\n@media (min-width: 576px) and (max-width: 900px) {\n  .skipcontent {\n    padding-top: 17px;\n  }\n}\n@media only screen and (min-width: 992px) {\n  .skipcontent {\n    margin-top: -8px;\n    float: right;\n    margin-right: 0px;\n  }\n}\n@media only screen and (min-width: 425px) {\n  .skipandgoiflag {\n    display: flex;\n    justify-content: center;\n  }\n}\n@media only screen and (min-width: 768px) {\n  .skipandgoiflag {\n    display: contents;\n  }\n}\n@media only screen and (min-width: 992px) {\n  .skipandgoiflag {\n    display: -webkit-inline-box;\n    margin-top: -6px;\n  }\n}\nion-menu {\n  --border: 0px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13)))
1) !important;\n  --side-min-width: 240px;\n  --side-max-width: 240px;\n}\nion-menu ion-content {\n  --box-shadow: 0 7px 14px 0 rgb(59 65 94 / 10%), 0 3px 6px 0 rgb(0 0 0 / 7%);\n}\nion-menu ion-menu-toggle:hover {\n  --background: #e8f0fe;\n}\nion-menu ion-item {\n  margin-top: 5px;\n  margin-bottom: 5px;\n  margin-right: 5px;\n}\nion-menu ion-item ion-label {\n  white-space: unset;\n}\nion-menu ion-icon[slot=start] {\n  margin-right: unset;\n  margin-inline-end: 15px;\n}\n.verticalLine {\n  opacity: 60%;\n  border-right: 1px solid #000;\n  height: 30px;\n}\n.button-group {\n  display: flex;\n  align-items: center;\n  gap: 10px;\n}\n.signinBtn {\n  margin: 5px;\n  font-size: 14px;\n}\n.mobileHeader {\n  background-color: #f0f2f5;\n  color: #000;\n}\n@media only screen and (min-width: 425px) {\n  .mobileHeader {\n    background-color: #f0f2f5;\n    color: #000;\n  }\n}\n@media only screen and (min-width: 768px) {\n  .mobileHeader {\n    background-color: #081854;\n    color: #fff;\n  }\n}\n@media only screen and (min-width: 992px) {\n  .mobileHeader {\n    background-color: #081854;\n    color: #fff;\n  }\n}"]})],k);var I=n("D6d0");let T=class{constructor(e){this.modalController=e,this.partner=c.a.urls.misc.partnerUrl}ngOnInit(){}goToPartner(){window.open(this.partner,"_blank")}howtoIntegratemodal(){return Object(r.b)(this,void 0,void 0,function*(){const e=yield this.modalController.create({component:I.a,cssClass:"IntegratepartnerPopupCss",swipeToClose:!0,componentProps:{},backdropDismiss:!1});e.present(),e.onDidDismiss().then(e=>{})})}};T.ctorParameters=()=>[{type:a.g}],T=Object(r.c)([Object(i.n)({selector:"app-partner-header",template:'<div style="background: #F3ECFF;">\n    <ion-grid [fixed]="true" class="">\n        <ion-row class="imgPadding">\n            <ion-col size-md="8 " size="8" class="ion-text-start ">\n                <h1> <strong> <span style="color: #6A49F2;">{{"DigiLocker" | translate}} </span> {{"Partner Integration" | translate}} </strong></h1>\n                <p>{{"Explore DigiLocker technical resources for integration and" | translate}} <br> {{"secure document sharing" | translate}}</p>\n                \x3c!-- <ion-button size="small" mode="ios" (click)="goToPartner()">\n                    {{"Partner Signup" | translate}}\n                    <ion-icon name="arrow-forward-outline" class="ion-margin-start"></ion-icon>\n                </ion-button> --\x3e\n                <ion-button size="small" mode="ios" (click)="howtoIntegratemodal()">\n                    {{"How to Integrate?" | translate}}\n                    <ion-icon name="play-circle-outline" class="ion-margin-start"></ion-icon>\n                </ion-button>\n            </ion-col>\n            <ion-col size-md="4 " size="4" class="ion-text-start ">\n                <ion-button size="large" mode="ios" (click)="goToPartner()" class="partnerBtn">\n                    {{"Partner Signup Now" | translate}}\n                    <ion-icon name="arrow-forward-outline" class="ion-margin-start" style="font-size: 20px;"></ion-icon>\n                </ion-button>\n                <img src="assets/img/partner/header_image.svg" class="ion-float-end">\n            </ion-col>\n        </ion-row>\n    </ion-grid>\n</div>',styles:["h1 {\n  font-size: 40px;\n  margin-top: 4% !important;\n}\n\np {\n  font-size: 16px;\n}\n\nion-button {\n  background-color: #6334FA !important;\n  border-radius: 8px;\n}\n\n.imgPadding {\n  padding-bottom: 0px;\n}\n\n.partnerBtn {\n  position: absolute;\n  top: 50%;\n  bottom: 50%;\n  left: 20%;\n}"]})],T);var O=n("6wLT");let D=class{constructor(e){this.modalController=e}ngOnInit(){}howToSignupModal(){return Object(r.b)(this,void 0,void 0,function*(){const e=yield this.modalController.create({component:O.a,cssClass:"IntegratepartnerPopupCss",swipeToClose:!0,componentProps:{},backdropDismiss:!1});e.present(),e.onDidDismiss().then(e=>{})})}};D.ctorParameters=()=>[{type:a.g}],D=Object(r.c)([Object(i.n)({selector:"app-ecosystem-header",template:'<div style="background: #F3ECFF;">\n  <ion-grid [fixed]="true ">\n    <ion-row class="ion-align-items-center">\n        \x3c!-- Text Content Column --\x3e\n        <ion-col size="12" size-md="6" class="ion-text-start">\n          <h1><strong><span style="color: #6A49F2;">{{"DigiLocker" | translate}} \u2013</span>\n              {{"Your Digital Document Wallet" | translate}}</strong>\n          </h1>\n          <p>{{"A flagship initiative by the" | translate}}<b> {{"Ministry of Electronics & IT (MeitY)" | translate}}</b>\n          </p>\n          \x3c!-- <ion-button size="small" mode="ios" (click)="howToSignupModal()">\n            {{"How to Onboard?" | translate}}\n            <ion-icon name="play-circle-outline" class="ion-margin-start"></ion-icon>\n        </ion-button> --\x3e\n        </ion-col>\n\n        \x3c!-- Merged Images Column --\x3e\n        <ion-col size="12" size-md="6" class="ion-text-center ion-text-md-end">\n          <div class="divclass">\n            <img class="img1" src="https://cdn.digilocker.gov.in/assets/img/eco-system/dg-mobile.png"\n              alt="DigiLocker Mobile"/>\n\n            <img class="img2" src="assets/img/partner/header_image.svg" alt="Partner Logo"/>\n          </div>\n        </ion-col>\n      </ion-row>\n  </ion-grid>\n</div>\n',styles:["h1 {\n  font-size: 40px;\n  margin-top: 4% !important;\n}\n\np {\n  font-size: 16px;\n}\n\nion-button {\n  background-color: #6334FA !important;\n  border-radius: 8px;\n}\n\n.divclass {\n  position: relative;\n  display: inline-block;\n}\n\n.img1 {\n  height: 270px;\n  max-width: 100%;\n  margin-top: 50px;\n  position: absolute;\n  z-index: 2;\n}\n\n.img2 {\n  max-width: 100%;\n  position: relative;\n  left: 170px;\n  z-index: 1;\n}"]})],D);let P=class{constructor(){this.isSticky=!1}ngOnInit(){}onScroll(e){const t=e.detail.scrollTop;this.isSticky=t>100}};P.ctorParameters=()=>[],P=Object(r.c)([Object(i.n)({selector:"app-sidemenu",template:'<ion-content>\n    <div class="sticky-header">\n        <ion-card>\n            <ion-item routerLink="/">\n                Home\n            </ion-item>\n            <ion-item routerLink="/partners/introductions">\n                Introduction\n            </ion-item>\n            <ion-item routerLink="/partners/issuers">\n                Issuer\n            </ion-item>\n            <ion-item routerLink="/partners/requesters">\n                Requester\n            </ion-item>\n            <ion-item routerLink="/partners/help-and-support">\n                Help & support\n            </ion-item>\n        </ion-card>\n    </div>\n</ion-content>\n',styles:[".sidebar {\n  position: relative;\n  width: 200px;\n  padding: 20px;\n  background-color: #f4f4f4;\n  box-shadow: 2px 0px 10px rgba(0, 0, 0, 0.1);\n  transition: top 0.3s ease-in-out;\n}\n\n.sidebar.fixed {\n  position: fixed;\n  top: 20px;\n  /* Adjust top position as needed */\n  left: 20px;\n  z-index: 100;\n}\n\n.sticky-header {\n  /* For Safari */\n  position: sticky;\n  top: 0;\n  /* Keeps the element at the top of the container */\n  z-index: 10;\n  /* Ensure it stays above other content */\n  background-color: #fff;\n  /* Optional: Set a background color */\n  padding: 10px;\n  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);\n  /* Optional: Add some shadow for better visibility */\n}\n\n.sticky {\n  position: fixed;\n  /* Sticky behavior when the page is scrolled */\n  top: 0;\n  /* Stick to the top */\n  left: 0;\n  bottom: 0;\n  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);\n  /* Optional: Adds shadow when sticky */\n}\n\nion-card {\n  position: relative;\n  /* Default state before sticky is applied */\n  top: 0;\n  left: 0;\n  bottom: 0;\n  width: 250px;\n  /* Set width for your side menu */\n  z-index: 1000;\n  /* Ensure the menu stays above the content */\n  background-color: #fff;\n  /* Optional: Menu background color */\n  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);\n  /* Optional: Adds shadow effect */\n  padding: 10px;\n  transition: position 0.3s ease, top 0.3s ease;\n}"]})],P);let M=class{constructor(e,t){this.alertcntrl=e,this.router=t,this.aboutDigilocker=[{exp
1anded:!1,header:"SCOPE",subId:1},{expanded:!1,header:"ISSUER ONBOARDING AND ELIGIBILITY",subId:2},{expanded:!1,header:"PERMITTED USE OF DIGILOCKER APIs",subId:3},{expanded:!1,header:"ROLES AND RESPONSIBILITIES",subId:4},{expanded:!1,header:"ACCESS RESTRICTIONS AND MISUSE",subId:5},{expanded:!1,header:"CONSENT AND LEGAL LIABILITY",subId:6},{expanded:!1,header:"GENERAL PROVISIONS",subId:7},{expanded:!1,header:"JURISDICTION",subId:8},{expanded:!1,header:"GRIEVANCE REDRESSAL MECHANISM",subId:9},{expanded:!1,header:"RESPECT FOR DATA PRINCIPAL RIGHTS",subId:10},{expanded:!1,header:"PERSONAL DATA BREACH NOTIFICATION",subId:11},{expanded:!1,header:"COMPLIANCE AND OVERSIGHT",subId:12},{expanded:!1,header:"TERMINATION AND SUSPENSION",subId:13},{expanded:!1,header:"USAGE BY SUBSIDIARIES / AFFILIATED ENTITIES",subId:14},{expanded:!1,header:"AMENDMENT OF TERMS",subId:15}]}ngOnInit(){}expandItem(e,t){"about-app"!=this.router.url.split("/")[2]&&(e.expanded?e.expanded=!1:this[t].map(t=>(t.expanded=e==t&&!t.expanded,t)))}openLink(e){this.alertcntrl.openLink(e)}};M.ctorParameters=()=>[{type:m.a},{type:h.h}],M=Object(r.c)([Object(i.n)({selector:"app-issuers",template:'<ion-card mode="ios" class="ion-padding ion-no-margin">\n    <ion-card-content>\n        <ion-row>\n            <ion-col size="6" class="ion-text-start ion-no-padding">\n                <ion-text color="medium">\n                    <small>{{ "Last modified : 2nd June 2025" | translate }}</small>\n\n                </ion-text>\n            </ion-col>\n            <ion-col size="6" class="ion-text-end ion-no-padding">\n                <ion-chip outline="true" size="small">\n                    <a href="https://cdn.digilocker.gov.in/circulars/termsofuse/DigiLocker-Terms-of-Use-Issuer-june-2025.pdf" target="_blank"  rel="noopener noreferrer">\n                        <ion-icon name="download-outline" class="ion-padding-end"></ion-icon>\n                        <ion-label>{{ "Download PDF" | translate }}</ion-label>\n                    </a>\n                </ion-chip>\n            </ion-col>\n        </ion-row>\n        <div>\n            <p style=\'font-size: 14px;font-style: italic;\'> </p>\n            <h3 style="font-size: 14px; line-height: 1.6;" class="staticText"> {{"These terms govern Issuer participation as an Issuer in DigiLocker, a digital document wallet service provided by the National e-Governance Division (NeGD) under the Ministry of Electronics and Information Technology (MeitY), Government of India. By integrating with or issuing documents to DigiLocker, issuer agrees to comply with all applicable terms, policies, and guidelines set forth by NeGD." | translate}}<br><br> {{"All components of the DigiLocker platform, including but not limited to data, text, document templates, designs, pages, graphics, user interfaces, visual elements, images, artwork, photographs, trademarks, logos, audio and video content, HTML code, source code, and software (collectively referred to as \u201cContent\u201d) that are accessible through or embedded in the DigiLocker platform, are the intellectual property of the National e-Governance Division, MeitY. Issuers may utilize the platform solely for the purpose of digitally issuing documents to end-users in accordance with DigiLocker policies, without acquiring any ownership rights over the platform or its Content." | translate}}\n            </h3>\n        </div>\n        <ion-row tabindex="0" (keyup.enter)="expandItem(item, \'aboutDigilocker\')" (click)="expandItem(item, \'aboutDigilocker\')" *ngFor="let item of aboutDigilocker">\n            <ion-col size="12">\n                <ion-item lines="full" class="staticText">\n                    \x3c!-- <ion-icon name="help-circle-outline" class="ion-margin-end"></ion-icon> --\x3e\n                    <ion-label [class.bold]="router.url.split(\'/\')[2] === \'about-app\'">{{item.header | translate}}</ion-label>\n                </ion-item>\n\n                <app-expandable expandHeight="auto" [expanded]="item.expanded">\n                    <ion-card-content *ngIf="item.subId == 1" class="staticText">\n                        <div>\n                            <p>\n                                {{"These Terms and Conditions govern the onboarding of the Issuer Organization onto the DigiLocker platform. Upon successful onboarding, the Issuer shall be authorized to publish and distribute electronically signed and digitally verifiable documents directly to end-users through the DigiLocker platform. NeGD, through DigiLocker, shall act solely as a secure digital and transmission platform for such documents. Responsibility for the content and validity of issued documents rests solely with the Issuer." | translate}}\n                            </p>\n                        </div>\n                    </ion-card-content>\n                    <ion-card-content *ngIf="item.subId == 2" class="staticText">\n                        <div>\n                            <p>\n                                \x3c!-- <h2><strong>Ownership of Content and Licence </strong></h2> --\x3e\n                                {{"Issuer Organizations must designate a senior authorized representative to initiate and complete onboarding onto the DigiLocker platform. Registration must be conducted using the official email domain of the organization, and all submitted information is subject to verification by NeGD. Misrepresentation may result in suspension or denial of access." | translate}}\n                            </p>\n                        </div>\n                    </ion-card-content>\n                    <ion-card-content *ngIf="item.subId == 3" class="staticText">\n                        <div>\n                            <p>\n                                \x3c!-- <h2><strong>Account, Security and Consent </strong></h2> --\x3e\n                                {{"Issuer Organizations are granted access to DigiLocker APIs solely for the issuance of documents to be shared from authentic sources. All integrations must preserve DigiLocker branding and may not be rebranded or modified without prior written consent. Use of the API for unauthorized purposes is strictly prohibited." | translate}}\n                            </p>\n                        </div>\n                    </ion-card-content>\n                    <ion-card-content *ngIf="item.subId == 4" class="staticText">\n                        <div>\n                            <ol type="a" class="paraStyle">\n                                <li>\n                                    {{"NeGD shall provide the DigiLocker platform to facilitate the transmission of documents from the Issuer to the Citizen or Issuer based on the explicit, informed consent of the Citizen." | translate}}\n                                </li>\n                                <br>\n                                <li>\n                                    {{"NeGD, through DigiLocker, serves exclusively as a secure digital conduit for the issuance and delivery of documents. NeGD shall not validate the authenticity or content of any documents issued. It shall act solely as a digital bridge between the source of truth (the Issuer) and the end-user." | translate}}\n                                </li>\n                                <br>\n                                <li>\n                                    {{"The Issuer shall ensure that documents are issued in a digitally signed and at par with physical documents (in lines with the Information Technology (Preservation and Retention of Information by Intermediaries Providing Digital Locker Facilities) Rules, 2016) and/or in a verifiable format as prescribed by DigiLocker standards." | translate}}\n                                </li>\n                                <br>\n                                <li>\n                                    {{"The Issuer shall guarantee compliance with applicable laws, including but not limited to the Information Technology Act, 2000, Information Technology (Preservation and Retention of Information by Intermediaries Providing Digital Locker Facilities) Rules, 2016, and any other relevant data privacy and security guidelines issued by Government of India from time to time." | translate}}\n                                </li>\n                                <br>\n                                <li>\n                                    {{"Every API endpoint used for issuing documents shall be mapped to a verified use- case approved by NeGD." | translate}}\n                                </li>\n                            </ol>\n                        </div>\n                    </ion-card-content>\n\n                    <ion-card-content *ngIf="item.subId == 5" class="staticText">\n                        <div>\n                            <p>\n                                \x3c!-- <h2><strong>
1Limitation on Use </strong></h2> --\x3e\n                                {{"Issuers must not engage in any activity that compromises the integrity, availability, or confidentiality of the DigiLocker system." | translate}}\n                            </p>\n                        </div>\n                    </ion-card-content>\n                    <ion-card-content *ngIf="item.subId == 6" class="staticText">\n                        <div>\n                            <ol type="a" class="paraStyle">\n                                <li>\n                                    {{"The Issuer acknowledges and agrees that DigiLocker shall not be liable for the contents, misuse, or misrepresentation of any documents once disseminated through its system." | translate}}\n                                </li>\n                                <br>\n                                <li>\n                                    {{"Documents fetched or issued via DigiLocker shall be accessible solely through explicit user consent, with consent-based access enabled via DigiLocker." | translate}}\n                                </li>\n                                <br>\n                                <li>\n                                    {{"These Terms further affirms the Parties\u2019 intent to align with the principles of consent-based data sharing in compliance with the Data Protection Laws as currently prevalent in India, Public Key Infrastructure (PKI) for digital signing and verification, and standardization of electronic document formats. All integrations and data exchanges shall follow the applicable Indian laws." | translate}}\n                                </li>\n                                <br>\n                                <li>\n                                    {{"The Issuer confirms that DigiLocker will operate only upon such user consent and shall not be held accountable for any legal claims arising from the issuance or delivery of documents." | translate}}\n                                </li>\n                                <br>\n                                <li>\n                                    {{"The Issuer shall at all times indemnify and keep DigiLocker indemnified of any legal claims arising from the issuance or delivery of documents in furtherance to utilizing the DigiLocker services." | translate}}\n                                </li>\n                            </ol>\n                        </div>\n                    </ion-card-content>\n                    <ion-card-content *ngIf="item.subId == 7" class="staticText">\n                        <ol type="a" class="paraStyle">\n                            <li>{{"The issuer acknowledges and understands that it must be able to fulfil it\u2019s responsibilities under these terms in accordance with the provisions of the law and regulations that govern their activities. Nothing in these Terms intends to negate or otherwise render ineffective any such provisions or operating procedures. The Issuer assumes full responsibility for their performance under theseTerms." | translate}}\n                            </li>\n                            <br>\n                            <li>{{"If at any time Issuer is unable to perform their duties or responsibilities under these terms consistent with statutory and regulatory mandates, NeGD shall immediately provide written notice to the Issuer to establish a date for resolution of the matter." | translate}}</li>\n                        </ol>\n                    </ion-card-content>\n\n                    <ion-card-content *ngIf="item.subId == 8" class="staticText">\n                        <div>\n                            <p>\n                                \x3c!-- <h2><strong>Right to Modify or Terminate </strong></h2> --\x3e\n                                {{"These Terms shall be governed by and construed in accordance with the laws of India and the Courts at New Delhi shall have exclusive jurisdiction over all legal disputes under these Terms." | translate}}\n                            </p>\n                        </div>\n                    </ion-card-content>\n                    <ion-card-content *ngIf="item.subId == 9" class="staticText">\n                        <div>\n                            <p>\n                                \x3c!-- <h2><strong>Translations</strong></h2> --\x3e\n                                {{"The issuer agrees that grievances will be addressed and resolved, in compliance with applicable legal and regulatory requirements, In the event you have any questions or concerns about these Terms, or if you need support or wish to file a grievance, please contact us at:" | translate}}\n                                <a rel="noopener noreferrer">partners[at]digitallocker[dot]gov[dot]in</a>.\n                            </p>\n                            <br>\n                            <p>\n                                \x3c!-- <h2><strong>Translations</strong></h2> --\x3e\n                                {{"Address: National e-Governance Division (NeGD), Ministry of Electronics and Information Technology (MeitY), Government of India, New Delhi, India" | translate}}\n                            </p>\n                        </div>\n                    </ion-card-content>\n                    <ion-card-content *ngIf="item.subId == 10" class="staticText">\n                        <div>\n                            <p>\n                                \x3c!-- <h2><strong>Miscellaneous</strong></h2> --\x3e\n                                {{"The Issuer affirms its commitment to supp
1ort individuals in exercising their rights under applicable data protection laws, including access, correction, and grievance redressal, through appropriate and timely mechanisms." | translate}}\n                            </p>\n                        </div>\n                    </ion-card-content>\n                    <ion-card-content *ngIf="item.subId == 11" class="staticText">\n                        <div>\n                            <p>\n                                \x3c!-- <h2><strong>Jurisdiction</strong></h2> --\x3e\n                                {{"In the event of any actual or suspected personal data breach involving personal data processed pursuant to these Terms, the Issuer shall promptly notify DigiLocker in writing within twenty-four (24) hours of becoming aware of the breach, to enable NeGD to take necessary action accordingly. Furthermore, the Issuer shall comply with all legal obligations to report such a breach." | translate}}\n                            </p>\n                        </div>\n                    </ion-card-content>\n\n\n\n                    <ion-card-content *ngIf="item.subId == 12" class="staticText">\n                        <div>\n                            <p>\n                                \x3c!-- <h2><strong>Jurisdiction</strong></h2> --\x3e\n                                {{"The Issuer agrees to implement appropriate technical, organizational, and administrative safeguards to ensure the confidentiality, integrity, and security of personal data processed in connection with theseTerms. The Issuer further agrees to abide by all applicable laws and regulations governing the handling of personal data as applicable" | translate}}\n                            </p>\n                        </div>\n                    </ion-card-content>\n                    <ion-card-content *ngIf="item.subId == 13" class="staticText">\n                        <div>\n                            <p>\n                                \x3c!-- <h2><strong>Jurisdiction</strong></h2> --\x3e\n                                {{"Termination: NeGD may terminate this engagement, in whole or in part, with immediate effect upon the occurrence of a material breach of these Terms by the Issuer. A material breach shall include, but not be limited to:" | translate}}\n                            </p>\n                            <ol class="paraStyle">\n                                <li>{{"Failure to Perform Obligations: Any lapse, negligence, or failure on the part of the Issuer to fulfill their responsibilities or obligations under these Terms" | translate}}</li><br>\n                                <li>{{"Breach of Representations: Any misrepresentation, incorrect statement, or breach of undertakings provided by the Issuer." | translate}}</li><br>\n                                <li>{{"Receipt of direction from competent/ regulatory authority, which, in the sole discretion of NeGD, indicates non-compliance or potential risk." | translate}}</li><br>\n                                <li>{{"Legal or Regulatory Non-Compliance: Any act or omission by the Issuer which may result in a breach of applicable laws, rules, regulations, or guidelines." | translate}}</li>\n                            </ol>\n                            <br>\n                            <p>{{"In the event of any of the above, NeGD shall issue a Rectification Notice, allowing the Issuer a period of 7 (Seven) days from the date of such notice to rectify the identified breach or lapse to the satisfaction of NeGD."\n                                | translate}}\n                            </p>\n                            <br>\n                            <p>{{"Failure to adequately rectify the breach within the stipulated period shall result in the complete suspension and/or termination of the engagement without any further notice or obligation on the part of NeGD." | translate}}</p>\n                            <br>\n                            <p>{{"NeGD reserves the right to suspend or block API access without prior notice in case of non-compliance, security concerns, or directions from competent authorities." | translate}}</p>\n                            <br>\n                            <p>{{"Termination or suspension under this clause shall be without prejudice to any other rights or remedies available to NeGD under applicable law." | translate}}</p>\n                            <br>\n                            <p>{{"Suspension: As mentioned earlier, NeGD reserves the right to temporarily suspend or permanently revoke access to the DigiLocker platform in case of serious non- compliance by the Issuer, such as repeated data breaches, or\n                                legal violations." | translate}}</p>\n                        </div>\n                    </ion-card-content>\n                    <ion-card-content *ngIf="item.subId == 14" class="staticText">\n                        <div>\n                            <p>\n                                \x3c!-- <h2><strong>{{"Jurisdiction" | translate}}</strong></h2> --\x3e\n                                {{"The Issuer may extend DigiLocker integration for use by affiliated departments or agencies only upon prior written approval by NeGD. The Issuer shall remain liable for all activities and usage undertaken through its issued APIs or credentials." | translate}}\n                            </p>\n                        </div>\n                    </ion-card-content>\n                    <ion-card-content *ngIf="item.subId == 15" class="staticText">\n                        <div>\n                            <p>\n                                \x3c!-- <h2><strong>{{"Jurisdiction" | translate}}</strong></h2> --\x3e\n                                {{"DigiLocker, may update these Terms periodically to reflect changes in services, legal requirements, or policies. NeGD reserves the right to revise the Terms at its discretion, with updates n
1otified via the DigiLocker website. Issuer Organizations are responsible for reviewing the Terms regularly. Continued use of DigiLocker services implies acceptance of the updated Terms" | translate}}\n                            </p>\n                        </div>\n                    </ion-card-content>\n                </app-expandable>\n            </ion-col>\n        </ion-row>\n    </ion-card-content>\n</ion-card>\n',styles:["ion-item ion-label {\n  cursor: pointer;\n  text-overflow: unset;\n  white-space: pre-line;\n}\n\nion-card p {\n  font-size: 14px;\n}\n\n.pageMargin {\n  height: 20px;\n}\n\n.pageMarginLogin {\n  height: 10px;\n}\n\n.paraStyle {\n  padding-left: 1rem;\n  font-size: 14px;\n}\n\n.paraPoint {\n  list-style-type: disc;\n  margin-left: 20px;\n  font-size: 14px;\n}"]})],M);let N=class{constructor(e,t){this.alertcntrl=e,this.router=t,this.aboutDigilocker=[{expanded:!1,header:"Definitions",subId:1},{expanded:!1,header:"Purpose and Scope",subId:2},{expanded:!1,header:"User Responsibility and Content Ownership",subId:3},{expanded:!1,header:"Acceptable Use Policy",subId:4},{expanded:!1,header:"Account Registration and Eligibility",subId:5},{expanded:!1,header:"Suspension and Revocation of Account",subId:6},{expanded:!1,header:"Mechanism of Enforcement and Review",subId:7},{expanded:!1,header:"User Rights and Redress",subId:8},{expanded:!1,header:"Children\u2019s Data and Parental Consent",subId:9},{expanded:!1,header:"Compliance with applicable laws",subId:10},{expanded:!1,header:"Confidential Information",subId:11},{expanded:!1,header:"Commercials/ payment terms (applicable in the event the User uses Premium version of DigiLocker Drive):",subId:12},{expanded:!1,header:"Portability, and Sunset Clause",subId:13},{expanded:!1,header:"Disclaimers And Liability",subId:14},{expanded:!1,header:"Governing Law & Jurisdiction",subId:15},{expanded:!1,header:"Indemnification",subId:16},{expanded:!1,header:"Amendment of Terms",subId:17}]}ngOnInit(){}expandItem(e,t){"about-app"!=this.router.url.split("/")[2]&&(e.expanded?e.expanded=!1:this[t].map(t=>(t.expanded=e==t&&!t.expanded,t)))}openLink(e){this.alertcntrl.openLink(e)}};N.ctorParameters=()=>[{type:m.a},{type:h.h}],N=Object(r.c)([Object(i.n)({selector:"app-users",template:'<ion-card mode="ios" class="ion-padding ion-no-margin">\n    <ion-card-content>\n        <ion-row>\n            <ion-col size="6" class="ion-text-start ion-no-padding">\n                <ion-text color="medium">\n                    <small>{{ "Last modified : 2nd June 2025" | translate }}</small>\n                </ion-text>\n            </ion-col>\n            <ion-col size="6" class="ion-text-end ion-no-padding">\n                <ion-chip outline="true" size="small">\n                    <a href="https://cdn.digilocker.gov.in/circulars/termsofuse/DigiLocker-Terms-of-Use-Users-june-2025.pdf" target="_blank"  rel="noopener noreferrer">\n                        <ion-icon name="download-outline" class="ion-padding-end"></ion-icon>\n                        <ion-label>{{ "Download PDF" | translate }}</ion-label>\n                    </a>\n                </ion-chip>\n            </ion-col>\n        </ion-row>\n        <div>\n            <p style=\'font-size: 14px;font-style: italic;\'> </p>\n            <h3 style="font-size: 14px; line-height: 1.6;" class="staticText"> {{"These Terms of Use (\\"Terms\\") apply to Users availing the DigiLocker platform (\\"Service\\"), a secure, privacy-focused digital platform designed for data, access, storage and sharing, The documents issued or shared via DigiLocker are legally equivalent to physical originals, as per the Information Technology (Preservation and Retention of Information by Intermediaries Providing Digital Locker Facilities) Rules, 2016. The users agree to be bound by these Terms, Indian law, and any subsequent amendments by using the Service. By utilizing the services of DigiLocker, users confirm that they have read, understood, and agree to be bound by the Terms." | translate}}\n            </h3>\n        </div>\n        <ion-row tabindex="0" (keyup.enter)="expandItem(item, \'aboutDigilocker\')" (click)="expandItem(item, \'aboutDigilocker\')" *ngFor="let item of aboutDigilocker">\n            <ion-col size="12">\n                <ion-item lines="full" class="staticText">\n                    \x3c!-- <ion-icon name="help-circle-outline" class="ion-margin-end"></ion-icon> --\x3e\n                    <ion-label [class.bold]="router.url.split(\'/\')[2] === \'about-app\'">{{item.header | translate}}</ion-label>\n                </ion-item>\n\n                <app-expandable expandHeight="auto" [expanded]="item.expanded">\n                    <ion-card-content *ngIf="item.subId == 1" class="staticText">\n                        <div>\n                            <p>\n                                {{"For the purposes of these Terms of Use, the following terms shall have the meanings set forth below unless the context requires otherwise:" | translate}}\n                            </p>\n                            <ol type="a" class="paraStyle">\n                                <li>\n                                    <b>{{"Content" | translate}}:</b> {{"Any data, documents, images, or other digital materials uploaded, stored, shared, or transmitted by a User through the DigiLocker platform, including but not limited to Government-issued\n                                    documents, certificates, and other permitted digital formats." | translate}}\n                                </li>\n                                <br>\n                                <li>\n                                    <b>{{"DigiLocker" | translate}}:</b> {{"The secure, privacy-focused digital platform operated by the National e-Governance Division (NeGD) under the Ministry of Electronics and Information Technology (MeitY), Government\n                                    of India, designed for the storage, access, and sharing of digital documents." | translate}}\n                                </li>\n                                <br>\n                                <li>\n                                    <b>{{"Metadata" | translate}}:</b> {{"Information associated with User Content, including but not limited to file names, file sizes, timestamps, and document URIs (Uniform Resource Identifiers), which may be inspected\n                                    for compliance purposes as per applicable laws." | translate}}\n                                </li>\n                                <br>\n                                <li>\n                                    <b>{{"NeGD" | translate}}:</b> {{"The National e-Governance Division, a division under the Ministry of Electronics and Information Technology (MeitY), Government of India, responsible for operating and managing the\n                                    DigiLocker platform." | translate}}\n                                </li>\n                                <br>\n                                <li>\n                                    <b>{{"Premium Service" | translate}}:</b>
1 {{"Optional value-added services offered by DigiLocker, distinct from core services, which may include features such as additional storage capacity, advanced sharing options,\n                                    or enhanced user support, subject to applicable subscription or usage fees." | translate}}\n                                </li>\n                                <br>\n                                <li>\n                                    <b>{{"Service" | translate}}:</b> {{"The DigiLocker platform and its associated functionalities, including but not limited to secure storage, access, sharing, and transmission of User Content, as well as any Premium\n                                    Service offerings." | translate}}\n                                </li>\n                                <br>\n                                <li>\n                                    <b>{{"User" | translate}}:</b> {{"Any individual who registers for and accesses the DigiLocker platform using a valid Indian mobile number, Driving License, PAN, or Aadhaar, and agrees to be bound by these Terms of\n                                    Use." | translate}}\n                                </li>\n                                <br>\n                                <li>\n                                    <b>{{"Aadhaar" | translate}}:</b> {{"The unique 12-digit identification number issued by the Unique Identification Authority of India (UIDAI), used voluntarily by Users for authentication purposes on the DigiLocker platform."\n                                    | translate}}\n                                </li>\n                                <br>\n                                <li>\n                                    <b>{{"Confidential Information" | translate}}:</b> {{"Any sensitive data provided by the User, including but not limited to Aadhaar-linked information, document URIs, access logs, and data collected during registration\n                                    or authentication, handled in compliance with applicable Indian data protection laws." | translate}}\n                                </li>\n\n                            </ol>\n                        </div>\n                    </ion-card-content>\n                    <ion-card-content *ngIf="item.subId == 2" class="staticText">\n                        <div>\n                            <p>\n                                \x3c!-- <h2><strong>Ownership of Content and Licence</strong></h2> --\x3e\n                                {{"DigiLocker, which has implemented Information Security Management System in accordance with ISO/IEC 27001:2022, aims to provide Users with a comprehensive digital platform that facilitates secure, access, and sharing, storage while preserving user\n                                privacy and autonomy. The platform operates under a privacy-centric architecture wherein DigiLocker and any associated third-party service operators do not access, read, or interpret the data stored by users. While DigiLocker\n                                facilitates the secure storage, transmission, and sharing of user documents, it does not engage in processing or analysing the content of these documents. This approach ensures that data handling is conducted with user\n                                consent and transparency. Additionally, no fees shall be charged by NeGD for access to issued documents through DigiLocker." | translate}}\n                            </p>\n                        </div>\n                    </ion-card-content>\n                    <ion-card-content *ngIf="item.subId == 3" class="staticText">\n                        <div>\n                            <p>\n                                \x3c!-- <h2><strong>Account, Security and Consent </strong></h2> --\x3e\n                                {{"Users retain complete ownership of all content that they upload, store, share, or transmit through the DigiLocker platform. Such content may include documents, images, or other permitted digital formats, as supported by the platform. Users alone are\n                                liable for the uploaded content and are bound to make sure that the uploads do n
1ot infringe Indian laws as propounded from time to time." | translate}}\n                                <br> {{"It is advisable to not upload, store, share, or disseminate any illegal, harmful, offensive, defamatory, exploitative, or otherwise objectionable contents under Indian law. NeGD reserves the right to suspend or\n                                block the User\\\'s account without prior notice, in case of non-compliance, security concerns, or directions from competent authorities." | translate}}\n                                <br>{{"Additionally, Users must explicitly consent before fetching or sharing any documents in their account. Consent mechanism details will be logged and governed by applicable data protection laws." | translate}}\n                            </p>\n                        </div>\n                    </ion-card-content>\n                    <ion-card-content *ngIf="item.subId == 4" class="staticText">\n                        <div>\n                            <p>\n                                \x3c!-- <h2><strong>Disclaimers </strong></h2> --\x3e\n                                {{"Users are advised to restrain using the DigiLocker platform or any of its services for the following purposes:"| translate}}\n                            </p>\n                            <ol type="a" class="paraStyle">\n                                <li>\n                                    {{"Upload, transmit, or distribute any content that is illegal, obscene, defamatory, harassing, or exploitative, particularly any content related to child abuse material, non-consensual intimate imagery, or incitement to violence." | translate}}\n                                </li>\n                                <br>\n                                <li>\n                                    {{"Impersonation, phishing, fraud or acts that mislead, deceive, or defraud other individuals." | translate}}\n                                </li>\n                                <br>\n                                <li>\n                                    {{"Act in a way that injures oneself or other persons or arouses criminal or illegal behaviour under Indian Criminal justice system" | translate}}\n                                </li>\n                                <br>\n                                <li>\n                                    {{"Store or distribute anything that provokes communal hatred, encourages terrorism, incites violence, hate speech, content that undermines public order, national security, or violates others\u2019 rights or that jeopardizes national security." | translate}}\n                                </li>\n                                <br>\n                                <li>\n                                    {{"Host malware, other schemes such as phishing, or other technology intended to cause unauthorized access, stealing data, or damage to infrastructure." | translate}}\n                                </li>\n                                <br>\n                                <li>\n                                    {{"Any content which is prohibited under law." | translate}}\n                                </li>\n                            </ol>\n                        </div>\n                    </ion-card-content>\n\n                    <ion-card-content *ngIf="item.subId == 5" class="staticText">\n                        <div>\n                            <p>\n                                \x3c!-- <h2><strong>Limitation on Use </strong></h2> --\x3e\n                                {{"To access the DigiLocker platform, users must register using a valid Indian mobile number, Driving License, PAN or Aadhaar. Registration may require verification via an OTP. Users are using Aadhaar voluntarily. Authentication logs are retained as provided\n                                under law." | translate}}\n                            </p>\n                        </div>\n                    </ion-card-content>\n                    <ion-card-content *ngIf="item.subId == 6" class="staticText">\n                        <div>\n                            <p>\n                                \x3c!-- <h2><strong>Indemnity </strong></h2> --\x3e\n                                {{"Termination: NeGD may terminate this engagement, in whole or in part, with immediate effect upon the occurrence of a material breach of these Terms by the User. A material breach shall include, but not be limited to:" | translate}}\n                            </p>\n                            <ol class="paraStyle">\n                                <li>\n                                    {{"Failure to Perform Obligations: Any lapse, negligence, or failure on the part of the User to fulfill their responsibilities or obligations under these Terms." | translate}}\n                                </li>\n                                <br>\n                                <li>\n                                    {{"Breach of Representations: Any misrepresentation, incorrect statement, or breach of warranties or undertakings provided by the User" | translate}}\n                                </li>\n                                <br>\n                                <li>\n                                    {{"Receipt of Complaint: Receipt of any formal complaint from third party, or regulatory authority, which, in the sole discretion of NeGD, indicates non-compliance or potential risk." | translate}}\n                                </li>\n                                <br>\n                                <li>\n                                    {{"Legal or Regulatory Non-Compliance: Any act or omission by the User which may result in a breach of applicable laws, rules, regulations, or guidelines." | translate}}\n                                </li>\n                            </ol>\n                            <p>\n                                {{"Termination or suspension under this clause shall be without prejudice to any other rights or remedies available to NeGD under applicable law" | translate}}\n                            </p>\n                            <p>\n                                {{"Suspension: As mentioned earlier, NeGD reserves the right to temporarily suspend or permanently revoke access to the DigiLocker platform in case of serious non-compliance by the User, such any legal violations." | translate}}\n                            </p>\n                        </div>\n                    </ion-card-content>\n                    <ion-card-content *ngIf="item.subId == 7" class="staticText">\n                        <p>\n                            \x3c!-- <h2><strong>
1Limitation on Use </strong></h2> --\x3e\n                            {{"Because of its design, DigiLocker does not scan or monitor users\' content proactively. But in case of a request from law enforcement, or a Court order:" | translate}}\n                        </p>\n                        <ul class="paraPoint">\n                            <li>{{"Metadata, including file sizes, timestamps, and filenames, can be inspected to identify potential violations." | translate}}</li>\n                            <br>\n                            <li>{{"Provide access to user content only after proper judicial authorization." | translate}}\n                            </li>\n                            <br>\n                            <li>{{"Restrict access, suspend, or terminate accounts." | translate}}</li>\n                            <br>\n                            <li>{{"The platform does not proactively monitor user content but reserves the right to review metadata or content upon receiving a lawful request or court order. Users may be required to respond to platform queries to maintain\n                                compliance." | translate}}\n                            </li>\n                        </ul>\n                    </ion-card-content>\n\n                    <ion-card-content *ngIf="item.subId == 8" class="staticText">\n                        <div>\n                            <p>\n                                \x3c!-- <h2><strong>Right to Modify or Terminate </strong></h2> --\x3e\n                                {{"Users possess the right to:" | translate}}\n                            </p>\n                            <ol type="a" class="paraStyle">\n                                <li>\n                                    {{"Make a request for an appeal and judicial review of any account restriction, suspension, or enforcement action made against their account." | translate}}\n                                </li>\n                                <br>\n                                <li>\n                                    {{"Delete their account" | translate}}\n                                </li>\n                                <br>\n                                <li>\n                                    {{"The User agrees that grievances will be addressed and resolved, in compliance with applicable rules/guidelines. In the event you have any questions or concerns about these Terms, or if you need support or wish to file a grievance, please contact us\n                                    at:" | translate }} <a href="https://support.digilocker.gov.in" target="_blank"  rel="noopener noreferrer">\n                    https://support.digilocker.gov.in</a>.\n                                </li>\n                            </ol>\n                            <p>{{"Address: National e-Governance Division (NeGD), Ministry of Electronics and Information Technology (MeitY), Government of India, New Delhi, India." | translate}}\n                            </p><br>\n                            <p>{{"Please note that such complaints will be acknowledged and redressed as per policy." | translate}}</p>\n                        </div>\n                    </ion-card-content>\n                    <ion-card-content *ngIf="item.subId == 9" class="staticText">\n                        <div>\n                            <p>\n                                \x3c!-- <h2><strong>Translations</strong></h2> --\x3e\n                                {{"DigiLocker does not knowingly collect personal data from individuals under the age of 18 without verifiable parental or guardian consent. If it is discovered that personal data has been collected from a child without such consent, the account may be\n                                suspended or deleted. Parents or guardians may contact DigiLocker Support Team for rectification or deletion of such data." | translate}}\n                            </p>\n                        </div>\n                    </ion-card-content>\n                    <ion-card-content *ngIf="item.subId == 10" class="staticText">\n                        <div>\n                            <p>\n                                \x3c!-- <h2><strong>Miscellaneous</strong></h2> --\x3e\n                                {{"DigiLocker shall ensure compliance with all relevant data retention, protection and privacy laws currently applicable in India. Additionally, the platform shall undergo periodic audits, including but not limited to security policies, technology evaluation,contracts, and compliance with statutory rules, as required under applicable laws." | translate}}\n                            </p>\n                        </div>\n                    </ion-card-content>\n                    <ion-card-content *ngIf="item.subId == 11" class="staticText">\n                        <div>\n                            <p>\n                                \x3c!-- <h2><strong>Jurisdiction</strong></h2> --\x3e\n                                {{"Confidential Information includes user-submitted data, Aadhaar-linked information, document URIs (Uniform Resource Identifier, which means a unique reference to a document stored in a Digital Locker repository), access logs, and any data collected\n                                during registration or authentication use. Acce
1ss shall be granted only on a need-to-know and need-to-use basis, in compliance with applicable laws. Data will not be stored or processed outside India." | translate}}\n                            </p>\n                        </div>\n                    </ion-card-content>\n\n\n\n                    <ion-card-content *ngIf="item.subId == 12" class="staticText">\n                        <div>\n                            <p>\n                                \x3c!-- <h2><strong>Jurisdiction</strong></h2> --\x3e\n                                {{"Users opting for the Premium Service (i.e. value-added services, apart from the existing core services), being a value-added offering distinct from the core DigiLocker services, shall be liable to pay a subscription or usage fee, as determined and\n                                periodically revised by DigiLocker. The applicable fee, payment schedule, and available plans shall be communicated clearly at the time of subscription." | translate}}\n                            </p>\n                            <br>\n                            <p>{{"Payment for the Premium Service shall be made through the payment modes specified on the platform. All fees once paid are non-refundable, except as otherwise required under applicable law. If a payment is debited but the\n                                Premium Service is not activated, the amount will be refunded within 3-7 working days after verification. Users may raise a support request through the DigiLocker helpdesk in case a refund is not processed within this period."\n                                | translate}}\n                            </p>\n                            <br>\n                            <p>{{"By continuing to use the Premium Service after the initial subscription or renewal, the User is deemed to have:" | translate}}</p>\n                            <ul class="paraPoint">\n                                <li>{{"Accepted the applicable payment terms in full," | translate}}</li>\n                                <li>{{"Authorized DigiLocker to charge the applicable fee for the chosen plan," | translate}}</li>\n                                <li>{{"Agreed to any future modifications to pricing or terms, subject to prior notice." | translate}}</li>\n                            </ul>\n                            <p>{{"Failure to make timely payments may result in suspension or termination of the Premium Service without further notice. DigiLocker also reserves the right to recover any outstanding dues through lawful means, including engagement\n                                of collection agencies, if necessary." | translate}}</p>\n                        </div>\n                    </ion-card-content>\n                    <ion-card-content *ngIf="item.subId == 13" class="staticText">\n                        <div>\n                            <p>\n                                \x3c!-- <h2><strong>Jurisdiction</strong></h2> --\x3e\n                                {{"Users can remove their account and related data at any time. In this regard DigiLocker ensures:" | translate}}\n                            </p>\n                            <ol type="a" class="paraStyle">\n                                <li>\n                                    {{"Once the account is deleted, data will be dealt in compliance with applicable laws." | translate}}\n                                </li>\n                                <br>\n                                <li>\n                                    {{"Account recovery provision to nominate digital heirs in the event of death or incapacitation, under the condition of confirmed identity." | translate}}\n                                </li>\n                            </ol>\n                            <p>\n                                {{"If DigiLocker is to be discontinued, users shall be entitled to a minimum of 30 days of notice to download or transfer data." | translate}}\n                            </p>\n                        </div>\n                    </ion-card-content>\n                    <ion-card-content *ngIf="item.subId == 14" class="staticText">\n                        <div>\n                            <p>\n                                \x3c!-- <h2><strong>Jurisdiction</strong></h2> --\x3e\n                                {{"The Services are provided \u201cas is.\u201d We do not guarantee uninterrupted access, nor do we assume liability for:" | translate}}\n                            </p>\n                            <ul class="paraPoint">\n                                <li>{{"Metadata, including file sizes, timestamps, and filenames, can be inspected to identify potential violations." | translate}}</li>\n                                <br>\n                                <li>{{"Loss of data due to user error or system limitations" | translate}}</li>\n                                <br>\n                                <li>{{"Delays or disruptions caused by network providers or external factors" | translate}}\n                                </li>\n                                <br>\n                                <li>{{"Unauthorized access due to user-side security lapse" | translate}}</li>\n                            </ul>\n                            <p>\n                                \x3c!-- <h2><strong>Jurisdiction</strong></h2> --\x3e\n                                {{"To the extent permitted by law, we disclaim all warranties and shall not be liable for indirect, incidental, or consequential damages." | translate}}\n                            </p>\n                        </div>\n                    </ion-card-content>\n                    <ion-card-content *ngIf="item.subId == 15" class="staticText">\n                        <div>\n                            <p>\n                                \x3c!-- <h2><strong>Jurisdiction</strong></h2> --\x3e\n                                {{"These Terms are governed by the laws of India. Disputes arising hereunder shall be subject to the exclusive jurisdiction of the courts of Delhi." | translate}}\n                            </p>\n                        </div>\n                    </ion-card-content>\n                    <ion-card-content *ngIf="item.subId == 16" class="staticText">\n                        <div>\n                            <p>\n                                \x3c!-- <h2><strong>Jurisdiction</strong></h2> --\x3e\n                                {{"Users agree to indemnify and hold harmless the National e-Governance Division (NeGD), its affiliates, officers, and employees from any third-party claims, losses, damages, or expenses (including reasonable legal fees) arising from the User\u2019s violation\n                                of these Terms, applicable laws, or misuse of the DigiLocker platform, including but not limited to uploading illegal, defamatory, or infringing content. This indemnification shall not apply to claims resulting from NeGD\u2019s\n                                negligence, system failures, or failure to comply with applicable laws." | translate}}\n                            </p>\n                        </div>\n                    </ion-card-content>\n                    <ion-card-content *ngIf="item.subId == 17" class="staticText">\n                        <div>\n                            <p>\n                                \x3c!-- <h2><strong>Jurisdiction</strong></h2> --\x3e\n                                {{"DigiLocker, may update these Terms periodically to reflect changes in services, legal requirements, or policies. NeGD reserves the right to revise the Terms at its discretion, with updates n
1otified via the DigiLocker website. Users are responsible\n                                for reviewing the Terms regularly. Continued use of DigiLocker services implies acceptance of the updated Terms." | translate}}\n                            </p>\n                        </div>\n                    </ion-card-content>\n                </app-expandable>\n            </ion-col>\n        </ion-row>\n    </ion-card-content>\n</ion-card>\n',styles:["ion-item ion-label {\n  cursor: pointer;\n  text-overflow: unset;\n  white-space: pre-line;\n}\n\nion-card p {\n  font-size: 14px;\n}\n\n.pageMargin {\n  height: 20px;\n}\n\n.pageMarginLogin {\n  height: 10px;\n}\n\n.paraStyle {\n  padding-left: 1rem;\n  font-size: 14px;\n}\n\n.paraPoint {\n  list-style-type: disc;\n  margin-left: 20px;\n  font-size: 14px;\n}"]})],N);let R=class{constructor(e,t){this.alertcntrl=e,this.router=t,this.aboutDigilocker=[{expanded:!1,header:"SCOPE",subId:1},{expanded:!1,header:"REQUESTER ONBOARDING AND ELIGIBILITY",subId:2},{expanded:!1,header:"PERMITTED USE OF DIGILOCKER APIS",subId:3},{expanded:!1,header:"ROLES AND RESPONSIBILITIES",subId:4},{expanded:!1,header:"ACCESS RESTRICTIONS AND MISUSE",subId:5},{expanded:!1,header:"CONSENT AND LEGAL LIABILITY",subId:6},{expanded:!1,header:"GENERAL PROVISIONS",subId:7},{expanded:!1,header:"JURISDICTION",subId:8},{expanded:!1,header:"COMMERCIALS/ PAYMENT TERMS:",subId:9},{expanded:!1,header:"GRIEVANCE REDRESSAL MECHANISM",subId:10},{expanded:!1,header:"RESPECT FOR DATA PRINCIPAL RIGHTS",subId:11},{expanded:!1,header:"PRIVACY NOTICE AND TRANSPARENCY",subId:12},{expanded:!1,header:"PERSONAL DATA BREACH NOTIFICATION",subId:13},{expanded:!1,header:"COMPLIANCE AND OVERSIGHT",subId:14},{expanded:!1,header:"AUDIT REQUIREMENTS",subId:15},{expanded:!1,header:"TERMINATION AND SUSPENSION",subId:16},{expanded:!1,header:"USAGE BY SUBSIDIARIES / AFFILIATED ENTITIES",subId:17},{expanded:!1,header:"DATA PROTECTION AND CONFIDENTIALITY",subId:18},{expanded:!1,header:"AMENDMENT OF TERMS",subId:19}]}ngOnInit(){}expandItem(e,t){"about-app"!=this.router.url.split("/")[2]&&(e.expanded?e.expanded=!1:this[t].map(t=>(t.expanded=e==t&&!t.expanded,t)))}openLink(e){this.alertcntrl.openLink(e)}};R.ctorParameters=()=>[{type:m.a},{type:h.h}],R=Object(r.c)([Object(i.n)({selector:"app-requesters",template:'<ion-card mode="ios" class="ion-padding ion-no-margin">\n    <ion-card-content>\n        <ion-row>\n            <ion-col size="6" class="ion-text-start ion-no-padding">\n                <ion-text color="medium">\n                    <small>{{ "Last modified : 2nd June 2025" | translate }}</small>\n                </ion-text>\n            </ion-col>\n            <ion-col size="6" class="ion-text-end ion-no-padding">\n                <ion-chip outline="true" size="small">\n                    <a href="https://cdn.digilocker.gov.in/circulars/termsofuse/DigiLocker-Terms-of-Use-Requester-june-2025.pdf" target="_blank" rel="noopener noreferrer">\n                        <ion-icon name="download-outline" class="ion-padding-end"></ion-icon>\n                        <ion-label>{{ "Download PDF" | translate }}</ion-label>\n                    </a>\n                </ion-chip>\n            </ion-col>\n        </ion-row>\n        <div>\n            <p style=\'font-size: 14px;font-style: italic;\'> </p>\n            <h3 style="font-size: 14px; line-height: 1.6;" class="staticText"> {{"These terms govern Requesting entity\'s participation as a Requester in DigiLocker, a digital document wallet service provided by the National e-Governance Division (NeGD) under the Ministry of Electronics and Information Technology (MeitY),\n                Government of India. By integrating with or issuing documents to DigiLocker, Requester agrees to comply with all applicable terms, policies, and guidelines set forth by NeGD." | translate}}<br><br> {{"All components of the DigiLocker platform,\n                including but not limited to data, text, document templates, designs, pages, graphics, user interfaces, visual elements, images, artwork, photographs, trademarks, logos, audio and video content, HTML code, source code, and software (collectively\n                referred to as \u201cContent\u201d) that are accessible through or embedded in the DigiLocker platform, are the intellectual property of the National e-Governance Division, MeitY. Requesters may utilize the platform solely for the purpose of digitally\n                issuing documents to end-users in accordance with DigiLocker policies, without acquiring any ownership rights over the platform or its Content." | translate}}\n            </h3>\n        </div>\n        <ion-row tabindex="0" (keyup.enter)="expandItem(item, \'aboutDigilocker\')" (click)="expandItem(item, \'aboutDigilocker\')" *ngFor="let item of aboutDigilocker">\n            <ion-col size="12">\n                <ion-item lines="full" class="staticText">\n                    \x3c!-- <ion-icon name="help-circle-outline" class="ion-margin-end"></ion-icon> --\x3e\n                    <ion-label [class.bold]="router.url.split(\'/\')[2] === \'about-app\'">{{item.header | translate}}</ion-label>\n                </ion-item>\n\n                <app-expandable expandHeight="auto" [expanded]="item.expanded">\n                    <ion-card-content *ngIf="item.subId == 1" class="staticText">\n                        <div>\n                            <p>\n                                {{"These Terms and Conditions govern the onboarding of the Requester Organization onto the DigiLocker platform. Upon successful onboarding, the Requester shall be authorized to access documents disseminated directly from end-users through the DigiLocker\n                                platform." | translate}}\n                            </p>\n                            <br>\n                            <p>\n                                {{"DigiLocker, shall act solely as a secure transmission platform for such documents. Responsibility for the content and validity of issued documents rests solely with the Issuer." | translate}}\n                            </p>\n                        </div>\n                    </ion-card-content>\n                    <ion-card-content *ngIf="item.subId == 2" class="staticText">\n                        <div>\n                            <p>\n                                \x3c!-- <h2><strong>Ownership of Content and Licence </strong></h2> --\x3e\n                                {{"Requester Organizations must designate a senior authorized representative to initiate and complete onboarding onto the DigiLocker platform.Registration must be conducted using the official email domain of the organization, and all submitted information\n                                is subject to verification by NeGD.Misrepresentation may result in suspension or denial of access." | translate}}\n                            </p>\n                        </div>\n                    </ion-card-content>\n                    <ion-card-content *ngIf="item.subId == 3" class="staticText">\n                        <div>\n                            <p>\n                                \x3c!-- <h2><strong>Account, Security and Consent </strong></h2> --\x3e\n                                {{"Requester Organizations are granted access to DigiLocker APIs solely for the purpose of retrieving documents disseminated through DigiLocker.All integrations must preserve DigiLocker branding and may not be rebranded or modified without prior written\n                                consent.Use of the API for unauthorized purposes is strictly prohibited." | translate}}\n                            </p>\n                        </div>\n                    </ion-card-content>\n                    <ion-card-content *ngIf="item.subId == 4" class="staticText">\n                        <div>\n                            <ol type="a" class="paraStyle">\n                                <li>\n                                    {{"NeGD shall provide the DigiLocker platform, technical documentation, and necessary API access to facilitate the Requester\'s secure access to user documents." | translate}}\n                                </li>\n                                <br>\n                                <li>\n                                    {{"NeGD shall ensure that access to user data or documents is strictly governed by user consent in compliance with applicable laws and shall monitor the platform to prevent misuse." | translate}}\n                                </li>\n                                <br>\n                                <li>\n                                    {{"The Requester shall integrate its systems with DigiLocker\u2019 s Requester APIs and shall obtain explicit and informed user consent prior to accessing any document." | translate}}\n                                </li>\n                                <br>\n                                <li>\n                                    {{"The Requester must clearly inform users of the purpose of data access and must not cache, duplicate, or store documents beyond the permitted duration." | translate}}\n                                </li>\n                                <br>\n                                <li>\n                                    {{"The Requester shall implement adequate technical and organizational safeguards to ensure the protection of user data and shall promptly notify NeGD of any security incidents within twenty - four(24) hours of discovery.Compliance with applicableIndian\n                                    Laws and other relevant regulations is mandatory." | translate}}\n                                </li>\n                                <br>\n                                <li>\n                                    {{"The Requester agrees to comply with the DigiLocker Terms of Use and relevant API Specifications, as updated from time to time as fixed by NeGD / DigiLocker." | translate}}\n                                </li>\n                            </ol>\n                        </div>\n                    </ion-card-content>\n\n                    <ion-card-content *ngIf="item.subId == 5" class="staticText">\n                        <div>\n                            <p>\n                                \x3c!-- <h2><strong>
1Limitation on Use </strong></h2> --\x3e\n                                {{"Requesters must not engage in any activity that compromises the integrity, availability, or confidentiality of the DigiLocker system.Unauthorized access, reverse engineering, data scraping, or misuse of API endpoints will result in immediate suspension\n                                and potential legal action." | translate}}\n                            </p>\n                        </div>\n                    </ion-card-content>\n                    <ion-card-content *ngIf="item.subId == 6" class="staticText">\n                        <div>\n                            <ol type="a" class="paraStyle">\n                                <li>\n                                    {{"The Requester acknowledges and agrees that DigiLocker shall not be liable for the contents, misuse, or misrepresentation of any documents once delivered through its system." | translate}}\n                                </li>\n                                <br>\n                                <li>\n                                    {{"Documents fetched or issued via DigiLocker shall be accessible solely through explicit user consent, with consent - based access enabled via DigiLocker.The Requester must ensure that no data or document is stored, cached, or reproduced outside the\n                                    transaction except where explicitly required by applicable laws or regulations." | translate}}\n                                </li>\n                                <br>\n                                <li>\n                                    {{"These Terms further affirms the Parties\u2019 intent to align with the principles of consent - based data sharing in compliance with the Data Protection Laws as currently prevalent in India, Public Key Infrastructure(PKI) for digital signing and verification,\n                                    and standardization of electronic document formats.All integrations and data exchanges shall follow the applicable Indian laws." | translate}}\n                                </li>\n                                <br>\n                                <li>\n                                    {{"The Requester confirms that DigiLocker will operate only upon such user consent and shall not be held accountable for any legal claims arising from the issuance or delivery of documents." | translate}}\n                                </li>\n                                <br>\n                                <li>\n                                    {{"The Requester shall at all times indemnify and keep DigiLocker indemnified of any legal claims arising from the issuance or delivery of documents in furtherance to utilizing the DigiLocker services." | translate}}\n                                </li>\n                            </ol>\n                        </div>\n                    </ion-card-content>\n                    <ion-card-content *ngIf="item.subId == 7" class="staticText">\n                        <ol type="a" class="paraStyle">\n                            <li>{{"The Requester acknowledges and understands that it must be able to fulfil their responsibilities under these terms in accordance with the provisions of the law and regulations that govern their activities.Nothing in these\n                                Terms intends to negate or otherwise render ineffective any such provisions or operating procedures.The Requester assume full responsibility for their performance under these Terms." | translate}}\n                            </li>\n                            <br>\n                            <li>{{"If at any time requester is unable to perform its duties or responsibilities under these terms consistent with such statutory and regulatory mandates, NeGD shall immediately provide written notice to establish a date for\n                                resolution of the matter." | translate}}</li>\n                        </ol>\n                    </ion-card-content>\n\n                    <ion-card-content *ngIf="item.subId == 8" class="staticText">\n                        <div>\n                            <p>\n                                \x3c!-- <h2><strong>Right to Modify or Terminate </strong></h2> --\x3e\n                                {{"These Terms shall be governed by and construed in accordance with the laws of India and the Courts at New Delhi shall have exclusive jurisdiction over all legal disputes under these Terms." | translate}}\n                            </p>\n                        </div>\n                    </ion-card-content>\n                    <ion-card-content *ngIf="item.subId == 9" class="staticText">\n                        <div>\n                            <p>\n                                \x3c!-- <h2><strong>Translations</strong></h2> --\x3e\n                                {{"Currently, there are no platform charges applicable. However, should any such charges be introduced in the future, the Requester Organization will be duly informed in advance prior to the implementation of such charges. Such charges would always be\n                                prospective in nature." | translate}}\n                            </p>\n                        </div>\n                    </ion-card-content>\n                    <ion-card-content *ngIf="item.subId == 10" class="staticText">\n                        <div>\n                            <p>\n                                {{"The Requester agrees that grievances will be addressed and resolved, in compliance with applicable legal and regulatory requirements. In the event you have any questions or concerns about these Terms, or if you need support or wish to file a grievance,\n                                please contact us at:" | translate}} <a rel="noopener noreferrer">partners[at]digitallocker[dot]gov[dot]in</a>.\n                            </p>\n                            <br>\n                            <p>\n                                {{"Address: National e-Governance Division (NeGD), Ministry of Electronics and Information Technology (MeitY), Government of India, New Delhi, India." | translate}}\n                            </p>\n                        </div>\n                    </ion-card-content>\n                    <ion-card-content *ngIf="item.subId == 11" class="staticText">\n                        <div>\n                            <p>\n                                \x3c!-- <h2><strong>Jurisdiction</strong></h2> --\x3e\n                                {{"The Requester affirms its commitment to supp
1ort individuals in exercising their rights under applicable data protection laws, including access, correction, and grievance redressal, through appropriate and timely mechanisms." | translate}}\n                            </p>\n                        </div>\n                    </ion-card-content>\n\n\n\n                    <ion-card-content *ngIf="item.subId == 12" class="staticText">\n                        <div>\n                            <p>\n                                \x3c!-- <h2><strong>Jurisdiction</strong></h2> --\x3e\n                                {{"The Requester shall provide a clear, comprehensive, and easily accessible privacy notice to all Data Principals prior to the collection or processing of any personal data under these Terms. This notice shall set out, at a minimum, the categories of\n                                personal data being collected, the purposes for which such data is being processed, the lawful basis for such processing, the entities with whom the data may be shared, the duration for which the data shall be retained,\n                                and the rights available to the Data Principal under the applicable law. The privacy notice shall be written in simple and unambiguous language and made available in a manner that is easily accessible to all users." | translate}}\n                            </p>\n                        </div>\n                    </ion-card-content>\n                    <ion-card-content *ngIf="item.subId == 13" class="staticText">\n                        <div>\n                            <p>\n                                \x3c!-- <h2><strong>Jurisdiction</strong></h2> --\x3e\n                                {{"In the event of any actual or suspected personal data breach involving personal data processed pursuant to these Terms, the Requester shall promptly notify DigiLocker in writing within twenty - four(24) hours of becoming aware of the breach.Furthermore,\n                                the Requester shall comply with all legal obligations to report such a breach to enable NeGD to take necessary action accordingly." | translate}}\n                            </p>\n                        </div>\n                    </ion-card-content>\n                    <ion-card-content *ngIf="item.subId == 14" class="staticText">\n                        <div>\n                            <p>\n                                \x3c!-- <h2><strong>Jurisdiction</strong></h2> --\x3e\n                                {{"The Requester agrees to implement appropriate technical, organizational, and administrative safeguards to ensure the confidentiality, integrity, and security of personal data processed in connection with these Terms. Requester further agrees to abide\n                                by all applicable laws and regulations governing the handling of personal data. DigiLocker reserves the right to conduct, or cause to be conducted, periodic audits of the Requester to assess compliance with the terms of\n                                theseT erms and applicable data protection obligations." | translate}}\n                            </p>\n                        </div>\n                    </ion-card-content>\n                    <ion-card-content *ngIf="item.subId == 15" class="staticText">\n                        <div>\n                            <p>\n                                \x3c!-- <h2><strong>Jurisdiction</strong></h2> --\x3e\n                                {{"The Requester shall conduct an annual compliance audit of its DigiLocker integration and practices, including data protection mechanisms and access control, through an CERT - IN empaneled auditor.The audit report may be verified by NeGD and Non - compliance\n                                may lead to suspension of API access until rectification." | translate}}\n                            </p>\n                        </div>\n                    </ion-card-content>\n\n                    <ion-card-content *ngIf="item.subId == 16" class="staticText">\n                        <div>\n                            <p>\n                                \x3c!-- <h2><strong>Jurisdiction</strong></h2> --\x3e\n                                {{"Termination: NeGD may terminate this engagement, in whole or in part, with immediate effect upon the occurrence of a material breach of these Terms by the Requester. A material breach shall include, but not be limited to:" | translate}}\n                            </p>\n                            <ol class="paraStyle">\n                                <li>{{"Failure to Perform Obligations: Any lapse, negligence, or failure on the part of the Requester to fulfill their responsibilities or obligations under these Terms." | translate}}</li><br>\n                                <li>{{"Breach of Representations: Any misrepresentation, incorrect statement, or breach of undertakings provided by the Requester." | translate}}</li><br>\n                                <li>{{"Receipt of direction from competent/ regulatory authority, which, in the sole discretion of NeGD, indicates non-compliance or potential risk." | translate}}</li><br>\n                                <li>{{"Legal or Regulatory Non-Compliance: Any act or omission by the Requester which may result in a breach of applicable laws, rules, regulations, or guidelines." | translate}}</li>\n                            </ol>\n                            <br>\n                            <p>{{"In the event of any of the above, NeGD shall issue a Rectification Notice, allowing the Requester a period of 7 (seven) days from the date of such notice to rectify the identified breach or lapse to the satisfaction of NeGD."\n                                | translate}}\n                            </p>\n                            <br>\n                            <p>{{"Failure to adequately rectify the breach within the stipulated period shall result in the complete suspension and/
1or termination of the engagement without any further notice or obligation on the part of NeGD." | translate}}</p>\n                            <br>\n                            <p>{{"NeGD reserves the right to suspend or block API access without prior notice in case of non-compliance, security concerns, or directions from competent authorities." | translate}}</p>\n                            <br>\n                            <p>{{"Termination or suspension under this clause shall be without prejudice to any other rights or remedies available to NeGD under applicable law" | translate}}</p>\n                            <br>\n                            <p>{{"Suspension: As mentioned earlier, NeGD reserves the right to temporarily suspend or permanently revoke access to the DigiLocker platform in case of serious non- compliance by the Requester, such as repeated failure in audit,\n                                data breaches, or legal violations." | translate}}</p>\n                        </div>\n                    </ion-card-content>\n\n                    <ion-card-content *ngIf="item.subId == 17" class="staticText">\n                        <div>\n                            <p>\n                                \x3c!-- <h2><strong>Jurisdiction</strong></h2> --\x3e\n                                {{"The Requester may extend DigiLocker integration for use by affiliated departments or agencies only upon prior written approval by NeGD.The Requester shall remain liable for all activities and usage undertaken through its issued APIs or credentials."\n                                | translate}}\n                            </p>\n                        </div>\n                    </ion-card-content>\n\n                    <ion-card-content *ngIf="item.subId == 18" class="staticText">\n                        <div>\n                            <p>\n                                \x3c!-- <h2><strong>Jurisdiction</strong></h2> --\x3e\n                                {{"Requester Organizations must ensure the confidentiality and security of any personal or sensitive data accessed or transmitted through DigiLocker.All data processing must comply with applicable data protection laws as applicable in India.Data must\n                                not be stored or transmitted outside India without authorization." | translate}}\n                            </p>\n                        </div>\n                    </ion-card-content>\n\n                    <ion-card-content *ngIf="item.subId == 19" class="staticText">\n                        <div>\n                            <p>\n                                \x3c!-- <h2><strong>Jurisdiction</strong></h2> --\x3e\n                                {{"DigiLocker, may update these Terms periodically to reflect changes in services, legal requirements, or policies.NeGD reserves the right to revise the Terms at its discretion, with updates notified via the DigiLocker website.Requester\'s are responsible\n                                for reviewing the Terms regularly.Continued use of DigiLocker services implies acceptance of the updated Terms." | translate}}\n                            </p>\n                        </div>\n                    </ion-card-content>\n                </app-expandable>\n            </ion-col>\n        </ion-row>\n    </ion-card-content>\n</ion-card>',styles:[""]})],R);let L=class{constructor(e,t){this.ajax=e,this.router=t,this.getDocTypeTotal=null,this.count=50,this.p=1,this.pk=1,this.p1=1,this.p2=1}ngOnInit(){}searchIssuedDocs(e){let t=e.target.value;this.searchIssued=this.getDocType.filter(e=>{if(null==e.searchKeywords&&(e.searchKeywords=e.name),null!=e.searchKeywords)return(e.masterdoc_id_issuer+" "+e.name+e.totaluricount).toLowerCase().indexOf(t.toLowerCase())>-1}),this.searchIssued.sort((e,t)=>e.totaluricount<t.totaluricount?1:-1)}addCommas(e){let t=String(e);if(t.length<=3)return t;{let e=t.substr(t.length-3),n=t.substr(0,t.length-3);if(""!=n){if("Upcoming"==t){return t}return e=","+e,n.replace(/\B(?=(\d{2})+(?!\d))/g,",")+e}}}};L.ctorParameters=()=>[{type:p.a},{type:h.h}],L.propDecorators={filterIssued:[{type:i.H}],getDocType:[{type:i.H}],allIssued:[{type:i.H}],totalIssuedDocsCountSum:[{type:i.H}]},L=Object(r.c)([Object(i.n)({selector:"app-issued-doc",template:'<ion-card class="ion-no-margin fourthContentDiv">\n    <ion-toolbar>\n        <ion-row class="ion-align-items-center ion-padding">\n            <ion-col size="12" size-md="9">\n                <ion-title color="tertiary" class="ion-text-start">\n                    <strong>{{ "Issued Documents" | translate }}</strong>\n                </ion-title>\n            </ion-col>\n            <ion-col size="12" size-md="3" class="ion-text-start ion-text-md-end">\n                <ion-searchbar [class.force-placeholder-opacity]="router.url.split(\'/\')[2] === \'about-app\'" maxlength="500" (keypress)="ajax.nameNumberValidation($event)" #mainSearchbar class="ion-no-margin ion-text-start ion-
1padding placeholderText" (ionInput)="searchIssuedDocs($event)"\n                    [(ngModel)]="filterIssued" placeholder="{{ \'Search Organization\' | translate }}" animated="true">\n                </ion-searchbar>\n            </ion-col>\n        </ion-row>\n    </ion-toolbar>\n\n    <ion-card-content class="ion-no-margin">\n        <ion-grid>\n            <ion-list>\n                <ion-item lines="full">\n                    <ion-col size-md="9" size="8">\n                        <ion-text class="staticText">\n                            <strong>{{ "Organization Name" | translate }}</strong>\n                        </ion-text>\n                    </ion-col>\n                    \x3c!-- <ion-col size-md="3" size="4">\n                        <ion-text class="staticText">\n                            <strong>{{ "Issued" | translate }}</strong>\n                        </ion-text>\n                    </ion-col> --\x3e\n                </ion-item>\n\n                \x3c!-- Skeleton Loader --\x3e\n                <ng-container *ngIf="!getDocType">\n                    <ion-item *ngFor="let _ of [].constructor(20)" lines="full">\n                        <ion-col size-md="9">\n                            <ion-skeleton-text style="width: 100%; height: 20px;"></ion-skeleton-text>\n                        </ion-col>\n                        <ion-col size-md="3" size="4">\n                            <ion-skeleton-text style="width: 100%; height: 20px;"></ion-skeleton-text>\n                        </ion-col>\n                    </ion-item>\n                </ng-container>\n\n                \x3c!-- Data List --\x3e\n                <ng-container *ngIf="getDocType">\n                    <ion-item *ngFor="let dt of (filterIssued ? searchIssued : getDocType) | paginate: { itemsPerPage: count, currentPage: filterIssued ? pk : p }; let i = index" lines="full">\n                        <ion-col size-md="9" size="8">\n                            <ion-text class="staticText">\n                                <div [innerHTML]="dt.name | translate"></div>\n                            </ion-text>\n                        </ion-col>\n                        \x3c!-- <ion-col size-md="3" size="4">\n                            <ion-text class="staticText">{{ addCommas(dt.totaluricount) }}</ion-text>\n                        </ion-col> --\x3e\n                    </ion-item>\n                </ng-container>\n            </ion-list>\n\n            <div class="ion-text-center">\n                <pagination-controls (pageChange)="filterIssued ? pk = $event : p = $event"></pagination-controls>\n            </div>\n        </ion-grid>\n    </ion-card-content>\n</ion-card>',styles:[".force-placeholder-opacity.sc-ion-searchbar-md-h {\n  --placeholder-opacity: 1 !important;\n}"]})],L);var j=n("oOf3");const F=[v,y,b,w,x,S,E,k,T,P,D,M,N,R,L];let B=class{};B=Object(r.c)([Object(i.M)({declarations:[F],imports:[s.b,o.b,a.d.forRoot(),u.b.forChild(),h.j,j.a],exports:[F],entryComponents:[]})],B)},bC4P:function(e,t,n){"use strict";n.d(t,"a",function(){return r});const r=(e,t,n,r,o)=>s(e[1],t[1],n[1],r[1],o).map(s=>i(e[0],t[0],n[0],r[0],s)),i=(e,t,n,r,i)=>i*(3*t*Math.pow(i-1,2)+i*(-3*n*i+3*n+r*i))-e*Math.pow(i-1,3),s=(e,t,n,r,i)=>o((r-=i)-3*(n-=i)+3*(t-=i)-(e-=i),3*n-6*t+3*e,3*t-3*e,e).filter(e=>e>=0&&e<=1),o=(e,t,n,r)=>{if(0===e)return((e,t,n)=>{const r=t*t-4*e*n;
1return r<0?[]:[(-t+Math.sqrt(r))/(2*e),(-t-Math.sqrt(r))/(2*e)]})(t,n,r);const i=(3*(n/=e)-(t/=e)*t)/3,s=(2*t*t*t-9*t*n+27*(r/=e))/27;if(0===i)return[Math.pow(-s,1/3)];if(0===s)return[Math.sqrt(-i),-Math.sqrt(-i)];const o=Math.pow(s/2,2)+Math.pow(i/3,3);if(0===o)return[Math.pow(s/2,.5)-t/3];if(o>0)return[Math.pow(-s/2+Math.sqrt(o),1/3)-Math.pow(s/2+Math.sqrt(o),1/3)-t/3];const a=Math.sqrt(Math.pow(-i/3,3)),l=Math.acos(-s/(2*Math.sqrt(Math.pow(-i/3,3)))),c=2*Math.pow(a,1/3);return[c*Math.cos(l/3)-t/3,c*Math.cos((l+2*Math.PI)/3)-t/3,c*Math.cos((l+4*Math.PI)/3)-t/3]}},bHdf:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("5+tZ"),i=n("SpAZ");function s(e=Number.POSITIVE_INFINITY){return Object(r.a)(i.a,e)}},bOdf:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("5+tZ");function i(e,t){return Object(r.a)(e,t,1)}},bQjk:function(e,t,n){var r,i,s,o;e.exports=(o=n("Ib8C"),n("OLod"),i=(r=o).lib.CipherParams,s=r.enc.Hex,r.format.Hex={stringify:function(e){return e.ciphertext.toString(s)},parse:function(e){var t=s.parse(e);return i.create({ciphertext:t})}},o.format.Hex)},c2HN:function(e,t,n){"use strict";function r(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}n.d(t,"a",function(){return r})},cp0P:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n("HDdC"),i=n("DH7j"),s=n("lJxs"),o=n("XoHu"),a=n("Cfvw");function l(...e){if(1===e.length){const t=e[0];if(Object(i.a)(t))return c(t,null);if(Object(o.a)(t)&&Object.getPrototypeOf(t)===Object.prototype){const e=Object.keys(t);return c(e.map(e=>t[e]),e)}}if("function"==typeof e[e.length-1]){const t=e.pop();return c(e=1===e.length&&Object(i.a)(e[0])?e[0]:e,null).pipe(Object(s.a)(e=>t(...e)))}return c(e,null)}function c(e,t){return new r.a(n=>{const r=e.length;if(0===r)return void n.complete();const i=new Array(r);let s=0,o=0;for(let l=0;l<r;l++){const c=Object(a.a)(e[l]);let u=!1;n.add(c.subscribe({next:e=>{u||(u=!0,o++),i[l]=e},error:e=>n.error(e),complete:()=>{s++,s!==r&&u||(o===r&&n.next(t?t.reduce((e,t,n)=>(e[t]=i[n],e),{}):i),n.complete())}}))}})}},cv67:function(e,t,n){var r;e.exports=(r=n("Ib8C"),function(e){var t=r,n=t.lib,i=n.WordArray,s=n.Hasher,o=t.algo,a=[];!function(){for(var t=0;t<64;t++)a[t]=4294967296*e.abs(e.sin(t+1))|0}();var l=o.MD5=s.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,i=e[r];e[r]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var s=this._hash.words,o=e[t+0],l=e[t+1],p=e[t+2],f=e[t+3],m=e[t+4],g=e[t+5],v=e[t+6],y=e[t+7],b=e[t+8],w=e[t+9],_=e[t+10],x=e[t+11],C=e[t+12],S=e[t+13],E=e[t+14],A=e[t+15],k=s[0],I=s[1],T=s[2],O=s[3];k=c(k,I,T,O,o,7,a[0]),O=c(O,k,I,T,l,12,a[1]),T=c(T,O,k,I,p,17,a[2]),I=c(I,T,O,k,f,22,a[3]),k=c(k,I,T,O,m,7,a[4]),O=c(O,k,I,T,g,12,a[5]),T=c(T,O,k,I,v,17,a[6]),I=c(I,T,O,k,y,22,a[7]),k=c(k,I,T,O,b,7,a[8]),O=c(O,k,I,T,w,12,a[9]),T=c(T,O,k,I,_,17,a[10]),I=c(I,T,O,k,x,22,a[11]),k=c(k,I,T,O,C,7,a[12]),O=c(O,k,I,T,S,12,a[13]),T=c(T,O,k,I,E,17,a[14]),k=u(k,I=c(I,T,O,k,A,22,a[15]),T,O,l,5,a[16]),O=u(O,k,I,T,v,9,a[17]),T=u(T,O,k,I,x,14,a[18]),I=u(I,T,O,k,o,20,a[19]),k=u(k,I,T,O,g,5,a[20]),O=u(O,k,I,T,_,9,a[21]),T=u(T,O,k,I,A,14,a[22]),I=u(
1I,T,O,k,m,20,a[23]),k=u(k,I,T,O,w,5,a[24]),O=u(O,k,I,T,E,9,a[25]),T=u(T,O,k,I,f,14,a[26]),I=u(I,T,O,k,b,20,a[27]),k=u(k,I,T,O,S,5,a[28]),O=u(O,k,I,T,p,9,a[29]),T=u(T,O,k,I,y,14,a[30]),k=h(k,I=u(I,T,O,k,C,20,a[31]),T,O,g,4,a[32]),O=h(O,k,I,T,b,11,a[33]),T=h(T,O,k,I,x,16,a[34]),I=h(I,T,O,k,E,23,a[35]),k=h(k,I,T,O,l,4,a[36]),O=h(O,k,I,T,m,11,a[37]),T=h(T,O,k,I,y,16,a[38]),I=h(I,T,O,k,_,23,a[39]),k=h(k,I,T,O,S,4,a[40]),O=h(O,k,I,T,o,11,a[41]),T=h(T,O,k,I,f,16,a[42]),I=h(I,T,O,k,v,23,a[43]),k=h(k,I,T,O,w,4,a[44]),O=h(O,k,I,T,C,11,a[45]),T=h(T,O,k,I,A,16,a[46]),k=d(k,I=h(I,T,O,k,p,23,a[47]),T,O,o,6,a[48]),O=d(O,k,I,T,y,10,a[49]),T=d(T,O,k,I,E,15,a[50]),I=d(I,T,O,k,g,21,a[51]),k=d(k,I,T,O,C,6,a[52]),O=d(O,k,I,T,f,10,a[53]),T=d(T,O,k,I,_,15,a[54]),I=d(I,T,O,k,l,21,a[55]),k=d(k,I,T,O,b,6,a[56]),O=d(O,k,I,T,A,10,a[57]),T=d(T,O,k,I,v,15,a[58]),I=d(I,T,O,k,S,21,a[59]),k=d(k,I,T,O,m,6,a[60]),O=d(O,k,I,T,x,10,a[61]),T=d(T,O,k,I,p,15,a[62]),I=d(I,T,O,k,w,21,a[63]),s[0]=s[0]+k|0,s[1]=s[1]+I|0,s[2]=s[2]+T|0,s[3]=s[3]+O|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;n[i>>>5]|=128<<24-i%32;var s=e.floor(r/4294967296),o=r;n[15+(i+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),n[14+(i+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),t.sigBytes=4*(n.length+1),this._process();for(var a=this._hash,l=a.words,c=0;c<4;c++){var u=l[c];l[c]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return a},clone:function(){var e=s.clone.call(this);return e._hash=this._hash.clone(),e}});function c(e,t,n,r,i,s,o){var a=e+(t&n|~t&r)+i+o;return(a<<s|a>>>32-s)+t}function u(e,t,n,r,i,s,o){var a=e+(t&r|n&~r)+i+o;return(a<<s|a>>>32-s)+t}function h(e,t,n,r,i,s,o){var a=e+(t^n^r)+i+o;return(a<<s|a>>>32-s)+t}function d(e,t,n,r,i,s,o){var a=e+(n^(t|~r))+i+o;return(a<<s|a>>>32-s)+t}t.MD5=s._createHelper(l),t.HmacMD5=s._createHmacHelper(l)}(Math),r.MD5)},e7zE:function(e,t,n){var r,i,s,o,a,l,c,u,h;e.exports=(h=n("Ib8C"),n("lPiR"),n("WYAk"),i=(r=h).lib,s=i.Base,o=i.WordArray,a=r.algo,l=a.SHA256,c=a.HMAC,u=a.PBKDF2=s.extend({cfg:s.extend({keySize:4,hasher:l,iterations:25e4}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n=this.cfg,r=c.create(n.hasher,e),i=o.create(),s=o.create([1]),a=i.words,l=s.words,u=n.keySize,h=n.iterations;a.length<u;){var d=r.update(t).finalize(s);r.reset();for(var p=d.words,f=p.length,m=d,g=1;g<h;g++){m=r.finalize(m),r.reset();for(var v=m.words,y=0;y<f;y++)p[y]^=v[y]}i.concat(d),l[0]++}return i.sigBytes=4*u,i}}),r.PBKDF2=function(e,t,n){return u.create(n).compute(e,t)},h.PBKDF2)},eIep:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("lJxs"),i=n("Cfvw"),s=n("zx2A");function o(e,t){return"function"==typeof t?n=>n.pipe(o((n,s)=>Object(i.a)(e(n,s)).pipe(Object(r.a)((e,r)=>t(n,e,s,r))))):t=>t.lift(new a(e))}class a{constructor(e){this.project=e}call(e,t){return t.subscribe(new l(e,this.project))}}class l extends s.b{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this._innerSub(t)}_innerSub(e){const t=this.innerSubscription;t&&t.unsubscribe();const n=new s.a(this),r=this.destination;r.add(n),this.innerSubscription=Object(s.c)(e,n),this.innerSubscription!==n&&r.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;e&&!e.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(e){this.destination.next(e)}}},f9PN:function(e,t,n){"use strict";n.d(t,"a",function(){return R}),n.d(t,"b",function(){return c}),n.d(t,"c",function(){return u}),n.d(t,"d",function(){return f}),n.d(t,"e",function(){return E}),n.d(t,"f",function(){return g}),n.d(t,"g",function(){return k}),n.d(t,"h",function(){return O}),n.d(t,"i",function(){return a}),n.d(t,"j",function(){return P}),n.d(t,"k",function(){return h}),n.d(t,"l",function(){return d}),n.d(t,"m",function(){return p}),n.d(t,"n",function(){return N}),n.d(t,"o",function(){return m});var r=n("E/Mt"),i=n("B4Jq"),s=n("W6o/");let o=0;const a=new WeakMap,l=e=>({create:t=>v(e,t),dismiss:(t,n,r)=>x(document,t,n,e,r),getTop:async()=>C(document,e)}),c=l("ion-alert"),u=l("ion-action-sheet"),h=l("ion-loading"),d=l("ion-modal"),p=l("ion-
1picker"),f=l("ion-popover"),m=l("ion-toast"),g=e=>{"undefined"!=typeof document&&_(document);const t=o++;e.overlayIndex=t,e.hasAttribute("id")||(e.id=`ion-overlay-${t}`)},v=(e,t)=>"undefined"!=typeof customElements?customElements.whenDefined(e).then(()=>{const n=document.createElement(e);return n.classList.add("overlay-hidden"),Object.assign(n,t),I(document).appendChild(n),new Promise(e=>Object(s.c)(n,e))}):Promise.resolve(),y='[tabindex]:not([tabindex^="-"]), input:not([type=hidden]):not([tabindex^="-"]), textarea:not([tabindex^="-"]), button:not([tabindex^="-"]), select:not([tabindex^="-"]), .ion-focusable:not([tabindex^="-"])',b="input:not([type=hidden]), textarea, button, select",w=(e,t)=>{const n=C(t),r=e.target;if(n&&r)if(n===r)n.lastFocus=void 0;else{const e=Object(s.g)(n);if(!e.contains(r))return;const i=e.querySelector(".ion-overlay-wrapper");if(!i)return;if(i.contains(r))n.lastFocus=r;else{const e=n.lastFocus;((e,t)=>{let n=e.querySelector(y);const r=n&&n.shadowRoot;r&&(n=r.querySelector(b)||n),n?n.focus():t.focus()})(i,n),e===t.activeElement&&((e,t)=>{const n=Array.from(e.querySelectorAll(y));let r=n.length>0?n[n.length-1]:null;const i=r&&r.shadowRoot;i&&(r=i.querySelector(b)||r),r?r.focus():t.focus()})(i,n),n.lastFocus=t.activeElement}}},_=e=>{0===o&&(o=1,e.addEventListener("focus",t=>w(t,e),!0),e.addEventListener("ionBackButton",t=>{const n=C(e);n&&n.backdropDismiss&&t.detail.register(i.OVERLAY_BACK_BUTTON_PRIORITY,()=>n.dismiss(void 0,R))}),e.addEventListener("keyup",t=>{if("Escape"===t.key){const t=C(e);t&&t.backdropDismiss&&t.dismiss(void 0,R)}}))},x=(e,t,n,r,i)=>{const s=C(e,r,i);return s?s.dismiss(t,n):Promise.reject("overlay does not exist")},C=(e,t,n)=>{const r=((e,t)=>(void 0===t&&(t="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"),Array.from(e.querySelectorAll(t)).filter(e=>e.overlayIndex>0)))(e,t);return void 0===n?r[r.length-1]:r.find(e=>e.id===n)},S=(e=!1)=>{const t=I(document).querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");t&&(e?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden"))},E=async(e,t,n,i,s)=>{if(e.presented)return;S(!0),e.presented=!0,e.willPresent.emit();const o=Object(r.b)(e),a=e.enterAnimation?e.enterAnimation:r.c.get(t,"ios"===o?n:i);await T(e,a,e.el,s)&&e.didPresent.emit(),"ION-TOAST"!==e.el.tagName&&A(e.el),e.keyboardClose&&e.el.focus()},A=async e=>{let t=document.activeElement;if(!t)return;const n=t&&t.shadowRoot;n&&(t=n.querySelector(b)||t),await e.onDidDismiss(),t.focus()},k=async(e,t,n,i,s,o,l)=>{if(!e.presented)return!1;S(!1),e.presented=!1;try{e.el.style.setProperty("pointer-events","none"),e.willDismiss.emit({data:t,role:n});const c=Object(r.b)(e),u=e.leaveAnimation?e.leaveAnimation:r.c.get(i,"ios"===c?s:o);"gesture"!==n&&await T(e,u,e.el,l),e.didDismiss.emit({data:t,role:n}),a.delete(e)}catch(c){console.error(c)}return e.el.remove(),!0},I=e=>e.querySelector("ion-app")||e.body,T=async(e,t,n,i)=>{n.classList.remove("overlay-hidden");const s=t(n.shadowRoot||e.el,i);e.animated&&r.c.getBoolean("animated",!0)||s.duration(0),e.keyboardClose&&s.beforeAddWrite(()=>{const e=n.ownerDocument.activeElement;e&&e.matches("input, ion-input, ion-textarea")&&e.blur()});const o=a.get(e)||[];return a.set(e,[...o,s]),await s.play(),!0},O=(e,t)=>{let n;const r=new Promise(e=>n=e);return D(e,t,e=>{n(e.detail)}),r},D=(e,t,n)=>{const r=i=>{Object(s.b)(e,t,r),n(i)};Object(s.a)(e,t,r)},P=e=>"cancel"===e||e===R,M=e=>e(),N=(e,t)=>{if("function"==typeof e){return r.c.get("_zoneGate",M)(()=>{try{return e(t)}catch(n){console.error(n)}})}},R="backdrop"},fXoL:function(e,t,n){"use strict";n.d(t,"a",function(){return Fn}),n.d(t,"b",function(){return Cv}),n.d(t,"c",function(){return yv}),n.d(t,"d",function(){return gv}),n.d(t,"e",function(){return vv}),n.d(t,"f",function(){return zy}),n.d(t,"g",function(){return fy}),n.d(t,"h",function(){return Ln}),n.d(t,"i",function(){return Bv}),n.d(t,"j",function(){return $}),n.d(t,"k",function(){return fp}),n.d(t,"l",function(){return Fv}),n.d(t,"m",function(){return $v}),n.d(t,"n",function(){return sv}),n.d(t,"o",function(){return Md}),n.d(t,"p",function(){return Ld}),n.d(t,"q",function(){return Pd}),n.d(t,"r",function(){return Vn}),n.d(t,"s",function(){return $n}),n.d(t,"t",function(){return kv}),n.d(t,"u",function(){return iv}),n.d(t,"v",function(){return Ud}),n.d(t,"w",function(){return Ki}),n.d(t,"x",function(){return ug}),n.d(t,"y",function(){return Tr}),n.d(t,"z",function(){return cv}),n.d(t,"A",function(){return uv}),n.d(t,"B",function(){return ya}),n.d(t,"C",function(){return Er}),n.d(t,"D",function(){return R}),n.d(t,"E",function(){return $l}),n.d(t,"F",function(){return jn}),n.d(t,"G",function(){return Na}),n.d(t,"H",function(){return av}),n.d(t,"I",function(){return ap}),n.d(t,"J",function(){return cp}),n.d(t,"K",function(){return Av}),n.d(t,"L",function(){return Ov}),n.d(t,"M",function(){return fv}),n.d(t,"N",function(){return Ap}),n.d(t,"O",function(){return vy}),n.d(t,"P",function(){return Ep}),n.d(t,"Q",function(){return cy}),n.d(t,"R",function(){return zv}),n.d(t,"S",function(){return Ar}),n.d(t,"T",function(){return lv}),n.d(t,"U",function(){return Sv}),n.d(t,"V",function(){return xv}),n.d(t,"W",function(){return _v}),n.d(t,"X",function(){return ov}),n.d(t,"Y",function(){return dg}),n.d(t,"Z",function(){return qd}),n.d(t,"ab",function(){return Hd}),n.d(t,"bb",function(){return ms}),n.d(t,"cb",function(){return Wd}),n.d(t,"db",function(){return Li}
1),n.d(t,"eb",function(){return kr}),n.d(t,"fb",function(){return Ir}),n.d(t,"gb",function(){return wy}),n.d(t,"hb",function(){return Iv}),n.d(t,"ib",function(){return Tv}),n.d(t,"jb",function(){return _p}),n.d(t,"kb",function(){return Xv}),n.d(t,"lb",function(){return Wn}),n.d(t,"mb",function(){return Qd}),n.d(t,"nb",function(){return Un}),n.d(t,"ob",function(){return Ip}),n.d(t,"pb",function(){return U}),n.d(t,"qb",function(){return uy}),n.d(t,"rb",function(){return A}),n.d(t,"sb",function(){return iy}),n.d(t,"tb",function(){return p}),n.d(t,"ub",function(){return wr}),n.d(t,"vb",function(){return ry}),n.d(t,"wb",function(){return Vy}),n.d(t,"xb",function(){return Zv}),n.d(t,"yb",function(){return jd}),n.d(t,"zb",function(){return Ev}),n.d(t,"Ab",function(){return If}),n.d(t,"Bb",function(){return Tf}),n.d(t,"Cb",function(){return wa}),n.d(t,"Db",function(){return ph}),n.d(t,"Eb",function(){return lr}),n.d(t,"Fb",function(){return g}),n.d(t,"Gb",function(){return Ni}),n.d(t,"Hb",function(){return di}),n.d(t,"Ib",function(){return ei}),n.d(t,"Jb",function(){return Hy}),n.d(t,"Kb",function(){return ni}),n.d(t,"Lb",function(){return oi}),n.d(t,"Mb",function(){return ii}),n.d(t,"Nb",function(){return ri}),n.d(t,"Ob",function(){return si}),n.d(t,"Pb",function(){return zf}),n.d(t,"Qb",function(){return gw}),n.d(t,"Rb",function(){return Yp}),n.d(t,"Sb",function(){return um}),n.d(t,"Tb",function(){return qy}),n.d(t,"Ub",function(){return ch}),n.d(t,"Vb",function(){return By}),n.d(t,"Wb",function(){return uh}),n.d(t,"Xb",function(){return hh}),n.d(t,"Yb",function(){return ti}),n.d(t,"Zb",function(){return W}),n.d(t,"ac",function(){return Af}),n.d(t,"bc",function(){return Ef}),n.d(t,"cc",function(){return ol}),n.d(t,"dc",function(){return Sc}),n.d(t,"ec",function(){return xc}),n.d(t,"fc",function(){return Cc}),n.d(t,"gc",function(){return Rf}),n.d(t,"hc",function(){return Nf}),n.d(t,"ic",function(){return tb}),n.d(t,"jc",function(){return em}),n.d(t,"kc",function(){return ib}),n.d(t,"lc",function(){return hm}),n.d(t,"mc",function(){return sb}),n.d(t,"nc",function(){return rb}),n.d(t,"oc",function(){return dm}),n.d(t,"pc",function(){return Xy}),n.d(t,"qc",function(){return lh}),n.d(t,"rc",function(){return Nm}),n.d(t,"sc",function(){return Pm}),n.d(t,"tc",function(){return Be}),n.d(t,"uc",function(){return u}),n.d(t,"vc",function(){return ab}),n.d(t,"wc",function(){return Qp}),n.d(t,"xc",function(){return Jr}),n.d(t,"yc",function(){return ub}),n.d(t,"zc",function(){return Qa}),n.d(t,"Ac",function(){return Te}),n.d(t,"Bc",function(){return Dd}),n.d(t,"Cc",function(){return po}),n.d(t,"Dc",function(){return fl}),n.d(t,"Ec",function(){return ru}),n.d(t,"Fc",function(){return Sg}),n.d(t,"Gc",function(){return se}),n.d(t,"Hc",function(){return pe}),n.d(t,"Ic",function(){return E}),n.d(t,"Jc",function(){return k}),n.d(t,"Kc",function(){return ue}),n.d(t,"Lc",function(){return fe}),n.d(t,"Mc",function(){return uc}),n.d(t,"Nc",function(){return vc}),n.d(t,"Oc",function(){return bc}),n.d(t,"Pc",function(){return yc}),n.d(t,"Qc",function(){return gc}),n.d(t,"Rc",function(){return mc}),n.d(t,"Sc",function(){return _c}),n.d(t,"Tc",function(){return An}),n.d(t,"Uc",function(){return rh}),n.d(t,"Vc",function(){return yr}),n.d(t,"Wc",function(){return In}),n.d(t,"Xc",function(){return Og}),n.d(t,"Yc",function(){return hc}),n.d(t,"Zc",function(){return Ec}),n.d(t,"ad",function(){return Eg}),n.d(t,"bd",function(){return Oc}),n.d(t,"cd",function(){return eg}),n.d(t,"dd",function(){return ng}),n.d(t,"ed",function(){return Mc}),n.d(t,"fd",function(){return Pc}),n.d(t,"gd",function(){return dc}),n.d(t,"hd",function(){return xg}),n.d(t,"id",function(){return Nl}),n.d(t,"jd",function(){return hs}),n.d(t,"kd",function(){return us}),n.d(t,"ld",function(){return ct}),n.d(t,"md",function(){return Bi}),n.d(t,"nd",function(){return he}),n.d(t,"od",function(){return nu}),n.d(t,"pd",function(){return Ml}),n.d(t,"qd",function(){return bu}),n.d(t,"rd",function(){return wu}),n.d(t,"sd",function(){return _u}),n.d(t,"td",function(){return xu}),n.d(t,"ud",function(){return Cg});var r=n("XNiG"),i=n("quSY"),s=n("HDdC"),o=n("VRyK"),a=n("w1tV");function l(e){for(let t in e)if(e[t]===l)return t;throw Error("Could not find renamed property on target object.")}function c(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function u(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(u).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function h(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const d=l({__forward_ref__:l});function p(e){return e.__forward_ref__=p,e.toString=function(){return u(this())},e}function f(e){return m(e)?e():e}function m(e){return"function"==typeof e&&e.hasOwnProperty(d)&&e.__forward_ref__===p}
1class g extends Error{constructor(e,t){super(v(e,t)),this.code=e}}new Set(["100","200","201","300","301","302"]);function v(e,t){let n=`${e?`NG0${e}: `:""}${t}`;return n}function y(e){return"string"==typeof e?e:null==e?"":String(e)}function b(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():y(e)}function w(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new g("200",`Circular dependency in DI detected for ${e}${n}`)}function _(e,t){const n=t?` in ${t}`:"";throw new g("201",`No provider for ${b(e)} found${n}`)}function x(e,t,n){e!=t&&S(n,e,t,"==")}function C(e,t){null==e&&S(t,e,null,"!=")}function S(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function E(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const A=E;function k(e){return{providers:e.providers||[],imports:e.imports||[]}}function I(e){return T(e,D)||T(e,M)}function T(e,t){return e.hasOwnProperty(t)?e[t]:null}function O(e){return e&&(e.hasOwnProperty(P)||e.hasOwnProperty(N))?e[P]:null}const D=l({"\u0275prov":l}),P=l({"\u0275inj":l}),M=l({ngInjectableDef:l}),N=l({ngInjectorDef:l});var R;let L;function j(e){const t=L;return L=e,t}function F(e,t,n){const r=I(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&R.Optional?null:void 0!==t?t:void _(u(e),"Injector")}function B(e){return{toString:e}.toString()}var $,V,U;!function(e){e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional"}(R||(R={})),function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"}($||($={})),function(e){e[e.CheckOnce=0]="CheckOnce",e[e.Checked=1]="Checked",e[e.CheckAlways=2]="CheckAlways",e[e.Detached=3]="Detached",e[e.Errored=4]="Errored",e[e.Destroyed=5]="Destroyed"}(V||(V={})),function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(U||(U={}));const z="undefined"!=typeof globalThis&&globalThis,H="undefined"!=typeof window&&window,q="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,G="undefined"!=typeof global&&global,W=z||G||H||q;const Q={},K=[];const X=[];const Y=l({"\u0275cmp":l}),Z=l({"\u0275dir":l}),J=l({"\u0275pipe":l}),ee=l({"\u0275mod":l}),te=l({"\u0275loc":l}),ne=l({"\u0275fac":l}),re=l({__NG_ELEMENT_ID__:l});let ie=0;function se(e){return B(()=>{const t={},n={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===$.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||X,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||U.Emulated,id:"c",styles:e.styles||X,_:null,setInput:null,schemas:e.schemas||null,tView:null},r=e.directives,i=e.features,s=e.pipes;return n.id+=ie++,n.inputs=de(e.inputs,t),n.outputs=de(e.outputs),i&&i.forEach(e=>e(n)),n.directiveDefs=r?()=>("function"==typeof r?r():r).map(ae):null,n.pipeDefs=s?()=>("function"==typeof s?s():s).map(le):null,n})}function oe(e,t,n){const r=e.\u0275cmp;r.directiveDefs=()=>t.map(ae),r.pipeDefs=()=>n.map(le)}function ae(e){const t=me(e)||ge(e);return t}function le(e){const t=ve(e);return t}const ce={};function ue(e){const t={type:e.type,bootstrap:e.bootstrap||X,declarations:e.declarations||X,imports:e.imports||X,exports:e.exports||X,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&B(()=>{ce[e.id]=e.type}),t}function he(e,t){return B(()=>{const n=ye(e,!0);n.declarations=t.declarations||X,n.imports=t.imports||X,n.exports=t.exports||X})}function de(e,t){if(null==e)return Q;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],s=i;Array.isArray(i)&&(s=i[1],i=i[0]),n[i]=r,t&&(t[i]=s)}return n}const pe=se;function fe(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function me(e){return e[Y]||null}function ge(e){return e[Z]||null}function ve(e){return e[J]||null}function ye(e,t){const n=e[ee]||null;if(!n&&!0===t)throw new Error(`Type ${u(e)} does not have '\u0275mod' property.`);return n}const be=20,we=10;function _e(e){return Array.isArray(e)&&"object"==typeof e[1]}function xe(e){return Array.isArray(e)&&!0===e[1]}function Ce(e){return 0!=(8&e.flags)}function Se(e){return 2==(2&e.flags)}function Ee(e){return 1==(1&e.flags)}function Ae(e){return null!==e.template}function ke(e,t){const n=e.hasOwnProperty(ne);return n?e[ne]:null}class Ie{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}function Te(){return Oe}function Oe(e){return e.type.prototype.ngOnChanges&&(e.setInput=Pe),De}function De(){const e=Me(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===Q)e.previous=t;else for(let e in t)n[e]=t[e];e.current=null,this.ngOnChanges(t)}}function Pe(e,t,n,r){const i=Me(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:Q,current:null}
1),s=i.current||(i.current={}),o=i.previous,a=this.declaredInputs[n],l=o[a];s[a]=new Ie(l&&l.currentValue,t,o===Q),e[r]=t}Te.ngInherit=!0;function Me(e){return e.__ngSimpleChanges__||null}let Ne=null;const Re=function(e,t,n){null!=Ne&&Ne(e,t,n)},Le="http://www.w3.org/2000/svg",je="http://www.w3.org/1998/MathML/";let Fe;function Be(e){Fe=e}function $e(){return void 0!==Fe?Fe:"undefined"!=typeof document?document:void 0}var Ve;function Ue(e){return!!e.listen}!function(e){e[e.Important=1]="Important",e[e.DashCase=2]="DashCase"}(Ve||(Ve={}));const ze={createRenderer:(e,t)=>$e()};function He(e){for(;Array.isArray(e);)e=e[0];return e}function qe(e,t){return He(t[e])}function Ge(e,t){const n=He(t[e.index]);return n}function We(e,t){const n=e.data[t];return n}function Qe(e,t){return e[t]}function Ke(e,t){const n=t[e];return _e(n)?n:n[0]}function Xe(e){return e.__ngContext__||null}function Ye(e){const t=Xe(e);return t?Array.isArray(t)?t:t.lView:null}function Ze(e){return 4==(4&e[2])}function Je(e){return 128==(128&e[2])}function et(e,t){return null==t?null:e[t]}function tt(e){e[18]=0}function nt(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const rt={lFrame:Mt(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function it(){return rt.bindingsEnabled}function st(){rt.bindingsEnabled=!0}function ot(){rt.bindingsEnabled=!1}function at(){return rt.lFrame.lView}function lt(){return rt.lFrame.tView}function ct(e){rt.lFrame.contextLView=e}
1function ut(){let e=ht();for(;null!==e&&64===e.type;)e=e.parent;return e}function ht(){return rt.lFrame.currentTNode}function dt(){const e=rt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function pt(e,t){const n=rt.lFrame;n.currentTNode=e,n.isParent=t}function ft(){return rt.lFrame.isParent}function mt(){rt.lFrame.isParent=!1}function gt(){return rt.isInCheckNoChangesMode}function vt(e){rt.isInCheckNoChangesMode=e}function yt(){const e=rt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function bt(){return rt.lFrame.bindingIndex}function wt(e){return rt.lFrame.bindingIndex=e}function _t(){return rt.lFrame.bindingIndex++}function xt(e){const t=rt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Ct(e){rt.lFrame.inI18n=e}function St(e,t){const n=rt.lFrame;n.bindingIndex=n.bindingRootIndex=e,Et(t)}function Et(e){rt.lFrame.currentDirectiveIndex=e}function At(e){const t=rt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function kt(){return rt.lFrame.currentQueryIndex}function It(e){rt.lFrame.currentQueryIndex=e}function Tt(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Ot(e,t,n){if(n&R.SkipSelf){let r=t,i=e;for(;!(r=r.parent,null!==r||n&R.Host||(r=Tt(i),null===r)||(i=i[15],10&r.type)););if(null===r)return!1;t=r,e=i}const r=rt.lFrame=Pt();return r.currentTNode=t,r.lView=e,!0}function Dt(e){const t=Pt();const n=e[1];rt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Pt(){const e=rt.lFrame,t=null===e?null:e.child;return null===t?Mt(e):t}function Mt(e){const t={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:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Nt(){const e=rt.lFrame;return rt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Rt=Nt;function Lt(){const e=Nt();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function jt(e){return(rt.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,rt.lFrame.contextLView))[8]}function Ft(){return rt.lFrame.selectedIndex}function Bt(e){rt.lFrame.selectedIndex=e}function $t(){const e=rt.lFrame;return We(e.tView,e.selectedIndex)}function Vt(){rt.lFrame.currentNamespace=Le}function Ut(){rt.lFrame.currentNamespace=je}function zt(){rt.lFrame.currentNamespace=null}function Ht(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const t=e.data[n],r=t.type.prototype,{ngAfterContentInit:i,ngAfterContentChecked:s,ngAfterViewInit:o,ngAfterViewChecked:a,ngOnDestroy:l}=r;i&&(e.contentHooks||(e.contentHooks=[])).push(-n,i),s&&((e.contentHooks||(e.contentHooks=[])).push(n,s),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,s)),o&&(e.viewHooks||(e.viewHooks=[])).push(-n,o),a&&((e.viewHooks||(e.viewHooks=[])).push(n,a),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,a)),null!=l&&(e.destroyHooks||(e.destroyHooks=[])).push(n,l)}}function qt(e,t,n){Qt(e,t,3,n)}function Gt(e,t,n,r){(3&e[2])===n&&Qt(e,t,n,r)}function Wt(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Qt(e,t,n,r){const i=void 0!==r?65535&e[18]:0,s=null!=r?r:-1,o=t.length-1;let a=0;for(let l=i;l<o;l++){if("number"==typeof t[l+1]){if(a=t[l],null!=r&&a>=r)break}else{t[l]<0&&(e[18]+=65536),(a<s||-1==s)&&(Kt(e,n,t,l),e[18]=(4294901760&e[18])+l+2),l++}}}function Kt(e,t,n,r){const i=n[r]<0,s=n[r+1],o=e[i?-n[r]:n[r]];if(i){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048,Re(4,o,s);try{s.call(o)}finally{Re(5,o,s)}}}else{Re(4,o,s);try{s.call(o)}finally{Re(5,o,s)}}}const Xt=-1;class Yt{constructor(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}}function Zt(e,t,n){const r=Ue(e);let i=0;for(;i<n.length;){const s=n[i];if("number"==typeof s){if(0!==s)break;i++;const o=n[i++],a=n[i++],l=n[i++];r?e.setAttribute(t,a,l,o):t.setAttributeNS(o,a,l)}else{const o=s,a=n[++i];en(o)?r&&e.setProperty(t,o,a):r?e.setAttribute(t,o,a):t.setAttribute(o,a),i++}}return i}function Jt(e){return 3===e||4===e||6===e}function en(e){return 64===e.charCodeAt(0)}function tn(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||nn(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function nn(e,t,n,r,i){let s=0,o=e.length;if(-1===t)o=-1;else for(;s<e.length;){const n=e[s++];if("number"==typeof n){if(n===t){o=-1;break}if(n>t){o=s-1;break}}}for(;s<e.length;){const t=e[s];if("number"==typeof t)break;if(t===n){if(null===r)return void(null!==i&&(e[s+1]=i));if(r===e[s+1])return void(e[s+2]=i)}s++,null!==r&&s++,null!==i&&s++}
1-1!==o&&(e.splice(o,0,t),s=o+1),e.splice(s++,0,n),null!==r&&e.splice(s++,0,r),null!==i&&e.splice(s++,0,i)}function rn(e){return e!==Xt}function sn(e){return 32767&e}function on(e,t){let n=e>>16;let r=t;for(;n>0;)r=r[15],n--;return r}let an=!0;function ln(e){const t=an;return an=e,t}let cn=0;function un(e,t){const n=dn(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,hn(r.data,e),hn(t,null),hn(r.blueprint,null));const i=pn(e,t),s=e.injectorIndex;if(rn(i)){const e=sn(i),n=on(i,t),r=n[1].data;for(let i=0;i<8;i++)t[s+i]=n[e+i]|r[e+i]}return t[s+8]=i,s}function hn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function dn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function pn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){const e=i[1],t=e.type;if(r=2===t?e.declTNode:1===t?i[6]:null,null===r)return Xt;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Xt}function fn(e,t,n){!function(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(re)&&(r=n[re]),null==r&&(r=n[re]=cn++);const i=255&r,s=1<<i;t.data[e+(i>>5)]|=s}(e,t,n)}function mn(e,t,n){if(n&R.Optional)return e;_(t,"NodeInjector")}function gn(e,t,n,r){if(n&R.Optional&&void 0===r&&(r=null),0==(n&(R.Self|R.Host))){const i=e[9],s=j(void 0);try{return i?i.get(t,r,n&R.Optional):F(t,r,n&R.Optional)}finally{j(s)}}return mn(r,t,n)}function vn(e,t,n,r=R.Default,i){if(null!==e){const s=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(re)?e[re]:void 0;return"number"==typeof t?t>=0?255&t:bn:t}(n);if("function"==typeof s){if(!Ot(t,e,r))return r&R.Host?mn(i,n,r):gn(t,n,r,i);try{const e=s();if(null!=e||r&R.Optional)return e;_(n)}finally{Rt()}}else if("number"==typeof s){let i=null,o=dn(e,t),a=Xt,l=r&R.Host?t[16][6]:null;for((-1===o||r&R.SkipSelf)&&(a=-1===o?pn(e,t):t[o+8],a!==Xt&&Sn(r,!1)?(i=t[1],o=sn(a),t=on(a,t)):o=-1);-1!==o;){const e=t[1];if(Cn(s,o,e.data)){const e=wn(o,t,n,i,r,l);if(e!==yn)return e}a=t[o+8],a!==Xt&&Sn(r,t[1].data[o+8]===l)&&Cn(s,o,t)?(i=e,o=sn(a),t=on(a,t)):o=-1}}}return gn(t,n,r,i)}const yn={};function bn(){return new En(ut(),at())}function wn(e,t,n,r,i,s){const o=t[1],a=o.data[e+8],l=_n(a,o,n,null==r?Se(a)&&an:r!=o&&0!=(3&a.type),i&R.Host&&s===a);return null!==l?xn(t,o,l,a):yn}function _n(e,t,n,r,i){const s=e.providerIndexes,o=t.data,a=1048575&s,l=e.directiveStart,c=e.directiveEnd,u=s>>20,h=i?a+u:c;for(let d=r?a:a+u;d<h;d++){const e=o[d];if(d<l&&n===e||d>=l&&e.type===n)return d}if(i){const e=o[l];if(e&&Ae(e)&&e.type===n)return l}return null}function xn(e,t,n,r){let i=e[n];const s=t.data;if(i instanceof Yt){const o=i;o.resolving&&w(b(s[n]));const a=ln(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?j(o.injectImpl):null;Ot(e,r,R.Default);try{i=e[n]=o.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=t.type.prototype;if(r){const r=Oe(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,r)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s))}(n,s[n],t)}finally{null!==l&&j(l),ln(a),o.resolving=!1,Rt()}}return i}function Cn(e,t,n){const r=1<<e;return!!(n[t+(e>>5)]&r)}function Sn(e,t){return!(e&R.Self||e&R.Host&&t)}class En{constructor(e,t){this._tNode=e,this._lView=t}get(e,t){return vn(this._tNode,this._lView,e,void 0,t)}}function An(e){return B(()=>{const t=e.prototype.constructor,n=t[ne]||kn(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const e=i[ne]||kn(i);if(e&&e!==n)return e;i=Object.getPrototypeOf(i)}return e=>new e})}function kn(e){return m(e)?()=>{const t=kn(f(e));return t&&t()}:ke(e)}function In(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const e=n.length;let r=0;for(;r<e;){const i=n[r];if(Jt(i))break;if(0===i)r+=2;else if("number"==typeof i)for(r++;r<e&&"string"==typeof n[r];)r++;else{if(i===t)return n[r+1];r+=2}}}return null}(ut(),e)}const Tn="__annotations__",On="__parameters__",Dn="__prop__metadata__";function Pn(e,t,n,r,i){return B(()=>{const s=Mn(t);function o(...e){if(this instanceof o)return s.call(this,...e),this;const t=new o(...e);return function(n){i&&i(n,...e);return(n.hasOwnProperty(Tn)?n[Tn]:Object.defineProperty(n,Tn,{value:[]})[Tn]).push(t),r&&r(n),n}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function Mn(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}function Nn(e,t,n){return B(()=>{const r=Mn(t);function i(...e){if(this instanceof i)return r.apply(this,e),this;const t=new i(...e);return n.annotation=t,n;function n(e,n,r){const i=e.hasOwnProperty(On)?e[On]:Object.defineProperty(e,On,{value:[]})[On];for(;i.length<=r;)i.push(null);return(i[r]=i[r]||[]).push(t),e}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}function Rn(e,t,n,r){return B(()=>{const i=Mn(t);function s(...e){if(this instanceof s)return i.apply(this,e),this;const t=new s(...e);return function(n,i){const s=n.constructor,o=s.hasOwnProperty(Dn)?s[Dn]:Object.defineProperty(s,Dn,{value:{}})[Dn];o[i]=o.hasOwnProperty(i)&&o[i]||[],o[i].unshift(t),r&&r(n,i,...e)}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}const Ln=function(){return Nn("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>In(e)}))}();
1class jn{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=E({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Fn=new jn("AnalyzeForEntryComponents");class Bn{}const $n=Rn("ContentChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:false},t),Bn),Vn=Rn("ContentChild",(e,t={})=>Object.assign({selector:e,first:!0,isViewQuery:!1,descendants:!0},t),Bn),Un=(Rn("ViewChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:false},t),Bn),Rn("ViewChild",(e,t)=>Object.assign({selector:e,first:!0,isViewQuery:!0,descendants:!0},t),Bn));var zn,Hn,qn;function Gn(){const e=W.ng;if(!e||!e.\u0275compilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n  - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n  - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n  - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return e.\u0275compilerFacade}!function(e){e[e.Token=0]="Token",e[e.Attribute=1]="Attribute",e[e.ChangeDetectorRef=2]="ChangeDetectorRef",e[e.Invalid=3]="Invalid"}(zn||(zn={})),function(e){e[e.Directive=0]="Directive",e[e.Component=1]="Component",e[e.Injectable=2]="Injectable",e[e.Pipe=3]="Pipe",e[e.NgModule=4]="NgModule"}(Hn||(Hn={})),function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(qn||(qn={}));const Wn=Function;function Qn(e){return"function"==typeof e}function Kn(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),Kn(r,t)):t!==e&&t.push(r)}return t}function Xn(e,t){e.forEach(e=>Array.isArray(e)?Xn(e,t):t(e))}function Yn(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Zn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Jn(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function er(e,t,n){let r=nr(e,t);return r>=0?e[1|r]=n:(r=~r,function(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;){const t=i-2;e[i]=e[t],i--}
1e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function tr(e,t){const n=nr(e,t);if(n>=0)return e[1|n]}function nr(e,t){return rr(e,t,1)}function rr(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const s=r+(i-r>>1),o=e[s<<n];if(t===o)return s<<n;o>t?i=s:r=s+1}return~(i<<n)}const ir=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|[^()]+\(arguments\))\)/,sr=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,or=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,ar=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s*super\(\.\.\.arguments\)/;class lr{constructor(e){this._reflect=e||W.Reflect}isReflectionEnabled(){return!0}factory(e){return(...t)=>new e(...t)}_zipTypesAndAnnotations(e,t){let n;n=Jn(void 0===e?t.length:e.length);for(let r=0;r<n.length;r++)void 0===e?n[r]=[]:e[r]&&e[r]!=Object?n[r]=[e[r]]:n[r]=[],t&&null!=t[r]&&(n[r]=n[r].concat(t[r]));return n}_ownParameters(e,t){if(function(e){return ir.test(e)||ar.test(e)||sr.test(e)&&!or.test(e)}(e.toString()))return null;if(e.parameters&&e.parameters!==t.parameters)return e.parameters;const n=e.ctorParameters;if(n&&n!==t.ctorParameters){const e="function"==typeof n?n():n,t=e.map(e=>e&&e.type),r=e.map(e=>e&&cr(e.decorators));return this._zipTypesAndAnnotations(t,r)}const r=e.hasOwnProperty(On)&&e[On],i=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return i||r?this._zipTypesAndAnnotations(i,r):Jn(e.length)}parameters(e){if(!Qn(e))return[];const t=ur(e);let n=this._ownParameters(e,t);return n||t===Object||(n=this.parameters(t)),n||[]}_ownAnnotations(e,t){if(e.annotations&&e.annotations!==t.annotations){let t=e.annotations;return"function"==typeof t&&t.annotations&&(t=t.annotations),t}return e.decorators&&e.decorators!==t.decorators?cr(e.decorators):e.hasOwnProperty(Tn)?e[Tn]:null}annotations(e){if(!Qn(e))return[];const t=ur(e),n=this._ownAnnotations(e,t)||[];return(t!==Object?this.annotations(t):[]).concat(n)}_ownPropMetadata(e,t){if(e.propMetadata&&e.propMetadata!==t.propMetadata){let t=e.propMetadata;return"function"==typeof t&&t.propMetadata&&(t=t.propMetadata),t}if(e.propDecorators&&e.propDecorators!==t.propDecorators){const t=e.propDecorators,n={};return Object.keys(t).forEach(e=>{n[e]=cr(t[e])}),n}return e.hasOwnProperty(Dn)?e[Dn]:null}propMetadata(e){if(!Qn(e))return{};const t=ur(e),n={};if(t!==Object){const e=this.propMetadata(t);Object.keys(e).forEach(t=>{n[t]=e[t]})}const r=this._ownPropMetadata(e,t);return r&&Object.keys(r).forEach(e=>{const t=[];n.hasOwnProperty(e)&&t.push(...n[e]),t.push(...r[e]),n[e]=t}),n}ownPropMetadata(e){return Qn(e)&&this._ownPropMetadata(e,ur(e))||{}}hasLifecycleHook(e,t){return e instanceof Wn&&t in e.prototype}guards(e){return{}}getter(e){return new Function("o","return o."+e+";")}setter(e){return new Function("o","v","return o."+e+" = v;")}method(e){return new Function("o","args",`if (!o.${e}) throw new Error('"${e}" is undefined');\n        return o.${e}.apply(o, args);`)}importUri(e){return"object"==typeof e&&e.filePath?e.filePath:`./${u(e)}`}resourceUri(e){return`./${u(e)}`}resolveIdentifier(e,t,n,r){return r}resolveEnum(e,t){return e[t]}}function cr(e){return e?e.map(e=>new(0,e.type.annotationCls)(...e.args?e.args:[])):[]}function ur(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}const hr={},dr=/\n/gm,pr="__source",fr=l({provide:String,useValue:l});let mr;function gr(e){const t=mr;return mr=e,t}function vr(e,t=R.Default){if(void 0===mr)throw new Error("inject() must be called from an injection context");return null===mr?F(e,void 0,t):mr.get(e,t&R.Optional?null:void 0,t)}function yr(e,t=R.Default){return(L||vr)(f(e),t)}function br(e){throw new Error("invalid")}const wr=yr;function _r(e){const t=[];for(let n=0;n<e.length;n++){const r=f(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let e,n=R.Default;for(let t=0;t<r.length;t++){const i=r[t],s=i.__NG_DI_FLAG__;"number"==typeof s?-1===s?e=i.token:n|=s:e=i}t.push(yr(e,n))}else t.push(yr(r))}return t}function xr(e,t){return e.__NG_DI_FLAG__=t,e.prototype.__NG_DI_FLAG__=t,e}function Cr(e,t,n,r){const i=e.ngTempTokenPath;throw t[pr]&&i.unshift(t[pr]),e.message=Sr("\n"+e.message,i,n,r),e.ngTokenPath=i,e.ngTempTokenPath=null,e}function Sr(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let i=u(t);if(Array.isArray(t))i=t.map(u).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let r=t[n];
1e.push(n+":"+("string"==typeof r?JSON.stringify(r):u(r)))}i=`{${e.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(dr,"\n  ")}`}const Er=xr(Nn("Inject",e=>({token:e})),-1),Ar=xr(Nn("Optional"),8),kr=xr(Nn("Self"),2),Ir=xr(Nn("SkipSelf"),4),Tr=xr(Nn("Host"),1);let Or=null;function Dr(){return Or=Or||new lr}function Pr(e){return Mr(Dr().parameters(e))}function Mr(e){const t=Gn();return e.map(e=>function(e,t){const n={token:null,host:!1,optional:!1,resolved:e.R3ResolvedDependencyType.Token,self:!1,skipSelf:!1};function r(t){n.resolved=e.R3ResolvedDependencyType.Token,n.token=t}if(Array.isArray(t)&&t.length>0)for(let i=0;i<t.length;i++){const s=t[i];if(void 0===s)continue;const o=Object.getPrototypeOf(s);if(s instanceof Ar||"Optional"===o.ngMetadataName)n.optional=!0;else if(s instanceof Ir||"SkipSelf"===o.ngMetadataName)n.skipSelf=!0;else if(s instanceof kr||"Self"===o.ngMetadataName)n.self=!0;else if(s instanceof Tr||"Host"===o.ngMetadataName)n.host=!0;else if(s instanceof Er)n.token=s.token;else if(s instanceof Ln){if(void 0===s.attributeName)throw new Error("Attribute name must be defined.");n.token=s.attributeName,n.resolved=e.R3ResolvedDependencyType.Attribute}else!0===s.__ChangeDetectorRef__?(n.token=s,n.resolved=e.R3ResolvedDependencyType.ChangeDetectorRef):r(s)}else void 0===t||Array.isArray(t)&&0===t.length?(n.token=void 0,n.resolved=zn.Invalid):r(t);return n}(t,e))}function Nr(e){const t=[],n=new Map;function r(t){let r=n.get(t);if(!r){const i=e(t);n.set(t,r=i.then(Fr))}return r}return Rr.forEach((e,n)=>{const i=[];e.templateUrl&&i.push(r(e.templateUrl).then(t=>{e.template=t}));const s=e.styleUrls,o=e.styles||(e.styles=[]),a=e.styles.length;s&&s.forEach((t,n)=>{o.push(""),i.push(r(t).then(r=>{o[a+n]=r,s.splice(s.indexOf(t),1),0==s.length&&(e.styleUrls=void 0)}))});const l=Promise.all(i).then(()=>function(e){Lr.delete(e)}(n));t.push(l)}),function(){const e=Rr;Rr=new Map}(),Promise.all(t).then(()=>{})}let Rr=new Map;const Lr=new Set;function jr(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length)}function Fr(e){return"string"==typeof e?e:e.text()}let Br,$r;function Vr(){if(void 0===Br&&(Br=null,W.trustedTypes))try{Br=W.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Br}function Ur(e){var t;return(null===(t=Vr())||void 0===t?void 0:t.createHTML(e))||e}function zr(){if(void 0===$r&&($r=null,W.trustedTypes))try{$r=W.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return $r}function Hr(e){var t;return(null===(t=zr())||void 0===t?void 0:t.createHTML(e))||e}function qr(e){var t;return(null===(t=zr())||void 0===t?void 0:t.createScript(e))||e}function Gr(e){var t;return(null===(t=zr())||void 0===t?void 0:t.createScriptURL(e))||e}class Wr{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Qr extends Wr{getTypeName(){return"HTML"}}class Kr extends Wr{getTypeName(){return"Style"}}class Xr extends Wr{getTypeName(){return"Script"}}class Yr extends Wr{getTypeName(){return"URL"}}class Zr extends Wr{getTypeName(){return"ResourceURL"}}function Jr(e){return e instanceof Wr?e.changingThisBreaksApplicationSecurity:e}function ei(e,t){const n=ti(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function ti(e){return e instanceof Wr&&e.getTypeName()||null}function ni(e){return new Qr(e)}function ri(e){return new Kr(e)}function ii(e){return new Xr(e)}function si(e){return new Yr(e)}function oi(e){return new Zr(e)}function ai(e){const t=new ci(e);return function(){try{return!!(new window.DOMParser).parseFromString(Ur(""),"text/html")}catch(e){return!1}}()?new li(t):t}class li{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{const t=(new window.DOMParser).parseFromString(Ur(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.removeChild(t.firstChild),t)}catch(t){return null}}}class ci{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const t=this.inertDocument.createElement("body");e.appendChild(t)}}getInertBodyElement(e){const t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=Ur(e),t;const n=this.inertDocument.createElement("body");return n.innerHTML=Ur(e),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(e){const t=e.attributes;for(let r=t.length-1;0<r;r--){const n=t.item(r).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||e.removeAttribute(n)}let n=e.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const ui=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,hi=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function di(e){return(e=String(e)).match(ui)||e.match(hi)?e:"unsafe:"+e}function pi(e){return(e=String(e)).split(",").map(e=>di(e.trim())).join(", ")}function fi(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function mi(...e){const t={};for(const n of e)for(const e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}const gi=fi("area,br,col,hr,img,wbr"),vi=fi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),yi=fi("rp,rt"),bi=mi(yi,vi),wi=mi(vi,fi("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")),_i=mi(yi,fi("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")),xi=mi(gi,wi,_i,bi),Ci=fi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Si=fi("srcset"),Ei=fi("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,c
1olspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Ai=fi("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"),ki=mi(Ci,Si,Ei,Ai),Ii=fi("script,style,template");class Ti{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,n=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let e=this.checkClobberedElement(t,t.nextSibling);if(e){t=e;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(e){const t=e.nodeName.toLowerCase();if(!xi.hasOwnProperty(t))return this.sanitizedSomething=!0,!Ii.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const n=e.attributes;for(let r=0;r<n.length;r++){const e=n.item(r),t=e.name,i=t.toLowerCase();if(!ki.hasOwnProperty(i)){this.sanitizedSomething=!0;continue}let s=e.value;Ci[i]&&(s=di(s)),Si[i]&&(s=pi(s)),this.buf.push(" ",t,'="',Pi(s),'"')}return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();xi.hasOwnProperty(t)&&!gi.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(Pi(e))}checkClobberedElement(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return t}}const Oi=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Di=/([^\#-~ |!])/g;function Pi(e){return e.replace(/&/g,"&amp;").replace(Oi,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(Di,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Mi;function Ni(e,t){let n=null;try{Mi=Mi||ai(e);let r=t?String(t):"";n=Mi.getInertBodyElement(r);let i=5,s=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=s,s=n.innerHTML,n=Mi.getInertBodyElement(r)}while(r!==s);const o=new Ti;return Ur(o.sanitizeChildren(Ri(n)||n))}finally{if(n){const e=Ri(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}function Ri(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Li;function ji(e){const t=qi();return t?Hr(t.sanitize(Li.HTML,e)||""):ei(e,"HTML")?Hr(Jr(e)):Ni($e(),y(e))}function Fi(e){const t=qi();return t?t.sanitize(Li.STYLE,e)||"":ei(e,"Style")?Jr(e):y(e)}function Bi(e){const t=qi();return t?t.sanitize(Li.URL,e)||"":ei(e,"URL")?Jr(e):di(y(e))}function $i(e){const t=qi();if(t)return Gr(t.sanitize(Li.RESOURCE_URL,e)||"");if(ei(e,"ResourceURL"))return Gr(Jr(e));throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)")}function Vi(e){const t=qi();if(t)return qr(t.sanitize(Li.SCRIPT,e)||"");if(ei(e,"Script"))return qr(Jr(e));throw new Error("unsafe value used in a script context")}function Ui(e){return Ur(e[0])}function zi(e){return function(e){var t;return(null===(t=Vr())||void 0===t?void 0:t.createScriptURL(e))||e}(e[0])}function Hi(e,t,n){return function(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?$i:Bi}(t,n)(e)}function qi(){const e=at();return e&&e[12]}!function(e){e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL"}(Li||(Li={}));function Gi(e){return e.ngDebugContext}function Wi(e){return e.ngOriginalError}function Qi(e,...t){e.error(...t)}class Ki{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e.ngErrorLogger||Qi}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?Gi(e)?Gi(e):this._findContext(Wi(e)):null}_findOriginalError(e){let t=Wi(e);for(;t&&Wi(t);)t=Wi(t);return t}}const Xi=/^>|^->|<!--|-->|--!>|<!-$/g,Yi=/(<|>)/;function Zi(e){return e.replace(Xi,e=>e.replace(Yi,"\u200b$1\u200b"))}function Ji(e){var t;return t=e.replace(/[$@]/g,"_"),`ng-reflect-${e=t.replace(es,(...e)=>"-"+e[1].toLowerCase())}`}const es=/([A-Z])/g;function ts(e){try{return null!=e?e.toString().slice(0,30):e}catch(t){return"[ERROR] Exception while trying to serialize the value"}}function ns(e){let t=Xe(e);if(t){if(Array.isArray(t)){const r=t;let i,s,o;if((n=e)&&n.constructor&&n.constructor.\u0275cmp){if(i=as(r,e),-1==i)throw new Error("The provided component was not found in the application");s=e}else if(function(e){return e&&e.constructor&&e.constructor.\u0275dir}(e)){if(i=function(e,t){let n=e[1].firstChild;for(;n;){const r=n.directiveStart,i=n.directiveEnd;for(let s=r;s<i;s++)if(e[s]===t)return n.index;
1n=os(n)}return-1}(r,e),-1==i)throw new Error("The provided directive was not found in the application");o=ls(i,r,!1)}else if(i=ss(r,e),-1==i)return null;const a=He(r[i]),l=Xe(a),c=l&&!Array.isArray(l)?l:rs(r,i,a);if(s&&void 0===c.component&&(c.component=s,is(c.component,c)),o&&void 0===c.directives){c.directives=o;for(let e=0;e<o.length;e++)is(o[e],c)}is(c.native,c),t=c}}else{const n=e;let r=n;for(;r=r.parentNode;){const e=Xe(r);if(e){let r;if(r=Array.isArray(e)?e:e.lView,!r)return null;const i=ss(r,n);if(i>=0){const e=He(r[i]),n=rs(r,i,e);is(e,n),t=n;break}}}}var n;return t||null}function rs(e,t,n){return{lView:e,nodeIndex:t,native:n,component:void 0,directives:void 0,localRefs:void 0}}function is(e,t){e.__ngContext__=t}function ss(e,t){const n=e[1];for(let r=be;r<n.bindingStartIndex;r++)if(He(e[r])===t)return r;return-1}function os(e){if(e.child)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function as(e,t){const n=e[1].components;if(n)for(let r=0;r<n.length;r++){const i=n[r];if(Ke(i,e)[8]===t)return i}else{if(Ke(be,e)[8]===t)return be}return-1}function ls(e,t,n){const r=t[1].data[e];let i=r.directiveStart;if(0==i)return X;const s=r.directiveEnd;return!n&&2&r.flags&&i++,t.slice(i,s)}const cs=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(W);function us(e){return{name:"window",target:e.ownerDocument.defaultView}}function hs(e){return{name:"document",target:e.ownerDocument}}function ds(e){return{name:"body",target:e.ownerDocument.body}}const ps="\ufffd";function fs(e){return e instanceof Function?e():e}var ms;let gs;function vs(e,t){return gs(e,t)}!function(e){e[e.Important=1]="Important",e[e.DashCase=2]="DashCase"}(ms||(ms={}));function ys(e){const t=e[3];return xe(t)?t[3]:t}function bs(e){return _s(e[13])}function ws(e){return _s(e[4])}function _s(e){for(;null!==e&&!xe(e);)e=e[4];return e}function xs(e,t,n,r,i){if(null!=r){let s,o=!1;xe(r)?s=r:_e(r)&&(o=!0,r=r[0]);const a=He(r);0===e&&null!==n?null==i?Rs(t,n,a):Ns(t,n,a,i||null,!0):1===e&&null!==n?Ns(t,n,a,i||null,!0):2===e?Ws(t,a,o):3===e&&t.destroyNode(a),null!=s&&function(e,t,n,r,i){const s=n[7],o=He(n);s!==o&&xs(t,e,r,s,i);for(let a=we;a<n.length;a++){const i=n[a];Ks(i[1],i,e,t,r,s)}}(t,e,s,n,i)}}function Cs(e,t){return Ue(e)?e.createText(t):e.createTextNode(t)}function Ss(e,t,n){Ue(e)?e.setValue(t,n):t.textContent=n}function Es(e,t){return e.createComment(Zi(t))}function As(e,t,n){return Ue(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function ks(e,t,n,r){const i=we+r,s=n.length;r>0&&(n[i-1][4]=t),r<s-we?(t[4]=n[i],Yn(n,we+r,t)):(n.push(t),t[4]=null),t[3]=n;const o=t[17];null!==o&&n!==o&&function(e,t){const n=e[9],r=t[3];const i=r[3][16];const s=t[16];s!==i&&(e[2]=!0);null===n?e[9]=[t]:n.push(t)}(o,t);const a=t[19];null!==a&&a.insertView(e),t[2]|=128}function Is(e,t){const n=e[9],r=n.indexOf(t),i=t[3];1024&t[2]&&(t[2]&=-1025,nt(i,-1)),n.splice(r,1)}function Ts(e,t){if(e.length<=we)return;const n=we+t,r=e[n];if(r){const s=r[17];null!==s&&s!==e&&Is(s,r),t>0&&(e[n-1][4]=r[4]);const o=Zn(e,we+t);Ks(r[1],i=r,i[11],2,null,null),i[0]=null,i[6]=null;const a=o[19];null!==a&&a.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}var i;return r}function Os(e,t){if(!(256&t[2])){const n=t[11];Ue(n)&&n.destroyNode&&Ks(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return Ds(e[1],e);for(;t;){let n=null;if(_e(t))n=t[13];else{const e=t[10];e&&(n=e)}if(!n){for(;t&&!t[4]&&t!==e;)_e(t)&&Ds(t[1],t),t=t[3];null===t&&(t=e),_e(t)&&Ds(t[1],t),n=t&&t[4]}t=n}}(t)}}function Ds(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const e=t[n[r]];if(!(e instanceof Yt)){const t=n[r+1];if(Array.isArray(t))for(let n=0;n<t.length;n+=2){const r=e[t[n]],i=t[n+1];Re(4,r,i);try{i.call(r)}finally{Re(5,r,i)}}else{Re(4,e,t);try{t.call(e)}finally{Re(5,e,t)}}}}}(e,t),function(e,t){const n=e.cleanup,r=t[7];let i=-1;if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const e=n[s+1],o="function"==typeof e?e(t):He(t[e]),a=r[i=n[s+2]],l=n[s+3];"boolean"==typeof l?o.removeEventListener(n[s],a,l):l>=0?r[i=l]():r[i=-l].unsubscribe(),s+=2}else{const e=r[i=n[s+1]];n[s].call(e)}if(null!==r){for(let e=i+1;e<r.length;e++){const t=r[e];t()}t[7]=null}}(e,t),1===t[1].type&&Ue(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&xe(t[3])){n!==t[3]&&Is(n,t);const r=t[19];null!==r&&r.detachView(e)}}}function Ps(e,t,n){return Ms(e,t.parent,n)}function Ms(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const t=e.data[r.directiveStart].encapsulation;if(t===U.None||t===U.Emulated)return null}return Ge(r,n)}
1function Ns(e,t,n,r,i){Ue(e)?e.insertBefore(t,n,r,i):t.insertBefore(n,r,i)}function Rs(e,t,n){Ue(e)?e.appendChild(t,n):t.appendChild(n)}function Ls(e,t,n,r,i){null!==r?Ns(e,t,n,r,i):Rs(e,t,n)}function js(e,t){return Ue(e)?e.parentNode(t):t.parentNode}function Fs(e,t,n){return Vs(e,t,n)}function Bs(e,t,n){return 40&e.type?Ge(e,n):null}let $s,Vs=Bs;function Us(e,t){Vs=e,$s=t}function zs(e,t,n,r){const i=Ps(e,r,t),s=t[11],o=Fs(r.parent||t[6],r,t);if(null!=i)if(Array.isArray(n))for(let a=0;a<n.length;a++)Ls(s,i,n[a],o,!1);else Ls(s,i,n,o,!1);void 0!==$s&&$s(s,r,t,n,i)}function Hs(e,t){if(null!==t){const n=t.type;if(3&n)return Ge(t,e);if(4&n)return Gs(-1,e[t.index]);if(8&n){const n=t.child;if(null!==n)return Hs(e,n);{const n=e[t.index];return xe(n)?Gs(-1,n):He(n)}}if(32&n){return vs(t,e)()||He(e[t.index])}{const n=qs(e,t);if(null!==n){if(Array.isArray(n))return n[0];const t=ys(e[16]);return Hs(t,n)}return Hs(e,t.next)}}return null}function qs(e,t){if(null!==t){const n=e[16][6],r=t.projection;return n.projection[r]}return null}function Gs(e,t){const n=we+e+1;if(n<t.length){const e=t[n],r=e[1].firstChild;if(null!==r)return Hs(e,r)}return t[7]}function Ws(e,t,n){const r=js(e,t);r&&function(e,t,n,r){Ue(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}function Qs(e,t,n,r,i,s,o){for(;null!=n;){const a=r[n.index],l=n.type;if(o&&0===t&&(a&&is(He(a),r),n.flags|=4),64!=(64&n.flags))if(8&l)Qs(e,t,n.child,r,i,s,!1),xs(t,e,i,a,s);else if(32&l){const o=vs(n,r);let l;for(;l=o();)xs(t,e,i,l,s);xs(t,e,i,a,s)}else 16&l?Xs(e,t,r,n,i,s):xs(t,e,i,a,s);n=o?n.projectionNext:n.next}}function Ks(e,t,n,r,i,s){Qs(n,r,e.firstChild,t,i,s,!1)}function Xs(e,t,n,r,i,s){const o=n[16],a=o[6].projection[r.projection];if(Array.isArray(a))for(let l=0;l<a.length;l++){xs(t,e,i,a[l],s)}else{Qs(e,t,a,o[3],i,s,!0)}}function Ys(e,t,n){Ue(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function Zs(e,t,n){Ue(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function Js(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const n=t.length;if(i+n===r||e.charCodeAt(i+n)<=32)return i}n=i+1}}const eo="ng-template";function to(e,t,n){let r=0;for(;r<e.length;){let i=e[r++];
vendor: 5,718 bytes, line 1
1if(n&&"class"===i){if(i=e[r],-1!==Js(i.toLowerCase(),t,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function no(e){return 4===e.type&&e.value!==eo}function ro(e,t,n){return t===(4!==e.type||n?e.value:eo)}function io(e,t,n){let r=4;const i=e.attrs||[],s=function(e){for(let t=0;t<e.length;t++){if(Jt(e[t]))return t}return e.length}(i);let o=!1;for(let a=0;a<t.length;a++){const l=t[a];if("number"!=typeof l){if(!o)if(4&r){if(r=2|1&r,""!==l&&!ro(e,l,n)||""===l&&1===t.length){if(so(r))return!1;o=!0}}else{const c=8&r?l:t[++a];if(8&r&&null!==e.attrs){if(!to(e.attrs,c,n)){if(so(r))return!1;o=!0}continue}const u=oo(8&r?"class":l,i,no(e),n);if(-1===u){if(so(r))return!1;o=!0;continue}if(""!==c){let e;e=u>s?"":i[u+1].toLowerCase();const t=8&r?e:null;if(t&&-1!==Js(t,c,0)||2&r&&c!==e){if(so(r))return!1;o=!0}}}}else{if(!o&&!so(r)&&!so(l))return!1;if(o&&so(l))continue;o=!1,r=l|1&r}}return so(r)||o}function so(e){return 0==(1&e)}function oo(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let n=!1;for(;i<t.length;){const r=t[i];if(r===e)return i;if(3===r||6===r)n=!0;else{if(1===r||2===r){let e=t[++i];for(;"string"==typeof e;)e=t[++i];continue}if(4===r)break;if(0===r){i+=4;continue}}i+=n?1:2}return-1}return function(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function ao(e,t,n=!1){for(let r=0;r<t.length;r++)if(io(e,t[r],n))return!0;return!1}function lo(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let t=0;t<e.length;t++)if(e[t]!==r[t])continue e;return!0}}return!1}function co(e,t){return e?":not("+t.trim()+")":t}function uo(e){let t=e[0],n=1,r=2,i="",s=!1;for(;n<e.length;){let o=e[n];if("string"==typeof o)if(2&r){const t=e[++n];i+="["+o+(t.length>0?'="'+t+'"':"")+"]"}else 8&r?i+="."+o:4&r&&(i+=" "+o);else""===i||so(o)||(t+=co(s,i),i=""),r=o,s=s||!so(r);n++}return""!==i&&(t+=co(s,i)),t}const ho={};function po(e){fo(lt(),at(),Ft()+e,gt())}function fo(e,t,n,r){if(!r){if(3==(3&t[2])){const r=e.preOrderCheckHooks;null!==r&&qt(t,r,n)}else{const r=e.preOrderHooks;null!==r&&Gt(t,r,0,n)}}Bt(n)}function mo(e,t){return e<<17|t<<2}function go(e){return e>>17&32767}function vo(e){return 2==(2&e)}function yo(e){return 2|e}function bo(e){return(131068&e)>>2}function wo(e,t){return-131069&e|t<<2}function _o(e){return 1==(1&e)}function xo(e){return 1|e}const Co=Promise.resolve(null);function So(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],s=n[r+1];if(-1!==s){const n=e.data[s];It(i),n.contentQueries(2,t[s],s)}}}function Eo(e,t,n,r,i,s,o,a,l,c){const u=t.blueprint.slice();return u[0]=i,u[2]=140|r,tt(u),u[3]=u[15]=e,u[8]=n,u[10]=o||e&&e[10],u[11]=a||e&&e[11],u[12]=l||e&&e[12]||null,u[9]=c||e&&e[9]||null,u[6]=s,u[16]=2==t.type?e[16]:u,u}function Ao(e,t,n,r,i){let s=e.data[t];if(null===s)s=ko(e,t,n,r,i),rt.lFrame.inI18n&&(s.flags|=64);else if(64&s.type){s.type=n,s.value=r,s.attrs=i;const e=dt();s.injectorIndex=null===e?-1:e.injectorIndex}return pt(s,!0),s}function ko(e,t,n,r,i){const s=ht(),o=ft(),a=o?s:s&&s.parent,l=e.data[t]=function(e,t,n,r,i,s){let o=t?t.injectorIndex:-1;const a={type:n,index:r,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0};0;return a}(0,a,n,t,r,i);return null===e.firstChild&&(e.firstChild=l),null!==s&&(o?null==s.child&&null!==l.parent&&(s.child=l):null===s.next&&(s.next=l)),l}function Io(e,t,n,r){if(0===n)return-1;const i=t.length;for(let s=0;s<n;s++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function To(e,t,n){Dt(t);try{const r=e.viewQuery;null!==r&&ca(1,r,n);const i=e.template;null!==i&&Po(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&So(e,t),e.staticViewQueries&&ca(2,e.viewQuery,n);const s=e.components;null!==s&&function(e,t){for(let n=0;n<t.length;n++)ra(e,t[n])}(t,s)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0),r}finally{t[2]&=-5,Lt()}}function Oo(e,t,n,r){const i=t[2];if(256==(256&i))return;Dt(t);const s=gt();try{tt(t),wt(e.bindingStartIndex),null!==n&&Po(e,t,n,2,r);const o=3==(3&i);if(!s)if(o){const n=e.preOrderCheckHooks;null!==n&&qt(t,n,null)}else{const n=e.preOrderHooks;null!==n&&Gt(t,n,0,null),Wt(t,0)}if(function(e){for(let t=bs(e);null!==t;t=ws(t)){if(!t[2])continue;const e=t[9];for(let t=0;t<e.length;t++){const n=e[t],r=n[3];0==(1024&n[2])&&nt(r,1),n[2]|=1024}}}(t),function(e){for(let t=bs(e);null!==t;t=ws(t))for(let e=we;e<t.length;e++){const n=t[e],r=n[1];Je(n)&&Oo(r,n,r.template,n[8])}}(t),null!==e.contentQueries&&So(e,t),!s)if(o){const n=e.contentCheckHooks;null!==n&&qt(t,n)}else{const n=e.contentHooks;null!==n&&Gt(t,n,1),Wt(t,1)}!function(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let e=0;e<n.length;e++){const r=n[e];if(r<0)Bt(~r);else{const i=r,s=n[++e],o=n[++e];St(s,i),o(2,t[i])}}}finally{Bt(-1)}}(e,t);const a=e.components;null!==a&&function(e,t){for(let n=0;n<t.length;n++)ta(e,t[n])}(t,a);const l=e.viewQuery;if(null!==l&&ca(2,l,r),!s)if(o){const n=e.viewCheckHooks;null!==n&&qt(t,n)}else{const n=e.viewHooks;null!==n&&Gt(t,n,2),Wt(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),s||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,nt(t[3],-1))}finally{Lt()}}function Do(e,t,n,r){const i=t[10],s=!gt(),o=Ze(t);
1try{s&&!o&&i.begin&&i.begin(),o&&To(e,t,r),Oo(e,t,n,r)}finally{s&&!o&&i.end&&i.end()}}function Po(e,t,n,r,i){const s=Ft(),o=2&r;try{Bt(-1),o&&t.length>be&&fo(e,t,be,gt());Re(o?2:0,i),n(r,i)}finally{Bt(s);Re(o?3:1,i)}}function Mo(e,t,n){if(Ce(t)){const r=t.directiveStart,i=t.directiveEnd;for(let t=r;t<i;t++){const r=e.data[t];r.contentQueries&&r.contentQueries(1,n[t],t)}}}function No(e,t,n){it()&&(function(e,t,n,r){const i=n.directiveStart,s=n.directiveEnd;e.firstCreatePass||un(n,t);is(r,t);const o=n.initialInputs;for(let a=i;a<s;a++){const r=e.data[a],s=Ae(r);s&&Ko(t,n,r);const l=xn(t,e,a,n);if(is(l,t),null!==o&&Zo(t,a-i,l,r,n,o),s){Ke(n.index,t)[8]=l}}}(e,t,n,Ge(n,t)),128==(128&n.flags)&&function(e,t,n){const r=n.directiveStart,i=n.directiveEnd,s=(e.firstCreatePass,n.index),o=rt.lFrame.currentDirectiveIndex;try{Bt(s);for(let n=r;n<i;n++){const r=e.data[n],i=t[n];Et(n),null===r.hostBindings&&0===r.hostVars&&null===r.hostAttrs||Ho(r,i)}}finally{Bt(-1),Et(o)}}(e,t,n))}function Ro(e,t,n=Ge){const r=t.localNames;if(null!==r){let i=t.index+1;for(let s=0;s<r.length;s+=2){const o=r[s+1],a=-1===o?n(t,e):e[o];e[i++]=a}}}function Lo(e){const t=e.tView;if(null===t||t.incompleteFirstPass){const t=null;return e.tView=jo(1,t,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts)}return t}function jo(e,t,n,r,i,s,o,a,l,c){const u=be+r,h=u+i,d=function(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:ho);return n}(u,h),p="function"==typeof c?c():c,f=d[1]={type:e,blueprint:d,template:n,queries:null,viewQuery:a,declTNode:t,data:d.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:h,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:"function"==typeof s?s():s,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:l,consts:p,incompleteFirstPass:!1};return f}
1function Fo(e,t,n){if(Ue(e)){const r=n===U.ShadowDom;return e.selectRootElement(t,r)}let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}function Bo(e,t,n,r){const i=ha(t);null===n?i.push(r):(i.push(n),e.firstCreatePass&&da(e).push(r,i.length-1))}function $o(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){n=null===n?{}:n;const i=e[r];n.hasOwnProperty(r)?n[r].push(t,i):n[r]=[t,i]}return n}function Vo(e,t,n,r,i,s,o,a){const l=Ge(t,n);let c,u=t.inputs;var h;!a&&null!=u&&(c=u[r])?(ma(e,n,c,r,i),Se(t)&&function(e,t){const n=Ke(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type?(r="class"===(h=r)?"className":"for"===h?"htmlFor":"formaction"===h?"formAction":"innerHtml"===h?"innerHTML":"readonly"===h?"readOnly":"tabindex"===h?"tabIndex":h,i=null!=o?o(i,t.value||"",r):i,Ue(s)?s.setProperty(l,r,i):en(r)||(l.setProperty?l.setProperty(r,i):l[r]=i)):t.type}function Uo(e,t,n,r){let i=!1;if(it()){const s=function(e,t,n){const r=e.directiveRegistry;let i=null;if(r)for(let s=0;s<r.length;s++){const o=r[s];ao(n,o.selectors,!1)&&(i||(i=[]),fn(un(n,t),e,o.type),Ae(o)?(qo(e,n),i.unshift(o)):i.push(o))}return i}(e,t,n),o=null===r?null:{"":-1};if(null!==s){i=!0,Wo(n,e.data.length,s.length);for(let e=0;e<s.length;e++){const t=s[e];t.providersResolver&&t.providersResolver(t)}let r=!1,a=!1,l=Io(e,t,s.length,null);for(let i=0;i<s.length;i++){const c=s[i];n.mergedAttrs=tn(n.mergedAttrs,c.hostAttrs),Qo(e,n,t,l,c),Go(l,c,o),null!==c.contentQueries&&(n.flags|=8),null===c.hostBindings&&null===c.hostAttrs&&0===c.hostVars||(n.flags|=128);const u=c.type.prototype;!r&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),r=!0),a||!u.ngOnChanges&&!u.ngDoC
vendor: 4,879 bytes, line 1
1heck||((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),a=!0),l++}!function(e,t){const n=t.directiveStart,r=t.directiveEnd,i=e.data,s=t.attrs,o=[];let a=null,l=null;for(let c=n;c<r;c++){const e=i[c],n=e.inputs,r=null===s||no(t)?null:Jo(n,s);o.push(r),a=$o(n,c,a),l=$o(e.outputs,c,l)}null!==a&&(a.hasOwnProperty("class")&&(t.flags|=16),a.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=o,t.inputs=a,t.outputs=l}(e,n)}o&&function(e,t,n){if(t){const r=e.localNames=[];for(let e=0;e<t.length;e+=2){const i=n[t[e+1]];if(null==i)throw new g("301",`Export of name '${t[e+1]}' not found!`);r.push(t[e],i)}}}(n,r,o)}return n.mergedAttrs=tn(n.mergedAttrs,n.attrs),i}function zo(e,t,n,r,i,s){const o=s.hostBindings;if(o){let n=e.hostBindingOpCodes;null===n&&(n=e.hostBindingOpCodes=[]);const s=~t.index;(function(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(n)!=s&&n.push(s),n.push(r,i,o)}}function Ho(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function qo(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Go(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Ae(t)&&(n[""]=e)}}function Wo(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Qo(e,t,n,r,i){e.data[r]=i;const s=i.factory||(i.factory=ke(i.type)),o=new Yt(s,Ae(i),null);e.blueprint[r]=o,n[r]=o,zo(e,t,0,r,Io(e,n,i.hostVars,ho),i)}function Ko(e,t,n){const r=Ge(t,e),i=Lo(n),s=e[10],o=ia(e,Eo(e,i,null,n.onPush?64:16,r,t,s,s.createRenderer(r,n),null,null));e[t.index]=o}function Xo(e,t,n,r,i,s){const o=Ge(e,t);Yo(t[11],o,s,e.value,n,r,i)}function Yo(e,t,n,r,i,s,o){if(null==s)Ue(e)?e.removeAttribute(t,i,n):t.removeAttribute(i);else{const a=null==o?y(s):o(s,r||"",i);Ue(e)?e.setAttribute(t,i,a,n):n?t.setAttributeNS(n,i,a):t.setAttribute(i,a)}}function Zo(e,t,n,r,i,s){const o=s[t];if(null!==o){const e=r.setInput;for(let t=0;t<o.length;){const i=o[t++],s=o[t++],a=o[t++];null!==e?r.setInput(n,a,i,s):n[s]=a}}}function Jo(e,t){let n=null,r=0;for(;r<t.length;){const i=t[r];if(0!==i)if(5!==i){if("number"==typeof i)break;e.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,e[i],t[r+1])),r+=2}else r+=2;else r+=4}return n}function ea(e,t,n,r){const i=new Array(e,!0,!1,t,null,0,r,n,null,null);return i}function ta(e,t){const n=Ke(t,e);if(Je(n)){const e=n[1];80&n[2]?Oo(e,n,e.template,n[8]):n[5]>0&&na(n)}}function na(e){for(let n=bs(e);null!==n;n=ws(n))for(let e=we;e<n.length;e++){const t=n[e];if(1024&t[2]){const e=t[1];Oo(e,t,e.template,t[8])}else t[5]>0&&na(t)}const t=e[1].components;if(null!==t)for(let n=0;n<t.length;n++){const r=Ke(t[n],e);Je(r)&&r[5]>0&&na(r)}}function ra(e,t){const n=Ke(t,e),r=n[1];!function(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n),To(r,n,n[8])}function ia(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function sa(e){for(;e;){e[2]|=64;const t=ys(e);if(0!=(512&e[2])&&!t)return e;e=t}return null}function oa(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=Ye(n),i=r[1];Do(i,r,i.template,n)}}function aa(e,t,n){const r=t[10];r.begin&&r.begin();try{Oo(e,t,e.template,n)}catch(i){throw fa(t,i),i}finally{r.end&&r.end()}}function la(e){oa(e[8])}function ca(e,t,n){It(0),t(e,n)}const ua=Co;function ha(e){return e[7]||(e[7]=[])}function da(e){return e.cleanup||(e.cleanup=[])}function pa(e,t,n){return(null===e||Ae(e))&&(n=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function fa(e,t){const n=e[9],r=n?n.get(Ki,null):null;r&&r.handleError(t)}function ma(e,t,n,r,i){for(let s=0;s<n.length;){const o=n[s++],a=n[s++],l=t[o],c=e.data[o];null!==c.setInput?c.setInput(l,i,r,a):l[a]=i}}function ga(e,t,n){const r=qe(t,e);Ss(e[11],r,n)}function va(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,s=0;if(null!==t)for(let o=0;o<t.length;o++){const e=t[o];if("number"==typeof e)s=e;else if(1==s)i=h(i,e);else if(2==s){r=h(r,e+": "+t[++o]+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}const ya=new jn("INJECTOR",-1);class ba{get(e,t=hr){if(t===hr){const t=new Error(`NullInjectorError: No provider for ${u(e)}!`);throw t.name="NullInjectorError",t}return t}}const wa=new jn("Set Injector scope."),_a={},xa={},Ca=[];let Sa;function Ea(){return void 0===Sa&&(Sa=new ba),Sa}function Aa(e,t=null,n=null,r){return new ka(e,n,t||Ea(),r)}class ka{constructor(e,t,n,r=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const i=[];t&&Xn(t,n=>this.processProvider(n,e,t)),Xn([e],e=>this.processInjectorType(e,[],i)),this.records.set(ya,Oa(void 0,this));const s=this.records.get(wa);this.scope=null!=s?s.value:null,this.source=r||("object"==typeof e?null:u(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;
1try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,t=hr,n=R.Default){this.assertNotDestroyed();const r=gr(this);try{if(!(n&R.SkipSelf)){let t=this.records.get(e);if(void 0===t){const n=("function"==typeof(i=e)||"object"==typeof i&&i instanceof jn)&&I(e);t=n&&this.injectableDefInScope(n)?Oa(Ia(e),_a):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}const s=n&R.Self?Ea():this.parent;return t=n&R.Optional&&t===hr?null:t,s.get(e,t)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(u(e)),r)throw s;return Cr(s,e,"R3InjectorError",this.source)}throw s}finally{gr(r)}var i}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((t,n)=>e.push(u(n))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,n){if(!(e=f(e)))return!1;let r=O(e);const i=null==r&&e.ngModule||void 0,s=void 0===i?e:i;const o=-1!==n.indexOf(s);if(void 0!==i&&(r=O(i)),null==r)return!1;if(null!=r.imports&&!o){let e;n.push(s);try{Xn(r.imports,r=>{this.processInjectorType(r,t,n)&&(void 0===e&&(e=[]),e.push(r))})}finally{}if(void 0!==e)for(let t=0;t<e.length;t++){const{ngModule:n,providers:r}=e[t];Xn(r,e=>this.processProvider(e,n,r||Ca))}}this.injectorDefTypes.add(s);const a=ke(s)||(()=>new s);this.records.set(s,Oa(a,_a));const l=r.providers;if(null!=l&&!o){const t=e;Xn(l,e=>this.processProvider(e,t,l))}return void 0!==i&&void 0!==e.providers}processProvider(e,t,n){let r=Pa(e=f(e))?e:f(e&&e.provide);const i=function(e,t,n){if(Da(e))return Oa(void 0,e.useValue);return Oa(Ta(e,t,n),_a)}(e,t,n);if(Pa(e)||!0!==e.multi){this.records.get(r);0}else{let t=this.records.get(r);t||(t=Oa(void 0,_a,!0),t.factory=()=>_r(t.multi),this.records.set(r,t)),r=e,t.multi.push(e)}this.records.set(r,i)}hydrate(e,t){var n;return t.value===_a&&(t.value=xa,t.value=t.factory()),"object"==typeof t.value&&t.value&&(null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy)&&this.onDestroy.add(t.value),t.value}injectableDefInScope(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}}function Ia(e){const t=I(e),n=null!==t?t.factory:ke(e);if(null!==n)return n;if(e instanceof jn)throw new Error(`Token ${u(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const n=Jn(t,"?");throw new Error(`Can't resolve all parameters for ${u(e)}: (${n.join(", ")}).`)}const n=function(e){const t=e&&(e[D]||e[M]);if(t){const n=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function Ta(e,t,n){let r;if(Pa(e)){const t=f(e);return ke(t)||Ia(t)}if(Da(e))r=()=>f(e.useValue);else if((i=e)&&i.useFactory)r=()=>e.useFactory(..._r(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))r=()=>yr(f(e.useExisting));else{const t=f(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return ke(t)||Ia(t);r=()=>new t(..._r(e.deps))}var i;return r}function Oa(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Da(e){return null!==e&&"object"==typeof e&&fr in e}function Pa(e){return"function"==typeof e}const Ma=function(e,t,n){return function(e,t=null,n=null,r){const i=Aa(e,t,n,r);return i._resolveInjectorDefTypes(),i}({name:n},t,e,n)};class Na{static create(e,t){return Array.isArray(e)?Ma(e,t,""):Ma(e.providers,e.parent,e.name||"")}}Na.THROW_IF_NOT_FOUND=hr,Na.NULL=new ba,Na.\u0275prov=E({token:Na,providedIn:"any",factory:()=>yr(ya)}),Na.__NG_ELEMENT_ID__=-1;function Ra(e){Ua(e);const t=Ba(e,!1);return null===t?null:(void 0===t.component&&(t.component=function(e,t){const n=t[1].data[e];let r=n.directiveStart;return 2&n.flags?t[r]:null}(t.nodeIndex,t.lView)),t.component)}function La(e){Ua(e);const t=Ba(e,!1);return null===t?null:t.lView[8]}function ja(e){const t=Ba(e,!1);if(null===t)return null;let n,r=t.lView;for(;2===r[1].type&&(n=ys(r));)r=n;return 512&r[2]?null:r[8]}function Fa(e){const t=Ba(e,!1);if(null===t)return Na.NULL;const n=t.lView[1].data[t.nodeIndex];return new En(n,t.lView)}function Ba(e,t=!0){const n=ns(e);if(!n&&t)throw new Error("Invalid ng target");return n}function $a(e){Ua(e);const t=Ba(e,!1);if(null===t)return[];const n=t.lView,r=n[1],i=n[7],s=r.cleanup,o=[];if(s&&i)for(let a=0;a<s.length;){const t=s[a++],r=s[a++];if("string"==typeof t){const l=t,c=He(n[r]),u=i[s[a++]],h=s[a++],d="boolean"==typeof h||h>=0?"dom":"output",p="boolean"==typeof h&&h;e==c&&o.push({element:e,name:l,callback:u,useCapture:p,type:d})}}return o.sort(Va),o}function Va(e,t){return e.name==t.name?0:e.name<t.name?-1:1}function Ua(e){if("undefined"!=typeof Element&&!(e instanceof Element))throw new Error("Expecting instance of DOM Element")}function za(e,t,n,r,i,s){const o=n[1];n[20]=e;const a=Ao(o,20,2,"#host",null),l=a.mergedAttrs=t.hostAttrs;null!==l&&(va(a,l,!0),null!==e&&(Zt(i,e,l),null!==a.classes&&Zs(i,e,a.classes),null!==a.styles&&Ys(i,e,a.styles)));const c=r.createRenderer(e,t),u=Eo(n,Lo(t),null,t.onPush?64:16,n[20],a,r,c,s||null,null);return o.firstCreatePass&&(fn(un(a,n),o,t.type),qo(o,a),Wo(a,n.length,1)),ia(n,u),n[20]=u}function Ha(e,t,n,r,i){const s=n[1],o=function(e,t,n){const r=ut();if(e.firstCreatePass){n.providersResolver&&n.providersResolver(n);Qo(e,r,t,Io(e,t,1,null),n)}const i=xn(t,e,r.directiveStart,r);is(i,t);const s=Ge(r,t);return s&&is(s,t),i}(s,n,t);
1if(r.components.push(o),e[8]=o,i&&i.forEach(e=>e(o,t)),t.contentQueries){const e=ut();t.contentQueries(1,o,e.directiveStart)}const a=ut();if(s.firstCreatePass&&(null!==t.hostBindings||null!==t.hostAttrs)){Bt(a.index);zo(n[1],a,0,a.directiveStart,a.directiveEnd,t),Ho(t,o)}return o}function qa(e,t){return{components:[],scheduler:e||cs,clean:ua,playerHandler:t||null,flags:0}}function Ga(e,t){const n=Ye(e),r=n[1],i=ut();Ht(r,i)}function Wa(e){return Object.getPrototypeOf(e.prototype).constructor}function Qa(e){let t=Wa(e.type),n=!0;const r=[e];for(;t;){let i;if(Ae(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");i=t.\u0275dir}if(i){if(n){r.push(i);const t=e;t.inputs=Ka(e.inputs),t.declaredInputs=Ka(e.declaredInputs),t.outputs=Ka(e.outputs);const n=i.hostBindings;n&&Za(e,n);const s=i.viewQuery,o=i.contentQueries;if(s&&Xa(e,s),o&&Ya(e,o),c(e.inputs,i.inputs),c(e.declaredInputs,i.declaredInputs),c(e.outputs,i.outputs),Ae(i)&&i.data.animation){const t=e.data;t.animation=(t.animation||[]).concat(i.data.animation)}}const t=i.features;if(t)for(let r=0;r<t.length;r++){const i=t[r];i&&i.ngInherit&&i(e),i===Qa&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=tn(i.hostAttrs,n=tn(n,i.hostAttrs))}}(r)}function Ka(e){return e===Q?{}:e===X?[]:e}function Xa(e,t){const n=e.viewQuery;e.viewQuery=n?(e,r)=>{t(e,r),n(e,r)}:t}function Ya(e,t){const n=e.contentQueries;e.contentQueries=n?(e,r,i)=>{t(e,r,i),n(e,r,i)}:t}function Za(e,t){const n=e.hostBindings;e.hostBindings=n?(e,r)=>{t(e,r),n(e,r)}:t}const Ja=["providersResolver"],el=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function tl(e){let t,n=Wa(e.type);t=Ae(e)?n.\u0275cmp:n.\u0275dir;const r=e;for(const i of Ja)r[i]=t[i];if(Ae(t))for(const i of el)r[i]=t[i]}let nl=null;function rl(){if(!nl){const e=W.Symbol;if(e&&e.iterator)nl=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<e.length;++t){const n=e[t];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(nl=n)}}}return nl}function il(e,t){const n=ol(e),r=ol(t);if(n&&r)return function(e,t,n){const r=e[rl()](),i=t[rl()]();for(;;){const e=r.next(),t=i.next();if(e.done&&t.done)return!0;if(e.done||t.done)return!1;if(!n(e.value,t.value))return!1}}(e,t,il);{const i=e&&("object"==typeof e||"function"==typeof e),s=t&&("object"==typeof t||"function"==typeof t);return!(n||!i||r||!s)||Object.is(e,t)}}class sl{constructor(e){this.wrapped=e}static wrap(e){return new sl(e)}static unwrap(e){return sl.isWrapped(e)?e.wrapped:e}static isWrapped(e){return e instanceof sl}}function ol(e){return!!al(e)&&(Array.isArray(e)||!(e instanceof Map)&&rl()in e)}function al(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function ll(e,t,n){return e[t]=n}function cl(e,t){return e[t]}function ul(e,t,n){const r=e[t];return!Object.is(r,n)&&(e[t]=n,!0)}function hl(e,t,n,r){const i=ul(e,t,n);return ul(e,t+1,r)||i}function dl(e,t,n,r,i){const s=hl(e,t,n,r);return ul(e,t+2,i)||s}function pl(e,t,n,r,i,s){const o=hl(e,t,n,r);return hl(e,t+2,i,s)||o}function fl(e,t,n,r){const i=at(),s=_t();if(ul(i,s,t)){lt();const s=$t();Xo(s,i,e,t,n,r)}return fl}function ml(e,t){let n=!1,r=bt();for(let s=1;s<t.length;s+=2)n=ul(e,r++,t[s])||n;if(wt(r),!n)return ho;let i=t[0];for(let s=1;s<t.length;s+=2)i+=y(t[s])+t[s+1];return i}function gl(e,t,n,r){return ul(e,_t(),n)?t+y(n)+r:ho}function vl(e,t,n,r,i,s){const o=hl(e,bt(),n,i);return xt(2),o?t+y(n)+r+y(i)+s:ho}function yl(e,t,n,r,i,s,o,a){const l=dl(e,bt(),n,i,o);return xt(3),l?t+y(n)+r+y(i)+s+y(o)+a:ho}function bl(e,t,n,r,i,s,o,a,l,c){const u=pl(e,bt(),n,i,o,l);return xt(4),u?t+y(n)+r+y(i)+s+y(o)+a+y(l)+c:ho}function wl(e,t,n,r,i,s,o,a,l,c,u,h){const d=bt();let p=pl(e,d,n,i,o,l);return p=ul(e,d+4,u)||p,xt(5),p?t+y(n)+r+y(i)+s+y(o)+a+y(l)+c+y(u)+h:ho}function _l(e,t,n,r,i,s,o,a,l,c,u,h,d,p){const f=bt();let m=pl(e,f,n,i,o,l);return m=hl(e,f+4,u,d)||m,xt(6),m?t+y(n)+r+y(i)+s+y(o)+a+y(l)+c+y(u)+h+y(d)+p:ho}function xl(e,t,n,r,i,s,o,a,l,c,u,h,d,p,f,m){const g=bt();let v=pl(e,g,n,i,o,l);return v=dl(e,g+4,u,d,f)||v,xt(7),v?t+y(n)+r+y(i)+s+y(o)+a+y(l)+c+y(u)+h+y(d)+p+y(f)+m:ho}function Cl(e,t,n,r,i,s,o,a,l,c,u,h,d,p,f,m,g,v){const b=bt();let w=pl(e,b,n,i,o,l);return w=pl(e,b+4,u,d,f,g)||w,xt(8),w?t+y(n)+r+y(i)+s+y(o)+a+y(l)+c+y(u)+h+y(d)+p+y(f)+m+y(g)+v:ho}function Sl(e,t,n,r,i,s){const o=at(),a=gl(o,t,n,r);if(a!==ho){const t=$t();Xo(t,o,e,a,i,s)}return Sl}function El(e,t,n,r,i,s,o,a){const l=at(),c=vl(l,t,n,r,i,s);if(c!==ho){const t=$t();Xo(t,l,e,c,o,a)}return El}function Al(e,t,n,r,i,s,o,a,l,c){const u=at(),h=yl(u,t,n,r,i,s,o,a);if(h!==ho){const t=$t();Xo(t,u,e,h,l,c)}return Al}
1function kl(e,t,n,r,i,s,o,a,l,c,u,h){const d=at(),p=bl(d,t,n,r,i,s,o,a,l,c);if(p!==ho){const t=$t();Xo(t,d,e,p,u,h)}return kl}function Il(e,t,n,r,i,s,o,a,l,c,u,h,d,p){const f=at(),m=wl(f,t,n,r,i,s,o,a,l,c,u,h);if(m!==ho){const t=$t();Xo(t,f,e,m,d,p)}return Il}function Tl(e,t,n,r,i,s,o,a,l,c,u,h,d,p,f,m){const g=at(),v=_l(g,t,n,r,i,s,o,a,l,c,u,h,d,p);if(v!==ho){const t=$t();Xo(t,g,e,v,f,m)}return Tl}function Ol(e,t,n,r,i,s,o,a,l,c,u,h,d,p,f,m,g,v){const y=at(),b=xl(y,t,n,r,i,s,o,a,l,c,u,h,d,p,f,m);if(b!==ho){const t=$t();Xo(t,y,e,b,g,v)}return Ol}function Dl(e,t,n,r,i,s,o,a,l,c,u,h,d,p,f,m,g,v,y,b){const w=at(),_=Cl(w,t,n,r,i,s,o,a,l,c,u,h,d,p,f,m,g,v);if(_!==ho){const t=$t();Xo(t,w,e,_,y,b)}return Dl}function Pl(e,t,n,r){const i=at(),s=ml(i,t);if(s!==ho){const t=$t();Xo(t,i,e,s,n,r)}return Pl}function Ml(e,t,n,r,i,s,o,a){const l=at(),c=lt(),u=e+be,h=c.firstCreatePass?function(e,t,n,r,i,s,o,a,l){const c=t.consts,u=Ao(t,e,4,o||null,et(c,a));Uo(t,n,u,et(c,l)),Ht(t,u);const h=u.tViews=jo(2,u,r,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c);return null!==t.queries&&(t.queries.template(t,u),h.queries=t.queries.embeddedTView(u)),u}(u,c,l,t,n,r,i,s,o):c.data[u];pt(h,!1);const d=l[11].createComment("");zs(c,l,d,h),is(d,l),ia(l,l[u]=ea(d,l,d,h)),Ee(h)&&No(c,l,h),null!=o&&Ro(l,h,a)}function Nl(e){return Qe(rt.lFrame.contextLView,be+e)}const Rl={"\u0275\u0275defineInjectable":E,"\u0275\u0275defineInjector":k,"\u0275\u0275inject":yr,"\u0275\u0275invalidFactoryDep":br};const Ll=l({provide:String,useValue:l});function jl(e){return void 0!==e.useClass}function Fl(e){return void 0!==e.useFactory}function Bl(e,t){const n=t||{providedIn:null},r={name:e.name,type:e,typeArgumentCount:0,providedIn:n.providedIn,userDeps:void 0};return(jl(n)||Fl(n))&&void 0!==n.deps&&(r.userDeps=Mr(n.deps)),jl(n)?r.useClass=f(n.useClass):!function(e){return Ll in e}(n)?Fl(n)?r.useFactory=n.useFactory:function(e){return void 0!==e.useExisting}(n)&&(r.useExisting=f(n.useExisting)):r.useValue=f(n.useValue),r}l({provide:String,useValue:l});const $l=Pn("Injectable",void 0,void 0,void 0,(e,t)=>Vl(e,t));const Vl=function(e,t){let n=null,r=null;e.hasOwnProperty(D)||Object.defineProperty(e,D,{get:()=>(null===n&&(n=Gn().compileInjectable(Rl,`ng:///${e.name}/\u0275prov.js`,Bl(e,t))),n)}),e.hasOwnProperty(ne)||Object.defineProperty(e,ne,{get:()=>{if(null===r){const n=Bl(e,t),i=Gn();r=i.compileFactory(Rl,`ng:///${e.name}/\u0275fac.js`,{name:n.name,type:n.type,typeArgumentCount:n.typeArgumentCount,deps:Pr(e),injectFn:"inject",target:i.R3FactoryTarget.Injectable})}return r},configurable:!0})};function Ul(e){if(e.length>1){return" ("+function(e){const t=[];for(let n=0;n<e.length;++n){if(t.indexOf(e[n])>-1)return t.push(e[n]),t;t.push(e[n])}return t}(e.slice().reverse()).map(e=>u(e.token)).join(" -> ")+")"}return""}function zl(e,t,n,r){const i=[t],s=n(i),o=r?function(e,t){const n=`${e} caused by: ${t instanceof Error?t.message:t}`,r=Error(n);return r.ngOriginalError=t,r}(s,r):Error(s);return o.addKey=Hl,o.keys=i,o.injectors=[e],o.constructResolvingMessage=n,o.ngOriginalError=r,o}function Hl(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function ql(e,t){const n=[];for(let r=0,i=t.length;r<i;r++){const e=t[r];e&&0!=e.length?n.push(e.map(u).join(" ")):n.push("?")}return Error("Cannot resolve all parameters for '"+u(e)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+u(e)+"' is decorated with Injectable.")}function Gl(e,t){return Error(`Cannot mix multi providers and regular providers, got: ${e} ${t}`)}class Wl{constructor(e,t){if(this.token=e,this.id=t,!e)throw new Error("Token must be defined!");this.displayName=u(this.token)}static get(e){return Ql.get(f(e))}static get numberOfKeys(){return Ql.numberOfKeys}}const Ql=new class{constructor(){this._allKeys=new Map}get(e){if(e instanceof Wl)return e;if(this._allKeys.has(e))return this._allKeys.get(e);const t=new Wl(e,Wl.numberOfKeys);return this._allKeys.set(e,t),t}get numberOfKeys(){return this._allKeys.size}};const Kl=new class{constructor(e){this.reflectionCapabilities=e}updateCapabilities(e){this.reflectionCapabilities=e}factory(e){return this.reflectionCapabilities.factory(e)}parameters(e){return this.reflectionCapabilities.parameters(e)}annotations(e){return this.reflectionCapabilities.annotations(e)}propMetadata(e){return this.reflectionCapabilities.propMetadata(e)}hasLifecycleHook(e,t){return this.reflectionCapabilities.hasLifecycleHook(e,t)}getter(e){return this.reflectionCapabilities.getter(e)}setter(e){return this.reflectionCapabilities.setter(e)}method(e){return this.reflectionCapabilities.method(e)}importUri(e){return this.reflectionCapabilities.importUri(e)}resourceUri(e){return this.reflectionCapabilities.resourceUri(e)}resolveIdentifier(e,t,n,r){return this.reflectionCapabilities.resolveIdentifier(e,t,n,r)}resolveEnum(e,t){return this.reflectionCapabilities.resolveEnum(e,t)}}(new lr);class Xl{constructor(e,t,n){this.key=e,this.optional=t,this.visibility=n}static fromKey(e){return new Xl(e,!1,null)}}const Yl=[];class Zl{constructor(e,t,n){this.key=e,this.resolvedFactories=t,this.multiProvider=n,this.resolvedFactory=this.resolvedFactories[0]}}class Jl{constructor(e,t){this.factory=e,this.dependencies=t}}function ec(e){let t,n;if(e.useClass){const r=f(e.useClass);t=Kl.factory(r),n=ic(r)}else e.useExisting?(t=e=>e,n=[Xl.fromKey(Wl.get(e.useExisting))]):e.useFactory?(t=e.useFactory,n=function(e,t){if(t){const n=t.map(e=>[e]);return t.map(t=>sc(e,t,n))}return ic(e)}(e.useFactory,e.deps)):(t=()=>e.useValue,n=Yl);return new Jl(t,n)}function tc(e){return new Zl(Wl.get(e.provide),[ec(e)],e.multi||!1)}function nc(e){const t=function(e,t){for(let n=0;n<e.length;n++){const r=e[n],i=t.get(r.key.id);if(i){if(r.multiProvider!==i.multiProvider)throw Gl(i,r);if(r.multiProvider)for(let e=0;e<r.resolvedFactories.length;e++)i.resolvedFactories.push(r.resolvedFactories[e]);else t.set(r.key.id,r)}else{let e;e=r.multiProvider?new Zl(r.key,r.resolvedFactories.slice(),r.multiProvider):r,t.set(r.key.id,e)}}return t}(rc(e,[]).map(tc),new Map);return Array.from(t.values())}
1function rc(e,t){return e.forEach(e=>{if(e instanceof Wn)t.push({provide:e,useClass:e});else if(e&&"object"==typeof e&&void 0!==e.provide)t.push(e);else{if(!Array.isArray(e))throw Error(`Invalid provider - only instances of Provider and Type are allowed, got: ${e}`);rc(e,t)}}),t}function ic(e){const t=Kl.parameters(e);if(!t)return[];if(t.some(e=>null==e))throw ql(e,t);return t.map(n=>sc(e,n,t))}function sc(e,t,n){let r=null,i=!1;if(!Array.isArray(t))return oc(t instanceof Er?t.token:t,i,null);let s=null;for(let o=0;o<t.length;++o){const e=t[o];e instanceof Wn?r=e:e instanceof Er?r=e.token:e instanceof Ar?i=!0:e instanceof kr||e instanceof Ir?s=e:e instanceof jn&&(r=e)}if(r=f(r),null!=r)return oc(r,i,s);throw ql(e,n)}function oc(e,t,n){return new Xl(Wl.get(e),t,n)}const ac={};class lc{static resolve(e){return nc(e)}static resolveAndCreate(e,t){const n=lc.resolve(e);return lc.fromResolvedProviders(n,t)}static fromResolvedProviders(e,t){return new cc(e,t)}}class cc{constructor(e,t){this._constructionCounter=0,this._providers=e,this.parent=t||null;const n=e.length;this.keyIds=[],this.objs=[];for(let r=0;r<n;r++)this.keyIds[r]=e[r].key.id,this.objs[r]=ac}get(e,t=hr){return this._getByKey(Wl.get(e),null,t)}resolveAndCreateChild(e){const t=lc.resolve(e);return this.createChildFromResolved(t)}createChildFromResolved(e){const t=new cc(e);return t.parent=this,t}resolveAndInstantiate(e){return this.instantiateResolved(lc.resolve([e])[0])}instantiateResolved(e){return this._instantiateProvider(e)}getProviderAtIndex(e){if(e<0||e>=this._providers.length)throw function(e){return Error(`Index ${e} is out-of-bounds.`)}(e);return this._providers[e]}_new(e){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw t=this,n=e.key,zl(t,n,function(e){return`Cannot instantiate cyclic dependency!${Ul(e)}`});var t,n;return this._instantiateProvider(e)}_getMaxNumberOfObjects(){return this.objs.length}_instantiateProvider(e){if(e.multiProvider){const t=[];for(let n=0;n<e.resolvedFactories.length;++n)t[n]=this._instantiate(e,e.resolvedFactories[n]);return t}return this._instantiate(e,e.resolvedFactories[0])}_instantiate(e,t){const n=t.factory;let r,i;try{r=t.dependencies.map(e=>this._getByReflectiveDependency(e))}catch(l){throw l.addKey&&l.addKey(this,e.key),l}try{i=n(...r)}catch(l){throw s=this,o=l,l.stack,a=e.key,zl(s,a,function(e){const t=u(e[0].token);return`${o.message}: Error during instantiation of ${t}!${Ul(e)}.`},o)}var s,o,a;return i}_getByReflectiveDependency(e){return this._getByKey(e.key,e.visibility,e.optional?null:hr)}_getByKey(e,t,n){return e===cc.INJECTOR_KEY?this:t instanceof kr?this._getByKeySelf(e,n):this._getByKeyDefault(e,n,t)}_getObjByKeyId(e){for(let t=0;t<this.keyIds.length;t++)if(this.keyIds[t]===e)return this.objs[t]===ac&&(this.objs[t]=this._new(this._providers[t])),this.objs[t];return ac}_throwOrNull(e,t){if(t!==hr)return t;throw function(e,t){return zl(e,t,function(e){return`No provider for ${u(e[0].token)}!${Ul(e)}`})}(this,e)}_getByKeySelf(e,t){const n=this._getObjByKeyId(e.id);return n!==ac?n:this._throwOrNull(e,t)}_getByKeyDefault(e,t,n){let r;for(r=n instanceof Ir?this.parent:this;r instanceof cc;){const t=r,n=t._getObjByKeyId(e.id);if(n!==ac)return n;r=t.parent}return null!==r?r.get(e.token,t):this._throwOrNull(e,t)}get displayName(){return`ReflectiveInjector(providers: [${function(e,t){const n=[];for(let r=0;r<e._providers.length;++r)n[r]=t(e.getProviderAtIndex(r));return n}(this,e=>' "'+e.key.displayName+'" ').join(", ")}])`}toString(){return this.displayName}}function uc(e,t=R.Default){const n=at();if(null===n)return yr(e,t);return vn(ut(),n,f(e),t)}function hc(){throw new Error("invalid")}function dc(e,t,n){const r=at(),i=_t();if(ul(r,i,t)){const i=lt(),s=$t();Vo(i,s,r,e,t,r[11],n,!1)}return dc}function pc(e,t,n,r,i){const s=i?"class":"style";ma(e,n,t.inputs[s],s,r)}function fc(e,t,n,r,i,s,o){const a=t.consts,l=Ao(t,e,2,i,et(a,s));Uo(t,n,l,et(a,o));return null!==l.attrs&&va(l,l.attrs,!1),null!==l.mergedAttrs&&va(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}function mc(e,t,n,r){const i=at(),s=lt(),o=be+e,a=i[11],l=i[o]=As(a,t,rt.lFrame.currentNamespace),c=s.firstCreatePass?fc(o,s,i,0,t,n,r):s.data[o];pt(c,!0);const u=c.mergedAttrs;null!==u&&Zt(a,l,u);const h=c.classes;null!==h&&Zs(a,l,h);const d=c.styles;null!==d&&Ys(a,l,d),64!=(64&c.flags)&&zs(s,i,l,c),0===rt.lFrame.elementDepthCount&&is(l,i),rt.lFrame.elementDepthCount++,Ee(c)&&(No(s,i,c),Mo(s,c,i)),null!==r&&Ro(i,c)}function gc(){let e=ut();ft()?mt():(e=e.parent,pt(e,!1));const t=e;rt.lFrame.elementDepthCount--;const n=lt();n.firstCreatePass&&(Ht(n,e),Ce(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&pc(n,t,at(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&pc(n,t,at(),t.stylesWithoutHost,!1)}function vc(e,t,n,r){mc(e,t,n,r),gc()}function yc(e,t,n){const r=at(),i=lt(),s=e+be,o=i.firstCreatePass?function(e,t,n,r,i){const s=t.consts,o=et(s,r),a=Ao(t,e,8,"ng-container",o);return null!==o&&va(a,o,!0),Uo(t,n,a,et(s,i)),null!==t.queries&&t.queries.elementStart(t,a),a}
1(s,i,r,t,n):i.data[s];pt(o,!0);const a=r[s]=r[11].createComment("");zs(i,r,a,o),is(a,r),Ee(o)&&(No(i,r,o),Mo(i,o,r)),null!=n&&Ro(r,o)}function bc(){let e=ut();const t=lt();ft()?mt():(e=e.parent,pt(e,!1)),t.firstCreatePass&&(Ht(t,e),Ce(e)&&t.queries.elementEnd(e))}function wc(e,t,n){yc(e,t,n),bc()}function _c(){return at()}function xc(e){return!!e&&"function"==typeof e.then}function Cc(e){return!!e&&"function"==typeof e.subscribe}cc.INJECTOR_KEY=Wl.get(Na);const Sc=Cc;function Ec(e,t,n=!1,r){const i=at(),s=lt(),o=ut();return kc(s,i,i[11],o,e,t,n,r),Ec}function Ac(e,t,n=!1,r){const i=ut(),s=at(),o=lt();return kc(o,s,pa(At(o.data),i,s),i,e,t,n,r),Ac}function kc(e,t,n,r,i,s,o=!1,a){const l=Ee(r),c=e.firstCreatePass&&da(e),u=t[8],h=ha(t);let d=!0;if(3&r.type){const p=Ge(r,t),f=a?a(p):Q,m=f.target||p,g=h.length,v=a?e=>a(He(e[r.index])).target:r.index;if(Ue(n)){let o=null;if(!a&&l&&(o=function(e,t,n,r){const i=e.cleanup;if(null!=i)for(let s=0;s<i.length-1;s+=2){const e=i[s];if(e===n&&i[s+1]===r){const e=t[7],n=i[s+2];return e.length>n?e[n]:null}"string"==typeof e&&(s+=2)}return null}(e,t,i,r.index)),null!==o){(o.__ngLastListenerFn__||o).__ngNextListenerFn__=s,o.__ngLastListenerFn__=s,d=!1}else{s=Tc(r,t,u,s,!1);const e=n.listen(f.name||m,i,s);h.push(s,e),c&&c.push(i,v,g,g+1)}}else s=Tc(r,t,u,s,!0),m.addEventListener(i,s,o),h.push(s),c&&c.push(i,v,g,o)}else s=Tc(r,t,u,s,!1);const p=r.outputs;let f;if(d&&null!==p&&(f=p[i])){const e=f.length;if(e)for(let n=0;n<e;n+=2){const e=f[n],o=f[n+1],a=t[e],l=a[o];0;const u=l.subscribe(s),d=h.length;h.push(s,u),c&&c.push(i,r.index,d,-(d+1))}}}function Ic(e,t,n,r){try{return Re(6,t,n),!1!==n(r)}catch(i){return fa(e,i),!1}finally{Re(7,t,n)}}function Tc(e,t,n,r,i){return function s(o){if(o===Function)return r;const a=2&e.flags?Ke(e.index,t):t;0==(32&t[2])&&sa(a);let l=Ic(t,n,r,o),c=s.__ngNextListenerFn__;for(;c;)l=Ic(t,n,c,o)&&l,c=c.__ngNextListenerFn__;return i&&!1===l&&(o.preventDefault(),o.returnValue=!1),l}}function Oc(e=1){return jt(e)}function Dc(e,t){let n=null;const r=function(e){const t=e.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(e);for(let i=0;i<t.length;i++){const s=t[i];if("*"!==s){if(null===r?ao(e,s,!0):lo(r,s))return i}else n=i}return n}function Pc(e){const t=at()[16][6];if(!t.projection){const n=e?e.length:1,r=t.projection=Jn(n,null),i=r.slice();let s=t.child;for(;null!==s;){const t=e?Dc(s,e):0;null!==t&&(i[t]?i[t].projectionNext=s:r[t]=s,i[t]=s),s=s.next}}}function Mc(e,t=0,n){const r=at(),i=lt(),s=Ao(i,be+e,16,null,n||null);null===s.projection&&(s.projection=t),mt(),64!=(64&s.flags)&&function(e,t,n){Xs(t[11],0,t,n,Ps(e,n,t),Fs(n.parent||t[6],n,t))}(i,r,s)}function Nc(e,t,n){return Rc(e,"",t,"",n),Nc}function Rc(e,t,n,r,i){const s=at(),o=gl(s,t,n,r);if(o!==ho){const t=lt(),n=$t();Vo(t,n,s,e,o,s[11],i,!1)}return Rc}function Lc(e,t,n,r,i,s,o){const a=at(),l=vl(a,t,n,r,i,s);if(l!==ho){const t=lt(),n=$t();Vo(t,n,a,e,l,a[11],o,!1)}return Lc}function jc(e,t,n,r,i,s,o,a,l){const c=at(),u=yl(c,t,n,r,i,s,o,a);if(u!==ho){const t=lt(),n=$t();Vo(t,n,c,e,u,c[11],l,!1)}return jc}function Fc(e,t,n,r,i,s,o,a,l,c,u){const h=at(),d=bl(h,t,n,r,i,s,o,a,l,c);if(d!==ho){const t=lt(),n=$t();Vo(t,n,h,e,d,h[11],u,!1)}return Fc}function Bc(e,t,n,r,i,s,o,a,l,c,u,h,d){const p=at(),f=wl(p,t,n,r,i,s,o,a,l,c,u,h);if(f!==ho){const t=lt(),n=$t();Vo(t,n,p,e,f,p[11],d,!1)}return Bc}function $c(e,t,n,r,i,s,o,a,l,c,u,h,d,p,f){const m=at(),g=_l(m,t,n,r,i,s,o,a,l,c,u,h,d,p);if(g!==ho){const t=lt(),n=$t();Vo(t,n,m,e,g,m[11],f,!1)}return $c}function Vc(e,t,n,r,i,s,o,a,l,c,u,h,d,p,f,m,g){const v=at(),y=xl(v,t,n,r,i,s,o,a,l,c,u,h,d,p,f,m);if(y!==ho){const t=lt(),n=$t();Vo(t,n,v,e,y,v[11],g,!1)}return Vc}function Uc(e,t,n,r,i,s,o,a,l,c,u,h,d,p,f,m,g,v,y){const b=at(),w=Cl(b,t,n,r,i,s,o,a,l,c,u,h,d,p,f,m,g,v);if(w!==ho){const t=lt(),n=$t();Vo(t,n,b,e,w,b[11],y,!1)}return Uc}function zc(e,t,n){const r=at(),i=ml(r,t);if(i!==ho){const t=lt(),s=$t();Vo(t,s,r,e,i,r[11],n,!1)}return zc}function Hc(e,t,n,r,i,s){let o=s?t.classBindings:t.styleBindings,a=go(o),l=bo(o);e[r]=n;let c,u=!1;if(Array.isArray(n)){const e=n;c=e[1],(null===c||nr(e,c)>0)&&(u=!0)}else c=n;if(i){if(0!==l){const t=go(e[a+1]);e[r+1]=mo(t,a),0!==t&&(e[t+1]=wo(e[t+1],r)),e[a+1]=131071&e[a+1]|r<<17}else e[r+1]=mo(a,0),0!==a&&(e[a+1]=wo(e[a+1],r)),a=r}else e[r+1]=mo(l,0),0===a?a=r:e[l+1]=wo(e[l+1],r),l=r;u&&(e[r+1]=yo(e[r+1])),qc(e,c,r,!0,s),qc(e,c,r,!1,s),function(e,t,n,r,i){const s=i?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&nr(s,t)>=0&&(n[r+1]=xo(n[r+1]))}(t,c,e,r,s),o=mo(a,l),s?t.classBindings=o:t.styleBindings=o}function qc(e,t,n,r,i){const s=e[n+1],o=null===t;let a=r?go(s):bo(s),l=!1;for(;0!==a&&(!1===l||o);){const n=e[a],i=e[a+1];Gc(n,t)&&(l=!0,e[a+1]=r?xo(i):yo(i)),a=r?go(i):bo(i)}l&&(e[n+1]=r?yo(s):xo(s))}function Gc(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&nr(e,t)>=0}const Wc={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0}
1;function Qc(e){return e.substring(Wc.key,Wc.keyEnd)}function Kc(e){return e.substring(Wc.value,Wc.valueEnd)}function Xc(e,t){const n=Wc.textEnd;return n===t?-1:(t=Wc.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Wc.key=t,n),Jc(e,t,n))}function Yc(e,t){const n=Wc.textEnd;let r=Wc.key=Jc(e,t,n);return n===r?-1:(r=Wc.keyEnd=function(e,t,n){let r;for(;t<n&&(45===(r=e.charCodeAt(t))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,n),r=eu(e,r,n,58),r=Wc.value=Jc(e,r,n),r=Wc.valueEnd=function(e,t,n){let r=-1,i=-1,s=-1,o=t,a=o;for(;o<n;){const l=e.charCodeAt(o++);if(59===l)return a;34===l||39===l?a=o=tu(e,l,o,n):t===o-4&&85===s&&82===i&&76===r&&40===l?a=o=tu(e,41,o,n):l>32&&(a=o),s=i,i=r,r=-33&l}return a}(e,r,n),eu(e,r,n,59))}function Zc(e){Wc.key=0,Wc.keyEnd=0,Wc.value=0,Wc.valueEnd=0,Wc.textEnd=e.length}function Jc(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function eu(e,t,n,r){return(t=Jc(e,t,n))<n&&t++,t}function tu(e,t,n,r){let i=-1,s=n;for(;s<r;){const n=e.charCodeAt(s++);if(n==t&&92!==i)return s;i=92==n&&92===i?0:n}throw new Error}function nu(e,t,n){return lu(e,t,n,!1),nu}function ru(e,t){return lu(e,t,null,!0),ru}function iu(e){cu(fu,su,e,!1)}function su(e,t){for(let n=function(e){return Zc(e),Yc(e,Jc(e,0,Wc.textEnd))}(t);n>=0;n=Yc(t,n))fu(e,Qc(t),Kc(t))}function ou(e){cu(er,au,e,!0)}function au(e,t){for(let n=function(e){return Zc(e),Xc(e,Jc(e,0,Wc.textEnd))}(t);n>=0;n=Xc(t,n))er(e,Qc(t),!0)}function lu(e,t,n,r){const i=at(),s=lt(),o=xt(2);if(s.firstUpdatePass&&hu(s,e,o,r),t!==ho&&ul(i,o,t)){mu(s,s.data[Ft()],i,i[11],e,i[o+1]=function(e,t){null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=u(Jr(e))));return e}(t,n),r,o)}}function cu(e,t,n,r){const i=lt(),s=xt(2);i.firstUpdatePass&&hu(i,null,s,r);const o=at();if(n!==ho&&ul(o,s,n)){const a=i.data[Ft()];if(yu(a,r)&&!uu(i,s)){0;let e=r?a.classesWithoutHost:a.stylesWithoutHost;null!==e&&(n=h(e,n||"")),pc(i,a,o,n,r)}else!function(e,t,n,r,i,s,o,a){i===ho&&(i=K);let l=0,c=0,u=0<i.length?i[0]:null,h=0<s.length?s[0]:null;for(;null!==u||null!==h;){const d=l<i.length?i[l+1]:void 0,p=c<s.length?s[c+1]:void 0;let f,m=null;u===h?(l+=2,c+=2,d!==p&&(m=h,f=p)):null===h||null!==u&&u<h?(l+=2,m=u):(c+=2,m=h,f=p),null!==m&&mu(e,t,n,r,m,f,o,a),u=l<i.length?i[l]:null,h=c<s.length?s[c]:null}}(i,a,o,o[11],o[s+1],o[s+1]=function(e,t,n){if(null==n||""===n)return K;const r=[],i=Jr(n);if(Array.isArray(i))for(let s=0;s<i.length;s++)e(r,i[s],!0);else if("object"==typeof i)for(const s in i)i.hasOwnProperty(s)&&e(r,s,i[s]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,s)}}function uu(e,t){return t>=e.expandoStartIndex}function hu(e,t,n,r){const i=e.data;if(null===i[n+1]){const s=i[Ft()],o=uu(e,n);yu(s,r)&&null===t&&!o&&(t=!1),t=function(e,t,n,r){const i=At(e);let s=r?t.residualClasses:t.residualStyles;if(null===i){0===(r?t.classBindings:t.styleBindings)&&(n=pu(n=du(null,e,t,n,r),t.attrs,r),s=null)}else{const o=t.directiveStylingLast;if(-1===o||e[o]!==i)if(n=du(i,e,t,n,r),null===s){let n=function(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0===bo(r))return;return e[go(r)]}(e,t,r);void 0!==n&&Array.isArray(n)&&(n=du(null,e,t,n[1],r),n=pu(n,t.attrs,r),function(e,t,n,r){const i=n?t.classBindings:t.styleBindings;e[go(i)]=r}(e,t,r,n))}else s=function(e,t,n){let r;const i=t.directiveEnd;for(let s=1+t.directiveStylingLast;s<i;s++){r=pu(r,e[s].hostAttrs,n)}return pu(r,t.attrs,n)}(e,t,r)}void 0!==s&&(r?t.residualClasses=s:t.residualStyles=s);return n}(i,s,t,r),Hc(i,s,t,n,o,r)}}function du(e,t,n,r,i){let s=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<o&&(s=t[a],r=pu(r,s.hostAttrs,i),s!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function pu(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let s=0;s<t.length;s++){const o=t[s];"number"==typeof o?i=o:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),er(e,o,!!n||t[++s]))}return void 0===e?null:e}function fu(e,t,n){er(e,t,Jr(n))}function mu(e,t,n,r,i,s,o,a){if(!(3&t.type))return;const l=e.data,c=l[a+1];if(!vu(_o(c)?gu(l,t,n,i,bo(c),o):void 0)){vu(s)||vo(c)&&(s=gu(l,null,n,i,a,o));!function(e,t,n,r,i){const s=Ue(e);if(t)i?s?e.addClass(n,r):n.classList.add(r):s?e.removeClass(n,r):n.classList.remove(r);else{let t=-1===r.indexOf("-")?void 0:ms.DashCase;if(null==i)s?e.removeStyle(n,r,t):n.style.removeProperty(r);else{const o="string"==typeof i&&i.endsWith("!important");o&&(i=i.slice(0,-10),t|=ms.Important),s?e.setStyle(n,r,i,t):n.style.setProperty(r,i,o?"important":"")}}}(r,o,qe(Ft(),n),i,s)}}function gu(e,t,n,r,i,s){const o=null===t;let a;for(;i>0;){const t=e[i],s=Array.isArray(t),l=s?t[1]:t,c=null===l;let u=n[i+1];u===ho&&(u=c?K:void 0);let h=c?tr(u,r):l===r?u:void 0;if(s&&!vu(h)&&(h=tr(t,r)),vu(h)&&(a=h,o))return a;const d=e[i+1];i=o?go(d):bo(d)}if(null!==t){let e=s?t.residualClasses:t.residualStyles;null!=e&&(a=tr(e,r))}return a}function vu(e){return void 0!==e}function yu(e,t){return 0!=(e.flags&(t?16:32))}function bu(e,t=""){const n=at(),r=lt(),i=e+be,s=r.firstCreatePass?Ao(r,i,1,t,null):r.data[i],o=n[i]=Cs(n[11],t);zs(r,n,o,s),pt(s,!1)}function wu(e){return _u("",e,""),wu}function _u(e,t,n){const r=at(),i=gl(r,e,t,n);return i!==ho&&ga(r,Ft(),i),_u}
1function xu(e,t,n,r,i){const s=at(),o=vl(s,e,t,n,r,i);return o!==ho&&ga(s,Ft(),o),xu}function Cu(e,t,n,r,i,s,o){const a=at(),l=yl(a,e,t,n,r,i,s,o);return l!==ho&&ga(a,Ft(),l),Cu}function Su(e,t,n,r,i,s,o,a,l){const c=at(),u=bl(c,e,t,n,r,i,s,o,a,l);return u!==ho&&ga(c,Ft(),u),Su}function Eu(e,t,n,r,i,s,o,a,l,c,u){const h=at(),d=wl(h,e,t,n,r,i,s,o,a,l,c,u);return d!==ho&&ga(h,Ft(),d),Eu}function Au(e,t,n,r,i,s,o,a,l,c,u,h,d){const p=at(),f=_l(p,e,t,n,r,i,s,o,a,l,c,u,h,d);return f!==ho&&ga(p,Ft(),f),Au}function ku(e,t,n,r,i,s,o,a,l,c,u,h,d,p,f){const m=at(),g=xl(m,e,t,n,r,i,s,o,a,l,c,u,h,d,p,f);return g!==ho&&ga(m,Ft(),g),ku}function Iu(e,t,n,r,i,s,o,a,l,c,u,h,d,p,f,m,g){const v=at(),y=Cl(v,e,t,n,r,i,s,o,a,l,c,u,h,d,p,f,m,g);return y!==ho&&ga(v,Ft(),y),Iu}function Tu(e){const t=at(),n=ml(t,e);return n!==ho&&ga(t,Ft(),n),Tu}function Ou(e,t,n){cu(er,au,gl(at(),e,t,n),!0)}function Du(e,t,n,r,i){cu(er,au,vl(at(),e,t,n,r,i),!0)}function Pu(e,t,n,r,i,s,o){cu(er,au,yl(at(),e,t,n,r,i,s,o),!0)}function Mu(e,t,n,r,i,s,o,a,l){cu(er,au,bl(at(),e,t,n,r,i,s,o,a,l),!0)}function Nu(e,t,n,r,i,s,o,a,l,c,u){cu(er,au,wl(at(),e,t,n,r,i,s,o,a,l,c,u),!0)}function Ru(e,t,n,r,i,s,o,a,l,c,u,h,d){cu(er,au,_l(at(),e,t,n,r,i,s,o,a,l,c,u,h,d),!0)}function Lu(e,t,n,r,i,s,o,a,l,c,u,h,d,p,f){cu(er,au,xl(at(),e,t,n,r,i,s,o,a,l,c,u,h,d,p,f),!0)}function ju(e,t,n,r,i,s,o,a,l,c,u,h,d,p,f,m,g){cu(er,au,Cl(at(),e,t,n,r,i,s,o,a,l,c,u,h,d,p,f,m,g),!0)}function Fu(e){cu(er,au,ml(at(),e),!0)}function Bu(e,t,n){iu(gl(at(),e,t,n))}function $u(e,t,n,r,i){iu(vl(at(),e,t,n,r,i))}function Vu(e,t,n,r,i,s,o){iu(yl(at(),e,t,n,r,i,s,o))}function Uu(e,t,n,r,i,s,o,a,l){iu(bl(at(),e,t,n,r,i,s,o,a,l))}function zu(e,t,n,r,i,s,o,a,l,c,u){iu(wl(at(),e,t,n,r,i,s,o,a,l,c,u))}function Hu(e,t,n,r,i,s,o,a,l,c,u,h,d){iu(_l(at(),e,t,n,r,i,s,o,a,l,c,u,h,d))}function qu(e,t,n,r,i,s,o,a,l,c,u,h,d,p,f){iu(xl(at(),e,t,n,r,i,s,o,a,l,c,u,h,d,p,f))}function Gu(e,t,n,r,i,s,o,a,l,c,u,h,d,p,f,m,g){iu(Cl(at(),e,t,n,r,i,s,o,a,l,c,u,h,d,p,f,m,g))}function Wu(e){iu(ml(at(),e))}function Qu(e,t,n,r,i){return lu(e,gl(at(),t,n,r),i,!1),Qu}function Ku(e,t,n,r,i,s,o){return lu(e,vl(at(),t,n,r,i,s),o,!1),Ku}function Xu(e,t,n,r,i,s,o,a,l){return lu(e,yl(at(),t,n,r,i,s,o,a),l,!1),Xu}function Yu(e,t,n,r,i,s,o,a,l,c,u){return lu(e,bl(at(),t,n,r,i,s,o,a,l,c),u,!1),Yu}function Zu(e,t,n,r,i,s,o,a,l,c,u,h,d){return lu(e,wl(at(),t,n,r,i,s,o,a,l,c,u,h),d,!1),Zu}function Ju(e,t,n,r,i,s,o,a,l,c,u,h,d,p,f){return lu(e,_l(at(),t,n,r,i,s,o,a,l,c,u,h,d,p),f,!1),Ju}function eh(e,t,n,r,i,s,o,a,l,c,u,h,d,p,f,m,g){return lu(e,xl(at(),t,n,r,i,s,o,a,l,c,u,h,d,p,f,m),g,!1),eh}function th(e,t,n,r,i,s,o,a,l,c,u,h,d,p,f,m,g,v,y){return lu(e,Cl(at(),t,n,r,i,s,o,a,l,c,u,h,d,p,f,m,g,v),y,!1),th}function nh(e,t,n){return lu(e,ml(at(),t),n,!1),nh}function rh(e,t,n){const r=at(),i=_t();if(ul(r,i,t)){const i=lt(),s=$t();Vo(i,s,r,e,t,r[11],n,!0)}return rh}function ih(e,t,n){const r=at(),i=_t();if(ul(r,i,t)){const i=lt(),s=$t();Vo(i,s,r,e,t,pa(At(i.data),s,r),n,!0)}return ih}const sh=void 0;var oh=["en",[["a","p"],["AM","PM"],sh],[["AM","PM"],sh,sh],[["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"]],sh,[["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"]],sh,[["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}",sh,"{1} 'at' {0}",sh],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let ah={};function lh(e,t,n){"string"!=typeof t&&(n=t,t=e[ph.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),ah[t]=e,n&&(ah[t][ph.ExtraData]=n)}function ch(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=dh(t);if(n)return n;const r=t.split("-")[0];if(n=dh(r),n)return n;if("en"===r)return oh;throw new Error(`Missing locale data for the locale "${e}".`)}function uh(e){return ch(e)[ph.CurrencyCode]||null}function hh(e){return ch(e)[ph.PluralCase]}
1function dh(e){return e in ah||(ah[e]=W.ng&&W.ng.common&&W.ng.common.locales&&W.ng.common.locales[e]),ah[e]}var ph;!function(e){e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData"}(ph||(ph={}));const fh=["zero","one","two","few","many"];const mh="en-US",gh={marker:"element"},vh={marker:"ICU"};var yh;!function(e){e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT"}(yh||(yh={}));let bh=mh;function wh(e){C(e,"Expected localeId to be defined"),"string"==typeof e&&(bh=e.toLowerCase().replace(/_/g,"-"))}function _h(e,t,n){const r=t.insertBeforeIndex,i=Array.isArray(r)?r[0]:r;return null===i?Bs(e,0,n):He(n[i])}function xh(e,t,n,r,i){const s=t.insertBeforeIndex;if(Array.isArray(s)){let o=r,a=null;if(3&t.type||(a=o,o=i),null!==o&&0==(2&t.flags))for(let t=1;t<s.length;t++){Ns(e,o,n[s[t]],a,!1)}}}function Ch(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){const r=e[n];Sh(r)||Eh(r,t)&&null===Ah(r)&&kh(r,t.index)}}function Sh(e){return!(64&e.type)}function Eh(e,t){return Sh(t)||e.index>t.index}function Ah(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function kh(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(Us(_h,xh),e.insertBeforeIndex=t)}function Ih(e,t){const n=e.data[t];if(null===n||"string"==typeof n)return null;const r=n.hasOwnProperty("currentCaseLViewIndex")?n:n.value;return r}function Th(e,t,n){const r=ko(e,n,64,null,null);return Ch(t,r),r}function Oh(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}function Dh(e){return e>>>17}function Ph(e){return(131070&e)>>>1}let Mh=0,Nh=0;function Rh(e,t,n,r){const i=n[11];let s,o=null;for(let a=0;a<t.length;a++){const l=t[a];if("string"==typeof l){const e=t[++a];null===n[e]&&(n[e]=Cs(i,l))}else if("number"==typeof l)switch(1&l){case 0:const c=Dh(l);let u,h;if(null===o&&(o=c,s=js(i,r)),c===o?(u=r,h=s):(u=null,h=He(n[c])),null!==h){const t=Ph(l),r=n[t];Ns(i,h,r,u,!1);const s=Ih(e,t);if(null!==s&&"object"==typeof s){const t=Oh(s,n);null!==t&&Rh(e,s.create[t],n,n[s.anchorIdx])}}break;case 1:const d=l>>>1,p=t[++a],f=t[++a];Yo(i,qe(d,n),null,null,p,f,null);break;default:throw new Error(`Unable to determine the type of mutate operation for "${l}"`)}else switch(l){case vh:const e=t[++a],r=t[++a];if(null===n[r]){is(n[r]=Es(i,e),n)}break;case gh:const s=t[++a],o=t[++a];if(null===n[o]){is(n[o]=As(i,s,null),n)}}}}function Lh(e,t,n,r,i){for(let s=0;s<n.length;s++){const o=n[s],a=n[++s];if(o&i){let i="";for(let o=s+1;o<=s+a;o++){const s=n[o];if("string"==typeof s)i+=s;else if("number"==typeof s)if(s<0)i+=y(t[r-s]);else{const a=s>>>2;switch(3&s){case 1:const s=n[++o],l=n[++o],c=e.data[a];"string"==typeof c?Yo(t[11],t[a],null,c,s,i,l):Vo(e,c,t,s,i,t[11],l,!1);break;case 0:const u=t[a];null!==u&&Ss(t[11],u,i);break;case 2:Fh(e,Ih(e,a),t,i);break;case 3:jh(e,Ih(e,a),r,t)}}}}else{const i=n[s+1];if(i>0&&3==(3&i)){const n=Ih(e,i>>>2);t[n.currentCaseLViewIndex]<0&&jh(e,n,r,t)}}s+=a}}function jh(e,t,n,r){let i=r[t.currentCaseLViewIndex];if(null!==i){let s=Mh;i<0&&(i=r[t.currentCaseLViewIndex]=~i,s=-1),Lh(e,r,t.update[i],n,s)}}function Fh(e,t,n,r){const i=function(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const r=function(e,t){const n=hh(t)(parseInt(e,10)),r=fh[n];return void 0!==r?r:"other"}(t,bh);n=e.cases.indexOf(r),-1===n&&"other"!==r&&(n=e.cases.indexOf("other"));break}case 0:n=e.cases.indexOf("other")}return-1===n?null:n}(t,r);
1if(Oh(t,n)!==i&&(Bh(e,t,n),n[t.currentCaseLViewIndex]=null===i?null:~i,null!==i)){const r=n[t.anchorIdx];r&&Rh(e,t.create[i],n,r)}}function Bh(e,t,n){let r=Oh(t,n);if(null!==r){const i=t.remove[r];for(let t=0;t<i.length;t++){const r=i[t];if(r>0){const e=qe(r,n);null!==e&&Ws(n[11],e)}else Bh(e,Ih(e,~r),n)}}}function $h(){const e=[];let t,n,r=-1;function i(e,t){r=0;const i=Oh(e,t);n=null!==i?e.remove[i]:X}function s(){if(r<n.length){const o=n[r++];if(o>0){const e=t[o];return e}{e.push(r,n);const a=~o,l=t[1].data[a];return i(l,t),s()}}return 0===e.length?null:(n=e.pop(),r=e.pop(),s())}return function(n,r){for(t=r;e.length;)e.pop();return i(n.value,r),s}}const Vh=/\ufffd(\d+):?\d*\ufffd/gi,Uh=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,zh=/\ufffd(\d+)\ufffd/,Hh=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,qh=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,Gh=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,Wh=/\uE500/g;function Qh(e,t,n,r,i,s){const o=dt(),a=[],l=[],c=[[]];i=function(e,t){if(function(e){return-1===e}(t))return ed(e);{const n=e.indexOf(`:${t}\ufffd`)+2+t.toString().length,r=e.search(new RegExp(`\ufffd\\/\\*\\d+:${t}\ufffd`));return ed(e.substring(n,r))}}(i,s);const u=(h=i,h.replace(Wh," ")).split(Gh);var h;for(let d=0;d<u.length;d++){let r=u[d];if(0==(1&d)){const s=rd(r);for(let r=0;r<s.length;r++){let u=s[r];if(0==(1&r)){const t=u;""!==t&&Xh(e,o,c[0],a,l,n,t)}else{const r=u;if("object"!=typeof r)throw new Error(`Unable to parse ICU expression in "${i}" message.`);const s=Kh(e,o,c[0],n,a,"",!0).index;td(e,n,l,t,r,s)}}}else{const t=47===r.charCodeAt(0),n=(r.charCodeAt(t?1:0),be+Number.parseInt(r.substring(t?2:1)));if(t)c.shift(),pt(dt(),!1);else{const t=Th(e,c[0],n);c.unshift([]),pt(t,!0)}}}e.data[r]={create:a,update:l}}function Kh(e,t,n,r,i,s,o){const a=Io(e,r,1,null);let l=a<<yh.SHIFT,c=dt();var u;t===c&&(c=null),null===c&&(l|=yh.APPEND_EAGERLY),o&&(l|=yh.COMMENT,u=$h,void 0===gs&&(gs=u())),i.push(l,null===s?"":s);const h=ko(e,a,o?32:1,null===s?"":s,null);Ch(n,h);const d=h.index;return pt(h,!1),null!==c&&t!==c&&function(e,t){let n=e.insertBeforeIndex;null===n?(Us(_h,xh),n=e.insertBeforeIndex=[null,t]):(x(Array.isArray(n),!0,"Expecting array here"),n.push(t))}(c,d),h}function Xh(e,t,n,r,i,s,o){const a=o.match(Vh),l=Kh(e,t,n,s,r,a?null:o,!1);a&&Yh(i,o,l.index,null,0,null)}function Yh(e,t,n,r,i,s){const o=e.length,a=o+1;e.push(null,null);const l=o+2;const c=t.split(Vh);let u=0;for(let h=0;h<c.length;h++){const t=c[h];if(1&h){const n=i+parseInt(t,10);e.push(-1-n),u|=Jh(n)}else""!==t&&e.push(t)}return e.push(n<<2|(r?1:0)),r&&e.push(r,s),e[o]=u,e[a]=e.length-l,u}function Zh(e){let t=0;for(let n=0;n<e.length;n++){const r=e[n];"number"==typeof r&&r<0&&t++}return t}function Jh(e){return 1<<Math.min(e,31)}function ed(e){let t,n,r="",i=0,s=!1;for(;null!==(t=qh.exec(e));)s?t[0]===`\ufffd/*${n}\ufffd`&&(i=t.index,s=!1):(r+=e.substring(i,t.index+t[0].length),n=t[1],s=!0);return r+=e.substr(i),r}function td(e,t,n,r,i,s){let o=0;const a={type:i.type,currentCaseLViewIndex:Io(e,t,1,null),anchorIdx:s,cases:[],create:[],remove:[],update:[]};!function(e,t,n){e.push(Jh(t.mainBinding),2,-1-t.mainBinding,n<<2|2)}(n,i,s),function(e,t,n){const r=e.data[t];null===r?e.data[t]=n:r.value=n}(e,s,a);const l=i.values;for(let c=0;c<l.length;c++){const s=l[c],u=[];for(let e=0;e<s.length;e++){const t=s[e];if("string"!=typeof t){const n=u.push(t)-1;s[e]=`\x3c!--\ufffd${n}\ufffd--\x3e`}}o=id(e,a,t,n,r,i.cases[c],s.join(""),u)|o}o&&function(e,t,n){e.push(t,1,n<<2|3)}(n,o,s)}function nd(e){const t=[],n=[];let r=1,i=0;const s=rd(e=e.replace(Hh,function(e,t,n){return r="select"===n?0:1,i=parseInt(t.substr(1),10),""}));for(let o=0;o<s.length;){let e=s[o++].trim();1===r&&(e=e.replace(/\s*(?:=)?(\w+)\s*/,"$1")),e.length&&t.push(e);const i=rd(s[o++]);t.length>n.length&&n.push(i)}return{type:r,mainBinding:i,cases:t,values:n}}function rd(e){if(!e)return[];let t=0;const n=[],r=[],i=/[{}]/g;let s;for(i.lastIndex=0;s=i.exec(e);){const i=s.index;if("}"==s[0]){if(n.pop(),0==n.length){const n=e.substring(t,i);Hh.test(n)?r.push(nd(n)):r.push(n),t=i+1}}else{if(0==n.length){const n=e.substring(t,i);r.push(n),t=i+1}n.push("{")}}const o=e.substring(t);return r.push(o),r}function id(e,t,n,r,i,s,o,a){const l=[],c=[],u=[];t.cases.push(s),t.create.push(l),t.remove.push(c),t.update.push(u);
1const h=ai($e()).getInertBodyElement(o),d=Ri(h)||h;return d?sd(e,t,n,r,l,c,u,d,i,a,0):0}function sd(e,t,n,r,i,s,o,a,l,c,u){let h=0,d=a.firstChild;for(;d;){const a=Io(e,n,1,null);switch(d.nodeType){case Node.ELEMENT_NODE:const p=d,f=p.tagName.toLowerCase();if(xi.hasOwnProperty(f)){ld(i,gh,f,l,a),e.data[a]=f;const m=p.attributes;for(let e=0;e<m.length;e++){const t=m.item(e),n=t.name.toLowerCase();!!t.value.match(Vh)?ki.hasOwnProperty(n)&&(Ci[n]?Yh(o,t.value,a,t.name,0,di):Si[n]?Yh(o,t.value,a,t.name,0,pi):Yh(o,t.value,a,t.name,0,null)):cd(i,a,t)}h=sd(e,t,n,r,i,s,o,d,a,c,u+1)|h,od(s,a,u)}break;case Node.TEXT_NODE:const m=d.textContent||"",g=m.match(Vh);ld(i,null,g?"":m,l,a),od(s,a,u),g&&(h=Yh(o,m,a,null,0,null)|h);break;case Node.COMMENT_NODE:const v=zh.exec(d.textContent||"");if(v){const t=parseInt(v[1],10),o=c[t];ld(i,vh,"",l,a),td(e,n,r,l,o,a),ad(s,a,u)}}d=d.nextSibling}return h}function od(e,t,n){0===n&&e.push(t)}function ad(e,t,n){0===n&&(e.push(~t),e.push(t))}function ld(e,t,n,r,i){null!==t&&e.push(t),e.push(n,i,0|r<<17|i<<1)}function cd(e,t,n){e.push(t<<1|1,n.name,n.value)}const ud=/\[(\ufffd.+?\ufffd?)\]/,hd=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,dd=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,pd=/{([A-Z0-9_]+)}/g,fd=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,md=/\/\*/,gd=/\d+\:(\d+)/;function vd(e,t,n=-1){const r=lt(),i=at(),s=be+e,o=et(r.consts,t),a=dt();r.firstCreatePass&&Qh(r,null===a?0:a.index,i,s,o,n);const l=r.data[s],c=Ms(r,a===i[6]?null:a,i),u=a&&8&a.type?i[a.index]:null;!function(e,t,n,r){const i=e[11];for(let s=0;s<t.length;s++){const o=t[s++],a=t[s],l=(o&yh.COMMENT)===yh.COMMENT,c=(o&yh.APPEND_EAGERLY)===yh.APPEND_EAGERLY,u=o>>>yh.SHIFT;let h=e[u];null===h&&(h=e[u]=l?i.createComment(a):Cs(i,a)),c&&null!==n&&Ns(i,n,h,r,!1)}}(i,l.create,c,u),Ct(!0)}function yd(){Ct(!1)}function bd(e,t,n){vd(e,t,n),yd()}function wd(e,t){const n=lt(),r=et(n.consts,t);!function(e,t,n){const r=ut().index,i=[];if(e.firstCreatePass&&null===e.data[t]){for(let e=0;e<n.length;e+=2){const t=n[e],s=n[e+1];if(""!==s){if(Uh.test(s))throw new Error(`ICU expressions are not supported in attributes. Message: "${s}".`);Yh(i,s,r,t,Zh(i),null)}}e.data[t]=i}}(n,e+be,r)}function _d(e){const t=at();return ul(t,_t(),e)&&(Mh|=1<<Math.min(Nh,31)),Nh++,_d}function xd(e){!function(e,t,n){if(Nh>0){const r=e.data[n];Lh(e,t,Array.isArray(r)?r:r.update,bt()-Nh-1,Mh)}Mh=0,Nh=0}(lt(),at(),e+be)}function Cd(e,t={}){return function(e,t={}){let n=e;if(ud.test(e)){const e={},t=[0];n=n.replace(hd,(n,r,i)=>{const s=r||i,o=e[s]||[];if(o.length||(s.split("|").forEach(e=>{const t=e.match(gd),n=t?parseInt(t[1],10):0,r=md.test(e);o.push([n,r,e])}),e[s]=o),!o.length)throw new Error(`i18n postprocess: unmatched placeholder - ${s}`);const a=t[t.length-1];let l=0;for(let e=0;e<o.length;e++)if(o[e][0]===a){l=e;break}const[c,u,h]=o[l];return u?t.pop():a!==c&&t.push(c),o.splice(l,1),h})}return Object.keys(t).length?(n=n.replace(dd,(e,n,r,i,s,o)=>t.hasOwnProperty(r)?`${n}${t[r]}${o}`:e),n=n.replace(pd,(e,n)=>t.hasOwnProperty(n)?t[n]:e),n=n.replace(fd,(e,n)=>{if(t.hasOwnProperty(n)){const r=t[n];if(!r.length)throw new Error(`i18n postprocess: unmatched ICU - ${e} with key: ${n}`);return r.shift()}return e}),n):n}(e,t)}function Sd(e,t,n,r,i){if(e=f(e),Array.isArray(e))for(let s=0;s<e.length;s++)Sd(e[s],t,n,r,i);else{const s=lt(),o=at();let a=Pa(e)?e:f(e.provide),l=Ta(e);const c=ut(),u=1048575&c.providerIndexes,h=c.directiveStart,d=c.providerIndexes>>20;if(Pa(e)||!e.multi){const r=new Yt(l,i,uc),p=kd(a,t,i?u:u+d,h);-1===p?(fn(un(c,o),s,a),Ed(s,e,t.length),t.push(a),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),n.push(r),o.push(r)):(n[p]=r,o[p]=r)}else{const p=kd(a,t,u+d,h),f=kd(a,t,u,u+d),m=p>=0&&n[p],g=f>=0&&n[f];if(i&&!g||!i&&!m){fn(un(c,o),s,a);const u=function(e,t,n,r,i){const s=new Yt(e,n,uc);return s.multi=[],s.index=t,s.componentProviders=0,Ad(s,i,r&&!n),s}(i?Td:Id,n.length,i,r,l);!i&&g&&(n[f].providerFactory=u),Ed(s,e,t.length,0),t.push(a),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),n.push(u),o.push(u)}else{Ed(s,e,p>-1?p:f,Ad(n[i?f:p],l,!i&&r))}!i&&r&&g&&n[f].componentProviders++}}}function Ed(e,t,n,r){const i=Pa(t);if(i||t.useClass){const s=(t.useClass||t).prototype.ngOnDestroy;if(s){const o=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const e=o.indexOf(n);-1===e?o.push(n,[r,s]):o[e+1].push(r,s)}else o.push(n,s)}}}function Ad(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function kd(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function Id(e,t,n,r){return Od(this.multi,[])}function Td(e,t,n,r){const i=this.multi;let s;if(this.providerFactory){const e=this.providerFactory.componentProviders,t=xn(n,n[1],this.providerFactory.index,r);s=t.slice(0,e),Od(i,s);for(let n=e;n<t.length;n++)s.push(t[n])}else s=[],Od(i,s);return s}function Od(e,t){for(let n=0;n<e.length;n++){const r=e[n];t.push(r())}return t}function Dd(e,t=[]){return n=>{n.providersResolver=(n,r)=>function(e,t,n){const r=lt();if(r.firstCreatePass){const i=Ae(e);Sd(n,r.data,r.blueprint,i,!0),Sd(t,r.data,r.blueprint,i,!1)}}(n,r?r(e):e,t)}}class Pd{}class Md{}function Nd(e){const t=Error(`No component factory found for ${u(e)}. Did you add it to @NgModule.entryComponents?`);return t[Rd]=e,t}const Rd="ngComponent";class Ld{}
1Ld.NULL=new class{resolveComponentFactory(e){throw Nd(e)}};class jd{constructor(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(let r=0;r<e.length;r++){const t=e[r];this._factories.set(t.componentType,t)}}resolveComponentFactory(e){let t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw Nd(e);return new Fd(t,this._ngModule)}}class Fd extends Md{constructor(e,t){super(),this.factory=e,this.ngModule=t,this.selector=e.selector,this.componentType=e.componentType,this.ngContentSelectors=e.ngContentSelectors,this.inputs=e.inputs,this.outputs=e.outputs}create(e,t,n,r){return this.factory.create(e,t,n,r||this.ngModule)}}function Bd(...e){}function $d(e,t){return new Ud(Ge(e,t))}const Vd=function(){return $d(ut(),at())};class Ud{constructor(e){this.nativeElement=e}}function zd(e){return e instanceof Ud?e.nativeElement:e}Ud.__NG_ELEMENT_ID__=Vd;new jn("Renderer2Interceptor");class Hd{}class qd{}qd.__NG_ELEMENT_ID__=()=>Gd();const Gd=function(){const e=at(),t=Ke(ut().index,e);return function(e){const t=e[11];0;return t}(_e(t)?t:e)};class Wd{}Wd.\u0275prov=E({token:Wd,providedIn:"root",factory:()=>null});class Qd{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const Kd=new Qd("11.2.14");class Xd{constructor(){}supports(e){return ol(e)}create(e){return new Zd(e)}}const Yd=(e,t)=>t;class Zd{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||Yd}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,r=0,i=null;for(;t||n;){const s=!n||t&&t.currentIndex<np(n,r,i)?t:n,o=np(s,r,i),a=s.currentIndex;if(s===n)r--,n=n._nextRemoved;else if(t=t._next,null==s.previousIndex)r++;else{i||(i=[]);const e=o-r,t=a-r;if(e!=t){for(let n=0;n<e;n++){const r=n<i.length?i[n]:i[n]=0,s=r+n;t<=s&&s<e&&(i[n]=r+1)}i[s.previousIndex]=t-e}}o!==a&&e(s,o,a)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}diff(e){if(null==e&&(e=[]),!ol(e))throw new Error(`Error trying to diff '${u(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t,n,r,i=this._itHead,s=!1;if(Array.isArray(e)){this.length=e.length;for(let t=0;t<this.length;t++)n=e[t],r=this._trackByFn(t,n),null!==i&&Object.is(i.trackById,r)?(s&&(i=this._verifyReinsertion(i,n,r,t)),Object.is(i.item,n)||this._addIdentityChange(i,n)):(i=this._mismatch(i,n,r,t),s=!0),i=i._next}else t=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[rl()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(e,e=>{r=this._trackByFn(t,e),null!==i&&Object.is(i.trackById,r)?(s&&(i=this._verifyReinsertion(i,e,r,t)),Object.is(i.item,e)||this._addIdentityChange(i,e)):(i=this._mismatch(i,e,r,t),s=!0),i=i._next,t++}),this.length=t;return this._truncate(i),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,r){let i;return null===e?i=this._itTail:(i=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,i,r)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,i,r)):e=this._addAfter(new Jd(t,n),i,r),e}_verifyReinsertion(e,t,n,r){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?e=this._reinsertAfter(i,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const r=e._prevRemoved,i=e._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),null===this._additionsTail?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new tp),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(null===this._movesTail?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new tp),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,null===this._identityChangesTail?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}}class Jd{constructor(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class ep{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){const t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}class tp{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new ep,this.map.set(t,n)),n.add(e)}get(e,t){const n=e,r=this.map.get(n);return r?r.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}
vendor: 4,143 bytes, line 1
1function np(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}class rp{constructor(){}supports(e){return e instanceof Map||al(e)}create(){return new ip}}class ip{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 null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(e){let t;for(t=this._mapHead;null!==t;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}diff(e){if(e){if(!(e instanceof Map||al(e)))throw new Error(`Error trying to diff '${u(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(e,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const r=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,r)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}const n=new sp(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}}class sp{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function op(){return new ap([new Xd])}class ap{constructor(e){this.factories=e}static create(e,t){if(null!=t){const n=t.factories.slice();e=e.concat(n)}return new ap(e)}static extend(e){return{provide:ap,useFactory:t=>ap.create(e,t||op()),deps:[[ap,new Ir,new Ar]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${n=e,n.name||typeof n}'`);var n}}function lp(){return new cp([new rp])}ap.\u0275prov=E({token:ap,providedIn:"root",factory:op});class cp{constructor(e){this.factories=e}static create(e,t){if(t){const n=t.factories.slice();e=e.concat(n)}return new cp(e)}
1static extend(e){return{provide:cp,useFactory:t=>cp.create(e,t||lp()),deps:[[cp,new Ir,new Ar]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}function up(e,t,n,r,i=!1){for(;null!==n;){const s=t[n.index];if(null!==s&&r.push(He(s)),xe(s))for(let e=we;e<s.length;e++){const t=s[e],n=t[1].firstChild;null!==n&&up(t[1],t,n,r)}const o=n.type;if(8&o)up(e,t,n.child,r);else if(32&o){const e=vs(n,t);let i;for(;i=e();)r.push(i)}else if(16&o){const e=qs(t,n);if(Array.isArray(e))r.push(...e);else{const n=ys(t[16]);up(n[1],n,e,r,!0)}}n=i?n.projectionNext:n.next}return r}cp.\u0275prov=E({token:cp,providedIn:"root",factory:lp});class hp{constructor(e,t){this._lView=e,this._cdRefInjectingView=t,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const e=this._lView,t=e[1];return up(t,e,t.firstChild,[])}get context(){return this._lView[8]}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const e=this._lView[3];if(xe(e)){const t=e[8],n=t?t.indexOf(this):-1;n>-1&&(Ts(e,n),Zn(t,n))}this._attachedToViewContainer=!1}Os(this._lView[1],this._lView)}onDestroy(e){Bo(this._lView[1],this._lView,null,e)}markForCheck(){sa(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){aa(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){vt(!0);try{aa(e,t,n)}finally{vt(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var e,t;this._appRef=null,e=this._lView[1],t=this._lView,Ks(e,t,t[11],2,null,null)}attachToAppRef(e){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class dp extends hp{constructor(e){super(e),this._view=e}detectChanges(){la(this._view)}checkNoChanges(){!function(e){vt(!0);try{la(e)}finally{vt(!1)}}(this._view)}get context(){return null}}const pp=mp;class fp{}function mp(e=!1){return function(e,t,n){if(!n&&Se(e)){const n=Ke(e.index,t);return new hp(n,n)}if(47&e.type){const e=t[16];return new hp(e,t)}return null}(ut(),at(),e)}fp.__NG_ELEMENT_ID__=pp,fp.__ChangeDetectorRef__=!0;const gp=[new rp],vp=[new Xd],yp=new ap(vp),bp=new cp(gp),wp=function(){return Sp(ut(),at())};class _p{}_p.__NG_ELEMENT_ID__=wp;const xp=_p,Cp=class extends xp{constructor(e,t,n){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=n}createEmbeddedView(e){const t=this._declarationTContainer.tViews,n=Eo(this._declarationLView,t,e,16,null,t.declTNode,null,null,null,null),r=this._declarationLView[this._declarationTContainer.index];n[17]=r;const i=this._declarationLView[19];return null!==i&&(n[19]=i.createEmbeddedView(t)),To(t,n,e),new hp(n)}};function Sp(e,t){return 4&e.type?new Cp(t,e,$d(e,t)):null}class Ep{}class Ap{}const kp=function(){return Mp(ut(),at())};class Ip{}Ip.__NG_ELEMENT_ID__=kp;const Tp=Ip,Op=class extends Tp{constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=n}get element(){return $d(this._hostTNode,this._hostLView)}get injector(){return new En(this._hostTNode,this._hostLView)}get parentInjector(){const e=pn(this._hostTNode,this._hostLView);if(rn(e)){const t=on(e,this._hostLView),n=sn(e),r=t[1].data[n+8];return new En(r,t)}return new En(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const t=Dp(this._lContainer);return null!==t&&t[e]||null}get length(){return this._lContainer.length-we}createEmbeddedView(e,t,n){const r=e.createEmbeddedView(t||{});return this.insert(r,n),r}createComponent(e,t,n,r,i){const s=n||this.parentInjector;if(!i&&null==e.ngModule&&s){const e=s.get(Ep,null);e&&(i=e)}const o=e.create(s,r,void 0,i);return this.insert(o.hostView,t),o}insert(e,t){const n=e._lView,r=n[1];if(xe(n[3])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=n[3],r=new Op(t,t[6],t[3]);r.detach(r.indexOf(e))}}const i=this._adjustIndex(t),s=this._lContainer;ks(r,n,s,i);const o=Gs(i,s),a=n[11],l=js(a,s[7]);return null!==l&&function(e,t,n,r,i,s){r[0]=i,r[6]=t,Ks(e,r,n,1,i,s)}(r,s[6],a,n,l,o),e.attachToViewContainerRef(),Yn(Pp(s),i,e),e}move(e,t){return this.insert(e,t)}indexOf(e){const t=Dp(this._lContainer);return null!==t?t.indexOf(e):-1}remove(e){const t=this._adjustIndex(e,-1),n=Ts(this._lContainer,t);n&&(Zn(Pp(this._lContainer),t),Os(n[1],n))}detach(e){const t=this._adjustIndex(e,-1),n=Ts(this._lContainer,t);return n&&null!=Zn(Pp(this._lContainer),t)?new hp(n):null}_adjustIndex(e,t=0){return null==e?this.length+t:e}};function Dp(e){return e[8]}function Pp(e){return e[8]||(e[8]=[])}function Mp(e,t){let n;const r=t[e.index];if(xe(r))n=r;else{let i;if(8&e.type)i=He(r);else{const n=t[11];i=n.createComment("");const r=Ge(e,t);Ns(n,js(n,r),i,function(e,t){return Ue(e)?e.nextSibling(t):t.nextSibling}(n,r),!1)}t[e.index]=n=ea(r,t,i,e),ia(t,n)}return new Op(n,e,t)}function Np(e,t,n,r){let i=`ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '${t}'. Current value: '${n}'.`;return r&&(i+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(e,t){const n=new Error(e);return Rp(n,t),n}(i,e)}function Rp(e,t){e.ngDebugContext=t,e.ngErrorLogger=t.logError.bind(t)}function Lp(e){return new Error(`ViewDestroyedError: Attempt to use a destroyed view: ${e}`)}
1function jp(e,t,n){const r=e.state,i=1792&r;return i===t?(e.state=-1793&r|n,e.initIndex=-1,!0):i===n}function Fp(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function Bp(e,t){return e.nodes[t]}function $p(e,t){return e.nodes[t]}function Vp(e,t){return e.nodes[t]}function Up(e,t){return e.nodes[t]}function zp(e,t){return e.nodes[t]}const Hp={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0},qp=()=>{},Gp=new Map;function Wp(e){let t=Gp.get(e);return t||(t=u(e)+"_"+Gp.size,Gp.set(e,t)),t}function Qp(e,t,n,r){if(sl.isWrapped(r)){r=sl.unwrap(r);const i=e.def.nodes[t].bindingIndex+n,s=sl.unwrap(e.oldValues[i]);e.oldValues[i]=new sl(s)}return r}const Kp="$$undefined",Xp="$$empty";function Yp(e){return{id:Kp,styles:e.styles,encapsulation:e.encapsulation,data:e.data}}let Zp=0;function Jp(e,t,n,r){const i=e.oldValues;return!(!(2&e.state)&&Object.is(i[t.bindingIndex+n],r))}function ef(e,t,n,r){return!!Jp(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function tf(e,t,n,r){const i=e.oldValues[t.bindingIndex+n];if(1&e.state||!il(i,r)){const s=t.bindings[n].name;throw Np(Hp.createDebugContext(e,t.nodeIndex),`${s}: ${i}`,`${s}: ${r}`,0!=(1&e.state))}}function nf(e){let t=e;for(;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function rf(e,t){let n=e;for(;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function sf(e,t,n,r){try{const i=e.def.nodes[t];return nf(33554432&i.flags?$p(e,t).componentView:e),Hp.handleEvent(e,t,n,r)}catch(i){e.root.errorHandler.handleError(i)}}function of(e){if(e.parent){return $p(e.parent,e.parentNodeDef.nodeIndex)}return null}function af(e){return e.parent?e.parentNodeDef.parent:null}function lf(e,t){switch(201347067&t.flags){case 1:return $p(e,t.nodeIndex).renderElement;case 2:return Bp(e,t.nodeIndex).renderText}}function cf(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function uf(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function hf(e){return 1<<e%32}function df(e){const t={};let n=0;const r={};return e&&e.forEach(([e,i])=>{"number"==typeof e?(t[e]=i,n|=hf(e)):r[e]=i}),{matchedQueries:t,references:r,matchedQueryIds:n}}function pf(e,t){return e.map(e=>{let n,r;return Array.isArray(e)?[r,n]=e:(r=0,n=e),n&&("function"==typeof n||"object"==typeof n)&&t&&Object.defineProperty(n,pr,{value:t,configurable:!0}),{flags:r,token:n,tokenKey:Wp(n)}})}function ff(e,t,n){let r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&(r.element.componentRendererType.encapsulation===U.ShadowDom||1===r.element.componentRendererType.encapsulation)?$p(e,n.renderParent.nodeIndex).renderElement:void 0:t}const mf=new WeakMap;function gf(e){let t=mf.get(e);return t||(t=e(()=>qp),t.factory=e,mf.set(e,t)),t}function vf(e,t,n,r,i){3===t&&(n=e.renderer.parentNode(lf(e,e.def.lastRenderRootNode))),yf(e,t,0,e.def.nodes.length-1,n,r,i)}function yf(e,t,n,r,i,s,o){for(let a=n;a<=r;a++){const n=e.def.nodes[a];11&n.flags&&wf(e,n,t,i,s,o),a+=n.childCount}}function bf(e,t,n,r,i,s){let o=e;for(;o&&!cf(o);)o=o.parent;const a=o.parent,l=af(o),c=l.nodeIndex+1,u=l.nodeIndex+l.childCount;for(let h=c;h<=u;h++){const e=a.def.nodes[h];e.ngContentIndex===t&&wf(a,e,n,r,i,s),h+=e.childCount}if(!a.parent){const o=e.root.projectableNodes[t];if(o)for(let t=0;t<o.length;t++)_f(e,o[t],n,r,i,s)}}function wf(e,t,n,r,i,s){if(8&t.flags)bf(e,t.ngContent.index,n,r,i,s);else{const o=lf(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags){if(16&t.bindingFlags&&_f(e,o,n,r,i,s),32&t.bindingFlags){_f($p(e,t.nodeIndex).componentView,o,n,r,i,s)}}else _f(e,o,n,r,i,s);if(16777216&t.flags){const o=$p(e,t.nodeIndex).viewContainer._embeddedViews;for(let e=0;e<o.length;e++)vf(o[e],n,r,i,s)}1&t.flags&&!t.element.name&&yf(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,i,s)}}function _f(e,t,n,r,i,s){const o=e.renderer;switch(n){case 1:o.appendChild(r,t);break;case 2:o.insertBefore(r,t,i);break;case 3:o.removeChild(r,t);break;case 0:s.push(t)}}const xf=/^:([^:]+):(.+)$/;function Cf(e){if(":"===e[0]){const t=e.match(xf);return[t[1],t[2]]}return["",e]}function Sf(e){let t=0;for(let n=0;n<e.length;n++)t|=e[n].flags;return t}function Ef(e,t){let n="";for(let r=0;r<2*e;r+=2)n=n+t[r]+kf(t[r+1]);return n+t[2*e]}function Af(e,t,n,r,i,s,o,a,l,c,u,h,d,p,f,m,g,v,y,b){switch(e){case 1:return t+kf(n)+r;case 2:return t+kf(n)+r+kf(i)+s;case 3:return t+kf(n)+r+kf(i)+s+kf(o)+a;case 4:return t+kf(n)+r+kf(i)+s+kf(o)+a+kf(l)+c;case 5:return t+kf(n)+r+kf(i)+s+kf(o)+a+kf(l)+c+kf(u)+h;case 6:return t+kf(n)+r+kf(i)+s+kf(o)+a+kf(l)+c+kf(u)+h+kf(d)+p;case 7:return t+kf(n)+r+kf(i)+s+kf(o)+a+kf(l)+c+kf(u)+h+kf(d)+p+kf(f)+m;case 8:return t+kf(n)+r+kf(i)+s+kf(o)+a+kf(l)+c+kf(u)+h+kf(d)+p+kf(f)+m+kf(g)+v;case 9:return t+kf(n)+r+kf(i)+s+kf(o)+a+kf(l)+c+kf(u)+h+kf(d)+p+kf(f)+m+kf(g)+v+kf(y)+b;default:throw new Error("Does not support more than 9 expressions")}}function kf(e){return null!=e?e.toString():""}const If=[],Tf={},Of={},Df=Wp(Na),Pf=Wp(ya),Mf=Wp(Ep);function Nf(e,t,n,r){n=f(n);return{index:-1,deps:pf(r,u(t)),flags:e,token:t,value:n}}function Rf(e){const t={},n=[];let r=null;for(let i=0;i<e.length;i++){const s=e[i];s.token===wa&&(r=s.value),1073741824&s.flags&&n.push(s.token),s.index=i,t[Wp(s.token)]=s}return{factory:null,providersByKey:t,providers:e,modules:n,scope:r}}function Lf(e,t,n=Na.THROW_IF_NOT_FOUND){const r=gr(e);try{if(8&t.flags)return t.token;if(2&t.flags&&(n=null),1&t.flags)return e._parent.get(t.token,n);const i=t.tokenKey;switch(i){case Df:case Pf:case Mf:return e}const s=e._def.providersByKey[i];let o;if(s){let t=e._providers[s.index];return void 0===t&&(t=e._providers[s.index]=jf(e,s)),t===Of?void 0:t}if((o=I(t.token))&&function(e,t){const n=t.providedIn;return null!=n&&("any"===n||n===e._def.scope||function(e,t){return e._def.modules.indexOf(t)>-1}(e,n))}(e,o)){const n=e._providers.length;return e._def.providers[n]=e._def.providersByKey[t.tokenKey]={flags:5120,value:o.factory,deps:[],index:n,token:t.token},e._providers[n]=Of,e._providers[n]=jf(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{gr(r)}}function jf(e,t){let n;switch(201347067&t.flags){case 512:n=function(e,t,n){const r=n.length;switch(r){case 0:return new t;case 1:return new t(Lf(e,n[0]));case 2:return new t(Lf(e,n[0]),Lf(e,n[1]));case 3:return new t(Lf(e,n[0]),Lf(e,n[1]),Lf(e,n[2]));default:const i=[];for(let t=0;t<r;t++)i[t]=Lf(e,n[t]);return new t(...i)}}(e,t.value,t.deps);break;case 1024:n=function(e,t,n){const r=n.length;switch(r){case 0:return t();case 1:return t(Lf(e,n[0]));case 2:return t(Lf(e,n[0]),Lf(e,n[1]));case 3:return t(Lf(e,n[0]),Lf(e,n[1]),Lf(e,n[2]));default:const i=[];for(let t=0;t<r;t++)i[t]=Lf(e,n[t]);return t(...i)}}(e,t.value,t.deps);break;case 2048:n=Lf(e,t.deps[0]);break;case 256:n=t.value}return n===Of||null===n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?Of:n}function Ff(e,t,n,r){let i=t.viewContainer._embeddedViews;null==n&&(n=i.length),r.viewContainerParent=e,Yn(i,n,r),function(e,t){const n=of(t);if(!n||n===e||16&t.state)return;t.state|=16;let r=n.template._projectedViews;r||(r=n.template._projectedViews=[]);r.push(t),function(e,t){if(4&t.flags)return;
1e.nodeFlags|=4,t.flags|=4;let n=t.parent;for(;n;)n.childFlags|=4,n=n.parent}(t.parent.def,t.parentNodeDef)}(t,r),Hp.dirtyParentQueries(r);$f(t,n>0?i[n-1]:null,r)}function Bf(e,t){const n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;const r=n[t];return r.viewContainerParent=null,Zn(n,t),Hp.dirtyParentQueries(r),Vf(r),r}function $f(e,t,n){const r=t?lf(t,t.def.lastRenderRootNode):e.renderElement,i=n.renderer.parentNode(r),s=n.renderer.nextSibling(r);vf(n,2,i,s,void 0)}function Vf(e){vf(e,3,null,null,void 0)}const Uf={};function zf(e,t,n,r,i,s){return new Hf(e,t,n,r,i,s)}class Hf extends Md{constructor(e,t,n,r,i,s){super(),this.selector=e,this.componentType=t,this._inputs=r,this._outputs=i,this.ngContentSelectors=s,this.viewDefFactory=n}get inputs(){const e=[],t=this._inputs;for(let n in t){const r=t[n];e.push({propName:n,templateName:r})}return e}get outputs(){const e=[];for(let t in this._outputs){const n=this._outputs[t];e.push({propName:t,templateName:n})}return e}create(e,t,n,r){if(!r)throw new Error("ngModule should be provided");const i=gf(this.viewDefFactory),s=i.nodes[0].element.componentProvider.nodeIndex,o=Hp.createRootView(e,t||[],n,i,r,Uf),a=Vp(o,s).instance;return n&&o.renderer.setAttribute($p(o,0).renderElement,"ng-version",Kd.full),new qf(o,new Kf(o),a)}}class qf extends Pd{constructor(e,t,n){super(),this._view=e,this._viewRef=t,this._component=n,this._elDef=this._view.def.nodes[0],this.hostView=t,this.changeDetectorRef=t,this.instance=n}get location(){return new Ud($p(this._view,this._elDef.nodeIndex).renderElement)}get injector(){return new Jf(this._view,this._elDef)}get componentType(){return this._component.constructor}destroy(){this._viewRef.destroy()}onDestroy(e){this._viewRef.onDestroy(e)}}function Gf(e,t,n){return new Wf(e,t,n)}class Wf{constructor(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}get element(){return new Ud(this._data.renderElement)}get injector(){return new Jf(this._view,this._elDef)}get parentInjector(){let e=this._view,t=this._elDef.parent;for(;!t&&e;)t=af(e),e=e.parent;return e?new Jf(e,t):new Jf(this._view,null)}clear(){for(let e=this._embeddedViews.length-1;e>=0;e--){const t=Bf(this._data,e);Hp.destroyView(t)}}get(e){const t=this._embeddedViews[e];if(t){const e=new Kf(t);return e.attachToViewContainerRef(this),e}return null}get length(){return this._embeddedViews.length}createEmbeddedView(e,t,n){const r=e.createEmbeddedView(t||{});return this.insert(r,n),r}createComponent(e,t,n,r,i){const s=n||this.parentInjector;i||e instanceof Fd||(i=s.get(Ep));const o=e.create(s,r,void 0,i);return this.insert(o.hostView,t),o}insert(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");const n=e,r=n._view;return Ff(this._view,this._data,t,r),n.attachToViewContainerRef(this),e}move(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");const n=this._embeddedViews.indexOf(e._view);return function(e,t,n){const r=e.viewContainer._embeddedViews,i=r[t];Zn(r,t),null==n&&(n=r.length),Yn(r,n,i),Hp.dirtyParentQueries(i),Vf(i),$f(e,n>0?r[n-1]:null,i)}(this._data,n,t),e}indexOf(e){return this._embeddedViews.indexOf(e._view)}remove(e){const t=Bf(this._data,e);t&&Hp.destroyView(t)}detach(e){const t=Bf(this._data,e);return t?new Kf(t):null}}function Qf(e){return new Kf(e)}class Kf{constructor(e){this._view=e,this._viewContainerRef=null,this._appRef=null}get rootNodes(){return function(e){const t=[];return vf(e,0,void 0,void 0,t),t}(this._view)}get context(){return this._view.context}get destroyed(){return 0!=(128&this._view.state)}markForCheck(){nf(this._view)}detach(){this._view.state&=-5}detectChanges(){const e=this._view.root.rendererFactory;e.begin&&e.begin();try{Hp.checkAndUpdateView(this._view)}finally{e.end&&e.end()}}checkNoChanges(){Hp.checkNoChangesView(this._view)}reattach(){this._view.state|=4}onDestroy(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)}destroy(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Hp.destroyView(this._view)}detachFromAppRef(){this._appRef=null,Vf(this._view),Hp.dirtyParentQueries(this._view)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a Vie
1wContainer!");this._appRef=e}attachToViewContainerRef(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}}function Xf(e,t){return new Yf(e,t)}class Yf extends _p{constructor(e,t){super(),this._parentView=e,this._def=t}createEmbeddedView(e){return new Kf(Hp.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))}get elementRef(){return new Ud($p(this._parentView,this._def.nodeIndex).renderElement)}}function Zf(e,t){return new Jf(e,t)}class Jf{constructor(e,t){this.view=e,this.elDef=t}get(e,t=Na.THROW_IF_NOT_FOUND){const n=!!this.elDef&&0!=(33554432&this.elDef.flags);return Hp.resolveDep(this.view,this.elDef,n,{flags:0,token:e,tokenKey:Wp(e)},t)}}function em(e,t){const n=e.def.nodes[t];if(1&n.flags){const t=$p(e,n.nodeIndex);return n.element.template?t.template:t.renderElement}if(2&n.flags)return Bp(e,n.nodeIndex).renderText;if(20240&n.flags)return Vp(e,n.nodeIndex).instance;throw new Error(`Illegal state: read nodeValue for node index ${t}`)}function tm(e,t,n,r){return new nm(e,t,n,r)}class nm{constructor(e,t,n,r){this._moduleType=e,this._parent=t,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(e){const t=e._def,n=e._providers=Jn(t.providers.length);for(let r=0;r<t.providers.length;r++){const i=t.providers[r];4096&i.flags||void 0===n[r]&&(n[r]=jf(e,i))}}(this)}get(e,t=Na.THROW_IF_NOT_FOUND,n=R.Default){let r=0;return n&R.SkipSelf?r|=1:n&R.Self&&(r|=4),Lf(this,{token:e,tokenKey:Wp(e),flags:r},t)}get instance(){return this.get(this._moduleType)}get componentFactoryResolver(){return this.get(Ld)}destroy(){if(this._destroyed)throw new Error(`The ng module ${u(this.instance.constructor)} has already been destroyed.`);this._destroyed=!0,function(e,t){const n=e._def,r=new Set;for(let i=0;i<n.providers.length;i++)if(131072&n.providers[i].flags){const t=e._providers[i];if(t&&t!==Of){const e=t.ngOnDestroy;"function"!=typeof e||r.has(t)||(e.apply(t),r.add(t))}}}(this),this._destroyListeners.forEach(e=>e())}onDestroy(e){this._destroyListeners.push(e)}}const rm=Wp(qd),im=Wp(Ud),sm=Wp(Ip),om=Wp(_p),am=Wp(fp),lm=Wp(Na),cm=Wp(ya);function um(e,t,n,r,i,s,o,a){const l=[];if(o)for(let u in o){const[e,t]=o[u];l[e]={flags:8,name:u,nonMinifiedName:t,ns:null,securityContext:null,suffix:null}}const c=[];if(a)for(let u in a)c.push({type:1,propName:u,target:null,eventName:a[u]});return pm(e,t|=16384,n,r,i,i,s,l,c)}function hm(e,t,n){return pm(-1,e|=16,null,0,t,t,n)}function dm(e,t,n,r,i){return pm(-1,e,t,0,n,r,i)}function pm(e,t,n,r,i,s,o,a,l){const{matchedQueries:c,references:h,matchedQueryIds:d}=df(n);l||(l=[]),a||(a=[]),s=f(s);const p=pf(o,u(i));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:d,references:h,ngContentIndex:-1,childCount:r,bindings:a,bindingFlags:Sf(a),outputs:l,element:null,provider:{token:i,value:s,deps:p},text:null,query:null,ngContent:null}}function fm(e,t){return ym(e,t)}function mm(e,t){let n=e;for(;n.parent&&!cf(n);)n=n.parent;return bm(n.parent,af(n),!0,t.provider.value,t.provider.deps)}function gm(e,t){const n=(32768&t.flags)>0,r=bm(e,t.parent,n,t.provider.value,t.provider.deps);if(t.outputs.length)for(let i=0;i<t.outputs.length;i++){const n=t.outputs[i],s=r[n.propName];if(!Sc(s))throw new Error(`@Output ${n.propName} not initialized in '${r.constructor.name}'.`);{const r=s.subscribe(vm(e,t.parent.nodeIndex,n.eventName));e.disposables[t.outputIndex+i]=r.unsubscribe.bind(r)}}return r}function vm(e,t,n){return r=>sf(e,t,n,r)}function ym(e,t){const n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return bm(e,t.parent,n,r.value,r.deps);case 1024:return function(e,t,n,r,i){const s=i.length;switch(s){case 0:return r();case 1:return r(_m(e,t,n,i[0]));case 2:return r(_m(e,t,n,i[0]),_m(e,t,n,i[1]));case 3:return r(_m(e,t,n,i[0]),_m(e,t,n,i[1]),_m(e,t,n,i[2]));default:const o=[];for(let r=0;r<s;r++)o.push(_m(e,t,n,i[r]));return r(...o)}}(e,t.parent,n,r.value,r.deps);case 2048:return _m(e,t.parent,n,r.deps[0]);case 256:return r.value}}function bm(e,t,n,r,i){const s=i.length;switch(s){case 0:return new r;case 1:return new r(_m(e,t,n,i[0]));case 2:return new r(_m(e,t,n,i[0]),_m(e,t,n,i[1]));case 3:return new r(_m(e,t,n,i[0]),_m(e,t,n,i[1]),_m(e,t,n,i[2]));default:const o=[];for(let r=0;r<s;r++)o.push(_m(e,t,n,i[r]));return new r(...o)}}const wm={};function _m(e,t,n,r,i=Na.THROW_IF_NOT_FOUND){if(8&r.flags)return r.token;const s=e;2&r.flags&&(i=null);const o=r.tokenKey;o===am&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);let a=e;for(;a;){if(t)switch(o){case rm:return xm(a,t,n).renderer;case im:return new Ud($p(a,t.nodeIndex).renderElement);case sm:return $p(a,t.nodeIndex).viewContainer;case om:if(t.element.template)return $p(a,t.nodeIndex).template;break;case am:return Qf(xm(a,t,n));case lm:case cm:return Zf(a,t);default:const e=(n?t.element.allProviders:t.element.publicProviders)[o];if(e){let t=Vp(a,e.nodeIndex);return t||(t={instance:ym(a,e)},a.nodes[e.nodeIndex]=t),t.instance}}
1n=cf(a),t=af(a),a=a.parent,4&r.flags&&(a=null)}const l=s.root.injector.get(r.token,wm);return l!==wm||i===wm?l:s.root.ngModule.injector.get(r.token,i)}function xm(e,t,n){let r;if(n)r=$p(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!cf(r);)r=r.parent;return r}function Cm(e,t,n,r,i,s){if(32768&n.flags){const t=$p(e,n.parent.nodeIndex).componentView;2&t.def.flags&&(t.state|=8)}const o=n.bindings[r].name;if(t.instance[o]=i,524288&n.flags){s=s||{};const t=sl.unwrap(e.oldValues[n.bindingIndex+r]);s[n.bindings[r].nonMinifiedName]=new Ie(t,i,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=i,s}function Sm(e,t){if(!(e.def.nodeFlags&t))return;const n=e.def.nodes;let r=0;for(let i=0;i<n.length;i++){const s=n[i];let o=s.parent;for(!o&&s.flags&t&&Am(e,i,s.flags&t,r++),0==(s.childFlags&t)&&(i+=s.childCount);o&&1&o.flags&&i===o.nodeIndex+o.childCount;)o.directChildFlags&t&&(r=Em(e,o,t,r)),o=o.parent}}function Em(e,t,n,r){for(let i=t.nodeIndex+1;i<=t.nodeIndex+t.childCount;i++){const t=e.def.nodes[i];t.flags&n&&Am(e,i,t.flags&n,r++),i+=t.childCount}return r}function Am(e,t,n,r){const i=Vp(e,t);if(!i)return;const s=i.instance;s&&(Hp.setCurrentNode(e,t),1048576&n&&Fp(e,512,r)&&s.ngAfterContentInit(),2097152&n&&s.ngAfterContentChecked(),4194304&n&&Fp(e,768,r)&&s.ngAfterViewInit(),8388608&n&&s.ngAfterViewChecked(),131072&n&&s.ngOnDestroy())}class km extends Ld{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=me(e);return new Om(t,this.ngModule)}}function Im(e){const t=[];for(let n in e)if(e.hasOwnProperty(n)){const r=e[n];t.push({propName:r,templateName:n})}return t}const Tm=new jn("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>cs});class Om extends Md{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(uo).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return Im(this.componentDef.inputs)}get outputs(){return Im(this.componentDef.outputs)}create(e,t,n,r){const i=(r=r||this.ngModule)?function(e,t){return{get:(n,r,i)=>{const s=e.get(n,wm,i);return s!==wm||r===wm?s:t.get(n,r,i)}}}(e,r.injector):e,s=i.get(Hd,ze),o=i.get(Wd,null),a=s.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?Fo(a,n,this.componentDef.encapsulation):As(s.createRenderer(null,this.componentDef),l,function(e){const t=e.toLowerCase();return"svg"===t?Le:"math"===t?je:null}(l)),u=this.componentDef.onPush?576:528,h=qa(),d=jo(0,null,null,1,0,null,null,null,null,null),p=Eo(null,d,h,u,null,null,s,a,o,i);let f,m;Dt(p);try{const e=za(c,this.componentDef,p,s,a);if(c)if(n)Zt(a,c,["ng-version",Kd.full]);else{const{attrs:e,classes:t}=function(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let s=e[r];if("string"==typeof s)2===i?""!==s&&t.push(s,e[++r]):8===i&&n.push(s);else{if(!so(i))break;i=s}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);e&&Zt(a,c,e),t&&t.length>0&&Zs(a,c,t.join(" "))}if(m=We(d,be),void 0!==t){const e=m.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const r=t[n];e.push(null!=r?Array.from(r):null)}}f=Ha(e,this.componentDef,p,h,[Ga]),To(d,p,null)}finally{Lt()}return new Dm(this.componentType,f,$d(m,p),p,m)}}new km;class Dm extends Pd{constructor(e,t,n,r,i){super(),this.location=n,this._rootLView=r,this._tNode=i,this.instance=t,this.hostView=this.changeDetectorRef=new dp(r),this.componentType=e}get injector(){return new En(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}}function Pm(e,t,n,r){return B(()=>{const i=e;null!==t&&(i.hasOwnProperty("decorators")&&void 0!==i.decorators?i.decorators.push(...t):i.decorators=t),null!==n&&(i.ctorParameters=n),null!==r&&(i.hasOwnProperty("propDecorators")&&void 0!==i.propDecorators?i.propDecorators=Object.assign(Object.assign({},i.propDecorators),r):i.propDecorators=r)})}const Mm=new Map;function Nm(e,t){const n=Mm.get(e);Rm(e,n&&n.moduleType,t.moduleType),Mm.set(e,t)}function Rm(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${u(t)} vs ${u(t.name)}`)}
1class Lm extends Ep{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new km(this);const n=ye(e),r=e[te]||null;r&&wh(r),this._bootstrapComponents=fs(n.bootstrap),this._r3Injector=Aa(e,t,[{provide:Ep,useValue:this},{provide:Ld,useValue:this.componentFactoryResolver}],u(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=Na.THROW_IF_NOT_FOUND,n=R.Default){return e===Na||e===Ep||e===ya?this:this._r3Injector.get(e,t,n)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class jm extends Ap{constructor(e){super(),this.moduleType=e;null!==ye(e)&&function(e){const t=new Set;!function e(n){const r=ye(n,!0),i=r.id;if(null!==i){Rm(i,Mm.get(i),n),Mm.set(i,n)}const s=fs(r.imports);for(const o of s)t.has(o)||(t.add(o),e(o))}(e)}(e)}create(e){return new Lm(this.moduleType,e)}}function Fm(e,t,n){const r=yt()+e,i=at();return i[r]===ho?ll(i,r,n?t.call(n):t()):cl(i,r)}function Bm(e,t,n,r){return Km(at(),yt(),e,t,n,r)}function $m(e,t,n,r,i){return Xm(at(),yt(),e,t,n,r,i)}function Vm(e,t,n,r,i,s){return Ym(at(),yt(),e,t,n,r,i,s)}function Um(e,t,n,r,i,s,o){return Zm(at(),yt(),e,t,n,r,i,s,o)}function zm(e,t,n,r,i,s,o,a){const l=yt()+e,c=at(),u=pl(c,l,n,r,i,s);return ul(c,l+4,o)||u?ll(c,l+5,a?t.call(a,n,r,i,s,o):t(n,r,i,s,o)):cl(c,l+5)}function Hm(e,t,n,r,i,s,o,a,l){const c=yt()+e,u=at(),h=pl(u,c,n,r,i,s);return hl(u,c+4,o,a)||h?ll(u,c+6,l?t.call(l,n,r,i,s,o,a):t(n,r,i,s,o,a)):cl(u,c+6)}function qm(e,t,n,r,i,s,o,a,l,c){const u=yt()+e,h=at();let d=pl(h,u,n,r,i,s);return dl(h,u+4,o,a,l)||d?ll(h,u+7,c?t.call(c,n,r,i,s,o,a,l):t(n,r,i,s,o,a,l)):cl(h,u+7)}function Gm(e,t,n,r,i,s,o,a,l,c,u){const h=yt()+e,d=at(),p=pl(d,h,n,r,i,s);return pl(d,h+4,o,a,l,c)||p?ll(d,h+8,u?t.call(u,n,r,i,s,o,a,l,c):t(n,r,i,s,o,a,l,c)):cl(d,h+8)}function Wm(e,t,n,r){return Jm(at(),yt(),e,t,n,r)}function Qm(e,t){const n=e[t];return n===ho?void 0:n}function Km(e,t,n,r,i,s){const o=t+n;return ul(e,o,i)?ll(e,o+1,s?r.call(s,i):r(i)):Qm(e,o+1)}function Xm(e,t,n,r,i,s,o){const a=t+n;return hl(e,a,i,s)?ll(e,a+2,o?r.call(o,i,s):r(i,s)):Qm(e,a+2)}function Ym(e,t,n,r,i,s,o,a){const l=t+n;return dl(e,l,i,s,o)?ll(e,l+3,a?r.call(a,i,s,o):r(i,s,o)):Qm(e,l+3)}function Zm(e,t,n,r,i,s,o,a,l){const c=t+n;return pl(e,c,i,s,o,a)?ll(e,c+4,l?r.call(l,i,s,o,a):r(i,s,o,a)):Qm(e,c+4)}function Jm(e,t,n,r,i,s){let o=t+n,a=!1;for(let l=0;l<i.length;l++)ul(e,o++,i[l])&&(a=!0);return a?ll(e,o,r.apply(s,i)):Qm(e,o)}function eg(e,t){const n=lt();let r;const i=e+be;n.firstCreatePass?(r=function(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}throw new g("302",`The pipe '${e}' could not be found!`)}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(i,r.onDestroy)):r=n.data[i];const s=r.factory||(r.factory=ke(r.type)),o=j(uc);try{const e=ln(!1),t=s();return ln(e),function(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,at(),i,t),t}finally{j(o)}}function tg(e,t,n){const r=e+be,i=at(),s=Qe(i,r);return ag(i,og(i,r)?Km(i,yt(),t,s.transform,n,s):s.transform(n))}function ng(e,t,n,r){const i=e+be,s=at(),o=Qe(s,i);return ag(s,og(s,i)?Xm(s,yt(),t,o.transform,n,r,o):o.transform(n,r))}function rg(e,t,n,r,i){const s=e+be,o=at(),a=Qe(o,s);return ag(o,og(o,s)?Ym(o,yt(),t,a.transform,n,r,i,a):a.transform(n,r,i))}function ig(e,t,n,r,i,s){const o=e+be,a=at(),l=Qe(a,o);return ag(a,og(a,o)?Zm(a,yt(),t,l.transform,n,r,i,s,l):l.transform(n,r,i,s))}function sg(e,t,n){const r=e+be,i=at(),s=Qe(i,r);return ag(i,og(i,r)?Jm(i,yt(),t,s.transform,n,s):s.transform.apply(s,n))}function og(e,t){return e[1].data[t].pure}function ag(e,t){if(sl.isWrapped(t)){t=sl.unwrap(t);e[bt()]=ho}return t}class lg extends r.a{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){var r,s,o;let a=e,l=t||(()=>null),c=n;if(e&&"object"==typeof e){const t=e;a=null===(r=t.next)||void 0===r?void 0:r.bind(t),l=null===(s=t.error)||void 0===s?void 0:s.bind(t),c=null===(o=t.complete)||void 0===o?void 0:o.bind(t)}this.__isAsync&&(l=cg(l),a&&(a=cg(a)),c&&(c=cg(c)));const u=super.subscribe({next:a,error:l,complete:c});return e instanceof i.a&&e.add(u),u}}function cg(e){return t=>{setTimeout(e,void 0,t)}}const ug=lg;function hg(){return this._results[rl()]()}class dg{constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=rl(),n=dg.prototype;n[t]||(n[t]=hg)}get changes(){return this._changes||(this._changes=new ug)}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,t){return this._results.reduce(e,t)}
1forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){const n=this;n.dirty=!1;const r=Kn(e);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],s=t[r];if(n&&(i=n(i),s=n(s)),s!==i)return!1}return!0}(n._results,r,t))&&(n._results=r,n.length=r.length,n.last=r[this.length-1],n.first=r[0])}notifyOnChanges(){!this._changes||!this._changesDetected&&this._emitDistinctChangesOnly||this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class pg{constructor(e){this.queryList=e,this.matches=null}clone(){return new pg(this.queryList)}setDirty(){this.queryList.setDirty()}}class fg{constructor(e=[]){this.queries=e}createEmbeddedView(e){const t=e.queries;if(null!==t){const n=null!==e.contentQueries?e.contentQueries[0]:t.length,r=[];for(let e=0;e<n;e++){const n=t.getByIndex(e),i=this.queries[n.indexInDeclarationView];r.push(i.clone())}return new fg(r)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let t=0;t<this.queries.length;t++)null!==Ig(e,t).matches&&this.queries[t].setDirty()}}class mg{constructor(e,t,n=null){this.predicate=e,this.flags=t,this.read=n}}class gg{constructor(e=[]){this.queries=e}elementStart(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,t)}elementEnd(e){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}embeddedTView(e){let t=null;for(let n=0;n<this.length;n++){const r=null!==t?t.length:0,i=this.getByIndex(n).embeddedTView(e,r);i&&(i.indexInDeclarationView=n,null!==t?t.push(i):t=[i])}return null!==t?new gg(t):null}template(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,t)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}}class vg{constructor(e,t=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}elementStart(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,t){this.elementStart(e,t)}embeddedTView(e,t){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,t),new vg(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const t=this._declarationNodeIndex;let n=e.parent;for(;null!==n&&8&n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(e,t){const n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){const i=n[r];this.matchTNodeWithReadOption(e,t,yg(t,i)),this.matchTNodeWithReadOption(e,t,_n(t,e,i,!1,!1))}else n===_p?4&t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,_n(t,e,n,!1,!1))}matchTNodeWithReadOption(e,t,n){if(null!==n){const r=this.metadata.read;if(null!==r)if(r===Ud||r===Ip||r===_p&&4&t.type)this.addMatch(t.index,-2);else{const n=_n(t,e,r,!1,!1);null!==n&&this.addMatch(t.index,n)}else this.addMatch(t.index,n)}}addMatch(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}function yg(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function bg(e,t,n,r){return-1===n?function(e,t){return 11&e.type?$d(e,t):4&e.type?Sp(e,t):null}(t,e):-2===n?function(e,t,n){if(n===Ud)return $d(t,e);if(n===_p)return Sp(t,e);if(n===Ip)return Mp(t,e)}(e,t,r):xn(e,e[1],n,t)}function wg(e,t,n,r){const i=t[19].queries[r];if(null===i.matches){const r=e.data,s=n.matches,o=[];for(let e=0;e<s.length;e+=2){const i=s[e];if(i<0)o.push(null);else{const a=r[i];o.push(bg(t,a,s[e+1],n.metadata.read))}}i.matches=o}return i.matches}function _g(e,t,n,r){const i=e.queries.getByIndex(n),s=i.matches;if(null!==s){const o=wg(e,t,i,n);for(let e=0;e<s.length;e+=2){const n=s[e];if(n>0)r.push(o[e/2]);else{const i=s[e+1],o=t[-n];for(let e=we;e<o.length;e++){const t=o[e];t[17]===t[3]&&_g(t[1],t,i,r)}if(null!==o[9]){const e=o[9];for(let t=0;t<e.length;t++){const n=e[t];_g(n[1],n,i,r)}}}}}return r}function xg(e){const t=at(),n=lt(),r=kt();It(r+1);const i=Ig(n,r);if(e.dirty&&Ze(t)===(2==(2&i.metadata.flags))){if(null===i.matches)e.reset([]);
1else{const s=i.crossesNgTemplate?_g(n,t,r,[]):wg(n,t,i,r);e.reset(s,zd),e.notifyOnChanges()}return!0}return!1}function Cg(e,t,n){const r=lt();r.firstCreatePass&&(kg(r,new mg(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),Ag(r,at(),t)}function Sg(e,t,n,r){const i=lt();if(i.firstCreatePass){const s=ut();kg(i,new mg(t,n,r),s.index),function(e,t){const n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}(i,e),2==(2&n)&&(i.staticContentQueries=!0)}Ag(i,at(),n)}function Eg(){return e=at(),t=kt(),e[19].queries[t].queryList;var e,t}function Ag(e,t,n){const r=new dg(4==(4&n));Bo(e,t,r,r.destroy),null===t[19]&&(t[19]=new fg),t[19].queries.push(new pg(r))}function kg(e,t,n){null===e.queries&&(e.queries=new gg),e.queries.track(new vg(t,n))}function Ig(e,t){return e.queries.getByIndex(t)}function Tg(e,t){return Sp(e,t)}function Og(e=R.Default){const t=mp(!0);if(null!=t||e&R.Optional)return t;_("ChangeDetectorRef")}const Dg={"\u0275\u0275attribute":fl,"\u0275\u0275attributeInterpolate1":Sl,"\u0275\u0275attributeInterpolate2":El,"\u0275\u0275attributeInterpolate3":Al,"\u0275\u0275attributeInterpolate4":kl,"\u0275\u0275attributeInterpolate5":Il,"\u0275\u0275attributeInterpolate6":Tl,"\u0275\u0275attributeInterpolate7":Ol,"\u0275\u0275attributeInterpolate8":Dl,"\u0275\u0275attributeInterpolateV":Pl,"\u0275\u0275defineComponent":se,"\u0275\u0275defineDirective":pe,"\u0275\u0275defineInjectable":E,"\u0275\u0275defineInjector":k,"\u0275\u0275defineNgModule":ue,"\u0275\u0275definePipe":fe,"\u0275\u0275directiveInject":uc,"\u0275\u0275getInheritedFactory":An,"\u0275\u0275inject":yr,"\u0275\u0275injectAttribute":In,"\u0275\u0275invalidFactory":hc,"\u0275\u0275invalidFactoryDep":br,"\u0275\u0275injectPipeChangeDetectorRef":Og,"\u0275\u0275templateRefExtractor":Tg,"\u0275\u0275NgOnChangesFeature":Te,"\u0275\u0275ProvidersFeature":Dd,"\u0275\u0275CopyDefinitionFeature":tl,"\u0275\u0275InheritDefinitionFeature":Qa,"\u0275\u0275nextContext":Oc,"\u0275\u0275namespaceHTML":zt,"\u0275\u0275namespaceMathML":Ut,"\u0275\u0275namespaceSVG":Vt,"\u0275\u0275enableBindings":st,"\u0275\u0275disableBindings":ot,"\u0275\u0275elementStart":mc,"\u0275\u0275elementEnd":gc,"\u0275\u0275element":vc,"\u0275\u0275elementContainerStart":yc,"\u0275\u0275elementContainerEnd":bc,"\u0275\u0275elementContainer":wc,"\u0275\u0275pureFunction0":Fm,"\u0275\u0275pureFunction1":Bm,"\u0275\u0275pureFunction2":$m,"\u0275\u0275pureFunction3":Vm,"\u0275\u0275pureFunction4":Um,"\u0275\u0275pureFunction5":zm,"\u0275\u0275pureFunction6":Hm,"\u0275\u0275pureFunction7":qm,"\u0275\u0275pureFunction8":Gm,"\u0275\u0275pureFunctionV":Wm,"\u0275\u0275getCurrentView":_c,"\u0275\u0275restoreView":ct,"\u0275\u0275listener":Ec,"\u0275\u0275projection":Mc,"\u0275\u0275syntheticHostProperty":ih,"\u0275\u0275syntheticHostListener":Ac,"\u0275\u0275pipeBind1":tg,"\u0275\u0275pipeBind2":ng,"\u0275\u0275pipeBind3":rg,"\u0275\u0275pipeBind4":ig,"\u0275\u0275pipeBindV":sg,"\u0275\u0275projectionDef":Pc,"\u0275\u0275hostProperty":rh,"\u0275\u0275property":dc,"\u0275\u0275propertyInterpolate":Nc,"\u0275\u0275propertyInterpolate1":Rc,"\u0275\u0275propertyInterpolate2":Lc,"\u0275\u0275propertyInterpolate3":jc,"\u0275\u0275propertyInterpolate4":Fc,"\u0275\u0275propertyInterpolate5":Bc,"\u0275\u0275propertyInterpolate6":$c,"\u0275\u0275propertyInterpolate7":Vc,"\u0275\u0275propertyInterpolate8":Uc,"\u0275\u0275propertyInterpolateV":zc,"\u0275\u0275pipe":eg,"\u0275\u0275queryRefresh":xg,"\u0275\u0275viewQuery":Cg,"\u0275\u0275loadQuery":Eg,"\u0275\u0275contentQuery":Sg,"\u0275\u0275reference":Nl,"\u0275\u0275classMap":ou,"\u0275\u0275classMapInterpolate1":Ou,"\u0275\u0275classMapInterpolate2":Du,"\u0275\u0275classMapInterpolate3":Pu,"\u0275\u0275classMapInterpolate4":Mu,"\u0275\u0275classMapInterpolate5":Nu,"\u0275\u0275classMapInterpolate6":Ru,"\u0275\u0275classMapInterpolate7":Lu,"\u0275\u0275classMapInterpolate8":ju,"\u0275\u0275classMapInterpolateV":Fu,"\u0275\u0275styleMap":iu,"\u0275\u0275styleMapInterpolate1":Bu,"\u0275\u0275styleMapInterpolate2":$u,"\u0275\u0275styleMapInterpolate3":Vu,"\u0275\u0275styleMapInterpolate4":Uu,"\u0275\u0275styleMapInterpolate5":zu,"\u0275\u0275styleMapInterpolate6":Hu,"\u0275\u0275styleMapInterpolate7":qu,"\u0275\u0275styleMapInterpolate8":Gu,"\u0275\u0275styleMapInterpolateV":Wu,"\u0275\u0275styleProp":nu,"\u0275\u0275stylePropInterpolate1":Qu,"\u0275\u0275stylePropInterpolate2":Ku,"\u0275\u0275stylePropInterpolate3":Xu,"\u0275\u0275stylePropInterpolate4":Yu,"\u0275\u0275stylePropInterpolate5":Zu,"\u0275\u0275stylePropInterpolate6":Ju,"\u0275\u0275stylePropInterpolate7":eh,"\u0275\u0275stylePropInterpolate8":th,"\u0275\u0275stylePropInterpolateV":nh,"\u0275\u0275classProp":ru,"\u0275\u0275advance":po,"\u0275\u0275template":Ml,"\u0275\u0275text":bu,"\u0275\u0275textInterpolate":wu,"\u0275\u0275textInterpolate1":_u,"\u0275\u0275textInterpolate2":xu,"\u0275\u0275textInterpolate3":Cu,"\u0275\u0275textInterpolate4":Su,"\u0275\u0275textInterpolate5":Eu,"\u0275\u0275textInterpolate6":Au,"\u0275\u0275textInterpolate7":ku,"\u0275\u0275textInterpolate8":Iu,"\u0275\u0275textInterpolateV":Tu,"\u0275\u0275i18
1n":bd,"\u0275\u0275i18nAttributes":wd,"\u0275\u0275i18nExp":_d,"\u0275\u0275i18nStart":vd,"\u0275\u0275i18nEnd":yd,"\u0275\u0275i18nApply":xd,"\u0275\u0275i18nPostprocess":Cd,"\u0275\u0275resolveWindow":us,"\u0275\u0275resolveDocument":hs,"\u0275\u0275resolveBody":ds,"\u0275\u0275setComponentScope":oe,"\u0275\u0275setNgModuleScope":he,"\u0275\u0275sanitizeHtml":ji,"\u0275\u0275sanitizeStyle":Fi,"\u0275\u0275sanitizeResourceUrl":$i,"\u0275\u0275sanitizeScript":Vi,"\u0275\u0275sanitizeUrl":Bi,"\u0275\u0275sanitizeUrlOrResourceUrl":Hi,"\u0275\u0275trustConstantHtml":Ui,"\u0275\u0275trustConstantResourceUrl":zi,forwardRef:p,resolveForwardRef:f};let Pg=null;const Mg=[],Ng=[];let Rg=!1;function Lg(e){return Array.isArray(e)?e.every(Lg):!!f(e)}new WeakMap,new WeakMap;function jg(e,t){const n=Kn(t.declarations||Mg),r=Bg(e);n.forEach(t=>{if(t.hasOwnProperty(Y)){Fg(me(t),r)}else t.hasOwnProperty(Z)||t.hasOwnProperty(J)||(t.ngSelectorScope=e)})}function Fg(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map(e=>e.hasOwnProperty(Y)?me(e):ge(e)).filter(e=>!!e),e.pipeDefs=()=>Array.from(t.compilation.pipes).map(e=>ve(e)),e.schemas=t.schemas,e.tView=null}function Bg(e){if(!Vg(e))throw new Error(`${e.name} does not have a module def (\u0275mod property)`);const t=ye(e);if(null!==t.transitiveCompileScopes)return t.transitiveCompileScopes;const n={schemas:t.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return fs(t.imports).forEach(e=>{const t=e;if(!Vg(t))throw new Error(`Importing ${t.name} which does not have a \u0275mod property`);const r=Bg(t);r.exported.directives.forEach(e=>n.compilation.directives.add(e)),r.exported.pipes.forEach(e=>n.compilation.pipes.add(e))}),fs(t.declarations).forEach(e=>{ve(e)?n.compilation.pipes.add(e):n.compilation.directives.add(e)}),fs(t.exports).forEach(e=>{const t=e;if(Vg(t)){const e=Bg(t);e.exported.directives.forEach(e=>{n.compilation.directives.add(e),n.exported.directives.add(e)}),e.exported.pipes.forEach(e=>{n.compilation.pipes.add(e),n.exported.pipes.add(e)})}else ve(t)?n.exported.pipes.add(t):n.exported.directives.add(t)}),t.transitiveCompileScopes=n,n}function $g(e){return function(e){return void 0!==e.ngModule}(e)?e.ngModule:e}function Vg(e){return!!ye(e)}let Ug=0;function zg(e,t){let n=null;qg(e,t||{}),Object.defineProperty(e,Z,{get:()=>{if(null===n){const r=Hg(e,t||{});n=Gn().compileDirective(Dg,r.sourceMapUrl,r.metadata)}return n},configurable:!1})}function Hg(e,t){const n=e&&e.name,r=`ng:///${n}/\u0275dir.js`,i=Gn(),s=Wg(e,t);return s.typeSourceSpan=i.createParseSourceSpan("Directive",n,r),s.usesInheritance&&Qg(e),{metadata:s,sourceMapUrl:r}}function qg(e,t){let n=null;Object.defineProperty(e,ne,{get:()=>{if(null===n){const r=Hg(e,t),i=Gn();n=i.compileFactory(Dg,`ng:///${e.name}/\u0275fac.js`,Object.assign(Object.assign({},r.metadata),{injectFn:"directiveInject",target:i.R3FactoryTarget.Directive}))}return n},configurable:!1})}function Gg(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function Wg(e,t){const n=Dr(),r=n.ownPropMetadata(e);return{name:e.name,type:e,typeArgumentCount:0,selector:void 0!==t.selector?t.selector:null,deps:Pr(e),host:t.host||Q,propMetadata:r,inputs:t.inputs||X,outputs:t.outputs||X,queries:Xg(e,r,Yg),lifecycle:{usesOnChanges:n.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!Gg(e),exportAs:(i=t.exportAs,void 0===i?null:ev(i)),providers:t.providers||null,viewQueries:Xg(e,r,Zg)};var i}function Qg(e){const t=Object.prototype;let n=Object.getPrototypeOf(e.prototype).constructor;for(;n&&n!==t;)ge(n)||me(n)||!nv(n)||zg(n,null),n=Object.getPrototypeOf(n)}function Kg(e,t){return{propertyName:e,predicate:(n=t.selector,"string"==typeof n?ev(n):f(n)),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static,emitDistinctChangesOnly:!!t.emitDistinctChangesOnly};var n}function Xg(e,t,n){const r=[];for(const i in t)if(t.hasOwnProperty(i)){const s=t[i];s.forEach(t=>{if(n(t)){if(!t.selector)throw new Error(`Can't construct a query for the property "${i}" of "${b(e)}" since the query selector wasn't defined.`);if(s.some(Jg))throw new Error("Cannot combine @Input decorators with query decorators");r.push(Kg(i,t))}})}return r}function Yg(e){const t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function Zg(e){const t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function Jg(e){return"Input"===e.ngMetadataName}function ev(e){return e.split(",").map(e=>e.trim())}const tv=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function nv(e){const t=Dr();if(tv.some(n=>t.hasLifecycleHook(e,n)))return!0;const n=t.propMetadata(e);for(const r in n){const e=n[r];for(let t=0;t<e.length;t++){const n=e[t],r=n.ngMetadataName;if(Jg(n)||Yg(n)||Zg(n)||"Output"===r||"HostBinding"===r||"HostListener"===r)return!0}}return!1}function rv(e,t){return{type:e,typeArgumentCount:0,name:e.name,deps:Pr(e),pipeName:t.name,pure:void 0===t.pure||t.pure}}const iv=Pn("Directive",(e={})=>e,void 0,void 0,(e,t)=>dv(e,t)),sv=Pn("Component",(e={})=>Object.assign({changeDetection:$.Default},e),iv,void 0,(e,t)=>hv(e,t)),ov=Pn("Pipe",e=>Object.assign({pure:!0},e),void 0,void 0,(e,t)=>pv(e,t)),av=Rn("Input",e=>({bindingPropertyName:e})),lv=Rn("Output",e=>({bindingPropertyName:e})),cv=Rn("HostBinding",e=>({hostPropertyName:e})),uv=Rn("HostListener",(e,t)=>({eventName:e,args:t})),hv=function(e,t){let n=null;!function(e,t){jr(t)&&(Rr.set(e,t),Lr.add(e))}(e,t),qg(e,t),Object.defineProperty(e,Y,{get:()=>{if(null===n){const r=Gn();if(jr(t)){const n=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&n.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&n.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}
1`),n.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(n.join("\n"))}const i=Pg;let s=t.preserveWhitespaces;void 0===s&&(s=null!==i&&void 0!==i.preserveWhitespaces&&i.preserveWhitespaces);let o=t.encapsulation;void 0===o&&(o=null!==i&&void 0!==i.defaultEncapsulation?i.defaultEncapsulation:U.Emulated);const a=t.templateUrl||`ng:///${e.name}/template.html`,l=Object.assign(Object.assign({},Wg(e,t)),{typeSourceSpan:r.createParseSourceSpan("Component",e.name,a),template:t.template||"",preserveWhitespaces:s,styles:t.styles||X,animations:t.animations,directives:[],changeDetection:t.changeDetection,pipes:new Map,encapsulation:o,interpolation:t.interpolation,viewProviders:t.viewProviders||null});Ug++;try{l.usesInheritance&&Qg(e),n=r.compileComponent(Dg,a,l)}finally{Ug--}if(0===Ug&&function(){if(!Rg){Rg=!0;try{for(let e=Ng.length-1;e>=0;e--){const{moduleType:t,ngModule:n}=Ng[e];n.declarations&&n.declarations.every(Lg)&&(Ng.splice(e,1),jg(t,n))}}finally{Rg=!1}}}(),void 0!==e.ngSelectorScope){const t=Bg(e.ngSelectorScope);Fg(n,t)}}return n},configurable:!1})},dv=zg,pv=function(e,t){let n=null,r=null;Object.defineProperty(e,ne,{get:()=>{if(null===r){const n=rv(e,t),i=Gn();r=i.compileFactory(Dg,`ng:///${n.name}/\u0275fac.js`,Object.assign(Object.assign({},n),{injectFn:"directiveInject",target:i.R3FactoryTarget.Pipe}))}return r},configurable:!1}),Object.defineProperty(e,J,{get:()=>{if(null===n){const r=rv(e,t);n=Gn().compilePipe(Dg,`ng:///${r.name}/\u0275pipe.js`,r)}return n},configurable:!1})},fv=Pn("NgModule",e=>e,void 0,void 0,(e,t)=>mv(e,t));const mv=function(e,t={}){!function(e,t,n=!1){const r=Kn(t.declarations||Mg);let i=null;Object.defineProperty(e,ee,{configurable:!0,get:()=>(null===i&&(i=Gn().compileNgModule(Dg,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:Kn(t.bootstrap||Mg).map(f),declarations:r.map(f),imports:Kn(t.imports||Mg).map(f).map($g),exports:Kn(t.exports||Mg).map(f).map($g),schemas:t.schemas?Kn(t.schemas):null,id:t.id||null}),i.schemas||(i.schemas=[])),i)});let s=null;Object.defineProperty(e,ne,{get:()=>{if(null===s){const t=Gn();s=t.compileFactory(Dg,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,deps:Pr(e),injectFn:"inject",target:t.R3FactoryTarget.NgModule,typeArgumentCount:0})}return s},configurable:!1});let o=null;Object.defineProperty(e,P,{get:()=>{if(null===o){const n={name:e.name,type:e,providers:t.providers||Mg,imports:[(t.imports||Mg).map(f),(t.exports||Mg).map(f)]};o=Gn().compileInjector(Dg,`ng:///${e.name}/\u0275inj.js`,n)}return o},configurable:!1})}(e,t),function(e,t){Ng.push({moduleType:e,ngModule:t})}(e,t)},gv=new jn("Application Initializer");class vv{constructor(e){this.appInits=e,this.resolve=Bd,this.reject=Bd,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const t=this.appInits[n]();xc(t)&&e.push(t)}Promise.all(e).then(()=>{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}vv.\u0275fac=function(e){return new(e||vv)(yr(gv,8))},vv.\u0275prov=E({token:vv,factory:vv.\u0275fac}),vv.ctorParameters=()=>[{type:Array,decorators:[{type:Er,args:[gv]},{type:Ar}]}];const yv=new jn("AppId");const bv={provide:yv,useFactory:function(){return`${wv()}${wv()}${wv()}`},deps:[]};function wv(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const _v=new jn("Platform Initializer"),xv=new jn("Platform ID"),Cv=new jn("appBootstrapListener"),Sv=new jn("Application Packages Root URL");class Ev{log(e){console.log(e)}warn(e){console.warn(e)}}Ev.\u0275fac=function(e){return new(e||Ev)},Ev.\u0275prov=E({token:Ev,factory:Ev.\u0275fac});const Av=new jn("LocaleId"),kv=new jn("DefaultCurrencyCode"),Iv=new jn("Translations"),Tv=new jn("TranslationsFormat");var Ov;!function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"}(Ov||(Ov={}));class Dv{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const Pv=function(e){return new jm(e)},Mv=Pv,Nv=function(e){return Promise.resolve(Pv(e))},Rv=function(e){const t=Pv(e),n=fs(ye(e).declarations).reduce((e,t)=>
1{const n=me(t);return n&&e.push(new Om(n)),e},[]);return new Dv(t,n)},Lv=Rv,jv=function(e){return Promise.resolve(Rv(e))};class Fv{constructor(){this.compileModuleSync=Mv,this.compileModuleAsync=Nv,this.compileModuleAndAllComponentsSync=Lv,this.compileModuleAndAllComponentsAsync=jv}clearCache(){}clearCacheFor(e){}getModuleId(e){}}Fv.\u0275fac=function(e){return new(e||Fv)},Fv.\u0275prov=E({token:Fv,factory:Fv.\u0275fac});const Bv=new jn("compilerOptions");class $v{}const Vv=Promise.resolve(0);function Uv(e){"undefined"==typeof Zone?Vv.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class zv{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ug(!1),this.onMicrotaskEmpty=new ug(!1),this.onStable=new ug(!1),this.onError=new ug(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!n&&t,r.shouldCoalesceRunChangeDetection=n,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function(){let e=W.requestAnimationFrame,t=W.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=()=>{!function(e){if(-1!==e.lastRequestAnimationFrameId)return;e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(W,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Gv(e),qv(e)},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Gv(e)}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,s,o,a)=>{try{return Wv(e),n.invokeTask(i,s,o,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),Qv(e)}},onInvoke:(n,r,i,s,o,a,l)=>{try{return Wv(e),n.invoke(i,s,o,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),Qv(e)}},onHasTask:(t,n,r,i)=>{t.hasTask(r,i),n===r&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Gv(e),qv(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(t,n,r,i)=>(t.handleError(r,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(r)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!zv.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(zv.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,r){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+r,e,Hv,Bd,Bd);try{return i.runTask(s,t,n)}finally{i.cancelTask(s)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}const Hv={};function qv(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Gv(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Wv(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Qv(e){e._nesting--,qv(e)}class Kv{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ug,this.onMicrotaskEmpty=new ug,this.onStable=new ug,this.onError=ne
1w ug}run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,r){return e.apply(t,n)}}class Xv{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{zv.assertNotInAngularZone(),Uv(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Uv(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let r=-1;t&&t>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==r),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}whenStable(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,n){return[]}}Xv.\u0275fac=function(e){return new(e||Xv)(yr(zv))},Xv.\u0275prov=E({token:Xv,factory:Xv.\u0275fac}),Xv.ctorParameters=()=>[{type:zv}];class Yv{constructor(){this._applications=new Map,ey.addToWindow(this)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return ey.findTestabilityInTree(this,e,t)}}Yv.\u0275fac=function(e){return new(e||Yv)},Yv.\u0275prov=E({token:Yv,factory:Yv.\u0275fac}),Yv.ctorParameters=()=>[];function Zv(e){ey=e}let Jv,ey=new class{addToWindow(e){}findTestabilityInTree(e,t,n){return null}},ty=!0,ny=!1;function ry(){return ny=!0,ty}function iy(){if(ny)throw new Error("Cannot enable prod mode after platform setup.");ty=!1}let sy=function(e,t,n){const r=new jm(n);if("undefined"!=typeof ngJitMode&&!ngJitMode)return Promise.resolve(r);const i=e.get(Bv,[]).concat(t);if(function(e){if(null!==Pg){if(e.defaultEncapsulation!==Pg.defaultEncapsulation)return;if(e.preserveWhitespaces!==Pg.preserveWhitespaces)return}Pg=e}({defaultEncapsulation:gy(i.map(e=>e.defaultEncapsulation)),preserveWhitespaces:gy(i.map(e=>e.preserveWhitespaces))}),function(){return 0===Rr.size}())return Promise.resolve(r);const s=function(e){const t=[];return e.forEach(e=>e&&t.push(...e)),t}(i.map(e=>e.providers));if(0===s.length)return Promise.resolve(r);const o=Gn(),a=Na.create({providers:s}).get(o.ResourceLoader);return Nr(e=>Promise.resolve(a.get(e))).then(()=>r)};let oy=function(){},ay=function(e){return e.isBoundToModule};const ly=new jn("AllowMultipleToken");class cy{constructor(e,t){this.name=e,this.token=t}}function uy(e,t,n=[]){const r=`Platform: ${t}`,i=new jn(r);return(t=[])=>{let s=hy();if(!s||s.injector.get(ly,!1))if(e)e(n.concat(t).concat({provide:i,useValue:!0}));else{const e=n.concat(t).concat({provide:i,useValue:!0},{provide:wa,useValue:"platform"});!function(e){if(Jv&&!Jv.destroyed&&!Jv.injector.get(ly,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");oy(),Jv=e.get(dy);const t=e.get(_v,null);
1t&&t.forEach(e=>e())}(Na.create({providers:e,name:r}))}return function(e){const t=hy();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(i)}}function hy(){return Jv&&!Jv.destroyed?Jv:null}class dy{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n=function(e,t){let n;n="noop"===e?new Kv:("zone.js"===e?void 0:e)||new zv({enableLongStackTrace:ry(),shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)});return n}(t?t.ngZone:void 0,{ngZoneEventCoalescing:t&&t.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:t&&t.ngZoneRunCoalescing||!1}),r=[{provide:zv,useValue:n}];return n.run(()=>{const t=Na.create({providers:r,parent:this.injector,name:e.moduleType.name}),i=e.create(t),s=i.injector.get(Ki,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const e=n.onError.subscribe({next:e=>{s.handleError(e)}});i.onDestroy(()=>{my(this._modules,i),e.unsubscribe()})}),function(e,t,n){try{const r=n();return xc(r)?r.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(s,n,()=>{const e=i.injector.get(vv);return e.runInitializers(),e.donePromise.then(()=>{wh(i.injector.get(Av,mh)||mh);return this._moduleDoBootstrap(i),i})})})}bootstrapModule(e,t=[]){const n=py({},t);return sy(this.injector,n,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(fy);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${u(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);e.instance.ngDoBootstrap(t)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}function py(e,t){return e=Array.isArray(t)?t.reduce(py,e):Object.assign(Object.assign({},e),t)}dy.\u0275fac=function(e){return new(e||dy)(yr(Na))},dy.\u0275prov=E({token:dy,factory:dy.\u0275fac}),dy.ctorParameters=()=>[{type:Na}];class fy{constructor(e,t,n,r,i){this._zone=e,this._injector=t,this._exceptionHandler=n,this._componentFactoryResolver=r,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const l=new s.a(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),c=new s.a(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{zv.assertNotInAngularZone(),Uv(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{zv.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=Object(o.a)(l,c.pipe(Object(a.a)()))}bootstrap(e,t){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=e instanceof Md?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const r=ay(n)?void 0:this._injector.get(Ep),i=t||n.selector,s=n.create(Na.NULL,[],i,r),o=s.location.nativeElement,a=s.injector.get(Xv,null),l=a&&s.injector.get(Yv);return a&&l&&l.registerApplication(o,a),s.onDestroy(()=>{this.detachView(s.hostView),my(this.components,s),l&&l.unregisterApplication(o)}),this._loadComponent(s),s}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let e of this._views)e.detectChanges();0}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;my(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);
1this._injector.get(Cv,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}function my(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function gy(e){for(let t=e.length-1;t>=0;t--)if(void 0!==e[t])return e[t]}fy.\u0275fac=function(e){return new(e||fy)(yr(zv),yr(Na),yr(Ki),yr(Ld),yr(vv))},fy.\u0275prov=E({token:fy,factory:fy.\u0275fac}),fy.ctorParameters=()=>[{type:zv},{type:Na},{type:Ki},{type:Ld},{type:vv}];class vy{}class yy{}const by={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};class wy{constructor(e,t){this._compiler=e,this._config=t||by}load(e){return this.loadAndCompile(e)}loadAndCompile(e){let[t,r]=e.split("#");return void 0===r&&(r="default"),n("zn8P")(t).then(e=>e[r]).then(e=>_y(e,t,r)).then(e=>this._compiler.compileModuleAsync(e))}loadFactory(e){let[t,r]=e.split("#"),i="NgFactory";return void 0===r&&(r="default",i=""),n("zn8P")(this._config.factoryPathPrefix+t+this._config.factoryPathSuffix).then(e=>e[r+i]).then(e=>_y(e,t,r))}}function _y(e,t,n){if(!e)throw new Error(`Cannot find '${n}' in '${t}'`);return e}wy.\u0275fac=function(e){return new(e||wy)(yr(Fv),yr(yy,8))},wy.\u0275prov=E({token:wy,factory:wy.\u0275fac}),wy.ctorParameters=()=>[{type:Fv},{type:yy,decorators:[{type:Ar}]}];class xy{constructor(e,t){this.name=e,this.callback=t}}class Cy{constructor(e,t,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=e,t&&t instanceof Sy&&t.addChild(this)}get injector(){return this._debugContext.injector}get componentInstance(){return this._debugContext.component}get context(){return this._debugContext.context}get references(){return this._debugContext.references}get providerTokens(){return this._debugContext.providerTokens}}class Sy extends Cy{constructor(e,t,n){super(e,t,n),this.properties={},this.attributes={},this.classes={},this.styles={},this.childNodes=[],this.nativeElement=e}addChild(e){e&&(this.childNodes.push(e),e.parent=this)}removeChild(e){const t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))}insertChildrenAfter(e,t){const n=this.childNodes.indexOf(e);-1!==n&&(this.childNodes.splice(n+1,0,...t),t.forEach(t=>{t.parent&&t.parent.removeChild(t),e.parent=this}))}insertBefore(e,t){const n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))}query(e){return this.queryAll(e)[0]||null}queryAll(e){const t=[];return Ey(this,e,t),t}queryAllNodes(e){const t=[];return Ay(this,e,t),t}get children(){return this.childNodes.filter(e=>e instanceof Sy)}triggerEventHandler(e,t){this.listeners.forEach(n=>{n.name==e&&n.callback(t)})}}function Ey(e,t,n){e.childNodes.forEach(e=>{e instanceof Sy&&(t(e)&&n.push(e),Ey(e,t,n))})}function Ay(e,t,n){e instanceof Sy&&e.childNodes.forEach(e=>{t(e)&&n.push(e),e instanceof Sy&&Ay(e,t,n)})}class ky{constructor(e){this.nativeNode=e}get parent(){const e=this.nativeNode.parentNode;return e?new Iy(e):null}get injector(){return Fa(this.nativeNode)}get componentInstance(){const e=this.nativeNode;return e&&(Ra(e)||ja(e))}get context(){return Ra(this.nativeNode)||La(this.nativeNode)}get listeners(){return $a(this.nativeNode).filter(e=>"dom"===e.type)}get references(){return function(e){const t=Ba(e,!1);return null===t?{}:(void 0===t.localRefs&&(t.localRefs=function(e,t){const n=e[1].data[t];if(n&&n.localNames){const t={};let r=n.index+1;for(let i=0;i<n.localNames.length;i+=2)t[n.localNames[i]]=e[r],r++;return t}return null}(t.lView,t.nodeIndex)),t.localRefs||{})}(this.nativeNode)}get providerTokens(){return function(e){const t=Ba(e,!1);if(null===t)return[];const n=t.lView[1],r=n.data[t.nodeIndex],i=[],s=1048575&r.providerIndexes,o=r.directiveEnd;for(let l=s;l<o;l++){let e=n.data[l];void 0!==(a=e).type&&void 0!==a.template&&void 0!==a.declaredInputs&&(e=e.type),i.push(e)}var a;return i}(this.nativeNode)}}class Iy extends ky{constructor(e){super(e)}get nativeElement(){return this.nativeNode.nodeType==Node.ELEMENT_NODE?this.nativeNode:null}get name(){try{const e=Ba(this.nativeNode),t=e.lView[1].data;return t[e.nodeIndex].value}catch(e){return this.nativeNode.nodeName}}get properties(){const e=Ba(this.nativeNode,!1);if(null==e)return{};const t=e.lView,n=t[1].data,r=n[e.nodeIndex],i={};return function(e,t){if(e){let n=Object.getPrototypeOf(e);const r=Node.prototype;for(;null!==n&&n!==r;){const r=Object.getOwnPropertyDescriptors(n);for(let n in r)if(!n.startsWith("__")&&!n.startsWith("on")){const r=e[n];Ty(r)&&(t[n]=r)}n=Object.getPrototypeOf(n)}}}(this.nativeElement,i),function(e,t,n,r){let i=t.propertyBindings;if(null!==i)for(let s=0;s<i.length;s++){const t=i[s],o=r[t].split(ps),a=o[0];if(o.length>1){let r=o[1];for(let e=1;e<o.length-1;e++)r+=y(n[t+e-1])+o[e+1];e[a]=r}else e[a]=n[t]}}(i,r,t,n),i}get attributes(){const e={},t=this.nativeElement;if(!t)return e;const n=Ba(t,!1);if(null==n)return{};const r=n.lView[1].data[n.nodeIndex].attrs,i=[];if(r){let t=0;for(;t<r.length;){const n=r[t];if("string"!=typeof n)break;const s=r[t+1];e[n]=s,i.push(n.toLowerCase()),t+=2}}const s=t.attributes;for(let o=0;o<s.length;o++){const t=s[o],n=t.name.toLowerCase();-1===i.indexOf(n)&&(e[n]=t.value)}return e}get styles(){return this.nativeElement&&this.nativeElement.style?this.nativeElement.style:{}}get classes(){const e={},t=this.nativeElement.className;return(t&&"string"!=typeof t?t.baseVal.split(" "):t.split(" ")).forEac
1h(t=>e[t]=!0),e}get childNodes(){const e=this.nativeNode.childNodes,t=[];for(let n=0;n<e.length;n++){const r=e[n];t.push(jy(r))}return t}get children(){const e=this.nativeElement;if(!e)return[];const t=e.children,n=[];for(let r=0;r<t.length;r++){const e=t[r];n.push(jy(e))}return n}query(e){return this.queryAll(e)[0]||null}queryAll(e){const t=[];return Oy(this,e,t,!0),t}queryAllNodes(e){const t=[];return Oy(this,e,t,!1),t}triggerEventHandler(e,t){const n=this.nativeNode,r=[];this.listeners.forEach(i=>{if(i.name===e){const e=i.callback;e.call(n,t),r.push(e)}}),"function"==typeof n.eventListeners&&n.eventListeners(e).forEach(e=>{if(-1!==e.toString().indexOf("__ngUnwrap__")){const i=e("__ngUnwrap__");return-1===r.indexOf(i)&&i.call(n,t)}})}}function Ty(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function Oy(e,t,n,r){const i=Ba(e.nativeNode,!1);if(null!==i){Dy(i.lView[1].data[i.nodeIndex],i.lView,t,n,r,e.nativeNode)}else Ny(e.nativeNode,t,n,r)}function Dy(e,t,n,r,i,s){const o=function(e,t){const n=null===e?-1:e.index;if(-1!==n){return He(t[n])}return null}(e,t);if(11&e.type){if(My(o,n,r,i,s),Se(e)){const o=Ke(e.index,t);o&&o[1].firstChild&&Dy(o[1].firstChild,o,n,r,i,s)}else e.child&&Dy(e.child,t,n,r,i,s),o&&Ny(o,n,r,i);const a=t[e.index];xe(a)&&Py(a,n,r,i,s)}else if(4&e.type){const o=t[e.index];My(o[7],n,r,i,s),Py(o,n,r,i,s)}else if(16&e.type){const o=t[16],a=o[6].projection[e.projection];if(Array.isArray(a))for(let e of a)My(e,n,r,i,s);else if(a){const e=o[3];Dy(e[1].data[a.index],e,n,r,i,s)}}else e.child&&Dy(e.child,t,n,r,i,s);if(s!==o){const o=4&e.flags?e.projectionNext:e.next;o&&Dy(o,t,n,r,i,s)}}function Py(e,t,n,r,i){for(let s=we;s<e.length;s++){const o=e[s],a=o[1].firstChild;a&&Dy(a,o,t,n,r,i)}}function My(e,t,n,r,i){if(i!==e){const i=Fy(e);if(!i)return;(r&&i instanceof Iy&&t(i)&&-1===n.indexOf(i)||!r&&t(i)&&-1===n.indexOf(i))&&n.push(i)}}function Ny(e,t,n,r){const i=e.childNodes,s=i.length;for(let o=0;o<s;o++){const e=i[o],s=Fy(e);s&&((r&&s instanceof Iy&&t(s)&&-1===n.indexOf(s)||!r&&t(s)&&-1===n.indexOf(s))&&n.push(s),Ny(e,t,n,r))}}const Ry=new Map;const Ly="__ng_debug__";function jy(e){return e instanceof Node?(e.hasOwnProperty(Ly)||(e.__ng_debug__=e.nodeType==Node.ELEMENT_NODE?new Iy(e):new ky(e)),e.__ng_debug__):null}const Fy=jy;const By=function(e){return null};function $y(e){Ry.set(e.nativeNode,e)}const Vy=uy(null,"core",[{provide:xv,useValue:"unknown"},{provide:dy,deps:[Na]},{provide:Yv,deps:[]},{provide:Ev,deps:[]}]);const Uy=[{provide:fy,useClass:fy,deps:[zv,Na,Ki,Ld,vv]},{provide:Tm,deps:[zv],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:vv,useClass:vv,deps:[[new Ar,gv]]},{provide:Fv,useClass:Fv,deps:[]},bv,{provide:ap,useFactory:function(){return yp},deps:[]}
1,{provide:cp,useFactory:function(){return bp},deps:[]},{provide:Av,useFactory:function(e){return wh(e=e||"undefined"!=typeof $localize&&$localize.locale||mh),e},deps:[[new Er(Av),new Ar,new Ir]]},{provide:kv,useValue:"USD"}];class zy{constructor(e){}}function Hy(e,t,n,r,i,s){e|=1;const{matchedQueries:o,references:a,matchedQueryIds:l}=df(t);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:o,matchedQueryIds:l,references:a,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:s?gf(s):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:i||qp},provider:null,text:null,query:null,ngContent:null}}function qy(e,t,n,r,i,s,o=[],a,l,c,u,h){c||(c=qp);const{matchedQueries:d,references:p,matchedQueryIds:f}=df(n);let m=null,g=null;s&&([m,g]=Cf(s)),a=a||[];const v=[];for(let w=0;w<a.length;w++){const[e,t,n]=a[w],[r,i]=Cf(t);let s,o;switch(15&e){case 4:o=n;break;case 1:case 8:s=n}v[w]={flags:e,ns:r,name:i,nonMinifiedName:i,securityContext:s,suffix:o}}l=l||[];const y=[];for(let w=0;w<l.length;w++){const[e,t]=l[w];y[w]={type:0,target:e,eventName:t,propName:null}}const b=(o=o||[]).map(([e,t])=>{const[n,r]=Cf(e);return[n,r,t]});return h=function(e){if(e&&e.id===Kp){const t=null!=e.encapsulation&&e.encapsulation!==U.None||e.styles.length||Object.keys(e.data).length;e.id=t?"c"+Zp++:Xp}return e&&e.id===Xp&&(e=null),e||null}(h),u&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:d,matchedQueryIds:f,references:p,ngContentIndex:r,childCount:i,bindings:v,bindingFlags:Sf(v),outputs:y,element:{ns:m,name:g,attrs:b,template:null,componentProvider:null,componentView:u||null,componentRendererType:h,publicProviders:null,allProviders:null,handleEvent:c||qp},provider:null,text:null,query:null,ngContent:null}}function Gy(e,t,n){const r=n.element,i=e.root.selectorOrNode,s=e.renderer;let o;if(e.parent||!i){o=r.name?s.createElement(r.name,r.ns):s.createComment("");const i=ff(e,t,n);i&&s.appendChild(i,o)}else{const e=!!r.componentRendererType&&r.componentRendererType.encapsulation===U.ShadowDom;o=s.selectRootElement(i,e)}if(r.attrs)for(let a=0;a<r.attrs.length;a++){const[e,t,n]=r.attrs[a];s.setAttribute(o,t,n,e)}return o}function Wy(e,t,n,r){for(let o=0;o<n.outputs.length;o++){const a=n.outputs[o],l=Qy(e,n.nodeIndex,(i=a.target,s=a.eventName,i?`${i}:${s}`:s));let c=a.target,u=e;"component"===a.target&&(c=null,u=t);const h=u.renderer.listen(c||r,a.eventName,l);e.disposables[n.outputIndex+o]=h}var i,s}function Qy(e,t,n){return r=>sf(e,t,n,r)}function Ky(e,t,n,r){if(!ef(e,t,n,r))return!1;const i=t.bindings[n],s=$p(e,t.nodeIndex),o=s.renderElement,a=i.name;switch(15&i.flags){case 1:!function(e,t,n,r,i,s){const o=t.securityContext;let a=o?e.root.sanitizer.sanitize(o,s):s;a=null!=a?a.toString():null;const l=e.renderer;null!=s?l.setAttribute(n,i,a,r):l.removeAttribute(n,i,r)}(e,i,o,i.ns,a,r);break;case 2:!function(e,t,n,r){const i=e.renderer;r?i.addClass(t,n):i.removeClass(t,n)}(e,o,a,r);break;case 4:!function(e,t,n,r,i){let s=e.root.sanitizer.sanitize(Li.STYLE,i);if(null!=s){s=s.toString();const e=t.suffix;null!=e&&(s+=e)}else s=null;const o=e.renderer;null!=s?o.setStyle(n,r,s):o.removeStyle(n,r)}(e,i,o,a,r);break;case 8:!function(e,t,n,r,i){const s=t.securityContext;let o=s?e.root.sanitizer.sanitize(s,i):i;e.renderer.setProperty(n,r,o)}(33554432&t.flags&&32&i.flags?s.componentView:e,i,o,a,r)}return!0}function Xy(e,t,n){let r=[];for(let i in n){const e=n[i];r.push({propName:i,bindingType:e})}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:t,filterId:hf(t),bindings:r},ngContent:null}}function Yy(e){const t=e.def.nodeMatchedQueries;for(;e.parent&&uf(e);){let n=e.parentNodeDef;e=e.parent;const r=n.nodeIndex+n.childCount;for(let i=0;i<=r;i++){const r=e.def.nodes[i];67108864&r.flags&&536870912&r.flags&&(r.query.filterId&t)===r.query.filterId&&zp(e,i).setDirty(),!(1&r.flags&&i+r.childCount<n.nodeIndex)&&67108864&r.childFlags&&536870912&r.childFlags||(i+=r.childCount)}}if(134217728&e.def.nodeFlags)for(let n=0;n<e.def.nodes.length;n++){const t=e.def.nodes[n];134217728&t.flags&&536870912&t.flags&&zp(e,n).setDirty(),n+=t.childCount}}function Zy(e,t){const n=zp(e,t.nodeIndex);if(!n.dirty)return;let r,i;if(67108864&t.flags){const n=t.parent.parent;i=Jy(e,n.nodeIndex,n.nodeIndex+n.childCount,t.query,[]),r=Vp(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(i=Jy(e,0,e.def.nodes.length-1,t.query,[]),r=e.component);n.reset(i,zd);const s=t.query.bindings;let o=!1;for(let a=0;a<s.length;a++){const e=s[a];let t;switch(e.bindingType){case 0:t=n.first;break;case 1:t=n,o=!0}r[e.propName]=t}o&&n.notifyOnChanges()}function Jy(e,t,n,r,i){for(let s=t;s<=n;s++){const t=e.def.nodes[s],n=t.matchedQueries[r.id];if(null!=n&&i.push(eb(e,t,n)),1&t.flags&&t.element.template&&(t.element.template.nodeMatchedQueries&r.filterId)===r.filterId){const n=$p(e,s);if((t.childMatchedQueries&r.filterId)===r.filterId&&(Jy(e,s+1,s+t.childCount,r,i),s+=t.childCount),16777216&t.flags){const e=n.viewContainer._embeddedViews;for(let t=0;t<e.length;t++){const s=e[t],o=of(s);o&&o===n&&Jy(s,0,s.def.nodes.length-1,r,i)}}const o=n.template._projectedViews;if(o)for(let e=0;e<o.length;e++){const t=o[e];Jy(t,0,t.def.nodes.length-1,r,i)}}(t.childMatchedQueries&r.filterId)!==r.filterId&&(s+=t.childCount)}return i}function eb(e,t,n){if(null!=n)switch(n){case 1:return $p(e,t.nodeIndex).renderElement;case 0:return new Ud($p(e,t.nodeIndex).renderElement);case 2:return $p(e,t.nodeIndex).template;
1case 3:return $p(e,t.nodeIndex).viewContainer;case 4:return Vp(e,t.nodeIndex).instance}}function tb(e,t){return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:8,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:t}}}function nb(e,t,n){const r=ff(e,t,n);if(!r)return;bf(e,n.ngContent.index,1,r,null,void 0)}function rb(e,t){return ob(128,e,Jn(t+1))}function ib(e,t){return ob(32,e,Jn(t))}function sb(e,t){const n=Object.keys(t),r=n.length,i=[];for(let s=0;s<r;s++){const e=n[s];t[e];i.push(e)}return ob(64,e,i)}function ob(e,t,n){const r=[];for(let i=0;i<n.length;i++){const e=n[i];r.push({flags:8,name:e,ns:null,nonMinifiedName:e,securityContext:null,suffix:null})}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:r,bindingFlags:Sf(r),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function ab(e,t,n){const r=[];for(let i=1;i<n.length;i++)r[i-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[i]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function lb(e,t,n){let r;const i=e.renderer;r=i.createText(n.text.prefix);const s=ff(e,t,n);return s&&i.appendChild(s,r),{renderText:r}}function cb(e,t){return(null!=e?e.toString():"")+t.suffix}function ub(e,t,n,r){let i=0,s=0,o=0,a=0,l=0,c=null,u=null,h=!1,d=!1,p=null;for(let f=0;f<t.length;f++){const e=t[f];if(e.nodeIndex=f,e.parent=c,e.bindingIndex=i,e.outputIndex=s,e.renderParent=u,o|=e.flags,l|=e.matchedQueryIds,e.element){const t=e.element;t.publicProviders=c?c.element.publicProviders:Object.create(null),t.allProviders=t.publicProviders,h=!1,d=!1,e.element.template&&(l|=e.element.template.nodeMatchedQueries)}if(db(c,e,t.length),i+=e.bindings.length,s+=e.outputs.length,!u&&3&e.flags&&(p=e),20224&e.flags){h||(h=!0,c.element.publicProviders=Object.create(c.element.publicProviders),c.element.allProviders=c.element.publicProviders);const t=0!=(8192&e.flags),n=0!=(32768&e.flags);!t||n?c.element.publicProviders[Wp(e.provider.token)]=e:(d||(d=!0,c.element.allProviders=Object.create(c.element.publicProviders)),c.element.allProviders[Wp(e.provider.token)]=e),n&&(c.element.componentProvider=e)}if(c?(c.childFlags|=e.flags,c.directChildFlags|=e.flags,c.childMatchedQueries|=e.matchedQueryIds,e.element&&e.element.template&&(c.childMatchedQueries|=e.element.template.nodeMatchedQueries)):a|=e.flags,e.childCount>0)c=e,hb(e)||(u=e);else for(;c&&f===c.nodeIndex+c.childCount;){const e=c.parent;e&&(e.childFlags|=c.childFlags,e.childMatchedQueries|=c.childMatchedQueries),c=e,u=c&&hb(c)?c.renderParent:c}}return{factory:null,nodeFlags:o,rootNodeFlags:a,nodeMatchedQueries:l,flags:e,nodes:t,updateDirectives:n||qp,updateRenderer:r||qp,handleEvent:(e,n,r,i)=>t[n].element.handleEvent(e,r,i),bindingCount:i,outputCount:s,lastRenderRootNode:p}}function hb(e){return 0!=(1&e.flags)&&null===e.element.name}function db(e,t,n){const r=t.element&&t.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error(`Illegal State: Last root node of a template can't have embedded views, at index ${t.nodeIndex}!`)}if(20224&t.flags){if(0==(1&(e?e.flags:0)))throw new Error(`Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index ${t.nodeIndex}!`)}if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error(`Illegal State: Content Query nodes need to be children of directives, at index ${t.nodeIndex}!`);if(134217728&t.flags&&e)throw new Error(`Illegal State: View Query nodes have to be top level nodes, at index ${t.nodeIndex}!`)}if(t.childCount){const r=e?e.nodeIndex+e.childCount:n-1;
1if(t.nodeIndex<=r&&t.nodeIndex+t.childCount>r)throw new Error(`Illegal State: childCount of node leads outside of parent, at index ${t.nodeIndex}!`)}}function pb(e,t,n,r){const i=gb(e.root,e.renderer,e,t,n);return vb(i,e.component,r),yb(i),i}function fb(e,t,n){const r=gb(e,e.renderer,null,null,t);return vb(r,n,n),yb(r),r}function mb(e,t,n,r){const i=t.element.componentRendererType;let s;return s=i?e.root.rendererFactory.createRenderer(r,i):e.root.renderer,gb(e.root,s,e,t.element.componentProvider,n)}function gb(e,t,n,r,i){const s=new Array(i.nodes.length),o=i.outputCount?new Array(i.outputCount):null;return{def:i,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:s,state:13,root:e,renderer:t,oldValues:new Array(i.bindingCount),disposables:o,initIndex:-1}}function vb(e,t,n){e.component=t,e.context=n}function yb(e){let t;if(cf(e)){const n=e.parentNodeDef;t=$p(e.parent,n.parent.nodeIndex).renderElement}const n=e.def,r=e.nodes;for(let s=0;s<n.nodes.length;s++){const o=n.nodes[s];let a;switch(Hp.setCurrentNode(e,s),201347067&o.flags){case 1:const n=Gy(e,t,o);let l;if(33554432&o.flags){const t=gf(o.element.componentView);l=Hp.createComponentView(e,o,t,n)}Wy(e,l,o,n),a={renderElement:n,componentView:l,viewContainer:null,template:o.element.template?Xf(e,o):void 0},16777216&o.flags&&(a.viewContainer=Gf(e,o,a));break;case 2:a=lb(e,t,o);break;case 512:case 1024:case 2048:case 256:if(a=r[s],!(a||4096&o.flags)){a={instance:fm(e,o)}}break;case 16:a={instance:mm(e,o)};break;case 16384:if(a=r[s],!a){a={instance:gm(e,o)}}if(32768&o.flags){vb($p(e,o.parent.nodeIndex).componentView,a.instance,a.instance)}break;case 32:case 64:case 128:a={value:void 0};break;case 67108864:case 134217728:i=-2147483648==(-2147483648&o.flags),a=new dg(i);break;case 8:nb(e,t,o),a=void 0}r[s]=a}var i;kb(e,Ab.CreateViewNodes),Db(e,201326592,268435456,0)}function bb(e){xb(e),Hp.updateDirectives(e,1),Ib(e,Ab.CheckNoChanges),Hp.updateRenderer(e,1),kb(e,Ab.CheckNoChanges),e.state&=-97}function wb(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,jp(e,0,256),xb(e),Hp.updateDirectives(e,0),Ib(e,Ab.CheckAndUpdate),Db(e,67108864,536870912,0);let t=jp(e,256,512);Sm(e,2097152|(t?1048576:0)),Hp.updateRenderer(e,0),kb(e,Ab.CheckAndUpdate),Db(e,134217728,536870912,0),t=jp(e,512,768),Sm(e,8388608|(t?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,jp(e,768,1024)}function _b(e,t,n,r,i,s,o,a,l,c,u,h,d){return 0===n?function(e,t,n,r,i,s,o,a,l,c,u,h){switch(201347067&t.flags){case 1:return function(e,t,n,r,i,s,o,a,l,c,u,h){const d=t.bindings.length;let p=!1;return d>0&&Ky(e,t,0,n)&&(p=!0),d>1&&Ky(e,t,1,r)&&(p=!0),d>2&&Ky(e,t,2,i)&&(p=!0),d>3&&Ky(e,t,3,s)&&(p=!0),d>4&&Ky(e,t,4,o)&&(p=!0),d>5&&Ky(e,t,5,a)&&(p=!0),d>6&&Ky(e,t,6,l)&&(p=!0),d>
vendor: 6,574 bytes, line 1
17&&Ky(e,t,7,c)&&(p=!0),d>8&&Ky(e,t,8,u)&&(p=!0),d>9&&Ky(e,t,9,h)&&(p=!0),p}(e,t,n,r,i,s,o,a,l,c,u,h);case 2:return function(e,t,n,r,i,s,o,a,l,c,u,h){let d=!1;const p=t.bindings,f=p.length;if(f>0&&ef(e,t,0,n)&&(d=!0),f>1&&ef(e,t,1,r)&&(d=!0),f>2&&ef(e,t,2,i)&&(d=!0),f>3&&ef(e,t,3,s)&&(d=!0),f>4&&ef(e,t,4,o)&&(d=!0),f>5&&ef(e,t,5,a)&&(d=!0),f>6&&ef(e,t,6,l)&&(d=!0),f>7&&ef(e,t,7,c)&&(d=!0),f>8&&ef(e,t,8,u)&&(d=!0),f>9&&ef(e,t,9,h)&&(d=!0),d){let d=t.text.prefix;f>0&&(d+=cb(n,p[0])),f>1&&(d+=cb(r,p[1])),f>2&&(d+=cb(i,p[2])),f>3&&(d+=cb(s,p[3])),f>4&&(d+=cb(o,p[4])),f>5&&(d+=cb(a,p[5])),f>6&&(d+=cb(l,p[6])),f>7&&(d+=cb(c,p[7])),f>8&&(d+=cb(u,p[8])),f>9&&(d+=cb(h,p[9]));const m=Bp(e,t.nodeIndex).renderText;e.renderer.setValue(m,d)}return d}(e,t,n,r,i,s,o,a,l,c,u,h);case 16384:return function(e,t,n,r,i,s,o,a,l,c,u,h){const d=Vp(e,t.nodeIndex),p=d.instance;let f,m=!1;const g=t.bindings.length;return g>0&&Jp(e,t,0,n)&&(m=!0,f=Cm(e,d,t,0,n,f)),g>1&&Jp(e,t,1,r)&&(m=!0,f=Cm(e,d,t,1,r,f)),g>2&&Jp(e,t,2,i)&&(m=!0,f=Cm(e,d,t,2,i,f)),g>3&&Jp(e,t,3,s)&&(m=!0,f=Cm(e,d,t,3,s,f)),g>4&&Jp(e,t,4,o)&&(m=!0,f=Cm(e,d,t,4,o,f)),g>5&&Jp(e,t,5,a)&&(m=!0,f=Cm(e,d,t,5,a,f)),g>6&&Jp(e,t,6,l)&&(m=!0,f=Cm(e,d,t,6,l,f)),g>7&&Jp(e,t,7,c)&&(m=!0,f=Cm(e,d,t,7,c,f)),g>8&&Jp(e,t,8,u)&&(m=!0,f=Cm(e,d,t,8,u,f)),g>9&&Jp(e,t,9,h)&&(m=!0,f=Cm(e,d,t,9,h,f)),f&&p.ngOnChanges(f),65536&t.flags&&Fp(e,256,t.nodeIndex)&&p.ngOnInit(),262144&t.flags&&p.ngDoCheck(),m}(e,t,n,r,i,s,o,a,l,c,u,h);case 32:case 64:case 128:return function(e,t,n,r,i,s,o,a,l,c,u,h){const d=t.bindings;let p=!1;const f=d.length;if(f>0&&ef(e,t,0,n)&&(p=!0),f>1&&ef(e,t,1,r)&&(p=!0),f>2&&ef(e,t,2,i)&&(p=!0),f>3&&ef(e,t,3,s)&&(p=!0),f>4&&ef(e,t,4,o)&&(p=!0),f>5&&ef(e,t,5,a)&&(p=!0),f>6&&ef(e,t,6,l)&&(p=!0),f>7&&ef(e,t,7,c)&&(p=!0),f>8&&ef(e,t,8,u)&&(p=!0),f>9&&ef(e,t,9,h)&&(p=!0),p){const p=Up(e,t.nodeIndex);let m;switch(201347067&t.flags){case 32:m=[],f>0&&m.push(n),f>1&&m.push(r),f>2&&m.push(i),f>3&&m.push(s),f>4&&m.push(o),f>5&&m.push(a),f>6&&m.push(l),f>7&&m.push(c),f>8&&m.push(u),f>9&&m.push(h);break;case 64:m={},f>0&&(m[d[0].name]=n),f>1&&(m[d[1].name]=r),f>2&&(m[d[2].name]=i),f>3&&(m[d[3].name]=s),f>4&&(m[d[4].name]=o),f>5&&(m[d[5].name]=a),f>6&&(m[d[6].name]=l),f>7&&(m[d[7].name]=c),f>8&&(m[d[8].name]=u),f>9&&(m[d[9].name]=h);break;case 128:const e=n;switch(f){case 1:m=e.transform(n);break;case 2:m=e.transform(r);break;case 3:m=e.transform(r,i);break;case 4:m=e.transform(r,i,s);break;case 5:m=e.transform(r,i,s,o);break;case 6:m=e.transform(r,i,s,o,a);break;case 7:m=e.transform(r,i,s,o,a,l);break;case 8:m=e.transform(r,i,s,o,a,l,c);break;case 9:m=e.transform(r,i,s,o,a,l,c,u);break;case 10:m=e.transform(r,i,s,o,a,l,c,u,h)}}p.value=m}return p}(e,t,n,r,i,s,o,a,l,c,u,h);default:throw"unreachable"}}(e,t,r,i,s,o,a,l,c,u,h,d):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){let r=!1;for(let i=0;i<n.length;i++)Ky(e,t,i,n[i])&&(r=!0);return r}(e,t,n);case 2:return function(e,t,n){const r=t.bindings;let i=!1;for(let s=0;s<n.length;s++)ef(e,t,s,n[s])&&(i=!0);if(i){let i="";for(let e=0;e<n.length;e++)i+=cb(n[e],r[e]);i=t.text.prefix+i;const s=Bp(e,t.nodeIndex).renderText;e.renderer.setValue(s,i)}return i}(e,t,n);case 16384:return function(e,t,n){const r=Vp(e,t.nodeIndex),i=r.instance;let s,o=!1;for(let a=0;a<n.length;a++)Jp(e,t,a,n[a])&&(o=!0,s=Cm(e,r,t,a,n[a],s));return s&&i.ngOnChanges(s),65536&t.flags&&Fp(e,256,t.nodeIndex)&&i.ngOnInit(),262144&t.flags&&i.ngDoCheck(),o}(e,t,n);case 32:case 64:case 128:return function(e,t,n){const r=t.bindings;let i=!1;for(let s=0;s<n.length;s++)ef(e,t,s,n[s])&&(i=!0);if(i){const i=Up(e,t.nodeIndex);let s;switch(201347067&t.flags){case 32:s=n;break;case 64:s={};for(let i=0;i<n.length;i++)s[r[i].name]=n[i];break;case 128:const e=n[0],t=n.slice(1);s=e.transform(...t)}i.value=s}return i}(e,t,n);default:throw"unreachable"}}(e,t,r)}function xb(e){const t=e.def;if(4&t.nodeFlags)for(let n=0;n<t.nodes.length;n++){const r=t.nodes[n];if(4&r.flags){const t=$p(e,n).template._projectedViews;if(t)for(let n=0;n<t.length;n++){const r=t[n];r.state|=32,rf(r,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function Cb(e,t,n,r,i,s,o,a,l,c,u,h,d){return 0===n?function(e,t,n,r,i,s,o,a,l,c,u,h){const d=t.bindings.length;d>0&&tf(e,t,0,n);d>1&&tf(e,t,1,r);d>2&&tf(e,t,2,i);d>3&&tf(e,t,3,s);d>4&&tf(e,t,4,o);d>5&&tf(e,t,5,a);d>6&&tf(e,t,6,l);d>7&&tf(e,t,7,c);d>8&&tf(e,t,8,u);d>9&&tf(e,t,9,h)}(e,t,r,i,s,o,a,l,c,u,h,d):function(e,t,n){for(let r=0;r<n.length;r++)tf(e,t,r,n[r])}(e,t,r),!1}function Sb(e,t){if(zp(e,t.nodeIndex).dirty)throw Np(Hp.createDebugContext(e,t.nodeIndex),`Query ${t.query.id} not dirty`,`Query ${t.query.id} dirty`,0!=(1&e.state))}function Eb(e){if(!(128&e.state)){if(Ib(e,Ab.Destroy),kb(e,Ab.Destroy),Sm(e,131072),e.disposables)for(let t=0;t<e.disposables.length;t++)e.disposables[t]();!function(e){if(!(16&e.state))return;const t=of(e);if(t){const n=t.template._projectedViews;n&&(Zn(n,n.indexOf(e)),Hp.dirtyParentQueries(e))}}(e),e.renderer.destroyNode&&function(e){const t=e.def.nodes.length;for(let n=0;n<t;n++){const t=e.def.nodes[n];1&t.flags?e.renderer.destroyNode($p(e,n).renderElement):2&t.flags?e.renderer.destroyNode(Bp(e,n).renderText):(67108864&t.flags||134217728&t.flags)&&zp(e,n).destroy()}}(e),cf(e)&&e.renderer.destroy(),e.state|=128}}var Ab;function kb(e,t){const n=e.def;if(33554432&n.nodeFlags)for(let r=0;r<n.nodes.length;r++){const i=n.nodes[r];33554432&i.flags?Tb($p(e,r).componentView,t):0==(33554432&i.childFlags)&&(r+=i.childCount)}}function Ib(e,t){const n=e.def;if(16777216&n.nodeFlags)for(let r=0;r<n.nodes.length;r++){const i=n.nodes[r];if(16777216&i.flags){const n=$p(e,r).viewContainer._embeddedViews;for(let e=0;e<n.length;e++)Tb(n[e],t)}else 0==(16777216&i.childFlags)&&(r+=i.childCount)}}function Tb(e,t){const n=e.state;switch(t){case Ab.CheckNoChanges:0==(128&n)&&(12==(12&n)?bb(e):64&n&&Ob(e,Ab.CheckNoChangesProjectedViews));break;case Ab.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?bb(e):64&n&&Ob(e,t));break;case Ab.CheckAndUpdate:0==(128&n)&&(12==(12&n)?wb(e):64&n&&Ob(e,Ab.CheckAndUpdateProjectedViews));break;case Ab.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?wb(e):64&n&&Ob(e,t));break;case Ab.Destroy:Eb(e);break;case Ab.CreateViewNodes:yb(e)}}function Ob(e,t){Ib(e,t),kb(e,t)}function Db(e,t,n,r){if(!(e.def.nodeFlags&t&&e.def.nodeFlags&n))return;const i=e.def.nodes.length;for(let s=0;s<i;s++){const i=e.def.nodes[s];if(i.flags&t&&i.flags&n)switch(Hp.setCurrentNode(e,i.nodeIndex),r){case 0:Zy(e,i);break;case 1:Sb(e,i)}i.childFlags&t&&i.childFlags&n||(s+=i.childCount)}}
1zy.\u0275fac=function(e){return new(e||zy)(yr(fy))},zy.\u0275mod=ue({type:zy}),zy.\u0275inj=k({providers:Uy}),zy.ctorParameters=()=>[{type:fy}],function(e){e[e.CreateViewNodes=0]="CreateViewNodes",e[e.CheckNoChanges=1]="CheckNoChanges",e[e.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",e[e.CheckAndUpdate=3]="CheckAndUpdate",e[e.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",e[e.Destroy=5]="Destroy"}(Ab||(Ab={}));let Pb=!1;function Mb(){if(Pb)return;Pb=!0;const e=ry()?{setCurrentNode:nw,createRootView:Rb,createEmbeddedView:jb,createComponentView:Fb,createNgModuleRef:Bb,overrideProvider:zb,overrideComponentView:Hb,clearOverrides:qb,checkAndUpdateView:Kb,checkNoChangesView:Xb,destroyView:Yb,createDebugContext:(e,t)=>new uw(e,t),handleEvent:rw,updateDirectives:iw,updateRenderer:sw}:{setCurrentNode:()=>{},createRootView:Nb,createEmbeddedView:pb,createComponentView:mb,createNgModuleRef:tm,overrideProvider:qp,overrideComponentView:qp,clearOverrides:qp,checkAndUpdateView:wb,checkNoChangesView:bb,destroyView:Eb,createDebugContext:(e,t)=>
1new uw(e,t),handleEvent:(e,t,n,r)=>e.def.handleEvent(e,t,n,r),updateDirectives:(e,t)=>e.def.updateDirectives(0===t?Wb:Qb,e),updateRenderer:(e,t)=>e.def.updateRenderer(0===t?Wb:Qb,e)};Hp.setCurrentNode=e.setCurrentNode,Hp.createRootView=e.createRootView,Hp.createEmbeddedView=e.createEmbeddedView,Hp.createComponentView=e.createComponentView,Hp.createNgModuleRef=e.createNgModuleRef,Hp.overrideProvider=e.overrideProvider,Hp.overrideComponentView=e.overrideComponentView,Hp.clearOverrides=e.clearOverrides,Hp.checkAndUpdateView=e.checkAndUpdateView,Hp.checkNoChangesView=e.checkNoChangesView,Hp.destroyView=e.destroyView,Hp.resolveDep=_m,Hp.createDebugContext=e.createDebugContext,Hp.handleEvent=e.handleEvent,Hp.updateDirectives=e.updateDirectives,Hp.updateRenderer=e.updateRenderer,Hp.dirtyParentQueries=Yy}function Nb(e,t,n,r,i,s){const o=i.injector.get(Hd);return fb(Lb(e,i,o,t,n),r,s)}function Rb(e,t,n,r,i,s){const o=i.injector.get(Hd),a=Lb(e,i,new fw(o),t,n),l=Gb(r);return dw(Zb.create,fb,null,[a,l,s])}function Lb(e,t,n,r,i){const s=t.injector.get(Wd),o=t.injector.get(Ki),a=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:i,sanitizer:s,rendererFactory:n,renderer:a,errorHandler:o}}function jb(e,t,n,r){const i=Gb(n);return dw(Zb.create,pb,null,[e,t,i,r])}function Fb(e,t,n,r){const i=Ub.get(t.element.componentProvider.provider.token);return n=i||Gb(n),dw(Zb.create,mb,null,[e,t,n,r])}function Bb(e,t,n,r){return tm(e,t,n,function(e){const{hasOverrides:t,hasDeprecatedOverrides:n}=r(e);if(!t)return e;return i(e=e.factory(()=>qp)),e;function r(e){let t=!1,n=!1;return 0===$b.size||(e.providers.forEach(e=>{const r=$b.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(e=>{Vb.forEach((r,i)=>{I(i).providedIn===e&&(t=!0,n=n||r.deprecatedBehavior)})})),{hasOverrides:t,hasDeprecatedOverrides:n}}function i(e){for(let t=0;t<e.providers.length;t++){const r=e.providers[t];n&&(r.flags|=4096);const i=$b.get(r.token);i&&(r.flags=-3841&r.flags|i.flags,r.deps=pf(i.deps),r.value=i.value)}if(Vb.size>0){let t=new Set(e.modules);Vb.forEach((r,i)=>{if(t.has(I(i).providedIn)){let t={token:i,flags:r.flags|(n?4096:0),deps:pf(r.deps),value:r.value,index:e.providers.length};e.providers.push(t),e.providersByKey[Wp(i)]=t}})}}}(r))}const $b=new Map,Vb=new Map,Ub=new Map;function zb(e){let t;$b.set(e.token,e),"function"==typeof e.token&&(t=I(e.token))&&"function"==typeof t.providedIn&&Vb.set(e.token,e)}function Hb(e,t){const n=gf(t.viewDefFactory);const r=gf(n.nodes[0].element.componentView);Ub.set(e,r)}function qb(){$b.clear(),Vb.clear(),Ub.clear()}function Gb(e){if(0===$b.size)return e;const t=function(e){const t=[];let n=null;for(let r=0;r<e.nodes.length;r++){const i=e.nodes[r];1&i.flags&&(n=i),n&&3840&i.flags&&$b.has(i.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(()=>qp);for(let r=0;r<t.length;r++)n(e,t[r]);return e;function n(e,t){for(let n=t+1;n<e.nodes.length;n++){const t=e.nodes[n];if(1&t.flags)return;if(3840&t.flags){const e=t.provider,n=$b.get(e.token);n&&(t.flags=-3841&t.flags|n.flags,e.deps=pf(n.deps),e.value=n.value)}}}}function Wb(e,t,n,r,i,s,o,a,l,c,u,h,d){const p=e.def.nodes[t];return _b(e,p,n,r,i,s,o,a,l,c,u,h,d),224&p.flags?Up(e,t).value:void 0}function Qb(e,t,n,r,i,s,o,a,l,c,u,h,d){const p=e.def.nodes[t];return Cb(e,p,n,r,i,s,o,a,l,c,u,h,d),224&p.flags?Up(e,t).value:void 0}function Kb(e){return dw(Zb.detectChanges,wb,null,[e])}function Xb(e){return dw(Zb.checkNoChanges,bb,null,[e])}function Yb(e){return dw(Zb.destroy,Eb,null,[e])}var Zb;let Jb,ew,tw;function nw(e,t){ew=e,tw=t}function rw(e,t,n,r){return nw(e,t),dw(Zb.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function iw(e,t){if(128&e.state)throw Lp(Zb[Jb]);return nw(e,lw(e,0)),e.def.updateDirectives(function(e,n,r,...i){const s=e.def.nodes[n];0===t?ow(e,s,r,i):aw(e,s,r,i);16384&s.flags&&nw(e,lw(e,n));return 224&s.flags?Up(e,s.nodeIndex).value:void 0},e)}function sw(e,t){if(128&e.state)throw Lp(Zb[Jb]);return nw(e,cw(e,0)),e.def.updateRenderer(function(e,n,r,...i){const s=e.def.nodes[n];0===t?ow(e,s,r,i):aw(e,s,r,i);3&s.flags&&nw(e,cw(e,n));return 224&s.flags?Up(e,s.nodeIndex).value:void 0},e)}function ow(e,t,n,r){if(_b(e,t,n,...r)){const i=1===n?r[0]:r;if(16384&t.flags){const n={};for(let e=0;e<t.bindings.length;e++){const r=t.bindings[e],s=i[e];8&r.flags&&(n[Ji(r.nonMinifiedName)]=ts(s))}const r=t.parent,s=$p(e,r.nodeIndex).renderElement;if(r.element.name)for(let t in n){const r=n[t];null!=r?e.renderer.setAttribute(s,t,r):e.renderer.removeAttribute(s,t)}else e.renderer.setValue(s,Zi(`bindings=${JSON.stringify(n,null,2)}`))}}}function aw(e,t,n,r){Cb(e,t,n,...r)}function lw(e,t){for(let n=t;n<e.def.nodes.length;n++){const t=e.def.nodes[n];if(16384&t.flags&&t.bindings&&t.bindings.length)return n}return null}function cw(e,t){for(let n=t;n<e.def.nodes.length;n++){const t=e.def.nodes[n];if(3&t.flags&&t.bindings&&t.bindings.length)return n}return null}!function(e){e[e.create=0]="create",e[e.detectChanges=1]="detectChanges",e[e.checkNoChanges=2]="checkNoChanges",e[e.destroy=3]="destroy",e[e.handleEvent=4]="handleEvent"}(Zb||(Zb={}));class uw{constructor(e,t){this.view=e,this.nodeIndex=t,null==t&&(this.nodeIndex=t=0),this.nodeDef=e.def.nodes[t];let n=this.nodeDef,r=e;for(;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=af(r),r=r.parent;this.elDef=n,this.elView=r}get elOrCompView(){return $p(this.elView,this.elDef.nodeIndex).componentView||this.view}get injector(){return Zf(this.elView,this.elDef)}get component(){return this.elOrCompView.component}get context(){return this.elOrCompView.context}get providerTokens(){const e=[];
1if(this.elDef)for(let t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){const n=this.elView.def.nodes[t];20224&n.flags&&e.push(n.provider.token),t+=n.childCount}return e}get references(){const e={};if(this.elDef){hw(this.elView,this.elDef,e);for(let t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){const n=this.elView.def.nodes[t];20224&n.flags&&hw(this.elView,n,e),t+=n.childCount}}return e}get componentRenderElement(){const e=function(e){for(;e&&!cf(e);)e=e.parent;if(e.parent)return $p(e.parent,af(e).nodeIndex);return null}(this.elOrCompView);return e?e.renderElement:void 0}get renderNode(){return 2&this.nodeDef.flags?lf(this.view,this.nodeDef):lf(this.elView,this.elDef)}logError(e,...t){let n,r;2&this.nodeDef.flags?(n=this.view.def,r=this.nodeDef.nodeIndex):(n=this.elView.def,r=this.elDef.nodeIndex);const i=function(e,t){let n=-1;for(let r=0;r<=t;r++){3&e.nodes[r].flags&&n++}return n}(n,r);let s=-1;n.factory(()=>(s++,s===i?e.error.bind(e,...t):qp)),s<i&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error(...t))}}function hw(e,t,n){for(let r in t.references)n[r]=eb(e,t,t.references[r])}function dw(e,t,n,r){const i=Jb,s=ew,o=tw;try{Jb=e;const a=t.apply(n,r);return ew=s,tw=o,Jb=i,a}catch(a){if(Gi(a)||!ew)throw a;throw function(e,t){return e instanceof Error||(e=new Error(e.toString())),Rp(e,t),e}(a,pw())}}function pw(){return ew?new uw(ew,tw):null}class fw{constructor(e){this.delegate=e}createRenderer(e,t){return new mw(this.delegate.createRenderer(e,t))}begin(){this.delegate.begin&&this.delegate.begin()}end(){this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)}}class mw{constructor(e){this.delegate=e,this.debugContextFactory=pw,this.data=this.delegate.data}createDebugContext(e){return this.debugContextFactory(e)}destroyNode(e){const t=Fy(e);t&&(!function(e){Ry.delete(e.nativeNode)}(t),t instanceof Cy&&(t.listeners.length=0)),this.delegate.destroyNode&&this.delegate.destroyNode(e)}destroy(){this.delegate.destroy()}createElement(e,t){const n=this.delegate.createElement(e,t),r=this.createDebugContext(n);if(r){const t=new Sy(n,null,r);t.name=e,$y(t)}return n}createComment(e){const t=this.delegate.createComment(Zi(e)),n=this.createDebugContext(t);return n&&$y(new Cy(t,null,n)),t}createText(e){const t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&$y(new Cy(t,null,n)),t}appendChild(e,t){const n=Fy(e),r=Fy(t);n&&r&&n instanceof Sy&&n.addChild(r),this.delegate.appendChild(e,t)}insertBefore(e,t,n,r){const i=Fy(e),s=Fy(t),o=Fy(n);i&&s&&i instanceof Sy&&i.insertBefore(o,s),this.delegate.insertBefore(e,t,n,r)}removeChild(e,t){const n=Fy(e),r=Fy(t);n&&r&&n instanceof Sy&&n.removeChild(r),this.delegate.removeChild(e,t)}selectRootElement(e,t){const n=this.delegate.selectRootElement(e,t),r=pw();return r&&$y(new Sy(n,null,r)),n}setAttribute(e,t,n,r){const i=Fy(e);if(i&&i instanceof Sy){const e=r?r+":"+t:t;i.attributes[e]=n}this.delegate.setAttribute(e,t,n,r)}removeAttribute(e,t,n){const r=Fy(e);if(r&&r instanceof Sy){const e=n?n+":"+t:t;r.attributes[e]=null}this.delegate.removeAttribute(e,t,n)}addClass(e,t){const n=Fy(e);n&&n instanceof Sy&&(n.classes[t]=!0),this.delegate.addClass(e,t)}removeClass(e,t){const n=Fy(e);n&&n instanceof Sy&&(n.classes[t]=!1),this.delegate.removeClass(e,t)}setStyle(e,t,n,r){const i=Fy(e);i&&i instanceof Sy&&(i.styles[t]=n),this.delegate.setStyle(e,t,n,r)}removeStyle(e,t,n){const r=Fy(e);r&&r instanceof Sy&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){const r=Fy(e);r&&r instanceof Sy&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)}listen(e,t,n){if("string"!=typeof e){const r=Fy(e);r&&r.listeners.push(new xy(t,n))}return this.delegate.listen(e,t,n)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setValue(e,t){return this.delegate.setValue(e,t)}}function gw(e,t,n){return new vw(e,t,n)}class vw extends Ap{constructor(e,t,n){super(),this.moduleType=e,this._bootstrapComponents=t,this._ngModuleDefFactory=n}create(e){Mb();const t=function(e){const t=Array.from(e.providers),n=Array.from(e.modules),r={};for(const i in e.providersByKey)r[i]=e.providersByKey[i];return{factory:e.factory,scope:e.scope,providers:t,modules:n,providersByKey:r}}
1(gf(this._ngModuleDefFactory));return Hp.createNgModuleRef(this.moduleType,e||Na.NULL,this._bootstrapComponents,t)}}},gRHU:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("2fFW"),i=n("NJ4a");const s={closed:!0,next(e){},error(e){if(r.a.useDeprecatedSynchronousErrorHandling)throw e;Object(i.a)(e)},complete(){}}},"gb/T":function(e,t,n){var r,i;e.exports=(i=n("Ib8C"),n("OLod"),i.mode.ECB=((r=i.lib.BlockCipherMode.extend()).Encryptor=r.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),r.Decryptor=r.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),r),i.mode.ECB)},gfLf:function(e,t,n){"use strict";n.d(t,"a",function(){return h});var r=n("B4Jq"),i=n("W6o/"),s=n("E/Mt"),o=n("Kfhc");const a=e=>Object(o.a)().duration(e?400:300),l=e=>{let t,n;const r=e.width+8,i=Object(o.a)(),l=Object(o.a)();e.isEndSide?(t=r+"px",n="0px"):(t=-r+"px",n="0px"),i.addElement(e.menuInnerEl).fromTo("transform",`translateX(${t})`,`translateX(${n})`);const c="ios"===Object(s.b)(e),u=c?.2:.25;return l.addElement(e.backdropEl).fromTo("opacity",.01,u),a(c).addAnimation([i,l])},c=e=>{let t,n;const r=Object(s.b)(e),i=e.width;e.isEndSide?(t=-i+"px",n=i+"px"):(t=i+"px",n=-i+"px");const l=Object(o.a)().addElement(e.menuInnerEl).fromTo("transform",`translateX(${n})`,"translateX(0px)"),c=Object(o.a)().addElement(e.contentEl).fromTo("transform","translateX(0px)",`translateX(${t})`),u=Object(o.a)().addElement(e.backdropEl).fromTo("opacity",.01,.32);return a("ios"===r).addAnimation([l,c,u])},u=e=>{const t=Object(s.b)(e),n=e.width*(e.isEndSide?-1:1)+"px",r=Object(o.a)().addElement(e.contentEl).fromTo("transform","translateX(0px)",`translateX(${n})`);return a("ios"===t).addAnimation(r)},h=(()=>{const e=new Map,t=[],n=async e=>{if(await m(),"start"===e||"end"===e){const t=f(t=>t.side===e&&!t.disabled);return t||f(t=>t.side===e)}if(null!=e)return f(t=>t.menuId===e);const n=f(e=>!e.disabled);return n||(t.length>0?t[0].el:void 0)},s=async()=>(await m(),h()),o=(t,n)=>{e.set(t,n)},a=e=>{const n=e.side;t.filter(t=>t.side===n&&t!==e).forEach(e=>e.disabled=!0)},h=()=>f(e=>e._isOpen),d=()=>t.map(e=>e.el),p=()=>t.some(e=>e.isAnimating),f=e=>{const n=t.find(e);if(void 0!==n)return n.el},m=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map(e=>new Promise(t=>Object(i.c)(e,t))));return o("reveal",u),o("push",c),o("overlay",l),"undefined"!=typeof document&&document.addEventListener("ionBackButton",e=>{const t=h();t&&e.detail.register(r.MENU_BACK_BUTTON_PRIORITY,()=>t.close())}),{registerAnimation:o,get:n,getMenus:async()=>(await m(),d()),getOpen:s,isEnabled:async e=>{const t=await n(e);return!!t&&!t.disabled},swipeGesture:async(e,t)=>{const r=await n(t);return r&&(r.swipeGesture=e),r},isAnimating:async()=>(await m(),p()),isOpen:async e=>{if(null!=e){const t=await n(e);return void 0!==t&&t.isOpen()}return void 0!==await s()},enable:async(e,t)=>{const r=await n(t);return r&&(r.disabled=!e),r},toggle:async e=>{const t=await n(e);return!!t&&t.toggle()},close:async e=>{const t=await(void 0!==e?n(e):s());return void 0!==t&&t.close()},open:async e=>{const t=await n(e);return!!t&&t.open()},_getOpenSync:h,_createAnimation:(t,n)=>{const r=e.get(t);if(!r)throw new Error("animation not registered");return r(n)},_register:e=>{t.indexOf(e)<0&&(e.disabled||a(e),t.push(e))},_unregister:e=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},_setOpen:async(e,t,n)=>{if(p())return!1;if(t){const t=await s();t&&e.el!==t&&await t.setOpen(!1,!1)}return e._setOpen(t,n)},_setActiveMenu:a}})()},gkvR:function(e,t,n){e.exports=function(){function e(t,n,r){function i(o,a){if(!n[o]){if(!t[o]){if(s)return s(o,!0);var l=new Error("Cannot find module '"+o+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[o]={exports:{}};t[o][0].call(c.exports,function(e){return i(t[o][1][e]||e)},c,c.exports,e,t,n,r)}return n[o].exports}for(var s=!1,o=0;o<r.length;o++)i(r[o]);return i}return e}()({1:[function(e,t,n){"use strict";var r=e("inherits"),i=e("multimath"),s=e("multimath/lib/unsharp_mask"),o=e("./mm_resize");function a(e){var t=e||[],n={js:t.indexOf("js")>=0,wasm:t.indexOf("wasm")>=0};i.call(this,n),this.features={js:n.js,wasm:n.wasm&&this.has_wasm()},this.use(s),this.use(o)}r(a,i),a.prototype.resizeAndUnsharp=function(e,t){var n=this.resize(e,t);return e.unsharpAmount&&this.unsharp_mask(n,e.toWidth,e.toHeight,e.unsharpAmount,e.unsharpRadius,e.unsharpThreshold),n},t.exports=a},{"./mm_resize":4,inherits:15,multimath:16,"multimath/lib/unsharp_mask":19}],2:[function(e,t,n){"use strict";function r(e){return e<0?0:e>255?255:e}function i(e,t,n,i,s,o){var a,l,c,u,h,d,p,f,m,g,v,y=0,b=0;for(m=0;m<i;m++){for(h=0,g=0;g<s;g++){for(d=o[h++],p=o[h++],f=y+4*d|0,a=l=c=u=0;p>0;
1p--)u=u+(v=o[h++])*e[f+3]|0,c=c+v*e[f+2]|0,l=l+v*e[f+1]|0,a=a+v*e[f]|0,f=f+4|0;t[b+3]=r(u+8192>>14),t[b+2]=r(c+8192>>14),t[b+1]=r(l+8192>>14),t[b]=r(a+8192>>14),b=b+4*i|0}b=4*(m+1)|0,y=(m+1)*n*4|0}}function s(e,t,n,i,s,o){var a,l,c,u,h,d,p,f,m,g,v,y=0,b=0;for(m=0;m<i;m++){for(h=0,g=0;g<s;g++){for(d=o[h++],p=o[h++],f=y+4*d|0,a=l=c=u=0;p>0;p--)u=u+(v=o[h++])*e[f+3]|0,c=c+v*e[f+2]|0,l=l+v*e[f+1]|0,a=a+v*e[f]|0,f=f+4|0;t[b+3]=r(u+8192>>14),t[b+2]=r(c+8192>>14),t[b+1]=r(l+8192>>14),t[b]=r(a+8192>>14),b=b+4*i|0}b=4*(m+1)|0,y=(m+1)*n*4|0}}t.exports={convolveHorizontally:i,convolveVertically:s}},{}],3:[function(e,t,n){"use strict";t.exports="AGFzbQEAAAABFAJgBn9/f39/fwBgB39/f39/f38AAg8BA2VudgZtZW1vcnkCAAEDAwIAAQQEAXAAAAcZAghjb252b2x2ZQAACmNvbnZvbHZlSFYAAQkBAArmAwLBAwEQfwJAIANFDQAgBEUNACAFQQRqIRVBACEMQQAhDQNAIA0hDkEAIRFBACEHA0AgB0ECaiESAn8gBSAHQQF0IgdqIgZBAmouAQAiEwRAQQAhCEEAIBNrIRQgFSAHaiEPIAAgDCAGLgEAakECdGohEEEAIQlBACEKQQAhCwNAIBAoAgAiB0EYdiAPLgEAIgZsIAtqIQsgB0H/AXEgBmwgCGohCCAHQRB2Qf8BcSAGbCAKaiEKIAdBCHZB/wFxIAZsIAlqIQkgD0ECaiEPIBBBBGohECAUQQFqIhQNAAsgEiATagwBC0EAIQtBACEKQQAhCUEAIQggEgshByABIA5BAnRqIApBgMAAakEOdSIGQf8BIAZB/wFIG0EQdEGAgPwHcUEAIAZBAEobIAtBgMAAakEOdSIGQf8BIAZB/wFIG0EYdEEAIAZBAEobciAJQYDAAGpBDnUiBkH/ASAGQf8BSBtBCHRBgP4DcUEAIAZBAEobciAIQYDAAGpBDnUiBkH/ASAGQf8BSBtB/wFxQQAgBkEAShtyNgIAIA4gA2ohDiARQQFqIhEgBEcNAAsgDCACaiEMIA1BAWoiDSADRw0ACwsLIQACQEEAIAIgAyAEIAUgABAAIAJBACAEIAUgBiABEAALCw=="},{}],4:[function(e,t,n){"use strict";t.exports={name:"resize",fn:e("./resize"),wasm_fn:e("./resize_wasm"),wasm_src:e("./convolve_wasm_base64")}},{"./convolve_wasm_base64":3,"./resize":5,"./resize_wasm":8}],5:[function(e,t,n){"use strict";var r=e("./resize_filter_gen"),i=e("./convolve").convolveHorizontally,s=e("./convolve").convolveVertically;function o(e,t,n){for(var r=3,i=t*n*4|0;r<i;)e[r]=255,r=r+4|0}t.exports=function(e){var t=e.src,n=e.width,a=e.height,l=e.toWidth,c=e.toHeight,u=e.scaleX||e.toWidth/e.width,h=e.scaleY||e.toHeight/e.height,d=e.offsetX||0,p=e.offsetY||0,f=e.dest||new Uint8Array(l*c*4),m=void 0===e.quality?3:e.quality,g=e.alpha||!1,v=r(m,n,l,u,d),y=r(m,a,c,h,p),b=new Uint8Array(l*a*4);return i(t,b,n,a,l,v),s(b,f,a,l,c,y),g||o(f,l,c),f}},{"./convolve":2,"./resize_filter_gen":6}],6:[function(e,t,n){"use strict";var r=e("./resize_filter_info"),i=14;function s(e){return Math.round(e*((1<<i)-1))}t.exports=function(e,t,n,i,o){var a,l,c,u,h,d,p,f,m,g,v,y,b,w,_,x,C,S=r[e].filter,E=1/i,A=Math.min(1,i),k=r[e].win/A,I=Math.floor(2*(k+1)),T=new Int16Array((I+2)*n),O=0,D=!T.subarray||!T.set;for(a=0;a<n;a++){for(l=(a+.5)*E+o,c=Math.max(0,Math.floor(l-k)),h=(u=Math.min(t-1,Math.ceil(l+k)))-c+1,d=new Float32Array(h),p=new Int16Array(h),f=0,m=c,g=0;m<=u;m++,g++)f+=v=S((m+.5-l)*A),d[g]=v;for(y=0,g=0;g<d.length;g++)y+=b=d[g]/f,p[g]=s(b);for(p[n>>1]+=s(1-y),w=0;w<p.length&&0===p[w];)w++;if(w<p.length){for(_=p.length-1;_>0&&0===p[_];)_--;if(x=c+w,C=_-w+1,T[O++]=x,T[O++]=C,D)for(g=w;g<=_;g++)T[O++]=p[g];else T.set(p.subarray(w,_+1),O),O+=C}else T[O++]=0,T[O++]=0}return T}},{"./resize_filter_info":7}],7:[function(e,t,n){"use strict";t.exports=[{win:.5,filter:function(e){return e>=-.5&&e<.5?1:0}},{win:1,filter:function(e){if(e<=-1||e>=1)return 0;if(e>-1.1920929e-7&&e<1.1920929e-7)return 1;var t=e*Math.PI;return Math.sin(t)/t*(.54+.46*Math.cos(t/1))}},{win:2,filter:function(e){if(e<=-2||e>=2)return 0;if(e>-1.1920929e-7&&e<1.1920929e-7)return 1;var t=e*Math.PI;return Math.sin(t)/t*Math.sin(t/2)/(t/2)}},{win:3,filter:function(e){if(e<=-3||e>=3)return 0;if(e>-1.1920929e-7&&e<1.1920929e-7)return 1;var t=e*Math.PI;return Math.sin(t)/t*Math.sin(t/3)/(t/3)}}]},{}],8:[function(e,t,n){"use strict";var r=e("./resize_filter_gen");function i(e,t,n){for(var r=3,i=t*n*4|0;r<i;)e[r]=255,r=r+4|0}function s(e){return new Uint8Array(e.buffer,0,e.byteLength)}var o=!0;try{o=1===new Uint32Array(new Uint8Array([1,0,0,0]).buffer)[0]}catch(l){}function a(e,t,n){if(o)t.set(s(e),n);else for(var r=n,i=0;i<e.length;i++){var a=e[i];t[r++]=255&a,t[r++]=a>>8&255}}t.exports=function(e){var t=e.src,n=e.width,s=e.height,o=e.toWidth,l=e.toHeight,c=e.scaleX||e.toWidth/e.width,u=e.scaleY||e.toHeight/e.he
1ight,h=e.offsetX||0,d=e.offsetY||0,p=e.dest||new Uint8Array(o*l*4),f=void 0===e.quality?3:e.quality,m=e.alpha||!1,g=r(f,n,o,c,h),v=r(f,s,l,u,d),y=0,b=this.__align(y+Math.max(t.byteLength,p.byteLength)),w=this.__align(b+s*o*4),_=this.__align(w+g.byteLength),x=_+v.byteLength,C=this.__instance("resize",x),S=new Uint8Array(this.__memory.buffer),E=new Uint32Array(this.__memory.buffer),A=new Uint32Array(t.buffer);return E.set(A),a(g,S,w),a(v,S,_),(C.exports.convolveHV||C.exports._convolveHV)(w,_,b,n,s,o,l),new Uint32Array(p.buffer).set(new Uint32Array(this.__memory.buffer,0,l*o)),m||i(p,o,l),p}},{"./resize_filter_gen":6}],9:[function(e,t,n){"use strict";var r=100;function i(e,t){this.create=e,this.available=[],this.acquired={},this.lastId=1,this.timeoutId=0,this.idle=t||2e3}i.prototype.acquire=function(){var e,t=this;return 0!==this.available.length?e=this.available.pop():((e=this.create()).id=this.lastId++,e.release=function(){return t.release(e)}),this.acquired[e.id]=e,e},i.prototype.release=function(e){var t=this;delete this.acquired[e.id],e.lastUsed=Date.now(),this.available.push(e),0===this.timeoutId&&(this.timeoutId=setTimeout(function(){return t.gc()},r))},i.prototype.gc=function(){var e=this,t=Date.now();this.available=this.available.filter(function(n){return!(t-n.lastUsed>e.idle&&(n.destroy(),1))}),0!==this.available.length?this.timeoutId=setTimeout(function(){return e.gc()},r):this.timeoutId=0},t.exports=i},{}],10:[function(e,t,n){"use strict";var r=2;t.exports=function(e,t,n,i,s,o){var a=n/e,l=i/t,c=(2*o+r+1)/s;if(c>.5)return[[n,i]];var u=Math.ceil(Math.log(Math.min(a,l))/Math.log(c));if(u<=1)return[[n,i]];for(var h=[],d=0;d<u;d++){var p=Math.round(Math.pow(Math.pow(e,u-d-1)*Math.pow(n,d+1),1/u)),f=Math.round(Math.pow(Math.pow(t,u-d-1)*Math.pow(i,d+1),1/u));h.push([p,f])}return h}},{}],11:[function(e,t,n){"use strict";var r=1e-5;function i(e){var t=Math.round(e);return Math.abs(e-t)<r?t:Math.floor(e)}function s(e){var t=Math.round(e);return Math.abs(e-t)<r?t:Math.ceil(e)}t.exports=function(e){var t,n,r,o,a,l,c=e.toWidth/e.width,u=e.toHeight/e.height,h=i(e.srcTileSize*c)-2*e.destTileBorder,d=i(e.srcTileSize*u)-2*e.destTileBorder;if(h<1||d<1)throw new Error("Internal error in pica: target tile width/height is too small.");var p,f=[];for(o=0;o<e.toHeight;o+=d)for(r=0;r<e.toWidth;r+=h)(t=r-e.destTileBorder)<0&&(t=0),t+(a=r+h+e.destTileBorder-t)>=e.toWidth&&(a=e.toWidth-t),(n=o-e.destTileBorder)<0&&(n=0),n+(l=o+d+e.destTileBorder-n)>=e.toHeight&&(l=e.toHeight-n),p={toX:t,toY:n,toWidth:a,toHeight:l,toInnerX:r,toInnerY:o,toInnerWidth:h,toInnerHeight:d,offsetX:t/c-i(t/c),offsetY:n/u-i(n/u),scaleX:c,scaleY:u,x:i(t/c),y:i(n/u),width:s(a/c),height:s(l/u)},f.push(p);return f}},{}],12:[function(e,t,n){"use strict";function r(e){return Object.prototype.toString.call(e)}t.exports.isCanvas=function(e){var t=r(e);return"[object HTMLCanvasElement]"===t||"[object OffscreenCanvas]"===t||"[object Canvas]"===t},t.exports.isImage=function(e){return"[object HTMLImageElement]"===r(e)},t.exports.isImageBitmap=function(e){return"[object ImageBitmap]"===r(e)},t.exports.limiter=function(e){var t=0,n=[];function r(){t<e&&n.length&&(t++,n.shift()())}return function(e){return new Promise(function(i,s){n.push(function(){e().then(function(e){i(e),t--,r()},function(e){s(e),t--,r()})}),r()})}},t.exports.cib_quality_name=function(e){switch(e){case 0:return"pixelated";case 1:return"low";case 2:return"medium"}return"high"},t.exports.cib_support=function(e){return Promise.resolve().then(function(){if("undefined"==typeof createImageBitmap)return!1;var t=e(100,100);return createImageBitmap(t,0,0,100,100,{resizeWidth:10,resizeHeight:10,resizeQuality:"high"}).then(function(e){var n=10===e.width;return e.close(),t=null,n})}).catch(function(){return!1})}},{}],13:[function(e,t,n){"use strict";t.exports=function(){var t,n=e("./mathlib");onmessage=function(e){var r=e.data.opts;t||(t=new n(e.data.features));var i=t.resizeAndUnsharp(r);postMessage({result:i},[i.buffer])}}},{"./mathlib":1}],14:[function(e,t,n){var r,i,s,o,a,l;function c(e){e<.5&&(e=.5);var t=Math.exp(.527076)/e,n=Math.exp(-t),c=Math.exp(-2*t),u=(1-n)*(1-n)/(1+2*t*n-c);return r=u,i=u*(t-1)*n,s=u*(t+1)*n,o=-u*c,a=2*n,l=-c,new Float32Array([r,i,s,o,a,l,(r+i)/(1-a-l),(s+o)/(1-a-l)])}function u(e,t,n,r,i,s){var o,a,l,c,u,h,d,p,f,m,g,v,y,b;for(f=0;f<s;f++){for(d=f,p=0,c=u=(o=e[h=f*i])*r[6],g=r[0],v=r[1],y=r[4],b=r[5],m=0;m<i;m++)l=(a=e[h])*g+o*v+c*y+u*b,u=c,c=l,o=a,n[p]=c,p++,h++;for(p--,d+=s*(i-1),c=u=(o=e[--h])*r[7],a=o,g=r[2],v=r[3],m=i-1;m>=0;m--)l=a*g+o*v+c*y+u*b,u=c,c=l,o=a,a=e[h],t[d]=n[p]+c,h--,p--,d-=s}}function h(e,t,n,r){if(r){var i=new Uint16Array(e.length),s=new Float32Array(Math.max(t,n)),o=c(r);u(e,i,s,o,t,n,r),u(i,e,s,o,n,t,r)}}t.exports=h},{}],15:[function(e,t,n){"function"==typeof Object.create?t.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},{}],16:[function(e,t,n){"use strict";var r=e("object-assign"),i=e("./lib/base64decode"),s=e("./lib/wa_detect"),o={js:!0,wasm:!0};function a(e){if(!(this instanceof a))return new a(e);var t=r({},o,e||{});if(this.options=t,this.__cache={},this.__init_promise=null,this.__modules=t.modules||{},this.__memory=null,this.__wasm={},this.__isLE=1===new Uint32Array(new Uint8Array([1,0,0,0]).buffer)[0],!this.options.js&&!this.options.wasm)throw new Error('mathlib: at least "js" or "wasm" should be enabled')}a.prototype.has_wasm=s,a.prototype.use=function(e){return this.__modules[e.name]=e,this.options.wasm&&this.has_wasm()&&e.wasm_fn?this[e.name]=e.wasm_fn:this[e.name]=e.fn,this},a.prototype.init=function(){if(this.__init_promise)return this.__init_promise;if(!this.options.js&&this.options.wasm&&!this.has_wasm())return Promise.reject(new Error('mathlib: only "wasm" was enabled, but it\'s not supported'));var e=this;return this.__init_promise=Promise.all(Object.keys(e.__modules).map(function(t){var n=e.__modules[t];return e.options.wasm&&e.has_wasm()&&n.wasm_fn?e.__wasm[t]?null:WebAssembly.compile(e.__base64decode(n.wasm_src)).then(function(n){e.__wasm[t]=n}):null})).then(function(){return e}),this.__init_promise},a.prototype.__base64decode=i,a.prototype.__reallocate=function(e){if(!this.__memory)return this.__memory=new WebAssembly.Memory({initial:Math.ceil(e/65536)}),this.__memory;var t=this.__memory.buffer.byteLength;return t<e&&this.__memory.grow(Math.ceil((e-t)/65536)),this.__memory},a.prototype.__instance=function(e,t,n){if(t&&this.__reallocate(t),!this.__wasm[e]){var i=this.__modules[e];this.__wasm[e]=new WebAssembly.Module(this.__base64decode(i.wasm_src))}if(!this.__cache[e]){var s={memoryBase:0,memory:this.__memory,tableBase:0,table:new WebAssembly.Table({initial:0,element:"anyfunc"})};this.__cache[e]=new WebAssembly.Instance(this.__wasm[e],{env:r(s,n||{})})}return this.__cache[e]},a.prototype.__align=function(e,t){var n=e%(t=t||8);return e+(n?t-n:0)},t.exports=a},{"./lib/base64decode":17,"./lib/wa_detect":23,"object-assign":24}],17:[function(e,t,n){"use strict";var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/";t.exports=function(e){for(var t=e.replace(/[\r\n=]/g,""),n=t.length,i=new Uint8Array(3*n>>2),s=0,o=0,a=0;a<n;a++)a%4==0&&a&&(i[o++]=s>>16&255,i[o++]=s>>8&255,i[o++]=255&s),s=s<<6|r.indexOf(t.charAt(a));var l=n%4*6;return 0===l?(i[o++]=s>>16&255,i[o++]=s>>8&255,i[o++]=255&s):18===l?(i[o++]=s>>10&255,i[o++]=s>>2&255):12===l&&(i[o++]=s>>4&255),i}},{}],18:[function(e,t,n){"use strict";t.exports=function(e,t,n){for(var r,i,s,o,a,l=t*n,c=new Uint16Array(l),u=0;u<l;u++)r=e[4*u],i=e[4*u+1],s=e[4*u+2],a=r>=i&&r>=s?r:i>=s&&i>=r?i:s,o=r<=i&&r<=s?r:i<=s&&i<=r?i:s,c[u]=257*(a+o)>>1;return c}},{}],19:[function(e,t,n){"use strict";t.exports={name:"unsharp_mask",fn:e("./unsharp_mask"),wasm_fn:e("./unsharp_mask_wasm"),wasm_src:e("./unsharp_mask_wasm_base64")}},{"./unsharp_mask":20,"./unsharp_mask_wasm":21,"./unsharp_mask_wasm_base64":22}],20:[function(e,t,n){"use strict";var r=e("glur/mono16"),i=e("./hsl_l16");t.exports=function(e,t,n,s,o,a){var l,c,u,h,d,p,f,m,g,v,y,b,w;if(!(0===s||o<.5)){o>2&&(o=2);var _=i(e,t,n),x=new Uint16Array(_);r(x,t,n,o);for(var C=s/100*4096+.5|0,S=257*a|0,E=t*n,A=0;A<E;A++)b=2*(_[A]-x[A]),Math.abs(b)>=S&&(l=e[w=4*A],c=e[w+1],u=e[w+2],p=257*((m=l>=c&&l>=u?l:c>=l&&c>=u?c:u)+(f=l<=c&&l<=u?l:c<=l&&c<=u?c:u))>>1,f===m?h=d=0:(d=p<=32767?4095*(m-f)/(m+f)|0:4095*(m-f)/(510-m-f)|0,h=l===m?65535*(c-u)/(6*(m-f))|0:c===m?21845+(65535*(u-l)/(6*(m-f))|0):43690+(65535*(l-c)/(6*(m-f))|0)),(p+=C*b+2048>>12)>65535?p=65535:p<0&&(p=0),0===d?l=c=u=p>>8:(g=2*p-(v=p<=32767?p*(4096+d)+2048>>12:p+((65535-p)*d+2048>>12))>>8,v>>=8,l=(y=h+21845&65535)>=43690?g:y>=32767?g+(6*(v-g)*(43690-y)+32768>>16):y>=10922?v:g+(6*(v-g)*y+32768>>16),c=(y=65535&h)>=43690?g:y>=32767?g+(6*(v-g)*(43690-y)+32768>>16):y>=10922?v:g+(6*(v-g)*y+32768>>16),u=(y=h-21845&65535)>=43690?g:y>=32767?g+(6*(v-g)*(43690-y)+32768>>16):y>=10922?v:g+(6*(v-g)*y+32768>>16)),e[w]=l,e[w+1]=c,e[w+2]=u)}}},{"./hsl_l16":18,"glur/mono16":14}],21:[function(e,t,n){"use strict";t.exports=function(e,t,n,r,i,s){if(!(0===r||i<.5)){i>2&&(i=2);var o=t*n,a=4*o,l=2*o,c=2*o,u=4*Math.max(t,n),h=32,d=0,p=a,f=p+l,m=f+c,g=m+c,v=g+u,y=this.__instance("unsharp_mask",a+l+2*c+u+h,{exp:Math.exp}),b=new Uint32Array(e.buffer);new Uint32Array(this.__memory.buffer).set(b);var w=y.exports.hsl_l16||y.exports._hsl_l16;w(d,p,t,n),(w=y.exports.blurMono16||y.exports._blurMono16)(p,f,m,g,v,t,n,i),(w=y.exports.unsharp||y.exports._unsharp)(d,d,p,f,t,n,r,s),b.set(new Uint32Array(this.__memory.buffer,0,o))}}},{}],22:[function(e,t,n){"use strict";t.exports="AGFzbQEAAAABMQZgAXwBfGACfX8AYAZ/f39/f38AYAh/f39/f39/fQBgBH9/f38AYAh/f39/f39/fwACGQIDZW52A2V4cAAAA2VudgZtZW1vcnkCAAEDBgUBAgMEBQQEAXAAAAdMBRZfX2J1aWxkX2dhdXNzaWFuX2NvZWZzAAEOX19nYXVzczE2X2xpbmUAAgpibHVyTW9ubzE2AAMHaHNsX2wxNgAEB3Vuc2hhcnAABQkBAAqJEAXZAQEGfAJAIAFE24a6Q4Ia+z8gALujIgOaEAAiBCAEoCIGtjgCECABIANEAAAAAAAAAMCiEAAiBbaMOAIUIAFEAAAAAAAA8D8gBKEiAiACoiAEIAMgA6CiRAAAAAAAAPA/oCAFoaMiArY4AgAgASAEIANEAAAAAAAA8L+gIAKioiIHtjgCBCABIAQgA0QAAAAAAADwP6AgAqKiIgO2OAIIIAEgBSACoiIEtow4AgwgASACIAegIAVEAAAAAAAA8D8gBqGgIgKjtjgCGCABIAMgBKEgAqO2OAIcCwu3AwMDfwR9CHwCQCADKgIUIQkgAyoCECEKIAMqAgwhCyADKgIIIQwCQCAEQX9qIgdBAEgiCA0AIAIgAC8BALgiDSADKgIYu6IiDiAJuyIQoiAOIAq7IhGiIA0gAyoCBLsiEqIgAyoCALsiEyANoqCgoCIPtjgCACACQQRqIQIgAEECaiEAIAdFDQAgBCEGA0AgAiAOIBCiIA8iDiARoiANIBKiIBMgAC8BALgiDaKgoKAiD7Y4AgAgAkEEaiECIABBAmohACAGQX9qIgZBAUoNAAsLAkAgCA0AIAEgByAFbEEBdGogAEF+ai8BACIIuCINIAu7IhGiIA0gDLsiEqKgIA0gAyoCHLuiIg4gCrsiE6KgIA4gCbsiFKKgIg8gAkF8aioCALugqzsBACAHRQ0AIAJBeGohAiAAQXxqIQBBACAFQQF0ayEHIAEgBSAEQQF0QXxqbGohBgNAIAghAyAALwEAIQggBiANIBGiIAO4Ig0gEqKgIA8iECAToqAgDiAUoqAiDyACKgIAu6CrOwEAIAYgB2ohBiAAQX5qIQAgAkF8aiECIBAhDiAEQX9qIgRBAUoNAAsLCwvfAgIDfwZ8AkAgB0MAAAAAWw0AIARE24a6Q4Ia+z8gB0MAAAA/l7ujIgyaEAAiDSANoCIPtjgCECAEIAxEAAAAAAAAAMCiEAAiDraMOAIUIAREAAAAAAAA8D8gDaEiCyALoiANIAwgDKCiRAAAAAAAAPA/oCAOoaMiC7Y4AgAgBCANIAxEAAAAAAAA8L+gIAuioiIQtjgCBCAEIA0gDEQAAAAAAADwP6AgC6KiIgy2OAIIIAQgDiALoiINtow4AgwgBCALIBCgIA5EAAAAAAAA8D8gD6GgIgujtjgCGCAEIAwgDaEgC6O2OAIcIAYEQCAFQQF0IQogBiEJIAIhCANAIAAgCCADIAQgBSAGEAIgACAKaiEAIAhBAmohCCAJQX9qIgkNAAsLIAVFDQAgBkEBdCEIIAUhAANAIAIgASADIAQgBiAFEAIgAiAIaiECIAFBAmohASAAQX9qIgANAAsLC7wBAQV/IAMgAmwiAwRAQQAgA2shBgNAIAAoAgAiBEEIdiIHQf8BcSECAn8gBEH/AXEiAyAEQRB2IgRB/wFxIgVPBEAgAyIIIAMgAk8NARoLIAQgBCAHIAIgA0kbIAIgBUkbQf8BcQshCAJAIAMgAk0EQCADIAVNDQELIAQgByAEIAMgAk8bIAIgBUsbQf8BcSEDCyAAQQRqIQAgASADIAhqQYECbEEBdjsBACABQQJqIQEgBkEBaiIGDQALCwvTBgEKfwJAIAazQwAAgEWUQwAAyEKVu0QAAAAAAADgP6CqIQ0gBSAEbCILBEAgB0GBAmwhDgNAQQAgAi8BACADLwEAayIGQQF0IgdrIAcgBkEASBsgDk8EQCAAQQJqLQAAIQUCfyAALQAAIgYgAEEBai0AACIESSIJRQRAIAYiCCAGIAVPDQEaCyAFIAUgBCAEIAVJGyAGIARLGwshCAJ/IAYgBE0EQCAGIgogBiAFTQ0BGgsgBSAFIAQgBCAFSxsgCRsLIgogCGoiD0GBAmwiEEEBdiERQQAhDAJ/QQAiCSAIIApGDQAaIAggCmsiCUH/H2wgD0H+AyAIayAKayAQQYCABEkbbSEMIAYgCEYEQCA
1EIAVrQf//A2wgCUEGbG0MAQsgBSAGayAGIARrIAQgCEYiBhtB//8DbCAJQQZsbUHVqgFBqtUCIAYbagshCSARIAcgDWxBgBBqQQx1aiIGQQAgBkEAShsiBkH//wMgBkH//wNIGyEGAkACfwJAIAxB//8DcSIFBEAgBkH//wFKDQEgBUGAIGogBmxBgBBqQQx2DAILIAZBCHYiBiEFIAYhBAwCCyAFIAZB//8Dc2xBgBBqQQx2IAZqCyIFQQh2IQcgBkEBdCAFa0EIdiIGIQQCQCAJQdWqAWpB//8DcSIFQanVAksNACAFQf//AU8EQEGq1QIgBWsgByAGa2xBBmxBgIACakEQdiAGaiEEDAELIAchBCAFQanVAEsNACAFIAcgBmtsQQZsQYCAAmpBEHYgBmohBAsCfyAGIgUgCUH//wNxIghBqdUCSw0AGkGq1QIgCGsgByAGa2xBBmxBgIACakEQdiAGaiAIQf//AU8NABogByIFIAhBqdUASw0AGiAIIAcgBmtsQQZsQYCAAmpBEHYgBmoLIQUgCUGr1QJqQf//A3EiCEGp1QJLDQAgCEH//wFPBEBBqtUCIAhrIAcgBmtsQQZsQYCAAmpBEHYgBmohBgwBCyAIQanVAEsEQCAHIQYMAQsgCCAHIAZrbEEGbEGAgAJqQRB2IAZqIQYLIAEgBDoAACABQQFqIAU6AAAgAUECaiAGOgAACyADQQJqIQMgAkECaiECIABBBGohACABQQRqIQEgC0F/aiILDQALCwsL"},{}],23:[function(e,t,n){"use strict";var r;t.exports=function(){if(void 0!==r)return r;if(r=!1,"undefined"==typeof WebAssembly)return r;try{var e=new Uint8Array([0,97,115,109,1,0,0,0,1,6,1,96,1,127,1,127,3,2,1,0,5,3,1,0,1,7,8,1,4,116,101,115,116,0,0,10,16,1,14,0,32,0,65,1,54,2,0,32,0,40,2,0,11]),t=new WebAssembly.Module(e);return 0!==new WebAssembly.Instance(t,{}).exports.test(4)&&(r=!0),r}catch(n){}return r}},{}],24:[function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function a(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(i){return!1}}t.exports=a()?Object.assign:function(e,t){for(var n,a,l=o(e),c=1;c<arguments.length;c++){for(var u in n=Object(arguments[c]))i.call(n,u)&&(l[u]=n[u]);if(r){a=r(n);for(var h=0;h<a.length;h++)s.call(n,a[h])&&(l[a[h]]=n[a[h]])}}return l}},{}],25:[function(e,t,n){var r=arguments[3],i=arguments[4],s=arguments[5],o=JSON.stringify;t.exports=function(e,t){for(var n,a=Object.keys(s),l=0,c=a.length;l<c;l++){var u=a[l],h=s[u].exports;if(h===e||h&&h.default===e){n=u;break}}if(!n){n=Math.floor(Math.pow(16,8)*Math.random()).toString(16);var d={};for(l=0,c=a.length;l<c;l++)d[u=a[l]]=u;i[n]=["function(require,module,exports){"+e+"(self); }",d]}var p=Math.floor(Math.pow(16,8)*Math.random()).toString(16),f={};f[n]=n,i[p]=["function(require,module,exports){var f = require("+o(n)+");(f.default ? f.default : f)(self);}",f];var m={};function g(e){for(var t in m[e]=!0,i[e][1]){var n=i[e][1][t];m[n]||g(n)}}g(p);var v="("+r+")({"+Object.keys(m).map(function(e){return o(e)+":["+i[e][0]+","+o(i[e][1])+"]"}).join(",")+"},{},["+o(p)+"])",y=window.URL||window.webkitURL||window.mozURL||window.msURL,b=new Blob([v],{type:"text/javascript"});if(t&&t.bare)return b;var w=y.createObjectURL(b),_=new Worker(w);return _.objectURL=w,_}},{}],"/index.js":[function(e,t,n){"use strict";function r(e,t){return l(e)||a(e,t)||s(e,t)||i()}function i(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,s=void 0;try{for(var o,a=e[Symbol.iterator]();!(r=(o=a.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(l){i=!0,s=l}finally{try{r||null==a.return||a.return()}finally{if(i)throw s}}return n}}function l(e){if(Array.isArray(e))return e}var c=e("object-assign"),u=e("webworkify"),h=e("./lib/mathlib"),d=e("./lib/pool"),p=e("./lib/utils"),f=e("./lib/worker"),m=e("./lib/stepper"),g=e("./lib/tiler"),v={},y=!1;try{"undefined"!=typeof navigator&&navigator.userAgent&&(y=navigator.userAgent.indexOf("Safari")>=0)}catch(A){}var b=1;"undefined"!=typeof navigator&&(b=Math.min(navigator.hardwareConcurrency||1,4));var w,_,x={tile:1024,concurrency:b,features:["js","wasm","ww"],idle:2e3,createCanvas:function(e,t){var n=document.createElement("canvas");return n.width=e,n.height=t,n}},C={quality:3,alpha:!1,unsharpAmount:0,unsharpRadius:0,unsharpThreshold:0};function S(){return{value:u(f),destroy:function(){if(this.value.terminate(),"undefined"!=typeof window){var e=window.URL||window.webkitURL||window.mozURL||window.msURL;e&&e.revokeObjectURL&&this.value.objectURL&&e.revokeObjectURL(this.value.objectURL)}}}}function E(e){if(!(this instanceof E))return new E(e);this.options=c({},x,e||{});var t="lk_".concat(this.options.concurrency);this.__limit=v[t]||p.limiter(this.options.concurrency),v[t]||(v[t]=this.__limit),this.features={js:!1,wasm:!1,cib:!1,ww:!1},this.__workersPool=null,this.__requested_features=[],this.__mathlib=null}E.prototype.init=function(){var t=this;if(this.__initPromise)return this.__initPromise;if(!1!==w&&!0!==w&&(w=!1,"undefined"!=typeof ImageData&&"undefined"!=typeof Uint8ClampedArray))try{new ImageData(new Uint8ClampedArray(400),10,10),w=!0}catch(o){}!1!==_&&!0!==_&&(_=!1,"undefined"!=typeof ImageBitmap&&(ImageBitmap.prototype&&ImageBitmap.prototype.close?_=!0:this.debug("ImageBitmap does not support .close(), disabled")));var n=this.options.features.slice();if(n.indexOf("all")>=0&&(n=["cib","wasm","js","ww"]),this.__requested_features=n,this.__mathlib=new h(n),n.indexOf("ww")>
1=0&&"undefined"!=typeof window&&"Worker"in window)try{e("webworkify")(function(){}).terminate(),this.features.ww=!0;var r="wp_".concat(JSON.stringify(this.options));v[r]?this.__workersPool=v[r]:(this.__workersPool=new d(S,this.options.idle),v[r]=this.__workersPool)}catch(o){}var i,s=this.__mathlib.init().then(function(e){c(t.features,e.features)});return i=_?p.cib_support(this.options.createCanvas).then(function(e){t.features.cib&&n.indexOf("cib")<0?t.debug("createImageBitmap() resize supported, but disabled by config"):n.indexOf("cib")>=0&&(t.features.cib=e)}):Promise.resolve(!1),this.__initPromise=Promise.all([s,i]).then(function(){return t}),this.__initPromise},E.prototype.resize=function(e,t,n){var i=this;this.debug("Start resize...");var s=c({},C);if(isNaN(n)?n&&(s=c(s,n)):s=c(s,{quality:n}),s.toWidth=t.width,s.toHeight=t.height,s.width=e.naturalWidth||e.width,s.height=e.naturalHeight||e.height,0===t.width||0===t.height)return Promise.reject(new Error("Invalid output size: ".concat(t.width,"x").concat(t.height)));s.unsharpRadius>2&&(s.unsharpRadius=2);var o=!1,a=null;s.cancelToken&&(a=s.cancelToken.then(function(e){throw o=!0,e},function(e){throw o=!0,e}));var l=3,u=Math.ceil(Math.max(l,2.5*s.unsharpRadius|0));return this.init().then(function(){if(o)return a;if(i.features.cib){var n=t.getContext("2d",{alpha:Boolean(s.alpha)});return i.debug("Resize via createImageBitmap()"),createImageBitmap(e,{resizeWidth:s.toWidth,resizeHeight:s.toHeight,resizeQuality:p.cib_quality_name(s.quality)}).then(function(e){if(o)return a;if(!s.unsharpAmount)return n.drawImage(e,0,0),e.close(),n=null,i.debug("Finished!"),t;i.debug("Unsharp result");var r=i.options.createCanvas(s.toWidth,s.toHeight),l=r.getContext("2d",{alpha:Boolean(s.alpha)});l.drawImage(e,0,0),e.close();var c=l.getImageData(0,0,s.toWidth,s.toHeight);return i.__mathlib.unsharp_mask(c.data,s.toWidth,s.toHeight,s.unsharpAmount,s.unsharpRadius,s.unsharpThreshold),n.putImageData(c,0,0),r.width=r.height=0,c=l=r=n=null,i.debug("Finished!"),t})}var l={},h=function(e){return Promise.resolve().then(function(){return i.features.ww?new Promise(function(t,n){var r=i.__workersPool.acquire();a&&a.catch(function(e){return n(e)}),r.value.onmessage=function(e){r.release(),e.data.err?n(e.data.err):t(e.data.result)},r.value.postMessage({opts:e,features:i.__requested_features,preload:{wasm_nodule:i.__mathlib.__}},[e.src.buffer])}):i.__mathlib.resizeAndUnsharp(e,l)})},d=function(e,t,n){var r,s,l,c=!1,d=function(t){return i.__limit(function(){if(o)return a;var c;if(p.isCanvas(e))i.debug("Get tile pixel data"),c=r.getImageData(t.x,t.y,t.width,t.height);else{i.debug("Draw tile imageBitmap/image to temporary canvas");var u=i.options.createCanvas(t.width,t.height),d=u.getContext("2d",{alpha:Boolean(n.alpha)});d.globalCompositeOperation="copy",d.drawImage(s||e,t.x,t.y,t.width,t.height,0,0,t.width,t.height),i.debug("Get tile pixel data"),c=d.getImageData(0,0,t.width,t.height),u.width=u.height=0,d=u=null}var f={src:c.data,width:t.width,height:t.height,toWidth:t.toWidth,toHeight:t.toHeight,scaleX:t.scaleX,scaleY:t.scaleY,offsetX:t.offsetX,offsetY:t.offsetY,quality:n.quality,alpha:n.alpha,unsharpAmount:n.unsharpAmount,unsharpRadius:n.unsharpRadius,unsharpThreshold:n.unsharpThreshold};return i.debug("Invoke resize math"),Promise.resolve().then(function(){return h(f)}).then(function(e){if(o)return a;var n;if(c=null,i.debug("Convert raw rgba tile result to ImageData"),w)n=new ImageData(new Uint8ClampedArray(e),t.toWidth,t.toHeight);else if((n=l.createImageData(t.toWidth,t.toHeight)).data.set)n.data.set(e);else for(var r=n.data.length-1;r>=0;r--)n.data[r]=e[r];return i.debug("Draw tile"),y?l.putImageData(n,t.toX,t.toY,t.toInnerX-t.toX,t.toInnerY-t.toY,t.toInnerWidth+1e-5,t.toInnerHeight+1e-5):l.putImageData(n,t.toX,t.toY,t.toInnerX-t.toX,t.toInnerY-t.toY,t.toInnerWidth,t.toInnerHeight),null})})};return Promise.resolve().then(function(){if(l=t.getContext("2d",{alpha:Boolean(n.alpha)}),p.isCanvas(e))return r=e.getContext("2d",{alpha:Boolean(n.alpha)}),null;if(p.isImageBitmap(e))return s=e,c=!0,null;if(p.isImage(e))return _?(i.debug("Decode image via createImageBitmap"),createImageBitmap(e).then(function(e){s=e}).catch(function(e){return null})):null;throw new Error('Pica: ".from" should be Image, Canvas or ImageBitmap')}).then(function(){if(o)return a;i.debug("Calculate tiles");var e=g({width:n.width,height:n.height,srcTileSize:i.options.tile,toWidth:n.toWidth,toHeight:n.toHeight,destTileBorder:u}).map(function(e){return d(e)});function r(){s&&(c||s.close(),s=null)}return i.debug("Process tiles"),Promise.all(e).then(function(){return i.debug("Finished!"),r(),t},function(e){throw r(),e})})};return function e(t,n,s,l){if(o)return a;var u,h=r(t.shift(),2),p=h[0],f=h[1],m=0===t.length;return l=c({},l,{toWidth:p,toHeight:f,quality:m?l.quality:Math.min(1,l.quality)}),m||(u=i.options.createCanvas(p,f)),d(n,m?s:u,l).then(function(){return m?s:(l.width=p,l.height=f,e(t,u,s,l))}).then(function(e){return u&&(u.width=u.height=0),e})}(m(s.width,s.height,s.toWidth,s.toHeight,i.options.tile,u),e,t,s)})},E.prototype.resizeBuffer=function(e){var t=this,n=c({},C,e);return this.init().then(function(){return t.__mathlib.resizeAndUnsharp(n)})},E.prototype.toBlob=function(e,t,n){return t=t||"image/png",new Promise(function(r){if(e.toBlob)e.toBlob(function(e){return r(e)},t,n);else if(e.convertToBlob)r(e.convertToBlob({type:t,quality:n}));else{for(var i=atob(e.toDataURL(t,n).split(",")[1]),s=i.length,o=new Uint8Array(s),a=0;a<s;a++)o[a]=i.charCodeAt(a);r(new Blob([o],{type:t}))}})},E.prototype.debug=function(){}
1,t.exports=E},{"./lib/mathlib":1,"./lib/pool":9,"./lib/stepper":10,"./lib/tiler":11,"./lib/utils":12,"./lib/worker":13,"object-assign":24,webworkify:25}]},{},[])("/index.js")},jO9C:function(e,t,n){var r;e.exports=(r=n("Ib8C"),n("OLod"),r.pad.Iso97971={pad:function(e,t){e.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(e,t)},unpad:function(e){r.pad.ZeroPadding.unpad(e),e.sigBytes--}},r.pad.Iso97971)},jZKg:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("HDdC"),i=n("quSY");function s(e,t){return new r.a(n=>{const r=new i.a;let s=0;return r.add(t.schedule(function(){s!==e.length?(n.next(e[s++]),n.closed||r.add(this.schedule())):n.complete()})),r})}},jhN1:function(e,t,n){"use strict";n.d(t,"a",function(){return J}),n.d(t,"b",function(){return G}),n.d(t,"c",function(){return te}),n.d(t,"d",function(){return ie}),n.d(t,"e",function(){return I}),n.d(t,"f",function(){return X});var r=n("ofXK"),i=n("fXoL");class s extends r.p{constructor(){super()}supportsDOMEvents(){return!0}}(()=>{if(i.Zb.Node)i.Zb.Node.prototype.contains})();class o extends s{static makeCurrent(){Object(r.t)(new o)}getProperty(e,t){return e[t]}log(e){window.console&&window.console.log&&window.console.log(e)}logGroup(e){window.console&&window.console.group&&window.console.group(e)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){return e.parentNode&&e.parentNode.removeChild(e),e}getValue(e){return e.value}createElement(e,t){return(t=t||this.getDefaultDocument()).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,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(e){const t=function(){if(!l&&(l=document.querySelector("base"),!l))return null;return l.getAttribute("href")}();return null==t?null:function(e){a||(a=document.createElement("a"));return a.setAttribute("href",e),"/"===a.pathname.charAt(0)?a.pathname:"/"+a.pathname}(t)}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(e){return Object(r.s)(document.cookie,e)}}let a,l=null;const c=new i.F("TRANSITION_ID");const u=[{provide:i.d,useFactory:function(e,t,n){return()=>{n.get(i.e).donePromise.then(()=>{const n=Object(r.r)();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(t=>t.getAttribute("ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[c,r.c,i.G],multi:!0}];class h{static init(){Object(i.xb)(new h)}addToWindow(e){i.Zb.getAngularTestability=(t,n=!0)=>{const r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},i.Zb.getAllAngularTestabilities=()=>e.getAllTestabilities(),i.Zb.getAllAngularRootElements=()=>e.getAllRootElements();i.Zb.frameworkStabilizers||(i.Zb.frameworkStabilizers=[]),i.Zb.frameworkStabilizers.push(e=>{const t=i.Zb.getAllAngularTestabilities();let n=t.length,r=!1;const s=function(t){r=r||t,n--,0==n&&e(r)};t.forEach(function(e){e.whenStable(s)})})}findTestabilityInTree(e,t,n){if(null==t)return null;const i=e.getTestability(t);return null!=i?i:n?Object(r.r)().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}function d(e,t){if("undefined"==typeof COMPILED||!COMPILED){(i.Zb.ng=i.Zb.ng||{})[e]=t}}const p={ApplicationRef:i.g,NgZone:i.R};function f(e){return Object(i.Vb)(e)}i.d,i.Q,new i.S;const m=[],g=new i.F("EventManagerPlugins");class v{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(e=>e.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}addGlobalEventListener(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const n=this._plugins;for(let r=0;r<n.length;r++){const t=n[r];
1if(t.supports(e))return this._eventNameToPlugin.set(e,t),t}throw new Error(`No event manager plugin found for event ${e}`)}}v.\u0275fac=function(e){return new(e||v)(i.Vc(g),i.Vc(i.R))},v.\u0275prov=i.Ic({token:v,factory:v.\u0275fac}),v.ctorParameters=()=>[{type:Array,decorators:[{type:i.C,args:[g]}]},{type:i.R}];class y{constructor(e){this._doc=e}addGlobalEventListener(e,t,n){const i=Object(r.r)().getGlobalEventTarget(this._doc,e);if(!i)throw new Error(`Unsupported event target ${i} for event ${t}`);return this.addEventListener(i,t,n)}}class b{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(e=>{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}b.\u0275fac=function(e){return new(e||b)},b.\u0275prov=i.Ic({token:b,factory:b.\u0275fac});class w extends b{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,t,n){e.forEach(e=>{const r=this._doc.createElement("style");r.textContent=e,n.push(t.appendChild(r))})}addHost(e){const t=[];this._addStylesToHost(this._stylesSet,e,t),this._hostNodes.set(e,t)}removeHost(e){const t=this._hostNodes.get(e);t&&t.forEach(_),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((t,n)=>{this._addStylesToHost(e,n,t)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(_))}}function _(e){Object(r.r)().remove(e)}w.\u0275fac=function(e){return new(e||w)(i.Vc(r.c))},w.\u0275prov=i.Ic({token:w,factory:w.\u0275fac}),w.ctorParameters=()=>[{type:void 0,decorators:[{type:i.C,args:[r.c]}]}];const x={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/"},C=/%COMP%/g,S="_nghost-%COMP%",E="_ngcontent-%COMP%";function A(e,t,n){for(let r=0;r<t.length;r++){let i=t[r];Array.isArray(i)?A(e,i,n):(i=i.replace(C,e),n.push(i))}return n}function k(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}class I{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new T(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case i.pb.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new O(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case 1:case i.pb.ShadowDom:return new D(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=A(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}I.\u0275fac=function(e){return new(e||I)(i.Vc(v),i.Vc(w),i.Vc(i.c))},I.\u0275prov=i.Ic({token:I,factory:I.\u0275fac}),I.ctorParameters=()=>[{type:v},{type:w},{type:String,decorators:[{type:i.C,args:[i.c]}]}];class T{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(x[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,n){e&&e.insertBefore(t,n)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error(`The selector "${e}" did not match any elements`);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,r){if(r){t=r+":"+t;const i=x[r];i?e.setAttributeNS(i,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const r=x[n];r?e.removeAttributeNS(r,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,r){r&(i.bb.DashCase|i.bb.Important)?e.style.setProperty(t,n,r&i.bb.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&i.bb.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){e[t]=n}setValue(e,t){e.nodeValue=t}
1listen(e,t,n){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,k(n)):this.eventManager.addEventListener(e,t,k(n))}}"@".charCodeAt(0);class O extends T{constructor(e,t,n,r){super(e),this.component=n;const i=A(r+"-"+n.id,n.styles,[]);var s;t.addStyles(i),this.contentAttr=(s=r+"-"+n.id,E.replace(C,s)),this.hostAttr=function(e){return S.replace(C,e)}(r+"-"+n.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class D extends T{constructor(e,t,n,r){super(e),this.sharedStylesHost=t,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const i=A(r.id,r.styles,[]);for(let s=0;s<i.length;s++){const e=document.createElement("style");e.textContent=i[s],this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}class P extends y{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,n){return e.addEventListener(t,n,!1),()=>this.removeEventListener(e,t,n)}removeEventListener(e,t,n){return e.removeEventListener(t,n)}}P.\u0275fac=function(e){return new(e||P)(i.Vc(r.c))},P.\u0275prov=i.Ic({token:P,factory:P.\u0275fac}),P.ctorParameters=()=>[{type:void 0,decorators:[{type:i.C,args:[r.c]}]}];const M={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},N=new i.F("HammerGestureConfig"),R=new i.F("HammerLoader");class L{constructor(){this.events=[],this.overrides={}}buildHammer(e){const t=new Hammer(e,this.options);t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0});for(const n in this.overrides)t.get(n).set(this.overrides[n]);return t}}L.\u0275fac=function(e){return new(e||L)},L.\u0275prov=i.Ic({token:L,factory:L.\u0275fac});class j extends y{constructor(e,t,n,r){super(e),this._config=t,this.console=n,this.loader=r,this._loaderPromise=null}supports(e){return!(!M.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e))&&!(!window.Hammer&&!this.loader)}addEventListener(e,t,n){const r=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||this.loader();let r=!1,i=()=>{r=!0};return this._loaderPromise.then(()=>{window.Hammer?r||(i=this.addEventListener(e,t,n)):i=()=>{}}
1).catch(()=>{i=()=>{}}),()=>{i()}}return r.runOutsideAngular(()=>{const i=this._config.buildHammer(e),s=function(e){r.runGuarded(function(){n(e)})};return i.on(t,s),()=>{i.off(t,s),"function"==typeof i.destroy&&i.destroy()}})}isCustomEvent(e){return this._config.events.indexOf(e)>-1}}j.\u0275fac=function(e){return new(e||j)(i.Vc(r.c),i.Vc(N),i.Vc(i.zb),i.Vc(R,8))},j.\u0275prov=i.Ic({token:j,factory:j.\u0275fac}),j.ctorParameters=()=>[{type:void 0,decorators:[{type:i.C,args:[r.c]}]},{type:L,decorators:[{type:i.C,args:[N]}]},{type:i.zb},{type:void 0,decorators:[{type:i.S},{type:i.C,args:[R]}]}];const F=[{provide:g,useClass:j,multi:!0,deps:[r.c,N,i.zb,[new i.S,R]]},{provide:N,useClass:L,deps:[]}],B=[];class ${}$.\u0275fac=function(e){return new(e||$)},$.\u0275mod=i.Kc({type:$}),$.\u0275inj=i.Jc({providers:F});const V=["alt","control","meta","shift"],U={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},z={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},H={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};class q extends y{constructor(e){super(e)}supports(e){return null!=q.parseEventName(e)}addEventListener(e,t,n){const i=q.parseEventName(t),s=q.eventCallback(i.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Object(r.r)().onAndCancel(e,i.domEventName,s))}static parseEventName(e){const t=e.toLowerCase().split("."),n=t.shift();if(0===t.length||"keydown"!==n&&"keyup"!==n)return null;const r=q._normalizeKey(t.pop());let i="";if(V.forEach(e=>{const n=t.indexOf(e);n>-1&&(t.splice(n,1),i+=e+".")}),i+=r,0!=t.length||0===r.length)return null;const s={};return s.domEventName=n,s.fullKey=i,s}static getEventFullKey(e){let t="",n=function(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&z.hasOwnProperty(t)&&(t=z[t]))}return U[t]||t}(e);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),V.forEach(r=>{if(r!=n){(0,H[r])(e)&&(t+=r+".")}}),t+=n,t}static eventCallback(e,t,n){return r=>{q.getEventFullKey(r)===e&&n.runGuarded(()=>t(r))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}q.\u0275fac=function(e){return new(e||q)(i.Vc(r.c))},q.\u0275prov=i.Ic({token:q,factory:q.\u0275fac}),q.ctorParameters=()=>[{type:void 0,decorators:[{type:i.C,args:[r.c]}]}];class G{}function W(e){return new Q(e.get(r.c))}G.\u0275fac=function(e){return new(e||G)},G.\u0275prov=Object(i.Ic)({factory:function(){return Object(i.Vc)(Q)},token:G,providedIn:"root"});class Q extends G{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case i.db.NONE:return t;case i.db.HTML:return Object(i.Ib)(t,"HTML")?Object(i.xc)(t):Object(i.Gb)(this._doc,String(t)).toString();case i.db.STYLE:return Object(i.Ib)(t,"Style")?Object(i.xc)(t):t;case i.db.SCRIPT:if(Object(i.Ib)(t,"Script"))return Object(i.xc)(t);throw new Error("unsafe value used in a script context");case i.db.URL:Object(i.Yb)(t);return Object(i.Ib)(t,"URL")?Object(i.xc)(t):Object(i.Hb)(String(t));case i.db.RESOURCE_URL:if(Object(i.Ib)(t,"ResourceURL"))return Object(i.xc)(t);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return Object(i.Kb)(e)}bypassSecurityTrustStyle(e){return Object(i.Nb)(e)}bypassSecurityTrustScript(e){return Object(i.Mb)(e)}bypassSecurityTrustUrl(e){return Object(i.Ob)(e)}bypassSecurityTrustResourceUrl(e){return Object(i.Lb)(e)}}Q.\u0275fac=function(e){return new(e||Q)(i.Vc(r.c))},Q.\u0275prov=Object(i.Ic)({factory:function(){return W(Object(i.Vc)(i.B))},token:Q,providedIn:"root"}),Q.ctorParameters=()=>[{type:void 0,decorators:[{type:i.C,args:[r.c]}]}];const K=r.q,X=[{provide:i.V,useValue:K},{provide:i.W,useValue:function(){o.makeCurrent(),h.init()},multi:!0},{provide:r.c,useFactory:function(){return Object(i.tc)(document),document},deps:[]}],Y=(i.cb,r.c,[]),Z=(Object(i.qb)(i.wb,"browser",X),[Y,{provide:i.Cb,useValue:"root"},{provide:i.w,useFactory:function(){return new i.w},deps:[]},{provide:g,useClass:P,multi:!0,deps:[r.c,i.R,i.V]},{provide:g,useClass:q,multi:!0,deps:[r.c]},B,{provide:I,useClass:I,deps:[v,w,i.c]},{provide:i.ab,useExisting:I},{provide:b,useExisting:w},{provide:w,useClass:w,deps:[r.c]},{provide:i.kb,useClass:i.kb,deps:[i.R]},{provide:v,useClass:v,deps:[g,i.R]},m]);class J{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:J,providers:[{provide:i.c,useValue:e.appId},{provide:c,useExisting:i.c},u]}}}function ee(){return new te(Object(i.Vc)(r.c))}J.\u0275fac=function(e){return new(e||J)(i.Vc(J,12))},J.\u0275mod=i.Kc({type:J}),J.\u0275inj=i.Jc({providers:Z,imports:[r.b,i.f]}),J.ctorParameters=()=>[{type:J,decorators:[{type:i.S}
1,{type:i.fb},{type:i.C,args:[J]}]}],("undefined"==typeof ngJitMode||ngJitMode)&&i.nd(J,{exports:function(){return[r.b,i.f]}});class te{constructor(e){this._doc=e,this._dom=Object(r.r)()}addTag(e,t=!1){return e?this._getOrCreateElement(e,t):null}addTags(e,t=!1){return e?e.reduce((e,n)=>(n&&e.push(this._getOrCreateElement(n,t)),e),[]):[]}getTag(e){return e&&this._doc.querySelector(`meta[${e}]`)||null}getTags(e){if(!e)return[];const t=this._doc.querySelectorAll(`meta[${e}]`);return t?[].slice.call(t):[]}updateTag(e,t){if(!e)return null;t=t||this._parseSelector(e);const n=this.getTag(t);return n?this._setMetaElementAttributes(e,n):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}_getOrCreateElement(e,t=!1){if(!t){const t=this._parseSelector(e),n=this.getTag(t);if(n&&this._containsAttributes(e,n))return n}const n=this._dom.createElement("meta");this._setMetaElementAttributes(e,n);return this._doc.getElementsByTagName("head")[0].appendChild(n),n}_setMetaElementAttributes(e,t){return Object.keys(e).forEach(n=>t.setAttribute(this._getMetaKeyMap(n),e[n])),t}_parseSelector(e){const t=e.name?"name":"property";return`${t}="${e[t]}"`}_containsAttributes(e,t){return Object.keys(e).every(n=>t.getAttribute(this._getMetaKeyMap(n))===e[n])}_getMetaKeyMap(e){return ne[e]||e}}te.\u0275fac=function(e){return new(e||te)(i.Vc(r.c))},te.\u0275prov=Object(i.Ic)({factory:ee,token:te,providedIn:"root"}),te.ctorParameters=()=>[{type:void 0,decorators:[{type:i.C,args:[r.c]}]}];const ne={httpEquiv:"http-equiv"};function re(){return new ie(Object(i.Vc)(r.c))}class ie{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}ie.\u0275fac=function(e){return new(e||ie)(i.Vc(r.c))},ie.\u0275prov=Object(i.Ic)({factory:re,token:ie,providedIn:"root"}),ie.ctorParameters=()=>[{type:void 0,decorators:[{type:i.C,args:[r.c]}]}];"undefined"!=typeof window&&window;class se{constructor(){this.store={},this.onSerializeCallbacks={}}static init(e){const t=new se;return t.store=e,t}get(e,t){return void 0!==this.store[e]?this.store[e]:t}set(e,t){this.store[e]=t}remove(e){delete this.store[e]}hasKey(e){return this.store.hasOwnProperty(e)}onSerialize(e,t){this.onSerializeCallbacks[e]=t}toJson(){for(const t in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(t))try{this.store[t]=this.onSerializeCallbacks[t]()}catch(e){console.warn("Exception in onSerialize callback: ",e)}return JSON.stringify(this.store)}}function oe(e,t){const n=e.getElementById(t+"-state");let r={};if(n&&n.textContent)try{r=JSON.parse(function(e){const t={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return e.replace(/&[^;]+;/g,e=>t[e])}(n.textContent))}catch(i){console.warn("Exception while restoring TransferState for app "+t,i)}return se.init(r)}se.\u0275fac=function(e){return new(e||se)},se.\u0275prov=i.Ic({token:se,factory:se.\u0275fac});class ae{}ae.\u0275fac=function(e){return new(e||ae)},ae.\u0275mod=i.Kc({type:ae}),ae.\u0275inj=i.Jc({providers:[{provide:se,useFactory:oe,deps:[r.c,i.c]}]});new i.mb("11.2.14")},jtHE:function(e,t,n){"use strict";n.d(t,"a",function(){return w});var r=n("XNiG"),i=n("3N8a");class s extends i.a{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}schedule(e,t=0){return t>0?super.schedule(e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}execute(e,t){return t>0||this.closed?super.execute(e,t):this._execute(e,t)}requestAsyncId(e,t,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(e,t,n):e.flush(this)}}var o=n("IjjT");class a extends o.a{}const l=new a(s);var c,u=n("quSY"),h=n("7o/Q"),d=n("EY2u"),p=n("LRne"),f=n("z6cu");!function(e){e.NEXT="N",e.ERROR="E",e.COMPLETE="C"}(c||(c={}));class m{constructor(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}observe(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}do(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}}accept(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n
1)}toObservable(){switch(this.kind){case"N":return Object(p.a)(this.value);case"E":return Object(f.a)(this.error);case"C":return Object(d.b)()}throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new m("N",e):m.undefinedValueNotification}static createError(e){return new m("E",void 0,e)}static createComplete(){return m.completeNotification}}m.completeNotification=new m("C"),m.undefinedValueNotification=new m("N",void 0);class g extends h.a{constructor(e,t,n=0){super(e),this.scheduler=t,this.delay=n}static dispatch(e){const{notification:t,destination:n}=e;t.observe(n),this.unsubscribe()}scheduleMessage(e){this.destination.add(this.scheduler.schedule(g.dispatch,this.delay,new v(e,this.destination)))}_next(e){this.scheduleMessage(m.createNext(e))}_error(e){this.scheduleMessage(m.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(m.createComplete()),this.unsubscribe()}}class v{constructor(e,t){this.notification=e,this.destination=t}}var y=n("9ppp"),b=n("Ylt2");class w extends r.a{constructor(e=Number.POSITIVE_INFINITY,t=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=e<1?1:e,this._windowTime=t<1?1:t,t===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(e){if(!this.isStopped){const t=this._events;t.push(e),t.length>this._bufferSize&&t.shift()}super.next(e)}nextTimeWindow(e){this.isStopped||(this._events.push(new _(this._getNow(),e)),this._trimBufferThenGetEvents()),super.next(e)}_subscribe(e){const t=this._infiniteTimeWindow,n=t?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,i=n.length;let s;if(this.closed)throw new y.a;if(this.isStopped||this.hasError?s=u.a.EMPTY:(this.observers.push(e),s=new b.a(this,e)),r&&e.add(e=new g(e,r)),t)for(let o=0;o<i&&!e.closed;o++)e.next(n[o]);else for(let o=0;o<i&&!e.closed;o++)e.next(n[o].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),s}_getNow(){return(this.scheduler||l).now()}_trimBufferThenGetEvents(){const e=this._getNow(),t=this._bufferSize,n=this._windowTime,r=this._events,i=r.length;let s=0;for(;s<i&&!(e-r[s].time<n);)s++;return i>t&&(s=Math.max(s,i-t)),s>0&&r.splice(0,s),r}}class _{constructor(e,t){this.time=e,this.value=t}}},kJWO:function(e,t,n){"use strict";n.d(t,"a",function(){return r});const r="function"==typeof Symbol&&Symbol.observable||"@@observable"},kLfG:function(e,t,n){var r={"./ion-action-sheet.entry.js":["dUtr",0,29],"./ion-alert.entry.js":["Q8AI",0,30],"./ion-app_8.entry.js":["hgI1",0,31],"./ion-avatar_3.entry.js":["CfoV",0,32],"./ion-back-button.entry.js":["Nt02",0,33],"./ion-backdrop.entry.js":["Q2Bp",34],"./ion-button_2.entry.js":["0Pbj",0,35],"./ion-card_5.entry.js":["ydQj",0,36],"./ion-checkbox.entry.js":["4fMi",0,37],"./ion-chip.entry.js":["czK9",0,38],"./ion-col_3.entry.js":["/CAe",39],"./ion-datetime_3.entry.js":["WgF3",0,40],"./ion-fab_3.entry.js":["uQcF",0,41],"./ion-img.entry.js":["wHD8",42],"./ion-infinite-scroll_2.entry.js":["2lz6",43],"./ion-input.entry.js":["ercB",0,44],"./ion-item-option_3.entry.js":["MGMP",0,45],"./ion-item_8.entry.js":["9bur",0,46],"./ion-loading.entry.js":["cABk",0,47],"./ion-menu_3.entry.js":["kyFE",0,48],"./ion-modal.entry.js":["TvZU",0,49],"./ion-nav_2.entry.js":["vnES",0,50],"./ion-popover.entry.js":["qCuA",0,51],"./ion-progress-bar.entry.js":["0tOe",0,52],"./ion-radio_2.entry.js":["h11V",0,53],"./ion-range.entry.js":["XGij",0,54],"./ion-refresher_2.entry.js":["nYbb",0,55],"./ion-reorder_2.entry.js":["smMY",0,56],"./ion-ripple-effect.entry.js":["STjf",57],"./ion-route_4.entry.js":["k5eQ",0,58],"./ion-searchbar.entry.js":["OR5t",0,59],"./ion-segment_2.entry.js":["fSgp",0,60],"./ion-select_3.entry.js":["lfGF",0,61],"./ion-slide_2.entry.js":["5xYT",62],"./ion-spinner.entry.js":["nI0H",0,63],"./ion-split-pane.entry.js":["NAQR",64],"./ion-tab-bar_2.entry.js":["knkW",0,65],"./ion-tab_2.entry.js":["TpdJ",0,66],"./ion-text.entry.js":["ISmu",0,67],"./ion-textarea.entry.js":["U7LX",0,68],"./ion-toast.entry.js":["L3sA",0,69],"./ion-toggle.entry.js":["IUOf",0,70],"./ion-virtual-scroll.entry.js":["8Mb5",71]};function i(e){if(!n.o(r,e))return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=r[e],i=t[0];return Promise.all(t.slice(1).map(n.e)).then(function(){return n(i)})}i.keys=function(){return Object.keys(r)},i.id="kLfG",e.exports=i},kyzu:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n("mrSG"),i=n("fXoL"),s=n("TEn/"),o=n("sYmb"),a=n("tyNb");let l=class{constructor(e,t,n,r){this.alertCtrl=e,this._translate=t,this.router=n,this.platform=r}basicAlert(e="DigiLocker",t="DigiLocker",n="DigiLocker Message",i="OK"){return Object(r.b)(this,void 0,void 0,function*(){const r=yield this.alertCtrl.create({header:e,subHeader:t,message:n,buttons:[i]});yield r.present();yield r.onDidDismiss()})}openLink(e,t=!0){return Object(r.b)(this,void 0,void 0,function*(){if("assets/DIGILOCKER ASK EXPERT.pdf"==e)return void window.open(e,"_blank");const n=yield this.alertCtrl.create({header:e,message:this._translate.instant("You are being redirected to an external website. Please note that DigiLocker is not responsible for external websites content & privacy policies."),cssClass:"externalLinkCSS",buttons:[{text:"Cancel",role:"cancel"},{text:"OK",handler:()=>{t?window.open(e,"_blank"):this.openBrowser(e)}}]});yield n.present()})}signInAlert(e=null,t=null,n=null){var i;return Object(r.b)(this,void 0,void 0,function*(){const r=yield this.alertCtrl.create({cssClass:"customCss alertCustomCss",message:'\n        <h3 class="textAlert staticText">Please Login / Register to access this document.</h3>\n        <ion-icon name="close-outline" id="close-alert" title="close" class="staticText"></ion-icon>\n      ',buttons:[{text:this._translate.instant("Login / Register"),role:"signin"}]});yield r.present(),r.onDidDismiss().then(r=>{if("signin"===r.role||"signup"===r.role){if(null!=t&&null!=e&&null==n){const n={value1:e,value2:t},r=JSON.stringify(n);sessionStorage.setItem("url",r)}else null!=n&&sessionStorage.setItem("fetchDoc",JSON.stringify(n));"signin"===r.role?this.router.navigateByUrl("web/login"):"signup"===r.role&&this.router.navigateByUrl("web/signup")}}),null===(i=document.getElementById("close-alert"))||void 0===i||i.addEventListener("click",()=>{r.dismiss()})})}alertMsg(e,t){return Object(r.b)(this,void 0,void 0,function*(){return new Promise(n=>Object(r.b)(this,void 0,void 0,function*(){const r=yield this.alertCtrl.create({header:e,message:this._translate.instant(t),cssClass:"externalLinkCSS",buttons:[{text:"Cancel",role:"cancel",handler:()=>{n(!1)}},{text:"OK",handler:()=>{n(!0)}}]});yield r.present()}
1))})}openBrowser(e){var t;const n=e;if(this.platform.is("android"))try{null===(t=window.ResourceInterface)||void 0===t||t.openBrowser(n)}catch(r){}else if(this.platform.is("ios"))try{window.location.href="ios::openSafari::"+n}catch(r){}else window.open(n,"_blank")}};l.ctorParameters=()=>[{type:s.a},{type:o.c},{type:a.h},{type:s.j}],l=Object(r.c)([Object(i.E)({providedIn:"root"})],l)},lJxs:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("7o/Q");function i(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new s(e,t))}}class s{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new o(e,this.project,this.thisArg))}}class o extends r.a{constructor(e,t,n){super(e),this.project=t,this.count=0,this.thisArg=n||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}},lPiR:function(e,t,n){var r;e.exports=(r=n("Ib8C"),function(e){var t=r,n=t.lib,i=n.WordArray,s=n.Hasher,o=t.algo,a=[],l=[];!function(){function t(t){for(var n=e.sqrt(t),r=2;r<=n;r++)if(!(t%r))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}for(var r=2,i=0;i<64;)t(r)&&(i<8&&(a[i]=n(e.pow(r,.5))),l[i]=n(e.pow(r,1/3)),i++),r++}();var c=[],u=o.SHA256=s.extend({_doReset:function(){this._hash=new i.init(a.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],i=n[1],s=n[2],o=n[3],a=n[4],u=n[5],h=n[6],d=n[7],p=0;p<64;p++){if(p<16)c[p]=0|e[t+p];else{var f=c[p-15],m=(f<<25|f>>>7)^(f<<14|f>>>18)^f>>>3,g=c[p-2],v=(g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10;c[p]=m+c[p-7]+v+c[p-16]}var y=r&i^r&s^i&s,b=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),w=d+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+(a&u^~a&h)+l[p]+c[p];d=h,h=u,u=a,a=o+w|0,o=s,s=i,i=r,r=w+(b+y)|0}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+s|0,n[3]=n[3]+o|0,n[4]=n[4]+a|0,n[5]=n[5]+u|0,n[6]=n[6]+h|0,n[7]=n[7]+d|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;return n[i>>>5]|=128<<24-i%32,n[14+(i+64>>>9<<4)]=e.floor(r/4294967296),n[15+(i+64>>>9<<4)]=r,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=s.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=s._createHelper(u),t.HmacSHA256=s._createHmacHelper(u)}(Math),r.SHA256)},mrSG:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"c",function(){return i}),n.d(t,"b",function(){return s}),n.d(t,"d",function(){return o}),n.d(t,"e",function(){return a});var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function i(e,t,n,r){var i,s=arguments.length,o=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(o=(s<3?i(o):s>3?i(t,n,o):i(t,n))||o);return s>3&&o&&Object.defineProperty(t,n,o),o}function s(e,t,n,r){return new(n||(n=Promise))(function(i,s){function o(e){try{l(r.next(e))}catch(t){s(t)}}function a(e){try{l(r.throw(e))}catch(t){s(t)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,a)}l((r=r.apply(e,t||[])).next())})}function o(e,t){var n,r,i,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=a(0),o.throw=a(1),o.return=a(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){s.label=a[1];break}if(6===a[0]&&s.label<i[1]){s.label=i[1],i=a;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(a);break}i[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(l){a=[6,l],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}}Object.create;function a(e,t,n){if(n||2===arguments.length)for(var r,i=0,s=t.length;i<s;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;"function"==typeof SuppressedError&&SuppressedError},n6bG:function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.d(t,"a",function(){return r})},nYR2:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("7o/Q"),i=n("quSY");function s(e){return t=>t.lift(new o(e))}class o{constructor(e){this.callback=e}call(e,t){return t.subscribe(new a(e,this.callback))}}class a extends r.a{constructor(e,t){super(e),this.add(new i.a(t))}}},ngJS:function(e,t,n){"use strict";n.d(t,"a",function(){return r});const r=e=>t=>{for(let n=0,r=e.length;n<r&&!t.closed;
1n++)t.next(e[n]);t.complete()}},oOf3:function(e,t,n){"use strict";n.d(t,"a",function(){return k});var r=n("fXoL"),i=n("ofXK");function s(e,t){if(1&e){var n=r.Sc();r.Rc(0,"a",11),r.Zc("keyup.enter",function(){return r.ld(n),r.bd(3),r.id(1).previous()})("click",function(){return r.ld(n),r.bd(3),r.id(1).previous()}),r.qd(1),r.Rc(2,"span",12),r.qd(3),r.Qc(),r.Qc()}if(2&e){var i=r.bd(3);r.Dc("aria-label",i.previousLabel+" "+i.screenReaderPageLabel),r.Cc(1),r.sd(" ",i.previousLabel," "),r.Cc(2),r.rd(i.screenReaderPageLabel)}}function o(e,t){if(1&e&&(r.Rc(0,"span"),r.qd(1),r.Rc(2,"span",12),r.qd(3),r.Qc(),r.Qc()),2&e){var n=r.bd(3);r.Cc(1),r.sd(" ",n.previousLabel," "),r.Cc(2),r.rd(n.screenReaderPageLabel)}}function a(e,t){if(1&e&&(r.Rc(0,"li",8),r.pd(1,s,4,3,"a",9),r.pd(2,o,4,2,"span",10),r.Qc()),2&e){r.bd(2);var n=r.id(1);r.Ec("disabled",n.isFirstPage()),r.Cc(1),r.gd("ngIf",1<n.getCurrent()),r.Cc(1),r.gd("ngIf",n.isFirstPage())}}function l(e,t){if(1&e){var n=r.Sc();r.Rc(0,"a",11),r.Zc("keyup.enter",function(){r.ld(n);var e=r.bd().$implicit;return r.bd(2),r.id(1).setCurrent(e.value)})("click",function(){r.ld(n);var e=r.bd().$implicit;return r.bd(2),r.id(1).setCurrent(e.value)}),r.Rc(1,"span",12),r.qd(2),r.Qc(),r.Rc(3,"span"),r.qd(4),r.cd(5,"number"),r.Qc(),r.Qc()}if(2&e){var i=r.bd().$implicit,s=r.bd(2);r.Cc(2),r.sd("",s.screenReaderPageLabel," "),r.Cc(2),r.rd("..."===i.label?i.label:r.dd(5,2,i.label,""))}}function c(e,t){if(1&e&&(r.Pc(0),r.Rc(1,"span",12),r.qd(2),r.Qc(),r.Rc(3,"span"),r.qd(4),r.cd(5,"number"),r.Qc(),r.Oc()),2&e){var n=r.bd().$implicit,i=r.bd(2);r.Cc(2),r.sd("",i.screenReaderCurrentLabel," "),r.Cc(2),r.rd("..."===n.label?n.label:r.dd(5,2,n.label,""))}}function u(e,t){if(1&e&&(r.Rc(0,"li"),r.pd(1,l,6,5,"a",9),r.pd(2,c,6,5,"ng-container",10),r.Qc()),2&e){var n=t.$implicit;r.bd(2);var i=r.id(1);r.Ec("current",i.getCurrent()===n.value)("ellipsis","..."===n.label),r.Cc(1),r.gd("ngIf",i.getCurrent()!==n.value),r.Cc(1),r.gd("ngIf",i.getCurrent()===n.value)}}function h(e,t){if(1&e){var n=r.Sc();r.Rc(0,"a",11),r.Zc("keyup.enter",function(){return r.ld(n),r.bd(3),r.id(1).next()})("click",function(){return r.ld(n),r.bd(3),r.id(1).next()}),r.qd(1),r.Rc(2,"span",12),r.qd(3),r.Qc(),r.Qc()}if(2&e){var i=r.bd(3);r.Dc("aria-label",i.nextLabel+" "+i.screenReaderPageLabel),r.Cc(1),r.sd(" ",i.nextLabel," "),r.Cc(2),r.rd(i.screenReaderPageLabel)}}function d(e,t){if(1&e&&(r.Rc(0,"span"),r.qd(1),r.Rc(2,"span",12),r.qd(3),r.Qc(),r.Qc()),2&e){var n=r.bd(3);r.Cc(1),r.sd(" ",n.nextLabel," "),r.Cc(2),r.rd(n.screenReaderPageLabel)}}function p(e,t){if(1&e&&(r.Rc(0,"li",13),r.pd(1,h,4,3,"a",9),r.pd(2,d,4,2,"span",10),r.Qc()),2&e){r.bd(2);var n=r.id(1);r.Ec("disabled",n.isLastPage()),r.Cc(1),r.gd("ngIf",!n.isLastPage()),r.Cc(1),r.gd("ngIf",n.isLastPage())}}function f(e,t){if(1&e&&(r.Rc(0,"ul",3),r.pd(1,a,3,4,"li",4),r.Rc(2,"li",5),r.qd(3),r.Qc(),r.pd(4,u,3,6,"li",6),r.pd(5,p,3,4,"li",7),r.Qc()),2&e){var n=r.bd(),i=r.id(1);r.Ec("responsive",n.responsive),r.Dc("aria-label",n.screenReaderPaginationLabel),r.Cc(1),r.gd("ngIf",n.directionLinks),r.Cc(2),r.td(" ",i.getCurrent()," / ",i.getLastPage()," "),r.Cc(1),r.gd("ngForOf",i.pages)("ngForTrackBy",n.trackByIndex),r.Cc(1),r.gd("ngIf",n.directionLinks)}}var m=function(){function e(){this.change=new r.x,this.instances={},this.DEFAULT_ID="DEFAULT_PAGINATION_ID"}return e.prototype.defaultId=function(){return this.DEFAULT_ID},e.prototype.register=function(e){return null==e.id&&(e.id=this.DEFAULT_ID),this.instances[e.id]?this.updateInstance(e):(this.instances[e.id]=e,!0)},e.prototype.updateInstance=function(e){var t=!1;for(var n in this.instances[e.id])e[n]!==this.instances[e.id][n]&&(this.instances[e.id][n]=e[n],t=!0);return t},e.prototype.getCurrentPage=function(e){if(this.instances[e])return this.instances[e].currentPage},e.prototype.setCurrentPage=function(e,t){if(this.instances[e]){var n=this.instances[e];t<=Math.ceil(n.totalItems/n.itemsPerPage)&&1<=t&&(this.instances[e].currentPage=t,this.change.emit(e))}},e.prototype.setTotalItems=function(e,t){this.instances[e]&&0<=t&&(this.instances[e].totalItems=t,this.change.emit(e))},e.prototype.setItemsPerPage=function(e,t){this.instances[e]&&(this.instances[e].itemsPerPage=t,this.change.emit(e))},e.prototype.getInstance=function(e){return void 0===e&&(e=this.DEFAULT_ID),this.instances[e]?this.clone(this.instances[e]):{}},e.prototype.clone=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Ic({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),g=function(e,t,n,r){var i,s=arguments.length,o=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(o=(s<3?i(o):s>3?i(t,n,o):i(t,n))||o);return s>3&&o&&Object.defineProperty(t,n,o),o},v=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},y=Number.MAX_SAFE_INTEGER,b=function(){function e(e){this.service=e,this.state={}}return e.prototype.transform=function(e,t){if(!(e instanceof Array)){var n=t.id||this.service.defaultId();return this.state[n]?this.state[n].slice:e}var r,i,s=t.totalItems&&t.totalItems!==e.length,o=this.createInstance(e,t),a=o.id,l=o.itemsPerPage,c=this.service.register(o);if(!s&&e instanceof Array){if(l=+l||y,i=(r=(o.currentPage-1)*l)+l,this.stateIsIdentical(a,e,r,i))return this.state[a].slice;var u=e.slice(r,i);return this.saveState(a,e,u,r,i),this.service.change.emit(a),u}return c&&this.service.change.emit(a),this.saveState(a,e,e,r,i),e},e.prototype.createInstance=function(e,t){return this.checkConfig(t),{id:null!=t.id?t.id:this.service.defaultId(),itemsPerPage:+t.itemsPerPage||0,currentPage:+t.currentPage||1,totalItems:+t.totalItems||e.length}},e.prototype.checkConfig=function(e){var t=["itemsPerPage","currentPage"].filter(function(t){return!(t in e)});if(0<t.length)throw new Error("PaginatePipe: Argument is missing the following required properties: "+t.join(", "))},e.prototype.saveState=function(e,t,n,r,i){this.state[e]={collection:t,size:t.length,slice:n,start:r,end:i}},e.prototype.stateIsIdentical=function(e,t,n,r){var i=this.state[e];return!!i&&(!(i.size!==t.length||i.start!==n||i.end!==r)&&i.slice.every(function(e,r){return e===t[n+r]}))},(e=g([v("design:paramtypes",[m])],e)).\u0275fac=function(t){return new(t||e)(r.Mc(m))},e.\u0275pipe=r.Lc({name:"paginate",type:e,pure:!1}),e}(),w=function(e,t,n,r){var i,s=arguments.length,o=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(o=(s<3?i(o):s>3?i(t,n,o):i(t,n))||o);return s>3&&o&&Object.defineProperty(t,n,o),o},_=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};function x(e){return!!e&&"false"!==e}var C=function(){function e(){this.maxSize=7,this.previousLabel="Previous",this.nextLabel="Next",this.screenReaderPaginationLabel="Pagination",this.screenReaderPageLabel="page",this.screenReaderCurrentLabel="You're on page",this.pageChange=new r.x,this.pageBoundsCorrection=new r.x,this._directionLinks=!0,this._autoHide=!1,this._responsive=!1}return Object.defineProperty(e.prototype,"directionLinks",{get:function(){return this._directionLinks}
1,set:function(e){this._directionLinks=x(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"autoHide",{get:function(){return this._autoHide},set:function(e){this._autoHide=x(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"responsive",{get:function(){return this._responsive},set:function(e){this._responsive=x(e)},enumerable:!0,configurable:!0}),e.prototype.trackByIndex=function(e){return e},w([Object(r.H)(),_("design:type",String)],e.prototype,"id",void 0),w([Object(r.H)(),_("design:type",Number)],e.prototype,"maxSize",void 0),w([Object(r.H)(),_("design:type",Boolean),_("design:paramtypes",[Boolean])],e.prototype,"directionLinks",null),w([Object(r.H)(),_("design:type",Boolean),_("design:paramtypes",[Boolean])],e.prototype,"autoHide",null),w([Object(r.H)(),_("design:type",Boolean),_("design:paramtypes",[Boolean])],e.prototype,"responsive",null),w([Object(r.H)(),_("design:type",String)],e.prototype,"previousLabel",void 0),w([Object(r.H)(),_("design:type",String)],e.prototype,"nextLabel",void 0),w([Object(r.H)(),_("design:type",String)],e.prototype,"screenReaderPaginationLabel",void 0),w([Object(r.H)(),_("design:type",String)],e.prototype,"screenReaderPageLabel",void 0),w([Object(r.H)(),_("design:type",String)],e.prototype,"screenReaderCurrentLabel",void 0),w([Object(r.T)(),_("design:type",r.x)],e.prototype,"pageChange",void 0),w([Object(r.T)(),_("design:type",r.x)],e.prototype,"pageBoundsCorrection",void 0),e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Gc({type:e,selectors:[["pagination-controls"]],inputs:{maxSize:"maxSize",previousLabel:"previousLabel",nextLabel:"nextLabel",screenReaderPaginationLabel:"screenReaderPaginationLabel",screenReaderPageLabel:"screenReaderPageLabel",screenReaderCurrentLabel:"screenReaderCurrentLabel",directionLinks:"directionLinks",autoHide:"autoHide",responsive:"responsive",id:"id"},outputs:{pageChange:"pageChange",pageBoundsCorrection:"pageBoundsCorrection"},decls:3,vars:3,consts:[[3,"id","maxSize","pageChange","pageBoundsCorrection"],["p","paginationApi"],["class","ngx-pagination",3,"responsive",4,"ngIf"],[1,"ngx-pagination"],["class","pagination-previous",3,"disabled",4,"ngIf"],[1,"small-screen"],[3,"current","ellipsis",4,"ngFor","ngForOf","ngForTrackBy"],["class","pagination-next",3,"disabled",4,"ngIf"],[1,"pagination-previous"],["tabindex","0",3,"keyup.enter","click",4,"ngIf"],[4,"ngIf"],["tabindex","0",3,"keyup.enter","click"],[1,"show-for-sr"],[1,"pagination-next"]],template:function(e,t){if(1&e&&(r.Rc(0,"pagination-template",0,1),r.Zc("pageChange",function(e){return t.pageChange.emit(e)})("pageBoundsCorrection",function(e){return t.pageBoundsCorrection.emit(e)}),r.pd(2,f,6,9,"ul",2),r.Qc()),2&e){var n=r.id(1);r.gd("id",t.id)("maxSize",t.maxSize),r.Cc(2),r.gd("ngIf",!(t.autoHide&&n.pages.length<=1))}},directives:function(){return[A,i.k,i.j]},pipes:function(){return[i.e]},styles:["\n.ngx-pagination {\n  margin-left: 0;\n  margin-bottom: 1rem; }\n  .ngx-pagination::before, .ngx-pagination::after {\n    content: ' ';\n    display: table; }\n  .ngx-pagination::after {\n    clear: both; }\n  .ngx-pagination li {\n    -moz-user-select: none;\n    -webkit-user-select: none;\n    -ms-user-select: none;\n    margin-right: 0.0625rem;\n    border-radius: 0; }\n  .ngx-pagination li {\n    display: inline-block; }\n  .ngx-pagination a,\n  .ngx-pagination button {\n    color: #0a0a0a; \n    display: block;\n    padding: 0.1875rem 0.625rem;\n    border-radius: 0; }\n    .ngx-pagination a:hover,\n    .ngx-pagination button:hover {\n      background: #e6e6e6; }\n  .ngx-pagination .current {\n    padding: 0.1875rem 0.625rem;\n    background: #2199e8;\n    color: #fefefe;\n    cursor: default; }\n  .ngx-pagination .disabled {\n    padding: 0.1875rem 0.625rem;\n    color: #cacaca;\n    cursor: default; } \n    .ngx-pagination .disabled:hover {\n      background: transparent; }\n  .ngx-pagination a, .ngx-pagination button {\n    cursor: pointer; }\n\n.ngx-pagination .pagination-previous a::before,\n.ngx-pagination .pagination-previous.disabled::before { \n  content: '\xab';\n  display: inline-block;\n  margin-right: 0.5rem; }\n\n.ngx-pagination .pagination-next a::after,\n.ngx-pagination .pagination-next.disabled::after {\n  
1content: '\xbb';\n  display: inline-block;\n  margin-left: 0.5rem; }\n\n.ngx-pagination .show-for-sr {\n  position: absolute !important;\n  width: 1px;\n  height: 1px;\n  overflow: hidden;\n  clip: rect(0, 0, 0, 0); }\n.ngx-pagination .small-screen {\n  display: none; }\n@media screen and (max-width: 601px) {\n  .ngx-pagination.responsive .small-screen {\n    display: inline-block; } \n  .ngx-pagination.responsive li:not(.small-screen):not(.pagination-previous):not(.pagination-next) {\n    display: none; }\n}\n  "],encapsulation:2,changeDetection:0}),e}(),S=function(e,t,n,r){var i,s=arguments.length,o=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(o=(s<3?i(o):s>3?i(t,n,o):i(t,n))||o);return s>3&&o&&Object.defineProperty(t,n,o),o},E=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},A=function(){function e(e,t){var n=this;this.service=e,this.changeDetectorRef=t,this.maxSize=7,this.pageChange=new r.x,this.pageBoundsCorrection=new r.x,this.pages=[],this.changeSub=this.service.change.subscribe(function(e){n.id===e&&(n.updatePageLinks(),n.changeDetectorRef.markForCheck(),n.changeDetectorRef.detectChanges())})}return e.prototype.ngOnInit=function(){void 0===this.id&&(this.id=this.service.defaultId()),this.updatePageLinks()},e.prototype.ngOnChanges=function(e){this.updatePageLinks()},e.prototype.ngOnDestroy=function(){this.changeSub.unsubscribe()},e.prototype.previous=function(){this.checkValidId(),this.setCurrent(this.getCurrent()-1)},e.prototype.next=function(){this.checkValidId(),this.setCurrent(this.getCurrent()+1)},e.prototype.isFirstPage=function(){return 1===this.getCurrent()},e.prototype.isLastPage=function(){return this.getLastPage()===this.getCurrent()},e.prototype.setCurrent=function(e){this.pageChange.emit(e)},e.prototype.getCurrent=function(){return this.service.getCurrentPage(this.id)},e.prototype.getLastPage=function(){var e=this.service.getInstance(this.id);return e.totalItems<1?1:Math.ceil(e.totalItems/e.itemsPerPage)},e.prototype.getTotalItems=function(){return this.service.getInstance(this.id).totalItems},e.prototype.checkValidId=function(){null==this.service.getInstance(this.id).id&&console.warn('PaginationControlsDirective: the specified id "'+this.id+'" does not match any registered PaginationInstance')},e.prototype.updatePageLinks=function(){var e=this,t=this.service.getInstance(this.id),n=this.outOfBoundCorrection(t);n!==t.currentPage?setTimeout(function(){e.pageBoundsCorrection.emit(n),e.pages=e.createPageArray(t.currentPage,t.itemsPerPage,t.totalItems,e.maxSize)}):this.pages=this.createPageArray(t.currentPage,t.itemsPerPage,t.totalItems,this.maxSize)},e.prototype.outOfBoundCorrection=function(e){var t=Math.ceil(e.totalItems/e.itemsPerPage);return t<e.currentPage&&0<t?t:e.currentPage<1?1:e.currentPage},e.prototype.createPageArray=function(e,t,n,r){r=+r;for(var i=[],s=Math.max(Math.ceil(n/t),1),o=Math.ceil(r/2),a=e<=o,l=s-o<e,c=!a&&!l,u=r<s,h=1;h<=s&&h<=r;){var d=void 0,p=this.calculatePageNumber(h,e,r,s);d=u&&(2===h&&(c||l)||h===r-1&&(c||a))?"...":p,i.push({label:d,value:p}),h++}return i},e.prototype.calculatePageNumber=function(e,t,n,r){var i=Math.ceil(n/2);return e===n?r:1===e?e:n<r?r-i<t?r-n+e:i<t?t-i+e:e:e},S([Object(r.H)(),E("design:type",String)],e.prototype,"id",void 0),S([Object(r.H)(),E("design:type",Number)],e.prototype,"maxSize",void 0),S([Object(r.T)(),E("design:type",r.x)],e.prototype,"pageChange",void 0),S([Object(r.T)(),E("design:type",r.x)],e.prototype,"pageBoundsCorrection",void 0),(e=S([E("design:paramtypes",[m,r.k])],e)).\u0275fac=function(t){return new(t||e)(r.Mc(m),r.Mc(r.k))},e.\u0275dir=r.Hc({type:e,selectors:[["pagination-template"],["","pagination-template",""]],inputs:{maxSize:"maxSize",id:"id"},outputs:{pageChange:"pageChange",pageBoundsCorrection:"pageBoundsCorrection"},exportAs:["paginationApi"],features:[r.Ac]}),e}(),k=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.Kc({type:e}),e.\u0275inj=r.Jc({providers:[m],imports:[[i.b]]}),("undefined"==typeof ngJitMode||ngJitMode)&&r.nd(e,{declarations:function(){return[b,C,A]},imports:function(){return[i.b]},exports:function(){return[b,C,A]}}),e}()},oRuE:function(e,t,n){var r;e.exports=(r=n("Ib8C"),n("OLod"),r.pad.Iso10126={pad:function(e,t){var n=4*t,i=n-e.sigBytes%n;e.concat(r.lib.WordArray.random(i-1)).concat(r.lib.WordArray.create([i<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},r.pad.Iso10126)},ofXK:function(e,t,n){"use strict";n.d(t,"a",function(){return w}),n.d(t,"b",function(){return it}),n.d(t,"c",function(){return l}),n.d(t,"d",function(){return qe}),n.d(t,"e",function(){return Ze}),n.d(t,"f",function(){return x}),n.d(t,"g",function(){return h}),n.d(t,"h",function(){return C}),n.d(t,"i",function(){return y}),n.d(t,"j",function(){return Se}),n.d(t,"k",function(){return Ae}),n.d(t,"l",function(){return _}),n.d(t,"m",function(){return c}),n.d(t,"n",function(){return at}),n.d(t,"o",function(){return ot}),n.d(t,"p",function(){return a}),n.d(t,"q",function(){return st}),n.d(t,"r",function(){return s}),n.d(t,"s",function(){return we}),n.d(t,"t",function(){return o}
1);var r=n("fXoL");let i=null;function s(){return i}function o(e){i||(i=e)}class a{}const l=new r.F("DocumentToken");class c{}function u(){return Object(r.Vc)(d)}c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=Object(r.Ic)({factory:u,token:c,providedIn:"platform"});const h=new r.F("Location Initialized");class d extends c{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=s().getLocation(),this._history=s().getHistory()}getBaseHrefFromDOM(){return s().getBaseHref(this._doc)}onPopState(e){s().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}onHashChange(e){s().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)}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(e){this.location.pathname=e}pushState(e,t,n){p()?this._history.pushState(e,t,n):this.location.hash=n}replaceState(e,t,n){p()?this._history.replaceState(e,t,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}function p(){return!!window.history.pushState}function f(){return new d(Object(r.Vc)(l))}function m(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function g(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-("/"===e[n-1]?1:0);return e.slice(0,r)+e.slice(n)}function v(e){return e&&"?"!==e[0]?"?"+e:e}d.\u0275fac=function(e){return new(e||d)(r.Vc(l))},d.\u0275prov=Object(r.Ic)({factory:f,token:d,providedIn:"platform"}),d.ctorParameters=()=>[{type:void 0,decorators:[{type:r.C,args:[l]}]}];class y{}function b(e){const t=Object(r.Vc)(l).location;return new _(Object(r.Vc)(c),t&&t.origin||"")}y.\u0275fac=function(e){return new(e||y)},y.\u0275prov=Object(r.Ic)({factory:b,token:y,providedIn:"root"});const w=new r.F("appBaseHref");class _ extends y{constructor(e,t){if(super(),this._platformLocation=e,null==t&&(t=this._platformLocation.getBaseHrefFromDOM()),null==t)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=t}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return m(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+v(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?`${t}${n}`:t}pushState(e,t,n,r){const i=this.prepareExternalUrl(n+v(r));this._platformLocation.pushState(e,t,i)}replaceState(e,t,n,r){const i=this.prepareExternalUrl(n+v(r));this._platformLocation.replaceState(e,t,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}_.\u0275fac=function(e){return new(e||_)(r.Vc(c),r.Vc(w,8))},_.\u0275prov=r.Ic({token:_,factory:_.\u0275fac}),_.ctorParameters=()=>[{type:c},{type:String,decorators:[{type:r.S},{type:r.C,args:[w]}]}];class x extends y{constructor(e,t){super(),this._platformLocation=e,this._baseHref="",null!=t&&(this._baseHref=t)}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}path(e=!1){let t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}prepareExternalUrl(e){const t=m(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,n,r){let i=this.prepareExternalUrl(n+v(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(e,t,i)}replaceState(e,t,n,r){let i=this.prepareExternalUrl(n+v(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}x.\u0275fac=function(e){return new(e||x)(r.Vc(c),r.Vc(w,8))},x.\u0275prov=r.Ic({token:x,factory:x.\u0275fac}),x.ctorParameters=()=>[{type:c},{type:String,decorators:[{type:r.S},{type:r.C,args:[w]}]}];
1class C{constructor(e,t){this._subject=new r.x,this._urlChangeListeners=[],this._platformStrategy=e;const n=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=g(E(n)),this._platformStrategy.onPopState(e=>{this._subject.emit({url:this.path(!0),pop:!0,state:e.state,type:e.type})})}path(e=!1){return this.normalize(this._platformStrategy.path(e))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+v(t))}normalize(e){return C.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,E(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}go(e,t="",n=null){this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+v(t)),n)}replaceState(e,t="",n=null){this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+v(t)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(e){this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(e=>{this._notifyUrlChangeListeners(e.url,e.state)}))}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(n=>n(e,t))}subscribe(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}function S(){return new C(Object(r.Vc)(y),Object(r.Vc)(c))}function E(e){return e.replace(/\/index.html$/,"")}C.\u0275fac=function(e){return new(e||C)(r.Vc(y),r.Vc(c))},C.normalizeQueryParams=v,C.joinWithSlash=m,C.stripTrailingSlash=g,C.\u0275prov=Object(r.Ic)({factory:S,token:C,providedIn:"root"}),C.ctorParameters=()=>[{type:y},{type:c}];const A={ADP:[void 0,void 0,0],AFN:[void 0,void 0,0],ALL:[void 0,void 0,0],AMD:[void 0,void 0,2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,"\u0440.",2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:[void 0,"\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RUR:[void 0,"\u0440."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["CFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var k,I,T,O,D,P,M;function N(e,t){return V(Object(r.Ub)(e)[r.Db.DateFormat],t)}function R(e,t){return V(Object(r.Ub)(e)[r.Db.TimeFormat],t)}function L(e,t){return V(Object(r.Ub)(e)[r.Db.DateTimeFormat],t)}function j(e,t){const n=Object(r.Ub)(e),i=n[r.Db.NumberSymbols][t];if(void 0===i){if(t===P.CurrencyDecimal)return n[r.Db.NumberSymbols][P.Decimal];if(t===P.CurrencyGroup)return n[r.Db.NumberSymbols][P.Group]}return i}function F(e,t){return Object(r.Ub)(e)[r.Db.NumberFormats][t]}!function(e){e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific"}(k||(k={})),function(e){e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other"}(I||(I={})),function(e){e[e.Format=0]="Format",e[e.Standalone=1]="Standalone"}(T||(T={})),function(e){e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short"}(O||(O={})),function(e){e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full"}(D||(D={})),function(e){e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e[1/0]=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup"}(P||(P={})),function(e){e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday"}(M||(M={}));const B=r.Xb;function $(e){if(!e[r.Db.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[r.Db.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function V(e,t){for(let n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function U(e){const[t,n]=e.split(":");return{hours:+t,minutes:+n}}function z(e,t,n="en"){const i=function(e){return Object(r.Ub)(e)[r.Db.Currencies]}(n)[e]||A[e]||[],s=i[1];return"narrow"===t&&"string"==typeof s?s:i[0]||e}const H=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,q={},G=/((?:[^GyYMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?: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}|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]*)/;var W,Q,K;function X(e,t,n,r){let i=function(e){if(ce(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){const[t,n=1,r=1]=e.split("-").map(e=>+e);return Y(t,n-1,r)}const t=parseFloat(e);
1if(!isNaN(e-t))return new Date(t);let n;if(n=e.match(H))return function(e){const t=new Date(0);let n=0,r=0;const i=e[8]?t.setUTCFullYear:t.setFullYear,s=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11]));i.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));const o=Number(e[4]||0)-n,a=Number(e[5]||0)-r,l=Number(e[6]||0),c=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return s.call(t,o,a,l,c),t}(n)}const t=new Date(e);if(!ce(t))throw new Error(`Unable to convert "${e}" into a date`);return t}(e);t=Z(n,t)||t;let s,o=[];for(;t;){if(s=G.exec(t),!s){o.push(t);break}{o=o.concat(s.slice(1));const e=o.pop();if(!e)break;t=e}}let a=i.getTimezoneOffset();r&&(a=le(r,a),i=function(e,t,n){const r=n?-1:1,i=e.getTimezoneOffset(),s=le(t,i);return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,r*(s-i))}(i,r,!0));let l="";return o.forEach(e=>{const t=function(e){if(ae[e])return ae[e];let t;switch(e){case"G":case"GG":case"GGG":t=ne(K.Eras,O.Abbreviated);break;case"GGGG":t=ne(K.Eras,O.Wide);break;case"GGGGG":t=ne(K.Eras,O.Narrow);break;case"y":t=te(Q.FullYear,1,0,!1,!0);break;case"yy":t=te(Q.FullYear,2,0,!0,!0);break;case"yyy":t=te(Q.FullYear,3,0,!1,!0);break;case"yyyy":t=te(Q.FullYear,4,0,!1,!0);break;case"Y":t=oe(1);break;case"YY":t=oe(2,!0);break;case"YYY":t=oe(3);break;case"YYYY":t=oe(4);break;case"M":case"L":t=te(Q.Month,1,1);break;case"MM":case"LL":t=te(Q.Month,2,1);break;case"MMM":t=ne(K.Months,O.Abbreviated);break;case"MMMM":t=ne(K.Months,O.Wide);break;case"MMMMM":t=ne(K.Months,O.Narrow);break;case"LLL":t=ne(K.Months,O.Abbreviated,T.Standalone);break;case"LLLL":t=ne(K.Months,O.Wide,T.Standalone);break;case"LLLLL":t=ne(K.Months,O.Narrow,T.Standalone);break;case"w":t=se(1);break;case"ww":t=se(2);break;case"W":t=se(1,!0);break;case"d":t=te(Q.Date,1);break;case"dd":t=te(Q.Date,2);break;case"E":case"EE":case"EEE":t=ne(K.Days,O.Abbreviated);break;case"EEEE":t=ne(K.Days,O.Wide);break;case"EEEEE":t=ne(K.Days,O.Narrow);break;case"EEEEEE":t=ne(K.Days,O.Short);break;case"a":case"aa":case"aaa":t=ne(K.DayPeriods,O.Abbreviated);break;case"aaaa":t=ne(K.DayPeriods,O.Wide);break;case"aaaaa":t=ne(K.DayPeriods,O.Narrow);break;case"b":case"bb":case"bbb":t=ne(K.DayPeriods,O.Abbreviated,T.Standalone,!0);break;case"bbbb":t=ne(K.DayPeriods,O.Wide,T.Standalone,!0);break;case"bbbbb":t=ne(K.DayPeriods,O.Narrow,T.Standalone,!0);break;case"B":case"BB":case"BBB":t=ne(K.DayPeriods,O.Abbreviated,T.Format,!0);break;case"BBBB":t=ne(K.DayPeriods,O.Wide,T.Format,!0);break;case"BBBBB":t=ne(K.DayPeriods,O.Narrow,T.Format,!0);break;case"h":t=te(Q.Hours,1,-12);break;case"hh":t=te(Q.Hours,2,-12);break;case"H":t=te(Q.Hours,1);break;case"HH":t=te(Q.Hours,2);break;case"m":t=te(Q.Minutes,1);break;case"mm":t=te(Q.Minutes,2);break;case"s":t=te(Q.Seconds,1);break;case"ss":t=te(Q.Seconds,2);break;case"S":t=te(Q.FractionalSeconds,1);break;case"SS":t=te(Q.FractionalSeconds,2);break;case"SSS":t=te(Q.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=re(W.Short);break;case"ZZZZZ":t=re(W.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=re(W.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=re(W.Long);break;default:return null}return ae[e]=t,t}(e);l+=t?t(i,n,a):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function Y(e,t,n){const r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function Z(e,t){const n=function(e){return Object(r.Ub)(e)[r.Db.LocaleId]}(e);if(q[n]=q[n]||{},q[n][t])return q[n][t];let i="";switch(t){case"shortDate":i=N(e,D.Short);break;case"mediumDate":i=N(e,D.Medium);break;case"longDate":i=N(e,D.Long);break;case"fullDate":i=N(e,D.Full);break;case"shortTime":i=R(e,D.Short);break;case"mediumTime":i=R(e,D.Medium);break;case"longTime":i=R(e,D.Long);break;case"fullTime":i=R(e,D.Full);break;case"short":const t=Z(e,"shortTime"),n=Z(e,"shortDate");i=J(L(e,D.Short),[t,n]);break;case"medium":const r=Z(e,"mediumTime"),s=Z(e,"mediumDate");i=J(L(e,D.Medium),[r,s]);break;case"long":const o=Z(e,"longTime"),a=Z(e,"longDate");i=J(L(e,D.Long),[o,a]);break;case"full":const l=Z(e,"fullTime"),c=Z(e,"fullDate");i=J(L(e,D.Full),[l,c])}return i&&(q[n][t]=i),i}function J(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(e,n){return null!=t&&n in t?t[n]:e})),e}function ee(e,t,n="-",r,i){let s="";(e<0||i&&e<=0)&&(i?e=1-e:(e=-e,s=n));let o=String(e);for(;o.length<t;)o="0"+o;return r&&(o=o.substr(o.length-t)),s+o}function te(e,t,n=0,r=!1,i=!1){return function(s,o){let a=function(e,t){switch(e){case Q.FullYear:return t.getFullYear();case Q.Month:return t.getMonth();case Q.Date:return t.getDate();case Q.Hours:return t.getHours();case Q.Minutes:return t.getMinutes();case Q.Seconds:return t.getSeconds();case Q.FractionalSeconds:return t.getMilliseconds();case Q.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}(e,s);if((n>0||a>-n)&&(a+=n),e===Q.Hours)0===a&&-12===n&&(a=12);else if(e===Q.FractionalSeconds)return l=t,ee(a,3).substr(0,l);var l;const c=j(o,P.MinusSign);return ee(a,t,c,r,i)}}function ne(e,t,n=T.Format,i=!1){return function(s,o){return function(e,t,n,i,s,o){switch(n){case K.Months:return function(e,t,n){const i=Object(r.Ub)(e),s=V([i[r.Db.MonthsFormat],i[r.Db.MonthsStandalone]],t);return V(s,n)}(t,s,i)[e.getMonth()];case K.Days:return function(e,t,n){const i=Object(r.Ub)(e),s=V([i[r.Db.DaysFormat],i[r.Db.DaysStandalone]],t);return V(s,n)}(t,s,i)[e.getDay()];case K.DayPeriods:const a=e.getHours(),l=e.getMinutes();if(o){const e=function(e){const t=Object(r.Ub)(e);return $(t),(t[r.Db.ExtraData][2]||[]).map(e=>"string"==typeof e?U(e):[U(e[0]),U(e[1])])}(t),n=function(e,t,n){const i=Object(r.Ub)(e);$(i);const s=V([i[r.Db.ExtraData][0],i[r.Db.ExtraData][1]],t)||[];return V(s,n)||[]}
1(t,s,i),o=e.findIndex(e=>{if(Array.isArray(e)){const[t,n]=e,r=a>=t.hours&&l>=t.minutes,i=a<n.hours||a===n.hours&&l<n.minutes;if(t.hours<n.hours){if(r&&i)return!0}else if(r||i)return!0}else if(e.hours===a&&e.minutes===l)return!0;return!1});if(-1!==o)return n[o]}return function(e,t,n){const i=Object(r.Ub)(e),s=V([i[r.Db.DayPeriodsFormat],i[r.Db.DayPeriodsStandalone]],t);return V(s,n)}(t,s,i)[a<12?0:1];case K.Eras:return function(e,t){return V(Object(r.Ub)(e)[r.Db.Eras],t)}(t,i)[e.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${n}`)}}(s,o,e,t,n,i)}}function re(e){return function(t,n,r){const i=-1*r,s=j(n,P.MinusSign),o=i>0?Math.floor(i/60):Math.ceil(i/60);switch(e){case W.Short:return(i>=0?"+":"")+ee(o,2,s)+ee(Math.abs(i%60),2,s);case W.ShortGMT:return"GMT"+(i>=0?"+":"")+ee(o,1,s);case W.Long:return"GMT"+(i>=0?"+":"")+ee(o,2,s)+":"+ee(Math.abs(i%60),2,s);case W.Extended:return 0===r?"Z":(i>=0?"+":"")+ee(o,2,s)+":"+ee(Math.abs(i%60),2,s);default:throw new Error(`Unknown zone width "${e}"`)}}}!function(e){e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended"}(W||(W={})),function(e){e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day"}(Q||(Q={})),function(e){e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras"}(K||(K={}));function ie(e){return Y(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function se(e,t=!1){return function(n,r){let i;if(t){const e=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,t=n.getDate();i=1+Math.floor((t+e)/7)}else{const e=ie(n),t=function(e){const t=Y(e,0,1).getDay();return Y(e,0,1+(t<=4?4:11)-t)}(e.getFullYear()),r=e.getTime()-t.getTime();i=1+Math.round(r/6048e5)}return ee(i,e,j(r,P.MinusSign))}}function oe(e,t=!1){return function(n,r){return ee(ie(n).getFullYear(),e,j(r,P.MinusSign),t)}}const ae={};function le(e,t){e=e.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function ce(e){return e instanceof Date&&!isNaN(e.valueOf())}const ue=/^(\d+)?\.((\d+)(-(\d+))?)?$/,he=".",de="0";function pe(e,t,n,r,i,s,o=!1){let a="",l=!1;if(isFinite(e)){let c=function(e){let t,n,r,i,s,o=Math.abs(e)+"",a=0;(n=o.indexOf(he))>-1&&(o=o.replace(he,""));(r=o.search(/e/i))>0?(n<0&&(n=r),n+=+o.slice(r+1),o=o.substring(0,r)):n<0&&(n=o.length);for(r=0;o.charAt(r)===de;r++);if(r===(s=o.length))t=[0],n=1;else{for(s--;o.charAt(s)===de;)s--;for(n-=r,t=[],i=0;r<=s;r++,i++)t[i]=Number(o.charAt(r))}n>22&&(t=t.splice(0,21),a=n-1,n=1);return{digits:t,exponent:a,integerLen:n}}(e);o&&(c=function(e){if(0===e.digits[0])return e;const t=e.digits.length-e.integerLen;e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2);return e}(c));let u=t.minInt,h=t.minFrac,d=t.maxFrac;if(s){const e=s.match(ue);if(null===e)throw new Error(`${s} is not a valid digit info`);const t=e[1],n=e[3],r=e[5];null!=t&&(u=ge(t)),null!=n&&(h=ge(n)),null!=r?d=ge(r):null!=n&&h>d&&(d=h)}!function(e,t,n){if(t>n)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);let r=e.digits,i=r.length-e.integerLen;const s=Math.min(Math.max(t,i),n);let o=s+e.integerLen,a=r[o];if(o>0){r.splice(Math.max(e.integerLen,o));for(let e=o;e<r.length;e++)r[e]=0}else{i=Math.max(0,i),e.integerLen=1,r.length=Math.max(1,o=s+1),r[0]=0;for(let e=1;e<o;e++)r[e]=0}if(a>=5)if(o-1<0){for(let t=0;t>o;t--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[o-1]++;for(;i<Math.max(0,s);i++)r.push(0);let l=0!==s;const c=t+e.integerLen,u=r.reduceRight(function(e,t,n,r){return t+=e,r[n]=t<10?t:t-10,l&&(0===r[n]&&n>=c?r.pop():l=!1),t>=10?1:0},0);u&&(r.unshift(u),e.integerLen++)}(c,h,d);let p=c.digits,f=c.integerLen;const m=c.exponent;let g=[];for(l=p.every(e=>!e);f<u;f++)p.unshift(0);for(;f<0;f++)p.unshift(0);f>0?g=p.splice(f,p.length):(g=p,p=[0]);const v=[];for(p.length>=t.lgSize&&v.unshift(p.splice(-t.lgSize,p.length).join(""));p.length>t.gSize;)v.unshift(p.splice(-t.gSize,p.length).join(""));p.length&&v.unshift(p.join("")),a=v.join(j(n,r)),g.length&&(a+=j(n,i)+g.join("")),m&&(
1a+=j(n,P.Exponential)+"+"+m)}else a=j(n,P.Infinity);return a=e<0&&!l?t.negPre+a+t.negSuf:t.posPre+a+t.posSuf,a}function fe(e,t,n,r,i){const s=me(F(t,k.Currency),j(t,P.MinusSign));s.minFrac=function(e){let t;const n=A[e];return n&&(t=n[2]),"number"==typeof t?t:2}(r),s.maxFrac=s.minFrac;return pe(e,s,t,P.CurrencyGroup,P.CurrencyDecimal,i).replace("\xa4",n).replace("\xa4","").trim()}function me(e,t="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(";"),i=r[0],s=r[1],o=-1!==i.indexOf(he)?i.split(he):[i.substring(0,i.lastIndexOf(de)+1),i.substring(i.lastIndexOf(de)+1)],a=o[0],l=o[1]||"";n.posPre=a.substr(0,a.indexOf("#"));for(let u=0;u<l.length;u++){const e=l.charAt(u);e===de?n.minFrac=n.maxFrac=u+1:"#"===e?n.maxFrac=u+1:n.posSuf+=e}const c=a.split(",");if(n.gSize=c[1]?c[1].length:0,n.lgSize=c[2]||c[1]?(c[2]||c[1]).length:0,s){const e=i.length-n.posPre.length-n.posSuf.length,t=s.indexOf("#");n.negPre=s.substr(0,t).replace(/'/g,""),n.negSuf=s.substr(t+e).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function ge(e){const t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}class ve{}function ye(e,t,n,r){let i=`=${e}`;if(t.indexOf(i)>-1)return i;if(i=n.getPluralCategory(e,r),t.indexOf(i)>-1)return i;if(t.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${e}"`)}class be extends ve{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(B(t||this.locale)(e)){case I.Zero:return"zero";case I.One:return"one";case I.Two:return"two";case I.Few:return"few";case I.Many:return"many";default:return"other"}}}function we(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[r,i]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(r.trim()===t)return decodeURIComponent(i)}return null}be.\u0275fac=function(e){return new(e||be)(r.Vc(r.K))},be.\u0275prov=r.Ic({token:be,factory:be.\u0275fac}),be.ctorParameters=()=>[{type:String,decorators:[{type:r.C,args:[r.K]}]}];class _e{constructor(e,t,n,r){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Object(r.cc)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachChangedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachRemovedItem(e=>{e.previousValue&&this._toggleClass(e.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(e=>{if("string"!=typeof e.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${Object(r.uc)(e.item)}`);this._toggleClass(e.item,!0)}),e.forEachRemovedItem(e=>this._toggleClass(e.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!0)):Object.keys(e).forEach(t=>this._toggleClass(t,!!e[t])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!1)):Object.keys(e).forEach(e=>this._toggleClass(e,!1)))}_toggleClass(e,t){(e=e.trim())&&e.split(/\s+/g).forEach(e=>{t?this._renderer.addClass(this._ngEl.nativeElement,e):this._renderer.removeClass(this._ngEl.nativeElement,e)})}}_e.\u0275fac=function(e){return new(e||_e)(r.Mc(r.I),r.Mc(r.J),r.Mc(r.v),r.Mc(r.Z))},_e.\u0275dir=r.Hc({type:_e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),_e.ctorParameters=()=>[{type:r.I},{type:r.J},{type:r.v},{type:r.Z}],_e.propDecorators={klass:[{type:r.H,args:["class"]}],ngClass:[{type:r.H,args:["ngClass"]}]};
1class xe{constructor(e){this._viewContainerRef=e,this._componentRef=null,this._moduleRef=null}ngOnChanges(e){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){const t=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(e.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){const e=t.get(r.P);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(e.injector)}else this._moduleRef=null;const n=(this._moduleRef?this._moduleRef.componentFactoryResolver:t.get(r.p)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(n,this._viewContainerRef.length,t,this.ngComponentOutletContent)}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}xe.\u0275fac=function(e){return new(e||xe)(r.Mc(r.ob))},xe.\u0275dir=r.Hc({type:xe,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[r.Ac]}),xe.ctorParameters=()=>[{type:r.ob}],xe.propDecorators={ngComponentOutlet:[{type:r.H}],ngComponentOutletInjector:[{type:r.H}],ngComponentOutletContent:[{type:r.H}],ngComponentOutletNgModuleFactory:[{type:r.H}]};class Ce{constructor(e,t,n,r){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}class Se{constructor(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(t){throw new Error(`Cannot find a differ supporting object '${n}' of type '${e=n,e.name||typeof e}'. NgFor only supports binding to Iterables such as Arrays.`)}}var e;if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const t=[];e.forEachOperation((e,n,r)=>{if(null==e.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new Ce(null,this._ngForOf,-1,-1),null===r?void 0:r),i=new Ee(e,n);t.push(i)}else if(null==r)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const i=this._viewContainer.get(n);this._viewContainer.move(i,r);const s=new Ee(e,i);t.push(s)}});for(let n=0;n<t.length;n++)this._perViewChange(t[n].view,t[n].record);for(let n=0,r=this._viewContainer.length;n<r;n++){const e=this._viewContainer.get(n);e.context.index=n,e.context.count=r,e.context.ngForOf=this._ngForOf}e.forEachIdentityChange(e=>{this._viewContainer.get(e.currentIndex).context.$implicit=e.item})}_perViewChange(e,t){e.context.$implicit=t.item}static ngTemplateContextGuard(e,t){return!0}}Se.\u0275fac=function(e){return new(e||Se)(r.Mc(r.ob),r.Mc(r.jb),r.Mc(r.I))},Se.\u0275dir=r.Hc({type:Se,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),Se.ctorParameters=()=>[{type:r.ob},{type:r.jb},{type:r.I}],Se.propDecorators={ngForOf:[{type:r.H}],ngForTrackBy:[{type:r.H}],ngForTemplate:[{type:r.H}]};class Ee{constructor(e,t){this.record=e,this.view=t}}class Ae{constructor(e,t){this._viewContainer=e,this._context=new ke,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){Ie("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){Ie("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}
1_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,t){return!0}}Ae.\u0275fac=function(e){return new(e||Ae)(r.Mc(r.ob),r.Mc(r.jb))},Ae.\u0275dir=r.Hc({type:Ae,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),Ae.ctorParameters=()=>[{type:r.ob},{type:r.jb}],Ae.propDecorators={ngIf:[{type:r.H}],ngIfThen:[{type:r.H}],ngIfElse:[{type:r.H}]};class ke{constructor(){this.$implicit=null,this.ngIf=null}}function Ie(e,t){if(!!(t&&!t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${Object(r.uc)(t)}'.`)}class Te{constructor(e,t){this._viewContainerRef=e,this._templateRef=t,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}class Oe{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const t=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let t=0;t<this._defaultViews.length;t++){this._defaultViews[t].enforceState(e)}}}}Oe.\u0275fac=function(e){return new(e||Oe)},Oe.\u0275dir=r.Hc({type:Oe,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),Oe.propDecorators={ngSwitch:[{type:r.H}]};class De{constructor(e,t,n){this.ngSwitch=n,n._addCase(),this._view=new Te(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}De.\u0275fac=function(e){return new(e||De)(r.Mc(r.ob),r.Mc(r.jb),r.Mc(Oe,9))},De.\u0275dir=r.Hc({type:De,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),De.ctorParameters=()=>[{type:r.ob},{type:r.jb},{type:Oe,decorators:[{type:r.S},{type:r.y}]}],De.propDecorators={ngSwitchCase:[{type:r.H}]};class Pe{constructor(e,t,n){n._addDefault(new Te(e,t))}}Pe.\u0275fac=function(e){return new(e||Pe)(r.Mc(r.ob),r.Mc(r.jb),r.Mc(Oe,9))},Pe.\u0275dir=r.Hc({type:Pe,selectors:[["","ngSwitchDefault",""]]}),Pe.ctorParameters=()=>[{type:r.ob},{type:r.jb},{type:Oe,decorators:[{type:r.S},{type:r.y}]}];class Me{constructor(e){this._localization=e,this._caseViews={}}set ngPlural(e){this._switchValue=e,this._updateView()}addCase(e,t){this._caseViews[e]=t}_updateView(){this._clearViews();const e=Object.keys(this._caseViews),t=ye(this._switchValue,e,this._localization);this._activateView(this._caseViews[t])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(e){e&&(this._activeView=e,this._activeView.create())}}Me.\u0275fac=function(e){return new(e||Me)(r.Mc(ve))},Me.\u0275dir=r.Hc({type:Me,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"}}),Me.ctorParameters=()=>[{type:ve}],Me.propDecorators={ngPlural:[{type:r.H}]};class Ne{constructor(e,t,n,r){this.value=e;const i=!isNaN(Number(e));r.addCase(i?`=${e}`:e,new Te(n,t))}}Ne.\u0275fac=function(e){return new(e||Ne)(r.Wc("ngPluralCase"),r.Mc(r.jb),r.Mc(r.ob),r.Mc(Me,1))},Ne.\u0275dir=r.Hc({type:Ne,selectors:[["","ngPluralCase",""]]}),Ne.ctorParameters=()=>[{type:String,decorators:[{type:r.h,args:["ngPluralCase"]}]},{type:r.jb},{type:r.ob},{type:Me,decorators:[{type:r.y}]}];class Re{constructor(e,t,n){this._ngEl=e,this._differs=t,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,t){const[n,r]=e.split(".");null!=(t=null!=t&&r?`${t}${r}`:t)?this._renderer.setStyle(this._ngEl.nativeElement,n,t):this._renderer.removeStyle(this._ngEl.nativeElement,n)}_applyChanges(e){e.forEachRemovedItem(e=>this._setStyle(e.key,null)),e.forEachAddedItem(e=>this._setStyle(e.key,e.currentValue)),e.forEachChangedItem(e=>this._setStyle(e.key,e.currentValue))}}Re.\u0275fac=function(e){return new(e||Re)(r.Mc(r.v),r.Mc(r.J),r.Mc(r.Z))},Re.\u0275dir=r.Hc({type:Re,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}
1),Re.ctorParameters=()=>[{type:r.v},{type:r.J},{type:r.Z}],Re.propDecorators={ngStyle:[{type:r.H,args:["ngStyle"]}]};class Le{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(e){if(this._shouldRecreateView(e)){const e=this._viewContainerRef;this._viewRef&&e.remove(e.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?e.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}_shouldRecreateView(e){const t=e.ngTemplateOutletContext;return!!e.ngTemplateOutlet||t&&this._hasContextShapeChanged(t)}_hasContextShapeChanged(e){const t=Object.keys(e.previousValue||{}),n=Object.keys(e.currentValue||{});if(t.length===n.length){for(let e of n)if(-1===t.indexOf(e))return!0;return!1}return!0}_updateExistingContext(e){for(let t of Object.keys(e))this._viewRef.context[t]=this.ngTemplateOutletContext[t]}}Le.\u0275fac=function(e){return new(e||Le)(r.Mc(r.ob))},Le.\u0275dir=r.Hc({type:Le,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[r.Ac]}),Le.ctorParameters=()=>[{type:r.ob}],Le.propDecorators={ngTemplateOutletContext:[{type:r.H}],ngTemplateOutlet:[{type:r.H}]};function je(e,t){return Error(`InvalidPipeArgument: '${t}' for pipe '${Object(r.uc)(e)}'`)}const Fe=new class{createSubscription(e,t){return e.then(t,e=>{throw e})}dispose(e){}onDestroy(e){}},Be=new class{createSubscription(e,t){return e.subscribe({next:t,error:e=>{throw e}})}dispose(e){e.unsubscribe()}onDestroy(e){e.unsubscribe()}};class $e{constructor(e){this._ref=e,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,t=>this._updateLatestValue(e,t))}_selectStrategy(e){if(Object(r.ec)(e))return Fe;if(Object(r.fc)(e))return Be;throw je($e,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}}$e.\u0275fac=function(e){return new(e||$e)(r.Xc())},$e.\u0275pipe=r.Lc({name:"async",type:$e,pure:!1}),$e.ctorParameters=()=>[{type:r.k}];class Ve{transform(e){if(null==e)return null;if("string"!=typeof e)throw je(Ve,e);return e.toLowerCase()}}Ve.\u0275fac=function(e){return new(e||Ve)},Ve.\u0275pipe=r.Lc({name:"lowercase",type:Ve,pure:!0});const Ue
vendor: 7,066 bytes, line 1
1=/(?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D])\S*/g
1;class ze{transform(e){if(null==e)return null;if("string"!=typeof e)throw je(ze,e);return e.replace(Ue,e=>e[0].toUpperCase()+e.substr(1).toLowerCase())}}ze.\u0275fac=function(e){return new(e||ze)},ze.\u0275pipe=r.Lc({name:"titlecase",type:ze,pure:!0});class He{transform(e){if(null==e)return null;if("string"!=typeof e)throw je(He,e);return e.toUpperCase()}}He.\u0275fac=function(e){return new(e||He)},He.\u0275pipe=r.Lc({name:"uppercase",type:He,pure:!0});class qe{constructor(e){this.locale=e}transform(e,t="mediumDate",n,r){if(null==e||""===e||e!=e)return null;try{return X(e,t,r||this.locale,n)}catch(i){throw je(qe,i.message)}}}qe.\u0275fac=function(e){return new(e||qe)(r.Mc(r.K))},qe.\u0275pipe=r.Lc({name:"date",type:qe,pure:!0}),qe.ctorParameters=()=>[{type:String,decorators:[{type:r.C,args:[r.K]}]}];const Ge=/#/g;class We{constructor(e){this._localization=e}transform(e,t,n){if(null==e)return"";if("object"!=typeof t||null===t)throw je(We,t);return t[ye(e,Object.keys(t),this._localization,n)].replace(Ge,e.toString())}}We.\u0275fac=function(e){return new(e||We)(r.Mc(ve))},We.\u0275pipe=r.Lc({name:"i18nPlural",type:We,pure:!0}),We.ctorParameters=()=>[{type:ve}];class Qe{transform(e,t){if(null==e)return"";if("object"!=typeof t||"string"!=typeof e)throw je(Qe,t);return t.hasOwnProperty(e)?t[e]:t.hasOwnProperty("other")?t.other:""}}Qe.\u0275fac=function(e){return new(e||Qe)},Qe.\u0275pipe=r.Lc({name:"i18nSelect",type:Qe,pure:!0});class Ke{transform(e){return JSON.stringify(e,null,2)}}Ke.\u0275fac=function(e){return new(e||Ke)},Ke.\u0275pipe=r.Lc({name:"json",type:Ke,pure:!1});class Xe{constructor(e){this.differs=e,this.keyValues=[]}transform(e,t=Ye){if(!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ||(this.differ=this.differs.find(e).create());const n=this.differ.diff(e);return n&&(this.keyValues=[],n.forEachItem(e=>{var t,n;this.keyValues.push((t=e.key,n=e.currentValue,{key:t,value:n}))}),this.keyValues.sort(t)),this.keyValues}}function Ye(e,t){const n=e.key,r=t.key;if(n===r)return 0;if(void 0===n)return 1;if(void 0===r)return-1;if(null===n)return 1;if(null===r)return-1;if("string"==typeof n&&"string"==typeof r)return n<r?-1:1;if("number"==typeof n&&"number"==typeof r)return n-r;if("boolean"==typeof n&&"boolean"==typeof r)return n<r?-1:1;const i=String(n),s=String(r);return i==s?0:i<s?-1:1}Xe.\u0275fac=function(e){return new(e||Xe)(r.Mc(r.J))},Xe.\u0275pipe=r.Lc({name:"keyvalue",type:Xe,pure:!1}),Xe.ctorParameters=()=>[{type:r.J}];class Ze{constructor(e){this._locale=e}transform(e,t,n){if(!tt(e))return null;n=n||this._locale;try{return function(e,t,n){return pe(e,me(F(t,k.Decimal),j(t,P.MinusSign)),t,P.Group,P.Decimal,n)}(nt(e),n,t)}catch(r){throw je(Ze,r.message)}}}Ze.\u0275fac=function(e){return new(e||Ze)(r.Mc(r.K))},Ze.\u0275pipe=r.Lc({name:"number",type:Ze,pure:!0}),Ze.ctorParameters=()=>[{type:String,decorators:[{type:r.C,args:[r.K]}]}];class Je{constructor(e){this._locale=e}transform(e,t,n){if(!tt(e))return null;n=n||this._locale;try{return function(e,t,n){return pe(e,me(F(t,k.Percent),j(t,P.MinusSign)),t,P.Group,P.Decimal,n,!0).replace(new RegExp("%","g"),j(t,P.PercentSign))}(nt(e),n,t)}catch(r){throw je(Je,r.message)}}}Je.\u0275fac=function(e){return new(e||Je)(r.Mc(r.K))},Je.\u0275pipe=r.Lc({name:"percent",type:Je,pure:!0}),Je.ctorParameters=()=>[{type:String,decorators:[{type:r.C,args:[r.K]}]}];class et{constructor(e,t="USD"){this._locale=e,this._defaultCurrencyCode=t}transform(e,t,n="symbol",r,i){if(!tt(e))return null;i=i||this._locale,"boolean"==typeof n&&(n=n?"symbol":"code");let s=t||this._defaultCurrencyCode;"code"!==n&&(s="symbol"===n||"symbol-narrow"===n?z(s,"symbol"===n?"wide":"narrow",i):n);try{return fe(nt(e),i,s,t,r)}catch(o){throw je(et,o.message)}}}function tt(e){return!(null==e||""===e||e!=e)}function nt(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error(`${e} is not a number`);return e}et.\u0275fac=function(e){return new(e||et)(r.Mc(r.K),r.Mc(r.t))},et.\u0275pipe=r.Lc({name:"currency",type:et,pure:!0}),et.ctorParameters=()=>[{type:String,decorators:[{type:r.C,args:[r.K]}]},{type:String,decorators:[{type:r.C,args:[r.t]}]}];class rt{transform(e,t,n){if(null==e)return null;if(!this.supports(e))throw je(rt,e);return e.slice(t,n)}supports(e){return"string"==typeof e||Array.isArray(e)}}rt.\u0275fac=function(e){return new(e||rt)},rt.\u0275pipe=r.Lc({name:"slice",type:rt,pure:!1});class it{}it.\u0275fac=function(e){return new(e||it)},it.\u0275mod=r.Kc({type:it}),it.\u0275inj=r.Jc({providers:[{provide:ve,useClass:be}]}),("undefined"==typeof ngJitMode||ngJitMode)&&r.nd(it,{declarations:[_e,xe,Se,Ae,Le,Re,Oe,De,Pe,Me,Ne,$e,He,Ve,Ke,rt,Ze,Je,ze,et,qe,We,Qe,Xe],exports:[_e,xe,Se,Ae,Le,Re,Oe,De,Pe,Me,Ne,$e,He,Ve,Ke,rt,Ze,Je,ze,et,qe,We,Qe,Xe]});const st="browser";function ot(e){return"server"===e}
1new r.mb("11.2.14");class at{}at.\u0275prov=Object(r.Ic)({token:at,providedIn:"root",factory:()=>new lt(Object(r.Vc)(l),window)});class lt{constructor(e,t){this.document=e,this.window=t,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(!this.supportsScrolling())return;const t=function(e,t){const n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&(e.body.createShadowRoot||e.body.attachShadow)){const n=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let r=n.currentNode;for(;r;){const e=r.shadowRoot;if(e){const n=e.getElementById(t)||e.querySelector(`[name="${t}"]`);if(n)return n}r=n.nextNode()}}return null}(this.document,e);t&&(this.scrollToElement(t),this.attemptFocus(t))}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}scrollToElement(e){const t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],r-i[1])}attemptFocus(e){return e.focus(),this.document.activeElement===e}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const e=ct(this.window.history)||ct(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch(e){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(e){return!1}}}function ct(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}},og1k:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n("fXoL"),i=n("ofXK"),s=n("jhN1");class o{static getOrientation(e){const t=new DataView(this.base64ToArrayBuffer(e));if(65496!=t.getUint16(0,!1))return-2;const n=t.byteLength;let r=2;for(;r<n;){if(t.getUint16(r+2,!1)<=8)return-1;const e=t.getUint16(r,!1);if(r+=2,65505==e){if(1165519206!=t.getUint32(r+=2,!1))return-1;const e=18761==t.getUint16(r+=6,!1);r+=t.getUint32(r+4,e);const n=t.getUint16(r,e);r+=2;for(let i=0;i<n;i++)if(274==t.getUint16(r+12*i,e))return t.getUint16(r+12*i+8,e)}else{if(65280!=(65280&e))break;r+=t.getUint16(r,!1)}}return-1}static base64ToArrayBuffer(e){e=e.replace(/^data\:([^\;]+)\;base64,/gim,"");const t=atob(e),n=t.length,r=new Uint8Array(n);for(let i=0;i<n;i++)r[i]=t.charCodeAt(i);return r.buffer}static resetOrientation(e,t,n){const r=new Image;r.onload=function(){const i=r.width,s=r.height,a=document.createElement("canvas"),l=a.getContext("2d");l?(4<t&&t<9?(a.width=s,a.height=i):(a.width=i,a.height=s),o.transformCanvas(l,t,i,s),l.drawImage(r,0,0),n(a.toDataURL())):n(e)},r.src=e}static transformCanvas(e,t,n,r){switch(t){case 2:e.transform(-1,0,0,1,n,0);break;case 3:e.transform(-1,0,0,-1,n,r);break;case 4:e.transform(1,0,0,-1,0,r);break;case 5:e.transform(0,1,1,0,0,0);break;case 6:e.transform(0,1,-1,0,r,0);break;case 7:e.transform(0,-1,-1,0,r,n);break;case 8:e.transform(0,-1,1,0,0,n)}}}class a{constructor(e,t,n){this.elementRef=e,this.sanitizer=t,this.cd=n,this.marginLeft="0px",this.imageVisible=!1,this.format="png",this.maintainAspectRatio=!0,this.aspectRatio=1,this.resizeToWidth=0,this.onlyScaleDown=!1,this.imageQuality=92,this.cropper={x1:-100,y1:-100,x2:1e4,y2:1e4},this.imageCropped=new r.x,this.imageLoaded=new r.x,this.loadImageFailed=new r.x,this.initCropper()}set imageChangedEvent(e){this.initCropper(),e&&e.target&&e.target.files&&e.target.files.length>0&&this.loadImage(e)}set imageBase64(e){this.initCropper(),this.loadBase64Image(e)}ngOnChanges(e){e.cropper&&setTimeout(()=>{this.setMaxSize(),this.checkCropperPosition(!1),this.crop(),this.cd.detectChanges()})}initCropper(){this.imageVisible=!1,this.originalImage=null,this.safeImgDataUrl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=",this.moveStart={active:!1,type:null,position:null,x1:0,y1:0,x2:0,y2:0,clientX:0,clientY:0},this.maxSize={width:0,height:0},this.originalSize={width:0,height:0},this.cropper.x1=-100,this.cropper.y1=-100,this.cropper.x2=1e4,this.cropper.y2=1e4}loadImage(e){const t=new FileReader;t.onload=t=>{const n=e.target.files[0].type;this.isValidImageType(n)?this.checkExifRotationAndLoadImage(t.target.result):this.loadImageFailed.emit()}
1,t.readAsDataURL(e.target.files[0])}isValidImageType(e){return"image/jpeg"===e||"image/jpg"===e||"image/png"===e||"image/gif"===e}checkExifRotationAndLoadImage(e){const t=o.getOrientation(e);t>1?o.resetOrientation(e,t,e=>this.loadBase64Image(e)):this.loadBase64Image(e)}loadBase64Image(e){this.originalImage=new Image,this.originalImage.onload=()=>{this.originalSize.width=this.originalImage.width,this.originalSize.height=this.originalImage.height,this.cd.detectChanges()},this.safeImgDataUrl=this.sanitizer.bypassSecurityTrustResourceUrl(e),this.originalImage.src=e}imageLoadedInView(){null!=this.originalImage&&(this.imageLoaded.emit(),setTimeout(()=>{this.setMaxSize(),this.resetCropperPosition(),this.cd.detectChanges()}))}onResize(e){this.resizeCropperPosition(),this.setMaxSize()}resizeCropperPosition(){const e=this.elementRef.nativeElement.querySelector(".source-image");this.maxSize.width===e.offsetWidth&&this.maxSize.height===e.offsetHeight||(this.cropper.x1=this.cropper.x1*e.offsetWidth/this.maxSize.width,this.cropper.x2=this.cropper.x2*e.offsetWidth/this.maxSize.width,this.cropper.y1=this.cropper.y1*e.offsetHeight/this.maxSize.height,this.cropper.y2=this.cropper.y2*e.offsetHeight/this.maxSize.height)}resetCropperPosition(){const e=this.elementRef.nativeElement.querySelector(".source-image");if(e.offsetWidth/this.aspectRatio<e.offsetHeight){this.cropper.x1=0,this.cropper.x2=e.offsetWidth;const t=e.offsetWidth/this.aspectRatio;this.cropper.y1=(e.offsetHeight-t)/2,this.cropper.y2=this.cropper.y1+t}else{this.cropper.y1=0,this.cropper.y2=e.offsetHeight;const t=e.offsetHeight*this.aspectRatio;this.cropper.x1=(e.offsetWidth-t)/2,this.cropper.x2=this.cropper.x1+t}this.crop(),this.imageVisible=!0}startMove(e,t,n=null){this.moveStart.active=!0,this.moveStart.type=t,this.moveStart.position=n,this.moveStart.clientX=this.getClientX(e),this.moveStart.clientY=this.getClientY(e),Object.assign(this.moveStart,this.cropper),this.cd.detectChanges()}moveImg(e){this.moveStart.active&&(e.stopPropagation(),e.preventDefault(),this.setMaxSize(),"move"===this.moveStart.type?(this.move(e),this.checkCropperPosition(!0)):"resize"===this.moveStart.type&&(this.resize(e),this.checkCropperPosition(!1)),this.cd.detectChanges())}setMaxSize(){const e=this.elementRef.nativeElement.querySelector(".source-image");this.maxSize.width=e.offsetWidth,this.maxSize.height=e.offsetHeight,this.marginLeft=this.sanitizer.bypassSecurityTrustStyle("calc(50% - "+this.maxSize.width/2+"px)")}checkCropperPosition(e=!1){this.cropper.x1<0&&(this.cropper.x2-=e?this.cropper.x1:0,this.cropper.x1=0),this.cropper.y1<0&&(this.cropper.y2-=e?this.cropper.y1:0,this.cropper.y1=0),this.cropper.x2>this.maxSize.width&&(this.cropper.x1-=e?this.cropper.x2-this.maxSize.width:0,this.cropper.x2=this.maxSize.width),this.cropper.y2>this.maxSize.height&&(this.cropper.y1-=e?this.cropper.y2-this.maxSize.height:0,this.cropper.y2=this.maxSize.height)}moveStop(e){this.moveStart.active&&(this.moveStart.active=!1,this.crop(),this.cd.detectChanges())}move(e){const t=this.getClientX(e)-this.moveStart.clientX,n=this.getClientY(e)-this.moveStart.clientY;this.cropper.x1=this.moveStart.x1+t,this.cropper.y1=this.moveStart.y1+n,this.cropper.x2=this.moveStart.x2+t,this.cropper.y2=this.moveStart.y2+n}resize(e){const t=this.getClientX(e)-this.moveStart.clientX,n=this.getClientY(e)-this.moveStart.clientY;switch(this.moveStart.position){case"left":this.cropper.x1=Math.min(this.moveStart.x1+t,this.cropper.x2-20);break;case"topleft":this.cropper.x1=Math.min(this.moveStart.x1+t,this.cropper.x2-20),this.cropper.y1=Math.min(this.moveStart.y1+n,this.cropper.y2-20);break;case"top":this.cropper.y1=Math.min(this.moveStart.y1+n,this.cropper.y2-20);break;case"topright":this.cropper.x2=Math.max(this.moveStart.x2+t,this.cropper.x1+20),this.cropper.y1=Math.min(this.moveStart.y1+n,this.cropper.y2-20);break;case"right":this.cropper.x2=Math.max(this.moveStart.x2+t,this.cropper.x1+20);break;case"bottomright":this.cropper.x2=Math.max(this.moveStart.x2+t,this.cropper.x1+20),this.cropper.y2=Math.max(this.moveStart.y2+n,this.cropper.y1+20);break;case"bottom":this.cropper.y2=Math.max(this.moveStart.y2+n,this.cropper.y1+20);break;case"bottomleft":this.cropper.x1=Math.min(this.moveStart.x1+t,this.cropper.x2-20),this.cropper.y2=Math.max(this.moveStart.y2+n,this.cropper.y1+20)}this.maintainAspectRatio&&this.checkAspectRatio()}checkAspectRatio(){let e=0,t=0;switch(this.moveStart.position){case"top":this.cropper.x2=this.cropper.x1+(this.cropper.y2-this.cropper.y1)*this.aspectRatio,e=Math.max(this.cropper.x2-this.maxSize.width,0),t=Math.max(0-this.cropper.y1,0),(e>0||t>0)&&(this.cropper.x2-=t*this.aspectRatio>e?t*this.aspectRatio:e,this.cropper.y1+=t*this.aspectRatio>e?t:e/this.aspectRatio);break;case"bottom":this.cropper.x2=this.cropper.x1+(this.cropper.y2-this.cropper.y1)*this.aspectRatio,e=Math.max(this.cropper.x2-this.maxSize.width,0),t=Math.max(this.cropper.y2-this.maxSize.height,0),(e>0||t>0)&&(this.cropper.x2-=t*this.aspectRatio>e?t*this.aspectRatio:e,this.cropper.y2-=t*this.aspectRatio>e?t:e/this.aspectRatio);break;case"topleft":this.cropper.y1=this.cropper.y2-(this.cropper.x2-this.cropper.x1)/this.aspectRatio,e=Math.max(0-this.cropper.x1,0),t=Math.max(0-this.cropper.y1,0),(e>0||t>0)&&(this.cropper.x1+=t*this.aspectRatio>e?t*this.aspectRatio:e,this.cropper.y1+=t*this.aspectRatio>e?t:e/this.aspectRatio);break;case"topright":this.cropper.y1=this.cropper.y2-(this.cropper.x2-this.cropper.x1)/this.aspectRatio,e=Math.max(this.cropper.x2-this.maxSize.width,0),t=Math.max(0-this.cropper.y1,0),(e>0||t>0)&&(this.cropper.x2-=t*this.aspectRatio>e?t*this.aspectRatio:e,this.cropper.y1+=t*this.aspectRatio>e?t:e/this.aspectRatio);break;case"right":case"bottomright":this.cropper.y2=this.cropper.y1+(this.cropper.x2-this.cropper.x1)/this.aspectRatio,e=Math.max(this.cropper.x2-this.maxSize.width,0),t=Math.max(this.cropper.y2-this.maxSize.height,0),(e>0||t>0)&&(this.cropper.x2-=t*this.aspectRatio>e?t*this.aspectRatio:e,this.cropper.y2-=t*this.aspectRatio>e?t:e/this.aspectRatio);break;case"left":case"bottomleft":this.cropper.y2=this.cropper.y1+(this.cropper.x2-this.cropper.x1)/this.aspectRatio,e=Math.max(0-this.cropper.x1,0),t=Math.max(this.cropper.y2-this.maxSize.height,0),(e>0||t>0)&&(this.cropper.x1+=t*this.aspectRatio>e?t*this.aspectRatio:e,this.cropper.y2-=t*this.aspectRatio>e?t:e/this.aspectRatio)}}crop(){const e=this.elementRef.nativeElement.querySelector(".source-image");if(e&&null!=this.originalImage){const t=this.originalSize.width/e.offsetWidth,n=Math.round(this.cropper.x1*t),r=Math.round(this.cropper.y1*t),i=Math.round((this.cropper.x2-this.cropper.x1)*t),s=Math.round((this.cropper.y2-this.cropper.y1)*t),o=this.getResizeRatio(i),a=document.createElement("canvas");a.width=i*o,a.height=s*o;const l=a.getContext("2d");if(l){l.drawImage(this.originalImage,n,r,i,s,0,0,i*o,s*o);const e=Math.min(1,Math.max(0,this.imageQuality/100)),t=a.toDataURL("image/"+this.format,e);t.length>10&&this.imageCropped.emit(t)}}}getResizeRatio(e){return this.resizeToWidth>0&&(!this.onlyScaleDown||e>this.resizeToWidth)?this.resizeToWidth/e:1}getClientX(e){return null!=e.clientX?e.clientX:e.touches[0].clientX}getClientY(e){return null!=e.clientY?e.clientY:e.touches[0].clientY}}a.\u0275fac=function(e){return new(e||a)(r.Mc(r.v),r.Mc(s.b),r.Mc(r.k))}
1,a.\u0275cmp=r.Gc({type:a,selectors:[["image-cropper"]],hostBindings:function(e,t){1&e&&r.Zc("resize",function(e){return t.onResize(e)},!1,r.kd)("mousemove",function(e){return t.moveImg(e)},!1,r.jd)("touchmove",function(e){return t.moveImg(e)},!1,r.jd)("mouseup",function(e){return t.moveStop(e)},!1,r.jd)("touchend",function(e){return t.moveStop(e)},!1,r.jd)},inputs:{format:"format",maintainAspectRatio:"maintainAspectRatio",aspectRatio:"aspectRatio",resizeToWidth:"resizeToWidth",onlyScaleDown:"onlyScaleDown",imageQuality:"imageQuality",cropper:"cropper",imageChangedEvent:"imageChangedEvent",imageBase64:"imageBase64"},outputs:{imageCropped:"imageCropped",imageLoaded:"imageLoaded",loadImageFailed:"loadImageFailed"},features:[r.Ac],decls:25,vars:15,consts:[[1,"source-image",3,"src","load"],[1,"cropper"],[1,"move",3,"mousedown","touchstart"],[1,"resize","topleft",3,"mousedown","touchstart"],[1,"square"],[1,"resize","top"],[1,"resize","topright",3,"mousedown","touchstart"],[1,"resize","right"],[1,"resize","bottomright",3,"mousedown","touchstart"],[1,"resize","bottom"],[1,"resize","bottomleft",3,"mousedown","touchstart"],[1,"resize","left"],[1,"resize-bar","top",3,"mousedown","touchstart"],[1,"resize-bar","right",3,"mousedown","touchstart"],[1,"resize-bar","bottom",3,"mousedown","touchstart"],[1,"resize-bar","left",3,"mousedown","touchstart"]],template:function(e,t){1&e&&(r.Rc(0,"div"),r.Rc(1,"img",0),r.Zc("load",function(){return t.imageLoadedInView()}),r.Qc(),r.Rc(2,"div",1),r.Rc(3,"div",2),r.Zc("mousedown",function(e){return t.startMove(e,"move")})("touchstart",function(e){return t.startMove(e,"move")}),r.qd(4,"\xa0"),r.Qc(),r.Rc(5,"span",3),r.Zc("mousedown",function(e){return t.startMove(e,"resize","topleft")})("touchstart",function(e){return t.startMove(e,"resize","topleft")}),r.Nc(6,"span",4),r.Qc(),r.Rc(7,"span",5),r.Nc(8,"span",4),r.Qc(),r.Rc(9,"span",6),r.Zc("mousedown",function(e){return t.startMove(e,"resize","topright")})("touchstart",function(e){return t.startMove(e,"resize","topright")}),r.Nc(10,"span",4),r.Qc(),r.Rc(11,"span",7),r.Nc(12,"span",4),r.Qc(),r.Rc(13,"span",8),r.Zc("mousedown",function(e){return t.startMove(e,"resize","bottomright")})("touchstart",function(e){return t.startMove(e,"resize","bottomright")}),r.Nc(14,"span",4),r.Qc(),r.Rc(15,"span",9),r.Nc(16,"span",4),r.Qc(),r.Rc(17,"span",10),r.Zc("mousedown",function(e){return t.startMove(e,"resize","bottomleft")})("touchstart",function(e){return t.startMove(e,"resize","bottomleft")}),r.Nc(18,"span",4),r.Qc(),r.Rc(19,"span",11),r.Nc(20,"span",4),r.Qc(),r.Rc(21,"span",12),r.Zc("mousedown",function(e){return t.startMove(e,"resize","top")})("touchstart",function(e){return t.startMove(e,"resize","top")}),r.Qc(),r.Rc(22,"span",13),r.Zc("mousedown",function(e){return t.startMove(e,"resize","right")})("touchstart",function(e){return t.startMove(e,"resize","right")}),r.Qc(),r.Rc(23,"span",14),r.Zc("mousedown",function(e){return t.startMove(e,"resize","bottom")})("touchstart",function(e){return t.startMove(e,"resize","bottom")}),r.Qc(),r.Rc(24,"span",15),r.Zc("mousedown",function(e){return t.startMove(e,"resize","left")})("touchstart",function(e){return t.startMove(e,"resize","left")}),r.Qc(),r.Qc(),r.Qc()),2&e&&(r.Cc(1),r.od("visibility",t.imageVisible?"visible":"hidden"),r.gd("src",t.safeImgDataUrl,r.md),r.Cc(1),r.od("top",t.cropper.y1,"px")("left",t.cropper.x1,"px")("width",t.cropper.x2-t.cropper.x1,"px")("height",t.cropper.y2-t.cropper.y1,"px")("margin-left",t.marginLeft)("visibility",t.imageVisible?"visible":"hidden"))},styles:["[_nghost-%COMP%] {\n        display: -webkit-box;\n        display: -ms-flexbox;\n        display: flex;\n        position: relative;\n        width: 100%;\n        max-width: 100%;\n        max-height: 100%;\n        overflow: hidden;\n        padding: 5px;\n        text-align: center;\n        -webkit-user-select: none;\n        -moz-user-select: none;\n        -ms-user-select: none;\n        user-select: none; }\n        [_nghost-%COMP%]    > div[_ngcontent-%COMP%] {\n          position: relative;\n          width: 100%; }\n          [_nghost-%COMP%]    > div[_ngcontent-%COMP%]   .source-image[_ngcontent-%COMP%] {\n            max-width: 100%;\n            max-height: 100%; }\n        [_nghost-%COMP%]   .cropper[_ngcontent-%COMP%] {\n          position: absolute;\n          display: -webkit-box;\n          display: -ms-flexbox;\n          display: flex;\n          color: #53535C !important;\n          background: transparent !important;\n          outline-color: rgba(255, 255, 255, 0.3);\n          outline-width: 1000px;\n          outline-style: solid;\n          -ms-touch-action: none;\n              touch-action: none; }\n          [_nghost-%COMP%]   .cropper[_ngcontent-%COMP%]:after {\n            position: absolute;\n            content: '';\n            top: 0;\n            bottom: 0;\n            left: 0;\n            right: 0;\n            pointer-events: none;\n            border: dashed 1px;\n            opacity: .75;\n            color: inherit;\n            z-index: 1; }\n          [_nghost-%COMP%]   .cropper[_ngcontent-%COMP%]   .move[_ngcontent-%COMP%] {\n            width: 100%;\n            cursor: move;\n            border: 1px solid rgba(255, 255, 255, 0.5); }\n          [_nghost-%COMP%]   .cropper[_ngcontent-%COMP%]   .resize[_ngcontent-%COMP%] {\n            position: absolute;\n            display: inline-block;\n            line-height: 6px;\n            padding: 8px;\n            opacity: .85;\n            z-index: 1; }\n            [_nghost-%COMP%]   .cropper[_ngcontent-%COMP%]   .resize[_ngcontent-%COMP%]   .square[_ngcontent-%COMP%] {\n              display: inline-block;\n              background: #53535C !important;\n              width: 6px;\n              height: 6px;\n              border: 1px solid rgba(255, 255, 255, 0.5); }\n            [_nghost-%COMP%]   .cropper[_ngcontent-%COMP%]   .resize.topleft[_ngcontent-%COMP%] {\n              top: -12px;\n              left: -12px;\n              cursor: nw-resize; }\n            [_nghost-%COMP%]   .cropper[_ngcontent-%COMP%]   .resize.top[_ngcontent-%COMP%] {\n              top: -12px;\n              left: calc(50% - 12px);\n              cursor: n-resize; }\n            [_nghost-%COMP%]   .cropper[_ngcontent-%COMP%]   .resize.topright[_ngcontent-%COMP%] {\n              top: -12px;\n              right: -12px;\n              cursor: ne-resize; }\n            [_nghost-%COMP%]   .cropper[_ngcontent-%COMP%]   .resize.right[_ngcontent-%COMP%] {\n              top: calc(50% - 12px);\n              right: -12px;\n              cursor: e-resize; }\n            [_nghost-%COMP%]   .cropper[_ngcontent-%COMP%]   .resize.bottomright[_ngcontent-%COMP%] {\n              bottom: -12px;\n              right: -12px;\n              cursor: se-resize; }\n            [_nghost-%COMP%]   .cropper[_ngcontent-%COMP%]   .resize.bottom[_ngcontent-%COMP%] {\n              bottom: -12px;\n              left: calc(50% - 12px);\n              cursor: s-resize; }\n            [_nghost-%COMP%]   .cropper[_ngcontent-%COMP%]   .resize.bottomleft[_ngcontent-%COMP%] {\n              bottom: -12px;\n              left: -12px;\n              cursor: sw-resize; }\n            [_nghost-%COMP%]   .cropper[_ngcontent-%COMP%]   .resize.left[_ngcontent-%COMP%] {\n              top: calc(50% - 12px);\n              left: -12px;\n              cursor: w-resize; }\n          [_nghost-%COMP%]   .cropper[_ngcontent-%COMP%]   .resize-bar[_ngcontent-%COMP%] {\n            position: absolute;\n            z-index: 1; }\n            [_nghost-%COMP%]   .cropper[_ngcontent-%COMP%]   .resize-bar.top[_ngcontent-%COMP%] {\n              top: -11px;\n              left: 11px;\n              width: calc(100% - 22px);\n              height: 22px;\n              cursor: n-resize; }\n            [_nghost-%COMP%]   .cropper[_ngcontent-%COMP%]   .resize-bar.right[_ngcontent-%COMP%] {\n              top: 11px;\n              right: -11px;\n              height: calc(100% - 22px);\n              width: 22px;\n              cursor: e-resize; }\n            [_nghost-%COMP%]   .cropper[_ngcontent-%COMP%]   .resize-bar.bottom[_ngcontent-%COMP%] {\n              bottom: -11px;\n              left: 11px;\n              width: calc(100% - 22px);\n              height: 22px;\n              cursor: s-resize; }\n            [_nghost-%COMP%]   .cropper[_ngcontent-%COMP%]   .resize-bar.left[_ngcontent-%COMP%] {\n              top: 11px;\n              left: -11px;\n              height: calc(100% - 22px);\n              width: 22px;\n              cursor: w-resize; }"],changeDetection:0}),a.ctorParameters=()=>[{type:r.v},{type:s.b},{type:r.k}],a.propDecorators={imageChangedEvent:[{type:r.H}],imageBase64:[{type:r.H}],format:[{type:r.H}
1],maintainAspectRatio:[{type:r.H}],aspectRatio:[{type:r.H}],resizeToWidth:[{type:r.H}],onlyScaleDown:[{type:r.H}],imageQuality:[{type:r.H}],cropper:[{type:r.H}],imageCropped:[{type:r.T}],imageLoaded:[{type:r.T}],loadImageFailed:[{type:r.T}],onResize:[{type:r.A,args:["window:resize",["$event"]]}],moveImg:[{type:r.A,args:["document:mousemove",["$event"]]},{type:r.A,args:["document:touchmove",["$event"]]}],moveStop:[{type:r.A,args:["document:mouseup",["$event"]]},{type:r.A,args:["document:touchend",["$event"]]}]};class l{}l.\u0275fac=function(e){return new(e||l)},l.\u0275mod=r.Kc({type:l}),l.\u0275inj=r.Jc({imports:[[i.b]]}),l.ctorParameters=()=>[],("undefined"==typeof ngJitMode||ngJitMode)&&r.nd(l,{declarations:function(){return[a]},imports:function(){return[i.b]},exports:function(){return[a]}})},pA7S:function(e,t,n){var r;e.exports=(r=n("Ib8C"),n("ETIr"),n("cv67"),n("K3mO"),n("OLod"),function(){var e=r,t=e.lib,n=t.WordArray,i=t.BlockCipher,s=e.algo,o=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],a=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],l=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],c
vendor: 7,629 bytes, line 1
1=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],
1u=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],h=s.DES=i.extend({_doReset:function(){for(var e=this._key.words,t=[],n=0;n<56;n++){var r=o[n]-1;t[n]=e[r>>>5]>>>31-r%32&1}for(var i=this._subKeys=[],s=0;s<16;s++){var c=i[s]=[],u=l[s];for(n=0;n<24;n++)c[n/6|0]|=t[(a[n]-1+u)%28]<<31-n%6,c[4+(n/6|0)]|=t[28+(a[n+24]-1+u)%28]<<31-n%6;for(c[0]=c[0]<<1|c[0]>>>31,n=1;n<7;n++)c[n]=c[n]>>>4*(n-1)+3;c[7]=c[7]<<5|c[7]>>>27}var h=this._invSubKeys=[];for(n=0;n<16;n++)h[n]=i[15-n]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,n){this._lBlock=e[t],this._rBlock=e[t+1],d.call(this,4,252645135),d.call(this,16,65535),p.call(this,2,858993459),p.call(this,8,16711935),d.call(this,1,1431655765);for(var r=0;r<16;r++){for(var i=n[r],s=this._lBlock,o=this._rBlock,a=0,l=0;l<8;l++)a|=c[l][((o^i[l])&u[l])>>>0];this._lBlock=o,this._rBlock=s^a}var h=this._lBlock;this._lBlock=this._rBlock,this._rBlock=h,d.call(this,1,1431655765),p.call(this,8,16711935),p.call(this,2,858993459),d.call(this,16,65535),d.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function d(e,t){var n=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=n,this._lBlock^=n<<e}function p(e,t){var n=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=n,this._rBlock^=n<<e}e.DES=i._createHelper(h);var f=s.TripleDES=i.extend({_doReset:function(){var e=this._key.words;if(2!==e.length&&4!==e.length&&e.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var t=e.slice(0,2),r=e.length<4?e.slice(0,2):e.slice(2,4),i=e.length<6?e.slice(0,2):e.slice(4,6);this._des1=h.createEncryptor(n.create(t)),this._des2=h.createEncryptor(n.create(r)),this._des3=h.createEncryptor(n.create(i))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});e.TripleDES=i._createHelper(f)}(),r.TripleDES)},pLZG:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("7o/Q");function i(e,t){return function(n){return n.lift(new s(e,t))}}class s{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new o(e,this.predicate,this.thisArg))}}class o extends r.a{constructor(e,t,n){super(e),this.predicate=t,this.thisArg=n,this.count=0}_next(e){let t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}},qBft:function(e,t,n){var r;e.exports=(r=n("Ib8C"),n("OLod"),r.pad.AnsiX923={pad:function(e,t){var n=e.sigBytes,r=4*t,i=r-n%r,s=n+i-1;
1e.clamp(),e.words[s>>>2]|=i<<24-s%4*8,e.sigBytes+=i},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},r.pad.Ansix923)},qM6L:function(e,t,n){var r;e.exports=(r=n("Ib8C"),function(){var e=r,t=e.lib.WordArray,n=e.enc;function i(e){return e<<8&4278255360|e>>>8&16711935}n.Utf16=n.Utf16BE={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i+=2){var s=t[i>>>2]>>>16-i%4*8&65535;r.push(String.fromCharCode(s))}return r.join("")},parse:function(e){for(var n=e.length,r=[],i=0;i<n;i++)r[i>>>1]|=e.charCodeAt(i)<<16-i%2*16;return t.create(r,2*n)}},n.Utf16LE={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],s=0;s<n;s+=2){var o=i(t[s>>>2]>>>16-s%4*8&65535);r.push(String.fromCharCode(o))}return r.join("")},parse:function(e){for(var n=e.length,r=[],s=0;s<n;s++)r[s>>>1]|=i(e.charCodeAt(s)<<16-s%2*16);return t.create(r,2*n)}}}(),r.enc.Utf16)},qb1Q:function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"b",function(){return o}),n.d(t,"c",function(){return a}),n.d(t,"d",function(){return l}),n.d(t,"e",function(){return c}),n.d(t,"f",function(){return S}),n.d(t,"g",function(){return k}),n.d(t,"h",function(){return x}),n.d(t,"i",function(){return E}),n.d(t,"j",function(){return u});var r=n("wEJo"),i=n("W6o/");const s="ionViewWillEnter",o="ionViewDidEnter",a="ionViewWillLeave",l="ionViewDidLeave",c="ionViewWillUnload",u=e=>new Promise((t,n)=>{Object(r.f)(()=>{h(e),d(e).then(n=>{n.animation&&n.animation.destroy(),p(e),t(n)},t=>{p(e),n(t)})})}),h=e=>{const t=e.enteringEl,n=e.leavingEl;A(t,n,e.direction),e.showGoBack?t.classList.add("can-go-back"):t.classList.remove("can-go-back"),E(t,!1),t.style.setProperty("pointer-events","none"),n&&(E(n,!1),n.style.setProperty("pointer-events","none"))},d=async e=>{const t=await f(e);return t&&r.a.isBrowser?m(t,e):g(e)},p=e=>{const t=e.enteringEl,n=e.leavingEl;t.classList.remove("ion-page-invisible"),t.style.removeProperty("pointer-events"),void 0!==n&&(n.classList.remove("ion-page-invisible"),n.style.removeProperty("pointer-events"))},f=async e=>{if(!e.leavingEl||!e.animated||0===e.duration)return;if(e.animationBuilder)return e.animationBuilder;return"ios"===e.mode?(await Promise.resolve().then(n.bind(null,"+lAO"))).iosTransitionAnimation:(await Promise.resolve().then(n.bind(null,"qhJI"))).mdTransitionAnimation},m=async(e,t)=>{await v(t,!0);const n=e(t.baseEl,t);w(t.enteringEl,t.leavingEl);const r=await b(n,t);return t.progressCallback&&t.progressCallback(void 0),r&&_(t.enteringEl,t.leavingEl),{hasCompleted:r,animation:n}},g=async e=>{const t=e.enteringEl,n=e.leavingEl;return await v(e,!1),w(t,n),_(t,n),{hasCompleted:!0}},v=async(e,t)=>{const n=(void 0!==e.deepWait?e.deepWait:t)?[S(e.enteringEl),S(e.leavingEl)]:[C(e.enteringEl),C(e.leavingEl)];await Promise.all(n),await y(e.viewIsReady,e.enteringEl)},y=async(e,t)=>{e&&await e(t)},b=(e,t)=>{const n=t.progressCallback,r=new Promise(t=>{e.onFinish(e=>t(1===e))});return n?(e.progressStart(!0),n(e)):e.play(),r},w=(e,t)=>{x(t,a),x(e,s)},_=(e,t)=>{x(e,o),x(t,l)},x=(e,t)=>{if(e){const n=new CustomEvent(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(n)}},C=e=>e?new Promise(t=>Object(i.c)(e,t)):Promise.resolve(),S=async e=>{const t=e;if(t){if(null!=t.componentOnReady){if(null!=await t.componentOnReady())return}await Promise.all(Array.from(t.children).map(S))}},E=(e,t)=>{t?(e.setAttribute("aria-hidden","true"),e.classList.add("ion-page-hidden")):(e.hidden=!1,e.removeAttribute("aria-hidden"),e.classList.remove("ion-page-hidden"))},A=(e,t,n)=>{void 0!==e&&(e.style.zIndex="back"===n?"99":"101"),void 0!==t&&(t.style.zIndex="100")},k=e=>{if(e.classList.contains("ion-page"))return e;const t=e.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs");return t||e}},qhJI:function(e,t,n){"use strict";n.r(t),n.d(t,"mdTransitionAnimation",function(){return s});var r=n("Kfhc"),i=n("qb1Q");n("W6o/"),n("wEJo");const s=(e,t)=>{const n="back"===t.direction,s=t.enteringEl,o=t.leavingEl,a=Object(i.g)(s),l=a.querySelector("ion-toolbar"),c=Object(r.a)();if(c.addElement(a).fill("both").beforeRemoveClass("ion-page-invisible"),n?c.duration(t.duration||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):c.duration(t.duration||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform","translateY(40px)","translateY(0px)").fromTo("opacity",.01,1),l){const e=Object(r.a)();e.addElement(l),c.addAnimation(e)}if(o&&n){c.duration(t.duration||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const e=Object(r.a)();e.addElement(Object(i.g)(o)).onFinish(t=>{1===t&&e.elements.length>0&&e.elements[0].style.setProperty("display","none")}).fromTo("transform","translateY(0px)","translateY(40px)").fromTo("opacity",1,0),c.addAnimation(e)}return c}},qu8F:function(e,t,n){var r;e.exports=(r=n("Ib8C"),n("OLod"),r.mode.CTRGladman=function(){var e=r.lib.BlockCipherMode.extend();function t(e){if(255==(e>>24&255)){var t=e>>16&255,n=e>>8&255,r=255&e;255===t?(t=0,255===n?(n=0,255===r?r=0:++r):++n):++t,e=0,e+=t<<16,e+=n<<8,e+=r}else e+=1<<24;return e}function n(e){return 0===(e[0]=t(e[0]))&&(e[1]=t(e[1])),e}var i=e.Encryptor=e.extend({processBlock:function(e,t){var r=this._cipher,i=r.blockSize,s=this._iv,o=this._counter;s&&(o=this._counter=s.slice(0),this._iv=void 0),n(o);var a=o.slice(0);r.encryptBlock(a,0);for(var l=0;l<i;l++)e[t+l]^=a[l]}});return e.Decryptor=i,e}(),r.mode.CTRGladman)},quSY:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n("DH7j"),i=n("XoHu"),s=n("n6bG");const o=(()=>{function e(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e})();class a{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:t,_ctorUnsubscribe:n,_unsubscribe:l,_subscriptions:u}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,t instanceof a)t.remove(this);else if(null!==t)for(let r=0;r<t.length;++r){t[r].remove(this)}
1if(Object(s.a)(l)){n&&(this._unsubscribe=void 0);try{l.call(this)}catch(h){e=h instanceof o?c(h.errors):[h]}}if(Object(r.a)(u)){let t=-1,n=u.length;for(;++t<n;){const n=u[t];if(Object(i.a)(n))try{n.unsubscribe()}catch(h){e=e||[],h instanceof o?e=e.concat(c(h.errors)):e.push(h)}}}if(e)throw new o(e)}add(e){let t=e;if(!e)return a.EMPTY;switch(typeof e){case"function":t=new a(e);case"object":if(t===this||t.closed||"function"!=typeof t.unsubscribe)return t;if(this.closed)return t.unsubscribe(),t;if(!(t instanceof a)){const e=t;t=new a,t._subscriptions=[e]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}let{_parentOrParents:n}=t;if(null===n)t._parentOrParents=this;else if(n instanceof a){if(n===this)return t;t._parentOrParents=[n,this]}else{if(-1!==n.indexOf(this))return t;n.push(this)}const r=this._subscriptions;return null===r?this._subscriptions=[t]:r.push(t),t}remove(e){const t=this._subscriptions;if(t){const n=t.indexOf(e);-1!==n&&t.splice(n,1)}}}var l;function c(e){return e.reduce((e,t)=>e.concat(t instanceof o?t.errors:t),[])}a.EMPTY=((l=new a).closed=!0,l)},r1uz:function(e,t,n){var r;e.exports=(r=n("Ib8C"),n("ETIr"),n("cv67"),n("K3mO"),n("OLod"),function(){var e=r,t=e.lib.BlockCipher,n=e.algo;const i=16,s=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],o
vendor: 11,038 bytes, line 1
1=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var 
1a={pbox:[],sbox:[]};function l(e,t){let n=t>>24&255,r=t>>16&255,i=t>>8&255,s=255&t,o=e.sbox[0][n]+e.sbox[1][r];return o^=e.sbox[2][i],o+=e.sbox[3][s],o}function c(e,t,n){let r,s=t,o=n;for(let a=0;a<i;++a)s^=e.pbox[a],o=l(e,s)^o,r=s,s=o,o=r;return r=s,s=o,o=r,o^=e.pbox[i],s^=e.pbox[i+1],{left:s,right:o}}function u(e,t,n){let r,s=t,o=n;for(let a=i+1;a>1;--a)s^=e.pbox[a],o=l(e,s)^o,r=s,s=o,o=r;return r=s,s=o,o=r,o^=e.pbox[1],s^=e.pbox[0],{left:s,right:o}}function h(e,t,n){for(let i=0;i<4;i++){e.sbox[i]=[];for(let t=0;t<256;t++)e.sbox[i][t]=o[i][t]}let r=0;for(let o=0;o<i+2;o++)e.pbox[o]=s[o]^t[r],r++,r>=n&&(r=0);let a=0,l=0,u=0;for(let s=0;s<i+2;s+=2)u=c(e,a,l),a=u.left,l=u.right,e.pbox[s]=a,e.pbox[s+1]=l;for(let i=0;i<4;i++)for(let t=0;t<256;t+=2)u=c(e,a,l),a=u.left,l=u.right,e.sbox[i][t]=a,e.sbox[i][t+1]=l;return!0}var d=n.Blowfish=t.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4;h(a,t,n)}},encryptBlock:function(e,t){var n=c(a,e[t],e[t+1]);e[t]=n.left,e[t+1]=n.right},decryptBlock:function(e,t){var n=u(a,e[t],e[t+1]);e[t]=n.left,e[t+1]=n.right},blockSize:2,keySize:4,ivSize:2});e.Blowfish=t._createHelper(d)}(),r.Blowfish)},sRcL:function(e,t,n){"use strict";n.d(t,"a",function(){return h});var r=n("mrSG"),i=n("fXoL"),s=n("tk/3"),o=n("LRne"),a=n("JIr8"),l=n("TEn/"),c=n("sYmb"),u=n("VBEu");let h=class{constructor(e,t,n,r,i,s){this.http=e,this.toastController=t,this.loadingController=n,this.navCtlr=r,this.translate=i,this.encryption=s}postMethod(e=null,t=null,n=null){return null==n["content-type"]&&(n["content-type"]="application/x-www-form-urlencoded"),this.http.post(e,t,{headers:n}).pipe(Object(a.a)(this.handleError(e,[])))}getMethod(e=null,t=null){return this.http.get(e,{headers:t}).pipe(Object(a.a)(this.handleError(e,[])))}deleteMethod(e=null,t=null,n=null){return null==n["content-type"]&&(n["content-type"]="application/x-www-form-urlencoded"),this.http.request("delete",e,{body:t,headers:n}).pipe(Object(a.a)(this.handleError(e,[])))}patchMethod(e=null,t=null){return this.http.patch(e,{headers:t}).pipe(Object(a.a)(this.handleError(e,[])))}uploadMethod(e=null,t=null){return this.http.post(e,t).pipe(Object(a.a)(this.handleError(e,[])))}uploadMethodOCR(e=null,t=null,n=null){return this.http.post(e,t,{headers:n}).pipe(Object(a.a)(this.handleError(e,[])))}handleError(e="operation",t){return e=>Object(r.b)(this,void 0,void 0,function*(){if(e)return(e.error.data||e.data)&&(yield this.encryption.decryptionAESGCM(e.error.data||e.data,null).then(t=>{e.error=JSON.parse(t)})),null!=e.name&&"TimeoutError"==e.name?(e.status=!1,e.message="We are under Scheduled Maintenance",Object(o.a)(e)):(console.error(e),this.log(e),Object(o.a)(t))})}log(e){var t,n;let r=[400,402,403,404,405],i=[0,500,501,502,503,504,505];if(401===e.status||i.includes(e.status))401==e.status?(this.showToast("Your session has expired. Please re-login.",5e3,"danger"),setTimeout(e=>{this.navCtlr.navigateRoot("web/logout")},3e3)):i.includes(e.status)||(this.navCtlr.back(),this.showToast(e.message,5e3,"warning"));else if(null!=e.error){if(null!=e.error.msg&&(r.includes(e.status)?this.showToast(e.error.msg,5e3,"danger"):(this.navCtlr.back(),this.showToast(e.error.msg,5e3,"warning"))),400===e.status&&(null===(t=e.error)||void 0===t?void 0:t.error_description)){const t=(null===(n=null==e?void 0:e.error)||void 0===n?void 0:n.error_description)?e.error.error_description.charAt(0).toUpperCase()+e.error.error_description.slice(1):"";return void this.showToast(t,5e3,"warning")}null!=e.error.message&&null==e.error.msg&&this.showToast(e.error.message,5e3,"warning"),null!=e.error.error_description&&null==e.error.msg&&r.includes(e.status)&&("Profile not found."===e.error.error_description&&404===e.status?this.navCtlr.navigateForward("404"):null==e.error.attempt_left&&this.showToast(e.error.error_description,5e3,"warning")),null!=e.errorDescription&&r.includes(e.status)&&e.errorDescription&&this.showToast(e.errorDescription,5e3,"warning")}else this.showToast(e.message,5e3,"warning")}showLoader(e=null){return Object(r.b)(this,void 0,void 0,function*(){const t=yield this.loadingController.create({message:e});yield t.present()})}showABHALoader(e=null){return Object(r.b)(this,void 0,void 0,function*(){const t=yield this.loadingController.create({message:e});yield t.present()})}hideLoader(){this.loadingController.dismiss()}showToast(e=null,t=5e3,n="primary",i="bottom",s={}){return Object(r.b)(this,void 0,void 0,function*(){let r=e?yield this.translate.get(e,s).toPromise():null;const o=yield this.toastController.create({message:r,duration:t,color:n,position:"top"===i?"top":"middle"===i?"middle":"bottom",mode:"ios"});yield o.present()})}setIssuedDoc(e){let t=JSON.parse(sessionStorage.getItem("pid"));
1t?t.push(e):t=[e],sessionStorage.setItem("pid",JSON.stringify(t))}getIssuedDoc(){return JSON.parse(sessionStorage.getItem("pid"))}HideToast(){this.myToast=this.toastController.dismiss()}numberOnlyValidation(e){let t=String.fromCharCode(e.charCode);/[0-9.,]/.test(t)||e.preventDefault()}nameValidation(e){let t=String.fromCharCode(e.charCode);/[A-Za-z? '().]+$/.test(t)||e.preventDefault()}nameNumberValidation(e){let t=String.fromCharCode(e.charCode);/[A-Za-z0-9,' \-_()/.]+$/.test(t)||e.preventDefault()}noBackEvent(e){window.addEventListener("popstate",function(t){history.pushState(null,null,e)})}};h.ctorParameters=()=>[{type:s.b},{type:l.l},{type:l.f},{type:l.h},{type:c.c},{type:u.a}],h=Object(r.c)([Object(i.E)({providedIn:"root"})],h)},sYmb:function(e,t,n){"use strict";n.d(t,"a",function(){return g}),n.d(t,"b",function(){return B}),n.d(t,"c",function(){return L});var r=n("fXoL"),i=n("LRne"),s=n("HDdC");function o(e){return!!e&&(e instanceof s.a||"function"==typeof e.lift&&"function"==typeof e.subscribe)}var a=n("cp0P"),l=n("GyhO"),c=n("NXyV"),u=n("IzEk"),h=n("jtHE");function d(e,t,n){let r;return r=e&&"object"==typeof e?e:{bufferSize:e,windowTime:t,refCount:!1,scheduler:n},e=>e.lift(function({bufferSize:e=Number.POSITIVE_INFINITY,windowTime:t=Number.POSITIVE_INFINITY,refCount:n,scheduler:r}){let i,s,o=0,a=!1,l=!1;return function(c){let u;o++,!i||a?(a=!1,i=new h.a(e,t,r),u=i.subscribe(this),s=c.subscribe({next(e){i.next(e)},error(e){a=!0,i.error(e)},complete(){l=!0,s=void 0,i.complete()}}),l&&(s=void 0)):u=i.subscribe(this),this.add(()=>{o--,u.unsubscribe(),u=void 0,s&&!l&&n&&0===o&&(s.unsubscribe(),s=void 0,i=void 0)})}}(r))}var p=n("lJxs"),f=n("bOdf"),m=n("eIep");class g{}class v extends g{getTranslation(e){return Object(i.a)({})}}v.\u0275fac=function(e){return y(e||v)},v.\u0275prov=r.Ic({token:v,factory:v.\u0275fac});const y=r.Tc(v);class b{}class w{handle(e){return e.key}}function _(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!=e&&t!=t)return!0;let n,r,i,s=typeof e;if(s==typeof t&&"object"==s){if(!Array.isArray(e)){if(Array.isArray(t))return!1;for(r in i=Object.create(null),e){if(!_(e[r],t[r]))return!1;i[r]=!0}for(r in t)if(!(r in i)&&void 0!==t[r])return!1;return!0}if(!Array.isArray(t))return!1;if((n=e.length)==t.length){for(r=0;r<n;r++)if(!_(e[r],t[r]))return!1;return!0}}return!1}function x(e){return null!=e}function C(e){return e&&"object"==typeof e&&!Array.isArray(e)}function S(e,t){let n=Object.assign({},e);return C(e)&&C(t)&&Object.keys(t).forEach(r=>{C(t[r])?r in e?n[r]=S(e[r],t[r]):Object.assign(n,{[r]:t[r]}):Object.assign(n,{[r]:t[r]})}),n}w.\u0275fac=function(e){return new(e||w)},w.\u0275prov=r.Ic({token:w,factory:w.\u0275fac});class E{}class A extends E{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(e,t){let n;return n="string"==typeof e?this.interpolateString(e,t):"function"==typeof e?this.interpolateFunction(e,t):e,n}getValue(e,t){let n="string"==typeof t?t.split("."):[t];t="";do{t+=n.shift(),!x(e)||!x(e[t])||"object"!=typeof e[t]&&n.length?n.length?t+=".":e=void 0:(e=e[t],t="")}while(n.length);return e}interpolateFunction(e,t){return e(t)}interpolateString(e,t){return t?e.replace(this.templateMatcher,(e,n)=>{let r=this.getValue(t,n);return x(r)?r:e}):e}}A.\u0275fac=function(e){return k(e||A)},A.\u0275prov=r.Ic({token:A,factory:A.\u0275fac});const k=r.Tc(A);class I{}class T extends I{compile(e,t){return e}compileTranslations(e,t){return e}}T.\u0275fac=function(e){return O(e||T)},T.\u0275prov=r.Ic({token:T,factory:T.\u0275fac});const O=r.Tc(T);class D{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new r.x,this.onLangChange=new r.x,this.onDefaultLangChange=new r.x}}const P=new r.F("USE_STORE"),M=new r.F("USE_DEFAULT_LANG"),N=new r.F("DEFAULT_LANGUAGE"),R=new r.F("USE_EXTEND");class L{constructor(e,t,n,i,s,o=!0,a=!1,l=!1,c){this.store=e,this.currentLoader=t,this.compiler=n,this.parser=i,this.missingTranslationHandler=s,this.useDefaultLang=o,this.isolate=a,this.extend=l,this.pending=!1,this._onTranslationChange=new r.x,this._onLangChange=new r.x,this._onDefaultLangChange=new r.x,this._langs=[],this._translations={},this._translationRequests={},c&&this.setDefaultLang(c)}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(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}setDefaultLang(e){if(e===this.defaultLang)return;let t=this.retrieveTranslations(e);void 0!==t?(null==this.defaultLang&&(this.defaultLang=e),t.pipe(Object(u.a)(1)).subscribe(t=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return Object(i.a)(this.translations[e]);let t=this.retrieveTranslations(e);return void 0!==t?(this.currentLang||(this.currentLang=e),t.pipe(Object(u.a)(1)).subscribe(t=>{this.changeLang(e)}),t):(this.changeLang(e),Object(i.a)(this.translations[e]))}retrieveTranslations(e){let t;return(void 0===this.translations[e]||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),t=this._translationRequests[e]),t}getTranslation(e){this.pending=!0;const t=this.currentLoader.getTranslation(e).pipe(d(1),Object(u.a)(1));return this.loadingTranslations=t.pipe(Object(p.a)(t=>this.compiler.compileTranslations(t,e)),d(1),Object(u.a)(1)),this.loadingTranslations.subscribe({next:t=>{this.translations[e]=this.extend&&this.translations[e]?Object.assign(Object.assign({},t),this.translations[e]):t,this.updateLangs(),this.pending=!1},error:e=>{this.pending=!1}}),t}setTranslation(e,t,n=!1){t=this.compiler.compileTranslations(t,e),(n||this.extend)&&this.translations[e]?this.translations[e]=S(this.translations[e],t):this.translations[e]=t,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}
1addLangs(e){e.forEach(e=>{-1===this.langs.indexOf(e)&&this.langs.push(e)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(e,t,n){let r;if(t instanceof Array){let r={},s=!1;for(let i of t)r[i]=this.getParsedResult(e,i,n),o(r[i])&&(s=!0);if(s){const e=t.map(e=>o(r[e])?r[e]:Object(i.a)(r[e]));return Object(a.a)(e).pipe(Object(p.a)(e=>{let n={};return e.forEach((e,r)=>{n[t[r]]=e}),n}))}return r}if(e&&(r=this.parser.interpolate(this.parser.getValue(e,t),n)),void 0===r&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(r=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),n)),void 0===r){let e={key:t,translateService:this};void 0!==n&&(e.interpolateParams=n),r=this.missingTranslationHandler.handle(e)}return void 0!==r?r:t}get(e,t){if(!x(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(Object(f.a)(n=>o(n=this.getParsedResult(n,e,t))?n:Object(i.a)(n)));{let n=this.getParsedResult(this.translations[this.currentLang],e,t);return o(n)?n:Object(i.a)(n)}}getStreamOnTranslationChange(e,t){if(!x(e)||!e.length)throw new Error('Parameter "key" required');return Object(l.a)(Object(c.a)(()=>this.get(e,t)),this.onTranslationChange.pipe(Object(m.a)(n=>{const r=this.getParsedResult(n.translations,e,t);return"function"==typeof r.subscribe?r:Object(i.a)(r)})))}stream(e,t){if(!x(e)||!e.length)throw new Error('Parameter "key" required');return Object(l.a)(Object(c.a)(()=>this.get(e,t)),this.onLangChange.pipe(Object(m.a)(n=>{const r=this.getParsedResult(n.translations,e,t);return o(r)?r:Object(i.a)(r)})))}instant(e,t){if(!x(e)||!e.length)throw new Error('Parameter "key" required');let n=this.getParsedResult(this.translations[this.currentLang],e,t);if(o(n)){if(e instanceof Array){let t={};return e.forEach((n,r)=>{t[e[r]]=e[r]}),t}return e}return n}set(e,t,n=this.currentLang){this.translations[n][e]=this.compiler.compile(t,n),this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}changeLang(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),null==this.defaultLang&&this.changeDefaultLang(e)}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.getTranslation(e)}resetLang(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==e?(-1!==e.indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,e}}L.\u0275fac=function(e){return new(e||L)(r.Vc(D),r.Vc(g),r.Vc(I),r.Vc(E),r.Vc(b),r.Vc(M),r.Vc(P),r.Vc(R),r.Vc(N))},L.\u0275prov=r.Ic({token:L,factory:L.\u0275fac}),L.ctorParameters=()=>[{type:D},{type:g},{type:I},{type:E},{type:b},{type:Boolean,decorators:[{type:r.C,args:[M]}]},{type:Boolean,decorators:[{type:r.C,args:[P]}]},{type:Boolean,decorators:[{type:r.C,args:[R]}]},{type:String,decorators:[{type:r.C,args:[N]}]}];class j{constructor(e,t,n){this.translateService=e,this.element=t,this._ref=n,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe(e=>{e.lang===this.translateService.currentLang&&this.checkNodes(!0,e.translations)})),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe(e=>{this.checkNodes(!0,e.translations)})),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe(e=>{this.checkNodes(!0)}))}set translate(e){e&&(this.key=e,this.checkNodes())}
1set translateParams(e){_(this.currentParams,e)||(this.currentParams=e,this.checkNodes(!0))}ngAfterViewChecked(){this.checkNodes()}checkNodes(e=!1,t){let n=this.element.nativeElement.childNodes;n.length||(this.setContent(this.element.nativeElement,this.key),n=this.element.nativeElement.childNodes);for(let r=0;r<n.length;++r){let i=n[r];if(3===i.nodeType){let n;if(e&&(i.lastKey=null),x(i.lookupKey))n=i.lookupKey;else if(this.key)n=this.key;else{let e=this.getContent(i),t=e.trim();t.length&&(i.lookupKey=t,e!==i.currentValue?(n=t,i.originalContent=e||i.originalContent):i.originalContent?n=i.originalContent.trim():e!==i.currentValue&&(n=t,i.originalContent=e||i.originalContent))}this.updateValue(n,i,t)}}}updateValue(e,t,n){if(e){if(t.lastKey===e&&this.lastParams===this.currentParams)return;this.lastParams=this.currentParams;let r=n=>{n!==e&&(t.lastKey=e),t.originalContent||(t.originalContent=this.getContent(t)),t.currentValue=x(n)?n:t.originalContent||e,this.setContent(t,this.key?t.currentValue:t.originalContent.replace(e,t.currentValue)),this._ref.markForCheck()};if(x(n)){let t=this.translateService.getParsedResult(n,e,this.currentParams);o(t)?t.subscribe(r):r(t)}else this.translateService.get(e,this.currentParams).subscribe(r)}}getContent(e){return x(e.textContent)?e.textContent:e.data}setContent(e,t){x(e.textContent)?e.textContent=t:e.data=t}ngOnDestroy(){this.onLangChangeSub&&this.onLangChangeSub.unsubscribe(),this.onDefaultLangChangeSub&&this.onDefaultLangChangeSub.unsubscribe(),this.onTranslationChangeSub&&this.onTranslationChangeSub.unsubscribe()}}j.\u0275fac=function(e){return new(e||j)(r.Mc(L),r.Mc(r.v),r.Mc(r.k))},j.\u0275dir=r.Hc({type:j,selectors:[["","translate",""],["","ngx-translate",""]],inputs:{translate:"translate",translateParams:"translateParams"}}),j.ctorParameters=()=>[{type:L},{type:r.v},{type:r.k}],j.propDecorators={translate:[{type:r.H}],translateParams:[{type:r.H}]};class F{constructor(e,t){this.translate=e,this._ref=t,this.value=""}updateValue(e,t,n){let r=t=>{this.value=void 0!==t?t:e,this.lastKey=e,this._ref.markForCheck()};if(n){let i=this.translate.getParsedResult(n,e,t);o(i.subscribe)?i.subscribe(r):r(i)}this.translate.get(e,t).subscribe(r)}transform(e,...t){if(!e||!e.length)return e;if(_(e,this.lastKey)&&_(t,this.lastParams))return this.value;let n;if(x(t[0])&&t.length)if("string"==typeof t[0]&&t[0].length){let e=t[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{n=JSON.parse(e)}catch(r){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${t[0]}`)}}else"object"!=typeof t[0]||Array.isArray(t[0])||(n=t[0]);return this.lastKey=e,this.lastParams=t,this.updateValue(e,n),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(t=>{this.lastKey&&t.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,n,t.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(t=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,n,t.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,n))})),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}F.\u0275fac=function(e){return new(e||F)(r.Mc(L),r.Xc())},F.\u0275pipe=r.Lc({name:"translate",type:F,pure:!1}),F.\u0275prov=r.Ic({token:F,factory:F.\u0275fac}),F.ctorParameters=()=>[{type:L},{type:r.k}];class B{static forRoot(e={}){return{ngModule:B,providers:[e.loader||{provide:g,useClass:v},e.compiler||{provide:I,useClass:T},e.parser||{provide:E,useClass:A},e.missingTranslationHandler||{provide:b,useClass:w},D,{provide:P,useValue:e.isolate},{provide:M,useValue:e.useDefaultLang},{provide:R,useValue:e.extend},{provide:N,useValue:e.defaultLanguage},L]}}static forChild(e={}){return{ngModule:B,providers:[e.loader||{provide:g,useClass:v},e.compiler||{provide:I,useClass:T},e.parser||{provide:E,useClass:A},e.missingTranslationHandler||{provide:b,useClass:w},{provide:P,useValue:e.isolate},{provide:M,useValue:e.useDefaultLang},{provide:R,useValue:e.extend},{provide:N,useValue:e.defaultLanguage},L]}}}B.\u0275fac=function(e){return new(e||B)},B.\u0275mod=r.Kc({type:B}),B.\u0275inj=r.Jc({}),("undefined"==typeof ngJitMode||ngJitMode)&&r.nd(B,{declarations:[F,j],exports:[F,j]})},"tk/3":function(e,t,n){"use strict";n.d(t,"a",function(){return I}),n.d(t,"b",function(){return A}),n.d(t,"c",function(){return G}),n.d(t,"d",function(){return r}),n.d(t,"e",function(){return p}),n.d(t,"f",function(){return C});var r,i=n("fXoL"),s=n("LRne"),o=n("HDdC"),a=n("bOdf"),l=n("pLZG"),c=n("lJxs"),u=n("ofXK");class h{}class d{}class p{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>
vendor: 4,153 bytes, line 1
1{this.headers=new Map,e.split("\n").forEach(e=>{const t=e.indexOf(":");if(t>0){const n=e.slice(0,t),r=n.toLowerCase(),i=e.slice(t+1).trim();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(i):this.headers.set(r,[i])}})}:()=>{this.headers=new Map,Object.keys(e).forEach(t=>{let n=e[t];const r=t.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(r,n),this.maybeSetNormalizedName(t,r))})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof p?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(t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))})}clone(e){const t=new p;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof p?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){const t=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);const r=("a"===e.op?this.headers.get(t):void 0)||[];r.push(...n),this.headers.set(t,r);break;case"d":const i=e.value;if(i){let e=this.headers.get(t);if(!e)return;e=e.filter(e=>-1===i.indexOf(e)),0===e.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,e)}else this.headers.delete(t),this.normalizedNames.delete(t)}}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)))}}class f{encodeKey(e){return m(e)}encodeValue(e){return m(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}function m(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}class g{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new f,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){const n=new Map;e.length>0&&e.replace(/^\?/,"").split("&").forEach(e=>{const r=e.indexOf("="),[i,s]=-1==r?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,r)),t.decodeValue(e.slice(r+1))],o=n.get(i)||[];o.push(s),n.set(i,o)});return n}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{const n=e.fromObject[t];this.map.set(t,Array.isArray(n)?n:[n])})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}appendAll(e){const t=[];return Object.keys(e).forEach(n=>{const r=e[n];Array.isArray(r)?r.forEach(e=>{t.push({param:n,value:e,op:"a"})}):t.push({param:n,value:r,op:"a"})}),this.clone(t)}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map(e=>{const t=this.encoder.encodeKey(e);return this.map.get(e).map(e=>t+"="+this.encoder.encodeValue(e)).join("&")}).filter(e=>""!==e).join("&")}clone(e){const t=new g({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(e),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEac
1h(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":const t=("a"===e.op?this.map.get(e.param):void 0)||[];t.push(e.value),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let t=this.map.get(e.param)||[];const n=t.indexOf(e.value);-1!==n&&t.splice(n,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}}function v(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function y(e){return"undefined"!=typeof Blob&&e instanceof Blob}function b(e){return"undefined"!=typeof FormData&&e instanceof FormData}class w{constructor(e,t,n,r){let i;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,i=r):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.params&&(this.params=i.params)),this.headers||(this.headers=new p),this.params){const e=this.params.toString();if(0===e.length)this.urlWithParams=t;else{const n=t.indexOf("?"),r=-1===n?"?":n<t.length-1?"&":"";this.urlWithParams=t+r+e}}else this.params=new g,this.urlWithParams=t}serializeBody(){return null===this.body?null:v(this.body)||y(this.body)||b(this.body)||"string"==typeof this.body?this.body:this.body instanceof g?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||b(this.body)?null:y(this.body)?this.body.type||null:v(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof g?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(e={}){const t=e.method||this.method,n=e.url||this.url,r=e.responseType||this.responseType,i=void 0!==e.body?e.body:this.body,s=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,o=void 0!==e.reportProgress?e.reportProgress:this.reportProgress;let a=e.headers||this.headers,l=e.params||this.params;return void 0!==e.setHeaders&&(a=Object.keys(e.setHeaders).reduce((t,n)=>t.set(n,e.setHeaders[n]),a)),e.setParams&&(l=Object.keys(e.setParams).reduce((t,n)=>t.set(n,e.setParams[n]),l)),new w(t,n,i,{params:l,headers:a,reportProgress:o,responseType:r,withCredentials:s})}}!function(e){e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User"}(r||(r={}));class _{constructor(e,t=200,n="OK"){this.headers=e.headers||new p,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class x extends _{constructor(e={}){super(e),this.type=r.ResponseHeader}clone(e={}){return new x({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class C extends _{constructor(e={}){super(e),this.type=r.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new C({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class S extends _{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}}function E(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}class A{constructor(e){this.handler=e}request(e,t,n={}){let r;if(e instanceof w)r=e;else{let i,s;i=n.headers instanceof p?n.headers:new p(n.headers),n.params&&(s=n.params instanceof g?n.params:new g({fromObject:n.params})),r=new w(e,t,void 0!==n.body?n.body:null,{headers:i,params:s,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const i=Object(s.a)(r).pipe(Object(a.a)(e=>this.handler.handle(e)));if(e instanceof w||"events"===n.observe)return i;const o=i.pipe(Object(l.a)(e=>e instanceof C));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return o.pi
1pe(Object(c.a)(e=>{if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return o.pipe(Object(c.a)(e=>{if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return o.pipe(Object(c.a)(e=>{if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return o.pipe(Object(c.a)(e=>e.body))}case"response":return o;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:(new g).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,n={}){return this.request("PATCH",e,E(n,t))}post(e,t,n={}){return this.request("POST",e,E(n,t))}put(e,t,n={}){return this.request("PUT",e,
1E(n,t))}}A.\u0275fac=function(e){return new(e||A)(i.Vc(h))},A.\u0275prov=i.Ic({token:A,factory:A.\u0275fac}),A.ctorParameters=()=>[{type:h}];class k{constructor(e,t){this.next=e,this.interceptor=t}handle(e){return this.interceptor.intercept(e,this.next)}}const I=new i.F("HTTP_INTERCEPTORS");class T{intercept(e,t){return t.handle(e)}}T.\u0275fac=function(e){return new(e||T)},T.\u0275prov=i.Ic({token:T,factory:T.\u0275fac});let O=0;class D{}class P{constructor(e,t){this.callbackMap=e,this.document=t,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+O++}handle(e){if("JSONP"!==e.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==e.responseType)throw new Error("JSONP requests must use Json response type.");return new o.a(t=>{const n=this.nextCallback(),i=e.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${n}$1`),s=this.document.createElement("script");s.src=i;let o=null,a=!1,l=!1;this.callbackMap[n]=e=>{delete this.callbackMap[n],l||(o=e,a=!0)};const c=()=>{s.parentNode&&s.parentNode.removeChild(s),delete this.callbackMap[n]},u=e=>{l||this.resolvedPromise.then(()=>{c(),a?(t.next(new C({body:o,status:200,statusText:"OK",url:i})),t.complete()):t.error(new S({url:i,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})},h=e=>{l||(c(),t.error(new S({error:e,status:0,statusText:"JSONP Error",url:i})))};return s.addEventListener("load",u),s.addEventListener("error",h),this.document.body.appendChild(s),t.next({type:r.Sent}),()=>{l=!0,s.removeEventListener("load",u),s.removeEventListener("error",h),c()}})}}P.\u0275fac=function(e){return new(e||P)(i.Vc(D),i.Vc(u.c))},P.\u0275prov=i.Ic({token:P,factory:P.\u0275fac}),P.ctorParameters=()=>[{type:D},{type:void 0,decorators:[{type:i.C,args:[u.c]}]}];class M{constructor(e){this.jsonp=e}intercept(e,t){return"JSONP"===e.method?this.jsonp.handle(e):t.handle(e)}}M.\u0275fac=function(e){return new(e||M)(i.Vc(P))},M.\u0275prov=i.Ic({token:M,factory:M.\u0275fac}),M.ctorParameters=()=>[{type:P}];const N=/^\)\]\}',?\n/;class R{}class L{constructor(){}build(){return new XMLHttpRequest}}L.\u0275fac=function(e){return new(e||L)},L.\u0275prov=i.Ic({token:L,factory:L.\u0275fac}),L.ctorParameters=()=>[];class j{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new o.a(t=>{const n=this.xhrFactory.build();if(n.open(e.method,e.urlWithParams),e.withCredentials&&(n.withCredentials=!0),e.headers.forEach((e,t)=>n.setRequestHeader(e,t.join(","))),e.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const t=e.detectContentTypeHeader();null!==t&&n.setRequestHeader("Content-Type",t)}if(e.responseType){const t=e.responseType.toLowerCase();n.responseType="json"!==t?t:"text"}const i=e.serializeBody();let s=null;const o=()=>{if(null!==s)return s;const t=1223===n.status?204:n.status,r=n.statusText||"OK",i=new p(n.getAllResponseHeaders()),o=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(n)||e.url;return s=new x({headers:i,status:t,statusText:r,url:o}),s},a=()=>{let{headers:r,status:i,statusText:s,url:a}=o(),l=null;204!==i&&(l=void 0===n.response?n.responseText:n.response),0===i&&(i=l?200:0);let c=i>=200&&i<300;if("json"===e.responseType&&"string"==typeof l){const e=l;l=l.replace(N,"");try{l=""!==l?JSON.parse(l):null}catch(u){l=e,c&&(c=!1,l={error:u,text:l})}}c?(t.next(new C({body:l,headers:r,status:i,statusText:s,url:a||void 0})),t.complete()):t.error(new S({error:l,headers:r,status:i,statusText:s,url:a||void 0}))},l=e=>{const{url:r}=o(),i=new S({error:e,status:n.status||0,statusText:n.statusText||"Unknown Error",url:r||void 0});t.error(i)};let c=!1;const u=i=>{c||(t.next(o()),c=!0);let s={type:r.DownloadProgress,loaded:i.loaded};i.lengthComputable&&(s.total=i.total),"text"===e.responseType&&n.responseText&&(s.partialText=n.responseText),t.next(s)}
1,h=e=>{let n={type:r.UploadProgress,loaded:e.loaded};e.lengthComputable&&(n.total=e.total),t.next(n)};return n.addEventListener("load",a),n.addEventListener("error",l),n.addEventListener("timeout",l),n.addEventListener("abort",l),e.reportProgress&&(n.addEventListener("progress",u),null!==i&&n.upload&&n.upload.addEventListener("progress",h)),n.send(i),t.next({type:r.Sent}),()=>{n.removeEventListener("error",l),n.removeEventListener("abort",l),n.removeEventListener("load",a),n.removeEventListener("timeout",l),e.reportProgress&&(n.removeEventListener("progress",u),null!==i&&n.upload&&n.upload.removeEventListener("progress",h)),n.readyState!==n.DONE&&n.abort()}})}}j.\u0275fac=function(e){return new(e||j)(i.Vc(R))},j.\u0275prov=i.Ic({token:j,factory:j.\u0275fac}),j.ctorParameters=()=>[{type:R}];const F=new i.F("XSRF_COOKIE_NAME"),B=new i.F("XSRF_HEADER_NAME");class ${}class V{constructor(e,t,n){this.doc=e,this.platform=t,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(u.s)(e,this.cookieName),this.lastCookieString=e),this.lastToken}}V.\u0275fac=function(e){return new(e||V)(i.Vc(u.c),i.Vc(i.V),i.Vc(F))},V.\u0275prov=i.Ic({token:V,factory:V.\u0275fac}),V.ctorParameters=()=>[{type:void 0,decorators:[{type:i.C,args:[u.c]}]},{type:String,decorators:[{type:i.C,args:[i.V]}]},{type:String,decorators:[{type:i.C,args:[F]}]}];class U{constructor(e,t){this.tokenService=e,this.headerName=t}intercept(e,t){const n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);const r=this.tokenService.getToken();return null===r||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,r)})),t.handle(e)}}U.\u0275fac=function(e){return new(e||U)(i.Vc($),i.Vc(B))},U.\u0275prov=i.Ic({token:U,factory:U.\u0275fac}),U.ctorParameters=()=>[{type:$},{type:String,decorators:[{type:i.C,args:[B]}]}];class z{constructor(e,t){this.backend=e,this.injector=t,this.chain=null}handle(e){if(null===this.chain){const e=this.injector.get(I,[]);this.chain=e.reduceRight((e,t)=>new k(e,t),this.backend)}return this.chain.handle(e)}}function H(){return"object"==typeof window?window:{}}z.\u0275fac=function(e){return new(e||z)(i.Vc(d),i.Vc(i.G))},z.\u0275prov=i.Ic({token:z,factory:z.\u0275fac}),z.ctorParameters=()=>[{type:d},{type:i.G}];class q{static disable(){return{ngModule:q,providers:[{provide:U,useClass:T}]}}static withOptions(e={}){return{ngModule:q,providers:[e.cookieName?{provide:F,useValue:e.cookieName}:[],e.headerName?{provide:B,useValue:e.headerName}:[]]}}}q.\u0275fac=function(e){return new(e||q)},q.\u0275mod=i.Kc({type:q}),q.\u0275inj=i.Jc({providers:[U,{provide:I,useExisting:U,multi:!0},{provide:$,useClass:V},{provide:F,useValue:"XSRF-TOKEN"},{provide:B,useValue:"X-XSRF-TOKEN"}]});class G{}G.\u0275fac=function(e){return new(e||G)},G.\u0275mod=i.Kc({type:G}),G.\u0275inj=i.Jc({providers:[A,{provide:h,useClass:z},j,{provide:d,useExisting:j},L,{provide:R,useExisting:L}],imports:[[q.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),("undefined"==typeof ngJitMode||ngJitMode)&&i.nd(G,{imports:[q]});class W{}W.\u0275fac=function(e){return new(e||W)},W.\u0275mod=i.Kc({type:W}),W.\u0275inj=i.Jc({providers:[P,{provide:D,useFactory:H},{provide:I,useClass:M,multi:!0}]})},tyNb:function(e,t,n){"use strict";n.d(t,"a",function(){return st}),n.d(t,"b",function(){return kn}),n.d(t,"c",function(){return ne}),n.d(t,"d",function(){return te}),n.d(t,"e",function(){return ve}),n.d(t,"f",function(){return $n}),n.d(t,"g",function(){return xn}),n.d(t,"h",function(){return Pn}),n.d(t,"i",function(){return Mn}),n.d(t,"j",function(){return Qn}),n.d(t,"k",function(){return Le});var r=n("ofXK"),i=n("fXoL"),s=n("Cfvw"),o=n("LRne"),a=n("2Vo4"),l=n("z+Ro"),c=n("DH7j"),u=n("7o/Q");class h extends u.a{notifyNext(e,t,n,r,i){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}class d extends u.a{constructor(e,t,n){super(),this.parent=e,this.outerValue=t,this.outerIndex=n,this.index=0}_next(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}_error(e){this.parent.notifyError(e,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var p=n("SeVD"),f=n("HDdC");function m(e,t,n,r,i=new d(e,n,r)){if(!i.closed)return t instanceof f.a?t.subscribe(i):Object(p.a)(t)(i)}var g=n("yCtX");const v={};class y{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new b(e,this.resultSelector))}}class b extends h{constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(v),this.observables.push(e)}_complete(){const e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(let n=0;n<t;
1n++){const t=e[n];this.add(m(this,t,void 0,n))}}}notifyComplete(e){0==(this.active-=1)&&this.destination.complete()}notifyNext(e,t,n){const r=this.values,i=r[n],s=this.toRespond?i===v?--this.toRespond:this.toRespond:0;r[n]=t,0===s&&(this.resultSelector?this._tryResultSelector(r):this.destination.next(r.slice()))}_tryResultSelector(e){let t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}const w=(()=>{function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e})();var _=n("GyhO"),x=n("NXyV"),C=n("EY2u"),S=n("EQ5u"),E=n("XNiG"),A=n("lJxs"),k=n("eIep"),I=n("IzEk"),T=n("JX91");function O(e,t){let n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new D(e,t,n))}}class D{constructor(e,t,n=!1){this.accumulator=e,this.seed=t,this.hasSeed=n}call(e,t){return t.subscribe(new P(e,this.accumulator,this.seed,this.hasSeed))}}class P extends u.a{constructor(e,t,n,r){super(e),this.accumulator=t,this._seed=n,this.hasSeed=r,this.index=0}get seed(){return this._seed}set seed(e){this.hasSeed=!0,this._seed=e}_next(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}_tryNext(e){const t=this.index++;let n;try{n=this.accumulator(this.seed,e,t)}catch(r){this.destination.error(r)}this.seed=n,this.destination.next(n)}}var M=n("pLZG"),N=n("JIr8"),R=n("bOdf"),L=n("4I5i");function j(e){return function(t){return 0===e?Object(C.b)():t.lift(new F(e))}}class F{constructor(e){if(this.total=e,this.total<0)throw new L.a}call(e,t){return t.subscribe(new B(e,this.total))}}class B extends u.a{constructor(e,t){super(e),this.total=t,this.ring=new Array,this.count=0}_next(e){const t=this.ring,n=this.total,r=this.count++;if(t.length<n)t.push(e);else{t[r%n]=e}}_complete(){const e=this.destination;let t=this.count;if(t>0){const n=this.count>=this.total?this.total:this.count,r=this.ring;for(let i=0;i<n;i++){const i=t++%n;e.next(r[i])}}e.complete()}}function $(e=z){return t=>t.lift(new V(e))}class V{constructor(e){this.errorFactory=e}call(e,t){return t.subscribe(new U(e,this.errorFactory))}}class U extends u.a{constructor(e,t){super(e),this.errorFactory=t,this.hasValue=!1}_next(e){this.hasValue=!0,this.destination.next(e)}_complete(){if(this.hasValue)return this.destination.complete();{let t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}}function z(){return new w}function H(e=null){return t=>t.lift(new q(e))}class q{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new G(e,this.defaultValue))}}class G extends u.a{constructor(e,t){super(e),this.defaultValue=t,this.isEmpty=!0}_next(e){this.isEmpty=!1,this.destination.next(e)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var W=n("SpAZ");function Q(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Object(M.a)((t,n)=>e(t,n,r)):W.a,Object(I.a)(1),n?H(t):$(()=>new w))}var K=n("5+tZ"),X=n("vkgz"),Y=n("x+ZX"),Z=n("nYR2"),J=n("bHdf");class ee{constructor(e,t){this.id=e,this.url=t}}class te extends ee{constructor(e,t,n="imperative",r=null){super(e,t),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ne extends ee{constructor(e,t,n){super(e,t),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class re extends ee{constructor(e,t,n){super(e,t),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ie extends ee{constructor(e,t,n){super(e,t),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class se extends ee{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class oe extends ee{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ae extends ee{constructor(e,t,n,r,i){super(e,t),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class le extends ee{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ce extends ee{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ue{constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class he{constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class de{constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class pe{constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fe{constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class me{constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ge{constructor(e,t,n){this.routerEvent=e,this.position=t,this.anchor=n}toString(){const e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}}const ve="primary";class ye{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t[0]:t}return null}getAll(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function be(e){return new ye(e)}function we(e){const t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function _e(e,t,n){const r=n.path.split("/");if(r.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||r.length<e.length))return null;const i={};for(let s=0;s<r.length;s++){const t=r[s],n=e[s];if(t.startsWith(":"))i[t.substring(1)]=n;else if(t!==n.path)return null}return{consumed:e.slice(0,r.length),posParams:i}}function xe(e,t){const n=e?Object.keys(e):void 0,r=t?Object.keys(t):void 0;if(!n||!r||n.length!=r.length)return!1;let i;for(let s=0;s<n.length;s++)if(i=n[s],!Ce(e[i],t[i]))return!1;return!0}function Ce(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;const n=[...e].sort(),r=[...t].sort();return n.every((e,t)=>r[t]===e)}return e===t}function Se(e){return Array.prototype.concat.apply([],e)}function Ee(e){return e.length>0?e[e.length-1]:null}function Ae(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function ke(e){return Object(i.dc)(e)?e:Object(i.ec)(e)?Object(s.a)(Prom
1ise.resolve(e)):Object(o.a)(e)}function Ie(e,t,n){return n?function(e,t){return xe(e,t)}(e.queryParams,t.queryParams)&&Te(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>Ce(e[n],t[n]))}(e.queryParams,t.queryParams)&&Oe(e.root,t.root)}function Te(e,t){if(!Re(e.segments,t.segments))return!1;if(e.numberOfChildren!==t.numberOfChildren)return!1;for(const n in t.children){if(!e.children[n])return!1;if(!Te(e.children[n],t.children[n]))return!1}return!0}function Oe(e,t){return De(e,t,t.segments)}function De(e,t,n){if(e.segments.length>n.length){return!!Re(e.segments.slice(0,n.length),n)&&!t.hasChildren()}if(e.segments.length===n.length){if(!Re(e.segments,n))return!1;for(const n in t.children){if(!e.children[n])return!1;if(!Oe(e.children[n],t.children[n]))return!1}return!0}{const r=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!!Re(e.segments,r)&&(!!e.children[ve]&&De(e.children[ve],t,i))}}class Pe{constructor(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=be(this.queryParams)),this._queryParamMap}toString(){return Fe.serialize(this)}}class Me{constructor(e,t){this.segments=e,this.children=t,this.parent=null,Ae(t,(e,t)=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Be(this)}}class Ne{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=be(this.parameters)),this._parameterMap}toString(){return Ge(this)}}function Re(e,t){return e.length===t.length&&e.every((e,n)=>e.path===t[n].path)}class Le{}class je{parse(e){const t=new Ye(e);return new Pe(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){var t;return`${`/${$e(e.root,!0)}`}${function(e){const t=Object.keys(e).map(t=>{const n=e[t];return Array.isArray(n)?n.map(e=>`${Ue(t)}=${Ue(e)}`).join("&"):`${Ue(t)}=${Ue(n)}`});return t.length?`?${t.join("&")}`:""}(e.queryParams)}${"string"==typeof e.fragment?`#${t=e.fragment,encodeURI(t)}`:""}`}}const Fe=new je;function Be(e){return e.segments.map(e=>Ge(e)).join("/")}function $e(e,t){if(!e.hasChildren())return Be(e);if(t){const t=e.children[ve]?$e(e.children[ve],!1):"",n=[];return Ae(e.children,(e,t)=>{t!==ve&&n.push(`${t}:${$e(e,!1)}`)}),n.length>0?`${t}(${n.join("//")})`:t}{const t=function(e,t){let n=[];return Ae(e.children,(e,r)=>{r===ve&&(n=n.concat(t(e,r)))}),Ae(e.children,(e,r)=>{r!==ve&&(n=n.concat(t(e,r)))}),n}(e,(t,n)=>n===ve?[$e(e.children[ve],!1)]:[`${n}:${$e(t,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[ve]?`${Be(e)}/${t[0]}`:`${Be(e)}/(${t.join("//")})`}}function Ve(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ue(e){return Ve(e).replace(/%3B/gi,";")}function ze(e){return Ve(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function He(e){return decodeURIComponent(e)}function qe(e){return He(e.replace(/\+/g,"%20"))}function Ge(e){return`${ze(e.path)}${t=e.parameters,Object.keys(t).map(e=>`;${ze(e)}=${ze(t[e])}`).join("")}`;var t}const We=/^[^\/()?;=#]+/;function Qe(e){const t=e.match(We);return t?t[0]:""}const Ke=/^[^=?&#]+/;const Xe=/^[^?&#]+/;class Ye{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Me([],{}):new Me([],this.parseChildren())}parseQueryParams(){const e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n[ve]=new Me(e,t)),n}parseSegment(){const e=Qe(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(e),new Ne(He(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=Qe(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=Qe(this.remaining);e&&(n=e,this.capture(n))}e[He(t)]=He(n)}parseQueryParam(e){const t=function(e){const t=e.match(Ke);return t?t[0]:""}(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=function(e){const t=e.match(Xe);return t?t[0]:""}(this.remaining);e&&(n=e,this.capture(n))}const r=qe(t),i=qe(n);if(e.hasOwnProperty(r)){let t=e[r];Array.isArray(t)||(t=[t],e[r]=t),t.push(i)}else e[r]=i}parseParens(e){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Qe(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let i;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):e&&(i=ve);const s=this.parseChildren();t[i]=1===Object.keys(s).length?s[ve]:new Me([],s),this.consumeOptional("//")}return t}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new Error(`Expected "${e}".`)}}class Ze{constructor(e){this._root=e}get root(){return this._root.value}
1parent(e){const t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}children(e){const t=Je(e,this._root);return t?t.children.map(e=>e.value):[]}firstChild(e){const t=Je(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=et(e,this._root);if(t.length<2)return[];return t[t.length-2].children.map(e=>e.value).filter(t=>t!==e)}pathFromRoot(e){return et(e,this._root).map(e=>e.value)}}function Je(e,t){if(e===t.value)return t;for(const n of t.children){const t=Je(e,n);if(t)return t}return null}function et(e,t){if(e===t.value)return[t];for(const n of t.children){const r=et(e,n);if(r.length)return r.unshift(t),r}return[]}class tt{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function nt(e){const t={};return e&&e.children.forEach(e=>t[e.value.outlet]=e),t}class rt extends Ze{constructor(e,t){super(e),this.snapshot=t,ct(this,e)}toString(){return this.snapshot.toString()}}function it(e,t){const n=function(e,t){const n=new at([],{},{},"",{},ve,t,null,e.root,-1,{});return new lt("",new tt(n,[]))}(e,t),r=new a.a([new Ne("",{})]),i=new a.a({}),s=new a.a({}),o=new a.a({}),l=new a.a(""),c=new st(r,i,o,l,s,ve,t,n.root);return c.snapshot=n.root,new rt(new tt(c,[]),n)}class st{constructor(e,t,n,r,i,s,o,a){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=s,this.component=o,this._futureSnapshot=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(Object(A.a)(e=>be(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(A.a)(e=>be(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ot(e,t="emptyOnly"){const n=e.pathFromRoot;let r=0;if("always"!==t)for(r=n.length-1;r>=1;){const e=n[r],t=n[r-1];if(e.routeConfig&&""===e.routeConfig.path)r--;else{if(t.component)break;r--}}return function(e){return e.reduce((e,t)=>({params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class at{constructor(e,t,n,r,i,s,o,a,l,c,u){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=s,this.component=o,this.routeConfig=a,this._urlSegment=l,this._lastPathIndex=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=be(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=be(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(e=>e.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class lt extends Ze{constructor(e,t){super(t),this.url=e,ct(this,t)}toString(){return ut(this._root)}}function ct(e,t){t.value._routerState=e,t.children.forEach(t=>ct(e,t))}function ut(e){const t=e.children.length>0?` { ${e.children.map(ut).join(", ")} } `:"";return`${e.value}${t}`}function ht(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,xe(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),xe(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!xe(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),xe(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function dt(e,t){const n=xe(e.params,t.params)&&(r=e.url,i=t.url,Re(r,i)&&r.every((e,t)=>xe(e.parameters,i[t].parameters)));var r,i;const s=!e.parent!=!t.parent;return n&&!s&&(!e.parent||dt(e.parent,t.parent))}function pt(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const i=function(e,t,n){return t.children.map(t=>{for(const r of n.children)if(e.shouldReuseRoute(t.value,r.value.snapshot))return pt(e,t,r);return pt(e,t)})}
1(e,t,n);return new tt(r,i)}{if(e.shouldAttach(t.value)){const n=e.retrieve(t.value);if(null!==n){const e=n.route;return ft(t,e),e}}const n=(r=t.value,new st(new a.a(r.url),new a.a(r.params),new a.a(r.queryParams),new a.a(r.fragment),new a.a(r.data),r.outlet,r.component,r)),i=t.children.map(t=>pt(e,t));return new tt(n,i)}var r}function ft(e,t){if(e.value.routeConfig!==t.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==t.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");t.value._futureSnapshot=e.value;for(let n=0;n<e.children.length;++n)ft(e.children[n],t.children[n])}function mt(e,t,n,r,i){if(0===n.length)return yt(t.root,t.root,t,r,i);const s=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new wt(!0,0,e);let t=0,n=!1;const r=e.reduce((e,r,i)=>{if("object"==typeof r&&null!=r){if(r.outlets){const t={};return Ae(r.outlets,(e,n)=>{t[n]="string"==typeof e?e.split("/"):e}),[...e,{outlets:t}]}if(r.segmentPath)return[...e,r.segmentPath]}return"string"!=typeof r?[...e,r]:0===i?(r.split("/").forEach((r,i)=>{0==i&&"."===r||(0==i&&""===r?n=!0:".."===r?t++:""!=r&&e.push(r))}),e):[...e,r]},[]);return new wt(n,t,r)}(n);if(s.toRoot())return yt(t.root,new Me([],{}),t,r,i);const o=function(e,t,n){if(e.isAbsolute)return new _t(t.root,!0,0);if(-1===n.snapshot._lastPathIndex){const e=n.snapshot._urlSegment,r=e===t.root;return new _t(e,r,0)}const r=gt(e.commands[0])?0:1,i=n.snapshot._lastPathIndex+r;return function(e,t,n){let r=e,i=t,s=n;for(;s>i;){if(s-=i,r=r.parent,!r)throw new Error("Invalid number of '../'");i=r.segments.length}return new _t(r,!1,i-s)}(n.snapshot._urlSegment,i,e.numberOfDoubleDots)}(s,t,e),a=o.processChildren?Ct(o.segmentGroup,o.index,s.commands):xt(o.segmentGroup,o.index,s.commands);return yt(o.segmentGroup,a,t,r,i)}function gt(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function vt(e){return"object"==typeof e&&null!=e&&e.outlets}function yt(e,t,n,r,i){let s={};return r&&Ae(r,(e,t)=>{s[t]=Array.isArray(e)?e.map(e=>`${e}`):`${e}`}),n.root===e?new Pe(t,s,i):new Pe(bt(n.root,e,t),s,i)}function bt(e,t,n){const r={};return Ae(e.children,(e,i)=>{r[i]=e===t?n:bt(e,t,n)}),new Me(e.segments,r)}class wt{constructor(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&gt(n[0]))throw new Error("Root segment cannot have matrix parameters");const r=n.find(vt);if(r&&r!==Ee(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class _t{constructor(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}}function xt(e,t,n){if(e||(e=new Me([],{})),0===e.segments.length&&e.hasChildren())return Ct(e,t,n);const r=function(e,t,n){let r=0,i=t;const s={match:!1,pathIndex:0,commandIndex:0};for(;i<e.segments.length;){if(r>=n.length)return s;const t=e.segments[i],o=n[r];if(vt(o))break;const a=`${o}`,l=r<n.length-1?n[r+1]:null;if(i>0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!kt(a,l,t))return s;r+=2}else{if(!kt(a,{},t))return s;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(e,t,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){const t=new Me(e.segments.slice(0,r.pathIndex),{});return t.children[ve]=new Me(e.segments.slice(r.pathIndex),e.children),Ct(t,0,i)}return r.match&&0===i.length?new Me(e.segments,{}):r.match&&!e.hasChildren()?St(e,t,n):r.match?Ct(e,0,i):St(e,t,n)}function Ct(e,t,n){if(0===n.length)return new Me(e.segments,{});{const r=function(e){return vt(e[0])?e[0].outlets:{[ve]:e}}(n),i={};return Ae(r,(n,r)=>{"string"==typeof n&&(n=[n]),null!==n&&(i[r]=xt(e.children[r],t,n))}),Ae(e.children,(e,t)=>{void 0===r[t]&&(i[t]=e)}),new Me(e.segments,i)}}function St(e,t,n){const r=e.segments.slice(0,t);let i=0;for(;i<n.length;){const s=n[i];if(vt(s)){const e=Et(s.outlets);return new Me(r,e)}if(0===i&&gt(n[0])){const s=e.segments[t];r.push(new Ne(s.path,At(n[0]))),i++;continue}const o=vt(s)?s.outlets[ve]:`${s}`,a=i<n.length-1?n[i+1]:null;o&&a&&gt(a)?(r.push(new Ne(o,At(a))),i+=2):(r.push(new Ne(o,{})),i++)}return new Me(r,{})}function Et(e){const t={};return Ae(e,(e,n)=>{"string"==typeof e&&(e=[e]),null!==e&&(t[n]=St(new Me([],{}),0,e))}),t}function At(e){const t={};return Ae(e,(e,n)=>t[n]=`${e}`),t}function kt(e,t,n){return e==n.path&&xe(t,n.parameters)}class It{constructor(e,t,n,r){this.routeReuseStrategy=e,this.futureState=t,this.currState=n,this.forwardEvent=r}activate(e){const t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),ht(this.futureState.root),this.activateChildRoutes(t,n,e)}
1deactivateChildRoutes(e,t,n){const r=nt(t);e.children.forEach(e=>{const t=e.value.outlet;this.deactivateRoutes(e,r[t],n),delete r[t]}),Ae(r,(e,t)=>{this.deactivateRouteAndItsChildren(e,n)})}deactivateRoutes(e,t,n){const r=e.value,i=t?t.value:null;if(r===i)if(r.component){const i=n.getContext(r.outlet);i&&this.deactivateChildRoutes(e,t,i.children)}else this.deactivateChildRoutes(e,t,n);else i&&this.deactivateRouteAndItsChildren(t,n)}deactivateRouteAndItsChildren(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){const n=t.getContext(e.value.outlet);if(n&&n.outlet){const t=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:t,route:e,contexts:r})}}deactivateRouteAndOutlet(e,t){const n=t.getContext(e.value.outlet),r=n&&e.value.component?n.children:t,i=nt(e);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],r);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated(),n.attachRef=null,n.resolver=null,n.route=null)}activateChildRoutes(e,t,n){const r=nt(t);e.children.forEach(e=>{this.activateRoutes(e,r[e.value.outlet],n),this.forwardEvent(new me(e.value.snapshot))}),e.children.length&&this.forwardEvent(new pe(e.value.snapshot))}activateRoutes(e,t,n){const r=e.value,i=t?t.value:null;if(ht(r),r===i)if(r.component){const i=n.getOrCreateContext(r.outlet);this.activateChildRoutes(e,t,i.children)}else this.activateChildRoutes(e,t,n);else if(r.component){const t=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const e=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),t.children.onOutletReAttached(e.contexts),t.attachRef=e.componentRef,t.route=e.route.value,t.outlet&&t.outlet.attach(e.componentRef,e.route.value),Tt(e.route)}else{const n=function(e){for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(r.snapshot),i=n?n.module.componentFactoryResolver:null;t.attachRef=null,t.route=r,t.resolver=i,t.outlet&&t.outlet.activateWith(r,i),this.activateChildRoutes(e,null,t.children)}}else this.activateChildRoutes(e,null,n)}}function Tt(e){ht(e.value),e.children.forEach(Tt)}class Ot{constructor(e,t){this.routes=e,this.module=t}}function Dt(e){return"function"==typeof e}function Pt(e){return e instanceof Pe}const Mt=Symbol("INITIAL_VALUE");function Nt(){return Object(k.a)(e=>function(...e){let t,n;return Object(l.a)(e[e.length-1])&&(n=e.pop()),"function"==typeof e[e.length-1]&&(t=e.pop()),1===e.length&&Object(c.a)(e[0])&&(e=e[0]),Object(g.a)(e,n).lift(new y(t))}(e.map(e=>e.pipe(Object(I.a)(1),Object(T.a)(Mt)))).pipe(O((e,t)=>{let n=!1;return t.reduce((e,r,i)=>{if(e!==Mt)return e;if(r===Mt&&(n=!0),!n){if(!1===r)return r;if(i===t.length-1||Pt(r))return r}return e},e)},Mt),Object(M.a)(e=>e!==Mt),Object(A.a)(e=>Pt(e)?e:!0===e),Object(I.a)(1)))}class Rt{}function Lt(e,t=""){for(let n=0;n<e.length;n++){const r=e[n];jt(r,Ft(t,r))}}function jt(e,t){e.children&&Lt(e.children,t)}function Ft(e,t){return t?e||t.path?e&&!t.path?`${e}/`:!e&&t.path?t.path:`${e}/${t.path}`:"":e}function Bt(e){const t=e.children&&e.children.map(Bt),n=t?Object.assign(Object.assign({},e),{children:t}):Object.assign({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&n.outlet!==ve&&(n.component=Rt),n}function $t(e){return e.outlet||ve}function Vt(e,t){const n=e.filter(e=>$t(e)===t);return n.push(...e.filter(e=>$t(e)!==t)),n}Rt.\u0275fac=function(e){return new(e||Rt)},Rt.\u0275cmp=i.Gc({type:Rt,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&i.Nc(0,"router-outlet")},directives:function(){return[jn]},encapsulation:2});const Ut={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function zt(e,t,n){var r;if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?Object.assign({},Ut):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const i=(t.matcher||_e)(n,e,t);if(!i)return Object.assign({},Ut);const s={};Ae(i.posParams,(e,t)=>{s[t]=e.path});const o=i.consumed.length>0?Object.assign(Object.assign({},s),i.consumed[i.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:i.consumed,lastChild:i.consumed.length,parameters:o,positionalParamSegments:null!==(r=i.posParams)&&void 0!==r?r:{}}}function Ht(e,t,n,r,i="corrected"){if(n.length>0&&function(e,t,n){return n.some(n=>qt(e,t,n)&&$t(n)!==ve)}(e,n,r)){const i=new Me(t,function(e,t,n,r){const i={};i[ve]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;for(const s of n)if(""===s.path&&$t(s)!==ve){const n=new Me([],{});n._sourceSegment=e,n._segmentIndexShift=t.length,i[$t(s)]=n}return i}(e,t,r,new Me(n,e.children)));return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some(n=>qt(e,t,n))}(e,n,r)){const s=new Me(e.segments,function(e,t,n,r,i,s){const o={};for(const a of r)if(qt(e,n,a)&&!i[$t(a)]){const n=new Me([],{});n._sourceSegment=e,n._segmentIndexShift="legacy"===s?e.segments.length:t.length,o[$t(a)]=n}return Object.assign(Object.assign({},i),o)}(e,t,n,r,e.children,i));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}const s=new Me(e.segments,e.children);return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}function qt(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function Gt(e,t,n,r){return!!($t(e)===r||r!==ve&&qt(t,n,e))&&("**"===e.path||zt(t,e,n).matched)}function Wt(e,t,n){return 0===t.length&&!e.children[n]}class Qt{constructor(e){this.segmentGroup=e||null}}class Kt{constructor(e){this.urlTree=e}}function Xt(e){return new f.a(t=>t.error(new Qt(e)))}function Yt(e){return new f.a(t=>t.error(new Kt(e)))}function Zt(e){return new f.a(t=>t.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${e}'`)))}
1class Jt{constructor(e,t,n,r,s){this.configLoader=t,this.urlSerializer=n,this.urlTree=r,this.config=s,this.allowRedirects=!0,this.ngModule=e.get(i.P)}apply(){const e=Ht(this.urlTree.root,[],[],this.config).segmentGroup,t=new Me(e.segments,e.children);return this.expandSegmentGroup(this.ngModule,this.config,t,ve).pipe(Object(A.a)(e=>this.createUrlTree(en(e),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Object(N.a)(e=>{if(e instanceof Kt)return this.allowRedirects=!1,this.match(e.urlTree);if(e instanceof Qt)throw this.noMatchError(e);throw e}))}match(e){return this.expandSegmentGroup(this.ngModule,this.config,e.root,ve).pipe(Object(A.a)(t=>this.createUrlTree(en(t),e.queryParams,e.fragment))).pipe(Object(N.a)(e=>{if(e instanceof Qt)throw this.noMatchError(e);throw e}))}noMatchError(e){return new Error(`Cannot match any routes. URL Segment: '${e.segmentGroup}'`)}createUrlTree(e,t,n){const r=e.segments.length>0?new Me([],{[ve]:e}):e;return new Pe(r,t,n)}expandSegmentGroup(e,t,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(Object(A.a)(e=>new Me([],e))):this.expandSegment(e,n,t,n.segments,r,!0)}expandChildren(e,t,n){const r=[];for(const i of Object.keys(n.children))"primary"===i?r.unshift(i):r.push(i);return Object(s.a)(r).pipe(Object(R.a)(r=>{const i=n.children[r],s=Vt(t,r);return this.expandSegmentGroup(e,s,i,r).pipe(Object(A.a)(e=>({segment:e,outlet:r})))}),O((e,t)=>
1(e[t.outlet]=t.segment,e),{}),function(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Object(M.a)((t,n)=>e(t,n,r)):W.a,j(1),n?H(t):$(()=>new w))}())}expandSegment(e,t,n,r,i,a){return Object(s.a)(n).pipe(Object(R.a)(s=>this.expandSegmentAgainstRoute(e,t,n,s,r,i,a).pipe(Object(N.a)(e=>{if(e instanceof Qt)return Object(o.a)(null);throw e}))),Q(e=>!!e),Object(N.a)((e,n)=>{if(e instanceof w||"EmptyError"===e.name){if(Wt(t,r,i))return Object(o.a)(new Me([],{}));throw new Qt(t)}throw e}))}expandSegmentAgainstRoute(e,t,n,r,i,s,o){return Gt(r,t,i,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,i,s):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,r,i,s):Xt(t):Xt(t)}expandSegmentAgainstRouteUsingRedirect(e,t,n,r,i,s){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,s):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,i,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,t,n,r){const i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Yt(i):this.lineralizeSegments(n,i).pipe(Object(K.a)(n=>{const i=new Me(n,{});return this.expandSegment(e,i,t,n,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,i,s){const{matched:o,consumedSegments:a,lastChild:l,positionalParamSegments:c}=zt(t,r,i);if(!o)return Xt(t);const u=this.applyRedirectCommands(a,r.redirectTo,c);return r.redirectTo.startsWith("/")?Yt(u):this.lineralizeSegments(r,u).pipe(Object(K.a)(r=>this.expandSegment(e,t,n,r.concat(i.slice(l)),s,!1)))}matchSegmentAgainstRoute(e,t,n,r,i){if("**"===n.path){if(n.loadChildren){return(n._loadedConfig?Object(o.a)(n._loadedConfig):this.configLoader.load(e.injector,n)).pipe(Object(A.a)(e=>(n._loadedConfig=e,new Me(r,{}))))}return Object(o.a)(new Me(r,{}))}const{matched:s,consumedSegments:a,lastChild:l}=zt(t,n,r);if(!s)return Xt(t);const c=r.slice(l);return this.getChildConfig(e,n,r).pipe(Object(K.a)(e=>{const r=e.module,s=e.routes,{segmentGroup:l,slicedSegments:u}=Ht(t,a,c,s),h=new Me(l.segments,l.children);if(0===u.length&&h.hasChildren()){return this.expandChildren(r,s,h).pipe(Object(A.a)(e=>new Me(a,e)))}if(0===s.length&&0===u.length)return Object(o.a)(new Me(a,{}));const d=$t(n)===i;return this.expandSegment(r,h,s,u,d?ve:i,!0).pipe(Object(A.a)(e=>new Me(a.concat(e.segments),e.children)))}))}getChildConfig(e,t,n){return t.children?Object(o.a)(new Ot(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Object(o.a)(t._loadedConfig):this.runCanLoadGuards(e.injector,t,n).pipe(Object(K.a)(n=>n?this.configLoader.load(e.injector,t).pipe(Object(A.a)(e=>(t._loadedConfig=e,e))):function(e){return new f.a(t=>t.error(we(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`)))}(t))):Object(o.a)(new Ot([],e))}runCanLoadGuards(e,t,n){const r=t.canLoad;if(!r||0===r.length)return Object(o.a)(!0);const i=r.map(r=>{const i=e.get(r);let s;if(function(e){return e&&Dt(e.canLoad)}(i))s=i.canLoad(t,n);else{if(!Dt(i))throw new Error("Invalid CanLoad guard");s=i(t,n)}return ke(s)});return Object(o.a)(i).pipe(Nt(),Object(X.a)(e=>{if(!Pt(e))return;const t=we(`Redirecting to "${this.urlSerializer.serialize(e)}"`);throw t.url=e,t}),Object(A.a)(e=>!0===e))}lineralizeSegments(e,t){let n=[],r=t.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Object(o.a)(n);if(r.numberOfChildren>1||!r.children[ve])return Zt(e.redirectTo);r=r.children[ve]}}applyRedirectCommands(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}applyRedirectCreatreUrlTree(e,t,n,r){const i=this.createSegmentGroup(e,t.root,n,r);return new Pe(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const n={};return Ae(e,(e,r)=>{if("string"==typeof e&&e.startsWith(":")){const i=e.substring(1);n[r]=t[i]}else n[r]=e}),n}createSegmentGroup(e,t,n,r){const i=this.createSegments(e,t.segments,n,r);let s={};return Ae(t.children,(t,i)=>{s[i]=this.createSegmentGroup(e,t,n,r)}),new Me(i,s)}createSegments(e,t,n,r){return t.map(t=>t.path.startsWith(":")?this.findPosParam(e,t,r):this.findOrReturn(t,n))}findPosParam(e,t,n){const r=n[t.path.substring(1)];if(!r)throw new Error(`Cannot redirect to '${e}'. Cannot find '${t.path}'.`);return r}findOrReturn(e,t){let n=0;for(const r of t){if(r.path===e.path)return t.splice(n),r;n++}return e}}function en(e){const t={};for(const n of Object.keys(e.children)){const r=en(e.children[n]);(r.segments.length>0||r.hasChildren())&&(t[n]=r)}return function(e){if(1===e.numberOfChildren&&e.children[ve]){const t=e.children[ve];return new Me(e.segments.concat(t.segments),t.children)}return e}(new Me(e.segments,t))}function tn(e,t,n,r){return Object(k.a)(i=>function(e,t,n,r,i){return new Jt(e,t,n,r,i).apply()}
1(e,t,n,i.extractedUrl,r).pipe(Object(A.a)(e=>Object.assign(Object.assign({},i),{urlAfterRedirects:e}))))}class nn{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class rn{constructor(e,t){this.component=e,this.route=t}}function sn(e,t,n){const r=e._root;return an(r,t?t._root:null,n,[r.value])}function on(e,t,n){const r=function(e){if(!e)return null;for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(t);return(r?r.module.injector:n).get(e)}function an(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const s=nt(t);return e.children.forEach(e=>{!function(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const s=e.value,o=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){const l=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Re(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Re(e.url,t.url)||!xe(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!dt(e,t)||!xe(e.queryParams,t.queryParams);case"paramsChange":default:return!dt(e,t)}}(o,s,s.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new nn(r)):(s.data=o.data,s._resolvedData=o._resolvedData),s.component?an(e,t,a?a.children:null,r,i):an(e,t,n,r,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new rn(a.outlet.component,o))}else o&&ln(t,a,i),i.canActivateChecks.push(new nn(r)),s.component?an(e,null,a?a.children:null,r,i):an(e,null,n,r,i)}(e,s[e.value.outlet],n,r.concat([e.value]),i),delete s[e.value.outlet]}),Ae(s,(e,t)=>ln(e,n.getContext(t),i)),i}
1function ln(e,t,n){const r=nt(e),i=e.value;Ae(r,(e,r)=>{i.component?ln(e,t?t.children.getContext(r):null,n):ln(e,t,n)}),i.component&&t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new rn(t.outlet.component,i)):n.canDeactivateChecks.push(new rn(null,i))}function cn(e,t){return Object(K.a)(n=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:a,canDeactivateChecks:l}}=n;return 0===l.length&&0===a.length?Object(o.a)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,r){return Object(s.a)(e).pipe(Object(K.a)(e=>function(e,t,n,r,i){const s=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!s||0===s.length)return Object(o.a)(!0);const a=s.map(s=>{const o=on(s,t,i);let a;if(function(e){return e&&Dt(e.canDeactivate)}(o))a=ke(o.canDeactivate(e,t,n,r));else{if(!Dt(o))throw new Error("Invalid CanDeactivate guard");a=ke(o(e,t,n,r))}return a.pipe(Q())});return Object(o.a)(a).pipe(Nt())}(e.component,e.route,n,t,r)),Q(e=>!0!==e,!0))}(l,r,i,e).pipe(Object(K.a)(n=>n&&"boolean"==typeof n?function(e,t,n,r){return Object(s.a)(t).pipe(Object(R.a)(t=>Object(_.a)(function(e,t){null!==e&&t&&t(new de(e));return Object(o.a)(!0)}(t.route.parent,r),function(e,t){null!==e&&t&&t(new fe(e));return Object(o.a)(!0)}(t.route,r),function(e,t,n){const r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(e=>function(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)).filter(e=>null!==e).map(t=>Object(x.a)(()=>{const i=t.guards.map(i=>{const s=on(i,t.node,n);let o;if(function(e){return e&&Dt(e.canActivateChild)}(s))o=ke(s.canActivateChild(r,e));else{if(!Dt(s))throw new Error("Invalid CanActivateChild guard");o=ke(s(r,e))}return o.pipe(Q())});return Object(o.a)(i).pipe(Nt())}));return Object(o.a)(i).pipe(Nt())}(e,t.path,n),function(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return Object(o.a)(!0);const i=r.map(r=>Object(x.a)(()=>{const i=on(r,t,n);let s;if(function(e){return e&&Dt(e.canActivate)}(i))s=ke(i.canActivate(t,e));else{if(!Dt(i))throw new Error("Invalid CanActivate guard");s=ke(i(t,e))}return s.pipe(Q())}));return Object(o.a)(i).pipe(Nt())}(e,t.route,n))),Q(e=>!0!==e,!0))}(r,a,e,t):Object(o.a)(n)),Object(A.a)(e=>Object.assign(Object.assign({},n),{guardsResult:e})))})}class un{}function hn(e){return new f.a(t=>t.error(e))}class dn{constructor(e,t,n,r,i,s){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=i,this.relativeLinkResolution=s}recognize(){const e=Ht(this.urlTree.root,[],[],this.config.filter(e=>void 0===e.redirectTo),this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,ve);if(null===t)return null;const n=new at([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},ve,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new tt(n,t),i=new lt(this.url,r);return this.inheritParamsAndData(i._root),i}inheritParamsAndData(e){const t=e.value,n=ot(t,this.paramsInheritanceStrategy);t.params=Object.freeze(n.params),t.data=Object.freeze(n.data),e.children.forEach(e=>this.inheritParamsAndData(e))}processSegmentGroup(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}processChildren(e,t){const n=[];for(const i of Object.keys(t.children)){const r=t.children[i],s=Vt(e,i),o=this.processSegmentGroup(s,r,i);if(null===o)return null;n.push(...o)}const r=fn(n);return r.sort((e,t)=>e.value.outlet===ve?-1:t.value.outlet===ve?1:e.value.outlet.localeCompare(t.value.outlet)),r}processSegment(e,t,n,r){for(const i of e){const e=this.processSegmentAgainstRoute(i,t,n,r);if(null!==e)return e}return Wt(t,n,r)?[]:null}processSegmentAgainstRoute(e,t,n,r){if(e.redirectTo||!Gt(e,t,n,r))return null;let i,s=[],o=[];if("**"===e.path){const r=n.length>0?Ee(n).parameters:{};i=new at(n,r,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,vn(e),$t(e),e.component,e,mn(t),gn(t)+n.length,yn(e))}else{const r=zt(t,e,n);if(!r.matched)return null;s=r.consumedSegments,o=n.slice(r.lastChild),i=new at(s,r.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,vn(e),$t(e),e.component,e,mn(t),gn(t)+s.length,yn(e))}const a=function(e){if(e.children)return e.children;if(e.loadChildren)return e._loadedConfig.routes;return[]}(e),{segmentGroup:l,slicedSegments:c}=Ht(t,s,o,a.filter(e=>void 0===e.redirectTo),this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const e=this.processChildren(a,l);return null===e?null:[new tt(i,e)]}if(0===a.length&&0===c.length)return[new tt(i,[])];const u=$t(e)===r,h=this.processSegment(a,l,c,u?ve:r);return null===h?null:[new tt(i,h)]}}function pn(e){const t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function fn(e){const t=[],n=new Set;for(const r of e){if(!pn(r)){t.push(r);continue}const e=t.find(e=>r.value.routeConfig===e.value.routeConfig);void 0!==e?(e.children.push(...r.children),n.add(e)):t.push(r)}for(const r of n){const e=fn(r.children);t.push(new tt(r.value,e))}return t.filter(e=>!n.has(e))}function mn(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function gn(e){let t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift?t._segmentIndexShift:0;return n-1}function vn(e){return e.data||{}}function yn(e){return e.resolve||{}}function bn(e,t,n,r,i){return Object(K.a)(s=>function(e,t,n,r,i="emptyOnly",s="legacy"){try{const a=new dn(e,t,n,r,i,s).recognize();return null===a?hn(new un):Object(o.a)(a)}catch(a){return hn(a)}}(e,t,s.urlAfterRedirects,n(s.urlAfterRedirects),r,i).pipe(Object(A.a)(e=>Object.assign(Object.assign({},s),{targetSnapshot:e}))))}function wn(e,t){return Object(K.a)(n=>
1{const{targetSnapshot:r,guards:{canActivateChecks:i}}=n;if(!i.length)return Object(o.a)(n);let a=0;return Object(s.a)(i).pipe(Object(R.a)(n=>function(e,t,n,r){return function(e,t,n,r){const i=Object.keys(e);if(0===i.length)return Object(o.a)({});const a={};return Object(s.a)(i).pipe(Object(K.a)(i=>function(e,t,n,r){const i=on(e,t,r);return i.resolve?ke(i.resolve(t,n)):ke(i(t,n))}(e[i],t,n,r).pipe(Object(X.a)(e=>{a[i]=e}))),j(1),Object(K.a)(()=>Object.keys(a).length===i.length?Object(o.a)(a):C.a))}(e._resolve,e,t,r).pipe(Object(A.a)(t=>(e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),ot(e,n).resolve),null)))}(n.route,r,e,t)),Object(X.a)(()=>a++),j(1),Object(K.a)(e=>a===i.length?Object(o.a)(n):C.a))})}function _n(e){return Object(k.a)(t=>{const n=e(t);return n?Object(s.a)(n).pipe(Object(A.a)(()=>t)):Object(o.a)(t)})}class xn{}class Cn extends class{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}{}const Sn=new i.F("ROUTES");class En{constructor(e,t,n,r){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=r}load(e,t){if(t._loader$)return t._loader$;this.onLoadStartListener&&this.onLoadStartListener(t);const n=this.loadModuleFactory(t.loadChildren).pipe(Object(A.a)(n=>{this.onLoadEndListener&&this.onLoadEndListener(t);const r=n.create(e);return new Ot(Se(r.injector.get(Sn,void 0,i.D.Self|i.D.Optional)).map(Bt),r)}),Object(N.a)(e=>{throw t._loader$=void 0,e}));return t._loader$=new S.a(n,()=>new E.a).pipe(Object(Y.a)()),t._loader$}loadModuleFactory(e){return"string"==typeof e?Object(s.a)(this.loader.load(e)):ke(e()).pipe(Object(K.a)(e=>e instanceof i.N?Object(o.a)(e):Object(s.a)(this.compiler.compileModuleAsync(e))))}}class An{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new kn,this.attachRef=null}}class kn{constructor(){this.contexts=new Map}onChildOutletCreated(e,t){const n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}onChildOutletDestroyed(e){const t=this.getContext(e);t&&(t.outlet=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new An,this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}}class In{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}}function Tn(e){throw e}function On(e,t,n){return t.parse("/")}function Dn(e,t){return Object(o.a)(null)}class Pn{constructor(e,t,n,r,s,o,l,c){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=r,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new E.a,this.errorHandler=Tn,this.malformedUriErrorHandler=On,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Dn,afterPreactivation:Dn},this.urlHandlingStrategy=new In,this.routeReuseStrategy=new Cn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected";this.ngModule=s.get(i.P),this.console=s.get(i.zb);const u=s.get(i.R);this.isNgZoneEnabled=u instanceof i.R&&i.R.isInAngularZone(),this.resetConfig(c),this.currentUrlTree=new Pe(new Me([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new En(o,l,e=>this.triggerEvent(new ue(e)),e=>this.triggerEvent(new he(e))),this.routerState=it(this.currentUrlTree,this.rootComponentType),this.transitions=new a.a({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}setupNavigations(e){const t=this.events;return e.pipe(Object(M.a)(e=>0!==e.id),Object(A.a)(e=>Object.assign(Object.assign({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl)})),Object(k.a)(e=>{let n=!1,r=!1;return Object(o.a)(e).pipe(Object(X.a)(e=>{this.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Object(k.a)(e=>{const n=!this.navigated||e.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return Object(o.a)(e).pipe(Object(k.a)(e=>{const n=this.transitions.getValue();return t.next(new te(e.id,this.serializeUrl(e.extractedUrl),e.source,e.restoredState)),n!==this.transitions.getValue()?C.a:Promise.resolve(e)}),tn(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),Object(X.a)(e=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:e.urlAfterRedirects})}),bn(this.rootComponentType,this.config,e=>this.serializeUrl(e),this.paramsInheritanceStrategy,this.relativeLinkResolution),Object(X.a)(e=>{"eager"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects);const n=new se(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.next(n)}));if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:r,source:i,restoredState:s,extras:a}=e,l=new te(n,this.serializeUrl(r),i,s);t.next(l);const c=it(r,this.rootComponentType).snapshot;return Object(o.a)(Object.assign(Object.assign({},e),{targetSnapshot:c,urlAfterRedirects:r,extras:Object.assign(Object.assign({},a),{skipLocationChange:!1,replaceUrl:!1})}
1))}return this.rawUrlTree=e.rawUrl,this.browserUrlTree=e.urlAfterRedirects,e.resolve(null),C.a}),_n(e=>{const{targetSnapshot:t,id:n,extractedUrl:r,rawUrl:i,extras:{skipLocationChange:s,replaceUrl:o}}=e;return this.hooks.beforePreactivation(t,{navigationId:n,appliedUrlTree:r,rawUrlTree:i,skipLocationChange:!!s,replaceUrl:!!o})}),Object(X.a)(e=>{const t=new oe(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),Object(A.a)(e=>Object.assign(Object.assign({},e),{guards:sn(e.targetSnapshot,e.currentSnapshot,this.rootContexts)})),cn(this.ngModule.injector,e=>this.triggerEvent(e)),Object(X.a)(e=>{if(Pt(e.guardsResult)){const t=we(`Redirecting to "${this.serializeUrl(e.guardsResult)}"`);throw t.url=e.guardsResult,t}const t=new ae(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);this.triggerEvent(t)}),Object(M.a)(e=>{if(!e.guardsResult){this.resetUrlToCurrentUrlTree();const n=new re(e.id,this.serializeUrl(e.extractedUrl),"");return t.next(n),e.resolve(!1),!1}return!0}),_n(e=>{if(e.guards.canActivateChecks.length)return Object(o.a)(e).pipe(Object(X.a)(e=>{const t=new le(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),Object(k.a)(e=>{let n=!1;return Object(o.a)(e).pipe(wn(this.paramsInheritanceStrategy,this.ngModule.injector),Object(X.a)({next:()=>n=!0,complete:()=>{if(!n){const n=new re(e.id,this.serializeUrl(e.extractedUrl),"At least one route resolver didn't emit any value.");t.next(n),e.resolve(!1)}}}))}),Object(X.a)(e=>{const t=new ce(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}))}),_n(e=>{const{targetSnapshot:t,id:n,extractedUrl:r,rawUrl:i,extras:{skipLocationChange:s,replaceUrl:o}}=e;return this.hooks.afterPreactivation(t,{navigationId:n,appliedUrlTree:r,rawUrlTree:i,skipLocationChange:!!s,replaceUrl:!!o})}),Object(A.a)(e=>{const t=function(e,t,n){const r=pt(e,t._root,n?n._root:void 0);return new rt(r,t)}(this.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:t})}),Object(X.a)(e=>{this.currentUrlTree=e.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl),this.routerState=e.targetRouterState,"deferred"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),(i=this.rootContexts,s=this.routeReuseStrategy,a=e=>this.triggerEvent(e),Object(A.a)(e=>(new It(s,e.targetRouterState,e.currentRouterState,a).activate(i),e))),Object(X.a)({next(){n=!0},complete(){n=!0}}),Object(Z.a)(()=>{if(!n&&!r){this.resetUrlToCurrentUrlTree();const n=new re(e.id,this.serializeUrl(e.extractedUrl),`Navigation ID ${e.id} is not equal to the current navigation id ${this.navigationId}`);t.next(n),e.resolve(!1)}this.currentNavigation=null}),Object(N.a)(n=>{if(r=!0,(i=n)&&i.ngNavigationCancelingError){const r=Pt(n.url);r||(this.navigated=!0,this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));const i=new re(e.id,this.serializeUrl(e.extractedUrl),n.message);t.next(i),r?setTimeout(()=>{const t=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree),r={skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy};this.scheduleNavigation(t,"imperative",null,r,{resolve:e.resolve,reject:e.reject,promise:e.promise})},0):e.resolve(!1)}else{this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);const r=new ie(e.id,this.serializeUrl(e.extractedUrl),n);t.next(r);try{e.resolve(this.errorHandler(n))}catch(s){e.reject(s)}}var i;return C.a}));var i,s,a}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}getTransition(){const e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const t=this.extractLocationChangeInfoFromEvent(e);this.shouldScheduleNavigation(this.lastLocationChangeInfo,t)&&setTimeout(()=>{const{source:e,state:n,urlTree:r}=t,i={replaceUrl:!0};if(n){const e=Object.assign({},n);delete e.navigationId,0!==Object.keys(e).length&&(i.state=e)}this.scheduleNavigation(r,e,n,i)},0),this.lastLocationChangeInfo=t}))}extractLocationChangeInfoFromEvent(e){var t;return{source:"popstate"===e.type?"popstate":"hashchange",urlTree:this.parseUrl(e.url),state:(null===(t=e.state)||void 0===t?void 0:t.navigationId)?e.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(e,t){if(!e)return!0;const n=t.urlTree.toString()===e.urlTree.toString();return!(t.transitionId===e.transitionId)||!n||!("hashchange"===t.source&&"popstate"===e.source||"popstate"===t.source&&"hashchange"===e.source)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){Lt(e),this.config=e.map(Bt),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,t={}){const{relativeTo:n,queryParams:r,fragment:i,queryParamsHandling:s,preserveFragment:o}=t,a=n||this.routerState.root,l=o?this.currentUrlTree.fragment:i;let c=null;switch(s){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=r||null}return null!==c&&(c=this.removeEmptyProps(c)),mt(a,this.currentUrlTree,e,c,l)}navigateByUrl(e,t={skipLocationChange:!1}){const n=Pt(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function(e){for(let t=0;t<e.length;t++){const n=e[t];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${t}`)}}(e),this.navigateByUrl(this.createUrlTree(e,t),t)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){let t;try{t=this.urlSerializer.parse(e)}catch(n){t=this.malformedUriErrorHandler(n,this.urlSerializer,e)}return t}isActive(e,t){if(Pt(e))return Ie(this.currentUrlTree,e,t);const n=this.parseUrl(e);return Ie(this.currentUrlTree,n,t)}removeEmptyProps(e){return Object.keys(e).reduce((t,n)=>{const r=e[n];return null!=r&&(t[n]=r),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.events.next(new ne(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,e.resolve(!0)},e=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(e,t,n,r,i){if(this.disposed)return Promise.resolve(!1);const s=this.getTransition(),o="imperative"!==t&&"imperative"===(null==s?void 0:s.source),a=(this.lastSuccessfulId===s.id||this.currentNavigation?s.rawUrl:s.urlAfterRedirects).toString()===e.toString();if(o&&a)return Promise.resolve(!0);let l,c,u;i?(l=i.resolve,c=i.reject,u=i.promise):u=new Promise((e,t)=>
1{l=e,c=t});const h=++this.navigationId;return this.setTransition({id:h,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:r,resolve:l,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(e=>Promise.reject(e))}setBrowserUrl(e,t,n,r){const i=this.urlSerializer.serialize(e);r=r||{},this.location.isCurrentPathEqualTo(i)||t?this.location.replaceState(i,"",Object.assign(Object.assign({},r),{navigationId:n})):this.location.go(i,"",Object.assign(Object.assign({},r),{navigationId:n}))}resetStateAndUrl(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}Pn.\u0275fac=function(e){return new(e||Pn)(i.Vc(i.lb),i.Vc(Le),i.Vc(kn),i.Vc(r.h),i.Vc(i.G),i.Vc(i.O),i.Vc(i.l),i.Vc(void 0))},Pn.\u0275prov=i.Ic({token:Pn,factory:Pn.\u0275fac}),Pn.ctorParameters=()=>[{type:i.lb},{type:Le},{type:kn},{type:r.h},{type:i.G},{type:i.O},{type:i.l},{type:void 0}];class Mn{constructor(e,t,n,r,i){this.router=e,this.route=t,this.commands=[],this.onChanges=new E.a,null==n&&r.setAttribute(i.nativeElement,"tabindex","0")}ngOnChanges(e){this.onChanges.next(this)}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}onClick(){const e={skipLocationChange:Rn(this.skipLocationChange),replaceUrl:Rn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Rn(this.preserveFragment)})}}Mn.\u0275fac=function(e){return new(e||Mn)(i.Mc(Pn),i.Mc(st),i.Wc("tabindex"),i.Mc(i.Z),i.Mc(i.v))},Mn.\u0275dir=i.Hc({type:Mn,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&i.Zc("click",function(){return t.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[i.Ac]}),Mn.ctorParameters=()=>[{type:Pn},{type:st},{type:String,decorators:[{type:i.h,args:["tabindex"]}]},{type:i.Z},{type:i.v}],Mn.propDecorators={queryParams:[{type:i.H}],fragment:[{type:i.H}],queryParamsHandling:[{type:i.H}],preserveFragment:[{type:i.H}],skipLocationChange:[{type:i.H}],replaceUrl:[{type:i.H}],state:[{type:i.H}],relativeTo:[{type:i.H}],routerLink:[{type:i.H}],onClick:[{type:i.A,args:["click"]}]};class Nn{constructor(e,t,n){this.router=e,this.route=t,this.locationStrategy=n,this.commands=[],this.onChanges=new E.a,this.subscription=e.events.subscribe(e=>{e instanceof ne&&this.updateTargetUrlAndHref()})}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}ngOnChanges(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,t,n,r,i){if(0!==e||t||n||r||i)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const s={skipLocationChange:Rn(this.skipLocationChange),replaceUrl:Rn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,s),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Rn(this.preserveFragment)})}}function Rn(e){return""===e||!!e}Nn.\u0275fac=function(e){return new(e||Nn)(i.Mc(Pn),i.Mc(st),i.Mc(r.i))},Nn.\u0275dir=i.Hc({type:Nn,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&i.Zc("click",function(e){return t.onClick(e.button,e.ctrlKey,e.shiftKey,e.altKey,e.metaKey)}),2&e&&(i.Uc("href",t.href,i.md),i.Dc("target",t.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[i.Ac]}),Nn.ctorParameters=()=>[{type:Pn},{type:st},{type:r.i}],Nn.propDecorators={target:[{type:i.z,args:["attr.target"]},{type:i.H}],queryParams:[{type:i.H}],fragment:[{type:i.H}],queryParamsHandling:[{type:i.H}],preserveFragment:[{type:i.H}],skipLocationChange:[{type:i.H}],replaceUrl:[{type:i.H}],state:[{type:i.H}],relativeTo:[{type:i.H}],href:[{type:i.z}],routerLink:[{type:i.H}],onClick:[{type:i.A,args:["click",["$event.button","$event.ctrlKey","$event.shiftKey","$event.altKey","$event.metaKey"]]}]};class Ln{constructor(e,t,n,r,i,s){this.router=e,this.element=t,this.renderer=n,this.cdr=r,this.link=i,this.linkWithHref=s,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.routerEventsSubscription=e.events.subscribe(e=>{e instanceof ne&&this.update()})}ngAfterContentInit(){Object(o.a)(this.links.changes,this.linksWithHrefs.changes,Object(o.a)(null)).pipe(Object(J.a)()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var e;null===(e=this.linkInputChangesSubscription)||void 0===e||e.unsubscribe();const t=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(e=>!!e).map(e=>e.onChanges);this.linkInputChangesSubscription=Object(s.a)(t).pipe(Object(J.a)()).subscribe(e=>{this.isActive!==this.isLinkActive(this.router)(e)&&this.update()})}set routerLinkActive(e){const t=Array.isArray(e)?e:e.split(" ");this.classes=t.filter(e=>!!e)}ngOnChanges(e){this.update()}ngOnDestroy(){var e;this.routerEventsSubscription.unsubscribe(),null===(e=this.linkInputChangesSubscription)||void 0===e||e.unsubscribe()}update(){this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then(()=>{const e=this.hasActiveLinks();this.isActive!==e&&(this.isActive=e,this.cdr.markForCheck(),this.classes.forEac
1h(t=>{e?this.renderer.addClass(this.element.nativeElement,t):this.renderer.removeClass(this.element.nativeElement,t)}))})}isLinkActive(e){return t=>e.isActive(t.urlTree,this.routerLinkActiveOptions.exact)}hasActiveLinks(){const e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.linkWithHref&&e(this.linkWithHref)||this.links.some(e)||this.linksWithHrefs.some(e)}}Ln.\u0275fac=function(e){return new(e||Ln)(i.Mc(Pn),i.Mc(i.v),i.Mc(i.Z),i.Mc(i.k),i.Mc(Mn,8),i.Mc(Nn,8))},Ln.\u0275dir=i.Hc({type:Ln,selectors:[["","routerLinkActive",""]],contentQueries:function(e,t,n){if(1&e&&(i.Fc(n,Mn,1),i.Fc(n,Nn,1)),2&e){let e;i.hd(e=i.ad())&&(t.links=e),i.hd(e=i.ad())&&(t.linksWithHrefs=e)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[i.Ac]}),Ln.ctorParameters=()=>[{type:Pn},{type:i.v},{type:i.Z},{type:i.k},{type:Mn,decorators:[{type:i.S}]},{type:Nn,decorators:[{type:i.S}]}],Ln.propDecorators={links:[{type:i.s,args:[Mn,{descendants:!0}]}],linksWithHrefs:[{type:i.s,args:[Nn,{descendants:!0}]}],routerLinkActiveOptions:[{type:i.H}],routerLinkActive:[{type:i.H}]};class jn{constructor(e,t,n,r,s){this.parentContexts=e,this.location=t,this.resolver=n,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new i.x,this.deactivateEvents=new i.x,this.name=r||ve,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const n=e._futureSnapshot.routeConfig.component,r=(t=t||this.resolver).resolveComponentFactory(n),i=this.parentContexts.getOrCreateContext(this.name).children,s=new Fn(e,i,this.location.injector);this.activated=this.location.createComponent(r,this.location.length,s),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}jn.\u0275fac=function(e){return new(e||jn)(i.Mc(kn),i.Mc(i.ob),i.Mc(i.p),i.Wc("name"),i.Mc(i.k))},jn.\u0275dir=i.Hc({type:jn,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),jn.ctorParameters=()=>[{type:kn},{type:i.ob},{type:i.p},{type:String,decorators:[{type:i.h,args:["name"]}]},{type:i.k}],jn.propDecorators={activateEvents:[{type:i.T,args:["activate"]}],deactivateEvents:[{type:i.T,args:["deactivate"]}]};class Fn{constructor(e,t,n){this.route=e,this.childContexts=t,this.parent=n}get(e,t){return e===st?this.route:e===kn?this.childContexts:this.parent.get(e,t)}}class Bn{}class $n{preload(e,t){return t().pipe(Object(N.a)(()=>Object(o.a)(null)))}}class Vn{preload(e,t){return Object(o.a)(null)}}class Un{constructor(e,t,n,r,i){this.router=e,this.injector=r,this.preloadingStrategy=i;this.loader=new En(t,n,t=>e.triggerEvent(new ue(t)),t=>e.triggerEvent(new he(t)))}setUpPreloading(){this.subscription=this.router.events.pipe(Object(M.a)(e=>e instanceof ne),Object(R.a)(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(i.P);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){const n=[];for(const r of t)if(r.loadChildren&&!r.canLoad&&r._loadedConfig){const e=r._loadedConfig;n.push(this.processRoutes(e.module,e.routes))}else r.loadChildren&&!r.canLoad?n.push(this.preloadConfig(e,r)):r.children&&n.push(this.processRoutes(e,r.children));return Object(s.a)(n).pipe(Object(J.a)(),Object(A.a)(e=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>(t._loadedConfig?Object(o.a)(t._loadedConfig):this.loader.load(e.injector,t)).pipe(Object(K.a)(e=>(t._loadedConfig=e,this.processRoutes(e.module,e.routes)))))}}Un.\u0275fac=function(e){return new(e||Un)(i.Vc(Pn),i.Vc(i.O),i.Vc(i.l),i.Vc(i.G),i.Vc(Bn))},Un.\u0275prov=i.Ic({token:Un,factory:Un.\u0275fac}),Un.ctorParameters=()=>[{type:Pn},{type:i.O},{type:i.l},{type:i.G},{type:Bn}];class zn{constructor(e,t,n={}){this.router=e,this.viewportScroller=t,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anch
1orScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof te?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof ne&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof ge&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.router.triggerEvent(new ge(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}zn.\u0275fac=function(e){return new(e||zn)(i.Vc(Pn),i.Vc(r.n),i.Vc(void 0))},zn.\u0275prov=i.Ic({token:zn,factory:zn.\u0275fac}),zn.ctorParameters=()=>[{type:Pn},{type:r.n},{type:void 0}];const Hn=new i.F("ROUTER_CONFIGURATION"),qn=new i.F("ROUTER_FORROOT_GUARD"),Gn=[r.h,{provide:Le,useClass:je},{provide:Pn,useFactory:function(e,t,n,i,s,o,a,l={},c,u){const h=new Pn(null,e,t,n,i,s,o,Se(a));c&&(h.urlHandlingStrategy=c);u&&(h.routeReuseStrategy=u);if(Jn(l,h),l.enableTracing){const e=Object(r.r)();h.events.subscribe(t=>{e.logGroup(`Router Event: ${t.constructor.name}`),e.log(t.toString()),e.log(t),e.logGroupEnd()})}return h},deps:[Le,kn,r.h,i.G,i.O,i.l,Sn,Hn,[class{},new i.S],[xn,new i.S]]},kn,{provide:st,useFactory:function(e){return e.routerState.root},deps:[Pn]},{provide:i.O,useClass:i.gb},Un,Vn,$n,{provide:Hn,useValue:{enableTracing:!1}}];function Wn(){return new i.Q("Router",Pn)}class Qn{constructor(e,t){}static forRoot(e,t){return{ngModule:Qn,providers:[Gn,Zn(e),{provide:qn,useFactory:Yn,deps:[[Pn,new i.S,new i.fb]]},{provide:Hn,useValue:t||{}},{provide:r.i,useFactory:Xn,deps:[r.m,[new i.C(r.a),new i.S],Hn]},{provide:zn,useFactory:Kn,deps:[Pn,r.n,Hn]},{provide:Bn,useExisting:t&&t.preloadingStrategy?t.preloadingStrategy:Vn},{provide:i.Q,multi:!0,useFactory:Wn},[er,{provide:i.d,multi:!0,useFactory:tr,deps:[er]},{provide:rr,useFactory:nr,deps:[er]},{provide:i.b,multi:!0,useExisting:rr}]]}}static forChild(e){return{ngModule:Qn,providers:[Zn(e)]}}}function Kn(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new zn(e,t,n)}function Xn(e,t,n={}){return n.useHash?new r.f(e,t):new r.l(e,t)}function Yn(e){return"guarded"}function Zn(e){return[{provide:i.a,multi:!0,useValue:e},{provide:Sn,multi:!0,useValue:e}]}function Jn(e,t){e.errorHandler&&(t.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(t.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(t.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.relativeLinkResolution&&(t.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(t.urlUpdateStrategy=e.urlUpdateStrategy)}Qn.\u0275fac=function(e){return new(e||Qn)(i.Vc(qn,8),i.Vc(Pn,8))},Qn.\u0275mod=i.Kc({type:Qn}),Qn.\u0275inj=i.Jc({}),Qn.ctorParameters=()=>[{type:void 0,decorators:[{type:i.S},{type:i.C,args:[qn]}]},{type:Pn,decorators:[{type:i.S}]}],("undefined"==typeof ngJitMode||ngJitMode)&&i.nd(Qn,{declarations:[jn,Mn,Nn,Ln,Rt],exports:[jn,Mn,Nn,Ln,Rt]});class er{constructor(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new E.a}appInitializer(){return this.injector.get(r.g,Promise.resolve(null)).then(()=>{let e=null;const t=new Promise(t=>e=t),n=this.injector.get(Pn),r=this.injector.get(Hn);return"disabled"===r.initialNavigation?(n.setUpLocationChangeListener(),e(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?Object(o.a)(null):(this.initNavigation=!0,e(!0),this.resultOfPreactivationDone),n.initialNavigation()):e(!0),t})}bootstrapListener(e){const t=this.injector.get(Hn),n=this.injector.get(Un),r=this.injector.get(zn),s=this.injector.get(Pn),o=this.injector.get(i.g);e===o.components[0]&&("enabledNonBlocking"!==t.initialNavigation&&void 0!==t.initialNavigation||s.initialNavigation(),n.setUpPreloading(),r.init(),s.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}}function tr(e){return e.appInitializer.bind(e)}function nr(e){return e.bootstrapListener.bind(e)}er.\u0275fac=function(e){return new(e||er)(i.Vc(i.G))},er.\u0275prov=i.Ic({token:er,factory:er.\u0275fac}),er.ctorParameters=()=>[{type:i.G}];const rr=new i.F("Router Initializer");new i.mb("11.2.14")},uGsb:function(e,t,n){var r,i,s,o,a,l,c,u;e.exports=(u=n("Ib8C"),n("MlIO"),n("1uat"),i=(r=u).x64,s=i.Word,o=i.WordArray,a=r.algo,l=a.SHA512,c=a.SHA384=l.extend({_doReset:function(){this._hash=new o.init([new s.init(3418070365,3238371032),new s.init(1654270250,914150663),new s.init(2438529370,812702999),new s.init(355462360,4144912697),new s.init(1731405415,4290775857),new s.init(2394180231,1750603025),new s.init(3675008525,1694076839),new s.init(1203062813,3204075428)])},_doFinalize:function(){var e=l._doFinalize.call(this);return e.sigBytes-=16,e}}),r.SHA384=l._createHelper(c),r.HmacSHA384=l._createHmacHelper(c),u.SHA384)},uGxW:function(e,t,n){var r;e.exports=(r=n("Ib8C"),n("OLod"),r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding)}
1,vkgz:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("7o/Q"),i=n("KqfI"),s=n("n6bG");function o(e,t,n){return function(r){return r.lift(new a(e,t,n))}}class a{constructor(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}call(e,t){return t.subscribe(new l(e,this.nextOrObserver,this.error,this.complete))}}class l extends r.a{constructor(e,t,n,r){super(e),this._tapNext=i.a,this._tapError=i.a,this._tapComplete=i.a,this._tapError=n||i.a,this._tapComplete=r||i.a,Object(s.a)(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||i.a,this._tapError=t.error||i.a,this._tapComplete=t.complete||i.a)}_next(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}_error(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}_complete(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}},w1tV:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n("EQ5u");class i{constructor(e,t){this.subjectFactory=e,this.selector=t}call(e,t){const{selector:n}=this,r=this.subjectFactory(),i=n(r).subscribe(e);return i.add(t.subscribe(r)),i}}var s=n("x+ZX"),o=n("XNiG");function a(){return new o.a}function l(){return e=>{return Object(s.a)()((t=a,function(e){let s;if(s="function"==typeof t?t:function(){return t},"function"==typeof n)return e.lift(new i(s,n));const o=Object.create(e,r.b);return o.source=e,o.subjectFactory=s,o})(e));var t,n}}},w7YG:function(e,t,n){var r;e.exports=(r=n("Ib8C"),n("ETIr"),n("cv67"),n("K3mO"),n("OLod"),function(){var e=r,t=e.lib.StreamCipher,n=e.algo,i=n.RC4=t.extend({_doReset:function(){for(var e=this._key,t=e.words,n=e.sigBytes,r=this._S=[],i=0;i<256;i++)r[i]=i;i=0;for(var s=0;i<256;i++){var o=i%n,a=t[o>>>2]>>>24-o%4*8&255;s=(s+r[i]+a)%256;var l=r[i];r[i]=r[s],r[s]=l}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=s.call(this)},keySize:8,ivSize:0});function s(){for(var e=this._S,t=this._i,n=this._j,r=0,i=0;i<4;i++){n=(n+e[t=(t+1)%256])%256;var s=e[t];e[t]=e[n],e[n]=s,r|=e[(e[t]+e[n])%256]<<24-8*i}return this._i=t,this._j=n,r}e.RC4=t._createHelper(i);var o=n.RC4Drop=i.extend({cfg:i.cfg.extend({drop:192}),_doReset:function(){i._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)s.call(this)}});e.RC4Drop=t._createHelper(o)}(),r.RC4)},wEJo:function(e,t,n){"use strict";n.d(t,"a",function(){return Ge}),n.d(t,"b",function(){return d}),n.d(t,"c",function(){return L}),n.d(t,"d",function(){return g}),n.d(t,"e",function(){return Ae}),n.d(t,"f",function(){return qe}),n.d(t,"g",function(){return se}),n.d(t,"h",function(){return He}),n.d(t,"i",function(){return D}),n.d(t,"j",function(){return N}),n.d(t,"k",function(){return ie}),n.d(t,"l",function(){return pe}),n.d(t,"m",function(){return ke}),n.d(t,"n",function(){return f}),n.d(t,"o",function(){return Oe}),n.d(t,"p",function(){return O}),n.d(t,"q",function(){return h});let r,i,s,o=!1,a=!1,l=!1,c=!1,u=!1;const h="undefined"!=typeof window?window:{},d=h.CSS,p=h.document||{head:{}},f={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,r)=>e.addEventListener(t,n,r),rel:(e,t,n,r)=>e.removeEventListener(t,n,r),ce:(e,t)=>new CustomEvent(e,t)},m=(()=>(p.head.attachShadow+"").indexOf("[native")>-1)(),g=e=>Promise.resolve(e),v=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replace}catch(e){}return!1})(),y=(e,t,n,r)=>{n&&n.map(([n,r,i])=>{const s=w(e,n),o=b(t,i),a=_(n);f.ael(s,r,o,a),(t.$rmListeners$=t.$rmListeners$||[]).push(()=>f.rel(s,r,o,a))})},b=(e,t)=>n=>{try{256&e.$flags$?e.$lazyInstance$[t](n):(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,n])}catch(r){Me(r)}},w=(e,t)=>4&t?p:8&t?h:16&t?p.body:e,_=e=>0!=(2&e),x="s-id",C="sty-id",S="c-id",E="http://www.w3.org/1999/xlink",A=new WeakMap,k=(e,t,n)=>{let r=Le.get(e);v&&n?(r=r||new CSSStyleSheet,r.replace(t)):r=t,Le.set(e,r)},I=(e,t,n,r)=>{let i=T(t,n),s=Le.get(i);if(e=11===e.nodeType?e:p,s)if("string"==typeof s){e=e.head||e;let n,o=A.get(e);if(o||A.set(e,o=new Set),!o.has(i)){if(e.host&&(n=e.querySelector(`[sty-id="${i}"]`)))n.innerHTML=s;else{if(f.$cssShim$){n=f.$cssShim$.createHostStyle(r,i,s,!!(10&t.$flags$));const e=n["s-sc"];e&&(i=e,o=null)}else n=p.createElement("style"),n.innerHTML=s;e.insertBefore(n,e.querySelector("link"))}o&&o.add(i)}}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s]);return i},T=(e,t)=>
vendor: 5,896 bytes, line 1
1"sc-"+(t&&32&e.$flags$?e.$tagName$+"-"+t:e.$tagName$),O=e=>je.push(e),D=e=>Te(e).$modeName$,P={},M=e=>"object"===(e=typeof e)||"function"===e,N=(e,t,...n)=>{let r=null,i=null,s=null,o=!1,a=!1,l=[];const c=t=>{for(let n=0;n<t.length;n++)r=t[n],Array.isArray(r)?c(r):null!=r&&"boolean"!=typeof r&&((o="function"!=typeof e&&!M(r))&&(r=String(r)),o&&a?l[l.length-1].$text$+=r:l.push(o?R(null,r):r),a=o)};if(c(n),t){t.key&&(i=t.key),t.name&&(s=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter(t=>e[t]).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,l,j);const u=R(e,null);return u.$attrs$=t,l.length>0&&(u.$children$=l),u.$key$=i,u.$name$=s,u},R=(e,t)=>{const n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null};return n},L={},j={forEach:(e,t)=>e.map(F).forEach(t),map:(e,t)=>e.map(F).map(t).map(B)},F=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),B=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),N(e.vtag,t,...e.vchildren||[])}const t=R(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},$=(e,t,n,r,i,s)=>{if(n!==r){let a=Pe(e,t),l=t.toLowerCase();if("class"===t){const t=e.classList,i=U(n),s=U(r);t.remove(...i.filter(e=>e&&!s.includes(e))),t.add(...s.filter(e=>e&&!i.includes(e)))}else if("style"===t){for(const t in n)r&&null!=r[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in r)n&&r[t]===n[t]||(t.includes("-")?e.style.setProperty(t,r[t]):e.style[t]=r[t])}else if("key"===t);else if("ref"===t)r&&r(e);else if(a||"o"!==t[0]||"n"!==t[1]){const c=M(r);if((a||c&&null!==r)&&!i)try{if(e.tagName.includes("-"))e[t]=r;else{let i=null==r?"":r;"list"===t?a=!1:null!=n&&e[t]==i||(e[t]=i)}}catch(o){}let u=!1;l!==(l=l.replace(/^xlink\:?/,""))&&(t=l,u=!0),null==r||!1===r?!1===r&&""!==e.getAttribute(t)||(u?e.removeAttributeNS(E,t):e.removeAttribute(t)):(!a||4&s||i)&&!c&&(r=!0===r?"":r,u?e.setAttributeNS(E,t,r):e.setAttribute(t,r))}else t="-"===t[2]?t.slice(3):Pe(h,l)?l.slice(2):l[2]+t.slice(3),n&&f.rel(e,t,n,!1),r&&f.ael(e,t,r,!1)}},V=/\s/,U=e=>e?e.split(V):[],z=(e,t,n,r)=>{const i=11===t.$elm$.nodeType&&t.$elm$.host?t.$elm$.host:t.$elm$,s=e&&e.$attrs$||P,o=t.$attrs$||P;for(r in s)r in o||$(i,r,s[r],void 0,n,t.$flags$);for(r in o)$(i,r,s[r],o[r],n,t.$flags$)},H=(e,t,n,a)=>{let u,h,d,f=t.$children$[n],m=0;if(o||(l=!0,"slot"===f.$tag$&&(r&&a.classList.add(r+"-s"),f.$flags$|=f.$children$?2:1)),null!==f.$text$)u=f.$elm$=p.createTextNode(f.$text$);else if(1&f.$flags$)u=f.$elm$=p.createTextNode("");else{if(c||(c="svg"===f.$tag$),u=f.$elm$=p.createElementNS(c?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&f.$flags$?"slot-fb":f.$tag$),c&&"foreignObject"===f.$tag$&&(c=!1),z(null,f,c),null!=r&&u["s-si"]!==r&&u.classList.add(u["s-si"]=r),f.$children$)for(m=0;m<f.$children$.length;++m)h=H(e,f,m,u),h&&u.appendChild(h);"svg"===f.$tag$?c=!1:"foreignObject"===u.tagName&&(c=!0)}return u["s-hn"]=s,3&f.$flags$&&(u["s-sr"]=!0,u["s-cr"]=i,u["s-sn"]=f.$name$||"",d=e&&e.$children$&&e.$children$[n],d&&d.$tag$===f.$tag$&&e.$elm$&&q(e.$elm$,!1)),u},q=(e,t)=>{f.$flags$|=1;const n=e.childNodes;for(let r=n.length-1;r>=0;r--){const e=n[r];e["s-hn"]!==s&&e["s-ol"]&&(X(e).insertBefore(e,K(e)),e["s-ol"].remove(),e["s-ol"]=void 0,l=!0),t&&q(e,t)}f.$flags$&=-2},G=(e,t,n,r,i,o)=>{let a,l=e["s-cr"]&&e["s-cr"].parentNode||e;for(l.shadowRoot&&l.tagName===s&&(l=l.shadowRoot);i<=o;++i)r[i]&&(a=H(null,n,i,e),a&&(r[i].$elm$=a,l.insertBefore(a,K(t))))},W=(e,t,n,r,i)=>{for(;t<=n;++t)(r=e[t])&&(i=r.$elm$,ne(r),a=!0,i["s-ol"]?i["s-ol"].remove():q(i,!0),i.remove())},Q=(e,t)=>e.$tag$===t.$tag$&&("slot"===e.$tag$?e.$name$===t.$name$:e.$key$===t.$key$),K=e=>e&&e["s-ol"]||e,X=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,Y=(e,t)=>{const n=t.$elm$=e.$elm$,r=e.$children$,i=t.$children$,s=t.$tag$,o=t.$text$;let a;null===o?(c="svg"===s||"foreignObject"!==s&&c,"slot"===s||z(e,t,c),null!==r&&null!==i?((e,t,n,r)=>{let i,s,o=0,a=0,l=0,c=0,u=t.length-1,h=t[0],d=t[u],p=r.length-1,f=r[0],m=r[p];for(;o<=u&&a<=p;)if(null==h)h=t[++o];else if(null==d)d=t[--u];else if(null==f)f=r[++a];else if(null==m)m=r[--p];else if(Q(h,f))Y(h,f),h=t[++o],f=r[++a];else if(Q(d,m))Y(d,m),d=t[--u],m=r[--p];else if(Q(h,m))"slot"!==h.$tag$&&"slot"!==m.$tag$||q(h.$elm$.parentNode,!1),Y(h,m),e.insertBefore(h.$elm$,d.$elm$.nextSibling),h=t[++o],m=r[--p];else if(Q(d,f))"slot"!==h.$tag$&&"slot"!==m.$tag$||q(d.$elm$.parentNode,!1),Y(d,f),e.insertBefore(d.$elm$,h.$elm$),d=t[--u],f=r[++a];else{for(l=-1,c=o;c<=u;++c)if(t[c]&&null!==t[c].$key$&&t[c].$key$===f.$key$){l=c;break}l>=0?(s=t[l],s.$tag$!==f.$tag$?i=H(t&&t[a],n,l,e):(Y(s,f),t[l]=void 0,i=s.$elm$),f=r[++a]):(i=H(t&&t[a],n,a,e),f=r[++a]),i&&X(h.$elm$).insertBefore(i,K(h.$elm$))}o>u?G(e,null==r[p+1]?null:r[p+1].$elm$,n,r,a,p):a>p&&W(t,o,u)})(n,r,t,i):null!==i?(null!==e.$text$&&(n.textContent=""),G(n,null,t,i,0,i.length-1)):null!==r&&W(r,0,r.length-1),c&&"svg"===s&&(c=!1)):(a=n["s-cr"])?a.parentNode.textContent=o:e.$text$!==o&&(n.data=o)},Z=e=>{let t,n,r,i,s,o,a=e.childNodes;for(n=0,r=a.length;n<r;n++)if(t=a[n],1===t.nodeType){if(t["s-sr"])for(s=t["s-sn"],t.hidden=!1,i=0;i<r;i++)if(o=a[i].nodeType,a[i]["s-hn"]!==t["s-hn"]||""!==s){if(1===o&&s===a[i].getAttribute("slot")){t.hidden=!0;break}}else if(1===o||3===o&&""!==a[i].textContent.trim()){t.hidden=!0;break}Z(t)}},J=[],ee=e=>{let t,n,r,i,s,o,l=0,c=e.childNodes,u=c.length;for(;l<u;l++){if(t=c[l],t["s-sr"]&&(n=t["s-cr"])&&n.parentNode)for(r=n.parentNode.childNodes,i=t["s-sn"],o=r.length-1;o>=0;o--)n=r[o],n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||(te(n,i)?(s=J.find(e=>e.$nodeToRelocate$===n),a=!0,n["s-sn"]=n["s-sn"]||i,s?s.$slotRefNode$=t:J.push({$slotRefNode$:t,$nodeToRelocate$:n}),n["s-sr"]&&J.map(e=>
1{te(e.$nodeToRelocate$,n["s-sn"])&&(s=J.find(e=>e.$nodeToRelocate$===n),s&&!e.$slotRefNode$&&(e.$slotRefNode$=s.$slotRefNode$))})):J.some(e=>e.$nodeToRelocate$===n)||J.push({$nodeToRelocate$:n}));1===t.nodeType&&ee(t)}},te=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,ne=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(ne)},re=(e,t)=>{const n=e.$hostElement$,c=e.$cmpMeta$,u=e.$vnode$||R(null,null),h=(d=t)&&d.$tag$===L?t:N(null,null,t);var d;if(s=n.tagName,c.$attrsToReflect$&&(h.$attrs$=h.$attrs$||{},c.$attrsToReflect$.map(([e,t])=>h.$attrs$[t]=n[e])),h.$tag$=null,h.$flags$|=4,e.$vnode$=h,h.$elm$=u.$elm$=n.shadowRoot||n,r=n["s-sc"],i=n["s-cr"],o=m&&0!=(1&c.$flags$),a=!1,Y(u,h),f.$flags$|=1,l){let e,t,n,r,i,s;ee(h.$elm$);let o=0;for(;o<J.length;o++)e=J[o],t=e.$nodeToRelocate$,t["s-ol"]||(n=p.createTextNode(""),n["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=n,t));for(o=0;o<J.length;o++)if(e=J[o],t=e.$nodeToRelocate$,e.$slotRefNode$){for(r=e.$slotRefNode$.parentNode,i=e.$slotRefNode$.nextSibling,n=t["s-ol"];n=n.previousSibling;)if(s=n["s-nr"],s&&s["s-sn"]===t["s-sn"]&&r===s.parentNode&&(s=s.nextSibling,!s||!s["s-nr"])){i=s;break}(!i&&r!==t.parentNode||t.nextSibling!==i)&&t!==i&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),r.insertBefore(t,i))}else 1===t.nodeType&&(t.hidden=!0)}a&&Z(h.$elm$),f.$flags$&=-2,J.length=0},ie=e=>Te(e).$hostElement$,se=(e,t,n)=>{const r=ie(e);return{emit:e=>
1oe(r,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},oe=(e,t,n)=>{const r=f.ce(t,n);return e.dispatchEvent(r),r},ae=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(t=>e.$onRenderResolve$=t))},le=(e,t)=>{if(e.$flags$|=16,4&e.$flags$)return void(e.$flags$|=512);ae(e,e.$ancestorComponent$);return qe(()=>ce(e,t))},ce=(e,t)=>{const n=(e.$cmpMeta$.$tagName$,()=>{}),r=e.$lazyInstance$;let i;return t&&(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map(([e,t])=>me(r,e,t)),e.$queuedListeners$=null),i=me(r,"componentWillLoad")),i=ge(i,()=>me(r,"componentWillRender")),n(),ge(i,()=>ue(e,r,t))},ue=async(e,t,n)=>{const r=e.$hostElement$,i=(e.$cmpMeta$.$tagName$,()=>{}),s=r["s-rc"];n&&(e=>{const t=e.$cmpMeta$,n=e.$hostElement$,r=t.$flags$,i=(t.$tagName$,()=>{}),s=I(m&&n.shadowRoot?n.shadowRoot:n.getRootNode(),t,e.$modeName$,n);10&r&&(n["s-sc"]=s,n.classList.add(s+"-h"),2&r&&n.classList.add(s+"-s")),i()})(e);const o=(e.$cmpMeta$.$tagName$,()=>{});he(e,t),f.$cssShim$&&f.$cssShim$.updateHost(r),s&&(s.map(e=>e()),r["s-rc"]=void 0),o(),i();{const t=r["s-p"],n=()=>de(e);0===t.length?n():(Promise.all(t).then(n),e.$flags$|=4,t.length=0)}},he=(e,t,n)=>{try{t=t.render&&t.render(),e.$flags$&=-17,e.$flags$|=2,re(e,t)}catch(r){Me(r,e.$hostElement$)}return null},de=e=>{e.$cmpMeta$.$tagName$;const t=e.$hostElement$,n=()=>{},r=e.$lazyInstance$,i=e.$ancestorComponent$;64&e.$flags$?(me(r,"componentDidUpdate"),n()):(e.$flags$|=64,ve(t),me(r,"componentDidLoad"),n(),e.$onReadyResolve$(t),i||fe()),e.$onInstanceResolve$(t),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),512&e.$flags$&&ze(()=>le(e,!1)),e.$flags$&=-517},pe=e=>{{const t=Te(e),n=t.$hostElement$.isConnected;return n&&2==(18&t.$flags$)&&le(t,!1),n}},fe=e=>{ve(p.documentElement),ze(()=>oe(h,"appload",{detail:{namespace:"ionic"}}))},me=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(r){Me(r)}},ge=(e,t)=>e&&e.then?e.then(t):t(),ve=e=>e.classList.add("hydrated"),ye=(e,t,n,r,i,s,o)=>{let a,l,c,u;if(1===s.nodeType){for(a=s.getAttribute(S),a&&(l=a.split("."),l[0]!==o&&"0"!==l[0]||(c={$flags$:0,$hostId$:l[0],$nodeId$:l[1],$depth$:l[2],$index$:l[3],$tag$:s.tagName.toLowerCase(),$elm$:s,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},t.push(c),s.removeAttribute(S),e.$children$||(e.$children$=[]),e.$children$[c.$index$]=c,e=c,r&&"0"===c.$depth$&&(r[c.$index$]=c.$elm$))),u=s.childNodes.length-1;u>=0;u--)ye(e,t,n,r,i,s.childNodes[u],o);if(s.shadowRoot)for(u=s.shadowRoot.childNodes.length-1;u>=0;u--)ye(e,t,n,r,i,s.shadowRoot.childNodes[u],o)}else if(8===s.nodeType)l=s.nodeValue.split("."),l[1]!==o&&"0"!==l[1]||(a=l[0],c={$flags$:0,$hostId$:l[1],$nodeId$:l[2],$depth$:l[3],$index$:l[4],$elm$:s,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===a?(c.$elm$=s.nextSibling,c.$elm$&&3===c.$elm$.nodeType&&(c.$text$=c.$elm$.textContent,t.push(c),s.remove(),e.$children$||(e.$children$=[]),e.$children$[c.$index$]=c,r&&"0"===c.$depth$&&(r[c.$index$]=c.$elm$))):c.$hostId$===o&&("s"===a?(c.$tag$="slot",l[5]?s["s-sn"]=c.$name$=l[5]:s["s-sn"]="",s["s-sr"]=!0,r&&(c.$elm$=p.createElement(c.$tag$),c.$name$&&c.$elm$.setAttribute("name",c.$name$),s.parentNode.insertBefore(c.$elm$,s),s.remove(),"0"===c.$depth$&&(r[c.$index$]=c.$elm$)),n.push(c),e.$children$||(e.$children$=[]),e.$children$[c.$index$]=c):"r"===a&&(r?s.remove():(i["s-cr"]=s,s["s-cn"]=!0))));else if(e&&"style"===e.$tag$){const t=R(null,s.textContent);t.$elm$=s,t.$index$="0",e.$children$=[t]}},be=(e,t)=>{if(1===e.nodeType){let n=0;for(;n<e.childNodes.length;n++)be(e.childNodes[n],t);if(e.shadowRoot)for(n=0;n<e.shadowRoot.childNodes.length;n++)be(e.shadowRoot.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");"o"===n[0]&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},we=(e,t,n,r)=>{const i=Te(e),s=i.$hostElement$,o=i.$instanceValues$.get(t),a=i.$flags$,l=i.$lazyInstance$;var c,u;if(c=n,u=r.$members$[t][0],n=null==c||M(c)?c:4&u?"false"!==c&&(""===c||!!c):2&u?parseFloat(c):1&u?String(c):c,!(8&a&&void 0!==o||n===o)&&(i.$instanceValues$.set(t,n),l)){if(r.$watchers$&&128&a){const e=r.$watchers$[t];e&&e.map(e=>{try{l[e](n,o,t)}catch(r){Me(r,s)}})}2==(18&a)&&le(i,!1)}}
1,_e=(e,t,n)=>{if(t.$members$){e.watchers&&(t.$watchers$=e.watchers);const r=Object.entries(t.$members$),i=e.prototype;if(r.map(([e,[r]])=>{31&r||2&n&&32&r?Object.defineProperty(i,e,{get(){return t=e,Te(this).$instanceValues$.get(t);var t},set(n){we(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&r&&Object.defineProperty(i,e,{value(...t){const n=Te(this);return n.$onInstancePromise$.then(()=>n.$lazyInstance$[e](...t))}})}),1&n){const n=new Map;i.attributeChangedCallback=function(e,t,r){f.jmp(()=>{const t=n.get(e);this[t]=(null!==r||"boolean"!=typeof this[t])&&r})},e.observedAttributes=r.filter(([e,t])=>15&t[0]).map(([e,r])=>{const i=r[1]||e;return n.set(i,e),512&r[0]&&t.$attrsToReflect$.push([e,i]),i})}}return e},xe=async(e,t,r,i,s)=>{if(0==(32&t.$flags$)){{if(t.$flags$|=32,(s=Re(r)).then){const e=()=>{};s=await s,e()}s.isProxied||(r.$watchers$=s.watchers,_e(s,r,2),s.isProxied=!0);const e=(r.$tagName$,()=>{});t.$flags$|=8;try{new s(t)}catch(l){Me(l)}t.$flags$&=-9,t.$flags$|=128,e(),Ce(t.$lazyInstance$)}if(s.style){let i=s.style;"string"!=typeof i&&(i=i[t.$modeName$=(e=>je.map(t=>t(e)).find(e=>!!e))(e)]);const o=T(r,t.$modeName$);if(!Le.has(o)){const e=(r.$tagName$,()=>{});8&r.$flags$&&(i=await n.e(73).then(n.bind(null,"JmUR")).then(e=>e.scopeCss(i,o,!1))),k(o,i,!!(1&r.$flags$)),e()}}}const o=t.$ancestorComponent$,a=()=>le(t,!0);o&&o["s-rc"]?o["s-rc"].push(a):a()},Ce=e=>{me(e,"connectedCallback")},Se=e=>{if(0==(1&f.$flags$)){const t=Te(e),n=t.$cmpMeta$,r=(n.$tagName$,()=>{});if(1&t.$flags$)y(e,t,n.$listeners$),Ce(t.$lazyInstance$);else{let r;if(t.$flags$|=1,r=e.getAttribute(x),r){if(m&&1&n.$flags$){const t=I(e.shadowRoot,n,e.getAttribute("s-mode"));e.classList.remove(t+"-h",t+"-s")}((e,t,n,r)=>{const i=()=>{},s=e.shadowRoot,o=[],a=s?[]:null,l=r.$vnode$=R(t,null);f.$orgLocNodes$||be(p.body,f.$orgLocNodes$=new Map),e["s-id"]=n,e.removeAttribute(x),ye(l,o,[],a,e,e,n),o.map(e=>{const n=e.$hostId$+"."+e.$nodeId$,r=f.$orgLocNodes$.get(n),i=e.$elm$;r&&m&&""===r["s-en"]&&r.parentNode.insertBefore(i,r.nextSibling),s||(i["s-hn"]=t,r&&(i["s-ol"]=r,i["s-ol"]["s-nr"]=i)),f.$orgLocNodes$.delete(n)}),s&&a.map(e=>{e&&s.appendChild(e)}),i()})(e,n.$tagName$,r,t)}r||12&n.$flags$&&Ee(e);{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){ae(t,t.$ancestorComponent$=n);break}}n.$members$&&Object.entries(n.$members$).map(([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}}),ze(()=>xe(e,t,n))}r()}},Ee=e=>{const t=e["s-cr"]=p.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},Ae=(e,t={})=>{const n=()=>{},r=[],i=t.exclude||[],s=h.customElements,o=p.head,a=o.querySelector("meta[charset]"),l=p.createElement("style"),c=[],u=p.querySelectorAll("[sty-id]");let d,g=!0,v=0;for(Object.assign(f,t),f.$resourcesUrl$=new URL(t.resourcesUrl||"./",p.baseURI).href,f.$flags$|=2;v<u.length;v++)k(u[v].getAttribute(C),u[v].innerHTML.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),!0);e.map(e=>e[1].map(t=>{const n={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};n.$members$=t[2],n.$listeners$=t[3],n.$attrsToReflect$=[],n.$watchers$={},!m&&1&n.$flags$&&(n.$flags$|=8);const o=n.$tagName$,a=class extends HTMLElement{constructor(e){super(e),De(e=this,n),1&n.$flags$&&(m?e.attachShadow({mode:"open",delegatesFocus:!!(16&n.$flags$)}):"shadowRoot"in e||(e.shadowRoot=e))}connectedCallback(){d&&(clearTimeout(d),d=null),g?c.push(this):f.jmp(()=>Se(this))}disconnectedCallback(){f.jmp(()=>(e=>{if(0==(1&f.$flags$)){const t=Te(e),n=t.$lazyInstance$;t.$rmListeners$&&(t.$rmListeners$.map(e=>e()),t.$rmListeners$=void 0),f.$cssShim$&&f.$cssShim$.removeHost(e),me(n,"disconnectedCallback")}})(this))}componentOnReady(){return Te(this).$onReadyPromise$}};n.$lazyBundleId$=e[0],i.includes(o)||s.get(o)||(r.push(o),s.define(o,_e(a,n,1)))})),l.innerHTML=r+"{visibility:hidden}.hydrated{visibility:inherit}",l.setAttribute("data-styles",""),o.insertBefore(l,a?a.nextSibling:o.firstChild),g=!1,c.length?c.map(e=>e.connectedCallback()):f.jmp(()=>d=setTimeout(fe,30)),n()},ke=e=>{const t=new URL(e,f.$resourcesUrl$);return t.origin!==h.location.origin?t.href:t.pathname},Ie=new WeakMap,Te=e=>Ie.get(e),Oe=(e,t)=>
1Ie.set(t.$lazyInstance$=e,t),De=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onInstancePromise$=new Promise(e=>n.$onInstanceResolve$=e),n.$onReadyPromise$=new Promise(e=>n.$onReadyResolve$=e),e["s-p"]=[],e["s-rc"]=[],y(e,n,t.$listeners$),Ie.set(e,n)},Pe=(e,t)=>t in e,Me=(e,t)=>(0,console.error)(e,t),Ne=new Map,Re=(e,t,r)=>{const i=e.$tagName$.replace(/-/g,"_"),s=e.$lazyBundleId$,o=Ne.get(s);return o?o[i]:n("kLfG")(`./${s}.entry.js`).then(e=>(Ne.set(s,e),e[i]),Me)},Le=new Map,je=[],Fe=[],Be=[],$e=(e,t)=>n=>{e.push(n),u||(u=!0,t&&4&f.$flags$?ze(Ue):f.raf(Ue))},Ve=e=>{for(let n=0;n<e.length;n++)try{e[n](performance.now())}catch(t){Me(t)}e.length=0},Ue=()=>{Ve(Fe),Ve(Be),(u=Fe.length>0)&&f.raf(Ue)},ze=e=>g().then(e),He=$e(Fe,!1),qe=$e(Be,!0),Ge={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1}},wZgz:function(e,t,n){var r;e.exports=(r=n("Ib8C"),n("ETIr"),n("cv67"),n("K3mO"),n("OLod"),function(){var e=r,t=e.lib.BlockCipher,n=e.algo,i=[],s=[],o=[],a=[],l=[],c=[],u=[],h=[],d=[],p=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var n=0,r=0;for(t=0;t<256;t++){var f=r^r<<1^r<<2^r<<3^r<<4;f=f>>>8^255&f^99,i[n]=f,s[f]=n;var m=e[n],g=e[m],v=e[g],y=257*e[f]^16843008*f;o[n]=y<<24|y>>>8,a[n]=y<<16|y>>>16,l[n]=y<<8|y>>>24,c[n]=y,y=16843009*v^65537*g^257*m^16843008*n,u[f]=y<<24|y>>>8,h[f]=y<<16|y>>>16,d[f]=y<<8|y>>>24,p[f]=y,n?(n=m^e[e[e[v^m]]],r^=e[e[r]]):n=r=1}}();var f=[0,1,2,4,8,16,32,64,128,27,54],m=n.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4,r=4*((this._nRounds=n+6)+1),s=this._keySchedule=[],o=0;o<r;o++)o<n?s[o]=t[o]:(c=s[o-1],o%n?n>6&&o%n==4&&(c=i[c>>>24]<<24|i[c>>>16&255]<<16|i[c>>>8&255]<<8|i[255&c]):(c=i[(c=c<<8|c>>>24)>>>24]<<24|i[c>>>16&255]<<16|i[c>>>8&255]<<8|i[255&c],c^=f[o/n|0]<<24),s[o]=s[o-n]^c);for(var a=this._invKeySchedule=[],l=0;l<r;l++){if(o=r-l,l%4)var c=s[o];else c=s[o-4];a[l]=l<4||o<=4?c:u[i[c>>>24]]^h[i[c>>>16&255]]^d[i[c>>>8&255]]^p[i[255&c]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,o,a,l,c,i)},decryptBlock:function(e,t){var n=e[t+1];e[t+1]=e[t+3],e[t+3]=n,this._doCryptBlock(e,t,this._invKeySchedule,u,h,d,p,s),n=e[t+1],e[t+1]=e[t+3],e[t+3]=n},_doCryptBlock:function(e,t,n,r,i,s,o,a){for(var l=this._nRounds,c=e[t]^n[0],u=e[t+1]^n[1],h=e[t+2]^n[2],d=e[t+3]^n[3],p=4,f=1;f<l;f++){var m=r[c>>>24]^i[u>>>16&255]^s[h>>>8&255]^o[255&d]^n[p++],g=r[u>>>24]^i[h>>>16&255]^s[d>>>8&255]^o[255&c]^n[p++],v=r[h>>>24]^i[d>>>16&255]^s[c>>>8&255]^o[255&u]^n[p++],y=r[d>>>24]^i[c>>>16&255]^s[u>>>8&255]^o[255&h]^n[p++];c=m,u=g,h=v,d=y}m=(a[c>>>24]<<24|a[u>>>16&255]<<16|a[h>>>8&255]<<8|a[255&d])^n[p++],g=(a[u>>>24]<<24|a[h>>>16&255]<<16|a[d>>>8&255]<<8|a[255&c])^n[p++],v=(a[h>>>24]<<24|a[d>>>16&255]<<16|a[c>>>8&255]<<8|a[255&u])^n[p++],y=(a[d>>>24]<<24|a[c>>>16&255]<<16|a[u>>>8&255]<<8|a[255&h])^n[p++],e[t]=m,e[t+1]=g,e[t+2]=v,e[t+3]=y},keySize:8});e.AES=t._createHelper(m)}(),r.AES)},wbyO:function(e,t,n){var r;e.exports=(r=n("Ib8C"),function(){var e=r,t=e.lib.WordArray;function n(e,n,r){for(var i=[],s=0,o=0;o<n;o++)if(o%4){var a=r[e.charCodeAt(o-1)]<<o%4*2|r[e.charCodeAt(o)]>>>6-o%4*2;i[s>>>2]|=a<<24-s%4*8,s++}return t.create(i,s)}e.enc.Base64url={stringify:function(e,t){void 0===t&&(t=!0);var n=e.words,r=e.sigBytes,i=t?this._safe_map:this._map;e.clamp();for(var s=[],o=0;o<r;o+=3)for(var a=(n[o>>>2]>>>24-o%4*8&255)<<16|(n[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|n[o+2>>>2]>>>24-(o+2)%4*8&255,l=0;l<4&&o+.75*l<r;l++)s.push(i.charAt(a>>>6*(3-l)&63));var c=i.charAt(64);if(c)for(;s.length%4;)s.push(c);return s.join("")},parse:function(e,t){void 0===t&&(t=!0);var r=e.length,i=t?this._safe_map:this._map,s=this._reverseMap;if(!s){s=this._reverseMap=[];for(var o=0;o<i.length;o++)s[i.charCodeAt(o)]=o}var a=i.charAt(64);if(a){var l=e.indexOf(a);-1!==l&&(r=l)}return n(e,r,s)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"}}(),r.enc.Base64url)},"x+ZX":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("7o/Q");function i(){return function(e){return e.lift(new s(e))}}class s{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const r=new o(e,n),i=t.subscribe(r);return r.closed||(r.connection=n.connect()),i}}class o extends r.a{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;
1if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:n}=this,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}},xgIS:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n("HDdC"),i=n("DH7j"),s=n("n6bG"),o=n("lJxs");Object.prototype.toString;function a(e,t,n,c){return Object(s.a)(n)&&(c=n,n=void 0),c?a(e,t,n).pipe(Object(o.a)(e=>Object(i.a)(e)?c(...e):c(e))):new r.a(r=>{l(e,t,function(e){arguments.length>1?r.next(Array.prototype.slice.call(arguments)):r.next(e)},r,n)})}function l(e,t,n,r,i){let s;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){const r=e;e.addEventListener(t,n,i),s=()=>r.removeEventListener(t,n,i)}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){const r=e;e.on(t,n),s=()=>r.off(t,n)}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e)){const r=e;e.addListener(t,n),s=()=>r.removeListener(t,n)}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let s=0,o=e.length;s<o;s++)l(e[s],t,n,r,i)}r.add(s)}},y08P:function(e,t,n){"use strict";n.d(t,"a",function(){return o});class r{constructor(e,t,n,r,i){this.id=t,this.name=n,this.disableScroll=i,this.priority=1e6*r+t,this.ctrl=e}canStart(){return!!this.ctrl&&this.ctrl.canStart(this.name)}start(){return!!this.ctrl&&this.ctrl.start(this.name,this.id,this.priority)}capture(){if(!this.ctrl)return!1;const e=this.ctrl.capture(this.name,this.id,this.priority);return e&&this.disableScroll&&this.ctrl.disableScroll(this.id),e}release(){this.ctrl&&(this.ctrl.release(this.id),this.disableScroll&&this.ctrl.enableScroll(this.id))}destroy(){this.release(),this.ctrl=void 0}}class i{constructor(e,t,n,r){this.id=t,this.disable=n,this.disableScroll=r,this.ctrl=e}block(){if(this.ctrl){if(this.disable)for(const e of this.disable)this.ctrl.disableGesture(e,this.id);this.disableScroll&&this.ctrl.disableScroll(this.id)}}unblock(){if(this.ctrl){if(this.disable)for(const e of this.disable)this.ctrl.enableGesture(e,this.id);this.disableScroll&&this.ctrl.enableScroll(this.id)}}destroy(){this.unblock(),this.ctrl=void 0}}const s="backdrop-no-scroll",o=new class{constructor(){this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}createGesture(e){return new r(this,this.newID(),e.name,e.priority||0,!!e.disableScroll)}createBlocker(e={}){return new i(this,this.newID(),e.disable,!!e.disableScroll)}start(e,t,n){return this.canStart(e)?(this.requestedStart.set(t,n),!0):(this.requestedStart.delete(t),!1)}capture(e,t,n){if(!this.start(e,t,n))return!1;const r=this.requestedStart;let i=-1e4;if(r.forEach(e=>{i=Math.max(i,e)}),i===n){this.capturedId=t,r.clear();const n=new CustomEvent("ionGestureCaptured",{detail:{gestureName:e}});return document.dispatchEvent(n),!0}return r.delete(t),!1}release(e){this.requestedStart.delete(e),this.capturedId===e&&(this.capturedId=void 0)}disableGesture(e,t){let n=this.disabledGestures.get(e);void 0===n&&(n=new Set,this.disabledGestures.set(e,n)),n.add(t)}enableGesture(e,t){const n=this.disabledGestures.get(e);void 0!==n&&n.delete(t)}disableScroll(e){this.disabledScroll.add(e),1===this.disabledScroll.size&&document.body.classList.add(s)}enableScroll(e){this.disabledScroll.delete(e),0===this.disabledScroll.size&&document.body.classList.remove(s)}canStart(e){return void 0===this.capturedId&&!this.isDisabled(e)}isCaptured(){return void 0!==this.capturedId}isScrollDisabled(){return this.disabledScroll.size>0}isDisabled(e){const t=this.disabledGestures.get(e);return!!(t&&t.size>0)}newID(){return this.gestureId++,this.gestureId}}},yCtX:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("HDdC"),i=n("ngJS"),s=n("jZKg");function o(e,t){return t?Object(s.a)(e,t):new r.a(Object(i.a)(e))}},"z+Ro":function(e,t,n){"use strict";function r(e){return e&&"function"==typeof e.schedule}n.d(t,"a",function(){return r})},z6cu:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("HDdC");function i(e,t){return t?new r.a(n=>t.schedule(s,0,{error:e,subscriber:n})):new r.a(t=>t.error(e))}function s({error:e,subscriber:t}){t.error(e)}},zUnb:function(e,t,n){"use strict";n.r(t);var r,i=n("fXoL");function s(e){if(":"!=e[0])return[null,e];const t=e.indexOf(":",1);if(-1==t)throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[e.slice(1,t),e.slice(t+1)]}function o(e){return"ng-container"===s(e)[1]}function a(e){return"ng-content"===s(e)[1]}function l(e){return"ng-template"===s(e)[1]}function c(e){return null===e?null:s(e)[0]}function u(e,t){return e?`:${e}:${t}`:t}!function(e){e[e.RAW_TEXT=0]="RAW_TEXT",e[e.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",e[e.PARSABLE_DATA=2]="PARSABLE_DATA"}(r||(r={}));const h={Aacute:"\xc1",aacute:"\xe1",Acirc:"\xc2",acirc:"\xe2",acute:"\xb4",AElig:"\xc6",aelig:"\xe6",Agrave:"\xc0",agrave:"\xe0",alefsym:"\u2135",Alpha:"\u0391",alpha:"\u03b1",amp:"&",and:"\u2227",ang:"\u2220",apos:"'",Aring:"\xc5",aring:"\xe5",asymp:"\u2248",Atilde:"\xc3",atilde:"\xe3",Auml:"\xc4",auml:"\xe4",bdquo:"\u201e",Beta:"\u0392",beta:"\u03b2",brvbar:"\xa6",bull:"\u2022",cap:"\u2229",Ccedil:"\xc7",ccedil:"\xe7",cedil:"\xb8",cent:"\xa2",Chi:"\u03a7",chi:"\u03c7",circ:"\u02c6",clubs:"\u2663",cong:"\u2245",copy:"\xa9",crarr:"\u21b5",cup:"\u222a",curren:"\xa4",dagger:"\u2020",Dagger:"\u2021",darr:"\u2193",dArr:"\u21d3",deg:"\xb0",Delta:"\u0394",delta:"\u03b4",diams:"\u2666",divide:"\xf7",Eacute:"\xc9",eacute:"\xe9",Ecirc:"\xca",ecirc:"\xea",Egrave:"\xc8",egrave:"\xe8",empty:"\u2205",emsp:"\u2003",ensp:"\u2002",Epsilon:"\u0395",epsilon:"\u03b5",equiv:"\u2261",Eta:"\u0397",eta:"\u03b7",ETH:"\xd0",eth:"\xf0",Euml:"\xcb",euml:"\xeb",euro:"\u20ac",exist:"\u2203",fnof:"\u0192",forall:"\u2200",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe",frasl:"\u2044",Gamma:"\u0393",gamma:"\u03b3",ge:"\u2265",gt:">",harr:"\u2194",hArr:"\u21d4",hearts:"\u2665",hellip:"\u2026",Iacute:"\xcd",iacute:"\xed",Icirc:"\xce",icirc:"\xee",iexcl:"\xa1",Igrave:"\xcc",igrave:"\xec",image:"\u2111",infin:"\u221e",int:"\u222b",Iota:"\u0399",iota:"\u03b9",iquest:"\xbf",isin:"\u2208",Iuml:"\xcf",iuml:"\xef",Kappa:"\u039a",kappa:"\u03ba",Lambda:"\u039b",lambda:"\u03bb",lang:"\u27e8",laquo:"\xab",larr:"\u2190",lArr:"\u21d0",lceil:"\u2308",ldquo:"\u201c",le:"\u2264",lfloor:"\u230a",lowast:"\u2217",loz:"\u25ca",lrm:"\u200e",lsaquo:"\u2039",lsquo:"\u2018",lt:"<",macr:"\xaf",mdash:"\u2014",micro:"\xb5",middot:"\xb7",minus:"\u2212",Mu:"\u039c",mu:"\u03bc",nabla:"\u2207",nbsp:"\xa0",ndash:"\u2013",ne:"\u2260",ni:"\u220b",not:"\xac",notin:"\u2209",nsub:"\u2284",Ntilde:"\xd1",ntilde:"\xf1",Nu:"\u039d",nu:"\u
103bd",Oacute:"\xd3",oacute:"\xf3",Ocirc:"\xd4",ocirc:"\xf4",OElig:"\u0152",oelig:"\u0153",Ograve:"\xd2",ograve:"\xf2",oline:"\u203e",Omega:"\u03a9",omega:"\u03c9",Omicron:"\u039f",omicron:"\u03bf",oplus:"\u2295",or:"\u2228",ordf:"\xaa",ordm:"\xba",Oslash:"\xd8",oslash:"\xf8",Otilde:"\xd5",otilde:"\xf5",otimes:"\u2297",Ouml:"\xd6",ouml:"\xf6",para:"\xb6",permil:"\u2030",perp:"\u22a5",Phi:"\u03a6",phi:"\u03c6",Pi:"\u03a0",pi:"\u03c0",piv:"\u03d6",plusmn:"\xb1",pound:"\xa3",prime:"\u2032",Prime:"\u2033",prod:"\u220f",prop:"\u221d",Psi:"\u03a8",psi:"\u03c8",quot:'"',radic:"\u221a",rang:"\u27e9",raquo:"\xbb",rarr:"\u2192",rArr:"\u21d2",rceil:"\u2309",rdquo:"\u201d",real:"\u211c",reg:"\xae",rfloor:"\u230b",Rho:"\u03a1",rho:"\u03c1",rlm:"\u200f",rsaquo:"\u203a",rsquo:"\u2019",sbquo:"\u201a",Scaron:"\u0160",scaron:"\u0161",sdot:"\u22c5",sect:"\xa7",shy:"\xad",Sigma:"\u03a3",sigma:"\u03c3",sigmaf:"\u03c2",sim:"\u223c",spades:"\u2660",sub:"\u2282",sube:"\u2286",sum:"\u2211",sup:"\u2283",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supe:"\u2287",szlig:"\xdf",Tau:"\u03a4",tau:"\u03c4",there4:"\u2234",Theta:"\u0398",theta:"\u03b8",thetasym:"\u03d1",thinsp:"\u2009",THORN:"\xde",thorn:"\xfe",tilde:"\u02dc",times:"\xd7",trade:"\u2122",Uacute:"\xda",uacute:"\xfa",uarr:"\u2191",uArr:"\u21d1",Ucirc:"\xdb",ucirc:"\xfb",Ugrave:"\xd9",ugrave:"\xf9",uml:"\xa8",upsih:"\u03d2",Upsilon:"\u03a5",upsilon:"\u03c5",Uuml:"\xdc",uuml:"\xfc",weierp:"\u2118",Xi:"\u039e",xi:"\u03be",Yacute:"\xdd",yacute:"\xfd",yen:"\xa5",yuml:"\xff",Yuml:"\u0178",Zeta:"\u0396",zeta:"\u03b6",zwj:"\u200d",zwnj:"\u200c"};h.ngsp="\ue500";class d{constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:n=r.PARSABLE_DATA,closedByParent:i=!1,isVoid:s=!1,ignoreFirstLf:o=!1,preventNamespaceInheritance:a=!1}={}){this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,e&&e.length>0&&e.forEach(e=>this.closedByChildren[e]=!0),this.isVoid=s,this.closedByParent=i||s,this.implicitNamespacePrefix=t||null,this.contentType=n,this.ignoreFirstLf=o,this.preventNamespaceInheritance=a}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}getContentType(e){if("object"==typeof this.contentType){const t=null==e?void 0:this.contentType[e];return null!=t?t:this.contentType.default}return this.contentType}}let p,f;function m(e){var t,n;return f||(p=new d,f={base:new d({isVoid:!0}),meta:new d({isVoid:!0}),area:new d({isVoid:!0}),embed:new d({isVoid:!0}),link:new d({isVoid:!0}),img:new d({isVoid:!0}),input:new d({isVoid:!0}),param:new d({isVoid:!0}),hr:new d({isVoid:!0}),br:new d({isVoid:!0}),source:new d({isVoid:!0}),track:new d({isVoid:!0}),wbr:new d({isVoid:!0}),p:new d({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new d({closedByChildren:["tbody","tfoot"]}),tbody:new d({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new d({closedByChildren:["tbody"],closedByParent:!0}),tr:new d({closedByChildren:["tr"],closedByParent:!0}),td:new d({closedByChildren:["td","th"],closedByParent:!0}),th:new d({closedByChildren:["td","th"],closedByParent:!0}),col:new d({isVoid:!0}),svg:new d({implicitNamespacePrefix:"svg"}),foreignObject:new d({implicitNamespacePrefix:"svg",preventNamespaceInheritance:!0}),math:new d({implicitNamespacePrefix:"math"}),li:new d({closedByChildren:["li"],closedByParent:!0}),dt:new d({closedByChildren:["dt","dd"]}),dd:new d({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new d({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new d({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new d({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new d({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new d({closedByChildren:["optgroup"],closedByParent:!0}),option:new d({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new d({ignoreFirstLf:!0}),listing:new d({ignoreFirstLf:!0}),style:new d({contentType:r.RAW_TEXT}),script:new d({contentType:r.RAW_TEXT}),title:new d({contentType:{default:r.ESCAPABLE_RAW_TEXT,svg:r.PARSABLE_DATA}}),textarea:new d({contentType:r.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),null!==(n=null!==(t=f[e])&&void 0!==t?t:f[e.toLowerCase()])&&void 0!==n?n:p}
1const g=new RegExp("(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*]+)(?:=([\"']?)([^\\]\"']*)\\5)?\\])|(\\))|(\\s*,\\s*)","g");class v{constructor(){this.element=null,this.classNames=[],this.attrs=[],this.notSelectors=[]}static parse(e){const t=[],n=(e,t)=>{t.notSelectors.length>0&&!t.element&&0==t.classNames.length&&0==t.attrs.length&&(t.element="*"),e.push(t)};let r,i=new v,s=i,o=!1;for(g.lastIndex=0;r=g.exec(e);){if(r[1]){if(o)throw new Error("Nesting :not in a selector is not allowed");o=!0,s=new v,i.notSelectors.push(s)}const e=r[2];if(e){const t=r[3];"#"===t?s.addAttribute("id",e.substr(1)):"."===t?s.addClassName(e.substr(1)):s.setElement(e)}const a=r[4];if(a&&s.addAttribute(a,r[6]),r[7]&&(o=!1,s=i),r[8]){if(o)throw new Error("Multiple selectors in :not are not supported");n(t,i),i=s=new v}}return n(t,i),t}isElementSelector(){return this.hasElementSelector()&&0==this.classNames.length&&0==this.attrs.length&&0===this.notSelectors.length}hasElementSelector(){return!!this.element}setElement(e=null){this.element=e}getMatchingElementTemplate(){const e=this.element||"div",t=this.classNames.length>0?` class="${this.classNames.join(" ")}"`:"";let n="";for(let r=0;r<this.attrs.length;r+=2){n+=` ${this.attrs[r]}${""!==this.attrs[r+1]?`="${this.attrs[r+1]}"`:""}`}return m(e).isVoid?`<${e}${t}${n}/>`:`<${e}${t}${n}></${e}>`}getAttrs(){const e=[];return this.classNames.length>0&&e.push("class",this.classNames.join(" ")),e.concat(this.attrs)}addAttribute(e,t=""){this.attrs.push(e,t&&t.toLowerCase()||"")}addClassName(e){this.classNames.push(e.toLowerCase())}toString(){let e=this.element||"";if(this.classNames&&this.classNames.forEach(t=>e+=`.${t}`),this.attrs)for(let t=0;t<this.attrs.length;t+=2){const n=this.attrs[t],r=this.attrs[t+1];e+=`[${n}${r?"="+r:""}]`}return this.notSelectors.forEach(t=>e+=`:not(${t})`),e}}class y{constructor(){this._elementMap=new Map,this._elementPartialMap=new Map,this._classMap=new Map,this._classPartialMap=new Map,this._attrValueMap=new Map,this._attrValuePartialMap=new Map,this._listContexts=[]}static createNotMatcher(e){const t=new y;return t.addSelectables(e,null),t}addSelectables(e,t){let n=null;e.length>1&&(n=new b(e),this._listContexts.push(n));for(let r=0;r<e.length;r++)this._addSelectable(e[r],t,n)}_addSelectable(e,t,n){let r=this;const i=e.element,s=e.classNames,o=e.attrs,a=new w(e,t,n);if(i){0===o.length&&0===s.length?this._addTerminal(r._elementMap,i,a):r=this._addPartial(r._elementPartialMap,i)}if(s)for(let l=0;l<s.length;l++){const e=0===o.length&&l===s.length-1,t=s[l];e?this._addTerminal(r._classMap,t,a):r=this._addPartial(r._classPartialMap,t)}if(o)for(let l=0;l<o.length;l+=2){const e=l===o.length-2,t=o[l],n=o[l+1];if(e){const e=r._attrValueMap;let i=e.get(t);i||(i=new Map,e.set(t,i)),this._addTerminal(i,n,a)}else{const e=r._attrValuePartialMap;let i=e.get(t);i||(i=new Map,e.set(t,i)),r=this._addPartial(i,n)}}}_addTerminal(e,t,n){let r=e.get(t);r||(r=[],e.set(t,r)),r.push(n)}_addPartial(e,t){let n=e.get(t);return n||(n=new y,e.set(t,n)),n}match(e,t){let n=!1;const r=e.element,i=e.classNames,s=e.attrs;for(let o=0;o<this._listContexts.length;o++)this._listContexts[o].alreadyMatched=!1;if(n=this._matchTerminal(this._elementMap,r,e,t)||n,n=this._matchPartial(this._elementPartialMap,r,e,t)||n,i)for(let o=0;o<i.length;o++){const r=i[o];n=this._matchTerminal(this._classMap,r,e,t)||n,n=this._matchPartial(this._classPartialMap,r,e,t)||n}if(s)for(let o=0;o<s.length;o+=2){const r=s[o],i=s[o+1],a=this._attrValueMap.get(r);i&&(n=this._matchTerminal(a,"",e,t)||n),n=this._matchTerminal(a,i,e,t)||n;const l=this._attrValuePartialMap.get(r);i&&(n=this._matchPartial(l,"",e,t)||n),n=this._matchPartial(l,i,e,t)||n}return n}_matchTerminal(e,t,n,r){if(!e||"string"!=typeof t)return!1;let i=e.get(t)||[];const s=e.get("*");if(s&&(i=i.concat(s)),0===i.length)return!1;let o,a=!1;for(let l=0;l<i.length;l++)o=i[l],a=o.finalize(n,r)||a;return a}_matchPartial(e,t,n,r){if(!e||"string"!=typeof t)return!1;const i=e.get(t);return!!i&&i.match(n,r)}}class b{constructor(e){this.selectors=e,this.alreadyMatched=!1}}class w{constructor(e,t,n){this.selector=e,this.cbContext=t,this.listContext=n,this.notSelectors=e.notSelectors}finalize(e,t){let n=!0;if(this.notSelectors.length>0&&(!this.listContext||!this.listContext.alreadyMatched)){n=!y.createNotMatcher(this.notSelectors).match(e,null)}return!n||!t||this.listContext&&this.listContext.alreadyMatched||(this.listContext&&(this.listContext.alreadyMatched=!0),t(this.selector,this.cbContext)),n}}const _=K("Inject",e=>({token:e})),x=K("InjectionToken",e=>({_desc:e,"\u0275prov":void 0})),C=K("Attribute",e=>({attributeName:e})),S=!1,E=K("ContentChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:S},t)),A=K("ContentChild",(e,t={})=>Object.assign({selector:e,first:!0,isViewQuery:!1,descendants:!0},t)),k=K("ViewChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:S},t)),I=K("ViewChild",(e,t)=>Object.assign({selector:e,first:!0,isViewQuery:!0,descendants:!0},t)),T=K("Directive",(e={})=>e);var O,D;!function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(O||(O={})),function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"}(D||(D={}));const P=K("Component",(e={})=>Object.assign({changeDetection:D.Default},e)),M=K("Pipe",e=>Object.assign({pure:!0},e)),N=K("Input",e=>({bindingPropertyName:e})),R=K("Output",e=>({bindingPropertyName:e})),L=K("HostBinding",e=>({hostPropertyName:e})),j=K("HostListener",(e,t)=>({eventName:e,args:t})),F=K("NgModule",e=>e),B=K("Injectable",(e={})=>e),$={name:"custom-elements"},V={name:"no-errors-schema"},U=K("Optional"),z=K("Self"),H=K("SkipSelf"),q=K("Host"),G=Function;var W,Q;function K(e,t){function n(...n){const r=t?t(...n):{};return Object.assign({ngMetadataName:e},r)}return n.isTypeOf=t=>t&&t.ngMetadataName===e,n.ngMetadataName=e,n}function X(e){const t=function(e){const t=e.classNames&&e.classNames.length?[8,...e.classNames]:[];return[e.element&&"*"!==e.element?e.element:"",...e.attrs,...t]}(e),n=e.notSelectors&&e.notSelectors.length?e.notSelectors.map(e=>function(e){const t=e.classNames&&e.classNames.length?[8,...e.classNames]:[];return e.element?[5,e.element,...e.attrs,...t]:e.attrs.length?[3,...e.attrs,...t]:e.classNames&&e.classNames.length?[9,...e.classNames]:[]}(e)):[];return t.concat(...n)}function Y(e){return e?v.parse(e).map(X):[]}!function(e){e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL"}(W||(W={})),function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"}(Q||(Q={}));var Z,J;!function(e){e[e.Const=0]="Const"}(Z||(Z={}));class ee{constructor(e=[]){this.modifiers=e}hasModifier(e){return-1!==this.modifiers.indexOf(e)}}!function(e){e[e.Dynamic=0]="Dynamic",e[e.Bool=1]="Bool",e[e.String=2]="String",e[e.Int=3]="Int",e[e.Number=4]="Number",e[e.Fu
1nction=5]="Function",e[e.Inferred=6]="Inferred",e[e.None=7]="None"}(J||(J={}));class te extends ee{constructor(e,t){super(t),this.name=e}visitType(e,t){return e.visitBuiltinType(this,t)}}class ne extends ee{constructor(e,t,n=null){super(t),this.value=e,this.typeParams=n}visitType(e,t){return e.visitExpressionType(this,t)}}class re extends ee{constructor(e,t){super(t),this.of=e}visitType(e,t){return e.visitArrayType(this,t)}}class ie extends ee{constructor(e,t){super(t),this.valueType=e||null}visitType(e,t){return e.visitMapType(this,t)}}const se=new te(J.Dynamic),oe=new te(J.Inferred),ae=new te(J.Bool),le=(new te(J.Int),new te(J.Number)),ce=new te(J.String),ue=(new te(J.Function),new te(J.None));var he,de,pe,fe;function me(e,t){return null==e||null==t?e==t:e.isEquivalent(t)}function ge(e,t,n){const r=e.length;if(r!==t.length)return!1;for(let i=0;i<r;i++)if(!n(e[i],t[i]))return!1;return!0}function ve(e,t){return ge(e,t,(e,t)=>e.isEquivalent(t))}!function(e){e[e.Minus=0]="Minus",e[e.Plus=1]="Plus"}(he||(he={})),function(e){e[e.Equals=0]="Equals",e[e.NotEquals=1]="NotEquals",e[e.Identical=2]="Identical",e[e.NotIdentical=3]="NotIdentical",e[e.Minus=4]="Minus",e[e.Plus=5]="Plus",e[e.Divide=6]="Divide",e[e.Multiply=7]="Multiply",e[e.Modulo=8]="Modulo",e[e.And=9]="And",e[e.Or=10]="Or",e[e.BitwiseAnd=11]="BitwiseAnd",e[e.Lower=12]="Lower",e[e.LowerEquals=13]="LowerEquals",e[e.Bigger=14]="Bigger",e[e.BiggerEquals=15]="BiggerEquals"}(de||(de={}));class ye{constructor(e,t){this.type=e||null,this.sourceSpan=t||null}prop(e,t){return new Ke(this,e,null,t)}key(e,t,n){return new Xe(this,e,t,n)}callMethod(e,t,n){return new Ee(this,e,t,null,n)}callFn(e,t,n){return new Ae(this,e,null,t,n)}instantiate(e,t,n){return new Ie(this,e,t,n)}conditional(e,t=null,n){return new Ve(this,e,t,null,n)}equals(e,t){return new Qe(de.Equals,this,e,null,t)}notEquals(e,t){return new Qe(de.NotEquals,this,e,null,t)}identical(e,t){return new Qe(de.Identical,this,e,null,t)}notIdentical(e,t){return new Qe(de.NotIdentical,this,e,null,t)}minus(e,t){return new Qe(de.Minus,this,e,null,t)}plus(e,t){return new Qe(de.Plus,this,e,null,t)}divide(e,t){return new Qe(de.Divide,this,e,null,t)}multiply(e,t){return new Qe(de.Multiply,this,e,null,t)}modulo(e,t){return new Qe(de.Modulo,this,e,null,t)}and(e,t){return new Qe(de.And,this,e,null,t)}bitwiseAnd(e,t,n=!0){return new Qe(de.BitwiseAnd,this,e,null,t,n)}or(e,t){return new Qe(de.Or,this,e,null,t)}lower(e,t){return new Qe(de.Lower,this,e,null,t)}lowerEquals(e,t){return new Qe(de.LowerEquals,this,e,null,t)}bigger(e,t){return new Qe(de.Bigger,this,e,null,t)}biggerEquals(e,t){return new Qe(de.BiggerEquals,this,e,null,t)}isBlank(e){return this.equals(nt,e)}cast(e,t){return new He(this,e,t)}toStmt(){return new ct(this,null)}}!function(e){e[e.This=0]="This",e[e.Super=1]="Super",e[e.CatchError=2]="CatchError",e[e.CatchStack=3]="CatchStack"}(pe||(pe={}));class be extends ye{constructor(e,t,n){super(t,n),"string"==typeof e?(this.name=e,this.builtin=null):(this.name=null,this.builtin=e)}isEquivalent(e){return e instanceof be&&this.name===e.name&&this.builtin===e.builtin}isConstant(){return!1}visitExpression(e,t){return e.visitReadVarExpr(this,t)}set(e){if(!this.name)throw new Error(`Built in variable ${this.builtin} can not be assigned to.`);return new xe(this.name,e,null,this.sourceSpan)}}class we extends ye{constructor(e,t,n){super(t,n),this.expr=e}visitExpression(e,t){return e.visitTypeofExpr(this,t)}isEquivalent(e){return e instanceof we&&e.expr.isEquivalent(this.expr)}isConstant(){return this.expr.isConstant()}}class _e extends ye{constructor(e,t,n){super(t,n),this.node=e}isEquivalent(e){return e instanceof _e&&this.node===e.node}isConstant(){return!1}visitExpression(e,t){return e.visitWrappedNodeExpr(this,t)}}class xe extends ye{constructor(e,t,n,r){super(n||t.type,r),this.name=e,this.value=t}isEquivalent(e){return e instanceof xe&&this.name===e.name&&this.value.isEquivalent(e.value)}isConstant(){return!1}visitExpression(e,t){return e.visitWriteVarExpr(this,t)}toDeclStmt(e,t){return new at(this.name,this.value,e,t,this.sourceSpan)}toConstDecl(){return this.toDeclStmt(oe,[rt.Final])}}class Ce extends ye{constructor(e,t,n,r,i){super(r||n.type,i),this.receiver=e,this.index=t,this.value=n}isEquivalent(e){return e instanceof Ce&&this.receiver.isEquivalent(e.receiver)&&this.index.isEquivalent(e.index)&&this.value.isEquivalent(e.value)}isConstant(){return!1}visitExpression(e,t){return e.visitWriteKeyExpr(this,t)}}class Se extends ye{constructor(e,t,n,r,i){super(r||n.type,i),this.receiver=e,this.name=t,this.value=n}isEquivalent(e){return e instanceof Se&&this.receiver.isEquivalent(e.receiver)&&this.name===e.name&&this.value.isEquivalent(e.value)}isConstant(){return!1}visitExpression(e,t){return e.visitWritePropExpr(this,t)}}
1!function(e){e[e.ConcatArray=0]="ConcatArray",e[e.SubscribeObservable=1]="SubscribeObservable",e[e.Bind=2]="Bind"}(fe||(fe={}));class Ee extends ye{constructor(e,t,n,r,i){super(r,i),this.receiver=e,this.args=n,"string"==typeof t?(this.name=t,this.builtin=null):(this.name=null,this.builtin=t)}isEquivalent(e){return e instanceof Ee&&this.receiver.isEquivalent(e.receiver)&&this.name===e.name&&this.builtin===e.builtin&&ve(this.args,e.args)}isConstant(){return!1}visitExpression(e,t){return e.visitInvokeMethodExpr(this,t)}}class Ae extends ye{constructor(e,t,n,r,i=!1){super(n,r),this.fn=e,this.args=t,this.pure=i}isEquivalent(e){return e instanceof Ae&&this.fn.isEquivalent(e.fn)&&ve(this.args,e.args)&&this.pure===e.pure}isConstant(){return!1}visitExpression(e,t){return e.visitInvokeFunctionExpr(this,t)}}class ke extends ye{constructor(e,t,n,r){super(n,r),this.tag=e,this.template=t}isEquivalent(e){return e instanceof ke&&this.tag.isEquivalent(e.tag)&&ge(this.template.elements,e.template.elements,(e,t)=>e.text===t.text)&&ve(this.template.expressions,e.template.expressions)}isConstant(){return!1}visitExpression(e,t){return e.visitTaggedTemplateExpr(this,t)}}class Ie extends ye{constructor(e,t,n,r){super(n,r),this.classExpr=e,this.args=t}isEquivalent(e){return e instanceof Ie&&this.classExpr.isEquivalent(e.classExpr)&&ve(this.args,e.args)}isConstant(){return!1}visitExpression(e,t){return e.visitInstantiateExpr(this,t)}}class Te extends ye{constructor(e,t,n){super(t,n),this.value=e}isEquivalent(e){return e instanceof Te&&this.value===e.value}isConstant(){return!0}visitExpression(e,t){return e.visitLiteralExpr(this,t)}}class Oe{constructor(e,t){this.elements=e,this.expressions=t}}class De{constructor(e,t,n){var r;this.text=e,this.sourceSpan=t,this.rawText=null!==(r=null!=n?n:null==t?void 0:t.toString())&&void 0!==r?r:Fe(Le(e))}}class Pe{constructor(e,t){this.text=e,this.sourceSpan=t}}class Me extends Pe{}class Ne extends Pe{}class Re extends ye{constructor(e,t,n,r,i){super(ce,i),this.metaBlock=e,this.messageParts=t,this.placeHolderNames=n,this.expressions=r}isEquivalent(e){return!1}isConstant(){return!1}visitExpression(e,t){return e.visitLocalizedString(this,t)}serializeI18nHead(){let e=this.metaBlock.description||"";return this.metaBlock.meaning&&(e=`${this.metaBlock.meaning}|${e}`),this.metaBlock.customId&&(e=`${e}@@${this.metaBlock.customId}`),this.metaBlock.legacyIds&&this.metaBlock.legacyIds.forEach(t=>{e=`${e}\u241f${t}`}),Be(e,this.messageParts[0].text,this.getMessagePartSourceSpan(0))}getMessagePartSourceSpan(e){var t,n;return null!==(n=null===(t=this.messageParts[e])||void 0===t?void 0:t.sourceSpan)&&void 0!==n?n:this.sourceSpan}getPlaceholderSourceSpan(e){var t,n,r,i;return null!==(i=null!==(n=null===(t=this.placeHolderNames[e])||void 0===t?void 0:t.sourceSpan)&&void 0!==n?n:null===(r=this.expressions[e])||void 0===r?void 0:r.sourceSpan)&&void 0!==i?i:this.sourceSpan}serializeI18nTemplatePart(e){return Be(this.placeHolderNames[e-1].text,this.messageParts[e].text,this.getMessagePartSourceSpan(e))}}const Le=e=>e.replace(/\\/g,"\\\\"),je=e=>e.replace(/:/g,"\\:"),Fe=e=>e.replace(/`/g,"\\`").replace(/\${/g,"$\\{");function Be(e,t,n){return""===e?{cooked:t,raw:Fe((r=Le(t),r.replace(/^:/,"\\:"))),range:n}:{cooked:`:${e}:${t}`,raw:Fe(`:${je(Le(e))}:${Le(t)}`),range:n};var r}class $e extends ye{constructor(e,t,n=null,r){super(t,r),this.value=e,this.typeParams=n}isEquivalent(e){return e instanceof $e&&this.value.name===e.value.name&&this.value.moduleName===e.value.moduleName&&this.value.runtime===e.value.runtime}isConstant(){return!1}visitExpression(e,t){return e.visitExternalExpr(this,t)}}class Ve extends ye{constructor(e,t,n=null,r,i){super(r||t.type,i),this.condition=e,this.falseCase=n,this.trueCase=t}isEquivalent(e){return e instanceof Ve&&this.condition.isEquivalent(e.condition)&&this.trueCase.isEquivalent(e.trueCase)&&me(this.falseCase,e.falseCase)}isConstant(){return!1}visitExpression(e,t){return e.visitConditionalExpr(this,t)}}class Ue extends ye{constructor(e,t){super(ae,t),this.condition=e}isEquivalent(e){return e instanceof Ue&&this.condition.isEquivalent(e.condition)}isConstant(){return!1}visitExpression(e,t){return e.visitNotExpr(this,t)}}class ze extends ye{constructor(e,t){super(e.type,t),this.condition=e}isEquivalent(e){return e instanceof ze&&this.condition.isEquivalent(e.condition)}isConstant(){return!1}visitExpression(e,t){return e.visitAssertNotNullExpr(this,t)}}class He extends ye{constructor(e,t,n){super(t,n),this.value=e}isEquivalent(e){return e instanceof He&&this.value.isEquivalent(e.value)}isConstant(){return!1}visitExpression(e,t){return e.visitCastExpr(this,t)}}class qe{constructor(e,t=null){this.name=e,this.type=t}isEquivalent(e){return this.name===e.name}}class Ge extends ye{constructor(e,t,n,r,i){super(n,r),this.params=e,this.statements=t,this.name=i}isEquivalent(e){return e instanceof Ge&&ve(this.params,e.params)&&ve(this.statements,e.statements)}isConstant(){return!1}visitExpression(e,t){return e.visitFunctionExpr(this,t)}toDeclStmt(e,t){return new lt(e,this.params,this.statements,this.type,t,this.sourceSpan)}}class We extends ye{constructor(e,t,n,r,i=!0){super(n||le,r),this.operator=e,this.expr=t,this.parens=i}isEquivalent(e){return e instanceof We&&this.operator===e.operator&&this.expr.isEquivalent(e.expr)}isConstant(){return!1}visitExpression(e,t){return e.visitUnaryOperatorExpr(this,t)}}class Qe extends ye{constructor(e,t,n,r,i,s=!0){super(r||t.type,i),this.operator=e,this.rhs=n,this.parens=s,this.lhs=t}isEquivalent(e){return e instanceof Qe&&this.operator===e.operator&&this.lhs.isEquivalent(e.lhs)&&this.rhs.isEquivalent(e.rhs)}isConstant(){return!1}visitExpression(e,t){return e.visitBinaryOperatorExpr(this,t)}}class Ke extends ye{constructor(e,t,n,r){super(n,r),this.receiver=e,this.name=t}isEquivalent(e){return e instanceof Ke&&this.receiver.isEquivalent(e.receiver)&&this.name===e.name}isConstant(){return!1}visitExpression(e,t){return e.visitReadPropExpr(this,t)}set(e){return new Se(this.receiver,this.name,e,null,this.sourceSpan)}}class Xe extends ye{constructor(e,t,n,r){super(n,r),this.receiver=e,this.index=t}isEquivalent(e){return e instanceof Xe&&this.receiver.isEquivalent(e.receiver)&&this.index.isEquivalent(e.index)}isConstant(){return!1}visitExpression(e,t){return e.visitReadKeyExpr(this,t)}set(e){return new Ce(this.receiver,this.index,e,null,this.sourceSpan)}}class Ye extends ye{constructor(e,t,n){super(t,n),this.entries=e}isConstant(){return this.entries.every(e=>e.isConstant())}isEquivalent(e){return e instanceof Ye&&ve(this.entries,e.entries)}visitExpression(e,t){return e.visitLiteralArrayExpr(this,t)}}class Ze{constructor(e,t,n){this.key=e,this.value=t,this.quoted=n}isEquivalent(e){return this.key===e.key&&this.value.isEquivalent(e.value)}}class Je extends ye{constructor(e,t,n){super(t,n),this.entries=e,this.valueType=null,t&&(this.valueType=t.valueType)}isEquivalent(e){return e instanceof Je&&ve(this.entries,e.entries)}isConstant(){return this.entries.every(e=>e.value.isConstant())}visitExpression(e,t){return e.visitLiteralMapExpr(this,t)}}class et extends ye{constructor(e,t){super(e[e.length-1].type,t),this.parts=e}isEquivalent(e){return e instanceof et&&ve(this.parts,e.parts)}isConstant(){return!1}visitExpression(e,t){return e.visitCommaExpr(this,t)}}new be(pe.This,null,null),new be(pe.Super,null,null),new be(pe.CatchError,null,null),new be(pe.CatchStack,null,
1null);const tt=new Te(null,null,null),nt=new Te(null,oe,null);var rt;!function(e){e[e.Final=0]="Final",e[e.Private=1]="Private",e[e.Exported=2]="Exported",e[e.Static=3]="Static"}(rt||(rt={}));class it{constructor(e,t,n){this.text=e,this.multiline=t,this.trailingNewline=n}toString(){return this.multiline?` ${this.text} `:this.text}}class st extends it{constructor(e){super("",!0,!0),this.tags=e}toString(){return function(e){if(0===e.length)return"";if(1===e.length&&e[0].tagName&&!e[0].text)return`*${Lt(e[0])} `;let t="*\n";for(const n of e)t+=" *",t+=Lt(n).replace(/\n/g,"\n * "),t+="\n";return t+=" ",t}(this.tags)}}class ot{constructor(e=[],t=null,n){this.modifiers=e,this.sourceSpan=t,this.leadingComments=n}hasModifier(e){return-1!==this.modifiers.indexOf(e)}addLeadingComment(e){var t;this.leadingComments=null!==(t=this.leadingComments)&&void 0!==t?t:[],this.leadingComments.push(e)}}class at extends ot{constructor(e,t,n,r,i,s){super(r,i,s),this.name=e,this.value=t,this.type=n||t&&t.type||null}isEquivalent(e){return e instanceof at&&this.name===e.name&&(this.value?!!e.value&&this.value.isEquivalent(e.value):!e.value)}visitStatement(e,t){return e.visitDeclareVarStmt(this,t)}}class lt extends ot{constructor(e,t,n,r,i,s,o){super(i,s,o),this.name=e,this.params=t,this.statements=n,this.type=r||null}isEquivalent(e){return e instanceof lt&&ve(this.params,e.params)&&ve(this.statements,e.statements)}visitStatement(e,t){return e.visitDeclareFunctionStmt(this,t)}}class ct extends ot{constructor(e,t,n){super([],t,n),this.expr=e}isEquivalent(e){return e instanceof ct&&this.expr.isEquivalent(e.expr)}visitStatement(e,t){return e.visitExpressionStmt(this,t)}}class ut extends ot{constructor(e,t=null,n){super([],t,n),this.value=e}isEquivalent(e){return e instanceof ut&&this.value.isEquivalent(e.value)}visitStatement(e,t){return e.visitReturnStmt(this,t)}}class ht{constructor(e=null,t=[]){this.type=e,this.modifiers=t}hasModifier(e){return-1!==this.modifiers.indexOf(e)}}class dt extends ht{constructor(e,t,n,r,i){super(r,i),this.name=e,this.params=t,this.body=n}isEquivalent(e){return this.name===e.name&&ve(this.body,e.body)}}class pt extends ht{constructor(e,t,n,r){super(n,r),this.name=e,this.body=t}isEquivalent(e){return this.name===e.name&&ve(this.body,e.body)}}class ft extends ot{constructor(e,t,n,r,i,s,o,a,l){super(o,a,l),this.name=e,this.parent=t,this.fields=n,this.getters=r,this.constructorMethod=i,this.methods=s}isEquivalent(e){return e instanceof ft&&this.name===e.name&&me(this.parent,e.parent)&&ve(this.fields,e.fields)&&ve(this.getters,e.getters)&&this.constructorMethod.isEquivalent(e.constructorMethod)&&ve(this.methods,e.methods)}visitStatement(e,t){return e.visitDeclareClassStmt(this,t)}}class mt extends ot{constructor(e,t,n=[],r,i){super([],r,i),this.condition=e,this.trueCase=t,this.falseCase=n}isEquivalent(e){return e instanceof mt&&this.condition.isEquivalent(e.condition)&&ve(this.trueCase,e.trueCase)&&ve(this.falseCase,e.falseCase)}visitStatement(e,t){return e.visitIfStmt(this,t)}}class gt extends ot{constructor(e,t,n=null,r){super([],n,r),this.bodyStmts=e,this.catchStmts=t}isEquivalent(e){return e instanceof gt&&ve(this.bodyStmts,e.bodyStmts)&&ve(this.catchStmts,e.catchStmts)}visitStatement(e,t){return e.visitTryCatchStmt(this,t)}}class vt extends ot{constructor(e,t=null,n){super([],t,n),this.error=e}isEquivalent(e){return e instanceof gt&&this.error.isEquivalent(e.error)}visitStatement(e,t){return e.visitThrowStmt(this,t)}}class yt{visitType(e,t){return e}visitExpression(e,t){return e.type&&e.type.visitType(this,t),e}visitBuiltinType(e,t){return this.visitType(e,t)}visitExpressionType(e,t){return e.value.visitExpression(this,t),null!==e.typeParams&&e.typeParams.forEach(e=>this.visitType(e,t)),this.visitType(e,t)}visitArrayType(e,t){return this.visitType(e,t)}visitMapType(e,t){return this.visitType(e,t)}visitWrappedNodeExpr(e,t){return e}visitTypeofExpr(e,t){return this.visitExpression(e,t)}visitReadVarExpr(e,t){return this.visitExpression(e,t)}visitWriteVarExpr(e,t){return e.value.visitExpression(this,t),this.visitExpression(e,t)}visitWriteKeyExpr(e,t){return e.receiver.visitExpression(this,t),e.index.visitExpression(this,t),e.value.visitExpression(this,t),this.visitExpression(e,t)}visitWritePropExpr(e,t){return e.receiver.visitExpression(this,t),e.value.visitExpression(this,t),this.visitExpression(e,t)}visitInvokeMethodExpr(e,t){return e.receiver.visitExpression(this,t),this.visitAllExpressions(e.args,t),this.visitExpression(e,t)}visitInvokeFunctionExpr(e,t){return e.fn.visitExpression(this,t),this.visitAllExpressions(e.args,t),this.visitExpression(e,t)}visitTaggedTemplateExpr(e,t){return e.tag.visitExpression(this,t),this.visitAllExpressions(e.template.expressions,t),this.visitExpression(e,t)}visitInstantiateExpr(e,t){return e.classExpr.visitExpression(this,t),this.visitAllExpressions(e.args,t),this.visitExpression(e,t)}visitLiteralExpr(e,t){return this.visitExpression(e,t)}visitLocalizedString(e,t){return this.visitExpression(e,t)}
1visitExternalExpr(e,t){return e.typeParams&&e.typeParams.forEach(e=>e.visitType(this,t)),this.visitExpression(e,t)}visitConditionalExpr(e,t){return e.condition.visitExpression(this,t),e.trueCase.visitExpression(this,t),e.falseCase.visitExpression(this,t),this.visitExpression(e,t)}visitNotExpr(e,t){return e.condition.visitExpression(this,t),this.visitExpression(e,t)}visitAssertNotNullExpr(e,t){return e.condition.visitExpression(this,t),this.visitExpression(e,t)}visitCastExpr(e,t){return e.value.visitExpression(this,t),this.visitExpression(e,t)}visitFunctionExpr(e,t){return this.visitAllStatements(e.statements,t),this.visitExpression(e,t)}visitUnaryOperatorExpr(e,t){return e.expr.visitExpression(this,t),this.visitExpression(e,t)}visitBinaryOperatorExpr(e,t){return e.lhs.visitExpression(this,t),e.rhs.visitExpression(this,t),this.visitExpression(e,t)}visitReadPropExpr(e,t){return e.receiver.visitExpression(this,t),this.visitExpression(e,t)}visitReadKeyExpr(e,t){return e.receiver.visitExpression(this,t),e.index.visitExpression(this,t),this.visitExpression(e,t)}visitLiteralArrayExpr(e,t){return this.visitAllExpressions(e.entries,t),this.visitExpression(e,t)}visitLiteralMapExpr(e,t){return e.entries.forEach(e=>e.value.visitExpression(this,t)),this.visitExpression(e,t)}visitCommaExpr(e,t){return this.visitAllExpressions(e.parts,t),this.visitExpression(e,t)}visitAllExpressions(e,t){e.forEach(e=>e.visitExpression(this,t))}visitDeclareVarStmt(e,t){return e.value&&e.value.visitExpression(this,t),e.type&&e.type.visitType(this,t),e}visitDeclareFunctionStmt(e,t){return this.visitAllStatements(e.statements,t),e.type&&e.type.visitType(this,t),e}visitExpressionStmt(e,t){return e.expr.visitExpression(this,t),e}visitReturnStmt(e,t){return e.value.visitExpression(this,t),e}visitDeclareClassStmt(e,t){return e.parent.visitExpression(this,t),e.getters.forEach(e=>this.visitAllStatements(e.body,t)),e.constructorMethod&&this.visitAllStatements(e.constructorMethod.body,t),e.methods.forEach(e=>this.visitAllStatements(e.body,t)),e}visitIfStmt(e,t){return e.condition.visitExpression(this,t),this.visitAllStatements(e.trueCase,t),this.visitAllStatements(e.falseCase,t),e}visitTryCatchStmt(e,t){return this.visitAllStatements(e.bodyStmts,t),this.visitAllStatements(e.catchStmts,t),e}visitThrowStmt(e,t){return e.error.visitExpression(this,t),e}visitAllStatements(e,t){e.forEach(e=>e.visitStatement(this,t))}}function bt(e){const t=new wt;return t.visitAllStatements(e,null),t.varNames}class wt extends yt{constructor(){super(...arguments),this.varNames=new Set}visitDeclareFunctionStmt(e,t){return e}visitDeclareClassStmt(e,t){return e}visitReadVarExpr(e,t){return e.name&&this.varNames.add(e.name),null}}function _t(e,t){if(!t)return e;const n=new Ct(t);return e.visitStatement(n,null)}function xt(e,t){if(!t)return e;const n=new Ct(t);return e.visitExpression(n,null)}class Ct extends class{transformExpr(e,t){return e}transformStmt(e,t){return e}visitReadVarExpr(e,t){return this.transformExpr(e,t)}visitWrappedNodeExpr(e,t){return this.transformExpr(e,t)}visitTypeofExpr(e,t){return this.transformExpr(new we(e.expr.visitExpression(this,t),e.type,e.sourceSpan),t)}visitWriteVarExpr(e,t){return this.transformExpr(new xe(e.name,e.value.visitExpression(this,t),e.type,e.sourceSpan),t)}visitWriteKeyExpr(e,t){return this.transformExpr(new Ce(e.receiver.visitExpression(this,t),e.index.visitExpression(this,t),e.value.visitExpression(this,t),e.type,e.sourceSpan),t)}visitWritePropExpr(e,t){return this.transformExpr(new Se(e.receiver.visitExpression(this,t),e.name,e.value.visitExpression(this,t),e.type,e.sourceSpan),t)}visitInvokeMethodExpr(e,t){const n=e.builtin||e.name;return this.transformExpr(new Ee(e.receiver.visitExpression(this,t),n,this.visitAllExpressions(e.args,t),e.type,e.sourceSpan),t)}visitInvokeFunctionExpr(e,t){return this.transformExpr(new Ae(e.fn.visitExpression(this,t),this.visitAllExpressions(e.args,t),e.type,e.sourceSpan),t)}visitTaggedTemplateExpr(e,t){return this.transformExpr(new ke(e.tag.visitExpression(this,t),new Oe(e.template.elements,e.template.expressions.map(e=>e.visitExpression(this,t))),e.type,e.sourceSpan),t)}visitInstantiateExpr(e,t){return this.transformExpr(new Ie(e.classExpr.visitExpression(this,t),this.visitAllExpressions(e.args,t),e.type,e.sourceSpan),t)}visitLiteralExpr(e,t){return this.transformExpr(e,t)}visitLocalizedString(e,t){return this.transformExpr(new Re(e.metaBlock,e.messageParts,e.placeHolderNames,this.visitAllExpressions(e.expressions,t),e.sourceSpan),t)}
1visitExternalExpr(e,t){return this.transformExpr(e,t)}visitConditionalExpr(e,t){return this.transformExpr(new Ve(e.condition.visitExpression(this,t),e.trueCase.visitExpression(this,t),e.falseCase.visitExpression(this,t),e.type,e.sourceSpan),t)}visitNotExpr(e,t){return this.transformExpr(new Ue(e.condition.visitExpression(this,t),e.sourceSpan),t)}visitAssertNotNullExpr(e,t){return this.transformExpr(new ze(e.condition.visitExpression(this,t),e.sourceSpan),t)}visitCastExpr(e,t){return this.transformExpr(new He(e.value.visitExpression(this,t),e.type,e.sourceSpan),t)}visitFunctionExpr(e,t){return this.transformExpr(new Ge(e.params,this.visitAllStatements(e.statements,t),e.type,e.sourceSpan),t)}visitUnaryOperatorExpr(e,t){return this.transformExpr(new We(e.operator,e.expr.visitExpression(this,t),e.type,e.sourceSpan),t)}visitBinaryOperatorExpr(e,t){return this.transformExpr(new Qe(e.operator,e.lhs.visitExpression(this,t),e.rhs.visitExpression(this,t),e.type,e.sourceSpan),t)}visitReadPropExpr(e,t){return this.transformExpr(new Ke(e.receiver.visitExpression(this,t),e.name,e.type,e.sourceSpan),t)}visitReadKeyExpr(e,t){return this.transformExpr(new Xe(e.receiver.visitExpression(this,t),e.index.visitExpression(this,t),e.type,e.sourceSpan),t)}visitLiteralArrayExpr(e,t){return this.transformExpr(new Ye(this.visitAllExpressions(e.entries,t),e.type,e.sourceSpan),t)}visitLiteralMapExpr(e,t){const n=e.entries.map(e=>new Ze(e.key,e.value.visitExpression(this,t),e.quoted)),r=new ie(e.valueType);return this.transformExpr(new Je(n,r,e.sourceSpan),t)}visitCommaExpr(e,t){return this.transformExpr(new et(this.visitAllExpressions(e.parts,t),e.sourceSpan),t)}visitAllExpressions(e,t){return e.map(e=>e.visitExpression(this,t))}visitDeclareVarStmt(e,t){const n=e.value&&e.value.visitExpression(this,t);return this.transformStmt(new at(e.name,n,e.type,e.modifiers,e.sourceSpan,e.leadingComments),t)}visitDeclareFunctionStmt(e,t){return this.transformStmt(new lt(e.name,e.params,this.visitAllStatements(e.statements,t),e.type,e.modifiers,e.sourceSpan,e.leadingComments),t)}visitExpressionStmt(e,t){return this.transformStmt(new ct(e.expr.visitExpression(this,t),e.sourceSpan,e.leadingComments),t)}visitReturnStmt(e,t){return this.transformStmt(new ut(e.value.visitExpression(this,t),e.sourceSpan,e.leadingComments),t)}visitDeclareClassStmt(e,t){const n=e.parent.visitExpression(this,t),r=e.getters.map(e=>new pt(e.name,this.visitAllStatements(e.body,t),e.type,e.modifiers)),i=e.constructorMethod&&new dt(e.constructorMethod.name,e.constructorMethod.params,this.visitAllStatements(e.constructorMethod.body,t),e.constructorMethod.type,e.constructorMethod.modifiers),s=e.methods.map(e=>new dt(e.name,e.params,this.visitAllStatements(e.body,t),e.type,e.modifiers));return this.transformStmt(new ft(e.name,n,e.fields,r,i,s,e.modifiers,e.sourceSpan),t)}visitIfStmt(e,t){return this.transformStmt(new mt(e.condition.visitExpression(this,t),this.visitAllStatements(e.trueCase,t),this.visitAllStatements(e.falseCase,t),e.sourceSpan,e.leadingComments),t)}visitTryCatchStmt(e,t){return this.transformStmt(new gt(this.visitAllStatements(e.bodyStmts,t),this.visitAllStatements(e.catchStmts,t),e.sourceSpan,e.leadingComments),t)}visitThrowStmt(e,t){return this.transformStmt(new vt(e.error.visitExpression(this,t),e.sourceSpan,e.leadingComments),t)}visitAllStatements(e,t){return e.map(e=>e.visitStatement(this,t))}}{constructor(e){super(),this.sourceSpan=e}_clone(e){const t=Object.create(e.constructor.prototype);for(let n of Object.keys(e))t[n]=e[n];return t}transformExpr(e,t){return e.sourceSpan||((e=this._clone(e)).sourceSpan=this.sourceSpan),e}transformStmt(e,t){return e.sourceSpan||((e=this._clone(e)).sourceSpan=this.sourceSpan),e}}function St(e,t,n){return new be(e,t,n)}function Et(e,t=null,n){return new $e(e,null,t,n)}function At(e,t,n){return null!=e?kt(Et(e,t,null),n):null}function kt(e,t,n){return new ne(e,t,n)}function It(e){return new we(e)}function Tt(e,t,n){return new Ye(e,t,n)}function Ot(e,t=null){return new Je(e.map(e=>new Ze(e.key,e.value,e.quoted)),t,null)}function Dt(e,t,n,r,i){return new Ge(e,t,n,r,i)}function Pt(e,t,n,r,i){return new mt(e,t,n,r,i)}function Mt(e,t,n,r){return new ke(e,t,n,r)}function Nt(e,t,n){return new Te(e,t,n)}function Rt(e){return e instanceof Te&&null===e.value}function Lt(e){let t="";if(e.tagName&&(t+=` @${e.tagName}`),e.text){if(e.text.match(/\/\*|\*\//))throw new Error('JSDoc text cannot contain "/*" and "*/"');t+=" "+e.text.replace(/@/g,"\\@")}return t}const jt=St("<unknown>"),Ft={};class Bt extends ye{constructor(e){super(e.type),this.resolved=e,this.original=e}visitExpression(e,t){return t===Ft?this.original.visitExpression(e,t):this.resolved.visitExpression(e,t)}isEquivalent(e){return e instanceof Bt&&this.resolved.isEquivalent(e.resolved)}isConstant(){return!0}fixup(e){this.resolved=e,this.shared=!0}}class $t{constructor(e=!1){this.isClosureCompilerEnabled=e,this.statements=[],this.literals=new Map,this.literalFactories=new Map,this.injectorDefinitions=new Map,this.directiveDefinitions=new Map,this.componentDefinitions=new Map,this.pipeDefinitions=new Map,this.nextNameIndex=0}getConstLiteral(e,t){if(e instanceof Te&&!Ht(e)||e instanceof Bt)return e;const n=this.keyOf(e);let r=this.literals.get(n),i=!1;if(r||(r=new Bt(e),this.literals.set(n,r),i=!0),!i&&!r.shared||i&&t){const t=this.freshName();let n,i;this.isClosureCompilerEnabled&&Ht(e)?(n=St(t).set(new Ge([],[new ut(e)])),i=St(t).callFn([])):(n=St(t).set(e),i=St(t)),this.statements.push(n.toDeclStmt(oe,[rt.Final])),r.fixup(i)}return r}getDefinition(e,t,n,r=!1){const i=this.definitionsOf(t);let s=i.get(e),o=!1;if(!s){const r=this.propertyNameOf(t);s=new Bt(n.importExpr(e).prop(r)),i.set(e,s),o=!0}if(!o&&!s.shared||o&&r){const e=this.freshName();this.statements.push(St(e).set(s.resolved).toDeclStmt(oe,[rt.Final])),s.fixup(St(e))}return s}getLiteralFactory(e){if(e instanceof Ye){const t=e.entries.map(e=>e.isConstant()?e:jt),n=this.keyOf(Tt(t));return this._getLiteralFactory(n,e.entries,e=>Tt(e))}{const t=Ot(e.entries.map(e=>({key:e.key,value:e.value.isConstant()?e.value:jt,quoted:e.quoted}))),n=this.keyOf(t);return this._getLiteralFactory(n,e.entries.map(e=>e.value),t=>Ot(t.map((t,n)=>({key:e.entries[n].key,value:t,quoted:e.entries[n].quoted}))))}}
1_getLiteralFactory(e,t,n){let r=this.literalFactories.get(e);const i=t.filter(e=>!e.isConstant());if(!r){const i=t.map((e,t)=>e.isConstant()?this.getConstLiteral(e,!0):St(`a${t}`)),s=Dt(i.filter(zt).map(e=>new qe(e.name,se)),[new ut(n(i))],oe),o=this.freshName();this.statements.push(St(o).set(s).toDeclStmt(oe,[rt.Final])),r=St(o),this.literalFactories.set(e,r)}return{literalFactory:r,literalFactoryArguments:i}}uniqueName(e){return`${e}${this.nextNameIndex++}`}definitionsOf(e){switch(e){case 2:return this.componentDefinitions;case 1:return this.directiveDefinitions;case 0:return this.injectorDefinitions;case 3:return this.pipeDefinitions}}propertyNameOf(e){switch(e){case 2:return"\u0275cmp";case 1:return"\u0275dir";case 0:return"\u0275inj";case 3:return"\u0275pipe"}}freshName(){return this.uniqueName("_c")}keyOf(e){return e.visitExpression(new Vt,Ft)}}class Vt{constructor(){this.visitWrappedNodeExpr=Ut,this.visitWriteVarExpr=Ut,this.visitWriteKeyExpr=Ut,this.visitWritePropExpr=Ut,this.visitInvokeMethodExpr=Ut,this.visitInvokeFunctionExpr=Ut,this.visitTaggedTemplateExpr=Ut,this.visitInstantiateExpr=Ut,this.visitConditionalExpr=Ut,this.visitNotExpr=Ut,this.visitAssertNotNullExpr=Ut,this.visitCastExpr=Ut,this.visitFunctionExpr=Ut,this.visitUnaryOperatorExpr=Ut,this.visitBinaryOperatorExpr=Ut,this.visitReadPropExpr=Ut,this.visitReadKeyExpr=Ut,this.visitCommaExpr=Ut,this.visitLocalizedString=Ut}visitLiteralExpr(e){return`${"string"==typeof e.value?'"'+e.value+'"':e.value}`}visitLiteralArrayExpr(e,t){return`[${e.entries.map(e=>e.visitExpression(this,t)).join(",")}]`}visitLiteralMapExpr(e,t){return`{${e.entries.map(e=>`${(e=>{const t=e.quoted?'"':"";return`${t}${e.key}${t}`})(e)}:${e.value.visitExpression(this,t)}`).join(",")}`}visitExternalExpr(e){return e.value.moduleName?`EX:${e.value.moduleName}:${e.value.name}`:`EX:${e.value.runtime.name}`}visitReadVarExpr(e){return`VAR:${e.name}`}visitTypeofExpr(e,t){return`TYPEOF:${e.expr.visitExpression(this,t)}`}}function Ut(e){throw new Error(`Invalid state: Visitor ${this.constructor.name} doesn't handle ${e.constructor.name}`)}function zt(e){return e instanceof be}function Ht(e){return e instanceof Te&&"string"==typeof e.value&&e.value.length>=50}const qt="@angular/core";class Gt{}function Wt(e){return{identifier:{reference:e}}}function Qt(e,t){return Wt(e.resolveExternalReference(t))}Gt.ANALYZE_FOR_ENTRY_COMPONENTS={name:"ANALYZE_FOR_ENTRY_COMPONENTS",moduleName:qt},Gt.ElementRef={name:"ElementRef",moduleName:qt},Gt.NgModuleRef={name:"NgModuleRef",moduleName:qt},Gt.ViewContainerRef={name:"ViewContainerRef",moduleName:qt},Gt.ChangeDetectorRef={name:"ChangeDetectorRef",moduleName:qt},Gt.QueryList={name:"QueryList",moduleName:qt},Gt.TemplateRef={name:"TemplateRef",moduleName:qt},Gt.Renderer2={name:"Renderer2",moduleName:qt},Gt.CodegenComponentFactoryResolver={name:"\u0275CodegenComponentFactoryResolver",moduleName:qt},Gt.ComponentFactoryResolver={name:"ComponentFactoryResolver",moduleName:qt},Gt.ComponentFactory={name:"ComponentFactory",moduleName:qt},Gt.ComponentRef={name:"ComponentRef",moduleName:qt},Gt.NgModuleFactory={name:"NgModuleFactory",moduleName:qt},Gt.createModuleFactory={name:"\u0275cmf",moduleName:qt},Gt.moduleDef={name:"\u0275mod",moduleName:qt},Gt.moduleProviderDef={name:"\u0275mpd",moduleName:qt},Gt.RegisterModuleFactoryFn={name:"\u0275registerModuleFactory",moduleName:qt},Gt.inject={name:"\u0275\u0275inject",moduleName:qt},Gt.directiveInject={name:"\u0275\u0275directiveInject",moduleName:qt},Gt.INJECTOR={name:"INJECTOR",moduleName:qt},Gt.Injector={name:"Injector",moduleName:qt},Gt.\u0275\u0275defineInjectable={name:"\u0275\u0275defineInjectable",moduleName:qt},Gt.InjectableDef={name:"\u0275\u0275InjectableDef",moduleName:qt},Gt.ViewEncapsulation={name:"ViewEncapsulation",moduleName:qt},Gt.ChangeDetectionStrategy={name:"ChangeDetectionStrategy",moduleName:qt},Gt.SecurityContext={name:"SecurityContext",moduleName:qt},Gt.LOCALE_ID={name:"LOCALE_ID",moduleName:qt},Gt.TRANSLATIONS_FORMAT={name:"TRANSLATIONS_FORMAT",moduleName:qt},Gt.inlineInterpolate={name:"\u0275inlineInterpolate",moduleName:qt},Gt.interpolate={name:"\u0275interpolate",moduleName:qt},Gt.EMPTY_ARRAY={name:"\u0275EMPTY_ARRAY",moduleName:qt},Gt.EMPTY_MAP={name:"\u0275EMPTY_MAP",moduleName:qt},Gt.Renderer={name:"Renderer",moduleName:qt},Gt.viewDef={name:"\u0275vid",moduleName:qt},Gt.elementDef={name:"\u0275eld",moduleName:qt},Gt.anchorDef={name:"\u0275and",moduleName:qt},Gt.textDef={name:"\u0275ted",moduleName:qt},Gt.directiveDef={name:"\u0275did",moduleName:qt},Gt.providerDef={name:"\u0275prd",moduleName:qt},Gt.queryDef={name:"\u0275qud",moduleName:qt},Gt.pureArrayDef={name:"\u0275pad",moduleName:qt},Gt.pureObjectDef={name:"\u0275pod",moduleName:qt},Gt.purePipeDef={name:"\u0275ppd",moduleName:qt}
1,Gt.pipeDef={name:"\u0275pid",moduleName:qt},Gt.nodeValue={name:"\u0275nov",moduleName:qt},Gt.ngContentDef={name:"\u0275ncd",moduleName:qt},Gt.unwrapValue={name:"\u0275unv",moduleName:qt},Gt.createRendererType2={name:"\u0275crt",moduleName:qt},Gt.RendererType2={name:"RendererType2",moduleName:qt},Gt.ViewDefinition={name:"\u0275ViewDefinition",moduleName:qt},Gt.createComponentFactory={name:"\u0275ccf",moduleName:qt},Gt.setClassMetadata={name:"\u0275setClassMetadata",moduleName:qt};class Kt{constructor(e,t,n){this.filePath=e,this.name=t,this.members=n}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}}class Xt{constructor(){this.cache=new Map}get(e,t,n){const r=`"${e}".${t}${(n=n||[]).length?`.${n.join(".")}`:""}`;let i=this.cache.get(r);return i||(i=new Kt(e,t,n),this.cache.set(r,i)),i}}const Yt=/-+([a-z0-9])/g;function Zt(e,t){return Jt(e,":",t)}function Jt(e,t,n){const r=e.indexOf(t);return-1==r?n:[e.slice(0,r).trim(),e.slice(r+1).trim()]}function en(e,t,n){return Array.isArray(e)?t.visitArray(e,n):"object"==typeof(r=e)&&null!==r&&Object.getPrototypeOf(r)===dn?t.visitStringMap(e,n):null==e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e?t.visitPrimitive(e,n):t.visitOther(e,n);var r}function tn(e){return null!=e}function nn(e){return void 0===e?null:e}class rn{visitArray(e,t){return e.map(e=>en(e,this,t))}visitStringMap(e,t){const n={};return Object.keys(e).forEach(r=>{n[r]=en(e[r],this,t)}),n}visitPrimitive(e,t){return e}visitOther(e,t){return e}}const sn=e=>{if(gn(e))throw new Error("Illegal state: value cannot be a promise");return e},on=(e,t)=>gn(e)?e.then(t):t(e),an=e=>e.some(gn)?Promise.all(e):e;function ln(e){throw new Error(`Internal Error: ${e}`)}function cn(e,t){const n=Error(e);return n[un]=!0,t&&(n[hn]=t),n}const un="ngSyntaxError",hn="ngParseErrors";const dn=Object.getPrototypeOf({});function pn(e){let t=[];for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);if(r>=55296&&r<=56319&&e.length>n+1){const t=e.charCodeAt(n+1);t>=56320&&t<=57343&&(n++,r=(r-55296<<10)+t-56320+65536)}r<=127?t.push(r):r<=2047?t.push(r>>6&31|192,63&r|128):r<=65535?t.push(r>>12|224,r>>6&63|128,63&r|128):r<=2097151&&t.push(r>>18&7|240,r>>12&63|128,r>>6&63|128,63&r|128)}return t}function fn(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(fn).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;if(!e.toString)return"object";const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function mn(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")?e():e}function gn(e){return!!e&&"function"==typeof e.then}const vn="undefined"!=typeof window&&window,yn="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,bn="undefined"!=typeof global&&global||vn||yn;function wn(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}const _n=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function xn(e){return e.replace(/\W/g,"_")}let Cn=0;function Sn(e){if(!e||!e.reference)return null;const t=e.reference;if(t instanceof Kt)return t.name;if(t.__anonymousType)return t.__anonymousType;let n=fn(t);return n.indexOf("(")>=0?(n="anonymous_"+Cn++,t.__anonymousType=n):n=xn(n),n}function En(e){const t=e.reference;return t instanceof Kt?t.filePath:`./${fn(t)}`}function An(e,t){return`View_${Sn({reference:e})}_${t}`}function kn(e){return`RenderType_${Sn({reference:e})}`}function In(e){return`${Sn({reference:e})}NgFactory`}var Tn;function On(e){return null!=e.value?xn(e.value):Sn(e.identifier)}function Dn(e){return null!=e.identifier?e.identifier.reference:e.value}!function(e){e[e.Pipe=0]="Pipe",e[e.Directive=1]="Directive",e[e.NgModule=2]="NgModule",e[e.Injectable=3]="Injectable"}(Tn||(Tn={}));class Pn{constructor({moduleUrl:e,styles:t,styleUrls:n}={}){this.moduleUrl=e||null,this.styles=Fn(t),this.styleUrls=Fn(n)}}class Mn{constructor({encapsulation:e,template:t,templateUrl:n,htmlAst:r,styles:i,styleUrls:s,externalStylesheets:o,animations:a,ngContentSelectors:l,interpolation:c,isInline:u,preserveWhitespace
1s:h}){if(this.encapsulation=e,this.template=t,this.templateUrl=n,this.htmlAst=r,this.styles=Fn(i),this.styleUrls=Fn(s),this.externalStylesheets=Fn(o),this.animations=a?$n(a):[],this.ngContentSelectors=l||[],c&&2!=c.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=c,this.isInline=u,this.preserveWhitespaces=h}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}}class Nn{constructor({isHost:e,type:t,isComponent:n,selector:r,exportAs:i,changeDetection:s,inputs:o,outputs:a,hostListeners:l,hostProperties:c,hostAttributes:u,providers:h,viewProviders:d,queries:p,guards:f,viewQueries:m,entryComponents:g,template:v,componentViewType:y,rendererType:b,componentFactory:w}){this.isHost=!!e,this.type=t,this.isComponent=n,this.selector=r,this.exportAs=i,this.changeDetection=s,this.inputs=o,this.outputs=a,this.hostListeners=l,this.hostProperties=c,this.hostAttributes=u,this.providers=Fn(h),this.viewProviders=Fn(d),this.queries=Fn(p),this.guards=f,this.viewQueries=Fn(m),this.entryComponents=Fn(g),this.template=v,this.componentViewType=y,this.rendererType=b,this.componentFactory=w}static create({isHost:e,type:t,isComponent:n,selector:r,exportAs:i,changeDetection:s,inputs:o,outputs:a,host:l,providers:c,viewProviders:u,queries:h,guards:d,viewQueries:p,entryComponents:f,template:m,componentViewType:g,rendererType:v,componentFactory:y}){const b={},w={},_={};null!=l&&Object.keys(l).forEach(e=>{const t=l[e],n=e.match(_n);null===n?_[e]=t:null!=n[1]?w[n[1]]=t:null!=n[2]&&(b[n[2]]=t)});const x={};null!=o&&o.forEach(e=>{const t=Zt(e,[e,e]);x[t[0]]=t[1]});const C={};return null!=a&&a.forEach(e=>{const t=Zt(e,[e,e]);C[t[0]]=t[1]}),new Nn({isHost:e,type:t,isComponent:!!n,selector:r,exportAs:i,changeDetection:s,inputs:x,outputs:C,hostListeners:b,hostProperties:w,hostAttributes:_,providers:c,viewProviders:u,queries:h,guards:d,viewQueries:p,entryComponents:f,template:m,componentViewType:g,rendererType:v,componentFactory:y})}toSummary(){return{summaryKind:Tn.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}}class Rn{constructor({type:e,name:t,pure:n}){this.type=e,this.name=t,this.pure=!!n}toSummary(){return{summaryKind:Tn.Pipe,type:this.type,name:this.name,pure:this.pure}}}class Ln{constructor({type:e,providers:t,declaredDirectives:n,exportedDirectives:r,declaredPipes:i,exportedPipes:s,entryComponents:o,bootstrapComponents:a,importedModules:l,exportedModules:c,schemas:u,transitiveModule:h,id:d}){this.type=e||null,this.declaredDirectives=Fn(n),this.exportedDirectives=Fn(r),this.declaredPipes=Fn(i),this.exportedPipes=Fn(s),this.providers=Fn(t),this.entryComponents=Fn(o),this.bootstrapComponents=Fn(a),this.importedModules=Fn(l),this.exportedModules=Fn(c),this.schemas=Fn(u),this.id=d||null,this.transitiveModule=h||null}toSummary(){const e=this.transitiveModule;return{summaryKind:Tn.NgModule,type:this.type,entryComponents:e.entryComponents,providers:e.providers,modules:e.modules,exportedDirectives:e.exportedDirectives,exportedPipes:e.exportedPipes}}}class jn{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}addProvider(e,t){this.providers.push({provider:e,module:t})}addDirective(e){this.directivesSet.has(e.reference)||(this.directivesSet.add(e.reference),this.directives.push(e))}addExportedDirective(e){this.exportedDirectivesSet.has(e.reference)||(this.exportedDirectivesSet.add(e.reference),this.exportedDirectives.push(e))}addPipe(e){this.pipesSet.has(e.reference)||(this.pipesSet.add(e.reference),this.pipes.push(e))}addExportedPipe(e){this.exportedPipesSet.has(e.reference)||(this.exportedPipesSet.add(e.reference),this.exportedPipes.push(e))}addModule(e){this.modulesSet.has(e.reference)||(this.modulesSet.add(e.reference),this.modules.push(e))}addEntryComponent(e){this.entryComponentsSet.has(e.componentType)||(this.entryComponentsSet.add(e.componentType),this.entryComponents.push(e))}}function Fn(e){return e||[]}class Bn{constructor(e,{useClass:t,useValue:n,useExisting:r,useFactory:i,deps:s,multi:o}){this.token=e,this.useClass=t||null,this.useValue=n,this.useExisting=r,this.useFactory=i||null,this.dependencies=s||null,this.multi=!!o}}function $n(e){return e.reduce((e,t)=>
1{const n=Array.isArray(t)?$n(t):t;return e.concat(n)},[])}function Vn(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function Un(e,t,n){let r;return r=n.isInline?t.type.reference instanceof Kt?`${t.type.reference.filePath}.${t.type.reference.name}.html`:`${Sn(e)}/${Sn(t.type)}.html`:n.templateUrl,t.type.reference instanceof Kt?r:Vn(r)}const zn="@angular/core";class Hn{}Hn.NEW_METHOD="factory",Hn.TRANSFORM_METHOD="transform",Hn.PATCH_DEPS="patchedDeps",Hn.core={name:null,moduleName:zn},Hn.namespaceHTML={name:"\u0275\u0275namespaceHTML",moduleName:zn},Hn.namespaceMathML={name:"\u0275\u0275namespaceMathML",moduleName:zn},Hn.namespaceSVG={name:"\u0275\u0275namespaceSVG",moduleName:zn},Hn.element={name:"\u0275\u0275element",moduleName:zn},Hn.elementStart={name:"\u0275\u0275elementStart",moduleName:zn},Hn.elementEnd={name:"\u0275\u0275elementEnd",moduleName:zn},Hn.advance={name:"\u0275\u0275advance",moduleName:zn},Hn.syntheticHostProperty={name:"\u0275\u0275syntheticHostProperty",moduleName:zn},Hn.syntheticHostListener={name:"\u0275\u0275syntheticHostListener",moduleName:zn},Hn.attribute={name:"\u0275\u0275attribute",moduleName:zn},Hn.attributeInterpolate1={name:"\u0275\u0275attributeInterpolate1",moduleName:zn},Hn.attributeInterpolate2={name:"\u0275\u0275attributeInterpolate2",moduleName:zn},Hn.attributeInterpolate3={name:"\u0275\u0275attributeInterpolate3",moduleName:zn},Hn.attributeInterpolate4={name:"\u0275\u0275attributeInterpolate4",moduleName:zn},Hn.attributeInterpolate5={name:"\u0275\u0275attributeInterpolate5",moduleName:zn},Hn.attributeInterpolate6={name:"\u0275\u0275attributeInterpolate6",moduleName:zn},Hn.attributeInterpolate7={name:"\u0275\u0275attributeInterpolate7",moduleName:zn},Hn.attributeInterpolate8={name:"\u0275\u0275attributeInterpolate8",moduleName:zn},Hn.attributeInterpolateV={name:"\u0275\u0275attributeInterpolateV",moduleName:zn},Hn.classProp={name:"\u0275\u0275classProp",moduleName:zn},Hn.elementContainerStart={name:"\u0275\u0275elementContainerStart",moduleName:zn},Hn.elementContainerEnd={name:"\u0275\u0275elementContainerEnd",moduleName:zn},Hn.elementContainer={name:"\u0275\u0275elementContainer",moduleName:zn},Hn.styleMap={name:"\u0275\u0275styleMap",moduleName:zn},Hn.styleMapInterpolate1={name:"\u0275\u0275styleMapInterpolate1",moduleName:zn},Hn.styleMapInterpolate2={name:"\u0275\u0275styleMapInterpolate2",moduleName:zn},Hn.styleMapInterpolate3={name:"\u0275\u0275styleMapInterpolate3",moduleName:zn},Hn.styleMapInterpolate4={name:"\u0275\u0275styleMapInterpolate4",moduleName:zn},Hn.styleMapInterpolate5={name:"\u0275\u0275styleMapInterpolate5",moduleName:zn},Hn.styleMapInterpolate6={name:"\u0275\u0275styleMapInterpolate6",moduleName:zn},Hn.styleMapInterpolate7={name:"\u0275\u0275styleMapInterpolate7",moduleName:zn},Hn.styleMapInterpolate8={name:"\u0275\u0275styleMapInterpolate8",moduleName:zn},Hn.styleMapInterpolateV={name:"\u0275\u0275styleMapInterpolateV",moduleName:zn},Hn.classMap={name:"\u0275\u0275classMap",moduleName:zn},Hn.classMapInterpolate1={name:"\u0275\u0275classMapInterpolate1",moduleName:zn},Hn.classMapInterpolate2={name:"\u0275\u0275classMapInterpolate2",moduleName:zn},Hn.classMapInterpolate3={name:"\u0275\u0275classMapInterpolate3",moduleName:zn},Hn.classMapInterpolate4={name:"\u0275\u0275classMapInterpolate4",moduleName:zn},Hn.classMapInterpolate5={name:"\u0275\u0275classMapInterpolate5",moduleName:zn},Hn.classMapInterpolate6={name:"\u0275\u0275classMapInterpolate6",moduleName:zn},Hn.classMapInterpolate7={name:"\u0275\u0275classMapInterpolate7",moduleName:zn},Hn.classMapInterpolate8={name:"\u0275\u0275classMapInterpolate8",moduleName:zn},Hn.classMapInterpolateV={name:"\u0275\u0275classMapInterpolateV",moduleName:zn},Hn.styleProp={name:"\u0275\u0275styleProp",moduleName:zn},Hn.stylePropInterpolate1={name:"\u0275\u0275stylePropInterpolate1",moduleName:zn},Hn.stylePropInterpolate2={name:"\u0275\u0275stylePropInterpolate2",moduleName:zn},Hn.stylePropInterpolate3={name:"\u0275\u0275stylePropInterpolate3",moduleName:zn},Hn.stylePropInterpolate4={name:"\u0275\u0275stylePropInterpolate4",moduleName:zn},Hn.stylePropInterpolate5={name:"\u0275\u0275stylePropInterpolate5",moduleName:zn},Hn.stylePropInterpolate6={name:"\u0275\u0275stylePropInterpolate6",moduleName:zn},Hn.stylePropInterpolate7={name:"\u0275\u0275stylePropInterpolate7",moduleName:zn},Hn.stylePropInterpolate8={name:"\u0275\u0275stylePropInterpolate8",moduleName:zn},Hn.stylePropInterpolateV={name:"\u0275\u0275stylePropInterpolateV",moduleName:zn},Hn.nextContext={name:"\u0275\u0275nextContext",moduleName:zn},Hn.templateCreate={name:"\u0275\u0275template",moduleName:zn},Hn.text={name:"\u0275\u0275text",moduleName:zn},Hn.enableBindings={name:"\u0275\u0275enableBindings",moduleName:zn},Hn.disableBindings={name:"\u0275\u0275disableBindings",moduleName:zn},Hn.getCurrentView={name:"\u0275\u0275getCurrentView",moduleName:zn},Hn.textInterpolate={name:"\u0275\u0275textInterpolate",moduleName:zn},Hn.textInterpolate1={name:"\u0275\u0275textInterpolate1",moduleName:zn},Hn.textInterpolate2={name:"\u0275\u0275textInterpolate2",moduleName:zn},Hn.textInterpolate3={name:"\u0275\u0275textInterpolate3",moduleName:zn},Hn.textInterpolate4={name:"\u0275\u0275textInterpolate4",moduleName:zn},Hn.textInterpolate5={name:"\u0275\u0275textInterpolate5",moduleName:zn},Hn.textInterpolate6={name:"\u0275\u0275textInterpolate6",moduleName:zn},Hn.textInterpolate7={name:"\u0275\u0275textInterpolate7",moduleName:zn},Hn.textInterpolate8={name:"\u0275\u0275textInterpolate8",moduleName:zn},Hn.textInterpolateV={name:"\u0275\u0275textInterpolateV",moduleName:zn},Hn.restoreView={name:"\u0275\u0275restoreView",moduleName:zn},Hn.pureFunction0={name:"\u0275\u0275pureFunction0",moduleName:zn},Hn.pureFunction1={name:"\u0275\u0275pureFunction1",moduleName:zn},Hn.pureFunction2={name:"\u0275\u0275pureFunction2",moduleName:zn},Hn.pureFunction3={name:"\u0275\u0275pureFunction3",moduleName:zn},Hn.pureFunction4={name:"\u0275\u0275pureFunction4",moduleName:zn},Hn.pureFunction5={name:"\u0275\u0275pureFunction5",moduleName:zn},Hn.pureFunction6={name:"\u0275\u0275pureFunction6",moduleName:zn},Hn.pureFunction7={name:"\u0275\u0275pureFunction7",moduleName:zn},Hn.pureFunction8={name:"\u0275\u0275pureFunction8",moduleName:zn},Hn.pureFunctionV={name:"\u0275\u0275pureFunctionV",moduleName:zn},Hn.pipeBind1={name:"\u0275\u0275pipeBind1",moduleName:zn},Hn.pipeBind2={name:"\u0275\u0275pipeBind2",moduleName:zn},Hn.pipeBind3={name:"\u0275\u0275pipeBind3",moduleName:zn},Hn.pipeBind4={name:"\u0275\u0275pipeBind4",moduleName:zn},Hn.pipeBindV={name:"\u0275\u0275pipeBindV",moduleName:zn},Hn.hostProperty={name:"\u0275\u0275hostProperty",moduleName:zn},Hn.property={name:"\u0275\u0275property",moduleName:zn},Hn.propertyInterpolate={name:"\u0275\u0275propertyInterpolate",moduleName:zn},Hn.propertyInterpolate1={name:"\u0275\u0275propertyInterpolate1",moduleName:zn},Hn.propertyInterpolate2={name:"\u0275\u0275propertyInterpolate2",moduleName:zn},Hn.propertyInterpolate3={name:"\u0275\u0275propertyInterpolate3",moduleName:zn},Hn.propertyInterpolate4={name:"\u0275\u0275propertyInterpolate4",moduleName:zn},Hn.propertyInterpolate5={name:"\u0275\u0275propertyInterpolate5",moduleName:zn},Hn.propertyInterpolate6={name:"\u0275\u0275propertyInterpolate6",moduleName:zn},Hn.propertyInterpolate7={name:"\u0275\u0275propertyInterpolate7",moduleName:zn},Hn.propertyInterpolate8={name:"\u0275\u0275propertyInterpolate8",moduleName:zn},Hn.propertyInterpolateV={name:"\u0275\u0275propertyInterpolateV",moduleName:zn}
1,Hn.i18n={name:"\u0275\u0275i18n",moduleName:zn},Hn.i18nAttributes={name:"\u0275\u0275i18nAttributes",moduleName:zn},Hn.i18nExp={name:"\u0275\u0275i18nExp",moduleName:zn},Hn.i18nStart={name:"\u0275\u0275i18nStart",moduleName:zn},Hn.i18nEnd={name:"\u0275\u0275i18nEnd",moduleName:zn},Hn.i18nApply={name:"\u0275\u0275i18nApply",moduleName:zn},Hn.i18nPostprocess={name:"\u0275\u0275i18nPostprocess",moduleName:zn},Hn.pipe={name:"\u0275\u0275pipe",moduleName:zn},Hn.projection={name:"\u0275\u0275projection",moduleName:zn},Hn.projectionDef={name:"\u0275\u0275projectionDef",moduleName:zn},Hn.reference={name:"\u0275\u0275reference",moduleName:zn},Hn.inject={name:"\u0275\u0275inject",moduleName:zn},Hn.injectAttribute={name:"\u0275\u0275injectAttribute",moduleName:zn},Hn.injectPipeChangeDetectorRef={name:"\u0275\u0275injectPipeChangeDetectorRef",moduleName:zn},Hn.directiveInject={name:"\u0275\u0275directiveInject",moduleName:zn},Hn.invalidFactory={name:"\u0275\u0275invalidFactory",moduleName:zn},Hn.invalidFactoryDep={name:"\u0275\u0275invalidFactoryDep",moduleName:zn},Hn.templateRefExtractor={name:"\u0275\u0275templateRefExtractor",moduleName:zn},Hn.forwardRef={name:"forwardRef",moduleName:zn},Hn.resolveForwardRef={name:"resolveForwardRef",moduleName:zn},Hn.resolveWindow={name:"\u0275\u0275resolveWindow",moduleName:zn},Hn.resolveDocument={name:"\u0275\u0275resolveDocument",moduleName:zn},Hn.resolveBody={name:"\u0275\u0275resolveBody",moduleName:zn},Hn.defineComponent={name:"\u0275\u0275defineComponent",moduleName:zn},Hn.declareComponent={name:"\u0275\u0275ngDeclareComponent",moduleName:zn},Hn.setComponentScope={name:"\u0275\u0275setComponentScope",moduleName:zn},Hn.ChangeDetectionStrategy={name:"ChangeDetectionStrategy",moduleName:zn},Hn.ViewEncapsulation={name:"ViewEncapsulation",moduleName:zn},Hn.ComponentDefWithMeta={name:"\u0275\u0275ComponentDefWithMeta",moduleName:zn},Hn.FactoryDef={name:"\u0275\u0275FactoryDef",moduleName:zn},Hn.defineDirective={name:"\u0275\u0275defineDirective",moduleName:zn},Hn.declareDirective={name:"\u0275\u0275ngDeclareDirective",moduleName:zn},Hn.DirectiveDefWithMeta={name:"\u0275\u0275DirectiveDefWithMeta",moduleName:zn},Hn.InjectorDef={name:"\u0275\u0275InjectorDef",moduleName:zn},Hn.defineInjector={name:"\u0275\u0275defineInjector",moduleName:zn},Hn.NgModuleDefWithMeta={name:"\u0275\u0275NgModuleDefWithMeta",moduleName:zn},Hn.ModuleWithProviders={name:"ModuleWithProviders",moduleName:zn},Hn.defineNgModule={name:"\u0275\u0275defineNgModule",moduleName:zn},Hn.setNgModuleScope={name:"\u0275\u0275setNgModuleScope",moduleName:zn},Hn.PipeDefWithMeta={name:"\u0275\u0275PipeDefWithMeta",moduleName:zn},Hn.definePipe={name:"\u0275\u0275definePipe",moduleName:zn},Hn.declarePipe={name:"\u0275\u0275ngDeclarePipe",moduleName:zn},Hn.queryRefresh={name:"\u0275\u0275queryRefresh",moduleName:zn},Hn.viewQuery={name:"\u0275\u0275viewQuery",moduleName:zn},Hn.loadQuery={name:"\u0275\u0275loadQuery",moduleName:zn},Hn.contentQuery={name:"\u0275\u0275contentQuery",moduleName:zn},Hn.NgOnChangesFeature={name:"\u0275\u0275NgOnChangesFeature",moduleName:zn},Hn.InheritDefinitionFeature={name:"\u0275\u0275InheritDefinitionFeature",moduleName:zn},Hn.CopyDefinitionFeature={name:"\u0275\u0275CopyDefinitionFeature",moduleName:zn},Hn.ProvidersFeature={name:"\u0275\u0275ProvidersFeature",moduleName:zn},Hn.listener={name:"\u0275\u0275listener",moduleName:zn},Hn.getInheritedFactory={name:"\u0275\u0275getInheritedFactory",moduleName:zn},Hn.sanitizeHtml={name:"\u0275\u0275sanitizeHtml",moduleName:zn},Hn.sanitizeStyle={name:"\u0275\u0275sanitizeStyle",moduleName:zn},Hn.sanitizeResourceUrl={name:"\u0275\u0275sanitizeResourceUrl",moduleName:zn},Hn.sanitizeScript={name:"\u0275\u0275sanitizeScript",moduleName:zn},Hn.sanitizeUrl={name:"\u0275\u0275sanitizeUrl",moduleName:zn},Hn.sanitizeUrlOrResourceUrl={name:"\u0275\u0275sanitizeUrlOrResourceUrl",moduleName:zn},Hn.trustConstantHtml={name:"\u0275\u0275trustConstantHtml",moduleName:zn},Hn.trustConstantResourceUrl={name:"\u0275\u0275trustConstantResourceUrl",moduleName:zn};class qn{constructor(e=null){this.file=e,this.sourcesContent=new Map,this.lines=[],this.lastCol0=0,this.hasMappings=!1}addSource(e,t=null){return this.sourcesContent.has(e)||this.sourcesContent.set(e,t),this}addLine(){return this.lines.push([]),this.lastCol0=0,this}addMapping(e,t,n,r){if(!this.currentLine)throw new Error("A line must be added before mappings can be added");if(null!=t&&!this.sourcesContent.has(t))throw new Error(`Unknown source file "${t}"`);if(null==e)throw new Error("The column in the generated code must be provided");
1if(e<this.lastCol0)throw new Error("Mapping should be added in output order");if(t&&(null==n||null==r))throw new Error("The source location must be provided when a source url is provided");return this.hasMappings=!0,this.lastCol0=e,this.currentLine.push({col0:e,sourceUrl:t,sourceLine0:n,sourceCol0:r}),this}get currentLine(){return this.lines.slice(-1)[0]}toJSON(){if(!this.hasMappings)return null;const e=new Map,t=[],n=[];Array.from(this.sourcesContent.keys()).forEach((r,i)=>{e.set(r,i),t.push(r),n.push(this.sourcesContent.get(r)||null)});let r="",i=0,s=0,o=0,a=0;return this.lines.forEach(t=>{i=0,r+=t.map(t=>{let n=Gn(t.col0-i);return i=t.col0,null!=t.sourceUrl&&(n+=Gn(e.get(t.sourceUrl)-s),s=e.get(t.sourceUrl),n+=Gn(t.sourceLine0-o),o=t.sourceLine0,n+=Gn(t.sourceCol0-a),a=t.sourceCol0),n}).join(","),r+=";"}),r=r.slice(0,-1),{file:this.file||"",version:3,sourceRoot:"",sources:t,sourcesContent:n,mappings:r}}toJsComment(){return this.hasMappings?"//# sourceMappingURL=data:application/json;base64,"+function(e){let t="";const n=pn(e);for(let r=0;r<n.length;){const e=n[r++],i=r<n.length?n[r++]:null,s=r<n.length?n[r++]:null;t+=Wn(e>>2),t+=Wn((3&e)<<4|(null===i?0:i>>4)),t+=null===i?"=":Wn((15&i)<<2|(null===s?0:s>>6)),t+=null===i||null===s?"=":Wn(63&s)}return t}(JSON.stringify(this,null,0)):""}}function Gn(e){e=e<0?1+(-e<<1):e<<1;let t="";do{let n=31&e;(e>>=5)>0&&(n|=32),t+=Wn(n)}while(e>0);return t}function Wn(e){if(e<0||e>=64)throw new Error("Can only encode value in the range [0, 63]");return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[e]}const Qn=/'|\\|\n|\r|\$/g,Kn=/^[$A-Z_][0-9A-Z_$]*$/i,Xn="  ",Yn=St("error",null,null),Zn=St("stack",null,null);class Jn{constructor(e){this.indent=e,this.partsLength=0,this.parts=[],this.srcSpans=[]}}class er{constructor(e){this._indent=e,this._classes=[],this._preambleLineCount=0,this._lines=[new Jn(e)]}static createRoot(){return new er(0)}get _currentLine(){return this._lines[this._lines.length-1]}println(e,t=""){this.print(e||null,t,!0)}lineIsEmpty(){return 0===this._currentLine.parts.length}lineLength(){return this._currentLine.indent*Xn.length+this._currentLine.partsLength}print(e,t,n=!1){t.length>0&&(this._currentLine.parts.push(t),this._currentLine.partsLength+=t.length,this._currentLine.srcSpans.push(e&&e.sourceSpan||null)),n&&this._lines.push(new Jn(this._indent))}removeEmptyLastLine(){this.lineIsEmpty()&&this._lines.pop()}incIndent(){this._indent++,this.lineIsEmpty()&&(this._currentLine.indent=this._indent)}decIndent(){this._indent--,this.lineIsEmpty()&&(this._currentLine.indent=this._indent)}pushClass(e){this._classes.push(e)}popClass(){return this._classes.pop()}get currentClass(){return this._classes.length>0?this._classes[this._classes.length-1]:null}toSource(){return this.sourceLines.map(e=>e.parts.length>0?rr(e.indent)+e.parts.join(""):"").join("\n")}toSourceMapGenerator(e,t=0){const n=new qn(e);let r=!1;const i=()=>{r||(n.addSource(e," ").addMapping(0,e,0,0),r=!0)};for(let s=0;s<t;s++)n.addLine(),i();return this.sourceLines.forEach((e,t)=>{n.addLine();const s=e.srcSpans,o=e.parts;let a=e.indent*Xn.length,l=0;for(;l<s.length&&!s[l];)a+=o[l].length,l++;for(l<s.length&&0===t&&0===a?r=!0:i();l<s.length;){const e=s[l],t=e.start.file,r=e.start.line,i=e.start.col;for(n.addSource(t.url,t.content).addMapping(a,t.url,r,i),a+=o[l].length,l++;l<s.length&&(e===s[l]||!s[l]);)a+=o[l].length,l++}}),n}setPreambleLineCount(e){return this._preambleLineCount=e}spanOf(e,t){const n=this._lines[e-this._preambleLineCount];if(n){let e=t-rr(n.indent).length;for(let t=0;t<n.parts.length;t++){const r=n.parts[t];if(r.length>e)return n.srcSpans[t];e-=r.length}}return null}get sourceLines(){return this._lines.length&&0===this._lines[this._lines.length-1].parts.length?this._lines.slice(0,-1):this._lines}}class tr{constructor(e){this._escapeDollarInStrings=e}printLeadingComments(e,t){if(void 0!==e.leadingComments)for(const n of e.leadingComments)n instanceof st?t.print(e,`/*${n.toString()}*/`,n.trailingNewline):n.multiline?t.print(e,`/* ${n.text} */`,n.trailingNewline):n.text.split("\n").forEach(n=>{t.println(e,`// ${n}`)})}visitExpressionStmt(e,t){return this.printLeadingComments(e,t),e.expr.visitExpression(this,t),t.println(e,";"),null}visitReturnStmt(e,t){return this.printLeadingComments(e,t),t.print(e,"return "),e.value.visitExpression(this,t),t.println(e,";"),null}visitIfStmt(e,t){this.printLeadingComments(e,t),t.print(e,"if ("),e.condition.visitExpression(this,t),t.print(e,") {");const n=null!=e.falseCase&&e.falseCase.length>0;return e.trueCase.length<=1&&!n?(t.print(e," "),this.visitAllStatements(e.trueCase,t),t.removeEmptyLastLine(),t.print(e," ")):(t.println(),t.incIndent(),this.visitAllStatements(e.trueCase,t),t.decIndent(),n&&(t.println(e,"} else {"),t.incIndent(),this.visitAllStatements(e.falseCase,t),t.decIndent())),t.println(e,"}"),null}visitThrowStmt(e,t){return this.printLeadingComments(e,t),t.print(e,"throw "),e.error.visitExpression(this,t),t.println(e,";"),null}
1visitWriteVarExpr(e,t){const n=t.lineIsEmpty();return n||t.print(e,"("),t.print(e,`${e.name} = `),e.value.visitExpression(this,t),n||t.print(e,")"),null}visitWriteKeyExpr(e,t){const n=t.lineIsEmpty();return n||t.print(e,"("),e.receiver.visitExpression(this,t),t.print(e,"["),e.index.visitExpression(this,t),t.print(e,"] = "),e.value.visitExpression(this,t),n||t.print(e,")"),null}visitWritePropExpr(e,t){const n=t.lineIsEmpty();return n||t.print(e,"("),e.receiver.visitExpression(this,t),t.print(e,`.${e.name} = `),e.value.visitExpression(this,t),n||t.print(e,")"),null}visitInvokeMethodExpr(e,t){e.receiver.visitExpression(this,t);let n=e.name;return null!=e.builtin&&(n=this.getBuiltinMethodName(e.builtin),null==n)||(t.print(e,`.${n}(`),this.visitAllExpressions(e.args,t,","),t.print(e,")")),null}visitInvokeFunctionExpr(e,t){return e.fn.visitExpression(this,t),t.print(e,"("),this.visitAllExpressions(e.args,t,","),t.print(e,")"),null}visitTaggedTemplateExpr(e,t){e.tag.visitExpression(this,t),t.print(e,"`"+e.template.elements[0].rawText);for(let n=1;n<e.template.elements.length;n++)t.print(e,"${"),e.template.expressions[n-1].visitExpression(this,t),t.print(e,`}${e.template.elements[n].rawText}`);return t.print(e,"`"),null}visitWrappedNodeExpr(e,t){throw new Error("Abstract emitter cannot visit WrappedNodeExpr.")}visitTypeofExpr(e,t){t.print(e,"typeof "),e.expr.visitExpression(this,t)}visitReadVarExpr(e,t){let n=e.name;if(null!=e.builtin)switch(e.builtin){case pe.Super:n="super";break;case pe.This:n="this";break;case pe.CatchError:n=Yn.name;break;case pe.CatchStack:n=Zn.name;break;default:throw new Error(`Unknown builtin variable ${e.builtin}`)}return t.print(e,n),null}visitInstantiateExpr(e,t){return t.print(e,"new "),e.classExpr.visitExpression(this,t),t.print(e,"("),this.visitAllExpressions(e.args,t,","),t.print(e,")"),null}visitLiteralExpr(e,t){const n=e.value;return"string"==typeof n?t.print(e,nr(n,this._escapeDollarInStrings)):t.print(e,`${n}`),null}visitLocalizedString(e,t){const n=e.serializeI18nHead();t.print(e,"$localize `"+n.raw);for(let r=1;r<e.messageParts.length;r++)t.print(e,"${"),e.expressions[r-1].visitExpression(this,t),t.print(e,`}${e.serializeI18nTemplatePart(r).raw}`);return t.print(e,"`"),null}visitConditionalExpr(e,t){return t.print(e,"("),e.condition.visitExpression(this,t),t.print(e,"? "),e.trueCase.visitExpression(this,t),t.print(e,": "),e.falseCase.visitExpression(this,t),t.print(e,")"),null}visitNotExpr(e,t){return t.print(e,"!"),e.condition.visitExpression(this,t),null}visitAssertNotNullExpr(e,t){return e.condition.visitExpression(this,t),null}visitUnaryOperatorExpr(e,t){let n;switch(e.operator){case he.Plus:n="+";break;case he.Minus:n="-";break;default:throw new Error(`Unknown operator ${e.operator}`)}return e.parens&&t.print(e,"("),t.print(e,n),e.expr.visitExpression(this,t),e.parens&&t.print(e,")"),null}visitBinaryOperatorExpr(e,t){let n;switch(e.operator){case de.Equals:n="==";break;case de.Identical:n="===";break;case de.NotEquals:n="!=";break;case de.NotIdentical:n="!==";break;case de.And:n="&&";break;case de.BitwiseAnd:n="&";break;case de.Or:n="||";break;case de.Plus:n="+";break;case de.Minus:n="-";break;case de.Divide:n="/";break;case de.Multiply:n="*";break;case de.Modulo:n="%";break;case de.Lower:n="<";break;case de.LowerEquals:n="<=";break;case de.Bigger:n=">";break;case de.BiggerEquals:n=">=";break;default:throw new Error(`Unknown operator ${e.operator}`)}return e.parens&&t.print(e,"("),e.lhs.visitExpression(this,t),t.print(e,` ${n} `),e.rhs.visitExpression(this,t),e.parens&&t.print(e,")"),null}visitReadPropExpr(e,t){return e.receiver.visitExpression(this,t),t.print(e,"."),t.print(e,e.name),null}visitReadKeyExpr(e,t){return e.receiver.visitExpression(this,t),t.print(e,"["),e.index.visitExpression(this,t),t.print(e,"]"),null}visitLiteralArrayExpr(e,t){return t.print(e,"["),this.visitAllExpressions(e.entries,t,","),t.print(e,"]"),null}visitLiteralMapExpr(e,t){return t.print(e,"{"),this.visitAllObjects(n=>{t.print(e,`${nr(n.key,this._escapeDollarInStrings,n.quoted)}:`),n.value.visitExpression(this,t)},e.entries,t,","),t.print(e,"}"),null}visitCommaExpr(e,t){return t.print(e,"("),this.visitAllExpressions(e.parts,t,","),t.print(e,")"),null}visitAllExpressions(e,t,n){this.visitAllObjects(e=>e.visitExpression(this,t),e,t,n)}visitAllObjects(e,t,n,r){let i=!1;for(let s=0;s<t.length;s++)s>0&&(n.lineLength()>80?(n.print(null,r,!0),i||(n.incIndent(),n.incIndent(),i=!0)):n.print(null,r,!1)),e(t[s]);i&&(n.decIndent(),n.decIndent())}
1visitAllStatements(e,t){e.forEach(e=>e.visitStatement(this,t))}}function nr(e,t,n=!0){if(null==e)return null;const r=e.replace(Qn,(...e)=>"$"==e[0]?t?"\\$":"$":"\n"==e[0]?"\\n":"\r"==e[0]?"\\r":`\\${e[0]}`);return n||!Kn.test(r)?`'${r}'`:r}function rr(e){let t="";for(let n=0;n<e;n++)t+=Xn;return t}function ir(e){return Ot(Object.keys(e).map(t=>({key:t,value:e[t],quoted:!1})))}function sr(e,t){if(0===t)return kt(e);const n=[];for(let r=0;r<t;r++)n.push(se);return kt(e,void 0,n)}function or(e){return`@${e}`}function ar(e,t){const n=nr(t,!1,!1);return n!==t?`${e}[${n}]`:`${e}.${t}`}function lr(e,t){return`animation_${e}_${t}`}function cr(e,t){const n=new $e({name:e,moduleName:null}),r=new Qe(de.Identical,new we(n),Nt("undefined")),i=new Qe(de.Or,r,n,void 0,void 0,!0);return new Qe(de.And,i,t)}class ur{constructor(e,t){this.value=e,this.sourceSpan=t}visit(e){throw new Error("visit() not implemented for Comment")}}class hr{constructor(e,t){this.value=e,this.sourceSpan=t}visit(e){return e.visitText(this)}}class dr{constructor(e,t,n){this.value=e,this.sourceSpan=t,this.i18n=n}visit(e){return e.visitBoundText(this)}}class pr{constructor(e,t,n,r,i,s){this.name=e,this.value=t,this.sourceSpan=n,this.keySpan=r,this.valueSpan=i,this.i18n=s}visit(e){return e.visitTextAttribute(this)}}class fr{constructor(e,t,n,r,i,s,o,a,l){this.name=e,this.type=t,this.securityContext=n,this.value=r,this.unit=i,this.sourceSpan=s,this.keySpan=o,this.valueSpan=a,this.i18n=l}static fromBoundElementProperty(e,t){if(void 0===e.keySpan)throw new Error(`Unexpected state: keySpan must be defined for bound attributes but was not for ${e.name}: ${e.sourceSpan}`);return new fr(e.name,e.type,e.securityContext,e.value,e.unit,e.sourceSpan,e.keySpan,e.valueSpan,t)}visit(e){return e.visitBoundAttribute(this)}}class mr{constructor(e,t,n,r,i,s,o,a){this.name=e,this.type=t,this.handler=n,this.target=r,this.phase=i,this.sourceSpan=s,this.handlerSpan=o,this.keySpan=a}static fromParsedEvent(e){const t=0===e.type?e.targetOrPhase:null,n=1===e.type?e.targetOrPhase:null;if(void 0===e.keySpan)throw new Error(`Unexpected state: keySpan must be defined for bound event but was not for ${e.name}: ${e.sourceSpan}`);return new mr(e.name,e.type,e.handler,t,n,e.sourceSpan,e.handlerSpan,e.keySpan)}visit(e){return e.visitBoundEvent(this)}}class gr{constructor(e,t,n,r,i,s,o,a,l,c){this.name=e,this.attributes=t,this.inputs=n,this.outputs=r,this.children=i,this.references=s,this.sourceSpan=o,this.startSourceSpan=a,this.endSourceSpan=l,this.i18n=c}visit(e){return e.visitElement(this)}}class vr{constructor(e,t,n,r,i,s,o,a,l,c,u,h){this.tagName=e,this.attributes=t,this.inputs=n,this.outputs=r,this.templateAttrs=i,this.children=s,this.references=o,this.variables=a,this.sourceSpan=l,this.startSourceSpan=c,this.endSourceSpan=u,this.i18n=h}visit(e){return e.visitTemplate(this)}}class yr{constructor(e,t,n,r){this.selector=e,this.attributes=t,this.sourceSpan=n,this.i18n=r,this.name="ng-content"}visit(e){return e.visitContent(this)}}class br{constructor(e,t,n,r,i){this.name=e,this.value=t,this.sourceSpan=n,this.keySpan=r,this.valueSpan=i}visit(e){return e.visitVariable(this)}}class wr{constructor(e,t,n,r,i){this.name=e,this.value=t,this.sourceSpan=n,this.keySpan=r,this.valueSpan=i}visit(e){return e.visitReference(this)}}class _r{constructor(e,t,n,r){this.vars=e,this.placeholders=t,this.sourceSpan=n,this.i18n=r}visit(e){return e.visitIcu(this)}}function xr(e,t){const n=[];if(e.visit)for(const r of t){e.visit(r)||r.visit(e)}else for(const r of t){const t=r.visit(e);t&&n.push(t)}return n}class Cr{constructor(e,t,n,r,i,s){this.nodes=e,this.placeholders=t,this.placeholderToMessage=n,this.meaning=r,this.description=i,this.customId=s,this.id=this.customId,this.legacyIds=[],e.length?this.sources=[{filePath:e[0].sourceSpan.start.file.url,startLine:e[0].sourceSpan.start.line+1,startCol:e[0].sourceSpan.start.col+1,endLine:e[e.length-1].sourceSpan.end.line+1,endCol:e[0].sourceSpan.start.col+1}]:this.sources=[]}}class Sr{constructor(e,t){this.value=e,this.sourceSpan=t}visit(e,t){return e.visitText(this,t)}}class Er{constructor(e,t){this.children=e,this.sourceSpan=t}visit(e,t){return e.visitContainer(this,t)}}class Ar{constructor(e,t,n,r){this.expression=e,this.type=t,this.cases=n,this.sourceSpan=r}visit(e,t){return e.visitIcu(this,t)}}class kr{constructor(e,t,n,r,i,s,o,a,l){this.tag=e,this.attrs=t,this.startName=n,this.closeName=r,this.children=i,this.isVoid=s,this.sourceSpan=o,this.startSourceSpan=a,this.endSourceSpan=l}visit(e,t){return e.visitTagPlaceholder(this,t)}}class Ir{constructor(e,t,n){this.value=e,this.name=t,this.sourceSpan=n}visit(e,t){return e.visitPlaceholder(this,t)}}class Tr{constructor(e,t,n){this.value=e,this.name=t,this.sourceSpan=n}visit(e,t){return e.visitIcuPlaceholder(this,t)}}class Or{constructor(e){this.digits=e}static zero(){return new Or([0])}static one(){return new Or([1])}clone(){return new Or(this.digits.slice())}add(e){const t=this.clone();return t.addToSelf(e),t}addToSelf(e){const t=Math.max(this.digits.length,e.digits.length);let n=0;for(let r=0;r<t;r++){let t=n;r<this.digits.length&&(t+=this.digits[r]),r<e.digits.length&&(t+=e.digits[r]),t>=10?(this.digits[r]=t-10,n=1):(this.digits[r]=t,n=0)}n>0&&(this.digits[t]=1)}toString(){let e="";for(let t=this.digits.length-1;t>=0;t--)e+=this.digits[t];return e}}class Dr{constructor(e){this.powerOfTwos=[e]}getValue(){return this.powerOfTwos[0]}multiplyBy(e){const t=Or.zero();return this.multiplyByAndAddTo(e,t),t}multiplyByAndAddTo(e,t){for(let n=0;0!==e;e>>>=1,n++)if(1&e){const e=this.getMultipliedByPowerOfTwo(n);t.addToSelf(e)}}getMultipliedByPowerOfTwo(e){for(let t=this.powerOfTwos.length;t<=e;t++){const e=this.powerOfTwos[t-1];this.powerOfTwos[t]=e.add(e)}return this.powerOfTwos[e]}}function Pr(e){return e.id||Mr(e)}function Mr(e){return function(e){const t=pn(e),n=function(e,t){const n=e.length+3>>>2,r=[];for(let i=0;i<n;i++)r[i]=Kr(e,4*i,t);return r}(t,zr.Big),r=8*t.length,i=wn(80);let s=1732584193,o=4023233417,a=2562383102,l=271733878,c=3285377520;n[r>>5]|=128<<24-r%32,n[15+(r+64>>9<<4)]=r;for(let u=0;u<n.length;u+=16){const e=s,t=o,r=a,h=l,d=c;for(let p=0;p<80;
1p++){i[p]=p<16?n[u+p]:Wr(i[p-3]^i[p-8]^i[p-14]^i[p-16],1);const e=Br(p,o,a,l),t=e[0],r=e[1],h=[Wr(s,5),t,c,r,i[p]].reduce(Hr);c=l,l=a,a=Wr(o,30),o=s,s=h}s=Hr(s,e),o=Hr(o,t),a=Hr(a,r),l=Hr(l,h),c=Hr(c,d)}return function(e){let t="";for(let n=0;n<e.length;n++){const r=Qr(e,n);t+=(r>>>4).toString(16)+(15&r).toString(16)}return t.toLowerCase()}(function(e){return e.reduce((e,t)=>e.concat(function(e){let t=[];for(let n=0;n<4;n++)t.push(e>>>8*(3-n)&255);return t}(t)),[])}([s,o,a,l,c]))}((t=e.nodes,t.map(e=>e.visit(jr,null))).join("")+`[${e.meaning}]`);var t}function Nr(e){return e.id||Rr(e)}function Rr(e){const t=new Fr;return function(e,t=""){let n=$r(e);if(t){const e=$r(t);n=function(e,t){const n=e[0],r=e[1],i=t[0],s=t[1],o=qr(r,s),a=o[0],l=o[1];return[Hr(Hr(n,i),a),l]}(function(e,t){const n=e[0],r=e[1];return[n<<t|r>>>32-t,r<<t|n>>>32-t]}(n,1),e)}const r=n[0],i=n[1];return function(e,t){const n=Xr.toThePowerOf(0).multiplyBy(t);return Xr.toThePowerOf(4).multiplyByAndAddTo(e,n),n.toString()}(2147483647&r,i)}(e.nodes.map(e=>e.visit(t,null)).join(""),e.meaning)}class Lr{visitText(e,t){return e.value}visitContainer(e,t){return`[${e.children.map(e=>e.visit(this)).join(", ")}]`}visitIcu(e,t){const n=Object.keys(e.cases).map(t=>`${t} {${e.cases[t].visit(this)}}`);return`{${e.expression}, ${e.type}, ${n.join(", ")}}`}visitTagPlaceholder(e,t){return e.isVoid?`<ph tag name="${e.startName}"/>`:`<ph tag name="${e.startName}">${e.children.map(e=>e.visit(this)).join(", ")}</ph name="${e.closeName}">`}visitPlaceholder(e,t){return e.value?`<ph name="${e.name}">${e.value}</ph>`:`<ph name="${e.name}"/>`}visitIcuPlaceholder(e,t){return`<ph icu name="${e.name}">${e.value.visit(this)}</ph>`}}const jr=new Lr;class Fr extends Lr{visitIcu(e,t){let n=Object.keys(e.cases).map(t=>`${t} {${e.cases[t].visit(this)}}`);return`{${e.type}, ${n.join(", ")}}`}}function Br(e,t,n,r){return e<20?[t&n|~t&r,1518500249]:e<40?[t^n^r,1859775393]:e<60?[t&n|t&r|n&r,2400959708]:[t^n^r,3395469782]}function $r(e){const t=pn(e);let n=Vr(t,0),r=Vr(t,102072);return 0!=n||0!=r&&1!=r||(n^=319790063,r^=-1801410264),[n,r]}function Vr(e,t){let n,r=2654435769,i=2654435769;const s=e.length;for(n=0;n+12<=s;n+=12){r=Hr(r,Kr(e,n,zr.Little)),i=Hr(i,Kr(e,n+4,zr.Little));const s=Ur(r,i,t=Hr(t,Kr(e,n+8,zr.Little)));r=s[0],i=s[1],t=s[2]}return r=Hr(r,Kr(e,n,zr.Little)),i=Hr(i,Kr(e,n+4,zr.Little)),t=Hr(t,s),Ur(r,i,t=Hr(t,Kr(e,n+8,zr.Little)<<8))[2]}function Ur(e,t,n){return e=Gr(e,t),e=Gr(e,n),e^=n>>>13,t=Gr(t,n),t=Gr(t,e),t^=e<<8,n=Gr(n,e),n=Gr(n,t),n^=t>>>13,e=Gr(e,t),e=Gr(e,n),e^=n>>>12,t=Gr(t,n),t=Gr(t,e),t^=e<<16,n=Gr(n,e),n=Gr(n,t),n^=t>>>5,e=Gr(e,t),e=Gr(e,n),e^=n>>>3,t=Gr(t,n),t=Gr(t,e),t^=e<<10,n=Gr(n,e),n=Gr(n,t),[e,t,n^=t>>>15]}var zr;function Hr(e,t){return qr(e,t)[1]}function qr(e,t){const n=(65535&e)+(65535&t),r=(e>>>16)+(t>>>16)+(n>>>16);return[r>>>16,r<<16|65535&n]}function Gr(e,t){const n=(65535&e)-(65535&t);return(e>>16)-(t>>16)+(n>>16)<<16|65535&n}function Wr(e,t){return e<<t|e>>>32-t}function Qr(e,t){return t>=e.length?0:e[t]}function Kr(e,t,n){let r=0;if(n===zr.Big)for(let i=0;i<4;i++)r+=Qr(e,t+i)<<24-8*i;else for(let i=0;i<4;i++)r+=Qr(e,t+i)<<8*i;return r}!function(e){e[e.Little=0]="Little",e[e.Big=1]="Big"}(zr||(zr={}));const Xr=new class{constructor(e){this.base=e,this.exponents=[new Dr(Or.one())]}toThePowerOf(e){for(let t=this.exponents.length;t<=e;t++){const e=this.exponents[t-1].multiplyBy(this.base);this.exponents[t]=new Dr(e)}return this.exponents[e]}}(256);class Yr{createNameMapper(e){return null}}class Zr extends class{visitText(e,t){}visitContainer(e,t){e.children.forEach(e=>e.visit(this))}visitIcu(e,t){Object.keys(e.cases).forEach(t=>{e.cases[t].visit(this)})}visitTagPlaceholder(e,t){e.children.forEach(e=>e.visit(this))}visitPlaceholder(e,t){}visitIcuPlaceholder(e,t){}}{constructor(e,t){super(),this.mapName=t,this.internalToPublic={},this.publicToNextId={},this.publicToInternal={},e.nodes.forEach(e=>e.visit(this))}toPublicName(e){return this.internalToPublic.hasOwnProperty(e)?this.internalToPublic[e]:null}toInternalName(e){return this.publicToInternal.hasOwnProperty(e)?this.publicToInternal[e]:null}visitText(e,t){return null}visitTagPlaceholder(e,t){this.visitPlaceholderName(e.startName),super.visitTagPlaceholder(e,t),this.visitPlaceholderName(e.closeName)}visitPlaceholder(e,t){this.visitPlaceholderName(e.name)}
1visitIcuPlaceholder(e,t){this.visitPlaceholderName(e.name)}visitPlaceholderName(e){if(!e||this.internalToPublic.hasOwnProperty(e))return;let t=this.mapName(e);if(this.publicToInternal.hasOwnProperty(t)){const e=this.publicToNextId[t];this.publicToNextId[t]=e+1,t=`${t}_${e}`}else this.publicToNextId[t]=1;this.internalToPublic[e]=t,this.publicToInternal[t]=e}}const Jr=new class{visitTag(e){const t=this._serializeAttributes(e.attrs);if(0==e.children.length)return`<${e.name}${t}/>`;const n=e.children.map(e=>e.visit(this));return`<${e.name}${t}>${n.join("")}</${e.name}>`}visitText(e){return e.value}visitDeclaration(e){return`<?xml${this._serializeAttributes(e.attrs)} ?>`}_serializeAttributes(e){const t=Object.keys(e).map(t=>`${t}="${e[t]}"`).join(" ");return t.length>0?" "+t:""}visitDoctype(e){return`<!DOCTYPE ${e.rootTag} [\n${e.dtd}\n]>`}};function ei(e){return e.map(e=>e.visit(Jr)).join("")}class ti{constructor(e){this.attrs={},Object.keys(e).forEach(t=>{this.attrs[t]=ai(e[t])})}visit(e){return e.visitDeclaration(this)}}class ni{constructor(e,t){this.rootTag=e,this.dtd=t}visit(e){return e.visitDoctype(this)}}class ri{constructor(e,t={},n=[]){this.name=e,this.children=n,this.attrs={},Object.keys(t).forEach(e=>{this.attrs[e]=ai(t[e])})}visit(e){return e.visitTag(this)}}class ii{constructor(e){this.value=ai(e)}visit(e){return e.visitText(this)}}class si extends ii{constructor(e=0){super(`\n${new Array(e+1).join(" ")}`)}}const oi=[[/&/g,"&amp;"],[/"/g,"&quot;"],[/'/g,"&apos;"],[/</g,"&lt;"],[/>/g,"&gt;"]];function ai(e){return oi.reduce((e,t)=>e.replace(t[0],t[1]),e)}const li="messagebundle",ci="ph",ui="ex";class hi extends Yr{write(e,t){const n=new fi,r=new di;let i=new ri(li);return e.forEach(e=>{const t={id:e.id};e.description&&(t.desc=e.description),e.meaning&&(t.meaning=e.meaning);let n=[];e.sources.forEach(e=>{n.push(new ri("source",{},[new ii(`${e.filePath}:${e.startLine}${e.endLine!==e.startLine?","+e.endLine:""}`)]))}),i.children.push(new si(2),new ri("msg",t,[...n,...r.serialize(e.nodes)]))}),i.children.push(new si),ei([new ti({version:"1.0",encoding:"UTF-8"}),new si,new ni(li,'<!ELEMENT messagebundle (msg)*>\n<!ATTLIST messagebundle class CDATA #IMPLIED>\n\n<!ELEMENT msg (#PCDATA|ph|source)*>\n<!ATTLIST msg id CDATA #IMPLIED>\n<!ATTLIST msg seq CDATA #IMPLIED>\n<!ATTLIST msg name CDATA #IMPLIED>\n<!ATTLIST msg desc CDATA #IMPLIED>\n<!ATTLIST msg meaning CDATA #IMPLIED>\n<!ATTLIST msg obsolete (obsolete) #IMPLIED>\n<!ATTLIST msg xml:space (default|preserve) "default">\n<!ATTLIST msg is_hidden CDATA #IMPLIED>\n\n<!ELEMENT source (#PCDATA)>\n\n<!ELEMENT ph (#PCDATA|ex)*>\n<!ATTLIST ph name CDATA #REQUIRED>\n\n<!ELEMENT ex (#PCDATA)>'),new si,n.addDefaultExamples(i),new si])}load(e,t){throw new Error("Unsupported")}digest(e){return pi(e)}createNameMapper(e){return new Zr(e,mi)}}class di{visitText(e,t){return[new ii(e.value)]}visitContainer(e,t){const n=[];return e.children.forEach(e=>n.push(...e.visit(this))),n}visitIcu(e,t){const n=[new ii(`{${e.expressionPlaceholder}, ${e.type}, `)];return Object.keys(e.cases).forEach(t=>{n.push(new ii(`${t} {`),...e.cases[t].visit(this),new ii("} "))}),n.push(new ii("}")),n}visitTagPlaceholder(e,t){const n=new ii(`<${e.tag}>`),r=new ri(ui,{},[n]),i=new ri(ci,{name:e.startName},[r,n]);if(e.isVoid)return[i];const s=new ii(`</${e.tag}>`),o=new ri(ui,{},[s]),a=new ri(ci,{name:e.closeName},[o,s]);return[i,...this.serialize(e.children),a]}visitPlaceholder(e,t){const n=new ii(`{{${e.value}}}`),r=new ri(ui,{},[n]);return[new ri(ci,{name:e.name},[r,n])]}visitIcuPlaceholder(e,t){const n=e.value.expression,r=e.value.type,i=Object.keys(e.value.cases).map(e=>e+" {...}").join(" "),s=new ii(`{${n}, ${r}, ${i}}`),o=new ri(ui,{},[s]);return[new ri(ci,{name:e.name},[o,s])]}serialize(e){return[].concat(...e.map(e=>e.visit(this)))}}function pi(e){return Nr(e)}class fi{addDefaultExamples(e){return e.visit(this),e}visitTag(e){if(e.name===ci){if(!e.children||0==e.children.length){const t=new ii(e.attrs.name||"...");e.children=[new ri(ui,{},[t])]}}else e.children&&e.children.forEach(e=>e.visit(this))}visitText(e){}visitDeclaration(e){}visitDoctype(e){}}function mi(e){return e.toUpperCase().replace(/[^A-Z0-9_]/g,"_")}const gi="i18n",vi="i18n-";function yi(e){return e===gi||e.startsWith(vi)}function bi(e){return e instanceof Cr}function wi(e){return bi(e)&&1===e.nodes.length&&e.nodes[0]instanceof Ar}function _i(e){return!!e.i18n}
1function xi(e){return e.nodes[0]}function Ci(e,t=0){return`\ufffd${e}${t>0?`:${t}`:""}\ufffd`}function Si(e=0){let t=e;return()=>t++}function Ei(e){const t={};return e.forEach((e,n)=>{t[n]=Nt(e.length>1?`[${e.join("|")}]`:e[0])}),t}function Ai(e,t,...n){const r=e.get(t)||[];r.push(...n),e.set(t,r)}function ki(e,t=0,n=0){const r=t,i=new Map,s=e instanceof Cr?e.nodes.find(e=>e instanceof Er):e;return s&&s.children.filter(e=>e instanceof Ir).forEach((e,t)=>{const s=Ci(r+t,n);Ai(i,e.name,s)}),i}function Ii(e={},t){const n={};return e&&Object.keys(e).length&&Object.keys(e).forEach(r=>n[Ti(r,t)]=e[r]),n}function Ti(e,t=!0){const n=mi(e);if(!t)return n;const r=n.split("_");if(1===r.length)return e.toLowerCase();let i;/^\d+$/.test(r[r.length-1])&&(i=r.pop());let s=r.shift().toLowerCase();return r.length&&(s+=r.map(e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()).join("")),i?`${s}_${i}`:s}function Oi(e){return`MSG_${e}`.toUpperCase()}function Di(e){return new at(e.name,void 0,oe,void 0,e.sourceSpan)}const Pi=/[-.]/,Mi="_t",Ni="ctx",Ri="rf";function Li(e,t){let n=null;return()=>(n||(e.push(new at(Mi,void 0,se)),n=St(t)),n)}function ji(e){if(this)throw new Error(`Builder ${this.constructor.name} doesn't support ${e} yet`);throw new Error(`Feature ${e} is not supported yet`)}function Fi(e){throw new Error(`Invalid state: Visitor ${this.constructor.name} doesn't handle ${e.constructor.name}`)}function Bi(e){return Array.isArray(e)?Tt(e.map(Bi)):Nt(e,oe)}function $i(e,t){return Object.getOwnPropertyNames(e).length>0?function(e,t){return Ot(Object.getOwnPropertyNames(e).map(n=>{const r=e[n];let i,s,o,a;return Array.isArray(r)?([s,i]=r,o=n,a=s!==i):([i,s]=Zt(n,[n,r]),o=i,a=s!==i&&n.includes(":")),{key:o,quoted:Pi.test(o),value:t&&a?Tt([Bi(s),Bi(i)]):Bi(s)}}))}(e,t):null}function Vi(e){for(;Rt(e[e.length-1]);)e.pop();return e}function Ui(e,t){if(Array.isArray(e.predicate)){let n=[];return e.predicate.forEach(e=>{const t=e.split(",").map(e=>Nt(e.trim()));n.push(...t)}),t.getConstLiteral(Tt(n),!0)}return e.predicate}class zi{constructor(){this.values=[]}set(e,t){t&&this.values.push({key:e,value:t,quoted:!1})}toLiteralMap(){return Ot(this.values)}}function Hi(e){const t={};return e instanceof vr&&"ng-template"!==e.tagName?e.templateAttrs.forEach(e=>t[e.name]=""):(e.attributes.forEach(e=>{yi(e.name)||(t[e.name]=e.value)}),e.inputs.forEach(e=>{t[e.name]=""}),e.outputs.forEach(e=>{t[e.name]=""})),t}function qi(e,t,n){let r=Et(e,null,n);if(t.length>0)for(let i=0;i<t.length;i++)r=r.callFn(t[i],n);else r=r.callFn([],n);return r}function Gi(e){const{expressions:t,strings:n}=e;return 1===t.length&&2===n.length&&""===n[0]&&""===n[1]?1:t.length+n.length}var Wi,Qi,Ki;function Xi(e){const t=St("t"),n=[];let r=ue;const i=Zi(e)?t:new Qe(de.Or,t,e.internalType);let s=null;if(null!==e.deps)"invalid"!==e.deps&&(s=new Ie(i,Yi(e.deps,e.injectFn,e.target===Qi.Pipe)),r=function(e){let t=!1;const n=e.map(e=>{const n=function(e){const t=[];e.resolved===Ki.Attribute&&null!==e.attribute&&t.push({key:"attribute",value:e.attribute,quoted:!1});e.optional&&t.push({key:"optional",value:Nt(!0),quoted:!1});e.host&&t.push({key:"host",value:Nt(!0),quoted:!1});e.self&&t.push({key:"self",value:Nt(!0),quoted:!1});e.skipSelf&&t.push({key:"skipSelf",value:Nt(!0),quoted:!1});return t.length>0?Ot(t):null}(e);return null!==n?(t=!0,n):Nt(null)});return t?kt(Tt(n)):ue}(e.deps));else{const t=St(`\u0275${e.name}_BaseFactory`),r=Et(Hn.getInheritedFactory),o=t.set(r.callFn([e.internalType],void 0,!0)).toDeclStmt(oe,[rt.Exported,rt.Final]);n.push(o),s=t.callFn([i])}const o=s,a=[];let l=null;function c(e){const n=St("r");a.push(n.set(tt).toDeclStmt());let r=null;return r=null!==o?n.set(o).toStmt():Et(Hn.invalidFactory).callFn([]).toStmt(),a.push(Pt(t,[r],[n.set(e).toStmt()])),n}if(Zi(e)){const t=Yi(e.delegateDeps,e.injectFn,e.target===Qi.Pipe);l=c(new(e.delegateType===Wi.Class?Ie:Ae)(e.delegate,t))}else l=function(e){return void 0!==e.expression}(e)?c(e.expression):s;return null!==l?a.push(new ut(l)):a.push(Et(Hn.invalidFactory).callFn([]).toStmt()),{factory:Dt([new qe("t",se)],a,oe,void 0,`${e.name}_Factory`),statements:n,type:kt(Et(Hn.FactoryDef,[sr(e.type.type,e.typeArgumentCount),r]))}}
1function Yi(e,t,n){return e.map((e,r)=>function(e,t,n,r){switch(e.resolved){case Ki.Token:case Ki.ChangeDetectorRef:const i=0|(e.self?2:0)|(e.skipSelf?4:0)|(e.host?1:0)|(e.optional?8:0);let s=0!==i||e.optional?Nt(i):null;if(n&&e.resolved===Ki.ChangeDetectorRef)return Et(Hn.injectPipeChangeDetectorRef).callFn(s?[s]:[]);const o=[e.token];return s&&o.push(s),Et(t).callFn(o);case Ki.Attribute:return Et(Hn.injectAttribute).callFn([e.token]);case Ki.Invalid:return Et(Hn.invalidFactoryDep).callFn([Nt(r)]);default:return ji(`Unknown R3ResolvedDependencyType: ${Ki[e.resolved]}`)}}(e,t,n,r))}function Zi(e){return void 0!==e.delegateType}function Ji(e,t){return{statements:[],factory:e.node===t.node?t.prop("\u0275fac"):Dt([new qe("t",se)],[new ut(t.callMethod("\u0275fac",[St("t")]))])}}function es(e,t){if(null!=t){if(!Array.isArray(t))throw new Error(`Expected '${e}' to be an array of strings.`);for(let n=0;n<t.length;n+=1)if("string"!=typeof t[n])throw new Error(`Expected '${e}' to be an array of strings.`)}}!function(e){e[e.Class=0]="Class",e[e.Function=1]="Function"}(Wi||(Wi={})),function(e){e[e.Directive=0]="Directive",e[e.Component=1]="Component",e[e.Injectable=2]="Injectable",e[e.Pipe=3]="Pipe",e[e.NgModule=4]="NgModule"}(Qi||(Qi={})),function(e){e[e.Token=0]="Token",e[e.Attribute=1]="Attribute",e[e.ChangeDetectorRef=2]="ChangeDetectorRef",e[e.Invalid=3]="Invalid"}(Ki||(Ki={}));const ts=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function ns(e,t){if(!(null==t||Array.isArray(t)&&2==t.length))throw new Error(`Expected '${e}' to be an array, [start, end].`);if(null!=t){const e=t[0],n=t[1];ts.forEach(t=>{if(t.test(e)||t.test(n))throw new Error(`['${e}', '${n}'] contains unusable interpolation symbol.`)})}}class rs{constructor(e,t){this.start=e,this.end=t}static fromArray(e){return e?(ns("interpolation",e),new rs(e[0],e[1])):is}}const is=new rs("{{","}}
1"),ss='(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';class os extends tr{constructor(){super(!1)}visitDeclareClassStmt(e,t){return t.pushClass(e),this._visitClassConstructor(e,t),null!=e.parent&&(t.print(e,`${e.name}.prototype = Object.create(`),e.parent.visitExpression(this,t),t.println(e,".prototype);")),e.getters.forEach(n=>this._visitClassGetter(e,n,t)),e.methods.forEach(n=>this._visitClassMethod(e,n,t)),t.popClass(),null}_visitClassConstructor(e,t){t.print(e,`function ${e.name}(`),null!=e.constructorMethod&&this._visitParams(e.constructorMethod.params,t),t.println(e,") {"),t.incIndent(),null!=e.constructorMethod&&e.constructorMethod.body.length>0&&(t.println(e,"var self = this;"),this.visitAllStatements(e.constructorMethod.body,t)),t.decIndent(),t.println(e,"}")}_visitClassGetter(e,t,n){n.println(e,`Object.defineProperty(${e.name}.prototype, '${t.name}', { get: function() {`),n.incIndent(),t.body.length>0&&(n.println(e,"var self = this;"),this.visitAllStatements(t.body,n)),n.decIndent(),n.println(e,"}});")}_visitClassMethod(e,t,n){n.print(e,`${e.name}.prototype.${t.name} = function(`),this._visitParams(t.params,n),n.println(e,") {"),n.incIndent(),t.body.length>0&&(n.println(e,"var self = this;"),this.visitAllStatements(t.body,n)),n.decIndent(),n.println(e,"};")}visitWrappedNodeExpr(e,t){throw new Error("Cannot emit a WrappedNodeExpr in Javascript.")}visitReadVarExpr(e,t){if(e.builtin===pe.This)t.print(e,"self");else{if(e.builtin===pe.Super)throw new Error("'super' needs to be handled at a parent ast node, not at the variable level!");super.visitReadVarExpr(e,t)}return null}visitDeclareVarStmt(e,t){return t.print(e,`var ${e.name}`),e.value&&(t.print(e," = "),e.value.visitExpression(this,t)),t.println(e,";"),null}visitCastExpr(e,t){return e.value.visitExpression(this,t),null}visitInvokeFunctionExpr(e,t){const n=e.fn;return n instanceof be&&n.builtin===pe.Super?(t.currentClass.parent.visitExpression(this,t),t.print(e,".call(this"),e.args.length>0&&(t.print(e,", "),this.visitAllExpressions(e.args,t,",")),t.print(e,")")):super.visitInvokeFunctionExpr(e,t),null}visitTaggedTemplateExpr(e,t){const n=e.template.elements;return e.tag.visitExpression(this,t),t.print(e,`(${ss}(`),t.print(e,`[${n.map(e=>nr(e.text,!1)).join(", ")}], `),t.print(e,`[${n.map(e=>nr(e.rawText,!1)).join(", ")}])`),e.template.expressions.forEach(n=>{t.print(e,", "),n.visitExpression(this,t)}),t.print(e,")"),null}visitFunctionExpr(e,t){return t.print(e,`function${e.name?" "+e.name:""}(`),this._visitParams(e.params,t),t.println(e,") {"),t.incIndent(),this.visitAllStatements(e.statements,t),t.decIndent(),t.print(e,"}"),null}visitDeclareFunctionStmt(e,t){return t.print(e,`function ${e.name}(`),this._visitParams(e.params,t),t.println(e,") {"),t.incIndent(),this.visitAllStatements(e.statements,t),t.decIndent(),t.println(e,"}"),null}visitTryCatchStmt(e,t){t.println(e,"try {"),t.incIndent(),this.visitAllStatements(e.bodyStmts,t),t.decIndent(),t.println(e,`} catch (${Yn.name}) {`),t.incIndent();const n=[Zn.set(Yn.prop("stack")).toDeclStmt(null,[rt.Final])].concat(e.catchStmts);return this.visitAllStatements(n,t),t.decIndent(),t.println(e,"}"),null}visitLocalizedString(e,t){t.print(e,`$localize(${ss}(`);const n=[e.serializeI18nHead()];for(let r=1;r<e.messageParts.length;r++)n.push(e.serializeI18nTemplatePart(r));return t.print(e,`[${n.map(e=>nr(e.cooked,!1)).join(", ")}], `),t.print(e,`[${n.map(e=>nr(e.raw,!1)).join(", ")}])`),e.expressions.forEach(n=>{t.print(e,", "),n.visitExpression(this,t)}),t.print(e,")"),null}_visitParams(e,t){this.visitAllObjects(e=>t.print(null,e.name),e,t,",")}getBuiltinMethodName(e){let t;switch(e){case fe.ConcatArray:t="concat";break;case fe.SubscribeObservable:t="subscribe";break;case fe.Bind:t="bind";break;default:throw new Error(`Unknown builtin method: ${e}`)}return t}}let as;function ls(e){var t;return(null===(t=function(){if(void 0===as&&(as=null,bn.trustedTypes))try{as=bn.trustedTypes.createPolicy("angular#unsafe-jit",{createScript:e=>e})}catch(t){}return as}())||void 0===t?void 0:t.createScript(e))||e}function cs(...e){if(!bn.trustedTypes)return new Function(...e);const t=`(function anonymous(${e.slice(0,-1).join(",")}\n) { ${e[e.length-1]}\n})`,n=bn.eval(ls(t));return void 0===n.bind?new Function(...e):(n.toString=()=>t,n.bind(bn))}class us{evaluateStatements(e,t,n,r){const i=new hs(n),s=er.createRoot();return t.length>
10&&!t[0].isEquivalent(Nt("use strict").toStmt())&&(t=[Nt("use strict").toStmt(),...t]),i.visitAllStatements(t,s),i.createReturnStmt(s),this.evaluateCode(e,s,i.getArgs(),r)}evaluateCode(e,t,n,r){let i=`"use strict";${t.toSource()}\n//# sourceURL=${e}`;const s=[],o=[];for(const l in n)o.push(n[l]),s.push(l);if(r){const n=cs(...s.concat("return null;")).toString(),r=n.slice(0,n.indexOf("return null;")).split("\n").length-1;i+=`\n${t.toSourceMapGenerator(e,r).toJsComment()}`}const a=cs(...s.concat(i));return this.executeFunction(a,o)}executeFunction(e,t){return e(...t)}}class hs extends os{constructor(e){super(),this.reflector=e,this._evalArgNames=[],this._evalArgValues=[],this._evalExportedVars=[]}createReturnStmt(e){new ut(new Je(this._evalExportedVars.map(e=>new Ze(e,St(e),!1)))).visitStatement(this,e)}getArgs(){const e={};for(let t=0;t<this._evalArgNames.length;t++)e[this._evalArgNames[t]]=this._evalArgValues[t];return e}visitExternalExpr(e,t){return this._emitReferenceToExternal(e,this.reflector.resolveExternalReference(e.value),t),null}visitWrappedNodeExpr(e,t){return this._emitReferenceToExternal(e,e.node,t),null}visitDeclareVarStmt(e,t){return e.hasModifier(rt.Exported)&&this._evalExportedVars.push(e.name),super.visitDeclareVarStmt(e,t)}visitDeclareFunctionStmt(e,t){return e.hasModifier(rt.Exported)&&this._evalExportedVars.push(e.name),super.visitDeclareFunctionStmt(e,t)}visitDeclareClassStmt(e,t){return e.hasModifier(rt.Exported)&&this._evalExportedVars.push(e.name),super.visitDeclareClassStmt(e,t)}_emitReferenceToExternal(e,t,n){let r=this._evalArgValues.indexOf(t);if(-1===r){r=this._evalArgValues.length,this._evalArgValues.push(t);const e=Sn({reference:t})||"val";this._evalArgNames.push(`jit_${e}_${r}`)}n.print(e,this._evalArgNames[r])}}const ds=10,ps=41,fs=44,ms=47,gs=58,vs=59,ys=60,bs=61,ws=62,_s=97,xs=122,Cs=123,Ss=125;function Es(e){return e>=9&&e<=32||160==e}function As(e){return 48<=e&&e<=57}function ks(e){return e>=_s&&e<=xs||e>=65&&e<=90}function Is(e){return e===ds||13===e}function Ts(e){return 48<=e&&e<=55}class Os{constructor(e,t,n,r){this.file=e,this.offset=t,this.line=n,this.col=r}toString(){return null!=this.offset?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){const t=this.file.content,n=t.length;let r=this.offset,i=this.line,s=this.col;for(;r>0&&e<0;){r--,e++;if(t.charCodeAt(r)==ds){i--;const e=t.substr(0,r-1).lastIndexOf(String.fromCharCode(ds));s=e>0?r-e:r}else s--}for(;r<n&&e>0;){const n=t.charCodeAt(r);r++,e--,n==ds?(i++,s=0):s++}return new Os(this.file,r,i,s)}getContext(e,t){const n=this.file.content;let r=this.offset;if(null!=r){r>n.length-1&&(r=n.length-1);let i=r,s=0,o=0;for(;s<e&&r>0&&(r--,s++,"\n"!=n[r]||++o!=t););for(s=0,o=0;s<e&&i<n.length-1&&(i++,s++,"\n"!=n[i]||++o!=t););return{before:n.substring(r,this.offset),after:n.substring(this.offset,i+1)}}return null}}class Ds{constructor(e,t){this.content=e,this.url=t}}class Ps{constructor(e,t,n=e,r=null){this.start=e,this.end=t,this.fullStart=n,this.details=r}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}}var Ms,Ns,Rs,Ls;!function(e){e[e.WARNING=0]="WARNING",e[e.ERROR=1]="ERROR"}(Ms||(Ms={}));class js{constructor(e,t,n=Ms.ERROR){this.span=e,this.msg=t,this.level=n}contextualMessage(){const e=this.span.start.getContext(100,3);return e?`${this.msg} ("${e.before}[${Ms[this.level]} ->]${e.after}")`:this.msg}toString(){const e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}}class Fs{constructor(e){this.context=e}resolveExternalReference(e){if("@angular/core"!==e.moduleName)throw new Error(`Cannot resolve external reference to ${e.moduleName}, only references to @angular/core are supported.`);if(!this.context.hasOwnProperty(e.name))throw new Error(`No value provided for @angular/core symbol '${e.name}'.`);return this.context[e.name]}parameters(e){throw new Error("Not implemented.")}annotations(e){throw new Error("Not implemented.")}shallowAnnotations(e){throw new Error("Not implemented.")}tryAnnotations(e){throw new Error("Not implemented.")}propMetadata(e){throw new Error("Not implemented.")}hasLifecycleHook(e,t){throw new Error("Not implemented.")}guards(e){throw new Error("Not implemented.")}componentModuleUrl(e,t){throw new Error("Not implemented.")}}function Bs(e){const{internalType:t,type:n,bootstrap:r,declarations:i,imports:s,exports:o,schemas:a,containsForwardDecls:l,emitInline:c,id:u}=e,h=[],d={type:t};if(r.length&&(d.bootstrap=Vs(r,l)),c)i.length&&(d.declarations=Vs(i,l)),s.length&&(d.imports=Vs(s,l)),o.length&&(d.exports=Vs(o,l));else{const t=function(e){const{adjacentType:t,declarations:n,imports:r,exports:i,containsForwardDecls:s}=e,o={};n.length&&(o.declarations=Vs(n,s));r.length&&(o.imports=Vs(r,s));i.length&&(o.exports=Vs(i,s));if(0===Object.keys(o).length)return null;const a=(c=new Ae(Et(Hn.setNgModuleScope),[t,ir(o)]),cr("ngJitMode",c)),l=new Ge([],[a.toStmt()]);var c;return new Ae(l,[]).toStmt()}(e);null!==t&&h.push(t)}a&&a.length&&(d.schemas=Tt(a.map(e=>e.value))),u&&(d.id=u);return{expression:Et(Hn.defineNgModule).callFn([ir(d)]),type:new ne(Et(Hn.NgModuleDefWithMeta,[new ne(n.type),$s(i),$s(s),$s(o)])),additionalStatements:h}}function $s(e){const t=e.map(e=>It(e.type));return e.length>0?kt(Tt(t)):ue}function Vs(e,t){const n=Tt(e.map(e=>e.value));return t?Dt([],[new ut(n)]):n}function Us(e){const t=[];t.push({key:"name",value:Nt(e.pipeName),quoted:!1}),t.push({key:"type",value:e.type.value,quoted:!1}),t.push({key:"pure",value:Nt(e.pure),quoted:!1});return{expression:Et(Hn.definePipe).callFn([Ot(t)]),type:zs(e)}}function zs(e){return new ne(Et(Hn.PipeDefWithMeta,[sr(e.type.type,e.typeArgumentCount),new ne(new Te(e.pipeName))]))}class Hs{constructor(e,t,n,r){this.input=t,this.errLocation=n,this.ctxLocation=r,this.message=`Parser Error: ${e} ${n} [${t}] in ${r}`}}class qs{constructor(e,t){this.start=e,this.end=t}toAbsolute(e){return new yo(e+this.start,e+this.end)}}class Gs{constructor(e,t){this.span=e,this.sourceSpan=t}visit(e,t=null){return null}toString(){return"AST"}}class Ws extends Gs{constructor(e,t,n){super(e,t),this.nameSpan=n}}class Qs extends Gs{constructor(e,t,n,r,i){super(e,t),this.prefix=n,this.uninterpretedExpression=r,this.location=i}visit(e,t=null){return e.visitQuote(this,t)}toString(){return"Quote"}}class Ks extends Gs{visit(e,t=null){}}class Xs extends Gs{visit(e,t=null){return e.visitImplicitReceiver(this,t)}}class Ys extends Xs{visit(e,t=null){var n;return null===(n=e.visitThisReceiver)||void 0===n?void 0:n.call(e,this,t)}}class Zs extends Gs{constructor(e,t,n){super(e,t),this.expressions=n}visit(e,t=null){return e.visitChain(this,t)}}class Js extends Gs{constructor(e,t,n,r,i){super(e,t),this.condition=n,this.trueExp=r,this.falseExp=i}visit(e,t=null){return e.visitConditional(this,t)}}class eo extends Ws{constructor(e,t,n,r,i){super(e,t,n),this.receiver=r,this.name=i}visit(e,t=null){return e.visitPropertyRead(this,t)}}class to extends Ws{constructor(e,t,n,r,i,s){super(e,t,n),this.receiver=r,this.name=i,this.value=s}visit(e,t=null){return e.visitPropertyWrite(this,t)}}class no extends Ws{constructor(e,t,n,r,i){super(e,t,n),this.receiver=r,this.name=i}visit(e,t=null){return e.visitSafePropertyRead(this,t)}}class ro extends Gs{constructor(e,t,n,r){super(e,t),this.obj=n,this.key=r}visit(e,t=null){return e.visitKeyedRead(this,t)}}class io extends Gs{constructor(e,t,n,r,i){super(e,t),this.obj=n,this.key=r,this.value=i}visit(e,t=null){return e.visitKeyedWrite(this,t)}}class so extends Ws{constructor(e,t,n,r,i,s){super(e,t,s),this.exp=n,this.name=r,this.args=i}visit(e,t=null){return e.visitPipe(this,t)}}class oo extends Gs{constructor(e,t,n){super(e,t),this.value=n}visit(e,t=null){return e.visitLiteralPrimitive(this,t)}}class ao extends Gs{constructor(e,t,n){super(e,t),this.expressions=n}visit(e,t=null){return e.visitLiteralArray(this,t)}}class lo extends Gs{constructor(e,t,n,r){super(e,t),this.keys=n,this.values=r}visit(e,t=null){return e.visitLiteralMap(this,t)}}class co extends Gs{constructor(e,t,n,r){super(e,t),this.strings=n,this.expressions=r}visit(e,t=null){return e.visitInterpolation(this,t)}}class uo extends Gs{constructor(e,t,n,r,i){super(e,t),this.operation=n,this.left=r,this.right=i}visit(e,t=null){return e.visitBinary(this,t)}}class ho extends uo{constructor(e,t,n,r,i,s,o){super(e,t,i,s,o),this.operator=n,this.expr=r}static createMinus(e,t,n){return new ho(e,t,"-",n,"-",new oo(e,t,0),n)}
1static createPlus(e,t,n){return new ho(e,t,"+",n,"-",n,new oo(e,t,0))}visit(e,t=null){return void 0!==e.visitUnary?e.visitUnary(this,t):e.visitBinary(this,t)}}class po extends Gs{constructor(e,t,n){super(e,t),this.expression=n}visit(e,t=null){return e.visitPrefixNot(this,t)}}class fo extends Gs{constructor(e,t,n){super(e,t),this.expression=n}visit(e,t=null){return e.visitNonNullAssert(this,t)}}class mo extends Ws{constructor(e,t,n,r,i,s){super(e,t,n),this.receiver=r,this.name=i,this.args=s}visit(e,t=null){return e.visitMethodCall(this,t)}}class go extends Ws{constructor(e,t,n,r,i,s){super(e,t,n),this.receiver=r,this.name=i,this.args=s}visit(e,t=null){return e.visitSafeMethodCall(this,t)}}class vo extends Gs{constructor(e,t,n,r){super(e,t),this.target=n,this.args=r}visit(e,t=null){return e.visitFunctionCall(this,t)}}class yo{constructor(e,t){this.start=e,this.end=t}}class bo extends Gs{constructor(e,t,n,r,i){super(new qs(0,null===t?0:t.length),new yo(r,null===t?r:r+t.length)),this.ast=e,this.source=t,this.location=n,this.errors=i}visit(e,t=null){return e.visitASTWithSource?e.visitASTWithSource(this,t):this.ast.visit(e,t)}toString(){return`${this.source} in ${this.location}`}}class wo{constructor(e,t,n){this.sourceSpan=e,this.key=t,this.value=n}}class _o{constructor(e,t,n){this.sourceSpan=e,this.key=t,this.value=n}}class xo{visit(e,t){e.visit(this,t)}visitUnary(e,t){this.visit(e.expr,t)}visitBinary(e,t){this.visit(e.left,t),this.visit(e.right,t)}visitChain(e,t){this.visitAll(e.expressions,t)}visitConditional(e,t){this.visit(e.condition,t),this.visit(e.trueExp,t),this.visit(e.falseExp,t)}visitPipe(e,t){this.visit(e.exp,t),this.visitAll(e.args,t)}visitFunctionCall(e,t){e.target&&this.visit(e.target,t),this.visitAll(e.args,t)}visitImplicitReceiver(e,t){}visitThisReceiver(e,t){}visitInterpolation(e,t){this.visitAll(e.expressions,t)}visitKeyedRead(e,t){this.visit(e.obj,t),this.visit(e.key,t)}visitKeyedWrite(e,t){this.visit(e.obj,t),this.visit(e.key,t),this.visit(e.value,t)}visitLiteralArray(e,t){this.visitAll(e.expressions,t)}visitLiteralMap(e,t){this.visitAll(e.values,t)}visitLiteralPrimitive(e,t){}visitMethodCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitPrefixNot(e,t){this.visit(e.expression,t)}visitNonNullAssert(e,t){this.visit(e.expression,t)}visitPropertyRead(e,t){this.visit(e.receiver,t)}visitPropertyWrite(e,t){this.visit(e.receiver,t),this.visit(e.value,t)}visitSafePropertyRead(e,t){this.visit(e.receiver,t)}visitSafeMethodCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitQuote(e,t){}visitAll(e,t){for(const n of e)this.visit(n,t)}}class Co{constructor(e,t,n,r,i,s){this.name=e,this.expression=t,this.type=n,this.sourceSpan=r,this.keySpan=i,this.valueSpan=s,this.isLiteral=this.type===Ns.LITERAL_ATTR,this.isAnimation=this.type===Ns.ANIMATION}}!function(e){e[e.DEFAULT=0]="DEFAULT",e[e.LITERAL_ATTR=1]="LITERAL_ATTR",e[e.ANIMATION=2]="ANIMATION"}(Ns||(Ns={}));class So{constructor(e,t,n,r,i,s,o){this.name=e,this.targetOrPhase=t,this.type=n,this.handler=r,this.sourceSpan=i,this.handlerSpan=s,this.keySpan=o}}class Eo{constructor(e,t,n,r,i){this.name=e,this.value=t,this.sourceSpan=n,this.keySpan=r,this.valueSpan=i}}class Ao{constructor(e,t,n,r,i,s,o,a){this.name=e,this.type=t,this.securityContext=n,this.value=r,this.unit=i,this.sourceSpan=s,this.keySpan=o,this.valueSpan=a}}class ko{}ko.event=St("$event");class Io{constructor(e,t){this.stmts=e,this.allowDefault=t,this.render3Stmts=e.map(e=>{if(e instanceof at&&e.name==t.name&&e.value instanceof Qe){const t=e.value.lhs;return new ut(t.value)}return e})}}function To(e,t,n,r,i,s,o,a){e||(e=new Vo(a));const l=Oo({createLiteralArrayConverter:e=>e=>Tt(e),createLiteralMapConverter:e=>t=>Ot(e.map((e,n)=>({key:e.key,value:t[n],quoted:e.quoted}))),createPipeConverter:e=>{throw new Error(`Illegal State: Actions are not allowed to contain pipes. Pipe: ${e}`)}},n),c=new Bo(e,t,r,i,s,o),u=[];$o(l.visit(c,Ls.Statement),u),function(e,t,n){for(let r=e-1;r>=0;r--)n.unshift(Ro(t,r))}(c.temporaryCount,r,u),c.usesImplicitReceiver&&e.notifyImplicitReceiverUse();const h=u.length-1;let d=null;if(h>=0){const e=function(e){if(e instanceof ct)return e.expr;if(e instanceof ut)return e.value;return null}(u[h]);e&&(d=function(e){return St(`pd_${e}`)}(r),u[h]=d.set(e.cast(se).notIdentical(Nt(!1))).toDeclStmt(null,[rt.Final]))}return new Io(u,d)}function Oo(e,t){return function(e,t){const n=new Fo(e);return t.visit(n)}(e,t)}class Do{constructor(e,t){this.stmts=e,this.currValExpr=t}}function Po(e,t,n,r,i,s){e||(e=new Vo);const o=new Bo(e,t,r,s),a=n.visit(o,Ls.Expression),l=Mo(o,r);if(o.usesImplicitReceiver&&e.notifyImplicitReceiverUse(),0===o.temporaryCount&&i==Rs.TrySimple)return new Do([],a);if(i===Rs.Expression)return new Do(l,a);const c=function(e){return St(`currVal_${e}`)}(r);return l.push(c.set(a).toDeclStmt(se,[rt.Final])),new Do(l,c)}function Mo(e,t){const n=[];for(let r=0;r<e.temporaryCount;r++)n.push(Ro(t,r));return n}function No(e,t){return`tmp_${e}_${t}`}function Ro(e,t){return new at(No(e,t),tt)}function Lo(e,t){if(e!==Ls.Expression)throw new Error(`Expected an expression, but saw ${t}`)}function jo(e,t){return e===Ls.Statement?t.toStmt():t}!function(e){e[e.General=0]="General",e[e.TrySimple=1]="TrySimple",e[e.Expression=2]="Expression"}(Rs||(Rs={})),function(e){e[e.Statement=0]="Statement",e[e.Expression=1]="Expression"}(Ls||(Ls={}));class Fo extends class{visitImplicitReceiver(e,t){return e}visitThisReceiver(e,t){return e}visitInterpolation(e,t){return new co(e.span,e.sourceSpan,e.strings,this.visitAll(e.expressions))}visitLiteralPrimitive(e,t){return new oo(e.span,e.sourceSpan,e.value)}visitPropertyRead(e,t){return new eo(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name)}visitPropertyWrite(e,t){return new to(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name,e.value.visit(this))}visitSafePropertyRead(e,t){return new no(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name)}visitMethodCall(e,t){return new mo(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name,this.visitAll(e.args))}visitSafeMethodCall(e,t){return new go(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name,this.visitAll(e.args))}visitFunctionCall(e,t){return new vo(e.span,e.sourceSpan,e.target.visit(this),this.visitAll(e.args))}visitLiteralArray(e,t){return new ao(e.span,e.sourceSpan,this.visitAll(e.expressions))}visitLiteralMap(e,t){return new lo(e.span,e.sourceSpan,e.keys,this.visitAll(e.values))}visitUnary(e,t){switch(e.operator){case"+":return ho.createPlus(e.span,e.sourceSpan,e.expr.visit(this));case"-":return ho.createMinus(e.span,e.sourceSpan,e.expr.visit(this));default:throw new Error(`Unknown unary operator ${e.operator}`)}}visitBinary(e,t){return new uo(e.span,e.sourceSpan,e.operation,e.left.visit(this),e.right.visit(this))}visitPrefixNot(e,t){return new po(e.span,e.sourceSpan,e.expression.visit(this))}visitNonNullAssert(e,t){return new fo(e.span,e.sourceSpan,e.expression.visit(this))}visitConditional(e,t){return new Js(e.span,e.sourceSpan,e.condition.visit(this),e.trueExp.visit(this),e.falseExp.visit(this))}visitPipe(e,t){return new so(e.span,e.sourceSpan,e.exp.visit(this),e.name,this.visitAll(e.args),e.nameSpan)}visitKeyedRead(e,t){return new ro(e.span,e.sourceSpan,e.obj.visit(this),e.key.visit(this))}visitKeyedWrite(e,t){return new io(e.span,e.sourceSpan,e.obj.visit(this),e.key.visit(this),e.value.visit(this))}visitAll(e){const t=[];for(let n=0;n<e.length;++n)t[n]=e[n].visit(this);return t}visitChain(e,t){return new Zs(e.span,e.sourceSpan,this.visitAll(e.expressions))}visitQuote(e,t){return new Qs(e.span,e.sourceSpan,e.prefix,e.uninterpretedExpression,e.location)}}{constructor(e){super(),this._converterFactory=e}visitPipe(e,t){const n=[e.exp,...e.args].map(e=>e.visit(this,t));return new Uo(e.span,e.sourceSpan,n,this._converterFactory.createPipeConverter(e.name,n.length))}visitLiteralArray(e,t){const n=e.expressions.map(e=>e.visit(this,t));return new Uo(e.span,e.sourceSpan,n,this._converterFactory.createLiteralArrayConverter(e.expressions.length))}visitLiteralMap(e,t){const n=e.values.map(e=>e.visit(this,t));return new Uo(e.span,e.sourceSpan,n,this._converterFactory.createLiteralMapConverter(e.keys))}}class Bo{constructor(e,t,n,r,i,s){this._localResolver=e,this._implicitReceiver=t,this.bindingId=n,this.interpolationFunction=r,this.baseSourceSpan=i,this.impl
1icitReceiverAccesses=s,this._nodeMap=new Map,this._resultMap=new Map,this._currentTemporary=0,this.temporaryCount=0,this.usesImplicitReceiver=!1}visitUnary(e,t){let n;switch(e.operator){case"+":n=he.Plus;break;case"-":n=he.Minus;break;default:throw new Error(`Unsupported operator ${e.operator}`)}return jo(t,new We(n,this._visit(e.expr,Ls.Expression),void 0,this.convertSourceSpan(e.span)))}visitBinary(e,t){let n;switch(e.operation){case"+":n=de.Plus;break;case"-":n=de.Minus;break;case"*":n=de.Multiply;break;case"/":n=de.Divide;break;case"%":n=de.Modulo;break;case"&&":n=de.And;break;case"||":n=de.Or;break;case"==":n=de.Equals;break;case"!=":n=de.NotEquals;break;case"===":n=de.Identical;break;case"!==":n=de.NotIdentical;break;case"<":n=de.Lower;break;case">":n=de.Bigger;break;case"<=":n=de.LowerEquals;break;case">=":n=de.BiggerEquals;break;default:throw new Error(`Unsupported operation ${e.operation}`)}return jo(t,new Qe(n,this._visit(e.left,Ls.Expression),this._visit(e.right,Ls.Expression),void 0,this.convertSourceSpan(e.span)))}visitChain(e,t){return function(e,t){if(e!==Ls.Statement)throw new Error(`Expected a statement, but saw ${t}`)}(t,e),this.visitAll(e.expressions,t)}visitConditional(e,t){return jo(t,this._visit(e.condition,Ls.Expression).conditional(this._visit(e.trueExp,Ls.Expression),this._visit(e.falseExp,Ls.Expression),this.convertSourceSpan(e.span)))}visitPipe(e,t){throw new Error(`Illegal state: Pipes should have been converted into functions. Pipe: ${e.name}`)}visitFunctionCall(e,t){const n=this.visitAll(e.args,Ls.Expression);let r;return r=e instanceof Uo?e.converter(n):this._visit(e.target,Ls.Expression).callFn(n,this.convertSourceSpan(e.span)),jo(t,r)}visitImplicitReceiver(e,t){return Lo(t,e),this.usesImplicitReceiver=!0,this._implicitReceiver}visitThisReceiver(e,t){return this.visitImplicitReceiver(e,t)}visitInterpolation(e,t){Lo(t,e);const n=[Nt(e.expressions.length)];for(let r=0;r<e.strings.length-1;r++)n.push(Nt(e.strings[r])),n.push(this._visit(e.expressions[r],Ls.Expression));return n.push(Nt(e.strings[e.strings.length-1])),this.interpolationFunction?this.interpolationFunction(n):e.expressions.length<=9?Et(Gt.inlineInterpolate).callFn(n):Et(Gt.interpolate).callFn([n[0],Tt(n.slice(1),void 0,this.convertSourceSpan(e.span))])}visitKeyedRead(e,t){const n=this.leftMostSafeNode(e);return n?this.convertSafeAccess(e,n,t):jo(t,this._visit(e.obj,Ls.Expression).key(this._visit(e.key,Ls.Expression)))}visitKeyedWrite(e,t){const n=this._visit(e.obj,Ls.Expression),r=this._visit(e.key,Ls.Expression),i=this._visit(e.value,Ls.Expression);return jo(t,n.key(r).set(i))}visitLiteralArray(e,t){throw new Error("Illegal State: literal arrays should have been converted into functions")}visitLiteralMap(e,t){throw new Error("Illegal State: literal maps should have been converted into functions")}visitLiteralPrimitive(e,t){const n=null===e.value||void 0===e.value||!0===e.value||!0===e.value?oe:void 0;return jo(t,Nt(e.value,n,this.convertSourceSpan(e.span)))}_getLocal(e,t){var n;return(null===(n=this._localResolver.globals)||void 0===n?void 0:n.has(e))&&t instanceof Ys?null:this._localResolver.getLocal(e)}visitMethodCall(e,t){if(e.receiver instanceof Xs&&!(e.receiver instanceof Ys)&&"$any"===e.name){const t=this.visitAll(e.args,Ls.Expression);if(1!=t.length)throw new Error(`Invalid call to $any, expected 1 argument but received ${t.length||"none"}`);return t[0].cast(se,this.convertSourceSpan(e.span))}const n=this.leftMostSafeNode(e);if(n)return this.convertSafeAccess(e,n,t);{const n=this.visitAll(e.args,Ls.Expression),r=this.usesImplicitReceiver;let i=null;const s=this._visit(e.receiver,Ls.Expression);if(s===this._implicitReceiver){const t=this._getLocal(e.name,e.receiver);t&&(this.usesImplicitReceiver=r,i=t.callFn(n),this.addImplicitReceiverAccess(e.name))}return null==i&&(i=s.callMethod(e.name,n,this.convertSourceSpan(e.span))),jo(t,i)}}visitPrefixNot(e,t){return jo(t,(n=this._visit(e.expression,Ls.Expression),new Ue(n,r)));var n,r}visitNonNullAssert(e,t){return jo(t,(n=this._visit(e.expression,Ls.Expression),new ze(n,r)));var n,r}visitPropertyRead(e,t){const n=this.leftMostSafeNode(e);if(n)return this.convertSafeAccess(e,n,t);{let n=null;const r=this.usesImplicitReceiver,i=this._visit(e.receiver,Ls.Expression);return i===this._implicitReceiver&&(n=this._getLocal(e.name,e.receiver),n&&(this.usesImplicitReceiver=r,this.addImplicitReceiverAccess(e.name))),null==n&&(n=i.prop(e.name)),jo(t,n)}}visitPropertyWrite(e,t){const n=this._visit(e.receiver,Ls.Expression),r=this.usesImplicitReceiver;let i=null;if(n===this._implicitReceiver){const t=this._getLocal(e.name,e.receiver);if(t){if(!(t instanceof Ke)){const t=e.name,n=e.value instanceof eo?e.value.name:void 0;throw new Error(`Cannot assign value "${n}" to template variable "${t}". Template variables are read-only.`)}i=t,this.usesImplicitReceiver=r,this.addImplicitReceiverAccess(e.name)}}return null===i&&(i=n.prop(e.name)),jo(t,i.set(this._visit(e.value,Ls.Expression)))}visitSafePropertyRead(e,t){return this.convertSafeAccess(e,this.leftMostSafeNode(e),t)}visitSafeMethodCall(e,t){return this.convertSafeAccess(e,this.leftMostSafeNode(e),t)}visitAll(e,t){return e.map(e=>this._visit(e,t))}visitQuote(e,t){throw new Error(`Quotes are not supported for evaluation!\n        Statement: ${e.uninterpretedExpression} located at ${e.location}`)}_visit(e,t){const n=this._resultMap.get(e);return n||(this._nodeMap.get(e)||e).visit(this,t)}
1convertSafeAccess(e,t,n){let r,i=this._visit(t.receiver,Ls.Expression);this.needsTemporary(t.receiver)&&(r=this.allocateTemporary(),i=r.set(i),this._resultMap.set(t.receiver,r));const s=i.isBlank();t instanceof go?this._nodeMap.set(t,new mo(t.span,t.sourceSpan,t.nameSpan,t.receiver,t.name,t.args)):this._nodeMap.set(t,new eo(t.span,t.sourceSpan,t.nameSpan,t.receiver,t.name));const o=this._visit(e,Ls.Expression);return this._nodeMap.delete(t),r&&this.releaseTemporary(r),jo(n,s.conditional(Nt(null),o))}leftMostSafeNode(e){const t=(e,t)=>(this._nodeMap.get(t)||t).visit(e);return e.visit({visitUnary:e=>null,visitBinary:e=>null,visitChain:e=>null,visitConditional:e=>null,visitFunctionCall:e=>null,visitImplicitReceiver:e=>null,visitThisReceiver:e=>null,visitInterpolation:e=>null,visitKeyedRead(e){return t(this,e.obj)},visitKeyedWrite:e=>null,visitLiteralArray:e=>null,visitLiteralMap:e=>null,visitLiteralPrimitive:e=>null,visitMethodCall(e){return t(this,e.receiver)},visitPipe:e=>null,visitPrefixNot:e=>null,visitNonNullAssert:e=>null,visitPropertyRead(e){return t(this,e.receiver)},visitPropertyWrite:e=>null,visitQuote:e=>null,visitSafeMethodCall(e){return t(this,e.receiver)||e},visitSafePropertyRead(e){return t(this,e.receiver)||e}})}needsTemporary(e){const t=(e,t)=>t&&(this._nodeMap.get(t)||t).visit(e);return e.visit({visitUnary(e){return t(this,e.expr)},visitBinary(e){return t(this,e.left)||t(this,e.right)},visitChain:e=>!1,visitConditional(e){return t(this,e.condition)||t(this,e.trueExp)||t(this,e.falseExp)},visitFunctionCall:e=>!0,visitImplicitReceiver:e=>!1,visitThisReceiver:e=>!1,visitInterpolation(e){return((e,n)=>n.some(n=>t(e,n)))(this,e.expressions)},visitKeyedRead:e=>!1,visitKeyedWrite:e=>!1,visitLiteralArray:e=>!0,visitLiteralMap:e=>!0,visitLiteralPrimitive:e=>!1,visitMethodCall:e=>!0,visitPipe:e=>!0,visitPrefixNot(e){return t(this,e.expression)},visitNonNullAssert(e){return t(this,e.expression)},visitPropertyRead:e=>!1,visitPropertyWrite:e=>!1,visitQuote:e=>!1,visitSafeMethodCall:e=>!0,visitSafePropertyRead:e=>!1})}allocateTemporary(){const e=this._currentTemporary++;return this.temporaryCount=Math.max(this._currentTemporary,this.temporaryCount),new be(No(this.bindingId,e))}releaseTemporary(e){if(this._currentTemporary--,e.name!=No(this.bindingId,this._currentTemporary))throw new Error(`Temporary ${e.name} released out of order`)}convertSourceSpan(e){if(this.baseSourceSpan){const t=this.baseSourceSpan.start.moveBy(e.start),n=this.baseSourceSpan.start.moveBy(e.end),r=this.baseSourceSpan.fullStart.moveBy(e.start);return new Ps(t,n,r)}return null}addImplicitReceiverAccess(e){this.implicitReceiverAccesses&&this.implicitReceiverAccesses.add(e)}}function $o(e,t){Array.isArray(e)?e.forEach(e=>$o(e,t)):t.push(e)}class Vo{constructor(e){this.globals=e}notifyImplicitReceiverUse(){}getLocal(e){return e===ko.event.name?ko.event:null}}class Uo extends vo{constructor(e,t,n,r){super(e,t,null,n),this.args=n,this.converter=r}}class zo{constructor(){this.strictStyling=!0}shimCssText(e,t,n=""){const r=e.match(ca)||[];e=function(e){return e.replace(la,"")}(e),e=this._insertDirectives(e);return[this._scopeCssText(e,t,n),...r].join("\n")}_insertDirectives(e){return e=this._insertPolyfillDirectivesInCssText(e),this._insertPolyfillRulesInCssText(e)}_insertPolyfillDirectivesInCssText(e){return e.replace(qo,function(...e){return e[2]+"{"})}_insertPolyfillRulesInCssText(e){return e.replace(Go,(...e)=>{const t=e[0].replace(e[1],"").replace(e[2],"");return e[4]+t})}_scopeCssText(e,t,n){const r=this._extractUnscopedRulesFromCssText(e);return e=this._insertPolyfillHostInCssText(e),e=this._convertColonHost(e),e=this._convertColonHostContext(e),e=this._convertShadowDOMSelectors(e),t&&(e=this._scopeSelectors(e,t,n)),(e=e+"\n"+r).trim()}_extractUnscopedRulesFromCssText(e){let t,n="";for(Wo.lastIndex=0;null!==(t=Wo.exec(e));){n+=t[0].replace(t[2],"").replace(t[1],t[4])+"\n\n"}return n}_convertColonHost(e){return e.replace(Yo,(e,t,n)=>{if(t){const e=[],r=t.split(",").map(e=>e.trim());for(const t of r){if(!t)break;const r=ea+t.replace(Qo,"")+n;e.push(r)}return e.join(",")}return ea+n})}_convertColonHostContext(e){return e.replace(Zo,e=>{var t;const n=[[]];let r;for(;r=Jo.exec(e);){const i=(null!==(t=r[1])&&void 0!==t?t:"").trim().split(",").map(e=>e.trim()).filter(e=>""!==e),s=n.length;ba(n,i.length);for(let e=0;e<i.length;e++)for(let t=0;t<s;t++)n[t+e*s].push(i[e]);e=r[2]}return n.map(t=>function(e,t){const n=ea;sa.lastIndex=0;const r=sa.test(t);if(0===e.length)return n+t;const i=[e.pop()||""];for(;e.length>0;){const t=i.length,n=e.pop();for(let e=0;e<t;e++){const r=i[e];i[2*t+e]=r+" "+n,i[t+e]=n+" "+r,i[e]=n+r}}return i.map(e=>r?`${e}${t}`:`${e}${n}${t}, ${e} ${n}${t}`).join(",")}(t,e)).join(", ")})}_convertShadowDOMSelectors(e){return na.reduce((e,t)=>
1e.replace(t," "),e)}_scopeSelectors(e,t,n){return ga(e,e=>{let r=e.selector,i=e.content;return"@"!=e.selector[0]?r=this._scopeSelector(e.selector,t,n,this.strictStyling):e.selector.startsWith("@media")||e.selector.startsWith("@supports")||e.selector.startsWith("@page")||e.selector.startsWith("@document")?i=this._scopeSelectors(e.content,t,n):e.selector.startsWith("@font-face")&&(i=this._stripScopingSelectors(e.content,t,n)),new ma(r,i)})}_stripScopingSelectors(e,t,n){return ga(e,e=>{const r=e.selector.replace(ra," ").replace(ta," "),i=this._scopeSelectors(e.content,t,n);return new ma(r,i)})}_scopeSelector(e,t,n,r){return e.split(",").map(e=>e.trim().split(ra)).map(e=>{const[i,...s]=e;return[(e=>this._selectorNeedsScoping(e,t)?r?this._applyStrictSelectorScope(e,t,n):this._applySelectorScope(e,t,n):e)(i),...s].join(" ")}).join(", ")}_selectorNeedsScoping(e,t){return!this._makeScopeMatcher(t).test(e)}_makeScopeMatcher(e){return e=e.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),new RegExp("^("+e+")"+ia,"m")}_applySelectorScope(e,t,n){return this._applySimpleSelectorScope(e,t,n)}_applySimpleSelectorScope(e,t,n){if(sa.lastIndex=0,sa.test(e)){const r=this.strictStyling?`[${n}]`:t;return e.replace(ta,(e,t)=>t.replace(/([^:]*)(:*)(.*)/,(e,t,n,i)=>t+r+n+i)).replace(sa,r+" ")}return t+" "+e}_applyStrictSelectorScope(e,t,n){const r="["+(t=t.replace(/\[is=([^\]]*)\]/g,(e,...t)=>t[0]))+"]",i=e=>{let i=e.trim();if(!i)return"";if(e.indexOf(ea)>-1)i=this._applySimpleSelectorScope(e,t,n);else{const t=e.replace(sa,"");if(t.length>0){const e=t.match(/([^:]*)(:*)(.*)/);e&&(i=e[1]+r+e[2]+e[3])}}return i},s=new Ho(e);let o,a="",l=0;const c=/( |>|\+|~(?!=))\s*/g;let u=!((e=s.content()).indexOf(ea)>-1);for(;null!==(o=c.exec(e));){const t=o[1],n=e.slice(l,o.index).trim();u=u||n.indexOf(ea)>-1;a+=`${u?i(n):n} ${t} `,l=c.lastIndex}const h=e.substring(l);return u=u||h.indexOf(ea)>-1,a+=u?i(h):h,s.restore(a)}_insertPolyfillHostInCssText(e){return e.replace(aa,Ko).replace(oa,Qo)}}class Ho{constructor(e){this.placeholders=[],this.index=0,e=this._escapeRegexMatches(e,/(\[[^\]]*\])/g),e=this._escapeRegexMatches(e,/(\\.)/g),this._content=e.replace(/(:nth-[-\w]+)(\([^)]+\))/g,(e,t,n)=>{const r=`__ph-${this.index}__`;return this.placeholders.push(n),this.index++,t+r})}restore(e){return e.replace(/__ph-(\d+)__/g,(e,t)=>this.placeholders[+t])}content(){return this._content}_escapeRegexMatches(e,t){return e.replace(t,(e,t)=>{const n=`__ph-${this.index}__`;return this.placeholders.push(t),this.index++,n})}}const qo=/polyfill-next-selector[^}]*content:[\s]*?(['"])(.*?)\1[;\s]*}([^{]*?){/gim,Go=/(polyfill-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,Wo=/(polyfill-unscoped-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,Qo="-shadowcsshost",Ko="-shadowcsscontext",Xo="(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",Yo=new RegExp(Qo+Xo,"gim"),Zo=new RegExp(Ko+Xo,"gim"),Jo=new RegExp(Ko+Xo,"im"),ea=Qo+"-no-combinator",ta=/-shadowcsshost-no-combinator([^\s]*)/,na=[/::shadow/g,/::content/g,/\/shadow-deep\//g,/\/shadow\//g],ra=/(?:>>>)|(?:\/deep\/)|(?:::ng-deep)/g,ia="([>\\s~+[.,{:][\\s\\S]*)?$",sa=/-shadowcsshost/gim,oa=/:host/gim,aa=/:host-context/gim,la=/\/\*\s*[\s\S]*?\*\//g;const ca=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g;const ua="%BLOCK%",ha=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,da=/%QUOTED%/g,pa=new Map([["{","}"]]),fa=new Map([['"','"'],["'","'"]]);class ma{constructor(e,t){this.selector=e,this.content=t}}function ga(e,t){const n=ya(e,fa,"%QUOTED%"),r=ya(n.escapedString,pa,ua);let i=0,s=0;return r.escapedString.replace(ha,(...e)=>{const n=e[2];let s="",o=e[4],a="";o&&o.startsWith("{%BLOCK%")&&(s=r.blocks[i++],o=o.substring(ua.length+1),a="{");const l=t(new ma(n,s));return`${e[1]}${l.selector}${e[3]}${a}${l.content}${o}`}).replace(da,()=>n.blocks[s++])}class va{constructor(e,t){this.escapedString=e,this.blocks=t}}function ya(e,t,n){const r=[],i=[];let s,o,a=0,l=0,c=-1;for(let u=0;u<e.length;u++){const h=e[u];"\\"===h?u++:h===o?(a--,0===a&&(i.push(e.substring(c,u)),r.push(n),l=u,c=-1,s=o=void 0)):h===s?a++:0===a&&t.has(h)&&(s=h,o=t.get(h),a=1,c=u+1,r.push(e.substring(l,c)))}return-1!==c?(i.push(e.substring(c)),r.push(n)):r.push(e.substring(l)),new va(r.join(""),i)}function ba(e,t){const n=e.length;for(let r=1;r<t;r++)for(let t=0;t<n;t++)e[t+r*n]=e[t].slice(0)}const wa="_nghost-%COMP%",_a="_ngcontent-%COMP%";class xa{constructor(e,t,n){this.name=e,this.moduleUrl=t,this.setValue=n}}class Ca{constructor(e,t,n,r,i){this.outputCtx=e,this.stylesVar=t,this.dependencies=n,this.isShimmed=r,this.meta=i}}class Sa{constructor(e){this._urlResolver=e,this._shadowCss=new zo}compileComponent(e,t){const n=t.template;return this._compileStyles(e,t,new Pn({styles:n.styles,styleUrls:n.styleUrls,moduleUrl:En(t.type)}),this.needsStyleShim(t),!0)}compileStyles(e,t,n,r=this.needsStyleShim(t)){return this._compileStyles(e,t,n,r,!1)}needsStyleShim(e){return e.template.encapsulation===O.Emulated}_compileStyles(e,t,n,r,i){const s=n.styles.map(e=>Nt(this._shimIfNeeded(e,r))),o=[];
1n.styleUrls.forEach(t=>{const n=s.length;s.push(null),o.push(new xa(Ea(null),t,t=>s[n]=e.importExpr(t)))});const a=Ea(i?t:null),l=St(a).set(Tt(s,new re(se,[Z.Const]))).toDeclStmt(null,i?[rt.Final]:[rt.Final,rt.Exported]);return e.statements.push(l),new Ca(e,a,o,r,n)}_shimIfNeeded(e,t){return t?this._shadowCss.shimCssText(e,_a,wa):e}}function Ea(e){let t="styles";return e&&(t+=`_${Sn(e.type)}`),t}class Aa{constructor(e,t){this.sourceSpan=e,this.i18n=t}}class ka extends Aa{constructor(e,t,n){super(t,n),this.value=e}visit(e,t){return e.visitText(this,t)}}class Ia extends Aa{constructor(e,t,n,r,i,s){super(r,s),this.switchValue=e,this.type=t,this.cases=n,this.switchValueSourceSpan=i}visit(e,t){return e.visitExpansion(this,t)}}class Ta{constructor(e,t,n,r,i){this.value=e,this.expression=t,this.sourceSpan=n,this.valueSourceSpan=r,this.expSourceSpan=i}visit(e,t){return e.visitExpansionCase(this,t)}}class Oa extends Aa{constructor(e,t,n,r,i,s){super(n,s),this.name=e,this.value=t,this.keySpan=r,this.valueSpan=i}visit(e,t){return e.visitAttribute(this,t)}}class Da extends Aa{constructor(e,t,n,r,i,s=null,o){super(r,o),this.name=e,this.attrs=t,this.children=n,this.startSourceSpan=i,this.endSourceSpan=s}visit(e,t){return e.visitElement(this,t)}}class Pa{constructor(e,t){this.value=e,this.sourceSpan=t}visit(e,t){return e.visitComment(this,t)}}function Ma(e,t,n=null){const r=[],i=e.visit?t=>e.visit(t,n)||t.visit(e,n):t=>t.visit(e,n);return t.forEach(e=>{const t=i(e);t&&r.push(t)}),r}var Na;!function(e){e[e.TAG_OPEN_START=0]="TAG_OPEN_START",e[e.TAG_OPEN_END=1]="TAG_OPEN_END",e[e.TAG_OPEN_END_VOID=2]="TAG_OPEN_END_VOID",e[e.TAG_CLOSE=3]="TAG_CLOSE",e[e.INCOMPLETE_TAG_OPEN=4]="INCOMPLETE_TAG_OPEN",e[e.TEXT=5]="TEXT",e[e.ESCAPABLE_RAW_TEXT=6]="ESCAPABLE_RAW_TEXT",e[e.RAW_TEXT=7]="RAW_TEXT",e[e.COMMENT_START=8]="COMMENT_START",e[e.COMMENT_END=9]="COMMENT_END",e[e.CDATA_START=10]="CDATA_START",e[e.CDATA_END=11]="CDATA_END",e[e.ATTR_NAME=12]="ATTR_NAME",e[e.ATTR_QUOTE=13]="ATTR_QUOTE",e[e.ATTR_VALUE=14]="ATTR_VALUE",e[e.DOC_TYPE=15]="DOC_TYPE",e[e.EXPANSION_FORM_START=16]="EXPANSION_FORM_START",e[e.EXPANSION_CASE_VALUE=17]="EXPANSION_CASE_VALUE",e[e.EXPANSION_CASE_EXP_START=18]="EXPANSION_CASE_EXP_START",e[e.EXPANSION_CASE_EXP_END=19]="EXPANSION_CASE_EXP_END",e[e.EXPANSION_FORM_END=20]="EXPANSION_FORM_END",e[e.EOF=21]="EOF"}(Na||(Na={}));class Ra{constructor(e,t,n){this.type=e,this.parts=t,this.sourceSpan=n}}class La extends js{constructor(e,t,n){super(n,e),this.tokenType=t}}class ja{constructor(e,t,n){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=n}}function Fa(e,t,n,r={}){const i=new Ha(new Ds(e,t),n,r);return i.tokenize(),new ja(function(e){const t=[];let n;for(let r=0;r<e.length;r++){const i=e[r];n&&n.type==Na.TEXT&&i.type==Na.TEXT?(n.parts[0]+=i.parts[0],n.sourceSpan.end=i.sourceSpan.end):(n=i,t.push(n))}return t}(i.tokens),i.errors,i.nonNormalizedIcuExpressions)}const Ba=/\r\n?/g;function $a(e){return`Unexpected character "${0===e?"EOF":String.fromCharCode(e)}"`}function Va(e){return`Unknown entity "${e}" - use the "&#<decimal>;" or  "&#x<hex>;" syntax`}var Ua;!function(e){e.HEX="hexadecimal",e.DEC="decimal"}(Ua||(Ua={}));class za{constructor(e){this.error=e}}class Ha{constructor(e,t,n){this._getTagDefinition=t,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this.tokens=[],this.errors=[],this.nonNormalizedIcuExpressions=[],this._tokenizeIcu=n.tokenizeExpansionForms||!1,this._interpolationConfig=n.interpolationConfig||is,this._leadingTriviaCodePoints=n.leadingTriviaChars&&n.leadingTriviaChars.map(e=>e.codePointAt(0)||0);const r=n.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=n.escapedString?new Ya(e,r):new Xa(e,r),this._preserveLineEndings=n.preserveLineEndings||!1,this._escapedString=n.escapedString||!1,this._i18nNormalizeLineEndingsInICUs=n.i18nNormalizeLineEndingsInICUs||!1;try{this._cursor.init()}catch(i){this.handleError(i)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(Ba,"\n")}tokenize(){for(;0!==this._cursor.peek();){const t=this._cursor.clone();try{this._attemptCharCode(ys)?this._attemptCharCode(33)?this._attemptCharCode(91)?this._consumeCdata(t):this._attemptCharCode(45)?this._consumeComment(t):this._consumeDocType(t):this._attemptCharCode(ms)?this._consumeTagClose(t):this._consumeTagOpen(t):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(e){this.handleError(e)}}this._beginToken(Na.EOF),this._endToken([])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(this._cursor.peek()!==Ss&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===Ss){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e,t=this._cursor.clone()){this._currentTokenStart=t,this._currentTokenType=e}_endToken(e,t){if(null===this._currentTokenStart)throw new La("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(t));if(null===this._currentTokenType)throw new La("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));const n=new Ra(this._currentTokenType,e,this._cursor.getSpan(this._currentTokenStart,this._leadingTriviaCodePoints));return this.tokens.push(n),this._currentTokenStart=null,this._currentTokenType=null,n}_createError(e,t){this._isInExpansionForm()&&(e+=' (Do you have an unescaped "{" in your template? Use "{{ \'{\' }}") to escape it.)');const n=new La(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new za(n)}handleError(e){if(e instanceof Za&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),!(e instanceof za))throw e;this.errors.push(e.error)}_attemptCharCode(e){return this._cursor.peek()===e&&(this._cursor.advance(),!0)}_attemptCharCodeCaseInsensitive(e){return t=this._cursor.peek(),n=e,Ka(t)==Ka(n)&&(this._cursor.advance(),!0);var t,n}_requireCharCode(e){const t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError($a(this._cursor.peek()),this._cursor.getSpan(t))}_attemptStr(e){const t=e.length;if(this._cursor.charsLeft()<t)return!1;const n=this._cursor.clone();for(let r=0;r<t;r++)if(!this._attemptCharCode(e.charCodeAt(r)))return this._cursor=n,!1;return!0}_attemptStrCaseInsensitive(e){for(let t=0;t<e.length;t++)if(!this._attemptCharCodeCaseInsensitive(e.charCodeAt(t)))return!1;return!0}_requireStr(e){const t=this._cursor.clone();if(!this._attemptStr(e))throw this._createError($a(this._cursor.peek()),this._cursor.getSpan(t))}_attemptCharCodeUntilFn(e){for(;!e(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(e,t){const n=this._cursor.clone();if(this._attemptCharCodeUntilFn(e),this._cursor.diff(n)<t)throw this._createError($a(this._cursor.peek()),this._cursor.getSpan(n))}_attemptUntilChar(e){for(;this._cursor.peek()!==e;)this._cursor.advance()}_readChar(e){if(e&&38===this._cursor.peek())return this._decodeEntity();{const e=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),e}}_decodeEntity(){const e=this._cursor.clone();if(this._cursor.advance(),!this._attemptCharCode(35)){const t=this._cursor.clone();if(this._attemptCharCodeUntilFn(Qa),this._cursor.peek()!=vs)return this._cursor=t,"&";const n=this._cursor.getChars(t);this._cursor.advance();const r=h[n];if(!r)throw this._createError(Va(n),this._cursor.getSpan(e));return r}{const r=this._attemptCharCode(120)||this._attemptCharCode(88),i=this._cursor.clone();if(this._attemptCharCodeUntilFn(Wa),this._cursor.peek()!=vs){this._cursor.advance();const n=r?Ua.HEX:Ua.DEC;throw this._createError((t=n,`Unable to parse entity "${this._cursor.getChars(e)}" - ${t} character reference entities must end with ";"`),this._cursor.getSpan())}const s=this._cursor.getChars(i);this._cursor.advance();try{const e=parseInt(s,r?16:10);return String.fromCharCode(e)}catch(n){throw this._createError(Va(this._cursor.getChars(e)),this._cursor.getSpan())}}var t}_consumeRawText(e,t){this._beginToken(e?Na.ESCAPABLE_RAW_TEXT:Na.RAW_TEXT);const n=[];for(;;){const r=this._cursor.clone(),i=t();if(this._cursor=r,i)break;n.push(this._readChar(e))}return this._endToken([this._processCarriageReturns(n.join(""))])}_consumeComment(e){this._beginToken(Na.COMMENT_START,e),this._requireCharCode(45),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("--\x3e")),this._beginToken(Na.COMMENT_END),this._requireStr("--\x3e"),this._endToken([])}_consumeCdata(e){this._beginToken(Na.CDATA_START,e),this._requireStr("CDATA["),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(Na.CDATA_END),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(Na.DOC_TYPE,e);const t=this._cursor.clone();this._attemptUntilChar(ws);const n=this._cursor.getChars(t);this._cursor.advance(),this._endToken([n])}_consumePrefixAndName(){const e=this._cursor.clone();let t="";for(;this._cursor.peek()!==gs&&!(((n=this._cursor.peek())<_s||xs<n)&&(n<65||90<n)&&(n<48||n>57));)this._cursor.advance();var n;let r;this._cursor.peek()===gs?(t=this._cursor.getChars(e),this._cursor.advance(),r=this._cursor.clone()):r=e,this._requireCharCodeUntilFn(Ga,""===t?0:1);return[t,this._cursor.getChars(r)]}_consumeTagOpen(e){let t,n,i;try{if(!ks(this._cursor.peek()))throw this._createError($a(this._cursor.peek()),this._cursor.getSpan(e));for(i=this._consumeTagOpenStart(e),n=i.parts[0],t=i.parts[1],this._attemptCharCodeUntilFn(qa);this._cursor.peek()!==ms&&this._cursor.peek()!==ws&&this._cursor.peek()!==ys&&0!==this._cursor.peek();)this._consumeAttributeName(),this._attemptCharCodeUntilFn(qa),this._attemptCharCode(bs)&&(this._attemptCharCodeUntilFn(qa),this._consumeAttributeValue()),this._attemptCharCodeUntilFn(qa);this._consumeTagOpenEnd()}catch(o){if(o instanceof za)return void(i?i.type=Na.INCOMPLETE_TAG_OPEN:(this._beginToken(Na.TEXT,e),this._endToken(["<"])));throw o}const s=this._getTagDefinition(t).getContentType(n);s===r.RAW_TEXT?this._consumeRawTextWithTagClose(n,t,!1):s===r.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(n,t,!0)}_consumeRawTextWithTagClose(e,t,n){this._consumeRawText(n,()=>!!this._attemptCharCode(ys)&&(!!this._attemptCharCode(ms)&&(this._attemptCharCodeUntilFn(qa),!!this._attemptStrCaseInsensitive(t)&&(this._attemptCharCodeUntilFn(qa),this._attemptCharCode(ws))))),this._beginToken(Na.TAG_CLOSE),this._requireCharCodeUntilFn(e=>e===ws,3),this._cursor.advance(),this._endToken([e,t])}_consumeTagOpenStart(e){this._beginToken(Na.TAG_OPEN_START,e);const t=this._consumePrefixAndName();return this._endToken(t)}_consumeAttributeName(){const e=this._cursor.peek();if(39===e||34===e)throw this._createError($a(e),this._cursor.getSpan());this._beginToken(Na.ATTR_NAME);const t=this._consumePrefixAndName();this._endToken(t)}_consumeAttributeValue(){let e;if(39===this._cursor.peek()||34===this._cursor.peek()){this._beginToken(Na.ATTR_QUOTE);const t=this._cursor.peek();this._cursor.advance(),this._endToken([String.fromCodePoint(t)]),this._beginToken(Na.ATTR_VALUE);const n=[];for(;this._cursor.peek()!==t;)n.push(this._readChar(!0));e=n.join(""),this._endToken([this._processCarriageReturns(e)]),this._beginToken(Na.ATTR_QUOTE),this._cursor.advance(),this._endToken([String.fromCodePoint(t)])}else{this._beginToken(Na.ATTR_VALUE);const t=this._cursor.clone();this._requireCharCodeUntilFn(Ga,1),e=this._cursor.getChars(t),this._endToken([this._processCarriageReturns(e)])}}_consumeTagOpenEnd(){const e=this._attemptCharCode(ms)?Na.TAG_OPEN_END_VOID:Na.TAG_OPEN_END;this._beginToken(e),this._requireCharCode(ws),this._endToken([])}_consumeTagClose(e){this._beginToken(Na.TAG_CLOSE,e),this._attemptCharCodeUntilFn(qa);const t=this._consumePrefixAndName();this._attemptCharCodeUntilFn(qa),this._requireCharCode(ws),this._endToken(t)}_consumeExpansionFormStart(){this._beginToken(Na.EXPANSION_FORM_START),this._requireCharCode(Cs),this._endToken([]),this._expansionCaseStack.push(Na.EXPANSION_FORM_START),this._beginToken(Na.RAW_TEXT);const e=this._readUntil(fs),t=this._processCarriageReturns(e);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([t]);else{const n=this._endToken([e]);t!==e&&this.nonNormalizedIcuExpressions.push(n)}this._requireCharCode(fs),this._attemptCharCodeUntilFn(qa),this._beginToken(Na.RAW_TEXT);const n=this._readUntil(fs);this._endToken([n]),this._requireCharCode(fs),this._attemptCharCodeUntilFn(qa)}_consumeExpansionCaseStart(){this._beginToken(Na.EXPANSION_CASE_VALUE);const e=this._readUntil(Cs).trim();this._endToken([e]),this._attemptCharCodeUntilFn(qa),this._beginToken(Na.EXPANSION_CASE_EXP_START),this._requireCharCode(Cs),this._endToken([]),this._attemptCharCodeUntilFn(qa),this._expansionCaseStack.push(Na.EXPANSION_CASE_EXP_START)}_consumeExpansionCaseEnd(){this._beginToken(Na.EXPANSION_CASE_EXP_END),this._requireCharCode(Ss),this._endToken([]),this._attemptCharCodeUntilFn(qa),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(Na.EXPANSION_FORM_END),this._requireCharCode(Ss),this._endToken([]),this._expansionCaseStack.pop()}_consumeText(){const e=this._cursor.clone();this._beginToken(Na.TEXT,e);const t=[];do{this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(t.push(this._interpolationConfig.start),this._inInterpolation=!0):this._interpolationConfig&&this._inInterpolation&&this._attemptStr(this._interpolationConfig.end)?(t.push(this._interpolationConfig.end),this._inInterpolation=!1):t.push(this._readChar(!0))}while(!this._isTextEnd());this._endToken([this._processCarriageReturns(t.join(""))])}_isTextEnd(){if(this._cursor.peek()===ys||0===this._cursor.peek())return!0;
1if(this._tokenizeIcu&&!this._inInterpolation){if(this.isExpansionFormStart())return!0;if(this._cursor.peek()===Ss&&this._isInExpansionCase())return!0}return!1}_readUntil(e){const t=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(t)}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===Na.EXPANSION_CASE_EXP_START}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===Na.EXPANSION_FORM_START}isExpansionFormStart(){if(this._cursor.peek()!==Cs)return!1;if(this._interpolationConfig){const e=this._cursor.clone(),t=this._attemptStr(this._interpolationConfig.start);return this._cursor=e,!t}return!0}}function qa(e){return!Es(e)||0===e}function Ga(e){return Es(e)||e===ws||e===ys||e===ms||39===e||34===e||e===bs||0===e}function Wa(e){return e==vs||0==e||!function(e){return e>=_s&&e<=102||e>=65&&e<=70||As(e)}(e)}function Qa(e){return e==vs||0==e||!ks(e)}function Ka(e){return e>=_s&&e<=xs?e-_s+65:e}class Xa{constructor(e,t){if(e instanceof Xa){this.file=e.file,this.input=e.input,this.end=e.end;const t=e.state;this.state={peek:t.peek,offset:t.offset,line:t.line,column:t.column}}else{if(!t)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=e,this.input=e.content,this.end=t.endPos,this.state={peek:-1,offset:t.startPos,line:t.startLine,column:t.startCol}}}clone(){return new Xa(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(e){return this.state.offset-e.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(e,t){let n=e=e||this;if(t)for(;this.diff(e)>0&&-1!==t.indexOf(e.peek());)n===e&&(e=e.clone()),e.advance();const r=this.locationFromCursor(e),i=this.locationFromCursor(this),s=n!==e?this.locationFromCursor(n):r;return new Ps(r,i,s)}getChars(e){return this.input.substring(e.state.offset,this.state.offset)}charAt(e){return this.input.charCodeAt(e)}advanceState(e){if(e.offset>=this.end)throw this.state=e,new Za('Unexpected character "EOF"',this);const t=this.charAt(e.offset);t===ds?(e.line++,e.column=0):Is(t)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?0:this.charAt(e.offset)}locationFromCursor(e){return new Os(e.file,e.state.offset,e.state.line,e.state.column)}}class Ya extends Xa{constructor(e,t){e instanceof Ya?(super(e),this.internalState=Object.assign({},e.internalState)):(super(e,t),this.internalState=this.state)}
1advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new Ya(this)}getChars(e){const t=e.clone();let n="";for(;t.internalState.offset<this.internalState.offset;)n+=String.fromCodePoint(t.peek()),t.advance();return n}processEscapeSequence(){const e=()=>this.internalState.peek;if(92===e())if(this.internalState=Object.assign({},this.state),this.advanceState(this.internalState),110===e())this.state.peek=ds;else if(114===e())this.state.peek=13;else if(118===e())this.state.peek=11;else if(116===e())this.state.peek=9;else if(98===e())this.state.peek=8;else if(102===e())this.state.peek=12;else if(117===e())if(this.advanceState(this.internalState),e()===Cs){this.advanceState(this.internalState);const t=this.clone();let n=0;for(;e()!==Ss;)this.advanceState(this.internalState),n++;this.state.peek=this.decodeHexDigits(t,n)}else{const e=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(e,4)}else if(120===e()){this.advanceState(this.internalState);const e=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(e,2)}else if(Ts(e())){let t="",n=0,r=this.clone();for(;Ts(e())&&n<3;)r=this.clone(),t+=String.fromCodePoint(e()),this.advanceState(this.internalState),n++;this.state.peek=parseInt(t,8),this.internalState=r.internalState}else Is(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,t){const n=this.input.substr(e.internalState.offset,t),r=parseInt(n,16);if(isNaN(r))throw e.state=e.internalState,new Za("Invalid hexadecimal escape sequence",e);return r}}class Za{constructor(e,t){this.msg=e,this.cursor=t}}class Ja extends js{constructor(e,t,n){super(t,n),this.elementName=e}static create(e,t,n){return new Ja(e,t,n)}}class el{constructor(e,t){this.rootNodes=e,this.errors=t}}class tl{constructor(e){this.getTagDefinition=e}parse(e,t,n){const r=Fa(e,t,this.getTagDefinition,n),i=new nl(r.tokens,this.getTagDefinition);return i.build(),new el(i.rootNodes,r.errors.concat(i.errors))}}class nl{constructor(e,t){this.tokens=e,this.getTagDefinition=t,this._index=-1,this._elementStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;this._peek.type!==Na.EOF;)this._peek.type===Na.TAG_OPEN_START||this._peek.type===Na.INCOMPLETE_TAG_OPEN?this._consumeStartTag(this._advance()):this._peek.type===Na.TAG_CLOSE?this._consumeEndTag(this._advance()):this._peek.type===Na.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===Na.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===Na.TEXT||this._peek.type===Na.RAW_TEXT||this._peek.type===Na.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===Na.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._advance()}_advance(){const e=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],e}_advanceIf(e){return this._peek.type===e?this._advance():null}_consumeCdata(e){this._consumeText(this._advance()),this._advanceIf(Na.CDATA_END)}_consumeComment(e){const t=this._advanceIf(Na.RAW_TEXT);this._advanceIf(Na.COMMENT_END);const n=null!=t?t.parts[0].trim():null;this._addToParent(new Pa(n,e.sourceSpan))}_consumeExpansion(e){const t=this._advance(),n=this._advance(),r=[];for(;this._peek.type===Na.EXPANSION_CASE_VALUE;){const e=this._parseExpansionCase();if(!e)return;r.push(e)}if(this._peek.type!==Na.EXPANSION_FORM_END)return void this.errors.push(Ja.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));const i=new Ps(e.sourceSpan.start,this._peek.sourceSpan.end,e.sourceSpan.fullStart);this._addToParent(new Ia(t.parts[0],n.parts[0],r,i,t.sourceSpan)),this._advance()}_parseExpansionCase(){const e=this._advance();if(this._peek.type!==Na.EXPANSION_CASE_EXP_START)return this.errors.push(Ja.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;const t=this._advance(),n=this._collectExpansionExpTokens(t);if(!n)return null;const r=this._advance();n.push(new Ra(Na.EOF,[],r.sourceSpan));const i=new nl(n,this.getTagDefinition);if(i.build(),i.errors.length>0)return this.errors=this.errors.concat(i.errors),null;
1const s=new Ps(e.sourceSpan.start,r.sourceSpan.end,e.sourceSpan.fullStart),o=new Ps(t.sourceSpan.start,r.sourceSpan.end,t.sourceSpan.fullStart);return new Ta(e.parts[0],i.rootNodes,s,e.sourceSpan,o)}_collectExpansionExpTokens(e){const t=[],n=[Na.EXPANSION_CASE_EXP_START];for(;;){if(this._peek.type!==Na.EXPANSION_FORM_START&&this._peek.type!==Na.EXPANSION_CASE_EXP_START||n.push(this._peek.type),this._peek.type===Na.EXPANSION_CASE_EXP_END){if(!rl(n,Na.EXPANSION_CASE_EXP_START))return this.errors.push(Ja.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(n.pop(),0==n.length)return t}if(this._peek.type===Na.EXPANSION_FORM_END){if(!rl(n,Na.EXPANSION_FORM_START))return this.errors.push(Ja.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;n.pop()}if(this._peek.type===Na.EOF)return this.errors.push(Ja.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}}_consumeText(e){let t=e.parts[0];if(t.length>0&&"\n"==t[0]){const e=this._getParentElement();null!=e&&0==e.children.length&&this.getTagDefinition(e.name).ignoreFirstLf&&(t=t.substring(1))}t.length>0&&this._addToParent(new ka(t,e.sourceSpan))}_closeVoidElement(){const e=this._getParentElement();e&&this.getTagDefinition(e.name).isVoid&&this._elementStack.pop()}_consumeStartTag(e){const[t,n]=e.parts,r=[];for(;this._peek.type===Na.ATTR_NAME;)r.push(this._consumeAttr(this._advance()));const i=this._getElementFullName(t,n,this._getParentElement());let s=!1;if(this._peek.type===Na.TAG_OPEN_END_VOID){this._advance(),s=!0;const t=this.getTagDefinition(i);t.canSelfClose||null!==c(i)||t.isVoid||this.errors.push(Ja.create(i,e.sourceSpan,`Only void and foreign elements can be self closed "${e.parts[1]}"`))}else this._peek.type===Na.TAG_OPEN_END&&(this._advance(),s=!1);const o=this._peek.sourceSpan.fullStart,a=new Ps(e.sourceSpan.start,o,e.sourceSpan.fullStart),l=new Ps(e.sourceSpan.start,o,e.sourceSpan.fullStart),u=new Da(i,r,[],a,l,void 0);this._pushElement(u),s?this._popElement(i,a):e.type===Na.INCOMPLETE_TAG_OPEN&&(this._popElement(i,null),this.errors.push(Ja.create(i,a,`Opening tag "${i}" not terminated.`)))}_pushElement(e){const t=this._getParentElement();t&&this.getTagDefinition(t.name).isClosedByChild(e.name)&&this._elementStack.pop(),this._addToParent(e),this._elementStack.push(e)}_consumeEndTag(e){const t=this._getElementFullName(e.parts[0],e.parts[1],this._getParentElement());if(this.getTagDefinition(t).isVoid)this.errors.push(Ja.create(t,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popElement(t,e.sourceSpan)){const n=`Unexpected closing tag "${t}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(Ja.create(t,e.sourceSpan,n))}}_popElement(e,t){for(let n=this._elementStack.length-1;n>=0;n--){const r=this._elementStack[n];if(r.name==e)return r.endSourceSpan=t,r.sourceSpan.end=null!==t?t.end:r.sourceSpan.end,this._elementStack.splice(n,this._elementStack.length-n),!0;if(!this.getTagDefinition(r.name).closedByParent)return!1}return!1}_consumeAttr(e){const t=u(e.parts[0],e.parts[1]);let n,r=e.sourceSpan.end,i="";if(this._peek.type===Na.ATTR_QUOTE&&this._advance(),this._peek.type===Na.ATTR_VALUE){const e=this._advance();i=e.parts[0],r=e.sourceSpan.end,n=e.sourceSpan}if(this._peek.type===Na.ATTR_QUOTE){r=this._advance().sourceSpan.end}const s=new Ps(e.sourceSpan.start,e.sourceSpan.end);return new Oa(t,i,new Ps(e.sourceSpan.start,r,e.sourceSpan.fullStart),s,n)}_getParentElement(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null}_addToParent(e){const t=this._getParentElement();null!=t?t.children.push(e):this.rootNodes.push(e)}_getElementFullName(e,t,n){if(""===e&&""===(e=this.getTagDefinition(t).implicitNamespacePrefix||"")&&null!=n){const t=s(n.name)[1];this.getTagDefinition(t).preventNamespaceInheritance||(e=c(n.name))}return u(e,t)}}function rl(e,t){return e.length>0&&e[e.length-1]===t}class il extends tl{constructor(){super(m)}parse(e,t,n){return super.parse(e,t,n)}}
1const sl="ngPreserveWhitespaces",ol=new Set(["pre","template","textarea","script","style"]),al=" \f\n\r\t\v\u1680\u180e\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff",ll=new RegExp(`[^${al}]`),cl=new RegExp(`[${al}]{2,}`,"g");function ul(e){return e.replace(new RegExp("\ue500","g")," ")}class hl{visitElement(e,t){return ol.has(e.name)||e.attrs.some(e=>e.name===sl)?new Da(e.name,Ma(this,e.attrs),e.children,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n):new Da(e.name,e.attrs,function(e,t){const n=[];return t.forEach((r,i)=>{const s={prev:t[i-1],next:t[i+1]},o=r.visit(e,s);o&&n.push(o)}),n}(this,e.children),e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n)}visitAttribute(e,t){return e.name!==sl?e:null}visitText(e,t){const n=e.value.match(ll),r=t&&(t.prev instanceof Ia||t.next instanceof Ia);return n||r?new ka(ul(e.value).replace(cl," "),e.sourceSpan,e.i18n):null}visitComment(e,t){return e}visitExpansion(e,t){return e}visitExpansionCase(e,t){return e}}const dl=["zero","one","two","few","many","other"];function pl(e){const t=new gl;return new fl(Ma(t,e),t.isExpanded,t.errors)}class fl{constructor(e,t,n){this.nodes=e,this.expanded=t,this.errors=n}}class ml extends js{constructor(e,t){super(e,t)}}class gl{constructor(){this.isExpanded=!1,this.errors=[]}visitElement(e,t){return new Da(e.name,e.attrs,Ma(this,e.children),e.sourceSpan,e.startSourceSpan,e.endSourceSpan)}visitAttribute(e,t){return e}visitText(e,t){return e}visitComment(e,t){return e}visitExpansion(e,t){return this.isExpanded=!0,"plural"==e.type?function(e,t){const n=e.cases.map(e=>{-1!=dl.indexOf(e.value)||e.value.match(/^=\d+$/)||t.push(new ml(e.valueSourceSpan,`Plural cases should be "=<number>" or one of ${dl.join(", ")}`));const n=pl(e.expression);return t.push(...n.errors),new Da("ng-template",[new Oa("ngPluralCase",`${e.value}`,e.valueSourceSpan,void 0,void 0,void 0)],n.nodes,e.sourceSpan,e.sourceSpan,e.sourceSpan)}),r=new Oa("[ngPlural]",e.switchValue,e.switchValueSourceSpan,void 0,void 0,void 0);return new Da("ng-container",[r],n,e.sourceSpan,e.sourceSpan,e.sourceSpan)}(e,this.errors):function(e,t){const n=e.cases.map(e=>{const n=pl(e.expression);return t.push(...n.errors),"other"===e.value?new Da("ng-template",[new Oa("ngSwitchDefault","",e.valueSourceSpan,void 0,void 0,void 0)],n.nodes,e.sourceSpan,e.sourceSpan,e.sourceSpan):new Da("ng-template",[new Oa("ngSwitchCase",`${e.value}`,e.valueSourceSpan,void 0,void 0,void 0)],n.nodes,e.sourceSpan,e.sourceSpan,e.sourceSpan)}),r=new Oa("[ngSwitch]",e.switchValue,e.switchValueSourceSpan,void 0,void 0,void 0);return new Da("ng-container",[r],n,e.sourceSpan,e.sourceSpan,e.sourceSpan)}(e,this.errors)}visitExpansionCase(e,t){throw new Error("Should not be reached")}}class vl{constructor(e,t,n){this.value=e,this.ngContentIndex=t,this.sourceSpan=n}visit(e,t){return e.visitText(this,t)}}class yl{constructor(e,t,n){this.value=e,this.ngContentIndex=t,this.sourceSpan=n}visit(e,t){return e.visitBoundText(this,t)}}class bl{constructor(e,t,n){this.name=e,this.value=t,this.sourceSpan=n}visit(e,t){return e.visitAttr(this,t)}}const wl={4:4,1:1,2:2,0:0,3:3};class _l{constructor(e,t,n,r,i,s){this.name=e,this.type=t,this.securityContext=n,this.value=r,this.unit=i,this.sourceSpan=s,this.isAnimation=4===this.type}static fromBoundProperty(e){const t=wl[e.type];return new _l(e.name,t,e.securityContext,e.value,e.unit,e.sourceSpan)}visit(e,t){return e.visitElementProperty(this,t)}}class xl{constructor(e,t,n,r,i,s){this.name=e,this.target=t,this.phase=n,this.handler=r,this.sourceSpan=i,this.handlerSpan=s,this.fullName=xl.calcFullName(this.name,this.target,this.phase),this.isAnimation=!!this.phase}static calcFullName(e,t,n){return t?`${t}:${e}`:n?`@${e}.${n}`:e}static fromParsedEvent(e){const t=0===e.type?e.targetOrPhase:null,n=1===e.type?e.targetOrPhase:null;return new xl(e.name,t,n,e.handler,e.sourceSpan,e.handlerSpan)}visit(e,t){return e.visitEvent(this,t)}}class Cl{constructor(e,t,n,r){this.name=e,this.value=t,this.originalValue=n,this.sourceSpan=r}visit(e,t){return e.visitReference(this,t)}}class Sl{constructor(e,t,n,r){this.name=e,this.value=t,this.sourceSpan=n,this.valueSpan=r}static fromParsedVariable(e){return new Sl(e.name,e.value,e.sourceSpan,e.valueSpan)}visit(e,t){return e.visitVariable(this,t)}}class El{constructor(e,t,n,r,i,s,o,a,l,c,u,h,d){this.name=e,this.attrs=t,this.inputs=n,this.outputs=r,this.references=i,this.directives=s,this.providers=o,this.hasViewContainer=a,this.queryMatches=l,this.children=c,this.ngContentIndex=u,this.sourceSpan=h,this.endSourceSpan=d}visit(e,t){return e.visitElement(this,t)}}class Al{constructor(e,t,n,r,i,s,o,a,l,c,u){this.attrs=e,this.outputs=t,this.references=n,this.variables=r,this.directives=i,this.providers=s,this.hasViewContainer=o,this.queryMatches=a,this.children=l,this.ngContentIndex=c,this.sourceSpan=u}visit(e,t){return e.visitEmbeddedTemplate(this,t)}}class kl{constructor(e,t,n,r){this.directiveName=e,this.templateName=t,this.value=n,this.sourceSpan=r}visit(e,t){return e.visitDirectiveProperty(this,t)}}class Il{constructor(e,t,n,r,i,s){this.directive=e,this.inputs=t,this.hostProperties=n,this.hostEvents=r,this.contentQueryStartId=i,this.sourceSpan=s}visit(e,t){return e.visitDirective(this,t)}}class Tl{constructor(e,t,n,r,i,s,o,a){this.token=e,this.multiProvider=t,this.eager=n,this.providers=r,this.providerType=i,this.lifecycleHooks=s,this.sourceSpan=o,this.isModule=a}visit(e,t){return null}}var Ol;!function(e){e[e.PublicService=0]="PublicService",e[e.PrivateService=1]="PrivateService",e[e.Component=2]="Component",e[e.Directive=3]="Directive",e[e.Bu
1iltin=4]="Builtin"}(Ol||(Ol={}));class Dl{constructor(e,t,n){this.index=e,this.ngContentIndex=t,this.sourceSpan=n}visit(e,t){return e.visitNgContent(this,t)}}function Pl(e,t,n=null){const r=[],i=e.visit?t=>e.visit(t,n)||t.visit(e,n):t=>t.visit(e,n);return t.forEach(e=>{const t=i(e);t&&r.push(t)}),r}class Ml extends js{constructor(e,t){super(t,e)}}class Nl{constructor(e,t){this.reflector=e,this.component=t,this.errors=[],this.viewQueries=function(e){let t=1;const n=new Map;e.viewQueries&&e.viewQueries.forEach(e=>$l(n,{meta:e,queryId:t++}));return n}(t),this.viewProviders=new Map,t.viewProviders.forEach(e=>{null==this.viewProviders.get(Dn(e.token))&&this.viewProviders.set(Dn(e.token),!0)})}}class Rl{constructor(e,t,n,r,i,s,o,a,l){this.viewContext=e,this._parent=t,this._isViewRoot=n,this._directiveAsts=r,this._sourceSpan=l,this._transformedProviders=new Map,this._seenProviders=new Map,this._queriedTokens=new Map,this.transformedHasViewContainer=!1,this._attrs={},i.forEach(e=>this._attrs[e.name]=e.value);const c=r.map(e=>e.directive);if(this._allProviders=function(e,t,n){const r=new Map;e.forEach(e=>{Bl([{token:{identifier:e.type},useClass:e.type}],e.isComponent?Ol.Component:Ol.Directive,!0,t,n,r,!1)});return e.filter(e=>e.isComponent).concat(e.filter(e=>!e.isComponent)).forEach(e=>{Bl(e.providers,Ol.PublicService,!1,t,n,r,!1),Bl(e.viewProviders,Ol.PrivateService,!1,t,n,r,!1)}),r}(c,l,e.errors),this._contentQueries=function(e,t){let n=e;const r=new Map;return t.forEach((e,t)=>{e.queries&&e.queries.forEach(e=>$l(r,{meta:e,queryId:n++}))}),r}(a,c),Array.from(this._allProviders.values()).forEach(e=>{this._addQueryReadsTo(e.token,e.token,this._queriedTokens)}),o){const e=Qt(this.viewContext.reflector,Gt.TemplateRef);this._addQueryReadsTo(e,e,this._queriedTokens)}s.forEach(e=>{let t=e.value||Qt(this.viewContext.reflector,Gt.ElementRef);this._addQueryReadsTo({value:e.name},t,this._queriedTokens)}),this._queriedTokens.get(this.viewContext.reflector.resolveExternalReference(Gt.ViewContainerRef))&&(this.transformedHasViewContainer=!0),Array.from(this._allProviders.values()).forEach(e=>{(e.eager||this._queriedTokens.get(Dn(e.token)))&&this._getOrCreateLocalProvider(e.providerType,e.token,!0)})}afterElement(){Array.from(this._allProviders.values()).forEach(e=>{this._getOrCreateLocalProvider(e.providerType,e.token,!1)})}get transformProviders(){const e=[],t=[];return this._transformedProviders.forEach(n=>{n.eager?t.push(n):e.push(n)}),e.concat(t)}get transformedDirectiveAsts(){const e=this.transformProviders.map(e=>e.token.identifier),t=this._directiveAsts.slice();return t.sort((t,n)=>e.indexOf(t.directive.type)-e.indexOf(n.directive.type)),t}get queryMatches(){const e=[];return this._queriedTokens.forEach(t=>{e.push(...t)}),e}_addQueryReadsTo(e,t,n){this._getQueriesFor(e).forEach(e=>{const r=e.meta.read||t,i=Dn(r);let s=n.get(i);s||(s=[],n.set(i,s)),s.push({queryId:e.queryId,value:r})})}_getQueriesFor(e){const t=[];let n,r=this,i=0;for(;null!==r;)n=r._contentQueries.get(Dn(e)),n&&t.push(...n.filter(e=>e.meta.descendants||i<=1)),r._directiveAsts.length>0&&i++,r=r._parent;return n=this.viewContext.viewQueries.get(Dn(e)),n&&t.push(...n),t}_getOrCreateLocalProvider(e,t,n){const r=this._allProviders.get(Dn(t));if(!r||(e===Ol.Directive||e===Ol.PublicService)&&r.providerType===Ol.PrivateService||(e===Ol.PrivateService||e===Ol.PublicService)&&r.providerType===Ol.Builtin)return null;let i=this._transformedProviders.get(Dn(t));if(i)return i;if(null!=this._seenProviders.get(Dn(t)))return this.viewContext.errors.push(new Ml(`Cannot instantiate cyclic dependency! ${On(t)}`,this._sourceSpan)),null;this._seenProviders.set(Dn(t),!0);const s=r.providers.map(e=>{let t,i=e.useValue,s=e.useExisting;if(null!=e.useExisting){const t=this._getDependency(r.providerType,{token:e.useExisting},n);null!=t.token?s=t.token:(s=null,i=t.value)}else if(e.useFactory){t=(e.deps||e.useFactory.diDeps).map(e=>this._getDependency(r.providerType,e,n))}else if(e.useClass){t=(e.deps||e.useClass.diDeps).map(e=>this._getDependency(r.providerType,e,n))}return jl(e,{useExisting:s,useValue:i,deps:t})});return i=Fl(r,{eager:n,providers:s}),this._transformedProviders.set(Dn(t),i),i}_getLocalDependency(e,t,n=!1){if(t.isAttribute){const e=this._attrs[t.token.value];return{isValue:!0,value:null==e?null:e}}if(null!=t.token){if(e===Ol.Directive||e===Ol.Component){if(Dn(t.token)===this.viewContext.reflector.resolveExter
1nalReference(Gt.Renderer)||Dn(t.token)===this.viewContext.reflector.resolveExternalReference(Gt.ElementRef)||Dn(t.token)===this.viewContext.reflector.resolveExternalReference(Gt.ChangeDetectorRef)||Dn(t.token)===this.viewContext.reflector.resolveExternalReference(Gt.TemplateRef))return t;Dn(t.token)===this.viewContext.reflector.resolveExternalReference(Gt.ViewContainerRef)&&(this.transformedHasViewContainer=!0)}if(Dn(t.token)===this.viewContext.reflector.resolveExternalReference(Gt.Injector))return t;if(null!=this._getOrCreateLocalProvider(e,t.token,n))return t}return null}_getDependency(e,t,n=!1){let r=this,i=n,s=null;if(t.isSkipSelf||(s=this._getLocalDependency(e,t,n)),t.isSelf)!s&&t.isOptional&&(s={isValue:!0,value:null});else{for(;!s&&r._parent;){const e=r;r=r._parent,e._isViewRoot&&(i=!1),s=r._getLocalDependency(Ol.PublicService,t,i)}s||(s=!t.isHost||this.viewContext.component.isHost||this.viewContext.component.type.reference===Dn(t.token)||null!=this.viewContext.viewProviders.get(Dn(t.token))?t:t.isOptional?{isValue:!0,value:null}:null)}return s||this.viewContext.errors.push(new Ml(`No provider for ${On(t.token)}`,this._sourceSpan)),s}}class Ll{constructor(e,t,n,r){this.reflector=e,this._transformedProviders=new Map,this._seenProviders=new Map,this._errors=[],this._allProviders=new Map,t.transitiveModule.modules.forEach(e=>{Bl([{token:{identifier:e},useClass:e}],Ol.PublicService,!0,r,this._errors,this._allProviders,!0)}),Bl(t.transitiveModule.providers.map(e=>e.provider).concat(n),Ol.PublicService,!1,r,this._errors,this._allProviders,!1)}parse(){if(Array.from(this._allProviders.values()).forEach(e=>{this._getOrCreateLocalProvider(e.token,e.eager)}),this._errors.length>0){const e=this._errors.join("\n");throw new Error(`Provider parse errors:\n${e}`)}const e=[],t=[];return this._transformedProviders.forEach(n=>{n.eager?t.push(n):e.push(n)}),e.concat(t)}_getOrCreateLocalProvider(e,t){const n=this._allProviders.get(Dn(e));if(!n)return null;let r=this._transformedProviders.get(Dn(e));if(r)return r;if(null!=this._seenProviders.get(Dn(e)))return this._errors.push(new Ml(`Cannot instantiate cyclic dependency! ${On(e)}`,n.sourceSpan)),null;this._seenProviders.set(Dn(e),!0);const i=n.providers.map(e=>{let r,i=e.useValue,s=e.useExisting;if(null!=e.useExisting){const r=this._getDependency({token:e.useExisting},t,n.sourceSpan);null!=r.token?s=r.token:(s=null,i=r.value)}else if(e.useFactory){r=(e.deps||e.useFactory.diDeps).map(e=>this._getDependency(e,t,n.sourceSpan))}else if(e.useClass){r=(e.deps||e.useClass.diDeps).map(e=>this._getDependency(e,t,n.sourceSpan))}return jl(e,{useExisting:s,useValue:i,deps:r})});return r=Fl(n,{eager:t,providers:i}),this._transformedProviders.set(Dn(e),r),r}_getDependency(e,t=!1,n){let r=!1;return e.isSkipSelf||null==e.token||(Dn(e.token)===this.reflector.resolveExternalReference(Gt.Injector)||Dn(e.token)===this.reflector.resolveExternalReference(Gt.ComponentFactoryResolver)||null!=this._getOrCreateLocalProvider(e.token,t))&&(r=!0),e}}function jl(e,{useExisting:t,useValue:n,deps:r}){return{token:e.token,useClass:e.useClass,useExisting:t,useFactory:e.useFactory,useValue:n,deps:r,multi:e.multi}}function Fl(e,{eager:t,providers:n}){return new Tl(e.token,e.multiProvider,e.eager||t,n,e.providerType,e.lifecycleHooks,e.sourceSpan,e.isModule)}function Bl(e,t,n,r,i,s,o){e.forEach(e=>{let a=s.get(Dn(e.token));if(null!=a&&!!a.multiProvider!=!!e.multi&&i.push(new Ml(`Mixing multi and non multi provider is not possible for token ${On(a.token)}`,r)),a)e.multi||(a.providers.length=0),a.providers.push(e);else{const i=e.token.identifier&&e.token.identifier.lifecycleHooks?e.token.identifier.lifecycleHooks:[],l=!(e.useClass||e.useExisting||e.useFactory);a=new Tl(e.token,!!e.multi,n||l,[e],t,i,r,o),s.set(Dn(e.token),a)}})}function $l(e,t){t.meta.selectors.forEach(n=>{let r=e.get(Dn(n));r||(r=[],e.set(Dn(n),r)),r.push(t)})}class Vl{constructor(e,t){this.style=e,this.styleUrls=t}}function Ul(e){if(null==e||0===e.length||"/"==e[0])return!1;const t=e.match(ql);return null===t||"package"==t[1]||"asset"==t[1]}
1const zl=/@import\s+(?:url\()?\s*(?:(?:['"]([^'"]*))|([^;\)\s]*))[^;]*;?/g,Hl=/\/\*(?!#\s*(?:sourceURL|sourceMappingURL)=)[\s\S]+?\*\//g,ql=/^([^:/?#]+):/,Gl="animate-";class Wl{constructor(e,t,n,r,i){if(this._exprParser=e,this._interpolationConfig=t,this._schemaRegistry=n,this.errors=i,this.pipesByName=null,this._usedPipes=new Map,r){const e=new Map;r.forEach(t=>e.set(t.name,t)),this.pipesByName=e}}get interpolationConfig(){return this._interpolationConfig}getUsedPipes(){return Array.from(this._usedPipes.values())}createBoundHostProperties(e,t){if(e.hostProperties){const n=[];return Object.keys(e.hostProperties).forEach(r=>{const i=e.hostProperties[r];"string"==typeof i?this.parsePropertyBinding(r,i,!0,t,t.start.offset,void 0,[],n,t):this._reportError(`Value of the host property binding "${r}" needs to be a string representing an expression but got "${i}" (${typeof i})`,t)}),n}return null}createDirectiveHostPropertyAsts(e,t,n){const r=this.createBoundHostProperties(e,n);return r&&r.map(e=>this.createBoundElementProperty(t,e))}createDirectiveHostEventAsts(e,t){if(e.hostListeners){const n=[];return Object.keys(e.hostListeners).forEach(r=>{const i=e.hostListeners[r];"string"==typeof i?this.parseEvent(r,i,t,t,[],n,t):this._reportError(`Value of the host listener "${r}" needs to be a string representing an expression but got "${i}" (${typeof i})`,t)}),n}return null}parseInterpolation(e,t){const n=t.start.toString(),r=t.fullStart.offset;try{const i=this._exprParser.parseInterpolation(e,n,r,this._interpolationConfig);return i&&this._reportExpressionParserErrors(i.errors,t),this._checkPipes(i,t),i}catch(i){return this._reportError(`${i}`,t),this._exprParser.wrapLiteralPrimitive("ERROR",n,r)}}parseInterpolationExpression(e,t){const n=t.start.toString(),r=t.start.offset;try{const i=this._exprParser.parseInterpolationExpression(e,n,r);return i&&this._reportExpressionParserErrors(i.errors,t),this._checkPipes(i,t),i}catch(i){return this._reportError(`${i}`,t),this._exprParser.wrapLiteralPrimitive("ERROR",n,r)}}parseInlineTemplateBinding(e,t,n,r,i,s,o,a){const l=n.start.offset+"*".length,c=this._parseTemplateBindings(e,t,n,l,r);for(const u of c){const e=Yl(n,u.sourceSpan),t=u.key.source,l=Yl(n,u.key.span);if(u instanceof wo){const r=u.value?u.value.source:"$implicit",i=u.value?Yl(n,u.value.span):void 0;o.push(new Eo(t,r,e,l,i))}else if(u.value){const r=a?e:n,o=Yl(n,u.value.ast.sourceSpan);this._parsePropertyAst(t,u.value,r,l,o,i,s)}else i.push([t,""]),this.parseLiteralAttr(t,null,l,r,void 0,i,s,l)}}_parseTemplateBindings(e,t,n,r,i){const s=n.start.toString();try{const o=this._exprParser.parseTemplateBindings(e,t,s,r,i);return this._reportExpressionParserErrors(o.errors,n),o.templateBindings.forEac
1h(e=>{e.value instanceof bo&&this._checkPipes(e.value,n)}),o.warnings.forEach(e=>{this._reportError(e,n,Ms.WARNING)}),o.templateBindings}catch(o){return this._reportError(`${o}`,n),[]}}parseLiteralAttr(e,t,n,r,i,s,o,a){Kl(e)?(e=e.substring(1),void 0!==a&&(a=Yl(a,new yo(a.start.offset+1,a.end.offset))),t&&this._reportError('Assigning animation triggers via @prop="exp" attributes with an expression is invalid. Use property bindings (e.g. [@prop]="exp") or use an attribute without a value (e.g. @prop) instead.',n,Ms.ERROR),this._parseAnimation(e,t,n,r,a,i,s,o)):o.push(new Co(e,this._exprParser.wrapLiteralPrimitive(t,"",r),Ns.LITERAL_ATTR,n,a,i))}parsePropertyBinding(e,t,n,r,i,s,o,a,l){0===e.length&&this._reportError("Property name is missing in binding",r);let c=!1;e.startsWith(Gl)?(c=!0,e=e.substring(Gl.length),void 0!==l&&(l=Yl(l,new yo(l.start.offset+Gl.length,l.end.offset)))):Kl(e)&&(c=!0,e=e.substring(1),void 0!==l&&(l=Yl(l,new yo(l.start.offset+1,l.end.offset)))),c?this._parseAnimation(e,t,r,i,l,s,o,a):this._parsePropertyAst(e,this._parseBinding(t,n,s||r,i),r,l,s,o,a)}parsePropertyInterpolation(e,t,n,r,i,s,o){const a=this.parseInterpolation(t,r||n);return!!a&&(this._parsePropertyAst(e,a,n,o,r,i,s),!0)}_parsePropertyAst(e,t,n,r,i,s,o){s.push([e,t.source]),o.push(new Co(e,t,Ns.DEFAULT,n,r,i))}_parseAnimation(e,t,n,r,i,s,o,a){0===e.length&&this._reportError("Animation trigger is missing",n);const l=this._parseBinding(t||"undefined",!1,s||n,r);o.push([e,l.source]),a.push(new Co(e,l,Ns.ANIMATION,n,i,s))}_parseBinding(e,t,n,r){const i=(n&&n.start||"(unknown)").toString();try{const s=t?this._exprParser.parseSimpleBinding(e,i,r,this._interpolationConfig):this._exprParser.parseBinding(e,i,r,this._interpolationConfig);return s&&this._reportExpressionParserErrors(s.errors,n),this._checkPipes(s,n),s}catch(s){return this._reportError(`${s}`,n),this._exprParser.wrapLiteralPrimitive("ERROR",i,r)}}createBoundElementProperty(e,t,n=!1,r=!0){if(t.isAnimation)return new Ao(t.name,4,W.NONE,t.expression,null,t.sourceSpan,t.keySpan,t.valueSpan);let i,s=null,o=null;const a=t.name.split(".");let l;if(a.length>1)if("attr"==a[0]){o=a.slice(1).join("."),n||this._validatePropertyOrAttributeName(o,t.sourceSpan,!0),l=Xl(this._schemaRegistry,e,o,!0);const r=o.indexOf(":");if(r>-1){const e=o.substring(0,r),t=o.substring(r+1);o=u(e,t)}i=1}else"class"==a[0]?(o=a[1],i=2,l=[W.NONE]):"style"==a[0]&&(s=a.length>2?a[2]:null,o=a[1],i=3,l=[W.STYLE]);if(null===o){const s=this._schemaRegistry.getMappedPropName(t.name);o=r?s:t.name,l=Xl(this._schemaRegistry,e,s,!1),i=0,n||this._validatePropertyOrAttributeName(s,t.sourceSpan,!1)}return new Ao(o,i,l[0],t.expression,s,t.sourceSpan,t.keySpan,t.valueSpan)}parseEvent(e,t,n,r,i,s,o){0===e.length&&this._reportError("Event name is missing in binding",n),Kl(e)?(e=e.substr(1),void 0!==o&&(o=Yl(o,new yo(o.start.offset+1,o.end.offset))),this._parseAnimationEvent(e,t,n,r,s,o)):this._parseRegularEvent(e,t,n,r,i,s,o)}calcPossibleSecurityContexts(e,t,n){const r=this._schemaRegistry.getMappedPropName(t);return Xl(this._schemaRegistry,e,r,n)}_parseAnimationEvent(e,t,n,r,i,s){const o=Jt(e,".",[e,""]);const a=o[0],l=o[1].toLowerCase(),c=this._parseAction(t,r);i.push(new So(a,l,1,c,n,r,s)),0===a.length&&this._reportError("Animation event name is missing in binding",n),l?"start"!==l&&"done"!==l&&this._reportError(`The provided animation output phase value "${l}" for "@${a}" is not supported (use start or done)`,n):this._reportError(`The animation trigger output event (@${a}) is missing its phase value name (start or done are currently supported)`,n)}_parseRegularEvent(e,t,n,r,i,s,o){const[a,l]=Zt(e,[null,e]),c=this._parseAction(t,r);i.push([e,c.source]),s.push(new So(l,a,0,c,n,r,o))}_parseAction(e,t){const n=(t&&t.start||"(unknown").toString(),r=t&&t.start?t.start.offset:0;try{const i=this._exprParser.parseAction(e,n,r,this._interpolationConfig);return i&&this._reportExpressionParserErrors(i.errors,t),!i||i.ast instanceof Ks?(this._reportError("Empty expressions are not allowed",t),this._exprParser.wrapLiteralPrimitive("ERROR",n,r)):(this._checkPipes(i,t),i)}catch(i){return this._reportError(`${i}`,t),this._exprParser.wrapLiteralPrimitive("ERROR",n,r)}}_reportError(e,t,n=Ms.ERROR){this.errors.push(new js(t,e,n))}_reportExpressionParserErrors(e,t){for(const n of e)this._reportError(n.message,t)}_checkPipes(e,t){if(e&&this.pipesByName){const n=new Ql;
1e.visit(n),n.pipes.forEach((e,n)=>{const r=this.pipesByName.get(n);r?this._usedPipes.set(n,r):this._reportError(`The pipe '${n}' could not be found`,new Ps(t.start.moveBy(e.span.start),t.start.moveBy(e.span.end)))})}}_validatePropertyOrAttributeName(e,t,n){const r=n?this._schemaRegistry.validateAttribute(e):this._schemaRegistry.validateProperty(e);r.error&&this._reportError(r.msg,t,Ms.ERROR)}}class Ql extends xo{constructor(){super(...arguments),this.pipes=new Map}visitPipe(e,t){return this.pipes.set(e.name,e),e.exp.visit(this),this.visitAll(e.args,t),null}}function Kl(e){return"@"==e[0]}function Xl(e,t,n,r){const i=[];return v.parse(t).forEach(t=>{const s=t.element?[t.element]:e.allKnownElementNames(),o=new Set(t.notSelectors.filter(e=>e.isElementSelector()).map(e=>e.element)),a=s.filter(e=>!o.has(e));i.push(...a.map(t=>e.securityContext(t,n,r)))}),0===i.length?[W.NONE]:Array.from(new Set(i)).sort()}function Yl(e,t){const n=t.start-e.start.offset,r=t.end-e.end.offset;return new Ps(e.start.moveBy(n),e.end.moveBy(r),e.fullStart.moveBy(n),e.details)}function Zl(e){let t=null,n=null,r=null,i=!1,s="";e.attrs.forEach(e=>{const o=e.name.toLowerCase();"select"==o?t=e.value:"href"==o?n=e.value:"rel"==o?r=e.value:"ngNonBindable"==e.name?i=!0:"ngProjectAs"==e.name&&e.value.length>0&&(s=e.value)}),t=function(e){if(null===e||0===e.length)return"*";return e}(t);const o=e.name.toLowerCase();let l=Jl.OTHER;return a(o)?l=Jl.NG_CONTENT:"style"==o?l=Jl.STYLE:"script"==o?l=Jl.SCRIPT:"link"==o&&"stylesheet"==r&&(l=Jl.STYLESHEET),new ec(l,t,n,i,s)}var Jl;!function(e){e[e.NG_CONTENT=0]="NG_CONTENT",e[e.STYLE=1]="STYLE",e[e.STYLESHEET=2]="STYLESHEET",e[e.SCRIPT=3]="SCRIPT",e[e.OTHER=4]="OTHER"}(Jl||(Jl={}));class ec{constructor(e,t,n,r,i){this.type=e,this.selectAttr=t,this.hrefAttr=n,this.nonBindable=r,this.projectAs=i}}const tc=/^(?:(?:(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*))|\[\(([^\)]+)\)\]|\[([^\]]+)\]|\(([^\)]+)\))$/;let nc;function rc(){return nc||(nc=v.parse("*")[0]),nc}class ic extends js{constructor(e,t,n){super(t,e,n)}}class sc{constructor(e,t,n){this.templateAst=e,this.usedPipes=t,this.errors=n}}class oc{constructor(e,t,n,r,i,s,o){this._config=e,this._reflector=t,this._exprParser=n,this._schemaRegistry=r,this._htmlParser=i,this._console=s,this.transforms=o}get expressionParser(){return this._exprParser}parse(e,t,n,r,i,s,o){var a;const l=this.tryParse(e,t,n,r,i,s,o),c=l.errors.filter(e=>e.level===Ms.WARNING),u=l.errors.filter(e=>e.level===Ms.ERROR);if(c.length>0&&(null===(a=this._console)||void 0===a||a.warn(`Template parse warnings:\n${c.join("\n")}`)),u.length>0){throw cn(`Template parse errors:\n${u.join("\n")}`,u)}return{template:l.templateAst,pipes:l.usedPipes}}tryParse(e,t,n,r,i,s,o){let a="string"==typeof t?this._htmlParser.parse(t,s,{tokenizeExpansionForms:!0,interpolationConfig:this.getInterpolationConfig(e)}):t;var l;return o||(l=a,a=new el(Ma(new hl,l.rootNodes),l.errors)),this.tryParseHtml(this.expandHtml(a),e,n,r,i)}tryParseHtml(e,t,n,r,i){let s;const o=e.errors,a=[];if(e.rootNodes.length>0){const l=fc(n),c=fc(r),u=new Nl(this._reflector,t);let h;t.template&&t.template.interpolation&&(h={start:t.template.interpolation[0],end:t.template.interpolation[1]});const d=new Wl(this._exprParser,h,this._schemaRegistry,c,o),p=new ac(this._reflector,this._config,u,l,d,this._schemaRegistry,i,o);s=Ma(p,e.rootNodes,hc),o.push(...u.errors),a.push(...d.getUsedPipes())}else s=[];return this._assertNoReferenceDuplicationOnTemplate(s,o),o.length>
10||this.transforms&&this.transforms.forEach(e=>{s=Pl(e,s)}),new sc(s,a,o)}expandHtml(e,t=!1){const n=e.errors;if(0==n.length||t){const t=pl(e.rootNodes);n.push(...t.errors),e=new el(t.nodes,n)}return e}getInterpolationConfig(e){if(e.template)return rs.fromArray(e.template.interpolation)}_assertNoReferenceDuplicationOnTemplate(e,t){const n=[];e.filter(e=>!!e.references).forEach(e=>e.references.forEach(e=>{const r=e.name;if(n.indexOf(r)<0)n.push(r);else{const n=new ic(`Reference "#${r}" is defined several times`,e.sourceSpan,Ms.ERROR);t.push(n)}}))}}class ac{constructor(e,t,n,r,i,s,o,a){this.reflector=e,this.config=t,this.providerViewContext=n,this._bindingParser=i,this._schemaRegistry=s,this._schemas=o,this._targetErrors=a,this.selectorMatcher=new y,this.directivesIndex=new Map,this.ngContentCount=0,this.contentQueryStartId=n.component.viewQueries.length+1,r.forEach((e,t)=>{const n=v.parse(e.selector);this.selectorMatcher.addSelectables(n,e),this.directivesIndex.set(e,t)})}visitExpansion(e,t){return null}visitExpansionCase(e,t){return null}visitText(e,t){const n=t.findNgContentIndex(rc()),r=ul(e.value),i=this._bindingParser.parseInterpolation(r,e.sourceSpan);return i?new yl(i,n,e.sourceSpan):new vl(r,n,e.sourceSpan)}visitAttribute(e,t){return new bl(e.name,e.value,e.sourceSpan)}visitComment(e,t){return null}visitElement(e,t){const n=this.contentQueryStartId,r=e.name,i=Zl(e);if(i.type===Jl.SCRIPT||i.type===Jl.STYLE)return null;if(i.type===Jl.STYLESHEET&&Ul(i.hrefAttr))return null;const s=[],o=[],a=[],c=[],u=[],h=[],d=[],p=[];let f=!1;const m=[],g=l(e.name);e.attrs.forEach(e=>{const t=this._parseAttr(g,e,s,o,u,a,c);let n,r;c.push(...[].map(e=>Sl.fromParsedVariable(e)));const i=this._normalizeAttributeName(e.name);i.startsWith("*")&&(n=e.value,r=i.substring("*".length));const l=null!=n;if(l){f&&this._reportError("Can't have multiple template bindings on one element. Use only one attribute prefixed with *",e.sourceSpan),f=!0;const t=[],i=(e.valueSpan||e.sourceSpan).start.offset;this._bindingParser.parseInlineTemplateBinding(r,n,e.sourceSpan,i,d,h,t,!1),p.push(...t.map(e=>Sl.fromParsedVariable(e)))}t||l||(m.push(this.visitAttribute(e,null)),s.push([e.name,e.value]))});const y=uc(r,s),{directives:b,matchElement:w}=this._parseDirectives(this.selectorMatcher,y),_=[],x=new Set,C=this._createDirectiveAsts(g,e.name,b,o,a,e.sourceSpan,_,x),S=this._createElementPropertyAsts(e.name,o,x),E=t.isTemplateElement||f,A=new Rl(this.providerViewContext,t.providerContext,E,C,m,_,g,n,e.sourceSpan),k=Ma(i.nonBindable?dc:this,e.children,cc.create(g,C,g?t.providerContext:A));A.afterElement();const I=""!=i.projectAs?v.parse(i.projectAs)[0]:y,T=t.findNgContentIndex(I);let O;if(i.type===Jl.NG_CONTENT)e.children&&!e.children.every(pc)&&this._reportError("<ng-content> element cannot have content.",e.sourceSpan),O=new Dl(this.ngContentCount++,f?null:T,e.sourceSpan);else if(g)this._assertAllEventsPublishedByDirectives(C,u),this._assertNoComponentsNorElementBindingsOnTemplate(C,S,e.sourceSpan),O=new Al(m,u,_,c,A.transformedDirectiveAsts,A.transformProviders,A.transformedHasViewContainer,A.queryMatches,k,f?null:T,e.sourceSpan);else{this._assertElementExists(w,e),this._assertOnlyOneComponent(C,e.sourceSpan);const n=f?null:t.findNgContentIndex(I);O=new El(r,m,S,u,_,A.transformedDirectiveAsts,A.transformProviders,A.transformedHasViewContainer,A.queryMatches,k,f?null:n,e.sourceSpan,e.endSourceSpan||null)}if(f){const n=this.contentQueryStartId,i=uc("ng-template",d),{directives:s}=this._parseDirectives(this.selectorMatcher,i),o=new Set,a=this._createDirectiveAsts(!0,r,s,h,[],e.sourceSpan,[],o),l=this._createElementPropertyAsts(r,h,o);this._assertNoComponentsNorElementBindingsOnTemplate(a,l,e.sourceSpan);const c=new Rl(this.providerViewContext,t.providerContext,t.isTemplateElement,a,[],[],!0,n,e.sourceSpan);c.afterElement(),O=new Al([],[],[],p,c.transformedDirectiveAsts,c.transformProviders,c.transformedHasViewContainer,c.queryMatches,[O],T,e.sourceSpan)}return O}_parseAttr(e,t,n,r,i,s,o){const a=this._normalizeAttributeName(t.name),l=t.value,c=t.sourceSpan,u=t.valueSpan?t.valueSpan.start.offset:c.start.offset,h=[],d=a.match(tc);let p=!1;if(null!==d)if(p=!0,null!=d[1])this._bindingParser.parsePropertyBinding(d[7],l,!1,c,u,t.valueSpan,n,r);else if(d[2])if(e){const e=d[7];this._parseVariable(e,l,c,o)}else this._reportError('"let-" is only supported on ng-template elements.',c);else if(d[3]){const e=d[7];this._parseReference(e,l,c,s)}else d[4]?this._bindingParser.parseEvent(d[7],l,c,t.valueSpan||c,n,h):d[5]?(this._bindingParser.parsePropertyBinding(d[7],l,!1,c,u,t.valueSpan,n,r),this._parseAssignmentEvent(d[7],l,c,t.valueSpan||c,n,h)):d[6]?this._bindingParser.parseLiteralAttr(a,l,c,u,t.valueSpan,n,r):d[8]?(this._bindingParser.parsePropertyBinding(d[8],l,!1,c,u,t.valueSpan,n,r),this._parseAssignmentEvent(d[8],l,c,t.valueSpan||c,n,h)):d[9]?this._bindingParser.parsePropertyBinding(d[9],l,!1,c,u,t.valueSpan,n,r):d[10]&&this._bindingParser.parseEvent(d[10],l,c,t.valueSpan||c,n,h);else p=this._bindingParser.parsePropertyInterpolation(a,l,c,t.valueSpan,n,r);return p||this._bindingParser.parseLiteralAttr(a,l,c,u,t.valueSpan,n,r),i.push(...h.map(e=>xl.fromParsedEvent(e))),p}_normalizeAttributeName(e){return/^data-/i.test(e)?e.substring(5):e}_parseVariable(e,t,n,r){e.indexOf("-")>-1?this._reportError('"-" is not allowed in variable names',n):0===e.length&&this._reportError("Variable does not have a name",n),r.push(new Sl(e,t,n))}_parseReference(e,t,n,r){e.indexOf("-")>-1?this._reportError('"-" is not allowed in reference names',n):0===e.length&&this._reportError("Reference does not have a name",n),r.push(new lc(e,t,n))}_parseAssignmentEvent(e,t,n,r,i,s){this._bindingParser.parseEvent(`${e}Change`,`${t}=$event`,n,r,i,s)}_parseDirectives(e,t){const n=wn(this.directivesIndex.size);let r=!1;return e.match(t,(e,t)=>{n[this.directivesIndex.get(t)]=t,r=r||e.hasElementSelector()}),{directives:n.filter(e=>!!e),matchElement:r}}_createDirectiveAsts(e,t,n,r,i,s,o,a){const l=new Set;let c=null;const u=n.map(e=>{const n=new Ps(s.start,s.end,s.fullStart,`Directive ${Sn(e.type)}`);e.isComponent&&(c=e);const u=[];
1let h=this._bindingParser.createDirectiveHostPropertyAsts(e,t,n).map(e=>_l.fromBoundProperty(e));h=this._checkPropertiesInSchema(t,h);const d=this._bindingParser.createDirectiveHostEventAsts(e,n);this._createDirectivePropertyAsts(e.inputs,r,u,a),i.forEach(t=>{(0===t.value.length&&e.isComponent||t.isReferenceToDirective(e))&&(o.push(new Cl(t.name,Wt(e.type.reference),t.value,t.sourceSpan)),l.add(t.name))});const p=d.map(e=>xl.fromParsedEvent(e)),f=this.contentQueryStartId;return this.contentQueryStartId+=e.queries.length,new Il(e,u,h,p,f,n)});return i.forEach(t=>{if(t.value.length>0)l.has(t.name)||this._reportError(`There is no directive with "exportAs" set to "${t.value}"`,t.sourceSpan);else if(!c){let n=null;e&&(n=Qt(this.reflector,Gt.TemplateRef)),o.push(new Cl(t.name,n,t.value,t.sourceSpan))}}),u}_createDirectivePropertyAsts(e,t,n,r){if(e){const i=new Map;t.forEach(e=>{const t=i.get(e.name);t&&!t.isLiteral||i.set(e.name,e)}),Object.keys(e).forEach(t=>{const s=e[t],o=i.get(s);o&&(r.add(o.name),mc(o.expression)||n.push(new kl(t,o.name,o.expression,o.sourceSpan)))})}}_createElementPropertyAsts(e,t,n){const r=[];return t.forEach(t=>{if(!t.isLiteral&&!n.has(t.name)){const n=this._bindingParser.createBoundElementProperty(e,t);r.push(_l.fromBoundProperty(n))}}),this._checkPropertiesInSchema(e,r)}_findComponentDirectives(e){return e.filter(e=>e.directive.isComponent)}_findComponentDirectiveNames(e){return this._findComponentDirectives(e).map(e=>Sn(e.directive.type))}_assertOnlyOneComponent(e,t){const n=this._findComponentDirectiveNames(e);n.length>1&&this._reportError(`More than one component matched on this element.\nMake sure that only one component's selector can match a given element.\nConflicting components: ${n.join(",")}`,t)}_assertElementExists(e,t){const n=t.name.replace(/^:xhtml:/,"");if(!e&&!this._schemaRegistry.hasElement(n,this._schemas)){let e=`'${n}' is not a known element:\n`;e+=`1. If '${n}' is an Angular component, then verify that it is part of this module.\n`,n.indexOf("-")>-1?e+=`2. If '${n}' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.`:e+="2. To allow any element add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.",this._reportError(e,t.sourceSpan)}}_assertNoComponentsNorElementBindingsOnTemplate(e,t,n){const r=this._findComponentDirectiveNames(e);r.length>0&&this._reportError(`Components on an embedded template: ${r.join(",")}`,n),t.forEach(e=>{this._reportError(`Property binding ${e.name} not used by any directive on an embedded template. Make sure that the property name is spelled correctly and all directives are listed in the "@NgModule.declarations".`,n)})}_assertAllEventsPublishedByDirectives(e,t){const n=new Set;e.forEach(e=>{Object.keys(e.directive.outputs).forEach(t=>{const r=e.directive.outputs[t];n.add(r)})}),t.forEach(e=>{null==e.target&&n.has(e.name)||this._reportError(`Event binding ${e.fullName} not emitted by any directive on an embedded template. Make sure that the event name is spelled correctly and all directives are listed in the "@NgModule.declarations".`,e.sourceSpan)})}_checkPropertiesInSchema(e,t){return t.filter(t=>{if(0===t.type&&!this._schemaRegistry.hasProperty(e,t.name,this._schemas)){let n=`Can't bind to '${t.name}' since it isn't a known property of '${e}'.`;e.startsWith("ng-")?n+=`\n1. If '${t.name}' is an Angular directive, then add 'CommonModule' to the '@NgModule.imports' of this component.\n2. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.`:e.indexOf("-")>-1&&(n+=`\n1. If '${e}' is an Angular component and it has '${t.name}' input, then verify that it is part of this module.\n2. If '${e}' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.\n3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.`),this._reportError(n,t.sourceSpan)}return!mc(t.value)})}_reportError(e,t,n=Ms.ERROR){this._targetErrors.push(new js(t,e,n))}}class lc{constructor(e,t,n){this.name=e,this.value=t,this.sourceSpan=n}
1isReferenceToDirective(e){return-1!==(t=e.exportAs,t?t.split(",").map(e=>e.trim()):[]).indexOf(this.value);var t}}class cc{constructor(e,t,n,r){this.isTemplateElement=e,this._ngContentIndexMatcher=t,this._wildcardNgContentIndex=n,this.providerContext=r}static create(e,t,n){const r=new y;let i=null;const s=t.find(e=>e.directive.isComponent);if(s){const e=s.directive.template.ngContentSelectors;for(let t=0;t<e.length;t++){"*"===e[t]?i=t:r.addSelectables(v.parse(e[t]),t)}}return new cc(e,r,i,n)}findNgContentIndex(e){const t=[];return this._ngContentIndexMatcher.match(e,(e,n)=>{t.push(n)}),t.sort(),null!=this._wildcardNgContentIndex&&t.push(this._wildcardNgContentIndex),t.length>0?t[0]:null}}function uc(e,t){const n=new v,r=s(e)[1];n.setElement(r);for(let i=0;i<t.length;i++){const e=t[i][0],r=s(e)[1],o=t[i][1];if(n.addAttribute(r,o),"class"==e.toLowerCase()){o.trim().split(/\s+/g).forEach(e=>n.addClassName(e))}}return n}const hc=new cc(!0,new y,null,null),dc=new class{visitElement(e,t){const n=Zl(e);if(n.type===Jl.SCRIPT||n.type===Jl.STYLE||n.type===Jl.STYLESHEET)return null;const r=e.attrs.map(e=>[e.name,e.value]),i=uc(e.name,r),s=t.findNgContentIndex(i),o=Ma(this,e.children,hc);return new El(e.name,Ma(this,e.attrs),[],[],[],[],[],!1,[],o,s,e.sourceSpan,e.endSourceSpan)}visitComment(e,t){return null}visitAttribute(e,t){return new bl(e.name,e.value,e.sourceSpan)}visitText(e,t){const n=t.findNgContentIndex(rc());return new vl(e.value,n,e.sourceSpan)}visitExpansion(e,t){return e}visitExpansionCase(e,t){return e}};function pc(e){return e instanceof ka&&0==e.value.trim().length}function fc(e){const t=new Map;return e.forEach(e=>{t.get(e.type.reference)||t.set(e.type.reference,e)}),Array.from(t.values())}function mc(e){return e instanceof bo&&(e=e.ast),e instanceof Ks}function gc(e){const t=e.charCodeAt(0);if(t==e.charCodeAt(e.length-1)&&(39==t||34==t)){const t=e.substring(1,e.length-1);-1==t.indexOf("'")&&-1==t.indexOf('"')&&(e=t)}return e}function vc(e){return e.replace(/[a-z][A-Z]/g,e=>e.charAt(0)+"-"+e.charAt(1)).toLowerCase()}class yc{constructor(e){this._directiveExpr=e,this._hasInitialValues=!1,this.hasBindings=!1,this.hasBindingsWithPipes=!1,this._classMapInput=null,this._styleMapInput=null,this._singleStyleInputs=null,this._singleClassInputs=null,this._lastStylingInput=null,this._firstStylingInput=null,this._stylesIndex=new Map,this._classesIndex=new Map,this._initialStyleValues=[],this._initialClassValues=[]}registerBoundInput(e){let t=null,n=e.name;switch(e.type){case 0:t=this.registerInputBasedOnName(n,e.value,e.sourceSpan);break;case 3:t=this.registerStyleInput(n,!1,e.value,e.sourceSpan,e.unit);break;case 2:t=this.registerClassInput(n,!1,e.value,e.sourceSpan)}return!!t}registerInputBasedOnName(e,t,n){let r=null;const i=e.substring(0,6),s="style"===e||"style."===i||"style!"===i;if(s||!s&&("class"===e||"class."===i||"class!"===i)){const i="."!==e.charAt(5),o=e.substr(i?5:6);r=s?this.registerStyleInput(o,i,t,n):this.registerClassInput(o,i,t,n)}return r}registerStyleInput(e,t,n,r,i){if(mc(n))return null;(function(e){return e.startsWith("--")})(e)||(e=vc(e));const{property:s,hasOverrideFlag:o,suffix:a}=wc(e),l={name:s,suffix:i="string"==typeof i&&0!==i.length?i:a,value:n,sourceSpan:r,hasOverrideFlag:o};return t?this._styleMapInput=l:((this._singleStyleInputs=this._singleStyleInputs||[]).push(l),bc(this._stylesIndex,s)),this._lastStylingInput=l,this._firstStylingInput=this._firstStylingInput||l,this._checkForPipes(n),this.hasBindings=!0,l}registerClassInput(e,t,n,r){if(mc(n))return null;const{property:i,hasOverrideFlag:s}=wc(e),o={name:i,value:n,sourceSpan:r,hasOverrideFlag:s,suffix:null};return t?this._classMapInput=o:((this._singleClassInputs=this._singleClassInputs||[]).push(o),bc(this._classesIndex,i)),this._lastStylingInput=o,this._firstStylingInput=this._firstStylingInput||o,this._checkForPipes(n),this.hasBindings=!0,o}_checkForPipes(e){e instanceof bo&&e.ast instanceof so&&(this.hasBindingsWithPipes=!0)}registerStyleAttr(e){this._initialStyleValues=function(e){const t=[];let n=0,r=0,i=0,s=0,o=0,a=null,l=!1;for(;n<e.length;)switch(e.charCodeAt(n++)){case 40:r++;break;case 41:r--;break;case 39:l=l||s>0,0===i?i=39:39===i&&92!==e.charCodeAt(n-1)&&(i=0);break;case 34:l=l||s>0,0===i?i=34:34===i&&92!==e.charCodeAt(n-1)&&(i=0);break;case 58:a||0!==r||0!==i||(a=vc(e.substring(o,n-1).trim()),s=n);break;case 59:if(a&&s>0&&0===r&&0===i){const r=e.substring(s,n-1).trim();t.push(a,l?gc(r):r),o=n,s=0,a=null,l=!1}}if(a&&s){const n=e.substr(s).trim();t.push(a,l?gc(n):n)}return t}(e),this._hasInitialValues=!0}registerClassAttr(e){this._initialClassValues=e.trim().split(/\s+/g),this._hasInitialValues=!0}populateInitialStylingAttrs(e){if(this._initialClassValues.length){e.push(Nt(1));for(let t=0;t<this._initialClassValues.length;t++)e.push(Nt(this._initialClassValues[t]))}if(this._initialStyleValues.length){e.push(Nt(2));for(let t=0;t<this._initialStyleValues.length;t+=2)e.push(Nt(this._initialStyleValues[t]),Nt(this._initialStyleValues[t+1]))}}assignHostAttrs(e,t){this._directiveExpr&&(e.length||this._hasInitialValues)&&(this.populateInitialStylingAttrs(e),t.set("hostAttrs",Tt(e)))}buildClassMapInstruction(e){return this._classMapInput?this._buildMapBasedInstruction(e,!0,this._classMapInput):null}buildStyleMapInstruction(e){return this._styleMapInput?this._buildMapBasedInstruction(e,!1,this._styleMapInput):null}_buildMapBasedInstruction(e,t,n){let r=2;const i=n.value.visit(e);let s;return i instanceof co?(r+=i.expressions.length,s=t?function(e){switch(Gi(e)){case 1:return Hn.classMap;case 3:return Hn.classMapInterpolate1;case 5:return Hn.classMapInterpolate2;case 7:return Hn.classMapInterpolate3;case 9:return Hn.classMapInterpolate4;case 11:return Hn.classMapInterpolate5;case 13:return Hn.classMapInterpolate6;case 15:return Hn.classMapInterpolate7;case 17:return Hn.classMapInterpolate8;default:return Hn.classMapInterpolateV}}(i):function(e){switch(Gi(e)){case 1:return Hn.styleMap;case 3:return Hn.styleMapInterpolate1;case 5:return Hn.styleMapInterpolate2;case 7:return Hn.styleMapInterpolate3;case 9:return Hn.styleMapInterpolate4;case 11:return Hn.styleMapInterpolate5;case 13:return Hn.styleMapInterpolate6;case 15:return Hn.styleMapInterpolate7;case 17:return Hn.styleMapInterpolate8;default:return Hn.styleMapInterpolateV}}(i)):s=t?Hn.classMap:Hn.styleMap,{reference:s,calls:[{supportsInterpolation:!0,sourceSpan:n.sourceSpan,allocateBindingSlots:r,params:e=>{const t=e(i);return Array.isArray(t)?t:[t]}}]}}_buildSingleInputs(e,t,n,r,i){const s=[];return t.forEach(t=>{const o=s[s.length-1],a=t.value.visit(n);let l=e,c=2;a instanceof co&&(c+=a.expressions.length,r&&(l=r(a)));const u={sourceSpan:t.sourceSpan,allocateBindingSlots:c,supportsInterpolation:!!r,params:e=>{const n=[];n.push(Nt(t.name));const r=e(a);return Array.isArray(r)?n.push(...r):n.push(r),i||null===t.suffix||n.push(Nt(t.suffix)),n}};o&&o.reference===l?o.calls.push(u):s.push({reference:l,calls:[u]})}),s}_buildClassInputs(e){return this._singleClassInputs?this._buildSingleInputs(Hn.classProp,this._singleClassInputs,e,null,!0):[]}_buildStyleInputs(e){return this._singleStyleInputs?this._buildSingleInputs(Hn.styleProp,this._singleStyleInputs,e,_c,!1):[]}buildUpdateLevelInstructions(e){const t=[];if(this.hasBindings){const n=this.buildStyleMapInstruction(e);
1n&&t.push(n);const r=this.buildClassMapInstruction(e);r&&t.push(r),t.push(...this._buildStyleInputs(e)),t.push(...this._buildClassInputs(e))}return t}}function bc(e,t){e.has(t)||e.set(t,e.size)}function wc(e){let t=!1;const n=e.indexOf("!important");-1!==n&&(e=n>0?e.substring(0,n):"",t=!0);let r=null,i=e;const s=e.lastIndexOf(".");return s>0&&(r=e.substr(s+1),i=e.substring(0,s)),{property:i,suffix:r,hasOverrideFlag:t}}function _c(e){switch(Gi(e)){case 1:return Hn.styleProp;case 3:return Hn.stylePropInterpolate1;case 5:return Hn.stylePropInterpolate2;case 7:return Hn.stylePropInterpolate3;case 9:return Hn.stylePropInterpolate4;case 11:return Hn.stylePropInterpolate5;case 13:return Hn.stylePropInterpolate6;case 15:return Hn.stylePropInterpolate7;case 17:return Hn.stylePropInterpolate8;default:return Hn.stylePropInterpolateV}}var xc;!function(e){e[e.Character=0]="Character",e[e.Identifier=1]="Identifier",e[e.Keyword=2]="Keyword",e[e.String=3]="String",e[e.Operator=4]="Operator",e[e.Number=5]="Number",e[e.Error=6]="Error"}(xc||(xc={}));const Cc=["var","let","as","null","undefined","true","false","if","else","this"];class Sc{tokenize(e){const t=new Tc(e),n=[];let r=t.scanToken();for(;null!=r;)n.push(r),r=t.scanToken();return n}}class Ec{constructor(e,t,n,r,i){this.index=e,this.end=t,this.type=n,this.numValue=r,this.strValue=i}isCharacter(e){return this.type==xc.Character&&this.numValue==e}isNumber(){return this.type==xc.Number}isString(){return this.type==xc.String}isOperator(e){return this.type==xc.Operator&&this.strValue==e}isIdentifier(){return this.type==xc.Identifier}isKeyword(){return this.type==xc.Keyword}isKeywordLet(){return this.type==xc.Keyword&&"let"==this.strValue}isKeywordAs(){return this.type==xc.Keyword&&"as"==this.strValue}isKeywordNull(){return this.type==xc.Keyword&&"null"==this.strValue}isKeywordUndefined(){return this.type==xc.Keyword&&"undefined"==this.strValue}isKeywordTrue(){return this.type==xc.Keyword&&"true"==this.strValue}isKeywordFalse(){return this.type==xc.Keyword&&"false"==this.strValue}isKeywordThis(){return this.type==xc.Keyword&&"this"==this.strValue}isError(){return this.type==xc.Error}toNumber(){return this.type==xc.Number?this.numValue:-1}toString(){switch(this.type){case xc.Character:case xc.Identifier:case xc.Keyword:case xc.Operator:case xc.String:case xc.Error:return this.strValue;case xc.Number:return this.numValue.toString();default:return null}}}function Ac(e,t,n){return new Ec(e,t,xc.Character,n,String.fromCharCode(n))}function kc(e,t,n){return new Ec(e,t,xc.Operator,0,n)}const Ic=new Ec(-1,-1,xc.Character,0,"");class Tc{constructor(e){this.input=e,this.peek=0,this.index=-1,this.length=e.length,this.advance()}advance(){this.peek=++this.index>=this.length?0:this.input.charCodeAt(this.index)}scanToken(){const e=this.input,t=this.length;let n=this.peek,r=this.index;for(;n<=32;){if(++r>=t){n=0;break}n=e.charCodeAt(r)}if(this.peek=n,this.index=r,r>=t)return null;if(Oc(n))return this.scanIdentifier();if(As(n))return this.scanNumber(r);const i=r;switch(n){case 46:return this.advance(),As(this.peek)?this.scanNumber(i):Ac(i,this.index,46);case 40:case ps:case Cs:case Ss:case 91:case 93:case fs:case gs:case vs:return this.scanCharacter(i,n);case 39:case 34:return this.scanString();case 35:case 43:case 45:case 42:case ms:case 37:case 94:return this.scanOperator(i,String.fromCharCode(n));case 63:return this.scanComplexOperator(i,"?",46,".");case ys:case ws:return this.scanComplexOperator(i,String.fromCharCode(n),bs,"=");case 33:case bs:return this.scanComplexOperator(i,String.fromCharCode(n),bs,"=",bs,"=");case 38:return this.scanComplexOperator(i,"&",38,"&");case 124:return this.scanComplexOperator(i,"|",124,"|");case 160:for(;Es(this.peek);)this.advance();return this.scanToken()}return this.advance(),this.error(`Unexpected character [${String.fromCharCode(n)}]`,0)}scanCharacter(e,t){return this.advance(),Ac(e,this.index,t)}scanOperator(e,t){return this.advance(),kc(e,this.index,t)}scanComplexOperator(e,t,n,r,i,s){this.advance();let o=t;return this.peek==n&&(this.advance(),o+=r),null!=i&&this.peek==i&&(this.advance(),o+=s),kc(e,this.index,o)}scanIdentifier(){const e=this.index;for(this.advance();Dc(this.peek);)this.advance();const t=this.input.substring(e,this.index);return Cc.indexOf(t)>-1?(n=e,r=this.index,i=t,new Ec(n,r,xc.Keyword,0,i)):function(e,t,n){return new Ec(e,t,xc.Identifier,0,n)}(e,this.index,t);var n,r,i}scanNumber(e){let t=this.index===e;for(this.advance();;){if(As(this.peek));else if(46==this.peek)t=!1;else{if(101!=(n=this.peek)&&69!=n)break;if(this.advance(),Pc(this.peek)&&this.advance(),!As(this.peek))return this.error("Invalid exponent",-1);t=!1}this.advance()}var n;const r=this.input.substring(e,this.index),i=t?function(e){const t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}(r):parseFloat(r);return s=e,o=this.index,a=i,new Ec(s,o,xc.Number,a,"");var s,o,a}scanString(){const e=this.index,t=this.peek;this.advance();let n="",r=this.index;const i=this.input;for(;this.peek!=t;)if(92==this.peek){let e;if(n+=i.substring(r,this.index),this.advance(),this.peek=this.peek,117==this.peek){const t=i.substring(this.index+1,this.index+5);if(!/^[0-9a-f]+$/i.test(t))return this.error(`Invalid unicode escape [\\u${t}]`,0);e=parseInt(t,16);for(let e=0;e<5;e++)this.advance()}else e=Nc(this.peek),this.advance();n+=String.fromCharCode(e),r=this.index}else{if(0==this.peek)return this.error("Unterminated quote",0);this.advance()}const s=i.substring(r,this.index);return this.advance(),o=e,a=this.index,l=n+s,new Ec(o,a,xc.String,0,l);var o,a,l}
1error(e,t){const n=this.index+t;return function(e,t,n){return new Ec(e,t,xc.Error,0,n)}(n,this.index,`Lexer Error: ${e} at column ${n} in expression [${this.input}]`)}}function Oc(e){return _s<=e&&e<=xs||65<=e&&e<=90||95==e||36==e}function Dc(e){return ks(e)||As(e)||95==e||36==e}function Pc(e){return 45==e||43==e}function Mc(e){return 39===e||34===e||96===e}function Nc(e){switch(e){case 110:return ds;case 102:return 12;case 114:return 13;case 116:return 9;case 118:return 11;default:return e}}class Rc{constructor(e,t,n){this.strings=e,this.expressions=t,this.offsets=n}}class Lc{constructor(e,t,n){this.templateBindings=e,this.warnings=t,this.errors=n}}class jc{constructor(e){this._lexer=e,this.errors=[],this.simpleExpressionChecker=Vc}parseAction(e,t,n,r=is){this._checkNoInterpolation(e,t,r);const i=this._stripComments(e),s=this._lexer.tokenize(this._stripComments(e)),o=new $c(e,t,n,s,i.length,!0,this.errors,e.length-i.length).parseChain();return new bo(o,e,t,n,this.errors)}parseBinding(e,t,n,r=is){const i=this._parseBindingAst(e,t,n,r);return new bo(i,e,t,n,this.errors)}checkSimpleExpression(e){const t=new this.simpleExpressionChecker;return e.visit(t),t.errors}parseSimpleBinding(e,t,n,r=is){const i=this._parseBindingAst(e,t,n,r),s=this.checkSimpleExpression(i);return s.length>0&&this._reportError(`Host binding expression cannot contain ${s.join(" ")}`,e,t),new bo(i,e,t,n,this.errors)}_reportError(e,t,n,r){this.errors.push(new Hs(e,t,n,r))}_parseBindingAst(e,t,n,r){const i=this._parseQuote(e,t,n);if(null!=i)return i;this._checkNoInterpolation(e,t,r);const s=this._stripComments(e),o=this._lexer.tokenize(s);return new $c(e,t,n,o,s.length,!1,this.errors,e.length-s.length).parseChain()}_parseQuote(e,t,n){if(null==e)return null;const r=e.indexOf(":");if(-1==r)return null;const i=e.substring(0,r).trim();if(!function(e){if(0==e.length)return!1;const t=new Tc(e);if(!Oc(t.peek))return!1;for(t.advance();0!==t.peek;){if(!Dc(t.peek))return!1;t.advance()}return!0}(i))return null;const s=e.substring(r+1),o=new qs(0,e.length);return new Qs(o,o.toAbsolute(n),i,s,t)}parseTemplateBindings(e,t,n,r,i){const s=this._lexer.tokenize(t);return new $c(t,n,i,s,t.length,!1,this.errors,0).parseTemplateBindings({source:e,span:new yo(r,r+e.length)})}parseInterpolation(e,t,n,r=is){const{strings:i,expressions:s,offsets:o}=this.splitInterpolation(e,t,r);if(0===s.length)return null;const a=[];for(let l=0;l<s.length;++l){const r=s[l].text,i=this._stripComments(r),c=this._lexer.tokenize(i),u=new $c(e,t,n,c,i.length,!1,this.errors,o[l]+(r.length-i.length)).parseChain();a.push(u)}return this.createInterpolationAst(i.map(e=>e.text),a,e,t,n)}parseInterpolationExpression(e,t,n){const r=this._stripComments(e),i=this._lexer.tokenize(r),s=new $c(e,t,n,i,r.length,!1,this.errors,0).parseChain();return this.createInterpolationAst(["",""],[s],e,t,n)}createInterpolationAst(e,t,n,r,i){const s=new qs(0,n.length),o=new co(s,s.toAbsolute(i),e,t);return new bo(o,n,r,i,this.errors)}splitInterpolation(e,t,n=is){const r=[],i=[],s=[];let o=0,a=!1,l=!1,{start:c,end:u}=n;for(;o<e.length;)if(a){const n=o,r=n+c.length,h=this._getInterpolationEndIndex(e,u,r);if(-1===h){a=!1,l=!0;break}const d=h+u.length,p=e.substring(r,h);0===p.trim().length&&this._reportError("Blank expressions are not allowed in interpolated strings",e,`at column ${o} in`,t),i.push({text:p,start:n,end:d}),s.push(r),o=d,a=!1}else{const t=o;o=e.indexOf(c,o),-1===o&&(o=e.length);const n=e.substring(t,o);r.push({text:n,start:t,end:o}),a=!0}if(!a)if(l){const t=r[r.length-1];t.text+=e.substring(o),t.end=e.length}else r.push({text:e.substring(o),start:o,end:e.length});return new Rc(r,i,s)}wrapLiteralPrimitive(e,t,n){const r=new qs(0,null==e?0:e.length);return new bo(new oo(r,r.toAbsolute(n),e),e,t,n,this.errors)}_stripComments(e){const t=this._commentStart(e);return null!=t?e.substring(0,t).trim():e}_commentStart(e){let t=null;for(let n=0;n<e.length-1;n++){const r=e.charCodeAt(n),i=e.charCodeAt(n+1);if(r===ms&&i==ms&&null==t)return n;t===r?t=null:null==t&&Mc(r)&&(t=r)}return null}_checkNoInterpolation(e,t,{start:n,end:r}){let i=-1,s=-1;
1for(const o of this._forEachUnquotedChar(e,0))if(-1===i)e.startsWith(n)&&(i=o);else if(s=this._getInterpolationEndIndex(e,r,o),s>-1)break;i>-1&&s>-1&&this._reportError(`Got interpolation (${n}${r}) where expression was expected`,e,`at column ${i} in`,t)}_getInterpolationEndIndex(e,t,n){for(const r of this._forEachUnquotedChar(e,n)){if(e.startsWith(t,r))return r;if(e.startsWith("//",r))return e.indexOf(t,r)}return-1}*_forEachUnquotedChar(e,t){let n=null,r=0;for(let i=t;i<e.length;i++){const t=e[i];!Mc(e.charCodeAt(i))||null!==n&&n!==t||r%2!=0?null===n&&(yield i):n=null===n?t:null,r="\\"===t?r+1:0}}}class Fc extends jc{constructor(){super(...arguments),this.simpleExpressionChecker=Uc}}var Bc;!function(e){e[e.None=0]="None",e[e.Writable=1]="Writable"}(Bc||(Bc={}));class $c{constructor(e,t,n,r,i,s,o,a){this.input=e,this.location=t,this.absoluteOffset=n,this.tokens=r,this.inputLength=i,this.parseAction=s,this.errors=o,this.offset=a,this.rparensExpected=0,this.rbracketsExpected=0,this.rbracesExpected=0,this.context=Bc.None,this.sourceSpanCache=new Map,this.index=0}peek(e){const t=this.index+e;return t<this.tokens.length?this.tokens[t]:Ic}get next(){return this.peek(0)}get atEOF(){return this.index>=this.tokens.length}get inputIndex(){return this.atEOF?this.currentEndIndex:this.next.index+this.offset}get currentEndIndex(){if(this.index>0){return this.peek(-1).end+this.offset}return 0===this.tokens.length?this.inputLength+this.offset:this.next.index+this.offset}get currentAbsoluteOffset(){return this.absoluteOffset+this.inputIndex}span(e,t){let n=this.currentEndIndex;return void 0!==t&&t>this.currentEndIndex&&(n=t),new qs(e,n)}sourceSpan(e,t){const n=`${e}@${this.inputIndex}:${t}`;return this.sourceSpanCache.has(n)||this.sourceSpanCache.set(n,this.span(e,t).toAbsolute(this.absoluteOffset)),this.sourceSpanCache.get(n)}advance(){this.index++}withContext(e,t){this.context|=e;const n=t();return this.context^=e,n}consumeOptionalCharacter(e){return!!this.next.isCharacter(e)&&(this.advance(),!0)}peekKeywordLet(){return this.next.isKeywordLet()}peekKeywordAs(){return this.next.isKeywordAs()}expectCharacter(e){this.consumeOptionalCharacter(e)||this.error(`Missing expected ${String.fromCharCode(e)}`)}consumeOptionalOperator(e){return!!this.next.isOperator(e)&&(this.advance(),!0)}expectOperator(e){this.consumeOptionalOperator(e)||this.error(`Missing expected operator ${e}`)}prettyPrintToken(e){return e===Ic?"end of input":`token ${e}`}expectIdentifierOrKeyword(){const e=this.next;return e.isIdentifier()||e.isKeyword()?(this.advance(),e.toString()):(this.error(`Unexpected ${this.prettyPrintToken(e)}, expected identifier or keyword`),null)}expectIdentifierOrKeywordOrString(){const e=this.next;return e.isIdentifier()||e.isKeyword()||e.isString()?(this.advance(),e.toString()):(this.error(`Unexpected ${this.prettyPrintToken(e)}, expected identifier, keyword, or string`),"")}parseChain(){const e=[],t=this.inputIndex;for(;this.index<this.tokens.length;){const t=this.parsePipe();if(e.push(t),this.consumeOptionalCharacter(vs))for(this.parseAction||this.error("Binding expression cannot contain chained expression");this.consumeOptionalCharacter(vs););else this.index<this.tokens.length&&this.error(`Unexpected token '${this.next}'`)}if(0==e.length){const e=this.offset,t=this.offset+this.inputLength;return new Ks(this.span(e,t),this.sourceSpan(e,t))}return 1==e.length?e[0]:new Zs(this.span(t),this.sourceSpan(t),e)}parsePipe(){const e=this.inputIndex;let t=this.parseExpression();if(this.consumeOptionalOperator("|")){this.parseAction&&this.error("Cannot have a pipe in an action expression");do{const n=this.inputIndex;let r,i,s=this.expectIdentifierOrKeyword();null!==s?r=this.sourceSpan(n):(s="",i=-1!==this.next.index?this.next.index:this.inputLength+this.offset,r=new qs(i,i).toAbsolute(this.absoluteOffset));const o=[];for(;this.consumeOptionalCharacter(gs);)o.push(this.parseExpression());t=new so(this.span(e),this.sourceSpan(e,i),t,s,o,r)}while(this.consumeOptionalOperator("|"))}return t}parseExpression(){return this.parseConditional()}parseConditional(){const e=this.inputIndex,t=this.parseLogicalOr();if(this.consumeOptionalOperator("?")){const n=this.parsePipe();let r;if(this.consumeOptionalCharacter(gs))r=this.parsePipe();else{const t=this.inputIndex,n=this.input.substring(e,t);this.error(`Conditional expression ${n} requires all 3 expressions`),r=new Ks(this.span(e),this.sourceSpan(e))}return new Js(this.span(e),this.sourceSpan(e),t,n,r)}return t}parseLogicalOr(){const e=this.inputIndex;let t=this.parseLogicalAnd();for(;this.consumeOptionalOperator("||");){const n=this.parseLogicalAnd();t=new uo(this.span(e),this.sourceSpan(e),"||",t,n)}return t}parseLogicalAnd(){const e=this.inputIndex;let t=this.parseEquality();for(;this.consumeOptionalOperator("&&");){const n=this.parseEquality();t=new uo(this.span(e),this.sourceSpan(e),"&&",t,n)}return t}parseEquality(){const e=this.inputIndex;let t=this.parseRelational();for(;this.next.type==xc.Operator;){const n=this.next.strValue;switch(n){case"==":case"===":case"!=":case"!==":this.advance();const r=this.parseRelational();t=new uo(this.span(e),this.sourceSpan(e),n,t,r);continue}break}return t}parseRelational(){const e=this.inputIndex;let t=this.parseAdditive();for(;this.next.type==xc.Operator;){const n=this.next.strValue;switch(n){case"<":case">":case"<=":case">=":this.advance();const r=this.parseAdditive();t=new uo(this.span(e),this.sourceSpan(e),n,t,r);continue}break}return t}parseAdditive(){const e=this.inputIndex;let t=this.parseMultiplicative();for(;this.next.type==xc.Operator;){const n=this.next.strValue;switch(n){case"+":case"-":this.advance();let r=this.parseMultiplicative();t=new uo(this.span(e),this.sourceSpan(e),n,t,r);continue}break}return t}parseMultiplicative(){const e=this.inputIndex;let t=this.parsePrefix();for(;this.next.type==xc.Operator;){const n=this.next.strValue;switch(n){case"*":case"%":case"/":this.advance();let r=this.parsePrefix();t=new uo(this.span(e),this.sourceSpan(e),n,t,r);continue}break}return t}parsePrefix(){if(this.next.type==xc.Operator){const e=this.inputIndex;let t;switch(this.next.strValue){case"+":return this.advance(),t=this.parsePrefix(),ho.createPlus(this.span(e),this.sourceSpan(e),t);case"-":return this.advance(),t=this.parsePrefix(),ho.createMinus(this.span(e),this.sourceSpan(e),t);case"!":return this.advance(),t=this.parsePrefix(),new po(this.span(e),this.sourceSpan(e),t)}}return this.parseCallChain()}parseCallChain(){const e=this.inputIndex;let t=this.parsePrimary();for(;;)if(this.consumeOptionalCharacter(46))t=this.parseAccessMemberOrMethodCall(t,e,!1);else if(this.consumeOptionalOperator("?."))t=this.parseAccessMemberOrMethodCall(t,e,!0);else if(this.consumeOptionalCharacter(91))this.withContext(Bc.Writable,()=>{this.rbracketsExpected++;const n=this.parsePipe();if(n instanceof Ks&&this.error("Key access cannot be empty"),this.rbracketsExpected--,this.expectCharacter(93),this.consumeOptionalOperator("=")){const r=this.parseConditional();t=new io(this.span(e),this.sourceSpan(e),t,n,r)}else t=new ro(this.span(e),this.sourceSpan(e),t,n)});else if(this.consumeOptionalCharacter(40)){this.rparensExpected++;const n=this.parseCallArguments();this.rparensExpected--,this.expectCharacter(ps),t=new vo(this.span(e),this.sourceSpan(e),t,n)}else{if(!this.consumeOptionalOperator("!"))return t;t=new fo(this.span(e),this.sourceSpan(e),t)}}parsePrimary(){const e=this.inputIndex;if(this.consumeOptionalCharacter(40)){this.rparensExpected++;const e=this.parsePipe();return this.rparensExpected--,this.expectCharacter(ps),e}if(this.next.isKeywordNull())return this.advance(),new oo(this.span(e),this.sourceSpan(e),null);if(this.next.isKeywordUndefined())return this.advance(),new oo(this.span(e),this.sourceSpan(e),void 0);if(this.next.isKeywordTrue())return this.advance(),new oo(this.span(e),this.sourceSpan(e),!0);if(this.next.isKeywordFalse())return this.advance(),new oo(this.span(e),this.sourceSpan(e),!1);if(this.next.isKeywordThis())return this.advance(),new Ys(this.span(e),this.sourceSpan(e));if(this.consumeOptionalCharacter(91)){this.rbracketsExpected++;const t=this.parseExpressionList(93);return this.rbracketsExpected--,this.expectCharacter(93),new ao(this.span(e),this.sourceSpan(e),t)}if(this.next.isCharacter(Cs))return this.parseLiteralMap();if(this.next.isIdentifier())return this.parseAccessMemberOrMethodCall(new Xs(this.span(e),this.sourceSpan(e)),e,!1);if(this.next.isNumber()){const t=this.next.toNumber();return this.advance(),new oo(this.span(e),this.sourceSpan(e),t)}if(this.next.isString()){const t=this.next.toString();return this.advance(),new oo(this.span(e),this.sourceSpan(e),t)}return this.index>=this.tokens.length?(this.error(`Unexpected end of expression: ${this.input}`),new Ks(this.span(e),this.sourceSpan(e))):(this.error(`Unexpected token ${this.next}`),new Ks(this.span(e),this.sourceSpan(e)))}parseExpressionList(e){const t=[];do{if(this.next.isCharacter(e))break;t.push(this.parsePipe())}while(this.consumeOptionalCharacter(fs));return t}parseLiteralMap(){const e=[],t=[],n=this.inputIndex;if(this.expectCharacter(Cs),!this.consumeOptionalCharacter(Ss)){this.rbracesExpected++;do{const n=this.next.isString(),r=this.expectIdentifierOrKeywordOrString();e.push({key:r,quoted:n}),this.expectCharacter(gs),t.push(this.parsePipe())}while(this.consumeOptionalCharacter(fs));this.rbracesExpected--,this.expectCharacter(Ss)}return new lo(this.span(n),this.sourceSpan(n),e,t)}parseAccessMemberOrMethodCall(e,t,n=!1){const r=this.inputIndex,i=this.withContext(Bc.Writable,()=>{var t;const n=null!==(t=this.expectIdentifierOrKeyword())&&void 0!==t?t:"";return 0===n.length&&this.error("Expected identifier for property access",e.span.end),n}),s=this.sourceSpan(r);if(this.consumeOptionalCharacter(40)){this.rparensExpected++;const r=this.parseCallArguments();this.expectCharacter(ps),this.rparensExpected--;const o=this.span(t),a=this.sourceSpan(t);return n?new go(o,a,s,e,i,r):new mo(o,a,s,e,i,r)}if(n)return this.consumeOptionalOperator("=")?(this.error("The '?.' operator cannot be used in the assignment"),new Ks(this.span(t),this.sourceSpan(t))):new no(this.span(t),this.sourceSpan(t),s,e,i);if(this.consumeOptionalOperator("=")){if(!this.parseAction)return this.error("Bindings cannot contain assignments"),new 
1Ks(this.span(t),this.sourceSpan(t));const n=this.parseConditional();return new to(this.span(t),this.sourceSpan(t),s,e,i,n)}return new eo(this.span(t),this.sourceSpan(t),s,e,i)}parseCallArguments(){if(this.next.isCharacter(ps))return[];const e=[];do{e.push(this.parsePipe())}while(this.consumeOptionalCharacter(fs));return e}expectTemplateBindingKey(){let e="",t=!1;const n=this.currentAbsoluteOffset;do{e+=this.expectIdentifierOrKeywordOrString(),t=this.consumeOptionalOperator("-"),t&&(e+="-")}while(t);return{source:e,span:new yo(n,n+e.length)}}parseTemplateBindings(e){const t=[];for(t.push(...this.parseDirectiveKeywordBindings(e));this.index<this.tokens.length;){const n=this.parseLetBinding();if(n)t.push(n);else{const n=this.expectTemplateBindingKey(),r=this.parseAsBinding(n);r?t.push(r):(n.source=e.source+n.source.charAt(0).toUpperCase()+n.source.substring(1),t.push(...this.parseDirectiveKeywordBindings(n)))}this.consumeStatementTerminator()}return new Lc(t,[],this.errors)}parseDirectiveKeywordBindings(e){const t=[];this.consumeOptionalCharacter(gs);const n=this.getDirectiveBoundTarget();let r=this.currentAbsoluteOffset;const i=this.parseAsBinding(e);i||(this.consumeStatementTerminator(),r=this.currentAbsoluteOffset);const s=new yo(e.span.start,r);return t.push(new _o(s,e,n)),i&&t.push(i),t}getDirectiveBoundTarget(){if(this.next===Ic||this.peekKeywordAs()||this.peekKeywordLet())return null;const e=this.parsePipe(),{start:t,end:n}=e.span,r=this.input.substring(t,n);return new bo(e,r,this.location,this.absoluteOffset+t,this.errors)}parseAsBinding(e){if(!this.peekKeywordAs())return null;this.advance();const t=this.expectTemplateBindingKey();this.consumeStatementTerminator();const n=new yo(e.span.start,this.currentAbsoluteOffset);return new wo(n,t,e)}parseLetBinding(){if(!this.peekKeywordLet())return null;const e=this.currentAbsoluteOffset;this.advance();const t=this.expectTemplateBindingKey();let n=null;this.consumeOptionalOperator("=")&&(n=this.expectTemplateBindingKey()),this.consumeStatementTerminator();const r=new yo(e,this.currentAbsoluteOffset);return new wo(r,t,n)}consumeStatementTerminator(){this.consumeOptionalCharacter(vs)||this.consumeOptionalCharacter(fs)}error(e,t=null){this.errors.push(new Hs(e,this.input,this.locationText(t),this.location)),this.skip()}locationText(e=null){return null==e&&(e=this.index),e<this.tokens.length?`at column ${this.tokens[e].index+1} in`:"at the end of the expression"}skip(){let e=this.next;for(;!(!(this.index<this.tokens.length)||e.isCharacter(vs)||e.isOperator("|")||!(this.rparensExpected<=0)&&e.isCharacter(ps)||!(this.rbracesExpected<=0)&&e.isCharacter(Ss)||!(this.rbracketsExpected<=0)&&e.isCharacter(93)||this.context&Bc.Writable&&e.isOperator("="));)this.next.isError()&&this.errors.push(new Hs(this.next.toString(),this.input,this.locationText(),this.location)),this.advance(),e=this.next}}class Vc{constructor(){this.errors=[]}visitImplicitReceiver(e,t){}visitThisReceiver(e,t){}visitInterpolation(e,t){}visitLiteralPrimitive(e,t){}visitPropertyRead(e,t){}visitPropertyWrite(e,t){}visitSafePropertyRead(e,t){}visitMethodCall(e,t){}visitSafeMethodCall(e,t){}visitFunctionCall(e,t){}visitLiteralArray(e,t){this.visitAll(e.expressions,t)}visitLiteralMap(e,t){this.visitAll(e.values,t)}visitUnary(e,t){}visitBinary(e,t){}visitPrefixNot(e,t){}visitNonNullAssert(e,t){}visitConditional(e,t){}visitPipe(e,t){this.errors.push("pipes")}visitKeyedRead(e,t){}visitKeyedWrite(e,t){}visitAll(e,t){return e.map(e=>e.visit(this,t))}visitChain(e,t){}visitQuote(e,t){}}class Uc extends xo{constructor(){super(...arguments),this.errors=[]}visitPipe(){this.errors.push("pipes")}}function zc(e,t=!1){return Ot(Object.keys(e).map(n=>({key:n,quoted:t,value:e[n]})))}let Hc;function qc(){return Hc||(Hc={},Gc(W.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),Gc(W.STYLE,["*|style"]),Gc(W.URL,["*|formAction","area|href","area|ping","audio|src","a|href","a|ping","blockquote|cite","body|background","del|cite","form|action","img|src","img|srcset","input|src","ins|cite","q|cite","source|src","source|srcset","track|src","video|poster","video|src"]),Gc(W.RESOURCE_URL,["applet|code","applet|codebase","base|href","embed|src","frame|src","head|profile","html|manifest","iframe|src","link|href","media|src","object|codebase","object|data","script|src"])),Hc}function Gc(e,t){for(const n of t)Hc[n.toLowerCase()]=e}class Wc{}const Qc=["[Element]|textContent,%classList,className,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*copy,*cut,*paste,*search,*selectstart,*webkitfullscreenchange,*webkitfullscreenerror,*w
1heel,outerHTML,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,contentEditable,dir,!draggable,!hidden,innerText,lang,*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,outerText,!spellcheck,%style,#tabIndex,title,!translate","abbr,address,article,aside,b,bdi,bdo,cite,code,dd,dfn,dt,em,figcaption,figure,footer,header,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,contentEditable,dir,!draggable,!hidden,innerText,lang,*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,outerText,!spellcheck,%style,#tabIndex,title,!translate","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,src,%srcObject,#volume",":svg:^[HTMLElement]|*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!autofocus,!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,!allowFullscreen,frameBorder,height,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,#height,#hspace,!isMap,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocapitalize,autocomplete,!autofocus,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,src,text,type","select^[HTMLElement]|autocomplete,!autofocus,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","shadow^[HTMLElement]|","slot^[HTMLElement]|name","source^[HTMLElement]|media,sizes,src,srcset,type","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocapitalize,autocomplete,!autofocus,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|#height,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|"],Kc={class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},Xc=Object.keys(Kc).reduce((e,t)=>
1(e[Kc[t]]=t,e),{});class Yc extends Wc{constructor(){super(),this._schema={},Qc.forEach(e=>{const t={},[n,r]=e.split("|"),i=r.split(","),[s,o]=n.split("^");s.split(",").forEach(e=>this._schema[e.toLowerCase()]=t);const a=o&&this._schema[o.toLowerCase()];a&&Object.keys(a).forEach(e=>{t[e]=a[e]}),i.forEach(e=>{if(e.length>0)switch(e[0]){case"*":break;case"!":t[e.substring(1)]="boolean";break;case"#":t[e.substring(1)]="number";break;case"%":t[e.substring(1)]="object";break;default:t[e]="string"}})})}hasProperty(e,t,n){if(n.some(e=>e.name===V.name))return!0;if(e.indexOf("-")>-1){if(o(e)||a(e))return!1;if(n.some(e=>e.name===$.name))return!0}return!!(this._schema[e.toLowerCase()]||this._schema.unknown)[t]}hasElement(e,t){if(t.some(e=>e.name===V.name))return!0;if(e.indexOf("-")>-1){if(o(e)||a(e))return!0;if(t.some(e=>e.name===$.name))return!0}return!!this._schema[e.toLowerCase()]}securityContext(e,t,n){n&&(t=this.getMappedPropName(t)),e=e.toLowerCase(),t=t.toLowerCase();let r=qc()[e+"|"+t];return r||(r=qc()["*|"+t],r||W.NONE)}getMappedPropName(e){return Kc[e]||e}getDefaultComponentElementName(){return"ng-component"}validateProperty(e){if(e.toLowerCase().startsWith("on")){return{error:!0,msg:`Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...\nIf '${e}' is a directive input, make sure the directive is imported by the current module.`}}return{error:!1}}validateAttribute(e){if(e.toLowerCase().startsWith("on")){return{error:!0,msg:`Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`}}return{error:!1}}allKnownElementNames(){return Object.keys(this._schema)}allKnownAttributesOfElement(e){const t=this._schema[e.toLowerCase()]||this._schema.unknown;return Object.keys(t).map(e=>{var t;return null!==(t=Xc[e])&&void 0!==t?t:e})}normalizeAnimationStyleProperty(e){return e.replace(Yt,(...e)=>e[1].toUpperCase())}normalizeAnimationStyleValue(e,t,n){let r="";const i=n.toString().trim();let s=null;if(function(e){switch(e){case"width":case"height":case"minWidth":case"minHeight":case"maxWidth":case"maxHeight":case"left":case"top":case"bottom":case"right":case"fontSize":case"outlineWidth":case"outlineOffset":case"paddingTop":case"paddingLeft":case"paddingBottom":case"paddingRight":case"marginTop":case"marginLeft":case"marginBottom":case"marginRight":case"borderRadius":case"borderWidth":case"borderTopWidth":case"borderLeftWidth":case"borderRightWidth":case"borderBottomWidth":case"textIndent":return!0;default:return!1}}(e)&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&(s=`Please provide a CSS unit value for ${t}:${n}`)}return{error:s,value:i+r}}}const Zc=new Set(["iframe|srcdoc","*|innerhtml","*|outerhtml","embed|src","object|codebase","object|data"]);function Jc(e,t){return e=e.toLowerCase(),t=t.toLowerCase(),Zc.has(e+"|"+t)||Zc.has("*|"+t)}const eu=/^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/,tu={start:"[(",end:")]"},nu={start:"[",end:"]"},ru={start:"(",end:")"};class iu{constructor(e,t){this.bindingParser=e,this.options=t,this.errors=[],this.styles=[],this.styleUrls=[],this.ngContentSelectors=[],this.commentNodes=[],this.inI18nBlock=!1}visitElement(e){const t=bi(e.i18n);t&&(this.inI18nBlock&&this.reportError("Cannot mark an element as translatable inside of a translatable section. Please remove the nested i18n marker.",e.sourceSpan),this.inI18nBlock=!0);const n=Zl(e);if(n.type===Jl.SCRIPT)return null;if(n.type===Jl.STYLE){const t=1===(r=e).children.length&&r.children[0]instanceof ka?r.children[0].value:null;return null!==t&&this.styles.push(t),null}if(n.type===Jl.STYLESHEET&&Ul(n.hrefAttr))return this.styleUrls.push(n.hrefAttr),null;var r;const i=l(e.name),s=[],o=[],a=[],c=[],u=[],h={},d=[],p=[];let f=!1;for(const l of e.attrs){let e=!1;const t=ou(l.name);let n=!1;if(l.i18n&&(h[l.name]=l.i18n),t.startsWith("*")){f&&this.reportError("Can't have multiple template bindings on one element. Use only one attribute prefixed with *",l.sourceSpan),n=!0,f=!0;const e=l.value,r=t.substring("*".length),i=[],s=l.valueSpan?l.valueSpan.start.offset:l.sourceSpan.start.offset+l.name.length;this.bindingParser.parseInlineTemplateBinding(r,e,l.sourceSpan,s,[],d,i,!0),p.push(...i.map(e=>new br(e.name,e.value,e.sourceSpan,e.keySpan,e.valueSpan)))}else e=this.parseAttribute(i,l,[],s,o,a,c);e||n||u.push(this.visitAttribute(l))}const m=Ma(n.nonBindable?su:this,e.children);let g;if(n.type===Jl.NG_CONTENT){e.children&&!e.children.every(e=>function(e){return e instanceof ka&&0==e.value.trim().length}(e)||function(e){return e instanceof Pa}(e))&&this.reportError("<ng-content> element cannot have content.",e.sourceSpan);const t=n.selectAttr,r=e.attrs.map(e=>this.visitAttribute(e));g=new yr(t,r,e.sourceSpan,e.i18n),this.ngContentSelectors.push(t)}else if(i){const t=this.extractAttributes(e.name,s,h);g=new vr(e.name,u,t.bound,o,[],m,c,a,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n)}else{const t=this.extractAttributes(e.name,s,h);g=new gr(e.name,u,t.bound,o,m,c,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n)}if(f){const n=this.extractAttributes("ng-template",d,h),r=[];
1n.literal.forEach(e=>r.push(e)),n.bound.forEach(e=>r.push(e));const s=g instanceof gr?{attributes:g.attributes,inputs:g.inputs,outputs:g.outputs}:{attributes:[],inputs:[],outputs:[]},o=i&&t?void 0:e.i18n;g=new vr(g.name,s.attributes,s.inputs,s.outputs,r,[g],[],p,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,o)}return t&&(this.inI18nBlock=!1),g}visitAttribute(e){return new pr(e.name,e.value,e.sourceSpan,e.keySpan,e.valueSpan,e.i18n)}visitText(e){return this._visitTextWithInterpolation(e.value,e.sourceSpan,e.i18n)}visitExpansion(e){if(!e.i18n)return null;if(!bi(e.i18n))throw new Error(`Invalid type "${e.i18n.constructor}" for "i18n" property of ${e.sourceSpan.toString()}. Expected a "Message"`);const t=e.i18n,n={},r={};return Object.keys(t.placeholders).forEach(e=>{const i=t.placeholders[e];if(e.startsWith("VAR_")){const t=e.trim(),r=this.bindingParser.parseInterpolationExpression(i.text,i.sourceSpan);n[t]=new dr(r,i.sourceSpan)}else r[e]=this._visitTextWithInterpolation(i.text,i.sourceSpan)}),new _r(n,r,e.sourceSpan,t)}visitExpansionCase(e){return null}visitComment(e){return this.options.collectCommentNodes&&this.commentNodes.push(new ur(e.value||"",e.sourceSpan)),null}extractAttributes(e,t,n){const r=[],i=[];return t.forEach(t=>{const s=n[t.name];if(t.isLiteral)i.push(new pr(t.name,t.expression.source||"",t.sourceSpan,t.keySpan,t.valueSpan,s));else{const n=this.bindingParser.createBoundElementProperty(e,t,!0,!1);r.push(fr.fromBoundElementProperty(n,s))}}),{bound:r,literal:i}}parseAttribute(e,t,n,r,i,s,o){const a=ou(t.name),l=t.value,c=t.sourceSpan,u=t.valueSpan?t.valueSpan.start.offset:c.start.offset;function h(e,n,r){const i=t.name.length-a.length,s=e.start.moveBy(n.length+i),o=s.moveBy(r.length);return new Ps(s,o,s,r)}const d=a.match(eu);if(d){if(null!=d[1]){const e=d[7],i=h(c,d[1],e);this.bindingParser.parsePropertyBinding(e,l,!1,c,u,t.valueSpan,n,r,i)}else if(d[2])if(e){const e=d[7],n=h(c,d[2],e);this.parseVariable(e,l,c,n,t.valueSpan,s)}else this.reportError('"let-" is only supported on ng-template elements.',c);else if(d[3]){const e=d[7],n=h(c,d[3],e);this.parseReference(e,l,c,n,t.valueSpan,o)}else if(d[4]){const e=[],r=d[7],s=h(c,d[4],r);this.bindingParser.parseEvent(r,l,c,t.valueSpan||c,n,e,s),au(e,i)}else if(d[5]){const e=d[7],s=h(c,d[5],e);this.bindingParser.parsePropertyBinding(e,l,!1,c,u,t.valueSpan,n,r,s),this.parseAssignmentEvent(e,l,c,t.valueSpan,n,i,s)}else if(d[6]){const e=h(c,"",a);this.bindingParser.parseLiteralAttr(a,l,c,u,t.valueSpan,n,r,e)}return!0}let p=null;if(a.startsWith(tu.start)?p=tu:a.startsWith(nu.start)?p=nu:a.startsWith(ru.start)&&(p=ru),null!==p&&a.endsWith(p.end)&&a.length>p.start.length+p.end.length){const e=a.substring(p.start.length,a.length-p.end.length),s=h(c,p.start,e);if(p.start===tu.start)this.bindingParser.parsePropertyBinding(e,l,!1,c,u,t.valueSpan,n,r,s),this.parseAssignmentEvent(e,l,c,t.valueSpan,n,i,s);else if(p.start===nu.start)this.bindingParser.parsePropertyBinding(e,l,!1,c,u,t.valueSpan,n,r,s);else{const r=[];this.bindingParser.parseEvent(e,l,c,t.valueSpan||c,n,r,s),au(r,i)}return!0}const f=h(c,"",a);return this.bindingParser.parsePropertyInterpolation(a,l,c,t.valueSpan,n,r,f)}_visitTextWithInterpolation(e,t,n){const r=ul(e),i=this.bindingParser.parseInterpolation(r,t);return i?new dr(i,t,n):new hr(r,t)}parseVariable(e,t,n,r,i,s){e.indexOf("-")>-1?this.reportError('"-" is not allowed in variable names',n):0===e.length&&this.reportError("Variable does not have a name",n),s.push(new br(e,t,n,r,i))}parseReference(e,t,n,r,i,s){e.indexOf("-")>-1?this.reportError('"-" is not allowed in reference names',n):0===e.length?this.reportError("Reference does not have a name",n):s.some(t=>t.name===e)&&this.reportError(`Reference "#${e}" is defined more than once`,n),s.push(new wr(e,t,n,r,i))}parseAssignmentEvent(e,t,n,r,i,s,o){const a=[];this.bindingParser.parseEvent(`${e}Change`,`${t}=$event`,n,r||n,i,a,o),au(a,s)}reportError(e,t,n=Ms.ERROR){this.errors.push(new js(t,e,n))}}const su=new class{visitElement(e){const t=Zl(e);if(t.type===Jl.SCRIPT||t.type===Jl.STYLE||t.type===Jl.STYLESHEET)return null;const n=Ma(this,e.children,null);return new gr(e.name,Ma(this,e.attrs),[],[],n,[],e.sourceSpan,e.startSourceSpan,e.endSourceSpan)}visitComment(e){return null}visitAttribute(e){return new pr(e.name,e.value,e.sourceSpan,e.keySpan,e.valueSpan,e.i18n)}visitText(e){return new hr(e.value,e.sourceSpan)}visitExpansion(e){return null}visitExpansionCase(e){return null}};function ou(e){return/^data-/i.test(e)?e.substring(5):e}function au(e,t){t.push(...e.map(e=>mr.fromParsedEvent(e)))}var lu;!function(e){e[e.ELEMENT=0]="ELEMENT",e[e.TEMPLATE=1]="TEMPLATE"}(lu||(lu={}));class cu{constructor(e,t,n=0,r=null,i,s){this.index=e,this.ref=t,this.level=n,this.templateIndex=r,this.meta=i,this.registry=s,this.bindings=new Set,this.placeholders=new Map,this.isEmitted=!1,this._unresolvedCtxCount=0,this._registry=s||{getUniqueId:Si(),icus:new Map},this.id=this._registry.getUniqueId()}appendTag(e,t,n,r){if(t.isVoid&&r)return;const i=t.isVoid||!r?t.startName:t.closeName,s={type:e,index:n,ctx:this.id,isVoid:t.isVoid,closed:r};Ai(this.placeholders,i,s)}get icus(){return this._registry.icus}get isRoot(){return 0===this.level}get isResolved(){return 0===this._unresolvedCtxCount}getSerializedPlaceholders(){const e=new Map;
1return this.placeholders.forEach((t,n)=>e.set(n,t.map(pu))),e}appendBinding(e){this.bindings.add(e)}appendIcu(e,t){Ai(this._registry.icus,e,t)}appendBoundText(e){ki(e,this.bindings.size,this.id).forEach((e,t)=>Ai(this.placeholders,t,...e))}appendTemplate(e,t){this.appendTag(lu.TEMPLATE,e,t,!1),this.appendTag(lu.TEMPLATE,e,t,!0),this._unresolvedCtxCount++}appendElement(e,t,n){this.appendTag(lu.ELEMENT,e,t,n)}appendProjection(e,t){this.appendTag(lu.ELEMENT,e,t,!1),this.appendTag(lu.ELEMENT,e,t,!0)}forkChildContext(e,t,n){return new cu(e,this.ref,this.level+1,t,n,this._registry)}reconcileChildContext(e){["start","close"].forEach(t=>{const n=e.meta[`${t}Name`],r=(this.placeholders.get(n)||[]).find(du(this.id,e.templateIndex));r&&(r.ctx=e.id)});e.placeholders.forEach((t,n)=>{const r=this.placeholders.get(n);if(!r)return void this.placeholders.set(n,t);const i=r.findIndex(du(e.id,e.templateIndex));if(i>=0){const e=n.startsWith("CLOSE");if(n.endsWith("NG-TEMPLATE"))r.splice(i+(e?0:1),0,...t);else{t[e?t.length-1:0].tmpl=r[i],r.splice(i,1,...t)}}else r.push(...t);this.placeholders.set(n,r)}),this._unresolvedCtxCount--}}function uu(e,t,n,r){return Ci(`${r?"/":""}${e}${t}`,n)}function hu(e,{index:t,ctx:n,isVoid:r},i){return r?uu(e,t,n)+uu(e,t,n,!0):uu(e,t,n,i)}function du(e,t){return n=>"object"==typeof n&&n.type===lu.TEMPLATE&&n.index===t&&n.ctx===e}function pu(e){const t=(e,t)=>hu("#",e,t),n=(e,t)=>hu("*",e,t);switch(e.type){case lu.ELEMENT:return e.closed?t(e,!0)+(e.tmpl?n(e.tmpl,!0):""):e.tmpl?n(e.tmpl)+t(e)+(e.isVoid?n(e.tmpl,!0):""):t(e);case lu.TEMPLATE:return n(e,e.closed);default:return e}}const fu=new class{visitText(e){return e.value}visitContainer(e){return e.children.map(e=>e.visit(this)).join("")}visitIcu(e){const t=Object.keys(e.cases).map(t=>`${t} {${e.cases[t].visit(this)}}`);return`{${e.expressionPlaceholder}, ${e.type}, ${t.join(" ")}}`}visitTagPlaceholder(e){return e.isVoid?this.formatPh(e.startName):`${this.formatPh(e.startName)}${e.children.map(e=>e.visit(this)).join("")}${this.formatPh(e.closeName)}`}visitPlaceholder(e){return this.formatPh(e.name)}visitIcuPlaceholder(e,t){return this.formatPh(e.name)}formatPh(e){return`{${Ti(e,!1)}}`}};function mu(e){return e.visit(fu)}const gu={A:"LINK",B:"BOLD_TEXT",BR:"LINE_BREAK",EM:"EMPHASISED_TEXT",H1:"HEADING_LEVEL1",H2:"HEADING_LEVEL2",H3:"HEADING_LEVEL3",H4:"HEADING_LEVEL4",H5:"HEADING_LEVEL5",H6:"HEADING_LEVEL6",HR:"HORIZONTAL_RULE",I:"ITALIC_TEXT",LI:"LIST_ITEM",LINK:"MEDIA_LINK",OL:"ORDERED_LIST",P:"PARAGRAPH",Q:"QUOTATION",S:"STRIKETHROUGH_TEXT",SMALL:"SMALL_TEXT",SUB:"SUBSTRIPT",SUP:"SUPERSCRIPT",TBODY:"TABLE_BODY",TD:"TABLE_CELL",TFOOT:"TABLE_FOOTER",TH:"TABLE_HEADER_CELL",THEAD:"TABLE_HEADER",TR:"TABLE_ROW",TT:"MONOSPACED_TEXT",U:"UNDERLINED_TEXT",UL:"UNORDERED_LIST"};class vu{constructor(){this._placeHolderNameCounts={},this._signatureToName={}}getStartTagPlaceholderName(e,t,n){const r=this._hashTag(e,t,n);if(this._signatureToName[r])return this._signatureToName[r];const i=e.toUpperCase(),s=gu[i]||`TAG_${i}`,o=this._generateUniqueName(n?s:`START_${s}`);return this._signatureToName[r]=o,o}getCloseTagPlaceholderName(e){const t=this._hashClosingTag(e);if(this._signatureToName[t])return this._signatureToName[t];const n=e.toUpperCase(),r=gu[n]||`TAG_${n}`,i=this._generateUniqueName(`CLOSE_${r}`);return this._signatureToName[t]=i,i}getPlaceholderName(e,t){const n=e.toUpperCase(),r=`PH: ${n}=${t}`;if(this._signatureToName[r])return this._signatureToName[r];const i=this._generateUniqueName(n);return this._signatureToName[r]=i,i}getUniquePlaceholder(e){return this._generateUniqueName(e.toUpperCase())}_hashTag(e,t,n){return`<${e}`+Object.keys(t).sort().map(e=>` ${e}=${t[e]}`).join("")+(n?"/>":`></${e}>`)}_hashClosingTag(e){return this._hashTag(`/${e}`,{},!1)}_generateUniqueName(e){if(!this._placeHolderNameCounts.hasOwnProperty(e))return this._placeHolderNameCounts[e]=1,e;const t=this._placeHolderNameCounts[e];return this._placeHolderNameCounts[e]=t+1,`${e}_${t}`}}const yu=new jc(new Sc);function bu(e){const t=new _u(yu,e);return(e,n,r,i,s)=>t.toI18nMessage(e,n,r,i,s)}function wu(e,t){return t}class _u{constructor(e,t){this._expressionParser=e,this._interpolationConfig=t}toI18nMessage(e,t="",n="",r="",i){const s={isIcu:1==e.length&&e[0]instanceof Ia,icuDepth:0,placeholderRegistry:new vu,placeholderToContent:{},placeholderToMessage:{},visitNodeFn:i||wu},o=Ma(this,e,s);return new Cr(o,s.placeholderToContent,s.placeholderToMessage,t,n,r)}visitElement(e,t){var n;const r=Ma(this,e.children,t),i={};
1e.attrs.forEach(e=>{i[e.name]=e.value});const s=m(e.name).isVoid,o=t.placeholderRegistry.getStartTagPlaceholderName(e.name,i,s);t.placeholderToContent[o]={text:e.startSourceSpan.toString(),sourceSpan:e.startSourceSpan};let a="";s||(a=t.placeholderRegistry.getCloseTagPlaceholderName(e.name),t.placeholderToContent[a]={text:`</${e.name}>`,sourceSpan:null!==(n=e.endSourceSpan)&&void 0!==n?n:e.sourceSpan});const l=new kr(e.name,i,o,a,r,s,e.sourceSpan,e.startSourceSpan,e.endSourceSpan);return t.visitNodeFn(e,l)}visitAttribute(e,t){const n=this._visitTextWithInterpolation(e.value,e.valueSpan||e.sourceSpan,t,e.i18n);return t.visitNodeFn(e,n)}visitText(e,t){const n=this._visitTextWithInterpolation(e.value,e.sourceSpan,t,e.i18n);return t.visitNodeFn(e,n)}visitComment(e,t){return null}visitExpansion(e,t){t.icuDepth++;const n={},r=new Ar(e.switchValue,e.type,n,e.sourceSpan);if(e.cases.forEach(e=>{n[e.value]=new Er(e.expression.map(e=>e.visit(this,t)),e.expSourceSpan)}),t.icuDepth--,t.isIcu||t.icuDepth>0){const n=t.placeholderRegistry.getUniquePlaceholder(`VAR_${e.type}`);return r.expressionPlaceholder=n,t.placeholderToContent[n]={text:e.switchValue,sourceSpan:e.switchValueSourceSpan},t.visitNodeFn(e,r)}const i=t.placeholderRegistry.getPlaceholderName("ICU",e.sourceSpan.toString());t.placeholderToMessage[i]=this.toI18nMessage([e],"","","",void 0);const s=new Tr(r,i,e.sourceSpan);return t.visitNodeFn(e,s)}visitExpansionCase(e,t){throw new Error("Unreachable code")}_visitTextWithInterpolation(e,t,n,r){const{strings:i,expressions:s}=this._expressionParser.splitInterpolation(e,t.start.toString(),this._interpolationConfig);if(0===s.length)return new Sr(e,t);const o=[];for(let a=0;a<i.length-1;a++)this._addText(o,i[a],t),this._addPlaceholder(o,n,s[a],t);return this._addText(o,i[i.length-1],t),function(e,t){t instanceof Cr&&(!function(e){const t=e.nodes;if(1!==t.length||!(t[0]instanceof Er))throw new Error("Unexpected previous i18n message - expected it to consist of only a single `Container` node.")}(t),t=t.nodes[0]);if(t instanceof Er){!function(e,t){if(e.length!==t.length)throw new Error("The number of i18n message children changed between first and second pass.");if(e.some((e,n)=>t[n].constructor!==e.constructor))throw new Error("The types of the i18n message children changed between first and second pass.")}(t.children,e);for(let n=0;n<e.length;n++)e[n].sourceSpan=t.children[n].sourceSpan}}(o,r),new Er(o,t)}_addText(e,t,n){if(t.text.length>0){const r=xu(n,t);e.push(new Sr(t.text,r))}}_addPlaceholder(e,t,n,r){const i=xu(r,n),s=n.text.split(Cu)[2]||"INTERPOLATION";const o=t.placeholderRegistry.getPlaceholderName(s,n.text),a=this._interpolationConfig.start+n.text+this._interpolationConfig.end;t.placeholderToContent[o]={text:a,sourceSpan:i},e.push(new Ir(n.text,o,i))}}function xu(e,{start:t,end:n}){return new Ps(e.fullStart.moveBy(t),e.fullStart.moveBy(n))}const Cu=/\/\/[\s\S]*i18n[\s\S]*\([\s\S]*ph[\s\S]*=[\s\S]*("|')([\s\S]*?)\1[\s\S]*\)/g;class Su extends js{constructor(e,t){super(e,t)}}const Eu=(e,t)=>(e instanceof Aa&&(t instanceof Tr&&e.i18n instanceof Cr&&(t.previousMessage=e.i18n),e.i18n=t),t);class Au{constructor(e=is,t=!1,n=!1){this.interpolationConfig=e,this.keepI18nAttrs=t,this.enableI18nLegacyMessageIdFormat=n,this.hasI18nMeta=!1,this._errors=[],this._createI18nMessage=bu(this.interpolationConfig)}_generateI18nMessage(e,t="",n){const{meaning:r,description:i,customId:s}=this._parseMetadata(t),o=this._createI18nMessage(e,r,i,s,n);return this._setMessageId(o,t),this._setLegacyIds(o,t),o}visitAllWithErrors(e){const t=e.map(e=>e.visit(this,null));return new el(t,this._errors)}visitElement(e){if(function(e){return e.attrs.some(e=>yi(e.name))}(e)){this.hasI18nMeta=!0;const t=[],n={};for(const r of e.attrs)if(r.name===gi){const t=e.i18n||r.value,n=this._generateI18nMessage(e.children,t,Eu);n.nodes.length&&(e.i18n=n)}else if(r.name.startsWith(vi)){const t=r.name.slice(vi.length);Jc(e.name,t)?this._reportError(r,`Translating attribute '${t}' is disallowed for security reasons.`):n[t]=r.value}else t.push(r);if(Object.keys(n).length)for(const e of t){const t=n[e.name];
1void 0!==t&&e.value&&(e.i18n=this._generateI18nMessage([e],e.i18n||t))}this.keepI18nAttrs||(e.attrs=t)}return Ma(this,e.children,e.i18n),e}visitExpansion(e,t){let n;const r=e.i18n;if(this.hasI18nMeta=!0,r instanceof Tr){const t=r.name;n=this._generateI18nMessage([e],r);xi(n).name=t}else n=this._generateI18nMessage([e],t||r);return e.i18n=n,e}visitText(e){return e}visitAttribute(e){return e}visitComment(e){return e}visitExpansionCase(e){return e}_parseMetadata(e){return"string"==typeof e?function(e=""){let t,n,r;if(e=e.trim()){const i=e.indexOf("@@"),s=e.indexOf("|");let o;[o,t]=i>-1?[e.slice(0,i),e.slice(i+2)]:[e,""],[n,r]=s>-1?[o.slice(0,s),o.slice(s+1)]:["",o]}return{customId:t,meaning:n,description:r}}(e):e instanceof Cr?e:{}}_setMessageId(e,t){e.id||(e.id=t instanceof Cr&&t.id||Nr(e))}_setLegacyIds(e,t){if(this.enableI18nLegacyMessageIdFormat)e.legacyIds=[Mr(e),Rr(e)];else if("string"!=typeof t){const n=t instanceof Cr?t:t instanceof Tr?t.previousMessage:void 0;e.legacyIds=n?n.legacyIds:[]}}_reportError(e,t){this._errors.push(new Su(e.sourceSpan,t))}}function ku(e){const t=[];return e.description&&t.push({tagName:"desc",text:e.description}),e.meaning&&t.push({tagName:"meaning",text:e.meaning}),0==t.length?null:function(e=[]){return new st(e)}(t)}function Iu(e,t,n,r){const i=[Nt(function(e){return e.nodes.map(e=>e.visit(Tu,null)).join("")}(t))];Object.keys(r).length&&i.push(zc(r,!0));const s=n.set(St("goog.getMsg").callFn(i)).toConstDecl(),o=ku(t);null!==o&&s.addLeadingComment(o);return[s,new ct(e.set(n))]}const Tu=new class{formatPh(e){return`{$${Ti(e)}}`}visitText(e){return e.value}visitContainer(e){return e.children.map(e=>e.visit(this)).join("")}visitIcu(e){return mu(e)}visitTagPlaceholder(e){return e.isVoid?this.formatPh(e.startName):`${this.formatPh(e.startName)}${e.children.map(e=>e.visit(this)).join("")}${this.formatPh(e.closeName)}`}visitPlaceholder(e){return this.formatPh(e.name)}visitIcuPlaceholder(e,t){return this.formatPh(e.name)}};function Ou(e,t,n){const{messageParts:r,placeHolders:i}=function(e){const t=[];return e.nodes.forEach(e=>e.visit(Du,t)),function(e){const t=[],n=[];e[0]instanceof Ne&&t.push(Pu(e[0].sourceSpan.start));for(let r=0;r<e.length;r++){const i=e[r];i instanceof Me?t.push(i):(n.push(i),e[r-1]instanceof Ne&&t.push(Pu(e[r-1].sourceSpan.end)))}e[e.length-1]instanceof Ne&&t.push(Pu(e[e.length-1].sourceSpan.end));return{messageParts:t,placeHolders:n}}(t)}(t),s=function(e){const t=e.nodes[0],n=e.nodes[e.nodes.length-1];return new Ps(t.sourceSpan.start,n.sourceSpan.end,t.sourceSpan.fullStart,t.sourceSpan.details)}(t),o=i.map(e=>n[e.text]),a=function(e,t,n,r,i){return new Re(e,t,n,r,i)}(t,r,i,o,s),l=e.set(a);return[new ct(l)]}const Du=new class{visitText(e,t){t[t.length-1]instanceof Me?t[t.length-1].text+=e.value:t.push(new Me(e.value,e.sourceSpan))}visitContainer(e,t){e.children.forEach(e=>e.visit(this,t))}visitIcu(e,t){t.push(new Me(mu(e),e.sourceSpan))}visitTagPlaceholder(e,t){var n,r;t.push(this.createPlaceholderPiece(e.startName,null!==(n=e.startSourceSpan)&&void 0!==n?n:e.sourceSpan)),e.isVoid||(e.children.forEach(e=>e.visit(this,t)),t.push(this.createPlaceholderPiece(e.closeName,null!==(r=e.endSourceSpan)&&void 0!==r?r:e.sourceSpan)))}visitPlaceholder(e,t){t.push(this.createPlaceholderPiece(e.name,e.sourceSpan))}visitIcuPlaceholder(e,t){t.push(this.createPlaceholderPiece(e.name,e.sourceSpan))}createPlaceholderPiece(e,t){return new Ne(Ti(e,!1),t)}};function Pu(e){return new Me("",new Ps(e,e))}const Mu=new Set(["$event"]),Nu=new Map([["window",Hn.resolveWindow],["document",Hn.resolveDocument],["body",Hn.resolveBody]]),Ru=[" ","\n","\r","\t"];function Lu(e,t){return Pt(St(Ri).bitwiseAnd(Nt(e),null,!1),t)}function ju(e,t=null,n=null){const{type:r,name:i,target:s,phase:o,handler:a}=e;if(s&&!Nu.has(s))throw new Error(`Unexpected global target '${s}' defined for '${i}' event.\n        Supported list of global targets: ${Array.from(Nu.keys())}.`);const l="$event",c=new Set,u=null===n||0===n.bindingLevel?St(Ni):n.getOrCreateSharedContextVar(0),h=To(n,u,a,"b",()=>ln("Unexpected interpolation"),e.handlerSpan,c,Mu),d=[];
1n&&(d.push(...n.restoreViewStatement()),d.push(...n.variableDeclarations())),d.push(...h.render3Stmts);const p=1===r?function(e,t){return`@${e}.${t}`}(i,o):i,f=t&&xn(t),m=[];c.has(l)&&m.push(new qe(l,se));const g=Dt(m,d,oe,null,f),v=[Nt(p),g];return s&&v.push(Nt(!1),Et(Nu.get(s))),v}class Fu{constructor(e,t,n=0,r,i,s,o,a,l,c,u,h,d,p,f=function(){return{prepareStatements:[],constExpressions:[],i18nVarRefsCache:new Map}}()){this.constantPool=e,this.level=n,this.contextName=r,this.i18nContext=i,this.templateIndex=s,this.templateName=o,this.directiveMatcher=a,this.directives=l,this.pipeTypeByName=c,this.pipes=u,this._namespace=h,this.i18nUseExternalIds=p,this._constants=f,this._dataIndex=0,this._bindingContext=0,this._prefixCode=[],this._creationCodeFns=[],this._updateCodeFns=[],this._currentIndex=0,this._tempVariables=[],this._nestedTemplateFns=[],this._unsupported=ji,this.i18n=null,this._pureFunctionSlots=0,this._bindingSlots=0,this._ngContentReservedSlots=[],this._ngContentSelectorsOffset=0,this._implicitReceiverExpr=null,this.visitReference=Fi,this.visitVariable=Fi,this.visitTextAttribute=Fi,this.visitBoundAttribute=Fi,this.visitBoundEvent=Fi,this._bindingScope=t.nestedScope(n),this.fileBasedI18nSuffix=d.replace(/[^A-Za-z0-9]/g,"_")+"_",this._valueConverter=new Bu(e,()=>this.allocateDataSlot(),e=>this.allocatePureFunctionSlots(e),(e,t,n,r)=>{const i=c.get(e);i&&this.pipes.add(i),this._bindingScope.set(this.level,t,r),this.creationInstruction(null,Hn.pipe,[Nt(n),Nt(e)])})}buildTemplateFunction(e,t,n=0,r){this._ngContentSelectorsOffset=n,this._namespace!==Hn.namespaceHTML&&this.creationInstruction(null,this._namespace),t.forEach(e=>this.registerContextVariables(e));const i=this.i18nContext||bi(r)&&!wi(r)&&!(1===(s=e).length&&s[0]instanceof gr&&e[0].i18n===r);var s;const o=nh(e);if(i&&this.i18nStart(null,r,o),xr(this,e),this._pureFunctionSlots+=this._bindingSlots,this._valueConverter.updatePipeSlotOffsets(this._bindingSlots),this._nestedTemplateFns.forEach(e=>e()),0===this.level&&this._ngContentReservedSlots.length){const e=[];if(this._ngContentReservedSlots.length>1||"*"!==this._ngContentReservedSlots[0]){const t=this._ngContentReservedSlots.map(e=>"*"!==e?Y(e):e);e.push(this.constantPool.getConstLiteral(Bi(t),!0))}this.creationInstruction(null,Hn.projectionDef,e,!0)}i&&this.i18nEnd(null,o);const a=this._creationCodeFns.map(e=>e()),l=this._updateCodeFns.map(e=>e()),c=this._bindingScope.viewSnapshotStatements(),u=this._bindingScope.variableDeclarations().concat(this._tempVariables),h=a.length>0?[Lu(1,c.concat(a))]:[],d=l.length>0?[Lu(2,u.concat(l))]:[];return Dt([new qe(Ri,le),new qe(Ni,null)],[...this._prefixCode,...h,...d],oe,null,this.templateName)}getLocal(e){return this._bindingScope.get(e)}notifyImplicitReceiverUse(){this._bindingScope.notifyImplicitReceiverUse()}i18nTranslate(e,t={},n,r){const i=n||this.i18nGenerateMainBlockVar(),s=function(e,t,n,r={},i){const s=[Di(t),Pt(ih(),Iu(t,e,n,Ii(r,!0)),Ou(t,e,Ii(r,!1)))];i&&s.push(new ct(t.set(i(t))));return s}(e,i,this.i18nGenerateClosureVar(e.id),t,r);return this._constants.prepareStatements.push(...s),i}registerContextVariables(e){const t=this._bindingScope.freshReferenceName(),n=this.level,r=St(e.name+t);this._bindingScope.set(n,e.name,r,1,(t,i)=>{let s;if(t.bindingLevel===n)s=St(Ni);else{const e=t.getSharedContextName(n);s=e||zu(i)}return[r.set(s.prop(e.value||"$implicit")).toConstDecl()]})}i18nAppendBindings(e){e.length>0&&e.forEach(e=>this.i18n.appendBinding(e))}
1i18nBindProps(e){const t={};return Object.keys(e).forEach(n=>{const r=e[n];if(r instanceof hr)t[n]=Nt(r.value);else{const e=r.value.visit(this._valueConverter);if(this.allocateBindingSlots(e),e instanceof co){const{strings:r,expressions:i}=e,{id:s,bindings:o}=this.i18n,a=function(e,t=0,n=0){if(!e.length)return"";let r="";const i=e.length-1;for(let s=0;s<i;s++)r+=`${e[s]}${Ci(t+s,n)}`;return r+=e[i],r}(r,o.size,s);this.i18nAppendBindings(i),t[n]=Nt(a)}}}),t}i18nGenerateMainBlockVar(){return St(this.constantPool.uniqueName("i18n_"))}i18nGenerateClosureVar(e){let t;const n=this.fileBasedI18nSuffix.toUpperCase();if(this.i18nUseExternalIds){const r=Oi("EXTERNAL_"),i=this.constantPool.uniqueName(n);t=`${r}${xn(e)}$$${i}`}else{const e=Oi(n);t=this.constantPool.uniqueName(e)}return St(t)}i18nUpdateRef(e){const{icus:t,meta:n,isRoot:r,isResolved:i,isEmitted:s}=e;if(r&&i&&!s&&!wi(n)){e.isEmitted=!0;const r=e.getSerializedPlaceholders();let i={},s=r.size?Ei(r):{};t.size&&t.forEach((e,t)=>{if(1===e.length)s[t]=e[0];else{const n=Ci(`I18N_EXP_${t}`);s[t]=Nt(n),i[t]=Tt(e)}});let o;(Array.from(r.values()).some(e=>e.length>1)||Object.keys(i).length)&&(o=e=>{const t=[e];return Object.keys(i).length&&t.push(zc(i,!0)),Uu(null,Hn.i18nPostprocess,t)}),this.i18nTranslate(n,s,e.ref,o)}}i18nStart(e=null,t,n){const r=this.allocateDataSlot();this.i18n=this.i18nContext?this.i18nContext.forkChildContext(r,this.templateIndex,t):new cu(r,this.i18nGenerateMainBlockVar(),0,this.templateIndex,t);const{id:i,ref:s}=this.i18n,o=[Nt(r),this.addToConsts(s)];i>0&&o.push(Nt(i)),this.creationInstruction(e,n?Hn.i18n:Hn.i18nStart,o)}i18nEnd(e=null,t){if(!this.i18n)throw new Error("i18nEnd is executed with no i18n context present");this.i18nContext?(this.i18nContext.reconcileChildContext(this.i18n),this.i18nUpdateRef(this.i18nContext)):this.i18nUpdateRef(this.i18n);const{index:n,bindings:r}=this.i18n;if(r.size){const t=[];r.forEach(n=>{t.push({sourceSpan:e,value:()=>this.convertPropertyBinding(n)})}),this.updateInstructionChainWithAdvance(this.getConstCount()-1,Hn.i18nExp,t),this.updateInstruction(e,Hn.i18nApply,[Nt(n)])}t||this.creationInstruction(e,Hn.i18nEnd),this.i18n=null}i18nAttributesInstruction(e,t,n){let r=!1;const i=[],s=[];if(t.forEach(e=>{const t=e.i18n,o=e.value.visit(this._valueConverter);if(this.allocateBindingSlots(o),o instanceof co){const a=Ei(ki(t));i.push(Nt(e.name),this.i18nTranslate(t,a)),o.expressions.forEach(e=>{r=!0,s.push({sourceSpan:n,value:()=>this.convertPropertyBinding(e)})})}}),s.length>0&&this.updateInstructionChainWithAdvance(e,Hn.i18nExp,s),i.length>0){const e=Nt(this.allocateDataSlot()),t=this.addToConsts(Tt(i));this.creationInstruction(n,Hn.i18nAttributes,[e,t]),r&&this.updateInstruction(n,Hn.i18nApply,[e])}}getNamespaceInstruction(e){switch(e){case"math":return Hn.namespaceMathML;case"svg":return Hn.namespaceSVG;default:return Hn.namespaceHTML}}addNamespaceInstruction(e,t){this._namespace=e,this.creationInstruction(t.startSourceSpan,e)}interpolatedUpdateInstruction(e,t,n,r,i,s){this.updateInstructionWithAdvance(t,r.sourceSpan,e,()=>[Nt(n),...this.getUpdateInstructionArguments(i),...s])}visitContent(e){const t=this.allocateDataSlot(),n=this._ngContentSelectorsOffset+this._ngContentReservedSlots.length,r=[Nt(t)];this._ngContentReservedSlots.push(e.selector);const i=e.attributes.filter(e=>"select"!==e.name.toLowerCase()),s=this.getAttributeExpressions(e.name,i,[],[]);s.length>0?r.push(Nt(n),Tt(s)):0!==n&&r.push(Nt(n)),this.creationInstruction(e.sourceSpan,Hn.projection,r),this.i18n&&this.i18n.appendProjection(e.i18n,t)}visitElement(e){var t,n;const r=this.allocateDataSlot(),i=new yc(null);let a=!1;const l=bi(e.i18n)&&!wi(e.i18n),c=[],[u,h]=s(e.name),d=o(e.name);for(const s of e.attributes){const{name:e,value:t}=s;"ngNonBindable"===e?a=!0:"style"===e?i.registerStyleAttr(t):"class"===e?i.registerClassAttr(t):c.push(s)}this.matchDirectives(e.name,e);const p=[Nt(r)];d||p.push(Nt(h));const f=[],m=[];e.inputs.forEach(e=>{i.registerBoundInput(e)||(0===e.type&&e.i18n?m.push(e):f.push(e))});const g=this.getAttributeExpressions(e.name,c,f,e.outputs,i,[],m);p.push(this.addAttrsToConsts(g));const v=this.prepareRefsArray(e.references);p.push(this.addToConsts(v));
1const y=this._namespace,b=this.getNamespaceInstruction(u);b!==y&&this.addNamespaceInstruction(b,e),this.i18n&&this.i18n.appendElement(e.i18n,r);const w=!l&&this.i18n?!nh(e.children):e.children.length>0,_=!i.hasBindingsWithPipes&&0===e.outputs.length&&0===m.length&&!w,x=!_&&nh(e.children);if(_)this.creationInstruction(e.sourceSpan,d?Hn.elementContainer:Hn.element,Vi(p));else{if(this.creationInstruction(e.startSourceSpan,d?Hn.elementContainerStart:Hn.elementStart,Vi(p)),a&&this.creationInstruction(e.startSourceSpan,Hn.disableBindings),m.length>0&&this.i18nAttributesInstruction(r,m,null!==(t=e.startSourceSpan)&&void 0!==t?t:e.sourceSpan),e.outputs.length>0){const t=e.outputs.map(t=>({sourceSpan:t.sourceSpan,params:this.prepareListenerParameter(e.name,t,r)}));this.creationInstructionChain(Hn.listener,t)}l&&this.i18nStart(e.startSourceSpan,e.i18n,x)}const C=i.buildUpdateLevelInstructions(this._valueConverter),S=C.length-1;for(let s=0;s<=S;s++){const e=C[s];this._bindingSlots+=this.processStylingUpdateInstruction(r,e)}const E=Nt(void 0),A=[],k=[];if(f.forEach(e=>{const t=e.type;if(4===t){const t=e.value.visit(this._valueConverter),n=!(t instanceof oo)||!!t.value;this.allocateBindingSlots(t),A.push({name:or(e.name),sourceSpan:e.sourceSpan,value:()=>n?this.convertPropertyBinding(t):E})}else{if(e.i18n)return;const n=e.value.visit(this._valueConverter);if(void 0!==n){const i=[],[o,a]=s(e.name),l=1===t,c=Ju(e.securityContext,l);if(c&&i.push(c),o){const e=Nt(o);c?i.push(e):i.push(Nt(null),e)}if(this.allocateBindingSlots(n),0===t)n instanceof co?this.interpolatedUpdateInstruction(Ku(n),r,a,e,n,i):A.push({name:a,sourceSpan:e.sourceSpan,value:()=>this.convertPropertyBinding(n),params:i});else if(1===t)if(n instanceof co&&Gi(n)>1)this.interpolatedUpdateInstruction(function(e){switch(Gi(e)){case 3:return Hn.attributeInterpolate1;case 5:return Hn.attributeInterpolate2;case 7:return Hn.attributeInterpolate3;case 9:return Hn.attributeInterpolate4;case 11:return Hn.attributeInterpolate5;case 13:return Hn.attributeInterpolate6;case 15:return Hn.attributeInterpolate7;case 17:return Hn.attributeInterpolate8;default:return Hn.attributeInterpolateV}}(n),r,a,e,n,i);else{const t=n instanceof co?n.expressions[0]:n;k.push({name:a,sourceSpan:e.sourceSpan,value:()=>this.convertPropertyBinding(t),params:i})}else this.updateInstructionWithAdvance(r,e.sourceSpan,Hn.classProp,()=>[Nt(r),Nt(a),this.convertPropertyBinding(n),...i])}}}),A.length>0&&this.updateInstructionChainWithAdvance(r,Hn.property,A),k.length>0&&this.updateInstructionChainWithAdvance(r,Hn.attribute,k),xr(this,e.children),!l&&this.i18n&&this.i18n.appendElement(e.i18n,r,!0),!_){const t=null!==(n=e.endSourceSpan)&&void 0!==n?n:e.sourceSpan;l&&this.i18nEnd(t,x),a&&this.creationInstruction(t,Hn.enableBindings),this.creationInstruction(t,d?Hn.elementContainerEnd:Hn.elementEnd)}}visitTemplate(e){var t;const n="ng-template",r=this.allocateDataSlot();this.i18n&&this.i18n.appendTemplate(e.i18n,r);const i=xn(e.tagName||""),o=`${this.contextName}${i?"_"+i:""}_${r}`,a=`${o}_Template`,l=[Nt(r),St(a),Nt(e.tagName?s(e.tagName)[1]:e.tagName)];this.matchDirectives(n,e);const c=this.getAttributeExpressions(n,e.attributes,e.inputs,e.outputs,void 0,e.templateAttrs);if(l.push(this.addAttrsToConsts(c)),e.references&&e.references.length){const t=this.prepareRefsArray(e.references);l.push(this.addToConsts(t)),l.push(Et(Hn.templateRefExtractor))}const u=new Fu(this.constantPool,this._bindingScope,this.level+1,o,this.i18n,r,a,this.directiveMatcher,this.directives,this.pipeTypeByName,this.pipes,this._namespace,this.fileBasedI18nSuffix,this.i18nUseExternalIds,this._constants);if(this._nestedTemplateFns.push(()=>{const t=u.buildTemplateFunction(e.children,e.variables,this._ngContentReservedSlots.length+this._ngContentSelectorsOffset,e.i18n);this.constantPool.statements.push(t.toDeclStmt(a)),u._ngContentReservedSlots.length&&this._ngContentReservedSlots.push(...u._ngContentReservedSlots)}),this.creationInstruction(e.sourceSpan,Hn.templateCreate,()=>(l.splice(2,0,Nt(u.getConstCount()),Nt(u.getVarCount())),Vi(l))),this.templatePropertyBindings(r,e.templateAttrs),e.tagName===n){const[n,i]=function(e,t){const n=[],r=[];for(const i of e)(t(i)?n:r).push(i);return[n,r]}(e.inputs,_i);if(n.length>0&&this.i18nAttributesInstruction(r,n,null!==(t=e.startSourceSpan)&&void 0!==t?t:e.sourceSpan),i.length>
10&&this.templatePropertyBindings(r,i),e.outputs.length>0){const t=e.outputs.map(e=>({sourceSpan:e.sourceSpan,params:this.prepareListenerParameter("ng_template",e,r)}));this.creationInstructionChain(Hn.listener,t)}}}visitBoundText(e){if(this.i18n){const t=e.value.visit(this._valueConverter);return this.allocateBindingSlots(t),void(t instanceof co&&(this.i18n.appendBoundText(e.i18n),this.i18nAppendBindings(t.expressions)))}const t=this.allocateDataSlot();this.creationInstruction(e.sourceSpan,Hn.text,[Nt(t)]);const n=e.value.visit(this._valueConverter);this.allocateBindingSlots(n),n instanceof co?this.updateInstructionWithAdvance(t,e.sourceSpan,function(e){switch(Gi(e)){case 1:return Hn.textInterpolate;case 3:return Hn.textInterpolate1;case 5:return Hn.textInterpolate2;case 7:return Hn.textInterpolate3;case 9:return Hn.textInterpolate4;case 11:return Hn.textInterpolate5;case 13:return Hn.textInterpolate6;case 15:return Hn.textInterpolate7;case 17:return Hn.textInterpolate8;default:return Hn.textInterpolateV}}(n),()=>this.getUpdateInstructionArguments(n)):ln("Text nodes should be interpolated and never bound directly.")}visitText(e){this.i18n||this.creationInstruction(e.sourceSpan,Hn.text,[Nt(this.allocateDataSlot()),Nt(e.value)])}visitIcu(e){let t=!1;this.i18n||(t=!0,this.i18nStart(null,e.i18n,!0));const n=this.i18n,r=this.i18nBindProps(e.vars),i=this.i18nBindProps(e.placeholders),s=e.i18n,o=e=>{const t=Ii(Object.assign(Object.assign({},r),i),!1);return Uu(null,Hn.i18nPostprocess,[e,zc(t,!0)])};if(wi(n.meta))this.i18nTranslate(s,{},n.ref,o);else{const e=this.i18nTranslate(s,{},void 0,o);n.appendIcu(xi(s).name,e)}return t&&this.i18nEnd(null,!0),null}allocateDataSlot(){return this._dataIndex++}getConstCount(){return this._dataIndex}getVarCount(){return this._pureFunctionSlots}getConsts(){return this._constants}getNgContentSelectors(){return this._ngContentReservedSlots.length?this.constantPool.getConstLiteral(Bi(this._ngContentReservedSlots),!0):null}bindingContext(){return""+this._bindingContext++}templatePropertyBindings(e,t){const n=[];t.forEach(t=>{if(t instanceof fr){const r=t.value.visit(this._valueConverter);if(void 0!==r)if(this.allocateBindingSlots(r),r instanceof co){const n=[];this.interpolatedUpdateInstruction(Ku(r),e,t.name,t,r,n)}else n.push({name:t.name,sourceSpan:t.sourceSpan,value:()=>this.convertPropertyBinding(r)})}}),n.length>0&&this.updateInstructionChainWithAdvance(e,Hn.property,n)}instructionFn(e,t,n,r,i=!1){e[i?"unshift":"push"](()=>{const e=Array.isArray(r)?r:r();return Uu(t,n,e).toStmt()})}processStylingUpdateInstruction(e,t){let n=0;if(t){const r=[];t.calls.forEach(e=>{n+=e.allocateBindingSlots,r.push({sourceSpan:e.sourceSpan,value:()=>e.params(t=>e.supportsInterpolation&&t instanceof co?this.getUpdateInstructionArguments(t):this.convertPropertyBinding(t))})}),this.updateInstructionChainWithAdvance(e,t.reference,r)}return n}creationInstruction(e,t,n,r){this.instructionFn(this._creationCodeFns,e,t,n||[],r)}creationInstructionChain(e,t){const n=t.length?t[0].sourceSpan:null;this._creationCodeFns.push(()=>qi(e,t.map(e=>e.params()),n).toStmt())}updateInstructionWithAdvance(e,t,n,r){this.addAdvanceInstructionIfNecessary(e,t),this.updateInstruction(t,n,r)}updateInstruction(e,t,n){this.instructionFn(this._updateCodeFns,e,t,n||[])}updateInstructionChain(e,t){const n=t.length?t[0].sourceSpan:null;this._updateCodeFns.push(()=>{const r=t.map(e=>{const t=e.value(),n=Array.isArray(t)?t:[t];return e.params&&n.push(...e.params),e.name&&n.unshift(Nt(e.name)),n});return qi(e,r,n).toStmt()})}updateInstructionChainWithAdvance(e,t,n){this.addAdvanceInstructionIfNecessary(e,n.length?n[0].sourceSpan:null),this.updateInstructionChain(t,n)}addAdvanceInstructionIfNecessary(e,t){if(e!==this._currentIndex){const n=e-this._currentIndex;if(n<1)throw new Error("advance instruction can only go forwards");this.instructionFn(this._updateCodeFns,t,Hn.advance,[Nt(n)]),this._currentIndex=e}}allocatePureFunctionSlots(e){const t=this._pureFunctionSlots;return this._pureFunctionSlots+=e,t}allocateBindingSlots(e){this._bindingSlots+=e instanceof co?e.expressions.length:1}getImplicitReceiverExpr(){return this._implicitReceiverExpr?this._implicitReceiverExpr:this._implicitReceiverExpr=0===this.level?St(Ni):this._bindingScope.getOrCreateSharedContextVar(0)}convertPropertyBinding(e){const t=Po(this,this.getImplicitReceiverExpr(),e,this.bindingContext(),Rs.Expression,()=>ln("Unexpected interpolation")),n=t.currValExpr;return this._tempVariables.push(...t.stmts),n}getUpdateInstructionArguments(e){const{args:t,stmts:n}=function(e,t,n,r){const i=new Bo(e,t,r,void 0),s=n.visit(i,Ls.Expression);i.usesImplicitReceiver&&e.notifyImplicitReceiverUse();const o=Mo(i,r);let a=s.args.slice(1);if(n instanceof co){const e=n.strings;3===a.length&&""===e[0]&&""===e[1]?a=[a[1]]:a.length>=19&&(a=[Tt(a)])}return{stmts:o,args:a}}(this,this.getImplicitReceiverExpr(),e,this.bindingContext());return this._tempVariables.push(...n),t}matchDirectives(e,t){if(this.directiveMatcher){const n=Qu(e,Hi(t));this.directiveMatcher.match(n,(e,t)=>{this.directives.add(t)})}}getAttributeExpressions(e,t,n,r,i,s=[],o=[]){const a=new Set,l=[];let c;for(const h of t)if("ngProjectAs"===h.name&&(c=h),h.i18n){const{i18nVarRefsCache:e}=this._constants;let t;e.has(h.i18n)?t=e.get(h.i18n):(t=this.i18nTranslate(h.i18n),e.set(h.i18n,t)),l.push(Nt(h.name),t)}else l.push(...qu(h.name),eh(e,h));function u(e,t){"string"==typeof e?a.has(e)||(l.push(...qu(e)),void 0!==t&&l.push(t),a.add(e)):l.push(Nt(e))}if(c&&l.push(...function(e){const t=Y(e.value)[0];return[Nt(5),Bi(t)]}(c)),i&&i.populateInitialStylingAttrs(l),n.length||r.length){const e=l.length;for(let t=0;t<n.length;t++){const e=n[t];4!==e.type&&1!==e.type&&u(e.name)}
1for(let t=0;t<r.length;t++){const e=r[t];1!==e.type&&u(e.name)}l.length!==e&&l.splice(e,0,Nt(3))}return s.length&&(l.push(Nt(4)),s.forEach(e=>u(e.name))),o.length&&(l.push(Nt(6)),o.forEach(e=>u(e.name))),l}addToConsts(e){if(Rt(e))return nt;const t=this._constants.constExpressions;for(let n=0;n<t.length;n++)if(t[n].isEquivalent(e))return Nt(n);return Nt(t.push(e)-1)}addAttrsToConsts(e){return e.length>0?this.addToConsts(Tt(e)):nt}prepareRefsArray(e){if(!e||0===e.length)return nt;return Bi($n(e.map(e=>{const t=this.allocateDataSlot(),n=this._bindingScope.freshReferenceName(),r=this.level,i=St(n);return this._bindingScope.set(r,e.name,i,0,(e,n)=>{const r=n>0?[zu(n).toStmt()]:[],s=i.set(Et(Hn.reference).callFn([Nt(t)]));return r.concat(s.toConstDecl())},!0),[e.name,e.value]})))}prepareListenerParameter(e,t,n){return()=>{const r=t.name,i=1===t.type?lr(r,t.phase):xn(r),s=`${this.templateName}_${e}_${i}_${n}_listener`,o=this._bindingScope.nestedScope(this._bindingScope.bindingLevel,Mu);return ju(t,s,o)}}}class Bu extends class{visitImplicitReceiver(e,t){return e}visitThisReceiver(e,t){return e}visitInterpolation(e,t){const n=this.visitAll(e.expressions);return n!==e.expressions?new co(e.span,e.sourceSpan,e.strings,n):e}visitLiteralPrimitive(e,t){return e}visitPropertyRead(e,t){const n=e.receiver.visit(this);return n!==e.receiver?new eo(e.span,e.sourceSpan,e.nameSpan,n,e.name):e}visitPropertyWrite(e,t){const n=e.receiver.visit(this),r=e.value.visit(this);return n!==e.receiver||r!==e.value?new to(e.span,e.sourceSpan,e.nameSpan,n,e.name,r):e}visitSafePropertyRead(e,t){const n=e.receiver.visit(this);return n!==e.receiver?new no(e.span,e.sourceSpan,e.nameSpan,n,e.name):e}visitMethodCall(e,t){const n=e.receiver.visit(this),r=this.visitAll(e.args);return n!==e.receiver||r!==e.args?new mo(e.span,e.sourceSpan,e.nameSpan,n,e.name,r):e}visitSafeMethodCall(e,t){const n=e.receiver.visit(this),r=this.visitAll(e.args);return n!==e.receiver||r!==e.args?new go(e.span,e.sourceSpan,e.nameSpan,n,e.name,r):e}visitFunctionCall(e,t){const n=e.target&&e.target.visit(this),r=this.visitAll(e.args);return n!==e.target||r!==e.args?new vo(e.span,e.sourceSpan,n,r):e}visitLiteralArray(e,t){const n=this.visitAll(e.expressions);return n!==e.expressions?new ao(e.span,e.sourceSpan,n):e}visitLiteralMap(e,t){const n=this.visitAll(e.values);return n!==e.values?new lo(e.span,e.sourceSpan,e.keys,n):e}visitUnary(e,t){const n=e.expr.visit(this);if(n!==e.expr)switch(e.operator){case"+":return ho.createPlus(e.span,e.sourceSpan,n);case"-":return ho.createMinus(e.span,e.sourceSpan,n);default:throw new Error(`Unknown unary operator ${e.operator}`)}return e}visitBinary(e,t){const n=e.left.visit(this),r=e.right.visit(this);return n!==e.left||r!==e.right?new uo(e.span,e.sourceSpan,e.operation,n,r):e}visitPrefixNot(e,t){const n=e.expression.visit(this);return n!==e.expression?new po(e.span,e.sourceSpan,n):e}visitNonNullAssert(e,t){const n=e.expression.visit(this);return n!==e.expression?new fo(e.span,e.sourceSpan,n):e}visitConditional(e,t){const n=e.condition.visit(this),r=e.trueExp.visit(this),i=e.falseExp.visit(this);return n!==e.condition||r!==e.trueExp||i!==e.falseExp?new Js(e.span,e.sourceSpan,n,r,i):e}visitPipe(e,t){const n=e.exp.visit(this),r=this.visitAll(e.args);return n!==e.exp||r!==e.args?new so(e.span,e.sourceSpan,n,e.name,r,e.nameSpan):e}visitKeyedRead(e,t){const n=e.obj.visit(this),r=e.key.visit(this);return n!==e.obj||r!==e.key?new ro(e.span,e.sourceSpan,n,r):e}visitKeyedWrite(e,t){const n=e.obj.visit(this),r=e.key.visit(this),i=e.value.visit(this);return n!==e.obj||r!==e.key||i!==e.value?new io(e.span,e.sourceSpan,n,r,i):e}visitAll(e){const t=[];let n=!1;for(let r=0;r<e.length;++r){const i=e[r],s=i.visit(this);t[r]=s,n=n||s!==i}return n?t:e}visitChain(e,t){const n=this.visitAll(e.expressions);return n!==e.expressions?new Zs(e.span,e.sourceSpan,n):e}visitQuote(e,t){return e}}{constructor(e,t,n,r){super(),this.constantPool=e,this.allocateSlot=t,this.allocatePureFunctionSlots=n,this.definePipe=r,this._pipeBindExprs=[]}visitPipe(e,t){const n=this.allocateSlot(),r=`PIPE:${n}`,i=this.allocatePureFunctionSlots(2+e.args.length),s=new eo(e.span,e.sourceSpan,e.nameSpan,new Xs(e.span,e.sourceSpan),r),{identifier:o,isVarLength:a}=function(e){const t=$u[e.length];return{identifier:t||Hn.pipeBindV,isVarLength:!t}}(e.args);
1this.definePipe(e.name,r,n,Et(o));const l=[e.exp,...e.args],c=a?this.visitAll([new ao(e.span,e.sourceSpan,l)]):this.visitAll(l),u=new vo(e.span,e.sourceSpan,s,[new oo(e.span,e.sourceSpan,n),new oo(e.span,e.sourceSpan,i),...c]);return this._pipeBindExprs.push(u),u}updatePipeSlotOffsets(e){this._pipeBindExprs.forEach(t=>{t.args[1].value+=e})}visitLiteralArray(e,t){return new Uo(e.span,e.sourceSpan,this.visitAll(e.expressions),e=>{const t=Tt(e);return Hu(this.constantPool,t,this.allocatePureFunctionSlots)})}visitLiteralMap(e,t){return new Uo(e.span,e.sourceSpan,this.visitAll(e.values),t=>{const n=Ot(t.map((t,n)=>({key:e.keys[n].key,value:t,quoted:e.keys[n].quoted})));return Hu(this.constantPool,n,this.allocatePureFunctionSlots)})}}const $u=[Hn.pipeBind1,Hn.pipeBind2,Hn.pipeBind3,Hn.pipeBind4];const Vu=[Hn.pureFunction0,Hn.pureFunction1,Hn.pureFunction2,Hn.pureFunction3,Hn.pureFunction4,Hn.pureFunction5,Hn.pureFunction6,Hn.pureFunction7,Hn.pureFunction8];function Uu(e,t,n){return Et(t,null,e).callFn(n,e)}function zu(e){return Et(Hn.nextContext).callFn(e>1?[Nt(e)]:[])}function Hu(e,t,n){const{literalFactory:r,literalFactoryArguments:i}=e.getLiteralFactory(t),s=n(1+i.length),{identifier:o,isVarLength:a}=function(e){const t=Vu[e.length];return{identifier:t||Hn.pureFunctionV,isVarLength:!t}}(i),l=[Nt(s),r];return a?l.push(Tt(i)):l.push(...i),Et(o).callFn(l)}function qu(e){const[t,n]=s(e),r=Nt(n);return t?[Nt(0),Nt(t),r]:[r]}const Gu="$$shared_ctx$$";class Wu{constructor(e=0,t=null,n){if(this.bindingLevel=e,this.parent=t,this.globals=n,this.map=new Map,this.referenceNameIndex=0,this.restoreViewVariable=null,void 0!==n)for(const r of n)this.set(0,r,St(r))}static createRootScope(){return new Wu}get(e){let t=this;for(;t;){let n=t.map.get(e);if(null!=n)return t!==this&&(n={retrievalLevel:n.retrievalLevel,lhs:n.lhs,declareLocalCallback:n.declareLocalCallback,declare:!1,priority:n.priority,localRef:n.localRef},this.map.set(e,n),this.maybeGenerateSharedContextVar(n),this.maybeRestoreView(n.retrievalLevel,n.localRef)),n.declareLocalCallback&&!n.declare&&(n.declare=!0),n.lhs;t=t.parent}return 0===this.bindingLevel?null:this.getComponentProperty(e)}set(e,t,n,r=0,i,s){if(this.map.has(t)){if(s)return this;ln(`The name ${t} is already defined in scope to be ${this.map.get(t)}`)}return this.map.set(t,{retrievalLevel:e,lhs:n,declare:!1,declareLocalCallback:i,priority:r,localRef:s||!1}),this}getLocal(e){return this.get(e)}notifyImplicitReceiverUse(){0!==this.bindingLevel&&(this.map.get("$$shared_ctx$$0").declare=!0)}nestedScope(e,t){const n=new Wu(e,this,t);return e>0&&n.generateSharedContextVar(0),n}getOrCreateSharedContextVar(e){const t=Gu+e;return this.map.has(t)||this.generateSharedContextVar(e),this.map.get(t).lhs}getSharedContextName(e){const t=this.map.get(Gu+e);return t&&t.declare?t.lhs:null}maybeGenerateSharedContextVar(e){if(1===e.priority&&e.retrievalLevel<this.bindingLevel){const t=this.map.get(Gu+e.retrievalLevel);t?t.declare=!0:this.generateSharedContextVar(e.retrievalLevel)}}generateSharedContextVar(e){const t=St(Ni+this.freshReferenceName());this.map.set(Gu+e,{retrievalLevel:e,lhs:t,declareLocalCallback:(e,n)=>[t.set(zu(n)).toConstDecl()],declare:!1,priority:2,localRef:!1})}getComponentProperty(e){const t=this.map.get("$$shared_ctx$$0");return t.declare=!0,this.maybeRestoreView(0,!1),t.lhs.prop(e)}maybeRestoreView(e,t){this.isListenerScope()&&(e<this.bindingLevel||t)&&(this.parent.restoreViewVariable||(this.parent.restoreViewVariable=St(this.parent.freshReferenceName())),this.restoreViewVariable=this.parent.restoreViewVariable)}
1restoreViewStatement(){return this.restoreViewVariable?[Uu(null,Hn.restoreView,[this.restoreViewVariable]).toStmt()]:[]}viewSnapshotStatements(){const e=Uu(null,Hn.getCurrentView,[]);return this.restoreViewVariable?[this.restoreViewVariable.set(e).toConstDecl()]:[]}isListenerScope(){return this.parent&&this.parent.bindingLevel===this.bindingLevel}variableDeclarations(){let e=0;return Array.from(this.map.values()).filter(e=>e.declare).sort((e,t)=>t.retrievalLevel-e.retrievalLevel||t.priority-e.priority).reduce((t,n)=>{const r=this.bindingLevel-n.retrievalLevel,i=n.declareLocalCallback(this,r-e);return e=r,t.concat(i)},[])}freshReferenceName(){let e=this;for(;e.parent;)e=e.parent;return"_r"+e.referenceNameIndex++}}function Qu(e,t){const n=new v,r=s(e)[1];return n.setElement(r),Object.getOwnPropertyNames(t).forEach(e=>{const r=s(e)[1],i=t[e];if(n.addAttribute(r,i),"class"===e.toLowerCase()){i.trim().split(/\s+/).forEach(e=>n.addClassName(e))}}),n}function Ku(e){switch(Gi(e)){case 1:return Hn.propertyInterpolate;case 3:return Hn.propertyInterpolate1;case 5:return Hn.propertyInterpolate2;case 7:return Hn.propertyInterpolate3;case 9:return Hn.propertyInterpolate4;case 11:return Hn.propertyInterpolate5;case 13:return Hn.propertyInterpolate6;case 15:return Hn.propertyInterpolate7;case 17:return Hn.propertyInterpolate8;default:return Hn.propertyInterpolateV}}function Xu(e,t,n={}){var r;const{interpolationConfig:i,preserveWhitespaces:s,enableI18nLegacyMessageIdFormat:o}=n,a=null!==(r=n.isInline)&&void 0!==r&&r,l=Zu(i),c=(new il).parse(e,t,Object.assign(Object.assign({leadingTriviaChars:Ru},n),{tokenizeExpansionForms:!0}));if(!n.alwaysAttemptHtmlToR3AstConversion&&c.errors&&c.errors.length>0){const r={interpolationConfig:i,preserveWhitespaces:s,template:e,templateUrl:t,isInline:a,errors:c.errors,nodes:[],styleUrls:[],styles:[],ngContentSelectors:[]};return n.collectCommentNodes&&(r.commentNodes=[]),r}let u=c.rootNodes;const h=new Au(i,!s,o),d=h.visitAllWithErrors(u);if(!n.alwaysAttemptHtmlToR3AstConversion&&d.errors&&d.errors.length>0){const r={interpolationConfig:i,preserveWhitespaces:s,template:e,templateUrl:t,isInline:a,errors:d.errors,nodes:[],styleUrls:[],styles:[],ngContentSelectors:[]};return n.collectCommentNodes&&(r.commentNodes=[]),r}u=d.rootNodes,s||(u=Ma(new hl,u),h.hasI18nMeta&&(u=Ma(new Au(i,!1),u)));const{nodes:p,errors:f,styleUrls:m,styles:g,ngContentSelectors:v,commentNodes:y}=function(e,t,n){const r=new iu(t,n),i={nodes:Ma(r,e),errors:t.errors.concat(r.errors),styleUrls:r.styleUrls,styles:r.styles,ngContentSelectors:r.ngContentSelectors};return n.collectCommentNodes&&(i.commentNodes=r.commentNodes),i}(u,l,{collectCommentNodes:!!n.collectCommentNodes});f.push(...c.errors,...d.errors);const b={interpolationConfig:i,preserveWhitespaces:s,errors:f.length>0?f:null,template:e,templateUrl:t,isInline:a,nodes:p,styleUrls:m,styles:g,ngContentSelectors:v};return n.collectCommentNodes&&(b.commentNodes=y),b}const Yu=new Yc;function Zu(e=is){return new Wl(new Fc(new Sc),e,Yu,null,[])}function Ju(e,t){switch(e){case W.HTML:return Et(Hn.sanitizeHtml);case W.SCRIPT:return Et(Hn.sanitizeScript);case W.STYLE:return t?Et(Hn.sanitizeStyle):null;case W.URL:return Et(Hn.sanitizeUrl);case W.RESOURCE_URL:return Et(Hn.sanitizeResourceUrl);default:return null}}function eh(e,t){const n=Bi(t.value);if(!Jc(e,t.name))return n;switch(Yu.securityContext(e,t.name,!0)){case W.HTML:return Mt(Et(Hn.trustConstantHtml),new Oe([new De(t.value)],[]),void 0,t.valueSpan);case W.RESOURCE_URL:return Mt(Et(Hn.trustConstantResourceUrl),new Oe([new De(t.value)],[]),void 0,t.valueSpan);default:return n}}function th(e){return e instanceof hr||e instanceof dr||e instanceof _r}function nh(e){return e.every(th)}const rh="ngI18nClosureMode";function ih(){return It(St(rh)).notIdentical(Nt("undefined",ce)).and(St(rh))}const sh=/attr\.([^\]]+)/;function oh(e,t,n){const r=new zi,i=Y(e.selector);return r.set("type",e.internalType),i.length>0&&r.set("selectors",Bi(i)),e.queries.length>0&&r.set("contentQueries",function(e,t,n){const r=[],i=[],s=Li(i,Mi);for(const a of e){r.push(Et(Hn.contentQuery).callFn([St("dirIndex"),...hh(a,t)]).toStmt());const e=s(),n=Et(Hn.loadQuery).callFn([]),o=Et(Hn.queryRefresh).callFn([e.set(n)]),l=St(Ni).prop(a.propertyName).set(a.first?e.prop("first"):e);i.push(o.and(l).toStmt())}const o=n?`${n}_ContentQueries`:null;return Dt([new qe(Ri,le),new qe(Ni,null),new qe("dirIndex",null)],[Lu(1,r),Lu(2,i)],oe,null,o)}(e.queries,t,e.name)),e.viewQueries.length&&r.set("viewQuery",function(e,t,n){const r=[],i=[],s=Li(i,Mi);
1e.forEach(e=>{const n=Et(Hn.viewQuery).callFn(hh(e,t));r.push(n.toStmt());const o=s(),a=Et(Hn.loadQuery).callFn([]),l=Et(Hn.queryRefresh).callFn([o.set(a)]),c=St(Ni).prop(e.propertyName).set(e.first?o.prop("first"):o);i.push(l.and(c).toStmt())});const o=n?`${n}_Query`:null;return Dt([new qe(Ri,le),new qe(Ni,null)],[Lu(1,r),Lu(2,i)],oe,null,o)}(e.viewQueries,t,e.name)),r.set("hostBindings",function(e,t,n,r,i,s,o){const a=St(Ni),l=new yc(a),{styleAttr:c,classAttr:u}=e.specialAttributes;void 0!==c&&l.registerStyleAttr(c);void 0!==u&&l.registerClassAttr(u);const h=[],d=[],p=t,f=yh(e),m=n.createDirectiveHostEventAsts(f,p);if(m&&m.length){const e=function(e,t){const n=[],r=[],i=[];e.forEach(e=>{let i=e.name&&xn(e.name);const s=1===e.type?lr(i,e.targetOrPhase):i,o=t&&i?`${t}_${s}_HostBindingHandler`:null,a=ju(mr.fromParsedEvent(e),o);1==e.type?r.push(a):n.push(a)}),r.length>0&&i.push(qi(Hn.syntheticHostListener,r).toStmt());n.length>0&&i.push(qi(Hn.listener,n).toStmt());return i}(m,s);h.push(...e)}const g=n.createBoundHostProperties(f,p),v=[];let y,b=0;g&&g.forEach(e=>{l.registerInputBasedOnName(e.name,e.expression,p)?b+=2:(v.push(e),b++)});const w=()=>{if(!y){y=new Bu(r,()=>ln("Unexpected node"),e=>{const t=b;return b+=e,t},()=>ln("Unexpected pipe"))}return y},_=[],x=[],C=[];v.forEach(e=>{const t=e.expression.visit(w()),r=vh(a,t),{bindingName:s,instruction:o,isAttribute:l}=function(e){let t,n=e.name;const r=n.match(sh);r?(n=r[1],t=Hn.attribute):e.isAnimation?(n=or(n),t=Hn.syntheticHostProperty):t=Hn.hostProperty;return{bindingName:n,instruction:t,isAttribute:!!r}}(e),c=n.calcPossibleSecurityContexts(i,s,l).filter(e=>e!==W.NONE);let u=null;c.length&&(u=2===c.length&&c.indexOf(W.URL)>-1&&c.indexOf(W.RESOURCE_URL)>-1?Et(Hn.sanitizeUrlOrResourceUrl):Ju(c[0],l));const h=[Nt(s),r.currValExpr];u&&h.push(u),d.push(...r.stmts),o===Hn.hostProperty?_.push(h):o===Hn.attribute?x.push(h):o===Hn.syntheticHostProperty?C.push(h):d.push(Et(o).callFn(h).toStmt())}),_.length>0&&d.push(qi(Hn.hostProperty,_).toStmt());x.length>0&&d.push(qi(Hn.attribute,x).toStmt());C.length>0&&d.push(qi(Hn.syntheticHostProperty,C).toStmt());const S=function(e){const t=[];for(let n of Object.getOwnPropertyNames(e)){const r=e[n];t.push(Nt(n),r)}return t}(e.attributes);l.assignHostAttrs(S,o),l.hasBindings&&l.buildUpdateLevelInstructions(w()).forEach(e=>{if(e.calls.length>0){const t=[];e.calls.forEach(e=>{b+=Math.max(e.allocateBindingSlots-2,0),t.push(function(e,t,n){return e.params(e=>n(t,e).currValExpr)}(e,a,vh))}),d.push(qi(e.reference,t).toStmt())}});b&&o.set("hostVars",Nt(b));if(h.length>0||d.length>0){const e=s?`${s}_HostBindings`:null,t=[];return h.length>0&&t.push(Lu(1,h)),d.length>0&&t.push(Lu(2,d)),Dt([new qe(Ri,le),new qe(Ni,null)],t,oe,null,e)}return null}(e.host,e.typeSourceSpan,n,t,e.selector||"",e.name,r)),r.set("inputs",$i(e.inputs,!0)),r.set("outputs",$i(e.outputs)),null!==e.exportAs&&r.set("exportAs",Tt(e.exportAs.map(e=>Nt(e)))),r}function ah(e,t){const n=[],r=t.providers,i=t.viewProviders;if(r||i){const e=[r||new Ye([])];i&&e.push(i),n.push(Et(Hn.ProvidersFeature).callFn(e))}t.usesInheritance&&n.push(Et(Hn.InheritDefinitionFeature)),t.fullInheritance&&n.push(Et(Hn.CopyDefinitionFeature)),t.lifecycle.usesOnChanges&&n.push(Et(Hn.NgOnChangesFeature)),n.length&&e.set("features",Tt(n))}function lh(e,t,n){const r=oh(e,t,n);ah(r,e);const i=e.selector&&v.parse(e.selector),s=i&&i[0];if(s){const e=s.getAttrs();e.length&&r.set("attrs",t.getConstLiteral(Tt(e.map(e=>Nt(null!=e?e:void 0))),!0))}let o=null;if(e.directives.length>0){const t=new y;for(const{selector:n,type:r}of e.directives)t.addSelectables(v.parse(n),r);o=t}const a=e.name,l=a?`${a}_Template`:null,c=new Set,u=new Set,h=e.changeDetection,d=e.template,p=new Fu(t,Wu.createRootScope(),0,a,null,null,l,o,c,e.pipes,u,Hn.namespaceHTML,e.relativeContextFilePath,e.i18nUseExternalIds),f=p.buildTemplateFunction(d.nodes,[]),m=p.getNgContentSelectors();m&&r.set("ngContentSelectors",m),r.set("decls",Nt(p.getConstCount())),r.set("vars",Nt(p.getVarCount()));const{constExpressions:g,prepareStatements:b}=p.getConsts();if(g.length>0){let e=Tt(g);b.length>0&&(e=Dt([],[...b,new ut(e)])),r.set("consts",e)}if(r.set("template",f),c.size){const t=uh(Tt(Array.from(c)),e.declarationListEmitMode);r.set("directives",t)}if(u.size){const t=uh(Tt(Array.from(u)),e.declarationListEmitMode);r.set("pipes",t)}if(null===e.encapsulation&&(e.encapsulation=O.Emulated),e.styles&&e.styles.length){const n=(e.encapsulation==O.Emulated?function(e,t,n){const r=new zo;return e.map(e=>r.shimCssText(e,t,n))}(e.styles,_a,wa):e.styles).map(e=>t.getConstLiteral(Nt(e)));r.set("styles",Tt(n))}else e.encapsulation===O.Emulated&&(e.encapsulation=O.None);e.encapsulation!==O.Emulated&&r.set("encapsulation",Nt(e.encapsulation)),null!==e.animations&&r.set("data",Ot([{key:"animation",value:e.animations,quoted:!1}])),null!=h&&h!==D.Default&&r.set("changeDetection",Nt(h));return{expression:Et(Hn.defineComponent).callFn([r.toLiteralMap()]),type:ch(e)}}function ch(e){const t=mh(e);return t.push(fh(e.template.ngContentSelectors)),kt(Et(Hn.ComponentDefWithMeta,t))}function uh(e,t){switch(t){case 0:return e;case 1:return Dt([],[new ut(e)]);case 2:const t=e.callMethod("map",[Et(Hn.resolveForwardRef)]);return Dt([],[new ut(t)])}}function hh(e,t){const n=[Ui(e,t),Nt(dh(e))];return e.read&&n.push(e.read),n}
1function dh(e){return(e.descendants?1:0)|(e.static?2:0)|(e.emitDistinctChangesOnly?4:0)}function ph(e){return kt(Ot(Object.keys(e).map(t=>({key:t,value:Nt(Array.isArray(e[t])?e[t][0]:e[t]),quoted:!0}))))}function fh(e){return e.length>0?kt(Tt(e.map(e=>Nt(e)))):ue}function mh(e){const t=null!==e.selector?e.selector.replace(/\n/g,""):null;return[sr(e.type.type,e.typeArgumentCount),null!==t?(n=t,kt(Nt(n))):ue,null!==e.exportAs?fh(e.exportAs):ue,ph(e.inputs),ph(e.outputs),fh(e.queries.map(e=>e.propertyName))];var n}function gh(e){const t=mh(e);return kt(Et(Hn.DirectiveDefWithMeta,t))}function vh(e,t){return Po(null,e,t,"b",Rs.Expression,()=>ln("Unexpected interpolation"))}function yh(e){return{hostAttributes:{},hostListeners:e.listeners,hostProperties:e.properties}}const bh=/^(?:\[([^\]]+)\])|(?:\(([^\)]+)\))$/;class wh{get(e){return""}}class _h{constructor(e=new us){this.jitEvaluator=e,this.R3ResolvedDependencyType=Ki,this.R3FactoryTarget=Qi,this.ResourceLoader=wh,this.elementSchemaRegistry=new Yc}compilePipe(e,t,n){const r=Us({name:n.name,type:Ah(n.type),internalType:new _e(n.type),typeArgumentCount:n.typeArgumentCount,deps:Bh(n.deps),pipeName:n.pipeName,pure:n.pure});return this.jitExpression(r.expression,e,t,[])}compilePipeDeclaration(e,t,n){const r=Us(function(e){var t;return{name:e.type.name,type:Ah(e.type),internalType:new _e(e.type),typeArgumentCount:0,pipeName:e.name,deps:null,pure:null===(t=e.pure)||void 0===t||t}}(n));return this.jitExpression(r.expression,e,t,[])}compileInjectable(e,t,n){const{expression:r,statements:i}=function(e){let t=null;const n={name:e.name,type:e.type,internalType:e.internalType,typeArgumentCount:e.typeArgumentCount,deps:[],injectFn:Gt.inject,target:Qi.Injectable};if(void 0!==e.useClass){const r=e.useClass.isEquivalent(e.internalType);let i;void 0!==e.userDeps&&(i=e.userDeps),t=void 0!==i?Xi(Object.assign(Object.assign({},n),{delegate:e.useClass,delegateDeps:i,delegateType:Wi.Class})):r?Xi(n):Ji(e.type.value,e.useClass)}else t=void 0!==e.useFactory?void 0!==e.userDeps?Xi(Object.assign(Object.assign({},n),{delegate:e.useFactory,delegateDeps:e.userDeps||[],delegateType:Wi.Function})):{statements:[],factory:Dt([],[new ut(e.useFactory.callFn([]))])}:void 0!==e.useValue?Xi(Object.assign(Object.assign({},n),{expression:e.useValue})):void 0!==e.useExisting?Xi(Object.assign(Object.assign({},n),{expression:Et(Gt.inject).callFn([e.useExisting])})):Ji(e.type.value,e.internalType);const r={token:e.internalType,factory:t.factory};return null!==e.providedIn.value&&(r.providedIn=e.providedIn),{expression:Et(Gt.\u0275\u0275defineInjectable).callFn([ir(r)]),type:new ne(Et(Gt.InjectableDef,[sr(e.type.type,e.typeArgumentCount)])),statements:t.statements}}({name:n.name,type:Ah(n.type),internalType:new _e(n.type),typeArgumentCount:n.typeArgumentCount,providedIn:jh(n.providedIn),useClass:Lh(n,xh),useFactory:Lh(n,Ch),useValue:Lh(n,Sh),useExisting:Lh(n,Eh),userDeps:Bh(n.userDeps)||void 0});return this.jitExpression(r,e,t,i)}compileInjector(e,t,n){const r=function(e){const t={};return null!==e.providers&&(t.providers=e.providers),e.imports.length>0&&(t.imports=Tt(e.imports)),{expression:Et(Hn.defineInjector).callFn([ir(t)]),type:new ne(Et(Hn.InjectorDef,[new ne(e.type.type)]))}}({name:n.name,type:Ah(n.type),internalType:new _e(n.type),providers:new _e(n.providers),imports:n.imports.map(e=>new _e(e))});return this.jitExpression(r.expression,e,t,[])}compileNgModule(e,t,n){const r=Bs({type:Ah(n.type),internalType:new _e(n.type),adjacentType:new _e(n.type),bootstrap:n.bootstrap.map(Ah),declarations:n.declarations.map(Ah),imports:n.imports.map(Ah),exports:n.exports.map(Ah),emitInline:!0,containsForwardDecls:!1,schemas:n.schemas?n.schemas.map(Ah):null,id:n.id?new _e(n.id):null});return this.jitExpression(r.expression,e,t,[])}compileDirective(e,t,n){const r=Th(n);return this.compileDirectiveFromMeta(e,t,r)}compileDirectiveDeclaration(e,t,n){const r=Oh(n,this.createParseSourceSpan("Directive",n.type.name,t));return this.compileDirectiveFromMeta(e,t,r)}compileDirectiveFromMeta(e,t,n){const r=new $t,i=function(e,t,n){const r=oh(e,t,n
1);return ah(r,e),{expression:Et(Hn.defineDirective).callFn([r.toLiteralMap()]),type:gh(e)}}(n,r,Zu());return this.jitExpression(i.expression,e,t,r.statements)}compileComponent(e,t,n){const{template:r,interpolation:i}=Rh(n.template,n.name,t,n.preserveWhitespaces,n.interpolation),s=Object.assign(Object.assign(Object.assign({},n),Th(n)),{selector:n.selector||this.elementSchemaRegistry.getDefaultComponentElementName(),template:r,declarationListEmitMode:0,styles:[...n.styles,...r.styles],encapsulation:n.encapsulation,interpolation:i,changeDetection:n.changeDetection,animations:null!=n.animations?new _e(n.animations):null,viewProviders:null!=n.viewProviders?new _e(n.viewProviders):null,relativeContextFilePath:"",i18nUseExternalIds:!0}),o=`ng:///${n.name}.js`;return this.compileComponentFromMeta(e,o,s)}compileComponentDeclaration(e,t,n){const r=function(e,t,n){var r,i,s,o,a;const{template:l,interpolation:c}=Rh(e.template,e.type.name,n,null!==(r=e.preserveWhitespaces)&&void 0!==r&&r,e.interpolation);return Object.assign(Object.assign({},Oh(e,t)),{template:l,styles:null!==(i=e.styles)&&void 0!==i?i:[],directives:(null!==(s=e.directives)&&void 0!==s?s:[]).map(Mh),pipes:Nh(e.pipes),viewProviders:void 0!==e.viewProviders?new _e(e.viewProviders):null,animations:void 0!==e.animations?new _e(e.animations):null,changeDetection:null!==(o=e.changeDetection)&&void 0!==o?o:D.Default,encapsulation:null!==(a=e.encapsulation)&&void 0!==a?a:O.Emulated,interpolation:c,declarationListEmitMode:2,relativeContextFilePath:"",i18nUseExternalIds:!0})}(n,this.createParseSourceSpan("Component",n.type.name,t),t);return this.compileComponentFromMeta(e,t,r)}compileComponentFromMeta(e,t,n){const r=new $t,i=lh(n,r,Zu(n.interpolation));return this.jitExpression(i.expression,e,t,r.statements)}compileFactory(e,t,n){const r=Xi({name:n.name,type:Ah(n.type),internalType:new _e(n.type),typeArgumentCount:n.typeArgumentCount,deps:Bh(n.deps),injectFn:"directiveInject"===n.injectFn?Gt.directiveInject:Gt.inject,target:n.target});return this.jitExpression(r.factory,e,t,r.statements)}createParseSourceSpan(e,t,n){return function(e,t,n){const r=new Ds("",`in ${e} ${t} in ${n}`);return new Ps(new Os(r,-1,-1,-1),new Os(r,-1,-1,-1))}(e,t,n)}jitExpression(e,t,n,r){const i=[...r,new at("$def",e,void 0,[rt.Exported])];return this.jitEvaluator.evaluateStatements(n,i,new Fs(t),!0).$def}}const xh=Object.keys({useClass:null})[0],Ch=Object.keys({useFactory:null})[0],Sh=Object.keys({useValue:null})[0],Eh=Object.keys({useExisting:null})[0],Ah=function(e){const t=new _e(e);return{value:t,type:t}};function kh(e){return Object.assign(Object.assign({},e),{predicate:Array.isArray(e.predicate)?e.predicate:new _e(e.predicate),read:e.read?new _e(e.read):null,static:e.static,emitDistinctChangesOnly:e.emitDistinctChangesOnly})}function Ih(e){var t,n,r,i;return{propertyName:e.propertyName,first:null!==(t=e.first)&&void 0!==t&&t,predicate:Array.isArray(e.predicate)?e.predicate:new _e(e.predicate),descendants:null!==(n=e.descendants)&&void 0!==n&&n,read:e.read?new _e(e.read):null,static:null!==(r=e.static)&&void 0!==r&&r,emitDistinctChangesOnly:null===(i=e.emitDistinctChangesOnly)||void 0===i||i}}function Th(e){const t=zh(e.inputs||[]),n=zh(e.outputs||[]),r=e.propMetadata,i={},s={};for(const o in r)r.hasOwnProperty(o)&&r[o].forEach(e=>{"Input"===e.ngMetadataName?i[o]=e.bindingPropertyName?[e.bindingPropertyName,o]:o:Uh(e)&&(s[o]=e.bindingPropertyName||o)});return Object.assign(Object.assign({},e),{typeSourceSpan:e.typeSourceSpan,type:Ah(e.type),internalType:new _e(e.type),deps:Bh(e.deps),host:$h(e.propMetadata,e.typeSourceSpan,e.host),inputs:Object.assign(Object.assign({},t),i),outputs:Object.assign(Object.assign({},n),s),queries:e.queries.map(kh),providers:null!=e.providers?new _e(e.providers):null,viewQueries:e.viewQueries.map(kh),fullInheritance:!1})}function Oh(e,t){var n,r,i,s,o,a,l,c;return{name:e.type.name,type:Ah(e.type),typeSourceSpan:t,internalType:new _e(e.type),selector:null!==(n=e.selector)&&void 0!==n?n:null,inputs:null!==(r=e.inputs)&&void 0!==r?r:{},outputs:null!==(i=e.outputs)&&void 0!==i?i:{},host:Dh(e.host),queries:(null!==(s=e.queries)&&void 0!==s?s:[]).map(Ih),viewQueries:(null!==(o=e.viewQueries)&&void 0!==o?o:[]).map(Ih),providers:void 0!==e.providers?new _e(e.providers):null,exportAs:null!==(a=e.exportAs)&&void 0!==a?a:null,usesInheritance:null!==(l=e.usesInheritance)&&void 0!==l&&l,lifecycle:{usesOnChanges:null!==(c=e.usesOnChanges)&&void 0!==c&&c},deps:null,typeArgumentCount:0,fullInheritance:!1}}function Dh(e={}){var t,n,r;return{attributes:Ph(null!==(t=e.attributes)&&void 0!==t?t:{}),listeners:null!==(n=e.listeners)&&void 0!==n?n:{},properties:null!==(r=e.properties)&&void 0!==r?r:{},specialAttributes:{classAttr:e.classAttribute,styleAttr:e.styleAttribute}}}function Ph(e){const t={};for(const n of Object.keys(e))t[n]=new _e(e[n]);return t}function Mh(e){var t,n,r;return{selector:e.selector,type:new _e(e.type),inputs:null!==(t=e.input
1s)&&void 0!==t?t:[],outputs:null!==(n=e.outputs)&&void 0!==n?n:[],exportAs:null!==(r=e.exportAs)&&void 0!==r?r:null}}function Nh(e){const t=new Map;if(void 0===e)return t;for(const n of Object.keys(e)){const r=e[n];t.set(n,new _e(r))}return t}function Rh(e,t,n,r,i){const s=i?rs.fromArray(i):is,o=Xu(e,n,{preserveWhitespaces:r,interpolationConfig:s});if(null!==o.errors){const e=o.errors.map(e=>e.toString()).join(", ");throw new Error(`Errors during JIT compilation of template for ${t}: ${e}`)}return{template:o,interpolation:s}}function Lh(e,t){return e.hasOwnProperty(t)?new _e(e[t]):void 0}function jh(e){return null==e||"string"==typeof e?new Te(e):new _e(e)}function Fh(e){let t;return t=null===e.token?new Te(null):e.resolved===Ki.Attribute?new Te(e.token):new _e(e.token),{token:t,attribute:null,resolved:e.resolved,host:e.host,optional:e.optional,self:e.self,skipSelf:e.skipSelf}}function Bh(e){return null==e?null:e.map(Fh)}function $h(e,t,n){const r=function(e){const t={},n={},r={},i={};for(const s of Object.keys(e)){const o=e[s],a=s.match(bh);if(null===a)switch(s){case"class":if("string"!=typeof o)throw new Error("Class binding must be string");i.classAttr=o;break;case"style":if("string"!=typeof o)throw new Error("Style binding must be string");i.styleAttr=o;break;default:t[s]="string"==typeof o?Nt(o):o}else if(null!=a[1]){if("string"!=typeof o)throw new Error("Property binding must be string");r[a[1]]=o}else if(null!=a[2]){if("string"!=typeof o)throw new Error("Event binding must be string");n[a[2]]=o}}return{attributes:t,listeners:n,properties:r,specialAttributes:i}}(n||{}),i=function(e,t){const n=yh(e),r=Zu();return r.createDirectiveHostEventAsts(n,t),r.createBoundHostProperties(n,t),r.errors}(r,t);if(i.length)throw new Error(i.map(e=>e.msg).join("\n"));for(const s in e)e.hasOwnProperty(s)&&e[s].forEach(e=>{"HostBinding"===e.ngMetadataName?r.properties[e.hostPropertyName||s]=ar("this",s):Vh(e)&&(r.listeners[e.eventName||s]=`${s}(${(e.args||[]).join(",")})`)}
1);return r}function Vh(e){return"HostListener"===e.ngMetadataName}function Uh(e){return"Output"===e.ngMetadataName}function zh(e){return e.reduce((e,t)=>{const[n,r]=t.split(",").map(e=>e.trim());return e[n]=r||n,e},{})}new class{constructor(e){this.full=e;const t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}}("11.2.14");class Hh{constructor({defaultEncapsulation:e=O.Emulated,useJit:t=!0,jitDevMode:n=!1,missingTranslation:r=null,preserveWhitespaces:i,strictInjectionParameters:s}={}){this.defaultEncapsulation=e,this.useJit=!!t,this.jitDevMode=!!n,this.missingTranslation=r,this.preserveWhitespaces=qh(nn(i)),this.strictInjectionParameters=!0===s}}function qh(e,t=!1){return null===e?t:e}class Gh{constructor(e,t,n,r){this._resourceLoader=e,this._urlResolver=t,this._htmlParser=n,this._config=r,this._resourceLoaderCache=new Map}clearCache(){this._resourceLoaderCache.clear()}clearCacheFor(e){if(!e.isComponent)return;const t=e.template;this._resourceLoaderCache.delete(t.templateUrl),t.externalStylesheets.forEach(e=>{this._resourceLoaderCache.delete(e.moduleUrl)})}_fetch(e){let t=this._resourceLoaderCache.get(e);return t||(t=this._resourceLoader.get(e),this._resourceLoaderCache.set(e,t)),t}normalizeTemplate(e){if(tn(e.template)){if(tn(e.templateUrl))throw cn(`'${fn(e.componentType)}' component cannot define both template and templateUrl`);if("string"!=typeof e.template)throw cn(`The template specified for component ${fn(e.componentType)} is not a string`)}else{if(!tn(e.templateUrl))throw cn(`No template specified for component ${fn(e.componentType)}`);if("string"!=typeof e.templateUrl)throw cn(`The templateUrl specified for component ${fn(e.componentType)} is not a string`)}if(tn(e.preserveWhitespaces)&&"boolean"!=typeof e.preserveWhitespaces)throw cn(`The preserveWhitespaces option for component ${fn(e.componentType)} must be a boolean`);return on(this._preParseTemplate(e),t=>this._normalizeTemplateMetadata(e,t))}_preParseTemplate(e){let t,n;return null!=e.template?(t=e.template,n=e.moduleUrl):(n=this._urlResolver.resolve(e.moduleUrl,e.templateUrl),t=this._fetch(n)),on(t,t=>this._preparseLoadedTemplate(e,t,n))}_preparseLoadedTemplate(e,t,n){const r=!!e.template,i=rs.fromArray(e.interpolation),s=Un({reference:e.ngModuleType},{type:{reference:e.componentType}},{isInline:r,templateUrl:n}),o=this._htmlParser.parse(t,s,{tokenizeExpansionForms:!0,interpolationConfig:i});if(o.errors.length>0){throw cn(`Template parse errors:\n${o.errors.join("\n")}`)}const a=this._normalizeStylesheet(new Pn({styles:e.styles,moduleUrl:e.moduleUrl})),l=new Wh;Ma(l,o.rootNodes);const c=this._normalizeStylesheet(new Pn({styles:l.styles,styleUrls:l.styleUrls,moduleUrl:n}));return{template:t,templateUrl:n,isInline:r,htmlAst:o,styles:a.styles.concat(c.styles),inlineStyleUrls:a.styleUrls.concat(c.styleUrls),styleUrls:this._normalizeStylesheet(new Pn({styleUrls:e.styleUrls,moduleUrl:e.moduleUrl})).styleUrls,ngContentSelectors:l.ngContentSelectors}}_normalizeTemplateMetadata(e,t){return on(this._loadMissingExternalStylesheets(t.styleUrls.concat(t.inlineStyleUrls)),n=>this._normalizeLoadedTemplateMetadata(e,t,n))}_normalizeLoadedTemplateMetadata(e,t,n){const r=[...t.styles];this._inlineStyles(t.inlineStyleUrls,n,r);const i=t.styleUrls,s=i.map(e=>{const t=n.get(e),r=[...t.styles];return this._inlineStyles(t.styleUrls,n,r),new Pn({moduleUrl:e,styles:r})});let o=e.encapsulation;return null==o&&(o=this._config.defaultEncapsulation),o===O.Emulated&&0===r.length&&0===i.length&&(o=O.None),new Mn({encapsulation:o,template:t.template,templateUrl:t.templateUrl,htmlAst:t.htmlAst,styles:r,styleUrls:i,ngContentSelectors:t.ngContentSelectors,animations:e.animations,interpolation:e.interpolation,isInline:t.isInline,externalStylesheets:s,preserveWhitespaces:qh(e.preserveWhitespaces,this._config.preserveWhitespaces)})}_inlineStyles(e,t,n){e.forEach(e=>{const r=t.get(e);r.styles.forEach(e=>n.push(e)),this._inlineStyles(r.styleUrls,t,n)})}_loadMissingExternalStylesheets(e,t=new Map){return on(an(e.filter(e=>!t.has(e)).map(e=>on(this._fetch(e),n=>{const r=this._normalizeStylesheet(new Pn({styles:[n],moduleUrl:e}));return t.set(e,r),this._loadMissingExternalStylesheets(r.styleUrls,t)}))),e=>t)}_normalizeStylesheet(e){const t=e.moduleUrl,n=e.styleUrls.filter(Ul).map(e=>this._urlResolver.resolve(t,e)),r=e.styles.map(e=>{const r=function(e,t,n){const r=[],i=n.replace(Hl,"").replace(zl,(...n)=>{const i=n[1]||n[2];return Ul(i)?(r.push(e.resolve(t,i)),""):n[0]});return new Vl(i,r)}(this._urlResolver,t,e);return n.push(...r.styleUrls),r.style});return new Pn({styles:r,styleUrls:n,moduleUrl:t})}}class Wh{constructor(){this.ngContentSelectors=[],this.styles=[],this.styleUrls=[],this.ngNonBindableStackCount=0}visitElement(e,t){const n=Zl(e);switch(n.type){case Jl.NG_CONTENT:0===this.ngNonBindableStackCount&&this.ngContentSelectors.push(n.selectAttr);break;case Jl.STYLE:let t="";
1e.children.forEach(e=>{e instanceof ka&&(t+=e.value)}),this.styles.push(t);break;case Jl.STYLESHEET:this.styleUrls.push(n.hrefAttr)}return n.nonBindable&&this.ngNonBindableStackCount++,Ma(this,e.children),n.nonBindable&&this.ngNonBindableStackCount--,null}visitExpansion(e,t){Ma(this,e.cases)}visitExpansionCase(e,t){Ma(this,e.expression)}visitComment(e,t){return null}visitAttribute(e,t){return null}visitText(e,t){return null}}const Qh=[I,k,A,E];class Kh{constructor(e){this._reflector=e}isDirective(e){const t=this._reflector.annotations(mn(e));return t&&t.some(Xh)}resolve(e,t=!0){const n=this._reflector.annotations(mn(e));if(n){const t=Yh(n,Xh);if(t){const n=this._reflector.propMetadata(e),r=this._reflector.guards(e);return this._mergeWithPropertyMetadata(t,n,r,e)}}if(t)throw new Error(`No Directive annotation found on ${fn(e)}`);return null}_mergeWithPropertyMetadata(e,t,n,r){const i=[],s=[],o={},a={};return Object.keys(t).forEach(e=>{const n=Yh(t[e],e=>N.isTypeOf(e));n&&(n.bindingPropertyName?i.push(`${e}: ${n.bindingPropertyName}`):i.push(e));const r=Yh(t[e],e=>R.isTypeOf(e));r&&(r.bindingPropertyName?s.push(`${e}: ${r.bindingPropertyName}`):s.push(e));t[e].filter(e=>L.isTypeOf(e)).forEach(t=>{if(t.hostPropertyName){const n=t.hostPropertyName[0];if("("===n)throw new Error("@HostBinding can not bind to events. Use @HostListener instead.");if("["===n)throw new Error("@HostBinding parameter should be a property name, 'class.<name>', or 'attr.<name>'.");o[`[${t.hostPropertyName}]`]=e}else o[`[${e}]`]=e});t[e].filter(e=>j.isTypeOf(e)).forEach(t=>{const n=t.args||[];o[`(${t.eventName})`]=`${e}(${n.join(",")})`});const l=Yh(t[e],e=>Qh.some(t=>t.isTypeOf(e)));l&&(a[e]=l)}),this._merge(e,i,s,o,a,n,r)}_extractPublicName(e){return Zt(e,[null,e])[1].trim()}_dedupeBindings(e){const t=new Set,n=new Set,r=[];for(let i=e.length-1;i>=0;i--){const s=e[i],o=this._extractPublicName(s);n.add(o),t.has(o)||(t.add(o),r.push(s))}return r.reverse()}_merge(e,t,n,r,i,s,o){const a=this._dedupeBindings(e.inputs?e.inputs.concat(t):t),l=this._dedupeBindings(e.outputs?e.outputs.concat(n):n),c=e.host?Object.assign(Object.assign({},e.host),r):r,u=e.queries?Object.assign(Object.assign({},e.queries),i):i;if(P.isTypeOf(e)){const t=e;return P({selector:t.selector,inputs:a,outputs:l,host:c,exportAs:t.exportAs,moduleId:t.moduleId,queries:u,changeDetection:t.changeDetection,providers:t.providers,viewProviders:t.viewProviders,entryComponents:t.entryComponents,template:t.template,templateUrl:t.templateUrl,styles:t.styles,styleUrls:t.styleUrls,encapsulation:t.encapsulation,animations:t.animations,interpolation:t.interpolation,preserveWhitespaces:e.preserveWhitespaces})}return T({selector:e.selector,inputs:a,outputs:l,host:c,exportAs:e.exportAs,queries:u,providers:e.providers,guards:s})}}function Xh(e){return T.isTypeOf(e)||P.isTypeOf(e)}function Yh(e,t){for(let n=e.length-1;n>=0;n--)if(t(e[n]))return e[n];return null}const Zh="i18n",Jh="i18n-",ed=/^i18n:?/;let td=!1;class nd{constructor(e,t){this.messages=e,this.errors=t}}var rd;!function(e){e[e.Extract=0]="Extract",e[e.Merge=1]="Merge"}(rd||(rd={}));class id{constructor(e,t){this._implicitTags=e,this._implicitAttrs=t}extract(e,t){return this._init(rd.Extract,t),e.forEach(e=>e.visit(this,null)),this._inI18nBlock&&this._reportError(e[e.length-1],"Unclosed block"),new nd(this._messages,this._errors)}merge(e,t,n){this._init(rd.Merge,n),this._translations=t;const r=new Da("wrapper",[],e,void 0,void 0,void 0).visit(this,null);return this._inI18nBlock&&this._reportError(e[e.length-1],"Unclosed block"),new el(r.children,this._errors)}visitExpansionCase(e,t){const n=Ma(this,e.expression,t);if(this._mode===rd.Merge)return new Ta(e.value,n,e.sourceSpan,e.valueSourceSpan,e.expSourceSpan)}visitExpansion(e,t){this._mayBeAddBlockChildren(e);const n=this._inIcu;this._inIcu||(this._isInTranslatableSection&&this._addMessage([e]),this._inIcu=!0);const r=Ma(this,e.cases,t);return this._mode===rd.Merge&&(e=new Ia(e.switchValue,e.type,r,e.sourceSpan,e.switchValueSourceSpan)),this._inIcu=n,e}visitComment(e,t){const n=!!((r=e)instanceof Pa&&r.value&&r.value.startsWith("i18n"));var r;if(n&&this._isInTranslatableSection)return void this._reportError(e,"Could not start a block inside a translatable section");const i=function(e){return!!(e instanceof Pa&&e.value&&"/i18n"===e.value)}(e);if(!i||this._inI18nBlock){if(!this._inI18nNode&&!this._inIcu)if(this._inI18nBlock){if(i){if(this._depth==this._blockStartDepth){this._closeTranslatableSection(e,this._blockChildren),this._inI18nBlock=!1;const t=this._addMessage(this._blockChildren,this._blockMeaningAndDesc);return Ma(this,this._translateMessage(e,t))}return void this._reportError(e,"I18N blocks should not cross element boundaries")}}else if(n){if(!td&&console&&console.warn){td=!0;const t=e.sourceSpan.details?`, ${e.sourceSpan.details}`:"";console.warn(`I18n comments are deprecated, use an <ng-container> element instead (${e.sourceSpan.start}${t})`)}this._inI18nBlock=!0,this._blockStartDepth=this._depth,this._blockChildren=[],this._blockMeaningAndDesc=e.value.replace(ed,"").trim(),this._openTranslatableSection(e)}}else this._reportError(e,"Trying to close an unopened block")}visitText(e,t){return this._isInTranslatableSection&&this._mayBeAddBlockChildren(e),e}visitElement(e,t){this._mayBeAddBlockChildren(e),this._depth++;const n=this._inI18nNode,r=this._inImplicitNode;let i,s=[];const o=e.attrs.find(e=>e.name===Zh)||null;const a=o?o.value:"",l=this._implicitTags.some(t=>e.name===t)&&!this._inIcu&&!this._isInTranslatableSection,c=!r&&l;if(this._inImplicitNode=r||l,this._isInTranslatableSection||this._inIcu)(o||c)&&this._reportError(e,"Could not mark an element as translatable inside a translatable section"),this._mode==rd.Extract&&Ma(this,e.children);else{if(o||c){this._inI18nNode=!0;const t=this._addMessage(e.children,a);i=this._translateMessage(e,t)}if(this._mode==rd.Extract){const t=o||c;t&&this._openTranslatableSection(e),Ma(this,e.children),t&&this._closeTranslatableSection(e,e.children)}}
1if(this._mode===rd.Merge){(i||e.children).forEach(e=>{const n=e.visit(this,t);n&&!this._isInTranslatableSection&&(s=s.concat(n))})}if(this._visitAttributesOf(e),this._depth--,this._inI18nNode=n,this._inImplicitNode=r,this._mode===rd.Merge){const t=this._translateAttributes(e);return new Da(e.name,t,s,e.sourceSpan,e.startSourceSpan,e.endSourceSpan)}return null}visitAttribute(e,t){throw new Error("unreachable code")}_init(e,t){this._mode=e,this._inI18nBlock=!1,this._inI18nNode=!1,this._depth=0,this._inIcu=!1,this._msgCountAtSectionStart=void 0,this._errors=[],this._messages=[],this._inImplicitNode=!1,this._createI18nMessage=bu(t)}_visitAttributesOf(e){const t={},n=this._implicitAttrs[e.name]||[];e.attrs.filter(e=>e.name.startsWith(Jh)).forEach(e=>t[e.name.slice(Jh.length)]=e.value),e.attrs.forEach(e=>{e.name in t?this._addMessage([e],t[e.name]):n.some(t=>e.name===t)&&this._addMessage([e])})}_addMessage(e,t){if(0==e.length||1==e.length&&e[0]instanceof Oa&&!e[0].value)return null;const{meaning:n,description:r,id:i}=sd(t),s=this._createI18nMessage(e,n,r,i);return this._messages.push(s),s}_translateMessage(e,t){if(t&&this._mode===rd.Merge){const n=this._translations.get(t);if(n)return n;this._reportError(e,`Translation unavailable for message id="${this._translations.digest(t)}"`)}return[]}_translateAttributes(e){const t=e.attrs,n={};t.forEach(e=>{e.name.startsWith(Jh)&&(n[e.name.slice(Jh.length)]=sd(e.value))});const r=[];return t.forEach(t=>{if(t.name!==Zh&&!t.name.startsWith(Jh))if(t.value&&""!=t.value&&n.hasOwnProperty(t.name)){const{meaning:i,description:s,id:o}=n[t.name],a=this._createI18nMessage([t],i,s,o),l=this._translations.get(a);if(l)if(0==l.length)r.push(new Oa(t.name,"",t.sourceSpan,void 0,void 0,void 0));else if(l[0]instanceof ka){const e=l[0].value;r.push(new Oa(t.name,e,t.sourceSpan,void 0,void 0,void 0))}else this._reportError(e,`Unexpected translation for attribute "${t.name}" (id="${o||this._translations.digest(a)}")`);else this._reportError(e,`Translation unavailable for attribute "${t.name}" (id="${o||this._translations.digest(a)}")`)}else r.push(t)}),r}_mayBeAddBlockChildren(e){this._inI18nBlock&&!this._inIcu&&this._depth==this._blockStartDepth&&this._blockChildren.push(e)}_openTranslatableSection(e){this._isInTranslatableSection?this._reportError(e,"Unexpected section start"):this._msgCountAtSectionStart=this._messages.length}get _isInTranslatableSection(){return void 0!==this._msgCountAtSectionStart}_closeTranslatableSection(e,t){if(!this._isInTranslatableSection)return void this._reportError(e,"Unexpected section end");const n=this._msgCountAtSectionStart;if(1==t.reduce((e,t)=>e+(t instanceof Pa?0:1),0))for(let r=this._messages.length-1;r>=n;r--){const e=this._messages[r].nodes;if(!(1==e.length&&e[0]instanceof Sr)){this._messages.splice(r,1);break}}this._msgCountAtSectionStart=void 0}_reportError(e,t){this._errors.push(new Su(e.sourceSpan,t))}}function sd(e){if(!e)return{meaning:"",description:"",id:""};const t=e.indexOf("@@"),n=e.indexOf("|"),[r,i]=t>-1?[e.slice(0,t),e.slice(t+2)]:[e,""],[s,o]=n>-1?[r.slice(0,n),r.slice(n+1)]:["",r];return{meaning:s,description:o,id:i.trim()}}const od=new class{constructor(){this.closedByParent=!1,this.isVoid=!1,this.ignoreFirstLf=!1,this.canSelfClose=!0,this.preventNamespaceInheritance=!1}requireExtraParent(e){return!1}isClosedByChild(e){return!1}getContentType(){return r.PARSABLE_DATA}};function ad(e){return od}class ld extends tl{constructor(){super(ad)}parse(e,t,n){return super.parse(e,t,n)}}const cd="x",ud="source",hd="trans-unit",dd="context";class pd extends Yr{write(e,t){const n=new fd,r=[];e.forEach(e=>{let t=[];e.sources.forEach(e=>{let n=new ri("context-group",{purpose:"location"});n.children.push(new si(10),new ri(dd,{"context-type":"sourcefile"},[new ii(e.filePath)]),new si(10),new ri(dd,{"context-type":"linenumber"},[new ii(`${e.startLine}`)]),new si(8)),t.push(new si(8),n)});const i=new ri(hd,{id:e.id,datatype:"html"});i.children.push(new si(8),new ri(ud,{},n.serialize(e.nodes)),...t),e.description&&i.children.push(new si(8),new ri("note",{priority:"1",from:"description"},[new ii(e.description)])),e.meaning&&i.children.push(new si(8),new ri("note",{priority:"1",from:"meaning"}
1,[new ii(e.meaning)])),i.children.push(new si(6)),r.push(new si(6),i)});const i=new ri("body",{},[...r,new si(4)]),s=new ri("file",{"source-language":t||"en",datatype:"plaintext",original:"ng2.template"},[new si(4),i,new si(2)]),o=new ri("xliff",{version:"1.2",xmlns:"urn:oasis:names:tc:xliff:document:1.2"},[new si(2),s,new si]);return ei([new ti({version:"1.0",encoding:"UTF-8"}),new si,o,new si])}load(e,t){const n=new md,{locale:r,msgIdToHtml:i,errors:s}=n.parse(e,t),o={},a=new gd;if(Object.keys(i).forEach(e=>{const{i18nNodes:n,errors:r}=a.convert(i[e],t);s.push(...r),o[e]=n}),s.length)throw new Error(`xliff parse errors:\n${s.join("\n")}`);return{locale:r,i18nNodesByMsgId:o}}digest(e){return Pr(e)}}class fd{visitText(e,t){return[new ii(e.value)]}visitContainer(e,t){const n=[];return e.children.forEach(e=>n.push(...e.visit(this))),n}visitIcu(e,t){const n=[new ii(`{${e.expressionPlaceholder}, ${e.type}, `)];return Object.keys(e.cases).forEach(t=>{n.push(new ii(`${t} {`),...e.cases[t].visit(this),new ii("} "))}),n.push(new ii("}")),n}visitTagPlaceholder(e,t){const n=function(e){switch(e.toLowerCase()){case"br":return"lb";case"img":return"image";default:return`x-${e}`}}(e.tag);if(e.isVoid)return[new ri(cd,{id:e.startName,ctype:n,"equiv-text":`<${e.tag}/>`})];const r=new ri(cd,{id:e.startName,ctype:n,"equiv-text":`<${e.tag}>`}),i=new ri(cd,{id:e.closeName,ctype:n,"equiv-text":`</${e.tag}>`});return[r,...this.serialize(e.children),i]}visitPlaceholder(e,t){return[new ri(cd,{id:e.name,"equiv-text":`{{${e.value}}}`})]}visitIcuPlaceholder(e,t){const n=`{${e.value.expression}, ${e.value.type}, ${Object.keys(e.value.cases).map(e=>e+" {...}").join(" ")}}`;return[new ri(cd,{id:e.name,"equiv-text":n})]}serialize(e){return[].concat(...e.map(e=>e.visit(this)))}}class md{constructor(){this._locale=null}parse(e,t){this._unitMlString=null,this._msgIdToHtml={};const n=(new ld).parse(e,t);return this._errors=n.errors,Ma(this,n.rootNodes,null),{msgIdToHtml:this._msgIdToHtml,errors:this._errors,locale:this._locale}}visitElement(e,t){switch(e.name){case hd:this._unitMlString=null;const t=e.attrs.find(e=>"id"===e.name);if(t){const n=t.value;this._msgIdToHtml.hasOwnProperty(n)?this._addError(e,`Duplicated translations for msg ${n}`):(Ma(this,e.children,null),"string"==typeof this._unitMlString?this._msgIdToHtml[n]=this._unitMlString:this._addError(e,`Message ${n} misses a translation`))}else this._addError(e,'<trans-unit> misses the "id" attribute');break;case ud:case"seg-source":case"alt-trans":break;case"target":const n=e.startSourceSpan.end.offset,r=e.endSourceSpan.start.offset,i=e.startSourceSpan.start.file.content.slice(n,r);this._unitMlString=i;break;case"file":const s=e.attrs.find(e=>"target-language"===e.name);s&&(this._locale=s.value),Ma(this,e.children,null);break;default:Ma(this,e.children,null)}}visitAttribute(e,t){}visitText(e,t){}visitComment(e,t){}visitExpansion(e,t){}visitExpansionCase(e,t){}_addError(e,t){this._errors.push(new Su(e.sourceSpan,t))}}class gd{convert(e,t){const n=(new ld).parse(e,t,{tokenizeExpansionForms:!0});this._errors=n.errors;return{i18nNodes:this._errors.length>0||0==n.rootNodes.length?[]:[].concat(...Ma(this,n.rootNodes)),errors:this._errors}}visitText(e,t){return new Sr(e.value,e.sourceSpan)}visitElement(e,t){if(e.name===cd){const t=e.attrs.find(e=>"id"===e.name);return t?new Ir("",t.value,e.sourceSpan):(this._addError(e,'<x> misses the "id" attribute'),null)}return"mrk"===e.name?[].concat(...Ma(this,e.children)):(this._addError(e,"Unexpected tag"),null)}visitExpansion(e,t){const n={};return Ma(this,e.cases).forEach(t=>{n[t.value]=new Er(t.nodes,e.sourceSpan)}),new Ar(e.switchValue,e.type,n,e.sourceSpan)}visitExpansionCase(e,t){return{value:e.value,nodes:Ma(this,e.expression)}}visitComment(e,t){}visitAttribute(e,t){}_addError(e,t){this._errors.push(new Su(e.sourceSpan,t))}}const vd="ph",yd="xliff",bd="source",wd="unit";class _d extends Yr{write(e,t){const n=new xd,r=[];e.forEach(e=>{const t=new ri(wd,{id:e.id}),i=new ri("notes");(e.description||e.meaning)&&(e.description&&i.children.push(new si(8),new ri("note",{category:"description"},[new ii(e.description)])),e.meaning&&i.children.push(new si(8),new ri("note",{category:"meaning"}
1,[new ii(e.meaning)]))),e.sources.forEach(e=>{i.children.push(new si(8),new ri("note",{category:"location"},[new ii(`${e.filePath}:${e.startLine}${e.endLine!==e.startLine?","+e.endLine:""}`)]))}),i.children.push(new si(6)),t.children.push(new si(6),i);const s=new ri("segment");s.children.push(new si(8),new ri(bd,{},n.serialize(e.nodes)),new si(6)),t.children.push(new si(6),s,new si(4)),r.push(new si(4),t)});const i=new ri("file",{original:"ng.template",id:"ngi18n"},[...r,new si(2)]),s=new ri(yd,{version:"2.0",xmlns:"urn:oasis:names:tc:xliff:document:2.0",srcLang:t||"en"},[new si(2),i,new si]);return ei([new ti({version:"1.0",encoding:"UTF-8"}),new si,s,new si])}load(e,t){const n=new Cd,{locale:r,msgIdToHtml:i,errors:s}=n.parse(e,t),o={},a=new Sd;if(Object.keys(i).forEach(e=>{const{i18nNodes:n,errors:r}=a.convert(i[e],t);s.push(...r),o[e]=n}),s.length)throw new Error(`xliff2 parse errors:\n${s.join("\n")}`);return{locale:r,i18nNodesByMsgId:o}}digest(e){return Nr(e)}}class xd{visitText(e,t){return[new ii(e.value)]}visitContainer(e,t){const n=[];return e.children.forEach(e=>n.push(...e.visit(this))),n}visitIcu(e,t){const n=[new ii(`{${e.expressionPlaceholder}, ${e.type}, `)];return Object.keys(e.cases).forEach(t=>{n.push(new ii(`${t} {`),...e.cases[t].visit(this),new ii("} "))}),n.push(new ii("}")),n}visitTagPlaceholder(e,t){const n=function(e){switch(e.toLowerCase()){case"br":case"b":case"i":case"u":return"fmt";case"img":return"image";case"a":return"link";default:return"other"}}(e.tag);if(e.isVoid){return[new ri(vd,{id:(this._nextPlaceholderId++).toString(),equiv:e.startName,type:n,disp:`<${e.tag}/>`})]}const r=new ri("pc",{id:(this._nextPlaceholderId++).toString(),equivStart:e.startName,equivEnd:e.closeName,type:n,dispStart:`<${e.tag}>`,dispEnd:`</${e.tag}>`}),i=[].concat(...e.children.map(e=>e.visit(this)));return i.length?i.forEach(e=>r.children.push(e)):r.children.push(new ii("")),[r]}visitPlaceholder(e,t){const n=(this._nextPlaceholderId++).toString();return[new ri(vd,{id:n,equiv:e.name,disp:`{{${e.value}}}`})]}visitIcuPlaceholder(e,t){const n=Object.keys(e.value.cases).map(e=>e+" {...}").join(" "),r=(this._nextPlaceholderId++).toString();return[new ri(vd,{id:r,equiv:e.name,disp:`{${e.value.expression}, ${e.value.type}, ${n}}`})]}serialize(e){return this._nextPlaceholderId=0,[].concat(...e.map(e=>e.visit(this)))}}class Cd{constructor(){this._locale=null}parse(e,t){this._unitMlString=null,this._msgIdToHtml={};const n=(new ld).parse(e,t);return this._errors=n.errors,Ma(this,n.rootNodes,null),{msgIdToHtml:this._msgIdToHtml,errors:this._errors,locale:this._locale}}visitElement(e,t){switch(e.name){case wd:this._unitMlString=null;const t=e.attrs.find(e=>"id"===e.name);if(t){const n=t.value;this._msgIdToHtml.hasOwnProperty(n)?this._addError(e,`Duplicated translations for msg ${n}`):(Ma(this,e.children,null),"string"==typeof this._unitMlString?this._msgIdToHtml[n]=this._unitMlString:this._addError(e,`Message ${n} misses a translation`))}else this._addError(e,'<unit> misses the "id" attribute');break;case bd:break;case"target":const n=e.startSourceSpan.end.offset,r=e.endSourceSpan.start.offset,i=e.startSourceSpan.start.file.content.slice(n,r);this._unitMlString=i;break;case yd:const s=e.attrs.find(e=>"trgLang"===e.name);s&&(this._locale=s.value);const o=e.attrs.find(e=>"version"===e.name);if(o){const t=o.value;"2.0"!==t?this._addError(e,`The XLIFF file version ${t} is not compatible with XLIFF 2.0 serializer`):Ma(this,e.children,null)}break;default:Ma(this,e.children,null)}}visitAttribute(e,t){}visitText(e,t){}visitComment(e,t){}visitExpansion(e,t){}visitExpansionCase(e,t){}_addError(e,t){this._errors.push(new Su(e.sourceSpan,t))}}class Sd{convert(e,t){const n=(new ld).parse(e,t,{tokenizeExpansionForms:!0});this._errors=n.errors;return{i18nNodes:this._errors.length>0||0==n.rootNodes.length?[]:[].concat(...Ma(this,n.rootNodes)),errors:this._errors}}visitText(e,t){return new Sr(e.value,e.sourceSpan)}visitElement(e,t){switch(e.name){case vd:const t=e.attrs.find(e=>"equiv"===e.name);if(t)return[new Ir("",t.value,e.sourceSpan)];this._addError(e,'<ph> misses the "equiv" attribute');break;case"pc":const n=e.attrs.find(e=>"equivStart"===e.name),r=e.attrs.find(e=>"equivEnd"===e.name);if(n){if(r){const t=n.value,i=r.value;return[].concat(new Ir("",t,e.sourceSpan),...e.children.map(e=>e.visit(this,null)),new Ir("",i,e.sourceSpan))}this._addError(e,'<ph> misses the "equivEnd" attribute')}else this._addError(e,'<ph> misses the "equivStart" attribute');break;case"mrk":return[].concat(...Ma(this,e.children));default:this._addError(e,"Unexpected tag")}return null}visitExpansion(e,t){const n={};
1return Ma(this,e.cases).forEach(t=>{n[t.value]=new Er(t.nodes,e.sourceSpan)}),new Ar(e.switchValue,e.type,n,e.sourceSpan)}visitExpansionCase(e,t){return{value:e.value,nodes:[].concat(...Ma(this,e.expression))}}visitComment(e,t){}visitAttribute(e,t){}_addError(e,t){this._errors.push(new Su(e.sourceSpan,t))}}const Ed="translationbundle",Ad="translation";class kd extends Yr{write(e,t){throw new Error("Unsupported")}load(e,t){const n=new Id,{locale:r,msgIdToHtml:i,errors:s}=n.parse(e,t),o={},a=new Td;if(Object.keys(i).forEach(e=>{!function(e,t,n){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){const r=n();return Object.defineProperty(e,t,{enumerable:!0,value:r}),r},set:e=>{throw new Error("Could not overwrite an XTB translation")}})}(o,e,function(){const{i18nNodes:n,errors:r}=a.convert(i[e],t);if(r.length)throw new Error(`xtb parse errors:\n${r.join("\n")}`);return n})}),s.length)throw new Error(`xtb parse errors:\n${s.join("\n")}`);return{locale:r,i18nNodesByMsgId:o}}digest(e){return pi(e)}createNameMapper(e){return new Zr(e,mi)}}class Id{constructor(){this._locale=null}parse(e,t){this._bundleDepth=0,this._msgIdToHtml={};const n=(new ld).parse(e,t);return this._errors=n.errors,Ma(this,n.rootNodes),{msgIdToHtml:this._msgIdToHtml,errors:this._errors,locale:this._locale}}visitElement(e,t){switch(e.name){case Ed:this._bundleDepth++,this._bundleDepth>
11&&this._addError(e,"<translationbundle> elements can not be nested");const t=e.attrs.find(e=>"lang"===e.name);t&&(this._locale=t.value),Ma(this,e.children,null),this._bundleDepth--;break;case Ad:const n=e.attrs.find(e=>"id"===e.name);if(n){const t=n.value;if(this._msgIdToHtml.hasOwnProperty(t))this._addError(e,`Duplicated translations for msg ${t}`);else{const n=e.startSourceSpan.end.offset,r=e.endSourceSpan.start.offset,i=e.startSourceSpan.start.file.content.slice(n,r);this._msgIdToHtml[t]=i}}else this._addError(e,'<translation> misses the "id" attribute');break;default:this._addError(e,"Unexpected tag")}}visitAttribute(e,t){}visitText(e,t){}visitComment(e,t){}visitExpansion(e,t){}visitExpansionCase(e,t){}_addError(e,t){this._errors.push(new Su(e.sourceSpan,t))}}class Td{convert(e,t){const n=(new ld).parse(e,t,{tokenizeExpansionForms:!0});this._errors=n.errors;return{i18nNodes:this._errors.length>0||0==n.rootNodes.length?[]:Ma(this,n.rootNodes),errors:this._errors}}visitText(e,t){return new Sr(e.value,e.sourceSpan)}visitExpansion(e,t){const n={};return Ma(this,e.cases).forEach(t=>{n[t.value]=new Er(t.nodes,e.sourceSpan)}),new Ar(e.switchValue,e.type,n,e.sourceSpan)}visitExpansionCase(e,t){return{value:e.value,nodes:Ma(this,e.expression)}}visitElement(e,t){if("ph"===e.name){const t=e.attrs.find(e=>"name"===e.name);if(t)return new Ir("",t.value,e.sourceSpan);this._addError(e,'<ph> misses the "name" attribute')}else this._addError(e,"Unexpected tag");return null}visitComment(e,t){}visitAttribute(e,t){}_addError(e,t){this._errors.push(new Su(e.sourceSpan,t))}}class Od{constructor(e={},t,n,r,i=Q.Warning,s){this._i18nNodesByMsgId=e,this.digest=n,this.mapperFactory=r,this._i18nToHtml=new Dd(e,t,n,r,i,s)}static load(e,t,n,r,i){const{locale:s,i18nNodesByMsgId:o}=n.load(e,t);return new Od(o,s,e=>n.digest(e),e=>n.createNameMapper(e),r,i)}get(e){const t=this._i18nToHtml.convert(e);if(t.errors.length)throw new Error(t.errors.join("\n"));return t.nodes}has(e){return this.digest(e)in this._i18nNodesByMsgId}}class Dd{constructor(e={},t,n,r,i,s){this._i18nNodesByMsgId=e,this._locale=t,this._digest=n,this._mapperFactory=r,this._missingTranslationStrategy=i,this._console=s,this._contextStack=[],this._errors=[]}convert(e){this._contextStack.length=0,this._errors.length=0;const t=this._convertToText(e),n=e.nodes[0].sourceSpan.start.file.url,r=(new il).parse(t,n,{tokenizeExpansionForms:!0});return{nodes:r.rootNodes,errors:[...this._errors,...r.errors]}}visitText(e,t){return ai(e.value)}visitContainer(e,t){return e.children.map(e=>e.visit(this)).join("")}visitIcu(e,t){const n=Object.keys(e.cases).map(t=>`${t} {${e.cases[t].visit(this)}}`);return`{${this._srcMsg.placeholders.hasOwnProperty(e.expression)?this._srcMsg.placeholders[e.expression].text:e.expression}, ${e.type}, ${n.join(" ")}}`}visitPlaceholder(e,t){const n=this._mapper(e.name);return this._srcMsg.placeholders.hasOwnProperty(n)?this._srcMsg.placeholders[n].text:this._srcMsg.placeholderToMessage.hasOwnProperty(n)?this._convertToText(this._srcMsg.placeholderToMessage[n]):(this._addError(e,`Unknown placeholder "${e.name}"`),"")}visitTagPlaceholder(e,t){const n=`${e.tag}`,r=Object.keys(e.attrs).map(t=>`${t}="${e.attrs[t]}"`).join(" ");if(e.isVoid)return`<${n} ${r}/>`;return`<${n} ${r}>${e.children.map(e=>e.visit(this)).join("")}</${n}>`}visitIcuPlaceholder(e,t){return this._convertToText(this._srcMsg.placeholderToMessage[e.name])}_convertToText(e){const t=this._digest(e),n=this._mapperFactory?this._mapperFactory(e):null;let r;if(this._contextStack.push({msg:this._srcMsg,mapper:this._mapper}),this._srcMsg=e,this._i18nNodesByMsgId.hasOwnProperty(t))r=this._i18nNodesByMsgId[t],this._mapper=e=>n?n.toInternalName(e):e;else{if(this._missingTranslationStrategy===Q.Error){const n=this._locale?` for locale "${this._locale}"`:"";this._addError(e.nodes[0],`Missing translation for message "${t}"${n}`)}else if(this._console&&this._missingTranslationStrategy===Q.Warning){const e=this._locale?` for locale "${this._locale}"`:"";this._console.warn(`Missing translation for message "${t}"${e}`)}r=e.nodes,this._mapper=e=>e}const i=r.map(e=>e.visit(this)).join(""),s=this._contextStack.pop();return this._srcMsg=s.msg,this._mapper=s.mapper,i}_addError(e,t){this._errors.push(new Su(e.sourceSpan,t))}}class Pd{constructor(e,t,n,r=Q.Warning,i){if(this._htmlParser=e,t){const e=function(e){switch(e=(e||"xlf").toLowerCase()){case"xmb":return new hi;case"xtb":return new kd;case"xliff2":case"xlf2":return new _d;case"xliff":case"xlf":default:return new pd}}(n);this._translationBundle=Od.load(t,"i18n",e,r,i)}else this._translationBundle=new Od({},null,Pr,void 0,r,i)}parse(e,t,n={}){const r=n.interpolationConfig||is,i=this._htmlParser.parse(e,t,Object.assign({interpolationConfig:r},n));return i.errors.length?new el(i.rootNodes,i.errors):function(e,t,n,r,i){return new id(r,i).merge(e,t,n)}(i.rootNodes,this._translationBundle,r,[],{})}}function Md(e,t,n=null){return en(t,new Nd(e),n)}class Nd{constructor(e){this.ctx=e}visitArray(e,t){const n=[];for(let r=0;r<e.length;++r)n.push(en(e[r],this,null));return Tt(n,t)}visitStringMap(e,t){const n=[],r=new Set(e&&e.$quoted$);return Object.keys(e).forEach(t=>{n.push(new Ze(t,en(e[t],this,null),r.has(t)))}),new Je(n,t)}visitPrimitive(e,t){return Nt(e,t)}visitOther(e,t){return e instanceof ye?e:this.ctx.importExpr(e)}}function Rd(e,t=!1){const n=Ld(e,t);return`${n[0]}.ngfactory${jd(n[1])}`}function Ld(e,t=!1){if(e.endsWith(".d.ts"))return[e.slice(0,-5),t?".ts":".d.ts"];const n=e.lastIndexOf(".");return-1!==n?[e.substring(0,n),e.substring(n)]:[e,""]}
1function jd(e){return".tsx"===e?".ts":e}var Fd;!function(e){e[e.OnInit=0]="OnInit",e[e.OnDestroy=1]="OnDestroy",e[e.DoCheck=2]="DoCheck",e[e.OnChanges=3]="OnChanges",e[e.AfterContentInit=4]="AfterContentInit",e[e.AfterContentChecked=5]="AfterContentChecked",e[e.AfterViewInit=6]="AfterViewInit",e[e.AfterViewChecked=7]="AfterViewChecked"}(Fd||(Fd={}));const Bd=[Fd.OnInit,Fd.OnDestroy,Fd.DoCheck,Fd.OnChanges,Fd.AfterContentInit,Fd.AfterContentChecked,Fd.AfterViewInit,Fd.AfterViewChecked];function $d(e,t,n){return e.hasLifecycleHook(n,function(e){switch(e){case Fd.OnInit:return"ngOnInit";case Fd.OnDestroy:return"ngOnDestroy";case Fd.DoCheck:return"ngDoCheck";case Fd.OnChanges:return"ngOnChanges";case Fd.AfterContentInit:return"ngAfterContentInit";case Fd.AfterContentChecked:return"ngAfterContentChecked";case Fd.AfterViewInit:return"ngAfterViewInit";case Fd.AfterViewChecked:return"ngAfterViewChecked";default:throw new Error(`unexpected ${e}`)}}(t))}class Vd{constructor(e,t,n,r,i,s,o,a,l,c,u,h){this._config=e,this._htmlParser=t,this._ngModuleResolver=n,this._directiveResolver=r,this._pipeResolver=i,this._summaryResolver=s,this._schemaRegistry=o,this._directiveNormalizer=a,this._console=l,this._staticSymbolCache=c,this._reflector=u,this._errorCollector=h,this._nonNormalizedDirectiveCache=new Map,this._directiveCache=new Map,this._summaryCache=new Map,this._pipeCache=new Map,this._ngModuleCache=new Map,this._ngModuleOfTypes=new Map,this._shallowModuleCache=new Map}getReflector(){return this._reflector}clearCacheFor(e){const t=this._directiveCache.get(e);this._directiveCache.delete(e),this._nonNormalizedDirectiveCache.delete(e),this._summaryCache.delete(e),this._pipeCache.delete(e),this._ngModuleOfTypes.delete(e),this._ngModuleCache.clear(),t&&this._directiveNormalizer.clearCacheFor(t)}clearCache(){this._directiveCache.clear(),this._nonNormalizedDirectiveCache.clear(),this._summaryCache.clear(),this._pipeCache.clear(),this._ngModuleCache.clear(),this._ngModuleOfTypes.clear(),this._directiveNormalizer.clearCache()}_createProxyClass(e,t){let n=null;const r=function(){if(!n)throw new Error(`Illegal state: Class ${t} for type ${fn(e)} is not compiled yet!`);return n.apply(this,arguments)};return r.setDelegate=e=>{n=e,r.prototype=e.prototype},r.overriddenName=t,r}getGeneratedClass(e,t){return e instanceof Kt?this._staticSymbolCache.get(Rd(e.filePath),t):this._createProxyClass(e,t)}getComponentViewClass(e){return this.getGeneratedClass(e,An(e,0))}getHostComponentViewClass(e){return this.getGeneratedClass(e,`HostView_${Sn({reference:e})}`)}getHostComponentType(e){const t=`${Sn({reference:e})}_Host`;return e instanceof Kt?this._staticSymbolCache.get(e.filePath,t):this._createProxyClass(e,t)}getRendererType(e){return e instanceof Kt?this._staticSymbolCache.get(Rd(e.filePath),kn(e)):{}}getComponentFactory(e,t,n,r){if(t instanceof Kt)return this._staticSymbolCache.get(Rd(t.filePath),In(t));{const i=this.getHostComponentViewClass(t);return this._reflector.resolveExternalReference(Gt.createComponentFactory)(e,t,i,n,r,[])}}initComponentFactory(e,t){e instanceof Kt||e.ngContentSelectors.push(...t)}_loadSummary(e,t){let n=this._summaryCache.get(e);if(!n){const t=this._summaryResolver.resolveSummary(e);n=t?t.type:null,this._summaryCache.set(e,n||null)}return n&&n.summaryKind===t?n:null}getHostComponentMetadata(e,t){const n=this.getHostComponentType(e.type.reference);t||(t=this.getHostComponentViewClass(n));const r=v.parse(e.selector)[0].getMatchingElementTemplate(),i=this._htmlParser.parse(r,"");return Nn.create({isHost:!0,type:{reference:n,diDeps:[],lifecycleHooks:[]},template:new Mn({encapsulation:O.None,template:r,templateUrl:"",htmlAst:i,styles:[],styleUrls:[],ngContentSelectors:[],animations:[],isInline:!0,externalStylesheets:[],interpolation:null,preserveWhitespaces:!1}),exportAs:null,changeDetection:D.Default,inputs:[],outputs:[],host:{},isComponent:!0,selector:"*",providers:[],viewProviders:[],queries:[],guards:{},viewQueries:[],componentViewType:t,rendererType:{id:"__Host__",encapsulation:O.None,styles:[],data:{}},entryComponents:[],componentFactory:null})}loadDirectiveMetadata(e,t,n){if(this._directiveCache.has(t))return null;t=mn(t);const{annotation:r,metadata:i}=this.getNonNormalizedDirectiveMetadata(t),s=e=>{const n=new Nn({isHost:!1,type:i.type,isComponent:i.isComponent,selector:i.selector,exportAs:i.exportAs,changeDetection:i.changeDetection,inputs:i.inputs,outputs:i.outputs,hostListeners:i.hostListeners,hostProperties:i.hostProperties,hostAttributes:i.hostAttributes,providers:i.providers,viewProviders:i.viewProviders,queries:i.queries,guards:i.guards,viewQueries:i.viewQueries,entryComponents:i.entryComponents,componentViewType:i.componentViewType,rendererType:i.rendererType,componentFactory:i.
1componentFactory,template:e});return e&&this.initComponentFactory(i.componentFactory,e.ngContentSelectors),this._directiveCache.set(t,n),this._summaryCache.set(t,n.toSummary()),null};if(i.isComponent){const o=i.template,a=this._directiveNormalizer.normalizeTemplate({ngModuleType:e,componentType:t,moduleUrl:this._reflector.componentModuleUrl(t,r),encapsulation:o.encapsulation,template:o.template,templateUrl:o.templateUrl,styles:o.styles,styleUrls:o.styleUrls,animations:o.animations,interpolation:o.interpolation,preserveWhitespaces:o.preserveWhitespaces});return gn(a)&&n?(this._reportError(function(e){const t=Error(`Can't compile synchronously as ${fn(e)} is still being loaded!`);return t.ngComponentType=e,t}(t),t),null):on(a,s)}return s(null),null}getNonNormalizedDirectiveMetadata(e){if(!(e=mn(e)))return null;let t=this._nonNormalizedDirectiveCache.get(e);if(t)return t;const n=this._directiveResolver.resolve(e,!1);if(!n)return null;let r;if(P.isTypeOf(n)){const e=n;es("styles",e.styles),es("styleUrls",e.styleUrls),ns("interpolation",e.interpolation);const t=e.animations;r=new Mn({encapsulation:nn(e.encapsulation),template:nn(e.template),templateUrl:nn(e.templateUrl),htmlAst:null,styles:e.styles||[],styleUrls:e.styleUrls||[],animations:t||[],interpolation:nn(e.interpolation),isInline:!!e.template,externalStylesheets:[],ngContentSelectors:[],preserveWhitespaces:nn(n.preserveWhitespaces)})}let i=null,s=[],o=[],a=n.selector;if(P.isTypeOf(n)){const t=n;i=t.changeDetection,t.viewProviders&&(s=this._getProvidersMetadata(t.viewProviders,o,`viewProviders for "${Gd(e)}"`,[],e)),t.entryComponents&&(o=zd(t.entryComponents).map(e=>this._getEntryComponentMetadata(e)).concat(o)),a||(a=this._schemaRegistry.getDefaultComponentElementName())}else a||(a=null);let l=[];null!=n.providers&&(l=this._getProvidersMetadata(n.providers,o,`providers for "${Gd(e)}"`,[],e));let c=[],u=[];null!=n.queries&&(c=this._getQueriesMetadata(n.queries,!1,e),u=this._getQueriesMetadata(n.queries,!0,e));const h=Nn.create({isHost:!1,selector:a,exportAs:nn(n.exportAs),isComponent:!!r,type:this._getTypeMetadata(e),template:r,changeDetection:i,inputs:n.inputs||[],outputs:n.outputs||[],host:n.host||{},providers:l||[],viewProviders:s||[],queries:c||[],guards:n.guards||{},viewQueries:u||[],entryComponents:o,componentViewType:r?this.getComponentViewClass(e):null,rendererType:r?this.getRendererType(e):null,componentFactory:null});return r&&(h.componentFactory=this.getComponentFactory(a,e,h.inputs,h.outputs)),t={metadata:h,annotation:n},this._nonNormalizedDirectiveCache.set(e,t),t}getDirectiveMetadata(e){const t=this._directiveCache.get(e);return t||this._reportError(cn(`Illegal state: getDirectiveMetadata can only be called after loadNgModuleDirectiveAndPipeMetadata for a module that declares it. Directive ${Gd(e)}.`),e),t}getDirectiveSummary(e){const t=this._loadSummary(e,Tn.Directive);return t||this._reportError(cn(`Illegal state: Could not load the summary for directive ${Gd(e)}.`),e),t}isDirective(e){return!!this._loadSummary(e,Tn.Directive)||this._directiveResolver.isDirective(e)}isAbstractDirective(e){const t=this._loadSummary(e,Tn.Directive);if(t&&!t.isComponent)return!t.selector;const n=this._directiveResolver.resolve(e,!1);return!(!n||P.isTypeOf(n))&&!n.selector}isPipe(e){return!!this._loadSummary(e,Tn.Pipe)||this._pipeResolver.isPipe(e)}isNgModule(e){return!!this._loadSummary(e,Tn.NgModule)||this._ngModuleResolver.isNgModule(e)}getNgModuleSummary(e,t=null){let n=this._loadSummary(e,Tn.NgModule);if(!n){const r=this.getNgModuleMetadata(e,!1,t);n=r?r.toSummary():null,n&&this._summaryCache.set(e,n)}return n}loadNgModuleDirectiveAndPipeMetadata(e,t,n=!0){const r=this.getNgModuleMetadata(e,n),i=[];return r&&(r.declaredDirectives.forEach(n=>{const r=this.loadDirectiveMetadata(e,n.reference,t);r&&i.push(r)}),r.declaredPipes.forEach(e=>this._loadPipeMetadata(e.reference))),Promise.all(i)}getShallowModuleMetadata(e){let t=this._shallowModuleCache.get(e);if(t)return t;const n=Yh(this._reflector.shallowAnnotations(e),F.isTypeOf);return t={type:this._getTypeMetadata(e),rawExports:n.exports,rawImports:n.imports,rawProviders:n.providers},this._shallowModuleCache.set(e,t),t}getNgModuleMetadata(e,t=!0,n=null){e=mn(e);let r=this._ngModuleCache.get(e);if(r)return r;const i=this._ngModuleResolver.resolve(e,t);if(!i)return null;const s=[],o=[],a=[],l=[],c=[],u=[],h=[],d=[],p=[];
1i.imports&&zd(i.imports).forEach(t=>{let r;if(Hd(t))r=t;else if(t&&t.ngModule){const e=t;r=e.ngModule,e.providers&&u.push(...this._getProvidersMetadata(e.providers,h,`provider for the NgModule '${Gd(r)}'`,[],t))}if(r){if(this._checkSelfImport(e,r))return;if(n||(n=new Set),n.has(r))return void this._reportError(cn(`${this._getTypeDescriptor(r)} '${Gd(t)}' is imported recursively by the module '${Gd(e)}'.`),e);n.add(r);const i=this.getNgModuleSummary(r,n);if(n.delete(r),!i){const n=cn(`Unexpected ${this._getTypeDescriptor(t)} '${Gd(t)}' imported by the module '${Gd(e)}'. Please add a @NgModule annotation.`);return t instanceof Kt&&(n.ngMissingNgModuleMetadataErrorData={fileName:t.filePath,className:t.name}),void this._reportError(n,e)}l.push(i)}else this._reportError(cn(`Unexpected value '${Gd(t)}' imported by the module '${Gd(e)}'`),e)}),i.exports&&zd(i.exports).forEach(t=>{if(!Hd(t))return void this._reportError(cn(`Unexpected value '${Gd(t)}' exported by the module '${Gd(e)}'`),e);if(n||(n=new Set),n.has(t))return void this._reportError(cn(`${this._getTypeDescriptor(t)} '${fn(t)}' is exported recursively by the module '${Gd(e)}'`),e);n.add(t);const r=this.getNgModuleSummary(t,n);n.delete(t),r?c.push(r):o.push(this._getIdentifierMetadata(t))});const f=this._getTransitiveNgModuleMetadata(l,c);i.declarations&&zd(i.declarations).forEach(t=>{if(!Hd(t))return void this._reportError(cn(`Unexpected value '${Gd(t)}' declared by the module '${Gd(e)}'`),e);const n=this._getIdentifierMetadata(t);if(this.isDirective(t))this.isAbstractDirective(t)&&this._reportError(cn(`Directive ${Gd(t)} has no selector, please add it!`),t),f.addDirective(n),s.push(n),this._addTypeToModule(t,e);else{if(!this.isPipe(t))return void this._reportError(cn(`Unexpected ${this._getTypeDescriptor(t)} '${Gd(t)}' declared by the module '${Gd(e)}'. Please add a @Pipe/@Directive/@Component annotation.`),e);f.addPipe(n),f.pipes.push(n),a.push(n),this._addTypeToModule(t,e)}});const m=[],g=[];return o.forEach(t=>{if(f.directivesSet.has(t.reference))m.push(t),f.addExportedDirective(t);else{if(!f.pipesSet.has(t.reference))return void this._reportError(cn(`Can't export ${this._getTypeDescriptor(t.reference)} ${Gd(t.reference)} from ${Gd(e)} as it was neither declared nor imported!`),e);g.push(t),f.addExportedPipe(t)}}),i.providers&&u.push(...this._getProvidersMetadata(i.providers,h,`provider for the NgModule '${Gd(e)}'`,[],e)),i.entryComponents&&h.push(...zd(i.entryComponents).map(e=>this._getEntryComponentMetadata(e))),i.bootstrap&&zd(i.bootstrap).forEach(t=>{Hd(t)?d.push(this._getIdentifierMetadata(t)):this._reportError(cn(`Unexpected value '${Gd(t)}' used in the bootstrap property of module '${Gd(e)}'`),e)}),h.push(...d.map(e=>this._getEntryComponentMetadata(e.reference))),i.schemas&&p.push(...zd(i.schemas)),r=new Ln({type:this._getTypeMetadata(e),providers:u,entryComponents:h,bootstrapComponents:d,schemas:p,declaredDirectives:s,exportedDirectives:m,declaredPipes:a,exportedPipes:g,importedModules:l,exportedModules:c,transitiveModule:f,id:i.id||null}),h.forEach(e=>f.addEntryComponent(e)),u.forEach(e=>f.addProvider(e,r.type)),f.addModule(r.type),this._ngModuleCache.set(e,r),r}_checkSelfImport(e,t){return e===t&&(this._reportError(cn(`'${Gd(e)}' module can't import itself`),e),!0)}_getTypeDescriptor(e){if(Hd(e)){if(this.isDirective(e))return"directive";if(this.isPipe(e))return"pipe";if(this.isNgModule(e))return"module"}return e.provide?"provider":"value"}_addTypeToModule(e,t){const n=this._ngModuleOfTypes.get(e);n&&n!==t?this._reportError(cn(`Type ${Gd(e)} is part of the declarations of 2 modules: ${Gd(n)} and ${Gd(t)}! Please consider moving ${Gd(e)} to a higher module that imports ${Gd(n)} and ${Gd(t)}. You can also create a new NgModule that exports and includes ${Gd(e)} then import that NgModule in ${Gd(n)} and ${Gd(t)}.`),t):this._ngModuleOfTypes.set(e,t)}_getTransitiveNgModuleMetadata(e,t){const n=new jn,r=new Map;return e.concat(t).forEach(e=>{e.modules.forEach(e=>n.addModule(e)),e.entryComponents.forEach(e=>n.addEntryComponent(e));const t=new Set;
1e.providers.forEach(e=>{const i=Dn(e.provider.token);let s=r.get(i);s||(s=new Set,r.set(i,s));const o=e.module.reference;!t.has(i)&&s.has(o)||(s.add(o),t.add(i),n.addProvider(e.provider,e.module))})}),t.forEach(e=>{e.exportedDirectives.forEach(e=>n.addExportedDirective(e)),e.exportedPipes.forEach(e=>n.addExportedPipe(e))}),e.forEach(e=>{e.exportedDirectives.forEach(e=>n.addDirective(e)),e.exportedPipes.forEach(e=>n.addPipe(e))}),n}_getIdentifierMetadata(e){return{reference:e=mn(e)}}isInjectable(e){return this._reflector.tryAnnotations(e).some(e=>B.isTypeOf(e))}getInjectableSummary(e){return{summaryKind:Tn.Injectable,type:this._getTypeMetadata(e,null,!1)}}getInjectableMetadata(e,t=null,n=!0){const r=this._loadSummary(e,Tn.Injectable),i=r?r.type:this._getTypeMetadata(e,t,n),s=this._reflector.annotations(e).filter(e=>B.isTypeOf(e));if(0===s.length)return null;const o=s[s.length-1];return{symbol:e,type:i,providedIn:o.providedIn,useValue:o.useValue,useClass:o.useClass,useExisting:o.useExisting,useFactory:o.useFactory,deps:o.deps}}_getTypeMetadata(e,t=null,n=!0){const r=this._getIdentifierMetadata(e);return{reference:r.reference,diDeps:this._getDependenciesMetadata(r.reference,t,n),lifecycleHooks:(i=this._reflector,s=r.reference,Bd.filter(e=>$d(i,e,s)))};var i,s}_getFactoryMetadata(e,t=null){return{reference:e=mn(e),diDeps:this._getDependenciesMetadata(e,t)}}getPipeMetadata(e){const t=this._pipeCache.get(e);return t||this._reportError(cn(`Illegal state: getPipeMetadata can only be called after loadNgModuleDirectiveAndPipeMetadata for a module that declares it. Pipe ${Gd(e)}.`),e),t||null}getPipeSummary(e){const t=this._loadSummary(e,Tn.Pipe);return t||this._reportError(cn(`Illegal state: Could not load the summary for pipe ${Gd(e)}.`),e),t}getOrLoadPipeMetadata(e){let t=this._pipeCache.get(e);return t||(t=this._loadPipeMetadata(e)),t}_loadPipeMetadata(e){e=mn(e);const t=this._pipeResolver.resolve(e),n=new Rn({type:this._getTypeMetadata(e),name:t.name,pure:!!t.pure});return this._pipeCache.set(e,n),this._summaryCache.set(e,n.toSummary()),n}_getDependenciesMetadata(e,t,n=!0){let r=!1;const i=(t||this._reflector.parameters(e)||[]).map(e=>{let t=!1,n=!1,i=!1,s=!1,o=!1,a=null;return Array.isArray(e)?e.forEach(e=>{q.isTypeOf(e)?n=!0:z.isTypeOf(e)?i=!0:H.isTypeOf(e)?s=!0:U.isTypeOf(e)?o=!0:C.isTypeOf(e)?(t=!0,a=e.attributeName):_.isTypeOf(e)?a=e.token:(x.isTypeOf(e)||e instanceof Kt||Hd(e)&&null==a)&&(a=e)}):a=e,null==a?(r=!0,{}):{isAttribute:t,isHost:n,isSelf:i,isSkipSelf:s,isOptional:o,token:this._getTokenMetadata(a)}});if(r){const t=i.map(e=>e.token?Gd(e.token):"?").join(", "),r=`Can't resolve all parameters for ${Gd(e)}: (${t}).`;(n||this._config.strictInjectionParameters)&&this._reportError(cn(r),e)}return i}_getTokenMetadata(e){let t;return t="string"==typeof(e=mn(e))?{value:e}:{identifier:{reference:e}},t}_getProvidersMetadata(e,t,n,r=[],i){return e.forEach((s,o)=>{if(Array.isArray(s))this._getProvidersMetadata(s,t,n,r);else{let a;if((s=mn(s))&&"object"==typeof s&&s.hasOwnProperty("provide"))this._val
1idateProvider(s),a=new Bn(s.provide,s);else{if(!Hd(s)){if(void 0===s)return void this._reportError(cn("Encountered undefined provider! Usually this means you have a circular dependencies. This might be caused by using 'barrel' index.ts files."));{const t=e.reduce((e,t,n)=>(n<o?e.push(`${Gd(t)}`):n==o?e.push(`?${Gd(t)}?`):n==o+1&&e.push("..."),e),[]).join(", ");return void this._reportError(cn(`Invalid ${n||"provider"} - only instances of Provider and Type are allowed, got: [${t}]`),i)}}a=new Bn(s,{useClass:s})}a.token===this._reflector.resolveExternalReference(Gt.ANALYZE_FOR_ENTRY_COMPONENTS)?t.push(...this._getEntryComponentsFromProvider(a,i)):r.push(this.getProviderMetadata(a))}}),r}_validateProvider(e){e.hasOwnProperty("useClass")&&null==e.useClass&&this._reportError(cn(`Invalid provider for ${Gd(e.provide)}. useClass cannot be ${e.useClass}.\n           Usually it happens when:\n           1. There's a circular dependency (might be caused by using index.ts (barrel) files).\n           2. Class was used before it was declared. Use forwardRef in this case.`))}_getEntryComponentsFromProvider(e,t){const n=[],r=[];return e.useFactory||e.useExisting||e.useClass?(this._reportError(cn("The ANALYZE_FOR_ENTRY_COMPONENTS token only supports useValue!"),t),[]):e.multi?(i=e.useValue,s=r,en(i,new qd,s),r.forEach(e=>{const t=this._getEntryComponentMetadata(e.reference,!1);t&&n.push(t)}),n):(this._reportError(cn("The ANALYZE_FOR_ENTRY_COMPONENTS token only supports 'multi = true'!"),t),[]);var i,s}_getEntryComponentMetadata(e,t=!0){const n=this.getNonNormalizedDirectiveMetadata(e);if(n&&n.metadata.isComponent)return{componentType:e,componentFactory:n.metadata.componentFactory};const r=this._loadSummary(e,Tn.Directive);if(r&&r.isComponent)return{componentType:e,componentFactory:r.componentFactory};if(t)throw cn(`${e.name} cannot be used as an entry component.`);return null}_getInjectableTypeMetadata(e,t=null){const n=this._loadSummary(e,Tn.Injectable);return n?n.type:this._getTypeMetadata(e,t)}getProviderMetadata(e){let t,n=null,r=null,i=this._getTokenMetadata(e.token);return e.useClass?(n=this._getInjectableTypeMetadata(e.useClass,e.dependencies),t=n.diDeps,e.token===e.useClass&&(i={identifier:n})):e.useFactory&&(r=this._getFactoryMetadata(e.useFactory,e.dependencies),t=r.diDeps),{token:i,useClass:n,useValue:e.useValue,useFactory:r,useExisting:e.useExisting?this._getTokenMetadata(e.useExisting):void 0,deps:t,multi:e.multi}}_getQueriesMetadata(e,t,n){const r=[];return Object.keys(e).forEach(i=>{const s=e[i];s.isViewQuery===t&&r.push(this._getQueryMetadata(s,i,n))}),r}_queryVarBindings(e){return e.split(/\s*,\s*/)}_getQueryMetadata(e,t,n){let r;return"string"==typeof e.selector?r=this._queryVarBindings(e.selector).map(e=>this._getTokenMetadata(e)):e.selector?r=[this._getTokenMetadata(e.selector)]:(this._reportError(cn(`Can't construct a query for the property "${t}" of "${Gd(n)}" since the query selector wasn't defined.`),n),r=[]),{selectors:r,first:e.first,descendants:e.descendants,emitDistinctChangesOnly:e.emitDistinctChangesOnly,propertyName:t,read:e.read?this._getTokenMetadata(e.read):null,static:e.static}}_reportError(e,t,n){if(!this._errorCollector)throw e;this._errorCollector(e,t),n&&this._errorCollector(e,n)}}function Ud(e,t=[]){if(e)for(let n=0;n<e.length;n++){const r=mn(e[n]);Array.isArray(r)?Ud(r,t):t.push(r)}return t}function zd(e){return(t=Ud(e))?Array.from(new Set(t)):[];var t}function Hd(e){return e instanceof Kt||e instanceof G}class qd extends rn{visitOther(e,t){t.push({reference:e})}}function Gd(e){return e instanceof Kt?`${e.name} in ${e.filePath}`:fn(e)}function Wd(e,t){let n=0;t.eager||(n|=4096),t.providerType===Ol.PrivateService&&(n|=8192),t.isModule&&(n|=1073741824),t.lifecycleHooks.forEach(e=>{e!==Fd.OnDestroy&&t.providerType!==Ol.Directive&&t.providerType!==Ol.Component||(n|=Yd(e))});const{providerExpr:r,flags:i,depsExpr:s}=t.multiProvider?function(e,t,n){const r=[],i=[],s=n.map((t,n)=>{let r;if(t.useClass){const i=o(n,t.deps||t.useClass.diDeps);r=e.importExpr(t.useClass.reference).instantiate(i)}else if(t.useFactory){const i=o(n,t.deps||t.useFactory.diDeps);r=e.importExpr(t.useFactory.reference).callFn(i)}else if(t.useExisting){r=o(n,[{token:t.useExisting}])[0]}else r=Md(e,t.useValue);return r});return{providerExpr:Dt(i,[new ut(Tt(s))],oe),flags:1024|t,depsExpr:Tt(r)};function o(t,n){return n.map((n,s)=>{const o=`p${t}_${s}`;return i.push(new qe(o,se)),r.push(Xd(e,n)),St(o)})}}(e,n,t.providers):Qd(e,n,t.providerType,t.providers[0]);return{providerExpr:r,flags:i,depsExpr:s,tokenExpr:Kd(e,t.token)}}function Qd(e,t,n,r){let i,s;n===Ol.Directive||n===Ol.Component?(i=e.importExpr(r.useClass.reference),t|=16384,s=r.deps||r.useClass.diDeps):r.useClass?(i=e.importExpr(r.useClass.reference),t|=512,s=r.deps||r.useClass.diDeps):r.useFactory?(i=e.importExpr(r.useFactory.reference),t|=1024,s=r.deps||r.useFactory.diDeps):r.useExisting?(i=tt,t|=2048,s=[{token:r.useExisting}]):(i=Md(e,r.useValue),t|=256,s=[]);return{providerExpr:i,flags:t,depsExpr:Tt(s.map(t=>Xd(e,t)))}}function Kd(e,t){return t.identifier?e.importExpr(t.identifier.reference):Nt(t.value)}function Xd(e,t){const n=t.isValue?Md(e,t.value):Kd(e,t.token);let r=0;return t.isSkipSelf&&(r|=1),t.isOptional&&(r|=2),t.isSelf&&(r|=4),t.isValue&&(r|=8),0===r?n:Tt([Nt(r),n])}function Yd(e){let t=0;switch(e){case Fd.AfterContentChecked:t=2097152;break;case Fd.AfterContentInit:t=1048576;break;case Fd.AfterViewChecked:t=8388608;break;case Fd.AfterViewInit:t=4194304;break;case Fd.DoCheck:t=262144;break;case Fd.OnChanges:t=524288;break;case Fd.OnDestroy:t=131072;break;case Fd.OnInit:t=65536}return t}function Zd(e,t,n,r){const i=r.map(e=>
1t.importExpr(e.componentFactory)),s=Qt(e,Gt.ComponentFactoryResolver),o={diDeps:[{isValue:!0,value:Tt(i)},{token:s,isSkipSelf:!0,isOptional:!0},{token:Qt(e,Gt.NgModuleRef)}],lifecycleHooks:[],reference:e.resolveExternalReference(Gt.CodegenComponentFactoryResolver)},{providerExpr:a,flags:l,depsExpr:c}=Qd(t,n,Ol.PrivateService,{token:s,multi:!1,useClass:o});return{providerExpr:a,flags:l,depsExpr:c,tokenExpr:Kd(t,s)}}class Jd{constructor(e){this.ngModuleFactoryVar=e}}const ep=St("_l");class tp{constructor(e){this.reflector=e}compile(e,t,n){const r=function(e,t){const n=En(t),r=null!=n?`in ${e} ${Sn(t)} in ${n}`:`in ${e} ${Sn(t)}`,i=new Ds("",r);return new Ps(new Os(i,-1,-1,-1),new Os(i,-1,-1,-1))}("NgModule",t.type),i=t.transitiveModule.entryComponents,s=t.bootstrapComponents,o=new Ll(this.reflector,t,n,r),a=[Zd(this.reflector,e,0,i)].concat(o.parse().map(t=>Wd(e,t))).map(({providerExpr:e,depsExpr:t,flags:n,tokenExpr:r})=>Et(Gt.moduleProviderDef).callFn([Nt(n),r,e,t])),l=Et(Gt.moduleDef).callFn([Tt(a)]),c=Dt([new qe(ep.name)],[new ut(l)],oe),u=`${Sn(t.type)}NgFactory`;if(this._createNgModuleFactory(e,t.type.reference,Et(Gt.createModuleFactory).callFn([e.importExpr(t.type.reference),Tt(s.map(t=>e.importExpr(t.reference))),c])),t.id){const n="string"==typeof t.id?Nt(t.id):e.importExpr(t.id),r=Et(Gt.RegisterModuleFactoryFn).callFn([n,St(u)]).toStmt();e.statements.push(r)}return new Jd(u)}createStub(e,t){this._createNgModuleFactory(e,t,tt)}_createNgModuleFactory(e,t,n){const r=St(`${Sn({reference:t})}NgFactory`).set(n).toDeclStmt(At(Gt.NgModuleFactory,[kt(e.importExpr(t))],[Z.Const]),[rt.Final,rt.Exported]);e.statements.push(r)}}class np{constructor(e){this._reflector=e}isNgModule(e){return this._reflector.annotations(e).some(F.isTypeOf)}resolve(e,t=!0){const n=Yh(this._reflector.annotations(e),F.isTypeOf);if(n)return n;if(t)throw new Error(`No NgModule metadata found for '${fn(e)}'.`);return null}}class rp extends tr{constructor(e,t){super(!1),this.referenceFilter=e,this.importFilter=t,this.typeExpression=0,this.importsWithPrefixes=new Map,this.reexports=new Map}visitType(e,t,n="any"){e?(this.typeExpression++,e.visitType(this,t),this.typeExpression--):t.print(null,n)}visitLiteralExpr(e,t){const n=e.value;return null==n&&e.type!=oe?(t.print(e,`(${n} as any)`),null):super.visitLiteralExpr(e,t)}visitLiteralArrayExpr(e,t){0===e.entries.length&&t.print(e,"(");const n=super.visitLiteralArrayExpr(e,t);return 0===e.entries.length&&t.print(e," as any[])"),n}visitExternalExpr(e,t){return this._visitIdentifier(e.value,e.typeParams,t),null}visitAssertNotNullExpr(e,t){const n=super.visitAssertNotNullExpr(e,t);return t.print(e,"!"),n}visitDeclareVarStmt(e,t){if(e.hasModifier(rt.Exported)&&e.value instanceof $e&&!e.type){const{name:t,moduleName:n}=e.value.value;if(n){let r=this.reexports.get(n);return r||(r=[],this.reexports.set(n,r)),r.push({name:t,as:e.name}),null}}return e.hasModifier(rt.Exported)&&t.print(e,"export "),e.hasModifier(rt.Final)?t.print(e,"const"):t.print(e,"var"),t.print(e,` ${e.name}`),this._printColonType(e.type,t),e.value&&(t.print(e," = "),e.value.visitExpression(this,t)),t.println(e,";"),null}visitWrappedNodeExpr(e,t){throw new Error("Cannot visit a WrappedNodeExpr when outputting Typescript.")}visitCastExpr(e,t){return t.print(e,"(<"),e.type.visitType(this,t),t.print(e,">"),e.value.visitExpression(this,t),t.print(e,")"),null}visitInstantiateExpr(e,t){return t.print(e,"new "),this.typeExpression++,e.classExpr.visitExpression(this,t),this.typeExpression--,t.print(e,"("),this.visitAllExpressions(e.args,t,","),t.print(e,")"),null}visitDeclareClassStmt(e,t){return t.pushClass(e),e.hasModifier(rt.Exported)&&t.print(e,"export "),t.print(e,`class ${e.name}`),null!=e.parent&&(t.print(e," extends "),this.typeExpression++,e.parent.visitExpression(this,t),this.typeExpression--),t.println(e," {"),t.incIndent(),e.fields.forEach(e=>this._visitClassField(e,t)),null!=e.constructorMethod&&this._visitClassConstructor(e,t),e.getters.forEach(e=>this._visitClassGetter(e,t)),e.methods.forEach(e=>this._visitClassMethod(e,t)),t.decIndent(),t.println(e,"}"),t.popClass(),null}_visitClassField(e,t){e.hasModifier(rt.Private)&&t.print(null,"/*private*/ "),e.hasModifier(rt.Static)&&t.print(null,"static "),t.print(null,e.name),this._printColonType(e.type,t),e.initializer&&(t.print(null," = "),e.initializer.visitExpression(this,t)),t.println(null,";")}_visitClassGetter(e,t){e.hasModifier(rt.Private)&&t.print(null,"private "),t.print(null,`get ${e.name}()`),this._printColonType(e.type,t),t.println(null," {"),t.incIndent(),this.visitAllStatements(e.body,t),t.decIndent(),t.println(null,"}")}_visitClassConstructor(e,t){t.print(e,"constructor("),this._visitParams(e.constructorMethod.params,t),t.println(e,") {"),t.incIndent(),this.visitAllStatements(e.constructorMethod.body,t),t.decIndent(),t.println(e,"}")}_visitClassMethod(e,t){e.hasModifier(rt.Private)&&t.print(null,"private "),t.print(null,`${e.name}(`),this._visitParams(e.params,t),t.print(null,")"),this._printColonType(e.type,t,"void"),t.println(null," {"),t.incIndent(),this.visitAllStatements(e.body,t),t.decIndent(),t.println(null,"}")}visitFunctionExpr(e,t){return e.name&&(t.print(e,"function "),t.print(e,e.name)),t.print(e,"("),this._visitParams(e.params,t),t.print(e,")"),this._printColonType(e.type,t,"void"),e.name||t.print(e," => "),t.println(e,"{"),t.incIndent(),this.visitAllStatements(e.statements,t),t.decIndent(),t.print(e,"}"),null}visitDeclareFunctionStmt(e,t){return e.hasModifier(rt.Exported)&&t.print(e,"export "),t.print(e,`function ${e.name}(`),this._visitParams(e.params,t),t.print(e,")"),this._printColonType(e.type,t,"void"),t.println(e," {"),t.incIndent(),this.visitAllStatements(e.statements,t),t.decIndent(),t.println(e,"}"),null}visitTryCatchStmt(e,t){t.println(e,"try {"),t.incIndent(),this.visitAllStatements(e.bodyStmts,t),t.decIndent(),t.println(e,`} catch (${Yn.name}) {`),t.incIndent();const n=[Zn.set(Yn.prop("stack",null)).toDeclStmt(null,[rt.Final])].concat(e.catchStmts
1);return this.visitAllStatements(n,t),t.decIndent(),t.println(e,"}"),null}visitBuiltinType(e,t){let n;switch(e.name){case J.Bool:n="boolean";break;case J.Dynamic:n="any";break;case J.Function:n="Function";break;case J.Number:case J.Int:n="number";break;case J.String:n="string";break;case J.None:n="never";break;default:throw new Error(`Unsupported builtin type ${e.name}`)}return t.print(null,n),null}visitExpressionType(e,t){return e.value.visitExpression(this,t),null!==e.typeParams&&(t.print(null,"<"),this.visitAllObjects(e=>this.visitType(e,t),e.typeParams,t,","),t.print(null,">")),null}visitArrayType(e,t){return this.visitType(e.of,t),t.print(null,"[]"),null}visitMapType(e,t){return t.print(null,"{[key: string]:"),this.visitType(e.valueType,t),t.print(null,"}"),null}getBuiltinMethodName(e){let t;switch(e){case fe.ConcatArray:t="concat";break;case fe.SubscribeObservable:t="subscribe";break;case fe.Bind:t="bind";break;default:throw new Error(`Unknown builtin method: ${e}`)}return t}_visitParams(e,t){this.visitAllObjects(e=>{t.print(null,e.name),this._printColonType(e.type,t)},e,t,",")}_visitIdentifier(e,t,n){const{name:r,moduleName:i}=e;if(this.referenceFilter&&this.referenceFilter(e))n.print(null,"(null as any)");else{if(i&&(!this.importFilter||!this.importFilter(e))){let e=this.importsWithPrefixes.get(i);null==e&&(e=`i${this.importsWithPrefixes.size}`,this.importsWithPrefixes.set(i,e)),n.print(null,`${e}.`)}if(n.print(null,r),this.typeExpression>0){(t||[]).length>0&&(n.print(null,"<"),this.visitAllObjects(e=>e.visitType(this,n),t,n,","),n.print(null,">"))}}}_printColonType(e,t,n){e!==oe&&(t.print(null,":"),this.visitType(e,t,n))}}class ip{constructor(e){this._reflector=e}isPipe(e){const t=this._reflector.annotations(mn(e));return t&&t.some(M.isTypeOf)}resolve(e,t=!0){const n=this._reflector.annotations(mn(e));if(n){const e=Yh(n,M.isTypeOf);if(e)return e}if(t)throw new Error(`No Pipe decorator found on ${fn(e)}`);return null}}const sp="_any";new class{notifyImplicitReceiverUse(){}getLocal(e){return e===ko.event.name?St(sp):null}};const op="class",ap="style";class lp{constructor(e,t){this.viewClassVar=e,this.rendererTypeVar=t}}class cp{constructor(e){this._reflector=e}compileComponent(e,t,n,r,i){let s,o=0;if(!t.isHost){const n=t.template,i=[];n.animations&&n.animations.length&&i.push(new Ze("animation",Md(e,n.animations),!0));const o=St(kn(t.type.reference));s=o.name,e.statements.push(o.set(Et(Gt.createRendererType2).callFn([new Je([new Ze("encapsulation",Nt(n.encapsulation),!1),new Ze("styles",r,!1),new Ze("data",new Je(i),!1)])])).toDeclStmt(At(Gt.RendererType2),[rt.Final,rt.Exported]))}const a=n=>{const r=o++;return new gp(this._reflector,e,n,t,r,i,a)},l=a(null);return l.visitAll([],n),e.statements.push(...l.build()),new lp(l.viewName,s)}}const up=St("_l"),hp=St("_v"),dp=St("_ck"),pp=St("_co"),fp=St("en"),mp=St("ad");class gp{constructor(e,t,n,r,i,s,o){this.reflector=e,this.outputCtx=t,this.parent=n,this.component=r,this.embeddedViewIndex=i,this.usedPipes=s,this.viewBuilderFactory=o,this.nodes=[],this.purePipeNodeIndices=Object.create(null),this.refNodeIndices=Object.create(null),this.variables=[],this.children=[],this.compType=this.embeddedViewIndex>0?se:kt(t.importExpr(this.component.type.reference)),this.viewName=An(this.component.type.reference,this.embeddedViewIndex)}visitAll(e,t){this.variables=e,this.parent||this.usedPipes.forEach(e=>{e.pure&&(this.purePipeNodeIndices[e.name]=this._createPipe(null,e))}),this.parent||this.component.viewQueries.forEach((e,t)=>{const n=t+1,r=e.first?0:1,i=134217728|xp(e);this.nodes.push(()=>({sourceSpan:null,nodeFlags:i,nodeDef:Et(Gt.queryDef).callFn([Nt(i),Nt(n),new Je([new Ze(e.propertyName,Nt(r),!1)])])}))}),Pl(this,t),this.parent&&(0===t.length||vp(t))&&this.nodes.push(()=>({sourceSpan:null,nodeFlags:1,nodeDef:Et(Gt.anchorDef).callFn([Nt(0),tt,tt,Nt(0)])}))}build(e=[]){this.children.forEach(t=>t.build(e));const{updateRendererStmts:t,updateDirectivesStmts:n,nodeDefExprs:r}=this._createNodeExpressions(),i=this._createUpdateFn(t),s=this._createUpdateFn(n);let o=0;this.parent||this.component.changeDetection!==D.OnPush||(o|=2);const a=new lt(this.viewName,[new qe(up.name)],[new ut(Et(Gt.viewDef).callFn([Nt(o),Tt(r),s,i]))],At(Gt.ViewDefinition),0===this.embeddedViewIndex?[rt.Exported]:[]);return e.push(a),e}_createUpdateFn(e){let t;if(e.length>0){const n=[];!this.component.isHost&&bt(e).has(pp.name)&&n.push(pp.set(hp.prop("component")).toDeclStmt(this.compType)),t=Dt([new qe(dp.name,oe),new qe(hp.name,oe)],[...n,...e],oe)}else t=tt;return t}visitNgContent(e,t){this.nodes.push(()=>({sourceSpan:e.sourceSpan,nodeFlags:8,nodeDef:Et(Gt.ngContentDef).callFn([Nt(e.ngContentIndex),Nt(e.index)])}))}visitText(e,t){this.nodes.push(()=>({sourceSpan:e.sourceSpan,nodeFlags:2,nodeDef:Et(Gt.textDef).callFn([Nt(-1),Nt(e.ngContentIndex),Tt([Nt(e.value)])])}))}visitBoundText(e,t){const n=this.nodes.length;this.nodes.push(null);const r=e.value.ast,i=r.expressions.map((t,r)=>this._preprocessUpdateExpression({nodeIndex:n,bindingIndex:r,sourceSpan:e.sourceSpan,context:pp,value:t})),s=n;this.nodes[n]=()=>({sourceSpan:e.sourceSpan,nodeFlags:2,nodeDef:Et(Gt.textDef).callFn([Nt(s),Nt(e.ngContentIndex),Tt(r.strings.map(e=>Nt(e)))]),updateRenderer:i})}visitEmbeddedTemplate(e,t){const n=this.nodes.length;this.nodes.push(null);const{flags:r,queryMatchesExpr:i,hostEvents:s}=this._visitElementOrTemplate(n,e),o=this.viewBuilderFactory(this);this.children.push(o),o.visitAll(e.variables,e.children);const a=this.nodes.length-n-1;this.nodes[n]=()=>({sourceSpan:e.sourceSpan,nodeFlags:1|r,nodeDef:Et(Gt.anchorDef).callFn([Nt(r),i,Nt(e.ngContentIndex),Nt(a),this._createElementHandleEventFn(n,s),St(o.viewName)])})}visitElement(e,t){const n=this.nodes.length;this.nodes.push(null);const r=o(e.name)?null:e.name,{flags:i,usedEvents:s,queryMatchesExpr:a,hostBindings:l,hostEvents:c}=this._visitElementOrTemplate(n,e);let u=[],h=[],d=[];
1if(r){const t=e.inputs.map(e=>({context:pp,inputAst:e,dirAst:null})).concat(l);t.length&&(h=t.map((e,t)=>this._preprocessUpdateExpression({context:e.context,nodeIndex:n,bindingIndex:t,sourceSpan:e.inputAst.sourceSpan,value:e.inputAst.value})),u=t.map(e=>function(e,t){const n=e.type;switch(n){case 1:return Tt([Nt(1),Nt(e.name),Nt(e.securityContext)]);case 0:return Tt([Nt(8),Nt(e.name),Nt(e.securityContext)]);case 4:return Tt([Nt(8|(t&&t.directive.isComponent?32:16)),Nt("@"+e.name),Nt(e.securityContext)]);case 2:return Tt([Nt(2),Nt(e.name),tt]);case 3:return Tt([Nt(4),Nt(e.name),Nt(e.unit)]);default:throw new Error(`unexpected ${n}`)}}(e.inputAst,e.dirAst))),d=s.map(([e,t])=>Tt([Nt(e),Nt(t)]))}Pl(this,e.children);const p=this.nodes.length-n-1,f=e.directives.find(e=>e.directive.isComponent);let m=tt,g=tt;f&&(g=this.outputCtx.importExpr(f.directive.componentViewType),m=this.outputCtx.importExpr(f.directive.rendererType));const v=n;this.nodes[n]=()=>({sourceSpan:e.sourceSpan,nodeFlags:1|i,nodeDef:Et(Gt.elementDef).callFn([Nt(v),Nt(i),a,Nt(e.ngContentIndex),Nt(p),Nt(r),r?yp(e):tt,u.length?Tt(u):tt,d.length?Tt(d):tt,this._createElementHandleEventFn(n,c),g,m]),updateRenderer:h})}_visitElementOrTemplate(e,t){let n=0;t.hasViewContainer&&(n|=16777216);const r=new Map;t.outputs.forEach(e=>{const{name:t,target:n}=_p(e,null);r.set(Cp(n,t),[n,t])}),t.directives.forEach(e=>{e.hostEvents.forEach(t=>{const{name:n,target:i}=_p(t,e);r.set(Cp(i,n),[i,n])})});const i=[],s=[];this._visitComponentFactoryResolverProvider(t.directives),t.providers.forEach(e=>{let n;if(t.directives.forEach(t=>{t.directive.type.reference===Dn(e.token)&&(n=t)}),n){const{hostBindings:o,hostEvents:a}=this._visitDirective(e,n,t.references,t.queryMatches,r);i.push(...o),s.push(...a)}else this._visitProvider(e,t.queryMatches)});let o=[];return t.queryMatches.forEach(e=>{let t;Dn(e.value)===this.reflector.resolveExternalReference(Gt.ElementRef)?t=0:Dn(e.value)===this.reflector.resolveExternalReference(Gt.ViewContainerRef)?t=3:Dn(e.value)===this.reflector.resolveExternalReference(Gt.TemplateRef)&&(t=2),null!=t&&o.push(Tt([Nt(e.queryId),Nt(t)]))}),t.references.forEach(t=>{let n;t.value?Dn(t.value)===this.reflector.resolveExternalReference(Gt.TemplateRef)&&(n=2):n=1,null!=n&&(this.refNodeIndices[t.name]=e,o.push(Tt([Nt(t.name),Nt(n)])))}),t.outputs.forEach(e=>{s.push({context:pp,eventAst:e,dirAst:null})}),{flags:n,usedEvents:Array.from(r.values()),queryMatchesExpr:o.length?Tt(o):tt,hostBindings:i,hostEvents:s}}_visitDirective(e,t,n,r,i){const s=this.nodes.length;this.nodes.push(null),t.directive.queries.forEach((e,n)=>{const r=t.contentQueryStartId+n,i=67108864|xp(e),s=e.first?0:1;this.nodes.push(()=>({sourceSpan:t.sourceSpan,nodeFlags:i,nodeDef:Et(Gt.queryDef).callFn([Nt(i),Nt(r),new Je([new Ze(e.propertyName,Nt(s),!1)])])}))});const o=this.nodes.length-s-1;let{flags:a,queryMatchExprs:l,providerExpr:c,depsExpr:u}=this._visitProviderOrDirective(e,r);n.forEach(t=>{t.value&&Dn(t.value)===Dn(e.token)&&(this.refNodeIndices[t.name]=s,l.push(Tt([Nt(t.name),Nt(4)])))}),t.directive.isComponent&&(a|=32768);const h=t.inputs.map((e,t)=>{const n=Tt([Nt(t),Nt(e.directiveName)]);return new Ze(e.directiveName,n,!1)}),d=[],p=t.directive;Object.keys(p.outputs).forEach(e=>{const t=p.outputs[e];i.has(t)&&d.push(new Ze(e,Nt(t),!1))});let f=[];(t.inputs.length||(327680&a)>0)&&(f=t.inputs.map((e,t)=>this._preprocessUpdateExpression({nodeIndex:s,bindingIndex:t,sourceSpan:e.sourceSpan,context:pp,value:e.value})));const m=Et(Gt.nodeValue).callFn([hp,Nt(s)]),g=t.hostProperties.map(e=>({context:m,dirAst:t,inputAst:e})),v=t.hostEvents.map(e=>({context:m,eventAst:e,dirAst:t})),y=s;return this.nodes[s]=()=>({sourceSpan:t.sourceSpan,nodeFlags:16384|a,nodeDef:Et(Gt.directiveDef).callFn([Nt(y),Nt(a),l.length?Tt(l):tt,Nt(o),c,u,h.length?new Je(h):tt,d.length?new Je(d):tt]),updateDirectives:f,directive:t.directive.type}),{hostBindings:g,hostEvents:v}}_visitProvider(e,t){this._addProviderNode(this._visitProviderOrDirective(e,t))}_visitComponentFactoryResolverProvider(e){const t=e.find(e=>e.directive.isComponent);if(t&&t.directive.entryComponents.length){const{providerExpr:e,depsExpr:n,flags:r,tokenExpr:i}=Zd(this.reflector,this.outputCtx,8192,t.directive.entryComponents);this._addProviderNode({providerExpr:e,depsExpr:n,flags:r,tokenExpr:i,queryMatchExprs:[],sourceSpan:t.sourceSpan})}}_addProviderNode(e){this.nodes.push(()=>({sourceSpan:e.sourceSpan,nodeFlags:e.flags,nodeDef:Et(Gt.providerDef).callFn([Nt(e.flags),e.queryMatchExprs.length?Tt(e.queryMatchExprs):tt,e.tokenExpr,e.providerExpr,e.depsExpr])}))}_visitProviderOrDirective(e,t){let n=[];t.forEach(t=>{Dn(t.value)===Dn(e.token)&&n.push(Tt([Nt(t.queryId),Nt(4)]))});const{providerExpr:r,depsExpr:i,flags:s,tokenExpr:o}=Wd(this.outputCtx,e);return{flags:0|s,queryMatchExprs:n,providerExpr:r,depsExpr:i,tokenExpr:o,sourceSpan:e.sourceSpan}}getLocal(e){if(e==ko.event.name)return ko.event;let t=hp;for(let n=this;n;n=n.parent,t=t.prop("parent").cast(se)){const r=n.refNodeIndices[e];if(null!=r)return Et(Gt.nodeValue).callFn([t,Nt(r)]);const i=n.variables.find(t=>t.name===e);if(i){const e=i.value||"$implicit";return t.prop("context").prop(e)}}return null}notifyImplicitReceiverUse(){}_createLiteralArrayConverter(e,t){if(0===t){const e=Et(Gt.EMPTY_ARRAY);return()=>e}const n=this.nodes.length;return this.nodes.push(()=>({sourceSpan:e,nodeFlags:32,nodeDef:Et(Gt.pureArrayDef).callFn([Nt(n),Nt(t)])})),e=>bp(n,e)}_createLiteralMapConverter(e,t){if(0===t.length){const e=Et(Gt.EMPTY_MAP);return()=>e}const n=Ot(t.map((e,t)=>Object.assign(Object.assign({},e),{value:Nt(t)}))),r=this.nodes.length;return this.nodes.push(()=>({sourceSpan:e,nodeFlags:64,nodeDef:Et(Gt.pureObjectDef).callFn([Nt(r),n])})),e=>bp(r,e)}_createPipeConverter(e,t,n){const r=this.usedPipes.find(e=>e.name===t);if(r.pure){const r=this.nodes.length;this.nodes.push(()=>({sourceSpan:e.sourceSpan,nodeFlags:128,nodeDef:Et(Gt.purePipeDef).callFn([Nt(r),Nt(n)])}));let i=hp,s=this;for(;s.parent;)s=s.parent,i=i.prop("parent").cast(se);const o=s.purePipeNodeIndices[t],a=Et(Gt.nodeValue).callFn([i,Nt(o)]);return t=>wp(e.nodeIndex,e.bindingIndex,bp(r,[a].concat(t)))}{const t=this._createPipe(e.sourceSpan,r),n=Et(Gt.nodeValue).callFn([hp,Nt(t)]);return t=>wp(e.nodeIndex,e.bindingIndex,n.callMethod("transform",t))}}_createPipe(e,t){const n=this.nodes.length;let r=0;
1t.type.lifecycleHooks.forEach(e=>{e===Fd.OnDestroy&&(r|=Yd(e))});const i=t.type.diDeps.map(e=>Xd(this.outputCtx,e));return this.nodes.push(()=>({sourceSpan:e,nodeFlags:16,nodeDef:Et(Gt.pipeDef).callFn([Nt(r),this.outputCtx.importExpr(t.type.reference),Tt(i)])})),n}_preprocessUpdateExpression(e){return{nodeIndex:e.nodeIndex,bindingIndex:e.bindingIndex,sourceSpan:e.sourceSpan,context:e.context,value:Oo({createLiteralArrayConverter:t=>this._createLiteralArrayConverter(e.sourceSpan,t),createLiteralMapConverter:t=>this._createLiteralMapConverter(e.sourceSpan,t),createPipeConverter:(t,n)=>this._createPipeConverter(e,t,n)},e.value)}}_createNodeExpressions(){const e=this;let t=0;const n=[],r=[],i=this.nodes.map((e,t)=>{const{nodeDef:i,nodeFlags:o,updateDirectives:a,updateRenderer:l,sourceSpan:c}=e();l&&n.push(...s(t,c,l,!1)),a&&r.push(...s(t,c,a,(327680&o)>0));return xt(3&o?new et([up.callFn([]).callFn([]),i]):i,c)});return{updateRendererStmts:n,updateDirectivesStmts:r,nodeDefExprs:i};function s(n,r,i,s){const o=[],a=i.map(({sourceSpan:n,context:r,value:i})=>{const s=""+t++,a=r===pp?e:null,{stmts:l,currValExpr:c}=Po(a,r,i,s,Rs.General);return o.push(...l.map(e=>_t(e,n))),xt(c,n)});return(i.length||s)&&o.push(_t(bp(n,a).toStmt(),r)),o}}_createElementHandleEventFn(e,t){const n=[];let r,i=0;if(t.forEach(({context:e,eventAst:t,dirAst:r})=>{const s=""+i++,o=e===pp?this:null,{stmts:a,allowDefault:l}=To(o,e,t.handler,s),c=a;l&&c.push(mp.set(l.and(mp)).toStmt());const{target:u,name:h}=_p(t,r),d=Cp(u,h);n.push(_t(new mt(Nt(d).identical(fp),c),t.sourceSpan))}),n.length>0){const e=[mp.set(Nt(!0)).toDeclStmt(ae)];!this.component.isHost&&bt(n).has(pp.name)&&e.push(pp.set(hp.prop("component")).toDeclStmt(this.compType)),r=Dt([new qe(hp.name,oe),new qe(fp.name,oe),new qe(ko.event.name,oe)],[...e,...n,new ut(mp)],oe)}else r=tt;return r}visitDirective(e,t){}visitDirectiveProperty(e,t){}visitReference(e,t){}visitVariable(e,t){}visitEvent(e,t){}visitElementProperty(e,t){}visitAttr(e,t){}}function vp(e){const t=e[e.length-1];return t instanceof Al?t.hasViewContainer:t instanceof El?o(t.name)&&t.children.length?vp(t.children):t.hasViewContainer:t instanceof Dl}function yp(e){const t=Object.create(null);return e.attrs.forEach(e=>{t[e.name]=e.value}),e.directives.forEach(e=>{Object.keys(e.directive.hostAttributes).forEach(n=>{const r=e.directive.hostAttributes[n],i=t[n];var s,o,a;t[n]=null!=i?(o=i,a=r,(s=n)==op||s==ap?`${o} ${a}`:a):r})}),Tt(Object.keys(t).sort().map(e=>Tt([Nt(e),Nt(t[e])])))}function bp(e,t){return t.length>10?dp.callFn([hp,Nt(e),Nt(1),Tt(t)]):dp.callFn([hp,Nt(e),Nt(0),...t])}function wp(e,t,n){return Et(Gt.unwrapValue).callFn([hp,Nt(e),Nt(t),n])}function _p(e,t){return e.isAnimation?{name:`@${e.name}.${e.phase}`,target:t&&t.directive.isComponent?"component":null}:e}function xp(e){let t=0;return e.first&&e.static?t|=268435456:t|=536870912,e.emitDistinctChangesOnly&&(t|=-2147483648),t}function Cp(e,t){return e?`${e}:${t}`:t}const Sp="useValue";new Set([Sp,"useFactory","data","id","loadChildren"]);class Ep{static build(){const e=new Map;return{define:function(t,n){return e.set(t,n),this},done:function(){return e.size>0?new Ap(e):Ep.empty}}}}Ep.missing={},Ep.empty={resolve:e=>Ep.missing};class Ap extends Ep{constructor(e){super(),this.bindings=e}resolve(e){return this.bindings.has(e)?this.bindings.get(e):Ep.missing}}class kp{}class Ip{constructor(){this._summaries=new Map}isLibraryFile(){return!1}toSummaryFileName(e){return e}fromSummaryFileName(e){return e}resolveSummary(e){return this._summaries.get(e)||null}getSymbolsOf(){return[]}getImportAs(e){return e}getKnownModuleName(e){return null}addSummary(e){this._summaries.set(e.symbol,e)}}function Tp(e,t,n,r,i){const s=r.createChildWihtLocalVars();for(let a=0;a<e.length;a++)s.vars.set(e[a],t[a]);const o=i.visitAllStatements(n,s);return o?o.value:null}class Op{constructor(e,t,n,r){this.parent=e,this.instance=t,this.className=n,this.vars=r,this.exports=[]}createChildWihtLocalVars(){return new Op(this,this.instance,this.className,new Map)}}class Dp{constructor(e){this.value=e}}class Pp{constructor(e){this.reflector=e}debugAst(e){return function(e){const t=new rp,n=er.createRoot();
1return(Array.isArray(e)?e:[e]).forEach(e=>{if(e instanceof ot)e.visitStatement(t,n);else if(e instanceof ye)e.visitExpression(t,n);else{if(!(e instanceof ee))throw new Error(`Don't know how to print debug info for ${e}`);e.visitType(t,n)}}),n.toSource()}(e)}visitDeclareVarStmt(e,t){const n=e.value?e.value.visitExpression(this,t):void 0;return t.vars.set(e.name,n),e.hasModifier(rt.Exported)&&t.exports.push(e.name),null}visitWriteVarExpr(e,t){const n=e.value.visitExpression(this,t);let r=t;for(;null!=r;){if(r.vars.has(e.name))return r.vars.set(e.name,n),n;r=r.parent}throw new Error(`Not declared variable ${e.name}`)}visitWrappedNodeExpr(e,t){throw new Error("Cannot interpret a WrappedNodeExpr.")}visitTypeofExpr(e,t){throw new Error("Cannot interpret a TypeofExpr")}visitReadVarExpr(e,t){let n=e.name;if(null!=e.builtin)switch(e.builtin){case pe.Super:return Object.getPrototypeOf(t.instance);case pe.This:return t.instance;case pe.CatchError:n=Np;break;case pe.CatchStack:n=Rp;break;default:throw new Error(`Unknown builtin variable ${e.builtin}`)}let r=t;for(;null!=r;){if(r.vars.has(n))return r.vars.get(n);r=r.parent}throw new Error(`Not declared variable ${n}`)}visitWriteKeyExpr(e,t){const n=e.receiver.visitExpression(this,t),r=e.index.visitExpression(this,t),i=e.value.visitExpression(this,t);return n[r]=i,i}visitWritePropExpr(e,t){const n=e.receiver.visitExpression(this,t),r=e.value.visitExpression(this,t);return n[e.name]=r,r}visitInvokeMethodExpr(e,t){const n=e.receiver.visitExpression(this,t),r=this.visitAllExpressions(e.args,t);let i;if(null!=e.builtin)switch(e.builtin){case fe.ConcatArray:i=n.concat(...r);break;case fe.SubscribeObservable:i=n.subscribe({next:r[0]});break;case fe.Bind:i=n.bind(...r);break;default:throw new Error(`Unknown builtin method ${e.builtin}`)}else i=n[e.name].apply(n,r);return i}visitInvokeFunctionExpr(e,t){const n=this.visitAllExpressions(e.args,t),r=e.fn;if(r instanceof be&&r.builtin===pe.Super)return t.instance.constructor.prototype.constructor.apply(t.instance,n),null;return e.fn.visitExpression(this,t).apply(null,n)}visitTaggedTemplateExpr(e,t){const n=e.template.elements.map(e=>e.text);Object.defineProperty(n,"raw",{value:e.template.elements.map(e=>e.rawText)});const r=this.visitAllExpressions(e.template.expressions,t);r.unshift(n);return e.tag.visitExpression(this,t).apply(null,r)}visitReturnStmt(e,t){return new Dp(e.value.visitExpression(this,t))}visitDeclareClassStmt(e,t){const n=function(e,t,n){const r={};e.getters.forEach(i=>{r[i.name]={configurable:!1,get:function(){const r=new Op(t,this,e.name,t.vars);return Tp([],[],i.body,r,n)}}}),e.methods.forEach(function(i){const s=i.params.map(e=>e.name);r[i.name]={writable:!1,configurable:!1,value:function(...r){const o=new Op(t,this,e.name,t.vars);return Tp(s,r,i.body,o,n)}}});const i=e.constructorMethod.params.map(e=>e.name),s=function(...r){const s=new Op(t,this,e.name,t.vars);e.fields.forEach(e=>{this[e.name]=void 0}),Tp(i,r,e.constructorMethod.body,s,n)},o=e.parent?e.parent.visitExpression(n,t):Object;return s.prototype=Object.create(o.prototype,r),s}(e,t,this);return t.vars.set(e.name,n),e.hasModifier(rt.Exported)&&t.exports.push(e.name),null}visitExpressionStmt(e,t){return e.expr.visitExpression(this,t)}visitIfStmt(e,t){return e.condition.visitExpression(this,t)?this.visitAllStatements(e.trueCase,t):null!=e.falseCase?this.visitAllStatements(e.falseCase,t):null}visitTryCatchStmt(e,t){try{return this.visitAllStatements(e.bodyStmts,t)}catch(n){const r=t.createChildWihtLocalVars();return r.vars.set(Np,n),r.vars.set(Rp,n.stack),this.visitAllStatements(e.catchStmts,r)}}visitThrowStmt(e,t){throw e.error.visitExpression(this,t)}visitInstantiateExpr(e,t){const n=this.visitAllExpressions(e.args,t);return new(e.classExpr.visitExpression(this,t))(...n)}visitLiteralExpr(e,t){return e.value}visitLocalizedString(e,t){return null}visitExternalExpr(e,t){return this.reflector.resolveExternalReference(e.value)}visitConditionalExpr(e,t){return e.condition.visitExpression(this,t)?e.trueCase.visitExpression(this,t):null!=e.falseCase?e.falseCase.visitExpression(this,t):null}visitNotExpr(e,t){return!e.condition.visitExpression(this,t)}visitAssertNotNullExpr(e,t){return e.condition.visitExpression(this,t)}visitCastExpr(e,t){return e.value.visitExpression(this,t)}visitFunctionExpr(e,t){return Mp(e.params.map(e=>e.name),e.statements,t,this)}visitDeclareFunctionStmt(e,t){const n=e.params.map(e=>e.name);return t.vars.set(e.name,Mp(n,e.statements,t,this)),e.hasModifier(rt.Exported)&&t.exports.push(e.name),null}visitUnaryOperatorExpr(e,t){const n=()=>e.expr.visitExpression(this,t);switch(e.operator){case he.Plus:return+n();case he.Minus:return-n();default:throw new Error(`Unknown operator ${e.operator}`)}}visitBinaryOperatorExpr(e,t){const n=()=>e.lhs.visitExpression(this,t),r=()=>e.rhs.visitExpression(this,t);switch(e.operator){case de.Equals:return n()==r();case de.Identical:return n()===r();case de.NotEquals:return n()!=r();case de.NotIdentical:return n()!==r();case de.And:return n()&&r();case de.Or:return n()||r();case de.Plus:return n()+r();case de.Minus:return n()-r();case de.Divide:return n()/r();case de.Multiply:return n()*r();case de.Modulo:return n()%r();case de.Lower:return n()<r();case de.LowerEquals:return n()<=r();case de.Bigger:return n()>r();case de.BiggerEquals:return n()>=r();default:throw new Error(`Unknown operator ${e.operator}`)}}visitReadPropExpr(e,t){let n;return n=e.receiver.visitExpression(this,t)[e.name],n}visitReadKeyExpr(e,t){return e.receiver.visitExpression(this,t)[e.
1index.visitExpression(this,t)]}visitLiteralArrayExpr(e,t){return this.visitAllExpressions(e.entries,t)}visitLiteralMapExpr(e,t){const n={};return e.entries.forEach(e=>n[e.key]=e.value.visitExpression(this,t)),n}visitCommaExpr(e,t){const n=this.visitAllExpressions(e.parts,t);return n[n.length-1]}visitAllExpressions(e,t){return e.map(e=>e.visitExpression(this,t))}visitAllStatements(e,t){for(let n=0;n<e.length;n++){const r=e[n].visitStatement(this,t);if(r instanceof Dp)return r}return null}}function Mp(e,t,n,r){return(...i)=>Tp(e,i,t,n,r)}const Np="error",Rp="stack";class Lp{constructor(e,t,n,r,i,s,o,a,l,c,u){this._metadataResolver=e,this._templateParser=t,this._styleCompiler=n,this._viewCompiler=r,this._ngModuleCompiler=i,this._summaryResolver=s,this._reflector=o,this._jitEvaluator=a,this._compilerConfig=l,this._console=c,this.getExtraNgModuleProviders=u,this._compiledTemplateCache=new Map,this._compiledHostTemplateCache=new Map,this._compiledDirectiveWrapperCache=new Map,this._compiledNgModuleCache=new Map,this._sharedStylesheetCount=0,this._addedAotSummaries=new Set}compileModuleSync(e){return sn(this._compileModuleAndComponents(e,!0))}compileModuleAsync(e){return Promise.resolve(this._compileModuleAndComponents(e,!1))}compileModuleAndAllComponentsSync(e){return sn(this._compileModuleAndAllComponents(e,!0))}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this._compileModuleAndAllComponents(e,!1))}getComponentFactory(e){return this._metadataResolver.getDirectiveSummary(e).componentFactory}loadAotSummaries(e){this.clearCache(),this._addAotSummaries(e)}_addAotSummaries(e){if(this._addedAotSummaries.has(e))return;this._addedAotSummaries.add(e);const t=e();for(let n=0;n<t.length;n++){const e=t[n];if("function"==typeof e)this._addAotSummaries(e);else{const t=e;this._summaryResolver.addSummary({symbol:t.type.reference,metadata:null,type:t})}}}hasAotSummary(e){return!!this._summaryResolver.resolveSummary(e)}_filterJitIdentifiers(e){return e.map(e=>e.reference).filter(e=>!this.hasAotSummary(e))}_compileModuleAndComponents(e,t){return on(this._loadModules(e,t),()=>(this._compileComponents(e,null),this._compileModule(e)))}_compileModuleAndAllComponents(e,t){return on(this._loadModules(e,t),()=>{const t=[];return this._compileComponents(e,t),{ngModuleFactory:this._compileModule(e),componentFactories:t}})}_loadModules(e,t){const n=[],r=this._metadataResolver.getNgModuleMetadata(e);return this._filterJitIdentifiers(r.transitiveModule.modules).forEach(e=>{const r=this._metadataResolver.getNgModuleMetadata(e);this._filterJitIdentifiers(r.declaredDirectives).forEach(e=>{const i=this._metadataResolver.loadDirectiveMetadata(r.type.reference,e,t);i&&n.push(i)}),this._filterJitIdentifiers(r.declaredPipes).forEach(e=>this._metadataResolver.getOrLoadPipeMetadata(e))}),an(n)}_compileModule(e){let t=this._compiledNgModuleCache.get(e);if(!t){const n=this._metadataResolver.getNgModuleMetadata(e),r=this.getExtraNgModuleProviders(n.type.reference),i=Bp(),s=this._ngModuleCompiler.compile(i,n,r);t=this._interpretOrJit(function(e){return Vn(`${Sn(e.type)}/module.ngfactory.js`)}(n),i.statements)[s.ngModuleFactoryVar],this._compiledNgModuleCache.set(n.type.reference,t)}return t}_compileComponents(e,t){const n=this._metadataResolver.getNgModuleMetadata(e),r=new Map,i=new Set,s=this._filterJitIdentifiers(n.transitiveModule.modules);s.forEach(e=>{const n=this._metadataResolver.getNgModuleMetadata(e);this._filterJitIdentifiers(n.declaredDirectives).forEach(e=>{r.set(e,n);const s=this._metadataResolver.getDirectiveMetadata(e);if(s.isComponent&&(i.add(this._createCompiledTemplate(s,n)),t)){const e=this._createCompiledHostTemplate(s.type.reference,n);i.add(e),t.push(s.componentFactory)}})}),s.forEach(e=>{const t=this._metadataResolver.getNgModuleMetadata(e);this._filterJitIdentifiers(t.declaredDirectives).forEach(e=>{const t=this._metadataResolver.getDirectiveMetadata(e);t.isComponent&&t.entryComponents.forEach(e=>{const t=r.get(e.componentType);i.add(this._createCompiledHostTemplate(e.componentType,t))})}),t.entryComponents.forEach(e=>{if(!this.hasAotSummary(e.componentType)){const t=r.get(e.componentType);i.add(this._createCompiledHostTemplate(e.componentType,t))}})}
1),i.forEach(e=>this._compileTemplate(e))}clearCacheFor(e){this._compiledNgModuleCache.delete(e),this._metadataResolver.clearCacheFor(e),this._compiledHostTemplateCache.delete(e);this._compiledTemplateCache.get(e)&&this._compiledTemplateCache.delete(e)}clearCache(){this._metadataResolver.clearCache(),this._compiledTemplateCache.clear(),this._compiledHostTemplateCache.clear(),this._compiledNgModuleCache.clear()}_createCompiledHostTemplate(e,t){if(!t)throw new Error(`Component ${fn(e)} is not part of any NgModule or the module has not been imported into your module.`);let n=this._compiledHostTemplateCache.get(e);if(!n){const r=this._metadataResolver.getDirectiveMetadata(e);Fp(r);const i=this._metadataResolver.getHostComponentMetadata(r,r.componentFactory.viewDefFactory);n=new jp(!0,r.type,i,t,[r.type]),this._compiledHostTemplateCache.set(e,n)}return n}_createCompiledTemplate(e,t){let n=this._compiledTemplateCache.get(e.type.reference);return n||(Fp(e),n=new jp(!1,e.type,e,t,t.transitiveModule.directives),this._compiledTemplateCache.set(e.type.reference,n)),n}_compileTemplate(e){if(e.isCompiled)return;const t=e.compMeta,n=new Map,r=Bp(),i=this._styleCompiler.compileComponent(r,t);t.template.externalStylesheets.forEach(e=>{const r=this._styleCompiler.compileStyles(Bp(),t,e);n.set(e.moduleUrl,r)}),this._resolveStylesCompileResult(i,n);e.ngModule.transitiveModule.pipes.map(e=>this._metadataResolver.getPipeSummary(e.reference));const{template:s,pipes:o}=this._parseTemplate(t,e.ngModule,e.directives),a=this._viewCompiler.compileComponent(r,t,s,St(i.stylesVar),o),l=this._interpretOrJit(function(e,t){return Vn(`${Sn(e)}/${Sn(t.type)}.ngfactory.js`)}(e.ngModule.type,e.compMeta),r.statements),c=l[a.viewClassVar],u=l[a.rendererTypeVar];e.compiled(c,u)}_parseTemplate(e,t,n){const r=e.template.preserveWhitespaces,i=n.map(e=>this._metadataResolver.getDirectiveSummary(e.reference)),s=t.transitiveModule.pipes.map(e=>this._metadataResolver.getPipeSummary(e.reference));return this._templateParser.parse(e,e.template.htmlAst,i,s,t.schemas,Un(t.type,e,e.template),r)}_resolveStylesCompileResult(e,t){e.dependencies.forEach((e,n)=>{const r=t.get(e.moduleUrl),i=this._resolveAndEvalStylesCompileResult(r,t);e.setValue(i)})}_resolveAndEvalStylesCompileResult(e,t){return this._resolveStylesCompileResult(e,t),this._interpretOrJit(function(e,t){const n=e.moduleUrl.split(/\/\\/g);return Vn(`css/${t}${n[n.length-1]}.ngstyle.js`)}(e.meta,this._sharedStylesheetCount++),e.outputCtx.statements)[e.stylesVar]}_interpretOrJit(e,t){return this._compilerConfig.useJit?this._jitEvaluator.evaluateStatements(e,t,this._reflector,this._compilerConfig.jitDevMode):function(e,t){const n=new Op(null,null,null,new Map);new Pp(t).visitAllStatements(e,n);const r={};return n.exports.forEach(e=>{r[e]=n.vars.get(e)}),r}(t,this._reflector)}}class jp{constructor(e,t,n,r,i){this.isHost=e,this.compType=t,this.compMeta=n,this.ngModule=r,this.directives=i,this._viewClass=null,this.isCompiled=!1}compiled(e,t){this._viewClass=e,this.compMeta.componentViewType.setDelegate(e);for(let n in t)this.compMeta.rendererType[n]=t[n];this.isCompiled=!0}}function Fp(e){if(!e.isComponent)throw new Error(`Could not compile '${Sn(e.type)}' because it is not a component.`)}function Bp(){return{statements:[],genFilePath:"",importExpr:e=>Et({name:Sn(e),moduleName:null,runtime:e}),constantPool:new $t}}class $p{}const Vp=class{constructor(e=null){this._packagePrefix=e}resolve(e,t){let n=t;null!=e&&e.length>0&&(n=function(e,t){const n=Hp(encodeURI(t)),r=Hp(e);if(null!=n[zp.Scheme])return qp(n);n[zp.Scheme]=r[zp.Scheme];for(let o=zp.Scheme;o<=zp.Port;o++)null==n[o]&&(n[o]=r[o]);if("/"==n[zp.Path][0])return qp(n);let i=r[zp.Path];null==i&&(i="/");const s=i.lastIndexOf("/");return i=i.substring(0,s+1)+n[zp.Path],n[zp.Path]=i,qp(n)}(e,n));const r=Hp(n);let i=this._packagePrefix;if(null!=i&&null!=r&&"package"==r[zp.Scheme]){let e=r[zp.Path];return i=i.replace(/\/+$/,""),e=e.replace(/^\/+/,""),`${i}/${e}`}return n}};const Up=new RegExp("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([\\w\\d\\-\\u0100-\\uffff.%]*)(?::([0-9]+))?)?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$");var zp;function Hp(e){return e.match(Up)}function qp(e){let t=e[zp.Path];return t=null==t?"":function(e){if("/"==e)return"/";const t="/"==e[0]?"/":"",n="/"===e[e.length-1]?"/":"",r=e.split("/"),i=[];let s=0;for(let o=0;o<r.length;
1o++){const e=r[o];switch(e){case"":case".":break;case"..":i.length>0?i.pop():s++;break;default:i.push(e)}}if(""==t){for(;s-- >0;)i.unshift("..");0===i.length&&i.push(".")}return t+i.join("/")+n}(t),e[zp.Path]=t,function(e,t,n,r,i,s,o){const a=[];return null!=e&&a.push(e+":"),null!=n&&(a.push("//"),null!=t&&a.push(t+"@"),a.push(n),null!=r&&a.push(":"+r)),null!=i&&a.push(i),null!=s&&a.push("?"+s),null!=o&&a.push("#"+o),a.join("")}(e[zp.Scheme],e[zp.UserInfo],e[zp.Domain],e[zp.Port],t,e[zp.QueryData],e[zp.Fragment])}!function(e){e[e.Scheme=1]="Scheme",e[e.UserInfo=2]="UserInfo",e[e.Domain=3]="Domain",e[e.Port=4]="Port",e[e.Path=5]="Path",e[e.QueryData=6]="QueryData",e[e.Fragment=7]="Fragment"}(zp||(zp={}));!function(e){(e.ng||(e.ng={})).\u0275compilerFacade=new _h}(bn);var Gp=n("ofXK"),Wp=n("jhN1");const Qp=function(){const e=new Map;return e.set(Gt.ANALYZE_FOR_ENTRY_COMPONENTS,i.a),e.set(Gt.ElementRef,i.v),e.set(Gt.NgModuleRef,i.P),e.set(Gt.ViewContainerRef,i.ob),e.set(Gt.ChangeDetectorRef,i.k),e.set(Gt.Renderer2,i.Z),e.set(Gt.QueryList,i.Y),e.set(Gt.TemplateRef,i.jb),e.set(Gt.CodegenComponentFactoryResolver,i.yb),e.set(Gt.ComponentFactoryResolver,i.p),e.set(Gt.ComponentFactory,i.o),e.set(Gt.ComponentRef,i.q),e.set(Gt.NgModuleFactory,i.N),e.set(Gt.createModuleFactory,i.Qb),e.set(Gt.moduleDef,i.gc),e.set(Gt.moduleProviderDef,i.hc),e.set(Gt.RegisterModuleFactoryFn,i.rc),e.set(Gt.Injector,i.G),e.set(Gt.ViewEncapsulation,i.pb),e.set(Gt.ChangeDetectionStrategy,i.j),e.set(Gt.SecurityContext,i.db),e.set(Gt.LOCALE_ID,i.K),e.set(Gt.TRANSLATIONS_FORMAT,i.ib),e.set(Gt.inlineInterpolate,i.ac),e.set(Gt.interpolate,i.bc),e.set(Gt.EMPTY_ARRAY,i.Ab),e.set(Gt.EMPTY_MAP,i.Bb),e.set(Gt.viewDef,i.yc),e.set(Gt.elementDef,i.Tb),e.set(Gt.anchorDef,i.Jb),e.set(Gt.textDef,i.vc),e.set(Gt.directiveDef,i.Sb),e.set(Gt.providerDef,i.oc),e.set(Gt.queryDef,i.pc),e.set(Gt.pureArrayDef,i.kc),e.set(Gt.pureObjectDef,i.mc),e.set(Gt.purePipeDef,i.nc),e.set(Gt.pipeDef,i.lc),e.set(Gt.nodeValue,i.jc),e.set(Gt.ngContentDef,i.ic),e.set(Gt.unwrapValue,i.wc),e.set(Gt.createRendererType2,i.Rb),e.set(Gt.createComponentFactory,i.Pb),e}();const Kp=new i.F("ErrorCollector"),Xp={provide:i.U,useValue:"/"},Yp={get(e){throw new Error(`No ResourceLoader implementation has been provided. Can't read the url "${e}"`)}},Zp=new i.F("HtmlParser");const Jp=new class{constructor(){this.reflectionCapabilities=new i.Eb}componentModuleUrl(e,t){const n=t.moduleId;if("string"==typeof n){return function(e){const t=Hp(e);return t&&t[zp.Scheme]||""}(n)?n:`package:${n}`}if(null!=n)throw cn(`moduleId should be a string in "${Object(i.uc)(e)}". See https://goo.gl/wIDDiL for more information.\nIf you're using Webpack you should inline the template and the styles, see https://goo.gl/X2J8zc.`);return`./${Object(i.uc)(e)}`}parameters(e){return this.reflectionCapabilities.parameters(e)}tryAnnotations(e){return this.annotations(e)}annotations(e){return this.reflectionCapabilities.annotations(e)}shallowAnnotations(e){throw new Error("Not supported in JIT mode")}propMetadata(e){return this.reflectionCapabilities.propMetadata(e)}hasLifecycleHook(e,t){return this.reflectionCapabilities.hasLifecycleHook(e,t)}guards(e){return this.reflectionCapabilities.guards(e)}resolveExternalReference(e){return Qp.get(e)||e.runtime}},ef=Yp,tf=new Hh,nf=(i.zb,new i.S,new i.C(i.hb),new i.S,new i.C(i.ib),i.zb,i.zb,i.zb,i.S,i.S,i.l,i.G,i.zb,i.U,[{provide:i.l,useFactory:()=>new i.l}]);function rf(e){for(let t=e.length-1;t>=0;t--)if(void 0!==e[t])return e[t]}function sf(e){const t=[];return e.forEach(e=>e&&t.push(...e)),t}const of=Object(i.qb)(i.wb,"coreDynamic",[{provide:i.i,useValue:{},multi:!0},{provide:i.m,useClass:class{constructor(e){const t={useJit:!0,defaultEncapsulation:i.pb.Emulated,missingTranslation:i.L.Warning};this._defaultOptions=[t,...e]}createCompiler(e=[]){const t={useJit:rf((n=this._defaultOptions.concat(e)).map(e=>e.useJit)),defaultEncapsulation:rf(n.map(e=>e.defaultEncapsulation)),providers:sf(n.map(e=>e.providers)),missingTranslation:rf(n.map(e=>e.missingTranslation)),preserveWhitespaces:rf(n.map(e=>
1e.preserveWhitespaces))};var n;return i.G.create([nf,{provide:Hh,useFactory:()=>new Hh({useJit:t.useJit,jitDevMode:Object(i.vb)(),defaultEncapsulation:t.defaultEncapsulation,missingTranslation:t.missingTranslation,preserveWhitespaces:t.preserveWhitespaces}),deps:[]},t.providers]).get(i.l)}},deps:[i.i]}]);class af extends wh{get(e){let t,n;const r=new Promise((e,r)=>{t=e,n=r}),i=new XMLHttpRequest;return i.open("GET",e,!0),i.responseType="text",i.onload=function(){const r=i.response||i.responseText;let s=1223===i.status?204:i.status;0===s&&(s=r?200:0),200<=s&&s<=300?t(r):n(`Failed to load ${e}`)},i.onerror=function(){n(`Failed to load ${e}`)},i.send(),r}}af.\u0275fac=function(e){return lf(e||af)},af.\u0275prov=i.Ic({token:af,factory:af.\u0275fac});const lf=i.Tc(af),cf={providers:[{provide:wh,useClass:af,deps:[]}]},uf=Gp.q,hf=[Wp.f,{provide:i.i,useValue:cf,multi:!0},{provide:i.V,useValue:uf}];new i.mb("11.2.14");const df=Object(i.qb)(of,"browserDynamic",hf);var pf=n("mrSG"),ff=n("tyNb"),mf=n("3Pt+"),gf=n("TEn/"),vf=n("tk/3"),yf=n("sYmb");class bf{constructor(e,t="/assets/i18n/",n=".json"){this.http=e,this.prefix=t,this.suffix=n}getTranslation(e){return this.http.get(`${this.prefix}${e}${this.suffix}`)}}var wf=n("9ans"),_f=n("sRcL"),xf=n("AytR"),Cf=n("XNiG"),Sf=n("VRyK"),Ef=n("xgIS"),Af=n("Cfvw"),kf=n("HDdC"),If=n("D0XW"),Tf=n("DH7j");function Of(e){return!Object(Tf.a)(e)&&e-parseFloat(e)+1>=0}function Df(e=0,t=If.a){return(!Of(e)||e<0)&&(e=0),t&&"function"==typeof t.schedule||(t=If.a),new kf.a(n=>(n.add(t.schedule(Pf,e,{subscriber:n,counter:0,period:e})),n))}function Pf(e){const{subscriber:t,counter:n,period:r}=e;t.next(n),this.schedule({subscriber:t,counter:n+1,period:r},r)}var Mf=n("z+Ro");function Nf(e){const{index:t,period:n,subscriber:r}=e;if(r.next(t),!r.closed){if(-1===n)return r.complete();e.index=t+1,this.schedule(e,n)}}var Rf=n("LRne"),Lf=n("7o/Q");class jf{constructor(e,t,n,r){this.bufferTimeSpan=e,this.bufferCreationInterval=t,this.maxBufferSize=n,this.scheduler=r}call(e,t){return t.subscribe(new Bf(e,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))}}class Ff{constructor(){this.buffer=[]}}class Bf extends Lf.a{constructor(e,t,n,r,i){super(e),this.bufferTimeSpan=t,this.bufferCreationInterval=n,this.maxBufferSize=r,this.scheduler=i,this.contexts=[];const s=this.openContext();if(this.timespanOnly=null==n||n<0,this.timespanOnly){const e={subscriber:this,context:s,bufferTimeSpan:t};this.add(s.closeAction=i.schedule($f,t,e))}else{const e={subscriber:this,context:s},r={bufferTimeSpan:t,bufferCreationInterval:n,subscriber:this,scheduler:i};this.add(s.closeAction=i.schedule(Uf,t,e)),this.add(i.schedule(Vf,n,r))}}_next(e){const t=this.contexts,n=t.length;let r;for(let i=0;i<n;i++){const n=t[i],s=n.buffer;s.push(e),s.length==this.maxBufferSize&&(r=n)}r&&this.onBufferFull(r)}_error(e){this.contexts.length=0,super._error(e)}_complete(){const{contexts:e,destination:t}=this;for(;e.length>0;){const n=e.shift();t.next(n.buffer)}super._complete()}_unsubscribe(){this.contexts=null}onBufferFull(e){this.closeContext(e);const t=e.closeAction;if(t.unsubscribe(),this.remove(t),!this.closed&&this.timespanOnly){e=this.openContext();const t=this.bufferTimeSpan,n={subscriber:this,context:e,bufferTimeSpan:t};this.add(e.closeAction=this.scheduler.schedule($f,t,n))}}openContext(){const e=new Ff;return this.contexts.push(e),e}closeContext(e){this.destination.next(e.buffer);const t=this.contexts;(t?t.indexOf(e):-1)>=0&&t.splice(t.indexOf(e),1)}}function $f(e){const t=e.subscriber,n=e.context;n&&t.closeContext(n),t.closed||(e.context=t.openContext(),e.context.closeAction=this.schedule(e,e.bufferTimeSpan))}function Vf(e){const{bufferCreationInterval:t,bufferTimeSpan:n,subscriber:r,scheduler:i}=e,s=r.openContext(),o=this;r.closed||(r.add(s.closeAction=i.schedule(Uf,n,{subscriber:r,context:s})),o.schedule(e,t))}function Uf(e){const{subscriber:t,context:n}=e;t.closeContext(n)}var zf=n("pLZG"),Hf=n("vkgz"),qf=n("eIep"),Gf=n("zx2A");class Wf{constructor(e){this.notifier=e}call(e,t){const n=new Qf(e),r=Object(Gf.c)(this.notifier,new Gf.a(n));return r&&!n.seenValue?(n.add(r),t.subscribe(n)):n}}class Qf extends Gf.b{constructor(e){super(e),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}var Kf=n("nYR2"),Xf=n("/uUt"),Yf=n("lJxs");class Zf{}class Jf{constructor(e,t){this._ngZone=t,this.timerStart$=new Cf.a,this.idleDetected$=new Cf.a,this.timeout$=new Cf.a,this.idleMillisec=6e5,this.idleSensitivityMillisec=1e3,this.timeout=300,this.pingMillisec=12e4,e&&this.setConfig(e)}startWatching(){this.activityEvents$||(this.activityEvents$=Object(Sf.a)(Object(Ef.a)(window,"mousemove"),Object(Ef.a)(window,"resize"),Object(Ef.a)(document,"keydown"))),this.idle$=Object(Af.a)(this.activityEvents$),this.idleSubscription&&this.idleSubscription.unsubscribe(),this.idleSubscription=this.idle$.pipe(function(e){let t=arguments.length,n=If.a;Object(Mf.a)(arguments[arguments.length-1])&&(n=arguments[arguments.length-1],t--);let r=null;t>=2&&(r=arguments[1]);let i=Number.POSITIVE_INFINITY;return t>=3&&(i=arguments[2]),function(t){return t.lift(new jf(e,r,i,n))}}(this.idleSensitivityMillisec),Object(zf.a)(e=>!e.length&&!this.isIdleDetected&&!this.isInactivityTimer),Object(Hf.a)(()=>{this.isIdleDetected=!0,this.idleDetected$.next(!0)}),Object(qf.a)(()=>this._ngZone.runOutsideAngular(()=>{return Df(1e3).pipe((e=Object(Sf.a)(this.activityEvents$,function(e=0,t,n){let r=-1;return Of(t)?r=Number(t)<1?1:Number(t):Object(Mf.a)(t)&&(n=t),Object(Mf.a)(n)||(n=If.a),new kf.a(t=>{const i=Of(e)?e:+e-n.now();return n.schedule(Nf,i,{index:0,period:r,subscriber:t})})}(this.idleMillisec).pipe(Object(Hf.a)(()=>{this.isInactivityTimer=!0,this.timerStart$.next(!0)}))),t=>t.lift(new Wf(e))),Object(Kf.a)(()=>{this.isIdleDetected=!1,this.idleDetected$.next(!1)}));var e}))).subscribe(),this.setupTimer(this.timeout),this.setupPing(this.pingMillisec)}stopWatching(){this.stopTimer(),this.idleSubscription&&this.idleSubscription.unsubscribe()}stopTimer(){this.isInactivityTimer=!1,this.timerStart$.next(!1)}resetTimer(){this.stopTimer(),this.isTimeout=!1}onTimerStart(){return this.timerStart$.pipe(Object(Xf.a)(),Object(qf.a)(e=>e?this.timer$:Object(Rf.a)(null)))}onIdleStatusChanged(){return this.idleDetected$.asObservable()}onTimeout(){return this.timeout$.pipe(Object(zf.a)(e=>!!e),Object(Hf.a)(()=>this.isTimeout=!0),Object(Yf.a)(()=>!0))}getConfigValue(){return{idle:this.idleMillisec/1e3,idleSensitivity:this.idleSensitivityMillisec/1e3,timeout:this.timeout,ping:this.pingMillisec/1e3}}setConfigValues(e){!this.idleSubscription||this.idleSubscription.closed?this.setConfig(e):console.error("Call stopWatching() before set config values")}setConfig(e){e.idle&&(this.idleMillisec=1e3*e.idle),e.ping&&(this.pingMillisec=1e3*e.ping),e.idleSensitivity&&(this.idleSensitivityMillisec=1e3*e.idleSensitivity),e.timeout&&(this.timeout=e.timeout)}setCustomActivityEvents(e){!this.idleSubscription||this.idleSubscription.closed?this.activityEvents$=e:console.error("Call stopWatching() before set custom activity events")}setupTimer(e){this._ngZone.runOutsideAngular(()=>{this.timer$=Object(Rf.a)(()=>new Date).pipe(Object(Yf.a)(e=>e()),Object(qf.a)(t=>Df(1e3).pipe(Object(Yf.a)(()=>Math.round(((new Date).valueOf()-t.valueOf())/1e3)),Object(Hf.a)(t=>{t>=e&&this.timeout$.next(!0)}))))})}setupPing(e){this.ping$=Df(e).pipe(Object(zf.a)(()=>!this.isTimeout))}}Jf.\u0275fac=function(e){return new(e||Jf)(i.Vc(Zf,8),i.Vc(i.R))},Jf.\u0275prov=i.Ic({token:Jf,factory:Jf.\u0275fac,providedIn:"root"}),Jf.ctorParameters=()=>[{type:Zf,decorators:[{type:i.S}]},{type:i.R}],Jf.ngInjectableDef=Object(i.rb)({factory:function(){return new Jf(Object(i.ub)(Zf,8),Object(i.ub)(i.R))},token:Jf,providedIn:"root"});class em{static forRoot(e){return{ngModule:em,providers:[{provide:Zf,useValue:e}]}}}em.\u0275fac=function(e){return new(e||em)},em.\u0275mod=i.Kc({type:em}),em.\u0275inj=i.Jc({imports:[[]]}),xf.a.production&&Object(i.sb)();let tm=class{constructor(e,t,n,r,i,s,o,a,l){this.auth=e,this._platform=t,this._translate=n,this.router=r,this.userIdle=i,this.ajax=s,this.popoverCtrl=o,this.toastController=a,this.route=l,this.IDLE_TIMEOUT=1800,this.IDLE_PING_INTERVAL=1800,this.IDLE_TIME=1740,this.initializeApp()}initializeApp(){this._platform.ready().then(()=>{this.setupIdleTimer(),this.auth.getDeviceId()})}setupIdleTimer(){this.userIdle.setConfigValues({idle:this.IDLE_TIME,timeout:60,ping:15}),this.userIdle.startWatching(),this.userIdle.onTimerStart().subscribe(()=>{}),this.userIdle.onTimeout().subscribe(()=>{this.handleIdleTimeout()}),this.setupActivityListeners()}handleIdleTimeout(){this.auth.isLogin()&&(this.ajax.showToast("Your session has expired due to inactivity. Please re-login.",5e3,"danger"),this.clearSessionData(),this.auth.logOut()),this.userIdle.resetTimer()}clearSessionData(){sessionStorage.removeItem("getAllStatistic"),sessionStorage.removeItem("getTotalUsers")}setupActivityListeners(){["click","mousemove","keydown","scroll","touchstart"].forEach(e
1=>{document.addEventListener(e,()=>{this.userIdle.resetTimer()})})}ngOnInit(){this.auth.getDeviceId()}};tm.ctorParameters=()=>[{type:wf.a},{type:gf.j},{type:yf.c},{type:ff.h},{type:Jf},{type:_f.a},{type:gf.k},{type:gf.l},{type:ff.a}],tm=Object(pf.c)([Object(i.n)({selector:"app-root",template:'<ion-app id="zoom_header">\n\n\n    <app-header *ngIf="auth.isLogin()"></app-header>\n    <app-dl-header *ngIf="!auth.isLogin()"></app-dl-header>\n\n    <div id="zoom_content">\n    </div>\n    \n</ion-app>\n',styles:["ion-item:hover {\n  --background: #e8f0fe;\n  box-shadow: 0px 0px 0px 0px #e8f0fe;\n  --border-radius: 0px 50px 50px 0px;\n  --color: var(--ion-color-primary);\n}\n\nion-menu {\n  --border: 0px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13)))) !important;\n  --side-min-width: 240px;\n  --side-max-width: 240px;\n}\n\nion-menu ion-content {\n  --box-shadow: 0 7px 14px 0 rgb(59 65 94 / 10%), 0 3px 6px 0 rgb(0 0 0 / 7%);\n}\n\nion-menu ion-menu-toggle:hover {\n  --background: #e8f0fe;\n}\n\nion-menu ion-item {\n  margin-top: 5px;\n  margin-bottom: 5px;\n  margin-right: 5px;\n}\n\nion-menu ion-item ion-label {\n  white-space: unset;\n}\n\nion-menu ion-icon[slot=start] {\n  margin-right: unset;\n  margin-inline-end: 15px;\n}\n\n/*\nion-content {\n    --padding-bottom: 10px;\n    --padding-end: 10px;\n    --padding-start: 20px;\n    --padding-top: 20px;\n}\n*/\n\nion-title {\n  cursor: pointer;\n}\n\nselect {\n  background-color: #f0f2f5;\n  border: 0px !important;\n}\n\nhr {\n  background-color: #0000001f;\n  margin-left: 15px;\n  margin-right: 15px;\n}\n\nselect {\n  text-decoration: none !important;\n  outline: none !important;\n}\n\nion-select {\n  padding-top: 0px !important;\n}\n\n@media only screen and (min-width: 425px) {\n  ion-select {\n    padding-top: 0px !important;\n  }\n}\n\n@media only screen and (min-width: 768px) {\n  ion-select {\n    padding-top: 2px !important;\n  }\n}\n\n@media only screen and (min-width: 992px) {\n  ion-select {\n    padding-top: 6px !important;\n  }\n}\n\nion-button {\n  --padding-start: 15px;\n  --padding-end: 15px;\n  --padding-top: 11px !important;\n  --padding-bottom: 8px;\n  font-size: 11px;\n  --background-activated: var(--ion-color-primary-contrast, #ffffff84);\n  --background-hover: var(--ion-color-primary-contrast, #ffffff84);\n  --background-focused: transparent;\n  --background-activated-opacity: .50!important;\n  --background-focused-opacity: 0.50;\n  --background-hover-opacity: .50;\n  --box-shadow: none!important;\n}\n\n.lang_icon {\n  pointer-events: none !important;\n  text-decoration: none !important;\n}\n\nion-select {\n  --padding-start: 0px !important;\n}\n\nion-text ion-button {\n  --padding-top: 15px !important;\n  --margin-top: -10px !important;\n}\n\n.verticalLine {\n  width: 0;\n  border-right: 1px solid #bbbeca;\n  height: 2.375rem;\n  margin: 0px 0px 5px 5px !important;\n}\n\n@media only screen and (min-width: 425px) {\n  .skipcontent {\n    display: flex;\n    justify-content: center;\n  }\n}\n\n@media only screen and (min-width: 768px) {\n  .skipcontent {\n    display: flex;\n    justify-content: center;\n  }\n}\n\n@media only screen and (min-width: 992px) {\n  .skipcontent {\n    float: right;\n    display: -webkit-inline-box;\n    margin-top: -6px;\n  }\n}\n\n@media only screen and (min-width: 425px) {\n  .skipandgoiflag {\n    display: flex;\n    justify-content: center;\n  }\n}\n\n@media only screen and (min-width: 768px) {\n  .skipandgoiflag {\n    display: flex;\n    justify-content: center;\n  }\n}\n\n@media only screen and (min-width: 992px) {\n  .skipandgoiflag {\n    display: -webkit-inline-box;\n    margin-top: -6px;\n  }\n}\n\nion-menu-toggle:hover ion-label {\n  color: #000;\n}\n\nion-menu-toggle:hover ion-icon {\n  color: #000;\n}\n\nion-select:focus {\n  background-color: rgba(180, 180, 180, 0.22);\n}"]})],tm);let nm=class{constructor(e,t){this.router=e,this.auth=t}canActivate(e){const t=e.data.url;if(this.auth.isLogin()){if(this.auth.isVerified()||null==t)return!0;this.router.navigate([t])}else this.router.navigate(["/"])}};nm.ctorParameters=()=>[{type:ff.h},{type:wf.a}],nm=Object(pf.c)([Object(i.E)({providedIn:"root"})],nm);const rm=window.location.href.split("/");let im="web/app";"app"===rm[4]&&rm[5]&&(im=rm[6]?"web/app/:abc/:xyz":"web/app/:abc"),"app"===rm[3]&&rm[4]&&(im
1=rm[5]?"web/app/:abc/:xyz":"web/app/:abc");let sm="web/about-app";xf.a.supportedLanguagesId.includes(rm[5])&&(sm="web/about-app/:lang");const om=[{path:"",redirectTo:"web/dashboard",pathMatch:"full"},{path:"web",loadChildren:()=>n.e(8).then(n.bind(null,"F4UR")).then(e=>e.LoginPageModule)},{path:"web/login",loadChildren:()=>n.e(8).then(n.bind(null,"F4UR")).then(e=>e.LoginPageModule)},{path:"web/signup",loadChildren:()=>n.e(174).then(n.bind(null,"UUSl")).then(e=>e.SignupPageModule)},{path:"web/logout",loadChildren:()=>n.e(159).then(n.bind(null,"4rJG")).then(e=>e.LogoutPageModule)},{path:"web/trueid/:token",loadChildren:()=>n.e(176).then(n.bind(null,"zRTw")).then(e=>e.TrueidPageModule)},{path:im,loadChildren:()=>n.e(126).then(n.bind(null,"nb9J")).then(e=>e.AppPageModule)},{path:"web/dashboard",loadChildren:()=>Promise.all([n.e(0),n.e(19)]).then(n.bind(null,"/2RN")).then(e=>e.DashboardPageModule)},{path:"web/home",loadChildren:()=>Promise.all([n.e(3),n.e(0),n.e(150)]).then(n.bind(null,"99Un")).then(e=>e.HomePageModule),canActivate:[nm]},{path:"web/issued-documents",loadChildren:()=>Promise.all([n.e(3),n.e(0),n.e(152)]).then(n.bind(null,"xDMY")).then(e=>e.IssuedDocumentsPageModule),canActivate:[nm]},{path:"web/drive",loadChildren:()=>Promise.all([n.e(0),n.e(137)]).then(n.bind(null,"wKgE")).then(e=>e.DrivePageModule),canActivate:[nm]},{path:"web/activities",loadChildren:()=>n.e(125).then(n.bind(null,"+rdI")).then(e=>e.ActivitiesPageModule),canActivate:[nm]},{path:"web/services",loadChildren:()=>n.e(22).then(n.bind(null,"rxGd")).then(e=>e.DigilockerServicesPageModule),canActivate:[nm]},{path:"web/verifiable-credentials",loadChildren:()=>n.e(177).then(n.bind(null,"47Pl")).then(e=>e.VerifiableCredentialsPageModule)},{path:"web/profile",loadChildren:()=>Promise.all([n.e(0),n.e(165)]).then(n.bind(null,"723k")).then(e=>e.ProfilePageModule),canActivate:[nm]},{path:"web/settings",loadChildren:()=>Promise.all([n.e(0),n.e(173)]).then(n.bind(null,"yPrK")).then(e=>e.SettingsPageModule),canActivate:[nm]},{path:"web/update-mobile",loadChildren:()=>Promise.all([n.e(0),n.e(96)]).then(n.bind(null,"O3Cm")).then(e=>e.UpdateMobilePageModule),canActivate:[nm]},{path:"web/update-email",loadChildren:()=>Promise.all([n.e(0),n.e(95)]).then(n.bind(null,"i1RJ")).then(e=>e.UpdateEmailPageModule),canActivate:[nm]},{path:"web/update-pin",loadChildren:()=>Promise.all([n.e(0),n.e(97)]).then(n.bind(null,"8tQG")).then(e=>e.UpdatePinPageModule),canActivate:[nm]},{path:"web/update-profile",loadChildren:()=>Promise.all([n.e(0),n.e(98)]).then(n.bind(null,"bRbY")).then(e=>e.UpdateProfilePageModule),canActivate:[nm]},{path:"web/update-address",loadChildren:()=>n.e(94).then(n.bind(null,"KPO1")).then(e=>e.UpdateAddressPageModule)},{path:"web/verify-email",loadChildren:()=>Promise.all([n.e(0),n.e(102)]).then(n.bind(null,"qL6V")).then(e=>e.VerifyEmailPageModule),canActivate:[nm]},{path:"web/aadhaar",loadChildren:()=>n.e(7).then(n.bind(null,"K+8q")).then(e=>e.UpdateAadhaarPageModule),canActivate:[nm]},{path:"web/user-name",loadChildren:()=>Promise.all([n.e(0),n.e(100)]).then(n.bind(null,"dA3i")).then(e=>e.UserNamePageModule)},{path:"web/view-nominee",loadChildren:()=>n.e(104).then(n.bind(null,"uGTV")).then(e=>e.ViewNomineePageModule),canActivate:[nm],data:{url:"/aadhaar"}},{path:"viewnominee-details",loadChildren:()=>Promise.all([n.e(0),n.e(105)]).then(n.bind(null,"J8tS")).then(e=>e.ViewnomineeDetailsPageModule)},{path:"web/abha",loadChildren:()=>n.e(106).then(n.bind(null,"G69j")).then(e=>e.AbhaPageModule),canActivate:[nm]},{path:"web/abha-login",loadChildren:()=>Promise.all([n.e(0),n.e(79)]).then(n.bind(null,"f8qg")).then(e=>e.AbhaLoginPageModule)},{path:"web/abha-otp",loadChildren:()=>Promise.all([n.e(0),n.e(80)]).then(n.bind(null,"wjVY")).then(e=>e.AbhaOtpPageModule)},{path:"web/abha-fetch",loadChildren:()=>Promise.all([n.e(0),n.e(78)]).then(n.bind(null,"9ewi")).then(e=>e.AbhaFetchPageModule)},{path:"web/abha-card",loadChildren:()=>Promise.all([n.e(0),n.e(77)]).then(n.bind(null,"gIAg")).then(e=>e.AbhaCardPageModule)},{path:"hip-type",loadChildren:()=>Promise.all([n.e(0),n.e(83)]).then(n.bind(null,"e8AE")).then(e=>e.hipTypePageModule)},{path:"web/upload-file",loadChildren:()=>Promise.all([n.e(0),n.e(99)]).then(n.bind(null,"T3nr")).then(e=>e.UploadFilePageModule)},{path:"web/delete-file",loadChildren:()=>Promise.all([n.e(0),n.e(82)]).then(n.bind(null,"yBH0")).then(e=>e.DeleteFilePageModule)},{path:"web/move-file",loadChildren:()=>Promise.all([n.e(0),n.e(89)]).then(n.bind(null,"GULn")).then(e=>e.MoveFilePageModule)},{path:"web/multiple-files-download",loadChildren:()=>Promise.all([n.e(0),n.e(90)]).then(n.bind(null,"HpF3")).then(e=>e.MultipleFilesDownloadPageModule)},{path:"web/crop-img",loadChildren:()=>Promise.all([n.e(0),n.e(81)]).then(n.bind(null,"7PWo")).then(e=>e.CropImgPageModule)},{path:"ocr-alert",loadChildren:()=>Promise.all([n.e(2),n.e(91)]).then(n.bind(null,"mAGu")).then(e=>e.OcrAlertPageModule)},{path:"ocr-instructions",loadChildren:()=>Promise.all([n.e(0),n.e(25)]).then(n.bind(null,"IJIn")).then(e=>e.OcrInstructionsPageModule)},{path:"web/partners",redirectTo:"web/partners/introductions",pathMatch:"full"},{path:"web/partners",loadChildren:()=>n.e(163).then(n.bind(null,"SHsC")).then(e=>e.PartnersPageModule)},{path:"web/ecosystem",loadChildren:()=>n.e(145).then(n.bind(null,"3o8/")).then(e=>e.DigilockerPageModule)},{path:"web/technology",loadChildren:()=>n.e(149).then(n.bind(null,"Vgvo")).then(e=>e.TechnologyPageModule)},{path:"web/organizational-model",loadChildren:()=>n.e(147).then(n.bind(null,"0+6V")).then(e=>e.OrganizationalModelPageModule)},{path:"web/implementation-model",loadChildren:()=>n.e(146).then(n.bind(null,"xNPe")).then(e=>e.ImplementationModelPageModule)},{path:"web/architecture",loadChildren:()=>n.e(140).then(n.bind(null,"0GTs")).then(e=>e.ArchitecturePageModule)},{path:"web/security-architecture",loadChildren:()=>n.e(148).then(n.bind(null,"N3e1")).then(e=>e.SecurityArchitecturePageModule)},{path:"web/development-roadmap",loadChildren:()=>n.e(143).then(n.bind(null,"LQIM")).then(e=>e.DevelopmentRoadmapPageModule)},{path:"web/case-study",loadChildren:()=>n.e(141).then(n.bind(null,"ov6I")).then(e=>e.CaseStudyPageModule)},{path:"web/digilocker-interface",loadChildren:()=>n.e(144).then(n.bind(null,"9mtV")).then(e=>e.DigilockerInterfacePageModule)},{path:"web/data-exchange",loadChildren:()=>n.e(142).then(n.bind(null,"L8IW")).then(e=>e.DataExchangePageModule)},{path:"integrate-partner",loadChildren:()=>n.e(85).then(n.bind(null,"0T9Y")).then(e=>e.IntegratePartnerPageModule)},{path:"web/statistics",loadChildren:()=>n.e(10).then(n.bind(null,"6sZJ")).then(e=>e.StatisticsV2PageModule)},{path:"web/view-graph",loadChildren:()=>Promise.all([n.e(4),n.e(103)]).then(n.bind(null,"o5WJ")).then(e=>e.ViewGraphPageModule)},{path:"web/issued-docs-graph",loadChildren:()=>Promise.all([n.e(4),n.e(86)]).then(n.bind(null,"2TCR")).then(e=>e.IssuedDocsGraphPageModule)},{path:"issued-documents-details",loadChildren:()=>Promise.all([n.e(0),n.e(87)]).then(n.bind(null,"4+CW")).then(e=>e.IssuedDocumentsDetailsPageModule)},{path:"web/most-popular",loadChildren:()=>n.e(160).then(n.bind(null,"Gwh+")).then(e=>e.MostPopularPageModule)},{path:"web/certifications",loadChildren:()=>n.e(128).then(n.bind(null,"w+hq")).then(e=>e.CertificationsPageModule)},{path:"web/webinars",loadChildren:()=>Promise.all([n.e(0),n.e(179)]).then(n.bind(null,"nVnn")).then(e=>e.WebinarsPageModule)},{path:"web/wb-dashboard",loadChildren:()=>n.e(178).then(n.bind(null,"DpRE")).then(e=>e.WbDashboardPageModule)},{path:"web/cbse",loadChildren:()=>n.e(127).then(n.bind(null,"/sUH")).then(e=>e.CbsePageModule)},{path:"web/about",loadChildren:()=>
1n.e(6).then(n.bind(null,"UoYK")).then(e=>e.AboutPageModule)},{path:sm,loadChildren:()=>n.e(6).then(n.bind(null,"UoYK")).then(e=>e.AboutPageModule)},{path:"web/sitemap",loadChildren:()=>n.e(175).then(n.bind(null,"MsDl")).then(e=>e.SitemapPageModule)},{path:"web/installapp",loadChildren:()=>n.e(151).then(n.bind(null,"JBIC")).then(e=>e.InstallappPageModule)},{path:"how-to-signup",loadChildren:()=>n.e(84).then(n.bind(null,"LNS2")).then(e=>e.HowToSignupPageModule)},{path:"web/popover",loadChildren:()=>Promise.all([n.e(0),n.e(92)]).then(n.bind(null,"1peQ")).then(e=>e.PopoverPageModule)},{path:"web/welcome",loadChildren:()=>Promise.all([n.e(0),n.e(18)]).then(n.bind(null,"jaxw")).then(e=>e.WelcomePageModule)},{path:"join-vc",loadChildren:()=>Promise.all([n.e(0),n.e(88)]).then(n.bind(null,"jGgY")).then(e=>e.JoinVcPageModule)},{path:"vc-text",loadChildren:()=>Promise.all([n.e(0),n.e(101)]).then(n.bind(null,"QokR")).then(e=>e.VcTextPageModule)},{path:"recommendation",loadChildren:()=>Promise.all([n.e(0),n.e(93)]).then(n.bind(null,"jtRe")).then(e=>e.RecommendationPageModule)},{path:"web/share-documents/outbox",loadChildren:()=>Promise.all([n.e(0),n.e(24)]).then(n.bind(null,"edtL")).then(e=>e.OutboxPageModule)},{path:"web/share-documents/inbox",loadChildren:()=>Promise.all([n.e(0),n.e(23)]).then(n.bind(null,"0OAC")).then(e=>e.InboxPageModule)},{path:"web/404",loadChildren:()=>n.e(9).then(n.bind(null,"/Cw/")).then(e=>e.PageNotFoundPageModule)},{path:"**",loadChildren:()=>n.e(9).then(n.bind(null,"/Cw/")).then(e=>e.PageNotFoundPageModule)}];let am=class{};am=Object(pf.c)([Object(i.M)({imports:[ff.j.forRoot(om,{preloadingStrategy:ff.f})],exports:[ff.j]})],am);class lm{}const cm="*";function um(e,t=null){return{type:2,steps:e,options:t}}function hm(e){return{type:6,styles:e,offset:null}}function dm(e){Promise.resolve(null).then(e)}class pm{constructor(e=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){dm(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class fm{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,n=0,r=0;const i=this.players.length;0==i?dm(()=>this._onFinish()):this.players.forEach(e=>{e.onDone(()=>{++t==i&&this._onFinish()}),e.onDestroy(()=>{++n==i&&this._onDestroy()}),e.onStart(()=>{++r==i&&this._onStart()})}),this.totalTime=this.players.reduce((e,t)=>Math.max(e,t.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEac
1h(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const t=e*this.totalTime;this.players.forEach(e=>{const n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)})}getPosition(){const e=this.players.reduce((e,t)=>null===e||t.totalTime>e.totalTime?t:e,null);return null!=e?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}function mm(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function gm(e){switch(e.length){case 0:return new pm;case 1:return e[0];default:return new fm(e)}}function vm(e,t,n,r,i={},s={}){const o=[],a=[];let l=-1,c=null;if(r.forEach(e=>{const n=e.offset,r=n==l,u=r&&c||{};Object.keys(e).forEach(n=>{let r=n,a=e[n];if("offset"!==n)switch(r=t.normalizePropertyName(r,o),a){case"!":a=i[n];break;case cm:a=s[n];break;default:a=t.normalizeStyleValue(n,r,a,o)}u[r]=a}),r||a.push(u),c=u,l=n}),o.length){const e="\n - ";throw new Error(`Unable to animate due to the following errors:${e}${o.join(e)}`)}return a}function ym(e,t,n,r){switch(t){case"start":e.onStart(()=>r(n&&bm(n,"start",e)));break;case"done":e.onDone(()=>r(n&&bm(n,"done",e)));break;case"destroy":e.onDestroy(()=>r(n&&bm(n,"destroy",e)))}}function bm(e,t,n){const r=n.totalTime,i=!!n.disabled,s=wm(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==r?e.totalTime:r,i),o=e._data;return null!=o&&(s._data=o),s}function wm(e,t,n,r,i="",s=0,o){return{element:e,triggerName:t,fromState:n,toState:r,phaseName:i,totalTime:s,disabled:!!o}}function _m(e,t,n){let r;return e instanceof Map?(r=e.get(t),r||e.set(t,r=n)):(r=e[t],r||(r=e[t]=n)),r}function xm(e){const t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}let Cm=(e,t)=>!1;let Sm=(e,t)=>!1;let Em=(e,t,n)=>[];const Am=mm();(Am||"undefined"!=typeof Element)&&(Cm=(e,t)=>e.contains(t),Sm=(()=>{if(Am||Element.prototype.matches)return(e,t)=>e.matches(t);{const e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?(e,n)=>t.apply(e,[n]):Sm}})(),Em=(e,t,n)=>{let r=[];if(n){const n=e.querySelectorAll(t);for(let e=0;e<n.length;e++)r.push(n[e])}else{const n=e.querySelector(t);n&&r.push(n)}return r});let km=null,Im=!1;function Tm(e){km||(km=function(){if("undefined"!=typeof document)return document.body;return null}()||{},Im=!!km.style&&"WebkitAppearance"in km.style);let t=!0;if(km.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(t=e in km.style,!t&&Im)){t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in km.style}return t}const Om=Sm,Dm=Cm,Pm=Em;function Mm(e){const t={};return Object.keys(e).forEach(n=>{const r=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[r]=e[n]}),t}
1class Nm{validateStyleProperty(e){return Tm(e)}matchesElement(e,t){return Om(e,t)}containsElement(e,t){return Dm(e,t)}query(e,t,n){return Pm(e,t,n)}computeStyle(e,t,n){return n||""}animate(e,t,n,r,i,s=[],o){return new pm(n,r)}}Nm.\u0275fac=function(e){return new(e||Nm)},Nm.\u0275prov=i.Ic({token:Nm,factory:Nm.\u0275fac});class Rm{}Rm.NOOP=new Nm;const Lm="ng-enter",jm="ng-leave",Fm="ng-trigger",Bm=".ng-trigger",$m="ng-animating",Vm=".ng-animating";function Um(e){if("number"==typeof e)return e;const t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:zm(parseFloat(t[1]),t[2])}function zm(e,t){switch(t){case"s":return 1e3*e;default:return e}}function Hm(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){const r=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;let i,s=0,o="";if("string"==typeof e){const n=e.match(r);if(null===n)return t.push(`The provided timing value "${e}" is invalid.`),{duration:0,delay:0,easing:""};i=zm(parseFloat(n[1]),n[2]);const a=n[3];null!=a&&(s=zm(parseFloat(a),n[4]));const l=n[5];l&&(o=l)}else i=e;if(!n){let n=!1,r=t.length;i<0&&(t.push("Duration values below 0 are not allowed for this animation step."),n=!0),s<0&&(t.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&t.splice(r,0,`The provided timing value "${e}" is invalid.`)}return{duration:i,delay:s,easing:o}}(e,t,n)}function qm(e,t={}){return Object.keys(e).forEach(n=>{t[n]=e[n]}),t}function Gm(e,t,n={}){if(t)for(let r in e)n[r]=e[r];else qm(e,n);return n}function Wm(e,t,n){return n?t+":"+n+";":""}function Qm(e){let t="";for(let n=0;n<e.style.length;n++){const r=e.style.item(n);t+=Wm(0,r,e.style.getPropertyValue(r))}for(const n in e.style){if(!e.style.hasOwnProperty(n)||n.startsWith("_"))continue;t+=Wm(0,n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.style[n])}e.setAttribute("style",t)}function Km(e,t,n){e.style&&(Object.keys(t).forEach(r=>{const i=rg(r);n&&!n.hasOwnProperty(r)&&(n[r]=e.style[i]),e.style[i]=t[r]}),mm()&&Qm(e))}function Xm(e,t){e.style&&(Object.keys(t).forEach(t=>{const n=rg(t);e.style[n]=""}),mm()&&Qm(e))}function Ym(e){return Array.isArray(e)?1==e.length?e[0]:um(e):e}const Zm=new RegExp("{{\\s*(.+?)\\s*}}","g");function Jm(e){let t=[];if("string"==typeof e){let n;for(;n=Zm.exec(e);)t.push(n[1]);Zm.lastIndex=0}return t}function eg(e,t,n){const r=e.toString(),i=r.replace(Zm,(e,r)=>{let i=t[r];return t.hasOwnProperty(r)||(n.push(`Please provide a value for the animation param ${r}`),i=""),i.toString()});return i==r?e:i}function tg(e){const t=[];let n=e.next();for(;!n.done;)t.push(n.value),n=e.next();return t}const ng=/-+([a-z0-9])/g;function rg(e){return e.replace(ng,(...e)=>e[1].toUpperCase())}function ig(e,t){return 0===e||0===t}function sg(e,t,n){const r=Object.keys(n);if(r.length&&t.length){let s=t[0],o=[];if(r.forEach(e=>{s.hasOwnProperty(e)||o.push(e),s[e]=n[e]}),o.length)for(var i=1;i<t.length;i++){let n=t[i];o.forEach(function(t){n[t]=ag(e,t)})}}return t}function og(e,t,n){switch(t.type){case 7:return e.visitTrigger(t,n);case 0:return e.visitState(t,n);case 1:return e.visitTransition(t,n);case 2:return e.visitSequence(t,n);case 3:return e.visitGroup(t,n);case 4:return e.visitAnimate(t,n);case 5:return e.visitKeyframes(t,n);case 6:return e.visitStyle(t,n);case 8:return e.visitReference(t,n);case 9:return e.visitAnimateChild(t,n);case 10:return e.visitAnimateRef(t,n);case 11:return e.visitQuery(t,n);case 12:return e.visitStagger(t,n);default:throw new Error(`Unable to resolve animation metadata node #${t.type}`)}}function ag(e,t){return window.getComputedStyle(e)[t]}const lg="*";function cg(e,t){const n=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(e=>function(e,t,n){if(":"==e[0]){const r=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t)<parseFloat(e);default:return t.push(`The transition alias value "${e}" is not supported`),"* => *"}}(e,n);if("function"==typeof r)return void t.push(r);e=r}const r=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push(`The provided transition expression "${e}" is not supported`),t;const i=r[1],s=r[2],o=r[3];t.push(dg(i,o));const a=i==lg&&o==lg;"<"!=s[0]||a||t.push(dg(o,i))}(e,n,t)):n.push(e),n}const ug=new Set(["true","1"]),hg=new Set(["false","0"]);function dg(e,t){const n=ug.has(e)||hg.has(e),r=ug.has(t)||hg.has(t);return(i,s)=>{let o=e==lg||e==i,a=t==lg||t==s;return!o&&n&&"boolean"==typeof i&&(o=i?ug.has(e):hg.has(e)),!a&&r&&"boolean"==typeof s&&(a=s?ug.has(t):hg.has(t)),o&&a}}const pg=":self",fg=new RegExp("s*:selfs*,?","g");function mg(e,t,n){return new gg(e).build(t,n)}class gg{constructor(e){this._driver=e}build(e,t){const n=new vg(t);return this._resetContextStyleTimingState(n),og(this,Ym(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}visitTrigger(e,t){let n=t.queryCount=0,r=t.depCount=0;const i=[],s=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach(e
1=>{if(this._resetContextStyleTimingState(t),0==e.type){const n=e,r=n.name;r.toString().split(/\s*,\s*/).forEach(e=>{n.name=e,i.push(this.visitState(n,t))}),n.name=r}else if(1==e.type){const i=this.visitTransition(e,t);n+=i.queryCount,r+=i.depCount,s.push(i)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:e.name,states:i,transitions:s,queryCount:n,depCount:r,options:null}}visitState(e,t){const n=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(n.containsDynamicStyles){const i=new Set,s=r||{};if(n.styles.forEach(e=>{if(yg(e)){const t=e;Object.keys(t).forEach(e=>{Jm(t[e]).forEach(e=>{s.hasOwnProperty(e)||i.add(e)})})}}),i.size){const n=tg(i.values());t.errors.push(`state("${e.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:e.name,style:n,options:r?{params:r}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const n=og(this,Ym(e.animation),t);return{type:1,matchers:cg(e.expr,t.errors),animation:n,queryCount:t.queryCount,depCount:t.depCount,options:bg(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(e=>og(this,e,t)),options:bg(e.options)}}visitGroup(e,t){const n=t.currentTime;let r=0;const i=e.steps.map(e=>{t.currentTime=n;const i=og(this,e,t);return r=Math.max(r,t.currentTime),i});return t.currentTime=r,{type:3,steps:i,options:bg(e.options)}}visitAnimate(e,t){const n=function(e,t){let n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e){return wg(Hm(e,t).duration,0,"")}const r=e;if(r.split(/\s+/).some(e=>"{"==e.charAt(0)&&"{"==e.charAt(1))){const e=wg(0,0,"");return e.dynamic=!0,e.strValue=r,e}return n=n||Hm(r,t),wg(n.duration,n.delay,n.easing)}(e.timings,t.errors);let r;t.currentAnimateTimings=n;let i=e.styles?e.styles:hm({});if(5==i.type)r=this.visitKeyframes(i,t);else{let i=e.styles,s=!1;if(!i){s=!0;const e={};n.easing&&(e.easing=n.easing),i=hm(e)}t.currentTime+=n.duration+n.delay;const o=this.visitStyle(i,t);o.isEmptyStep=s,r=o}return t.currentAnimateTimings=null,{type:4,timings:n,style:r,options:null}}visitStyle(e,t){const n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}_makeStyleAst(e,t){const n=[];Array.isArray(e.styles)?e.styles.forEach(e=>{"string"==typeof e?e==cm?n.push(e):t.errors.push(`The provided style string value ${e} is not allowed.`):n.push(e)}):n.push(e.styles);let r=!1,i=null;return n.forEach(e=>{if(yg(e)){const t=e,n=t.easing;if(n&&(i=n,delete t.easing),!r)for(let e in t){if(t[e].toString().indexOf("{{")>=0){r=!0;break}}}}),{type:6,styles:n,easing:i,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){const n=t.currentAnimateTimings;let r=t.currentTime,i=t.currentTime;n&&i>0&&(i-=n.duration+n.delay),e.styles.forEach(e=>{"string"!=typeof e&&Object.keys(e).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void t.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const s=t.collectedStyles[t.currentQuerySelector],o=s[n];let a=!0;o&&(i!=r&&i>=o.startTime&&r<=o.endTime&&(t.errors.push(`The CSS property "${n}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${i}ms" and "${r}ms"`),a=!1),i=o.startTime),a&&(s[n]={startTime:i,endTime:r}),t.options&&function(e,t,n){const r=t.params||{},i=Jm(e);i.length&&i.forEach(e=>{r.hasOwnProperty(e)||n.push(`Unable to resolve the local animation param ${e} in the given list of values`)})}(e[n],t.options,t.errors)})})}visitKeyframes(e,t){const n={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),n;let r=0;const i=[];let s=!1,o=!1,a=0;const l=e.steps.map(e=>{const n=this._makeStyleAst(e,t);let l=null!=n.offset?n.offset:function(e){if("string"==typeof e)return null;let t=null;if(Array.isArray(e))e.forEach(e=>{if(yg(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}});else if(yg(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}return t}(n.styles),c=0;return null!=l&&(r++,c=n.offset=l),o=o||c<0||c>1,s=s||c<a,a=c,i.push(c),n});o&&t.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),s&&t.errors.push("Please ensure that all keyframe offsets are in order");const c=e.steps.length;let u=0;r>0&&r<c?t.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==r&&(u=1/(c-1));const h=c-1,d=t.currentTime,p=t.currentAnimateTimings,f=p.duration;return l.forEach((e,r)=>{const s=u>0?r==h?1:u*r:i[r],o=s*f;
1t.currentTime=d+p.delay+o,p.duration=o,this._validateStyleAst(e,t),e.offset=s,n.styles.push(e)}),n}visitReference(e,t){return{type:8,animation:og(this,Ym(e.animation),t),options:bg(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:bg(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:bg(e.options)}}visitQuery(e,t){const n=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;const[i,s]=function(e){const t=!!e.split(/\s*,\s*/).find(e=>e==pg);t&&(e=e.replace(fg,""));return[e=e.replace(/@\*/g,Bm).replace(/@\w+/g,e=>".ng-trigger-"+e.substr(1)).replace(/:animating/g,Vm),t]}(e.selector);t.currentQuerySelector=n.length?n+" "+i:i,_m(t.collectedStyles,t.currentQuerySelector,{});const o=og(this,Ym(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:i,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:o,originalSelector:e.selector,options:bg(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");const n="full"===e.timings?{duration:0,delay:0,easing:"full"}:Hm(e.timings,t.errors,!0);return{type:12,animation:og(this,Ym(e.animation),t),timings:n,options:null}}}class vg{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function yg(e){return!Array.isArray(e)&&"object"==typeof e}function bg(e){var t;return e?(e=qm(e)).params&&(e.params=(t=e.params)?qm(t):null):e={},e}function wg(e,t,n){return{duration:e,delay:t,easing:n}}function _g(e,t,n,r,i,s,o=null,a=!1){return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:i,delay:s,totalTime:i+s,easing:o,subTimeline:a}}class xg{constructor(){this._map=new Map}consume(e){let t=this._map.get(e);return t?this._map.delete(e):t=[],t}append(e,t){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const Cg=new RegExp(":enter","g"),Sg=new RegExp(":leave","g");function Eg(e,t,n,r,i,s={},o={},a,l,c=[]){return(new Ag).buildKeyframes(e,t,n,r,i,s,o,a,l,c)}class Ag{buildKeyframes(e,t,n,r,i,s,o,a,l,c=[]){l=l||new xg;const u=new Ig(e,t,l,r,i,c,[]);u.options=a,u.currentTimeline.setStyles([s],null,u.errors,a),og(this,n,u);const h=u.timelines.filter(e=>e.containsAnimation());if(h.length&&Object.keys(o).length){const e=h[h.length-1];e.allowOnlyTimelineStyles()||e.setStyles([o],null,u.errors,a)}return h.length?h.map(e=>e.buildKeyframes()):[_g(t,[],[],[],0,0,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const n=t.subInstructions.consume(t.element);if(n){const r=t.createSubContext(e.options),i=t.currentTimeline.currentTime,s=this._visitSubInstructions(n,r,r.options);i!=s&&t.transformIntoNewTimeline(s)}t.previousNode=e}visitAnimateRef(e,t){const n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}_visitSubInstructions(e,t,n){let r=t.currentTimeline.currentTime;const i=null!=n.duration?Um(n.duration):null,s=null!=n.delay?Um(n.delay):null;return 0!==i&&e.forEach(e=>{const n=t.appendInstructionToTimeline(e,i,s);r=Math.max(r,n.duration+n.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),og(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const n=t.subContextCount;let r=t;const i=e.options;if(i&&(i.params||i.delay)&&(r=t.createSubContext(i),r.transformIntoNewTimeline(),null!=i.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=kg);const e=Um(i.delay);r.delayNextStep(e)}e.steps.length&&(e.steps.forEach(e=>og(this,e,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const n=[];let r=t.currentTimeline.currentTime;const i=e.options&&e.options.delay?Um(e.options.delay):0;e.steps.forEach(s=>{const o=t.createSubContext(e.options);
vendor: 3,340 bytes, line 1
1i&&o.delayNextStep(i),og(this,s,o),r=Math.max(r,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(e=>t.currentTimeline.mergeTimelineCollectedStyles(e)),t.transformIntoNewTimeline(r),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const n=e.strValue;return Hm(t.params?eg(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const n=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),r.snapshotCurrentStyles());const i=e.style;5==i.type?this.visitKeyframes(i,t):(t.incrementTime(n.duration),this.visitStyle(i,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const n=t.currentTimeline,r=t.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();const i=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(i):n.setStyles(e.styles,i,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const n=t.currentAnimateTimings,r=t.currentTimeline.duration,i=n.duration,s=t.createSubContext().currentTimeline;s.easing=n.easing,e.styles.forEach(e=>{const n=e.offset||0;s.forwardTime(n*i),s.setStyles(e.styles,e.easing,t.errors,t.options),s.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(s),t.transformIntoNewTimeline(r+i),t.previousNode=e}visitQuery(e,t){const n=t.currentTimeline.currentTime,r=e.options||{},i=r.delay?Um(r.delay):0;i&&(6===t.previousNode.type||0==n&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=kg);let s=n;const o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=o.length;let a=null;o.forEach((n,r)=>{t.currentQueryIndex=r;const o=t.createSubContext(e.options,n);i&&o.delayNextStep(i),n===t.element&&(a=o.currentTimeline),og(this,e.animation,o),o.currentTimeline.applyStylesToKeyframe();const l=o.currentTimeline.currentTime;s=Math.max(s,l)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),a&&(t.currentTimeline.mergeTimelineCollectedStyles(a),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const n=t.parentContext,r=t.currentTimeline,i=e.timings,s=Math.abs(i.duration),o=s*(t.currentQueryTotal-1);let a=s*t.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":a=o-a;break;case"full":a=n.currentStaggerTime}const l=t.currentTimeline;a&&l.delayNextStep(a);const c=l.currentTime;og(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=r.currentTime-c+(r.startTime-n.currentTimeline.startTime)}}const kg={};class Ig{constructor(e,t,n,r,i,s,o,a){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=s,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=kg,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new Tg(this._driver,t,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const n=e;let r=this.options;null!=n.duration&&(r.duration=Um(n.duration)),null!=n.delay&&(r.delay=Um(n.delay));const i=n.params;if(i){let e=r.params;e||(e=this.options.params={}
1),Object.keys(i).forEach(n=>{t&&e.hasOwnProperty(n)||(e[n]=eg(i[n],e,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const n=e.params={};Object.keys(t).forEach(e=>{n[e]=t[e]})}}return e}createSubContext(e=null,t,n){const r=t||this.element,i=new Ig(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(e),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(e){return this.previousNode=kg,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,n){const r={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},i=new Og(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(i),r}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,n,r,i,s){let o=[];if(r&&o.push(this.element),e.length>0){e=(e=e.replace(Cg,"."+this._enterClassName)).replace(Sg,"."+this._leaveClassName);const t=1!=n;let r=this._driver.query(this.element,e,t);0!==n&&(r=n<0?r.slice(r.length+n,r.length):r.slice(0,n)),o.push(...r)}return i||0!=o.length||s.push(`\`query("${t}")\` returned zero elements. (Use \`query("${t}", { optional: true })\` if you wish to allow this.)`),o}}class Tg{constructor(e,t,n,r){this._driver=e,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new Tg(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||cm,this._currentKeyframe[e]=cm}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,n,r){t&&(this._previousKeyframe.easing=t);const i=r&&r.params||{},s=function(e,t){const n={};let r;return e.forEach(e=>{"*"===e?(r=r||Object.keys(t),r.forEach(e=>{n[e]=cm})):Gm(e,!1,n)}),n}(e,this._globalTimelineStyles);
1Object.keys(s).forEach(e=>{const t=eg(s[e],i,n);this._pendingStyles[e]=t,this._localTimelineStyles.hasOwnProperty(e)||(this._backFill[e]=this._globalTimelineStyles.hasOwnProperty(e)?this._globalTimelineStyles[e]:cm),this._updateStyle(e,t)})}applyStylesToKeyframe(){const e=this._pendingStyles,t=Object.keys(e);0!=t.length&&(this._pendingStyles={},t.forEach(t=>{const n=e[t];this._currentKeyframe[t]=n}),Object.keys(this._localTimelineStyles).forEach(e=>{this._currentKeyframe.hasOwnProperty(e)||(this._currentKeyframe[e]=this._localTimelineStyles[e])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(e=>{const t=this._localTimelineStyles[e];this._pendingStyles[e]=t,this._updateStyle(e,t)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){Object.keys(e._styleSummary).forEach(t=>{const n=this._styleSummary[t],r=e._styleSummary[t];(!n||r.time>n.time)&&this._updateStyle(t,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,n=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((i,s)=>{const o=Gm(i,!0);Object.keys(o).forEach(n=>{const r=o[n];"!"==r?e.add(n):r==cm&&t.add(n)}),n||(o.offset=s/this.duration),r.push(o)});const i=e.size?tg(e.values()):[],s=t.size?tg(t.values()):[];if(n){const e=r[0],t=qm(e);e.offset=0,t.offset=1,r=[e,t]}return _g(this.element,r,i,s,this.duration,this.startTime,this.easing,!1)}}class Og extends Tg{constructor(e,t,n,r,i,s,o=!1){super(e,t,s.delay),this.element=t,this.keyframes=n,this.preStyleProps=r,this.postStyleProps=i,this._stretchStartingKeyframe=o,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&t){const i=[],s=n+t,o=t/s,a=Gm(e[0],!1);a.offset=0,i.push(a);const l=Gm(e[0],!1);l.offset=Dg(o),i.push(l);const c=e.length-1;for(let r=1;r<=c;r++){let o=Gm(e[r],!1);const a=t+o.offset*n;o.offset=Dg(a/s),i.push(o)}n=s,t=0,r="",e=i}return _g(this.element,e,this.preStyleProps,this.postStyleProps,n,t,r,!0)}}function Dg(e,t=3){const n=Math.pow(10,t-1);return Math.round(e*n)/n}class Pg{}class Mg extends Pg{normalizePropertyName(e,t){return rg(e)}normalizeStyleValue(e,t,n,r){let i="";const s=n.toString().trim();if(Ng[t]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{const t=n.match(/^[+-]?[\d\.]+([a-z]*)$/);t&&0==t[1].length&&r.push(`Please provide a CSS unit value for ${e}:${n}`)}return s+i}}const Ng=function(e){const t={};return e.forEach(e=>t[e]=!0),t}("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".split(","));function Rg(e,t,n,r,i,s,o,a,l,c,u,h,d){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:n,fromStyles:s,toState:r,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:h,errors:d}}const Lg={};class jg{constructor(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}match(e,t,n,r){return function(e,t,n,r,i){return e.some(e=>e(t,n,r,i))}(this.ast.matchers,e,t,n,r)}buildStyles(e,t,n){const r=this._stateStyles["*"],i=this._stateStyles[e],s=r?r.buildStyles(t,n):{};return i?i.buildStyles(t,n):s}build(e,t,n,r,i,s,o,a,l,c){const u=[],h=this.ast.options&&this.ast.options.params||Lg,d=o&&o.params||Lg,p=this.buildStyles(n,d,u),f=a&&a.params||Lg,m=this.buildStyles(r,f,u),g=new Set,v=new Map,y=new Map,b="void"===r,w={params:Object.assign(Object.assign({},h),f)},_=c?[]:Eg(e,t,this.ast.animation,i,s,p,m,w,l,u);let x=0;if(_.forEach(e=>{x=Math.max(e.duration+e.delay,x)}),u.length)return Rg(t,this._triggerName,n,r,b,p,m,[],[],v,y,x,u);_.forEach(e=>{const n=e.element,r=_m(v,n,{});e.preStyleProps.forEach(e=>r[e]=!0);const i=_m(y,n,{});
1e.postStyleProps.forEach(e=>i[e]=!0),n!==t&&g.add(n)});const C=tg(g.values());return Rg(t,this._triggerName,n,r,b,p,m,_,C,v,y,x)}}class Fg{constructor(e,t){this.styles=e,this.defaultParams=t}buildStyles(e,t){const n={},r=qm(this.defaultParams);return Object.keys(e).forEach(t=>{const n=e[t];null!=n&&(r[t]=n)}),this.styles.styles.forEach(e=>{if("string"!=typeof e){const i=e;Object.keys(i).forEach(e=>{let s=i[e];s.length>1&&(s=eg(s,r,t)),n[e]=s})}}),n}}class Bg{constructor(e,t){var n,r;this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach(e=>{const t=e.options&&e.options.params||{};this.states[e.name]=new Fg(e.style,t)}),$g(this.states,"true","1"),$g(this.states,"false","0"),t.transitions.forEach(t=>{this.transitionFactories.push(new jg(e,t,this.states))}),this.fallbackTransition=(n=e,r=this.states,new jg(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(e,t)=>!0],options:null,queryCount:0,depCount:0},r))}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,n,r){return this.transitionFactories.find(i=>i.match(e,t,n,r))||null}matchStyles(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}}function $g(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}
1const Vg=new xg;class Ug{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(e,t){const n=[],r=mg(this._driver,t,n);if(n.length)throw new Error(`Unable to build the animation due to the following errors: ${n.join("\n")}`);this._animations[e]=r}_buildPlayer(e,t,n){const r=e.element,i=vm(this._driver,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(r,i,e.duration,e.delay,e.easing,[],!0)}create(e,t,n={}){const r=[],i=this._animations[e];let s;const o=new Map;if(i?(s=Eg(this._driver,t,i,Lm,jm,{},{},n,Vg,r),s.forEach(e=>{const t=_m(o,e.element,{});e.postStyleProps.forEach(e=>t[e]=null)})):(r.push("The requested animation doesn't exist or has already been destroyed"),s=[]),r.length)throw new Error(`Unable to create the animation due to the following errors: ${r.join("\n")}`);o.forEach((e,t)=>{Object.keys(e).forEach(n=>{e[n]=this._driver.computeStyle(t,n,cm)})});const a=gm(s.map(e=>{const t=o.get(e.element);return this._buildPlayer(e,{},t)}));return this._playersById[e]=a,a.onDestroy(()=>this.destroy(e)),this.players.push(a),a}destroy(e){const t=this._getPlayer(e);t.destroy(),delete this._playersById[e];const n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}_getPlayer(e){const t=this._playersById[e];if(!t)throw new Error(`Unable to find the timeline player referenced by ${e}`);return t}listen(e,t,n,r){const i=wm(t,"","","");return ym(this._getPlayer(e),n,i,r),()=>{}}command(e,t,n,r){if("register"==n)return void this.register(e,r[0]);if("create"==n){const n=r[0]||{};return void this.create(e,t,n)}const i=this._getPlayer(e);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e)}}}const zg="ng-animate-queued",Hg="ng-animate-disabled",qg=".ng-animate-disabled",Gg=[],Wg={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Qg={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class Kg{constructor(e,t=""){this.namespaceId=t;const n=e&&e.hasOwnProperty("value"),r=n?e.value:e;if(this.value=function(e){return null!=e?e:null}(r),n){const t=qm(e);delete t.value,this.options=t}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){const t=e.params;if(t){const e=this.options.params;Object.keys(t).forEach(n=>{null==e[n]&&(e[n]=t[n])})}}}const Xg="void",Yg=new Kg(Xg);class Zg{constructor(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"
1+e,sv(t,this._hostClassName)}listen(e,t,n,r){if(!this._triggers.hasOwnProperty(t))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${t}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${t}" because the provided event is undefined!`);if("start"!=(i=n)&&"done"!=i)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${t}" is not supported!`);var i;const s=_m(this._elementListeners,e,[]),o={name:t,phase:n,callback:r};s.push(o);const a=_m(this._engine.statesByElement,e,{});return a.hasOwnProperty(t)||(sv(e,Fm),sv(e,"ng-trigger-"+t),a[t]=Yg),()=>{this._engine.afterFlush(()=>{const e=s.indexOf(o);e>=0&&s.splice(e,1),this._triggers[t]||delete a[t]})}}register(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}_getTrigger(e){const t=this._triggers[e];if(!t)throw new Error(`The provided animation trigger "${e}" has not been registered!`);return t}trigger(e,t,n,r=!0){const i=this._getTrigger(t),s=new ev(this.id,t,e);let o=this._engine.statesByElement.get(e);o||(sv(e,Fm),sv(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,o={}));let a=o[t];const l=new Kg(n,this.id);!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),o[t]=l,a||(a=Yg);if(!(l.value===Xg)&&a.value===l.value){if(!function(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return!1;for(let i=0;i<n.length;i++){const r=n[i];if(!t.hasOwnProperty(r)||e[r]!==t[r])return!1}return!0}(a.params,l.params)){const t=[],n=i.matchStyles(a.value,a.params,t),r=i.matchStyles(l.value,l.params,t);t.length?this._engine.reportError(t):this._engine.afterFlush(()=>{Xm(e,n),Km(e,r)})}return}const c=_m(this._engine.playersByElement,e,[]);c.forEach(e=>{e.namespaceId==this.id&&e.triggerName==t&&e.queued&&e.destroy()});let u=i.matchTransition(a.value,l.value,e,l.params),h=!1;if(!u){if(!r)return;u=i.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:u,fromState:a,toState:l,player:s,isFallbackTransition:h}),h||(sv(e,zg),s.onStart(()=>{ov(e,zg)})),s.onDone(()=>{let t=this.players.indexOf(s);t>=0&&this.players.splice(t,1);const n=this._engine.playersByElement.get(e);if(n){let e=n.indexOf(s);e>=0&&n.splice(e,1)}}),this.players.push(s),c.push(s),s}deregister(e){delete this._triggers[e],this._engine.statesByElement.forEach((t,n)=>{delete t[e]}),this._elementListeners.forEach((t,n)=>{this._elementListeners.set(n,t.filter(t=>t.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(e=>e.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const n=this._engine.driver.query(e,Bm,!0);n.forEach(e=>{if(e.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(e);n.size?n.forEach(n=>n.triggerLeaveAnimation(e,t,!1,!0)):this.clearElementCache(e)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(e=>this.clearElementCache(e)))}triggerLeaveAnimation(e,t,n,r){const i=this._engine.statesByElement.get(e);if(i){const s=[];
1if(Object.keys(i).forEach(t=>{if(this._triggers[t]){const n=this.trigger(e,t,Xg,r);n&&s.push(n)}}),s.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&gm(s).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e),n=this._engine.statesByElement.get(e);if(t&&n){const r=new Set;t.forEach(t=>{const i=t.name;if(r.has(i))return;r.add(i);const s=this._triggers[i].fallbackTransition,o=n[i]||Yg,a=new Kg(Xg),l=new ev(this.id,i,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:i,transition:s,fromState:o,toState:a,player:l,isFallbackTransition:!0})})}}removeNode(e,t){const n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let r=!1;if(n.totalAnimations){const t=n.players.length?n.playersByQueriedElement.get(e):[];if(t&&t.length)r=!0;else{let t=e;for(;t=t.parentNode;){if(n.statesByElement.get(t)){r=!0;break}}}}if(this.prepareLeaveAnimationListeners(e),r)n.markElementAsRemoved(this.id,e,!1,t);else{const r=e.__ng_removed;r&&r!==Wg||(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,t))}}insertNode(e,t){sv(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(n=>{const r=n.player;if(r.destroyed)return;const i=n.element,s=this._elementListeners.get(i);s&&s.forEach(t=>{if(t.name==n.triggerName){const r=wm(i,n.triggerName,n.fromState.value,n.toState.value);r._data=e,ym(n.player,t.phase,r,t.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):t.push(n)}),this._queue=[],t.sort((e,t)=>{const n=e.transition.ast.depCount,r=t.transition.ast.depCount;return 0==n||0==r?n-r:this._engine.driver.containsElement(e.element,t.element)?1:-1})}destroy(e){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(t=>t.element===e)||t,t}}class Jg{constructor(e,t,n){this.bodyNode=e,this.driver=t,this._normalizer=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=(e,t)=>{}}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(t=>{t.queued&&e.push(t)})}),e}createNamespace(e,t){const n=new Zg(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,t){const n=this._namespaceList.length-1;if(n>=0){let r=!1;for(let i=n;i>=0;i--){const n=this._namespaceList[i];if(this.driver.containsElement(n.hostElement,t)){this._namespaceList.splice(i+1,0,e),r=!0;break}}r||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}register(e,t){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}registerTrigger(e,t,n){let r=this._namespaceLookup[e];r&&r.register(t,n)&&this.totalAnimations++}destroy(e,t){if(!e)return;const n=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[e];const t=this._namespaceList.indexOf(n);t>=0&&this._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(()=>n.destroy(t))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,n=this.statesByElement.get(e);if(n){const e=Object.keys(n);for(let r=0;r<e.length;r++){const i=n[e[r]].namespaceId;if(i){const e=this._fetchNamespace(i);e&&t.add(e)}}}return t}trigger(e,t,n,r){if(tv(t)){const i=this._fetchNamespace(e);if(i)return i.trigger(t,n,r),!0}return!1}insertNode(e,t,n,r){if(!tv(t))return;const i=t.__ng_removed;if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;const e=this.collectedLeaveElements.indexOf(t);e>=0&&this.collectedLeaveElements.splice(e,1)}if(e){const r=this._fetchNamespace(e);
1r&&r.insertNode(t,n)}r&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),sv(e,Hg)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),ov(e,Hg))}removeNode(e,t,n,r){if(tv(t)){const i=e?this._fetchNamespace(e):null;if(i?i.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r),n){const n=this.namespacesByHostElement.get(t);n&&n.id!==e&&n.removeNode(t,r)}}else this._onRemovalComplete(t,r)}markElementAsRemoved(e,t,n,r){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}}listen(e,t,n,r,i){return tv(t)?this._fetchNamespace(e).listen(t,n,r,i):()=>{}}_buildInstruction(e,t,n,r,i){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,r,e.fromState.options,e.toState.options,t,i)}destroyInnerAnimations(e){let t=this.driver.query(e,Bm,!0);t.forEach(e=>this.destroyActiveAnimationsForElement(e)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,Vm,!0),t.forEach(e=>this.finishActiveQueriedAnimationOnElement(e)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(e=>{e.queued?e.markedForDestroy=!0:e.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(e=>e.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return gm(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e.__ng_removed;if(t&&t.setForRemoval){if(e.__ng_removed=Wg,t.namespaceId){this.destroyInnerAnimations(e);const n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}this.driver.matchesElement(e,qg)&&this.markElementAsDisabled(e,!1),this.driver.query(e,qg,!0).forEac
1h(e=>{this.markElementAsDisabled(e,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((e,t)=>this._balanceNamespaceList(e,t)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++){sv(this.collectedEnterElements[n],"ng-star-inserted")}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{t=this._flushAnimations(n,e)}finally{for(let e=0;e<n.length;e++)n[e]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++){const e=this.collectedLeaveElements[n];this.processLeaveNode(e)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(e=>e()),this._flushFns=[],this._whenQuietFns.length){const e=this._whenQuietFns;this._whenQuietFns=[],t.length?gm(t).onDone(()=>{e.forEach(e=>e())}):e.forEach(e=>e())}}reportError(e){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${e.join("\n")}`)}_flushAnimations(e,t){const n=new xg,r=[],i=new Map,s=[],o=new Map,a=new Map,l=new Map,c=new Set;this.disabledNodes.forEach(e=>{c.add(e);const t=this.driver.query(e,".ng-animate-queued",!0);for(let n=0;n<t.length;n++)c.add(t[n])});const u=this.bodyNode,h=Array.from(this.statesByElement.keys()),d=iv(h,this.collectedEnterElements),p=new Map;let f=0;d.forEach((e,t)=>{const n=Lm+f++;p.set(t,n),e.forEach(e=>sv(e,n))});const m=[],g=new Set,v=new Set;for(let O=0;O<this.collectedLeaveElements.length;O++){const e=this.collectedLeaveElements[O],t=e.__ng_removed;t&&t.setForRemoval&&(m.push(e),g.add(e),t.hasAnimation?this.driver.query(e,".ng-star-inserted",!0).forEach(e=>g.add(e)):v.add(e))}const y=new Map,b=iv(h,Array.from(g));b.forEach((e,t)=>{const n=jm+f++;y.set(t,n),e.forEach(e=>sv(e,n))}),e.push(()=>{d.forEach((e,t)=>{const n=p.get(t);e.forEach(e=>ov(e,n))}),b.forEach((e,t)=>{const n=y.get(t);e.forEach(e=>ov(e,n))}),m.forEach(e=>{this.processLeaveNode(e)})});const w=[],_=[];for(let O=this._namespaceList.length-1;O>=0;O--){this._namespaceList[O].drainQueuedTransitions(t).forEach(e=>{const t=e.player,i=e.element;if(w.push(t),this.collectedEnterElements.length){const e=i.__ng_removed;if(e&&e.setForMove)return void t.destroy()}const c=!u||!this.driver.containsElement(u,i),h=y.get(i),d=p.get(i),f=this._buildInstruction(e,n,d,h,c);if(f.errors&&f.errors.length)return void _.push(f);if(c)return t.onStart(()=>Xm(i,f.fromStyles)),t.onDestroy(()=>Km(i,f.toStyles)),void r.push(t);if(e.isFallbackTransition)return t.onStart(()=>Xm(i,f.fromStyles)),t.onDestroy(()=>Km(i,f.toStyles)),void r.push(t);f.timelines.forEach(e=>e.stretchStartingKeyframe=!0),n.append(i,f.timelines);const m={instruction:f,player:t,element:i};s.push(m),f.queriedElements.forEach(e=>_m(o,e,[]).push(t)),f.preStyleProps.forEach((e,t)=>{const n=Object.keys(e);if(n.length){let e=a.get(t);e||a.set(t,e=new Set),n.forEach(t=>e.add(t))}}),f.postStyleProps.forEach((e,t)=>{const n=Object.keys(e);let r=l.get(t);r||l.set(t,r=new Set),n.forEach(e=>r.add(e))})})}if(_.length){const e=[];_.forEach(t=>{e.push(`@${t.triggerName} has failed due to:\n`),t.errors.forEach(t=>e.push(`- ${t}\n`))}
1),w.forEach(e=>e.destroy()),this.reportError(e)}const x=new Map,C=new Map;s.forEach(e=>{const t=e.element;n.has(t)&&(C.set(t,t),this._beforeAnimationBuild(e.player.namespaceId,e.instruction,x))}),r.forEach(e=>{const t=e.element;this._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(e=>{_m(x,t,[]).push(e),e.destroy()})});const S=m.filter(e=>cv(e,a,l)),E=new Map;rv(E,this.driver,v,l,cm).forEach(e=>{cv(e,a,l)&&S.push(e)});const A=new Map;d.forEach((e,t)=>{rv(A,this.driver,new Set(e),a,"!")}),S.forEach(e=>{const t=E.get(e),n=A.get(e);E.set(e,Object.assign(Object.assign({},t),n))});const k=[],I=[],T={};s.forEach(e=>{const{element:t,player:s,instruction:o}=e;if(n.has(t)){if(c.has(t))return s.onDestroy(()=>Km(t,o.toStyles)),s.disabled=!0,s.overrideTotalTime(o.totalTime),void r.push(s);let e=T;if(C.size>1){let n=t;const r=[];for(;n=n.parentNode;){const t=C.get(n);if(t){e=t;break}r.push(n)}r.forEach(t=>C.set(t,e))}const n=this._buildAnimation(s.namespaceId,o,x,i,A,E);if(s.setRealPlayer(n),e===T)k.push(s);else{const t=this.playersByElement.get(e);t&&t.length&&(s.parentPlayer=gm(t)),r.push(s)}}else Xm(t,o.fromStyles),s.onDestroy(()=>Km(t,o.toStyles)),I.push(s),c.has(t)&&r.push(s)}),I.forEach(e=>{const t=i.get(e.element);if(t&&t.length){const n=gm(t);e.setRealPlayer(n)}}),r.forEach(e=>{e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(let O=0;O<m.length;O++){const e=m[O],t=e.__ng_removed;if(ov(e,jm),t&&t.hasAnimation)continue;let n=[];if(o.size){let t=o.get(e);t&&t.length&&n.push(...t);let r=this.driver.query(e,Vm,!0);for(let e=0;e<r.length;e++){let t=o.get(r[e]);t&&t.length&&n.push(...t)}}const r=n.filter(e=>!e.destroyed);r.length?av(this,e,r):this.processLeaveNode(e)}return m.length=0,k.forEach(e=>{this.players.push(e),e.onDone(()=>{e.destroy();const t=this.players.indexOf(e);this.players.splice(t,1)}),e.play()}),k}elementContainsData(e,t){let n=!1;const r=t.__ng_removed;return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(t)&&(n=!0),this.playersByQueriedElement.has(t)&&(n=!0),this.statesByElement.has(t)&&(n=!0),this._fetchNamespace(e).elementContainsData(t)||n}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,n,r,i){let s=[];if(t){const t=this.playersByQueriedElement.get(e);t&&(s=t)}else{const t=this.playersByElement.get(e);if(t){const e=!i||i==Xg;t.forEach(t=>{t.queued||(e||t.triggerName==r)&&s.push(t)})}}return(n||r)&&(s=s.filter(e=>(!n||n==e.namespaceId)&&(!r||r==e.triggerName))),s}_beforeAnimationBuild(e,t,n){const r=t.triggerName,i=t.element,s=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:r;for(const a of t.timelines){const e=a.element,r=e!==i,l=_m(n,e,[]);this._getPreviousPlayers(e,r,s,o,t.toState).forEach(e=>{const t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),l.push(e)})}Xm(i,t.fromStyles)}_buildAnimation(e,t,n,r,i,s){const o=t.triggerName,a=t.element,l=[],c=new Set,u=new Set,h=t.timelines.map(t=>{const h=t.element;c.add(h);const d=h.__ng_removed;if(d&&d.removedBeforeQueried)return new pm(t.duration,t.delay);const p=h!==a,f=function(e){const t=[];return lv(e,t),t}((n.get(h)||Gg).map(e=>e.getRealPlayer())).filter(e=>{const t=e;return!!t.element&&t.element===h}),m=i.get(h),g=s.get(h),v=vm(this.driver,this._normalizer,0,t.keyframes,m,g),y=this._buildPlayer(t,v,f);if(t.subTimeline&&r&&u.add(h),p){const t=new ev(e,o,h);t.setRealPlayer(y),l.push(t)}return y});l.forEach(e=>{_m(this.playersByQueriedElement,e.element,[]).push(e),e.onDone(()=>function(e,t,n){let r;if(e instanceof Map){if(r=e.get(t),r){if(r.length){const e=r.indexOf(n);r.splice(e,1)}0==r.length&&e.delete(t)}}else if(r=e[t],r){if(r.length){const e=r.indexOf(n);r.splice(e,1)}0==r.length&&delete e[t]}return r}(this.playersByQueriedElement,e.element,e))}),c.forEach(e=>sv(e,$m));const d=gm(h);return d.onDestroy(()=>{c.forEach(e=>ov(e,$m)),Km(a,t.toStyles)}),u.forEach(e=>{_m(r,e,[]).push(d)}),d}_buildPlayer(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new pm(e.duration,e.delay)}}class ev{constructor(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new pm,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEac
1h(t=>{this._queuedCallbacks[t].forEach(n=>ym(e,t,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){_m(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return!this.queued&&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(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function tv(e){return e&&1===e.nodeType}function nv(e,t){const n=e.style.display;return e.style.display=null!=t?t:"none",n}function rv(e,t,n,r,i){const s=[];n.forEach(e=>s.push(nv(e)));const o=[];r.forEach((n,r)=>{const s={};n.forEach(e=>{const n=s[e]=t.computeStyle(r,e,i);n&&0!=n.length||(r.__ng_removed=Qg,o.push(r))}),e.set(r,s)});let a=0;return n.forEach(e=>nv(e,s[a++])),o}function iv(e,t){const n=new Map;if(e.forEach(e=>n.set(e,[])),0==t.length)return n;const r=new Set(t),i=new Map;function s(e){if(!e)return 1;let t=i.get(e);if(t)return t;const o=e.parentNode;return t=n.has(o)?o:r.has(o)?1:s(o),i.set(e,t),t}return t.forEach(e=>{const t=s(e);1!==t&&n.get(t).push(e)}),n}function sv(e,t){if(e.classList)e.classList.add(t);else{let n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function ov(e,t){if(e.classList)e.classList.remove(t);else{let n=e.$$classes;n&&delete n[t]}}function av(e,t,n){gm(n).onDone(()=>e.processLeaveNode(t))}function lv(e,t){for(let n=0;n<e.length;n++){const r=e[n];r instanceof fm?lv(r.players,t):t.push(r)}}function cv(e,t,n){const r=n.get(e);if(!r)return!1;let i=t.get(e);return i?r.forEach(e=>i.add(e)):t.set(e,r),n.delete(e),!0}class uv{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._triggerCache={},this.onRemovalComplete=(e,t)=>{},this._transitionEngine=new Jg(e,t,n),this._timelineEngine=new Ug(e,t,n),this._transitionEngine.onRemovalComplete=(e,t)=>this.onRemovalComplete(e,t)}registerTrigger(e,t,n,r,i){const s=e+"-"+r;let o=this._triggerCache[s];if(!o){const e=[],t=mg(this._driver,i,e);if(e.length)throw new Error(`The animation trigger "${r}" has failed to build due to the following errors:\n - ${e.join("\n - ")}`);o=function(e,t){return new Bg(e,t)}(r,t),this._triggerCache[s]=o}this._transitionEngine.registerTrigger(t,r,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,n,r){this._transitionEngine.insertNode(e,t,n,r)}onRemove(e,t,n,r){this._transitionEngine.removeNode(e,t,r||!1,n)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,n,r){if("@"==n.charAt(0)){const[e,i]=xm(n),s=r;this._timelineEngine.command(e,t,i,s)}else this._transitionEngine.trigger(e,t,n,r)}listen(e,t,n,r,i){if("@"==n.charAt(0)){const[e,r]=xm(n);return this._timelineEngine.listen(e,t,r,i)}return this._transitionEngine.listen(e,t,n,r,i)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function hv(e,t){let n=null,r=null;return Array.isArray(t)&&t.length?(n=pv(t[0]),t.length>1&&(r=pv(t[t.length-1]))):t&&(n=pv(t)),n||r?new dv(e,n,r):null}class dv{constructor(e,t,n){this._element=e,this._startStyles=t,this._endStyles=n,this._state=0;let r=dv.initialStylesByElement.get(e);r||dv.initialStylesByElement.set(e,r={}),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&Km(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Km(this._element,this._initialStyles),this._endStyles&&(Km(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(dv.initialStylesByElement.delete(this._element),this._startStyles&&(Xm(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Xm(this._element,this._endStyles),this._endStyles=null),Km(this._element,this._initialStyles),this._state=3)}}function pv(e){let t=null;const n=Object.keys(e);for(let r=0;r<n.length;r++){const i=n[r];fv(i)&&(t=t||{},t[i]=e[i])}return t}function fv(e){return"display"===e||"position"===e}dv.initialStylesByElement=new WeakMap;const mv="animation",gv="animationend";class vv{constructor(e,t,n,r,i,s,o){this._element=e,this._name=t,this._duration=n,this._delay=r,this._easing=i,this._fillMode=s,this._onDoneFn=o,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=e
1=>this._handleCallback(e)}apply(){!function(e,t){const n=Cv(e,"").trim();let r=0;n.length&&(r=function(e,t){let n=0;for(let r=0;r<e.length;r++){e.charAt(r)===t&&n++}return n}(n,",")+1,t=`${n}, ${t}`);xv(e,"",t)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),_v(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){yv(this._element,this._name,"paused")}resume(){yv(this._element,this._name,"running")}setPosition(e){const t=bv(this._element,this._name);this._position=e*this._duration,xv(this._element,"Delay",`-${this._position}ms`,t)}getPosition(){return this._position}_handleCallback(e){const t=e._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(e.elapsedTime.toFixed(3));e.animationName==this._name&&Math.max(t-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),_v(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,t){const n=Cv(e,"").split(","),r=wv(n,t);if(r>=0){n.splice(r,1);xv(e,"",n.join(","))}}(this._element,this._name))}}function yv(e,t,n){xv(e,"PlayState",n,bv(e,t))}function bv(e,t){const n=Cv(e,"");if(n.indexOf(",")>0){return wv(n.split(","),t)}return wv([n],t)}function wv(e,t){for(let n=0;n<e.length;n++)if(e[n].indexOf(t)>=0)return n;return-1}function _v(e,t,n){n?e.removeEventListener(gv,t):e.addEventListener(gv,t)}function xv(e,t,n,r){const i=mv+t;if(null!=r){const t=e.style[i];if(t.length){const e=t.split(",");e[r]=n,n=e.join(",")}}e.style[i]=n}function Cv(e,t){return e.style[mv+t]||""}class Sv{constructor(e,t,n,r,i,s,o,a){this.element=e,this.keyframes=t,this.animationName=n,this._duration=r,this._delay=i,this._finalStyles=o,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=s||"linear",this.totalTime=r+i,this._buildStyler()}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(e=>e()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(e){this._styler.setPosition(e)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){if(this._state>=1)return;this._state=1;this.element;this._styler.apply(),this._delay&&this._styler.pause()}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new vv(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}beforeDestroy(){this.init();const e={};if(this.hasStarted()){const t=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(e[n]=t?this._finalStyles[n]:ag(this.element,n))})}this.currentSnapshot=e}}class Ev extends pm{constructor(e,t){super(),this.element=e,this._startingStyles={},this.__initialized=!1,this._styles=Mm(t)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(e=>{this._startingStyles[e]=this.element.style[e]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(e=>this.element.style.setProperty(e,this._styles[e])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEac
1h(e=>{const t=this._startingStyles[e];t?this.element.style.setProperty(e,t):this.element.style.removeProperty(e)}),this._startingStyles=null,super.destroy())}}class Av{constructor(){this._count=0,this._head=document.querySelector("head")}validateStyleProperty(e){return Tm(e)}matchesElement(e,t){return Om(e,t)}containsElement(e,t){return Dm(e,t)}query(e,t,n){return Pm(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}buildKeyframeElement(e,t,n){n=n.map(e=>Mm(e));let r=`@keyframes ${t} {\n`,i="";n.forEach(e=>{i=" ";const t=parseFloat(e.offset);r+=`${i}${100*t}% {\n`,i+=" ",Object.keys(e).forEach(t=>{const n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(r+=`${i}animation-timing-function: ${n};\n`));default:return void(r+=`${i}${t}: ${n};\n`)}}),r+=`${i}}\n`}),r+="}\n";const s=document.createElement("style");return s.textContent=r,s}animate(e,t,n,r,i,s=[],o){const a=s.filter(e=>e instanceof Sv),l={};ig(n,r)&&a.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>l[e]=t[e])});const c=function(e){let t={};if(e){(Array.isArray(e)?e:[e]).forEach(e=>{Object.keys(e).forEach(n=>{"offset"!=n&&"easing"!=n&&(t[n]=e[n])})})}return t}(t=sg(e,t,l));if(0==n)return new Ev(e,c);const u="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(e,u,t);document.querySelector("head").appendChild(h);const d=hv(e,t),p=new Sv(e,t,u,n,r,i,c,d);return p.onDestroy(()=>{var e;(e=h).parentNode.removeChild(e)}),p}}class kv{constructor(e,t,n,r){this.element=e,this.keyframes=t,this.options=n,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(e,t,n){return e.animate(t,n)}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),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}_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(e=>e()),this._onDestroyFns=[])}setPosition(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(t=>{"offset"!=t&&(e[t]=this._finished?this._finalKeyframe[t]:ag(this.element,t))}),this.currentSnapshot=e}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class Iv{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Tv().toString()),this._cssKeyframesDriver=new Av}validateStyleProperty(e){return Tm(e)}matchesElement(e,t){return Om(e,t)}containsElement(e,t){return Dm(e,t)}query(e,t,n){return Pm(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}overrideWebAnimationsSupport(e){this._isNativeImpl=e}animate(e,t,n,r,i,s=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,r,i,s);const a={duration:n,delay:r,fill:0==r?"both":"forwards"};
1i&&(a.easing=i);const l={},c=s.filter(e=>e instanceof kv);ig(n,r)&&c.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>l[e]=t[e])});const u=hv(e,t=sg(e,t=t.map(e=>Gm(e,!1)),l));return new kv(e,t,a,u)}}function Tv(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}class Ov extends lm{constructor(e,t){super(),this._nextAnimationId=0;const n={id:"0",encapsulation:i.pb.None,styles:[],data:{animation:[]}};this._renderer=e.createRenderer(t.body,n)}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(e)?um(e):e;return Mv(this._renderer,null,t,"register",[n]),new Dv(t,this._renderer)}}Ov.\u0275fac=function(e){return new(e||Ov)(i.Vc(i.ab),i.Vc(Gp.c))},Ov.\u0275prov=i.Ic({token:Ov,factory:Ov.\u0275fac}),Ov.ctorParameters=()=>[{type:i.ab},{type:void 0,decorators:[{type:i.C,args:[Gp.c]}]}];class Dv extends class{}{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new Pv(this._id,e,t||{},this._renderer)}}class Pv{constructor(e,t,n,r){this.id=e,this.element=t,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(e,t){return this._renderer.listen(this.element,`@@${this.id}:${e}`,t)}_command(e,...t){return Mv(this._renderer,this.element,this.id,e,t)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset")}setPosition(e){this._command("setPosition",e)}getPosition(){var e,t;return null!==(t=null===(e=this._renderer.engine.players[+this.id])||void 0===e?void 0:e.getPosition())&&void 0!==t?t:0}}function Mv(e,t,n,r,i){return e.setProperty(t,`@@${n}:${r}`,i)}const Nv="@",Rv="@.disabled";class Lv{constructor(e,t,n){this.delegate=e,this.engine=t,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=(e,t)=>{t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}createRenderer(e,t){const n=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let e=this._rendererCache.get(n);return e||(e=new jv("",n,this.engine),this._rendererCache.set(n,e)),e}const r=t.id,i=t.id+"-"+this._currentId;this._currentId++,this.engine.register(i,e);const s=t=>{Array.isArray(t)?t.forEach(s):this.engine.registerTrigger(r,i,e,t.name,t)};return t.data.animation.forEach(s),new Fv(this,i,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,n){e>=0&&e<this._microtaskId?this._zone.run(()=>t(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(e=>{const[t,n]=e;t(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}Lv.\u0275fac=function(e){return new(e||Lv)(i.Vc(i.ab),i.Vc(uv),i.Vc(i.R))},Lv.\u0275prov=i.Ic({token:Lv,factory:Lv.\u0275fac}),Lv.ctorParameters=()=>[{type:i.ab},{type:uv},{type:i.R}];class jv{constructor(e,t,n){this.namespaceId=e,this.delegate=t,this.engine=n,this.destroyNode=this.delegate.destroyNode?e=>t.destroyNode(e):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,n,r=!0){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,r)}removeChild(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,n,r){this.delegate.setAttribute(e,t,n,r)}removeAttribute(e,t,n){this.delegate.removeAttribute(e,t,n)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,n,r){this.delegate.setStyle(e,t,n,r)}removeStyle(e,t,n){this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){t.charAt(0)==Nv&&t==Rv?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}setValue(e,t){this.delegate.setValue(e,t)}
1listen(e,t,n){return this.delegate.listen(e,t,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class Fv extends jv{constructor(e,t,n,r){super(t,n,r),this.factory=e,this.namespaceId=t}setProperty(e,t,n){t.charAt(0)==Nv?"."==t.charAt(1)&&t==Rv?(n=void 0===n||!!n,this.disableAnimations(e,n)):this.engine.process(this.namespaceId,e,t.substr(1),n):this.delegate.setProperty(e,t,n)}listen(e,t,n){if(t.charAt(0)==Nv){const r=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e);let i=t.substr(1),s="";return i.charAt(0)!=Nv&&([i,s]=function(e){const t=e.indexOf("."),n=e.substring(0,t),r=e.substr(t+1);return[n,r]}(i)),this.engine.listen(this.namespaceId,r,i,s,e=>{const t=e._data||-1;this.factory.scheduleListenerCallback(t,n,e)})}return this.delegate.listen(e,t,n)}}class Bv extends uv{constructor(e,t,n){super(e.body,t,n)}}Bv.\u0275fac=function(e){return new(e||Bv)(i.Vc(Gp.c),i.Vc(Rm),i.Vc(Pg))},Bv.\u0275prov=i.Ic({token:Bv,factory:Bv.\u0275fac}),Bv.ctorParameters=()=>[{type:void 0,decorators:[{type:i.C,args:[Gp.c]}]},{type:Rm},{type:Pg}];const $v=new i.F("AnimationModuleType"),Vv=[{provide:lm,useClass:Ov},{provide:Pg,useFactory:function(){return new Mg}},{provide:uv,useClass:Bv},{provide:i.ab,useFactory:function(e,t,n){return new Lv(e,t,n)},deps:[Wp.e,uv,i.R]}],Uv=[{provide:Rm,useFactory:function(){return"function"==typeof Tv()?new Iv:new Av}},{provide:$v,useValue:"BrowserAnimations"},...Vv],zv=[{provide:Rm,useClass:Nm},{provide:$v,useValue:"NoopAnimations"},...Vv];class Hv{}Hv.\u0275fac=function(e){return new(e||Hv)},Hv.\u0275mod=i.Kc({type:Hv}),Hv.\u0275inj=i.Jc({providers:Uv,imports:[Wp.a]}),("undefined"==typeof ngJitMode||ngJitMode)&&i.nd(Hv,{exports:function(){return[Wp.a]}});class qv{}qv.\u0275fac=function(e){return new(e||qv)},qv.\u0275mod=i.Kc({type:qv}),qv.\u0275inj=i.Jc({providers:zv,imports:[Wp.a]}),("undefined"==typeof ngJitMode||ngJitMode)&&i.nd(qv,{exports:function(){return[Wp.a]}});var Gv=n("aDnW"),Wv=n("4pnn"),Qv=n("z6cu"),Kv=n("JIr8");const Xv=(()=>{function e(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return e.prototype=Object.create(Error.prototype),e})();function Yv(e,t,n=If.a){return r=>{let i=(s=e)instanceof Date&&!isNaN(+s);var s;let o=i?+e-n.now():Math.abs(e);return r.lift(new Zv(o,i,t,n))}}class Zv{constructor(e,t,n,r){this.waitFor=e,this.absoluteTimeout=t,this.withObservable=n,this.scheduler=r}call(e,t){return t.subscribe(new Jv(e,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class Jv extends Gf.b{constructor(e,t,n,r,i){super(e),this.absoluteTimeout=t,this.waitFor=n,this.withObservable=r,this.scheduler=i,this.scheduleTimeout()}static dispatchTimeout(e){const{withObservable:t}=e;e._unsubscribeAndRecycle(),e.add(Object(Gf.c)(t,new Gf.a(e)))}scheduleTimeout(){const{action:e}=this;e?this.action=e.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(Jv.dispatchTimeout,this.waitFor,this))}_next(e){this.absoluteTimeout||this.scheduleTimeout(),super._next(e)}_unsubscribe(){this.action=void 0,this.scheduler=null,this.withObservable=null}}let ey=class{constructor(e){this.cookieService=e}intercept(e,t){var n;let r=null,i=this.cookieService.get("d")?this.cookieService.get("d").replace(/"/g,""):"";return null!=this.cookieService.get(xf.a.TOKEN)&&(r=null!==(n=this.cookieService.get(xf.a.TOKEN).replace(/"/g,""))&&void 0!==n?n:""),r&&"GET"!=e.method&&(e=e.clone({setHeaders:{jtoken:r,"device-security-id":i}})),t.handle(e).pipe(Object(Yf.a)(e=>(vf.f,e)),function(e,t=If.a){return Yv(e,Object(Qv.a)(new Xv),t)}(65e3),Object(Kv.a)(e=>Object(Qv.a)(e)))}};ey.ctorParameters=()=>[{type:Wv.c}],ey=Object(pf.c)([Object(i.E)()],ey);var ty=n("oOf3"),ny=n("og1k"),ry=n("87cB");let iy=class{constructor(){}};iy.ctorParameters=()=>[],iy=Object(pf.c)([Object(i.M)({declarations:[tm],entryComponents:[],imports:[ny.a,ry.a,Wp.a,gf.d.forRoot(),Wv.a.forRoot(),am,vf.c,Hv,Gv.a,ty.a,mf.b,mf.e,em.forRoot({idle:1800,timeout:1,ping:1}),yf.b.forRoot({loader:{provide:yf.a,useFactory:function(e){return new bf(e,"assets/i18n/",".json")},deps:[vf.b]}})],providers:[{provide:ff.g,useClass:gf.e},{provide:vf.a,useClass:ey,multi:!0},Wv.c],bootstrap:[tm]})],iy),xf.a.production&&Object(i.sb)(),df().bootstrapModule(iy).catch(e=>console.log(e))},zn8P:function(e,t){function n(e){return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t})}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="zn8P"},zx2A:function(e,t,n){"use strict";n.d(t,"a",function(){return o}
1),n.d(t,"b",function(){return a}),n.d(t,"c",function(){return l});var r=n("7o/Q"),i=n("HDdC"),s=n("SeVD");class o extends r.a{constructor(e){super(),this.parent=e}_next(e){this.parent.notifyNext(e)}_error(e){this.parent.notifyError(e),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}r.a;class a extends r.a{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}}r.a;function l(e,t){if(t.closed)return;if(e instanceof i.a)return e.subscribe(t);let n;try{n=Object(s.a)(e)(t)}catch(r){t.error(r)}return n}}},[[0,1]]]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.