PageSourceSearch

https://meiweirussia.ru/5480.305f1edcf34e342b.js

js meiweirussia.ru collected 2026-10-04 09:35:06 UTC 18,852 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkyumapos_web_client_mobile=self.webpackChunkyumapos_web_client_mobile||[]).push([[5480],{55480(Ge,q,i){i.d(q,{t:()=>Te});var ee=i(49769),d=i(17705),a=i(85802),_=i(32271),te=i(59640),A=i(64683),oe=i(66566),e=i(35547),k=i(50969),ne=i(46850),z=i(15307),j=i(77512),Q=i(49655),N=i(61030),E=i(20036),se=i(98396),ie=i(6504);function ae(n,m){if(1&n&&(e.j41(0,"div",8),e.EFF(1),e.k0s(),e.j41(2,"div"),e.EFF(3),e.nI1(4,"ypAddress"),e.k0s()),2&n){e.XpG(2);const t=e.r8f(0);e.R7$(),e.JRh(t.storeName),e.R7$(2),e.JRh(e.bMT(4,2,t.storeAddress))}}function re(n,m){if(1&n&&e.nVh(0,ae,5,4),2&n){e.XpG();const t=e.r8f(0);e.vxM(t?0:-1)}}function de(n,m){if(1&n&&e.nrm(0,"yp-delivery-terms",9),2&n){const t=e.XpG(2);e.Y8G("deliveryTerms",t.selectedDeliveryTerms)}}function le(n,m){if(1&n&&e.nVh(0,de,1,1,"yp-delivery-terms",9),2&n){const t=e.XpG();e.vxM(t.selectedDeliveryTerms?0:-1)}}function pe(n,m){if(1&n){const t=e.RV6();e.j41(0,"map-advanced-marker",11),e.bIt("mapClick",function(){a.eBV(t);const s=e.XpG(2).$implicit,r=e.XpG(2);return a.Njj(r.storeMarkerClickHandler(s.store))}),e.k0s(),e.j41(1,"div",12,1),e.bIt("mouseenter",function(){a.eBV(t);const s=e.XpG(2).$implicit,r=e.XpG(2);return a.Njj(r.mouseOverStoreMarker=s.store)})("mouseleave",function(){a.eBV(t);const s=e.XpG(4);return a.Njj(s.mouseOverStoreMarker=void 0)}),e.nrm(3,"img",13),e.k0s()}if(2&n){const t=e.sdS(2),o=e.XpG(2).$implicit,s=e.XpG(2),r=e.r8f(1);e.Y8G("content",t)("position",o.storePosition)("zIndex",s.mouseOverStoreMarker===o.store?1:0),e.R7$(),e.AVh("store-marker-wrapper-active",r.store.highlightSelectedStoreMarker&&o.store.storeId===s.selectedStoreId()),e.R7$(2),e.Y8G("src",o.iconUrl,e.B4B)}}function ce(n,m){if(1&n){const t=e.RV6();e.j41(0,"map-advanced-marker",14),e.bIt("mapClick",function(){a.eBV(t);const s=e.XpG(2).$implicit,r=e.XpG(2);return a.Njj(r.storeMarkerClickHandler(s.store))}),e.k0s()}if(2&n){const t=e.XpG(2).$implicit;e.Y8G("position",t.storePosition)}}function me(n,m){if(1&n&&e.nVh(0,pe,4,6)(1,ce,1,1,"map-advanced-marker",10),2&n){const t=e.XpG().$implicit;e.vxM(t.iconUrl?0:1)}}function ge(n,m){1&n&&e.nVh(0,me,2,1),2&n&&e.vxM(m.$implicit.storePosition?0:-1)}function ue(n,m){if(1&n&&e.Z7z(0,ge,1,1,null,null,e.fX1),2&n){const t=e.XpG();e.Dyx(t.storesViewInfo())}}function fe(n,m){if(1&n){const t=e.RV6();e.j41(0,"map-polygon",16),e.bIt("polygonClick",function(s){a.eBV(t);const r=e.XpG(3);return a.Njj(r.deliveryZonePolygonClick(s))}),e.k0s()}if(2&n){const t=m.$implicit,o=e.XpG().$implicit;e.Y8G("paths",t)("options",o.polygonOptions)}}function ye(n,m){1&n&&e.Z7z(0,fe,1,2,"map-polygon",15,e.fX1),2&n&&e.Dyx(m.$implicit.polygons)}function he(n,m){if(1&n&&e.Z7z(0,ye,2,0,null,null,e.fX1),2&n){const t=e.XpG();e.Dyx(t.deliveryZonesViewInfo())}}var Z=function(n){return n[n.storeInfo=1]="storeInfo",n[n.deliveryZoneInfo=2]="deliveryZoneInfo",n}(Z||{});let Y=(()=>{class n{constructor(){this.defaultMapCenter=(0,d.hFB)(),this.stores=d.hFB.required(),this.selectedStoreId=(0,d.hFB)(),this.deliveryZones=(0,d.hFB)(),this.displayOptions=d.hFB.required(),this.storePlacemarkImage=d.hFB.required(),this.storeMarkerClick=(0,d.CGW)(),this.tenant=(0,a.WQX)(z.$),this.imageApiService=(0,a.WQX)(j.V),this.changeDetectorRef=(0,a.WQX)(d.gRc),this.googleMap=d.ebz.required(k.u6),this.mapInfoWindow=(0,d.ebz)(k.D1),this.MapInfoWindowType=Z,this.mapOptions={mapId:ne.t.googleMapId,mapTypeControl:!1,zoom:11,scrollwheel:!0,zoomControl:!0},this.mapInfoWindowOptions={headerDisabled:!0},this.storesViewInfo=(0,_.EW)(()=>{let t;const o=this.storePlacemarkImage();return o&&(t=this.imageApiService.getOriginalImageUrl(o)),this.stores()?.map(s=>{let r;s.storeAddress.geoCoordinates&&(r={lat:s.storeAddress.geoCoordinates.latitude,lng:s.storeAddress.geoCoordinates.longitude});let p=t;if(s.storeRegionId&&this.tenant.brands.length){const x=this.tenant.regions.find(y=>y.regionId===s.storeRegionId);if(x){const y=this.tenant.brands.find(W=>W.brandId===x.brandId);y?.icon&&(p=this.imageApiService.getOriginalImageUrl(y.icon))}}return{store:s,storePosition:r,iconUrl:p}})}),this.deliveryZonesViewInfo=(0,_.EW)(()=>N.Y.initDeliveryZonesViewInfo(this.deliveryZones()??[])),this.selectedStore=(0,_.EW)(()=>{const t=this.selectedStoreId();return void 0!==t?this.stores()?.find(o=>o.storeId===t):void 0}),this.mapInitialized=(0,a.vPA)(!1),(0,e.mal)({read:()=>{const t=this.defaultMapCenter();t?this.setMapCenter(t):this.mapFitBounds(this.googleMap(),this.stores(),this.deliveryZones())}}),(0,a.QZP)(()=>{const t=this.mapInfoWindow();if(t){const o=this.displayOptions(),s=this.selectedStore();o.store?.showSelectedStoreDetails&&s?.storeAddress.geoCoordinates?(t.position={lat:s.storeAddress.geoCoordinates.latitude,lng:s.storeAddress.geoCoordinates.longitude},t.open(),this.mapInfoWindowType=Z.storeInfo):this.mapInfoWindowType===Z.storeInfo&&(t.close(),this.mapInfoWindowType=void 0),this.changeDetectorRef.detectChanges()}}),(0,a.QZP)(()=>{this.deliveryZones(),this.mapInfoWindowType===Z.deliveryZoneInfo&&(this.mapInfoWindow()?.close(),this.mapInfoWindowType=void 0)}),(0,d.uEv)({read:()=>{this.mapInitialized()&&(this.setMapCenterDelayed?this.setMapCenter(this.setMapCenterDelayed):this.fitBoundsDelayed&&(0,_.O8)(this.googleMap).fitBounds(N.Y.toLatLngBounds(this.fitBoundsDelayed),50),this.setMapCenterDelayed=void 0,this.fitBoundsDelayed=void 0)}})}setMapCenter(t){if(this.mapInitialized()){const o=new google.maps.LatLngBounds;o.extend(new google.maps.LatLng(t.latitude-.01,t.longitude-.01)),o.extend(new google.maps.LatLng(t.latitude+.01,t.longitude+.01)),this.googleMap().fitBounds(o,50)}else this.setMapCenterDelayed=t}fitBounds(t){this.mapInitialized()?this.googleMap().fitBounds(N.Y.toLatLngBounds(t),50):this.fitBoundsDelayed=t}mapInfoWindowCloseClick(){this.mapInfoWindow()?.close(),this.mapInfoWindowType!==Z.storeInfo&&(this.selectedDeliveryTerms=void 0),this.mapInfoWindowType=void 0}storeMarkerClickHandler(t){this.storeMarkerClick.emit(t)}deliveryZonePolygonClick(t){const o=this.mapInfoWindow();if(this.displayOptions().deliveryZone?.showDeliveryCost&&t.latLng&&o){const s=E.BY.getPointDeliveryZones({latitude:t.latLng.lat(),longitude:t.latLng.lng()},this.deliveryZones());this.selectedDeliveryTerms=(0,Q.XY)(s),o.position=t.latLng,o.open(),this.mapInfoWindowType=Z.deliveryZoneInfo}}mapFitBounds(t,o,s){const r=new google.maps.LatLngBounds;if(void 0!==o)for(const p of o)p.storeAddress.geoCoordinates&&(r.extend(new google.maps.LatLng(p.storeAddress.geoCoordinates.latitude-.01,p.storeAddress.geoCoordinates.longitude-.01)),r.extend(new google.maps.LatLng(p.storeAddress.geoCoordinates.latitude+.01,p.storeAddress.geoCoordinates.longitude+.01)));if(void 0!==s)for(const p of s)for(const x of p.deliveryZonePolygons)for(const y of x)r.extend(new google.maps.LatLng(y.latitude,y.longitude));r.isEmpty()||t.fitBounds(r,50)}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["yp-maps-google"]],viewQuery:function(o,s){1&o&&e.wEZ(s.googleMap,k.u6,5)(s.mapInfoWindow,k.D1,5),2&o&&e.NyB(2)},inputs:{defaultMapCenter:[1,"defaultMapCenter"],stores:[1,"stores"],selectedStoreId:[1,"selectedStoreId"],deliveryZones:[1,"deliveryZones"],displayOptions:[1,"displayOptions"],storePlacemarkImage:[1,"storePlacemarkImage"]},outputs:{storeMarkerClick:"storeMarkerClick"},decls:13,vars:7,consts:[["googleMap","googleMap"],["storeMarkerTemplate",""],["width","100%","height","100%",3,"mapInitialized","options"],[3,"options"],[1,"d-flex"],[1,"m-3"],[1,"m-1"],["type","button",1,"yp-btn-dialog-close",3,"click"],[1,"mb-2","fw-bold"],[3,"deliveryTerms"],[3,"position"],[3,"mapClick","content","position","zIndex"],[1,"store-marker-wrapper",3,"mouseenter","mouseleave"],[1,"store-marker-icon",3,"src"],[3,"mapClick","position"],[3,"paths","options"],[3,"polygonClick","paths","options"]],template:function(o,s){if(1&o){const r=e.RV6();e.SS7(0)(1),e.j41(2,"google-map",2,0),e.bIt("mapInitialized",function(){return s.mapInitialized.set(!0)}),e.j41(4,"map-info-window",3)(5,"div",4)(6,"div",5),e.nVh(7,re,1,1)(8,le,1,1),e.k0s(),e.j41(9,"div",6)(10,"button",7),e.bIt("click",function(x){return a.eBV(r),s.mapInfoWindowCloseClick(),a.Njj(x.stopPropagation())}),e.k0s()()()(),e.nVh(11,ue,2,0),e.nVh(12,he,2,0),e.k0s()}if(2&o){let r;e.bH3(s.selectedStore()),e.R7$();const p=e.bH3(s.displayOptions());
1e.R7$(),e.Y8G("options",s.mapOptions),e.R7$(2),e.Y8G("options",s.mapInfoWindowOptions),e.R7$(3),e.vxM((r=s.mapInfoWindowType)===s.MapInfoWindowType.storeInfo?7:r===s.MapInfoWindowType.deliveryZoneInfo?8:-1),e.R7$(4),e.vxM(p.store?11:-1),e.R7$(),e.vxM(p.deliveryZone?12:-1)}},dependencies:[k.u6,k.D1,k.pu,k.tc,ie.x,se.F],encapsulation:2,changeDetection:0})}}return n})();var P=i(10467),Ce=i(60177),ve=i(89079),Me=i(68018),Ie=i(39507),U=i(13810),H=i(82749),_e=i(7843);const ke=["ymap3Container"];let R=(()=>{class n{constructor(){var t=this;this.defaultMapCenter=(0,d.hFB)(),this.stores=(0,d.hFB)(),this.selectedStoreId=(0,d.hFB)(),this.deliveryZones=(0,d.hFB)(),this.displayOptions=d.hFB.required(),this.storePlacemarkImage=d.hFB.required(),this.storeMarkerClick=(0,d.CGW)(),this.ymap3Container=d.ebz.required("ymap3Container",{read:e.aKT}),this.yandexMapInstance=(0,a.vPA)(void 0),(0,U.De)(!(0,Ce.Vy)((0,a.WQX)(e.Agw)));const o=(0,a.WQX)(a.SKi),s=(0,a.WQX)(Me.c$),r=(0,a.WQX)(z.$),p=(0,a.WQX)(j.V),x=(0,a.WQX)(Ie.k),y=new _e.o,W=(0,ve.br)(this.selectedStoreId);(0,d.uEv)({read:V=>{const B=this.ymap3Container(),g=(0,_.O8)(this.defaultMapCenter),T=(0,_.O8)(this.stores),D=(0,_.O8)(this.deliveryZones);o.runOutsideAngular((0,P.A)(function*(){let h,f;if(g)h={center:[g.longitude,g.latitude],zoom:15};else{const u=E.BY.getBounds({stores:T,deliveryZones:D});if(u)h={bounds:[[u[0].longitude,u[0].latitude],[u[1].longitude,u[1].latitude]]},f=[50,50,50,50];else{const C=E.BY.getFallbackMapCenter(r.country);h={center:[C.longitude,C.latitude],zoom:5}}}const{YMapZoomControl:G,YMapGeolocationControl:b}=yield i.e(5893).then(i.bind(i,95893)),S=new ymaps3.YMapControls({position:"right"});S.addChild(new G({})),S.addChild(new b({}));const F=new ymaps3.YMap(B.nativeElement,{location:h,margin:f,zoomRange:{min:4,max:20}},[new ymaps3.YMapDefaultSchemeLayer({}),new ymaps3.YMapDefaultFeaturesLayer({}),S]);t.yandexMapInstance.set(F),V(()=>F.destroy())}))}}),(0,a.QZP)(function(){var V=(0,P.A)(function*(B){const g=t.yandexMapInstance();if(g){const T=t.displayOptions();if(T.store){const D=t.stores();if(D){let b=function(c){const l=document.createElement("div");return l.classList.add("ymaps-cluster-circle"),l.innerHTML=`<div class="ymaps-cluster-circle-content">${c}</div>`,l};const w=t.storePlacemarkImage();let h;w&&(h=p.getOriginalImageUrl(w));const f=new Map,G=c=>{const l=c;(0,U.iY)(l.store.storeAddress.geoCoordinates);const M=document.createElement("div");M.classList.add("ymaps-map-store-marker-container","cursor-pointer");const I=document.createElement("div");I.id=l.store.storeId,I.classList.add("ymaps-map-store-marker-text"),I.innerText=l.store.storeName;const O=document.createElement("div");f.set(l.store.storeId,O),O.classList.add("ymaps-map-store-marker");const X=document.createElement("img");let J=h;if(l.store.storeRegionId&&r.brands.length){const K=r.regions.find(L=>L.regionId===l.store.storeRegionId);if(K){const L=r.brands.find(we=>we.brandId===K.brandId);L?.icon&&(J=p.getOriginalImageUrl(L.icon))}}X.src=J??"",X.classList.add("ymaps-map-store-marker-image"),O.appendChild(X),M.appendChild(I),M.appendChild(O);const $=new ymaps3.YMapMarker({coordinates:[l.store.storeAddress.geoCoordinates.longitude,l.store.storeAddress.geoCoordinates.latitude],onMouseEnter:()=>$.update({zIndex:2}),onMouseLeave:()=>$.update({zIndex:1}),onClick:()=>t.storeMarkerClick.emit(l.store)},M);return $},S=(c,l)=>{const M=l;return new ymaps3.YMapMarker({coordinates:c,onClick:()=>{const I=E.BY.getBounds({stores:M.map(O=>O.store)});I&&g.update({location:{bounds:x.toYandexMapsBounds(I),duration:1e3},margin:[50,50,50,50]})}},b(M.length).cloneNode(!0))},{YMapClusterer:F,clusterByGrid:u}=yield i.e(6376).then(i.bind(i,6376)),C=new F({method:u({gridSize:64}),features:D.filter(c=>c.storeAddress.geoCoordinates).map(c=>({type:"Feature",id:c.storeId,store:c,isSelectedStore:!1,geometry:{type:"Point",coordinates:[c.storeAddress.geoCoordinates.longitude,c.storeAddress.geoCoordinates.latitude]}})),marker:G,cluster:S});let v;g.addChild(C),T.store?.highlightSelectedStoreMarker&&(v=W.pipe((0,A.Hp)()).subscribe(({previousValue:c,currentValue:l})=>{c&&f.get(c)?.classList.remove("ymaps-map-selected-store-marker"),l&&f.get(l)?.classList.add("ymaps-map-selected-store-marker")})),B(()=>{g.removeChild(C),f.clear(),v?.unsubscribe()})}}}});return function(B){return V.apply(this,arguments)}}()),(0,a.QZP)(function(){var V=(0,P.A)(function*(B){const g=t.yandexMapInstance();if(g){const T=t.displayOptions();if(T.deliveryZone){const D=t.deliveryZones();if(D?.length){const{YMapPopupMarker:w}=yield i.e(5893).then(i.bind(i,95893)),h=new ymaps3.YMapCollection({});let f;for(const G of D){const b=[];for(const F of G.deliveryZonePolygons){const u=[];for(const C of F)u.push([C.longitude,C.latitude]);b.push(u)}const S=new ymaps3.YMapFeature({geometry:{type:"Polygon",coordinates:b},style:{stroke:[{width:2,color:(0,H.uB)(G.deliveryZoneStrokeColor)}],fill:(0,H.uB)(G.deliveryZoneFillColor)},onClick:(F,u)=>{if(T.deliveryZone?.showDeliveryCost){for(const M of g.children.filter(I=>I instanceof w))g.removeChild(M);const C=E.BY.getPointDeliveryZones({latitude:u.coordinates[1],longitude:u.coordinates[0]},D),v=(0,Q.XY)(C),c=document.createElement("div");let l="";l+=v.deliveryPriceInCents?`<div class="mb-1" style="max-width: max(75vw, 15rem);">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span class="fw-bold">${s.instant("DELIVERY_ZONE.DELIVERY_PRICE")}</span>:\n\t\t\t\t\t\t\t\t\t\t\t\t\t${y.transform(v.deliveryPriceInCents)}\n\t\t\t\t\t\t\t\t\t\t\t\t</div>`:`<div class="mb-1" style="max-width: max(75vw, 15rem);">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span class="fw-bold">${s.instant("DELIVERY_ZONE.FREE_DELIVERY")}</span>\n\t\t\t\t\t\t\t\t\t\t\t\t</div>`,v.minCartAmountForDeliveryInCents&&(l+=`<div class="mb-1" style="max-width: max(75vw, 15rem);">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span class="fw-bold">${s.instant("DELIVERY_ZONE.MINIMUM_SUM_FOR_DELIVERY")}</span>:\n\t\t\t\t\t\t\t\t\t\t\t\t\t${y.transform(v.minCartAmountForDeliveryInCents)}\n\t\t\t\t\t\t\t\t\t\t\t\t</div>`),v.minAmountForFreeDeliveryInCents&&(l+=`<div class="mb-1" style="max-width: max(75vw, 15rem);">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span class="fw-bold">${s.instant("DELIVERY_ZONE.MINIMUM_SUM_FOR_FEE_DELIVERY")}</span>:\n\t\t\t\t\t\t\t\t\t\t\t\t\t${y.transform(v.minAmountForFreeDeliveryInCents)}\n\t\t\t\t\t\t\t\t\t\t\t\t</div>`),l+=`<div class="mt-2 yp-text-muted" style="font-size: .7rem; line-height: 1.2; max-width: max(75vw, 15rem);">\n\t\t\t\t\t\t\t\t\t\t\t\t${s.instant("DELIVERY_ZONE.DELIVERY_COST_NOTICE")}\n\t\t\t\t\t\t\t\t\t\t\t</div>`,c.innerHTML=l,f=new w({coordinates:u.coordinates,content:()=>c,zIndex:1}),g.addChild(f)}}});h.addChild(S)}g.addChild(h),B(()=>{g.removeChild(h),f&&g.removeChild(f)})}}}});return function(B){return V.apply(this,arguments)}}())}setMapCenter(t){this.yandexMapInstance()?.setLocation({center:[t.longitude,t.latitude],zoom:14,duration:1e3})}fitBounds(t){const o=this.yandexMapInstance();o&&o.update({margin:[50,50,50,50],location:{bounds:[[t[0].longitude,t[0].latitude],[t[1].longitude,t[1].latitude]],duration:1e3}})}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["yp-maps-yandex"]],viewQuery:function(o,s){1&o&&e.wEZ(s.ymap3Container,ke,5,e.aKT),2&o&&e.NyB()},inputs:{defaultMapCenter:[1,"defaultMapCenter"],stores:[1,"stores"],selectedStoreId:[1,"selectedStoreId"],deliveryZones:[1,"deliveryZones"],displayOptions:[1,"displayOptions"],storePlacemarkImage:[1,"storePlacemarkImage"]},outputs:{storeMarkerClick:"storeMarkerClick"},decls:2,vars:0,consts:[["ymap3Container",""],[1,"h-100"]],template:function(o,s){1&o&&e.Hgh(0,"div",1,0)},encapsulation:2,changeDetection:0})}}return n})();var xe=i(47269);function De(n,m){}function Ze(n,m){if(1&n){const t=e.RV6();e.j41(0,"yp-maps-yandex",5,2),e.nI1(2,"async"),e.bIt("storeMarkerClick",function(s){a.eBV(t);const r=e.XpG();return a.Njj(r.storeMarkerClick.emit(s))}),e.k0s()}if(2&n){let t;const o=e.XpG();e.Y8G("defaultMapCenter",o.defaultMapCenter())("stores",o.stores())("selectedStoreId",o.selectedStoreId())("deliveryZones",o.deliveryZones())("displayOptions",o.displayOptions())("storePlacemarkImage",(null==(t=e.bMT(2,6,o.customerWebSettings$))?null:t.squareLogo)??void 0)}}function Be(n,m){if(1&n){const t=e.RV6();e.j41(0,"yp-maps-google",5,3),e.nI1(2,"async"),e.bIt("storeMarkerClick",function(s){a.eBV(t);const r=e.XpG();return a.Njj(r.storeMarkerClick.emit(s))}),e.k0s()}if(2&n){let t;const o=e.XpG();e.Y8G("defaultMapCenter",o.defaultMapCenter())("stores",o.stores())("selectedStoreId",o.selectedStoreId())("deliveryZones",o.deliveryZones())("displayOptions",o.displayOptions())("storePlacemarkImage",(null==(t=e.bMT(2,6,o.customerWebSettings$))?null:t.squareLogo)??void 0)}}let Te=(()=>{class n{constructor(){this.defaultMapCenter=(0,d.hFB)(),this.stores=(0,d.hFB)(),this.selectedStoreId=(0,d.hFB)(),this.deliveryZones=(0,d.hFB)(),this.displayOptions=(0,d.hFB)({store:{}
1,deliveryZone:{showDeliveryCost:!1}}),this.storeMarkerClick=(0,d.CGW)(),this.store=(0,a.WQX)(te.il),this.googleMap=(0,d.ebz)(Y),this.yandexMap=(0,d.ebz)(R),this.customerWebSettings$=this.store.select(oe.gd).pipe((0,A.eU)()),(0,a.QZP)(()=>{const t=this.googleMap()??this.yandexMap();t&&(0,_.O8)(()=>{this.initialFitBounds&&t.fitBounds(this.initialFitBounds)})})}setMapCenter(t){(this.googleMap()??this.yandexMap())?.setMapCenter(t)}fitBounds(t){const o=this.googleMap()??this.yandexMap();o?o.fitBounds(t):this.initialFitBounds=t}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["yp-maps"]],viewQuery:function(o,s){1&o&&e.wEZ(s.googleMap,Y,5)(s.yandexMap,R,5),2&o&&e.NyB(2)},inputs:{defaultMapCenter:[1,"defaultMapCenter"],stores:[1,"stores"],selectedStoreId:[1,"selectedStoreId"],deliveryZones:[1,"deliveryZones"],displayOptions:[1,"displayOptions"]},outputs:{storeMarkerClick:"storeMarkerClick"},decls:5,vars:2,consts:[["yandexMapsTemplateRef",""],["googleMapsTemplateRef",""],["mapsYandexComponent",""],["mapsGoogleComponent",""],[3,"ypMapsLoader","yandexMapsTemplate","googleMapsTemplate"],[3,"storeMarkerClick","defaultMapCenter","stores","selectedStoreId","deliveryZones","displayOptions","storePlacemarkImage"]],template:function(o,s){if(1&o&&e.DNE(0,De,0,0,"ng-template",4)(1,Ze,3,8,"ng-template",null,0,e.C5r)(3,Be,3,8,"ng-template",null,1,e.C5r),2&o){const r=e.sdS(2),p=e.sdS(4);e.Y8G("yandexMapsTemplate",r)("googleMapsTemplate",p)}},dependencies:[Y,R,xe.M,ee.Jj],encapsulation:2,changeDetection:0})}}return n})()}}]);

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.