(function(){var d=document,s=function(l){if(l.sheet||"all"===l.media)l.media="all";else l.onload=function(){this.media="all"}},f=d.getElementById("salla-theme-font"),i=d.getElementById("salla-icons-css");f&&s(f);if(!i)return;if(!d.querySelector('link[rel="preload"][as="image"]'))return s(i);var g=function(){g=function(){};s(i)},p=function(){requestAnimationFrame(function(){setTimeout(function(){g()})});setTimeout(function(){g()},100)};d.addEventListener("DOMContentLoaded",function(){var m=[].filter.call(d.querySelectorAll('img[fetchpriority="high"]'),function(x){return!x.complete}),n=m.length;if(!n)return p();m.forEach(function(x){var o=function(){--n||p()};x.addEventListener("load",o,{once:!0});x.addEventListener("error",o,{once:!0})});setTimeout(function(){g()},2500)})})();