Liferay.Loader.define("@liferay!analytics-settings-web$babel/runtime@7.17.9/helpers/wrapRegExp",["module","exports","require","./typeof","./setPrototypeOf","./inherits"],(function(e,t,r){window;{var p=r("./typeof").default,o=r("./setPrototypeOf"),n=r("./inherits");function _wrapRegExp(){e.exports=_wrapRegExp=function _wrapRegExp(e,t){return new BabelRegExp(e,void 0,t)},e.exports.__esModule=!0,e.exports.default=e.exports;var t=RegExp.prototype,r=new WeakMap;function BabelRegExp(e,t,p){var n=new RegExp(e,t);return r.set(n,p||r.get(e)),o(n,BabelRegExp.prototype)}function buildGroups(e,t){var p=r.get(t);return Object.keys(p).reduce((function(t,r){return t[r]=e[p[r]],t}),Object.create(null))}return n(BabelRegExp,RegExp),BabelRegExp.prototype.exec=function(e){var r=t.exec.call(this,e);return r&&(r.groups=buildGroups(r,this)),r},BabelRegExp.prototype[Symbol.replace]=function(e,o){if("string"==typeof o){var n=r.get(this);return t[Symbol.replace].call(this,e,o.replace(/\$<([^>]+)>/g,(function(e,t){return"$"+n[t]})))}if("function"==typeof o){var a=this;return t[Symbol.replace].call(this,e,(function(){var e=arguments;return"object"!=p(e[e.length-1])&&(e=[].slice.call(e)).push(buildGroups(e,a)),o.apply(this,e)}))}return t[Symbol.replace].call(this,e,o)},_wrapRegExp.apply(this,arguments)}e.exports=_wrapRegExp,e.exports.__esModule=!0,e.exports.default=e.exports}}));
//# sourceMappingURL=wrapRegExp.js.map