(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{535:function(t,e,a){var i=a(553);i.__esModule&&(i=i.default),"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a(10).default)("72a7b6a2",i,!0,{sourceMap:!1})},544:function(t,e,a){"use strict";a(36);var i={name:"StoreCard",props:{store:[Object,Array],position:String,mode:String,alert:Number},data:function(){return{userDistance:null}},computed:{geolocalization:function(){return this.$store.state.geolocalization},models:function(){return this.store&&this.store.articoli?this.$helpers.convertObjToArr(this.store.articoli):[]}},watch:{alert:function(t){this.userDistance=this.store.distanceFromUser}},mounted:function(){this.userDistance=this.store.distanceFromUser},methods:{addhttp:function(t){return-1===t.indexOf("://")?"http://"+t:t}}},o=(a(691),a(0)),s=Object(o.a)(i,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("article",{staticClass:"o-store-card",class:[t.position?"-"+t.position:null,t.mode?"-"+t.mode+"-mode":null]},[a("div",{staticClass:"o-store-card__inner"},["list"===t.position?a("div",{staticClass:"o-store-card__icon"},[a("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 18 29"}},[a("path",{attrs:{fill:[t.mode&&"light"==t.mode?"#fff":"#000"],d:"M13,9c0,2.2-1.8,4-4,4s-4-1.8-4-4s1.8-4,4-4S13,6.8,13,9z M9.6,18v11h-1V18C3.8,17.8,0,13.8,0,9c0-5,4-9,9-9s9,4,9,9\n\tC18,13.8,14.3,17.7,9.6,18z M17,9c0-4.4-3.6-8-8-8S1,4.6,1,9s3.6,8,8,8S17,13.4,17,9z"}})])]):t._e(),t._v(" "),t.store.titolo?a("h4",{staticClass:"o-store-card__name",class:[{"is-premium":!0===t.store.premium||"SI"===t.store.premium},"-"+t.position]},[!0===t.store.premium||"SI"===t.store.premium?a("span",{staticClass:"o-store-card__premium"},[a("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 100 100"}},[a("path",{attrs:{d:"M93.9,36c-5-0.7-9.2-1.3-9.2-1.3l-15.2-2.2c-1.7-0.2-3.7-1.7-4.5-3.3l-6.8-13.8c0,0-1.8-3.7-4.1-8.3c-2.3-4.6-5.9-4.6-8.2,0\n\tc-2.3,4.6-4.1,8.3-4.1,8.3L35,29.2c-0.8,1.5-2.8,3-4.5,3.3l-15.2,2.2c0,0-4.1,0.6-9.2,1.3c-5,0.7-6.2,4.2-2.5,7.8\n\tc3.6,3.6,6.6,6.5,6.6,6.5l11,10.8c1.2,1.2,2,3.6,1.7,5.3l-2.6,15.2c0,0-0.7,4.1-1.6,9.1c-0.9,5,2.1,7.2,6.6,4.8\n\tc4.5-2.4,8.2-4.3,8.2-4.3l13.6-7.2c1.5-0.8,4-0.8,5.5,0l13.6,7.2c0,0,3.7,1.9,8.2,4.3c4.5,2.4,7.5,0.2,6.6-4.8\n\tc-0.9-5-1.6-9.1-1.6-9.1l-2.6-15.2c-0.3-1.7,0.5-4.1,1.7-5.3l11-10.8c0,0,3-2.9,6.6-6.5C100.1,40.2,99,36.7,93.9,36z"}})])]):t._e(),t._v(" "),a("span",{domProps:{innerHTML:t._s(t.store.titolo)}})]):t._e(),t._v(" "),a("div",{staticClass:"o-store-card__address",class:"-"+t.position},[t.store.indirizzo?a("span",{staticClass:"o-store-card__address-data",domProps:{innerHTML:t._s(t.store.indirizzo)}}):t._e(),t._v(" "),t.store.nazione?a("span",{staticClass:"o-store-card__address-data",domProps:{innerHTML:t._s(t.store.nazione)}}):t._e()]),t._v(" "),a("div",{staticClass:"o-store-card__links-wr",class:"-"+t.position},[t.store.telefono?a("a",{staticClass:"o-store-card__contact-link",attrs:{href:"tel:"+t.store.telefono}},[a("span",{staticClass:"contact-link-label"},[t._v("T")]),t._v(" "),a("span",[t._v(t._s(t.store.telefono))])]):t._e(),t._v(" "),t.store.cellulare?a("a",{staticClass:"o-store-card__contact-link",attrs:{href:"tel:"+t.store.cellulare}},[a("span",{staticClass:"contact-link-label"},[t._v("M")]),t._v(" "),a("span",[t._v(t._s(t.store.cellulare))])]):t._e(),t._v(" "),t.store.fax?a("p",{staticClass:"o-store-card__contact-link -fax"},[a("span",{staticClass:"contact-link-label"},[t._v("F")]),t._v(" "),a("span",[t._v(t._s(t.store.fax))])]):t._e()]),t._v(" "),a("div",{staticClass:"o-store-card__links-wr",class:"-"+t.position},[t.store.email?a("a",{staticClass:"o-store-card__contact-link",attrs:{href:"mailto:"+t.store.email}},[a("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor"}},[a("path",{attrs:{d:"M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"}}),t._v(" "),a("polyline",{attrs:{points:"22,6 12,13 2,6"}})]),t._v(" "),a("span",[t._v(t._s(t.store.email))])]):t._e(),t._v(" "),t.store.sito_web?a("a",{staticClass:"o-store-card__contact-link",attrs:{href:t.addhttp(t.store.sito_web),target:"_blank",rel:"noopener"}},[a("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor"}},[a("path",{attrs:{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}}),t._v(" "),a("polyline",{attrs:{points:"15 3 21 3 21 9"}}),t._v(" "),a("line",{attrs:{x1:"10",y1:"14",x2:"21",y2:"3"}})]),t._v(" "),a("span",[t._v(t._s(t.store.sito_web))])]):t._e()]),t._v(" "),t.models&&t.models.length?a("div",{staticClass:"o-store-card__links-wr -articles",class:"-"+t.position},[a("p",{staticClass:"o-store-card__links-title"},[t._v("\n "+t._s(t.$t("menu-prodotti"))+"\n ")]),t._v(" "),a("ul",t._l(t.models,(function(e,i){return a("li",{key:i,staticClass:"o-store-card__article"},[a("v-btn",{attrs:{to:t.localePath({name:"products-slug",params:{slug:t.$helpers.slugify(e.titolo)+"-"+e.id_falmec}})}},[t._v("\n "+t._s(e.titolo)+"\n ")])],1)})),0)]):t._e(),t._v(" "),t.store.provincie_ufficiali?a("p",{staticClass:"o-store-card__official-dealer"},[t._v("\n "+t._s(t.store.provincie_ufficiali)+"\n ")]):t._e(),t._v(" "),a("transition",{attrs:{name:"slide-up",mode:"out-in"}},[null!==t.userDistance?a("p",{staticClass:"o-store-card__distance",class:"-"+t.position},[t._v("\n "+t._s(t.$t("distance-label"))+": "+t._s(Math.round(t.store.distanceFromUser))+"Km\n ")]):t._e()])],1),t._v(" "),"panel"===t.position?a("div",{staticClass:"o-store-card__gmap"},[a("base-button-icon",{attrs:{text:"Googlemaps",bind:{href:"https://g.page/"+t.store.titolo+"-"+t.store.indirizzo+"?share",target:"_blank",rel:"noopener"},icon:"IconUiCross","icon-position":"right","icon-color":"white","icon-size":"small"}})],1):t._e()])}),[],!1,null,null,null);e.a=s.exports},551:function(t,e,a){"use strict";a.d(e,"a",(function(){return i}));var i=[{elementType:"geometry",stylers:[{color:"#f5f5f5"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f5f5"}]},{featureType:"administrative.land_parcel",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"poi",elementType:"labels.text",stylers:[{visibility:"off"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.business",stylers:[{visibility:"off"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"poi.park",elementType:"labels.text",stylers:[{visibility:"off"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#ffffff"}]},{featureType:"road.arterial",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"road.arterial",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#dadada"}]},{featureType:"road.highway",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"road.local",stylers:[{visibility:"off"}]},{featureType:"road.local",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#ededed"},{weight:2}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]}]},552:function(t,e,a){"use strict";a(535)},553:function(t,e,a){var i=a(9)(!1);i.push([t.i,'.map-marker{cursor:pointer;width:32px;height:32px;display:flex;align-items:center;justify-content:center}.map-marker svg{position:relative;z-index:1;display:block;width:32px;height:32px}.map-marker:before{display:block;content:"";position:absolute;width:200%;height:200%;top:-50%;left:-50%;border-radius:50%;background-color:#fff;transition:opacity 0.6s, transform 0.6s;opacity:0}.map-marker:hover:before{opacity:0.5;transform:scale(1.1)}.map-marker.active:before{opacity:0.7}.map-marker.active:hover:before{opacity:1;transform:scale(1)}.map-marker.active:after{display:block;content:"";position:absolute;width:200%;height:200%;top:-50%;left:-50%;border-radius:50%;background-color:#953a2f;opacity:0.5;animation:markerPulse 3s infinite}.map-marker__label{display:none;text-transform:uppercase;text-align:center;position:absolute;top:100%;left:50%;transform:translateX(-50%);color:white}@keyframes markerPulse{0%{transform:scale(1);opacity:1}100%{transform:scale(2);opacity:0}}\n',""]),t.exports=i},562:function(t,e,a){"use strict";var i=a(11),o=(a(41),a(21),a(4),a(18),a(305),a(36),a(551)),s=a(563),r=a(544),n=a(26),l={name:"DistributorsMap",components:{MapMarker:s.a,StoreCard:r.a},mixins:[n.a],props:{stores:[Array,Object],mode:String,pageId:String},data:function(){return{distance:null,autocompleteBInd:null,panelVisible:!1,places:[],currentPlace:null,geolocalized:!1,geolocationWatchID:null,geolocalizationDisable:!1,calculatingUserPosition:!1,searchRadius:null,center:null,bounds:null,userPosition:null,map:null,mapCenter:{lat:0,lng:0},mapOptions:{zoomControl:!0,zoomControlOptions:{position:1},mapTypeControl:!1,scaleControl:!1,streetViewControl:!1,rotateControl:!1,fullscreenControl:!1,disableDefaultUi:!0,styles:o.a,zoom:5,minZoom:2,maxZoom:16},polygons:[],polygonsOptions:{clickable:!1,geodesic:!0,fillColor:"#953a2f",fillOpacity:.2,strokeColor:"#953a2f",strokeWeight:2},activeMarkerId:""}},computed:{geolocalization:function(){return this.$store.state.geolocalization},geolocalizationActived:function(){return this.geolocalization.enabled&&this.geolocalization.userLocation},searchCoords:function(){var t=this.currentPlace&&""!==this.currentPlace.name,e=this.geolocalization&&null!==this.geolocalization.userLocation&&null!==this.geolocalization.userLocation.lat;return{lat:t?this.currentPlace.geometry.location.lat():e?this.geolocalization.userLocation.lat:null,lng:t?this.currentPlace.geometry.location.lng():e?this.geolocalization.userLocation.lng:null}},markers:function(){var t=this,e=[];this.stores.forEach((function(a){(a.latitudine||a.longitudine)&&(a.distanceFromUser=t.searchCoords.lat&&t.searchCoords.lng?t.$helpers.HaversineInKM(t.searchCoords.lat,t.searchCoords.lng,a.latitudine,a.longitudine):null,e.push({id:parseFloat(a.id_negozio),lat:parseFloat(a.latitudine),lng:parseFloat(a.longitudine),isActive:t.activeMarkerId==a.id,companyName:a.titolo,distanceFromUser:t.searchCoords.lat&&t.searchCoords.lng?t.$helpers.HaversineInKM(t.searchCoords.lat,t.searchCoords.lng,a.latitudine,a.longitudine):null}))}));var a=[];return this.searchCoords.lat&&this.searchCoords.lng&&(a=this.stores.sort((function(t,e){return t.distanceFromUser-e.distanceFromUser}))),this.$eventBus.$emit("FILTERED_STORES-".concat(this.pageId),a),e},filteredMarkersByRadius:function(){var t=this.markers,e=this.searchRadius?this.searchRadius:200;return t.filter((function(t){return t.distanceFromUser<=e}))},getLatLngBounds:function(){var t,e;return!this.geolocalized||this.geolocalizationDisable||this.calculatingUserPosition?0!==this.filteredMarkersByRadius.length||this.currentPlace?0===this.filteredMarkersByRadius.length?{lat:this.currentPlace.geometry.location.lat(),lng:this.currentPlace.geometry.location.lng()}:{lat:(this.filteredMarkersByRadius[0].lat+this.filteredMarkersByRadius[this.filteredMarkersByRadius.length-1].lat)/2,lng:(this.filteredMarkersByRadius[0].lng+this.filteredMarkersByRadius[this.filteredMarkersByRadius.length-1].lng)/2}:{lat:0,lng:0}:{lat:null===(t=this.userPosition)||void 0===t?void 0:t.lat,lng:null===(e=this.userPosition)||void 0===e?void 0:e.lng}},panelItem:function(){var t=this;return this.stores.filter((function(e){return parseFloat(e.id_negozio)===t.activeMarkerId}))[0]},panelCoordinates:function(){var t=this;return this.stores.filter((function(e){return parseFloat(e.id_negozio)===t.activeMarkerId}))[0]}},watch:{geolocalized:function(t){t?this.geolocate():this.clearGeolocate()}},created:function(){var t=document.getElementsByTagName("head")[0],e=t.insertBefore;t.insertBefore=function(a,i){a.href&&0===a.href.indexOf("https://fonts.googleapis.com/css?family=Roboto")||e.call(t,a,i)}},mounted:function(){var t=this;this.$refs.map&&(this.$refs.map.$mapPromise.then((function(e){t.map=e})),this.handlePermission())},methods:{onDistanceSelection:function(t){this.distance=t.target.value},onMapDragEnd:function(){this.panelVisible&&this.clearActiveMarker()},panTo:function(t,e,a){this.map.panTo({lat:t.lat,lng:t.lng});var i=this.currentPlace&&this.geolocalizationActived?10:8,o=e||i;this.map.setZoom(o),a&&this.$vssWidth>=1024&&this.map.panBy(-this.$refs.container.offsetWidth/4,0)},onMarkerClick:function(t){var e=this;this.setActiveMarker(t),setTimeout((function(){e.panTo(t,12,!0)}),200),this.showPanel(t)},setActiveMarker:function(t){this.activeMarkerId=t.id},clearActiveMarker:function(){this.activeMarkerId=""},showPanel:function(t){this.panelVisible=!0},hidePanel:function(){this.panelVisible=!1,this.clearActiveMarker()},setPlace:function(t){t.geometry?this.currentPlace=t:this.currentPlace=null},onSubmitSearch:function(t){var e,a=t.target,i=new FormData(a),o=Object.fromEntries(i),s=parseInt(o["select-radius"]),r=document.querySelectorAll("#autocomplete-map-search-form")[0].value;if(0==r.length)return this.currentPlace=null,void(this.map.zoom=3);0==r.length&&this.geolocalizationActived&&(this.map.zoom=5),s&&Number.isInteger(s)?this.searchRadius=s:this.searchRadius=null,!this.currentPlace&&this.geolocalizationActived?this.panTo({lat:this.userPosition.lat,lng:this.userPosition.lng}):null!==(e=this.currentPlace)&&void 0!==e&&e.geometry&&(this.currentPlace&&(this.panTo({lat:this.currentPlace.geometry.location.lat(),lng:this.currentPlace.geometry.location.lng()}),this.places.push(this.currentPlace)),this.panelVisible&&this.clearActiveMarker(),this.$eventBus.$emit("ON_STORES_SEARCHFORM_SUBMIT"))},geolocate:function(){var t=this;return Object(i.a)(regeneratorRuntime.mark((function e(){var a,i,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.calculatingUserPosition=!0,a=function(e){t.userPosition={lat:e.coords.latitude,lng:e.coords.longitude},t.$store.commit("setGeolocalization",{enabled:!0,userLocation:{lat:e.coords.latitude,lng:e.coords.longitude}}),t.calculatingUserPosition=!1,t.handlePermission()},i=function(e){t.$store.commit("setGeolocalization",{enabled:!1,userLocation:{lat:0,lng:0}}),t.calculatingUserPosition=!1,document.querySelectorAll("input[name='allow-geolocalization']")[0].checked=!1,t.geolocalizationDisable=!0},o={enableHighAccuracy:!0,timeout:5e3,maximumAge:0,frequency:3e3},navigator.geolocation.getCurrentPosition(a,i,o);case 5:case"end":return e.stop()}}),e)})))()},clearGeolocate:function(){navigator.geolocation.clearWatch(this.geolocationWatchID),null===this.currentPlace&&(this.map.zoom=7),this.$store.commit("setGeolocalization",{enabled:!1,userLocation:{lat:0,lng:0}}),this.calculatingUserPosition=!1},handlePermission:function(){var t=this;navigator.permissions?navigator.permissions.query({name:"geolocation"}).then((function(e){if("granted"==e.state)t.geolocalizationDisable=!1;else if("prompt"==e.state)t.geolocalizationDisable=!1;else if("denied"==e.state){t.geolocalizationDisable=!0,document.querySelectorAll("input[name='allow-geolocalization']")[0].checked=!1}e.onchange=function(){if("granted"==e.state)t.geolocalizationDisable=!1;else if("prompt"==e.state)t.geolocalizationDisable=!1;else if("denied"==e.state){t.geolocalizationDisable=!0,document.querySelectorAll("input[name='allow-geolocalization']")[0].checked=!1}}})):this.geolocalizationDisable=!0}}},c=(a(693),a(0)),d=Object(c.a)(l,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.stores&&0!=t.stores.length?a("div",{ref:"container",staticClass:"o-distributors-map"},[a("div",{staticClass:"o-distributors-map__actions"},[a("div",{staticClass:"grid-container"},[a("div",{staticClass:"grid-x align-justify"},[a("div",{staticClass:"cell large-4"},[a("div",{staticClass:"vts-input o-distributors-map__user-location",class:(t.geolocalizationDisable?"is-disabled":null)+" "+("light"===t.mode?"-light-mode":null)},[a("span",{staticClass:"vts-input__text"},[t._v(t._s(t.$t("distribuzione-sottotitolo")))]),t._v(" "),a("div",{staticClass:"vts-input__icon"},[a("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 18 29"}},[a("path",{attrs:{fill:"light"===t.mode?"#FFF":"#000",d:"M13,9c0,2.2-1.8,4-4,4s-4-1.8-4-4s1.8-4,4-4S13,6.8,13,9z M9.6,18v11h-1V18C3.8,17.8,0,13.8,0,9c0-5,4-9,9-9s9,4,9,9\n C18,13.8,14.3,17.7,9.6,18z M17,9c0-4.4-3.6-8-8-8S1,4.6,1,9s3.6,8,8,8S17,13.4,17,9z"}})])]),t._v(" "),a("div",{staticClass:"vts-input vts-input--checkbox -label-on-left",class:"light"===t.mode?"-light-mode":null},[a("label",{staticClass:"vts-input__label",attrs:{for:"vts-XS8j__input"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.geolocalized,expression:"geolocalized"}],staticClass:"vts-input__input",attrs:{id:"vts-XS8j__input",type:"checkbox",name:"allow-geolocalization"},domProps:{checked:Array.isArray(t.geolocalized)?t._i(t.geolocalized,null)>-1:t.geolocalized},on:{change:function(e){var a=t.geolocalized,i=e.target,o=!!i.checked;if(Array.isArray(a)){var s=t._i(a,null);i.checked?s<0&&(t.geolocalized=a.concat([null])):s>-1&&(t.geolocalized=a.slice(0,s).concat(a.slice(s+1)))}else t.geolocalized=o}}}),t._v(" "),a("span",{staticClass:"vts-input__text"},[t._v("\n "+t._s(t.$t("consentici-di-rilevare-la-tua-posizione"))+"\n ")])])]),t._v(" "),a("transition",{attrs:{name:"fade"}},[t.calculatingUserPosition?a("base-loader",{attrs:{mode:"dark"}}):t._e()],1)],1)]),t._v(" "),a("div",{staticClass:"cell large-6"},[a("v-form",{ref:"mapsearchform",staticClass:"map-search-form",on:{submit:function(e){return e.preventDefault(),t.onSubmitSearch.apply(null,arguments)}},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"grid-x grid-margin-x"},[a("div",{staticClass:"cell large-6"},[a("div",{staticClass:"vts-input",class:""+("light"===t.mode?"-light-mode":null)},[a("label",{staticClass:"vts-input__label",attrs:{for:"vts-autocomplete-map-search-form"}},[a("span",{staticClass:"vts-input__text"},[t._v(t._s(t.$t("write-your-city")))]),t._v(" "),a("gmap-autocomplete",{attrs:{id:"autocomplete-map-search-form",options:{fields:["geometry","name"]}},on:{place_changed:t.setPlace}})],1)])]),t._v(" "),a("div",{staticClass:"cell large-3"},[a("v-input",{attrs:{label:t.$t("distribuzione-distanza-dalla-tua-posizione"),name:"select-radius",type:"select",options:[t.$t("radius-select-label"),20,50,100,200],classes:{root:[""+("light"===t.mode?"-light-mode":null),{"-value-selected":t.distance}]}},on:{change:t.onDistanceSelection}})],1),t._v(" "),a("div",{staticClass:"cell large-3"},[a("transition",{attrs:{name:"slude-up"}},[a("div",{staticClass:"vts-input"},[a("span",{directives:[{name:"show",rawName:"v-show",value:t.$vssWidth>=1024,expression:"$vssWidth >= 1024"}],staticClass:"vts-input__text"},[t._v(" ")]),t._v(" "),a("base-button",{staticClass:"-boxed",attrs:{mode:""+("light"===t.mode?"light":null),type:"submit",disabled:!t.currentPlace,text:t.$t("search-label")}})],1)])],1)])]}}],null,!1,926579939)})],1)])])]),t._v(" "),a("div",{staticClass:"o-distributors-map__map"},[a("gmap-map",{ref:"map",attrs:{center:t.getLatLngBounds,options:t.mapOptions},on:{dragend:t.onMapDragEnd}},[t._l(t.polygons,(function(e,i){return[e.id===t.activeMarkerId?a("gmap-polygon",{key:"polygon-"+i,attrs:{path:e.encodedPath,options:t.polygonsOptions}}):t._e()]})),t._v(" "),a("gmap-cluster",{attrs:{"enable-retina-icons":!0,"zoom-on-click":!0,"image-path":"/images/maps/m"}},t._l(t.filteredMarkersByRadius,(function(e,i){return a("gmap-custom-marker",{key:"marker-"+i,attrs:{marker:{lat:parseFloat(e.lat),lng:parseFloat(e.lng)}},nativeOn:{click:function(a){return t.onMarkerClick(e)}}},[a("map-marker",{attrs:{state:e.isActive?"active":null,label:e.companyName}})],1)})),1)],2),t._v(" "),a("transition",{attrs:{name:"storesPanelAnimation"}},[0===t.filteredMarkersByRadius.length?a("div",{staticClass:"no-results"},[a("div",{staticClass:"no-results__inner-wr"},[a("p",[t._v(t._s(t.$t("search-nessun-risultato-per-questa-ricerca")))])])]):t._e()]),t._v(" "),a("transition",{attrs:{name:"storesPanelAnimation"}},[t.panelVisible&&t.panelItem?a("div",{staticClass:"stores-panel"},[a("transition",{attrs:{name:"storesPanelCardAnimation",mode:"out-in"}},[a("div",{key:t.panelItem.id_negozio,staticClass:"stores-panel__inner-wr"},[a("base-button-icon",{staticClass:"stores-panel__close",attrs:{on:{click:t.hidePanel},icon:"IconUiClose","icon-color":"white","icon-size":"small"}}),t._v(" "),a("store-card",{attrs:{store:t.panelItem,position:"panel",mode:"dark"}})],1)])],1):t._e()])],1)]):t._e()}),[],!1,null,null,null);e.a=d.exports},563:function(t,e,a){"use strict";var i={props:{state:{type:String,default:"default"},label:String}},o=(a(552),a(0)),s=Object(o.a)(i,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"map-marker",class:[t.state]},[a("div",{staticClass:"map-marker_wr"},[a("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 18 29"}},[a("path",{attrs:{fill:"#000",d:"M13,9c0,2.2-1.8,4-4,4s-4-1.8-4-4s1.8-4,4-4S13,6.8,13,9z M9.6,18v11h-1V18C3.8,17.8,0,13.8,0,9c0-5,4-9,9-9s9,4,9,9\n\tC18,13.8,14.3,17.7,9.6,18z M17,9c0-4.4-3.6-8-8-8S1,4.6,1,9s3.6,8,8,8S17,13.4,17,9z"}})]),t._v(" "),t.label?a("span",{staticClass:"map-marker__label"},[t._v(t._s(t.label))]):t._e()])])}),[],!1,null,null,null);e.a=s.exports},577:function(t,e,a){var i=a(692);i.__esModule&&(i=i.default),"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a(10).default)("cc62387c",i,!0,{sourceMap:!1})},578:function(t,e,a){var i=a(694);i.__esModule&&(i=i.default),"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,a(10).default)("c72421bc",i,!0,{sourceMap:!1})},691:function(t,e,a){"use strict";a(577)},692:function(t,e,a){var i=a(9)(!1);i.push([t.i,'.o-store-card{width:100%;height:100%;position:relative;padding:20px}.o-store-card.-light-mode{color:#fff}.o-store-card.-dark-mode{background-color:#060606;color:#fff}.o-store-card.-list{max-width:250px}.o-store-card.-panel .o-store-card__inner{max-width:450px;height:100%;display:flex;flex-wrap:wrap;flex-direction:column;justify-content:center}.o-store-card__gmap{position:absolute;right:20px;bottom:20px}.o-store-card__gmap .vts-action{padding:0}.o-store-card__inner{width:100%;margin:0 auto}.o-store-card__main-area{text-transform:uppercase;margin-bottom:0.5em}.o-store-card__icon{width:20px;height:auto;margin-bottom:25px}.o-store-card__name{font-family:"HaasGrotDisp Bold", Arial, Helvetica, sans-serif;font-weight:bold;font-style:normal;font-size:14px;font-weight:bold;position:relative;text-transform:uppercase;margin-bottom:15px;max-width:calc(100% - 35px)}.o-store-card__name.is-premium{display:flex}.o-store-card__name.-panel{font-family:"HaasGrotDisp Bold", Arial, Helvetica, sans-serif;font-weight:bold;font-style:normal;font-size:24px;font-weight:bold}@media print, screen and (min-width: 64em){.o-store-card__name.-panel{font-family:"HaasGrotDisp Bold", Arial, Helvetica, sans-serif;font-weight:bold;font-style:normal;font-size:35px;font-weight:bold}}.o-store-card__name .o-store-card__premium{width:10px;height:10px;margin-right:10px;fill:currentcolor;display:flex}.o-store-card__distance{font-family:"HaasGrotDisp Bold", Arial, Helvetica, sans-serif;font-weight:bold;font-style:normal;font-size:14px;font-weight:bold;text-transform:capitalize}.o-store-card__address{margin-bottom:0.5em;font-family:"HaasGrotDisp Roman", Arial, Helvetica, sans-serif;font-weight:400;font-style:normal;font-size:14px;font-weight:400;margin-bottom:15px}.o-store-card__address.-panel{font-family:"HaasGrotDisp Roman", Arial, Helvetica, sans-serif;font-weight:400;font-style:normal;font-size:18px;font-weight:400}@media print, screen and (min-width: 64em){.o-store-card__address.-panel{font-family:"HaasGrotDisp Roman", Arial, Helvetica, sans-serif;font-weight:400;font-style:normal;font-size:24px;font-weight:400}}.o-store-card__address-data{display:block}.o-store-card__links-wr{margin-bottom:15px}.o-store-card__links-wr.-articles{padding-left:10px;border-left:1px solid #000}.o-store-card__links-wr.-articles ul{width:100%}.o-store-card__links-wr.-articles li{padding:5px 0;list-style:disc inside}.o-store-card__links-wr.-articles li .vts-action{padding:5px 0}.o-store-card__links-wr.-articles.-panel{border-color:#fff}.o-store-card__article{font-family:"HaasGrotDisp Roman", Arial, Helvetica, sans-serif;font-weight:400;font-style:normal;font-size:14px;font-weight:400}.o-store-card__links-title{font-family:"HaasGrotDisp Medium", Arial, Helvetica, sans-serif;font-weight:bold;font-style:normal;font-size:14px;font-weight:400;display:inline-block;padding-bottom:5px;margin-bottom:5px}.o-store-card__contact-link{font-family:"HaasGrotDisp Roman", Arial, Helvetica, sans-serif;font-weight:400;font-style:normal;font-size:14px;font-weight:400;display:block;display:flex;align-items:center;text-decoration:none !important}.o-store-card__contact-link span:not(.contact-link-label){text-decoration:underline !important}.o-store-card__contact-link.-fax span{text-decoration:none !important}.o-store-card__contact-link span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%;display:inline-block;max-width:calc(100% - 1em - 0.5em)}.o-store-card__contact-link span.contact-link-label{margin-right:0.5em;width:1em;text-decoration:none;font-family:"HaasGrotDisp Bold", Arial, Helvetica, sans-serif;font-weight:bold;font-style:normal;font-size:14px;font-weight:bold}.o-store-card__contact-link svg{display:inline-block;width:1em;height:1em;margin-right:0.5em}.o-store-card__contact-link:hover{text-decoration:underline}.o-store-card__contact-link:last-of-type{margin-bottom:0.6em}.o-store-card__official-dealer{font-family:"HaasGrotDisp Medium", Arial, Helvetica, sans-serif;font-weight:bold;font-style:normal;font-size:14px;font-weight:400}.o-store-card__sec-area-heading{margin-top:1em;margin-bottom:0.5em}.o-store-card__sec-area{text-transform:uppercase}.o-store-card__divider{display:block;width:40px;height:2px;background-color:#d9d9d9;margin-top:1em;margin-bottom:1em}.o-store-card__divider.-long{width:120px;margin-top:2.5em;margin-bottom:2.5em}\n',""]),t.exports=i},693:function(t,e,a){"use strict";a(578)},694:function(t,e,a){var i=a(9)(!1);i.push([t.i,'.o-distributors-map{position:relative;overflow:hidden}.o-distributors-map .vue-map-container{width:100%;padding-bottom:calc(80vh - 90px)}@media print, screen and (min-width: 64em){.o-distributors-map .vue-map-container{padding-bottom:50%}}@media screen and (min-width: 80em){.o-distributors-map .vue-map-container{padding-bottom:40%}}.o-distributors-map__map{position:relative;overflow:hidden}@media print, screen and (min-width: 64em){.o-distributors-map__actions{margin-bottom:40px}}.o-distributors-map__actions .vts-input__text{text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}.o-distributors-map__actions .cell>.vts-input{margin-bottom:20px}@media print, screen and (min-width: 64em){.o-distributors-map__actions .cell>.vts-input{margin-bottom:0}}.o-distributors-map__user-location{display:flex;flex-wrap:wrap;align-items:center}.o-distributors-map__user-location.is-disabled{cursor:not-allowed;opacity:0.3}.o-distributors-map__user-location>.vts-input__text{display:block;width:100%}.o-distributors-map__user-location .vts-input{height:60px;max-width:calc(100% - 30px);display:flex;align-items:center}.o-distributors-map__user-location .vts-input .vts-input__text{font-family:"HaasGrotDisp Medium", Arial, Helvetica, sans-serif;font-weight:bold;font-style:normal;font-size:18px;font-weight:400;margin-bottom:0;text-transform:initial}.o-distributors-map__user-location .vts-input__icon{width:20px;height:auto;margin-right:10px}.pac-container{margin-top:10px !important}.no-results{position:absolute;width:auto;bottom:20px;left:50%;transform:translateX(-50%);background-color:#fff;border:1px solid #000}.no-results__inner-wr{padding:20px}.stores-panel{position:absolute;max-width:100%;width:100%;height:100%;top:0;left:0;display:flex;align-items:center;justify-content:center}@media print, screen and (min-width: 64em){.stores-panel{width:30%}}@media screen and (min-width: 80em){.stores-panel{width:50%}}.stores-panel__inner-wr{position:relative;display:flex;align-items:center;width:100%;height:100%;z-index:9;border-top:1px solid #fff;border-bottom:1px solid #fff}@media print, screen and (min-width: 64em){.stores-panel__inner-wr{border-width:0}}.stores-panel__close{position:absolute;top:20px;right:20px;width:auto;z-index:10}.stores-panel__close .m-button-icon__btn{width:50px;height:50px;display:flex;align-items:center;justify-content:center}.stores-panel__close .m-button-icon__btn .a-icon{width:20px;height:20px;margin:0}.storesPanelAnimation-enter-active{animation:storesPanelAnimation 0.5s}.storesPanelAnimation-leave-active{animation:storesPanelAnimation 0.5s reverse}@keyframes storesPanelAnimation{0%{transform:translateX(-30px);opacity:0}100%{transform:translateX(0);opacity:1}}.storesPanelCardAnimation-enter-active{transition:all 0.6s ease-out}.storesPanelCardAnimation-leave-active{transition:all 0.3s ease-in}.map-search-form .vts-action{max-height:60px;width:100%}\n',""]),t.exports=i}}]);