function d(i){let e;return i?(e=i.toIterable)?e.call(i):i:[]}var f=class{constructor(){this.start(),this.debug=!1}log(...e){return console.log(...e)}refresh(e){this.manifest=e;let t={css:[],js:[]},n=Object.values(e).map(function(r){return r.url}).filter(function(r){return r}),s=/\.[A-Z\d]{8}\./;for(let r of d(globalThis.document.styleSheets)){let o=r.ownerNode.getAttribute("href")||"",u=n.find(function(l){return l&&l.replace(s,"")==o.replace(s,"")});u&&o!=u&&(r.ownerNode.href=u)}let a=Object.keys(globalThis.IMBA_LOADED||{});for(let r=0,o=d(a),u=o.length;r