import {
  __commonJS
} from "./chunk-NWKJXI2N.js";

// ../../../node_modules/is-class/is-class.js
var require_is_class = __commonJS({
  "../../../node_modules/is-class/is-class.js"(exports, module) {
    (function(root) {
      const toString = Function.prototype.toString;
      function fnBody(fn) {
        return toString.call(fn).replace(/^[^{]*{\s*/, "").replace(/\s*}[^}]*$/, "");
      }
      function isClass(fn) {
        if (typeof fn !== "function") {
          return false;
        }
        if (/^class[\s{]/.test(toString.call(fn))) {
          return true;
        }
        const body = fnBody(fn);
        return /classCallCheck\(/.test(body) || /TypeError\("Cannot call a class as a function"\)/.test(body);
      }
      if (typeof exports !== "undefined") {
        if (typeof module !== "undefined" && module.exports) {
          exports = module.exports = isClass;
        }
        exports.isClass = isClass;
      } else if (typeof define === "function" && define.amd) {
        define([], function() {
          return isClass;
        });
      } else {
        root.isClass = isClass;
      }
    })(exports);
  }
});

// dep:is-class
var is_class_default = require_is_class();
export {
  is_class_default as default
};
//# sourceMappingURL=is-class.js.map
