import{__exports as r}from"../../../_virtual/es.array.flat.mjs";import{__require as e}from"../internals/export.mjs";import{__require as t}from"../internals/flatten-into-array.mjs";import{__require as i}from"../internals/to-object.mjs";import{__require as a}from"../internals/length-of-array-like.mjs";import{__require as o}from"../internals/to-integer-or-infinity.mjs";import{__require as n}from"../internals/array-species-create.mjs";var s;function m(){if(s)return r;s=1;var m=e(),_=t(),f=i(),l=a(),u=o(),p=n();return m({target:"Array",proto:!0},{flat:function(){var r=arguments.length?arguments[0]:void 0,e=f(this),t=l(e),i=p(e,0);return _(i,e,e,t,0,void 0===r?1:u(r)),i}}),r}export{m as __require};