PageSourceSearch

https://www.granngarden.se/dist/Component.ProductHazard.8d8e5f7c.js

js granngarden.se collected 2026-10-02 04:00:51 UTC 1,219 bytes, 1 lines download raw bytes

1"use strict";(self.fkaWebpackJsonp=self.fkaWebpackJsonp||[]).push([[3227],{6583:(a,t,r)=>{r.r(t),r.d(t,{default:()=>u});var d=r(641),e=r(33);const s={key:0,class:"product-hazard"},n={class:"product-hazard__heading"},c={key:0,class:"product-hazard__images"},i=["src"];var h=r(7985);const o=(0,d.pM)({name:"ProductHazard",props:{productCode:String,heading:String},data:()=>({hazard:{},fetching:!0}),computed:{fetched(){return!this.fetching&&null!==this.hazard}},methods:{async loadHazard(){const a=`/api/ecoOnline/${this.productCode}`,t=await h.A.get(a);if(204===t.status)return;const r=await t.json();r&&(this.hazard=r,this.fetching=!1)}},mounted(){this.loadHazard()}});const u=(0,r(6262).A)(o,[["render",function(a,t,r,h,o,u){return a.fetched&&a.hazard.pictogramUrls?((0,d.uX)(),(0,d.CE)("div",s,[(0,d.Lk)("strong",n,(0,e.v_)(a.heading)+":",1),(0,d.Lk)("p",null,(0,e.v_)(a.hazard.hazardStatement),1),a.hazard.pictogramUrls?((0,d.uX)(),(0,d.CE)("ul",c,[((0,d.uX)(!0),(0,d.CE)(d.FK,null,(0,d.pI)(a.hazard.pictogramUrls,((a,t)=>((0,d.uX)(),(0,d.CE)("li",{key:`i-${t}`},[(0,d.Lk)("img",{src:a,alt:"",height:"60",width:"60"},null,8,i)])))),128))])):(0,d.Q3)("",!0)])):(0,d.Q3)("",!0)}],["__scopeId","data-v-60311736"]])}}]);

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.