import{__exports as r}from"../../../_virtual/esnext.typed-array.to-spliced.mjs";import{__require as e}from"../internals/array-buffer-view-core.mjs";import{__require as i}from"../internals/length-of-array-like.mjs";import{__require as t}from"../internals/is-big-int-array.mjs";import{__require as a}from"../internals/to-absolute-index.mjs";import{__require as o}from"../internals/to-big-int.mjs";import{__require as n}from"../internals/to-integer-or-infinity.mjs";var s;function m(){if(s)return r;s=1;var m=e(),f=i(),_=t(),p=a(),u=o(),l=n(),y=m.aTypedArray,d=m.getTypedArrayConstructor,j=m.exportTypedArrayMethod,q=Math.max,c=Math.min;return j("toSpliced",function(r,e){var i,t,a,o,n,s,m,j=y(this),g=d(j),h=f(j),v=p(r,h),x=arguments.length,b=0;if(0===x)i=t=0;else if(1===x)i=0,t=h-v;else if(t=c(q(l(e),0),h-v),i=x-2){o=new g(i),a=_(o);for(var w=2;w<x;w++)n=arguments[w],o[w-2]=a?u(n):+n}for(m=new g(s=h+i-t);b<v;b++)m[b]=j[b];for(;b<v+i;b++)m[b]=o[b-v];for(;b<s;b++)m[b]=j[b+t-i];return m},!0),r}export{m as __require};