import{__exports as r}from"../../../_virtual/esnext.string.code-points.mjs";import{__require as t}from"../internals/export.mjs";import{__require as e}from"../internals/iterator-create-constructor.mjs";import{__require as i}from"../internals/create-iter-result-object.mjs";import{__require as n}from"../internals/require-object-coercible.mjs";import{__require as o}from"../internals/to-string.mjs";import{__require as s}from"../internals/internal-state.mjs";import{__require as a}from"../internals/string-multibyte.mjs";var m;function u(){if(m)return r;m=1;var u=t(),_=e(),c=i(),p=n(),f=o(),l=s(),g=a(),j=g.codeAt,d=g.charAt,q="String Iterator",x=l.set,h=l.getterFor(q),v=_(function(r){x(this,{type:q,string:r,index:0})},"String",function(){var r,t=h(this),e=t.string,i=t.index;return i>=e.length?c(void 0,!0):(r=d(e,i),t.index+=r.length,c({codePoint:j(r,0),position:i},!1))});return u({target:"String",proto:!0,forced:!0},{codePoints:function(){return new v(f(p(this)))}}),r}export{u as __require};