(window.webpackJsonp=window.webpackJsonp||[]).push([[16,41,89,104],{1067:function(t,e,r){"use strict";r.r(e);var n=r(22),o=(r(12),r(9),r(42),r(424),r(425),r(115),r(65),r(35),r(57),r(62),r(951)),c={name:"ListCardShopsWorkshops",components:{NoItems:r(669).default,CardShopsWorkshops:o.default},middleware:["global"],data:function(){return{totalItems:0,currentPage:1,perPage:6}},fetch:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$store.dispatch("subsidiaries/getSubsidiaries");case 2:case"end":return e.stop()}}),e)})))()},computed:{subsidiaries:function(){var t=this,e=[],r=this.$store.getters["subsidiaries/regions"];if(this.$route.params.province&&(r=r.filter((function(e){return e.slug===t.$route.params.province}))),this.$route.params.district?e=r.map((function(e){var r=e.subsidiaries.filter((function(e){return e.commune.slug===t.$route.params.district}));return r.map((function(t){var e=[];return t.services.map((function(t){return t.brands.map((function(t){return 0===e.filter((function(i){return i.slug===t.slug})).length&&e.push(t),t})),t})),t.brands=e,t})),r.flat()})):Array.isArray(r)&&(e=r.map((function(t){return Array.isArray(t.subsidiaries)&&t.subsidiaries.map((function(t){var e=[];return Array.isArray(t.services)&&t.services.map((function(t){return Array.isArray(t.brands)&&t.brands.map((function(t){return 0===e.filter((function(i){return i.slug===t.slug})).length&&e.push(t),t})),t})),t.brands=e,t})),t.subsidiaries.flat()}))),this.$route.params.service){var n=e.flat();e=n.filter((function(sub){return sub.services.filter((function(s){return s.slug===t.$route.params.service})).length>0}))}if(this.$route.params.brand){var o=e.flat();e=o.filter((function(e){return e.brands.filter((function(e){return e.slug===t.$route.params.brand})).length>0}))}if(this.$route.query.dercored&&(console.log("DERCO CENTER RED"),e=r.find((function(t){return"Lima"===t.name})).subsidiaries,e=e.filter((function(t){return 1===t.is_derco_red}))),this.$route.params.province&&"lima"===this.$route.params.province){var c=r.find((function(t){return"Lima"===t.name}));if(c&&Array.isArray(c.subsidiaries)){var l=e.flat().filter((function(t){return 1===t.is_derco_red})),d=e.flat().filter((function(t){return 0===t.is_derco_red})),f=l.concat(d);e=f.length>0?f:e}}return this.paginationList(e.flat())}},watch:{currentPage:function(){return Object(n.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,window.scroll(0,0);case 2:case"end":return t.stop()}}),t)})))()}},mounted:function(){this.$fetch()},methods:{paginationList:function(t){var e=t.slice((this.currentPage-1)*this.perPage,this.currentPage*this.perPage);return this.totalItems=t.length,e}}},l=r(47),component=Object(l.a)(c,(function(){var t=this,e=t._self._c;return e("div",[t.subsidiaries.length>=1?e("div",{staticClass:"list-card-shops-workshops"},[t._l(t.subsidiaries,(function(t,r){return[e("card-shops-workshops",{key:r,attrs:{value:t}})]})),t._v(" "),e("div",{staticClass:"d-flex justify-content-center"},[e("b-pagination",{attrs:{id:"pagination-shops-workshops","total-rows":t.totalItems,"per-page":t.perPage,"hide-goto-end-buttons":"",pills:"",align:"center"},model:{value:t.currentPage,callback:function(e){t.currentPage=e},expression:"currentPage"}})],1)],2):e("div",[e("no-items")],1)])}),[],!1,null,null,null);e.default=component.exports},590:function(t){t.exports=JSON.parse('[{"name":"suzuki","urlImage":"https://derco-pe-prod.s3.amazonaws.com/images/carcontent/2021-04-08-suzuki.png","urlWeb":"https://autos.suzuki.com.pe/"},{"name":"mazda","urlImage":"https://derco-pe-prod.s3.amazonaws.com/images/carcontent/2021-04-08-mazda.png","urlWeb":"https://www.mazda.pe/"},{"name":"renault","urlImage":"https://derco-pe-prod.s3.amazonaws.com/images/carcontent/2024-07-05-renault.png","urlWeb":"https://www.renault.pe/"},{"name":"citroen","urlImage":"https://derco-pe-prod.s3.amazonaws.com/images/carcontent/2024-07-05-Citroen.png","urlWeb":"https://www.citroen.com.pe/"},{"name":"great-wall","urlImage":"https://derco-pe-prod.s3.amazonaws.com/images/carcontent/2024-02-01-2024-01-24-great-wall.png","urlWeb":"https://www.greatwall.com.pe/"},{"name":"ds","urlImage":"https://derco-pe-prod.s3.amazonaws.com/images/carcontent/2021-04-08-ds.png","urlWeb":"https://www.dsautomobiles.com.pe/"},{"name":"changan","urlImage":"https://derco-pe-prod.s3.amazonaws.com/images/carcontent/2021-05-28-changan.png","urlWeb":"https://www.changan.com.pe/"},{"name":"haval","urlImage":"https://derco-pe-prod.s3.amazonaws.com/images/carcontent/2021-04-08-haval.png","urlWeb":"https://www.haval.com.pe/"},{"name":"jac","urlImage":"https://derco-pe-prod.s3.amazonaws.com/images/carcontent/2021-04-08-jac.png","urlWeb":"https://www.jac.pe/"},{"name":"camiones-jac","urlImage":"https://derco-pe-prod.s3.amazonaws.com/images/carcontent/2021-04-08-camiones-jac.png","urlWeb":"https://camionesjac.pe/"},{"name":"still","urlImage":"https://derco-pe-prod.s3.amazonaws.com/images/carcontent/2021-04-08-still.png","urlWeb":"https://www.dercomaq.pe/"},{"name":"komatsu","urlImage":"https://derco-pe-prod.s3.amazonaws.com/images/carcontent/2021-04-08-komatsu.png","urlWeb":"https://www.dercomaq.pe/"},{"name":"hangcha","urlImage":"https://derco-pe-prod.s3.amazonaws.com/images/carcontent/2021-04-08-hangcha.png","urlWeb":"https://www.dercomaq.pe/"},{"name":"landini","urlImage":"https://derco-pe-prod.s3.amazonaws.com/images/carcontent/2021-04-08-landini.png","urlWeb":"https://www.dercomaq.pe/"}]')},593:function(t,e,r){"use strict";r(115),r(9),r(65);var n=r(590);e.a={methods:{findBrand:function(t){var b=n.find((function(e){return String(e.name)===String(t)}));return b?b.urlImage:""}}}},621:function(t,e,r){var content=r(653);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(92).default)("55bf0832",content,!0,{sourceMap:!1})},625:function(t,e,r){var n=r(139),o=r(140),c=["class","staticClass","style","staticStyle","attrs"];function l(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}r(35),r(17),r(16),r(12),r(9),r(19),r(14),r(20),t.exports={functional:!0,render:function(t,e){var r=e._c,data=(e._v,e.data),d=e.children,f=void 0===d?[]:d,h=data.class,m=data.staticClass,style=data.style,v=data.staticStyle,w=data.attrs,y=void 0===w?{}:w,O=o(data,c);return r("svg",function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?l(Object(source),!0).forEach((function(e){n(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):l(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({class:["svg-inline--fa fa-map-marker-alt fa-w-12",h,m],style:[style,v],attrs:Object.assign({"aria-hidden":"true","data-prefix":"fas","data-icon":"map-marker-alt",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"},y)},O),f.concat([r("path",{attrs:{fill:"currentColor",d:"M172.268 501.67C26.97 291.031 0 269.413 0 192 0 85.961 85.961 0 192 0s192 85.961 192 192c0 77.413-26.97 99.031-172.268 309.67-9.535 13.774-29.93 13.773-39.464 0zM192 272c44.183 0 80-35.817 80-80s-35.817-80-80-80-80 35.817-80 80 35.817 80 80 80z"}})]))}}},626:function(t,e,r){var n=r(139),o=r(140),c=["class","staticClass","style","staticStyle","attrs"];function l(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}r(35),r(17),r(16),r(12),r(9),r(19),r(14),r(20),t.exports={functional:!0,render:function(t,e){var r=e._c,data=(e._v,e.data),d=e.children,f=void 0===d?[]:d,h=data.class,m=data.staticClass,style=data.style,v=data.staticStyle,w=data.attrs,y=void 0===w?{}:w,O=o(data,c);return r("svg",function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?l(Object(source),!0).forEach((function(e){n(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):l(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({class:["svg-inline--fa fa-phone fa-w-16",h,m],style:[style,v],attrs:Object.assign({"aria-hidden":"true","data-prefix":"fas","data-icon":"phone",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},y)},O),f.concat([r("path",{attrs:{fill:"currentColor",d:"M493.4 24.6l-104-24c-11.3-2.6-22.9 3.3-27.5 13.9l-48 112c-4.2 9.8-1.4 21.3 6.9 28l60.6 49.6c-36 76.7-98.9 140.5-177.2 177.2l-49.6-60.6c-6.8-8.3-18.2-11.1-28-6.9l-112 48C3.9 366.5-2 378.1.6 389.4l24 104C27.1 504.2 36.7 512 48 512c256.1 0 464-207.5 464-464 0-11.2-7.7-20.9-18.6-23.4z"}})]))}}},643:function(t,e,r){"use strict";r.r(e);var n={name:"SearchIcon"},o=r(47),component=Object(o.a)(n,(function(){var t=this,e=t._self._c;return e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 111 100"}},[e("defs"),t._v(" "),e("g",{attrs:{fill:"none","fill-rule":"evenodd"}},[e("path",{attrs:{fill:"#4D4D4D",d:"M108.655 91.062a5.12 5.12 0 010 7.244c-1 1-2.311 1.501-3.621 1.501-1.311 0-2.622-.5-3.622-1.5L80.688 77.585l-.003-.003a30.665 30.665 0 003.926-3.322 30.597 30.597 0 003.319-3.92h.002l20.723 20.72z"}}),t._v(" "),e("path",{attrs:{fill:"#323232",d:"M88.034 77.711c1-1 2.311-1.5 3.622-1.5s2.622.5 3.622 1.5l.048.023-7.394-7.393h-.002a30.528 30.528 0 01-3.319 3.92 30.658 30.658 0 01-3.925 3.322l.002.003 7.115 7.113a5.118 5.118 0 01.23-6.988z"}}),t._v(" "),e("path",{attrs:{fill:"#FFF",d:"M1.638 1.638h103.984v45.831H1.638z"}}),t._v(" "),e("path",{attrs:{fill:"#D6D6D6",d:"M41.16 47.47h59.043a30.638 30.638 0 00-7.74-12.987c-12.03-12.03-31.531-12.03-43.562 0a30.638 30.638 0 00-7.74 12.986z"}}),t._v(" "),e("path",{attrs:{fill:"#BEBEBE",d:"M88.205 52.6c0 14.185-11.5 25.685-25.686 25.685S36.832 66.785 36.832 52.6c0-14.187 11.5-25.687 25.687-25.687 14.186 0 25.686 11.5 25.686 25.687z"}}),t._v(" "),e("path",{attrs:{fill:"#FFF",d:"M37.906 59.966c3.167 10.596 12.987 18.32 24.613 18.32s21.446-7.724 24.613-18.32H37.906z"}}),t._v(" "),e("path",{attrs:{fill:"#4D4D4D","fill-rule":"nonzero",d:"M93.223 47.47c1.289 7.857-.475 16.12-5.293 22.871a30.597 30.597 0 01-3.319 3.92 30.665 30.665 0 01-3.926 3.322c-12.029 8.582-28.84 7.473-39.634-3.322-7.293-7.293-10.164-17.334-8.612-26.792a30.628 30.628 0 018.612-16.765c12.03-12.03 31.53-12.03 43.56 0a30.634 30.634 0 018.612 16.765zm-9.506 12.5c2.799-7.823 1.067-16.907-5.2-23.172-8.663-8.664-22.709-8.664-31.372 0-6.264 6.264-7.999 15.341-5.202 23.165a22.09 22.09 0 005.202 8.205c8.663 8.664 22.709 8.664 31.372 0a22.075 22.075 0 005.2-8.198z"}}),t._v(" "),e("path",{attrs:{fill:"#E5E5E5",d:"M57.308 50.52c.32.32.738.479 1.158.479.419 0 .838-.16 1.158-.48l3.198-3.198 3.198 3.198a1.635 1.635 0 002.315 0c.64-.64.64-1.676 0-2.316l-3.197-3.198 3.197-3.198a1.637 1.637 0 10-2.315-2.315l-3.198 3.198-3.198-3.198a1.638 1.638 0 00-2.316 2.315l3.198 3.198-3.198 3.198c-.64.64-.64 1.677 0 2.316z"}}),t._v(" "),e("path",{attrs:{fill:"#4D4D4D",d:"M25.892 45.832H3.275V3.275h100.709v42.557H99.82a1.637 1.637 0 100 3.275h5.8c.904 0 1.638-.733 1.638-1.638V1.638c0-.905-.734-1.638-1.638-1.638H1.638C.733 0 0 .733 0 1.638v45.831c0 .905.733 1.638 1.638 1.638h24.254a1.637 1.637 0 100-3.275z"}}),t._v(" "),e("path",{attrs:{fill:"#E5E5E5",d:"M14.697 11.335a1.637 1.637 0 100 3.275h77.865a1.638 1.638 0 000-3.275H14.697z"}})])])}),[],!1,null,null,null);e.default=component.exports},652:function(t,e,r){"use strict";r(621)},653:function(t,e,r){var n=r(91)((function(i){return i[1]}));n.push([t.i,".NoItems__container[data-v-3056a4d1]{padding-bottom:20vh;padding-top:20vh}.NoItems__search-icon[data-v-3056a4d1]{height:100px;width:111px}.NoItems__search-text[data-v-3056a4d1]{font-size:16px;font-weight:400;margin:auto;max-width:422px}",""]),n.locals={},t.exports=n},669:function(t,e,r){"use strict";r.r(e);var n={name:"NoItems",components:{SearchIcon:r(643).default}},o=(r(652),r(47)),component=Object(o.a)(n,(function(){var t=this,e=t._self._c;return e("b-col",{staticClass:"NoItems text-center"},[e("div",{staticClass:"NoItems__container"},[e("search-icon",{staticClass:"NoItems__search-icon"}),t._v(" "),e("div",{staticClass:"NoItems__search-text"},[e("span",[t._v("\n        No se han encontrado artículos relacionados a tu búsqueda, intenta\n        probar con otros filtros\n      ")])])],1)])}),[],!1,null,"3056a4d1",null);e.default=component.exports},722:function(t,e,r){var content=r(852);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(92).default)("2b9780a0",content,!0,{sourceMap:!1})},847:function(t,e,r){var n=r(139),o=r(140),c=["class","staticClass","style","staticStyle","attrs"];function l(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}r(35),r(17),r(16),r(12),r(9),r(19),r(14),r(20),t.exports={functional:!0,render:function(t,e){var r=e._c,data=(e._v,e.data),d=e.children,f=void 0===d?[]:d,h=data.class,m=data.staticClass,style=data.style,v=data.staticStyle,w=data.attrs,y=void 0===w?{}:w,O=o(data,c);return r("svg",function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?l(Object(source),!0).forEach((function(e){n(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):l(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({class:["svg-inline--fa fa-minus fa-w-14",h,m],style:[style,v],attrs:Object.assign({"aria-hidden":"true","data-prefix":"fas","data-icon":"minus",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},y)},O),f.concat([r("path",{attrs:{fill:"currentColor",d:"M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"}})]))}}},848:function(t,e,r){var n=r(139),o=r(140),c=["class","staticClass","style","staticStyle","attrs"];function l(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}r(35),r(17),r(16),r(12),r(9),r(19),r(14),r(20),t.exports={functional:!0,render:function(t,e){var r=e._c,data=(e._v,e.data),d=e.children,f=void 0===d?[]:d,h=data.class,m=data.staticClass,style=data.style,v=data.staticStyle,w=data.attrs,y=void 0===w?{}:w,O=o(data,c);return r("svg",function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?l(Object(source),!0).forEach((function(e){n(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):l(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({class:["svg-inline--fa fa-plus fa-w-14",h,m],style:[style,v],attrs:Object.assign({"aria-hidden":"true","data-prefix":"fas","data-icon":"plus",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},y)},O),f.concat([r("path",{attrs:{fill:"currentColor",d:"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"}})]))}}},849:function(t,e,r){var n=r(139),o=r(140),c=["class","staticClass","style","staticStyle","attrs"];function l(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}r(35),r(17),r(16),r(12),r(9),r(19),r(14),r(20),t.exports={functional:!0,render:function(t,e){var r=e._c,data=(e._v,e.data),d=e.children,f=void 0===d?[]:d,h=data.class,m=data.staticClass,style=data.style,v=data.staticStyle,w=data.attrs,y=void 0===w?{}:w,O=o(data,c);return r("svg",function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?l(Object(source),!0).forEach((function(e){n(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):l(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({class:["svg-inline--fa fa-clock fa-w-16",h,m],style:[style,v],attrs:Object.assign({"aria-hidden":"true","data-prefix":"fas","data-icon":"clock",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},y)},O),f.concat([r("path",{attrs:{fill:"currentColor",d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm92.49 313l-20 25a16 16 0 01-22.49 2.5l-67-49.72a40 40 0 01-15-31.23V112a16 16 0 0116-16h32a16 16 0 0116 16v144l58 42.5a16 16 0 012.49 22.5z"}})]))}}},850:function(t,e,r){var n=r(139),o=r(140),c=["class","staticClass","style","staticStyle","attrs"];function l(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}r(35),r(17),r(16),r(12),r(9),r(19),r(14),r(20),t.exports={functional:!0,render:function(t,e){var r=e._c,data=(e._v,e.data),d=e.children,f=void 0===d?[]:d,h=data.class,m=data.staticClass,style=data.style,v=data.staticStyle,w=data.attrs,y=void 0===w?{}:w,O=o(data,c);return r("svg",function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?l(Object(source),!0).forEach((function(e){n(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):l(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({class:["svg-inline--fa fa-star fa-w-18",h,m],style:[style,v],attrs:Object.assign({"aria-hidden":"true","data-prefix":"fas","data-icon":"star",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512"},y)},O),f.concat([r("path",{attrs:{fill:"currentColor",d:"M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"}})]))}}},851:function(t,e,r){"use strict";r(722)},852:function(t,e,r){var n=r(91)((function(i){return i[1]}));n.push([t.i,".media-aside[data-v-2f246dab]{display:flex!important;margin-right:.5rem!important;padding-top:.25rem!important}.card-shops-workshops[data-v-2f246dab]{margin-bottom:15px;margin-top:15px}.card-shops-workshops .collapsed>.when-open[data-v-2f246dab],.card-shops-workshops .not-collapsed>.when-closed[data-v-2f246dab]{display:none}.card-shops-workshops .one-col .title-direction[data-v-2f246dab]{color:#dc241f;font-size:14px;font-weight:700;line-height:18px;max-width:250px}.card-shops-workshops .one-col .details[data-v-2f246dab]{color:#4d4d4d;font-size:14px;margin-top:20px;max-width:200px}.card-shops-workshops .one-col .details .icon[data-v-2f246dab]{color:#dc241f;font-size:14px;font-weight:700;width:20px}.card-shops-workshops .one-col .details a[data-v-2f246dab]{color:#4d4d4d}@media(max-width:768px){.card-shops-workshops .one-col .details[data-v-2f246dab],.card-shops-workshops .one-col .title-direction[data-v-2f246dab]{text-align:left!important}.card-shops-workshops .one-col .details[data-v-2f246dab]{margin-left:0}}.card-shops-workshops .title-section-col[data-v-2f246dab]{color:#4d4d4d;font-size:14px;font-weight:700}.card-shops-workshops .two-col .card-section-details[data-v-2f246dab]{background:#f9f9f9;border:none}.card-shops-workshops .two-col .card-section-details .button-section-details[data-v-2f246dab]{color:#4d4d4d;font-size:15px;font-weight:700}.card-shops-workshops .two-col .card-section-details .card-body-details[data-v-2f246dab]{padding:.375rem .75rem}.card-shops-workshops .two-col .card-section-details .card-body-details .items-details[data-v-2f246dab]{color:#4d4d4d;font-size:14px;padding-bottom:20px}.card-shops-workshops .two-col .card-section-details .card-body-details .items-details a[data-v-2f246dab]{color:#4d4d4d}.card-shops-workshops .two-col .list-services[data-v-2f246dab]{color:#4d4d4d;font-size:14px;font-weight:400}.card-shops-workshops .two-col .list-services ul[data-v-2f246dab]{padding-left:.9rem}",""]),n.locals={},t.exports=n},951:function(t,e,r){"use strict";r.r(e);r(65),r(35);var n=r(625),o=r.n(n),c=r(626),l=r.n(c),d=r(847),f=r.n(d),h=r(848),m=r.n(h),v=r(849),w=r.n(v),y=r(850),O=r.n(y),_=r(593),j={name:"CardShopsWorkshops",components:{MapMarkerAltIcon:o.a,PhoneIcon:l.a,MinusIcon:f.a,PlusIcon:m.a,ClockIcon:w.a,StarIcon:O.a},mixins:[_.a],props:{value:{type:Object,required:!0}},data:function(){return{visibleHours:!1,visibleServices:!1}},mounted:function(){this.$lozad.observe()}},x=(r(851),r(47)),component=Object(x.a)(j,(function(){var t=this,e=t._self._c;return e("b-card",{staticClass:"card-shops-workshops"},[e("b-row",[e("b-col",{staticClass:"one-col",attrs:{md:"3"}},[e("div",{staticClass:"text-uppercase title-direction"},[t._v("\n        "+t._s(t.value.name)+"\n      ")]),t._v(" "),e("div",{staticClass:"details"},[e("u",[e("b-link",{attrs:{target:"_blank",href:"https://www.google.com/maps/dir/Current+Location/"+t.value.location.latitude+","+t.value.location.longitude}},[e("span",[e("span",{staticClass:"icon"},[e("map-marker-alt-icon",{staticClass:"icon"})],1),t._v("\n              "+t._s(t.value.address)+"\n            ")])])],1),t._v(" "),e("br")])]),t._v(" "),e("b-col",{staticClass:"two-col pt-md-1 pt-2",attrs:{md:"5"}},[t._l(t.value.services,(function(r,n){return[e("b-card",{key:n,staticClass:"mb-2 card-section-details",attrs:{"no-body":""}},[e("b-card-title",{staticClass:"p-0 m-0",attrs:{"header-tag":"header",role:"tab"}},[e("b-button",{directives:[{name:"b-toggle",rawName:"v-b-toggle",value:"".concat(t.value.code,"-").concat(r.slug,"-").concat(n),expression:"`${value.code}-${item.slug}-${index}`"}],staticClass:"button-section-details",attrs:{block:"",variant:"outline-none"}},[e("span",{staticClass:"float-left"},[t._v(" "+t._s(r.name)+" ")]),t._v(" "),e("span",{staticClass:"text-primary float-right when-open"},[e("minus-icon")],1),t._v(" "),e("span",{staticClass:"text-primary float-right when-closed"},[e("plus-icon")],1)])],1),t._v(" "),e("b-collapse",{staticClass:"card-body-details",attrs:{id:"".concat(t.value.code,"-").concat(r.slug,"-").concat(n),accordion:"hour-accordion",role:"tabpanel"}},[e("b-row",[r.openingHours.length>=1?e("b-col",{attrs:{md:"4"}},[e("b-media",{staticClass:"items-details",scopedSlots:t._u([{key:"aside",fn:function(){return[e("clock-icon")]},proxy:!0}],null,!0)},[t._v(" "),t._l(r.openingHours,(function(r,n){return e("div",{key:n},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(r.name)+" ")]),t._v(" "),e("br"),t._v(" "),e("span",[t._v(" "+t._s(r.value))]),t._v(" "),e("div",{staticClass:"pt-2"})])}))],2)],1):t._e(),t._v(" "),r.contactNumber?e("b-col",{attrs:{md:"4"}},[e("b-media",{staticClass:"items-details",scopedSlots:t._u([{key:"aside",fn:function(){return[e("phone-icon")]},proxy:!0}],null,!0)},[t._v(" "),e("span",[e("b-link",{attrs:{href:"tel:"+r.contactNumber}},[e("u",[t._v(t._s(r.contactNumber))])])],1)])],1):t._e(),t._v(" "),r.brands?[r.brands.length>=1?e("b-col",{attrs:{md:"4"}},[e("b-media",{staticClass:"items-details",scopedSlots:t._u([{key:"aside",fn:function(){return[e("star-icon")]},proxy:!0}],null,!0)},[t._v(" "),t._l(r.brands,(function(r,n){return e("div",{key:n},[e("span",[t._v(t._s(r.name)+" ")])])}))],2)],1):t._e()]:t._e()],2)],1)],1)]}))],2),t._v(" "),e("b-col",{attrs:{md:"4"}},[e("div",{staticClass:"title-section-col"},[t._v("Marcas")]),t._v(" "),e("b-row",t._l(t.value.brands,(function(r,n){return e("b-col",{key:n,attrs:{cols:"4",md:"3",sm:"3"}},[e("img",{staticClass:"p-1 mx-auto d-block",attrs:{height:"50",src:t.findBrand(r.slug)}})])})),1)],1)],1)],1)}),[],!1,null,"2f246dab",null);e.default=component.exports}}]);