/**
 * 定价工具入口（全局变量版本）
 */
window.PricingTool = {
  instance: null,

  async init(targetSellingPriceInput) {
    if (!this.instance) {
      this.instance = new window.PricingToolController();
      await this.instance.init(targetSellingPriceInput);
    }
  },

  show() {
    if (this.instance) {
      this.instance.showModal();
    }
  }
};