PageSourceSearch

https://www.ljudmakarn.se/build/assets/CompareProductFeature-BDs2hFWX.js

js ljudmakarn.se collected 2026-09-26 20:51:12 UTC 1,265 bytes, 1 lines download raw bytes

1import{a,m as d}from"./vendor-Dz49Qg0x.js";import{n as o}from"./app-BMrh4P8q.js";const c={props:{productId:{type:[Number,String],required:!0}},data(){return{justAdded:!1}},computed:{...d({productIsSelected:"compare/productIsSelected"}),isSelected(){return this.productIsSelected(this.productId)}},methods:{...a({addOrRemove:"compare/addOrRemove"}),async toggle(){try{await this.addOrRemove(this.productId),this.justAdded=!0}catch(r){r&&alert(r.response.data.message||"Något gick fel")}}}};var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"feature"},[t.justAdded?e("div",[e("i",{staticClass:"fas fa-check text-success mr-xs"}),t._v(" Produkten tillagd i jämförslistan! ")]):t.isSelected?e("div",[e("i",{staticClass:"fas fa-check text-neutral-darkest mr-xs",attrs:{icon:"check"}}),t._v(" Produkten ligger i jämförslistan ")]):e("a",{staticClass:"cursor-pointer",attrs:{role:"button","aria-label":"Jämför produkt",tabindex:"0"},on:{click:t.toggle,keydown:function(s){return!s.type.indexOf("key")&&t._k(s.keyCode,"enter",13,s.key,"Enter")?null:t.toggle.apply(null,arguments)}}},[e("i",{staticClass:"fas fa-list text-neutral-darkest mr-xs"}),t._v(" Jämför produkt ")])])},n=[],l=o(c,i,n,!1,null,null);const p=l.exports;export{p as default};

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.