shadow$provide.module$node_modules$pixi_DOT_js$lib$scene$text_html$utils$loadFontAsBase64 = function(global, require, module, exports) {
  var adapter = require("module$node_modules$pixi_DOT_js$lib$environment$adapter");
  "use strict";
  exports.loadFontAsBase64 = async function(url) {
    const blob = await (await adapter.DOMAdapter.get().fetch(url)).blob(), reader = new FileReader();
    return await new Promise((resolve, reject) => {
      reader.onloadend = () => resolve(reader.result);
      reader.onerror = reject;
      reader.readAsDataURL(blob);
    });
  };
};

//# sourceMappingURL=module$node_modules$pixi_DOT_js$lib$scene$text_html$utils$loadFontAsBase64.js.map
