import{__require as r}from"./is-regexp.mjs";var e,t;function n(){if(t)return e;t=1;var n=r(),o=TypeError;return e=function(r){if(n(r))throw new o("The method doesn't accept regular expressions");return r}}export{n as __require};