System.register(["@angular/core","@angular/cdk/coercion","rxjs","rxjs/operators","@angular/cdk/platform"],(function(t){"use strict";var e,i,n,a,r,o,s,c,d,h,p,m,u,l;return{setters:[function(t){e=t,t.NgModule,i=t.CSP_NONCE,t.Injectable,t.Optional,t.Inject},function(t){n=t.coerceArray},function(t){a=t.Subject,r=t.combineLatest,o=t.concat,s=t.Observable},function(t){c=t.take,d=t.skip,h=t.debounceTime,p=t.map,m=t.startWith,u=t.takeUntil},function(t){l=t}],execute:function(){class x{static{this.\u0275fac=function(t){return new(t||x)}}static{this.\u0275mod=e.\u0275\u0275defineNgModule({type:x})}static{this.\u0275inj=e.\u0275\u0275defineInjector({})}}t("LayoutModule",x);const w=new Set;let f;class b{constructor(t,e){this._platform=t,this._nonce=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):_}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&function(t,e){if(w.has(t))return;try{f||(f=document.createElement("style"),e&&(f.nonce=e),f.setAttribute("type","text/css"),document.head.appendChild(f)),f.sheet&&(f.sheet.insertRule(`@media ${t} {body{ }}`,0),w.add(t))}catch(t){console.error(t)}}(t,this._nonce),this._matchMedia(t)}static{this.\u0275fac=function(t){return new(t||b)(e.\u0275\u0275inject(l.Platform),e.\u0275\u0275inject(i,8))}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:b,factory:b.\u0275fac,providedIn:"root"})}}function _(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}t("MediaMatcher",b);class y{constructor(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=new a}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return j(n(t)).some((t=>this._registerQuery(t).mql.matches))}observe(t){const e=j(n(t)).map((t=>this._registerQuery(t).observable));let i=r(e);return i=o(i.pipe(c(1)),i.pipe(d(1),h(0))),i.pipe(p((t=>{const e={matches:!1,breakpoints:{}};return t.forEach((({matches:t,query:i})=>{e.matches=e.matches||t,e.breakpoints[i]=t})),e})))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const e=this._mediaMatcher.matchMedia(t),i={observable:new s((t=>{const i=e=>this._zone.run((()=>t.next(e)));return e.addListener(i),()=>{e.removeListener(i)}})).pipe(m(e),p((({matches:e})=>({query:t,matches:e}))),u(this._destroySubject)),mql:e};return this._queries.set(t,i),i}static{this.\u0275fac=function(t){return new(t||y)(e.\u0275\u0275inject(b),e.\u0275\u0275inject(e.NgZone))}}static{this.\u0275prov=e.\u0275\u0275defineInjectable({token:y,factory:y.\u0275fac,providedIn:"root"})}}function j(t){return t.map((t=>t.split(","))).reduce(((t,e)=>t.concat(e))).map((t=>t.trim()))}t("BreakpointObserver",y);t("Breakpoints",{XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"})}}}));
