const require_rolldown_runtime = require('../../../../../../_virtual/rolldown_runtime.js');
const require_assertString$1 = require('./util/assertString.js');
const require_isISO31661Alpha2$1 = require('./isISO31661Alpha2.js');

//#region ../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isBIC.js
var require_isBIC = /* @__PURE__ */ require_rolldown_runtime.__commonJS({ "../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isBIC.js": ((exports, module) => {
	Object.defineProperty(exports, "__esModule", { value: true });
	exports.default = isBIC;
	var _assertString = _interopRequireDefault(require_assertString$1.require_assertString());
	var _isISO31661Alpha = require_isISO31661Alpha2$1.require_isISO31661Alpha2();
	function _interopRequireDefault(obj) {
		return obj && obj.__esModule ? obj : { default: obj };
	}
	var isBICReg = /^[A-Za-z]{6}[A-Za-z0-9]{2}([A-Za-z0-9]{3})?$/;
	function isBIC(str) {
		(0, _assertString.default)(str);
		var countryCode = str.slice(4, 6).toUpperCase();
		if (!_isISO31661Alpha.CountryCodes.has(countryCode) && countryCode !== "XK") return false;
		return isBICReg.test(str);
	}
	module.exports = exports.default;
	module.exports.default = exports.default;
}) });

//#endregion
Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function () {
    return require_isBIC();
  }
});