1import{E as S}from"./chunk-JMYVWIHS.js";import{Cb as r,Fa as y,P as M,Pc as P,Ra as D,Sa as g,Xa as L,c as m,ca as z,g as f,hc as O,ka as v,la as b,pa as I,qa as _,ub as o,va as C,vc as E,wa as w,wc as x,xa as k}from"./chunk-4IVTWYCS.js";import{a as p,b as u}from"./chunk-K7JVZNMP.js";var j=["*"],d=class{_clearListeners(){for(let i of this._listeners)i.remove();this._listeners=[]}constructor(i){this._ngZone=i,this._pending=[],this._listeners=[],this._targetStream=new f(void 0)}getLazyEmitter(i){return this._targetStream.pipe(z(l=>{let e=new m(t=>{if(!l){this._pending.push({observable:e,observer:t});return}let s=l.addListener(i,a=>{this._ngZone.run(()=>t.next(a))});if(!s){t.complete();return}return this._listeners.push(s),()=>s.remove()});return e}))}setTarget(i){let l=this._targetStream.value;i!==l&&(l&&(this._clearListeners(),this._pending=[]),this._targetStream.next(i),this._pending.forEach(e=>e.observable.subscribe(e.observer)),this._pending=[])}destroy(){this._clearListeners(),this._pending=[],this._targetStream.complete()}},h={center:{lat:37.421995,lng:-122.084092},zoom:17,mapTypeId:"roadmap"},Z="500px",A="500px",B=(()=>{let i=class i{set center(e){this._center=e}set zoom(e){this._zoom=e}set options(e){this._options=e||h}constructor(e,t,s){if(this._elementRef=e,this._ngZone=t,this._eventManager=new d(_(r)),this.height=Z,this.width=A,this._options=h,this.mapInitialized=new g,this.authFailure=new g,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=S(s),this._isBrowser){let a=window;a.google,this._existingAuthFailureCallback=a.gm_authFailure,a.gm_authFailure=()=>{this._existingAuthFailureCallback&&this._existingAuthFailureCallback(),this.authFailure.emit()}}}ngOnChanges(e){(e.height||e.width)&&this._setSize();let t=this.googleMap;t&&(e.options&&t.setOptions(this._combineOptions()),e.center&&this._center&&t.setCenter(this._center),e.zoom&&this._zoom!=null&&t.setZoom(this._zoom),e.mapTypeId&&this.mapTypeId&&t.setMapTypeId(this.mapTypeId)
1)}ngOnInit(){this._isBrowser&&(this._mapEl=this._elementRef.nativeElement.querySelector(".map-container"),this._setSize(),google.maps.Map?this._initialize(google.maps.Map):this._ngZone.runOutsideAngular(()=>{google.maps.importLibrary("maps").then(e=>this._initialize(e.Map))}))}_initialize(e){this._ngZone.runOutsideAngular(()=>{this.googleMap=new e(this._mapEl,this._combineOptions()),this._eventManager.setTarget(this.googleMap),this.mapInitialized.emit(this.googleMap)})}ngOnDestroy(){if(this.mapInitialized.complete(),this._eventManager.destroy(),this._isBrowser){let e=window;e.gm_authFailure=this._existingAuthFailureCallback}}fitBounds(e,t){this._assertInitialized(),this.googleMap.fitBounds(e,t)}panBy(e,t){this._assertInitialized(),this.googleMap.panBy(e,t)}panTo(e){this._assertInitialized(),this.googleMap.panTo(e)}panToBounds(e,t){this._assertInitialized(),this.googleMap.panToBounds(e,t)}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}_resolveMap(){return this.googleMap?Promise.resolve(this.googleMap):this.mapInitialized.pipe(M(1)).toPromise()}_setSize(){if(this._mapEl){let e=this._mapEl.style;e.height=this.height===null?"":F(this.height)||Z,e.width=this.width===null?"":F(this.width)||A}}_combineOptions(){let e=this._options||{};return u(p({},e),{center:this._center||e.center||h.center,zoom:this._zoom??e.zoom??h.zoom,mapTypeId:this.mapTypeId||e.mapTypeId||h.mapTypeId,mapId:this.mapId||e.mapId})}_assertInitialized(){this.googleMap}};i.\u0275fac=function(t){return new(t||i)(o(D),o(r),o(L))},i.\u0275cmp=C({type:i,selectors:[["google-map"]],inputs:{height:"height",width:"width",mapId:"mapId",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"],standalone:!0,features:[y,P],ngContentSelectors:j,decls:2,vars:0,consts:[[1,"map-container"]],template:function(t,s){t&1&&(E(),O(0,"div",0),x(1))},encapsulation:2,changeDetection:0});let n=i;return n})(),N=/([A-Za-z%]+)$/;function F(n){return n==null?"":N.test(n)?n:`${n}px`}var G={position:{lat:37.221995,lng:-122.184092}},de=(()=>{let i=class i{set title(e){this._title=e}set position(e){this._position=e}set content(e){this._content=e}set gmpDraggable(e){this._draggable=e}set options(e){this._options=e}set zIndex(e){this._zIndex=e}constructor(e,t){this._googleMap=e,this._ngZone=t,this._eventManager=new d(_(r)),this.mapClick=this._eventManager.getLazyEmitter("click"),this.mapDrag=this._eventManager.getLazyEmitter("drag"),this.mapDragend=this._eventManager.getLazyEmitter("dragend"),this.mapDragstart=this._eventManager.getLazyEmitter("dragstart"),this.markerInitialized=new g}ngOnInit(){this._googleMap._isBrowser&&(google.maps.marker?.AdvancedMarkerElement&&this._googleMap.googleMap?this._initialize(this._googleMap.googleMap,google.maps.marker.AdvancedMarkerElement):this._ngZone.runOutsideAngular(()=>{Promise.all([this._googleMap._resolveMap(),google.maps.importLibrary("marker")]).then(([e,t])=>{this._initialize(e,t.AdvancedMarkerElement)})}))}_initialize(e,t){this._ngZone.runOutsideAngular(()=>{this.advancedMarker=new t(this._combineOptions()),this._assertInitialized(),this.advancedMarker.map=e,this._eventManager.setTarget(this.advancedMarker),this.markerInitialized.next(this.advancedMarker)})}ngOnChanges(e){let{advancedMarker:t,_content:s,_position:a,_title:c,_draggable:R,_zIndex:T}=this;t&&(e.title&&(t.title=c),e.content&&(t.content=s),e.gmpDraggable&&(t.gmpDraggable=R),e.content&&(t.content=s),e.position&&(t.position=a),e.zIndex&&(t.zIndex=T))}ngOnDestroy(){this.markerInitialized.complete(),this._eventManager.destroy(),this.advancedMarker&&(this.advancedMarker.map=null)}getAnchor(){return this._assertInitialized(),this.advancedMarker}_combineOptions(){let e=this._options||G;return u(p({},e),{title:this._title||e.title,position:this._position||e.position,content:this._content||e.content,zIndex:this._zIndex??e.zIndex,gmpDraggable:this._draggable??e.gmpDraggable,map:this._googleMap.googleMap})}_assertInitialized(){}};i.\u0275fac=function(t){return new(t||i)(o(B),o(r))},i.\u0275dir=k({type:i,selectors:[["map-advanced-marker"]],inputs:{title:"title",position:"position",content:"content",gmpDraggable:"gmpDraggable",options:"options",zIndex:"zIndex"},outputs:{mapClick:"mapClick",mapDrag:"mapDrag",mapDragend:"mapDragend",mapDragstart:"mapDragstart",markerInitialized:"markerInitialized"},exportAs:["mapAdvancedMarker"],standalone:!0,features:[y]});let n=i;return n})();var ce=(()=>{let i=class i{};i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=w({type:i}),i.\u0275inj=b({});let n=i;return n})();var pe=(()=>{let i=class i{constructor(e){this._ngZone=e}geocode(e){return new m(t=>{this._getGeocoder().then(s=>{s.geocode(e,(a,c)=>{this._ngZone.run(()=>{t.next({results:a||[],status:c}),t.complete()})})})})}
1_getGeocoder(){if(!this._geocoder)if(google.maps.Geocoder)this._geocoder=new google.maps.Geocoder;else return google.maps.importLibrary("geocoding").then(e=>(this._geocoder=new e.Geocoder,this._geocoder));return Promise.resolve(this._geocoder)}};i.\u0275fac=function(t){return new(t||i)(I(r))},i.\u0275prov=v({token:i,factory:i.\u0275fac,providedIn:"root"});let n=i;return n})();export{B as a,de as b,ce as c,pe as d}; 2//# sourceMappingURL=chunk-B3I4O4MU.js.map
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.