PageSourceSearch

https://grupoemi.com/main.3a6815196e76e587.js

js grupoemi.com collected 2026-10-08 03:00:30 UTC 851,163 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkpaginaweb_website_frontend=self.webpackChunkpaginaweb_website_frontend||[]).push([[179],{4112:(ft,Te,g)=>{g.d(Te,{su:()=>Se,SA:()=>St,pt:()=>$t,Hh:()=>Fe,W7:()=>Ie,xU:()=>We});var a=g(7582),f=g(5e3),u=g(9751),X=g(1135),I=g(2076),re=g(5963),pe=g(9210),ee=g(6451),Z=(g(7579),g(4707));const C=g(5577).z;var Y=g(4482),K=g(5032),se=g(5403),Ve=g(3900),ke=g(4004),$e=g(3099),be=g(8675),ae=g(5684),He=(g(1884),g(2722),g(9808));const Je=["*"];let Ie=(()=>{class z{}return z.\u0275fac=function(y){return new(y||z)},z.\u0275prov=f.\u0275\u0275defineInjectable({token:z,factory:z.\u0275fac}),z})(),Fe=(()=>{class z{constructor(y,O){this._loader=y,this._zone=O,this._map=new Promise(q=>{this._mapResolver=q})}createMap(y,O){return this._zone.runOutsideAngular(()=>this._loader.load().then(()=>{const q=new google.maps.Map(y,O);this._mapResolver(q)}))}setMapOptions(y){return this._zone.runOutsideAngular(()=>{this._map.then(O=>{O.setOptions(y)})})}createMarker(y={},O=!0){return this._zone.runOutsideAngular(()=>this._map.then(q=>(O&&(y.map=q),new google.maps.Marker(y))))}createInfoWindow(y){return this._zone.runOutsideAngular(()=>this._map.then(()=>new google.maps.InfoWindow(y)))}createCircle(y){return this._zone.runOutsideAngular(()=>this._map.then(O=>(y.map=O,new google.maps.Circle(y))))}createRectangle(y){return this._zone.runOutsideAngular(()=>this._map.then(O=>(y.map=O,new google.maps.Rectangle(y))))}createPolyline(y){return this._zone.runOutsideAngular(()=>this.getNativeMap().then(O=>{const q=new google.maps.Polyline(y);return q.setMap(O),q}))}createPolygon(y){return this._zone.runOutsideAngular(()=>this.getNativeMap().then(O=>{const q=new google.maps.Polygon(y);return q.setMap(O),q}))}createDataLayer(y){return this._zone.runOutsideAngular(()=>this._map.then(O=>{const q=new google.maps.Data(y);return q.setMap(O),q}))}createTransitLayer(){return this._zone.runOutsideAngular(()=>this._map.then(y=>{const O=new google.maps.TransitLayer;return O.setMap(y),O}))}createBicyclingLayer(){return this._zone.runOutsideAngular(()=>this._map.then(y=>{const O=new google.maps.BicyclingLayer;return O.setMap(y),O}))}containsLocation(y,O){return this._map.then(()=>google.maps.geometry.poly.containsLocation(y,O))}subscribeToMapEvent(y){return new u.y(O=>{this._map.then(q=>q.addListener(y,()=>this._zone.run(()=>O.next(arguments[0]))))})}clearInstanceListeners(){return this._zone.runOutsideAngular(()=>{this._map.then(y=>{google.maps.event.clearInstanceListeners(y)})})}setCenter(y){return this._zone.runOutsideAngular(()=>this._map.then(O=>O.setCenter(y)))}getZoom(){return this._zone.runOutsideAngular(()=>this._map.then(y=>y.getZoom()))}getBounds(){return this._zone.runOutsideAngular(()=>this._map.then(y=>y.getBounds()))}getMapTypeId(){return this._zone.runOutsideAngular(()=>this._map.then(y=>y.getMapTypeId()))}setZoom(y){return this._zone.runOutsideAngular(()=>this._map.then(O=>O.setZoom(y)))}getCenter(){return this._zone.runOutsideAngular(()=>this._map.then(y=>y.getCenter()))}panTo(y){return this._zone.runOutsideAngular(()=>this._map.then(O=>O.panTo(y)))}panBy(y,O){return this._zone.runOutsideAngular(()=>this._map.then(q=>q.panBy(y,O)))}fitBounds(y,O){return this._zone.runOutsideAngular(()=>this._map.then(q=>q.fitBounds(y,O)))}panToBounds(y,O){return this._zone.runOutsideAngular(()=>this._map.then(q=>q.panToBounds(y,O)))}getNativeMap(){return this._map}triggerMapEvent(y){return this._map.then(O=>google.maps.event.trigger(O,y))}}return z.\u0275fac=function(y){return new(y||z)(f.\u0275\u0275inject(Ie),f.\u0275\u0275inject(f.NgZone))},z.\u0275prov=f.\u0275\u0275defineInjectable({token:z,factory:z.\u0275fac}),z})(),Ue=(()=>{class z{constructor(y,O){this._apiWrapper=y,this._zone=O,this._circles=new Map}addCircle(y){this._apiWrapper.getNativeMap().then(()=>this._circles.set(y,this._apiWrapper.createCircle({center:{lat:y.latitude,lng:y.longitude},clickable:y.clickable,draggable:y.draggable,editable:y.editable,fillColor:y.fillColor,fillOpacity:y.fillOpacity,radius:y.radius,strokeColor:y.strokeColor,strokeOpacity:y.strokeOpacity,strokePosition:google.maps.StrokePosition[y.strokePosition],strokeWeight:y.strokeWeight,visible:y.visible,zIndex:y.zIndex})))}removeCircle(y){return this._circles.get(y).then(O=>{O.setMap(null),this._circles.delete(y)})}setOptions(y,O){return(0,a.mG)(this,void 0,void 0,function*(){return this._circles.get(y).then(q=>{O.strokePosition=google.maps.StrokePosition[O.strokePosition],q.setOptions(O)})})}getBounds(y){return this._circles.get(y).then(O=>O.getBounds())}getCenter(y){return this._circles.get(y).then(O=>O.getCenter())}getRadius(y){return this._circles.get(y).then(O=>O.getRadius())}setCenter(y){return this._circles.get(y).then(O=>O.setCenter({lat:y.latitude,lng:y.longitude}))}setEditable(y){return this._circles.get(y).then(O=>O.setEditable(y.editable))}setDraggable(y){return this._circles.get(y).then(O=>O.setDraggable(y.draggable))}setVisible(y){return this._circles.get(y).then(O=>O.setVisible(y.visible))}setRadius(y){return this._circles.get(y).then(O=>O.setRadius(y.radius))}getNativeCircle(y){return this._circles.get(y)}createEventObservable(y,O){return new u.y(q=>{let B=null;return this._circles.get(O).then(k=>{B=k.addListener(y,G=>this._zone.run(()=>q.next(G)))}),()=>{null!==B&&B.remove()}})}}return z.\u0275fac=function(y){return new(y||z)(f.\u0275\u0275inject(Fe),f.\u0275\u0275inject(f.NgZone))},z.\u0275prov=f.\u0275\u0275defineInjectable({token:z,factory:z.\u0275fac}),z})(),Ze=(()=>{class z{constructor(y,O){this._wrapper=y,this._zone=O,this._layers=new Map}addDataLayer(y){const O=this._wrapper.createDataLayer({style:y.style}).then(q=>(y.geoJson&&this.getDataFeatures(q,y.geoJson).then(B=>q.features=B),q));this._layers.set(y,O)}deleteDataLayer(y){this._layers.get(y).then(O=>{O.setMap(null),this._layers.delete(y)})}updateGeoJson(y,O){this._layers.get(y).then(q=>{q.forEach(B=>
1{q.remove(B);const k=q.features.indexOf(B,0);k>-1&&q.features.splice(k,1)}),this.getDataFeatures(q,O).then(B=>q.features=B)})}setDataOptions(y,O){this._layers.get(y).then(q=>{q.setControlPosition(O.controlPosition),q.setControls(O.controls),q.setDrawingMode(O.drawingMode),q.setStyle(O.style)})}createEventObservable(y,O){return new u.y(q=>{this._layers.get(O).then(B=>{B.addListener(y,k=>this._zone.run(()=>q.next(k)))})})}getDataFeatures(y,O){return new Promise((q,B)=>{if("object"==typeof O)try{q(y.addGeoJson(O))}catch(k){B(k)}else"string"==typeof O?y.loadGeoJson(O,null,q):B("Impossible to extract features from geoJson: wrong argument type")})}}return z.\u0275fac=function(y){return new(y||z)(f.\u0275\u0275inject(Fe),f.\u0275\u0275inject(f.NgZone))},z.\u0275prov=f.\u0275\u0275defineInjectable({token:z,factory:z.\u0275fac}),z})();class Ne{}let _e=(()=>{class z{constructor(y){this._boundsChangeSampleTime$=new X.X(200),this._includeInBounds$=new X.X(new Map),this.bounds$=(0,I.D)(y.load()).pipe(C(()=>this._includeInBounds$),function xe(z){return(0,Y.e)((Ke,y)=>{let O=!1,q=null;Ke.subscribe(new se.Q(y,k=>{O=!0,q=k})),z.subscribe(new se.Q(y,()=>{if(O){O=!1;const k=q;q=null,y.next(k)}},K.Z))})}(this._boundsChangeSampleTime$.pipe((0,Ve.w)(O=>(0,re.H)(0,O)))),(0,ke.U)(O=>this._generateBounds(O)),function ot(z,Ke,y){var O,q;let B,k=!1;return z&&"object"==typeof z?(B=null!==(O=z.bufferSize)&&void 0!==O?O:1/0,Ke=null!==(q=z.windowTime)&&void 0!==q?q:1/0,k=!!z.refCount,y=z.scheduler):B=null!=z?z:1/0,(0,$e.B)({connector:()=>new Z.t(B,Ke,y),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:k})}(1))}_generateBounds(y){const O=new google.maps.LatLngBounds;return y.forEach(q=>O.extend(q)),O}addToBounds(y){const O=this._createIdentifier(y);if(this._includeInBounds$.value.has(O))return;const q=this._includeInBounds$.value;q.set(O,y),this._includeInBounds$.next(q)}removeFromBounds(y){const O=this._includeInBounds$.value;O.delete(this._createIdentifier(y)),this._includeInBounds$.next(O)}changeFitBoundsChangeSampleTime(y){this._boundsChangeSampleTime$.next(y)}getBounds$(){return this.bounds$}_createIdentifier(y){return`${y.lat}+${y.lng}`}}return z.\u0275fac=function(y){return new(y||z)(f.\u0275\u0275inject(Ie))},z.\u0275prov=f.\u0275\u0275defineInjectable({token:z,factory:z.\u0275fac}),z})();class ht{getNativeWindow(){return window}}class yt{getNativeDocument(){return document}}const st=[ht,yt];var _t=(()=>{return(z=_t||(_t={}))[z.HTTP=1]="HTTP",z[z.HTTPS=2]="HTTPS",z[z.AUTO=3]="AUTO",_t;var z})();const we=new f.InjectionToken("angular-google-maps LAZY_MAPS_API_CONFIG");let Le=(()=>{class z extends Ie{constructor(y=null,O,q,B){super(),this.localeId=B,this._SCRIPT_ID="agmGoogleMapsApiScript",this.callbackName="agmLazyMapsAPILoader",this._config=y||{},this._windowRef=O,this._documentRef=q}load(){const y=this._windowRef.getNativeWindow();if(y.google&&y.google.maps)return Promise.resolve();if(this._scriptLoadingPromise)return this._scriptLoadingPromise;const O=this._documentRef.getNativeDocument().getElementById(this._SCRIPT_ID);if(O)return this._assignScriptLoadingPromise(O),this._scriptLoadingPromise;const q=this._documentRef.getNativeDocument().createElement("script");return q.type="text/javascript",q.async=!0,q.defer=!0,q.id=this._SCRIPT_ID,q.src=this._getScriptSrc(this.callbackName),this._assignScriptLoadingPromise(q),this._documentRef.getNativeDocument().body.appendChild(q),this._scriptLoadingPromise}_assignScriptLoadingPromise(y){this._scriptLoadingPromise=new Promise((O,q)=>{this._windowRef.getNativeWindow()[this.callbackName]=()=>{O()},y.onerror=B=>{q(B)}})}_getScriptSrc(y){let q;switch(this._config&&this._config.protocol||_t.HTTPS){case _t.AUTO:q="";break;case _t.HTTP:q="http:";break;case _t.HTTPS:q="https:"}const k={v:this._config.apiVersion||"quarterly",callback:y,key:this._config.apiKey,client:this._config.clientId,channel:this._config.channel,libraries:this._config.libraries,region:this._config.region,language:this._config.language||("en-US"!==this.localeId?this.localeId:null)};return`${q}
1//${this._config.hostAndPath||"maps.googleapis.com/maps/api/js"}?${Object.keys(k).filter(H=>null!=k[H]).filter(H=>!Array.isArray(k[H])||Array.isArray(k[H])&&k[H].length>0).map(H=>{const Ee=k[H];return Array.isArray(Ee)?{key:H,value:Ee.join(",")}:{key:H,value:k[H]}}).map(H=>`${H.key}=${H.value}`).join("&")}`}}return z.\u0275fac=function(y){return new(y||z)(f.\u0275\u0275inject(we,8),f.\u0275\u0275inject(ht),f.\u0275\u0275inject(yt),f.\u0275\u0275inject(f.LOCALE_ID))},z.\u0275prov=f.\u0275\u0275defineInjectable({token:z,factory:z.\u0275fac}),z})(),We=(()=>{class z{constructor(y,O){this._mapsWrapper=y,this._zone=O,this._markers=new Map}convertAnimation(y){return(0,a.mG)(this,void 0,void 0,function*(){return null===y?null:this._mapsWrapper.getNativeMap().then(()=>google.maps.Animation[y])})}deleteMarker(y){const O=this._markers.get(y);return null==O?Promise.resolve():O.then(q=>this._zone.run(()=>{q.setMap(null),this._markers.delete(y)}))}updateMarkerPosition(y){return this._markers.get(y).then(O=>O.setPosition({lat:y.latitude,lng:y.longitude}))}updateTitle(y){return this._markers.get(y).then(O=>O.setTitle(y.title))}updateLabel(y){return this._markers.get(y).then(O=>{O.setLabel(y.label)})}updateDraggable(y){return this._markers.get(y).then(O=>O.setDraggable(y.draggable))}updateIcon(y){return this._markers.get(y).then(O=>O.setIcon(y.iconUrl))}updateOpacity(y){return this._markers.get(y).then(O=>O.setOpacity(y.opacity))}updateVisible(y){return this._markers.get(y).then(O=>O.setVisible(y.visible))}updateZIndex(y){return this._markers.get(y).then(O=>O.setZIndex(y.zIndex))}updateClickable(y){return this._markers.get(y).then(O=>O.setClickable(y.clickable))}updateAnimation(y){return(0,a.mG)(this,void 0,void 0,function*(){(yield this._markers.get(y)).setAnimation(yield this.convertAnimation(y.animation))})}addMarker(y){const O=new Promise(q=>(0,a.mG)(this,void 0,void 0,function*(){return this._mapsWrapper.createMarker({position:{lat:y.latitude,lng:y.longitude},label:y.label,draggable:y.draggable,icon:y.iconUrl,opacity:y.opacity,visible:y.visible,zIndex:y.zIndex,title:y.title,clickable:y.clickable,animation:yield this.convertAnimation(y.animation)}).then(q)}));this._markers.set(y,O)}getNativeMarker(y){return this._markers.get(y)}createEventObservable(y,O){return new u.y(q=>{this._markers.get(O).then(B=>B.addListener(y,k=>this._zone.run(()=>q.next(k))))})}}return z.\u0275fac=function(y){return new(y||z)(f.\u0275\u0275inject(Fe),f.\u0275\u0275inject(f.NgZone))},z.\u0275prov=f.\u0275\u0275defineInjectable({token:z,factory:z.\u0275fac}),z})(),ue=(()=>{class z{constructor(y,O,q){this._mapsWrapper=y,this._zone=O,this._markerManager=q,this._infoWindows=new Map}deleteInfoWindow(y){const O=this._infoWindows.get(y);return null==O?Promise.resolve():O.then(q=>this._zone.run(()=>{q.close(),this._infoWindows.delete(y)}))}setPosition(y){return this._infoWindows.get(y).then(O=>O.setPosition({lat:y.latitude,lng:y.longitude}))}setZIndex(y){return this._infoWindows.get(y).then(O=>O.setZIndex(y.zIndex))}open(y){return this._infoWindows.get(y).then(O=>null!=y.hostMarker?this._markerManager.getNativeMarker(y.hostMarker).then(q=>this._mapsWrapper.getNativeMap().then(B=>O.open(B,q))):this._mapsWrapper.getNativeMap().then(q=>O.open(q)))}close(y){return this._infoWindows.get(y).then(O=>O.close())}setOptions(y,O){return this._infoWindows.get(y).then(q=>q.setOptions(O))}addInfoWindow(y){const O={content:y.content,maxWidth:y.maxWidth,zIndex:y.zIndex,disableAutoPan:y.disableAutoPan};"number"==typeof y.latitude&&"number"==typeof y.longitude&&(O.position={lat:y.latitude,lng:y.longitude});const q=this._mapsWrapper.createInfoWindow(O);this._infoWindows.set(y,q)}createEventObservable(y,O){return new u.y(q=>{this._infoWindows.get(O).then(B=>{B.addListener(y,k=>this._zone.run(()=>q.next(k)))})})}}return z.\u0275fac=function(y){return new(y||z)(f.\u0275\u0275inject(Fe),f.\u0275\u0275inject(f.NgZone),f.\u0275\u0275inject(We))},z.\u0275prov=f.\u0275\u0275defineInjectable({token:z,factory:z.\u0275fac}),z})(),Be=(()=>{class z{constructor(y,O){this._wrapper=y,this._zone=O,this._layers=new Map}addKmlLayer(y){const O=this._wrapper.getNativeMap().then(q=>new google.maps.KmlLayer({clickable:y.clickable,map:q,preserveViewport:y.preserveViewport,screenOverlays:y.screenOverlays,suppressInfoWindows:y.suppressInfoWindows,url:y.url,zIndex:y.zIndex}));this._layers.set(y,O)}setOptions(y,O){this._layers.get(y).then(q=>q.setOptions(O))}deleteKmlLayer(y){this._layers.get(y).then(O=>{O.setMap(null),this._layers.delete(y)})}createEventObservable(y,O){return new u.y(q=>{this._layers.get(O).then(B=>{B.addListener(y,k=>this._zone.run(()=>q.next(k)))})})}}return z.\u0275fac=function(y){return new(y||z)(f.\u0275\u0275inject(Fe),f.\u0275\u0275inject(f.NgZone))},z.\u0275prov=f.\u0275\u0275defineInjectable({token:z,factory:z.\u0275fac}),z})(),R=(()=>{class z{constructor(y){this._wrapper=y,this._layers=new Map}addTransitLayer(y){const O=this._wrapper.createTransitLayer();this._layers.set(y,O)}addBicyclingLayer(y){const O=this._wrapper.createBicyclingLayer();this._layers.set(y,O)}deleteLayer(y){return this._layers.get(y).then(O=>{O.setMap(null),this._layers.delete(y)})}}return z.\u0275fac=function(y){return new(y||z)(f.\u0275\u0275inject(Fe))},z.\u0275prov=f.\u0275\u0275defineInjectable({token:z,factory:z.\u0275fac}),z})();function ge(z){const Ke=["insert_at","remove_at","set_at"];return(0,pe.R)(y=>Ke.map(O=>z.addListener(O,(q,B)=>y.apply(z,[{newArr:z.getArray(),eventName:O,index:q,previous:B}]))),(y,O)=>O.forEach(q=>q.remove()))}let ze=(()=>{class z{constructor(y,O){this._mapsWrapper=y,this._zone=O,this._polygons=new Map}addPolygon(y){const O=this._mapsWrapper.createPolygon({clickable:y.clickable,draggable:y.draggable,editable:y.editable,fillColor:y.fillColor,fillOpacity:y.fillOpacity,geodesic:y.geodesic,paths:y.paths,strokeColor:y.strokeColor,strokeOpacity:y.strokeOpacity,strokeWeight:y.strokeWeight,visible:y.visible,zIndex:y.zIndex});this._polygons.set(y,O)}updatePolygon(y){const O=this._polygons.get(y);return null==O?Promise.resolve():O.then(q=>this._zone.run(()=>{q.setPaths(y.paths)}))}setPolygonOptions(y,O){return this._polygons.get(y).then(q=>{q.setOptions(O)})}deletePolygon(y){const O=this._polygons.get(y);return null==O?Promise.resolve():O.then(q=>this._zone.run(()=>{q.setMap(null),this._polygons.delete(y)}))}getPath(y){return this._polygons.get(y).then(O=>O.getPath().getArray())}getPaths(y){return this._polygons.get(y).then(O=>O.getPaths().getArray().map(q=>q.getArray()))}createEventObservable(y,O){return new u.y(q=>{this._polygons.get(O).then(B=>{B.addListener(y,k=>this._zone.run(()=>q.next(k)))})})}createPathEventObservable(y){return(0,a.mG)(this,void 0,void 0,function*(){const q=(yield this._polygons.get(y)).getPaths();return ge(q).pipe((0,be.O)({newArr:q.getArray()}),(0,Ve.w)(k=>(0,ee.T)(...k.newArr.map((G,H)=>ge(G).pipe((0,ke.U)(Ee=>({parentMVEvent:k,chMVCEvent:Ee,pathIndex:H}))))).pipe((0,be.O)({parentMVEvent:k,chMVCEvent:null,pathIndex:null}))),(0,ae.T)(1),(0,ke.U)(({parentMVEvent:k,chMVCEvent:G,pathIndex:H})=>{let Ee;return G?(Ee={newArr:k.newArr.map(tt=>tt.getArray().map(mt=>mt.toJSON())),pathIndex:H,eventName:G.eventName,index:G.index},G.previous&&(Ee.previous=G.previous)):(Ee={newArr:k.newArr.map(tt=>tt.getArray().map(mt=>mt.toJSON())),eventName:k.eventName,index:k.index},k.previous&&(Ee.previous=k.previous.getArray())),Ee}))})}}return z.\u0275fac=function(y){return new(y||z)(f.\u0275\u0275inject(Fe),f.\u0275\u0275inject(f.NgZone))},z.\u0275prov=f.\u0275\u0275defineInjectable({token:z,factory:z.\u0275fac}),z})(),rt=(()=>{class z{constructor(y,O){this._mapsWrapper=y,this._zone=O,this._polylines=new Map}static _convertPoints(y){return y._getPoints().map(q=>({lat:q.latitude,lng:q.longitude}))}static _convertPath(y){const O=google.maps.SymbolPath[y];return"number"==typeof O?O:y}static _convertIcons(y){const O=y._getIcons().map(q=>({fixedRotation:q.fixedRotation,offset:q.offset,repeat:q.repeat,icon:{anchor:new google.maps.Point(q.anchorX,q.anchorY),fillColor:q.fillColor,fillOpacity:q.fillOpacity,path:z._convertPath(q.path),rotation:q.rotation,scale:q.scale,strokeColor:q.strokeColor,strokeOpacity:q.strokeOpacity,strokeWeight:q.strokeWeight}}));return O.forEach(q=>{Object.entries(q).forEach(([B,k])=>{void 0===k&&delete q[B]}
1),(void 0===q.icon.anchor.x||void 0===q.icon.anchor.y)&&delete q.icon.anchor}),O}addPolyline(y){const O=this._mapsWrapper.getNativeMap().then(()=>[z._convertPoints(y),z._convertIcons(y)]).then(([q,B])=>this._mapsWrapper.createPolyline({clickable:y.clickable,draggable:y.draggable,editable:y.editable,geodesic:y.geodesic,strokeColor:y.strokeColor,strokeOpacity:y.strokeOpacity,strokeWeight:y.strokeWeight,visible:y.visible,zIndex:y.zIndex,path:q,icons:B}));this._polylines.set(y,O)}updatePolylinePoints(y){const O=z._convertPoints(y),q=this._polylines.get(y);return null==q?Promise.resolve():q.then(B=>this._zone.run(()=>B.setPath(O)))}updateIconSequences(y){return(0,a.mG)(this,void 0,void 0,function*(){yield this._mapsWrapper.getNativeMap();const O=z._convertIcons(y),q=this._polylines.get(y);if(null!=q)return q.then(B=>this._zone.run(()=>B.setOptions({icons:O})))})}setPolylineOptions(y,O){return this._polylines.get(y).then(q=>{q.setOptions(O)})}deletePolyline(y){const O=this._polylines.get(y);return null==O?Promise.resolve():O.then(q=>this._zone.run(()=>{q.setMap(null),this._polylines.delete(y)}))}getMVCPath(y){return(0,a.mG)(this,void 0,void 0,function*(){return(yield this._polylines.get(y)).getPath()})}getPath(y){return(0,a.mG)(this,void 0,void 0,function*(){return(yield this.getMVCPath(y)).getArray()})}createEventObservable(y,O){return new u.y(q=>{this._polylines.get(O).then(B=>{B.addListener(y,k=>this._zone.run(()=>q.next(k)))})})}createPathEventObservable(y){return(0,a.mG)(this,void 0,void 0,function*(){return ge(yield this.getMVCPath(y))})}}return z.\u0275fac=function(y){return new(y||z)(f.\u0275\u0275inject(Fe),f.\u0275\u0275inject(f.NgZone))},z.\u0275prov=f.\u0275\u0275defineInjectable({token:z,factory:z.\u0275fac}),z})(),Ae=(()=>{class z{constructor(y,O){this._apiWrapper=y,this._zone=O,this._rectangles=new Map}addRectangle(y){this._apiWrapper.getNativeMap().then(()=>this._rectangles.set(y,this._apiWrapper.createRectangle({bounds:{north:y.north,east:y.east,south:y.south,west:y.west},clickable:y.clickable,draggable:y.draggable,editable:y.editable,fillColor:y.fillColor,fillOpacity:y.fillOpacity,strokeColor:y.strokeColor,strokeOpacity:y.strokeOpacity,strokePosition:google.maps.StrokePosition[y.strokePosition],strokeWeight:y.strokeWeight,visible:y.visible,zIndex:y.zIndex})))}removeRectangle(y){return this._rectangles.get(y).then(O=>{O.setMap(null),this._rectangles.delete(y)})}setOptions(y,O){return this._rectangles.get(y).then(q=>{O.strokePosition=google.maps.StrokePosition[O.strokePosition],q.setOptions(O)})}getBounds(y){return this._rectangles.get(y).then(O=>O.getBounds())}setBounds(y){return this._rectangles.get(y).then(O=>O.setBounds({north:y.north,east:y.east,south:y.south,west:y.west}))}setEditable(y){return this._rectangles.get(y).then(O=>O.setEditable(y.editable))}setDraggable(y){return this._rectangles.get(y).then(O=>O.setDraggable(y.draggable))}setVisible(y){return this._rectangles.get(y).then(O=>O.setVisible(y.visible))}createEventObservable(y,O){return new u.y(q=>{let B=null;return this._rectangles.get(O).then(k=>{B=k.addListener(y,G=>this._zone.run(()=>q.next(G)))}),()=>{null!==B&&B.remove()}})}}return z.\u0275fac=function(y){return new(y||z)(f.\u0275\u0275inject(Fe),f.\u0275\u0275inject(f.NgZone))},z.\u0275prov=f.\u0275\u0275defineInjectable({token:z,factory:z.\u0275fac}),z})(),ie=0,P=(()=>{class z{constructor(y,O){this._infoWindowManager=y,this._el=O,this.isOpen=!1,this.infoWindowClose=new f.EventEmitter,this._infoWindowAddedToManager=!1,this._id=(ie++).toString()}ngOnInit(){this.content=this._el.nativeElement.querySelector(".agm-info-window-content"),this._infoWindowManager.addInfoWindow(this),this._infoWindowAddedToManager=!0,this._updateOpenState(),this._registerEventListeners()}ngOnChanges(y){!this._infoWindowAddedToManager||((y.latitude||y.longitude)&&"number"==typeof this.latitude&&"number"==typeof this.longitude&&this._infoWindowManager.setPosition(this),y.zIndex&&this._infoWindowManager.setZIndex(this),y.isOpen&&this._updateOpenState(),this._setInfoWindowOptions(y))}_registerEventListeners(){this._infoWindowManager.createEventObservable("closeclick",this).subscribe(()=>{this.isOpen=!1,this.infoWindowClose.emit()})}_updateOpenState(){this.isOpen?this.open():this.close()}_setInfoWindowOptions(y){const O={};
1Object.keys(y).filter(B=>-1!==z._infoWindowOptionsInputs.indexOf(B)).forEach(B=>{O[B]=y[B].currentValue}),this._infoWindowManager.setOptions(this,O)}open(){return this._infoWindowManager.open(this)}close(){return this._infoWindowManager.close(this).then(()=>{this.infoWindowClose.emit()})}id(){return this._id}toString(){return"AgmInfoWindow-"+this._id.toString()}ngOnDestroy(){this._infoWindowManager.deleteInfoWindow(this)}}return z.\u0275fac=function(y){return new(y||z)(f.\u0275\u0275directiveInject(ue),f.\u0275\u0275directiveInject(f.ElementRef))},z.\u0275cmp=f.\u0275\u0275defineComponent({type:z,selectors:[["agm-info-window"]],inputs:{isOpen:"isOpen",latitude:"latitude",longitude:"longitude",disableAutoPan:"disableAutoPan",zIndex:"zIndex",maxWidth:"maxWidth"},outputs:{infoWindowClose:"infoWindowClose"},features:[f.\u0275\u0275NgOnChangesFeature],ngContentSelectors:Je,decls:2,vars:0,consts:[[1,"agm-info-window-content"]],template:function(y,O){1&y&&(f.\u0275\u0275projectionDef(),f.\u0275\u0275elementStart(0,"div",0),f.\u0275\u0275projection(1),f.\u0275\u0275elementEnd())},encapsulation:2}),z._infoWindowOptionsInputs=["disableAutoPan","maxWidth"],z})(),x=(()=>{class z{}return z.\u0275fac=function(y){return new(y||z)},z.\u0275dir=f.\u0275\u0275defineDirective({type:z,inputs:{position:"position"}}),z})(),St=(()=>
1{class z{constructor(y,O,q,B,k){this._elem=y,this._mapsWrapper=O,this._platformId=q,this._fitBoundsService=B,this._zone=k,this.longitude=0,this.latitude=0,this.zoom=8,this.draggable=!0,this.disableDoubleClickZoom=!1,this.disableDefaultUI=!1,this.scrollwheel=!0,this.keyboardShortcuts=!0,this.styles=[],this.usePanning=!1,this.fitBounds=!1,this.mapTypeId="ROADMAP",this.clickableIcons=!0,this.showDefaultInfoWindow=!0,this.gestureHandling="auto",this.tilt=0,this._observableSubscriptions=[],this.mapClick=new f.EventEmitter,this.mapRightClick=new f.EventEmitter,this.mapDblClick=new f.EventEmitter,this.centerChange=new f.EventEmitter,this.boundsChange=new f.EventEmitter,this.mapTypeIdChange=new f.EventEmitter,this.idle=new f.EventEmitter,this.zoomChange=new f.EventEmitter,this.mapReady=new f.EventEmitter,this.tilesLoaded=new f.EventEmitter}ngAfterContentInit(){if((0,He.PM)(this._platformId))return;const y=this._elem.nativeElement.querySelector(".agm-map-container-inner");this._initMapInstance(y)}_initMapInstance(y){this._mapsWrapper.createMap(y,{center:{lat:this.latitude||0,lng:this.longitude||0},zoom:this.zoom,minZoom:this.minZoom,maxZoom:this.maxZoom,controlSize:this.controlSize,disableDefaultUI:this.disableDefaultUI,disableDoubleClickZoom:this.disableDoubleClickZoom,scrollwheel:this.scrollwheel,backgroundColor:this.backgroundColor,draggable:this.draggable,draggableCursor:this.draggableCursor,draggingCursor:this.draggingCursor,keyboardShortcuts:this.keyboardShortcuts,styles:this.styles,mapTypeId:this.mapTypeId.toLocaleLowerCase(),clickableIcons:this.clickableIcons,gestureHandling:this.gestureHandling,tilt:this.tilt,restriction:this.restriction}).then(()=>this._mapsWrapper.getNativeMap()).then(O=>this.mapReady.emit(O)),this._handleMapCenterChange(),this._handleMapZoomChange(),this._handleMapMouseEvents(),this._handleBoundsChange(),this._handleMapTypeIdChange(),this._handleTilesLoadedEvent(),this._handleIdleEvent(),this._handleControlChange()}ngOnDestroy(){this._observableSubscriptions.forEach(y=>y.unsubscribe()),this._mapsWrapper.clearInstanceListeners(),this._fitBoundsSubscription&&this._fitBoundsSubscription.unsubscribe()}ngOnChanges(y){this._updateMapOptionsChanges(y),this._updatePosition(y)}_updateMapOptionsChanges(y){const O={};Object.keys(y).filter(B=>-1!==z._mapOptionsAttributes.indexOf(B)).forEach(B=>{O[B]=y[B].currentValue}),this._mapsWrapper.setMapOptions(O)}triggerResize(y=!0){return new Promise(O=>{setTimeout(()=>this._mapsWrapper.triggerMapEvent("resize").then(()=>{y&&(null!=this.fitBounds?this._fitBounds():this._setCenter()),O()}))})}_updatePosition(y){if(null!=y.latitude||null!=y.longitude||y.fitBounds){if("fitBounds"in y)return void this._fitBounds();"number"!=typeof this.latitude||"number"!=typeof this.longitude||this._setCenter()}}_setCenter(){const y={lat:this.latitude,lng:this.longitude};this.usePanning?this._mapsWrapper.panTo(y):this._mapsWrapper.setCenter(y)}_fitBounds(){switch(this.fitBounds){case!0:this._subscribeToFitBoundsUpdates();break;case!1:this._fitBoundsSubscription&&this._fitBoundsSubscription.unsubscribe();break;default:this._fitBoundsSubscription&&this._fitBoundsSubscription.unsubscribe(),this._updateBounds(this.fitBounds,this.fitBoundsPadding)}}_subscribeToFitBoundsUpdates(){this._zone.runOutsideAngular(()=>{this._fitBoundsSubscription=this._fitBoundsService.getBounds$().subscribe(y=>{this._zone.run(()=>this._updateBounds(y,this.fitBoundsPadding))})})}_updateBounds(y,O){if(y){if(this._isLatLngBoundsLiteral(y)&&"undefined"!=typeof google&&google&&google.maps&&google.maps.LatLngBounds){const q=new google.maps.LatLngBounds;q.union(y),y=q}if(this.usePanning)return void this._mapsWrapper.panToBounds(y,O);this._mapsWrapper.fitBounds(y,O)}}_isLatLngBoundsLiteral(y){return null!=y&&void 0===y.extend}_handleMapCenterChange(){const y=this._mapsWrapper.subscribeToMapEvent("center_changed").subscribe(()=>{this._mapsWrapper.getCenter().then(O=>{this.latitude=O.lat(),this.longitude=O.lng(),this.centerChange.emit({lat:this.latitude,lng:this.longitude})})});this._observableSubscriptions.push(y)}_handleBoundsChange(){const y=this._mapsWrapper.subscribeToMapEvent("bounds_changed").subscribe(()=>{this._mapsWrapper.getBounds().then(O=>{this.boundsChange.emit(O)})});this._observableSubscriptions.push(y)}_handleMapTypeIdChange(){const y=this._mapsWrapper.subscribeToMapEvent("maptypeid_changed").subscribe(()=>{this._mapsWrapper.getMapTypeId().then(O=>{this.mapTypeIdChange.emit(O)})});this._observableSubscriptions.push(y)}_handleMapZoomChange(){const y=this._mapsWrapper.subscribeToMapEvent("zoom_changed").subscribe(()=>{this._mapsWrapper.getZoom().then(O=>{this.zoom=O,this.zoomChange.emit(O)})});this._observableSubscriptions.push(y)}_handleIdleEvent(){const y=this._mapsWrapper.subscribeToMapEvent("idle").subscribe(()=>{this.idle.emit(void 0)});this._observableSubscriptions.push(y)}_handleTilesLoadedEvent(){const y=this._mapsWrapper.subscribeToMapEvent("tilesloaded").subscribe(()=>this.tilesLoaded.emit(void 0));this._observableSubscriptions.push(y)}_handleMapMouseEvents(){[{name:"click",emitter:this.mapClick},{name:"rightclick",emitter:this.mapRightClick},{name:"dblclick",emitter:this.mapDblClick}
1].forEach(O=>{const q=this._mapsWrapper.subscribeToMapEvent(O.name).subscribe(([B])=>{B.placeId&&!this.showDefaultInfoWindow&&B.stop(),O.emitter.emit(B)});this._observableSubscriptions.push(q)})}_handleControlChange(){this._setControls(),this.mapControls.changes.subscribe(()=>this._setControls())}_setControls(){const y={fullscreenControl:!this.disableDefaultUI,mapTypeControl:!1,panControl:!1,rotateControl:!1,scaleControl:!1,streetViewControl:!this.disableDefaultUI,zoomControl:!this.disableDefaultUI};this._mapsWrapper.getNativeMap().then(()=>{this.mapControls.forEach(O=>Object.assign(y,O.getOptions())),this._mapsWrapper.setMapOptions(y)})}}return z.\u0275fac=function(y){return new(y||z)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(Fe),f.\u0275\u0275directiveInject(f.PLATFORM_ID),f.\u0275\u0275directiveInject(_e),f.\u0275\u0275directiveInject(f.NgZone))},z.\u0275cmp=f.\u0275\u0275defineComponent({type:z,selectors:[["agm-map"]],contentQueries:function(y,O,q){if(1&y&&f.\u0275\u0275contentQuery(q,x,4),2&y){let B;f.\u0275\u0275queryRefresh(B=f.\u0275\u0275loadQuery())&&(O.mapControls=B)}},inputs:{longitude:"longitude",latitude:"latitude",zoom:"zoom",draggable:["mapDraggable","draggable"],disableDoubleClickZoom:"disableDoubleClickZoom",disableDefaultUI:"disableDefaultUI",scrollwheel:"scrollwheel",keyboardShortcuts:"keyboardShortcuts",styles:"styles",usePanning:"usePanning",fitBounds:"fitBounds",mapTypeId:"mapTypeId",clickableIcons:"clickableIcons",showDefaultInfoWindow:"showDefaultInfoWindow",gestureHandling:"gestureHandling",tilt:"tilt",minZoom:"minZoom",maxZoom:"maxZoom",controlSize:"controlSize",backgroundColor:"backgroundColor",draggableCursor:"draggableCursor",draggingCursor:"draggingCursor",fitBoundsPadding:"fitBoundsPadding",restriction:"restriction"},outputs:{mapClick:"mapClick",mapRightClick:"mapRightClick",mapDblClick:"mapDblClick",centerChange:"centerChange",boundsChange:"boundsChange",mapTypeIdChange:"mapTypeIdChange",idle:"idle",zoomChange:"zoomChange",mapReady:"mapReady",tilesLoaded:"tilesLoaded"},features:[f.\u0275\u0275ProvidersFeature([Ue,Ze,Ze,_e,Fe,ue,Be,R,We,ze,rt,Ae]),f.\u0275\u0275NgOnChangesFeature],ngContentSelectors:Je,decls:3,vars:0,consts:[[1,"agm-map-container-inner","sebm-google-map-container-inner"],[1,"agm-map-content"]],template:function(y,O){1&y&&(f.\u0275\u0275projectionDef(),f.\u0275\u0275element(0,"div",0),f.\u0275\u0275elementStart(1,"div",1),f.\u0275\u0275projection(2),f.\u0275\u0275elementEnd())},styles:[".agm-map-container-inner[_ngcontent-%COMP%] {\n      width: inherit;\n      height: inherit;\n    }\n    .agm-map-content[_ngcontent-%COMP%] {\n      display:none;\n    }"]}),z._mapOptionsAttributes=["disableDoubleClickZoom","scrollwheel","draggable","draggableCursor","draggingCursor","keyboardShortcuts","styles","zoom","minZoom","maxZoom","mapTypeId","clickableIcons","gestureHandling","tilt","restriction"],z})(),Lt=0,$t=(()=>{class z{constructor(y){this._markerManager=y,this.draggable=!1,this.visible=!0,this.openInfoWindow=!0,this.opacity=1,this.zIndex=1,this.clickable=!0,this.animationChange=new f.EventEmitter,this.markerClick=new f.EventEmitter,this.markerDblClick=new f.EventEmitter,this.markerRightClick=new f.EventEmitter,this.dragStart=new f.EventEmitter,this.drag=new f.EventEmitter,this.dragEnd=new f.EventEmitter,this.mouseOver=new f.EventEmitter,this.mouseOut=new f.EventEmitter,this.infoWindow=new f.QueryList,this._markerAddedToManger=!1,this._observableSubscriptions=[],this._fitBoundsDetails$=new Z.t(1),this._id=(Lt++).toString()}ngAfterContentInit(){this.handleInfoWindowUpdate(),this.infoWindow.changes.subscribe(()=>this.handleInfoWindowUpdate())}handleInfoWindowUpdate(){if(this.infoWindow.length>1)throw new Error("Expected no more than one info window.");this.infoWindow.forEach(y=>{y.hostMarker=this})}ngOnChanges(y){if("string"==typeof this.latitude&&(this.latitude=Number(this.latitude)),"string"==typeof this.longitude&&(this.longitude=Number(this.longitude)),"number"==typeof this.latitude&&"number"==typeof this.longitude){if(!this._markerAddedToManger)return this._markerManager.addMarker(this),this._updateFitBoundsDetail
1s(),this._markerAddedToManger=!0,void this._addEventListeners();(y.latitude||y.longitude)&&(this._markerManager.updateMarkerPosition(this),this._updateFitBoundsDetails()),y.title&&this._markerManager.updateTitle(this),y.label&&this._markerManager.updateLabel(this),y.draggable&&this._markerManager.updateDraggable(this),y.iconUrl&&this._markerManager.updateIcon(this),y.opacity&&this._markerManager.updateOpacity(this),y.visible&&this._markerManager.updateVisible(this),y.zIndex&&this._markerManager.updateZIndex(this),y.clickable&&this._markerManager.updateClickable(this),y.animation&&this._markerManager.updateAnimation(this)}}getFitBoundsDetails$(){return this._fitBoundsDetails$.asObservable()}_updateFitBoundsDetails(){this._fitBoundsDetails$.next({latLng:{lat:this.latitude,lng:this.longitude}})}_addEventListeners(){const y=this._markerManager.createEventObservable("click",this).subscribe(()=>{this.openInfoWindow&&this.infoWindow.forEach(mt=>mt.open()),this.markerClick.emit(this)});this._observableSubscriptions.push(y);const O=this._markerManager.createEventObservable("dblclick",this).subscribe(()=>{this.markerDblClick.emit(null)});this._observableSubscriptions.push(O);const q=this._markerManager.createEventObservable("rightclick",this).subscribe(()=>{this.markerRightClick.emit(null)});this._observableSubscriptions.push(q);const B=this._markerManager.createEventObservable("dragstart",this).subscribe(mt=>this.dragStart.emit(mt));this._observableSubscriptions.push(B);const k=this._markerManager.createEventObservable("drag",this).subscribe(mt=>this.drag.emit(mt));this._observableSubscriptions.push(k);const G=this._markerManager.createEventObservable("dragend",this).subscribe(mt=>this.dragEnd.emit(mt));this._observableSubscriptions.push(G);const H=this._markerManager.createEventObservable("mouseover",this).subscribe(mt=>this.mouseOver.emit(mt));this._observableSubscriptions.push(H);const Ee=this._markerManager.createEventObservable("mouseout",this).subscribe(mt=>this.mouseOut.emit(mt));this._observableSubscriptions.push(Ee);const tt=this._markerManager.createEventObservable("animation_changed",this).subscribe(()=>{this.animationChange.emit(this.animation)});this._observableSubscriptions.push(tt)}id(){return this._id}toString(){return"AgmMarker-"+this._id.toString()}ngOnDestroy(){this._markerManager.deleteMarker(this),this._observableSubscriptions.forEach(y=>y.unsubscribe())}}return z.\u0275fac=function(y){return new(y||z)(f.\u0275\u0275directiveInject(We))},z.\u0275dir=f.\u0275\u0275defineDirective({type:z,selectors:[["agm-marker"]],contentQueries:function(y,O,q){if(1&y&&f.\u0275\u0275contentQuery(q,P,4),2&y){let B;f.\u0275\u0275queryRefresh(B=f.\u0275\u0275loadQuery())&&(O.infoWindow=B)}},inputs:{draggable:["markerDraggable","draggable"],visible:"visible",openInfoWindow:"openInfoWindow",opacity:"opacity",zIndex:"zIndex",clickable:["markerClickable","clickable"],latitude:"latitude",longitude:"longitude",title:"title",label:"label",iconUrl:"iconUrl",animation:"animation"},outputs:{animationChange:"animationChange",markerClick:"markerClick",markerDblClick:"markerDblClick",markerRightClick:"markerRightClick",dragStart:"dragStart",drag:"drag",dragEnd:"dragEnd",mouseOver:"mouseOver",mouseOut:"mouseOut"},features:[f.\u0275\u0275ProvidersFeature([{provide:Ne,useExisting:(0,f.forwardRef)(()=>z)}]),f.\u0275\u0275NgOnChangesFeature]}),z})(),Se=(()=>{class z{static forRoot(y){return{ngModule:z,providers:[...st,{provide:Ie,useClass:Le},{provide:we,useValue:y}]}}}return z.\u0275fac=function(y){return new(y||z)},z.\u0275mod=f.\u0275\u0275defineNgModule({type:z}),z.\u0275inj=f.\u0275\u0275defineInjector({}),z})()},7429:(ft,Te,g)=>{g.d(Te,{y:()=>Ze});var a=g(5861),f=g(5e3),u=g(1135),X=g(4035),I=g(9808),re=g(8966),pe=g(8651);function ee(Ne,_e){if(1&Ne&&(f.\u0275\u0275elementStart(0,"h2",12),f.\u0275\u0275text(1),f.\u0275\u0275elementEnd()),2&Ne){const je=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275textInterpolate(null==je.data?null:je.data.title)}}function ce(Ne,_e){if(1&Ne&&(f.\u0275\u0275elementStart(0,"div",13),f.\u0275\u0275element(1,"img",14),f.\u0275\u0275elementEnd()),2&Ne){const je=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275property("src",je.data.image.url,f.\u0275\u0275sanitizeUrl)("alt",je.data.image.alt)}}function Z(Ne,_e){if(1&Ne&&f.\u0275\u0275element(0,"img",17),2&Ne){const je=f.\u0275\u0275nextContext(2);f.\u0275\u0275property("src","uruguay"==je._pageService.getFlag()?"/assets/images/icons/modal-icon-info-uruguay.svg":"/assets/images/icons/modal-icon-info.svg",f.\u0275\u0275sanitizeUrl)}}function oe(Ne,_e){if(1&Ne&&f.\u0275\u0275element(0,"img",17),2&Ne){const je=f.\u0275\u0275nextContext(2);f.\u0275\u0275property("src",je.data.icon.src,f.\u0275\u0275sanitizeUrl)}}function C(Ne,_e){if(1&Ne&&(f.\u0275\u0275elementStart(0,"div",15),f.\u0275\u0275template(1,Z,1,1,"img",16),f.\u0275\u0275template(2,oe,1,1,"img",16),f.\u0275\u0275elementEnd()),2&Ne){const je=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275property("ngIf",!je.data.icon),f.\u0275\u0275advance(1),f.\u0275\u0275property("ngIf",je.data.icon)}}function Y(Ne,_e){if(1&Ne&&(f.\u0275\u0275elementStart(0,"div",18),f.\u0275\u0275elementStart(1,"a",19),f.\u0275\u0275text(2),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementEnd()),2&Ne){const je=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275property("href",null==je.data?null:je.data.link.url,f.\u0275\u0275sanitizeUrl)("target",(null==je.data?null:je.data.link.options.attributes.target)||"_self"),f.\u0275\u0275advance(1),f.\u0275\u0275textInterpolate(null==je.data?null:je.data.link.text)}}function K(Ne,_e){if(1&Ne){const je=f.\u0275\u0275getCurrentView();f.\u0275\u0275elementStart(0,"div",18),f.\u0275\u0275elementStart(1,"a",20),f.\u0275\u0275listener("click",function(){return f.\u0275\u0275restoreView(je),f.\u0275\u0275nextContext().onNoClick()}),f.\u0275\u0275text(2,"Continuar"),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementEnd()}}const se=function(Ne){return{"not-image":Ne}};let xe=(()=>{class Ne{constructor(je,ht=null,yt){this.dialogRef=je,this.data=ht,this._pageService=yt}ngOnInit(){}onNoClick(){this.dialogRef.close()}}return Ne.\u0275fac=function(je){return new(je||Ne)(f.\u0275\u0275directiveInject(re.so),f.\u0275\u0275directiveInject(re.WI),f.\u0275\u0275directiveInject(pe.P))},Ne.\u0275cmp=f.\u0275\u0275defineComponent({type:Ne,selectors:[["app-general-modal"]],decls:15,vars:13,consts:[[1,"mat-dialog-content"],[1,"content","d-flex"],["mat-button","",1,"close",3,"mat-dialog-close"],[1,"icon-close"],["class","d-block d-sm-none title top-title",4,"ngIf"],["class","left",4,"ngIf"],[1,"texts",3,"ngClass"],["class","icon",4,"ngIf"],[1,"title","d-none","d-sm-block"],[1,"description"],[3,"outerHTML"],["class","link",4,"ngIf"],[1,"d-block","d-sm-none","title","top-title"],[1,"left"],["width","370","height","431",3,"src","alt"],[1,"icon"],["alt","Usuario icono",3,"src",4,"ngIf"],["alt","Usuario icono",3,"src"],[1,"link"],[1,"btn","btn-primary","big",3,"href","target"],[1,"btn","btn-primary","big",3,"click"]],template:function(je,ht){1&je&&(f.\u0275\u0275elementStart(0,"mat-dialog-content",0),f.\u0275\u0275elementStart(1,"div",1),f.\u0275\u0275elementStart(2,"button",2),f.\u0275\u0275element(3,"span",3),f.\u0275\u0275elementEnd(),f.\u0275\u0275template(4,ee,2,1,"h2",4),f.\u0275\u0275template(5,ce,2,2,"div",5),f.\u0275\u0275elementStart(6,"div",6),f.\u0275\u0275elementStart(7,"div"),f.\u0275\u0275template(8,C,3,2,"div",7),f.\u0275\u0275elementStart(9,"h2",8),f.\u0275\u0275text(10),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(11,"div",9),f.\u0275\u0275element(12,"span",10),f.\u0275\u0275elementEnd(),f.\u0275\u0275template(13,Y,3,3,"div",11),f.\u0275\u0275template(14,K,3,0,"div",11),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementEnd()),2&je&&(f.\u0275\u0275advance(2),f.\u0275\u0275property("mat-dialog-close",!0),f.\u0275\u0275advance(2),f.\u0275\u0275property("ngIf",ht.data.image),f.\u0275\u0275advance(1),f.\u0275\u0275property("ngIf",ht.data.image),f.\u0275\u0275advance(1),f.\u0275\u0275property("ngClass",f.\u0275\u0275pureFunction1(11,se,!ht.data.image)),f.\u0275\u0275advance(1),f.\u0275\u0275classMap(ht.data.icon?"content-texts-val":"content-texts"),f.\u0275\u0275advance(1),f.\u0275\u0275property("ngIf",!ht.data.image),f.\u0275\u0275advance(2),f.\u0275\u0275textInterpolate(null==ht.data?null:ht.data.title),f.\u0275\u0275advance(2),f.\u0275\u0275property("outerHTML",null==ht.data?null:ht.data.description,f.\u0275\u0275sanitizeHtml),f.\u0275\u0275advance(1),f.\u0275\u0275property("ngIf",!ht.data.close||null==ht.data.close||null==ht.data.close),f.\u0275\u0275advance(1),f.\u0275\u0275property("ngIf",ht.data.close))},directives:[re.xY,re.ZT,I.O5,I.mk],styles:[".content[_ngcontent-%COMP%]{align-items:center;position:relative}.content[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{background:transparent;border:0;color:#66182a;font-size:2rem;opacity:.9;position:absolute;right:3rem;top:3rem}.content[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]:hover, .content[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]:focus{outline:none}.content[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]{max-width:370px;width:100%}.content[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{display:block;height:auto;width:100%}.content[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:4rem;line-height:4.5rem;margin:0;text-align:left}.content[_ngcontent-%COMP%]   .title.top-title[_ngcontent-%COMP%]{margin:0 auto;max-width:220px;padding:5rem 0 2rem}.content[_ngcontent-%COMP%]   .texts[_ngcontent-%COMP%]{margin:0 auto;max-width:100%;padding:3rem 0;width:395px}.content[_ngcontent-%COMP%]   .texts[_ngcontent-%COMP%]   .content-texts[_ngcontent-%COMP%]{margin:0 auto;max-width:277px}.content[_ngcontent-%COMP%]   .texts.not-image[_ngcontent-%COMP%]{max-width:100%;text-align:center;padding:6rem 0;width:570px}.content[_ngcontent-%COMP%]   .texts.not-image[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{text-align:center}.content[_ngcontent-%COMP%]   .texts.not-image[_ngcontent-%COMP%]   .content-texts[_ngcontent-%COMP%]{max-width:450px}.content[_ngcontent-%COMP%]   .texts.not-image[_ngcontent-%COMP%]   .content-texts[_ngcontent-%COMP%]{max-width:600px}.content[_ngcontent-%COMP%]   .texts[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{display:block;height:auto;margin:0 auto 3rem;width:76px}.content[_ngcontent-%COMP%]   .texts[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{font-size:1.6rem;line-height:2.1rem;margin-top:1rem}.content[_ngcontent-%COMP%]   .texts[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]  p, .content[_ngcontent-%COMP%]   .texts[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:1.6rem;line-height:2.1rem;margin:0}.content[_ngcontent-%COMP%]   .texts[_ngcontent-%COMP%]   .description-val[_ngcontent-%COMP%]{font-size:1.6rem;line-height:2.1rem;margin-top:1rem}.content[_ngcontent-%COMP%]   .texts[_ngcontent-%COMP%]   .description-val[_ngcontent-%COMP%]  p, .content[_ngcontent-%COMP%]   .texts[_ngcontent-%COMP%]   .description-val[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:1.6rem;line-height:2.1rem;margin:0}.content[_ngcontent-%COMP%]   .texts[_ngcontent-%COMP%]   .link[_ngcontent-%COMP%]{margin-top:3rem}.content[_ngcontent-%COMP%]   .texts[_ngcontent-%COMP%]   .link[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:inline-block;text-align:center;min-width:202px;width:auto}  .modal-general .mat-dialog-container{padding:0}  .modal-general .mat-dialog-content{margin:0;max-height:95vh;padding:0}@media (max-width: 766px){.content[_ngcontent-%COMP%]{flex-direction:column}.content[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{font-size:1.5rem;right:1.6rem;top:1.6rem}.content[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]{max-height:150px;overflow:hidden}.content[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:150px;object-fit:cover;object-position:50% 50%}.content[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:3rem;line-height:3.5rem;text-align:center}.content[_ngcontent-%COMP%]   .texts[_ngcontent-%COMP%]{padding:2rem 2rem 4rem;text-align:center;width:100%}.content[_ngcontent-%COMP%]   .texts.not-image[_ngcontent-%COMP%]{padding:5rem 2rem 4rem;width:100%}.content[_ngcontent-%COMP%]   .texts.not-image[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{display:block}.content[_ngcontent-%COMP%]   .texts[_ngcontent-%COMP%]   .link[_ngcontent-%COMP%]{margin-top:2rem}.content[_ngcontent-%COMP%]   .texts[_ngcontent-%COMP%]   .link[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{width:100%}}"]}),Ne})();var Ve=g(2340),ke=g(1212),$e=g(8553);let ot=(()=>{class Ne{constructor(){this._listners=new u.X(!1)}listen(){return this._listners.asObservable()}submit(je){this._listners.next(je)}}return Ne.\u0275fac=function(je){return new(je||Ne)},Ne.\u0275prov=f.\u0275\u0275defineInjectable({token:Ne,factory:Ne.\u0275fac,providedIn:"root"}),Ne})();var be=g(2313),ae=g(7542),de=g(4009);let Oe=(()=>{class Ne{constructor(je){this._localStorage=je,this._listners=new u.X(this._localStorage.getItem("attrMap")?JSON.parse(this._localStorage.getItem("attrMap")):[])}listen(){return this._listners.asObservable()}submit(je){this._listners.next(je),this._localStorage.setItem("attrMap",JSON.stringify(je))}}return Ne.\u0275fac=function(je){return new(je||Ne)(f.\u0275\u0275inject(de.g))},Ne.\u0275prov=f.\u0275\u0275defineInjectable({token:Ne,factory:Ne.\u0275fac,providedIn:"root"}),Ne})();var He=g(1130);let Je=(()=>{class Ne{constructor(je,ht){this.loaderSvc=je,this.document=ht,this.isLoading$=this.loaderSvc.isLoading$}ngOnInit(){this.loadScript()}loadScript(){let je=this.document.body,ht=this.document.createElement("script");
1ht.innerHTML="",ht.src="../assets/js/script.js",ht.async=!0,ht.defer=!0,je.appendChild(ht)}}return Ne.\u0275fac=function(je){return new(je||Ne)(f.\u0275\u0275directiveInject(He.D),f.\u0275\u0275directiveInject(I.K0))},Ne.\u0275cmp=f.\u0275\u0275defineComponent({type:Ne,selectors:[["app-loader"]],decls:3,vars:3,consts:[[1,"container-lottie",3,"hidden"],["id","lottie"]],template:function(je,ht){1&je&&(f.\u0275\u0275elementStart(0,"div",0),f.\u0275\u0275pipe(1,"async"),f.\u0275\u0275element(2,"div",1),f.\u0275\u0275elementEnd()),2&je&&f.\u0275\u0275property("hidden",1!=f.\u0275\u0275pipeBind1(1,1,ht.isLoading$))},pipes:[I.Ov],styles:["#lottie[_ngcontent-%COMP%]{max-width:16.5rem;margin:0 auto;height:100vh}.container-lottie[_ngcontent-%COMP%]{position:fixed;width:100%;height:100%;z-index:9999;background:#d6d4d5a8;top:0}[hidden][_ngcontent-%COMP%]{display:none!important}svg[_ngcontent-%COMP%]   .svg-elem-1[_ngcontent-%COMP%]{fill:transparent;transition:fill .7s cubic-bezier(.47,0,.745,.715) .8s}svg.active[_ngcontent-%COMP%]   .svg-elem-1[_ngcontent-%COMP%]{fill:#000}svg[_ngcontent-%COMP%]   .svg-elem-2[_ngcontent-%COMP%]{fill:transparent;transition:fill .7s cubic-bezier(.47,0,.745,.715) .9s}svg.active[_ngcontent-%COMP%]   .svg-elem-2[_ngcontent-%COMP%]{fill:#000}svg[_ngcontent-%COMP%]   .svg-elem-3[_ngcontent-%COMP%]{fill:transparent;transition:fill .7s cubic-bezier(.47,0,.745,.715) 1s}svg.active[_ngcontent-%COMP%]   .svg-elem-3[_ngcontent-%COMP%]{fill:#000}svg[_ngcontent-%COMP%]   .svg-elem-4[_ngcontent-%COMP%]{fill:transparent;transition:fill .7s cubic-bezier(.47,0,.745,.715) 1.1s}svg.active[_ngcontent-%COMP%]   .svg-elem-4[_ngcontent-%COMP%]{fill:#000}svg[_ngcontent-%COMP%]   .svg-elem-5[_ngcontent-%COMP%]{fill:transparent;transition:fill .7s cubic-bezier(.47,0,.745,.715) 1.2s}svg.active[_ngcontent-%COMP%]   .svg-elem-5[_ngcontent-%COMP%]{fill:#000}svg[_ngcontent-%COMP%]   .svg-elem-6[_ngcontent-%COMP%]{fill:transparent;transition:fill .7s cubic-bezier(.47,0,.745,.715) 1.3s}svg.active[_ngcontent-%COMP%]   .svg-elem-6[_ngcontent-%COMP%]{fill:#000}svg[_ngcontent-%COMP%]   .svg-elem-7[_ngcontent-%COMP%]{fill:transparent;transition:fill .7s cubic-bezier(.47,0,.745,.715) 1.4s}svg.active[_ngcontent-%COMP%]   .svg-elem-7[_ngcontent-%COMP%]{fill:#000}svg[_ngcontent-%COMP%]   .svg-elem-8[_ngcontent-%COMP%]{fill:transparent;transition:fill .7s cubic-bezier(.47,0,.745,.715) 1.5s}svg.active[_ngcontent-%COMP%]   .svg-elem-8[_ngcontent-%COMP%]{fill:#000}svg[_ngcontent-%COMP%]   .svg-elem-9[_ngcontent-%COMP%]{fill:transparent;transition:fill .7s cubic-bezier(.47,0,.745,.715) 1.6s}svg.active[_ngcontent-%COMP%]   .svg-elem-9[_ngcontent-%COMP%]{fill:#000}svg[_ngcontent-%COMP%]   .svg-elem-10[_ngcontent-%COMP%]{fill:transparent;transition:fill .7s cubic-bezier(.47,0,.745,.715) 1.7s}svg.active[_ngcontent-%COMP%]   .svg-elem-10[_ngcontent-%COMP%]{fill:#000}svg[_ngcontent-%COMP%]   .svg-elem-11[_ngcontent-%COMP%]{fill:transparent;transition:fill .7s cubic-bezier(.47,0,.745,.715) 1.8s}svg.active[_ngcontent-%COMP%]   .svg-elem-11[_ngcontent-%COMP%]{fill:#000}svg[_ngcontent-%COMP%]   .svg-elem-12[_ngcontent-%COMP%]{fill:transparent;transition:fill .7s cubic-bezier(.47,0,.745,.715) 1.9s}svg.active[_ngcontent-%COMP%]   .svg-elem-12[_ngcontent-%COMP%]{fill:#000}svg[_ngcontent-%COMP%]   .svg-elem-13[_ngcontent-%COMP%]{fill:transparent;transition:fill .7s cubic-bezier(.47,0,.745,.715) 2s}svg.active[_ngcontent-%COMP%]   .svg-elem-13[_ngcontent-%COMP%]{fill:#000}svg[_ngcontent-%COMP%]   .svg-elem-14[_ngcontent-%COMP%]{fill:transparent;transition:fill .7s cubic-bezier(.47,0,.745,.715) 2.1s}svg.active[_ngcontent-%COMP%]   .svg-elem-14[_ngcontent-%COMP%]{fill:#000}"]}),Ne})();const Ie=["pixel"];function Fe(Ne,_e){if(1&Ne&&(f.\u0275\u0275elementContainerStart(0),f.\u0275\u0275elementStart(1,"noscript"),f.\u0275\u0275element(2,"iframe",4),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementContainerEnd()),2&Ne){const je=f.\u0275\u0275nextContext();f.\u0275\u0275advance(2),f.\u0275\u0275property("src","https://www.googletagmanager.com/ns.html?id="+je.gtm,f.\u0275\u0275sanitizeResourceUrl)}}function Ue(Ne,_e){1&Ne&&f.\u0275\u0275element(0,"router-outlet")}class Ze{constructor(_e,je,ht,yt,st,_t,we,Le,We,ue,Be,R){this._pageService=_e,this._hostNameService=je,this.platformId=ht,this.geocodeService=yt,this._navbarService=st,this.sanitizer=_t,this._seo=we,this.dialog=Le,this.location=We,this._localStorage=ue,this.geoAttr=Be,this.router=R,this.replace=/\//gi,this.endPage=!1,this.type="",this.country="",this.data=[],this.error=null,this.indexModal=0,this.config=[],this.isLoading=!1,this.pixelFacebook=!1,this.pixelBlog=!1,this.lat=0,this.lng=0,this.dataAddress={},this.gtm=null,this.gtmFrame="https://www.googletagmanager.com/ns.html?id=",Ze.isBrowser.next((0,I.NF)(this.platformId))}permision(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)&&navigator.geolocation.getCurrentPosition(_e=>{this.lat=_e.coords.latitude,this.lng=_e.coords.longitude,this.setPositionForm()}),new Promise((_e,je)=>navigator.permissions?navigator.permissions.query({name:"geolocation"}).then(ht=>{this.map()}):je(new Error("Permission API is not supported")))}map(){navigator&&navigator.geolocation&&navigator.geolocation.getCurrentPosition(_e=>{this.lat=_e.coords.latitude,this.lng=_e.coords.longitude,this.setPositionForm()})}setPositionForm(){if(0!==this.lat){let _e={lat:this.lat,lng:this.lng},je=this;this.data.header&&(this.data.header.cityLocal=_e),je._navbarService.submit(_e),this._pageService.getDataLocation(this.lat,this.lng).subscribe(ht=>{var yt,st,_t,we;je.dataAddress=je.geocodeService.getAddress(je.dataAddress,ht.results);let We="";switch(je.dataAddress.country.toLowerCase()){case"colombia":case"panama":case"ecuador":We=`/${je.dataAddress.country.toLowerCase()}`;break;case"el salvador":We="/salvador"}je.dataAddress.country&&this.validateBlog(We),je._localStorage.setItem("country",We),je._localStorage.setItem("city",je.dataAddress.city),je.geoAttr.submit(je.dataAddress.attr),(null===(st=null===(yt=this.data)||void 0===yt?void 0:yt.content)||void 0===st?void 0:st.modal_info)&&this.dataAddress.attr&&this.modalGeneral(null===(we=null===(_t=this.data)||void 0===_t?void 0:_t.content)||void 0===we?void 0:we.modal_info)})}}validateBlog(_e){(0,I.NF)(this.platformId)&&_e!=this._localStorage.getItem("country")&&"/blog"==this.router.url&&window.location.reload()}modalGeneral(_e){this.dataAddress.attr.forEach(je=>{if(_e.cities){let ht=_e.cities.find(yt=>yt.name.replace(/[\u0300-\u036f]/g,"").toLowerCase()==je.replace(/[\u0300-\u036f]/g,"").toLowerCase());ht&&this._pageService.getModal(_e.endpoint,ht.tid,_e.page).subscribe(yt=>{yt[0]&&0==this.indexModal&&(this.indexModal=1,this.dialog.open(xe,{panelClass:"modal-general",autoFocus:!1,maxWidth:"770px",data:yt[0]}))})}})}ngOnInit(){(0,I.NF)(this.platformId)&&(this.permision(),this._localStorage.getItem("country")?(""==this.location.path()||"/"==this.location.path())&&this._hostNameService.getHostname()!=Ve.N.hosts.grupoUcm&&(window.location.href=this._localStorage.getItem("country")):(0,I.NF)(this.platformId)&&this.map()),this.routerPage(),this.routes=this.router.config}renderModules(_e){this.router.resetConfig(this.config),this.router.navigateByUrl(_e||this.router.url),this.routes=this.router.config,this.isLoading=!1}lazyModules(_e,je,ht,yt){switch(_e){case"section":this.config.push({path:"",pathMatch:"prefix",data:{resData:je},loadChildren:()=>Promise.all([g.e(7423),g.e(6856),g.e(4805),g.e(5245),g.e(5073),g.e(6526),g.e(1125),g.e(2081),g.e(5903),g.e(887)]).then(g.bind(g,887)).then(st=>st.SectionsModule)});break;case"benefit":this.config.push({path:"",pathMatch:"prefix",data:{resData:je},loadChildren:()=>Promise.all([g.e(4805),g.e(5073),g.e(8567),g.e(6526),g.e(645),g.e(5235)]).then(g.bind(g,5235)).then(st=>st.PharmacyModule)});break;case"news":this.config.push({path:"",pathMatch:"prefix",data:{resData:je},loadChildren:()=>Promise.all([g.e(4805),g.e(5073),g.e(6526),g.e(4197),g.e(8905)]).then(g.bind(g,8905)).then(st=>st.NewsModule)});break;case"post":this.config.push({path:"",pathMatch:"prefix",data:{resData:je},loadChildren:()=>Promise.all([g.e(4805),g.e(5073),g.e(6526),g.e(2564),g.e(4197),g.e(3420)]).then(g.bind(g,3420)).then(st=>st.BlogModule)});break;case"trainings":this.config.push({path:":id",pathMatch:"prefix",data:{resData:je},loadChildren:()=>Promise.all([g.e(4805),g.e(5073),g.e(6526),g.e(5709),g.e(4045)]).then(g.bind(g,4045)).then(st=>st.TrainingsModule)});break;case"emi_specialists":this.config.push({path:"",pathMatch:"prefix",data:{resData:je},loadChildren:()=>Promise.all([g.e(9814),g.e(1880),g.e(4805),g.e(5073),g.e(8692),g.e(6526),g.e(5380),g.e(4963),g.e(5030)]).then(g.bind(g,5030)
1).then(st=>st.EmiSpecialistsModule)});break;case"term_condition":this.config.push({path:":id",pathMatch:"prefix",data:{resData:je},loadChildren:()=>Promise.all([g.e(4805),g.e(5073),g.e(6526),g.e(5709),g.e(1974)]).then(g.bind(g,1974)).then(st=>st.TermConditionModule)});break;case"help_type":this.config.push({path:"",pathMatch:"prefix",data:{resData:je},loadChildren:()=>Promise.all([g.e(4805),g.e(5073),g.e(6526),g.e(4482)]).then(g.bind(g,9556)).then(st=>st.HelpTypeModule)});break;case"help":this.config.push({path:"",pathMatch:"prefix",data:{resData:je},loadChildren:()=>Promise.all([g.e(4805),g.e(5073),g.e(6526),g.e(3595)]).then(g.bind(g,3595)).then(st=>st.HelpModule)});break;case"seccion_ecommerce":this.config.push({path:"",pathMatch:"prefix",data:{resData:je},loadChildren:()=>Promise.all([g.e(4805),g.e(5073),g.e(6230)]).then(g.bind(g,6230)).then(st=>st.SectionsEcommerceModule)});break;case"error":this.config.push({path:"",pathMatch:"prefix",data:{resData:je},loadChildren:()=>Promise.all([g.e(4805),g.e(4077)]).then(g.bind(g,4077)).then(st=>st.ErrorModule)})}!this._hostNameService.getHostname().includes("ucm")&&!this._hostNameService.getHostname().includes("uy")&&this.config.push({path:"",data:{resData:je},loadChildren:()=>Promise.all([g.e(4805),g.e(9166)]).then(g.bind(g,9166)).then(st=>st.CountrySelectorModule)}),this.renderModules(yt)}routerPage(_e){var je=this;this.router.events.subscribe(function(){var ht=(0,a.Z)(function*(yt){yt instanceof X.OD&&(je.isLoading=!0,je.endPage||(je.endPage=!0,je._pageService.getPage(yt.url.split("?")[0],_e||je.country,yt.url.split("?")[1]).subscribe(st=>{var _t,we,Le,We,ue,Be;(null===(_t=null==st?void 0:st.content)||void 0===_t?void 0:_t.seo)&&je._seo.generateTags(st.content.seo,je._pageService.getFlag()),je.lazyModules(null===(we=null==st?void 0:st.content)||void 0===we?void 0:we.type,st,je._pageService.getFlag(),yt.url),je.scriptPixel(yt.url),je.scriptGtm(yt.url),je.data=st,je.error=st.status,(null===(We=null===(Le=je.data)||void 0===Le?void 0:Le.content)||void 0===We?void 0:We.modal_info)&&je.dataAddress.attr&&je.modalGeneral(null===(Be=null===(ue=je.data)||void 0===ue?void 0:ue.content)||void 0===Be?void 0:Be.modal_info)},st=>{(st={error:{code:"404"}}).status>=400&&st.status<500?st.error.code="404":st.error.code>=500&&(st={error:{code:"500"}}),je.lazyModules("error",st.error,"",yt.url)})))});return function(yt){return ht.apply(this,arguments)}}())}getSafeHTML(_e){const ht=`<script type="application/ld+json">${JSON.stringify(_e,null,2)}<\/script>`;return this.sanitizer.bypassSecurityTrustHtml(ht)}addSchemaJson(_e){(null==_e?void 0:_e.includes("colombia"))&&(this.jsonLD=this.getSafeHTML({"@context":"http://schema.org","@type":"Organization",name:"Grupo emi",url:"https://www.grupoemi.com/colombia",sameAs:["https://twitter.com","https://plus.google.com/+example","https://www.facebook.com/Grupoemi","https://foursquare.com/v/example/4e296473149554c77442cc98","http://www.yelp.com/biz/your-business-url-from-yelp","https://www.instagram.com/grupoemi/","https://co.linkedin.com/company/grupo-emi"],address:{"@type":"PostalAddress",streetAddress:"Cra 48 # 14 - 49  Medell\xedn, Colombia ",addressRegion:"CO",postalCode:"(604) 604 4233",addressCountry:"CO"}})),(null==_e?void 0:_e.includes("uruguay"))&&(this.jsonLD=this.getSafeHTML({"@context":"http://schema.org","@type":"Organization",name:"ucm",url:"https://www.ucm.com.uy/",sameAs:["https://twitter.com","https://plus.google.com/+example","https://www.facebook.com/ucm.falck/","https://foursquare.com/v/example/4e296473149554c77442cc98","http://www.yelp.com/biz/your-business-url-from-yelp","https://www.instagram.com/ucm.uy/","https://www.linkedin.com/company/ucm-uruguay/"],address:{"@type":"PostalAddress",uruguay:"123 Example Street",addressRegion:"UY",postalCode:"94040",addressCountry:"ES"}}))}scriptPixel(_e){let je="";"/blog"===_e&&Ve.N.enablePixel&&"uruguay"!=this._pageService.getFlag()&&(this.pixelBlog=!0,je=Ve.N.pixel.blog),"/colombia"===_e&&Ve.N.enablePixel&&(this.pixelFacebook=!0,je=Ve.N.pixel.home),this.pixel.nativeElement.insertAdjacentHTML("beforeend",`<script> !function(f,b,e,v,n,t,s) {if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)}; if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t,s)}(window, document,'script', 'https://connect.facebook.net/en_US/fbevents.js'); fbq('init', '${je}'); fbq('track', 'PageView'); <\/script>  <noscript><img height='1' width='1' style='display:none' src='https://www.facebook.com/tr?id=${je}&ev=PageView&noscript=1' /></noscript>`)}scriptGtm(_e){this.gtm=Ve.N.gtm[this._pageService.getFlag()],this.addSchemaJson(this._pageService.getFlag()),"uruguay"==this._pageService.getFlag()?(this.gtmFrame=this.gtmFrame+this.gtm,(_e.includes("ecommerce")||_e.includes("paso1")||_e.includes("paso2")||_e.includes("paso3")||_e.includes("ecommerce-2")||_e.includes("confirmacion-pago"))&&(this.gtm=Ve.N.gtm.ecommerceUy,this.gtmFrame=this.gtm)):(this.gtmFrame=this.gtmFrame+this.gtm,(_e.includes("ecommerce")||_e.includes("paso1")||_e.includes("paso2")||_e.includes("paso3")||_e.includes("ecommerce-2")||_e.includes("confirmacion-pago"))&&(this.gtm=Ve.N.gtm.ecommerceCol,this.gtmFrame=this.gtm)),(0,I.NF)(this.platformId)&&function(je,ht,yt,st,_t){je[st]=je[st]||[],je[st].push({"gtm.start":(new Date).getTime(),event:"gtm.js"});var we=ht.getElementsByTagName("script")[0],Le=ht.createElement("script");Le.async=!0,Le.src="https://www.googletagmanager.com/gtm.js?id="+_t,we.parentNode.insertBefore(Le,we)}(window,document,0,"dataLayer",this.gtm)}}Ze.isBrowser=new u.X(null),Ze.\u0275fac=function(_e){return new(_e||Ze)(f.\u0275\u0275directiveInject(pe.P),f.\u0275\u0275directiveInject(ke.J),f.\u0275\u0275directiveInject(f.PLATFORM_ID),f.\u0275\u0275directiveInject($e.M),f.\u0275\u0275directiveInject(ot),f.\u0275\u0275directiveInject(be.H7),f.\u0275\u0275directiveInject(ae.v),f.\u0275\u0275directiveInject(re.uw),f.\u0275\u0275directiveInject(I.Ye),f.\u0275\u0275directiveInject(de.g),f.\u0275\u0275directiveInject(Oe),f.\u0275\u0275directiveInject(X.F0))},Ze.\u0275cmp=f.\u0275\u0275defineComponent({type:Ze,selectors:[["app-root"]],viewQuery:function(_e,je){if(1&_e&&f.\u0275\u0275viewQuery(Ie,5),2&_e){let ht;f.\u0275\u0275queryRefresh(ht=f.\u0275\u0275loadQuery())&&(je.pixel=ht.first)}},decls:6,vars:3,consts:[[3,"innerHTML"],[1,"one"],["pixel",""],[4,"ngIf"],["height","0","width","0",2,"display","none","visibility","hidden",3,"src"]],template:function(_e,je){1&_e&&(f.\u0275\u0275element(0,"div",0),f.\u0275\u0275element(1,"div",1,2),f.\u0275\u0275element(3,"app-loader"),f.\u0275\u0275template(4,Fe,3,1,"ng-container",3),f.\u0275\u0275template(5,Ue,1,0,"router-outlet",3)),2&_e&&(f.\u0275\u0275property("innerHTML",je.jsonLD,f.\u0275\u0275sanitizeHtml),f.\u0275\u0275advance(4),f.\u0275\u0275property("ngIf",je.endPage),f.\u0275\u0275advance(1),f.\u0275\u0275property("ngIf",!je.isLoading))},directives:[Je,I.O5,X.lC],styles:[""]})},1021:(ft,Te,g)=>{g.d(Te,{z:()=>oe});var a=g(9808),f=g(7322),u=g(4107),X=g(3075),I=g(1079),re=g(4112),pe=g(2340),ee=g(7531),ce=g(3315),Z=g(5e3);let oe=(()=>{class C{}return C.\u0275fac=function(K){return new(K||C)},C.\u0275mod=Z.\u0275\u0275defineNgModule({type:C}),C.\u0275inj=Z.\u0275\u0275defineInjector({imports:[[a.ez,X.UX,ce.Y4,X.u5,f.lN,u.LD,ee.c,I.Bb,re.su.forRoot({clientId:"<mandatory>",apiKey:pe.N.googleKey,libraries:["places","geometry"]})]]}),C})()},8553:(ft,Te,g)=>{g.d(Te,{M:()=>oe});var a=g(8505),f=g(4004),u=g(3900),X=g(2076),I=g(9646),re=g(9751),pe=g(520),ee=g(5e3),ce=g(4112),Z=g(8966);let oe=(()=>{class C{constructor(K,se,xe){this.mapLoader=K,this.http=se,this.dialog=xe}initGeocoder(){this.geocoder=new google.maps.Geocoder}waitForMapsToLoad(){return this.geocoder?(0,I.of)(!0):(0,X.D)(this.mapLoader.load()).pipe((0,a.b)(()=>this.initGeocoder()),(0,f.U)(()=>!0))}getAddress(K,se,xe){var Ve;let ke=null;K.address=null===(Ve=se[0])||void 0===Ve?void 0:Ve.formatted_address,K.attr=[];for(let $e=0;$e<se.length;++$e){let ot=se[$e].address_components;for(let be=0;be<ot.length;++be){let ae=ot[be].types;for(let de=0;de<ae.length;++de)"administrative_area_level_1"===ae[de]&&!ke&&(K.city=ot[be].long_name),"administrative_area_level_2"===ae[de]&&(K.city=ot[be].long_name),"locality"===ae[de]&&(ke=ot[be].long_name,K.city=ot[be].long_name),"country"===ae[de]&&(K.country=ot[be].long_name,K.shortName=ot[be].short_name),"neighborhood"===ae[de]&&(K.neighborhood=ot[be].long_name),K.attr.includes(ot[be].long_name.replace(/[\u0300-\u036f]/g,"").toLowerCase())||K.attr.push(ot[be].long_name.replace(/[\u0300-\u036f]/g,"").toLowerCase())}}return K}geocodeAddress(K){return this.waitForMapsToLoad().pipe((0,u.w)(()=>new re.y(se=>{this.geocoder.geocode({location:K},(xe,Ve)=>{Ve==google.maps.GeocoderStatus.OK?se.next(xe):se.next({lat:0,lng:0}),se.complete()})})))}getAdress(){let K=new pe.WM;return K=K.set("Content-Type","application/json; charset=utf-8"),K=K.set("Ambiente","CoPlsUy"),this.http.post("https://somosemipreapi.azurewebsites.net/api/interface/obtenerdireccionesapis",{direccion:"Carrera 68 18 30",municipio:"11001",pais:"57",lat:"",lng:"",lista:"0"},{headers:K})}}return C.\u0275fac=function(K){return new(K||C)(ee.\u0275\u0275inject(ce.W7),ee.\u0275\u0275inject(pe.eN),ee.\u0275\u0275inject(Z.uw))},C.\u0275prov=ee.\u0275\u0275defineInjectable({token:C,factory:C.\u
10275fac}),C})()},1212:(ft,Te,g)=>{g.d(Te,{J:()=>pe});var a=g(9808),f=g(520),u=g(5e3),X=g(888),I=g(2843),re=g(2340);let pe=(()=>{class ee{constructor(Z,oe,C){this._httpClient=Z,this.request=oe,this.platformId=C}getHostname(){return(0,a.PM)(this.platformId)?this.request.get("host"):"localhost"===document.location.hostname?String(re.N.hostName):String(document.location.hostname)}getRoute(Z,oe,C){let K=Z.split("/");return oe=(oe=(oe=oe.delete("gclid")).delete("gclsrc")).delete("utm"),"blog"!=K[1]?this._httpClient.get(`${re.N.apis[C]}/api/content?path=${Z}`,{params:oe}):(0,I._)(!0)}makeid(Z){for(var oe="",C="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",Y=C.length,K=0;K<Z;K++)oe+=C.charAt(Math.floor(Math.random()*Y));return oe}getParams(Z){let oe=new f.LE,C=Z?(/^[?#]/.test(Z)?Z.slice(1):Z).split("&").reduce((Y,K)=>{let[se,xe]=K.split("=");return Y[se]=xe?decodeURIComponent(xe.replace(/\+/g," ")):"",Y},{}):{};for(const Y in C)Y&&(oe=oe.append(`${Y}`,`${C[Y]}`));return oe}}return ee.\u0275fac=function(Z){return new(Z||ee)(u.\u0275\u0275inject(f.eN),u.\u0275\u0275inject(X.Z,8),u.\u0275\u0275inject(u.PLATFORM_ID))},ee.\u0275prov=u.\u0275\u0275defineInjectable({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})()},1130:(ft,Te,g)=>{g.d(Te,{D:()=>u});var a=g(7579),f=g(5e3);let u=(()=>{class X{constructor(){this.isLoading$=new a.x}show(){this.isLoading$.next(!0)}hide(){this.isLoading$.next(!1)}}return X.\u0275fac=function(re){return new(re||X)},X.\u0275prov=f.\u0275\u0275defineInjectable({token:X,factory:X.\u0275fac,providedIn:"root"}),X})()},8651:(ft,Te,g)=>{g.d(Te,{P:()=>ce});var a=g(520),f=g(4004),u=g(2340),X=g(5e3),I=g(1212),re=g(4009),pe=g(7542),ee=g(9808);let ce=(()=>{class Z{constructor(C,Y,K,se,xe){this._hostNameService=C,this._localStorage=Y,this._httpClient=K,this._seo=se,this.datepipe=xe,this.flag="",this.country="",this.headers=new a.WM,this.headers=this.headers.set("Content-Type","application/json"),this.headers=this.headers.set("Access-Control-Allow-Origin","*"),this.headers=this.headers.set("Access-Control-Allow-Methods","POST, GET, PUT, UPDATE, OPTIONS"),this.headers=this.headers.set("Ambiente",u.N.apisAdress[this.getFlag()])}getPage(C,Y,K){let se="";null!=K&&(se=`&${K}`);let xe=C.substring(1).split("/"),Ve=C.replace(xe[0],"").slice(1)||"/",ke=xe[0];switch(this._hostNameService.getHostname()){case u.N.hosts.grupoEmi:return this.renderEmi(Ve,ke,se,C);case u.N.hosts.grupoUcm:return this.renderUcm(Ve,se,C);default:return this.renderEmi(Ve,ke,se,C)}}specialistCoverage(C,Y,K,se){return C.webform_id=Y,C.city=se,this._httpClient.post(`${u.N.apis[this.flag]}${K}`,C)}rate(C,Y){return this._httpClient.post(`${u.N.apis[this.flag]}/api/help/rate`,{id:C,answer:Y})}getDataLocation(C,Y){return this._httpClient.get(`https://${u.N.hosts.grupoEmi}/address?address=${this._hostNameService.makeid(20)}&lat=${C}&lng=${Y}`)}sendLike(C){return this._httpClient.post(`${u.N.apis[this.flag]}/api/like-it`,{id:C})}checkCode(C,Y){return this._httpClient.post(`${u.N.apis[this.flag]}/api/account/check-code`,{document_type:Y.TipoDocumento,document_number:Y.Documento,code:C})}renderUcm(C,Y,K){this._seo.titleDefault("ucm"),this.country="",this.flag="uruguay";let xe=this._hostNameService.getParams(Y);return K.includes("confirmacion-pago")?this._httpClient.get(`${u.N.apis[this.flag]}/api/content?path=/confirmacion-pago`,{params:xe}).pipe((0,f.U)(Ve=>(Ve.content.blocks=[{bundle:"response_pay",entity_type:"block_content",fields:{data:""},target_id:1185}],Ve))):this._httpClient.get(`${u.N.apis[this.flag]}/api/content?path=${K}`,{params:xe})}renderEmi(C,Y,K,se){let xe=this._hostNameService.getParams(K);switch(this._seo.titleDefault("emi"),Y){case"blog":return this._localStorage.getItem("country")?(this.flag=this._localStorage.getItem("country").replace("/",""),this.country=this._localStorage.getItem("country").replace("/","")):(this.flag="colombia",this.country="colombia"),xe.get("pais")&&(this.flag=xe.get("pais"),this.country=xe.get("pais")),this._httpClient.get(`${u.N.apis[this.flag]}/api/content?path=${se}`,{params:xe});case"":return this.flag="colombia",this._httpClient.get(`${u.N.apis[this.flag]}/api/domain`);case"colombia":return this.flag="colombia",this.country="colombia",se.includes("confirmacion-pago")?this._httpClient.get(`${u.N.apis[this.flag]}/api/content?path=/confirmacion-pago`,{params:xe}).pipe((0,f.U)(Ve=>(Ve.content.blocks=[{bundle:"response_pay",entity_type:"block_content",fields:{data:""},target_id:1185}],Ve))):this._hostNameService.getRoute(C,xe,this.flag);case"salvador":return this.flag="salvador",this.country="salvador",this._hostNameService.getRoute(C,xe,this.flag);case"panama":return this.flag="panama",this.country="panama",this._hostNameService.getRoute(C,xe,this.flag);case"ecuador":return this.flag="ecuador",this.country="ecuador",this._hostNameService.getRoute(C,xe,this.flag);case"uruguay":return this.country="",this.flag="uruguay",this._hostNameService.getRoute(C,xe,this.flag);default:return this.flag="colombia",this._hostNameService.getRoute(se,xe,this.flag)}}getPaginator(C,Y){return this._httpClient.get(`${u.N.apis[this.flag]}/api/content?path=${this._hostNameService.getHostname()}&section=${Y}?page=${C-1}`)}getModal(C,Y,K){return this._httpClient.get(`${u.N.apis.colombia}${C}?city=${Y}&page=${K}`)}getCountry(){return this.country.trim()}getFlag(){return this.flag.trim()}updateClient(C,Y,K){var se,xe,Ve,ke,$e;let ot={document_type:Y.document_type.toString(),document_number:Y.document_number,gender:null==C?void 0:C.gender.toString(),maritial_status:null==C?void 0:C.civil_status.toString(),job:null==C?void 0:C.employment,children:null==C?void 0:C.children,eps:C.eps.toString(),stratum:null==C?void 0:C.stratum,phone_mobile:C.phone_mobile,mail:null==C?void 0:C.email};return K&&(ot.deparment=null===(se=null==K?void 0:K.temporalAddress)||void 0===se?void 0:se.country,ot.city=null===(xe=null==K?void 0:K.temporalAddress)||void 0===xe?void 0:xe.city,ot.barrio=null===(Ve=null==K?void 0:K.temporalAddress)||void 0===Ve?void 0:Ve.neighborhood,ot.direccion=null===(ke=null==K?void 0:K.temporalAddress)||void 0===ke?void 0:ke.address,ot.direccion_reference=null===($e=null==K?void 0:K.temporalAddress)||void 0===$e?void 0:$e.reference),this._httpClient.post(`${u.N.apis[this.flag]}/api/account/update`,ot)}createWithdrawal(C,Y,K,se,xe,Ve){let ke=null,$e=[];
1K.forEach(de=>{ke=this.verifyVida(de,se),$e.push({PrimerNombre:de.PrimerNombre,SegundoNombre:de.SegundoNombre,PrimerApellido:de.PrimerApellido,SegundoApellido:de.SegundoApellido,TipoDocumento:de.TipoDocumento,textoTipoDocumento:de.textoTipoDocumento,Documento:de.Documento,Vida:ke,CodigoMotivoRetiro:de.CodigoMotivoRetiro,textoMotivoRetiro:xe,Telefono:de.Telefono,Celular:de.Celular,Mail:de.Email})});let ot=new Date,be=null;be=this.verifyVida(C,se);let ae={TipoDocumentoRP:C.TipoDocumento,textoTipoDocumento:Y,DocumentoRP:C.Documento,PrimerNombre:C.PrimerNombre,SegundoNombre:null==C?void 0:C.SegundoNombre,PrimerApellido:C.PrimerApellido,SegundoApellido:null==C?void 0:C.SegundoApellido,VidaRP:be,Mail:C.Email,MedioSuc:"000004",Beneficiarios:$e,FechaSolicitud:this.datepipe.transform(ot,"yyyy-MM-dd").replace("-","").replace("-",""),Descripcion:Ve.commentary,TelefonoFijo1:null==C?void 0:C.Telefono,TelefonoFijo2:null==C?void 0:C.TelefonoFijo2,Celular:null==C?void 0:C.Celular,FechaNacimiento:null==C?void 0:C.FechaNacimiento,titularRetira:null==C?void 0:C.ConfirmacionRetiro,terms:Ve.terms};return this._httpClient.post(`${u.N.apis[this.flag]}/api/create-withdrawal-request`,ae)}verifyVida(C,Y){var K;let se=null;return Y.length>0&&(se=null===(K=Y.find(xe=>xe.documento===C.Documento))||void 0===K?void 0:K.vida),se}checkWithdrawalRequest(C,Y){return this._httpClient.post(`${u.N.apis[this.flag]}/api/validate-person-verify`,{TipoAfiliado:Y,TipoDocumento:C.TipoDocumento,Documento:C.Documento}).toPromise()}getDataDirectives(){let C={};switch(this.getCountry()){case"colombia":C={length:10,lengthPhone:10};break;case"uruguay":case"":C={length:9,lengthPhone:8};break;case"panama":C={length:8,lengthPhone:7};break;case"salvador":C={length:8,lengthPhone:8};break;case"ecuador":C={length:10,lengthPhone:7}}return C}leadForm(C,Y,K){let se={webform_id:Y,full_name:C.full_name,cellphone:C.cellphone,email:C.email,city:"412",tipo_de_solicitud:C.tipo_de_solicitud,terms_conditions:C.terms_conditions?"Si":"No",url:this._hostNameService.getHostname()};return this._httpClient.post(`${u.N.apis[this.flag]}${K}`,se)}getPagerTab(C,Y){return this._httpClient.get(`${u.N.apis[this.flag]}/${C}${Y?(C.includes("?")?"&":"?")+"page="+(Y-1):""}`)}filterBenefits(C,Y){let K="";return Object.keys(Y).forEach(xe=>{K+=`&${xe}=${Y[xe]}`}),this._httpClient.get(`${u.N.apis[this.flag]}/${C}${K.replace("&","?")}`)}coverageInTravel(C,Y,K){return this._httpClient.post(`${u.N.apis[this.flag]}${K}`,{idForm:Y,first_name:C.first_name,second_name:C.second_name,last_name_one:C.last_name_one,last_name_two:C.last_name_two,tipo_de_documento:C.tipo_de_documento,number_document:C.number_document,city_of_destination:C.city_of_destination,date_start_travel:C.range.date_start_travel,date_end_travel:C.range.date_end_travel,number_of_telephone_1:C.number_of_telephone_1,number_of_telephone_2:C.number_of_telephone_2,cellphone:C.cellphone,email:C.email,_aceptas_recibir_informacion_adicional_sobre_mas_beneficios_emi_:C._aceptas_recibir_informacion_adicional_sobre_mas_beneficios_emi_})}getValueCanonPlan(C,Y,K,se){var xe,Ve;let ke={CodigoSubContrato:"",CodigoProducto:C.CodigoProducto,VersionProducto:(null===(xe=null==C?void 0:C.plan)||void 0===xe?void 0:xe.version)?null===(Ve=null==C?void 0:C.plan)||void 0===Ve?void 0:Ve.version:null==C?void 0:C.version,CodigoFormaPago:"902",Genero:"",TipoUsuario:"",Parentesto:"",Edad:(null==C?void 0:C.age)?null==C?void 0:C.age.toString():"",Ano:(null==C?void 0:C.year)?null==C?void 0:C.year.toString():"",Mes:"Anual"==(null==C?void 0:C.plan.periodicity)?12:0,CantidadUsuarios:Y,PortalWebEmpresa:se||""};return this._httpClient.post(`${u.N.apis[this.flag]+K}`,ke).toPromise()}personalization(C,Y){let K={webform_id:Y,rage_age:Number(null==C?void 0:C.rage_age),gender:Number(null==C?void 0:C.gender),dependents:null==C?void 0:C.dependents,number_dependents:null==C?void 0:C.number_dependents,range_dependent_one:Number(null==C?void 0:C.range_dependent_one),range_dependent_two:Number(null==C?void 0:C.range_dependent_two),range_dependent_three:Number(null==C?void 0:C.range_dependent_three),range_dependent_four:Number(null==C?void 0:C.range_dependent_four),range_dependent_five:Number(null==C?void 0:C.range_dependent_five),jobs:null==C?void 0:C.jobs,digital_life:Number(null==C?void 0:C.digital_life),wath_passion_life:null==C?void 0:C.wath_passion_life,full_name:null==C?void 0:C.full_name,cell_phone:null==C?void 0:C.cell_p
1hone,email:null==C?void 0:C.email,terms_conditions:null==C?void 0:C.terms_conditions.toLowerCase()};return this._httpClient.post(`${u.N.apis[this.flag]}/api/personalization`,K)}queryClientRequest(C){return this._httpClient.post(`${u.N.apis[this.flag]}/api/query-client`,{typeDoc:null==C?void 0:C.type_document,numberDoc:null==C?void 0:C.document,typeAfiliate:"RP",Beneficiarios:[{TipoDocumento:null==C?void 0:C.type_document,Documento:null==C?void 0:C.document}]})}sendPqrs(C,Y,K){return C.webform_id=Y,C.document_type=String(C.document_type),C.request_type=String(C.request_type),C.care_document_type=String(C.care_document_type),C.event_date=this.formatDate(C.event_date),this._httpClient.post(`${u.N.apis[this.flag]}${K}`,C)}formatDate(C){var Y=new Date(C),K=""+(Y.getMonth()+1),se=""+Y.getDate(),xe=Y.getFullYear();return K.length<2&&(K="0"+K),se.length<2&&(se="0"+se),[xe,K,se].join("/")}sendContactExecutive(C,Y,K){return C.webform_id=Y,this._httpClient.post(`${u.N.apis[this.flag]}${K}`,C)}validateDocumentRequest(C,Y){return this._httpClient.post(`${u.N.apis[this.flag]}/api/validate-document`,{typeDoc:null==C?void 0:C.type_document,numberDoc:null==C?void 0:C.document})}regainLifeRequest(C,Y){return this._httpClient.post(`${u.N.apis[this.flag]}/api/regain-life`,{typeDoc:null==C?void 0:C.type_document,numberDoc:null==C?void 0:C.document})}workWithUs(C,Y,K){return C.webform_id=Y,this._httpClient.post(`${u.N.apis[this.flag]}/api/create-work-with`,C)}sendCode(C){const Y=this.smsOrEmail(C);let K=Object.assign({document_type:C.TipoDocumento,document_number:C.Documento},Y);return this._httpClient.post(`${u.N.apis[this.flag]}/api/account/send-code`,K)}smsOrEmail(C){return C.TelefonoCelular?{type:"mobile",phone:C.TelefonoCelular}:C.Email?{type:"mail",mail:C.Email.toUpperCase()}:null}smsSend(C){let Y=new a.WM;return Y=Y.set("Content-Type","application/json"),Y=Y.set("Access-Control-Allow-Origin","*"),Y=Y.set("Access-Control-Allow-Methods","POST, GET, PUT, UPDATE, OPTIONS"),Y=Y.set("accept","*/*"),Y=Y.set("Ambiente","COPLSUY"),this._httpClient.post("https://api-sms.grupoemi.com:8054/SendSms/EnvioSmsColombiaTransaccional",JSON.stringify({celular:C,mensaje:"\xa1Gracias por dejarnos tus datos! Un asesor comercial de emi se pondr\xe1 en contacto contigo. ",origen:"Pagina web -  formulario list"}),{headers:Y})}getUrlAutehticar(){return this._httpClient.get(`${u.N.apis[this.flag]}/api/autenticar`)}generateToken(C){let Y=new a.WM;return Y=Y.append("Content-Type","application/json"),Y=Y.append("Anon","Mareigua.Fanaia"),Y=Y.append("Ocp-Apim-Subscription-Key","4793300909e24755b8b96c52f143bba7"),this._httpClient.post(C,"",{headers:Y})}getDataUserEcommerce(C,Y,K,se){let xe=new a.WM;return xe=xe.append("Content-Type","application/json"),xe=xe.append("accept","*/*"),xe=xe.append("Token",se),xe=xe.append("Ocp-Apim-Subscription-Key","4793300909e24755b8b96c52f143bba7"),this._httpClient.post(C,JSON.stringify({data:[{TipoDocumento:Y,NumeroDocumento:K}]}),{headers:xe})}getTypeDocument(){let C=new a.WM;return C=C.set("Accept","application/json, text/plain"),C=C.set("Accept-Language","es-US,es-419;q=0.9,es;q=0.8,en;q=0.7"),C=C.set("Connection","keep-alive"),C=C.set("Content-Type","application/json"),C=C.set("DNT","1"),C=C.set("Origin","https://somosemi.com"),C=C.set("Referer","https://somosemi.com/"),C=C.set("Sec-Fetch-Dest","empty"),C=C.set("Sec-Fetch-Mode","cors"),C=C.set("Sec-Fetch-Site","cross-site"),C=C.set("User-Agent","Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36"),C=C.set("sec-ch-ua",'"Google Chrome";v="107") "Chromium";v="107") "Not=A?Brand";v="24"'),C=C.set("sec-ch-ua-mobile","?0"),C=C.set("sec-ch-ua-platform",'"Windows"'),C=C.set("Cookie","ARRAffinity=03416650a10d89f1c7aba9abcba2c389d9405ebcf49e7f031a3a4bd0dfe699ec; ARRAffinitySameSite=03416650a10d89f1c7aba9abcba2c389d9405ebcf49e7f031a3a4bd0dfe699ec"),this._httpClient.post("https://emipresalesapi.grupoemi.com/api/interface/gettipodocs",{headers:C})}getDeudaDetalle(C){let Y=new a.WM;return Y=Y.set("accept","*"),Y=Y.set("Accept","application/json, text/plain"),Y=Y.set("Content-Type","application/json"),Y=Y.set("Accept-Language","es-ES,es;q=0.9"),Y=Y.set("Accept-Language"," es-ES,es;q=0.9"),Y=Y.set("Cache-Control"," no-cache"),Y=Y.set("Content-Type"," application/json"),Y=Y.set("Pragma"," no-cache"),Y=Y.set("accept"," application/json, text/plain"),Y=Y.set("Ambiente"," UyVal"),this._httpClient.post("https://emipresalesapi.grupoemi.com/api/interface/DeudaDetalleEnviroment",C,{headers:Y})}}
1return Z.\u0275fac=function(C){return new(C||Z)(X.\u0275\u0275inject(I.J),X.\u0275\u0275inject(re.g),X.\u0275\u0275inject(a.eN),X.\u0275\u0275inject(pe.v),X.\u0275\u0275inject(ee.uU))},Z.\u0275prov=X.\u0275\u0275defineInjectable({token:Z,factory:Z.\u0275fac,providedIn:"root"}),Z})()},7542:(ft,Te,g)=>{g.d(Te,{v:()=>pe});var a=g(9808),f=g(2340),u=g(5e3),X=g(4035),I=g(2313),re=g(1212);let pe=(()=>{class ee{constructor(Z,oe,C,Y,K,se){this.router=Z,this.meta=oe,this.titleService=C,this.dom=Y,this._hostNameService=K,this.rendererFactory=se,this.renderer=se.createRenderer(null,null)}titleDefault(Z){this.titleService.setTitle(Z),this.meta.updateTag({property:"og:title",content:Z})}generateTags(Z,oe){Z&&Z.forEach(C=>{switch(C.id){case"title":this.titleService.setTitle(C.attributes.content),this.meta.updateTag({property:"og:title",content:C.attributes.content});break;case"canonical_url":C.attributes.href.includes("blog")?(this.setCanonicalURL(C.attributes.href,oe),this.setShortLink(C.attributes.href,oe)):(this.setCanonicalURL("/"+oe+C.attributes.href,oe),this.setShortLink("/"+oe+C.attributes.href,oe));break;case"shortlink":break;default:"meta"===C.tag&&(C.attributes.name||C.attributes.property)&&(this.meta.updateTag({property:C.attributes.name||C.attributes.property,content:C.attributes.content}),"og:image:url"===(C.attributes.name||C.attributes.property)&&this.meta.updateTag({property:"og:image",content:C.attributes.content}),("description"===(C.attributes.name||C.attributes.property)||"og:description"===(C.attributes.name||C.attributes.property))&&(this.meta.updateTag({property:"og:description",content:C.attributes.content}),this.meta.updateTag({name:"description",content:C.attributes.content})))}})}setCanonicalURL(Z,oe){const C=this.dom.querySelector("link[rel='canonical']");let Y="";Y="uruguay"==oe?f.N.hosts.grupoUcm:f.N.hosts.grupoEmi;const K=Y;if(Z="https://"+K+Z,null!=C)this.renderer.removeAttribute(C,"href"),"/"==K.slice(-1)?(this.renderer.setAttribute(C,"href",`${Z.substring(0,K.length-1)}`),this.meta.updateTag({property:"og:url",content:`${Z.substring(0,K.length-1)}`})):(this.renderer.setAttribute(C,"href",`${Z}`),this.meta.updateTag({property:"og:url",content:`${Z}`}));else{const se=this.dom.createElement("link");se.setAttribute("rel","canonical"),"/"==K.slice(-1)?(se.setAttribute("href",`${Z.substring(0,Z.length-1)}`),this.meta.updateTag({property:"og:url",content:`${Z.substring(0,K.length-1)}`})):(se.setAttribute("href",`${Z}`),this.meta.updateTag({property:"og:url",content:`${Z}`})),this.dom.head.appendChild(se)}}setShortLink(Z,oe){const C=this.dom.querySelector("link[rel='shortlink']");let Y="";Y="uruguay"==oe?f.N.hosts.grupoUcm:f.N.hosts.grupoEmi;const K=Y;if(Z="https://"+K+Z,null!=C)this.renderer.removeAttribute(C,"href"),"/"==K.slice(-1)?this.renderer.setAttribute(C,"href",`${Z.substring(0,K.length-1)}`):this.renderer.setAttribute(C,"href",`${Z}`);else{const se=this.dom.createElement("link");se.setAttribute("rel","shortlink"),"/"==K.slice(-1)?se.setAttribute("href",`${Z.substring(0,Z.length-1)}`):se.setAttribute("href",`${Z}`),this.dom.head.appendChild(se)}}}return ee.\u0275fac=function(Z){return new(Z||ee)(u.\u0275\u0275inject(X.F0),u.\u0275\u0275inject(I.h_),u.\u0275\u0275inject(I.Dx),u.\u0275\u0275inject(a.K0),u.\u0275\u0275inject(re.J),u.\u0275\u0275inject(u.RendererFactory2))},ee.\u0275prov=u.\u0275\u0275defineInjectable({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})()},4009:(ft,Te,g)=>{g.d(Te,{g:()=>X});var a=g(7429),f=g(5e3);class u{clear(){}getItem(re){}key(re){}removeItem(re){}setItem(re,pe){}}let X=(()=>{class I{constructor(){this.storage=new u,a.y.isBrowser.subscribe(pe=>{pe&&(this.storage=localStorage)})}clear(){this.storage.clear()}getItem(pe){return this.storage.getItem(pe)}key(pe){return this.storage.key(pe)}removeItem(pe){return this.storage.removeItem(pe)}setItem(pe,ee){return this.storage.setItem(pe,ee)}}return I.\u0275fac=function(pe){return new(pe||I)},I.\u0275prov=f.\u0275\u0275defineInjectable({token:I,factory:I.\u0275fac,providedIn:"root"}),I})()},2340:(ft,Te,g)=>{g.d(Te,{N:()=>a});const a={production:!0,enablePixel:!0,captcha:"6LfLyqYaAAAAAGCWA4LhiUQKkHzPxox82It1WNv3",googleKey:"AIzaSyCjUNjyjDeQkGeEX3qUPREoUuZ6eilW_rU",storage:"api-cu
1stomerwebsite-co.grupoemi.com",domain:"grupoemi.com",hostName:"grupoemi.com",token_mercadolibre:"TEST-724f2071-fe7b-464a-9cc7-91344670b948",token_wolkvox:"7b69645f6469737472697d2d3230323330393037313634313539",urlIntegra:"https://emipresalesapi.grupoemi.com/",urlCoberture:"https://app-coberturas-backend-pdn.grupoemi.com",versionCoberture:"v1",phones:{colombia:"573153289888",uruguay:"59894075753",sacUruguay:"59824873333",panama:"50762549115",ecuador:"593987060807",salvador:"50372626316"},apis:{colombia:"https://api-customerwebsite-co.grupoemi.com",panama:"https://api-customerwebsite-pa.grupoemi.com",salvador:"https://api-customerwebsite-sv.grupoemi.com",ecuador:"https://api-customerwebsite-ec.grupoemi.com",uruguay:"https://api-customerwebsite-uy.grupoemi.com"},hosts:{grupoEmi:"www.grupoemi.com",grupoUcm:"www.ucm.com.uy",grupoUcmWww:"ucm.com.uy"},apisAdress:{colombia:"CoPlsUy",panama:"PanPrd",salvador:"SalPrd",ecuador:"EcuPrd",uruguay:"UyPrd"},gtm:{colombia:"GTM-TXJ7MB",panama:"GTM-NLM4LHG",salvador:"GTM-T52BC9S",ecuador:"GTM-MPMMGD3",uruguay:"GTM-KWF3RB2",ecommerceCol:"GTM-TNKSFQD",ecommerceUy:"GTM-K8TSCP9"},chat:{colombia:"https://chat01.wolkvox.com/chat/?prodId=d2ItZ3J1cG8tZW1pLjY3Mg==",ecommmerceCol:"https://chat01.wolkvox.com/chat/?prodId=d2ItZ3J1cG8tZW1pLjg0NA==",panama:"https://chat01.wolkvox.com/chat/?prodId=d2ItZ3J1cG8tZW1pLjcxMw==",salvador:"https://chat01.wolkvox.com/chat/?prodId=d2ItZ3J1cG8tZW1pLjcxNA==",ecuador:"https://chat01.wolkvox.com/chat/?prodId=d2ItZ3J1cG8tZW1pLjcxMg==",uruguay:"https://chat01.wolkvox.com/chat/?prodId=d2ItZ3J1cG8tZW1pLjcxMQ=="},indicative:{colombia:57,panama:507,salvador:503,ecuador:593,uruguay:598},redirect:"https://campaign.grupoemi.com",pixel:{blog:"1180944119025975",home:"758178427682412"}}},6499:(ft,Te,g)=>{var a=g(2313),f=g(5e3),u=g(9808),X=g(520),I=g(4035),re=g(7429),pe=g(6360);let ee=(()=>{class $e{constructor(){}ngOnInit(){}}return $e.\u0275fac=function(be){return new(be||$e)},$e.\u0275cmp=f.\u0275\u0275defineComponent({type:$e,selectors:[["app-home"]],decls:0,vars:0,template:function(be,ae){},styles:[""]}),$e})();var ce=g(8553),Z=g(4112),oe=g(2340),C=g(8966),Y=g(8505),K=g(1130);let se=(()=>{class $e{constructor(be){this.loaderSvc=be}intercept(be,ae){return!be.url.includes("obtenerdireccionesapis")&&!be.url.includes("modal-info")&&!be.url.includes("random")&&!be.url.includes("address")&&!be.url.includes("ObtenerDireccionesApi")&&this.loaderSvc.show(),ae.handle(be).pipe((0,Y.b)(de=>{de instanceof X.Zn&&!be.url.includes("obtenerdireccionesapis")&&!be.url.includes("modal-info")&&!be.url.includes("random")&&!be.url.includes("address")&&!be.url.includes("ObtenerDireccionesApi")&&this.loaderSvc.hide()},de=>{be.headers.get("handleError"),this.loaderSvc.hide()}))}}return $e.\u0275fac=function(be){return new(be||$e)(f.\u0275\u0275inject(K.D))},$e.\u0275prov=f.\u0275\u0275defineInjectable({token:$e,factory:$e.\u0275fac}),$e})();var xe=g(1021),Ve=g(3251);let ke=(()=>{class $e{}return $e.\u0275fac=function(be){return new(be||$e)},$e.\u0275mod=f.\u0275\u0275defineNgModule({type:$e,bootstrap:[re.y]}),$e.\u0275inj=f.\u0275\u0275defineInjector({providers:[ce.M,u.uU,{provide:X.TP,useClass:se,multi:!0}],imports:[[X.JF,a.b2.withServerTransition({appId:"serverApp"}),a.Cu,C.Is,Ve.Nh,u.ez,xe.z,Z.su.forRoot({clientId:"<mandatory>",apiKey:oe.N.googleKey,libraries:["places","geometry"]}),I.Bz.forRoot([{path:"**",pathMatch:"full",component:ee}]),pe.PW]]}),$e})();oe.N.production&&(0,f.enableProdMode)(),document.addEventListener("DOMContentLoaded",()=>{a.q6().bootstrapModule(ke).catch($e=>console.error($e))},{passive:!0})},1135:(ft,Te,g)=>{g.d(Te,{X:()=>f});var a=g(7579);class f extends a.x{constructor(X){super(),this._value=X}get value(){return this.getValue()}_subscribe(X){const I=super._subscribe(X);return!I.closed&&X.next(this._value),I}getValue(){const{hasError:X,thrownError:I,_value:re}=this;if(X)throw I;return this._throwIfClosed(),re}next(X){super.next(this._value=X)}}},9751:(ft,Te,g)=>{g.d(Te,{y:()=>ee});var a=g(930),f=g(727),u=g(8822),X=g(9635),I=g(2416),re=g(576),pe=g(2806);let ee=(()=>{class C{constructor(K){K&&(this._subscribe=K)}lift(K){const se=new C;return se.source=this,se.operator=K,se}subscribe(K,se,xe){const Ve=function oe(C){return C&&C instanceof a.Lv||function Z(C){return C&&(0,re.m)(C.next)&&(0,re.m)(C.error)&&(0,re.m)(C.complete)}(C)&&(0,f.Nn)(C)}(K)?K:new a.Hp(K,se,xe);return(0,pe.x)(()=>{const{operator:ke,source:$e}=this;Ve.add(ke?ke.call(Ve,$e):$e?this._subscribe(Ve):this._trySubscribe(Ve))}),Ve}_trySubscribe(K){try{return this._subscribe(K)}catch(se){K.error(se)}}forEach(K,se){return new(se=ce(se))((xe,Ve)=>{let ke;ke=this.subscribe($e=>{try{K($e)}catch(ot){Ve(ot),null==ke||ke.unsubscribe()}},Ve,xe)})}_subscribe(K){var se;return null===(se=this.source)||void 0===se?void 0:se.subscribe(K)}[u.L](){return this}pipe(...K){return(0,X.U)(K)(this)}toPromise(K){return new(K=ce(K))((se,xe)=>{let Ve;this.subscribe(ke=>Ve=ke,ke=>xe(ke),()=>se(Ve))})}}return C.create=Y=>new C(Y),C})();function ce(C){var Y;return null!==(Y=null!=C?C:I.v.Promise)&&void 0!==Y?Y:Promise}},4707:(ft,Te,g)=>{g.d(Te,{t:()=>u});var a=g(7579),f=g(6063);class u extends a.x{constructor(I=1/0,re=1/0,pe=f.l){super(),this._bufferSize=I,this._windowTime=re,this._timestampProvider=pe,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=re===1/0,this._bufferSize=Math.max(1,I),this._windowTime=Math.max(1,re)}next(I){const{isStopped:re,_buffer:pe,_infiniteTimeWindow:ee,_timestampProvider:ce,_windowTime:Z}=this;re||(pe.push(I),!ee&&pe.push(ce.now()+Z)),this._trimBuffer(),super.next(I)}_subscribe(I){this._throwIfClosed(),this._trimBuffer();const re=this._innerSubscribe(I),{_infiniteTimeWindow:pe,_buffer:ee}=this,ce=ee.slice();for(let Z=0;Z<ce.length&&!I.closed;Z+=pe?1:2)I.next(ce[Z]);return this._checkFinalizedStatuses(I),re}_trimBuffer(){const{_bufferSize:I,_timestampProvider:re,_buffer:pe,_infiniteTimeWindow:ee}=this,ce=(ee?1:2)*I;if(I<1/0&&ce<pe.length&&pe.splice(0,pe.length-ce),!ee){const Z=re.now();let oe=0;for(let C=1;C<pe.length&&pe[C]<=Z;C+=2)oe=C;oe&&pe.splice(0,oe+1)}}}},7579:(ft,Te,g)=>{g.d(Te,{x:()=>pe});var a=g(9751),f=g(727);const X=(0,g(3888).d)(ce=>function(){ce(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var I=g(8737),re=g(2806);let pe=(()=>{class ce extends a.y{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(oe){const C=new ee(this,this);return C.operator=oe,C}_throwIfClosed(){if(this.closed)throw new X}next(oe){(0,re.x)(()=>
1{if(this._throwIfClosed(),!this.isStopped){const C=this.observers.slice();for(const Y of C)Y.next(oe)}})}error(oe){(0,re.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=oe;const{observers:C}=this;for(;C.length;)C.shift().error(oe)}})}complete(){(0,re.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:oe}=this;for(;oe.length;)oe.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=null}get observed(){var oe;return(null===(oe=this.observers)||void 0===oe?void 0:oe.length)>0}_trySubscribe(oe){return this._throwIfClosed(),super._trySubscribe(oe)}_subscribe(oe){return this._throwIfClosed(),this._checkFinalizedStatuses(oe),this._innerSubscribe(oe)}_innerSubscribe(oe){const{hasError:C,isStopped:Y,observers:K}=this;return C||Y?f.Lc:(K.push(oe),new f.w0(()=>(0,I.P)(K,oe)))}_checkFinalizedStatuses(oe){const{hasError:C,thrownError:Y,isStopped:K}=this;C?oe.error(Y):K&&oe.complete()}asObservable(){const oe=new a.y;return oe.source=this,oe}}return ce.create=(Z,oe)=>new ee(Z,oe),ce})();class ee extends pe{constructor(Z,oe){super(),this.destination=Z,this.source=oe}next(Z){var oe,C;null===(C=null===(oe=this.destination)||void 0===oe?void 0:oe.next)||void 0===C||C.call(oe,Z)}error(Z){var oe,C;null===(C=null===(oe=this.destination)||void 0===oe?void 0:oe.error)||void 0===C||C.call(oe,Z)}complete(){var Z,oe;null===(oe=null===(Z=this.destination)||void 0===Z?void 0:Z.complete)||void 0===oe||oe.call(Z)}_subscribe(Z){var oe,C;return null!==(C=null===(oe=this.source)||void 0===oe?void 0:oe.subscribe(Z))&&void 0!==C?C:f.Lc}}},930:(ft,Te,g)=>{g.d(Te,{Hp:()=>Y,Lv:()=>C});var a=g(576),f=g(727),u=g(2416),X=g(7849),I=g(5032);const re=ce("C",void 0,void 0);function ce(ke,$e,ot){return{kind:ke,value:$e,error:ot}}var Z=g(3410),oe=g(2806);class C extends f.w0{constructor($e){super(),this.isStopped=!1,$e?(this.destination=$e,(0,f.Nn)($e)&&$e.add(this)):this.destination=Ve}static create($e,ot,be){return new Y($e,ot,be)}next($e){this.isStopped?xe(function ee(ke){return ce("N",ke,void 0)}($e),this):this._next($e)}error($e){this.isStopped?xe(function pe(ke){return ce("E",void 0,ke)}($e),this):(this.isStopped=!0,this._error($e))}complete(){this.isStopped?xe(re,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next($e){this.destination.next($e)}_error($e){try{this.destination.error($e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}class Y extends C{constructor($e,ot,be){let ae;if(super(),(0,a.m)($e))ae=$e;else if($e){let de;({next:ae,error:ot,complete:be}=$e),this&&u.v.useDeprecatedNextContext?(de=Object.create($e),de.unsubscribe=()=>this.unsubscribe()):de=$e,ae=null==ae?void 0:ae.bind(de),ot=null==ot?void 0:ot.bind(de),be=null==be?void 0:be.bind(de)}this.destination={next:ae?K(ae):I.Z,error:K(null!=ot?ot:se),complete:be?K(be):I.Z}}}function K(ke,$e){return(...ot)=>{try{ke(...ot)}catch(be){u.v.useDeprecatedSynchronousErrorHandling?(0,oe.O)(be):(0,X.h)(be)}}}function se(ke){throw ke}function xe(ke,$e){const{onStoppedNotification:ot}=u.v;ot&&Z.z.setTimeout(()=>ot(ke,$e))}const Ve={closed:!0,next:I.Z,error:se,complete:I.Z}},727:(ft,Te,g)=>{g.d(Te,{Lc:()=>re,w0:()=>I,Nn:()=>pe});var a=g(576);const u=(0,g(3888).d)(ce=>function(oe){ce(this),this.message=oe?`${oe.length} errors occurred during unsubscription:\n${oe.map((C,Y)=>`${Y+1}) ${C.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=oe});var X=g(8737);class I{constructor(Z){this.initialTeardown=Z,this.closed=!1,this._parentage=null,this._teardowns=null}
1unsubscribe(){let Z;if(!this.closed){this.closed=!0;const{_parentage:oe}=this;if(oe)if(this._parentage=null,Array.isArray(oe))for(const K of oe)K.remove(this);else oe.remove(this);const{initialTeardown:C}=this;if((0,a.m)(C))try{C()}catch(K){Z=K instanceof u?K.errors:[K]}const{_teardowns:Y}=this;if(Y){this._teardowns=null;for(const K of Y)try{ee(K)}catch(se){Z=null!=Z?Z:[],se instanceof u?Z=[...Z,...se.errors]:Z.push(se)}}if(Z)throw new u(Z)}}add(Z){var oe;if(Z&&Z!==this)if(this.closed)ee(Z);else{if(Z instanceof I){if(Z.closed||Z._hasParent(this))return;Z._addParent(this)}(this._teardowns=null!==(oe=this._teardowns)&&void 0!==oe?oe:[]).push(Z)}}_hasParent(Z){const{_parentage:oe}=this;return oe===Z||Array.isArray(oe)&&oe.includes(Z)}_addParent(Z){const{_parentage:oe}=this;this._parentage=Array.isArray(oe)?(oe.push(Z),oe):oe?[oe,Z]:Z}_removeParent(Z){const{_parentage:oe}=this;oe===Z?this._parentage=null:Array.isArray(oe)&&(0,X.P)(oe,Z)}remove(Z){const{_teardowns:oe}=this;oe&&(0,X.P)(oe,Z),Z instanceof I&&Z._removeParent(this)}}I.EMPTY=(()=>{const ce=new I;return ce.closed=!0,ce})();const re=I.EMPTY;function pe(ce){return ce instanceof I||ce&&"closed"in ce&&(0,a.m)(ce.remove)&&(0,a.m)(ce.add)&&(0,a.m)(ce.unsubscribe)}function ee(ce){(0,a.m)(ce)?ce():ce.unsubscribe()}},2416:(ft,Te,g)=>{g.d(Te,{v:()=>a});const a={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},4033:(ft,Te,g)=>{g.d(Te,{c:()=>re});var a=g(9751),f=g(727),u=g(8343),X=g(5403),I=g(4482);class re extends a.y{constructor(ee,ce){super(),this.source=ee,this.subjectFactory=ce,this._subject=null,this._refCount=0,this._connection=null,(0,I.A)(ee)&&(this.lift=ee.lift)}_subscribe(ee){return this.getSubject().subscribe(ee)}getSubject(){const ee=this._subject;return(!ee||ee.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:ee}=this;this._subject=this._connection=null,null==ee||ee.unsubscribe()}connect(){let ee=this._connection;if(!ee){ee=this._connection=new f.w0;const ce=this.getSubject();ee.add(this.source.subscribe(new X.Q(ce,void 0,()=>{this._teardown(),ce.complete()},Z=>{this._teardown(),ce.error(Z)},()=>this._teardown()))),ee.closed&&(this._connection=null,ee=f.w0.EMPTY)}return ee}refCount(){return(0,u.x)()(this)}}},9841:(ft,Te,g)=>{g.d(Te,{a:()=>Z,l:()=>oe});var a=g(9751),f=g(4742),u=g(2076),X=g(4671),I=g(3268),re=g(3269),pe=g(1810),ee=g(5403),ce=g(9672);function Z(...Y){const K=(0,re.yG)(Y),se=(0,re.jO)(Y),{args:xe,keys:Ve}=(0,f.D)(Y);if(0===xe.length)return(0,u.D)([],K);const ke=new a.y(oe(xe,K,Ve?$e=>(0,pe.n)(Ve,$e):X.y));return se?ke.pipe((0,I.Z)(se)):ke}function oe(Y,K,se=X.y){return xe=>{C(K,()=>{const{length:Ve}=Y,ke=new Array(Ve);let $e=Ve,ot=Ve;for(let be=0;be<Ve;be++)C(K,()=>{const ae=(0,u.D)(Y[be],K);let de=!1;ae.subscribe(new ee.Q(xe,Oe=>{ke[be]=Oe,de||(de=!0,ot--),ot||xe.next(se(ke.slice()))},()=>{--$e||xe.complete()}))},xe)},xe)}}function C(Y,K,se){Y?(0,ce.f)(se,Y,K):K()}},7272:(ft,Te,g)=>{g.d(Te,{z:()=>I});var a=g(8189),u=g(3269),X=g(2076);function I(...re){return function f(){return(0,a.J)(1)}()((0,X.D)(re,(0,u.yG)(re)))}},9770:(ft,Te,g)=>{g.d(Te,{P:()=>u});var a=g(9751),f=g(8421);function u(X){return new a.y(I=>{(0,f.Xf)(X()).subscribe(I)})}},515:(ft,Te,g)=>{g.d(Te,{E:()=>f});const f=new(g(9751).y)(I=>I.complete())},4128:(ft,Te,g)=>{g.d(Te,{D:()=>ee});var a=g(9751),f=g(4742),u=g(8421),X=g(3269),I=g(5403),re=g(3268),pe=g(1810);function ee(...ce){const Z=(0,X.jO)(ce),{args:oe,keys:C}=(0,f.D)(ce),Y=new a.y(K=>{const{length:se}=oe;if(!se)return void K.complete();const xe=new Array(se);let Ve=se,ke=se;for(let $e=0;$e<se;$e++){let ot=!1;(0,u.Xf)(oe[$e]).subscribe(new I.Q(K,be=>{ot||(ot=!0,ke--),xe[$e]=be},()=>Ve--,void 0,()=>{(!Ve||!ot)&&(ke||K.next(C?(0,pe.n)(C,xe):xe),K.complete())}))}});return Z?Y.pipe((0,re.Z)(Z)):Y}},2076:(ft,Te,g)=>{g.d(Te,{D:()=>Oe});var a=g(8421),f=g(9672),u=g(4482),X=g(5403);function I(He,Je=0){return(0,u.e)((Ie,Fe)=>{Ie.subscribe(new X.Q(Fe,Ue=>(0,f.f)(Fe,He,()=>Fe.next(Ue),Je),()=>(0,f.f)(Fe,He,()=>Fe.complete(),Je),Ue=>(0,f.f)(Fe,He,()=>Fe.error(Ue),Je)))})}function re(He,Je=0){return(0,u.e)((Ie,Fe)=>{Fe.add(He.schedule(()=>Ie.subscribe(Fe),Je))})}var ce=g(9751),oe=g(2202),C=g(576);function K(He,Je){if(!He)throw new Error("Iterable cannot be null");return new ce.y(Ie=>{(0,f.f)(Ie,Je,()=>{const Fe=He[Symbol.asyncIterator]();(0,f.f)(Ie,Je,()=>{Fe.next().then(Ue=>{Ue.done?Ie.complete():Ie.next(Ue.value)})},0,!0)})})}var se=g(3670),xe=g(8239),Ve=g(1144),ke=g(6495),$e=g(2206),ot=g(4532),be=g(3260);function Oe(He,Je){return Je?function de(He,Je){if(null!=He){if((0,se.c)(He))return function pe(He,Je){return(0,a.Xf)(He).pi
1pe(re(Je),I(Je))}(He,Je);if((0,Ve.z)(He))return function Z(He,Je){return new ce.y(Ie=>{let Fe=0;return Je.schedule(function(){Fe===He.length?Ie.complete():(Ie.next(He[Fe++]),Ie.closed||this.schedule())})})}(He,Je);if((0,xe.t)(He))return function ee(He,Je){return(0,a.Xf)(He).pipe(re(Je),I(Je))}(He,Je);if((0,$e.D)(He))return K(He,Je);if((0,ke.T)(He))return function Y(He,Je){return new ce.y(Ie=>{let Fe;return(0,f.f)(Ie,Je,()=>{Fe=He[oe.h](),(0,f.f)(Ie,Je,()=>{let Ue,Ze;try{({value:Ue,done:Ze}=Fe.next())}catch(Ne){return void Ie.error(Ne)}Ze?Ie.complete():Ie.next(Ue)},0,!0)}),()=>(0,C.m)(null==Fe?void 0:Fe.return)&&Fe.return()})}(He,Je);if((0,be.L)(He))return function ae(He,Je){return K((0,be.Q)(He),Je)}(He,Je)}throw(0,ot.z)(He)}(He,Je):(0,a.Xf)(He)}},4968:(ft,Te,g)=>{g.d(Te,{R:()=>Z});var a=g(8421),f=g(9751),u=g(5577),X=g(1144),I=g(576),re=g(3268);const pe=["addListener","removeListener"],ee=["addEventListener","removeEventListener"],ce=["on","off"];function Z(se,xe,Ve,ke){if((0,I.m)(Ve)&&(ke=Ve,Ve=void 0),ke)return Z(se,xe,Ve).pipe((0,re.Z)(ke));const[$e,ot]=function K(se){return(0,I.m)(se.addEventListener)&&(0,I.m)(se.removeEventListener)}(se)?ee.map(be=>ae=>se[be](xe,ae,Ve)):function C(se){return(0,I.m)(se.addListener)&&(0,I.m)(se.removeListener)}(se)?pe.map(oe(se,xe)):function Y(se){return(0,I.m)(se.on)&&(0,I.m)(se.off)}(se)?ce.map(oe(se,xe)):[];if(!$e&&(0,X.z)(se))return(0,u.z)(be=>Z(be,xe,Ve))((0,a.Xf)(se));if(!$e)throw new TypeError("Invalid event target");return new f.y(be=>{const ae=(...de)=>be.next(1<de.length?de:de[0]);return $e(ae),()=>ot(ae)})}function oe(se,xe){return Ve=>ke=>se[Ve](xe,ke)}},9210:(ft,Te,g)=>{g.d(Te,{R:()=>X});var a=g(9751),f=g(576),u=g(3268);function X(I,re,pe){return pe?X(I,re).pipe((0,u.Z)(pe)):new a.y(ee=>{const ce=(...oe)=>ee.next(1===oe.length?oe[0]:oe),Z=I(ce);return(0,f.m)(re)?()=>re(ce,Z):void 0})}},8421:(ft,Te,g)=>{g.d(Te,{Xf:()=>Y});var a=g(5987),f=g(1144),u=g(8239),X=g(9751),I=g(3670),re=g(2206),pe=g(4532),ee=g(6495),ce=g(3260),Z=g(576),oe=g(7849),C=g(8822);function Y(be){if(be instanceof X.y)return be;if(null!=be){if((0,I.c)(be))return function K(be){return new X.y(ae=>{const de=be[C.L]();if((0,Z.m)(de.subscribe))return de.subscribe(ae);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(be);if((0,f.z)(be))return function se(be){return new X.y(ae=>{for(let de=0;de<be.length&&!ae.closed;de++)ae.next(be[de]);ae.complete()})}(be);if((0,u.t)(be))return function xe(be){return new X.y(ae=>{be.then(de=>{ae.closed||(ae.next(de),ae.complete())},de=>ae.error(de)).then(null,oe.h)})}(be);if((0,re.D)(be))return ke(be);if((0,ee.T)(be))return function Ve(be){return new X.y(ae=>{for(const de of be)if(ae.next(de),ae.closed)return;ae.complete()})}(be);if((0,ce.L)(be))return function $e(be){return ke((0,ce.Q)(be))}(be)}throw(0,pe.z)(be)}function ke(be){return new X.y(ae=>{(function ot(be,ae){var de,Oe,He,Je;return(0,a.mG)(this,void 0,void 0,function*(){try{for(de=(0,a.KL)(be);!(Oe=yield de.next()).done;)if(ae.next(Oe.value),ae.closed)return}catch(Ie){He={error:Ie}}finally{try{Oe&&!Oe.done&&(Je=de.return)&&(yield Je.call(de))}finally{if(He)throw He.error}}ae.complete()})})(be,ae).catch(de=>ae.error(de))})}},6451:(ft,Te,g)=>{g.d(Te,{T:()=>re});var a=g(8189),f=g(8421),u=g(515),X=g(3269),I=g(2076);function re(...pe){const ee=(0,X.yG)(pe),ce=(0,X._6)(pe,1/0),Z=pe;return Z.length?1===Z.length?(0,f.Xf)(Z[0]):(0,a.J)(ce)((0,I.D)(Z,ee)):u.E}},9646:(ft,Te,g)=>{g.d(Te,{of:()=>u});var a=g(3269),f=g(2076);function u(...X){const I=(0,a.yG)(X);return(0,f.D)(X,I)}},2843:(ft,Te,g)=>{g.d(Te,{_:()=>u});var a=g(9751),f=g(576);function u(X,I){const re=(0,f.m)(X)?X:()=>X,pe=ee=>ee.error(re());return new a.y(I?ee=>I.schedule(pe,0,ee):pe)}},5963:(ft,Te,g)=>{g.d(Te,{H:()=>I});var a=g(9751),f=g(4986),u=g(3532);function I(re=0,pe,ee=f.P){let ce=-1;return null!=pe&&((0,u.K)(pe)?ee=pe:ce=pe),new a.y(Z=>{let oe=function X(re){return re instanceof Date&&!isNaN(re)}(re)?+re-ee.now():re;oe<0&&(oe=0);let C=0;return ee.schedule(function(){Z.closed||(Z.next(C++),0<=ce?this.schedule(void 0,ce):Z.complete())},oe)})}},5403:(ft,Te,g)=>{g.d(Te,{Q:()=>f});var a=g(930);class f extends a.Lv{constructor(X,I,re,pe,ee){super(X),this.onFinalize=ee,this._next=I?function(ce){try{I(ce)}catch(Z){X.error(Z)}}:super._next,this._error=pe?function(ce){try{pe(ce)}catch(Z){X.error(Z)}finally{this.unsubscribe()}}:super._error,this._complete=re?function(){try{re()}catch(ce){X.error(ce)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var X;const{closed:I}=this;super.unsubscribe(),!I&&(null===(X=this.onFinalize)||void 0===X||X.call(this))}}},262:(ft,Te,g)=>{g.d(Te,{K:()=>X});var a=g(8421),f=g(5403),u=g(4482);function X(I){return(0,u.e)((re,pe)=>{let Z,ee=null,ce=!1;ee=re.subscribe(new f.Q(pe,void 0,void 0,oe=>{Z=(0,a.Xf)(I(oe,X(I)(re))),ee?(ee.unsubscribe(),ee=null,Z.subscribe(pe)):ce=!0})),ce&&(ee.unsubscribe(),ee=null,Z.subscribe(pe))})}},4351:(ft,Te,g)=>{g.d(Te,{b:()=>u});var a=g(5577),f=g(576);function u(X,I){return(0,f.m)(I)?(0,a.z)(X,I,1):(0,a.z)(X,1)}},8372:(ft,Te,g)=>{g.d(Te,{b:()=>X});var a=g(4986),f=g(4482),u=g(5403);function X(I,re=a.z){return(0,f.e)((pe,ee)=>{let ce=null,Z=null,oe=null;const C=()=>
1{if(ce){ce.unsubscribe(),ce=null;const K=Z;Z=null,ee.next(K)}};function Y(){const K=oe+I,se=re.now();if(se<K)return ce=this.schedule(void 0,K-se),void ee.add(ce);C()}pe.subscribe(new u.Q(ee,K=>{Z=K,oe=re.now(),ce||(ce=re.schedule(Y,I),ee.add(ce))},()=>{C(),ee.complete()},void 0,()=>{Z=ce=null}))})}},4825:(ft,Te,g)=>{g.d(Te,{g:()=>Y});var a=g(4986),f=g(7272),u=g(5698),X=g(4482),I=g(5403),re=g(5032),ee=g(4004),Z=g(5577);function oe(K,se){return se?xe=>(0,f.z)(se.pipe((0,u.q)(1),function pe(){return(0,X.e)((K,se)=>{K.subscribe(new I.Q(se,re.Z))})}()),xe.pipe(oe(K))):(0,Z.z)((xe,Ve)=>K(xe,Ve).pipe((0,u.q)(1),function ce(K){return(0,ee.U)(()=>K)}(xe)))}var C=g(5963);function Y(K,se=a.z){const xe=(0,C.H)(K,se);return oe(()=>xe)}},1884:(ft,Te,g)=>{g.d(Te,{x:()=>X});var a=g(4671),f=g(4482),u=g(5403);function X(re,pe=a.y){return re=null!=re?re:I,(0,f.e)((ee,ce)=>{let Z,oe=!0;ee.subscribe(new u.Q(ce,C=>{const Y=pe(C);(oe||!re(Z,Y))&&(oe=!1,Z=Y,ce.next(C))}))})}function I(re,pe){return re===pe}},9300:(ft,Te,g)=>{g.d(Te,{h:()=>u});var a=g(4482),f=g(5403);function u(X,I){return(0,a.e)((re,pe)=>{let ee=0;re.subscribe(new f.Q(pe,ce=>X.call(I,ce,ee++)&&pe.next(ce)))})}},8746:(ft,Te,g)=>{g.d(Te,{x:()=>f});var a=g(4482);function f(u){return(0,a.e)((X,I)=>{try{X.subscribe(I)}finally{I.add(u)}})}},4004:(ft,Te,g)=>{g.d(Te,{U:()=>u});var a=g(4482),f=g(5403);function u(X,I){return(0,a.e)((re,pe)=>{let ee=0;re.subscribe(new f.Q(pe,ce=>{pe.next(X.call(I,ce,ee++))}))})}},8189:(ft,Te,g)=>{g.d(Te,{J:()=>u});var a=g(5577),f=g(4671);function u(X=1/0){return(0,a.z)(f.y,X)}},5577:(ft,Te,g)=>{g.d(Te,{z:()=>ee});var a=g(4004),f=g(8421),u=g(4482),X=g(9672),I=g(5403),pe=g(576);function ee(ce,Z,oe=1/0){return(0,pe.m)(Z)?ee((C,Y)=>(0,a.U)((K,se)=>Z(C,K,Y,se))((0,f.Xf)(ce(C,Y))),oe):("number"==typeof Z&&(oe=Z),(0,u.e)((C,Y)=>function re(ce,Z,oe,C,Y,K,se,xe){const Ve=[];let ke=0,$e=0,ot=!1;const be=()=>{ot&&!Ve.length&&!ke&&Z.complete()},ae=Oe=>ke<C?de(Oe):Ve.push(Oe),de=Oe=>{K&&Z.next(Oe),ke++;let He=!1;(0,f.Xf)(oe(Oe,$e++)).subscribe(new I.Q(Z,Je=>{null==Y||Y(Je),K?ae(Je):Z.next(Je)},()=>{He=!0},void 0,()=>{if(He)try{for(ke--;Ve.length&&ke<C;){const Je=Ve.shift();se?(0,X.f)(Z,se,()=>de(Je)):de(Je)}be()}catch(Je){Z.error(Je)}
1}))};return ce.subscribe(new I.Q(Z,ae,()=>{ot=!0,be()})),()=>{null==xe||xe()}}(C,Y,ce,oe)))}},8343:(ft,Te,g)=>{g.d(Te,{x:()=>u});var a=g(4482),f=g(5403);function u(){return(0,a.e)((X,I)=>{let re=null;X._refCount++;const pe=new f.Q(I,void 0,void 0,void 0,()=>{if(!X||X._refCount<=0||0<--X._refCount)return void(re=null);const ee=X._connection,ce=re;re=null,ee&&(!ce||ee===ce)&&ee.unsubscribe(),I.unsubscribe()});X.subscribe(pe),pe.closed||(re=X.connect())})}},5026:(ft,Te,g)=>{g.d(Te,{R:()=>X});var a=g(4482),f=g(5403);function u(I,re,pe,ee,ce){return(Z,oe)=>{let C=pe,Y=re,K=0;Z.subscribe(new f.Q(oe,se=>{const xe=K++;Y=C?I(Y,se,xe):(C=!0,se),ee&&oe.next(Y)},ce&&(()=>{C&&oe.next(Y),oe.complete()})))}}function X(I,re){return(0,a.e)(u(I,re,arguments.length>=2,!0))}},3099:(ft,Te,g)=>{g.d(Te,{B:()=>re});var a=g(2076),f=g(5698),u=g(7579),X=g(930),I=g(4482);function re(ee={}){const{connector:ce=(()=>new u.x),resetOnError:Z=!0,resetOnComplete:oe=!0,resetOnRefCountZero:C=!0}=ee;return Y=>{let K=null,se=null,xe=null,Ve=0,ke=!1,$e=!1;const ot=()=>{null==se||se.unsubscribe(),se=null},be=()=>{ot(),K=xe=null,ke=$e=!1},ae=()=>{const de=K;be(),null==de||de.unsubscribe()};return(0,I.e)((de,Oe)=>{Ve++,!$e&&!ke&&ot();const He=xe=null!=xe?xe:ce();Oe.add(()=>{Ve--,0===Ve&&!$e&&!ke&&(se=pe(ae,C))}),He.subscribe(Oe),K||(K=new X.Hp({next:Je=>He.next(Je),error:Je=>{$e=!0,ot(),se=pe(be,Z,Je),He.error(Je)},complete:()=>{ke=!0,ot(),se=pe(be,oe),He.complete()}}),(0,a.D)(de).subscribe(K))})(Y)}}function pe(ee,ce,...Z){return!0===ce?(ee(),null):!1===ce?null:ce(...Z).pipe((0,f.q)(1)).subscribe(()=>ee())}},5684:(ft,Te,g)=>{g.d(Te,{T:()=>f});var a=g(9300);function f(u){return(0,a.h)((X,I)=>u<=I)}},8675:(ft,Te,g)=>{g.d(Te,{O:()=>X});var a=g(7272),f=g(3269),u=g(4482);function X(...I){const re=(0,f.yG)(I);return(0,u.e)((pe,ee)=>{(re?(0,a.z)(I,pe,re):(0,a.z)(I,pe)).subscribe(ee)})}},3900:(ft,Te,g)=>{g.d(Te,{w:()=>X});var a=g(8421),f=g(4482),u=g(5403);function X(I,re){return(0,f.e)((pe,ee)=>{let ce=null,Z=0,oe=!1;const C=()=>oe&&!ce&&ee.complete();pe.subscribe(new u.Q(ee,Y=>{null==ce||ce.unsubscribe();let K=0;const se=Z++;(0,a.Xf)(I(Y,se)).subscribe(ce=new u.Q(ee,xe=>ee.next(re?re(Y,xe,se,K++):xe),()=>{ce=null,C()}))},()=>{oe=!0,C()}))})}},5698:(ft,Te,g)=>{g.d(Te,{q:()=>X});var a=g(515),f=g(4482),u=g(5403);function X(I){return I<=0?()=>a.E:(0,f.e)((re,pe)=>{let ee=0;re.subscribe(new u.Q(pe,ce=>{++ee<=I&&(pe.next(ce),I<=ee&&pe.complete())}))})}},2722:(ft,Te,g)=>{g.d(Te,{R:()=>I});var a=g(4482),f=g(5403),u=g(8421),X=g(5032);function I(re){return(0,a.e)((pe,ee)=>{(0,u.Xf)(re).subscribe(new f.Q(ee,()=>ee.complete(),X.Z)),!ee.closed&&pe.subscribe(ee)})}},2529:(ft,Te,g)=>{g.d(Te,{o:()=>u});var a=g(4482),f=g(5403);function u(X,I=!1){return(0,a.e)((re,pe)=>{let ee=0;re.subscribe(new f.Q(pe,ce=>{const Z=X(ce,ee++);(Z||I)&&pe.next(ce),!Z&&pe.complete()}))})}},8505:(ft,Te,g)=>{g.d(Te,{b:()=>I});var a=g(576),f=g(4482),u=g(5403),X=g(4671);function I(re,pe,ee){const ce=(0,a.m)(re)||pe||ee?{next:re,error:pe,complete:ee}:re;return ce?(0,f.e)((Z,oe)=>{var C;null===(C=ce.subscribe)||void 0===C||C.call(ce);let Y=!0;Z.subscribe(new u.Q(oe,K=>{var se;null===(se=ce.next)||void 0===se||se.call(ce,K),oe.next(K)},()=>{var K;Y=!1,null===(K=ce.complete)||void 0===K||K.call(ce),oe.complete()},K=>{var se;Y=!1,null===(se=ce.error)||void 0===se||se.call(ce,K),oe.error(K)},()=>{var K,se;Y&&(null===(K=ce.unsubscribe)||void 0===K||K.call(ce)),null===(se=ce.finalize)||void 0===se||se.call(ce)}))}):X.y}},4408:(ft,Te,g)=>{g.d(Te,{o:()=>I});var a=g(727);class f extends a.w0{constructor(pe,ee){super()}schedule(pe,ee=0){return this}}const u={setInterval(...re){const{delegate:pe}=u;return((null==pe?void 0:pe.setInterval)||setInterval)(...re)},clearInterval(re){const{delegate:pe}=u;return((null==pe?void 0:pe.clearInterval)||clearInterval)(re)},delegate:void 0};var X=g(8737);class I extends f{constructor(pe,ee){super(pe,ee),this.scheduler=pe,this.work=ee,this.pending=!1}schedule(pe,ee=0){if(this.closed)return this;this.state=pe;const ce=this.id,Z=this.scheduler;return null!=ce&&(this.id=this.recycleAsyncId(Z,ce,ee)),this.pending=!0,this.delay=ee,this.id=this.id||this.requestAsyncId(Z,this.id,ee),this}requestAsyncId(pe,ee,ce=0){return u.setInterval(pe.flush.bind(pe,this),ce)}recycleAsyncId(pe,ee,ce=0){if(null!=ce&&this.delay===ce&&!1===this.pending)return ee;u.clearInterval(ee)}
1execute(pe,ee){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const ce=this._execute(pe,ee);if(ce)return ce;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(pe,ee){let Z,ce=!1;try{this.work(pe)}catch(oe){ce=!0,Z=oe||new Error("Scheduled action threw falsy error")}if(ce)return this.unsubscribe(),Z}unsubscribe(){if(!this.closed){const{id:pe,scheduler:ee}=this,{actions:ce}=ee;this.work=this.state=this.scheduler=null,this.pending=!1,(0,X.P)(ce,this),null!=pe&&(this.id=this.recycleAsyncId(ee,pe,null)),this.delay=null,super.unsubscribe()}}}},7565:(ft,Te,g)=>{g.d(Te,{v:()=>u});var a=g(6063);class f{constructor(I,re=f.now){this.schedulerActionCtor=I,this.now=re}schedule(I,re=0,pe){return new this.schedulerActionCtor(this,I).schedule(pe,re)}}f.now=a.l.now;class u extends f{constructor(I,re=f.now){super(I,re),this.actions=[],this._active=!1,this._scheduled=void 0}flush(I){const{actions:re}=this;if(this._active)return void re.push(I);let pe;this._active=!0;do{if(pe=I.execute(I.state,I.delay))break}while(I=re.shift());if(this._active=!1,pe){for(;I=re.shift();)I.unsubscribe();throw pe}}}},4986:(ft,Te,g)=>{g.d(Te,{P:()=>X,z:()=>u});var a=g(4408);const u=new(g(7565).v)(a.o),X=u},6063:(ft,Te,g)=>{g.d(Te,{l:()=>a});const a={now:()=>(a.delegate||Date).now(),delegate:void 0}},3410:(ft,Te,g)=>{g.d(Te,{z:()=>a});const a={setTimeout(...f){const{delegate:u}=a;return((null==u?void 0:u.setTimeout)||setTimeout)(...f)},clearTimeout(f){const{delegate:u}=a;return((null==u?void 0:u.clearTimeout)||clearTimeout)(f)},delegate:void 0}},2202:(ft,Te,g)=>{g.d(Te,{h:()=>f});const f=function a(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(ft,Te,g)=>{g.d(Te,{L:()=>a});const a="function"==typeof Symbol&&Symbol.observable||"@@observable"},3269:(ft,Te,g)=>{g.d(Te,{_6:()=>re,jO:()=>X,yG:()=>I});var a=g(576),f=g(3532);function u(pe){return pe[pe.length-1]}function X(pe){return(0,a.m)(u(pe))?pe.pop():void 0}function I(pe){return(0,f.K)(u(pe))?pe.pop():void 0}function re(pe,ee){return"number"==typeof u(pe)?pe.pop():ee}},4742:(ft,Te,g)=>{g.d(Te,{D:()=>I});const{isArray:a}=Array,{getPrototypeOf:f,prototype:u,keys:X}=Object;function I(pe){if(1===pe.length){const ee=pe[0];if(a(ee))return{args:ee,keys:null};if(function re(pe){return pe&&"object"==typeof pe&&f(pe)===u}(ee)){const ce=X(ee);return{args:ce.map(Z=>ee[Z]),keys:ce}}}return{args:pe,keys:null}}},8737:(ft,Te,g)=>{function a(f,u){if(f){const X=f.indexOf(u);0<=X&&f.splice(X,1)}}g.d(Te,{P:()=>a})},3888:(ft,Te,g)=>{function a(f){const X=f(I=>{Error.call(I),I.stack=(new Error).stack});return X.prototype=Object.create(Error.prototype),X.prototype.constructor=X,X}g.d(Te,{d:()=>a})},1810:(ft,Te,g)=>{function a(f,u){return f.reduce((X,I,re)=>(X[I]=u[re],X),{})}g.d(Te,{n:()=>a})},2806:(ft,Te,g)=>{g.d(Te,{O:()=>X,x:()=>u});var a=g(2416);let f=null;function u(I){if(a.v.useDeprecatedSynchronousErrorHandling){const re=!f;if(re&&(f={errorThrown:!1,error:null}),I(),re){const{errorThrown:pe,error:ee}=f;if(f=null,pe)throw ee}}else I()}function X(I){a.v.useDeprecatedSynchronousErrorHandling&&f&&(f.errorThrown=!0,f.error=I)}},9672:(ft,Te,g)=>{function a(f,u,X,I=0,re=!1){const pe=u.schedule(function(){X(),re?f.add(this.schedule(null,I)):this.unsubscribe()},I);if(f.add(pe),!re)return pe}g.d(Te,{f:()=>a})},4671:(ft,Te,g)=>{function a(f){return f}g.d(Te,{y:()=>a})},1144:(ft,Te,g)=>{g.d(Te,{z:()=>a});const a=f=>f&&"number"==typeof f.length&&"function"!=typeof f},2206:(ft,Te,g)=>{g.d(Te,{D:()=>f});var a=g(576);function f(u){return Symbol.asyncIterator&&(0,a.m)(null==u?void 0:u[Symbol.asyncIterator])}},576:(ft,Te,g)=>{function a(f){return"function"==typeof f}g.d(Te,{m:()=>a})},3670:(ft,Te,g)=>{g.d(Te,{c:()=>u});var a=g(8822),f=g(576);function u(X){return(0,f.m)(X[a.L])}},6495:(ft,Te,g)=>{g.d(Te,{T:()=>u});var a=g(2202),f=g(576);function u(X){return(0,f.m)(null==X?void 0:X[a.h])}},8239:(ft,Te,g)=>{g.d(Te,{t:()=>f});var a=g(576);function f(u){return(0,a.m)(null==u?void 0:u.then)}},3260:(ft,Te,g)=>{g.d(Te,{L:()=>X,Q:()=>u});var a=g(5987),f=g(576);function u(I){return(0,a.FC)(this,arguments,function*(){const pe=I.getReader();try{for(;;){const{value:ee,done:ce}=yield(0,a.qq)(pe.read());if(ce)return yield(0,a.qq)(void 0);yield yield(0,a.qq)(ee)}}finally{pe.releaseLock()}})}function X(I){return(0,f.m)(null==I?void 0:I.getReader)}},3532:(ft,Te,g)=>{g.d(Te,{K:()=>f});var a=g(576);function f(u){return u&&(0,a.m)(u.schedule)}},4482:(ft,Te,g)=>{g.d(Te,{A:()=>f,e:()=>u});var a=g(576);function f(X){return(0,a.m)(null==X?void 0:X.lift)}function u(X){return I=>{if(f(I))return I.lift(function(re){try{return X(re,this)}catch(pe){this.error(pe)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(ft,Te,g)=>{g.d(Te,{Z:()=>X});var a=g(4004);const{isArray:f}=Array;function X(I){return(0,a.U)(re=>function u(I,re){return f(re)?I(...re):I(re)}(I,re))}},5032:(ft,Te,g)=>{function a(){}g.d(Te,{Z:()=>a})},9635:(ft,Te,g)=>{g.d(Te,{U:()=>u,z:()=>f});var a=g(4671);function f(...X){return u(X)}function u(X){return 0===X.length?a.y:1===X.length?X[0]:function(re){return X.reduce((pe,ee)=>ee(pe),re)}}},7849:(ft,Te,g)=>{g.d(Te,{h:()=>u});var a=g(2416),f=g(3410);function u(X){f.z.setTimeout(()=>{const{onUnhandledError:I}=a.v;if(!I)throw X;I(X)})}},4532:(ft,Te,g)=>{function a(f){return new TypeError(`You provided ${null!==f&&"object"==typeof f?"an invali
1d object":`'${f}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}g.d(Te,{z:()=>a})},5987:(ft,Te,g)=>{function ee(Ie,Fe,Ue,Ze){return new(Ue||(Ue=Promise))(function(_e,je){function ht(_t){try{st(Ze.next(_t))}catch(we){je(we)}}function yt(_t){try{st(Ze.throw(_t))}catch(we){je(we)}}function st(_t){_t.done?_e(_t.value):function Ne(_e){return _e instanceof Ue?_e:new Ue(function(je){je(_e)})}(_t.value).then(ht,yt)}st((Ze=Ze.apply(Ie,Fe||[])).next())})}function Ve(Ie){return this instanceof Ve?(this.v=Ie,this):new Ve(Ie)}function ke(Ie,Fe,Ue){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ne,Ze=Ue.apply(Ie,Fe||[]),_e=[];return Ne={},je("next"),je("throw"),je("return"),Ne[Symbol.asyncIterator]=function(){return this},Ne;function je(Le){Ze[Le]&&(Ne[Le]=function(We){return new Promise(function(ue,Be){_e.push([Le,We,ue,Be])>1||ht(Le,We)})})}function ht(Le,We){try{!function yt(Le){Le.value instanceof Ve?Promise.resolve(Le.value.v).then(st,_t):we(_e[0][2],Le)}(Ze[Le](We))}catch(ue){we(_e[0][3],ue)}}function st(Le){ht("next",Le)}function _t(Le){ht("throw",Le)}function we(Le,We){Le(We),_e.shift(),_e.length&&ht(_e[0][0],_e[0][1])}}function ot(Ie){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ue,Fe=Ie[Symbol.asyncIterator];return Fe?Fe.call(Ie):(Ie=function C(Ie){var Fe="function"==typeof Symbol&&Symbol.iterator,Ue=Fe&&Ie[Fe],Ze=0;if(Ue)return Ue.call(Ie);if(Ie&&"number"==typeof Ie.length)return{next:function(){return Ie&&Ze>=Ie.length&&(Ie=void 0),{value:Ie&&Ie[Ze++],done:!Ie}}};throw new TypeError(Fe?"Object is not iterable.":"Symbol.iterator is not defined.")}(Ie),Ue={},Ze("next"),Ze("throw"),Ze("return"),Ue[Symbol.asyncIterator]=function(){return this},Ue);function Ze(_e){Ue[_e]=Ie[_e]&&function(je){return new Promise(function(ht,yt){!function Ne(_e,je,ht,yt){Promise.resolve(yt).then(function(st){_e({value:st,done:ht})},je)}(ht,yt,(je=Ie[_e](je)).done,je.value)})}}}g.d(Te,{FC:()=>ke,KL:()=>ot,mG:()=>ee,qq:()=>Ve})},1777:(ft,Te,g)=>{g.d(Te,{EY:()=>xe,F4:()=>Z,IO:()=>se,LC:()=>f,SB:()=>ce,X$:()=>X,ZE:()=>$e,ZN:()=>ke,_7:()=>K,_j:()=>a,eR:()=>oe,jt:()=>I,k1:()=>ot,l3:()=>u,oB:()=>ee,oQ:()=>C,pV:()=>Y,ru:()=>re,vP:()=>pe});class a{}class f{}const u="*";function X(be,ae){return{type:7,name:be,definitions:ae,options:{}}}function I(be,ae=null){return{type:4,styles:ae,timings:be}}function re(be,ae=null){return{type:3,steps:be,options:ae}}function pe(be,ae=null){return{type:2,steps:be,options:ae}}function ee(be){return{type:6,styles:be,offset:null}}function ce(be,ae,de){return{type:0,name:be,styles:ae,options:de}}function Z(be){return{type:5,steps:be}}function oe(be,ae,de=null){return{type:1,expr:be,animation:ae,options:de}}function C(be,ae=null){return{type:8,animation:be,options:ae}}function Y(be=null){return{type:9,options:be}}function K(be,ae=null){return{type:10,animation:be,options:ae}}function se(be,ae,de=null){return{type:11,selector:be,animation:ae,options:de}}function xe(be,ae){return{type:12,timings:be,animation:ae}}function Ve(be){Promise.resolve(null).then(be)}class ke{constructor(ae=0,de=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=ae+de}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ae=>ae()),this._onDoneFns=[])}onStart(ae){this._onStartFns.push(ae)}onDone(ae){this._onDoneFns.push(ae)}onDestroy(ae){this._onDestroyFns.push(ae)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Ve(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(ae=>ae()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(ae=>ae()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(ae){this._position=this.totalTime?ae*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(ae){const de="start"==ae?this._onStartFns:this._onDoneFns;de.forEach(Oe=>Oe()),de.length=0}}class $e{constructor(ae){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=ae;let de=0,Oe=0,He=0;const Je=this.players.length;0==Je?Ve(()=>
1this._onFinish()):this.players.forEach(Ie=>{Ie.onDone(()=>{++de==Je&&this._onFinish()}),Ie.onDestroy(()=>{++Oe==Je&&this._onDestroy()}),Ie.onStart(()=>{++He==Je&&this._onStart()})}),this.totalTime=this.players.reduce((Ie,Fe)=>Math.max(Ie,Fe.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ae=>ae()),this._onDoneFns=[])}init(){this.players.forEach(ae=>ae.init())}onStart(ae){this._onStartFns.push(ae)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(ae=>ae()),this._onStartFns=[])}onDone(ae){this._onDoneFns.push(ae)}onDestroy(ae){this._onDestroyFns.push(ae)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(ae=>ae.play())}pause(){this.players.forEach(ae=>ae.pause())}restart(){this.players.forEach(ae=>ae.restart())}finish(){this._onFinish(),this.players.forEach(ae=>ae.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(ae=>ae.destroy()),this._onDestroyFns.forEach(ae=>ae()),this._onDestroyFns=[])}reset(){this.players.forEach(ae=>ae.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(ae){const de=ae*this.totalTime;this.players.forEach(Oe=>{const He=Oe.totalTime?Math.min(1,de/Oe.totalTime):1;Oe.setPosition(He)})}getPosition(){const ae=this.players.reduce((de,Oe)=>null===de||Oe.totalTime>de.totalTime?Oe:de,null);return null!=ae?ae.getPosition():0}beforeDestroy(){this.players.forEach(ae=>{ae.beforeDestroy&&ae.beforeDestroy()})}triggerCallback(ae){const de="start"==ae?this._onStartFns:this._onDoneFns;de.forEach(Oe=>Oe()),de.length=0}}const ot="!"},5664:(ft,Te,g)=>{g.d(Te,{$s:()=>Ie,Em:()=>_e,Kd:()=>ct,X6:()=>U,ic:()=>ht,kH:()=>$t,mK:()=>Ae,qV:()=>rt,qm:()=>Rt,rt:()=>Xe,s1:()=>Ne,tE:()=>Lt,yG:()=>ie});var a=g(9808),f=g(5e3),u=g(925),X=g(7579),I=g(727),re=g(1135),pe=g(9646),ee=g(1159),ce=g(8505),Z=g(8372),oe=g(9300),C=g(4004),Y=g(5698),K=g(5684),se=g(1884),xe=g(2722),Ve=g(3191),ke=g(7144);function ae(J,N){return(J.getAttribute(N)||"").match(/\S+/g)||[]}const Oe="cdk-describedby-message",He="cdk-describedby-host";let Je=0,Ie=(()=>{class J{constructor(j,me){this._platform=me,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Je++,this._document=j}describe(j,me,Se){if(!this._canBeDescribed(j,me))return;const z=Fe(me,Se);"string"!=typeof me?(Ue(me),this._messageRegistry.set(z,{messageElement:me,referenceCount:0})):this._messageRegistry.has(z)||this._createMessageElement(me,Se),this._isElementDescribedByMessage(j,z)||this._addMessageReference(j,z)}removeDescription(j,me,Se){var z;if(!me||!this._isElementNode(j))return;const Ke=Fe(me,Se);if(this._isElementDescribedByMessage(j,Ke)&&this._removeMessageReference(j,Ke),"string"==typeof me){const y=this._messageRegistry.get(Ke);y&&0===y.referenceCount&&this._deleteMessageElement(Ke)}0===(null===(z=this._messagesContainer)||void 0===z?void 0:z.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var j;const me=this._document.querySelectorAll(`[${He}="${this._id}"]`);for(let Se=0;Se<me.length;Se++)this._removeCdkDescribedByReferenceIds(me[Se]),me[Se].removeAttribute(He);null===(j=this._messagesContainer)||void 0===j||j.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(j,me){const Se=this._document.createElement("div");Ue(Se),Se.textContent=j,me&&Se.setAttribute("role",me),this._createMessagesContainer(),this._messagesContainer.appendChild(Se),this._messageRegistry.set(Fe(j,me),{messageElement:Se,referenceCount:0})}_deleteMessageElement(j){var me,Se;null===(Se=null===(me=this._messageRegistry.get(j))||void 0===me?void 0:me.messageElement)||void 0===Se||Se.remove(),this._messageRegistry.delete(j)}_createMessagesContainer(){if(this._messagesContainer)return;const j="cdk-describedby-message-container",me=this._document.querySelectorAll(`.${j}[platform="server"]`);for(let z=0;z<me.length;z++)me[z].remove();const Se=this._document.createElement("div");Se.style.visibility="hidden",Se.classList.add(j),Se.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&Se.setAttribute("platform","server"),this._document.body.appendChild(Se),this._messagesContainer=Se}_removeCdkDescribedByReferenceIds(j){const me=ae(j,"aria-describedby").filter(Se=>0!=Se.indexOf(Oe));j.setAttribute("aria-describedby",me.join(" "))}_addMessageReference(j,me){const Se=this._messageRegistry.get(me);(function ot(J,N,j){const me=ae(J,N);me.some(Se=>Se.trim()==j.trim())||(me.push(j.trim()),J.setAttribute(N,me.join(" ")))})(j,"aria-describedby",Se.messageElement.id),j.setAttribute(He,this._id),Se.referenceCount++}_removeMessageReference(j,me){const Se=this._messageRegistry.get(me);Se.referenceCount--,function be(J,N,j){const Se=ae(J,N).filter(z=>z!=j.trim());Se.length?J.setAttribute(N,Se.join(" ")):J.removeAttribute(N)}(j,"aria-describedby",Se.messageElement.id),j.removeAttribute(He)}_isElementDescribedByMessage(j,me){const Se=ae(j,"aria-describedby"),z=this._messageRegistry.get(me),Ke=z&&z.messageElement.id;return!!Ke&&-1!=Se.indexOf(Ke)}_canBeDescribed(j,me){if(!this._isElementNode(j))return!1;if(me&&"object"==typeof me)return!0;const Se=null==me?"":`${me}`.trim(),z=j.getAttribute("aria-label");return!(!Se||z&&z.trim()===Se)}_isElementNode(j){return j.nodeType===this._document.ELEMENT_NODE}}return J.\u0275fac=function(j){return new(j||J)(f.\u0275\u0275inject(a.K0),f.\u0275\u0275inject(u.t4))},J.\u0275prov=f.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac,providedIn:"root"}),J})();function Fe(J,N){return"string"==typeof J?`${N||""}/${J}`:J}function Ue(J){J.id||(J.id=`${Oe}-${Je++}`)}class Ze{constructor(N){this._items=N,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new X.x,this._typeaheadSub
1scription=I.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=j=>j.disabled,this._pressedLetters=[],this.tabOut=new X.x,this.change=new X.x,N instanceof f.QueryList&&N.changes.subscribe(j=>{if(this._activeItem){const Se=j.toArray().indexOf(this._activeItem);Se>-1&&Se!==this._activeItemIndex&&(this._activeItemIndex=Se)}})}skipPredicate(N){return this._skipPredicateFn=N,this}withWrap(N=!0){return this._wrap=N,this}withVerticalOrientation(N=!0){return this._vertical=N,this}withHorizontalOrientation(N){return this._horizontal=N,this}withAllowedModifierKeys(N){return this._allowedModifierKeys=N,this}withTypeAhead(N=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,ce.b)(j=>this._pressedLetters.push(j)),(0,Z.b)(N),(0,oe.h)(()=>this._pressedLetters.length>0),(0,C.U)(()=>this._pressedLetters.join(""))).subscribe(j=>{const me=this._getItemsArray();for(let Se=1;Se<me.length+1;Se++){const z=(this._activeItemIndex+Se)%me.length,Ke=me[z];if(!this._skipPredicateFn(Ke)&&0===Ke.getLabel().toUpperCase().trim().indexOf(j)){this.setActiveItem(z);break}}this._pressedLetters=[]}),this}withHomeAndEnd(N=!0){return this._homeAndEnd=N,this}setActiveItem(N){const j=this._activeItem;this.updateActiveItem(N),this._activeItem!==j&&this.change.next(this._activeItemIndex)}
1onKeydown(N){const j=N.keyCode,Se=["altKey","ctrlKey","metaKey","shiftKey"].every(z=>!N[z]||this._allowedModifierKeys.indexOf(z)>-1);switch(j){case ee.Mf:return void this.tabOut.next();case ee.JH:if(this._vertical&&Se){this.setNextItemActive();break}return;case ee.LH:if(this._vertical&&Se){this.setPreviousItemActive();break}return;case ee.SV:if(this._horizontal&&Se){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case ee.oh:if(this._horizontal&&Se){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case ee.Sd:if(this._homeAndEnd&&Se){this.setFirstItemActive();break}return;case ee.uR:if(this._homeAndEnd&&Se){this.setLastItemActive();break}return;default:return void((Se||(0,ee.Vb)(N,"shiftKey"))&&(N.key&&1===N.key.length?this._letterKeyStream.next(N.key.toLocaleUpperCase()):(j>=ee.A&&j<=ee.Z||j>=ee.xE&&j<=ee.aO)&&this._letterKeyStream.next(String.fromCharCode(j))))}this._pressedLetters=[],N.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(N){const j=this._getItemsArray(),me="number"==typeof N?N:j.indexOf(N),Se=j[me];this._activeItem=null==Se?null:Se,this._activeItemIndex=me}_setActiveItemByDelta(N){this._wrap?this._setActiveInWrapMode(N):this._setActiveInDefaultMode(N)}_setActiveInWrapMode(N){const j=this._getItemsArray();for(let me=1;me<=j.length;me++){const Se=(this._activeItemIndex+N*me+j.length)%j.length;if(!this._skipPredicateFn(j[Se]))return void this.setActiveItem(Se)}}_setActiveInDefaultMode(N){this._setActiveItemByIndex(this._activeItemIndex+N,N)}_setActiveItemByIndex(N,j){const me=this._getItemsArray();if(me[N]){for(;this._skipPredicateFn(me[N]);)if(!me[N+=j])return;this.setActiveItem(N)}}_getItemsArray(){return this._items instanceof f.QueryList?this._items.toArray():this._items}}class Ne extends Ze{setActiveItem(N){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(N),this.activeItem&&this.activeItem.setActiveStyles()}}class _e extends Ze{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(N){return this._origin=N,this}setActiveItem(N){super.setActiveItem(N),this.activeItem&&this.activeItem.focus(this._origin)}}let ht=(()=>{class J{constructor(j){this._platform=j}isDisabled(j){return j.hasAttribute("disabled")}isVisible(j){return function st(J){return!!(J.offsetWidth||J.offsetHeight||"function"==typeof J.getClientRects&&J.getClientRects().length)}(j)&&"visible"===getComputedStyle(j).visibility}isTabbable(j){if(!this._platform.isBrowser)return!1;const me=function yt(J){try{return J.frameElement}catch(N){return null}}(function Qe(J){return J.ownerDocument&&J.ownerDocument.defaultView||window}(j));if(me&&(-1===R(me)||!this.isVisible(me)))return!1;let Se=j.nodeName.toLowerCase(),z=R(j);return j.hasAttribute("contenteditable")?-1!==z:!("iframe"===Se||"object"===Se||this._platform.WEBKIT&&this._platform.IOS&&!function le(J){let N=J.nodeName.toLowerCase(),j="input"===N&&J.type;return"text"===j||"password"===j||"select"===N||"textarea"===N}(j))&&("audio"===Se?!!j.hasAttribute("controls")&&-1!==z:"video"===Se?-1!==z&&(null!==z||this._platform.FIREFOX||j.hasAttribute("controls")):j.tabIndex>=0)}isFocusable(j,me){return function ge(J){return!function we(J){return function We(J){return"input"==J.nodeName.toLowerCase()}(J)&&"hidden"==J.type}(J)&&(function _t(J){let N=J.nodeName.toLowerCase();return"input"===N||"select"===N||"button"===N||"textarea"===N}(J)||function Le(J){return function ue(J){return"a"==J.nodeName.toLowerCase()}(J)&&J.hasAttribute("href")}(J)||J.hasAttribute("contenteditable")||Be(J))}(j)&&!this.isDisabled(j)&&((null==me?void 0:me.ignoreVisibility)||this.isVisible(j))}}return J.\u0275fac=function(j){return new(j||J)(f.\u0275\u0275inject(u.t4))},J.\u0275prov=f.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac,providedIn:"root"}),J})();function Be(J){if(!J.hasAttribute("tabindex")||void 0===J.tabIndex)return!1;let N=J.getAttribute("tabindex");return!(!N||isNaN(parseInt(N,10)))}function R(J){if(!Be(J))return null;const N=parseInt(J.getAttribute("tabindex")||"",10);return isNaN(N)?-1:N}class ze{constructor(N,j,me,Se,z=!1){this._element=N,this._checker=j,this._ngZone=me,this._document=Se,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,z||this.attachAnchors()}get enabled(){return this._enabled}set enabled(N){this._enabled=N,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(N,this._startAnchor),this._toggleAnchorTabIndex(N,this._endAnchor))}destroy(){const N=this._startAnchor,j=this._endAnchor;N&&(N.removeEventListener("focus",this.startAnchorListener),N.remove()),j&&(j.removeEventListener("focus",this.endAnchorListener),j.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(N){return new Promise(j=>{this._executeOnStable(()=>j(this.focusInitialElement(N)))})}focusFirstTabbableElementWhenReady(N){return new Promise(j=>{this._executeOnStable(()=>j(this.focusFirstTabbableElement(N)))})}focusLastTabbableElementWhenReady(N){return new Promise(j=>{this._executeOnStable(()=>j(this.focusLastTabbableElement(N)))})}_getRegionBoundary(N){const j=this._element.querySelectorAll(`[cdk-focus-region-${N}], [cdkFocusRegion${N}], [cdk-focus-${N}]`);return"start"==N?j.length?j[0]:this._getFirstTabbableElement(this._element):j.length?j[j.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(N){const j=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(j){if(!this._checker.isFocusable(j)){const me=this._getFirstTabbableElement(j);return null==me||me.focus(N),!!me}return j.focus(N),!0}return this.focusFirstTabbableElement(N)}focusFirstTabbableElement(N){const j=this._getRegionBoundary("start");return j&&j.focus(N),!!j}focusLastTabbableElement(N){const j=this._getRegionBoundary("end");return j&&j.focus(N),!!j}hasAttached(){return this._hasAttached}_getFirstTabbableElement(N){if(this._checker.isFocusable(N)&&this._checker.isTabbable(N))return N;const j=N.children;for(let me=0;me<j.length;me++){const Se=j[me].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(j[me]):null;if(Se)return Se}return null}_getLastTabbableElement(N){if(this._checker.isFocusable(N)&&this._checker.isTabbable(N))return N;const j=N.children;for(let me=j.length-1;me>=0;me--){const Se=j[me].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(j[me]):null;if(Se)return Se}return null}_createAnchor(){const N=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,N),N.classList.add("cdk-visually-hidden"),N.classList.add("cdk-focus-trap-anchor"),N.setAttribute("aria-hidden","true"),N}_toggleAnchorTabIndex(N,j){N?j.setAttribute("tabindex","0"):j.removeAttribute("tabindex")}toggleAnchors(N){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(N,this._startAnchor),this._toggleAnchorTabIndex(N,this._endAnchor))}_executeOnStable(N){this._ngZone.isStable?N():this._ngZone.onStable.pipe((0,Y.q)(1)).subscribe(N)}}let rt=(()=>{class J{constructor(j,me,Se){this._checker=j,this._ngZone=me,this._document=Se}create(j,me=!1){return new ze(j,this._checker,this._ngZone,this._document,me)}}return J.\u0275fac=function(j){return new(j||J)(f.\u0275\u0275inject(ht),f.\u0275\u0275inject(f.NgZone),f.\u0275\u0275inject(a.K0))},J.\u0275prov=f.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac,providedIn:"root"}),J})(),Ae=(()=>{class J{constructor(j,me,Se){this._elementRef=j,this._focusTrapFactory=me,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(j){this.focusTrap.enabled=(0,Ve.Ig)(j)}get autoCapture(){return this._autoCapture}set autoCapture(j){this._autoCapture=(0,Ve.Ig)(j)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(j){const me=j.autoCapture;me&&!me.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,u.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return J.\u0275fac=function(j){return new(j||J)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(rt),f.\u0275\u0275directiveInject(a.K0))},J.\u0275dir=f.\u0275\u0275defineDirective({type:J,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[f.\u0275\u0275NgOnChangesFeature]}),J})();function U(J){return 0===J.buttons||0===J.offsetX&&0===J.offsetY}function ie(J){const N=J.touches&&J.touches[0]||J.changedTouches&&J.changedTouches[0];return!(!N||-1!==N.identifier||null!=N.radiusX&&1!==N.radiusX||null!=N.radiusY&&1!==N.radiusY)}const P=new f.InjectionToken("cdk-input-modality-detector-options"),A={ignoreKeys:[ee.zL,ee.jx,ee.b2,ee.MW,ee.JU]},x=(0,u.i$)({passive:!0,capture:!0});let ne=(()=>{class J{constructor(j,me,Se,z){this._platform=j,this._mostRecentTarget=null,this._modality=new re.X(null),this._lastTouchMs=0,this._onKeydown=Ke=>{var y,O;(null===(O=null===(y=this._options)||void 0===y?void 0:y.ignoreKeys)||void 0===O?void 0:O.some(q=>q===Ke.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=(0,u.sA)(Ke))},this._onMousedown=Ke=>{Date.now()-this._lastTouchMs<650||(this._modality.next(U(Ke)?"keyboard":"mouse"),this._mostRecentTarget=(0,u.sA)(Ke))},this._onTouchstart=Ke=>{ie(Ke)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,u.sA)(Ke))},this._options=Object.assign(Object.assign({},A),z),this.modalityDetected=this._modality.pipe((0,K.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,se.x)()),j.isBrowser&&me.runOutsideAngular(()=>{Se.addEventListener("keydown",this._onKeydown,x),Se.addEventListener("mousedown",this._onMousedown,x),Se.addEventListener("touchstart",this._onTouchstart,x)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,x),document.removeEventListener("mousedown",this._onMousedown,x),document.removeEventListener("touchstart",this._onTouchstart,x))}}return J.\u0275fac=function(j){return new(j||J)(f.\u0275\u0275inject(u.t4),f.\u0275\u0275inject(f.NgZone),f.\u0275\u0275inject(a.K0),f.\u0275\u0275inject(P,8))},J.\u0275prov=f.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac,providedIn:"root"}),J})();const he=new f.InjectionToken("liveAnnouncerElement",{providedIn:"root",factory:function qe(){return null}}),nt=new f.InjectionToken("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let ct=(()=>{class J{constructor(j,me,Se,z){this._ngZone=me,this._defaultOptions=z,this._document=Se,this._liveElement=j||this._createLiveElement()}announce(j,...me){const Se=this._defaultOptions;let z,Ke;return 1===me.length&&"number"==typeof me[0]?Ke=me[0]:[z,Ke]=me,this.clear(),clearTimeout(this._previousTimeout),z||(z=Se&&Se.politeness?Se.politeness:"polite"),null==Ke&&Se&&(Ke=Se.duration),this._liveElement.setAttribute("aria-live",z),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(y=>this._currentResolve=y)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=j,"number"==typeof Ke&&(this._previousTimeout=setTimeout(()=>this.clear(),Ke)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var j,me;clearTimeout(this._previousTimeout),null===(j=this._liveElement)||void 0===j||j.remove(),this._liveElement=null,null===(me=this._currentResolve)||void 0===me||me.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const j="cdk-live-announcer-element",me=this._document.getElementsByClassName(j),Se=this._document.createElement("div");for(let z=0;z<me.length;z++)me[z].remove();return Se.classList.add(j),Se.classList.add("cdk-visually-hidden"),Se.setAttribute("aria-atomic","true"),Se.setAttribute("aria-live","polite"),this._document.body.appendChild(Se),Se}}return J.\u0275fac=function(j){return new(j||J)(f.\u0275\u0275inject(he,8),f.\u0275\u0275inject(f.NgZone),f.\u0275\u0275inject(a.K0),f.\u0275\u0275inject(nt,8))},J.\u0275prov=f.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac,providedIn:"root"}),J})();const wt=new f.InjectionToken("cdk-focus-monitor-default-options"),St=(0,u.i$)({passive:!0,capture:!0});let Lt=(()=>{class J{constructor(j,me,Se,z,Ke){this._ngZone=j,this._platform=me,this._inputModalityDetector=Se,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new X.x,this._rootNodeFocusAndBlurListener=y=>{const O=(0,u.sA)(y),q="focus"===y.type?this._onFocus:this._onBlur;for(let B=O;B;B=B.parentElement)q.call(this,y,B)},this._document=z,this._detectionMode=(null==Ke?void 0:Ke.detectionMode)||0}monitor(j,me=!1){const Se=(0,Ve.fI)(j);if(!this._platform.isBrowser||1!==Se.nodeType)return(0,pe.of)(null);const z=(0,u.kV)(Se)||this._getDocument(),Ke=this._elementInfo.get(Se);if(Ke)return me&&(Ke.checkChildren=!0),Ke.subject;
1const y={checkChildren:me,subject:new X.x,rootNode:z};return this._elementInfo.set(Se,y),this._registerGlobalListeners(y),y.subject}stopMonitoring(j){const me=(0,Ve.fI)(j),Se=this._elementInfo.get(me);Se&&(Se.subject.complete(),this._setClasses(me),this._elementInfo.delete(me),this._removeGlobalListeners(Se))}focusVia(j,me,Se){const z=(0,Ve.fI)(j);z===this._getDocument().activeElement?this._getClosestElementsInfo(z).forEach(([y,O])=>this._originChanged(y,me,O)):(this._setOrigin(me),"function"==typeof z.focus&&z.focus(Se))}ngOnDestroy(){this._elementInfo.forEach((j,me)=>this.stopMonitoring(me))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(j){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(j)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(j){return 1===this._detectionMode||!!(null==j?void 0:j.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(j,me){j.classList.toggle("cdk-focused",!!me),j.classList.toggle("cdk-touch-focused","touch"===me),j.classList.toggle("cdk-keyboard-focused","keyboard"===me),j.classList.toggle("cdk-mouse-focused","mouse"===me),j.classList.toggle("cdk-program-focused","program"===me)}_setOrigin(j,me=!1){this._ngZone.runOutsideAngular(()=>{this._origin=j,this._originFromTouchInteraction="touch"===j&&me,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(j,me){const Se=this._elementInfo.get(me),z=(0,u.sA)(j);!Se||!Se.checkChildren&&me!==z||this._originChanged(me,this._getFocusOrigin(z),Se)}_onBlur(j,me){const Se=this._elementInfo.get(me);!Se||Se.checkChildren&&j.relatedTarget instanceof Node&&me.contains(j.relatedTarget)||(this._setClasses(me),this._emitOrigin(Se.subject,null))}_emitOrigin(j,me){this._ngZone.run(()=>j.next(me))}_registerGlobalListeners(j){if(!this._platform.isBrowser)return;const me=j.rootNode,Se=this._rootNodeFocusListenerCount.get(me)||0;Se||this._ngZone.runOutsideAngular(()=>{me.addEventListener("focus",this._rootNodeFocusAndBlurListener,St),me.addEventListener("blur",this._rootNodeFocusAndBlurListener,St)}),this._rootNodeFocusListenerCount.set(me,Se+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,xe.R)(this._stopInputModalityDetector)).subscribe(z=>{this._setOrigin(z,!0)}))}_removeGlobalListeners(j){const me=j.rootNode;if(this._rootNodeFocusListenerCount.has(me)){const Se=this._rootNodeFocusListenerCount.get(me);Se>1?this._rootNodeFocusListenerCount.set(me,Se-1):(me.removeEventListener("focus",this._rootNodeFocusAndBlurListener,St),me.removeEventListener("blur",this._rootNodeFocusAndBlurListener,St),this._rootNodeFocusListenerCount.delete(me))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(j,me,Se){this._setClasses(j,me),this._emitOrigin(Se.subject,me),this._lastFocusOrigin=me}_getClosestElementsInfo(j){const me=[];return this._elementInfo.forEach((Se,z)=>{(z===j||Se.checkChildren&&z.contains(j))&&me.push([z,Se])}),me}}return J.\u0275fac=function(j){return new(j||J)(f.\u0275\u0275inject(f.NgZone),f.\u0275\u0275inject(u.t4),f.\u0275\u0275inject(ne),f.\u0275\u0275inject(a.K0,8),f.\u0275\u0275inject(wt,8))},J.\u0275prov=f.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac,providedIn:"root"}),J})(),$t=(()=>{class J{constructor(j,me){this._elementRef=j,this._focusMonitor=me,this.cdkFocusChange=new f.EventEmitter}ngAfterViewInit(){const j=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(j,1===j.nodeType&&j.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(me=>this.cdkFocusChange.emit(me))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return J.\u0275fac=function(j){return new(j||J)(f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(Lt))},J.\u0275dir=f.\u0275\u0275defineDirective({type:J,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),J})();const jt="cdk-high-contrast-black-on-white",Ot="cdk-high-contrast-white-on-black",kt="cdk-high-contrast-active";let Rt=(()=>{class J{constructor(j,me){this._platform=j,this._document=me}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const j=this._document.createElement("div");j.style.backgroundColor="rgb(1,2,3)",j.style.position="absolute",this._document.body.appendChild(j);const me=this._document.defaultView||window,Se=me&&me.getComputedStyle?me.getComputedStyle(j):null,z=(Se&&Se.backgroundColor||"").replace(/ /g,"");switch(j.remove(),z){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}
1_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const j=this._document.body.classList;j.remove(kt),j.remove(jt),j.remove(Ot),this._hasCheckedHighContrastMode=!0;const me=this.getHighContrastMode();1===me?(j.add(kt),j.add(jt)):2===me&&(j.add(kt),j.add(Ot))}}}return J.\u0275fac=function(j){return new(j||J)(f.\u0275\u0275inject(u.t4),f.\u0275\u0275inject(a.K0))},J.\u0275prov=f.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac,providedIn:"root"}),J})(),Xe=(()=>{class J{constructor(j){j._applyBodyHighContrastModeCssClasses()}}return J.\u0275fac=function(j){return new(j||J)(f.\u0275\u0275inject(Rt))},J.\u0275mod=f.\u0275\u0275defineNgModule({type:J}),J.\u0275inj=f.\u0275\u0275defineInjector({imports:[[ke.Q8]]}),J})()},226:(ft,Te,g)=>{g.d(Te,{Is:()=>pe,vT:()=>ce});var a=g(5e3),f=g(9808);const u=new a.InjectionToken("cdk-dir-doc",{providedIn:"root",factory:function X(){return(0,a.inject)(f.K0)}}),I=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let pe=(()=>{class Z{constructor(C){if(this.value="ltr",this.change=new a.EventEmitter,C){const K=C.documentElement?C.documentElement.dir:null;this.value=function re(Z){const oe=(null==Z?void 0:Z.toLowerCase())||"";return"auto"===oe&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?I.test(navigator.language)?"rtl":"ltr":"rtl"===oe?"rtl":"ltr"}((C.body?C.body.dir:null)||K||"ltr")}}ngOnDestroy(){this.change.complete()}}return Z.\u0275fac=function(C){return new(C||Z)(a.\u0275\u0275inject(u,8))},Z.\u0275prov=a.\u0275\u0275defineInjectable({token:Z,factory:Z.\u0275fac,providedIn:"root"}),Z})(),ce=(()=>{class Z{}return Z.\u0275fac=function(C){return new(C||Z)},Z.\u0275mod=a.\u0275\u0275defineNgModule({type:Z}),Z.\u0275inj=a.\u0275\u0275defineInjector({}),Z})()},3191:(ft,Te,g)=>{g.d(Te,{Eq:()=>I,HM:()=>re,Ig:()=>f,du:()=>ee,fI:()=>pe,su:()=>u,t6:()=>X});var a=g(5e3);function f(ce){return null!=ce&&"false"!=`${ce}`}function u(ce,Z=0){return X(ce)?Number(ce):Z}function X(ce){return!isNaN(parseFloat(ce))&&!isNaN(Number(ce))}function I(ce){return Array.isArray(ce)?ce:[ce]}function re(ce){return null==ce?"":"string"==typeof ce?ce:`${ce}px`}function pe(ce){return ce instanceof a.ElementRef?ce.nativeElement:ce}function ee(ce,Z=/\s+/){const oe=[];if(null!=ce){const C=Array.isArray(ce)?ce:`${ce}`.split(Z);for(const Y of C){const K=`${Y}`.trim();K&&oe.push(K)}}return oe}},449:(ft,Te,g)=>{g.d(Te,{A8:()=>Z,Ov:()=>ee,Z9:()=>X,eX:()=>pe,k:()=>oe,o2:()=>u,yy:()=>re});var a=g(7579),f=g(5e3);class u{}function X(C){return C&&"function"==typeof C.connect}class re{applyChanges(Y,K,se,xe,Ve){Y.forEachOperation((ke,$e,ot)=>{let be,ae;if(null==ke.previousIndex){const de=se(ke,$e,ot);be=K.createEmbeddedView(de.templateRef,de.context,de.index),ae=1}else null==ot?(K.remove($e),ae=3):(be=K.get($e),K.move(be,ot),ae=2);Ve&&Ve({context:null==be?void 0:be.context,operation:ae,record:ke})})}detach(){}}class pe{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(Y,K,se,xe,Ve){Y.forEachOperation((ke,$e,ot)=>{let be,ae;null==ke.previousIndex?(be=this._insertView(()=>se(ke,$e,ot),ot,K,xe(ke)),ae=be?1:0):null==ot?(this._detachAndCacheView($e,K),ae=3):(be=this._moveView($e,ot,K,xe(ke)),ae=2),Ve&&Ve({context:null==be?void 0:be.context,operation:ae,record:ke})})}detach(){for(const Y of this._viewCache)Y.destroy();this._viewCache=[]}_insertView(Y,K,se,xe){const Ve=this._insertViewFromCache(K,se);if(Ve)return void(Ve.context.$implicit=xe);const ke=Y();return se.createEmbeddedView(ke.templateRef,ke.context,ke.index)}_detachAndCacheView(Y,K){const se=K.detach(Y);this._maybeCacheView(se,K)}_moveView(Y,K,se,xe){const Ve=se.get(Y);return se.move(Ve,K),Ve.context.$implicit=xe,Ve}_maybeCacheView(Y,K){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(Y);else{const se=K.indexOf(Y);-1===se?Y.destroy():K.remove(se)}}_insertViewFromCache(Y,K){const se=this._viewCache.pop();return se&&K.insert(se,Y),se||null}}class ee{constructor(Y=!1,K,se=!0){this._multiple=Y,this._emitChanges=se,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new a.x,K&&K.length&&(Y?K.forEac
1h(xe=>this._markSelected(xe)):this._markSelected(K[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...Y){this._verifyValueAssignment(Y),Y.forEach(K=>this._markSelected(K)),this._emitChangeEvent()}deselect(...Y){this._verifyValueAssignment(Y),Y.forEach(K=>this._unmarkSelected(K)),this._emitChangeEvent()}toggle(Y){this.isSelected(Y)?this.deselect(Y):this.select(Y)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(Y){return this._selection.has(Y)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(Y){this._multiple&&this.selected&&this._selected.sort(Y)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(Y){this.isSelected(Y)||(this._multiple||this._unmarkAll(),this._selection.add(Y),this._emitChanges&&this._selectedToEmit.push(Y))}_unmarkSelected(Y){this.isSelected(Y)&&(this._selection.delete(Y),this._emitChanges&&this._deselectedToEmit.push(Y))}_unmarkAll(){this.isEmpty()||this._selection.forEach(Y=>this._unmarkSelected(Y))}_verifyValueAssignment(Y){}}let Z=(()=>{class C{constructor(){this._listeners=[]}notify(K,se){for(let xe of this._listeners)xe(K,se)}listen(K){return this._listeners.push(K),()=>{this._listeners=this._listeners.filter(se=>K!==se)}}ngOnDestroy(){this._listeners=[]}}return C.\u0275fac=function(K){return new(K||C)},C.\u0275prov=f.\u0275\u0275defineInjectable({token:C,factory:C.\u0275fac,providedIn:"root"}),C})();const oe=new f.InjectionToken("_ViewRepeater")},1159:(ft,Te,g)=>{g.d(Te,{A:()=>Le,JH:()=>ot,JU:()=>re,K5:()=>I,Ku:()=>Y,LH:()=>ke,L_:()=>C,MW:()=>ct,Mf:()=>u,SV:()=>$e,Sd:()=>xe,VM:()=>K,Vb:()=>Yn,Z:()=>nt,ZH:()=>f,aO:()=>ht,b2:()=>vi,hY:()=>oe,jx:()=>pe,oh:()=>Ve,uR:()=>se,xE:()=>He,zL:()=>ee});const f=8,u=9,I=13,re=16,pe=17,ee=18,oe=27,C=32,Y=33,K=34,se=35,xe=36,Ve=37,ke=38,$e=39,ot=40,He=48,ht=57,Le=65,nt=90,ct=91,vi=224;function Yn(wn,...nn){return nn.length?nn.some(Ui=>wn[Ui]):wn.altKey||wn.shiftKey||wn.ctrlKey||wn.metaKey}},7144:(ft,Te,g)=>{g.d(Te,{Q8:()=>ce,wD:()=>ee});var a=g(3191),f=g(5e3),u=g(9751),X=g(7579),I=g(8372);let re=(()=>{class Z{create(C){return"undefined"==typeof MutationObserver?null:new MutationObserver(C)}}return Z.\u0275fac=function(C){return new(C||Z)},Z.\u0275prov=f.\u0275\u0275defineInjectable({token:Z,factory:Z.\u0275fac,providedIn:"root"}),Z})(),pe=(()=>{class Z{constructor(C){this._mutationObserverFactory=C,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((C,Y)=>this._cleanupObserver(Y))}observe(C){const Y=(0,a.fI)(C);return new u.y(K=>{const xe=this._observeElement(Y).subscribe(K);return()=>{xe.unsubscribe(),this._unobserveElement(Y)}})}_observeElement(C){if(this._observedElements.has(C))this._observedElements.get(C).count++;else{const Y=new X.x,K=this._mutationObserverFactory.create(se=>Y.next(se));K&&K.observe(C,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(C,{observer:K,stream:Y,count:1})}return this._observedElements.get(C).stream}_unobserveElement(C){this._observedElements.has(C)&&(this._observedElements.get(C).count--,this._observedElements.get(C).count||this._cleanupObserver(C))}_cleanupObserver(C){if(this._observedElements.has(C)){const{observer:Y,stream:K}=this._observedElements.get(C);Y&&Y.disconnect(),K.complete(),this._observedElements.delete(C)}}}return Z.\u0275fac=function(C){return new(C||Z)(f.\u0275\u0275inject(re))},Z.\u0275prov=f.\u0275\u0275defineInjectable({token:Z,factory:Z.\u0275fac,providedIn:"root"}),Z})(),ee=(()=>{class Z{constructor(C,Y,K){this._contentObserver=C,this._elementRef=Y,this._ngZone=K,this.event=new f.EventEmitter,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(C){this._disabled=(0,a.Ig)(C),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(C){this._debounce=(0,a.su)(C),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const C=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?C.pipe((0,I.b)(this.debounce)):C).subscribe(this.event)})}_unsubscribe(){var C;null===(C=this._currentSubscription)||void 0===C||C.unsubscribe()}}
1return Z.\u0275fac=function(C){return new(C||Z)(f.\u0275\u0275directiveInject(pe),f.\u0275\u0275directiveInject(f.ElementRef),f.\u0275\u0275directiveInject(f.NgZone))},Z.\u0275dir=f.\u0275\u0275defineDirective({type:Z,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),Z})(),ce=(()=>{class Z{}return Z.\u0275fac=function(C){return new(C||Z)},Z.\u0275mod=f.\u0275\u0275defineNgModule({type:Z}),Z.\u0275inj=f.\u0275\u0275defineInjector({providers:[re]}),Z})()},1314:(ft,Te,g)=>{g.d(Te,{U8:()=>vt,X_:()=>Oe,Xj:()=>Ne,_G:()=>ht,aV:()=>ge,pI:()=>Ae,xu:()=>rt});var a=g(8962),f=g(9808),u=g(5e3),X=g(3191),I=g(925),re=g(226),pe=g(9129),ee=g(7579),ce=g(727),Z=g(6451),oe=g(5698),C=g(2722),Y=g(2529),K=g(1159);const se=(0,I.Mq)();class xe{constructor(U,ie){this._viewportRuler=U,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=ie}attach(){}enable(){if(this._canBeEnabled()){const U=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=U.style.left||"",this._previousHTMLStyles.top=U.style.top||"",U.style.left=(0,X.HM)(-this._previousScrollPosition.left),U.style.top=(0,X.HM)(-this._previousScrollPosition.top),U.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const U=this._document.documentElement,P=U.style,A=this._document.body.style,b=P.scrollBehavior||"",x=A.scrollBehavior||"";this._isEnabled=!1,P.left=this._previousHTMLStyles.left,P.top=this._previousHTMLStyles.top,U.classList.remove("cdk-global-scrollblock"),se&&(P.scrollBehavior=A.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),se&&(P.scrollBehavior=b,A.scrollBehavior=x)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const ie=this._document.body,P=this._viewportRuler.getViewportSize();return ie.scrollHeight>P.height||ie.scrollWidth>P.width}}class ke{constructor(U,ie,P,A){this._scrollDispatcher=U,this._ngZone=ie,this._viewportRuler=P,this._config=A,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(U){this._overlayRef=U}enable(){if(this._scrollSubscription)return;const U=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=U.subscribe(()=>{const ie=this._viewportRuler.getViewportScrollPosition().top;Math.abs(ie-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=U.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class $e{enable(){}disable(){}attach(){}}function ot(De,U){return U.some(ie=>De.bottom<ie.top||De.top>ie.bottom||De.right<ie.left||De.left>ie.right)}function be(De,U){return U.some(ie=>De.top<ie.top||De.bottom>ie.bottom||De.left<ie.left||De.right>ie.right)}class ae{constructor(U,ie,P,A){this._scrollDispatcher=U,this._viewportRuler=ie,this._ngZone=P,this._config=A,this._scrollSubscription=null}attach(U){this._overlayRef=U}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const ie=this._overlayRef.overlayElement.getBoundingClientRect(),{width:P,height:A}=this._viewportRuler.getViewportSize();ot(ie,[{width:P,height:A,bottom:A,right:P,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let de=(()=>{class De{constructor(ie,P,A,b){this._scrollDispatcher=ie,this._viewportRuler
1=P,this._ngZone=A,this.noop=()=>new $e,this.close=x=>new ke(this._scrollDispatcher,this._ngZone,this._viewportRuler,x),this.block=()=>new xe(this._viewportRuler,this._document),this.reposition=x=>new ae(this._scrollDispatcher,this._viewportRuler,this._ngZone,x),this._document=b}}return De.\u0275fac=function(ie){return new(ie||De)(u.\u0275\u0275inject(a.mF),u.\u0275\u0275inject(a.rL),u.\u0275\u0275inject(u.NgZone),u.\u0275\u0275inject(f.K0))},De.\u0275prov=u.\u0275\u0275defineInjectable({token:De,factory:De.\u0275fac,providedIn:"root"}),De})();class Oe{constructor(U){if(this.scrollStrategy=new $e,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,U){const ie=Object.keys(U);for(const P of ie)void 0!==U[P]&&(this[P]=U[P])}}}class Ie{constructor(U,ie){this.connectionPair=U,this.scrollableViewProperties=ie}}class Ze{constructor(U,ie,P,A,b,x,ne,he,qe){this._portalOutlet=U,this._host=ie,this._pane=P,this._config=A,this._ngZone=b,this._keyboardDispatcher=x,this._document=ne,this._location=he,this._outsideClickDispatcher=qe,this._backdropElement=null,this._backdropClick=new ee.x,this._attachments=new ee.x,this._detachments=new ee.x,this._locationChanges=ce.w0.EMPTY,this._backdropClickHandler=nt=>this._backdropClick.next(nt),this._backdropTransitionendHandler=nt=>{this._disposeBackdrop(nt.target)},this._keydownEvents=new ee.x,this._outsidePointerEvents=new ee.x,A.scrollStrategy&&(this._scrollStrategy=A.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=A.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(U){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const ie=this._portalOutlet.attach(U);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,oe.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),ie}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const U=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),U}dispose(){var U;const ie=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(U=this._host)||void 0===U||U.remove(),this._previousHostParent=this._pane=this._host=null,ie&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(U){U!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=U,this.hasAttached()&&(U.attach(this),this.updatePosition()))}updateSize(U){this._config=Object.assign(Object.assign({},this._config),U),this._updateElementSize()}setDirection(U){this._config=Object.assign(Object.assign({},this._config),{direction:U}),this._updateElementDirection()}addPanelClass(U){this._pane&&this._toggleClasses(this._pane,U,!0)}removePanelClass(U){this._pane&&this._toggleClasses(this._pane,U,!1)}getDirection(){const U=this._config.direction;return U?"string"==typeof U?U:U.value:"ltr"}updateScrollStrategy(U){U!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=U,this.hasAttached()&&(U.attach(this),U.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const U=this._pane.style;U.width=(0,X.HM)(this._config.width),U.height=(0,X.HM)(this._config.height),U.minWidth=(0,X.HM)(this._config.minWidth),U.minHeight=(0,X.HM)(this._config.minHeight),U.maxWidth=(0,X.HM)(this._config.maxWidth),U.maxHeight=(0,X.HM)(this._config.maxHeight)}_togglePointerEvents(U){this._pane.style.pointerEvents=U?"":"none"}_attachBackdrop(){const U="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(U)})}):this._backdropElement.classList.add(U)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const U=this._backdropElement;!U||(U.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{U.addEventListener("transitionend",this._backdropTransitionendHandler)}),U.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(U)},500)))}_toggleClasses(U,ie,P){const A=(0,X.Eq)(ie||[]).filter(b=>!!b);
1A.length&&(P?U.classList.add(...A):U.classList.remove(...A))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const U=this._ngZone.onStable.pipe((0,C.R)((0,Z.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),U.unsubscribe())})})}_disposeScrollStrategy(){const U=this._scrollStrategy;U&&(U.disable(),U.detach&&U.detach())}_disposeBackdrop(U){U&&(U.removeEventListener("click",this._backdropClickHandler),U.removeEventListener("transitionend",this._backdropTransitionendHandler),U.remove(),this._backdropElement===U&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}let Ne=(()=>{class De{constructor(ie,P){this._platform=P,this._document=ie}ngOnDestroy(){var ie;null===(ie=this._containerElement)||void 0===ie||ie.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const ie="cdk-overlay-container";if(this._platform.isBrowser||(0,I.Oy)()){const A=this._document.querySelectorAll(`.${ie}[platform="server"], .${ie}[platform="test"]`);for(let b=0;b<A.length;b++)A[b].remove()}const P=this._document.createElement("div");P.classList.add(ie),(0,I.Oy)()?P.setAttribute("platform","test"):this._platform.isBrowser||P.setAttribute("platform","server"),this._document.body.appendChild(P),this._containerElement=P}}return De.\u0275fac=function(ie){return new(ie||De)(u.\u0275\u0275inject(f.K0),u.\u0275\u0275inject(I.t4))},De.\u0275prov=u.\u0275\u0275defineInjectable({token:De,factory:De.\u0275fac,providedIn:"root"}),De})();const _e="cdk-overlay-connected-position-bounding-box",je=/([A-Za-z%]+)$/;class ht{constructor(U,ie,P,A,b){this._viewportRuler=ie,this._document=P,this._platform=A,this._overlayContainer=b,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new ee.x,this._resizeSubscription=ce.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(U)}get positions(){return this._preferredPositions}attach(U){this._validatePositions(),U.hostElement.classList.add(_e),this._overlayRef=U,this._boundingBox=U.hostElement,this._pane=U.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const U=this._originRect,ie=this._overlayRect,P=this._viewportRect,A=this._containerRect,b=[];let x;for(let ne of this._preferredPositions){let he=this._getOriginPoint(U,A,ne),qe=this._getOverlayPoint(he,ie,ne),nt=this._getOverlayFit(qe,ie,P,ne);if(nt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(ne,he);this._canFitWithFlexibleDimensions(nt,qe,P)?b.push({position:ne,origin:he,overlayRect:ie,boundingBoxRect:this._calculateBoundingBoxRect(he,ne)}):(!x||x.overlayFit.visibleArea<nt.visibleArea)&&(x={overlayFit:nt,overlayPoint:qe,originPoint:he,position:ne,overlayRect:ie})}if(b.length){let ne=null,he=-1;for(const qe of b){const nt=qe.boundingBoxRect.width*qe.boundingBoxRect.height*(qe.position.weight||1);nt>he&&(he=nt,ne=qe)}return this._isPushed=!1,void this._applyPosition(ne.position,ne.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(x.position,x.originPoint);this._applyPosition(x.position,x.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&yt(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(_e),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const U=this._lastPosition;if(U){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const ie=this._getOriginPoint(this._originRect,this._containerRect,U);this._applyPosition(U,ie)}else this.apply()}withScrollableContainers(U){return this._scrollables=U,this}withPositions(U){return this._preferredPositions=U,-1===U.indexOf(this._lastPosition)&&(this._lastPosition=null),this._val
1idatePositions(),this}withViewportMargin(U){return this._viewportMargin=U,this}withFlexibleDimensions(U=!0){return this._hasFlexibleDimensions=U,this}withGrowAfterOpen(U=!0){return this._growAfterOpen=U,this}withPush(U=!0){return this._canPush=U,this}withLockedPosition(U=!0){return this._positionLocked=U,this}setOrigin(U){return this._origin=U,this}withDefaultOffsetX(U){return this._offsetX=U,this}withDefaultOffsetY(U){return this._offsetY=U,this}withTransformOriginOn(U){return this._transformOriginSelector=U,this}_getOriginPoint(U,ie,P){let A,b;if("center"==P.originX)A=U.left+U.width/2;else{const x=this._isRtl()?U.right:U.left,ne=this._isRtl()?U.left:U.right;A="start"==P.originX?x:ne}return ie.left<0&&(A-=ie.left),b="center"==P.originY?U.top+U.height/2:"top"==P.originY?U.top:U.bottom,ie.top<0&&(b-=ie.top),{x:A,y:b}}_getOverlayPoint(U,ie,P){let A,b;return A="center"==P.overlayX?-ie.width/2:"start"===P.overlayX?this._isRtl()?-ie.width:0:this._isRtl()?0:-ie.width,b="center"==P.overlayY?-ie.height/2:"top"==P.overlayY?0:-ie.height,{x:U.x+A,y:U.y+b}}_getOverlayFit(U,ie,P,A){const b=_t(ie);let{x,y:ne}=U,he=this._getOffset(A,"x"),qe=this._getOffset(A,"y");he&&(x+=he),qe&&(ne+=qe);let It=0-ne,wt=ne+b.height-P.height,St=this._subtractOverflows(b.width,0-x,x+b.width-P.width),Lt=this._subtractOverflows(b.height,It,wt),$t=St*Lt;return{visibleArea:$t,isCompletelyWithinViewport:b.width*b.height===$t,fitsInViewportVertically:Lt===b.height,fitsInViewportHorizontally:St==b.width}}_canFitWithFlexibleDimensions(U,ie,P){if(this._hasFlexibleDimensions){const A=P.bottom-ie.y,b=P.right-ie.x,x=st(this._overlayRef.getConfig().minHeight),ne=st(this._overlayRef.getConfig().minWidth),qe=U.fitsInViewportHorizontally||null!=ne&&ne<=b;return(U.fitsInViewportVertically||null!=x&&x<=A)&&qe}return!1}_pushOverlayOnScreen(U,ie,P){if(this._previousPushAmount&&this._positionLocked)return{x:U.x+this._previousPushAmount.x,y:U.y+this._previousPushAmount.y};const A=_t(ie),b=this._viewportRect,x=Math.max(U.x+A.width-b.width,0),ne=Math.max(U.y+A.height-b.height,0),he=Math.max(b.top-P.top-U.y,0),qe=Math.max(b.left-P.left-U.x,0);let nt=0,ct=0;return nt=A.width<=b.width?qe||-x:U.x<this._viewportMargin?b.left-P.left-U.x:0,ct=A.height<=b.height?he||-ne:U.y<this._viewportMargin?b.top-P.top-U.y:0,this._previousPushAmount={x:nt,y:ct},{x:U.x+nt,y:U.y+ct}}_applyPosition(U,ie){if(this._setTransformOrigin(U),this._setOverlayElementStyles(ie,U),this._setBoundingBoxStyles(ie,U),U.panelClass&&this._addPanelClasses(U.panelClass),this._lastPosition=U,this._positionChanges.observers.length){const P=this._getScrollVisibility(),A=new Ie(U,P);this._positionChanges.next(A)}this._isInitialRender=!1}_setTransformOrigin(U){if(!this._transformOriginSelector)return;const ie=this._boundingBox.querySelectorAll(this._transformOriginSelector);let P,A=U.overlayY;P="center"===U.overlayX?"center":this._isRtl()?"start"===U.overlayX?"right":"left":"start"===U.overlayX?"left":"right";for(let b=0;b<ie.length;b++)ie[b].style.transformOrigin=`${P} ${A}`}_calculateBoundingBoxRect(U,ie){const P=this._viewportRect,A=this._isRtl();let b,x,ne,nt,ct,It;if("top"===ie.overlayY)x=U.y,b=P.height-x+this._viewportMargin;else if("bottom"===ie.overlayY)ne=P.height-U.y+2*this._viewportMargin,b=P.height-ne+this._viewportMargin;else{const wt=Math.min(P.bottom-U.y+P.top,U.y),St=this._lastBoundingBoxSize.height;b=2*wt,x=U.y-wt,b>St&&!this._isInitialRender&&!this._growAfterOpen&&(x=U.y-St/2)}if("end"===ie.overlayX&&!A||"start"===ie.overlayX&&A)It=P.width-U.x+this._viewportMargin,nt=U.x-this._viewportMargin;else if("start"===ie.overlayX&&!A||"end"===ie.overlayX&&A)ct=U.x,nt=P.right-U.x;else{const wt=Math.min(P.right-U.x+P.left,U.x),St=this._lastBoundingBoxSize.width;nt=2*wt,ct=U.x-wt,nt>St&&!this._isInitialRender&&!this._growAfterOpen&&(ct=U.x-St/2)}return{top:x,left:ct,bottom:ne,right:It,width:nt,height:b}}_setBoundingBoxStyles(U,ie){const P=this._calculateBoundingBoxRect(U,ie);!this._isInitialRender&&!this._growAfterOpen&&(P.height=Math.min(P.height,this._lastBoundingBoxSize.height),P.width=Math.min(P.width,this._lastBoundingBoxSize.width));const A={};if(this._hasExactPosition())A.top=A.left="0",A.bottom=A.right=A.maxHeight=A.maxWidth="",A.width=A.height="100%";else{const b=this._overlayRef.getConfig().maxHeight,x=this._overlayRef.getConfig().maxWidth;
1A.height=(0,X.HM)(P.height),A.top=(0,X.HM)(P.top),A.bottom=(0,X.HM)(P.bottom),A.width=(0,X.HM)(P.width),A.left=(0,X.HM)(P.left),A.right=(0,X.HM)(P.right),A.alignItems="center"===ie.overlayX?"center":"end"===ie.overlayX?"flex-end":"flex-start",A.justifyContent="center"===ie.overlayY?"center":"bottom"===ie.overlayY?"flex-end":"flex-start",b&&(A.maxHeight=(0,X.HM)(b)),x&&(A.maxWidth=(0,X.HM)(x))}this._lastBoundingBoxSize=P,yt(this._boundingBox.style,A)}_resetBoundingBoxStyles(){yt(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){yt(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(U,ie){const P={},A=this._hasExactPosition(),b=this._hasFlexibleDimensions,x=this._overlayRef.getConfig();if(A){const nt=this._viewportRuler.getViewportScrollPosition();yt(P,this._getExactOverlayY(ie,U,nt)),yt(P,this._getExactOverlayX(ie,U,nt))}else P.position="static";let ne="",he=this._getOffset(ie,"x"),qe=this._getOffset(ie,"y");he&&(ne+=`translateX(${he}px) `),qe&&(ne+=`translateY(${qe}px)`),P.transform=ne.trim(),x.maxHeight&&(A?P.maxHeight=(0,X.HM)(x.maxHeight):b&&(P.maxHeight="")),x.maxWidth&&(A?P.maxWidth=(0,X.HM)(x.maxWidth):b&&(P.maxWidth="")),yt(this._pane.style,P)}_getExactOverlayY(U,ie,P){let A={top:"",bottom:""},b=this._getOverlayPoint(ie,this._overlayRect,U);return this._isPushed&&(b=this._pushOverlayOnScreen(b,this._overlayRect,P)),"bottom"===U.overlayY?A.bottom=this._document.documentElement.clientHeight-(b.y+this._overlayRect.height)+"px":A.top=(0,X.HM)(b.y),A}_getExactOverlayX(U,ie,P){let x,A={left:"",right:""},b=this._getOverlayPoint(ie,this._overlayRect,U);return this._isPushed&&(b=this._pushOverlayOnScreen(b,this._overlayRect,P)),x=this._isRtl()?"end"===U.overlayX?"left":"right":"end"===U.overlayX?"right":"left","right"===x?A.right=this._document.documentElement.clientWidth-(b.x+this._overlayRect.width)+"px":A.left=(0,X.HM)(b.x),A}_getScrollVisibility(){const U=this._getOriginRect(),ie=this._pane.getBoundingClientRect(),P=this._scrollables.map(A=>A.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:be(U,P),isOriginOutsideView:ot(U,P),isOverlayClipped:be(ie,P),isOverlayOutsideView:ot(ie,P)}}_subtractOverflows(U,...ie){return ie.reduce((P,A)=>P-Math.max(A,0),U)}_getNarrowedViewportRect(){const U=this._document.documentElement.clientWidth,ie=this._document.documentElement.clientHeight,P=this._viewportRuler.getViewportScrollPosition();return{top:P.top+this._viewportMargin,left:P.left+this._viewportMargin,right:P.left+U-this._viewportMargin,bottom:P.top+ie-this._viewportMargin,width:U-2*this._viewportMargin,height:ie-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(U,ie){return"x"===ie?null==U.offsetX?this._offsetX:U.offsetX:null==U.offsetY?this._offsetY:U.offsetY}_validatePositions(){}_addPanelClasses(U){this._pane&&(0,X.Eq)(U).forEach(ie=>{""!==ie&&-1===this._appliedPanelClasses.indexOf(ie)&&(this._appliedPanelClasses.push(ie),this._pane.classList.add(ie))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(U=>{this._pane.classList.remove(U)}),this._appliedPanelClasses=[])}_getOriginRect(){const U=this._origin;if(U instanceof u.ElementRef)return U.nativeElement.getBoundingClientRect();if(U instanceof Element)return U.getBoundingClientRect();const ie=U.width||0,P=U.height||0;return{top:U.y,bottom:U.y+P,left:U.x,right:U.x+ie,height:P,width:ie}}}function yt(De,U){for(let ie in U)U.hasOwnProperty(ie)&&(De[ie]=U[ie]);return De}function st(De){if("number"!=typeof De&&null!=De){const[U,ie]=De.split(je);return ie&&"px"!==ie?null:parseFloat(U)}return De||null}function _t(De){return{top:Math.floor(De.top),right:Math.floor(De.right),bottom:Math.floor(De.bottom),left:Math.floor(De.left),width:Math.floor(De.width),height:Math.floor(De.height)}}const we="cdk-global-overlay-wrapper";class Le{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(U){const ie=U.getConfig();this._overlayRef=U,this._width&&!ie.width&&U.updateSize({width:this._width}),this._height&&!ie.height&&U.updateSize({height:this._height}),U.hostElement.classList.add(we),this._isDisposed=!1}top(U=""){return this._bottomOffset="",this._topOffset=U,this._alignItems="flex-start",this}left(U=""){return this._rightOffset="",this._leftOffset=U,this._justifyContent="flex-start",this}bottom(U=""){return this._topOffset="",this._bottomOffset=U,this._alignItems="flex-end",this}right(U=""){return this._leftOffset="",this._rightOffset=U,this._justifyContent="flex-end",this}width(U=""){return this._overlayRef?this._overlayRef.updateSize({width:U}):this._width=U,this}height(U=""){return this._overlayRef?this._overlayRef.updateSize({height:U}):this._height=U,this}centerHorizontally(U=""){return this.left(U),this._justifyContent="center",this}centerVertically(U=""){return this.top(U),this._alignItems="center",this}
1apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const U=this._overlayRef.overlayElement.style,ie=this._overlayRef.hostElement.style,P=this._overlayRef.getConfig(),{width:A,height:b,maxWidth:x,maxHeight:ne}=P,he=!("100%"!==A&&"100vw"!==A||x&&"100%"!==x&&"100vw"!==x),qe=!("100%"!==b&&"100vh"!==b||ne&&"100%"!==ne&&"100vh"!==ne);U.position=this._cssPosition,U.marginLeft=he?"0":this._leftOffset,U.marginTop=qe?"0":this._topOffset,U.marginBottom=this._bottomOffset,U.marginRight=this._rightOffset,he?ie.justifyContent="flex-start":"center"===this._justifyContent?ie.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?ie.justifyContent="flex-end":"flex-end"===this._justifyContent&&(ie.justifyContent="flex-start"):ie.justifyContent=this._justifyContent,ie.alignItems=qe?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const U=this._overlayRef.overlayElement.style,ie=this._overlayRef.hostElement,P=ie.style;ie.classList.remove(we),P.justifyContent=P.alignItems=U.marginTop=U.marginBottom=U.marginLeft=U.marginRight=U.position="",this._overlayRef=null,this._isDisposed=!0}}let We=(()=>{class De{constructor(ie,P,A,b){this._viewportRuler=ie,this._document=P,this._platform=A,this._overlayContainer=b}global(){return new Le}flexibleConnectedTo(ie){return new ht(ie,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return De.\u0275fac=function(ie){return new(ie||De)(u.\u0275\u0275inject(a.rL),u.\u0275\u0275inject(f.K0),u.\u0275\u0275inject(I.t4),u.\u0275\u0275inject(Ne))},De.\u0275prov=u.\u0275\u0275defineInjectable({token:De,factory:De.\u0275fac,providedIn:"root"}),De})(),ue=(()=>{class De{constructor(ie){this._attachedOverlays=[],this._document=ie}ngOnDestroy(){this.detach()}add(ie){this.remove(ie),this._attachedOverlays.push(ie)}remove(ie){const P=this._attachedOverlays.indexOf(ie);P>-1&&this._attachedOverlays.splice(P,1),0===this._attachedOverlays.length&&this.detach()}}return De.\u0275fac=function(ie){return new(ie||De)(u.\u0275\u0275inject(f.K0))},De.\u0275prov=u.\u0275\u0275defineInjectable({token:De,factory:De.\u0275fac,providedIn:"root"}),De})(),Be=(()=>{class De extends ue{constructor(ie,P){super(ie),this._ngZone=P,this._keydownListener=A=>{const b=this._attachedOverlays;for(let x=b.length-1;x>-1;x--)if(b[x]._keydownEvents.observers.length>0){const ne=b[x]._keydownEvents;this._ngZone?this._ngZone.run(()=>ne.next(A)):ne.next(A);break}}}add(ie){super.add(ie),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return De.\u0275fac=function(ie){return new(ie||De)(u.\u0275\u0275inject(f.K0),u.\u0275\u0275inject(u.NgZone,8))},De.\u0275prov=u.\u0275\u0275defineInjectable({token:De,factory:De.\u0275fac,providedIn:"root"}),De})(),R=(()=>{class De extends ue{constructor(ie,P,A){super(ie),this._platform=P,this._ngZone=A,this._cursorStyleIsSet=!1,this._pointerDownListener=b=>{this._pointerDownEventTarget=(0,I.sA)(b)},this._clickListener=b=>{const x=(0,I.sA)(b),ne="click"===b.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:x;this._pointerDownEventTarget=null;const he=this._attachedOverlays.slice();for(let qe=he.length-1;qe>-1;qe--){const nt=he[qe];if(nt._outsidePointerEvents.observers.length<1||!nt.hasAttached())continue;if(nt.overlayElement.contains(x)||nt.overlayElement.contains(ne))break;const ct=nt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>ct.next(b)):ct.next(b)}}}add(ie){if(super.add(ie),!this._isAttached){const P=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(P)):this._addEventListeners(P),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=P.style.cursor,P.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const ie=this._document.body;ie.removeEventListener("pointerdown",this._pointerDownListener,!0),ie.removeEventListener("click",this._clickListener,!0),ie.removeEventListener("auxclick",this._clickListener,!0),ie.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(ie.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(ie){ie.addEventListener("pointerdown",this._pointerDownListener,!0),ie.addEventListener("click",this._clickListener,!0),ie.addEventListener("auxclick",this._clickListener,!0),ie.addEventListener("contextmenu",this._clickListener,!0)}}return De.\u0275fac=function(ie){return new(ie||De)(u.\u0275\u0275inject(f.K0),u.\u0275\u0275inject(I.t4),u.\u0275\u0275inject(u.NgZone,8))},De.\u0275prov=u.\u0275\u0275defineInjectable({token:De,factory:De.\u0275fac,providedIn:"root"}),De})(),le=0,ge=(()=>{class De{constructor(ie,P,A,b,x,ne,he,qe,nt,ct,It){this.scrollStrategies=ie,this._overlayContainer=P,this._componentFactoryResolver=A,this._positionBuilder=b,this._keyboardDispatcher=x,this._injector=ne,this._ngZone=he,this._document=qe,this._directionality=nt,this._location=ct,this._outsideClickDispatcher=It}create(ie){const P=this._createHostElement(),A=this._createPaneElement(P),b=this._createPortalOutlet(A),x=new Oe(ie);return x.direction=x.direction||this._directionality.value,new Ze(b,P,A,x,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(ie){const P=this._document.createElement("div");return P.id="cdk-overlay-"+le++,P.classList.add("cdk-overlay-pane"),ie.appendChild(P),P}_createHostElement(){const ie=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(ie),ie}_createPortalOutlet(ie){return this._appRef||(this._appRef=this._injector.get(u.ApplicationRef)),new pe.u0(ie,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return De.\u0275fac=function(ie){return new(ie||De)(u.\u0275\u0275inject(de),u.\u0275\u0275inject(Ne),u.\u0275\u0275inject(u.ComponentFactoryResolver),u.\u0275\u0275inject(We),u.\u0275\u0275inject(Be),u.\u0275\u0275inject(u.Injector),u.\u0275\u0275inject(u.NgZone),u.\u0275\u0275inject(f.K0),u.\u0275\u0275inject(re.Is),u.\u0275\u0275inject(f.Ye),u.\u0275\u0275inject(R))},De.\u0275prov=u.\u0275\u0275defineInjectable({token:De,factory:De.\u0275fac}),De})();const Qe=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],ze=new u.InjectionToken("cdk-connected-overlay-scroll-strategy");let rt=(()=>{class De{constructor(ie){this.elementRef=ie}}return De.\u0275fac=function(ie){return new(ie||De)(u.\u0275\u0275directiveInject(u.ElementRef))},De.\u0275dir=u.\u0275\u0275defineDirective({type:De,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),De})(),Ae=(()=>{class De{constructor(ie,P,A,b,x){this._overlay=ie,this._dir=x,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=ce.w0.EMPTY,this._attachSubscription=ce.w0.EMPTY,this._detachSubscription=ce.w0.EMPTY,this._positionSubscription=ce.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new u.EventEmitter,this.positionChange=new u.EventEmitter,this.attach=new u.EventEmitter,this.detach=new u.EventEmitter,this.overlayKeydown=new u.EventEmitter,this.overlayOutsideClick=new u.EventEmitter,this._templatePortal=new pe.UE(P,A),this._scrollStrategyFactory=b,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(ie){this._offsetX=ie,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(ie){this._offsetY=ie,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(ie){this._hasBackdrop=(0,X.Ig)(ie)}get lockPosition(){return this._lockPosition}set lockPosition(ie){this._lockPosition=(0,X.Ig)(ie)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(ie){this._flexibleDimensions=(0,X.Ig)(ie)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(ie){this._growAfterOpen=(0,X.Ig)(ie)}get push(){return this._push}set push(ie){this._push=(0,X.Ig)(ie)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(ie){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),ie.origin&&this.open&&this._position.apply()),ie.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Qe);const ie=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=ie.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=ie.detachments().subscribe(()=>this.detach.emit()),ie.keydownEvents().subscribe(P=>{this.overlayKeydown.next(P),P.keyCode===K.hY&&!this.disableClose&&!(0,K.Vb)(P)&&(P.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(P=>{this.overlayOutsideClick.next(P)})}_buildConfig(){const ie=this._position=this.positionStrategy||this._createPositionStrategy(),P=new Oe({direction:this._dir,positionStrategy:ie,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(P.width=this.width),(this.height||0===this.height)&&(P.height=this.height),(this.minWidth||0===this.minWidth)&&(P.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(P.minHeight=this.minHeight),this.backdropClass&&(P.backdropClass=this.backdropClass),this.panelClass&&(P.panelClass=this.panelClass),P}_updatePositionStrategy(ie){const P=this.positions.map(A=>({originX:A.originX,originY:A.originY,overlayX:A.overlayX,overlayY:A.overlayY,offsetX:A.offsetX||this.offsetX,offsetY:A.offsetY||this.offsetY,panelClass:A.panelClass||void 0}));return ie.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(P).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const ie=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(ie),ie}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin 
1instanceof rt?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(ie=>{this.backdropClick.emit(ie)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,Y.o)(()=>this.positionChange.observers.length>0)).subscribe(ie=>{this.positionChange.emit(ie),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return De.\u0275fac=function(ie){return new(ie||De)(u.\u0275\u0275directiveInject(ge),u.\u0275\u0275directiveInject(u.TemplateRef),u.\u0275\u0275directiveInject(u.ViewContainerRef),u.\u0275\u0275directiveInject(ze),u.\u0275\u0275directiveInject(re.Is,8))},De.\u0275dir=u.\u0275\u0275defineDirective({type:De,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[u.\u0275\u0275NgOnChangesFeature]}),De})();const dt={provide:ze,deps:[ge],useFactory:function it(De){return()=>De.scrollStrategies.reposition()}};let vt=(()=>{class De{}return De.\u0275fac=function(ie){return new(ie||De)},De.\u0275mod=u.\u0275\u0275defineNgModule({type:De}),De.\u0275inj=u.\u0275\u0275defineInjector({providers:[ge,dt],imports:[[re.vT,pe.eL,a.Cl],a.Cl]}),De})()},925:(ft,Te,g)=>{g.d(Te,{Mq:()=>K,Oy:()=>be,ht:()=>$e,i$:()=>oe,kV:()=>ke,qK:()=>ee,sA:()=>ot,t4:()=>X,ud:()=>I});var a=g(5e3),f=g(9808);let u;try{u="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(ae){u=!1}let re,X=(()=>{class ae{constructor(Oe){this._platformId=Oe,this.isBrowser=this._platformId?(0,f.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!u)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return ae.\u0275fac=function(Oe){return new(Oe||ae)(a.\u0275\u0275inject(a.PLATFORM_ID))},ae.\u0275prov=a.\u0275\u0275defineInjectable({token:ae,factory:ae.\u0275fac,providedIn:"root"}),ae})(),I=(()=>{class ae{}return ae.\u0275fac=function(Oe){return new(Oe||ae)},ae.\u0275mod=a.\u0275\u0275defineNgModule({type:ae}),ae.\u0275inj=a.\u0275\u0275defineInjector({}),ae})();const pe=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","t
1ime","url","week"];function ee(){if(re)return re;if("object"!=typeof document||!document)return re=new Set(pe),re;let ae=document.createElement("input");return re=new Set(pe.filter(de=>(ae.setAttribute("type",de),ae.type===de))),re}let ce,Y,xe;function oe(ae){return function Z(){if(null==ce&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ce=!0}))}finally{ce=ce||!1}return ce}()?ae:!!ae.capture}function K(){if(null==Y){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Y=!1,Y;if("scrollBehavior"in document.documentElement.style)Y=!0;else{const ae=Element.prototype.scrollTo;Y=!!ae&&!/\{\s*\[native code\]\s*\}/.test(ae.toString())}}return Y}function ke(ae){if(function Ve(){if(null==xe){const ae="undefined"!=typeof document?document.head:null;xe=!(!ae||!ae.createShadowRoot&&!ae.attachShadow)}return xe}()){const de=ae.getRootNode?ae.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&de instanceof ShadowRoot)return de}return null}function $e(){let ae="undefined"!=typeof document&&document?document.activeElement:null;for(;ae&&ae.shadowRoot;){const de=ae.shadowRoot.activeElement;if(de===ae)break;ae=de}return ae}function ot(ae){return ae.composedPath?ae.composedPath()[0]:ae.target}function be(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}},9129:(ft,Te,g)=>{g.d(Te,{C5:()=>Z,Pl:()=>$e,UE:()=>oe,eL:()=>be,en:()=>Y,ig:()=>Ve,u0:()=>se});var a=g(5e3),f=g(9808);class ce{attach(Oe){return this._attachedHost=Oe,Oe.attach(this)}detach(){let Oe=this._attachedHost;null!=Oe&&(this._attachedHost=null,Oe.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(Oe){this._attachedHost=Oe}}class Z extends ce{constructor(Oe,He,Je,Ie){super(),this.component=Oe,this.viewContainerRef=He,this.injector=Je,this.componentFactoryResolver=Ie}}class oe extends ce{constructor(Oe,He,Je){super(),this.templateRef=Oe,this.viewContainerRef=He,this.context=Je}get origin(){return this.templateRef.elementRef}attach(Oe,He=this.context){return this.context=He,super.attach(Oe)}detach(){return this.context=void 0,super.detach()}}class C extends ce{constructor(Oe){super(),this.element=Oe instanceof a.ElementRef?Oe.nativeElement:Oe}}class Y{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(Oe){return Oe instanceof Z?(this._attachedPortal=Oe,this.attachComponentPortal(Oe)):Oe instanceof oe?(this._attachedPortal=Oe,this.attachTemplatePortal(Oe)):this.attachDomPortal&&Oe instanceof C?(this._attachedPortal=Oe,this.attachDomPortal(Oe)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(Oe){this._disposeFn=Oe}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class se extends Y{constructor(Oe,He,Je,Ie,Fe){super(),this.outletElement=Oe,this._componentFactoryResolver=He,this._appRef=Je,this._defaultInjector=Ie,this.attachDomPortal=Ue=>{const Ze=Ue.element,Ne=this._document.createComment("dom-portal");Ze.parentNode.insertBefore(Ne,Ze),this.outletElement.appendChild(Ze),this._attachedPortal=Ue,super.setDisposeFn(()=>{Ne.parentNode&&Ne.parentNode.replaceChild(Ze,Ne)})},this._document=Fe}attachComponentPortal(Oe){const Je=(Oe.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Oe.component);let Ie;return Oe.viewContainerRef?(Ie=Oe.viewContainerRef.createComponent(Je,Oe.viewContainerRef.length,Oe.injector||Oe.viewContainerRef.injector),this.setDisposeFn(()=>Ie.destroy())):(Ie=Je.create(Oe.injector||this._defaultInjector||a.Injector.NULL),this._appRef.attachView(Ie.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(Ie.hostView),Ie.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(Ie)),this._attachedPortal=Oe,Ie}attachTemplatePortal(Oe){let He=Oe.viewContainerRef,Je=He.createEmbeddedView(Oe.templateRef,Oe.context);
1return Je.rootNodes.forEach(Ie=>this.outletElement.appendChild(Ie)),Je.detectChanges(),this.setDisposeFn(()=>{let Ie=He.indexOf(Je);-1!==Ie&&He.remove(Ie)}),this._attachedPortal=Oe,Je}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(Oe){return Oe.hostView.rootNodes[0]}}let Ve=(()=>{class de extends oe{constructor(He,Je){super(He,Je)}}return de.\u0275fac=function(He){return new(He||de)(a.\u0275\u0275directiveInject(a.TemplateRef),a.\u0275\u0275directiveInject(a.ViewContainerRef))},de.\u0275dir=a.\u0275\u0275defineDirective({type:de,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[a.\u0275\u0275InheritDefinitionFeature]}),de})(),$e=(()=>{class de extends Y{constructor(He,Je,Ie){super(),this._componentFactoryResolver=He,this._viewContainerRef=Je,this._isInitialized=!1,this.attached=new a.EventEmitter,this.attachDomPortal=Fe=>{const Ue=Fe.element,Ze=this._document.createComment("dom-portal");Fe.setAttachedHost(this),Ue.parentNode.insertBefore(Ze,Ue),this._getRootNode().appendChild(Ue),this._attachedPortal=Fe,super.setDisposeFn(()=>{Ze.parentNode&&Ze.parentNode.replaceChild(Ue,Ze)})},this._document=Ie}get portal(){return this._attachedPortal}set portal(He){this.hasAttached()&&!He&&!this._isInitialized||(this.hasAttached()&&super.detach(),He&&super.attach(He),this._attachedPortal=He||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(He){He.setAttachedHost(this);const Je=null!=He.viewContainerRef?He.viewContainerRef:this._viewContainerRef,Fe=(He.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(He.component),Ue=Je.createComponent(Fe,Je.length,He.injector||Je.injector);return Je!==this._viewContainerRef&&this._getRootNode().appendChild(Ue.hostView.rootNodes[0]),super.setDisposeFn(()=>Ue.destroy()),this._attachedPortal=He,this._attachedRef=Ue,this.attached.emit(Ue),Ue}attachTemplatePortal(He){He.setAttachedHost(this);const Je=this._viewContainerRef.createEmbeddedView(He.templateRef,He.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=He,this._attachedRef=Je,this.attached.emit(Je),Je}_getRootNode(){const He=this._viewContainerRef.element.nativeElement;return He.nodeType===He.ELEMENT_NODE?He:He.parentNode}}return de.\u0275fac=function(He){return new(He||de)(a.\u0275\u0275directiveInject(a.ComponentFactoryResolver),a.\u0275\u0275directiveInject(a.ViewContainerRef),a.\u0275\u0275directiveInject(f.K0))},de.\u0275dir=a.\u0275\u0275defineDirective({type:de,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[a.\u0275\u0275InheritDefinitionFeature]}),de})(),be=(()=>{class de{}return de.\u0275fac=function(He){return new(He||de)},de.\u0275mod=a.\u0275\u0275defineNgModule({type:de}),de.\u0275inj=a.\u0275\u0275defineInjector({}),de})()},8962:(ft,Te,g)=>{g.d(Te,{ZD:()=>U,mF:()=>Qe,Cl:()=>ie,rL:()=>Ae});var a=g(3191),f=g(5e3),u=g(7579),X=g(9646),I=g(9751),re=g(4968),pe=g(4408),ee=g(727);const ce={schedule(P){let A=requestAnimationFrame,b=cancelAnimationFrame;const{delegate:x}=ce;x&&(A=x.requestAnimationFrame,b=x.cancelAnimationFrame);const ne=A(he=>{b=void 0,P(he)});return new ee.w0(()=>null==b?void 0:b(ne))},requestAnimationFrame(...P){const{delegate:A}=ce;return((null==A?void 0:A.requestAnimationFrame)||requestAnimationFrame)(...P)},cancelAnimationFrame(...P){const{delegate:A}=ce;return((null==A?void 0:A.cancelAnimationFrame)||cancelAnimationFrame)(...P)},delegate:void 0};var oe=g(7565);new class C extends oe.v{flush(A){this._active=!0,this._scheduled=void 0;const{actions:b}=this;let x,ne=-1;A=A||b.shift();const he=b.length;do{if(x=A.execute(A.state,A.delay))break}while(++ne<he&&(A=b.shift()));if(this._active=!1,x){for(;++ne<he&&(A=b.shift());)A.unsubscribe();throw x}}}(class Z extends pe.o{constructor(A,b){super(A,b),this.scheduler=A,this.work=b}requestAsyncId(A,b,x=0){return null!==x&&x>0?super.requestAsyncId(A,b,x):(A.actions.push(this),A._scheduled||(A._scheduled=ce.requestAnimationFrame(()=>A.flush(void 0))))}recycleAsyncId(A,b,x=0){if(null!=x&&x>0||null==x&&this.delay>0)return super.recycleAsyncId(A,b,x);0===A.actions.length&&(ce.cancelAnimationFrame(b),A._scheduled=void 0)}});let xe,se=1;const Ve={};function ke(P){return P in Ve&&(delete Ve[P],!0)}const $e={setImmediate(P){const A=se++;return Ve[A]=!0,xe||(xe=Promise.resolve()),xe.then(()=>ke(A)&&P()),A},clearImmediate(P){ke(P)}},{setImmediate:be,clearImmediate:ae}=$e,de={setImmediate(...P){const{delegate:A}=de;return((null==A?void 0:A.setImmediate)||be)(...P)},clearImmediate(P){const{delegate:A}=de;return((null==A?void 0:A.clearImmediate)||ae)(P)},delegate:void 0};new class He extends oe.v{flush(A){this._active=!0,this._scheduled=void 0;const{actions:b}=this;let x,ne=-1;A=A||b.shift();const he=b.length;do{if(x=A.execute(A.state,A.delay))break}while(++ne<he&&(A=b.shift()));if(this._active=!1,x){for(;++ne<he&&(A=b.shift());)A.unsubscribe();throw x}}}(class Oe extends pe.o{constructor(A,b){super(A,b),this.scheduler
1=A,this.work=b}requestAsyncId(A,b,x=0){return null!==x&&x>0?super.requestAsyncId(A,b,x):(A.actions.push(this),A._scheduled||(A._scheduled=de.setImmediate(A.flush.bind(A,void 0))))}recycleAsyncId(A,b,x=0){if(null!=x&&x>0||null==x&&this.delay>0)return super.recycleAsyncId(A,b,x);0===A.actions.length&&(de.clearImmediate(b),A._scheduled=void 0)}});var Fe=g(4986),Ue=g(4482),Ze=g(8421),Ne=g(5403),je=g(5963);function ht(P,A=Fe.P){return function _e(P){return(0,Ue.e)((A,b)=>{let x=!1,ne=null,he=null,qe=!1;const nt=()=>{if(null==he||he.unsubscribe(),he=null,x){x=!1;const It=ne;ne=null,b.next(It)}qe&&b.complete()},ct=()=>{he=null,qe&&b.complete()};A.subscribe(new Ne.Q(b,It=>{x=!0,ne=It,he||(0,Ze.Xf)(P(It)).subscribe(he=new Ne.Q(b,nt,ct))},()=>{qe=!0,(!x||!he||he.closed)&&b.complete()}))})}(()=>(0,je.H)(P,A))}var yt=g(9300),st=g(9808),_t=g(925),we=g(226);let Qe=(()=>{class P{constructor(b,x,ne){this._ngZone=b,this._platform=x,this._scrolled=new u.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=ne}register(b){this.scrollContainers.has(b)||this.scrollContainers.set(b,b.elementScrolled().subscribe(()=>this._scrolled.next(b)))}deregister(b){const x=this.scrollContainers.get(b);x&&(x.unsubscribe(),this.scrollContainers.delete(b))}scrolled(b=20){return this._platform.isBrowser?new I.y(x=>{this._globalSubscription||this._addGlobalListener();const ne=b>0?this._scrolled.pipe(ht(b)).subscribe(x):this._scrolled.subscribe(x);return this._scrolledCount++,()=>{ne.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,X.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((b,x)=>this.deregister(x)),this._scrolled.complete()}ancestorScrolled(b,x){const ne=this.getAncestorScrollContainers(b);return this.scrolled(x).pipe((0,yt.h)(he=>!he||ne.indexOf(he)>-1))}getAncestorScrollContainers(b){const x=[];return this.scrollContainers.forEach((ne,he)=>{this._scrollableContainsElement(he,b)&&x.push(he)}),x}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(b,x){let ne=(0,a.fI)(x),he=b.getElementRef().nativeElement;do{if(ne==he)return!0}while(ne=ne.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const b=this._getWindow();return(0,re.R)(b.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return P.\u0275fac=function(b){return new(b||P)(f.\u0275\u0275inject(f.NgZone),f.\u0275\u0275inject(_t.t4),f.\u0275\u0275inject(st.K0,8))},P.\u0275prov=f.\u0275\u0275defineInjectable({token:P,factory:P.\u0275fac,providedIn:"root"}),P})(),Ae=(()=>{class P{constructor(b,x,ne){this._platform=b,this._change=new u.x,this._changeListener=he=>{this._change.next(he)},this._document=ne,x.runOutsideAngular(()=>{if(b.isBrowser){const he=this._getWindow();he.addEventListener("resize",this._changeListener),he.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const b=this._getWindow();b.removeEventListener("resize",this._changeListener),b.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const b={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),b}getViewportRect(){const b=this.getViewportScrollPosition(),{width:x,height:ne}=this.getViewportSize();return{top:b.top,left:b.left,bottom:b.top+ne,right:b.left+x,height:ne,width:x}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const b=this._document,x=this._getWindow(),ne=b.documentElement,he=ne.getBoundingClientRect();return{top:-he.top||b.body.scrollTop||x.scrollY||ne.scrollTop||0,left:-he.left||b.body.scrollLeft||x.scrollX||ne.scrollLeft||0}}change(b=20){return b>0?this._change.pipe(ht(b)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const b=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:b.innerWidth,height:b.innerHe
1ight}:{width:0,height:0}}}return P.\u0275fac=function(b){return new(b||P)(f.\u0275\u0275inject(_t.t4),f.\u0275\u0275inject(f.NgZone),f.\u0275\u0275inject(st.K0,8))},P.\u0275prov=f.\u0275\u0275defineInjectable({token:P,factory:P.\u0275fac,providedIn:"root"}),P})(),U=(()=>{class P{}return P.\u0275fac=function(b){return new(b||P)},P.\u0275mod=f.\u0275\u0275defineNgModule({type:P}),P.\u0275inj=f.\u0275\u0275defineInjector({}),P})(),ie=(()=>{class P{}return P.\u0275fac=function(b){return new(b||P)},P.\u0275mod=f.\u0275\u0275defineNgModule({type:P}),P.\u0275inj=f.\u0275\u0275defineInjector({imports:[[we.vT,U],we.vT,U]}),P})()},9808:(ft,Te,g)=>{g.d(Te,{Do:()=>be,ED:()=>Pn,EM:()=>Yr,H9:()=>Jn,HT:()=>I,JF:()=>Jr,JJ:()=>Pr,K0:()=>pe,Mx:()=>Qt,NF:()=>zi,Nd:()=>fi,O5:()=>Yn,Ov:()=>ki,PC:()=>Rn,PM:()=>Gn,RF:()=>Dn,S$:()=>Ve,V_:()=>Z,Ye:()=>ae,b0:()=>ot,bD:()=>Ti,ez:()=>Hi,gd:()=>Zr,lw:()=>ee,mk:()=>Nn,mr:()=>$e,n9:()=>Fn,q:()=>u,rS:()=>Ci,sg:()=>jn,tP:()=>Li,uU:()=>pr,w_:()=>re});var a=g(5e3);let f=null;function u(){return f}function I(T){f||(f=T)}class re{}const pe=new a.InjectionToken("DocumentToken");let ee=(()=>{class T{historyGo(o){throw new Error("Not implemented")}}return T.\u0275fac=function(o){return new(o||T)},T.\u0275prov=a.\u0275\u0275defineInjectable({token:T,factory:function(){return function ce(){return(0,a.\u0275\u0275inject)(oe)}()},providedIn:"platform"}),T})();const Z=new a.InjectionToken("Location Initialized");let oe=(()=>{class T extends ee{constructor(o){super(),this._doc=o,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return u().getBaseHref(this._doc)}onPopState(o){const c=u().getGlobalEventTarget(this._doc,"window");return c.addEventListener("popstate",o,!1),()=>c.removeEventListener("popstate",o)}onHashChange(o){const c=u().getGlobalEventTarget(this._doc,"window");return c.addEventListener("hashchange",o,!1),()=>c.removeEventListener("hashchange",o)}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(o){this.location.pathname=o}pushState(o,c,w){C()?this._history.pushState(o,c,w):this.location.hash=w}replaceState(o,c,w){C()?this._history.replaceState(o,c,w):this.location.hash=w}forward(){this._history.forward()}back(){this._history.back()}historyGo(o=0){this._history.go(o)}getState(){return this._history.state}}return T.\u0275fac=function(o){return new(o||T)(a.\u0275\u0275inject(pe))},T.\u0275prov=a.\u0275\u0275defineInjectable({token:T,factory:function(){return function Y(){return new oe((0,a.\u0275\u0275inject)(pe))}()},providedIn:"platform"}),T})();function C(){return!!window.history.pushState}function K(T,p){if(0==T.length)return p;if(0==p.length)return T;let o=0;return T.endsWith("/")&&o++,p.startsWith("/")&&o++,2==o?T+p.substring(1):1==o?T+p:T+"/"+p}function se(T){const p=T.match(/#|\?|$/),o=p&&p.index||T.length;return T.slice(0,o-("/"===T[o-1]?1:0))+T.slice(o)}function xe(T){return T&&"?"!==T[0]?"?"+T:T}let Ve=(()=>{class T{historyGo(o){throw new Error("Not implemented")}}return T.\u0275fac=function(o){return new(o||T)},T.\u0275prov=a.\u0275\u0275defineInjectable({token:T,factory:function(){return function ke(T){const p=(0,a.\u0275\u0275inject)(pe).location;return new ot((0,a.\u0275\u0275inject)(ee),p&&p.origin||"")}()},providedIn:"root"}),T})();const $e=new a.InjectionToken("appBaseHref");let ot=(()=>{class T extends Ve{constructor(o,c){if(super(),this._platformLocation=o,this._removeListenerFns=[],null==c&&(c=this._platformLocation.getBaseHrefFromDOM()),null==c)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=c}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(o){this._removeListenerFns.push(this._platformLocation.onPopState(o),this._platformLocation.onHashChange(o))}getBaseHref(){return this._baseHref}prepareExternalUrl(o){return K(this._baseHref,o)}path(o=!1){const c=this._platformLocation.pathname+xe(this._platformLocation.search),w=this._platformLocation.hash;return w&&o?`${c}${w}`:c}pushState(o,c,w,ye){const et=this.prepareExternalUrl(w+xe(ye));this._platformLocation.pushState(o,c,et)}replaceState(o,c,w,ye){const et=this.prepareExternalUrl(w+xe(ye));this._platformLocation.replaceState(o,c,et)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(o=0){var c,w;null===(w=(c=this._platformLocation).historyGo)||void 0===w||w.call(c,o)}}return T.\u0275fac=function(o){return new(o||T)(a.\u0275\u0275inject(ee),a.\u0275\u0275inject($e,8))},T.\u0275prov=a.\u0275\u0275defineInjectable({token:T,factory:T.\u0275fac}),T})(),be=(()=>{class T extends Ve{constructor(o,c){super(),this._platformLocation=o,this._baseHref="",this._removeListenerFns=[],null!=c&&(this._baseHref=c)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(o){this._removeListenerFns.push(this._platformLocation.onPopState(o),this._platformLocation.on
1HashChange(o))}getBaseHref(){return this._baseHref}path(o=!1){let c=this._platformLocation.hash;return null==c&&(c="#"),c.length>0?c.substring(1):c}prepareExternalUrl(o){const c=K(this._baseHref,o);return c.length>0?"#"+c:c}pushState(o,c,w,ye){let et=this.prepareExternalUrl(w+xe(ye));0==et.length&&(et=this._platformLocation.pathname),this._platformLocation.pushState(o,c,et)}replaceState(o,c,w,ye){let et=this.prepareExternalUrl(w+xe(ye));0==et.length&&(et=this._platformLocation.pathname),this._platformLocation.replaceState(o,c,et)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(o=0){var c,w;null===(w=(c=this._platformLocation).historyGo)||void 0===w||w.call(c,o)}}return T.\u0275fac=function(o){return new(o||T)(a.\u0275\u0275inject(ee),a.\u0275\u0275inject($e,8))},T.\u0275prov=a.\u0275\u0275defineInjectable({token:T,factory:T.\u0275fac}),T})(),ae=(()=>{class T{constructor(o,c){this._subject=new a.EventEmitter,this._urlChangeListeners=[],this._platformStrategy=o;const w=this._platformStrategy.getBaseHref();this._platformLocation=c,this._baseHref=se(He(w)),this._platformStrategy.onPopState(ye=>{this._subject.emit({url:this.path(!0),pop:!0,state:ye.state,type:ye.type})})}path(o=!1){return this.normalize(this._platformStrategy.path(o))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(o,c=""){return this.path()==this.normalize(o+xe(c))}normalize(o){return T.stripTrailingSlash(function Oe(T,p){return T&&p.startsWith(T)?p.substring(T.length):p}(this._baseHref,He(o)))}prepareExternalUrl(o){return o&&"/"!==o[0]&&(o="/"+o),this._platformStrategy.prepareExternalUrl(o)}go(o,c="",w=null){this._platformStrategy.pushState(w,"",o,c),this._notifyUrlChangeListeners(this.prepareExternalUrl(o+xe(c)),w)}replaceState(o,c="",w=null){this._platformStrategy.replaceState(w,"",o,c),this._notifyUrlChangeListeners(this.prepareExternalUrl(o+xe(c)),w)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(o=0){var c,w;null===(w=(c=this._platformStrategy).historyGo)||void 0===w||w.call(c,o)}onUrlChange(o){this._urlChangeListeners.push(o),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(c=>{this._notifyUrlChangeListeners(c.url,c.state)}))}_notifyUrlChangeListeners(o="",c){this._urlChangeListeners.forEach(w=>w(o,c))}subscribe(o,c,w){return this._subject.subscribe({next:o,error:c,complete:w})}}return T.normalizeQueryParams=xe,T.joinWithSlash=K,T.stripTrailingSlash=se,T.\u0275fac=function(o){return new(o||T)(a.\u0275\u0275inject(Ve),a.\u0275\u0275inject(ee))},T.\u0275prov=a.\u0275\u0275defineInjectable({token:T,factory:function(){return function de(){return new ae((0,a.\u0275\u0275inject)(Ve),(0,a.\u0275\u0275inject)(ee))}()},providedIn:"root"}),T})();function He(T){return T.replace(/\/index.html$/,"")}const Je={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],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"],GHS:[void 0,"GH\u20b5"],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:["\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:["F\u202fCFA",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 Ie=(()=>((Ie=Ie||{})[Ie.Decimal=0]="Decimal",Ie[Ie.Percent=1]="Percent",Ie[Ie.Currency=2]="Currency",Ie[Ie.Scientific=3]="Scientific",Ie))(),Fe=(()=>((Fe=Fe||{})[Fe.Zero=0]="Zero",Fe[Fe.One=1]="One",Fe[Fe.Two=2]="Two",Fe[Fe.Few=3]="Few",Fe[Fe.Many=4]="Many",Fe[Fe.Other=5]="Other",Fe))(),Ue=(()=>((Ue=Ue||{})[Ue.Format=0]="Format",Ue[Ue.Standalone=1]="Standalone",Ue))(),Ze=(()=>((Ze=Ze||{})[Ze.Narrow=0]="Narrow",Ze[Ze.Abbreviated=1]="Abbreviated",Ze[Ze.Wide=2]="Wide",Ze[Ze.Short=3]="Short",Ze))(),Ne=(()=>((Ne=Ne||{})[Ne.Short=0]="Short",Ne[Ne.Medium=1]="Medium",Ne[Ne.Long=2]="Long",Ne[Ne.Full=3]="Full",Ne))(),_e=(()=>((_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.Infinity=9]="Infinity",_e[_e.NaN=10]="NaN",_e[_e.TimeSeparator=11]="TimeSeparator",_e[_e.CurrencyDecimal=12]="CurrencyDecimal",_e[_e.CurrencyGroup=13]="CurrencyGroup",_e))();function ue(T,p){return U((0,a.\u0275findLocaleData)(T)[a.\u0275LocaleDataIndex.DateFormat],p)}function Be(T,p){return U((0,a.\u0275findLocaleData)(T)[a.\u0275LocaleDataIndex.TimeFormat],p)}function R(T,p){return U((0,a.\u0275findLocaleData)(T)[a.\u0275LocaleDataIndex.DateTimeFormat],p)}function le(T,p){const o=(0,a.\u0275findLocaleData)(T),c=o[a.\u0275LocaleDataIndex.NumberSymbols][p];if(void 0===c){if(p===_e.CurrencyDecimal)return o[a.\u0275LocaleDataIndex.NumberSymbols][_e.Decimal];if(p===_e.CurrencyGroup)return o[a.\u0275LocaleDataIndex.NumberSymbols][_e.Group]}return c}function ge(T,p){return(0,a.\u0275findLocaleData)(T)[a.\u0275LocaleDataIndex.NumberFormats][p]}const it=a.\u0275getLocalePluralCase;function dt(T){if(!T[a.\u0275LocaleDataIndex.ExtraData])throw new Error(`Missing extra locale data for the locale "${T[a.\u0275LocaleDataIndex.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function U(T,p){for(let o=p;o>-1;o--)if(void 0!==T[o])return T[o];throw new Error("Locale data API: locale data undefined")}function ie(T){const[p,o]=T.split(":");return{hours:+p,minutes:+o}}const x=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,ne={},he=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var qe=(()=>((qe=qe||{})[qe.Short=0]="Short",qe[qe.ShortGMT=1]="ShortGMT",qe[qe.Long=2]="Long",qe[qe.Extended=3]="Extended",qe))(),nt=(()=>((nt=nt||{})[nt.FullYear=0]="FullYear",nt[nt.Month=1]="Month",nt[nt.Date=2]="Date",nt[nt.Hours=3]="Hours",nt[nt.Minutes=4]="Minutes",nt[nt.Seconds=5]="Seconds",nt[nt.FractionalSeconds=6]="FractionalSeconds",nt[nt.Day=7]="Day",nt))(),ct=(()=>((ct=ct||{})[ct.DayPeriods=0]="DayPeriods",ct[ct.Days=1]="Days",ct[ct.Months=2]="Months",ct[ct.Eras=3]="Eras",ct))();function It(T,p,o,c){let w=function G(T){if(Ee(T))return T;if("number"==typeof T&&!isNaN(T))return new Date(T);if("string"==typeof T){if(T=T.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(T)){const[w,ye=1,et=1]=T.split("-").map(Et=>+Et);return wt(w,ye-1,et)}const o=parseFloat(T);if(!isNaN(T-o))return new Date(o);let c;if(c=T.match(x))return function H(T){const p=new Date(0);let o=0,c=0;const w=T[8]?p.setUTCFullYear:p.setFullYear,ye=T[8]?p.setUTCHours:p.setHours;T[9]&&(o=Number(T[9]+T[10]),c=Number(T[9]+T[11])),w.call(p,Number(T[1]),Number(T[2])-1,Number(T[3]));const et=Number(T[4]||0)-o,Et=Number(T[5]||0)-c,Ut=Number(T[6]||0),dn=Math.floor(1e3*parseFloat("0."+(T[7]||0)));return ye.call(p,et,Et,Ut,dn),p}(c)}const p=new Date(T);if(!Ee(p))throw new Error(`Unable to convert "${T}" into a date`);return p}(T);p=St(o,p)||p;let Et,et=[];for(;p;){if(Et=he.exec(p),!Et){et.push(p);break}{et=et.concat(Et.slice(1));const hn=et.pop();if(!hn)break;p=hn}}let Ut=w.getTimezoneOffset();c&&(Ut=q(c,Ut),w=function k(T,p,o){const c=o?-1:1,w=T.getTimezoneOffset();return function B(T,p){return(T=new Date(T.getTime())).setMinutes(T.getMinutes()+p),T}(T,c*(q(p,w)-w))}(w,c,!0));let dn="";return et.forEach(hn=>{const on=function O(T){if(y[T])return y[T];let p;switch(T){case"G":case"GG":case"GGG":p=Rt(ct.Eras,Ze.Abbreviated);break;case"GGGG":p=Rt(ct.Eras,Ze.Wide);break;case"GGGGG":p=Rt(ct.Eras,Ze.Narrow);break;case"y":p=Ot(nt.FullYear,1,0,!1,!0);break;case"yy":p=Ot(nt.FullYear,2,0,!0,!0);break;case"yyy":p=Ot(nt.FullYear,3,0,!1,!0);break;case"yyyy":p=Ot(nt.FullYear,4,0,!1,!0);break;case"Y":p=Ke(1);break;case"YY":p=Ke(2,!0);break;case"YYY":p=Ke(3);break;case"YYYY":p=Ke(4);break;case"M":case"L":p=Ot(nt.Month,1,1);break;case"MM":case"LL":p=Ot(nt.Month,2,1);break;case"MMM":p=Rt(ct.Months,Ze.Abbreviated);break;case"MMMM":p=Rt(ct.Months,Ze.Wide);break;case"MMMMM":p=Rt(ct.Months,Ze.Narrow);break;case"LLL":p=Rt(ct.Months,Ze.Abbreviated,Ue.Standalone);break;case"LLLL":p=Rt(ct.Months,Ze.Wide,Ue.Standalone);break;case"LLLLL":p=Rt(ct.Months,Ze.Narrow,Ue.Standalone);break;case"w":p=z(1);break;case"ww":p=z(2);break;case"W":p=z(1,!0);break;case"d":p=Ot(nt.Date,1);break;case"dd":p=Ot(nt.Date,2);break;case"c":case"cc":p=Ot(nt.Day,1);break;case"ccc":p=Rt(ct.Days,Ze.Abbreviated,Ue.Standalone);break;case"cccc":p=Rt(ct.Days,Ze.Wide,Ue.Standalone);break;case"ccccc":p=Rt(ct.Days,Ze.Narrow,Ue.Standalone);break;case"cccccc":p=Rt(ct.Days,Ze.Short,Ue.Standalone);break;case"E":case"EE":case"EEE":p=Rt(ct.Days,Ze.Abbreviated);break;case"EEEE":p=Rt(ct.Days,Ze.Wide);break;case"EEEEE":p=Rt(ct.Days,Ze.Narrow);break;case"EEEEEE":p=Rt(ct.Days,Ze.Short);break;case"a":case"aa":case"aaa":p=Rt(ct.DayPeriods,Ze.Abbreviated);break;case"aaaa":p=Rt(ct.DayPeriods,Ze.Wide);break;case"aaaaa":p=Rt(ct.DayPeriods,Ze.Narrow);break;
vendor: 4,683 bytes, line 1
1case"b":case"bb":case"bbb":p=Rt(ct.DayPeriods,Ze.Abbreviated,Ue.Standalone,!0);break;case"bbbb":p=Rt(ct.DayPeriods,Ze.Wide,Ue.Standalone,!0);break;case"bbbbb":p=Rt(ct.DayPeriods,Ze.Narrow,Ue.Standalone,!0);break;case"B":case"BB":case"BBB":p=Rt(ct.DayPeriods,Ze.Abbreviated,Ue.Format,!0);break;case"BBBB":p=Rt(ct.DayPeriods,Ze.Wide,Ue.Format,!0);break;case"BBBBB":p=Rt(ct.DayPeriods,Ze.Narrow,Ue.Format,!0);break;case"h":p=Ot(nt.Hours,1,-12);break;case"hh":p=Ot(nt.Hours,2,-12);break;case"H":p=Ot(nt.Hours,1);break;case"HH":p=Ot(nt.Hours,2);break;case"m":p=Ot(nt.Minutes,1);break;case"mm":p=Ot(nt.Minutes,2);break;case"s":p=Ot(nt.Seconds,1);break;case"ss":p=Ot(nt.Seconds,2);break;case"S":p=Ot(nt.FractionalSeconds,1);break;case"SS":p=Ot(nt.FractionalSeconds,2);break;case"SSS":p=Ot(nt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":p=J(qe.Short);break;case"ZZZZZ":p=J(qe.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":p=J(qe.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":p=J(qe.Long);break;default:return null}return y[T]=p,p}(hn);dn+=on?on(w,o,Ut):"''"===hn?"'":hn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),dn}function wt(T,p,o){const c=new Date(0);return c.setFullYear(T,p,o),c.setHours(0,0,0),c}function St(T,p){const o=function ht(T){return(0,a.\u0275findLocaleData)(T)[a.\u0275LocaleDataIndex.LocaleId]}(T);if(ne[o]=ne[o]||{},ne[o][p])return ne[o][p];let c="";switch(p){case"shortDate":c=ue(T,Ne.Short);break;case"mediumDate":c=ue(T,Ne.Medium);break;case"longDate":c=ue(T,Ne.Long);break;case"fullDate":c=ue(T,Ne.Full);break;case"shortTime":c=Be(T,Ne.Short);break;case"mediumTime":c=Be(T,Ne.Medium);break;case"longTime":c=Be(T,Ne.Long);break;case"fullTime":c=Be(T,Ne.Full);break;case"short":const w=St(T,"shortTime"),ye=St(T,"shortDate");c=Lt(R(T,Ne.Short),[w,ye]);break;case"medium":const et=St(T,"mediumTime"),Et=St(T,"mediumDate");c=Lt(R(T,Ne.Medium),[et,Et]);break;case"long":const Ut=St(T,"longTime"),dn=St(T,"longDate");c=Lt(R(T,Ne.Long),[Ut,dn]);break;case"full":const hn=St(T,"fullTime"),on=St(T,"fullDate");c=Lt(R(T,Ne.Full),[hn,on])}return c&&(ne[o][p]=c),c}function Lt(T,p){return p&&(T=T.replace(/\{([^}]+)}/g,function(o,c){return null!=p&&c in p?p[c]:o})),T}function $t(T,p,o="-",c,w){let ye="";(T<0||w&&T<=0)&&(w?T=1-T:(T=-T,ye=o));let et=String(T);for(;et.length<p;)et="0"+et;return c&&(et=et.substr(et.length-p)),ye+et}function Ot(T,p,o=0,c=!1,w=!1){return function(ye,et){let Et=function kt(T,p){switch(T){case nt.FullYear:return p.getFullYear();case nt.Month:return p.getMonth();case nt.Date:return p.getDate();case nt.Hours:return p.getHours();case nt.Minutes:return p.getMinutes();case nt.Seconds:return p.getSeconds();case nt.FractionalSeconds:return p.getMilliseconds();case nt.Day:return p.getDay();default:throw new Error(`Unknown DateType value "${T}".`)}}(T,ye);if((o>0||Et>-o)&&(Et+=o),T===nt.Hours)0===Et&&-12===o&&(Et=12);else if(T===nt.FractionalSeconds)return function jt(T,p){return $t(T,3).substr(0,p)}(Et,p);const Ut=le(et,_e.MinusSign);return $t(Et,p,Ut,c,w)}}function Rt(T,p,o=Ue.Format,c=!1){return function(w,ye){return function Xe(T,p,o,c,w,ye){switch(o){case ct.Months:return function _t(T,p,o){const c=(0,a.\u0275findLocaleData)(T),ye=U([c[a.\u0275LocaleDataIndex.MonthsFormat],c[a.\u0275LocaleDataIndex.MonthsStandalone]],p);return U(ye,o)}(p,w,c)[T.getMonth()];case ct.Days:return function st(T,p,o){const c=(0,a.\u0275findLocaleData)(T),ye=U([c[a.\u0275LocaleDataIndex.DaysFormat],c[a.\u0275LocaleDataIndex.DaysStandalone]],p);return U(ye,o)}(p,w,c)[T.getDay()];case ct.DayPeriods:const et=T.getHours(),Et=T.getMinutes();if(ye){const dn=function vt(T){const p=(0,a.\u0275findLocaleData)(T);return dt(p),(p[a.\u0275LocaleDataIndex.ExtraData][2]||[]).map(c=>"string"==typeof c?ie(c):[ie(c[0]),ie(c[1])])}(p),hn=function Pt(T,p,o){const c=(0,a.\u0275findLocaleData)(T);dt(c);const ye=U([c[a.\u0275LocaleDataIndex.ExtraData][0],c[a.\u0275LocaleDataIndex.ExtraData][1]],p)||[];return U(ye,o)||[]}(p,w,c),on=dn.findIndex(_n=>{if(Array.isArray(_n)){const[gn,Ln]=_n,Bt=et>=gn.hours&&Et>=gn.minutes,Ri=et<Ln.hours||et===Ln.hours&&Et<Ln.minutes;if(gn.hours<Ln.hours){if(Bt&&Ri)return!0}else if(Bt||Ri)return!0}else if(_n.hours===et&&_n.minutes===Et)return!0;return!1});if(-1!==on)return hn[on]}return function yt(T,p,o){const c=(0,a.\u0275findLocaleData)(T),ye=U([c[a.\u0275LocaleDataIndex.DayPeriodsFormat],c[a.\u0275LocaleDataIndex.DayPeriodsStandalone]],p);return U(ye,o)}(p,w,c)[et<12?0:1];case ct.Eras:return function we(T,p){return U((0,a.\u0275findLocaleData)(T)[a.\u0275LocaleDataIndex.Eras],p)}(p,c)[T.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${o}`)}}(w,ye,T,p,o,c)}}
vendor: 10,901 bytes, line 1
1function J(T){return function(p,o,c){const w=-1*c,ye=le(o,_e.MinusSign),et=w>0?Math.floor(w/60):Math.ceil(w/60);switch(T){case qe.Short:return(w>=0?"+":"")+$t(et,2,ye)+$t(Math.abs(w%60),2,ye);case qe.ShortGMT:return"GMT"+(w>=0?"+":"")+$t(et,1,ye);case qe.Long:return"GMT"+(w>=0?"+":"")+$t(et,2,ye)+":"+$t(Math.abs(w%60),2,ye);case qe.Extended:return 0===c?"Z":(w>=0?"+":"")+$t(et,2,ye)+":"+$t(Math.abs(w%60),2,ye);default:throw new Error(`Unknown zone width "${T}"`)}}}function Se(T){return wt(T.getFullYear(),T.getMonth(),T.getDate()+(4-T.getDay()))}function z(T,p=!1){return function(o,c){let w;if(p){const ye=new Date(o.getFullYear(),o.getMonth(),1).getDay()-1,et=o.getDate();w=1+Math.floor((et+ye)/7)}else{const ye=Se(o),et=function me(T){const p=wt(T,0,1).getDay();return wt(T,0,1+(p<=4?4:11)-p)}(ye.getFullYear()),Et=ye.getTime()-et.getTime();w=1+Math.round(Et/6048e5)}return $t(w,T,le(c,_e.MinusSign))}}function Ke(T,p=!1){return function(o,c){return $t(Se(o).getFullYear(),T,le(c,_e.MinusSign),p)}}const y={};function q(T,p){T=T.replace(/:/g,"");const o=Date.parse("Jan 01, 1970 00:00:00 "+T)/6e4;return isNaN(o)?p:o}function Ee(T){return T instanceof Date&&!isNaN(T.valueOf())}const tt=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function fn(T,p,o,c,w,ye,et=!1){let Et="",Ut=!1;if(isFinite(T)){let dn=function xn(T){let c,w,ye,et,Et,p=Math.abs(T)+"",o=0;for((w=p.indexOf("."))>-1&&(p=p.replace(".","")),(ye=p.search(/e/i))>0?(w<0&&(w=ye),w+=+p.slice(ye+1),p=p.substring(0,ye)):w<0&&(w=p.length),ye=0;"0"===p.charAt(ye);ye++);if(ye===(Et=p.length))c=[0],w=1;else{for(Et--;"0"===p.charAt(Et);)Et--;for(w-=ye,c=[],et=0;ye<=Et;ye++,et++)c[et]=Number(p.charAt(ye))}return w>22&&(c=c.splice(0,21),o=w-1,w=1),{digits:c,exponent:o,integerLen:w}}(T);et&&(dn=function cn(T){if(0===T.digits[0])return T;const p=T.digits.length-T.integerLen;return T.exponent?T.exponent+=2:(0===p?T.digits.push(0,0):1===p&&T.digits.push(0),T.integerLen+=2),T}(dn));let hn=p.minInt,on=p.minFrac,_n=p.maxFrac;if(ye){const ar=ye.match(tt);if(null===ar)throw new Error(`${ye} is not a valid digit info`);const yr=ar[1],Fr=ar[3],Ki=ar[5];null!=yr&&(hn=bn(yr)),null!=Fr&&(on=bn(Fr)),null!=Ki?_n=bn(Ki):null!=Fr&&on>_n&&(_n=on)}!function hi(T,p,o){if(p>o)throw new Error(`The minimum number of digits after fraction (${p}) is higher than the maximum (${o}).`);let c=T.digits,w=c.length-T.integerLen;const ye=Math.min(Math.max(p,w),o);let et=ye+T.integerLen,Et=c[et];if(et>0){c.splice(Math.max(T.integerLen,et));for(let on=et;on<c.length;on++)c[on]=0}else{w=Math.max(0,w),T.integerLen=1,c.length=Math.max(1,et=ye+1),c[0]=0;for(let on=1;on<et;on++)c[on]=0}if(Et>=5)if(et-1<0){for(let on=0;on>et;on--)c.unshift(0),T.integerLen++;c.unshift(1),T.integerLen++}else c[et-1]++;for(;w<Math.max(0,ye);w++)c.push(0);let Ut=0!==ye;const dn=p+T.integerLen,hn=c.reduceRight(function(on,_n,gn,Ln){return Ln[gn]=(_n+=on)<10?_n:_n-10,Ut&&(0===Ln[gn]&&gn>=dn?Ln.pop():Ut=!1),_n>=10?1:0},0);hn&&(c.unshift(hn),T.integerLen++)}(dn,on,_n);let gn=dn.digits,Ln=dn.integerLen;const Bt=dn.exponent;let Ri=[];for(Ut=gn.every(ar=>!ar);Ln<hn;Ln++)gn.unshift(0);for(;Ln<0;Ln++)gn.unshift(0);Ln>0?Ri=gn.splice(Ln,gn.length):(Ri=gn,gn=[0]);const xr=[];for(gn.length>=p.lgSize&&xr.unshift(gn.splice(-p.lgSize,gn.length).join(""));gn.length>p.gSize;)xr.unshift(gn.splice(-p.gSize,gn.length).join(""));gn.length&&xr.unshift(gn.join("")),Et=xr.join(le(o,c)),Ri.length&&(Et+=le(o,w)+Ri.join("")),Bt&&(Et+=le(o,_e.Exponential)+"+"+Bt)}else Et=le(o,_e.Infinity);return Et=T<0&&!Ut?p.negPre+Et+p.negSuf:p.posPre+Et+p.posSuf,Et}function Kt(T,p="-"){const o={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},c=T.split(";"),w=c[0],ye=c[1],et=-1!==w.indexOf(".")?w.split("."):[w.substring(0,w.lastIndexOf("0")+1),w.substring(w.lastIndexOf("0")+1)],Et=et[0],Ut=et[1]||"";o.posPre=Et.substr(0,Et.indexOf("#"));for(let hn=0;hn<Ut.length;hn++){const on=Ut.charAt(hn);"0"===on?o.minFrac=o.maxFrac=hn+1:"#"===on?o.maxFrac=hn+1:o.posSuf+=on}const dn=Et.split(",");if(o.gSize=dn[1]?dn[1].length:0,o.lgSize=dn[2]||dn[1]?(dn[2]||dn[1]).length:0,ye){const hn=w.length-o.posPre.length-o.posSuf.length,on=ye.indexOf("#");o.negPre=ye.substr(0,on).replace(/'/g,""),o.negSuf=ye.substr(on+hn).replace(/'/g,"")}else o.negPre=p+o.posPre,o.negSuf=o.posSuf;return o}function bn(T){const p=parseInt(T);if(isNaN(p))throw new Error("Invalid integer literal when parsing "+T);return p}class In{}let _i=(()=>{class T extends In{constructor(o){super(),this.locale=o}getPluralCategory(o,c){switch(it(c||this.locale)(o)){case Fe.Zero:return"zero";case Fe.One:return"one";case Fe.Two:return"two";case Fe.Few:return"few";case Fe.Many:return"many";default:return"other"}}}return T.\u0275fac=function(o){return new(o||T)(a.\u0275\u0275inject(a.LOCALE_ID))},T.\u0275prov=a.\u0275\u0275defineInjectable({token:T,factory:T.\u0275fac}),T})();function Qt(T,p){p=encodeURIComponent(p);for(const o of T.split(";")){const c=o.indexOf("="),[w,ye]=-1==c?[o,""]:[o.slice(0,c),o.slice(c+1)];if(w.trim()===p)return decodeURIComponent(ye)}return null}let Nn=(()=>{class T{constructor(o,c,w,ye){this._iterableDiffers=o,this._keyValueDiffers=c,this._ngEl=w,this._renderer=ye,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(o){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof o?o.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(o){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof o?o.split(/\s+/):o,this._rawClass&&((0,a.\u0275isListLikeIterable)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const o=this._iterableDiffer.diff(this._rawClass);o&&this._applyIterableChanges(o)}else if(this._keyValueDiffer){const o=this._keyValueDiffer.diff(this._rawClass);o&&this._applyKeyValueChanges(o)}}_applyKeyValueChanges(o){o.forEachAddedItem(c=>this._toggleClass(c.key,c.currentValue)),o.forEachChangedItem(c=>this._toggleClass(c.key,c.currentValue)),o.forEachRemovedItem(c=>{c.previousValue&&this._toggleClass(c.key,!1)})}_applyIterableChanges(o){o.forEachAddedItem(c=>{if("string"!=typeof c.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,a.\u0275stringify)(c.item)}`);this._toggleClass(c.item,!0)}),o.forEachRemovedItem(c=>this._toggleClass(c.item,!1))}_applyClasses(o){o&&(Array.isArray(o)||o instanceof Set?o.forEach(c=>this._toggleClass(c,!0)):Object.keys(o).forEach(c=>this._toggleClass(c,!!o[c])))}_removeClasses(o){o&&(Array.isArray(o)||o instanceof Set?o.forEach(c=>this._toggleClass(c,!1)):Object.keys(o).forEach(c=>this._toggleClass(c,!1)))}_toggleClass(o,c){(o=o.trim())&&o.split(/\s+/g).forEach(w=>{c?this._renderer.addClass(this._ngEl.nativeElement,w):this._renderer.removeClass(this._ngEl.nativeElement,w)})}}return T.\u0275fac=function(o){return new(o||T)(a.\u0275\u0275directiveInject(a.IterableDiffers),a.\u0275\u0275directiveInject(a.KeyValueDiffers),a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(a.Renderer2))},T.\u0275dir=a.\u0275\u0275defineDirective({type:T,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),T})();class tr{constructor(p,o,c,w){this.$implicit=p,this.ngForOf=o,this.index=c,this.count=w}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}}let jn=(()=>{class T{constructor(o,c,w){this._viewContainer=o,this._template=c,this._differs=w,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(o){this._ngForOf=o,this._ngForOfDirty=!0}set ngForTrackBy(o){this._trackByFn=o}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(o){o&&(this._template=o)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const o=this._ngForOf;if(!this._differ&&o)try{this._differ=this._differs.find(o).create(this.ngForTrackBy)}catch(c){throw new Error(`Cannot find a differ supporting object '${o}' of type '${function vi(T){return T.name||typeof T}(o)}'. NgFor only supports binding to Iterables such as Arrays.`)}}if(this._differ){const o=this._differ.diff(this._ngForOf);o&&this._applyChanges(o)}}_applyChanges(o){const c=[];o.forEachOperation((w,ye,et)=>{if(null==w.previousIndex){const Et=this._viewContainer.createEmbeddedView(this._template,new tr(null,this._ngForOf,-1,-1),null===et?void 0:et),Ut=new On(w,Et);c.push(Ut)}else if(null==et)this._viewContainer.remove(null===ye?void 0:ye);else if(null!==ye){const Et=this._viewContainer.get(ye);this._viewContainer.move(Et,et);const Ut=new On(w,Et);c.push(Ut)}});for(let w=0;w<c.length;w++)this._perViewChange(c[w].view,c[w].record);for(let w=0,ye=this._viewContainer.length;w<ye;w++){const et=this._viewContainer.get(w);et.context.index=w,et.context.count=ye,et.context.ngForOf=this._ngForOf}o.forEachIdentityChange(w=>{this._viewContainer.get(w.currentIndex).context.$implicit=w.item})}_perViewChange(o,c){o.context.$implicit=c.item}static ngTemplateContextGuard(o,c){return!0}}return T.\u0275fac=function(o){return new(o||T)(a.\u0275\u0275directiveInject(a.ViewContainerRef),a.\u0275\u0275directiveInject(a.TemplateRef),a.\u0275\u0275directiveInject(a.IterableDiffers))},T.\u0275dir=a.\u0275\u0275defineDirective({type:T,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),T})();class On{constructor(p,o){this.record=p,this.view=o}}let Yn=(()=>{class T{constructor(o,c){this._viewContainer=o,this._context=new wn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=c}set ngIf(o){this._context.$implicit=this._context.ngIf=o,this._updateView()}set ngIfThen(o){nn("ngIfThen",o),this._thenTemplateRef=o,this._thenViewRef=null,this._updateView()}set ngIfElse(o){nn("ngIfElse",o),this._elseTemplateRef=o,this._elseViewRef=null,this._updateView()}_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(o,c){return!0}}return T.\u0275fac=function(o){return new(o||T)(a.\u0275\u0275directiveInject(a.ViewContainerRef),a.\u0275\u0275directiveInject(a.TemplateRef))},T.\u0275dir=a.\u0275\u0275defineDirective({type:T,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThe
1n:"ngIfThen",ngIfElse:"ngIfElse"}}),T})();class wn{constructor(){this.$implicit=null,this.ngIf=null}}function nn(T,p){if(p&&!p.createEmbeddedView)throw new Error(`${T} must be a TemplateRef, but received '${(0,a.\u0275stringify)(p)}'.`)}class Ui{constructor(p,o){this._viewContainerRef=p,this._templateRef=o,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(p){p&&!this._created?this.create():!p&&this._created&&this.destroy()}}let Dn=(()=>{class T{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(o){this._ngSwitch=o,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(o){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(o)}_matchCase(o){const c=o==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||c,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),c}_updateDefaultCases(o){if(this._defaultViews&&o!==this._defaultUsed){this._defaultUsed=o;for(let c=0;c<this._defaultViews.length;c++)this._defaultViews[c].enforceState(o)}}}return T.\u0275fac=function(o){return new(o||T)},T.\u0275dir=a.\u0275\u0275defineDirective({type:T,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),T})(),Fn=(()=>{class T{constructor(o,c,w){this.ngSwitch=w,w._addCase(),this._view=new Ui(o,c)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return T.\u0275fac=function(o){return new(o||T)(a.\u0275\u0275directiveInject(a.ViewContainerRef),a.\u0275\u0275directiveInject(a.TemplateRef),a.\u0275\u0275directiveInject(Dn,9))},T.\u0275dir=a.\u0275\u0275defineDirective({type:T,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),T})(),Pn=(()=>{class T{constructor(o,c,w){w._addDefault(new Ui(o,c))}}return T.\u0275fac=function(o){return new(o||T)(a.\u0275\u0275directiveInject(a.ViewContainerRef),a.\u0275\u0275directiveInject(a.TemplateRef),a.\u0275\u0275directiveInject(Dn,9))},T.\u0275dir=a.\u0275\u0275defineDirective({type:T,selectors:[["","ngSwitchDefault",""]]}),T})(),Rn=(()=>{class T{constructor(o,c,w){this._ngEl=o,this._differs=c,this._renderer=w,this._ngStyle=null,this._differ=null}set ngStyle(o){this._ngStyle=o,!this._differ&&o&&(this._differ=this._differs.find(o).create())}ngDoCheck(){if(this._differ){const o=this._differ.diff(this._ngStyle);o&&this._applyChanges(o)}}_setStyle(o,c){const[w,ye]=o.split(".");null!=(c=null!=c&&ye?`${c}${ye}`:c)?this._renderer.setStyle(this._ngEl.nativeElement,w,c):this._renderer.removeStyle(this._ngEl.nativeElement,w)}_applyChanges(o){o.forEachRemovedItem(c=>this._setStyle(c.key,null)),o.forEachAddedItem(c=>this._setStyle(c.key,c.currentValue)),o.forEachChangedItem(c=>this._setStyle(c.key,c.currentValue))}}return T.\u0275fac=function(o){return new(o||T)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(a.KeyValueDiffers),a.\u0275\u0275directiveInject(a.Renderer2))},T.\u0275dir=a.\u0275\u0275defineDirective({type:T,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),T})(),Li=(()=>{class T{constructor(o){this._viewContainerRef=o,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(o){if(o.ngTemplateOutlet){const c=this._viewContainerRef;this._viewRef&&c.remove(c.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?c.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&o.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return T.\u0275fac=function(o){return new(o||T)(a.\u0275\u0275directiveInject(a.ViewContainerRef))},T.\u0275dir=a.\u0275\u0275defineDirective({type:T,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"}
1,features:[a.\u0275\u0275NgOnChangesFeature]}),T})();function Tn(T,p){return Error(`InvalidPipeArgument: '${p}' for pipe '${(0,a.\u0275stringify)(T)}'`)}class nr{createSubscription(p,o){return p.subscribe({next:o,error:c=>{throw c}})}dispose(p){p.unsubscribe()}onDestroy(p){p.unsubscribe()}}class Kr{createSubscription(p,o){return p.then(o,c=>{throw c})}dispose(p){}onDestroy(p){}}const fr=new Kr,Gr=new nr;let ki=(()=>{class T{constructor(o){this._ref=o,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(o){return this._obj?o!==this._obj?(this._dispose(),this.transform(o)):this._latestValue:(o&&this._subscribe(o),this._latestValue)}_subscribe(o){this._obj=o,this._strategy=this._selectStrategy(o),this._subscription=this._strategy.createSubscription(o,c=>this._updateLatestValue(o,c))}_selectStrategy(o){if((0,a.\u0275isPromise)(o))return fr;if((0,a.\u0275isSubscribable)(o))return Gr;throw Tn(T,o)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(o,c){o===this._obj&&(this._latestValue=c,this._ref.markForCheck())}}return T.\u0275fac=function(o){return new(o||T)(a.\u0275\u0275directiveInject(a.ChangeDetectorRef,16))},T.\u0275pipe=a.\u0275\u0275definePipe({name:"async",type:T,pure:!1}),T})();const zn=/(?:[0-9A-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\u0560-\u0588\u05D0-\u05EA\u05EF-\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\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\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\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\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\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\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-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\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-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\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-\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-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\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-\uAB69\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\uFB
1D3-\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\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\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-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\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\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\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]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\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-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let Ci=(()=>{class T{transform(o){if(null==o)return null;if("string"!=typeof o)throw Tn(T,o);return o.replace(zn,c=>c[0].toUpperCase()+c.substr(1).toLowerCase())}}return T.\u0275fac=function(o){return new(o||T)},T.\u0275pipe=a.\u0275\u0275definePipe({name:"titlecase",type:T,pure:!0}),T})(),Zr=(()=>{class T{transform(o){if(null==o)return null;if("string"!=typeof o)throw Tn(T,o);return o.toUpperCase()}}return T.\u0275fac=function(o){return new(o||T)},T.\u0275pipe=a.\u0275\u0275definePipe({name:"uppercase",type:T,pure:!0}),T})();const Sr=new a.InjectionToken("DATE_PIPE_DEFAULT_TIMEZONE");let pr=(()=>{class T{constructor(o,c){this.locale=o,this.defaultTimezone=c}transform(o,c="mediumDate",w,ye){var et;if(null==o||""===o||o!=o)return null;try{return It(o,c,ye||this.locale,null!==(et=null!=w?w:this.defaultTimezone)&&void 0!==et?et:void 0)}catch(Et){throw Tn(T,Et.message)}}}return T.\u0275fac=function(o){return new(o||T)(a.\u0275\u0275directiveInject(a.LOCALE_ID,16),a.\u
10275\u0275directiveInject(Sr,24))},T.\u0275pipe=a.\u0275\u0275definePipe({name:"date",type:T,pure:!0}),T})(),fi=(()=>{class T{constructor(o){this.differs=o,this.keyValues=[],this.compareFn=Ai}transform(o,c=Ai){if(!o||!(o instanceof Map)&&"object"!=typeof o)return null;this.differ||(this.differ=this.differs.find(o).create());const w=this.differ.diff(o),ye=c!==this.compareFn;return w&&(this.keyValues=[],w.forEachItem(et=>{this.keyValues.push(function ci(T,p){return{key:T,value:p}}(et.key,et.currentValue))})),(w||ye)&&(this.keyValues.sort(c),this.compareFn=c),this.keyValues}}return T.\u0275fac=function(o){return new(o||T)(a.\u0275\u0275directiveInject(a.KeyValueDiffers,16))},T.\u0275pipe=a.\u0275\u0275definePipe({name:"keyvalue",type:T,pure:!1}),T})();function Ai(T,p){const o=T.key,c=p.key;if(o===c)return 0;if(void 0===o)return 1;if(void 0===c)return-1;if(null===o)return 1;if(null===c)return-1;if("string"==typeof o&&"string"==typeof c)return o<c?-1:1;if("number"==typeof o&&"number"==typeof c)return o-c;if("boolean"==typeof o&&"boolean"==typeof c)return o<c?-1:1;const w=String(o),ye=String(c);return w==ye?0:w<ye?-1:1}let Pr=(()=>{class T{constructor(o){this._locale=o}transform(o,c,w){if(!rr(o))return null;w=w||this._locale;try{return function Mt(T,p,o){return fn(T,Kt(ge(p,Ie.Decimal),le(p,_e.MinusSign)),p,_e.Group,_e.Decimal,o)}(pi(o),w,c)}catch(ye){throw Tn(T,ye.message)}}}return T.\u0275fac=function(o){return new(o||T)(a.\u0275\u0275directiveInject(a.LOCALE_ID,16))},T.\u0275pipe=a.\u0275\u0275definePipe({name:"number",type:T,pure:!0}),T})(),Jn=(()=>{class T{constructor(o,c="USD"){this._locale=o,this._defaultCurrencyCode=c}transform(o,c=this._defaultCurrencyCode,w="symbol",ye,et){if(!rr(o))return null;et=et||this._locale,"boolean"==typeof w&&(w=w?"symbol":"code");let Et=c||this._defaultCurrencyCode;"code"!==w&&(Et="symbol"===w||"symbol-narrow"===w?function P(T,p,o="en"){const c=function Ae(T){return(0,a.\u0275findLocaleData)(T)[a.\u0275LocaleDataIndex.Currencies]}(o)[T]||Je[T]||[],w=c[1];return"narrow"===p&&"string"==typeof w?w:c[0]||T}(Et,"symbol"===w?"wide":"narrow",et):w);try{return function er(T,p,o,c,w){const et=Kt(ge(p,Ie.Currency),le(p,_e.MinusSign));return et.minFrac=function b(T){let p;const o=Je[T];return o&&(p=o[2]),"number"==typeof p?p:2}(c),et.maxFrac=et.minFrac,fn(T,et,p,_e.CurrencyGroup,_e.CurrencyDecimal,w).replace("\xa4",o).replace("\xa4","").trim()}(pi(o),et,Et,c,ye)}catch(Ut){throw Tn(T,Ut.message)}}}return T.\u0275fac=function(o){return new(o||T)(a.\u0275\u0275directiveInject(a.LOCALE_ID,16),a.\u0275\u0275directiveInject(a.DEFAULT_CURRENCY_CODE,16))},T.\u0275pipe=a.\u0275\u0275definePipe({name:"currency",type:T,pure:!0}),T})();function rr(T){return!(null==T||""===T||T!=T)}function pi(T){if("string"==typeof T&&!isNaN(Number(T)-parseFloat(T)))return Number(T);if("number"!=typeof T)throw new Error(`${T} is not a number`);return T}let Hi=(()=>{class T{}return T.\u0275fac=function(o){return new(o||T)},T.\u0275mod=a.\u0275\u0275defineNgModule({type:T}),T.\u0275inj=a.\u0275\u0275defineInjector({providers:[{provide:In,useClass:_i}]}),T})();const Ti="browser";function zi(T){return T===Ti}function Gn(T){return"server"===T}let Yr=(()=>{class T{}return T.\u0275prov=(0,a.\u0275\u0275defineInjectable)({token:T,providedIn:"root",factory:()=>new Pi((0,a.\u0275\u0275inject)(pe),window)}),T})();class Pi{constructor(p,o){this.document=p,this.window=o,this.offset=()=>[0,0]}setOffset(p){this.offset=Array.isArray(p)?()=>p:p}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(p){this.supportsScrolling()&&this.window.scrollTo(p[0],p[1])}scrollToAnchor(p){if(!this.supportsScrolling())return;const o=function mn(T,p){const o=T.getElementById(p)||T.getElementsByName(p)[0];if(o)return o;if("function"==typeof T.createTreeWalker&&T.body&&(T.body.createShadowRoot||T.body.attachShadow)){const c=T.createTreeWalker(T.body,NodeFilter.SHOW_ELEMENT);let w=c.currentNode;for(;w;){const ye=w.shadowRoot;if(ye){const et=ye.getElementById(p)||ye.querySelector(`[name="${p}"]`);if(et)return et}w=c.nextNode()}}return null}(this.document,p);o&&(this.scrollToElement(o),this.attemptFocus(o))}setHistoryScrollRestoration(p){if(this.supportScrollRestoration()){const o=this.window.history;o&&o.scrollRestoration&&(o.scrollRestoration=p)}}scrollToElement(p){const o=p.getBoundingClientRect(),c=o.left+this.window.pageXOffset,w=o.top+this.window.pageYOffset,ye=this.offset();this.window.scrollTo(c-ye[0],w-ye[1])}attemptFocus(p){return p.focus(),this.document.activeElement===p}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const p=$i(this.window.history)||$i(Object.getPrototypeOf(this.window.history));return!(!p||!p.writable&&!p.set)}catch(p){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(p){return!1}}}function $i(T){return Object.getOwnPropertyDescriptor(T,"scrollRestoration")}class Jr{}},520:(ft,Te,g)=>{g.d(Te,{JF:()=>U,LE:()=>Ve,TP:()=>ht,WM:()=>Z,Zn:()=>Ue,aW:()=>He,eN:()=>_e});var a=g(9808),f=g(5e3),u=g(9646),X=g(9751),I=g(4351),re=g(9300),pe=g(4004);class ee{}class ce{}class Z{constructor(b){this.normalizedNames=new Map,this.lazyUpdate=null,b?this.lazyInit="string"==typeof b?()=>{this.headers=new Map,b.split("\n").forEach(x=>{const ne=x.indexOf(":");if(ne>0){const he=x.slice(0,ne),qe=he.toLowerCase(),nt=x.slice(ne+1).trim();this.maybeSetNormalizedName(he,qe),this.headers.has(qe)?this.headers.get(qe).push(nt):this.headers.set(qe,[nt])}})}:()=>{this.headers=new Map,Object.keys(b).forEach(x=>{let ne=b[x];const he=x.toLowerCase();"string"==typeof ne&&(ne=[ne]),ne.length>0&&(this.headers.set(he,ne),this.maybeSetNormalizedName(x,he))})}:this.headers=new Map}has(b){return this.init(),this.headers.has(b.toLowerCase())}get(b){this.init();const x=this.headers.get(b.toLowerCase());return x&&x.length>0?x[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(b){return this.init(),this.headers.get(b.toLowerCase())||null}append(b,x){return this.clone({name:b,value:x,op:"a"})}set(b,x){return this.clone({name:b,value:x,op:"s"})}delete(b,x){return this.clone({name:b,value:x,op:"d"})}maybeSetNormalizedName(b,x){this.normalizedNames.has(x)||this.normalizedNames.set(x,b)}init(){this.lazyInit&&(this.lazyInit instanceof Z?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(b=>this.applyUpdate(b)),this.lazyUpdate=null))}
vendor: 6,283 bytes, line 1
1copyFrom(b){b.init(),Array.from(b.headers.keys()).forEach(x=>{this.headers.set(x,b.headers.get(x)),this.normalizedNames.set(x,b.normalizedNames.get(x))})}clone(b){const x=new Z;return x.lazyInit=this.lazyInit&&this.lazyInit instanceof Z?this.lazyInit:this,x.lazyUpdate=(this.lazyUpdate||[]).concat([b]),x}applyUpdate(b){const x=b.name.toLowerCase();switch(b.op){case"a":case"s":let ne=b.value;if("string"==typeof ne&&(ne=[ne]),0===ne.length)return;this.maybeSetNormalizedName(b.name,x);const he=("a"===b.op?this.headers.get(x):void 0)||[];he.push(...ne),this.headers.set(x,he);break;case"d":const qe=b.value;if(qe){let nt=this.headers.get(x);if(!nt)return;nt=nt.filter(ct=>-1===qe.indexOf(ct)),0===nt.length?(this.headers.delete(x),this.normalizedNames.delete(x)):this.headers.set(x,nt)}else this.headers.delete(x),this.normalizedNames.delete(x)}}forEach(b){this.init(),Array.from(this.normalizedNames.keys()).forEach(x=>b(this.normalizedNames.get(x),this.headers.get(x)))}}class oe{encodeKey(b){return se(b)}encodeValue(b){return se(b)}decodeKey(b){return decodeURIComponent(b)}decodeValue(b){return decodeURIComponent(b)}}const Y=/%(\d[a-f0-9])/gi,K={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function se(A){return encodeURIComponent(A).replace(Y,(b,x)=>{var ne;return null!==(ne=K[x])&&void 0!==ne?ne:b})}function xe(A){return`${A}`}class Ve{constructor(b={}){if(this.updates=null,this.cloneFrom=null,this.encoder=b.encoder||new oe,b.fromString){if(b.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function C(A,b){const x=new Map;return A.length>0&&A.replace(/^\?/,"").split("&").forEach(he=>{const qe=he.indexOf("="),[nt,ct]=-1==qe?[b.decodeKey(he),""]:[b.decodeKey(he.slice(0,qe)),b.decodeValue(he.slice(qe+1))],It=x.get(nt)||[];It.push(ct),x.set(nt,It)}),x}(b.fromString,this.encoder)}else b.fromObject?(this.map=new Map,Object.keys(b.fromObject).forEach(x=>{const ne=b.fromObject[x];this.map.set(x,Array.isArray(ne)?ne:[ne])})):this.map=null}has(b){return this.init(),this.map.has(b)}get(b){this.init();const x=this.map.get(b);return x?x[0]:null}getAll(b){return this.init(),this.map.get(b)||null}keys(){return this.init(),Array.from(this.map.keys())}append(b,x){return this.clone({param:b,value:x,op:"a"})}appendAll(b){const x=[];return Object.keys(b).forEach(ne=>{const he=b[ne];Array.isArray(he)?he.forEach(qe=>{x.push({param:ne,value:qe,op:"a"})}):x.push({param:ne,value:he,op:"a"})}),this.clone(x)}set(b,x){return this.clone({param:b,value:x,op:"s"})}delete(b,x){return this.clone({param:b,value:x,op:"d"})}toString(){return this.init(),this.keys().map(b=>{const x=this.encoder.encodeKey(b);return this.map.get(b).map(ne=>x+"="+this.encoder.encodeValue(ne)).join("&")}).filter(b=>""!==b).join("&")}clone(b){const x=new Ve({encoder:this.encoder});return x.cloneFrom=this.cloneFrom||this,x.updates=(this.updates||[]).concat(b),x}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(b=>this.map.set(b,this.cloneFrom.map.get(b))),this.updates.forEach(b=>{switch(b.op){case"a":case"s":const x=("a"===b.op?this.map.get(b.param):void 0)||[];x.push(xe(b.value)),this.map.set(b.param,x);break;case"d":if(void 0===b.value){this.map.delete(b.param);break}{let ne=this.map.get(b.param)||[];const he=ne.indexOf(xe(b.value));-1!==he&&ne.splice(he,1),ne.length>0?this.map.set(b.param,ne):this.map.delete(b.param)}}}),this.cloneFrom=this.updates=null)}}class $e{constructor(){this.map=new Map}set(b,x){return this.map.set(b,x),this}get(b){return this.map.has(b)||this.map.set(b,b.defaultValue()),this.map.get(b)}delete(b){return this.map.delete(b),this}keys(){return this.map.keys()}}function be(A){return"undefined"!=typeof ArrayBuffer&&A instanceof ArrayBuffer}function ae(A){return"undefined"!=typeof Blob&&A instanceof Blob}function de(A){return"undefined"!=typeof FormData&&A instanceof FormData}class He{constructor(b,x,ne,he){let qe;if(this.url=x,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=b.toUpperCase(),function ot(A){switch(A){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||he?(this.body=void 0!==ne?ne:null,qe=he):qe=ne,qe&&(this.reportProgress=!!qe.reportProgress,this.withCredentials=!!qe.withCredentials,qe.responseType&&(this.responseType=qe.responseType),qe.headers&&(this.headers=qe.headers),qe.context&&(this.context=qe.context),qe.params&&(this.params=qe.params)),this.headers||(this.headers=new Z),this.context||(this.context=new $e),this.params){const nt=this.params.toString();if(0===nt.length)this.urlWithParams=x;else{const ct=x.indexOf("?");this.urlWithParams=x+(-1===ct?"?":ct<x.length-1?"&":"")+nt}}else this.params=new Ve,this.urlWithParams=x}serializeBody(){return null===this.body?null:be(this.body)||ae(this.body)||de(this.body)||function Oe(A){return"undefined"!=typeof URLSearchParams&&A instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Ve?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||de(this.body)?null:ae(this.body)?this.body.type||null:be(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Ve?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(b={}){var x;const ne=b.method||this.method,he=b.url||this.url,qe=b.responseType||this.responseType,nt=void 0!==b.body?b.body:this.body,ct=void 0!==b.withCredentials?b.withCredentials:this.withCredentials,It=void 0!==b.reportProgress?b.reportProgress:this.reportProgress;let wt=b.headers||this.headers,St=b.params||this.params;const Lt=null!==(x=b.context)&&void 0!==x?x:this.context;return void 0!==b.setHeaders&&(wt=Object.keys(b.setHeaders).reduce(($t,jt)=>$t.set(jt,b.setHeaders[jt]),wt)),b.setParams&&(St=Object.keys(b.setParams).reduce(($t,jt)=>$t.set(jt,b.setParams[jt]),St)),new He(ne,he,nt,{params:St,headers:wt,context:Lt,reportProgress:It,responseType:qe,withCredentials:ct})}}var Je=(()=>((Je=Je||{}
1)[Je.Sent=0]="Sent",Je[Je.UploadProgress=1]="UploadProgress",Je[Je.ResponseHeader=2]="ResponseHeader",Je[Je.DownloadProgress=3]="DownloadProgress",Je[Je.Response=4]="Response",Je[Je.User=5]="User",Je))();class Ie{constructor(b,x=200,ne="OK"){this.headers=b.headers||new Z,this.status=void 0!==b.status?b.status:x,this.statusText=b.statusText||ne,this.url=b.url||null,this.ok=this.status>=200&&this.status<300}}class Fe extends Ie{constructor(b={}){super(b),this.type=Je.ResponseHeader}clone(b={}){return new Fe({headers:b.headers||this.headers,status:void 0!==b.status?b.status:this.status,statusText:b.statusText||this.statusText,url:b.url||this.url||void 0})}}class Ue extends Ie{constructor(b={}){super(b),this.type=Je.Response,this.body=void 0!==b.body?b.body:null}clone(b={}){return new Ue({body:void 0!==b.body?b.body:this.body,headers:b.headers||this.headers,status:void 0!==b.status?b.status:this.status,statusText:b.statusText||this.statusText,url:b.url||this.url||void 0})}}class Ze extends Ie{constructor(b){super(b,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${b.url||"(unknown url)"}`:`Http failure response for ${b.url||"(unknown url)"}: ${b.status} ${b.statusText}`,this.error=b.error||null}}function Ne(A,b){return{body:b,headers:A.headers,context:A.context,observe:A.observe,params:A.params,reportProgress:A.reportProgress,responseType:A.responseType,withCredentials:A.withCredentials}}let _e=(()=>{class A{constructor(x){this.handler=x}request(x,ne,he={}){let qe;if(x instanceof He)qe=x;else{let It,wt;It=he.headers instanceof Z?he.headers:new Z(he.headers),he.params&&(wt=he.params instanceof Ve?he.params:new Ve({fromObject:he.params})),qe=new He(x,ne,void 0!==he.body?he.body:null,{headers:It,context:he.context,params:wt,reportProgress:he.reportProgress,responseType:he.responseType||"json",withCredentials:he.withCredentials})}const nt=(0,u.of)(qe).pipe((0,I.b)(It=>this.handler.handle(It)));if(x instanceof He||"events"===he.observe)return nt;const ct=nt.pipe((0,re.h)(It=>It instanceof Ue));switch(he.observe||"body"){case"body":switch(qe.responseType){case"arraybuffer":return ct.pipe((0,pe.U)(It=>{if(null!==It.body&&!(It.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return It.body}));case"blob":return ct.pipe((0,pe.U)(It=>{if(null!==It.body&&!(It.body instanceof Blob))throw new Error("Response is not a Blob.");return It.body}));case"text":return ct.pipe((0,pe.U)(It=>{if(null!==It.body&&"string"!=typeof It.body)throw new Error("Response is not a string.");return It.body}));default:return ct.pipe((0,pe.U)(It=>It.body))}case"response":return ct;default:throw new Error(`Unreachable: unhandled observe type ${he.observe}}`)}}delete(x,ne={}){return this.request("DELETE",x,ne)}get(x,ne={}){return this.request("GET",x,ne)}head(x,ne={}){return this.request("HEAD",x,ne)}jsonp(x,ne){return this.request("JSONP",x,{params:(new Ve).append(ne,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(x,ne={}){return this.request("OPTIONS",x,ne)}patch(x,ne,he={}){return this.request("PATCH",x,Ne(he,ne))}post(x,ne,he={}){return this.request("POST",x,Ne(he,ne))}put(x,ne,he={}){return this.request("PUT",x,Ne(he,ne))}}return A.\u0275fac=function(x){return new(x||A)(f.\u0275\u0275inject(ee))},A.\u0275prov=f.\u0275\u0275defineInjectable({token:A,factory:A.\u0275fac}),A})();class je{constructor(b,x){this.next=b,this.interceptor=x}handle(b){return this.interceptor.intercept(b,this.next)}}const ht=new f.InjectionToken("HTTP_INTERCEPTORS");let yt=(()=>{class A{intercept(x,ne){return ne.handle(x)}}return A.\u0275fac=function(x){return new(x||A)},A.\u0275prov=f.\u0275\u0275defineInjectable({token:A,factory:A.\u0275fac}),A})();const R=/^\)\]\}',?\n/;let ge=(()=>{class A{constructor(x){this.xhrFactory=x}handle(x){if("JSONP"===x.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new X.y(ne=>{const he=this.xhrFactory.build();if(he.open(x.method,x.urlWithParams),x.withCredentials&&(he.withCredentials=!0),x.headers.forEac
1h((jt,Ot)=>he.setRequestHeader(jt,Ot.join(","))),x.headers.has("Accept")||he.setRequestHeader("Accept","application/json, text/plain, */*"),!x.headers.has("Content-Type")){const jt=x.detectContentTypeHeader();null!==jt&&he.setRequestHeader("Content-Type",jt)}if(x.responseType){const jt=x.responseType.toLowerCase();he.responseType="json"!==jt?jt:"text"}const qe=x.serializeBody();let nt=null;const ct=()=>{if(null!==nt)return nt;const jt=1223===he.status?204:he.status,Ot=he.statusText||"OK",kt=new Z(he.getAllResponseHeaders()),Rt=function le(A){return"responseURL"in A&&A.responseURL?A.responseURL:/^X-Request-URL:/m.test(A.getAllResponseHeaders())?A.getResponseHeader("X-Request-URL"):null}(he)||x.url;return nt=new Fe({headers:kt,status:jt,statusText:Ot,url:Rt}),nt},It=()=>{let{headers:jt,status:Ot,statusText:kt,url:Rt}=ct(),Xe=null;204!==Ot&&(Xe=void 0===he.response?he.responseText:he.response),0===Ot&&(Ot=Xe?200:0);let J=Ot>=200&&Ot<300;if("json"===x.responseType&&"string"==typeof Xe){const N=Xe;Xe=Xe.replace(R,"");try{Xe=""!==Xe?JSON.parse(Xe):null}catch(j){Xe=N,J&&(J=!1,Xe={error:j,text:Xe})}}J?(ne.next(new Ue({body:Xe,headers:jt,status:Ot,statusText:kt,url:Rt||void 0})),ne.complete()):ne.error(new Ze({error:Xe,headers:jt,status:Ot,statusText:kt,url:Rt||void 0}))},wt=jt=>{const{url:Ot}=ct(),kt=new Ze({error:jt,status:he.status||0,statusText:he.statusText||"Unknown Error",url:Ot||void 0});ne.error(kt)};let St=!1;const Lt=jt=>{St||(ne.next(ct()),St=!0);let Ot={type:Je.DownloadProgress,loaded:jt.loaded};jt.lengthComputable&&(Ot.total=jt.total),"text"===x.responseType&&!!he.responseText&&(Ot.partialText=he.responseText),ne.next(Ot)},$t=jt=>{let Ot={type:Je.UploadProgress,loaded:jt.loaded};jt.lengthComputable&&(Ot.total=jt.total),ne.next(Ot)};return he.addEventListener("load",It),he.addEventListener("error",wt),he.addEventListener("timeout",wt),he.addEventListener("abort",wt),x.reportProgress&&(he.addEventListener("progress",Lt),null!==qe&&he.upload&&he.upload.addEventListener("progress",$t)),he.send(qe),ne.next({type:Je.Sent}),()=>{he.removeEventListener("error",wt),he.removeEventListener("abort",wt),he.removeEventListener("load",It),he.removeEventListener("timeout",wt),x.reportProgress&&(he.removeEventListener("progress",Lt),null!==qe&&he.upload&&he.upload.removeEventListener("progress",$t)),he.readyState!==he.DONE&&he.abort()}})}}return A.\u0275fac=function(x){return new(x||A)(f.\u0275\u0275inject(a.JF))},A.\u0275prov=f.\u0275\u0275defineInjectable({token:A,factory:A.\u0275fac}),A})();const Qe=new f.InjectionToken("XSRF_COOKIE_NAME"),ze=new f.InjectionToken("XSRF_HEADER_NAME");class rt{}let Ae=(()=>{class A{constructor(x,ne,he){this.doc=x,this.platform=ne,this.cookieName=he,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const x=this.doc.cookie||"";return x!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,a.Mx)(x,this.cookieName),this.lastCookieString=x),this.lastToken}}return A.\u0275fac=function(x){return new(x||A)(f.\u0275\u0275inject(a.K0),f.\u0275\u0275inject(f.PLATFORM_ID),f.\u0275\u0275inject(Qe))},A.\u0275prov=f.\u0275\u0275defineInjectable({token:A,factory:A.\u0275fac}),A})(),it=(()=>{class A{constructor(x,ne){this.tokenService=x,this.headerName=ne}intercept(x,ne){const he=x.url.toLowerCase();if("GET"===x.method||"HEAD"===x.method||he.startsWith("http://")||he.startsWith("https://"))return ne.handle(x);const qe=this.tokenService.getToken();return null!==qe&&!x.headers.has(this.headerName)&&(x=x.clone({headers:x.headers.set(this.headerName,qe)})),ne.handle(x)}}return A.\u0275fac=function(x){return new(x||A)(f.\u0275\u0275inject(rt),f.\u0275\u0275inject(ze))},A.\u0275prov=f.\u0275\u0275defineInjectable({token:A,factory:A.\u0275fac}),A})(),dt=(()=>{class A{constructor(x,ne){this.backend=x,this.injector=ne,this.chain=null}handle(x){if(null===this.chain){const ne=this.injector.get(ht,[]);this.chain=ne.reduceRight((he,qe)=>new je(he,qe),this.backend)}return this.chain.handle(x)}}return A.\u0275fac=function(x){return new(x||A)(f.\u0275\u0275inject(ce),f.\u0275\u0275inject(f.Injector))},A.\u0275prov=f.\u0275\u0275defineInjectable({token:A,factory:A.\u0275fac}),A})(),De=(()=>{class A{static disable(){return{ngModule:A,providers:[{provide:it,useClass:yt}]}}static withOptions(x={}){return{ngModule:A,providers:[x.cookieName?{provide:Qe,useValue:x.cookieName}:[],x.headerName?{provide:ze,useValue:x.headerName}:[]]}}}return A.\u0275fac=function(x){return new(x||A)},A.\u0275mod=f.\u0275\u0275defineNgModule({type:A}),A.\u0275inj=f.\u0275\u0275defineInjector({providers:[it,{provide:ht,useExisting:it,multi:!0},{provide:rt,useClass:Ae},{provide:Qe,useValue:"XSRF-TOKEN"},{provide:ze,useValue:"X-XSRF-TOKEN"}
1]}),A})(),U=(()=>{class A{}return A.\u0275fac=function(x){return new(x||A)},A.\u0275mod=f.\u0275\u0275defineNgModule({type:A}),A.\u0275inj=f.\u0275\u0275defineInjector({providers:[_e,{provide:ee,useClass:dt},ge,{provide:ce,useExisting:ge}],imports:[[De.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),A})()},5e3:(ft,Te,g)=>{g.r(Te),g.d(Te,{ANALYZE_FOR_ENTRY_COMPONENTS:()=>a_,APP_BOOTSTRAP_LISTENER:()=>Om,APP_ID:()=>Dm,APP_INITIALIZER:()=>Fu,ApplicationInitStatus:()=>_o,ApplicationModule:()=>BD,ApplicationRef:()=>qo,Attribute:()=>dd,COMPILER_OPTIONS:()=>Pm,CUSTOM_ELEMENTS_SCHEMA:()=>Gd,ChangeDetectionStrategy:()=>ne,ChangeDetectorRef:()=>Km,Compiler:()=>ku,CompilerFactory:()=>YE,Component:()=>BE,ComponentFactory:()=>xa,ComponentFactoryResolver:()=>Ko,ComponentRef:()=>lg,ContentChild:()=>c_,ContentChildren:()=>l_,DEFAULT_CURRENCY_CODE:()=>Tm,DebugElement:()=>DD,DebugEventListener:()=>gD,DebugNode:()=>ED,DefaultIterableDiffer:()=>Jm,Directive:()=>Em,ElementRef:()=>Go,EmbeddedViewRef:()=>pD,ErrorHandler:()=>So,EventEmitter:()=>Wr,Host:()=>yd,HostBinding:()=>zE,HostListener:()=>WE,INJECTOR:()=>Ea,Inject:()=>Mo,InjectFlags:()=>De,Injectable:()=>db,InjectionToken:()=>Vn,Injector:()=>Xi,Input:()=>UE,IterableDiffers:()=>$a,KeyValueDiffers:()=>Ka,LOCALE_ID:()=>za,MissingTranslationStrategy:()=>$r,ModuleWithComponentFactories:()=>Sm,NO_ERRORS_SCHEMA:()=>Zd,NgModule:()=>$E,NgModuleFactory:()=>yg,NgModuleRef:()=>po,NgProbeToken:()=>rD,NgZone:()=>Ji,Optional:()=>ys,Output:()=>HE,PACKAGE_ROOT_URL:()=>GE,PLATFORM_ID:()=>Im,PLATFORM_INITIALIZER:()=>wm,Pipe:()=>VE,PlatformRef:()=>Wu,Query:()=>vo,QueryList:()=>ja,ReflectiveInjector:()=>ao,ReflectiveKey:()=>rs,Renderer2:()=>eE,RendererFactory2:()=>ug,RendererStyleFlags2:()=>Vr,ResolvedReflectiveFactory:()=>jf,Sanitizer:()=>dg,SecurityContext:()=>Kn,Self:()=>la,SimpleChange:()=>rr,SkipSelf:()=>vs,TRANSLATIONS:()=>ZE,TRANSLATIONS_FORMAT:()=>QE,TemplateRef:()=>Yo,Testability:()=>Lm,TestabilityRegistry:()=>Vu,Type:()=>ra,VERSION:()=>fg,Version:()=>hg,ViewChild:()=>d_,ViewChildren:()=>u_,ViewContainerRef:()=>Va,ViewEncapsulation:()=>nt,ViewRef:()=>Zm,asNativeElements:()=>mD,assertPlatform:()=>Vm,createNgModuleRef:()=>lE,createPlatform:()=>jm,createPlatformFactory:()=>Bm,defineInjectable:()=>R,destroyPlatform:()=>sD,enableProdMode:()=>uD,forwardRef:()=>oe,getDebugNode:()=>Wa,getModuleFactory:()=>dD,getNgModuleById:()=>hD,getPlatform:()=>zu,inject:()=>w_,isDevMode:()=>cD,platformCore:()=>RD,resolveForwardRef:()=>C,setTestabilityGetter:()=>iD,\u0275ALLOW_MULTIPLE_PLATFORMS:()=>Hu,\u0275APP_ID_RANDOM_PROVIDER:()=>Mm,\u0275ChangeDetectorStatus:()=>he,\u0275ComponentFactory:()=>xa,\u0275Console:()=>Am,\u0275DEFAULT_LOCALE_ID:()=>Uo,\u0275INJECTOR_SCOPE:()=>Jl,\u0275LifecycleHooksFeature:()=>Mf,\u0275LocaleDataIndex:()=>Gt,\u0275NG_COMP_DEF:()=>Rt,\u0275NG_DIR_DEF:()=>Xe,\u0275NG_ELEMENT_ID:()=>me,\u0275NG_INJ_DEF:()=>dt,\u0275NG_MOD_DEF:()=>N,\u0275NG_PIPE_DEF:()=>J,\u0275NG_PROV_DEF:()=>it,\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR:()=>Fa,\u0275NO_CHANGE:()=>en,\u0275NgModuleFactory:()=>Na,\u0275NoopNgZone:()=>Fm,\u0275ReflectionCapabilities:()=>el,\u0275Render3ComponentFactory:()=>ka,\u0275Render3ComponentRef:()=>mg,\u0275Render3NgModuleRef:()=>vu,\u0275RuntimeError:()=>se,\u0275ViewRef:()=>fo,\u0275_sanitizeHtml:()=>Ld,\u0275_sanitizeUrl:()=>Io,\u0275allowSanitizationBypassAndThrow:()=>zs,\u0275bypassSanitizationTrustHtml:()=>U_,\u0275bypassSanitizationTrustResourceUrl:()=>$_,\u0275bypassSanitizationTrustScript:()=>z_,\u0275bypassSanitizationTrustStyle:()=>H_,\u0275bypassSanitizationTrustUrl:()=>W_,\u0275clearResolutionOfComponentResourcesQueue:()=>Dd,\u0275compileComponent:()=>um,\u0275compileDirective:()=>xu,\u0275compileNgModule:()=>rm,\u0275compileNgModuleDefs:()=>sm,\u0275compileNgModuleFactory:()=>km,\u0275compilePipe:()=>bm,\u0275createInjector:()=>ec,\u0275defaultIterableDiffers:()=>r_,\u0275defaultKeyValueDiffers:()=>s_,\u0275detectChanges:()=>sf,\u0275devModeEqual:()=>Of,\u0275findLocaleData:()=>cu,\u0275flushModuleScopingQueueAsMuchAsPossible:()=>nm,\u0275getDebugNode:()=>Wa,\u0275getDebugNodeR2:()=>CD,\u0275getDirectives:()=>_f,\u0275getHostElement:()=>ic,\u0275getInjectableDef:()=>ge,\u0275getLContext:()=>Mi,\u0275getLocaleCurrencyCode:()=>eC,\u0275getLocalePluralCase:()=>Rp,\u0275getSanitizationBypassType:()=>Od,\u0275global:()=>Lt,\u0275injectChangeDetectorRef:()=>Gm,\u0275isBoundToModule:()=>Nm,\u0275isDefaultChangeDetectionStrategy:()=>qe,\u0275isListLikeIterable:()=>ko,\u0275isObservable:()=>
vendor: 7,016 bytes, line 1
1Gf,\u0275isPromise:()=>Oc,\u0275isSubscribable:()=>Kf,\u0275ivyEnabled:()=>VD,\u0275makeDecorator:()=>js,\u0275markDirty:()=>af,\u0275noSideEffects:()=>x,\u0275patchComponentDefWithScope:()=>Su,\u0275publishDefaultGlobalUtils:()=>Zv,\u0275publishGlobalUtil:()=>dr,\u0275registerLocaleData:()=>qb,\u0275registerNgModuleType:()=>bg,\u0275renderComponent:()=>Qv,\u0275resetCompiledComponents:()=>TE,\u0275resetJitOptions:()=>OE,\u0275resolveComponentResources:()=>Cd,\u0275setClassMetadata:()=>_g,\u0275setCurrentInjector:()=>il,\u0275setDocument:()=>Yr,\u0275setLocaleId:()=>Lp,\u0275store:()=>Tf,\u0275stringify:()=>ee,\u0275transitiveScopesFor:()=>Jo,\u0275unregisterLocaleData:()=>tC,\u0275unwrapSafeValue:()=>ts,\u0275whenRendered:()=>Yv,\u0275\u0275CopyDefinitionFeature:()=>If,\u0275\u0275FactoryTarget:()=>ii,\u0275\u0275InheritDefinitionFeature:()=>sc,\u0275\u0275NgOnChangesFeature:()=>pi,\u0275\u0275ProvidersFeature:()=>ag,\u0275\u0275advance:()=>wh,\u0275\u0275attribute:()=>lc,\u0275\u0275attributeInterpolate1:()=>cc,\u0275\u0275attributeInterpolate2:()=>uc,\u0275\u0275attributeInterpolate3:()=>dc,\u0275\u0275attributeInterpolate4:()=>hc,\u0275\u0275attributeInterpolate5:()=>fc,\u0275\u0275attributeInterpolate6:()=>pc,\u0275\u0275attributeInterpolate7:()=>gc,\u0275\u0275attributeInterpolate8:()=>mc,\u0275\u0275attributeInterpolateV:()=>_c,\u0275\u0275classMap:()=>op,\u0275\u0275classMapInterpolate1:()=>pp,\u0275\u0275classMapInterpolate2:()=>gp,\u0275\u0275classMapInterpolate3:()=>mp,\u0275\u0275classMapInterpolate4:()=>_p,\u0275\u0275classMapInterpolate5:()=>yp,\u0275\u0275classMapInterpolate6:()=>vp,\u0275\u0275classMapInterpolate7:()=>bp,\u0275\u0275classMapInterpolate8:()=>Cp,\u0275\u0275classMapInterpolateV:()=>Ep,\u0275\u0275classProp:()=>Uc,\u0275\u0275contentQuery:()=>Yg,\u0275\u0275defineComponent:()=>z,\u0275\u0275defineDirective:()=>H,\u0275\u0275defineInjectable:()=>Be,\u0275\u0275defineInjector:()=>le,\u0275\u0275defineNgModule:()=>B,\u0275\u0275definePipe:()=>Ee,\u0275\u0275directiveInject:()=>Bo,\u0275\u0275disableBindings:()=>Is,\u0275\u0275element:()=>zf,\u0275\u0275elementContainer:()=>Wf,\u0275\u0275elementContainerEnd:()=>Ic,\u0275\u0275elementContainerStart:()=>wc,\u0275\u0275elementEnd:()=>Mc,\u0275\u0275elementStart:()=>Dc,\u0275\u0275enableBindings:()=>Ki,\u0275\u0275getCurrentView:()=>$f,\u0275\u0275getInheritedFactory:()=>ud,\u0275\u0275hostProperty:()=>au,\u0275\u0275i18n:()=>ng,\u0275\u0275i18nApply:()=>rg,\u0275\u0275i18nAttributes:()=>ig,\u0275\u0275i18nEnd:()=>fu,\u0275\u0275i18nExp:()=>pu,\u0275\u0275i18nPostprocess:()=>sg,\u0275\u0275i18nStart:()=>hu,\u0275\u0275inject:()=>di,\u0275\u0275injectAttribute:()=>Xa,\u0275\u0275invalidFactory:()=>Hf,\u0275\u0275invalidFactoryDep:()=>rl,\u0275\u0275listener:()=>Ac,\u0275\u0275loadQuery:()=>Xg,\u0275\u0275namespaceHTML:()=>Yt,\u0275\u0275namespaceMathML:()=>Xt,\u0275\u0275namespaceSVG:()=>Vt,\u0275\u0275nextContext:()=>Yf,\u0275\u0275ngDeclareClassMetadata:()=>HD,\u0275\u0275ngDeclareComponent:()=>zD,\u0275\u0275ngDeclareDirective:()=>UD,\u0275\u0275ngDeclareFactory:()=>WD,\u0275\u0275ngDeclareInjectable:()=>KD,\u0275\u0275ngDeclareInjector:()=>GD,\u0275\u0275ngDeclareNgModule:()=>ZD,\u0275\u0275ngDeclarePipe:()=>QD,\u0275\u0275pipe:()=>Ng,\u0275\u0275pipeBind1:()=>jg,\u0275\u0275pipeBind2:()=>Bg,\u0275\u0275pipeBind3:()=>Vg,\u0275\u0275pipeBind4:()=>Ug,\u0275\u0275pipeBindV:()=>Hg,\u0275\u0275projection:()=>Jf,\u0275\u0275projectionDef:()=>Xf,\u0275\u0275property:()=>Cc,\u0275\u0275propertyInterpolate:()=>Pc,\u0275\u0275propertyInterpolate1:()=>Ia,\u0275\u0275propertyInterpolate2:()=>Rc,\u0275\u0275propertyInterpolate3:()=>xc,\u0275\u0275propertyInterpolate4:()=>Fc,\u0275\u0275propertyInterpolate5:()=>Lc,\u0275\u0275propertyInterpolate6:()=>kc,\u0275\u0275propertyInterpolate7:()=>Nc,\u0275\u0275propertyInterpolate8:()=>jc,\u0275\u0275propertyInterpolateV:()=>Bc,\u0275\u0275pureFunction0:()=>Eg,\u0275\u0275pureFunction1:()=>Dg,\u0275\u0275pureFunction2:()=>Mg,\u0275\u0275pureFunction3:()=>wg,\u0275\u0275pureFunction4:()=>Ig,\u0275\u0275pureFunction5:()=>Og,\u0275\u0275pureFunction6:()=>Ag,\u0275\u0275pureFunction7:()=>Tg,\u0275\u0275pureFunction8:()=>Sg,\u0275\u0275pureFunctionV:()=>Pg,\u0275\u0275queryRefresh:()=>Zg,\u0275\u0275reference:()=>Sf,\u0275\u0275resolveBody:()=>qd,\u0275\u0275resolveDocument:()=>Jd,\u0275\u0275resolveWindow:()=>Xd,\u0275\u0275restoreView:()=>ms,\u0275\u0275sanitizeHtml:()=>kd,\u0275\u0275sanitizeResourceUrl:()=>pl,\u0275\u0275sanitizeScript:()=>jd,\u0275\u0275sanitizeStyle:()=>Nd,\u0275\u0275sanitizeUrl:()=>fl,\u0275\u0275sanitizeUrlOrResourceUrl:()=>Ud,\u0275\u0275setComponentScope:()=>Ke,\u0275\u0275setNgModuleScope:()=>k,\u0275\u0275styleMap:()=>wr,\u0275\u0275styleMapInterpolate1:()=>Dp,\u0275\u0275styleMapInterpolate2:()=>Mp,\u0275\u0275styleMapInterpolate3:()=>wp,\u0275\u0275styleMapInterpolate4:()=>Ip,\u0275\u0275styleMapInterpolate5:()=>Op,\u0275\u0275styleMapInterpolate6:()=>Ap,\u0275\u0275styleMapInterpolate7:()=>Tp,\u0275\u0275styleMapInterpolate8:()=>Sp,\u0275\u0275styleMapInterpolateV:()=>Pp,\u0275\u0275styleProp:()=>Vc,\u0275\u0275stylePropInterpolate1:()=>Jc,\u0275\u0275stylePropInterpolate2:()=>qc,\u0275\u0275stylePropInterpolate3:()=>eu,\u0275\u0275stylePropInterpolate4:()=>tu,\u0275\u0275stylePropInterpolate5:()=>nu,\u0275\u0275stylePropInterpolate6:()=>iu,\u0275\u0275stylePropInterpolate7:()=>ru,\u0275\u0275stylePropInterpolate8:()=>su,\u0275\u0275stylePropInterpolateV:()=>ou,\u0275\u0275syntheticHostListener:()=>Tc,\u0275\u0275syntheticHostProperty:()=>lu,\u0275\u0275template:()=>Af,\u0275\u0275templateRefExtractor:()=>tm,\u0275\u0275text:()=>fp,\u0275\u0275textInterpolate:()=>zc,\u0275\u0275textInterpolate1:()=>Aa,\u0275\u0275textInterpolate2:()=>Wc,\u0275\u0275textInterpolate3:()=>$c,\u0275\u0275textInterpolate4:()=>Kc,\u0275\u0275textInterpolate5:()=>Gc,\u0275\u0275textInterpolate6:()=>Zc,\u0275\u0275textInterpolate7:()=>Qc,\u0275\u0275textInterpolate8:()=>Yc,\u0275\u0275textInterpolateV:()=>Xc,\u0275\u0275trustConstantHtml:()=>Bd,\u0275\u0275trustConstantResourceUrl:()=>Vd,\u0275\u0275viewQuery:()=>Qg});var a=g(7579),f=g(727),u=g(9751),X=g(6451),I=g(3099);function re(e){for(let t in e)if(e[t]===re)return t;throw Error("Could not find renamed property on target object.")}function pe(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ee(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ee).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 ce(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Z=re({__forward_ref__:re});function oe(e){return e.__forward_ref__=oe,e.toString=function(){return ee(this())},e}function C(e){return Y(e)?e():e}function Y(e){return"function"==typeof e&&e.hasOwnProperty(Z)&&e.__forward_ref__===oe}
1class se extends Error{constructor(t,n){super(function Ve(e,t){return`${e?`NG0${e}: `:""}${t}`}(t,n)),this.code=t}}function ke(e){return"string"==typeof e?e:null==e?"":String(e)}function $e(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ke(e)}function de(e,t){const n=t?` in ${t}`:"";throw new se("201",`No provider for ${$e(e)} found${n}`)}function we(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}function Be(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const R=Be;function le(e){return{providers:e.providers||[],imports:e.imports||[]}}function ge(e){return Qe(e,it)||Qe(e,vt)}function Qe(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ae(e){return e&&(e.hasOwnProperty(dt)||e.hasOwnProperty(Pt))?e[dt]:null}const it=re({\u0275prov:re}),dt=re({\u0275inj:re}),vt=re({ngInjectableDef:re}),Pt=re({ngInjectorDef:re});var De=(()=>((De=De||{})[De.Default=0]="Default",De[De.Host=1]="Host",De[De.Self=2]="Self",De[De.SkipSelf=4]="SkipSelf",De[De.Optional=8]="Optional",De))();let U;function P(e){const t=U;return U=e,t}function A(e,t,n){const i=ge(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&De.Optional?null:void 0!==t?t:void de(ee(e),"Injector")}function x(e){return{toString:e}.toString()}var ne=(()=>((ne=ne||{})[ne.OnPush=0]="OnPush",ne[ne.Default=1]="Default",ne))(),he=(()=>((he=he||{})[he.CheckOnce=0]="CheckOnce",he[he.Checked=1]="Checked",he[he.CheckAlways=2]="CheckAlways",he[he.Detached=3]="Detached",he[he.Errored=4]="Errored",he[he.Destroyed=5]="Destroyed",he))();function qe(e){return null==e||e===ne.Default}var nt=(()=>{return(e=nt||(nt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",nt;var e})();const ct="undefined"!=typeof globalThis&&globalThis,It="undefined"!=typeof window&&window,wt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Lt=ct||"undefined"!=typeof global&&global||It||wt,Ot={},kt=[],Rt=re({\u0275cmp:re}),Xe=re({\u0275dir:re}),J=re({\u0275pipe:re}),N=re({\u0275mod:re}),j=re({\u0275fac:re}),me=re({__NG_ELEMENT_ID__:re});let Se=0;function z(e){return x(()=>{const n={},i={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:n,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===ne.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||kt,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||nt.Emulated,id:"c",styles:e.styles||kt,_:null,setInput:null,schemas:e.schemas||null,tView:null},r=e.directives,s=e.features,d=e.pipes;return i.id+=Se++,i.inputs=G(e.inputs,n),i.outputs=G(e.outputs),s&&s.forEach(_=>_(i)),i.directiveDefs=r?()=>("function"==typeof r?r():r).map(y):null,i.pipeDefs=d?()=>("function"==typeof d?d():d).map(O):null,i})}function Ke(e,t,n){const i=e.\u0275cmp;i.directiveDefs=()=>t.map(y),i.pipeDefs=()=>n.map(O)}function y(e){return tt(e)||mt(e)}function O(e){return Nt(e)}const q={};function B(e){return x(()=>{const t={type:e.type,bootstrap:e.bootstrap||kt,declarations:e.declarations||kt,imports:e.imports||kt,exports:e.exports||kt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(q[e.id]=e.type),t})}function k(e,t){return x(()=>{const n=Zt(e,!0);n.declarations=t.declarations||kt,n.imports=t.imports||kt,n.exports=t.exports||kt})}function G(e,t){if(null==e)return Ot;const n={};for(const i in e)if(e.hasOwnProperty(i)){let r=e[i],s=r;Array.isArray(r)&&(s=r[1],r=r[0]),n[r]=i,t&&(t[r]=s)}return n}const H=z;function Ee(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function tt(e){return e[Rt]||null}function mt(e){return e[Xe]||null}function Nt(e){return e[J]||null}function Zt(e,t){const n=e[N]||null;if(!n&&!0===t)throw new Error(`Type ${ee(e)} does not have '\u0275mod' property.`);return n}function Fn(e){return Array.isArray(e)&&"object"==typeof e[1]}function Pn(e){return Array.isArray(e)&&!0===e[1]}function Fi(e){return 0!=(8&e.flags)}function bi(e){return 2==(2&e.flags)}function Xn(e){return 1==(1&e.flags)}function Rn(e){return null!==e.template}function Li(e){return 0!=(512&e[2])}function Jn(e,t){return e.hasOwnProperty(j)?e[j]:null}class rr{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function pi(){return ui}function ui(e){return e.type.prototype.ngOnChanges&&(e.setInput=Hi),Rr}function Rr(){const e=sr(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===Ot)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function Hi(e,t,n,i){const r=sr(e)||function or(e,t){return e[Ti]=t}(e,{previous:Ot,current:null}),s=r.current||(r.current={}),d=r.previous,_=this.declaredInputs[n],D=d[_];
1s[_]=new rr(D&&D.currentValue,t,d===Ot),e[i]=t}pi.ngInherit=!0;const Ti="__ngSimpleChanges__";function sr(e){return e[Ti]||null}let Si=null;const zi=e=>{Si=e},Gn=function(e,t,n){null!=Si&&Si(e,t,n)},Wi="http://www.w3.org/2000/svg",qn="http://www.w3.org/1998/MathML/";let _r;function Yr(e){_r=e}function Pi(){return void 0!==_r?_r:"undefined"!=typeof document?document:void 0}function mn(e){return!!e.listen}const Xr={createRenderer:(e,t)=>Pi()};function T(e){for(;Array.isArray(e);)e=e[0];return e}function c(e,t){return T(t[e])}function w(e,t){return T(t[e.index])}function et(e,t){return e.data[t]}function Et(e,t){return e[t]}function Ut(e,t){const n=t[e];return Fn(n)?n:n[0]}function dn(e){return 4==(4&e[2])}function hn(e){return 128==(128&e[2])}function _n(e,t){return null==t?null:e[t]}function gn(e){e[18]=0}function Ln(e,t){e[5]+=t;let n=e,i=e[3];for(;null!==i&&(1===t&&1===n[5]||-1===t&&0===n[5]);)i[5]+=t,n=i,i=i[3]}const Bt={lFrame:Ni(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Fr(){return Bt.bindingsEnabled}function Ki(){Bt.bindingsEnabled=!0}function Is(){Bt.bindingsEnabled=!1}function gt(){return Bt.lFrame.lView}function tn(){return Bt.lFrame.tView}function ms(e){return Bt.lFrame.contextLView=e,e[8]}function kn(){let e=Os();for(;null!==e&&64===e.type;)e=e.parent;return e}function Os(){return Bt.lFrame.currentTNode}function os(){const e=Bt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function V(e,t){const n=Bt.lFrame;n.currentTNode=e,n.isParent=t}function l(){return Bt.lFrame.isParent}function h(){Bt.lFrame.isParent=!1}function te(){return Bt.isInCheckNoChangesMode}function Ce(e){Bt.isInCheckNoChangesMode=e}function Me(){const e=Bt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ge(){return Bt.lFrame.bindingIndex}function ut(e){return Bt.lFrame.bindingIndex=e}function bt(){return Bt.lFrame.bindingIndex++}function Tt(e){const t=Bt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function sn(e){Bt.lFrame.inI18n=e}function Ht(e,t){const n=Bt.lFrame;n.bindingIndex=n.bindingRootIndex=e,rn(t)}function rn(e){Bt.lFrame.currentDirectiveIndex=e}function Mn(e){const t=Bt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function An(){return Bt.lFrame.currentQueryIndex}function Wn(e){Bt.lFrame.currentQueryIndex=e}function $n(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function vr(e,t,n){if(n&De.SkipSelf){let r=t,s=e;for(;!(r=r.parent,null!==r||n&De.Host||(r=$n(s),null===r||(s=s[15],10&r.type))););if(null===r)return!1;t=r,e=s}const i=Bt.lFrame=Zn();return i.currentTNode=t,i.lView=e,!0}function ei(e){const t=Zn(),n=e[1];Bt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Zn(){const e=Bt.lFrame,t=null===e?null:e.child;return null===t?Ni(e):t}function Ni(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 ji(){const e=Bt.lFrame;return Bt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Ei=ji;function Lr(){const e=ji();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 Qn(){return Bt.lFrame.selectedIndex}function Gi(e){Bt.lFrame.selectedIndex=e}function Dt(){const e=Bt.lFrame;return et(e.tView,e.selectedIndex)}function Vt(){Bt.lFrame.currentNamespace=Wi}function Xt(){Bt.lFrame.currentNamespace=qn}function Yt(){!function Bn(){Bt.lFrame.currentNamespace=null}()}function mi(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){const s=e.data[n].type.prototype,{ngAfterContentInit:d,ngAfterContentChecked:_,ngAfterViewInit:D,ngAfterViewChecked:L,ngOnDestroy:$}=s;d&&(e.contentHooks||(e.contentHooks=[])).push(-n,d),_&&((e.contentHooks||(e.contentHooks=[])).push(n,_),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,_)),D&&(e.viewHooks||(e.viewHooks=[])).push(-n,D),L&&((e.viewHooks||(e.viewHooks=[])).push(n,L),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,L)),null!=$&&(e.destroyHooks||(e.destroyHooks=[])).push(n,$)}}function pn(e,t,n){Cr(e,t,3,n)}function as(e,t,n,i){(3&e[2])===n&&Cr(e,t,n,i)}function Di(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Cr(e,t,n,i){const s=null!=i?i:-1,d=t.length-1;let _=0;for(let D=void 0!==i?65535&e[18]:0;D<d;D++)if("number"==typeof t[D+1]){if(_=t[D],null!=i&&_>=i)break}
1else t[D]<0&&(e[18]+=65536),(_<s||-1==s)&&(ls(e,n,t,D),e[18]=(4294901760&e[18])+D+2),D++}function ls(e,t,n,i){const r=n[i]<0,s=n[i+1],_=e[r?-n[i]:n[i]];if(r){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048,Gn(4,_,s);try{s.call(_)}finally{Gn(5,_,s)}}}else{Gn(4,_,s);try{s.call(_)}finally{Gn(5,_,s)}}}class lr{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function Ts(e,t,n){const i=mn(e);let r=0;for(;r<n.length;){const s=n[r];if("number"==typeof s){if(0!==s)break;r++;const d=n[r++],_=n[r++],D=n[r++];i?e.setAttribute(t,_,D,d):t.setAttributeNS(d,_,D)}else{const d=s,_=n[++r];Ss(d)?i&&e.setProperty(t,d,_):i?e.setAttribute(t,d,_):t.setAttribute(d,_),r++}}return r}function ta(e){return 3===e||4===e||6===e}function Ss(e){return 64===e.charCodeAt(0)}function Ps(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){const r=t[i];"number"==typeof r?n=r:0===n||na(e,n,r,null,-1===n||2===n?t[++i]:null)}}return e}function na(e,t,n,i,r){let s=0,d=e.length;if(-1===t)d=-1;else for(;s<e.length;){const _=e[s++];if("number"==typeof _){if(_===t){d=-1;break}if(_>t){d=s-1;break}}}for(;s<e.length;){const _=e[s];if("number"==typeof _)break;if(_===n){if(null===i)return void(null!==r&&(e[s+1]=r));if(i===e[s+1])return void(e[s+2]=r)}s++,null!==i&&s++,null!==r&&s++}-1!==d&&(e.splice(d,0,t),s=d+1),e.splice(s++,0,n),null!==i&&e.splice(s++,0,i),null!==r&&e.splice(s++,0,r)}function ia(e){return-1!==e}function kr(e){return 32767&e}function cs(e,t){let n=function Qa(e){return e>>16}(e),i=t;for(;n>0;)i=i[15],n--;return i}let Rs=!0;function xs(e){const t=Rs;return Rs=e,t}let m=0;function F(e,t){const n=ve(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,Q(i.data,e),Q(t,null),Q(i.blueprint,null));const r=Re(e,t),s=e.injectorIndex;if(ia(r)){const d=kr(r),_=cs(r,t),D=_[1].data;for(let L=0;L<8;L++)t[s+L]=_[d+L]|D[d+L]}return t[s+8]=r,s}function Q(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ve(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Re(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,r=t;for(;null!==r;){const s=r[1],d=s.type;if(i=2===d?s.declTNode:1===d?r[6]:null,null===i)return-1;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function at(e,t,n){!function S(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(me)&&(i=n[me]),null==i&&(i=n[me]=m++);const r=255&i;t.data[e+(r>>5)]|=1<<r}(e,t,n)}function an(e,t,n){if(n&De.Optional)return e;de(t,"NodeInjector")}function zt(e,t,n,i){if(n&De.Optional&&void 0===i&&(i=null),0==(n&(De.Self|De.Host))){const r=e[9],s=P(void 0);try{return r?r.get(t,i,n&De.Optional):A(t,i,n&De.Optional)}finally{P(s)}}return an(i,t,n)}function yn(e,t,n,i=De.Default,r){if(null!==e){const s=function Fs(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(me)?e[me]:void 0;return"number"==typeof t?t>=0?255&t:_s:t}(n);if("function"==typeof s){if(!vr(t,e,i))return i&De.Host?an(r,n,i):zt(t,n,i,r);try{const d=s(i);if(null!=d||i&De.Optional)return d;de(n)}finally{Ei()}}else if("number"==typeof s){let d=null,_=ve(e,t),D=-1,L=i&De.Host?t[16][6]:null;for((-1===_||i&De.SkipSelf)&&(D=-1===_?Re(e,t):t[_+8],-1!==D&&es(i,!1)?(d=t[1],_=kr(D),t=cs(D,t)):_=-1);-1!==_;){const $=t[1];if(cr(s,_,$.data)){const fe=Er(_,t,n,d,i,L);if(fe!==vn)return fe}D=t[_+8],-1!==D&&es(i,t[1].data[_+8]===L)&&cr(s,_,t)?(d=$,_=kr(D),t=cs(D,t)):_=-1}}}return zt(t,n,i,r)}const vn={};function _s(){return new us(kn(),gt())}function Er(e,t,n,i,r,s){const d=t[1],_=d.data[e+8],$=Bi(_,d,n,null==i?bi(_)&&Rs:i!=d&&0!=(3&_.type),r&De.Host&&s===_);return null!==$?Vi(t,d,$,_):vn}function Bi(e,t,n,i,r){const s=e.providerIndexes,d=t.data,_=1048575&s,D=e.directiveStart,$=s>>20,Pe=r?_+$:e.directiveEnd;for(let Ye=i?_:_+$;Ye<Pe;Ye++){const lt=d[Ye];if(Ye<D&&n===lt||Ye>=D&&lt.type===n)return Ye}if(r){const Ye=d[D];if(Ye&&Rn(Ye)&&Ye.type===n)return D}return null}function Vi(e,t,n,i){let r=e[n];const s=t.data;if(function yo(e){return e instanceof lr}(r)){const d=r;d.resolving&&function ot(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new se("200",`Circular dependency in DI detected for ${e}${n}`)}($e(s[n]));const _=xs(d.canSeeViewProviders);d.resolving=!0;const D=d.injectImpl?P(d.injectImpl):null;vr(e,i,De.Default);try{r=e[n]=d.factory(void 0,s,e,i),t.firstCreatePass&&n>=i.directiveStart&&function ti(e,t,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:s}=t.type.prototype;if(i){const d=ui(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,d),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,d)}r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,r),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s))}(n,s[n],t)}finally{null!==D&&P(D),xs(_),d.resolving=!1,Ei()}}return r}function cr(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function es(e,t){return!(e&De.Self||e&De.Host&&t)}class us{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return yn(this._tNode,this._lView,t,i,n)}}function ud(e){return x(()=>{const t=e.prototype.constructor,n=t[j]||Ya(t),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const s=r[j]||Ya(r);if(s&&s!==n)return s;r=Object.getPrototypeOf(r)}return s=>new s})}function Ya(e){return Y(e)?()=>{const t=Ya(C(e));return t&&t()}:Jn(e)}function Xa(e){return function xt(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const i=n.length;let r=0;for(;r<i;){const s=n[r];if(ta(s))break;if(0===s)r+=2;else if("number"==typeof s)for(r++;r<i&&"string"==typeof n[r];)r++;else{if(s===t)return n[r+1];r+=2}}}return null}(kn(),e)}const Ls="__annotations__",ks="__parameters__",Ns="__prop__metadata__";function js(e,t,n,i,r){return x(()=>{const s=Ja(t);function d(..._){if(this instanceof d)return s.call(this,..._),this;const D=new d(..._);return function($){return r&&r($,..._),($.hasOwnProperty(Ls)?$[Ls]:Object.defineProperty($,Ls,{value:[]})[Ls]).push(D),i&&i($),$}}return n&&(d.prototype=Object.create(n.prototype)),d.prototype.ngMetadataName=e,d.annotationCls=d,d})}function Ja(e){return function(...n){if(e){const i=e(...n);for(const r in i)this[r]=i[r]}}}function Bs(e,t,n){return x(()=>{const i=Ja(t);function r(...s){if(this instanceof r)return i.apply(this,s),this;const d=new r(...s);return _.annotation=d,_;function _(D,L,$){const fe=D.hasOwnProperty(ks)?D[ks]:Object.defineProperty(D,ks,{value:[]})[ks];for(;fe.length<=$;)fe.push(null);return(fe[$]=fe[$]||[]).push(d),D}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}function ds(e,t,n,i){return x(()=>{const r=Ja(t);function s(...d){if(this instanceof s)return r.apply(this,d),this;const _=new s(...d);return function D(L,$){const fe=L.constructor,Pe=fe.hasOwnProperty(Ns)?fe[Ns]:Object.defineProperty(fe,Ns,{value:{}})[Ns];Pe[$]=Pe.hasOwnProperty($)&&Pe[$]||[],Pe[$].unshift(_),i&&i(L,$,...d)}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}const dd=Bs("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>Xa(e)}));class Vn{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Be({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const a_=new Vn("AnalyzeForEntryComponents");class vo{}const l_=ds("ContentChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0},t),vo),c_=ds("ContentChild",(e,t={})=>Object.assign({selector:e,first:!0,isViewQuery:!1,descendants:!0},t),vo),u_=ds("ViewChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!0},t),vo),d_=ds("ViewChild",(e,t)=>Object.assign({selector:e,first:!0,isViewQuery:!0,descendants:!0},t),vo);var ii=(()=>((ii=ii||{}
1)[ii.Directive=0]="Directive",ii[ii.Component=1]="Component",ii[ii.Injectable=2]="Injectable",ii[ii.Pipe=3]="Pipe",ii[ii.NgModule=4]="NgModule",ii))();function ri(e){const t=Lt.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const ra=Function;function bo(e){return"function"==typeof e}function ur(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let i=e[n];Array.isArray(i)?(t===e&&(t=e.slice(0,n)),ur(i,t)):t!==e&&t.push(i)}return t}function Nr(e,t){e.forEach(n=>Array.isArray(n)?Nr(n,t):t(n))}function fd(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function sa(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Co(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}function Qi(e,t,n){let i=Vs(e,t);return i>=0?e[1|i]=n:(i=~i,function p_(e,t,n,i){let r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function qa(e,t){const n=Vs(e,t);if(n>=0)return e[1|n]}function Vs(e,t){return function md(e,t,n){let i=0,r=e.length>>n;for(;r!==i;){const s=i+(r-i>>1),d=e[s<<n];if(t===d)return s<<n;d>t?r=s:i=s+1}return~(r<<n)}(e,t,1)}const g_=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,m_=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,__=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,y_=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s*super\(\.\.\.arguments\)/;class el{constructor(t){this._reflect=t||Lt.Reflect}isReflectionEnabled(){return!0}factory(t){return(...n)=>new t(...n)}_zipTypesAndAnnotations(t,n){let i;i=Co(void 0===t?n.length:t.length);for(let r=0;r<i.length;r++)i[r]=void 0===t?[]:t[r]&&t[r]!=Object?[t[r]]:[],n&&null!=n[r]&&(i[r]=i[r].concat(n[r]));return i}_ownParameters(t,n){if(function v_(e){return g_.test(e)||y_.test(e)||m_.test(e)&&!__.test(e)}(t.toString()))return null;if(t.parameters&&t.parameters!==n.parameters)return t.parameters;const r=t.ctorParameters;if(r&&r!==n.ctorParameters){const _="function"==typeof r?r():r,D=_.map($=>$&&$.type),L=_.map($=>$&&tl($.decorators));return this._zipTypesAndAnnotations(D,L)}const s=t.hasOwnProperty(ks)&&t[ks],d=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return d||s?this._zipTypesAndAnnotations(d,s):Co(t.length)}parameters(t){if(!bo(t))return[];const n=oa(t);let i=this._ownParameters(t,n);return!i&&n!==Object&&(i=this.parameters(n)),i||[]}_ownAnnotations(t,n){if(t.annotations&&t.annotations!==n.annotations){let i=t.annotations;return"function"==typeof i&&i.annotations&&(i=i.annotations),i}return t.decorators&&t.decorators!==n.decorators?tl(t.decorators):t.hasOwnProperty(Ls)?t[Ls]:null}annotations(t){if(!bo(t))return[];const n=oa(t),i=this._ownAnnotations(t,n)||[];return(n!==Object?this.annotations(n):[]).concat(i)}_ownPropMetadata(t,n){if(t.propMetadata&&t.propMetadata!==n.propMetadata){let i=t.propMetadata;return"function"==typeof i&&i.propMetadata&&(i=i.propMetadata),i}if(t.propDecorators&&t.propDecorators!==n.propDecorators){const i=t.propDecorators,r={};
1return Object.keys(i).forEach(s=>{r[s]=tl(i[s])}),r}return t.hasOwnProperty(Ns)?t[Ns]:null}propMetadata(t){if(!bo(t))return{};const n=oa(t),i={};if(n!==Object){const s=this.propMetadata(n);Object.keys(s).forEach(d=>{i[d]=s[d]})}const r=this._ownPropMetadata(t,n);return r&&Object.keys(r).forEach(s=>{const d=[];i.hasOwnProperty(s)&&d.push(...i[s]),d.push(...r[s]),i[s]=d}),i}ownPropMetadata(t){return bo(t)&&this._ownPropMetadata(t,oa(t))||{}}hasLifecycleHook(t,n){return t instanceof ra&&n in t.prototype}guards(t){return{}}getter(t){return new Function("o","return o."+t+";")}setter(t){return new Function("o","v","return o."+t+" = v;")}method(t){return new Function("o","args",`if (!o.${t}) throw new Error('"${t}" is undefined');\n        return o.${t}.apply(o, args);`)}importUri(t){return"object"==typeof t&&t.filePath?t.filePath:`./${ee(t)}`}resourceUri(t){return`./${ee(t)}`}resolveIdentifier(t,n,i,r){return r}resolveEnum(t,n){return t[n]}}function tl(e){return e?e.map(t=>new(0,t.type.annotationCls)(...t.args?t.args:[])):[]}function oa(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}const hs={},nl="__NG_DI_FLAG__",aa="ngTempTokenPath",C_=/\n/gm,_d="__source",D_=re({provide:String,useValue:re});let Eo;function il(e){const t=Eo;return Eo=e,t}function M_(e,t=De.Default){if(void 0===Eo)throw new Error("inject() must be called from an injection context");return null===Eo?A(e,void 0,t):Eo.get(e,t&De.Optional?null:void 0,t)}function di(e,t=De.Default){return(function ie(){return U}()||M_)(C(e),t)}function rl(e){throw new Error("invalid")}const w_=di;function sl(e){const t=[];for(let n=0;n<e.length;n++){const i=C(e[n]);if(Array.isArray(i)){if(0===i.length)throw new Error("Arguments array must have arguments.");let r,s=De.Default;for(let d=0;d<i.length;d++){const _=i[d],D=I_(_);"number"==typeof D?-1===D?r=_.token:s|=D:r=_}t.push(di(r,s))}else t.push(di(i))}return t}function Do(e,t){return e[nl]=t,e.prototype[nl]=t,e}function I_(e){return e[nl]}const Mo=Do(Bs("Inject",e=>({token:e})),-1),ys=Do(Bs("Optional"),8),la=Do(Bs("Self"),2),vs=Do(Bs("SkipSelf"),4),yd=Do(Bs("Host"),1);let vd=null;function ol(){return vd=vd||new el}function ca(e){return bd(ol().parameters(e))}function bd(e){return e.map(t=>function T_(e){const t={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(let n=0;n<e.length;n++){const i=e[n];if(void 0===i)continue;const r=Object.getPrototypeOf(i);if(i instanceof ys||"Optional"===r.ngMetadataName)t.optional=!0;else if(i instanceof vs||"SkipSelf"===r.ngMetadataName)t.skipSelf=!0;else if(i instanceof la||"Self"===r.ngMetadataName)t.self=!0;else if(i instanceof yd||"Host"===r.ngMetadataName)t.host=!0;else if(i instanceof Mo)t.token=i.token;else if(i instanceof dd){if(void 0===i.attributeName)throw new Error("Attribute name must be defined.");t.attribute=i.attributeName}else t.token=i}else t.token=void 0===e||Array.isArray(e)&&0===e.length?null:e;return t}(t))}function Cd(e){const t=[],n=new Map;function i(r){let s=n.get(r);if(!s){const d=e(r);n.set(r,s=d.then(R_))}return s}return Us.forEach((r,s)=>{const d=[];r.templateUrl&&d.push(i(r.templateUrl).then(fe=>{r.template=fe}));const _=r.styleUrls,D=r.styles||(r.styles=[]),L=r.styles.length;_&&_.forEach((fe,Pe)=>{D.push(""),d.push(i(fe).then(Ye=>{D[L+Pe]=Ye,_.splice(_.indexOf(fe),1),0==_.length&&(r.styleUrls=void 0)}))});const $=Promise.all(d).then(()=>function x_(e){wo.delete(e)}(s));t.push($)}),Dd(),Promise.all(t).then(()=>{})}let Us=new Map;const wo=new Set;function Ed(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length)}function Dd(){const e=Us;return Us=new Map,e}function R_(e){return"string"==typeof e?e:e.text()}let ua,da;function al(){if(void 0===ua&&(ua=null,Lt.trustedTypes))try{ua=Lt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return ua}function Hs(e){var t;return(null===(t=al())||void 0===t?void 0:t.createHTML(e))||e}function ll(){if(void 0===da&&(da=null,Lt.trustedTypes))try{da=Lt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return da}function Md(e){var t;return(null===(t=ll())||void 0===t?void 0:t.createHTML(e))||e}function wd(e){var t;return(null===(t=ll())||void 0===t?void 0:t.createScript(e))||e}function Id(e){var t;return(null===(t=ll())||void 0===t?void 0:t.createScriptURL(e))||e}class bs{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class k_ extends bs{getTypeName(){return"HTML"}}class N_ extends bs{getTypeName(){return"Style"}}
1class j_ extends bs{getTypeName(){return"Script"}}class B_ extends bs{getTypeName(){return"URL"}}class V_ extends bs{getTypeName(){return"ResourceURL"}}function ts(e){return e instanceof bs?e.changingThisBreaksApplicationSecurity:e}function zs(e,t){const n=Od(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 Od(e){return e instanceof bs&&e.getTypeName()||null}function U_(e){return new k_(e)}function H_(e){return new N_(e)}function z_(e){return new j_(e)}function W_(e){return new B_(e)}function $_(e){return new V_(e)}function Ad(e){const t=new G_(e);return function Z_(){try{return!!(new window.DOMParser).parseFromString(Hs(""),"text/html")}catch(e){return!1}}()?new K_(t):t}class K_{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Hs(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch(n){return null}}}class G_{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const i=this.inertDocument.createElement("body");n.appendChild(i)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=Hs(t),n;const i=this.inertDocument.createElement("body");return i.innerHTML=Hs(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const n=t.attributes;for(let r=n.length-1;0<r;r--){const d=n.item(r).name;("xmlns:ns1"===d||0===d.indexOf("ns1:"))&&t.removeAttribute(d)}let i=t.firstChild;for(;i;)i.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(i),i=i.nextSibling}}const Q_=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,Y_=/^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 Io(e){return(e=String(e)).match(Q_)||e.match(Y_)?e:"unsafe:"+e}function Td(e){return(e=String(e)).split(",").map(t=>Io(t.trim())).join(", ")}function jr(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Oo(...e){const t={};for(const n of e)for(const i in n)n.hasOwnProperty(i)&&(t[i]=!0);return t}const Sd=jr("area,br,col,hr,img,wbr"),Pd=jr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Rd=jr("rp,rt"),cl=Oo(Sd,Oo(Pd,jr("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")),Oo(Rd,jr("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")),Oo(Rd,Pd)),ul=jr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),dl=jr("srcset"),xd=Oo(ul,dl,jr("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),jr("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")),X_=jr("script,style,template");class J_{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,i=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?i=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,i&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let r=this.checkClobberedElement(n,n.nextSibling);if(r){n=r;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!cl.hasOwnProperty(n))return this.sanitizedSomething=!0,!X_.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const i=t.attributes;for(let r=0;r<i.length;r++){const s=i.item(r),d=s.name,_=d.toLowerCase();if(!xd.hasOwnProperty(_)){this.sanitizedSomething=!0;continue}let D=s.value;ul[_]&&(D=Io(D)),dl[_]&&(D=Td(D)),this.buf.push(" ",d,'="',Fd(D),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();cl.hasOwnProperty(n)&&!Sd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Fd(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const q_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ey=/([^\#-~ |!])/g;function Fd(e){return e.replace(/&/g,"&amp;").replace(q_,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(ey,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let ha;function Ld(e,t){let n=null;try{ha=ha||Ad(e);let i=t?String(t):"";n=ha.getInertBodyElement(i);let r=5,s=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=s,s=n.innerHTML,n=ha.getInertBodyElement(i)}while(i!==s);return Hs((new J_).sanitizeChildren(hl(n)||n))}finally{if(n){const i=hl(n)||n;for(;i.firstChild;)i.removeChild(i.firstChild)}}}
1function hl(e){return"content"in e&&function ty(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Kn=(()=>((Kn=Kn||{})[Kn.NONE=0]="NONE",Kn[Kn.HTML=1]="HTML",Kn[Kn.STYLE=2]="STYLE",Kn[Kn.SCRIPT=3]="SCRIPT",Kn[Kn.URL=4]="URL",Kn[Kn.RESOURCE_URL=5]="RESOURCE_URL",Kn))();function kd(e){const t=Ao();return t?Md(t.sanitize(Kn.HTML,e)||""):zs(e,"HTML")?Md(ts(e)):Ld(Pi(),ke(e))}function Nd(e){const t=Ao();return t?t.sanitize(Kn.STYLE,e)||"":zs(e,"Style")?ts(e):ke(e)}function fl(e){const t=Ao();return t?t.sanitize(Kn.URL,e)||"":zs(e,"URL")?ts(e):Io(ke(e))}function pl(e){const t=Ao();if(t)return Id(t.sanitize(Kn.RESOURCE_URL,e)||"");if(zs(e,"ResourceURL"))return Id(ts(e));throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)")}function jd(e){const t=Ao();if(t)return wd(t.sanitize(Kn.SCRIPT,e)||"");if(zs(e,"Script"))return wd(ts(e));throw new Error("unsafe value used in a script context")}function Bd(e){return Hs(e[0])}function Vd(e){return function L_(e){var t;return(null===(t=al())||void 0===t?void 0:t.createScriptURL(e))||e}(e[0])}function Ud(e,t,n){return function ny(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?pl:fl}(t,n)(e)}function Ao(){const e=gt();return e&&e[12]}function Mi(e){let t=To(e);if(t){if(Array.isArray(t)){const n=t;let i,r,s;if(function iy(e){return e&&e.constructor&&e.constructor.\u0275cmp}(e)){if(i=$d(n,e),-1==i)throw new Error("The provided component was not found in the application");r=e}else if(function ry(e){return e&&e.constructor&&e.constructor.\u0275dir}(e)){if(i=function oy(e,t){let n=e[1].firstChild;for(;n;){const r=n.directiveEnd;for(let s=n.directiveStart;s<r;s++)if(e[s]===t)return n.index;n=sy(n)}return-1}(n,e),-1==i)throw new Error("The provided directive was not found in the application");s=Kd(i,n,!1)}else if(i=Wd(n,e),-1==i)return null;const d=T(n[i]),_=To(d),D=_&&!Array.isArray(_)?_:gl(n,i,d);if(r&&void 0===D.component&&(D.component=r,wi(D.component,D)),s&&void 0===D.directives){D.directives=s;for(let L=0;L<s.length;L++)wi(s[L],D)}wi(D.native,D),t=D}}else{const n=e;let i=n;for(;i=i.parentNode;){const r=To(i);if(r){let s;if(s=Array.isArray(r)?r:r.lView,!s)return null;const d=Wd(s,n);if(d>=0){const _=T(s[d]),D=gl(s,d,_);wi(_,D),t=D;break}}}}return t||null}function gl(e,t,n){return{lView:e,nodeIndex:t,native:n,component:void 0,directives:void 0,localRefs:void 0}}function Hd(e){let n,t=To(e);if(Array.isArray(t)){const i=$d(t,e);n=Ut(i,t);const r=gl(t,i,n[0]);r.component=e,wi(e,r),wi(r.native,r)}else n=Ut(t.nodeIndex,t.lView);return n}const zd="__ngContext__";function wi(e,t){e[zd]=t}function To(e){return e[zd]||null}function ml(e){const t=To(e);return t?Array.isArray(t)?t:t.lView:null}function Wd(e,t){const n=e[1];for(let i=20;i<n.bindingStartIndex;i++)if(T(e[i])===t)return i;return-1}function sy(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 $d(e,t){const n=e[1].components;if(n)for(let i=0;i<n.length;i++){const r=n[i];if(Ut(r,e)[8]===t)return r}else if(Ut(20,e)[8]===t)return 20;return-1}function Kd(e,t,n){const i=t[1].data[e];let r=i.directiveStart;return 0==r?kt:(!n&&2&i.flags&&r++,t.slice(r,i.directiveEnd))}const _l="ngOriginalError";function yl(e){return e[_l]}function fy(e,...t){e.error(...t)}class So{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),i=function hy(e){return e&&e.ngErrorLogger||fy}(t);i(this._console,"ERROR",t),n&&i(this._console,"ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&yl(t);for(;n&&yl(n);)n=yl(n);return n||null}}const Gd={name:"custom-elements"},Zd={name:"no-errors-schema"},py=/^>|^->|<!--|-->|--!>|<!-$/g,gy=/(<|>)/;const Yd=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Lt))();function Xd(e){return e.ownerDocument.defaultView}function Jd(e){return e.ownerDocument}function qd(e){return e.ownerDocument.body}function Br(e){return e instanceof Function?e():e}var Vr=(()=>((Vr=Vr||{})[Vr.Important=1]="Important",Vr[Vr.DashCase=2]="DashCase",Vr))();let vl;function bl(e,t){return vl(e,t)}function Po(e){const t=e[3];return Pn(t)?t[3]:t}function ih(e){return function nh(e){let t=Fn(e)?e:ml(e);for(;t&&!(512&t[2]);)t=Po(t);return t}(e)[8]}function Cl(e){return rh(e[13])}function El(e){return rh(e[4])}function rh(e){for(;null!==e&&!Pn(e);)e=e[4];return e}function $s(e,t,n,i,r){if(null!=i){let s,d=!1;Pn(i)?s=i:Fn(i)&&(d=!0,i=i[0]);const _=T(i);0===e&&null!==n?null==r?uh(t,n,_):Cs(t,n,_,r||null,!0):1===e&&null!==n?Cs(t,n,_,r||null,!0):2===e?_h(t,_,d):3===e&&t.destroyNode(_),null!=s&&function Fy(e,t,n,i,r){const s=n[7];s!==T(n)&&$s(t,e,i,s,r);for(let _=10;_<n.length;_++){const D=n[_];Ro(D[1],D,e,t,i,s)}}(t,e,s,n,r)}}function Dl(e,t){return mn(e)?e.createText(t):e.createTextNode(t)}
1function sh(e,t,n){mn(e)?e.setValue(t,n):t.textContent=n}function Ey(e,t){return e.createComment(function Qd(e){return e.replace(py,t=>t.replace(gy,"\u200b$1\u200b"))}(t))}function Ml(e,t,n){return mn(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function oh(e,t){const n=e[9],i=n.indexOf(t),r=t[3];1024&t[2]&&(t[2]&=-1025,Ln(r,-1)),n.splice(i,1)}function wl(e,t){if(e.length<=10)return;const n=10+t,i=e[n];if(i){const r=i[17];null!==r&&r!==e&&oh(r,i),t>0&&(e[n-1][4]=i[4]);const s=sa(e,10+t);!function Dy(e,t){Ro(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(i[1],i);const d=s[19];null!==d&&d.detachView(s[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}function ah(e,t){if(!(256&t[2])){const n=t[11];mn(n)&&n.destroyNode&&Ro(e,t,n,3,null,null),function Iy(e){let t=e[13];if(!t)return Il(e[1],e);for(;t;){let n=null;if(Fn(t))n=t[13];else{const i=t[10];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)Fn(t)&&Il(t[1],t),t=t[3];null===t&&(t=e),Fn(t)&&Il(t[1],t),n=t&&t[4]}t=n}}(t)}}function Il(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function Sy(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i<n.length;i+=2){const r=t[n[i]];if(!(r instanceof lr)){const s=n[i+1];if(Array.isArray(s))for(let d=0;d<s.length;d+=2){const _=r[s[d]],D=s[d+1];Gn(4,_,D);try{D.call(_)}finally{Gn(5,_,D)}}else{Gn(4,r,s);try{s.call(r)}finally{Gn(5,r,s)}}}}}(e,t),function Ty(e,t){const n=e.cleanup,i=t[7];let r=-1;if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const d=n[s+1],_="function"==typeof d?d(t):T(t[d]),D=i[r=n[s+2]],L=n[s+3];"boolean"==typeof L?_.removeEventListener(n[s],D,L):L>=0?i[r=L]():i[r=-L].unsubscribe(),s+=2}else{const d=i[r=n[s+1]];n[s].call(d)}if(null!==i){for(let s=r+1;s<i.length;s++)i[s]();t[7]=null}}(e,t),1===t[1].type&&mn(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&Pn(t[3])){n!==t[3]&&oh(n,t);const i=t[19];null!==i&&i.detachView(e)}}}function lh(e,t,n){return ch(e,t.parent,n)}function ch(e,t,n){let i=t;for(;null!==i&&40&i.type;)i=(t=i).parent;if(null===i)return n[0];if(2&i.flags){const r=e.data[i.directiveStart].encapsulation;if(r===nt.None||r===nt.Emulated)return null}return w(i,n)}function Cs(e,t,n,i,r){mn(e)?e.insertBefore(t,n,i,r):t.insertBefore(n,i,r)}function uh(e,t,n){mn(e)?e.appendChild(t,n):t.appendChild(n)}function dh(e,t,n,i,r){null!==i?Cs(e,t,n,i,r):uh(e,t,n)}function fa(e,t){return mn(e)?e.parentNode(t):t.parentNode}function hh(e,t,n){return ph(e,t,n)}function fh(e,t,n){return 40&e.type?w(e,n):null}let Ol,ph=fh;function gh(e,t){ph=e,Ol=t}function pa(e,t,n,i){const r=lh(e,i,t),s=t[11],_=hh(i.parent||t[6],i,t);if(null!=r)if(Array.isArray(n))for(let D=0;D<n.length;D++)dh(s,r,n[D],_,!1);else dh(s,r,n,_,!1);void 0!==Ol&&Ol(s,i,t,n,r)}function ga(e,t){if(null!==t){const n=t.type;if(3&n)return w(t,e);if(4&n)return Al(-1,e[t.index]);if(8&n){const i=t.child;if(null!==i)return ga(e,i);{const r=e[t.index];return Pn(r)?Al(-1,r):T(r)}}if(32&n)return bl(t,e)()||T(e[t.index]);{const i=mh(e,t);return null!==i?Array.isArray(i)?i[0]:ga(Po(e[16]),i):ga(e,t.next)}}return null}function mh(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Al(e,t){const n=10+e+1;if(n<t.length){const i=t[n],r=i[1].firstChild;if(null!==r)return ga(i,r)}return t[7]}function _h(e,t,n){const i=fa(e,t);i&&function Py(e,t,n,i){mn(e)?e.removeChild(t,n,i):t.removeChild(n)}(e,i,t,n)}function Tl(e,t,n,i,r,s,d){for(;null!=n;){const _=i[n.index],D=n.type;if(d&&0===t&&(_&&wi(T(_),i),n.flags|=4),64!=(64&n.flags))if(8&D)Tl(e,t,n.child,i,r,s,!1),$s(t,e,r,_,s);else if(32&D){const L=bl(n,i);let $;for(;$=L();)$s(t,e,r,$,s);$s(t,e,r,_,s)}else 16&D?yh(e,t,i,n,r,s):$s(t,e,r,_,s);n=d?n.projectionNext:n.next}}function Ro(e,t,n,i,r,s){Tl(n,i,e.firstChild,t,r,s,!1)}function yh(e,t,n,i,r,s){const d=n[16],D=d[6].projection[i.projection];if(Array.isArray(D))for(let L=0;L<D.length;L++)$s(t,e,r,D[L],s);else Tl(e,t,D,d[3],r,s,!0)}function vh(e,t,n){mn(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function Sl(e,t,n){mn(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function bh(e,t,n){let i=e.length;for(;;){const r=e.indexOf(t,n);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){const s=t.length;if(r+s===i||e.charCodeAt(r+s)<=32)return r}n=r+1}}const Ch="ng-template";function ky(e,t,n){let i=0;for(;i<e.length;){let r=e[i++];if(n&&"class"===r){if(r=e[i],-1!==bh(r.toLowerCase(),t,0))return!0}else if(1===r){for(;i<e.length&&"string"==typeof(r=e[i++]);)if(r.toLowerCase()===t)return!0;return!1}}return!1}function Eh(e){return 4===e.type&&e.value!==Ch}function Ny(e,t,n){return t===(4!==e.type||n?e.value:Ch)}function jy(e,t,n){let i=4;const r=e.attrs||[],s=function Uy(e){for(let t=0;t<e.length;t++)if(ta(e[t]))return t;return e.length}(r);let d=!1;for(let _=0;_<t.length;_++){const D=t[_];if("number"!=typeof D){if(!d)if(4&i){if(i=2|1&i,""!==D&&!Ny(e,D,n)||""===D&&1===t.length){if(Dr(i))return!1;d=!0}}else{const L=8&i?D:t[++_];if(8&i&&null!==e.attrs){if(!ky(e.attrs,L,n)){if(Dr(i))return!1;d=!0}continue}const fe=By(8&i?"class":D,r,Eh(e),n);if(-1===fe){if(Dr(i))return!1;d=!0;continue}if(""!==L){let Pe;Pe=fe>s?"":r[fe+1].toLowerCase();const Ye=8&i?Pe:null;if(Ye&&-1!==bh(Ye,L,0)||2&i&&L!==Pe){if(Dr(i))return!1;d=!0}}}}
vendor: 3,069 bytes, line 1
1else{if(!d&&!Dr(i)&&!Dr(D))return!1;if(d&&Dr(D))continue;d=!1,i=D|1&i}}return Dr(i)||d}function Dr(e){return 0==(1&e)}function By(e,t,n,i){if(null===t)return-1;let r=0;if(i||!n){let s=!1;for(;r<t.length;){const d=t[r];if(d===e)return r;if(3===d||6===d)s=!0;else{if(1===d||2===d){let _=t[++r];for(;"string"==typeof _;)_=t[++r];continue}if(4===d)break;if(0===d){r+=4;continue}}r+=s?1:2}return-1}return function Hy(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const i=e[n];if("number"==typeof i)return-1;if(i===t)return n;n++}return-1}(t,e)}function Dh(e,t,n=!1){for(let i=0;i<t.length;i++)if(jy(e,t[i],n))return!0;return!1}function zy(e,t){e:for(let n=0;n<t.length;n++){const i=t[n];if(e.length===i.length){for(let r=0;r<e.length;r++)if(e[r]!==i[r])continue e;return!0}}return!1}function Mh(e,t){return e?":not("+t.trim()+")":t}function Wy(e){let t=e[0],n=1,i=2,r="",s=!1;for(;n<e.length;){let d=e[n];if("string"==typeof d)if(2&i){const _=e[++n];r+="["+d+(_.length>0?'="'+_+'"':"")+"]"}else 8&i?r+="."+d:4&i&&(r+=" "+d);else""!==r&&!Dr(d)&&(t+=Mh(s,r),r=""),i=d,s=s||!Dr(i);n++}return""!==r&&(t+=Mh(s,r)),t}const en={};function wh(e){Ih(tn(),gt(),Qn()+e,te())}function Ih(e,t,n,i){if(!i)if(3==(3&t[2])){const s=e.preOrderCheckHooks;null!==s&&pn(t,s,n)}else{const s=e.preOrderHooks;null!==s&&as(t,s,0,n)}Gi(n)}function ma(e,t){return e<<17|t<<2}function Mr(e){return e>>17&32767}function Pl(e){return 2|e}function ns(e){return(131068&e)>>2}function Rl(e,t){return-131069&e|t<<2}function xl(e){return 1|e}const Ul=(()=>Promise.resolve(null))();function Nh(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const r=n[i],s=n[i+1];if(-1!==s){const d=e.data[s];Wn(r),d.contentQueries(2,t[s],s)}}}function xo(e,t,n,i,r,s,d,_,D,L){const $=t.blueprint.slice();return $[0]=r,$[2]=140|i,gn($),$[3]=$[15]=e,$[8]=n,$[10]=d||e&&e[10],$[11]=_||e&&e[11],$[12]=D||e&&e[12]||null,$[9]=L||e&&e[9]||null,$[6]=s,$[16]=2==t.type?e[16]:$,$}function Ks(e,t,n,i,r){let s=e.data[t];if(null===s)s=Hl(e,t,n,i,r),function qt(){return Bt.lFrame.inI18n}()&&(s.flags|=64);else if(64&s.type){s.type=n,s.value=i,s.attrs=r;const d=os();s.injectorIndex=null===d?-1:d.injectorIndex}return V(s,!0),s}function Hl(e,t,n,i,r){const s=Os(),d=l(),D=e.data[t]=function lv(e,t,n,i,r,s){return{type:n,index:i,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:r,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,d?s:s&&s.parent,n,t,i,r);return null===e.firstChild&&(e.firstChild=D),null!==s&&(d?null==s.child&&null!==D.parent&&(s.child=D):null===s.next&&(s.next=D)),D}function Gs(e,t,n,i){if(0===n)return-1;const r=t.length;for(let s=0;s<n;s++)t.push(i),e.blueprint.push(i),e.data.push(null);return r}
1function Fo(e,t,n){ei(t);try{const i=e.viewQuery;null!==i&&Xl(1,i,n);const r=e.template;null!==r&&jh(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Nh(e,t),e.staticViewQueries&&Xl(2,e.viewQuery,n);const s=e.components;null!==s&&function sv(e,t){for(let n=0;n<t.length;n++)Iv(e,t[n])}(t,s)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[2]&=-5,Lr()}}function Zs(e,t,n,i){const r=t[2];if(256==(256&r))return;ei(t);const s=te();try{gn(t),ut(e.bindingStartIndex),null!==n&&jh(e,t,n,2,i);const d=3==(3&r);if(!s)if(d){const L=e.preOrderCheckHooks;null!==L&&pn(t,L,null)}else{const L=e.preOrderHooks;null!==L&&as(t,L,0,null),Di(t,0)}if(function Mv(e){for(let t=Cl(e);null!==t;t=El(t)){if(!t[2])continue;const n=t[9];for(let i=0;i<n.length;i++){const r=n[i],s=r[3];0==(1024&r[2])&&Ln(s,1),r[2]|=1024}}}(t),function Dv(e){for(let t=Cl(e);null!==t;t=El(t))for(let n=10;n<t.length;n++){const i=t[n],r=i[1];hn(i)&&Zs(r,i,r.template,i[8])}}(t),null!==e.contentQueries&&Nh(e,t),!s)if(d){const L=e.contentCheckHooks;null!==L&&pn(t,L)}else{const L=e.contentHooks;null!==L&&as(t,L,1),Di(t,1)}!function iv(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let i=0;i<n.length;i++){const r=n[i];if(r<0)Gi(~r);else{const s=r,d=n[++i],_=n[++i];Ht(d,s),_(2,t[s])}}}finally{Gi(-1)}}(e,t);const _=e.components;null!==_&&function rv(e,t){for(let n=0;n<t.length;n++)wv(e,t[n])}(t,_);const D=e.viewQuery;if(null!==D&&Xl(2,D,i),!s)if(d){const L=e.viewCheckHooks;null!==L&&pn(t,L)}else{const L=e.viewHooks;null!==L&&as(t,L,2),Di(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),s||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Ln(t[3],-1))}finally{Lr()}}function ov(e,t,n,i){const r=t[10],s=!te(),d=dn(t);try{s&&!d&&r.begin&&r.begin(),d&&Fo(e,t,i),Zs(e,t,n,i)}finally{s&&!d&&r.end&&r.end()}}function jh(e,t,n,i,r){const s=Qn(),d=2&i;try{Gi(-1),d&&t.length>20&&Ih(e,t,20,te()),Gn(d?2:0,r),n(i,r)}finally{Gi(s),Gn(d?3:1,r)}}function Bh(e,t,n){if(Fi(t)){const r=t.directiveEnd;for(let s=t.directiveStart;s<r;s++){const d=e.data[s];d.contentQueries&&d.contentQueries(1,n[s],s)}}}function zl(e,t,n){!Fr()||(function gv(e,t,n,i){const r=n.directiveStart,s=n.directiveEnd;e.firstCreatePass||F(n,t),wi(i,t);const d=n.initialInputs;for(let _=r;_<s;_++){const D=e.data[_],L=Rn(D);L&&bv(t,n,D);const $=Vi(t,e,_,n);wi($,t),null!==d&&Cv(0,_-r,$,D,0,d),L&&(Ut(n.index,t)[8]=$)}}(e,t,n,w(n,t)),128==(128&n.flags)&&function mv(e,t,n){const i=n.directiveStart,r=n.directiveEnd,d=n.index,_=function Jt(){return Bt.lFrame.currentDirectiveIndex}();try{Gi(d);for(let D=i;D<r;D++){const L=e.data[D],$=t[D];rn(D),(null!==L.hostBindings||0!==L.hostVars||null!==L.hostAttrs)&&Gh(L,$)}}finally{Gi(-1),rn(_)}}(e,t,n))}function Wl(e,t,n=w){const i=t.localNames;if(null!==i){let r=t.index+1;for(let s=0;s<i.length;s+=2){const d=i[s+1],_=-1===d?n(t,e):e[d];e[r++]=_}}}function Vh(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=va(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function va(e,t,n,i,r,s,d,_,D,L){const $=20+i,fe=$+r,Pe=function av(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:en);return n}($,fe),Ye="function"==typeof L?L():L;return Pe[1]={type:e,blueprint:Pe,template:n,queries:null,viewQuery:_,declTNode:t,data:Pe.slice().fill(null,$),bindingStartIndex:$,expandoStartIndex:fe,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 d?d():d,firstChild:null,schemas:D,consts:Ye,incompleteFirstPass:!1}}function Hh(e,t,n){if(mn(e))return e.selectRootElement(t,n===nt.ShadowDom);let i="string"==typeof t?e.querySelector(t):t;return i.textContent="",i}function zh(e,t,n,i){const r=qh(t);null===n?r.push(i):(r.push(n),e.firstCreatePass&&ef(e).push(i,r.length-1))}function Wh(e,t,n){for(let i in e)if(e.hasOwnProperty(i)){const r=e[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(t,r):n[i]=[t,r]}return n}function Yi(e,t,n,i,r,s,d,_){const D=w(t,n);let $,L=t.inputs;!_&&null!=L&&($=L[i])?(rf(e,n,$,i,r),bi(t)&&function dv(e,t){const n=Ut(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(i=function uv(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),r=null!=d?d(r,t.value||"",i):r,mn(s)?s.setProperty(D,i,r):Ss(i)||(D.setProperty?D.setProperty(i,r):D[i]=r))}function $l(e,t,n,i){let r=!1;if(Fr()){const s=function _v(e,t,n){const i=e.directiveRegistry;let r=null;if(i)for(let s=0;s<i.length;s++){const d=i[s];Dh(n,d.selectors,!1)&&(r||(r=[]),at(F(n,t),e,d.type),Rn(d)?(Zh(e,n),r.unshift(d)):r.push(d))}return r}(e,t,n),d=null===i?null:{"":-1};if(null!==s){r=!0,Qh(n,e.data.length,s.length);for(let $=0;$<s.length;$++){const fe=s[$];fe.providersResolver&&fe.providersResolver(fe)}let _=!1,D=!1,L=Gs(e,t,s.length,null);for(let $=0;$<s.length;$++){const fe=s[$];n.mergedAttrs=Ps(n.mergedAttrs,fe.hostAttrs),Yh(e,n,t,L,fe),vv(L,fe,d),null!==fe.contentQueries&&(n.flags|=8),(null!==fe.hostBindings||null!==fe.hostAttrs||0!==fe.hostVars)&&(n.flags|=128);const Pe=fe.type.prototype;!_&&(Pe.ngOnChanges||Pe.ngOnInit||Pe.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),_=!0),!D&&(Pe.ngOnChanges||Pe.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),D=!0),L++}!function cv(e,t){const i=t.directiveEnd,r=e.data,s=t.attrs,d=[];let _=null,D=null;for(let L=t.directiveStart;L<i;L++){const $=r[L],fe=$.inputs,Pe=null===s||Eh(t)?null:Ev(fe,s);d.push(Pe),_=Wh(fe,L,_),D=Wh($.outputs,L,D)}null!==_&&(_.hasOwnProperty("class")&&(t.flags|=16),_.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=d,t.input
1s=_,t.outputs=D}(e,n)}d&&function yv(e,t,n){if(t){const i=e.localNames=[];for(let r=0;r<t.length;r+=2){const s=n[t[r+1]];if(null==s)throw new se("301",`Export of name '${t[r+1]}' not found!`);i.push(t[r],s)}}}(n,i,d)}return n.mergedAttrs=Ps(n.mergedAttrs,n.attrs),r}function Kh(e,t,n,i,r,s){const d=s.hostBindings;if(d){let _=e.hostBindingOpCodes;null===_&&(_=e.hostBindingOpCodes=[]);const D=~t.index;(function pv(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(_)!=D&&_.push(D),_.push(i,r,d)}}function Gh(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Zh(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function vv(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;Rn(t)&&(n[""]=e)}}function Qh(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Yh(e,t,n,i,r){e.data[i]=r;const s=r.factory||(r.factory=Jn(r.type)),d=new lr(s,Rn(r),null);e.blueprint[i]=d,n[i]=d,Kh(e,t,0,i,Gs(e,n,r.hostVars,en),r)}function bv(e,t,n){const i=w(t,e),r=Vh(n),s=e[10],d=ba(e,xo(e,r,null,n.onPush?64:16,i,t,s,s.createRenderer(i,n),null,null));e[t.index]=d}function Ur(e,t,n,i,r,s){const d=w(e,t);Kl(t[11],d,s,e.value,n,i,r)}function Kl(e,t,n,i,r,s,d){if(null==s)mn(e)?e.removeAttribute(t,r,n):t.removeAttribute(r);else{const _=null==d?ke(s):d(s,i||"",r);mn(e)?e.setAttribute(t,r,_,n):n?t.setAttributeNS(n,r,_):t.setAttribute(r,_)}}function Cv(e,t,n,i,r,s){const d=s[t];if(null!==d){const _=i.setInput;for(let D=0;D<d.length;){const L=d[D++],$=d[D++],fe=d[D++];null!==_?i.setInput(n,fe,L,$):n[$]=fe}}}function Ev(e,t){let n=null,i=0;for(;i<t.length;){const r=t[i];if(0!==r)if(5!==r){if("number"==typeof r)break;e.hasOwnProperty(r)&&(null===n&&(n=[]),n.push(r,e[r],t[i+1])),i+=2}else i+=2;else i+=4}return n}function Xh(e,t,n,i){return new Array(e,!0,!1,t,null,0,i,n,null,null)}function wv(e,t){const n=Ut(t,e);if(hn(n)){const i=n[1];80&n[2]?Zs(i,n,i.template,n[8]):n[5]>0&&Gl(n)}}function Gl(e){for(let i=Cl(e);null!==i;i=El(i))for(let r=10;r<i.length;r++){const s=i[r];if(1024&s[2]){const d=s[1];Zs(d,s,d.template,s[8])}else s[5]>0&&Gl(s)}const n=e[1].components;if(null!==n)for(let i=0;i<n.length;i++){const r=Ut(n[i],e);hn(r)&&r[5]>0&&Gl(r)}}function Iv(e,t){const n=Ut(t,e),i=n[1];(function Ov(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(i,n),Fo(i,n,n[8])}function ba(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Zl(e){for(;e;){e[2]|=64;const t=Po(e);if(Li(e)&&!t)return e;e=t}return null}function Ql(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],i=ml(n),r=i[1];ov(r,i,r.template,n)}}function Yl(e,t,n){const i=t[10];i.begin&&i.begin();try{Zs(e,t,e.template,n)}catch(r){throw nf(t,r),r}finally{i.end&&i.end()}}function Jh(e){Ql(e[8])}function Xl(e,t,n){Wn(0),t(e,n)}const Pv=Ul;function qh(e){return e[7]||(e[7]=[])}function ef(e){return e.cleanup||(e.cleanup=[])}function tf(e,t,n){return(null===e||Rn(e))&&(n=function p(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function nf(e,t){const n=e[9],i=n?n.get(So,null):null;i&&i.handleError(t)}function rf(e,t,n,i,r){for(let s=0;s<n.length;){const d=n[s++],_=n[s++],D=t[d],L=e.data[d];null!==L.setInput?L.setInput(D,r,i,_):D[_]=r}}function is(e,t,n){const i=c(t,e);sh(e[11],i,n)}function Ca(e,t,n){let i=n?e.styles:null,r=n?e.classes:null,s=0;if(null!==t)for(let d=0;d<t.length;d++){const _=t[d];"number"==typeof _?s=_:1==s?r=ce(r,_):2==s&&(i=ce(i,_+": "+t[++d]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=r:e.classesWithoutHost=r}function sf(e){const t=Hd(e);Yl(t[1],t,e)}function af(e){!function Av(e,t){if(0===e.flags&&e.clean==Ul){let i;e.flags|=t,e.clean=new Promise(r=>i=r),e.scheduler(()=>{if(1&e.flags&&(e.flags&=-2,Ql(e)),2&e.flags){e.flags&=-3;const r=e.playerHandler;r&&r.flushPlayers()}e.clean=Ul,i(null)})}}(Zl(Hd(e))[8],1)}const Ea=new Vn("INJECTOR",-1);class lf{get(t,n=hs){if(n===hs){const i=new Error(`NullInjectorError: No provider for ${ee(t)}!`);throw i.name="NullInjectorError",i}return n}}const Jl=new Vn("Set Injector scope."),Lo={},Rv={};let ql;function cf(){return void 0===ql&&(ql=new lf),ql}function ec(e,t=null,n=null,i){const r=uf(e,t,n,i);return r._resolveInjectorDefTypes(),r}function uf(e,t=null,n=null,i){return new xv(e,n,t||cf(),i)}class xv{constructor(t,n,i,r=null){this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const s=[];n&&Nr(n,_=>this.processProvider(_,t,n)),Nr([t],_=>this.processInjectorType(_,[],s)),this.records.set(Ea,Qs(void 0,this));const d=this.records.get(Jl);this.scope=null!=d?d.value:null,this.source=r||("object"==typeof t?null:ee(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,n=hs,i=De.Default){this.assertNotDestroyed();const r=il(this),s=P(void 0);try{if(!(i&De.SkipSelf)){let _=this.records.get(t);if(void 0===_){const D=function Uv(e){return"function"==typeof e||"object"==typeof e&&e instanceof Vn}(t)&&ge(t);_=D&&this.injectableDefInScope(D)?Qs(tc(t),Lo):null,this.records.set(t,_)}if(null!=_)return this.hydrate(t,_)}
1return(i&De.Self?cf():this.parent).get(t,n=i&De.Optional&&n===hs?null:n)}catch(d){if("NullInjectorError"===d.name){if((d[aa]=d[aa]||[]).unshift(ee(t)),r)throw d;return function O_(e,t,n,i){const r=e[aa];throw t[_d]&&r.unshift(t[_d]),e.message=function A_(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let r=ee(t);if(Array.isArray(t))r=t.map(ee).join(" -> ");else if("object"==typeof t){let s=[];for(let d in t)if(t.hasOwnProperty(d)){let _=t[d];s.push(d+":"+("string"==typeof _?JSON.stringify(_):ee(_)))}r=`{${s.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${e.replace(C_,"\n  ")}`}("\n"+e.message,r,n,i),e.ngTokenPath=r,e[aa]=null,e}(d,t,"R3InjectorError",this.source)}throw d}finally{P(s),il(r)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((i,r)=>t.push(ee(r))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,n,i){if(!(t=C(t)))return!1;let r=Ae(t);const s=null==r&&t.ngModule||void 0,d=void 0===s?t:s,_=-1!==i.indexOf(d);if(void 0!==s&&(r=Ae(s)),null==r)return!1;if(null!=r.imports&&!_){let $;i.push(d);try{Nr(r.imports,fe=>{this.processInjectorType(fe,n,i)&&(void 0===$&&($=[]),$.push(fe))})}finally{}if(void 0!==$)for(let fe=0;fe<$.length;fe++){const{ngModule:Pe,providers:Ye}=$[fe];Nr(Ye,lt=>this.processProvider(lt,Pe,Ye||kt))}}this.injectorDefTypes.add(d);const D=Jn(d)||(()=>new d);this.records.set(d,Qs(D,Lo));const L=r.providers;if(null!=L&&!_){const $=t;Nr(L,fe=>this.processProvider(fe,$,L))}return void 0!==s&&void 0!==t.providers}processProvider(t,n,i){let r=Ys(t=C(t))?t:C(t&&t.provide);const s=function Lv(e,t,n){return hf(e)?Qs(void 0,e.useValue):Qs(df(e),Lo)}(t);if(Ys(t)||!0!==t.multi)this.records.get(r);else{let d=this.records.get(r);d||(d=Qs(void 0,Lo,!0),d.factory=()=>sl(d.multi),this.records.set(r,d)),r=t,d.multi.push(t)}this.records.set(r,s)}hydrate(t,n){return n.value===Lo&&(n.value=Rv,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Vv(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this.onDestroy.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=C(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function tc(e){const t=ge(e),n=null!==t?t.factory:Jn(e);if(null!==n)return n;if(e instanceof Vn)throw new Error(`Token ${ee(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function Fv(e){const t=e.length;if(t>0){const i=Co(t,"?");throw new Error(`Can't resolve all parameters for ${ee(e)}: (${i.join(", ")}).`)}const n=function ze(e){const t=e&&(e[it]||e[vt]);if(t){const n=function rt(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 df(e,t,n){let i;if(Ys(e)){const r=C(e);return Jn(r)||tc(r)}if(hf(e))i=()=>C(e.useValue);else if(function Nv(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...sl(e.deps||[]));else if(function kv(e){return!(!e||!e.useExisting)}(e))i=()=>di(C(e.useExisting));else{const r=C(e&&(e.useClass||e.provide));if(!function Bv(e){return!!e.deps}(e))return Jn(r)||tc(r);i=()=>new r(...sl(e.deps))}return i}function Qs(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function hf(e){return null!==e&&"object"==typeof e&&D_ in e}function Ys(e){return"function"==typeof e}let Xi=(()=>{class e{static create(n,i){var r;if(Array.isArray(n))return ec({name:""},i,n,"");{const s=null!==(r=n.name)&&void 0!==r?r:"";return ec({name:s},n.parent,n.providers,s)}}}return e.THROW_IF_NOT_FOUND=hs,e.NULL=new lf,e.\u0275prov=Be({token:e,providedIn:"any",factory:()=>di(Ea)}),e.__NG_ELEMENT_ID__=-1,e})();function nc(e){rc(e);const t=Mi(e);return null===t?null:(void 0===t.component&&(t.component=function ay(e,t){const n=t[1].data[e];return 2&n.flags?t[n.directiveStart]:null}(t.nodeIndex,t.lView)),t.component)}function ff(e){rc(e);const t=Mi(e);return null===t?null:t.lView[8]}function pf(e){const t=Mi(e);if(null===t)return null;let i,n=t.lView;for(;2===n[1].type&&(i=Po(n));)n=i;return 512&n[2]?null:n[8]}function gf(e){return[...ih(e).components]}function mf(e){const t=Mi(e);return null===t?Xi.NULL:new us(t.lView[1].data[t.nodeIndex],t.lView)}function _f(e){if(e instanceof Text)return[];const t=Mi(e);if(null===t)return[];
1const n=t.lView,i=n[1],r=t.nodeIndex;return(null==i?void 0:i.data[r])?(void 0===t.directives&&(t.directives=Kd(r,n,!1)),null===t.directives?[]:[...t.directives]):[]}function zv(e){const{constructor:t}=e;if(!t)throw new Error("Unable to find the instance constructor");const n=tt(t);if(n)return{inputs:n.inputs,outputs:n.outputs,encapsulation:n.encapsulation,changeDetection:n.onPush?ne.OnPush:ne.Default};const i=mt(t);return i?{inputs:i.inputs,outputs:i.outputs}:null}function ic(e){return Mi(e).native}function yf(e){rc(e);const t=Mi(e);if(null===t)return[];const n=t.lView,r=n[7],s=n[1].cleanup,d=[];if(s&&r)for(let _=0;_<s.length;){const D=s[_++],L=s[_++];if("string"==typeof D){const $=D,fe=T(n[L]),Pe=r[s[_++]],Ye=s[_++],lt="boolean"==typeof Ye||Ye>=0?"dom":"output",Ct="boolean"==typeof Ye&&Ye;e==fe&&d.push({element:e,name:$,callback:Pe,useCapture:Ct,type:lt})}}return d.sort($v),d}function $v(e,t){return e.name==t.name?0:e.name<t.name?-1:1}function Kv(e){return void 0!==e.type&&void 0!==e.template&&void 0!==e.declaredInputs}function rc(e){if("undefined"!=typeof Element&&!(e instanceof Element))throw new Error("Expecting instance of DOM Element")}function Gv(e){af(e),gf(e).forEach(t=>sf(t))}let bf=!1;function Zv(){bf||(bf=!0,dr("\u0275setProfiler",zi),dr("getDirectiveMetadata",zv),dr("getComponent",nc),dr("getContext",ff),dr("getListeners",yf),dr("getOwningComponent",pf),dr("getHostElement",ic),dr("getInjector",mf),dr("getRootComponents",gf),dr("getDirectives",_f),dr("applyChanges",Gv))}function dr(e,t){if("undefined"==typeof COMPILED||!COMPILED){const n=Lt;if(n){let i=n.ng;i||(i=n.ng={}),i[e]=t}}}function Qv(e,t={}){const n=t.rendererFactory||Xr,i=t.sanitizer||null,r=tt(e);r.type!=e&&(r.type=e);const s=r.selectors[0][0],_=Hh(n.createRenderer(null,null),t.host||s,r.encapsulation),D=r.onPush?576:528,L=Df(t.scheduler,t.playerHandler),$=n.createRenderer(_,r),fe=va(0,null,null,1,0,null,null,null,null,null),Pe=xo(null,fe,L,D,null,null,n,$,null,t.injector||null);let Ye;ei(Pe);try{n.begin&&n.begin(),Ye=Ef(Cf(_,r,Pe,n,$,i),r,Pe,L,t.hostFeatures||null),Fo(fe,Pe,null),Zs(fe,Pe,null,null)}finally{Lr(),n.end&&n.end()}return Ye}function Cf(e,t,n,i,r,s){const d=n[1];n[20]=e;const D=Ks(d,20,2,"#host",null),L=D.mergedAttrs=t.hostAttrs;null!==L&&(Ca(D,L,!0),null!==e&&(Ts(r,e,L),null!==D.classes&&Sl(r,e,D.classes),null!==D.styles&&vh(r,e,D.styles)));const $=i.createRenderer(e,t),fe=xo(n,Vh(t),null,t.onPush?64:16,n[20],D,i,$,s||null,null);return d.firstCreatePass&&(at(F(D,n),d,t.type),Zh(d,D),Qh(D,n.length,1)),ba(n,fe),n[20]=fe}function Ef(e,t,n,i,r){const s=n[1],d=function fv(e,t,n){const i=kn();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Yh(e,i,t,Gs(e,t,1,null),n));const r=Vi(t,e,i.directiveStart,i);wi(r,t);const s=w(i,t);return s&&wi(s,t),r}(s,n,t);if(i.components.push(d),e[8]=d,r&&r.forEach(D=>D(d,t)),t.contentQueries){const D=kn();t.contentQueries(1,d,D.directiveStart)}const _=kn();return!s.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Gi(_.index),Kh(n[1],_,0,_.directiveStart,_.directiveEnd,t),Gh(t,d)),d}function Df(e,t){return{components:[],scheduler:e||Yd,clean:Pv,playerHandler:t||null,flags:0}}function Mf(e,t){mi(ml(e)[1],kn())}function Yv(e){return ih(e).clean}function wf(e){return Object.getPrototypeOf(e.prototype).constructor}function sc(e){let t=wf(e.type),n=!0;const i=[e];for(;t;){let r;if(Rn(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");r=t.\u0275dir}if(r){if(n){i.push(r);const d=e;d.inputs=oc(e.inputs),d.declaredInputs=oc(e.declaredInputs),d.outputs=oc(e.outputs);const _=r.hostBindings;_&&eb(e,_);const D=r.viewQuery,L=r.contentQueries;if(D&&Jv(e,D),L&&qv(e,L),pe(e.inputs,r.inputs),pe(e.declaredInputs,r.declaredInputs),pe(e.outputs,r.outputs),Rn(r)&&r.data.animation){const $=e.data;$.animation=($.animation||[]).concat(r.data.animation)}}const s=r.features;if(s)for(let d=0;d<s.length;d++){const _=s[d];_&&_.ngInherit&&_(e),_===sc&&(n=!1)}}t=Object.getPrototypeOf(t)}!function Xv(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){const r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=Ps(r.hostAttrs,n=Ps(n,r.hostAttrs))}}(i)}function oc(e){return e===Ot?{}:e===kt?[]:e}function Jv(e,t){const n=e.viewQuery;e.viewQuery=n?(i,r)=>{t(i,r),n(i,r)}:t}function qv(e,t){const n=e.contentQueries;e.contentQueries=n?(i,r,s)=>{t(i,r,s),n(i,r,s)}:t}function eb(e,t){const n=e.hostBindings;e.hostBindings=n?(i,r)=>{t(i,r),n(i,r)}:t}const tb=["providersResolver"],nb=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function If(e){let n,t=wf(e.type);n=Rn(e)?t.\u0275cmp:t.\u0275dir;const i=e;for(const r of tb)i[r]=n[r];if(Rn(n))for(const r of nb)i[r]=n[r]}let Da=null;function Xs(){if(!Da){const e=Lt.Symbol;if(e&&e.iterator)Da=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const i=t[n];"entries"!==i&&"size"!==i&&Map.prototype[i]===Map.prototype.entries&&(Da=i)}}}return Da}function Of(e,t){const n=ko(e),i=ko(t);return n&&i?function ib(e,t,n){const i=e[Xs()](),r=t[Xs()]();for(;;){const s=i.next(),d=r.next();if(s.done&&d.done)return!0;
1if(s.done||d.done||!n(s.value,d.value))return!1}}(e,t,Of):!(n||!e||"object"!=typeof e&&"function"!=typeof e||i||!t||"object"!=typeof t&&"function"!=typeof t)||Object.is(e,t)}function ko(e){return!!ac(e)&&(Array.isArray(e)||!(e instanceof Map)&&Xs()in e)}function ac(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Hr(e,t,n){return e[t]=n}function No(e,t){return e[t]}function Ii(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Es(e,t,n,i){const r=Ii(e,t,n);return Ii(e,t+1,i)||r}function Ma(e,t,n,i,r){const s=Es(e,t,n,i);return Ii(e,t+2,r)||s}function hr(e,t,n,i,r,s){const d=Es(e,t,n,i);return Es(e,t+2,r,s)||d}function lc(e,t,n,i){const r=gt();return Ii(r,bt(),t)&&(tn(),Ur(Dt(),r,e,t,n,i)),lc}function Js(e,t){let n=!1,i=Ge();for(let s=1;s<t.length;s+=2)n=Ii(e,i++,t[s])||n;if(ut(i),!n)return en;let r=t[0];for(let s=1;s<t.length;s+=2)r+=ke(t[s])+t[s+1];return r}function qs(e,t,n,i){return Ii(e,bt(),n)?t+ke(n)+i:en}function eo(e,t,n,i,r,s){const _=Es(e,Ge(),n,r);return Tt(2),_?t+ke(n)+i+ke(r)+s:en}function to(e,t,n,i,r,s,d,_){const L=Ma(e,Ge(),n,r,d);return Tt(3),L?t+ke(n)+i+ke(r)+s+ke(d)+_:en}function no(e,t,n,i,r,s,d,_,D,L){const fe=hr(e,Ge(),n,r,d,D);return Tt(4),fe?t+ke(n)+i+ke(r)+s+ke(d)+_+ke(D)+L:en}function io(e,t,n,i,r,s,d,_,D,L,$,fe){const Pe=Ge();let Ye=hr(e,Pe,n,r,d,D);return Ye=Ii(e,Pe+4,$)||Ye,Tt(5),Ye?t+ke(n)+i+ke(r)+s+ke(d)+_+ke(D)+L+ke($)+fe:en}function ro(e,t,n,i,r,s,d,_,D,L,$,fe,Pe,Ye){const lt=Ge();let Ct=hr(e,lt,n,r,d,D);return Ct=Es(e,lt+4,$,Pe)||Ct,Tt(6),Ct?t+ke(n)+i+ke(r)+s+ke(d)+_+ke(D)+L+ke($)+fe+ke(Pe)+Ye:en}function so(e,t,n,i,r,s,d,_,D,L,$,fe,Pe,Ye,lt,Ct){const At=Ge();let Ft=hr(e,At,n,r,d,D);return Ft=Ma(e,At+4,$,Pe,lt)||Ft,Tt(7),Ft?t+ke(n)+i+ke(r)+s+ke(d)+_+ke(D)+L+ke($)+fe+ke(Pe)+Ye+ke(lt)+Ct:en}function oo(e,t,n,i,r,s,d,_,D,L,$,fe,Pe,Ye,lt,Ct,At,Ft){const pt=Ge();let Wt=hr(e,pt,n,r,d,D);return Wt=hr(e,pt+4,$,Pe,lt,At)||Wt,Tt(8),Wt?t+ke(n)+i+ke(r)+s+ke(d)+_+ke(D)+L+ke($)+fe+ke(Pe)+Ye+ke(lt)+Ct+ke(At)+Ft:en}function cc(e,t,n,i,r,s){const d=gt(),_=qs(d,t,n,i);return _!==en&&Ur(Dt(),d,e,_,r,s),cc}function uc(e,t,n,i,r,s,d,_){const D=gt(),L=eo(D,t,n,i,r,s);return L!==en&&Ur(Dt(),D,e,L,d,_),uc}function dc(e,t,n,i,r,s,d,_,D,L){const $=gt(),fe=to($,t,n,i,r,s,d,_);return fe!==en&&Ur(Dt(),$,e,fe,D,L),dc}function hc(e,t,n,i,r,s,d,_,D,L,$,fe){const Pe=gt(),Ye=no(Pe,t,n,i,r,s,d,_,D,L);return Ye!==en&&Ur(Dt(),Pe,e,Ye,$,fe),hc}function fc(e,t,n,i,r,s,d,_,D,L,$,fe,Pe,Ye){const lt=gt(),Ct=io(lt,t,n,i,r,s,d,_,D,L,$,fe);return Ct!==en&&Ur(Dt(),lt,e,Ct,Pe,Ye),fc}function pc(e,t,n,i,r,s,d,_,D,L,$,fe,Pe,Ye,lt,Ct){const At=gt(),Ft=ro(At,t,n,i,r,s,d,_,D,L,$,fe,Pe,Ye);return Ft!==en&&Ur(Dt(),At,e,Ft,lt,Ct),pc}function gc(e,t,n,i,r,s,d,_,D,L,$,fe,Pe,Ye,lt,Ct,At,Ft){const pt=gt(),Wt=so(pt,t,n,i,r,s,d,_,D,L,$,fe,Pe,Ye,lt,Ct);return Wt!==en&&Ur(Dt(),pt,e,Wt,At,Ft),gc}function mc(e,t,n,i,r,s,d,_,D,L,$,fe,Pe,Ye,lt,Ct,At,Ft,pt,Wt){const ln=gt(),Cn=oo(ln,t,n,i,r,s,d,_,D,L,$,fe,Pe,Ye,lt,Ct,At,Ft);return Cn!==en&&Ur(Dt(),ln,e,Cn,pt,Wt),mc}function _c(e,t,n,i){const r=gt(),s=Js(r,t);return s!==en&&Ur(Dt(),r,e,s,n,i),_c}function Af(e,t,n,i,r,s,d,_){const D=gt(),L=tn(),$=e+20,fe=L.firstCreatePass?function sb(e,t,n,i,r,s,d,_,D){const L=t.consts,$=Ks(t,e,4,d||null,_n(L,_));$l(t,n,$,_n(L,D)),mi(t,$);const fe=$.tViews=va(2,$,i,r,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,L);return null!==t.queries&&(t.queries.template(t,$),fe.queries=t.queries.embeddedTView($)),$}($,L,D,t,n,i,r,s,d):L.data[$];V(fe,!1);const Pe=D[11].createComment("");pa(L,D,Pe,fe),wi(Pe,D),ba(D,D[$]=Xh(Pe,D,Pe,fe)),Xn(fe)&&zl(L,D,fe),null!=d&&Wl(D,fe,_)}function Tf(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}function Sf(e){return Et(function W(){return Bt.lFrame.contextLView}(),20+e)}const Pf={\u0275\u0275defineInjectable:Be,\u0275\u0275defineInjector:le,\u0275\u0275inject:di,\u0275\u0275invalidFactoryDep:rl,resolveForwardRef:C};const ab=re({provide:String,useValue:re});function Rf(e){return void 0!==e.useClass}function xf(e){return void 0!==e.useFactory}const db=js("Injectable",void 0,void 0,void 0,(e,t)=>function ob(e,t){let n=null,i=null;e.hasOwnProperty(it)||Object.defineProperty(e,it,{get:()=>(null===n&&(n=ri().compileInjectable(Pf,`ng:///${e.name}/\u0275prov.js`,function ub(e,t){const n=t||{providedIn:null},i={name:e.name,type:e,typeArgumentCount:0,providedIn:n.providedIn};return(Rf(n)||xf(n))&&void 0!==n.deps&&(i.deps=bd(n.deps)),Rf(n)?i.useClass=n.useClass:function lb(e){return ab in e}(n)?i.useValue=n.useValue:xf(n)?i.useFactory=n.useFactory:function cb(e){return void 0!==e.useExisting}(n)&&(i.useExisting=n.useExisting),i}(e,t))),n)}),e.hasOwnProperty(j)||Object.defineProperty(e,j,{get:()=>{if(null===i){const r=ri();i=r.compileFactory(Pf,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:ca(e),target:r.FactoryTarget.Injectable})}return i},configurable:!0})}(e,t));function yc(e){return e.length>1?" ("+function hb(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(i=>ee(i.token)).join(" -> ")+")":""}function vc(e,t,n,i){const r=[t],s=n(r),d=i?function dy(e,t){const n=`${e} caused by: ${t instanceof Error?t.message:t}`,i=Error(n);return i[_l]=t,i}(s,i):Error(s);return d.addKey=fb,d.keys=r,d.injectors=[e],d.constructResolvingMessage=n,d[_l]=i,d}function fb(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function Ff(e,t){const n=[];for(let i=0,r=t.length;i<r;i++){const s=t[i];n.push(s&&0!=s.length?s.map(ee).join(" "):"?")}return Error("Cannot resolve all parameters for '"+ee(e)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+ee(e)+"' is decorated with Injectable.")}function vb(e,t){return Error(`Cannot mix multi providers and regular providers, got: ${e} ${t}`)}class rs{constructor(t,n){if(this.token=t,this.id=n,!t)throw new Error("Token must be defined!");this.displayName=ee(this.token)}static get(t){return Lf.get(C(t))}static get numberOfKeys(){return Lf.numberOfKeys}}class bb{constructor(){this._allKeys=new Map}get(t){if(t instanceof rs)return t;if(this._allKeys.has(t))return this._allKeys.get(t);const n=new rs(t,rs.numberOfKeys);return this._allKeys.set(t,n),n}get numberOfKeys(){return this._allKeys.size}}const Lf=new bb;class Cb{constructor(t){this.reflectionCapabilities=t}updateCapabilities(t){this.reflectionCapabilities=t}factory(t){return this.reflectionCapabilities.factory(t)}parameters(t){return this.reflectionCapabilities.parameters(t)}annotations(t){return this.reflectionCapabilities.annotations(t)}propMetadata(t){return this.reflectionCapabilities.propMetadata(t)}hasLifecycleHook(t,n){return this.reflectionCapabilities.hasLifecycleHook(t,n)}getter(t){return this.reflectionCapabilities.getter(t)}setter(t){return this.reflectionCapabilities.setter(t)}method(t){return this.reflectionCapabilities.method(t)}importUri(t){return this.reflectionCapabilities.importUri(t)}resourceUri(t){return this.reflectionCapabilities.resourceUri(t)}resolveIdentifier(t,n,i,r){return this.reflectionCapabilities.resolveIdentifier(t,n,i,r)}resolveEnum(t,n){return this.reflectionCapabilities.resolveEnum(t,n)}}const kf=new Cb(new el);class wa{constructor(t,n,i){this.key=t,this.optional=n,this.visibility=i}static fromKey(t){return new wa(t,!1,null)}}const Eb=[];class Nf{constructor(t,n,i){this.key=t,this.resolvedFactories=n,this.multiProvider=i,this.resolvedFactory=this.resolvedFactories[0]}}class jf{constructor(t,n){this.factory=t,this.dependencies=n}}function Db(e){let t,n;if(e.useClass){const i=C(e.useClass);t=kf.factory(i),n=Vf(i)}else e.useExisting?(t=i=>i,n=[wa.fromKey(rs.get(e.useExisting))]):e.useFactory?(t=e.useFactory,n=function Ob(e,t){if(t){const n=t.map(i=>[i]);return t.map(i=>Uf(e,i,n))}return Vf(e)}(e.useFactory,e.deps)):(t=()=>e.useValue,n=Eb);return new jf(t,n)}function Mb(e){return new Nf(rs.get(e.provide),[Db(e)],e.multi||!1)}function wb(e){const i=function Ib(e,t){for(let n=0;n<e.length;n++){const i=e[n],r=t.get(i.key.id);if(r){if(i.multiProvider!==r.multiProvider)throw vb(r,i);if(i.multiProvider)for(let s=0;s<i.resolvedFactories.length;s++)r.resolvedFactories.push(i.resolvedFactories[s]);else t.set(i.key.id,i)}else{let s;s=i.multiProvider?new Nf(i.key,i.resolvedFactories.slice(),i.multiProvider):i,t.set(i.key.id,s)}}return t}(Bf(e,[]).map(Mb),new Map);return Array.from(i.values())}function Bf(e,t){return e.forEach(n=>{if(n instanceof ra)t.push({provide:n,useClass:n});else if(n&&"object"==typeof n&&void 0!==n.provide)t.push(n);else{if(!Array.isArray(n))throw function _b(e){return Error(`Invalid provider - only instances of Provider and Type are allowed, got: ${e}`)}(n);Bf(n,t)}}),t}function Vf(e){const t=kf.parameters(e);if(!t)return[];if(t.some(n=>null==n))throw Ff(e,t);return t.map(n=>Uf(e,n,t))}function Uf(e,t,n){let i=null,r=!1;if(!Array.isArray(t))return bc(t instanceof Mo?t.token:t,r,null);let s=null;for(let d=0;d<t.length;++d){const _=t[d];_ instanceof ra?i=_:_ instanceof Mo?i=_.token:_ instanceof ys?r=!0:_ instanceof la||_ instanceof vs?s=_:_ instanceof Vn&&(i=_)}if(i=C(i),null!=i)return bc(i,r,s);throw Ff(e,n)}
1function bc(e,t,n){return new wa(rs.get(e),t,n)}const jo={};class ao{static resolve(t){return wb(t)}static resolveAndCreate(t,n){const i=ao.resolve(t);return ao.fromResolvedProviders(i,n)}static fromResolvedProviders(t,n){return new Ab(t,n)}}let Ab=(()=>{class e{constructor(n,i){this._constructionCounter=0,this._providers=n,this.parent=i||null;const r=n.length;this.keyIds=[],this.objs=[];for(let s=0;s<r;s++)this.keyIds[s]=n[s].key.id,this.objs[s]=jo}get(n,i=hs){return this._getByKey(rs.get(n),null,i)}resolveAndCreateChild(n){const i=ao.resolve(n);return this.createChildFromResolved(i)}createChildFromResolved(n){const i=new e(n);return i.parent=this,i}resolveAndInstantiate(n){return this.instantiateResolved(ao.resolve([n])[0])}instantiateResolved(n){return this._instantiateProvider(n)}getProviderAtIndex(n){if(n<0||n>=this._providers.length)throw function yb(e){return Error(`Index ${e} is out-of-bounds.`)}(n);return this._providers[n]}_new(n){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw function gb(e,t){return vc(e,t,function(n){return`Cannot instantiate cyclic dependency!${yc(n)}`})}(this,n.key);return this._instantiateProvider(n)}_getMaxNumberOfObjects(){return this.objs.length}_instantiateProvider(n){if(n.multiProvider){const i=[];for(let r=0;r<n.resolvedFactories.length;++r)i[r]=this._instantiate(n,n.resolvedFactories[r]);return i}return this._instantiate(n,n.resolvedFactories[0])}_instantiate(n,i){const r=i.factory;let s,d;try{s=i.dependencies.map(_=>this._getByReflectiveDependency(_))}catch(_){throw _.addKey&&_.addKey(this,n.key),_}try{d=r(...s)}catch(_){throw function mb(e,t,n,i){return vc(e,i,function(r){const s=ee(r[0].token);return`${t.message}: Error during instantiation of ${s}!${yc(r)}.`},t)}(this,_,0,n.key)}return d}_getByReflectiveDependency(n){return this._getByKey(n.key,n.visibility,n.optional?null:hs)}_getByKey(n,i,r){return n===e.INJECTOR_KEY?this:i instanceof la?this._getByKeySelf(n,r):this._getByKeyDefault(n,r,i)}_getObjByKeyId(n){for(let i=0;i<this.keyIds.length;i++)if(this.keyIds[i]===n)return this.objs[i]===jo&&(this.objs[i]=this._new(this._providers[i])),this.objs[i];return jo}_throwOrNull(n,i){if(i!==hs)return i;throw function pb(e,t){return vc(e,t,function(n){return`No provider for ${ee(n[0].token)}!${yc(n)}`})}(this,n)}_getByKeySelf(n,i){const r=this._getObjByKeyId(n.id);return r!==jo?r:this._throwOrNull(n,i)}_getByKeyDefault(n,i,r){let s;for(s=r instanceof vs?this.parent:this;s instanceof e;){const d=s,_=d._getObjByKeyId(n.id);if(_!==jo)return _;s=d.parent}return null!==s?s.get(n.token,i):this._throwOrNull(n,i)}get displayName(){return`ReflectiveInjector(providers: [${function Tb(e,t){const n=[];for(let i=0;i<e._providers.length;++i)n[i]=t(e.getProviderAtIndex(i));return n}(this,i=>' "'+i.key.displayName+'" ').join(", ")}])`}toString(){return this.displayName}}return e.INJECTOR_KEY=rs.get(Xi),e})();function Bo(e,t=De.Default){const n=gt();return null===n?di(e,t):yn(kn(),n,C(e),t)}function Hf(){throw new Error("invalid")}function Cc(e,t,n){const i=gt();return Ii(i,bt(),t)&&Yi(tn(),Dt(),i,e,t,i[11],n,!1),Cc}function Ec(e,t,n,i,r){const d=r?"class":"style";rf(e,n,t.inputs[d],d,i)}function Dc(e,t,n,i){const r=gt(),s=tn(),d=20+e,_=r[11],D=r[d]=Ml(_,t,function gi(){return Bt.lFrame.currentNamespace}()),L=s.firstCreatePass?function Sb(e,t,n,i,r,s,d){const _=t.consts,L=Ks(t,e,2,r,_n(_,s));return $l(t,n,L,_n(_,d)),null!==L.attrs&&Ca(L,L.attrs,!1),null!==L.mergedAttrs&&Ca(L,L.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,L),L}(d,s,r,0,t,n,i):s.data[d];V(L,!0);const $=L.mergedAttrs;null!==$&&Ts(_,D,$);const fe=L.classes;null!==fe&&Sl(_,D,fe);const Pe=L.styles;null!==Pe&&vh(_,D,Pe),64!=(64&L.flags)&&pa(s,r,D,L),0===function xr(){return Bt.lFrame.elementDepthCount}()&&wi(D,r),function ar(){Bt.lFrame.elementDepthCount++}(),Xn(L)&&(zl(s,r,L),Bh(s,L,r)),null!==i&&Wl(r,L)}function Mc(){let e=kn();l()?h():(e=e.parent,V(e,!1));const t=e;!function yr(){Bt.lFrame.elementDepthCount--}();const n=tn();n.firstCreatePass&&(mi(n,e),Fi(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Ga(e){return 0!=(16&e.flags)}(t)&&Ec(n,t,gt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Za(e){return 0!=(32&e.flags)}(t)&&Ec(n,t,gt(),t.stylesWithoutHost,!1)}function zf(e,t,n,i){Dc(e,t,n,i),Mc()}function wc(e,t,n){const i=gt(),r=tn(),s=e+20,d=r.firstCreatePass?function Pb(e,t,n,i,r){const s=t.consts,d=_n(s,i),_=Ks(t,e,8,"ng-container",d);return null!==d&&Ca(_,d,!0),$l(t,n,_,_n(s,r)),null!==t.queries&&t.queries.elementStart(t,_),_}(s,r,i,t,n):r.data[s];V(d,!0);const _=i[s]=i[11].createComment("");pa(r,i,_,d),wi(_,i),Xn(d)&&(zl(r,i,d),Bh(r,d,i)),null!=n&&Wl(i,d)}function Ic(){let e=kn();const t=tn();l()?h():(e=e.parent,V(e,!1)),t.firstCreatePass&&(mi(t,e),Fi(e)&&t.queries.elementEnd(e))}function Wf(e,t,n){wc(e,t,n),Ic()}function $f(){return gt()}function Oc(e){return!!e&&"function"==typeof e.then}function Kf(e){return!!e&&"function"==typeof e.subscribe}const Gf=Kf;function Ac(e,t,n,i){const r=gt(),s=tn(),d=kn();return Zf(s,r,r[11],d,e,t,!!n,i),Ac}function Tc(e,t){const n=kn(),i=gt(),r=tn();return Zf(r,i,tf(Mn(r.data),n,i),n,e,t,!1),Tc}function Zf(e,t,n,i,r,s,d,_){const D=Xn(i),$=e.firstCreatePass&&ef(e),fe=t[8],Pe=qh(t);let Ye=!0;if(3&i.type||_){const At=w(i,t),Ft=_?_(At):At,pt=Pe.length,Wt=_?ln=>_(T(ln[i.index])):i.index;if(mn(n)){let ln=null;if(!_&&D&&(ln=function Rb(e,t,n,i){const r=e.cleanup;if(null!=r)for(let s=0;s<r.length-1;s+=2){const d=r[s];if(d===n&&r[s+1]===i){const _=t[7],D=r[s+2];return _.length>D?_[D]:null}"string"==typeof d&&(s+=2)}return null}
1(e,t,r,i.index)),null!==ln)(ln.__ngLastListenerFn__||ln).__ngNextListenerFn__=s,ln.__ngLastListenerFn__=s,Ye=!1;else{s=Sc(i,t,fe,s,!1);const Cn=n.listen(Ft,r,s);Pe.push(s,Cn),$&&$.push(r,Wt,pt,pt+1)}}else s=Sc(i,t,fe,s,!0),Ft.addEventListener(r,s,d),Pe.push(s),$&&$.push(r,Wt,pt,d)}else s=Sc(i,t,fe,s,!1);const lt=i.outputs;let Ct;if(Ye&&null!==lt&&(Ct=lt[r])){const At=Ct.length;if(At)for(let Ft=0;Ft<At;Ft+=2){const qi=t[Ct[Ft]][Ct[Ft+1]].subscribe(s),ws=Pe.length;Pe.push(s,qi),$&&$.push(r,i.index,ws,-(ws+1))}}}function Qf(e,t,n,i){try{return Gn(6,t,n),!1!==n(i)}catch(r){return nf(e,r),!1}finally{Gn(7,t,n)}}function Sc(e,t,n,i,r){return function s(d){if(d===Function)return i;const _=2&e.flags?Ut(e.index,t):t;0==(32&t[2])&&Zl(_);let D=Qf(t,n,i,d),L=s.__ngNextListenerFn__;for(;L;)D=Qf(t,n,L,d)&&D,L=L.__ngNextListenerFn__;return r&&!1===D&&(d.preventDefault(),d.returnValue=!1),D}}function Yf(e=1){return function qr(e){return(Bt.lFrame.contextLView=function br(e,t){for(;e>0;)t=t[15],e--;return t}(e,Bt.lFrame.contextLView))[8]}(e)}function xb(e,t){let n=null;const i=function Vy(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let r=0;r<t.length;r++){const s=t[r];if("*"!==s){if(null===i?Dh(e,s,!0):zy(i,s))return r}else n=r}return n}function Xf(e){const t=gt()[16][6];if(!t.projection){const i=t.projection=Co(e?e.length:1,null),r=i.slice();let s=t.child;for(;null!==s;){const d=e?xb(s,e):0;null!==d&&(r[d]?r[d].projectionNext=s:i[d]=s,r[d]=s),s=s.next}}}function Jf(e,t=0,n){const i=gt(),r=tn(),s=Ks(r,20+e,16,null,n||null);null===s.projection&&(s.projection=t),h(),64!=(64&s.flags)&&function xy(e,t,n){yh(t[11],0,t,n,lh(e,n,t),hh(n.parent||t[6],n,t))}(r,i,s)}function Pc(e,t,n){return Ia(e,"",t,"",n),Pc}function Ia(e,t,n,i,r){const s=gt(),d=qs(s,t,n,i);return d!==en&&Yi(tn(),Dt(),s,e,d,s[11],r,!1),Ia}function Rc(e,t,n,i,r,s,d){const _=gt(),D=eo(_,t,n,i,r,s);return D!==en&&Yi(tn(),Dt(),_,e,D,_[11],d,!1),Rc}function xc(e,t,n,i,r,s,d,_,D){const L=gt(),$=to(L,t,n,i,r,s,d,_);return $!==en&&Yi(tn(),Dt(),L,e,$,L[11],D,!1),xc}function Fc(e,t,n,i,r,s,d,_,D,L,$){const fe=gt(),Pe=no(fe,t,n,i,r,s,d,_,D,L);return Pe!==en&&Yi(tn(),Dt(),fe,e,Pe,fe[11],$,!1),Fc}function Lc(e,t,n,i,r,s,d,_,D,L,$,fe,Pe){const Ye=gt(),lt=io(Ye,t,n,i,r,s,d,_,D,L,$,fe);return lt!==en&&Yi(tn(),Dt(),Ye,e,lt,Ye[11],Pe,!1),Lc}function kc(e,t,n,i,r,s,d,_,D,L,$,fe,Pe,Ye,lt){const Ct=gt(),At=ro(Ct,t,n,i,r,s,d,_,D,L,$,fe,Pe,Ye);return At!==en&&Yi(tn(),Dt(),Ct,e,At,Ct[11],lt,!1),kc}function Nc(e,t,n,i,r,s,d,_,D,L,$,fe,Pe,Ye,lt,Ct,At){const Ft=gt(),pt=so(Ft,t,n,i,r,s,d,_,D,L,$,fe,Pe,Ye,lt,Ct);return pt!==en&&Yi(tn(),Dt(),Ft,e,pt,Ft[11],At,!1),Nc}function jc(e,t,n,i,r,s,d,_,D,L,$,fe,Pe,Ye,lt,Ct,At,Ft,pt){const Wt=gt(),ln=oo(Wt,t,n,i,r,s,d,_,D,L,$,fe,Pe,Ye,lt,Ct,At,Ft);return ln!==en&&Yi(tn(),Dt(),Wt,e,ln,Wt[11],pt,!1),jc}function Bc(e,t,n){const i=gt(),r=Js(i,t);return r!==en&&Yi(tn(),Dt(),i,e,r,i[11],n,!1),Bc}function qf(e,t,n,i,r){const s=e[n+1],d=null===t;let _=i?Mr(s):ns(s),D=!1;for(;0!==_&&(!1===D||d);){const $=e[_+1];kb(e[_],t)&&(D=!0,e[_+1]=i?xl($):Pl($)),_=i?Mr($):ns($)}D&&(e[n+1]=i?Pl(s):xl(s))}function kb(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Vs(e,t)>=0}const si={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ep(e){return e.substring(si.key,si.keyEnd)}function Nb(e){return e.substring(si.value,si.valueEnd)}function tp(e,t){const n=si.textEnd;return n===t?-1:(t=si.keyEnd=function Vb(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,si.key=t,n),lo(e,t,n))}function np(e,t){const n=si.textEnd;let i=si.key=lo(e,t,n);return n===i?-1:(i=si.keyEnd=function Ub(e,t,n){let i;for(;t<n&&(45===(i=e.charCodeAt(t))||95===i||(-33&i)>=65&&(-33&i)<=90||i>=48&&i<=57);)t++;return t}(e,i,n),i=rp(e,i,n),i=si.value=lo(e,i,n),i=si.valueEnd=function Hb(e,t,n){let i=-1,r=-1,s=-1,d=t,_=d;for(;d<n;){const D=e.charCodeAt(d++);if(59===D)return _;34===D||39===D?_=d=sp(e,D,d,n):t===d-4&&85===s&&82===r&&76===i&&40===D?_=d=sp(e,41,d,n):D>32&&(_=d),s=r,r=i,i=-33&D}return _}(e,i,n),rp(e,i,n))}function ip(e){si.key=0,si.keyEnd=0,si.value=0,si.valueEnd=0,si.textEnd=e.length}function lo(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function rp(e,t,n,i){return(t=lo(e,t,n))<n&&t++,t}function sp(e,t,n,i){let r=-1,s=n;for(;s<i;){const d=e.charCodeAt(s++);if(d==t&&92!==r)return s;r=92==d&&92===r?0:d}throw new Error}function Vc(e,t,n){return Ir(e,t,n,!1),Vc}function Uc(e,t){return Ir(e,t,null,!0),Uc}function wr(e){Or(cp,zb,e,!1)}function zb(e,t){for(let n=function Bb(e){return ip(e),np(e,lo(e,0,si.textEnd))}(t);n>=0;n=np(t,n))cp(e,ep(t),Nb(t))}function op(e){Or(Qi,zr,e,!0)}function zr(e,t){for(let n=function jb(e){return ip(e),tp(e,lo(e,0,si.textEnd))}(t);n>=0;n=tp(t,n))Qi(e,ep(t),!0)}function Ir(e,t,n,i){const r=gt(),s=tn(),d=Tt(2);s.firstUpdatePass&&lp(s,e,d,i),t!==en&&Ii(r,d,t)&&up(s,s.data[Qn()],r,r[11],e,r[d+1]=function Yb(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ee(ts(e)))),e}(t,n),i,d)}function Or(e,t,n,i){const r=tn(),s=Tt(2);r.firstUpdatePass&&lp(r,null,s,i);const d=gt();if(n!==en&&Ii(d,s,n)){const _=r.data[Qn()];if(hp(_,i)&&!ap(r,s)){let D=i?_.classesWithoutHost:_.stylesWithoutHost;null!==D&&(n=ce(D,n||"")),Ec(r,_,d,n,i)}else!function Qb(e,t,n,i,r,s,d,_){r===en&&(r=kt);let D=0,L=0,$=0<r.length?r[0]:null,fe=0<s.length?s[0]:null;for(;null!==$||null!==fe;){const Pe=D<r.length?r[D+1]:void 0,Ye=L<s.length?s[L+1]:void 0;let Ct,lt=null;$===fe?(D+=2,L+=2,Pe!==Ye&&(lt=fe,Ct=Ye)):null===fe||null!==$&&$<fe?(D+=2,lt=$):(L+=2,lt=fe,Ct=Ye),null!==lt&&up(e,t,n,i,lt,Ct,d,_),$=D<r.length?r[D]:null,fe=L<s.length?s[L]:null}}(r,_,d,d[11],d[s+1],d[s+1]=function Zb(e,t,n){if(null==n||""===n)return kt;const i=[],r=ts(n);if(Array.isArray(r))for(let s=0;s<r.length;s++)e(i,r[s],!0);else if("object"==typeof r)for(const s in r)r.hasOwnProperty(s)&&e(i,s,r[s]);else"string"==typeof r&&t(i,r);return i}
1(e,t,n),i,s)}}function ap(e,t){return t>=e.expandoStartIndex}function lp(e,t,n,i){const r=e.data;if(null===r[n+1]){const s=r[Qn()],d=ap(e,n);hp(s,i)&&null===t&&!d&&(t=!1),t=function Wb(e,t,n,i){const r=Mn(e);let s=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=Vo(n=Hc(null,e,t,n,i),t.attrs,i),s=null);else{const d=t.directiveStylingLast;if(-1===d||e[d]!==r)if(n=Hc(r,e,t,n,i),null===s){let D=function $b(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==ns(i))return e[Mr(i)]}(e,t,i);void 0!==D&&Array.isArray(D)&&(D=Hc(null,e,t,D[1],i),D=Vo(D,t.attrs,i),function Kb(e,t,n,i){e[Mr(n?t.classBindings:t.styleBindings)]=i}(e,t,i,D))}else s=function Gb(e,t,n){let i;const r=t.directiveEnd;for(let s=1+t.directiveStylingLast;s<r;s++)i=Vo(i,e[s].hostAttrs,n);return Vo(i,t.attrs,n)}(e,t,i)}return void 0!==s&&(i?t.residualClasses=s:t.residualStyles=s),n}(r,s,t,i),function Fb(e,t,n,i,r,s){let d=s?t.classBindings:t.styleBindings,_=Mr(d),D=ns(d);e[i]=n;let $,L=!1;if(Array.isArray(n)){const fe=n;$=fe[1],(null===$||Vs(fe,$)>0)&&(L=!0)}else $=n;if(r)if(0!==D){const Pe=Mr(e[_+1]);e[i+1]=ma(Pe,_),0!==Pe&&(e[Pe+1]=Rl(e[Pe+1],i)),e[_+1]=function Gy(e,t){return 131071&e|t<<17}(e[_+1],i)}else e[i+1]=ma(_,0),0!==_&&(e[_+1]=Rl(e[_+1],i)),_=i;else e[i+1]=ma(D,0),0===_?_=i:e[D+1]=Rl(e[D+1],i),D=i;L&&(e[i+1]=Pl(e[i+1])),qf(e,$,i,!0),qf(e,$,i,!1),function Lb(e,t,n,i,r){const s=r?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&Vs(s,t)>=0&&(n[i+1]=xl(n[i+1]))}(t,$,e,i,s),d=ma(_,D),s?t.classBindings=d:t.styleBindings=d}(r,s,t,n,d,i)}}function Hc(e,t,n,i,r){let s=null;const d=n.directiveEnd;let _=n.directiveStylingLast;for(-1===_?_=n.directiveStart:_++;_<d&&(s=t[_],i=Vo(i,s.hostAttrs,r),s!==e);)_++;return null!==e&&(n.directiveStylingLast=_),i}function Vo(e,t,n){const i=n?1:2;let r=-1;if(null!==t)for(let s=0;s<t.length;s++){const d=t[s];"number"==typeof d?r=d:r===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Qi(e,d,!!n||t[++s]))}return void 0===e?null:e}function cp(e,t,n){Qi(e,t,ts(n))}function up(e,t,n,i,r,s,d,_){if(!(3&t.type))return;const D=e.data,L=D[_+1];Oa(function Th(e){return 1==(1&e)}(L)?dp(D,t,n,r,ns(L),d):void 0)||(Oa(s)||function Ah(e){return 2==(2&e)}(L)&&(s=dp(D,null,n,r,_,d)),function Ly(e,t,n,i,r){const s=mn(e);if(t)r?s?e.addClass(n,i):n.classList.add(i):s?e.removeClass(n,i):n.classList.remove(i);else{let d=-1===i.indexOf("-")?void 0:Vr.DashCase;if(null==r)s?e.removeStyle(n,i,d):n.style.removeProperty(i);else{const _="string"==typeof r&&r.endsWith("!important");_&&(r=r.slice(0,-10),d|=Vr.Important),s?e.setStyle(n,i,r,d):n.style.setProperty(i,r,_?"important":"")}}}(i,d,c(Qn(),n),r,s))}function dp(e,t,n,i,r,s){const d=null===t;let _;for(;r>0;){const D=e[r],L=Array.isArray(D),$=L?D[1]:D,fe=null===$;let Pe=n[r+1];Pe===en&&(Pe=fe?kt:void 0);let Ye=fe?qa(Pe,i):$===i?Pe:void 0;if(L&&!Oa(Ye)&&(Ye=qa(D,i)),Oa(Ye)&&(_=Ye,d))return _;const lt=e[r+1];r=d?Mr(lt):ns(lt)}if(null!==t){let D=s?t.residualClasses:t.residualStyles;null!=D&&(_=qa(D,i))}return _}function Oa(e){return void 0!==e}function hp(e,t){return 0!=(e.flags&(t?16:32))}function fp(e,t=""){const n=gt(),i=tn(),r=e+20,s=i.firstCreatePass?Ks(i,r,1,t,null):i.data[r],d=n[r]=Dl(n[11],t);pa(i,n,d,s),V(s,!1)}function zc(e){return Aa("",e,""),zc}function Aa(e,t,n){const i=gt(),r=qs(i,e,t,n);return r!==en&&is(i,Qn(),r),Aa}function Wc(e,t,n,i,r){const s=gt(),d=eo(s,e,t,n,i,r);return d!==en&&is(s,Qn(),d),Wc}function $c(e,t,n,i,r,s,d){const _=gt(),D=to(_,e,t,n,i,r,s,d);return D!==en&&is(_,Qn(),D),$c}function Kc(e,t,n,i,r,s,d,_,D){const L=gt(),$=no(L,e,t,n,i,r,s,d,_,D);return $!==en&&is(L,Qn(),$),Kc}function Gc(e,t,n,i,r,s,d,_,D,L,$){const fe=gt(),Pe=io(fe,e,t,n,i,r,s,d,_,D,L,$);return Pe!==en&&is(fe,Qn(),Pe),Gc}function Zc(e,t,n,i,r,s,d,_,D,L,$,fe,Pe){const Ye=gt(),lt=ro(Ye,e,t,n,i,r,s,d,_,D,L,$,fe,Pe);return lt!==en&&is(Ye,Qn(),lt),Zc}function Qc(e,t,n,i,r,s,d,_,D,L,$,fe,Pe,Ye,lt){const Ct=gt(),At=so(Ct,e,t,n,i,r,s,d,_,D,L,$,fe,Pe,Ye,lt);return At!==en&&is(Ct,Qn(),At),Qc}function Yc(e,t,n,i,r,s,d,_,D,L,$,fe,Pe,Ye,lt,Ct,At){const Ft=gt(),pt=oo(Ft,e,t,n,i,r,s,d,_,D,L,$,fe,Pe,Ye,lt,Ct,At);return pt!==en&&is(Ft,Qn(),pt),Yc}function Xc(e){const t=gt(),n=Js(t,e);return n!==en&&is(t,Qn(),n),Xc}function pp(e,t,n){Or(Qi,zr,qs(gt(),e,t,n),!0)}function gp(e,t,n,i,r){Or(Qi,zr,eo(gt(),e,t,n,i,r),!0)}function mp(e,t,n,i,r,s,d){Or(Qi,zr,to(gt(),e,t,n,i,r,s,d),!0)}function _p(e,t,n,i,r,s,d,_,D){Or(Qi,zr,no(gt(),e,t,n,i,r,s,d,_,D),!0)}function yp(e,t,n,i,r,s,d,_,D,L,$){Or(Qi,zr,io(gt(),e,t,n,i,r,s,d,_,D,L,$),!0)}function vp(e,t,n,i,r,s,d,_,D,L,$,fe,Pe){Or(Qi,zr,ro(gt(),e,t,n,i,r,s,d,_,D,L,$,fe,Pe),!0)}function bp(e,t,n,i,r,s,d,_,D,L,$,fe,Pe,Ye,lt){Or(Qi,zr,so(gt(),e,t,n,i,r,s,d,_,D,L,$,fe,Pe,Ye,lt),!0)}function Cp(e,t,n,i,r,s,d,_,D,L,$,fe,Pe,Ye,lt,Ct,At){Or(Qi,zr,oo(gt(),e,t,n,i,r,s,d,_,D,L,$,fe,Pe,Ye,lt,Ct,At),!0)}function Ep(e){Or(Qi,zr,Js(gt(),e),!0)}function Dp(e,t,n){wr(qs(gt(),e,t,n))}function Mp(e,t,n,i,r){wr(eo(gt(),e,t,n,i,r))}function wp(e,t,n,i,r,s,d){wr(to(gt(),e,t,n,i,r,s,d))}
1function Ip(e,t,n,i,r,s,d,_,D){wr(no(gt(),e,t,n,i,r,s,d,_,D))}function Op(e,t,n,i,r,s,d,_,D,L,$){wr(io(gt(),e,t,n,i,r,s,d,_,D,L,$))}function Ap(e,t,n,i,r,s,d,_,D,L,$,fe,Pe){wr(ro(gt(),e,t,n,i,r,s,d,_,D,L,$,fe,Pe))}function Tp(e,t,n,i,r,s,d,_,D,L,$,fe,Pe,Ye,lt){wr(so(gt(),e,t,n,i,r,s,d,_,D,L,$,fe,Pe,Ye,lt))}function Sp(e,t,n,i,r,s,d,_,D,L,$,fe,Pe,Ye,lt,Ct,At){wr(oo(gt(),e,t,n,i,r,s,d,_,D,L,$,fe,Pe,Ye,lt,Ct,At))}function Pp(e){wr(Js(gt(),e))}function Jc(e,t,n,i,r){return Ir(e,qs(gt(),t,n,i),r,!1),Jc}function qc(e,t,n,i,r,s,d){return Ir(e,eo(gt(),t,n,i,r,s),d,!1),qc}function eu(e,t,n,i,r,s,d,_,D){return Ir(e,to(gt(),t,n,i,r,s,d,_),D,!1),eu}function tu(e,t,n,i,r,s,d,_,D,L,$){return Ir(e,no(gt(),t,n,i,r,s,d,_,D,L),$,!1),tu}function nu(e,t,n,i,r,s,d,_,D,L,$,fe,Pe){return Ir(e,io(gt(),t,n,i,r,s,d,_,D,L,$,fe),Pe,!1),nu}function iu(e,t,n,i,r,s,d,_,D,L,$,fe,Pe,Ye,lt){return Ir(e,ro(gt(),t,n,i,r,s,d,_,D,L,$,fe,Pe,Ye),lt,!1),iu}function ru(e,t,n,i,r,s,d,_,D,L,$,fe,Pe,Ye,lt,Ct,At){return Ir(e,so(gt(),t,n,i,r,s,d,_,D,L,$,fe,Pe,Ye,lt,Ct),At,!1),ru}function su(e,t,n,i,r,s,d,_,D,L,$,fe,Pe,Ye,lt,Ct,At,Ft,pt){return Ir(e,oo(gt(),t,n,i,r,s,d,_,D,L,$,fe,Pe,Ye,lt,Ct,At,Ft),pt,!1),su}function ou(e,t,n){return Ir(e,Js(gt(),t),n,!1),ou}function au(e,t,n){const i=gt();return Ii(i,bt(),t)&&Yi(tn(),Dt(),i,e,t,i[11],n,!0),au}function lu(e,t,n){const i=gt();if(Ii(i,bt(),t)){const s=tn(),d=Dt();Yi(s,d,i,e,t,tf(Mn(s.data),d,i),n,!0)}return lu}const Ds=void 0;var Jb=["en",[["a","p"],["AM","PM"],Ds],[["AM","PM"],Ds,Ds],[["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"]],Ds,[["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"]],Ds,[["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}",Ds,"{1} 'at' {0}",Ds],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Xb(e){const n=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===i?1:5}];let co={};function qb(e,t,n){"string"!=typeof t&&(n=t,t=e[Gt.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),co[t]=e,n&&(co[t][Gt.ExtraData]=n)}function cu(e){const t=function nC(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=xp(t);if(n)return n;const i=t.split("-")[0];if(n=xp(i),n)return n;if("en"===i)return Jb;throw new Error(`Missing locale data for the locale "${e}".`)}function eC(e){return cu(e)[Gt.CurrencyCode]||null}function Rp(e){return cu(e)[Gt.PluralCase]}function xp(e){return e in co||(co[e]=Lt.ng&&Lt.ng.common&&Lt.ng.common.locales&&Lt.ng.common.locales[e]),co[e]}function tC(){co={}}var Gt=(()=>((Gt=Gt||{})[Gt.LocaleId=0]="LocaleId",Gt[Gt.DayPeriodsFormat=1]="DayPeriodsFormat",Gt[Gt.DayPeriodsStandalone=2]="DayPeriodsStandalone",Gt[Gt.DaysFormat=3]="DaysFormat",Gt[Gt.DaysStandalone=4]="DaysStandalone",Gt[Gt.MonthsFormat=5]="MonthsFormat",Gt[Gt.MonthsStandalone=6]="MonthsStandalone",Gt[Gt.Eras=7]="Eras",Gt[Gt.FirstDayOfWeek=8]="FirstDayOfWeek",Gt[Gt.WeekendRange=9]="WeekendRange",Gt[Gt.DateFormat=10]="DateFormat",Gt[Gt.TimeFormat=11]="TimeFormat",Gt[Gt.DateTimeFormat=12]="DateTimeFormat",Gt[Gt.NumberSymbols=13]="NumberSymbols",Gt[Gt.NumberFormats=14]="NumberFormats",Gt[Gt.CurrencyCode=15]="CurrencyCode",Gt[Gt.CurrencySymbol=16]="CurrencySymbol",Gt[Gt.CurrencyName=17]="CurrencyName",Gt[Gt.Currencies=18]="Currencies",Gt[Gt.Directionality=19]="Directionality",Gt[Gt.PluralCase=20]="PluralCase",Gt[Gt.ExtraData=21]="ExtraData",Gt))();const iC=["zero","one","two","few","many"],Uo="en-US",Ta={marker:"element"},Sa={marker:"ICU"};var Un=(()=>((Un=Un||{})[Un.SHIFT=2]="SHIFT",Un[Un.APPEND_EAGERLY=1]="APPEND_EAGERLY",Un[Un.COMMENT=2]="COMMENT",Un))();let Fp=Uo;function Lp(e){(function _t(e,t){null==e&&we(t,e,null,"!=")})(e,"Expected localeId to be defined"),"string"==typeof e&&(Fp=e.toLowerCase().replace(/_/g,"-"))}
1function kp(e,t,n){const i=t.insertBeforeIndex,r=Array.isArray(i)?i[0]:i;return null===r?fh(e,0,n):T(n[r])}function Np(e,t,n,i,r){const s=t.insertBeforeIndex;if(Array.isArray(s)){let d=i,_=null;if(3&t.type||(_=d,d=r),null!==d&&0==(2&t.flags))for(let D=1;D<s.length;D++)Cs(e,d,n[s[D]],_,!1)}}function jp(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){const i=e[n];Bp(i)||aC(i,t)&&null===lC(i)&&cC(i,t.index)}}function Bp(e){return!(64&e.type)}function aC(e,t){return Bp(t)||e.index>t.index}function lC(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function cC(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(gh(kp,Np),e.insertBeforeIndex=t)}function Ho(e,t){const n=e.data[t];return null===n||"string"==typeof n?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function hC(e,t,n){const i=Hl(e,n,64,null,null);return jp(t,i),i}function Pa(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}function Vp(e){return e>>>17}function Up(e){return(131070&e)>>>1}let zo=0,Wo=0;function zp(e,t,n,i){const r=n[11];let d,s=null;for(let _=0;_<t.length;_++){const D=t[_];if("string"==typeof D){const L=t[++_];null===n[L]&&(n[L]=Dl(r,D))}else if("number"==typeof D)switch(1&D){case 0:const L=Vp(D);let $,fe;if(null===s&&(s=L,d=fa(r,i)),L===s?($=i,fe=d):($=null,fe=T(n[L])),null!==fe){const Ct=Up(D);Cs(r,fe,n[Ct],$,!1);const Ft=Ho(e,Ct);if(null!==Ft&&"object"==typeof Ft){const pt=Pa(Ft,n);null!==pt&&zp(e,Ft.create[pt],n,n[Ft.anchorIdx])}}break;case 1:const Ye=t[++_],lt=t[++_];Kl(r,c(D>>>1,n),null,null,Ye,lt,null);break;default:throw new Error(`Unable to determine the type of mutate operation for "${D}"`)}else switch(D){case Sa:const L=t[++_],$=t[++_];null===n[$]&&wi(n[$]=Ey(r,L),n);break;case Ta:const fe=t[++_],Pe=t[++_];null===n[Pe]&&wi(n[Pe]=Ml(r,fe,null),n)}}}function Wp(e,t,n,i,r){for(let s=0;s<n.length;s++){const d=n[s],_=n[++s];if(d&r){let D="";for(let L=s+1;L<=s+_;L++){const $=n[L];if("string"==typeof $)D+=$;else if("number"==typeof $)if($<0)D+=ke(t[i-$]);else{const fe=$>>>2;switch(3&$){case 1:const Pe=n[++L],Ye=n[++L],lt=e.data[fe];"string"==typeof lt?Kl(t[11],t[fe],null,lt,Pe,D,Ye):Yi(e,lt,t,Pe,D,t[11],Ye,!1);break;case 0:const Ct=t[fe];null!==Ct&&sh(t[11],Ct,D);break;case 2:_C(e,Ho(e,fe),t,D);break;case 3:$p(e,Ho(e,fe),i,t)}}}}else{const D=n[s+1];if(D>0&&3==(3&D)){const $=Ho(e,D>>>2);t[$.currentCaseLViewIndex]<0&&$p(e,$,i,t)}}s+=_}}function $p(e,t,n,i){let r=i[t.currentCaseLViewIndex];if(null!==r){let s=zo;r<0&&(r=i[t.currentCaseLViewIndex]=~r,s=-1),Wp(e,i,t.update[r],n,s)}}function _C(e,t,n,i){const r=function yC(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const i=function rC(e,t){const n=Rp(t)(parseInt(e,10)),i=iC[n];return void 0!==i?i:"other"}(t,function oC(){return Fp}());n=e.cases.indexOf(i),-1===n&&"other"!==i&&(n=e.cases.indexOf("other"));break}case 0:n=e.cases.indexOf("other")}return-1===n?null:n}(t,i);if(Pa(t,n)!==r&&(Kp(e,t,n),n[t.currentCaseLViewIndex]=null===r?null:~r,null!==r)){const d=n[t.anchorIdx];d&&zp(e,t.create[r],n,d)}}function Kp(e,t,n){let i=Pa(t,n);if(null!==i){const r=t.remove[i];for(let s=0;s<r.length;s++){const d=r[s];if(d>0){const _=c(d,n);null!==_&&_h(n[11],_)}else Kp(e,Ho(e,~d),n)}}}function vC(){const e=[];let n,i,t=-1;function s(_,D){t=0;const L=Pa(_,D);i=null!==L?_.remove[L]:kt}function d(){if(t<i.length){const _=i[t++];return _>0?n[_]:(e.push(t,i),s(n[1].data[~_],n),d())}return 0===e.length?null:(i=e.pop(),t=e.pop(),d())}return function r(_,D){for(n=D;e.length;)e.pop();return s(_.value,D),d}}const Ra=/\ufffd(\d+):?\d*\ufffd/gi,bC=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,CC=/\ufffd(\d+)\ufffd/,Zp=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,EC=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,DC=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,MC=/\uE500/g;function Qp(e,t,n,i,r,s,d){const _=Gs(e,i,1,null);let D=_<<Un.SHIFT,L=os();t===L&&(L=null),null===L&&(D|=Un.APPEND_EAGERLY),d&&(D|=Un.COMMENT,function Cy(e){void 0===vl&&(vl=e())}(vC)),r.push(D,null===s?"":s);const $=Hl(e,_,d?32:1,null===s?"":s,null);jp(n,$);const fe=$.index;return V($,!1),null!==L&&t!==L&&function dC(e,t){let n=e.insertBeforeIndex;null===n?(gh(kp,Np),n=e.insertBeforeIndex=[null,t]):(function Fe(e,t,n){e!=t&&we(n,e,t,"==")}(Array.isArray(n),!0,"Expecting array here"),n.push(t))}(L,fe),$}function OC(e,t,n,i,r,s,d){const _=d.match(Ra),D=Qp(e,t,n,s,i,_?null:d,!1);_&&uo(r,d,D.index,null,0,null)}function uo(e,t,n,i,r,s){const d=e.length,_=d+1;e.push(null,null);const D=d+2,L=t.split(Ra);let $=0;for(let fe=0;fe<L.length;fe++){const Pe=L[fe];if(1&fe){const Ye=r+parseInt(Pe,10);e.push(-1-Ye),$|=Yp(Ye)}else""!==Pe&&e.push(Pe)}return e.push(n<<2|(i?1:0)),i&&e.push(i,s),e[d]=$,e[_]=e.length-D,$}function TC(e){let t=0;for(let n=0;n<e.length;n++){const i=e[n];"number"==typeof i&&i<0&&t++}return t}function Yp(e){return 1<<Math.min(e,31)}function Xp(e){let t,s,n="",i=0,r=!1;for(;null!==(t=EC.exec(e));)r?t[0]===`\ufffd/*${s}\ufffd`&&(i=t.index,r=!1):(n+=e.substring(i,t.index+t[0].length),s=t[1],r=!0);return n+=e.substr(i),n}function Jp(e,t,n,i,r,s){let d=0;const _={type:r.type,currentCaseLViewIndex:Gs(e,t,1,null),anchorIdx:s,cases:[],create:[],remove:[],update:[]};(function LC(e,t,n){e.push(Yp(t.mainBinding),2,-1-t.mainBinding,n<<2|2)})(n,r,s),function uC(e,t,n){const i=e.data[t];null===i?e.data[t]=n:i.value=n}(e,s,_);const D=r.values;for(let L=0;L<D.length;L++){const $=D[L],fe=[];for(let Pe=0;Pe<$.length;Pe++){const Ye=$[Pe];if("string"!=typeof Ye){const lt=fe.push(Ye)-1;$[Pe]=`\x3c!--\ufffd${lt}\ufffd--\x3e`}}d=xC(e,_,t,n,i,r.cases[L],$.join(""),fe)|d}d&&function kC(e,t,n){e.push(t,1,n<<2|3)}(n,d,s)}function RC(e){const t=[],n=[];let i=1,r=0;const s=uu(e=e.replace(Zp,function(d,_,D){return i="select"===D?0:1,r=parseInt(_.substr(1),10),""}));for(let d=0;d<s.length;){let _=s[d++].trim();1===i&&(_=_.replace(/\s*(?:=)?(\w+)\s*/,"$1")),_.length&&t.push(_);const D=uu(s[d++]);t.length>n.length&&n.push(D)}return{type:i,mainBinding:r,cases:t,values:n}}function uu(e){if(!e)return[];let t=0;const n=[],i=[],r=/[{}]/g;let s;for(r.lastIndex=0;s=r.exec(e);){const _=s.index;if("}"==s[0]){if(n.pop(),0==n.length){const D=e.substring(t,_);Zp.test(D)?i.push(RC(D)):i.push(D),t=_+1}}else{if(0==n.length){const D=e.substring(t,_);i.push(D),t=_+1}n.push("{")}}const d=e.substring(t);return i.push(d),i}function xC(e,t,n,i,r,s,d,_){const D=[],L=[],$=[];t.cases.push(s),t.create.push(D),t.remove.push(L),t.update.push($);const Pe=Ad(Pi()).getInertBodyElement(d),Ye=hl(Pe)||Pe;return Ye?qp(e,t,n,i,D,L,$,Ye,r,_,0):0}function qp(e,t,n,i,r,s,d,_,D,L,$){let fe=0,Pe=_.firstChild;for(;Pe;){const Ye=Gs(e,n,1,null);switch(Pe.nodeType){case Node.ELEMENT_NODE:const lt=Pe,Ct=lt.tagName.toLowerCase();if(cl.hasOwnProperty(Ct)){du(r,Ta,Ct,D,Ye),e.data[Ye]=Ct;const Wt=lt.attributes;for(let ln=0;ln<Wt.length;ln++){const Cn=Wt.item(ln),qi=Cn.name.toLowerCase();Cn.value.match(Ra)?xd.hasOwnProperty(qi)&&uo(d,Cn.value,Ye,Cn.name,0,ul[qi]?Io:dl[qi]?Td:null):NC(r,Ye,Cn)}fe=qp(e,t,n,i,r,s,d,Pe,Ye,L,$+1)|fe,eg(s,Ye,$)}break;case Node.TEXT_NODE:const At=Pe.textContent||"",Ft=At.match(Ra);du(r,null,Ft?"":At,D,Ye),eg(s,Ye,$),Ft&&(fe=uo(d,At,Ye,null,0,null)|fe);break;case Node.COMMENT_NODE:const pt=CC.exec(Pe.textContent||"");if(pt){const ln=L[parseInt(pt[1],10)];du(r,Sa,"",D,Ye),Jp(e,n,i,D,ln,Ye),FC(s,Ye,$)}}Pe=Pe.nextSibling}return fe}function eg(e,t,n){0===n&&e.push(t)}function FC(e,t,n){0===n&&(e.push(~t),e.push(t))}function du(e,t,n,i,r){null!==t&&e.push(t),e.push(n,r,function fC(e,t,n
1){return e|t<<17|n<<1}(0,i,r))}function NC(e,t,n){e.push(t<<1|1,n.name,n.value)}const jC=/\[(\ufffd.+?\ufffd?)\]/,BC=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,VC=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,UC=/{([A-Z0-9_]+)}/g,HC=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,zC=/\/\*/,WC=/\d+\:(\d+)/;function hu(e,t,n=-1){const i=tn(),r=gt(),s=20+e,d=_n(i.consts,t),_=os();i.firstCreatePass&&function IC(e,t,n,i,r,s){const d=os(),_=[],D=[],L=[[]];r=function PC(e,t){if(function SC(e){return-1===e}(t))return Xp(e);{const n=e.indexOf(`:${t}\ufffd`)+2+t.toString().length,i=e.search(new RegExp(`\ufffd\\/\\*\\d+:${t}\ufffd`));return Xp(e.substring(n,i))}}(r,s);const $=function wC(e){return e.replace(MC," ")}(r).split(DC);for(let fe=0;fe<$.length;fe++){let Pe=$[fe];if(0==(1&fe)){const Ye=uu(Pe);for(let lt=0;lt<Ye.length;lt++){let Ct=Ye[lt];if(0==(1&lt)){const At=Ct;""!==At&&OC(e,d,L[0],_,D,n,At)}else{const At=Ct;if("object"!=typeof At)throw new Error(`Unable to parse ICU expression in "${r}" message.`);Jp(e,n,D,t,At,Qp(e,d,L[0],n,_,"",!0).index)}}}else{const Ye=47===Pe.charCodeAt(0),Ct=(Pe.charCodeAt(Ye?1:0),20+Number.parseInt(Pe.substring(Ye?2:1)));if(Ye)L.shift(),V(os(),!1);else{const At=hC(e,L[0],Ct);L.unshift([]),V(At,!0)}}}e.data[i]={create:_,update:D}}(i,null===_?0:_.index,r,s,d,n);const D=i.data[s],$=ch(i,_===r[6]?null:_,r);(function mC(e,t,n,i){const r=e[11];for(let s=0;s<t.length;s++){const d=t[s++],_=t[s],D=(d&Un.COMMENT)===Un.COMMENT,L=(d&Un.APPEND_EAGERLY)===Un.APPEND_EAGERLY,$=d>>>Un.SHIFT;let fe=e[$];null===fe&&(fe=e[$]=D?r.createComment(_):Dl(r,_)),L&&null!==n&&Cs(r,n,fe,i,!1)}})(r,D.create,$,_&&8&_.type?r[_.index]:null),sn(!0)}function fu(){sn(!1)}function ng(e,t,n){hu(e,t,n),fu()}function ig(e,t){const n=tn();!function AC(e,t,n){const r=kn().index,s=[];if(e.firstCreatePass&&null===e.data[t]){for(let d=0;d<n.length;d+=2){const _=n[d],D=n[d+1];if(""!==D){if(bC.test(D))throw new Error(`ICU expressions are not supported in attributes. Message: "${D}".`);uo(s,D,r,_,TC(s),null)}}e.data[t]=s}}(n,e+20,_n(n.consts,t))}function pu(e){return function pC(e){e&&(zo|=1<<Math.min(Wo,31)),Wo++}(Ii(gt(),bt(),e)),pu}function rg(e){!function gC(e,t,n){if(Wo>0){const i=e.data[n];Wp(e,t,Array.isArray(i)?i:i.update,Ge()-Wo-1,zo)}zo=0,Wo=0}(tn(),gt(),e+20)}function sg(e,t={}){return function $C(e,t={}){let n=e;if(jC.test(e)){const i={},r=[0];n=n.replace(BC,(s,d,_)=>{const D=d||_,L=i[D]||[];if(L.length||(D.split("|").forEach(Ct=>{const At=Ct.match(WC),Ft=At?parseInt(At[1],10):0,pt=zC.test(Ct);L.push([Ft,pt,Ct])}),i[D]=L),!L.length)throw new Error(`i18n postprocess: unmatched placeholder - ${D}`);const $=r[r.length-1];let fe=0;for(let Ct=0;Ct<L.length;Ct++)if(L[Ct][0]===$){fe=Ct;break}const[Pe,Ye,lt]=L[fe];return Ye?r.pop():$!==Pe&&r.push(Pe),L.splice(fe,1),lt})}return Object.keys(t).length&&(n=n.replace(VC,(i,r,s,d,_,D)=>t.hasOwnProperty(s)?`${r}${t[s]}${D}`:i),n=n.replace(UC,(i,r)=>t.hasOwnProperty(r)?t[r]:i),n=n.replace(HC,(i,r)=>{if(t.hasOwnProperty(r)){const s=t[r];if(!s.length)throw new Error(`i18n postprocess: unmatched ICU - ${i} with key: ${r}`);return s.shift()}return i})),n}(e,t)}function gu(e,t,n,i,r){if(e=C(e),Array.isArray(e))for(let s=0;s<e.length;s++)gu(e[s],t,n,i,r);else{const s=tn(),d=gt();let _=Ys(e)?e:C(e.provide),D=df(e);const L=kn(),$=1048575&L.providerIndexes,fe=L.directiveStart,Pe=L.providerIndexes>>20;if(Ys(e)||!e.multi){const Ye=new lr(D,r,Bo),lt=_u(_,t,r?$:$+Pe,fe);-1===lt?(at(F(L,d),s,_),mu(s,e,t.length),t.push(_),L.directiveStart++,L.directiveEnd++,r&&(L.providerIndexes+=1048576),n.push(Ye),d.push(Ye)):(n[lt]=Ye,d[lt]=Ye)}else{const Ye=_u(_,t,$+Pe,fe),lt=_u(_,t,$,$+Pe),Ct=Ye>=0&&n[Ye],At=lt>=0&&n[lt];if(r&&!At||!r&&!Ct){at(F(L,d),s,_);const Ft=function QC(e,t,n,i,r){const s=new lr(e,n,Bo);return s.multi=[],s.index=t,s.componentProviders=0,og(s,r,i&&!n),s}(r?ZC:GC,n.length,r,i,D);!r&&At&&(n[lt].providerFactory=Ft),mu(s,e,t.length,0),t.push(_),L.directiveStart++,L.directiveEnd++,r&&(L.providerIndexes+=1048576),n.push(Ft),d.push(Ft)}else mu(s,e,Ye>-1?Ye:lt,og(n[r?lt:Ye],D,!r&&i));!r&&i&&At&&n[lt].componentProviders++}}}function mu(e,t,n,i){const r=Ys(t),s=function jv(e){return!!e.useClass}(t);if(r||s){const D=(s?C(t.useClass):t).prototype.ngOnDestroy;if(D){const L=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){const $=L.indexOf(n);-1===$?L.push(n,[i,D]):L[$+1].push(i,D)}else L.push(n,D)}}}function og(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function _u(e,t,n,i){for(let r=n;r<i;r++)if(t[r]===e)return r;return-1}function GC(e,t,n,i){return yu(this.multi,[])}function ZC(e,t,n,i){const r=this.multi;let s;if(this.providerFactory){const d=this.providerFactory.componentProviders,_=Vi(n,n[1],this.providerFactory.index,i);s=_.slice(0,d),yu(r,s);for(let D=d;D<_.length;D++)s.push(_[D])}else s=[],yu(r,s);return s}function yu(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function ag(e,t=[]){return n=>{n.providersResolver=(i,r)=>function KC(e,t,n){const i=tn();if(i.firstCreatePass){const r=Rn(e);gu(n,i.data,i.blueprint,r,!0),gu(t,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,t)}}class lg{}class xa{}
1class XC{resolveComponentFactory(t){throw function YC(e){const t=Error(`No component factory found for ${ee(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Ko=(()=>{class e{}return e.NULL=new XC,e})();function JC(){return ho(kn(),gt())}function ho(e,t){return new Go(w(e,t))}let Go=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=JC,e})();function qC(e){return e instanceof Go?e.nativeElement:e}class ug{}let eE=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function nE(){const e=gt(),n=Ut(kn().index,e);return function tE(e){return e[11]}(Fn(n)?n:e)}(),e})(),dg=(()=>{class e{}return e.\u0275prov=Be({token:e,providedIn:"root",factory:()=>null}),e})();class hg{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const fg=new hg("13.0.3"),Fa={};function La(e,t,n,i,r=!1){for(;null!==n;){const s=t[n.index];if(null!==s&&i.push(T(s)),Pn(s))for(let _=10;_<s.length;_++){const D=s[_],L=D[1].firstChild;null!==L&&La(D[1],D,L,i)}const d=n.type;if(8&d)La(e,t,n.child,i);else if(32&d){const _=bl(n,t);let D;for(;D=_();)i.push(D)}else if(16&d){const _=mh(t,n);if(Array.isArray(_))i.push(..._);else{const D=Po(t[16]);La(D[1],D,_,i,!0)}}n=r?n.projectionNext:n.next}return i}class fo{constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,n=t[1];return La(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(Pn(t)){const n=t[8],i=n?n.indexOf(this):-1;i>-1&&(wl(t,i),sa(n,i))}this._attachedToViewContainer=!1}ah(this._lView[1],this._lView)}onDestroy(t){zh(this._lView[1],this._lView,null,t)}markForCheck(){Zl(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Yl(this._lView[1],this._lView,this.context)}checkNoChanges(){!function Tv(e,t,n){Ce(!0);try{Yl(e,t,n)}finally{Ce(!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(){this._appRef=null,function wy(e,t){Ro(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class iE extends fo{constructor(t){super(t),this._view=t}detectChanges(){Jh(this._view)}checkNoChanges(){!function Sv(e){Ce(!0);try{Jh(e)}finally{Ce(!1)}}(this._view)}get context(){return null}}class pg extends Ko{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=tt(t);return new ka(n,this.ngModule)}}function gg(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const sE=new Vn("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Yd});class ka extends xa{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function $y(e){return e.map(Wy).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return gg(this.componentDef.inputs)}get outputs(){return gg(this.componentDef.outputs)}create(t,n,i,r){const s=(r=r||this.ngModule)?function oE(e,t){return{get:(n,i,r)=>{const s=e.get(n,Fa,r);return s!==Fa||i===Fa?s:t.get(n,i,r)}}}(t,r.injector):t,d=s.get(ug,Xr),_=s.get(dg,null),D=d.createRenderer(null,this.componentDef),L=this.componentDef.selectors[0][0]||"div",$=i?Hh(D,i,this.componentDef.encapsulation):Ml(d.createRenderer(null,this.componentDef),L,function rE(e){const t=e.toLowerCase();return"svg"===t?Wi:"math"===t?qn:null}(L)),fe=this.componentDef.onPush?576:528,Pe=Df(),Ye=va(0,null,null,1,0,null,null,null,null,null),lt=xo(null,Ye,Pe,fe,null,null,d,D,_,s);let Ct,At;ei(lt);try{const Ft=Cf($,this.componentDef,lt,d,D);if($)if(i)Ts(D,$,["ng-version",fg.full]);else{const{attrs:pt,classes:Wt}=function Ky(e){const t=[],n=[];let i=1,r=2;for(;i<e.length;){let s=e[i];if("string"==typeof s)2===r?""!==s&&t.push(s,e[++i]):8===r&&n.push(s);else{if(!Dr(r))break;r=s}i++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);pt&&Ts(D,$,pt),Wt&&Wt.length>0&&Sl(D,$,Wt.join(" "))}if(At=et(Ye,20),void 0!==n){const pt=At.projection=[];for(let Wt=0;Wt<this.ngContentSelectors.length;Wt++){const ln=n[Wt];pt.push(null!=ln?Array.from(ln):null)}}Ct=Ef(Ft,this.componentDef,lt,Pe,[Mf]),Fo(Ye,lt,null)}finally{Lr()}return new mg(this.componentType,Ct,ho(At,lt),lt,At)}}class mg extends lg{constructor(t,n,i,r,s){super(),this.location=i,this._rootLView=r,this._tNode=s,this.instance=n,this.hostView=this.changeDetectorRef=new iE(r),this.componentType=t}get injector(){return new us(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function _g(e,t,n,i){return x(()=>{const r=e;null!==t&&(r.hasOwnProperty("decorators")&&void 0!==r.decorators?r.decorators.push(...t):r.decorators=t),null!==n&&(r.ctorParameters=n),null!==i&&(r.propDecorators=r.hasOwnProperty("propDecorators")&&void 0!==r.propDecorators?Object.assign(Object.assign({},r.propDecorators),i):i)})}class po{}class yg{}const go=new Map;function bg(e){const t=new Set;!function n(i){const r=Zt(i,!0),s=r.id;if(null!==s){(function vg(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${ee(t)} vs ${ee(t.name)}`)})(s,go.get(s),i),go.set(s,i)}const d=Br(r.imports);for(const _ of d)t.has(_)||(t.add(_),n(_))}(e)}function Cg(e){return go.get(e)||q[e]}function lE(e,t){return new vu(e,null!=t?t:null)}class vu extends po{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new pg(this);const i=Zt(t);this._bootstrapComponents=Br(i.bootstrap),this._r3Injector=uf(t,n,[{provide:po,useValue:this},{provide:Ko,useValue:this.componentFactoryResolver}],ee(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=Xi.THROW_IF_NOT_FOUND,i=De.Default){return t===Xi||t===po||t===Ea?this:this._r3Injector.get(t,n,i)}destroy(){const t=this._r3Injector;
1!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Na extends yg{constructor(t){super(),this.moduleType=t,null!==Zt(t)&&bg(t)}create(t){return new vu(this.moduleType,t)}}function Eg(e,t,n){const i=Me()+e,r=gt();return r[i]===en?Hr(r,i,n?t.call(n):t()):No(r,i)}function Dg(e,t,n,i){return Rg(gt(),Me(),e,t,n,i)}function Mg(e,t,n,i,r){return xg(gt(),Me(),e,t,n,i,r)}function wg(e,t,n,i,r,s){return Fg(gt(),Me(),e,t,n,i,r,s)}function Ig(e,t,n,i,r,s,d){return Lg(gt(),Me(),e,t,n,i,r,s,d)}function Og(e,t,n,i,r,s,d,_){const D=Me()+e,L=gt(),$=hr(L,D,n,i,r,s);return Ii(L,D+4,d)||$?Hr(L,D+5,_?t.call(_,n,i,r,s,d):t(n,i,r,s,d)):No(L,D+5)}function Ag(e,t,n,i,r,s,d,_,D){const L=Me()+e,$=gt(),fe=hr($,L,n,i,r,s);return Es($,L+4,d,_)||fe?Hr($,L+6,D?t.call(D,n,i,r,s,d,_):t(n,i,r,s,d,_)):No($,L+6)}function Tg(e,t,n,i,r,s,d,_,D,L){const $=Me()+e,fe=gt();let Pe=hr(fe,$,n,i,r,s);return Ma(fe,$+4,d,_,D)||Pe?Hr(fe,$+7,L?t.call(L,n,i,r,s,d,_,D):t(n,i,r,s,d,_,D)):No(fe,$+7)}function Sg(e,t,n,i,r,s,d,_,D,L,$){const fe=Me()+e,Pe=gt(),Ye=hr(Pe,fe,n,i,r,s);return hr(Pe,fe+4,d,_,D,L)||Ye?Hr(Pe,fe+8,$?t.call($,n,i,r,s,d,_,D,L):t(n,i,r,s,d,_,D,L)):No(Pe,fe+8)}function Pg(e,t,n,i){return kg(gt(),Me(),e,t,n,i)}function Zo(e,t){const n=e[t];return n===en?void 0:n}function Rg(e,t,n,i,r,s){const d=t+n;return Ii(e,d,r)?Hr(e,d+1,s?i.call(s,r):i(r)):Zo(e,d+1)}function xg(e,t,n,i,r,s,d){const _=t+n;return Es(e,_,r,s)?Hr(e,_+2,d?i.call(d,r,s):i(r,s)):Zo(e,_+2)}function Fg(e,t,n,i,r,s,d,_){const D=t+n;return Ma(e,D,r,s,d)?Hr(e,D+3,_?i.call(_,r,s,d):i(r,s,d)):Zo(e,D+3)}function Lg(e,t,n,i,r,s,d,_,D){const L=t+n;return hr(e,L,r,s,d,_)?Hr(e,L+4,D?i.call(D,r,s,d,_):i(r,s,d,_)):Zo(e,L+4)}function kg(e,t,n,i,r,s){let d=t+n,_=!1;for(let D=0;D<r.length;D++)Ii(e,d++,r[D])&&(_=!0);return _?Hr(e,d,i.apply(s,r)):Zo(e,d)}function Ng(e,t){const n=tn();let i;const r=e+20;n.firstCreatePass?(i=function cE(e,t){if(t)for(let n=t.length-1;n>=0;n--){const i=t[n];if(e===i.name)return i}}(t,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(r,i.onDestroy)):i=n.data[r];const s=i.factory||(i.factory=Jn(i.type)),d=P(Bo);try{const _=xs(!1),D=s();return xs(_),Tf(n,gt(),r,D),D}finally{P(d)}}function jg(e,t,n){const i=e+20,r=gt(),s=Et(r,i);return Qo(r,i)?Rg(r,Me(),t,s.transform,n,s):s.transform(n)}function Bg(e,t,n,i){const r=e+20,s=gt(),d=Et(s,r);return Qo(s,r)?xg(s,Me(),t,d.transform,n,i,d):d.transform(n,i)}function Vg(e,t,n,i,r){const s=e+20,d=gt(),_=Et(d,s);return Qo(d,s)?Fg(d,Me(),t,_.transform,n,i,r,_):_.transform(n,i,r)}function Ug(e,t,n,i,r,s){const d=e+20,_=gt(),D=Et(_,d);return Qo(_,d)?Lg(_,Me(),t,D.transform,n,i,r,s,D):D.transform(n,i,r,s)}function Hg(e,t,n){const i=e+20,r=gt(),s=Et(r,i);return Qo(r,i)?kg(r,Me(),t,s.transform,n,s):s.transform.apply(s,n)}function Qo(e,t){return e[1].data[t].pure}function bu(e){return t=>{setTimeout(e,void 0,t)}}const Wr=class uE extends a.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,i){var r,s,d;let _=t,D=n||(()=>null),L=i;if(t&&"object"==typeof t){const fe=t;_=null===(r=fe.next)||void 0===r?void 0:r.bind(fe),D=null===(s=fe.error)||void 0===s?void 0:s.bind(fe),L=null===(d=fe.complete)||void 0===d?void 0:d.bind(fe)}this.__isAsync&&(D=bu(D),_&&(_=bu(_)),L&&(L=bu(L)));const $=super.subscribe({next:_,error:D,complete:L});return t instanceof f.w0&&t.add($),$}};function dE(){return this._results[Xs()]()}class ja{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=Xs(),i=ja.prototype;i[n]||(i[n]=dE)}get changes(){return this._changes||(this._changes=new Wr)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const i=this;i.dirty=!1;const r=ur(t);(this._changesDetected=!function h_(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let r=e[i],s=t[i];if(n&&(r=n(r),s=n(s)),s!==r)return!1}return!0}
1(i._results,r,n))&&(i._results=r,i.length=r.length,i.last=r[this.length-1],i.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()}}Symbol;let Yo=(()=>{class e{}return e.__NG_ELEMENT_ID__=pE,e})();const hE=Yo,fE=class extends hE{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}createEmbeddedView(t){const n=this._declarationTContainer.tViews,i=xo(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null);i[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(i[19]=s.createEmbeddedView(n)),Fo(n,i,t),new fo(i)}};function pE(){return Ba(kn(),gt())}function Ba(e,t){return 4&e.type?new fE(t,e,ho(e,t)):null}let Va=(()=>{class e{}return e.__NG_ELEMENT_ID__=gE,e})();function gE(){return $g(kn(),gt())}const mE=Va,zg=class extends mE{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return ho(this._hostTNode,this._hostLView)}get injector(){return new us(this._hostTNode,this._hostLView)}get parentInjector(){const t=Re(this._hostTNode,this._hostLView);if(ia(t)){const n=cs(t,this._hostLView),i=kr(t);return new us(n[1].data[i+8],n)}return new us(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Wg(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,i){const r=t.createEmbeddedView(n||{});return this.insert(r,i),r}createComponent(t,n,i,r,s){const d=t&&!bo(t);let _;if(d)_=n;else{const fe=n||{};_=fe.index,i=fe.injector,r=fe.projectableNodes,s=fe.ngModuleRef}const D=d?t:new ka(tt(t)),L=i||this.parentInjector;if(!s&&null==D.ngModule&&L){const fe=L.get(po,null);fe&&(s=fe)}const $=D.create(L,r,void 0,s);return this.insert($.hostView,_),$}insert(t,n){const i=t._lView,r=i[1];if(function on(e){return Pn(e[3])}(i)){const $=this.indexOf(t);if(-1!==$)this.detach($);else{const fe=i[3],Pe=new zg(fe,fe[6],fe[3]);Pe.detach(Pe.indexOf(t))}}const s=this._adjustIndex(n),d=this._lContainer;!function Oy(e,t,n,i){const r=10+i,s=n.length;i>0&&(n[r-1][4]=t),i<s-10?(t[4]=n[r],fd(n,10+i,t)):(n.push(t),t[4]=null),t[3]=n;const d=t[17];null!==d&&n!==d&&function Ay(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(d,t);const _=t[19];null!==_&&_.insertView(e),t[2]|=128}(r,i,d,s);const _=Al(s,d),D=i[11],L=fa(D,d[7]);return null!==L&&function My(e,t,n,i,r,s){i[0]=r,i[6]=t,Ro(e,i,n,1,r,s)}(r,d[6],D,i,L,_),t.attachToViewContainerRef(),fd(Cu(d),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Wg(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),i=wl(this._lContainer,n);i&&(sa(Cu(this._lContainer),n),ah(i[1],i))}detach(t){const n=this._adjustIndex(t,-1),i=wl(this._lContainer,n);return i&&null!=sa(Cu(this._lContainer),n)?new fo(i):null}_adjustIndex(t,n=0){return null==t?this.length+n:t}};function Wg(e){return e[8]}function Cu(e){return e[8]||(e[8]=[])}function $g(e,t){let n;const i=t[e.index];if(Pn(i))n=i;else{let r;if(8&e.type)r=T(i);else{const s=t[11];r=s.createComment("");const d=w(e,t);Cs(s,fa(s,d),r,function Ry(e,t){return mn(e)?e.nextSibling(t):t.nextSibling}(s,d),!1)}t[e.index]=n=Xh(i,t,r,e),ba(t,n)}return new zg(n,e,t)}class Eu{constructor(t){this.queryList=t,this.matches=null}clone(){return new Eu(this.queryList)}setDirty(){this.queryList.setDirty()}}class Du{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const i=null!==t.contentQueries?t.contentQueries[0]:n.length,r=[];for(let s=0;s<i;s++){const d=n.getByIndex(s);r.push(this.queries[d.indexInDeclarationView].clone())}return new Du(r)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==em(t,n).matches&&this.queries[n].setDirty()}}class Kg{constructor(t,n,i=null){this.predicate=t,this.flags=n,this.read=i}}class Mu{constructor(t=[]){this.queries=t}elementStart(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let i=0;i<this.length;i++){const r=null!==n?n.length:0,s=this.getByIndex(i).embeddedTView(t,r);s&&(s.indexInDeclarationView=i,null!==n?n.push(s):n=[s])}return null!==n?new Mu(n):null}template(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class wu{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new wu(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let i=t.parent;for(;null!==i&&8&i.type&&i.index!==n;)i=i.parent;return n===(null!==i?i.index:-1)}return this._appliesToNextNode}
1matchTNode(t,n){const i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){const s=i[r];this.matchTNodeWithReadOption(t,n,vE(n,s)),this.matchTNodeWithReadOption(t,n,Bi(n,t,s,!1,!1))}else i===Yo?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Bi(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(null!==i){const r=this.metadata.read;if(null!==r)if(r===Go||r===Va||r===Yo&&4&n.type)this.addMatch(n.index,-2);else{const s=Bi(n,t,r,!1,!1);null!==s&&this.addMatch(n.index,s)}else this.addMatch(n.index,i)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function vE(e,t){const n=e.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===t)return n[i+1];return null}function CE(e,t,n,i){return-1===n?function bE(e,t){return 11&e.type?ho(e,t):4&e.type?Ba(e,t):null}(t,e):-2===n?function EE(e,t,n){return n===Go?ho(t,e):n===Yo?Ba(t,e):n===Va?$g(t,e):void 0}(e,t,i):Vi(e,e[1],n,t)}function Gg(e,t,n,i){const r=t[19].queries[i];if(null===r.matches){const s=e.data,d=n.matches,_=[];for(let D=0;D<d.length;D+=2){const L=d[D];_.push(L<0?null:CE(t,s[L],d[D+1],n.metadata.read))}r.matches=_}return r.matches}function Iu(e,t,n,i){const r=e.queries.getByIndex(n),s=r.matches;if(null!==s){const d=Gg(e,t,r,n);for(let _=0;_<s.length;_+=2){const D=s[_];if(D>0)i.push(d[_/2]);else{const L=s[_+1],$=t[-D];for(let fe=10;fe<$.length;fe++){const Pe=$[fe];Pe[17]===Pe[3]&&Iu(Pe[1],Pe,L,i)}if(null!==$[9]){const fe=$[9];for(let Pe=0;Pe<fe.length;Pe++){const Ye=fe[Pe];Iu(Ye[1],Ye,L,i)}}}}}return i}function Zg(e){const t=gt(),n=tn(),i=An();Wn(i+1);const r=em(n,i);if(e.dirty&&dn(t)===(2==(2&r.metadata.flags))){if(null===r.matches)e.reset([]);else{const s=r.crossesNgTemplate?Iu(n,t,i,[]):Gg(n,t,r,i);e.reset(s,qC),e.notifyOnChanges()}return!0}return!1}function Qg(e,t,n){const i=tn();i.firstCreatePass&&(qg(i,new Kg(e,t,n),-1),2==(2&t)&&(i.staticViewQueries=!0)),Jg(i,gt(),t)}function Yg(e,t,n,i){const r=tn();if(r.firstCreatePass){const s=kn();qg(r,new Kg(t,n,i),s.index),function ME(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(r,e),2==(2&n)&&(r.staticContentQueries=!0)}Jg(r,gt(),n)}function Xg(){return function DE(e,t){return e[19].queries[t].queryList}(gt(),An())}function Jg(e,t,n){const i=new ja(4==(4&n));zh(e,t,i,i.destroy),null===t[19]&&(t[19]=new Du),t[19].queries.push(new Eu(i))}function qg(e,t,n){null===e.queries&&(e.queries=new Mu),e.queries.track(new wu(t,n))}function em(e,t){return e.queries.getByIndex(t)}function tm(e,t){return Ba(e,t)}const xi=(()=>({\u0275\u0275attribute:lc,\u0275\u0275attributeInterpolate1:cc,\u0275\u0275attributeInterpolate2:uc,\u0275\u0275attributeInterpolate3:dc,\u0275\u0275attributeInterpolate4:hc,\u0275\u0275attributeInterpolate5:fc,\u0275\u0275attributeInterpolate6:pc,\u0275\u0275attributeInterpolate7:gc,\u0275\u0275attributeInterpolate8:mc,\u0275\u0275attributeInterpolateV:_c,\u0275\u0275defineComponent:z,\u0275\u0275defineDirective:H,\u0275\u0275defineInjectable:Be,\u0275\u0275defineInjector:le,\u0275\u0275defineNgModule:B,\u0275\u0275definePipe:Ee,\u0275\u0275directiveInject:Bo,\u0275\u0275getInheritedFactory:ud,\u0275\u0275inject:di,\u0275\u0275injectAttribute:Xa,\u0275\u0275invalidFactory:Hf,\u0275\u0275invalidFactoryDep:rl,\u0275\u0275templateRefExtractor:tm,\u0275\u0275NgOnChangesFeature:pi,\u0275\u0275ProvidersFeature:ag,\u0275\u0275CopyDefinitionFeature:If,\u0275\u0275InheritDefinitionFeature:sc,\u0275\u0275nextContext:Yf,\u0275\u0275namespaceHTML:Yt,\u0275\u0275namespaceMathML:Xt,\u0275\u0275namespaceSVG:Vt,\u0275\u0275enableBindings:Ki,\u0275\u0275disableBindings:Is,\u0275\u0275elementStart:Dc,\u0275\u0275elementEnd:Mc,\u0275\u0275element:zf,\u0275\u0275elementContainerStart:wc,\u0275\u0275elementContainerEnd:Ic,\u0275\u0275elementContainer:Wf,\u0275\u0275pureFunction0:Eg,\u0275\u0275pureFunction1:Dg,\u0275\u0275pureFunction2:Mg,\u0275\u0275pureFunction3:wg,\u0275\u0275pureFunction4:Ig,\u0275\u0275pureFunction5:Og,\u0275\u0275pureFunction6:Ag,\u0275\u0275pureFunction7:Tg,\u0275\u0275pureFunction8:Sg,\u0275\u0275pureFunctionV:Pg,\u0275\u0275getCurrentView:$f,\u0275\u0275restoreView:ms,\u0275\u0275listener:Ac,\u0275\u0275projection:Jf,\u0275\u0275syntheticHostProperty:lu,\u0275\u0275syntheticHostListener:Tc,\u0275\u0275pipeBind1:jg,\u0275\u0275pipeBind2:Bg,\u0275\u0275pipeBind3:Vg,\u0275\u0275pipeBind4:Ug,\u0275\u0275pipeBindV:Hg,\u0275\u0275projectionDef:Xf,\u0275\u0275hostProperty:au,\u0275\u0275property:Cc,\u0275\u0275propertyInterpolate:Pc,\u0275\u0275propertyInterpolate1:Ia,\u0275\u0275propertyInterpolate2:Rc,\u0275\u0275propertyInterpolate3:xc,\u0275\u0275propertyInterpolate4:Fc,\u0275\u0275propertyInterpolate5:Lc,\u0275\u0275propertyInterpolate6:kc,\u0275\u0275propertyInterpolate7:Nc,\u0275\u0275propertyInterpolate8:jc,\u0275\u0275propertyInterpolateV:Bc,\u0275\u0275pipe:Ng,\u0275\u0275queryRefresh:Zg,\u0275\u0275viewQuery:Qg,\u0275\u0275loadQuery:Xg,\u0275\u0275contentQuery:Yg,\u0275\u0275reference:Sf,\u0275\u0275classMap:op,\u0275\u0275classMapInterpolate1:pp,\u0275\u0275classMapInterpolate2:gp,\u0275\u0275classMapInterpolate3:mp,\u0275\u0275classMapInterpolate4:_p,\u0275\u0275classMapInterpolate5:yp,\u0275\u0275classMapInterpolate6:vp,\u0275\u0275classMapInterpolate7:bp,\u0275\u0275classMapInterpolate8:Cp,\u0275\u0275classMapInterpolateV:Ep,\u0275\u0275styleMap:wr,\u0275\u0275styleMapInterpolate1:Dp,\u0275\u0275styleMapInterpolate2:Mp,\u0275\u0275styleMapInterpolate3:wp,\u0275\u0275styleMapInterpolate4:Ip,\u0275\u0275styleMapInterpolate5:Op,\u0275\u0275styleMapInterpolate6:Ap,\u0275\u0275styleMapInterpolate7:Tp,\u0275\u0275styleMapInterpolate8:Sp,\u0275\u0275styleMapInterpolateV:Pp,\u0275\u0275styleProp:Vc,\u0275\u0275stylePropInterpolate1:Jc,\u0275\u0275stylePropInterpolate2:qc,\u0275\u0275stylePropInterpolate3:eu,\u0275\u0275stylePropInterpolate4:tu,\u0275\u0275stylePropInterpolate5:nu,\u0275\u0275stylePropInterpolate6:iu,\u0275\u0275stylePropInterpolate7:ru,\u0275\u0275stylePropInterpolate8:su,\u0275\u0275stylePropInterpolateV:ou,\u0275\u0275classProp:Uc,\u0275\u0275advance:wh,\u0275\u0275template:Af,\u0275\u0275text:fp,\u0275\u0275textInterpolate:zc,\u0275\u0275textInterpolate1:Aa,\u0275\u0275textInterpolate2:Wc,\u0275\u0275textInterpolate3:$c,\u0275\u0275textInterpolate4:Kc,\u0275\u0275textInterpolate5:Gc,\u0275\u0275textInterpolate6:Zc,\u0275\u0275textInterpolate7:Qc,\u
10275\u0275textInterpolate8:Yc,\u0275\u0275textInterpolateV:Xc,\u0275\u0275i18n:ng,\u0275\u0275i18nAttributes:ig,\u0275\u0275i18nExp:pu,\u0275\u0275i18nStart:hu,\u0275\u0275i18nEnd:fu,\u0275\u0275i18nApply:rg,\u0275\u0275i18nPostprocess:sg,\u0275\u0275resolveWindow:Xd,\u0275\u0275resolveDocument:Jd,\u0275\u0275resolveBody:qd,\u0275\u0275setComponentScope:Ke,\u0275\u0275setNgModuleScope:k,\u0275\u0275sanitizeHtml:kd,\u0275\u0275sanitizeStyle:Nd,\u0275\u0275sanitizeResourceUrl:pl,\u0275\u0275sanitizeScript:jd,\u0275\u0275sanitizeUrl:fl,\u0275\u0275sanitizeUrlOrResourceUrl:Ud,\u0275\u0275trustConstantHtml:Bd,\u0275\u0275trustConstantResourceUrl:Vd,forwardRef:oe,resolveForwardRef:C}))();let mo=null;function OE(){mo=null}const Xo=[];let Ou=!1;function nm(){if(!Ou){Ou=!0;try{for(let e=Xo.length-1;e>=0;e--){const{moduleType:t,ngModule:n}=Xo[e];n.declarations&&n.declarations.every(im)&&(Xo.splice(e,1),SE(t,n))}}finally{Ou=!1}}}function im(e){return Array.isArray(e)?e.every(im):!!C(e)}function rm(e,t={}){sm(e,t),function AE(e,t){Xo.push({moduleType:e,ngModule:t})}(e,t)}function sm(e,t,n=!1){const i=ur(t.declarations||kt);let r=null;Object.defineProperty(e,N,{configurable:!0,get:()=>(null===r&&(r=ri().compileNgModule(xi,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:ur(t.bootstrap||kt).map(C),declarations:i.map(C),imports:ur(t.imports||kt).map(C).map(cm),exports:ur(t.exports||kt).map(C).map(cm),schemas:t.schemas?ur(t.schemas):null,id:t.id||null}),r.schemas||(r.schemas=[])),r)});let s=null;Object.defineProperty(e,j,{get:()=>{if(null===s){const _=ri();s=_.compileFactory(xi,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,deps:ca(e),target:_.FactoryTarget.NgModule,typeArgumentCount:0})}return s},configurable:!1});let d=null;Object.defineProperty(e,dt,{get:()=>{if(null===d){const _={name:e.name,type:e,providers:t.providers||kt,imports:[(t.imports||kt).map(C),(t.exports||kt).map(C)]};d=ri().compileInjector(xi,`ng:///${e.name}/\u0275inj.js`,_)}return d},configurable:!1})}let Ua=new WeakMap,Tu=new WeakMap;function TE(){Ua=new WeakMap,Tu=new WeakMap,Xo.length=0}function SE(e,t){const n=ur(t.declarations||kt),i=Jo(e);n.forEach(r=>{r.hasOwnProperty(Rt)?Su(tt(r),i):!r.hasOwnProperty(Xe)&&!r.hasOwnProperty(J)&&(r.ngSelectorScope=e)})}function Su(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map(n=>n.hasOwnProperty(Rt)?tt(n):mt(n)).filter(n=>!!n),e.pipeDefs=()=>Array.from(t.compilation.pipes).map(n=>Nt(n)),e.schemas=t.schemas,e.tView=null}function Jo(e){if(!Pu(e))throw new Error(`${e.name} does not have a module def (\u0275mod property)`);const t=Zt(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 Br(t.imports).forEach(i=>{const r=i;if(!Pu(r))throw new Error(`Importing ${r.name} which does not have a \u0275mod property`);const s=Jo(r);s.exported.directives.forEach(d=>n.compilation.directives.add(d)),s.exported.pipes.forEach(d=>n.compilation.pipes.add(d))}),Br(t.declarations).forEach(i=>{Nt(i)?n.compilation.pipes.add(i):n.compilation.directives.add(i)}),Br(t.exports).forEach(i=>{const r=i;if(Pu(r)){const s=Jo(r);s.exported.directives.forEach(d=>{n.compilation.directives.add(d),n.exported.directives.add(d)}),s.exported.pipes.forEach(d=>{n.compilation.pipes.add(d),n.exported.pipes.add(d)})}else Nt(r)?n.exported.pipes.add(r):n.exported.directives.add(r)}),t.transitiveCompileScopes=n,n}function cm(e){return function PE(e){return void 0!==e.ngModule}(e)?e.ngModule:e}function Pu(e){return!!Zt(e)}let Ru=0;function um(e,t){let n=null;(function S_(e,t){Ed(t)&&(Us.set(e,t),wo.add(e))})(e,t),hm(e,t),Object.defineProperty(e,Rt,{get:()=>{if(null===n){const i=ri();if(Ed(t)){const L=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&L.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&L.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),L.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(L.join("\n"))}const r=function IE(){return mo}();
1let s=t.preserveWhitespaces;void 0===s&&(s=null!==r&&void 0!==r.preserveWhitespaces&&r.preserveWhitespaces);let d=t.encapsulation;void 0===d&&(d=null!==r&&void 0!==r.defaultEncapsulation?r.defaultEncapsulation:nt.Emulated);const _=t.templateUrl||`ng:///${e.name}/template.html`,D=Object.assign(Object.assign({},fm(e,t)),{typeSourceSpan:i.createParseSourceSpan("Component",e.name,_),template:t.template||"",preserveWhitespaces:s,styles:t.styles||kt,animations:t.animations,directives:[],changeDetection:t.changeDetection,pipes:new Map,encapsulation:d,interpolation:t.interpolation,viewProviders:t.viewProviders||null});Ru++;try{D.usesInheritance&&pm(e),n=i.compileComponent(xi,_,D)}finally{Ru--}if(0===Ru&&nm(),function RE(e){return void 0!==e.ngSelectorScope}(e)){const L=Jo(e.ngSelectorScope);Su(n,L)}}return n},configurable:!1})}function xu(e,t){let n=null;hm(e,t||{}),Object.defineProperty(e,Xe,{get:()=>{if(null===n){const i=dm(e,t||{});n=ri().compileDirective(xi,i.sourceMapUrl,i.metadata)}return n},configurable:!1})}function dm(e,t){const n=e&&e.name,i=`ng:///${n}/\u0275dir.js`,r=ri(),s=fm(e,t);return s.typeSourceSpan=r.createParseSourceSpan("Directive",n,i),s.usesInheritance&&pm(e),{metadata:s,sourceMapUrl:i}}function hm(e,t){let n=null;Object.defineProperty(e,j,{get:()=>{if(null===n){const i=dm(e,t),r=ri();n=r.compileFactory(xi,`ng:///${e.name}/\u0275fac.js`,{name:i.metadata.name,type:i.metadata.type,typeArgumentCount:0,deps:ca(e),target:r.FactoryTarget.Directive})}return n},configurable:!1})}function xE(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function fm(e,t){const n=ol(),i=n.ownPropMetadata(e);return{name:e.name,type:e,selector:void 0!==t.selector?t.selector:null,host:t.host||Ot,propMetadata:i,inputs:t.inputs||kt,outputs:t.outputs||kt,queries:gm(e,i,mm),lifecycle:{usesOnChanges:n.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!xE(e),exportAs:kE(t.exportAs),providers:t.providers||null,viewQueries:gm(e,i,_m)}}function pm(e){const t=Object.prototype;let n=Object.getPrototypeOf(e.prototype).constructor;for(;n&&n!==t;)!mt(n)&&!tt(n)&&jE(n)&&xu(n,null),n=Object.getPrototypeOf(n)}function FE(e){return"string"==typeof e?vm(e):C(e)}function LE(e,t){return{propertyName:e,predicate:FE(t.selector),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static,emitDistinctChangesOnly:!!t.emitDistinctChangesOnly}}function gm(e,t,n){const i=[];for(const r in t)if(t.hasOwnProperty(r)){const s=t[r];s.forEach(d=>{if(n(d)){if(!d.selector)throw new Error(`Can't construct a query for the property "${r}" of "${$e(e)}" since the query selector wasn't defined.`);if(s.some(ym))throw new Error("Cannot combine @Input decorators with query decorators");i.push(LE(r,d))}})}return i}function kE(e){return void 0===e?null:vm(e)}function mm(e){const t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function _m(e){const t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function ym(e){return"Input"===e.ngMetadataName}function vm(e){return e.split(",").map(t=>t.trim())}const NE=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function jE(e){const t=ol();if(NE.some(i=>t.hasLifecycleHook(e,i)))return!0;const n=t.propMetadata(e);for(const i in n){const r=n[i];for(let s=0;s<r.length;s++){const d=r[s],_=d.ngMetadataName;if(ym(d)||mm(d)||_m(d)||"Output"===_||"HostBinding"===_||"HostListener"===_)return!0}}return!1}function bm(e,t){let n=null,i=null;Object.defineProperty(e,j,{get:()=>{if(null===i){const r=Cm(e,t),s=ri();i=s.compileFactory(xi,`ng:///${r.name}/\u0275fac.js`,{name:r.name,type:r.type,typeArgumentCount:0,deps:ca(e),target:s.FactoryTarget.Pipe})}return i},configurable:!1}),Object.defineProperty(e,J,{get:()=>{if(null===n){const r=Cm(e,t);n=ri().compilePipe(xi,`ng:///${r.name}/\u0275pipe.js`,r)}return n},configurable:!1})}function Cm(e,t){return{type:e,name:e.name,pipeName:t.name,pure:void 0===t.pure||t.pure}}const Em=js("Directive",(e={})=>e,void 0,void 0,(e,t)=>xu(e,t)),BE=js("Component",(e={})=>Object.assign({changeDetection:ne.Default},e),Em,void 0,(e,t)=>um(e,t)),VE=js("Pipe",e=>Object.assign({pure:!0},e),void 0,void 0,(e,t)=>bm(e,t)),UE=ds("Input",e=>({bindingPropertyName:e})),HE=ds("Output",e=>({bindingPropertyName:e})),zE=ds("HostBinding",e=>({hostPropertyName:e})),WE=ds("HostListener",(e,t)=>({eventName:e,args:t})),$E=js("NgModule",e=>e,void 0,void 0,(e,t)=>rm(e,t));function Ha(...e){}const Fu=new Vn("Application Initializer");let _o=(()=>{class e{constructor(n){this.appInits=n,this.resolve=Ha,this.reject=Ha,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r})}
1runInitializers(){if(this.initialized)return;const n=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r<this.appInits.length;r++){const s=this.appInits[r]();if(Oc(s))n.push(s);else if(Gf(s)){const d=new Promise((_,D)=>{s.subscribe({complete:_,error:D})});n.push(d)}}Promise.all(n).then(()=>{i()}).catch(r=>{this.reject(r)}),0===n.length&&i(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(di(Fu,8))},e.\u0275prov=Be({token:e,factory:e.\u0275fac}),e})();const Dm=new Vn("AppId"),Mm={provide:Dm,useFactory:function KE(){return`${Lu()}${Lu()}${Lu()}`},deps:[]};function Lu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const wm=new Vn("Platform Initializer"),Im=new Vn("Platform ID"),Om=new Vn("appBootstrapListener"),GE=new Vn("Application Packages Root URL");let Am=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Be({token:e,factory:e.\u0275fac}),e})();const za=new Vn("LocaleId"),Tm=new Vn("DefaultCurrencyCode"),ZE=new Vn("Translations"),QE=new Vn("TranslationsFormat");var $r=(()=>(($r=$r||{})[$r.Error=0]="Error",$r[$r.Warning=1]="Warning",$r[$r.Ignore=2]="Ignore",$r))();class Sm{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let ku=(()=>{class e{compileModuleSync(n){return new Na(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const i=this.compileModuleSync(n),s=Br(Zt(n).declarations).reduce((d,_)=>{const D=tt(_);return D&&d.push(new ka(D)),d},[]);return new Sm(i,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Be({token:e,factory:e.\u0275fac}),e})();const Pm=new Vn("compilerOptions");class YE{}const XE=(()=>Promise.resolve(0))();function Nu(e){"undefined"==typeof Zone?XE.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Ji{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Wr(!1),this.onMicrotaskEmpty=new Wr(!1),this.onStable=new Wr(!1),this.onError=new Wr(!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)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&n,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function JE(){let e=Lt.requestAnimationFrame,t=Lt.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function tD(e){const t=()=>{!function eD(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Lt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Bu(e),e.isCheckStableRunning=!0,ju(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Bu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,r,s,d,_)=>{try{return Rm(e),n.invokeTask(r,s,d,_)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),xm(e)}},onInvoke:(n,i,r,s,d,_,D)=>{try{return Rm(e),n.invoke(r,s,d,_,D)}finally{e.shouldCoalesceRunChangeDetection&&t(),xm(e)}},onHasTask:(n,i,r,s)=>{n.hasTask(r,s),i===r&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,Bu(e),ju(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,i,r,s)=>(n.handleError(r,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(r)}
vendor: 4,165 bytes, line 1
1static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ji.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Ji.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,r){const s=this._inner,d=s.scheduleEventTask("NgZoneEvent: "+r,t,qE,Ha,Ha);try{return s.runTask(d,n,i)}finally{s.cancelTask(d)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const qE={};function ju(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 Bu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Rm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function xm(e){e._nesting--,ju(e)}class Fm{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Wr,this.onMicrotaskEmpty=new Wr,this.onStable=new Wr,this.onError=new Wr}run(t,n,i){return t.apply(n,i)}runGuarded(t,n,i){return t.apply(n,i)}runOutsideAngular(t){return t()}runTask(t,n,i,r){return t.apply(n,i)}}let Lm=(()=>{class e{constructor(n){this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.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:()=>{Ji.assertNotInAngularZone(),Nu(()=>{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())Nu(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(n)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,r){let s=-1;i&&i>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(d=>d.timeoutId!==s),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:r})}whenStable(n,i,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,i,r){return[]}}return e.\u0275fac=function(n){return new(n||e)(di(Ji))},e.\u0275prov=Be({token:e,factory:e.\u0275fac}),e})(),Vu=(()=>{class e{constructor(){this._applications=new Map,Uu.addToWindow(this)}registerApplication(n,i){this._applications.set(n,i)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,i=!0){return Uu.findTestabilityInTree(this,n,i)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Be({token:e,factory:e.\u0275fac}),e})();
1class nD{addToWindow(t){}findTestabilityInTree(t,n,i){return null}}function iD(e){Uu=e}let Ar,Uu=new nD;function km(e,t,n){const i=new Na(n);return Promise.resolve(i)}function Nm(e){return e.isBoundToModule}const Hu=new Vn("AllowMultipleToken");class rD{constructor(t,n){this.name=t,this.token=n}}function jm(e){if(Ar&&!Ar.destroyed&&!Ar.injector.get(Hu,!1))throw new se("400","");Ar=e.get(Wu);const t=e.get(wm,null);return t&&t.forEach(n=>n()),Ar}function Bm(e,t,n=[]){const i=`Platform: ${t}`,r=new Vn(i);return(s=[])=>{let d=zu();if(!d||d.injector.get(Hu,!1))if(e)e(n.concat(s).concat({provide:r,useValue:!0}));else{const _=n.concat(s).concat({provide:r,useValue:!0},{provide:Jl,useValue:"platform"});jm(Xi.create({providers:_,name:i}))}return Vm()}}function Vm(e){const t=zu();if(!t)throw new se("401","");return t}function sD(){Ar&&!Ar.destroyed&&Ar.destroy()}function zu(){return Ar&&!Ar.destroyed?Ar:null}let Wu=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const _=function oD(e,t){let n;return n="noop"===e?new Fm:("zone.js"===e?void 0:e)||new Ji({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(i?i.ngZone:void 0,{ngZoneEventCoalescing:i&&i.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:i&&i.ngZoneRunCoalescing||!1}),D=[{provide:Ji,useValue:_}];return _.run(()=>{const L=Xi.create({providers:D,parent:this.injector,name:n.moduleType.name}),$=n.create(L),fe=$.injector.get(So,null);if(!fe)throw new se("402","");return _.runOutsideAngular(()=>{const Pe=_.onError.subscribe({next:Ye=>{fe.handleError(Ye)}});$.onDestroy(()=>{$u(this._modules,$),Pe.unsubscribe()})}),function aD(e,t,n){try{const i=n();return Oc(i)?i.catch(r=>{throw t.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(fe,_,()=>{const Pe=$.injector.get(_o);return Pe.runInitializers(),Pe.donePromise.then(()=>(Lp($.injector.get(za,Uo)||Uo),this._moduleDoBootstrap($),$))})})}bootstrapModule(n,i=[]){const r=Um({},i);return km(0,0,n).then(s=>this.bootstrapModuleFactory(s,r))}_moduleDoBootstrap(n){const i=n.injector.get(qo);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!n.instance.ngDoBootstrap)throw new se("403","");n.instance.ngDoBootstrap(i)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new se("404","");this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(di(Xi))},e.\u0275prov=Be({token:e,factory:e.\u0275fac}),e})();function Um(e,t){return Array.isArray(t)?t.reduce(Um,e):Object.assign(Object.assign({},e),t)}let qo=(()=>{class e{constructor(n,i,r,s,d){this._zone=n,this._injector=i,this._exceptionHandler=r,this._componentFactoryResolver=s,this._initStatus=d,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 _=new u.y(L=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{L.next(this._stable),L.complete()})}),D=new u.y(L=>{let $;this._zone.runOutsideAngular(()=>{$=this._zone.onStable.subscribe(()=>{Ji.assertNotInAngularZone(),Nu(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,L.next(!0))})})});const fe=this._zone.onUnstable.subscribe(()=>{Ji.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{L.next(!1)}))});return()=>{$.unsubscribe(),fe.unsubscribe()}});this.isStable=(0,X.T)(_,D.pipe((0,I.B)()))}bootstrap(n,i){if(!this._initStatus.done)throw new se("405","");let r;
1r=n instanceof xa?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(r.componentType);const s=Nm(r)?void 0:this._injector.get(po),_=r.create(Xi.NULL,[],i||r.selector,s),D=_.location.nativeElement,L=_.injector.get(Lm,null),$=L&&_.injector.get(Vu);return L&&$&&$.registerApplication(D,L),_.onDestroy(()=>{this.detachView(_.hostView),$u(this.components,_),$&&$.unregisterApplication(D)}),this._loadComponent(_),_}tick(){if(this._runningTick)throw new se("101","");try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){const i=n;$u(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Om,[]).concat(this._bootstrapListeners).forEach(r=>r(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(n){return new(n||e)(di(Ji),di(Xi),di(So),di(Ko),di(_o))},e.\u0275prov=Be({token:e,factory:e.\u0275fac}),e})();function $u(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let zm=!0,Wm=!1;function cD(){return Wm=!0,zm}function uD(){if(Wm)throw new Error("Cannot enable prod mode after platform setup.");zm=!1}function dD(e){const t=Cg(e);if(!t)throw $m(e);return new Na(t)}function hD(e){const t=Cg(e);if(!t)throw $m(e);return t}function $m(e){return new Error(`No module with ID ${e} loaded`)}let Km=(()=>{class e{}return e.__NG_ELEMENT_ID__=Gm,e})();function Gm(e){return function fD(e,t,n){if(bi(e)&&!n){const i=Ut(e.index,t);return new fo(i,i)}return 47&e.type?new fo(t[16],t):null}(kn(),gt(),16==(16&e))}class Zm extends Km{}class pD extends Zm{}class gD{constructor(t,n){this.name=t,this.callback=n}}function mD(e){return e.map(t=>t.nativeElement)}class Ku{constructor(t){this.nativeNode=t}get parent(){const t=this.nativeNode.parentNode;return t?new ea(t):null}get injector(){return mf(this.nativeNode)}get componentInstance(){const t=this.nativeNode;return t&&(nc(t)||pf(t))}get context(){return nc(this.nativeNode)||ff(this.nativeNode)}get listeners(){return yf(this.nativeNode).filter(t=>"dom"===t.type)}get references(){return function Wv(e){const t=Mi(e);return null===t?{}:(void 0===t.localRefs&&(t.localRefs=function ly(e,t){const n=e[1].data[t];if(n&&n.localNames){const i={};let r=n.index+1;for(let s=0;s<n.localNames.length;s+=2)i[n.localNames[s]]=e[r],r++;return i}return null}(t.lView,t.nodeIndex)),t.localRefs||{})}(this.nativeNode)}get providerTokens(){return function Hv(e){const t=Mi(e);if(null===t)return[];const i=t.lView[1],r=i.data[t.nodeIndex],s=[],_=r.directiveEnd;for(let D=1048575&r.providerIndexes;D<_;D++){let L=i.data[D];Kv(L)&&(L=L.type),s.push(L)}return s}(this.nativeNode)}}class ea extends Ku{constructor(t){super(t)}get nativeElement(){return this.nativeNode.nodeType==Node.ELEMENT_NODE?this.nativeNode:null}get name(){const t=Mi(this.nativeNode);return null!==t?t.lView[1].data[t.nodeIndex].value:this.nativeNode.nodeName}get properties(){const t=Mi(this.nativeNode);if(null===t)return{};const n=t.lView,i=n[1].data,r=i[t.nodeIndex],s={};return function _D(e,t){if(e){let n=Object.getPrototypeOf(e);const i=Node.prototype;for(;null!==n&&n!==i;){const r=Object.getOwnPropertyDescriptors(n);for(let s in r)if(!s.startsWith("__")&&!s.startsWith("on")){const d=e[s];yD(d)&&(t[s]=d)}n=Object.getPrototypeOf(n)}}}(this.nativeElement,s),function vD(e,t,n,i){let r=t.propertyBindings;if(null!==r)for(let s=0;s<r.length;s++){const d=r[s],D=i[d].split("\ufffd"),L=D[0];if(D.length>1){let $=D[1];for(let fe=1;fe<D.length-1;fe++)$+=ke(n[d+fe-1])+D[fe+1];e[L]=$}else e[L]=n[d]}}(s,r,n,i),s}get attributes(){const t={},n=this.nativeElement;if(!n)return t;const i=Mi(n);if(null===i)return{};const s=i.lView[1].data[i.nodeIndex].attrs,d=[];if(s){let D=0;for(;D<s.length;){const L=s[D];if("string"!=typeof L)break;t[L]=s[D+1],d.push(L.toLowerCase()),D+=2}}const _=n.attributes;for(let D=0;D<_.length;D++){const L=_[D],$=L.name.toLowerCase();-1===d.indexOf($)&&(t[$]=L.value)}return t}get styles(){return this.nativeElement&&this.nativeElement.style?this.nativeElement.style:{}}get classes(){const t={},i=this.nativeElement.className;return("string"!=typeof i?i.baseVal.split(" "):i.split(" ")).forEac
1h(s=>t[s]=!0),t}get childNodes(){const t=this.nativeNode.childNodes,n=[];for(let i=0;i<t.length;i++)n.push(Xu(t[i]));return n}get children(){const t=this.nativeElement;if(!t)return[];const n=t.children,i=[];for(let r=0;r<n.length;r++)i.push(Xu(n[r]));return i}query(t){return this.queryAll(t)[0]||null}queryAll(t){const n=[];return Qm(this,t,n,!0),n}queryAllNodes(t){const n=[];return Qm(this,t,n,!1),n}triggerEventHandler(t,n){const i=this.nativeNode,r=[];this.listeners.forEach(s=>{if(s.name===t){const d=s.callback;d.call(i,n),r.push(d)}}),"function"==typeof i.eventListeners&&i.eventListeners(t).forEach(s=>{if(-1!==s.toString().indexOf("__ngUnwrap__")){const d=s("__ngUnwrap__");return-1===r.indexOf(d)&&d.call(i,n)}})}}function yD(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function Qm(e,t,n,i){const r=Mi(e.nativeNode);null!==r?Ms(r.lView[1].data[r.nodeIndex],r.lView,t,n,i,e.nativeNode):Zu(e.nativeNode,t,n,i)}function Ms(e,t,n,i,r,s){const d=function ye(e,t){const n=null===e?-1:e.index;return-1!==n?T(t[n]):null}(e,t);if(11&e.type){if(Gu(d,n,i,r,s),bi(e)){const D=Ut(e.index,t);D&&D[1].firstChild&&Ms(D[1].firstChild,D,n,i,r,s)}else e.child&&Ms(e.child,t,n,i,r,s),d&&Zu(d,n,i,r);const _=t[e.index];Pn(_)&&Ym(_,n,i,r,s)}else if(4&e.type){const _=t[e.index];Gu(_[7],n,i,r,s),Ym(_,n,i,r,s)}else if(16&e.type){const _=t[16],L=_[6].projection[e.projection];if(Array.isArray(L))for(let $ of L)Gu($,n,i,r,s);else if(L){const $=_[3];Ms($[1].data[L.index],$,n,i,r,s)}}else e.child&&Ms(e.child,t,n,i,r,s);if(s!==d){const _=4&e.flags?e.projectionNext:e.next;_&&Ms(_,t,n,i,r,s)}}function Ym(e,t,n,i,r){for(let s=10;s<e.length;s++){const d=e[s],_=d[1].firstChild;_&&Ms(_,d,t,n,i,r)}}function Gu(e,t,n,i,r){if(r!==e){const s=Wa(e);if(!s)return;(i&&s instanceof ea&&t(s)&&-1===n.indexOf(s)||!i&&t(s)&&-1===n.indexOf(s))&&n.push(s)}}function Zu(e,t,n,i){const r=e.childNodes,s=r.length;for(let d=0;d<s;d++){const _=r[d],D=Wa(_);D&&((i&&D instanceof ea&&t(D)&&-1===n.indexOf(D)||!i&&t(D)&&-1===n.indexOf(D))&&n.push(D),Zu(_,t,n,i))}}const Yu="__ng_debug__";function Xu(e){return e instanceof Node?(e.hasOwnProperty(Yu)||(e[Yu]=e.nodeType==Node.ELEMENT_NODE?new ea(e):new Ku(e)),e[Yu]):null}const Wa=Xu,CD=function bD(e){return null},ED=Ku,DD=ea;class Xm{constructor(){}supports(t){return ko(t)}create(t){return new Jm(t)}}const MD=(e,t)=>t;class Jm{constructor(t){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=t||MD}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,r=0,s=null;for(;n||i;){const d=!i||n&&n.currentIndex<e_(i,r,s)?n:i,_=e_(d,r,s),D=d.currentIndex;if(d===i)r--,i=i._nextRemoved;else if(n=n._next,null==d.previousIndex)r++;else{s||(s=[]);const L=_-r,$=D-r;if(L!=$){for(let Pe=0;Pe<L;Pe++){const Ye=Pe<s.length?s[Pe]:s[Pe]=0,lt=Ye+Pe;$<=lt&&lt<L&&(s[Pe]=Ye+1)}s[d.previousIndex]=$-L}}_!==D&&t(d,_,D)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!ko(t))throw new Error(`Error trying to diff '${ee(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let r,s,d,n=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let _=0;_<this.length;_++)s=t[_],d=this._trackByFn(_,s),null!==n&&Object.is(n.trackById,d)?(i&&(n=this._verifyReinsertion(n,s,d,_)),Object.is(n.item,s)||this._addIdentityChange(n,s)):(n=this._mismatch(n,s,d,_),i=!0),n=n._next}else r=0,function rb(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Xs()]();let i;for(;!(i=n.next()).done;)t(i.value)}}(t,_=>{d=this._trackByFn(r,_),null!==n&&Object.is(n.trackById,d)?(i&&(n=this._verifyReinsertion(n,_,d,r)),Ob
vendor: 5,509 bytes, line 1
1ject.is(n.item,_)||this._addIdentityChange(n,_)):(n=this._mismatch(n,_,d,r),i=!0),n=n._next,r++}),this.length=r;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,i,r){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,s,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,r)):t=this._addAfter(new wD(n,i),s,r),t}_verifyReinsertion(t,n,i,r){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==s?t=this._reinsertAfter(s,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}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(t,n,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,s=t._nextRemoved;return null===r?this._removalsHead=s:r._nextRemoved=s,null===s?this._removalsTail=r:s._prevRemoved=r,this._insertAfter(t,n,i),this._addToMoves(t,i),t}_moveAfter(t,n,i){return this._unlink(t),this._insertAfter(t,n,i),this._addToMoves(t,i),t}_addAfter(t,n,i){return this._insertAfter(t,n,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,i){const r=null===n?this._itHead:n._next;return t._next=r,t._prev=n,null===r?this._itTail=t:r._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new qm),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,i=t._next;return null===n?this._itHead=i:n._next=i,null===i?this._itTail=n:i._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new qm),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class wD{constructor(t,n){this.item=t,this.trackById=n,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 ID{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===n||n<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const n=t._prevDup,i=t._nextDup;return null===n?this._head=i:n._nextDup=i,null===i?this._tail=n:i._prevDup=n,null===this._head}}class qm{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new ID,this.map.set(n,i)),i.add(t)}get(t,n){const r=this.map.get(t);return r?r.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function e_(e,t,n){const i=e.previousIndex;if(null===i)return i;let r=0;return n&&i<n.length&&(r=n[i]),i+t+r}class t_{constructor(){}supports(t){return t instanceof Map||ac(t)}create(){return new OD}}class OD{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(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;
1n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||ac(t)))throw new Error(`Error trying to diff '${ee(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(i,r)=>{if(n&&n.key===r)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(r,i);n=this._insertBeforeOrAppend(n,s)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const i=t._prev;return n._next=t,n._prev=i,t._prev=n,i&&(i._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const r=this._records.get(t);this._maybeAddToChanges(r,n);const s=r._prev,d=r._next;return s&&(s._next=d),d&&(d._prev=s),r._next=null,r._prev=null,r}const i=new AD(t);return this._records.set(t,i),i.currentValue=n,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(i=>n(t[i],i))}}class AD{constructor(t){this.key=t,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 n_(){return new $a([new Xm])}let $a=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(null!=i){const r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||n_()),deps:[[e,new vs,new ys]]}}find(n){const i=this.factories.find(r=>r.supports(n));if(null!=i)return i;throw new Error(`Cannot find a differ supporting object '${n}' of type '${function TD(e){return e.name||typeof e}(n)}'`)}}return e.\u0275prov=Be({token:e,providedIn:"root",factory:n_}),e})();function i_(){return new Ka([new t_])}let Ka=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(i){const r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||i_()),deps:[[e,new vs,new ys]]}}find(n){const i=this.factories.find(r=>r.supports(n));if(i)return i;throw new Error(`Cannot find a differ supporting object '${n}'`)}}return e.\u0275prov=Be({token:e,providedIn:"root",factory:i_}),e})();const SD=[new t_],r_=new $a([new Xm]),s_=new Ka(SD),RD=Bm(null,"core",[{provide:Im,useValue:"unknown"},{provide:Wu,deps:[Xi]},{provide:Vu,deps:[]},{provide:Am,deps:[]}]),ND=[{provide:qo,useClass:qo,deps:[Ji,Xi,So,Ko,_o]},{provide:sE,deps:[Ji],useFactory:function jD(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(n){t.push(n)}}},{provide:_o,useClass:_o,deps:[[new ys,Fu]]},{provide:ku,useClass:ku,deps:[]},Mm,{provide:$a,useFactory:function xD(){return r_},deps:[]},{provide:Ka,useFactory:function FD(){return s_},deps:[]},{provide:za,useFactory:function LD(e){return e||function kD(){return"undefined"!=typeof $localize&&$localize.locale||Uo}()},deps:[[new Mo(za),new ys,new vs]]},{provide:Tm,useValue:"USD"}];let BD=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(di(qo))},e.\u0275mod=B({type:e}),e.\u0275inj=le({providers:ND}),e})();const VD=!0;function UD(e){return ri().compileDirectiveDeclaration(xi,`ng:///${e.type.name}/\u0275fac.js`,e)}function HD(e){var t,n;_g(e.type,e.decorators,null!==(t=e.ctorParameters)&&void 0!==t?t:null,null!==(n=e.propDecorators)&&void 0!==n?n:null)}function zD(e){return ri().compileComponentDeclaration(xi,`ng:///${e.type.name}/\u0275cmp.js`,e)}function WD(e){return ri(function $D(e){switch(e){case ii.Directive:return"directive";case ii.Component:return"component";case ii.Injectable:return"injectable";case ii.Pipe:return"pipe";case ii.NgModule:return"NgModule"}}(e.target)).compileFactoryDeclaration(xi,`ng:///${e.type.name}/\u0275fac.js`,e)}function KD(e){return ri().compileInjectableDeclaration(xi,`ng:///${e.type.name}/\u0275prov.js`,e)}function GD(e){return ri().compileInjectorDeclaration(xi,`ng:///${e.type.name}/\u0275inj.js`,e)}function ZD(e){return ri().compileNgModuleDeclaration(xi,`ng:///${e.type.name}/\u0275mod.js`,e)}function QD(e){return ri().compilePipeDeclaration(xi,`ng:///${e.type.name}/\u0275pipe.js`,e)}},3075:(ft,Te,g)=>{g.d(Te,{CE:()=>Tn,Cf:()=>Ve,F:()=>Kt,Fj:()=>K,JJ:()=>Pt,JL:()=>De,JU:()=>ee,NI:()=>Sn,On:()=>Nn,Q7:()=>ui,UX:()=>mn,Wl:()=>Z,Zs:()=>Rr,_Y:()=>li,a5:()=>rt,c5:()=>Wi,cw:()=>fn,gN:()=>Ae,kI:()=>ot,nD:()=>zi,oH:()=>Fi,qQ:()=>Jn,qu:()=>Jr,sg:()=>Xn,u:()=>fr,u5:()=>$i,wV:()=>jn,x0:()=>Li});var a=g(5e3),f=g(9808),u=g(2076),X=g(4128),I=g(4004);let re=(()=>{class p{constructor(c,w){this._renderer=c,this._elementRef=w,this.onChange=ye=>{},this.onTouched=()=>{}}setProperty(c,w){this._renderer.setProperty(this._elementRef.nativeElement,c,w)}registerOnTouched(c){this.onTouched=c}registerOnChange(c){this.onChange=c}setDisabledState(c){this.setProperty("disabled",c)}}
1return p.\u0275fac=function(c){return new(c||p)(a.\u0275\u0275directiveInject(a.Renderer2),a.\u0275\u0275directiveInject(a.ElementRef))},p.\u0275dir=a.\u0275\u0275defineDirective({type:p}),p})(),pe=(()=>{class p extends re{}return p.\u0275fac=function(){let o;return function(w){return(o||(o=a.\u0275\u0275getInheritedFactory(p)))(w||p)}}(),p.\u0275dir=a.\u0275\u0275defineDirective({type:p,features:[a.\u0275\u0275InheritDefinitionFeature]}),p})();const ee=new a.InjectionToken("NgValueAccessor"),ce={provide:ee,useExisting:(0,a.forwardRef)(()=>Z),multi:!0};let Z=(()=>{class p extends pe{writeValue(c){this.setProperty("checked",c)}}return p.\u0275fac=function(){let o;return function(w){return(o||(o=a.\u0275\u0275getInheritedFactory(p)))(w||p)}}(),p.\u0275dir=a.\u0275\u0275defineDirective({type:p,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(c,w){1&c&&a.\u0275\u0275listener("change",function(et){return w.onChange(et.target.checked)})("blur",function(){return w.onTouched()})},features:[a.\u0275\u0275ProvidersFeature([ce]),a.\u0275\u0275InheritDefinitionFeature]}),p})();const oe={provide:ee,useExisting:(0,a.forwardRef)(()=>K),multi:!0},Y=new a.InjectionToken("CompositionEventMode");let K=(()=>{class p extends re{constructor(c,w,ye){super(c,w),this._compositionMode=ye,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function C(){const p=(0,f.q)()?(0,f.q)().getUserAgent():"";return/android (\d+)/.test(p.toLowerCase())}())}writeValue(c){this.setProperty("value",null==c?"":c)}_handleInput(c){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(c)}_compositionStart(){this._composing=!0}_compositionEnd(c){this._composing=!1,this._compositionMode&&this.onChange(c)}}return p.\u0275fac=function(c){return new(c||p)(a.\u0275\u0275directiveInject(a.Renderer2),a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(Y,8))},p.\u0275dir=a.\u0275\u0275defineDirective({type:p,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(c,w){1&c&&a.\u0275\u0275listener("input",function(et){return w._handleInput(et.target.value)})("blur",function(){return w.onTouched()})("compositionstart",function(){return w._compositionStart()})("compositionend",function(et){return w._compositionEnd(et.target.value)})},features:[a.\u0275\u0275ProvidersFeature([oe]),a.\u0275\u0275InheritDefinitionFeature]}),p})();function se(p){return null==p||0===p.length}function xe(p){return null!=p&&"number"==typeof p.length}const Ve=new a.InjectionToken("NgValidators"),ke=new a.InjectionToken("NgAsyncValidators"),$e=/^(?=.{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 ot{static min(o){return be(o)}static max(o){return function ae(p){return o=>{if(se(o.value)||se(p))return null;const c=parseFloat(o.value);return!isNaN(c)&&c>p?{max:{max:p,actual:o.value}}:null}}(o)}static required(o){return de(o)}static requiredTrue(o){return Oe(o)}static email(o){return function He(p){return se(p.value)||$e.test(p.value)?null:{email:!0}}(o)}static minLength(o){return function Je(p){return o=>se(o.value)||!xe(o.value)?null:o.value.length<p?{minlength:{requiredLength:p,actualLength:o.value.length}}:null}(o)}static maxLength(o){return Ie(o)}static pattern(o){return Fe(o)}static nullValidator(o){return null}static compose(o){return st(o)}static composeAsync(o){return we(o)}}function be(p){return o=>{if(se(o.value)||se(p))return null;const c=parseFloat(o.value);return!isNaN(c)&&c<p?{min:{min:p,actual:o.value}}:null}}function de(p){return se(p.value)?{required:!0}:null}function Oe(p){return!0===p.value?null:{required:!0}}function Ie(p){return o=>xe(o.value)&&o.value.length>p?{maxlength:{requiredLength:p,actualLength:o.value.length}}:null}function Fe(p){if(!p)return Ue;let o,c;return"string"==typeof p?(c="","^"!==p.charAt(0)&&(c+="^"),c+=p,"$"!==p.charAt(p.length-1)&&(c+="$"),o=new RegExp(c)):(c=p.toString(),o=p),w=>{if(se(w.value))return null;const ye=w.value;return o.test(ye)?null:{pattern:{requiredPattern:c,actualValue:ye}}}}function Ue(p){return null}function Ze(p){return null!=p}
1function Ne(p){const o=(0,a.\u0275isPromise)(p)?(0,u.D)(p):p;return(0,a.\u0275isObservable)(o),o}function _e(p){let o={};return p.forEach(c=>{o=null!=c?Object.assign(Object.assign({},o),c):o}),0===Object.keys(o).length?null:o}function je(p,o){return o.map(c=>c(p))}function yt(p){return p.map(o=>function ht(p){return!p.validate}(o)?o:c=>o.validate(c))}function st(p){if(!p)return null;const o=p.filter(Ze);return 0==o.length?null:function(c){return _e(je(c,o))}}function _t(p){return null!=p?st(yt(p)):null}function we(p){if(!p)return null;const o=p.filter(Ze);return 0==o.length?null:function(c){const w=je(c,o).map(Ne);return(0,X.D)(w).pipe((0,I.U)(_e))}}function Le(p){return null!=p?we(yt(p)):null}function We(p,o){return null===p?[o]:Array.isArray(p)?[...p,o]:[p,o]}function ue(p){return p._rawValidators}function Be(p){return p._rawAsyncValidators}function R(p){return p?Array.isArray(p)?p:[p]:[]}function le(p,o){return Array.isArray(p)?p.includes(o):p===o}function ge(p,o){const c=R(o);return R(p).forEach(ye=>{le(c,ye)||c.push(ye)}),c}function Qe(p,o){return R(o).filter(c=>!le(p,c))}class ze{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(o){this._rawValidators=o||[],this._composedValidatorFn=_t(this._rawValidators)}_setAsyncValidators(o){this._rawAsyncValidators=o||[],this._composedAsyncValidatorFn=Le(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(o){this._onDestroyCallbacks.push(o)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(o=>o()),this._onDestroyCallbacks=[]}reset(o){this.control&&this.control.reset(o)}hasError(o,c){return!!this.control&&this.control.hasError(o,c)}getError(o,c){return this.control?this.control.getError(o,c):null}}class rt extends ze{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ae extends ze{get formDirective(){return null}get path(){return null}}class it{constructor(o){this._cd=o}is(o){var c,w,ye;return"submitted"===o?!!(null===(c=this._cd)||void 0===c?void 0:c.submitted):!!(null===(ye=null===(w=this._cd)||void 0===w?void 0:w.control)||void 0===ye?void 0:ye[o])}}let Pt=(()=>{class p extends it{constructor(c){super(c)}}return p.\u0275fac=function(c){return new(c||p)(a.\u0275\u0275directiveInject(rt,2))},p.\u0275dir=a.\u0275\u0275defineDirective({type:p,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(c,w){2&c&&a.\u0275\u0275classProp("ng-untouched",w.is("untouched"))("ng-touched",w.is("touched"))("ng-pristine",w.is("pristine"))("ng-dirty",w.is("dirty"))("ng-valid",w.is("valid"))("ng-invalid",w.is("invalid"))("ng-pending",w.is("pending"))},features:[a.\u0275\u0275InheritDefinitionFeature]}),p})(),De=(()=>{class p extends it{constructor(c){super(c)}}return p.\u0275fac=function(c){return new(c||p)(a.\u0275\u0275directiveInject(Ae,10))},p.\u0275dir=a.\u0275\u0275defineDirective({type:p,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(c,w){2&c&&a.\u0275\u0275classProp("ng-untouched",w.is("untouched"))("ng-touched",w.is("touched"))("ng-pristine",w.is("pristine"))("ng-dirty",w.is("dirty"))("ng-valid",w.is("valid"))("ng-invalid",w.is("invalid"))("ng-pending",w.is("pending"))("ng-submitted",w.is("submitted"))}
1,features:[a.\u0275\u0275InheritDefinitionFeature]}),p})();function wt(p,o){return[...o.path,p]}function St(p,o){Ot(p,o),o.valueAccessor.writeValue(p.value),function Rt(p,o){o.valueAccessor.registerOnChange(c=>{p._pendingValue=c,p._pendingChange=!0,p._pendingDirty=!0,"change"===p.updateOn&&J(p,o)})}(p,o),function N(p,o){const c=(w,ye)=>{o.valueAccessor.writeValue(w),ye&&o.viewToModelUpdate(w)};p.registerOnChange(c),o._registerOnDestroy(()=>{p._unregisterOnChange(c)})}(p,o),function Xe(p,o){o.valueAccessor.registerOnTouched(()=>{p._pendingTouched=!0,"blur"===p.updateOn&&p._pendingChange&&J(p,o),"submit"!==p.updateOn&&p.markAsTouched()})}(p,o),function jt(p,o){if(o.valueAccessor.setDisabledState){const c=w=>{o.valueAccessor.setDisabledState(w)};p.registerOnDisabledChange(c),o._registerOnDestroy(()=>{p._unregisterOnDisabledChange(c)})}}(p,o)}function Lt(p,o,c=!0){const w=()=>{};o.valueAccessor&&(o.valueAccessor.registerOnChange(w),o.valueAccessor.registerOnTouched(w)),kt(p,o),p&&(o._invokeOnDestroyCallbacks(),p._registerOnCollectionChange(()=>{}))}function $t(p,o){p.forEach(c=>{c.registerOnValidatorChange&&c.registerOnValidatorChange(o)})}function Ot(p,o){const c=ue(p);null!==o.validator?p.setValidators(We(c,o.validator)):"function"==typeof c&&p.setValidators([c]);const w=Be(p);null!==o.asyncValidator?p.setAsyncValidators(We(w,o.asyncValidator)):"function"==typeof w&&p.setAsyncValidators([w]);const ye=()=>p.updateValueAndValidity();$t(o._rawValidators,ye),$t(o._rawAsyncValidators,ye)}function kt(p,o){let c=!1;if(null!==p){if(null!==o.validator){const ye=ue(p);if(Array.isArray(ye)&&ye.length>0){const et=ye.filter(Et=>Et!==o.validator);et.length!==ye.length&&(c=!0,p.setValidators(et))}}if(null!==o.asyncValidator){const ye=Be(p);if(Array.isArray(ye)&&ye.length>0){const et=ye.filter(Et=>Et!==o.asyncValidator);et.length!==ye.length&&(c=!0,p.setAsyncValidators(et))}}}const w=()=>{};return $t(o._rawValidators,w),$t(o._rawAsyncValidators,w),c}function J(p,o){p._pendingDirty&&p.markAsDirty(),p.setValue(p._pendingValue,{emitModelToViewChange:!1}),o.viewToModelUpdate(p._pendingValue),p._pendingChange=!1}function j(p,o){Ot(p,o)}function Ke(p,o){if(!p.hasOwnProperty("model"))return!1;const c=p.model;return!!c.isFirstChange()||!Object.is(o,c.currentValue)}function O(p,o){p._syncPendingControls(),o.forEach(c=>{const w=c.control;"submit"===w.updateOn&&w._pendingChange&&(c.viewToModelUpdate(w._pendingValue),w._pendingChange=!1)})}function q(p,o){if(!o)return null;let c,w,ye;return Array.isArray(o),o.forEach(et=>{et.constructor===K?c=et:function y(p){return Object.getPrototypeOf(p.constructor)===pe}(et)?w=et:ye=et}),ye||w||c||null}function B(p,o){const c=p.indexOf(o);c>-1&&p.splice(c,1)}const G="VALID",H="INVALID",Ee="PENDING",tt="DISABLED";function Nt(p){return(ai(p)?p.validators:p)||null}function Zt(p){return Array.isArray(p)?_t(p):p||null}function En(p,o){return(ai(o)?o.asyncValidators:p)||null}function oi(p){return Array.isArray(p)?Le(p):p||null}function ai(p){return null!=p&&!Array.isArray(p)&&"object"==typeof p}class Oi{constructor(o,c){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=o,this._rawAsyncValidators=c,this._composedValidatorFn=Zt(this._rawValidators),this._composedAsyncValidatorFn=oi(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(o){this._rawValidators=this._composedValidatorFn=o}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(o){this._rawAsyncValidators=this._composedAsyncValidatorFn=o}get parent(){return this._parent}get valid(){return this.status===G}get invalid(){return this.status===H}get pending(){return this.status==Ee}get disabled(){return this.status===tt}get enabled(){return this.status!==tt}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(o){this._rawValidators=o,this._composedValidatorFn=Zt(o)}setAsyncValidators(o){this._rawAsyncValidators=o,this._composedAsyncValidatorFn=oi(o)}addValidators(o){this.setValidators(ge(o,this._rawValidators))}addAsyncValidators(o){this.setAsyncValidators(ge(o,this._rawAsyncValidators))}removeValidators(o){this.setValidators(Qe(o,this._rawValidators))}removeAsyncValidators(o){this.setAsyncValidators(Qe(o,this._rawAsyncValidators))}hasValidator(o){return le(this._rawValidators,o)}hasAsyncValidator(o){return le(this._rawAsyncValidators,o)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(o={}){this.touched=!0,this._parent&&!o.onlySelf&&this._parent.markAsTouched(o)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}
1),this._forEachChild(o=>o.markAllAsTouched())}markAsUntouched(o={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(c=>{c.markAsUntouched({onlySelf:!0})}),this._parent&&!o.onlySelf&&this._parent._updateTouched(o)}markAsDirty(o={}){this.pristine=!1,this._parent&&!o.onlySelf&&this._parent.markAsDirty(o)}markAsPristine(o={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(c=>{c.markAsPristine({onlySelf:!0})}),this._parent&&!o.onlySelf&&this._parent._updatePristine(o)}markAsPending(o={}){this.status=Ee,!1!==o.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!o.onlySelf&&this._parent.markAsPending(o)}disable(o={}){const c=this._parentMarkedDirty(o.onlySelf);this.status=tt,this.errors=null,this._forEachChild(w=>{w.disable(Object.assign(Object.assign({},o),{onlySelf:!0}))}),this._updateValue(),!1!==o.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},o),{skipPristineCheck:c})),this._onDisabledChange.forEach(w=>w(!0))}enable(o={}){const c=this._parentMarkedDirty(o.onlySelf);this.status=G,this._forEachChild(w=>{w.enable(Object.assign(Object.assign({},o),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:o.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},o),{skipPristineCheck:c})),this._onDisabledChange.forEach(w=>w(!1))}_updateAncestors(o){this._parent&&!o.onlySelf&&(this._parent.updateValueAndValidity(o),o.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(o){this._parent=o}updateValueAndValidity(o={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===G||this.status===Ee)&&this._runAsyncValidator(o.emitEvent)),!1!==o.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!o.onlySelf&&this._parent.updateValueAndValidity(o)}_updateTreeValidity(o={emitEvent:!0}){this._forEachChild(c=>c._updateTreeValidity(o)),this.updateValueAndValidity({onlySelf:!0,emitEvent:o.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?tt:G}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(o){if(this.asyncValidator){this.status=Ee,this._hasOwnPendingAsyncValidator=!0;const c=Ne(this.asyncValidator(this));this._asyncValidationSubscription=c.subscribe(w=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(w,{emitEvent:o})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(o,c={}){this.errors=o,this._updateControlsErrors(!1!==c.emitEvent)}get(o){return function mt(p,o,c){if(null==o||(Array.isArray(o)||(o=o.split(c)),Array.isArray(o)&&0===o.length))return null;let w=p;return o.forEach(ye=>{w=w instanceof fn?w.controls.hasOwnProperty(ye)?w.controls[ye]:null:w instanceof er&&w.at(ye)||null}),w}(this,o,".")}getError(o,c){const w=c?this.get(c):this;return w&&w.errors?w.errors[o]:null}hasError(o,c){return!!this.getError(o,c)}get root(){let o=this;for(;o._parent;)o=o._parent;return o}_updateControlsErrors(o){this.status=this._calculateStatus(),o&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(o)}_initObservables(){this.valueChanges=new a.EventEmitter,this.statusChanges=new a.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?tt:this.errors?H:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ee)?Ee:this._anyControlsHaveStatus(H)?H:G}_anyControlsHaveStatus(o){return this._anyControls(c=>c.status===o)}_anyControlsDirty(){return this._anyControls(o=>o.dirty)}_anyControlsTouched(){return this._anyControls(o=>o.touched)}_updatePristine(o={}){this.pristine=!this._anyControlsDirty(),this._parent&&!o.onlySelf&&this._parent._updatePristine(o)}_updateTouched(o={}){this.touched=this._anyControlsTouched(),this._parent&&!o.onlySelf&&this._parent._updateTouched(o)}_isBoxedValue(o){return"object"==typeof o&&null!==o&&2===Object.keys(o).length&&"value"in o&&"disabled"in o}_registerOnCollectionChange(o){this._onCollectionChange=o}_setUpdateStrategy(o){ai(o)&&null!=o.updateOn&&(this._updateOn=o.updateOn)}_parentMarkedDirty(o){return!o&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Sn extends Oi{constructor(o=null,c,w){super(Nt(c),En(w,c)),this._onChange=[],this._applyFormState(o),this._setUpdateStrategy(c),this._initOb
vendor: 4,102 bytes, line 1
1servables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}setValue(o,c={}){this.value=this._pendingValue=o,this._onChange.length&&!1!==c.emitModelToViewChange&&this._onChange.forEach(w=>w(this.value,!1!==c.emitViewToModelChange)),this.updateValueAndValidity(c)}patchValue(o,c={}){this.setValue(o,c)}reset(o=null,c={}){this._applyFormState(o),this.markAsPristine(c),this.markAsUntouched(c),this.setValue(this.value,c),this._pendingChange=!1}_updateValue(){}_anyControls(o){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(o){this._onChange.push(o)}_unregisterOnChange(o){B(this._onChange,o)}registerOnDisabledChange(o){this._onDisabledChange.push(o)}_unregisterOnDisabledChange(o){B(this._onDisabledChange,o)}_forEachChild(o){}_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(o){this._isBoxedValue(o)?(this.value=this._pendingValue=o.value,o.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=o}}class fn extends Oi{constructor(o,c,w){super(Nt(c),En(w,c)),this.controls=o,this._initObservables(),this._setUpdateStrategy(c),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(o,c){return this.controls[o]?this.controls[o]:(this.controls[o]=c,c.setParent(this),c._registerOnCollectionChange(this._onCollectionChange),c)}addControl(o,c,w={}){this.registerControl(o,c),this.updateValueAndValidity({emitEvent:w.emitEvent}),this._onCollectionChange()}removeControl(o,c={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),delete this.controls[o],this.updateValueAndValidity({emitEvent:c.emitEvent}),this._onCollectionChange()}setControl(o,c,w={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),delete this.controls[o],c&&this.registerControl(o,c),this.updateValueAndValidity({emitEvent:w.emitEvent}),this._onCollectionChange()}contains(o){return this.controls.hasOwnProperty(o)&&this.controls[o].enabled}setValue(o,c={}){this._checkAllValuesPresent(o),Object.keys(o).forEach(w=>{this._throwIfControlMissing(w),this.controls[w].setValue(o[w],{onlySelf:!0,emitEvent:c.emitEvent})}),this.updateValueAndValidity(c)}patchValue(o,c={}){null!=o&&(Object.keys(o).forEach(w=>{this.controls[w]&&this.controls[w].patchValue(o[w],{onlySelf:!0,emitEvent:c.emitEvent})}),this.updateValueAndValidity(c))}reset(o={},c={}){this._forEachChild((w,ye)=>{w.reset(o[ye],{onlySelf:!0,emitEvent:c.emitEvent})}),this._updatePristine(c),this._updateTouched(c),this.updateValueAndValidity(c)}getRawValue(){return this._reduceChildren({},(o,c,w)=>(o[w]=c instanceof Sn?c.value:c.getRawValue(),o))}_syncPendingControls(){let o=this._reduceChildren(!1,(c,w)=>!!w._syncPendingControls()||c);return o&&this.updateValueAndValidity({onlySelf:!0}),o}_throwIfControlMissing(o){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[o])throw new Error(`Cannot find form control with name: ${o}.`)}_forEachChild(o){Object.keys(this.controls).forEach(c=>{const w=this.controls[c];w&&o(w,c)})}_setUpControls(){this._forEachChild(o=>{o.setParent(this),o._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(o){for(const c of Object.keys(this.controls)){const w=this.controls[c];if(this.contains(c)&&o(w))return!0}return!1}_reduceValue(){return this._reduceChildren({},(o,c,w)=>((c.enabled||this.disabled)&&(o[w]=c.value),o))}_reduceChildren(o,c){let w=o;return this._forEachChild((ye,et)=>{w=c(w,ye,et)}),w}_allControlsDisabled(){for(const o of Object.keys(this.controls))if(this.controls[o].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}
1_checkAllValuesPresent(o){this._forEachChild((c,w)=>{if(void 0===o[w])throw new Error(`Must supply a value for form control with name: '${w}'.`)})}}class er extends Oi{constructor(o,c,w){super(Nt(c),En(w,c)),this.controls=o,this._initObservables(),this._setUpdateStrategy(c),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(o){return this.controls[o]}push(o,c={}){this.controls.push(o),this._registerControl(o),this.updateValueAndValidity({emitEvent:c.emitEvent}),this._onCollectionChange()}insert(o,c,w={}){this.controls.splice(o,0,c),this._registerControl(c),this.updateValueAndValidity({emitEvent:w.emitEvent})}removeAt(o,c={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),this.updateValueAndValidity({emitEvent:c.emitEvent})}setControl(o,c,w={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),c&&(this.controls.splice(o,0,c),this._registerControl(c)),this.updateValueAndValidity({emitEvent:w.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(o,c={}){this._checkAllValuesPresent(o),o.forEach((w,ye)=>{this._throwIfControlMissing(ye),this.at(ye).setValue(w,{onlySelf:!0,emitEvent:c.emitEvent})}),this.updateValueAndValidity(c)}patchValue(o,c={}){null!=o&&(o.forEach((w,ye)=>{this.at(ye)&&this.at(ye).patchValue(w,{onlySelf:!0,emitEvent:c.emitEvent})}),this.updateValueAndValidity(c))}reset(o=[],c={}){this._forEachChild((w,ye)=>{w.reset(o[ye],{onlySelf:!0,emitEvent:c.emitEvent})}),this._updatePristine(c),this._updateTouched(c),this.updateValueAndValidity(c)}getRawValue(){return this.controls.map(o=>o instanceof Sn?o.value:o.getRawValue())}clear(o={}){this.controls.length<1||(this._forEachChild(c=>c._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:o.emitEvent}))}_syncPendingControls(){let o=this.controls.reduce((c,w)=>!!w._syncPendingControls()||c,!1);return o&&this.updateValueAndValidity({onlySelf:!0}),o}_throwIfControlMissing(o){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(o))throw new Error(`Cannot find form control at index ${o}`)}_forEachChild(o){this.controls.forEach((c,w)=>{o(c,w)})}_updateValue(){this.value=this.controls.filter(o=>o.enabled||this.disabled).map(o=>o.value)}_anyControls(o){return this.controls.some(c=>c.enabled&&o(c))}_setUpControls(){this._forEachChild(o=>this._registerControl(o))}_checkAllValuesPresent(o){this._forEachChild((c,w)=>{if(void 0===o[w])throw new Error(`Must supply a value for form control at index: ${w}.`)})}_allControlsDisabled(){for(const o of this.controls)if(o.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(o){o.setParent(this),o._registerOnCollectionChange(this._onCollectionChange)}}const Hn={provide:Ae,useExisting:(0,a.forwardRef)(()=>Kt)},Mt=(()=>Promise.resolve(null))();let Kt=(()=>{class p extends Ae{constructor(c,w){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new a.EventEmitter,this.form=new fn({},_t(c),Le(w))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(c){Mt.then(()=>{const w=this._findContainer(c.path);c.control=w.registerControl(c.name,c.control),St(c.control,c),c.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(c)})}getControl(c){return this.form.get(c.path)}
1removeControl(c){Mt.then(()=>{const w=this._findContainer(c.path);w&&w.removeControl(c.name),B(this._directives,c)})}addFormGroup(c){Mt.then(()=>{const w=this._findContainer(c.path),ye=new fn({});j(ye,c),w.registerControl(c.name,ye),ye.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(c){Mt.then(()=>{const w=this._findContainer(c.path);w&&w.removeControl(c.name)})}getFormGroup(c){return this.form.get(c.path)}updateModel(c,w){Mt.then(()=>{this.form.get(c.path).setValue(w)})}setValue(c){this.control.setValue(c)}onSubmit(c){return this.submitted=!0,O(this.form,this._directives),this.ngSubmit.emit(c),!1}onReset(){this.resetForm()}resetForm(c){this.form.reset(c),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(c){return c.pop(),c.length?this.form.get(c):this.form}}return p.\u0275fac=function(c){return new(c||p)(a.\u0275\u0275directiveInject(Ve,10),a.\u0275\u0275directiveInject(ke,10))},p.\u0275dir=a.\u0275\u0275defineDirective({type:p,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(c,w){1&c&&a.\u0275\u0275listener("submit",function(et){return w.onSubmit(et)})("reset",function(){return w.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[a.\u0275\u0275ProvidersFeature([Hn]),a.\u0275\u0275InheritDefinitionFeature]}),p})(),cn=(()=>{class p extends Ae{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return wt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}return p.\u0275fac=function(){let o;return function(w){return(o||(o=a.\u0275\u0275getInheritedFactory(p)))(w||p)}}(),p.\u0275dir=a.\u0275\u0275defineDirective({type:p,features:[a.\u0275\u0275InheritDefinitionFeature]}),p})();const yi={provide:rt,useExisting:(0,a.forwardRef)(()=>Nn)},Qt=(()=>Promise.resolve(null))();let Nn=(()=>{class p extends rt{constructor(c,w,ye,et){super(),this.control=new Sn,this._registered=!1,this.update=new a.EventEmitter,this._parent=c,this._setValidators(w),this._setAsyncValidators(ye),this.valueAccessor=q(0,et)}ngOnChanges(c){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in c&&this._updateDisabled(c),Ke(c,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?wt(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(c){this.viewModel=c,this.update.emit(c)}_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(){St(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(c){Qt.then(()=>{this.control.setValue(c,{emitViewToModelChange:!1})})}_updateDisabled(c){const w=c.isDisabled.currentValue,ye=""===w||w&&"false"!==w;Qt.then(()=>{ye&&!this.control.disabled?this.control.disable():!ye&&this.control.disabled&&this.control.enable()})}}return p.\u0275fac=function(c){return new(c||p)(a.\u0275\u0275directiveInject(Ae,9),a.\u0275\u0275directiveInject(Ve,10),a.\u0275\u0275directiveInject(ke,10),a.\u0275\u0275directiveInject(ee,10))},p.\u0275dir=a.\u0275\u0275defineDirective({type:p,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"}
1,exportAs:["ngModel"],features:[a.\u0275\u0275ProvidersFeature([yi]),a.\u0275\u0275InheritDefinitionFeature,a.\u0275\u0275NgOnChangesFeature]}),p})(),li=(()=>{class p{}return p.\u0275fac=function(c){return new(c||p)},p.\u0275dir=a.\u0275\u0275defineDirective({type:p,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),p})();const tr={provide:ee,useExisting:(0,a.forwardRef)(()=>jn),multi:!0};let jn=(()=>{class p extends pe{writeValue(c){this.setProperty("value",null==c?"":c)}registerOnChange(c){this.onChange=w=>{c(""==w?null:parseFloat(w))}}}return p.\u0275fac=function(){let o;return function(w){return(o||(o=a.\u0275\u0275getInheritedFactory(p)))(w||p)}}(),p.\u0275dir=a.\u0275\u0275defineDirective({type:p,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(c,w){1&c&&a.\u0275\u0275listener("input",function(et){return w.onChange(et.target.value)})("blur",function(){return w.onTouched()})},features:[a.\u0275\u0275ProvidersFeature([tr]),a.\u0275\u0275InheritDefinitionFeature]}),p})(),Yn=(()=>{class p{}return p.\u0275fac=function(c){return new(c||p)},p.\u0275mod=a.\u0275\u0275defineNgModule({type:p}),p.\u0275inj=a.\u0275\u0275defineInjector({}),p})();const Fn=new a.InjectionToken("NgModelWithFormControlWarning"),Pn={provide:rt,useExisting:(0,a.forwardRef)(()=>Fi)};let Fi=(()=>{class p extends rt{constructor(c,w,ye,et){super(),this._ngModelWarningConfig=et,this.update=new a.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(c),this._setAsyncValidators(w),this.valueAccessor=q(0,ye)}set isDisabled(c){}ngOnChanges(c){if(this._isControlChanged(c)){const w=c.form.previousValue;w&&Lt(w,this,!1),St(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}Ke(c,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Lt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(c){this.viewModel=c,this.update.emit(c)}_isControlChanged(c){return c.hasOwnProperty("form")}}return p._ngModelWarningSentOnce=!1,p.\u0275fac=function(c){return new(c||p)(a.\u0275\u0275directiveInject(Ve,10),a.\u0275\u0275directiveInject(ke,10),a.\u0275\u0275directiveInject(ee,10),a.\u0275\u0275directiveInject(Fn,8))},p.\u0275dir=a.\u0275\u0275defineDirective({type:p,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[a.\u0275\u0275ProvidersFeature([Pn]),a.\u0275\u0275InheritDefinitionFeature,a.\u0275\u0275NgOnChangesFeature]}),p})();const bi={provide:Ae,useExisting:(0,a.forwardRef)(()=>Xn)};let Xn=(()=>{class p extends Ae{constructor(c,w){super(),this.validators=c,this.asyncValidators=w,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new a.EventEmitter,this._setValidators(c),this._setAsyncValidators(w)}ngOnChanges(c){this._checkFormPresent(),c.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(kt(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(c){const w=this.form.get(c.path);return St(w,c),w.updateValueAndValidity({emitEvent:!1}),this.directives.push(c),w}getControl(c){return this.form.get(c.path)}
1removeControl(c){Lt(c.control||null,c,!1),B(this.directives,c)}addFormGroup(c){this._setUpFormContainer(c)}removeFormGroup(c){this._cleanUpFormContainer(c)}getFormGroup(c){return this.form.get(c.path)}addFormArray(c){this._setUpFormContainer(c)}removeFormArray(c){this._cleanUpFormContainer(c)}getFormArray(c){return this.form.get(c.path)}updateModel(c,w){this.form.get(c.path).setValue(w)}onSubmit(c){return this.submitted=!0,O(this.form,this.directives),this.ngSubmit.emit(c),!1}onReset(){this.resetForm()}resetForm(c){this.form.reset(c),this.submitted=!1}_updateDomValue(){this.directives.forEach(c=>{const w=c.control,ye=this.form.get(c.path);w!==ye&&(Lt(w||null,c),ye instanceof Sn&&(St(ye,c),c.control=ye))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(c){const w=this.form.get(c.path);j(w,c),w.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(c){if(this.form){const w=this.form.get(c.path);w&&function me(p,o){return kt(p,o)}(w,c)&&w.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Ot(this.form,this),this._oldForm&&kt(this._oldForm,this)}_checkFormPresent(){}}return p.\u0275fac=function(c){return new(c||p)(a.\u0275\u0275directiveInject(Ve,10),a.\u0275\u0275directiveInject(ke,10))},p.\u0275dir=a.\u0275\u0275defineDirective({type:p,selectors:[["","formGroup",""]],hostBindings:function(c,w){1&c&&a.\u0275\u0275listener("submit",function(et){return w.onSubmit(et)})("reset",function(){return w.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[a.\u0275\u0275ProvidersFeature([bi]),a.\u0275\u0275InheritDefinitionFeature,a.\u0275\u0275NgOnChangesFeature]}),p})();const Rn={provide:Ae,useExisting:(0,a.forwardRef)(()=>Li)};let Li=(()=>{class p extends cn{constructor(c,w,ye){super(),this._parent=c,this._setValidators(w),this._setAsyncValidators(ye)}_checkParentType(){nr(this._parent)}}return p.\u0275fac=function(c){return new(c||p)(a.\u0275\u0275directiveInject(Ae,13),a.\u0275\u0275directiveInject(Ve,10),a.\u0275\u0275directiveInject(ke,10))},p.\u0275dir=a.\u0275\u0275defineDirective({type:p,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[a.\u0275\u0275ProvidersFeature([Rn]),a.\u0275\u0275InheritDefinitionFeature]}),p})();const ss={provide:Ae,useExisting:(0,a.forwardRef)(()=>Tn)};let Tn=(()=>{class p extends Ae{constructor(c,w,ye){super(),this._parent=c,this._setValidators(w),this._setAsyncValidators(ye)}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 wt(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){nr(this._parent)}}return p.\u0275fac=function(c){return new(c||p)(a.\u0275\u0275directiveInject(Ae,13),a.\u0275\u0275directiveInject(Ve,10),a.\u0275\u0275directiveInject(ke,10))},p.\u0275dir=a.\u0275\u0275defineDirective({type:p,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[a.\u0275\u0275ProvidersFeature([ss]),a.\u0275\u0275InheritDefinitionFeature]}),p})();function nr(p){return!(p instanceof Li||p instanceof Xn||p instanceof Tn)}const Kr={provide:rt,useExisting:(0,a.forwardRef)(()=>fr)};let fr=(()=>{class p extends rt{constructor(c,w,ye,et,Et){super(),this._ngModelWarningConfig=Et,this._added=!1,this.update=new a.EventEmitter,this._ngModelWarningSent=!1,this._parent=c,this._setValidators(w),this._setAsyncValidators(ye),this.valueAccessor=q(0,et)}set isDisabled(c){}ngOnChanges(c){this._added||this._setUpControl(),Ke(c,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(c){this.viewModel=c,this.update.emit(c)}get path(){return wt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return p._ngModelWarningSentOnce=!1,p.\u0275fac=function(c){return new(c||p)(a.\u0275\u0275directiveInject(Ae,13),a.\u0275\u0275directiveInject(Ve,10),a.\u
10275\u0275directiveInject(ke,10),a.\u0275\u0275directiveInject(ee,10),a.\u0275\u0275directiveInject(Fn,8))},p.\u0275dir=a.\u0275\u0275defineDirective({type:p,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[a.\u0275\u0275ProvidersFeature([Kr]),a.\u0275\u0275InheritDefinitionFeature,a.\u0275\u0275NgOnChangesFeature]}),p})();let fi=(()=>{class p{constructor(){this._validator=Ue}ngOnChanges(c){if(this.inputName in c){const w=this.normalizeInput(c[this.inputName].currentValue);this._validator=this.enabled()?this.createValidator(w):Ue,this._onChange&&this._onChange()}}validate(c){return this._validator(c)}registerOnValidatorChange(c){this._onChange=c}enabled(){return null!=this[this.inputName]}}return p.\u0275fac=function(c){return new(c||p)},p.\u0275dir=a.\u0275\u0275defineDirective({type:p,features:[a.\u0275\u0275NgOnChangesFeature]}),p})();const Qr={provide:Ve,useExisting:(0,a.forwardRef)(()=>Jn),multi:!0};let Jn=(()=>{class p extends fi{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=c=>function ci(p){return"number"==typeof p?p:parseFloat(p)}(c),this.createValidator=c=>be(c)}}return p.\u0275fac=function(){let o;return function(w){return(o||(o=a.\u0275\u0275getInheritedFactory(p)))(w||p)}}(),p.\u0275dir=a.\u0275\u0275defineDirective({type:p,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(c,w){2&c&&a.\u0275\u0275attribute("min",w.enabled()?w.min:null)},inputs:{min:"min"},features:[a.\u0275\u0275ProvidersFeature([Qr]),a.\u0275\u0275InheritDefinitionFeature]}),p})();const rr={provide:Ve,useExisting:(0,a.forwardRef)(()=>ui),multi:!0},pi={provide:Ve,useExisting:(0,a.forwardRef)(()=>Rr),multi:!0};let ui=(()=>{class p{constructor(){this._required=!1}get required(){return this._required}set required(c){this._required=null!=c&&!1!==c&&"false"!=`${c}`,this._onChange&&this._onChange()}validate(c){return this.required?de(c):null}registerOnValidatorChange(c){this._onChange=c}}return p.\u0275fac=function(c){return new(c||p)},p.\u0275dir=a.\u0275\u0275defineDirective({type:p,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(c,w){2&c&&a.\u0275\u0275attribute("required",w.required?"":null)},inputs:{required:"required"},features:[a.\u0275\u0275ProvidersFeature([rr])]}),p})(),Rr=(()=>{class p extends ui{validate(c){return this.required?Oe(c):null}}return p.\u0275fac=function(){let o;return function(w){return(o||(o=a.\u0275\u0275getInheritedFactory(p)))(w||p)}}(),p.\u0275dir=a.\u0275\u0275defineDirective({type:p,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(c,w){2&c&&a.\u0275\u0275attribute("required",w.required?"":null)},features:[a.\u0275\u0275ProvidersFeature([pi]),a.\u0275\u0275InheritDefinitionFeature]}),p})();const Si={provide:Ve,useExisting:(0,a.forwardRef)(()=>zi),multi:!0};let zi=(()=>{class p extends fi{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=c=>function ir(p){return"number"==typeof p?p:parseInt(p,10)}(c),this.createValidator=c=>Ie(c)}}return p.\u0275fac=function(){let o;return function(w){return(o||(o=a.\u0275\u0275getInheritedFactory(p)))(w||p)}}(),p.\u0275dir=a.\u0275\u0275defineDirective({type:p,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(c,w){2&c&&a.\u0275\u0275attribute("maxlength",w.enabled()?w.maxlength:null)},inputs:{maxlength:"maxlength"},features:[a.\u0275\u0275ProvidersFeature([Si]),a.\u0275\u0275InheritDefinitionFeature]}),p})();const Gn={provide:Ve,useExisting:(0,a.forwardRef)(()=>Wi),multi:!0};let Wi=(()=>
1{class p{constructor(){this._validator=Ue}ngOnChanges(c){"pattern"in c&&(this._createValidator(),this._onChange&&this._onChange())}validate(c){return this._validator(c)}registerOnValidatorChange(c){this._onChange=c}_createValidator(){this._validator=Fe(this.pattern)}}return p.\u0275fac=function(c){return new(c||p)},p.\u0275dir=a.\u0275\u0275defineDirective({type:p,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(c,w){2&c&&a.\u0275\u0275attribute("pattern",w.pattern?w.pattern:null)},inputs:{pattern:"pattern"},features:[a.\u0275\u0275ProvidersFeature([Gn]),a.\u0275\u0275NgOnChangesFeature]}),p})(),Pi=(()=>{class p{}return p.\u0275fac=function(c){return new(c||p)},p.\u0275mod=a.\u0275\u0275defineNgModule({type:p}),p.\u0275inj=a.\u0275\u0275defineInjector({imports:[[Yn]]}),p})(),$i=(()=>{class p{}return p.\u0275fac=function(c){return new(c||p)},p.\u0275mod=a.\u0275\u0275defineNgModule({type:p}),p.\u0275inj=a.\u0275\u0275defineInjector({imports:[Pi]}),p})(),mn=(()=>{class p{static withConfig(c){return{ngModule:p,providers:[{provide:Fn,useValue:c.warnOnNgModelWithFormControl}]}}}return p.\u0275fac=function(c){return new(c||p)},p.\u0275mod=a.\u0275\u0275defineNgModule({type:p}),p.\u0275inj=a.\u0275\u0275defineInjector({imports:[Pi]}),p})(),Jr=(()=>{class p{group(c,w=null){const ye=this._reduceControls(c);let Ut,et=null,Et=null;return null!=w&&(function Xr(p){return void 0!==p.asyncValidators||void 0!==p.validators||void 0!==p.updateOn}(w)?(et=null!=w.validators?w.validators:null,Et=null!=w.asyncValidators?w.asyncValidators:null,Ut=null!=w.updateOn?w.updateOn:void 0):(et=null!=w.validator?w.validator:null,Et=null!=w.asyncValidator?w.asyncValidator:null)),new fn(ye,{asyncValidators:Et,updateOn:Ut,validators:et})}control(c,w,ye){return new Sn(c,w,ye)}array(c,w,ye){const et=c.map(Et=>this._createControl(Et));return new er(et,w,ye)}_reduceControls(c){const w={};return Object.keys(c).forEach(ye=>{w[ye]=this._createControl(c[ye])}),w}_createControl(c){return c instanceof Sn||c instanceof fn||c instanceof er?c:Array.isArray(c)?this.control(c[0],c.length>1?c[1]:null,c.length>2?c[2]:null):this.control(c)}}return p.\u0275fac=function(c){return new(c||p)},p.\u0275prov=a.\u0275\u0275defineInjectable({token:p,factory:p.\u0275fac,providedIn:mn}),p})()},3315:(ft,Te,g)=>{g.d(Te,{O_:()=>Ie,Y4:()=>we,b6:()=>xe,ch:()=>Oe,oM:()=>Ze});var a=g(5e3),f=g(9808),u=g(1135),X=g(9751),I=g(7579),re=g(9841),pe=g(3900),ee=g(5698),ce=g(4004),Z=g(2722);const oe=["*"];class C{constructor(Be){this._ngZone=Be,this._pending=[],this._listeners=[],this._targetStream=new u.X(void 0)}_clearListeners(){for(const Be of this._listeners)Be.remove();this._listeners=[]}getLazyEmitter(Be){return this._targetStream.pipe((0,pe.w)(R=>{const le=new X.y(ge=>{if(!R)return void this._pending.push({observable:le,observer:ge});const Qe=R.addListener(Be,ze=>{this._ngZone.run(()=>ge.next(ze))});return this._listeners.push(Qe),()=>Qe.remove()});return le}))}setTarget(Be){const R=this._targetStream.value;Be!==R&&(R&&(this._clearListeners(),this._pending=[]),this._targetStream.next(Be),this._pending.forEach(le=>le.observable.subscribe(le.observer)),this._pending=[])}destroy(){this._clearListeners(),this._pending=[],this._targetStream.complete()}}const Y={center:{lat:37.421995,lng:-122.084092},zoom:17,mapTypeId:"roadmap"},K="500px";let xe=(()=>{class ue{constructor(R,le,ge){if(this._elementRef=R,this._ngZone=le,this._eventManager=new C(this._ngZone),this.height=K,this.width="500px",this._options=Y,this.mapInitialized=new a.EventEmitter,this.authFailure=new a.EventEmitter,this.boundsChanged=this._eventManager.getLazyEmitter("bounds_changed"),this.centerChanged=this._eventManager.getLazyEmitter("center_changed"),this.mapClick=this._eventManager.getLazyEmitter("click"),this.mapDblclick=this._eventManager.getLazyEmitter("dblclick"),this.mapDrag=this._eventManager.getLazyEmitter("drag"),this.mapDragend=this._eventManager.getLazyEmitter("dragend"),this.mapDragstart=this._eventManager.getLazyEmitter("dragstart"),this.headingChanged=this._eventManager.getLazyEmitter("heading_changed"),this.idle=this._eventManager.getLazyEmitter("idle"),this.maptypeidChanged=this._eventManager.getLazyEmitter("maptypeid_changed"),this.mapMousemove=this._eventManager.getLazyEmitter("mousemove"),this.mapMouseout=this._eventManager.getLazyEmitter("mouseout"),this.mapMouseover=this._eventManager.getLazyEmitter("mouseover"),this.projectionChanged=this._eventManager.getLazyEmitter("projection_changed"),this.mapRightclick=this._eventManager.getLazyEmitter("rightclick"),this.tilesloaded=this._eventManager.getLazyEmitter("tilesloaded"),this.tiltChanged=this._eventManager.getLazyEmitter("tilt_changed"),this.zoomChanged=this._eventManager.getLazyEmitter("zoom_changed"),this._isBrowser=(0,f.NF)(ge),this._isBrowser){const Qe=window;this._existingAuthFailureCallback=Qe.gm_authFailure,Qe.gm_authFailure=()=>{this._existingAuthFailureCallback&&this._existingAuthFailureCallback(),this.authFailure.emit()}}}set center(R){this._center=R}set zoom(R){this._zoom=R}set options(R){this._options=R||Y}ngOnChanges(R){(R.height||R.width)&&this._setSize();const le=this.googleMap;le&&(R.options&&le.setOptions(this._combineOptions()),R.center&&this._center&&le.setCenter(this._center),R.zoom&&null!=this._zoom&&le.setZoom(this._zoom),R.mapTypeId&&this.mapTypeId&&le.setMapTypeId(this.mapTypeId)
1)}ngOnInit(){this._isBrowser&&(this._mapEl=this._elementRef.nativeElement.querySelector(".map-container"),this._setSize(),this._ngZone.runOutsideAngular(()=>{this.googleMap=new google.maps.Map(this._mapEl,this._combineOptions())}),this._eventManager.setTarget(this.googleMap),this.mapInitialized.emit(this.googleMap))}ngOnDestroy(){this._eventManager.destroy(),this._isBrowser&&(window.gm_authFailure=this._existingAuthFailureCallback)}fitBounds(R,le){this._assertInitialized(),this.googleMap.fitBounds(R,le)}panBy(R,le){this._assertInitialized(),this.googleMap.panBy(R,le)}panTo(R){this._assertInitialized(),this.googleMap.panTo(R)}panToBounds(R,le){this._assertInitialized(),this.googleMap.panToBounds(R,le)}getBounds(){return this._assertInitialized(),this.googleMap.getBounds()||null}getCenter(){return this._assertInitialized(),this.googleMap.getCenter()}getClickableIcons(){return this._assertInitialized(),this.googleMap.getClickableIcons()}getHeading(){return this._assertInitialized(),this.googleMap.getHeading()}getMapTypeId(){return this._assertInitialized(),this.googleMap.getMapTypeId()}getProjection(){return this._assertInitialized(),this.googleMap.getProjection()||null}getStreetView(){return this._assertInitialized(),this.googleMap.getStreetView()}getTilt(){return this._assertInitialized(),this.googleMap.getTilt()}getZoom(){return this._assertInitialized(),this.googleMap.getZoom()}get controls(){return this._assertInitialized(),this.googleMap.controls}get data(){return this._assertInitialized(),this.googleMap.data}get mapTypes(){return this._assertInitialized(),this.googleMap.mapTypes}get overlayMapTypes(){return this._assertInitialized(),this.googleMap.overlayMapTypes}_setSize(){if(this._mapEl){const R=this._mapEl.style;R.height=null===this.height?"":ke(this.height)||K,R.width=null===this.width?"":ke(this.width)||"500px"}}_combineOptions(){var R,le;const ge=this._options||{};return Object.assign(Object.assign({},ge),{center:this._center||ge.center||Y.center,zoom:null!==(le=null!==(R=this._zoom)&&void 0!==R?R:ge.zoom)&&void 0!==le?le:Y.zoom,mapTypeId:this.mapTypeId||ge.mapTypeId||Y.mapTypeId})}_assertInitialized(){}}return ue.\u0275fac=function(R){return new(R||ue)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(a.NgZone),a.\u0275\u0275directiveInject(a.PLATFORM_ID))},ue.\u0275cmp=a.\u0275\u0275defineComponent({type:ue,selectors:[["google-map"]],inputs:{height:"height",width:"width",mapTypeId:"mapTypeId",center:"center",zoom:"zoom",options:"options"},outputs:{mapInitialized:"mapInitialized",authFailure:"authFailure",boundsChanged:"boundsChanged",centerChanged:"centerChanged",mapClick:"mapClick",mapDblclick:"mapDblclick",mapDrag:"mapDrag",mapDragend:"mapDragend",mapDragstart:"mapDragstart",headingChanged:"headingChanged",idle:"idle",maptypeidChanged:"maptypeidChanged",mapMousemove:"mapMousemove",mapMouseout:"mapMouseout",mapMouseover:"mapMouseover",projectionChanged:"projectionChanged",mapRightclick:"mapRightclick",tilesloaded:"tilesloaded",tiltChanged:"tiltChanged",zoomChanged:"zoomChanged"},exportAs:["googleMap"],features:[a.\u0275\u0275NgOnChangesFeature],ngContentSelectors:oe,decls:2,vars:0,consts:[[1,"map-container"]],template:function(R,le){1&R&&(a.\u0275\u0275projectionDef(),a.\u0275\u0275element(0,"div",0),a.\u0275\u0275projection(1))},encapsulation:2,changeDetection:0}),ue})();const Ve=/([A-Za-z%]+)$/;function ke(ue){return null==ue?"":Ve.test(ue)?ue:`${ue}px`}let Oe=(()=>{class ue{constructor(R,le,ge){this._googleMap=R,this._elementRef=le,this._ngZone=ge,this._eventManager=new C(this._ngZone),this._options=new u.X({}),this._position=new u.X(void 0),this._destroy=new I.x,this.closeclick=this._eventManager.getLazyEmitter("closeclick"),this.contentChanged=this._eventManager.getLazyEmitter("content_changed"),this.domready=this._eventManager.getLazyEmitter("domready"),this.positionChanged=this._eventManager.getLazyEmitter("position_changed"),this.zindexChanged=this._eventManager.getLazyEmitter("zindex_changed")}set options(R){this._options.next(R||{})}set position(R){this._position.next(R)}ngOnInit(){this._googleMap._isBrowser&&(this._combineOptions().pipe((0,ee.q)(1)).subscribe(le=>{this._ngZone.runOutsideAngular(()=>{this.infoWindow=new google.maps.InfoWindow(le)}),this._eventManager.setTarget(this.infoWindow)}),this._watchForOptionsChanges(),this._watchForPositionChanges())}ngOnDestroy(){this._eventManager.destroy(),this._destroy.next(),this._destroy.complete(),this.infoWindow&&this.close()}close(){this._assertInitialized(),this.infoWindow.close()}getContent(){return this._assertInitialized(),this.infoWindow.getContent()||null}getPosition(){return this._assertInitialized(),this.infoWindow.getPosition()||null}getZIndex(){return this._assertInitialized(),this.infoWindow.getZIndex()}open(R,le){this._assertInitialized();const ge=R?R.getAnchor():void 0;(this.infoWindow.get("anchor")!==ge||!ge)&&(this._elementRef.nativeElement.style.display="",this.infoWindow.open({map:this._googleMap.googleMap,anchor:ge,shouldFocus:le}))}_combineOptions(){return(0,re.a)([this._options,this._position]).pipe((0,ce.U)(([R,le])=>Object.assign(Object.assign({},R),{position:le||R.position,content:this._elementRef.nativeElement})))}_watchForOptionsChanges(){this._options.pipe((0,Z.R)(this._destroy)).subscribe(R=>{this._assertInitialized(),this.infoWindow.setOptions(R)})}_watchForPositionChanges(){this._position.pipe((0,Z.R)(this._destroy)).subscribe(R=>{R&&(this._assertInitialized(),this.infoWindow.setPosition(R))})}_assertInitialized(){}}return ue.\u0275fac=function(R){return new(R||ue)(a.\u0275\u0275directiveInject(xe),a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(a.NgZone))},ue.\u0275dir=a.\u0275\u0275defineDirective({type:ue,selectors:[["map-info-window"]],hostAttrs:[2,"display","none"],inputs:{options:"options",position:"position"},outputs:{closeclick:"closeclick",contentChanged:"contentChanged",domready:"domready",positionChanged:"positionChanged",zindexChanged:"zindexChanged"},exportAs:["mapInfoWindow"]}),ue})();const Je={position:{lat:37.421995,lng:-122.084092}};let Ie=(()=>{class ue{constructor(R,le){this._googleMap=R,this._ngZone=le,this._eventManager=new C(this._ngZone),this.animationChanged=this._eventManager.getLazyEmitter("animation_changed"),this.mapClick=this._eventManager.getLazyEmitter("click"),this.clickableChanged=this._eventManager.getLazyEmitter("clickable_changed"),this.cursorChanged=this._eventManager.getLazyEmitter("cursor_changed"),this.mapDblclick=this._eventManager.getLazyEmitter("dblclick"),this.mapDrag=this._eventManager.getLazyEmitter("drag"),this.mapDragend=this._eventManager.getLazyEmitter("dragend"),this.draggableChanged=this._eventManager.getLazyEmitter("draggable_changed"),this.mapDragstart=this._eventManager.getLazyEmitter("dragstart"),this.flatChanged=this._eventManager.getLazyEmitter("flat_changed"),this.iconChanged=this._eventManager.getLazyEmitter("icon_changed"),this.mapMousedown=this._eventManager.getLazyEmitter("mousedown"),this.mapMouseout=this._eventManager.getLazyEmitter("mouseout"),this.mapMouseover=this._eventManager.getLazyEmitter("mouseover"),this.mapMouseup=this._eventManager.getLazyEmitter("mouseup"),this.positionChanged=this._eventManager.getLazyEmitter("position_changed"),this.mapRightclick=this._eventManager.getLazyEmitter("rightclick"),this.shapeChanged=this._eventManager.getLazyEmitter("shape_changed"),this.titleChanged=this._eventManager.getLazyEmitter("title_changed"),this.visibleChanged=this._eventManager.getLazyEmitter("visible_changed"),this.zindexChanged=this._eventManager.getLazyEmitter("zindex_changed")}set title(R){this._title=R}set position(R){this._position=R}set label(R){this._label=R}set clickable(R){this._clickable=R}set options(R){this._options=R}set icon(R){this._icon=R}set visible(R){this._visible=R}ngOnInit(){this._googleMap._isBrowser&&(this._ngZone.runOutsideAngular(()=>{this.marker=new google.maps.Marker(this._combineOptions())}),this._assertInitialized(),this.marker.setMap(this._googleMap.googleMap),this._eventManager.setTarget(this.marker))}ngOnChanges(R){const{marker:le,_title:ge,_position:Qe,_label:ze,_clickable:rt,_icon:Ae,_visible:it}=this;le&&(R.options&&le.setOptions(this._combineOptions()),R.title&&void 0!==ge&&le.setTitle(ge),R.position&&Qe&&le.setPosition(Qe),R.label&&void 0!==ze&&le.setLabel(ze),R.clickable&&void 0!==rt&&le.setClickable(rt),R.icon&&Ae&&le.setIcon(Ae),R.visible&&void 0!==it&&le.setVisible(it))}ngOnDestroy(){this._eventManager.destroy(),this.marker&&this.marker.setMap(null)}getAnimation(){return this._assertInitialized(),this.marker.getAnimation()||null}getClickable(){return this._assertInitialized(),this.marker.getClickable()}getCursor(){return this._assertInitialized(),this.marker.getCursor()||null}getDraggable(){return this._assertInitialized(),!!this.marker.getDraggable()}getIcon(){return this._assertInitialized(),this.marker.getIcon()||null}getLabel(){return this._assertInitialized(),this.marker.getLabel()||null}getOpacity(){return this._assertInitialized(),this.marker.getOpacity()||null}getPosition(){return this._assertInitialized(),this.marker.getPosition()||null}getShape(){return this._assertInitialized(),this.marker.getShape()||null}getTitle(){return this._assertInitialized(),this.marker.getTitle()||null}getVisible(){return this._assertInitialized(),this.marker.getVisible()}getZIndex(){return this._assertInitialized(),this.marker.getZIndex()||null}getAnchor(){return this._assertInitialized(),this.marker}_combineOptions(){var R,le;const ge=this._options||Je;return Object.assign(Object.assign({},ge),{title:this._title||ge.title,position:this._position||ge.position,label:this._label||ge.label,clickable:null!==(R=this._clickable)&&void 0!==R?R:ge.clickable,map:this._googleMap.googleMap,icon:this._icon||ge.icon,visible:null!==(le=this._visible)&&void 0!==le?le:ge.visible})}_assertInitialized(){}}return ue.\u0275fac=function(R){return new(R||ue)(a.\u0275\u0275directiveInject(xe),a.\u0275\u0275directiveInject(a.NgZone))},ue.\u0275dir=a.\u0275\u0275defineDirective({type:ue,selectors:[["map-marker"]],inputs:{title:"title",position:"position",label:"label",clickable:"clickable",options:"options",icon:"icon",visible:"visible"},outputs:{animationChanged:"animationChanged",mapClick:"mapClick",clickableChanged:"clickableChanged",cursorChanged:"cursorChanged",mapDblclick:"mapDblclick",mapDrag:"mapDrag",mapDragend:"mapDragend",draggableChanged:"draggableChanged",mapDragstart:"mapDragstart",flatChanged:"flatChanged",iconChanged:"iconChanged",mapMousedown:"mapMousedown",mapMouseout:"mapMouseout",mapM
1ouseover:"mapMouseover",mapMouseup:"mapMouseup",positionChanged:"positionChanged",mapRightclick:"mapRightclick",shapeChanged:"shapeChanged",titleChanged:"titleChanged",visibleChanged:"visibleChanged",zindexChanged:"zindexChanged"},exportAs:["mapMarker"],features:[a.\u0275\u0275NgOnChangesFeature]}),ue})(),Ze=(()=>{class ue{constructor(R,le){this._map=R,this._ngZone=le,this._eventManager=new C(this._ngZone),this._options=new u.X({}),this._paths=new u.X(void 0),this._destroyed=new I.x,this.polygonClick=this._eventManager.getLazyEmitter("click"),this.polygonDblclick=this._eventManager.getLazyEmitter("dblclick"),this.polygonDrag=this._eventManager.getLazyEmitter("drag"),this.polygonDragend=this._eventManager.getLazyEmitter("dragend"),this.polygonDragstart=this._eventManager.getLazyEmitter("dragstart"),this.polygonMousedown=this._eventManager.getLazyEmitter("mousedown"),this.polygonMousemove=this._eventManager.getLazyEmitter("mousemove"),this.polygonMouseout=this._eventManager.getLazyEmitter("mouseout"),this.polygonMouseover=this._eventManager.getLazyEmitter("mouseover"),this.polygonMouseup=this._eventManager.getLazyEmitter("mouseup"),this.polygonRightclick=this._eventManager.getLazyEmitter("rightclick")}set options(R){this._options.next(R||{})}set paths(R){this._paths.next(R)}ngOnInit(){this._map._isBrowser&&(this._combineOptions().pipe((0,ee.q)(1)).subscribe(R=>{this._ngZone.runOutsideAngular(()=>{this.polygon=new google.maps.Polygon(R)}),this._assertInitialized(),this.polygon.setMap(this._map.googleMap),this._eventManager.setTarget(this.polygon)}),this._watchForOptionsChanges(),this._watchForPathChanges())}ngOnDestroy(){this._eventManager.destroy(),this._destroyed.next(),this._destroyed.complete(),this.polygon&&this.polygon.setMap(null)}getDraggable(){return this._assertInitialized(),this.polygon.getDraggable()}getEditable(){return this._assertInitialized(),this.polygon.getEditable()}getPath(){return this._assertInitialized(),this.polygon.getPath()}getPaths(){return this._assertInitialized(),this.polygon.getPaths()}getVisible(){return this._assertInitialized(),this.polygon.getVisible()}_combineOptions(){return(0,re.a)([this._options,this._paths]).pipe((0,ce.U)(([R,le])=>Object.assign(Object.assign({},R),{paths:le||R.paths})))}_watchForOptionsChanges(){this._options.pipe((0,Z.R)(this._destroyed)).subscribe(R=>{this._assertInitialized(),this.polygon.setOptions(R)})}_watchForPathChanges(){this._paths.pipe((0,Z.R)(this._destroyed)).subscribe(R=>{R&&(this._assertInitialized(),this.polygon.setPaths(R))})}_assertInitialized(){}}return ue.\u0275fac=function(R){return new(R||ue)(a.\u0275\u0275directiveInject(xe),a.\u0275\u0275directiveInject(a.NgZone))},ue.\u0275dir=a.\u0275\u0275defineDirective({type:ue,selectors:[["map-polygon"]],inputs:{options:"options",paths:"paths"},outputs:{polygonClick:"polygonClick",polygonDblclick:"polygonDblclick",polygonDrag:"polygonDrag",polygonDragend:"polygonDragend",polygonDragstart:"polygonDragstart",polygonMousedown:"polygonMousedown",polygonMousemove:"polygonMousemove",polygonMouseout:"polygonMouseout",polygonMouseover:"polygonMouseover",polygonMouseup:"polygonMouseup",polygonRightclick:"polygonRightclick"},exportAs:["mapPolygon"]}),ue})(),we=(()=>{class ue{}return ue.\u0275fac=function(R){return new(R||ue)},ue.\u0275mod=a.\u0275\u0275defineNgModule({type:ue}),ue.\u0275inj=a.\u0275\u0275defineInjector({}),ue})()},1079:(ft,Te,g)=>{g.d(Te,{Bb:()=>Qe,XC:()=>st,ZL:()=>R});var a=g(5664),f=g(3191),u=g(5e3),X=g(508),I=g(727),re=g(7579),pe=g(9770),ee=g(6451),ce=g(9646),Z=g(4968),oe=g(925),C=g(9808),Y=g(1314),K=g(8962),se=g(1159),xe=g(9129),Ve=g(3075),ke=g(7322),$e=g(8675),ot=g(3900),be=g(5698),ae=g(9300),de=g(4004),Oe=g(8505),He=g(4825),Je=g(226);const Ie=["panel"];function Fe(ze,rt){if(1&ze&&(u.\u0275\u0275elementStart(0,"div",0,1),u.\u0275\u0275projection(2),u.\u0275\u0275elementEnd()),2&ze){const Ae=rt.id,it=u.\u0275\u0275nextContext();u.\u0275\u0275property("id",it.id)("ngClass",it._classList),u.\u0275\u0275attribute("aria-label",it.ariaLabel||null)("aria-labelledby",it._getPanelAriaLabelledby(Ae))}}const Ue=["*"];let Ze=0;class Ne{constructor(rt,Ae){this.source=rt,this.option=Ae}}const _e=(0,X.Kr)(class{}),je=new u.InjectionToken("mat-autocomplete-default-options",{providedIn:"root",factory:function ht(){return{autoActiveFirstOption:!1}}});let yt=(()=>
1{class ze extends _e{constructor(Ae,it,dt,vt){super(),this._changeDetectorRef=Ae,this._elementRef=it,this._activeOptionChanges=I.w0.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new u.EventEmitter,this.opened=new u.EventEmitter,this.closed=new u.EventEmitter,this.optionActivated=new u.EventEmitter,this._classList={},this.id="mat-autocomplete-"+Ze++,this.inertGroups=(null==vt?void 0:vt.SAFARI)||!1,this._autoActiveFirstOption=!!dt.autoActiveFirstOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(Ae){this._autoActiveFirstOption=(0,f.Ig)(Ae)}set classList(Ae){this._classList=Ae&&Ae.length?(0,f.du)(Ae).reduce((it,dt)=>(it[dt]=!0,it),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new a.s1(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(Ae=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[Ae]||null})}),this._setVisibility()}ngOnDestroy(){this._activeOptionChanges.unsubscribe()}_setScrollTop(Ae){this.panel&&(this.panel.nativeElement.scrollTop=Ae)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(Ae){const it=new Ne(this,Ae);this.optionSelected.emit(it)}_getPanelAriaLabelledby(Ae){return this.ariaLabel?null:this.ariaLabelledby?(Ae?Ae+" ":"")+this.ariaLabelledby:Ae}_setVisibilityClasses(Ae){Ae[this._visibleClass]=this.showPanel,Ae[this._hiddenClass]=!this.showPanel}}return ze.\u0275fac=function(Ae){return new(Ae||ze)(u.\u0275\u0275directiveInject(u.ChangeDetectorRef),u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(je),u.\u0275\u0275directiveInject(oe.t4))},ze.\u0275dir=u.\u0275\u0275defineDirective({type:ze,viewQuery:function(Ae,it){if(1&Ae&&(u.\u0275\u0275viewQuery(u.TemplateRef,7),u.\u0275\u0275viewQuery(Ie,5)),2&Ae){let dt;u.\u0275\u0275queryRefresh(dt=u.\u0275\u0275loadQuery())&&(it.template=dt.first),u.\u0275\u0275queryRefresh(dt=u.\u0275\u0275loadQuery())&&(it.panel=dt.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[u.\u0275\u0275InheritDefinitionFeature]}),ze})(),st=(()=>{class ze extends yt{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return ze.\u0275fac=function(){let rt;return function(it){return(rt||(rt=u.\u0275\u0275getInheritedFactory(ze)))(it||ze)}}(),ze.\u0275cmp=u.\u0275\u0275defineComponent({type:ze,selectors:[["mat-autocomplete"]],contentQueries:function(Ae,it,dt){if(1&Ae&&(u.\u0275\u0275contentQuery(dt,X.K7,5),u.\u0275\u0275contentQuery(dt,X.ey,5)),2&Ae){let vt;u.\u0275\u0275queryRefresh(vt=u.\u0275\u0275loadQuery())&&(it.optionGroups=vt),u.\u0275\u0275queryRefresh(vt=u.\u0275\u0275loadQuery())&&(it.options=vt)}},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[u.\u0275\u0275ProvidersFeature([{provide:X.HF,useExisting:ze}]),u.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Ue,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(Ae,it){1&Ae&&(u.\u0275\u0275projectionDef(),u.\u0275\u0275template(0,Fe,3,4,"ng-template"))},directives:[C.mk],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}\n"],encapsulation:2,changeDetection:0}),ze})();const _t=new u.InjectionToken("mat-autocomplete-scroll-strategy"),Le={provide:_t,deps:[Y.aV],useFactory:function we(ze){return()=>ze.scrollStrategies.reposition()}},We={provide:Ve.JU,useExisting:(0,u.forwardRef)(()=>R),multi:!0};let Be=(()=>{class ze{constructor(Ae,it,dt,vt,Pt,De,U,ie,P,A,b){this._element=Ae,this._overlay=it,this._viewContainerRef
1=dt,this._zone=vt,this._changeDetectorRef=Pt,this._dir=U,this._formField=ie,this._document=P,this._viewportRuler=A,this._defaults=b,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=I.w0.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new re.x,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=(0,pe.P)(()=>{const x=this.autocomplete?this.autocomplete.options:null;return x?x.changes.pipe((0,$e.O)(x),(0,ot.w)(()=>(0,ee.T)(...x.map(ne=>ne.onSelectionChange)))):this._zone.onStable.pipe((0,be.q)(1),(0,ot.w)(()=>this.optionSelections))}),this._scrollStrategy=De}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(Ae){this._autocompleteDisabled=(0,f.Ig)(Ae)}ngAfterViewInit(){const Ae=this._getWindow();void 0!==Ae&&this._zone.runOutsideAngular(()=>Ae.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(Ae){Ae.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const Ae=this._getWindow();void 0!==Ae&&Ae.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,ee.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,ae.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,ae.h)(()=>this._overlayAttached)):(0,ce.of)()).pipe((0,de.U)(Ae=>Ae instanceof X.rN?Ae:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,ee.T)((0,Z.R)(this._document,"click"),(0,Z.R)(this._document,"auxclick"),(0,Z.R)(this._document,"touchend")).pipe((0,ae.h)(Ae=>{const it=(0,oe.sA)(Ae),dt=this._formField?this._formField._elementRef.nativeElement:null,vt=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&it!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!dt||!dt.contains(it))&&(!vt||!vt.contains(it))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(it)}))}writeValue(Ae){Promise.resolve().then(()=>this._setTriggerValue(Ae))}registerOnChange(Ae){this._onChange=Ae}registerOnTouched(Ae){this._onTouched=Ae}setDisabledState(Ae){this._element.nativeElement.disabled=Ae}_handleKeydown(Ae){const it=Ae.keyCode,dt=(0,se.Vb)(Ae);if(it===se.hY&&!dt&&Ae.preventDefault(),this.activeOption&&it===se.K5&&this.panelOpen&&!dt)this.activeOption._selectViaInteraction(),this._resetActiveItem(),Ae.preventDefault();else if(this.autocomplete){const vt=this.autocomplete._keyManager.activeItem,Pt=it===se.LH||it===se.JH;it===se.Mf||Pt&&!dt&&this.panelOpen?this.autocomplete._keyManager.onKeydown(Ae):Pt&&this._canOpen()&&this.openPanel(),(Pt||this.autocomplete._keyManager.activeItem!==vt)&&this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0)}}_handleInput(Ae){let it=Ae.target,dt=it.value;"number"===it.type&&(dt=""==dt?null:parseFloat(dt)),this._previousValue!==dt&&(this._previousValue=dt,this._onChange(dt),this._canOpen()&&this._document.activeElement===Ae.target&&this.openPanel
1())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(Ae=!1){this._formField&&"auto"===this._formField.floatLabel&&(Ae?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const Ae=this._zone.onStable.pipe((0,be.q)(1)),it=this.autocomplete.options.changes.pipe((0,Oe.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,He.g)(0));return(0,ee.T)(Ae,it).pipe((0,ot.w)(()=>(this._zone.run(()=>{const dt=this.panelOpen;this._resetActiveItem(),this.autocomplete._setVisibility(),this._changeDetectorRef.detectChanges(),this.panelOpen&&(this._overlayRef.updatePosition(),dt!==this.panelOpen&&this.autocomplete.opened.emit())}),this.panelClosingActions)),(0,be.q)(1)).subscribe(dt=>this._setValueAndClose(dt))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_setTriggerValue(Ae){const it=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(Ae):Ae,dt=null!=it?it:"";this._formField?this._formField._control.value=dt:this._element.nativeElement.value=dt,this._previousValue=dt}_setValueAndClose(Ae){const it=Ae&&Ae.source;it&&(this._clearPreviousSelectedOption(it),this._setTriggerValue(it.value),this._onChange(it.value),this.autocomplete._emitSelectEvent(it),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(Ae){this.autocomplete.options.forEach(it=>{it!==Ae&&it.selected&&it.deselect()})}_attachOverlay(){var Ae;let it=this._overlayRef;it?(this._positionStrategy.setOrigin(this._getConnectedElement()),it.updateSize({width:this._getPanelWidth()})):(this._portal=new xe.UE(this.autocomplete.template,this._viewContainerRef,{id:null===(Ae=this._formField)||void 0===Ae?void 0:Ae.getLabelId()}),it=this._overlay.create(this._getOverlayConfig()),this._overlayRef=it,it.keydownEvents().subscribe(vt=>{(vt.keyCode===se.hY&&!(0,se.Vb)(vt)||vt.keyCode===se.LH&&(0,se.Vb)(vt,"altKey"))&&(this._closeKeyEventStream.next(),this._resetActiveItem(),vt.stopPropagation(),vt.preventDefault())}),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&it&&it.updateSize({width:this._getPanelWidth()})})),it&&!it.hasAttached()&&(it.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const dt=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&dt!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){var Ae;return new Y.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:null===(Ae=this._defaults)||void 0===Ae?void 0:Ae.overlayPanelClass})}_getOverlayPosition(){const Ae=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(Ae),this._positionStrategy=Ae,Ae}_setStrategyPositions(Ae){const it=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],dt=this._aboveClass,vt=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:dt},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:dt}];let Pt;Pt="above"===this.position?vt:"below"===this.position?it:[...it,...vt],Ae.withPositions(Pt)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const Ae=this.autocomplete;Ae.autoActiveFirstOption?Ae._keyManager.setFirstItemActive():Ae._keyManager.setActiveItem(-1)}_canOpen(){const Ae=this._element.nativeElement;return!Ae.readOnly&&!Ae.disabled&&!this._autocompleteDisabled}_getWindow(){var Ae;return(null===(Ae=this._document)||void 0===Ae?void 0:Ae.defaultView)||window}_scrollToOption(Ae){const it=this.autocomplete,dt=(0,X.CB)(Ae,it.options,it.optionGroups);if(0===Ae&&1===dt)it._setScrollTop(0);else if(it.panel){const vt=it.options.toArray()[Ae];if(vt){const Pt=vt._getHostElement(),De=(0,X.jH)(Pt.offsetTop,Pt.offsetHeight,it._getScrollTop(),it.panel.nativeElement.offsetHeight);it._setScrollTop(De)}}}}return ze.\u0275fac=function(Ae){return new(Ae||ze)(u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(Y.aV),u.\u0275\u0275directiveInject(u.ViewContainerRef),u.\u0275\u0275directiveInject(u.NgZone),u.\u0275\u0275directiveInject(u.ChangeDetectorRef),u.\u0275\u0275directiveInject(_t),u.\u0275\u0275directiveInject(Je.Is,8),u.\u0275\u0275directiveInject(ke.G_,9),u.\u0275\u0275directiveInject(C.K0,8),u.\u0275\u0275directiveInject(K.rL),u.\u0275\u0275directiveInject(je,8))},ze.\u0275dir=u.\u0275\u0275defineDirective({type:ze,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[u.\u0275\u0275NgOnChangesFeature]}),ze})(),R=(()=>{class ze extends Be{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return ze.\u0275fac=function(){let rt;
1return function(it){return(rt||(rt=u.\u0275\u0275getInheritedFactory(ze)))(it||ze)}}(),ze.\u0275dir=u.\u0275\u0275defineDirective({type:ze,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(Ae,it){1&Ae&&u.\u0275\u0275listener("focusin",function(){return it._handleFocus()})("blur",function(){return it._onTouched()})("input",function(vt){return it._handleInput(vt)})("keydown",function(vt){return it._handleKeydown(vt)})("click",function(){return it._handleClick()}),2&Ae&&u.\u0275\u0275attribute("autocomplete",it.autocompleteAttribute)("role",it.autocompleteDisabled?null:"combobox")("aria-autocomplete",it.autocompleteDisabled?null:"list")("aria-activedescendant",it.panelOpen&&it.activeOption?it.activeOption.id:null)("aria-expanded",it.autocompleteDisabled?null:it.panelOpen.toString())("aria-owns",it.autocompleteDisabled||!it.panelOpen||null==it.autocomplete?null:it.autocomplete.id)("aria-haspopup",it.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[u.\u0275\u0275ProvidersFeature([We]),u.\u0275\u0275InheritDefinitionFeature]}),ze})(),Qe=(()=>{class ze{}return ze.\u0275fac=function(Ae){return new(Ae||ze)},ze.\u0275mod=u.\u0275\u0275defineNgModule({type:ze}),ze.\u0275inj=u.\u0275\u0275defineInjector({providers:[Le],imports:[[Y.U8,X.Ng,X.BQ,C.ez],K.ZD,X.Ng,X.BQ]}),ze})()},508:(ft,Te,g)=>{g.d(Te,{_A:()=>ht,rD:()=>R,sG:()=>yt,Ad:()=>_e,K7:()=>It,HF:()=>he,BQ:()=>ae,XK:()=>ue,ey:()=>jt,Ng:()=>Rt,rN:()=>Lt,wG:()=>A,si:()=>b,CB:()=>Ot,jH:()=>kt,pj:()=>Ie,Kr:()=>Fe,Id:()=>Je,FD:()=>Ze,dB:()=>Ne,sb:()=>Ue});var a=g(5e3),f=g(226),X=g(9808),I=g(925),re=g(5664),pe=g(3191),ee=g(7579),ce=g(9751),Z=g(6360),oe=g(1159);function K(Xe,J){if(1&Xe&&a.\u0275\u0275element(0,"mat-pseudo-checkbox",4),2&Xe){const N=a.\u0275\u0275nextContext();a.\u0275\u0275property("state",N.selected?"checked":"unchecked")("disabled",N.disabled)}}function se(Xe,J){if(1&Xe&&(a.\u0275\u0275elementStart(0,"span",5),a.\u0275\u0275text(1),a.\u0275\u0275elementEnd()),2&Xe){const N=a.\u0275\u0275nextContext();a.\u0275\u0275advance(1),a.\u0275\u0275textInterpolate1("(",N.group.label,")")}}const xe=["*"],be=new a.InjectionToken("mat-sanity-checks",{providedIn:"root",factory:function ot(){return!0}});let ae=(()=>{class Xe{constructor(N,j,me){this._sanityChecks=j,this._document=me,this._hasDoneGlobalChecks=!1,N._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(N){return!(0,I.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[N])}}return Xe.\u0275fac=function(N){return new(N||Xe)(a.\u0275\u0275inject(re.qm),a.\u0275\u0275inject(be,8),a.\u0275\u0275inject(X.K0))},Xe.\u0275mod=a.\u0275\u0275defineNgModule({type:Xe}),Xe.\u0275inj=a.\u0275\u0275defineInjector({imports:[[f.vT],f.vT]}),Xe})();function Je(Xe){return class extends Xe{constructor(...J){super(...J),this._disabled=!1}get disabled(){return this._disabled}set disabled(J){this._disabled=(0,pe.Ig)(J)}}}function Ie(Xe,J){return class extends Xe{constructor(...N){super(...N),this.defaultColor=J,this.color=J}get color(){return this._color}set color(N){const j=N||this.defaultColor;j!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),j&&this._elementRef.nativeElement.classList.add(`mat-${j}`),this._color=j)}}}function Fe(Xe){return class extends Xe{constructor(...J){super(...J),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(J){this._disableRipple=(0,pe.Ig)(J)}}}function Ue(Xe,J=0){return class extends Xe{constructor(...N){super(...N),this._tabIndex=J,this.defaultTabIndex=J}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(N){this._tabIndex=null!=N?(0,pe.su)(N):this.defaultTabIndex}}}function Ze(Xe){return class extends Xe{constructor(...J){super(...J),this.stateChanges=new ee.x,this.errorState=!1}updateErrorState(){const J=this.errorState,Se=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);Se!==J&&(this.errorState=Se,this.stateChanges.next())}}}function Ne(Xe){return class extends Xe{constructor(...J){super(...J),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new ce.y(N=>
1{this._isInitialized?this._notifySubscriber(N):this._pendingSubscribers.push(N)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(J){J.next(),J.complete()}}}const _e=new a.InjectionToken("MAT_DATE_LOCALE",{providedIn:"root",factory:function je(){return(0,a.inject)(a.LOCALE_ID)}});class ht{constructor(){this._localeChanges=new ee.x,this.localeChanges=this._localeChanges}getValidDateOrNull(J){return this.isDateInstance(J)&&this.isValid(J)?J:null}deserialize(J){return null==J||this.isDateInstance(J)&&this.isValid(J)?J:this.invalid()}setLocale(J){this.locale=J,this._localeChanges.next()}compareDate(J,N){return this.getYear(J)-this.getYear(N)||this.getMonth(J)-this.getMonth(N)||this.getDate(J)-this.getDate(N)}sameDate(J,N){if(J&&N){let j=this.isValid(J),me=this.isValid(N);return j&&me?!this.compareDate(J,N):j==me}return J==N}clampDate(J,N,j){return N&&this.compareDate(J,N)<0?N:j&&this.compareDate(J,j)>0?j:J}}const yt=new a.InjectionToken("mat-date-formats"),st=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function _t(Xe,J){const N=Array(Xe);for(let j=0;j<Xe;j++)N[j]=J(j);return N}let we=(()=>{class Xe extends ht{constructor(N,j){super(),this.useUtcForDisplay=!1,super.setLocale(N)}getYear(N){return N.getFullYear()}getMonth(N){return N.getMonth()}getDate(N){return N.getDate()}getDayOfWeek(N){return N.getDay()}getMonthNames(N){const j=new Intl.DateTimeFormat(this.locale,{month:N,timeZone:"utc"});return _t(12,me=>this._format(j,new Date(2017,me,1)))}getDateNames(){const N=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return _t(31,j=>this._format(N,new Date(2017,0,j+1)))}getDayOfWeekNames(N){const j=new Intl.DateTimeFormat(this.locale,{weekday:N,timeZone:"utc"});return _t(7,me=>this._format(j,new Date(2017,0,me+1)))}getYearName(N){const j=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(j,N)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(N){return this.getDate(this._createDateWithOverflow(this.getYear(N),this.getMonth(N)+1,0))}clone(N){return new Date(N.getTime())}createDate(N,j,me){let Se=this._createDateWithOverflow(N,j,me);return Se.getMonth(),Se}today(){return new Date}parse(N){return"number"==typeof N?new Date(N):N?new Date(Date.parse(N)):null}format(N,j){if(!this.isValid(N))throw Error("NativeDateAdapter: Cannot format invalid date.");const me=new Intl.DateTimeFormat(this.locale,Object.assign(Object.assign({},j),{timeZone:"utc"}));return this._format(me,N)}addCalendarYears(N,j){return this.addCalendarMonths(N,12*j)}addCalendarMonths(N,j){let me=this._createDateWithOverflow(this.getYear(N),this.getMonth(N)+j,this.getDate(N));return this.getMonth(me)!=((this.getMonth(N)+j)%12+12)%12&&(me=this._createDateWithOverflow(this.getYear(me),this.getMonth(me),0)),me}addCalendarDays(N,j){return this._createDateWithOverflow(this.getYear(N),this.getMonth(N),this.getDate(N)+j)}toIso8601(N){return[N.getUTCFullYear(),this._2digit(N.getUTCMonth()+1),this._2digit(N.getUTCDate())].join("-")}deserialize(N){if("string"==typeof N){if(!N)return null;if(st.test(N)){let j=new Date(N);if(this.isValid(j))return j}}return super.deserialize(N)}isDateInstance(N){return N instanceof Date}isValid(N){return!isNaN(N.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(N,j,me){const Se=new Date;return Se.setFullYear(N,j,me),Se.setHours(0,0,0,0),Se}_2digit(N){return("00"+N).slice(-2)}_format(N,j){const me=new Date;return me.setUTCFullYear(j.getFullYear(),j.getMonth(),j.getDate()),me.setUTCHours(j.getHours(),j.getMinutes(),j.getSeconds(),j.getMilliseconds()),N.format(me)}}return Xe.\u0275fac=function(N){return new(N||Xe)(a.\u0275\u0275inject(_e,8),a.\u0275\u0275inject(I.t4))},Xe.\u0275prov=a.\u0275\u0275defineInjectable({token:Xe,factory:Xe.\u0275fac}),Xe})();const Le={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let We=(()=>{class Xe{}return Xe.\u0275fac=function(N){return new(N||Xe)},Xe.\u0275mod=a.\u0275\u0275defineNgModule({type:Xe}),Xe.\u0275inj=a.\u0275\u0275defineInjector({providers:[{provide:ht,useClass:we}]}),Xe})(),ue=(()=>{class Xe{}return Xe.\u0275fac=function(N){return new(N||Xe)},Xe.\u0275mod=a.\u0275\u0275defineNgModule({type:Xe}),Xe.\u0275inj=a.\u0275\u0275defineInjector({providers:[{provide:yt,useValue:Le}],imports:[[We]]}),Xe})(),R=(()=>{class Xe{isErrorState(N,j){return!!(N&&N.invalid&&(N.touched||j&&j.submitted))}}return Xe.\u0275fac=function(N){return new(N||Xe)},Xe.\u0275prov=a.\u0275\u0275defineInjectable({token:Xe,factory:Xe.\u0275fac,providedIn:"root"}),Xe})();class rt{constructor(J,N,j){this._renderer=J,this.element=N,this.config=j,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Ae={enterDuration:225,exitDuration:150},dt=(0,I.i$)({passive:!0}),vt=["mousedown","touchstart"],Pt=["mouseup","mouseleave","touchend","touchcancel"];class De{constructor(J,N,j,me){this._target=J,this._ngZone=N,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,me.isBrowser&&(this._containerElement=(0,pe.fI)(j))}fadeInRipple(J,N,j={}){const me=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Se=Object.assign(Object.assign({},Ae),j.animation);j.centered&&(J=me.left+me.width/2,N=me.top+me.height/2);const z=j.radius||function ie(Xe,J,N){const j=Math.max(Math.abs(Xe-N.left),Math.abs(Xe-N.right)),me=Math.max(Math.abs(J-N.top),Math.abs(J-N.bottom));return Math.sqrt(j*j+me*me)}(J,N,me),Ke=J-me.left,y=N-me.top,O=Se.enterDuration,q=document.createElement("div");q.classList.add("mat-ripple-element"),q.style.left=Ke-z+"px",q.style.top=y-z+"px",q.style.height=2*z+"px",q.style.width=2*z+"px",null!=j.color&&(q.style.backgroundColor=j.color),q.
1style.transitionDuration=`${O}ms`,this._containerElement.appendChild(q),function U(Xe){window.getComputedStyle(Xe).getPropertyValue("opacity")}(q),q.style.transform="scale(1)";const B=new rt(this,q,j);return B.state=0,this._activeRipples.add(B),j.persistent||(this._mostRecentTransientRipple=B),this._runTimeoutOutsideZone(()=>{const k=B===this._mostRecentTransientRipple;B.state=1,!j.persistent&&(!k||!this._isPointerDown)&&B.fadeOut()},O),B}fadeOutRipple(J){const N=this._activeRipples.delete(J);if(J===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!N)return;const j=J.element,me=Object.assign(Object.assign({},Ae),J.config.animation);j.style.transitionDuration=`${me.exitDuration}ms`,j.style.opacity="0",J.state=2,this._runTimeoutOutsideZone(()=>{J.state=3,j.remove()},me.exitDuration)}fadeOutAll(){this._activeRipples.forEach(J=>J.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(J=>{J.config.persistent||J.fadeOut()})}setupTriggerEvents(J){const N=(0,pe.fI)(J);!N||N===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=N,this._registerEvents(vt))}handleEvent(J){"mousedown"===J.type?this._onMousedown(J):"touchstart"===J.type?this._onTouchStart(J):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(Pt),this._pointerUpEventsRegistered=!0)}_onMousedown(J){const N=(0,re.X6)(J),j=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!N&&!j&&(this._isPointerDown=!0,this.fadeInRipple(J.clientX,J.clientY,this._target.rippleConfig))}_onTouchStart(J){if(!this._target.rippleDisabled&&!(0,re.yG)(J)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const N=J.changedTouches;for(let j=0;j<N.length;j++)this.fadeInRipple(N[j].clientX,N[j].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._activeRipples.forEach(J=>{!J.config.persistent&&(1===J.state||J.config.terminateOnPointerUp&&0===J.state)&&J.fadeOut()}))}_runTimeoutOutsideZone(J,N=0){this._ngZone.runOutsideAngular(()=>setTimeout(J,N))}_registerEvents(J){this._ngZone.runOutsideAngular(()=>{J.forEach(N=>{this._triggerElement.addEventListener(N,this,dt)})})}_removeTriggerEvents(){this._triggerElement&&(vt.forEach(J=>{this._triggerElement.removeEventListener(J,this,dt)}),this._pointerUpEventsRegistered&&Pt.forEach(J=>{this._triggerElement.removeEventListener(J,this,dt)}))}}const P=new a.InjectionToken("mat-ripple-global-options");let A=(()=>{class Xe{constructor(N,j,me,Se,z){this._elementRef=N,this._animationMode=z,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=Se||{},this._rippleRenderer=new De(this,j,N,me)}get disabled(){return this._disabled}set disabled(N){N&&this.fadeOutAllNonPersistent(),this._disabled=N,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(N){this._trigger=N,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(N,j=0,me){return"number"==typeof N?this._rippleRenderer.fadeInRipple(N,j,Object.assign(Object.assign({},this.rippleConfig),me)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),N))}}return Xe.\u0275fac=function(N){return new(N||Xe)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(a.NgZone),a.\u0275\u0275directiveInject(I.t4),a.\u0275\u0275directiveInject(P,8),a.\u0275\u0275directiveInject(Z.Qb,8))},Xe.\u0275dir=a.\u0275\u0275defineDirective({type:Xe,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(N,j){2&N&&a.\u0275\u0275classProp("mat-ripple-unbounded",j.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),Xe})(),b=(()=>{class Xe{}return Xe.\u0275fac=function(N){return new(N||Xe)},Xe.\u0275mod=a.\u0275\u0275defineNgModule({type:Xe}),Xe.\u0275inj=a.\u0275\u0275defineInjector({imports:[[ae],ae]}),Xe})(),x=(()=>{class Xe{constructor(N){this._animationMode=N,this.state="unchecked",this.disabled=!1}}return Xe.\u0275fac=function(N){return new(N||Xe)(a.\u0275\u0275directiveInject(Z.Qb,8))},Xe.\u0275cmp=a.\u0275\u0275defineComponent({type:Xe,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(N,j){2&N&&a.\u0275\u0275classProp("mat-pseudo-checkbox-indeterminate","indeterminate"===j.state)("mat-pseudo-checkbox-checked","checked"===j.state)("mat-pseudo-checkbox-disabled",j.disabled)("_mat-animation-noopable","NoopAnimations"===j._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(N,j){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),Xe})(),ne=(()=>{class Xe{}return Xe.\u0275fac=function(N){return new(N||Xe)},Xe.\u0275mod=a.\u0275\u0275defineNgModule({type:Xe}),Xe.\u0275inj=a.\u0275\u0275defineInjector({imports:[[ae]]}),Xe})();const he=new a.InjectionToken("MAT_OPTION_PARENT_COMPONENT"),It=new a.InjectionToken("MatOptgroup");let St=0;class Lt{constructor(J,N=!1){this.source=J,this.isUserInput=N}}let $t=(()=>{class Xe{constructor(N,j,me,Se){this._element=N,this._changeDetectorRef=j,this._parent=me,this.group=Se,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+St++,this.onSelectionChange=new a.EventEmitter,this._stateChanges=new ee.x}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(N){this._disabled=(0,pe.Ig)(N)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(N,j){const me=this._getHostElement();"function"==typeof me.focus&&me.focus(j)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(N){(N.keyCode===oe.K5||N.keyCode===oe.L_)&&!(0,oe.Vb)(N)&&(this._selectViaInteraction(),N.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}
1_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const N=this.viewValue;N!==this._mostRecentViewValue&&(this._mostRecentViewValue=N,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(N=!1){this.onSelectionChange.emit(new Lt(this,N))}}return Xe.\u0275fac=function(N){a.\u0275\u0275invalidFactory()},Xe.\u0275dir=a.\u0275\u0275defineDirective({type:Xe,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),Xe})(),jt=(()=>{class Xe extends $t{constructor(N,j,me,Se){super(N,j,me,Se)}}return Xe.\u0275fac=function(N){return new(N||Xe)(a.\u0275\u0275directiveInject(a.ElementRef),a.\u0275\u0275directiveInject(a.ChangeDetectorRef),a.\u0275\u0275directiveInject(he,8),a.\u0275\u0275directiveInject(It,8))},Xe.\u0275cmp=a.\u0275\u0275defineComponent({type:Xe,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(N,j){1&N&&a.\u0275\u0275listener("click",function(){return j._selectViaInteraction()})("keydown",function(Se){return j._handleKeydown(Se)}),2&N&&(a.\u0275\u0275hostProperty("id",j.id),a.\u0275\u0275attribute("tabindex",j._getTabIndex())("aria-selected",j._getAriaSelected())("aria-disabled",j.disabled.toString()),a.\u0275\u0275classProp("mat-selected",j.selected)("mat-option-multiple",j.multiple)("mat-active",j.active)("mat-option-disabled",j.disabled))},exportAs:["matOption"],features:[a.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:xe,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(N,j){1&N&&(a.\u0275\u0275projectionDef(),a.\u0275\u0275template(0,K,1,2,"mat-pseudo-checkbox",0),a.\u0275\u0275elementStart(1,"span",1),a.\u0275\u0275projection(2),a.\u0275\u0275elementEnd(),a.\u0275\u0275template(3,se,2,1,"span",2),a.\u0275\u0275element(4,"div",3)),2&N&&(a.\u0275\u0275property("ngIf",j.multiple),a.\u0275\u0275advance(3),a.\u0275\u0275property("ngIf",j.group&&j.group._inert),a.\u0275\u0275advance(1),a.\u0275\u0275property("matRippleTrigger",j._getHostElement())("matRippleDisabled",j.disabled||j.disableRipple))},directives:[X.O5,A,x],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),Xe})();function Ot(Xe,J,N){if(N.length){let j=J.toArray(),me=N.toArray(),Se=0;for(let z=0;z<Xe+1;z++)j[z].group&&j[z].group===me[Se]&&Se++;return Se}return 0}function kt(Xe,J,N,j){return Xe<N?Xe:Xe+J>N+j?Math.max(0,Xe-j+J):N}let Rt=(()=>{class Xe{}return Xe.\u0275fac=function(N){return new(N||Xe)},Xe.\u0275mod=a.\u0275\u0275defineNgModule({type:Xe}),Xe.\u0275inj=a.\u0275\u0275defineInjector({imports:[[b,X.ez,ae,ne]]}),Xe})()},8966:(ft,Te,g)=>{g.d(Te,{Is:()=>Be,WI:()=>Ie,ZT:()=>_t,so:()=>He,uw:()=>ht,xY:()=>Le});var a=g(1314),f=g(9129),u=g(5e3),X=g(508),I=g(226),re=g(7579),pe=g(9770),ee=g(9646),ce=g(9300),Z=g(5698),oe=g(8675),C=g(925),Y=g(9808),K=g(1777),se=g(5664),xe=g(1159),Ve=g(6360);function ke(R,le){}class $e{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const ot={dialogContainer:(0,K.X$)("dialogContainer",[(0,K.SB)("void, exit",(0,K.oB)({opacity:0,transform:"scale(0.7)"})),(0,K.SB)("enter",(0,K.oB)({transform:"none"})),(0,K.eR)("* => enter",(0,K.ru)([(0,K.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,K.oB)({transform:"none",opacity:1})),(0,K.IO)("@*",(0,K.pV)(),{optional:!0})])),(0,K.eR)("* => void, * => exit",(0,K.ru)([(0,K.jt)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,K.oB)({opacity:0}
1)),(0,K.IO)("@*",(0,K.pV)(),{optional:!0})]))])};let ae=(()=>{class R extends f.en{constructor(ge,Qe,ze,rt,Ae,it,dt,vt){super(),this._elementRef=ge,this._focusTrapFactory=Qe,this._changeDetectorRef=ze,this._config=Ae,this._interactivityChecker=it,this._ngZone=dt,this._focusMonitor=vt,this._animationStateChanged=new u.EventEmitter,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=Pt=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(Pt)),this._ariaLabelledBy=Ae.ariaLabelledBy||null,this._document=rt}_initializeWithAttachedContent(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,C.ht)())}attachComponentPortal(ge){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(ge)}attachTemplatePortal(ge){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(ge)}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(ge,Qe){this._interactivityChecker.isFocusable(ge)||(ge.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const ze=()=>{ge.removeEventListener("blur",ze),ge.removeEventListener("mousedown",ze),ge.removeAttribute("tabindex")};ge.addEventListener("blur",ze),ge.addEventListener("mousedown",ze)})),ge.focus(Qe)}_focusByCssSelector(ge,Qe){let ze=this._elementRef.nativeElement.querySelector(ge);ze&&this._forceFocus(ze,Qe)}_trapFocus(){const ge=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||ge.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(Qe=>{Qe||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const ge=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&ge&&"function"==typeof ge.focus){const Qe=(0,C.ht)(),ze=this._elementRef.nativeElement;(!Qe||Qe===this._document.body||Qe===ze||ze.contains(Qe))&&(this._focusMonitor?(this._focusMonitor.focusVia(ge,this._closeInteractionType),this._closeInteractionType=null):ge.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const ge=this._elementRef.nativeElement,Qe=(0,C.ht)();return ge===Qe||ge.contains(Qe)}}return R.\u0275fac=function(ge){return new(ge||R)(u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(se.qV),u.\u0275\u0275directiveInject(u.ChangeDetectorRef),u.\u0275\u0275directiveInject(Y.K0,8),u.\u0275\u0275directiveInject($e),u.\u0275\u0275directiveInject(se.ic),u.\u0275\u0275directiveInject(u.NgZone),u.\u0275\u0275directiveInject(se.tE))},R.\u0275dir=u.\u0275\u0275defineDirective({type:R,viewQuery:function(ge,Qe){if(1&ge&&u.\u0275\u0275viewQuery(f.Pl,7),2&ge){let ze;u.\u0275\u0275queryRefresh(ze=u.\u0275\u0275loadQuery())&&(Qe._portalOutlet=ze.first)}},features:[u.\u0275\u0275InheritDefinitionFeature]}),R})(),de=(()=>{class R extends ae{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:ge,totalTime:Qe}){"enter"===ge?(this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:Qe})):"exit"===ge&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:Qe}))}_onAnimationStart({toState:ge,totalTime:Qe}){"enter"===ge?this._animationStateChanged.next({state:"opening",totalTime:Qe}):("exit"===ge||"void"===ge)&&this._animationStateChanged.next({state:"closing",totalTime:Qe})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_initializeWithAttachedContent(){super._initializeWithAttachedContent(),this._config.delayFocusTrap||this._trapFocus()}}return R.\u0275fac=function(){let le;return function(Qe){return(le||(le=u.\u0275\u0275getInheritedFactory(R)))(Qe||R)}}(),R.\u0275cmp=u.\u0275\u0275defineComponent({type:R,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(ge,Qe){1&ge&&u.\u0275\u0275syntheticHostListener("@dialogContainer.start",function(rt){return Qe._onAnimationStart(rt)})("@dialogContainer.done",function(rt){return Qe._onAnimationDone(rt)}),2&ge&&(u.\u0275\u0275hostProperty("id",Qe._id),u.\u0275\u0275attribute("role",Qe._config.role)("aria-labelledby",Qe._config.ariaLabel?null:Qe._ariaLabelledBy)("aria-label",Qe._config.ariaLabel)("aria-describedby",Qe._config.ariaDescribedBy||null),u.\u0275\u0275syntheticHostProperty("@dialogContainer",Qe._state))},features:[u.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(ge,Qe){1&ge&&u.\u0275\u0275template(0,ke,0,0,"ng-template",0)},directives:[f.Pl],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[ot.dialogContainer]}}),R})(),Oe=0;class He{constructor(le,ge,Qe="mat-dialog-"+Oe++){this._overlayRef=le,this._containerInstance=ge,this.id=Qe,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new re.x,this._afterClosed=new re.x,this._beforeClosed=new re.x,this._state=0,ge._id=Qe,ge._animationStateChanged.pipe((0,ce.h)(ze=>"opened"===ze.state),(0,Z.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),ge._animationStateChanged.pipe((0,ce.h)(ze=>"closed"===ze.state),(0,Z.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),le.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),le.keydownEvents().pipe((0,ce.h)(ze=>ze.keyCode===xe.hY&&!this.disableClose&&!(0,xe.Vb)(ze))).subscribe(ze=>{ze.preventDefault(),Je(this,"keyboard")}),le.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():Je(this,"mouse")})}close(le){this._result=le,this._containerInstance._animationStateChanged.pipe((0,ce.h)(ge=>"closing"===ge.state),(0,Z.q)(1)).subscribe(ge=>{this._beforeClosed.next(le),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),ge.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(le){let ge=this._getPositionStrategy();return le&&(le.left||le.right)?le.left?ge.left(le.left):ge.right(le.right):ge.centerHorizontally(),le&&(le.top||le.bottom)?le.top?ge.top(le.top):ge.bottom(le.bottom):ge.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(le="",ge=""){return this._overlayRef.updateSize({width:le,height:ge}),this._overlayRef.updatePosition(),this}addPanelClass(le){return this._overlayRef.addPanelClass(le),this}removePanelClass(le){return this._overlayRef.removePanelClass(le),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function Je(R,le,ge){return void 0!==R._containerInstance&&(R._containerInstance._closeInteractionType=le),R.close(ge)}const Ie=new u.InjectionToken("MatDialogData"),Fe=new u.InjectionToken("mat-dialog-default-options"),Ue=new u.InjectionToken("mat-dialog-scroll-strategy"),_e={provide:Ue,deps:[a.aV],useFactory:function Ne(R){return()=>R.scrollStrategies.block()}};let je=(()=>{class R{constructor(ge,Qe,ze,rt,Ae,it,dt,vt,Pt,De){this._overlay=ge,this._injector=Qe,this._defaultOptions=ze,this._parentDialog=rt,this._overlayContainer=Ae,this._dialogRefConstructor=dt,this._dialogContainerType=vt,this._dialogDataToken=Pt,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new re.x,this._afterOpenedAtThisLevel=new re.x,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,pe.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,oe.O)(void 0))),this._scrollStrategy=it}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const ge=this._parentDialog;return ge?ge._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(ge,Qe){Qe=function yt(R,le){return Object.assign(Object.assign({},le),R)}(Qe,this._defaultOptions||new $e),Qe.id&&this.getDialogById(Qe.id);const ze=this._createOverlay(Qe),rt=this._attachDialogContainer(ze,Qe),Ae=this._attachDialogContent(ge,rt,ze,Qe);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(Ae),Ae.afterClosed().subscribe(()=>this._removeOpenDialog(Ae)),this.afterOpened.next(Ae),rt._initializeWithAttachedContent(),Ae}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(ge){return this.openDialogs.find(Qe=>Qe.id===ge)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(ge){const Qe=this._getOverlayConfig(ge);return this._overlay.create(Qe)}_getOverlayConfig(ge){const Qe=new a.X_({positionStrategy:this._overlay.position().global(),scrollStrategy:ge.scrollStrategy||this._scrollStrategy(),panelClass:ge.panelClass,hasBackdrop:ge.hasBackdrop,direction:ge.direction,minWidth:ge.minWidth,minHeight:ge.minHeight,maxWidth:ge.maxWidth,maxHeight:ge.maxHeight,disposeOnNavigation:ge.closeOnNavigation});return ge.backdropClass&&(Qe.backdropClass=ge.backdropClass),Qe}_attachDialogContainer(ge,Qe){const rt=u.Injector.create({parent:Qe&&Qe.viewContainerRef&&Qe.viewContainerRef.injector||this._injector,providers:[{provide:$e,useValue:Qe}]}),Ae=new f.C5(this._dialogContainerType,Qe.viewContainerRef,rt,Qe.componentFactoryResolver);return ge.attach(Ae).instance}_attachDialogContent(ge,Qe,ze,rt){const Ae=new this._dialogRefConstructor(ze,Qe,rt.id);if(ge instanceof u.TemplateRef)Qe.attachTemplatePortal(new f.UE(ge,null,{$implicit:rt.data,dialogRef:Ae}));else{const it=this._createInjector(rt,Ae,Qe),dt=Qe.attachComponentPortal(new f.C5(ge,rt.viewContainerRef,it,rt.componentFactoryResolver));Ae.componentInstance=dt.instance}return Ae.updateSize(rt.width,rt.height).updatePosition(rt.position),Ae}_createInjector(ge,Qe,ze){const rt=ge&&ge.viewContainerRef&&ge.viewContainerRef.injector,Ae=[{provide:this._dialogContainerType,useValue:ze},{provide:this._dialogDataToken,useValue:ge.data},{provide:this._dialogRefConstructor,useValue:Qe}];return ge.direction&&(!rt||!rt.get(I.Is,null,u.InjectFlags.Optional))&&Ae.push({provide:I.Is,useValue:{value:ge.direction,change:(0,ee.of)()}}),u.Injector.create({parent:rt||this._injector,providers:Ae})}_removeOpenDialog(ge){const Qe=this.openDialogs.indexOf(ge);Qe>-1&&(this.openDialogs.splice(Qe,1),this.openDialogs.length||(this._ariaHiddenElements.forEac
1h((ze,rt)=>{ze?rt.setAttribute("aria-hidden",ze):rt.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const ge=this._overlayContainer.getContainerElement();if(ge.parentElement){const Qe=ge.parentElement.children;for(let ze=Qe.length-1;ze>-1;ze--){let rt=Qe[ze];rt!==ge&&"SCRIPT"!==rt.nodeName&&"STYLE"!==rt.nodeName&&!rt.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(rt,rt.getAttribute("aria-hidden")),rt.setAttribute("aria-hidden","true"))}}}_closeDialogs(ge){let Qe=ge.length;for(;Qe--;)ge[Qe].close()}}return R.\u0275fac=function(ge){u.\u0275\u0275invalidFactory()},R.\u0275dir=u.\u0275\u0275defineDirective({type:R}),R})(),ht=(()=>{class R extends je{constructor(ge,Qe,ze,rt,Ae,it,dt,vt){super(ge,Qe,rt,it,dt,Ae,He,de,Ie,vt)}}return R.\u0275fac=function(ge){return new(ge||R)(u.\u0275\u0275inject(a.aV),u.\u0275\u0275inject(u.Injector),u.\u0275\u0275inject(Y.Ye,8),u.\u0275\u0275inject(Fe,8),u.\u0275\u0275inject(Ue),u.\u0275\u0275inject(R,12),u.\u0275\u0275inject(a.Xj),u.\u0275\u0275inject(Ve.Qb,8))},R.\u0275prov=u.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac}),R})(),_t=(()=>{class R{constructor(ge,Qe,ze){this.dialogRef=ge,this._elementRef=Qe,this._dialog=ze,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=function ue(R,le){let ge=R.nativeElement.parentElement;for(;ge&&!ge.classList.contains("mat-dialog-container");)ge=ge.parentElement;return ge?le.find(Qe=>Qe.id===ge.id):null}(this._elementRef,this._dialog.openDialogs))}ngOnChanges(ge){const Qe=ge._matDialogClose||ge._matDialogCloseResult;Qe&&(this.dialogResult=Qe.currentValue)}_onButtonClick(ge){Je(this.dialogRef,0===ge.screenX&&0===ge.screenY?"keyboard":"mouse",this.dialogResult)}}return R.\u0275fac=function(ge){return new(ge||R)(u.\u0275\u0275directiveInject(He,8),u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(ht))},R.\u0275dir=u.\u0275\u0275defineDirective({type:R,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(ge,Qe){1&ge&&u.\u0275\u0275listener("click",function(rt){return Qe._onButtonClick(rt)}),2&ge&&u.\u0275\u0275attribute("aria-label",Qe.ariaLabel||null)("type",Qe.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[u.\u0275\u0275NgOnChangesFeature]}),R})(),Le=(()=>{class R{}return R.\u0275fac=function(ge){return new(ge||R)},R.\u0275dir=u.\u0275\u0275defineDirective({type:R,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),R})(),Be=(()=>{class R{}return R.\u0275fac=function(ge){return new(ge||R)},R.\u0275mod=u.\u0275\u0275defineNgModule({type:R}),R.\u0275inj=u.\u0275\u0275defineInjector({providers:[ht,_e],imports:[[a.U8,f.eL,X.BQ],X.BQ]}),R})()},7322:(ft,Te,g)=>{g.d(Te,{Eo:()=>st,G_:()=>De,KE:()=>U,R9:()=>rt,TO:()=>ht,hX:()=>R,lN:()=>ie});var a=g(7144),f=g(9808),u=g(5e3),X=g(508),I=g(3191),re=g(7579),pe=g(6451),ee=g(4968),ce=g(8675),Z=g(2722),oe=g(5698),C=g(1777),Y=g(6360),K=g(226),se=g(925);const xe=["connectionContainer"],Ve=["inputContainer"],ke=["label"];function $e(P,A){1&P&&(u.\u0275\u0275elementContainerStart(0),u.\u0275\u0275elementStart(1,"div",14),u.\u0275\u0275element(2,"div",15),u.\u0275\u0275element(3,"div",16),u.\u0275\u0275element(4,"div",17),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(5,"div",18),u.\u0275\u0275element(6,"div",15),u.\u0275\u0275element(7,"div",16),u.\u0275\u0275element(8,"div",17),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementContainerEnd())}function ot(P,A){if(1&P){const b=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"div",19),u.\u0275\u0275listener("cdkObserveContent",function(){return u.\u0275\u0275restoreView(b),u.\u0275\u0275nextContext().updateOutlineGap()}),u.\u0275\u0275projection(1,1),u.\u0275\u0275elementEnd()}if(2&P){const b=u.\u0275\u0275nextContext();u.\u0275\u0275property("cdkObserveContentDisabled","outline"!=b.appearance)}}function be(P,A){if(1&P&&(u.\u0275\u0275elementContainerStart(0),u.\u0275\u0275projection(1,2),u.\u0275\u0275elementStart(2,"span"),u.\u0275\u0275text(3),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementContainerEnd()),2&P){const b=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(3),u.\u0275\u0275textInterpolate(b._control.placeholder)}}function ae(P,A){1&P&&u.\u0275\u0275projection(0,3,["*ngSwitchCase","true"])}function de(P,A){1&P&&(u.\u0275\u0275elementStart(0,"span",23),u.\u0275\u0275text(1," *"),u.\u0275\u0275elementEnd())}function Oe(P,A){if(1&P){const b=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"label",20,21),u.\u0275\u0275listener("cdkObserveContent",function(){return u.\u0275\u0275restoreView(b),u.\u0275\u0275nextContext().updateOutlineGap()}),u.\u0275\u0275template(2,be,4,1,"ng-container",12),u.\u0275\u0275template(3,ae,1,0,"ng-content",12),u.\u0275\u0275template(4,de,2,0,"span",22),u.\u0275\u0275elementEnd()}if(2&P){const b=u.\u0275\u0275nextContext();u.\u0275\u0275classProp("mat-empty",b._control.empty&&!b._shouldAlwaysFloat
1())("mat-form-field-empty",b._control.empty&&!b._shouldAlwaysFloat())("mat-accent","accent"==b.color)("mat-warn","warn"==b.color),u.\u0275\u0275property("cdkObserveContentDisabled","outline"!=b.appearance)("id",b._labelId)("ngSwitch",b._hasLabel()),u.\u0275\u0275attribute("for",b._control.id)("aria-owns",b._control.id),u.\u0275\u0275advance(2),u.\u0275\u0275property("ngSwitchCase",!1),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngSwitchCase",!0),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngIf",!b.hideRequiredMarker&&b._control.required&&!b._control.disabled)}}function He(P,A){1&P&&(u.\u0275\u0275elementStart(0,"div",24),u.\u0275\u0275projection(1,4),u.\u0275\u0275elementEnd())}function Je(P,A){if(1&P&&(u.\u0275\u0275elementStart(0,"div",25),u.\u0275\u0275element(1,"span",26),u.\u0275\u0275elementEnd()),2&P){const b=u.\u0275\u0275nextContext();u.\u0275\u0275advance(1),u.\u0275\u0275classProp("mat-accent","accent"==b.color)("mat-warn","warn"==b.color)}}function Ie(P,A){if(1&P&&(u.\u0275\u0275elementStart(0,"div"),u.\u0275\u0275projection(1,5),u.\u0275\u0275elementEnd()),2&P){const b=u.\u0275\u0275nextContext();u.\u0275\u0275property("@transitionMessages",b._subscriptAnimationState)}}function Fe(P,A){if(1&P&&(u.\u0275\u0275elementStart(0,"div",30),u.\u0275\u0275text(1),u.\u0275\u0275elementEnd()),2&P){const b=u.\u0275\u0275nextContext(2);u.\u0275\u0275property("id",b._hintLabelId),u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate(b.hintLabel)}}function Ue(P,A){if(1&P&&(u.\u0275\u0275elementStart(0,"div",27),u.\u0275\u0275template(1,Fe,2,2,"div",28),u.\u0275\u0275projection(2,6),u.\u0275\u0275element(3,"div",29),u.\u0275\u0275projection(4,7),u.\u0275\u0275elementEnd()),2&P){const b=u.\u0275\u0275nextContext();u.\u0275\u0275property("@transitionMessages",b._subscriptAnimationState),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngIf",b.hintLabel)}}const Ze=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Ne=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let _e=0;const je=new u.InjectionToken("MatError");let ht=(()=>{class P{constructor(b,x){this.id="mat-error-"+_e++,b||x.nativeElement.setAttribute("aria-live","polite")}}return P.\u0275fac=function(b){return new(b||P)(u.\u0275\u0275injectAttribute("aria-live"),u.\u0275\u0275directiveInject(u.ElementRef))},P.\u0275dir=u.\u0275\u0275defineDirective({type:P,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(b,x){2&b&&u.\u0275\u0275attribute("id",x.id)},inputs:{id:"id"},features:[u.\u0275\u0275ProvidersFeature([{provide:je,useExisting:P}])]}),P})();const yt={transitionMessages:(0,C.X$)("transitionMessages",[(0,C.SB)("enter",(0,C.oB)({opacity:1,transform:"translateY(0%)"})),(0,C.eR)("void => enter",[(0,C.oB)({opacity:0,transform:"translateY(-5px)"}),(0,C.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let st=(()=>{class P{}return P.\u0275fac=function(b){return new(b||P)},P.\u0275dir=u.\u0275\u0275defineDirective({type:P}),P})();const ue=new u.InjectionToken("MatHint");let R=(()=>{class P{}return P.\u0275fac=function(b){return new(b||P)},P.\u0275dir=u.\u0275\u0275defineDirective({type:P,selectors:[["mat-label"]]}),P})(),le=(()=>{class P{}return P.\u0275fac=function(b){return new(b||P)},P.\u0275dir=u.\u0275\u0275defineDirective({type:P,selectors:[["mat-placeholder"]]}),P})();const ge=new u.InjectionToken("MatPrefix"),ze=new u.InjectionToken("MatSuffix");let rt=(()=>{class P{}return P.\u0275fac=function(b){return new(b||P)},P.\u0275dir=u.\u0275\u0275defineDirective({type:P,selectors:[["","matSuffix",""]],features:[u.\u0275\u0275ProvidersFeature([{provide:ze,useExisting:P}])]}),P})(),Ae=0;const vt=(0,X.pj)(class{constructor(P){this._elementRef=P}},"primary"),Pt=new u.InjectionToken("MAT_FORM_FIELD_DEFAULT_OPTIONS"),De=new u.InjectionToken("MatFormField");let U=(()=>{class P extends vt{constructor(b,x,ne,he,qe,nt,ct){super(b),this._changeDetectorRef=x,this._dir=ne,this._defaults=he,this._platform=qe,this._ngZone=nt,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new re.x,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+Ae++,this._labelId="mat-form-field-label-"+Ae++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==ct,this.appearance=he&&he.appearance?he.appearance:"legacy",this._hideRequiredMarker=!(!he||null==he.hideRequiredMarker)&&he.hideRequiredMarker}get appearance(){return this._appearance}set appearance(b){const x=this._appearance;this._appearance=b||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&x!==b&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(b){this._hideRequiredMarker=(0,I.Ig)(b)}
1_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(b){this._hintLabel=b,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(b){b!==this._floatLabel&&(this._floatLabel=b||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(b){this._explicitFormFieldControl=b}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const b=this._control;b.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${b.controlType}`),b.stateChanges.pipe((0,ce.O)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),b.ngControl&&b.ngControl.valueChanges&&b.ngControl.valueChanges.pipe((0,Z.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,Z.R)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,pe.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,ce.O)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,ce.O)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,Z.R)(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(b){const x=this._control?this._control.ngControl:null;return x&&x[b]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,ee.R)(this._label.nativeElement,"transitionend").pipe((0,oe.q)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let b=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&b.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const x=this._hintChildren?this._hintChildren.find(he=>"start"===he.align):null,ne=this._hintChildren?this._hintChildren.find(he=>"end"===he.align):null;x?b.push(x.id):this._hintLabel&&b.push(this._hintLabelId),ne&&b.push(ne.id)}else this._errorChildren&&b.push(...this._errorChildren.map(x=>x.id));this._control.setDescribedByIds(b)}}_validateControlChild(){}updateOutlineGap(){const b=this._label?this._label.nativeElement:null,x=this._connectionContainerRef.nativeElement,ne=".mat-form-field-outline-start",he=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!b||!b.children.length||!b.textContent.trim()){const wt=x.querySelectorAll(`${ne}, ${he}`);for(let St=0;St<wt.length;St++)wt[St].style.width="0";return}if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let qe=0,nt=0;const ct=x.querySelectorAll(ne),It=x.querySelectorAll(he);if(this._label&&this._label.nativeElement.children.length){const wt=x.getBoundingClientRect();if(0===wt.width&&0===wt.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const St=this._getStartEnd(wt),Lt=b.children,$t=this._getStartEnd(Lt[0].getBoundingClientRect());let jt=0;for(let Ot=0;Ot<Lt.length;Ot++)jt+=Lt[Ot].offsetWidth;qe=Math.abs($t-St)-5,nt=jt>0?.75*jt+10:0}for(let wt=0;wt<ct.length;wt++)ct[wt].style.width=`${qe}px`;for(let wt=0;wt<It.length;wt++)It[wt].style.width=`${nt}px`;this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}_getStartEnd(b){return this._dir&&"rtl"===this._dir.value?b.right:b.left}
1_isAttachedToDOM(){const b=this._elementRef.nativeElement;if(b.getRootNode){const x=b.getRootNode();return x&&x!==b}return document.documentElement.contains(b)}}return P.\u0275fac=function(b){return new(b||P)(u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(u.ChangeDetectorRef),u.\u0275\u0275directiveInject(K.Is,8),u.\u0275\u0275directiveInject(Pt,8),u.\u0275\u0275directiveInject(se.t4),u.\u0275\u0275directiveInject(u.NgZone),u.\u0275\u0275directiveInject(Y.Qb,8))},P.\u0275cmp=u.\u0275\u0275defineComponent({type:P,selectors:[["mat-form-field"]],contentQueries:function(b,x,ne){if(1&b&&(u.\u0275\u0275contentQuery(ne,st,5),u.\u0275\u0275contentQuery(ne,st,7),u.\u0275\u0275contentQuery(ne,R,5),u.\u0275\u0275contentQuery(ne,R,7),u.\u0275\u0275contentQuery(ne,le,5),u.\u0275\u0275contentQuery(ne,je,5),u.\u0275\u0275contentQuery(ne,ue,5),u.\u0275\u0275contentQuery(ne,ge,5),u.\u0275\u0275contentQuery(ne,ze,5)),2&b){let he;u.\u0275\u0275queryRefresh(he=u.\u0275\u0275loadQuery())&&(x._controlNonStatic=he.first),u.\u0275\u0275queryRefresh(he=u.\u0275\u0275loadQuery())&&(x._controlStatic=he.first),u.\u0275\u0275queryRefresh(he=u.\u0275\u0275loadQuery())&&(x._labelChildNonStatic=he.first),u.\u0275\u0275queryRefresh(he=u.\u0275\u0275loadQuery())&&(x._labelChildStatic=he.first),u.\u0275\u0275queryRefresh(he=u.\u0275\u0275loadQuery())&&(x._placeholderChild=he.first),u.\u0275\u0275queryRefresh(he=u.\u0275\u0275loadQuery())&&(x._errorChildren=he),u.\u0275\u0275queryRefresh(he=u.\u0275\u0275loadQuery())&&(x._hintChildren=he),u.\u0275\u0275queryRefresh(he=u.\u0275\u0275loadQuery())&&(x._prefixChildren=he),u.\u0275\u0275queryRefresh(he=u.\u0275\u0275loadQuery())&&(x._suffixChildren=he)}},viewQuery:function(b,x){if(1&b&&(u.\u0275\u0275viewQuery(xe,7),u.\u0275\u0275viewQuery(Ve,5),u.\u0275\u0275viewQuery(ke,5)),2&b){let ne;u.\u0275\u0275queryRefresh(ne=u.\u0275\u0275loadQuery())&&(x._connectionContainerRef=ne.first),u.\u0275\u0275queryRefresh(ne=u.\u0275\u0275loadQuery())&&(x._inputContainerRef=ne.first),u.\u0275\u0275queryRefresh(ne=u.\u0275\u0275loadQuery())&&(x._label=ne.first)}},hostAttrs:[1,"mat-form-field"],hostVars:40,hostBindings:function(b,x){2&b&&u.\u0275\u0275classProp("mat-form-field-appearance-standard","standard"==x.appearance)("mat-form-field-appearance-fill","fill"==x.appearance)("mat-form-field-appearance-outline","outline"==x.appearance)("mat-form-field-appearance-legacy","legacy"==x.appearance)("mat-form-field-invalid",x._control.errorState)("mat-form-field-can-float",x._canLabelFloat())("mat-form-field-should-float",x._shouldLabelFloat())("mat-form-field-has-label",x._hasFloatingLabel())("mat-form-field-hide-placeholder",x._hideControlPlaceholder())("mat-form-field-disabled",x._control.disabled)("mat-form-field-autofilled",x._control.autofilled)("mat-focused",x._control.focused)("ng-untouched",x._shouldForward("untouched"))("ng-touched",x._shouldForward("touched"))("ng-pristine",x._shouldForward("pristine"))("ng-dirty",x._shouldForward("dirty"))("ng-valid",x._shouldForward("valid"))("ng-invalid",x._shouldForward("invalid"))("ng-pending",x._shouldForward("pending"))("_mat-animation-noopable",!x._animationsEnabled)},inputs:{color:"color",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel",floatLabel:"floatLabel"},exportAs:["matFormField"],features:[u.\u0275\u0275ProvidersFeature([{provide:De,useExisting:P}]),u.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Ne,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(b,x){1&b&&(u.\u0275\u0275projectionDef(Ze),u.\u0275\u0275elementStart(0,"div",0),u.\u0275\u0275elementStart(1,"div",1,2),u.\u0275\u0275listener("click",function(he){return x._control.onContainerClick&&x._control.onContainerClick(he)}),u.\u0275\u0275template(3,$e,9,0,"ng-container",3),u.\u0275\u0275template(4,ot,2,1,"div",4),u.\u0275\u0275elementStart(5,"div",5,6),u.\u0275\u0275projection(7),u.\u0275\u0275elementStart(8,"span",7),u.\u0275\u0275template(9,Oe,5,16,"label",8),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementEnd(),u.\u0275\u0275template(10,He,2,0,"div",9),u.\u0275\u0275elementEnd(),u.\u0275\u0275template(11,Je,2,4,"div",10),u.\u0275\u0275elementStart(12,"div",11),u.\u0275\u0275template(13,Ie,2,1,"div",12),u.\u0275\u0275template(14,Ue,5,2,"div",13),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementEnd()),2&b&&(u.\u0275\u0275advance(3),u.\u0275\u0275property("ngIf","outline"==x.appearance),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngIf",x._prefixChildren.length),u.\u0275\u0275advance(5),u.\u0275\u0275property("ngIf",x._hasFloatingLabel()),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngIf",x._suffixChildren.length),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngIf","outline"!=x.appearance),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngSwitch",x._getDisplayedMessages()),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngSwitchCase","error"),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngSwitchCase","hint"))}
1,directives:[f.O5,f.RF,f.n9,a.wD],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.cdk-high-contrast-active .mat-form-field-disabled .mat-form-field-label{color:GrayText}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}\n",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-form-field-flex{outline:dashed 3px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\n','.mat-input-element{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element:not([type=password])::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::placeholder{opacity:0}
1.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{opacity:0}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\n',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px)}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px;border-top-color:GrayText}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\n",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}
1.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{border:3px dashed}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:GrayText}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\n",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\n"],encapsulation:2,data:{animation:[yt.transitionMessages]},changeDetection:0}),P})(),ie=(()=>{class P{}return P.\u0275fac=function(b){return new(b||P)},P.\u0275mod=u.\u0275\u0275defineNgModule({type:P}),P.\u0275inj=u.\u0275\u0275defineInjector({imports:[[f.ez,X.BQ,a.Q8],X.BQ]}),P})()},7531:(ft,Te,g)=>{g.d(Te,{Jk:()=>se,Nt:()=>$e,c:()=>ot});var a=g(3191),f=g(925),u=g(5e3),X=g(3075),I=g(508),re=g(7322),pe=g(7579),ee=g(515);const ce=(0,f.i$)({passive:!0});let Z=(()=>{class be{constructor(de,Oe){this._platform=de,this._ngZone=Oe,this._monitoredElements=new Map}monitor(de){if(!this._platform.isBrowser)return ee.E;const Oe=(0,a.fI)(de),He=this._monitoredElements.get(Oe);if(He)return He.subject;const Je=new pe.x,Ie="cdk-text-field-autofilled",Fe=Ue=>{"cdk-text-field-autofill-start"!==Ue.animationName||Oe.classList.contains(Ie)?"cdk-text-field-autofill-end"===Ue.animationName&&Oe.classList.contains(Ie)&&(Oe.classList.remove(Ie),this._ngZone.run(()=>Je.next({target:Ue.target,isAutofilled:!1}))):(Oe.classList.add(Ie),this._ngZone.run(()=>Je.next({target:Ue.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{Oe.addEventListener("animationstart",Fe,ce),Oe.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(Oe,{subject:Je,unlisten:()=>{Oe.removeEventListener("animationstart",Fe,ce)}}),Je}stopMonitoring(de){const Oe=(0,a.fI)(de),He=this._monitoredElements.get(Oe);He&&(He.unlisten(),He.subject.complete(),Oe.classList.remove("cdk-text-field-autofill-monitored"),Oe.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(Oe))}
1ngOnDestroy(){this._monitoredElements.forEach((de,Oe)=>this.stopMonitoring(Oe))}}return be.\u0275fac=function(de){return new(de||be)(u.\u0275\u0275inject(f.t4),u.\u0275\u0275inject(u.NgZone))},be.\u0275prov=u.\u0275\u0275defineInjectable({token:be,factory:be.\u0275fac,providedIn:"root"}),be})(),Y=(()=>{class be{}return be.\u0275fac=function(de){return new(de||be)},be.\u0275mod=u.\u0275\u0275defineNgModule({type:be}),be.\u0275inj=u.\u0275\u0275defineInjector({}),be})();const se=new u.InjectionToken("MAT_INPUT_VALUE_ACCESSOR"),xe=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let Ve=0;const ke=(0,I.FD)(class{constructor(be,ae,de,Oe){this._defaultErrorStateMatcher=be,this._parentForm=ae,this._parentFormGroup=de,this.ngControl=Oe}});let $e=(()=>{class be extends ke{constructor(de,Oe,He,Je,Ie,Fe,Ue,Ze,Ne,_e){super(Fe,Je,Ie,He),this._elementRef=de,this._platform=Oe,this._autofillMonitor=Ze,this._formField=_e,this._uid="mat-input-"+Ve++,this.focused=!1,this.stateChanges=new pe.x,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(yt=>(0,f.qK)().has(yt)),this._iOSKeyupListener=yt=>{const st=yt.target;!st.value&&0===st.selectionStart&&0===st.selectionEnd&&(st.setSelectionRange(1,1),st.setSelectionRange(0,0))};const je=this._elementRef.nativeElement,ht=je.nodeName.toLowerCase();this._inputValueAccessor=Ue||je,this._previousNativeValue=this.value,this.id=this.id,Oe.IOS&&Ne.runOutsideAngular(()=>{de.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===ht,this._isTextarea="textarea"===ht,this._isInFormField=!!_e,this._isNativeSelect&&(this.controlType=je.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(de){this._disabled=(0,a.Ig)(de),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(de){this._id=de||this._uid}get required(){var de,Oe,He,Je;return null!==(Je=null!==(de=this._required)&&void 0!==de?de:null===(He=null===(Oe=this.ngControl)||void 0===Oe?void 0:Oe.control)||void 0===He?void 0:He.hasValidator(X.kI.required))&&void 0!==Je&&Je}set required(de){this._required=(0,a.Ig)(de)}get type(){return this._type}set type(de){this._type=de||"text",this._validateType(),!this._isTextarea&&(0,f.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(de){de!==this.value&&(this._inputValueAccessor.value=de,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(de){this._readonly=(0,a.Ig)(de)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(de=>{this.autofilled=de.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(de){this._elementRef.nativeElement.focus(de)}_focusChanged(de){de!==this.focused&&(this.focused=de,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var de,Oe;const He=(null===(Oe=null===(de=this._formField)||void 0===de?void 0:de._hideControlPlaceholder)||void 0===Oe?void 0:Oe.call(de))?null:this.placeholder;if(He!==this._previousPlaceholder){const Je=this._elementRef.nativeElement;this._previousPlaceholder=He,He?Je.setAttribute("placeholder",He):Je.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const de=this._elementRef.nativeElement.value;this._previousNativeValue!==de&&(this._previousNativeValue=de,this.stateChanges.next())}_validateType(){xe.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let de=this._elementRef.nativeElement.validity;return de&&de.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const de=this._elementRef.nativeElement,Oe=de.options[0];return this.focused||de.multiple||!this.empty||!!(de.selectedIndex>-1&&Oe&&Oe.label)}return this.focused||!this.empty}setDescribedByIds(de){de.length?this._elementRef.nativeElement.setAttribute("aria-describedby",de.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const de=this._elementRef.nativeElement;return this._isNativeSelect&&(de.multiple||de.size>1)}}return be.\u0275fac=function(de){return new(de||be)(u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(f.t4),u.\u0275\u0275directiveInject(X.a5,10),u.\u0275\u0275directiveInject(X.F,8),u.\u0275\u0275directiveInject(X.sg,8),u.\u0275\u0275directiveInject(I.rD),u.\u0275\u0275directiveInject(se,10),u.\u0275\u0275directiveInject(Z),u.\u0275\u0275directiveInject(u.NgZone),u.\u0275\u0275directiveInject(re.G_,8))},be.\u0275dir=u.\u0275\u0275defineDirective({type:be,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(de,Oe){1&de&&u.\u0275\u0275listener("focus",function(){return Oe._focusChanged(!0)})("blur",function(){return Oe._focusChanged(!1)})("input",function(){return Oe._onInput()}),2&de&&(u.\u0275\u0275hostProperty("disabled",Oe.disabled)("required",Oe.required),u.\u0275\u0275attribute("id",Oe.id)("data-placeholder",Oe.placeholder)("name",Oe.name||null)("readonly",Oe.readonly&&!Oe._isNativeSelect||null)("aria-invalid",Oe.empty&&Oe.required?null:Oe.errorState)("aria-required",Oe.required),u.\u0275\u0275classProp("mat-input-server",Oe._isServer)("mat-native-select-inline",Oe._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[u.\u0275\u0275ProvidersFeature([{provide:re.Eo,useExisting:be}]),u.\u0275\u0275InheritDefinitionFeature,u.\u0275\u0275NgOnChangesFeature]}),be})(),ot=(()=>{class be{}return be.\u0275fac=function(de){return new(de||be)},be.\u0275mod=u.\u0275\u0275defineNgModule({type:be}),be.\u0275inj=u.\u0275\u0275defineInjector({providers:[I.rD],imports:[[Y,re.lN,I.BQ],Y,re.lN]}),be})()},4107:(ft,Te,g)=>{g.d(Te,{LD:()=>De,gD:()=>Pt});var a=g(1314),f=g(9808),u=g(5e3),X=g(508),I=g(7322),re=g(8962),pe=g(5664),ee=g(3191),ce=g(449),Z=g(1159),oe=g(3075),C=g(7579),Y=g(9770),K=g(6451),se=g(8675),xe=g(3900),Ve=g(5698),ke=g(9300),$e=g(4004),ot=g(1884),be=g(2722),ae=g(1777),de=g(226);const Oe=["trigger"],He=["panel"];function Je(U,ie){if(1&U&&(u.\u0275\u0275elementStart(0,"span",8),u.\u0275\u0275text(1),u.\u0275\u0275elementEnd()),2&U){const P=u.\u0275\u0275nextContext();u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate(P.placeholder)}}function Ie(U,ie){if(1&U&&(u.\u0275\u0275elementStart(0,"span",12),u.\u0275\u0275text(1),u.\u0275\u0275elementEnd()),2&U){const P=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate(P.triggerValue)}}function Fe(U,ie){1&U&&u.\u0275\u0275projection(0,0,["*ngSwitchCase","true"])}function Ue(U,ie){if(1&U&&(u.\u0275\u0275elementStart(0,"span",9),u.\u0275\u0275template(1,Ie,2,1,"span",10),u.\u0275\u0275template(2,Fe,1,0,"ng-content",11),u.\u0275\u0275elementEnd()),2&U){const P=u.\u0275\u0275nextContext();u.\u0275\u0275property("ngSwitch",!!P.customTrigger),u.\u0275\u0275advance(2),u.\u0275\u0275property("ngSwitchCase",!0)}}function Ze(U,ie){if(1&U){const P=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"div",13),u.\u0275\u0275elementStart(1,"div",14,15),u.\u0275\u0275listener("@transformPanel.done",function(b){return u.\u0275\u0275restoreView(P),u.\u0275\u0275nextContext()._panelDoneAnimatingStream.next(b.toState)})("keydown",function(b){return u.\u0275\u0275restoreView(P),u.\u0275\u0275nextContext()._handleKeydown(b)}),u.\u0275\u0275projection(3,1),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementEnd()}if(2&U){const P=u.\u0275\u0275nextContext();u.\u0275\u0275property("@transformPanelWrap",void 0),u.\u0275\u0275advance(1),u.\u0275\u0275classMapInterpolate1("mat-select-panel ",P._getPanelTheme(
1),""),u.\u0275\u0275styleProp("transform-origin",P._transformOrigin)("font-size",P._triggerFontSize,"px"),u.\u0275\u0275property("ngClass",P.panelClass)("@transformPanel",P.multiple?"showing-multiple":"showing"),u.\u0275\u0275attribute("id",P.id+"-panel")("aria-multiselectable",P.multiple)("aria-label",P.ariaLabel||null)("aria-labelledby",P._getPanelAriaLabelledby())}}const Ne=[[["mat-select-trigger"]],"*"],_e=["mat-select-trigger","*"],je={transformPanelWrap:(0,ae.X$)("transformPanelWrap",[(0,ae.eR)("* => void",(0,ae.IO)("@transformPanel",[(0,ae.pV)()],{optional:!0}))]),transformPanel:(0,ae.X$)("transformPanel",[(0,ae.SB)("void",(0,ae.oB)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),(0,ae.SB)("showing",(0,ae.oB)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,ae.SB)("showing-multiple",(0,ae.oB)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,ae.eR)("void => *",(0,ae.jt)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,ae.eR)("* => void",(0,ae.jt)("100ms 25ms linear",(0,ae.oB)({opacity:0})))])};let _t=0;const le=new u.InjectionToken("mat-select-scroll-strategy"),Qe=new u.InjectionToken("MAT_SELECT_CONFIG"),ze={provide:le,deps:[a.aV],useFactory:function ge(U){return()=>U.scrollStrategies.reposition()}};class rt{constructor(ie,P){this.source=ie,this.value=P}}const Ae=(0,X.Kr)((0,X.sb)((0,X.Id)((0,X.FD)(class{constructor(U,ie,P,A,b){this._elementRef=U,this._defaultErrorStateMatcher=ie,this._parentForm=P,this._parentFormGroup=A,this.ngControl=b}})))),it=new u.InjectionToken("MatSelectTrigger");let vt=(()=>{class U extends Ae{constructor(P,A,b,x,ne,he,qe,nt,ct,It,wt,St,Lt,$t){var jt,Ot,kt;super(ne,x,qe,nt,It),this._viewportRuler=P,this._changeDetectorRef=A,this._ngZone=b,this._dir=he,this._parentFormField=ct,this._liveAnnouncer=Lt,this._defaultOptions=$t,this._panelOpen=!1,this._compareWith=(Rt,Xe)=>Rt===Xe,this._uid="mat-select-"+_t++,this._triggerAriaLabelledBy=null,this._destroy=new C.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+_t++,this._panelDoneAnimatingStream=new C.x,this._overlayPanelClass=(null===(jt=this._defaultOptions)||void 0===jt?void 0:jt.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=null!==(kt=null===(Ot=this._defaultOptions)||void 0===Ot?void 0:Ot.disableOptionCentering)&&void 0!==kt&&kt,this.ariaLabel="",this.optionSelectionChanges=(0,Y.P)(()=>{const Rt=this.options;return Rt?Rt.changes.pipe((0,se.O)(Rt),(0,xe.w)(()=>(0,K.T)(...Rt.map(Xe=>Xe.onSelectionChange)))):this._ngZone.onStable.pipe((0,Ve.q)(1),(0,xe.w)(()=>this.optionSelectionChanges))}),this.openedChange=new u.EventEmitter,this._openedStream=this.openedChange.pipe((0,ke.h)(Rt=>Rt),(0,$e.U)(()=>{}
1)),this._closedStream=this.openedChange.pipe((0,ke.h)(Rt=>!Rt),(0,$e.U)(()=>{})),this.selectionChange=new u.EventEmitter,this.valueChange=new u.EventEmitter,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==$t?void 0:$t.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=$t.typeaheadDebounceInterval),this._scrollStrategyFactory=St,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(wt)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(P){this._placeholder=P,this.stateChanges.next()}get required(){var P,A,b,x;return null!==(x=null!==(P=this._required)&&void 0!==P?P:null===(b=null===(A=this.ngControl)||void 0===A?void 0:A.control)||void 0===b?void 0:b.hasValidator(oe.kI.required))&&void 0!==x&&x}set required(P){this._required=(0,ee.Ig)(P),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(P){this._multiple=(0,ee.Ig)(P)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(P){this._disableOptionCentering=(0,ee.Ig)(P)}get compareWith(){return this._compareWith}set compareWith(P){this._compareWith=P,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(P){this._assignValue(P)&&this._onChange(P)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(P){this._typeaheadDebounceInterval=(0,ee.su)(P)}get id(){return this._id}set id(P){this._id=P||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new ce.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,ot.x)(),(0,be.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,be.R)(this._destroy)).subscribe(P=>{P.added.forEach(A=>A.select()),P.removed.forEach(A=>A.deselect())}),this.options.changes.pipe((0,se.O)(null),(0,be.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const P=this._getTriggerAriaLabelledby(),A=this.ngControl;if(P!==this._triggerAriaLabelledBy){const b=this._elementRef.nativeElement;this._triggerAriaLabelledBy=P,P?b.setAttribute("aria-labelledby",P):b.removeAttribute("aria-labelledby")}A&&(this._previousControl!==A.control&&(void 0!==this._previousControl&&null!==A.disabled&&A.disabled!==this.disabled&&(this.disabled=A.disabled),this._previousControl=A.control),this.updateErrorState())}ngOnChanges(P){P.disabled&&this.stateChanges.next(),P.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(P){this._assignValue(P)}registerOnChange(P){this._onChange=P}registerOnTouched(P){this._onTouched=P}setDisabledState(P){this.disabled=P,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var P,A;return this.multiple?(null===(P=this._selectionModel)||void 0===P?void 0:P.selected)||[]:null===(A=this._selectionModel)||void 0===A?void 0:A.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const P=this._selectionModel.selected.map(A=>A.viewValue);return this._isRtl()&&P.reverse(),P.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(P){this.disabled||(this.panelOpen?this._handleOpenKeydown(P):this._handleClosedKeydown(P))}_handleClosedKeydown(P){const A=P.keyCode,b=A===Z.JH||A===Z.LH||A===Z.oh||A===Z.SV,x=A===Z.K5||A===Z.L_,ne=this._keyManager;if(!ne.isTyping()&&x&&!(0,Z.Vb)(P)||(this.multiple||P.altKey)&&b)P.preventDefault(),this.open();else if(!this.multiple){const he=this.selected;ne.onKeydown(P);const qe=this.selected;qe&&he!==qe&&this._liveAnnouncer.announce(qe.viewValue,1e4)}}_handleOpenKeydown(P){const A=this._keyManager,b=P.keyCode,x=b===Z.JH||b===Z.LH,ne=A.isTyping();if(x&&P.altKey)P.preventDefault(),this.close();else if(ne||b!==Z.K5&&b!==Z.L_||!A.activeItem||(0,Z.Vb)(P))if(!ne&&this._multiple&&b===Z.A&&P.ctrlKey){P.preventDefault();const he=this.options.some(qe=>!qe.disabled&&!qe.selected);this.options.forEach(qe=>{qe.disabled||(he?qe.select():qe.deselect())})}else{const he=A.activeItemIndex;A.onKeydown(P),this._multiple&&x&&P.shiftKey&&A.activeItem&&A.activeItemIndex!==he&&A.activeItem._selectViaInteraction()}else P.preventDefault(),A.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,Ve.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}
1_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(P){if(this._selectionModel.selected.forEach(A=>A.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&P)Array.isArray(P),P.forEach(A=>this._selectOptionByValue(A)),this._sortValues();else{const A=this._selectOptionByValue(P);A?this._keyManager.updateActiveItem(A):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(P){const A=this.options.find(b=>{if(this._selectionModel.isSelected(b))return!1;try{return null!=b.value&&this._compareWith(b.value,P)}catch(x){return!1}});return A&&this._selectionModel.select(A),A}_assignValue(P){return!!(P!==this._value||this._multiple&&Array.isArray(P))&&(this.options&&this._setSelectionByValue(P),this._value=P,!0)}_initKeyManager(){this._keyManager=new pe.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe((0,be.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe((0,be.R)(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const P=(0,K.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,be.R)(P)).subscribe(A=>{this._onSelect(A.source,A.isUserInput),A.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,K.T)(...this.options.map(A=>A._stateChanges)).pipe((0,be.R)(P)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(P,A){const b=this._selectionModel.isSelected(P);null!=P.value||this._multiple?(b!==P.selected&&(P.selected?this._selectionModel.select(P):this._selectionModel.deselect(P)),A&&this._keyManager.setActiveItem(P),this.multiple&&(this._sortValues(),A&&this.focus())):(P.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(P.value)),b!==this._selectionModel.isSelected(P)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const P=this.options.toArray();this._selectionModel.sort((A,b)=>this.sortComparator?this.sortComparator(A,b,P):P.indexOf(A)-P.indexOf(b)),this.stateChanges.next()}}_propagateChanges(P){let A=null;A=this.multiple?this.selected.map(b=>b.value):this.selected?this.selected.value:P,this._value=A,this.valueChange.emit(A),this._onChange(A),this.selectionChange.emit(this._getChangeEvent(A)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var P;return!this._panelOpen&&!this.disabled&&(null===(P=this.options)||void 0===P?void 0:P.length)>0}focus(P){this._elementRef.nativeElement.focus(P)}_getPanelAriaLabelledby(){var P;if(this.ariaLabel)return null;const A=null===(P=this._parentFormField)||void 0===P?void 0:P.getLabelId();return this.ariaLabelledby?(A?A+" ":"")+this.ariaLabelledby:A}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var P;if(this.ariaLabel)return null;const A=null===(P=this._parentFormField)||void 0===P?void 0:P.getLabelId();let b=(A?A+" ":"")+this._valueId;return this.ariaLabelledby&&(b+=" "+this.ariaLabelledby),b}_panelDoneAnimating(P){this.openedChange.emit(P)}setDescribedByIds(P){this._ariaDescribedby=P.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return U.\u0275fac=function(P){return new(P||U)(u.\u0275\u0275directiveInject(re.rL),u.\u0275\u0275directiveInject(u.ChangeDetectorRef),u.\u0275\u0275directiveInject(u.NgZone),u.\u0275\u0275directiveInject(X.rD),u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(de.Is,8),u.\u0275\u0275directiveInject(oe.F,8),u.\u0275\u0275directiveInject(oe.sg,8),u.\u0275\u0275directiveInject(I.G_,8),u.\u0275\u0275directiveInject(oe.a5,10),u.\u0275\u0275injectAttribute("tabindex"),u.\u0275\u0275directiveInject(le),u.\u0275\u0275directiveInject(pe.Kd),u.\u0275\u0275directiveInject(Qe,8))},U.\u0275dir=u.\u0275\u0275defineDirective({type:U,viewQuery:function(P,A){if(1&P&&(u.\u0275\u0275viewQuery(Oe,5),u.\u0275\u0275viewQuery(He,5),u.\u0275\u0275viewQuery(a.pI,5)),2&P){let b;u.\u0275\u0275queryRefresh(b=u.\u0275\u0275loadQuery())&&(A.trigger=b.first),u.\u0275\u0275queryRefresh(b=u.\u0275\u0275loadQuery())&&(A.panel=b.first),u.\u0275\u0275queryRefresh(b=u.\u0275\u0275loadQuery())&&(A._overlayDir=b.first)}},inputs:{panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[u.\u0275\u0275InheritDefinitionFeature,u.\u0275\u0275NgOnChangesFeature]}),U})(),Pt=(()=>{class U extends vt{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(P,A,b){const x=this._getItemHeight();return Math.min(Math.max(0,x*P-A+x/2),b)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,be.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,Ve.q)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(P){const A=(0,X.CB)(P,this.options,this.optionGroups),b=this._getItemHeight();this.panel.nativeElement.scrollTop=0===P&&1===A?0:(0,X.jH)((P+A)*b,b,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(P){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(P)}_getChangeEvent(P){return new rt(this,P)}_calculateOverlayOffsetX(){const P=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),A=this._viewportRuler.getViewportSize(),b=this._isRtl(),x=this.multiple?56:32;let ne;if(this.multiple)ne=40;else if(this.disableOptionCentering)ne=16;else{let nt=this._selectionModel.selected[0]||this.options.first;ne=nt&&nt.group?32:16}b||(ne*=-1);const he=0-(P.left+ne-(b?x:0)),qe=P.right+ne-A.width+(b?0:x);he>0?ne+=he+8:qe>0&&(ne-=qe+8),this._overlayDir.offsetX=Math.round(ne),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(P,A,b){const x=this._getItemHeight(),ne=(x-this._triggerRect.height)/2,he=Math.floor(256/x);let qe;return this.disableOptionCentering?0:(qe=0===this._scrollTop?P*x:this._scrollTop===b?(P-(this._getItemCount()-he))*x+(x-(this._getItemCount()*x-256)%x):A-x/2,Math.round(-1*qe-ne))}_checkOverlayWithinViewport(P){const A=this._getItemHeight(),b=this._viewportRuler.getViewportSize(),x=this._triggerRect.top-8,ne=b.height-this._triggerRect.bottom-8,he=Math.abs(this._offsetY),nt=Math.min(this._getItemCount()*A,256)-he-this._triggerRect.height;nt>ne?this._adjustPanelUp(nt,ne):he>x?this._adjustPanelDown(he,x,P):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(P,A){const b=Math.round(P-A);this._scrollTop-=b,this._offsetY-=b,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(P,A,b){const x=Math.round(P-A);if(this._scrollTop+=x,this._offsetY+=x,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=b)return this._scrollTop=b,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const P=this._getItemHeight(),A=this._getItemCount(),b=Math.min(A*P,256),ne=A*P-b;let he;he=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),he+=(0,X.CB)(he,this.options,this.optionGroups);const qe=b/2;this._scrollTop=this._calculateOverlayScroll(he,qe,ne),this._offsetY=this._calculateOverlayOffsetY(he,qe,ne),this._checkOverlayWithinViewport(ne)}_getOriginBasedOnOption(){const P=this._getItemHeight(),A=(P-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-A+P/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return U.\u0275fac=function(){let ie;
1return function(A){return(ie||(ie=u.\u0275\u0275getInheritedFactory(U)))(A||U)}}(),U.\u0275cmp=u.\u0275\u0275defineComponent({type:U,selectors:[["mat-select"]],contentQueries:function(P,A,b){if(1&P&&(u.\u0275\u0275contentQuery(b,it,5),u.\u0275\u0275contentQuery(b,X.ey,5),u.\u0275\u0275contentQuery(b,X.K7,5)),2&P){let x;u.\u0275\u0275queryRefresh(x=u.\u0275\u0275loadQuery())&&(A.customTrigger=x.first),u.\u0275\u0275queryRefresh(x=u.\u0275\u0275loadQuery())&&(A.options=x),u.\u0275\u0275queryRefresh(x=u.\u0275\u0275loadQuery())&&(A.optionGroups=x)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(P,A){1&P&&u.\u0275\u0275listener("keydown",function(x){return A._handleKeydown(x)})("focus",function(){return A._onFocus()})("blur",function(){return A._onBlur()}),2&P&&(u.\u0275\u0275attribute("id",A.id)("tabindex",A.tabIndex)("aria-controls",A.panelOpen?A.id+"-panel":null)("aria-expanded",A.panelOpen)("aria-label",A.ariaLabel||null)("aria-required",A.required.toString())("aria-disabled",A.disabled.toString())("aria-invalid",A.errorState)("aria-describedby",A._ariaDescribedby||null)("aria-activedescendant",A._getAriaActiveDescendant()),u.\u0275\u0275classProp("mat-select-disabled",A.disabled)("mat-select-invalid",A.errorState)("mat-select-required",A.required)("mat-select-empty",A.empty)("mat-select-multiple",A.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[u.\u0275\u0275ProvidersFeature([{provide:I.Eo,useExisting:U},{provide:X.HF,useExisting:U}]),u.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:_e,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(P,A){if(1&P&&(u.\u0275\u0275projectionDef(Ne),u.\u0275\u0275elementStart(0,"div",0,1),u.\u0275\u0275listener("click",function(){return A.toggle()}),u.\u0275\u0275elementStart(3,"div",2),u.\u0275\u0275template(4,Je,2,1,"span",3),u.\u0275\u0275template(5,Ue,3,2,"span",4),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(6,"div",5),u.\u0275\u0275element(7,"div",6),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementEnd(),u.\u0275\u0275template(8,Ze,4,14,"ng-template",7),u.\u0275\u0275listener("backdropClick",function(){return A.close()})("attach",function(){return A._onAttached()})("detach",function(){return A.close()})),2&P){const b=u.\u0275\u0275reference(1);u.\u0275\u0275attribute("aria-owns",A.panelOpen?A.id+"-panel":null),u.\u0275\u0275advance(3),u.\u0275\u0275property("ngSwitch",A.empty),u.\u0275\u0275attribute("id",A._valueId),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngSwitchCase",!0),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngSwitchCase",!1),u.\u0275\u0275advance(3),u.\u0275\u0275property("cdkConnectedOverlayPanelClass",A._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",A._scrollStrategy)("cdkConnectedOverlayOrigin",b)("cdkConnectedOverlayOpen",A.panelOpen)("cdkConnectedOverlayPositions",A._positions)("cdkConnectedOverlayMinWidth",null==A._triggerRect?null:A._triggerRect.width)("cdkConnectedOverlayOffsetY",A._offsetY)}},directives:[a.xu,f.RF,f.n9,a.pI,f.ED,f.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}\n'],encapsulation:2,data:{animation:[je.transformPanelWrap,je.transformPanel]},changeDetection:0}),U})(),De=(()=>{class U{}return U.\u0275fac=function(P){return new(P||U)},U.\u0275mod=u.\u0275\u0275defineNgModule({type:U}),U.\u0275inj=u.\u0275\u0275defineInjector({providers:[ze],imports:[[f.ez,a.U8,X.Ng,X.BQ],re.ZD,I.lN,X.Ng,X.BQ]}),U})()},3251:(ft,Te,g)=>{g.d(Te,{Nh:()=>y,SP:()=>Xe,uD:()=>Pt,uX:()=>ie});var a=g(5664),f=g(7144),u=g(9129),X=g(9808),I=g(5e3),re=g(508),pe=g(6360),ee=g(5698),ce=g(8675),Z=g(1884),oe=g(2722),C=g(3900),Y=g(5684),K=g(7579),se=g(727),xe=g(4968),Ve=g(9646),ke=g(6451),$e=g(515),ot=g(9751),be=g(5963),ae=g(1777),de=g(226),Oe=g(3191),He=g(1159),Je=g(925),Ie=g(8962);function Fe(O,q){1&O&&I.\u0275\u0275projection(0)}const Ue=["*"];function Ze(O,q){}const Ne=function(O){return{animationDuration:O}},_e=function(O,q){return{value:O,params:q}},je=["tabListContainer"],ht=["tabList"],yt=["tabListInner"],st=["nextPaginator"],_t=["previousPaginator"],we=["tabBodyWrapper"],Le=["tabHeader"];function We(O,q){}function ue(O,q){if(1&O&&I.\u0275\u0275template(0,We,0,0,"ng-template",10),2&O){const B=I.\u0275\u0275nextContext().$implicit;I.\u0275\u0275property("cdkPortalOutlet",B.templateLabel)}}function Be(O,q){if(1&O&&I.\u0275\u0275text(0),2&O){const B=I.\u0275\u0275nextContext().$implicit;I.\u0275\u0275textInterpolate(B.textLabel)}}function R(O,q){if(1&O){const B=I.\u0275\u0275getCurrentView();I.\u0275\u0275elementStart(0,"div",6),I.\u0275\u0275listener("click",function(){const G=I.\u0275\u0275restoreView(B),H=G.$implicit,Ee=G.index,tt=I.\u0275\u0275nextContext(),mt=I.\u0275\u0275reference(1);return tt._handleClick(H,mt,Ee)})("cdkFocusChange",function(G){const Ee=I.\u0275\u0275restoreView(B).index;return I.\u0275\u0275nextContext()._tabFocusChanged(G,Ee)}),I.\u0275\u0275elementStart(1,"div",7),I.\u0275\u0275template(2,ue,1,1,"ng-template",8),I.\u0275\u0275template(3,Be,1,1,"ng-template",null,9,I.\u0275\u0275templateRefExtractor),I.\u0275\u0275elementEnd(),I.\u0275\u0275elementEnd()}if(2&O){const B=q.$implicit,k=q.index,G=I.\u0275\u0275reference(4),H=I.\u0275\u0275nextContext();I.\u0275\u0275classProp("mat-tab-label-active",H.selectedIndex===k),I.\u0275\u0275property("id",H._getTabLabelId(k))("ngClass",B.labelClass)("disabled",B.disabled)("matRippleDisabled",B.disabled||H.disableRipple),I.\u0275\u0275attribute("tabIndex",H._getTabIndex(B,k))("aria-posinset",k+1)("aria-setsize",H._tabs.length)("aria-controls",H._getTabContentId(k))("aria-selected",H.selectedIndex===k)("aria-label",B.ariaLabel||null)("aria-labelledby",!B.ariaLabel&&B.ariaLabelledby?B.ariaLabelledby:null),I.\u0275\u0275advance(2),I.\u0275\u0275property("ngIf",B.templateLabel)("ngIfElse",G)}}function le(O,q){if(1&O){const B=I.\u0275\u0275getCurrentView();I.\u0275\u0275elementStart(0,"mat-tab-body",11),I.\u0275\u0275listener("_onCentered",function(){return I.\u0275\u0275restoreView(B),I.\u0275\u0275nextContext()._removeTabBodyWrapperHeight()})("_onCentering",function(G){return I.\u0275\u0275restoreView(B),I.\u0275\u0275nextContext()._setTabBodyWrapperHeight(G)}),I.\u0275\u0275elementEnd()}if(2&O){const B=q.$implicit,k=q.index,G=I.\u0275\u0275nextContext();I.\u0275\u0275classProp("mat-tab-body-active",G.selectedIndex===k),I.\u0275\u0275property("id",G._getTabContentId(k))("ngClass",B.bodyClass)("content",B.content)("position",B.position)("origin",B.origin)("animationDuration",G.animationDuration),I.\u0275\u0275attribute("tabindex",null!=G.contentTabIndex&&G.selectedIndex===k?G.contentTabIndex:null)("aria-labelledby",G._getTabLabelId(k))}}const Qe=new I.InjectionToken("MatInkBarPositioner",{providedIn:"root",factory:function ze(){return q=>
1({left:q?(q.offsetLeft||0)+"px":"0",width:q?(q.offsetWidth||0)+"px":"0"})}});let rt=(()=>{class O{constructor(B,k,G,H){this._elementRef=B,this._ngZone=k,this._inkBarPositioner=G,this._animationMode=H}alignToElement(B){this.show(),this._ngZone.onStable.pipe((0,ee.q)(1)).subscribe(()=>{const k=this._inkBarPositioner(B),G=this._elementRef.nativeElement;G.style.left=k.left,G.style.width=k.width})}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}}return O.\u0275fac=function(B){return new(B||O)(I.\u0275\u0275directiveInject(I.ElementRef),I.\u0275\u0275directiveInject(I.NgZone),I.\u0275\u0275directiveInject(Qe),I.\u0275\u0275directiveInject(pe.Qb,8))},O.\u0275dir=I.\u0275\u0275defineDirective({type:O,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(B,k){2&B&&I.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===k._animationMode)}}),O})();const Ae=new I.InjectionToken("MatTabContent"),dt=new I.InjectionToken("MatTabLabel"),vt=new I.InjectionToken("MAT_TAB");let Pt=(()=>{class O extends u.ig{constructor(B,k,G){super(B,k),this._closestTab=G}}return O.\u0275fac=function(B){return new(B||O)(I.\u0275\u0275directiveInject(I.TemplateRef),I.\u0275\u0275directiveInject(I.ViewContainerRef),I.\u0275\u0275directiveInject(vt,8))},O.\u0275dir=I.\u0275\u0275defineDirective({type:O,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[I.\u0275\u0275ProvidersFeature([{provide:dt,useExisting:O}]),I.\u0275\u0275InheritDefinitionFeature]}),O})();const De=(0,re.Id)(class{}),U=new I.InjectionToken("MAT_TAB_GROUP");let ie=(()=>{class O extends De{constructor(B,k){super(),this._viewContainerRef=B,this._closestTabGroup=k,this.textLabel="",this._contentPortal=null,this._stateChanges=new K.x,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(B){this._setTemplateLabelInput(B)}get content(){return this._contentPortal}ngOnChanges(B){(B.hasOwnProperty("textLabel")||B.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new u.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(B){B&&B._closestTab===this&&(this._templateLabel=B)}}return O.\u0275fac=function(B){return new(B||O)(I.\u0275\u0275directiveInject(I.ViewContainerRef),I.\u0275\u0275directiveInject(U,8))},O.\u0275cmp=I.\u0275\u0275defineComponent({type:O,selectors:[["mat-tab"]],contentQueries:function(B,k,G){if(1&B&&(I.\u0275\u0275contentQuery(G,dt,5),I.\u0275\u0275contentQuery(G,Ae,7,I.TemplateRef)),2&B){let H;I.\u0275\u0275queryRefresh(H=I.\u0275\u0275loadQuery())&&(k.templateLabel=H.first),I.\u0275\u0275queryRefresh(H=I.\u0275\u0275loadQuery())&&(k._explicitContent=H.first)}},viewQuery:function(B,k){if(1&B&&I.\u0275\u0275viewQuery(I.TemplateRef,7),2&B){let G;I.\u0275\u0275queryRefresh(G=I.\u0275\u0275loadQuery())&&(k._implicitContent=G.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[I.\u0275\u0275ProvidersFeature([{provide:vt,useExisting:O}]),I.\u0275\u0275InheritDefinitionFeature,I.\u0275\u0275NgOnChangesFeature],ngContentSelectors:Ue,decls:1,vars:0,template:function(B,k){1&B&&(I.\u0275\u0275projectionDef(),I.\u0275\u0275template(0,Fe,1,0,"ng-template"))},encapsulation:2}),O})();const P={translateTab:(0,ae.X$)("translateTab",[(0,ae.SB)("center, void, left-origin-center, right-origin-center",(0,ae.oB)({transform:"none"})),(0,ae.SB)("left",(0,ae.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),(0,ae.SB)("right",(0,ae.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),(0,ae.eR)("* => left, * => right, left => center, right => center",(0,ae.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,ae.eR)("void => left-origin-center",[(0,ae.oB)({transform:"translate3d(-100%, 0, 0)"}),(0,ae.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,ae.eR)("void => right-origin-center",[(0,ae.oB)({transform:"translate3d(100%, 0, 0)"}),(0,ae.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let A=(()=>{class O extends u.Pl{constructor(B,k,G,H){super(B,k,H),this._host=G,this._centeringSub=se.w0.EMPTY,this._leavingSub=se.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,ce.O)(this._host._isCenterPosition(this._host._position))).subscribe(B=>{B&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return O.\u0275fac=function(B){return new(B||O)(I.\u0275\u0275directiveInject(I.ComponentFactoryResolver),I.\u
10275\u0275directiveInject(I.ViewContainerRef),I.\u0275\u0275directiveInject((0,I.forwardRef)(()=>x)),I.\u0275\u0275directiveInject(X.K0))},O.\u0275dir=I.\u0275\u0275defineDirective({type:O,selectors:[["","matTabBodyHost",""]],features:[I.\u0275\u0275InheritDefinitionFeature]}),O})(),b=(()=>{class O{constructor(B,k,G){this._elementRef=B,this._dir=k,this._dirChangeSubscription=se.w0.EMPTY,this._translateTabComplete=new K.x,this._onCentering=new I.EventEmitter,this._beforeCentering=new I.EventEmitter,this._afterLeavingCenter=new I.EventEmitter,this._onCentered=new I.EventEmitter(!0),this.animationDuration="500ms",k&&(this._dirChangeSubscription=k.change.subscribe(H=>{this._computePositionAnimationState(H),G.markForCheck()})),this._translateTabComplete.pipe((0,Z.x)((H,Ee)=>H.fromState===Ee.fromState&&H.toState===Ee.toState)).subscribe(H=>{this._isCenterPosition(H.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(H.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(B){this._positionIndex=B,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(B){const k=this._isCenterPosition(B.toState);this._beforeCentering.emit(k),k&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(B){return"center"==B||"left-origin-center"==B||"right-origin-center"==B}_computePositionAnimationState(B=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==B?"left":"right":this._positionIndex>0?"ltr"==B?"right":"left":"center"}_computePositionFromOrigin(B){const k=this._getLayoutDirection();return"ltr"==k&&B<=0||"rtl"==k&&B>0?"left-origin-center":"right-origin-center"}}return O.\u0275fac=function(B){return new(B||O)(I.\u0275\u0275directiveInject(I.ElementRef),I.\u0275\u0275directiveInject(de.Is,8),I.\u0275\u0275directiveInject(I.ChangeDetectorRef))},O.\u0275dir=I.\u0275\u0275defineDirective({type:O,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),O})(),x=(()=>{class O extends b{constructor(B,k,G){super(B,k,G)}}return O.\u0275fac=function(B){return new(B||O)(I.\u0275\u0275directiveInject(I.ElementRef),I.\u0275\u0275directiveInject(de.Is,8),I.\u0275\u0275directiveInject(I.ChangeDetectorRef))},O.\u0275cmp=I.\u0275\u0275defineComponent({type:O,selectors:[["mat-tab-body"]],viewQuery:function(B,k){if(1&B&&I.\u0275\u0275viewQuery(u.Pl,5),2&B){let G;I.\u0275\u0275queryRefresh(G=I.\u0275\u0275loadQuery())&&(k._portalHost=G.first)}},hostAttrs:[1,"mat-tab-body"],features:[I.\u0275\u0275InheritDefinitionFeature],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(B,k){1&B&&(I.\u0275\u0275elementStart(0,"div",0,1),I.\u0275\u0275listener("@translateTab.start",function(H){return k._onTranslateTabStarted(H)})("@translateTab.done",function(H){return k._translateTabComplete.next(H)}),I.\u0275\u0275template(2,Ze,0,0,"ng-template",2),I.\u0275\u0275elementEnd()),2&B&&I.\u0275\u0275property("@translateTab",I.\u0275\u0275pureFunction2(3,_e,k._position,I.\u0275\u0275pureFunction1(1,Ne,k.animationDuration)))},directives:[A],styles:['.mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}.mat-tab-body-content[style*="visibility: hidden"]{display:none}\n'],encapsulation:2,data:{animation:[P.translateTab]}}),O})();const ne=new I.InjectionToken("MAT_TABS_CONFIG"),he=(0,re.Id)(class{});let qe=(()=>{class O extends he{constructor(B){super(),this.elementRef=B}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return O.\u0275fac=function(B){return new(B||O)(I.\u0275\u0275directiveInject(I.ElementRef))},O.\u0275dir=I.\u0275\u0275defineDirective({type:O,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(B,k){2&B&&(I.\u0275\u0275attribute("aria-disabled",!!k.disabled),I.\u0275\u0275classProp("mat-tab-disabled",k.disabled))},inputs:{disabled:"disabled"},features:[I.\u0275\u0275InheritDefinitionFeature]}),O})();const nt=(0,Je.i$)({passive:!0});let St=(()=>{class O{constructor(B,k,G,H,Ee,tt,mt){this._elementRef=B,this._changeDetectorRef=k,this._viewportRuler
1=G,this._dir=H,this._ngZone=Ee,this._platform=tt,this._animationMode=mt,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new K.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new K.x,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new I.EventEmitter,this.indexFocused=new I.EventEmitter,Ee.runOutsideAngular(()=>{(0,xe.R)(B.nativeElement,"mouseleave").pipe((0,oe.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(B){B=(0,Oe.su)(B),this._selectedIndex!=B&&(this._selectedIndexChanged=!0,this._selectedIndex=B,this._keyManager&&this._keyManager.updateActiveItem(B))}ngAfterViewInit(){(0,xe.R)(this._previousPaginator.nativeElement,"touchstart",nt).pipe((0,oe.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,xe.R)(this._nextPaginator.nativeElement,"touchstart",nt).pipe((0,oe.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const B=this._dir?this._dir.change:(0,Ve.of)("ltr"),k=this._viewportRuler.change(150),G=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new a.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,ee.q)(1)).subscribe(G),(0,ke.T)(B,k,this._items.changes,this._itemsResized()).pipe((0,oe.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),G()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe((0,oe.R)(this._destroyed)).subscribe(H=>{this.indexFocused.emit(H),this._setTabFocus(H)})}_itemsResized(){return"function"!=typeof ResizeObserver?$e.E:this._items.changes.pipe((0,ce.O)(this._items),(0,C.w)(B=>new ot.y(k=>this._ngZone.runOutsideAngular(()=>{const G=new ResizeObserver(()=>{k.next()});return B.forEach(H=>{G.observe(H.elementRef.nativeElement)}),()=>{G.disconnect()}}))),(0,Y.T)(1))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(B){if(!(0,He.Vb)(B))switch(B.keyCode){case He.K5:case He.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(B));break;default:this._keyManager.onKeydown(B)}}_onContentChanges(){const B=this._elementRef.nativeElement.textContent;B!==this._currentTextContent&&(this._currentTextContent=B||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(B){!this._isValidIndex(B)||this.focusIndex===B||!this._keyManager||this._keyManager.setActiveItem(B)}_isValidIndex(B){if(!this._items)return!0;const k=this._items?this._items.toArray()[B]:null;return!!k&&!k.disabled}_setTabFocus(B){if(this._showPaginationControls&&this._scrollToLabel(B),this._items&&this._items.length){this._items.toArray()[B].focus();const k=this._tabListContainer.nativeElement;k.scrollLeft="ltr"==this._getLayoutDirection()?0:k.scrollWidth-k.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const B=this.scrollDistance,k="ltr"===this._getLayoutDirection()?-B:B;this._tabList.nativeElement.style.transform=`translateX(${Math.round(k)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(B){this._scrollTo(B)}_scrollHeader(B){return this._scrollTo(this._scrollDistance+("before"==B?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(B){this._stopInterval(),this._scrollHeader(B)}_scrollToLabel(B){if(this.disablePagination)return;const k=this._items?this._items.toArray()[B]:null;if(!k)return;const G=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:H,offsetWidth:Ee}=k.elementRef.nativeElement;let tt,mt;"ltr"==this._getLayoutDirection()?(tt=H,mt=tt+Ee):(mt=this._tabListInner.nativeElement.offsetWidth-H,tt=mt-Ee);const Nt=this.scrollDistance,Zt=this.scrollDistance+G;tt<Nt?this.scrollDistance-=Nt-tt+60:mt>Zt&&(this.scrollDistance+=mt-Zt+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const B=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;B||(this.scrollDistance=0),B!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=B}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const B=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,k=B?B.elementRef.nativeElement:null;k?this._inkBar.alignToElement(k):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(B,k){k&&null!=k.button&&0!==k.button||(this._stopInterval(),(0,be.H)(650,100).pipe((0,oe.R)((0,ke.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:G,distance:H}=this._scrollHeader(B);(0===H||H>=G)&&this._stopInterval()}))}_scrollTo(B){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const k=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(k,B)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:k,distance:this._scrollDistance}}}return O.\u0275fac=function(B){return new(B||O)(I.\u0275\u0275directiveInject(I.ElementRef),I.\u
10275\u0275directiveInject(I.ChangeDetectorRef),I.\u0275\u0275directiveInject(Ie.rL),I.\u0275\u0275directiveInject(de.Is,8),I.\u0275\u0275directiveInject(I.NgZone),I.\u0275\u0275directiveInject(Je.t4),I.\u0275\u0275directiveInject(pe.Qb,8))},O.\u0275dir=I.\u0275\u0275defineDirective({type:O,inputs:{disablePagination:"disablePagination"}}),O})(),Lt=(()=>{class O extends St{constructor(B,k,G,H,Ee,tt,mt){super(B,k,G,H,Ee,tt,mt),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(B){this._disableRipple=(0,Oe.Ig)(B)}_itemSelected(B){B.preventDefault()}}return O.\u0275fac=function(B){return new(B||O)(I.\u0275\u0275directiveInject(I.ElementRef),I.\u0275\u0275directiveInject(I.ChangeDetectorRef),I.\u0275\u0275directiveInject(Ie.rL),I.\u0275\u0275directiveInject(de.Is,8),I.\u0275\u0275directiveInject(I.NgZone),I.\u0275\u0275directiveInject(Je.t4),I.\u0275\u0275directiveInject(pe.Qb,8))},O.\u0275dir=I.\u0275\u0275defineDirective({type:O,inputs:{disableRipple:"disableRipple"},features:[I.\u0275\u0275InheritDefinitionFeature]}),O})(),$t=(()=>{class O extends Lt{constructor(B,k,G,H,Ee,tt,mt){super(B,k,G,H,Ee,tt,mt)}}return O.\u0275fac=function(B){return new(B||O)(I.\u0275\u0275directiveInject(I.ElementRef),I.\u0275\u0275directiveInject(I.ChangeDetectorRef),I.\u0275\u0275directiveInject(Ie.rL),I.\u0275\u0275directiveInject(de.Is,8),I.\u0275\u0275directiveInject(I.NgZone),I.\u0275\u0275directiveInject(Je.t4),I.\u0275\u0275directiveInject(pe.Qb,8))},O.\u0275cmp=I.\u0275\u0275defineComponent({type:O,selectors:[["mat-tab-header"]],contentQueries:function(B,k,G){if(1&B&&I.\u0275\u0275contentQuery(G,qe,4),2&B){let H;I.\u0275\u0275queryRefresh(H=I.\u0275\u0275loadQuery())&&(k._items=H)}},viewQuery:function(B,k){if(1&B&&(I.\u0275\u0275viewQuery(rt,7),I.\u0275\u0275viewQuery(je,7),I.\u0275\u0275viewQuery(ht,7),I.\u0275\u0275viewQuery(yt,7),I.\u0275\u0275viewQuery(st,5),I.\u0275\u0275viewQuery(_t,5)),2&B){let G;I.\u0275\u0275queryRefresh(G=I.\u0275\u0275loadQuery())&&(k._inkBar=G.first),I.\u0275\u0275queryRefresh(G=I.\u0275\u0275loadQuery())&&(k._tabListContainer=G.first),I.\u0275\u0275queryRefresh(G=I.\u0275\u0275loadQuery())&&(k._tabList=G.first),I.\u0275\u0275queryRefresh(G=I.\u0275\u0275loadQuery())&&(k._tabListInner=G.first),I.\u0275\u0275queryRefresh(G=I.\u0275\u0275loadQuery())&&(k._nextPaginator=G.first),I.\u0275\u0275queryRefresh(G=I.\u0275\u0275loadQuery())&&(k._previousPaginator=G.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(B,k){2&B&&I.\u0275\u0275classProp("mat-tab-header-pagination-controls-enabled",k._showPaginationControls)("mat-tab-header-rtl","rtl"==k._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[I.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Ue,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(B,k){1&B&&(I.\u0275\u0275projectionDef(),I.\u0275\u0275elementStart(0,"button",0,1),I.\u0275\u0275listener("click",function(){return k._handlePaginatorClick("before")})("mousedown",function(H){return k._handlePaginatorPress("before",H)})("touchend",function(){return k._stopInterval()}),I.\u0275\u0275element(2,"div",2),I.\u0275\u0275elementEnd(),I.\u0275\u0275elementStart(3,"div",3,4),I.\u0275\u0275listener("keydown",function(H){return k._handleKeydown(H)}),I.\u0275\u0275elementStart(5,"div",5,6),I.\u0275\u0275listener("cdkObserveContent",function(){return k._onContentChanges()}),I.\u0275\u0275elementStart(7,"div",7,8),I.\u0275\u0275projection(9),I.\u0275\u0275elementEnd(),I.\u0275\u0275element(10,"mat-ink-bar"),I.\u0275\u0275elementEnd(),I.\u0275\u0275elementEnd(),I.\u0275\u0275elementStart(11,"button",9,10),I.\u0275\u0275listener("mousedown",function(H){return k._handlePaginatorPress("after",H)})("click",function(){return k._handlePaginatorClick("after")})("touchend",function(){return k._stopInterval()}
1),I.\u0275\u0275element(13,"div",2),I.\u0275\u0275elementEnd()),2&B&&(I.\u0275\u0275classProp("mat-tab-header-pagination-disabled",k._disableScrollBefore),I.\u0275\u0275property("matRippleDisabled",k._disableScrollBefore||k.disableRipple)("disabled",k._disableScrollBefore||null),I.\u0275\u0275advance(5),I.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===k._animationMode),I.\u0275\u0275advance(6),I.\u0275\u0275classProp("mat-tab-header-pagination-disabled",k._disableScrollAfter),I.\u0275\u0275property("matRippleDisabled",k._disableScrollAfter||k.disableRipple)("disabled",k._disableScrollAfter||null))},directives:[re.wG,f.wD,rt],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;
1cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n"],encapsulation:2}),O})(),jt=0;class Ot{}const kt=(0,re.pj)((0,re.Kr)(class{constructor(O){this._elementRef=O}}),"primary");let Rt=(()=>{class O extends kt{constructor(B,k,G,H){var Ee;super(B),this._changeDetectorRef=k,this._animationMode=H,this._tabs=new I.QueryList,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=se.w0.EMPTY,this._tabLabelSubscription=se.w0.EMPTY,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new I.EventEmitter,this.focusChange=new I.EventEmitter,this.animationDone=new I.EventEmitter,this.selectedTabChange=new I.EventEmitter(!0),this._groupId=jt++,this.animationDuration=G&&G.animationDuration?G.animationDuration:"500ms",this.disablePagination=!(!G||null==G.disablePagination)&&G.disablePagination,this.dynamicHeight=!(!G||null==G.dynamicHeight)&&G.dynamicHeight,this.contentTabIndex=null!==(Ee=null==G?void 0:G.contentTabIndex)&&void 0!==Ee?Ee:null}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(B){this._dynamicHeight=(0,Oe.Ig)(B)}get selectedIndex(){return this._selectedIndex}set selectedIndex(B){this._indexToSelect=(0,Oe.su)(B,null)}get animationDuration(){return this._animationDuration}set animationDuration(B){this._animationDuration=/^\d+$/.test(B+"")?B+"ms":B}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(B){this._contentTabIndex=(0,Oe.su)(B,null)}get backgroundColor(){return this._backgroundColor}set backgroundColor(B){const k=this._elementRef.nativeElement;k.classList.remove(`mat-background-${this.backgroundColor}`),B&&k.classList.add(`mat-background-${B}`),this._backgroundColor=B}ngAfterContentChecked(){const B=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=B){const k=null==this._selectedIndex;if(!k){this.selectedTabChange.emit(this._createChangeEvent(B));const G=this._tabBodyWrapper.nativeElement;G.style.minHeight=G.clientHeight+"px"}Promise.resolve().then(()=>
1{this._tabs.forEach((G,H)=>G.isActive=H===B),k||(this.selectedIndexChange.emit(B),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((k,G)=>{k.position=G-B,null!=this._selectedIndex&&0==k.position&&!k.origin&&(k.origin=B-this._selectedIndex)}),this._selectedIndex!==B&&(this._selectedIndex=B,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const B=this._clampTabIndex(this._indexToSelect);if(B===this._selectedIndex){const k=this._tabs.toArray();let G;for(let H=0;H<k.length;H++)if(k[H].isActive){this._indexToSelect=this._selectedIndex=H,this._lastFocusedTabIndex=null,G=k[H];break}!G&&k[B]&&Promise.resolve().then(()=>{k[B].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(B))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,ce.O)(this._allTabs)).subscribe(B=>{this._tabs.reset(B.filter(k=>k._closestTabGroup===this||!k._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(B){const k=this._tabHeader;k&&(k.focusIndex=B)}_focusChanged(B){this._lastFocusedTabIndex=B,this.focusChange.emit(this._createChangeEvent(B))}_createChangeEvent(B){const k=new Ot;return k.index=B,this._tabs&&this._tabs.length&&(k.tab=this._tabs.toArray()[B]),k}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,ke.T)(...this._tabs.map(B=>B._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(B){return Math.min(this._tabs.length-1,Math.max(B||0,0))}_getTabLabelId(B){return`mat-tab-label-${this._groupId}-${B}`}_getTabContentId(B){return`mat-tab-content-${this._groupId}-${B}`}_setTabBodyWrapperHeight(B){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const k=this._tabBodyWrapper.nativeElement;k.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(k.style.height=B+"px")}_removeTabBodyWrapperHeight(){const B=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=B.clientHeight,B.style.height="",this.animationDone.emit()}_handleClick(B,k,G){B.disabled||(this.selectedIndex=k.focusIndex=G)}_getTabIndex(B,k){var G;return B.disabled?null:k===(null!==(G=this._lastFocusedTabIndex)&&void 0!==G?G:this.selectedIndex)?0:-1}_tabFocusChanged(B,k){B&&"mouse"!==B&&"touch"!==B&&(this._tabHeader.focusIndex=k)}}return O.\u0275fac=function(B){return new(B||O)(I.\u0275\u0275directiveInject(I.ElementRef),I.\u0275\u0275directiveInject(I.ChangeDetectorRef),I.\u0275\u0275directiveInject(ne,8),I.\u0275\u0275directiveInject(pe.Qb,8))},O.\u0275dir=I.\u0275\u0275defineDirective({type:O,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[I.\u0275\u0275InheritDefinitionFeature]}),O})(),Xe=(()=>{class O extends Rt{constructor(B,k,G,H){super(B,k,G,H)}}return O.\u0275fac=function(B){return new(B||O)(I.\u0275\u0275directiveInject(I.ElementRef),I.\u0275\u0275directiveInject(I.ChangeDetectorRef),I.\u0275\u0275directiveInject(ne,8),I.\u0275\u0275directiveInject(pe.Qb,8))},O.\u0275cmp=I.\u0275\u0275defineComponent({type:O,selectors:[["mat-tab-group"]],contentQueries:function(B,k,G){if(1&B&&I.\u0275\u0275contentQuery(G,ie,5),2&B){let H;I.\u0275\u0275queryRefresh(H=I.\u0275\u0275loadQuery())&&(k._allTabs=H)}},viewQuery:function(B,k){if(1&B&&(I.\u0275\u0275viewQuery(we,5),I.\u0275\u0275viewQuery(Le,5)),2&B){let G;I.\u0275\u0275queryRefresh(G=I.\u0275\u0275loadQuery())&&(k._tabBodyWrapper=G.first),I.\u0275\u0275queryRefresh(G=I.\u0275\u0275loadQuery())&&(k._tabHeader=G.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(B,k){2&B&&I.\u0275\u0275classProp("mat-tab-group-dynamic-height",k.dynamicHeight)("mat-tab-group-inverted-header","below"===k.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[I.\u0275\u0275ProvidersFeature([{provide:U,useExisting:O}]),I.\u0275\u0275InheritDefinitionFeature],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","ngClass","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","ngClass","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","ngClass","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(B,k){1&B&&(I.\u0275\u0275elementStart(0,"mat-tab-header",0,1),I.\u0275\u0275listener("indexFocused",function(H){return k._focusChanged(H)})("selectFocusedIndex",function(H){return k.selectedIndex=H}
1),I.\u0275\u0275template(2,R,5,15,"div",2),I.\u0275\u0275elementEnd(),I.\u0275\u0275elementStart(3,"div",3,4),I.\u0275\u0275template(5,le,1,10,"mat-tab-body",5),I.\u0275\u0275elementEnd()),2&B&&(I.\u0275\u0275property("selectedIndex",k.selectedIndex||0)("disableRipple",k.disableRipple)("disablePagination",k.disablePagination),I.\u0275\u0275advance(2),I.\u0275\u0275property("ngForOf",k._tabs),I.\u0275\u0275advance(1),I.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===k._animationMode),I.\u0275\u0275advance(2),I.\u0275\u0275property("ngForOf",k._tabs))},directives:[$t,X.sg,qe,re.wG,a.kH,X.mk,X.O5,u.Pl,x],styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],encapsulation:2}),O})(),y=(()=>{class O{}return O.\u0275fac=function(B){return new(B||O)},O.\u0275mod=I.\u0275\u0275defineNgModule({type:O}),O.\u0275inj=I.\u0275\u0275defineInjector({imports:[[X.ez,re.BQ,u.eL,re.si,f.Q8,a.rt],re.BQ]}),O})()},6360:(ft,Te,g)=>{g.d(Te,{Qb:()=>gt,PW:()=>Os});var a=g(5e3),f=g(2313),u=g(1777);function X(){return"undefined"!=typeof window&&void 0!==window.document}function I(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function re(V){switch(V.length){case 0:return new u.ZN;case 1:return V[0];default:return new u.ZE(V)}}function pe(V,l,h,M,W={},te={}){const Ce=[],Me=[];let Ge=-1,ut=null;if(M.forEach(bt=>{const Tt=bt.offset,qt=Tt==Ge,sn=qt&&ut||{};Object.keys(bt).forEach(Ht=>{let Jt=Ht,rn=bt[Ht];if("offset"!==Ht)switch(Jt=l.normalizePropertyName(Jt,Ce),rn){case u.k1:rn=W[Ht];break;case u.l3:rn=te[Ht];break;default:rn=l.normalizeStyleValue(Ht,Jt,rn,Ce)}sn[Jt]=rn}),qt||Me.push(sn),ut=sn,Ge=Tt}),Ce.length){const bt="\n - ";throw new Error(`Unable to animate due to the following errors:${bt}${Ce.join(bt)}`)}return Me}function ee(V,l,h,M){switch(l){case"start":V.onStart(()=>M(h&&ce(h,"start",V)));break;case"done":V.onDone(()=>M(h&&ce(h,"done",V)));break;case"destroy":V.onDestroy(()=>M(h&&ce(h,"destroy",V)))}}function ce(V,l,h){const M=h.totalTime,te=Z(V.element,V.triggerName,V.fromState,V.toState,l||V.phaseName,null==M?V.totalTime:M,!!h.disabled),Ce=V._data;return null!=Ce&&(te._data=Ce),te}function Z(V,l,h,M,W="",te=0,Ce){return{element:V,triggerName:l,fromState:h,toState:M,phaseName:W,totalTime:te,disabled:!!Ce}}function oe(V,l,h){let M;return V instanceof Map?(M=V.get(l),M||V.set(l,M=h)):(M=V[l],M||(M=V[l]=h)),M}function C(V){const l=V.indexOf(":");return[V.substring(1,l),V.substr(l+1)]}let Y=(V,l)=>!1,K=(V,l)=>!1,se=(V,l,h)=>[];const xe=I();(xe||"undefined"!=typeof Element)&&(Y=X()?(V,l)=>{for(;l&&l!==document.documentElement;){if(l===V)return!0;l=l.parentNode||l.host}return!1}:(V,l)=>V.contains(l),K=(()=>
1{if(xe||Element.prototype.matches)return(V,l)=>V.matches(l);{const V=Element.prototype,l=V.matchesSelector||V.mozMatchesSelector||V.msMatchesSelector||V.oMatchesSelector||V.webkitMatchesSelector;return l?(h,M)=>l.apply(h,[M]):K}})(),se=(V,l,h)=>{let M=[];if(h){const W=V.querySelectorAll(l);for(let te=0;te<W.length;te++)M.push(W[te])}else{const W=V.querySelector(l);W&&M.push(W)}return M});let ke=null,$e=!1;function ot(V){ke||(ke=function be(){return"undefined"!=typeof document?document.body:null}()||{},$e=!!ke.style&&"WebkitAppearance"in ke.style);let l=!0;return ke.style&&!function Ve(V){return"ebkit"==V.substring(1,6)}(V)&&(l=V in ke.style,!l&&$e&&(l="Webkit"+V.charAt(0).toUpperCase()+V.substr(1)in ke.style)),l}const ae=K,de=Y,Oe=se;function He(V){const l={};return Object.keys(V).forEach(h=>{const M=h.replace(/([a-z])([A-Z])/g,"$1-$2");l[M]=V[h]}),l}let Je=(()=>{class V{validateStyleProperty(h){return ot(h)}matchesElement(h,M){return ae(h,M)}containsElement(h,M){return de(h,M)}query(h,M,W){return Oe(h,M,W)}computeStyle(h,M,W){return W||""}animate(h,M,W,te,Ce,Me=[],Ge){return new u.ZN(W,te)}}return V.\u0275fac=function(h){return new(h||V)},V.\u0275prov=a.\u0275\u0275defineInjectable({token:V,factory:V.\u0275fac}),V})(),Ie=(()=>{class V{}return V.NOOP=new Je,V})();const Ne="ng-enter",_e="ng-leave",yt="ng-trigger",st=".ng-trigger",_t="ng-animating",we=".ng-animating";function Le(V){if("number"==typeof V)return V;const l=V.match(/^(-?[\.\d]+)(m?s)/);return!l||l.length<2?0:We(parseFloat(l[1]),l[2])}function We(V,l){return"s"===l?1e3*V:V}function ue(V,l,h){return V.hasOwnProperty("duration")?V:function Be(V,l,h){let W,te=0,Ce="";if("string"==typeof V){const Me=V.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Me)return l.push(`The provided timing value "${V}" is invalid.`),{duration:0,delay:0,easing:""};W=We(parseFloat(Me[1]),Me[2]);const Ge=Me[3];null!=Ge&&(te=We(parseFloat(Ge),Me[4]));const ut=Me[5];ut&&(Ce=ut)}else W=V;if(!h){let Me=!1,Ge=l.length;W<0&&(l.push("Duration values below 0 are not allowed for this animation step."),Me=!0),te<0&&(l.push("Delay values below 0 are not allowed for this animation step."),Me=!0),Me&&l.splice(Ge,0,`The provided timing value "${V}" is invalid.`)}return{duration:W,delay:te,easing:Ce}}(V,l,h)}function R(V,l={}){return Object.keys(V).forEach(h=>{l[h]=V[h]}),l}function ge(V,l,h={}){if(l)for(let M in V)h[M]=V[M];else R(V,h);return h}function Qe(V,l,h){return h?l+":"+h+";":""}function ze(V){let l="";for(let h=0;h<V.style.length;h++){const M=V.style.item(h);l+=Qe(0,M,V.style.getPropertyValue(M))}for(const h in V.style)V.style.hasOwnProperty(h)&&!h.startsWith("_")&&(l+=Qe(0,A(h),V.style[h]));V.setAttribute("style",l)}function rt(V,l,h){V.style&&(Object.keys(l).forEach(M=>{const W=P(M);h&&!h.hasOwnProperty(M)&&(h[M]=V.style[W]),V.style[W]=l[M]}),I()&&ze(V))}function Ae(V,l){V.style&&(Object.keys(l).forEach(h=>{const M=P(h);V.style[M]=""}),I()&&ze(V))}function it(V){return Array.isArray(V)?1==V.length?V[0]:(0,u.vP)(V):V}const vt=new RegExp("{{\\s*(.+?)\\s*}}","g");function Pt(V){let l=[];if("string"==typeof V){let h;for(;h=vt.exec(V);)l.push(h[1]);vt.lastIndex=0}return l}function De(V,l,h){const M=V.toString(),W=M.replace(vt,(te,Ce)=>{let Me=l[Ce];return l.hasOwnProperty(Ce)||(h.push(`Please provide a value for the animation param ${Ce}`),Me=""),Me.toString()});return W==M?V:W}function U(V){const l=[];let h=V.next();for(;!h.done;)l.push(h.value),h=V.next();return l}const ie=/-+([a-z0-9])/g;function P(V){return V.replace(ie,(...l)=>l[1].toUpperCase())}function A(V){return V.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function b(V,l){return 0===V||0===l}function x(V,l,h){const M=Object.keys(h);if(M.length&&l.length){let te=l[0],Ce=[];if(M.forEach(Me=>{te.hasOwnProperty(Me)||Ce.push(Me),te[Me]=h[Me]}),Ce.length)for(var W=1;W<l.length;W++){let Me=l[W];Ce.forEach(function(Ge){Me[Ge]=he(V,Ge)})}}return l}function ne(V,l,h){switch(l.type){case 7:return V.visitTrigger(l,h);case 0:return V.visitState(l,h);case 1:return V.visitTransition(l,h);case 2:return V.visitSequence(l,h);case 3:return V.visitGroup(l,h);case 4:return V.visitAnimate(l,h);case 5:return V.visitKeyframes(l,h);case 6:return V.visitStyle(l,h);case 8:return V.visitReference(l,h);case 9:return V.visitAnimateChild(l,h);case 10:return V.visitAnimateRef(l,h);case 11:return V.visitQuery(l,h);case 12:return V.visitStagger(l,h);default:throw new Error(`Unable to resolve animation metadata node #${l.type}`)}}function he(V,l){return window.getComputedStyle(V)[l]}function nt(V,l){const h=[];
1return"string"==typeof V?V.split(/\s*,\s*/).forEach(M=>function ct(V,l,h){if(":"==V[0]){const Ge=function It(V,l){switch(V){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(h,M)=>parseFloat(M)>parseFloat(h);case":decrement":return(h,M)=>parseFloat(M)<parseFloat(h);default:return l.push(`The transition alias value "${V}" is not supported`),"* => *"}}(V,h);if("function"==typeof Ge)return void l.push(Ge);V=Ge}const M=V.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==M||M.length<4)return h.push(`The provided transition expression "${V}" is not supported`),l;const W=M[1],te=M[2],Ce=M[3];l.push(Lt(W,Ce));"<"==te[0]&&!("*"==W&&"*"==Ce)&&l.push(Lt(Ce,W))}(M,h,l)):h.push(V),h}const wt=new Set(["true","1"]),St=new Set(["false","0"]);function Lt(V,l){const h=wt.has(V)||St.has(V),M=wt.has(l)||St.has(l);return(W,te)=>{let Ce="*"==V||V==W,Me="*"==l||l==te;return!Ce&&h&&"boolean"==typeof W&&(Ce=W?wt.has(V):St.has(V)),!Me&&M&&"boolean"==typeof te&&(Me=te?wt.has(l):St.has(l)),Ce&&Me}}const jt=new RegExp("s*:selfs*,?","g");function Ot(V,l,h){return new Rt(V).build(l,h)}class Rt{constructor(l){this._driver=l}build(l,h){const M=new N(h);return this._resetContextStyleTimingState(M),ne(this,it(l),M)}_resetContextStyleTimingState(l){l.currentQuerySelector="",l.collectedStyles={},l.collectedStyles[""]={},l.currentTime=0}visitTrigger(l,h){let M=h.queryCount=0,W=h.depCount=0;const te=[],Ce=[];return"@"==l.name.charAt(0)&&h.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),l.definitions.forEach(Me=>{if(this._resetContextStyleTimingState(h),0==Me.type){const Ge=Me,ut=Ge.name;ut.toString().split(/\s*,\s*/).forEach(bt=>{Ge.name=bt,te.push(this.visitState(Ge,h))}),Ge.name=ut}else if(1==Me.type){const Ge=this.visitTransition(Me,h);M+=Ge.queryCount,W+=Ge.depCount,Ce.push(Ge)}else h.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:l.name,states:te,transitions:Ce,queryCount:M,depCount:W,options:null}}visitState(l,h){const M=this.visitStyle(l.styles,h),W=l.options&&l.options.params||null;if(M.containsDynamicStyles){const te=new Set,Ce=W||{};if(M.styles.forEach(Me=>{if(me(Me)){const Ge=Me;Object.keys(Ge).forEach(ut=>{Pt(Ge[ut]).forEach(bt=>{Ce.hasOwnProperty(bt)||te.add(bt)})})}}),te.size){const Me=U(te.values());h.errors.push(`state("${l.name}", ...) must define default values for all the following style substitutions: ${Me.join(", ")}`)}}return{type:0,name:l.name,style:M,options:W?{params:W}:null}}visitTransition(l,h){h.queryCount=0,h.depCount=0;const M=ne(this,it(l.animation),h);return{type:1,matchers:nt(l.expr,h.errors),animation:M,queryCount:h.queryCount,depCount:h.depCount,options:z(l.options)}}visitSequence(l,h){return{type:2,steps:l.steps.map(M=>ne(this,M,h)),options:z(l.options)}}visitGroup(l,h){const M=h.currentTime;let W=0;const te=l.steps.map(Ce=>{h.currentTime=M;const Me=ne(this,Ce,h);return W=Math.max(W,h.currentTime),Me});return h.currentTime=W,{type:3,steps:te,options:z(l.options)}}visitAnimate(l,h){const M=function Se(V,l){let h=null;if(V.hasOwnProperty("duration"))h=V;else if("number"==typeof V)return Ke(ue(V,l).duration,0,"");const M=V;if(M.split(/\s+/).some(te=>"{"==te.charAt(0)&&"{"==te.charAt(1))){const te=Ke(0,0,"");return te.dynamic=!0,te.strValue=M,te}return h=h||ue(M,l),Ke(h.duration,h.delay,h.easing)}(l.timings,h.errors);h.currentAnimateTimings=M;let W,te=l.styles?l.styles:(0,u.oB)({});if(5==te.type)W=this.visitKeyframes(te,h);else{let Ce=l.styles,Me=!1;if(!Ce){Me=!0;const ut={};M.easing&&(ut.easing=M.easing),Ce=(0,u.oB)(ut)}h.currentTime+=M.duration+M.delay;const Ge=this.visitStyle(Ce,h);Ge.isEmptyStep=Me,W=Ge}return h.currentAnimateTimings=null,{type:4,timings:M,style:W,options:null}}visitStyle(l,h){const M=this._makeStyleAst(l,h);return this._validateStyleAst(M,h),M}_makeStyleAst(l,h){const M=[];Array.isArray(l.styles)?l.styles.forEach(Ce=>{"string"==typeof Ce?Ce==u.l3?M.push(Ce):h.errors.push(`The provided style string value ${Ce} is not allowed.`):M.push(Ce)}):M.push(l.styles);let W=!1,te=null;return M.forEach(Ce=>{if(me(Ce)){const Me=Ce,Ge=Me.easing;if(Ge&&(te=Ge,delete Me.easing),!W)for(let ut in Me)if(Me[ut].toString().indexOf("{{")>=0){W=!0;break}}}),{type:6,styles:M,easing:te,offset:l.offset,containsDynamicStyles:W,options:null}}_validateStyleAst(l,h){const M=h.currentAnimateTimings;let W=h.currentTime,te=h.currentTime;M&&te>
10&&(te-=M.duration+M.delay),l.styles.forEach(Ce=>{"string"!=typeof Ce&&Object.keys(Ce).forEach(Me=>{if(!this._driver.validateStyleProperty(Me))return void h.errors.push(`The provided animation property "${Me}" is not a supported CSS property for animations`);const Ge=h.collectedStyles[h.currentQuerySelector],ut=Ge[Me];let bt=!0;ut&&(te!=W&&te>=ut.startTime&&W<=ut.endTime&&(h.errors.push(`The CSS property "${Me}" that exists between the times of "${ut.startTime}ms" and "${ut.endTime}ms" is also being animated in a parallel animation between the times of "${te}ms" and "${W}ms"`),bt=!1),te=ut.startTime),bt&&(Ge[Me]={startTime:te,endTime:W}),h.options&&function dt(V,l,h){const M=l.params||{},W=Pt(V);W.length&&W.forEach(te=>{M.hasOwnProperty(te)||h.push(`Unable to resolve the local animation param ${te} in the given list of values`)})}(Ce[Me],h.options,h.errors)})})}visitKeyframes(l,h){const M={type:5,styles:[],options:null};if(!h.currentAnimateTimings)return h.errors.push("keyframes() must be placed inside of a call to animate()"),M;let te=0;const Ce=[];let Me=!1,Ge=!1,ut=0;const bt=l.steps.map(Mn=>{const An=this._makeStyleAst(Mn,h);let Wn=null!=An.offset?An.offset:function j(V){if("string"==typeof V)return null;let l=null;if(Array.isArray(V))V.forEach(h=>{if(me(h)&&h.hasOwnProperty("offset")){const M=h;l=parseFloat(M.offset),delete M.offset}});else if(me(V)&&V.hasOwnProperty("offset")){const h=V;l=parseFloat(h.offset),delete h.offset}return l}(An.styles),$n=0;return null!=Wn&&(te++,$n=An.offset=Wn),Ge=Ge||$n<0||$n>1,Me=Me||$n<ut,ut=$n,Ce.push($n),An});Ge&&h.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),Me&&h.errors.push("Please ensure that all keyframe offsets are in order");const Tt=l.steps.length;let qt=0;te>0&&te<Tt?h.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==te&&(qt=1/(Tt-1));const sn=Tt-1,Ht=h.currentTime,Jt=h.currentAnimateTimings,rn=Jt.duration;return bt.forEach((Mn,An)=>{const Wn=qt>0?An==sn?1:qt*An:Ce[An],$n=Wn*rn;h.currentTime=Ht+Jt.delay+$n,Jt.duration=$n,this._validateStyleAst(Mn,h),Mn.offset=Wn,M.styles.push(Mn)}),M}visitReference(l,h){return{type:8,animation:ne(this,it(l.animation),h),options:z(l.options)}}visitAnimateChild(l,h){return h.depCount++,{type:9,options:z(l.options)}}visitAnimateRef(l,h){return{type:10,animation:this.visitReference(l.animation,h),options:z(l.options)}}visitQuery(l,h){const M=h.currentQuerySelector,W=l.options||{};h.queryCount++,h.currentQuery=l;const[te,Ce]=function Xe(V){const l=!!V.split(/\s*,\s*/).find(h=>":self"==h);return l&&(V=V.replace(jt,"")),V=V.replace(/@\*/g,st).replace(/@\w+/g,h=>st+"-"+h.substr(1)).replace(/:animating/g,we),[V,l]}(l.selector);h.currentQuerySelector=M.length?M+" "+te:te,oe(h.collectedStyles,h.currentQuerySelector,{});const Me=ne(this,it(l.animation),h);return h.currentQuery=null,h.currentQuerySelector=M,{type:11,selector:te,limit:W.limit||0,optional:!!W.optional,includeSelf:Ce,animation:Me,originalSelector:l.selector,options:z(l.options)}}visitStagger(l,h){h.currentQuery||h.errors.push("stagger() can only be used inside of query()");const M="full"===l.timings?{duration:0,delay:0,easing:"full"}:ue(l.timings,h.errors,!0);return{type:12,animation:ne(this,it(l.animation),h),timings:M,options:null}}}class N{constructor(l){this.errors=l,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 me(V){return!Array.isArray(V)&&"object"==typeof V}function z(V){return V?(V=R(V)).params&&(V.params=function J(V){return V?R(V):null}(V.params)):V={},V}function Ke(V,l,h){return{duration:V,delay:l,easing:h}}function y(V,l,h,M,W,te,Ce=null,Me=!1){return{type:1,element:V,keyframes:l,preStyleProps:h,postStyleProps:M,duration:W,delay:te,totalTime:W+te,easing:Ce,subTimeline:Me}}class O{constructor(){this._map=new Map}consume(l){let h=this._map.get(l);return h?this._map.delete(l):h=[],h}append(l,h){let M=this._map.get(l);M||this._map.set(l,M=[]),M.push(...h)}has(l){return this._map.has(l)}clear(){this._map.clear()}}const k=new RegExp(":enter","g"),H=new RegExp(":leave","g");function Ee(V,l,h,M,W,te={},Ce={},Me,Ge,ut=[]){return(new tt).buildKeyframes(V,l,h,M,W,te,Ce,Me,Ge,ut)}class tt{buildKeyframes(l,h,M,W,te,Ce,Me,Ge,ut,bt=[]){ut=ut||new O;const Tt=new Nt(l,h,ut,W,te,bt,[]);Tt.options=Ge,Tt.currentTimeline.setStyles([Ce],null,Tt.errors,Ge),ne(this,M,Tt);const qt=Tt.timelines.filter(sn=>sn.containsAnimation());if(qt.length&&Object.keys(Me).length){const sn=qt[qt.length-1];sn.allowOnlyTimelineStyles()||sn.setStyles([Me],null,Tt.errors,Ge)}return qt.length?qt.map(sn=>sn.buildKeyframes()):[y(h,[],[],[],0,0,"",!1)]}visitTrigger(l,h){}visitState(l,h){}visitTransition(l,h){}
vendor: 4,241 bytes, line 1
1visitAnimateChild(l,h){const M=h.subInstructions.consume(h.element);if(M){const W=h.createSubContext(l.options),te=h.currentTimeline.currentTime,Ce=this._visitSubInstructions(M,W,W.options);te!=Ce&&h.transformIntoNewTimeline(Ce)}h.previousNode=l}visitAnimateRef(l,h){const M=h.createSubContext(l.options);M.transformIntoNewTimeline(),this.visitReference(l.animation,M),h.transformIntoNewTimeline(M.currentTimeline.currentTime),h.previousNode=l}_visitSubInstructions(l,h,M){let te=h.currentTimeline.currentTime;const Ce=null!=M.duration?Le(M.duration):null,Me=null!=M.delay?Le(M.delay):null;return 0!==Ce&&l.forEach(Ge=>{const ut=h.appendInstructionToTimeline(Ge,Ce,Me);te=Math.max(te,ut.duration+ut.delay)}),te}visitReference(l,h){h.updateOptions(l.options,!0),ne(this,l.animation,h),h.previousNode=l}visitSequence(l,h){const M=h.subContextCount;let W=h;const te=l.options;if(te&&(te.params||te.delay)&&(W=h.createSubContext(te),W.transformIntoNewTimeline(),null!=te.delay)){6==W.previousNode.type&&(W.currentTimeline.snapshotCurrentStyles(),W.previousNode=mt);const Ce=Le(te.delay);W.delayNextStep(Ce)}l.steps.length&&(l.steps.forEach(Ce=>ne(this,Ce,W)),W.currentTimeline.applyStylesToKeyframe(),W.subContextCount>M&&W.transformIntoNewTimeline()),h.previousNode=l}visitGroup(l,h){const M=[];let W=h.currentTimeline.currentTime;const te=l.options&&l.options.delay?Le(l.options.delay):0;l.steps.forEach(Ce=>{const Me=h.createSubContext(l.options);te&&Me.delayNextStep(te),ne(this,Ce,Me),W=Math.max(W,Me.currentTimeline.currentTime),M.push(Me.currentTimeline)}),M.forEach(Ce=>h.currentTimeline.mergeTimelineCollectedStyles(Ce)),h.transformIntoNewTimeline(W),h.previousNode=l}_visitTiming(l,h){if(l.dynamic){const M=l.strValue;return ue(h.params?De(M,h.params,h.errors):M,h.errors)}return{duration:l.duration,delay:l.delay,easing:l.easing}}visitAnimate(l,h){const M=h.currentAnimateTimings=this._visitTiming(l.timings,h),W=h.currentTimeline;M.delay&&(h.incrementTime(M.delay),W.snapshotCurrentStyles());const te=l.style;5==te.type?this.visitKeyframes(te,h):(h.incrementTime(M.duration),this.visitStyle(te,h),W.applyStylesToKeyframe()),h.currentAnimateTimings=null,h.previousNode=l}visitStyle(l,h){const M=h.currentTimeline,W=h.currentAnimateTimings;!W&&M.getCurrentStyleProperties().length&&M.forwardFrame();const te=W&&W.easing||l.easing;l.isEmptyStep?M.applyEmptyStep(te):M.setStyles(l.styles,te,h.errors,h.options),h.previousNode=l}visitKeyframes(l,h){const M=h.currentAnimateTimings,W=h.currentTimeline.duration,te=M.duration,Me=h.createSubContext().currentTimeline;Me.easing=M.easing,l.styles.forEach(Ge=>{Me.forwardTime((Ge.offset||0)*te),Me.setStyles(Ge.styles,Ge.easing,h.errors,h.options),Me.applyStylesToKeyframe()}),h.currentTimeline.mergeTimelineCollectedStyles(Me),h.transformIntoNewTimeline(W+te),h.previousNode=l}visitQuery(l,h){const M=h.currentTimeline.currentTime,W=l.options||{},te=W.delay?Le(W.delay):0;te&&(6===h.previousNode.type||0==M&&h.currentTimeline.getCurrentStyleProperties().length)&&(h.currentTimeline.snapshotCurrentStyles(),h.previousNode=mt);let Ce=M;const Me=h.invokeQuery(l.selector,l.originalSelector,l.limit,l.includeSelf,!!W.optional,h.errors);h.currentQueryTotal=Me.length;let Ge=null;Me.forEach((ut,bt)=>{h.currentQueryIndex=bt;const Tt=h.createSubContext(l.options,ut);te&&Tt.delayNextStep(te),ut===h.element&&(Ge=Tt.currentTimeline),ne(this,l.animation,Tt),Tt.currentTimeline.applyStylesToKeyframe(),Ce=Math.max(Ce,Tt.currentTimeline.currentTime)}),h.currentQueryIndex=0,h.currentQueryTotal=0,h.transformIntoNewTimeline(Ce),Ge&&(h.currentTimeline.mergeTimelineCollectedStyles(Ge),h.currentTimeline.snapshotCurrentStyles()),h.previousNode=l}visitStagger(l,h){const M=h.parentContext,W=h.currentTimeline,te=l.timings,Ce=Math.abs(te.duration),Me=Ce*(h.currentQueryTotal-1);let Ge=Ce*h.currentQueryIndex;switch(te.duration<0?"reverse":te.easing){case"reverse":Ge=Me-Ge;break;case"full":Ge=M.currentStaggerTime}const bt=h.currentTimeline;Ge&&bt.delayNextStep(Ge);const Tt=bt.currentTime;ne(this,l.animation,h),h.previousNode=l,M.currentStaggerTime=W.currentTime-Tt+(W.startTime-M.currentTimeline.startTime)}}const mt={};class Nt{constructor(l,h,M,W,te,Ce,Me,Ge){this._driver=l,this.element=h,this.subInstru
1ctions=M,this._enterClassName=W,this._leaveClassName=te,this.errors=Ce,this.timelines=Me,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=mt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Ge||new Zt(this._driver,h,0),Me.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(l,h){if(!l)return;const M=l;let W=this.options;null!=M.duration&&(W.duration=Le(M.duration)),null!=M.delay&&(W.delay=Le(M.delay));const te=M.params;if(te){let Ce=W.params;Ce||(Ce=this.options.params={}),Object.keys(te).forEach(Me=>{(!h||!Ce.hasOwnProperty(Me))&&(Ce[Me]=De(te[Me],Ce,this.errors))})}}_copyOptions(){const l={};if(this.options){const h=this.options.params;if(h){const M=l.params={};Object.keys(h).forEach(W=>{M[W]=h[W]})}}return l}createSubContext(l=null,h,M){const W=h||this.element,te=new Nt(this._driver,W,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(W,M||0));return te.previousNode=this.previousNode,te.currentAnimateTimings=this.currentAnimateTimings,te.options=this._copyOptions(),te.updateOptions(l),te.currentQueryIndex=this.currentQueryIndex,te.currentQueryTotal=this.currentQueryTotal,te.parentContext=this,this.subContextCount++,te}transformIntoNewTimeline(l){return this.previousNode=mt,this.currentTimeline=this.currentTimeline.fork(this.element,l),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(l,h,M){const W={duration:null!=h?h:l.duration,delay:this.currentTimeline.currentTime+(null!=M?M:0)+l.delay,easing:""},te=new En(this._driver,l.element,l.keyframes,l.preStyleProps,l.postStyleProps,W,l.stretchStartingKeyframe);return this.timelines.push(te),W}incrementTime(l){this.currentTimeline.forwardTime(this.currentTimeline.duration+l)}delayNextStep(l){l>0&&this.currentTimeline.delayNextStep(l)}invokeQuery(l,h,M,W,te,Ce){let Me=[];if(W&&Me.push(this.element),l.length>0){l=(l=l.replace(k,"."+this._enterClassName)).replace(H,"."+this._leaveClassName);let ut=this._driver.query(this.element,l,1!=M);0!==M&&(ut=M<0?ut.slice(ut.length+M,ut.length):ut.slice(0,M)),Me.push(...ut)}return!te&&0==Me.length&&Ce.push(`\`query("${h}")\` returned zero elements. (Use \`query("${h}", { optional: true })\` if you wish to allow this.)`),Me}}class Zt{constructor(l,h,M,W){this._driver=l,this.element=h,this.startTime=M,this._elementTimelineStylesLookup=W,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(h),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(h,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(l){const h=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||h?(this.forwardTime(this.currentTime+l),h&&this.snapshotCurrentStyles()):this.startTime+=l}fork(l,h){return this.applyStylesToKeyframe(),new Zt(this._driver,l,h||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(l){this.applyStylesToKeyframe(),this.duration=l,this._loadKeyframe()}_updateStyle(l,h){this._localTimelineStyles[l]=h,this._globalTimelineStyles[l]=h,this._styleSummary[l]={time:this.currentTime,value:h}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(l){l&&(this._previousKeyframe.easing=l),Object.keys(this._globalTimelineStyles).forEac
1h(h=>{this._backFill[h]=this._globalTimelineStyles[h]||u.l3,this._currentKeyframe[h]=u.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(l,h,M,W){h&&(this._previousKeyframe.easing=h);const te=W&&W.params||{},Ce=function ai(V,l){const h={};let M;return V.forEach(W=>{"*"===W?(M=M||Object.keys(l),M.forEach(te=>{h[te]=u.l3})):ge(W,!1,h)}),h}(l,this._globalTimelineStyles);Object.keys(Ce).forEach(Me=>{const Ge=De(Ce[Me],te,M);this._pendingStyles[Me]=Ge,this._localTimelineStyles.hasOwnProperty(Me)||(this._backFill[Me]=this._globalTimelineStyles.hasOwnProperty(Me)?this._globalTimelineStyles[Me]:u.l3),this._updateStyle(Me,Ge)})}applyStylesToKeyframe(){const l=this._pendingStyles,h=Object.keys(l);0!=h.length&&(this._pendingStyles={},h.forEach(M=>{this._currentKeyframe[M]=l[M]}),Object.keys(this._localTimelineStyles).forEach(M=>{this._currentKeyframe.hasOwnProperty(M)||(this._currentKeyframe[M]=this._localTimelineStyles[M])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(l=>{const h=this._localTimelineStyles[l];this._pendingStyles[l]=h,this._updateStyle(l,h)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const l=[];for(let h in this._currentKeyframe)l.push(h);return l}mergeTimelineCollectedStyles(l){Object.keys(l._styleSummary).forEach(h=>{const M=this._styleSummary[h],W=l._styleSummary[h];(!M||W.time>M.time)&&this._updateStyle(h,W.value)})}buildKeyframes(){this.applyStylesToKeyframe();const l=new Set,h=new Set,M=1===this._keyframes.size&&0===this.duration;let W=[];this._keyframes.forEach((Me,Ge)=>{const ut=ge(Me,!0);Object.keys(ut).forEach(bt=>{const Tt=ut[bt];Tt==u.k1?l.add(bt):Tt==u.l3&&h.add(bt)}),M||(ut.offset=Ge/this.duration),W.push(ut)});const te=l.size?U(l.values()):[],Ce=h.size?U(h.values()):[];if(M){const Me=W[0],Ge=R(Me);Me.offset=0,Ge.offset=1,W=[Me,Ge]}return y(this.element,W,te,Ce,this.duration,this.startTime,this.easing,!1)}}class En extends Zt{constructor(l,h,M,W,te,Ce,Me=!1){super(l,h,Ce.delay),this.keyframes=M,this.preStyleProps=W,this.postStyleProps=te,this._stretchStartingKeyframe=Me,this.timings={duration:Ce.duration,delay:Ce.delay,easing:Ce.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let l=this.keyframes,{delay:h,duration:M,easing:W}=this.timings;if(this._stretchStartingKeyframe&&h){const te=[],Ce=M+h,Me=h/Ce,Ge=ge(l[0],!1);Ge.offset=0,te.push(Ge);const ut=ge(l[0],!1);ut.offset=oi(Me),te.push(ut);const bt=l.length-1;for(let Tt=1;Tt<=bt;Tt++){let qt=ge(l[Tt],!1);qt.offset=oi((h+qt.offset*M)/Ce),te.push(qt)}M=Ce,h=0,W="",l=te}return y(this.element,l,this.preStyleProps,this.postStyleProps,M,h,W,!0)}}function oi(V,l=3){const h=Math.pow(10,l-1);return Math.round(V*h)/h}class Sn{}class er extends Sn{normalizePropertyName(l,h){return P(l)}normalizeStyleValue(l,h,M,W){let te="";const Ce=M.toString().trim();if(Hn[h]&&0!==M&&"0"!==M)if("number"==typeof M)te="px";else{const Me=M.match(/^[+-]?[\d\.]+([a-z]*)$/);Me&&0==Me[1].length&&W.push(`Please provide a CSS unit value for ${l}:${M}`)}return Ce+te}}const Hn=(()=>function Mt(V){const l={};return V.forEach(h=>l[h]=!0),l}("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 Kt(V,l,h,M,W,te,Ce,Me,Ge,ut,bt,Tt,qt){return{type:0,element:V,triggerName:l,isRemovalTransition:W,fromState:h,fromStyles:te,toState:M,toStyles:Ce,timelines:Me,queriedElements:Ge,preStyleProps:ut,postStyleProps:bt,totalTime:Tt,errors:qt}}const cn={};class xn{constructor(l,h,M){this._triggerName=l,this.ast=h,this._stateStyles=M}match(l,h,M,W){return function hi(V,l,h,M,W){return V.some(te=>te(l,h,M,W))}(this.ast.matchers,l,h,M,W)}buildStyles(l,h,M){const W=this._stateStyles["*"],te=this._stateStyles[l],Ce=W?W.buildStyles(h,M):{};return te?te.buildStyles(h,M):Ce}build(l,h,M,W,te,Ce,Me,Ge,ut,bt){const Tt=[],qt=this.ast.options&&this.ast.options.params||cn,Ht=this.buildStyles(M,Me&&Me.params||cn,Tt),Jt=Ge&&Ge.params||cn,rn=this.buildStyles(W,Jt,Tt),Mn=new Set,An=new Map,Wn=new Map,$n="void"===W,vr={params:Object.assign(Object.assign({},qt),Jt)},ei=bt?[]:Ee(l,h,this.ast.animation,te,Ce,Ht,rn,vr,ut,Tt);let Zn=0;
1if(ei.forEach(ji=>{Zn=Math.max(ji.duration+ji.delay,Zn)}),Tt.length)return Kt(h,this._triggerName,M,W,$n,Ht,rn,[],[],An,Wn,Zn,Tt);ei.forEach(ji=>{const Ei=ji.element,Lr=oe(An,Ei,{});ji.preStyleProps.forEach(br=>Lr[br]=!0);const qr=oe(Wn,Ei,{});ji.postStyleProps.forEach(br=>qr[br]=!0),Ei!==h&&Mn.add(Ei)});const Ni=U(Mn.values());return Kt(h,this._triggerName,M,W,$n,Ht,rn,ei,Ni,An,Wn,Zn)}}class bn{constructor(l,h,M){this.styles=l,this.defaultParams=h,this.normalizer=M}buildStyles(l,h){const M={},W=R(this.defaultParams);return Object.keys(l).forEach(te=>{const Ce=l[te];null!=Ce&&(W[te]=Ce)}),this.styles.styles.forEach(te=>{if("string"!=typeof te){const Ce=te;Object.keys(Ce).forEach(Me=>{let Ge=Ce[Me];Ge.length>1&&(Ge=De(Ge,W,h));const ut=this.normalizer.normalizePropertyName(Me,h);Ge=this.normalizer.normalizeStyleValue(Me,ut,Ge,h),M[ut]=Ge})}}),M}}class un{constructor(l,h,M){this.name=l,this.ast=h,this._normalizer=M,this.transitionFactories=[],this.states={},h.states.forEach(W=>{this.states[W.name]=new bn(W.style,W.options&&W.options.params||{},M)}),yi(this.states,"true","1"),yi(this.states,"false","0"),h.transitions.forEach(W=>{this.transitionFactories.push(new xn(l,W,this.states))}),this.fallbackTransition=function _i(V,l,h){return new xn(V,{type:1,animation:{type:2,steps:[],options:null},matchers:[(Ce,Me)=>!0],options:null,queryCount:0,depCount:0},l)}(l,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(l,h,M,W){return this.transitionFactories.find(Ce=>Ce.match(l,h,M,W))||null}matchStyles(l,h,M){return this.fallbackTransition.buildStyles(l,h,M)}}function yi(V,l,h){V.hasOwnProperty(l)?V.hasOwnProperty(h)||(V[h]=V[l]):V.hasOwnProperty(h)&&(V[l]=V[h])}const Qt=new O;class Nn{constructor(l,h,M){this.bodyNode=l,this._driver=h,this._normalizer=M,this._animations={},this._playersById={},this.players=[]}register(l,h){const M=[],W=Ot(this._driver,h,M);if(M.length)throw new Error(`Unable to build the animation due to the following errors: ${M.join("\n")}`);this._animations[l]=W}_buildPlayer(l,h,M){const W=l.element,te=pe(0,this._normalizer,0,l.keyframes,h,M);return this._driver.animate(W,te,l.duration,l.delay,l.easing,[],!0)}create(l,h,M={}){const W=[],te=this._animations[l];let Ce;const Me=new Map;if(te?(Ce=Ee(this._driver,h,te,Ne,_e,{},{},M,Qt,W),Ce.forEach(bt=>{const Tt=oe(Me,bt.element,{});bt.postStyleProps.forEach(qt=>Tt[qt]=null)})):(W.push("The requested animation doesn't exist or has already been destroyed"),Ce=[]),W.length)throw new Error(`Unable to create the animation due to the following errors: ${W.join("\n")}`);Me.forEach((bt,Tt)=>{Object.keys(bt).forEach(qt=>{bt[qt]=this._driver.computeStyle(Tt,qt,u.l3)})});const ut=re(Ce.map(bt=>{const Tt=Me.get(bt.element);return this._buildPlayer(bt,{},Tt)}));return this._playersById[l]=ut,ut.onDestroy(()=>this.destroy(l)),this.players.push(ut),ut}destroy(l){const h=this._getPlayer(l);h.destroy(),delete this._playersById[l];const M=this.players.indexOf(h);M>=0&&this.players.splice(M,1)}_getPlayer(l){const h=this._playersById[l];if(!h)throw new Error(`Unable to find the timeline player referenced by ${l}`);return h}listen(l,h,M,W){const te=Z(h,"","","");return ee(this._getPlayer(l),M,te,W),()=>{}}command(l,h,M,W){if("register"==M)return void this.register(l,W[0]);if("create"==M)return void this.create(l,h,W[0]||{});const te=this._getPlayer(l);switch(M){case"play":te.play();break;case"pause":te.pause();break;case"reset":te.reset();break;case"restart":te.restart();break;case"finish":te.finish();break;case"init":te.init();break;case"setPosition":te.setPosition(parseFloat(W[0]));break;case"destroy":this.destroy(l)}}}const li="ng-animate-queued",jn="ng-animate-disabled",On=".ng-animate-disabled",wn=[],nn={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ui={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Dn="__ng_removed";class Fn{constructor(l,h=""){this.namespaceId=h;const M=l&&l.hasOwnProperty("value");if(this.value=function ss(V){return null!=V?V:null}(M?l.value:l),M){const te=R(l);delete te.value,this.options=te}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(l){const h=l.params;if(h){const M=this.options.params;
1Object.keys(h).forEach(W=>{null==M[W]&&(M[W]=h[W])})}}}const Pn="void",Fi=new Fn(Pn);class bi{constructor(l,h,M){this.id=l,this.hostElement=h,this._engine=M,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+l,zn(h,this._hostClassName)}listen(l,h,M,W){if(!this._triggers.hasOwnProperty(h))throw new Error(`Unable to listen on the animation trigger event "${M}" because the animation trigger "${h}" doesn't exist!`);if(null==M||0==M.length)throw new Error(`Unable to listen on the animation trigger "${h}" because the provided event is undefined!`);if(!function nr(V){return"start"==V||"done"==V}(M))throw new Error(`The provided animation trigger event "${M}" for the animation trigger "${h}" is not supported!`);const te=oe(this._elementListeners,l,[]),Ce={name:h,phase:M,callback:W};te.push(Ce);const Me=oe(this._engine.statesByElement,l,{});return Me.hasOwnProperty(h)||(zn(l,yt),zn(l,yt+"-"+h),Me[h]=Fi),()=>{this._engine.afterFlush(()=>{const Ge=te.indexOf(Ce);Ge>=0&&te.splice(Ge,1),this._triggers[h]||delete Me[h]})}}register(l,h){return!this._triggers[l]&&(this._triggers[l]=h,!0)}_getTrigger(l){const h=this._triggers[l];if(!h)throw new Error(`The provided animation trigger "${l}" has not been registered!`);return h}trigger(l,h,M,W=!0){const te=this._getTrigger(h),Ce=new Rn(this.id,h,l);let Me=this._engine.statesByElement.get(l);Me||(zn(l,yt),zn(l,yt+"-"+h),this._engine.statesByElement.set(l,Me={}));let Ge=Me[h];const ut=new Fn(M,this.id);if(!(M&&M.hasOwnProperty("value"))&&Ge&&ut.absorbOptions(Ge.options),Me[h]=ut,Ge||(Ge=Fi),ut.value!==Pn&&Ge.value===ut.value){if(!function gs(V,l){const h=Object.keys(V),M=Object.keys(l);if(h.length!=M.length)return!1;for(let W=0;W<h.length;W++){const te=h[W];if(!l.hasOwnProperty(te)||V[te]!==l[te])return!1}return!0}(Ge.params,ut.params)){const Jt=[],rn=te.matchStyles(Ge.value,Ge.params,Jt),Mn=te.matchStyles(ut.value,ut.params,Jt);Jt.length?this._engine.reportError(Jt):this._engine.afterFlush(()=>{Ae(l,rn),rt(l,Mn)})}return}const qt=oe(this._engine.playersByElement,l,[]);qt.forEach(Jt=>{Jt.namespaceId==this.id&&Jt.triggerName==h&&Jt.queued&&Jt.destroy()});let sn=te.matchTransition(Ge.value,ut.value,l,ut.params),Ht=!1;if(!sn){if(!W)return;sn=te.fallbackTransition,Ht=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:h,transition:sn,fromState:Ge,toState:ut,player:Ce,isFallbackTransition:Ht}),Ht||(zn(l,li),Ce.onStart(()=>{Ci(l,li)})),Ce.onDone(()=>{let Jt=this.players.indexOf(Ce);Jt>=0&&this.players.splice(Jt,1);const rn=this._engine.playersByElement.get(l);if(rn){let Mn=rn.indexOf(Ce);Mn>=0&&rn.splice(Mn,1)}}),this.players.push(Ce),qt.push(Ce),Ce}deregister(l){delete this._triggers[l],this._engine.statesByElement.forEach((h,M)=>{delete h[l]}),this._elementListeners.forEach((h,M)=>{this._elementListeners.set(M,h.filter(W=>W.name!=l))})}clearElementCache(l){this._engine.statesByElement.delete(l),this._elementListeners.delete(l);const h=this._engine.playersByElement.get(l);h&&(h.forEach(M=>M.destroy()),this._engine.playersByElement.delete(l))}_signalRemovalForInnerTriggers(l,h){const M=this._engine.driver.query(l,st,!0);M.forEach(W=>{if(W[Dn])return;const te=this._engine.fetchNamespacesByElement(W);te.size?te.forEach(Ce=>Ce.triggerLeaveAnimation(W,h,!1,!0)):this.clearElementCache(W)}),this._engine.afterFlushAnimationsDone(()=>M.forEach(W=>this.clearElementCache(W)))}triggerLeaveAnimation(l,h,M,W){const te=this._engine.statesByElement.get(l);if(te){const Ce=[];if(Object.keys(te).forEach(Me=>{if(this._triggers[Me]){const Ge=this.trigger(l,Me,Pn,W);Ge&&Ce.push(Ge)}}),Ce.length)return this._engine.markElementAsRemoved(this.id,l,!0,h),M&&re(Ce).onDone(()=>this._engine.processLeaveNode(l)),!0}return!1}prepareLeaveAnimationListeners(l){const h=this._elementListeners.get(l),M=this._engine.statesByElement.get(l);if(h&&M){const W=new Set;h.forEach(te=>{const Ce=te.name;if(W.has(Ce))return;W.add(Ce);const Ge=this._triggers[Ce].fallbackTransition,ut=M[Ce]||Fi,bt=new Fn(Pn),Tt=new Rn(this.id,Ce,l);this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:Ce,transition:Ge,fromState:ut,toState:bt,player:Tt,isFallbackTransition:!0})})}}removeNode(l,h){const M=this._engine;if(l.childElementCount&&this._signalRemovalForInnerTriggers(l,h),this.triggerLeaveAnimation(l,h,!0))return;let W=!1;if(M.totalAnimations){const te=M.players.length?M.playersByQueriedElement.get(l):[];if(te&&te.length)W=!0;else{let Ce=l;for(;Ce=Ce.parentNode;)if(M.statesByElement.get(Ce)){W=!0;break}}}if(this.prepareLeaveAnimationListeners(l),W)M.markElementAsRemoved(this.id,l,!1,h);else{const te=l[Dn];(!te||te===nn)&&(M.afterFlush(()=>this.clearElementCache(l)),M.destroyInnerAnimations(l),M._onRemovalComplete(l,h))}}insertNode(l,h){zn(l,this._hostClassName)}drainQueuedTransitions(l){const h=[];return this._queue.forEach(M=>{const W=M.player;if(W.destroyed)return;const te=M.element,Ce=this._elementListeners.get(te);Ce&&Ce.forEach(Me=>{if(Me.name==M.triggerName){const Ge=Z(te,M.triggerName,M.fromState.value,M.toState.value);Ge._data=l,ee(M.player,Me.phase,Ge,Me.callback)}}),W.markedForDestroy?this._engine.afterFlush(()=>{W.destroy()}):h.push(M)}),this._queue=[],h.sort((M,W)=>{const te=M.transition.ast.depCount,Ce=W.transition.ast.depCount;return 0==te||0==Ce?te-Ce:this._engine.driver.containsElement(M.element,W.element)?1:-1})}
1destroy(l){this.players.forEach(h=>h.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,l)}elementContainsData(l){let h=!1;return this._elementListeners.has(l)&&(h=!0),h=!!this._queue.find(M=>M.element===l)||h,h}}class Xn{constructor(l,h,M){this.bodyNode=l,this.driver=h,this._normalizer=M,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=(W,te)=>{}}_onRemovalComplete(l,h){this.onRemovalComplete(l,h)}get queuedPlayers(){const l=[];return this._namespaceList.forEach(h=>{h.players.forEach(M=>{M.queued&&l.push(M)})}),l}createNamespace(l,h){const M=new bi(l,h,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,h)?this._balanceNamespaceList(M,h):(this.newHostElements.set(h,M),this.collectEnterElement(h)),this._namespaceLookup[l]=M}_balanceNamespaceList(l,h){const M=this._namespaceList.length-1;if(M>=0){let W=!1;for(let te=M;te>=0;te--)if(this.driver.containsElement(this._namespaceList[te].hostElement,h)){this._namespaceList.splice(te+1,0,l),W=!0;break}W||this._namespaceList.splice(0,0,l)}else this._namespaceList.push(l);return this.namespacesByHostElement.set(h,l),l}register(l,h){let M=this._namespaceLookup[l];return M||(M=this.createNamespace(l,h)),M}registerTrigger(l,h,M){let W=this._namespaceLookup[l];W&&W.register(h,M)&&this.totalAnimations++}destroy(l,h){if(!l)return;const M=this._fetchNamespace(l);this.afterFlush(()=>{this.namespacesByHostElement.delete(M.hostElement),delete this._namespaceLookup[l];const W=this._namespaceList.indexOf(M);W>=0&&this._namespaceList.splice(W,1)}),this.afterFlushAnimationsDone(()=>M.destroy(h))}_fetchNamespace(l){return this._namespaceLookup[l]}fetchNamespacesByElement(l){const h=new Set,M=this.statesByElement.get(l);if(M){const W=Object.keys(M);for(let te=0;te<W.length;te++){const Ce=M[W[te]].namespaceId;if(Ce){const Me=this._fetchNamespace(Ce);Me&&h.add(Me)}}}return h}trigger(l,h,M,W){if(Tn(h)){const te=this._fetchNamespace(l);if(te)return te.trigger(h,M,W),!0}return!1}insertNode(l,h,M,W){if(!Tn(h))return;const te=h[Dn];if(te&&te.setForRemoval){te.setForRemoval=!1,te.setForMove=!0;const Ce=this.collectedLeaveElements.indexOf(h);Ce>=0&&this.collectedLeaveElements.splice(Ce,1)}if(l){const Ce=this._fetchNamespace(l);
1Ce&&Ce.insertNode(h,M)}W&&this.collectEnterElement(h)}collectEnterElement(l){this.collectedEnterElements.push(l)}markElementAsDisabled(l,h){h?this.disabledNodes.has(l)||(this.disabledNodes.add(l),zn(l,jn)):this.disabledNodes.has(l)&&(this.disabledNodes.delete(l),Ci(l,jn))}removeNode(l,h,M,W){if(Tn(h)){const te=l?this._fetchNamespace(l):null;if(te?te.removeNode(h,W):this.markElementAsRemoved(l,h,!1,W),M){const Ce=this.namespacesByHostElement.get(h);Ce&&Ce.id!==l&&Ce.removeNode(h,W)}}else this._onRemovalComplete(h,W)}markElementAsRemoved(l,h,M,W){this.collectedLeaveElements.push(h),h[Dn]={namespaceId:l,setForRemoval:W,hasAnimation:M,removedBeforeQueried:!1}}listen(l,h,M,W,te){return Tn(h)?this._fetchNamespace(l).listen(h,M,W,te):()=>{}}_buildInstruction(l,h,M,W,te){return l.transition.build(this.driver,l.element,l.fromState.value,l.toState.value,M,W,l.fromState.options,l.toState.options,h,te)}destroyInnerAnimations(l){let h=this.driver.query(l,st,!0);h.forEach(M=>this.destroyActiveAnimationsForElement(M)),0!=this.playersByQueriedElement.size&&(h=this.driver.query(l,we,!0),h.forEach(M=>this.finishActiveQueriedAnimationOnElement(M)))}destroyActiveAnimationsForElement(l){const h=this.playersByElement.get(l);h&&h.forEach(M=>{M.queued?M.markedForDestroy=!0:M.destroy()})}finishActiveQueriedAnimationOnElement(l){const h=this.playersByQueriedElement.get(l);h&&h.forEach(M=>M.finish())}whenRenderingDone(){return new Promise(l=>{if(this.players.length)return re(this.players).onDone(()=>l());l()})}processLeaveNode(l){const h=l[Dn];if(h&&h.setForRemoval){if(l[Dn]=nn,h.namespaceId){this.destroyInnerAnimations(l);const M=this._fetchNamespace(h.namespaceId);M&&M.clearElementCache(l)}this._onRemovalComplete(l,h.setForRemoval)}this.driver.matchesElement(l,On)&&this.markElementAsDisabled(l,!1),this.driver.query(l,On,!0).forEach(M=>{this.markElementAsDisabled(M,!1)})}flush(l=-1){let h=[];if(this.newHostElements.size&&(this.newHostElements.forEach((M,W)=>this._balanceNamespaceList(M,W)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let M=0;M<this.collectedEnterElements.length;M++)zn(this.collectedEnterElements[M],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const M=[];try{h=this._flushAnimations(M,l)}finally{for(let W=0;W<M.length;W++)M[W]()}}else for(let M=0;M<this.collectedLeaveElements.length;M++)this.processLeaveNode(this.collectedLeaveElements[M]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(M=>M()),this._flushFns=[],this._whenQuietFns.length){const M=this._whenQuietFns;this._whenQuietFns=[],h.length?re(h).onDone(()=>{M.forEach(W=>W())}):M.forEach(W=>W())}}reportError(l){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${l.join("\n")}`)}_flushAnimations(l,h){const M=new O,W=[],te=new Map,Ce=[],Me=new Map,Ge=new Map,ut=new Map,bt=new Set;this.disabledNodes.forEach(Dt=>{bt.add(Dt);const Vt=this.driver.query(Dt,".ng-animate-queued",!0);for(let Xt=0;Xt<Vt.length;Xt++)bt.add(Vt[Xt])});const Tt=this.bodyNode,qt=Array.from(this.statesByElement.keys()),sn=Gr(qt,this.collectedEnterElements),Ht=new Map;let Jt=0;sn.forEach((Dt,Vt)=>{const Xt=Ne+Jt++;Ht.set(Vt,Xt),Dt.forEach(Yt=>zn(Yt,Xt))});const rn=[],Mn=new Set,An=new Set;for(let Dt=0;Dt<this.collectedLeaveElements.length;Dt++){const Vt=this.collectedLeaveElements[Dt],Xt=Vt[Dn];Xt&&Xt.setForRemoval&&(rn.push(Vt),Mn.add(Vt),Xt.hasAnimation?this.driver.query(Vt,".ng-star-inserted",!0).forEach(Yt=>Mn.add(Yt)):An.add(Vt))}const Wn=new Map,$n=Gr(qt,Array.from(Mn));$n.forEach((Dt,Vt)=>{const Xt=_e+Jt++;Wn.set(Vt,Xt),Dt.forEach(Yt=>zn(Yt,Xt))}),l.push(()=>{sn.forEach((Dt,Vt)=>{const Xt=Ht.get(Vt);Dt.forEach(Yt=>Ci(Yt,Xt))}),$n.forEach((Dt,Vt)=>{const Xt=Wn.get(Vt);Dt.forEach(Yt=>Ci(Yt,Xt))}),rn.forEach(Dt=>{this.processLeaveNode(Dt)})});const vr=[],ei=[];for(let Dt=this._namespaceList.length-1;Dt>=0;Dt--)this._namespaceList[Dt].drainQueuedTransitions(h).forEach(Xt=>{const Yt=Xt.player,Bn=Xt.element;if(vr.push(Yt),this.collectedEnterElements.length){const Di=Bn[Dn];if(Di&&Di.setForMove)return void Yt.destroy()}const gi=!Tt||!this.driver.containsElement(Tt,Bn),ti=Wn.get(Bn),mi=Ht.get(Bn),pn=this._buildInstruction(Xt,M,mi,ti,gi);if(pn.errors&&pn.errors.length)ei.push(pn);else{if(gi)return Yt.onStart(()=>Ae(Bn,pn.fromStyles)),Yt.onDestroy(()=>rt(Bn,pn.toStyles)),void W.push(Yt);if(Xt.isFallbackTransition)return Yt.onStart(()=>Ae(Bn,pn.fromStyles)),Yt.onDestroy(()=>rt(Bn,pn.toStyles)),void W.push(Yt);
1pn.timelines.forEach(Di=>Di.stretchStartingKeyframe=!0),M.append(Bn,pn.timelines),Ce.push({instruction:pn,player:Yt,element:Bn}),pn.queriedElements.forEach(Di=>oe(Me,Di,[]).push(Yt)),pn.preStyleProps.forEach((Di,Cr)=>{const ls=Object.keys(Di);if(ls.length){let ni=Ge.get(Cr);ni||Ge.set(Cr,ni=new Set),ls.forEach(lr=>ni.add(lr))}}),pn.postStyleProps.forEach((Di,Cr)=>{const ls=Object.keys(Di);let ni=ut.get(Cr);ni||ut.set(Cr,ni=new Set),ls.forEach(lr=>ni.add(lr))})}});if(ei.length){const Dt=[];ei.forEach(Vt=>{Dt.push(`@${Vt.triggerName} has failed due to:\n`),Vt.errors.forEach(Xt=>Dt.push(`- ${Xt}\n`))}),vr.forEach(Vt=>Vt.destroy()),this.reportError(Dt)}const Zn=new Map,Ni=new Map;Ce.forEach(Dt=>{const Vt=Dt.element;M.has(Vt)&&(Ni.set(Vt,Vt),this._beforeAnimationBuild(Dt.player.namespaceId,Dt.instruction,Zn))}),W.forEach(Dt=>{const Vt=Dt.element;this._getPreviousPlayers(Vt,!1,Dt.namespaceId,Dt.triggerName,null).forEach(Yt=>{oe(Zn,Vt,[]).push(Yt),Yt.destroy()})});const ji=rn.filter(Dt=>gr(Dt,Ge,ut)),Ei=new Map;fr(Ei,this.driver,An,ut,u.l3).forEach(Dt=>{gr(Dt,Ge,ut)&&ji.push(Dt)});const qr=new Map;sn.forEach((Dt,Vt)=>{fr(qr,this.driver,new Set(Dt),Ge,u.k1)}),ji.forEach(Dt=>{const Vt=Ei.get(Dt),Xt=qr.get(Dt);Ei.set(Dt,Object.assign(Object.assign({},Vt),Xt))});const br=[],Qn=[],Gi={};Ce.forEach(Dt=>{const{element:Vt,player:Xt,instruction:Yt}=Dt;if(M.has(Vt)){if(bt.has(Vt))return Xt.onDestroy(()=>rt(Vt,Yt.toStyles)),Xt.disabled=!0,Xt.overrideTotalTime(Yt.totalTime),void W.push(Xt);let Bn=Gi;if(Ni.size>1){let ti=Vt;const mi=[];for(;ti=ti.parentNode;){const pn=Ni.get(ti);if(pn){Bn=pn;break}mi.push(ti)}mi.forEach(pn=>Ni.set(pn,Bn))}const gi=this._buildAnimation(Xt.namespaceId,Yt,Zn,te,qr,Ei);if(Xt.setRealPlayer(gi),Bn===Gi)br.push(Xt);else{const ti=this.playersByElement.get(Bn);ti&&ti.length&&(Xt.parentPlayer=re(ti)),W.push(Xt)}}else Ae(Vt,Yt.fromStyles),Xt.onDestroy(()=>rt(Vt,Yt.toStyles)),Qn.push(Xt),bt.has(Vt)&&W.push(Xt)}),Qn.forEach(Dt=>{const Vt=te.get(Dt.element);if(Vt&&Vt.length){const Xt=re(Vt);Dt.setRealPlayer(Xt)}}),W.forEach(Dt=>{Dt.parentPlayer?Dt.syncPlayerEvents(Dt.parentPlayer):Dt.destroy()});for(let Dt=0;Dt<rn.length;Dt++){const Vt=rn[Dt],Xt=Vt[Dn];if(Ci(Vt,_e),Xt&&Xt.hasAnimation)continue;let Yt=[];if(Me.size){let gi=Me.get(Vt);gi&&gi.length&&Yt.push(...gi);let ti=this.driver.query(Vt,we,!0);for(let mi=0;mi<ti.length;mi++){let pn=Me.get(ti[mi]);pn&&pn.length&&Yt.push(...pn)}}const Bn=Yt.filter(gi=>!gi.destroyed);Bn.length?Zr(this,Vt,Bn):this.processLeaveNode(Vt)}return rn.length=0,br.forEach(Dt=>{this.players.push(Dt),Dt.onDone(()=>{Dt.destroy();const Vt=this.players.indexOf(Dt);this.players.splice(Vt,1)}),Dt.play()}),br}elementContainsData(l,h){let M=!1;const W=h[Dn];return W&&W.setForRemoval&&(M=!0),this.playersByElement.has(h)&&(M=!0),this.playersByQueriedElement.has(h)&&(M=!0),this.statesByElement.has(h)&&(M=!0),this._fetchNamespace(l).elementContainsData(h)||M}afterFlush(l){this._flushFns.push(l)}afterFlushAnimationsDone(l){this._whenQuietFns.push(l)}_getPreviousPlayers(l,h,M,W,te){let Ce=[];if(h){const Me=this.playersByQueriedElement.get(l);Me&&(Ce=Me)}else{const Me=this.playersByElement.get(l);if(Me){const Ge=!te||te==Pn;Me.forEach(ut=>{ut.queued||!Ge&&ut.triggerName!=W||Ce.push(ut)})}}return(M||W)&&(Ce=Ce.filter(Me=>!(M&&M!=Me.namespaceId||W&&W!=Me.triggerName))),Ce}_beforeAnimationBuild(l,h,M){const te=h.element,Ce=h.isRemovalTransition?void 0:l,Me=h.isRemovalTransition?void 0:h.triggerName;for(const Ge of h.timelines){const ut=Ge.element,bt=ut!==te,Tt=oe(M,ut,[]);this._getPreviousPlayers(ut,bt,Ce,Me,h.toState).forEach(sn=>{const Ht=sn.getRealPlayer();Ht.beforeDestroy&&Ht.beforeDestroy(),sn.destroy(),Tt.push(sn)})}Ae(te,h.fromStyles)}_buildAnimation(l,h,M,W,te,Ce){const Me=h.triggerName,Ge=h.element,ut=[],bt=new Set,Tt=new Set,qt=h.timelines.map(Ht=>{const Jt=Ht.element;bt.add(Jt);const rn=Jt[Dn];if(rn&&rn.removedBeforeQueried)return new u.ZN(Ht.duration,Ht.delay);const Mn=Jt!==Ge,An=function Sr(V){const l=[];return pr(V,l),l}((M.get(Jt)||wn).map(Zn=>Zn.getRealPlayer())).filter(Zn=>!!Zn.element&&Zn.element===Jt),Wn=te.get(Jt),$n=Ce.get(Jt),vr=pe(0,this._normalizer,0,Ht.keyframes,Wn,$n),ei=this._buildPlayer(Ht,vr,An);if(Ht.subTimeline&&W&&Tt.add(Jt),Mn){const Zn=new Rn(l,Me,Jt);Zn.setRealPlayer(ei),ut.push(Zn)}return ei});ut.forEach(Ht=>{oe(this.playersByQueriedElement,Ht.element,[]).push(Ht),Ht.onDone(()=>function Li(V,l,h){let M;if(V instanceof Map){if(M=V.get(l),M){if(M.length){const W=M.indexOf(h);M.splice(W,1)}0==M.length&&V.delete(l)}}else if(M=V[l],M){if(M.length){const W=M.indexOf(h);M.splice(W,1)}0==M.length&&delete V[l]}return M}(this.playersByQueriedElement,Ht.element,Ht))}),bt.forEach(Ht=>zn(Ht,_t));const sn=re(qt);return sn.onDestroy(()=>{bt.forEach(Ht=>Ci(Ht,_t)),rt(Ge,h.toStyles)}),Tt.forEach(Ht=>{oe(W,Ht,[]).push(sn)}),sn}_buildPlayer(l,h,M){return h.length>0?this.driver.animate(l.element,h,l.duration,l.delay,l.easing,M):new u.ZN(l.duration,l.delay)}}class Rn{constructor(l,h,M){this.namespaceId=l,this.triggerName=h,this.element=M,this._player=new u.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(l){this._containsRealPlayer||(this._player=l,Object.keys(this._queuedCallbacks).forEac
1h(h=>{this._queuedCallbacks[h].forEach(M=>ee(l,h,void 0,M))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(l.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(l){this.totalTime=l}syncPlayerEvents(l){const h=this._player;h.triggerCallback&&l.onStart(()=>h.triggerCallback("start")),l.onDone(()=>this.finish()),l.onDestroy(()=>this.destroy())}_queueEvent(l,h){oe(this._queuedCallbacks,l,[]).push(h)}onDone(l){this.queued&&this._queueEvent("done",l),this._player.onDone(l)}onStart(l){this.queued&&this._queueEvent("start",l),this._player.onStart(l)}onDestroy(l){this.queued&&this._queueEvent("destroy",l),this._player.onDestroy(l)}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(l){this.queued||this._player.setPosition(l)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(l){const h=this._player;h.triggerCallback&&h.triggerCallback(l)}}function Tn(V){return V&&1===V.nodeType}function Kr(V,l){const h=V.style.display;return V.style.display=null!=l?l:"none",h}function fr(V,l,h,M,W){const te=[];h.forEach(Ge=>te.push(Kr(Ge)));const Ce=[];M.forEach((Ge,ut)=>{const bt={};Ge.forEach(Tt=>{const qt=bt[Tt]=l.computeStyle(ut,Tt,W);(!qt||0==qt.length)&&(ut[Dn]=Ui,Ce.push(ut))}),V.set(ut,bt)});let Me=0;return h.forEach(Ge=>Kr(Ge,te[Me++])),Ce}function Gr(V,l){const h=new Map;if(V.forEach(Me=>h.set(Me,[])),0==l.length)return h;const W=new Set(l),te=new Map;function Ce(Me){if(!Me)return 1;let Ge=te.get(Me);if(Ge)return Ge;const ut=Me.parentNode;return Ge=h.has(ut)?ut:W.has(ut)?1:Ce(ut),te.set(Me,Ge),Ge}return l.forEach(Me=>{const Ge=Ce(Me);1!==Ge&&h.get(Ge).push(Me)}),h}const ki="$$classes";function zn(V,l){if(V.classList)V.classList.add(l);else{let h=V[ki];h||(h=V[ki]={}),h[l]=!0}}function Ci(V,l){if(V.classList)V.classList.remove(l);else{let h=V[ki];h&&delete h[l]}}function Zr(V,l,h){re(h).onDone(()=>V.processLeaveNode(l))}function pr(V,l){for(let h=0;h<V.length;h++){const M=V[h];M instanceof u.ZE?pr(M.players,l):l.push(M)}}function gr(V,l,h){const M=h.get(V);if(!M)return!1;let W=l.get(V);return W?M.forEach(te=>W.add(te)):l.set(V,M),h.delete(V),!0}class mr{constructor(l,h,M){this.bodyNode=l,this._driver=h,this._normalizer=M,this._triggerCache={},this.onRemovalComplete=(W,te)=>{},this._transitionEngine=new Xn(l,h,M),this._timelineEngine=new Nn(l,h,M),this._transitionEngine.onRemovalComplete=(W,te)=>this.onRemovalComplete(W,te)}registerTrigger(l,h,M,W,te){const Ce=l+"-"+W;let Me=this._triggerCache[Ce];if(!Me){const Ge=[],ut=Ot(this._driver,te,Ge);if(Ge.length)throw new Error(`The animation trigger "${W}" has failed to build due to the following errors:\n - ${Ge.join("\n - ")}`);Me=function In(V,l,h){return new un(V,l,h)}(W,ut,this._normalizer),this._triggerCache[Ce]=Me}this._transitionEngine.registerTrigger(h,W,Me)}register(l,h){this._transitionEngine.register(l,h)}destroy(l,h){this._transitionEngine.destroy(l,h)}onInsert(l,h,M,W){this._transitionEngine.insertNode(l,h,M,W)}onRemove(l,h,M,W){this._transitionEngine.removeNode(l,h,W||!1,M)}disableAnimations(l,h){this._transitionEngine.markElementAsDisabled(l,h)}process(l,h,M,W){if("@"==M.charAt(0)){const[te,Ce]=C(M);this._timelineEngine.command(te,h,Ce,W)}else this._transitionEngine.trigger(l,h,M,W)}listen(l,h,M,W,te){if("@"==M.charAt(0)){const[Ce,Me]=C(M);return this._timelineEngine.listen(Ce,h,Me,te)}return this._transitionEngine.listen(l,h,M,W,te)}flush(l=-1){this._transitionEngine.flush(l)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function ir(V,l){let h=null,M=null;return Array.isArray(l)&&l.length?(h=fi(l[0]),l.length>1&&(M=fi(l[l.length-1]))):l&&(h=fi(l)),h||M?new ci(V,h,M):null}let ci=(()=>{class V{constructor(h,M,W){this._element=h,this._startStyles=M,this._endStyles=W,this._state=0;let te=V.initialStylesByElement.get(h);te||V.initialStylesByElement.set(h,te={}),this._initialStyles=te}start(){this._state<1&&(this._startStyles&&rt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(rt(this._element,this._initialStyles),this._endStyles&&(rt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(V.initialStylesByElement.delete(this._element),this._startStyles&&(Ae(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ae(this._element,this._endStyles),this._endStyles=null),rt(this._element,this._initialStyles),this._state=3)}}return V.initialStylesByElement=new WeakMap,V})();function fi(V){let l=null;const h=Object.keys(V);for(let M=0;M<h.length;M++){const W=h[M];Ai(W)&&(l=l||{},l[W]=V[W])}return l}function Ai(V){return"display"===V||"position"===V}const Qr="animation",Jn="animationend";class pi{constructor(l,h,M,W,te,Ce,Me){this._element=l,this._name=h,this._duration=M,this._delay=W,this._easing=te,this._fillMode=Ce,this._onDoneFn=Me,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=Ge=>this._handleCallback(Ge)}apply(){(function Rr(V,l){const h=zi(V,"").trim();let M=0;h.length&&(M=function Gn(V,l){let h=0;for(let M=0;M<V.length;M++)V.charAt(M)===l&&h++;return h}(h,",")+1,l=`${h}, ${l}`),Si(V,"",l)})(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),or(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){ui(this._element,this._name,"paused")}resume(){ui(this._element,this._name,"running")}setPosition(l){const h=Ti(this._element,this._name);this._position=l*this._duration,Si(this._element,"Delay",`-${this._position}ms`,h)}getPosition(){return this._position}_handleCallback(l){const h=l._ngTestManualTimestamp||Date.now(),M=1e3*parseFloat(l.elapsedTime.toFixed(3));l.animationName==this._name&&Math.max(h-this._startTime,0)>=this._delay&&M>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),or(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function Hi(V,l){const M=zi(V,"").split(","),W=sr(M,l);W>=0&&(M.splice(W,1),Si(V,"",M.join(",")))}(this._element,this._name))}}function ui(V,l,h){Si(V,"PlayState",h,Ti(V,l))}function Ti(V,l){const h=zi(V,"");return h.indexOf(",")>0?sr(h.split(","),l):sr([h],l)}function sr(V,l){for(let h=0;h<V.length;h++)if(V[h].indexOf(l)>=0)return h;return-1}function or(V,l,h){h?V.removeEventListener(Jn,l):V.addEventListener(Jn,l)}function Si(V,l,h,M){const W=Qr+l;if(null!=M){const te=V.style[W];if(te.length){const Ce=te.split(",");Ce[M]=h,h=Ce.join(",")}}V.style[W]=h}function zi(V,l){return V.style[Qr+l]||""}class _r{constructor(l,h,M,W,te,Ce,Me,Ge){this.element=l,this.keyframes=h,this.animationName=M,this._duration=W,this._delay=te,this._finalStyles=Me,this._specialStyles=Ge,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=Ce||"linear",this.totalTime=W+te,this._buildStyler()}onStart(l){this._onStartFns.push(l)}onDone(l){this._onDoneFns.push(l)}onDestroy(l){this._onDestroyFns.push(l)}destroy(){this.init(),!(this._state>=4)&&(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(l=>l()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(l=>l()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(l=>l()),this._onStartFns=[]}finish(){this.init(),!(this._state>
1=3)&&(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(l){this._styler.setPosition(l)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,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._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new pi(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(l){const h="start"==l?this._onStartFns:this._onDoneFns;h.forEach(M=>M()),h.length=0}beforeDestroy(){this.init();const l={};if(this.hasStarted()){const h=this._state>=3;Object.keys(this._finalStyles).forEach(M=>{"offset"!=M&&(l[M]=h?this._finalStyles[M]:he(this.element,M))})}this.currentSnapshot=l}}class Yr extends u.ZN{constructor(l,h){super(),this.element=l,this._startingStyles={},this.__initialized=!1,this._styles=He(h)}init(){this.__initialized||!this._startingStyles||(this.__initialized=!0,Object.keys(this._styles).forEach(l=>{this._startingStyles[l]=this.element.style[l]}),super.init())}play(){!this._startingStyles||(this.init(),Object.keys(this._styles).forEach(l=>this.element.style.setProperty(l,this._styles[l])),super.play())}destroy(){!this._startingStyles||(Object.keys(this._startingStyles).forEach(l=>{const h=this._startingStyles[l];h?this.element.style.setProperty(l,h):this.element.style.removeProperty(l)}),this._startingStyles=null,super.destroy())}}class mn{constructor(){this._count=0}validateStyleProperty(l){return ot(l)}matchesElement(l,h){return ae(l,h)}containsElement(l,h){return de(l,h)}query(l,h,M){return Oe(l,h,M)}computeStyle(l,h,M){return window.getComputedStyle(l)[h]}buildKeyframeElement(l,h,M){M=M.map(Me=>He(Me));let W=`@keyframes ${h} {\n`,te="";M.forEach(Me=>{te=" ";const Ge=parseFloat(Me.offset);W+=`${te}${100*Ge}% {\n`,te+=" ",Object.keys(Me).forEach(ut=>{const bt=Me[ut];switch(ut){case"offset":return;case"easing":return void(bt&&(W+=`${te}animation-timing-function: ${bt};\n`));default:return void(W+=`${te}${ut}: ${bt};\n`)}}),W+=`${te}}\n`}),W+="}\n";const Ce=document.createElement("style");return Ce.textContent=W,Ce}animate(l,h,M,W,te,Ce=[],Me){const Ge=Ce.filter(rn=>rn instanceof _r),ut={};b(M,W)&&Ge.forEach(rn=>{let Mn=rn.currentSnapshot;Object.keys(Mn).forEach(An=>ut[An]=Mn[An])});const bt=function Jr(V){let l={};return V&&(Array.isArray(V)?V:[V]).forEach(M=>{Object.keys(M).forEach(W=>{"offset"==W||"easing"==W||(l[W]=M[W])})}),l}(h=x(l,h,ut));if(0==M)return new Yr(l,bt);const Tt="gen_css_kf_"+this._count++,qt=this.buildKeyframeElement(l,Tt,h);(function Xr(V){var l;const h=null===(l=V.getRootNode)||void 0===l?void 0:l.call(V);return"undefined"!=typeof ShadowRoot&&h instanceof ShadowRoot?h:document.head})(l).appendChild(qt);const Ht=ir(l,h),Jt=new _r(l,h,Tt,M,W,te,bt,Ht);return Jt.onDestroy(()=>function T(V){V.parentNode.removeChild(V)}(qt)),Jt}}class c{constructor(l,h,M,W){this.element=l,this.keyframes=h,this.options=M,this._specialStyles=W,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=M.duration,this._delay=M.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(l=>l()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const l=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,l,this.options),this._finalKeyframe=l.length?l[l.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(l,h,M){return l.animate(h,M)}onStart(l){this._onStartFns.push(l)}onDone(l){this._onDoneFns.push(l)}onDestroy(l){this._onDestroyFns.push(l)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(l=>l()),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(l=>l()),this._onDestroyFns=[])}setPosition(l){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=l*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const l={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(h=>{"offset"!=h&&(l[h]=this._finished?this._finalKeyframe[h]:he(this.element,h))}),this.currentSnapshot=l}triggerCallback(l){const h="start"==l?this._onStartFns:this._onDoneFns;h.forEach(M=>M()),h.length=0}}class w{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(et().toString()),this._cssKeyframesDriver=new mn}validateStyleProperty(l){return ot(l)}matchesElement(l,h){return ae(l,h)}containsElement(l,h){return de(l,h)}query(l,h,M){return Oe(l,h,M)}computeStyle(l,h,M){return window.getComputedStyle(l)[h]}overrideWebAnimationsSupport(l){this._isNativeImpl=l}animate(l,h,M,W,te,Ce=[],Me){if(!Me&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(l,h,M,W,te,Ce);const bt={duration:M,delay:W,fill:0==W?"both":"forwards"};te&&(bt.easing=te);const Tt={},qt=Ce.filter(Ht=>Ht instanceof c);b(M,W)&&qt.forEach(Ht=>{let Jt=Ht.currentSnapshot;Object.keys(Jt).forEach(rn=>Tt[rn]=Jt[rn])});const sn=ir(l,h=x(l,h=h.map(Ht=>ge(Ht,!1)),Tt));return new c(l,h,bt,sn)}}function et(){return X()&&Element.prototype.animate||{}}var Et=g(9808);let Ut=(()=>{class V extends u._j{constructor(h,M){super(),this._nextAnimationId=0,this._renderer=h.createRenderer(M.body,{id:"0",encapsulation:a.ViewEncapsulation.None,styles:[],data:{animation:[]}})}build(h){const M=this._nextAnimationId.toString();this._nextAnimationId++;const W=Array.isArray(h)?(0,u.vP)(h):h;return on(this._renderer,null,M,"register",[W]),new dn(M,this._renderer)}}return V.\u0275fac=function(h){return new(h||V)(a.\u0275\u0275inject(a.RendererFactory2),a.\u0275\u0275inject(Et.K0))},V.\u0275prov=a.\u0275\u0275defineInjectable({token:V,factory:V.\u0275fac}),V})();class dn extends u.LC{constructor(l,h){super(),this._id=l,this._renderer=h}create(l,h){return new hn(this._id,l,h||{},this._renderer)}}class hn{constructor(l,h,M,W){this.id=l,this.element=h,this._renderer=W,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",M)}_listen(l,h){return this._renderer.listen(this.element,`@@${this.id}:${l}`,h)}_command(l,...h){return on(this._renderer,this.element,this.id,l,h)}onDone(l){this._listen("done",l)}onStart(l){this._listen("start",l)}onDestroy(l){this._listen("destroy",l)}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"),this._started=!1}setPosition(l){this._command("setPosition",l)}getPosition(){var l,h;return null!==(h=null===(l=this._renderer.engine.players[+this.id])||void 0===l?void 0:l.getPosition())&&void 0!==h?h:0}}function on(V,l,h,M,W){return V.setProperty(l,`@@${h}:${M}`,W)}const gn="@.disabled";let Ln=(()=>{class V{constructor(h,M,W){this.delegate=h,this.engine=M,this._zone=W,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),M.onRemovalComplete=(te,Ce)=>{const Me=null==Ce?void 0:Ce.parentNode(te);Me&&Ce.removeChild(Me,te)}}createRenderer(h,M){const te=this.delegate.createRenderer(h,M);if(!(h&&M&&M.data&&M.data.animation)){let bt=this._rendererCache.get(te);return bt||(bt=new Bt("",te,this.engine),this._rendererCache.set(te,bt)),bt}const Ce=M.id,Me=M.id+"-"+this._currentId;this._currentId++,this.engine.register(Me,h);const Ge=bt=>{Array.isArray(bt)?bt.forEach(Ge):this.engine.registerTrigger(Ce,Me,h,bt.name,bt)};return M.data.animation.forEach(Ge),new Ri(this,Me,te,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(h,M,W){h>=0&&h<this._microtaskId?this._zone.run(()=>M(W)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(te=>{const[Ce,Me]=te;Ce(Me)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([M,W]))}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()}}return V.\u0275fac=function(h){return new(h||V)(a.\u0275\u0275inject(a.RendererFactory2),a.\u0275\u0275inject(mr),a.\u0275\u0275inject(a.NgZone))},V.\u0275prov=a.\u0275\u0275defineInjectable({token:V,factory:V.\u0275fac}),V})();class Bt{constructor(l,h,M){this.namespaceId=l,this.delegate=h,this.engine=M,this.destroyNode=this.delegate.destroyNode?W=>h.destroyNode(W):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(l,h){return this.delegate.createElement(l,h)}createComment(l){return this.delegate.createComment(l)}createText(l){return this.delegate.createText(l)}appendChild(l,h){this.delegate.appendChild(l,h),this.engine.onInsert(this.namespaceId,h,l,!1)}insertBefore(l,h,M,W=!0){this.delegate.insertBefore(l,h,M),this.engine.onInsert(this.namespaceId,h,l,W)}removeChild(l,h,M){this.engine.onRemove(this.namespaceId,h,this.delegate,M)}selectRootElement(l,h){return this.delegate.selectRootElement(l,h)}parentNode(l){return this.delegate.parentNode(l)}nextSibling(l){return this.delegate.nextSibling(l)}setAttribute(l,h,M,W){this.delegate.setAttribute(l,h,M,W)}removeAttribute(l,h,M){this.delegate.removeAttribute(l,h,M)}addClass(l,h){this.delegate.addClass(l,h)}removeClass(l,h){this.delegate.removeClass(l,h)}setStyle(l,h,M,W){this.delegate.setStyle(l,h,M,W)}removeStyle(l,h,M){this.delegate.removeStyle(l,h,M)}setProperty(l,h,M){"@"==h.charAt(0)&&h==gn?this.disableAnimations(l,!!M):this.delegate.setProperty(l,h,M)}setValue(l,h){this.delegate.setValue(l,h)}listen(l,h,M){return this.delegate.listen(l,h,M)}disableAnimations(l,h){this.engine.disableAnimations(l,h)}}class Ri extends Bt{constructor(l,h,M,W){super(h,M,W),this.factory=l,this.namespaceId=h}setProperty(l,h,M){"@"==h.charAt(0)?"."==h.charAt(1)&&h==gn?this.disableAnimations(l,M=void 0===M||!!M):this.engine.process(this.namespaceId,l,h.substr(1),M):this.delegate.setProperty(l,h,M)}listen(l,h,M){if("@"==h.charAt(0)){const W=function xr(V){switch(V){case"body":return document.body;case"document":return document;case"window":return window;default:return V}}(l);let te=h.substr(1),Ce="";return"@"!=te.charAt(0)&&([te,Ce]=function ar(V){const l=V.indexOf(".");return[V.substring(0,l),V.substr(l+1)]}
1(te)),this.engine.listen(this.namespaceId,W,te,Ce,Me=>{this.factory.scheduleListenerCallback(Me._data||-1,M,Me)})}return this.delegate.listen(l,h,M)}}let yr=(()=>{class V extends mr{constructor(h,M,W){super(h.body,M,W)}ngOnDestroy(){this.flush()}}return V.\u0275fac=function(h){return new(h||V)(a.\u0275\u0275inject(Et.K0),a.\u0275\u0275inject(Ie),a.\u0275\u0275inject(Sn))},V.\u0275prov=a.\u0275\u0275defineInjectable({token:V,factory:V.\u0275fac}),V})();const gt=new a.InjectionToken("AnimationModuleType"),tn=[{provide:u._j,useClass:Ut},{provide:Sn,useFactory:function Ki(){return new er}},{provide:mr,useClass:yr},{provide:a.RendererFactory2,useFactory:function Is(V,l,h){return new Ln(V,l,h)},deps:[f.se,mr,a.NgZone]}],ms=[{provide:Ie,useFactory:function Fr(){return function ye(){return"function"==typeof et()}()?new w:new mn}},{provide:gt,useValue:"BrowserAnimations"},...tn],kn=[{provide:Ie,useClass:Je},{provide:gt,useValue:"NoopAnimations"},...tn];let Os=(()=>{class V{static withConfig(h){return{ngModule:V,providers:h.disableAnimations?kn:ms}}}return V.\u0275fac=function(h){return new(h||V)},V.\u0275mod=a.\u0275\u0275defineNgModule({type:V}),V.\u0275inj=a.\u0275\u0275defineInjector({providers:ms,imports:[f.b2]}),V})()},2313:(ft,Te,g)=>{g.d(Te,{Cu:()=>Rt,Dx:()=>ie,H7:()=>y,b2:()=>dt,h_:()=>Pt,q6:()=>Ae,se:()=>Ne});var a=g(9808),f=g(5e3);class u extends a.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class X extends u{static makeCurrent(){(0,a.HT)(new X)}onAndCancel(G,H,Ee){return G.addEventListener(H,Ee,!1),()=>{G.removeEventListener(H,Ee,!1)}}dispatchEvent(G,H){G.dispatchEvent(H)}remove(G){G.parentNode&&G.parentNode.removeChild(G)}createElement(G,H){return(H=H||this.getDefaultDocument()).createElement(G)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(G){return G.nodeType===Node.ELEMENT_NODE}isShadowRoot(G){return G instanceof DocumentFragment}getGlobalEventTarget(G,H){return"window"===H?window:"document"===H?G:"body"===H?G.body:null}getBaseHref(G){const H=function re(){return I=I||document.querySelector("base"),I?I.getAttribute("href"):null}();return null==H?null:function ee(k){pe=pe||document.createElement("a"),pe.setAttribute("href",k);const G=pe.pathname;return"/"===G.charAt(0)?G:`/${G}`}(H)}resetBaseElement(){I=null}getUserAgent(){return window.navigator.userAgent}getCookie(G){return(0,a.Mx)(document.cookie,G)}}let pe,I=null;const ce=new f.InjectionToken("TRANSITION_ID"),oe=[{provide:f.APP_INITIALIZER,useFactory:function Z(k,G,H){return()=>{H.get(f.ApplicationInitStatus).donePromise.then(()=>{const Ee=(0,a.q)(),tt=G.querySelectorAll(`style[ng-transition="${k}"]`);for(let mt=0;mt<tt.length;mt++)Ee.remove(tt[mt])})}},deps:[ce,a.K0,f.Injector],multi:!0}];class C{static init(){(0,f.setTestabilityGetter)(new C)}addToWindow(G){f.\u0275global.getAngularTestability=(Ee,tt=!0)=>{const mt=G.findTestabilityInTree(Ee,tt);if(null==mt)throw new Error("Could not find testability for element.");return mt},f.\u0275global.getAllAngularTestabilities=()=>G.getAllTestabilities(),f.\u0275global.getAllAngularRootElements=()=>G.getAllRootElements(),f.\u0275global.frameworkStabilizers||(f.\u0275global.frameworkStabilizers=[]),f.\u0275global.frameworkStabilizers.push(Ee=>{const tt=f.\u0275global.getAllAngularTestabilities();let mt=tt.length,Nt=!1;const Zt=function(En){Nt=Nt||En,mt--,0==mt&&Ee(Nt)};tt.forEach(function(En){En.whenStable(Zt)})})}findTestabilityInTree(G,H,Ee){if(null==H)return null;const tt=G.getTestability(H);return null!=tt?tt:Ee?(0,a.q)().isShadowRoot(H)?this.findTestabilityInTree(G,H.host,!0):this.findTestabilityInTree(G,H.parentElement,!0):null}}let Y=(()=>{class k{build(){return new XMLHttpRequest}}return k.\u0275fac=function(H){return new(H||k)},k.\u0275prov=f.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac}),k})();const K=new f.InjectionToken("EventManagerPlugins");let se=(()=>{class k{constructor(H,Ee){this._zone=Ee,this._eventNameToPlugin=new Map,H.forEach(tt=>tt.manager=this),this._plugins=H.slice().reverse()}addEventListener(H,Ee,tt){return this._findPluginFor(Ee).addEventListener(H,Ee,tt)}addGlobalEventListener(H,Ee,tt){return this._findPluginFor(Ee).addGlobalEventListener(H,Ee,tt)}getZone(){return this._zone}_findPluginFor(H){const Ee=this._eventNameToPlugin.get(H);if(Ee)return Ee;const tt=this._plugins;for(let mt=0;mt<tt.length;mt++){const Nt=tt[mt];if(Nt.supports(H))return this._eventNameToPlugin.set(H,Nt),Nt}throw new Error(`No event manager plugin found for event ${H}`)}}return k.\u0275fac=function(H){return new(H||k)(f.\u0275\u0275inject(K),f.\u0275\u0275inject(f.NgZone))},k.\u0275prov=f.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac}),k})();class xe{constructor(G){this._doc=G}addGlobalEventListener(G,H,Ee){const tt=(0,a.q)().getGlobalEventTarget(this._doc,G);if(!tt)throw new Error(`Unsupported event target ${tt} for event ${H}`);return this.addEventListener(tt,H,Ee)}}let Ve=(()=>{class k{constructor(){this._stylesSet=new Set}addStyles(H){const Ee=new Set;H.forEach(tt=>{this._stylesSet.has(tt)||(this._stylesSet.add(tt),Ee.add(tt))}),this.onStylesAdded(Ee)}onStylesAdded(H){}getAllStyles(){return Array.from(this._stylesSet)}}return k.\u0275fac=function(H){return new(H||k)},k.\u0275prov=f.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac}),k})(),ke=(()=>{class k extends Ve{constructor(H){super(),this._doc=H,this._hostNodes=new Map,this._hostNodes.set(H.head,[])}_addStylesToHost(H,Ee,tt){H.forEach(mt=>{const Nt=this._doc.createElement("style");Nt.textContent=mt,tt.push(Ee.appendChild(Nt))})}addHost(H){const Ee=[];this._addStylesToHost(this._stylesSet,H,Ee),this._hostNodes.set(H,Ee)}removeHost(H){const Ee=this._hostNodes.get(H);Ee&&Ee.forEach($e),this._hostNodes.delete(H)}
1onStylesAdded(H){this._hostNodes.forEach((Ee,tt)=>{this._addStylesToHost(H,tt,Ee)})}ngOnDestroy(){this._hostNodes.forEach(H=>H.forEach($e))}}return k.\u0275fac=function(H){return new(H||k)(f.\u0275\u0275inject(a.K0))},k.\u0275prov=f.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac}),k})();function $e(k){(0,a.q)().remove(k)}const ot={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/"},be=/%COMP%/g;function Fe(k,G,H){for(let Ee=0;Ee<G.length;Ee++){let tt=G[Ee];Array.isArray(tt)?Fe(k,tt,H):(tt=tt.replace(be,k),H.push(tt))}return H}function Ue(k){return G=>{if("__ngUnwrap__"===G)return k;!1===k(G)&&(G.preventDefault(),G.returnValue=!1)}}let Ne=(()=>{class k{constructor(H,Ee,tt){this.eventManager=H,this.sharedStylesHost=Ee,this.appId=tt,this.rendererByCompId=new Map,this.defaultRenderer=new _e(H)}createRenderer(H,Ee){if(!H||!Ee)return this.defaultRenderer;switch(Ee.encapsulation){case f.ViewEncapsulation.Emulated:{let tt=this.rendererByCompId.get(Ee.id);return tt||(tt=new yt(this.eventManager,this.sharedStylesHost,Ee,this.appId),this.rendererByCompId.set(Ee.id,tt)),tt.applyToHost(H),tt}case 1:case f.ViewEncapsulation.ShadowDom:return new st(this.eventManager,this.sharedStylesHost,H,Ee);default:if(!this.rendererByCompId.has(Ee.id)){const tt=Fe(Ee.id,Ee.styles,[]);this.sharedStylesHost.addStyles(tt),this.rendererByCompId.set(Ee.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return k.\u0275fac=function(H){return new(H||k)(f.\u0275\u0275inject(se),f.\u0275\u0275inject(ke),f.\u0275\u0275inject(f.APP_ID))},k.\u0275prov=f.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac}),k})();class _e{constructor(G){this.eventManager=G,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(G,H){return H?document.createElementNS(ot[H]||H,G):document.createElement(G)}createComment(G){return document.createComment(G)}createText(G){return document.createTextNode(G)}appendChild(G,H){G.appendChild(H)}insertBefore(G,H,Ee){G&&G.insertBefore(H,Ee)}removeChild(G,H){G&&G.removeChild(H)}selectRootElement(G,H){let Ee="string"==typeof G?document.querySelector(G):G;if(!Ee)throw new Error(`The selector "${G}" did not match any elements`);return H||(Ee.textContent=""),Ee}parentNode(G){return G.parentNode}nextSibling(G){return G.nextSibling}setAttribute(G,H,Ee,tt){if(tt){H=tt+":"+H;const mt=ot[tt];mt?G.setAttributeNS(mt,H,Ee):G.setAttribute(H,Ee)}else G.setAttribute(H,Ee)}removeAttribute(G,H,Ee){if(Ee){const tt=ot[Ee];tt?G.removeAttributeNS(tt,H):G.removeAttribute(`${Ee}:${H}`)}else G.removeAttribute(H)}addClass(G,H){G.classList.add(H)}removeClass(G,H){G.classList.remove(H)}setStyle(G,H,Ee,tt){tt&(f.RendererStyleFlags2.DashCase|f.RendererStyleFlags2.Important)?G.style.setProperty(H,Ee,tt&f.RendererStyleFlags2.Important?"important":""):G.style[H]=Ee}removeStyle(G,H,Ee){Ee&f.RendererStyleFlags2.DashCase?G.style.removeProperty(H):G.style[H]=""}setProperty(G,H,Ee){G[H]=Ee}setValue(G,H){G.nodeValue=H}listen(G,H,Ee){return"string"==typeof G?this.eventManager.addGlobalEventListener(G,H,Ue(Ee)):this.eventManager.addEventListener(G,H,Ue(Ee))}}class yt extends _e{constructor(G,H,Ee,tt){super(G),this.component=Ee;const mt=Fe(tt+"-"+Ee.id,Ee.styles,[]);H.addStyles(mt),this.contentAttr=function Je(k){return"_ngcontent-%COMP%".replace(be,k)}(tt+"-"+Ee.id),this.hostAttr=function Ie(k){return"_nghost-%COMP%".replace(be,k)}(tt+"-"+Ee.id)}applyToHost(G){super.setAttribute(G,this.hostAttr,"")}createElement(G,H){const Ee=super.createElement(G,H);return super.setAttribute(Ee,this.contentAttr,""),Ee}}class st extends _e{constructor(G,H,Ee,tt){super(G),this.sharedStylesHost=H,this.hostEl=Ee,this.shadowRoot=Ee.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const mt=Fe(tt.id,tt.styles,[]);for(let Nt=0;Nt<mt.length;Nt++){const Zt=document.createElement("style");Zt.textContent=mt[Nt],this.shadowRoot.appendChild(Zt)}}nodeOrShadowRoot(G){return G===this.hostEl?this.shadowRoot:G}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(G,H){return super.appendChild(this.nodeOrShadowRoot(G),H)}insertBefore(G,H,Ee){return super.insertBefore(this.nodeOrShadowRoot(G),H,Ee)}removeChild(G,H){return super.removeChild(this.nodeOrShadowRoot(G),H)}parentNode(G){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(G)))}}let _t=(()=>{class k extends xe{constructor(H){super(H)}supports(H){return!0}addEventListener(H,Ee,tt){return H.addEventListener(Ee,tt,!1),()=>this.removeEventListener(H,Ee,tt)}removeEventListener(H,Ee,tt){return H.removeEventListener(Ee,tt)}}return k.\u0275fac=function(H){return new(H||k)(f.\u0275\u0275inject(a.K0))},k.\u0275prov=f.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac}),k})();const we=["alt","control","meta","shift"],We={"\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"},ue={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"},Be={alt:k=>k.altKey,control:k=>k.ctrlKey,meta:k=>k.metaKey,shift:k=>k.shiftKey};let R=(()=>{class k extends xe{constructor(H){super(H)}supports(H){return null!=k.parseEventName(H)}addEventListener(H,Ee,tt){const mt=k.parseEventName(Ee),Nt=k.eventCallback(mt.fullKey,tt,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,a.q)().onAndCancel(H,mt.domEventName,Nt))}static parseEventName(H){const Ee=H.toLowerCase().split("."),tt=Ee.shift();
1if(0===Ee.length||"keydown"!==tt&&"keyup"!==tt)return null;const mt=k._normalizeKey(Ee.pop());let Nt="";if(we.forEach(En=>{const oi=Ee.indexOf(En);oi>-1&&(Ee.splice(oi,1),Nt+=En+".")}),Nt+=mt,0!=Ee.length||0===mt.length)return null;const Zt={};return Zt.domEventName=tt,Zt.fullKey=Nt,Zt}static getEventFullKey(H){let Ee="",tt=function le(k){let G=k.key;if(null==G){if(G=k.keyIdentifier,null==G)return"Unidentified";G.startsWith("U+")&&(G=String.fromCharCode(parseInt(G.substring(2),16)),3===k.location&&ue.hasOwnProperty(G)&&(G=ue[G]))}return We[G]||G}(H);return tt=tt.toLowerCase()," "===tt?tt="space":"."===tt&&(tt="dot"),we.forEach(mt=>{mt!=tt&&Be[mt](H)&&(Ee+=mt+".")}),Ee+=tt,Ee}static eventCallback(H,Ee,tt){return mt=>{k.getEventFullKey(mt)===H&&tt.runGuarded(()=>Ee(mt))}}static _normalizeKey(H){return"esc"===H?"escape":H}}return k.\u0275fac=function(H){return new(H||k)(f.\u0275\u0275inject(a.K0))},k.\u0275prov=f.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac}),k})();const Ae=(0,f.createPlatformFactory)(f.platformCore,"browser",[{provide:f.PLATFORM_ID,useValue:a.bD},{provide:f.PLATFORM_INITIALIZER,useValue:function ge(){X.makeCurrent(),C.init()},multi:!0},{provide:a.K0,useFactory:function ze(){return(0,f.\u0275setDocument)(document),document},deps:[]}]),it=[{provide:f.\u0275INJECTOR_SCOPE,useValue:"root"},{provide:f.ErrorHandler,useFactory:function Qe(){return new f.ErrorHandler},deps:[]},{provide:K,useClass:_t,multi:!0,deps:[a.K0,f.NgZone,f.PLATFORM_ID]},{provide:K,useClass:R,multi:!0,deps:[a.K0]},{provide:Ne,useClass:Ne,deps:[se,ke,f.APP_ID]},{provide:f.RendererFactory2,useExisting:Ne},{provide:Ve,useExisting:ke},{provide:ke,useClass:ke,deps:[a.K0]},{provide:f.Testability,useClass:f.Testability,deps:[f.NgZone]},{provide:se,useClass:se,deps:[K,f.NgZone]},{provide:a.JF,useClass:Y,deps:[]}];let dt=(()=>{class k{constructor(H){if(H)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(H){return{ngModule:k,providers:[{provide:f.APP_ID,useValue:H.appId},{provide:ce,useExisting:f.APP_ID},oe]}}}return k.\u0275fac=function(H){return new(H||k)(f.\u0275\u0275inject(k,12))},k.\u0275mod=f.\u0275\u0275defineNgModule({type:k}),k.\u0275inj=f.\u0275\u0275defineInjector({providers:it,imports:[a.ez,f.ApplicationModule]}),k})(),Pt=(()=>{class k{constructor(H){this._doc=H,this._dom=(0,a.q)()}addTag(H,Ee=!1){return H?this._getOrCreateElement(H,Ee):null}addTags(H,Ee=!1){return H?H.reduce((tt,mt)=>(mt&&tt.push(this._getOrCreateElement(mt,Ee)),tt),[]):[]}getTag(H){return H&&this._doc.querySelector(`meta[${H}]`)||null}getTags(H){if(!H)return[];const Ee=this._doc.querySelectorAll(`meta[${H}]`);return Ee?[].slice.call(Ee):[]}updateTag(H,Ee){if(!H)return null;Ee=Ee||this._parseSelector(H);const tt=this.getTag(Ee);return tt?this._setMetaElementAttributes(H,tt):this._getOrCreateElement(H,!0)}removeTag(H){this.removeTagElement(this.getTag(H))}removeTagElement(H){H&&this._dom.remove(H)}_getOrCreateElement(H,Ee=!1){if(!Ee){const Nt=this._parseSelector(H),Zt=this.getTags(Nt).filter(En=>this._containsAttributes(H,En))[0];if(void 0!==Zt)return Zt}const tt=this._dom.createElement("meta");return this._setMetaElementAttributes(H,tt),this._doc.getElementsByTagName("head")[0].appendChild(tt),tt}_setMetaElementAttributes(H,Ee){return Object.keys(H).forEach(tt=>Ee.setAttribute(this._getMetaKeyMap(tt),H[tt])),Ee}_parseSelector(H){const Ee=H.name?"name":"property";return`${Ee}="${H[Ee]}"`}_containsAttributes(H,Ee){return Object.keys(H).every(tt=>Ee.getAttribute(this._getMetaKeyMap(tt))===H[tt])}_getMetaKeyMap(H){return De[H]||H}}return k.\u0275fac=function(H){return new(H||k)(f.\u0275\u0275inject(a.K0))},k.\u0275prov=f.\u0275\u0275defineInjectable({token:k,factory:function(H){let Ee=null;return Ee=H?new H:function vt(){return new Pt((0,f.\u0275\u0275inject)(a.K0))}(),Ee},providedIn:"root"}),k})();const De={httpEquiv:"http-equiv"};let ie=(()=>{class k{constructor(H){this._doc=H}getTitle(){return this._doc.title}setTitle(H){this._doc.title=H||""}}return k.\u0275fac=function(H){return new(H||k)(f.\u0275\u0275inject(a.K0))},k.\u0275prov=f.\u0275\u0275defineInjectable({token:k,factory:function(H){let Ee=null;return Ee=H?new H:function U(){return new ie((0,f.\u0275\u0275inject)(a.K0))}(),Ee},providedIn:"root"}),k})();"undefined"!=typeof window&&window;let Ot=(()=>{class k{constructor(){this.store={},this.onSerializeCallbacks={}}static init(H){const Ee=new k;return Ee.store=H,Ee}get(H,Ee){return void 0!==this.store[H]?this.store[H]:Ee}set(H,Ee){this.store[H]=Ee}remove(H){delete this.store[H]}hasKey(H){return this.store.hasOwnProperty(H)}onSerialize(H,Ee){this.onSerializeCallbacks[H]=Ee}toJson(){for(const H in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(H))try{this.store[H]=this.onSerializeCallbacks[H]()}catch(Ee){console.warn("Exception in onSerialize callback: ",Ee)}return JSON.stringify(this.store)}}return k.\u0275fac=function(H){return new(H||k)},k.\u0275prov=f.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac}),k})();function kt(k,G){const H=k.getElementById(G+"-state");let Ee={};if(H&&H.textContent)try{Ee=JSON.parse(function $t(k){const G={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return k.replace(/&[^;]+;/g,H=>G[H])}(H.textContent))}catch(tt){console.warn("Exception while restoring TransferState for app "+G,tt)}return Ot.init(Ee)}let Rt=(()=>{class k{}return k.\u0275fac=function(H){return new(H||k)},k.\u0275mod=f.\u0275\u0275defineNgModule({type:k}),k.\u0275inj=f.\u0275\u0275defineInjector({providers:[{provide:Ot,useFactory:kt,deps:[a.K0,f.APP_ID]}]}),k})(),y=(()=>{class k{}return k.\u0275fac=function(H){return new(H||k)},k.\u0275prov=f.\u0275\u0275defineInjectable({token:k,factory:function(H){let Ee=null;return Ee=H?new(H||k):f.\u0275\u0275inject(q),Ee},providedIn:"root"}),k})(),q=(()=>{class k extends y{constructor(H){super(),this._doc=H}sanitize(H,Ee){if(null==Ee)return null;
1switch(H){case f.SecurityContext.NONE:return Ee;case f.SecurityContext.HTML:return(0,f.\u0275allowSanitizationBypassAndThrow)(Ee,"HTML")?(0,f.\u0275unwrapSafeValue)(Ee):(0,f.\u0275_sanitizeHtml)(this._doc,String(Ee)).toString();case f.SecurityContext.STYLE:return(0,f.\u0275allowSanitizationBypassAndThrow)(Ee,"Style")?(0,f.\u0275unwrapSafeValue)(Ee):Ee;case f.SecurityContext.SCRIPT:if((0,f.\u0275allowSanitizationBypassAndThrow)(Ee,"Script"))return(0,f.\u0275unwrapSafeValue)(Ee);throw new Error("unsafe value used in a script context");case f.SecurityContext.URL:return(0,f.\u0275getSanitizationBypassType)(Ee),(0,f.\u0275allowSanitizationBypassAndThrow)(Ee,"URL")?(0,f.\u0275unwrapSafeValue)(Ee):(0,f.\u0275_sanitizeUrl)(String(Ee));case f.SecurityContext.RESOURCE_URL:if((0,f.\u0275allowSanitizationBypassAndThrow)(Ee,"ResourceURL"))return(0,f.\u0275unwrapSafeValue)(Ee);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${H} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(H){return(0,f.\u0275bypassSanitizationTrustHtml)(H)}bypassSecurityTrustStyle(H){return(0,f.\u0275bypassSanitizationTrustStyle)(H)}bypassSecurityTrustScript(H){return(0,f.\u0275bypassSanitizationTrustScript)(H)}bypassSecurityTrustUrl(H){return(0,f.\u0275bypassSanitizationTrustUrl)(H)}bypassSecurityTrustResourceUrl(H){return(0,f.\u0275bypassSanitizationTrustResourceUrl)(H)}}return k.\u0275fac=function(H){return new(H||k)(f.\u0275\u0275inject(a.K0))},k.\u0275prov=f.\u0275\u0275defineInjectable({token:k,factory:function(H){let Ee=null;return Ee=H?new H:function O(k){return new q(k.get(a.K0))}(f.\u0275\u0275inject(f.Injector)),Ee},providedIn:"root"}),k})()},4035:(ft,Te,g)=>{g.d(Te,{gz:()=>Nn,OD:()=>we,F0:()=>Yt,Bz:()=>ld,lC:()=>Ti});var a=g(5e3),f=g(2076),u=g(9646),X=g(1135),I=g(9841),re=g(9751);const ee=(0,g(3888).d)(E=>function(){E(this),this.name="EmptyError",this.message="no elements in sequence"});var ce=g(7272),Z=g(9770),oe=g(515),C=g(4033),Y=g(7579),K=g(4004),se=g(3900),xe=g(5698),Ve=g(8675),ke=g(5026),$e=g(9300),ot=g(262),be=g(4351),ae=g(4482),de=g(5403);function Oe(E){return E<=0?()=>oe.E:(0,ae.e)((v,m)=>{let S=[];v.subscribe(new de.Q(m,F=>{S.push(F),E<S.length&&S.shift()},()=>{for(const F of S)m.next(F);m.complete()},void 0,()=>{S=null}))})}function He(E=Je){return(0,ae.e)((v,m)=>{let S=!1;v.subscribe(new de.Q(m,F=>{S=!0,m.next(F)},()=>S?m.complete():m.error(E())))})}function Je(){return new ee}function Ie(E){return(0,ae.e)((v,m)=>{let S=!1;v.subscribe(new de.Q(m,F=>{S=!0,m.next(F)},()=>{S||m.next(E),m.complete()}))})}var Fe=g(4671);function Ze(E,v){const m=arguments.length>=2;return S=>S.pipe(E?(0,$e.h)((F,Q)=>E(F,Q,S)):Fe.y,(0,xe.q)(1),m?Ie(v):He(()=>new ee))}var Ne=g(5577),_e=g(8505),je=g(8343),ht=g(8746),yt=g(8189),st=g(9808);class _t{constructor(v,m){this.id=v,this.url=m}}class we extends _t{constructor(v,m,S="imperative",F=null){super(v,m),this.navigationTrigger=S,this.restoredState=F}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Le extends _t{constructor(v,m,S){super(v,m),this.urlAfterRedirects=S}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class We extends _t{constructor(v,m,S){super(v,m),this.reason=S}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ue extends _t{constructor(v,m,S){super(v,m),this.error=S}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Be extends _t{constructor(v,m,S,F){super(v,m),this.urlAfterRedirects=S,this.state=F}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class R extends _t{constructor(v,m,S,F){super(v,m),this.urlAfterRedirects=S,this.state=F}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class le extends _t{constructor(v,m,S,F,Q){super(v,m),this.urlAfterRedirects=S,this.state=F,this.shouldActivate=Q}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class ge extends _t{constructor(v,m,S,F){super(v,m),this.urlAfterRedirects=S,this.state=F}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Qe extends _t{constructor(v,m,S,F){super(v,m),this.urlAfterRedirects=S,this.state=F}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ze{constructor(v){this.route=v}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class rt{constructor(v){this.route=v}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Ae{constructor(v){this.snapshot=v}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class it{constructor(v){this.snapshot=v}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class dt{constructor(v){this.snapshot=v}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class vt{constructor(v){this.snapshot=v}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Pt{constructor(v,m,S){this.routerEvent=v,this.position=m,this.anchor=S}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const De="primary";class U{constructor(v){this.params=v||{}}has(v){return Object.prototype.hasOwnProperty.call(this.params,v)}get(v){if(this.has(v)){const m=this.params[v];return Array.isArray(m)?m[0]:m}return null}getAll(v){if(this.has(v)){const m=this.params[v];return Array.isArray(m)?m:[m]}return[]}get keys(){return Object.keys(this.params)}}function ie(E){return new U(E)}const P="ngNavigationCancelingError";function A(E){const v=Error("NavigationCancelingError: "+E);return v[P]=!0,v}function x(E,v,m){const S=m.path.split("/");if(S.length>E.length||"full"===m.pathMatch&&(v.hasChildren()||S.length<E.length))return null;const F={};for(let Q=0;Q<S.length;Q++){const ve=S[Q],Re=E[Q];if(ve.startsWith(":"))F[ve.substring(1)]=Re;else if(ve!==Re.path)return null}return{consumed:E.slice(0,S.length),posParams:F}}function he(E,v){const m=E?Object.keys(E):void 0,S=v?Object.keys(v):void 0;if(!m||!S||m.length!=S.length)return!1;let F;for(let Q=0;Q<m.length;Q++)if(F=m[Q],!qe(E[F],v[F]))return!1;return!0}function qe(E,v){if(Array.isArray(E)&&Array.isArray(v)){if(E.length!==v.length)return!1;const m=[...E].sort(),S=[...v].sort();return m.every((F,Q)=>
1S[Q]===F)}return E===v}function nt(E){return Array.prototype.concat.apply([],E)}function ct(E){return E.length>0?E[E.length-1]:null}function wt(E,v){for(const m in E)E.hasOwnProperty(m)&&v(E[m],m)}function St(E){return(0,a.\u0275isObservable)(E)?E:(0,a.\u0275isPromise)(E)?(0,f.D)(Promise.resolve(E)):(0,u.of)(E)}const $t={exact:function Rt(E,v,m){if(!y(E.segments,v.segments)||!j(E.segments,v.segments,m)||E.numberOfChildren!==v.numberOfChildren)return!1;for(const S in v.children)if(!E.children[S]||!Rt(E.children[S],v.children[S],m))return!1;return!0},subset:J},jt={exact:function kt(E,v){return he(E,v)},subset:function Xe(E,v){return Object.keys(v).length<=Object.keys(E).length&&Object.keys(v).every(m=>qe(E[m],v[m]))},ignored:()=>!0};function Ot(E,v,m){return $t[m.paths](E.root,v.root,m.matrixParams)&&jt[m.queryParams](E.queryParams,v.queryParams)&&!("exact"===m.fragment&&E.fragment!==v.fragment)}function J(E,v,m){return N(E,v,v.segments,m)}function N(E,v,m,S){if(E.segments.length>m.length){const F=E.segments.slice(0,m.length);return!(!y(F,m)||v.hasChildren()||!j(F,m,S))}if(E.segments.length===m.length){if(!y(E.segments,m)||!j(E.segments,m,S))return!1;for(const F in v.children)if(!E.children[F]||!J(E.children[F],v.children[F],S))return!1;return!0}{const F=m.slice(0,E.segments.length),Q=m.slice(E.segments.length);return!!(y(E.segments,F)&&j(E.segments,F,S)&&E.children[De])&&N(E.children[De],v,Q,S)}}function j(E,v,m){return v.every((S,F)=>jt[m](E[F].parameters,S.parameters))}class me{constructor(v,m,S){this.root=v,this.queryParams=m,this.fragment=S}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ie(this.queryParams)),this._queryParamMap}toString(){return k.serialize(this)}}class Se{constructor(v,m){this.segments=v,this.children=m,this.parent=null,wt(m,(S,F)=>S.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return G(this)}}class z{constructor(v,m){this.path=v,this.parameters=m}get parameterMap(){return this._parameterMap||(this._parameterMap=ie(this.parameters)),this._parameterMap}toString(){return oi(this)}}function y(E,v){return E.length===v.length&&E.every((m,S)=>m.path===v[S].path)}class q{}class B{parse(v){const m=new cn(v);return new me(m.parseRootSegment(),m.parseQueryParams(),m.parseFragment())}serialize(v){const m=`/${H(v.root,!0)}`,S=function Oi(E){const v=Object.keys(E).map(m=>{const S=E[m];return Array.isArray(S)?S.map(F=>`${tt(m)}=${tt(F)}`).join("&"):`${tt(m)}=${tt(S)}`}).filter(m=>!!m);return v.length?`?${v.join("&")}`:""}(v.queryParams);return`${m}${S}${"string"==typeof v.fragment?`#${function mt(E){return encodeURI(E)}(v.fragment)}`:""}`}}const k=new B;function G(E){return E.segments.map(v=>oi(v)).join("/")}function H(E,v){if(!E.hasChildren())return G(E);if(v){const m=E.children[De]?H(E.children[De],!1):"",S=[];return wt(E.children,(F,Q)=>{Q!==De&&S.push(`${Q}:${H(F,!1)}`)}),S.length>0?`${m}(${S.join("//")})`:m}{const m=function O(E,v){let m=[];return wt(E.children,(S,F)=>{F===De&&(m=m.concat(v(S,F)))}),wt(E.children,(S,F)=>{F!==De&&(m=m.concat(v(S,F)))}),m}(E,(S,F)=>F===De?[H(E.children[De],!1)]:[`${F}:${H(S,!1)}`]);return 1===Object.keys(E.children).length&&null!=E.children[De]?`${G(E)}/${m[0]}`:`${G(E)}/(${m.join("//")})`}}function Ee(E){return encodeURIComponent(E).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function tt(E){return Ee(E).replace(/%3B/gi,";")}function Nt(E){return Ee(E).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Zt(E){return decodeURIComponent(E)}function En(E){return Zt(E.replace(/\+/g,"%20"))}function oi(E){return`${Nt(E.path)}${function ai(E){return Object.keys(E).map(v=>`;${Nt(v)}=${Nt(E[v])}`).join("")}(E.parameters)}`}const Sn=/^[^\/()?;=#]+/;function fn(E){const v=E.match(Sn);return v?v[0]:""}const er=/^[^=?&#]+/,Mt=/^[^&#]+/;class cn{constructor(v){this.url=v,this.remaining=v}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Se([],{}):new Se([],this.parseChildren())}parseQueryParams(){const v={};if(this.consumeOptional("?"))do{this.parseQueryParam(v)}while(this.consumeOptional("&"));return v}
1parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const v=[];for(this.peekStartsWith("(")||v.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),v.push(this.parseSegment());let m={};this.peekStartsWith("/(")&&(this.capture("/"),m=this.parseParens(!0));let S={};return this.peekStartsWith("(")&&(S=this.parseParens(!1)),(v.length>0||Object.keys(m).length>0)&&(S[De]=new Se(v,m)),S}parseSegment(){const v=fn(this.remaining);if(""===v&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(v),new z(Zt(v),this.parseMatrixParams())}parseMatrixParams(){const v={};for(;this.consumeOptional(";");)this.parseParam(v);return v}parseParam(v){const m=fn(this.remaining);if(!m)return;this.capture(m);let S="";if(this.consumeOptional("=")){const F=fn(this.remaining);F&&(S=F,this.capture(S))}v[Zt(m)]=Zt(S)}parseQueryParam(v){const m=function Hn(E){const v=E.match(er);return v?v[0]:""}(this.remaining);if(!m)return;this.capture(m);let S="";if(this.consumeOptional("=")){const ve=function Kt(E){const v=E.match(Mt);return v?v[0]:""}(this.remaining);ve&&(S=ve,this.capture(S))}const F=En(m),Q=En(S);if(v.hasOwnProperty(F)){let ve=v[F];Array.isArray(ve)||(ve=[ve],v[F]=ve),ve.push(Q)}else v[F]=Q}parseParens(v){const m={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const S=fn(this.remaining),F=this.remaining[S.length];if("/"!==F&&")"!==F&&";"!==F)throw new Error(`Cannot parse url '${this.url}'`);let Q;S.indexOf(":")>-1?(Q=S.substr(0,S.indexOf(":")),this.capture(Q),this.capture(":")):v&&(Q=De);const ve=this.parseChildren();m[Q]=1===Object.keys(ve).length?ve[De]:new Se([],ve),this.consumeOptional("//")}return m}peekStartsWith(v){return this.remaining.startsWith(v)}consumeOptional(v){return!!this.peekStartsWith(v)&&(this.remaining=this.remaining.substring(v.length),!0)}capture(v){if(!this.consumeOptional(v))throw new Error(`Expected "${v}".`)}}class xn{constructor(v){this._root=v}get root(){return this._root.value}parent(v){const m=this.pathFromRoot(v);return m.length>1?m[m.length-2]:null}children(v){const m=hi(v,this._root);return m?m.children.map(S=>S.value):[]}firstChild(v){const m=hi(v,this._root);return m&&m.children.length>0?m.children[0].value:null}siblings(v){const m=bn(v,this._root);return m.length<2?[]:m[m.length-2].children.map(F=>F.value).filter(F=>F!==v)}pathFromRoot(v){return bn(v,this._root).map(m=>m.value)}}function hi(E,v){if(E===v.value)return v;for(const m of v.children){const S=hi(E,m);if(S)return S}return null}function bn(E,v){if(E===v.value)return[v];for(const m of v.children){const S=bn(E,m);if(S.length)return S.unshift(v),S}return[]}class In{constructor(v,m){this.value=v,this.children=m}toString(){return`TreeNode(${this.value})`}}function un(E){const v={};return E&&E.children.forEach(m=>v[m.value.outlet]=m),v}class _i extends xn{constructor(v,m){super(v),this.snapshot=m,vi(this,v)}toString(){return this.snapshot.toString()}}function yi(E,v){const m=function Qt(E,v){const ve=new jn([],{},{},"",{},De,v,null,E.root,-1,{});return new On("",new In(ve,[]))}(E,v),S=new X.X([new z("",{})]),F=new X.X({}),Q=new X.X({}),ve=new X.X({}),Re=new X.X(""),at=new Nn(S,F,ve,Re,Q,De,v,m.root);return at.snapshot=m.root,new _i(new In(at,[]),m)}class Nn{constructor(v,m,S,F,Q,ve,Re,at){this.url=v,this.params=m,this.queryParams=S,this.fragment=F,this.data=Q,this.outlet=ve,this.component=Re,this._futureSnapshot=at}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((0,K.U)(v=>ie(v)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,K.U)(v=>ie(v)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function li(E,v="emptyOnly"){const m=E.pathFromRoot;let S=0;if("always"!==v)for(S=m.length-1;S>=1;){const F=m[S],Q=m[S-1];
1if(F.routeConfig&&""===F.routeConfig.path)S--;else{if(Q.component)break;S--}}return function tr(E){return E.reduce((v,m)=>({params:Object.assign(Object.assign({},v.params),m.params),data:Object.assign(Object.assign({},v.data),m.data),resolve:Object.assign(Object.assign({},v.resolve),m._resolvedData)}),{params:{},data:{},resolve:{}})}(m.slice(S))}class jn{constructor(v,m,S,F,Q,ve,Re,at,xt,an,zt){this.url=v,this.params=m,this.queryParams=S,this.fragment=F,this.data=Q,this.outlet=ve,this.component=Re,this.routeConfig=at,this._urlSegment=xt,this._lastPathIndex=an,this._resolve=zt}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=ie(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ie(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(S=>S.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class On extends xn{constructor(v,m){super(m),this.url=v,vi(this,m)}toString(){return Yn(this._root)}}function vi(E,v){v.value._routerState=E,v.children.forEach(m=>vi(E,m))}function Yn(E){const v=E.children.length>0?` { ${E.children.map(Yn).join(", ")} } `:"";return`${E.value}${v}`}function wn(E){if(E.snapshot){const v=E.snapshot,m=E._futureSnapshot;E.snapshot=m,he(v.queryParams,m.queryParams)||E.queryParams.next(m.queryParams),v.fragment!==m.fragment&&E.fragment.next(m.fragment),he(v.params,m.params)||E.params.next(m.params),function ne(E,v){if(E.length!==v.length)return!1;for(let m=0;m<E.length;++m)if(!he(E[m],v[m]))return!1;return!0}(v.url,m.url)||E.url.next(m.url),he(v.data,m.data)||E.data.next(m.data)}else E.snapshot=E._futureSnapshot,E.data.next(E._futureSnapshot.data)}function nn(E,v){const m=he(E.params,v.params)&&function Ke(E,v){return y(E,v)&&E.every((m,S)=>he(m.parameters,v[S].parameters))}(E.url,v.url);return m&&!(!E.parent!=!v.parent)&&(!E.parent||nn(E.parent,v.parent))}function Dn(E,v,m){if(m&&E.shouldReuseRoute(v.value,m.value.snapshot)){const S=m.value;S._futureSnapshot=v.value;const F=function Fn(E,v,m){return v.children.map(S=>{for(const F of m.children)if(E.shouldReuseRoute(S.value,F.value.snapshot))return Dn(E,S,F);return Dn(E,S)})}(E,v,m);return new In(S,F)}{if(E.shouldAttach(v.value)){const Q=E.retrieve(v.value);if(null!==Q){const ve=Q.route;return ve.value._futureSnapshot=v.value,ve.children=v.children.map(Re=>Dn(E,Re)),ve}}const S=function Pn(E){return new Nn(new X.X(E.url),new X.X(E.params),new X.X(E.queryParams),new X.X(E.fragment),new X.X(E.data),E.outlet,E.component,E)}(v.value),F=v.children.map(Q=>Dn(E,Q));return new In(S,F)}}function bi(E){return"object"==typeof E&&null!=E&&!E.outlets&&!E.segmentPath}function Xn(E){return"object"==typeof E&&null!=E&&E.outlets}function Rn(E,v,m,S,F){let Q={};return S&&wt(S,(ve,Re)=>{Q[Re]=Array.isArray(ve)?ve.map(at=>`${at}`):`${ve}`}),new me(m.root===E?v:Li(m.root,E,v),Q,F)}function Li(E,v,m){const S={};return wt(E.children,(F,Q)=>{S[Q]=F===v?m:Li(F,v,m)}),new Se(E.segments,S)}class ss{constructor(v,m,S){if(this.isAbsolute=v,this.numberOfDoubleDots=m,this.commands=S,v&&S.length>0&&bi(S[0]))throw new Error("Root segment cannot have matrix parameters");const F=S.find(Xn);if(F&&F!==ct(S))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class nr{constructor(v,m,S){this.segmentGroup=v,this.processChildren=m,this.index=S}}function ki(E,v,m){if(E||(E=new Se([],{})),0===E.segments.length&&E.hasChildren())return Tr(E,v,m);const S=function zn(E,v,m){let S=0,F=v;const Q={match:!1,pathIndex:0,commandIndex:0};for(;F<E.segments.length;){if(S>=m.length)return Q;const ve=E.segments[F],Re=m[S];if(Xn(Re))break;const at=`${Re}`,xt=S<m.length-1?m[S+1]:null;if(F>0&&void 0===at)break;
1if(at&&xt&&"object"==typeof xt&&void 0===xt.outlets){if(!pr(at,xt,ve))return Q;S+=2}else{if(!pr(at,{},ve))return Q;S++}F++}return{match:!0,pathIndex:F,commandIndex:S}}(E,v,m),F=m.slice(S.commandIndex);if(S.match&&S.pathIndex<E.segments.length){const Q=new Se(E.segments.slice(0,S.pathIndex),{});return Q.children[De]=new Se(E.segments.slice(S.pathIndex),E.children),Tr(Q,0,F)}return S.match&&0===F.length?new Se(E.segments,{}):S.match&&!E.hasChildren()?Ci(E,v,m):S.match?Tr(E,0,F):Ci(E,v,m)}function Tr(E,v,m){if(0===m.length)return new Se(E.segments,{});{const S=function Gr(E){return Xn(E[0])?E[0].outlets:{[De]:E}}(m),F={};return wt(S,(Q,ve)=>{"string"==typeof Q&&(Q=[Q]),null!==Q&&(F[ve]=ki(E.children[ve],v,Q))}),wt(E.children,(Q,ve)=>{void 0===S[ve]&&(F[ve]=Q)}),new Se(E.segments,F)}}function Ci(E,v,m){const S=E.segments.slice(0,v);let F=0;for(;F<m.length;){const Q=m[F];if(Xn(Q)){const at=Zr(Q.outlets);return new Se(S,at)}if(0===F&&bi(m[0])){S.push(new z(E.segments[v].path,Sr(m[0]))),F++;continue}const ve=Xn(Q)?Q.outlets[De]:`${Q}`,Re=F<m.length-1?m[F+1]:null;ve&&Re&&bi(Re)?(S.push(new z(ve,Sr(Re))),F+=2):(S.push(new z(ve,{})),F++)}return new Se(S,{})}function Zr(E){const v={};return wt(E,(m,S)=>{"string"==typeof m&&(m=[m]),null!==m&&(v[S]=Ci(new Se([],{}),0,m))}),v}function Sr(E){const v={};return wt(E,(m,S)=>v[S]=`${m}`),v}function pr(E,v,m){return E==m.path&&he(v,m.parameters)}class gr{constructor(v,m,S,F){this.routeReuseStrategy=v,this.futureState=m,this.currState=S,this.forwardEvent=F}activate(v){const m=this.futureState._root,S=this.currState?this.currState._root:null;this.deactivateChildRoutes(m,S,v),wn(this.futureState.root),this.activateChildRoutes(m,S,v)}deactivateChildRoutes(v,m,S){const F=un(m);v.children.forEach(Q=>{const ve=Q.value.outlet;this.deactivateRoutes(Q,F[ve],S),delete F[ve]}),wt(F,(Q,ve)=>{this.deactivateRouteAndItsChildren(Q,S)})}deactivateRoutes(v,m,S){const F=v.value,Q=m?m.value:null;if(F===Q)if(F.component){const ve=S.getContext(F.outlet);ve&&this.deactivateChildRoutes(v,m,ve.children)}else this.deactivateChildRoutes(v,m,S);else Q&&this.deactivateRouteAndItsChildren(m,S)}deactivateRouteAndItsChildren(v,m){v.value.component&&this.routeReuseStrategy.shouldDetach(v.value.snapshot)?this.detachAndStoreRouteSubtree(v,m):this.deactivateRouteAndOutlet(v,m)}detachAndStoreRouteSubtree(v,m){const S=m.getContext(v.value.outlet),F=S&&v.value.component?S.children:m,Q=un(v);for(const ve of Object.keys(Q))this.deactivateRouteAndItsChildren(Q[ve],F);if(S&&S.outlet){const ve=S.outlet.detach(),Re=S.children.onOutletDeactivated();this.routeReuseStrategy.store(v.value.snapshot,{componentRef:ve,route:v,contexts:Re})}}deactivateRouteAndOutlet(v,m){const S=m.getContext(v.value.outlet),F=S&&v.value.component?S.children:m,Q=un(v);for(const ve of Object.keys(Q))this.deactivateRouteAndItsChildren(Q[ve],F);S&&S.outlet&&(S.outlet.deactivate(),S.children.onOutletDeactivated(),S.attachRef=null,S.resolver=null,S.route=null)}activateChildRoutes(v,m,S){const F=un(m);v.children.forEach(Q=>{this.activateRoutes(Q,F[Q.value.outlet],S),this.forwardEvent(new vt(Q.value.snapshot))}),v.children.length&&this.forwardEvent(new it(v.value.snapshot))}activateRoutes(v,m,S){const F=v.value,Q=m?m.value:null;if(wn(F),F===Q)if(F.component){const ve=S.getOrCreateContext(F.outlet);this.activateChildRoutes(v,m,ve.children)}else this.activateChildRoutes(v,m,S);else if(F.component){const ve=S.getOrCreateContext(F.outlet);if(this.routeReuseStrategy.shouldAttach(F.snapshot)){const Re=this.routeReuseStrategy.retrieve(F.snapshot);this.routeReuseStrategy.store(F.snapshot,null),ve.children.onOutletReAttached(Re.contexts),ve.attachRef=Re.componentRef,ve.route=Re.route.value,ve.outlet&&ve.outlet.attach(Re.componentRef,Re.route.value),wn(Re.route.value),this.activateChildRoutes(v,null,ve.children)}else{const Re=function mr(E){for(let v=E.parent;v;v=v.parent){const m=v.routeConfig;if(m&&m._loadedConfig)return m._loadedConfig;if(m&&m.component)return null}return null}(F.snapshot),at=Re?Re.module.componentFactoryResolver:null;ve.attachRef=null,ve.route=F,ve.resolver=at,ve.outlet&&ve.outlet.activateWith(F,at),this.activateChildRoutes(v,null,ve.children)}}else this.activateChildRoutes(v,null,S)}}class ir{constructor(v,m){this.routes=v,this.module=m}}
1function ci(E){return"function"==typeof E}function Ai(E){return E instanceof me}const pi=Symbol("INITIAL_VALUE");function ui(){return(0,se.w)(E=>(0,I.a)(E.map(v=>v.pipe((0,xe.q)(1),(0,Ve.O)(pi)))).pipe((0,ke.R)((v,m)=>{let S=!1;return m.reduce((F,Q,ve)=>F!==pi?F:(Q===pi&&(S=!0),S||!1!==Q&&ve!==m.length-1&&!Ai(Q)?F:Q),v)},pi),(0,$e.h)(v=>v!==pi),(0,K.U)(v=>Ai(v)?v:!0===v),(0,xe.q)(1)))}class Rr{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Hi,this.attachRef=null}}class Hi{constructor(){this.contexts=new Map}onChildOutletCreated(v,m){const S=this.getOrCreateContext(v);S.outlet=m,this.contexts.set(v,S)}onChildOutletDestroyed(v){const m=this.getContext(v);m&&(m.outlet=null,m.attachRef=null)}onOutletDeactivated(){const v=this.contexts;return this.contexts=new Map,v}onOutletReAttached(v){this.contexts=v}getOrCreateContext(v){let m=this.getContext(v);return m||(m=new Rr,this.contexts.set(v,m)),m}getContext(v){return this.contexts.get(v)||null}}let Ti=(()=>{class E{constructor(m,S,F,Q,ve){this.parentContexts=m,this.location=S,this.resolver=F,this.changeDetector=ve,this.activated=null,this._activatedRoute=null,this.activateEvents=new a.EventEmitter,this.deactivateEvents=new a.EventEmitter,this.attachEvents=new a.EventEmitter,this.detachEvents=new a.EventEmitter,this.name=Q||De,m.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const m=this.parentContexts.getContext(this.name);m&&m.route&&(m.attachRef?this.attach(m.attachRef,m.route):this.activateWith(m.route,m.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 m=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(m.instance),m}attach(m,S){this.activated=m,this._activatedRoute=S,this.location.insert(m.hostView),this.attachEvents.emit(m.instance)}deactivate(){if(this.activated){const m=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(m)}}activateWith(m,S){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=m;const ve=(S=S||this.resolver).resolveComponentFactory(m._futureSnapshot.routeConfig.component),Re=this.parentContexts.getOrCreateContext(this.name).children,at=new sr(m,Re,this.location.injector);this.activated=this.location.createComponent(ve,this.location.length,at),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return E.\u0275fac=function(m){return new(m||E)(a.\u0275\u0275directiveInject(Hi),a.\u0275\u0275directiveInject(a.ViewContainerRef),a.\u0275\u0275directiveInject(a.ComponentFactoryResolver),a.\u0275\u0275injectAttribute("name"),a.\u0275\u0275directiveInject(a.ChangeDetectorRef))},E.\u0275dir=a.\u0275\u0275defineDirective({type:E,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),E})();class sr{constructor(v,m,S){this.route=v,this.childContexts=m,this.parent=S}get(v,m){return v===Nn?this.route:v===Hi?this.childContexts:this.parent.get(v,m)}}let or=(()=>{class E{}return E.\u0275fac=function(m){return new(m||E)},E.\u0275cmp=a.\u0275\u0275defineComponent({type:E,selectors:[["ng-component"]],decls:1,vars:0,template:function(m,S){1&m&&a.\u0275\u0275element(0,"router-outlet")},directives:[Ti],encapsulation:2}),E})();function Si(E,v=""){for(let m=0;m<E.length;m++){const S=E[m];zi(S,Gn(v,S))}}function zi(E,v){E.children&&Si(E.children,v)}function Gn(E,v){return v?E||v.path?E&&!v.path?`${E}/`:!E&&v.path?v.path:`${E}/${v.path}`:"":E}function Wi(E){const v=E.children&&E.children.map(Wi),m=v?Object.assign(Object.assign({},E),{children:v}):Object.assign({},E);return!m.component&&(v||m.loadChildren)&&m.outlet&&m.outlet!==De&&(m.component=or),m}function qn(E){return E.outlet||De}function _r(E,v){const m=E.filter(S=>qn(S)===v);return m.push(...E.filter(S=>qn(S)!==v)),m}const Yr={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Pi(E,v,m){var S;if(""===v.path)return"full"===v.pathMatch&&(E.hasChildren()||m.length>0)?Object.assign({},Yr):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const Q=(v.matcher||x)(m,E,v);if(!Q)return Object.assign({},Yr);const ve={};wt(Q.posParams,(at,xt)=>{ve[xt]=at.path});const Re=Q.consumed.length>0?Object.assign(Object.assign({},ve),Q.consumed[Q.consumed.length-1].parameters):ve;return{matched:!0,consumedSegments:Q.consumed,lastChild:Q.consumed.length,parameters:Re,positionalParamSegments:null!==(S=Q.posParams)&&void 0!==S?S:{}}}function $i(E,v,m,S,F="corrected"){if(m.length>0&&function Jr(E,v,m){return m.some(S=>p(E,v,S)&&qn(S)!==De)}(E,m,S)){const ve=new Se(v,function Xr(E,v,m,S){const F={};F[De]=S,S._sourceSegment=E,S._segmentIndexShift=v.length;for(const Q of m)if(""===Q.path&&qn(Q)!==De){const ve=new Se([],{});ve._sourceSegment=E,ve._segmentIndexShift=v.length,F[qn(Q)]=ve}return F}(E,v,S,new Se(m,E.children)));return ve._sourceSegment=E,ve._segmentIndexShift=v.length,{segmentGroup:ve,slicedSegments:[]}}if(0===m.length&&function T(E,v,m){return m.some(S=>p(E,v,S))}(E,m,S)){const ve=new Se(E.segments,function mn(E,v,m,S,F,Q){const ve={};for(const Re of S)if(p(E,m,Re)&&!F[qn(Re)]){const at=new Se([],{});at._sourceSegment=E,at._segmentIndexShift="legacy"===Q?E.segments.length:v.length,ve[qn(Re)]=at}return Object.assign(Object.assign({},F),ve)}(E,v,m,S,E.children,F));return ve._sourceSegment=E,ve._segmentIndexShift=v.length,{segmentGroup:ve,slicedSegments:m}}const Q=new Se(E.segments,E.children);return Q._sourceSegment=E,Q._segmentIndexShift=v.length,{segmentGroup:Q,slicedSegments:m}}function p(E,v,m){return(!(E.hasChildren()||v.length>0)||"full"!==m.pathMatch)&&""===m.path}function o(E,v,m,S){return!!(qn(E)===S||S!==De&&p(v,m,E))&&("**"===E.path||Pi(v,E,m).matched)}function c(E,v,m){return 0===v.length&&!E.children[m]}class w{constructor(v){this.segmentGroup=v||null}}class ye{constructor(v){this.urlTree=v}}function et(E){return new re.y(v=>v.error(new w(E)))}function Et(E){return new re.y(v=>v.error(new ye(E)))}function Ut(E){return new re.y(v=>v.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${E}'`)))}class on{constructor(v,m,S,F,Q){this.configLoader=m,this.urlSerializer
1=S,this.urlTree=F,this.config=Q,this.allowRedirects=!0,this.ngModule=v.get(a.NgModuleRef)}apply(){const v=$i(this.urlTree.root,[],[],this.config).segmentGroup,m=new Se(v.segments,v.children);return this.expandSegmentGroup(this.ngModule,this.config,m,De).pipe((0,K.U)(Q=>this.createUrlTree(gn(Q),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,ot.K)(Q=>{if(Q instanceof ye)return this.allowRedirects=!1,this.match(Q.urlTree);throw Q instanceof w?this.noMatchError(Q):Q}))}match(v){return this.expandSegmentGroup(this.ngModule,this.config,v.root,De).pipe((0,K.U)(F=>this.createUrlTree(gn(F),v.queryParams,v.fragment))).pipe((0,ot.K)(F=>{throw F instanceof w?this.noMatchError(F):F}))}noMatchError(v){return new Error(`Cannot match any routes. URL Segment: '${v.segmentGroup}'`)}createUrlTree(v,m,S){const F=v.segments.length>0?new Se([],{[De]:v}):v;return new me(F,m,S)}expandSegmentGroup(v,m,S,F){return 0===S.segments.length&&S.hasChildren()?this.expandChildren(v,m,S).pipe((0,K.U)(Q=>new Se([],Q))):this.expandSegment(v,S,m,S.segments,F,!0)}expandChildren(v,m,S){const F=[];for(const Q of Object.keys(S.children))"primary"===Q?F.unshift(Q):F.push(Q);return(0,f.D)(F).pipe((0,be.b)(Q=>{const ve=S.children[Q],Re=_r(m,Q);return this.expandSegmentGroup(v,Re,ve,Q).pipe((0,K.U)(at=>({segment:at,outlet:Q})))}),(0,ke.R)((Q,ve)=>(Q[ve.outlet]=ve.segment,Q),{}),function Ue(E,v){const m=arguments.length>=2;return S=>S.pipe(E?(0,$e.h)((F,Q)=>E(F,Q,S)):Fe.y,Oe(1),m?Ie(v):He(()=>new ee))}())}expandSegment(v,m,S,F,Q,ve){return(0,f.D)(S).pipe((0,be.b)(Re=>this.expandSegmentAgainstRoute(v,m,S,Re,F,Q,ve).pipe((0,ot.K)(xt=>{if(xt instanceof w)return(0,u.of)(null);throw xt}))),Ze(Re=>!!Re),(0,ot.K)((Re,at)=>{if(Re instanceof ee||"EmptyError"===Re.name){if(c(m,F,Q))return(0,u.of)(new Se([],{}));throw new w(m)}throw Re}))}expandSegmentAgainstRoute(v,m,S,F,Q,ve,Re){return o(F,m,Q,ve)?void 0===F.redirectTo?this.matchSegmentAgainstRoute(v,m,F,Q,ve):Re&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(v,m,S,F,Q,ve):et(m):et(m)}expandSegmentAgainstRouteUsingRedirect(v,m,S,F,Q,ve){return"**"===F.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(v,S,F,ve):this.expandRegularSegmentAgainstRouteUsingRedirect(v,m,S,F,Q,ve)}expandWildCardWithParamsAgainstRouteUsingRedirect(v,m,S,F){const Q=this.applyRedirectCommands([],S.redirectTo,{});return S.redirectTo.startsWith("/")?Et(Q):this.lineralizeSegments(S,Q).pipe((0,Ne.z)(ve=>{const Re=new Se(ve,{});return this.expandSegment(v,Re,m,ve,F,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(v,m,S,F,Q,ve){const{matched:Re,consumedSegments:at,lastChild:xt,positionalParamSegments:an}=Pi(m,F,Q);if(!Re)return et(m);const zt=this.applyRedirectCommands(at,F.redirectTo,an);return F.redirectTo.startsWith("/")?Et(zt):this.lineralizeSegments(F,zt).pipe((0,Ne.z)(yn=>this.expandSegment(v,m,S,yn.concat(Q.slice(xt)),ve,!1)))}matchSegmentAgainstRoute(v,m,S,F,Q){if("**"===S.path)return S.loadChildren?(S._loadedConfig?(0,u.of)(S._loadedConfig):this.configLoader.load(v.injector,S)).pipe((0,K.U)(yn=>(S._loadedConfig=yn,new Se(F,{})))):(0,u.of)(new Se(F,{}));const{matched:ve,consumedSegments:Re,lastChild:at}=Pi(m,S,F);if(!ve)return et(m);const xt=F.slice(at);return this.getChildConfig(v,S,F).pipe((0,Ne.z)(zt=>{const yn=zt.module,vn=zt.routes,{segmentGroup:_s,slicedSegments:Er}=$i(m,Re,xt,vn),Bi=new Se(_s.segments,_s.children);if(0===Er.length&&Bi.hasChildren())return this.expandChildren(yn,vn,Bi).pipe((0,K.U)(es=>new Se(Re,es)));if(0===vn.length&&0===Er.length)return(0,u.of)(new Se(Re,{}));const Vi=qn(S)===Q;return this.expandSegment(yn,Bi,vn,Er,Vi?De:Q,!0).pipe((0,K.U)(cr=>new Se(Re.concat(cr.segments),cr.children)))}))}getChildConfig(v,m,S){return m.children?(0,u.of)(new ir(m.children,v)):m.loadChildren?void 0!==m._loadedConfig?(0,u.of)(m._loadedConfig):this.runCanLoadGuards(v.injector,m,S).pipe((0,Ne.z)(F=>F?this.configLoader.load(v.injector,m).pipe((0,K.U)(Q=>(m._loadedConfig=Q,Q))):function dn(E){return new re.y(v=>v.error(A(`Cannot load children because the guard of the route "path: '${E.path}'" returned false`)))}(m))):(0,u.of)(new ir([],v))}runCanLoadGuards(v,m,S){const F=m.canLoad;if(!F||0===F.length)return(0,u.of)(!0);const Q=F.map(ve=>{const Re=v.get(ve);let at;if(function Pr(E){return E&&ci(E.canLoad)}(Re))at=Re.canLoad(m,S);else{if(!ci(Re))throw new Error("Invalid CanLoad guard");at=Re(m,S)}return St(at)});
1return(0,u.of)(Q).pipe(ui(),(0,_e.b)(ve=>{if(!Ai(ve))return;const Re=A(`Redirecting to "${this.urlSerializer.serialize(ve)}"`);throw Re.url=ve,Re}),(0,K.U)(ve=>!0===ve))}lineralizeSegments(v,m){let S=[],F=m.root;for(;;){if(S=S.concat(F.segments),0===F.numberOfChildren)return(0,u.of)(S);if(F.numberOfChildren>1||!F.children[De])return Ut(v.redirectTo);F=F.children[De]}}applyRedirectCommands(v,m,S){return this.applyRedirectCreatreUrlTree(m,this.urlSerializer.parse(m),v,S)}applyRedirectCreatreUrlTree(v,m,S,F){const Q=this.createSegmentGroup(v,m.root,S,F);return new me(Q,this.createQueryParams(m.queryParams,this.urlTree.queryParams),m.fragment)}createQueryParams(v,m){const S={};return wt(v,(F,Q)=>{if("string"==typeof F&&F.startsWith(":")){const Re=F.substring(1);S[Q]=m[Re]}else S[Q]=F}),S}createSegmentGroup(v,m,S,F){const Q=this.createSegments(v,m.segments,S,F);let ve={};return wt(m.children,(Re,at)=>{ve[at]=this.createSegmentGroup(v,Re,S,F)}),new Se(Q,ve)}createSegments(v,m,S,F){return m.map(Q=>Q.path.startsWith(":")?this.findPosParam(v,Q,F):this.findOrReturn(Q,S))}findPosParam(v,m,S){const F=S[m.path.substring(1)];if(!F)throw new Error(`Cannot redirect to '${v}'. Cannot find '${m.path}'.`);return F}findOrReturn(v,m){let S=0;for(const F of m){if(F.path===v.path)return m.splice(S),F;S++}return v}}function gn(E){const v={};for(const S of Object.keys(E.children)){const Q=gn(E.children[S]);(Q.segments.length>0||Q.hasChildren())&&(v[S]=Q)}return function _n(E){if(1===E.numberOfChildren&&E.children[De]){const v=E.children[De];return new Se(E.segments.concat(v.segments),v.children)}return E}(new Se(E.segments,v))}class Bt{constructor(v){this.path=v,this.route=this.path[this.path.length-1]}}class Ri{constructor(v,m){this.component=v,this.route=m}}function xr(E,v,m){const S=E._root;return Ki(S,v?v._root:null,m,[S.value])}function yr(E,v,m){const S=function Fr(E){if(!E)return null;for(let v=E.parent;v;v=v.parent){const m=v.routeConfig;if(m&&m._loadedConfig)return m._loadedConfig}return null}(v);return(S?S.module.injector:m).get(E)}function Ki(E,v,m,S,F={canDeactivateChecks:[],canActivateChecks:[]}){const Q=un(v);return E.children.forEach(ve=>{(function Is(E,v,m,S,F={canDeactivateChecks:[],canActivateChecks:[]}){const Q=E.value,ve=v?v.value:null,Re=m?m.getContext(E.value.outlet):null;if(ve&&Q.routeConfig===ve.routeConfig){const at=function gt(E,v,m){if("function"==typeof m)return m(E,v);switch(m){case"pathParamsChange":return!y(E.url,v.url);case"pathParamsOrQueryParamsChange":return!y(E.url,v.url)||!he(E.queryParams,v.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!nn(E,v)||!he(E.queryParams,v.queryParams);default:return!nn(E,v)}}(ve,Q,Q.routeConfig.runGuardsAndResolvers);at?F.canActivateChecks.push(new Bt(S)):(Q.data=ve.data,Q._resolvedData=ve._resolvedData),Ki(E,v,Q.component?Re?Re.children:null:m,S,F),at&&Re&&Re.outlet&&Re.outlet.isActivated&&F.canDeactivateChecks.push(new Ri(Re.outlet.component,ve))}else ve&&tn(v,Re,F),F.canActivateChecks.push(new Bt(S)),Ki(E,null,Q.component?Re?Re.children:null:m,S,F)})(ve,Q[ve.value.outlet],m,S.concat([ve.value]),F),delete Q[ve.value.outlet]}),wt(Q,(ve,Re)=>tn(ve,m.getContext(Re),F)),F}function tn(E,v,m){const S=un(E),F=E.value;wt(S,(Q,ve)=>{tn(Q,F.component?v?v.children.getContext(ve):null:v,m)}),m.canDeactivateChecks.push(new Ri(F.component&&v&&v.outlet&&v.outlet.isActivated?v.outlet.component:null,F))}class W{}function te(E){return new re.y(v=>v.error(E))}class Me{constructor(v,m,S,F,Q,ve){this.rootComponentType=v,this.config=m,this.urlTree=S,this.url=F,this.paramsInheritanceStrategy=Q,this.relativeLinkResolution=ve}recognize(){const v=$i(this.urlTree.root,[],[],this.config.filter(ve=>void 0===ve.redirectTo),this.relativeLinkResolution).segmentGroup,m=this.processSegmentGroup(this.config,v,De);if(null===m)return null;const S=new jn([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},De,this.rootComponentType,null,this.urlTree.root,-1,{}),F=new In(S,m),Q=new On(this.url,F);return this.inheritParamsAndData(Q._root),Q}inheritParamsAndData(v){const m=v.value,S=li(m,this.paramsInheritanceStrategy);m.params=Object.freeze(S.params),m.data=Object.freeze(S.data),v.children.forEac
1h(F=>this.inheritParamsAndData(F))}processSegmentGroup(v,m,S){return 0===m.segments.length&&m.hasChildren()?this.processChildren(v,m):this.processSegment(v,m,m.segments,S)}processChildren(v,m){const S=[];for(const Q of Object.keys(m.children)){const ve=m.children[Q],Re=_r(v,Q),at=this.processSegmentGroup(Re,ve,Q);if(null===at)return null;S.push(...at)}const F=Tt(S);return function Ge(E){E.sort((v,m)=>v.value.outlet===De?-1:m.value.outlet===De?1:v.value.outlet.localeCompare(m.value.outlet))}(F),F}processSegment(v,m,S,F){for(const Q of v){const ve=this.processSegmentAgainstRoute(Q,m,S,F);if(null!==ve)return ve}return c(m,S,F)?[]:null}processSegmentAgainstRoute(v,m,S,F){if(v.redirectTo||!o(v,m,S,F))return null;let Q,ve=[],Re=[];if("**"===v.path){const vn=S.length>0?ct(S).parameters:{};Q=new jn(S,vn,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Jt(v),qn(v),v.component,v,sn(m),Ht(m)+S.length,rn(v))}else{const vn=Pi(m,v,S);if(!vn.matched)return null;ve=vn.consumedSegments,Re=S.slice(vn.lastChild),Q=new jn(ve,vn.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Jt(v),qn(v),v.component,v,sn(m),Ht(m)+ve.length,rn(v))}const at=function ut(E){return E.children?E.children:E.loadChildren?E._loadedConfig.routes:[]}(v),{segmentGroup:xt,slicedSegments:an}=$i(m,ve,Re,at.filter(vn=>void 0===vn.redirectTo),this.relativeLinkResolution);if(0===an.length&&xt.hasChildren()){const vn=this.processChildren(at,xt);return null===vn?null:[new In(Q,vn)]}if(0===at.length&&0===an.length)return[new In(Q,[])];const zt=qn(v)===F,yn=this.processSegment(at,xt,an,zt?De:F);return null===yn?null:[new In(Q,yn)]}}function bt(E){const v=E.value.routeConfig;return v&&""===v.path&&void 0===v.redirectTo}function Tt(E){const v=[],m=new Set;for(const S of E){if(!bt(S)){v.push(S);continue}const F=v.find(Q=>S.value.routeConfig===Q.value.routeConfig);void 0!==F?(F.children.push(...S.children),m.add(F)):v.push(S)}for(const S of m){const F=Tt(S.children);v.push(new In(S.value,F))}return v.filter(S=>!m.has(S))}function sn(E){let v=E;for(;v._sourceSegment;)v=v._sourceSegment;return v}function Ht(E){let v=E,m=v._segmentIndexShift?v._segmentIndexShift:0;for(;v._sourceSegment;)v=v._sourceSegment,m+=v._segmentIndexShift?v._segmentIndexShift:0;return m-1}function Jt(E){return E.data||{}}function rn(E){return E.resolve||{}}function ei(E){return(0,se.w)(v=>{const m=E(v);return m?(0,f.D)(m).pipe((0,K.U)(()=>v)):(0,u.of)(v)})}class ji extends class Ni{shouldDetach(v){return!1}store(v,m){}shouldAttach(v){return!1}retrieve(v){return null}shouldReuseRoute(v,m){return v.routeConfig===m.routeConfig}}{}const Ei=new a.InjectionToken("ROUTES");class Lr{constructor(v,m,S,F){this.injector=v,this.compiler=m,this.onLoadStartListener=S,this.onLoadEndListener=F}load(v,m){if(m._loader$)return m._loader$;this.onLoadStartListener&&this.onLoadStartListener(m);const F=this.loadModuleFactory(m.loadChildren).pipe((0,K.U)(Q=>{this.onLoadEndListener&&this.onLoadEndListener(m);const ve=Q.create(v);return new ir(nt(ve.injector.get(Ei,void 0,a.InjectFlags.Self|a.InjectFlags.Optional)).map(Wi),ve)}),(0,ot.K)(Q=>{throw m._loader$=void 0,Q}));return m._loader$=new C.c(F,()=>new Y.x).pipe((0,je.x)()),m._loader$}loadModuleFactory(v){return St(v()).pipe((0,Ne.z)(m=>m instanceof a.NgModuleFactory?(0,u.of)(m):(0,f.D)(this.compiler.compileModuleAsync(m))))}}class br{shouldProcessUrl(v){return!0}extract(v){return v}merge(v,m){return v}}function Qn(E){throw E}function Gi(E,v,m){return v.parse("/")}function Dt(E,v){return(0,u.of)(null)}const Vt={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Xt={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Yt=(()=>{class E{constructor(m,S,F,Q,ve,Re,at){this.rootComponentType=m,this.urlSerializer=S,this.rootContexts=F,this.location=Q,this.config=at,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Y.x,this.errorHandler=Qn,this.malformedUriErrorHandler=Gi,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Dt,afterPreactivation:Dt},this.urlHandlingStrategy=new br,this.routeReuseStrategy=new ji,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=ve.get(a.NgModuleRef),this.console=ve.get(a.\u0275Console);
1const zt=ve.get(a.NgZone);this.isNgZoneEnabled=zt instanceof a.NgZone&&a.NgZone.isInAngularZone(),this.resetConfig(at),this.currentUrlTree=function Lt(){return new me(new Se([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Lr(ve,Re,yn=>this.triggerEvent(new ze(yn)),yn=>this.triggerEvent(new rt(yn))),this.routerState=yi(this.currentUrlTree,this.rootComponentType),this.transitions=new X.X({id:0,targetPageId: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()}get browserPageId(){var m;return null===(m=this.location.getState())||void 0===m?void 0:m.\u0275routerPageId}setupNavigations(m){const S=this.events;return m.pipe((0,$e.h)(F=>0!==F.id),(0,K.U)(F=>Object.assign(Object.assign({},F),{extractedUrl:this.urlHandlingStrategy.extract(F.rawUrl)})),(0,se.w)(F=>{let Q=!1,ve=!1;return(0,u.of)(F).pipe((0,_e.b)(Re=>{this.currentNavigation={id:Re.id,initialUrl:Re.currentRawUrl,extractedUrl:Re.extractedUrl,trigger:Re.source,extras:Re.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,se.w)(Re=>{const at=this.browserUrlTree.toString(),xt=!this.navigated||Re.extractedUrl.toString()!==at||at!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||xt)&&this.urlHandlingStrategy.shouldProcessUrl(Re.rawUrl))return gi(Re.source)&&(this.browserUrlTree=Re.extractedUrl),(0,u.of)(Re).pipe((0,se.w)(zt=>{const yn=this.transitions.getValue();return S.next(new we(zt.id,this.serializeUrl(zt.extractedUrl),zt.source,zt.restoredState)),yn!==this.transitions.getValue()?oe.E:Promise.resolve(zt)}),function Ln(E,v,m,S){return(0,se.w)(F=>function hn(E,v,m,S,F){return new on(E,v,m,S,F).apply()}(E,v,m,F.extractedUrl,S).pipe((0,K.U)(Q=>Object.assign(Object.assign({},F),{urlAfterRedirects:Q}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,_e.b)(zt=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:zt.urlAfterRedirects})}),function Mn(E,v,m,S,F){return(0,Ne.z)(Q=>function Ce(E,v,m,S,F="emptyOnly",Q="legacy"){try{const ve=new Me(E,v,m,S,F,Q).recognize();return null===ve?te(new W):(0,u.of)(ve)}catch(ve){return te(ve)}}(E,v,Q.urlAfterRedirects,m(Q.urlAfterRedirects),S,F).pipe((0,K.U)(ve=>Object.assign(Object.assign({},Q),{targetSnapshot:ve}))))}(this.rootComponentType,this.config,zt=>this.serializeUrl(zt),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,_e.b)(zt=>{if("eager"===this.urlUpdateStrategy){if(!zt.extras.skipLocationChange){const vn=this.urlHandlingStrategy.merge(zt.urlAfterRedirects,zt.rawUrl);this.setBrowserUrl(vn,zt)}this.browserUrlTree=zt.urlAfterRedirects}const yn=new Be(zt.id,this.serializeUrl(zt.extractedUrl),this.serializeUrl(zt.urlAfterRedirects),zt.targetSnapshot);S.next(yn)}));if(xt&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:yn,extractedUrl:vn,source:_s,restoredState:Er,extras:Bi}=Re,Vi=new we(yn,this.serializeUrl(vn),_s,Er);S.next(Vi);const Fs=yi(vn,this.rootComponentType).snapshot;return(0,u.of)(Object.assign(Object.assign({},Re),{targetSnapshot:Fs,urlAfterRedirects:vn,extras:Object.assign(Object.assign({},Bi),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=Re.rawUrl,Re.resolve(null),oe.E}),ei(Re=>{const{targetSnapshot:at,id:xt,extractedUrl:an,rawUrl:zt,extras:{skipLocationChange:yn,replaceUrl:vn}}=Re;return this.hooks.beforePreactivation(at,{navigationId:xt,appliedUrlTree:an,rawUrlTree:zt,ski
1pLocationChange:!!yn,replaceUrl:!!vn})}),(0,_e.b)(Re=>{const at=new R(Re.id,this.serializeUrl(Re.extractedUrl),this.serializeUrl(Re.urlAfterRedirects),Re.targetSnapshot);this.triggerEvent(at)}),(0,K.U)(Re=>Object.assign(Object.assign({},Re),{guards:xr(Re.targetSnapshot,Re.currentSnapshot,this.rootContexts)})),function ms(E,v){return(0,Ne.z)(m=>{const{targetSnapshot:S,currentSnapshot:F,guards:{canActivateChecks:Q,canDeactivateChecks:ve}}=m;return 0===ve.length&&0===Q.length?(0,u.of)(Object.assign(Object.assign({},m),{guardsResult:!0})):function kn(E,v,m,S){return(0,f.D)(E).pipe((0,Ne.z)(F=>function M(E,v,m,S,F){const Q=v&&v.routeConfig?v.routeConfig.canDeactivate:null;if(!Q||0===Q.length)return(0,u.of)(!0);const ve=Q.map(Re=>{const at=yr(Re,v,F);let xt;if(function rr(E){return E&&ci(E.canDeactivate)}(at))xt=St(at.canDeactivate(E,v,m,S));else{if(!ci(at))throw new Error("Invalid CanDeactivate guard");xt=St(at(E,v,m,S))}return xt.pipe(Ze())});return(0,u.of)(ve).pipe(ui())}(F.component,F.route,m,v,S)),Ze(F=>!0!==F,!0))}(ve,S,F,E).pipe((0,Ne.z)(Re=>Re&&function fi(E){return"boolean"==typeof E}(Re)?function Os(E,v,m,S){return(0,f.D)(v).pipe((0,be.b)(F=>(0,ce.z)(function V(E,v){return null!==E&&v&&v(new Ae(E)),(0,u.of)(!0)}(F.route.parent,S),function os(E,v){return null!==E&&v&&v(new dt(E)),(0,u.of)(!0)}(F.route,S),function h(E,v,m){const S=v[v.length-1],Q=v.slice(0,v.length-1).reverse().map(ve=>function ar(E){const v=E.routeConfig?E.routeConfig.canActivateChild:null;return v&&0!==v.length?{node:E,guards:v}:null}(ve)).filter(ve=>null!==ve).map(ve=>(0,Z.P)(()=>{const Re=ve.guards.map(at=>{const xt=yr(at,ve.node,m);let an;if(function Jn(E){return E&&ci(E.canActivateChild)}(xt))an=St(xt.canActivateChild(S,E));else{if(!ci(xt))throw new Error("Invalid CanActivateChild guard");an=St(xt(S,E))}return an.pipe(Ze())});return(0,u.of)(Re).pipe(ui())}));return(0,u.of)(Q).pipe(ui())}(E,F.path,m),function l(E,v,m){const S=v.routeConfig?v.routeConfig.canActivate:null;if(!S||0===S.length)return(0,u.of)(!0);const F=S.map(Q=>(0,Z.P)(()=>{const ve=yr(Q,v,m);let Re;if(function Qr(E){return E&&ci(E.canActivate)}(ve))Re=St(ve.canActivate(v,E));else{if(!ci(ve))throw new Error("Invalid CanActivate guard");Re=St(ve(v,E))}return Re.pipe(Ze())}));return(0,u.of)(F).pipe(ui())}(E,F.route,m))),Ze(F=>!0!==F,!0))}(S,Q,E,v):(0,u.of)(Re)),(0,K.U)(Re=>Object.assign(Object.assign({},m),{guardsResult:Re})))})}(this.ngModule.injector,Re=>this.triggerEvent(Re)),(0,_e.b)(Re=>{if(Ai(Re.guardsResult)){const xt=A(`Redirecting to "${this.serializeUrl(Re.guardsResult)}"`);throw xt.url=Re.guardsResult,xt}const at=new le(Re.id,this.serializeUrl(Re.extractedUrl),this.serializeUrl(Re.urlAfterRedirects),Re.targetSnapshot,!!Re.guardsResult);this.triggerEvent(at)}),(0,$e.h)(Re=>!!Re.guardsResult||(this.restoreHistory(Re),this.cancelNavigationTransition(Re,""),!1)),ei(Re=>{if(Re.guards.canActivateChecks.length)return(0,u.of)(Re).pipe((0,_e.b)(at=>{const xt=new ge(at.id,this.serializeUrl(at.extractedUrl),this.serializeUrl(at.urlAfterRedirects),at.targetSnapshot);this.triggerEvent(xt)}),(0,se.w)(at=>{let xt=!1;return(0,u.of)(at).pipe(function An(E,v){return(0,Ne.z)(m=>{const{targetSnapshot:S,guards:{canActivateChecks:F}}=m;if(!F.length)return(0,u.of)(m);let Q=0;return(0,f.D)(F).pipe((0,be.b)(ve=>function Wn(E,v,m,S){return function $n(E,v,m,S){const F=Object.keys(E);if(0===F.length)return(0,u.of)({});const Q={};return(0,f.D)(F).pipe((0,Ne.z)(ve=>function vr(E,v,m,S){const F=yr(E,v,S);return St(F.resolve?F.resolve(v,m):F(v,m))}(E[ve],v,m,S).pipe((0,_e.b)(Re=>{Q[ve]=Re}))),Oe(1),(0,Ne.z)(()=>Object.keys(Q).length===F.length?(0,u.of)(Q):oe.E))}(E._resolve,E,v,S).pipe((0,K.U)(Q=>(E._resolvedData=Q,E.data=Object.assign(Object.assign({},E.data),li(E,m).resolve),null)))}(ve.route,S,E,v)),(0,_e.b)(()=>Q++),Oe(1),(0,Ne.z)(ve=>Q===F.length?(0,u.of)(m):oe.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,_e.b)({next:()=>xt=!0,complete:()=>{xt||(this.restoreHistory(at),this.cancelNavigationTransition(at,"At least one route resolver didn't emit any value."))}}))}),(0,_e.b)(at=>{const xt=new Qe(at.id,this.serializeUrl(at.extractedUrl),this.serializeUrl(at.urlAfterRedirects),at.targetSnapshot);this.triggerEvent(xt)}))}),ei(Re=>{const{targetSnapshot:at,id:xt,extractedUrl:an,rawUrl:zt,extras:{skipLocationChange:yn,replaceUrl:vn}}=Re;return this.hooks.afterPreactivation(at,{navigationId:xt,appliedUrlTree:an,rawUrlTree:zt,ski
1pLocationChange:!!yn,replaceUrl:!!vn})}),(0,K.U)(Re=>{const at=function Ui(E,v,m){const S=Dn(E,v._root,m?m._root:void 0);return new _i(S,v)}(this.routeReuseStrategy,Re.targetSnapshot,Re.currentRouterState);return Object.assign(Object.assign({},Re),{targetRouterState:at})}),(0,_e.b)(Re=>{this.currentUrlTree=Re.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(Re.urlAfterRedirects,Re.rawUrl),this.routerState=Re.targetRouterState,"deferred"===this.urlUpdateStrategy&&(Re.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,Re),this.browserUrlTree=Re.urlAfterRedirects)}),((E,v,m)=>(0,K.U)(S=>(new gr(v,S.targetRouterState,S.currentRouterState,m).activate(E),S)))(this.rootContexts,this.routeReuseStrategy,Re=>this.triggerEvent(Re)),(0,_e.b)({next(){Q=!0},complete(){Q=!0}}),(0,ht.x)(()=>{var Re;Q||ve||this.cancelNavigationTransition(F,`Navigation ID ${F.id} is not equal to the current navigation id ${this.navigationId}`),(null===(Re=this.currentNavigation)||void 0===Re?void 0:Re.id)===F.id&&(this.currentNavigation=null)}),(0,ot.K)(Re=>{if(ve=!0,function b(E){return E&&E[P]}(Re)){const at=Ai(Re.url);at||(this.navigated=!0,this.restoreHistory(F,!0));const xt=new We(F.id,this.serializeUrl(F.extractedUrl),Re.message);S.next(xt),at?setTimeout(()=>{const an=this.urlHandlingStrategy.merge(Re.url,this.rawUrlTree),zt={skipLocationChange:F.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||gi(F.source)};this.scheduleNavigation(an,"imperative",null,zt,{resolve:F.resolve,reject:F.reject,promise:F.promise})},0):F.resolve(!1)}else{this.restoreHistory(F,!0);const at=new ue(F.id,this.serializeUrl(F.extractedUrl),Re);S.next(at);try{F.resolve(this.errorHandler(Re))}catch(xt){F.reject(xt)}}return oe.E}))}))}resetRootComponentType(m){this.rootComponentType=m,this.routerState.root.component=this.rootComponentType}setTransition(m){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),m))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(m=>{const S="popstate"===m.type?"popstate":"hashchange";"popstate"===S&&setTimeout(()=>{var F;const Q={replaceUrl:!0},ve=(null===(F=m.state)||void 0===F?void 0:F.navigationId)?m.state:null;if(ve){const at=Object.assign({},ve);delete at.navigationId,delete at.\u0275routerPageId,0!==Object.keys(at).length&&(Q.state=at)}const Re=this.parseUrl(m.url);this.scheduleNavigation(Re,S,ve,Q)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(m){this.events.next(m)}resetConfig(m){Si(m),this.config=m.map(Wi),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(m,S={}){const{relativeTo:F,queryParams:Q,fragment:ve,queryParamsHandling:Re,preserveFragment:at}=S,xt=F||this.routerState.root,an=at?this.currentUrlTree.fragment:ve;let zt=null;switch(Re){case"merge":zt=Object.assign(Object.assign({},this.currentUrlTree.queryParams),Q);break;case"preserve":zt=this.currentUrlTree.queryParams;break;default:zt=Q||null}return null!==zt&&(zt=this.removeEmptyProps(zt)),function Fi(E,v,m,S,F){if(0===m.length)return Rn(v.root,v.root,v,S,F);const Q=function Tn(E){if("string"==typeof E[0]&&1===E.length&&"/"===E[0])return new ss(!0,0,E);let v=0,m=!1;const S=E.reduce((F,Q,ve)=>{if("object"==typeof Q&&null!=Q){if(Q.outlets){const Re={};return wt(Q.outlets,(at,xt)=>{Re[xt]="string"==typeof at?at.split("/"):at}),[...F,{outlets:Re}]}if(Q.segmentPath)return[...F,Q.segmentPath]}return"string"!=typeof Q?[...F,Q]:0===ve?(Q.split("/").forEach((Re,at)=>{0==at&&"."===Re||(0==at&&""===Re?m=!0:".."===Re?v++:""!=Re&&F.push(Re))}),F):[...F,Q]},[]);return new ss(m,v,S)}(m);if(Q.toRoot())return Rn(v.root,new Se([],{}),v,S,F);const ve=function Kr(E,v,m){if(E.isAbsolute)return new nr(v.root,!0,0);if(-1===m.snapshot._lastPathIndex){const Q=m.snapshot._urlSegment;return new nr(Q,Q===v.root,0)}const S=bi(E.commands[0])?0:1;return function fr(E,v,m){let S=E,F=v,Q=m;for(;Q>F;){if(Q-=F,S=S.parent,!S)throw new Error("Invalid number of '../'");F=S.segments.length}return new nr(S,!1,F-Q)}(m.snapshot._urlSegment,m.snapshot._lastPathIndex+S,E.numberOfDoubleDots)}(Q,v,E),Re=ve.processChildren?Tr(ve.segmentGroup,ve.index,Q.commands):ki(ve.segmentGroup,ve.index,Q.commands);
1return Rn(ve.segmentGroup,Re,v,S,F)}(xt,this.currentUrlTree,m,zt,null!=an?an:null)}navigateByUrl(m,S={skipLocationChange:!1}){const F=Ai(m)?m:this.parseUrl(m),Q=this.urlHandlingStrategy.merge(F,this.rawUrlTree);return this.scheduleNavigation(Q,"imperative",null,S)}navigate(m,S={skipLocationChange:!1}){return function Bn(E){for(let v=0;v<E.length;v++){const m=E[v];if(null==m)throw new Error(`The requested path contains ${m} segment at index ${v}`)}}(m),this.navigateByUrl(this.createUrlTree(m,S),S)}serializeUrl(m){return this.urlSerializer.serialize(m)}parseUrl(m){let S;try{S=this.urlSerializer.parse(m)}catch(F){S=this.malformedUriErrorHandler(F,this.urlSerializer,m)}return S}isActive(m,S){let F;if(F=!0===S?Object.assign({},Vt):!1===S?Object.assign({},Xt):S,Ai(m))return Ot(this.currentUrlTree,m,F);const Q=this.parseUrl(m);return Ot(this.currentUrlTree,Q,F)}removeEmptyProps(m){return Object.keys(m).reduce((S,F)=>{const Q=m[F];return null!=Q&&(S[F]=Q),S},{})}processNavigations(){this.navigations.subscribe(m=>{this.navigated=!0,this.lastSuccessfulId=m.id,this.currentPageId=m.targetPageId,this.events.next(new Le(m.id,this.serializeUrl(m.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,m.resolve(!0)},m=>{this.console.warn(`Unhandled Navigation Error: ${m}`)})}scheduleNavigation(m,S,F,Q,ve){var Re,at,xt;if(this.disposed)return Promise.resolve(!1);const an=this.transitions.value,zt=gi(S)&&an&&!gi(an.source),yn=an.rawUrl.toString()===m.toString(),vn=an.id===(null===(Re=this.currentNavigation)||void 0===Re?void 0:Re.id);if(zt&&yn&&vn)return Promise.resolve(!0);let Er,Bi,Vi;ve?(Er=ve.resolve,Bi=ve.reject,Vi=ve.promise):Vi=new Promise((es,us)=>{Er=es,Bi=us});const Fs=++this.navigationId;let cr;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(F=this.location.getState()),cr=F&&F.\u0275routerPageId?F.\u0275routerPageId:Q.replaceUrl||Q.skipLocationChange?null!==(at=this.browserPageId)&&void 0!==at?at:0:(null!==(xt=this.browserPageId)&&void 0!==xt?xt:0)+1):cr=0,this.setTransition({id:Fs,targetPageId:cr,source:S,restoredState:F,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:m,extras:Q,resolve:Er,reject:Bi,promise:Vi,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Vi.catch(es=>Promise.reject(es))}setBrowserUrl(m,S){const F=this.urlSerializer.serialize(m),Q=Object.assign(Object.assign({},S.extras.state),this.generateNgRouterState(S.id,S.targetPageId));this.location.isCurrentPathEqualTo(F)||S.extras.replaceUrl?this.location.replaceState(F,"",Q):this.location.go(F,"",Q)}restoreHistory(m,S=!1){var F,Q;if("computed"===this.canceledNavigationResolution){const ve=this.currentPageId-m.targetPageId;"popstate"!==m.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(F=this.currentNavigation)||void 0===F?void 0:F.finalUrl)||0===ve?this.currentUrlTree===(null===(Q=this.currentNavigation)||void 0===Q?void 0:Q.finalUrl)&&0===ve&&(this.resetState(m),this.browserUrlTree=m.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(ve)}else"replace"===this.canceledNavigationResolution&&(S&&this.resetState(m),this.resetUrlToCurrentUrlTree())}resetState(m){this.routerState=m.currentRouterState,this.currentUrlTree=m.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,m.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(m,S){const F=new We(m.id,this.serializeUrl(m.extractedUrl),S);this.triggerEvent(F),m.resolve(!1)}generateNgRouterState(m,S){return"computed"===this.canceledNavigationResolution?{navigationId:m,\u0275routerPageId:S}:{navigationId:m}}}return E.\u0275fac=function(m){a.\u0275\u0275invalidFactory()},E.\u0275prov=a.\u0275\u0275defineInjectable({token:E,factory:E.\u0275fac}),E})();function gi(E){return"imperative"!==E}class Cr{}class ni{preload(v,m){return(0,u.of)(null)}}let lr=(()=>{class E{constructor(m,S,F,Q){this.router=m,this.injector=F,this.preloadingStrategy=Q,this.loader=new Lr(F,S,at=>m.triggerEvent(new ze(at)),at=>m.triggerEvent(new rt(at)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,$e.h)(m=>m instanceof Le),(0,be.b)(()=>this.preload())).subscribe(()=>{})}preload(){const m=this.injector.get(a.NgModuleRef);return this.processRoutes(m,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(m,S){const F=[];for(const Q of S)if(Q.loadChildren&&!Q.canLoad&&Q._loadedConfig){const ve=Q._loadedConfig;F.push(this.processRoutes(ve.module,ve.routes))}else Q.loadChildren&&!Q.canLoad?F.push(this.preloadConfig(m,Q)):Q.children&&F.push(this.processRoutes(m,Q.children));return(0,f.D)(F).pipe((0,yt.J)(),(0,K.U)(Q=>{}))}
1preloadConfig(m,S){return this.preloadingStrategy.preload(S,()=>(S._loadedConfig?(0,u.of)(S._loadedConfig):this.loader.load(m.injector,S)).pipe((0,Ne.z)(Q=>(S._loadedConfig=Q,this.processRoutes(Q.module,Q.routes)))))}}return E.\u0275fac=function(m){return new(m||E)(a.\u0275\u0275inject(Yt),a.\u0275\u0275inject(a.Compiler),a.\u0275\u0275inject(a.Injector),a.\u0275\u0275inject(Cr))},E.\u0275prov=a.\u0275\u0275defineInjectable({token:E,factory:E.\u0275fac}),E})(),yo=(()=>{class E{constructor(m,S,F={}){this.router=m,this.viewportScroller=S,this.options=F,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},F.scrollPositionRestoration=F.scrollPositionRestoration||"disabled",F.anchorScrolling=F.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(m=>{m instanceof we?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=m.navigationTrigger,this.restoredId=m.restoredState?m.restoredState.navigationId:0):m instanceof Le&&(this.lastId=m.id,this.scheduleScrollEvent(m,this.router.parseUrl(m.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(m=>{m instanceof Pt&&(m.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(m.position):m.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(m.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(m,S){this.router.triggerEvent(new Pt(m,"popstate"===this.lastSource?this.store[this.restoredId]:null,S))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return E.\u0275fac=function(m){a.\u0275\u0275invalidFactory()},E.\u0275prov=a.\u0275\u0275defineInjectable({token:E,factory:E.\u0275fac}),E})();const Zi=new a.InjectionToken("ROUTER_CONFIGURATION"),As=new a.InjectionToken("ROUTER_FORROOT_GUARD"),Ga=[st.Ye,{provide:q,useClass:B},{provide:Yt,useFactory:function Ps(E,v,m,S,F,Q,ve={},Re,at){const xt=new Yt(null,E,v,m,S,F,nt(Q));return Re&&(xt.urlHandlingStrategy=Re),at&&(xt.routeReuseStrategy=at),function na(E,v){E.errorHandler&&(v.errorHandler=E.errorHandler),E.malformedUriErrorHandler&&(v.malformedUriErrorHandler=E.malformedUriErrorHandler),E.onSameUrlNavigation&&(v.onSameUrlNavigation=E.onSameUrlNavigation),E.paramsInheritanceStrategy&&(v.paramsInheritanceStrategy=E.paramsInheritanceStrategy),E.relativeLinkResolution&&(v.relativeLinkResolution=E.relativeLinkResolution),E.urlUpdateStrategy&&(v.urlUpdateStrategy=E.urlUpdateStrategy),E.canceledNavigationResolution&&(v.canceledNavigationResolution=E.canceledNavigationResolution)}(ve,xt),ve.enableTracing&&xt.events.subscribe(an=>{var zt,yn;null===(zt=console.group)||void 0===zt||zt.call(console,`Router Event: ${an.constructor.name}`),console.log(an.toString()),console.log(an),null===(yn=console.groupEnd)||void 0===yn||yn.call(console)}),xt},deps:[q,Hi,st.Ye,a.Injector,a.Compiler,Ei,Zi,[class qr{},new a.Optional],[class Zn{},new a.Optional]]},Hi,{provide:Nn,useFactory:function ia(E){return E.routerState.root},deps:[Yt]},lr,ni,class ls{preload(v,m){return m().pipe((0,ot.K)(()=>(0,u.of)(null)))}},{provide:Zi,useValue:{enableTracing:!1}}];function Za(){return new a.NgProbeToken("Router",Yt)}let ld=(()=>{class E{constructor(m,S){}static forRoot(m,S){return{ngModule:E,providers:[Ga,Ss(m),{provide:As,useFactory:ta,deps:[[Yt,new a.Optional,new a.SkipSelf]]},{provide:Zi,useValue:S||{}},{provide:st.S$,useFactory:Ts,deps:[st.lw,[new a.Inject(st.mr),new a.Optional],Zi]},{provide:yo,useFactory:cd,deps:[Yt,st.EM,Zi]},{provide:Cr,useExisting:S&&S.preloadingStrategy?S.preloadingStrategy:ni},{provide:a.NgProbeToken,multi:!0,useFactory:Za},[kr,{provide:a.APP_INITIALIZER,multi:!0,useFactory:Qa,deps:[kr]},{provide:Rs,useFactory:cs,deps:[kr]},{provide:a.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:Rs}]]}}static forChild(m){return{ngModule:E,providers:[Ss(m)]}}}return E.\u0275fac=function(m){return new(m||E)(a.\u0275\u0275inject(As,8),a.\u0275\u0275inject(Yt,8))},E.\u0275mod=a.\u0275\u0275defineNgModule({type:E}
1),E.\u0275inj=a.\u0275\u0275defineInjector({}),E})();function cd(E,v,m){return m.scrollOffset&&v.setOffset(m.scrollOffset),new yo(E,v,m)}function Ts(E,v,m={}){return m.useHash?new st.Do(E,v):new st.b0(E,v)}function ta(E){return"guarded"}function Ss(E){return[{provide:a.ANALYZE_FOR_ENTRY_COMPONENTS,multi:!0,useValue:E},{provide:Ei,multi:!0,useValue:E}]}let kr=(()=>{class E{constructor(m){this.injector=m,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new Y.x}appInitializer(){return this.injector.get(st.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let S=null;const F=new Promise(Re=>S=Re),Q=this.injector.get(Yt),ve=this.injector.get(Zi);return"disabled"===ve.initialNavigation?(Q.setUpLocationChangeListener(),S(!0)):"enabled"===ve.initialNavigation||"enabledBlocking"===ve.initialNavigation?(Q.hooks.afterPreactivation=()=>this.initNavigation?(0,u.of)(null):(this.initNavigation=!0,S(!0),this.resultOfPreactivationDone),Q.initialNavigation()):S(!0),F})}bootstrapListener(m){const S=this.injector.get(Zi),F=this.injector.get(lr),Q=this.injector.get(yo),ve=this.injector.get(Yt),Re=this.injector.get(a.ApplicationRef);m===Re.components[0]&&(("enabledNonBlocking"===S.initialNavigation||void 0===S.initialNavigation)&&ve.initialNavigation(),F.setUpPreloading(),Q.init(),ve.resetRootComponentType(Re.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return E.\u0275fac=function(m){return new(m||E)(a.\u0275\u0275inject(a.Injector))},E.\u0275prov=a.\u0275\u0275defineInjectable({token:E,factory:E.\u0275fac}),E})();function Qa(E){return E.appInitializer.bind(E)}function cs(E){return E.bootstrapListener.bind(E)}const Rs=new a.InjectionToken("Router Initializer")},888:(ft,Te,g)=>{g.d(Te,{Y:()=>u,Z:()=>f});var a=g(5e3);const f=new a.InjectionToken("REQUEST"),u=new a.InjectionToken("RESPONSE")},5861:(ft,Te,g)=>{function a(u,X,I,re,pe,ee,ce){try{var Z=u[ee](ce),oe=Z.value}catch(C){return void I(C)}Z.done?X(oe):Promise.resolve(oe).then(re,pe)}function f(u){return function(){var X=this,I=arguments;return new Promise(function(re,pe){var ee=u.apply(X,I);function ce(oe){a(ee,re,pe,ce,Z,"next",oe)}function Z(oe){a(ee,re,pe,ce,Z,"throw",oe)}ce(void 0)})}}g.d(Te,{Z:()=>f})},7582:(ft,Te,g)=>{function C(we,Le,We,ue){return new(We||(We=Promise))(function(R,le){function ge(rt){try{ze(ue.next(rt))}catch(Ae){le(Ae)}}function Qe(rt){try{ze(ue.throw(rt))}catch(Ae){le(Ae)}}function ze(rt){rt.done?R(rt.value):function Be(R){return R instanceof We?R:new We(function(le){le(R)})}(rt.value).then(ge,Qe)}ze((ue=ue.apply(we,Le||[])).next())})}function Oe(we){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var We,Le=we[Symbol.asyncIterator];return Le?Le.call(we):(we=function xe(we){var Le="function"==typeof Symbol&&Symbol.iterator,We=Le&&we[Le],ue=0;if(We)return We.call(we);if(we&&"number"==typeof we.length)return{next:function(){return we&&ue>=we.length&&(we=void 0),{value:we&&we[ue++],done:!we}}};throw new TypeError(Le?"Object is not iterable.":"Symbol.iterator is not defined.")}(we),We={},ue("next"),ue("throw"),ue("return"),We[Symbol.asyncIterator]=function(){return this},We);function ue(R){We[R]=we[R]&&function(le){return new Promise(function(ge,Qe){!function Be(R,le,ge,Qe){Promise.resolve(Qe).then(function(ze){R({value:ze,done:ge})},le)}(ge,Qe,(le=we[R](le)).done,le.value)})}}}g.d(Te,{KL:()=>Oe,mG:()=>C}),"function"==typeof SuppressedError&&SuppressedError}},ft=>{ft(ft.s=6499)}]);

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.