PageSourceSearch

https://www.teknikdelar.se/_nuxt/91827ca.modern.js

js teknikdelar.se collected 2026-10-05 03:40:03 UTC 25,968 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{588:function(t,e,r){t.exports={}},596:function(t,e,r){"use strict";var l=r(6),o=(r(16),r(19),r(25)),n=r(87),c=r(114),d=r(115);function h(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);e&&(l=l.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,l)}return r}var f={name:"ProductCard",components:{ProductRating:r(232).a},mixins:[n.a,c.a,d.a],props:{product:{type:Object,required:!0},showLabel:{type:Boolean,default:!1},linkTarget:{type:String,default:()=>null}},computed:function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?h(Object(r),!0).forEach((function(e){Object(l.a)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({productLabels(){var t,e=[];this.showLabel&&this.buyXGetY&&e.push({label:null===(t=this.buyXGetY)||void 0===t?void 0:t.discount_label,background_color:"#ff8080",color:"#fff"});return this.product.labels&&e.push(...this.product.labels),e}},Object(o.c)({buyXGetY:"discount/buyXGetY"})),methods:{addToCart(){this.$store.dispatch("cart/addToCart",this.product)},isBackorder:t=>null!=t&&"back-order"===t}},v=f,y=(r(597),r(22)),component=Object(y.a)(v,(function(){var t=this,e=t._self._c;return e("nuxt-link",{staticClass:"product-card",attrs:{to:t.localePath({name:"product",params:{slug:t.product.slug},hash:t.product.url_fragment?"#".concat(t.product.url_fragment):""}),target:t.linkTarget}},[e("div",{staticClass:"details-wrapper"},[e("div",{staticClass:"product-card-image"},[e("client-only",[e("div",{staticClass:"splash-grid"},t._l(t.productLabels,(function(label,i){return e("div",{key:"category-label-".concat(i),staticClass:"splash-grid-label",style:{backgroundColor:label.background_color,color:label.color}},[t._v("\n            "+t._s(label.label)+"\n          ")])})),0)]),t._v(" "),t.product.thumb&&t.product.thumb.url?e("img",{staticClass:"featured",attrs:{loading:"lazy",src:t.product.thumb.url,width:t.product.thumb.width,height:t.product.thumb.height,alt:t.product.name}}):e("img",{staticClass:"featured",attrs:{loading:"lazy",src:r(112),width:"122",height:"122",alt:t.product.name}})],1),t._v(" "),e("div",{staticClass:"meta"},[e("div",[e("p",{staticClass:"product-name"},[t._v(t._s(t.product.prefix)+" "+t._s(t.product.name))])]),t._v(" "),e("div",{staticClass:"price-rating"},[e("div",{staticClass:"mt-1 product-rating",style:{visibility:t.product.score?"visible":"hidden"}},[e("product-rating",{attrs:{rating:t.product.score,reviews:t.product.reviews}})],1),t._v(" "),e("div",{staticClass:"product-pricing"},[t.product.variations&&t.product.variations.length>0?e("div",{staticClass:"product-price",domProps:{innerHTML:t._s(t.$t("product.price_starts_at",[t.lowestPrice(t.product.variations,t.product.group_id,t.product.discount_category)]))}}):e("div",{staticClass:"product-price",domProps:{innerHTML:t._s(t.fromPrice(t.product.prices,t.product.group_id,t.product.discount_category,t.product.vat,!0,null!=t.product.discount_data))}})])])])]),t._v(" "),e("div",{staticClass:"stock-and-atc"},[e("div",{staticClass:"stock-check"},[t.product.is_new?e("p",{staticClass:"new-product"},[t._v(t._s(t.$t("general.new")))]):t._e(),t._v(" "),e("div",{class:[t.stockStatusTextClass,t.product.stock_status]},[e("div",{staticClass:"stock-indicator"}),t._v(" "),e("small",{staticClass:"stock-status-text"},[t.product.estimated_at&&null!==t.product.estimated_at?[t._v("\n            "+t._s(t.$t("stock_status.presale",{estimated_at:t.$d(new Date(t.product.estimated_at),"short")}))+"\n          ")]:[e("client-only",[t.$store.state.productpurchase.stockStatusDates?[t._v("\n                "+t._s(t.getDeliveryRange(t.product.stock_status))+"\n              ")]:[t.isBackorder(t.product.stock_status)?[t._v("\n                  "+t._s(t.$t("stock_status.out-of-stock"))+"\n                ")]:[t._v("\n                  "+t._s(t.$t("stock_status.".concat(t.product.stock_status)))+"\n                ")]]],2)]],2)])]),t._v(" "),e("div",{staticClass:"add-to-cart"},[t._t("addToCart",(function(){return[t.product.orderable?e("button",{on:{click:function(e){return e.preventDefault(),t.fastAddToCart(e,t.product,1)}}},[t._v("\n          "+t._s(t.$t("general.add_to_cart"))+"\n        ")]):t._e(),t._v(" "),t.product.notifyable?e("button",{staticClass:"notifyable"},[t._v("\n          "+t._s(t.$t("general.notify"))+"\n        ")]):t._e()]}),{product:t.product,fastAddToCart:t.fastAddToCart})],2)])])}),[],!1,null,null,null);e.a=component.exports},597:function(t,e,r){"use strict";r(588)},615:function(t,e,r){"use strict";var l=r(11),o=r(6),n=(r(49),r(16),r(343),r(88),r(45),r(228),r(64),r(113),r(19),r(25)),c=r(794),d=r(51),h=r(87),f=r(114),v=r(186),y=r(115),_=r(596),F=(r(23),r(100),r(560)),m=r(573),C=r(717);function k(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);e&&(l=l.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,l)}return r}var O={props:{config:{type:Object,default:()=>null},value:{type:Array,default:()=>null}},watch:{config(t,e){t.range.min===e.range.min&&t.range.max===e.range.max||this.$refs.slider.noUiSlider&&this.$refs.slider.noUiSlider.updateOptions(t)},disabled(t,e){this.$refs.slider&&this.$refs.slider.setAttribute("disabled",t)},value(t){this.$refs.slider.set&&this.$refs.slider.set(t)}},mounted(){var t=C.a.create(this.$refs.slider,function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?k(Object(r),!0).forEach((function(e){Object(o.a)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):k(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({start:this.value,connect:!0},this.config));t.on("update",(t=>{this.$emit("input",t)})),t.on("change",(t=>{this.$emit("change",t)}))}},w=O,j=(r(718),r(22)),$=Object(j.a)(w,(function(){return(0,this._self._c)("div",{ref:"slider"})}),[],!1,null,null,null).exports;function x(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);e&&(l=l.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,l)}return r}var P={name:"ProductFilter",components:{BSpinner:F.a,Slider:$,BCollapse:m.a},props:{categoryId:{type:String,default:null}},data:()=>({filterValues:{},toggledFilters:{},filterFormatter:{from:t=>parseInt(t),to:t=>parseInt(t)},baseFilters:[],baseValues:[],appliedFilters:{},enabledFilters:{},updatingFilters:!1}),computed:{filterVisible:{get(){return this.$store.state.filter.open},set(t){t||this.hideFilter()}}},mounted(){this.appliedFilters=this.parseFiltersFromQuery(this.$route.query),0===this.baseFilters.length&&this.fetchBaseFilters().then((()=>this.fetchFilterCount(this.appliedFilters)))},methods:function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?x(Object(r),!0).forEach((function(e){Object(o.a)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({isMobile:()=>window.innerWidth<=576,parseFiltersFromQuery(t){var e={};if(null!==t)for(var r in t)r.startsWith("f[")&&(e[r]=t[r]);return e},filterChanged(t,e,r){var l,o;if(0===t.length)this.$delete(this.appliedFilters,"f[".concat(e,"]"));else switch(r){case"range":if(l=parseInt(t[0]),o=parseInt(t[1]),l===this.baseValues[e][0]&&o===this.baseValues[e][1]){this.$delete(this.appliedFilters,"f[".concat(e,"]"));break}this.$set(this.appliedFilters,"f[".concat(e,"]"),[l,o].join("::"));break;case"checkbox":t.length>0&&this.$set(this.appliedFilters,"f[".concat(e,"]"),t.join("||"))}this.fetchFilterCount(this.appliedFilters),this.isMobile()||this.apply()},removeFilter(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],filter={slug:t,value:e,type:"checkbox"};this.quickRemoveFilter(filter,r||!this.isMobile())},quickRemoveFilter(filter,t){if("range"===filter.type)return filter.slug in this.baseValues&&this.$set(this.filterValues,filter.slug,this.baseValues[filter.slug]),this.$delete(this.appliedFilters,"f[".concat(filter.slug,"]")),void(t?this.apply():this.fetchFilterCount(this.appliedFilters));var e=this.appliedFilters["f[".concat(filter.slug,"]")].split("||"),r=e.indexOf(filter.value);e.splice(r,1),filter.slug in this.filterValues&&(r=this.filterValues[filter.slug].indexOf(filter.value),this.filterValues[filter.slug].splice(r,1)),0===e.length?this.$delete(this.appliedFilters,"f[".concat(filter.slug,"]")):this.$set(this.appliedFilters,"f[".concat(filter.slug,"]"),e.join("||")),this.fetchFilterCount(this.appliedFilters),t?this.apply():this.fetchFilterCount(this.appliedFilters)},fetchBaseFilters(){return null===this.categoryId?Promise.resolve():(this.updatingFilters=!0,this.$axios.get("/api/product-categories/".concat(this.categoryId,"/filters")).then((t=>{var e=t.data;for(var r of e)switch(this.toggledFilters[r.slug]=!1,r.filterable.type){case"range":if(this.filterValues[r.slug]=[Math.floor(r.filterable.min),Math.ceil(r.filterable.max)],this.baseValues[r.slug]=this.filterValues[r.slug],"f[".concat(r.slug,"]")in this.appliedFilters){var p=this.appliedFilters["f[".concat(r.slug,"]")].split("::");this.filterValues[r.slug]=[parseFloat(p[0]),parseFloat(p[1])],this.toggledFilters[r.slug]=!0}break;case"checkbox":if("f[".concat(r.slug,"]")in this.appliedFilters){this.filterValues[r.slug]=this.appliedFilters["f[".concat(r.slug,"]")].split("||"),this.toggledFilters[r.slug]=!0;break}this.filterValues[r.slug]=[]}this.baseFilters=e})).finally((()=>{this.updatingFilters=!1})))},fetchFilterCount(t){if(null!==this.categoryId&&!this.updatingFilters){this.updatingFilters=!0,this.noResults=!1;var e={},r=t;this.$route.query.phone_model&&(r.phone_model=this.$route.query.phone_model),this.$axios.get("/api/product-categories/".concat(this.categoryId,"/filter-count"),{params:r}).then((t=>{var r=t.data,i=0;for(var l of r){switch(l.type){case"range":e[l.slug]=!0;break;case"checkbox":l.slug in e||(e[l.slug]={}),e[l.slug][l.name]=l.products}i++}0===i?this.noResults=!0:this.enabledFilters=e})).finally((()=>{this.updatingFilters=!1}))}},apply(){this.$emit("apply",this.appliedFilters),this.hideFilter()},getFilterOptions:(t,e)=>e?t.filter((option=>option.toLowerCase().includes(e.toLowerCase()))):t,clearFilters(){for(var filter of(this.appliedFilters={},this.activeFilters=!1,this.apply(),this.baseFilters))switch(filter.filterable.type){case"range":this.filterValues[filter.slug]=this.baseValues[filter.slug];break;case"checkbox":this.filterValues[filter.slug]=[]}}},Object(n.d)({toggleFilter:"filter/toggle",hideFilter:"filter/hide"}))},V=P,L=(r(719),Object(j.a)(V,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"product-filter",class:{"mobile-visible-filter":t.filterVisible}},[e("div",{staticClass:"desktop-header d-none d-lg-block"},[t._t("default")],2),t._v(" "),e("div",{staticClass:"mobile-header"},[e("div",{staticClass:"title"},[t._v("\n      "+t._s(t.$t("general.filter"))+"\n    ")]),t._v(" "),e("div",{staticClass:"close"},[e("button",{on:{click:t.hideFilter}},[e("i",{staticClass:"far fa-times"})])])]),t._v(" "),e("ul",{staticClass:"filter-parent"},[t._l(t.baseFilters,(function(filter,r){return["range"!==filter.filterable.type||!(filter.slug in t.enabledFilters)||Math.floor(filter.filterable.min)===Math.ceil(filter.filterable.max)&&null==t.filterValues[filter.slug]?"checkbox"===filter.filterable.type?e("li",{key:r},[e("a",{directives:[{name:"b-toggle",rawName:"v-b-toggle"}],attrs:{href:"#s-filter-"+filter.slug},on:{click:function(t){t.preventDefault()}}},[e("span",[t._v(t._s(filter.name))]),t._v(" "),e("i",{staticClass:"far fa-chevron-down"})]),t._v(" "),t.filterValues[filter.slug].length?e("div",{staticClass:"selected-options"},t._l(t.filterValues[filter.slug],(function(option,r){return e("span",{key:r,staticClass:"badge badge-light badge-option"},[t._v("\n            "+t._s(option)+"\n\n            "),e("i",{staticClass:"far fa-times",on:{click:function(e){return t.removeFilter(filter.slug,option)}}})])})),0):t._e(),t._v(" "),e("b-collapse",{staticClass:"mt-2",attrs:{id:"s-filter-"+filter.slug}},[e("div",{staticClass:"dropdown-options"},[e("div",{staticClass:"search-form"},[e("input",{directives:[{name:"model",rawName:"v-model",value:filter.search,expression:"filter.search"}],attrs:{type:"text",placeholder:t.$t("general.search")},domProps:{value:filter.search},on:{input:function(e){e.target.composing||t.$set(filter,"search",e.target.value)}}}),t._v(" "),e("i",{staticClass:"far fa-search"})]),t._v(" "),e("ul",t._l(t.getFilterOptions(filter.filterable.values,filter.search),(function(option,r){return e("li",{key:r,class:{selected:t.filterValues[filter.slug].includes(option)}},[e("span",[t._v(t._s(option))]),t._v(" "),filter.slug in t.enabledFilters?e("div",{staticClass:"option-select"},[option in t.enabledFilters[filter.slug]?e("label",{staticClass:"qty",attrs:{for:filter.slug}},[t._v("\n                    "+t._s(t.enabledFilters[filter.slug][option])+"\n                  ")]):t._e(),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.filterValues[filter.slug],expression:"filterValues[filter.slug]"}],attrs:{type:"checkbox"},domProps:{value:option,checked:Array.isArray(t.filterValues[filter.slug])?t._i(t.filterValues[filter.slug],option)>-1:t.filterValues[filter.slug]},on:{change:[function(e){var r=t.filterValues[filter.slug],l=e.target,o=!!l.checked;if(Array.isArray(r)){var n=option,c=t._i(r,n);l.checked?c<0&&t.$set(t.filterValues,filter.slug,r.concat([n])):c>-1&&t.$set(t.filterValues,filter.slug,r.slice(0,c).concat(r.slice(c+1)))}else t.$set(t.filterValues,filter.slug,o)},function(e){return t.filterChanged(t.filterValues[filter.slug],filter.slug,filter.filterable.type)}]}})]):e("div",{staticClass:"option-select"},[e("label",{staticClass:"qty",attrs:{for:filter.slug}},[t._v("0")]),t._v(" "),e("input",{attrs:{type:"checkbox",name:filter.slug,disabled:""}})])])}
1)),0)])])],1):t._e():e("li",{key:r},[e("a",{directives:[{name:"b-toggle",rawName:"v-b-toggle"}],attrs:{href:"#"+filter.slug},on:{click:function(t){t.preventDefault()}}},[e("span",[t._v("\n            "+t._s(filter.name)+"\n            "),filter.unit?[t._v("("+t._s(filter.unit)+")")]:t._e()],2),t._v(" "),e("i",{staticClass:"far fa-chevron-down"})]),t._v(" "),e("b-collapse",{staticClass:"mt-2",attrs:{id:filter.slug},model:{value:t.toggledFilters[filter.slug],callback:function(e){t.$set(t.toggledFilters,filter.slug,e)},expression:"toggledFilters[filter.slug]"}},[e("div",{staticClass:"dropdown-options"},[e("div",{staticClass:"filter-slider"},[e("slider",{attrs:{config:{range:{min:Math.floor(filter.filterable.min),max:Math.ceil(filter.filterable.max)},tooltips:[t.filterFormatter,t.filterFormatter]},disabled:!(filter.slug in t.enabledFilters)},on:{change:function(e){return t.filterChanged(e,filter.slug,filter.filterable.type)}},model:{value:t.filterValues[filter.slug],callback:function(e){t.$set(t.filterValues,filter.slug,e)},expression:"filterValues[filter.slug]"}})],1)])])],1)]}))],2),t._v(" "),e("div",{staticClass:"mobile-footer"},[e("button",{staticClass:"btn btn-primary btn-block",on:{click:t.apply}},[e("span",[t._v(t._s(t.$t("general.filter")))]),t._v(" "),t.updatingFilters?e("b-spinner",{staticClass:"ml-2",attrs:{variant:"light",label:"Loading",small:""}}):t._e()],1),t._v(" "),e("button",{staticClass:"btn btn-outline-dark btn-block",on:{click:function(e){return t.clearFilters()}}},[t._v("\n      "+t._s(t.$t("general.clear_filters"))+"\n    ")])])])}),[],!1,null,null,null).exports),D={name:"ProductLoaderCard",components:{BSkeleton:r(600).a}},I=Object(j.a)(D,(function(){var t=this._self._c;return t("div",{staticClass:"product-loader-card"},[t("b-skeleton",{attrs:{height:"250px"}})],1)}),[],!1,null,"4ae79749",null).exports;function S(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);e&&(l=l.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,l)}return r}function A(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?S(Object(r),!0).forEach((function(e){Object(o.a)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):S(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var M={components:{ProductLoaderCard:I,ProductFilter:L,ProductCard:_.a,BPaginationNav:c.a},mixins:[h.a,f.a,y.a],props:{products:{type:Array,default:()=>[]},rows:{type:Number,default:()=>24},page:{type:Number,default:()=>1},title:{type:String,default:()=>""},navAction:{type:Function,default:()=>{}},hideHeaderFooter:{type:Boolean,default:()=>!1},applyFilter:{type:Function,default:null},applyOrder:{type:Function,default:null},categoryId:{type:String,default:()=>null},categoryDescription:{type:String,default:()=>null},loading:{type:Boolean,default:!1},injectWidget:{type:Boolean,default:!1},productOrder:{type:Number,default:()=>1},defaultProductOrder:{type:Number,default:()=>1}},data:()=>({imageType:d.a,activeFilters:!1,filterValues:{},perPage:24,productsLabelList:[],showCouponLabel:!1,descriptionCollapsed:!0,filterFormatter:{from:t=>parseInt(t),to:t=>parseInt(t)},baseFilters:[],baseValues:[],enabledFilters:{},filters:[],updatingFilters:!1,noResults:!1,appliedFilters:{},toggledFilters:{}}),computed:A({filterVisible:{get(){return this.$store.state.filter.open},set(t){t||this.hideFilter()}},canInjectWidget(){return this.injectWidget&&this.products.length>15&&1===this.page},productChunks(){return{topChunk:this.products.slice(0,12),bottomChunks:this.products.slice(12)}},computedPage:{get(){return this.page},set(t){this.$emit("update:page",t)}},navRel(){return this.activeFilters||this.productOrder!==this.defaultProductOrder?"nofollow":null},decoratedAppliedFilters(){var t=[],e=null,r=null;for(var[l,o]of Object.entries(this.appliedFilters))if(e=l.substring(2,l.length-1),o.includes("::")){var[n,c]=o.split("::");t.push({slug:e,value:"".concat(n," - ").concat(c),type:"range"})}
1else r=o.split("||"),t.push(...r.map((t=>({slug:e,value:t,type:"checkbox"}))));return t}},Object(n.c)({buyXGetY:"discount/buyXGetY"})),watch:{products:{immediate:!0,deep:!0,handler(t){var e=this;return Object(l.a)((function*(){null!=t&&t.length&&e.buyXGetY&&(e.productsLabelList=yield Object(v.a)(e.products,e.buyXGetY,e.$axios))}))()}}},mounted(){this.appliedFilters=this.parseFiltersFromQuery(this.$route.query),this.activeFilters=0!==Object.keys(this.appliedFilters).length},methods:A({showLabel(t){return this.checkLabelVisibility(t,this.productsLabelList)},quickRemoveFilter(filter,t){if("range"===filter.type)return filter.slug in this.baseValues&&this.$set(this.filterValues,filter.slug,this.baseValues[filter.slug]),this.$delete(this.appliedFilters,"f[".concat(filter.slug,"]")),void(t&&this.apply());var e=this.appliedFilters["f[".concat(filter.slug,"]")].split("||"),r=e.indexOf(filter.value);e.splice(r,1),filter.slug in this.filterValues&&(r=this.filterValues[filter.slug].indexOf(filter.value),this.filterValues[filter.slug].splice(r,1)),0===e.length?this.$delete(this.appliedFilters,"f[".concat(filter.slug,"]")):this.$set(this.appliedFilters,"f[".concat(filter.slug,"]"),e.join("||")),t&&this.apply()},parseFiltersFromQuery(t){var e={};if(null!==t)for(var r in t)r.startsWith("f[")&&(e[r]=t[r]);return e},filterChanged(t,e,r){var l,o;if(0===t.length)this.$delete(this.appliedFilters,"f[".concat(e,"]"));else switch(r){case"range":if(l=parseInt(t[0]),o=parseInt(t[1]),l===this.baseValues[e][0]&&o===this.baseValues[e][1]){this.$delete(this.appliedFilters,"f[".concat(e,"]"));break}this.$set(this.appliedFilters,"f[".concat(e,"]"),[l,o].join("::"));break;case"checkbox":t.length>0&&this.$set(this.appliedFilters,"f[".concat(e,"]"),t.join("||"))}},fetchBaseFilters(){return null===this.categoryId?Promise.resolve():(this.updatingFilters=!0,this.$axios.get("/api/product-categories/".concat(this.categoryId,"/filters")).then((t=>{var e=t.data;for(var r of e)switch(this.toggledFilters[r.slug]=!1,r.filterable.type){case"range":if(this.filterValues[r.slug]=[Math.floor(r.filterable.min),Math.ceil(r.filterable.max)],this.baseValues[r.slug]=this.filterValues[r.slug],"f[".concat(r.slug,"]")in this.appliedFilters){var p=this.appliedFilters["f[".concat(r.slug,"]")].split("::");this.filterValues[r.slug]=[parseFloat(p[0]),parseFloat(p[1])],this.toggledFilters[r.slug]=!0}break;case"checkbox":if("f[".concat(r.slug,"]")in this.appliedFilters){this.filterValues[r.slug]=this.appliedFilters["f[".concat(r.slug,"]")].split("||"),this.toggledFilters[r.slug]=!0;break}this.filterValues[r.slug]=[]}this.baseFilters=e})).finally((()=>{this.updatingFilters=!1})))},apply(){this.applyFilter(this.appliedFilters),this.activeFilters=0!==Object.keys(this.appliedFilters).length},handleApplyFilters(t){this.appliedFilters=t,this.applyFilter(t),this.activeFilters=0!==Object.keys(this.appliedFilters).length},clearFilters(){for(var filter of(this.hideFilter(),this.applyFilter([]),this.appliedFilters={},this.activeFilters=!1,this.baseFilters))switch(filter.filterable.type){case"range":this.filterValues[filter.slug]=this.baseValues[filter.slug];break;case"checkbox":this.filterValues[filter.slug]=[]}},navLinkGen(t){var e=A({},this.$route.query);return 1===t?delete e.page:e.page=t,{query:e}}},Object(n.d)({toggleFilter:"filter/toggle",hideFilter:"filter/hide"}))},B=(r(720),Object(j.a)(M,(function(){var t=this,e=t._self._c;return e("section",{staticClass:"product-grid-wrapper container"},[e("div",{staticClass:"product-view-row"},[t.categoryId?e("div",{staticClass:"filter-sidebar"},[e("product-filter",{ref:"productFilter",attrs:{"category-id":t.categoryId},on:{filterChanged:t.filterChanged,apply:t.handleApplyFilters}},[t.categoryDescription?[e("div",{staticClass:"description legacy",class:{collapsed:t.descriptionCollapsed},domProps:{innerHTML:t._s(t.categoryDescription)}}),t._v(" "),t.categoryDescription.length>100?[e("span",{staticClass:"toggle-description",on:{click:function(e){t.descriptionCollapsed=!t.descriptionCollapsed}}},[t.descriptionCollapsed?[t._v("\n                "+t._s(t.$t("general.read_more"))+"\n              ")]:[t._v(t._s(t.$t("general.close")))]],2)]:t._e(),t._v(" "),e("div",{staticClass:"clearfix"})]:t._e()],2)],1):t._e(),t._v(" "),e("div",{staticClass:"product-list",class:[t.categoryId?"with-sidebar":"without-sidebar"]},[e("header",[t._t("header",null,{filters:t.appliedFilters,decoratedFilters:t.decoratedAppliedFilters,removeFilter:(e,r,l)=>t.$refs.productFilter.removeFilter(e,r,l)}
1)],2),t._v(" "),t.decoratedAppliedFilters.length>0?e("div",{staticClass:"selected-filters d-none d-md-block"},t._l(t.decoratedAppliedFilters,(function(option,r){return e("span",{key:r,staticClass:"badge badge-light badge-option"},[t._v("\n          "+t._s(option.value)+"\n\n          "),e("i",{staticClass:"far fa-times",on:{click:function(e){return t.$refs.productFilter.removeFilter(option.slug,option.value)}}})])})),0):t._e(),t._v(" "),e("div",{staticClass:"container_"},[t.hideHeaderFooter?t._e():e("div",{staticClass:"header"},[t.title?e("div",{staticClass:"title"},[e("h1",[t._v(t._s(t.title))])]):t._e()]),t._v(" "),e("a",{attrs:{id:"gridanchor"}}),t._v(" "),t.loading?e("div",{staticClass:"grid"},t._l(8,(function(i){return e("product-loader-card",{key:i})})),1):[t.canInjectWidget&&199299===t.rows?[e("div",{staticClass:"grid"},t._l(t.productChunks.topChunk,(function(r){return e("product-card",{key:r.id,attrs:{product:r,"show-label":t.showLabel(r)}})})),1),t._v(" "),e("div",{staticClass:"widget"},[t._t("widget")],2),t._v(" "),e("div",{staticClass:"grid"},t._l(t.productChunks.bottomChunks,(function(r){return e("product-card",{key:r.id,attrs:{product:r,"show-label":t.showLabel(r)}})})),1)]:e("div",{staticClass:"grid"},t._l(t.products,(function(r){return e("product-card",{key:r.id,attrs:{product:r,"show-label":t.showLabel(r)}})})),1),t._v(" "),0===t.products.length?e("p",[t._v("\n            "+t._s(t.$t("general.no_products_found"))+"\n          ")]):t._e(),t._v(" "),t.hideHeaderFooter?t._e():e("div",{staticClass:"footer"},[t.rows>t.perPage?e("b-pagination-nav",{attrs:{"number-of-pages":Math.ceil(t.rows/t.perPage),"link-gen":t.navLinkGen,rel:t.navRel,"no-prefetch":"","first-number":"","last-number":""},scopedSlots:t._u([{key:"prev-text",fn:function(){return[e("span",{staticClass:"prev-link"},[e("svg",{attrs:{width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{d:"M13.293 21.707a1 1 0 0 1 0-1.414L17.585 16l-4.292-4.293a1 1 0 0 1-.083-1.32l.083-.094a1 1 0 0 1 1.414 0l5 5a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0z",fill:"#272627","fill-rule":"nonzero",transform:"rotate(180 16 16)"}})])])]},proxy:!0},{key:"next-text",fn:function(){return[e("span",{staticClass:"next-link"},[e("svg",{attrs:{width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{d:"M13.293 21.707a1 1 0 0 1 0-1.414L17.585 16l-4.292-4.293a1 1 0 0 1-.083-1.32l.083-.094a1 1 0 0 1 1.414 0l5 5a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0z",fill:"#272627","fill-rule":"nonzero"}})])])]},proxy:!0}],null,!1,1746728178),model:{value:t.computedPage,callback:function(e){t.computedPage=e},expression:"computedPage"}}):t._e()],1)]],2)])])])}),[],!1,null,null,null));e.a=B.exports},639:function(t,e,r){t.exports={}},640:function(t,e,r){t.exports={}},641:function(t,e,r){t.exports={}},718:function(t,e,r){"use strict";r(639)},719:function(t,e,r){"use strict";r(640)},720:function(t,e,r){"use strict";r(641)}}]);

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.