PageSourceSearch

https://www.webhallen.com/js/ProductPage.6992.js

js webhallen.com collected 2026-10-02 05:42:37 UTC 177,942 bytes, 2 lines download raw bytes

1(self.webpackChunk=self.webpackChunk||[]).push([[1516],{71614:(t,e,r)=>{"use strict";function n(t){return function(t){if(Array.isArray(t))return s(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return s(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}r.d(e,{Z:()=>a});var i=document.getElementById("alert-bar");const a=function(t){var e=document.createElement("div"),r=document.createElement("div");e.appendChild(r),r.classList.add("vanished"),r.classList.add("toast-alert"),r.innerText=t;var s=document.getElementsByClassName("toast-alert"),a=0===s.length,o=!n(s).find((function(e){return e.innerText===t}));(a||o)&&i.appendChild(e);var c=function(){setTimeout((function(){e.parentNode&&e.parentNode.removeChild(e)}),200),r.classList.add("vanished")};setTimeout((function(){r.classList.remove("vanished"),r.addEventListener("click",c),setTimeout(c,4e3)}),1)}},50880:(t,e,r)=>{"use strict";r.d(e,{Z:()=>n});const n={minimumPurchaseForFreeShipping:{SEK:800},overrideEngine:{engine:"voyadoElevate"}}},52284:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>a});var n=r(23279),s=r.n(n),i=r(91581);const a={data:function(){return{height:null,toggle:!1,showButton:null,wrapElement:null,totalHeight:null,slotElements:null}},props:{anchor:{type:String,default:null},buttonTextMore:{type:String,default:"Läs mer"},buttonTextLess:{type:String,default:"Läs mindre"},wrapperHeight:{type:Number,default:700}},created:function(){this.debouncer=s()(this.debouncer,500)},mounted:function(){this.setHeight(this.slotElements)},methods:{changeHandler:function(){this.toggle=!this.toggle,!this.toggle&&this.anchor&&(0,i.X5)("#"+this.anchor)},debouncer:function(){this.setHeight(this.slotElements)},setHeight:function(t){if(t){var e=0;t.forEach((function(t){t.elm.clientHeight&&(e+=t.elm.clientHeight)})),e>this.wrapperHeight?this.showButton=!0:this.showButton=!1}}},computed:{editButtonText:function(){return this.toggle?this.buttonTextLess:this.buttonTextMore},class:function(){return this.toggle?"expanded":null}},watch:{slotElements:{handler:function(){this.debouncer.call(this)},deep:!0},toggle:function(t){this.height=t?"auto":this.wrapperHeight+"px"}},render:function(t){var e=t("button",{class:["read-more-toggle",{"show-button":this.showButton}],on:{click:this.changeHandler},ref:"button"});return e.text=this.editButtonText,this.slotElements=this.$slots.default,t("div",{class:[this.class,"read-more-wrapper",{"show-button":this.showButton}],attrs:{id:this.anchor},style:{maxHeight:this.wrapperHeight+"px"}},[this.$slots.default,t("div",{class:["read-more-footer",{hidden:!this.showButton,open:this.toggle}]},[e])])}}},94892:(t,e,r)=>{"use strict";r.d(e,{Dn:()=>v,Lo:()=>h,ms:()=>f});var n=r(69983),s=r.n(n),i=r(37346),a=r(17499),o=r(75047);function c(t){return function(t){if(Array.isArray(t))return d(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||l(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=l(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,s=function(){};return{s,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){o=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function l(t,e){if(t){if("string"==typeof t)return d(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(t,e):void 0}}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var p=null;function h(t,e){if(p&&p.categoryId===t)return a.Z.$emit("takeover:update",f(1,p.takeovers)),void(e&&e(f(1,p.banners)));i.Z.abort("category-highlights"),i.Z.get("highlight/"+o.Z.getters["i18n/regionCode"]+"/category/"+t).name("category-highlights").useCdn(!0).on("success",(function(r){p={categoryId:t,takeovers:r.data.takeovers,banners:r.data.banners},a.Z.$emit("takeover:update",f(1,p.takeovers)),e&&e(f(1,p.banners))})).go()}function f(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(!e)return t<=1?null:[];var n,s=e.slice(0).sort((function(t,e){return e.priority-t.priority})),i=0,a=u(s);try{for(a.s();!(n=a.n()).done;){var o=n.value;r.includes(o.highlightId)&&(o.priority=1e-4),i+=o.priority}}catch(t){a.e(t)}finally{a.f()}var c=[];t:for(var l=0;l<t;++l){var d=Math.random()*i;for(var p in s){var h=s[p],f=h.priority;if(d<=f){r.push(h.highlightId),c.push(h),s.splice(p,1),i-=f;continue t}d-=f}}return t<=1?c.length>0?c[0]:null:c}function v(t,e){if(!e||0===e.length)return t<=1?null:[];
1if(1===e.length)return e;var r=e.slice(0).sort((function(t,e){return e.displays[0].priority-t.displays[0].priority})),n=r[0].displays[0].priority;r.forEach((function(t){var e=t.displays[0].priority;n=e>n?e:n}));var i=[],a=t;return[1e4,5,4,3,2.5,2,1,.5,1e-4].forEach((function(t){if(!(t>n)){var e=r.filter((function(e){if(e&&e.displays)return e.displays[0].priority==t}));if(e.length<=a)a-=e.length,e=s()(e),i.push.apply(i,c(e));else if(a>0){e=s()(e);for(var o=0;o<a;o++)i.push(e[o])}}})),t<=1?i.length>0?i:null:i}},16332:(t,e,r)=>{"use strict";r.d(e,{Z:()=>s});var n=r(75047).Z.state.user;const s={getBackgroundUrl:function(t){if(n.id&&n.settings.serious_business_mode)return null;var e=new Date;if(!(t&&t.avatar&&t.avatar.class))return 11===e.getMonth()||0===e.getMonth()&&e.getDate()<11?"url(/img/member/avatar/background-1-xmas.gif)":"url(/img/member/avatar/background-1.gif)";var r="background-"+t.avatar.class.id+(t.rankLevel>8?"-gold-plus.gif":".gif");return(11===e.getMonth()||0===e.getMonth()&&e.getDate()<11)&&(r="background-"+t.avatar.class.id+"-xmas.gif"),"url(/img/member/avatar/"+r+")"},avatarStyle:function(t){return{background:this.getBackgroundUrl(t.user),backgroundSize:"cover"}},avatarUrl:function(t){return n.id&&n.settings.serious_business_mode?"/api/dynimg/icon/user/58585A":t.user&&!t.isAnonymous?"/api/avatar/"+t.user.id:"/img/member/noface.png"}}},96508:(t,e,r)=>{"use strict";r.d(e,{Z:()=>c});var n=r(91581),s=(r(15616),r(16477));function i(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,s=function(){};return{s,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){c=!0,i=t},f:function(){try{o||null==r.return||r.return()}finally{if(c)throw i}}}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var o=[992,993];const c={isReleased:function(t){return!t||(0,n.Jl)(t)},releaseDate:function(t){return t?(0,n.cH)(t):""},timeToWebStockDelivery:function(t){if(t.hasOwnProperty("orders")&&t.orders.hasOwnProperty("CL")&&t.orders.CL.hasOwnProperty("confirmed")){var e=[0,0],r=null,s=t.orders.CL.delivery_time;if("number"==typeof s[0])e[0]=s[0],e[1]=s[0],s.length>1?e[1]=s[1]:s[0]>1&&(e[1]=s[0]+1);else if("string"==typeof s[0]){r=new Date(s[0]);var i=new Date,a=(0,n.Sz)(r,i);e[0]=e[1]=a}return{days:e,date:r}}return null},daysToInternalDelivery:function(t,e,r){return[1,3]},daysToDelivery:function(t,e,r){var n,s=!1,a=i(o);try{for(a.s();!(n=a.n()).done;){var c=n.value;if(e.webStock[c]>=2){s=!0;break}}}catch(t){a.e(t)}finally{a.f()}return s?[1,3]:null},inSupplierStock:function(t){return t.hasOwnProperty("supplier")&&t.supplier>0},stockClass:function(t,e,r,s){var i=e[t];return s&&!this.isReleased(s)?(0,n.Gn)(s)<2&&i?{"stock-icon-hype":!0}:{"stock-icon-notreleased":!0}:i>0?"supplier"===t?{"stock-icon-in-supplier-stock":!0}:{"stock-icon-instock":!0}:2===r?{"stock-icon-outofstock":!0}:{"stock-icon-outofstock-incentral":!0}},calculateStockStatus:function(t,e,r,n,s){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:[];if(i&&i.indexOf(11)>=0){var o={stockStatus:1,stockText:"",stockTextExtra:"",stockClass:{"stock-icon-notreleased":!0}};return o}if(a.length)return this.calculateCart(a,t,r,n,s);var c=this.calculateStockText(t,e,r,n,s);return c.stockClass=this.stockClass(t,e,c.stockStatus,n),c},calculateStockText:function(t,e,r,i,a){var o={stockText:"",stockTextExtra:"",stockStatus:1,stockClass:{}};if("download"===t)return o.stockText=(0,s.t)("STOCK.IN_STOCK"),o;var c=e[t],u=e.displayCap||50;if(null!==i&&!this.isReleased(i)){if(o.stockText=this.releaseDate(i).toString(),(0,n.Gn)(i)<2&&c){if(c>u)return o.stockText+=" ("+u+"+ st)",o;if(c>0)return o.stockText+=" ("+c+" st)",o}return o}if(c>u)return o.stockText="large"===a?u+"+ st":"Fler än "+u+" st",o;if(c>0)return o.stockText=c+" st",o;if("web"===t&&e.web<=0&&e.hasOwnProperty("incoming"))return o.stockStatus=3,e.incoming.confirmed?(null==e.incoming.deliveryDate?(o.stockText="Ej i lager, beställd",o.stockTextExtra="Inget bekräftat datum"):(o.stockText="Förväntad i lager",o.stockTextExtra=e.incoming.deliveryDate+" ("+e.incoming.quantity+" st)"),o):(o.stockText="Ej i lager. Beställd.",o.stockTextExtra="Inget bekräftat datum",o);(c<=0||void 0===c)&&"PTO"==e.supplyType&&e.web<=0?o.stockText="Beställningsvara":o.stockText="Ej i lager";var l=this.daysToDelivery(t,e,r);return l?(o.stockText=l[0]+"-"+l[1]+" dagar",o):(o.stockStatus=2,o.stockText="Ej i lager",o)},calculateCart:function(t,e,r,n,s){var a,o=!1,c=0,u={},l=!0,d=i(t);try{for(d.s();!(a=d.n()).done;){var p=a.value;p.product.discontinued&&!p.product.stock[e]&&(o=!0);var h=this.calculateStockText(e,p.product.stock,r,n,s);h.stockClass=this.stockClass(e,p.product.stock,u.stockStatus,n),(l||h.stockStatus>1)&&((u=h).stockClass=h.stockClass),h.stockClass.hasOwnProperty("stock-icon-outofstock-incentral")&&(l=!1,u.stockClass=h.stockClass),h.stockStatus>c&&(c=h.stockStatus)}}catch(t){d.e(t)}finally{d.f()}return o&&c>1?(c=3,u={stockStatus:3,stockText:"Denna order kan ej hämtas upp i denna butik.",stockClass:{"stock-icon-outofstock":!0}}):"Ej i lager"!==u.stockText&&(u.stockClass.hasOwnProperty("stock-icon-instock")?u.stockText="direkt!":u.stockClass.hasOwnProperty("stock-icon-outofstock-incentral")&&(u.stockText="om "+u.stockText),u.stockText="Redo att hämtas "+u.stockText),u}}},82547:(t,e,r)=>{"use strict";r.d(e,{Z:()=>M});var n=r(17984),s=r(65831),i=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var r=-1;return t.some((function(t,n){return t[0]===e&&(r=n,!0)})),r}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var r=t(this.__entries__,e),n=this.__entries__[r];return n&&n[1]},e.prototype.set=function(e,r){var n=t(this.__entries__,e);~n?this.__entries__[n][1]=r:this.__entries__.push([e,r])},e.prototype.delete=function(e){var r=this.__entries__,n=t(r,e);~n&&r.splice(n,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var r=0,n=this.__entries__;r<n.length;r++){var s=n[r];t.call(e,s[1],s[0])}},e}()}(),a="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==r.g&&r.g.Math===Math?r.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),c="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)};var u=["top","right","bottom","left","width","height","size","weight"],l="undefined"!=typeof MutationObserver,d=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var r=!1,n=!1,s=0;function i(){r&&(r=!1,t()),n&&o()}function a(){c(i)}function o(){var t=Date.now();if(r){if(t-s<2)return;n=!0}else r=!0,n=!1,setTimeout(a,e);s=t}return o}(this.refresh.bind(this),20)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,r=e.indexOf(t);~r&&e.splice(r,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}
vendor: 4,662 bytes, line 1
1));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){a&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){a&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,r=void 0===e?"":e;u.some((function(t){return!!~r.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),p=function(t,e){for(var r=0,n=Object.keys(e);r<n.length;r++){var s=n[r];Object.defineProperty(t,s,{value:e[s],enumerable:!1,writable:!1,configurable:!0})}return t},h=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||o},f=w(0,0,0,0);function v(t){return parseFloat(t)||0}function g(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return e.reduce((function(e,r){return e+v(t["border-"+r+"-width"])}),0)}function m(t){var e=t.clientWidth,r=t.clientHeight;if(!e&&!r)return f;var n=h(t).getComputedStyle(t),s=function(t){for(var e={},r=0,n=["top","right","bottom","left"];r<n.length;r++){var s=n[r],i=t["padding-"+s];e[s]=v(i)}return e}(n),i=s.left+s.right,a=s.top+s.bottom,o=v(n.width),c=v(n.height);if("border-box"===n.boxSizing&&(Math.round(o+i)!==e&&(o-=g(n,"left","right")+i),Math.round(c+a)!==r&&(c-=g(n,"top","bottom")+a)),!function(t){return t===h(t).document.documentElement}(t)){var u=Math.round(o+i)-e,l=Math.round(c+a)-r;1!==Math.abs(u)&&(o-=u),1!==Math.abs(l)&&(c-=l)}return w(s.left,s.top,o,c)}var y="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof h(t).SVGGraphicsElement}:function(t){return t instanceof h(t).SVGElement&&"function"==typeof t.getBBox};function b(t){return a?y(t)?function(t){var e=t.getBBox();return w(0,0,e.width,e.height)}(t):m(t):f}function w(t,e,r,n){return{x:t,y:e,width:r,height:n}}var _=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=w(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=b(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),k=function(t,e){var r,n,s,i,a,o,c,u=(n=(r=e).x,s=r.y,i=r.width,a=r.height,o="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(o.prototype),p(c,{x:n,y:s,width:i,height:a,top:s,right:n+i,bottom:a+s,left:n}),c);p(this,{target:t,contentRect:u})},C=function(){function t(t,e,r){if(this.activeObservations_=[],this.observations_=new i,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=r}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof h(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new _(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof h(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new k(t.target,t.broadcastRect())}
1));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),x="undefined"!=typeof WeakMap?new WeakMap:new i,S=function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=d.getInstance(),n=new C(e,r,this);x.set(this,n)};["observe","unobserve","disconnect"].forEach((function(t){S.prototype[t]=function(){var e;return(e=x.get(this))[t].apply(e,arguments)}}));const P=void 0!==o.ResizeObserver?o.ResizeObserver:S;function O(t){return function(t){if(Array.isArray(t))return T(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||I(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function I(t,e){if(t){if("string"==typeof t)return T(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?T(t,e):void 0}}function T(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var D=[],E=0,A=!1;function R(){if(A=!1,L=Date.now(),D.length){var t=window.scrollY-E;if(E=window.scrollY,0!==t)for(var e in D)D[e].update(t)}}var L=0;function j(){if(!A){var t,e=Date.now()-L,r=!1,n=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=I(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,s=function(){};return{s,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){o=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}(D);try{for(n.s();!(t=n.n()).done;){if(!t.value.isLocked){r=!0;break}}}catch(t){n.e(t)}finally{n.f()}if(e>=100||r)return void R();A=!0,setTimeout(R,100)}}const M={data:function(){return{mediaQuery:n.Z,resizeObserver:null,elementHeight:0,isLocked:!1,lockedAtBottom:!0,margin:8,smallHeaderSpacing:59,largeHeaderSpacing:72,siteNavHeight:39,navbarMinWidth:1052,elementId:null}},mounted:function(){var t,e=this;n.Z.current<n.Z.lg||s.isTouchDevice||(t=this,D.indexOf(t)>=0||(0===D.length&&(E=window.scrollY,window.addEventListener("scroll",j)),D.push(t)),this.resizeObserver=new P((function(t,r){e.elementHeight=t[0].contentRect.height})),this.$nextTick((function(){e.elementId=e.$el.id,O(e.$el.classList).includes("sticky-column")||e.$el.classList.add("sticky-column"),e.elementHeight=e.$el.clientHeight,e.resizeObserver.observe(e.$el)})))},beforeDestroy:function(){!function(t){var e=D.indexOf(t);e<0||(D.splice(e,1),0===D.length&&window.removeEventListener("scroll",j))}(this)},methods:{update:function(t){if(this.isLocked)t<0===this.lockedAtBottom&&this.unlock();else{var e=this.$el.getBoundingClientRect(),r=window.innerWidth,n=0,s=this.smallHeaderSpacing;if(r>=this.navbarMinWidth&&(n=this.siteNavHeight,s=this.largeHeaderSpacing),t<0)e.top>=this.margin+s+n&&this.lock(!1);else{var i=window.innerHeight;if(i-2*this.margin-s-n>e.height)e.top<=this.margin&&this.lock(!0);else e.bottom-i<=this.margin&&this.lock(!0)}}},lock:function(t){this.lockedAtBottom=t,this.isLocked=!0,this.$el.style.position="",this.$el.style.top=this.stickyTop+"px"},unlock:function(){this.$el.style.top=this.$el.offsetTop+"px",this.$el.style.position="relative",this.isLocked=!1,A=!1}},computed:{stickyTop:function(){var t=this.margin,e=this.margin;if("admin-panel"===this.elementId){t=0,e=20;var r=this.elementHeight+e+this.largeHeaderSpacing+this.smallHeaderSpacing+this.siteNavHe
1ight;this.mediaQuery.pageHeight<r&&(this.$el.parentElement.style.minHeight=r+"px")}if(!this.resizeObserver)return null;if(!this.lockedAtBottom){var n=window.innerWidth,s=t+this.smallHeaderSpacing;return n>=this.navbarMinWidth&&(s=t+this.largeHeaderSpacing+this.siteNavHeight),s}return Math.min(t,this.mediaQuery.pageHeight-this.elementHeight-e)}},watch:{$route:function(t,e){t.name===e.name&&JSON.stringify(t.params)===JSON.stringify(e.params)||this.lock(!1)},stickyTop:function(t){this.isLocked&&(this.$el.style.top=t+"px")}}}},3374:(t,e,r)=>{var n=r(91884);t.exports=function(t,e){var r=n(t).getTime(),s=n(e).getTime();return r<s?-1:r>s?1:0}},93558:(t,e,r)=>{var n=r(91884);t.exports=function(t,e){var r=n(t).getTime(),s=n(e).getTime();return r>s?-1:r<s?1:0}},76656:(t,e,r)=>{var n=r(36579);t.exports=function(t,e){var r=n(t),s=n(e),i=r.getTime()-6e4*r.getTimezoneOffset(),a=s.getTime()-6e4*s.getTimezoneOffset();return Math.round((i-a)/864e5)}},51924:(t,e,r)=>{var n=r(91884);t.exports=function(t,e){var r=n(t),s=n(e);return 12*(r.getFullYear()-s.getFullYear())+(r.getMonth()-s.getMonth())}},88081:(t,e,r)=>{var n=r(91884);t.exports=function(t,e){var r=n(t),s=n(e);return r.getTime()-s.getTime()}},31387:(t,e,r)=>{var n=r(91884),s=r(51924),i=r(3374);t.exports=function(t,e){var r=n(t),a=n(e),o=i(r,a),c=Math.abs(s(r,a));return r.setMonth(r.getMonth()-o*c),o*(c-(i(r,a)===-o))}},7977:(t,e,r)=>{var n=r(88081);t.exports=function(t,e){var r=n(t,e)/1e3;return r>0?Math.floor(r):Math.ceil(r)}},63332:(t,e,r)=>{var n=r(93558),s=r(91884),i=r(7977),a=r(31387),o=r(47479),c=43200;t.exports=function(t,e,r){var u=r||{},l=n(t,e),d=u.locale,p=o.distanceInWords.localize;d&&d.distanceInWords&&d.distanceInWords.localize&&(p=d.distanceInWords.localize);var h,f,v={addSuffix:Boolean(u.addSuffix),comparison:l};l>0?(h=s(t),f=s(e)):(h=s(e),f=s(t));var g,m=i(f,h),y=f.getTimezoneOffset()-h.getTimezoneOffset(),b=Math.round(m/60)-y;if(b<2)return u.includeSeconds?m<5?p("lessThanXSeconds",5,v):m<10?p("lessThanXSeconds",10,v):m<20?p("lessThanXSeconds",20,v):m<40?p("halfAMinute",null,v):p(m<60?"lessThanXMinutes":"xMinutes",1,v):0===b?p("lessThanXMinutes",1,v):p("xMinutes",b,v);if(b<45)return p("xMinutes",b,v);if(b<90)return p("aboutXHours",1,v);if(b<1440)return p("aboutXHours",Math.round(b/60),v);if(b<2520)return p("xDays",1,v);if(b<c)return p("xDays",Math.round(b/1440),v);if(b<86400)return p("aboutXMonths",g=Math.round(b/c),v);if((g=a(f,h))<12)return p("xMonths",Math.round(b/c),v);var w=g%12,_=Math.floor(g/12);return w<3?p("aboutXYears",_,v):w<9?p("overXYears",_,v):p("almostXYears",_+1,v)}},66272:(t,e,r)=>{var n=r(63332);t.exports=function(t,e){return n(Date.now(),t,e)}},15616:(t,e,r)=>{var n=r(70089),s=r(56563),i=r(42385),a=r(91884),o=r(60623),c=r(47479);var u={M:function(t){return t.getMonth()+1},MM:function(t){return p(t.getMonth()+1,2)},Q:function(t){return Math.ceil((t.getMonth()+1)/3)},D:function(t){return t.getDate()},DD:function(t){return p(t.getDate(),2)},DDD:function(t){return n(t)},DDDD:function(t){return p(n(t),3)},d:function(t){return t.getDay()},E:function(t){return t.getDay()||7},W:function(t){return s(t)},WW:function(t){return p(s(t),2)},YY:function(t){return p(t.getFullYear(),4).substr(2)},YYYY:function(t){return p(t.getFullYear(),4)},GG:function(t){return String(i(t)).substr(2)},GGGG:function(t){return i(t)},H:function(t){return t.getHours()},HH:function(t){return p(t.getHours(),2)},h:function(t){var e=t.getHours();return 0===e?12:e>12?e%12:e},hh:function(t){return p(u.h(t),2)},m:function(t){return t.getMinutes()},mm:function(t){return p(t.getMinutes(),2)},s:function(t){return t.getSeconds()},ss:function(t){return p(t.getSeconds(),2)},S:function(t){return Math.floor(t.getMilliseconds()/100)},SS:function(t){return p(Math.floor(t.getMilliseconds()/10),2)},SSS:function(t){return p(t.getMilliseconds(),3)},Z:function(t){return d(t.getTimezoneOffset(),":")},ZZ:function(t){return d(t.getTimezoneOffset())},X:function(t){return Math.floor(t.getTime()/1e3)},x:function(t){return t.getTime()}};function l(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|]$/g,""):t.replace(/\\/g,"")}function d(t,e){e=e||"";var r=t>0?"-":"+",n=Math.abs(t),s=n%60;return r+p(Math.floor(n/60),2)+e+p(s,2)}function p(t,e){for(var r=Math.abs(t).toString();r.length<e;)r="0"+r;return r}t.exports=function(t,e,r){var n=e?String(e):"YYYY-MM-DDTHH:mm:ss.SSSZ",s=(r||{}).locale,i=c.format.formatters,d=c.format.formattingTokensRegExp;s&&s.format&&s.format.formatters&&(i=s.format.formatters,s.format.formattingTokensRegExp&&(d=s.format.formattingTokensRegExp));var p=a(t);if(!o(p))return"Invalid Date";var h=function(t,e,r){var n,s,i=t.match(r),a=i.length;for(n=0;n<a;n++)s=e[i[n]]||u[i[n]],i[n]=s||l(i[n]);return function(t){for(var e="",r=0;r<a;r++)i[r]instanceof Function?e+=i[r](t,u):e+=i[r];return e}}(n,i,d);return h(p)}},70089:(t,e,r)=>{var n=r(91884),s=r(89834),i=r(76656);t.exports=function(t){var e=n(t);return i(e,s(e))+1}},56563:(t,e,r)=>{var n=r(91884),s=r(81971),i=r(43892);t.exports=function(t){var e=n(t),r=s(e).getTime()-i(e).getTime();return Math.round(r/6048e5)+1}},42385:(t,e,r)=>{var n=r(91884),s=r(81971);t.exports=function(t){var e=n(t),r=e.getFullYear(),i=new Date(0);i.setFullYear(r+1,0,4),i.setHours(0,0,0,0);var a=s(i),o=new Date(0);o.setFullYear(r,0,4),o.setHours(0,0,0,0);var c=s(o);return e.getTime()>=a.getTime()?r+1:e.getTime()>=c.getTime()?r:r-1}},14286:t=>{t.exports=function(t){return t instanceof Date}},60623:(t,e,r)=>{var n=r(14286);t.exports=function(t){if(n(t))return!isNaN(t);throw new TypeError(toString.call(t)+" is not an instance of Date")}},18854:t=>{var e=["M","MM","Q","D","DD","DDD","DDDD","d","E","W","WW","YY","YYYY","GG","GGGG","H","HH","h","hh","m","mm","s","ss","S","SS","SSS","Z","ZZ","X","x"];t.exports=function(t){var r=[];for(var n in t)t.hasOwnProperty(n)&&r.push(n);var s=e.concat(r).sort().reverse();return new RegExp("(\\[[^\\[]*\\])|(\\\\)?("+s.join("|")+"|.)","g")}},92894:t=>{t.exports=function(){var t={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};return{localize:function(e,r,n){var s;return n=n||{},s="string"==typeof t[e]?t[e]:1===r?t[e].one:t[e].other.replace("{{count}}",r),n.addSuffix?n.comparison>0?"in "+s:s+" ago":s}}}},664:(t,e,r)=>{var n=r(18854);t.exports=function(){var t=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],e=["January","February","March","April","May","June","July","August","September","October","November","December"],r=["Su","Mo","Tu","We","Th","Fr","Sa"],s=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],i=["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"],a=["AM","PM"],o=["am","pm"],c=["a.m.","p.m."],u={MMM:function(e){return t[e.getMonth()]},MMMM:function(t){return e[t.getMonth()]},dd:function(t){return r[t.getDay()]},ddd:function(t){return s[t.getDay()]},dddd:function(t){return i[t.getDay()]},A:function(t){return t.getHours()/12>=1?a[1]:a[0]},a:function(t){return t.getHours()/12>=1?o[1]:o[0]},aa:function(t){return t.getHours()/12>=1?c[1]:c[0]}};return["M","D","DDD","d","Q","W"].forEach((function(t){u[t+"o"]=function(e,r){return function(t){var e=t%100;if(e>20||e<10)switch(e%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"}(r[t](e))}})),{formatters:u,formattingTokensRegExp:n(u)}}},47479:(t,e,r)=>{var n=r(92894),s=r(664);t.exports={distanceInWords:n(),format:s()}},66276:t=>{t.exports=function(){var t={lessThanXSeconds:{singular:"mindre än en sekund",plural:"mindre än {{count}} sekunder"},xSeconds:{singular:"en sekund",plural:"{{count}} sekunder"},halfAMinute:"en halv minut",lessThanXMinutes:{singular:"mindre än en minut",plural:"mindre än {{count}} minuter"},xMinutes:{singular:"en minut",plural:"{{count}} minuter"},aboutXHours:{singular:"ungefär en timme",plural:"ungefär {{count}} timmar"},xHours:{singular:"en timme",plural:"{{count}} timmar"},xDays:{singular:"en dag",plural:"{{count}} dagar"},aboutXMonths:{singular:"ungefär en månad",plural:"ungefär {{count}} månader"},xMonths:{singular:"en månad",plural:"{{count}} månader"},aboutXYears:{singular:"ungefär ett år",plural:"ungefär {{count}} år"},xYears:{singular:"ett år",plural:"{{count}} år"},overXYears:{singular:"över ett år",plural:"över {{count}} år"},almostXYears:{singular:"nästan ett år",plural:"nästan {{count}} år"}},e=["noll","en","två","tre","fyra","fem","sex","sju","åtta","nio","tio","elva","tolv"];return{localize:function(r,n,s){s=s||{};var i,a=t[r];return i="string"==typeof a?a:0===n||n>1?a.plural.replace("{{count}}",n<13?e[n]:n):a.singular,s.addSuffix?s.comparison>0?"om "+i:i+" sedan":i}}}},47664:(t,e,r)=>{var n=r(18854);t.exports=function(){var t=["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec"],e=["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december"],r=["sö","må","ti","on","to","fr","lö"],s=["sön","mån","tis","ons","tor","fre","lör"],i=["söndag","måndag","tisdag","onsdag","torsdag","fredag","lördag"],a=["f.m.","e.m."],o={MMM:function(e){return t[e.getMonth()]},MMMM:function(t){return e[t.getMonth()]},dd:function(t){return r[t.getDay()]},ddd:function(t){return s[t.getDay()]},dddd:function(t){return i[t.getDay()]},aa:function(t){return t.getHours()/12>=1?a[1]:a[0]}};return o.A=o.aa,o.a=o.aa,["M","D","DDD","d","Q","W"].forEach((function(t){o[t+"o"]=function(e,r){return function(t){var e=t%100;if(e>20||e<10)switch(e%10){case 1:case 2:return t+":a"}return t+":e"}(r[t](e))}})),{formatters:o,formattingTokensRegExp:n(o)}}},29779:(t,e,r)=>{var n=r(66276),s=r(47664);t.exports={distanceInWords:n(),format:s()}},91884:(t,e,r)=>{var n=r(14286),s=36e5,i=6e4,a=/[T ]/,o=/:/,c=/^(\d{2})$/,u=[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],l=/^(\d{4})/,d=[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],p=/^-(\d{2})$/,h=/^-?(\d{3})$/,f=/^-?(\d{2})-?(\d{2})$/,v=/^-?W(\d{2})$/,g=/^-?W(\d{2})-?(\d{1})$/,m=/^(\d{2}([.,]\d*)?)$/,y=/^(\d{2}):?(\d{2}([.,]\d*)?)$/,b=/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,w=/([Z+-].*)$/,_=/^(Z)$/,k=/^([+-])(\d{2})$/,C=/^([+-])(\d{2}):?(\d{2})$/;function x(t,e,r){e=e||0,r=r||0;var n=new Date(0);n.setUTCFullYear(t,0,4);var s=7*e+r+1-(n.getUTCDay()||7);return n.setUTCDate(n.getUTCDate()+s),n}t.exports=function(t,e){if(n(t))return new Date(t.getTime());if("string"!=typeof t)return new Date(t);var r=(e||{}).additionalDigits;r=null==r?2:Number(r);var S=function(t){var e,r={},n=t.split(a);o.test(n[0])?(r.date=null,e=n[0]):(r.date=n[0],e=n[1]);if(e){var s=w.exec(e);s?(r.time=e.replace(s[1],""),r.timezone=s[1]):r.time=e}return r}(t),P=function(t,e){var r,n=u[e],s=d[e];if(r=l.exec(t)||s.exec(t)){var i=r[1];return{year:parseInt(i,10),restDateString:t.slice(i.length)}}if(r=c.exec(t)||n.exec(t)){var a=r[1];return{year:100*parseInt(a,10),restDateString:t.slice(a.length)}}return{year:null}}(S.date,r),O=P.year,I=function(t,e){if(null===e)return null;var r,n,s;if(0===t.length)return(n=new Date(0)).setUTCFullYear(e),n;if(r=p.exec(t))return n=new Date(0),s=parseInt(r[1],10)-1,n.setUTCFullYear(e,s),n;if(r=h.exec(t)){n=new Date(0);var i=parseInt(r[1],10);return n.setUTCFullYear(e,0,i),n}if(r=f.exec(t)){n=new Date(0),s=parseInt(r[1],10)-1;var a=parseInt(r[2],10);return n.setUTCFullYear(e,s,a),n}if(r=v.exec(t))return x(e,parseInt(r[1],10)-1);if(r=g.exec(t)){return x(e,parseInt(r[1],10)-1,parseInt(r[2],10)-1)}return null}(P.restDateString,O);
1if(I){var T,D=I.getTime(),E=0;return S.time&&(E=function(t){var e,r,n;if(e=m.exec(t))return(r=parseFloat(e[1].replace(",",".")))%24*s;if(e=y.exec(t))return r=parseInt(e[1],10),n=parseFloat(e[2].replace(",",".")),r%24*s+n*i;if(e=b.exec(t)){r=parseInt(e[1],10),n=parseInt(e[2],10);var a=parseFloat(e[3].replace(",","."));return r%24*s+n*i+1e3*a}return null}(S.time)),S.timezone?T=function(t){var e,r;if(e=_.exec(t))return 0;if(e=k.exec(t))return r=60*parseInt(e[2],10),"+"===e[1]?-r:r;if(e=C.exec(t))return r=60*parseInt(e[2],10)+parseInt(e[3],10),"+"===e[1]?-r:r;return 0}(S.timezone):(T=new Date(D+E).getTimezoneOffset(),T=new Date(D+E+T*i).getTimezoneOffset()),new Date(D+E+T*i)}return new Date(t)}},36579:(t,e,r)=>{var n=r(91884);t.exports=function(t){var e=n(t);return e.setHours(0,0,0,0),e}},81971:(t,e,r)=>{var n=r(95344);t.exports=function(t){return n(t,{weekStartsOn:1})}},43892:(t,e,r)=>{var n=r(42385),s=r(81971);t.exports=function(t){var e=n(t),r=new Date(0);return r.setFullYear(e,0,4),r.setHours(0,0,0,0),s(r)}},95344:(t,e,r)=>{var n=r(91884);t.exports=function(t,e){var r=e&&Number(e.weekStartsOn)||0,s=n(t),i=s.getDay(),a=(i<r?7:0)+i-r;return s.setDate(s.getDate()-a),s.setHours(0,0,0,0),s}},89834:(t,e,r)=>{var n=r(91884);t.exports=function(t){var e=n(t),r=new Date(0);return r.setFullYear(e.getFullYear(),0,1),r.setHours(0,0,0,0),r}},22615:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});var n=r(27897),s=r.n(n),i=r(1519),a=r.n(i)()(s());a.push([t.id,".shipping-price-table td[data-v-6e8af1a8]{white-space:nowrap}","",{version:3,sources:["webpack://./resources/js/components/shipping-price-table.vue"],names:[],mappings:"AAgCA,0CACA,kBACA",sourcesContent:['<template>\n\t<div class="mb-5 mt-5 pl-5 pr-5" style="max-width: 550px;">\n\t\t<h3>Fraktpris</h3>\n\t\t<loading-spinner v-if="! priceList" />\n\t\t<table v-else class="table table-condensed table-striped shipping-price-table d-flex flex-wrap mt-5">\n\t\t\t<tbody>\n\t\t\t\t<tr v-for="method in priceList" style="text-align: left">\n\t\t\t\t\t<td>\n\t\t\t\t\t\t<div class="ell-wrap">\n\t\t\t\t\t\t\t<div class="ell">\n\t\t\t\t\t\t\t\t{{ method.name }}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</td>\n\t\t\t\t\t<td>\n\t\t\t\t\t\t<span class="pull-right">\n\t\t\t\t\t\t\t<s v-if="method.regularPrice" class="mr-3 small">\n\t\t\t\t\t\t\t\t{{ method.regularPrice }} kr\n\t\t\t\t\t\t\t</s>\n\t\t\t\t\t\t\t<b>{{ method.price }} kr</b>\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</td>\n\t\t\t\t</tr>\n\t\t\t</tbody>\n\t\t</table>\n\t\t<div class="px-4">\n\t\t\t{{ t(\'SHIPPING_POPUP.INFORMATION\') }}\n\t\t</div>\n\t</div>\n</template>\n\n<style scoped>\n.shipping-price-table td {\n\twhite-space: nowrap;\n}\n</style>\n\n<script>\nimport { t } from \'datastore/i18n\';\nimport { formatPrice } from \'utils\';\n\nexport default {\n\tprops: [\'shippingClass\', \'packageSizeId\', \'product\', \'priceList\'],\n\tmethods: {\n\t\tt,\n\t\tformatPrice,\n\t},\n};\n<\/script>\n'],sourceRoot:""}]);const o=2773==r.j?a:null},1519:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r=t(e);return e[2]?"@media ".concat(e[2]," {").concat(r,"}"):r})).join("")},e.i=function(t,r,n){"string"==typeof t&&(t=[[null,t,""]]);var s={};if(n)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(s[a]=!0)}for(var o=0;o<t.length;o++){var c=[].concat(t[o]);n&&s[c[0]]||(r&&(c[2]?c[2]="".concat(r," and ").concat(c[2]):c[2]=r),e.push(c))}},e}},27897:t=>{"use strict";function e(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==r)return;var n,s,i=[],a=!0,o=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(t){o=!0,s=t}finally{try{a||null==r.return||r.return()}finally{if(o)throw s}}return i}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(t,e)}
1(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}t.exports=function(t){var r=e(t,4),n=r[1],s=r[3];if(!s)return n;if("function"==typeof btoa){var i=btoa(unescape(encodeURIComponent(JSON.stringify(s)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),o="/*# ".concat(a," */"),c=s.sources.map((function(t){return"/*# sourceURL=".concat(s.sourceRoot||"").concat(t," */")}));return[n].concat(c).concat([o]).join("\n")}return[n].join("\n")}},72446:(t,e,r)=>{"use strict";var n,s=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},i=function(){var t={};return function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(t){r=null}t[e]=r}return t[e]}}(),a=[];function o(t){for(var e=-1,r=0;r<a.length;r++)if(a[r].identifier===t){e=r;break}return e}function c(t,e){for(var r={},n=[],s=0;s<t.length;s++){var i=t[s],c=e.base?i[0]+e.base:i[0],u=r[c]||0,l="".concat(c," ").concat(u);r[c]=u+1;var d=o(l),p={css:i[1],media:i[2],sourceMap:i[3]};-1!==d?(a[d].references++,a[d].updater(p)):a.push({identifier:l,updater:g(p,e),references:1}),n.push(l)}return n}function u(t){var e=document.createElement("style"),n=t.attributes||{};if(void 0===n.nonce){var s=r.nc;s&&(n.nonce=s)}if(Object.keys(n).forEach((function(t){e.setAttribute(t,n[t])})),"function"==typeof t.insert)t.insert(e);else{var a=i(t.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(e)}return e}var l,d=(l=[],function(t,e){return l[t]=e,l.filter(Boolean).join("\n")});function p(t,e,r,n){var s=r?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(t.styleSheet)t.styleSheet.cssText=d(e,s);else{var i=document.createTextNode(s),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(i,a[e]):t.appendChild(i)}}function h(t,e,r){var n=r.css,s=r.media,i=r.sourceMap;if(s?t.setAttribute("media",s):t.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var f=null,v=0;function g(t,e){var r,n,s;if(e.singleton){var i=v++;r=f||(f=u(e)),n=p.bind(null,r,i,!1),s=p.bind(null,r,i,!0)}else r=u(e),n=h.bind(null,r,e),s=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(r)};return n(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;n(t=e)}else s()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=s());var r=c(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var n=0;n<r.length;n++){var s=o(r[n]);a[s].references--}for(var i=c(t,e),u=0;u<r.length;u++){var l=o(r[u]);0===a[l].references&&(a[l].updater(),a.splice(l,1))}r=i}}}},29932:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,s=Array(n);++r<n;)s[r]=e(t[r],r,t);return s}},70151:(t,e,r)=>{var n=r(278),s=r(73480);t.exports=function(t){return s(n(t))}},69877:t=>{var e=Math.floor,r=Math.random;t.exports=function(t,n){return t+e(r()*(n-t+1))}},42012:(t,e,r)=>{var n=r(73480),s=r(52628);t.exports=function(t){return n(s(t))}},47415:(t,e,r)=>{var n=r(29932);t.exports=function(t,e){return n(e,(function(e){return t[e]}))}},278:t=>{t.exports=function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e}},73480:(t,e,r)=>{var n=r(69877);t.exports=function(t,e){var r=-1,s=t.length,i=s-1;for(e=void 0===e?s:e;++r<e;){var a=n(r,i),o=t[a];t[a]=t[r],t[r]=o}return t.length=e,t}},69983:(t,e,r)=>{var n=r(70151),s=r(42012),i=r(1469);t.exports=function(t){return(i(t)?n:s)(t)}},52628:(t,e,r)=>{var n=r(47415),s=r(3674);t.exports=function(t){return null==t?[]:n(t,s(t))}},34089:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>v});var n=r(37346),s=r(71614),i=r(20629),a=r(15616),o=r.n(a),c=r(11892),u=r(17984);function l(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function d(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function p(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return h(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return h(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,s=function(){};return{s,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){o=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function h(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}const f={props:{product:{type:Object,required:!0}},data:function(){return{newListName:"",selectedWishlistId:0,isOpen:!1,loadStarted:!1,wishlists:[],registerHeading:"Bli medlem för att spara din önskelista"}},methods:{save:function(){var t=this;if(0!==this.selectedWishlistId)n.Z.put("wishlist/"+this.selectedWishlistId).data({productId:this.product.id,touchpoint:(0,u.n)()?"DESKTOP":"MOBILE"}).on("success",(function(e){c.Z.set("selectedWishlistId",t.selectedWishlistId),(0,s.Z)("Produkten har sparats!"),t.newListName=""})).go(),this.isOpen=!1;else{var e=this.newListName||this.wishlistPlaceholderName;n.Z.post("wishlist").data({name:e}).on("success",(function(e){var r=e.data.wishlist;t.wishlists.push(r),t.selectedWishlistId=r.id})).go()}},getPreSelectedId:function(){var t=~~c.Z.get("selectedWishlistId"),e=0;if(this.wishlists.length){var r,n=p(this.wishlists);try{for(n.s();!(r=n.n()).done;){var s=r.value;if(t&&s.id===t)return t}}catch(t){n.e(t)}finally{n.f()}e=this.wishlists[this.wishlists.length-1].id}return e}},computed:function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?l(Object(r),!0).forEach((function(e){d(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({wishlistOptions:function(){var t,e=[{label:"Skapa ny",value:0}],r=p(this.wishlists);try{for(r.s();!(t=r.n()).done;){var n=t.value;e.push({label:n.name,value:n.id})}}catch(t){r.e(t)}finally{r.f()}return e},wishlistPlaceholderName:function(){return"Önskelista "+o()(new Date,"YYYY-MM-DD")}},(0,i.rn)({user:function(t){return t.user}})),watch:{selectedWishlistId:function(t,e){t&&t!==this.getPreSelectedId()&&this.save()},isOpen:function(t){var e=this;t&&(this.loadStarted?this.selectedWishlistId=this.getPreSelectedId():(this.loadStarted=!0,n.Z.get("wishlist").on("success",(function(t){e.wishlists=t.data.wishlists,e.selectedWishlistId=e.getPreSelectedId()})).go()))}}};const v=(0,r(51900).Z)(f,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("modal",{staticClass:"add-to-wishlist-btn",attrs:{name:"wishlist"},model:{value:t.isOpen,callback:function(e){t.isOpen=e},expression:"isOpen"}},[r("div",{staticClass:"d-flex align-items-center clickable semibold",attrs:{slot:"label"},slot:"label"},[t._v("\n\t\tSpara\n\t\t"),r("img",{staticClass:"icon",attrs:{src:"/img/icons/heart-empty.svg",alt:"heart icon"}})]),t._v(" "),t.user.id?r("div",{staticClass:"p-5",staticStyle:{width:"500px","max-width":"100%"}},[r("h2",[t._v("Spara i önskelista")]),t._v(" "),r("dropdown-select",{staticClass:"my-5",attrs:{center:"",fullWidth:"",prefix:"Lista:",items:t.wishlistOptions,formatter:function(t){return t}},model:{value:t.selectedWishlistId,callback:function(e){t.selectedWishlistId=e},expression:"selectedWishlistId"}}),t._v(" "),0===t.selectedWishlistId?r("div",{staticClass:"form-group",staticStyle:{"text-align":"left"}},[r("label",{attrs:{for:"wishlistName"}},[t._v("\n\t\t\t\tNamn\n\t\t\t")]),t._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:t.newListName,expression:"newListName"}],staticClass:"form-control",attrs:{id:"wishlistName",placeholder:t.wishlistPlaceholderName},domProps:{value:t.newListName},on:{input:function(e){e.target.composing||(t.newListName=e.target.value)}}})]):t._e(),t._v(" "),r("text-button",{staticClass:"pull-right",attrs:{text:"Spara"},on:{click:t.save}})],1):r("member-form",{staticClass:"add-to-wislisht-member-form",attrs:{showCloseButton:!1,value:"register",openedViaModal:"wishlist",specialHeading:t.registerHeading}})],1)}),[],!1,null,null,null).exports},92606:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>a});var n=r(17984),s=r(16477);const i={data:function(){return{mq:n.Z,isOpen:!1,tp:s.t.prefix("PRODUCT")}},props:{displayText:{type:String,required:!0},infoText:{type:String,default:""}}};const a=(0,r(51900).Z)(i,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("span",[t._v("\n\t\t"+t._s(t.displayText)+"\n\t"),r("modal",{attrs:{inlineBlock:"","container-style":"max-width: 100%; width: 400px;","container-style":t.mq.current>=t.mq.md?"":"top:20px",rootClass:"delivery-notice"},model:{value:t.isOpen,callback:function(e){t.isOpen=e},expression:"isOpen"}},[t.infoText?r("span",{attrs:{slot:"label"},slot:"label"},[t.infoText?r("span",{staticClass:"glyphicon glyphicon-info-sign help",attrs:{title:t.infoText},on:{click:function(e){e.preventDefault(),e.stopPropagation(),t.isOpen=!0}}}):t._e()]):t._e(),t._v(" "),r("div",{staticClass:"delivery-notice"},[r("b",[r("p",[t._v("\n\t\t\t\t"+t._s(t.tp("LONG_DELIVERY_TIME_SHORT"))+"\n\t\t\t")])]),t._v(" "),r("p",[t._v("\n\t\t\t"+t._s(t.infoText)+"\n\t\t")])])])],1)}),[],!1,null,null,null).exports},88576:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>a});var n=r(68197),s=r(17984);const i={data:function(){return{mq:s.Z,showingImageIndex:0,selectedImageIndex:0}},props:{images:{type:Array,required:!0},imageName:{type:String,required:!0}},methods:{peekImage:function(t){this.showingImageIndex=t},stopPeek:function(t){var e=this.$refs["thumbnail-gallery"];e&&e.contains(t.toElement)||(this.showingImageIndex=this.selectedImageIndex)},selectImage:function(t){this.selectedImageIndex=t,this.showingImageIndex=t},nextImage:function(){this.selectedImageIndex<this.images.length-1?this.selectedImageIndex++:this.selectedImageIndex=0,this.showingImageIndex=this.selectedImageIndex},previousImage:function(){this.selectedImageIndex>0?this.selectedImageIndex--:this.selectedImageIndex=this.images.length-1,this.showingImageIndex=this.selectedImageIndex}},watch:{selectedImageIndex:function(t){var e=this.$refs["thumbnail-gallery"];
1if(e){var r=this.$refs["thumbnail-image"][t];e.scrollLeft>r.offsetLeft&&new n.Z(e,{scrollLeft:r.offsetLeft-2},.2),e.scrollLeft+e.offsetWidth<r.offsetLeft+r.offsetWidth-2&&new n.Z(e,{scrollLeft:r.offsetLeft-e.offsetWidth+r.offsetWidth+2},.2)}},images:function(t){this.showingImageIndex=0,this.selectedImageIndex=0}}};const a=(0,r(51900).Z)(i,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"gallery"},[r("v-touch",{staticClass:"gallery-touch-swipe",on:{swiperight:t.previousImage,swipeleft:t.nextImage}},[t.mq.current>=t.mq.md?r("modal",{staticClass:"modal-wrap"},[r("ximg",{attrs:{slot:"label",src:t.images[t.showingImageIndex].large,previewUrl:t.images[t.showingImageIndex].thumb,ariaLabel:t.imageName+" large image "+t.showingImageIndex,role:"img"},slot:"label"}),t._v(" "),r("image-slideshow",{staticClass:"gallery-slideshow",attrs:{images:t.images,initialImageIndex:t.selectedImageIndex,imageName:t.imageName}})],1):r("div",{staticClass:"ap-fill p-5",staticStyle:{"background-color":"white"}},[r("ximg",{attrs:{src:t.images[t.showingImageIndex].large,previewUrl:t.images[t.showingImageIndex].thumb,ariaLabel:t.imageName+" image "+t.showingImageIndex,role:"img"}})],1)],1),t._v(" "),t.mq.current<=t.mq.sm&&t.images.length>1?r("div",{staticClass:"mt-5",staticStyle:{"text-align":"center"}},t._l(t.images.length,(function(e){return r("span",{key:"gallery-dot-"+e,class:["gallery-dot",{active:e-1===t.selectedImageIndex}],on:{click:function(r){t.selectImage(e-1)}}})}))):t.images.length>1?r("div",{staticClass:"gallery-thumbnail-wrap"},[t.images.length>3?r("icon-button",{attrs:{variant:"left"},on:{click:t.previousImage}}):t._e(),t._v(" "),r("div",{ref:"thumbnail-gallery",staticClass:"relative mx-2 gallery-thumbnails",on:{mouseout:t.stopPeek}},t._l(t.images,(function(e,n){return r("span",{key:"gallery-thumbnail-"+n,ref:"thumbnail-image",refInFor:!0,class:["gallery-thumbnail",{selected:t.selectedImageIndex==n}],on:{mouseover:function(e){t.peekImage(n)},click:function(e){t.selectImage(n)}}},[r("ximg",{attrs:{src:e.thumb,ariaLabel:t.imageName+" thumbnail "+n,role:"img"}})],1)}))),t._v(" "),t.images.length>3?r("icon-button",{attrs:{variant:"right"},on:{click:t.nextImage}}):t._e()],1):t._e()],1)}),[],!1,null,null,null).exports},92784:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>a});var n=r(17984),s=r(16477);const i={props:{images:{type:Array,default:null},initialImageIndex:{type:Number,default:0},noPreviews:{default:!1},imageName:{type:String,default:""}},data:function(){return{mq:n.Z,currentImageIndex:null,carouselArray:[],transitioning:!1,transitionClass:null}},mounted:function(){this.currentImageIndex=this.initialImageIndex,this.$el.focus(),this.createCarouselArray(this.initialImageIndex)},methods:{t:s.t,createCarouselArray:function(t){if(this.carouselArray=[],2===this.images.length){if(this.carouselArray.push({index:0,item:this.images[1]},{index:1,item:this.images[0]},{index:2,item:this.images[1]},{index:3,item:this.images[0]}),1===this.initialImageIndex)return this.carouselArray.reverse()}else{for(var e=t,r=0;r<this.images.length;r++)if(e<this.images.length)this.carouselArray.push({index:e,item:this.images[e]}),e++;else{var n=e-this.images.length;this.carouselArray.push({index:n,item:this.images[n]}),e++}this.shiftArray("prev")}},showImage:function(t){return 1===this.images.length||t<3},shiftArray:function(t){var e=null;switch(t){case"next":e=this.carouselArray.shift(),this.carouselArray.push(e);break;case"prev":e=this.carouselArray.pop(),this.carouselArray.unshift(e)}},next:function(){var t=this;if(this.images.length>1){if(this.transitioning)return;this.transitioning=!0,this.transitionClass="move-left",this.afterTransition((function(){t.shiftArray("next"),t.transitionClass=null,t.currentImageIndex++,t.transitioning=!1}))}},prev:function(){var t=this;if(this.images.length>1){if(this.transitioning)return;this.transitioning=!0,this.transitionClass="move-right",this.afterTransition((function(){t.shiftArray("prev"),t.transitionClass=null,t.currentImageIndex--,t.transitioning=!1}))}},afterTransition:function(t){var e=this;this.$refs.inner.addEventListener("transitionend",(function r(){t(),e.$refs.inner.removeEventListener("transitionend",r)}))},handleDotClick:function(t){var e=t-1;this.images.length<=3?this.currentImageIndex<e&&this.currentImageIndex-e==-1||this.currentImageIndex>e&&this.currentImageIndex-e==2?this.next():this.prev():(this.currentImageIndex=e,this.createCarouselArray(this.currentImageIndex))}},computed:{showCarousel:function(){return this.images.length>1},showPreviews:function(){return!1===this.noPreviews},sizeStyle:function(){return this.mq.pageWidth<this.mq.pageHeight?{width:"90vw",height:"80vh"}:{width:"85vw",height:"85vh"}},contentStyle:function(){var t=this.mq.current<this.mq.md?32:64;return{top:"80px",left:t+"px",right:t+"px",bottom:"80px"}}},watch:{currentImageIndex:function(t){t<0&&(this.currentImageIndex=this.images.length-1),this.currentImageIndex%=this.images.length}}};const a=(0,r(51900).Z)(i,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"image-slideshow",style:t.sizeStyle,attrs:{tabindex:"0"},on:{keydown:[function(e){return!("button"in e)&&t._k(e.keyCode,"left",37,e.key,["Left","ArrowLeft"])||"button"in e&&0!==e.button?null:t.prev(e)},function(e){return!("button"in e)&&t._k(e.keyCode,"right",39,e.key,["Right","ArrowRight"])||"button"in e&&2!==e.button?null:t.next(e)}]}},[t.showCarousel?r("icon-button",{attrs:{variant:"left"},on:{click:t.prev}}):t._e(),t._v(" "),r("div",{ref:"inner",class:["inner",t.transitionClass,{carousel:t.
1showCarousel}]},t._l(t.carouselArray,(function(e,n){return r("div",{key:"image-slide-show-"+e.index,staticClass:"card"},[t.showImage(n)?r("ximg",{attrs:{lazy:!1,src:e.item.zoom,"no-upscale":"",previewUrl:t.showPreviews?e.item.thumb:null,ariaLabel:"zoomed in image number "+e.index+" of "+t.imageName,role:"img"}}):t._e()],1)}))),t._v(" "),t.showCarousel?r("icon-button",{attrs:{variant:"right"},on:{click:t.next}}):t._e(),t._v(" "),r("v-touch",{staticStyle:{position:"absolute"},style:t.contentStyle,on:{swipeleft:t.next,swiperight:t.prev}},[r("span",{staticClass:"invisible-scroll _left",on:{click:t.prev}}),t._v(" "),r("span",{staticClass:"invisible-scroll _right",on:{click:t.next}})]),t._v(" "),t.images.length>1?r("div",{staticClass:"gallery-dot-wrap"},t._l(t.images.length,(function(e){return r("span",{key:"slideshow-gallery-dot-"+e,staticClass:"gallery-dot",class:{active:e-1===t.currentImageIndex},on:{click:function(r){t.handleDotClick(e)}}})}))):t._e()],1)}),[],!1,null,null,null).exports},53852:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>I});var n=r(23279),s=r.n(n),i=r(37346),a=r(70538),o=r(71614),c=r(17499),u=r(69032),l=r(17984),d=r(75047),p=r(1017),h=r(76958),f=r(65831),v=r(20629),g=r(91581),m=r(499),y=r(94892),b=r(40720);function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function _(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?w(Object(r),!0).forEach((function(e){k(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function k(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function C(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return x(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return x(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,s=function(){};return{s,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){o=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function x(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var S=null;const P={data:function(){return{product:null,currentId:null,productPages:new Map,canGoNext:!1,canGoPrev:!1,loadingNext:!1,loadingPrev:!1,navigationBySlide:!1,tipsLoaded:!1,productComponentLoaded:!1,metaLoaded:!1,activeIndex:0,useSlideAnimation:!0,height:2e3,addToCartPos:{top:0,bottom:0},footerHeight:0,scrollPos:0,docHeight:0,clickedBuy:!1,showMailInput:!1,email:null,zendeskClasses:null,selectedBundleProducts:[]}},handlesMeta:!0,willSendScrollTriggerEvent:!0,handleTakeovers:!0,handleNavigation:function(){return!0},beforeRouteEnter:function(t,e,r){var n=parseInt(e.query.page);isNaN(n)&&(n=1);var s=parseInt(t.params.id),a={touchpoint:(0,l.n)()?"DESKTOP":"MOBILE"},o=t.query.pass;o&&(a.pass=o),i.Z.get("product/"+s).data(a).on("success",(function(t){r((function(e){e.disableAnimationForOneTick(),e.productComponentLoaded=!1,e.metaLoaded=!1,e.tipsLoaded=!1,e.product=t.data.product,e.currentId=t.data.product.id,e.page=n,e.updateBreadcrumbsAndTitle(t.data.product),e.getProductTips(),c.Z.$emit("saved-scroll.apply")}))})).on("404",(function(t){t.json().then((function(t){var e={product:null};t instanceof Object&&(e.product=t),r((0,g.vU)(404,"Produkten kan inte hittas",e))}))})).on("error",(function(){r((0,g.vU)(500,"Det går för tillfället inte att komma åt denna sida. Försök gärna senare."))})).go()},beforeRouteUpdate:function(t,e,r){if(~~t.params.id!=~~e.params.id){var n=~~t.params.id,s={touchpoint:(0,l.n)()?"DESKTOP":"MOBILE"},a=t.query.pass;a&&(s.pass=a),i.Z.get("product/"+n).data(s).on("success",(function(t){r((function(e){e.productPages=new Map,e.product=t.data.product,e.canGoNext=!1,e.canGoPrev=!1,e.currentId=t.data.product.id,e.updateBreadcrumbsAndTitle(t.data.product),e.metaLoaded=!1,e.tipsLoaded=!1,e.productC
1omponentLoaded=!1,e.getProductTips(),c.Z.$emit("saved-scroll.apply")}))})).on("404",(function(){r((0,g.vU)(404,"Produkten kan inte hittas :("))})).go()}else r((function(t){t.onPageLoad()}))},methods:{loadProductAgain:function(){var t=this,e=parseInt(this.$route.params.id),r={touchpoint:(0,l.n)()?"DESKTOP":"MOBILE"},n=this.$route.params.pass;n&&(r.pass=n),i.Z.get("product/"+e).data(r).on("success",(function(e){t.disableAnimationForOneTick(),t.productComponentLoaded=!1,t.metaLoaded=!1,t.tipsLoaded=!1,t.product=e.data.product,t.currentId=e.data.product.id,t.page=1,t.updateBreadcrumbsAndTitle(e.data.product),t.getProductTips(),c.Z.$emit("saved-scroll.apply"),c.Z.$emit("loadedProductAgain",e.data.product)})).on("404",(function(t){t.json().then((function(t){var e={product:null};t instanceof Object&&(e.product=t),next((0,g.vU)(404,"Produkten kan inte hittas",e))}))})).go()},nowShowMailInput:function(){this.showMailInput=!0},saveEmail:function(){var t=this,e=this.email.search("@");if(!this.email||this.email.length<3||-1===e)(0,o.Z)("E-postadressen är ogiltig!");else{var r={productId:this.currentId,email:this.email};i.Z.post("product/send-mail-when-available").data(r).on("success",(function(e){t.showMailInput=!1,t.email=null,(0,o.Z)("Du kommer få ett mail av oss när produkten blir tillgänglig!")})).on("405",(function(t){(0,o.Z)("Den här e-posten är redan anmäld för den här produkten!")})).on("error",(function(t){(0,o.Z)("Något gick fel!")})).go()}},updateTakeover:function(){!1!==window.useProductTakeovers?this.currentCategoryId&&l.Z.current>=l.Z.lg&&(0,y.Lo)(this.currentCategoryId):c.Z.$emit("takeover:update",null)},onTipsLoad:function(){this.tipsLoaded=!0,this.onPageLoad()},onMetaLoad:function(){this.metaLoaded=!0,this.onPageLoad()},onProductComponentLoad:function(t){var e=this;t.id===this.product.id&&(this.productComponentLoaded=!0,this.updateHeight(),a.default.nextTick((function(){e.getDivElements(),e.onPageLoad()})))},onPageLoad:function(){this.tipsLoaded&&this.productComponentLoaded&&this.metaLoaded},getDivElements:function(){if(null!==document.getElementById("footer")&&null!==document.getElementById("add-product-to-cart")&&null!==document.getElementById("launcher")){this.footerHeight=document.getElementById("footer").getBoundingClientRect().height;var t=document.getElementById("add-product-to-cart").getBoundingClientRect();this.zendeskClasses=document.getElementById("launcher").classList,this.zendeskClasses.add("hide-zendesk-margin"),this.addToCartPos={top:t.top+this.scrollPos,bottom:t.bottom+this.scrollPos}}},updateBreadcrumbsAndTitle:function(t){function e(t,r){var n,s=C(t);try{for(s.s();!(n=s.n()).done;){var i=n.value;if(i.id===r)return[i];var a=e(i.subCategories,r);if(a)return a.unshift(i),a}}catch(t){s.e(t)}finally{s.f()}return!1}if(t){var r=null,n=this.navStatus;if(n.menu.staticTree){var s=n.section?n.section.id:null;if(s){var i,a=C(n.menu.staticTree);try{for(a.s();!(i=a.n()).done;){var o=i.value;if(o.id===s){r=o;break}}}catch(t){a.e(t)}finally{a.f()}}}var c=null;if(r){var l,d=C(t.categories);try{for(d.s();!(l=d.n()).done;){var p=l.value,h=e(r.categories,p.id);if(h){var f=0;for(var v in n.categories){if(v>=h.length||n.categories[v].id!==h[v].id)break;++f}(null===c||c.score<f)&&(c={id:p.id,score:f,path:h})}}}catch(t){d.e(t)}finally{d.f()}}if(c)(0,b.D_)(r,c.path);else{var g=t.mainCategoryPath||[t.categories[0]];(0,b.D_)(t.section,g)}u.Z.updateParams({id:t.id,name:t.name})}},disableAnimationForOneTick:function(){var t=this;this.useSlideAnimation=!1,setTimeout((function(){t.useSlideAnimation=!0}),100)},updateHeight:function(){this.$refs.product&&(this.$refs.product&&(this.height=this.$refs.product.getBoundingClientRect().height))},getProductTips:function(){var t=this;this.$nextTick((function(){t.tipsLoaded=!1,d.Z.commit("productTips/setShowTopLists",!1),d.Z.commit("productTips/setShowLists",!0),t.product,d.Z.dispatch("productTips/fetchTips",t.product)}))},handleScroll:function(t){this.scrollPos=window.scrollY},deleteOGTags:function(){h.Z.delete("og:image"),h.Z.delete("og:url"),h.Z.delete("og:type"),h.Z.delete("og:title"),h.Z.delete("og:description"),h.Z.delete("fb.app_id")},updateMeta:function(){var t=this.product,e="Köp "+t.name+" hos oss, köp online eller i butik ✓ Fri frakt vid köp över 800 kr  ✓ Öppet köp 60 dagar för medlemmar ✓ Snabba leveranser";t.metaDescription&&(e=t.metaDescription),h.Z.set("description",e),h.Z.set("og:image",t.images[0].large),h.Z.set("og:url",location.href),h.Z.set("og:type","article"),h.Z.set("og:title",t.name),h.Z.set("og:description",e),h.Z.set("fb.app_id","1670825789818570"),t.isFyndware&&h.Z.set("robots","noindex, follow");var r=t,n=r.id,s=r.name;this.product.canonicalLink&&(n=this.product.canonicalLink.match(/\d+/)[0],s=this.product.canonicalLink.split(/\x2D([\s\S]*)/)[1]),p.Z.set({id:"canonical",type:"link",attributes:{rel:"canonical",href:u.Z.routeToUrl(u.Z.route({name:"product",params:{id:n,name:s}}
1))}}),this.onMetaLoad()},buyButtonClick:function(t){c.Z.$emit("product-page.add-to-cart","main-prod"),this.clickedBuy=!0},triggerInsurance:function(){c.Z.$emit("sticky.triggerInsurance")}},computed:_(_(_({showStickyBuyButton:function(){return this.product&&(0,g.Oc)()},currentCategoryId:function(){var t=this.navStatus.categories;return t.length||(t=this.product.mainCategoryPath)&&t.length?t[t.length-1].id:null}},(0,v.Se)({isLoggedIn:"user/isLoggedIn"})),(0,v.rn)({navStatus:function(t){return t.navStatus},user:function(t){return t.user}})),{},{showAddToCart:function(){var t=this.scrollPos+window.innerHeight,e=this.docHeight-this.footerHeight,r=t<this.addToCartPos.top||this.scrollPos>this.addToCartPos.bottom&&t<e;return this.zendeskClasses&&(r&&this.zendeskClasses.contains("hide-zendesk-margin")?(this.zendeskClasses.add("show-zendesk-margin"),this.zendeskClasses.remove("hide-zendesk-margin")):!r&&this.zendeskClasses.contains("show-zendesk-margin")&&(this.zendeskClasses.add("hide-zendesk-margin"),this.zendeskClasses.remove("show-zendesk-margin"))),r}}),destroyed:function(){window.removeEventListener("scroll",this.handleScroll),window.removeEventListener("resize",this.getDivElements),clearInterval(S),S=null},watch:{product:function(t,e){if(!t||!e||t.id!==e.id){this.updateTakeover(),this.updateMeta();var r=this.navStatus&&this.navStatus.section?this.navStatus.section.name:"",n=/\/|\s+\/\s+/g;this.navStatus.categories.forEach((function(t){r+="/"+t.name.replace(n," ")}));var s={rating:!0,stock:!0,event:"eec_detail",coupon:!0,alternativeCategory:r};(0,m.hX)([t],"Product Page",s)}},docHeight:function(t){this.getDivElements()}},mounted:function(){var t=this;(0,g._c)(document.body,(function(){t.docHeight=(0,g.Ti)(),c.Z.$emit("update:siteHeight")})),c.Z.$on("product-component:loaded",this.onProductComponentLoad),c.Z.$on("productTips:rendered",this.onTipsLoad),c.Z.$on("show-mail-input-modal",this.nowShowMailInput),window.addEventListener("scroll",t.handleScroll),window.addEventListener("resize",s()(t.getDivElements,400)),f.prerender||(S=setInterval(this.updateHeight.bind(this),500),this.user&&(this.email=this.user.email),c.Z.$on("userLoggedInOrOut:loadProduct",this.loadProductAgain))},beforeDestroy:function(){this.deleteOGTags(),c.Z.$off("product-component:loaded",this.onProductComponentLoad),c.Z.$off("productTips:rendered",this.onTipsLoad)}},O=P;const I=(0,r(51900).Z)(O,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"product-page-wrapper"},[r("div",{staticClass:"product-wrapper",style:{height:t.height+"px"}},[r("div",{ref:"product",staticClass:"product"},[t.product?r("product",{attrs:{product:t.product,scrollPos:t.scrollPos,docHeight:t.docHeight,selectedBundleProducts:t.selectedBundleProducts},on:{"update:selectedBundleProducts":function(e){t.selectedBundleProducts=e}}}):t._e()],1)]),t._v(" "),r("modal",{attrs:{"container-style":"width: 500px; max-width:100%;"},model:{value:t.showMailInput,callback:function(e){t.showMailInput=e},expression:"showMailInput"}},[r("div",{staticStyle:{"align-content":"center","text-align":"center"}},[r("h2",[t._v("Meddela mig")]),t._v(" "),r("p",[t._v("Vi meddelar dig så fort produkten finns tillgänglig för beställning!")]),t._v(" "),r("input-text",{staticStyle:{width:"301px","max-width":"100%",margin:"auto"},attrs:{autofocus:"",placeholder:"E-postadress",type:"email",inputmode:"email",icon:"mail",name:"email"},model:{value:t.email,callback:function(e){t.email=e},expression:"email"}}),t._v(" "),r("br"),t._v(" "),r("text-button",{attrs:{text:"Meddela mig",center:""},on:{click:function(e){t.saveEmail()}}}
1)],1)]),t._v(" "),t.showStickyBuyButton?r("div",{staticClass:"sticky-add-to-cart",class:t.showAddToCart?"show-sticky-button":"hide-sticky-button"},[r("product-price",{attrs:{product:t.product,row:t.product.price.price===t.product.regularPrice.price}}),t._v(" "),r("buy-button",{attrs:{buttonSize:"large",product:t.product,selectedBundleProducts:t.selectedBundleProducts},on:{triggerInsurance:t.triggerInsurance}})],1):t._e()],1)}),[],!1,null,null,null).exports},29092:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>s});const n={props:{chargerData:{type:Object,required:!0}},computed:{chargerIncluded:function(){return!(this.chargerData["Laddare ingår"]&&"No"==this.chargerData["Laddare ingår"].value||this.chargerData["Laddare ingår"]&&"Nej"==this.chargerData["Laddare ingår"].value||this.chargerData["USB-C-laddare ingår"]&&"No"==this.chargerData["USB-C-laddare ingår"].value||this.chargerData["USB-C-laddare ingår"]&&"Nej"==this.chargerData["USB-C-laddare ingår"].value||this.chargerData["USB-C Charger Included"]&&"No"==this.chargerData["USB-C Charger Included"].value||this.chargerData["USB-C Charger Included"]&&"Nej"==this.chargerData["USB-C Charger Included"].value)},chargerIncludedText:function(){return this.chargerIncluded?"Laddare ingår":"Laddare ingår ej"},chargerIncludedIcon:function(){return this.chargerIncluded?"/img/charger-included.svg":"/img/charger-not-included.svg"},chargerSpecifications:function(){var t,e,r=null===(t=this.chargerData["Effekt levererad"])||void 0===t?void 0:t.value;return"Yes"==(null===(e=this.chargerData["USB Power Delivery"])||void 0===e?void 0:e.value)&&(r+=" USB PD"),r}}};const s=(0,r(51900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"charger-information"},[t._v("\n\t"+t._s(t.chargerIncludedText)+"\n\t"),r("img",{attrs:{src:t.chargerIncludedIcon}}),t._v(" "),r("div",{staticClass:"charger-text-wrap"},[r("img",{attrs:{src:"/img/charger-information.svg"}}),t._v(" "),r("span",{staticClass:"charger-text"},[t._v("\n\t\t\t"+t._s(t.chargerSpecifications)+"\n\t\t")])])])}),[],!1,null,null,null).exports},50626:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>i});var n=r(91581);const s={props:{product:{type:Object,required:!0}},computed:{productCategory:function(){return this.product.categories[0]},showInEarDisclaimer:function(){return[4803,4817,4932,16013].includes(this.productCategory.id)},priceTagIconSrc:function(){return"/img/icons/categories/prislapp.svg"},fyndwareClass:function(){return(0,n.eq)(this.product)},fyndwareClassText:function(){return this.product.fyndwareClass.name.toUpperCase()},fyndwareDescription:function(){for(var t=this.product.mainCategoryPath.reverse(),e=0;e<t.length;e++)if(t[e].fyndwareDescription)return t[e].fyndwareDescription}}};const i=(0,r(51900).Z)(s,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.product.isFyndware?r("div",{staticClass:"panel panel-body",staticStyle:{padding:"0"}},[r("div",{staticClass:"fyndware-background"},[r("div",{staticClass:"d-flex"},[r("img",{staticClass:"fyndware-image",attrs:{src:t.priceTagIconSrc,alt:"special price"}}),t._v(" "),r("span",{staticClass:"fyndware-heading text-highlight"},[t._v("Fyndvara")]),t._v(" "),t.product.fyndwareClass?r("div",{staticClass:"panel panel-body ml-5 mb-0 fyndware-class"},[r("span",{staticClass:"text-highlight ",class:t.fyndwareClass},[t._v(t._s(t.fyndwareClassText+(t.product.fyndwareClass.condition?":":"")))]),t._v(" "),t.product.fyndwareClass.condition?r("span",{staticClass:"text-highlight"},[t._v(" "+t._s(t.product.fyndwareClass.condition))]):t._e()]):t._e()]),t._v(" "),r("div",{staticClass:"mt-4"},[t.product.description&&t.product.description.length?r("div",[r("product-description",{attrs:{html:t.product.description,product:t.product}}),t._v(" "),r("div",{staticClass:"fyndware-paragraph text-highlight"},[t._v("\n\t\t\t\t\t Samtliga fyndvaror kommer med 30 dagars öppet köp (60 dagar för medlemmar) och täcks av samma skydd som konsumentköplagen ger övriga produkter.\n\t\t\t\t")])],1):t.product.fyndwareClass?r("i",[t._v("\n\t\t\t\t"+t._s(t.product.fyndwareClass.description)+"\n\t\t\t\t"),r("strong",[t._v("Samtliga fyndvaror kommer med 30 dagars öppet köp (60 dagar för medlemmar) och täcks av samma skydd som konsumentköplagen ger övriga produkter.")])]):t._e(),t._v(" "),t.product.isFyndware?r("product-description",{staticClass:"fyndware-paragraph",attrs:{html:t.fyndwareDescription,product:t.product}}):r("i",[t._v("\n\t\t\t\tFyndvaror är produkter som säljs till ett reducerat pris.\n\t\t\t\tAnledningen till detta är att de kan ha öppnats, använts, \n\t\t\t\tvara returexemplar från distributören eller ha ett trasigt emballage.\n\t\t\t")])],1),t._v(" "),t.showInEarDisclaimer?r("div",{staticClass:"fyndware-paragraph"},[r("strong",[t._v("*")]),t._v(" In-ear-hörlurar som följer med t
1ill mobiler och surfplattor kan saknas då du köper en fyndvara. \n\t\t\tVi kasserar hörlurarna om de är använda, av hygienskäl.\n\t\t")]):t._e(),t._v(" "),r("div",{staticClass:"fyndware-paragraph"},[t._v("\n\t\t\tFör mer information om klassystemet se\n\t\t\t"),r("router-link",{attrs:{to:{name:"info",params:{id:11,name:"Fyndvaror"}}}},[t._v("Fyndvaror")])],1)])]):t._e()}),[],!1,null,null,null).exports},99102:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>C});var n=r(37346),s=r(68197),i=r(17499),a=r(17984),o=r(33626),c=r(22267),u=r(75047),l=r(16477),d=r(20629),p=r(65831),h=(r(50880),r(499)),f=r(91581);function v(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,s,i=[],a=!0,o=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(t){o=!0,s=t}finally{try{a||null==r.return||r.return()}finally{if(o)throw s}}return i}(t,e)||m(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=m(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,s=function(){};return{s,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){o=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function m(t,e){if(t){if("string"==typeof t)return y(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?y(t,e):void 0}}function y(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function b(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function w(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?b(Object(r),!0).forEach((function(e){_(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function _(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const k={store:u.Z,props:{product:{type:Object,required:!0},scrollPos:{type:Number,required:!0},docHeight:{type:Number,required:!0,default:0},selectedBundleProducts:{type:Array,default:function(){return[]}}},data:function(){return{mq:a.Z,abTest:c.Z,inStockAnywhere:f.mo,formatPrice:f.T4,prerender:p.prerender,getStoreSuggestions:f.jH,daysBetweenDates:f.Sz,displayStarRating:f.ku,getProductRating:f.So,scrollTo:f.X5,restrictedProducts:p.restrictedProducts,reviews:[],nrReviews:0,insured:!1,nrQuestions:0,navSections:[],targetScroll:0,renderTips:!1,clickedBuy:!1,nrMeterReviews:0,reviewsLoaded:null,isHeaderHidden:!1,showingImageIndex:0,selectedImageIndex:0,questionsLoaded:null,productCampaigns:[],storeKey:0,offers:[],headerHeight:0,productNavHeight:0,resursPaymentOptions:[],pickSubscription:0}},handleTakeovers:!0,computed:w(w({iframeStyle:function(){return{"max-height":"-webkit-fill-available",height:"95vh",width:"100vw"}},suggestionIconColor:function(){return"1e222d"},categorySuggestions:function(){var t=[],e=null;if(this.product.mainCategoryPath?e=this.product.mainCategoryPath:this.product.categories&&(e=this.product.categories),e){var r,n=g(e);try{for(n.s();!(r=n.n()).done;){var s=r.value;s.active&&s.hasProducts&&t.push({id:s.id,name:s.name,router:this.$router.route({name:"category",params:{id:s.id,name:s.name}}),icon:s.icon})}}catch(t){n.e(t)}finally{n.f()}}if(this.product.section&&this.product.section.active){var i=this.product.section;t.push({id:i.id,name:i.name,router:this.$router.route({name:"section",params:{id:i.id,name:i.name}}),icon:i.icon})}return t},showDiscontinuedTips:function(){return this.isTrulyDiscontinued&&!this.product.isFyndware&&1===this.lists.length},hasDiscontinuedTips:function(){return this.showDiscontinuedTips&&this.lists.length&&this.lists[0].products.length},isTrulyDiscontinued:function(){var t;return this.product.discontinued&&(1*this.product.discontinued==1||!this.inStock&&(null===(t=this.product.stock)||void 0===t?void 0:t.isTrue))},manufacturerRoute:function(){return{name:"manufacturer",params:{id:this.product.manufacturer.id,name:this.product.manufacturer.name}}},useProductTipSlider:function(){if(this.product&&this.product.id)return window.useProductTipSlider},requiresPrepayment:function(){for(var t in this.product.meta)if("requires_prepayment"===t&&this.product.meta[t])return!0;return!1}
1,isHygieneArticle:function(){return!!this.product.meta.is_hygiene_article},showPrice:function(){return!!this.product.price&&(!this.product.statusCodes||this.product.statusCodes.indexOf(10)<0)},topReviewDisplayProductName:function(){return!!this.product&&!!this.product.variants},inStock:function(){return!!this.product.stock&&(0,f.mo)(this.product.stock)},storeSuggestions:function(){return(0,f.jH)(this.product.stock,this.user.storeSuggestions,this.userSettings.myStores,4)},hasData:function(){return this.product.data&&Object.keys(this.product.data).length},showDaysUntilRelease:function(){return this.daysUntilRelease>0&&this.daysUntilRelease<100&&"Y-m-d"===this.product.release.format},formattedDaysUntilRelease:function(){return this.daysUntilRelease+(this.daysUntilRelease<=1?" dag ":" dagar ")+"kvar"},daysUntilRelease:function(){var t=new Date;t.setTime(1e3*this.product.release.timestamp);var e=new Date;return(0,f.Sz)(t,e)},isReleased:function(){if(!this.product.release)return!0;var t=new Date;return t.setTime(1e3*this.product.release.timestamp),new Date>=t},hasAvgRating:function(){return null!==this.product.averageRating&&void 0!==this.product.averageRating},displayStars:function(){return(0,f.ku)(this.product)},rating:function(){return(0,f.So)(this.product)},releaseDate:function(){return(0,o.Z)(this.product.release.format,this.product.release.timestamp)},hasCampaignPrice:function(){return this.product.regularPrice&&this.product.price.price<this.product.regularPrice.price},hasMaxPurchaseLimit:function(){var t=this;return!!this.restrictedProducts.find((function(e){return e===t.product.id}))},hasLongDeliveryTime:function(){return!(null===this.product.statusCodes||void 0===this.product.statusCodes||this.product.statusCodes.length<=0)&&(-1!==this.product.statusCodes.indexOf(1)||void 0)},description:function(){return this.product&&this.product.description?this.product.description:""},showOriginalDescriptionPanel:function(){return!!this.$refs.originalDescription&&this.$refs.originalDescription.fixedHtml.length>0},canBuy:function(){return!(this.fullyBooked||this.isTrulyDiscontinued||this.notYetAvailable||this.notOrderable||this.product.minimumRankLevel&&!(this.user.rankLevel>0&&this.product.minimumRankLevel<=this.user.rankLevel))},notYetAvailable:function(){return this.product.statusCodes&&this.product.statusCodes.indexOf(10)>=0},notOrderable:function(){return this.product.statusCodes&&this.product.statusCodes.indexOf(12)>=0},fullyBooked:function(){return this.product.statusCodes&&this.product.statusCodes.indexOf(9)>=0},priceIconCampaign:function(){return"/img/icons/price/campaign.svg"},insuranceIcon:function(){return this.product.mainCategoryPath.slice(-1)[0].icon},showInsurancePopup:function(){var t,e,r,n;return((null===(t=this.product.services)||void 0===t||null===(e=t.insurances)||void 0===e?void 0:e.length)||(null===(r=this.product.services)||void 0===r||null===(n=r.warranties)||void 0===n?void 0:n.length))&&parseInt(this.product.price.price)>300},showAccessoriesPopup:function(){return this.offers.length},cursorStyling:function(){var t=this,e=0,r=0,n=this.productNavHeight+this.headerHeight*!this.isHeaderHidden,s=this.navSections.findIndex((function(e){return e.breakpoint>=t.targetScroll+n+15}));return s=Math.max(s-1,0),this.navSections.length&&(e=this.navSections[s].pos,r=this.navSections[s].width),{top:!this.isHeaderHidden*this.headerHeight+"px","--cursor-position":e+"px","--cursor-width":r+"px"}},productLists:function(){var t,e=g(this.lists);try{for(e.s();!(t=e.n()).done;){var r=t.value;r.products.length&&(0,h.hX)(r.products,r.title,{rating:!0})}}catch(t){e.e(t)}finally{e.f()}return this.lists},showFlashSale:function(){var t,e,r,n=new Date,s=new Date(this.product.price.endAt);return this.product.price.nearlyOver&&n<s&&((!(null!==(t=this.product)&&void 0!==t&&t.lowestPrice)||parseFloat(null===(e=this.product)||void 0===e||null===(r=e.lowestPrice)||void 0===r?void 0:r.price)>parseFloat(this.product.price.price))&&(0,f.Ro)(this.product.price)||this.product.price.price===this.product.regularPrice.price)},maxQtyPerCustomer:function(){var t,e,r=null===(t=this.product.price)||void 0===t?void 0:t.maxQtyPerCustomer;r||(r=null===(e=this.product.saleLimit)||void 0===e?void 0:e.maxQtyPerCustomer);return r}},(0,d.rn)({user:function(t){return t.user},userSettings:function(t){return t.userSettings},lowestMethodCost:function(t){return t.shippingPrices.lowestShippingPrice},priceList:function(t){return t.shippingPrices.priceList}})),(0,d.Se)({accessories:"productTips/overflowingLists",bundleOffers:"productTips/bundleOffers",adminPanel:"user/isAdminPanelShowing",rankLevel:"user/rankLevel",lists:"productTips/lists",cartSum:"cart/sum"})),watch:{selectedImageIndex:function(t){var e=this.$refs["thumbnail-gallery"],r=e.offsetWidth,n=e.scrollLeft,i=68*t,a=n-i;if(a>0)return s.Z.destroy(e),void new s.Z(e,{scrollLeft:e.scrollLeft-a},.2);(a=i+68-(n+r))>0&&(s.Z.destroy(e),new s.Z(e,{scrollLeft:e.scrollLeft+a},.2))},scrollPos:function(t,e){Math.sign(this.targetScroll-t)===Math.sign(e-t)&&(this.targetScroll=t),t===document.body.clientHeight-window.innerHeight&&(this.targetScroll=t+window.innerHeight)},docHeight:function(){this.calculateProductNav()},product:{handler:function(t,e){this.calculateProductNav(),this.getProductCampaigns(),i.Z.$emit("current.product",this.product)},immediate:!0}},mounted:function(){var t=this;i.Z.$on("loadedProductAgain",(function(e){t.storeKey++})),i.Z.$on("header.status",(function(e){var r=v(e,2),n=r[0],s=r[1];t.headerHeight=s-1,t.isHeaderHidden=n})),i.Z.$on("sticky.triggerInsurance",(function(e){t.triggerInsurance(),t.getOffers()})),i.Z.$on("product-page.add-to-cart",(function(e){"bundle"===e&&(t.triggerInsurance(),t.getOffers())})),this.selectImage(0),this.$nextTick((function(){t.calculateProductNav()}))},methods:{formatProductPrice:f.Td,componentLoaded:function(){var t=this;this.reviewsLoaded&&this.questionsLoaded&&(this.product.loaded=!0,Vue.nextTick((function(){i.Z.$emit("product-component:loaded",t.product)})))},setRenderTips:function(){this.renderTips=!0},buyButtonClick:function(t){i.Z.$emit("product-page.add-to-cart","main-prod"),this.clickedBuy=!0},peekImage:function(t){this.showingImageIndex=t},stopPeek:function(t){this.$refs["thumbnail-gallery"].contains(t.toElement)||(this.showingImageIndex=this.selectedImageIndex)},selectImage:function(t){this.selectedImageIndex=t,this.showingImageIndex=t},nextImage:function(){this.selectedImageIndex<this.product.images.length-1&&this.selectedImageIndex++,this.showingImageIndex=this.selectedImageIndex},previousImage:function(){this.selectedImageIndex>0&&this.selectedImageIndex--,this.showingImageIndex=this.selectedImageIndex},onReviewsLoad:function(t){this.reviews=t.reviews,this.nrReviews=t.nrReviews,this.nrMeterReviews=t.nrMeterReviews,this.reviewsLoaded=!0,this.componentLoaded()},onQuestionsLoad:function(t){this.nrQuestions=t.nrQuestions,this.questionsLoaded=!0,this.componentLoaded()},t:l.t,tp:l.t.prefix("PRODUCT"),tr:l.t.prefix("REVIEW"),tg:l.t.prefix("GSPR"),setInsured:function(t){this.insured=t},getProductCampaigns:function(){var t=this;if(this.productCampaigns=[],1*this.product.discontinued!=1&&"campaign"==this.product.price.type){var e=this.$route.query.pass;n.Z.get("product/campaign").data({productId:this.product.id,pass:e}).on("success",(function(e){e.data&&(t.productCampaigns=e.data)})).go()}},calculateProductNav:function(){var t=this.$refs.productNav;if(t){var e=0;this.productNavHeight=t.offsetHeight;var r={pos:e,width:0,breakpoint:window.pageYOffset};this.navSections=Array.from(t.children).map((function(t){var n=t.children[0],s=document.querySelector(n.getAttribute("href"));if(n&&s){var i=n.getBoundingClientRect(),a=s.getBoundingClientRect();r={pos:e,width:i.width,breakpoint:window.pageYOffset+a.top-1},e+=i.width}return r})),this.navSections.push({breakpoint:1/0})}},moveTo:function(t){var e=40;this.targetScroll=(0,f.X5)(t,null,!0,-e),this.targetScroll<this.scrollPos&&(e=160,this.targetScroll=(0,f.X5)(t,null,!0,-e))},staticCampaignLinkText:function(t){return t.isDiscounted?"GÃ¥ till kampanj":"Visa fler produkter"},triggerInsurance:function(){this.showInsurancePopup?this.$refs.insurancePopup.modalOpen=!0:this.showAccessoriesPopup&&(this.$refs.showAccessoriesPopup.modalOpen=!0)},triggerAccessoriesPopup:function(){this.$refs.showAccessoriesPopup.modalOpen=!0},getOffers:function(){var t=this;this.cartNumRows<=0||n.Z.get("product-cart-offer/").data({type:1,productId:this.product.id,touchpoint:(0,a.n)()?"DESKTOP":"MOBILE",manufacturer:this.product.manufacturer.id}).on("success",(function(e){e.data.hasOwnProperty("products")&&(t.offers=e.data.products)})).go()}}};const C=(0,r(51900).Z)(k,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("article",{staticClass:"product-page"},[r("product-markup",{attrs:{product:t.product,nrReviews:t.nrReviews,reviews:t.reviews}}),t._v(" "),r("header",{staticClass:"col-xs-12 product-header"}
1,[r("div",{staticClass:"px-5 col-xs-12"},[r("h1",[t._v(t._s(t.product.mainTitle))]),t._v(" "),r("p",{staticClass:"text-secondary"},[t._v("\n\t\t\t\t"+t._s(t.product.subTitle)+" "),t.product.subTitle?r("span",[t._v("/")]):t._e(),t._v(" "),this.product.ifsId?r("span",[t._v(t._s(t.tp("CODE",t.product.id))+" ("+t._s(this.product.ifsId)+")")]):r("span",[t._v(" "+t._s(t.tp("CODE",t.product.id)))])]),t._v(" "),t.product.averageRating&&0!=t.nrMeterReviews?r("div",{staticClass:"d-flex justify-content-between align-items-center"},[r("div",{staticClass:"d-flex mr-5 align-items-center"},[(t.displayStars,r("div",{staticClass:"mr-3 semibold"},[t._v("\n\t\t\t\t\t\t"+t._s(t.product.averageRating.rating)+"\n\t\t\t\t\t")])),t._v(" "),r("div",{staticClass:"d-flex align-items-center"},[t.displayStars?r("stars",{staticClass:"product-display-stars",attrs:{stars:t.rating}}):r("flames",{staticClass:"product-display-flames",attrs:{flames:t.rating,align:""}}),t._v(" "),r("span",{staticClass:"ml-3 clickable",on:{click:function(e){e.preventDefault(),t.scrollTo("#p-reviews")}}},[t._v("("+t._s(t.nrMeterReviews)+")")])],1)]),t._v(" "),r("add-to-wishlist-btn",{attrs:{product:t.product}})],1):r("div",{staticClass:"d-flex justify-content-end mt-3"},[r("add-to-wishlist-btn",{staticClass:"mt-3",attrs:{product:t.product}})],1)]),t._v(" "),r("div",{staticClass:"col-md-3 col-xs-12 px-0 pull-right"},[t.product.energyMarking?r("modal",{staticClass:"pull-right energy-marking"},[r("template",{slot:"label"},[r("energy-rating",{attrs:{nofold:!0,height:43,rating:t.product.energyMarking.rating,scale:t.product.energyMarking.scale,flipped:"",unit:"px"}}),t._v(" "),r("div",{staticClass:"d-block text-secondary"},[t._v("\n\t\t\t\t\t\t"+t._s(t.tp("DATASHEET"))+"\n\t\t\t\t\t")])],1),t._v(" "),r("energy-datasheet",{attrs:{marking:t.product.energyMarking}})],2):t._e(),t._v(" "),t.mq.current<t.mq.lg?r("price-bubble",{class:{"energy-marking-above":t.product.energyMarking},staticStyle:{position:"absolute",right:"15px"},attrs:{product:t.product,excludeVat:t.user.settings.show_prices_excluding_vat}}):t._e()],1)]),t._v(" "),r("div",{staticClass:"product-wrapper"},[r("div",{staticClass:"product-top"},[r("div",{staticClass:"product-top-row"},[r("section",{staticClass:"product px-5",staticStyle:{"min-height":"300px",position:"relative"},style:t.mq.current>=t.mq.lg?"width:60%;":""},[t.product.splashes?r("splash",{attrs:{splashes:t.product.splashes,product:t.product,productPage:""}}):t._e(),t._v(" "),!(t.mq.current>=t.mq.lg)||t.product.discontinued>0&&!t.inStock?t._e():r("price-bubble",{staticClass:"ap-tr",attrs:{product:t.product,excludeVat:t.user.settings.show_prices_excluding_vat}}),t._v(" "),r("gallery",{attrs:{images:t.product.images,imageName:t.product.name}})],1),t._v(" "),t.isTrulyDiscontinued?r("section",{staticClass:"px-5 discontinued-info",style:t.mq.current>=t.mq.lg?"width:40%;":""},[r("div",{staticClass:"alert alert-danger"},[r("ximg",{attrs:{src:"/api/dynimg/icon/utgatt_gameover/D50855",ariaLabel:"discontinued",role:"img"}}),t._v(" "),r("div",{staticClass:"info"},[r("h2",[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.tp("DISCONTINUED"))+"\n\t\t\t\t\t\t\t")]),t._v(" "),r("p",{staticClass:"small"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.tp("DISCONTINUED_DESCRIPTION"))+"\n\t\t\t\t\t\t\t")])])],1),t._v(" "),r("div",{staticClass:"mt-4 small"},[t._v("\n\t\t\t\t\t\tPröva att navigera via kategorimenyn eller\n\t\t\t\t\t\t"),r("router-link",{attrs:{to:{name:"search"}}},[t._v("sök efter en produkt")]),t._v(".\n\t\t\t\t\t")],1),t._v(" "),t.product.variants?r("variant-selector",{staticClass:"mt-5",attrs:{product:t.product}}):t._e()],1):r("section",{staticClass:"px-5",style:t.mq.current>=t.mq.lg?"width:40%;":""},[r("div",{staticClass:"text-center",attrs:{id:"add-product-to-cart"}},[t.product.splashes?r("splash-info",{attrs:{splashes:t.product.splashes,product:t.product}}):t._e(),t._v(" "),t.showPrice?r("product-price",{attrs:{product:t.product,center:"",large:""}}):t._e(),t._v(" "),t.showFlashSale?r("flash-sale",{attrs:{productPrice:t.product.price,overBookingProtection:t.product.price.price===t.product.regularPrice.price}}):t._e(),t._v(" "),t.maxQtyPerCustomer?r("div",[t._v("\n\t\t\t\t\t\t\tMax "+t._s(t.maxQtyPerCustomer)+" per kund\n\t\t\t\t\t\t")]):t._e(),t._v(" "),t.isReleased?t._e(
1):r("div",[t._v("\n\t\t\t\t\t\t\tRelease: "+t._s(t.releaseDate)+"\n\t\t\t\t\t\t\t"),t.showDaysUntilRelease?r("span",[t._v("\n\t\t\t\t\t\t\t\t("+t._s(t.formattedDaysUntilRelease)+")\n\t\t\t\t\t\t\t")]):t._e()]),t._v(" "),t.product.variants?r("variant-selector",{attrs:{product:t.product}}):t._e(),t._v(" "),t.product.variants&&t.product.variants.variantGroups?r("variant-picker",{attrs:{variantGroups:t.product.variants.variantGroups,variantData:t.product.variants.list,currentProductId:t.product.id,currentProductPrice:t.product.price,currentProduct:t.product}}):t._e(),t._v(" "),t.product.data["EU: s regler för kraftanordningar"]?r("charger-information",{attrs:{chargerData:t.product.data["EU: s regler för kraftanordningar"]}}):t._e(),t._v(" "),t.canBuy?r("product-tip-display",{attrs:{product:t.product,bundleOffers:t.bundleOffers},on:{"update:selectedBundleProducts":function(e){return t.$emit("update:selectedBundleProducts",e)}}}):t._e(),t._v(" "),r("buy-button",{attrs:{product:t.product,insured:t.insured,buttonSize:"large",width:"stretch",subscription:!1,selectedBundleProducts:t.selectedBundleProducts,showInsurancePopup:t.showInsurancePopup},on:{triggerInsurance:t.triggerInsurance,getOffers:t.getOffers}}),t._v(" "),t.showInsurancePopup?r("insurance-popup",{ref:"insurancePopup",attrs:{productCategories:t.product.categories,insurance:t.product.insurance,services:t.product.services,product:t.product,icon:t.insuranceIcon,showAccessoriesPopup:t.showAccessoriesPopup},on:{triggerAccessoriesPopup:t.triggerAccessoriesPopup}}):t._e(),t._v(" "),r("product-accessories-popup",{ref:"showAccessoriesPopup",attrs:{accessories:t.offers}}),t._v(" "),t.abTest.showDeliveryInfo>0&&t.product.isShippable?r("product-delivery",{attrs:{product:t.product,shippingPriceFrom:t.tp("SHIPPING_INFO",t.formatPrice(t.lowestMethodCost,t.product.price.currency))}}):r("div",{staticClass:"mt-4"},[t.showPrice?r("p",{staticStyle:{"line-height":"1em"}},[t.product.isShippable?r("modal",[r("b",{attrs:{slot:"label"},domProps:{innerHTML:t._s(t.tp("SHIPPING_INFO",t.formatPrice(t.lowestMethodCost,t.product.price.currency)))},slot:"label"}),t._v(" "),r("shipping-price-table",{attrs:{product:t.product,shippingClass:t.product.shippingClass,packageSizeId:t.product.packageSizeId,priceList:t.priceList}})],1):t._e()],1):t._e()])],1),t._v(" "),t.product.isShippable?t._e():r("store-pickup-only",{attrs:{text:t.tp("STORE_PICKUP_ONLY")}}),t._v(" "),t.product.isShippable&&!t.product.isCollectable?r("mail-order-only",{attrs:{text:t.tp("MAIL_ORDER_ONLY")}}):t._e(),t._v(" "),t.hasMaxPurchaseLimit?r("div",{staticClass:"max-purchase"},[t._v("\n\t\t\t\t\t\t"+t._s(t.tp("MAX_PURCHASE_LIMIT"))+"\n\t\t\t\t\t")]):t._e(),t._v(" "),t.hasLongDeliveryTime?r("div",{staticClass:"small long-delivery"},[r("delivery-notice",{attrs:{displayText:t.tp("LONG_DELIVERY_TIME"),infoText:t.product.longDeliveryNotice}})],1):t._e(),t._v(" "),t.requiresPrepayment?r("div",{staticClass:"text-center",staticStyle:{"font-size":"0.7em",color:"#444","font-weight":"300"}},[r("span",{staticClass:"glyphicon glyphicon-alert"}),t._v("\n\t\t\t\t\t\t"+t._s(t.tp("REQUIRES_PREPAYMENT"))+"\n\t\t\t\t\t")]):t._e(),t._v(" "),r("div",{staticClass:"panel panel-thick-gray"},[r("div",{staticClass:"panel-heading"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.t("STOCK.STATUS"))+"\n\t\t\t\t\t\t\t"),r("stock-legend")],1),t._v(" "),r("div",{key:t.storeKey+"A",staticClass:"stock panel-body"},[t.product.stock.download?r("stock-row",{attrs:{product:t.product,stock:t.product.stock,store:"download",noStar:""},on:{"update:stock":function(e){t.$set(t.product,"stock",e)}}}):r("stock-row",{staticClass:"web-stock",attrs:{product:t.product,name:t.t("STORE.WEB_STOCK"),stock:t.product.stock,release:t.product.release,store:"web",noStar:""},on:{"update:stock":function(e){t.$set(t.product,"stock",e)}}})],1),t._v(" "),t.prerender||t.product.stock.download?t._e():[r("div",{staticClass:"panel-heading my-store"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.t("STOCK.STORES"))+"\n\t\t\t\t\t\t\t")]),t._v(" "),r("div",{key:t.storeKey+"B",staticClass:"stock panel-body"},[t._l(t.storeSuggestions.favourites,(function(e){return r("stock-row",{key:"store"+e,attrs:{product:t.product,store:e,stock:t.product.stock,release:t.product.release},on:{"update:stock":function(e){t.$set(t.product,"stock",e)}}})})),t._v(" "),t.storeSuggestions.favourites.length&&t.storeSuggestions.suggestions.length?[t._m(0)]:t._e(),t._v(" "),t._l(t.storeSuggestions.suggestions,(function(e){return r("stock-row",{key:"store"+e,attrs:{product:t.product,store:e,stock:t.product.stock,release:t.product.release},on:{"update:stock":function(e){t.$set(t.product,"stock",e)}}})}))],2)],t._v(" "),t.product.stock.download?t._e():r("dropdown",[r("div",{staticClass:"btn btn-dropdown btn-product-page ptl-0 pb-0 stretch-x r-0",staticStyle:{"font-size":"12.6px"},attrs:{slot:"label"},slot:"label"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.t("STOCK.SHOW_ALL_STORES"))+"\n\t\t\t\t\t\t\t")]),t._v(" "),r("div",{staticClass:"panel panel-thick-gray ap-fill-x stock-dropdown"},[t._l(t.userSettings.storeGroupFormat,(function(e,n){return[r("div",{key:"stock-heading-"+n,staticClass:"panel-heading"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.t(e.name))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),r("div",{key:"stock-body-"+n,staticClass:"stock panel-body"},[t._l(e.stores,(function(e,n){return[isNaN(e)?r("tr",{key:"store-type-"+n},[r("td",{staticStyle:{"font-weight":"bold"},attrs:{colspan:"2"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(e)+"\n\t\t\t\t\t\t\t\t\t\t\t\t")])]):r("stock-row",{key:"store-id-"+e,attrs:{product:t.product,stock:t.product.stock,store:e,release:t.product.release},on:{"update:stock":function(e){t.$set(t.product,"stock",e)}}})]}))],2)]}))],2)])],2)],1)])]),t._v(" "),t.productCampaigns.length?r("div",{staticClass:"product-campaigns"},[r("hr"),t._v(" "),t._l(t.productCampaigns,(function(e){return r("div",{key:e.campaignId,class:["campaign-link-wrap",e.isDiscounted?"campaign":"list"]},[r("span",{staticClass:"icon-wrap"},[r("img",{staticClass:"price-icon",attrs:{src:t.priceIconCampaign,alt:"price-icon"}})]),t._v(" "),e.campaignLinkText?r("a",{staticClass:"custom-highlight-link",attrs:{href:"/se/campaign/"+e.campaignId,title:e.name}},[t._v("\n\t\t\t\t\t"+t._s(e.campaignLinkText)+"\n\t\t\t\t")]):r("span",{staticClass:"standard-higlight-link"},[r("span",{staticClass:"highlight-name"},[t._v(t._s(e.name))]),t._v(" "),r("a",{staticClass:"highlight-link",attrs:{href:"/se/campaign/"+e.campaignId,title:e.name}},[t._v("\n\t\t\t\t\t\t"+t._s(t.staticCampaignLinkText(e))+"\n\t\t\t\t\t")])])])})),t._v(" "),r("hr")],2):t._e(),t._v(" "),t.showDiscontinuedTips?r("div",{staticClass:"px-5 mt-5"},[t.hasDiscontinuedTips?r("div",[r("strong",[t._v("Produkter du kanske är intresserad av:")]),t._v(" "),r("product-tip-slider",{attrs:{products:t.lists[0].products,loop:!1,showProgressBar:!0,showProductBorder:!1,showStock:!1,parentElement:"product"}}),t._v(" "),t.categorySuggestions.length?r("div",{staticStyle:{margin:"20px 0 30px"}},[r("strong",[t._v("Kategorier du kanske är intresserad av:")]),t._v(" "),r("div",[t._l(t.categorySuggestions,(function(e){return r("div",{key:e.id,staticClass:"col-md-6 my-3"},[r("router-link",{staticClass:"info-link r-3",attrs:{to:e.router}},[r("div",{staticClass:"p-4 pull-left mr-5 stretch-y category-highlight-name"},[r("ximg",{attrs:{src:"/api/dynimg/category/"+e.icon+"/"+t.suggestionIconColor,ariaLabel:e.name+" ikon",role:"img"}})],1),t._v(" "),r("div",{staticClass:"category-highlight-description"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.name)+"\n\t\t\t\t\t\t\t\t")])])],1)})),t._v(" "),r("div",{staticClass:"clearfix"})],2)]):t._e()],1):t._e()]):t._e(),t._v(" "),r("div",{staticClass:"product-content"},[r("div",{staticClass:"product-description"},[t.product.reviewHighlight?r("top-review-large",{attrs:{heading:t.isReleased?"Framröstad topprecension":"Framröstad hype",dis
1playProductName:t.topReviewDisplayProductName,review:t.product.reviewHighlight,isHype:!t.isReleased}}):t._e(),t._v(" "),r("ul",{ref:"productNav",staticClass:"product-nav",style:t.cursorStyling},[r("li",[r("a",{attrs:{href:"#p-overview"},on:{click:function(e){e.preventDefault(),t.moveTo("#p-overview")}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.tp("OVERVIEW"))+"\n\t\t\t\t\t\t")])]),t._v(" "),r("li",[r("a",{attrs:{href:"#p-reviews"},on:{click:function(e){e.preventDefault(),t.moveTo("#p-reviews")}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.tp("REVIEWS"))+"\n\t\t\t\t\t\t")])]),t._v(" "),r("li",[r("a",{attrs:{href:"#p-questions"},on:{click:function(e){e.preventDefault(),t.moveTo("#p-questions")}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.tp("QUESTIONS"))+"\n\t\t\t\t\t\t")])]),t._v(" "),t.hasData?r("li",[r("a",{attrs:{href:"#p-specs"},on:{click:function(e){e.preventDefault(),t.moveTo("#p-specs")}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.tp("SPECIFICATIONS"))+"\n\t\t\t\t\t\t")])]):t._e(),t._v(" "),r("li",[r("a",{attrs:{href:"#p-info"},on:{click:function(e){e.preventDefault(),t.moveTo("#p-info")}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.tp("INFO"))+"\n\t\t\t\t\t\t")])])]),t._v(" "),r("section",{staticClass:"px-5 col-md-12 col-sm-12 col-xs-12 product-info"},[r("read-more",{attrs:{anchor:"p-overview"}},[r("h2",[t._v(t._s(t.tp("OVERVIEW")))]),t._v(" "),r("div",{staticClass:"info-collapse pt-5"},[t.product.isFyndware?[r("fyndware-info",{attrs:{product:t.product}}),t._v(" "),t.product.fyndwareOf?[t.$refs.originalDescription&&t.showOriginalDescriptionPanel?r("div",{staticClass:"panel panel-body",staticStyle:{padding:"8px 15px"}},[r("strong",[t._v("Originalbeskrivning")]),t._v(" "),r("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\tNedan följer originalproduktens specifikation. Observera\n\t\t\t\t\t\t\t\t\t\t\tatt kartong, tillbehör och garantitid kan skilja sig\n\t\t\t\t\t\t\t\t\t\t\tfrån denna originaltext.\n\t\t\t\t\t\t\t\t\t\t")])]):t._e(),t._v(" "),r("product-description",{ref:"originalDescription",staticClass:"original-description",attrs:{html:t.product.fyndwareOf.description,product:t.product}})]:t._e()]:[t.isReleased?t._e():r("div",{staticClass:"mb-4"},[r("strong",[t._v(t._s(t.tp("NOT_RELEASED_DISCLAIMER")))])]),t._v(" "),r("transition",{attrs:{name:"fade"}},[r("product-description",{attrs:{html:t.description,product:t.product}})],1)],t._v(" "),t.isHygieneArticle?[r("div",{staticClass:"panel hygiene-article"},[r("div",{staticClass:"hygiene-article-icon"},[r("ximg",{attrs:{src:"/api/dynimg/icon/hygienartikel/131313",ariaLabel:"hygienartikel ikon",role:"img"}})],1),t._v(" "),r("div",[r("div",[r("strong",[t._v(t._s(t.tp("HYGIENE_ARTICLE")))])]),t._v(" "),r("div",[r("span",{domProps:{innerHTML:t._s(t.tp("HYGIENE_ARTICLE.PURCHASE_TERMS"))}}),t._v(" "),r("router-link",{attrs:{to:{name:"info",params:{id:8,name:"Kopvillkor"}}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\tLäs mer")])],1)])])]:t._e()],2)]),t._v(" "),r("review-section",{attrs:{id:"p-reviews",heading:t.isReleased?t.tp("REVIEWS"):"Prerelease hype",nrReviews:t.nrReviews,product:t.product,upvotedReview:t.product.reviewHighlight},on:{loaded:t.onReviewsLoad,failed:t.onReviewsLoad}}),t._v(" "),r("question-answer-section",{attrs:{id:"p-questions",heading:t.tp("QUESTIONS_AND_ANSWERS"),nrQuestions:t.nrQuestions,product:t.product},on:{loaded:t.onQuestionsLoad,failed:t.onQuestionsLoad}}),t._v(" "),t.hasData?r("read-more",{attrs:{anchor:"p-specs",buttonTextMore:"Visa fler specifikationer",buttonTextLess:"Visa färre specifikationer"}},[r("h2",[t._v(t._s(t.tp("TECHNICAL_SPECIFICATIONS")))]),t._v(" "),r("table",{staticClass:"table table-condensed table-striped tech-specs-table",staticStyle:{"font-size":"12px"}},[r("tbody",[t._l(t.product.data,(function(e,n,s){return[r("th",{key:"techspec-"+s,staticClass:"pt-5",attrs:{colspan:"2"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(n)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),t._l(e,(function(e,n,i){return r("tr",{key:"group-"+s+"-data-"+i},[r("td",[t._v(t._s(e.name)+":")]),t._v(" "),r("td",[t._v(t._s(e.value))])])}))]}))],2)])]):t._e(),t._v(" "),r("read-more",{attrs:{anchor:"p-info",buttonTextMore:"Visa mer info",buttonTextLess:"Visa mindre info"}},[r("h2",[t._v(t._s(t.tp("INFO")))]),t._v(" "),r("div",{staticClass:"mt-5"},[r("b",[t._v(t._s(t.tp("PRODUCT_SPECIFICATIONS")))]),t._v(" "),r("table",{staticClass:"table table-condensed table-striped product-specs"},[r("tbody",[t.releaseDate?r("tr",[r("td",[t._v(t._s(t.tp("RELEASE_DATE")))]),t._v(" "),r("td",[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.releaseDate)+"\
1n\t\t\t\t\t\t\t\t\t\t\t"),t.showDaysUntilRelease?r("span",[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t("+t._s(t.formattedDaysUntilRelease)+")\n\t\t\t\t\t\t\t\t\t\t\t")]):t._e()])]):t._e(),t._v(" "),r("tr",[r("td",[t._v(t._s(t.tp("OUR_PRODUCT_ID")))]),t._v(" "),r("td",[t._v(t._s(t.product.id))])]),t._v(" "),t.product.partNumbers&&t.product.partNumbers.length?r("tr",[r("td",[t._v(t._s(t.tp("MANUFACTURER_PRODUCT_ID")))]),t._v(" "),r("td",[t._l(t.product.partNumbers,(function(e,n){return[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(e)+"\n\t\t\t\t\t\t\t\t\t\t\t\t"),r("br",{key:"part-number-divider-"+n})]}))],2)]):t._e(),t._v(" "),t.product.manufacturer?r("tr",[r("td",[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.tp("MANUFACTURER"))+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),r("td",[r("a-link",{attrs:{to:t.manufacturerRoute}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.product.manufacturer.name)+"\n\t\t\t\t\t\t\t\t\t\t\t")])],1)]):t._e(),t._v(" "),t._l(t.product.gsprInfo,(function(e,n){return r("tr",{key:"gspr-"+n},[r("td",[t._v(t._s(t.tg(n)))]),t._v(" "),r("td",[t._l(e.split("\n"),(function(e){return[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(e)+"\n\t\t\t\t\t\t\t\t\t\t\t\t"),r("br")]}))],2)])}))],2)])])]),t._v(" "),r("div",{staticClass:"clearfix"}),t._v(" "),t.renderTips?t._e():r("auto-scroller",{staticClass:"mb-4",attrs:{viewportMargin:800,trigger:t.setRenderTips,btnText:"Visa "+t.tp("ACCESSORIES").toLowerCase()}}),t._v(" "),r("div",{attrs:{id:"p-more"}}),t._v(" "),(!t.productLists||t.productLists.length)&&t.renderTips&&t.mq.current<t.mq.lg?r("div",{staticClass:"more-products"},[r("h2",[t._v("Fler produkter")]),t._v(" "),t._l(t.productLists,(function(e,n){return r("section",{key:"accessories-"+n,staticClass:"row"},[r("h3",{staticClass:"ml-5 mt-5 mb-2"},[t._v(t._s(e.title))]),t._v(" "),r("product-tip-slider",{attrs:{products:e.products,showBuyBtn:!1,loop:!1,showStock:!1,compact:t.mq.current<=t.mq.sm,parentElement:"product",showProgressBar:""}})],1)}))],2):t._e()],1)],1),t._v(" "),t.mq.current>=t.mq.lg?r("product-aside",{attrs:{productLists:t.productLists}}):t._e()],1),t._v(" "),r("div",{staticClass:"clearfix"})])],1)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("tr",[e("th",{attrs:{colspan:"3"}},[e("hr",{staticClass:"mt-1 mb-3"})])])}],!1,null,null,null).exports},13407:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>i});var n=r(17984);const s={data:function(){return n.Z},computed:{headerSrc:function(){return"/images/620745-info-lager-1024x200?raw"}}};const i=(0,r(51900).Z)(s,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("help",{staticClass:"ml-3",attrs:{"container-style":"max-width: 800px;"}},[r("div",{staticClass:"insurance-info"},[r("ximg",{attrs:{src:t.headerSrc,ariaLabel:"insurance info banner",role:"img"}}),t._v(" "),r("h1",{staticStyle:{margin:"0.5em 0"}},[t._v("Förhandsboka en produkt")]),t._v(" "),r("strong",[t._v("Jag har förhandsbokat ett spel som ännu inte släppts, när fÃ¥r jag det?")]),t._v(" "),r("p",[t._v("Spel fÃ¥r du i regel pÃ¥ lanseringsdagen. Vi arbetar med vÃ¥ra logistikpartners för att skicka varan i tid till ditt postnummeromrÃ¥de. Givetvis kan oförutsedda händelser ställa till det, t.ex att logistikpartner inte lyckas leverera i tid, leverantören inte skickar spelet i tillräckligt god tid till oss eller att leveransen frÃ¥n leverantören är mindre än utlovat. Detta tillhör dock undantagen. I den mÃ¥n det är möjligt kontaktar vi dig om vi har vetskap om att du inte kommer att fÃ¥ din vara i tid.")]),t._v(" "),r("strong",[t._v("Jag har förhandsbokat nÃ¥got som inte är ett spel, när fÃ¥r jag det?")]),t._v(" "),r("p",[t._v("HÃ¥rdvarutillverkare har sällan samma strikta policy kring lanseringsdatum, men det finns fall där datumet mÃ¥ste följas. Detta innebär att du kan fÃ¥ din produkt bÃ¥de före och efter det lanseringsdatum som stÃ¥r utskrivet pÃ¥ produktsidan. Givetvis strävar vi alltid efter att du ska ha produkten sÃ¥ tidigt som möjligt.")]),t._v(" "),r("p",[t._v("Vissa lanseringsdatum, t.ex. pÃ¥ mobiltelefoner och grafikkort, följs i regel lika slaviskt som de för spel. Andra produkter, t.ex. en ny hÃ¥rddiskmodell eller tillbehör i form av kablage, är mindre kÃ
1¤nsligt.")]),t._v(" "),r("strong",[t._v("Hur vet jag att ni är rättvisa och ger mig tillgÃ¥ng till produkten i den turordning som min order inkom till er?")]),t._v(" "),r("p",[t._v("Det korta och enkla svaret är att allt annat bara vore krÃ¥ngligt för oss att hantera och skulle ogillas av alla vÃ¥ra kunder, sÃ¥ vi har ingen anledning att göra annat än att följa köordningen. Varje butik och webblagret har sin egen interna köordning och sedan finns det en övergripande global köordning. Vi frÃ¥ngÃ¥r inte denna ordning för nÃ¥gons skull, oavsett om du är Webhallens VD eller vÃ¥r största kund.")]),t._v(" "),r("strong",[t._v("Jag förhandsbokade nÃ¥got men det har inte dykt upp pÃ¥ lanseringsdagen, vad gör jag?")]),t._v(" "),r("p",[t._v("Kontrollera din orderstatus pÃ¥ vÃ¥r hemsida. Har produkten skickats till dig finns ett kollinummer. Har produkten skeppats till en av vÃ¥ra butiker kan du ocksÃ¥ se detta pÃ¥ statusen.")]),t._v(" "),r("p",[t._v("Om produkten inte skeppas ännu och lanseringsdatumet passerat rekommenderar vi att du först kontrollerar produktsidan för eventuell ny leveransinformation. Finns det ingen sÃ¥dan kan du kontakta vÃ¥r kundtjänst.")]),t._v(" "),r("strong",[t._v("Jag förhandsbokade nÃ¥got där en digital kod skulle ingÃ¥, när fÃ¥r jag koden?")]),t._v(" "),r("p",[t._v("I regel fÃ¥r du din kod samma dag som produkten lanseras. Du kan du fÃ¥ produkten pÃ¥ morgonen med posten, medan koden levereras till din e-postadress under eftermiddagen eller kvällen samma dag. Har du fÃ¥tt produkten men koden inte kommit inom 24 timmar bör du kontakta vÃ¥r kundtjänst.")])],1)])}),[],!1,null,null,null).exports},22597:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>v});var n=r(20629),s=r(75047),i=r(70538),a=r(17499),o=r(82547),c=r(499);function u(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return l(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,s=function(){};return{s,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){o=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function d(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function p(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?d(Object(r),!0).forEach((function(e){h(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function h(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const f={mixins:[o.Z],store:s.Z,data:function(){return{TIP_MODE_GRID:1}},props:["productLists"],methods:{updateList:function(t){this.lists=t||[]}},computed:p(p({lists:function(){var t=[];if(this.showLists){var e,r=u(this.rightColLists);try{for(r.s();!(e=r.n()).done;){var n=e.value;n.products.length&&(t.push(n),(0,c.hX)(n.products,n.title,{rating:!0}))}}catch(t){r.e(t)}finally{r.f()}}return t}},(0,n.Se)({rightColLists:"productTips/rightColLists",showTopLists:"productTips/showTopLists",showLists:"productTips/showLists",isLoggedIn:"user/isLoggedIn"})),(0,n.rn)({productTipsEngine:function(t){return t.productTips.productTipsEngine}})),watch:{lists:function(t){i.default.nextTick((function(){a.Z.$emit("productTips:rendered")}))}}};const v=(0,r(51900).Z)(f,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("aside",{staticClass:"product-aside sticky-column"},t._l(t.productLists,(function(e,n){return r("section",{key:"accessories-"+n,staticClass:"section"},[r("h2",[t._v(t._s(e.title))]),t._v(" "),r("product-tip-slider",{attrs:{products:e.products,showBuyBtn:!1,loop:!1,showStock:!1,parentElement:"product",showProgressBar:"",compact:""}})],1)})))}),[],!1,null,null,null).exports},43963:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>l});var n=r(65831),s=r(91581);function i(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,s=function(){};return{s,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){c=!0,i=t},f:function(){try{o||null==r.return||r.return()}finally{if(c)throw i}}}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var o=!1,c=!1;const u={props:{html:{type:String,default:""},product:{type:Object,required:!0}},mounted:function(){var t=this;this.$nextTick((function(){n.prerender||t.loadDynamicContent(),(0,s.lk)(t.$el)}))},beforeDestroy:function(){this.destroyDynamicContent()},computed:{fixedHtml:function(){var t="http://www.webhallen.com/info/support_och_retur/fyndvaror";return this.html.replace(/\\"/g,'"').replace(/\\'/g,"'").replace(/<img src='bilder\/utrop.gif' height='10' width='10' border='0'>(\s+)<b>För mer info om produkten, gÃ¥ till tillverkarens hemsida. Länken hittar du nedanför denna text.<\/b>/g,"").replace(/\n/g,"<br />").replace("<a href='"+t+"'>"+t+" </a>",'<a href="/se/info/11-Fyndvaror">Fyndvaror</a>')}},methods:{loadDynamicContent:function(){var t=this.product;switch(t.descriptionProvider){case 1:this.fixFlix(t);break;case 2:this.fixWebcollage();break;case 3:this.fixCnet(t)}},destroyDynamicContent:function(){window.Webcollage&&Webcollage.terminatePowerPage&&Webcollage.terminatePowerPage()},fixFlix:function(t){var e=null,r=null,n=null;t.manufacturer&&t.manufacturer.name&&(e=t.manufacturer.name),t.partNumbers&&t.partNumbers.length&&(r=t.partNumbers[
10]),t.eans&&t.eans.length&&(n=t.eans[0]);var s=document.createElement("script");s.type="text/javascript",s.src="https://media.flixfacts.com/js/loader.js",s.setAttribute("data-flix-distributor","294"),s.setAttribute("data-flix-language","sv"),s.setAttribute("data-flix-brand",e),s.setAttribute("data-flix-mpn",r),s.setAttribute("data-flix-ean",n),s.setAttribute("data-flix-sku",t.id),s.setAttribute("data-flix-button","flix-minisite"),s.setAttribute("data-flix-inpage","wc-power-page"),s.onload=function(){s.parentNode.removeChild(s)},document.head.appendChild(s)},fixWebcollage:function(){var t=this,e=document.createElement("script");e.type="text/javascript",e.src="//scontent.webcollage.net/api/v2/product-content",o?this.$nextTick((function(){t.loadWebcollageContent()})):(e.onload=function(){o=!0,t.loadWebcollageContent(),e.parentNode.removeChild(e)},document.head.appendChild(e))},loadWebcollageContent:function(){this.destroyDynamicContent(),Webcollage.loadProductContent("webhallen-se",this.product.id+"",{"power-page":{autoPlayAndStop:!0,noPowerPageContentCallback:function(t){},reload:c}}),c=!0},fixCnet:function(t){var e=null,r=null;t.manufacturer&&t.manufacturer.name&&t.partNumbers&&t.partNumbers.length&&(e=t.manufacturer.name,r=t.partNumbers[0]);var n="https://ws.cs.1worldsync.com/9cccecca/script/d8dfd50bfd?lang=sv&market=se";n+=r?"&mf="+encodeURIComponent(e)+"&pn="+encodeURIComponent(r):"&cpn="+t.id;var s=document.createElement("script");s.type="text/javascript",s.onload=function(){this.parentNode.removeChild(this)},s.src=n;var i=document.getElementsByTagName("script")[0];i.parentNode.insertBefore(s,i)},fixRelativeLinks:function(){var t,e=this,r=window.location.protocol+"//"+window.location.hostname,n=r.length,s=i(this.$el.querySelectorAll("a"));try{var a=function(){var s=t.value;if(0===s.href.indexOf(r)){if(s.hash)return s.onclick=function(){return scrollTo(s.hash),!1},"continue";s.onclick=function(){return e.$router.push(s.href.slice(n)),!1}}};for(s.s();!(t=s.n()).done;)a()}catch(t){s.e(t)}finally{s.f()}}},watch:{html:function(){var t=this;this.$nextTick((function(){(0,s.lk)(t.$el),t.loadDynamicContent()}))}}};const l=(0,r(51900).Z)(u,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{attrs:{id:"wc-power-page"},domProps:{innerHTML:t._s(t.fixedHtml)}})}),[],!1,null,null,null).exports},4681:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>d});var n=r(91581),s=r(69032),i=r(75047),a=r(20629),o=r(16477);function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function u(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const l={store:i.Z,props:["product","selected"],data:function(){return{energyMarkingModal:!1}},methods:{t:o.t,tp:o.t.prefix("PRODUCT")},computed:function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach((function(e){u(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({productName:function(){return this.product.variantName?this.product.variantName:this.product.name},inStock:function(){return(0,n.mo)(this.product.stock)},stockClass:function(){return this.isReleased?this.inStock?"stock-icon-instock":"stock-icon-outofstock":"stock-icon-notreleased"},stockText:function(){return this.isReleased?this.inStock?"I lager":"Ej i lager":this.releaseDate},src:function(){return this.product.image+"&h=80"},daysUntilRelease:function(){var t=new Date;t.setTime(1e3*this.product.release.timestamp);var e=new Date;return(0,n.Sz)(t,e)},productPath:function(){var t=this.product.variantName?this.product.variantName:this.product.name;return s.Z.route({name:"product",params:{id:this.product.id,name:(0,n.BQ)(t)}})},isDiscount:function(){return this.product.regularPrice&&this.product.price.price<this.product.regularPrice.price},isReleased:function(){return!this.product.release||(0,n.Jl)(this.product.release)},releaseDate:function(){return this.product.release?(0,n.cH)(this.product.release):""},priceClasses:function(){return{_campaign:this.isDiscount,"price-value":!0}},href:function(){return s.Z.route({name:"product",params:{id:this.product.id,name:(0,n.BQ)(this.product.name)}})}},(0,a.rn)({user:function(t){return t.user},userSettings:function(t){return t.userSettings}}))};const d=(0,r(51900).Z)(l,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("router-link",{class:["product-list-variant-item dropdown-item",{selected:t.selected}],attrs:{tag:"li",to:t.productPath}},[r("div",{staticClass:"variant-product-wrap"},[r("ximg",{staticClass:"product-thumb",attrs:{src:t.src,ariaLabel:t.product.name,role:"img"}}),t._v(" "),r("span",{attrs:{clasS:"small"}},[t._v("\n\t\t\t"+t._s(t.productName)+"\n\t\t")]),t._v(" "),r("product-price",{staticClass:"variant-item-price",attrs:{product:t.product}}),t._v(" "),r("div",{class:["stock-icon",t.stockClass],attrs:{title:t.stockText}})],1),t._v(" "),r("hr",{staticClass:"_strong"})])}),[],!1,null,null,null).exports},5165:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>a});var n=r(69032),s=r(91581);const i={props:{product:{type:Object,required:!0},reviews:{type:Array,default:function(){return[]}},nrReviews:{type:Number,default:0}},computed:{shouldShow:function(){return this.rating||this.reviews.length||this.showPrice},organizationId:function(){return this.baseUrl+"/#organization"},inStock:function(){var t=this.product.stock;if(t)for(var e in t)if(!isNaN(e)&&t[e]>0)return!0;return!1},isReleased:function(){if(!this.product.release)return!0;var t=new Date;return t.setTime(1e3*this.product.release.timestamp),new Date>=t},itemAvailability:function(){return this.isReleased?this.inStock?"InStock":this.product.discontinued>0?"Discontinued":"OutOfStock":"PreOrder"},baseUrl:function(){return n.Z.getBaseUrl()},mpn:function(){return this.product.partNumbers.length?this.product.partNumbers[
10]:""},brand:function(){return this.product.manufacturer?this.product.manufacturer.name:""},rating:function(){if(this.product.averageRating){var t=this.product.averageRating;return t.rating?t.rating:t}return null},showPrice:function(){return this.product.price&&this.product.price.price!=this.product.regularPrice.price&&(!(this.product.discontinued>0)||this.product.discontinued>0&&(0,s.mo)(this.product.stock))},json:function(){var t={"@context":"http://schema.org/","@type":"Product",sku:this.product.id,name:this.product.name,image:this.product.images[0].large,description:(0,s.s9)(this.product.description),mpn:this.mpn,brand:{"@type":"Thing",name:this.brand}};if(t.offers={"@type":"Offer",priceCurrency:this.product.price?this.product.price.currency:null,price:this.product.price?this.product.price.price:null,availability:"http://schema.org/"+this.itemAvailability,seller:{"@type":"Organization",id:this.organizationId,name:"Webhallen"},url:this.baseUrl+this.$route.path},this.product.price&&this.product.price.endAt&&(t.offers.priceValidUntil=this.product.price.endAt),this.rating&&(t.aggregateRating={"@type":"AggregateRating",ratingValue:this.rating,reviewCount:this.nrReviews||""}),this.reviews.length){var e=this.reviews[0];t.review={"@type":"Review",author:e.isAnonymous?"No-Face":e.user.username,reviewBody:e.text,reviewRating:{"@type":"Rating",bestRating:5,ratingV
1alue:e.rating,worstRating:1}}}return JSON.stringify(t)}}};const a=(0,r(51900).Z)(i,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.shouldShow?r("script",{attrs:{type:"application/ld+json"}},[t._v("\n\t"+t._s(t.json)+"\n")]):t._e()}),[],!1,null,null,null).exports},66049:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>c});var n=r(75047),s=r(499);function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,s,i=[],a=!0,o=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(t){o=!0,s=t}finally{try{a||null==r.return||r.return()}finally{if(o)throw s}}return i}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}const o={store:n.Z,props:{product:{type:Object,required:!0},bundleOffers:{type:Object,required:!0}},data:function(){return{products:[],isBundle:!1,checkboxSelectedProducts:{},selectedBundleProducts:[],showAll:!1}},mounted:function(){this.updateProducts()},methods:{updateProducts:function(){var t=this;this.products=[],this.bundleOffers.products&&(this.products=this.bundleOffers.products.filter((function(e,r,n){return r===n.findIndex((function(r){var n;if(r.id===e.id)return null!==(n=t.checkboxSelectedProducts)&&void 0!==n&&n[e.id]||(t.checkboxSelectedProducts[e.id]=!1),!0}))})),this.isBundle=this.bundleOffers.isBundle)},toggleSelectedProducts:function(t,e){var r,n,s;this.checkboxSelectedProducts=Object.assign({},this.checkboxSelectedProducts,(s=t,(n=e)in(r={})?Object.defineProperty(r,n,{value:s,enumerable:!0,configurable:!0,writable:!0}):r[n]=s,r))},handleLinkClick:function(t,e){(0,s.hX)([t],"Product page bundle",{rating:!0,stock:!0,event:"select_item",position:e})}},watch:{bundleOffers:function(){this.updateProducts()},checkboxSelectedProducts:function(t){for(var e=this,r=[],n=function(){var t=i(a[s],2),n=t[0];if(t[1]){var o=e.products.find((function(t){return t.id==n}));o&&r.push(o)}},s=0,a=Object.entries(t);s<a.length;s++)n();this.selectedBundleProducts=r},selectedBundleProducts:function(t){this.$emit("update:selectedBundleProducts",t)}}};const c=(0,r(51900).Z)(o,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.products.length?r("transition",{attrs:{name:"fade",mode:"out-in"}},[r("div",{staticClass:"product-tip-display"},[r("h2",[t._v("Har du allt du behöver?")]),t._v(" "),r("div",{staticClass:"checkbox-group"},t._l(t.showAll?Number(t.products.length):Math.min(2,t.products.length),(function(e){return r("checkbox",{key:e+"-product-offers-"+t.products[e-1].id,attrs:{labelSlot:"",small:""},on:{input:function(r){return t.toggleSelectedProducts(r,t.products[e-1].id)}},model:{value:t.checkboxSelectedProducts[t.products[e-1].id],callback:function(r){t.$set(t.checkboxSelectedProducts,t.products[e-1].id,r)},expression:"checkboxSelectedProducts[products[n - 1].id]"}},[r("ximg",{attrs:{src:t.products[e-1].image,role:"img",ariaLabel:t.products[e-1].name}}),t._v(" "),r("span",{staticClass:"product-title-wrap"},[r("fixed-lines",{staticClass:"product-list-item-title",attrs:{useEllipsis:!1,lines:1,lineHeight:"1.2em"}},[r("product-link",{staticClass:"grid-link",attrs:{product:t.products[e-1]},nativeOn:{click:function(r){t.handleLinkClick(t.products[e-1],e-1)}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.products[e-1].mainTitle)+"\n\t\t\t\t\t\t")])],1),t._v(" "),t.products[e-1].subTitle?r("fixed-lines",{staticClass:"sub-title",attrs:{useEllipsis:!1,lines:1,lineHeight:"1.2em"}},[t._v("\n\t\t\t\t\t\t"+t._s(t.products[e-1].subTitle)+"\n\t\t\t\t\t")]):t._e()],1),t._v(" "),r("product-price",{attrs:{right:"",product:t.products[e-1]}})],1)}))),t._v(" "),t.products.length>2?r("text-button",{attrs:{text:t.showAll?"Visa färre":"Visa fler",linkStyle:"fake-link"},on:{click:function(e){t.showAll=!t.showAll}}}):t._e()],1)]):t._e()}),[],!1,null,null,null).exports},37226:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>s});const n={name:"product-tip-product",props:{product:{type:Object,required:!0},disabled:{type:Boolean,default:!1},isBundle:{type:Boolean,default:null}},data:function(){return{selected:!0}},computed:{src:function(){return this.product.image+"&h=80"},path:function(){return this.$router.route({name:"product",params:{id:this.product.id,name:this.product.name}})}},watch:{selected:function(t){this.selected=t,this.$emit("update-checkbox",{product:this.product,checked:t})}}};const s=(0,r(51900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("transition",{attrs:{name:"fade",mode:"out-in"}},[r("div",{staticClass:"d-flex flex-row my-5"}
1,[r("checkbox",{attrs:{color:t.disabled,labelSlot:"",disabled:t.disabled},model:{value:t.selected,callback:function(e){t.selected=e},expression:"selected"}},[r("div",{staticClass:"flex-grow-1 p-2"},[r("fixed-lines",{staticClass:"flex-grow-1 d-flex align-items-center",attrs:{useHeight:!1,lines:2}},[r("product-link",{staticClass:"info-txt pr-3 product-tip-ellipsis secondary-link",attrs:{product:t.product}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.product.name)+"\n\t\t\t\t\t\t")])],1),t._v(" "),r("product-price",{attrs:{row:!0,product:t.product,priceOverride:t.isBundle?null:t.product.regularPrice.price}})],1)])],1)])}),[],!1,null,null,null).exports},67816:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>u});var n=r(91581),s=r(499);function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function a(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach((function(e){o(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function o(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const c={props:{variantGroups:{type:Array,default:function(){return[]},required:!0},variantData:{type:Array,default:function(){return[]},required:!0},currentProductId:{type:Number,default:0,required:!0},currentProductPrice:{type:Object,default:function(){},required:!0},currentProduct:{type:Object,default:function(){},required:!0}},data:function(){return{radioPick:{},hoverColorName:"",formattedProducts:null,clickedIndex:0}},computed:{currentProductData:function(){var t=this,e=this.variantData.find((function(e){if(e.id===t.currentProductId)return e}));return null==e?void 0:e.variantProperties}},mounted:function(){this.formatProducts()},methods:{formatProducts:function(){var t=this,e=[];this.variantGroups.forEach((function(r,s){e[s]={name:r.name,type:r.type,products:[],radioValues:[],radioPrices:[]},e[s].products=r.values.reduce((function(i,c){var u=!0,l=t.variantData.find((function(e){return e.variantProperties&&JSON.stringify(e.variantProperties).toLowerCase().replaceAll(/\s/g,"")===JSON.stringify(a(a({},t.currentProductData),{},o({},r.name,c))).toLowerCase().replaceAll(/\s/g,"")}));if(l||(l=t.variantData.find((function(t){return t.variantProperties&&t.variantProperties[r.name].toLowerCase().replaceAll(/\s/g,"")===c.toLowerCase().replaceAll(/\s/g,"")})),u=!1),l&&(l.isFyndware||l.discontinued>0&&!(0,n.mo)(l.stock))){if(!t.variantData.find((function(t){return t.variantProperties&&t.variantProperties[r.name].toLowerCase().replaceAll(/\s/g,"")===c.toLowerCase().replaceAll(/\s/g,"")&&t.id!==l.id&&!t.isFyndware&&(!t.discontinued||t.discontinued>0&&(0,n.mo)(t.stock))})))return i;u=!1}if("text"===r.type){var d={label:l.variantProperties[r.name],rightText:"",disabled:!u};if(u){var p=parseFloat(l.price.price)-parseFloat(t.currentProductPrice.price),h=p>0?"+":"";d.rightText=p?h+(0,n.T4)(p,t.currentProductPrice.currency):""}else d.rightText="Kombinationen finns inte";e[s].radioValues.push(d)}return l&&i.push({id:l.id,price:u?l.price.price:"",route:u?(0,n.rA)(l):{},imgSrc:l.image+"&h=50",value:l.variantProperties[r.name],match:u}),i}),[])})),e.forEach((function(t){var e=t.products.sort((function(t,e){return t.price-e.price})).map((function(t){return t.value}));t.radioValues.sort((function(t,r){return e.indexOf(t.label)-e.indexOf(r.label)}))})),this.formattedProducts=e,this.preSelectCurrentSpecs(e)},preSelectCurrentSpecs:function(t){var e=this;t.forEach((function(t){if("color"===t.type)e.hoverColorName=e.currentProductData["Färg"];else for(var r=0;r<t.radioValues.length;r++)if(e.currentProductData[t.name].toLowerCase().replaceAll(/\s/g,"")===t.radioValues[r].label.toLowerCase().replaceAll(/\s/g,""))return void(e.radioPick[t.name]=r)}))},radioRoute:function(t,e){this.clickedIndex=t,this.currentProductId!==this.formattedProducts[e].products[t].id&&this.$router.replace({params:a({},this.formattedProducts[e].products[t].route.params)})},track:function(t,e){(0,s.hX)([t],"Item Variant",{rating:!0,stock:!0,event:"select_item",position:e})}},watch:{currentProductId:function(){this.formatProducts(),this.track(this.currentProduct,this.clickedIndex)}}};const u=(0,r(51900).Z)(c,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"variant-picker"},[t._l(t.formattedProducts,(function(e,n){return[r("h2",[t._v("\n\t\t\t"+t._s(e.name)+"\n\t\t\t"),t.hoverColorName.length&&"color"===e.type?[t._v("\n\t\t\t\t- "+t._s(t.hoverColorName)+"\n\t\t\t")]:t._e()],2),t._v(" "),"text"===e.type?r("radio-picker",{key:"variant-radio-picker-"+n,attrs:{options:e.radioValues},on:{input:function(e){return t.radioRoute(e,n)}},model:{value:t.radioPick[e.name],callback:function(r){t.$set(t.radioPick,e.name,r)},expression:"radioPick[group.name]"}}):r("div",{staticClass:"image-picker"},t._l(e.products,(function(n,s){return r("router-link",{key:"variant-picker-image-"+s,class:{current:n.value===t.currentProductData[e.name],disabled:!n.match},attrs:{to:n.route},nativeOn:{click:function(e){t.clickedIndex=s},mouseover:function(e){t.hoverColorName=n.value},mouseleave:function(r){t.hoverColorName=t.currentProductData[e.name]}}},[r("ximg",{attrs:{src:n.imgSrc,ariaLabel:n.value,role:"img"}})],1)})))]}))],2)}),[],!1,null,null,null).exports},15251:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>a});var n=r(16477),s=r(91581);const i={props:{product:{type:Object,required:!0}},data:function(){return{open:!1,selectedTabIndex:0,energyMarkingModal:!1}},methods:{tp:n.t.prefix("PRODUCT"),shouldShowTab:function(t){return t.length>1||t[0]&&t[0].id!==this.product.id},formatPrice:s.T4},computed:{variants:function(){return this.product.variants?this.product.variants.list.filter((function(t){return!t.isFyndware&&(!t.discontinued||t.discontinued&&(0,s.mo)(t.stock))})):[]},fyndwares:function(){var t=this;return this.product.variants?this.product.variants.list.filter((function(e){return e.isFyndware&&(e.id===t.product.id||(0,s.mo)(e.stock))})):[]},variantTabs:function(){var t=[];
1return this.shouldShowTab(this.variants)&&t.push({name:this.tp("VARIANTS"),list:this.variants}),this.shouldShowTab(this.fyndwares)&&t.push({name:this.tp("FYNDWARES"),list:this.fyndwares}),t},selectedTab:function(){return this.variantTabs[this.selectedTabIndex]},dynamicLabel:function(){return 1===this.variantTabs.length?this.selectedTab.name:this.variantTabs.map((function(t){return t.name})).join(" / ")},lowestPrice:function(){var t=parseInt(this.product.price.price);return this.fyndwares&&!this.product.isFyndware&&this.fyndwares.forEach((function(e){var r=parseInt(e.price.price);t>r&&(t=r)})),t===parseInt(this.product.price.price)?0:t},currency:function(){return this.product.price.currency}}};const a=(0,r(51900).Z)(i,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.selectedTab?r("dropdown-select",{staticClass:"variant-selector",attrs:{items:t.selectedTab.list,fullWidth:"",slotLabel:""},scopedSlots:t._u([{key:"default",fn:function(e){return[r("product-list-variant-item",{attrs:{product:e.item,selected:t.product.id===e.item.id}})]}}]),model:{value:t.open,callback:function(e){t.open=e},expression:"open"}},[r("span",{attrs:{slot:"label"},slot:"label"},[t._v("\n\t\t"+t._s(t.dynamicLabel)+"\n\t\t"),t.lowestPrice?[t._v("\n\t\t\tfrån\n\t\t\t"),r("span",{staticClass:"lowest-price"},[t._v(" "+t._s(t.formatPrice(t.lowestPrice,t.currency)))])]:t._e()],2),t._v(" "),t.variantTabs.length>1?r("div",{staticClass:"variant-tab-wrap",attrs:{slot:"tabs"},slot:"tabs"},[t._l(t.variantTabs,(function(e,n){return r("button",{key:n,class:["variant-tab toggle-btn",{"selected-tab":t.selectedTabIndex===n}],on:{click:function(e){e.stopPropagation(),t.selectedTabIndex=n}}},[t._v("\n\t\t\t"+t._s(e.name)+"\n\t\t")])})),t._v(" "),t.product.energyMarking?r("modal",{attrs:{"label-style":"pointer-events: auto;","root-style":"pointer-events: auto;"},model:{value:t.energyMarkingModal,callback:function(e){t.energyMarkingModal=e},expression:"energyMarkingModal"}},[r("energy-rating",{staticClass:"ap-tl mt-3",staticStyle:{"margin-left":"-3px","pointer-events":"all"},attrs:{slot:"label",height:1.2,rating:t.product.energyMarking.rating,scale:t.product.energyMarking.scale},on:{click:function(e){t.energyMarkingModal=!0}},slot:"label"}),t._v(" "),r("energy-datasheet",{attrs:{marking:t.product.energyMarking}})],1):t._e()],2):t._e()]):t._e()}),[],!1,null,null,null).exports},24059:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>f});var n=r(20629),s=r(71614),i=r(16332),a=r(66272),o=r.n(a),c=r(29779),u=r.n(c),l=r(91581);function d(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function p(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const h={props:{answer:{type:Object,required:!0},userVotes:{type:Object,default:function(){return{}}}},computed:function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?d(Object(r),!0).forEach((function(e){p(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({userPath:function(){return this.$router.route((0,l.Xf)(this.answer.user,"member.achievements"))},postedString:function(){return o()(1e3*this.answer.createdAt,{locale:u(),addSuffix:!0,onlyNumeric:!0})},avatarStyle:function(){return i.Z.avatarStyle(this.answer)},avatarUrl:function(){return i.Z.avatarUrl(this.answer)},usersVote:{get:function(){return this.userVotes[this.answer.id]||0},set:function(t){Vue.set(this.userVotes,this.answer.id,t)}}},(0,n.Se)({isLoggedIn:"user/isLoggedIn"})),methods:{vote:function(t){this.isLoggedIn?(1===this.usersVote?this.answer.upvotes--:-1===this.usersVote&&this.answer.downvotes--,this.usersVote===t&&(t=0),this.usersVote=t,1===t?this.answer.upvotes++:-1===t&&this.answer.downvotes++,waja.put("comment/"+this.answer.id+"/vote").data({vote:t}).on("success",(function(t){(0,s.Z)("Tack för din röst!")})).go()):(0,s.Z)("Endast medlemmar kan rösta!")}}};const f=(0,r(51900).Z)(h,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"answer"},[r("div",{staticClass:"feedback-header"},[r("ximg",{staticClass:"avatar-small pixelated",style:t.avatarStyle,attrs:{src:t.avatarUrl,eager:"",ariaLabel:"user avatar",role:"img"}}),t._v(" "),r("div",{staticClass:"username-and-knighthood"},[t.answer.user&&t.answer.user.isPublicProfile&&!t.answer.isAnonymous?r("router-link",{staticClass:"username",attrs:{to:t.userPath}},[t._v("\n\t\t\t\t"+t._s(t.answer.user.username)+"\n\t\t\t\t"),t.answer.isOfficial?r("span",{staticClass:"wh-logo",attrs:{title:t.answer.isOfficial?"Svar från Webhallen":null}}):t._e()]):r("span",{staticClass:"username"},[t._v("\n\t\t\t\t"+t._s(t.answer.user&&!t.answer.isAnonymous?t.answer.user.username:"No-Face")+"\n\t\t\t\t"),t.answer.isOfficial?r("span",{staticClass:"wh-logo",attrs:{title:t.answer.isOfficial?"Svar från Webhallen":null}}):t._e()]),t._v(" "),t.answer.user&&t.answer.user.knighthood>0?r("knighthood-icon"):t._e()],1),t._v(" "),t.answer.user?r("span",{staticClass:"level sub-title"},[t._v("\n\t\t\tLvl "+t._s(t.answer.user.rankLevel)+" "+t._s(t.answer.user.avatar.class.title)+"\n\t\t")]):t._e(),t._v(" "),r("span",{staticClass:"posted sub-title"},[t._v(t._s(t.postedString))]),t._v(" "),r("div",{staticClass:"votes"},[r("span",{class:["vote vote-up",{active:t.usersVote>0}],on:{click:function(e){t.vote(1)}}},[t._v(t._s(t.answer.upvotes))]),t._v(" "),r("span",{class:["vote vote-down",{active:t.usersVote<0}],on:{click:function(e){t.vote(-1)}}}
1,[t._v(t._s(t.answer.downvotes))])])],1),t._v(" "),r("p",{staticClass:"text"},[r("span",{staticClass:"semibold"},[t._v("Svar: ")]),t._v("\n\t\t"+t._s(t.answer.text)+"\n\t")])])}),[],!1,null,null,null).exports},87349:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>h});var n=r(37346),s=r(75047),i=r(20629),a=r(71614),o=r(91581),c=r(22267);function u(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function l(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?u(Object(r),!0).forEach((function(e){d(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function d(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const p={store:s.Z,props:{heading:{type:String,default:""},product:{type:Object},nrQuestions:{type:Number,default:0}},data:function(){return{writingQuestion:!1,questions:[],totalQuestionCount:0,loadedPages:{},userVotes:{},page:1,fixElementToBottomOfPage:o._u,getAllVariantIds:o.p1,abTest:c.Z}},methods:{writeQuestion:function(){this.isLoggedIn?this.writingQuestion=!0:(0,a.Z)("Du måste vara inloggad för att kunna ställa frågor!")},hasPostedQuestion:function(t,e,r){return e&&e.find((function(e){return!!e.user&&(r.variants?e.user.id===t.id&&e.entityId===r.id:e.user.id===t.id)}))||!1},getQuestions:function(){var t=this,e={commentType:"QUESTION",entityIds:this.productIds,page:this.page};n.Z.get("comment").data(e).on("success",(function(e){t.questions=t.questions.concat(e.data.comments),t.totalQuestionCount=e.data.totalCommentCount,t.$emit("loaded",{nrQuestions:e.data.totalCommentCount,status:e.status}),t.loadedPages[t.page]=!0,t.isLoggedIn&&t.questions.length&&(n.Z.get("question/votes").data({productIds:t.productIds}).on("success",(function(e){t.userVotes=Object.assign({},t.userVotes,e.data.userQuestionVotes)})).go(),t.orderQuestionsByVotes())})).on("error",(function(e){t.$emit("faIled",{nrQuestions:0,status:e.status})})).go()},orderQuestionsByVotes:function(){this.questions=this.questions.sort((function(t,e){var r=t.upvotes-t.downvotes,n=e.upvotes-e.downvotes;return t.replies.map((function(t){r+=t.upvotes-t.downvotes})),e.replies.map((function(t){n+=t.upvotes-t.downvotes})),r<n?1:-1}))},scrollPage:function(){var t=this;Vue.nextTick((function(){t.totalQuestionCount>t.questionsPerPage&&(0,o._u)(t.$refs.moreLessButtons)}))}},computed:l(l({questionsPerPage:function(){return this.abTest.shorterReviews>0?2:5},userHasPostedQuestion:function(){return!!this.isLoggedIn&&this.hasPostedQuestion(this.user,this.questions,this.product)},computedQuestions:function(){return this.questions.slice(0,this.questionsPerPage*this.page)},hasMorePages:function(){return this.computedQuestions.length<this.totalQuestionCount},productIds:function(){return(0,o.p1)(this.product,!1)}},(0,i.Se)({canWriteComment:"comments/canWriteComment",isLoggedIn:"user/isLoggedIn"})),(0,i.rn)({user:function(t){return t.user}})),mounted:function(){this.getQuestions()},watch:{page:function(t,e){t>e&&!this.loadedPages[t]&&this.getQuestions(),1===t&&this.scrollPage()},product:function(){this.questions=[],this.getQuestions()}}};const h=(0,r(51900).Z)(p,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"question-answer-section"},[r("div",{staticClass:"feedback-section-header"},[r("h2",[t._v("\n\t\t\t"+t._s(t.heading)+"\n\t\t\t"),r("span",{staticClass:"badge"},[t._v("("+t._s(t.nrQuestions)+")")])]),t._v(" "),t.writingQuestion?r("question-answer-form",{attrs:{product:t.product},on:{cancel:function(e){t.writingQuestion=!1}}}):t.canWriteComment?r("text-button",{attrs:{text:"Ställ en fråga"},on:{click:t.writeQuestion}}):t._e()],1),t._v(" "),t.questions.length?r("div",[t._l(t.computedQuestions,(function(e){return r("question",{key:"question-"+e.id,attrs:{userVotes:t.userVotes,product:t.product,question:e}})}
1)),t._v(" "),t.totalQuestionCount>t.questionsPerPage?r("div",{ref:"moreLessButtons",staticClass:"show-more"},[1===t.page?r("a",{on:{click:function(e){t.page++}}},[t._v("\n\t\t\t\tVisa fler frågor\n\t\t\t")]):t.hasMorePages?t.page>1?[t._v("\n\t\t\t\tVisa\n\t\t\t\t"),r("a",{on:{click:function(e){t.page++}}},[t._v("fler")]),t._v(" /\n\t\t\t\t"),r("a",{on:{click:function(e){t.page=1}}},[t._v("färre")]),t._v("\n\t\t\t\tfrågor\n\t\t\t")]:t._e():r("a",{on:{click:function(e){t.page=1}}},[t._v("\n\t\t\t\tVisa färre frågor\n\t\t\t")])],2):t._e()],2):[r("hr"),t._v(" "),r("p",{staticClass:"no-feedback"},[t._v("Inga frågor har ännu ställts på denna produkt")])]],2)}),[],!1,null,null,null).exports},95933:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>g});var n=r(66272),s=r.n(n),i=r(29779),a=r.n(i),o=r(71614),c=r(75047),u=r(16332),l=r(20629),d=r(91581);function p(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function h(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?p(Object(r),!0).forEach((function(e){f(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function f(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const v={props:{question:{type:Object,default:null},product:{type:Object,default:null},userVotes:{type:Object,default:function(){return{}}},compact:{type:Boolean,default:!1}},data:function(){return{store:c.Z,showAllReplies:!1,isWritingAnswer:!1}},computed:h(h(h({hasMoreReplies:function(){return this.computedAnswers.length<this.question.totalReplyCount},userPath:function(){return this.question.user?this.$router.route((0,d.Xf)(this.question.user,"member.achievements")):null}},(0,l.rn)({user:function(t){return t.user}})),(0,l.Se)({isLoggedIn:"user/isLoggedIn",languageCode:"i18n/languageCode",isDark:"user/isDark"})),{},{computedAnswers:function(){var t=[];return this.question.replies&&this.question.replies.length&&(this.showAllReplies?(this.question.replies.sort((function(t,e){return t.createdAt>e.createdAt?1:-1})),t=this.question.replies):(this.question.replies.sort((function(t,e){return t.upvotes-t.downvotes<e.upvotes-e.downvotes?1:-1})),t.push(this.question.replies[0]))),t},postedString:function(){return s()(1e3*this.question.createdAt,{locale:a(),addSuffix:!0,onlyNumeric:!0})},avatarStyle:function(){return u.Z.avatarStyle(this.question)},avatarUrl:function(){return u.Z.avatarUrl(this.question)},usersVote:{get:function(){return this.userVotes[this.question.id]||0},set:function(t){Vue.set(this.userVotes,this.question.id,t)}},canWriteComment:function(){return c.Z.getters["comments/canWriteComment"]},isLoggedIn:function(){return c.Z.getters["user/isLoggedIn"]}}),methods:{writeAnswer:function(){this.isLoggedIn?this.isWritingAnswer=!0:(0,o.Z)("Du måste vara inloggad för att kunna svara på frågor!")},vote:function(t){this.isLoggedIn?(1===this.usersVote?this.question.upvotes--:-1===this.usersVote&&this.question.downvotes--,this.usersVote===t&&(t=0),this.usersVote=t,1===t?this.question.upvotes++:-1===t&&this.question.downvotes++,waja.put("comment/"+this.question.id+"/vote").data({vote:t}).on("success",(function(t){(0,o.Z)("Tack för din röst!")})).go()):(0,o.Z)("Endast medlemmar kan rösta!")}}};const g=(0,r(51900).Z)(v,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{class:["question-answer-wrap",{compact:t.compact}]},[r("div",{staticClass:"question"},[r("div",{staticClass:"feedback-header"},[r("ximg",{staticClass:"avatar-small pixelated",style:t.avatarStyle,attrs:{src:t.avatarUrl,eager:"",ariaLabel:"user avatar",role:"img"}}),t._v(" "),r("div",{staticClass:"username-and-knighthood"},[t.question.user&&t.question.user.isPublicProfile&&!t.question.isAnonymous?r("router-link",{staticClass:"username",attrs:{to:t.userPath}},[t._v("\n\t\t\t\t\t"+t._s(t.question.user.username)+"\n\t\t\t\t")]):r("span",{staticClass:"username"},[t._v("\n\t\t\t\t\t"+t._s(t.question.user&&!t.question.isAnonymous?t.question.user.username:"No-Face")+"\n\t\t\t\t")]),t._v(" "),t.question.user&&t.question.user.knighthood>0?r("knighthood-icon"):t._e()],1),t._v(" "),t.question.user?r("span",{staticClass:"level sub-title"},[t._v("\n\t\t\t\t\tLvl "+t._s(t.question.user.rankLevel)+" "+t._s(t.question.user.avatar.class.title)+"\n\t\t\t\t")]):t._e(),t._v(" "),r("span",{staticClass:"posted sub-title"},[t._v(t._s(t.postedString))]),t._v(" "),t.compact?t._e():r("div",{staticClass:"votes"},[r("span",{staticClass:"vote vote-up",class:{active:t.usersVote>0},on:{click:function(e){t.vote(1)}}},[t._v(t._s(t.question.upvotes))]),t._v(" "),r("span",{staticClass:"vote vote-down",class:{active:t.usersVote<0},on:{click:function(e){t.vote(-1)}}}
1,[t._v(t._s(t.question.downvotes))])])],1),t._v(" "),r("p",{class:["text",{"compact-feedback":t.compact}]},[t.compact?t._e():[t._v("Fråga: ")],t._v(t._s(this.question.text)+"\n\t\t")],2),t._v(" "),t.canWriteComment&&!t.compact?r("a",{staticClass:"fake-link reply",on:{click:t.writeAnswer}},[t._v("\n\t\t\tSvara "+t._s(t.question.user&&!t.question.isAnonymous?t.question.user.username:"No-Face")+"\n\t\t")]):t._e()]),t._v(" "),r("div",{staticClass:"answers"},[t.isWritingAnswer?r("hr"):t._e(),t._v(" "),t.isWritingAnswer?r("question-answer-form",{attrs:{isReply:"",product:t.product,question:t.question},on:{cancel:function(e){t.isWritingAnswer=!1}}}):t._e(),t._v(" "),t._l(t.computedAnswers,(function(e){return r("answer",{key:e.id,attrs:{answer:e,userVotes:t.userVotes}})})),t._v(" "),t.question.replies&&t.question.replies.length&&t.question.replies.length>1?r("div",{staticClass:"show-more"},[t.showAllReplies?r("a",{on:{click:function(e){t.showAllReplies=!1}}},[t._v("\n\t\t\t\tVisa färre svar\n\t\t\t")]):r("a",{on:{click:function(e){t.showAllReplies=!0}}},[t._v("\n\t\t\t\tVisa fler svar\n\t\t\t")])]):t._e()],2),t._v(" "),r("hr")])}),[],!1,null,null,null).exports},40034:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>s});const n={data:function(){return{isOpen:!1,guideLinesLink:{name:"info",params:{id:41,name:"Recensioner-hos-Webhallen"}}}}};const s=(0,r(51900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("modal",{attrs:{containerClass:"review-section-info"},model:{value:t.isOpen,callback:function(e){t.isOpen=e},expression:"isOpen"}},[r("span",{staticClass:"glyphicon glyphicon-info-sign help",attrs:{slot:"label",title:"Info om recensioner"},on:{click:function(e){e.preventDefault(),e.stopPropagation(),t.isOpen=!0}},slot:"label"}),t._v(" "),r("div",[r("h2",[t._v("Recensioner på Webhallen")]),t._v(" "),r("p",[t._v("\n\t\t\tAlla betyg, recensioner och hypes på Webhallen kommer från registrerade Webhallen-medlemmar.\n\t\t\tSnittbetyget vi visar (1-5) är ett rakt genomsnitt av alla betyg.\n\t\t")]),t._v(" "),r("p",[t._v("\n\t\t\tAlla inkomna recensioner publiceras på siten så länge de uppfyller våra\n\t\t\t"),r("a-link",{attrs:{to:t.guideLinesLink,target:"_blank"}},[t._v("riktlinjer")]),t._v(".\n\t\t\tVi redigerar eller korrekturläser inga recensioner innan de publiceras.\n\t\t")],1),t._v(" "),r("h3",[t._v("Upvotes")]),t._v(" "),r("p",[t._v("\n\t\t\tMedlemmar kan tumma upp eller ner din recension beroende på vad de tyckte om den.\n\t\t\tVarje upvote på din recension ger 50 XP på ditt konto.\n\t\t\tRecensionen med flest upvotes visas också som topprecension högt upp på produktsidan.\n\t\t")]),t._v(" "),r("hr"),t._v(" "),r("h3",[t._v("Olika ikoner")]),t._v(" "),r("p",{staticClass:"icon-description"},[r("span",{staticClass:"review-verified purchase",attrs:{title:"Verifierad köpare"}}),t._v("\n\t\t\tVerifierad köpare\n\t\t")]),t._v(" "),r("p",{staticClass:"icon-description"},[r("span",{staticClass:"review-verified hype",attrs:{title:"Verifierad förbokning"}}),t._v("\n\t\t\tVerifierad förbokning\n\t\t")]),t._v(" "),r("p",{staticClass:"icon-description"},[r("span",{staticClass:"wh-logo",attrs:{title:"Jobbar på Webhallen"}}),t._v("\n\t\t\tJobbar på Webhallen\n\t\t")])])])}),[],!1,null,null,null).exports},95408:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>v});var n=r(16477),s=r(71614),i=r(75047),a=r(20629),o=r(91581),c=r(37346),u=r(70538),l=r(22267);function d(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function p(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?d(Object(r),!0).forEach((function(e){h(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function h(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const f={store:i.Z,props:{product:{type:Object,default:null},upvotedReview:{type:Object,default:null},heading:{type:String,default:""},nrReviews:{type:Number,default:0}},data:function(){return{reviews:[],hypes:[],userReviewThumbs:[],loadedThumbs:!1,totalReviewCount:0,totalHypeCount:0,ratingReviewCount:0,currentReviewCount:0,page:1,loadedPages:{},reviewsPerPage:15,isWritingReview:!1,isWritingHype:!1,sortingOption:"latest",defaultSorting:null,getAllVariants:o.hH,getReviewVariants:o.TV,getProductGroup:o.F1,displayStarRating:o.ku,getProductRating:o.So,fixElementToBottomOfPage:o._u,abTest:l.Z}},computed:p(p({firstPageReviewCount:function(){return this.abTest.shorterReviews>0?3:5},productIsReleased:function(){if(!this.product.release)return!0;var t=new Date;return t.setTime(1e3*this.product.release.timestamp),new Date>=t},isGroupProduct:function(){return(0,o.dX)(this.product)},displayProductNames:function(){return!!this.product.isFyndware||(0,o.hH)(this.product).length>1},productIsFyndware:function(){return this.product.isFyndware},productToInclude:function(){return(0,o.TV)(this.product)},groupToInclude:function(){return(0,o.F1)(this.product)},hasAvgRating:function(){return null!==this.product.averageRating&&void 0!==this.product.averageRating},hasMorePages:function(){return this.computedReviews.length+this.computedHypes.length<this.combinedCount},canLoadMoreReviews:function(){return this.reviews.length+this.hypes.length<this.combinedCount},nrReviewsLoaded:function(){return this.hypes.length+this.reviews.length},combinedCount:function(){return this.totalReviewCount+this.totalHypeCount},displayStars:function(){return(0,o.ku)(this.product)},rating:function(){return(0,o.So)(this.product)},userHasReviewed:function(){return!!this.isLoggedIn&&this.hasReviewedProduct(this.user,this.reviews,this.product)},userHasHyped:function(){return!!this.isLoggedIn&&this.hasReviewedProduct(this.user,this.hypes,this.product)},computedReviews:function(){return 1===this.page?this.reviews.slice(0,this.firstPageReviewCount):this.page>1?this.reviews.slice(0,this.reviewsPerPage*this.page):[]},computedHypes:function(){if(1===this.page){var t=this.firstPageReviewCount-this.computedReviews.length;return t>0?this.hypes.slice(0,t):[]}return this.nrReviewsLoaded-this.totalReviewCount>0?this.hypes.slice(0,this.reviewsPerPage*this.page-this.computedReviews.length):[]},sortingOptions:function(){return[{label:this.tr("LATEST"),value:"latest"},{label:this.tr("SCORE"),value:"score"},{label:this.tr("HIGHEST"),value:"highest"},{label:this.tr("LOWEST"),value:"lowest"}]}},(0,a.rn)({user:function(t){return t.user}})),(0,a.Se)({isLoggedIn:"user/isLoggedIn"})),watch:{isLoggedIn:function(t){t&&this.getVotes()},product:function(t){this.resetPosting(),this.resetAndGetReviews(t)},sortingOption:function(t){this.defaultSorting=!1,this.resetAndGetReviews(this.product,t)}},mounted:function(){this.defaultSorting=!0,this.resetPosting(),this.resetAndGetReviews(this.product)},methods:{t:n.t,tr:n.t.prefix("REVIEW"),writeReview:function(){this.isLoggedIn?this.userHasReviewed?(0,s.Z)("Du har redan recenserat den här produkten!"):this.productIsReleased?this.isWritingReview=!0:(0,s.Z)("Du kan inte recensera produkter innan de släppts!"):(0,s.Z)("Du måste vara inloggad för att kunna skriva recensioner!")},writeHype:function(){this.productIsReleased||(this.isLoggedIn?this.userHasHyped?(0,s.Z)("Du har redan hypat den här produkten!"):this.isWritingHype=!0:(0,s.Z)("Du måste vara inloggad för att kunna hypa produkten!"))},hasReviewedProduct:function(t,e,r){return e&&e.find((function(e){return!!e.user&&(r.variants?e.user.id===t.id&&e.product.id===r.id:e.user.id===t.id)}))||!1},getReviews:function(t){var e=this,r=this.groupToInclude,n=this.page;this.product.averageRating&&c.Z.get("reviews").data({group:r,product:t.id,sortby:this.sortingOption,page:n}).on("success",(function(r){e.product.id===t.id&&(r.data.reviews&&(e.reviews=e.reviews.concat(r.data.reviews)),r.data.hypes&&(e.hypes=e.hypes.concat(r.data.hypes)),e.defaultSorting&&e.upvotedReview&&(e.productIsReleased?(e.reviews=e.reviews.filter((function(t){return t.id!=e.upvotedReview.id}
1)),e.reviews.unshift(e.upvotedReview)):(e.hypes=e.hypes.filter((function(t){return t.id!=e.upvotedReview.id})),e.hypes.unshift(e.upvotedReview))),e.totalReviewCount=r.data.totalReviewCount,e.totalHypeCount=r.data.totalHypeCount,e.reviewsPerPage=r.data.reviewsPerPage,e.ratingReviewCount=r.data.ratingReviewCount,e.loadedPages[n]=!0,e.$emit("loaded",{nrMeterReviews:r.data.ratingReviewCount,nrReviews:r.data.currentReviewCount,reviews:e.reviews,status:200}))})).on("error",(function(t){e.$emit("failed",{nrMeterReviews:0,nrReviews:0,reviews:[],status:t.status})})).go()},getVotes:function(){var t=this,e=this.groupToInclude,r=this.productToInclude;!this.loadedThumbs&&this.isLoggedIn&&this.product.averageRating&&c.Z.get("reviews/thumbs").data({group:e,product:r}).on("success",(function(e){t.userReviewThumbs=e.data.userReviewThumbs,t.loadedThumbs=!0})).go()},resetPosting:function(){this.isWritingReview=!1,this.isWritingHype=!1},resetReviews:function(){this.page=1,this.reviews=[],this.hypes=[],this.userReviewThumbs=[],this.loadedPages={},this.loadedThumbs=!1},resetAndGetReviews:function(t,e){this.resetReviews(),this.getReviews(t),this.isLoggedIn&&this.getVotes()},setPage:function(t){var e=this.page;this.page=t,t<e&&this.scrollPage()},incrementPage:function(){this.hasMorePages&&(this.page++,this.canLoadMoreReviews&&!this.loadedPages[this.page]&&this.getReviews(this.product))},decrementPage:function(){this.page>1&&(this.page--,this.scrollPage())},scrollPage:function(){var t=this;u.default.nextTick((function(){t.combinedCount>t.firstPageReviewCount+t.reviewsPerPage&&(0,o._u)(t.$refs.moreLessButtons)}))}}};const v=(0,r(51900).Z)(f,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"review-section"},[r("div",{class:["feedback-section-header",{"has-feedback":t.product.averageRating&&t.ratingReviewCount}]},[r("h2",[t._v("\n\t\t\t"+t._s(t.heading)+"\n\t\t\t"),r("span",{staticClass:"badge"},[t._v("("+t._s(t.nrReviews)+")")]),t._v(" "),r("review-section-info")],1),t._v(" "),t.isWritingReview||t.isWritingHype?r("review-form",{attrs:{isWritingReview:t.isWritingReview,product:t.product}}):[t.product.averageRating&&0!=t.ratingReviewCount?r("div",{staticClass:"rating-wrap"},[t.displayStars?r("span",{staticClass:"semibold"},[t._v(t._s(t.tr("AVERAGE_SCORE")))]):r("span",{staticClass:"semibold"},[t._v("Hypefaktor")]),t._v(" "),r("span",{staticClass:"rating"},[t.displayStars?r("stars",{staticClass:"stars-lg align-middle",attrs:{stars:t.rating}}):r("flames",{staticClass:"flames-lg align-middle",attrs:{flames:t.rating}}),t._v(" "),r("span",{staticClass:"count"},[t._v("("+t._s(t.ratingReviewCount)+" st)")])],1)]):t._e(),t._v(" "),t.productIsReleased?r("text-button",{staticClass:"review-section-button",attrs:{disabled:!1!==t.userHasReviewed,text:t.tr("CREATE")},on:{click:t.writeReview}}):r("text-button",{staticClass:"review-section-button",attrs:{disabled:!1!==t.userHasHyped,text:"Hypa produkt"},on:{click:t.writeHype}}),t._v(" "),t.reviews.length||t.hypes.length?r("dropdown-select",{staticClass:"review-section-dropdown",attrs:{items:t.sortingOptions,formatter:t.tr,prefix:"SORT_BY",fullWidth:""},model:{value:t.sortingOption,callback:function(e){t.sortingOption=e},expression:"sortingOption"}}):t._e()]],2),t._v(" "),t.reviews.length||t.hypes.length?t._e():r("hr"),t._v(" "),t.productIsReleased?r("div",[t.defaultSorting&&t.upvotedReview?r("h3",{staticClass:"mb-3"},[t._v("\n\t\t\tFramröstad topprecension\n\t\t")]):t._e(),t._v(" "),t._l(t.computedReviews,(function(e,n){return r("review",{key:e.id,attrs:{review:e,userVotes:t.userReviewThumbs,displayProductName:t.displayProductNames,isUpvotedReview:t.defaultSorting&&t.upvotedReview&&0===n}})})),t._v(" "),t.reviews.length||t.upvotedReview?t._e():r("p",{staticClass:"no-feedback"},[t._v("\n\t\t\t"+t._s(t.tr("NO_REVIEWS"))+"\n\t\t")]),t._v(" "),t.computedHypes.length?r("div",[t.reviews.length||t.upvotedReview?t._e():r("hr"),t._v(" "),r("b",[t._v("Förväntningar innan produktens release")]),t._v(" "),r("hr")]):t._e(),t._v(" "),t._l(t.computedHypes,(function(e){return r("review",{key:e.id,attrs:{review:e,isHype:!0,userVotes:t.userReviewThumbs,displayProductName:t.displayProductNames}})}))],2):r("div",{staticClass:"mt-5"},[t.defaultSorting&&t.upvotedReview?r("h3",{staticClass:"mb-3"},[t._v("\n\t\t\tFramröstad hype\n\t\t")]):t._e(),t._v(" "),t._l(t.computedHypes,(function(e,n){return r("review",{key:e.id,attrs:{review:e,isHype:!0,userVotes:t.userReviewThumbs,displayProductName:t.displayProductNames,isUpvotedReview:t.defaultSorting&&t.upvotedReview&&0===n}})})),t._v(" "),t.hypes.length?t._e():r("p",{staticClass:"no-feedback"},[t._v("\n\t\t\tDenna produkt har ännu inte blivit hypad!\n\t\t")])],2),t._v(" "),r("div",{ref:"moreLessButtons"},[t.reviews.length+t.hypes.length>5?r("center",{staticStyle:{"user-select":"none"}},[1===t.page?r("a",{on:{click:function(e){t.incrementPage()}}},[t._v("\n\t\t\t\tVisa fler "+t._s(t.productIsReleased?"recensioner":"förväntningar")+"\n\t\t\t")]):t.hasMorePages?t.page>1?r("span",[r("span",[t._v("\n\t\t\t\t\tVisa\n\t\t\t\t")]),t._v(" "),t.hasMorePages?r("a",{on:{click:function(e){t.incrementPage()}}},[t._v("fler")]):t._e(),t._v(" /\n\t\t\t\t"),t.page>1?r("a",{on:{click:function(e){t.setPage(1)}}},[t._v("färre")]):t._e(),t._v(" "),r("span",[t._v("\n\t\t\t\t\t"+t._s(t.productIsReleased?"recensioner":"förväntningar")+"\n\t\t\t\t")])]):t._e():r("a",{on:{click:function(e){t.setPage(1)}}},[t._v("\n\t\t\t\tVisa färre "+t._s(t.productIsReleased?"recensioner":"förväntningar")+"\n\t\t\t")])]):t._e()],1)])}),[],!1,null,null,null).exports},75262:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>l});var n=r(16477),s=r(91581);const i={props:["shippingClass","packageSizeId","product","priceList"],methods:{t:n.t,formatPrice:s.T4}};
1var a=r(72446),o=r.n(a),c=r(22615),u={insert:"head",singleton:!1};o()(c.Z,u);c.Z.locals;const l=(0,r(51900).Z)(i,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"mb-5 mt-5 pl-5 pr-5",staticStyle:{"max-width":"550px"}},[r("h3",[t._v("Fraktpris")]),t._v(" "),t.priceList?r("table",{staticClass:"table table-condensed table-striped shipping-price-table d-flex flex-wrap mt-5"},[r("tbody",t._l(t.priceList,(function(e){return r("tr",{staticStyle:{"text-align":"left"}},[r("td",[r("div",{staticClass:"ell-wrap"},[r("div",{staticClass:"ell"},[t._v("\n\t\t\t\t\t\t\t"+t._s(e.name)+"\n\t\t\t\t\t\t")])])]),t._v(" "),r("td",[r("span",{staticClass:"pull-right"},[e.regularPrice?r("s",{staticClass:"mr-3 small"},[t._v("\n\t\t\t\t\t\t\t"+t._s(e.regularPrice)+" kr\n\t\t\t\t\t\t")]):t._e(),t._v(" "),r("b",[t._v(t._s(e.price)+" kr")])])])])})))]):r("loading-spinner"),t._v(" "),r("div",{staticClass:"px-4"},[t._v("\n\t\t"+t._s(t.t("SHIPPING_POPUP.INFORMATION"))+"\n\t")])],1)}),[],!1,null,"6e8af1a8",null).exports},56512:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>a});var n=r(17984),s=r(16477);const i={data:function(){return{tsl:s.t.prefix("STOCK.LEGEND"),mq:n.Z,isOpen:!1}}};const a=(0,r(51900).Z)(i,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("modal",{attrs:{inlineBlock:"","container-style":"max-width: 100%; width: 800px;","container-style":t.mq.current>=t.mq.md?"":"top:20px"},model:{value:t.isOpen,callback:function(e){t.isOpen=e},expression:"isOpen"}},[r("span",{staticClass:"glyphicon glyphicon-info-sign help",attrs:{slot:"label",title:t.tsl("TITLE")},on:{click:function(e){e.preventDefault(),e.stopPropagation(),t.isOpen=!0}},slot:"label"}),t._v(" "),r("div",{staticClass:"stock-legend"},[r("h2",{staticStyle:{margin:"5px 0"}},[t._v(t._s(t.tsl("TITLE")))]),t._v(" "),r("p",{staticStyle:{color:"#969BA0","font-size":"0.9em","font-weight":"bold",margin:"0"}},[t._v(t._s(t.tsl("LEGEND")))]),t._v(" "),r("table",{staticClass:"table table-striped table-condensed"},[r("tbody",[r("tr",[r("td",[r("div",{staticClass:"td-wrapper"},[r("div",{staticClass:"stock-icon-instock stock-icon-legend"}),t._v(" "),r("span",[t._v("X st")])])]),t._v(" "),r("td",[t._v(t._s(t.tsl("IN_STOCK")))])]),t._v(" "),r("tr",[r("td",[r("div",{staticClass:"td-wrapper"},[r("div",{staticClass:"stock-icon-outofstock-incentral stock-icon-legend"}),t._v(" "),r("span",[t._v("X dagar")])])]),t._v(" "),r("td",[t._v(t._s(t.tsl("IN_CENTRAL"))),r("sup",[t._v("1")])])]),t._v(" "),r("tr",[r("td",[r("div",{staticClass:"td-wrapper"},[r("div",{staticClass:"stock-icon-in-supplier-stock stock-icon-legend"}),t._v(" "),r("span",[t._v("X st")])])]),t._v(" "),r("td",[t._v(t._s(t.tsl("IN_SUPPLIER_STOCK")))])]),t._v(" "),r("tr",[r("td",[r("div",{staticClass:"td-wrapper"},[r("div",{staticClass:"stock-icon-outofstock stock-shape-legend"}),t._v(" "),r("span",{staticStyle:{"margin-right":"2px"}},[t._v("Ej i lager")]),r("span",[t._v("(ÅÅÅÅ-MM-DD)")])])]),t._v(" "),r("td",[t._v(t._s(t.tsl("OUT_OF_STOCK")))])]),t._v(" "),r("tr",[r("td",[r("div",{staticClass:"td-wrapper"},[r("div",{staticClass:"stock-icon-outofstock stock-shape-legend"}),t._v(" "),r("span",[t._v("Beställningsvara")])])]),t._v(" "),r("td",[t._v(t._s(t.tsl("CAN_BE_ORDERED")))])]),t._v(" "),r("tr",[r("td",[r("div",{staticClass:"td-wrapper"},[r("div",{staticClass:"stock-icon-notreleased stock-shape-legend"}),t._v(" "),r("span",[t._v("ÅÅÅÅ-MM-DD")])])]),t._v(" "),r("td",[t._v(t._s(t.tsl("NOT_RELEASED"))),r("sup",[t._v("2")])])])])]),t._v(" "),r("p",{staticClass:"muted"},[t._v("1. "+t._s(t.tsl("NOTE_1")))]),t._v(" "),r("p",{staticClass:"muted"},[t._v("2. "+t._s(t.tsl("NOTE_2")))])])])}),[],!1,null,null,null).exports},5457:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>p});var n=r(75047),s=r(16477),i=r(20629),a=r(96508),o=r(91581);function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function u(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?c(Object(r),!0).forEach((function(e){l(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function l(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const d={store:n.Z,props:{stock:{type:[Object,Array],required:!0},release:{type:Object},store:{type:[Number,String],required:!0},size:{type:String},name:{type:String,default:null},noStar:{default:!1},product:{type:Object}},data:function(){return{stockText:"",stockTextExtra:"",stockStatus:1,stockClass:{"stock-icon-instock":!0}}},methods:{ts:s.t.prefix("STOCK")},computed:u(u(u({shouldShowStock:function(){return(0,o.Qx)(this.product,this.user)},showFavouriteMark:function(){return!1===this.noStar},inUserSelection:{get:function(){return this.$store.state.userSettings.myStores.indexOf(this.store)>=0},set:function(t){var e=this.$store.state.userSettings.myStores.indexOf(this.store);t&&e<0?this.$store.dispatch("userSettings/addStore",this.store):!t&&e>=0&&this.$store.dispatch("userSettings/removeStore",this.store)}},canAddFavouriteMark:function(){return 9999!==this.store&&!(isNaN(this.store)||this.favouriteMarkCount>=3&&!this.inUserSelection)},favouriteMarkCount:function(){return this.$store.state.userSettings.myStores.length},storeName:function(){return this.name?this.name:"other_stores"===this.store?this.ts("OTHER_STORES"):"supplier"===this.store?this.ts("AT_SUPPLIER"):"download"===this.store?this.ts("DOWNLOAD"):(0,s.tC)(this.store)},storeIsPickupPoint:function(){if(void 0!==this.stores[this.store]&&this.stores[this.store].isPickupPoint)return!0},favouriteTitle:function(){return this.ts("STAR")}},(0,i.rn)({userSettings:function(t){return t.userSettings},user:function(t){return t.user}})),(0,i.Se)({stores:"i18n/stores"})),{},{isReleased:function(){return a.Z.isReleased(this.release)}}),mounted:function(){var t=null;t=this.shouldShowStock?a.Z.calculateStockStatus(this.store,this.stock,this.userSettings,this.release,this.size):a.Z.calculateStockStatus(this.store,this.stock,this.userSettings,this.release,this.size,this.product.statusCodes),this.stockText=t.stockText,this.stockTextExtra=t.stockTextExtra,this.stockStatus=t.stockStatus,this.stockClass=t.stockClass},watch:{store:function(t){var e=null;e=this.shouldShowStock?a.Z.calculateStockStatus(this.store,this.stock,this.userSettings,this.release,this.size):a.Z.calculateStockStatus(this.store,this.stock,this.userSettings,this.release,this.size,this.product.statusCodes),this.stockText=e.stockText,this.stockTextExtra=e.stockTextExtra,this.stockStatus=e.stockStatus,this.stockClass=e.stockClass},stock:function(){var t=null;t=this.shouldShowStock?a.Z.calculateStockStatus(this.store,this.stock,this.userSettings,this.release,this.size):a.Z.calculateStockStatus(this.store,this.stock,this.userSettings,this.release,this.size,this.product.statusCodes),this.stockText=t.stockText,this.stockTextExtra=t.stockTextExtra,this.stockStatus=t.stockStatus,this.stockClass=t.stockClass}}};const p=(0,r(51900).Z)(d,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return"small"===t.size?r("div",{staticClass:"stock-row-small"},[r("div",{staticClass:"stock-status"},[r("span",{class:t.stockClass})]),t._v(" "),r("div",{staticClass:"stock-location"},[t._v("\n\t\t"+t._s(t.storeName)+"\n\t")])]):"large"===t.size?r("div",{staticClass:"stock-row-large"},[t.showFavouriteMark?r("div",{staticClass:"stock-select"},[t.canAddFavouriteMark?r("label",{staticClass:"stock-favorite",attrs:{title:t.favouriteTitle}},[r("input",{directives:[{name:"model",rawName:"v-model",value:t.inUserSelection,expression:"inUserSelection"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.inUserSelection)?t._i(t.inUserSelection,null)>-1:t.inUserSelection},on:{change:function(e){var r=t.inUserSelection,n=e.target,s=!!n.checked;if(Array.isArray(r)){var i=t._i(r,null);n.checked?i<0&&(t.inUserSelection=r.concat([null])):i>-1&&(t.inUserSelection=r.slice(0,i).concat(r.slice(i+1)))}else t.inUserSelection=s}}}),r("span")]):r("span",{staticStyle:{"margin-left":"14px"}})]):t._e(),t._v(" "),r("div",{staticClass:"stock-location"},[t._v("\n\t\t"+t._s(t.storeName)+"\n\t\t"),t.storeIsPickupPoint?r("span",{staticClass:"store-pickup-point"},[t._v("\n\t\t\tPick-Up Point\n\t\t")]):t._e()]),t._v(" "),r("div",{staticClass:"stock-status"},[r("div",{class:t.stockClass}),t._v(" "),r("span",{staticClass:"stock-text"},[t._v("\n\t\t\t"+t._s(t.stockText)+"\n\t\t\t"),t.isReleased?t._e(
1):r("preorder-info")],1),t._v(" "),r("span",{staticClass:"additional-stock-text"},[t._v("\n\t\t\t"+t._s(t.stockTextExtra)+"\n\t\t")])])]):r("div",{staticClass:"stock-row"},[t.showFavouriteMark?r("div",{staticClass:"stock-select mr-3"},[t.canAddFavouriteMark?r("label",{staticClass:"stock-favorite",attrs:{title:t.favouriteTitle}},[r("input",{directives:[{name:"model",rawName:"v-model",value:t.inUserSelection,expression:"inUserSelection"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.inUserSelection)?t._i(t.inUserSelection,null)>-1:t.inUserSelection},on:{change:function(e){var r=t.inUserSelection,n=e.target,s=!!n.checked;if(Array.isArray(r)){var i=t._i(r,null);n.checked?i<0&&(t.inUserSelection=r.concat([null])):i>-1&&(t.inUserSelection=r.slice(0,i).concat(r.slice(i+1)))}else t.inUserSelection=s}}}),r("span")]):r("span",{staticStyle:{"margin-left":"14px"}})]):t._e(),t._v(" "),r("div",{staticClass:"stock-location"},[t._v("\n\t\t"+t._s(t.storeName)+"\n\t\t"),t.storeIsPickupPoint?r("span",{staticClass:"store-pickup-point"},[t._v("\n\t\t\tPick-Up Point\n\t\t")]):t._e()]),t._v(" "),r("div",{staticClass:"stock-status"},[r("div",{class:t.stockClass}),t._v(" "),r("span",{staticClass:"stock-text"},[t._v("\n\t\t\t"+t._s(t.stockText)+"\n\t\t\t"),t.isReleased?t._e():r("preorder-info")],1),t._v(" "),r("span",{staticClass:"additional-stock-text"},[t._v("\n\t\t\t"+t._s(t.stockTextExtra)+"\n\t\t")])])])}),[],!1,null,null,null).exports},53712:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>c});var n=r(17984),s=r(16477),i=r(16332),a=r(91581);const o={props:{heading:{type:String,default:""},review:{type:Object},isHype:{type:Boolean,default:!1},displayProductName:{type:Boolean,default:!1}},data:function(){return{mq:n.Z}},methods:{scrollTo:a.X5,tr:s.t.prefix("PRODUCT.REVIEW")},computed:{sizeClass:function(){return n.Z.current<=n.Z.xs?"review-small":"review-large"},avatarStyle:function(){return i.Z.avatarStyle(this.review)},avatarUrl:function(){return i.Z.avatarUrl(this.review)},avatarClass:function(){return this.review.user&&this.review.user.avatar?"":"anonymous"},userPath:function(){var t,e;return this.$router.route({name:"member.achievements",params:{id:null===(t=this.review.user)||void 0===t?void 0:t.id,name:null===(e=this.review.user)||void 0===e?void 0:e.username}})}}};const c=(0,r(51900).Z)(o,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{class:["top-review-large",t.sizeClass,t.avatarClass]},[r("h2",{staticClass:"level-four-heading mb-3"},[t._v(t._s(t.heading))]),t._v(" "),r("div",{staticClass:"review-header"},[r("ximg",{class:["pixelated avatar",t.avatarClass],style:t.avatarStyle,attrs:{src:t.avatarUrl,eager:"",ariaLabel:"avatar",role:"img"}}),t._v(" "),r("div",{staticClass:"review-info"},[t.isHype?r("flames",{attrs:{flames:t.review.rating}}):r("stars",{attrs:{stars:t.review.rating}}),t._v(" "),r("span",{staticClass:"user"},[t.review.user&&t.review.user.isPublicProfile&&!t.review.isAnonymous?r("router-link",{staticClass:"name",attrs:{to:t.userPath}},[t._v("\n\t\t\t\t\t"+t._s(t.review.user.username)+"\n\t\t\t\t")]):r("span",{staticClass:"name"},[t._v("\n\t\t\t\t\t"+t._s(t.review.user&&!t.review.isAnonymous?t.review.user.username:"No-Face")+"\n\t\t\t\t")]),t._v(" "),t.review.user&&t.review.user.knighthood>0?r("knighthood-icon"):t._e(),t._v(" "),t.review.verifiedPurchase?[t.review.isHype?t.review.isHype?[r("span",{staticClass:"review-verified hype",attrs:{title:t.tr("VERIFIED_PREPURCHASE")}}),t._v(" "),r("span",{staticClass:"icon-description"},[t._v(t._s(t.tr("VERIFIED_PREPURCHASE")))])]:t._e():[r("span",{staticClass:"review-verified purchase",attrs:{title:t.tr("VERIFIED_PURCHASE")}}),t._v(" "),r("span",{staticClass:"icon-description"},[t._v(t._s(t.tr("VERIFIED_PURCHASE")))])]]:t._e()],2),t._v(" "),t.review.user?r("span",{staticClass:"user-level"},[t._v("Lvl "+t._s(t.review.user.rankLevel)+" "+t._s(t.review.user.avatar.class.title)+" ")]):t._e()],1)],1),t._v(" "),t.review.text?r("div",{staticClass:"text-box",on:{click:function(e){e.preventDefault(),t.scrollTo("#p-reviews")}}},[r("fixed-lines",{attrs:{lines:3,bleedHeight:.2,useHeight:!1}},[t._v("\n\t\t\t"+t._s(this.review.text)+"\n\t\t")])],1):t._e(),t._v(" "),t.displayProductName&&t.review.product?r("span",{staticClass:"sub-title"},[t._v("\n\t\t"+t._s(t.review.product.name)+"\n\t")]):t._e()])}),[],!1,null,null,null).exports}}]);
2//# sourceMappingURL=ProductPage.6992.js.map

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.