import{__require as r}from"../modules/es.regexp.exec.mjs";import{__require as e}from"./function-call.mjs";import{__require as n}from"./define-built-in.mjs";import{__require as o}from"./regexp-exec.mjs";import{__require as t}from"./fails.mjs";import{__require as i}from"./well-known-symbol.mjs";import{__require as u}from"./create-non-enumerable-property.mjs";var a,m;function s(){if(m)return a;m=1,r();var s=e(),f=n(),c=o(),p=t(),_=i(),l=u(),v=_("species"),x=RegExp.prototype;return a=function(r,e,n,o){var t=_(r),i=!p(function(){var e={};return e[t]=function(){return 7},7!==""[r](e)}),u=i&&!p(function(){var e=!1,n=/a/;if("split"===r){var o={};o[v]=function(){return n},(n={constructor:o,flags:""})[t]=/./[t]}return n.exec=function(){return e=!0,null},n[t](""),!e});if(!i||!u||n){var a=/./[t],m=e(t,""[r],function(r,e,n,o,t){var u=e.exec;return u===c||u===x.exec?i&&!t?{done:!0,value:s(a,e,n,o)}:{done:!0,value:s(r,n,e,o)}:{done:!1}});f(String.prototype,r,m[0]),f(x,t,m[1])}o&&l(x[t],"sham",!0)}}export{s as __require};