text: var Loaded=function(r){"use strict";r=r&&r.hasOwnProperty("default")?r.default:r;var n=/url\(\s*(['"]?)(.*)\1\s*\)/,e=function(r){var e=getComputedStyle(r);if(""!==e.background||""!==e.backgroundImage){var t=e.background.match(n);return t?t[2]:""}return""},t=function(r){var n=[],t=!0,u=!1,o=void 0;try{for(var a,i=r[Symbol.iterator]();!(t=(a=i.next()).done);t=!0){var c=a.value;if("IMG"===c.tagName)n.push(c.getAttribute("src"));else{var l=e(c);l&&n.push(l)}}}catch(r){u=!0,o=r}finally{try{t||null==i.return||i.return()}finally{if(u)throw o}}return n},u=function(r){return new Promise(function(n){var e=new Image;e.onload=n,e.onerror=n,e.src=r})},o=function(r){return new Promise(function(n){var e=Array.from(r.querySelectorAll("*"));e.push(r);var o=t(e);if(0===o.length)n(r);else{var a=[];o.forEach(function(r){a.push(u(r))}),Promise.all(a).then(function(){n(r)})}})},a=u,i=function(r){return new Promise(function(n){var e=setInterval(function(){var t=document.querySelector(r);t&&(clearInterval(e),n(t))},100)})};r("loaded/images",[],function(){return o}),r("loaded/image",[],function(){return a}),r("loaded/node",[],function(){return i});return{}}(define);
  