import _baseGetTag_default from "./_baseGetTag.js";
import _toSource_default from "./_toSource.js";
import _Map_default from "./_Map.js";
import _DataView_default from "./_DataView.js";
import _Promise_default from "./_Promise.js";
import _Set_default from "./_Set.js";
import _WeakMap_default from "./_WeakMap.js";
var mapTag = "[object Map]", objectTag = "[object Object]", promiseTag = "[object Promise]", setTag = "[object Set]", weakMapTag = "[object WeakMap]", dataViewTag = "[object DataView]", dataViewCtorString = _toSource_default(_DataView_default), mapCtorString = _toSource_default(_Map_default), promiseCtorString = _toSource_default(_Promise_default), setCtorString = _toSource_default(_Set_default), weakMapCtorString = _toSource_default(_WeakMap_default), getTag = _baseGetTag_default;
(_DataView_default && getTag(new _DataView_default(/* @__PURE__ */ new ArrayBuffer(1))) != dataViewTag || _Map_default && getTag(new _Map_default()) != mapTag || _Promise_default && getTag(_Promise_default.resolve()) != promiseTag || _Set_default && getTag(new _Set_default()) != setTag || _WeakMap_default && getTag(new _WeakMap_default()) != weakMapTag) && (getTag = function(g) {
	var _ = _baseGetTag_default(g), v = _ == objectTag ? g.constructor : void 0, y = v ? _toSource_default(v) : "";
	if (y) switch (y) {
		case dataViewCtorString: return dataViewTag;
		case mapCtorString: return mapTag;
		case promiseCtorString: return promiseTag;
		case setCtorString: return setTag;
		case weakMapCtorString: return weakMapTag;
	}
	return _;
});
var _getTag_default = getTag;
export { _getTag_default as default };
