shadow$provide.module$node_modules$pixi_DOT_js$lib$scene$text_split$SplitBitmapText = function(global, require, module, exports) {
  var warn = require("module$node_modules$pixi_DOT_js$lib$utils$logging$warn"), TextStyle = require("module$node_modules$pixi_DOT_js$lib$scene$text$TextStyle"), bitmapTextSplit = require("module$node_modules$pixi_DOT_js$lib$scene$text_bitmap$utils$bitmapTextSplit");
  global = require("module$node_modules$pixi_DOT_js$lib$scene$text_split$AbstractSplitText");
  "use strict";
  const node_modules$pixi_DOT_js$lib$scene$text_split$SplitBitmapText$classdecl$var54 = class extends global.AbstractSplitText {
    constructor(config) {
      var _a;
      config = {...node_modules$pixi_DOT_js$lib$scene$text_split$SplitBitmapText$classdecl$var54.defaultOptions, ...config};
      config.style ?? (config.style = {});
      (_a = config.style).fill ?? (_a.fill = 16777215);
      super(config);
    }
    static from(text, options) {
      options = {...node_modules$pixi_DOT_js$lib$scene$text_split$SplitBitmapText$classdecl$var54.defaultOptions, ...options, text:text.text, style:new TextStyle.TextStyle(text.style)};
      text.style.tagStyles && (warn.warn("[SplitBitmapText] Tag styles are not supported for SplitBitmapText. They will be ignored."), text.style._tagStyles = void 0);
      options = new node_modules$pixi_DOT_js$lib$scene$text_split$SplitBitmapText$classdecl$var54({...options});
      text = text.anchor;
      0 === text.x && 0 === text.y || options.pivot.set(options.width * text.x, options.height * text.y);
      return options;
    }
    splitFn() {
      return bitmapTextSplit.bitmapTextSplit({text:this._originalText, style:this._style, chars:this._canReuseChars ? this.chars : []});
    }
  };
  global = node_modules$pixi_DOT_js$lib$scene$text_split$SplitBitmapText$classdecl$var54;
  global.defaultOptions = {autoSplit:!0, lineAnchor:0, wordAnchor:0, charAnchor:0};
  exports.SplitBitmapText = global;
};

//# sourceMappingURL=module$node_modules$pixi_DOT_js$lib$scene$text_split$SplitBitmapText.js.map
