PageSourceSearch

https://kungsbacka.se/sitevision/system-resource/706c47851a9c6e84f…/js/imagemap-portlet.js

js kungsbacka.se collected 2026-09-24 18:42:32 UTC 994 bytes, 2 lines download raw bytes

1(globalThis.webpackChunk_sv_portlet=globalThis.webpackChunk_sv_portlet||[]).push([[2635],{3717(t,a,r){"use strict";var e=r(3501),i=r.n(e);r(160);i()(".sv-imagemap-portlet").each((t,a)=>{i()(a).find(".sv-imagemap").rwdImageMaps()})},160(){var t;(t=window.$svjq).fn.rwdImageMaps=function(){var a=this;return t(window).resize(function(){a.each(function(){if(void 0!==t(this).attr("usemap")){var a=t(this);t("<img>").on("load",function(){var r=a.attr("width"),e=a.attr("height");if(!r||!e){var i=new Image;i.src=a.attr("src"),r||(r=i.width),e||(e=i.height)}var s=a.width()/100,n=a.height()/100,h=a.attr("usemap").replace("#",""),o="coords";t('map[name="'+h+'"]').find("area").each(function(){var a=t(this);a.data(o)||a.data(o,a.attr(o));for(var i=a.data(o).split(","),h=new Array(i.length),c=0;c<h.length;++c)h[c]=c%2==0?parseInt(i[c]/r*100*s):parseInt(i[c]/e*100*n);a.attr(o,h.toString())})}).attr("src",a.attr("src"))}})}).trigger("resize"),this}}}]);
2//# sourceMappingURL=imagemap-portlet.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.