File: /var/www/vhost/disk-apps/pwa.sports-crowd.com/www/6122.cd1d1b5e330e7ba5.js
"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[6122],{4154:(I,k,a)=>{a.d(k,{N:()=>C,q:()=>g});var m=a(73308),l=a(18188);class g{constructor(r){this.southwest=r.southwest,this.center=r.center,this.northeast=r.northeast}contains(r){var h=this;return(0,m.A)(function*(){return(yield l.P.mapBoundsContains({bounds:h,point:r})).contains})()}extend(r){var h=this;return(0,m.A)(function*(){const o=yield l.P.mapBoundsExtend({bounds:h,point:r});return h.southwest=o.bounds.southwest,h.center=o.bounds.center,h.northeast=o.bounds.northeast,h})()}}var C=function(u){return u.Normal="Normal",u.Hybrid="Hybrid",u.Satellite="Satellite",u.Terrain="Terrain",u.None="None",u}(C||{})},18188:(I,k,a)=>{a.d(k,{P:()=>l});const l=(0,a(22126).F3)("CapacitorGoogleMaps",{web:()=>a.e(3629).then(a.bind(a,33629)).then(g=>new g.CapacitorGoogleMapsWeb)});l.addListener("isMapInFocus",g=>{var C;const h=document.elementFromPoint(g.x,g.y),i=(null===(C=h?.dataset)||void 0===C?void 0:C.internalId)===g.mapId;l.dispatchMapEvent({id:g.mapId,focus:i})})},56122:(I,k,a)=>{a.r(k),a.d(k,{AddressMapPageModule:()=>F});var m=a(56610),l=a(77897),g=a(37222),C=a(22882),u=a(36075),r=a(73308),h=a(4154),o=a(22126),i=a(18188);class f extends HTMLElement{constructor(){super()}connectedCallback(){if(this.innerHTML="","ios"==o.Ii.getPlatform()){this.style.overflow="scroll",this.style["-webkit-overflow-scrolling"]="touch";const e=document.createElement("div");e.style.height="200%",this.appendChild(e)}}}customElements.define("capacitor-google-map",f);class M{constructor(e){this.element=null,this.resizeObserver=null,this.handleScrollEvent=()=>this.updateMapBounds(),this.id=e}static create(e,n){return(0,r.A)(function*(){const s=new M(e.id);if(!e.element)throw new Error("container element is required");void 0===e.config.androidLiteMode&&(e.config.androidLiteMode=!1),s.element=e.element,s.element.dataset.internalId=e.id;const d=yield M.getElementBounds(e.element);if(e.config.width=d.width,e.config.height=d.height,e.config.x=d.x,e.config.y=d.y,e.config.devicePixelRatio=window.devicePixelRatio,"android"==o.Ii.getPlatform()&&s.initScrolling(),o.Ii.isNativePlatform()){e.element={};const v=()=>{var L,_;const A=null!==(_=null===(L=s.element)||void 0===L?void 0:L.getBoundingClientRect())&&void 0!==_?_:{};return{x:A.x,y:A.y,width:A.width,height:A.height}},p=()=>{i.P.onDisplay({id:s.id,mapBounds:v()})},E=()=>{i.P.onResize({id:s.id,mapBounds:v()})},y=s.element.closest(".ion-page");"ios"===o.Ii.getPlatform()&&y&&(y.addEventListener("ionViewWillEnter",()=>{setTimeout(()=>{p()},100)}),y.addEventListener("ionViewDidEnter",()=>{setTimeout(()=>{p()},100)}));const P={width:d.width,height:d.height,isHidden:!1};s.resizeObserver=new ResizeObserver(()=>{if(null!=s.element){const L=s.element.getBoundingClientRect(),_=0===L.width&&0===L.height;_||(P.isHidden?"ios"===o.Ii.getPlatform()&&!y&&p():(P.width!==L.width||P.height!==L.height)&&E()),P.width=L.width,P.height=L.height,P.isHidden=_}}),s.resizeObserver.observe(s.element)}if(yield new Promise((v,p)=>{setTimeout((0,r.A)(function*(){try{yield i.P.create(e),v(void 0)}catch(E){p(E)}}),200)}),n){const v=yield i.P.addListener("onMapReady",p=>{p.mapId==s.id&&(n(p),v.remove())})}return s})()}static getElementBounds(e){return(0,r.A)(function*(){return new Promise(n=>{let s=e.getBoundingClientRect();if(0==s.width){let d=0;const v=setInterval(function(){0==s.width&&d<30?(s=e.getBoundingClientRect(),d++):(30==d&&console.warn("Map size could not be determined"),clearInterval(v),n(s))},100)}else n(s)})})()}enableTouch(){var e=this;return(0,r.A)(function*(){return i.P.enableTouch({id:e.id})})()}disableTouch(){var e=this;return(0,r.A)(function*(){return i.P.disableTouch({id:e.id})})()}enableClustering(e){var n=this;return(0,r.A)(function*(){return i.P.enableClustering({id:n.id,minClusterSize:e})})()}disableClustering(){var e=this;return(0,r.A)(function*(){return i.P.disableClustering({id:e.id})})()}addMarker(e){var n=this;return(0,r.A)(function*(){return(yield i.P.addMarker({id:n.id,marker:e})).id})()}addMarkers(e){var n=this;return(0,r.A)(function*(){return(yield i.P.addMarkers({id:n.id,markers:e})).ids})()}removeMarker(e){var n=this;return(0,r.A)(function*(){return i.P.removeMarker({id:n.id,markerId:e})})()}removeMarkers(e){var n=this;return(0,r.A)(function*(){return i.P.removeMarkers({id:n.id,markerIds:e})})()}addPolygons(e){var n=this;return(0,r.A)(function*(){return(yield i.P.addPolygons({id:n.id,polygons:e})).ids})()}addPolylines(e){var n=this;return(0,r.A)(function*(){return(yield i.P.addPolylines({id:n.id,polylines:e})).ids})()}removePolygons(e){var n=this;return(0,r.A)(function*(){return i.P.removePolygons({id:n.id,polygonIds:e})})()}addCircles(e){var n=this;return(0,r.A)(function*(){return(yield i.P.addCircles({id:n.id,circles:e})).ids})()}removeCircles(e){var n=this;return(0,r.A)(function*(){return i.P.removeCircles({id:n.id,circleIds:e})})()}removePolylines(e){var n=this;return(0,r.A)(function*(){return i.P.removePolylines({id:n.id,polylineIds:e})})()}destroy(){var e=this;return(0,r.A)(function*(){var n;return"android"==o.Ii.getPlatform()&&e.disableScrolling(),o.Ii.isNativePlatform()&&(null===(n=e.resizeObserver)||void 0===n||n.disconnect()),e.removeAllMapListeners(),i.P.destroy({id:e.id})})()}setCamera(e){var n=this;return(0,r.A)(function*(){return i.P.setCamera({id:n.id,config:e})})()}getMapType(){var e=this;return(0,r.A)(function*(){const{type:n}=yield i.P.getMapType({id:e.id});return h.N[n]})()}setMapType(e){var n=this;return(0,r.A)(function*(){return i.P.setMapType({id:n.id,mapType:e})})()}enableIndoorMaps(e){var n=this;return(0,r.A)(function*(){return i.P.enableIndoorMaps({id:n.id,enabled:e})})()}enableTrafficLayer(e){var n=this;return(0,r.A)(function*(){return i.P.enableTrafficLayer({id:n.id,enabled:e})})()}enableAccessibilityElements(e){var n=this;return(0,r.A)(function*(){return i.P.enableAccessibilityElements({id:n.id,enabled:e})})()}enableCurrentLocation(e){var n=this;return(0,r.A)(function*(){return i.P.enableCurrentLocation({id:n.id,enabled:e})})()}setPadding(e){var n=this;return(0,r.A)(function*(){return i.P.setPadding({id:n.id,padding:e})})()}getMapBounds(){var e=this;return(0,r.A)(function*(){return new h.q(yield i.P.getMapBounds({id:e.id}))})()}fitBounds(e,n){var s=this;return(0,r.A)(function*(){return i.P.fitBounds({id:s.id,bounds:e,padding:n})})()}initScrolling(){const e=document.getElementsByTagName("ion-content");for(let n=0;n<e.length;n++)e[n].scrollEvents=!0;window.addEventListener("ionScroll",this.handleScrollEvent),window.addEventListener("scroll",this.handleScrollEvent),window.addEventListener("resize",this.handleScrollEvent),screen.orientation?screen.orientation.addEventListener("change",()=>{setTimeout(this.updateMapBounds,500)}):window.addEventListener("orientationchange",()=>{setTimeout(this.updateMapBounds,500)})}disableScrolling(){window.removeEventListener("ionScroll",this.handleScrollEvent),window.removeEventListener("scroll",this.handleScrollEvent),window.removeEventListener("resize",this.handleScrollEvent),screen.orientation?screen.orientation.removeEventListener("change",()=>{setTimeout(this.updateMapBounds,1e3)}):window.removeEventListener("orientationchange",()=>{setTimeout(this.updateMapBounds,1e3)})}updateMapBounds(){if(this.element){const e=this.element.getBoundingClientRect();i.P.onScroll({id:this.id,mapBounds:{x:e.x,y:e.y,width:e.width,height:e.height}})}}setOnCameraIdleListener(e){var n=this;return(0,r.A)(function*(){n.onCameraIdleListener&&n.onCameraIdleListener.remove(),n.onCameraIdleListener=e?yield i.P.addListener("onCameraIdle",n.generateCallback(e)):void 0})()}setOnBoundsChangedListener(e){var n=this;return(0,r.A)(function*(){n.onBoundsChangedListener&&n.onBoundsChangedListener.remove(),n.onBoundsChangedListener=e?yield i.P.addListener("onBoundsChanged",n.generateCallback(e)):void 0})()}setOnCameraMoveStartedListener(e){var n=this;return(0,r.A)(function*(){n.onCameraMoveStartedListener&&n.onCameraMoveStartedListener.remove(),n.onCameraMoveStartedListener=e?yield i.P.addListener("onCameraMoveStarted",n.generateCallback(e)):void 0})()}setOnClusterClickListener(e){var n=this;return(0,r.A)(function*(){n.onClusterClickListener&&n.onClusterClickListener.remove(),n.onClusterClickListener=e?yield i.P.addListener("onClusterClick",n.generateCallback(e)):void 0})()}setOnClusterInfoWindowClickListener(e){var n=this;return(0,r.A)(function*(){n.onClusterInfoWindowClickListener&&n.onClusterInfoWindowClickListener.remove(),n.onClusterInfoWindowClickListener=e?yield i.P.addListener("onClusterInfoWindowClick",n.generateCallback(e)):void 0})()}setOnInfoWindowClickListener(e){var n=this;return(0,r.A)(function*(){n.onInfoWindowClickListener&&n.onInfoWindowClickListener.remove(),n.onInfoWindowClickListener=e?yield i.P.addListener("onInfoWindowClick",n.generateCallback(e)):void 0})()}setOnMapClickListener(e){var n=this;return(0,r.A)(function*(){n.onMapClickListener&&n.onMapClickListener.remove(),n.onMapClickListener=e?yield i.P.addListener("onMapClick",n.generateCallback(e)):void 0})()}setOnPolygonClickListener(e){var n=this;return(0,r.A)(function*(){n.onPolygonClickListener&&n.onPolygonClickListener.remove(),n.onPolygonClickListener=e?yield i.P.addListener("onPolygonClick",n.generateCallback(e)):void 0})()}setOnCircleClickListener(e){var n=this;return(0,r.A)(function*(){n.onCircleClickListener&&n.onCircleClickListener.remove(),n.onCircleClickListener=e?yield i.P.addListener("onCircleClick",n.generateCallback(e)):void 0})()}setOnMarkerClickListener(e){var n=this;return(0,r.A)(function*(){n.onMarkerClickListener&&n.onMarkerClickListener.remove(),n.onMarkerClickListener=e?yield i.P.addListener("onMarkerClick",n.generateCallback(e)):void 0})()}setOnPolylineClickListener(e){var n=this;return(0,r.A)(function*(){n.onPolylineClickListener&&n.onPolylineClickListener.remove(),n.onPolylineClickListener=e?yield i.P.addListener("onPolylineClick",n.generateCallback(e)):void 0})()}setOnMarkerDragStartListener(e){var n=this;return(0,r.A)(function*(){n.onMarkerDragStartListener&&n.onMarkerDragStartListener.remove(),n.onMarkerDragStartListener=e?yield i.P.addListener("onMarkerDragStart",n.generateCallback(e)):void 0})()}setOnMarkerDragListener(e){var n=this;return(0,r.A)(function*(){n.onMarkerDragListener&&n.onMarkerDragListener.remove(),n.onMarkerDragListener=e?yield i.P.addListener("onMarkerDrag",n.generateCallback(e)):void 0})()}setOnMarkerDragEndListener(e){var n=this;return(0,r.A)(function*(){n.onMarkerDragEndListener&&n.onMarkerDragEndListener.remove(),n.onMarkerDragEndListener=e?yield i.P.addListener("onMarkerDragEnd",n.generateCallback(e)):void 0})()}setOnMyLocationButtonClickListener(e){var n=this;return(0,r.A)(function*(){n.onMyLocationButtonClickListener&&n.onMyLocationButtonClickListener.remove(),n.onMyLocationButtonClickListener=e?yield i.P.addListener("onMyLocationButtonClick",n.generateCallback(e)):void 0})()}setOnMyLocationClickListener(e){var n=this;return(0,r.A)(function*(){n.onMyLocationClickListener&&n.onMyLocationClickListener.remove(),n.onMyLocationClickListener=e?yield i.P.addListener("onMyLocationClick",n.generateCallback(e)):void 0})()}removeAllMapListeners(){var e=this;return(0,r.A)(function*(){e.onBoundsChangedListener&&(e.onBoundsChangedListener.remove(),e.onBoundsChangedListener=void 0),e.onCameraIdleListener&&(e.onCameraIdleListener.remove(),e.onCameraIdleListener=void 0),e.onCameraMoveStartedListener&&(e.onCameraMoveStartedListener.remove(),e.onCameraMoveStartedListener=void 0),e.onClusterClickListener&&(e.onClusterClickListener.remove(),e.onClusterClickListener=void 0),e.onClusterInfoWindowClickListener&&(e.onClusterInfoWindowClickListener.remove(),e.onClusterInfoWindowClickListener=void 0),e.onInfoWindowClickListener&&(e.onInfoWindowClickListener.remove(),e.onInfoWindowClickListener=void 0),e.onMapClickListener&&(e.onMapClickListener.remove(),e.onMapClickListener=void 0),e.onPolylineClickListener&&(e.onPolylineClickListener.remove(),e.onPolylineClickListener=void 0),e.onMarkerClickListener&&(e.onMarkerClickListener.remove(),e.onMarkerClickListener=void 0),e.onPolygonClickListener&&(e.onPolygonClickListener.remove(),e.onPolygonClickListener=void 0),e.onCircleClickListener&&(e.onCircleClickListener.remove(),e.onCircleClickListener=void 0),e.onMarkerDragStartListener&&(e.onMarkerDragStartListener.remove(),e.onMarkerDragStartListener=void 0),e.onMarkerDragListener&&(e.onMarkerDragListener.remove(),e.onMarkerDragListener=void 0),e.onMarkerDragEndListener&&(e.onMarkerDragEndListener.remove(),e.onMarkerDragEndListener=void 0),e.onMyLocationButtonClickListener&&(e.onMyLocationButtonClickListener.remove(),e.onMyLocationButtonClickListener=void 0),e.onMyLocationClickListener&&(e.onMyLocationClickListener.remove(),e.onMyLocationClickListener=void 0)})()}generateCallback(e){const n=this.id;return s=>{s.mapId==n&&e(s)}}}var t=a(2978),T=a(57291),w=a(86962),S=a(54171),O=a(46868);const D=["map"];function b(c,e){if(1&c){const n=t.RV6();t.j41(0,"ion-grid")(1,"ion-row",4)(2,"ion-label",1),t.nrm(3,"ion-icon",5),t.EFF(4),t.k0s()(),t.j41(5,"ion-row",4)(6,"ion-label",1),t.EFF(7),t.nI1(8,"translate"),t.k0s()(),t.j41(9,"ion-row",4)(10,"ion-col",6)(11,"ion-button",7),t.bIt("click",function(){t.eBV(n);const d=t.XpG();return t.Njj(d.editLocationAddress())}),t.EFF(12),t.nI1(13,"translate"),t.k0s()(),t.j41(14,"ion-col",6)(15,"ion-button",8),t.bIt("click",function(){t.eBV(n);const d=t.XpG();return t.Njj(d.exitUpdateLocation())}),t.EFF(16),t.nI1(17,"translate"),t.k0s()()()()}if(2&c){const n=t.XpG();t.R7$(4),t.SpI(" ",n.addressEdit,""),t.R7$(3),t.JRh(t.bMT(8,4,"ADDRESS_MAP_TITLE_FOOTER1")),t.R7$(5),t.SpI(" ",t.bMT(13,6,"BUTTON1_FOOTER1"),""),t.R7$(4),t.SpI(" ",t.bMT(17,8,"BUTTON2_FOOTER1"),"")}}function B(c,e){if(1&c){const n=t.RV6();t.j41(0,"ion-grid")(1,"ion-row",4)(2,"ion-label",1),t.EFF(3),t.nI1(4,"translate"),t.nrm(5,"ion-icon",5),t.EFF(6),t.nI1(7,"translate"),t.k0s()(),t.j41(8,"ion-row",4)(9,"ion-label",1),t.EFF(10),t.nI1(11,"translate"),t.k0s()(),t.j41(12,"ion-row",4)(13,"ion-col",9)(14,"ion-button",7),t.bIt("click",function(){t.eBV(n);const d=t.XpG();return t.Njj(d.updateLocationAddressUser())}),t.EFF(15),t.nI1(16,"translate"),t.k0s()()()()}2&c&&(t.R7$(3),t.JRh(t.bMT(4,4,"ADDRESS_MAP_TITLE1_FOOTER2")),t.R7$(3),t.JRh(t.bMT(7,6,"ADDRESS_MAP_TITLE2_FOOTER2")),t.R7$(4),t.JRh(t.bMT(11,8,"ADDRESS_MAP_TITLE3_FOOTER2")),t.R7$(5),t.SpI(" ",t.bMT(16,10,"TUTORIAL_CONTINUE_BUTTON"),""))}const R=[{path:"",component:(()=>{class c{constructor(n,s,d,v,p,E,y,P,L){this.navCtrl=n,this.storage=s,this.loadingCtrl=d,this.addressProvider=v,this.toastCtrl=p,this.translateService=E,this.route=y,this.utilsService=P,this.cartProvider=L,this.statusEditMarker=!1,this.translateService.get(["SUCCESS_UPDATE_LOCATION"]).subscribe(_=>{this.toastMessageText={successUpdateLocation:_.SUCCESS_UPDATE_LOCATION}}),this.pageOrigin=this.route.snapshot.paramMap.get("pageOrigin"),this.coords=this.addressProvider._coords,this.addressUser=this.addressProvider._addressUser,this.address_id=this.addressProvider._address_id,this.addressEdit=this.addressUser.typeTrack+" "+this.addressUser.track1+" # "+this.addressUser.track2+" - "+this.addressUser.track3}ngOnInit(){this.loadMap()}loadMap(){var n=this;return(0,r.A)(function*(){n.map=yield M.create({id:"map_canvas",element:n.mapElement.nativeElement,apiKey:"AIzaSyDv579f74i_47NZHBfdxAxprOsZ526iHVI",config:{center:{lat:n.coords.latitude,lng:n.coords.longitude},zoom:18,tilt:30}}),yield n.map.setCamera({coordinate:{lat:n.coords.latitude,lng:n.coords.longitude}}),n.marker=n.map.addMarker({title:"Tu ubicaci\xf3n",icon:"green",draggable:!0,animation:"DROP",position:{lat:n.coords.latitude,lng:n.coords.longitude}})})()}editLocationAddress(){this.statusEditMarker=!0}exitUpdateLocation(){"confirmOrder"==this.pageOrigin||"addressListCreate"==this.pageOrigin?(this.cartProvider.updateAddressPrice(),this.navCtrl.back(),setTimeout(()=>{this.navCtrl.back()},500)):"signup"==this.pageOrigin&&this.navCtrl.navigateRoot("/app/tabs/shop")}updateLocationAddressUser(){let n=this.marker.getPosition();this.storage.get("token").then(s=>{s&&(this.utilsService.presentLoading(this.translateService.instant("all.loading")),this.addressProvider.updateLocationAddress(this.address_id,n,s.access_token).subscribe(d=>{this.utilsService.dismissLoading(),"success"==d.status&&(this.utilsService.presentToast(3e3,"success","top",this.toastMessageText.successUpdateLocation),this.exitUpdateLocation())},d=>{this.utilsService.dismissLoading(),console.log("error generateOrder",d)}))})}static#e=this.\u0275fac=function(s){return new(s||c)(t.rXU(l.q9),t.rXU(T.n),t.rXU(l.Xi),t.rXU(w.E),t.rXU(l.K_),t.rXU(C.c$),t.rXU(u.nX),t.rXU(S.T),t.rXU(O.m))};static#n=this.\u0275cmp=t.VBU({type:c,selectors:[["page-address-map"]],viewQuery:function(s,d){if(1&s&&t.GBs(D,5),2&s){let v;t.mGM(v=t.lsd())&&(d.mapElement=v.first)}},decls:11,vars:5,consts:[[1,"ion-no-border"],[1,"ion-text-center"],["id","map"],[4,"ngIf"],[1,"display_center"],["name","pin-outline"],["col-6","",1,"ion-no-padding","ion-no-margin"],["expand","block","fill","solid",3,"click"],["color","secondary","expand","block","fill","solid",3,"click"],["col-12","",1,"ion-no-padding","ion-no-margin"]],template:function(s,d){1&s&&(t.j41(0,"ion-header",0)(1,"ion-toolbar",1)(2,"ion-title"),t.EFF(3),t.nI1(4,"translate"),t.k0s()()(),t.j41(5,"ion-content"),t.nrm(6,"capacitor-google-map",2),t.k0s(),t.j41(7,"ion-footer")(8,"ion-toolbar"),t.DNE(9,b,18,10,"ion-grid",3),t.DNE(10,B,17,12,"ion-grid",3),t.k0s()()),2&s&&(t.R7$(3),t.JRh(t.bMT(4,3,"TITLE_ADDRESS_MAP")),t.R7$(6),t.Y8G("ngIf",!d.statusEditMarker),t.R7$(1),t.Y8G("ngIf",d.statusEditMarker))},dependencies:[m.bT,l.Jm,l.hU,l.W9,l.M0,l.lO,l.eU,l.iq,l.he,l.ln,l.BC,l.ai,C.D9],styles:["#map_canvas[_ngcontent-%COMP%]{height:100%}"]})}return c})()}];let U=(()=>{class c{static#e=this.\u0275fac=function(s){return new(s||c)};static#n=this.\u0275mod=t.$C({type:c});static#t=this.\u0275inj=t.G2t({imports:[u.iI.forChild(R),u.iI]})}return c})(),F=(()=>{class c{static#e=this.\u0275fac=function(s){return new(s||c)};static#n=this.\u0275mod=t.$C({type:c});static#t=this.\u0275inj=t.G2t({imports:[m.MD,l.bv,g.YN,C.h.forChild(),U]})}return c})()},86962:(I,k,a)=>{a.d(k,{E:()=>u});var m=a(73308),l=a(2978),g=a(3366),C=a(54171);let u=(()=>{class r{constructor(o,i){this.api=o,this.utilsService=i,this._allCitiesService=[],this._allDepartments=[]}getAllCitiesService(){var o=this;return(0,m.A)(function*(){(yield o.api.getFree("address/allCitiesService")).subscribe(f=>{"success"==f.status&&(o._allCitiesService=f.citiesService,o._pointCoverage=f.pointCoverage.point_coverage)},f=>{console.error("Error provider address getAllCitiesService",f)})})()}getAllDepartments(){var o=this;return(0,m.A)(function*(){return new Promise(function(){var i=(0,m.A)(function*(f,M){(yield o.api.getFree("address/allDepartments")).subscribe(t=>{"success"==t.status&&(o._allDepartments=t.departments),f(t)},t=>{console.error("Error provider address getAllDepartments",t),M(t)})});return function(f,M){return i.apply(this,arguments)}}())})()}getAllCities(o){return this.api.getFree("address/allCities/"+o)}getAllCitiesAdvisor(o){return this.api.getFree("address/allCities/"+o)}addAddressUser(o,i){return this.api.post("address/add",o,i)}deleteAddress(o,i){return this.api.post("address/delete",{address_id:o},i)}updateLocationAddress(o,i,f){return this.api.put("address/updateLocation",{address_id:o,lat:i.lat,lng:i.lng},f)}saveCoveragePending(o,i){return this.api.post("address/saveCoveragePending",o,i)}addresToLatLong(o,i){return this.api.get("address/geocode/"+encodeURIComponent(o),i)}static#e=this.\u0275fac=function(i){return new(i||r)(l.KVO(g.G),l.KVO(C.T))};static#n=this.\u0275prov=l.jDH({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})()}}]);