PageSourceSearch

https://www.bilka.dk/_nuxt/magnolia-bilka-to-go.js

js bilka.dk collected 2026-10-01 11:54:47 UTC 8,434 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[22],{1118:function(t,e,r){},1119:function(t,e,r){},1274:function(t,e,r){"use strict";r(1118)},1275:function(t,e,r){"use strict";r(1119)},1352:function(t,e,r){"use strict";r.r(e);r(24),r(18),r(17),r(16),r(20),r(21);var n=r(4),c=r(22),o=r(2),l=r(11),f=r(10),d=r(13),m=r(12),v=r(6),h=(r(27),r(28),r(62),r(0)),O=r(1),y=r(158),_=(r(90),r(30),r(413)),j=r(174),x=r(403),P=r(8),k=r(113),C=r(105);function w(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=Object(v.a)(t);if(e){var c=Object(v.a)(this).constructor;r=Reflect.construct(n,arguments,c)}else r=n.apply(this,arguments);return Object(m.a)(this,r)}}var R=function(t){Object(d.a)(r,t);var e=w(r);function r(){return Object(l.a)(this,r),e.apply(this,arguments)}return Object(f.a)(r)}(O.h);Object(h.a)([Object(O.e)({type:Object,required:!0})],R.prototype,"product",void 0);var D=R=Object(h.a)([Object(O.a)({components:{ProductPrice:j.a,CardSticker:_.a,ProductStickers:x.a,SmartRouterLink:C.a},methods:{localizedText:P.a},filters:{formatPrice:k.c,formatNumber:k.b}})],R),E=(r(1274),r(14)),S=r(19),T=r.n(S),V=r(338),A=r(55),B=r(292),component=Object(E.a)(D,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("smart-router-link",{attrs:{to:t.product.link}},[e("v-card",{staticClass:"product-card fill-height d-flex flex-column",attrs:{tag:"article"}},[e("div",{staticClass:"image flex mt-md-6 mt-4 mx-md-7 mx-5"},[e("v-img",{attrs:{"aspect-ratio":1,contain:"",src:t.product.image}})],1),t._v(" "),e("v-card-title",{staticClass:"title flex align-flex-start"},[t._v("\n      "+t._s(t.product.name)+"\n    ")]),t._v(" "),e("v-card-text",{staticClass:"description flex flex-grow grey--text ss01-price"},[t._v("\n      "+t._s(t._f("formatNumber")(t.product.contents))+t._s(t.product.contentsUnit)+" |\n      "+t._s(t._f("formatNumber")(t.product.unitPrice))+"/"+t._s(t.product.priceUnit)+"\n    ")]),t._v(" "),e("div",{staticClass:"v-card__actions price flex d-flex mx-5 mb-5 ss01-price"},[e("span",{staticClass:"price-text"},[t._v(t._s(t._f("formatPrice")(t.product.price)))]),t._v(" "),e("span",{staticClass:"price-label"},[t._v("på bilkatogo.dk")])])],1)],1)}),[],!1,null,"1e3f2e94",null),I=component.exports;function U(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=Object(v.a)(t);if(e){var c=Object(v.a)(this).constructor;r=Reflect.construct(n,arguments,c)}else r=n.apply(this,arguments);return Object(m.a)(this,r)}}T()(component,{VCard:V.a,VCardText:A.b,VCardTitle:A.c,VImg:B.a});var L=function(t){Object(d.a)(r,t);var e=U(r);function r(){return Object(l.a)(this,r),e.apply(this,arguments)}return Object(f.a)(r,[{key:"sliderOptions",get:function(){return{breakpoints:{600:{slidesPerView:2,slidesPerGroup:2},960:{slidesPerView:3,slidesPerGroup:3},1360:{slidesPerView:4,slidesPerGroup:4}}}}}]),r}(O.h);Object(h.a)([Object(O.e)({type:Array,required:!0})],L.prototype,"products",void 0);var N=L=Object(h.a)([Object(O.a)({components:{MostBoughtProductCard:I}})],L),G=Object(E.a)(N,(function(){var t=this._self._c;this._self._setupProxy;return t("swiper",{attrs:{name:"top",options:this.sliderOptions,items:this.products,"slide-class":"flex"},scopedSlots:this._u([{key:"default",fn:function(e){return[t("most-bought-product-card",{staticClass:"flex",attrs:{product:e}})]}}])})}),[],!1,null,null,null).exports,z=r(5),H=r(208),J=r(209),M=r.n(J);function X(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}function Q(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};
1i%2?X(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):X(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}function W(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=Object(v.a)(t);if(e){var c=Object(v.a)(this).constructor;r=Reflect.construct(n,arguments,c)}else r=n.apply(this,arguments);return Object(m.a)(this,r)}}var $=function(t){Object(d.a)(o,t);var e,r=W(o);function o(){var t;return Object(l.a)(this,o),(t=r.apply(this,arguments)).products=[],t.isEmpty=!1,t}return Object(f.a)(o,[{key:"imageUrl",get:function(){return H.a.getImageUrl(this.image,z.w.SQUARE,z.x.EXTENDED_PRODUCT_SLIDER_HEIGHT,z.x.EXTENDED_PRODUCT_SLIDER_WIDTH)}},{key:"mappedProducts",get:function(){var t=this;return this.products.map((function(e){var image=t.setImgSize(e.image);return Q(Q({},e),{},{image:image})}))}},{key:"setImgSize",value:function(t){var e=t.split(/\?(.+)/),r=Object(c.a)(e,2),n=r[0],o=r[1],l=M.a.parse(o||"");l.imgSize="400x400";var f=M.a.stringify(l);return"".concat(n,"?").concat(f)}},{key:"fetchProducts",value:(e=Object(n.a)(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,y.a.mostBoughtProducts("bilkaToGo");case 2:e=t.sent,this.products=e.data||[],0===this.products.length&&(this.isEmpty=!0);case 5:case"end":return t.stop()}}),t,this)}))),function(){return e.apply(this,arguments)})},{key:"isEndlessAislesActive",get:function(){return this.$store.getters["Cart/isEndlessAislesActive"]}},{key:"title",get:function(){return this.data.componentData.title}},{key:"buttonLabel",get:function(){return this.data.componentData.buttonLabel}},{key:"sliderTitle",get:function(){return this.data.componentData.sliderTitle}},{key:"sliderSubTitle",get:function(){return this.data.componentData.sliderSubTitle}},{key:"offersOnly",get:function(){return this.data.componentData.offersOnly}},{key:"image",get:function(){return this.data.componentData.image}}]),o}(O.h);Object(h.a)([Object(O.e)({type:Object,required:!0})],$.prototype,"data",void 0),Object(h.a)([Object(O.i)("data",{immediate:!0})],$.prototype,"fetchProducts",null);var F=$=Object(h.a)([Object(O.a)({components:{MostBoughtProductSlider:G,SmartRouterLink:C.a}})],$),K=(r(1275),r(225)),Y=r(891),Z=r(892),tt=r(893),et=Object(E.a)(F,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{directives:[{name:"show",rawName:"v-show",value:!t.isEndlessAislesActive,expression:"!isEndlessAislesActive"}],staticClass:"magnolia-bilka-to-go wrapper pt-0 pb-0 has-swiper"},[e("v-container",{staticClass:"py-0"},[e("v-row",[e("v-col",{staticClass:"d-flex pt-md-0 mt-12",attrs:{cols:"12",md:"4"}},[e("div",{staticClass:"content flex"},[e("base-image",{staticClass:"environment-image mb-6 mt-md-6 logo",attrs:{src:"/img/bilkatogo.svg",contain:""}}),t._v(" "),e("h2",{staticClass:"mb-4"},[t._v(t._s(t.title))]),t._v(" "),e("smart-router-link",{attrs:{to:"https://bilkatogo.dk"}},[e("v-btn",{staticClass:"link-button mt-6 pl-8 pr-8 white--text",attrs:{center:""}},[e("b",[t._v(t._s(t.buttonLabel))])])],1)],1)]),t._v(" "),e("v-col",{staticClass:"pt-0 order-first order-md-last mt-0",attrs:{cols:"12",md:"7","offset-md":"1"}},[e("div",{staticClass:"image anti-container-sm"},[e("base-image",{staticClass:"environment-image",attrs:{src:t.imageUrl,alt:t.image.altText,"aspect-ratio":"1.6"}})],1)])],1),t._v(" "),t.isEmpty?t._e():e("div",{staticClass:"products product-swiper"},[e("div",{staticClass:"mb-4 mb-md-5"},[e("p",[t._v(t._s(t.sliderSubTitle))]),t._v(" "),e("span",{staticClass:"h2"},[t._v(t._s(t.sliderTitle))])]),t._v(" "),t.mappedProducts.length>0?e("most-bought-product-slider",{ref:"most-bought-product-slider",attrs:{products:t.mappedProducts}}):t._e()],1)],1)],1)}),[],!1,null,"7e255ae0",null);e.default=et.exports;T()(et,{VBtn:K.a,VCol:Y.a,VContainer:Z.a,VRow:tt.a})}}]);

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.