(window.webpackJsonp=window.webpackJsonp||[]).push([[8,69,98,139,187],{189:function(t,e,r){"use strict";r.r(e);var o=r(806).a,n=(r(920),r(1)),component=Object(n.a)(o,function(){var t=this,e=t._self._c;return e("v-row",{staticClass:"premium-home",attrs:{justify:"center",align:"center"}},[e("client-only",[e("breadcrumbs",{staticClass:"premium-breadcrumbs"})],1),t._v(" "),e("v-col",{staticClass:"pa-1",attrs:{cols:"12"}},[e("div",{staticClass:"section-header"},[e("v-icon",{staticClass:"mb-4",attrs:{color:"#001732","x-large":""}},[t._v("mdi-information")]),t._v(" "),e("h1",{staticClass:"section-title"},[t._v("\n BLOG\n ")]),t._v(" "),e("div",{staticClass:"title-divider"})],1)]),t._v(" "),e("v-col",{staticClass:"py-0",attrs:{cols:"12"}},[e("v-card",{staticClass:"premium-hero mb-8",attrs:{elevation:"12"}},[e("v-row",{staticClass:"hero-content",attrs:{align:"center"}},[e("v-col",{staticClass:"text-content pa-8",attrs:{cols:"12"}},[e("h1",{staticClass:"hero-title mb-4"},[t._v("\n Descubre el Mundo del\n "),e("span",{staticClass:"accent-text"},[t._v("\n Pescado Fresco\n ")])]),t._v(" "),e("p",{staticClass:"hero-subtitle mb-6"},[t._v("\n Recetas, consejos y todo sobre pescados y mariscos de la más alta calidad\n ")])])],1)],1)],1),t._v(" "),e("v-col",{staticClass:"py-1",attrs:{cols:"12"}},[e("nuxt")],1),t._v(" "),e("v-col",{staticClass:"py-1",attrs:{cols:"12"}},[e("v-row",{staticClass:"pt-2 pb-6",attrs:{justify:"center"}},[e("v-col",{staticClass:"pb-0",attrs:{cols:"12"}},[e("div",{staticClass:"section-header mb-6"},[e("h2",{staticClass:"section-title"},[t._v("\n Productos Destacados\n ")]),t._v(" "),e("div",{staticClass:"title-divider"})]),t._v(" "),e("client-only",[e("products-slider")],1)],1),t._v(" "),e("v-col",{staticClass:"py-0 text-center",attrs:{cols:"12",md:"4",sm:"6"}},[e("v-btn",{staticClass:"premium-button",attrs:{color:"#001732",dark:"",large:"",to:{name:"products.index"}}},[e("v-icon",{attrs:{left:""}},[t._v("mdi-fish")]),t._v(" "),e("strong",[t._v("Ver Catálogo Completo")])],1)],1)],1)],1),t._v(" "),t.config.image||t.config.youtube_code?e("v-col",{staticClass:"py-1 mb-2",attrs:{cols:"12"}},[e("v-card",{staticClass:"premium-media-card",attrs:{elevation:"8"}},["video"===t.config.media&&t.config.youtube_code?e("v-card-text",{staticClass:"pa-0"},[e("div",{staticClass:"media-container"},[e("youtube",{staticClass:"media-content",attrs:{"video-id":t.config.youtube_code,width:"100%"}})],1)]):e("v-img",{staticClass:"media-content",attrs:{height:"300",width:"100%",loading:"lazy","aspect-ratio":"1.7",src:t.optimizedConfigImage,"lazy-src":t.optimizedConfigImagePlaceholder}})],1)],1):t._e()],1)},[],!1,null,"13446b4b",null);e.default=component.exports},356:function(t,e,r){"use strict";r.r(e);r(34),r(52),r(108),r(179),r(5),r(46);e.default={data:function(){return{seconds:1,pendingProducts:[]}},methods:{handleProductInput:function(t,e){if(t<=0)this.removeProductFromQueue(e);else{if(e.agotado)return this.askForNotification(e);if(e.presentacion)return this.$store.commit("cart/SET_DRAWER_PRODUCT",{value:!0,product:e});this.addProductToQueue(e),this.fireTimer(e)}},addProductToCart:function(t){this.$store.commit("cart/ADD",t),this.clearOrigin(t);var e=this.$store.getters["cart/total"],r=this.$store.getters["commons/minimumPurchase"],o=r.amount,n=r.notification||"Para compra minima agrege al carrito";e=9)||"Utiliza un número válido"}]}}},computed:{title:function(){return"¡Este producto se encuentra agotado!"},method:function(){return"post"},action:function(){return"/waiting-list"}},methods:{getFormValues:function(){var t;return{producto:null===(t=this.product)||void 0===t?void 0:t.codigo}},onFormSuccess:function(){this.$notify("Hemos recibido tus datos, te estaremos notificando cuando este producto se encuentre disponible."),this.clearForm()}}},c=r(1),component=Object(c.a)(n,function(){var t=this,e=t._self._c;return e("app-form",t._g({attrs:{form:t.form,title:t.title,action:t.action,method:t.method,readonly:t.readonly,disabled:t.form.busy,"save-btn-text":"Enviar"},on:{success:t.onFormSuccess}},t.$listeners),[e("v-col",{staticClass:"pa-0",attrs:{cols:"12"}},[e("v-card-title",{attrs:{dark:""}},[e("span",[t._v("\n Si deseas que te notifiquemos cuando "+t._s(t.product.nombre)+" este disponible llena el formulario.\n ")])])],1),t._v(" "),t.form.errors.has("producto")?e("v-col",{attrs:{cols:"12"}},[e("v-alert",{attrs:{type:"error",dismissible:""}},[t._v("\n "+t._s(t.form.errors.get("producto"))+"\n ")])],1):t._e(),t._v(" "),e("v-col",{attrs:{cols:"12",md:"4",sm:"6"}},[e("v-text-field",{attrs:{dense:"",outlined:"",label:"Nombre",rules:[t.rules.name],"prepend-inner-icon":"fa-user",error:t.form.errors.has("nombre"),"error-messages":t.form.errors.get("nombre")},on:{keypress:function(e){return t.restrictNumber(e)}},model:{value:t.form.nombre,callback:function(e){t.$set(t.form,"nombre",e)},expression:"form.nombre"}})],1),t._v(" "),e("v-col",{attrs:{cols:"12",md:"4",sm:"6"}},[e("v-text-field",{staticClass:"email-input",attrs:{dense:"",outlined:"",autofocus:"",type:"email",label:"Correo",rules:t.rules.email,"prepend-inner-icon":"fa-envelope",error:t.form.errors.has("correo"),"error-messages":t.form.errors.get("correo")},model:{value:t.form.correo,callback:function(e){t.$set(t.form,"correo",e)},expression:"form.correo"}})],1),t._v(" "),e("v-col",{attrs:{cols:"12",md:"4",sm:"6"}},[e("v-text-field",{directives:[{name:"mask",rawName:"v-mask",value:"#########",expression:"'#########'"}],attrs:{dense:"",outlined:"",label:"Teléfono",placeholder:"Teléfono",rules:t.rules.phone,"prepend-inner-icon":"fa-mobile",error:t.form.errors.has("telefono"),"error-messages":t.form.errors.get("telefono")},model:{value:t.form.telefono,callback:function(e){t.$set(t.form,"telefono",e)},expression:"form.telefono"}})],1)],1)},[],!1,null,null,null);e.default=component.exports},364:function(t,e,r){"use strict";r.r(e);r(34),r(9),r(5),r(20),r(51);var o={props:{replaceSegments:{type:Object,default:function(){return{}}}},computed:{headerOffset:function(){return this.$store.getters["commons/headerOffset"]||0},breadcrumbsTopStyle:function(){return this.headerOffset?{paddingTop:"".concat(this.headerOffset+8,"px")}:{paddingTop:"24px"}},items:function(){var t=this,e=this.$route.path.split("/").filter(function(t){return Boolean(t)}).reduce(function(e,path,r){var o,n,c={path:path,nuxt:!0,exact:!0,to:e[r-1]?e[r-1].to+"/".concat(path):"/"+path},meta=(null===(o=t.$route.matched[r])||void 0===o||null===(n=o.meta)||void 0===n?void 0:n.breadCrumb)||path;return c.text="function"==typeof meta?meta.call(t,t.$route):decodeURI(meta).replace(/-/g," "),e.push(c),e},[]),r=[{text:"INICIO",nuxt:!0,to:"/"}].concat(e);for(var o in this.replaceSegments){var n=this.replaceSegments[o];Object.assign(r[o-1],"string"==typeof n?{text:n}:n)}return r}}},n=(r(732),r(1)),component=Object(n.a)(o,function(){var t=this,e=t._self._c;return e("v-col",{staticClass:"pa-2",style:t.breadcrumbsTopStyle,attrs:{cols:"12"}},[e("v-card",{staticClass:"premium-breadcrumbs-card",attrs:{flat:""}},[e("v-breadcrumbs",{staticClass:"text-uppercase caption premium-breadcrumbs-items",attrs:{items:t.items}})],1)],1)},[],!1,null,"49e2b151",null);e.default=component.exports},371:function(t,e,r){"use strict";r.r(e);var o=r(2),n=r(0),c=(r(40),r(7),r(9),r(17),r(5),r(14),r(15),r(8),r(12),r(46),r(19),r(38)),l=r(365),d=r(357),f=r(356);function m(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,o)}return r}function h(t){for(var e=1;e0)){e.next=1;break}return e.abrupt("return");case 1:return e.next=2,t.fetchSliderProducts({fetchFromStore:t.isCartPage});case 2:case"end":return e.stop()}},e)}))()},computed:{items:function(){return this.isCartPage?this.sliderProducts:this.products},responsive:function(){return{xs:{visibleSlides:3},sm:{visibleSlides:2},md:{visibleSlides:3},lg:{visibleSlides:4},xl:{visibleSlides:4}}[this.$vuetify.breakpoint.name]},drawerState:function(){return this.$store.getters["cart/drawerProduct"].value},sliderProducts:function(){return this.$store.getters["commons/sliderProducts"]},isCartPage:function(){return this.routeIs("cart")||this.routeIs("price-list.cart")}},watch:{drawerState:function(t){t||this.clear()},items:function(t){var e=this;this.$refs.slides&&(this.$refs.slides.pauseAutoplay(),this.$refs.slides.touchEnabled=!1,setTimeout(function(){e.$refs.slides.touchEnabled=!0,e.$refs.slides.resumeAutoplay()},200))}},methods:{addToCart:function(t,e){this.item=new c.a(h(h({},e),{},{qty:t})),this.handleProductInput(t,this.item)},clear:function(t){var e,r,o=null!=t?t:this.item;this.waitingListDialog=!1,null===(e=this.$refs["product_".concat(o)])||void 0===e||null===(r=e[0])||void 0===r||r.clear(),this.item={}},fetchSliderProducts:function(t){var e=this;return Object(n.a)(regeneratorRuntime.mark(function r(){var o,n,l;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(o=t.fetchFromStore,!(void 0!==o&&o)){r.next=2;break}return r.next=1,e.$store.dispatch("commons/fetchSliderProducts");case 1:return r.abrupt("return",r.sent);case 2:return r.prev=2,r.next=3,e.$axios.get("/products");case 3:n=r.sent,l=n.data.data,e.products=l.map(function(t){return new c.a(t)}),r.next=5;break;case 4:r.prev=4,r.catch(2);case 5:case"end":return r.stop()}},r,null,[[2,4]])}))()}}},y=(r(773),r(1)),component=Object(y.a)(v,function(){var t=this,e=t._self._c;return e("v-card",{attrs:{flat:"",color:"transparent"}},[e("vueper-slides",{ref:"slides",staticClass:"sliderProduct no-shadow",attrs:{gap:3,"slide-multiple":"","slide-ratio":1/4,"pause-on-hover":!0,"dragging-distance":100,arrows:!1,"visible-slides":t.responsive.visibleSlides,autoplay:!t.waitingListDialog,breakpoints:{800:{visibleSlides:2,slideMultiple:1}}}},t._l(t.items,function(r){return e("vueper-slide",{key:r.codigo,attrs:{duration:6e3},scopedSlots:t._u([{key:"content",fn:function(){return[e("product-list-item",{ref:"product_".concat(r.codigo),refInFor:!0,staticStyle:{"margin-bottom":"2px"},attrs:{product:r},on:{input:function(e){return t.addToCart(e,r)}}})]},proxy:!0}],null,!0)})}),1),t._v(" "),e("v-dialog",{attrs:{persistent:""},model:{value:t.waitingListDialog,callback:function(e){t.waitingListDialog=e},expression:"waitingListDialog"}},[e("waiting-list-form",{attrs:{product:t.item},on:{cancel:t.clear,success:t.clear}})],1)],1)},[],!1,null,null,null);e.default=component.exports},724:function(t,e,r){t.exports={}},729:function(t,e,r){t.exports={}},732:function(t,e,r){"use strict";r(724)},773:function(t,e,r){"use strict";r(729)},806:function(t,e,r){"use strict";(function(t){var o=r(0),n=(r(20),r(51),r(19),r(364)),c=r(371),l=r(60);e.a={components:{Breadcrumbs:n.default,ProductsSlider:c.default},mixins:[l.default],fetch:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("{}"!==JSON.stringify(t.config)){e.next=1;break}return e.next=1,t.$store.dispatch("commons/fetchWebConfig","blog");case 1:case"end":return e.stop()}},e)}))()},head:function(e){var r,o;return{title:"Blog FishBox Chile",titleTemplate:"%s",link:[{hid:"canonical",rel:"canonical",href:"".concat(((null===(r=e.$config)||void 0===r?void 0:r.appUrl)||t.env.CLIENT_URL||"https://fishboxchile.cl").replace(/\/$/,""),"/blog")}],meta:[{hid:"description",name:"description",content:"Recetas, tips y novedades sobre pescados y mariscos frescos en el blog de FishBox Chile."},{hid:"og:title",property:"og:title",content:"Blog FishBox Chile"},{hid:"og:description",property:"og:description",content:"Recetas, tips y novedades sobre pescados y mariscos frescos en el blog de FishBox Chile."},{hid:"og:type",property:"og:type",content:"website"}],script:[{hid:"ld-blog",type:"application/ld+json",innerHTML:JSON.stringify({"@context":"https://schema.org","@type":"Blog",name:"Blog FishBox Chile",description:"Recetas, tips y novedades sobre pescados y mariscos frescos en el blog de FishBox Chile.",url:"".concat(((null===(o=e.$config)||void 0===o?void 0:o.appUrl)||t.env.CLIENT_URL||"https://fishboxchile.cl").replace(/\/$/,""),"/blog"),publisher:{"@type":"Organization",name:"FishBox Chile",url:"https://fishboxchile.cl"}})}],__dangerouslyDisableSanitizersByTagID:{"ld-blog":["innerHTML"]}}},computed:{config:function(){return this.$store.getters["commons/blog"]},optimizedConfigImage:function(){var t;if(null===(t=this.config)||void 0===t||!t.image)return"";var e=/^((?!chrome|android|crios|fxios).)*safari/i.test(navigator.userAgent);return this.requestResizedImage(this.config.image,{w:1600,q:90,fm:e?"jpg":"webp",fit:"max",sharp:12})},optimizedConfigImagePlaceholder:function(){var t;return null!==(t=this.config)&&void 0!==t&&t.image?this.requestResizedImage(this.config.image,{w:40,q:40,fm:"jpg",fit:"max",blur:3}):""}},mounted:function(){window.scrollTo(0,0)}}}).call(this,r(109))},860:function(t,e,r){t.exports={}},920:function(t,e,r){"use strict";r(860)}}]);