numpy-ts 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +52 -124
- package/dist/numpy-ts.browser.js +99 -1067
- package/dist/numpy-ts.esm.js +99 -1067
- package/dist/numpy-ts.node.cjs +125 -1078
- package/dist/types/core/broadcasting.d.ts +16 -13
- package/dist/types/core/ndarray.d.ts +176 -52
- package/dist/types/core/storage.d.ts +25 -18
- package/dist/types/internal/compute.d.ts +9 -0
- package/package.json +8 -4
package/dist/numpy-ts.esm.js
CHANGED
|
@@ -1,34 +1,10 @@
|
|
|
1
|
-
var qK=Object.create;var Bc=Object.defineProperty;var wK=Object.getOwnPropertyDescriptor;var SK=Object.getOwnPropertyNames;var EK=Object.getPrototypeOf,AK=Object.prototype.hasOwnProperty;var c=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports);var _K=(r,e,a,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of SK(e))!AK.call(r,o)&&o!==a&&Bc(r,o,{get:()=>e[o],enumerable:!(t=wK(e,o))||t.enumerable});return r};var ra=(r,e,a)=>(a=r!=null?qK(EK(r)):{},_K(e||!r||!r.__esModule?Bc(a,"default",{value:r,enumerable:!0}):a,r));var Rc=c((vXr,Fc)=>{"use strict";var TK=typeof Object.defineProperty=="function"?Object.defineProperty:null;Fc.exports=TK});var Vc=c((fXr,zc)=>{"use strict";var jK=Rc();function IK(){try{return jK({},"x",{}),!0}catch{return!1}}zc.exports=IK});var Cc=c((lXr,Uc)=>{"use strict";var OK=Object.defineProperty;Uc.exports=OK});var Cs=c((cXr,Pc)=>{"use strict";function NK(r){return typeof r=="number"}Pc.exports=NK});var Ps=c((dXr,Mc)=>{"use strict";function DK(r){return r[0]==="-"}function Lc(r){var e="",a;for(a=0;a<r;a++)e+="0";return e}function kK(r,e,a){var t=!1,o=e-r.length;return o<0||(DK(r)&&(t=!0,r=r.substr(1)),r=a?r+Lc(o):Lc(o)+r,t&&(r="-"+r)),r}Mc.exports=kK});var Wc=c((pXr,$c)=>{"use strict";var BK=Cs(),Gc=Ps(),FK=String.prototype.toLowerCase,Yc=String.prototype.toUpperCase;function RK(r){var e,a,t;switch(r.specifier){case"b":e=2;break;case"o":e=8;break;case"x":case"X":e=16;break;case"d":case"i":case"u":default:e=10;break}if(a=r.arg,t=parseInt(a,10),!isFinite(t)){if(!BK(a))throw new Error("invalid integer. Value: "+a);t=0}return t<0&&(r.specifier==="u"||e!==10)&&(t=4294967295+t+1),t<0?(a=(-t).toString(e),r.precision&&(a=Gc(a,r.precision,r.padRight)),a="-"+a):(a=t.toString(e),!t&&!r.precision?a="":r.precision&&(a=Gc(a,r.precision,r.padRight)),r.sign&&(a=r.sign+a)),e===16&&(r.alternate&&(a="0x"+a),a=r.specifier===Yc.call(r.specifier)?Yc.call(a):FK.call(a)),e===8&&r.alternate&&a.charAt(0)!=="0"&&(a="0"+a),a}$c.exports=RK});var Xc=c((yXr,Jc)=>{"use strict";function zK(r){return typeof r=="string"}Jc.exports=zK});var Zc=c((mXr,Hc)=>{"use strict";var VK=Cs(),UK=Math.abs,CK=String.prototype.toLowerCase,Kc=String.prototype.toUpperCase,Ft=String.prototype.replace,PK=/e\+(\d)$/,LK=/e-(\d)$/,MK=/^(\d+)$/,GK=/^(\d+)e/,YK=/\.0$/,$K=/\.0*e/,WK=/(\..*[^0])0*e/;function JK(r){var e,a,t=parseFloat(r.arg);if(!isFinite(t)){if(!VK(r.arg))throw new Error("invalid floating-point number. Value: "+a);t=r.arg}switch(r.specifier){case"e":case"E":a=t.toExponential(r.precision);break;case"f":case"F":a=t.toFixed(r.precision);break;case"g":case"G":UK(t)<1e-4?(e=r.precision,e>0&&(e-=1),a=t.toExponential(e)):a=t.toPrecision(r.precision),r.alternate||(a=Ft.call(a,WK,"$1e"),a=Ft.call(a,$K,"e"),a=Ft.call(a,YK,""));break;default:throw new Error("invalid double notation. Value: "+r.specifier)}return a=Ft.call(a,PK,"e+0$1"),a=Ft.call(a,LK,"e-0$1"),r.alternate&&(a=Ft.call(a,MK,"$1."),a=Ft.call(a,GK,"$1.e")),t>=0&&r.sign&&(a=r.sign+a),a=r.specifier===Kc.call(r.specifier)?Kc.call(a):CK.call(a),a}Hc.exports=JK});var ed=c((hXr,rd)=>{"use strict";function Qc(r){var e="",a;for(a=0;a<r;a++)e+=" ";return e}function XK(r,e,a){var t=e-r.length;return t<0||(r=a?r+Qc(t):Qc(t)+r),r}rd.exports=XK});var td=c((gXr,ad)=>{"use strict";var KK=Wc(),HK=Xc(),ZK=Zc(),QK=ed(),rH=Ps(),eH=String.fromCharCode,aH=Array.isArray;function Wo(r){return r!==r}function tH(r){var e={};return e.specifier=r.specifier,e.precision=r.precision===void 0?1:r.precision,e.width=r.width,e.flags=r.flags||"",e.mapping=r.mapping,e}function iH(r){var e,a,t,o,i,n,s,u,v;if(!aH(r))throw new TypeError("invalid argument. First argument must be an array. Value: `"+r+"`.");for(n="",s=1,u=0;u<r.length;u++)if(t=r[u],HK(t))n+=t;else{if(e=t.precision!==void 0,t=tH(t),!t.specifier)throw new TypeError("invalid argument. Token is missing `specifier` property. Index: `"+u+"`. Value: `"+t+"`.");for(t.mapping&&(s=t.mapping),a=t.flags,v=0;v<a.length;v++)switch(o=a.charAt(v),o){case" ":t.sign=" ";break;case"+":t.sign="+";break;case"-":t.padRight=!0,t.padZeros=!1;break;case"0":t.padZeros=a.indexOf("-")<0;break;case"#":t.alternate=!0;break;default:throw new Error("invalid flag: "+o)}if(t.width==="*"){if(t.width=parseInt(arguments[s],10),s+=1,Wo(t.width))throw new TypeError("the argument for * width at position "+s+" is not a number. Value: `"+t.width+"`.");t.width<0&&(t.padRight=!0,t.width=-t.width)}if(e&&t.precision==="*"){if(t.precision=parseInt(arguments[s],10),s+=1,Wo(t.precision))throw new TypeError("the argument for * precision at position "+s+" is not a number. Value: `"+t.precision+"`.");t.precision<0&&(t.precision=1,e=!1)}switch(t.arg=arguments[s],t.specifier){case"b":case"o":case"x":case"X":case"d":case"i":case"u":e&&(t.padZeros=!1),t.arg=KK(t);break;case"s":t.maxWidth=e?t.precision:-1,t.arg=String(t.arg);break;case"c":if(!Wo(t.arg)){if(i=parseInt(t.arg,10),i<0||i>127)throw new Error("invalid character code. Value: "+t.arg);t.arg=Wo(i)?String(t.arg):eH(i)}break;case"e":case"E":case"f":case"F":case"g":case"G":e||(t.precision=6),t.arg=ZK(t);break;default:throw new Error("invalid specifier: "+t.specifier)}t.maxWidth>=0&&t.arg.length>t.maxWidth&&(t.arg=t.arg.substring(0,t.maxWidth)),t.padZeros?t.arg=rH(t.arg,t.width||t.precision,t.padRight):t.width&&(t.arg=QK(t.arg,t.width,t.padRight)),n+=t.arg||"",s+=1}return n}ad.exports=iH});var od=c((bXr,id)=>{"use strict";var oH=td();id.exports=oH});var sd=c((xXr,nd)=>{"use strict";var Jo=/%(?:([1-9]\d*)\$)?([0 +\-#]*)(\*|\d+)?(?:(\.)(\*|\d+)?)?[hlL]?([%A-Za-z])/g;function nH(r){var e={mapping:r[1]?parseInt(r[1],10):void 0,flags:r[2],width:r[3],precision:r[5],specifier:r[6]};return r[4]==="."&&r[5]===void 0&&(e.precision="1"),e}function sH(r){var e,a,t,o;for(a=[],o=0,t=Jo.exec(r);t;)e=r.slice(o,Jo.lastIndex-t[0].length),e.length&&a.push(e),a.push(nH(t)),o=Jo.lastIndex,t=Jo.exec(r);return e=r.slice(o),e.length&&a.push(e),a}nd.exports=sH});var vd=c((qXr,ud)=>{"use strict";var uH=sd();ud.exports=uH});var ld=c((wXr,fd)=>{"use strict";function vH(r){return typeof r=="string"}fd.exports=vH});var pd=c((SXr,dd)=>{"use strict";var fH=od(),lH=vd(),cH=ld();function cd(r){var e,a;if(!cH(r))throw new TypeError(cd("invalid argument. First argument must be a string. Value: `%s`.",r));for(e=[lH(r)],a=1;a<arguments.length;a++)e.push(arguments[a]);return fH.apply(null,e)}dd.exports=cd});var pr=c((EXr,yd)=>{"use strict";var dH=pd();yd.exports=dH});var qd=c((AXr,xd)=>{"use strict";var md=pr(),ni=Object.prototype,hd=ni.toString,gd=ni.__defineGetter__,bd=ni.__defineSetter__,pH=ni.__lookupGetter__,yH=ni.__lookupSetter__;function mH(r,e,a){var t,o,i,n;if(typeof r!="object"||r===null||hd.call(r)==="[object Array]")throw new TypeError(md("invalid argument. First argument must be an object. Value: `%s`.",r));if(typeof a!="object"||a===null||hd.call(a)==="[object Array]")throw new TypeError(md("invalid argument. Property descriptor must be an object. Value: `%s`.",a));if(o="value"in a,o&&(pH.call(r,e)||yH.call(r,e)?(t=r.__proto__,r.__proto__=ni,delete r[e],r[e]=a.value,r.__proto__=t):r[e]=a.value),i="get"in a,n="set"in a,o&&(i||n))throw new Error("invalid argument. Cannot specify one or more accessors and a value or writable attribute in the property descriptor.");return i&&gd&&gd.call(r,e,a.get),n&&bd&&bd.call(r,e,a.set),r}xd.exports=mH});var Rt=c((_Xr,wd)=>{"use strict";var hH=Vc(),gH=Cc(),bH=qd(),Ls;hH()?Ls=gH:Ls=bH;wd.exports=Ls});var Ed=c((TXr,Sd)=>{"use strict";var xH=Rt();function qH(r,e,a){xH(r,e,{configurable:!1,enumerable:!0,writable:!1,value:a})}Sd.exports=qH});var zt=c((jXr,Ad)=>{"use strict";var wH=Ed();Ad.exports=wH});var Td=c((IXr,_d)=>{"use strict";var SH=Object.prototype.hasOwnProperty;function EH(r,e){return r==null?!1:SH.call(r,e)}_d.exports=EH});var Xr=c((OXr,jd)=>{"use strict";var AH=Td();jd.exports=AH});var Od=c((NXr,Id)=>{"use strict";function _H(){return typeof Symbol=="function"&&typeof Symbol("foo")=="symbol"}Id.exports=_H});var Ms=c((DXr,Nd)=>{"use strict";var TH=Od();Nd.exports=TH});var kd=c((kXr,Dd)=>{"use strict";var jH=Ms(),IH=jH();function OH(){return IH&&typeof Symbol.toStringTag=="symbol"}Dd.exports=OH});var si=c((BXr,Bd)=>{"use strict";var NH=kd();Bd.exports=NH});var Gs=c((FXr,Fd)=>{"use strict";var DH=Object.prototype.toString;Fd.exports=DH});var zd=c((RXr,Rd)=>{"use strict";var kH=Gs();function BH(r){return kH.call(r)}Rd.exports=BH});var Ud=c((zXr,Vd)=>{"use strict";var FH=typeof Symbol=="function"?Symbol:void 0;Vd.exports=FH});var Ys=c((VXr,Cd)=>{"use strict";var RH=Ud();Cd.exports=RH});var Md=c((UXr,Ld)=>{"use strict";var Pd=Ys(),zH=typeof Pd=="function"?Pd.toStringTag:"";Ld.exports=zH});var Yd=c((CXr,Gd)=>{"use strict";var VH=Xr(),Vi=Md(),$s=Gs();function UH(r){var e,a,t;if(r==null)return $s.call(r);a=r[Vi],e=VH(r,Vi);try{r[Vi]=void 0}catch{return $s.call(r)}return t=$s.call(r),e?r[Vi]=a:delete r[Vi],t}Gd.exports=UH});var me=c((PXr,$d)=>{"use strict";var CH=si(),PH=zd(),LH=Yd(),Ws;CH()?Ws=LH:Ws=PH;$d.exports=Ws});var Jd=c((LXr,Wd)=>{"use strict";var MH=me(),Js;function GH(r){return MH(r)==="[object Array]"}Array.isArray?Js=Array.isArray:Js=GH;Wd.exports=Js});var wa=c((MXr,Xd)=>{"use strict";var YH=Jd();Xd.exports=YH});var Hd=c((GXr,Kd)=>{"use strict";var $H=wa();function WH(r){return typeof r=="object"&&r!==null&&!$H(r)}Kd.exports=WH});var Ui=c((YXr,Zd)=>{"use strict";var JH=Hd();Zd.exports=JH});var r0=c(($Xr,Qd)=>{"use strict";var XH=/./;Qd.exports=XH});var a0=c((WXr,e0)=>{"use strict";var KH=Rt();function HH(r,e,a){KH(r,e,{configurable:!1,enumerable:!1,writable:!1,value:a})}e0.exports=HH});var Ir=c((JXr,t0)=>{"use strict";var ZH=a0();t0.exports=ZH});var Xs=c((XXr,i0)=>{"use strict";function QH(r){return typeof r=="boolean"}i0.exports=QH});var n0=c((KXr,o0)=>{"use strict";var rZ=Boolean;o0.exports=rZ});var Vt=c((HXr,s0)=>{"use strict";var eZ=n0();s0.exports=eZ});var v0=c((ZXr,u0)=>{"use strict";var aZ=Boolean.prototype.toString;u0.exports=aZ});var l0=c((QXr,f0)=>{"use strict";var tZ=v0();function iZ(r){try{return tZ.call(r),!0}catch{return!1}}f0.exports=iZ});var Ks=c((rKr,c0)=>{"use strict";var oZ=si(),nZ=me(),sZ=Vt(),uZ=l0(),vZ=oZ();function fZ(r){return typeof r=="object"?r instanceof sZ?!0:vZ?uZ(r):nZ(r)==="[object Boolean]":!1}c0.exports=fZ});var p0=c((eKr,d0)=>{"use strict";var lZ=Xs(),cZ=Ks();function dZ(r){return lZ(r)||cZ(r)}d0.exports=dZ});var pe=c((aKr,m0)=>{"use strict";var y0=Ir(),Hs=p0(),pZ=Xs(),yZ=Ks();y0(Hs,"isPrimitive",pZ);y0(Hs,"isObject",yZ);m0.exports=Hs});var g0=c((tKr,h0)=>{"use strict";function mZ(){return new Function("return this;")()}h0.exports=mZ});var x0=c((iKr,b0)=>{"use strict";var hZ=typeof self=="object"?self:null;b0.exports=hZ});var w0=c((oKr,q0)=>{"use strict";var gZ=typeof window=="object"?window:null;q0.exports=gZ});var E0=c((nKr,S0)=>{"use strict";var bZ=typeof globalThis=="object"?globalThis:null;S0.exports=bZ});var Zs=c((sKr,j0)=>{"use strict";var xZ=pe().isPrimitive,qZ=pr(),wZ=g0(),A0=x0(),_0=w0(),T0=E0();function SZ(r){if(arguments.length){if(!xZ(r))throw new TypeError(qZ("invalid argument. Must provide a boolean. Value: `%s`.",r));if(r)return wZ()}if(T0)return T0;if(A0)return A0;if(_0)return _0;throw new Error("unexpected error. Unable to resolve global object.")}j0.exports=SZ});var N0=c((uKr,O0)=>{"use strict";var EZ=Zs(),I0=EZ(),AZ=I0.document&&I0.document.childNodes;O0.exports=AZ});var k0=c((vKr,D0)=>{"use strict";var _Z=Int8Array;D0.exports=_Z});var F0=c((fKr,B0)=>{"use strict";var TZ=r0(),jZ=N0(),IZ=k0();function OZ(){return typeof TZ=="function"||typeof IZ=="object"||typeof jZ=="function"}B0.exports=OZ});var Qs=c((lKr,R0)=>{"use strict";function NZ(){return/^\s*function\s*([^(]*)/i}R0.exports=NZ});var V0=c((cKr,z0)=>{"use strict";var DZ=Qs(),kZ=DZ();z0.exports=kZ});var P0=c((dKr,C0)=>{"use strict";var BZ=Ir(),U0=Qs(),FZ=V0();BZ(U0,"REGEXP",FZ);C0.exports=U0});var M0=c((pKr,L0)=>{"use strict";var RZ=wa(),zZ=pr();function VZ(r){if(typeof r!="function")throw new TypeError(zZ("invalid argument. Must provide a function. Value: `%s`.",r));return e;function e(a){var t,o;if(!RZ(a)||(t=a.length,t===0))return!1;for(o=0;o<t;o++)if(r(a[o])===!1)return!1;return!0}}L0.exports=VZ});var ru=c((yKr,G0)=>{"use strict";var UZ=M0();G0.exports=UZ});var $0=c((mKr,Y0)=>{"use strict";function CZ(r){return r!==null&&typeof r=="object"}Y0.exports=CZ});var Xo=c((hKr,W0)=>{"use strict";var PZ=Ir(),LZ=ru(),eu=$0(),MZ=LZ(eu);PZ(eu,"isObjectLikeArray",MZ);W0.exports=eu});var X0=c((gKr,J0)=>{"use strict";var GZ=Xo();function YZ(r){return GZ(r)&&(r._isBuffer||r.constructor&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r))}J0.exports=YZ});var Ci=c((bKr,K0)=>{"use strict";var $Z=X0();K0.exports=$Z});var Z0=c((xKr,H0)=>{"use strict";var WZ=me(),JZ=P0().REGEXP,XZ=Ci();function KZ(r){var e,a,t;if(a=WZ(r).slice(8,-1),(a==="Object"||a==="Error")&&r.constructor){if(t=r.constructor,typeof t.name=="string")return t.name;if(e=JZ.exec(t.toString()),e)return e[1]}return XZ(r)?"Buffer":a}H0.exports=KZ});var gt=c((qKr,Q0)=>{"use strict";var HZ=Z0();Q0.exports=HZ});var ep=c((wKr,rp)=>{"use strict";var ZZ=gt();function QZ(r){var e;return r===null?"null":(e=typeof r,e==="object"?ZZ(r).toLowerCase():e)}rp.exports=QZ});var tp=c((SKr,ap)=>{"use strict";var rQ=gt();function eQ(r){return rQ(r).toLowerCase()}ap.exports=eQ});var ui=c((EKr,ip)=>{"use strict";var aQ=F0(),tQ=ep(),iQ=tp(),oQ=aQ()?iQ:tQ;ip.exports=oQ});var np=c((AKr,op)=>{"use strict";var nQ=ui();function sQ(r){return nQ(r)==="function"}op.exports=sQ});var Pe=c((_Kr,sp)=>{"use strict";var uQ=np();sp.exports=uQ});var vp=c((TKr,up)=>{"use strict";var vQ=Object;up.exports=vQ});var Ut=c((jKr,fp)=>{"use strict";var fQ=vp();fp.exports=fQ});var cp=c((IKr,lp)=>{"use strict";var lQ=Object.getPrototypeOf;lp.exports=lQ});var pp=c((OKr,dp)=>{"use strict";function cQ(r){return r.__proto__}dp.exports=cQ});var mp=c((NKr,yp)=>{"use strict";var dQ=me(),pQ=pp();function yQ(r){var e=pQ(r);return e||e===null?e:dQ(r.constructor)==="[object Function]"?r.constructor.prototype:r instanceof Object?Object.prototype:null}yp.exports=yQ});var gp=c((DKr,hp)=>{"use strict";var mQ=Pe(),hQ=cp(),gQ=mp(),au;mQ(Object.getPrototypeOf)?au=hQ:au=gQ;hp.exports=au});var xp=c((kKr,bp)=>{"use strict";var bQ=Ut(),xQ=gp();function qQ(r){return r==null?null:(r=bQ(r),xQ(r))}bp.exports=qQ});var Ct=c((BKr,qp)=>{"use strict";var wQ=xp();qp.exports=wQ});var Ep=c((FKr,Sp)=>{"use strict";var SQ=Ui(),wp=Pe(),EQ=Ct(),Ko=Xr(),AQ=me(),_Q=Object.prototype;function TQ(r){var e;for(e in r)if(!Ko(r,e))return!1;return!0}function jQ(r){var e;return SQ(r)?(e=EQ(r),e?!Ko(r,"constructor")&&Ko(e,"constructor")&&wp(e.constructor)&&AQ(e.constructor)==="[object Function]"&&Ko(e,"isPrototypeOf")&&wp(e.isPrototypeOf)&&(e===_Q||TQ(r)):!0):!1}Sp.exports=jQ});var ne=c((RKr,Ap)=>{"use strict";var IQ=Ep();Ap.exports=IQ});var tu=c((zKr,_p)=>{"use strict";function OQ(r){return typeof r=="number"}_p.exports=OQ});var jp=c((VKr,Tp)=>{"use strict";Tp.exports=Number});var Ho=c((UKr,Ip)=>{"use strict";var NQ=jp();Ip.exports=NQ});var Np=c((CKr,Op)=>{"use strict";var DQ=Ho(),kQ=DQ.prototype.toString;Op.exports=kQ});var kp=c((PKr,Dp)=>{"use strict";var BQ=Np();function FQ(r){try{return BQ.call(r),!0}catch{return!1}}Dp.exports=FQ});var iu=c((LKr,Bp)=>{"use strict";var RQ=si(),zQ=me(),VQ=Ho(),UQ=kp(),CQ=RQ();function PQ(r){return typeof r=="object"?r instanceof VQ?!0:CQ?UQ(r):zQ(r)==="[object Number]":!1}Bp.exports=PQ});var Rp=c((MKr,Fp)=>{"use strict";var LQ=tu(),MQ=iu();function GQ(r){return LQ(r)||MQ(r)}Fp.exports=GQ});var Ge=c((GKr,Vp)=>{"use strict";var zp=Ir(),ou=Rp(),YQ=tu(),$Q=iu();zp(ou,"isPrimitive",YQ);zp(ou,"isObject",$Q);Vp.exports=ou});var Pi=c((YKr,Up)=>{"use strict";var WQ=Number.POSITIVE_INFINITY;Up.exports=WQ});var Zo=c(($Kr,Cp)=>{"use strict";var JQ=Ho(),XQ=JQ.NEGATIVE_INFINITY;Cp.exports=XQ});var Lp=c((WKr,Pp)=>{"use strict";var KQ=Math.floor;Pp.exports=KQ});var ea=c((JKr,Mp)=>{"use strict";var HQ=Lp();Mp.exports=HQ});var Yp=c((XKr,Gp)=>{"use strict";var ZQ=ea();function QQ(r){return ZQ(r)===r}Gp.exports=QQ});var Sa=c((KKr,$p)=>{"use strict";var rrr=Yp();$p.exports=rrr});var nu=c((HKr,Wp)=>{"use strict";var err=Pi(),arr=Zo(),trr=Sa();function irr(r){return r<err&&r>arr&&trr(r)}Wp.exports=irr});var su=c((ZKr,Jp)=>{"use strict";var orr=Ge().isPrimitive,nrr=nu();function srr(r){return orr(r)&&nrr(r)}Jp.exports=srr});var uu=c((QKr,Xp)=>{"use strict";var urr=Ge().isObject,vrr=nu();function frr(r){return urr(r)&&vrr(r.valueOf())}Xp.exports=frr});var Hp=c((rHr,Kp)=>{"use strict";var lrr=su(),crr=uu();function drr(r){return lrr(r)||crr(r)}Kp.exports=drr});var fe=c((eHr,Qp)=>{"use strict";var Zp=Ir(),vu=Hp(),prr=su(),yrr=uu();Zp(vu,"isPrimitive",prr);Zp(vu,"isObject",yrr);Qp.exports=vu});var fu=c((aHr,ry)=>{"use strict";var mrr=fe().isPrimitive;function hrr(r){return mrr(r)&&r>=0}ry.exports=hrr});var lu=c((tHr,ey)=>{"use strict";var grr=fe().isObject;function brr(r){return grr(r)&&r.valueOf()>=0}ey.exports=brr});var ty=c((iHr,ay)=>{"use strict";var xrr=fu(),qrr=lu();function wrr(r){return xrr(r)||qrr(r)}ay.exports=wrr});var ge=c((oHr,oy)=>{"use strict";var iy=Ir(),cu=ty(),Srr=fu(),Err=lu();iy(cu,"isPrimitive",Srr);iy(cu,"isObject",Err);oy.exports=cu});var uy=c((nHr,sy)=>{"use strict";var Arr=Zs(),ny=Arr();function _rr(){return typeof ny.BigInt=="function"&&typeof BigInt=="function"&&typeof ny.BigInt("1")=="bigint"&&typeof BigInt("1")=="bigint"}sy.exports=_rr});var du=c((sHr,vy)=>{"use strict";var Trr=uy();vy.exports=Trr});var ly=c((uHr,fy)=>{"use strict";var jrr=Rt();function Irr(r,e,a){jrr(r,e,{configurable:!1,enumerable:!1,get:a})}fy.exports=Irr});var bt=c((vHr,cy)=>{"use strict";var Orr=ly();cy.exports=Orr});var dy=c((fHr,Nrr)=>{Nrr.exports={binary:1,bool:1,complex64:8,complex128:16,float16:2,bfloat16:2,float32:4,float64:8,float128:16,generic:null,int8:1,int16:2,int32:4,int64:8,int128:16,int256:32,uint8:1,uint8c:1,uint16:2,uint32:4,uint64:8,uint128:16,uint256:32}});var yy=c((lHr,py)=>{"use strict";var Drr=dy();function krr(r){return Drr[r]||null}py.exports=krr});var xt=c((cHr,my)=>{"use strict";var Brr=yy();my.exports=Brr});var gy=c((dHr,hy)=>{"use strict";function Frr(r){var e,a;for(e=0,a=0;a<r.length;a++)r[a]<0&&(e+=1);return e===0?1:e===r.length?-1:0}hy.exports=Frr});var Ea=c((pHr,by)=>{"use strict";var Rrr=gy();by.exports=Rrr});var qy=c((yHr,xy)=>{"use strict";function zrr(r){return Math.abs(r)}xy.exports=zrr});var vi=c((mHr,wy)=>{"use strict";var Vrr=qy();wy.exports=Vrr});var Ay=c((hHr,Ey)=>{"use strict";var Sy=vi();function Urr(r){var e,a,t,o,i,n;if(a=r.length,a===0)return 0;for(e=!0,t=!0,o=Sy(r[0]),n=1;n<a;n++)if(i=Sy(r[n]),e&&i<o?e=!1:t&&i>o&&(t=!1),t||e)o=i;else return 0;return t&&e?3:t?1:2}Ey.exports=Urr});var Pt=c((gHr,_y)=>{"use strict";var Crr=Ay();_y.exports=Crr});var jy=c((bHr,Ty)=>{"use strict";function Prr(r,e){return e&&(r===2||r===3)}Ty.exports=Prr});var Oy=c((xHr,Iy)=>{"use strict";function Lrr(r,e){return e&&(r===1||r===3)}Iy.exports=Lrr});var Dy=c((qHr,Ny)=>{"use strict";function Mrr(r,e,a){var t,o,i,n,s;for(t=r.length,o=a,i=a,s=0;s<t;s++){if(r[s]===0)return[a,a];n=e[s],n>0?i+=n*(r[s]-1):n<0&&(o+=n*(r[s]-1))}return[o,i]}Ny.exports=Mrr});var By=c((wHr,ky)=>{"use strict";function Grr(r,e,a,t){var o,i,n,s,u;for(o=r.length,i=a,n=a,u=0;u<o;u++){if(r[u]===0)return t[0]=a,t[1]=a,t;s=e[u],s>0?n+=s*(r[u]-1):s<0&&(i+=s*(r[u]-1))}return t[0]=i,t[1]=n,t}ky.exports=Grr});var et=c((SHr,Ry)=>{"use strict";var Yrr=Ir(),Fy=Dy(),$rr=By();Yrr(Fy,"assign",$rr);Ry.exports=Fy});var Vy=c((EHr,zy)=>{"use strict";var Wrr=et();function Jrr(r,e,a,t,o){var i;return r===0||o===0?!1:(i=Wrr(e,a,t),r===i[1]-i[0]+1)}zy.exports=Jrr});var Cy=c((AHr,Uy)=>{"use strict";function Xrr(r){return{ROW_MAJOR_CONTIGUOUS:r.ROW_MAJOR_CONTIGUOUS,COLUMN_MAJOR_CONTIGUOUS:r.COLUMN_MAJOR_CONTIGUOUS,READONLY:r.READONLY}}Uy.exports=Xrr});var Ly=c((_Hr,Py)=>{"use strict";function Krr(r){var e,a,t,o,i,n;if(t=this._ndims,t===0)return this._accessors?this._buffer.get(this._offset):this._buffer[this._offset];if(this._flags.ROW_MAJOR_CONTIGUOUS||this._flags.COLUMN_MAJOR_CONTIGUOUS){if(this._iterationOrder===1)return this._accessors?this._buffer.get(this._offset+r):this._buffer[this._offset+r];if(this._iterationOrder===-1)return this._accessors?this._buffer.get(this.offset-r):this._buffer[this._offset-r]}if(a=this._shape,e=this._strides,o=this._offset,this._order==="column-major"){for(n=0;n<t;n++)i=r%a[n],r-=i,r/=a[n],o+=i*e[n];return this._accessors?this._buffer.get(o):this._buffer[o]}for(n=t-1;n>=0;n--)i=r%a[n],r-=i,r/=a[n],o+=i*e[n];return this._accessors?this._buffer.get(o):this._buffer[o]}Py.exports=Krr});var Gy=c((THr,My)=>{"use strict";function Hrr(r,e){var a,t,o,i,n,s;if(o=this._ndims,o===0)return this._accessors?this._buffer.set(r,this._offset):this._buffer[this._offset]=r,this;if(this._flags.ROW_MAJOR_CONTIGUOUS||this._flags.COLUMN_MAJOR_CONTIGUOUS){if(this._iterationOrder===1)return this._accessors?this._buffer.set(e,this._offset+r):this._buffer[this._offset+r]=e,this;if(this._iterationOrder===-1)return this._accessors?this._buffer.set(e,this._offset-r):this._buffer[this._offset-r]=e,this}if(t=this._shape,a=this._strides,i=this._offset,this._order==="column-major"){for(s=0;s<o;s++)n=r%t[s],r-=n,r/=t[s],i+=n*a[s];return this._accessors?this._buffer.set(e,i):this._buffer[i]=e,this}for(s=o-1;s>=0;s--)n=r%t[s],r-=n,r/=t[s],i+=n*a[s];return this._accessors?this._buffer.set(e,i):this._buffer[i]=e,this}My.exports=Hrr});var $y=c((jHr,Yy)=>{"use strict";function Zrr(){var r,e;for(r=this._offset,e=0;e<arguments.length-1;e++)r+=this._strides[e]*arguments[e];return this._accessors?this._buffer.set(arguments[e],r):this._buffer[r]=arguments[e],this}Yy.exports=Zrr});var Jy=c((IHr,Wy)=>{"use strict";function Qrr(){var r,e;for(r=this._offset,e=0;e<arguments.length;e++)r+=this._strides[e]*arguments[e];return this._accessors?this._buffer.get(r):this._buffer[r]}Wy.exports=Qrr});var Ky=c((OHr,Xy)=>{"use strict";function rer(r){return r.re}Xy.exports=rer});var Lt=c((NHr,Hy)=>{"use strict";var eer=Ky();Hy.exports=eer});var Qy=c((DHr,Zy)=>{"use strict";function aer(r){return r.im}Zy.exports=aer});var Mt=c((kHr,rm)=>{"use strict";var ter=Qy();rm.exports=ter});var am=c((BHr,em)=>{"use strict";var ier=Lt(),oer=Mt();function ner(){var r,e,a,t;for(e=this._length,r={},r.type="ndarray",r.dtype=this.dtype,r.flags={READONLY:this._flags.READONLY},r.order=this._order,r.shape=this._shape.slice(),r.strides=this._strides.slice(),t=0;t<e;t++)r.strides[t]<0&&(r.strides[t]*=-1);if(r.data=[],r.dtype==="complex64"||r.dtype==="complex128")for(t=0;t<e;t++)a=this.iget(t),r.data.push(ier(a),oer(a));else for(t=0;t<e;t++)r.data.push(this.iget(t));return r}em.exports=ner});var pu=c((FHr,tm)=>{"use strict";function ser(r){return typeof r=="string"}tm.exports=ser});var om=c((RHr,im)=>{"use strict";var uer=String.prototype.valueOf;im.exports=uer});var sm=c((zHr,nm)=>{"use strict";var ver=om();function fer(r){try{return ver.call(r),!0}catch{return!1}}nm.exports=fer});var yu=c((VHr,um)=>{"use strict";var ler=si(),cer=me(),der=sm(),per=ler();function yer(r){return typeof r=="object"?r instanceof String?!0:per?der(r):cer(r)==="[object String]":!1}um.exports=yer});var fm=c((UHr,vm)=>{"use strict";var mer=pu(),her=yu();function ger(r){return mer(r)||her(r)}vm.exports=ger});var Pa=c((CHr,cm)=>{"use strict";var lm=Ir(),mu=fm(),ber=pu(),xer=yu();lm(mu,"isPrimitive",ber);lm(mu,"isObject",xer);cm.exports=mu});var ym=c((PHr,pm)=>{"use strict";var qer=Pa().isPrimitive,wer=pr(),dm=/[-\/\\^$*+?.()|[\]{}]/g;function Ser(r){var e,a,t;if(!qer(r))throw new TypeError(wer("invalid argument. Must provide a regular expression string. Value: `%s`.",r));if(r[0]==="/")for(e=r.length,t=e-1;t>=0&&r[t]!=="/";t--);return t===void 0||t<=0?r.replace(dm,"\\$&"):(a=r.substring(1,t),a=a.replace(dm,"\\$&"),r=r[0]+a+r.substring(t),r)}pm.exports=Ser});var hm=c((LHr,mm)=>{"use strict";var Eer=ym();mm.exports=Eer});var bm=c((MHr,gm)=>{"use strict";var Aer=RegExp.prototype.exec;gm.exports=Aer});var qm=c((GHr,xm)=>{"use strict";var _er=bm();function Ter(r){try{return _er.call(r),!0}catch{return!1}}xm.exports=Ter});var Sm=c((YHr,wm)=>{"use strict";var jer=si(),Ier=me(),Oer=qm(),Ner=jer();function Der(r){return typeof r=="object"?r instanceof RegExp?!0:Ner?Oer(r):Ier(r)==="[object RegExp]":!1}wm.exports=Der});var Am=c(($Hr,Em)=>{"use strict";var ker=Sm();Em.exports=ker});var Tm=c((WHr,_m)=>{"use strict";function Ber(r,e,a){return r.replace(e,a)}_m.exports=Ber});var at=c((JHr,jm)=>{"use strict";var Fer=Tm();jm.exports=Fer});var Om=c((XHr,Im)=>{"use strict";var Rer=hm(),zer=Pe(),hu=Pa().isPrimitive,Ver=Am(),gu=pr(),Uer=at();function Cer(r,e,a){if(!hu(r))throw new TypeError(gu("invalid argument. First argument must be a string. Value: `%s`.",r));if(hu(e))e=new RegExp(Rer(e),"g");else if(!Ver(e))throw new TypeError(gu("invalid argument. Second argument must be a string or regular expression. Value: `%s`.",e));if(!hu(a)&&!zer(a))throw new TypeError(gu("invalid argument. Third argument must be a string or replacement function. Value: `%s`.",a));return Uer(r,e,a)}Im.exports=Cer});var Dm=c((KHr,Nm)=>{"use strict";var Per=Om();Nm.exports=Per});var Bm=c((HHr,km)=>{"use strict";var Ler=Dm(),bu=Lt(),xu=Mt(),Mer={int8:"new Int8Array( [ {{data}} ] )",uint8:"new Uint8Array( [ {{data}} ] )",uint8c:"new Uint8ClampedArray( [ {{data}} ] )",int16:"new Int16Array( [ {{data}} ] )",uint16:"new Uint16Array( [ {{data}} ] )",int32:"new Int32Array( [ {{data}} ] )",uint32:"new Uint32Array( [ {{data}} ] )",float32:"new Float32Array( [ {{data}} ] )",float64:"new Float64Array( [ {{data}} ] )",generic:"[ {{data}} ]",binary:"new Buffer( [ {{data}} ] )",complex64:"new Complex64Array( [ {{data}} ] )",complex128:"new Complex128Array( [ {{data}} ] )"};function Ger(){var r,e,a,t,o,i,n;if(e=this._shape.length,o=this._dtype,t="ndarray( '"+o+"', ",r="",this._length<=100)if(o==="complex64"||o==="complex128")for(n=0;n<this._length;n++)i=this.iget(n),r+=bu(i)+", "+xu(i),n<this._length-1&&(r+=", ");else for(n=0;n<this._length;n++)r+=this.iget(n),n<this._length-1&&(r+=", ");else{if(o==="complex64"||o==="complex128")for(n=0;n<3;n++)i=this.iget(n),r+=bu(i)+", "+xu(i),n<2&&(r+=", ");else for(n=0;n<3;n++)r+=this.iget(n),n<2&&(r+=", ");if(r+=", ..., ",o==="complex64"||o==="complex128")for(n=2;n>=0;n--)i=this.iget(this._length-1-n),r+=bu(i)+", "+xu(i),n>0&&(r+=", ");else for(n=2;n>=0;n--)r+=this.iget(this._length-1-n),n>0&&(r+=", ")}if(a=Mer[this.dtype],t+=Ler(a,"{{data}}",r),t+=", ",e===0?t+="[]":t+="[ "+this._shape.join(", ")+" ]",t+=", ",t+="[ ",e===0)t+="0";else for(n=0;n<e;n++)this._strides[n]<0?t+=-this._strides[n]:t+=this._strides[n],n<e-1&&(t+=", ");return t+=" ]",t+=", ",t+="0",t+=", ",t+="'"+this._order+"'",t+=" )",t}km.exports=Ger});var Rm=c((ZHr,Fm)=>{"use strict";var Yer=me(),$er=typeof Uint8Array=="function";function Wer(r){return $er&&r instanceof Uint8Array||Yer(r)==="[object Uint8Array]"}Fm.exports=Wer});var Vm=c((QHr,zm)=>{"use strict";var Jer=Rm();zm.exports=Jer});var qu=c((rZr,Um)=>{"use strict";var Xer=255;Um.exports=Xer});var Pm=c((eZr,Cm)=>{"use strict";var Ker=typeof Uint8Array=="function"?Uint8Array:null;Cm.exports=Ker});var Gm=c((aZr,Mm)=>{"use strict";var Her=Vm(),wu=qu(),Lm=Pm();function Zer(){var r,e;if(typeof Lm!="function")return!1;try{e=[1,3.14,-3.14,wu+1,wu+2],e=new Lm(e),r=Her(e)&&e[0]===1&&e[1]===3&&e[2]===wu-2&&e[3]===0&&e[4]===1}catch{r=!1}return r}Mm.exports=Zer});var $m=c((tZr,Ym)=>{"use strict";var Qer=Gm();Ym.exports=Qer});var Jm=c((iZr,Wm)=>{"use strict";var rar=typeof Uint8Array=="function"?Uint8Array:void 0;Wm.exports=rar});var Km=c((oZr,Xm)=>{"use strict";function ear(){throw new Error("not implemented")}Xm.exports=ear});var va=c((nZr,Hm)=>{"use strict";var aar=$m(),tar=Jm(),iar=Km(),Su;aar()?Su=tar:Su=iar;Hm.exports=Su});var Qm=c((sZr,Zm)=>{"use strict";var oar=me(),nar=typeof Uint16Array=="function";function sar(r){return nar&&r instanceof Uint16Array||oar(r)==="[object Uint16Array]"}Zm.exports=sar});var eh=c((uZr,rh)=>{"use strict";var uar=Qm();rh.exports=uar});var Eu=c((vZr,ah)=>{"use strict";var far=65535;ah.exports=far});var ih=c((fZr,th)=>{"use strict";var lar=typeof Uint16Array=="function"?Uint16Array:null;th.exports=lar});var sh=c((lZr,nh)=>{"use strict";var car=eh(),Au=Eu(),oh=ih();function dar(){var r,e;if(typeof oh!="function")return!1;try{e=[1,3.14,-3.14,Au+1,Au+2],e=new oh(e),r=car(e)&&e[0]===1&&e[1]===3&&e[2]===Au-2&&e[3]===0&&e[4]===1}catch{r=!1}return r}nh.exports=dar});var vh=c((cZr,uh)=>{"use strict";var par=sh();uh.exports=par});var lh=c((dZr,fh)=>{"use strict";var yar=typeof Uint16Array=="function"?Uint16Array:void 0;fh.exports=yar});var dh=c((pZr,ch)=>{"use strict";function mar(){throw new Error("not implemented")}ch.exports=mar});var fi=c((yZr,ph)=>{"use strict";var har=vh(),gar=lh(),bar=dh(),_u;har()?_u=gar:_u=bar;ph.exports=_u});var mh=c((mZr,yh)=>{"use strict";var xar=va(),qar=fi(),war={uint16:qar,uint8:xar};yh.exports=war});var xh=c((hZr,bh)=>{"use strict";var hh=mh(),gh;function Sar(){var r,e;return r=new hh.uint16(1),r[0]=4660,e=new hh.uint8(r.buffer),e[0]===52}gh=Sar();bh.exports=gh});var Gt=c((gZr,qh)=>{"use strict";var Ear=xh();qh.exports=Ear});var Sh=c((bZr,wh)=>{"use strict";var Aar=me(),_ar=typeof ArrayBuffer=="function";function Tar(r){return _ar&&r instanceof ArrayBuffer||Aar(r)==="[object ArrayBuffer]"}wh.exports=Tar});var Li=c((xZr,Eh)=>{"use strict";var jar=Sh();Eh.exports=jar});var _h=c((qZr,Ah)=>{"use strict";var Iar=me(),Oar=typeof Float64Array=="function";function Nar(r){return Oar&&r instanceof Float64Array||Iar(r)==="[object Float64Array]"}Ah.exports=Nar});var jh=c((wZr,Th)=>{"use strict";var Dar=_h();Th.exports=Dar});var Oh=c((SZr,Ih)=>{"use strict";var kar=typeof Float64Array=="function"?Float64Array:null;Ih.exports=kar});var kh=c((EZr,Dh)=>{"use strict";var Bar=jh(),Nh=Oh();function Far(){var r,e;if(typeof Nh!="function")return!1;try{e=new Nh([1,3.14,-3.14,NaN]),r=Bar(e)&&e[0]===1&&e[1]===3.14&&e[2]===-3.14&&e[3]!==e[3]}catch{r=!1}return r}Dh.exports=Far});var Fh=c((AZr,Bh)=>{"use strict";var Rar=kh();Bh.exports=Rar});var zh=c((_Zr,Rh)=>{"use strict";var zar=typeof Float64Array=="function"?Float64Array:void 0;Rh.exports=zar});var Uh=c((TZr,Vh)=>{"use strict";function Var(){throw new Error("not implemented")}Vh.exports=Var});var qt=c((jZr,Ch)=>{"use strict";var Uar=Fh(),Car=zh(),Par=Uh(),Tu;Uar()?Tu=Car:Tu=Par;Ch.exports=Tu});var Lh=c((IZr,Ph)=>{"use strict";var Lar=typeof ArrayBuffer=="function"?ArrayBuffer:null;Ph.exports=Lar});var Gh=c((OZr,Mh)=>{"use strict";var Mar=Li(),Gar=qt(),Qo=Lh();function Yar(){var r,e,a;if(typeof Qo!="function")return!1;try{a=new Qo(16),r=Mar(a)&&typeof Qo.isView=="function",r&&(e=new Gar(a),e[0]=-3.14,e[1]=NaN,r=r&&Qo.isView(e)&&a.byteLength===16&&e[0]===-3.14&&e[1]!==e[1])}catch{r=!1}return r}Mh.exports=Yar});var $h=c((NZr,Yh)=>{"use strict";var $ar=Gh();Yh.exports=$ar});var Jh=c((DZr,Wh)=>{"use strict";var War=typeof ArrayBuffer=="function"?ArrayBuffer:void 0;Wh.exports=War});var Kh=c((kZr,Xh)=>{"use strict";function Jar(){throw new Error("not implemented")}Xh.exports=Jar});var li=c((BZr,Hh)=>{"use strict";var Xar=$h(),Kar=Jh(),Har=Kh(),ju;Xar()?ju=Kar:ju=Har;Hh.exports=ju});var Qh=c((FZr,Zh)=>{"use strict";var Zar=me(),Qar=typeof DataView=="function";function rtr(r){return Qar&&r instanceof DataView||Zar(r)==="[object DataView]"}Zh.exports=rtr});var e1=c((RZr,r1)=>{"use strict";var etr=Qh();r1.exports=etr});var t1=c((zZr,a1)=>{"use strict";var atr=typeof DataView=="function"?DataView:null;a1.exports=atr});var n1=c((VZr,o1)=>{"use strict";var ttr=e1(),itr=li(),i1=t1();function otr(){var r,e,a;if(typeof i1!="function")return!1;try{a=new itr(24),e=new i1(a,8),r=ttr(e)&&typeof e.getFloat64=="function"&&typeof e.setFloat64=="function",r&&(e.setFloat64(0,-3.14),e.setFloat64(8,NaN),r=r&&e.buffer===a&&e.byteLength===16&&e.byteOffset===8&&e.getFloat64(0)===-3.14&&e.getFloat64(8)!==e.getFloat64(8))}catch{r=!1}return r}o1.exports=otr});var u1=c((UZr,s1)=>{"use strict";var ntr=n1();s1.exports=ntr});var f1=c((CZr,v1)=>{"use strict";var str=typeof DataView=="function"?DataView:void 0;v1.exports=str});var c1=c((PZr,l1)=>{"use strict";function utr(){throw new Error("not implemented")}l1.exports=utr});var Yt=c((LZr,d1)=>{"use strict";var vtr=u1(),ftr=f1(),ltr=c1(),Iu;vtr()?Iu=ftr:Iu=ltr;d1.exports=Iu});var y1=c((MZr,p1)=>{"use strict";var ctr=typeof BigInt=="function"?BigInt:void 0;p1.exports=ctr});var Ou=c((GZr,m1)=>{"use strict";var dtr=y1();m1.exports=dtr});var h1=c((YZr,ptr)=>{ptr.exports={all:["binary","bool","complex64","complex128","float32","float64","generic","int16","int32","int8","uint16","uint32","uint8","uint8c"],typed:["binary","bool","complex64","complex128","float32","float64","int16","int32","int8","uint16","uint32","uint8","uint8c"],floating_point:["complex64","complex128","float32","float64"],real_floating_point:["float32","float64"],complex_floating_point:["complex64","complex128"],boolean:["bool"],integer:["int16","int32","int8","uint16","uint32","uint8","uint8c"],signed_integer:["int16","int32","int8"],unsigned_integer:["uint16","uint32","uint8","uint8c"],real:["float32","float64","int16","int32","int8","uint16","uint32","uint8","uint8c"],numeric:["complex64","complex128","float32","float64","int16","int32","int8","uint16","uint32","uint8","uint8c"]}});var q1=c(($Zr,x1)=>{"use strict";var ytr=at(),g1=h1(),b1=/_and_generic$/;function mtr(){var r,e,a;return arguments.length===0?g1.all.slice():(a=!1,r=arguments[0],b1.test(r)&&(r=ytr(r,b1,""),r!=="all"&&(a=!0)),e=g1[r],e=e?e.slice():[],a&&e.length>0&&e.push("generic"),e)}x1.exports=mtr});var S1=c((WZr,w1)=>{"use strict";function htr(){return{bool:0,int8:1,uint8:2,uint8c:3,int16:4,uint16:5,int32:6,uint32:7,int64:8,uint64:9,float32:10,float64:11,complex64:12,complex128:13,binary:14,generic:15,notype:17,userdefined_type:256}}w1.exports=htr});var rn=c((JZr,E1)=>{"use strict";function gtr(r){return Object.keys(Object(r))}E1.exports=gtr});var _1=c((XZr,A1)=>{"use strict";var btr=rn();function xtr(){return(btr(arguments)||"").length!==2}function qtr(){return xtr(1,2)}A1.exports=qtr});var j1=c((KZr,T1)=>{"use strict";var wtr=typeof Object.keys<"u";T1.exports=wtr});var Nu=c((HZr,I1)=>{"use strict";var Str=me();function Etr(r){return Str(r)==="[object Arguments]"}I1.exports=Etr});var D1=c((ZZr,N1)=>{"use strict";var Atr=Nu(),O1;function _tr(){return Atr(arguments)}O1=_tr();N1.exports=O1});var B1=c((QZr,k1)=>{"use strict";function Ttr(r){return r!==r}k1.exports=Ttr});var Du=c((rQr,F1)=>{"use strict";var jtr=B1();F1.exports=jtr});var ku=c((eQr,R1)=>{"use strict";var Itr=Ge().isPrimitive,Otr=Du();function Ntr(r){return Itr(r)&&Otr(r)}R1.exports=Ntr});var Bu=c((aQr,z1)=>{"use strict";var Dtr=Ge().isObject,ktr=Du();function Btr(r){return Dtr(r)&&ktr(r.valueOf())}z1.exports=Btr});var U1=c((tQr,V1)=>{"use strict";var Ftr=ku(),Rtr=Bu();function ztr(r){return Ftr(r)||Rtr(r)}V1.exports=ztr});var Ru=c((iQr,P1)=>{"use strict";var C1=Ir(),Fu=U1(),Vtr=ku(),Utr=Bu();C1(Fu,"isPrimitive",Vtr);C1(Fu,"isObject",Utr);P1.exports=Fu});var zu=c((oQr,L1)=>{"use strict";var Ctr=Object.prototype.propertyIsEnumerable;L1.exports=Ctr});var Y1=c((nQr,G1)=>{"use strict";var Ptr=zu(),M1;function Ltr(){return!Ptr.call("beep","0")}M1=Ltr();G1.exports=M1});var W1=c((sQr,$1)=>{"use strict";var Mtr=Pa(),Gtr=Ru().isPrimitive,Ytr=fe().isPrimitive,$tr=zu(),Wtr=Y1();function Jtr(r,e){var a;return r==null?!1:(a=$tr.call(r,e),!a&&Wtr&&Mtr(r)?(e=+e,!Gtr(e)&&Ytr(e)&&e>=0&&e<r.length):a)}$1.exports=Jtr});var Mi=c((uQr,J1)=>{"use strict";var Xtr=W1();J1.exports=Xtr});var en=c((vQr,X1)=>{"use strict";var Ktr=4294967295;X1.exports=Ktr});var H1=c((fQr,K1)=>{"use strict";var Htr=Xr(),Ztr=Mi(),Qtr=wa(),rir=Sa(),eir=en();function air(r){return r!==null&&typeof r=="object"&&!Qtr(r)&&typeof r.length=="number"&&rir(r.length)&&r.length>=0&&r.length<=eir&&Htr(r,"callee")&&!Ztr(r,"callee")}K1.exports=air});var Uu=c((lQr,Z1)=>{"use strict";var tir=D1(),iir=Nu(),oir=H1(),Vu;tir?Vu=iir:Vu=oir;Z1.exports=Vu});var eg=c((cQr,rg)=>{"use strict";var nir=Uu(),Q1=rn(),sir=Array.prototype.slice;function uir(r){return nir(r)?Q1(sir.call(r)):Q1(r)}rg.exports=uir});var tg=c((dQr,ag)=>{"use strict";function vir(){}ag.exports=vir});var og=c((pQr,ig)=>{"use strict";var fir=tg();ig.exports=fir});var sg=c((yQr,ng)=>{"use strict";var lir=Mi(),cir=og(),dir=lir(cir,"prototype");ng.exports=dir});var vg=c((mQr,ug)=>{"use strict";var pir=Mi(),yir={toString:null},mir=!pir(yir,"toString");ug.exports=mir});var lg=c((hQr,fg)=>{"use strict";var hir=9007199254740991;fg.exports=hir});var dg=c((gQr,cg)=>{"use strict";var gir=Sa(),bir=lg();function xir(r){return typeof r=="object"&&r!==null&&typeof r.length=="number"&&gir(r.length)&&r.length>=0&&r.length<=bir}cg.exports=xir});var ke=c((bQr,pg)=>{"use strict";var qir=dg();pg.exports=qir});var gg=c((xQr,hg)=>{"use strict";var yg=Ru(),wir=ke(),Sir=Pa().isPrimitive,Eir=fe().isPrimitive,mg=pr();function Air(r,e,a){var t,o;if(!wir(r)&&!Sir(r))throw new TypeError(mg("invalid argument. First argument must be an array-like object. Value: `%s`.",r));if(t=r.length,t===0)return-1;if(arguments.length===3){if(!Eir(a))throw new TypeError(mg("invalid argument. Third argument must be an integer. Value: `%s`.",a));if(a>=0){if(a>=t)return-1;o=a}else o=t+a,o<0&&(o=0)}else o=0;if(yg(e)){for(;o<t;o++)if(yg(r[o]))return o}else for(;o<t;o++)if(r[o]===e)return o;return-1}hg.exports=Air});var xg=c((qQr,bg)=>{"use strict";var _ir=gg();bg.exports=_ir});var Cu=c((wQr,qg)=>{"use strict";function Tir(r){return r.constructor&&r.constructor.prototype===r}qg.exports=Tir});var wg=c((SQr,jir)=>{jir.exports=["console","external","frame","frameElement","frames","innerHeight","innerWidth","outerHeight","outerWidth","pageXOffset","pageYOffset","parent","scrollLeft","scrollTop","scrollX","scrollY","self","webkitIndexedDB","webkitStorageInfo","window"]});var Eg=c((EQr,Sg)=>{"use strict";var Iir=typeof window>"u"?void 0:window;Sg.exports=Iir});var jg=c((AQr,Tg)=>{"use strict";var Oir=Xr(),Nir=xg(),Ag=ui(),Dir=Cu(),kir=wg(),ci=Eg(),_g;function Bir(){var r;if(Ag(ci)==="undefined")return!1;for(r in ci)try{Nir(kir,r)===-1&&Oir(ci,r)&&ci[r]!==null&&Ag(ci[r])==="object"&&Dir(ci[r])}catch{return!0}return!1}_g=Bir();Tg.exports=_g});var Og=c((_Qr,Ig)=>{"use strict";var Fir=typeof window<"u";Ig.exports=Fir});var kg=c((TQr,Dg)=>{"use strict";var Rir=jg(),Ng=Cu(),zir=Og();function Vir(r){if(zir===!1&&!Rir)return Ng(r);try{return Ng(r)}catch{return!1}}Dg.exports=Vir});var Bg=c((jQr,Uir)=>{Uir.exports=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"]});var zg=c((IQr,Rg)=>{"use strict";var Cir=Xo(),Pu=Xr(),Pir=Uu(),Lir=sg(),Mir=vg(),Gir=kg(),Fg=Bg();function Yir(r){var e,a,t,o,i,n,s;if(o=[],Pir(r)){for(s=0;s<r.length;s++)o.push(s.toString());return o}if(typeof r=="string"){if(r.length>0&&!Pu(r,"0"))for(s=0;s<r.length;s++)o.push(s.toString())}else{if(t=typeof r=="function",t===!1&&!Cir(r))return o;a=Lir&&t}for(i in r)!(a&&i==="prototype")&&Pu(r,i)&&o.push(String(i));if(Mir)for(e=Gir(r),s=0;s<Fg.length;s++)n=Fg[s],!(e&&n==="constructor")&&Pu(r,n)&&o.push(String(n));return o}Rg.exports=Yir});var Ug=c((OQr,Vg)=>{"use strict";var $ir=_1(),Wir=j1(),Jir=rn(),Xir=eg(),Kir=zg(),an;Wir?$ir()?an=Xir:an=Jir:an=Kir;Vg.exports=an});var Aa=c((NQr,Cg)=>{"use strict";var Hir=Ug();Cg.exports=Hir});var Lg=c((DQr,Pg)=>{"use strict";var Zir=zt(),Qir=Aa();function ror(r,e){var a,t,o;for(a=Qir(e),o=0;o<a.length;o++)t=a[o],Zir(r,t,e[t]);return r}Pg.exports=ror});var Be=c((kQr,Gg)=>{"use strict";var eor=Ir(),Lu=q1(),Mg=S1(),aor=Lg();eor(Lu,"enum",Mg);aor(Lu,Mg());Gg.exports=Lu});var Yg=c((BQr,tor)=>{tor.exports=["row-major","column-major"]});var Wg=c((FQr,$g)=>{"use strict";var ior=Yg();function oor(){return ior.slice()}$g.exports=oor});var Jg=c((RQr,nor)=>{nor.exports=["row-major","column-major"]});var Kg=c((zQr,Xg)=>{"use strict";var sor=Jg();function uor(){return sor.slice()}Xg.exports=uor});var Zg=c((VQr,Hg)=>{"use strict";function vor(){return{"row-major":101,"column-major":102}}Hg.exports=vor});var Mu=c((UQr,r2)=>{"use strict";var lor=Ir(),Qg=Kg(),cor=Zg();lor(Qg,"enum",cor);r2.exports=Qg});var t2=c((CQr,a2)=>{"use strict";var dor=Mu().enum,e2=dor();function por(){return{"row-major":e2["row-major"],"column-major":e2["column-major"]}}a2.exports=por});var $t=c((PQr,o2)=>{"use strict";var yor=Ir(),i2=Wg(),mor=t2();yor(i2,"enum",mor);o2.exports=i2});var n2=c((LQr,hor)=>{hor.exports=["throw","normalize","clamp","wrap"]});var u2=c((MQr,s2)=>{"use strict";var gor=n2();function bor(){return gor.slice()}s2.exports=bor});var f2=c((GQr,v2)=>{"use strict";function xor(){return{throw:1,clamp:2,wrap:3,normalize:4}}v2.exports=xor});var Wt=c((YQr,c2)=>{"use strict";var qor=Ir(),l2=u2(),wor=f2();qor(l2,"enum",wor);c2.exports=l2});var y2=c(($Qr,p2)=>{"use strict";var wt=Gt(),Sor=li(),Eor=Yt(),Gi=Ou(),Aor=Be().enum,_or=$t().enum,Tor=Wt().enum,jor=Aor(),Ior=_or(),d2=Tor();function Oor(){var r,e,a,t,o,i,n,s,u,v,f,l,d,y;if(u=this._mode||"throw",n=this._submode||[u],l=this._ndims,d=n.length,a=33+l*16+d,s=this.__meta_dataview__,s&&s.byteLength===a)return s;for(s=new Eor(new Sor(a)),o=this._shape,i=this._strides,t=this._dtype,r=this._bytesPerElement,v=0,s.setInt8(v,wt?1:0),v+=1,s.setInt16(v,jor[t],wt),v+=2,s.setBigInt64(v,Gi(l),wt),f=l*8,v+=8,y=0;y<l;y++)s.setBigInt64(v,Gi(o[y]),wt),s.setBigInt64(v+f,Gi(i[y]*r),wt),v+=8;for(v+=f,s.setBigInt64(v,Gi(this._offset*r),wt),v+=8,s.setInt8(v,Ior[this._order]),v+=1,s.setInt8(v,d2[u]),v+=1,s.setBigInt64(v,Gi(d),wt),v+=8,y=0;y<d;y++)s.setInt8(v,d2[n[y]]),v+=1;return e=0,e|=this._flags.READONLY?4:0,s.setInt32(v,e,wt),this.__meta_dataview__=s,s}p2.exports=Oor});var h2=c((WQr,m2)=>{"use strict";var Yi=Gt(),Nor=va(),Dor=Yt(),kor=ea(),Bor=4294967295,For=4294967296;function Ror(r){var e,a,t,o;return e=new Nor(8),r===0||(o=(r&Bor)>>>0,t=kor(r/For),a=new Dor(e.buffer),Yi?(a.setUint32(0,o,Yi),a.setUint32(4,t,Yi)):(a.setUint32(0,t,Yi),a.setUint32(4,o,Yi))),e}m2.exports=Ror});var b2=c((JQr,g2)=>{"use strict";var $i=Gt(),zor=va(),Vor=Yt(),Uor=ea(),Cor=4294967295,Por=4294967296,on=new zor(8),tn=new Vor(on.buffer);function Lor(r,e,a,t){var o,i,n;if(r===0){for(n=0;n<on.length;n++)e[t]=0,t+=a;return e}for(i=(r&Cor)>>>0,o=Uor(r/Por),$i?(tn.setUint32(0,i,$i),tn.setUint32(4,o,$i)):(tn.setUint32(0,o,$i),tn.setUint32(4,i,$i)),n=0;n<on.length;n++)e[t]=on[n],t+=a;return e}g2.exports=Lor});var Gu=c((XQr,q2)=>{"use strict";var Mor=Ir(),x2=h2(),Gor=b2();Mor(x2,"assign",Gor);q2.exports=x2});var E2=c((KQr,S2)=>{"use strict";var Yu=Gt(),Yor=li(),$or=Yt(),Wor=va(),Jor=Be().enum,Xor=$t().enum,Kor=Wt().enum,Wi=Gu().assign,Hor=Jor(),Zor=Xor(),w2=Kor();function Qor(){var r,e,a,t,o,i,n,s,u,v,f,l,d,y,p;if(v=this._mode||"throw",s=this._submode||[v],d=this._ndims,y=s.length,t=33+d*16+y,u=this.__meta_dataview__,u&&u.byteLength===t)return u;for(u=new $or(new Yor(t)),e=new Wor(u.buffer),i=this._shape,n=this._strides,o=this._dtype,r=this._bytesPerElement,f=0,u.setInt8(f,Yu?1:0),f+=1,u.setInt16(f,Hor[o],Yu),f+=2,Wi(d,e,1,f),l=d*8,f+=8,p=0;p<d;p++)Wi(i[p],e,1,f),Wi(n[p]*r,e,1,f+l),f+=8;for(f+=l,Wi(this._offset*r,e,1,f),f+=8,u.setInt8(f,Zor[this._order]),f+=1,u.setInt8(f,w2[v]),f+=1,Wi(y,e,1,f),f+=8,p=0;p<y;p++)u.setInt8(f,w2[s[p]]),f+=1;return a=0,a|=this._flags.READONLY?4:0,u.setInt32(f,a,Yu),this.__meta_dataview__=u,u}S2.exports=Qor});var _2=c((HQr,A2)=>{"use strict";var rnr=du(),St=Ir(),_a=bt(),enr=xt(),anr=Ea(),tnr=Pt(),inr=Vt(),onr=jy(),nnr=Oy(),snr=Vy(),unr=Cy(),vnr=Ly(),fnr=Gy(),lnr=$y(),cnr=Jy(),dnr=am(),pnr=Bm(),ynr=y2(),mnr=E2();function be(r,e,a,t,o,i){var n,s,u,v,f;if(!(this instanceof be))return new be(r,e,a,t,o,i);for(v=1,f=0;f<a.length;f++)v*=a[f];return e.BYTES_PER_ELEMENT?s=e.BYTES_PER_ELEMENT*v:s=null,this._byteLength=s,this._bytesPerElement=enr(r),this._buffer=e,this._dtype=r,this._length=v,this._ndims=a.length,this._offset=o,this._order=i,this._shape=a,this._strides=t,this._accessors=inr(e.get&&e.set),this._iterationOrder=anr(t),n=snr(v,a,t,o,this._iterationOrder),u=tnr(t),this._flags={ROW_MAJOR_CONTIGUOUS:nnr(u,n),COLUMN_MAJOR_CONTIGUOUS:onr(u,n),READONLY:!1},this.__meta_dataview__=null,this}St(be,"name","ndarray");_a(be.prototype,"byteLength",function(){return this._byteLength});_a(be.prototype,"BYTES_PER_ELEMENT",function(){return this._bytesPerElement});_a(be.prototype,"data",function(){return this._buffer});_a(be.prototype,"dtype",function(){return this._dtype});_a(be.prototype,"flags",function(){return unr(this._flags)});_a(be.prototype,"length",function(){return this._length});_a(be.prototype,"ndims",function(){return this._ndims});_a(be.prototype,"offset",function(){return this._offset});_a(be.prototype,"order",function(){return this._order});_a(be.prototype,"shape",function(){return this._shape.slice()});_a(be.prototype,"strides",function(){return this._strides.slice()});St(be.prototype,"get",cnr);St(be.prototype,"iget",vnr);St(be.prototype,"set",lnr);St(be.prototype,"iset",fnr);St(be.prototype,"toString",pnr);St(be.prototype,"toJSON",dnr);St(be.prototype,"__array_meta_dataview__",rnr()?ynr:mnr);A2.exports=be});var aa=c((ZQr,T2)=>{"use strict";var hnr=_2();T2.exports=hnr});var I2=c((QQr,j2)=>{"use strict";var gnr=aa();function bnr(r){return r instanceof gnr||r!==null&&typeof r=="object"&&typeof r.data=="object"&&typeof r.shape=="object"&&typeof r.strides=="object"&&typeof r.offset=="number"&&typeof r.order=="string"&&typeof r.ndims=="number"&&typeof r.dtype=="string"&&typeof r.length=="number"&&typeof r.flags=="object"&&typeof r.get=="function"&&typeof r.set=="function"}j2.exports=bnr});var se=c((rre,O2)=>{"use strict";var xnr=I2();O2.exports=xnr});var D2=c((ere,N2)=>{"use strict";function qnr(r){var e,a,t,o;for(e=r.length,a=[],o=0;o<e;o++)a.push(0);for(t=1,o=e-1;o>=0;o--)a[o]=t,t*=r[o];return a}function wnr(r){var e,a,t;for(e=[],a=1,t=0;t<r.length;t++)e.push(a),a*=r[t];return e}function Snr(r,e){return e==="column-major"?wnr(r):qnr(r)}N2.exports=Snr});var B2=c((are,k2)=>{"use strict";function Enr(r,e){var a,t,o;for(a=r.length,t=1,o=a-1;o>=0;o--)e[o]=t,t*=r[o];return e}function Anr(r,e){var a,t;for(a=1,t=0;t<r.length;t++)e[t]=a,a*=r[t];return e}function _nr(r,e,a){return e==="column-major"?Anr(r,a):Enr(r,a)}k2.exports=_nr});var ze=c((tre,R2)=>{"use strict";var Tnr=Ir(),F2=D2(),jnr=B2();Tnr(F2,"assign",jnr);R2.exports=F2});var V2=c((ire,z2)=>{"use strict";function Inr(r,e){var a,t,o;for(t=r.length,a=0,o=0;o<t;o++)e[o]<0&&(a-=e[o]*(r[o]-1));return a}z2.exports=Inr});var Ye=c((ore,U2)=>{"use strict";var Onr=V2();U2.exports=Onr});var P2=c((nre,C2)=>{"use strict";function Nnr(r){var e,a,t;if(e=r.length,e===0)return 0;for(a=1,t=0;t<e;t++)a*=r[t];return a}C2.exports=Nnr});var Jr=c((sre,L2)=>{"use strict";var Dnr=P2();L2.exports=Dnr});var $u=c((ure,M2)=>{"use strict";var knr=4294967295;M2.exports=knr});var Y2=c((vre,G2)=>{"use strict";var Bnr=Sa(),Fnr=$u();function Rnr(r){return r!=null&&typeof r!="function"&&typeof r.length=="number"&&Bnr(r.length)&&r.length>=0&&r.length<=Fnr}G2.exports=Rnr});var nn=c((fre,$2)=>{"use strict";var znr=Y2();$2.exports=znr});var J2=c((lre,W2)=>{"use strict";var Vnr=nn(),Unr=pr();function Cnr(r){if(typeof r!="function")throw new TypeError(Unr("invalid argument. Must provide a function. Value: `%s`.",r));return e;function e(a){var t,o;if(!Vnr(a)||(t=a.length,t===0))return!1;for(o=0;o<t;o++)if(r(a[o])===!1)return!1;return!0}}W2.exports=Cnr});var sn=c((cre,X2)=>{"use strict";var Pnr=J2();X2.exports=Pnr});var Jt=c((dre,H2)=>{"use strict";var Wu=ge(),K2=Ir(),Ju=sn(),Lnr=Ju(Wu.isPrimitive),Mnr=Ju(Wu.isObject),Xu=Ju(Wu);K2(Xu,"primitives",Lnr);K2(Xu,"objects",Mnr);H2.exports=Xu});var Qu=c((pre,Q2)=>{"use strict";var Ku=fe(),Z2=Ir(),Hu=sn(),Gnr=Hu(Ku.isPrimitive),Ynr=Hu(Ku.isObject),Zu=Hu(Ku);Z2(Zu,"primitives",Gnr);Z2(Zu,"objects",Ynr);Q2.exports=Zu});var ab=c((yre,eb)=>{"use strict";var $nr=$t(),rb=$nr(),Wnr=rb.length;function Jnr(r){var e;for(e=0;e<Wnr;e++)if(r===rb[e])return!0;return!1}eb.exports=Jnr});var Ta=c((mre,tb)=>{"use strict";var Xnr=ab();tb.exports=Xnr});var nb=c((hre,ob)=>{"use strict";var ib="function";function Knr(r){return typeof r.get===ib&&typeof r.set===ib}ob.exports=Knr});var tt=c((gre,sb)=>{"use strict";var Hnr=nb();sb.exports=Hnr});var fb=c((bre,vb)=>{"use strict";var ub={complex128:Znr,complex64:Qnr,default:rsr};function Znr(r,e){return r.get(e)}function Qnr(r,e){return r.get(e)}function rsr(r,e){return r.get(e)}function esr(r){var e=ub[r];return typeof e=="function"?e:ub.default}vb.exports=esr});var it=c((xre,lb)=>{"use strict";var asr=fb();lb.exports=asr});var pb=c((qre,db)=>{"use strict";var cb={float64:tsr,float32:isr,int32:osr,int16:nsr,int8:ssr,uint32:usr,uint16:vsr,uint8:fsr,uint8c:lsr,generic:csr,default:dsr};function tsr(r,e){return r[e]}function isr(r,e){return r[e]}function osr(r,e){return r[e]}function nsr(r,e){return r[e]}function ssr(r,e){return r[e]}function usr(r,e){return r[e]}function vsr(r,e){return r[e]}function fsr(r,e){return r[e]}function lsr(r,e){return r[e]}function csr(r,e){return r[e]}function dsr(r,e){return r[e]}function psr(r){var e=cb[r];return typeof e=="function"?e:cb.default}db.exports=psr});var Et=c((wre,yb)=>{"use strict";var ysr=pb();yb.exports=ysr});var hb=c((Sre,mb)=>{"use strict";var msr={Float32Array:"float32",Float64Array:"float64",Array:"generic",Int16Array:"int16",Int32Array:"int32",Int8Array:"int8",Uint16Array:"uint16",Uint32Array:"uint32",Uint8Array:"uint8",Uint8ClampedArray:"uint8c",Complex64Array:"complex64",Complex128Array:"complex128",BooleanArray:"bool"};mb.exports=msr});var bb=c((Ere,gb)=>{"use strict";var hsr=me(),gsr=typeof Float32Array=="function";function bsr(r){return gsr&&r instanceof Float32Array||hsr(r)==="[object Float32Array]"}gb.exports=bsr});var qb=c((Are,xb)=>{"use strict";var xsr=bb();xb.exports=xsr});var Sb=c((_re,wb)=>{"use strict";var qsr=typeof Float32Array=="function"?Float32Array:null;wb.exports=qsr});var _b=c((Tre,Ab)=>{"use strict";var wsr=qb(),Ssr=Pi(),Eb=Sb();function Esr(){var r,e;if(typeof Eb!="function")return!1;try{e=new Eb([1,3.14,-3.14,5e40]),r=wsr(e)&&e[0]===1&&e[1]===3.140000104904175&&e[2]===-3.140000104904175&&e[3]===Ssr}catch{r=!1}return r}Ab.exports=Esr});var jb=c((jre,Tb)=>{"use strict";var Asr=_b();Tb.exports=Asr});var Ob=c((Ire,Ib)=>{"use strict";var _sr=typeof Float32Array=="function"?Float32Array:void 0;Ib.exports=_sr});var Db=c((Ore,Nb)=>{"use strict";function Tsr(){throw new Error("not implemented")}Nb.exports=Tsr});var At=c((Nre,kb)=>{"use strict";var jsr=jb(),Isr=Ob(),Osr=Db(),rv;jsr()?rv=Isr:rv=Osr;kb.exports=rv});var Fb=c((Dre,Bb)=>{"use strict";var Nsr=me(),Dsr=typeof Uint32Array=="function";function ksr(r){return Dsr&&r instanceof Uint32Array||Nsr(r)==="[object Uint32Array]"}Bb.exports=ksr});var zb=c((kre,Rb)=>{"use strict";var Bsr=Fb();Rb.exports=Bsr});var Ub=c((Bre,Vb)=>{"use strict";var Fsr=typeof Uint32Array=="function"?Uint32Array:null;Vb.exports=Fsr});var Lb=c((Fre,Pb)=>{"use strict";var Rsr=zb(),ev=en(),Cb=Ub();function zsr(){var r,e;if(typeof Cb!="function")return!1;try{e=[1,3.14,-3.14,ev+1,ev+2],e=new Cb(e),r=Rsr(e)&&e[0]===1&&e[1]===3&&e[2]===ev-2&&e[3]===0&&e[4]===1}catch{r=!1}return r}Pb.exports=zsr});var Gb=c((Rre,Mb)=>{"use strict";var Vsr=Lb();Mb.exports=Vsr});var $b=c((zre,Yb)=>{"use strict";var Usr=typeof Uint32Array=="function"?Uint32Array:void 0;Yb.exports=Usr});var Jb=c((Vre,Wb)=>{"use strict";function Csr(){throw new Error("not implemented")}Wb.exports=Csr});var Ji=c((Ure,Xb)=>{"use strict";var Psr=Gb(),Lsr=$b(),Msr=Jb(),av;Psr()?av=Lsr:av=Msr;Xb.exports=av});var Hb=c((Cre,Kb)=>{"use strict";var Gsr=me(),Ysr=typeof Int32Array=="function";function $sr(r){return Ysr&&r instanceof Int32Array||Gsr(r)==="[object Int32Array]"}Kb.exports=$sr});var Qb=c((Pre,Zb)=>{"use strict";var Wsr=Hb();Zb.exports=Wsr});var tv=c((Lre,rx)=>{"use strict";var Jsr=2147483647;rx.exports=Jsr});var iv=c((Mre,ex)=>{"use strict";var Xsr=-2147483648;ex.exports=Xsr});var tx=c((Gre,ax)=>{"use strict";var Ksr=typeof Int32Array=="function"?Int32Array:null;ax.exports=Ksr});var nx=c((Yre,ox)=>{"use strict";var Hsr=Qb(),Zsr=tv(),Qsr=iv(),ix=tx();function rur(){var r,e;if(typeof ix!="function")return!1;try{e=new ix([1,3.14,-3.14,Zsr+1]),r=Hsr(e)&&e[0]===1&&e[1]===3&&e[2]===-3&&e[3]===Qsr}catch{r=!1}return r}ox.exports=rur});var ux=c(($re,sx)=>{"use strict";var eur=nx();sx.exports=eur});var fx=c((Wre,vx)=>{"use strict";var aur=typeof Int32Array=="function"?Int32Array:void 0;vx.exports=aur});var cx=c((Jre,lx)=>{"use strict";function tur(){throw new Error("not implemented")}lx.exports=tur});var Xi=c((Xre,dx)=>{"use strict";var iur=ux(),our=fx(),nur=cx(),ov;iur()?ov=our:ov=nur;dx.exports=ov});var yx=c((Kre,px)=>{"use strict";var sur=me(),uur=typeof Int16Array=="function";function vur(r){return uur&&r instanceof Int16Array||sur(r)==="[object Int16Array]"}px.exports=vur});var hx=c((Hre,mx)=>{"use strict";var fur=yx();mx.exports=fur});var nv=c((Zre,gx)=>{"use strict";var lur=32767;gx.exports=lur});var sv=c((Qre,bx)=>{"use strict";var cur=-32768;bx.exports=cur});var qx=c((ree,xx)=>{"use strict";var dur=typeof Int16Array=="function"?Int16Array:null;xx.exports=dur});var Ex=c((eee,Sx)=>{"use strict";var pur=hx(),yur=nv(),mur=sv(),wx=qx();function hur(){var r,e;if(typeof wx!="function")return!1;try{e=new wx([1,3.14,-3.14,yur+1]),r=pur(e)&&e[0]===1&&e[1]===3&&e[2]===-3&&e[3]===mur}catch{r=!1}return r}Sx.exports=hur});var _x=c((aee,Ax)=>{"use strict";var gur=Ex();Ax.exports=gur});var jx=c((tee,Tx)=>{"use strict";var bur=typeof Int16Array=="function"?Int16Array:void 0;Tx.exports=bur});var Ox=c((iee,Ix)=>{"use strict";function xur(){throw new Error("not implemented")}Ix.exports=xur});var Ki=c((oee,Nx)=>{"use strict";var qur=_x(),wur=jx(),Sur=Ox(),uv;qur()?uv=wur:uv=Sur;Nx.exports=uv});var kx=c((nee,Dx)=>{"use strict";var Eur=me(),Aur=typeof Uint8ClampedArray=="function";function _ur(r){return Aur&&r instanceof Uint8ClampedArray||Eur(r)==="[object Uint8ClampedArray]"}Dx.exports=_ur});var Fx=c((see,Bx)=>{"use strict";var Tur=kx();Bx.exports=Tur});var zx=c((uee,Rx)=>{"use strict";var jur=typeof Uint8ClampedArray=="function"?Uint8ClampedArray:null;Rx.exports=jur});var Cx=c((vee,Ux)=>{"use strict";var Iur=Fx(),Vx=zx();function Our(){var r,e;if(typeof Vx!="function")return!1;try{e=new Vx([-1,0,1,3.14,4.99,255,256]),r=Iur(e)&&e[0]===0&&e[1]===0&&e[2]===1&&e[3]===3&&e[4]===5&&e[5]===255&&e[6]===255}catch{r=!1}return r}Ux.exports=Our});var Lx=c((fee,Px)=>{"use strict";var Nur=Cx();Px.exports=Nur});var Gx=c((lee,Mx)=>{"use strict";var Dur=typeof Uint8ClampedArray=="function"?Uint8ClampedArray:void 0;Mx.exports=Dur});var $x=c((cee,Yx)=>{"use strict";function kur(){throw new Error("not implemented")}Yx.exports=kur});var Hi=c((dee,Wx)=>{"use strict";var Bur=Lx(),Fur=Gx(),Rur=$x(),vv;Bur()?vv=Fur:vv=Rur;Wx.exports=vv});var Xx=c((pee,Jx)=>{"use strict";var zur=me(),Vur=typeof Int8Array=="function";function Uur(r){return Vur&&r instanceof Int8Array||zur(r)==="[object Int8Array]"}Jx.exports=Uur});var Hx=c((yee,Kx)=>{"use strict";var Cur=Xx();Kx.exports=Cur});var fv=c((mee,Zx)=>{"use strict";var Pur=127;Zx.exports=Pur});var lv=c((hee,Qx)=>{"use strict";var Lur=-128;Qx.exports=Lur});var eq=c((gee,rq)=>{"use strict";var Mur=typeof Int8Array=="function"?Int8Array:null;rq.exports=Mur});var iq=c((bee,tq)=>{"use strict";var Gur=Hx(),Yur=fv(),$ur=lv(),aq=eq();function Wur(){var r,e;if(typeof aq!="function")return!1;try{e=new aq([1,3.14,-3.14,Yur+1]),r=Gur(e)&&e[0]===1&&e[1]===3&&e[2]===-3&&e[3]===$ur}catch{r=!1}return r}tq.exports=Wur});var nq=c((xee,oq)=>{"use strict";var Jur=iq();oq.exports=Jur});var uq=c((qee,sq)=>{"use strict";var Xur=typeof Int8Array=="function"?Int8Array:void 0;sq.exports=Xur});var fq=c((wee,vq)=>{"use strict";function Kur(){throw new Error("not implemented")}vq.exports=Kur});var Zi=c((See,lq)=>{"use strict";var Hur=nq(),Zur=uq(),Qur=fq(),cv;Hur()?cv=Zur:cv=Qur;lq.exports=cv});var dq=c((Eee,cq)=>{"use strict";var rvr=Sa(),evr=$u();function avr(r){return typeof r=="object"&&r!==null&&typeof r.length=="number"&&rvr(r.length)&&r.length>=0&&r.length<=evr}cq.exports=avr});var Ve=c((Aee,pq)=>{"use strict";var tvr=dq();pq.exports=tvr});var un=c((_ee,mq)=>{"use strict";var yq=Ir(),dv=ru(),pv=Pa(),ivr=dv(pv.isPrimitive),ovr=dv(pv.isObject),yv=dv(pv);yq(yv,"primitives",ivr);yq(yv,"objects",ovr);mq.exports=yv});var gq=c((Tee,hq)=>{"use strict";function nvr(){var r=""+this.re;return this.im<0?r+=" - "+-this.im:r+=" + "+this.im,r+="i",r}hq.exports=nvr});var xq=c((jee,bq)=>{"use strict";function svr(){var r={};return r.type="Complex128",r.re=this.re,r.im=this.im,r}bq.exports=svr});var Aq=c((Iee,Eq)=>{"use strict";var qq=Ge().isPrimitive,wq=Rt(),Qi=Ir(),Sq=pr(),uvr=gq(),vvr=xq();function Xt(r,e){if(!(this instanceof Xt))throw new TypeError("invalid invocation. Constructor must be called with the `new` keyword.");if(!qq(r))throw new TypeError(Sq("invalid argument. Real component must be a number. Value: `%s`.",r));if(!qq(e))throw new TypeError(Sq("invalid argument. Imaginary component must be a number. Value: `%s`.",e));return wq(this,"re",{configurable:!1,enumerable:!0,writable:!1,value:r}),wq(this,"im",{configurable:!1,enumerable:!0,writable:!1,value:e}),this}Qi(Xt,"BYTES_PER_ELEMENT",8);Qi(Xt.prototype,"BYTES_PER_ELEMENT",8);Qi(Xt.prototype,"byteLength",16);Qi(Xt.prototype,"toString",uvr);Qi(Xt.prototype,"toJSON",vvr);Eq.exports=Xt});var vn=c((Oee,_q)=>{"use strict";var fvr=Aq();_q.exports=fvr});var jq=c((Nee,Tq)=>{"use strict";var lvr=typeof Math.fround=="function"?Math.fround:null;Tq.exports=lvr});var Nq=c((Dee,Oq)=>{"use strict";var cvr=At(),Iq=new cvr(1);function dvr(r){return Iq[0]=r,Iq[0]}Oq.exports=dvr});var Bq=c((kee,kq)=>{"use strict";var Dq=jq(),pvr=Nq(),mv;typeof Dq=="function"?mv=Dq:mv=pvr;kq.exports=mv});var Rq=c((Bee,Fq)=>{"use strict";function yvr(){var r=""+this.re;return this.im<0?r+=" - "+-this.im:r+=" + "+this.im,r+="i",r}Fq.exports=yvr});var Vq=c((Fee,zq)=>{"use strict";function mvr(){var r={};return r.type="Complex64",r.re=this.re,r.im=this.im,r}zq.exports=mvr});var Gq=c((Ree,Mq)=>{"use strict";var Uq=Ge().isPrimitive,Cq=Rt(),ro=Ir(),Pq=Bq(),Lq=pr(),hvr=Rq(),gvr=Vq();function Kt(r,e){if(!(this instanceof Kt))throw new TypeError("invalid invocation. Constructor must be called with the `new` keyword.");if(!Uq(r))throw new TypeError(Lq("invalid argument. Real component must be a number. Value: `%s`.",r));if(!Uq(e))throw new TypeError(Lq("invalid argument. Imaginary component must be a number. Value: `%s`.",e));return Cq(this,"re",{configurable:!1,enumerable:!0,writable:!1,value:Pq(r)}),Cq(this,"im",{configurable:!1,enumerable:!0,writable:!1,value:Pq(e)}),this}ro(Kt,"BYTES_PER_ELEMENT",4);ro(Kt.prototype,"BYTES_PER_ELEMENT",4);ro(Kt.prototype,"byteLength",8);ro(Kt.prototype,"toString",hvr);ro(Kt.prototype,"toJSON",gvr);Mq.exports=Kt});var fn=c((zee,Yq)=>{"use strict";var bvr=Gq();Yq.exports=bvr});var Wq=c((Vee,$q)=>{"use strict";var xvr=vn(),qvr=fn();function wvr(r){return r instanceof xvr||r instanceof qvr?!0:typeof r=="object"&&r!==null&&typeof r.re=="number"&&typeof r.im=="number"}$q.exports=wvr});var fa=c((Uee,Jq)=>{"use strict";var Svr=Wq();Jq.exports=Svr});var Kq=c((Cee,Xq)=>{"use strict";var Evr=Sa();function Avr(r){return Evr(r/2)}Xq.exports=Avr});var hv=c((Pee,Hq)=>{"use strict";var _vr=Kq();Hq.exports=_vr});var Qq=c((Lee,Zq)=>{"use strict";var Tvr=8;function jvr(r){return typeof r=="object"&&r!==null&&r.constructor.name==="Complex64Array"&&r.BYTES_PER_ELEMENT===Tvr}Zq.exports=jvr});var ln=c((Mee,rw)=>{"use strict";var Ivr=Qq();rw.exports=Ivr});var aw=c((Gee,ew)=>{"use strict";var Ovr=16;function Nvr(r){return typeof r=="object"&&r!==null&&r.constructor.name==="Complex128Array"&&r.BYTES_PER_ELEMENT===Ovr}ew.exports=Nvr});var cn=c((Yee,tw)=>{"use strict";var Dvr=aw();tw.exports=Dvr});var ow=c(($ee,iw)=>{"use strict";var kvr=Xr(),dn=Ys();function Bvr(){return typeof dn=="function"&&typeof dn("foo")=="symbol"&&kvr(dn,"iterator")&&typeof dn.iterator=="symbol"}iw.exports=Bvr});var eo=c((Wee,nw)=>{"use strict";var Fvr=ow();nw.exports=Fvr});var uw=c((Jee,sw)=>{"use strict";var Rvr=eo(),zvr=Rvr()?Symbol.iterator:null;sw.exports=zvr});var Fe=c((Xee,vw)=>{"use strict";var Vvr=uw();vw.exports=Vvr});var lw=c((Kee,fw)=>{"use strict";function Uvr(r){return r.re}fw.exports=Uvr});var ao=c((Hee,cw)=>{"use strict";var Cvr=lw();cw.exports=Cvr});var pw=c((Zee,dw)=>{"use strict";function Pvr(r){return r.im}dw.exports=Pvr});var to=c((Qee,yw)=>{"use strict";var Lvr=pw();yw.exports=Lvr});var hw=c((rae,mw)=>{"use strict";var Mvr=At();function Gvr(r,e){return new Mvr(r.buffer,r.byteOffset+r.BYTES_PER_ELEMENT*e,2*(r.length-e))}mw.exports=Gvr});var io=c((eae,gw)=>{"use strict";var Yvr=hw();gw.exports=Yvr});var xw=c((aae,bw)=>{"use strict";var $vr=qt();function Wvr(r,e){return new $vr(r.buffer,r.byteOffset+r.BYTES_PER_ELEMENT*e,2*(r.length-e))}bw.exports=Wvr});var oo=c((tae,qw)=>{"use strict";var Jvr=xw();qw.exports=Jvr});var Sw=c((iae,ww)=>{"use strict";var Xvr=Ve(),Kvr=fa(),Hvr=ao(),Zvr=to(),Qvr=pr();function rfr(r){var e,a,t;for(e=[];a=r.next(),!a.done;)if(t=a.value,Xvr(t)&&t.length>=2)e.push(t[0],t[1]);else if(Kvr(t))e.push(Hvr(t),Zvr(t));else return new TypeError(Qvr("invalid argument. An iterator must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",t));return e}ww.exports=rfr});var Aw=c((oae,Ew)=>{"use strict";var efr=Ve(),afr=fa(),tfr=ao(),ifr=to(),ofr=pr();function nfr(r,e,a){var t,o,i,n;for(t=[],n=-1;o=r.next(),!o.done;)if(n+=1,i=e.call(a,o.value,n),efr(i)&&i.length>=2)t.push(i[0],i[1]);else if(afr(i))t.push(tfr(i),ifr(i));else return new TypeError(ofr("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",i));return t}Ew.exports=nfr});var Tw=c((nae,_w)=>{"use strict";var sfr=fa(),ufr=ao(),vfr=to();function ffr(r,e){var a,t,o,i;for(a=e.length,i=0,o=0;o<a;o++){if(t=e[o],!sfr(t))return null;r[i]=ufr(t),r[i+1]=vfr(t),i+=2}return r}_w.exports=ffr});var Bw=c((sae,kw)=>{"use strict";var no=ge().isPrimitive,gv=Ve(),bv=ke(),jw=Li(),xv=Ui(),lfr=wa(),cfr=un().primitives,Iw=Pa().isPrimitive,Ee=Pe(),ca=fa(),pn=hv(),$e=Sa(),dfr=ln(),pfr=cn(),yfr=eo(),La=Fe(),Gr=Ir(),yn=bt(),la=At(),mfr=fn(),kr=pr(),ja=ao(),Ia=to(),hfr=ea(),gfr=io(),bfr=oo(),xfr=Et(),qfr=it(),Ow=Sw(),wfr=Aw(),Sfr=Tw(),ta=la.BYTES_PER_ELEMENT*2,Nw=yfr();function ee(r){return r instanceof Cr||typeof r=="object"&&r!==null&&(r.constructor.name==="Complex64Array"||r.constructor.name==="Complex128Array")&&typeof r._length=="number"&&typeof r._buffer=="object"}function Dw(r){return r===Cr||r.name==="Complex128Array"}function xe(r,e){return e*=2,new mfr(r[e],r[e+1])}function Cr(){var r,e,a,t;if(e=arguments.length,!(this instanceof Cr))return e===0?new Cr:e===1?new Cr(arguments[0]):e===2?new Cr(arguments[0],arguments[1]):new Cr(arguments[0],arguments[1],arguments[2]);if(e===0)a=new la(0);else if(e===1)if(no(arguments[0]))a=new la(arguments[0]*2);else if(bv(arguments[0]))if(a=arguments[0],t=a.length,t&&lfr(a)&&ca(a[0])){if(a=Sfr(new la(t*2),a),a===null){if(!pn(t))throw new RangeError(kr("invalid argument. Array-like object arguments must have a length which is a multiple of two. Length: `%u`.",t));a=new la(arguments[0])}}else{if(dfr(a))a=gfr(a,0);else if(pfr(a))a=bfr(a,0);else if(!pn(t))throw new RangeError(kr("invalid argument. Array-like object and typed array arguments must have a length which is a multiple of two. Length: `%u`.",t));a=new la(a)}else if(jw(arguments[0])){if(a=arguments[0],!$e(a.byteLength/ta))throw new RangeError(kr("invalid argument. ArrayBuffer byte length must be a multiple of %u. Byte length: `%u`.",ta,a.byteLength));a=new la(a)}else if(xv(arguments[0])){if(a=arguments[0],Nw===!1)throw new TypeError(kr("invalid argument. Environment lacks Symbol.iterator support. Must provide a length, ArrayBuffer, typed array, or array-like object. Value: `%s`.",a));if(!Ee(a[La]))throw new TypeError(kr("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",a));if(a=a[La](),!Ee(a.next))throw new TypeError(kr("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",a));if(a=Ow(a),a instanceof Error)throw a;a=new la(a)}else throw new TypeError(kr("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",arguments[0]));else{if(a=arguments[0],!jw(a))throw new TypeError(kr("invalid argument. First argument must be an ArrayBuffer. Value: `%s`.",a));if(r=arguments[1],!no(r))throw new TypeError(kr("invalid argument. Byte offset must be a nonnegative integer. Value: `%s`.",r));if(!$e(r/ta))throw new RangeError(kr("invalid argument. Byte offset must be a multiple of %u. Value: `%u`.",ta,r));if(e===2){if(t=a.byteLength-r,!$e(t/ta))throw new RangeError(kr("invalid arguments. ArrayBuffer view byte length must be a multiple of %u. View byte length: `%u`.",ta,t));a=new la(a,r)}else{if(t=arguments[2],!no(t))throw new TypeError(kr("invalid argument. Length must be a nonnegative integer. Value: `%s`.",t));if(t*ta>a.byteLength-r)throw new RangeError(kr("invalid arguments. ArrayBuffer has insufficient capacity. Either decrease the array length or provide a bigger buffer. Minimum capacity: `%u`.",t*ta));a=new la(a,r,t*2)}}return Gr(this,"_buffer",a),Gr(this,"_length",a.length/2),this}Gr(Cr,"BYTES_PER_ELEMENT",ta);Gr(Cr,"name","Complex64Array");Gr(Cr,"from",function(e){var a,t,o,i,n,s,u,v,f,l,d,y;if(!Ee(this))throw new TypeError("invalid invocation. `this` context must be a constructor.");if(!Dw(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(t=arguments.length,t>1){if(o=arguments[1],!Ee(o))throw new TypeError(kr("invalid argument. Second argument must be a function. Value: `%s`.",o));t>2&&(a=arguments[2])}if(ee(e)){if(v=e.length,o){for(i=new this(v),n=i._buffer,y=0,d=0;d<v;d++){if(l=o.call(a,e.get(d),d),ca(l))n[y]=ja(l),n[y+1]=Ia(l);else if(gv(l)&&l.length>=2)n[y]=l[0],n[y+1]=l[1];else throw new TypeError(kr("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",l));y+=2}return i}return new this(e)}if(bv(e)){if(o){for(v=e.length,e.get&&e.set?u=qfr("default"):u=xfr("default"),d=0;d<v;d++)if(!ca(u(e,d))){f=!0;break}if(f){if(!pn(v))throw new RangeError(kr("invalid argument. First argument must have a length which is a multiple of %u. Length: `%u`.",2,v));for(i=new this(v/2),n=i._buffer,d=0;d<v;d++)n[d]=o.call(a,u(e,d),d);return i}for(i=new this(v),n=i._buffer,y=0,d=0;d<v;d++){if(l=o.call(a,u(e,d),d),ca(l))n[y]=ja(l),n[y+1]=Ia(l);else if(gv(l)&&l.length>=2)n[y]=l[0],n[y+1]=l[1];else throw new TypeError(kr("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",l));y+=2}return i}return new this(e)}if(xv(e)&&Nw&&Ee(e[La])){if(n=e[La](),!Ee(n.next))throw new TypeError(kr("invalid argument. First argument must be an array-like object or an iterable. Value: `%s`.",e));if(o?s=wfr(n,o,a):s=Ow(n),s instanceof Error)throw s;for(v=s.length/2,i=new this(v),n=i._buffer,d=0;d<v;d++)n[d]=s[d];return i}throw new TypeError(kr("invalid argument. First argument must be an array-like object or an iterable. Value: `%s`.",e))});Gr(Cr,"of",function(){var e,a;if(!Ee(this))throw new TypeError("invalid invocation. `this` context must be a constructor.");if(!Dw(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");for(e=[],a=0;a<arguments.length;a++)e.push(arguments[a]);return new this(e)});Gr(Cr.prototype,"at",function(e){if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!$e(e))throw new TypeError(kr("invalid argument. Must provide an integer. Value: `%s`.",e));if(e<0&&(e+=this._length),!(e<0||e>=this._length))return xe(this._buffer,e)});yn(Cr.prototype,"buffer",function(){return this._buffer.buffer});yn(Cr.prototype,"byteLength",function(){return this._buffer.byteLength});yn(Cr.prototype,"byteOffset",function(){return this._buffer.byteOffset});Gr(Cr.prototype,"BYTES_PER_ELEMENT",Cr.BYTES_PER_ELEMENT);Gr(Cr.prototype,"copyWithin",function(e,a){if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return arguments.length===2?this._buffer.copyWithin(e*2,a*2):this._buffer.copyWithin(e*2,a*2,arguments[2]*2),this});Gr(Cr.prototype,"entries",function(){var e,a,t,o,i,n;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return e=this,o=this._buffer,t=this._length,n=-1,a={},Gr(a,"next",s),Gr(a,"return",u),La&&Gr(a,La,v),a;function s(){return n+=1,i||n>=t?{done:!0}:{value:[n,xe(o,n)],done:!1}}function u(f){return i=!0,arguments.length?{value:f,done:!0}:{done:!0}}function v(){return e.entries()}});Gr(Cr.prototype,"every",function(e,a){var t,o;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ee(e))throw new TypeError(kr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=0;o<this._length;o++)if(!e.call(a,xe(t,o),o,this))return!1;return!0});Gr(Cr.prototype,"fill",function(e,a,t){var o,i,n,s,u,v;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!ca(e))throw new TypeError(kr("invalid argument. First argument must be a complex number. Value: `%s`.",e));if(o=this._buffer,i=this._length,arguments.length>1){if(!$e(a))throw new TypeError(kr("invalid argument. Second argument must be an integer. Value: `%s`.",a));if(a<0&&(a+=i,a<0&&(a=0)),arguments.length>2){if(!$e(t))throw new TypeError(kr("invalid argument. Third argument must be an integer. Value: `%s`.",t));t<0&&(t+=i,t<0&&(t=0)),t>i&&(t=i)}else t=i}else a=0,t=i;for(s=ja(e),u=Ia(e),v=a;v<t;v++)n=2*v,o[n]=s,o[n+1]=u;return this});Gr(Cr.prototype,"filter",function(e,a){var t,o,i,n;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ee(e))throw new TypeError(kr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=[],i=0;i<this._length;i++)n=xe(t,i),e.call(a,n,i,this)&&o.push(n);return new this.constructor(o)});Gr(Cr.prototype,"find",function(e,a){var t,o,i;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ee(e))throw new TypeError(kr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=0;o<this._length;o++)if(i=xe(t,o),e.call(a,i,o,this))return i});Gr(Cr.prototype,"findIndex",function(e,a){var t,o,i;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ee(e))throw new TypeError(kr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=0;o<this._length;o++)if(i=xe(t,o),e.call(a,i,o,this))return o;return-1});Gr(Cr.prototype,"findLast",function(e,a){var t,o,i;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ee(e))throw new TypeError(kr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=this._length-1;o>=0;o--)if(i=xe(t,o),e.call(a,i,o,this))return i});Gr(Cr.prototype,"findLastIndex",function(e,a){var t,o,i;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ee(e))throw new TypeError(kr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=this._length-1;o>=0;o--)if(i=xe(t,o),e.call(a,i,o,this))return o;return-1});Gr(Cr.prototype,"forEach",function(e,a){var t,o,i;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ee(e))throw new TypeError(kr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=0;o<this._length;o++)i=xe(t,o),e.call(a,i,o,this)});Gr(Cr.prototype,"get",function(e){if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!no(e))throw new TypeError(kr("invalid argument. Must provide a nonnegative integer. Value: `%s`.",e));if(!(e>=this._length))return xe(this._buffer,e)});Gr(Cr.prototype,"includes",function(e,a){var t,o,i,n,s;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!ca(e))throw new TypeError(kr("invalid argument. First argument must be a complex number. Value: `%s`.",e));if(arguments.length>1){if(!$e(a))throw new TypeError(kr("invalid argument. Second argument must be an integer. Value: `%s`.",a));a<0&&(a+=this._length,a<0&&(a=0))}else a=0;for(i=ja(e),n=Ia(e),t=this._buffer,s=a;s<this._length;s++)if(o=2*s,i===t[o]&&n===t[o+1])return!0;return!1});Gr(Cr.prototype,"indexOf",function(e,a){var t,o,i,n,s;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!ca(e))throw new TypeError(kr("invalid argument. First argument must be a complex number. Value: `%s`.",e));if(arguments.length>1){if(!$e(a))throw new TypeError(kr("invalid argument. Second argument must be an integer. Value: `%s`.",a));a<0&&(a+=this._length,a<0&&(a=0))}else a=0;for(i=ja(e),n=Ia(e),t=this._buffer,s=a;s<this._length;s++)if(o=2*s,i===t[o]&&n===t[o+1])return s;return-1});Gr(Cr.prototype,"join",function(e){var a,t,o,i;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(arguments.length===0)o=",";else if(Iw(e))o=e;else throw new TypeError(kr("invalid argument. First argument must be a string. Value: `%s`.",e));for(a=[],t=this._buffer,i=0;i<this._length;i++)a.push(xe(t,i).toString());return a.join(o)});Gr(Cr.prototype,"keys",function(){var e,a,t,o,i;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return e=this,t=this._length,i=-1,a={},Gr(a,"next",n),Gr(a,"return",s),La&&Gr(a,La,u),a;function n(){return i+=1,o||i>=t?{done:!0}:{value:i,done:!1}}function s(v){return o=!0,arguments.length?{value:v,done:!0}:{done:!0}}function u(){return e.keys()}});Gr(Cr.prototype,"lastIndexOf",function(e,a){var t,o,i,n,s;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!ca(e))throw new TypeError(kr("invalid argument. First argument must be a complex number. Value: `%s`.",e));if(arguments.length>1){if(!$e(a))throw new TypeError(kr("invalid argument. Second argument must be an integer. Value: `%s`.",a));a>=this._length?a=this._length-1:a<0&&(a+=this._length)}else a=this._length-1;for(i=ja(e),n=Ia(e),t=this._buffer,s=a;s>=0;s--)if(o=2*s,i===t[o]&&n===t[o+1])return s;return-1});yn(Cr.prototype,"length",function(){return this._length});Gr(Cr.prototype,"map",function(e,a){var t,o,i,n,s;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ee(e))throw new TypeError(kr("invalid argument. First argument must be a function. Value: `%s`.",e));for(o=this._buffer,i=new this.constructor(this._length),t=i._buffer,n=0;n<this._length;n++)if(s=e.call(a,xe(o,n),n,this),ca(s))t[2*n]=ja(s),t[2*n+1]=Ia(s);else if(gv(s)&&s.length===2)t[2*n]=s[0],t[2*n+1]=s[1];else throw new TypeError(kr("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",s));return i});Gr(Cr.prototype,"reduce",function(e,a){var t,o,i,n,s;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ee(e))throw new TypeError(kr("invalid argument. First argument must be a function. Value: `%s`.",e));if(t=this._buffer,i=this._length,arguments.length>1)o=a,s=0;else{if(i===0)throw new Error("invalid operation. If not provided an initial value, an array must contain at least one element.");o=xe(t,0),s=1}for(;s<i;s++)n=xe(t,s),o=e(o,n,s,this);return o});Gr(Cr.prototype,"reduceRight",function(e,a){var t,o,i,n,s;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ee(e))throw new TypeError(kr("invalid argument. First argument must be a function. Value: `%s`.",e));if(t=this._buffer,i=this._length,arguments.length>1)o=a,s=i-1;else{if(i===0)throw new Error("invalid operation. If not provided an initial value, an array must contain at least one element.");o=xe(t,i-1),s=i-2}for(;s>=0;s--)n=xe(t,s),o=e(o,n,s,this);return o});Gr(Cr.prototype,"reverse",function(){var e,a,t,o,i,n;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");for(t=this._length,e=this._buffer,o=hfr(t/2),i=0;i<o;i++)n=t-i-1,a=e[2*i],e[2*i]=e[2*n],e[2*n]=a,a=e[2*i+1],e[2*i+1]=e[2*n+1],e[2*n+1]=a;return this});Gr(Cr.prototype,"set",function(e){var a,t,o,i,n,s,u,v,f;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(o=this._buffer,arguments.length>1){if(t=arguments[1],!no(t))throw new TypeError(kr("invalid argument. Index argument must be a nonnegative integer. Value: `%s`.",t))}else t=0;if(ca(e)){if(t>=this._length)throw new RangeError(kr("invalid argument. Index argument is out-of-bounds. Value: `%u`.",t));t*=2,o[t]=ja(e),o[t+1]=Ia(e);return}if(ee(e)){if(s=e._length,t+s>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");if(a=e._buffer,f=o.byteOffset+t*ta,a.buffer===o.buffer&&a.byteOffset<f&&a.byteOffset+a.byteLength>f){for(i=new la(a.length),v=0;v<a.length;v++)i[v]=a[v];a=i}for(t*=2,f=0,v=0;v<s;v++)o[t]=a[f],o[t+1]=a[f+1],t+=2,f+=2;return}if(bv(e)){for(s=e.length,v=0;v<s;v++)if(!ca(e[v])){n=!0;break}if(n){if(!pn(s))throw new RangeError(kr("invalid argument. Array-like object arguments must have a length which is a multiple of two. Length: `%u`.",s));if(t+s/2>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");if(a=e,f=o.byteOffset+t*ta,a.buffer===o.buffer&&a.byteOffset<f&&a.byteOffset+a.byteLength>f){for(i=new la(s),v=0;v<s;v++)i[v]=a[v];a=i}for(t*=2,s/=2,f=0,v=0;v<s;v++)o[t]=a[f],o[t+1]=a[f+1],t+=2,f+=2;return}if(t+s>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");for(t*=2,v=0;v<s;v++)u=e[v],o[t]=ja(u),o[t+1]=Ia(u),t+=2;return}throw new TypeError(kr("invalid argument. First argument must be either a complex number, an array-like object, or a complex number array. Value: `%s`.",e))});Gr(Cr.prototype,"slice",function(e,a){var t,o,i,n,s,u,v;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(s=this._buffer,u=this._length,arguments.length===0)e=0,a=u;else{if(!$e(e))throw new TypeError(kr("invalid argument. First argument must be an integer. Value: `%s`.",e));if(e<0&&(e+=u,e<0&&(e=0)),arguments.length===1)a=u;else{if(!$e(a))throw new TypeError(kr("invalid argument. Second argument must be an integer. Value: `%s`.",a));a<0?(a+=u,a<0&&(a=0)):a>u&&(a=u)}}for(e<a?t=a-e:t=0,i=new this.constructor(t),o=i._buffer,v=0;v<t;v++)n=2*(v+e),o[2*v]=s[n],o[2*v+1]=s[n+1];return i});Gr(Cr.prototype,"some",function(e,a){var t,o;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ee(e))throw new TypeError(kr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=0;o<this._length;o++)if(e.call(a,xe(t,o),o,this))return!0;return!1});Gr(Cr.prototype,"sort",function(e){var a,t,o,i,n;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ee(e))throw new TypeError(kr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=this._length,a=[],i=0;i<o;i++)a.push(xe(t,i));for(a.sort(e),i=0;i<o;i++)n=2*i,t[n]=ja(a[i]),t[n+1]=Ia(a[i]);return this});Gr(Cr.prototype,"subarray",function(e,a){var t,o,i;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(o=this._buffer,i=this._length,arguments.length===0)e=0,a=i;else{if(!$e(e))throw new TypeError(kr("invalid argument. First argument must be an integer. Value: `%s`.",e));if(e<0&&(e+=i,e<0&&(e=0)),arguments.length===1)a=i;else{if(!$e(a))throw new TypeError(kr("invalid argument. Second argument must be an integer. Value: `%s`.",a));a<0?(a+=i,a<0&&(a=0)):a>i&&(a=i)}}return e>=i?(i=0,t=o.byteLength):e>=a?(i=0,t=o.byteOffset+e*ta):(i=a-e,t=o.byteOffset+e*ta),new this.constructor(o.buffer,t,i<0?0:i)});Gr(Cr.prototype,"toLocaleString",function(e,a){var t,o,i,n,s;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(arguments.length===0)o=[];else if(Iw(e)||cfr(e))o=e;else throw new TypeError(kr("invalid argument. First argument must be a string or an array of strings. Value: `%s`.",e));if(arguments.length<2)t={};else if(xv(a))t=a;else throw new TypeError(kr("invalid argument. Options argument must be an object. Value: `%s`.",a));for(n=this._buffer,i=[],s=0;s<this._length;s++)i.push(xe(n,s).toLocaleString(o,t));return i.join(",")});Gr(Cr.prototype,"toReversed",function(){var e,a,t,o,i,n;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");for(t=this._length,a=new this.constructor(t),o=this._buffer,e=a._buffer,i=0;i<t;i++)n=t-i-1,e[2*i]=o[2*n],e[2*i+1]=o[2*n+1];return a});Gr(Cr.prototype,"toSorted",function(e){var a,t,o,i;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ee(e))throw new TypeError(kr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=this._length,a=[],i=0;i<o;i++)a.push(xe(t,i));return a.sort(e),new Cr(a)});Gr(Cr.prototype,"toString",function(){var e,a,t;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");for(e=[],a=this._buffer,t=0;t<this._length;t++)e.push(xe(a,t).toString());return e.join(",")});Gr(Cr.prototype,"values",function(){var e,a,t,o,i,n;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return a=this,i=this._buffer,t=this._length,n=-1,e={},Gr(e,"next",s),Gr(e,"return",u),La&&Gr(e,La,v),e;function s(){return n+=1,o||n>=t?{done:!0}:{value:xe(i,n),done:!1}}function u(f){return o=!0,arguments.length?{value:f,done:!0}:{done:!0}}function v(){return a.values()}});Gr(Cr.prototype,"with",function(e,a){var t,o,i;if(!ee(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!$e(e))throw new TypeError(kr("invalid argument. First argument must be an integer. Value: `%s`.",e));if(i=this._length,e<0&&(e+=i),e<0||e>=i)throw new RangeError(kr("invalid argument. Index argument is out-of-bounds. Value: `%s`.",e));if(!ca(a))throw new TypeError(kr("invalid argument. Second argument must be a complex number. Value: `%s`.",a));return o=new this.constructor(this._buffer),t=o._buffer,t[2*e]=ja(a),t[2*e+1]=Ia(a),o});kw.exports=Cr});var so=c((uae,Fw)=>{"use strict";var Efr=Bw();Fw.exports=Efr});var zw=c((vae,Rw)=>{"use strict";var Afr=Ve(),_fr=fa(),Tfr=pr(),jfr=Lt(),Ifr=Mt();function Ofr(r){var e,a,t;for(e=[];a=r.next(),!a.done;)if(t=a.value,Afr(t)&&t.length>=2)e.push(t[0],t[1]);else if(_fr(t))e.push(jfr(t),Ifr(t));else return new TypeError(Tfr("invalid argument. An iterator must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",t));return e}Rw.exports=Ofr});var Uw=c((fae,Vw)=>{"use strict";var Nfr=Ve(),Dfr=fa(),kfr=pr(),Bfr=Lt(),Ffr=Mt();function Rfr(r,e,a){var t,o,i,n;for(t=[],n=-1;o=r.next(),!o.done;)if(n+=1,i=e.call(a,o.value,n),Nfr(i)&&i.length>=2)t.push(i[0],i[1]);else if(Dfr(i))t.push(Bfr(i),Ffr(i));else return new TypeError(kfr("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",i));return t}Vw.exports=Rfr});var Pw=c((lae,Cw)=>{"use strict";var zfr=fa(),Vfr=Lt(),Ufr=Mt();function Cfr(r,e){var a,t,o,i;for(a=e.length,i=0,o=0;o<a;o++){if(t=e[o],!zfr(t))return null;r[i]=Vfr(t),r[i+1]=Ufr(t),i+=2}return r}Cw.exports=Cfr});var Xw=c((cae,Jw)=>{"use strict";var uo=ge().isPrimitive,qv=Ve(),wv=ke(),Lw=Li(),Sv=Ui(),Pfr=wa(),Lfr=un().primitives,Mw=Pa(),Ae=Pe(),pa=fa(),mn=hv(),We=Sa(),Mfr=ln(),Gfr=cn(),Yfr=eo(),Ma=Fe(),Yr=Ir(),hn=bt(),da=qt(),Gw=vn(),Oa=Lt(),Na=Mt(),$fr=ea(),Wfr=io(),Jfr=oo(),Xfr=Et(),Kfr=it(),Br=pr(),Yw=zw(),Hfr=Uw(),Zfr=Pw(),ia=da.BYTES_PER_ELEMENT*2,$w=Yfr();function ae(r){return r instanceof Pr||typeof r=="object"&&r!==null&&(r.constructor.name==="Complex64Array"||r.constructor.name==="Complex128Array")&&typeof r._length=="number"&&typeof r._buffer=="object"}function Ww(r){return r===Pr||r.name==="Complex64Array"}function we(r,e){return e*=2,new Gw(r[e],r[e+1])}function Pr(){var r,e,a,t;if(e=arguments.length,!(this instanceof Pr))return e===0?new Pr:e===1?new Pr(arguments[0]):e===2?new Pr(arguments[0],arguments[1]):new Pr(arguments[0],arguments[1],arguments[2]);if(e===0)a=new da(0);else if(e===1)if(uo(arguments[0]))a=new da(arguments[0]*2);else if(wv(arguments[0]))if(a=arguments[0],t=a.length,t&&Pfr(a)&&pa(a[0])){if(a=Zfr(new da(t*2),a),a===null){if(!mn(t))throw new RangeError(Br("invalid argument. Array-like object arguments must have a length which is a multiple of two. Length: `%u`.",t));a=new da(arguments[0])}}else{if(Mfr(a))a=Wfr(a,0);else if(Gfr(a))a=Jfr(a,0);else if(!mn(t))throw new RangeError(Br("invalid argument. Array-like object and typed array arguments must have a length which is a multiple of two. Length: `%u`.",t));a=new da(a)}else if(Lw(arguments[0])){if(a=arguments[0],!We(a.byteLength/ia))throw new RangeError(Br("invalid argument. ArrayBuffer byte length must be a multiple of %u. Byte length: `%u`.",ia,a.byteLength));a=new da(a)}else if(Sv(arguments[0])){if(a=arguments[0],$w===!1)throw new TypeError(Br("invalid argument. Environment lacks Symbol.iterator support. Must provide a length, ArrayBuffer, typed array, or array-like object. Value: `%s`.",a));if(!Ae(a[Ma]))throw new TypeError(Br("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",a));if(a=a[Ma](),!Ae(a.next))throw new TypeError(Br("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",a));if(a=Yw(a),a instanceof Error)throw a;a=new da(a)}else throw new TypeError(Br("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",arguments[0]));else{if(a=arguments[0],!Lw(a))throw new TypeError(Br("invalid argument. First argument must be an ArrayBuffer. Value: `%s`.",a));if(r=arguments[1],!uo(r))throw new TypeError(Br("invalid argument. Byte offset must be a nonnegative integer. Value: `%s`.",r));if(!We(r/ia))throw new RangeError(Br("invalid argument. Byte offset must be a multiple of %u. Value: `%u`.",ia,r));if(e===2){if(t=a.byteLength-r,!We(t/ia))throw new RangeError(Br("invalid arguments. ArrayBuffer view byte length must be a multiple of %u. View byte length: `%u`.",ia,t));a=new da(a,r)}else{if(t=arguments[2],!uo(t))throw new TypeError(Br("invalid argument. Length must be a nonnegative integer. Value: `%s`.",t));if(t*ia>a.byteLength-r)throw new RangeError(Br("invalid arguments. ArrayBuffer has insufficient capacity. Either decrease the array length or provide a bigger buffer. Minimum capacity: `%u`.",t*ia));a=new da(a,r,t*2)}}return Yr(this,"_buffer",a),Yr(this,"_length",a.length/2),this}Yr(Pr,"BYTES_PER_ELEMENT",ia);Yr(Pr,"name","Complex128Array");Yr(Pr,"from",function(e){var a,t,o,i,n,s,u,v,f,l,d,y;if(!Ae(this))throw new TypeError("invalid invocation. `this` context must be a constructor.");if(!Ww(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(t=arguments.length,t>1){if(o=arguments[1],!Ae(o))throw new TypeError(Br("invalid argument. Second argument must be a function. Value: `%s`.",o));t>2&&(a=arguments[2])}if(ae(e)){if(v=e.length,o){for(i=new this(v),n=i._buffer,y=0,d=0;d<v;d++){if(l=o.call(a,e.get(d),d),pa(l))n[y]=Oa(l),n[y+1]=Na(l);else if(qv(l)&&l.length>=2)n[y]=l[0],n[y+1]=l[1];else throw new TypeError(Br("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",l));y+=2}return i}return new this(e)}if(wv(e)){if(o){for(v=e.length,e.get&&e.set?u=Kfr("default"):u=Xfr("default"),d=0;d<v;d++)if(!pa(u(e,d))){f=!0;break}if(f){if(!mn(v))throw new RangeError(Br("invalid argument. First argument must have a length which is a multiple of two. Length: `%u`.",v));for(i=new this(v/2),n=i._buffer,d=0;d<v;d++)n[d]=o.call(a,u(e,d),d);return i}for(i=new this(v),n=i._buffer,y=0,d=0;d<v;d++){if(l=o.call(a,u(e,d),d),pa(l))n[y]=Oa(l),n[y+1]=Na(l);else if(qv(l)&&l.length>=2)n[y]=l[0],n[y+1]=l[1];else throw new TypeError(Br("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",l));y+=2}return i}return new this(e)}if(Sv(e)&&$w&&Ae(e[Ma])){if(n=e[Ma](),!Ae(n.next))throw new TypeError(Br("invalid argument. First argument must be an array-like object or an iterable. Value: `%s`.",e));if(o?s=Hfr(n,o,a):s=Yw(n),s instanceof Error)throw s;for(v=s.length/2,i=new this(v),n=i._buffer,d=0;d<v;d++)n[d]=s[d];return i}throw new TypeError(Br("invalid argument. First argument must be an array-like object or an iterable. Value: `%s`.",e))});Yr(Pr,"of",function(){var e,a;if(!Ae(this))throw new TypeError("invalid invocation. `this` context must be a constructor.");if(!Ww(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");for(e=[],a=0;a<arguments.length;a++)e.push(arguments[a]);return new this(e)});Yr(Pr.prototype,"at",function(e){if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!We(e))throw new TypeError(Br("invalid argument. Must provide an integer. Value: `%s`.",e));if(e<0&&(e+=this._length),!(e<0||e>=this._length))return we(this._buffer,e)});hn(Pr.prototype,"buffer",function(){return this._buffer.buffer});hn(Pr.prototype,"byteLength",function(){return this._buffer.byteLength});hn(Pr.prototype,"byteOffset",function(){return this._buffer.byteOffset});Yr(Pr.prototype,"BYTES_PER_ELEMENT",Pr.BYTES_PER_ELEMENT);Yr(Pr.prototype,"copyWithin",function(e,a){if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return arguments.length===2?this._buffer.copyWithin(e*2,a*2):this._buffer.copyWithin(e*2,a*2,arguments[2]*2),this});Yr(Pr.prototype,"entries",function(){var e,a,t,o,i,n,s;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return a=this,e=this._buffer,o=this._length,n=-1,s=-2,t={},Yr(t,"next",u),Yr(t,"return",v),Ma&&Yr(t,Ma,f),t;function u(){var l;return n+=1,i||n>=o?{done:!0}:(s+=2,l=new Gw(e[s],e[s+1]),{value:[n,l],done:!1})}function v(l){return i=!0,arguments.length?{value:l,done:!0}:{done:!0}}function f(){return a.entries()}});Yr(Pr.prototype,"every",function(e,a){var t,o;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ae(e))throw new TypeError(Br("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=0;o<this._length;o++)if(!e.call(a,we(t,o),o,this))return!1;return!0});Yr(Pr.prototype,"fill",function(e,a,t){var o,i,n,s,u,v;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!pa(e))throw new TypeError(Br("invalid argument. First argument must be a complex number. Value: `%s`.",e));if(o=this._buffer,i=this._length,arguments.length>1){if(!We(a))throw new TypeError(Br("invalid argument. Second argument must be an integer. Value: `%s`.",a));if(a<0&&(a+=i,a<0&&(a=0)),arguments.length>2){if(!We(t))throw new TypeError(Br("invalid argument. Third argument must be an integer. Value: `%s`.",t));t<0&&(t+=i,t<0&&(t=0)),t>i&&(t=i)}else t=i}else a=0,t=i;for(s=Oa(e),u=Na(e),v=a;v<t;v++)n=2*v,o[n]=s,o[n+1]=u;return this});Yr(Pr.prototype,"filter",function(e,a){var t,o,i,n;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ae(e))throw new TypeError(Br("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=[],i=0;i<this._length;i++)n=we(t,i),e.call(a,n,i,this)&&o.push(n);return new this.constructor(o)});Yr(Pr.prototype,"find",function(e,a){var t,o,i;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ae(e))throw new TypeError(Br("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=0;o<this._length;o++)if(i=we(t,o),e.call(a,i,o,this))return i});Yr(Pr.prototype,"findIndex",function(e,a){var t,o,i;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ae(e))throw new TypeError(Br("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=0;o<this._length;o++)if(i=we(t,o),e.call(a,i,o,this))return o;return-1});Yr(Pr.prototype,"findLast",function(e,a){var t,o,i;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ae(e))throw new TypeError(Br("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=this._length-1;o>=0;o--)if(i=we(t,o),e.call(a,i,o,this))return i});Yr(Pr.prototype,"findLastIndex",function(e,a){var t,o,i;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ae(e))throw new TypeError(Br("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=this._length-1;o>=0;o--)if(i=we(t,o),e.call(a,i,o,this))return o;return-1});Yr(Pr.prototype,"forEach",function(e,a){var t,o,i;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ae(e))throw new TypeError(Br("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=0;o<this._length;o++)i=we(t,o),e.call(a,i,o,this)});Yr(Pr.prototype,"get",function(e){if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!uo(e))throw new TypeError(Br("invalid argument. Must provide a nonnegative integer. Value: `%s`.",e));if(!(e>=this._length))return we(this._buffer,e)});hn(Pr.prototype,"length",function(){return this._length});Yr(Pr.prototype,"includes",function(e,a){var t,o,i,n,s;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!pa(e))throw new TypeError(Br("invalid argument. First argument must be a complex number. Value: `%s`.",e));if(arguments.length>1){if(!We(a))throw new TypeError(Br("invalid argument. Second argument must be an integer. Value: `%s`.",a));a<0&&(a+=this._length,a<0&&(a=0))}else a=0;for(i=Oa(e),n=Na(e),t=this._buffer,s=a;s<this._length;s++)if(o=2*s,i===t[o]&&n===t[o+1])return!0;return!1});Yr(Pr.prototype,"indexOf",function(e,a){var t,o,i,n,s;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!pa(e))throw new TypeError(Br("invalid argument. First argument must be a complex number. Value: `%s`.",e));if(arguments.length>1){if(!We(a))throw new TypeError(Br("invalid argument. Second argument must be an integer. Value: `%s`.",a));a<0&&(a+=this._length,a<0&&(a=0))}else a=0;for(i=Oa(e),n=Na(e),t=this._buffer,s=a;s<this._length;s++)if(o=2*s,i===t[o]&&n===t[o+1])return s;return-1});Yr(Pr.prototype,"join",function(e){var a,t,o,i;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(arguments.length===0)o=",";else if(Mw(e))o=e;else throw new TypeError(Br("invalid argument. First argument must be a string. Value: `%s`.",e));for(a=[],t=this._buffer,i=0;i<this._length;i++)a.push(we(t,i).toString());return a.join(o)});Yr(Pr.prototype,"keys",function(){var e,a,t,o,i;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return e=this,t=this._length,i=-1,a={},Yr(a,"next",n),Yr(a,"return",s),Ma&&Yr(a,Ma,u),a;function n(){return i+=1,o||i>=t?{done:!0}:{value:i,done:!1}}function s(v){return o=!0,arguments.length?{value:v,done:!0}:{done:!0}}function u(){return e.keys()}});Yr(Pr.prototype,"lastIndexOf",function(e,a){var t,o,i,n,s;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!pa(e))throw new TypeError(Br("invalid argument. First argument must be a complex number. Value: `%s`.",e));if(arguments.length>1){if(!We(a))throw new TypeError(Br("invalid argument. Second argument must be an integer. Value: `%s`.",a));a>=this._length?a=this._length-1:a<0&&(a+=this._length)}else a=this._length-1;for(i=Oa(e),n=Na(e),t=this._buffer,s=a;s>=0;s--)if(o=2*s,i===t[o]&&n===t[o+1])return s;return-1});Yr(Pr.prototype,"map",function(e,a){var t,o,i,n,s;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ae(e))throw new TypeError(Br("invalid argument. First argument must be a function. Value: `%s`.",e));for(o=this._buffer,i=new this.constructor(this._length),t=i._buffer,n=0;n<this._length;n++)if(s=e.call(a,we(o,n),n,this),pa(s))t[2*n]=Oa(s),t[2*n+1]=Na(s);else if(qv(s)&&s.length===2)t[2*n]=s[0],t[2*n+1]=s[1];else throw new TypeError(Br("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",s));return i});Yr(Pr.prototype,"reduce",function(e,a){var t,o,i,n,s;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ae(e))throw new TypeError(Br("invalid argument. First argument must be a function. Value: `%s`.",e));if(t=this._buffer,i=this._length,arguments.length>1)o=a,s=0;else{if(i===0)throw new Error("invalid operation. If not provided an initial value, an array must contain at least one element.");o=we(t,0),s=1}for(;s<i;s++)n=we(t,s),o=e(o,n,s,this);return o});Yr(Pr.prototype,"reduceRight",function(e,a){var t,o,i,n,s;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ae(e))throw new TypeError(Br("invalid argument. First argument must be a function. Value: `%s`.",e));if(t=this._buffer,i=this._length,arguments.length>1)o=a,s=i-1;else{if(i===0)throw new Error("invalid operation. If not provided an initial value, an array must contain at least one element.");o=we(t,i-1),s=i-2}for(;s>=0;s--)n=we(t,s),o=e(o,n,s,this);return o});Yr(Pr.prototype,"reverse",function(){var e,a,t,o,i,n;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");for(t=this._length,e=this._buffer,o=$fr(t/2),i=0;i<o;i++)n=t-i-1,a=e[2*i],e[2*i]=e[2*n],e[2*n]=a,a=e[2*i+1],e[2*i+1]=e[2*n+1],e[2*n+1]=a;return this});Yr(Pr.prototype,"set",function(e){var a,t,o,i,n,s,u,v,f;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(o=this._buffer,arguments.length>1){if(t=arguments[1],!uo(t))throw new TypeError(Br("invalid argument. Index argument must be a nonnegative integer. Value: `%s`.",t))}else t=0;if(pa(e)){if(t>=this._length)throw new RangeError(Br("invalid argument. Index argument is out-of-bounds. Value: `%u`.",t));t*=2,o[t]=Oa(e),o[t+1]=Na(e);return}if(ae(e)){if(s=e._length,t+s>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");if(a=e._buffer,f=o.byteOffset+t*ia,a.buffer===o.buffer&&a.byteOffset<f&&a.byteOffset+a.byteLength>f){for(i=new da(a.length),v=0;v<a.length;v++)i[v]=a[v];a=i}for(t*=2,f=0,v=0;v<s;v++)o[t]=a[f],o[t+1]=a[f+1],t+=2,f+=2;return}if(wv(e)){for(s=e.length,v=0;v<s;v++)if(!pa(e[v])){n=!0;break}if(n){if(!mn(s))throw new RangeError(Br("invalid argument. Array-like object arguments must have a length which is a multiple of two. Length: `%u`.",s));if(t+s/2>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");if(a=e,f=o.byteOffset+t*ia,a.buffer===o.buffer&&a.byteOffset<f&&a.byteOffset+a.byteLength>f){for(i=new da(s),v=0;v<s;v++)i[v]=a[v];a=i}for(t*=2,s/=2,f=0,v=0;v<s;v++)o[t]=a[f],o[t+1]=a[f+1],t+=2,f+=2;return}if(t+s>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");for(t*=2,v=0;v<s;v++)u=e[v],o[t]=Oa(u),o[t+1]=Na(u),t+=2;return}throw new TypeError(Br("invalid argument. First argument must be either a complex number, an array-like object, or a complex number array. Value: `%s`.",e))});Yr(Pr.prototype,"slice",function(e,a){var t,o,i,n,s,u,v;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(s=this._buffer,u=this._length,arguments.length===0)e=0,a=u;else{if(!We(e))throw new TypeError(Br("invalid argument. First argument must be an integer. Value: `%s`.",e));if(e<0&&(e+=u,e<0&&(e=0)),arguments.length===1)a=u;else{if(!We(a))throw new TypeError(Br("invalid argument. Second argument must be an integer. Value: `%s`.",a));a<0?(a+=u,a<0&&(a=0)):a>u&&(a=u)}}for(e<a?t=a-e:t=0,i=new this.constructor(t),o=i._buffer,v=0;v<t;v++)n=2*(v+e),o[2*v]=s[n],o[2*v+1]=s[n+1];return i});Yr(Pr.prototype,"some",function(e,a){var t,o;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ae(e))throw new TypeError(Br("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=0;o<this._length;o++)if(e.call(a,we(t,o),o,this))return!0;return!1});Yr(Pr.prototype,"sort",function(e){var a,t,o,i,n;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ae(e))throw new TypeError(Br("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=this._length,a=[],i=0;i<o;i++)a.push(we(t,i));for(a.sort(e),i=0;i<o;i++)n=2*i,t[n]=Oa(a[i]),t[n+1]=Na(a[i]);return this});Yr(Pr.prototype,"subarray",function(e,a){var t,o,i;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(o=this._buffer,i=this._length,arguments.length===0)e=0,a=i;else{if(!We(e))throw new TypeError(Br("invalid argument. First argument must be an integer. Value: `%s`.",e));if(e<0&&(e+=i,e<0&&(e=0)),arguments.length===1)a=i;else{if(!We(a))throw new TypeError(Br("invalid argument. Second argument must be an integer. Value: `%s`.",a));a<0?(a+=i,a<0&&(a=0)):a>i&&(a=i)}}return e>=i?(i=0,t=o.byteLength):e>=a?(i=0,t=o.byteOffset+e*ia):(i=a-e,t=o.byteOffset+e*ia),new this.constructor(o.buffer,t,i<0?0:i)});Yr(Pr.prototype,"toLocaleString",function(e,a){var t,o,i,n,s;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(arguments.length===0)o=[];else if(Mw(e)||Lfr(e))o=e;else throw new TypeError(Br("invalid argument. First argument must be a string or an array of strings. Value: `%s`.",e));if(arguments.length<2)t={};else if(Sv(a))t=a;else throw new TypeError(Br("invalid argument. Options argument must be an object. Value: `%s`.",a));for(n=this._buffer,i=[],s=0;s<this._length;s++)i.push(we(n,s).toLocaleString(o,t));return i.join(",")});Yr(Pr.prototype,"toReversed",function(){var e,a,t,o,i,n;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");for(t=this._length,a=new this.constructor(t),o=this._buffer,e=a._buffer,i=0;i<t;i++)n=t-i-1,e[2*i]=o[2*n],e[2*i+1]=o[2*n+1];return a});Yr(Pr.prototype,"toSorted",function(e){var a,t,o,i;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Ae(e))throw new TypeError(Br("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=this._length,a=[],i=0;i<o;i++)a.push(we(t,i));return a.sort(e),new Pr(a)});Yr(Pr.prototype,"toString",function(){var e,a,t;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");for(e=[],a=this._buffer,t=0;t<this._length;t++)e.push(we(a,t).toString());return e.join(",")});Yr(Pr.prototype,"values",function(){var e,a,t,o,i,n;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return a=this,i=this._buffer,t=this._length,n=-1,e={},Yr(e,"next",s),Yr(e,"return",u),Ma&&Yr(e,Ma,v),e;function s(){return n+=1,o||n>=t?{done:!0}:{value:we(i,n),done:!1}}function u(f){return o=!0,arguments.length?{value:f,done:!0}:{done:!0}}function v(){return a.values()}});Yr(Pr.prototype,"with",function(e,a){var t,o,i;if(!ae(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!We(e))throw new TypeError(Br("invalid argument. First argument must be an integer. Value: `%s`.",e));if(i=this._length,e<0&&(e+=i),e<0||e>=i)throw new RangeError(Br("invalid argument. Index argument is out-of-bounds. Value: `%s`.",e));if(!pa(a))throw new TypeError(Br("invalid argument. Second argument must be a complex number. Value: `%s`.",a));return o=new this.constructor(this._buffer),t=o._buffer,t[2*e]=Oa(a),t[2*e+1]=Na(a),o});Jw.exports=Pr});var vo=c((dae,Kw)=>{"use strict";var Qfr=Xw();Kw.exports=Qfr});var Zw=c((pae,Hw)=>{"use strict";var rlr=Vt();function elr(r){var e,a;for(e=[];a=r.next(),!a.done;)e.push(rlr(a.value));return e}Hw.exports=elr});var r3=c((yae,Qw)=>{"use strict";var alr=Vt();function tlr(r,e,a){var t,o,i;for(t=[],i=-1;o=r.next(),!o.done;)i+=1,t.push(alr(e.call(a,o.value,i)));return t}Qw.exports=tlr});var a3=c((mae,e3)=>{"use strict";var ilr=Vt();function olr(r,e){var a,t;for(a=e.length,t=0;t<a;t++)r[t]=ilr(e[t]);return r}e3.exports=olr});var v3=c((hae,u3)=>{"use strict";var fo=ge().isPrimitive,Ev=ke(),t3=Li(),Av=Ui(),_e=Pe(),lo=pe().isPrimitive,Da=fe().isPrimitive,i3=Pa().isPrimitive,nlr=un().primitives,slr=eo(),Ga=Fe(),$r=Ir(),gn=bt(),ot=va(),ce=Vt(),ulr=Et(),vlr=ea(),flr=it(),Wr=pr(),o3=Zw(),llr=r3(),clr=a3(),Ht=ot.BYTES_PER_ELEMENT,n3=slr();function te(r){return typeof r=="object"&&r!==null&&r.constructor.name==="BooleanArray"&&r.BYTES_PER_ELEMENT===Ht}function s3(r){return r===Mr}function Mr(){var r,e,a,t,o;if(e=arguments.length,!(this instanceof Mr))return e===0?new Mr:e===1?new Mr(arguments[0]):e===2?new Mr(arguments[0],arguments[1]):new Mr(arguments[0],arguments[1],arguments[2]);if(e===0)a=new ot(0);else if(e===1)if(o=arguments[0],fo(o))a=new ot(o);else if(Ev(o))a=clr(new ot(o.length),o);else if(t3(o))a=new ot(o);else if(Av(o)){if(n3===!1)throw new TypeError(Wr("invalid argument. Environment lacks Symbol.iterator support. Must provide a length, ArrayBuffer, typed array, or array-like object. Value: `%s`.",o));if(!_e(o[Ga]))throw new TypeError(Wr("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",o));if(a=o[Ga](),!_e(a.next))throw new TypeError(Wr("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",o));a=new ot(o3(a))}else throw new TypeError(Wr("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",o));else{if(a=arguments[0],!t3(a))throw new TypeError(Wr("invalid argument. First argument must be an ArrayBuffer. Value: `%s`.",a));if(r=arguments[1],!fo(r))throw new TypeError(Wr("invalid argument. Byte offset must be a nonnegative integer. Value: `%s`.",r));if(e===2)a=new ot(a,r);else{if(t=arguments[2],!fo(t))throw new TypeError(Wr("invalid argument. Length must be a nonnegative integer. Value: `%s`.",t));if(t*Ht>a.byteLength-r)throw new RangeError(Wr("invalid arguments. ArrayBuffer has insufficient capacity. Either decrease the array length or provide a bigger buffer. Minimum capacity: `%u`.",t*Ht));a=new ot(a,r,t)}}return $r(this,"_buffer",a),$r(this,"_length",a.length),this}$r(Mr,"BYTES_PER_ELEMENT",Ht);$r(Mr,"name","BooleanArray");$r(Mr,"from",function(e){var a,t,o,i,n,s,u,v,f;if(!_e(this))throw new TypeError("invalid invocation. `this` context must be a constructor.");if(!s3(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(t=arguments.length,t>1){if(o=arguments[1],!_e(o))throw new TypeError(Wr("invalid argument. Second argument must be a function. Value: `%s`.",o));t>2&&(a=arguments[2])}if(Ev(e)){if(o){for(v=e.length,e.get&&e.set?u=flr("default"):u=ulr("default"),i=new this(v),n=i._buffer,f=0;f<v;f++)n[f]=ce(o.call(a,u(e,f),f));return i}return new this(e)}if(Av(e)&&n3&&_e(e[Ga])){if(n=e[Ga](),!_e(n.next))throw new TypeError(Wr("invalid argument. First argument must be an array-like object or an iterable. Value: `%s`.",e));for(o?s=llr(n,o,a):s=o3(n),v=s.length,i=new this(v),n=i._buffer,f=0;f<v;f++)n[f]=s[f];return i}throw new TypeError(Wr("invalid argument. First argument must be an array-like object or an iterable. Value: `%s`.",e))});$r(Mr,"of",function(){var e,a;if(!_e(this))throw new TypeError("invalid invocation. `this` context must be a constructor.");if(!s3(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");for(e=[],a=0;a<arguments.length;a++)e.push(arguments[a]);return new this(e)});$r(Mr.prototype,"at",function(e){var a,t;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!Da(e))throw new TypeError(Wr("invalid argument. Must provide an integer. Value: `%s`.",e));if(t=this._length,a=this._buffer,e<0&&(e+=t),!(e<0||e>=t))return ce(a[e])});gn(Mr.prototype,"buffer",function(){return this._buffer.buffer});gn(Mr.prototype,"byteLength",function(){return this._buffer.byteLength});gn(Mr.prototype,"byteOffset",function(){return this._buffer.byteOffset});$r(Mr.prototype,"BYTES_PER_ELEMENT",Mr.BYTES_PER_ELEMENT);$r(Mr.prototype,"copyWithin",function(e,a){if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");return arguments.length===2?this._buffer.copyWithin(e,a):this._buffer.copyWithin(e,a,arguments[2]),this});$r(Mr.prototype,"entries",function(){var e,a,t,o,i,n;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");return e=this,o=this._buffer,t=this._length,n=-1,a={},$r(a,"next",s),$r(a,"return",u),Ga&&$r(a,Ga,v),a;function s(){return n+=1,i||n>=t?{done:!0}:{value:[n,ce(o[n])],done:!1}}function u(f){return i=!0,arguments.length?{value:f,done:!0}:{done:!0}}function v(){return e.entries()}});$r(Mr.prototype,"every",function(e,a){var t,o;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!_e(e))throw new TypeError(Wr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=0;o<this._length;o++)if(!e.call(a,ce(t[o]),o,this))return!1;return!0});$r(Mr.prototype,"fill",function(e,a,t){var o,i,n,s;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!lo(e))throw new TypeError(Wr("invalid argument. First argument must be a boolean. Value: `%s`.",e));if(o=this._buffer,i=this._length,arguments.length>1){if(!Da(a))throw new TypeError(Wr("invalid argument. Second argument must be an integer. Value: `%s`.",a));if(a<0&&(a+=i,a<0&&(a=0)),arguments.length>2){if(!Da(t))throw new TypeError(Wr("invalid argument. Third argument must be an integer. Value: `%s`.",t));t<0&&(t+=i,t<0&&(t=0)),t>i&&(t=i)}else t=i}else a=0,t=i;for(e?n=1:n=0,s=a;s<t;s++)o[s]=n;return this});$r(Mr.prototype,"filter",function(e,a){var t,o,i,n;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!_e(e))throw new TypeError(Wr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=[],i=0;i<this._length;i++)n=ce(t[i]),e.call(a,n,i,this)&&o.push(n);return new this.constructor(o)});$r(Mr.prototype,"find",function(e,a){var t,o,i;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!_e(e))throw new TypeError(Wr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,i=0;i<this._length;i++)if(o=ce(t[i]),e.call(a,o,i,this))return o});$r(Mr.prototype,"findIndex",function(e,a){var t,o,i;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!_e(e))throw new TypeError(Wr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,i=0;i<this._length;i++)if(o=ce(t[i]),e.call(a,o,i,this))return i;return-1});$r(Mr.prototype,"findLast",function(e,a){var t,o,i;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!_e(e))throw new TypeError(Wr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,i=this._length-1;i>=0;i--)if(o=ce(t[i]),e.call(a,o,i,this))return o});$r(Mr.prototype,"findLastIndex",function(e,a){var t,o,i;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!_e(e))throw new TypeError(Wr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,i=this._length-1;i>=0;i--)if(o=ce(t[i]),e.call(a,o,i,this))return i;return-1});$r(Mr.prototype,"forEach",function(e,a){var t,o;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!_e(e))throw new TypeError(Wr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=0;o<this._length;o++)e.call(a,ce(t[o]),o,this)});$r(Mr.prototype,"get",function(e){if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!fo(e))throw new TypeError(Wr("invalid argument. Must provide a nonnegative integer. Value: `%s`.",e));if(!(e>=this._length))return ce(this._buffer[e])});$r(Mr.prototype,"includes",function(e,a){var t,o;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!lo(e))throw new TypeError(Wr("invalid argument. First argument must be a boolean. Value: `%s`.",e));if(arguments.length>1){if(!Da(a))throw new TypeError(Wr("invalid argument. Second argument must be an integer. Value: `%s`.",a));a<0&&(a+=this._length,a<0&&(a=0))}else a=0;for(t=this._buffer,o=a;o<this._length;o++)if(e===ce(t[o]))return!0;return!1});$r(Mr.prototype,"indexOf",function(e,a){var t,o;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!lo(e))throw new TypeError(Wr("invalid argument. First argument must be a boolean. Value: `%s`.",e));if(arguments.length>1){if(!Da(a))throw new TypeError(Wr("invalid argument. Second argument must be an integer. Value: `%s`.",a));a<0&&(a+=this._length,a<0&&(a=0))}else a=0;for(t=this._buffer,o=a;o<this._length;o++)if(e===ce(t[o]))return o;return-1});$r(Mr.prototype,"join",function(e){var a,t,o;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(arguments.length>0){if(!i3(e))throw new TypeError(Wr("invalid argument. First argument must be a string. Value: `%s`.",e))}else e=",";for(a=this._buffer,t=[],o=0;o<this._length;o++)a[o]?t.push("true"):t.push("false");return t.join(e)});$r(Mr.prototype,"keys",function(){var e,a,t,o,i;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");return e=this,t=this._length,i=-1,a={},$r(a,"next",n),$r(a,"return",s),Ga&&$r(a,Ga,u),a;function n(){return i+=1,o||i>=t?{done:!0}:{value:i,done:!1}}function s(v){return o=!0,arguments.length?{value:v,done:!0}:{done:!0}}function u(){return e.keys()}});$r(Mr.prototype,"lastIndexOf",function(e,a){var t,o;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!lo(e))throw new TypeError(Wr("invalid argument. First argument must be a boolean. Value: `%s`.",e));if(arguments.length>1){if(!Da(a))throw new TypeError(Wr("invalid argument. Second argument must be an integer. Value: `%s`.",a));a>=this._length?a=this._length-1:a<0&&(a+=this._length)}else a=this._length-1;for(t=this._buffer,o=a;o>=0;o--)if(e===ce(t[o]))return o;return-1});gn(Mr.prototype,"length",function(){return this._length});$r(Mr.prototype,"map",function(e,a){var t,o,i,n;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!_e(e))throw new TypeError("invalid argument. First argument must be a function. Value: `%s`.",e);for(i=this._buffer,o=new this.constructor(this._length),t=o._buffer,n=0;n<this._length;n++)t[n]=ce(e.call(a,ce(i[n]),n,this));return o});$r(Mr.prototype,"reduce",function(e,a){var t,o,i,n;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!_e(e))throw new TypeError(Wr("invalid argument. First argument must be a function. Value: `%s`.",e));if(t=this._buffer,o=this._length,arguments.length>1)i=a,n=0;else{if(o===0)throw new Error("invalid operation. If not provided an initial value, an array must contain at least one element.");i=ce(t[0]),n=1}for(;n<o;n++)i=e(i,ce(t[n]),n,this);return i});$r(Mr.prototype,"reduceRight",function(e,a){var t,o,i,n;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!_e(e))throw new TypeError(Wr("invalid argument. First argument must be a function. Value: `%s`.",e));if(t=this._buffer,o=this._length,arguments.length>1)i=a,n=o-1;else{if(o===0)throw new Error("invalid operation. If not provided an initial value, an array must contain at least one element.");i=ce(t[o-1]),n=o-2}for(;n>=0;n--)i=e(i,ce(t[n]),n,this);return i});$r(Mr.prototype,"reverse",function(){var e,a,t,o,i,n;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");for(e=this._buffer,t=this._length,o=vlr(t/2),i=0;i<o;i++)n=t-i-1,a=e[i],e[i]=e[n],e[n]=a;return this});$r(Mr.prototype,"set",function(e){var a,t,o,i,n,s,u;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(o=this._buffer,arguments.length>1){if(t=arguments[1],!fo(t))throw new TypeError(Wr("invalid argument. Index argument must be a nonnegative integer. Value: `%s`.",t))}else t=0;if(Ev(e)){if(n=e.length,t+n>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");if(te(e)?a=e._buffer:a=e,u=o.byteOffset+t*Ht,a.buffer===o.buffer&&a.byteOffset<u&&a.byteOffset+a.byteLength>u){for(i=new ot(a.length),s=0;s<a.length;s++)i[s]=a[s];a=i}for(s=0;s<n;t++,s++)o[t]=a[s]?1:0;return}if(t>=this._length)throw new RangeError(Wr("invalid argument. Index argument is out-of-bounds. Value: `%u`.",t));o[t]=e?1:0});$r(Mr.prototype,"slice",function(e,a){var t,o,i,n,s,u;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(n=this._buffer,s=this._length,arguments.length===0)e=0,a=s;else{if(!Da(e))throw new TypeError(Wr("invalid argument. First argument must be an integer. Value: `%s`.",e));if(e<0&&(e+=s,e<0&&(e=0)),arguments.length===1)a=s;else{if(!Da(a))throw new TypeError(Wr("invalid argument. Second argument must be an integer. Value: `%s`.",a));a<0?(a+=s,a<0&&(a=0)):a>s&&(a=s)}}for(e<a?t=a-e:t=0,i=new this.constructor(t),o=i._buffer,u=0;u<t;u++)o[u]=n[u+e];return i});$r(Mr.prototype,"some",function(e,a){var t,o;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!_e(e))throw new TypeError(Wr("invalid argument. First argument must be a function. Value: `%s`.",e));for(t=this._buffer,o=0;o<this._length;o++)if(e.call(a,ce(t[o]),o,this))return!0;return!1});$r(Mr.prototype,"sort",function(e){var a;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(a=this._buffer,arguments.length===0)return a.sort(),this;if(!_e(e))throw new TypeError(Wr("invalid argument. First argument must be a function. Value: `%s`.",e));return a.sort(t),this;function t(o,i){return e(ce(o),ce(i))}});$r(Mr.prototype,"subarray",function(e,a){var t,o,i;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(o=this._buffer,i=this._length,arguments.length===0)e=0,a=i;else{if(!Da(e))throw new TypeError(Wr("invalid argument. First argument must be an integer. Value: `%s`.",e));if(e<0&&(e+=i,e<0&&(e=0)),arguments.length===1)a=i;else{if(!Da(a))throw new TypeError(Wr("invalid argument. Second argument must be an integer. Value: `%s`.",a));a<0?(a+=i,a<0&&(a=0)):a>i&&(a=i)}}return e>=i?(i=0,t=o.byteLength):e>=a?(i=0,t=o.byteOffset+e*Ht):(i=a-e,t=o.byteOffset+e*Ht),new this.constructor(o.buffer,t,i<0?0:i)});$r(Mr.prototype,"toLocaleString",function(e,a){var t,o,i,n,s;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(arguments.length===0)o=[];else if(i3(e)||nlr(e))o=e;else throw new TypeError(Wr("invalid argument. First argument must be a string or an array of strings. Value: `%s`.",e));if(arguments.length<2)t={};else if(Av(a))t=a;else throw new TypeError(Wr("invalid argument. Options argument must be an object. Value: `%s`.",a));for(n=this._buffer,i=[],s=0;s<this._length;s++)i.push(ce(n[s]).toLocaleString(o,t));return i.join(",")});$r(Mr.prototype,"toReversed",function(){var e,a,t,o,i;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");for(t=this._length,a=new this.constructor(t),o=this._buffer,e=a._buffer,i=0;i<t;i++)e[i]=o[t-i-1];return a});$r(Mr.prototype,"toSorted",function(e){var a,t,o,i,n;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");for(o=this._length,t=new this.constructor(o),i=this._buffer,a=t._buffer,n=0;n<o;n++)a[n]=i[n];if(arguments.length===0)return a.sort(),t;if(!_e(e))throw new TypeError(Wr("invalid argument. First argument must be a function. Value: `%s`.",e));return a.sort(s),t;function s(u,v){return e(ce(u),ce(v))}});$r(Mr.prototype,"toString",function(){var e,a,t;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");for(e=[],a=this._buffer,t=0;t<this._length;t++)a[t]?e.push("true"):e.push("false");return e.join(",")});$r(Mr.prototype,"values",function(){var e,a,t,o,i,n;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");return a=this,i=this._buffer,t=this._length,n=-1,e={},$r(e,"next",s),$r(e,"return",u),Ga&&$r(e,Ga,v),e;function s(){return n+=1,o||n>=t?{done:!0}:{value:ce(i[n]),done:!1}}function u(f){return o=!0,arguments.length?{value:f,done:!0}:{done:!0}}function v(){return a.values()}});$r(Mr.prototype,"with",function(e,a){var t,o,i;if(!te(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!Da(e))throw new TypeError(Wr("invalid argument. First argument must be an integer. Value: `%s`.",e));if(i=this._length,e<0&&(e+=i),e<0||e>=i)throw new RangeError(Wr("invalid argument. Index argument is out-of-bounds. Value: `%s`.",e));if(!lo(a))throw new TypeError(Wr("invalid argument. Second argument must be a boolean. Value: `%s`.",a));return o=new this.constructor(this._buffer),t=o._buffer,a?t[e]=1:t[e]=0,o});u3.exports=Mr});var co=c((gae,f3)=>{"use strict";var dlr=v3();f3.exports=dlr});var c3=c((bae,l3)=>{"use strict";var plr=qt(),ylr=At(),mlr=Ji(),hlr=Xi(),glr=fi(),blr=Ki(),xlr=va(),qlr=Hi(),wlr=Zi(),Slr=so(),Elr=vo(),Alr=co(),_lr=[plr,ylr,hlr,mlr,blr,glr,wlr,xlr,qlr,Slr,Elr,Alr];l3.exports=_lr});var p3=c((xae,d3)=>{"use strict";var Tlr=["float64","float32","int32","uint32","int16","uint16","int8","uint8","uint8c","complex64","complex128","bool"];d3.exports=Tlr});var h3=c((qae,m3)=>{"use strict";var jlr=Ci(),Ilr=wa(),Olr=gt(),Nlr=hb(),Dlr=c3(),y3=p3(),klr=y3.length;function Blr(r){var e;if(Ilr(r))return"generic";if(jlr(r))return null;for(e=0;e<klr;e++)if(r instanceof Dlr[e])return y3[e];return Nlr[Olr(r)]||null}m3.exports=Blr});var po=c((wae,g3)=>{"use strict";var Flr=h3();g3.exports=Flr});var x3=c((Sae,b3)=>{"use strict";var Rlr=tt(),zlr=it(),Vlr=Et(),Ulr=po();function Clr(r,e){var a,t,o,i;for(o=Ulr(r),Rlr(r)?t=zlr(o):t=Vlr(o),a=r.length,i=0;i<a;i++)if(t(r,i)===e)return!0;return!1}b3.exports=Clr});var w3=c((Eae,q3)=>{"use strict";var Plr=ke(),Llr=tt(),Mlr=it(),Glr=po(),Ylr=pr();function $lr(r){var e,a,t;if(!Plr(r))throw new TypeError(Ylr("invalid argument. Must provide an array-like object. Value: `%s`.",r));return t=Glr(r),Llr(r)&&(e=Mlr(t)),a=r.length,e===void 0?o:i;function o(n){var s;for(s=0;s<a;s++)if(r[s]===n)return!0;return!1}function i(n){var s;for(s=0;s<a;s++)if(e(r,s)===n)return!0;return!1}}q3.exports=$lr});var Ue=c((Aae,E3)=>{"use strict";var Wlr=Ir(),S3=x3(),Jlr=w3();Wlr(S3,"factory",Jlr);E3.exports=S3});var _3=c((_ae,A3)=>{"use strict";var Xlr=Ue().factory,Klr=Be(),Hlr=Xlr(Klr());A3.exports=Hlr});var di=c((Tae,T3)=>{"use strict";var Zlr=_3();T3.exports=Zlr});var I3=c((jae,j3)=>{"use strict";var Qlr=et();function rcr(r,e,a,t){var o=Qlr(e,a,t);return o[0]>=0&&o[1]<r}j3.exports=rcr});var _v=c((Iae,O3)=>{"use strict";var ecr=I3();O3.exports=ecr});var Tv=c((Oae,N3)=>{"use strict";function acr(){return{dtypes:{default:"float64",numeric:"float64",real:"float64",floating_point:"float64",real_floating_point:"float64",complex_floating_point:"complex128",integer:"int32",signed_integer:"int32",unsigned_integer:"uint32",boolean:"bool"},order:"row-major",casting:"safe",index_mode:"throw"}}N3.exports=acr});var k3=c((Nae,D3)=>{"use strict";var tcr=Tv(),oa=tcr(),icr={"dtypes.default":oa.dtypes.default,"dtypes.numeric":oa.dtypes.numeric,"dtypes.real":oa.dtypes.real,"dtypes.floating_point":oa.dtypes.floating_point,"dtypes.real_floating_point":oa.dtypes.real_floating_point,"dtypes.complex_floating_point":oa.dtypes.complex_floating_point,"dtypes.integer":oa.dtypes.integer,"dtypes.signed_integer":oa.dtypes.signed_integer,"dtypes.unsigned_integer":oa.dtypes.unsigned_integer,"dtypes.boolean":oa.dtypes.boolean,order:oa.order,casting:oa.casting,index_mode:oa.index_mode};function ocr(r){var e=icr[r];return e===void 0?null:e}D3.exports=ocr});var ka=c((Dae,F3)=>{"use strict";var ncr=Ir(),B3=Tv(),scr=k3();ncr(B3,"get",scr);F3.exports=B3});var z3=c((kae,R3)=>{"use strict";var ucr=pr();function vcr(r){var e=typeof r;return r===null||e!=="object"&&e!=="function"?new TypeError(ucr("invalid argument. A provided constructor must be either an object (except null) or a function. Value: `%s`.",r)):null}R3.exports=vcr});var U3=c((Bae,V3)=>{"use strict";V3.exports=Object.create});var L3=c((Fae,P3)=>{"use strict";function C3(){}function fcr(r){return C3.prototype=r,new C3}P3.exports=fcr});var Y3=c((Rae,G3)=>{"use strict";var M3=U3(),lcr=L3(),jv;typeof M3=="function"?jv=M3:jv=lcr;G3.exports=jv});var J3=c((zae,W3)=>{"use strict";var ccr=Rt(),dcr=pr(),$3=z3(),pcr=Y3();function ycr(r,e){var a=$3(r);if(a||(a=$3(e),a))throw a;if(typeof e.prototype>"u")throw new TypeError(dcr("invalid argument. Second argument must have a prototype from which another object can inherit. Value: `%s`.",e.prototype));return r.prototype=pcr(e.prototype),ccr(r.prototype,"constructor",{configurable:!0,enumerable:!1,writable:!0,value:r}),r}W3.exports=ycr});var Iv=c((Vae,X3)=>{"use strict";var mcr=J3();X3.exports=mcr});var H3=c((Uae,K3)=>{"use strict";function hcr(r,e){return r<0?0:r>e?e:r}K3.exports=hcr});var bn=c((Cae,Z3)=>{"use strict";var gcr=H3();Z3.exports=gcr});var r4=c((Pae,Q3)=>{"use strict";function bcr(r,e){var a=e+1;return r<0?(r+=a,r<0&&(r%=a,r!==0&&(r+=a)),r):(r>e&&(r-=a,r>e&&(r%=a)),r)}Q3.exports=bcr});var xn=c((Lae,e4)=>{"use strict";var xcr=r4();e4.exports=xcr});var t4=c((Mae,a4)=>{"use strict";function qcr(r,e){return r<0?(r+=e+1,r<0?-1:r):r>e?-1:r}a4.exports=qcr});var ya=c((Gae,i4)=>{"use strict";var wcr=t4();i4.exports=wcr});var n4=c((Yae,o4)=>{"use strict";var Scr=Ue().factory,Ecr=Wt(),Acr=Scr(Ecr());o4.exports=Acr});var pi=c(($ae,s4)=>{"use strict";var _cr=n4();s4.exports=_cr});var v4=c((Wae,u4)=>{"use strict";var Tcr=bn(),jcr=xn(),Icr=ya(),Ocr=pi(),Ov=pr(),Ncr={wrap:jcr,clamp:Tcr,normalize:kcr,throw:Dcr};function Dcr(r,e){if(r<0||r>e)throw new RangeError(Ov("invalid argument. Index must resolve to a value on the interval: [0, %d]. Value: `%d`.",e,r));return r}function kcr(r,e){var a=Icr(r,e);if(a<0||a>e)throw new RangeError(Ov("invalid argument. Index must resolve to a value on the interval: [0, %d]. Value: `%d`.",e,r));return a}function Bcr(r){if(!Ocr(r))throw new TypeError(Ov("invalid argument. First argument must be a recognized index mode. Value: `%s`.",r));return Ncr[r]}u4.exports=Bcr});var l4=c((Jae,f4)=>{"use strict";var Fcr=bn(),Rcr=xn(),zcr=ya(),Vcr=pr();function Ucr(r,e,a){var t;if(a==="clamp")return Fcr(r,e);if(a==="wrap")return Rcr(r,e);if(t=r,a==="normalize"&&(t=zcr(t,e)),t<0||t>e)throw new RangeError(Vcr("invalid argument. Index must resolve to a value on the interval: [0, %d]. Value: `%d`.",e,r));return t}f4.exports=Ucr});var nt=c((Xae,d4)=>{"use strict";var Ccr=Ir(),Pcr=v4(),c4=l4();Ccr(c4,"factory",Pcr);d4.exports=c4});var m4=c((Kae,y4)=>{"use strict";var Lcr=fe().isPrimitive,Mcr=nt(),Gcr=aa(),Ycr=pr(),p4=Gcr.prototype.iget;function $cr(r){if(this._ndims>0){if(!Lcr(r))throw new TypeError(Ycr("invalid argument. Index must be an integer. Value: `%s`.",r));return r=Mcr(r,this._length-1,this._mode),p4.call(this,r)}return p4.call(this)}y4.exports=$cr});var b4=c((Hae,g4)=>{"use strict";var Wcr=fe().isPrimitive,Jcr=nt(),Xcr=aa(),Kcr=pr(),h4=Xcr.prototype.iset;function Hcr(r,e){if(this._flags.READONLY)throw new Error("invalid invocation. Cannot write to a read-only array.");if(this._ndims>0){if(!Wcr(r))throw new TypeError(Kcr("invalid argument. Index must be an integer. Value: `%s`.",r));r=Jcr(r,this._length-1,this._mode),h4.call(this,r,e)}else h4.call(this,r);return this}g4.exports=Hcr});var w4=c((Zae,q4)=>{"use strict";var Zcr=fe().isPrimitive,Qcr=nt(),x4=pr();function rdr(){var r,e,a,t;if(arguments.length!==this._ndims)throw new RangeError(x4("invalid arguments. Number of indices must match the number of dimensions. ndims: `%u`. nargs: `%u`.",this._ndims,arguments.length));for(r=this._offset,a=this._submode.length,t=0;t<arguments.length;t++){if(!Zcr(arguments[t]))throw new TypeError(x4("invalid argument. Indices must be integer valued. Argument: `%u`. Value: `%s`.",t,arguments[t]));e=Qcr(arguments[t],this._shape[t]-1,this._submode[t%a]),r+=this._strides[t]*e}return this._accessors?this._buffer.get(r):this._buffer[r]}q4.exports=rdr});var A4=c((Qae,E4)=>{"use strict";var edr=fe().isPrimitive,adr=nt(),S4=pr();function tdr(){var r,e,a,t;if(this._flags.READONLY)throw new Error("invalid invocation. Cannot write to a read-only array.");if(arguments.length!==this._ndims+1)throw new RangeError(S4("invalid arguments. Number of indices must match the number of dimensions. ndims: `%u`. nargs: `%u`.",this._ndims,arguments.length));for(r=this._offset,a=this._submode.length,t=0;t<arguments.length-1;t++){if(!edr(arguments[t]))throw new TypeError(S4("invalid argument. Indices must be integer valued. Argument: `%i`. Value: `%s`.",t,arguments[t]));e=adr(arguments[t],this._shape[t]-1,this._submode[t%a]),r+=this._strides[t]*e}return this._accessors?this._buffer.set(arguments[t],r):this._buffer[r]=arguments[t],this}E4.exports=tdr});var T4=c((rte,_4)=>{"use strict";function idr(r,e){var a,t;for(a=[],t=0;t<e;t++)a.push(r[t]);return a}_4.exports=idr});var O4=c((ete,I4)=>{"use strict";var odr=ne(),Nv=Xr(),ndr=Ve(),j4=pi(),sdr=pe().isPrimitive,yi=pr();function udr(r,e){var a;if(!odr(e))return new TypeError(yi("invalid argument. Options argument must be an object. Value: `%s`.",e));if(Nv(e,"mode")&&(r.mode=e.mode,!j4(r.mode)))return new TypeError(yi("invalid option. `%s` option must be a recognized mode. Option: `%s`.","mode",r.mode));if(Nv(e,"submode")){if(r.submode=e.submode,!ndr(r.submode))return new TypeError(yi("invalid option. `%s` option must be an array containing recognized modes. Option: `%s`.","submode",r.submode));if(r.submode.length===0)return new TypeError(yi("invalid option. `%s` option must be an array containing recognized modes. Option: `%s`.","submode",r.submode.join(",")));for(a=0;a<r.submode.length;a++)if(!j4(r.submode[a]))return new TypeError(yi("invalid option. Each submode must be a recognized mode. Option: `%s`.",r.submode[a]));r.submode=r.submode.slice()}return Nv(e,"readonly")&&(r.readonly=e.readonly,!sdr(r.readonly))?new TypeError(yi("invalid option. `%s` option must be a boolean. Option: `%s`.","readonly",r.readonly)):null}I4.exports=udr});var z4=c((ate,R4)=>{"use strict";var yo=Ir(),N4=ke(),vdr=Jt().primitives,fdr=ge().isPrimitive,ldr=Qu().primitives,D4=Pe(),cdr=Ta(),ddr=di(),pdr=_v(),ydr=Jr(),F4=aa(),mdr=ka(),hdr=Iv(),Ya=pr(),gdr=m4(),bdr=b4(),xdr=w4(),qdr=A4(),k4=T4(),wdr=O4(),B4=32767,Sdr=mdr.get("index_mode"),Edr=!1;function $a(r,e,a,t,o,i,n){var s,u,v,f,l;if(!(this instanceof $a))return arguments.length<7?new $a(r,e,a,t,o,i):new $a(r,e,a,t,o,i,n);if(!ddr(r))throw new TypeError(Ya("invalid argument. First argument must be a supported ndarray data type. Value: `%s`.",r));if(N4(e)){if(e.get&&e.set&&(!D4(e.get)||!D4(e.set)))throw new TypeError(Ya("invalid argument. Second argument `get` and `set` properties must be functions. Value: `%s`.",e))}else throw new TypeError(Ya("invalid argument. Second argument must be an array-like object, typed-array-like, or a Buffer. Value: `%s`.",e));if(!vdr(a)&&(!N4(a)||a.length>0))throw new TypeError(Ya("invalid argument. Third argument must be an array-like object containing nonnegative integers. Value: `%s`.",a));if(s=a.length,s>B4)throw new RangeError(Ya("invalid argument. Number of dimensions must not exceed %u due to stack limits. Value: `%u`.",B4,s));if(!ldr(t))throw new TypeError(Ya("invalid argument. Fourth argument must be an array-like object containing integers. Value: `%s`.",t));if(s>0){if(t.length!==s)throw new RangeError(Ya("invalid argument. Fourth argument length must match the number of dimensions. Expected number of dimensions: `%u`. Strides length: `%u`.",s,t.length))}else{if(t.length!==1)throw new RangeError("invalid argument. Fourth argument length must be equal to 1 when creating a zero-dimensional ndarray.");if(t[0]!==0)throw new RangeError(Ya("invalid argument. Fourth argument must contain a single element equal to 0. Value: `%d`.",t[0]))}if(!fdr(o))throw new TypeError(Ya("invalid argument. Fifth argument must be a nonnegative integer. Value: `%s`.",o));if(!cdr(i))throw new TypeError(Ya("invalid argument. Sixth argument must be a supported order. Value: `%s`.",i));if(s>0&&!pdr(e.length,a,t,o)&&ydr(a)>0)throw new Error("invalid arguments. Input buffer is incompatible with the specified meta data. Ensure that the offset is valid with regard to the strides array and that the buffer has enough elements to satisfy the desired array shape.");if(u={},u.mode=Sdr,u.readonly=Edr,arguments.length>6&&(v=wdr(u,n),v))throw v;return this._mode=u.mode,u.submode===void 0&&(u.submode=[this._mode]),this._submode=u.submode,f=k4(a,s),l=k4(t,s||1),F4.call(this,r,e,f,l,o,i),this._flags.READONLY=u.readonly,this}hdr($a,F4);yo($a,"name","ndarray");yo($a.prototype,"get",xdr);yo($a.prototype,"iget",gdr);yo($a.prototype,"set",qdr);yo($a.prototype,"iset",bdr);R4.exports=$a});var ma=c((tte,V4)=>{"use strict";var Adr=z4();V4.exports=Adr});var U4=c((ite,_dr)=>{_dr.exports=["none","equiv","safe","mostly-safe","same-kind","unsafe"]});var P4=c((ote,C4)=>{"use strict";var Tdr=U4();function jdr(){return Tdr.slice()}C4.exports=jdr});var M4=c((nte,L4)=>{"use strict";function Idr(){return{none:0,equiv:1,safe:2,"mostly-safe":3,"same-kind":4,unsafe:5}}L4.exports=Idr});var Dv=c((ste,Y4)=>{"use strict";var Odr=Ir(),G4=P4(),Ndr=M4();Odr(G4,"enum",Ndr);Y4.exports=G4});var J4=c((ute,W4)=>{"use strict";var Ddr=Dv(),$4=Ddr(),kdr=$4.length;function Bdr(r){var e;for(e=0;e<kdr;e++)if(r===$4[e])return!0;return!1}W4.exports=Bdr});var kv=c((vte,X4)=>{"use strict";var Fdr=J4();X4.exports=Fdr});var Z4=c((fte,H4)=>{"use strict";var Rdr=Aa(),zdr=wa(),Vdr=ne(),Udr=Xo(),Cdr=pe().isPrimitive,K4=Xr(),Bv=pr();function Pdr(r,e){var a=!0,t,o,i,n,s,u,v;if(!Udr(r))throw new TypeError(Bv("invalid argument. First argument must be an object (except null). Value: `%s`.",r));if(arguments.length>1){if(!Vdr(e))throw new TypeError(Bv("invalid argument. Options argument must be an object. Value: `%s`.",e));if(K4(e,"duplicates")&&(a=e.duplicates,!Cdr(a)))throw new TypeError(Bv("invalid option. `%s` option must be a boolean. Option: `%s`.","duplicates",a))}if(t=Rdr(r),o=t.length,s={},a)for(v=0;v<o;v++){if(i=t[v],n=r[i],!K4(s,n)){s[n]=i;continue}u=s[n],zdr(u)?s[n].push(i):s[n]=[u,i]}else for(v=0;v<o;v++)i=t[v],s[r[i]]=i;return s}H4.exports=Pdr});var qn=c((lte,Q4)=>{"use strict";var Ldr=Z4();Q4.exports=Ldr});var e6=c((cte,r6)=>{"use strict";var Mdr=qn(),Gdr=Be().enum,Ydr=Mdr(Gdr(),{duplicates:!1});function $dr(r){var e=Ydr[r];return typeof e=="string"?e:null}r6.exports=$dr});var wn=c((dte,a6)=>{"use strict";var Wdr=e6();a6.exports=Wdr});var i6=c((pte,t6)=>{"use strict";var Jdr=Be().enum,Xdr=Jdr();function Kdr(r){var e=Xdr[r];return typeof e=="number"?e:null}t6.exports=Kdr});var mo=c((yte,o6)=>{"use strict";var Hdr=i6();o6.exports=Hdr});var s6=c((mte,n6)=>{"use strict";var Zdr=wn(),Qdr=mo();function r0r(r){var e=typeof r;return e==="string"?Qdr(r)===null?null:r:e==="number"?Zdr(r):null}n6.exports=r0r});var Ba=c((hte,u6)=>{"use strict";var e0r=s6();u6.exports=e0r});var v6=c((gte,a0r)=>{a0r.exports={float64:{float64:1,float32:0,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:0,binary:0,generic:1,bool:0},float32:{float64:1,float32:1,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:1,binary:0,generic:1,bool:0},int32:{float64:1,float32:0,int32:1,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:0,binary:0,generic:1,bool:0},int16:{float64:1,float32:1,int32:1,int16:1,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:1,binary:0,generic:1,bool:0},int8:{float64:1,float32:1,int32:1,int16:1,int8:1,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:1,binary:0,generic:1,bool:0},uint32:{float64:1,float32:0,int32:0,int16:0,int8:0,uint32:1,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:0,binary:0,generic:1,bool:0},uint16:{float64:1,float32:1,int32:1,int16:0,int8:0,uint32:1,uint16:1,uint8:0,uint8c:0,complex128:1,complex64:1,binary:0,generic:1,bool:0},uint8:{float64:1,float32:1,int32:1,int16:1,int8:0,uint32:1,uint16:1,uint8:1,uint8c:1,complex128:1,complex64:1,binary:0,generic:1,bool:0},uint8c:{float64:1,float32:1,int32:1,int16:1,int8:0,uint32:1,uint16:1,uint8:1,uint8c:1,complex128:1,complex64:1,binary:0,generic:1,bool:0},complex128:{float64:0,float32:0,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:0,binary:0,generic:1,bool:0},complex64:{float64:0,float32:0,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:1,binary:0,generic:1,bool:0},generic:{float64:0,float32:0,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:0,complex64:0,binary:0,generic:1,bool:0},binary:{float64:0,float32:0,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:0,complex64:0,binary:1,generic:0,bool:0},bool:{float64:0,float32:0,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:0,complex64:0,binary:0,generic:1,bool:1}}});var c6=c((bte,l6)=>{"use strict";var f6=Aa(),t0r=Xr(),i0r=Ba(),En=v6(),Sn;function o0r(){var r,e,a,t,o,i,n,s,u;for(a={},r=f6(En),e=r.length,u=0;u<e;u++){for(o=r[u],n=En[o],t={},s=0;s<e;s++)i=r[s],t[i]=n[i];a[o]=t}return a}function n0r(){var r,e,a,t,o,i,n,s,u;for(a={},r=f6(En),e=r.length,u=0;u<e;u++){for(o=r[u],n=En[o],t=[],s=0;s<e;s++)i=r[s],n[i]===1&&t.push(i);a[o]=t}return a}function s0r(r){return arguments.length===0?o0r():(Sn===void 0&&(Sn=n0r()),r=i0r(r),t0r(Sn,r)?Sn[r].slice():null)}l6.exports=s0r});var Fv=c((xte,d6)=>{"use strict";var u0r=c6();d6.exports=u0r});var y6=c((qte,p6)=>{"use strict";var v0r=Fv(),f0r=v0r();function l0r(r,e){return r===e?!0:f0r[r][e]>0}p6.exports=l0r});var An=c((wte,m6)=>{"use strict";var c0r=y6();m6.exports=c0r});var h6=c((Ste,d0r)=>{d0r.exports={float64:{float64:1,float32:1,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:1,binary:0,generic:1,bool:0},float32:{float64:1,float32:1,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:1,binary:0,generic:1,bool:0},int32:{float64:1,float32:0,int32:1,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:0,binary:0,generic:1,bool:0},int16:{float64:1,float32:1,int32:1,int16:1,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:1,binary:0,generic:1,bool:0},int8:{float64:1,float32:1,int32:1,int16:1,int8:1,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:1,binary:0,generic:1,bool:0},uint32:{float64:1,float32:0,int32:0,int16:0,int8:0,uint32:1,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:0,binary:0,generic:1,bool:0},uint16:{float64:1,float32:1,int32:1,int16:0,int8:0,uint32:1,uint16:1,uint8:0,uint8c:0,complex128:1,complex64:1,binary:0,generic:1,bool:0},uint8:{float64:1,float32:1,int32:1,int16:1,int8:0,uint32:1,uint16:1,uint8:1,uint8c:1,complex128:1,complex64:1,binary:0,generic:1,bool:0},uint8c:{float64:1,float32:1,int32:1,int16:1,int8:0,uint32:1,uint16:1,uint8:1,uint8c:1,complex128:1,complex64:1,binary:0,generic:1,bool:0},complex128:{float64:0,float32:0,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:1,binary:0,generic:1,bool:0},complex64:{float64:0,float32:0,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:1,binary:0,generic:1,bool:0},generic:{float64:0,float32:0,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:0,complex64:0,binary:0,generic:1,bool:0},binary:{float64:0,float32:0,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:0,complex64:0,binary:1,generic:0,bool:0},bool:{float64:0,float32:0,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:0,complex64:0,binary:0,generic:1,bool:1}}});var x6=c((Ete,b6)=>{"use strict";var g6=Aa(),p0r=Xr(),y0r=Ba(),Tn=h6(),_n;function m0r(){var r,e,a,t,o,i,n,s,u;for(a={},r=g6(Tn),e=r.length,u=0;u<e;u++){for(o=r[u],n=Tn[o],t={},s=0;s<e;s++)i=r[s],t[i]=n[i];a[o]=t}return a}function h0r(){var r,e,a,t,o,i,n,s,u;for(a={},r=g6(Tn),e=r.length,u=0;u<e;u++){for(o=r[u],n=Tn[o],t=[],s=0;s<e;s++)i=r[s],n[i]===1&&t.push(i);a[o]=t}return a}function g0r(r){return arguments.length===0?m0r():(_n===void 0&&(_n=h0r()),r=y0r(r),p0r(_n,r)?_n[r].slice():null)}b6.exports=g0r});var Rv=c((Ate,q6)=>{"use strict";var b0r=x6();q6.exports=b0r});var S6=c((_te,w6)=>{"use strict";var x0r=Rv(),q0r=x0r();function w0r(r,e){return r===e?!0:q0r[r][e]>0}w6.exports=w0r});var jn=c((Tte,E6)=>{"use strict";var S0r=S6();E6.exports=S0r});var A6=c((jte,E0r)=>{E0r.exports={float64:{float64:1,float32:1,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:0,binary:0,generic:1,bool:0},float32:{float64:1,float32:1,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:1,binary:0,generic:1,bool:0},int32:{float64:1,float32:0,int32:1,int16:1,int8:1,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:0,binary:0,generic:1,bool:0},int16:{float64:1,float32:1,int32:1,int16:1,int8:1,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:1,binary:0,generic:1,bool:0},int8:{float64:1,float32:1,int32:1,int16:1,int8:1,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:1,binary:0,generic:1,bool:0},uint32:{float64:1,float32:0,int32:0,int16:0,int8:0,uint32:1,uint16:1,uint8:1,uint8c:1,complex128:1,complex64:0,binary:0,generic:1,bool:0},uint16:{float64:1,float32:1,int32:1,int16:0,int8:0,uint32:1,uint16:1,uint8:1,uint8c:1,complex128:1,complex64:1,binary:0,generic:1,bool:0},uint8:{float64:1,float32:1,int32:1,int16:1,int8:0,uint32:1,uint16:1,uint8:1,uint8c:1,complex128:1,complex64:1,binary:0,generic:1,bool:0},uint8c:{float64:1,float32:1,int32:1,int16:1,int8:0,uint32:1,uint16:1,uint8:1,uint8c:1,complex128:1,complex64:1,binary:0,generic:1,bool:0},complex128:{float64:0,float32:0,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:1,binary:0,generic:0,bool:0},complex64:{float64:0,float32:0,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:1,complex64:1,binary:0,generic:0,bool:0},generic:{float64:0,float32:0,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:0,complex64:0,binary:0,generic:1,bool:0},binary:{float64:0,float32:0,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:0,complex64:0,binary:1,generic:0,bool:0},bool:{float64:0,float32:0,int32:0,int16:0,int8:0,uint32:0,uint16:0,uint8:0,uint8c:0,complex128:0,complex64:0,binary:0,generic:1,bool:1}}});var j6=c((Ite,T6)=>{"use strict";var _6=Aa(),A0r=Xr(),_0r=Ba(),On=A6(),In;function T0r(){var r,e,a,t,o,i,n,s,u;for(a={},r=_6(On),e=r.length,u=0;u<e;u++){for(o=r[u],n=On[o],t={},s=0;s<e;s++)i=r[s],t[i]=n[i];a[o]=t}return a}function j0r(){var r,e,a,t,o,i,n,s,u;for(a={},r=_6(On),e=r.length,u=0;u<e;u++){for(o=r[u],n=On[o],t=[],s=0;s<e;s++)i=r[s],n[i]===1&&t.push(i);a[o]=t}return a}function I0r(r){return arguments.length===0?T0r():(In===void 0&&(In=j0r()),r=_0r(r),A0r(In,r)?In[r].slice():null)}T6.exports=I0r});var zv=c((Ote,I6)=>{"use strict";var O0r=j6();I6.exports=O0r});var N6=c((Nte,O6)=>{"use strict";var N0r=zv(),D0r=N0r();function k0r(r,e){return r===e?!0:D0r[r][e]>0}O6.exports=k0r});var Vv=c((Dte,D6)=>{"use strict";var B0r=N6();D6.exports=B0r});var B6=c((kte,k6)=>{"use strict";var F0r=An(),R0r=jn(),z0r=Vv();function V0r(r,e,a){return a==="unsafe"||r===e?!0:a==="none"||a==="equiv"?!1:a==="safe"?F0r(r,e):a==="mostly-safe"?R0r(r,e):z0r(r,e)}k6.exports=V0r});var Uv=c((Bte,F6)=>{"use strict";var U0r=B6();F6.exports=U0r});var z6=c((Fte,R6)=>{"use strict";var C0r=typeof Buffer=="function"?Buffer:null;R6.exports=C0r});var U6=c((Rte,V6)=>{"use strict";var P0r=Ci(),Nn=z6();function L0r(){var r,e;if(typeof Nn!="function")return!1;try{typeof Nn.from=="function"?e=Nn.from([1,2,3,4]):e=new Nn([1,2,3,4]),r=P0r(e)&&e[0]===1&&e[1]===2&&e[2]===3&&e[3]===4}catch{r=!1}return r}V6.exports=L0r});var P6=c((zte,C6)=>{"use strict";var M0r=U6();C6.exports=M0r});var G6=c(Dn=>{"use strict";Dn.byteLength=Y0r;Dn.toByteArray=W0r;Dn.fromByteArray=K0r;var Wa=[],ha=[],G0r=typeof Uint8Array<"u"?Uint8Array:Array,Cv="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(Zt=0,L6=Cv.length;Zt<L6;++Zt)Wa[Zt]=Cv[Zt],ha[Cv.charCodeAt(Zt)]=Zt;var Zt,L6;ha[45]=62;ha[95]=63;function M6(r){var e=r.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var a=r.indexOf("=");a===-1&&(a=e);var t=a===e?0:4-a%4;return[a,t]}function Y0r(r){var e=M6(r),a=e[0],t=e[1];return(a+t)*3/4-t}function $0r(r,e,a){return(e+a)*3/4-a}function W0r(r){var e,a=M6(r),t=a[0],o=a[1],i=new G0r($0r(r,t,o)),n=0,s=o>0?t-4:t,u;for(u=0;u<s;u+=4)e=ha[r.charCodeAt(u)]<<18|ha[r.charCodeAt(u+1)]<<12|ha[r.charCodeAt(u+2)]<<6|ha[r.charCodeAt(u+3)],i[n++]=e>>16&255,i[n++]=e>>8&255,i[n++]=e&255;return o===2&&(e=ha[r.charCodeAt(u)]<<2|ha[r.charCodeAt(u+1)]>>4,i[n++]=e&255),o===1&&(e=ha[r.charCodeAt(u)]<<10|ha[r.charCodeAt(u+1)]<<4|ha[r.charCodeAt(u+2)]>>2,i[n++]=e>>8&255,i[n++]=e&255),i}function J0r(r){return Wa[r>>18&63]+Wa[r>>12&63]+Wa[r>>6&63]+Wa[r&63]}function X0r(r,e,a){for(var t,o=[],i=e;i<a;i+=3)t=(r[i]<<16&16711680)+(r[i+1]<<8&65280)+(r[i+2]&255),o.push(J0r(t));return o.join("")}function K0r(r){for(var e,a=r.length,t=a%3,o=[],i=16383,n=0,s=a-t;n<s;n+=i)o.push(X0r(r,n,n+i>s?s:n+i));return t===1?(e=r[a-1],o.push(Wa[e>>2]+Wa[e<<4&63]+"==")):t===2&&(e=(r[a-2]<<8)+r[a-1],o.push(Wa[e>>10]+Wa[e>>4&63]+Wa[e<<2&63]+"=")),o.join("")}});var Y6=c(Pv=>{Pv.read=function(r,e,a,t,o){var i,n,s=o*8-t-1,u=(1<<s)-1,v=u>>1,f=-7,l=a?o-1:0,d=a?-1:1,y=r[e+l];for(l+=d,i=y&(1<<-f)-1,y>>=-f,f+=s;f>0;i=i*256+r[e+l],l+=d,f-=8);for(n=i&(1<<-f)-1,i>>=-f,f+=t;f>0;n=n*256+r[e+l],l+=d,f-=8);if(i===0)i=1-v;else{if(i===u)return n?NaN:(y?-1:1)*(1/0);n=n+Math.pow(2,t),i=i-v}return(y?-1:1)*n*Math.pow(2,i-t)};Pv.write=function(r,e,a,t,o,i){var n,s,u,v=i*8-o-1,f=(1<<v)-1,l=f>>1,d=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,y=t?0:i-1,p=t?1:-1,m=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,n=f):(n=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-n))<1&&(n--,u*=2),n+l>=1?e+=d/u:e+=d*Math.pow(2,1-l),e*u>=2&&(n++,u/=2),n+l>=f?(s=0,n=f):n+l>=1?(s=(e*u-1)*Math.pow(2,o),n=n+l):(s=e*Math.pow(2,l-1)*Math.pow(2,o),n=0));o>=8;r[a+y]=s&255,y+=p,s/=256,o-=8);for(n=n<<o|s,v+=o;v>0;r[a+y]=n&255,y+=p,n/=256,v-=8);r[a+y-p]|=m*128}});var iS=c(hi=>{"use strict";var Lv=G6(),mi=Y6(),$6=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;hi.Buffer=cr;hi.SlowBuffer=apr;hi.INSPECT_MAX_BYTES=50;var kn=2147483647;hi.kMaxLength=kn;cr.TYPED_ARRAY_SUPPORT=H0r();!cr.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function H0r(){try{var r=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(r,e),r.foo()===42}catch{return!1}}Object.defineProperty(cr.prototype,"parent",{enumerable:!0,get:function(){if(cr.isBuffer(this))return this.buffer}});Object.defineProperty(cr.prototype,"offset",{enumerable:!0,get:function(){if(cr.isBuffer(this))return this.byteOffset}});function st(r){if(r>kn)throw new RangeError('The value "'+r+'" is invalid for option "size"');var e=new Uint8Array(r);return Object.setPrototypeOf(e,cr.prototype),e}function cr(r,e,a){if(typeof r=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return $v(r)}return X6(r,e,a)}cr.poolSize=8192;function X6(r,e,a){if(typeof r=="string")return Q0r(r,e);if(ArrayBuffer.isView(r))return rpr(r);if(r==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r);if(Ja(r,ArrayBuffer)||r&&Ja(r.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Ja(r,SharedArrayBuffer)||r&&Ja(r.buffer,SharedArrayBuffer)))return Gv(r,e,a);if(typeof r=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var t=r.valueOf&&r.valueOf();if(t!=null&&t!==r)return cr.from(t,e,a);var o=epr(r);if(o)return o;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof r[Symbol.toPrimitive]=="function")return cr.from(r[Symbol.toPrimitive]("string"),e,a);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r)}cr.from=function(r,e,a){return X6(r,e,a)};Object.setPrototypeOf(cr.prototype,Uint8Array.prototype);Object.setPrototypeOf(cr,Uint8Array);function K6(r){if(typeof r!="number")throw new TypeError('"size" argument must be of type number');if(r<0)throw new RangeError('The value "'+r+'" is invalid for option "size"')}function Z0r(r,e,a){return K6(r),r<=0?st(r):e!==void 0?typeof a=="string"?st(r).fill(e,a):st(r).fill(e):st(r)}cr.alloc=function(r,e,a){return Z0r(r,e,a)};function $v(r){return K6(r),st(r<0?0:Wv(r)|0)}cr.allocUnsafe=function(r){return $v(r)};cr.allocUnsafeSlow=function(r){return $v(r)};function Q0r(r,e){if((typeof e!="string"||e==="")&&(e="utf8"),!cr.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var a=H6(r,e)|0,t=st(a),o=t.write(r,e);return o!==a&&(t=t.slice(0,o)),t}function Mv(r){for(var e=r.length<0?0:Wv(r.length)|0,a=st(e),t=0;t<e;t+=1)a[t]=r[t]&255;return a}function rpr(r){if(Ja(r,Uint8Array)){var e=new Uint8Array(r);return Gv(e.buffer,e.byteOffset,e.byteLength)}return Mv(r)}function Gv(r,e,a){if(e<0||r.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(r.byteLength<e+(a||0))throw new RangeError('"length" is outside of buffer bounds');var t;return e===void 0&&a===void 0?t=new Uint8Array(r):a===void 0?t=new Uint8Array(r,e):t=new Uint8Array(r,e,a),Object.setPrototypeOf(t,cr.prototype),t}function epr(r){if(cr.isBuffer(r)){var e=Wv(r.length)|0,a=st(e);return a.length===0||r.copy(a,0,0,e),a}if(r.length!==void 0)return typeof r.length!="number"||Jv(r.length)?st(0):Mv(r);if(r.type==="Buffer"&&Array.isArray(r.data))return Mv(r.data)}function Wv(r){if(r>=kn)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+kn.toString(16)+" bytes");return r|0}function apr(r){return+r!=r&&(r=0),cr.alloc(+r)}cr.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==cr.prototype};cr.compare=function(e,a){if(Ja(e,Uint8Array)&&(e=cr.from(e,e.offset,e.byteLength)),Ja(a,Uint8Array)&&(a=cr.from(a,a.offset,a.byteLength)),!cr.isBuffer(e)||!cr.isBuffer(a))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===a)return 0;for(var t=e.length,o=a.length,i=0,n=Math.min(t,o);i<n;++i)if(e[i]!==a[i]){t=e[i],o=a[i];break}return t<o?-1:o<t?1:0};cr.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};cr.concat=function(e,a){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return cr.alloc(0);var t;if(a===void 0)for(a=0,t=0;t<e.length;++t)a+=e[t].length;var o=cr.allocUnsafe(a),i=0;for(t=0;t<e.length;++t){var n=e[t];if(Ja(n,Uint8Array))i+n.length>o.length?cr.from(n).copy(o,i):Uint8Array.prototype.set.call(o,n,i);else if(cr.isBuffer(n))n.copy(o,i);else throw new TypeError('"list" argument must be an Array of Buffers');i+=n.length}return o};function H6(r,e){if(cr.isBuffer(r))return r.length;if(ArrayBuffer.isView(r)||Ja(r,ArrayBuffer))return r.byteLength;if(typeof r!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof r);var a=r.length,t=arguments.length>2&&arguments[2]===!0;if(!t&&a===0)return 0;for(var o=!1;;)switch(e){case"ascii":case"latin1":case"binary":return a;case"utf8":case"utf-8":return Yv(r).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return a*2;case"hex":return a>>>1;case"base64":return tS(r).length;default:if(o)return t?-1:Yv(r).length;e=(""+e).toLowerCase(),o=!0}}cr.byteLength=H6;function tpr(r,e,a){var t=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((a===void 0||a>this.length)&&(a=this.length),a<=0)||(a>>>=0,e>>>=0,a<=e))return"";for(r||(r="utf8");;)switch(r){case"hex":return dpr(this,e,a);case"utf8":case"utf-8":return Q6(this,e,a);case"ascii":return lpr(this,e,a);case"latin1":case"binary":return cpr(this,e,a);case"base64":return vpr(this,e,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ppr(this,e,a);default:if(t)throw new TypeError("Unknown encoding: "+r);r=(r+"").toLowerCase(),t=!0}}cr.prototype._isBuffer=!0;function Qt(r,e,a){var t=r[e];r[e]=r[a],r[a]=t}cr.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var a=0;a<e;a+=2)Qt(this,a,a+1);return this};cr.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var a=0;a<e;a+=4)Qt(this,a,a+3),Qt(this,a+1,a+2);return this};cr.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var a=0;a<e;a+=8)Qt(this,a,a+7),Qt(this,a+1,a+6),Qt(this,a+2,a+5),Qt(this,a+3,a+4);return this};cr.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Q6(this,0,e):tpr.apply(this,arguments)};cr.prototype.toLocaleString=cr.prototype.toString;cr.prototype.equals=function(e){if(!cr.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:cr.compare(this,e)===0};cr.prototype.inspect=function(){var e="",a=hi.INSPECT_MAX_BYTES;return e=this.toString("hex",0,a).replace(/(.{2})/g,"$1 ").trim(),this.length>a&&(e+=" ... "),"<Buffer "+e+">"};$6&&(cr.prototype[$6]=cr.prototype.inspect);cr.prototype.compare=function(e,a,t,o,i){if(Ja(e,Uint8Array)&&(e=cr.from(e,e.offset,e.byteLength)),!cr.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(a===void 0&&(a=0),t===void 0&&(t=e?e.length:0),o===void 0&&(o=0),i===void 0&&(i=this.length),a<0||t>e.length||o<0||i>this.length)throw new RangeError("out of range index");if(o>=i&&a>=t)return 0;if(o>=i)return-1;if(a>=t)return 1;if(a>>>=0,t>>>=0,o>>>=0,i>>>=0,this===e)return 0;for(var n=i-o,s=t-a,u=Math.min(n,s),v=this.slice(o,i),f=e.slice(a,t),l=0;l<u;++l)if(v[l]!==f[l]){n=v[l],s=f[l];break}return n<s?-1:s<n?1:0};function Z6(r,e,a,t,o){if(r.length===0)return-1;if(typeof a=="string"?(t=a,a=0):a>2147483647?a=2147483647:a<-2147483648&&(a=-2147483648),a=+a,Jv(a)&&(a=o?0:r.length-1),a<0&&(a=r.length+a),a>=r.length){if(o)return-1;a=r.length-1}else if(a<0)if(o)a=0;else return-1;if(typeof e=="string"&&(e=cr.from(e,t)),cr.isBuffer(e))return e.length===0?-1:W6(r,e,a,t,o);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?o?Uint8Array.prototype.indexOf.call(r,e,a):Uint8Array.prototype.lastIndexOf.call(r,e,a):W6(r,[e],a,t,o);throw new TypeError("val must be string, number or Buffer")}function W6(r,e,a,t,o){var i=1,n=r.length,s=e.length;if(t!==void 0&&(t=String(t).toLowerCase(),t==="ucs2"||t==="ucs-2"||t==="utf16le"||t==="utf-16le")){if(r.length<2||e.length<2)return-1;i=2,n/=2,s/=2,a/=2}function u(y,p){return i===1?y[p]:y.readUInt16BE(p*i)}var v;if(o){var f=-1;for(v=a;v<n;v++)if(u(r,v)===u(e,f===-1?0:v-f)){if(f===-1&&(f=v),v-f+1===s)return f*i}else f!==-1&&(v-=v-f),f=-1}else for(a+s>n&&(a=n-s),v=a;v>=0;v--){for(var l=!0,d=0;d<s;d++)if(u(r,v+d)!==u(e,d)){l=!1;break}if(l)return v}return-1}cr.prototype.includes=function(e,a,t){return this.indexOf(e,a,t)!==-1};cr.prototype.indexOf=function(e,a,t){return Z6(this,e,a,t,!0)};cr.prototype.lastIndexOf=function(e,a,t){return Z6(this,e,a,t,!1)};function ipr(r,e,a,t){a=Number(a)||0;var o=r.length-a;t?(t=Number(t),t>o&&(t=o)):t=o;var i=e.length;t>i/2&&(t=i/2);for(var n=0;n<t;++n){var s=parseInt(e.substr(n*2,2),16);if(Jv(s))return n;r[a+n]=s}return n}function opr(r,e,a,t){return Bn(Yv(e,r.length-a),r,a,t)}function npr(r,e,a,t){return Bn(hpr(e),r,a,t)}function spr(r,e,a,t){return Bn(tS(e),r,a,t)}function upr(r,e,a,t){return Bn(gpr(e,r.length-a),r,a,t)}cr.prototype.write=function(e,a,t,o){if(a===void 0)o="utf8",t=this.length,a=0;else if(t===void 0&&typeof a=="string")o=a,t=this.length,a=0;else if(isFinite(a))a=a>>>0,isFinite(t)?(t=t>>>0,o===void 0&&(o="utf8")):(o=t,t=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i=this.length-a;if((t===void 0||t>i)&&(t=i),e.length>0&&(t<0||a<0)||a>this.length)throw new RangeError("Attempt to write outside buffer bounds");o||(o="utf8");for(var n=!1;;)switch(o){case"hex":return ipr(this,e,a,t);case"utf8":case"utf-8":return opr(this,e,a,t);case"ascii":case"latin1":case"binary":return npr(this,e,a,t);case"base64":return spr(this,e,a,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return upr(this,e,a,t);default:if(n)throw new TypeError("Unknown encoding: "+o);o=(""+o).toLowerCase(),n=!0}};cr.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function vpr(r,e,a){return e===0&&a===r.length?Lv.fromByteArray(r):Lv.fromByteArray(r.slice(e,a))}function Q6(r,e,a){a=Math.min(r.length,a);for(var t=[],o=e;o<a;){var i=r[o],n=null,s=i>239?4:i>223?3:i>191?2:1;if(o+s<=a){var u,v,f,l;switch(s){case 1:i<128&&(n=i);break;case 2:u=r[o+1],(u&192)===128&&(l=(i&31)<<6|u&63,l>127&&(n=l));break;case 3:u=r[o+1],v=r[o+2],(u&192)===128&&(v&192)===128&&(l=(i&15)<<12|(u&63)<<6|v&63,l>2047&&(l<55296||l>57343)&&(n=l));break;case 4:u=r[o+1],v=r[o+2],f=r[o+3],(u&192)===128&&(v&192)===128&&(f&192)===128&&(l=(i&15)<<18|(u&63)<<12|(v&63)<<6|f&63,l>65535&&l<1114112&&(n=l))}}n===null?(n=65533,s=1):n>65535&&(n-=65536,t.push(n>>>10&1023|55296),n=56320|n&1023),t.push(n),o+=s}return fpr(t)}var J6=4096;function fpr(r){var e=r.length;if(e<=J6)return String.fromCharCode.apply(String,r);for(var a="",t=0;t<e;)a+=String.fromCharCode.apply(String,r.slice(t,t+=J6));return a}function lpr(r,e,a){var t="";a=Math.min(r.length,a);for(var o=e;o<a;++o)t+=String.fromCharCode(r[o]&127);return t}function cpr(r,e,a){var t="";a=Math.min(r.length,a);for(var o=e;o<a;++o)t+=String.fromCharCode(r[o]);return t}function dpr(r,e,a){var t=r.length;(!e||e<0)&&(e=0),(!a||a<0||a>t)&&(a=t);for(var o="",i=e;i<a;++i)o+=bpr[r[i]];return o}function ppr(r,e,a){for(var t=r.slice(e,a),o="",i=0;i<t.length-1;i+=2)o+=String.fromCharCode(t[i]+t[i+1]*256);return o}cr.prototype.slice=function(e,a){var t=this.length;e=~~e,a=a===void 0?t:~~a,e<0?(e+=t,e<0&&(e=0)):e>t&&(e=t),a<0?(a+=t,a<0&&(a=0)):a>t&&(a=t),a<e&&(a=e);var o=this.subarray(e,a);return Object.setPrototypeOf(o,cr.prototype),o};function Re(r,e,a){if(r%1!==0||r<0)throw new RangeError("offset is not uint");if(r+e>a)throw new RangeError("Trying to access beyond buffer length")}cr.prototype.readUintLE=cr.prototype.readUIntLE=function(e,a,t){e=e>>>0,a=a>>>0,t||Re(e,a,this.length);for(var o=this[e],i=1,n=0;++n<a&&(i*=256);)o+=this[e+n]*i;return o};cr.prototype.readUintBE=cr.prototype.readUIntBE=function(e,a,t){e=e>>>0,a=a>>>0,t||Re(e,a,this.length);for(var o=this[e+--a],i=1;a>0&&(i*=256);)o+=this[e+--a]*i;return o};cr.prototype.readUint8=cr.prototype.readUInt8=function(e,a){return e=e>>>0,a||Re(e,1,this.length),this[e]};cr.prototype.readUint16LE=cr.prototype.readUInt16LE=function(e,a){return e=e>>>0,a||Re(e,2,this.length),this[e]|this[e+1]<<8};cr.prototype.readUint16BE=cr.prototype.readUInt16BE=function(e,a){return e=e>>>0,a||Re(e,2,this.length),this[e]<<8|this[e+1]};cr.prototype.readUint32LE=cr.prototype.readUInt32LE=function(e,a){return e=e>>>0,a||Re(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};cr.prototype.readUint32BE=cr.prototype.readUInt32BE=function(e,a){return e=e>>>0,a||Re(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};cr.prototype.readIntLE=function(e,a,t){e=e>>>0,a=a>>>0,t||Re(e,a,this.length);for(var o=this[e],i=1,n=0;++n<a&&(i*=256);)o+=this[e+n]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*a)),o};cr.prototype.readIntBE=function(e,a,t){e=e>>>0,a=a>>>0,t||Re(e,a,this.length);for(var o=a,i=1,n=this[e+--o];o>0&&(i*=256);)n+=this[e+--o]*i;return i*=128,n>=i&&(n-=Math.pow(2,8*a)),n};cr.prototype.readInt8=function(e,a){return e=e>>>0,a||Re(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};cr.prototype.readInt16LE=function(e,a){e=e>>>0,a||Re(e,2,this.length);var t=this[e]|this[e+1]<<8;return t&32768?t|4294901760:t};cr.prototype.readInt16BE=function(e,a){e=e>>>0,a||Re(e,2,this.length);var t=this[e+1]|this[e]<<8;return t&32768?t|4294901760:t};cr.prototype.readInt32LE=function(e,a){return e=e>>>0,a||Re(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};cr.prototype.readInt32BE=function(e,a){return e=e>>>0,a||Re(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};cr.prototype.readFloatLE=function(e,a){return e=e>>>0,a||Re(e,4,this.length),mi.read(this,e,!0,23,4)};cr.prototype.readFloatBE=function(e,a){return e=e>>>0,a||Re(e,4,this.length),mi.read(this,e,!1,23,4)};cr.prototype.readDoubleLE=function(e,a){return e=e>>>0,a||Re(e,8,this.length),mi.read(this,e,!0,52,8)};cr.prototype.readDoubleBE=function(e,a){return e=e>>>0,a||Re(e,8,this.length),mi.read(this,e,!1,52,8)};function Je(r,e,a,t,o,i){if(!cr.isBuffer(r))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<i)throw new RangeError('"value" argument is out of bounds');if(a+t>r.length)throw new RangeError("Index out of range")}cr.prototype.writeUintLE=cr.prototype.writeUIntLE=function(e,a,t,o){if(e=+e,a=a>>>0,t=t>>>0,!o){var i=Math.pow(2,8*t)-1;Je(this,e,a,t,i,0)}var n=1,s=0;for(this[a]=e&255;++s<t&&(n*=256);)this[a+s]=e/n&255;return a+t};cr.prototype.writeUintBE=cr.prototype.writeUIntBE=function(e,a,t,o){if(e=+e,a=a>>>0,t=t>>>0,!o){var i=Math.pow(2,8*t)-1;Je(this,e,a,t,i,0)}var n=t-1,s=1;for(this[a+n]=e&255;--n>=0&&(s*=256);)this[a+n]=e/s&255;return a+t};cr.prototype.writeUint8=cr.prototype.writeUInt8=function(e,a,t){return e=+e,a=a>>>0,t||Je(this,e,a,1,255,0),this[a]=e&255,a+1};cr.prototype.writeUint16LE=cr.prototype.writeUInt16LE=function(e,a,t){return e=+e,a=a>>>0,t||Je(this,e,a,2,65535,0),this[a]=e&255,this[a+1]=e>>>8,a+2};cr.prototype.writeUint16BE=cr.prototype.writeUInt16BE=function(e,a,t){return e=+e,a=a>>>0,t||Je(this,e,a,2,65535,0),this[a]=e>>>8,this[a+1]=e&255,a+2};cr.prototype.writeUint32LE=cr.prototype.writeUInt32LE=function(e,a,t){return e=+e,a=a>>>0,t||Je(this,e,a,4,4294967295,0),this[a+3]=e>>>24,this[a+2]=e>>>16,this[a+1]=e>>>8,this[a]=e&255,a+4};cr.prototype.writeUint32BE=cr.prototype.writeUInt32BE=function(e,a,t){return e=+e,a=a>>>0,t||Je(this,e,a,4,4294967295,0),this[a]=e>>>24,this[a+1]=e>>>16,this[a+2]=e>>>8,this[a+3]=e&255,a+4};cr.prototype.writeIntLE=function(e,a,t,o){if(e=+e,a=a>>>0,!o){var i=Math.pow(2,8*t-1);Je(this,e,a,t,i-1,-i)}var n=0,s=1,u=0;for(this[a]=e&255;++n<t&&(s*=256);)e<0&&u===0&&this[a+n-1]!==0&&(u=1),this[a+n]=(e/s>>0)-u&255;return a+t};cr.prototype.writeIntBE=function(e,a,t,o){if(e=+e,a=a>>>0,!o){var i=Math.pow(2,8*t-1);Je(this,e,a,t,i-1,-i)}var n=t-1,s=1,u=0;for(this[a+n]=e&255;--n>=0&&(s*=256);)e<0&&u===0&&this[a+n+1]!==0&&(u=1),this[a+n]=(e/s>>0)-u&255;return a+t};cr.prototype.writeInt8=function(e,a,t){return e=+e,a=a>>>0,t||Je(this,e,a,1,127,-128),e<0&&(e=255+e+1),this[a]=e&255,a+1};cr.prototype.writeInt16LE=function(e,a,t){return e=+e,a=a>>>0,t||Je(this,e,a,2,32767,-32768),this[a]=e&255,this[a+1]=e>>>8,a+2};cr.prototype.writeInt16BE=function(e,a,t){return e=+e,a=a>>>0,t||Je(this,e,a,2,32767,-32768),this[a]=e>>>8,this[a+1]=e&255,a+2};cr.prototype.writeInt32LE=function(e,a,t){return e=+e,a=a>>>0,t||Je(this,e,a,4,2147483647,-2147483648),this[a]=e&255,this[a+1]=e>>>8,this[a+2]=e>>>16,this[a+3]=e>>>24,a+4};cr.prototype.writeInt32BE=function(e,a,t){return e=+e,a=a>>>0,t||Je(this,e,a,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[a]=e>>>24,this[a+1]=e>>>16,this[a+2]=e>>>8,this[a+3]=e&255,a+4};function rS(r,e,a,t,o,i){if(a+t>r.length)throw new RangeError("Index out of range");if(a<0)throw new RangeError("Index out of range")}function eS(r,e,a,t,o){return e=+e,a=a>>>0,o||rS(r,e,a,4,34028234663852886e22,-34028234663852886e22),mi.write(r,e,a,t,23,4),a+4}cr.prototype.writeFloatLE=function(e,a,t){return eS(this,e,a,!0,t)};cr.prototype.writeFloatBE=function(e,a,t){return eS(this,e,a,!1,t)};function aS(r,e,a,t,o){return e=+e,a=a>>>0,o||rS(r,e,a,8,17976931348623157e292,-17976931348623157e292),mi.write(r,e,a,t,52,8),a+8}cr.prototype.writeDoubleLE=function(e,a,t){return aS(this,e,a,!0,t)};cr.prototype.writeDoubleBE=function(e,a,t){return aS(this,e,a,!1,t)};cr.prototype.copy=function(e,a,t,o){if(!cr.isBuffer(e))throw new TypeError("argument should be a Buffer");if(t||(t=0),!o&&o!==0&&(o=this.length),a>=e.length&&(a=e.length),a||(a=0),o>0&&o<t&&(o=t),o===t||e.length===0||this.length===0)return 0;if(a<0)throw new RangeError("targetStart out of bounds");if(t<0||t>=this.length)throw new RangeError("Index out of range");if(o<0)throw new RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),e.length-a<o-t&&(o=e.length-a+t);var i=o-t;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(a,t,o):Uint8Array.prototype.set.call(e,this.subarray(t,o),a),i};cr.prototype.fill=function(e,a,t,o){if(typeof e=="string"){if(typeof a=="string"?(o=a,a=0,t=this.length):typeof t=="string"&&(o=t,t=this.length),o!==void 0&&typeof o!="string")throw new TypeError("encoding must be a string");if(typeof o=="string"&&!cr.isEncoding(o))throw new TypeError("Unknown encoding: "+o);if(e.length===1){var i=e.charCodeAt(0);(o==="utf8"&&i<128||o==="latin1")&&(e=i)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(a<0||this.length<a||this.length<t)throw new RangeError("Out of range index");if(t<=a)return this;a=a>>>0,t=t===void 0?this.length:t>>>0,e||(e=0);var n;if(typeof e=="number")for(n=a;n<t;++n)this[n]=e;else{var s=cr.isBuffer(e)?e:cr.from(e,o),u=s.length;if(u===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(n=0;n<t-a;++n)this[n+a]=s[n%u]}return this};var ypr=/[^+/0-9A-Za-z-_]/g;function mpr(r){if(r=r.split("=")[0],r=r.trim().replace(ypr,""),r.length<2)return"";for(;r.length%4!==0;)r=r+"=";return r}function Yv(r,e){e=e||1/0;for(var a,t=r.length,o=null,i=[],n=0;n<t;++n){if(a=r.charCodeAt(n),a>55295&&a<57344){if(!o){if(a>56319){(e-=3)>-1&&i.push(239,191,189);continue}else if(n+1===t){(e-=3)>-1&&i.push(239,191,189);continue}o=a;continue}if(a<56320){(e-=3)>-1&&i.push(239,191,189),o=a;continue}a=(o-55296<<10|a-56320)+65536}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,a<128){if((e-=1)<0)break;i.push(a)}else if(a<2048){if((e-=2)<0)break;i.push(a>>6|192,a&63|128)}else if(a<65536){if((e-=3)<0)break;i.push(a>>12|224,a>>6&63|128,a&63|128)}else if(a<1114112){if((e-=4)<0)break;i.push(a>>18|240,a>>12&63|128,a>>6&63|128,a&63|128)}else throw new Error("Invalid code point")}return i}function hpr(r){for(var e=[],a=0;a<r.length;++a)e.push(r.charCodeAt(a)&255);return e}function gpr(r,e){for(var a,t,o,i=[],n=0;n<r.length&&!((e-=2)<0);++n)a=r.charCodeAt(n),t=a>>8,o=a%256,i.push(o),i.push(t);return i}function tS(r){return Lv.toByteArray(mpr(r))}function Bn(r,e,a,t){for(var o=0;o<t&&!(o+a>=e.length||o>=r.length);++o)e[o+a]=r[o];return o}function Ja(r,e){return r instanceof e||r!=null&&r.constructor!=null&&r.constructor.name!=null&&r.constructor.name===e.name}function Jv(r){return r!==r}var bpr=(function(){for(var r="0123456789abcdef",e=new Array(256),a=0;a<16;++a)for(var t=a*16,o=0;o<16;++o)e[t+o]=r[a]+r[o];return e})()});var nS=c((Pte,oS)=>{"use strict";var xpr=iS().Buffer;oS.exports=xpr});var uS=c((Lte,sS)=>{"use strict";function qpr(){throw new Error("not implemented")}sS.exports=qpr});var ho=c((Mte,vS)=>{"use strict";var wpr=P6(),Spr=nS(),Epr=uS(),Xv;wpr()?Xv=Spr:Xv=Epr;vS.exports=Xv});var lS=c((Gte,fS)=>{"use strict";var Apr=ho(),_pr=qt(),Tpr=At(),jpr=Ki(),Ipr=Xi(),Opr=Zi(),Npr=fi(),Dpr=Ji(),kpr=va(),Bpr=Hi(),Fpr=so(),Rpr=vo(),zpr=co(),Vpr={binary:Apr,float64:_pr,float32:Tpr,generic:Array,int16:jpr,int32:Ipr,int8:Opr,uint16:Npr,uint32:Dpr,uint8:kpr,uint8c:Bpr,complex64:Fpr,complex128:Rpr,bool:zpr};fS.exports=Vpr});var dS=c((Yte,cS)=>{"use strict";var Upr=lS();function Cpr(r){return Upr[r]||null}cS.exports=Cpr});var go=c(($te,pS)=>{"use strict";var Ppr=dS();pS.exports=Ppr});var mS=c((Wte,yS)=>{"use strict";var Lpr=Pe(),Mpr=ho(),Gpr=Lpr(Mpr.allocUnsafe);yS.exports=Gpr});var gS=c((Jte,hS)=>{"use strict";var Ypr=ge(),$pr=pr(),Wpr=ho();function Jpr(r){if(!Ypr(r))throw new TypeError($pr("invalid argument. Must provide a nonnegative integer. Value: `%s`.",r));return Wpr.allocUnsafe(r)}hS.exports=Jpr});var xS=c((Xte,bS)=>{"use strict";var Xpr=ge(),Kpr=pr(),Hpr=ho();function Zpr(r){if(!Xpr(r))throw new TypeError(Kpr("invalid argument. Must provide a nonnegative integer. Value: `%s`.",r));return new Hpr(r)}bS.exports=Zpr});var _t=c((Kte,qS)=>{"use strict";var Qpr=mS(),ryr=gS(),eyr=xS(),Kv;Qpr?Kv=ryr:Kv=eyr;qS.exports=Kv});var SS=c((Hte,wS)=>{"use strict";function ayr(r){var e;for(e=0;e<r.length;e++)r[e]=0;return r}wS.exports=ayr});var AS=c((Zte,ES)=>{"use strict";var tyr=go(),iyr=_t(),oyr=SS();function nyr(r){var e,a;for(e=[],a=0;a<r;a++)e.push(0);return e}function syr(r){return oyr(iyr(r))}function uyr(r,e){var a=tyr(r);return a?new a(e):null}function vyr(r,e){return r==="generic"?nyr(e):r==="binary"?syr(e):uyr(r,e)}ES.exports=vyr});var Fa=c((Qte,_S)=>{"use strict";var fyr=AS();_S.exports=fyr});var jS=c((rie,TS)=>{"use strict";var lyr={Buffer:"binary",Float32Array:"float32",Float64Array:"float64",Array:"generic",Int16Array:"int16",Int32Array:"int32",Int8Array:"int8",Object:"generic",Uint16Array:"uint16",Uint32Array:"uint32",Uint8Array:"uint8",Uint8ClampedArray:"uint8c",Complex64Array:"complex64",Complex128Array:"complex128",BooleanArray:"bool"};TS.exports=lyr});var OS=c((eie,IS)=>{"use strict";var cyr=qt(),dyr=At(),pyr=Ji(),yyr=Xi(),myr=fi(),hyr=Ki(),gyr=va(),byr=Hi(),xyr=Zi(),qyr=so(),wyr=vo(),Syr=co(),Eyr=[cyr,dyr,yyr,pyr,hyr,myr,xyr,gyr,byr,qyr,wyr,Syr];IS.exports=Eyr});var DS=c((aie,NS)=>{"use strict";var Ayr=["float64","float32","int32","uint32","int16","uint16","int8","uint8","uint8c","complex64","complex128","bool"];NS.exports=Ayr});var FS=c((tie,BS)=>{"use strict";var _yr=Ci(),Tyr=wa(),jyr=gt(),Iyr=jS(),Oyr=OS(),kS=DS(),Nyr=kS.length;function Dyr(r){var e;if(Tyr(r))return"generic";if(_yr(r))return"binary";for(e=0;e<Nyr;e++)if(r instanceof Oyr[e])return kS[e];return Iyr[jyr(r)]||null}BS.exports=Dyr});var Fn=c((iie,RS)=>{"use strict";var kyr=FS();RS.exports=kyr});var US=c((oie,VS)=>{"use strict";var Byr=di(),zS=pr();function Fyr(r){var e;if(typeof r!="object"||r===null)throw new TypeError(zS("invalid argument. Must provide an ndarray. Value: `%s`.",r));if(e=r.dtype,Byr(e))return e;throw new TypeError(zS("invalid argument. Must provide an ndarray having a supported data type. Value: `%s`.",e))}VS.exports=Fyr});var Ra=c((nie,CS)=>{"use strict";var Ryr=US();CS.exports=Ryr});var LS=c((sie,PS)=>{"use strict";var zyr=ge().isPrimitive,Vyr=ke(),Hv=pr();function Uyr(r){var e,a,t,o;if(typeof r!="object"||r===null)throw new TypeError(Hv("invalid argument. Must provide an ndarray. Value: `%s`.",r));if(a=r.shape,!Vyr(a))throw new TypeError(Hv("invalid argument. Must provide an ndarray. Value: `%s`.",r));for(e=[],o=0;o<a.length;o++){if(t=a[o],!zyr(t))throw new TypeError(Hv("invalid argument. Must provide an ndarray. Value: `%s`.",r));e.push(t)}return e}PS.exports=Uyr});var oe=c((uie,MS)=>{"use strict";var Cyr=LS();MS.exports=Cyr});var $S=c((vie,YS)=>{"use strict";var Pyr=fe().isPrimitive,GS=ke(),Lyr=Ta(),Myr=ze(),Zv=pr();function Gyr(r){var e,a,t,o,i,n;if(typeof r!="object"||r===null)throw new TypeError(Zv("invalid argument. Must provide an ndarray. Value: `%s`.",r));if(o=r.strides,!GS(o)){if(t=r.shape,!GS(t))throw new TypeError(Zv("invalid argument. Must provide an ndarray. Value: `%s`.",r));return t.length===0?[0]:(a=r.order,Lyr(a)||(a="row-major"),Myr(t,a))}for(e=[],n=0;n<o.length;n++){if(i=o[n],!Pyr(i))throw new TypeError(Zv("invalid argument. Must provide an ndarray. Value: `%s`.",r));e.push(i)}return e}YS.exports=Gyr});var Xa=c((fie,WS)=>{"use strict";var Yyr=$S();WS.exports=Yyr});var HS=c((lie,KS)=>{"use strict";var JS=ge().isPrimitive,XS=ke(),$yr=Ye(),Qv=pr();function Wyr(r){var e,a,t;if(typeof r!="object"||r===null)throw new TypeError(Qv("invalid argument. Must provide an ndarray. Value: `%s`.",r));if(t=r.offset,JS(t))return t;if(a=r.shape,!XS(a))throw new TypeError(Qv("invalid argument. Must provide an ndarray. Value: `%s`.",r));if(e=r.strides,a.length===0||!XS(e))return 0;if(t=$yr(a,e),JS(t))return t;throw new TypeError(Qv("invalid argument. Must provide an ndarray. Value: `%s`.",r))}KS.exports=Wyr});var Tt=c((cie,ZS)=>{"use strict";var Jyr=HS();ZS.exports=Jyr});var eE=c((die,rE)=>{"use strict";var Xyr=ge().isPrimitive,Kyr=ke(),QS=pr();function Hyr(r){var e,a;if(typeof r!="object"||r===null)throw new TypeError(QS("invalid argument. Must provide an ndarray. Value: `%s`.",r));if(a=r.ndims,Xyr(a))return a;if(e=r.shape,!Kyr(e))throw new TypeError(QS("invalid argument. Must provide an ndarray. Value: `%s`.",r));return e.length}rE.exports=Hyr});var Rn=c((pie,aE)=>{"use strict";var Zyr=eE();aE.exports=Zyr});var oE=c((yie,iE)=>{"use strict";var Qyr=Ta(),rmr=Xa(),emr=Rn(),amr=Pt(),tmr=pr(),tE="row-major",imr="column-major";function omr(r){var e,a;if(typeof r!="object"||r===null)throw new TypeError(tmr("invalid argument. Must provide an ndarray. Value: `%s`.",r));return a=r.order,Qyr(a)?a:(e=rmr(r),a=amr(e),a===1||a===3?tE:a===2?imr:emr(r)===0?tE:null)}iE.exports=omr});var Ka=c((mie,nE)=>{"use strict";var nmr=oE();nE.exports=nmr});var vE=c((hie,uE)=>{"use strict";var smr=ke(),sE=pr();function umr(r){var e;if(typeof r!="object"||r===null)throw new TypeError(sE("invalid argument. Must provide an ndarray. Value: `%s`.",r));if(e=r.data,smr(e))return e;throw new TypeError(sE("invalid argument. Must provide an ndarray. Value: `%s`.",r))}uE.exports=umr});var ut=c((gie,fE)=>{"use strict";var vmr=vE();fE.exports=vmr});var pE=c((bie,dE)=>{"use strict";var rf=Ve(),fmr=pr();function lE(r,e){var a=e[0];return rf(a)&&(r.push(a.length),lE(r,a)),r}function cE(r,e,a,t,o){var i,n,s;for(i=e[a],s=0;s<t.length;s++){if(n=t[s],!rf(n)||n.length!==i)return a;if(o&&(n=cE(r,e,a+1,n,a+1<r-1),n<r))return n}return r}function lmr(r){var e,a;if(!rf(r))throw new TypeError(fmr("invalid argument. Must provide an array-like object. Value: `%s`.",r));return e=[r.length],lE(e,r),a=e.length,a>1&&(e.length=cE(a,e,1,r,a>2)),e}dE.exports=lmr});var mE=c((xie,yE)=>{"use strict";var cmr=pE();yE.exports=cmr});var gE=c((qie,hE)=>{"use strict";function dmr(r,e){var a,t;for(a=[],t=0;t<e;t++)a.push(r);return a}hE.exports=dmr});var bo=c((wie,bE)=>{"use strict";var pmr=gE();bE.exports=pmr});var qE=c((Sie,xE)=>{"use strict";var ymr=bo();function mmr(r){return ymr(0,r)}xE.exports=mmr});var Se=c((Eie,wE)=>{"use strict";var hmr=qE();wE.exports=hmr});var EE=c((Aie,SE)=>{"use strict";var gmr=pr();function bmr(r,e,a,t,o,i){var n,s,u,v,f;for(n=r.length,s=1,f=0;f<n;f++)s*=r[f];if(i==="clamp")o<0?o=0:o>=s&&(o=s-1);else if(i==="wrap")o<0?(o+=s,o<0&&(o%=s,o!==0&&(o+=s))):o>=s&&(o-=s,o>=s&&(o%=s));else if(i==="normalize"&&o<0&&(o+=s),o<0||o>=s)throw new RangeError(gmr("invalid argument. Linear index must not exceed array dimensions. Number of array elements: `%u`. Value: `%d`.",s,o));if(u=a,t==="column-major"){for(f=0;f<n;f++)v=o%r[f],o-=v,o/=r[f],u+=v*e[f];return u}for(f=n-1;f>=0;f--)v=o%r[f],o-=v,o/=r[f],u+=v*e[f];return u}SE.exports=bmr});var na=c((_ie,AE)=>{"use strict";var xmr=EE();AE.exports=xmr});var jE=c((Tie,TE)=>{"use strict";var _E={float64:qmr,float32:wmr,int32:Smr,int16:Emr,int8:Amr,uint32:_mr,uint16:Tmr,uint8:jmr,uint8c:Imr,generic:Omr,default:Nmr};function qmr(r,e,a){r[e]=a}function wmr(r,e,a){r[e]=a}function Smr(r,e,a){r[e]=a}function Emr(r,e,a){r[e]=a}function Amr(r,e,a){r[e]=a}function _mr(r,e,a){r[e]=a}function Tmr(r,e,a){r[e]=a}function jmr(r,e,a){r[e]=a}function Imr(r,e,a){r[e]=a}function Omr(r,e,a){r[e]=a}function Nmr(r,e,a){r[e]=a}function Dmr(r){var e=_E[r];return typeof e=="function"?e:_E.default}TE.exports=Dmr});var gi=c((jie,IE)=>{"use strict";var kmr=jE();IE.exports=kmr});var DE=c((Iie,NE)=>{"use strict";var OE={complex128:Bmr,complex64:Fmr,default:Rmr};function Bmr(r,e,a){r.set(a,e)}function Fmr(r,e,a){r.set(a,e)}function Rmr(r,e,a){r.set(a,e)}function zmr(r){var e=OE[r];return typeof e=="function"?e:OE.default}NE.exports=zmr});var bi=c((Oie,kE)=>{"use strict";var Vmr=DE();kE.exports=Vmr});var FE=c((Nie,BE)=>{"use strict";var Umr=tt(),Cmr=Et(),Pmr=gi(),Lmr=it(),Mmr=bi(),Gmr=po();function Ymr(r){var e=Gmr(r);return Umr(r)?{data:r,dtype:e,accessorProtocol:!0,accessors:[Lmr(e),Mmr(e)]}:{data:r,dtype:e,accessorProtocol:!1,accessors:[Cmr(e),Pmr(e)]}}BE.exports=Ymr});var vt=c((Die,RE)=>{"use strict";var $mr=FE();RE.exports=$mr});var ef=c((kie,zE)=>{"use strict";var Wmr=ea();function Jmr(r,e,a,t){var o,i,n,s,u,v,f,l;for(o=e.data,n=e.accessors[0],i=e.accessors[1],f=Wmr(r/2),u=t,v=u+(r-1)*a,l=0;l<f;l++)s=n(o,u),i(o,u,n(o,v)),i(o,v,s),u+=a,v-=a;return e}zE.exports=Jmr});var UE=c((Bie,VE)=>{"use strict";var Xmr=ea(),Kmr=vt(),Hmr=ef(),zn=3;function Zmr(r,e,a){var t,o,i,n,s,u,v;if(r<=0)return e;if(n=Kmr(e),n.accessorProtocol)return a<0?o=(1-r)*a:o=0,Hmr(r,n,a,o),n.data;if(u=Xmr(r/2),a===1){if(s=u%zn,i=r-1,s>0)for(o=0;o<s;o++)t=e[o],e[o]=e[i],e[i]=t,i-=1;if(u<zn)return e;for(o=s;o<u;o+=zn)t=e[o],e[o]=e[i],e[i]=t,t=e[o+1],e[o+1]=e[i-1],e[i-1]=t,t=e[o+2],e[o+2]=e[i-2],e[i-2]=t,i-=zn;return e}for(a<0?o=(1-r)*a:o=0,i=o+(r-1)*a,v=0;v<u;v++)t=e[o],e[o]=e[i],e[i]=t,o+=a,i-=a;return e}VE.exports=Zmr});var PE=c((Fie,CE)=>{"use strict";var Qmr=ea(),rhr=vt(),ehr=ef(),xo=3;function ahr(r,e,a,t){var o,i,n,s,u,v,f;if(r<=0)return e;if(s=rhr(e),s.accessorProtocol)return ehr(r,s,a,t),s.data;if(v=Qmr(r/2),i=t,a===1){if(u=v%xo,n=i+r-1,u>0)for(f=0;f<u;f++)o=e[i],e[i]=e[n],e[n]=o,i+=a,n-=a;if(v<xo)return e;for(f=u;f<v;f+=xo)o=e[i],e[i]=e[n],e[n]=o,o=e[i+1],e[i+1]=e[n-1],e[n-1]=o,o=e[i+2],e[i+2]=e[n-2],e[n-2]=o,i+=xo,n-=xo;return e}for(n=i+(r-1)*a,f=0;f<v;f++)o=e[i],e[i]=e[n],e[n]=o,i+=a,n-=a;return e}CE.exports=ahr});var GE=c((Rie,ME)=>{"use strict";var thr=Ir(),LE=UE(),ihr=PE();thr(LE,"ndarray",ihr);ME.exports=LE});var tf=c((zie,JE)=>{"use strict";var ohr=ze(),nhr=na(),shr=Jr(),YE=GE(),$E=Se(),uhr="throw";function WE(r,e,a,t,o){var i;for(i=0;i<e;i++)a[o]=r[i],o+=t}function af(r,e,a,t,o,i,n){var s,u,v,f;for(v=t+1,s=v===e,u=a[t],f=0;f<u;f++)s?(o[n]=r[f],n+=i):n=af(r[f],e,a,v,o,i,n);return n}function vhr(r,e,a,t,o,i){var n,s,u,v,f,l,d;for(n=shr(a),s=$E(n),af(r,e,a,0,s,1,0),u="row-major",f=ohr(a,u),v=$E(e),WE(a,e,v,1,0),YE(e,v,1),YE(e,f,1),d=0;d<n;d++)l=nhr(v,f,0,u,d,uhr),t[i]=s[l],i+=o}function fhr(r,e,a,t,o,i){var n=e.length;return n===0?t:n===1?(WE(r,e[0],t,o,i),t):a?(vhr(r,n,e,t,o,i),t):(af(r,n,e,0,t,o,i),t)}JE.exports=fhr});var KE=c((Vie,XE)=>{"use strict";var lhr=Jr(),chr=Se(),dhr=tf();function phr(r,e,a){var t=chr(lhr(e));return dhr(r,e,a,t,1,0)}XE.exports=phr});var QE=c((Uie,ZE)=>{"use strict";var yhr=Ir(),HE=KE(),mhr=tf();yhr(HE,"assign",mhr);ZE.exports=HE});var eA=c((Cie,rA)=>{"use strict";var hhr=Pi(),ghr=Sa();function bhr(r){return typeof r=="object"&&r!==null&&typeof r.length=="number"&&ghr(r.length)&&r.length>=0&&r.length<hhr}rA.exports=bhr});var tA=c((Pie,aA)=>{"use strict";var Vn=ka();function xhr(){return{casting:Vn.get("casting"),copy:!1,dtype:Vn.get("dtypes.default"),flatten:!0,mode:Vn.get("index_mode"),ndmin:0,order:Vn.get("order"),readonly:!1}}aA.exports=xhr});var oA=c((Lie,iA)=>{"use strict";var qhr=go(),whr=_t();function Shr(r,e,a){var t,o,i;if(t=qhr(a),a==="generic")for(o=[],i=0;i<e;i++)o.push(r[i]);else if(a==="binary")for(o=whr(e),i=0;i<e;i++)o[i]=r[i];else for(o=new t(e),i=0;i<e;i++)o[i]=r[i];return o}iA.exports=Shr});var uA=c((Mie,sA)=>{"use strict";var nA=Pe(),Ehr=ge().isPrimitive,of=pr(),ri="number";function Ahr(r,e,a){var t;if(!nA(r))throw new TypeError(of("invalid argument. First argument must be a function. Value: `%s`.",r));if(!Ehr(e))throw new TypeError(of("invalid argument. Second argument must be a nonnegative integer. Value: `%s`.",e));if(!nA(a))throw new TypeError(of("invalid argument. Third argument must be a constructor function. Value: `%s`.",a));return t=[o,i,n,s,u,v],e<=5?t[e]:f;function o(){var l=r();return typeof l===ri?new a(l,0):l}function i(l){var d=r(l);return typeof d===ri?new a(d,0):d}function n(l,d){var y=r(l,d);return typeof y===ri?new a(y,0):y}function s(l,d,y){var p=r(l,d,y);return typeof p===ri?new a(p,0):p}function u(l,d,y,p){var m=r(l,d,y,p);return typeof m===ri?new a(m,0):m}function v(l,d,y,p,m){var h=r(l,d,y,p,m);return typeof h===ri?new a(h,0):h}function f(){var l,d,y;for(l=[],y=0;y<arguments.length;y++)l.push(arguments[y]);return d=r.apply(null,l),typeof d===ri?new a(d,0):d}}sA.exports=Ahr});var nf=c((Gie,vA)=>{"use strict";var _hr=uA();vA.exports=_hr});var lA=c((Yie,fA)=>{"use strict";var Thr=fn(),jhr=vn(),Ihr={complex64:Thr,complex128:jhr};fA.exports=Ihr});var dA=c(($ie,cA)=>{"use strict";var Ohr=lA();function Nhr(r){return Ohr[r]||null}cA.exports=Nhr});var Un=c((Wie,pA)=>{"use strict";var Dhr=dA();pA.exports=Dhr});var mA=c((Jie,yA)=>{"use strict";var khr=vt(),Bhr=nf(),Fhr=Un(),Rhr=go(),zhr=_t(),Vhr=aa(),Uhr=Ra(),Chr=oe(),Phr=Xa(),Lhr=Tt(),Mhr=Ka(),Ghr=ut();function Yhr(r){var e,a,t;for(e=r.length,a=[],t=0;t<e;t++)a.push(r.iget(t));return a}function $hr(r){var e,a,t;for(e=r.length,a=zhr(e),t=0;t<e;t++)a[t]=r.iget(t);return a}function Whr(r,e){var a,t,o,i,n,s,u;if(a=Rhr(e),t=r.length,o=new a(t),s=khr(o),s.accessorProtocol)for(i=s.accessors[1],n=Bhr(v,1,Fhr(e)),u=0;u<t;u++)i(o,u,n(u));else for(u=0;u<t;u++)o[u]=r.iget(u);return o;function v(f){return r.iget(f)}}function Jhr(r,e){var a;return a=new Vhr(Uhr(r),Ghr(r),Chr(r),Phr(r),Lhr(r),Mhr(r)),e==="generic"?Yhr(a):e==="binary"?$hr(a):Whr(a,e)}yA.exports=Jhr});var gA=c((Xie,hA)=>{"use strict";function Xhr(r,e,a){var t,o;for(t=[],o=0;o<a-r;o++)t.push(1);for(o=0;o<r;o++)t.push(e[o]);return t}hA.exports=Xhr});var xA=c((Kie,bA)=>{"use strict";var Khr=vi();function Hhr(r,e,a,t){var o,i,n,s,u;if(i=a.length,u=r-i,o=[],t==="row-major"){for(n=Khr(a[0])*e[u],s=0;s<u;s++)o.push(n);for(s=0;s<i;s++)o.push(a[s])}else{for(s=0;s<u;s++)o.push(1);for(s=0;s<i;s++)o.push(a[s])}return o}bA.exports=Hhr});var TA=c((Hie,_A)=>{"use strict";var za=Xr(),qA=ne(),wA=pe().isPrimitive,Zhr=wa(),Qhr=ge().isPrimitive,r1r=se(),e1r=ze(),a1r=Ye(),t1r=Pt(),Cn=Jr(),i1r=ma(),o1r=di(),n1r=Ta(),s1r=kv(),u1r=Uv(),v1r=Fa(),f1r=Fn(),l1r=Ra(),c1r=oe(),SA=Xa(),d1r=Tt(),EA=Ka(),p1r=ut(),AA=mE(),y1r=QE(),ga=pr(),Pn=eA(),m1r=tA(),h1r=oA(),g1r=mA(),b1r=gA(),x1r=xA(),Va=m1r();function q1r(){var r,e,a,t,o,i,n,s,u,v,f,l,d,y,p;if(arguments.length===1)if(Pn(arguments[0]))a=arguments[0],r={};else{if(r=arguments[0],!qA(r))throw new TypeError(ga("invalid argument. Must provide either a valid data source, options argument, or both. Value: `%s`.",r));if(za(r,"buffer")&&(a=r.buffer,!Pn(a)))throw new TypeError(ga("invalid option. `%s` option must be an array-like object, typed-array-like, a Buffer, or an ndarray. Option: `%s`.","buffer",a))}else{if(a=arguments[0],!Pn(a))throw new TypeError(ga("invalid option. Data source must be an array-like object, typed-array-like, a Buffer, or an ndarray. Value: `%s`.",a));if(r=arguments[1],!qA(r))throw new TypeError(ga("invalid argument. Options argument must be an object. Value: `%s`.",r))}if(a&&(r1r(a)?(n=l1r(a),p=!0):(n=f1r(a),p=!1)),v={},f={},za(r,"casting")){if(f.casting=r.casting,!s1r(f.casting))throw new TypeError(ga("invalid option. `%s` option must be a recognized casting mode. Option: `%s`.","casting",f.casting))}else f.casting=Va.casting;if(za(r,"flatten")){if(f.flatten=r.flatten,!wA(f.flatten))throw new TypeError(ga("invalid option. `%s` option must be a boolean. Option: `%s`.","flatten",f.flatten))}else f.flatten=Va.flatten;if(za(r,"ndmin")){if(f.ndmin=r.ndmin,!Qhr(f.ndmin))throw new TypeError(ga("invalid option. `%s` option must be a nonnegative integer. Option: `%s`.","ndmin",f.ndmin))}else f.ndmin=Va.ndmin;if(za(r,"dtype")){if(i=r.dtype,!o1r(i))throw new TypeError(ga("invalid option. `%s` option must be a recognized data type. Option: `%s`.","dtype",i));if(n&&!u1r(n,i,f.casting))throw new Error(ga("invalid option. Data type cast is not allowed. Casting mode: `%s`. From: `%s`. To: `%s`.",f.casting,n,i))}else n?!p&&n==="generic"?i=Va.dtype:i=n:i=Va.dtype;if(za(r,"order")){if(o=r.order,o==="any"||o==="same")p?o==="any"?(y=t1r(SA(a)),y===3?o=Va.order:o=EA(a)):o==="same"&&(o=EA(a)):o=Va.order;else if(!n1r(o))throw new TypeError(ga("invalid option. `%s` option must be a recognized order. Option: `%s`.","order",o))}else o=Va.order;if(za(r,"mode")?v.mode=r.mode:v.mode=Va.mode,za(r,"submode")?v.submode=r.submode:v.submode=[v.mode],za(r,"readonly")?v.readonly=r.readonly:v.readonly=Va.readonly,za(r,"copy")){if(f.copy=r.copy,!wA(f.copy))throw new TypeError(ga("invalid option. `%s` option must be a boolean. Option: `%s`.","copy",f.copy))}else f.copy=Va.copy;if(za(r,"shape")){if(s=r.shape,!Pn(s))throw new TypeError(ga("invalid option. `%s` option must be an array-like object containing nonnegative integers. Option: `%s`.","shape",s));u=s.length,d=Cn(s)}else if(a)p?(s=c1r(a),u=s.length,d=Cn(s)):f.flatten&&Zhr(a)?(s=AA(a),l=s,u=s.length,d=Cn(s)):(u=1,d=a.length,s=[d]);else throw new Error("invalid arguments. Must provide either a data source, array shape, or both.");if(u<f.ndmin&&(s=b1r(u,s,f.ndmin),u=f.ndmin),p){if(Cn(a.shape)!==d)throw new RangeError("invalid arguments. Array shape is incompatible with provided data source. Number of data source elements does not match array shape.");n!==i||f.copy?a=g1r(a,i):(e=SA(a),t=d1r(a),a=p1r(a),e.length<u&&(e=x1r(u,s,e,o)))}else if(a){if(n==="generic"&&f.flatten&&(a=y1r(a,l||AA(a),o==="column-major")),a.length!==d)throw new RangeError("invalid arguments. Array shape is incompatible with provided data source. Number of data source elements does not match array shape.");(n!==i||f.copy)&&(a=h1r(a,d,i))}else a=v1r(i,d);return e===void 0&&(e=e1r(s,o),t=a1r(s,e)),new i1r(i,a,s,e,t,o,v)}_A.exports=q1r});var IA=c((Zie,jA)=>{"use strict";var w1r=TA();jA.exports=w1r});var DA=c((Qie,NA)=>{"use strict";var S1r=se(),E1r=fe().isPrimitive,A1r=ya(),_1r=oe(),OA=pr();function T1r(r){var e,a,t,o,i,n;if(!S1r(r))throw new TypeError(OA("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(o=_1r(r),i=o.length,e=arguments.length-1,e<i)throw new RangeError("invalid invocation. Insufficient arguments. Array shape: (%s). Number of indices: %u.",o.join(","),e);if(e>i)throw new RangeError("invalid invocation. Too many arguments. Array shape: (%s). Number of indices: %u.",o.join(","),e);for(a=[],n=1;n<=e;n++){if(t=arguments[n],!E1r(t))throw new TypeError(OA("invalid argument. Index arguments must be integers. Value: `%s`.",t));if(t=A1r(t,o[n-1]-1),t===-1)return;a.push(t)}return r.get.apply(r,a)}NA.exports=T1r});var BA=c((roe,kA)=>{"use strict";var j1r=DA();kA.exports=j1r});var RA=c((eoe,FA)=>{"use strict";function I1r(r){var e,a,t;for(a=r.length,e=[],t=0;t<a;t++)e.push(r[t]);return e}FA.exports=I1r});var jt=c((aoe,zA)=>{"use strict";var O1r=RA();zA.exports=O1r});var UA=c((toe,VA)=>{"use strict";var N1r=jt();function D1r(r,e){var a=r.shape;return e?N1r(a):a}VA.exports=D1r});var Te=c((ioe,CA)=>{"use strict";var k1r=UA();CA.exports=k1r});var LA=c((ooe,PA)=>{"use strict";function B1r(r,e){var a;if(r.length!==e.length)return!1;for(a=0;a<r.length;a++)if(r[a]!==e[a])return!1;return!0}PA.exports=B1r});var GA=c((noe,MA)=>{"use strict";var F1r=LA();MA.exports=F1r});var WA=c((soe,$A)=>{"use strict";var YA=Te(),R1r=GA();function z1r(r,e){return R1r(YA(r,!1),YA(e,!1))}$A.exports=z1r});var XA=c((uoe,JA)=>{"use strict";var V1r=WA();JA.exports=V1r});var HA=c((voe,KA)=>{"use strict";var U1r=Ue().factory,C1r=Be(),P1r=U1r(C1r("boolean"));KA.exports=P1r});var QA=c((foe,ZA)=>{"use strict";var L1r=HA();ZA.exports=L1r});var e5=c((loe,r5)=>{"use strict";var M1r=Jr();function G1r(r,e){return r>=M1r(e)}r5.exports=G1r});var t5=c((coe,a5)=>{"use strict";var Y1r=e5();a5.exports=Y1r});var n5=c((doe,o5)=>{"use strict";var i5=vi();function $1r(r){var e,a,t,o;if(e=r.length,e===0)return!1;for(a=i5(r[0]),o=1;o<e;o++){if(t=i5(r[o]),t<a)return!1;a=t}return!0}o5.exports=$1r});var sf=c((poe,s5)=>{"use strict";var W1r=n5();s5.exports=W1r});var v5=c((yoe,u5)=>{"use strict";var J1r=Jr(),X1r=et();function K1r(r,e,a){var t,o;return t=J1r(r),t===0?!1:(o=X1r(r,e,a),t===o[1]-o[0]+1)}u5.exports=K1r});var qo=c((moe,f5)=>{"use strict";var H1r=v5();f5.exports=H1r});var c5=c((hoe,l5)=>{"use strict";var Z1r=qo(),Q1r=Ea(),rgr=sf();function egr(r,e,a){return Q1r(e)!==0&&rgr(e)&&Z1r(r,e,a)}l5.exports=egr});var p5=c((goe,d5)=>{"use strict";var agr=c5();d5.exports=agr});var m5=c((boe,y5)=>{"use strict";var tgr=Ue().factory,igr=Be(),ogr=tgr(igr("complex_floating_point"));y5.exports=ogr});var wo=c((xoe,h5)=>{"use strict";var ngr=m5();h5.exports=ngr});var b5=c((qoe,g5)=>{"use strict";var sgr=qo(),ugr=Ea();function vgr(r,e,a){return ugr(e)!==0&&sgr(r,e,a)}g5.exports=vgr});var q5=c((woe,x5)=>{"use strict";var fgr=b5();x5.exports=fgr});var S5=c((Soe,w5)=>{"use strict";var lgr=Ue().factory,cgr=Be(),dgr=lgr(cgr("floating_point"));w5.exports=dgr});var Ln=c((Eoe,E5)=>{"use strict";var pgr=S5();E5.exports=pgr});var _5=c((Aoe,A5)=>{"use strict";var ygr=Ue().factory,mgr=Be(),hgr=ygr(mgr("integer"));A5.exports=hgr});var uf=c((_oe,T5)=>{"use strict";var ggr=_5();T5.exports=ggr});var I5=c((Toe,j5)=>{"use strict";var bgr=Ue().factory,xgr=Be(),qgr=bgr(xgr("numeric"));j5.exports=qgr});var vf=c((joe,O5)=>{"use strict";var wgr=I5();O5.exports=wgr});var D5=c((Ioe,N5)=>{"use strict";var Sgr=Pe(),Egr=Sgr(Object.assign);N5.exports=Egr});var B5=c((Ooe,k5)=>{"use strict";var Agr=Object.assign;k5.exports=Agr});var R5=c((Noe,F5)=>{"use strict";var _gr=typeof Object.getOwnPropertySymbols<"u";F5.exports=_gr});var U5=c((Doe,V5)=>{"use strict";var z5=Ut(),Tgr=z5.getOwnPropertySymbols;function jgr(r){return Tgr(z5(r))}V5.exports=jgr});var P5=c((koe,C5)=>{"use strict";function Igr(){return[]}C5.exports=Igr});var lf=c((Boe,L5)=>{"use strict";var Ogr=R5(),Ngr=U5(),Dgr=P5(),ff;Ogr?ff=Ngr:ff=Dgr;L5.exports=ff});var G5=c((Foe,M5)=>{"use strict";var kgr=Aa(),Bgr=lf(),Fgr=Mi();function Rgr(r){var e,a,t;for(e=kgr(r),a=Bgr(r),t=0;t<a.length;t++)Fgr(r,a[t])&&e.push(a[t]);return e}M5.exports=Rgr});var $5=c((Roe,Y5)=>{"use strict";var zgr=G5();Y5.exports=zgr});var X5=c((zoe,J5)=>{"use strict";var Vgr=$5(),W5=Ut(),Ugr=pr();function Cgr(r){var e,a,t,o,i,n,s;if(r==null)throw new TypeError(Ugr("invalid argument. First argument must be a non-null object. Value: `%s`.",r));for(i=W5(r),n=1;n<arguments.length;n++)if(e=arguments[n],e!=null)for(a=Vgr(W5(e)),o=a.length,s=0;s<o;s++)t=a[s],i[t]=e[t];return i}J5.exports=Cgr});var H5=c((Voe,K5)=>{"use strict";var Pgr=D5(),Lgr=B5(),Mgr=X5(),cf;Pgr?cf=Lgr:cf=Mgr;K5.exports=cf});var Q5=c((Uoe,Z5)=>{"use strict";var Ggr=H5();function Ygr(r,e){var a=r.flags;return typeof a!="object"||a===null?{}:e?Ggr({},a):a}Z5.exports=Ygr});var So=c((Coe,r8)=>{"use strict";var $gr=Q5();r8.exports=$gr});var a8=c((Poe,e8)=>{"use strict";var Wgr=So();function Jgr(r,e){return Wgr(r,!1)[e]}e8.exports=Jgr});var df=c((Loe,t8)=>{"use strict";var Xgr=a8();t8.exports=Xgr});var o8=c((Moe,i8)=>{"use strict";var Kgr=df();function Hgr(r){return Kgr(r,"READONLY")===!0}i8.exports=Hgr});var Le=c((Goe,n8)=>{"use strict";var Zgr=o8();n8.exports=Zgr});var u8=c((Yoe,s8)=>{"use strict";var Qgr=Ue().factory,r2r=Be(),e2r=Qgr(r2r("real"));s8.exports=e2r});var Mn=c(($oe,v8)=>{"use strict";var a2r=u8();v8.exports=a2r});var l8=c((Woe,f8)=>{"use strict";var t2r=Ue().factory,i2r=Be(),o2r=t2r(i2r("real_floating_point"));f8.exports=o2r});var pf=c((Joe,c8)=>{"use strict";var n2r=l8();c8.exports=n2r});var y8=c((Xoe,p8)=>{"use strict";var d8=vi();function s2r(r){var e,a,t,o;if(e=r.length,e===0)return!1;for(a=d8(r[0]),o=1;o<e;o++){if(t=d8(r[o]),t>a)return!1;a=t}return!0}p8.exports=s2r});var Gn=c((Koe,m8)=>{"use strict";var u2r=y8();m8.exports=u2r});var g8=c((Hoe,h8)=>{"use strict";var v2r=qo(),f2r=Ea(),l2r=Gn();function c2r(r,e,a){return f2r(e)!==0&&l2r(e)&&v2r(r,e,a)}h8.exports=c2r});var x8=c((Zoe,b8)=>{"use strict";var d2r=g8();b8.exports=d2r});var w8=c((Qoe,q8)=>{"use strict";var p2r=Ue().factory,y2r=Be(),m2r=p2r(y2r("signed_integer"));q8.exports=m2r});var Yn=c((rne,S8)=>{"use strict";var h2r=w8();S8.exports=h2r});var A8=c((ene,E8)=>{"use strict";var g2r=Ue().factory,b2r=Be(),x2r=g2r(b2r("unsigned_integer"));E8.exports=x2r});var $n=c((ane,_8)=>{"use strict";var q2r=A8();_8.exports=q2r});var j8=c((tne,T8)=>{"use strict";var de=zt(),le={};de(le,"hasEqualShape",XA());de(le,"isAllowedDataTypeCast",Uv());de(le,"isBooleanDataType",QA());de(le,"isBufferLengthCompatible",_v());de(le,"isBufferLengthCompatibleShape",t5());de(le,"isCastingMode",kv());de(le,"isColumnMajor",sf());de(le,"isColumnMajorContiguous",p5());de(le,"isComplexFloatingPointDataType",wo());de(le,"isContiguous",q5());de(le,"isDataType",di());de(le,"isFloatingPointDataType",Ln());de(le,"isIndexMode",pi());de(le,"isIntegerDataType",uf());de(le,"isMostlySafeDataTypeCast",jn());de(le,"isNumericDataType",vf());de(le,"isOrder",Ta());de(le,"isReadOnly",Le());de(le,"isRealDataType",Mn());de(le,"isRealFloatingPointDataType",pf());de(le,"isRowMajor",Gn());de(le,"isRowMajorContiguous",x8());de(le,"isSafeDataTypeCast",An());de(le,"isSameKindDataTypeCast",Vv());de(le,"isSignedIntegerDataType",Yn());de(le,"isSingleSegmentCompatible",qo());de(le,"isUnsignedIntegerDataType",$n());T8.exports=le});var O8=c((ine,I8)=>{"use strict";function w2r(r){return r.dtype}I8.exports=w2r});var Xe=c((one,N8)=>{"use strict";var S2r=O8();N8.exports=S2r});var k8=c((nne,D8)=>{"use strict";var E2r=ze(),A2r=jt(),_2r="row-major";function T2r(r,e){var a,t,o;return o=r.strides,typeof o!="object"||o===null?(t=r.shape,t.length===0?[0]:(a=r.order,typeof a!="string"&&(a=_2r),E2r(t,a))):e?A2r(o):o}D8.exports=T2r});var ba=c((sne,B8)=>{"use strict";var j2r=k8();B8.exports=j2r});var R8=c((une,F8)=>{"use strict";var I2r=Ye();function O2r(r){var e,a,t;return t=r.offset,typeof t=="number"?t:(a=r.shape,a.length===0||(e=r.strides,typeof e!="object"||e===null)?0:I2r(a,e))}F8.exports=O2r});var Ha=c((vne,z8)=>{"use strict";var N2r=R8();z8.exports=N2r});var U8=c((fne,V8)=>{"use strict";var D2r=Pt(),yf="row-major",k2r="column-major";function B2r(r){var e,a;return a=r.order,typeof a=="string"?a:(e=r.strides,typeof e!="object"||e===null||(a=D2r(e),a===1||a===3)?yf:a===2?k2r:r.shape.length===0?yf:null)}V8.exports=B2r});var sa=c((lne,C8)=>{"use strict";var F2r=U8();C8.exports=F2r});var L8=c((cne,P8)=>{"use strict";function R2r(r){return r.data}P8.exports=R2r});var ft=c((dne,M8)=>{"use strict";var z2r=L8();M8.exports=z2r});var Y8=c((pne,G8)=>{"use strict";var V2r=tt(),U2r=it(),C2r=bi(),P2r=Et(),L2r=gi(),M2r=Jr(),G2r=Xe(),Y2r=Te(),$2r=ba(),W2r=Ha(),J2r=sa(),X2r=ft();function K2r(r){var e,a,t,o;return e=X2r(r),t=Y2r(r,!0),o=G2r(r),a=V2r(e),{ref:r,dtype:o,data:e,length:M2r(t),shape:t,strides:$2r(r,!0),offset:W2r(r),order:J2r(r),accessorProtocol:a,accessors:a?[U2r(o),C2r(o)]:[P2r(o),L2r(o)]}}G8.exports=K2r});var ei=c((yne,$8)=>{"use strict";var H2r=Y8();$8.exports=H2r});var J8=c((mne,W8)=>{"use strict";function Z2r(r){var e,a;if(e=[],r<=0)return e;for(a=0;a<r;a++)e.push(a);return e}W8.exports=Z2r});var H8=c((hne,K8)=>{"use strict";var Q2r=vt(),rbr=oo(),ebr=io();function abr(r,e,a){var t,o;for(o=a,t=0;o>=0&&o<r.length;)r[o]=t,o+=e,t+=1;return r}function X8(r,e,a,t){var o,i,n;for(i=a*2,n=t*2,o=0;n>=0&&n<e.length;)e[n]=o,e[n+1]=0,n+=i,o+=1;return r}function tbr(r,e,a){var t,o,i,n;for(t=r.data,o=r.accessors[1],n=a,i=0;n>=0&&n<t.length;)o(t,n,i),n+=e,i+=1;return t}function ibr(r,e,a){var t=Q2r(r);return t.accessorProtocol?t.dtype==="complex128"?X8(r,rbr(r,0),e,a):t.dtype==="complex64"?X8(r,ebr(r,0),e,a):tbr(t,e,a):abr(r,e,a)}K8.exports=ibr});var qe=c((gne,Q8)=>{"use strict";var obr=Ir(),Z8=J8(),nbr=H8();obr(Z8,"assign",nbr);Q8.exports=Z8});var e_=c((bne,r_)=>{"use strict";function sbr(r,e){var a,t;for(a=[],t=0;t<e.length;t++)a.push(r[e[t]]);return a}r_.exports=sbr});var Kr=c((xne,a_)=>{"use strict";var ubr=e_();a_.exports=ubr});var i_=c((qne,t_)=>{"use strict";function vbr(r,e){var a,t,o,i,n,s,u,v,f,l;for(o=1,i=1,l=1;l<r.length;l++){for(u=r[o],a=u<0?-u:u,v=e[i],n=o-1,s=i-1;n>=0&&(f=r[n],t=f<0?-f:f,!(t<=a));)r[n+1]=f,e[s+1]=e[s],n-=1,s-=1;r[n+1]=u,e[s+1]=v,o+=1,i+=1}}t_.exports=vbr});var s_=c((wne,n_)=>{"use strict";var fbr=qe(),lbr=jt(),o_=Kr(),cbr=i_();function dbr(r,e,a){var t;return t=fbr(r.length),e=lbr(e),cbr(e,t),r=o_(r,t),a=o_(a,t),{sh:r,sx:e,sy:a,idx:t}}n_.exports=dbr});var zr=c((Sne,u_)=>{"use strict";var pbr=s_();u_.exports=pbr});var f_=c((Ene,v_)=>{"use strict";var ybr={BLOCK_SIZE_IN_BYTES:64,BLOCK_SIZE_IN_ELEMENTS:8};v_.exports=ybr});var d_=c((Ane,c_)=>{"use strict";var l_=xt(),mf=f_();function mbr(r,e){var a,t;return a=l_(r),t=l_(e),a===null||t===null?mf.BLOCK_SIZE_IN_ELEMENTS:a>t?mf.BLOCK_SIZE_IN_BYTES/a|0:mf.BLOCK_SIZE_IN_BYTES/t|0}c_.exports=mbr});var Rr=c((_ne,p_)=>{"use strict";var hbr=d_();p_.exports=hbr});var m_=c((Tne,y_)=>{"use strict";var gbr=zr(),bbr=Rr();function xbr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T;for(T=gbr(r.shape,r.strides,e.strides),y=T.sh,h=T.sx,g=T.sy,a=bbr(r.dtype,e.dtype),b=r.offset,S=e.offset,t=r.data,o=e.data,s=h[0],v=g[0],i=r.accessors[0],n=e.accessors[1],q=y[1];q>0;)for(q<a?(m=q,q=0):(m=a,q-=a),l=b+q*h[1],d=S+q*g[1],E=y[0];E>0;)for(E<a?(p=E,E=0):(p=a,E-=a),w=l+E*h[0],A=d+E*g[0],u=h[1]-p*h[0],f=g[1]-p*g[0],x=0;x<m;x++){for(_=0;_<p;_++)n(o,A,i(t,w)),w+=s,A+=v;w+=u,A+=f}}y_.exports=xbr});var g_=c((jne,h_)=>{"use strict";var qbr=zr(),wbr=Rr();function Sbr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F;for(F=qbr(r.shape,r.strides,e.strides),g=F.sh,A=F.sx,_=F.sy,a=wbr(r.dtype,e.dtype),x=r.offset,E=e.offset,t=r.data,o=e.data,s=A[0],f=_[0],i=r.accessors[0],n=e.accessors[1],N=g[2];N>0;)for(N<a?(w=N,N=0):(w=a,N-=a),p=x+N*A[2],h=E+N*_[2],k=g[1];k>0;)for(k<a?(S=k,k=0):(S=a,k-=a),v=A[2]-S*A[1],d=_[2]-S*_[1],y=p+k*A[1],m=h+k*_[1],D=g[0];D>0;)for(D<a?(b=D,D=0):(b=a,D-=a),q=y+D*A[0],T=m+D*_[0],u=A[1]-b*A[0],l=_[1]-b*_[0],I=0;I<w;I++){for(O=0;O<S;O++){for(j=0;j<b;j++)n(o,T,i(t,q)),q+=s,T+=f;q+=u,T+=l}q+=v,T+=d}}h_.exports=Sbr});var x_=c((Ine,b_)=>{"use strict";var Ebr=zr(),Abr=Rr();function _br(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P;for(P=Ebr(r.shape,r.strides,e.strides),A=P.sh,T=P.sx,j=P.sy,a=Abr(r.dtype,e.dtype),O=r.offset,I=e.offset,t=r.data,o=e.data,s=T[0],l=j[0],i=r.accessors[0],n=e.accessors[1],C=A[3];C>0;)for(C<a?(q=C,C=0):(q=a,C-=a),g=O+C*T[3],w=I+C*j[3],U=A[2];U>0;)for(U<a?(E=U,U=0):(E=a,U-=a),f=T[3]-E*T[2],p=j[3]-E*j[2],h=g+U*T[2],S=w+U*j[2],V=A[1];V>0;)for(V<a?(x=V,V=0):(x=a,V-=a),v=T[2]-x*T[1],y=j[2]-x*j[1],m=h+V*T[1],b=S+V*j[1],z=A[0];z>0;)for(z<a?(_=z,z=0):(_=a,z-=a),D=m+z*T[0],k=b+z*j[0],u=T[1]-_*T[0],d=j[1]-_*j[0],B=0;B<q;B++){for(R=0;R<E;R++){for(F=0;F<x;F++){for(N=0;N<_;N++)n(o,k,i(t,D)),D+=s,k+=l;D+=u,k+=d}D+=v,k+=y}D+=f,k+=p}}b_.exports=_br});var w_=c((One,q_)=>{"use strict";var Tbr=zr(),jbr=Rr();function Ibr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J;for(J=Tbr(r.shape,r.strides,e.strides),q=J.sh,k=J.sx,N=J.sy,a=jbr(r.dtype,e.dtype),F=r.offset,R=e.offset,t=r.data,o=e.data,s=k[0],d=N[0],i=r.accessors[0],n=e.accessors[1],W=q[4];W>0;)for(W<a?(D=W,W=0):(D=a,W-=a),w=F+W*k[4],E=R+W*N[4],Y=q[3];Y>0;)for(Y<a?(I=Y,Y=0):(I=a,Y-=a),l=k[4]-I*k[3],h=N[4]-I*N[3],S=w+Y*k[3],x=E+Y*N[3],$=q[2];$>0;)for($<a?(O=$,$=0):(O=a,$-=a),f=k[3]-O*k[2],m=N[3]-O*N[2],b=S+$*k[2],_=x+$*N[2],G=q[1];G>0;)for(G<a?(j=G,G=0):(j=a,G-=a),v=k[2]-j*k[1],p=N[2]-j*N[1],g=b+G*k[1],A=_+G*N[1],M=q[0];M>0;)for(M<a?(T=M,M=0):(T=a,M-=a),B=g+M*k[0],z=A+M*N[0],u=k[1]-T*k[0],y=N[1]-T*N[0],L=0;L<D;L++){for(P=0;P<I;P++){for(C=0;C<O;C++){for(U=0;U<j;U++){for(V=0;V<T;V++)n(o,z,i(t,B)),B+=s,z+=d;B+=u,z+=y}B+=v,z+=p}B+=f,z+=m}B+=l,z+=h}}q_.exports=Ibr});var E_=c((Nne,S_)=>{"use strict";var Obr=zr(),Nbr=Rr();function Dbr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar;for(ar=Obr(r.shape,r.strides,e.strides),I=ar.sh,z=ar.sx,V=ar.sy,a=Nbr(r.dtype,e.dtype),U=r.offset,C=e.offset,t=r.data,o=e.data,s=z[0],y=V[0],i=r.accessors[0],n=e.accessors[1],rr=I[5];rr>0;)for(rr<a?(B=rr,rr=0):(B=a,rr-=a),x=U+rr*z[5],O=C+rr*V[5],Z=I[4];Z>0;)for(Z<a?(R=Z,Z=0):(R=a,Z-=a),d=z[5]-R*z[4],b=V[5]-R*V[4],_=x+Z*z[4],j=O+Z*V[4],Q=I[3];Q>0;)for(Q<a?(F=Q,Q=0):(F=a,Q-=a),l=z[4]-F*z[3],g=V[4]-F*V[3],A=_+Q*z[3],T=j+Q*V[3],H=I[2];H>0;)for(H<a?(N=H,H=0):(N=a,H-=a),f=z[3]-N*z[2],h=V[3]-N*V[2],w=A+H*z[2],q=T+H*V[2],K=I[1];K>0;)for(K<a?(k=K,K=0):(k=a,K-=a),v=z[2]-k*z[1],m=V[2]-k*V[1],S=w+K*z[1],E=q+K*V[1],X=I[0];X>0;)for(X<a?(D=X,X=0):(D=a,X-=a),P=S+X*z[0],L=E+X*V[0],u=z[1]-D*z[0],p=V[1]-D*V[0],J=0;J<B;J++){for(W=0;W<R;W++){for(Y=0;Y<F;Y++){for($=0;$<N;$++){for(G=0;G<k;G++){for(M=0;M<D;M++)n(o,L,i(t,P)),P+=s,L+=y;P+=u,L+=p}P+=v,L+=m}P+=f,L+=h}P+=l,L+=g}P+=d,L+=b}}S_.exports=Dbr});var __=c((Dne,A_)=>{"use strict";var kbr=zr(),Bbr=Rr();function Fbr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur;for(ur=kbr(r.shape,r.strides,e.strides),F=ur.sh,L=ur.sx,M=ur.sy,a=Bbr(r.dtype,e.dtype),G=r.offset,$=e.offset,t=r.data,o=e.data,s=L[0],p=M[0],i=r.accessors[0],n=e.accessors[1],sr=F[6];sr>0;)for(sr<a?(P=sr,sr=0):(P=a,sr-=a),T=G+sr*L[6],N=$+sr*M[6],nr=F[5];nr>0;)for(nr<a?(C=nr,nr=0):(C=a,nr-=a),y=L[6]-C*L[5],w=M[6]-C*M[5],q=T+nr*L[5],k=N+nr*M[5],or=F[4];or>0;)for(or<a?(U=or,or=0):(U=a,or-=a),d=L[5]-U*L[4],S=M[5]-U*M[4],E=q+or*L[4],D=k+or*M[4],tr=F[3];tr>0;)for(tr<a?(V=tr,tr=0):(V=a,tr-=a),l=L[4]-V*L[3],b=M[4]-V*M[3],x=E+tr*L[3],I=D+tr*M[3],ir=F[2];ir>0;)for(ir<a?(z=ir,ir=0):(z=a,ir-=a),f=L[3]-z*L[2],g=M[3]-z*M[2],_=x+ir*L[2],O=I+ir*M[2],er=F[1];er>0;)for(er<a?(B=er,er=0):(B=a,er-=a),v=L[2]-B*L[1],h=M[2]-B*M[1],A=_+er*L[1],j=O+er*M[1],ar=F[0];ar>0;)for(ar<a?(R=ar,ar=0):(R=a,ar-=a),Y=A+ar*L[0],W=j+ar*M[0],u=L[1]-R*L[0],m=M[1]-R*M[0],rr=0;rr<P;rr++){for(Z=0;Z<C;Z++){for(Q=0;Q<U;Q++){for(H=0;H<V;H++){for(K=0;K<z;K++){for(X=0;X<B;X++){for(J=0;J<R;J++)n(o,W,i(t,Y)),Y+=s,W+=p;Y+=u,W+=m}Y+=v,W+=h}Y+=f,W+=g}Y+=l,W+=b}Y+=d,W+=S}Y+=y,W+=w}}A_.exports=Fbr});var j_=c((kne,T_)=>{"use strict";var Rbr=zr(),zbr=Rr();function Vbr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr,lr,fr,yr,dr,mr,hr;for(hr=Rbr(r.shape,r.strides,e.strides),V=hr.sh,W=hr.sx,J=hr.sy,a=zbr(r.dtype,e.dtype),X=r.offset,K=e.offset,t=r.data,o=e.data,s=W[0],m=J[0],i=r.accessors[0],n=e.accessors[1],mr=V[7];mr>0;)for(mr<a?(Y=mr,mr=0):(Y=a,mr-=a),I=X+mr*W[7],z=K+mr*J[7],dr=V[6];dr>0;)for(dr<a?($=dr,dr=0):($=a,dr-=a),p=W[7]-$*W[6],_=J[7]-$*J[6],O=I+dr*W[6],B=z+dr*J[6],yr=V[5];yr>0;)for(yr<a?(G=yr,yr=0):(G=a,yr-=a),y=W[6]-G*W[5],A=J[6]-G*J[5],j=O+yr*W[5],R=B+yr*J[5],fr=V[4];fr>0;)for(fr<a?(M=fr,fr=0):(M=a,fr-=a),d=W[5]-M*W[4],w=J[5]-M*J[4],T=j+fr*W[4],F=R+fr*J[4],lr=V[3];lr>0;)for(lr<a?(L=lr,lr=0):(L=a,lr-=a),l=W[4]-L*W[3],S=J[4]-L*J[3],q=T+lr*W[3],N=F+lr*J[3],vr=V[2];vr>0;)for(vr<a?(P=vr,vr=0):(P=a,vr-=a),f=W[3]-P*W[2],b=J[3]-P*J[2],E=q+vr*W[2],k=N+vr*J[2],ur=V[1];ur>0;)for(ur<a?(C=ur,ur=0):(C=a,ur-=a),v=W[2]-C*W[1],g=J[2]-C*J[1],x=E+ur*W[1],D=k+ur*J[1],sr=V[0];sr>0;)for(sr<a?(U=sr,sr=0):(U=a,sr-=a),H=x+sr*W[0],Q=D+sr*J[0],u=W[1]-U*W[0],h=J[1]-U*J[0],nr=0;nr<Y;nr++){for(or=0;or<$;or++){for(tr=0;tr<G;tr++){for(ir=0;ir<M;ir++){for(er=0;er<L;er++){for(ar=0;ar<P;ar++){for(rr=0;rr<C;rr++){for(Z=0;Z<U;Z++)n(o,Q,i(t,H)),H+=s,Q+=m;H+=u,Q+=h}H+=v,Q+=g}H+=f,Q+=b}H+=l,Q+=S}H+=d,Q+=w}H+=y,Q+=A}H+=p,Q+=_}}T_.exports=Vbr});var O_=c((Bne,I_)=>{"use strict";var Ubr=zr(),Cbr=Rr();function Pbr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr,lr,fr,yr,dr,mr,hr,br,wr,xr,qr,gr,Ar,_r;for(_r=Ubr(r.shape,r.strides,e.strides),L=_r.sh,Q=_r.sx,Z=_r.sy,a=Cbr(r.dtype,e.dtype),rr=r.offset,ar=e.offset,t=r.data,o=e.data,s=Q[0],h=Z[0],i=r.accessors[0],n=e.accessors[1],Ar=L[8];Ar>0;)for(Ar<a?(H=Ar,Ar=0):(H=a,Ar-=a),N=rr+Ar*Q[8],P=ar+Ar*Z[8],gr=L[7];gr>0;)for(gr<a?(K=gr,gr=0):(K=a,gr-=a),m=Q[8]-K*Q[7],E=Z[8]-K*Z[7],k=N+gr*Q[7],C=P+gr*Z[7],qr=L[6];qr>0;)for(qr<a?(X=qr,qr=0):(X=a,qr-=a),p=Q[7]-X*Q[6],x=Z[7]-X*Z[6],D=k+qr*Q[6],U=C+qr*Z[6],xr=L[5];xr>0;)for(xr<a?(J=xr,xr=0):(J=a,xr-=a),y=Q[6]-J*Q[5],_=Z[6]-J*Z[5],I=D+xr*Q[5],V=U+xr*Z[5],wr=L[4];wr>0;)for(wr<a?(W=wr,wr=0):(W=a,wr-=a),d=Q[5]-W*Q[4],A=Z[5]-W*Z[4],O=I+wr*Q[4],z=V+wr*Z[4],br=L[3];br>0;)for(br<a?(Y=br,br=0):(Y=a,br-=a),l=Q[4]-Y*Q[3],w=Z[4]-Y*Z[3],j=O+br*Q[3],B=z+br*Z[3],hr=L[2];hr>0;)for(hr<a?($=hr,hr=0):($=a,hr-=a),f=Q[3]-$*Q[2],S=Z[3]-$*Z[2],T=j+hr*Q[2],R=B+hr*Z[2],mr=L[1];mr>0;)for(mr<a?(G=mr,mr=0):(G=a,mr-=a),v=Q[2]-G*Q[1],b=Z[2]-G*Z[1],q=T+mr*Q[1],F=R+mr*Z[1],dr=L[0];dr>0;)for(dr<a?(M=dr,dr=0):(M=a,dr-=a),er=q+dr*Q[0],ir=F+dr*Z[0],u=Q[1]-M*Q[0],g=Z[1]-M*Z[0],yr=0;yr<H;yr++){for(fr=0;fr<K;fr++){for(lr=0;lr<X;lr++){for(vr=0;vr<J;vr++){for(ur=0;ur<W;ur++){for(sr=0;sr<Y;sr++){for(nr=0;nr<$;nr++){for(or=0;or<G;or++){for(tr=0;tr<M;tr++)n(o,ir,i(t,er)),er+=s,ir+=h;er+=u,ir+=g}er+=v,ir+=b}er+=f,ir+=S}er+=l,ir+=w}er+=d,ir+=A}er+=y,ir+=_}er+=p,ir+=x}er+=m,ir+=E}}I_.exports=Pbr});var D_=c((Fne,N_)=>{"use strict";var Lbr=zr(),Mbr=Rr();function Gbr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr,lr,fr,yr,dr,mr,hr,br,wr,xr,qr,gr,Ar,_r,Tr,jr,Or,Fr,Vr,Hr,ie;for(ie=Lbr(r.shape,r.strides,e.strides),Y=ie.sh,ir=ie.sx,tr=ie.sy,a=Mbr(r.dtype,e.dtype),or=r.offset,nr=e.offset,t=r.data,o=e.data,s=ir[0],g=tr[0],i=r.accessors[0],n=e.accessors[1],Hr=Y[9];Hr>0;)for(Hr<a?(er=Hr,Hr=0):(er=a,Hr-=a),B=or+Hr*ir[9],$=nr+Hr*tr[9],Vr=Y[8];Vr>0;)for(Vr<a?(ar=Vr,Vr=0):(ar=a,Vr-=a),h=ir[9]-ar*ir[8],T=tr[9]-ar*tr[8],R=B+Vr*ir[8],G=$+Vr*tr[8],Fr=Y[7];Fr>0;)for(Fr<a?(rr=Fr,Fr=0):(rr=a,Fr-=a),m=ir[8]-rr*ir[7],q=tr[8]-rr*tr[7],F=R+Fr*ir[7],M=G+Fr*tr[7],Or=Y[6];Or>0;)for(Or<a?(Z=Or,Or=0):(Z=a,Or-=a),p=ir[7]-Z*ir[6],E=tr[7]-Z*tr[6],N=F+Or*ir[6],L=M+Or*tr[6],jr=Y[5];jr>0;)for(jr<a?(Q=jr,jr=0):(Q=a,jr-=a),y=ir[6]-Q*ir[5],x=tr[6]-Q*tr[5],k=N+jr*ir[5],P=L+jr*tr[5],Tr=Y[4];Tr>0;)for(Tr<a?(H=Tr,Tr=0):(H=a,Tr-=a),d=ir[5]-H*ir[4],_=tr[5]-H*tr[4],D=k+Tr*ir[4],C=P+Tr*tr[4],_r=Y[3];_r>0;)for(_r<a?(K=_r,_r=0):(K=a,_r-=a),l=ir[4]-K*ir[3],A=tr[4]-K*tr[3],I=D+_r*ir[3],U=C+_r*tr[3],Ar=Y[2];Ar>0;)for(Ar<a?(X=Ar,Ar=0):(X=a,Ar-=a),f=ir[3]-X*ir[2],w=tr[3]-X*tr[2],O=I+Ar*ir[2],V=U+Ar*tr[2],gr=Y[1];gr>0;)for(gr<a?(J=gr,gr=0):(J=a,gr-=a),v=ir[2]-J*ir[1],S=tr[2]-J*tr[1],j=O+gr*ir[1],z=V+gr*tr[1],qr=Y[0];qr>0;)for(qr<a?(W=qr,qr=0):(W=a,qr-=a),sr=j+qr*ir[0],ur=z+qr*tr[0],u=ir[1]-W*ir[0],b=tr[1]-W*tr[0],xr=0;xr<er;xr++){for(wr=0;wr<ar;wr++){for(br=0;br<rr;br++){for(hr=0;hr<Z;hr++){for(mr=0;mr<Q;mr++){for(dr=0;dr<H;dr++){for(yr=0;yr<K;yr++){for(fr=0;fr<X;fr++){for(lr=0;lr<J;lr++){for(vr=0;vr<W;vr++)n(o,ur,i(t,sr)),sr+=s,ur+=g;sr+=u,ur+=b}sr+=v,ur+=S}sr+=f,ur+=w}sr+=l,ur+=A}sr+=d,ur+=_}sr+=y,ur+=x}sr+=p,ur+=E}sr+=m,ur+=q}sr+=h,ur+=T}}N_.exports=Gbr});var B_=c((Rne,k_)=>{"use strict";var Ybr=zr(),$br=Rr();function Wbr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E;for(E=Ybr(r.shape,r.strides,e.strides),l=E.sh,p=E.sx,m=E.sy,a=$br(r.dtype,e.dtype),h=r.offset,g=e.offset,t=r.data,o=e.data,i=p[0],s=m[0],x=l[1];x>0;)for(x<a?(y=x,x=0):(y=a,x-=a),v=h+x*p[1],f=g+x*m[1],_=l[0];_>0;)for(_<a?(d=_,_=0):(d=a,_-=a),b=v+_*p[0],S=f+_*m[0],n=p[1]-d*p[0],u=m[1]-d*m[0],A=0;A<y;A++){for(w=0;w<d;w++)o[S]=t[b],b+=i,S+=s;b+=n,S+=u}}k_.exports=Wbr});var R_=c((zne,F_)=>{"use strict";var Jbr=zr(),Xbr=Rr();function Kbr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k;for(k=Jbr(r.shape,r.strides,e.strides),m=k.sh,S=k.sx,w=k.sy,a=Xbr(r.dtype,e.dtype),A=r.offset,_=e.offset,t=r.data,o=e.data,i=S[0],u=w[0],D=m[2];D>0;)for(D<a?(b=D,D=0):(b=a,D-=a),d=A+D*S[2],p=_+D*w[2],I=m[1];I>0;)for(I<a?(g=I,I=0):(g=a,I-=a),s=S[2]-g*S[1],f=w[2]-g*w[1],l=d+I*S[1],y=p+I*w[1],O=m[0];O>0;)for(O<a?(h=O,O=0):(h=a,O-=a),x=l+O*S[0],E=y+O*w[0],n=S[1]-h*S[0],v=w[1]-h*w[0],j=0;j<b;j++){for(T=0;T<g;T++){for(q=0;q<h;q++)o[E]=t[x],x+=i,E+=u;x+=n,E+=v}x+=s,E+=f}}F_.exports=Kbr});var V_=c((Vne,z_)=>{"use strict";var Hbr=zr(),Zbr=Rr();function Qbr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U;for(U=Hbr(r.shape,r.strides,e.strides),S=U.sh,E=U.sx,q=U.sy,a=Zbr(r.dtype,e.dtype),T=r.offset,j=e.offset,t=r.data,o=e.data,i=E[0],v=q[0],V=S[3];V>0;)for(V<a?(x=V,V=0):(x=a,V-=a),m=T+V*E[3],b=j+V*q[3],z=S[2];z>0;)for(z<a?(_=z,z=0):(_=a,z-=a),u=E[3]-_*E[2],d=q[3]-_*q[2],p=m+z*E[2],g=b+z*q[2],B=S[1];B>0;)for(B<a?(A=B,B=0):(A=a,B-=a),s=E[2]-A*E[1],l=q[2]-A*q[1],y=p+B*E[1],h=g+B*q[1],R=S[0];R>0;)for(R<a?(w=R,R=0):(w=a,R-=a),O=y+R*E[0],I=h+R*q[0],n=E[1]-w*E[0],f=q[1]-w*q[0],F=0;F<x;F++){for(N=0;N<_;N++){for(k=0;k<A;k++){for(D=0;D<w;D++)o[I]=t[O],O+=i,I+=v;O+=n,I+=f}O+=s,I+=l}O+=u,I+=d}}z_.exports=Qbr});var C_=c((Une,U_)=>{"use strict";var rxr=zr(),exr=Rr();function axr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y;for(Y=rxr(r.shape,r.strides,e.strides),x=Y.sh,I=Y.sx,D=Y.sy,a=exr(r.dtype,e.dtype),k=r.offset,N=e.offset,t=r.data,o=e.data,i=I[0],f=D[0],$=x[4];$>0;)for($<a?(O=$,$=0):(O=a,$-=a),b=k+$*I[4],_=N+$*D[4],G=x[3];G>0;)for(G<a?(j=G,G=0):(j=a,G-=a),v=I[4]-j*I[3],p=D[4]-j*D[3],g=b+G*I[3],A=_+G*D[3],M=x[2];M>0;)for(M<a?(T=M,M=0):(T=a,M-=a),u=I[3]-T*I[2],y=D[3]-T*D[2],h=g+M*I[2],w=A+M*D[2],L=x[1];L>0;)for(L<a?(q=L,L=0):(q=a,L-=a),s=I[2]-q*I[1],d=D[2]-q*D[1],m=h+L*I[1],S=w+L*D[1],P=x[0];P>0;)for(P<a?(E=P,P=0):(E=a,P-=a),F=m+P*I[0],R=S+P*D[0],n=I[1]-E*I[0],l=D[1]-E*D[0],C=0;C<O;C++){for(U=0;U<j;U++){for(V=0;V<T;V++){for(z=0;z<q;z++){for(B=0;B<E;B++)o[R]=t[F],F+=i,R+=f;F+=n,R+=l}F+=s,R+=d}F+=u,R+=y}F+=v,R+=p}}U_.exports=axr});var L_=c((Cne,P_)=>{"use strict";var txr=zr(),ixr=Rr();function oxr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q,Z;for(Z=txr(r.shape,r.strides,e.strides),j=Z.sh,R=Z.sx,B=Z.sy,a=ixr(r.dtype,e.dtype),z=r.offset,V=e.offset,t=r.data,o=e.data,i=R[0],l=B[0],Q=j[5];Q>0;)for(Q<a?(F=Q,Q=0):(F=a,Q-=a),A=z+Q*R[5],T=V+Q*B[5],H=j[4];H>0;)for(H<a?(N=H,H=0):(N=a,H-=a),f=R[5]-N*R[4],h=B[5]-N*B[4],w=A+H*R[4],q=T+H*B[4],K=j[3];K>0;)for(K<a?(k=K,K=0):(k=a,K-=a),v=R[4]-k*R[3],m=B[4]-k*B[3],S=w+K*R[3],E=q+K*B[3],X=j[2];X>0;)for(X<a?(D=X,X=0):(D=a,X-=a),u=R[3]-D*R[2],p=B[3]-D*B[2],b=S+X*R[2],x=E+X*B[2],J=j[1];J>0;)for(J<a?(I=J,J=0):(I=a,J-=a),s=R[2]-I*R[1],y=B[2]-I*B[1],g=b+J*R[1],_=x+J*B[1],W=j[0];W>0;)for(W<a?(O=W,W=0):(O=a,W-=a),U=g+W*R[0],C=_+W*B[0],n=R[1]-O*R[0],d=B[1]-O*B[0],Y=0;Y<F;Y++){for($=0;$<N;$++){for(G=0;G<k;G++){for(M=0;M<D;M++){for(L=0;L<I;L++){for(P=0;P<O;P++)o[C]=t[U],U+=i,C+=l;U+=n,C+=d}U+=s,C+=y}U+=u,C+=p}U+=v,C+=m}U+=f,C+=h}}P_.exports=oxr});var G_=c((Pne,M_)=>{"use strict";var nxr=zr(),sxr=Rr();function uxr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr;for(nr=nxr(r.shape,r.strides,e.strides),k=nr.sh,C=nr.sx,P=nr.sy,a=sxr(r.dtype,e.dtype),L=r.offset,M=e.offset,t=r.data,o=e.data,i=C[0],d=P[0],or=k[6];or>0;)for(or<a?(U=or,or=0):(U=a,or-=a),E=L+or*C[6],D=M+or*P[6],tr=k[5];tr>0;)for(tr<a?(V=tr,tr=0):(V=a,tr-=a),l=C[6]-V*C[5],b=P[6]-V*P[5],x=E+tr*C[5],I=D+tr*P[5],ir=k[4];ir>0;)for(ir<a?(z=ir,ir=0):(z=a,ir-=a),f=C[5]-z*C[4],g=P[5]-z*P[4],_=x+ir*C[4],O=I+ir*P[4],er=k[3];er>0;)for(er<a?(B=er,er=0):(B=a,er-=a),v=C[4]-B*C[3],h=P[4]-B*P[3],A=_+er*C[3],j=O+er*P[3],ar=k[2];ar>0;)for(ar<a?(R=ar,ar=0):(R=a,ar-=a),u=C[3]-R*C[2],m=P[3]-R*P[2],w=A+ar*C[2],T=j+ar*P[2],rr=k[1];rr>0;)for(rr<a?(F=rr,rr=0):(F=a,rr-=a),s=C[2]-F*C[1],p=P[2]-F*P[1],S=w+rr*C[1],q=T+rr*P[1],Z=k[0];Z>0;)for(Z<a?(N=Z,Z=0):(N=a,Z-=a),G=S+Z*C[0],$=q+Z*P[0],n=C[1]-N*C[0],y=P[1]-N*P[0],Q=0;Q<U;Q++){for(H=0;H<V;H++){for(K=0;K<z;K++){for(X=0;X<B;X++){for(J=0;J<R;J++){for(W=0;W<F;W++){for(Y=0;Y<N;Y++)o[$]=t[G],G+=i,$+=d;G+=n,$+=y}G+=s,$+=p}G+=u,$+=m}G+=v,$+=h}G+=f,$+=g}G+=l,$+=b}}M_.exports=uxr});var $_=c((Lne,Y_)=>{"use strict";var vxr=zr(),fxr=Rr();function lxr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr,lr,fr,yr,dr;for(dr=vxr(r.shape,r.strides,e.strides),B=dr.sh,$=dr.sx,Y=dr.sy,a=fxr(r.dtype,e.dtype),W=r.offset,J=e.offset,t=r.data,o=e.data,i=$[0],y=Y[0],yr=B[7];yr>0;)for(yr<a?(G=yr,yr=0):(G=a,yr-=a),j=W+yr*$[7],R=J+yr*Y[7],fr=B[6];fr>0;)for(fr<a?(M=fr,fr=0):(M=a,fr-=a),d=$[7]-M*$[6],w=Y[7]-M*Y[6],T=j+fr*$[6],F=R+fr*Y[6],lr=B[5];lr>0;)for(lr<a?(L=lr,lr=0):(L=a,lr-=a),l=$[6]-L*$[5],S=Y[6]-L*Y[5],q=T+lr*$[5],N=F+lr*Y[5],vr=B[4];vr>0;)for(vr<a?(P=vr,vr=0):(P=a,vr-=a),f=$[5]-P*$[4],b=Y[5]-P*Y[4],E=q+vr*$[4],k=N+vr*Y[4],ur=B[3];ur>0;)for(ur<a?(C=ur,ur=0):(C=a,ur-=a),v=$[4]-C*$[3],g=Y[4]-C*Y[3],x=E+ur*$[3],D=k+ur*Y[3],sr=B[2];sr>0;)for(sr<a?(U=sr,sr=0):(U=a,sr-=a),u=$[3]-U*$[2],h=Y[3]-U*Y[2],_=x+sr*$[2],I=D+sr*Y[2],nr=B[1];nr>0;)for(nr<a?(V=nr,nr=0):(V=a,nr-=a),s=$[2]-V*$[1],m=Y[2]-V*Y[1],A=_+nr*$[1],O=I+nr*Y[1],or=B[0];or>0;)for(or<a?(z=or,or=0):(z=a,or-=a),X=A+or*$[0],K=O+or*Y[0],n=$[1]-z*$[0],p=Y[1]-z*Y[0],tr=0;tr<G;tr++){for(ir=0;ir<M;ir++){for(er=0;er<L;er++){for(ar=0;ar<P;ar++){for(rr=0;rr<C;rr++){for(Z=0;Z<U;Z++){for(Q=0;Q<V;Q++){for(H=0;H<z;H++)o[K]=t[X],X+=i,K+=y;X+=n,K+=p}X+=s,K+=m}X+=u,K+=h}X+=v,K+=g}X+=f,K+=b}X+=l,K+=S}X+=d,K+=w}}Y_.exports=lxr});var J_=c((Mne,W_)=>{"use strict";var cxr=zr(),dxr=Rr();function pxr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr,lr,fr,yr,dr,mr,hr,br,wr,xr,qr,gr;for(gr=cxr(r.shape,r.strides,e.strides),C=gr.sh,K=gr.sx,H=gr.sy,a=dxr(r.dtype,e.dtype),Q=r.offset,Z=e.offset,t=r.data,o=e.data,i=K[0],p=H[0],qr=C[8];qr>0;)for(qr<a?(X=qr,qr=0):(X=a,qr-=a),D=Q+qr*K[8],U=Z+qr*H[8],xr=C[7];xr>0;)for(xr<a?(J=xr,xr=0):(J=a,xr-=a),y=K[8]-J*K[7],_=H[8]-J*H[7],I=D+xr*K[7],V=U+xr*H[7],wr=C[6];wr>0;)for(wr<a?(W=wr,wr=0):(W=a,wr-=a),d=K[7]-W*K[6],A=H[7]-W*H[6],O=I+wr*K[6],z=V+wr*H[6],br=C[5];br>0;)for(br<a?(Y=br,br=0):(Y=a,br-=a),l=K[6]-Y*K[5],w=H[6]-Y*H[5],j=O+br*K[5],B=z+br*H[5],hr=C[4];hr>0;)for(hr<a?($=hr,hr=0):($=a,hr-=a),f=K[5]-$*K[4],S=H[5]-$*H[4],T=j+hr*K[4],R=B+hr*H[4],mr=C[3];mr>0;)for(mr<a?(G=mr,mr=0):(G=a,mr-=a),v=K[4]-G*K[3],b=H[4]-G*H[3],q=T+mr*K[3],F=R+mr*H[3],dr=C[2];dr>0;)for(dr<a?(M=dr,dr=0):(M=a,dr-=a),u=K[3]-M*K[2],g=H[3]-M*H[2],E=q+dr*K[2],N=F+dr*H[2],yr=C[1];yr>0;)for(yr<a?(L=yr,yr=0):(L=a,yr-=a),s=K[2]-L*K[1],h=H[2]-L*H[1],x=E+yr*K[1],k=N+yr*H[1],fr=C[0];fr>0;)for(fr<a?(P=fr,fr=0):(P=a,fr-=a),rr=x+fr*K[0],ar=k+fr*H[0],n=K[1]-P*K[0],m=H[1]-P*H[0],lr=0;lr<X;lr++){for(vr=0;vr<J;vr++){for(ur=0;ur<W;ur++){for(sr=0;sr<Y;sr++){for(nr=0;nr<$;nr++){for(or=0;or<G;or++){for(tr=0;tr<M;tr++){for(ir=0;ir<L;ir++){for(er=0;er<P;er++)o[ar]=t[rr],rr+=i,ar+=p;rr+=n,ar+=m}rr+=s,ar+=h}rr+=u,ar+=g}rr+=v,ar+=b}rr+=f,ar+=S}rr+=l,ar+=w}rr+=d,ar+=A}rr+=y,ar+=_}}W_.exports=pxr});var K_=c((Gne,X_)=>{"use strict";var yxr=zr(),mxr=Rr();function hxr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr,lr,fr,yr,dr,mr,hr,br,wr,xr,qr,gr,Ar,_r,Tr,jr,Or,Fr,Vr;for(Vr=yxr(r.shape,r.strides,e.strides),G=Vr.sh,ar=Vr.sx,er=Vr.sy,a=mxr(r.dtype,e.dtype),ir=r.offset,tr=e.offset,t=r.data,o=e.data,i=ar[0],m=er[0],Fr=G[9];Fr>0;)for(Fr<a?(rr=Fr,Fr=0):(rr=a,Fr-=a),F=ir+Fr*ar[9],M=tr+Fr*er[9],Or=G[8];Or>0;)for(Or<a?(Z=Or,Or=0):(Z=a,Or-=a),p=ar[9]-Z*ar[8],E=er[9]-Z*er[8],N=F+Or*ar[8],L=M+Or*er[8],jr=G[7];jr>0;)for(jr<a?(Q=jr,jr=0):(Q=a,jr-=a),y=ar[8]-Q*ar[7],x=er[8]-Q*er[7],k=N+jr*ar[7],P=L+jr*er[7],Tr=G[6];Tr>0;)for(Tr<a?(H=Tr,Tr=0):(H=a,Tr-=a),d=ar[7]-H*ar[6],_=er[7]-H*er[6],D=k+Tr*ar[6],C=P+Tr*er[6],_r=G[5];_r>0;)for(_r<a?(K=_r,_r=0):(K=a,_r-=a),l=ar[6]-K*ar[5],A=er[6]-K*er[5],I=D+_r*ar[5],U=C+_r*er[5],Ar=G[4];Ar>0;)for(Ar<a?(X=Ar,Ar=0):(X=a,Ar-=a),f=ar[5]-X*ar[4],w=er[5]-X*er[4],O=I+Ar*ar[4],V=U+Ar*er[4],gr=G[3];gr>0;)for(gr<a?(J=gr,gr=0):(J=a,gr-=a),v=ar[4]-J*ar[3],S=er[4]-J*er[3],j=O+gr*ar[3],z=V+gr*er[3],qr=G[2];qr>0;)for(qr<a?(W=qr,qr=0):(W=a,qr-=a),u=ar[3]-W*ar[2],b=er[3]-W*er[2],T=j+qr*ar[2],B=z+qr*er[2],xr=G[1];xr>0;)for(xr<a?(Y=xr,xr=0):(Y=a,xr-=a),s=ar[2]-Y*ar[1],g=er[2]-Y*er[1],q=T+xr*ar[1],R=B+xr*er[1],wr=G[0];wr>0;)for(wr<a?($=wr,wr=0):($=a,wr-=a),or=q+wr*ar[0],nr=R+wr*er[0],n=ar[1]-$*ar[0],h=er[1]-$*er[0],br=0;br<rr;br++){for(hr=0;hr<Z;hr++){for(mr=0;mr<Q;mr++){for(dr=0;dr<H;dr++){for(yr=0;yr<K;yr++){for(fr=0;fr<X;fr++){for(lr=0;lr<J;lr++){for(vr=0;vr<W;vr++){for(ur=0;ur<Y;ur++){for(sr=0;sr<$;sr++)o[nr]=t[or],or+=i,nr+=m;or+=n,nr+=h}or+=s,nr+=g}or+=u,nr+=b}or+=v,nr+=S}or+=f,nr+=w}or+=l,nr+=A}or+=d,nr+=_}or+=y,nr+=x}or+=p,nr+=E}}X_.exports=hxr});var Z_=c((Yne,H_)=>{"use strict";function gxr(r,e){e.accessors[1](e.data,e.offset,r.accessors[0](r.data,r.offset))}H_.exports=gxr});var rT=c(($ne,Q_)=>{"use strict";function bxr(r,e){var a,t,o,i,n,s,u,v,f,l;for(u=r.shape[0],n=r.strides[0],s=e.strides[0],v=r.offset,f=e.offset,a=r.data,t=e.data,o=r.accessors[0],i=e.accessors[1],l=0;l<u;l++)i(t,f,o(a,v)),v+=n,f+=s}Q_.exports=bxr});var aT=c((Wne,eT)=>{"use strict";function xxr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b;for(f=r.shape,y=r.strides,p=e.strides,r.order==="row-major"?(l=f[1],d=f[0],n=y[1],s=y[0]-l*y[1],u=p[1],v=p[0]-l*p[1]):(l=f[0],d=f[1],n=y[0],s=y[1]-l*y[0],u=p[0],v=p[1]-l*p[0]),m=r.offset,h=e.offset,a=r.data,t=e.data,o=r.accessors[0],i=e.accessors[1],b=0;b<d;b++){for(g=0;g<l;g++)i(t,h,o(a,m)),m+=n,h+=u;m+=s,h+=v}}eT.exports=xxr});var iT=c((Jne,tT)=>{"use strict";function qxr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_;for(d=r.shape,h=r.strides,g=e.strides,r.order==="row-major"?(y=d[2],p=d[1],m=d[0],n=h[2],s=h[1]-y*h[2],u=h[0]-p*h[1],v=g[2],f=g[1]-y*g[2],l=g[0]-p*g[1]):(y=d[0],p=d[1],m=d[2],n=h[0],s=h[1]-y*h[0],u=h[2]-p*h[1],v=g[0],f=g[1]-y*g[0],l=g[2]-p*g[1]),b=r.offset,S=e.offset,a=r.data,t=e.data,o=r.accessors[0],i=e.accessors[1],_=0;_<m;_++){for(A=0;A<p;A++){for(w=0;w<y;w++)i(t,S,o(a,b)),b+=n,S+=v;b+=s,S+=f}b+=u,S+=l}}tT.exports=qxr});var nT=c((Xne,oT)=>{"use strict";function wxr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T;for(p=r.shape,S=r.strides,w=e.strides,r.order==="row-major"?(m=p[3],h=p[2],g=p[1],b=p[0],n=S[3],s=S[2]-m*S[3],u=S[1]-h*S[2],v=S[0]-g*S[1],f=w[3],l=w[2]-m*w[3],d=w[1]-h*w[2],y=w[0]-g*w[1]):(m=p[0],h=p[1],g=p[2],b=p[3],n=S[0],s=S[1]-m*S[0],u=S[2]-h*S[1],v=S[3]-g*S[2],f=w[0],l=w[1]-m*w[0],d=w[2]-h*w[1],y=w[3]-g*w[2]),A=r.offset,_=e.offset,a=r.data,t=e.data,o=r.accessors[0],i=e.accessors[1],T=0;T<b;T++){for(q=0;q<g;q++){for(E=0;E<h;E++){for(x=0;x<m;x++)i(t,_,o(a,A)),A+=n,_+=f;A+=s,_+=l}A+=u,_+=d}A+=v,_+=y}}oT.exports=wxr});var uT=c((Kne,sT)=>{"use strict";function Sxr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D;for(h=r.shape,_=r.strides,x=e.strides,r.order==="row-major"?(g=h[4],b=h[3],S=h[2],w=h[1],A=h[0],n=_[4],s=_[3]-g*_[4],u=_[2]-b*_[3],v=_[1]-S*_[2],f=_[0]-w*_[1],l=x[4],d=x[3]-g*x[4],y=x[2]-b*x[3],p=x[1]-S*x[2],m=x[0]-w*x[1]):(g=h[0],b=h[1],S=h[2],w=h[3],A=h[4],n=_[0],s=_[1]-g*_[0],u=_[2]-b*_[1],v=_[3]-S*_[2],f=_[4]-w*_[3],l=x[0],d=x[1]-g*x[0],y=x[2]-b*x[1],p=x[3]-S*x[2],m=x[4]-w*x[3]),E=r.offset,q=e.offset,a=r.data,t=e.data,o=r.accessors[0],i=e.accessors[1],D=0;D<A;D++){for(I=0;I<w;I++){for(O=0;O<S;O++){for(j=0;j<b;j++){for(T=0;T<g;T++)i(t,q,o(a,E)),E+=n,q+=l;E+=s,q+=d}E+=u,q+=y}E+=v,q+=p}E+=f,q+=m}}sT.exports=Sxr});var fT=c((Hne,vT)=>{"use strict";function Exr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R;for(b=r.shape,q=r.strides,T=e.strides,r.order==="row-major"?(S=b[5],w=b[4],A=b[3],_=b[2],x=b[1],E=b[0],n=q[5],s=q[4]-S*q[5],u=q[3]-w*q[4],v=q[2]-A*q[3],f=q[1]-_*q[2],l=q[0]-x*q[1],d=T[5],y=T[4]-S*T[5],p=T[3]-w*T[4],m=T[2]-A*T[3],h=T[1]-_*T[2],g=T[0]-x*T[1]):(S=b[0],w=b[1],A=b[2],_=b[3],x=b[4],E=b[5],n=q[0],s=q[1]-S*q[0],u=q[2]-w*q[1],v=q[3]-A*q[2],f=q[4]-_*q[3],l=q[5]-x*q[4],d=T[0],y=T[1]-S*T[0],p=T[2]-w*T[1],m=T[3]-A*T[2],h=T[4]-_*T[3],g=T[5]-x*T[4]),j=r.offset,O=e.offset,a=r.data,t=e.data,o=r.accessors[0],i=e.accessors[1],R=0;R<E;R++){for(F=0;F<x;F++){for(N=0;N<_;N++){for(k=0;k<A;k++){for(D=0;D<w;D++){for(I=0;I<S;I++)i(t,O,o(a,j)),j+=n,O+=d;j+=s,O+=y}j+=u,O+=p}j+=v,O+=m}j+=f,O+=h}j+=l,O+=g}}vT.exports=Exr});var cT=c((Zne,lT)=>{"use strict";function Axr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U;for(w=r.shape,O=r.strides,I=e.strides,r.order==="row-major"?(A=w[6],_=w[5],x=w[4],E=w[3],q=w[2],T=w[1],j=w[0],n=O[6],s=O[5]-A*O[6],u=O[4]-_*O[5],v=O[3]-x*O[4],f=O[2]-E*O[3],l=O[1]-q*O[2],d=O[0]-T*O[1],y=I[6],p=I[5]-A*I[6],m=I[4]-_*I[5],h=I[3]-x*I[4],g=I[2]-E*I[3],b=I[1]-q*I[2],S=I[0]-T*I[1]):(A=w[0],_=w[1],x=w[2],E=w[3],q=w[4],T=w[5],j=w[6],n=O[0],s=O[1]-A*O[0],u=O[2]-_*O[1],v=O[3]-x*O[2],f=O[4]-E*O[3],l=O[5]-q*O[4],d=O[6]-T*O[5],y=I[0],p=I[1]-A*I[0],m=I[2]-_*I[1],h=I[3]-x*I[2],g=I[4]-E*I[3],b=I[5]-q*I[4],S=I[6]-T*I[5]),D=r.offset,k=e.offset,a=r.data,t=e.data,o=r.accessors[0],i=e.accessors[1],U=0;U<j;U++){for(V=0;V<T;V++){for(z=0;z<q;z++){for(B=0;B<E;B++){for(R=0;R<x;R++){for(F=0;F<_;F++){for(N=0;N<A;N++)i(t,k,o(a,D)),D+=n,k+=y;D+=s,k+=p}D+=u,k+=m}D+=v,k+=h}D+=f,k+=g}D+=l,k+=b}D+=d,k+=S}}lT.exports=Axr});var pT=c((Qne,dT)=>{"use strict";function _xr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M;for(_=r.shape,k=r.strides,N=e.strides,r.order==="row-major"?(x=_[7],E=_[6],q=_[5],T=_[4],j=_[3],O=_[2],I=_[1],D=_[0],n=k[7],s=k[6]-x*k[7],u=k[5]-E*k[6],v=k[4]-q*k[5],f=k[3]-T*k[4],l=k[2]-j*k[3],d=k[1]-O*k[2],y=k[0]-I*k[1],p=N[7],m=N[6]-x*N[7],h=N[5]-E*N[6],g=N[4]-q*N[5],b=N[3]-T*N[4],S=N[2]-j*N[3],w=N[1]-O*N[2],A=N[0]-I*N[1]):(x=_[0],E=_[1],q=_[2],T=_[3],j=_[4],O=_[5],I=_[6],D=_[7],n=k[0],s=k[1]-x*k[0],u=k[2]-E*k[1],v=k[3]-q*k[2],f=k[4]-T*k[3],l=k[5]-j*k[4],d=k[6]-O*k[5],y=k[7]-I*k[6],p=N[0],m=N[1]-x*N[0],h=N[2]-E*N[1],g=N[3]-q*N[2],b=N[4]-T*N[3],S=N[5]-j*N[4],w=N[6]-O*N[5],A=N[7]-I*N[6]),F=r.offset,R=e.offset,a=r.data,t=e.data,o=r.accessors[0],i=e.accessors[1],M=0;M<D;M++){for(L=0;L<I;L++){for(P=0;P<O;P++){for(C=0;C<j;C++){for(U=0;U<T;U++){for(V=0;V<q;V++){for(z=0;z<E;z++){for(B=0;B<x;B++)i(t,R,o(a,F)),F+=n,R+=p;F+=s,R+=m}F+=u,R+=h}F+=v,R+=g}F+=f,R+=b}F+=l,R+=S}F+=d,R+=w}F+=y,R+=A}}dT.exports=_xr});var mT=c((rse,yT)=>{"use strict";function Txr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W;for(E=r.shape,R=r.strides,B=e.strides,r.order==="row-major"?(q=E[8],T=E[7],j=E[6],O=E[5],I=E[4],D=E[3],k=E[2],N=E[1],F=E[0],n=R[8],s=R[7]-q*R[8],u=R[6]-T*R[7],v=R[5]-j*R[6],f=R[4]-O*R[5],l=R[3]-I*R[4],d=R[2]-D*R[3],y=R[1]-k*R[2],p=R[0]-N*R[1],m=B[8],h=B[7]-q*B[8],g=B[6]-T*B[7],b=B[5]-j*B[6],S=B[4]-O*B[5],w=B[3]-I*B[4],A=B[2]-D*B[3],_=B[1]-k*B[2],x=B[0]-N*B[1]):(q=E[0],T=E[1],j=E[2],O=E[3],I=E[4],D=E[5],k=E[6],N=E[7],F=E[8],n=R[0],s=R[1]-q*R[0],u=R[2]-T*R[1],v=R[3]-j*R[2],f=R[4]-O*R[3],l=R[5]-I*R[4],d=R[6]-D*R[5],y=R[7]-k*R[6],p=R[8]-N*R[7],m=B[0],h=B[1]-q*B[0],g=B[2]-T*B[1],b=B[3]-j*B[2],S=B[4]-O*B[3],w=B[5]-I*B[4],A=B[6]-D*B[5],_=B[7]-k*B[6],x=B[8]-N*B[7]),z=r.offset,V=e.offset,a=r.data,t=e.data,o=r.accessors[0],i=e.accessors[1],W=0;W<F;W++){for(Y=0;Y<N;Y++){for($=0;$<k;$++){for(G=0;G<D;G++){for(M=0;M<I;M++){for(L=0;L<O;L++){for(P=0;P<j;P++){for(C=0;C<T;C++){for(U=0;U<q;U++)i(t,V,o(a,z)),z+=n,V+=m;z+=s,V+=h}z+=u,V+=g}z+=v,V+=b}z+=f,V+=S}z+=l,V+=w}z+=d,V+=A}z+=y,V+=_}z+=p,V+=x}}yT.exports=Txr});var gT=c((ese,hT)=>{"use strict";function jxr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H;for(T=r.shape,V=r.strides,U=e.strides,r.order==="row-major"?(j=T[9],O=T[8],I=T[7],D=T[6],k=T[5],N=T[4],F=T[3],R=T[2],B=T[1],z=T[0],n=V[9],s=V[8]-j*V[9],u=V[7]-O*V[8],v=V[6]-I*V[7],f=V[5]-D*V[6],l=V[4]-k*V[5],d=V[3]-N*V[4],y=V[2]-F*V[3],p=V[1]-R*V[2],m=V[0]-B*V[1],h=U[9],g=U[8]-j*U[9],b=U[7]-O*U[8],S=U[6]-I*U[7],w=U[5]-D*U[6],A=U[4]-k*U[5],_=U[3]-N*U[4],x=U[2]-F*U[3],E=U[1]-R*U[2],q=U[0]-B*U[1]):(j=T[0],O=T[1],I=T[2],D=T[3],k=T[4],N=T[5],F=T[6],R=T[7],B=T[8],z=T[9],n=V[0],s=V[1]-j*V[0],u=V[2]-O*V[1],v=V[3]-I*V[2],f=V[4]-D*V[3],l=V[5]-k*V[4],d=V[6]-N*V[5],y=V[7]-F*V[6],p=V[8]-R*V[7],m=V[9]-B*V[8],h=U[0],g=U[1]-j*U[0],b=U[2]-O*U[1],S=U[3]-I*U[2],w=U[4]-D*U[3],A=U[5]-k*U[4],_=U[6]-N*U[5],x=U[7]-F*U[6],E=U[8]-R*U[7],q=U[9]-B*U[8]),C=r.offset,P=e.offset,a=r.data,t=e.data,o=r.accessors[0],i=e.accessors[1],H=0;H<z;H++){for(K=0;K<B;K++){for(X=0;X<R;X++){for(J=0;J<F;J++){for(W=0;W<N;W++){for(Y=0;Y<k;Y++){for($=0;$<D;$++){for(G=0;G<I;G++){for(M=0;M<O;M++){for(L=0;L<j;L++)i(t,P,o(a,C)),C+=n,P+=h;C+=s,P+=g}C+=u,P+=b}C+=v,P+=S}C+=f,P+=w}C+=l,P+=A}C+=d,P+=_}C+=y,P+=x}C+=p,P+=E}C+=m,P+=q}}hT.exports=jxr});var wT=c((ase,qT)=>{"use strict";var Ixr=Jr(),bT=na(),xT="throw";function Oxr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h;for(v=r.shape,n=Ixr(v),a=r.data,t=e.data,f=r.strides,l=e.strides,d=r.offset,y=e.offset,o=r.order,i=e.order,s=r.accessors[0],u=e.accessors[1],h=0;h<n;h++)p=bT(v,f,d,o,h,xT),m=bT(v,l,y,i,h,xT),u(t,m,s(a,p))}qT.exports=Oxr});var ET=c((tse,ST)=>{"use strict";function Nxr(r,e){e.data[e.offset]=r.data[r.offset]}ST.exports=Nxr});var _T=c((ise,AT)=>{"use strict";function Dxr(r,e){var a,t,o,i,n,s,u,v;for(n=r.shape[0],o=r.strides[0],i=e.strides[0],s=r.offset,u=e.offset,a=r.data,t=e.data,v=0;v<n;v++)t[u]=a[s],s+=o,u+=i}AT.exports=Dxr});var jT=c((ose,TT)=>{"use strict";function kxr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h;for(u=r.shape,l=r.strides,d=e.strides,r.order==="row-major"?(v=u[1],f=u[0],o=l[1],i=l[0]-v*l[1],n=d[1],s=d[0]-v*d[1]):(v=u[0],f=u[1],o=l[0],i=l[1]-v*l[0],n=d[0],s=d[1]-v*d[0]),y=r.offset,p=e.offset,a=r.data,t=e.data,h=0;h<f;h++){for(m=0;m<v;m++)t[p]=a[y],y+=o,p+=n;y+=i,p+=s}}TT.exports=kxr});var OT=c((nse,IT)=>{"use strict";function Bxr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w;for(f=r.shape,p=r.strides,m=e.strides,r.order==="row-major"?(l=f[2],d=f[1],y=f[0],o=p[2],i=p[1]-l*p[2],n=p[0]-d*p[1],s=m[2],u=m[1]-l*m[2],v=m[0]-d*m[1]):(l=f[0],d=f[1],y=f[2],o=p[0],i=p[1]-l*p[0],n=p[2]-d*p[1],s=m[0],u=m[1]-l*m[0],v=m[2]-d*m[1]),h=r.offset,g=e.offset,a=r.data,t=e.data,w=0;w<y;w++){for(S=0;S<d;S++){for(b=0;b<l;b++)t[g]=a[h],h+=o,g+=s;h+=i,g+=u}h+=n,g+=v}}IT.exports=Bxr});var DT=c((sse,NT)=>{"use strict";function Fxr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E;for(d=r.shape,g=r.strides,b=e.strides,r.order==="row-major"?(y=d[3],p=d[2],m=d[1],h=d[0],o=g[3],i=g[2]-y*g[3],n=g[1]-p*g[2],s=g[0]-m*g[1],u=b[3],v=b[2]-y*b[3],f=b[1]-p*b[2],l=b[0]-m*b[1]):(y=d[0],p=d[1],m=d[2],h=d[3],o=g[0],i=g[1]-y*g[0],n=g[2]-p*g[1],s=g[3]-m*g[2],u=b[0],v=b[1]-y*b[0],f=b[2]-p*b[1],l=b[3]-m*b[2]),S=r.offset,w=e.offset,a=r.data,t=e.data,E=0;E<h;E++){for(x=0;x<m;x++){for(_=0;_<p;_++){for(A=0;A<y;A++)t[w]=a[S],S+=o,w+=u;S+=i,w+=v}S+=n,w+=f}S+=s,w+=l}}NT.exports=Fxr});var BT=c((use,kT)=>{"use strict";function Rxr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O;for(p=r.shape,w=r.strides,A=e.strides,r.order==="row-major"?(m=p[4],h=p[3],g=p[2],b=p[1],S=p[0],o=w[4],i=w[3]-m*w[4],n=w[2]-h*w[3],s=w[1]-g*w[2],u=w[0]-b*w[1],v=A[4],f=A[3]-m*A[4],l=A[2]-h*A[3],d=A[1]-g*A[2],y=A[0]-b*A[1]):(m=p[0],h=p[1],g=p[2],b=p[3],S=p[4],o=w[0],i=w[1]-m*w[0],n=w[2]-h*w[1],s=w[3]-g*w[2],u=w[4]-b*w[3],v=A[0],f=A[1]-m*A[0],l=A[2]-h*A[1],d=A[3]-g*A[2],y=A[4]-b*A[3]),_=r.offset,x=e.offset,a=r.data,t=e.data,O=0;O<S;O++){for(j=0;j<b;j++){for(T=0;T<g;T++){for(q=0;q<h;q++){for(E=0;E<m;E++)t[x]=a[_],_+=o,x+=v;_+=i,x+=f}_+=n,x+=l}_+=s,x+=d}_+=u,x+=y}}kT.exports=Rxr});var RT=c((vse,FT)=>{"use strict";function zxr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N;for(h=r.shape,x=r.strides,E=e.strides,r.order==="row-major"?(g=h[5],b=h[4],S=h[3],w=h[2],A=h[1],_=h[0],o=x[5],i=x[4]-g*x[5],n=x[3]-b*x[4],s=x[2]-S*x[3],u=x[1]-w*x[2],v=x[0]-A*x[1],f=E[5],l=E[4]-g*E[5],d=E[3]-b*E[4],y=E[2]-S*E[3],p=E[1]-w*E[2],m=E[0]-A*E[1]):(g=h[0],b=h[1],S=h[2],w=h[3],A=h[4],_=h[5],o=x[0],i=x[1]-g*x[0],n=x[2]-b*x[1],s=x[3]-S*x[2],u=x[4]-w*x[3],v=x[5]-A*x[4],f=E[0],l=E[1]-g*E[0],d=E[2]-b*E[1],y=E[3]-S*E[2],p=E[4]-w*E[3],m=E[5]-A*E[4]),q=r.offset,T=e.offset,a=r.data,t=e.data,N=0;N<_;N++){for(k=0;k<A;k++){for(D=0;D<w;D++){for(I=0;I<S;I++){for(O=0;O<b;O++){for(j=0;j<g;j++)t[T]=a[q],q+=o,T+=f;q+=i,T+=l}q+=n,T+=d}q+=s,T+=y}q+=u,T+=p}q+=v,T+=m}}FT.exports=zxr});var VT=c((fse,zT)=>{"use strict";function Vxr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z;for(b=r.shape,T=r.strides,j=e.strides,r.order==="row-major"?(S=b[6],w=b[5],A=b[4],_=b[3],x=b[2],E=b[1],q=b[0],o=T[6],i=T[5]-S*T[6],n=T[4]-w*T[5],s=T[3]-A*T[4],u=T[2]-_*T[3],v=T[1]-x*T[2],f=T[0]-E*T[1],l=j[6],d=j[5]-S*j[6],y=j[4]-w*j[5],p=j[3]-A*j[4],m=j[2]-_*j[3],h=j[1]-x*j[2],g=j[0]-E*j[1]):(S=b[0],w=b[1],A=b[2],_=b[3],x=b[4],E=b[5],q=b[6],o=T[0],i=T[1]-S*T[0],n=T[2]-w*T[1],s=T[3]-A*T[2],u=T[4]-_*T[3],v=T[5]-x*T[4],f=T[6]-E*T[5],l=j[0],d=j[1]-S*j[0],y=j[2]-w*j[1],p=j[3]-A*j[2],m=j[4]-_*j[3],h=j[5]-x*j[4],g=j[6]-E*j[5]),O=r.offset,I=e.offset,a=r.data,t=e.data,z=0;z<q;z++){for(B=0;B<E;B++){for(R=0;R<x;R++){for(F=0;F<_;F++){for(N=0;N<A;N++){for(k=0;k<w;k++){for(D=0;D<S;D++)t[I]=a[O],O+=o,I+=l;O+=i,I+=d}O+=n,I+=y}O+=s,I+=p}O+=u,I+=m}O+=v,I+=h}O+=f,I+=g}}zT.exports=Vxr});var CT=c((lse,UT)=>{"use strict";function Uxr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P;for(w=r.shape,I=r.strides,D=e.strides,r.order==="row-major"?(A=w[7],_=w[6],x=w[5],E=w[4],q=w[3],T=w[2],j=w[1],O=w[0],o=I[7],i=I[6]-A*I[7],n=I[5]-_*I[6],s=I[4]-x*I[5],u=I[3]-E*I[4],v=I[2]-q*I[3],f=I[1]-T*I[2],l=I[0]-j*I[1],d=D[7],y=D[6]-A*D[7],p=D[5]-_*D[6],m=D[4]-x*D[5],h=D[3]-E*D[4],g=D[2]-q*D[3],b=D[1]-T*D[2],S=D[0]-j*D[1]):(A=w[0],_=w[1],x=w[2],E=w[3],q=w[4],T=w[5],j=w[6],O=w[7],o=I[0],i=I[1]-A*I[0],n=I[2]-_*I[1],s=I[3]-x*I[2],u=I[4]-E*I[3],v=I[5]-q*I[4],f=I[6]-T*I[5],l=I[7]-j*I[6],d=D[0],y=D[1]-A*D[0],p=D[2]-_*D[1],m=D[3]-x*D[2],h=D[4]-E*D[3],g=D[5]-q*D[4],b=D[6]-T*D[5],S=D[7]-j*D[6]),k=r.offset,N=e.offset,a=r.data,t=e.data,P=0;P<O;P++){for(C=0;C<j;C++){for(U=0;U<T;U++){for(V=0;V<q;V++){for(z=0;z<E;z++){for(B=0;B<x;B++){for(R=0;R<_;R++){for(F=0;F<A;F++)t[N]=a[k],k+=o,N+=d;k+=i,N+=y}k+=n,N+=p}k+=s,N+=m}k+=u,N+=h}k+=v,N+=g}k+=f,N+=b}k+=l,N+=S}}UT.exports=Uxr});var LT=c((cse,PT)=>{"use strict";function Cxr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$;for(_=r.shape,N=r.strides,F=e.strides,r.order==="row-major"?(x=_[8],E=_[7],q=_[6],T=_[5],j=_[4],O=_[3],I=_[2],D=_[1],k=_[0],o=N[8],i=N[7]-x*N[8],n=N[6]-E*N[7],s=N[5]-q*N[6],u=N[4]-T*N[5],v=N[3]-j*N[4],f=N[2]-O*N[3],l=N[1]-I*N[2],d=N[0]-D*N[1],y=F[8],p=F[7]-x*F[8],m=F[6]-E*F[7],h=F[5]-q*F[6],g=F[4]-T*F[5],b=F[3]-j*F[4],S=F[2]-O*F[3],w=F[1]-I*F[2],A=F[0]-D*F[1]):(x=_[0],E=_[1],q=_[2],T=_[3],j=_[4],O=_[5],I=_[6],D=_[7],k=_[8],o=N[0],i=N[1]-x*N[0],n=N[2]-E*N[1],s=N[3]-q*N[2],u=N[4]-T*N[3],v=N[5]-j*N[4],f=N[6]-O*N[5],l=N[7]-I*N[6],d=N[8]-D*N[7],y=F[0],p=F[1]-x*F[0],m=F[2]-E*F[1],h=F[3]-q*F[2],g=F[4]-T*F[3],b=F[5]-j*F[4],S=F[6]-O*F[5],w=F[7]-I*F[6],A=F[8]-D*F[7]),R=r.offset,B=e.offset,a=r.data,t=e.data,$=0;$<k;$++){for(G=0;G<D;G++){for(M=0;M<I;M++){for(L=0;L<O;L++){for(P=0;P<j;P++){for(C=0;C<T;C++){for(U=0;U<q;U++){for(V=0;V<E;V++){for(z=0;z<x;z++)t[B]=a[R],R+=o,B+=y;R+=i,B+=p}R+=n,B+=m}R+=s,B+=h}R+=u,B+=g}R+=v,B+=b}R+=f,B+=S}R+=l,B+=w}R+=d,B+=A}}PT.exports=Cxr});var GT=c((dse,MT)=>{"use strict";function Pxr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X;for(E=r.shape,B=r.strides,z=e.strides,r.order==="row-major"?(q=E[9],T=E[8],j=E[7],O=E[6],I=E[5],D=E[4],k=E[3],N=E[2],F=E[1],R=E[0],o=B[9],i=B[8]-q*B[9],n=B[7]-T*B[8],s=B[6]-j*B[7],u=B[5]-O*B[6],v=B[4]-I*B[5],f=B[3]-D*B[4],l=B[2]-k*B[3],d=B[1]-N*B[2],y=B[0]-F*B[1],p=z[9],m=z[8]-q*z[9],h=z[7]-T*z[8],g=z[6]-j*z[7],b=z[5]-O*z[6],S=z[4]-I*z[5],w=z[3]-D*z[4],A=z[2]-k*z[3],_=z[1]-N*z[2],x=z[0]-F*z[1]):(q=E[0],T=E[1],j=E[2],O=E[3],I=E[4],D=E[5],k=E[6],N=E[7],F=E[8],R=E[9],o=B[0],i=B[1]-q*B[0],n=B[2]-T*B[1],s=B[3]-j*B[2],u=B[4]-O*B[3],v=B[5]-I*B[4],f=B[6]-D*B[5],l=B[7]-k*B[6],d=B[8]-N*B[7],y=B[9]-F*B[8],p=z[0],m=z[1]-q*z[0],h=z[2]-T*z[1],g=z[3]-j*z[2],b=z[4]-O*z[3],S=z[5]-I*z[4],w=z[6]-D*z[5],A=z[7]-k*z[6],_=z[8]-N*z[7],x=z[9]-F*z[8]),V=r.offset,U=e.offset,a=r.data,t=e.data,X=0;X<R;X++){for(J=0;J<F;J++){for(W=0;W<N;W++){for(Y=0;Y<k;Y++){for($=0;$<D;$++){for(G=0;G<I;G++){for(M=0;M<O;M++){for(L=0;L<j;L++){for(P=0;P<T;P++){for(C=0;C<q;C++)t[U]=a[V],V+=o,U+=p;V+=i,U+=m}V+=n,U+=h}V+=s,U+=g}V+=u,U+=b}V+=v,U+=S}V+=f,U+=w}V+=l,U+=A}V+=d,U+=_}V+=y,U+=x}}MT.exports=Pxr});var JT=c((pse,WT)=>{"use strict";var Lxr=Jr(),YT=na(),$T="throw";function Mxr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p;for(s=r.shape,n=Lxr(s),a=r.data,t=e.data,u=r.strides,v=e.strides,f=r.offset,l=e.offset,o=r.order,i=e.order,p=0;p<n;p++)d=YT(s,u,f,o,p,$T),y=YT(s,v,l,i,p,$T),t[y]=a[d]}WT.exports=Mxr});var rj=c((yse,QT)=>{"use strict";var Gxr=wo(),Yxr=Mn(),XT=Ea(),$xr=nf(),Wxr=Un(),KT=et(),HT=ei(),Jxr=m_(),Xxr=g_(),Kxr=x_(),Hxr=w_(),Zxr=E_(),Qxr=__(),rqr=j_(),eqr=O_(),aqr=D_(),tqr=B_(),iqr=R_(),oqr=V_(),nqr=C_(),sqr=L_(),uqr=G_(),vqr=$_(),fqr=J_(),lqr=K_(),cqr=Z_(),dqr=rT(),pqr=aT(),yqr=iT(),mqr=nT(),hqr=uT(),gqr=fT(),bqr=cT(),xqr=pT(),qqr=mT(),wqr=gT(),Sqr=wT(),Eqr=ET(),Aqr=_T(),_qr=jT(),Tqr=OT(),jqr=DT(),Iqr=BT(),Oqr=RT(),Nqr=VT(),Dqr=CT(),kqr=LT(),Bqr=GT(),Fqr=JT(),xi=[Eqr,Aqr,_qr,Tqr,jqr,Iqr,Oqr,Nqr,Dqr,kqr,Bqr],Eo=[cqr,dqr,pqr,yqr,mqr,hqr,gqr,bqr,xqr,qqr,wqr],Rqr=[tqr,iqr,oqr,nqr,sqr,uqr,vqr,fqr,lqr],zqr=[Jxr,Xxr,Kxr,Hxr,Zxr,Qxr,rqr,eqr,aqr],ZT=xi.length-1;function Vqr(r){var e,a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g;if(p=HT(r[0]),m=HT(r[1]),Yxr(p.dtype)&&Gxr(m.dtype)&&(p.accessorProtocol=!0,p.accessors[0]=$xr(p.accessors[0],2,Wxr(m.dtype))),o=p.shape,i=m.shape,e=o.length,e!==i.length)throw new Error("invalid arguments. Arrays must have the same number of dimensions (i.e., same rank). ndims(x) == "+e+". ndims(y) == "+i.length+".");if(e===0)return p.accessorProtocol||m.accessorProtocol?Eo[e](p,m):xi[e](p,m);for(u=1,y=0,g=0;g<e;g++){if(h=o[g],h!==i[g])throw new Error("invalid arguments. Arrays must have the same shape.");u*=h,h===1&&(y+=1)}if(u!==0){if(e===1)return p.accessorProtocol||m.accessorProtocol?Eo[e](p,m):xi[e](p,m);if(v=p.strides,f=m.strides,y===e-1){for(g=0;g<e&&o[g]===1;g++);return p.shape=[o[g]],m.shape=p.shape,p.strides=[v[g]],m.strides=[f[g]],p.accessorProtocol||m.accessorProtocol?Eo[1](p,m):xi[1](p,m)}if(n=XT(v),s=XT(f),n!==0&&s!==0&&n===s){if(a=KT(o,v,p.offset),t=KT(i,f,m.offset),u===a[1]-a[0]+1&&u===t[1]-t[0]+1)return n===1?l=a[0]:l=a[1],s===1?d=t[0]:d=t[1],p.shape=[u],m.shape=p.shape,p.strides=[n],m.strides=[s],p.offset=l,m.offset=d,p.accessorProtocol||m.accessorProtocol?Eo[1](p,m):xi[1](p,m);if(e<=ZT)return p.accessorProtocol||m.accessorProtocol?Eo[e](p,m):xi[e](p,m)}if(e<=ZT)return p.accessorProtocol||m.accessorProtocol?zqr[e-2](p,m):Rqr[e-2](p,m);if(p.accessorProtocol||m.accessorProtocol)return Sqr(p,m);Fqr(p,m)}}QT.exports=Vqr});var hf=c((mse,ej)=>{"use strict";var Uqr=rj();ej.exports=Uqr});var tj=c((hse,aj)=>{"use strict";function Cqr(r,e){var a,t,o,i,n,s,u,v,f,l;for(o=1,i=1,l=1;l<r.length;l++){for(u=r[o],a=u<0?-u:u,v=e[i],n=o-1,s=i-1;n>=0&&(f=r[n],t=f<0?-f:f,!(t<=a));)r[n+1]=f,e[s+1]=e[s],n-=1,s-=1;r[n+1]=u,e[s+1]=v,o+=1,i+=1}}aj.exports=Cqr});var nj=c((gse,oj)=>{"use strict";var Pqr=qe(),Lqr=jt(),Wn=Kr(),Mqr=bo(),gf=Pt(),Gqr=tj(),ij=3;function Yqr(r,e,a,t){var o,i,n,s,u,v,f,l,d,y;if(o=Pqr(r.length),v=gf(e),f=gf(a),l=gf(t),i=Mqr([],4),i[v].push(e),i[f].push(a),i[l].push(t),n=i[0].length,n===ij)u=e;else if(n===ij-1){for(d=1;d<4;d++)if(i[d].length){u=i[d][0];break}}else{for(y=0,d=1;d<4;d++)s=i[d].length,s>=n&&(n=s,y=d);u=i[y][0]}return u=Lqr(u),Gqr(u,o),r=Wn(r,o),e=e===u?u:Wn(e,o),a=a===u?u:Wn(a,o),t=t===u?u:Wn(t,o),{sh:r,sx:e,sy:a,sz:t}}oj.exports=Yqr});var uj=c((bse,sj)=>{"use strict";var $qr=nj();sj.exports=$qr});var fj=c((xse,vj)=>{"use strict";var Wqr={BLOCK_SIZE_IN_BYTES:64,BLOCK_SIZE_IN_ELEMENTS:8};vj.exports=Wqr});var cj=c((qse,lj)=>{"use strict";var bf=xt(),Jn=fj();function Jqr(r,e,a){var t,o,i;return t=bf(r),o=bf(e),i=bf(a),t===null||o===null||i===null?Jn.BLOCK_SIZE_IN_ELEMENTS:t>o&&t>i?Jn.BLOCK_SIZE_IN_BYTES/t|0:o>i?Jn.BLOCK_SIZE_IN_BYTES/o|0:Jn.BLOCK_SIZE_IN_BYTES/i|0}lj.exports=Jqr});var pj=c((wse,dj)=>{"use strict";var Xqr=cj();dj.exports=Xqr});var mj=c((Sse,yj)=>{"use strict";var Kqr=Math.ceil;yj.exports=Kqr});var xf=c((Ese,hj)=>{"use strict";var Hqr=mj();hj.exports=Hqr});var bj=c((Ase,gj)=>{"use strict";var Zqr=ea(),Qqr=xf();function rwr(r){return r<0?Qqr(r):Zqr(r)}gj.exports=rwr});var qf=c((_se,xj)=>{"use strict";var ewr=bj();xj.exports=ewr});var Sj=c((Tse,wj)=>{"use strict";var awr=pr(),Xn=qf(),qj=vi();function twr(r,e,a,t,o,i){var n,s,u,v,f,l;for(n=r.length,s=1,l=0;l<n;l++)s*=r[l];if(i==="clamp")o<0?o=0:o>=s&&(o=s-1);else if(i==="wrap")o<0?(o+=s,o<0&&(o%=s,o!==0&&(o+=s))):o>=s&&(o-=s,o>=s&&(o%=s));else if(i==="normalize"&&o<0&&(o+=s),o<0||o>=s)throw new RangeError(awr("invalid argument. Linear index must not exceed array dimensions. Number of array elements: `%u`. Value: `%d`.",s,o));if(u=0,t==="column-major"){for(l=n-1;l>=0;l--)f=e[l],f<0?(v=Xn(o/f),o-=v*f,v+=r[l]-1):(v=Xn(o/f),o-=v*f),u+=v*qj(f);return u}for(l=0;l<n;l++)f=e[l],f<0?(v=Xn(o/f),o-=v*f,v+=r[l]-1):(v=Xn(o/f),o-=v*f),u+=v*qj(f);return u}wj.exports=twr});var Aj=c((jse,Ej)=>{"use strict";var iwr=Sj();Ej.exports=iwr});var jj=c((Ise,Tj)=>{"use strict";var Ao=jt(),owr=aa(),nwr=Te(),swr=ba(),uwr=Ha(),vwr=sa(),fwr=Xe(),lwr=ft(),_j=pr();function cwr(r,e){var a,t,o,i,n,s,u,v,f;if(n=e.length,o=nwr(r,!1),s=o.length,n<s)throw new Error("invalid argument. Cannot broadcast an array to a shape having fewer dimensions. Arrays can only be broadcasted to shapes having the same or more dimensions.");for(a=[],v=0;v<n;v++)a.push(0);for(i=swr(r,!1),v=n-1;v>=0;v--)if(f=s-n+v,!(f<0)){if(u=o[f],t=e[v],t!==0&&t<u)throw new Error(_j("invalid argument. Input array cannot be broadcast to the specified shape, as the specified shape has a dimension whose size is less than the size of the corresponding dimension in the input array. Array shape: (%s). Desired shape: (%s). Dimension: %u.",Ao(o).join(", "),Ao(e).join(", "),v));if(u===t)a[v]=i[f];else if(u===1)a[v]=0;else throw new Error(_j("invalid argument. Input array and the specified shape are broadcast incompatible. Array shape: (%s). Desired shape: (%s). Dimension: %u.",Ao(o).join(", "),Ao(e).join(", "),v))}return owr(fwr(r),lwr(r),Ao(e),a,uwr(r),vwr(r))}Tj.exports=cwr});var _o=c((Ose,Ij)=>{"use strict";var dwr=jj();Ij.exports=dwr});var Nj=c((Nse,Oj)=>{"use strict";function pwr(r){var e,a,t,o,i,n,s,u,v,f,l;if(u=r.length,a=[],u===0)return a;if(o=r[0],v=o.length,u===1){for(f=0;f<v;f++)a.push(o[f]);return a}for(e=[v],f=1;f<u;f++)e.push(r[f].length),e[f]>v&&(v=e[f]);for(f=0;f<v;f++)a.push(0);for(f=v-1;f>=0;){for(i=e[0]-v+f,i>=0?t=o[i]:t=1,l=1;l<u;l++){if(n=e[l]-v+f,n>=0?s=r[l][n]:s=1,t===1){t=s;continue}if(!(s===1||t===s))return null}a[f]=t,f-=1}return a}Oj.exports=pwr});var qi=c((Dse,Dj)=>{"use strict";var ywr=Nj();Dj.exports=ywr});var Bj=c((kse,kj)=>{"use strict";var mwr=qi(),hwr=_o(),gwr=Te();function bwr(r){var e,a,t,o,i;for(o=r.length,e=[],i=0;i<o;i++)e.push(gwr(r[i],!1));if(t=mwr(e),t===null)throw new Error("invalid arguments. Input arrays must be broadcast compatible.");for(a=[],i=0;i<o;i++)a.push(hwr(r[i],t));return a}kj.exports=bwr});var Rj=c((Bse,Fj)=>{"use strict";var xwr=Bj();Fj.exports=xwr});var Vj=c((Fse,zj)=>{"use strict";var qwr=tt(),wwr=bi(),Swr=gi(),Ewr=Se(),Awr=Fa(),_wr=aa(),Twr=pr();function jwr(r,e,a,t){var o,i;if(o=Awr(e,1),o===null)throw new TypeError(Twr("invalid argument. Second argument must be a recognized data type. Value: `%s`.",e));return/^complex/.test(e)&&typeof r=="number"&&(r=[r,0]),qwr(o)?i=wwr(e):i=Swr(e),i(o,0,r),new _wr(e,o,a,Ewr(a.length),0,t)}zj.exports=jwr});var Cj=c((Rse,Uj)=>{"use strict";var Iwr=Vj();Uj.exports=Iwr});var Lj=c((zse,Pj)=>{"use strict";var Owr=mo(),Nwr=Fn();function Dwr(r){var e=Nwr(r);return e?Owr(e):null}Pj.exports=Dwr});var Gj=c((Vse,Mj)=>{"use strict";var kwr=Lj();Mj.exports=kwr});var $j=c((Use,Yj)=>{"use strict";function Bwr(){return{binary:"r",bool:"x",complex64:"c",complex128:"z",float16:"h",bfloat16:"e",float32:"f",float64:"d",float128:"g",generic:"o",int8:"s",int16:"k",int32:"i",int64:"l",int128:"m",int256:"n",uint8:"b",uint8c:"a",uint16:"t",uint32:"u",uint64:"v",uint128:"w",uint256:"y"}}Yj.exports=Bwr});var Xj=c((Cse,Jj)=>{"use strict";var Fwr=Ba(),Wj=$j(),wf;function Rwr(r){return arguments.length===0?Wj():(wf===void 0&&(wf=Wj()),wf[Fwr(r)]||null)}Jj.exports=Rwr});var Sf=c((Pse,Kj)=>{"use strict";var zwr=Xj();Kj.exports=zwr});var rI=c((Lse,Qj)=>{"use strict";var Hj=qn(),Zj=Sf(),Ef;function Vwr(r){return arguments.length===0?Hj(Zj()):(Ef===void 0&&(Ef=Hj(Zj())),Ef[r]||null)}Qj.exports=Vwr});var aI=c((Mse,eI)=>{"use strict";var Uwr=rI();eI.exports=Uwr});var iI=c((Gse,tI)=>{"use strict";function Cwr(){return{binary:"byte",bool:"boolean",complex64:"single-precision floating-point complex number",complex128:"double-precision floating-point complex number",float16:"half-precision floating-point number",bfloat16:"brain floating-point number",float32:"single-precision floating-point number",float64:"double-precision floating-point number",float128:"quadruple-precision floating-point number",generic:"generic array value",int8:"signed 8-bit integer",int16:"signed 16-bit integer",int32:"signed 32-bit integer",int64:"signed 64-bit integer",int128:"signed 128-bit integer",int256:"signed 256-bit integer",uint8:"unsigned 8-bit integer",uint8c:"unsigned 8-bit integer (clamped)",uint16:"unsigned 16-bit integer",uint32:"unsigned 32-bit integer",uint64:"unsigned 64-bit integer",uint128:"unsigned 128-bit integer",uint256:"unsigned 256-bit integer"}}tI.exports=Cwr});var sI=c((Yse,nI)=>{"use strict";var Pwr=Ba(),oI=iI(),Af;function Lwr(r){return arguments.length===0?oI():(Af===void 0&&(Af=oI()),Af[Pwr(r)]||null)}nI.exports=Lwr});var vI=c(($se,uI)=>{"use strict";var Mwr=sI();uI.exports=Mwr});var lI=c((Wse,fI)=>{"use strict";var Gwr=wn(),Ywr=mo();function $wr(r){var e=typeof r;return e==="number"?Gwr(r)?r:null:e==="string"?Ywr(r):null}fI.exports=$wr});var _f=c((Jse,cI)=>{"use strict";var Wwr=lI();cI.exports=Wwr});var dI=c((Xse,Jwr)=>{Jwr.exports={binary:null,bool:"bool",complex64:"stdlib_complex64_t",complex128:"stdlib_complex128_t",float16:null,bfloat16:null,float32:"float",float64:"double",float128:null,generic:null,int8:"int8_t",int16:"int16_t",int32:"int32_t",int64:"int64_t",int128:null,int256:null,uint8:"uint8_t",uint8c:null,uint16:"uint16_t",uint32:"uint32_t",uint64:"uint64_t",uint128:null,uint256:null}});var yI=c((Kse,pI)=>{"use strict";var Xwr=Ba(),Kwr=dI();function Hwr(r){return Kwr[Xwr(r)]||null}pI.exports=Hwr});var hI=c((Hse,mI)=>{"use strict";var Zwr=yI();mI.exports=Zwr});var xI=c((Zse,bI)=>{"use strict";var Qwr=Ve(),gI=ge().isPrimitive,r3r=Ba(),Tf=pr();function e3r(r,e,a){var t,o,i,n,s,u,v,f;if(!Qwr(r))throw new TypeError(Tf("invalid argument. First argument must be an array-like object. Value: `%s`.",r));if(!gI(e))throw new TypeError(Tf("invalid argument. Second argument must be a nonnegative integer. Value: `%s`.",e));if(!gI(a))throw new TypeError(Tf("invalid argument. Third argument must be a nonnegative integer. Value: `%s`.",a));if(t=r.length,t===0)throw new RangeError("invalid argument. First argument must contain at least one element.");if(s=e+a,t%s!==0)throw new RangeError("invalid arguments. Length of the first argument is incompatible with the second and third arguments.");for(o=[],i=[],u=2*s,f=2*e,v=0;v<=u;v++)v===0?v===f?i.push("() => ("):i.push("("):v===u?v===f?i.push(") => ()"):i.push(")"):v===f?i.push(") => ("):v%2===1?i.push(""):i.push(", ");for(v=0;v<t;v++)n=r3r(r[v]),n===null&&(n=r[v]),f=v%s,i[2*f+1]=n,f===s-1&&o.push(i.join(""));return o}bI.exports=e3r});var jf=c((Qse,qI)=>{"use strict";var a3r=xI();qI.exports=a3r});var SI=c((rue,wI)=>{"use strict";var t3r=qt(),i3r=At(),o3r=Ki(),n3r=Xi(),s3r=Zi(),u3r=fi(),v3r=Ji(),f3r=va(),l3r=Hi(),c3r=so(),d3r=vo(),p3r=co(),y3r={float64:t3r,float32:i3r,generic:Array,int16:o3r,int32:n3r,int8:s3r,uint16:u3r,uint32:v3r,uint8:f3r,uint8c:l3r,complex64:c3r,complex128:d3r,bool:p3r};wI.exports=y3r});var AI=c((eue,EI)=>{"use strict";var m3r=SI();function h3r(r){return m3r[r]||null}EI.exports=h3r});var TI=c((aue,_I)=>{"use strict";var g3r=AI();_I.exports=g3r});var If=c((tue,jI)=>{"use strict";function b3r(){return{dtypes:{default:"float64",numeric:"float64",real:"float64",floating_point:"float64",real_floating_point:"float64",complex_floating_point:"complex128",boolean:"bool",integer:"int32",signed_integer:"int32",unsigned_integer:"uint32"}}}jI.exports=b3r});var OI=c((iue,II)=>{"use strict";var x3r=If(),Za=x3r(),q3r={"dtypes.default":Za.dtypes.default,"dtypes.numeric":Za.dtypes.numeric,"dtypes.real":Za.dtypes.real,"dtypes.floating_point":Za.dtypes.floating_point,"dtypes.real_floating_point":Za.dtypes.real_floating_point,"dtypes.complex_floating_point":Za.dtypes.complex_floating_point,"dtypes.boolean":Za.dtypes.boolean,"dtypes.integer":Za.dtypes.integer,"dtypes.signed_integer":Za.dtypes.signed_integer,"dtypes.unsigned_integer":Za.dtypes.unsigned_integer};function w3r(r){var e=q3r[r];return e===void 0?null:e}II.exports=w3r});var kI=c((oue,DI)=>{"use strict";var S3r=Ir(),NI=If(),E3r=OI();S3r(NI,"get",E3r);DI.exports=NI});var RI=c((nue,FI)=>{"use strict";var A3r=ge().isPrimitive,_3r=TI(),T3r=Se(),j3r=kI(),BI=pr(),I3r=j3r.get("dtypes.default");function O3r(r){var e,a;if(!A3r(r))throw new TypeError(BI("invalid argument. First argument must be a nonnegative integer. Value: `%s`.",r));if(arguments.length>1?e=arguments[1]:e=I3r,e==="generic")return T3r(r);if(a=_3r(e),a===null)throw new TypeError(BI("invalid argument. Second argument must be a recognized data type. Value: `%s`.",e));return new a(r)}FI.exports=O3r});var VI=c((sue,zI)=>{"use strict";var N3r=RI();zI.exports=N3r});var To=c((uue,CI)=>{"use strict";var UI=VI();function D3r(r){return arguments.length>1?UI(r,arguments[1]):UI(r)}CI.exports=D3r});var LI=c((vue,PI)=>{"use strict";var k3r=ze(),B3r=Ye(),F3r=aa(),R3r=Jr(),z3r=To(),V3r=_t();function U3r(r,e,a){var t,o,i,n;return t=e.length,t>0?(i=R3r(e),n=k3r(e,a)):(i=1,n=[0]),r==="binary"?o=V3r(i):o=z3r(i,r),new F3r(r,o,e,n,B3r(e,n),a)}PI.exports=U3r});var GI=c((fue,MI)=>{"use strict";var C3r=LI();MI.exports=C3r});var $I=c((lue,YI)=>{"use strict";var P3r=ze(),L3r=Ye(),M3r=Jr(),G3r=Xe(),Y3r=Te(),$3r=sa(),W3r=To(),J3r=_t();function X3r(r){var e,a,t,o,i,n,s;return s=G3r(r),i=Y3r(r,!0),o=$3r(r),e=i.length,e>0?(a=M3r(i),n=P3r(i,o)):(a=1,n=[0]),s==="binary"?t=J3r(a):t=W3r(a,s),new r.constructor(s,t,i,n,L3r(i,n),o)}YI.exports=X3r});var JI=c((cue,WI)=>{"use strict";var K3r=$I();WI.exports=K3r});var rO=c((due,QI)=>{"use strict";var H3r=Le(),XI=Xe(),Z3r=Te(),Q3r=ba(),KI=Ha(),r4r=sa(),HI=ft(),ZI=pr();function e4r(r,e){var a,t,o,i,n,s,u;if(i=Z3r(r,!1),n=Q3r(r,!1),o=r4r(r),s=i.length,a=[],t=[],e<0){if(e<-s-1)throw new RangeError(ZI("invalid argument. Specified axis is out-of-bounds. Must be on the interval: [-%u-1, %u]. Value: `%d`.",s,s,e));e+=s+1}else if(e>s)throw new RangeError(ZI("invalid argument. Specified axis is out-of-bounds. Must be on the interval: [-%u-1, %u]. Value: `%d`.",s,s,e));if(e===0)for(t.push(1),a.push(n[0]),u=0;u<s;u++)t.push(i[u]),a.push(n[u]);else if(e===s){for(u=0;u<s;u++)t.push(i[u]),a.push(n[u]);t.push(1),a.push(n[s-1])}else for(u=0;u<s+1;u++)u===e?(t.push(1),o==="row-major"?a.push(n[u-1]):a.push(n[u])):u<e?(t.push(i[u]),a.push(n[u])):(t.push(i[u-1]),a.push(n[u-1]));return H3r(r)?new r.constructor(XI(r),HI(r),t,a,KI(r),o,{readonly:!0}):new r.constructor(XI(r),HI(r),t,a,KI(r),o)}QI.exports=e4r});var aO=c((pue,eO)=>{"use strict";var a4r=rO();eO.exports=a4r});var iO=c((yue,tO)=>{"use strict";function t4r(r){return r===null}tO.exports=t4r});var wi=c((mue,oO)=>{"use strict";var i4r=iO();oO.exports=i4r});var sO=c((hue,nO)=>{"use strict";function o4r(r){return r===void 0}nO.exports=o4r});var Si=c((gue,uO)=>{"use strict";var n4r=sO();uO.exports=n4r});var fO=c((bue,vO)=>{"use strict";var Nf=Ir(),Df=bt(),s4r=fe().isPrimitive,u4r=wi(),v4r=Si(),Kn=pr();function Of(r){return s4r(r)||u4r(r)||v4r(r)}function lt(){var r,e,a,t;if(r=arguments.length,r===0?(e=null,a=null,t=null):r===1?(e=null,a=arguments[0],t=null):r===2?(e=arguments[0],a=arguments[1],t=null):(e=arguments[0],a=arguments[1],t=arguments[2]),!(this instanceof lt))return new lt(e,a,t);if(!Of(e))throw new TypeError(Kn("invalid argument. First argument must be an integer, null, or undefined. Value: `%s`.",e));if(!Of(a))throw new TypeError(Kn("invalid argument. Second argument must be an integer, null, or undefined. Value: `%s`.",a));if(Of(t)){if(t===0)throw new RangeError(Kn("invalid argument. Third argument cannot be zero. Value: `%s`.",t))}else throw new TypeError(Kn("invalid argument. Third argument must be an integer, null, or undefined. Value: `%s`.",t));return this._start=e===void 0?null:e,this._stop=a===void 0?null:a,this._step=t===void 0?null:t,this}Nf(lt,"name","Slice");Df(lt.prototype,"start",function(){return this._start});Df(lt.prototype,"stop",function(){return this._stop});Df(lt.prototype,"step",function(){return this._step});Nf(lt.prototype,"toString",function(){return"Slice("+this._start+","+this._stop+","+this.step+")"});Nf(lt.prototype,"toJSON",function(){return{type:"Slice",data:[this._start,this._stop,this._step]}});vO.exports=lt});var Ce=c((xue,lO)=>{"use strict";var f4r=fO();lO.exports=f4r});var dO=c((que,cO)=>{"use strict";var l4r=Ce(),c4r=gt();function d4r(r){return r instanceof l4r||c4r(r)==="Slice"}cO.exports=d4r});var kf=c((wue,pO)=>{"use strict";var p4r=dO();pO.exports=p4r});var hO=c((Sue,mO)=>{"use strict";var Bf=Ir(),yO=bt(),y4r=fe().isPrimitive,m4r=wi(),h4r=Si(),g4r=kf(),b4r=pr();function x4r(r){return y4r(r)||m4r(r)||h4r(r)||g4r(r)}function Ke(){var r,e,a,t,o;if(r=arguments.length,!(this instanceof Ke)){if(r===1)return new Ke(arguments[0]);if(r===2)return new Ke(arguments[0],arguments[1]);if(r===3)return new Ke(arguments[0],arguments[1],arguments[2]);if(r===4)return new Ke(arguments[0],arguments[1],arguments[2],arguments[3]);if(r===5)return new Ke(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4]);for(a=[],o=0;o<r;o++)a.push(arguments[o]);return e=Object.create(Ke.prototype),Ke.apply(e,a)}for(this._data=[],o=0;o<r;o++){if(t=arguments[o],!x4r(t))throw new TypeError(b4r("invalid argument. Provided arguments must be either a Slice, integer, null, or undefined. Argument: `%d`. Value: `%s`.",o,String(t)));this._data.push(t===void 0?null:t)}return this}Bf(Ke,"name","MultiSlice");yO(Ke.prototype,"ndims",function(){return this._data.length});yO(Ke.prototype,"data",function(){return this._data.slice()});Bf(Ke.prototype,"toString",function(){var e,a,t;for(e=this._data,a=[],t=0;t<e.length;t++)a.push(String(e[t]));return"MultiSlice("+a.join(",")+")"});Bf(Ke.prototype,"toJSON",function(){var e,a,t,o;for(e=this._data,a={type:"MultiSlice",data:[]},o=0;o<e.length;o++)t=e[o],a.data.push(t&&typeof t.toJSON=="function"?t.toJSON():t);return a});mO.exports=Ke});var Qa=c((Eue,gO)=>{"use strict";var q4r=hO();gO.exports=q4r});var xO=c((Aue,bO)=>{"use strict";var xa=Qa();function w4r(r){switch(r.length){case 0:return new xa;case 1:return new xa(r[0]);case 2:return new xa(r[0],r[1]);case 3:return new xa(r[0],r[1],r[2]);case 4:return new xa(r[0],r[1],r[2],r[3]);case 5:return new xa(r[0],r[1],r[2],r[3],r[4]);case 6:return new xa(r[0],r[1],r[2],r[3],r[4],r[5]);case 7:return new xa(r[0],r[1],r[2],r[3],r[4],r[5],r[6]);case 8:return new xa(r[0],r[1],r[2],r[3],r[4],r[5],r[6],r[7]);case 9:return new xa(r[0],r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8]);case 10:return new xa(r[0],r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9]);default:return xa.apply(null,r)}}bO.exports=w4r});var he=c((_ue,qO)=>{"use strict";var S4r=xO();qO.exports=S4r});var SO=c((Tue,wO)=>{"use strict";function E4r(){return{code:"ERR_SLICE_OUT_OF_BOUNDS"}}wO.exports=E4r});var AO=c((jue,EO)=>{"use strict";var A4r=Ce(),jo=SO();function _4r(r,e,a){var t,o,i;if(t=r.start,o=r.stop,i=r.step,i===null&&(i=1),t===null)i>0?t=0:t=e-1;else if(t<0){if(t=e+t,t<0){if(a)return jo();t=0}}else if(t>=e){if(a)return jo();i<0?t=e-1:t=e}if(o===null)i>0?o=e:o=null;else if(o<0){if(o=e+o,o<0)if(i>0){if(a)return jo();o=0}else{if(a&&o<-1)return jo();o=null}}else if(o>e){if(a)return jo();o=e}return new A4r(t,o,i)}EO.exports=_4r});var TO=c((Iue,_O)=>{"use strict";var T4r=AO();_O.exports=T4r});var IO=c((Oue,jO)=>{"use strict";function j4r(){return{code:"ERR_SLICE_OUT_OF_BOUNDS"}}jO.exports=j4r});var DO=c((Nue,NO)=>{"use strict";var Hn=Ce(),OO=IO();function I4r(r,e,a){return r>=e?a?OO():new Hn(e,e,1):r<0?(r=e+r,r<0?a?OO():new Hn(0,0,1):new Hn(r,r+1,1)):new Hn(r,r+1,1)}NO.exports=I4r});var BO=c((Due,kO)=>{"use strict";var O4r=DO();kO.exports=O4r});var RO=c((kue,FO)=>{"use strict";var N4r=he(),D4r=Ce(),k4r=TO(),B4r=BO();function F4r(r,e,a){return r===null?new D4r(0,e,1):typeof r=="number"?B4r(r,e,a):k4r(r,e,a)}function R4r(r,e,a){var t,o,i,n;for(t=r.data,o=[],n=0;n<t.length;n++){if(i=F4r(t[n],e[n],a),i.code!==void 0)return i;o.push(i)}return N4r(o)}FO.exports=R4r});var VO=c((Bue,zO)=>{"use strict";var z4r=RO();zO.exports=z4r});var CO=c((Fue,UO)=>{"use strict";function V4r(r){var e,a,t;for(e=r.data,a=[],t=0;t<e.length;t++)typeof e[t]!="number"&&a.push(t);return a}UO.exports=V4r});var LO=c((Rue,PO)=>{"use strict";var U4r=CO();PO.exports=U4r});var GO=c((zue,MO)=>{"use strict";var C4r=xf();function P4r(r){var e,a,t;return a=r.start,t=r.stop,e=r.step,t===null&&(t=-1),e>0&&a>=t||e<0&&a<=t?0:C4r((t-a)/e)}MO.exports=P4r});var $O=c((Vue,YO)=>{"use strict";var L4r=GO();YO.exports=L4r});var JO=c((Uue,WO)=>{"use strict";var M4r=$O();function G4r(r){var e,a,t;for(e=r.data,a=[],t=0;t<e.length;t++)a.push(M4r(e[t]));return a}WO.exports=G4r});var KO=c((Cue,XO)=>{"use strict";var Y4r=JO();XO.exports=Y4r});var ZO=c((Pue,HO)=>{"use strict";function $4r(r,e,a){var t,o,i;for(t=r.data,o=a,i=0;i<t.length;i++)o+=e[i]*t[i].start;return o}HO.exports=$4r});var r7=c((Lue,QO)=>{"use strict";function W4r(r,e,a){var t,o,i,n;for(t=r.data,o=[],i=0;i<a.length;i++)n=a[i],o.push(e[n]*t[n].step);return o}QO.exports=W4r});var a7=c((Mue,e7)=>{"use strict";var J4r=Fa(),X4r=Se();function K4r(r,e,a,t,o){var i,n;return n=a.length,n===0?i=[0]:i=X4r(n),new r(e,J4r(e,0),a,i,0,t,{readonly:o})}e7.exports=K4r});var u7=c((Gue,s7)=>{"use strict";var t7=VO(),H4r=LO(),i7=KO(),Ff=Kr(),Z4r=Se(),o7=Jr(),Q4r=Xe(),r6r=Te(),e6r=ba(),a6r=Ha(),t6r=sa(),Rf=ft(),n7=pr(),i6r=ZO(),o6r=r7(),n6r=a7();function s6r(r,e,a,t){var o,i,n,s,u,v,f,l,d,y;if(n=Q4r(r),s=r6r(r,!0),o=e6r(r,!0),i=a6r(r),u=t6r(r),f=s.length,e.ndims!==f)throw new RangeError(n7("invalid argument. Number of slice dimensions does not match the number of array dimensions. Array shape: (%s). Slice dimensions: %u.",s.join(","),e.ndims));if(l=r.constructor,f===0)return new l(n,Rf(r),s,o,i,u,{readonly:!t});if(v=H4r(e),y=t7(e,s,!0),y.code){if(a)throw new RangeError(n7("invalid argument. Slice exceeds array bounds. Array shape: (%s).",s.join(",")));y=t7(e,s,!1),d=i7(y),o7(Ff(d,v))>0&&(d=Z4r(d.length))}else d=i7(y);return o7(d)===0?n6r(l,n,Ff(d,v),u,!t):(i=i6r(y,o,i),d=Ff(d,v),d.length===0?new l(n,Rf(r),[],[0],i,u,{readonly:!t}):(o=o6r(y,o,v),new l(n,Rf(r),d,o,i,u,{readonly:!t})))}s7.exports=s6r});var ye=c((Yue,v7)=>{"use strict";var u6r=u7();v7.exports=u6r});var l7=c(($ue,f7)=>{"use strict";var v6r=bo();function f6r(r){return v6r(null,r)}f7.exports=f6r});var Ei=c((Wue,c7)=>{"use strict";var l6r=l7();c7.exports=l6r});var p7=c((Jue,d7)=>{"use strict";function c6r(r){var e=r.ndims;return typeof e=="number"?e:r.shape.length}d7.exports=c6r});var Ua=c((Xue,y7)=>{"use strict";var d6r=p7();y7.exports=d6r});var h7=c((Kue,m7)=>{"use strict";var p6r=he(),y6r=Ce(),m6r=ye(),h6r=Ei(),g6r=Ua(),zf=pr();function b6r(r,e,a){var t,o,i;if(o=g6r(r),o===0)throw new TypeError(zf("invalid argument. First argument must be an ndarray having one or more dimensions. Number of dimensions: %d.",o));if(i=e,i<0){if(i+=o,i<0)throw new RangeError(zf("invalid argument. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: `%d`.",o,e))}else if(i>=o)throw new RangeError(zf("invalid argument. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: `%d`.",o,e));return t=h6r(o),t[i]=new y6r(null,null,-1),m6r(r,p6r(t),!0,a)}m7.exports=b6r});var Zn=c((Hue,g7)=>{"use strict";var x6r=h7();g7.exports=x6r});var x7=c((Zue,b7)=>{"use strict";var q6r=Qa(),w6r=Zn(),S6r=ye(),E6r=Ua();function A6r(r,e){return E6r(r)===0?S6r(r,new q6r,!0,e):w6r(r,-1,e)}b7.exports=A6r});var w7=c((Que,q7)=>{"use strict";var _6r=x7();q7.exports=_6r});var _7=c((rve,A7)=>{"use strict";var S7=Qa(),T6r=Zn(),E7=ye(),j6r=Ua();function I6r(r,e){var a=j6r(r);return a===0?E7(r,new S7,!0,e):a===1?E7(r,new S7(null),!0,e):T6r(r,-2,e)}A7.exports=I6r});var j7=c((eve,T7)=>{"use strict";var O6r=_7();T7.exports=O6r});var O7=c((ave,I7)=>{"use strict";function N6r(r,e){var a,t,o,i,n,s,u,v,f,l;for(o=1,i=1,l=1;l<r.length;l++){for(u=r[o],a=u<0?-u:u,v=e[i],n=o-1,s=i-1;n>=0&&(f=r[n],t=f<0?-f:f,!(t<=a));)r[n+1]=f,e[s+1]=e[s],n-=1,s-=1;r[n+1]=u,e[s+1]=v,o+=1,i+=1}}I7.exports=N6r});var D7=c((tve,N7)=>{"use strict";var D6r=qe(),k6r=jt(),B6r=Kr(),F6r=O7();function R6r(r,e){var a;return a=D6r(r.length),e=k6r(e),F6r(e,a),r=B6r(r,a),{sh:r,sx:e,idx:a}}N7.exports=R6r});var Zr=c((ive,k7)=>{"use strict";var z6r=D7();k7.exports=z6r});var F7=c((ove,B7)=>{"use strict";var V6r={BLOCK_SIZE_IN_BYTES:64,BLOCK_SIZE_IN_ELEMENTS:8};B7.exports=V6r});var V7=c((nve,z7)=>{"use strict";var U6r=xt(),R7=F7();function C6r(r){var e=U6r(r);return e===null?R7.BLOCK_SIZE_IN_ELEMENTS:R7.BLOCK_SIZE_IN_BYTES/e|0}z7.exports=C6r});var Qr=c((sve,U7)=>{"use strict";var P6r=V7();U7.exports=P6r});var L7=c((uve,P7)=>{"use strict";var L6r=vt(),C7=ea();function M6r(r,e){return typeof r[e]=="function"}function G6r(r){var e,a,t,o,i;for(a=C7(r.length/2),t=r.length-1,o=0;o<a;o++)i=t-o,e=r[o],r[o]=r[i],r[i]=e;return r}function Y6r(r){var e,a,t,o,i,n,s,u;for(e=r.data,a=r.accessors[0],t=r.accessors[1],i=C7(e.length/2),n=e.length-1,s=0;s<i;s++)u=n-s,o=a(e,s),t(e,s,a(e,u)),t(e,u,o);return e}function $6r(r){var e;return M6r(r,"reverse")?r.reverse():(e=L6r(r),e.accessorProtocol?Y6r(e):G6r(r))}P7.exports=$6r});var re=c((vve,M7)=>{"use strict";var W6r=L7();M7.exports=W6r});var Y7=c((fve,G7)=>{"use strict";var J6r=Zr(),X6r=Qr(),K6r=Kr(),H6r=re();function Z6r(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w;for(w=J6r(r.shape,r.strides),f=w.sh,y=w.sx,v=H6r(w.idx),t=X6r(r.dtype),p=r.offset,o=r.data,n=y[0],i=r.accessors[0],S=f[1];S>0;)for(S<t?(d=S,S=0):(d=t,S-=t),u=p+S*y[1],b=f[0];b>0;)for(b<t?(l=b,b=0):(l=t,b-=t),m=u+b*y[0],s=y[1]-l*y[0],g=0;g<d;g++){for(h=0;h<l;h++)e.call(a,i(o,m),K6r([g,h],v),r.ref),m+=n;m+=s}}G7.exports=Z6r});var W7=c((lve,$7)=>{"use strict";var Q6r=Zr(),rSr=Qr(),eSr=Kr(),aSr=re();function tSr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q;for(q=Q6r(r.shape,r.strides),d=q.sh,h=q.sx,l=aSr(q.idx),t=rSr(r.dtype),g=r.offset,o=r.data,n=h[0],i=r.accessors[0],E=d[2];E>0;)for(E<t?(m=E,E=0):(m=t,E-=t),f=g+E*h[2],x=d[1];x>0;)for(x<t?(p=x,x=0):(p=t,x-=t),u=h[2]-p*h[1],v=f+x*h[1],_=d[0];_>0;)for(_<t?(y=_,_=0):(y=t,_-=t),b=v+_*h[0],s=h[1]-y*h[0],A=0;A<m;A++){for(w=0;w<p;w++){for(S=0;S<y;S++)e.call(a,i(o,b),eSr([A,w,S],l),r.ref),b+=n;b+=s}b+=u}}$7.exports=tSr});var X7=c((cve,J7)=>{"use strict";var iSr=Zr(),oSr=Qr(),nSr=Kr(),sSr=re();function uSr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D;for(D=iSr(r.shape,r.strides),p=D.sh,S=D.sx,y=sSr(D.idx),t=oSr(r.dtype),w=r.offset,o=r.data,n=S[0],i=r.accessors[0],I=p[3];I>0;)for(I<t?(b=I,I=0):(b=t,I-=t),d=w+I*S[3],O=p[2];O>0;)for(O<t?(g=O,O=0):(g=t,O-=t),v=S[3]-g*S[2],l=d+O*S[2],j=p[1];j>0;)for(j<t?(h=j,j=0):(h=t,j-=t),u=S[2]-h*S[1],f=l+j*S[1],T=p[0];T>0;)for(T<t?(m=T,T=0):(m=t,T-=t),A=f+T*S[0],s=S[1]-m*S[0],q=0;q<b;q++){for(E=0;E<g;E++){for(x=0;x<h;x++){for(_=0;_<m;_++)e.call(a,i(o,A),nSr([q,E,x,_],y),r.ref),A+=n;A+=s}A+=u}A+=v}}J7.exports=uSr});var H7=c((dve,K7)=>{"use strict";var vSr=Zr(),fSr=Qr(),lSr=Kr(),cSr=re();function dSr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B;for(B=vSr(r.shape,r.strides),h=B.sh,_=B.sx,m=cSr(B.idx),t=fSr(r.dtype),x=r.offset,o=r.data,n=_[0],i=r.accessors[0],R=h[4];R>0;)for(R<t?(A=R,R=0):(A=t,R-=t),p=x+R*_[4],F=h[3];F>0;)for(F<t?(w=F,F=0):(w=t,F-=t),f=_[4]-w*_[3],y=p+F*_[3],N=h[2];N>0;)for(N<t?(S=N,N=0):(S=t,N-=t),v=_[3]-S*_[2],d=y+N*_[2],k=h[1];k>0;)for(k<t?(b=k,k=0):(b=t,k-=t),u=_[2]-b*_[1],l=d+k*_[1],D=h[0];D>0;)for(D<t?(g=D,D=0):(g=t,D-=t),E=l+D*_[0],s=_[1]-g*_[0],I=0;I<A;I++){for(O=0;O<w;O++){for(j=0;j<S;j++){for(T=0;T<b;T++){for(q=0;q<g;q++)e.call(a,i(o,E),lSr([I,O,j,T,q],m),r.ref),E+=n;E+=s}E+=u}E+=v}E+=f}}K7.exports=dSr});var Q7=c((pve,Z7)=>{"use strict";var pSr=Zr(),ySr=Qr(),mSr=Kr(),hSr=re();function gSr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P;for(P=pSr(r.shape,r.strides),b=P.sh,q=P.sx,g=hSr(P.idx),t=ySr(r.dtype),T=r.offset,o=r.data,n=q[0],i=r.accessors[0],C=b[5];C>0;)for(C<t?(E=C,C=0):(E=t,C-=t),h=T+C*q[5],U=b[4];U>0;)for(U<t?(x=U,U=0):(x=t,U-=t),l=q[5]-x*q[4],m=h+U*q[4],V=b[3];V>0;)for(V<t?(_=V,V=0):(_=t,V-=t),f=q[4]-_*q[3],p=m+V*q[3],z=b[2];z>0;)for(z<t?(A=z,z=0):(A=t,z-=t),v=q[3]-A*q[2],y=p+z*q[2],B=b[1];B>0;)for(B<t?(w=B,B=0):(w=t,B-=t),u=q[2]-w*q[1],d=y+B*q[1],R=b[0];R>0;)for(R<t?(S=R,R=0):(S=t,R-=t),j=d+R*q[0],s=q[1]-S*q[0],F=0;F<E;F++){for(N=0;N<x;N++){for(k=0;k<_;k++){for(D=0;D<A;D++){for(I=0;I<w;I++){for(O=0;O<S;O++)e.call(a,i(o,j),mSr([F,N,k,D,I,O],g),r.ref),j+=n;j+=s}j+=u}j+=v}j+=f}j+=l}}Z7.exports=gSr});var eN=c((yve,rN)=>{"use strict";var bSr=Zr(),xSr=Qr(),qSr=Kr(),wSr=re();function SSr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y;for(Y=bSr(r.shape,r.strides),w=Y.sh,O=Y.sx,S=wSr(Y.idx),t=xSr(r.dtype),I=r.offset,o=r.data,n=O[0],i=r.accessors[0],$=w[6];$>0;)for($<t?(j=$,$=0):(j=t,$-=t),b=I+$*O[6],G=w[5];G>0;)for(G<t?(T=G,G=0):(T=t,G-=t),d=O[6]-T*O[5],g=b+G*O[5],M=w[4];M>0;)for(M<t?(q=M,M=0):(q=t,M-=t),l=O[5]-q*O[4],h=g+M*O[4],L=w[3];L>0;)for(L<t?(E=L,L=0):(E=t,L-=t),f=O[4]-E*O[3],m=h+L*O[3],P=w[2];P>0;)for(P<t?(x=P,P=0):(x=t,P-=t),v=O[3]-x*O[2],p=m+P*O[2],C=w[1];C>0;)for(C<t?(_=C,C=0):(_=t,C-=t),u=O[2]-_*O[1],y=p+C*O[1],U=w[0];U>0;)for(U<t?(A=U,U=0):(A=t,U-=t),D=y+U*O[0],s=O[1]-A*O[0],V=0;V<j;V++){for(z=0;z<T;z++){for(B=0;B<q;B++){for(R=0;R<E;R++){for(F=0;F<x;F++){for(N=0;N<_;N++){for(k=0;k<A;k++)e.call(a,i(o,D),qSr([V,z,B,R,F,N,k],S),r.ref),D+=n;D+=s}D+=u}D+=v}D+=f}D+=l}D+=d}}rN.exports=SSr});var tN=c((mve,aN)=>{"use strict";var ESr=Zr(),ASr=Qr(),_Sr=Kr(),TSr=re();function jSr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H;for(H=ESr(r.shape,r.strides),_=H.sh,k=H.sx,A=TSr(H.idx),t=ASr(r.dtype),N=r.offset,o=r.data,n=k[0],i=r.accessors[0],K=_[7];K>0;)for(K<t?(D=K,K=0):(D=t,K-=t),w=N+K*k[7],X=_[6];X>0;)for(X<t?(I=X,X=0):(I=t,X-=t),y=k[7]-I*k[6],S=w+X*k[6],J=_[5];J>0;)for(J<t?(O=J,J=0):(O=t,J-=t),d=k[6]-O*k[5],b=S+J*k[5],W=_[4];W>0;)for(W<t?(j=W,W=0):(j=t,W-=t),l=k[5]-j*k[4],g=b+W*k[4],Y=_[3];Y>0;)for(Y<t?(T=Y,Y=0):(T=t,Y-=t),f=k[4]-T*k[3],h=g+Y*k[3],$=_[2];$>0;)for($<t?(q=$,$=0):(q=t,$-=t),v=k[3]-q*k[2],m=h+$*k[2],G=_[1];G>0;)for(G<t?(E=G,G=0):(E=t,G-=t),u=k[2]-E*k[1],p=m+G*k[1],M=_[0];M>0;)for(M<t?(x=M,M=0):(x=t,M-=t),F=p+M*k[0],s=k[1]-x*k[0],L=0;L<D;L++){for(P=0;P<I;P++){for(C=0;C<O;C++){for(U=0;U<j;U++){for(V=0;V<T;V++){for(z=0;z<q;z++){for(B=0;B<E;B++){for(R=0;R<x;R++)e.call(a,i(o,F),_Sr([L,P,C,U,V,z,B,R],A),r.ref),F+=n;F+=s}F+=u}F+=v}F+=f}F+=l}F+=d}F+=y}}aN.exports=jSr});var oN=c((hve,iN)=>{"use strict";var ISr=Zr(),OSr=Qr(),NSr=Kr(),DSr=re();function kSr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er;for(er=ISr(r.shape,r.strides),E=er.sh,R=er.sx,x=DSr(er.idx),t=OSr(r.dtype),B=r.offset,o=r.data,n=R[0],i=r.accessors[0],ar=E[8];ar>0;)for(ar<t?(F=ar,ar=0):(F=t,ar-=t),_=B+ar*R[8],rr=E[7];rr>0;)for(rr<t?(N=rr,rr=0):(N=t,rr-=t),p=R[8]-N*R[7],A=_+rr*R[7],Z=E[6];Z>0;)for(Z<t?(k=Z,Z=0):(k=t,Z-=t),y=R[7]-k*R[6],w=A+Z*R[6],Q=E[5];Q>0;)for(Q<t?(D=Q,Q=0):(D=t,Q-=t),d=R[6]-D*R[5],S=w+Q*R[5],H=E[4];H>0;)for(H<t?(I=H,H=0):(I=t,H-=t),l=R[5]-I*R[4],b=S+H*R[4],K=E[3];K>0;)for(K<t?(O=K,K=0):(O=t,K-=t),f=R[4]-O*R[3],g=b+K*R[3],X=E[2];X>0;)for(X<t?(j=X,X=0):(j=t,X-=t),v=R[3]-j*R[2],h=g+X*R[2],J=E[1];J>0;)for(J<t?(T=J,J=0):(T=t,J-=t),u=R[2]-T*R[1],m=h+J*R[1],W=E[0];W>0;)for(W<t?(q=W,W=0):(q=t,W-=t),z=m+W*R[0],s=R[1]-q*R[0],Y=0;Y<F;Y++){for($=0;$<N;$++){for(G=0;G<k;G++){for(M=0;M<D;M++){for(L=0;L<I;L++){for(P=0;P<O;P++){for(C=0;C<j;C++){for(U=0;U<T;U++){for(V=0;V<q;V++)e.call(a,i(o,z),NSr([Y,$,G,M,L,P,C,U,V],x),r.ref),z+=n;z+=s}z+=u}z+=v}z+=f}z+=l}z+=d}z+=y}z+=p}}iN.exports=kSr});var sN=c((gve,nN)=>{"use strict";var BSr=Zr(),FSr=Qr(),RSr=Kr(),zSr=re();function VSr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr;for(sr=BSr(r.shape,r.strides),T=sr.sh,V=sr.sx,q=zSr(sr.idx),t=FSr(r.dtype),U=r.offset,o=r.data,n=V[0],i=r.accessors[0],nr=T[9];nr>0;)for(nr<t?(z=nr,nr=0):(z=t,nr-=t),E=U+nr*V[9],or=T[8];or>0;)for(or<t?(B=or,or=0):(B=t,or-=t),m=V[9]-B*V[8],x=E+or*V[8],tr=T[7];tr>0;)for(tr<t?(R=tr,tr=0):(R=t,tr-=t),p=V[8]-R*V[7],_=x+tr*V[7],ir=T[6];ir>0;)for(ir<t?(F=ir,ir=0):(F=t,ir-=t),y=V[7]-F*V[6],A=_+ir*V[6],er=T[5];er>0;)for(er<t?(N=er,er=0):(N=t,er-=t),d=V[6]-N*V[5],w=A+er*V[5],ar=T[4];ar>0;)for(ar<t?(k=ar,ar=0):(k=t,ar-=t),l=V[5]-k*V[4],S=w+ar*V[4],rr=T[3];rr>0;)for(rr<t?(D=rr,rr=0):(D=t,rr-=t),f=V[4]-D*V[3],b=S+rr*V[3],Z=T[2];Z>0;)for(Z<t?(I=Z,Z=0):(I=t,Z-=t),v=V[3]-I*V[2],g=b+Z*V[2],Q=T[1];Q>0;)for(Q<t?(O=Q,Q=0):(O=t,Q-=t),u=V[2]-O*V[1],h=g+Q*V[1],H=T[0];H>0;)for(H<t?(j=H,H=0):(j=t,H-=t),C=h+H*V[0],s=V[1]-j*V[0],K=0;K<z;K++){for(X=0;X<B;X++){for(J=0;J<R;J++){for(W=0;W<F;W++){for(Y=0;Y<N;Y++){for($=0;$<k;$++){for(G=0;G<D;G++){for(M=0;M<I;M++){for(L=0;L<O;L++){for(P=0;P<j;P++)e.call(a,i(o,C),RSr([K,X,J,W,Y,$,G,M,L,P],q),r.ref),C+=n;C+=s}C+=u}C+=v}C+=f}C+=l}C+=d}C+=y}C+=p}C+=m}}nN.exports=VSr});var vN=c((bve,uN)=>{"use strict";var USr=Zr(),CSr=Qr(),PSr=Kr(),LSr=re();function MSr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S;for(S=USr(r.shape,r.strides),v=S.sh,d=S.sx,u=LSr(S.idx),t=CSr(r.dtype),y=r.offset,o=r.data,i=d[0],b=v[1];b>0;)for(b<t?(l=b,b=0):(l=t,b-=t),s=y+b*d[1],g=v[0];g>0;)for(g<t?(f=g,g=0):(f=t,g-=t),p=s+g*d[0],n=d[1]-f*d[0],h=0;h<l;h++){for(m=0;m<f;m++)e.call(a,o[p],PSr([h,m],u),r.ref),p+=i;p+=n}}uN.exports=MSr});var lN=c((xve,fN)=>{"use strict";var GSr=Zr(),YSr=Qr(),$Sr=Kr(),WSr=re();function JSr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E;for(E=GSr(r.shape,r.strides),l=E.sh,m=E.sx,f=WSr(E.idx),t=YSr(r.dtype),h=r.offset,o=r.data,i=m[0],x=l[2];x>0;)for(x<t?(p=x,x=0):(p=t,x-=t),v=h+x*m[2],_=l[1];_>0;)for(_<t?(y=_,_=0):(y=t,_-=t),s=m[2]-y*m[1],u=v+_*m[1],A=l[0];A>0;)for(A<t?(d=A,A=0):(d=t,A-=t),g=u+A*m[0],n=m[1]-d*m[0],w=0;w<p;w++){for(S=0;S<y;S++){for(b=0;b<d;b++)e.call(a,o[g],$Sr([w,S,b],f),r.ref),g+=i;g+=n}g+=s}}fN.exports=JSr});var dN=c((qve,cN)=>{"use strict";var XSr=Zr(),KSr=Qr(),HSr=Kr(),ZSr=re();function QSr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I;for(I=XSr(r.shape,r.strides),y=I.sh,b=I.sx,d=ZSr(I.idx),t=KSr(r.dtype),S=r.offset,o=r.data,i=b[0],O=y[3];O>0;)for(O<t?(g=O,O=0):(g=t,O-=t),l=S+O*b[3],j=y[2];j>0;)for(j<t?(h=j,j=0):(h=t,j-=t),u=b[3]-h*b[2],f=l+j*b[2],T=y[1];T>0;)for(T<t?(m=T,T=0):(m=t,T-=t),s=b[2]-m*b[1],v=f+T*b[1],q=y[0];q>0;)for(q<t?(p=q,q=0):(p=t,q-=t),w=v+q*b[0],n=b[1]-p*b[0],E=0;E<g;E++){for(x=0;x<h;x++){for(_=0;_<m;_++){for(A=0;A<p;A++)e.call(a,o[w],HSr([E,x,_,A],d),r.ref),w+=i;w+=n}w+=s}w+=u}}cN.exports=QSr});var yN=c((wve,pN)=>{"use strict";var rEr=Zr(),eEr=Qr(),aEr=Kr(),tEr=re();function iEr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R;for(R=rEr(r.shape,r.strides),m=R.sh,A=R.sx,p=tEr(R.idx),t=eEr(r.dtype),_=r.offset,o=r.data,i=A[0],F=m[4];F>0;)for(F<t?(w=F,F=0):(w=t,F-=t),y=_+F*A[4],N=m[3];N>0;)for(N<t?(S=N,N=0):(S=t,N-=t),v=A[4]-S*A[3],d=y+N*A[3],k=m[2];k>0;)for(k<t?(b=k,k=0):(b=t,k-=t),u=A[3]-b*A[2],l=d+k*A[2],D=m[1];D>0;)for(D<t?(g=D,D=0):(g=t,D-=t),s=A[2]-g*A[1],f=l+D*A[1],I=m[0];I>0;)for(I<t?(h=I,I=0):(h=t,I-=t),x=f+I*A[0],n=A[1]-h*A[0],O=0;O<w;O++){for(j=0;j<S;j++){for(T=0;T<b;T++){for(q=0;q<g;q++){for(E=0;E<h;E++)e.call(a,o[x],aEr([O,j,T,q,E],p),r.ref),x+=i;x+=n}x+=s}x+=u}x+=v}}pN.exports=iEr});var hN=c((Sve,mN)=>{"use strict";var oEr=Zr(),nEr=Qr(),sEr=Kr(),uEr=re();function vEr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C;for(C=oEr(r.shape,r.strides),g=C.sh,E=C.sx,h=uEr(C.idx),t=nEr(r.dtype),q=r.offset,o=r.data,i=E[0],U=g[5];U>0;)for(U<t?(x=U,U=0):(x=t,U-=t),m=q+U*E[5],V=g[4];V>0;)for(V<t?(_=V,V=0):(_=t,V-=t),f=E[5]-_*E[4],p=m+V*E[4],z=g[3];z>0;)for(z<t?(A=z,z=0):(A=t,z-=t),v=E[4]-A*E[3],y=p+z*E[3],B=g[2];B>0;)for(B<t?(w=B,B=0):(w=t,B-=t),u=E[3]-w*E[2],d=y+B*E[2],R=g[1];R>0;)for(R<t?(S=R,R=0):(S=t,R-=t),s=E[2]-S*E[1],l=d+R*E[1],F=g[0];F>0;)for(F<t?(b=F,F=0):(b=t,F-=t),T=l+F*E[0],n=E[1]-b*E[0],N=0;N<x;N++){for(k=0;k<_;k++){for(D=0;D<A;D++){for(I=0;I<w;I++){for(O=0;O<S;O++){for(j=0;j<b;j++)e.call(a,o[T],sEr([N,k,D,I,O,j],h),r.ref),T+=i;T+=n}T+=s}T+=u}T+=v}T+=f}}mN.exports=vEr});var bN=c((Eve,gN)=>{"use strict";var fEr=Zr(),lEr=Qr(),cEr=Kr(),dEr=re();function pEr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$;for($=fEr(r.shape,r.strides),S=$.sh,j=$.sx,b=dEr($.idx),t=lEr(r.dtype),O=r.offset,o=r.data,i=j[0],G=S[6];G>0;)for(G<t?(T=G,G=0):(T=t,G-=t),g=O+G*j[6],M=S[5];M>0;)for(M<t?(q=M,M=0):(q=t,M-=t),l=j[6]-q*j[5],h=g+M*j[5],L=S[4];L>0;)for(L<t?(E=L,L=0):(E=t,L-=t),f=j[5]-E*j[4],m=h+L*j[4],P=S[3];P>0;)for(P<t?(x=P,P=0):(x=t,P-=t),v=j[4]-x*j[3],p=m+P*j[3],C=S[2];C>0;)for(C<t?(_=C,C=0):(_=t,C-=t),u=j[3]-_*j[2],y=p+C*j[2],U=S[1];U>0;)for(U<t?(A=U,U=0):(A=t,U-=t),s=j[2]-A*j[1],d=y+U*j[1],V=S[0];V>0;)for(V<t?(w=V,V=0):(w=t,V-=t),I=d+V*j[0],n=j[1]-w*j[0],z=0;z<T;z++){for(B=0;B<q;B++){for(R=0;R<E;R++){for(F=0;F<x;F++){for(N=0;N<_;N++){for(k=0;k<A;k++){for(D=0;D<w;D++)e.call(a,o[I],cEr([z,B,R,F,N,k,D],b),r.ref),I+=i;I+=n}I+=s}I+=u}I+=v}I+=f}I+=l}}gN.exports=pEr});var qN=c((Ave,xN)=>{"use strict";var yEr=Zr(),mEr=Qr(),hEr=Kr(),gEr=re();function bEr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K;for(K=yEr(r.shape,r.strides),A=K.sh,D=K.sx,w=gEr(K.idx),t=mEr(r.dtype),k=r.offset,o=r.data,i=D[0],X=A[7];X>0;)for(X<t?(I=X,X=0):(I=t,X-=t),S=k+X*D[7],J=A[6];J>0;)for(J<t?(O=J,J=0):(O=t,J-=t),d=D[7]-O*D[6],b=S+J*D[6],W=A[5];W>0;)for(W<t?(j=W,W=0):(j=t,W-=t),l=D[6]-j*D[5],g=b+W*D[5],Y=A[4];Y>0;)for(Y<t?(T=Y,Y=0):(T=t,Y-=t),f=D[5]-T*D[4],h=g+Y*D[4],$=A[3];$>0;)for($<t?(q=$,$=0):(q=t,$-=t),v=D[4]-q*D[3],m=h+$*D[3],G=A[2];G>0;)for(G<t?(E=G,G=0):(E=t,G-=t),u=D[3]-E*D[2],p=m+G*D[2],M=A[1];M>0;)for(M<t?(x=M,M=0):(x=t,M-=t),s=D[2]-x*D[1],y=p+M*D[1],L=A[0];L>0;)for(L<t?(_=L,L=0):(_=t,L-=t),N=y+L*D[0],n=D[1]-_*D[0],P=0;P<I;P++){for(C=0;C<O;C++){for(U=0;U<j;U++){for(V=0;V<T;V++){for(z=0;z<q;z++){for(B=0;B<E;B++){for(R=0;R<x;R++){for(F=0;F<_;F++)e.call(a,o[N],hEr([P,C,U,V,z,B,R,F],w),r.ref),N+=i;N+=n}N+=s}N+=u}N+=v}N+=f}N+=l}N+=d}}xN.exports=bEr});var SN=c((_ve,wN)=>{"use strict";var xEr=Zr(),qEr=Qr(),wEr=Kr(),SEr=re();function EEr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar;for(ar=xEr(r.shape,r.strides),x=ar.sh,F=ar.sx,_=SEr(ar.idx),t=qEr(r.dtype),R=r.offset,o=r.data,i=F[0],rr=x[8];rr>0;)for(rr<t?(N=rr,rr=0):(N=t,rr-=t),A=R+rr*F[8],Z=x[7];Z>0;)for(Z<t?(k=Z,Z=0):(k=t,Z-=t),y=F[8]-k*F[7],w=A+Z*F[7],Q=x[6];Q>0;)for(Q<t?(D=Q,Q=0):(D=t,Q-=t),d=F[7]-D*F[6],S=w+Q*F[6],H=x[5];H>0;)for(H<t?(I=H,H=0):(I=t,H-=t),l=F[6]-I*F[5],b=S+H*F[5],K=x[4];K>0;)for(K<t?(O=K,K=0):(O=t,K-=t),f=F[5]-O*F[4],g=b+K*F[4],X=x[3];X>0;)for(X<t?(j=X,X=0):(j=t,X-=t),v=F[4]-j*F[3],h=g+X*F[3],J=x[2];J>0;)for(J<t?(T=J,J=0):(T=t,J-=t),u=F[3]-T*F[2],m=h+J*F[2],W=x[1];W>0;)for(W<t?(q=W,W=0):(q=t,W-=t),s=F[2]-q*F[1],p=m+W*F[1],Y=x[0];Y>0;)for(Y<t?(E=Y,Y=0):(E=t,Y-=t),B=p+Y*F[0],n=F[1]-E*F[0],$=0;$<N;$++){for(G=0;G<k;G++){for(M=0;M<D;M++){for(L=0;L<I;L++){for(P=0;P<O;P++){for(C=0;C<j;C++){for(U=0;U<T;U++){for(V=0;V<q;V++){for(z=0;z<E;z++)e.call(a,o[B],wEr([$,G,M,L,P,C,U,V,z],_),r.ref),B+=i;B+=n}B+=s}B+=u}B+=v}B+=f}B+=l}B+=d}B+=y}}wN.exports=EEr});var AN=c((Tve,EN)=>{"use strict";var AEr=Zr(),_Er=Qr(),TEr=Kr(),jEr=re();function IEr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr;for(nr=AEr(r.shape,r.strides),q=nr.sh,z=nr.sx,E=jEr(nr.idx),t=_Er(r.dtype),V=r.offset,o=r.data,i=z[0],or=q[9];or>0;)for(or<t?(B=or,or=0):(B=t,or-=t),x=V+or*z[9],tr=q[8];tr>0;)for(tr<t?(R=tr,tr=0):(R=t,tr-=t),p=z[9]-R*z[8],_=x+tr*z[8],ir=q[7];ir>0;)for(ir<t?(F=ir,ir=0):(F=t,ir-=t),y=z[8]-F*z[7],A=_+ir*z[7],er=q[6];er>0;)for(er<t?(N=er,er=0):(N=t,er-=t),d=z[7]-N*z[6],w=A+er*z[6],ar=q[5];ar>0;)for(ar<t?(k=ar,ar=0):(k=t,ar-=t),l=z[6]-k*z[5],S=w+ar*z[5],rr=q[4];rr>0;)for(rr<t?(D=rr,rr=0):(D=t,rr-=t),f=z[5]-D*z[4],b=S+rr*z[4],Z=q[3];Z>0;)for(Z<t?(I=Z,Z=0):(I=t,Z-=t),v=z[4]-I*z[3],g=b+Z*z[3],Q=q[2];Q>0;)for(Q<t?(O=Q,Q=0):(O=t,Q-=t),u=z[3]-O*z[2],h=g+Q*z[2],H=q[1];H>0;)for(H<t?(j=H,H=0):(j=t,H-=t),s=z[2]-j*z[1],m=h+H*z[1],K=q[0];K>0;)for(K<t?(T=K,K=0):(T=t,K-=t),U=m+K*z[0],n=z[1]-T*z[0],X=0;X<B;X++){for(J=0;J<R;J++){for(W=0;W<F;W++){for(Y=0;Y<N;Y++){for($=0;$<k;$++){for(G=0;G<D;G++){for(M=0;M<I;M++){for(L=0;L<O;L++){for(P=0;P<j;P++){for(C=0;C<T;C++)e.call(a,o[U],TEr([X,J,W,Y,$,G,M,L,P,C],E),r.ref),U+=i;U+=n}U+=s}U+=u}U+=v}U+=f}U+=l}U+=d}U+=y}U+=p}}EN.exports=IEr});var TN=c((jve,_N)=>{"use strict";function OEr(r,e,a){e.call(a,r.accessors[0](r.data,r.offset),[],r.ref)}_N.exports=OEr});var IN=c((Ive,jN)=>{"use strict";function NEr(r,e,a){var t,o,i,n,s,u;for(n=r.shape[0],i=r.strides[0],s=r.offset,t=r.data,o=r.accessors[0],u=0;u<n;u++)e.call(a,o(t,s),[u],r.ref),s+=i}jN.exports=NEr});var NN=c((Ove,ON)=>{"use strict";var DEr=qe(),kEr=re(),BEr=Kr();function FEr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p;for(u=r.shape,l=r.strides,s=DEr(u.length),r.order==="row-major"?(v=u[1],f=u[0],i=l[1],n=l[0]-v*l[1]):(v=u[0],f=u[1],i=l[0],n=l[1]-v*l[0],s=kEr(s)),d=r.offset,t=r.data,o=r.accessors[0],p=0;p<f;p++){for(y=0;y<v;y++)e.call(a,o(t,d),BEr([p,y],s),r.ref),d+=i;d+=n}}ON.exports=FEr});var kN=c((Nve,DN)=>{"use strict";var REr=qe(),zEr=re(),VEr=Kr();function UEr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g;for(v=r.shape,y=r.strides,u=REr(v.length),r.order==="row-major"?(f=v[2],l=v[1],d=v[0],i=y[2],n=y[1]-f*y[2],s=y[0]-l*y[1]):(f=v[0],l=v[1],d=v[2],i=y[0],n=y[1]-f*y[0],s=y[2]-l*y[1],u=zEr(u)),p=r.offset,t=r.data,o=r.accessors[0],g=0;g<d;g++){for(h=0;h<l;h++){for(m=0;m<f;m++)e.call(a,o(t,p),VEr([g,h,m],u),r.ref),p+=i;p+=n}p+=s}}DN.exports=UEr});var FN=c((Dve,BN)=>{"use strict";var CEr=qe(),PEr=re(),LEr=Kr();function MEr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w;for(f=r.shape,m=r.strides,v=CEr(f.length),r.order==="row-major"?(l=f[3],d=f[2],y=f[1],p=f[0],i=m[3],n=m[2]-l*m[3],s=m[1]-d*m[2],u=m[0]-y*m[1]):(l=f[0],d=f[1],y=f[2],p=f[3],i=m[0],n=m[1]-l*m[0],s=m[2]-d*m[1],u=m[3]-y*m[2],v=PEr(v)),h=r.offset,t=r.data,o=r.accessors[0],w=0;w<p;w++){for(S=0;S<y;S++){for(b=0;b<d;b++){for(g=0;g<l;g++)e.call(a,o(t,h),LEr([w,S,b,g],v),r.ref),h+=i;h+=n}h+=s}h+=u}}BN.exports=MEr});var zN=c((kve,RN)=>{"use strict";var GEr=qe(),YEr=re(),$Er=Kr();function WEr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x;for(l=r.shape,g=r.strides,f=GEr(l.length),r.order==="row-major"?(d=l[4],y=l[3],p=l[2],m=l[1],h=l[0],i=g[4],n=g[3]-d*g[4],s=g[2]-y*g[3],u=g[1]-p*g[2],v=g[0]-m*g[1]):(d=l[0],y=l[1],p=l[2],m=l[3],h=l[4],i=g[0],n=g[1]-d*g[0],s=g[2]-y*g[1],u=g[3]-p*g[2],v=g[4]-m*g[3],f=YEr(f)),b=r.offset,t=r.data,o=r.accessors[0],x=0;x<h;x++){for(_=0;_<m;_++){for(A=0;A<p;A++){for(w=0;w<y;w++){for(S=0;S<d;S++)e.call(a,o(t,b),$Er([x,_,A,w,S],f),r.ref),b+=i;b+=n}b+=s}b+=u}b+=v}}RN.exports=WEr});var UN=c((Bve,VN)=>{"use strict";var JEr=qe(),XEr=re(),KEr=Kr();function HEr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T;for(d=r.shape,S=r.strides,l=JEr(d.length),r.order==="row-major"?(y=d[5],p=d[4],m=d[3],h=d[2],g=d[1],b=d[0],i=S[5],n=S[4]-y*S[5],s=S[3]-p*S[4],u=S[2]-m*S[3],v=S[1]-h*S[2],f=S[0]-g*S[1]):(y=d[0],p=d[1],m=d[2],h=d[3],g=d[4],b=d[5],i=S[0],n=S[1]-y*S[0],s=S[2]-p*S[1],u=S[3]-m*S[2],v=S[4]-h*S[3],f=S[5]-g*S[4],l=XEr(l)),w=r.offset,t=r.data,o=r.accessors[0],T=0;T<b;T++){for(q=0;q<g;q++){for(E=0;E<h;E++){for(x=0;x<m;x++){for(_=0;_<p;_++){for(A=0;A<y;A++)e.call(a,o(t,w),KEr([T,q,E,x,_,A],l),r.ref),w+=i;w+=n}w+=s}w+=u}w+=v}w+=f}}VN.exports=HEr});var PN=c((Fve,CN)=>{"use strict";var ZEr=qe(),QEr=re(),rAr=Kr();function eAr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I;for(y=r.shape,A=r.strides,d=ZEr(y.length),r.order==="row-major"?(p=y[6],m=y[5],h=y[4],g=y[3],b=y[2],S=y[1],w=y[0],i=A[6],n=A[5]-p*A[6],s=A[4]-m*A[5],u=A[3]-h*A[4],v=A[2]-g*A[3],f=A[1]-b*A[2],l=A[0]-S*A[1]):(p=y[0],m=y[1],h=y[2],g=y[3],b=y[4],S=y[5],w=y[6],i=A[0],n=A[1]-p*A[0],s=A[2]-m*A[1],u=A[3]-h*A[2],v=A[4]-g*A[3],f=A[5]-b*A[4],l=A[6]-S*A[5],d=QEr(d)),_=r.offset,t=r.data,o=r.accessors[0],I=0;I<w;I++){for(O=0;O<S;O++){for(j=0;j<b;j++){for(T=0;T<g;T++){for(q=0;q<h;q++){for(E=0;E<m;E++){for(x=0;x<p;x++)e.call(a,o(t,_),rAr([I,O,j,T,q,E,x],d),r.ref),_+=i;_+=n}_+=s}_+=u}_+=v}_+=f}_+=l}}CN.exports=eAr});var MN=c((Rve,LN)=>{"use strict";var aAr=qe(),tAr=re(),iAr=Kr();function oAr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N;for(p=r.shape,x=r.strides,y=aAr(p.length),r.order==="row-major"?(m=p[7],h=p[6],g=p[5],b=p[4],S=p[3],w=p[2],A=p[1],_=p[0],i=x[7],n=x[6]-m*x[7],s=x[5]-h*x[6],u=x[4]-g*x[5],v=x[3]-b*x[4],f=x[2]-S*x[3],l=x[1]-w*x[2],d=x[0]-A*x[1]):(m=p[0],h=p[1],g=p[2],b=p[3],S=p[4],w=p[5],A=p[6],_=p[7],i=x[0],n=x[1]-m*x[0],s=x[2]-h*x[1],u=x[3]-g*x[2],v=x[4]-b*x[3],f=x[5]-S*x[4],l=x[6]-w*x[5],d=x[7]-A*x[6],y=tAr(y)),E=r.offset,t=r.data,o=r.accessors[0],N=0;N<_;N++){for(k=0;k<A;k++){for(D=0;D<w;D++){for(I=0;I<S;I++){for(O=0;O<b;O++){for(j=0;j<g;j++){for(T=0;T<h;T++){for(q=0;q<m;q++)e.call(a,o(t,E),iAr([N,k,D,I,O,j,T,q],y),r.ref),E+=i;E+=n}E+=s}E+=u}E+=v}E+=f}E+=l}E+=d}}LN.exports=oAr});var YN=c((zve,GN)=>{"use strict";var nAr=qe(),sAr=re(),uAr=Kr();function vAr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B;for(m=r.shape,q=r.strides,p=nAr(m.length),r.order==="row-major"?(h=m[8],g=m[7],b=m[6],S=m[5],w=m[4],A=m[3],_=m[2],x=m[1],E=m[0],i=q[8],n=q[7]-h*q[8],s=q[6]-g*q[7],u=q[5]-b*q[6],v=q[4]-S*q[5],f=q[3]-w*q[4],l=q[2]-A*q[3],d=q[1]-_*q[2],y=q[0]-x*q[1]):(h=m[0],g=m[1],b=m[2],S=m[3],w=m[4],A=m[5],_=m[6],x=m[7],E=m[8],i=q[0],n=q[1]-h*q[0],s=q[2]-g*q[1],u=q[3]-b*q[2],v=q[4]-S*q[3],f=q[5]-w*q[4],l=q[6]-A*q[5],d=q[7]-_*q[6],y=q[8]-x*q[7],p=sAr(p)),T=r.offset,t=r.data,o=r.accessors[0],B=0;B<E;B++){for(R=0;R<x;R++){for(F=0;F<_;F++){for(N=0;N<A;N++){for(k=0;k<w;k++){for(D=0;D<S;D++){for(I=0;I<b;I++){for(O=0;O<g;O++){for(j=0;j<h;j++)e.call(a,o(t,T),uAr([B,R,F,N,k,D,I,O,j],p),r.ref),T+=i;T+=n}T+=s}T+=u}T+=v}T+=f}T+=l}T+=d}T+=y}}GN.exports=vAr});var WN=c((Vve,$N)=>{"use strict";var fAr=qe(),lAr=re(),cAr=Kr();function dAr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U;for(h=r.shape,j=r.strides,m=fAr(h.length),r.order==="row-major"?(g=h[9],b=h[8],S=h[7],w=h[6],A=h[5],_=h[4],x=h[3],E=h[2],q=h[1],T=h[0],i=j[9],n=j[8]-g*j[9],s=j[7]-b*j[8],u=j[6]-S*j[7],v=j[5]-w*j[6],f=j[4]-A*j[5],l=j[3]-_*j[4],d=j[2]-x*j[3],y=j[1]-E*j[2],p=j[0]-q*j[1]):(g=h[0],b=h[1],S=h[2],w=h[3],A=h[4],_=h[5],x=h[6],E=h[7],q=h[8],T=h[9],i=j[0],n=j[1]-g*j[0],s=j[2]-b*j[1],u=j[3]-S*j[2],v=j[4]-w*j[3],f=j[5]-A*j[4],l=j[6]-_*j[5],d=j[7]-x*j[6],y=j[8]-E*j[7],p=j[9]-q*j[8],m=lAr(m)),O=r.offset,t=r.data,o=r.accessors[0],U=0;U<T;U++){for(V=0;V<q;V++){for(z=0;z<E;z++){for(B=0;B<x;B++){for(R=0;R<_;R++){for(F=0;F<A;F++){for(N=0;N<w;N++){for(k=0;k<S;k++){for(D=0;D<b;D++){for(I=0;I<g;I++)e.call(a,o(t,O),cAr([U,V,z,B,R,F,N,k,D,I],m),r.ref),O+=i;O+=n}O+=s}O+=u}O+=v}O+=f}O+=l}O+=d}O+=y}O+=p}}$N.exports=dAr});var Vf=c((Uve,JN)=>{"use strict";var pAr=pr(),Qn=qf();function yAr(r,e,a,t,o,i,n){var s,u,v,f,l;for(s=r.length,u=1,l=0;l<s;l++)u*=r[l];if(i==="clamp")o<0?o=0:o>=u&&(o=u-1);else if(i==="wrap")o<0?(o+=u,o<0&&(o%=u,o!==0&&(o+=u))):o>=u&&(o-=u,o>=u&&(o%=u));else if(i==="normalize"&&o<0&&(o+=u),o<0||o>=u)throw new RangeError(pAr("invalid argument. Linear index must not exceed array dimensions. Number of array elements: `%u`. Value: `%d`.",u,o));if(a===0){if(t==="column-major"){for(l=0;l<s;l++)f=o%r[l],o-=f,o/=r[l],n[l]=f;return n}for(l=s-1;l>=0;l--)f=o%r[l],o-=f,o/=r[l],n[l]=f;return n}if(t==="column-major"){for(l=s-1;l>=0;l--)f=e[l],f<0?(v=Qn(o/f),o-=v*f,n[l]=r[l]-1+v):(v=Qn(o/f),o-=v*f,n[l]=v);return n}for(l=0;l<s;l++)f=e[l],f<0?(v=Qn(o/f),o-=v*f,n[l]=r[l]-1+v):(v=Qn(o/f),o-=v*f,n[l]=v);return n}JN.exports=yAr});var KN=c((Cve,XN)=>{"use strict";var mAr=Se(),hAr=Vf();function gAr(r,e,a,t,o,i){return hAr(r,e,a,t,o,i,mAr(r.length))}XN.exports=gAr});var Ai=c((Pve,ZN)=>{"use strict";var bAr=Ir(),HN=KN(),xAr=Vf();bAr(HN,"assign",xAr);ZN.exports=HN});var eD=c((Lve,rD)=>{"use strict";var qAr=Jr(),wAr=na(),SAr=Ai(),QN="throw";function EAr(r,e,a){var t,o,i,n,s,u,v,f,l,d;for(u=r.shape,i=qAr(u),t=r.data,v=r.strides,f=r.offset,o=r.order,n=r.accessors[0],d=0;d<i;d++)l=wAr(u,v,f,o,d,QN),s=SAr(u,v,0,o,d,QN),e.call(a,n(t,l),s,r.ref)}rD.exports=EAr});var tD=c((Mve,aD)=>{"use strict";function AAr(r,e,a){e.call(a,r.data[r.offset],[],r.ref)}aD.exports=AAr});var oD=c((Gve,iD)=>{"use strict";function _Ar(r,e,a){var t,o,i,n,s;for(i=r.shape[0],o=r.strides[0],n=r.offset,t=r.data,s=0;s<i;s++)e.call(a,t[n],[s],r.ref),n+=o}iD.exports=_Ar});var sD=c((Yve,nD)=>{"use strict";var TAr=qe(),jAr=re(),IAr=Kr();function OAr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y;for(s=r.shape,f=r.strides,n=TAr(s.length),r.order==="row-major"?(u=s[1],v=s[0],o=f[1],i=f[0]-u*f[1]):(u=s[0],v=s[1],o=f[0],i=f[1]-u*f[0],n=jAr(n)),l=r.offset,t=r.data,y=0;y<v;y++){for(d=0;d<u;d++)e.call(a,t[l],IAr([y,d],n),r.ref),l+=o;l+=i}}nD.exports=OAr});var vD=c(($ve,uD)=>{"use strict";var NAr=qe(),DAr=re(),kAr=Kr();function BAr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h;for(u=r.shape,d=r.strides,s=NAr(u.length),r.order==="row-major"?(v=u[2],f=u[1],l=u[0],o=d[2],i=d[1]-v*d[2],n=d[0]-f*d[1]):(v=u[0],f=u[1],l=u[2],o=d[0],i=d[1]-v*d[0],n=d[2]-f*d[1],s=DAr(s)),y=r.offset,t=r.data,h=0;h<l;h++){for(m=0;m<f;m++){for(p=0;p<v;p++)e.call(a,t[y],kAr([h,m,p],s),r.ref),y+=o;y+=i}y+=n}}uD.exports=BAr});var lD=c((Wve,fD)=>{"use strict";var FAr=qe(),RAr=re(),zAr=Kr();function VAr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S;for(v=r.shape,p=r.strides,u=FAr(v.length),r.order==="row-major"?(f=v[3],l=v[2],d=v[1],y=v[0],o=p[3],i=p[2]-f*p[3],n=p[1]-l*p[2],s=p[0]-d*p[1]):(f=v[0],l=v[1],d=v[2],y=v[3],o=p[0],i=p[1]-f*p[0],n=p[2]-l*p[1],s=p[3]-d*p[2],u=RAr(u)),m=r.offset,t=r.data,S=0;S<y;S++){for(b=0;b<d;b++){for(g=0;g<l;g++){for(h=0;h<f;h++)e.call(a,t[m],zAr([S,b,g,h],u),r.ref),m+=o;m+=i}m+=n}m+=s}}fD.exports=VAr});var dD=c((Jve,cD)=>{"use strict";var UAr=qe(),CAr=re(),PAr=Kr();function LAr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_;for(f=r.shape,h=r.strides,v=UAr(f.length),r.order==="row-major"?(l=f[4],d=f[3],y=f[2],p=f[1],m=f[0],o=h[4],i=h[3]-l*h[4],n=h[2]-d*h[3],s=h[1]-y*h[2],u=h[0]-p*h[1]):(l=f[0],d=f[1],y=f[2],p=f[3],m=f[4],o=h[0],i=h[1]-l*h[0],n=h[2]-d*h[1],s=h[3]-y*h[2],u=h[4]-p*h[3],v=CAr(v)),g=r.offset,t=r.data,_=0;_<m;_++){for(A=0;A<p;A++){for(w=0;w<y;w++){for(S=0;S<d;S++){for(b=0;b<l;b++)e.call(a,t[g],PAr([_,A,w,S,b],v),r.ref),g+=o;g+=i}g+=n}g+=s}g+=u}}cD.exports=LAr});var yD=c((Xve,pD)=>{"use strict";var MAr=qe(),GAr=re(),YAr=Kr();function $Ar(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q;for(l=r.shape,b=r.strides,f=MAr(l.length),r.order==="row-major"?(d=l[5],y=l[4],p=l[3],m=l[2],h=l[1],g=l[0],o=b[5],i=b[4]-d*b[5],n=b[3]-y*b[4],s=b[2]-p*b[3],u=b[1]-m*b[2],v=b[0]-h*b[1]):(d=l[0],y=l[1],p=l[2],m=l[3],h=l[4],g=l[5],o=b[0],i=b[1]-d*b[0],n=b[2]-y*b[1],s=b[3]-p*b[2],u=b[4]-m*b[3],v=b[5]-h*b[4],f=GAr(f)),S=r.offset,t=r.data,q=0;q<g;q++){for(E=0;E<h;E++){for(x=0;x<m;x++){for(_=0;_<p;_++){for(A=0;A<y;A++){for(w=0;w<d;w++)e.call(a,t[S],YAr([q,E,x,_,A,w],f),r.ref),S+=o;S+=i}S+=n}S+=s}S+=u}S+=v}}pD.exports=$Ar});var hD=c((Kve,mD)=>{"use strict";var WAr=qe(),JAr=re(),XAr=Kr();function KAr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O;for(d=r.shape,w=r.strides,l=WAr(d.length),r.order==="row-major"?(y=d[6],p=d[5],m=d[4],h=d[3],g=d[2],b=d[1],S=d[0],o=w[6],i=w[5]-y*w[6],n=w[4]-p*w[5],s=w[3]-m*w[4],u=w[2]-h*w[3],v=w[1]-g*w[2],f=w[0]-b*w[1]):(y=d[0],p=d[1],m=d[2],h=d[3],g=d[4],b=d[5],S=d[6],o=w[0],i=w[1]-y*w[0],n=w[2]-p*w[1],s=w[3]-m*w[2],u=w[4]-h*w[3],v=w[5]-g*w[4],f=w[6]-b*w[5],l=JAr(l)),A=r.offset,t=r.data,O=0;O<S;O++){for(j=0;j<b;j++){for(T=0;T<g;T++){for(q=0;q<h;q++){for(E=0;E<m;E++){for(x=0;x<p;x++){for(_=0;_<y;_++)e.call(a,t[A],XAr([O,j,T,q,E,x,_],l),r.ref),A+=o;A+=i}A+=n}A+=s}A+=u}A+=v}A+=f}}mD.exports=KAr});var bD=c((Hve,gD)=>{"use strict";var HAr=qe(),ZAr=re(),QAr=Kr();function r5r(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k;for(y=r.shape,_=r.strides,d=HAr(y.length),r.order==="row-major"?(p=y[7],m=y[6],h=y[5],g=y[4],b=y[3],S=y[2],w=y[1],A=y[0],o=_[7],i=_[6]-p*_[7],n=_[5]-m*_[6],s=_[4]-h*_[5],u=_[3]-g*_[4],v=_[2]-b*_[3],f=_[1]-S*_[2],l=_[0]-w*_[1]):(p=y[0],m=y[1],h=y[2],g=y[3],b=y[4],S=y[5],w=y[6],A=y[7],o=_[0],i=_[1]-p*_[0],n=_[2]-m*_[1],s=_[3]-h*_[2],u=_[4]-g*_[3],v=_[5]-b*_[4],f=_[6]-S*_[5],l=_[7]-w*_[6],d=ZAr(d)),x=r.offset,t=r.data,k=0;k<A;k++){for(D=0;D<w;D++){for(I=0;I<S;I++){for(O=0;O<b;O++){for(j=0;j<g;j++){for(T=0;T<h;T++){for(q=0;q<m;q++){for(E=0;E<p;E++)e.call(a,t[x],QAr([k,D,I,O,j,T,q,E],d),r.ref),x+=o;x+=i}x+=n}x+=s}x+=u}x+=v}x+=f}x+=l}}gD.exports=r5r});var qD=c((Zve,xD)=>{"use strict";var e5r=qe(),a5r=re(),t5r=Kr();function i5r(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R;for(p=r.shape,E=r.strides,y=e5r(p.length),r.order==="row-major"?(m=p[8],h=p[7],g=p[6],b=p[5],S=p[4],w=p[3],A=p[2],_=p[1],x=p[0],o=E[8],i=E[7]-m*E[8],n=E[6]-h*E[7],s=E[5]-g*E[6],u=E[4]-b*E[5],v=E[3]-S*E[4],f=E[2]-w*E[3],l=E[1]-A*E[2],d=E[0]-_*E[1]):(m=p[0],h=p[1],g=p[2],b=p[3],S=p[4],w=p[5],A=p[6],_=p[7],x=p[8],o=E[0],i=E[1]-m*E[0],n=E[2]-h*E[1],s=E[3]-g*E[2],u=E[4]-b*E[3],v=E[5]-S*E[4],f=E[6]-w*E[5],l=E[7]-A*E[6],d=E[8]-_*E[7],y=a5r(y)),q=r.offset,t=r.data,R=0;R<x;R++){for(F=0;F<_;F++){for(N=0;N<A;N++){for(k=0;k<w;k++){for(D=0;D<S;D++){for(I=0;I<b;I++){for(O=0;O<g;O++){for(j=0;j<h;j++){for(T=0;T<m;T++)e.call(a,t[q],t5r([R,F,N,k,D,I,O,j,T],y),r.ref),q+=o;q+=i}q+=n}q+=s}q+=u}q+=v}q+=f}q+=l}q+=d}}xD.exports=i5r});var SD=c((Qve,wD)=>{"use strict";var o5r=qe(),n5r=re(),s5r=Kr();function u5r(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V;for(m=r.shape,T=r.strides,p=o5r(m.length),r.order==="row-major"?(h=m[9],g=m[8],b=m[7],S=m[6],w=m[5],A=m[4],_=m[3],x=m[2],E=m[1],q=m[0],o=T[9],i=T[8]-h*T[9],n=T[7]-g*T[8],s=T[6]-b*T[7],u=T[5]-S*T[6],v=T[4]-w*T[5],f=T[3]-A*T[4],l=T[2]-_*T[3],d=T[1]-x*T[2],y=T[0]-E*T[1]):(h=m[0],g=m[1],b=m[2],S=m[3],w=m[4],A=m[5],_=m[6],x=m[7],E=m[8],q=m[9],o=T[0],i=T[1]-h*T[0],n=T[2]-g*T[1],s=T[3]-b*T[2],u=T[4]-S*T[3],v=T[5]-w*T[4],f=T[6]-A*T[5],l=T[7]-_*T[6],d=T[8]-x*T[7],y=T[9]-E*T[8],p=n5r(p)),j=r.offset,t=r.data,V=0;V<q;V++){for(z=0;z<E;z++){for(B=0;B<x;B++){for(R=0;R<_;R++){for(F=0;F<A;F++){for(N=0;N<w;N++){for(k=0;k<S;k++){for(D=0;D<b;D++){for(I=0;I<g;I++){for(O=0;O<h;O++)e.call(a,t[j],s5r([V,z,B,R,F,N,k,D,I,O],p),r.ref),j+=o;j+=i}j+=n}j+=s}j+=u}j+=v}j+=f}j+=l}j+=d}j+=y}}wD.exports=u5r});var _D=c((rfe,AD)=>{"use strict";var v5r=Jr(),f5r=na(),l5r=Ai(),ED="throw";function c5r(r,e,a){var t,o,i,n,s,u,v,f,l;for(s=r.shape,i=v5r(s),t=r.data,u=r.strides,v=r.offset,o=r.order,l=0;l<i;l++)f=f5r(s,u,v,o,l,ED),n=l5r(s,u,0,o,l,ED),e.call(a,t[f],n,r.ref)}AD.exports=c5r});var OD=c((efe,ID)=>{"use strict";var d5r=Ea(),p5r=ei(),y5r=Jr(),m5r=Y7(),h5r=W7(),g5r=X7(),b5r=H7(),x5r=Q7(),q5r=eN(),w5r=tN(),S5r=oN(),E5r=sN(),A5r=vN(),_5r=lN(),T5r=dN(),j5r=yN(),I5r=hN(),O5r=bN(),N5r=qN(),D5r=SN(),k5r=AN(),B5r=TN(),F5r=IN(),R5r=NN(),z5r=kN(),V5r=FN(),U5r=zN(),C5r=UN(),P5r=PN(),L5r=MN(),M5r=YN(),G5r=WN(),Y5r=eD(),$5r=tD(),W5r=oD(),J5r=sD(),X5r=vD(),K5r=lD(),H5r=dD(),Z5r=yD(),Q5r=hD(),r8r=bD(),e8r=qD(),a8r=SD(),t8r=_D(),Uf=[$5r,W5r,J5r,X5r,K5r,H5r,Z5r,Q5r,r8r,e8r,a8r],TD=[B5r,F5r,R5r,z5r,V5r,U5r,C5r,P5r,L5r,M5r,G5r],i8r=[A5r,_5r,T5r,j5r,I5r,O5r,N5r,D5r,k5r],o8r=[m5r,h5r,g5r,b5r,x5r,q5r,w5r,S5r,E5r],jD=Uf.length-1;function n8r(r,e,a){var t,o,i;if(i=p5r(r[0]),o=i.shape,t=o.length,t===0)return i.accessorProtocol?TD[t](i,e,a):Uf[t](i,e,a);if(y5r(o)!==0){if(t<=jD&&d5r(i.strides)!==0)return i.accessorProtocol?TD[t](i,e,a):Uf[t](i,e,a);if(t<=jD)return i.accessorProtocol?o8r[t-2](i,e,a):i8r[t-2](i,e,a);if(i.accessorProtocol)return Y5r(i,e,a);t8r(i,e,a)}}ID.exports=n8r});var DD=c((afe,ND)=>{"use strict";var s8r=OD();ND.exports=s8r});var BD=c((tfe,kD)=>{"use strict";var u8r=tt(),v8r=bi(),f8r=gi(),l8r=Fa(),c8r=aa(),d8r=pr();function p8r(r,e,a){var t,o;if(t=l8r(e,1),t===null)throw new TypeError(d8r("invalid argument. Second argument must be a recognized data type. Value: `%s`.",e));return/^complex/.test(e)&&typeof r=="number"&&(r=[r,0]),u8r(t)?o=v8r(e):o=f8r(e),o(t,0,r),new c8r(e,t,[],[0],0,a)}kD.exports=p8r});var RD=c((ife,FD)=>{"use strict";var y8r=BD();FD.exports=y8r});var VD=c((ofe,zD)=>{"use strict";function m8r(r,e,a){var t,o,i;for(t=r.length,o=a,i=0;i<t;i++){if(r[i]===0)return a;e[i]>0&&(o+=e[i]*(r[i]-1))}return o}zD.exports=m8r});var CD=c((nfe,UD)=>{"use strict";var h8r=VD();UD.exports=h8r});var MD=c((sfe,LD)=>{"use strict";var PD=_o(),g8r=Te();function b8r(r,e){var a,t,o;if(t=e.length,a=g8r(r,!1),a.length===t){for(o=0;o<t;o++)if(a[o]!==e[o])return PD(r,e);return r}return PD(r,e)}LD.exports=b8r});var Cf=c((ufe,GD)=>{"use strict";var x8r=MD();GD.exports=x8r});var $D=c((vfe,YD)=>{"use strict";var q8r=qi(),w8r=Cf(),S8r=Te();function E8r(r){var e,a,t,o,i;for(o=r.length,e=[],i=0;i<o;i++)e.push(S8r(r[i],!1));if(t=q8r(e),t===null)throw new Error("invalid arguments. Input arrays must be broadcast compatible.");for(a=[],i=0;i<o;i++)a.push(w8r(r[i],t));return a}YD.exports=E8r});var JD=c((ffe,WD)=>{"use strict";var A8r=$D();WD.exports=A8r});var KD=c((lfe,XD)=>{"use strict";var Pf=Ir(),_8r=bt(),T8r=jf();function j8r(r,e,a){return Pf(a,"nargs",r.nargs),Pf(a,"nin",r.nin),Pf(a,"nout",r.nout),_8r(a,"types",t),a;function t(){return T8r(e,r.nin,r.nout)}}XD.exports=j8r});var ZD=c((cfe,HD)=>{"use strict";var I8r=KD();HD.exports=I8r});var rk=c((dfe,QD)=>{"use strict";function O8r(r,e,a){var t,o,i;for(t=r.length,o=a,i=0;i<t;i++){if(r[i]===0)return a;e[i]<0&&(o+=e[i]*(r[i]-1))}return o}QD.exports=O8r});var ak=c((pfe,ek)=>{"use strict";var N8r=rk();ek.exports=N8r});var ik=c((yfe,tk)=>{"use strict";var D8r=Ra(),k8r=oe(),B8r=Xa(),F8r=Tt(),R8r=Ka(),z8r=ut(),V8r=aa(),U8r=ka(),C8r=U8r("order");function P8r(r){return new V8r(D8r(r),z8r(r),k8r(r),B8r(r),F8r(r),R8r(r)||C8r)}tk.exports=P8r});var nk=c((mfe,ok)=>{"use strict";var L8r=ik();ok.exports=L8r});var Lf=c((hfe,sk)=>{"use strict";var M8r="row-major";function G8r(r,e,a,t,o){var i,n;for(i=r-1;i>t;i--)o[i]=a[i];for(i=t;i>=0&&(n=(a[i]+1)%e[i],o[i]=n,!(n>0));i--);for(i-=1;i>=0;i--)o[i]=a[i];return o}function Y8r(r,e,a,t,o){var i,n;for(i=0;i<t;i++)o[i]=a[i];for(i=t;i<r&&(n=(a[i]+1)%e[i],o[i]=n,!(n>0));i++);for(i+=1;i<r;i++)o[i]=a[i];return o}function $8r(r,e,a,t,o){var i=r.length;if(i===0)return null;if(t<0){if(t+=i,t<0)return null}else if(t>=i)return null;return e===M8r?G8r(i,r,a,t,o):Y8r(i,r,a,t,o)}sk.exports=$8r});var vk=c((gfe,uk)=>{"use strict";var W8r=Se(),J8r=Lf();function X8r(r,e,a,t){return J8r(r,e,a,t,W8r(r.length))}uk.exports=X8r});var He=c((bfe,lk)=>{"use strict";var K8r=Ir(),fk=vk(),H8r=Lf();K8r(fk,"assign",H8r);lk.exports=fk});var dk=c((xfe,ck)=>{"use strict";function Z8r(r){var e,a;for(e=0,a=0;a<r.length;a++)r[a]!==1&&(e+=1);return e}ck.exports=Z8r});var yk=c((qfe,pk)=>{"use strict";var Q8r=dk();pk.exports=Q8r});var hk=c((wfe,mk)=>{"use strict";var r_r=Zr(),e_r=Qr();function a_r(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b;for(b=r_r(r.shape,r.strides),u=b.sh,l=b.sx,a=e_r(r.dtype),d=r.offset,t=r.data,i=l[0],o=r.accessors[1],g=u[1];g>0;)for(g<a?(f=g,g=0):(f=a,g-=a),s=d+g*l[1],h=u[0];h>0;)for(h<a?(v=h,h=0):(v=a,h-=a),y=s+h*l[0],n=l[1]-v*l[0],m=0;m<f;m++){for(p=0;p<v;p++)o(t,y,e()),y+=i;y+=n}}mk.exports=a_r});var bk=c((Sfe,gk)=>{"use strict";var t_r=Zr(),i_r=Qr();function o_r(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x;for(x=t_r(r.shape,r.strides),f=x.sh,p=x.sx,a=i_r(r.dtype),m=r.offset,t=r.data,i=p[0],o=r.accessors[1],_=f[2];_>0;)for(_<a?(y=_,_=0):(y=a,_-=a),v=m+_*p[2],A=f[1];A>0;)for(A<a?(d=A,A=0):(d=a,A-=a),s=p[2]-d*p[1],u=v+A*p[1],w=f[0];w>0;)for(w<a?(l=w,w=0):(l=a,w-=a),h=u+w*p[0],n=p[1]-l*p[0],S=0;S<y;S++){for(b=0;b<d;b++){for(g=0;g<l;g++)o(t,h,e()),h+=i;h+=n}h+=s}}gk.exports=o_r});var qk=c((Efe,xk)=>{"use strict";var n_r=Zr(),s_r=Qr();function u_r(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O;for(O=n_r(r.shape,r.strides),d=O.sh,g=O.sx,a=s_r(r.dtype),b=r.offset,t=r.data,i=g[0],o=r.accessors[1],j=d[3];j>0;)for(j<a?(h=j,j=0):(h=a,j-=a),l=b+j*g[3],T=d[2];T>0;)for(T<a?(m=T,T=0):(m=a,T-=a),u=g[3]-m*g[2],f=l+T*g[2],q=d[1];q>0;)for(q<a?(p=q,q=0):(p=a,q-=a),s=g[2]-p*g[1],v=f+q*g[1],E=d[0];E>0;)for(E<a?(y=E,E=0):(y=a,E-=a),S=v+E*g[0],n=g[1]-y*g[0],x=0;x<h;x++){for(_=0;_<m;_++){for(A=0;A<p;A++){for(w=0;w<y;w++)o(t,S,e()),S+=i;S+=n}S+=s}S+=u}}xk.exports=u_r});var Sk=c((Afe,wk)=>{"use strict";var v_r=Zr(),f_r=Qr();function l_r(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F;for(F=v_r(r.shape,r.strides),p=F.sh,w=F.sx,a=f_r(r.dtype),A=r.offset,t=r.data,i=w[0],o=r.accessors[1],N=p[4];N>0;)for(N<a?(S=N,N=0):(S=a,N-=a),y=A+N*w[4],k=p[3];k>0;)for(k<a?(b=k,k=0):(b=a,k-=a),v=w[4]-b*w[3],d=y+k*w[3],D=p[2];D>0;)for(D<a?(g=D,D=0):(g=a,D-=a),u=w[3]-g*w[2],l=d+D*w[2],I=p[1];I>0;)for(I<a?(h=I,I=0):(h=a,I-=a),s=w[2]-h*w[1],f=l+I*w[1],O=p[0];O>0;)for(O<a?(m=O,O=0):(m=a,O-=a),_=f+O*w[0],n=w[1]-m*w[0],j=0;j<S;j++){for(T=0;T<b;T++){for(q=0;q<g;q++){for(E=0;E<h;E++){for(x=0;x<m;x++)o(t,_,e()),_+=i;_+=n}_+=s}_+=u}_+=v}}wk.exports=l_r});var Ak=c((_fe,Ek)=>{"use strict";var c_r=Zr(),d_r=Qr();function p_r(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U;for(U=c_r(r.shape,r.strides),h=U.sh,x=U.sx,a=d_r(r.dtype),E=r.offset,t=r.data,i=x[0],o=r.accessors[1],V=h[5];V>0;)for(V<a?(_=V,V=0):(_=a,V-=a),m=E+V*x[5],z=h[4];z>0;)for(z<a?(A=z,z=0):(A=a,z-=a),f=x[5]-A*x[4],p=m+z*x[4],B=h[3];B>0;)for(B<a?(w=B,B=0):(w=a,B-=a),v=x[4]-w*x[3],y=p+B*x[3],R=h[2];R>0;)for(R<a?(S=R,R=0):(S=a,R-=a),u=x[3]-S*x[2],d=y+R*x[2],F=h[1];F>0;)for(F<a?(b=F,F=0):(b=a,F-=a),s=x[2]-b*x[1],l=d+F*x[1],N=h[0];N>0;)for(N<a?(g=N,N=0):(g=a,N-=a),q=l+N*x[0],n=x[1]-g*x[0],k=0;k<_;k++){for(D=0;D<A;D++){for(I=0;I<w;I++){for(O=0;O<S;O++){for(j=0;j<b;j++){for(T=0;T<g;T++)o(t,q,e()),q+=i;q+=n}q+=s}q+=u}q+=v}q+=f}}Ek.exports=p_r});var Tk=c((Tfe,_k)=>{"use strict";var y_r=Zr(),m_r=Qr();function h_r(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G;for(G=y_r(r.shape,r.strides),b=G.sh,T=G.sx,a=m_r(r.dtype),j=r.offset,t=r.data,i=T[0],o=r.accessors[1],M=b[6];M>0;)for(M<a?(q=M,M=0):(q=a,M-=a),g=j+M*T[6],L=b[5];L>0;)for(L<a?(E=L,L=0):(E=a,L-=a),l=T[6]-E*T[5],h=g+L*T[5],P=b[4];P>0;)for(P<a?(x=P,P=0):(x=a,P-=a),f=T[5]-x*T[4],m=h+P*T[4],C=b[3];C>0;)for(C<a?(_=C,C=0):(_=a,C-=a),v=T[4]-_*T[3],p=m+C*T[3],U=b[2];U>0;)for(U<a?(A=U,U=0):(A=a,U-=a),u=T[3]-A*T[2],y=p+U*T[2],V=b[1];V>0;)for(V<a?(w=V,V=0):(w=a,V-=a),s=T[2]-w*T[1],d=y+V*T[1],z=b[0];z>0;)for(z<a?(S=z,z=0):(S=a,z-=a),O=d+z*T[0],n=T[1]-S*T[0],B=0;B<q;B++){for(R=0;R<E;R++){for(F=0;F<x;F++){for(N=0;N<_;N++){for(k=0;k<A;k++){for(D=0;D<w;D++){for(I=0;I<S;I++)o(t,O,e()),O+=i;O+=n}O+=s}O+=u}O+=v}O+=f}O+=l}}_k.exports=h_r});var Ik=c((jfe,jk)=>{"use strict";var g_r=Zr(),b_r=Qr();function x_r(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X;for(X=g_r(r.shape,r.strides),w=X.sh,I=X.sx,a=b_r(r.dtype),D=r.offset,t=r.data,i=I[0],o=r.accessors[1],J=w[7];J>0;)for(J<a?(O=J,J=0):(O=a,J-=a),S=D+J*I[7],W=w[6];W>0;)for(W<a?(j=W,W=0):(j=a,W-=a),d=I[7]-j*I[6],b=S+W*I[6],Y=w[5];Y>0;)for(Y<a?(T=Y,Y=0):(T=a,Y-=a),l=I[6]-T*I[5],g=b+Y*I[5],$=w[4];$>0;)for($<a?(q=$,$=0):(q=a,$-=a),f=I[5]-q*I[4],h=g+$*I[4],G=w[3];G>0;)for(G<a?(E=G,G=0):(E=a,G-=a),v=I[4]-E*I[3],m=h+G*I[3],M=w[2];M>0;)for(M<a?(x=M,M=0):(x=a,M-=a),u=I[3]-x*I[2],p=m+M*I[2],L=w[1];L>0;)for(L<a?(_=L,L=0):(_=a,L-=a),s=I[2]-_*I[1],y=p+L*I[1],P=w[0];P>0;)for(P<a?(A=P,P=0):(A=a,P-=a),k=y+P*I[0],n=I[1]-A*I[0],C=0;C<O;C++){for(U=0;U<j;U++){for(V=0;V<T;V++){for(z=0;z<q;z++){for(B=0;B<E;B++){for(R=0;R<x;R++){for(F=0;F<_;F++){for(N=0;N<A;N++)o(t,k,e()),k+=i;k+=n}k+=s}k+=u}k+=v}k+=f}k+=l}k+=d}}jk.exports=x_r});var Nk=c((Ife,Ok)=>{"use strict";var q_r=Zr(),w_r=Qr();function S_r(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q,Z,rr;for(rr=q_r(r.shape,r.strides),_=rr.sh,N=rr.sx,a=w_r(r.dtype),F=r.offset,t=r.data,i=N[0],o=r.accessors[1],Z=_[8];Z>0;)for(Z<a?(k=Z,Z=0):(k=a,Z-=a),A=F+Z*N[8],Q=_[7];Q>0;)for(Q<a?(D=Q,Q=0):(D=a,Q-=a),y=N[8]-D*N[7],w=A+Q*N[7],H=_[6];H>0;)for(H<a?(I=H,H=0):(I=a,H-=a),d=N[7]-I*N[6],S=w+H*N[6],K=_[5];K>0;)for(K<a?(O=K,K=0):(O=a,K-=a),l=N[6]-O*N[5],b=S+K*N[5],X=_[4];X>0;)for(X<a?(j=X,X=0):(j=a,X-=a),f=N[5]-j*N[4],g=b+X*N[4],J=_[3];J>0;)for(J<a?(T=J,J=0):(T=a,J-=a),v=N[4]-T*N[3],h=g+J*N[3],W=_[2];W>0;)for(W<a?(q=W,W=0):(q=a,W-=a),u=N[3]-q*N[2],m=h+W*N[2],Y=_[1];Y>0;)for(Y<a?(E=Y,Y=0):(E=a,Y-=a),s=N[2]-E*N[1],p=m+Y*N[1],$=_[0];$>0;)for($<a?(x=$,$=0):(x=a,$-=a),R=p+$*N[0],n=N[1]-x*N[0],G=0;G<k;G++){for(M=0;M<D;M++){for(L=0;L<I;L++){for(P=0;P<O;P++){for(C=0;C<j;C++){for(U=0;U<T;U++){for(V=0;V<q;V++){for(z=0;z<E;z++){for(B=0;B<x;B++)o(t,R,e()),R+=i;R+=n}R+=s}R+=u}R+=v}R+=f}R+=l}R+=d}R+=y}}Ok.exports=S_r});var kk=c((Ofe,Dk)=>{"use strict";var E_r=Zr(),A_r=Qr();function __r(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or;for(or=E_r(r.shape,r.strides),E=or.sh,B=or.sx,a=A_r(r.dtype),z=r.offset,t=r.data,i=B[0],o=r.accessors[1],tr=E[9];tr>0;)for(tr<a?(R=tr,tr=0):(R=a,tr-=a),x=z+tr*B[9],ir=E[8];ir>0;)for(ir<a?(F=ir,ir=0):(F=a,ir-=a),p=B[9]-F*B[8],_=x+ir*B[8],er=E[7];er>0;)for(er<a?(N=er,er=0):(N=a,er-=a),y=B[8]-N*B[7],A=_+er*B[7],ar=E[6];ar>0;)for(ar<a?(k=ar,ar=0):(k=a,ar-=a),d=B[7]-k*B[6],w=A+ar*B[6],rr=E[5];rr>0;)for(rr<a?(D=rr,rr=0):(D=a,rr-=a),l=B[6]-D*B[5],S=w+rr*B[5],Z=E[4];Z>0;)for(Z<a?(I=Z,Z=0):(I=a,Z-=a),f=B[5]-I*B[4],b=S+Z*B[4],Q=E[3];Q>0;)for(Q<a?(O=Q,Q=0):(O=a,Q-=a),v=B[4]-O*B[3],g=b+Q*B[3],H=E[2];H>0;)for(H<a?(j=H,H=0):(j=a,H-=a),u=B[3]-j*B[2],h=g+H*B[2],K=E[1];K>0;)for(K<a?(T=K,K=0):(T=a,K-=a),s=B[2]-T*B[1],m=h+K*B[1],X=E[0];X>0;)for(X<a?(q=X,X=0):(q=a,X-=a),V=m+X*B[0],n=B[1]-q*B[0],J=0;J<R;J++){for(W=0;W<F;W++){for(Y=0;Y<N;Y++){for($=0;$<k;$++){for(G=0;G<D;G++){for(M=0;M<I;M++){for(L=0;L<O;L++){for(P=0;P<j;P++){for(C=0;C<T;C++){for(U=0;U<q;U++)o(t,V,e()),V+=i;V+=n}V+=s}V+=u}V+=v}V+=f}V+=l}V+=d}V+=y}V+=p}}Dk.exports=__r});var Fk=c((Nfe,Bk)=>{"use strict";var T_r=Zr(),j_r=Qr();function I_r(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g;for(g=T_r(r.shape,r.strides),s=g.sh,f=g.sx,a=j_r(r.dtype),l=r.offset,t=r.data,o=f[0],h=s[1];h>0;)for(h<a?(v=h,h=0):(v=a,h-=a),n=l+h*f[1],m=s[0];m>0;)for(m<a?(u=m,m=0):(u=a,m-=a),d=n+m*f[0],i=f[1]-u*f[0],p=0;p<v;p++){for(y=0;y<u;y++)t[d]=e(),d+=o;d+=i}}Bk.exports=I_r});var zk=c((Dfe,Rk)=>{"use strict";var O_r=Zr(),N_r=Qr();function D_r(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_;for(_=O_r(r.shape,r.strides),v=_.sh,y=_.sx,a=N_r(r.dtype),p=r.offset,t=r.data,o=y[0],A=v[2];A>0;)for(A<a?(d=A,A=0):(d=a,A-=a),u=p+A*y[2],w=v[1];w>0;)for(w<a?(l=w,w=0):(l=a,w-=a),n=y[2]-l*y[1],s=u+w*y[1],S=v[0];S>0;)for(S<a?(f=S,S=0):(f=a,S-=a),m=s+S*y[0],i=y[1]-f*y[0],b=0;b<d;b++){for(g=0;g<l;g++){for(h=0;h<f;h++)t[m]=e(),m+=o;m+=i}m+=n}}Rk.exports=D_r});var Uk=c((kfe,Vk)=>{"use strict";var k_r=Zr(),B_r=Qr();function F_r(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j;for(j=k_r(r.shape,r.strides),l=j.sh,h=j.sx,a=B_r(r.dtype),g=r.offset,t=r.data,o=h[0],T=l[3];T>0;)for(T<a?(m=T,T=0):(m=a,T-=a),f=g+T*h[3],q=l[2];q>0;)for(q<a?(p=q,q=0):(p=a,q-=a),s=h[3]-p*h[2],v=f+q*h[2],E=l[1];E>0;)for(E<a?(y=E,E=0):(y=a,E-=a),n=h[2]-y*h[1],u=v+E*h[1],x=l[0];x>0;)for(x<a?(d=x,x=0):(d=a,x-=a),b=u+x*h[0],i=h[1]-d*h[0],_=0;_<m;_++){for(A=0;A<p;A++){for(w=0;w<y;w++){for(S=0;S<d;S++)t[b]=e(),b+=o;b+=i}b+=n}b+=s}}Vk.exports=F_r});var Pk=c((Bfe,Ck)=>{"use strict";var R_r=Zr(),z_r=Qr();function V_r(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N;for(N=R_r(r.shape,r.strides),y=N.sh,S=N.sx,a=z_r(r.dtype),w=r.offset,t=r.data,o=S[0],k=y[4];k>0;)for(k<a?(b=k,k=0):(b=a,k-=a),d=w+k*S[4],D=y[3];D>0;)for(D<a?(g=D,D=0):(g=a,D-=a),u=S[4]-g*S[3],l=d+D*S[3],I=y[2];I>0;)for(I<a?(h=I,I=0):(h=a,I-=a),s=S[3]-h*S[2],f=l+I*S[2],O=y[1];O>0;)for(O<a?(m=O,O=0):(m=a,O-=a),n=S[2]-m*S[1],v=f+O*S[1],j=y[0];j>0;)for(j<a?(p=j,j=0):(p=a,j-=a),A=v+j*S[0],i=S[1]-p*S[0],T=0;T<b;T++){for(q=0;q<g;q++){for(E=0;E<h;E++){for(x=0;x<m;x++){for(_=0;_<p;_++)t[A]=e(),A+=o;A+=i}A+=n}A+=s}A+=u}}Ck.exports=V_r});var Mk=c((Ffe,Lk)=>{"use strict";var U_r=Zr(),C_r=Qr();function P_r(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V;for(V=U_r(r.shape,r.strides),m=V.sh,_=V.sx,a=C_r(r.dtype),x=r.offset,t=r.data,o=_[0],z=m[5];z>0;)for(z<a?(A=z,z=0):(A=a,z-=a),p=x+z*_[5],B=m[4];B>0;)for(B<a?(w=B,B=0):(w=a,B-=a),v=_[5]-w*_[4],y=p+B*_[4],R=m[3];R>0;)for(R<a?(S=R,R=0):(S=a,R-=a),u=_[4]-S*_[3],d=y+R*_[3],F=m[2];F>0;)for(F<a?(b=F,F=0):(b=a,F-=a),s=_[3]-b*_[2],l=d+F*_[2],N=m[1];N>0;)for(N<a?(g=N,N=0):(g=a,N-=a),n=_[2]-g*_[1],f=l+N*_[1],k=m[0];k>0;)for(k<a?(h=k,k=0):(h=a,k-=a),E=f+k*_[0],i=_[1]-h*_[0],D=0;D<A;D++){for(I=0;I<w;I++){for(O=0;O<S;O++){for(j=0;j<b;j++){for(T=0;T<g;T++){for(q=0;q<h;q++)t[E]=e(),E+=o;E+=i}E+=n}E+=s}E+=u}E+=v}}Lk.exports=P_r});var Yk=c((Rfe,Gk)=>{"use strict";var L_r=Zr(),M_r=Qr();function G_r(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M;for(M=L_r(r.shape,r.strides),g=M.sh,q=M.sx,a=M_r(r.dtype),T=r.offset,t=r.data,o=q[0],L=g[6];L>0;)for(L<a?(E=L,L=0):(E=a,L-=a),h=T+L*q[6],P=g[5];P>0;)for(P<a?(x=P,P=0):(x=a,P-=a),f=q[6]-x*q[5],m=h+P*q[5],C=g[4];C>0;)for(C<a?(_=C,C=0):(_=a,C-=a),v=q[5]-_*q[4],p=m+C*q[4],U=g[3];U>0;)for(U<a?(A=U,U=0):(A=a,U-=a),u=q[4]-A*q[3],y=p+U*q[3],V=g[2];V>0;)for(V<a?(w=V,V=0):(w=a,V-=a),s=q[3]-w*q[2],d=y+V*q[2],z=g[1];z>0;)for(z<a?(S=z,z=0):(S=a,z-=a),n=q[2]-S*q[1],l=d+z*q[1],B=g[0];B>0;)for(B<a?(b=B,B=0):(b=a,B-=a),j=l+B*q[0],i=q[1]-b*q[0],R=0;R<E;R++){for(F=0;F<x;F++){for(N=0;N<_;N++){for(k=0;k<A;k++){for(D=0;D<w;D++){for(I=0;I<S;I++){for(O=0;O<b;O++)t[j]=e(),j+=o;j+=i}j+=n}j+=s}j+=u}j+=v}j+=f}}Gk.exports=G_r});var Wk=c((zfe,$k)=>{"use strict";var Y_r=Zr(),$_r=Qr();function W_r(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J;for(J=Y_r(r.shape,r.strides),S=J.sh,O=J.sx,a=$_r(r.dtype),I=r.offset,t=r.data,o=O[0],W=S[7];W>0;)for(W<a?(j=W,W=0):(j=a,W-=a),b=I+W*O[7],Y=S[6];Y>0;)for(Y<a?(T=Y,Y=0):(T=a,Y-=a),l=O[7]-T*O[6],g=b+Y*O[6],$=S[5];$>0;)for($<a?(q=$,$=0):(q=a,$-=a),f=O[6]-q*O[5],h=g+$*O[5],G=S[4];G>0;)for(G<a?(E=G,G=0):(E=a,G-=a),v=O[5]-E*O[4],m=h+G*O[4],M=S[3];M>0;)for(M<a?(x=M,M=0):(x=a,M-=a),u=O[4]-x*O[3],p=m+M*O[3],L=S[2];L>0;)for(L<a?(_=L,L=0):(_=a,L-=a),s=O[3]-_*O[2],y=p+L*O[2],P=S[1];P>0;)for(P<a?(A=P,P=0):(A=a,P-=a),n=O[2]-A*O[1],d=y+P*O[1],C=S[0];C>0;)for(C<a?(w=C,C=0):(w=a,C-=a),D=d+C*O[0],i=O[1]-w*O[0],U=0;U<j;U++){for(V=0;V<T;V++){for(z=0;z<q;z++){for(B=0;B<E;B++){for(R=0;R<x;R++){for(F=0;F<_;F++){for(N=0;N<A;N++){for(k=0;k<w;k++)t[D]=e(),D+=o;D+=i}D+=n}D+=s}D+=u}D+=v}D+=f}D+=l}}$k.exports=W_r});var Xk=c((Vfe,Jk)=>{"use strict";var J_r=Zr(),X_r=Qr();function K_r(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q,Z;for(Z=J_r(r.shape,r.strides),A=Z.sh,k=Z.sx,a=X_r(r.dtype),N=r.offset,t=r.data,o=k[0],Q=A[8];Q>0;)for(Q<a?(D=Q,Q=0):(D=a,Q-=a),w=N+Q*k[8],H=A[7];H>0;)for(H<a?(I=H,H=0):(I=a,H-=a),d=k[8]-I*k[7],S=w+H*k[7],K=A[6];K>0;)for(K<a?(O=K,K=0):(O=a,K-=a),l=k[7]-O*k[6],b=S+K*k[6],X=A[5];X>0;)for(X<a?(j=X,X=0):(j=a,X-=a),f=k[6]-j*k[5],g=b+X*k[5],J=A[4];J>0;)for(J<a?(T=J,J=0):(T=a,J-=a),v=k[5]-T*k[4],h=g+J*k[4],W=A[3];W>0;)for(W<a?(q=W,W=0):(q=a,W-=a),u=k[4]-q*k[3],m=h+W*k[3],Y=A[2];Y>0;)for(Y<a?(E=Y,Y=0):(E=a,Y-=a),s=k[3]-E*k[2],p=m+Y*k[2],$=A[1];$>0;)for($<a?(x=$,$=0):(x=a,$-=a),n=k[2]-x*k[1],y=p+$*k[1],G=A[0];G>0;)for(G<a?(_=G,G=0):(_=a,G-=a),F=y+G*k[0],i=k[1]-_*k[0],M=0;M<D;M++){for(L=0;L<I;L++){for(P=0;P<O;P++){for(C=0;C<j;C++){for(U=0;U<T;U++){for(V=0;V<q;V++){for(z=0;z<E;z++){for(B=0;B<x;B++){for(R=0;R<_;R++)t[F]=e(),F+=o;F+=i}F+=n}F+=s}F+=u}F+=v}F+=f}F+=l}F+=d}}Jk.exports=K_r});var Hk=c((Ufe,Kk)=>{"use strict";var H_r=Zr(),Z_r=Qr();function Q_r(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr;for(tr=H_r(r.shape,r.strides),x=tr.sh,R=tr.sx,a=Z_r(r.dtype),B=r.offset,t=r.data,o=R[0],ir=x[9];ir>0;)for(ir<a?(F=ir,ir=0):(F=a,ir-=a),_=B+ir*R[9],er=x[8];er>0;)for(er<a?(N=er,er=0):(N=a,er-=a),y=R[9]-N*R[8],A=_+er*R[8],ar=x[7];ar>0;)for(ar<a?(k=ar,ar=0):(k=a,ar-=a),d=R[8]-k*R[7],w=A+ar*R[7],rr=x[6];rr>0;)for(rr<a?(D=rr,rr=0):(D=a,rr-=a),l=R[7]-D*R[6],S=w+rr*R[6],Z=x[5];Z>0;)for(Z<a?(I=Z,Z=0):(I=a,Z-=a),f=R[6]-I*R[5],b=S+Z*R[5],Q=x[4];Q>0;)for(Q<a?(O=Q,Q=0):(O=a,Q-=a),v=R[5]-O*R[4],g=b+Q*R[4],H=x[3];H>0;)for(H<a?(j=H,H=0):(j=a,H-=a),u=R[4]-j*R[3],h=g+H*R[3],K=x[2];K>0;)for(K<a?(T=K,K=0):(T=a,K-=a),s=R[3]-T*R[2],m=h+K*R[2],X=x[1];X>0;)for(X<a?(q=X,X=0):(q=a,X-=a),n=R[2]-q*R[1],p=m+X*R[1],J=x[0];J>0;)for(J<a?(E=J,J=0):(E=a,J-=a),z=p+J*R[0],i=R[1]-E*R[0],W=0;W<F;W++){for(Y=0;Y<N;Y++){for($=0;$<k;$++){for(G=0;G<D;G++){for(M=0;M<I;M++){for(L=0;L<O;L++){for(P=0;P<j;P++){for(C=0;C<T;C++){for(U=0;U<q;U++){for(V=0;V<E;V++)t[z]=e(),z+=o;z+=i}z+=n}z+=s}z+=u}z+=v}z+=f}z+=l}z+=d}z+=y}}Kk.exports=Q_r});var Qk=c((Cfe,Zk)=>{"use strict";function rTr(r,e){r.accessors[1](r.data,r.offset,e())}Zk.exports=rTr});var eB=c((Pfe,rB)=>{"use strict";function eTr(r,e){var a,t,o,i,n,s;for(i=r.shape[0],o=r.strides[0],n=r.offset,a=r.data,t=r.accessors[1],s=0;s<i;s++)t(a,n,e()),n+=o}rB.exports=eTr});var tB=c((Lfe,aB)=>{"use strict";function aTr(r,e){var a,t,o,i,n,s,u,v,f,l,d;for(n=r.shape,v=r.strides,r.order==="row-major"?(s=n[1],u=n[0],o=v[1],i=v[0]-s*v[1]):(s=n[0],u=n[1],o=v[0],i=v[1]-s*v[0]),f=r.offset,a=r.data,t=r.accessors[1],d=0;d<u;d++){for(l=0;l<s;l++)t(a,f,e()),f+=o;f+=i}}aB.exports=aTr});var oB=c((Mfe,iB)=>{"use strict";function tTr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m;for(s=r.shape,l=r.strides,r.order==="row-major"?(u=s[2],v=s[1],f=s[0],o=l[2],i=l[1]-u*l[2],n=l[0]-v*l[1]):(u=s[0],v=s[1],f=s[2],o=l[0],i=l[1]-u*l[0],n=l[2]-v*l[1]),d=r.offset,a=r.data,t=r.accessors[1],m=0;m<f;m++){for(p=0;p<v;p++){for(y=0;y<u;y++)t(a,d,e()),d+=o;d+=i}d+=n}}iB.exports=tTr});var sB=c((Gfe,nB)=>{"use strict";function iTr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b;for(u=r.shape,y=r.strides,r.order==="row-major"?(v=u[3],f=u[2],l=u[1],d=u[0],o=y[3],i=y[2]-v*y[3],n=y[1]-f*y[2],s=y[0]-l*y[1]):(v=u[0],f=u[1],l=u[2],d=u[3],o=y[0],i=y[1]-v*y[0],n=y[2]-f*y[1],s=y[3]-l*y[2]),p=r.offset,a=r.data,t=r.accessors[1],b=0;b<d;b++){for(g=0;g<l;g++){for(h=0;h<f;h++){for(m=0;m<v;m++)t(a,p,e()),p+=o;p+=i}p+=n}p+=s}}nB.exports=iTr});var vB=c((Yfe,uB)=>{"use strict";function oTr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A;for(v=r.shape,m=r.strides,r.order==="row-major"?(f=v[4],l=v[3],d=v[2],y=v[1],p=v[0],o=m[4],i=m[3]-f*m[4],n=m[2]-l*m[3],s=m[1]-d*m[2],u=m[0]-y*m[1]):(f=v[0],l=v[1],d=v[2],y=v[3],p=v[4],o=m[0],i=m[1]-f*m[0],n=m[2]-l*m[1],s=m[3]-d*m[2],u=m[4]-y*m[3]),h=r.offset,a=r.data,t=r.accessors[1],A=0;A<p;A++){for(w=0;w<y;w++){for(S=0;S<d;S++){for(b=0;b<l;b++){for(g=0;g<f;g++)t(a,h,e()),h+=o;h+=i}h+=n}h+=s}h+=u}}uB.exports=oTr});var lB=c(($fe,fB)=>{"use strict";function nTr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E;for(f=r.shape,g=r.strides,r.order==="row-major"?(l=f[5],d=f[4],y=f[3],p=f[2],m=f[1],h=f[0],o=g[5],i=g[4]-l*g[5],n=g[3]-d*g[4],s=g[2]-y*g[3],u=g[1]-p*g[2],v=g[0]-m*g[1]):(l=f[0],d=f[1],y=f[2],p=f[3],m=f[4],h=f[5],o=g[0],i=g[1]-l*g[0],n=g[2]-d*g[1],s=g[3]-y*g[2],u=g[4]-p*g[3],v=g[5]-m*g[4]),b=r.offset,a=r.data,t=r.accessors[1],E=0;E<h;E++){for(x=0;x<m;x++){for(_=0;_<p;_++){for(A=0;A<y;A++){for(w=0;w<d;w++){for(S=0;S<l;S++)t(a,b,e()),b+=o;b+=i}b+=n}b+=s}b+=u}b+=v}}fB.exports=nTr});var dB=c((Wfe,cB)=>{"use strict";function sTr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j;for(l=r.shape,S=r.strides,r.order==="row-major"?(d=l[6],y=l[5],p=l[4],m=l[3],h=l[2],g=l[1],b=l[0],o=S[6],i=S[5]-d*S[6],n=S[4]-y*S[5],s=S[3]-p*S[4],u=S[2]-m*S[3],v=S[1]-h*S[2],f=S[0]-g*S[1]):(d=l[0],y=l[1],p=l[2],m=l[3],h=l[4],g=l[5],b=l[6],o=S[0],i=S[1]-d*S[0],n=S[2]-y*S[1],s=S[3]-p*S[2],u=S[4]-m*S[3],v=S[5]-h*S[4],f=S[6]-g*S[5]),w=r.offset,a=r.data,t=r.accessors[1],j=0;j<b;j++){for(T=0;T<g;T++){for(q=0;q<h;q++){for(E=0;E<m;E++){for(x=0;x<p;x++){for(_=0;_<y;_++){for(A=0;A<d;A++)t(a,w,e()),w+=o;w+=i}w+=n}w+=s}w+=u}w+=v}w+=f}}cB.exports=sTr});var yB=c((Jfe,pB)=>{"use strict";function uTr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D;for(d=r.shape,A=r.strides,r.order==="row-major"?(y=d[7],p=d[6],m=d[5],h=d[4],g=d[3],b=d[2],S=d[1],w=d[0],o=A[7],i=A[6]-y*A[7],n=A[5]-p*A[6],s=A[4]-m*A[5],u=A[3]-h*A[4],v=A[2]-g*A[3],f=A[1]-b*A[2],l=A[0]-S*A[1]):(y=d[0],p=d[1],m=d[2],h=d[3],g=d[4],b=d[5],S=d[6],w=d[7],o=A[0],i=A[1]-y*A[0],n=A[2]-p*A[1],s=A[3]-m*A[2],u=A[4]-h*A[3],v=A[5]-g*A[4],f=A[6]-b*A[5],l=A[7]-S*A[6]),_=r.offset,a=r.data,t=r.accessors[1],D=0;D<w;D++){for(I=0;I<S;I++){for(O=0;O<b;O++){for(j=0;j<g;j++){for(T=0;T<h;T++){for(q=0;q<m;q++){for(E=0;E<p;E++){for(x=0;x<y;x++)t(a,_,e()),_+=o;_+=i}_+=n}_+=s}_+=u}_+=v}_+=f}_+=l}}pB.exports=uTr});var hB=c((Xfe,mB)=>{"use strict";function vTr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F;for(y=r.shape,x=r.strides,r.order==="row-major"?(p=y[8],m=y[7],h=y[6],g=y[5],b=y[4],S=y[3],w=y[2],A=y[1],_=y[0],o=x[8],i=x[7]-p*x[8],n=x[6]-m*x[7],s=x[5]-h*x[6],u=x[4]-g*x[5],v=x[3]-b*x[4],f=x[2]-S*x[3],l=x[1]-w*x[2],d=x[0]-A*x[1]):(p=y[0],m=y[1],h=y[2],g=y[3],b=y[4],S=y[5],w=y[6],A=y[7],_=y[8],o=x[0],i=x[1]-p*x[0],n=x[2]-m*x[1],s=x[3]-h*x[2],u=x[4]-g*x[3],v=x[5]-b*x[4],f=x[6]-S*x[5],l=x[7]-w*x[6],d=x[8]-A*x[7]),E=r.offset,a=r.data,t=r.accessors[1],F=0;F<_;F++){for(N=0;N<A;N++){for(k=0;k<w;k++){for(D=0;D<S;D++){for(I=0;I<b;I++){for(O=0;O<g;O++){for(j=0;j<h;j++){for(T=0;T<m;T++){for(q=0;q<p;q++)t(a,E,e()),E+=o;E+=i}E+=n}E+=s}E+=u}E+=v}E+=f}E+=l}E+=d}}mB.exports=vTr});var bB=c((Kfe,gB)=>{"use strict";function fTr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z;for(p=r.shape,q=r.strides,r.order==="row-major"?(m=p[9],h=p[8],g=p[7],b=p[6],S=p[5],w=p[4],A=p[3],_=p[2],x=p[1],E=p[0],o=q[9],i=q[8]-m*q[9],n=q[7]-h*q[8],s=q[6]-g*q[7],u=q[5]-b*q[6],v=q[4]-S*q[5],f=q[3]-w*q[4],l=q[2]-A*q[3],d=q[1]-_*q[2],y=q[0]-x*q[1]):(m=p[0],h=p[1],g=p[2],b=p[3],S=p[4],w=p[5],A=p[6],_=p[7],x=p[8],E=p[9],o=q[0],i=q[1]-m*q[0],n=q[2]-h*q[1],s=q[3]-g*q[2],u=q[4]-b*q[3],v=q[5]-S*q[4],f=q[6]-w*q[5],l=q[7]-A*q[6],d=q[8]-_*q[7],y=q[9]-x*q[8]),T=r.offset,a=r.data,t=r.accessors[1],z=0;z<E;z++){for(B=0;B<x;B++){for(R=0;R<_;R++){for(F=0;F<A;F++){for(N=0;N<w;N++){for(k=0;k<S;k++){for(D=0;D<b;D++){for(I=0;I<g;I++){for(O=0;O<h;O++){for(j=0;j<m;j++)t(a,T,e()),T+=o;T+=i}T+=n}T+=s}T+=u}T+=v}T+=f}T+=l}T+=d}T+=y}}gB.exports=fTr});var qB=c((Hfe,xB)=>{"use strict";var lTr=Jr(),cTr=na(),dTr="throw";function pTr(r,e){var a,t,o,i,n,s,u,v,f;for(n=r.shape,o=lTr(n),a=r.data,s=r.strides,u=r.offset,t=r.order,i=r.accessors[1],f=0;f<o;f++)v=cTr(n,s,u,t,f,dTr),i(a,v,e())}xB.exports=pTr});var SB=c((Zfe,wB)=>{"use strict";function yTr(r,e){r.data[r.offset]=e()}wB.exports=yTr});var AB=c((Qfe,EB)=>{"use strict";function mTr(r,e){var a,t,o,i,n;for(o=r.shape[0],t=r.strides[0],i=r.offset,a=r.data,n=0;n<o;n++)a[i]=e(),i+=t}EB.exports=mTr});var TB=c((rle,_B)=>{"use strict";function hTr(r,e){var a,t,o,i,n,s,u,v,f,l;for(i=r.shape,u=r.strides,r.order==="row-major"?(n=i[1],s=i[0],t=u[1],o=u[0]-n*u[1]):(n=i[0],s=i[1],t=u[0],o=u[1]-n*u[0]),v=r.offset,a=r.data,l=0;l<s;l++){for(f=0;f<n;f++)a[v]=e(),v+=t;v+=o}}_B.exports=hTr});var IB=c((ele,jB)=>{"use strict";function gTr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p;for(n=r.shape,f=r.strides,r.order==="row-major"?(s=n[2],u=n[1],v=n[0],t=f[2],o=f[1]-s*f[2],i=f[0]-u*f[1]):(s=n[0],u=n[1],v=n[2],t=f[0],o=f[1]-s*f[0],i=f[2]-u*f[1]),l=r.offset,a=r.data,p=0;p<v;p++){for(y=0;y<u;y++){for(d=0;d<s;d++)a[l]=e(),l+=t;l+=o}l+=i}}jB.exports=gTr});var NB=c((ale,OB)=>{"use strict";function bTr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g;for(s=r.shape,d=r.strides,r.order==="row-major"?(u=s[3],v=s[2],f=s[1],l=s[0],t=d[3],o=d[2]-u*d[3],i=d[1]-v*d[2],n=d[0]-f*d[1]):(u=s[0],v=s[1],f=s[2],l=s[3],t=d[0],o=d[1]-u*d[0],i=d[2]-v*d[1],n=d[3]-f*d[2]),y=r.offset,a=r.data,g=0;g<l;g++){for(h=0;h<f;h++){for(m=0;m<v;m++){for(p=0;p<u;p++)a[y]=e(),y+=t;y+=o}y+=i}y+=n}}OB.exports=bTr});var kB=c((tle,DB)=>{"use strict";function xTr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w;for(u=r.shape,p=r.strides,r.order==="row-major"?(v=u[4],f=u[3],l=u[2],d=u[1],y=u[0],t=p[4],o=p[3]-v*p[4],i=p[2]-f*p[3],n=p[1]-l*p[2],s=p[0]-d*p[1]):(v=u[0],f=u[1],l=u[2],d=u[3],y=u[4],t=p[0],o=p[1]-v*p[0],i=p[2]-f*p[1],n=p[3]-l*p[2],s=p[4]-d*p[3]),m=r.offset,a=r.data,w=0;w<y;w++){for(S=0;S<d;S++){for(b=0;b<l;b++){for(g=0;g<f;g++){for(h=0;h<v;h++)a[m]=e(),m+=t;m+=o}m+=i}m+=n}m+=s}}DB.exports=xTr});var FB=c((ile,BB)=>{"use strict";function qTr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x;for(v=r.shape,h=r.strides,r.order==="row-major"?(f=v[5],l=v[4],d=v[3],y=v[2],p=v[1],m=v[0],t=h[5],o=h[4]-f*h[5],i=h[3]-l*h[4],n=h[2]-d*h[3],s=h[1]-y*h[2],u=h[0]-p*h[1]):(f=v[0],l=v[1],d=v[2],y=v[3],p=v[4],m=v[5],t=h[0],o=h[1]-f*h[0],i=h[2]-l*h[1],n=h[3]-d*h[2],s=h[4]-y*h[3],u=h[5]-p*h[4]),g=r.offset,a=r.data,x=0;x<m;x++){for(_=0;_<p;_++){for(A=0;A<y;A++){for(w=0;w<d;w++){for(S=0;S<l;S++){for(b=0;b<f;b++)a[g]=e(),g+=t;g+=o}g+=i}g+=n}g+=s}g+=u}}BB.exports=qTr});var zB=c((ole,RB)=>{"use strict";function wTr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T;for(f=r.shape,b=r.strides,r.order==="row-major"?(l=f[6],d=f[5],y=f[4],p=f[3],m=f[2],h=f[1],g=f[0],t=b[6],o=b[5]-l*b[6],i=b[4]-d*b[5],n=b[3]-y*b[4],s=b[2]-p*b[3],u=b[1]-m*b[2],v=b[0]-h*b[1]):(l=f[0],d=f[1],y=f[2],p=f[3],m=f[4],h=f[5],g=f[6],t=b[0],o=b[1]-l*b[0],i=b[2]-d*b[1],n=b[3]-y*b[2],s=b[4]-p*b[3],u=b[5]-m*b[4],v=b[6]-h*b[5]),S=r.offset,a=r.data,T=0;T<g;T++){for(q=0;q<h;q++){for(E=0;E<m;E++){for(x=0;x<p;x++){for(_=0;_<y;_++){for(A=0;A<d;A++){for(w=0;w<l;w++)a[S]=e(),S+=t;S+=o}S+=i}S+=n}S+=s}S+=u}S+=v}}RB.exports=wTr});var UB=c((nle,VB)=>{"use strict";function STr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I;for(l=r.shape,w=r.strides,r.order==="row-major"?(d=l[7],y=l[6],p=l[5],m=l[4],h=l[3],g=l[2],b=l[1],S=l[0],t=w[7],o=w[6]-d*w[7],i=w[5]-y*w[6],n=w[4]-p*w[5],s=w[3]-m*w[4],u=w[2]-h*w[3],v=w[1]-g*w[2],f=w[0]-b*w[1]):(d=l[0],y=l[1],p=l[2],m=l[3],h=l[4],g=l[5],b=l[6],S=l[7],t=w[0],o=w[1]-d*w[0],i=w[2]-y*w[1],n=w[3]-p*w[2],s=w[4]-m*w[3],u=w[5]-h*w[4],v=w[6]-g*w[5],f=w[7]-b*w[6]),A=r.offset,a=r.data,I=0;I<S;I++){for(O=0;O<b;O++){for(j=0;j<g;j++){for(T=0;T<h;T++){for(q=0;q<m;q++){for(E=0;E<p;E++){for(x=0;x<y;x++){for(_=0;_<d;_++)a[A]=e(),A+=t;A+=o}A+=i}A+=n}A+=s}A+=u}A+=v}A+=f}}VB.exports=STr});var PB=c((sle,CB)=>{"use strict";function ETr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N;for(d=r.shape,_=r.strides,r.order==="row-major"?(y=d[8],p=d[7],m=d[6],h=d[5],g=d[4],b=d[3],S=d[2],w=d[1],A=d[0],t=_[8],o=_[7]-y*_[8],i=_[6]-p*_[7],n=_[5]-m*_[6],s=_[4]-h*_[5],u=_[3]-g*_[4],v=_[2]-b*_[3],f=_[1]-S*_[2],l=_[0]-w*_[1]):(y=d[0],p=d[1],m=d[2],h=d[3],g=d[4],b=d[5],S=d[6],w=d[7],A=d[8],t=_[0],o=_[1]-y*_[0],i=_[2]-p*_[1],n=_[3]-m*_[2],s=_[4]-h*_[3],u=_[5]-g*_[4],v=_[6]-b*_[5],f=_[7]-S*_[6],l=_[8]-w*_[7]),x=r.offset,a=r.data,N=0;N<A;N++){for(k=0;k<w;k++){for(D=0;D<S;D++){for(I=0;I<b;I++){for(O=0;O<g;O++){for(j=0;j<h;j++){for(T=0;T<m;T++){for(q=0;q<p;q++){for(E=0;E<y;E++)a[x]=e(),x+=t;x+=o}x+=i}x+=n}x+=s}x+=u}x+=v}x+=f}x+=l}}CB.exports=ETr});var MB=c((ule,LB)=>{"use strict";function ATr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B;for(y=r.shape,E=r.strides,r.order==="row-major"?(p=y[9],m=y[8],h=y[7],g=y[6],b=y[5],S=y[4],w=y[3],A=y[2],_=y[1],x=y[0],t=E[9],o=E[8]-p*E[9],i=E[7]-m*E[8],n=E[6]-h*E[7],s=E[5]-g*E[6],u=E[4]-b*E[5],v=E[3]-S*E[4],f=E[2]-w*E[3],l=E[1]-A*E[2],d=E[0]-_*E[1]):(p=y[0],m=y[1],h=y[2],g=y[3],b=y[4],S=y[5],w=y[6],A=y[7],_=y[8],x=y[9],t=E[0],o=E[1]-p*E[0],i=E[2]-m*E[1],n=E[3]-h*E[2],s=E[4]-g*E[3],u=E[5]-b*E[4],v=E[6]-S*E[5],f=E[7]-w*E[6],l=E[8]-A*E[7],d=E[9]-_*E[8]),q=r.offset,a=r.data,B=0;B<x;B++){for(R=0;R<_;R++){for(F=0;F<A;F++){for(N=0;N<w;N++){for(k=0;k<S;k++){for(D=0;D<b;D++){for(I=0;I<g;I++){for(O=0;O<h;O++){for(j=0;j<m;j++){for(T=0;T<p;T++)a[q]=e(),q+=t;q+=o}q+=i}q+=n}q+=s}q+=u}q+=v}q+=f}q+=l}q+=d}}LB.exports=ATr});var YB=c((vle,GB)=>{"use strict";var _Tr=Jr(),TTr=na(),jTr="throw";function ITr(r,e){var a,t,o,i,n,s,u,v;for(i=r.shape,o=_Tr(i),a=r.data,n=r.strides,s=r.offset,t=r.order,v=0;v<o;v++)u=TTr(i,n,s,t,v,jTr),a[u]=e()}GB.exports=ITr});var JB=c((fle,WB)=>{"use strict";var OTr=Ea(),NTr=et(),DTr=ei(),kTr=hk(),BTr=bk(),FTr=qk(),RTr=Sk(),zTr=Ak(),VTr=Tk(),UTr=Ik(),CTr=Nk(),PTr=kk(),LTr=Fk(),MTr=zk(),GTr=Uk(),YTr=Pk(),$Tr=Mk(),WTr=Yk(),JTr=Wk(),XTr=Xk(),KTr=Hk(),HTr=Qk(),ZTr=eB(),QTr=tB(),rjr=oB(),ejr=sB(),ajr=vB(),tjr=lB(),ijr=dB(),ojr=yB(),njr=hB(),sjr=bB(),ujr=qB(),vjr=SB(),fjr=AB(),ljr=TB(),cjr=IB(),djr=NB(),pjr=kB(),yjr=FB(),mjr=zB(),hjr=UB(),gjr=PB(),bjr=MB(),xjr=YB(),_i=[vjr,fjr,ljr,cjr,djr,pjr,yjr,mjr,hjr,gjr,bjr],Io=[HTr,ZTr,QTr,rjr,ejr,ajr,tjr,ijr,ojr,njr,sjr],qjr=[LTr,MTr,GTr,YTr,$Tr,WTr,JTr,XTr,KTr],wjr=[kTr,BTr,FTr,RTr,zTr,VTr,UTr,CTr,PTr],$B=_i.length-1;function Sjr(r,e){var a,t,o,i,n,s,u,v,f,l,d;if(f=DTr(r[0]),o=f.shape,a=o.length,a===0)return f.accessorProtocol?Io[a](f,e):_i[a](f,e);for(n=1,v=0,d=0;d<a;d++)l=o[d],n*=l,l===1&&(v+=1);if(n!==0){if(a===1)return f.accessorProtocol?Io[a](f,e):_i[a](f,e);if(s=f.strides,v===a-1){for(d=0;d<a&&o[d]===1;d++);return f.shape=[o[d]],f.strides=[s[d]],f.accessorProtocol?Io[1](f,e):_i[1](f,e)}if(i=OTr(s),i!==0){if(t=NTr(o,s,f.offset),n===t[1]-t[0]+1)return i===1?u=t[0]:u=t[1],f.shape=[n],f.strides=[i],f.offset=u,f.accessorProtocol?Io[1](f,e):_i[1](f,e);if(a<=$B)return f.accessorProtocol?Io[a](f,e):_i[a](f,e)}if(a<=$B)return f.accessorProtocol?wjr[a-2](f,e):qjr[a-2](f,e);if(f.accessorProtocol)return ujr(f,e);xjr(f,e)}}WB.exports=Sjr});var KB=c((lle,XB)=>{"use strict";var Ejr=JB();XB.exports=Ejr});var QB=c((cle,ZB)=>{"use strict";var Ajr=ya(),_jr=Ua(),Tjr=Te(),HB=pr();function jjr(r,e){var a,t;if(a=_jr(r),a===0)throw new TypeError(HB("invalid argument. First argument must be an ndarray having one or more dimensions. Number of dimensions: %d.",a));if(t=Ajr(e,a-1),t===-1)throw new RangeError(HB("invalid argument. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: `%d`.",a,e));return Tjr(r,!1)[t]}ZB.exports=jjr});var Mf=c((dle,rF)=>{"use strict";var Ijr=QB();rF.exports=Ijr});var eF=c((ple,Ojr)=>{Ojr.exports=["same","promoted","bool","signed_integer","unsigned_integer","integer","floating_point","real_floating_point","complex_floating_point","real","numeric","default"]});var tF=c((yle,aF)=>{"use strict";var Njr=eF();function Djr(){return Njr.slice()}aF.exports=Djr});var oF=c((mle,iF)=>{"use strict";function kjr(){return{same:0,promoted:1,bool:2,signed_integer:3,unsigned_integer:4,integer:5,floating_point:6,real_floating_point:7,complex_floating_point:8,real:9,numeric:10,default:11}}iF.exports=kjr});var sF=c((hle,nF)=>{"use strict";var Bjr=zt(),Fjr=Aa();function Rjr(r,e){var a,t,o;for(a=Fjr(e),o=0;o<a.length;o++)t=a[o],Bjr(r,t,e[t]);return r}nF.exports=Rjr});var rs=c((gle,vF)=>{"use strict";var zjr=Ir(),Gf=tF(),uF=oF(),Vjr=sF();zjr(Gf,"enum",uF);Vjr(Gf,uF());vF.exports=Gf});var lF=c((ble,fF)=>{"use strict";var Ujr=qn(),Cjr=rs().enum,Pjr=Ujr(Cjr(),{duplicates:!1});function Ljr(r){var e=Pjr[r];return typeof e=="string"?e:null}fF.exports=Ljr});var es=c((xle,cF)=>{"use strict";var Mjr=lF();cF.exports=Mjr});var pF=c((qle,dF)=>{"use strict";var Gjr=rs().enum,Yjr=Gjr();function $jr(r){var e=Yjr[r];return typeof e=="number"?e:null}dF.exports=$jr});var as=c((wle,yF)=>{"use strict";var Wjr=pF();yF.exports=Wjr});var hF=c((Sle,mF)=>{"use strict";var Jjr=es(),Xjr=as();function Kjr(r){var e=typeof r;return e==="number"?Jjr(r)?r:null:e==="string"?Xjr(r):null}mF.exports=Kjr});var bF=c((Ele,gF)=>{"use strict";var Hjr=hF();gF.exports=Hjr});var qF=c((Ale,xF)=>{"use strict";var Zjr=es(),Qjr=as();function rIr(r){var e=typeof r;return e==="string"?Qjr(r)===null?null:r:e==="number"?Zjr(r):null}xF.exports=rIr});var SF=c((_le,wF)=>{"use strict";var eIr=qF();wF.exports=eIr});var IF=c((Tle,jF)=>{"use strict";var aIr=Le(),EF=Xe(),tIr=Te(),iIr=ba(),AF=Ha(),_F=sa(),TF=ft();function oIr(r,e){var a,t,o,i,n,s;for(o=tIr(r,!1),i=iIr(r,!1),n=o.length,a=[],t=[],s=0;s<e;s++)t.push(1),a.push(i[0]);for(s=0;s<n;s++)t.push(o[s]),a.push(i[s]);return aIr(r)?new r.constructor(EF(r),TF(r),t,a,AF(r),_F(r),{readonly:!0}):new r.constructor(EF(r),TF(r),t,a,AF(r),_F(r))}jF.exports=oIr});var NF=c((jle,OF)=>{"use strict";var nIr=IF();OF.exports=nIr});var zF=c((Ile,RF)=>{"use strict";var sIr=Le(),DF=Xe(),uIr=Te(),vIr=ba(),kF=Ha(),BF=sa(),FF=ft();function fIr(r){var e,a,t,o,i,n;for(t=uIr(r,!1),o=vIr(r,!1),i=t.length,e=[],a=[],n=0;n<i;n++)t[n]!==1&&(a.push(t[n]),e.push(o[n]));return a.length===i?r:sIr(r)?new r.constructor(DF(r),FF(r),a,e,kF(r),BF(r),{readonly:!0}):new r.constructor(DF(r),FF(r),a,e,kF(r),BF(r))}RF.exports=fIr});var UF=c((Ole,VF)=>{"use strict";var lIr=zF();VF.exports=lIr});var PF=c((Nle,CF)=>{"use strict";var cIr=he(),dIr=Ce(),pIr=bo(),yIr=ye(),mIr=Ua();function hIr(r,e){var a=pIr(new dIr(null,null,-1),mIr(r));return yIr(r,cIr(a),!0,e)}CF.exports=hIr});var MF=c((Dle,LF)=>{"use strict";var gIr=PF();LF.exports=gIr});var $F=c((kle,YF)=>{"use strict";var It=Gt(),bIr=li(),xIr=Yt(),Oo=Ou(),qIr=xt(),wIr=Be().enum,SIr=$t().enum,EIr=Wt().enum,AIr=Xe(),_Ir=Te(),TIr=ba(),jIr=Ha(),IIr=sa(),OIr=wIr(),NIr=SIr(),GF=EIr();function DIr(r){var e,a,t,o,i,n,s,u,v,f,l,d,y,p;if(r.__array_meta_dataview__)return r.__array_meta_dataview__();for(o=AIr(r),i=_Ir(r,!1),n=TIr(r,!1),d=i.length,v=r.mode||"throw",s=r.submode||[v],y=s.length,e=qIr(o),t=33+d*16+y,u=new xIr(new bIr(t)),f=0,u.setInt8(f,It?1:0),f+=1,u.setInt16(f,OIr[o],It),f+=2,u.setBigInt64(f,Oo(d),It),l=d*8,f+=8,p=0;p<d;p++)u.setBigInt64(f,Oo(i[p]),It),u.setBigInt64(f+l,Oo(n[p]*e),It),f+=8;for(f+=l,u.setBigInt64(f,Oo(jIr(r)*e),It),f+=8,u.setInt8(f,NIr[IIr(r)]),f+=1,u.setInt8(f,GF[v]),f+=1,u.setBigInt64(f,Oo(y),It),f+=8,p=0;p<y;p++)u.setInt8(f,GF[s[p]]),f+=1;return a=0,r.flags&&(a|=r.flags.READONLY?4:0),u.setInt32(f,a,It),u}YF.exports=DIr});var XF=c((Ble,JF)=>{"use strict";var Yf=Gt(),No=Gu().assign,kIr=li(),BIr=va(),FIr=Yt(),RIr=xt(),zIr=Be().enum,VIr=$t().enum,UIr=Wt().enum,CIr=Xe(),PIr=Te(),LIr=ba(),MIr=Ha(),GIr=sa(),YIr=zIr(),$Ir=VIr(),WF=UIr();function WIr(r){var e,a,t,o,i,n,s,u,v,f,l,d,y,p,m;if(r.__array_meta_dataview__)return r.__array_meta_dataview__();for(i=CIr(r),n=PIr(r,!1),s=LIr(r,!1),y=n.length,f=r.mode||"throw",u=r.submode||[f],p=u.length,e=RIr(i),o=33+y*16+p,v=new FIr(new kIr(o)),a=new BIr(v.buffer),l=0,v.setInt8(l,Yf?1:0),l+=1,v.setInt16(l,YIr[i],Yf),l+=2,No(y,a,1,l),d=y*8,l+=8,m=0;m<y;m++)No(n[m],a,1,l),No(s[m]*e,a,1,l+d),l+=8;for(l+=d,No(MIr(r)*e,a,1,l),l+=8,v.setInt8(l,$Ir[GIr(r)]),l+=1,v.setInt8(l,WF[f]),l+=1,No(p,a,1,l),l+=8,m=0;m<p;m++)v.setInt8(l,WF[u[m]]),l+=1;return t=0,r.flags&&(t|=r.flags.READONLY?4:0),v.setInt32(l,t,Yf),v}JF.exports=WIr});var HF=c((Fle,KF)=>{"use strict";var JIr=du(),XIr=$F(),KIr=XF(),$f;JIr()?$f=XIr:$f=KIr;KF.exports=$f});var QF=c((Rle,ZF)=>{"use strict";function HIr(r){var e,a;for(e=0,a=0;a<r.length;a++)r[a]===1&&(e+=1);return e}ZF.exports=HIr});var eR=c((zle,rR)=>{"use strict";var ZIr=QF();rR.exports=ZIr});var iR=c((Vle,tR)=>{"use strict";var QIr=jn(),rOr=_o(),eOr=hf(),aOr=ye(),aR=Xe(),tOr=Te(),iOr=pr();function oOr(r,e,a,t){var o,i,n;if(i=aR(r),n=aR(e),!QIr(i,n))throw new TypeError(iOr("invalid argument. Input array values cannot be safely cast to the output array data type. Data types: [%s, %s].",i,n));return o=aOr(e,a,t,!0),r=rOr(r,tOr(o,!0)),eOr([r,o]),e}tR.exports=oOr});var ts=c((Ule,oR)=>{"use strict";var nOr=iR();oR.exports=nOr});var uR=c((Cle,sR)=>{"use strict";var sOr=he(),uOr=Ua(),vOr=ye(),fOr=ya(),lOr=Ei(),nR=pr();function cOr(r,e,a,t,o){var i,n,s;if(n=uOr(r),n===0)throw new TypeError(nR("invalid argument. First argument must be an ndarray having one or more dimensions. Number of dimensions: %d.",n));if(s=fOr(e,n-1),s===-1)throw new RangeError(nR("invalid argument. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: `%d`.",n,e));return i=lOr(n),i[s]=a,vOr(r,sOr(i),t,o)}sR.exports=cOr});var Wf=c((Ple,vR)=>{"use strict";var dOr=uR();vR.exports=dOr});var cR=c((Lle,lR)=>{"use strict";var pOr=he(),yOr=Ce(),mOr=Ua(),hOr=ye(),gOr=ya(),bOr=Ei(),fR=pr();function xOr(r,e,a,t,o){var i,n,s;if(n=mOr(r),n===0)throw new TypeError(fR("invalid argument. First argument must be an ndarray having one or more dimensions. Number of dimensions: %d.",n));if(s=gOr(e,n-1),s===-1)throw new RangeError(fR("invalid argument. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: `%d`.",n,e));return i=bOr(n),i[s]=new yOr(a,null),hOr(r,pOr(i),t,o)}lR.exports=xOr});var Jf=c((Mle,dR)=>{"use strict";var qOr=cR();dR.exports=qOr});var mR=c((Gle,yR)=>{"use strict";var wOr=he(),SOr=Ce(),EOr=Ua(),AOr=ye(),_Or=ya(),TOr=Ei(),pR=pr();function jOr(r,e,a,t,o){var i,n,s;if(n=EOr(r),n===0)throw new TypeError(pR("invalid argument. First argument must be an ndarray having one or more dimensions. Number of dimensions: %d.",n));if(s=_Or(e,n-1),s===-1)throw new RangeError(pR("invalid argument. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: `%d`.",n,e));return i=TOr(n),i[s]=new SOr(a),AOr(r,wOr(i),t,o)}yR.exports=jOr});var Xf=c((Yle,hR)=>{"use strict";var IOr=mR();hR.exports=IOr});var xR=c(($le,bR)=>{"use strict";var OOr=Ge().isPrimitive,NOr=he(),gR=Ce(),DOr=Te(),kOr=ye();function BOr(r,e,a,t){var o,i,n,s;for(i=DOr(r),o=[],s=0;s<e.length;s++)n=e[s],OOr(n)&&n!==0?n===i[s]?(n-=1,o.push(new gR(n,n))):o.push(new gR(n,null)):o.push(null);return kOr(r,NOr(o),a,t)}bR.exports=BOr});var Kf=c((Wle,qR)=>{"use strict";var FOr=xR();qR.exports=FOr});var SR=c((Jle,wR)=>{"use strict";var ROr=Ge().isPrimitive,zOr=he(),VOr=Ce(),UOr=ye();function COr(r,e,a,t){var o,i;for(o=[],i=0;i<e.length;i++)ROr(e[i])?o.push(new VOr(e[i])):o.push(null);return UOr(r,zOr(o),a,t)}wR.exports=COr});var Hf=c((Xle,ER)=>{"use strict";var POr=SR();ER.exports=POr});var TR=c((Kle,_R)=>{"use strict";var LOr=ya(),MOr=Ua(),GOr=ba(),AR=pr();function YOr(r,e){var a,t;if(a=MOr(r),a===0)throw new TypeError(AR("invalid argument. First argument must be an ndarray having one or more dimensions. Number of dimensions: %d.",a));if(t=LOr(e,a-1),t===-1)throw new RangeError(AR("invalid argument. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: `%d`.",a,e));return GOr(r,!1)[t]}_R.exports=YOr});var Zf=c((Hle,jR)=>{"use strict";var $Or=TR();jR.exports=$Or});var OR=c((Zle,IR)=>{"use strict";var WOr=pr();function JOr(){var r,e,a,t,o,i,n,s,u,v,f,l;for(t=arguments[0],r=arguments[1],e=arguments[2],o=t.length,i=arguments[3+o],a=i.length,s=e,l=0;l<o;l++){if(u=t[l],f=arguments[l+3],n=i[l%a],n==="clamp")f<0?f=0:f>=u&&(f=u-1);else if(n==="wrap")f<0?(f+=u,f<0&&(f%=u,f!==0&&(f+=u))):f>=u&&(f-=u,f>=u&&(f%=u));else if(n==="normalize"&&f<0&&(f+=u),f<0||f>=u)throw new RangeError(WOr("invalid argument. Subscripts must not exceed array dimensions. Subscript: `%u`. Value: `%d`.",l,f));v=r[l],v<0&&e===0?s-=f*v:s+=f*v}return s}IR.exports=JOr});var Qf=c((Qle,NR)=>{"use strict";var XOr=OR();NR.exports=XOr});var BR=c((rce,kR)=>{"use strict";function DR(r,e,a,t,o,i){var n,s,u,v,f;if(i>=e.length)return r.accessors[0](r.data,t);for(u=[],v=e[i],n=a[i],f=0;f<v;f++)s=DR(r,e,a,t,o,i+1),u.push(s),t+=n;return u}kR.exports=DR});var RR=c((ece,FR)=>{"use strict";var KOr=vt(),HOr=BR();function ZOr(r,e,a,t,o){var i;if(e.length===0)return[];for(i=0;i<e.length;i++)if(e[i]===0)return[];return HOr(KOr(r),e,a,t,o,0)}FR.exports=ZOr});var rl=c((ace,zR)=>{"use strict";var QOr=RR();zR.exports=QOr});var UR=c((tce,VR)=>{"use strict";var r7r=Ye(),e7r=Xe(),a7r=Te(),t7r=ba(),i7r=sa(),o7r=ft();function n7r(r){var e,a,t,o;if(a=a7r(r,!0),o=a.length,o<2)throw new Error("invalid argument. Must provide an ndarray having two or more dimensions.");return t=t7r(r,!0),e=a[o-2],a[o-2]=a[o-1],a[o-1]=e,e=t[o-2],t[o-2]=t[o-1],t[o-1]=e,new r.constructor(e7r(r),o7r(r),a,t,r7r(a,t),i7r(r))}VR.exports=n7r});var PR=c((ice,CR)=>{"use strict";var s7r=UR();CR.exports=s7r});var MR=c((oce,LR)=>{"use strict";var u7r=zr(),v7r=Rr();function f7r(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j;for(j=u7r(r.shape,r.strides,e.strides),p=j.sh,g=j.sx,b=j.sy,t=v7r(r.dtype,e.dtype),S=r.offset,w=e.offset,o=r.data,i=e.data,u=g[0],f=b[0],n=r.accessors[0],s=e.accessors[1],T=p[1];T>0;)for(T<t?(h=T,T=0):(h=t,T-=t),d=S+T*g[1],y=w+T*b[1],q=p[0];q>0;)for(q<t?(m=q,q=0):(m=t,q-=t),A=d+q*g[0],_=y+q*b[0],v=g[1]-m*g[0],l=b[1]-m*b[0],E=0;E<h;E++){for(x=0;x<m;x++)s(i,_,a(n(o,A))),A+=u,_+=f;A+=v,_+=l}}LR.exports=f7r});var YR=c((nce,GR)=>{"use strict";var l7r=zr(),c7r=Rr();function d7r(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R;for(R=l7r(r.shape,r.strides,e.strides),b=R.sh,_=R.sx,x=R.sy,t=c7r(r.dtype,e.dtype),E=r.offset,q=e.offset,o=r.data,i=e.data,u=_[0],l=x[0],n=r.accessors[0],s=e.accessors[1],F=b[2];F>0;)for(F<t?(A=F,F=0):(A=t,F-=t),m=E+F*_[2],g=q+F*x[2],N=b[1];N>0;)for(N<t?(w=N,N=0):(w=t,N-=t),f=_[2]-w*_[1],y=x[2]-w*x[1],p=m+N*_[1],h=g+N*x[1],k=b[0];k>0;)for(k<t?(S=k,k=0):(S=t,k-=t),T=p+k*_[0],j=h+k*x[0],v=_[1]-S*_[0],d=x[1]-S*x[0],D=0;D<A;D++){for(I=0;I<w;I++){for(O=0;O<S;O++)s(i,j,a(n(o,T))),T+=u,j+=l;T+=v,j+=d}T+=f,j+=y}}GR.exports=d7r});var WR=c((sce,$R)=>{"use strict";var p7r=zr(),y7r=Rr();function m7r(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L;for(L=p7r(r.shape,r.strides,e.strides),_=L.sh,j=L.sx,O=L.sy,t=y7r(r.dtype,e.dtype),I=r.offset,D=e.offset,o=r.data,i=e.data,u=j[0],d=O[0],n=r.accessors[0],s=e.accessors[1],P=_[3];P>0;)for(P<t?(T=P,P=0):(T=t,P-=t),b=I+P*j[3],A=D+P*O[3],C=_[2];C>0;)for(C<t?(q=C,C=0):(q=t,C-=t),l=j[3]-q*j[2],m=O[3]-q*O[2],g=b+C*j[2],w=A+C*O[2],U=_[1];U>0;)for(U<t?(E=U,U=0):(E=t,U-=t),f=j[2]-E*j[1],p=O[2]-E*O[1],h=g+U*j[1],S=w+U*O[1],V=_[0];V>0;)for(V<t?(x=V,V=0):(x=t,V-=t),k=h+V*j[0],N=S+V*O[0],v=j[1]-x*j[0],y=O[1]-x*O[0],z=0;z<T;z++){for(B=0;B<q;B++){for(R=0;R<E;R++){for(F=0;F<x;F++)s(i,N,a(n(o,k))),k+=u,N+=d;k+=v,N+=y}k+=f,N+=p}k+=l,N+=m}}$R.exports=m7r});var XR=c((uce,JR)=>{"use strict";var h7r=zr(),g7r=Rr();function b7r(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X;for(X=h7r(r.shape,r.strides,e.strides),T=X.sh,N=X.sx,F=X.sy,t=g7r(r.dtype,e.dtype),R=r.offset,B=e.offset,o=r.data,i=e.data,u=N[0],y=F[0],n=r.accessors[0],s=e.accessors[1],J=T[4];J>0;)for(J<t?(k=J,J=0):(k=t,J-=t),A=R+J*N[4],q=B+J*F[4],W=T[3];W>0;)for(W<t?(D=W,W=0):(D=t,W-=t),d=N[4]-D*N[3],g=F[4]-D*F[3],w=A+W*N[3],E=q+W*F[3],Y=T[2];Y>0;)for(Y<t?(I=Y,Y=0):(I=t,Y-=t),l=N[3]-I*N[2],h=F[3]-I*F[2],S=w+Y*N[2],x=E+Y*F[2],$=T[1];$>0;)for($<t?(O=$,$=0):(O=t,$-=t),f=N[2]-O*N[1],m=F[2]-O*F[1],b=S+$*N[1],_=x+$*F[1],G=T[0];G>0;)for(G<t?(j=G,G=0):(j=t,G-=t),z=b+G*N[0],V=_+G*F[0],v=N[1]-j*N[0],p=F[1]-j*F[0],M=0;M<k;M++){for(L=0;L<D;L++){for(P=0;P<I;P++){for(C=0;C<O;C++){for(U=0;U<j;U++)s(i,V,a(n(o,z))),z+=u,V+=y;z+=v,V+=p}z+=f,V+=m}z+=l,V+=h}z+=d,V+=g}}JR.exports=b7r});var HR=c((vce,KR)=>{"use strict";var x7r=zr(),q7r=Rr();function w7r(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er;for(er=x7r(r.shape,r.strides,e.strides),D=er.sh,V=er.sx,U=er.sy,t=q7r(r.dtype,e.dtype),C=r.offset,P=e.offset,o=r.data,i=e.data,u=V[0],p=U[0],n=r.accessors[0],s=e.accessors[1],ar=D[5];ar>0;)for(ar<t?(z=ar,ar=0):(z=t,ar-=t),E=C+ar*V[5],I=P+ar*U[5],rr=D[4];rr>0;)for(rr<t?(B=rr,rr=0):(B=t,rr-=t),y=V[5]-B*V[4],S=U[5]-B*U[4],x=E+rr*V[4],O=I+rr*U[4],Z=D[3];Z>0;)for(Z<t?(R=Z,Z=0):(R=t,Z-=t),d=V[4]-R*V[3],b=U[4]-R*U[3],_=x+Z*V[3],j=O+Z*U[3],Q=D[2];Q>0;)for(Q<t?(F=Q,Q=0):(F=t,Q-=t),l=V[3]-F*V[2],g=U[3]-F*U[2],A=_+Q*V[2],T=j+Q*U[2],H=D[1];H>0;)for(H<t?(N=H,H=0):(N=t,H-=t),f=V[2]-N*V[1],h=U[2]-N*U[1],w=A+H*V[1],q=T+H*U[1],K=D[0];K>0;)for(K<t?(k=K,K=0):(k=t,K-=t),L=w+K*V[0],M=q+K*U[0],v=V[1]-k*V[0],m=U[1]-k*U[0],X=0;X<z;X++){for(J=0;J<B;J++){for(W=0;W<R;W++){for(Y=0;Y<F;Y++){for($=0;$<N;$++){for(G=0;G<k;G++)s(i,M,a(n(o,L))),L+=u,M+=p;L+=v,M+=m}L+=f,M+=h}L+=l,M+=g}L+=d,M+=b}L+=y,M+=S}}KR.exports=w7r});var QR=c((fce,ZR)=>{"use strict";var S7r=zr(),E7r=Rr();function A7r(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr;for(vr=S7r(r.shape,r.strides,e.strides),R=vr.sh,M=vr.sx,G=vr.sy,t=E7r(r.dtype,e.dtype),$=r.offset,Y=e.offset,o=r.data,i=e.data,u=M[0],m=G[0],n=r.accessors[0],s=e.accessors[1],ur=R[6];ur>0;)for(ur<t?(L=ur,ur=0):(L=t,ur-=t),j=$+ur*M[6],F=Y+ur*G[6],sr=R[5];sr>0;)for(sr<t?(P=sr,sr=0):(P=t,sr-=t),p=M[6]-P*M[5],A=G[6]-P*G[5],T=j+sr*M[5],N=F+sr*G[5],nr=R[4];nr>0;)for(nr<t?(C=nr,nr=0):(C=t,nr-=t),y=M[5]-C*M[4],w=G[5]-C*G[4],q=T+nr*M[4],k=N+nr*G[4],or=R[3];or>0;)for(or<t?(U=or,or=0):(U=t,or-=t),d=M[4]-U*M[3],S=G[4]-U*G[3],E=q+or*M[3],D=k+or*G[3],tr=R[2];tr>0;)for(tr<t?(V=tr,tr=0):(V=t,tr-=t),l=M[3]-V*M[2],b=G[3]-V*G[2],x=E+tr*M[2],I=D+tr*G[2],ir=R[1];ir>0;)for(ir<t?(z=ir,ir=0):(z=t,ir-=t),f=M[2]-z*M[1],g=G[2]-z*G[1],_=x+ir*M[1],O=I+ir*G[1],er=R[0];er>0;)for(er<t?(B=er,er=0):(B=t,er-=t),W=_+er*M[0],J=O+er*G[0],v=M[1]-B*M[0],h=G[1]-B*G[0],ar=0;ar<L;ar++){for(rr=0;rr<P;rr++){for(Z=0;Z<C;Z++){for(Q=0;Q<U;Q++){for(H=0;H<V;H++){for(K=0;K<z;K++){for(X=0;X<B;X++)s(i,J,a(n(o,W))),W+=u,J+=m;W+=v,J+=h}W+=f,J+=g}W+=l,J+=b}W+=d,J+=S}W+=y,J+=w}W+=p,J+=A}}ZR.exports=A7r});var ez=c((lce,rz)=>{"use strict";var _7r=zr(),T7r=Rr();function j7r(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr,lr,fr,yr,dr,mr,hr,br;for(br=_7r(r.shape,r.strides,e.strides),U=br.sh,J=br.sx,X=br.sy,t=T7r(r.dtype,e.dtype),K=r.offset,H=e.offset,o=r.data,i=e.data,u=J[0],h=X[0],n=r.accessors[0],s=e.accessors[1],hr=U[7];hr>0;)for(hr<t?(W=hr,hr=0):(W=t,hr-=t),D=K+hr*J[7],V=H+hr*X[7],mr=U[6];mr>0;)for(mr<t?(Y=mr,mr=0):(Y=t,mr-=t),m=J[7]-Y*J[6],x=X[7]-Y*X[6],I=D+mr*J[6],z=V+mr*X[6],dr=U[5];dr>0;)for(dr<t?($=dr,dr=0):($=t,dr-=t),p=J[6]-$*J[5],_=X[6]-$*X[5],O=I+dr*J[5],B=z+dr*X[5],yr=U[4];yr>0;)for(yr<t?(G=yr,yr=0):(G=t,yr-=t),y=J[5]-G*J[4],A=X[5]-G*X[4],j=O+yr*J[4],R=B+yr*X[4],fr=U[3];fr>0;)for(fr<t?(M=fr,fr=0):(M=t,fr-=t),d=J[4]-M*J[3],w=X[4]-M*X[3],T=j+fr*J[3],F=R+fr*X[3],lr=U[2];lr>0;)for(lr<t?(L=lr,lr=0):(L=t,lr-=t),l=J[3]-L*J[2],S=X[3]-L*X[2],q=T+lr*J[2],N=F+lr*X[2],vr=U[1];vr>0;)for(vr<t?(P=vr,vr=0):(P=t,vr-=t),f=J[2]-P*J[1],b=X[2]-P*X[1],E=q+vr*J[1],k=N+vr*X[1],ur=U[0];ur>0;)for(ur<t?(C=ur,ur=0):(C=t,ur-=t),Q=E+ur*J[0],Z=k+ur*X[0],v=J[1]-C*J[0],g=X[1]-C*X[0],sr=0;sr<W;sr++){for(nr=0;nr<Y;nr++){for(or=0;or<$;or++){for(tr=0;tr<G;tr++){for(ir=0;ir<M;ir++){for(er=0;er<L;er++){for(ar=0;ar<P;ar++){for(rr=0;rr<C;rr++)s(i,Z,a(n(o,Q))),Q+=u,Z+=h;Q+=v,Z+=g}Q+=f,Z+=b}Q+=l,Z+=S}Q+=d,Z+=w}Q+=y,Z+=A}Q+=p,Z+=_}Q+=m,Z+=x}}rz.exports=j7r});var tz=c((cce,az)=>{"use strict";var I7r=zr(),O7r=Rr();function N7r(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr,lr,fr,yr,dr,mr,hr,br,wr,xr,qr,gr,Ar,_r,Tr;for(Tr=I7r(r.shape,r.strides,e.strides),M=Tr.sh,Z=Tr.sx,rr=Tr.sy,t=O7r(r.dtype,e.dtype),ar=r.offset,er=e.offset,o=r.data,i=e.data,u=Z[0],g=rr[0],n=r.accessors[0],s=e.accessors[1],_r=M[8];_r>0;)for(_r<t?(Q=_r,_r=0):(Q=t,_r-=t),F=ar+_r*Z[8],L=er+_r*rr[8],Ar=M[7];Ar>0;)for(Ar<t?(H=Ar,Ar=0):(H=t,Ar-=t),h=Z[8]-H*Z[7],q=rr[8]-H*rr[7],N=F+Ar*Z[7],P=L+Ar*rr[7],gr=M[6];gr>0;)for(gr<t?(K=gr,gr=0):(K=t,gr-=t),m=Z[7]-K*Z[6],E=rr[7]-K*rr[6],k=N+gr*Z[6],C=P+gr*rr[6],qr=M[5];qr>0;)for(qr<t?(X=qr,qr=0):(X=t,qr-=t),p=Z[6]-X*Z[5],x=rr[6]-X*rr[5],D=k+qr*Z[5],U=C+qr*rr[5],xr=M[4];xr>0;)for(xr<t?(J=xr,xr=0):(J=t,xr-=t),y=Z[5]-J*Z[4],_=rr[5]-J*rr[4],I=D+xr*Z[4],V=U+xr*rr[4],wr=M[3];wr>0;)for(wr<t?(W=wr,wr=0):(W=t,wr-=t),d=Z[4]-W*Z[3],A=rr[4]-W*rr[3],O=I+wr*Z[3],z=V+wr*rr[3],br=M[2];br>0;)for(br<t?(Y=br,br=0):(Y=t,br-=t),l=Z[3]-Y*Z[2],w=rr[3]-Y*rr[2],j=O+br*Z[2],B=z+br*rr[2],hr=M[1];hr>0;)for(hr<t?($=hr,hr=0):($=t,hr-=t),f=Z[2]-$*Z[1],S=rr[2]-$*rr[1],T=j+hr*Z[1],R=B+hr*rr[1],mr=M[0];mr>0;)for(mr<t?(G=mr,mr=0):(G=t,mr-=t),ir=T+mr*Z[0],tr=R+mr*rr[0],v=Z[1]-G*Z[0],b=rr[1]-G*rr[0],dr=0;dr<Q;dr++){for(yr=0;yr<H;yr++){for(fr=0;fr<K;fr++){for(lr=0;lr<X;lr++){for(vr=0;vr<J;vr++){for(ur=0;ur<W;ur++){for(sr=0;sr<Y;sr++){for(nr=0;nr<$;nr++){for(or=0;or<G;or++)s(i,tr,a(n(o,ir))),ir+=u,tr+=g;ir+=v,tr+=b}ir+=f,tr+=S}ir+=l,tr+=w}ir+=d,tr+=A}ir+=y,tr+=_}ir+=p,tr+=x}ir+=m,tr+=E}ir+=h,tr+=q}}az.exports=N7r});var oz=c((dce,iz)=>{"use strict";var D7r=zr(),k7r=Rr();function B7r(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr,lr,fr,yr,dr,mr,hr,br,wr,xr,qr,gr,Ar,_r,Tr,jr,Or,Fr,Vr,Hr,ie,De;for(De=D7r(r.shape,r.strides,e.strides),W=De.sh,tr=De.sx,or=De.sy,t=k7r(r.dtype,e.dtype),nr=r.offset,sr=e.offset,o=r.data,i=e.data,u=tr[0],b=or[0],n=r.accessors[0],s=e.accessors[1],ie=W[9];ie>0;)for(ie<t?(ir=ie,ie=0):(ir=t,ie-=t),z=nr+ie*tr[9],Y=sr+ie*or[9],Hr=W[8];Hr>0;)for(Hr<t?(er=Hr,Hr=0):(er=t,Hr-=t),g=tr[9]-er*tr[8],j=or[9]-er*or[8],B=z+Hr*tr[8],$=Y+Hr*or[8],Vr=W[7];Vr>0;)for(Vr<t?(ar=Vr,Vr=0):(ar=t,Vr-=t),h=tr[8]-ar*tr[7],T=or[8]-ar*or[7],R=B+Vr*tr[7],G=$+Vr*or[7],Fr=W[6];Fr>0;)for(Fr<t?(rr=Fr,Fr=0):(rr=t,Fr-=t),m=tr[7]-rr*tr[6],q=or[7]-rr*or[6],F=R+Fr*tr[6],M=G+Fr*or[6],Or=W[5];Or>0;)for(Or<t?(Z=Or,Or=0):(Z=t,Or-=t),p=tr[6]-Z*tr[5],E=or[6]-Z*or[5],N=F+Or*tr[5],L=M+Or*or[5],jr=W[4];jr>0;)for(jr<t?(Q=jr,jr=0):(Q=t,jr-=t),y=tr[5]-Q*tr[4],x=or[5]-Q*or[4],k=N+jr*tr[4],P=L+jr*or[4],Tr=W[3];Tr>0;)for(Tr<t?(H=Tr,Tr=0):(H=t,Tr-=t),d=tr[4]-H*tr[3],_=or[4]-H*or[3],D=k+Tr*tr[3],C=P+Tr*or[3],_r=W[2];_r>0;)for(_r<t?(K=_r,_r=0):(K=t,_r-=t),l=tr[3]-K*tr[2],A=or[3]-K*or[2],I=D+_r*tr[2],U=C+_r*or[2],Ar=W[1];Ar>0;)for(Ar<t?(X=Ar,Ar=0):(X=t,Ar-=t),f=tr[2]-X*tr[1],w=or[2]-X*or[1],O=I+Ar*tr[1],V=U+Ar*or[1],gr=W[0];gr>0;)for(gr<t?(J=gr,gr=0):(J=t,gr-=t),ur=O+gr*tr[0],vr=V+gr*or[0],v=tr[1]-J*tr[0],S=or[1]-J*or[0],qr=0;qr<ir;qr++){for(xr=0;xr<er;xr++){for(wr=0;wr<ar;wr++){for(br=0;br<rr;br++){for(hr=0;hr<Z;hr++){for(mr=0;mr<Q;mr++){for(dr=0;dr<H;dr++){for(yr=0;yr<K;yr++){for(fr=0;fr<X;fr++){for(lr=0;lr<J;lr++)s(i,vr,a(n(o,ur))),ur+=u,vr+=b;ur+=v,vr+=S}ur+=f,vr+=w}ur+=l,vr+=A}ur+=d,vr+=_}ur+=y,vr+=x}ur+=p,vr+=E}ur+=m,vr+=q}ur+=h,vr+=T}ur+=g,vr+=j}}iz.exports=B7r});var sz=c((pce,nz)=>{"use strict";var F7r=zr(),R7r=Rr();function z7r(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q;for(q=F7r(r.shape,r.strides,e.strides),d=q.sh,m=q.sx,h=q.sy,t=R7r(r.dtype,e.dtype),g=r.offset,b=e.offset,o=r.data,i=e.data,n=m[0],u=h[0],E=d[1];E>0;)for(E<t?(p=E,E=0):(p=t,E-=t),f=g+E*m[1],l=b+E*h[1],x=d[0];x>0;)for(x<t?(y=x,x=0):(y=t,x-=t),S=f+x*m[0],w=l+x*h[0],s=m[1]-y*m[0],v=h[1]-y*h[0],_=0;_<p;_++){for(A=0;A<y;A++)i[w]=a(o[S]),S+=n,w+=u;S+=s,w+=v}}nz.exports=z7r});var vz=c((yce,uz)=>{"use strict";var V7r=zr(),U7r=Rr();function C7r(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N;for(N=V7r(r.shape,r.strides,e.strides),h=N.sh,w=N.sx,A=N.sy,t=U7r(r.dtype,e.dtype),_=r.offset,x=e.offset,o=r.data,i=e.data,n=w[0],v=A[0],k=h[2];k>0;)for(k<t?(S=k,k=0):(S=t,k-=t),y=_+k*w[2],m=x+k*A[2],D=h[1];D>0;)for(D<t?(b=D,D=0):(b=t,D-=t),u=w[2]-b*w[1],l=A[2]-b*A[1],d=y+D*w[1],p=m+D*A[1],I=h[0];I>0;)for(I<t?(g=I,I=0):(g=t,I-=t),E=d+I*w[0],q=p+I*A[0],s=w[1]-g*w[0],f=A[1]-g*A[0],O=0;O<S;O++){for(j=0;j<b;j++){for(T=0;T<g;T++)i[q]=a(o[E]),E+=n,q+=v;E+=s,q+=f}E+=u,q+=l}}uz.exports=C7r});var lz=c((mce,fz)=>{"use strict";var P7r=zr(),L7r=Rr();function M7r(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C;for(C=P7r(r.shape,r.strides,e.strides),w=C.sh,q=C.sx,T=C.sy,t=L7r(r.dtype,e.dtype),j=r.offset,O=e.offset,o=r.data,i=e.data,n=q[0],f=T[0],U=w[3];U>0;)for(U<t?(E=U,U=0):(E=t,U-=t),h=j+U*q[3],S=O+U*T[3],V=w[2];V>0;)for(V<t?(x=V,V=0):(x=t,V-=t),v=q[3]-x*q[2],y=T[3]-x*T[2],m=h+V*q[2],b=S+V*T[2],z=w[1];z>0;)for(z<t?(_=z,z=0):(_=t,z-=t),u=q[2]-_*q[1],d=T[2]-_*T[1],p=m+z*q[1],g=b+z*T[1],B=w[0];B>0;)for(B<t?(A=B,B=0):(A=t,B-=t),I=p+B*q[0],D=g+B*T[0],s=q[1]-A*q[0],l=T[1]-A*T[0],R=0;R<E;R++){for(F=0;F<x;F++){for(N=0;N<_;N++){for(k=0;k<A;k++)i[D]=a(o[I]),I+=n,D+=f;I+=s,D+=l}I+=u,D+=d}I+=v,D+=y}}fz.exports=M7r});var dz=c((hce,cz)=>{"use strict";var G7r=zr(),Y7r=Rr();function $7r(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W;for(W=G7r(r.shape,r.strides,e.strides),E=W.sh,D=W.sx,k=W.sy,t=Y7r(r.dtype,e.dtype),N=r.offset,F=e.offset,o=r.data,i=e.data,n=D[0],l=k[0],Y=E[4];Y>0;)for(Y<t?(I=Y,Y=0):(I=t,Y-=t),S=N+Y*D[4],x=F+Y*k[4],$=E[3];$>0;)for($<t?(O=$,$=0):(O=t,$-=t),f=D[4]-O*D[3],m=k[4]-O*k[3],b=S+$*D[3],_=x+$*k[3],G=E[2];G>0;)for(G<t?(j=G,G=0):(j=t,G-=t),v=D[3]-j*D[2],p=k[3]-j*k[2],g=b+G*D[2],A=_+G*k[2],M=E[1];M>0;)for(M<t?(T=M,M=0):(T=t,M-=t),u=D[2]-T*D[1],y=k[2]-T*k[1],h=g+M*D[1],w=A+M*k[1],L=E[0];L>0;)for(L<t?(q=L,L=0):(q=t,L-=t),R=h+L*D[0],B=w+L*k[0],s=D[1]-q*D[0],d=k[1]-q*k[0],P=0;P<I;P++){for(C=0;C<O;C++){for(U=0;U<j;U++){for(V=0;V<T;V++){for(z=0;z<q;z++)i[B]=a(o[R]),R+=n,B+=l;R+=s,B+=d}R+=u,B+=y}R+=v,B+=p}R+=f,B+=m}}cz.exports=$7r});var yz=c((gce,pz)=>{"use strict";var W7r=zr(),J7r=Rr();function X7r(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q,Z,rr;for(rr=W7r(r.shape,r.strides,e.strides),O=rr.sh,B=rr.sx,z=rr.sy,t=J7r(r.dtype,e.dtype),V=r.offset,U=e.offset,o=r.data,i=e.data,n=B[0],d=z[0],Z=O[5];Z>0;)for(Z<t?(R=Z,Z=0):(R=t,Z-=t),_=V+Z*B[5],j=U+Z*z[5],Q=O[4];Q>0;)for(Q<t?(F=Q,Q=0):(F=t,Q-=t),l=B[5]-F*B[4],g=z[5]-F*z[4],A=_+Q*B[4],T=j+Q*z[4],H=O[3];H>0;)for(H<t?(N=H,H=0):(N=t,H-=t),f=B[4]-N*B[3],h=z[4]-N*z[3],w=A+H*B[3],q=T+H*z[3],K=O[2];K>0;)for(K<t?(k=K,K=0):(k=t,K-=t),v=B[3]-k*B[2],m=z[3]-k*z[2],S=w+K*B[2],E=q+K*z[2],X=O[1];X>0;)for(X<t?(D=X,X=0):(D=t,X-=t),u=B[2]-D*B[1],p=z[2]-D*z[1],b=S+X*B[1],x=E+X*z[1],J=O[0];J>0;)for(J<t?(I=J,J=0):(I=t,J-=t),C=b+J*B[0],P=x+J*z[0],s=B[1]-I*B[0],y=z[1]-I*z[0],W=0;W<R;W++){for(Y=0;Y<F;Y++){for($=0;$<N;$++){for(G=0;G<k;G++){for(M=0;M<D;M++){for(L=0;L<I;L++)i[P]=a(o[C]),C+=n,P+=d;C+=s,P+=y}C+=u,P+=p}C+=v,P+=m}C+=f,P+=h}C+=l,P+=g}}pz.exports=X7r});var hz=c((bce,mz)=>{"use strict";var K7r=zr(),H7r=Rr();function Z7r(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr;for(sr=K7r(r.shape,r.strides,e.strides),N=sr.sh,P=sr.sx,L=sr.sy,t=H7r(r.dtype,e.dtype),M=r.offset,G=e.offset,o=r.data,i=e.data,n=P[0],y=L[0],nr=N[6];nr>0;)for(nr<t?(C=nr,nr=0):(C=t,nr-=t),q=M+nr*P[6],k=G+nr*L[6],or=N[5];or>0;)for(or<t?(U=or,or=0):(U=t,or-=t),d=P[6]-U*P[5],S=L[6]-U*L[5],E=q+or*P[5],D=k+or*L[5],tr=N[4];tr>0;)for(tr<t?(V=tr,tr=0):(V=t,tr-=t),l=P[5]-V*P[4],b=L[5]-V*L[4],x=E+tr*P[4],I=D+tr*L[4],ir=N[3];ir>0;)for(ir<t?(z=ir,ir=0):(z=t,ir-=t),f=P[4]-z*P[3],g=L[4]-z*L[3],_=x+ir*P[3],O=I+ir*L[3],er=N[2];er>0;)for(er<t?(B=er,er=0):(B=t,er-=t),v=P[3]-B*P[2],h=L[3]-B*L[2],A=_+er*P[2],j=O+er*L[2],ar=N[1];ar>0;)for(ar<t?(R=ar,ar=0):(R=t,ar-=t),u=P[2]-R*P[1],m=L[2]-R*L[1],w=A+ar*P[1],T=j+ar*L[1],rr=N[0];rr>0;)for(rr<t?(F=rr,rr=0):(F=t,rr-=t),$=w+rr*P[0],Y=T+rr*L[0],s=P[1]-F*P[0],p=L[1]-F*L[0],Z=0;Z<C;Z++){for(Q=0;Q<U;Q++){for(H=0;H<V;H++){for(K=0;K<z;K++){for(X=0;X<B;X++){for(J=0;J<R;J++){for(W=0;W<F;W++)i[Y]=a(o[$]),$+=n,Y+=y;$+=s,Y+=p}$+=u,Y+=m}$+=v,Y+=h}$+=f,Y+=g}$+=l,Y+=b}$+=d,Y+=S}}mz.exports=Z7r});var bz=c((xce,gz)=>{"use strict";var Q7r=zr(),rNr=Rr();function eNr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr,lr,fr,yr,dr,mr;for(mr=Q7r(r.shape,r.strides,e.strides),z=mr.sh,Y=mr.sx,W=mr.sy,t=rNr(r.dtype,e.dtype),J=r.offset,X=e.offset,o=r.data,i=e.data,n=Y[0],p=W[0],dr=z[7];dr>0;)for(dr<t?($=dr,dr=0):($=t,dr-=t),O=J+dr*Y[7],B=X+dr*W[7],yr=z[6];yr>0;)for(yr<t?(G=yr,yr=0):(G=t,yr-=t),y=Y[7]-G*Y[6],A=W[7]-G*W[6],j=O+yr*Y[6],R=B+yr*W[6],fr=z[5];fr>0;)for(fr<t?(M=fr,fr=0):(M=t,fr-=t),d=Y[6]-M*Y[5],w=W[6]-M*W[5],T=j+fr*Y[5],F=R+fr*W[5],lr=z[4];lr>0;)for(lr<t?(L=lr,lr=0):(L=t,lr-=t),l=Y[5]-L*Y[4],S=W[5]-L*W[4],q=T+lr*Y[4],N=F+lr*W[4],vr=z[3];vr>0;)for(vr<t?(P=vr,vr=0):(P=t,vr-=t),f=Y[4]-P*Y[3],b=W[4]-P*W[3],E=q+vr*Y[3],k=N+vr*W[3],ur=z[2];ur>0;)for(ur<t?(C=ur,ur=0):(C=t,ur-=t),v=Y[3]-C*Y[2],g=W[3]-C*W[2],x=E+ur*Y[2],D=k+ur*W[2],sr=z[1];sr>0;)for(sr<t?(U=sr,sr=0):(U=t,sr-=t),u=Y[2]-U*Y[1],h=W[2]-U*W[1],_=x+sr*Y[1],I=D+sr*W[1],nr=z[0];nr>0;)for(nr<t?(V=nr,nr=0):(V=t,nr-=t),K=_+nr*Y[0],H=I+nr*W[0],s=Y[1]-V*Y[0],m=W[1]-V*W[0],or=0;or<$;or++){for(tr=0;tr<G;tr++){for(ir=0;ir<M;ir++){for(er=0;er<L;er++){for(ar=0;ar<P;ar++){for(rr=0;rr<C;rr++){for(Z=0;Z<U;Z++){for(Q=0;Q<V;Q++)i[H]=a(o[K]),K+=n,H+=p;K+=s,H+=m}K+=u,H+=h}K+=v,H+=g}K+=f,H+=b}K+=l,H+=S}K+=d,H+=w}K+=y,H+=A}}gz.exports=eNr});var qz=c((qce,xz)=>{"use strict";var aNr=zr(),tNr=Rr();function iNr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr,lr,fr,yr,dr,mr,hr,br,wr,xr,qr,gr,Ar;for(Ar=aNr(r.shape,r.strides,e.strides),P=Ar.sh,H=Ar.sx,Q=Ar.sy,t=tNr(r.dtype,e.dtype),Z=r.offset,rr=e.offset,o=r.data,i=e.data,n=H[0],m=Q[0],gr=P[8];gr>0;)for(gr<t?(K=gr,gr=0):(K=t,gr-=t),k=Z+gr*H[8],C=rr+gr*Q[8],qr=P[7];qr>0;)for(qr<t?(X=qr,qr=0):(X=t,qr-=t),p=H[8]-X*H[7],x=Q[8]-X*Q[7],D=k+qr*H[7],U=C+qr*Q[7],xr=P[6];xr>0;)for(xr<t?(J=xr,xr=0):(J=t,xr-=t),y=H[7]-J*H[6],_=Q[7]-J*Q[6],I=D+xr*H[6],V=U+xr*Q[6],wr=P[5];wr>0;)for(wr<t?(W=wr,wr=0):(W=t,wr-=t),d=H[6]-W*H[5],A=Q[6]-W*Q[5],O=I+wr*H[5],z=V+wr*Q[5],br=P[4];br>0;)for(br<t?(Y=br,br=0):(Y=t,br-=t),l=H[5]-Y*H[4],w=Q[5]-Y*Q[4],j=O+br*H[4],B=z+br*Q[4],hr=P[3];hr>0;)for(hr<t?($=hr,hr=0):($=t,hr-=t),f=H[4]-$*H[3],S=Q[4]-$*Q[3],T=j+hr*H[3],R=B+hr*Q[3],mr=P[2];mr>0;)for(mr<t?(G=mr,mr=0):(G=t,mr-=t),v=H[3]-G*H[2],b=Q[3]-G*Q[2],q=T+mr*H[2],F=R+mr*Q[2],dr=P[1];dr>0;)for(dr<t?(M=dr,dr=0):(M=t,dr-=t),u=H[2]-M*H[1],g=Q[2]-M*Q[1],E=q+dr*H[1],N=F+dr*Q[1],yr=P[0];yr>0;)for(yr<t?(L=yr,yr=0):(L=t,yr-=t),ar=E+yr*H[0],er=N+yr*Q[0],s=H[1]-L*H[0],h=Q[1]-L*Q[0],fr=0;fr<K;fr++){for(lr=0;lr<X;lr++){for(vr=0;vr<J;vr++){for(ur=0;ur<W;ur++){for(sr=0;sr<Y;sr++){for(nr=0;nr<$;nr++){for(or=0;or<G;or++){for(tr=0;tr<M;tr++){for(ir=0;ir<L;ir++)i[er]=a(o[ar]),ar+=n,er+=m;ar+=s,er+=h}ar+=u,er+=g}ar+=v,er+=b}ar+=f,er+=S}ar+=l,er+=w}ar+=d,er+=A}ar+=y,er+=_}ar+=p,er+=x}}xz.exports=iNr});var Sz=c((wce,wz)=>{"use strict";var oNr=zr(),nNr=Rr();function sNr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr,lr,fr,yr,dr,mr,hr,br,wr,xr,qr,gr,Ar,_r,Tr,jr,Or,Fr,Vr,Hr;for(Hr=oNr(r.shape,r.strides,e.strides),$=Hr.sh,er=Hr.sx,ir=Hr.sy,t=nNr(r.dtype,e.dtype),tr=r.offset,or=e.offset,o=r.data,i=e.data,n=er[0],h=ir[0],Vr=$[9];Vr>0;)for(Vr<t?(ar=Vr,Vr=0):(ar=t,Vr-=t),R=tr+Vr*er[9],G=or+Vr*ir[9],Fr=$[8];Fr>0;)for(Fr<t?(rr=Fr,Fr=0):(rr=t,Fr-=t),m=er[9]-rr*er[8],q=ir[9]-rr*ir[8],F=R+Fr*er[8],M=G+Fr*ir[8],Or=$[7];Or>0;)for(Or<t?(Z=Or,Or=0):(Z=t,Or-=t),p=er[8]-Z*er[7],E=ir[8]-Z*ir[7],N=F+Or*er[7],L=M+Or*ir[7],jr=$[6];jr>0;)for(jr<t?(Q=jr,jr=0):(Q=t,jr-=t),y=er[7]-Q*er[6],x=ir[7]-Q*ir[6],k=N+jr*er[6],P=L+jr*ir[6],Tr=$[5];Tr>0;)for(Tr<t?(H=Tr,Tr=0):(H=t,Tr-=t),d=er[6]-H*er[5],_=ir[6]-H*ir[5],D=k+Tr*er[5],C=P+Tr*ir[5],_r=$[4];_r>0;)for(_r<t?(K=_r,_r=0):(K=t,_r-=t),l=er[5]-K*er[4],A=ir[5]-K*ir[4],I=D+_r*er[4],U=C+_r*ir[4],Ar=$[3];Ar>0;)for(Ar<t?(X=Ar,Ar=0):(X=t,Ar-=t),f=er[4]-X*er[3],w=ir[4]-X*ir[3],O=I+Ar*er[3],V=U+Ar*ir[3],gr=$[2];gr>0;)for(gr<t?(J=gr,gr=0):(J=t,gr-=t),v=er[3]-J*er[2],S=ir[3]-J*ir[2],j=O+gr*er[2],z=V+gr*ir[2],qr=$[1];qr>0;)for(qr<t?(W=qr,qr=0):(W=t,qr-=t),u=er[2]-W*er[1],b=ir[2]-W*ir[1],T=j+qr*er[1],B=z+qr*ir[1],xr=$[0];xr>0;)for(xr<t?(Y=xr,xr=0):(Y=t,xr-=t),nr=T+xr*er[0],sr=B+xr*ir[0],s=er[1]-Y*er[0],g=ir[1]-Y*ir[0],wr=0;wr<ar;wr++){for(br=0;br<rr;br++){for(hr=0;hr<Z;hr++){for(mr=0;mr<Q;mr++){for(dr=0;dr<H;dr++){for(yr=0;yr<K;yr++){for(fr=0;fr<X;fr++){for(lr=0;lr<J;lr++){for(vr=0;vr<W;vr++){for(ur=0;ur<Y;ur++)i[sr]=a(o[nr]),nr+=n,sr+=h;nr+=s,sr+=g}nr+=u,sr+=b}nr+=v,sr+=S}nr+=f,sr+=w}nr+=l,sr+=A}nr+=d,sr+=_}nr+=y,sr+=x}nr+=p,sr+=E}nr+=m,sr+=q}}wz.exports=sNr});var Az=c((Sce,Ez)=>{"use strict";function uNr(r,e,a){e.accessors[1](e.data,e.offset,a(r.accessors[0](r.data,r.offset)))}Ez.exports=uNr});var Tz=c((Ece,_z)=>{"use strict";function vNr(r,e,a){var t,o,i,n,s,u,v,f,l,d;for(v=r.shape[0],s=r.strides[0],u=e.strides[0],f=r.offset,l=e.offset,t=r.data,o=e.data,i=r.accessors[0],n=e.accessors[1],d=0;d<v;d++)n(o,l,a(i(t,f))),f+=s,l+=u}_z.exports=vNr});var Iz=c((Ace,jz)=>{"use strict";function fNr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S;for(l=r.shape,p=r.strides,m=e.strides,r.order==="row-major"?(d=l[1],y=l[0],s=p[1],u=p[0]-d*p[1],v=m[1],f=m[0]-d*m[1]):(d=l[0],y=l[1],s=p[0],u=p[1]-d*p[0],v=m[0],f=m[1]-d*m[0]),h=r.offset,g=e.offset,t=r.data,o=e.data,i=r.accessors[0],n=e.accessors[1],S=0;S<y;S++){for(b=0;b<d;b++)n(o,g,a(i(t,h))),h+=s,g+=v;h+=u,g+=f}}jz.exports=fNr});var Nz=c((_ce,Oz)=>{"use strict";function lNr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x;for(y=r.shape,g=r.strides,b=e.strides,r.order==="row-major"?(p=y[2],m=y[1],h=y[0],s=g[2],u=g[1]-p*g[2],v=g[0]-m*g[1],f=b[2],l=b[1]-p*b[2],d=b[0]-m*b[1]):(p=y[0],m=y[1],h=y[2],s=g[0],u=g[1]-p*g[0],v=g[2]-m*g[1],f=b[0],l=b[1]-p*b[0],d=b[2]-m*b[1]),S=r.offset,w=e.offset,t=r.data,o=e.data,i=r.accessors[0],n=e.accessors[1],x=0;x<h;x++){for(_=0;_<m;_++){for(A=0;A<p;A++)n(o,w,a(i(t,S))),S+=s,w+=f;S+=u,w+=l}S+=v,w+=d}}Oz.exports=lNr});var kz=c((Tce,Dz)=>{"use strict";function cNr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j;for(m=r.shape,w=r.strides,A=e.strides,r.order==="row-major"?(h=m[3],g=m[2],b=m[1],S=m[0],s=w[3],u=w[2]-h*w[3],v=w[1]-g*w[2],f=w[0]-b*w[1],l=A[3],d=A[2]-h*A[3],y=A[1]-g*A[2],p=A[0]-b*A[1]):(h=m[0],g=m[1],b=m[2],S=m[3],s=w[0],u=w[1]-h*w[0],v=w[2]-g*w[1],f=w[3]-b*w[2],l=A[0],d=A[1]-h*A[0],y=A[2]-g*A[1],p=A[3]-b*A[2]),_=r.offset,x=e.offset,t=r.data,o=e.data,i=r.accessors[0],n=e.accessors[1],j=0;j<S;j++){for(T=0;T<b;T++){for(q=0;q<g;q++){for(E=0;E<h;E++)n(o,x,a(i(t,_))),_+=s,x+=l;_+=u,x+=d}_+=v,x+=y}_+=f,x+=p}}Dz.exports=cNr});var Fz=c((jce,Bz)=>{"use strict";function dNr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k;for(g=r.shape,x=r.strides,E=e.strides,r.order==="row-major"?(b=g[4],S=g[3],w=g[2],A=g[1],_=g[0],s=x[4],u=x[3]-b*x[4],v=x[2]-S*x[3],f=x[1]-w*x[2],l=x[0]-A*x[1],d=E[4],y=E[3]-b*E[4],p=E[2]-S*E[3],m=E[1]-w*E[2],h=E[0]-A*E[1]):(b=g[0],S=g[1],w=g[2],A=g[3],_=g[4],s=x[0],u=x[1]-b*x[0],v=x[2]-S*x[1],f=x[3]-w*x[2],l=x[4]-A*x[3],d=E[0],y=E[1]-b*E[0],p=E[2]-S*E[1],m=E[3]-w*E[2],h=E[4]-A*E[3]),q=r.offset,T=e.offset,t=r.data,o=e.data,i=r.accessors[0],n=e.accessors[1],k=0;k<_;k++){for(D=0;D<A;D++){for(I=0;I<w;I++){for(O=0;O<S;O++){for(j=0;j<b;j++)n(o,T,a(i(t,q))),q+=s,T+=d;q+=u,T+=y}q+=v,T+=p}q+=f,T+=m}q+=l,T+=h}}Bz.exports=dNr});var zz=c((Ice,Rz)=>{"use strict";function pNr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B;for(S=r.shape,T=r.strides,j=e.strides,r.order==="row-major"?(w=S[5],A=S[4],_=S[3],x=S[2],E=S[1],q=S[0],s=T[5],u=T[4]-w*T[5],v=T[3]-A*T[4],f=T[2]-_*T[3],l=T[1]-x*T[2],d=T[0]-E*T[1],y=j[5],p=j[4]-w*j[5],m=j[3]-A*j[4],h=j[2]-_*j[3],g=j[1]-x*j[2],b=j[0]-E*j[1]):(w=S[0],A=S[1],_=S[2],x=S[3],E=S[4],q=S[5],s=T[0],u=T[1]-w*T[0],v=T[2]-A*T[1],f=T[3]-_*T[2],l=T[4]-x*T[3],d=T[5]-E*T[4],y=j[0],p=j[1]-w*j[0],m=j[2]-A*j[1],h=j[3]-_*j[2],g=j[4]-x*j[3],b=j[5]-E*j[4]),O=r.offset,I=e.offset,t=r.data,o=e.data,i=r.accessors[0],n=e.accessors[1],B=0;B<q;B++){for(R=0;R<E;R++){for(F=0;F<x;F++){for(N=0;N<_;N++){for(k=0;k<A;k++){for(D=0;D<w;D++)n(o,I,a(i(t,O))),O+=s,I+=y;O+=u,I+=p}O+=v,I+=m}O+=f,I+=h}O+=l,I+=g}O+=d,I+=b}}Rz.exports=pNr});var Uz=c((Oce,Vz)=>{"use strict";function yNr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C;for(A=r.shape,I=r.strides,D=e.strides,r.order==="row-major"?(_=A[6],x=A[5],E=A[4],q=A[3],T=A[2],j=A[1],O=A[0],s=I[6],u=I[5]-_*I[6],v=I[4]-x*I[5],f=I[3]-E*I[4],l=I[2]-q*I[3],d=I[1]-T*I[2],y=I[0]-j*I[1],p=D[6],m=D[5]-_*D[6],h=D[4]-x*D[5],g=D[3]-E*D[4],b=D[2]-q*D[3],S=D[1]-T*D[2],w=D[0]-j*D[1]):(_=A[0],x=A[1],E=A[2],q=A[3],T=A[4],j=A[5],O=A[6],s=I[0],u=I[1]-_*I[0],v=I[2]-x*I[1],f=I[3]-E*I[2],l=I[4]-q*I[3],d=I[5]-T*I[4],y=I[6]-j*I[5],p=D[0],m=D[1]-_*D[0],h=D[2]-x*D[1],g=D[3]-E*D[2],b=D[4]-q*D[3],S=D[5]-T*D[4],w=D[6]-j*D[5]),k=r.offset,N=e.offset,t=r.data,o=e.data,i=r.accessors[0],n=e.accessors[1],C=0;C<O;C++){for(U=0;U<j;U++){for(V=0;V<T;V++){for(z=0;z<q;z++){for(B=0;B<E;B++){for(R=0;R<x;R++){for(F=0;F<_;F++)n(o,N,a(i(t,k))),k+=s,N+=p;k+=u,N+=m}k+=v,N+=h}k+=f,N+=g}k+=l,N+=b}k+=d,N+=S}k+=y,N+=w}}Vz.exports=yNr});var Pz=c((Nce,Cz)=>{"use strict";function mNr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G;for(x=r.shape,N=r.strides,F=e.strides,r.order==="row-major"?(E=x[7],q=x[6],T=x[5],j=x[4],O=x[3],I=x[2],D=x[1],k=x[0],s=N[7],u=N[6]-E*N[7],v=N[5]-q*N[6],f=N[4]-T*N[5],l=N[3]-j*N[4],d=N[2]-O*N[3],y=N[1]-I*N[2],p=N[0]-D*N[1],m=F[7],h=F[6]-E*F[7],g=F[5]-q*F[6],b=F[4]-T*F[5],S=F[3]-j*F[4],w=F[2]-O*F[3],A=F[1]-I*F[2],_=F[0]-D*F[1]):(E=x[0],q=x[1],T=x[2],j=x[3],O=x[4],I=x[5],D=x[6],k=x[7],s=N[0],u=N[1]-E*N[0],v=N[2]-q*N[1],f=N[3]-T*N[2],l=N[4]-j*N[3],d=N[5]-O*N[4],y=N[6]-I*N[5],p=N[7]-D*N[6],m=F[0],h=F[1]-E*F[0],g=F[2]-q*F[1],b=F[3]-T*F[2],S=F[4]-j*F[3],w=F[5]-O*F[4],A=F[6]-I*F[5],_=F[7]-D*F[6]),R=r.offset,B=e.offset,t=r.data,o=e.data,i=r.accessors[0],n=e.accessors[1],G=0;G<k;G++){for(M=0;M<D;M++){for(L=0;L<I;L++){for(P=0;P<O;P++){for(C=0;C<j;C++){for(U=0;U<T;U++){for(V=0;V<q;V++){for(z=0;z<E;z++)n(o,B,a(i(t,R))),R+=s,B+=m;R+=u,B+=h}R+=v,B+=g}R+=f,B+=b}R+=l,B+=S}R+=d,B+=w}R+=y,B+=A}R+=p,B+=_}}Cz.exports=mNr});var Mz=c((Dce,Lz)=>{"use strict";function hNr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J;for(q=r.shape,B=r.strides,z=e.strides,r.order==="row-major"?(T=q[8],j=q[7],O=q[6],I=q[5],D=q[4],k=q[3],N=q[2],F=q[1],R=q[0],s=B[8],u=B[7]-T*B[8],v=B[6]-j*B[7],f=B[5]-O*B[6],l=B[4]-I*B[5],d=B[3]-D*B[4],y=B[2]-k*B[3],p=B[1]-N*B[2],m=B[0]-F*B[1],h=z[8],g=z[7]-T*z[8],b=z[6]-j*z[7],S=z[5]-O*z[6],w=z[4]-I*z[5],A=z[3]-D*z[4],_=z[2]-k*z[3],x=z[1]-N*z[2],E=z[0]-F*z[1]):(T=q[0],j=q[1],O=q[2],I=q[3],D=q[4],k=q[5],N=q[6],F=q[7],R=q[8],s=B[0],u=B[1]-T*B[0],v=B[2]-j*B[1],f=B[3]-O*B[2],l=B[4]-I*B[3],d=B[5]-D*B[4],y=B[6]-k*B[5],p=B[7]-N*B[6],m=B[8]-F*B[7],h=z[0],g=z[1]-T*z[0],b=z[2]-j*z[1],S=z[3]-O*z[2],w=z[4]-I*z[3],A=z[5]-D*z[4],_=z[6]-k*z[5],x=z[7]-N*z[6],E=z[8]-F*z[7]),V=r.offset,U=e.offset,t=r.data,o=e.data,i=r.accessors[0],n=e.accessors[1],J=0;J<R;J++){for(W=0;W<F;W++){for(Y=0;Y<N;Y++){for($=0;$<k;$++){for(G=0;G<D;G++){for(M=0;M<I;M++){for(L=0;L<O;L++){for(P=0;P<j;P++){for(C=0;C<T;C++)n(o,U,a(i(t,V))),V+=s,U+=h;V+=u,U+=g}V+=v,U+=b}V+=f,U+=S}V+=l,U+=w}V+=d,U+=A}V+=y,U+=_}V+=p,U+=x}V+=m,U+=E}}Lz.exports=hNr});var Yz=c((kce,Gz)=>{"use strict";function gNr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q;for(j=r.shape,U=r.strides,C=e.strides,r.order==="row-major"?(O=j[9],I=j[8],D=j[7],k=j[6],N=j[5],F=j[4],R=j[3],B=j[2],z=j[1],V=j[0],s=U[9],u=U[8]-O*U[9],v=U[7]-I*U[8],f=U[6]-D*U[7],l=U[5]-k*U[6],d=U[4]-N*U[5],y=U[3]-F*U[4],p=U[2]-R*U[3],m=U[1]-B*U[2],h=U[0]-z*U[1],g=C[9],b=C[8]-O*C[9],S=C[7]-I*C[8],w=C[6]-D*C[7],A=C[5]-k*C[6],_=C[4]-N*C[5],x=C[3]-F*C[4],E=C[2]-R*C[3],q=C[1]-B*C[2],T=C[0]-z*C[1]):(O=j[0],I=j[1],D=j[2],k=j[3],N=j[4],F=j[5],R=j[6],B=j[7],z=j[8],V=j[9],s=U[0],u=U[1]-O*U[0],v=U[2]-I*U[1],f=U[3]-D*U[2],l=U[4]-k*U[3],d=U[5]-N*U[4],y=U[6]-F*U[5],p=U[7]-R*U[6],m=U[8]-B*U[7],h=U[9]-z*U[8],g=C[0],b=C[1]-O*C[0],S=C[2]-I*C[1],w=C[3]-D*C[2],A=C[4]-k*C[3],_=C[5]-N*C[4],x=C[6]-F*C[5],E=C[7]-R*C[6],q=C[8]-B*C[7],T=C[9]-z*C[8]),P=r.offset,L=e.offset,t=r.data,o=e.data,i=r.accessors[0],n=e.accessors[1],Q=0;Q<V;Q++){for(H=0;H<z;H++){for(K=0;K<B;K++){for(X=0;X<R;X++){for(J=0;J<F;J++){for(W=0;W<N;W++){for(Y=0;Y<k;Y++){for($=0;$<D;$++){for(G=0;G<I;G++){for(M=0;M<O;M++)n(o,L,a(i(t,P))),P+=s,L+=g;P+=u,L+=b}P+=v,L+=S}P+=f,L+=w}P+=l,L+=A}P+=d,L+=_}P+=y,L+=x}P+=p,L+=E}P+=m,L+=q}P+=h,L+=T}}Gz.exports=gNr});var Xz=c((Bce,Jz)=>{"use strict";var bNr=Jr(),$z=na(),Wz="throw";function xNr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g;for(f=r.shape,s=bNr(f),t=r.data,o=e.data,l=r.strides,d=e.strides,y=r.offset,p=e.offset,i=r.order,n=e.order,u=r.accessors[0],v=e.accessors[1],g=0;g<s;g++)m=$z(f,l,y,i,g,Wz),h=$z(f,d,p,n,g,Wz),v(o,h,a(u(t,m)))}Jz.exports=xNr});var Hz=c((Fce,Kz)=>{"use strict";function qNr(r,e,a){e.data[e.offset]=a(r.data[r.offset])}Kz.exports=qNr});var Qz=c((Rce,Zz)=>{"use strict";function wNr(r,e,a){var t,o,i,n,s,u,v,f;for(s=r.shape[0],i=r.strides[0],n=e.strides[0],u=r.offset,v=e.offset,t=r.data,o=e.data,f=0;f<s;f++)o[v]=a(t[u]),u+=i,v+=n}Zz.exports=wNr});var eV=c((zce,rV)=>{"use strict";function SNr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g;for(v=r.shape,d=r.strides,y=e.strides,r.order==="row-major"?(f=v[1],l=v[0],i=d[1],n=d[0]-f*d[1],s=y[1],u=y[0]-f*y[1]):(f=v[0],l=v[1],i=d[0],n=d[1]-f*d[0],s=y[0],u=y[1]-f*y[0]),p=r.offset,m=e.offset,t=r.data,o=e.data,g=0;g<l;g++){for(h=0;h<f;h++)o[m]=a(t[p]),p+=i,m+=s;p+=n,m+=u}}rV.exports=SNr});var tV=c((Vce,aV)=>{"use strict";function ENr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A;for(l=r.shape,m=r.strides,h=e.strides,r.order==="row-major"?(d=l[2],y=l[1],p=l[0],i=m[2],n=m[1]-d*m[2],s=m[0]-y*m[1],u=h[2],v=h[1]-d*h[2],f=h[0]-y*h[1]):(d=l[0],y=l[1],p=l[2],i=m[0],n=m[1]-d*m[0],s=m[2]-y*m[1],u=h[0],v=h[1]-d*h[0],f=h[2]-y*h[1]),g=r.offset,b=e.offset,t=r.data,o=e.data,A=0;A<p;A++){for(w=0;w<y;w++){for(S=0;S<d;S++)o[b]=a(t[g]),g+=i,b+=u;g+=n,b+=v}g+=s,b+=f}}aV.exports=ENr});var oV=c((Uce,iV)=>{"use strict";function ANr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q;for(y=r.shape,b=r.strides,S=e.strides,r.order==="row-major"?(p=y[3],m=y[2],h=y[1],g=y[0],i=b[3],n=b[2]-p*b[3],s=b[1]-m*b[2],u=b[0]-h*b[1],v=S[3],f=S[2]-p*S[3],l=S[1]-m*S[2],d=S[0]-h*S[1]):(p=y[0],m=y[1],h=y[2],g=y[3],i=b[0],n=b[1]-p*b[0],s=b[2]-m*b[1],u=b[3]-h*b[2],v=S[0],f=S[1]-p*S[0],l=S[2]-m*S[1],d=S[3]-h*S[2]),w=r.offset,A=e.offset,t=r.data,o=e.data,q=0;q<g;q++){for(E=0;E<h;E++){for(x=0;x<m;x++){for(_=0;_<p;_++)o[A]=a(t[w]),w+=i,A+=v;w+=n,A+=f}w+=s,A+=l}w+=u,A+=d}}iV.exports=ANr});var sV=c((Cce,nV)=>{"use strict";function _Nr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I;for(m=r.shape,A=r.strides,_=e.strides,r.order==="row-major"?(h=m[4],g=m[3],b=m[2],S=m[1],w=m[0],i=A[4],n=A[3]-h*A[4],s=A[2]-g*A[3],u=A[1]-b*A[2],v=A[0]-S*A[1],f=_[4],l=_[3]-h*_[4],d=_[2]-g*_[3],y=_[1]-b*_[2],p=_[0]-S*_[1]):(h=m[0],g=m[1],b=m[2],S=m[3],w=m[4],i=A[0],n=A[1]-h*A[0],s=A[2]-g*A[1],u=A[3]-b*A[2],v=A[4]-S*A[3],f=_[0],l=_[1]-h*_[0],d=_[2]-g*_[1],y=_[3]-b*_[2],p=_[4]-S*_[3]),x=r.offset,E=e.offset,t=r.data,o=e.data,I=0;I<w;I++){for(O=0;O<S;O++){for(j=0;j<b;j++){for(T=0;T<g;T++){for(q=0;q<h;q++)o[E]=a(t[x]),x+=i,E+=f;x+=n,E+=l}x+=s,E+=d}x+=u,E+=y}x+=v,E+=p}}nV.exports=_Nr});var vV=c((Pce,uV)=>{"use strict";function TNr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F;for(g=r.shape,E=r.strides,q=e.strides,r.order==="row-major"?(b=g[5],S=g[4],w=g[3],A=g[2],_=g[1],x=g[0],i=E[5],n=E[4]-b*E[5],s=E[3]-S*E[4],u=E[2]-w*E[3],v=E[1]-A*E[2],f=E[0]-_*E[1],l=q[5],d=q[4]-b*q[5],y=q[3]-S*q[4],p=q[2]-w*q[3],m=q[1]-A*q[2],h=q[0]-_*q[1]):(b=g[0],S=g[1],w=g[2],A=g[3],_=g[4],x=g[5],i=E[0],n=E[1]-b*E[0],s=E[2]-S*E[1],u=E[3]-w*E[2],v=E[4]-A*E[3],f=E[5]-_*E[4],l=q[0],d=q[1]-b*q[0],y=q[2]-S*q[1],p=q[3]-w*q[2],m=q[4]-A*q[3],h=q[5]-_*q[4]),T=r.offset,j=e.offset,t=r.data,o=e.data,F=0;F<x;F++){for(N=0;N<_;N++){for(k=0;k<A;k++){for(D=0;D<w;D++){for(I=0;I<S;I++){for(O=0;O<b;O++)o[j]=a(t[T]),T+=i,j+=l;T+=n,j+=d}T+=s,j+=y}T+=u,j+=p}T+=v,j+=m}T+=f,j+=h}}uV.exports=TNr});var lV=c((Lce,fV)=>{"use strict";function jNr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V;for(S=r.shape,j=r.strides,O=e.strides,r.order==="row-major"?(w=S[6],A=S[5],_=S[4],x=S[3],E=S[2],q=S[1],T=S[0],i=j[6],n=j[5]-w*j[6],s=j[4]-A*j[5],u=j[3]-_*j[4],v=j[2]-x*j[3],f=j[1]-E*j[2],l=j[0]-q*j[1],d=O[6],y=O[5]-w*O[6],p=O[4]-A*O[5],m=O[3]-_*O[4],h=O[2]-x*O[3],g=O[1]-E*O[2],b=O[0]-q*O[1]):(w=S[0],A=S[1],_=S[2],x=S[3],E=S[4],q=S[5],T=S[6],i=j[0],n=j[1]-w*j[0],s=j[2]-A*j[1],u=j[3]-_*j[2],v=j[4]-x*j[3],f=j[5]-E*j[4],l=j[6]-q*j[5],d=O[0],y=O[1]-w*O[0],p=O[2]-A*O[1],m=O[3]-_*O[2],h=O[4]-x*O[3],g=O[5]-E*O[4],b=O[6]-q*O[5]),I=r.offset,D=e.offset,t=r.data,o=e.data,V=0;V<T;V++){for(z=0;z<q;z++){for(B=0;B<E;B++){for(R=0;R<x;R++){for(F=0;F<_;F++){for(N=0;N<A;N++){for(k=0;k<w;k++)o[D]=a(t[I]),I+=i,D+=d;I+=n,D+=y}I+=s,D+=p}I+=u,D+=m}I+=v,D+=h}I+=f,D+=g}I+=l,D+=b}}fV.exports=jNr});var dV=c((Mce,cV)=>{"use strict";function INr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L;for(A=r.shape,D=r.strides,k=e.strides,r.order==="row-major"?(_=A[7],x=A[6],E=A[5],q=A[4],T=A[3],j=A[2],O=A[1],I=A[0],i=D[7],n=D[6]-_*D[7],s=D[5]-x*D[6],u=D[4]-E*D[5],v=D[3]-q*D[4],f=D[2]-T*D[3],l=D[1]-j*D[2],d=D[0]-O*D[1],y=k[7],p=k[6]-_*k[7],m=k[5]-x*k[6],h=k[4]-E*k[5],g=k[3]-q*k[4],b=k[2]-T*k[3],S=k[1]-j*k[2],w=k[0]-O*k[1]):(_=A[0],x=A[1],E=A[2],q=A[3],T=A[4],j=A[5],O=A[6],I=A[7],i=D[0],n=D[1]-_*D[0],s=D[2]-x*D[1],u=D[3]-E*D[2],v=D[4]-q*D[3],f=D[5]-T*D[4],l=D[6]-j*D[5],d=D[7]-O*D[6],y=k[0],p=k[1]-_*k[0],m=k[2]-x*k[1],h=k[3]-E*k[2],g=k[4]-q*k[3],b=k[5]-T*k[4],S=k[6]-j*k[5],w=k[7]-O*k[6]),N=r.offset,F=e.offset,t=r.data,o=e.data,L=0;L<I;L++){for(P=0;P<O;P++){for(C=0;C<j;C++){for(U=0;U<T;U++){for(V=0;V<q;V++){for(z=0;z<E;z++){for(B=0;B<x;B++){for(R=0;R<_;R++)o[F]=a(t[N]),N+=i,F+=y;N+=n,F+=p}N+=s,F+=m}N+=u,F+=h}N+=v,F+=g}N+=f,F+=b}N+=l,F+=S}N+=d,F+=w}}cV.exports=INr});var yV=c((Gce,pV)=>{"use strict";function ONr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y;for(x=r.shape,F=r.strides,R=e.strides,r.order==="row-major"?(E=x[8],q=x[7],T=x[6],j=x[5],O=x[4],I=x[3],D=x[2],k=x[1],N=x[0],i=F[8],n=F[7]-E*F[8],s=F[6]-q*F[7],u=F[5]-T*F[6],v=F[4]-j*F[5],f=F[3]-O*F[4],l=F[2]-I*F[3],d=F[1]-D*F[2],y=F[0]-k*F[1],p=R[8],m=R[7]-E*R[8],h=R[6]-q*R[7],g=R[5]-T*R[6],b=R[4]-j*R[5],S=R[3]-O*R[4],w=R[2]-I*R[3],A=R[1]-D*R[2],_=R[0]-k*R[1]):(E=x[0],q=x[1],T=x[2],j=x[3],O=x[4],I=x[5],D=x[6],k=x[7],N=x[8],i=F[0],n=F[1]-E*F[0],s=F[2]-q*F[1],u=F[3]-T*F[2],v=F[4]-j*F[3],f=F[5]-O*F[4],l=F[6]-I*F[5],d=F[7]-D*F[6],y=F[8]-k*F[7],p=R[0],m=R[1]-E*R[0],h=R[2]-q*R[1],g=R[3]-T*R[2],b=R[4]-j*R[3],S=R[5]-O*R[4],w=R[6]-I*R[5],A=R[7]-D*R[6],_=R[8]-k*R[7]),B=r.offset,z=e.offset,t=r.data,o=e.data,Y=0;Y<N;Y++){for($=0;$<k;$++){for(G=0;G<D;G++){for(M=0;M<I;M++){for(L=0;L<O;L++){for(P=0;P<j;P++){for(C=0;C<T;C++){for(U=0;U<q;U++){for(V=0;V<E;V++)o[z]=a(t[B]),B+=i,z+=p;B+=n,z+=m}B+=s,z+=h}B+=u,z+=g}B+=v,z+=b}B+=f,z+=S}B+=l,z+=w}B+=d,z+=A}B+=y,z+=_}}pV.exports=ONr});var hV=c((Yce,mV)=>{"use strict";function NNr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K;for(q=r.shape,z=r.strides,V=e.strides,r.order==="row-major"?(T=q[9],j=q[8],O=q[7],I=q[6],D=q[5],k=q[4],N=q[3],F=q[2],R=q[1],B=q[0],i=z[9],n=z[8]-T*z[9],s=z[7]-j*z[8],u=z[6]-O*z[7],v=z[5]-I*z[6],f=z[4]-D*z[5],l=z[3]-k*z[4],d=z[2]-N*z[3],y=z[1]-F*z[2],p=z[0]-R*z[1],m=V[9],h=V[8]-T*V[9],g=V[7]-j*V[8],b=V[6]-O*V[7],S=V[5]-I*V[6],w=V[4]-D*V[5],A=V[3]-k*V[4],_=V[2]-N*V[3],x=V[1]-F*V[2],E=V[0]-R*V[1]):(T=q[0],j=q[1],O=q[2],I=q[3],D=q[4],k=q[5],N=q[6],F=q[7],R=q[8],B=q[9],i=z[0],n=z[1]-T*z[0],s=z[2]-j*z[1],u=z[3]-O*z[2],v=z[4]-I*z[3],f=z[5]-D*z[4],l=z[6]-k*z[5],d=z[7]-N*z[6],y=z[8]-F*z[7],p=z[9]-R*z[8],m=V[0],h=V[1]-T*V[0],g=V[2]-j*V[1],b=V[3]-O*V[2],S=V[4]-I*V[3],w=V[5]-D*V[4],A=V[6]-k*V[5],_=V[7]-N*V[6],x=V[8]-F*V[7],E=V[9]-R*V[8]),U=r.offset,C=e.offset,t=r.data,o=e.data,K=0;K<B;K++){for(X=0;X<R;X++){for(J=0;J<F;J++){for(W=0;W<N;W++){for(Y=0;Y<k;Y++){for($=0;$<D;$++){for(G=0;G<I;G++){for(M=0;M<O;M++){for(L=0;L<j;L++){for(P=0;P<T;P++)o[C]=a(t[U]),U+=i,C+=m;U+=n,C+=h}U+=s,C+=g}U+=u,C+=b}U+=v,C+=S}U+=f,C+=w}U+=l,C+=A}U+=d,C+=_}U+=y,C+=x}U+=p,C+=E}}mV.exports=NNr});var qV=c(($ce,xV)=>{"use strict";var DNr=Jr(),gV=na(),bV="throw";function kNr(r,e,a){var t,o,i,n,s,u,v,f,l,d,y,p,m;for(u=r.shape,s=DNr(u),t=r.data,o=e.data,v=r.strides,f=e.strides,l=r.offset,d=e.offset,i=r.order,n=e.order,m=0;m<s;m++)y=gV(u,v,l,i,m,bV),p=gV(u,f,d,n,m,bV),o[p]=a(t[y])}xV.exports=kNr});var TV=c((Wce,_V)=>{"use strict";var wV=Ea(),SV=et(),EV=ei(),BNr=MR(),FNr=YR(),RNr=WR(),zNr=XR(),VNr=HR(),UNr=QR(),CNr=ez(),PNr=tz(),LNr=oz(),MNr=sz(),GNr=vz(),YNr=lz(),$Nr=dz(),WNr=yz(),JNr=hz(),XNr=bz(),KNr=qz(),HNr=Sz(),ZNr=Az(),QNr=Tz(),rDr=Iz(),eDr=Nz(),aDr=kz(),tDr=Fz(),iDr=zz(),oDr=Uz(),nDr=Pz(),sDr=Mz(),uDr=Yz(),vDr=Xz(),fDr=Hz(),lDr=Qz(),cDr=eV(),dDr=tV(),pDr=oV(),yDr=sV(),mDr=vV(),hDr=lV(),gDr=dV(),bDr=yV(),xDr=hV(),qDr=qV(),Ti=[fDr,lDr,cDr,dDr,pDr,yDr,mDr,hDr,gDr,bDr,xDr],Do=[ZNr,QNr,rDr,eDr,aDr,tDr,iDr,oDr,nDr,sDr,uDr],wDr=[MNr,GNr,YNr,$Nr,WNr,JNr,XNr,KNr,HNr],SDr=[BNr,FNr,RNr,zNr,VNr,UNr,CNr,PNr,LNr],AV=Ti.length-1;function EDr(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b;if(m=EV(r[0]),h=EV(r[1]),i=m.shape,n=h.shape,a=i.length,a!==n.length)throw new Error("invalid arguments. Arrays must have the same number of dimensions (i.e., same rank). ndims(x) == "+a+". ndims(y) == "+n.length+".");if(a===0)return m.accessorProtocol||h.accessorProtocol?Do[a](m,h,e):Ti[a](m,h,e);for(v=1,p=0,b=0;b<a;b++){if(g=i[b],g!==n[b])throw new Error("invalid arguments. Arrays must have the same shape.");v*=g,g===1&&(p+=1)}if(v!==0){if(a===1)return m.accessorProtocol||h.accessorProtocol?Do[a](m,h,e):Ti[a](m,h,e);if(f=m.strides,l=h.strides,p===a-1){for(b=0;b<a&&i[b]===1;b++);return m.shape=[i[b]],h.shape=m.shape,m.strides=[f[b]],h.strides=[l[b]],m.accessorProtocol||h.accessorProtocol?Do[1](m,h,e):Ti[1](m,h,e)}if(s=wV(f),u=wV(l),s!==0&&u!==0&&s===u){if(t=SV(i,f,m.offset),o=SV(n,l,h.offset),v===t[1]-t[0]+1&&v===o[1]-o[0]+1)return s===1?d=t[0]:d=t[1],u===1?y=o[0]:y=o[1],m.shape=[v],h.shape=m.shape,m.strides=[s],h.strides=[u],m.offset=d,h.offset=y,m.accessorProtocol||h.accessorProtocol?Do[1](m,h,e):Ti[1](m,h,e);if(a<=AV)return m.accessorProtocol||h.accessorProtocol?Do[a](m,h,e):Ti[a](m,h,e)}if(a<=AV)return m.accessorProtocol||h.accessorProtocol?SDr[a-2](m,h,e):wDr[a-2](m,h,e);if(m.accessorProtocol||h.accessorProtocol)return vDr(m,h,e);qDr(m,h,e)}}_V.exports=EDr});var IV=c((Jce,jV)=>{"use strict";var ADr=TV();jV.exports=ADr});var NV=c((Xce,OV)=>{"use strict";var _Dr=zr(),TDr=Rr();function jDr(r,e,a,t,o){var i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k;for(I=_Dr(r.shape,r.strides,e.strides),h=I.sh,S=I.sx,w=I.sy,i=TDr(r.dtype,e.dtype),A=r.offset,_=e.offset,n=r.data,s=e.data,f=S[0],d=w[0],u=r.accessors[0],v=e.accessors[1],k=0,O=h[1];O>0;)for(O<i?(b=O,O=0):(b=i,O-=i),p=A+O*S[1],m=_+O*w[1],j=h[0];j>0;)for(j<i?(g=j,j=0):(g=i,j-=i),x=p+j*S[0],E=m+j*w[0],l=S[1]-g*S[0],y=w[1]-g*w[0],T=0;T<b;T++){for(q=0;q<g;q++)D=t.call(o,u(n,x),k,[x,E],[r,e]),D!==void 0&&v(s,E,a(D)),x+=f,E+=d,k+=1;x+=l,E+=y}}OV.exports=jDr});var kV=c((Kce,DV)=>{"use strict";var IDr=zr(),ODr=Rr();function NDr(r,e,a,t,o){var i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U;for(z=IDr(r.shape,r.strides,e.strides),w=z.sh,E=z.sx,q=z.sy,i=ODr(r.dtype,e.dtype),T=r.offset,j=e.offset,n=r.data,s=e.data,f=E[0],y=q[0],u=r.accessors[0],v=e.accessors[1],U=0,B=w[2];B>0;)for(B<i?(x=B,B=0):(x=i,B-=i),g=T+B*E[2],S=j+B*q[2],R=w[1];R>0;)for(R<i?(_=R,R=0):(_=i,R-=i),d=E[2]-_*E[1],m=q[2]-_*q[1],h=g+R*E[1],b=S+R*q[1],F=w[0];F>0;)for(F<i?(A=F,F=0):(A=i,F-=i),O=h+F*E[0],I=b+F*q[0],l=E[1]-A*E[0],p=q[1]-A*q[0],N=0;N<x;N++){for(k=0;k<_;k++){for(D=0;D<A;D++)V=t.call(o,u(n,O),U,[O,I],[r,e]),V!==void 0&&v(s,I,a(V)),O+=f,I+=y,U+=1;O+=l,I+=p}O+=d,I+=m}}DV.exports=NDr});var FV=c((Hce,BV)=>{"use strict";var DDr=zr(),kDr=Rr();function BDr(r,e,a,t,o){var i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y;for(G=DDr(r.shape,r.strides,e.strides),E=G.sh,I=G.sx,D=G.sy,i=kDr(r.dtype,e.dtype),k=r.offset,N=e.offset,n=r.data,s=e.data,f=I[0],p=D[0],u=r.accessors[0],v=e.accessors[1],Y=0,M=E[3];M>0;)for(M<i?(O=M,M=0):(O=i,M-=i),w=k+M*I[3],x=N+M*D[3],L=E[2];L>0;)for(L<i?(j=L,L=0):(j=i,L-=i),y=I[3]-j*I[2],g=D[3]-j*D[2],S=w+L*I[2],_=x+L*D[2],P=E[1];P>0;)for(P<i?(T=P,P=0):(T=i,P-=i),d=I[2]-T*I[1],h=D[2]-T*D[1],b=S+P*I[1],A=_+P*D[1],C=E[0];C>0;)for(C<i?(q=C,C=0):(q=i,C-=i),F=b+C*I[0],R=A+C*D[0],l=I[1]-q*I[0],m=D[1]-q*D[0],U=0;U<O;U++){for(V=0;V<j;V++){for(z=0;z<T;z++){for(B=0;B<q;B++)$=t.call(o,u(n,F),Y,[F,R],[r,e]),$!==void 0&&v(s,R,a($)),F+=f,R+=p,Y+=1;F+=l,R+=m}F+=d,R+=h}F+=y,R+=g}}BV.exports=BDr});var zV=c((Zce,RV)=>{"use strict";var FDr=zr(),RDr=Rr();function zDr(r,e,a,t,o){var i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q,Z;for(H=FDr(r.shape,r.strides,e.strides),O=H.sh,R=H.sx,B=H.sy,i=RDr(r.dtype,e.dtype),z=r.offset,V=e.offset,n=r.data,s=e.data,f=R[0],m=B[0],u=r.accessors[0],v=e.accessors[1],Z=0,K=O[4];K>0;)for(K<i?(F=K,K=0):(F=i,K-=i),x=z+K*R[4],j=V+K*B[4],X=O[3];X>0;)for(X<i?(N=X,X=0):(N=i,X-=i),p=R[4]-N*R[3],S=B[4]-N*B[3],_=x+X*R[3],T=j+X*B[3],J=O[2];J>0;)for(J<i?(k=J,J=0):(k=i,J-=i),y=R[3]-k*R[2],b=B[3]-k*B[2],A=_+J*R[2],q=T+J*B[2],W=O[1];W>0;)for(W<i?(D=W,W=0):(D=i,W-=i),d=R[2]-D*R[1],g=B[2]-D*B[1],w=A+W*R[1],E=q+W*B[1],Y=O[0];Y>0;)for(Y<i?(I=Y,Y=0):(I=i,Y-=i),U=w+Y*R[0],C=E+Y*B[0],l=R[1]-I*R[0],h=B[1]-I*B[0],$=0;$<F;$++){for(G=0;G<N;G++){for(M=0;M<k;M++){for(L=0;L<D;L++){for(P=0;P<I;P++)Q=t.call(o,u(n,U),Z,[U,C],[r,e]),Q!==void 0&&v(s,C,a(Q)),U+=f,C+=m,Z+=1;U+=l,C+=h}U+=d,C+=g}U+=y,C+=b}U+=p,C+=S}}RV.exports=zDr});var UV=c((Qce,VV)=>{"use strict";var VDr=zr(),UDr=Rr();function CDr(r,e,a,t,o){var i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr;for(tr=VDr(r.shape,r.strides,e.strides),N=tr.sh,C=tr.sx,P=tr.sy,i=UDr(r.dtype,e.dtype),L=r.offset,M=e.offset,n=r.data,s=e.data,f=C[0],h=P[0],u=r.accessors[0],v=e.accessors[1],nr=0,ir=N[5];ir>0;)for(ir<i?(U=ir,ir=0):(U=i,ir-=i),T=L+ir*C[5],k=M+ir*P[5],er=N[4];er>0;)for(er<i?(V=er,er=0):(V=i,er-=i),m=C[5]-V*C[4],A=P[5]-V*P[4],q=T+er*C[4],D=k+er*P[4],ar=N[3];ar>0;)for(ar<i?(z=ar,ar=0):(z=i,ar-=i),p=C[4]-z*C[3],w=P[4]-z*P[3],E=q+ar*C[3],I=D+ar*P[3],rr=N[2];rr>0;)for(rr<i?(B=rr,rr=0):(B=i,rr-=i),y=C[3]-B*C[2],S=P[3]-B*P[2],x=E+rr*C[2],O=I+rr*P[2],Z=N[1];Z>0;)for(Z<i?(R=Z,Z=0):(R=i,Z-=i),d=C[2]-R*C[1],b=P[2]-R*P[1],_=x+Z*C[1],j=O+Z*P[1],Q=N[0];Q>0;)for(Q<i?(F=Q,Q=0):(F=i,Q-=i),G=_+Q*C[0],$=j+Q*P[0],l=C[1]-F*C[0],g=P[1]-F*P[0],H=0;H<U;H++){for(K=0;K<V;K++){for(X=0;X<z;X++){for(J=0;J<B;J++){for(W=0;W<R;W++){for(Y=0;Y<F;Y++)or=t.call(o,u(n,G),nr,[G,$],[r,e]),or!==void 0&&v(s,$,a(or)),G+=f,$+=h,nr+=1;G+=l,$+=g}G+=d,$+=b}G+=y,$+=S}G+=p,$+=w}G+=m,$+=A}}VV.exports=CDr});var PV=c((rde,CV)=>{"use strict";var PDr=zr(),LDr=Rr();function MDr(r,e,a,t,o){var i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr,lr,fr,yr,dr;for(fr=PDr(r.shape,r.strides,e.strides),z=fr.sh,$=fr.sx,Y=fr.sy,i=LDr(r.dtype,e.dtype),W=r.offset,J=e.offset,n=r.data,s=e.data,f=$[0],g=Y[0],u=r.accessors[0],v=e.accessors[1],dr=0,lr=z[6];lr>0;)for(lr<i?(G=lr,lr=0):(G=i,lr-=i),I=W+lr*$[6],B=J+lr*Y[6],vr=z[5];vr>0;)for(vr<i?(M=vr,vr=0):(M=i,vr-=i),h=$[6]-M*$[5],x=Y[6]-M*Y[5],O=I+vr*$[5],R=B+vr*Y[5],ur=z[4];ur>0;)for(ur<i?(L=ur,ur=0):(L=i,ur-=i),m=$[5]-L*$[4],_=Y[5]-L*Y[4],j=O+ur*$[4],F=R+ur*Y[4],sr=z[3];sr>0;)for(sr<i?(P=sr,sr=0):(P=i,sr-=i),p=$[4]-P*$[3],A=Y[4]-P*Y[3],T=j+sr*$[3],N=F+sr*Y[3],nr=z[2];nr>0;)for(nr<i?(C=nr,nr=0):(C=i,nr-=i),y=$[3]-C*$[2],w=Y[3]-C*Y[2],q=T+nr*$[2],k=N+nr*Y[2],or=z[1];or>0;)for(or<i?(U=or,or=0):(U=i,or-=i),d=$[2]-U*$[1],S=Y[2]-U*Y[1],E=q+or*$[1],D=k+or*Y[1],tr=z[0];tr>0;)for(tr<i?(V=tr,tr=0):(V=i,tr-=i),X=E+tr*$[0],K=D+tr*Y[0],l=$[1]-V*$[0],b=Y[1]-V*Y[0],ir=0;ir<G;ir++){for(er=0;er<M;er++){for(ar=0;ar<L;ar++){for(rr=0;rr<P;rr++){for(Z=0;Z<C;Z++){for(Q=0;Q<U;Q++){for(H=0;H<V;H++)yr=t.call(o,u(n,X),dr,[X,K],[r,e]),yr!==void 0&&v(s,K,a(yr)),X+=f,K+=g,dr+=1;X+=l,K+=b}X+=d,K+=S}X+=y,K+=w}X+=p,K+=A}X+=m,K+=_}X+=h,K+=x}}CV.exports=MDr});var MV=c((ede,LV)=>{"use strict";var GDr=zr(),YDr=Rr();function $Dr(r,e,a,t,o){var i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr,lr,fr,yr,dr,mr,hr,br,wr,xr,qr,gr;for(xr=GDr(r.shape,r.strides,e.strides),P=xr.sh,K=xr.sx,H=xr.sy,i=YDr(r.dtype,e.dtype),Q=r.offset,Z=e.offset,n=r.data,s=e.data,f=K[0],b=H[0],u=r.accessors[0],v=e.accessors[1],gr=0,wr=P[7];wr>0;)for(wr<i?(X=wr,wr=0):(X=i,wr-=i),N=Q+wr*K[7],C=Z+wr*H[7],br=P[6];br>0;)for(br<i?(J=br,br=0):(J=i,br-=i),g=K[7]-J*K[6],q=H[7]-J*H[6],k=N+br*K[6],U=C+br*H[6],hr=P[5];hr>0;)for(hr<i?(W=hr,hr=0):(W=i,hr-=i),h=K[6]-W*K[5],E=H[6]-W*H[5],D=k+hr*K[5],V=U+hr*H[5],mr=P[4];mr>0;)for(mr<i?(Y=mr,mr=0):(Y=i,mr-=i),m=K[5]-Y*K[4],x=H[5]-Y*H[4],I=D+mr*K[4],z=V+mr*H[4],dr=P[3];dr>0;)for(dr<i?($=dr,dr=0):($=i,dr-=i),p=K[4]-$*K[3],_=H[4]-$*H[3],O=I+dr*K[3],B=z+dr*H[3],yr=P[2];yr>0;)for(yr<i?(G=yr,yr=0):(G=i,yr-=i),y=K[3]-G*K[2],A=H[3]-G*H[2],j=O+yr*K[2],R=B+yr*H[2],fr=P[1];fr>0;)for(fr<i?(M=fr,fr=0):(M=i,fr-=i),d=K[2]-M*K[1],w=H[2]-M*H[1],T=j+fr*K[1],F=R+fr*H[1],lr=P[0];lr>0;)for(lr<i?(L=lr,lr=0):(L=i,lr-=i),rr=T+lr*K[0],ar=F+lr*H[0],l=K[1]-L*K[0],S=H[1]-L*H[0],vr=0;vr<X;vr++){for(ur=0;ur<J;ur++){for(sr=0;sr<W;sr++){for(nr=0;nr<Y;nr++){for(or=0;or<$;or++){for(tr=0;tr<G;tr++){for(ir=0;ir<M;ir++){for(er=0;er<L;er++)qr=t.call(o,u(n,rr),gr,[rr,ar],[r,e]),qr!==void 0&&v(s,ar,a(qr)),rr+=f,ar+=b,gr+=1;rr+=l,ar+=S}rr+=d,ar+=w}rr+=y,ar+=A}rr+=p,ar+=_}rr+=m,ar+=x}rr+=h,ar+=E}rr+=g,ar+=q}}LV.exports=$Dr});var YV=c((ade,GV)=>{"use strict";var WDr=zr(),JDr=Rr();function XDr(r,e,a,t,o){var i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr,lr,fr,yr,dr,mr,hr,br,wr,xr,qr,gr,Ar,_r,Tr,jr,Or,Fr,Vr;for(Or=WDr(r.shape,r.strides,e.strides),$=Or.sh,ar=Or.sx,er=Or.sy,i=JDr(r.dtype,e.dtype),ir=r.offset,tr=e.offset,n=r.data,s=e.data,f=ar[0],S=er[0],u=r.accessors[0],v=e.accessors[1],Vr=0,jr=$[8];jr>0;)for(jr<i?(rr=jr,jr=0):(rr=i,jr-=i),B=ir+jr*ar[8],G=tr+jr*er[8],Tr=$[7];Tr>0;)for(Tr<i?(Z=Tr,Tr=0):(Z=i,Tr-=i),b=ar[8]-Z*ar[7],j=er[8]-Z*er[7],R=B+Tr*ar[7],M=G+Tr*er[7],_r=$[6];_r>0;)for(_r<i?(Q=_r,_r=0):(Q=i,_r-=i),g=ar[7]-Q*ar[6],T=er[7]-Q*er[6],F=R+_r*ar[6],L=M+_r*er[6],Ar=$[5];Ar>0;)for(Ar<i?(H=Ar,Ar=0):(H=i,Ar-=i),h=ar[6]-H*ar[5],q=er[6]-H*er[5],N=F+Ar*ar[5],P=L+Ar*er[5],gr=$[4];gr>0;)for(gr<i?(K=gr,gr=0):(K=i,gr-=i),m=ar[5]-K*ar[4],E=er[5]-K*er[4],k=N+gr*ar[4],C=P+gr*er[4],qr=$[3];qr>0;)for(qr<i?(X=qr,qr=0):(X=i,qr-=i),p=ar[4]-X*ar[3],x=er[4]-X*er[3],D=k+qr*ar[3],U=C+qr*er[3],xr=$[2];xr>0;)for(xr<i?(J=xr,xr=0):(J=i,xr-=i),y=ar[3]-J*ar[2],_=er[3]-J*er[2],I=D+xr*ar[2],V=U+xr*er[2],wr=$[1];wr>0;)for(wr<i?(W=wr,wr=0):(W=i,wr-=i),d=ar[2]-W*ar[1],A=er[2]-W*er[1],O=I+wr*ar[1],z=V+wr*er[1],br=$[0];br>0;)for(br<i?(Y=br,br=0):(Y=i,br-=i),or=O+br*ar[0],nr=z+br*er[0],l=ar[1]-Y*ar[0],w=er[1]-Y*er[0],hr=0;hr<rr;hr++){for(mr=0;mr<Z;mr++){for(dr=0;dr<Q;dr++){for(yr=0;yr<H;yr++){for(fr=0;fr<K;fr++){for(lr=0;lr<X;lr++){for(vr=0;vr<J;vr++){for(ur=0;ur<W;ur++){for(sr=0;sr<Y;sr++)Fr=t.call(o,u(n,or),Vr,[or,nr],[r,e]),Fr!==void 0&&v(s,nr,a(Fr)),or+=f,nr+=S,Vr+=1;or+=l,nr+=w}or+=d,nr+=A}or+=y,nr+=_}or+=p,nr+=x}or+=m,nr+=E}or+=h,nr+=q}or+=g,nr+=T}or+=b,nr+=j}}GV.exports=XDr});var WV=c((tde,$V)=>{"use strict";var KDr=zr(),HDr=Rr();function ZDr(r,e,a,t,o){var i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr,lr,fr,yr,dr,mr,hr,br,wr,xr,qr,gr,Ar,_r,Tr,jr,Or,Fr,Vr,Hr,ie,De,ua,ht,Vs,Us;for(ht=KDr(r.shape,r.strides,e.strides),X=ht.sh,nr=ht.sx,sr=ht.sy,i=HDr(r.dtype,e.dtype),ur=r.offset,vr=e.offset,n=r.data,s=e.data,f=nr[0],w=sr[0],u=r.accessors[0],v=e.accessors[1],Us=0,ua=X[9];ua>0;)for(ua<i?(or=ua,ua=0):(or=i,ua-=i),U=ur+ua*nr[9],J=vr+ua*sr[9],De=X[8];De>0;)for(De<i?(tr=De,De=0):(tr=i,De-=i),S=nr[9]-tr*nr[8],I=sr[9]-tr*sr[8],V=U+De*nr[8],W=J+De*sr[8],ie=X[7];ie>0;)for(ie<i?(ir=ie,ie=0):(ir=i,ie-=i),b=nr[8]-ir*nr[7],O=sr[8]-ir*sr[7],z=V+ie*nr[7],Y=W+ie*sr[7],Hr=X[6];Hr>0;)for(Hr<i?(er=Hr,Hr=0):(er=i,Hr-=i),g=nr[7]-er*nr[6],j=sr[7]-er*sr[6],B=z+Hr*nr[6],$=Y+Hr*sr[6],Vr=X[5];Vr>0;)for(Vr<i?(ar=Vr,Vr=0):(ar=i,Vr-=i),h=nr[6]-ar*nr[5],T=sr[6]-ar*sr[5],R=B+Vr*nr[5],G=$+Vr*sr[5],Fr=X[4];Fr>0;)for(Fr<i?(rr=Fr,Fr=0):(rr=i,Fr-=i),m=nr[5]-rr*nr[4],q=sr[5]-rr*sr[4],F=R+Fr*nr[4],M=G+Fr*sr[4],Or=X[3];Or>0;)for(Or<i?(Z=Or,Or=0):(Z=i,Or-=i),p=nr[4]-Z*nr[3],E=sr[4]-Z*sr[3],N=F+Or*nr[3],L=M+Or*sr[3],jr=X[2];jr>0;)for(jr<i?(Q=jr,jr=0):(Q=i,jr-=i),y=nr[3]-Q*nr[2],x=sr[3]-Q*sr[2],k=N+jr*nr[2],P=L+jr*sr[2],Tr=X[1];Tr>0;)for(Tr<i?(H=Tr,Tr=0):(H=i,Tr-=i),d=nr[2]-H*nr[1],_=sr[2]-H*sr[1],D=k+Tr*nr[1],C=P+Tr*sr[1],_r=X[0];_r>0;)for(_r<i?(K=_r,_r=0):(K=i,_r-=i),lr=D+_r*nr[0],fr=C+_r*sr[0],l=nr[1]-K*nr[0],A=sr[1]-K*sr[0],Ar=0;Ar<or;Ar++){for(gr=0;gr<tr;gr++){for(qr=0;qr<ir;qr++){for(xr=0;xr<er;xr++){for(wr=0;wr<ar;wr++){for(br=0;br<rr;br++){for(hr=0;hr<Z;hr++){for(mr=0;mr<Q;mr++){for(dr=0;dr<H;dr++){for(yr=0;yr<K;yr++)Vs=t.call(o,u(n,lr),Us,[lr,fr],[r,e]),Vs!==void 0&&v(s,fr,a(Vs)),lr+=f,fr+=w,Us+=1;lr+=l,fr+=A}lr+=d,fr+=_}lr+=y,fr+=x}lr+=p,fr+=E}lr+=m,fr+=q}lr+=h,fr+=T}lr+=g,fr+=j}lr+=b,fr+=O}lr+=S,fr+=I}}$V.exports=ZDr});var XV=c((ide,JV)=>{"use strict";var QDr=zr(),rkr=Rr();function ekr(r,e,a,t,o){var i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I;for(j=QDr(r.shape,r.strides,e.strides),p=j.sh,g=j.sx,b=j.sy,i=rkr(r.dtype,e.dtype),S=r.offset,w=e.offset,n=r.data,s=e.data,u=g[0],f=b[0],I=0,T=p[1];T>0;)for(T<i?(h=T,T=0):(h=i,T-=i),d=S+T*g[1],y=w+T*b[1],q=p[0];q>0;)for(q<i?(m=q,q=0):(m=i,q-=i),A=d+q*g[0],_=y+q*b[0],v=g[1]-m*g[0],l=b[1]-m*b[0],E=0;E<h;E++){for(x=0;x<m;x++)O=t.call(o,n[A],I,[A,_],[r,e]),O!==void 0&&(s[_]=a(O)),A+=u,_+=f,I+=1;A+=v,_+=l}}JV.exports=ekr});var HV=c((ode,KV)=>{"use strict";var akr=zr(),tkr=Rr();function ikr(r,e,a,t,o){var i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z;for(R=akr(r.shape,r.strides,e.strides),b=R.sh,_=R.sx,x=R.sy,i=tkr(r.dtype,e.dtype),E=r.offset,q=e.offset,n=r.data,s=e.data,u=_[0],l=x[0],z=0,F=b[2];F>0;)for(F<i?(A=F,F=0):(A=i,F-=i),m=E+F*_[2],g=q+F*x[2],N=b[1];N>0;)for(N<i?(w=N,N=0):(w=i,N-=i),f=_[2]-w*_[1],y=x[2]-w*x[1],p=m+N*_[1],h=g+N*x[1],k=b[0];k>0;)for(k<i?(S=k,k=0):(S=i,k-=i),T=p+k*_[0],j=h+k*x[0],v=_[1]-S*_[0],d=x[1]-S*x[0],D=0;D<A;D++){for(I=0;I<w;I++){for(O=0;O<S;O++)B=t.call(o,n[T],z,[T,j],[r,e]),B!==void 0&&(s[j]=a(B)),T+=u,j+=l,z+=1;T+=v,j+=d}T+=f,j+=y}}KV.exports=ikr});var QV=c((nde,ZV)=>{"use strict";var okr=zr(),nkr=Rr();function skr(r,e,a,t,o){var i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G;for(L=okr(r.shape,r.strides,e.strides),_=L.sh,j=L.sx,O=L.sy,i=nkr(r.dtype,e.dtype),I=r.offset,D=e.offset,n=r.data,s=e.data,u=j[0],d=O[0],G=0,P=_[3];P>0;)for(P<i?(T=P,P=0):(T=i,P-=i),b=I+P*j[3],A=D+P*O[3],C=_[2];C>0;)for(C<i?(q=C,C=0):(q=i,C-=i),l=j[3]-q*j[2],m=O[3]-q*O[2],g=b+C*j[2],w=A+C*O[2],U=_[1];U>0;)for(U<i?(E=U,U=0):(E=i,U-=i),f=j[2]-E*j[1],p=O[2]-E*O[1],h=g+U*j[1],S=w+U*O[1],V=_[0];V>0;)for(V<i?(x=V,V=0):(x=i,V-=i),k=h+V*j[0],N=S+V*O[0],v=j[1]-x*j[0],y=O[1]-x*O[0],z=0;z<T;z++){for(B=0;B<q;B++){for(R=0;R<E;R++){for(F=0;F<x;F++)M=t.call(o,n[k],G,[k,N],[r,e]),M!==void 0&&(s[N]=a(M)),k+=u,N+=d,G+=1;k+=v,N+=y}k+=f,N+=p}k+=l,N+=m}}ZV.exports=skr});var eU=c((sde,rU)=>{"use strict";var ukr=zr(),vkr=Rr();function fkr(r,e,a,t,o){var i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H;for(X=ukr(r.shape,r.strides,e.strides),T=X.sh,N=X.sx,F=X.sy,i=vkr(r.dtype,e.dtype),R=r.offset,B=e.offset,n=r.data,s=e.data,u=N[0],y=F[0],H=0,J=T[4];J>0;)for(J<i?(k=J,J=0):(k=i,J-=i),A=R+J*N[4],q=B+J*F[4],W=T[3];W>0;)for(W<i?(D=W,W=0):(D=i,W-=i),d=N[4]-D*N[3],g=F[4]-D*F[3],w=A+W*N[3],E=q+W*F[3],Y=T[2];Y>0;)for(Y<i?(I=Y,Y=0):(I=i,Y-=i),l=N[3]-I*N[2],h=F[3]-I*F[2],S=w+Y*N[2],x=E+Y*F[2],$=T[1];$>0;)for($<i?(O=$,$=0):(O=i,$-=i),f=N[2]-O*N[1],m=F[2]-O*F[1],b=S+$*N[1],_=x+$*F[1],G=T[0];G>0;)for(G<i?(j=G,G=0):(j=i,G-=i),z=b+G*N[0],V=_+G*F[0],v=N[1]-j*N[0],p=F[1]-j*F[0],M=0;M<k;M++){for(L=0;L<D;L++){for(P=0;P<I;P++){for(C=0;C<O;C++){for(U=0;U<j;U++)K=t.call(o,n[z],H,[z,V],[r,e]),K!==void 0&&(s[V]=a(K)),z+=u,V+=y,H+=1;z+=v,V+=p}z+=f,V+=m}z+=l,V+=h}z+=d,V+=g}}rU.exports=fkr});var tU=c((ude,aU)=>{"use strict";var lkr=zr(),ckr=Rr();function dkr(r,e,a,t,o){var i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr;for(er=lkr(r.shape,r.strides,e.strides),D=er.sh,V=er.sx,U=er.sy,i=ckr(r.dtype,e.dtype),C=r.offset,P=e.offset,n=r.data,s=e.data,u=V[0],p=U[0],tr=0,ar=D[5];ar>0;)for(ar<i?(z=ar,ar=0):(z=i,ar-=i),E=C+ar*V[5],I=P+ar*U[5],rr=D[4];rr>0;)for(rr<i?(B=rr,rr=0):(B=i,rr-=i),y=V[5]-B*V[4],S=U[5]-B*U[4],x=E+rr*V[4],O=I+rr*U[4],Z=D[3];Z>0;)for(Z<i?(R=Z,Z=0):(R=i,Z-=i),d=V[4]-R*V[3],b=U[4]-R*U[3],_=x+Z*V[3],j=O+Z*U[3],Q=D[2];Q>0;)for(Q<i?(F=Q,Q=0):(F=i,Q-=i),l=V[3]-F*V[2],g=U[3]-F*U[2],A=_+Q*V[2],T=j+Q*U[2],H=D[1];H>0;)for(H<i?(N=H,H=0):(N=i,H-=i),f=V[2]-N*V[1],h=U[2]-N*U[1],w=A+H*V[1],q=T+H*U[1],K=D[0];K>0;)for(K<i?(k=K,K=0):(k=i,K-=i),L=w+K*V[0],M=q+K*U[0],v=V[1]-k*V[0],m=U[1]-k*U[0],X=0;X<z;X++){for(J=0;J<B;J++){for(W=0;W<R;W++){for(Y=0;Y<F;Y++){for($=0;$<N;$++){for(G=0;G<k;G++)ir=t.call(o,n[L],tr,[L,M],[r,e]),ir!==void 0&&(s[M]=a(ir)),L+=u,M+=p,tr+=1;L+=v,M+=m}L+=f,M+=h}L+=l,M+=g}L+=d,M+=b}L+=y,M+=S}}aU.exports=dkr});var oU=c((vde,iU)=>{"use strict";var pkr=zr(),ykr=Rr();function mkr(r,e,a,t,o){var i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr,lr,fr;for(vr=pkr(r.shape,r.strides,e.strides),R=vr.sh,M=vr.sx,G=vr.sy,i=ykr(r.dtype,e.dtype),$=r.offset,Y=e.offset,n=r.data,s=e.data,u=M[0],m=G[0],fr=0,ur=R[6];ur>0;)for(ur<i?(L=ur,ur=0):(L=i,ur-=i),j=$+ur*M[6],F=Y+ur*G[6],sr=R[5];sr>0;)for(sr<i?(P=sr,sr=0):(P=i,sr-=i),p=M[6]-P*M[5],A=G[6]-P*G[5],T=j+sr*M[5],N=F+sr*G[5],nr=R[4];nr>0;)for(nr<i?(C=nr,nr=0):(C=i,nr-=i),y=M[5]-C*M[4],w=G[5]-C*G[4],q=T+nr*M[4],k=N+nr*G[4],or=R[3];or>0;)for(or<i?(U=or,or=0):(U=i,or-=i),d=M[4]-U*M[3],S=G[4]-U*G[3],E=q+or*M[3],D=k+or*G[3],tr=R[2];tr>0;)for(tr<i?(V=tr,tr=0):(V=i,tr-=i),l=M[3]-V*M[2],b=G[3]-V*G[2],x=E+tr*M[2],I=D+tr*G[2],ir=R[1];ir>0;)for(ir<i?(z=ir,ir=0):(z=i,ir-=i),f=M[2]-z*M[1],g=G[2]-z*G[1],_=x+ir*M[1],O=I+ir*G[1],er=R[0];er>0;)for(er<i?(B=er,er=0):(B=i,er-=i),W=_+er*M[0],J=O+er*G[0],v=M[1]-B*M[0],h=G[1]-B*G[0],ar=0;ar<L;ar++){for(rr=0;rr<P;rr++){for(Z=0;Z<C;Z++){for(Q=0;Q<U;Q++){for(H=0;H<V;H++){for(K=0;K<z;K++){for(X=0;X<B;X++)lr=t.call(o,n[W],fr,[W,J],[r,e]),lr!==void 0&&(s[J]=a(lr)),W+=u,J+=m,fr+=1;W+=v,J+=h}W+=f,J+=g}W+=l,J+=b}W+=d,J+=S}W+=y,J+=w}W+=p,J+=A}}iU.exports=mkr});var sU=c((fde,nU)=>{"use strict";var hkr=zr(),gkr=Rr();function bkr(r,e,a,t,o){var i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr,lr,fr,yr,dr,mr,hr,br,wr,xr;for(br=hkr(r.shape,r.strides,e.strides),U=br.sh,J=br.sx,X=br.sy,i=gkr(r.dtype,e.dtype),K=r.offset,H=e.offset,n=r.data,s=e.data,u=J[0],h=X[0],xr=0,hr=U[7];hr>0;)for(hr<i?(W=hr,hr=0):(W=i,hr-=i),D=K+hr*J[7],V=H+hr*X[7],mr=U[6];mr>0;)for(mr<i?(Y=mr,mr=0):(Y=i,mr-=i),m=J[7]-Y*J[6],x=X[7]-Y*X[6],I=D+mr*J[6],z=V+mr*X[6],dr=U[5];dr>0;)for(dr<i?($=dr,dr=0):($=i,dr-=i),p=J[6]-$*J[5],_=X[6]-$*X[5],O=I+dr*J[5],B=z+dr*X[5],yr=U[4];yr>0;)for(yr<i?(G=yr,yr=0):(G=i,yr-=i),y=J[5]-G*J[4],A=X[5]-G*X[4],j=O+yr*J[4],R=B+yr*X[4],fr=U[3];fr>0;)for(fr<i?(M=fr,fr=0):(M=i,fr-=i),d=J[4]-M*J[3],w=X[4]-M*X[3],T=j+fr*J[3],F=R+fr*X[3],lr=U[2];lr>0;)for(lr<i?(L=lr,lr=0):(L=i,lr-=i),l=J[3]-L*J[2],S=X[3]-L*X[2],q=T+lr*J[2],N=F+lr*X[2],vr=U[1];vr>0;)for(vr<i?(P=vr,vr=0):(P=i,vr-=i),f=J[2]-P*J[1],b=X[2]-P*X[1],E=q+vr*J[1],k=N+vr*X[1],ur=U[0];ur>0;)for(ur<i?(C=ur,ur=0):(C=i,ur-=i),Q=E+ur*J[0],Z=k+ur*X[0],v=J[1]-C*J[0],g=X[1]-C*X[0],sr=0;sr<W;sr++){for(nr=0;nr<Y;nr++){for(or=0;or<$;or++){for(tr=0;tr<G;tr++){for(ir=0;ir<M;ir++){for(er=0;er<L;er++){for(ar=0;ar<P;ar++){for(rr=0;rr<C;rr++)wr=t.call(o,n[Q],xr,[Q,Z],[r,e]),wr!==void 0&&(s[Z]=a(wr)),Q+=u,Z+=h,xr+=1;Q+=v,Z+=g}Q+=f,Z+=b}Q+=l,Z+=S}Q+=d,Z+=w}Q+=y,Z+=A}Q+=p,Z+=_}Q+=m,Z+=x}}nU.exports=bkr});var vU=c((lde,uU)=>{"use strict";var xkr=zr(),qkr=Rr();function wkr(r,e,a,t,o){var i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr,lr,fr,yr,dr,mr,hr,br,wr,xr,qr,gr,Ar,_r,Tr,jr,Or;for(Tr=xkr(r.shape,r.strides,e.strides),M=Tr.sh,Z=Tr.sx,rr=Tr.sy,i=qkr(r.dtype,e.dtype),ar=r.offset,er=e.offset,n=r.data,s=e.data,u=Z[0],g=rr[0],Or=0,_r=M[8];_r>0;)for(_r<i?(Q=_r,_r=0):(Q=i,_r-=i),F=ar+_r*Z[8],L=er+_r*rr[8],Ar=M[7];Ar>0;)for(Ar<i?(H=Ar,Ar=0):(H=i,Ar-=i),h=Z[8]-H*Z[7],q=rr[8]-H*rr[7],N=F+Ar*Z[7],P=L+Ar*rr[7],gr=M[6];gr>0;)for(gr<i?(K=gr,gr=0):(K=i,gr-=i),m=Z[7]-K*Z[6],E=rr[7]-K*rr[6],k=N+gr*Z[6],C=P+gr*rr[6],qr=M[5];qr>0;)for(qr<i?(X=qr,qr=0):(X=i,qr-=i),p=Z[6]-X*Z[5],x=rr[6]-X*rr[5],D=k+qr*Z[5],U=C+qr*rr[5],xr=M[4];xr>0;)for(xr<i?(J=xr,xr=0):(J=i,xr-=i),y=Z[5]-J*Z[4],_=rr[5]-J*rr[4],I=D+xr*Z[4],V=U+xr*rr[4],wr=M[3];wr>0;)for(wr<i?(W=wr,wr=0):(W=i,wr-=i),d=Z[4]-W*Z[3],A=rr[4]-W*rr[3],O=I+wr*Z[3],z=V+wr*rr[3],br=M[2];br>0;)for(br<i?(Y=br,br=0):(Y=i,br-=i),l=Z[3]-Y*Z[2],w=rr[3]-Y*rr[2],j=O+br*Z[2],B=z+br*rr[2],hr=M[1];hr>0;)for(hr<i?($=hr,hr=0):($=i,hr-=i),f=Z[2]-$*Z[1],S=rr[2]-$*rr[1],T=j+hr*Z[1],R=B+hr*rr[1],mr=M[0];mr>0;)for(mr<i?(G=mr,mr=0):(G=i,mr-=i),ir=T+mr*Z[0],tr=R+mr*rr[0],v=Z[1]-G*Z[0],b=rr[1]-G*rr[0],dr=0;dr<Q;dr++){for(yr=0;yr<H;yr++){for(fr=0;fr<K;fr++){for(lr=0;lr<X;lr++){for(vr=0;vr<J;vr++){for(ur=0;ur<W;ur++){for(sr=0;sr<Y;sr++){for(nr=0;nr<$;nr++){for(or=0;or<G;or++)jr=t.call(o,n[ir],Or,[ir,tr],[r,e]),jr!==void 0&&(s[tr]=a(jr)),ir+=u,tr+=g,Or+=1;ir+=v,tr+=b}ir+=f,tr+=S}ir+=l,tr+=w}ir+=d,tr+=A}ir+=y,tr+=_}ir+=p,tr+=x}ir+=m,tr+=E}ir+=h,tr+=q}}uU.exports=wkr});var lU=c((cde,fU)=>{"use strict";var Skr=zr(),Ekr=Rr();function Akr(r,e,a,t,o){var i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er,ir,tr,or,nr,sr,ur,vr,lr,fr,yr,dr,mr,hr,br,wr,xr,qr,gr,Ar,_r,Tr,jr,Or,Fr,Vr,Hr,ie,De,ua,ht;for(De=Skr(r.shape,r.strides,e.strides),W=De.sh,tr=De.sx,or=De.sy,i=Ekr(r.dtype,e.dtype),nr=r.offset,sr=e.offset,n=r.data,s=e.data,u=tr[0],b=or[0],ht=0,ie=W[9];ie>0;)for(ie<i?(ir=ie,ie=0):(ir=i,ie-=i),z=nr+ie*tr[9],Y=sr+ie*or[9],Hr=W[8];Hr>0;)for(Hr<i?(er=Hr,Hr=0):(er=i,Hr-=i),g=tr[9]-er*tr[8],j=or[9]-er*or[8],B=z+Hr*tr[8],$=Y+Hr*or[8],Vr=W[7];Vr>0;)for(Vr<i?(ar=Vr,Vr=0):(ar=i,Vr-=i),h=tr[8]-ar*tr[7],T=or[8]-ar*or[7],R=B+Vr*tr[7],G=$+Vr*or[7],Fr=W[6];Fr>0;)for(Fr<i?(rr=Fr,Fr=0):(rr=i,Fr-=i),m=tr[7]-rr*tr[6],q=or[7]-rr*or[6],F=R+Fr*tr[6],M=G+Fr*or[6],Or=W[5];Or>0;)for(Or<i?(Z=Or,Or=0):(Z=i,Or-=i),p=tr[6]-Z*tr[5],E=or[6]-Z*or[5],N=F+Or*tr[5],L=M+Or*or[5],jr=W[4];jr>0;)for(jr<i?(Q=jr,jr=0):(Q=i,jr-=i),y=tr[5]-Q*tr[4],x=or[5]-Q*or[4],k=N+jr*tr[4],P=L+jr*or[4],Tr=W[3];Tr>0;)for(Tr<i?(H=Tr,Tr=0):(H=i,Tr-=i),d=tr[4]-H*tr[3],_=or[4]-H*or[3],D=k+Tr*tr[3],C=P+Tr*or[3],_r=W[2];_r>0;)for(_r<i?(K=_r,_r=0):(K=i,_r-=i),l=tr[3]-K*tr[2],A=or[3]-K*or[2],I=D+_r*tr[2],U=C+_r*or[2],Ar=W[1];Ar>0;)for(Ar<i?(X=Ar,Ar=0):(X=i,Ar-=i),f=tr[2]-X*tr[1],w=or[2]-X*or[1],O=I+Ar*tr[1],V=U+Ar*or[1],gr=W[0];gr>0;)for(gr<i?(J=gr,gr=0):(J=i,gr-=i),ur=O+gr*tr[0],vr=V+gr*or[0],v=tr[1]-J*tr[0],S=or[1]-J*or[0],qr=0;qr<ir;qr++){for(xr=0;xr<er;xr++){for(wr=0;wr<ar;wr++){for(br=0;br<rr;br++){for(hr=0;hr<Z;hr++){for(mr=0;mr<Q;mr++){for(dr=0;dr<H;dr++){for(yr=0;yr<K;yr++){for(fr=0;fr<X;fr++){for(lr=0;lr<J;lr++)ua=t.call(o,n[ur],ht,[ur,vr],[r,e]),ua!==void 0&&(s[vr]=a(ua)),ur+=u,vr+=b,ht+=1;ur+=v,vr+=S}ur+=f,vr+=w}ur+=l,vr+=A}ur+=d,vr+=_}ur+=y,vr+=x}ur+=p,vr+=E}ur+=m,vr+=q}ur+=h,vr+=T}ur+=g,vr+=j}}fU.exports=Akr});var dU=c((dde,cU)=>{"use strict";function _kr(r,e,a,t,o){var i=r.offset,n=e.offset,s=t.call(o,r.accessors[0](r.data,i),0,[i,n],[r,e]);s!==void 0&&e.accessors[1](e.data,n,a(s))}cU.exports=_kr});var yU=c((pde,pU)=>{"use strict";function Tkr(r,e,a,t,o){var i,n,s,u,v,f,l,d,y,p,m,h;for(l=r.shape[0],v=r.strides[0],f=e.strides[0],d=r.offset,y=e.offset,i=r.data,n=e.data,s=r.accessors[0],u=e.accessors[1],h=0,p=0;p<l;p++)m=t.call(o,s(i,d),h,[d,y],[r,e]),m!==void 0&&u(n,y,a(m)),d+=v,y+=f,h+=1}pU.exports=Tkr});var hU=c((yde,mU)=>{"use strict";function jkr(r,e,a,t,o){var i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x;for(y=r.shape,h=r.strides,g=e.strides,r.order==="row-major"?(p=y[1],m=y[0],v=h[1],f=h[0]-p*h[1],l=g[1],d=g[0]-p*g[1]):(p=y[0],m=y[1],v=h[0],f=h[1]-p*h[0],l=g[0],d=g[1]-p*g[0]),b=r.offset,S=e.offset,i=r.data,n=e.data,s=r.accessors[0],u=e.accessors[1],x=0,A=0;A<m;A++){for(w=0;w<p;w++)_=t.call(o,s(i,b),x,[b,S],[r,e]),_!==void 0&&u(n,S,a(_)),b+=v,S+=l,x+=1;b+=f,S+=d}}mU.exports=jkr});var bU=c((mde,gU)=>{"use strict";function Ikr(r,e,a,t,o){var i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j;for(m=r.shape,S=r.strides,w=e.strides,r.order==="row-major"?(h=m[2],g=m[1],b=m[0],v=S[2],f=S[1]-h*S[2],l=S[0]-g*S[1],d=w[2],y=w[1]-h*w[2],p=w[0]-g*w[1]):(h=m[0],g=m[1],b=m[2],v=S[0],f=S[1]-h*S[0],l=S[2]-g*S[1],d=w[0],y=w[1]-h*w[0],p=w[2]-g*w[1]),A=r.offset,_=e.offset,i=r.data,n=e.data,s=r.accessors[0],u=e.accessors[1],j=0,q=0;q<b;q++){for(E=0;E<g;E++){for(x=0;x<h;x++)T=t.call(o,s(i,A),j,[A,_],[r,e]),T!==void 0&&u(n,_,a(T)),A+=v,_+=d,j+=1;A+=f,_+=y}A+=l,_+=p}}gU.exports=Ikr});var qU=c((hde,xU)=>{"use strict";function Okr(r,e,a,t,o){var i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k;for(g=r.shape,_=r.strides,x=e.strides,r.order==="row-major"?(b=g[3],S=g[2],w=g[1],A=g[0],v=_[3],f=_[2]-b*_[3],l=_[1]-S*_[2],d=_[0]-w*_[1],y=x[3],p=x[2]-b*x[3],m=x[1]-S*x[2],h=x[0]-w*x[1]):(b=g[0],S=g[1],w=g[2],A=g[3],v=_[0],f=_[1]-b*_[0],l=_[2]-S*_[1],d=_[3]-w*_[2],y=x[0],p=x[1]-b*x[0],m=x[2]-S*x[1],h=x[3]-w*x[2]),E=r.offset,q=e.offset,i=r.data,n=e.data,s=r.accessors[0],u=e.accessors[1],k=0,I=0;I<A;I++){for(O=0;O<w;O++){for(j=0;j<S;j++){for(T=0;T<b;T++)D=t.call(o,s(i,E),k,[E,q],[r,e]),D!==void 0&&u(n,q,a(D)),E+=v,q+=y,k+=1;E+=f,q+=p}E+=l,q+=m}E+=d,q+=h}}xU.exports=Okr});var SU=c((gde,wU)=>{"use strict";function Nkr(r,e,a,t,o){var i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B;for(S=r.shape,q=r.strides,T=e.strides,r.order==="row-major"?(w=S[4],A=S[3],_=S[2],x=S[1],E=S[0],v=q[4],f=q[3]-w*q[4],l=q[2]-A*q[3],d=q[1]-_*q[2],y=q[0]-x*q[1],p=T[4],m=T[3]-w*T[4],h=T[2]-A*T[3],g=T[1]-_*T[2],b=T[0]-x*T[1]):(w=S[0],A=S[1],_=S[2],x=S[3],E=S[4],v=q[0],f=q[1]-w*q[0],l=q[2]-A*q[1],d=q[3]-_*q[2],y=q[4]-x*q[3],p=T[0],m=T[1]-w*T[0],h=T[2]-A*T[1],g=T[3]-_*T[2],b=T[4]-x*T[3]),j=r.offset,O=e.offset,i=r.data,n=e.data,s=r.accessors[0],u=e.accessors[1],B=0,F=0;F<E;F++){for(N=0;N<x;N++){for(k=0;k<_;k++){for(D=0;D<A;D++){for(I=0;I<w;I++)R=t.call(o,s(i,j),B,[j,O],[r,e]),R!==void 0&&u(n,O,a(R)),j+=v,O+=p,B+=1;j+=f,O+=m}j+=l,O+=h}j+=d,O+=g}j+=y,O+=b}}wU.exports=Nkr});var AU=c((bde,EU)=>{"use strict";function Dkr(r,e,a,t,o){var i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C;for(A=r.shape,O=r.strides,I=e.strides,r.order==="row-major"?(_=A[5],x=A[4],E=A[3],q=A[2],T=A[1],j=A[0],v=O[5],f=O[4]-_*O[5],l=O[3]-x*O[4],d=O[2]-E*O[3],y=O[1]-q*O[2],p=O[0]-T*O[1],m=I[5],h=I[4]-_*I[5],g=I[3]-x*I[4],b=I[2]-E*I[3],S=I[1]-q*I[2],w=I[0]-T*I[1]):(_=A[0],x=A[1],E=A[2],q=A[3],T=A[4],j=A[5],v=O[0],f=O[1]-_*O[0],l=O[2]-x*O[1],d=O[3]-E*O[2],y=O[4]-q*O[3],p=O[5]-T*O[4],m=I[0],h=I[1]-_*I[0],g=I[2]-x*I[1],b=I[3]-E*I[2],S=I[4]-q*I[3],w=I[5]-T*I[4]),D=r.offset,k=e.offset,i=r.data,n=e.data,s=r.accessors[0],u=e.accessors[1],C=0,V=0;V<j;V++){for(z=0;z<T;z++){for(B=0;B<q;B++){for(R=0;R<E;R++){for(F=0;F<x;F++){for(N=0;N<_;N++)U=t.call(o,s(i,D),C,[D,k],[r,e]),U!==void 0&&u(n,k,a(U)),D+=v,k+=m,C+=1;D+=f,k+=h}D+=l,k+=g}D+=d,k+=b}D+=y,k+=S}D+=p,k+=w}}EU.exports=Dkr});var TU=c((xde,_U)=>{"use strict";function kkr(r,e,a,t,o){var i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G;for(x=r.shape,k=r.strides,N=e.strides,r.order==="row-major"?(E=x[6],q=x[5],T=x[4],j=x[3],O=x[2],I=x[1],D=x[0],v=k[6],f=k[5]-E*k[6],l=k[4]-q*k[5],d=k[3]-T*k[4],y=k[2]-j*k[3],p=k[1]-O*k[2],m=k[0]-I*k[1],h=N[6],g=N[5]-E*N[6],b=N[4]-q*N[5],S=N[3]-T*N[4],w=N[2]-j*N[3],A=N[1]-O*N[2],_=N[0]-I*N[1]):(E=x[0],q=x[1],T=x[2],j=x[3],O=x[4],I=x[5],D=x[6],v=k[0],f=k[1]-E*k[0],l=k[2]-q*k[1],d=k[3]-T*k[2],y=k[4]-j*k[3],p=k[5]-O*k[4],m=k[6]-I*k[5],h=N[0],g=N[1]-E*N[0],b=N[2]-q*N[1],S=N[3]-T*N[2],w=N[4]-j*N[3],A=N[5]-O*N[4],_=N[6]-I*N[5]),F=r.offset,R=e.offset,i=r.data,n=e.data,s=r.accessors[0],u=e.accessors[1],G=0,L=0;L<D;L++){for(P=0;P<I;P++){for(C=0;C<O;C++){for(U=0;U<j;U++){for(V=0;V<T;V++){for(z=0;z<q;z++){for(B=0;B<E;B++)M=t.call(o,s(i,F),G,[F,R],[r,e]),M!==void 0&&u(n,R,a(M)),F+=v,R+=h,G+=1;F+=f,R+=g}F+=l,R+=b}F+=d,R+=S}F+=y,R+=w}F+=p,R+=A}F+=m,R+=_}}_U.exports=kkr});var IU=c((qde,jU)=>{"use strict";function Bkr(r,e,a,t,o){var i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J;for(q=r.shape,R=r.strides,B=e.strides,r.order==="row-major"?(T=q[7],j=q[6],O=q[5],I=q[4],D=q[3],k=q[2],N=q[1],F=q[0],v=R[7],f=R[6]-T*R[7],l=R[5]-j*R[6],d=R[4]-O*R[5],y=R[3]-I*R[4],p=R[2]-D*R[3],m=R[1]-k*R[2],h=R[0]-N*R[1],g=B[7],b=B[6]-T*B[7],S=B[5]-j*B[6],w=B[4]-O*B[5],A=B[3]-I*B[4],_=B[2]-D*B[3],x=B[1]-k*B[2],E=B[0]-N*B[1]):(T=q[0],j=q[1],O=q[2],I=q[3],D=q[4],k=q[5],N=q[6],F=q[7],v=R[0],f=R[1]-T*R[0],l=R[2]-j*R[1],d=R[3]-O*R[2],y=R[4]-I*R[3],p=R[5]-D*R[4],m=R[6]-k*R[5],h=R[7]-N*R[6],g=B[0],b=B[1]-T*B[0],S=B[2]-j*B[1],w=B[3]-O*B[2],A=B[4]-I*B[3],_=B[5]-D*B[4],x=B[6]-k*B[5],E=B[7]-N*B[6]),z=r.offset,V=e.offset,i=r.data,n=e.data,s=r.accessors[0],u=e.accessors[1],J=0,Y=0;Y<F;Y++){for($=0;$<N;$++){for(G=0;G<k;G++){for(M=0;M<D;M++){for(L=0;L<I;L++){for(P=0;P<O;P++){for(C=0;C<j;C++){for(U=0;U<T;U++)W=t.call(o,s(i,z),J,[z,V],[r,e]),W!==void 0&&u(n,V,a(W)),z+=v,V+=g,J+=1;z+=f,V+=b}z+=l,V+=S}z+=d,V+=w}z+=y,V+=A}z+=p,V+=_}z+=m,V+=x}z+=h,V+=E}}jU.exports=Bkr});var NU=c((wde,OU)=>{"use strict";function Fkr(r,e,a,t,o){var i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q;for(j=r.shape,V=r.strides,U=e.strides,r.order==="row-major"?(O=j[8],I=j[7],D=j[6],k=j[5],N=j[4],F=j[3],R=j[2],B=j[1],z=j[0],v=V[8],f=V[7]-O*V[8],l=V[6]-I*V[7],d=V[5]-D*V[6],y=V[4]-k*V[5],p=V[3]-N*V[4],m=V[2]-F*V[3],h=V[1]-R*V[2],g=V[0]-B*V[1],b=U[8],S=U[7]-O*U[8],w=U[6]-I*U[7],A=U[5]-D*U[6],_=U[4]-k*U[5],x=U[3]-N*U[4],E=U[2]-F*U[3],q=U[1]-R*U[2],T=U[0]-B*U[1]):(O=j[0],I=j[1],D=j[2],k=j[3],N=j[4],F=j[5],R=j[6],B=j[7],z=j[8],v=V[0],f=V[1]-O*V[0],l=V[2]-I*V[1],d=V[3]-D*V[2],y=V[4]-k*V[3],p=V[5]-N*V[4],m=V[6]-F*V[5],h=V[7]-R*V[6],g=V[8]-B*V[7],b=U[0],S=U[1]-O*U[0],w=U[2]-I*U[1],A=U[3]-D*U[2],_=U[4]-k*U[3],x=U[5]-N*U[4],E=U[6]-F*U[5],q=U[7]-R*U[6],T=U[8]-B*U[7]),C=r.offset,P=e.offset,i=r.data,n=e.data,s=r.accessors[0],u=e.accessors[1],Q=0,K=0;K<z;K++){for(X=0;X<B;X++){for(J=0;J<R;J++){for(W=0;W<F;W++){for(Y=0;Y<N;Y++){for($=0;$<k;$++){for(G=0;G<D;G++){for(M=0;M<I;M++){for(L=0;L<O;L++)H=t.call(o,s(i,C),Q,[C,P],[r,e]),H!==void 0&&u(n,P,a(H)),C+=v,P+=b,Q+=1;C+=f,P+=S}C+=l,P+=w}C+=d,P+=A}C+=y,P+=_}C+=p,P+=x}C+=m,P+=E}C+=h,P+=q}C+=g,P+=T}}OU.exports=Fkr});var kU=c((Sde,DU)=>{"use strict";function Rkr(r,e,a,t,o){var i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q,Z,rr,ar,er;for(I=r.shape,P=r.strides,L=e.strides,r.order==="row-major"?(D=I[9],k=I[8],N=I[7],F=I[6],R=I[5],B=I[4],z=I[3],V=I[2],U=I[1],C=I[0],v=P[9],f=P[8]-D*P[9],l=P[7]-k*P[8],d=P[6]-N*P[7],y=P[5]-F*P[6],p=P[4]-R*P[5],m=P[3]-B*P[4],h=P[2]-z*P[3],g=P[1]-V*P[2],b=P[0]-U*P[1],S=L[9],w=L[8]-D*L[9],A=L[7]-k*L[8],_=L[6]-N*L[7],x=L[5]-F*L[6],E=L[4]-R*L[5],q=L[3]-B*L[4],T=L[2]-z*L[3],j=L[1]-V*L[2],O=L[0]-U*L[1]):(D=I[0],k=I[1],N=I[2],F=I[3],R=I[4],B=I[5],z=I[6],V=I[7],U=I[8],C=I[9],v=P[0],f=P[1]-D*P[0],l=P[2]-k*P[1],d=P[3]-N*P[2],y=P[4]-F*P[3],p=P[5]-R*P[4],m=P[6]-B*P[5],h=P[7]-z*P[6],g=P[8]-V*P[7],b=P[9]-U*P[8],S=L[0],w=L[1]-D*L[0],A=L[2]-k*L[1],_=L[3]-N*L[2],x=L[4]-F*L[3],E=L[5]-R*L[4],q=L[6]-B*L[5],T=L[7]-z*L[6],j=L[8]-V*L[7],O=L[9]-U*L[8]),M=r.offset,G=e.offset,i=r.data,n=e.data,s=r.accessors[0],u=e.accessors[1],er=0,rr=0;rr<C;rr++){for(Z=0;Z<U;Z++){for(Q=0;Q<V;Q++){for(H=0;H<z;H++){for(K=0;K<B;K++){for(X=0;X<R;X++){for(J=0;J<F;J++){for(W=0;W<N;W++){for(Y=0;Y<k;Y++){for($=0;$<D;$++)ar=t.call(o,s(i,M),er,[M,G],[r,e]),ar!==void 0&&u(n,G,a(ar)),M+=v,G+=S,er+=1;M+=f,G+=w}M+=l,G+=A}M+=d,G+=_}M+=y,G+=x}M+=p,G+=E}M+=m,G+=q}M+=h,G+=T}M+=g,G+=j}M+=b,G+=O}}DU.exports=Rkr});var zU=c((Ede,RU)=>{"use strict";var zkr=Jr(),BU=na(),FU="throw";function Vkr(r,e,a,t,o){var i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w;for(d=r.shape,v=zkr(d),i=r.data,n=e.data,y=r.strides,p=e.strides,m=r.offset,h=e.offset,s=r.order,u=e.order,f=r.accessors[0],l=e.accessors[1],w=0;w<v;w++)g=BU(d,y,m,s,w,FU),b=BU(d,p,h,u,w,FU),S=t.call(o,f(i,g),w,[g,b],[r,e]),S!==void 0&&l(n,b,a(S))}RU.exports=Vkr});var UU=c((Ade,VU)=>{"use strict";function Ukr(r,e,a,t,o){var i=r.offset,n=e.offset,s=t.call(o,r.data[i],0,[i,n],[r,e]);s!==void 0&&(e.data[n]=a(s))}VU.exports=Ukr});var PU=c((_de,CU)=>{"use strict";function Ckr(r,e,a,t,o){var i,n,s,u,v,f,l,d,y,p;for(v=r.shape[0],s=r.strides[0],u=e.strides[0],f=r.offset,l=e.offset,i=r.data,n=e.data,p=0,d=0;d<v;d++)y=t.call(o,i[f],p,[f,l],[r,e]),y!==void 0&&(n[l]=a(y)),f+=s,l+=u,p+=1}CU.exports=Ckr});var MU=c((Tde,LU)=>{"use strict";function Pkr(r,e,a,t,o){var i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A;for(l=r.shape,p=r.strides,m=e.strides,r.order==="row-major"?(d=l[1],y=l[0],s=p[1],u=p[0]-d*p[1],v=m[1],f=m[0]-d*m[1]):(d=l[0],y=l[1],s=p[0],u=p[1]-d*p[0],v=m[0],f=m[1]-d*m[0]),h=r.offset,g=e.offset,i=r.data,n=e.data,A=0,S=0;S<y;S++){for(b=0;b<d;b++)w=t.call(o,i[h],A,[h,g],[r,e]),w!==void 0&&(n[g]=a(w)),h+=s,g+=v,A+=1;h+=u,g+=f}}LU.exports=Pkr});var YU=c((jde,GU)=>{"use strict";function Lkr(r,e,a,t,o){var i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q;for(y=r.shape,g=r.strides,b=e.strides,r.order==="row-major"?(p=y[2],m=y[1],h=y[0],s=g[2],u=g[1]-p*g[2],v=g[0]-m*g[1],f=b[2],l=b[1]-p*b[2],d=b[0]-m*b[1]):(p=y[0],m=y[1],h=y[2],s=g[0],u=g[1]-p*g[0],v=g[2]-m*g[1],f=b[0],l=b[1]-p*b[0],d=b[2]-m*b[1]),S=r.offset,w=e.offset,i=r.data,n=e.data,q=0,x=0;x<h;x++){for(_=0;_<m;_++){for(A=0;A<p;A++)E=t.call(o,i[S],q,[S,w],[r,e]),E!==void 0&&(n[w]=a(E)),S+=s,w+=f,q+=1;S+=u,w+=l}S+=v,w+=d}}GU.exports=Lkr});var WU=c((Ide,$U)=>{"use strict";function Mkr(r,e,a,t,o){var i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I;for(m=r.shape,w=r.strides,A=e.strides,r.order==="row-major"?(h=m[3],g=m[2],b=m[1],S=m[0],s=w[3],u=w[2]-h*w[3],v=w[1]-g*w[2],f=w[0]-b*w[1],l=A[3],d=A[2]-h*A[3],y=A[1]-g*A[2],p=A[0]-b*A[1]):(h=m[0],g=m[1],b=m[2],S=m[3],s=w[0],u=w[1]-h*w[0],v=w[2]-g*w[1],f=w[3]-b*w[2],l=A[0],d=A[1]-h*A[0],y=A[2]-g*A[1],p=A[3]-b*A[2]),_=r.offset,x=e.offset,i=r.data,n=e.data,I=0,j=0;j<S;j++){for(T=0;T<b;T++){for(q=0;q<g;q++){for(E=0;E<h;E++)O=t.call(o,i[_],I,[_,x],[r,e]),O!==void 0&&(n[x]=a(O)),_+=s,x+=l,I+=1;_+=u,x+=d}_+=v,x+=y}_+=f,x+=p}}$U.exports=Mkr});var XU=c((Ode,JU)=>{"use strict";function Gkr(r,e,a,t,o){var i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F;for(g=r.shape,x=r.strides,E=e.strides,r.order==="row-major"?(b=g[4],S=g[3],w=g[2],A=g[1],_=g[0],s=x[4],u=x[3]-b*x[4],v=x[2]-S*x[3],f=x[1]-w*x[2],l=x[0]-A*x[1],d=E[4],y=E[3]-b*E[4],p=E[2]-S*E[3],m=E[1]-w*E[2],h=E[0]-A*E[1]):(b=g[0],S=g[1],w=g[2],A=g[3],_=g[4],s=x[0],u=x[1]-b*x[0],v=x[2]-S*x[1],f=x[3]-w*x[2],l=x[4]-A*x[3],d=E[0],y=E[1]-b*E[0],p=E[2]-S*E[1],m=E[3]-w*E[2],h=E[4]-A*E[3]),q=r.offset,T=e.offset,i=r.data,n=e.data,F=0,k=0;k<_;k++){for(D=0;D<A;D++){for(I=0;I<w;I++){for(O=0;O<S;O++){for(j=0;j<b;j++)N=t.call(o,i[q],F,[q,T],[r,e]),N!==void 0&&(n[T]=a(N)),q+=s,T+=d,F+=1;q+=u,T+=y}q+=v,T+=p}q+=f,T+=m}q+=l,T+=h}}JU.exports=Gkr});var HU=c((Nde,KU)=>{"use strict";function Ykr(r,e,a,t,o){var i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V;for(S=r.shape,T=r.strides,j=e.strides,r.order==="row-major"?(w=S[5],A=S[4],_=S[3],x=S[2],E=S[1],q=S[0],s=T[5],u=T[4]-w*T[5],v=T[3]-A*T[4],f=T[2]-_*T[3],l=T[1]-x*T[2],d=T[0]-E*T[1],y=j[5],p=j[4]-w*j[5],m=j[3]-A*j[4],h=j[2]-_*j[3],g=j[1]-x*j[2],b=j[0]-E*j[1]):(w=S[0],A=S[1],_=S[2],x=S[3],E=S[4],q=S[5],s=T[0],u=T[1]-w*T[0],v=T[2]-A*T[1],f=T[3]-_*T[2],l=T[4]-x*T[3],d=T[5]-E*T[4],y=j[0],p=j[1]-w*j[0],m=j[2]-A*j[1],h=j[3]-_*j[2],g=j[4]-x*j[3],b=j[5]-E*j[4]),O=r.offset,I=e.offset,i=r.data,n=e.data,V=0,B=0;B<q;B++){for(R=0;R<E;R++){for(F=0;F<x;F++){for(N=0;N<_;N++){for(k=0;k<A;k++){for(D=0;D<w;D++)z=t.call(o,i[O],V,[O,I],[r,e]),z!==void 0&&(n[I]=a(z)),O+=s,I+=y,V+=1;O+=u,I+=p}O+=v,I+=m}O+=f,I+=h}O+=l,I+=g}O+=d,I+=b}}KU.exports=Ykr});var QU=c((Dde,ZU)=>{"use strict";function $kr(r,e,a,t,o){var i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L;for(A=r.shape,I=r.strides,D=e.strides,r.order==="row-major"?(_=A[6],x=A[5],E=A[4],q=A[3],T=A[2],j=A[1],O=A[0],s=I[6],u=I[5]-_*I[6],v=I[4]-x*I[5],f=I[3]-E*I[4],l=I[2]-q*I[3],d=I[1]-T*I[2],y=I[0]-j*I[1],p=D[6],m=D[5]-_*D[6],h=D[4]-x*D[5],g=D[3]-E*D[4],b=D[2]-q*D[3],S=D[1]-T*D[2],w=D[0]-j*D[1]):(_=A[0],x=A[1],E=A[2],q=A[3],T=A[4],j=A[5],O=A[6],s=I[0],u=I[1]-_*I[0],v=I[2]-x*I[1],f=I[3]-E*I[2],l=I[4]-q*I[3],d=I[5]-T*I[4],y=I[6]-j*I[5],p=D[0],m=D[1]-_*D[0],h=D[2]-x*D[1],g=D[3]-E*D[2],b=D[4]-q*D[3],S=D[5]-T*D[4],w=D[6]-j*D[5]),k=r.offset,N=e.offset,i=r.data,n=e.data,L=0,C=0;C<O;C++){for(U=0;U<j;U++){for(V=0;V<T;V++){for(z=0;z<q;z++){for(B=0;B<E;B++){for(R=0;R<x;R++){for(F=0;F<_;F++)P=t.call(o,i[k],L,[k,N],[r,e]),P!==void 0&&(n[N]=a(P)),k+=s,N+=p,L+=1;k+=u,N+=m}k+=v,N+=h}k+=f,N+=g}k+=l,N+=b}k+=d,N+=S}k+=y,N+=w}}ZU.exports=$kr});var eC=c((kde,rC)=>{"use strict";function Wkr(r,e,a,t,o){var i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y;for(x=r.shape,N=r.strides,F=e.strides,r.order==="row-major"?(E=x[7],q=x[6],T=x[5],j=x[4],O=x[3],I=x[2],D=x[1],k=x[0],s=N[7],u=N[6]-E*N[7],v=N[5]-q*N[6],f=N[4]-T*N[5],l=N[3]-j*N[4],d=N[2]-O*N[3],y=N[1]-I*N[2],p=N[0]-D*N[1],m=F[7],h=F[6]-E*F[7],g=F[5]-q*F[6],b=F[4]-T*F[5],S=F[3]-j*F[4],w=F[2]-O*F[3],A=F[1]-I*F[2],_=F[0]-D*F[1]):(E=x[0],q=x[1],T=x[2],j=x[3],O=x[4],I=x[5],D=x[6],k=x[7],s=N[0],u=N[1]-E*N[0],v=N[2]-q*N[1],f=N[3]-T*N[2],l=N[4]-j*N[3],d=N[5]-O*N[4],y=N[6]-I*N[5],p=N[7]-D*N[6],m=F[0],h=F[1]-E*F[0],g=F[2]-q*F[1],b=F[3]-T*F[2],S=F[4]-j*F[3],w=F[5]-O*F[4],A=F[6]-I*F[5],_=F[7]-D*F[6]),R=r.offset,B=e.offset,i=r.data,n=e.data,Y=0,G=0;G<k;G++){for(M=0;M<D;M++){for(L=0;L<I;L++){for(P=0;P<O;P++){for(C=0;C<j;C++){for(U=0;U<T;U++){for(V=0;V<q;V++){for(z=0;z<E;z++)$=t.call(o,i[R],Y,[R,B],[r,e]),$!==void 0&&(n[B]=a($)),R+=s,B+=m,Y+=1;R+=u,B+=h}R+=v,B+=g}R+=f,B+=b}R+=l,B+=S}R+=d,B+=w}R+=y,B+=A}R+=p,B+=_}}rC.exports=Wkr});var tC=c((Bde,aC)=>{"use strict";function Jkr(r,e,a,t,o){var i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K;for(q=r.shape,B=r.strides,z=e.strides,r.order==="row-major"?(T=q[8],j=q[7],O=q[6],I=q[5],D=q[4],k=q[3],N=q[2],F=q[1],R=q[0],s=B[8],u=B[7]-T*B[8],v=B[6]-j*B[7],f=B[5]-O*B[6],l=B[4]-I*B[5],d=B[3]-D*B[4],y=B[2]-k*B[3],p=B[1]-N*B[2],m=B[0]-F*B[1],h=z[8],g=z[7]-T*z[8],b=z[6]-j*z[7],S=z[5]-O*z[6],w=z[4]-I*z[5],A=z[3]-D*z[4],_=z[2]-k*z[3],x=z[1]-N*z[2],E=z[0]-F*z[1]):(T=q[0],j=q[1],O=q[2],I=q[3],D=q[4],k=q[5],N=q[6],F=q[7],R=q[8],s=B[0],u=B[1]-T*B[0],v=B[2]-j*B[1],f=B[3]-O*B[2],l=B[4]-I*B[3],d=B[5]-D*B[4],y=B[6]-k*B[5],p=B[7]-N*B[6],m=B[8]-F*B[7],h=z[0],g=z[1]-T*z[0],b=z[2]-j*z[1],S=z[3]-O*z[2],w=z[4]-I*z[3],A=z[5]-D*z[4],_=z[6]-k*z[5],x=z[7]-N*z[6],E=z[8]-F*z[7]),V=r.offset,U=e.offset,i=r.data,n=e.data,K=0,J=0;J<R;J++){for(W=0;W<F;W++){for(Y=0;Y<N;Y++){for($=0;$<k;$++){for(G=0;G<D;G++){for(M=0;M<I;M++){for(L=0;L<O;L++){for(P=0;P<j;P++){for(C=0;C<T;C++)X=t.call(o,i[V],K,[V,U],[r,e]),X!==void 0&&(n[U]=a(X)),V+=s,U+=h,K+=1;V+=u,U+=g}V+=v,U+=b}V+=f,U+=S}V+=l,U+=w}V+=d,U+=A}V+=y,U+=_}V+=p,U+=x}V+=m,U+=E}}aC.exports=Jkr});var oC=c((Fde,iC)=>{"use strict";function Xkr(r,e,a,t,o){var i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U,C,P,L,M,G,$,Y,W,J,X,K,H,Q,Z,rr;for(j=r.shape,U=r.strides,C=e.strides,r.order==="row-major"?(O=j[9],I=j[8],D=j[7],k=j[6],N=j[5],F=j[4],R=j[3],B=j[2],z=j[1],V=j[0],s=U[9],u=U[8]-O*U[9],v=U[7]-I*U[8],f=U[6]-D*U[7],l=U[5]-k*U[6],d=U[4]-N*U[5],y=U[3]-F*U[4],p=U[2]-R*U[3],m=U[1]-B*U[2],h=U[0]-z*U[1],g=C[9],b=C[8]-O*C[9],S=C[7]-I*C[8],w=C[6]-D*C[7],A=C[5]-k*C[6],_=C[4]-N*C[5],x=C[3]-F*C[4],E=C[2]-R*C[3],q=C[1]-B*C[2],T=C[0]-z*C[1]):(O=j[0],I=j[1],D=j[2],k=j[3],N=j[4],F=j[5],R=j[6],B=j[7],z=j[8],V=j[9],s=U[0],u=U[1]-O*U[0],v=U[2]-I*U[1],f=U[3]-D*U[2],l=U[4]-k*U[3],d=U[5]-N*U[4],y=U[6]-F*U[5],p=U[7]-R*U[6],m=U[8]-B*U[7],h=U[9]-z*U[8],g=C[0],b=C[1]-O*C[0],S=C[2]-I*C[1],w=C[3]-D*C[2],A=C[4]-k*C[3],_=C[5]-N*C[4],x=C[6]-F*C[5],E=C[7]-R*C[6],q=C[8]-B*C[7],T=C[9]-z*C[8]),P=r.offset,L=e.offset,i=r.data,n=e.data,rr=0,Q=0;Q<V;Q++){for(H=0;H<z;H++){for(K=0;K<B;K++){for(X=0;X<R;X++){for(J=0;J<F;J++){for(W=0;W<N;W++){for(Y=0;Y<k;Y++){for($=0;$<D;$++){for(G=0;G<I;G++){for(M=0;M<O;M++)Z=t.call(o,i[P],rr,[P,L],[r,e]),Z!==void 0&&(n[L]=a(Z)),P+=s,L+=g,rr+=1;P+=u,L+=b}P+=v,L+=S}P+=f,L+=w}P+=l,L+=A}P+=d,L+=_}P+=y,L+=x}P+=p,L+=E}P+=m,L+=q}P+=h,L+=T}}iC.exports=Xkr});var vC=c((Rde,uC)=>{"use strict";var Kkr=Jr(),nC=na(),sC="throw";function Hkr(r,e,a,t,o){var i,n,s,u,v,f,l,d,y,p,m,h,g,b;for(f=r.shape,v=Kkr(f),i=r.data,n=e.data,l=r.strides,d=e.strides,y=r.offset,p=e.offset,s=r.order,u=e.order,b=0;b<v;b++)m=nC(f,l,y,s,b,sC),h=nC(f,d,p,u,b,sC),g=t.call(o,i[m],b,[m,h],[r,e]),g!==void 0&&(n[h]=a(g))}uC.exports=Hkr});var yC=c((zde,pC)=>{"use strict";var fC=Ea(),lC=et(),cC=ei(),Zkr=NV(),Qkr=kV(),rBr=FV(),eBr=zV(),aBr=UV(),tBr=PV(),iBr=MV(),oBr=YV(),nBr=WV(),sBr=XV(),uBr=HV(),vBr=QV(),fBr=eU(),lBr=tU(),cBr=oU(),dBr=sU(),pBr=vU(),yBr=lU(),mBr=dU(),hBr=yU(),gBr=hU(),bBr=bU(),xBr=qU(),qBr=SU(),wBr=AU(),SBr=TU(),EBr=IU(),ABr=NU(),_Br=kU(),TBr=zU(),jBr=UU(),IBr=PU(),OBr=MU(),NBr=YU(),DBr=WU(),kBr=XU(),BBr=HU(),FBr=QU(),RBr=eC(),zBr=tC(),VBr=oC(),UBr=vC(),ji=[jBr,IBr,OBr,NBr,DBr,kBr,BBr,FBr,RBr,zBr,VBr],ko=[mBr,hBr,gBr,bBr,xBr,qBr,wBr,SBr,EBr,ABr,_Br],CBr=[sBr,uBr,vBr,fBr,lBr,cBr,dBr,pBr,yBr],PBr=[Zkr,Qkr,rBr,eBr,aBr,tBr,iBr,oBr,nBr],dC=ji.length-1;function LBr(r,e,a,t){var o,i,n,s,u,v,f,l,d,y,p,m,h,g,b,S,w;if(g=cC(r[0]),b=cC(r[1]),s=g.shape,u=b.shape,o=s.length,o!==u.length)throw new Error("invalid arguments. Arrays must have the same number of dimensions (i.e., same rank). ndims(x) == "+o+". ndims(y) == "+u.length+".");if(o===0)return g.accessorProtocol||b.accessorProtocol?ko[o](g,b,e,a,t):ji[o](g,b,e,a,t);for(l=1,h=0,w=0;w<o;w++){if(S=s[w],S!==u[w])throw new Error("invalid arguments. Arrays must have the same shape.");l*=S,S===1&&(h+=1)}if(l!==0){if(o===1)return g.accessorProtocol||b.accessorProtocol?ko[o](g,b,e,a,t):ji[o](g,b,e,a,t);if(d=g.strides,y=b.strides,h===o-1){for(w=0;w<o&&s[w]===1;w++);return g.shape=[s[w]],b.shape=g.shape,g.strides=[d[w]],b.strides=[y[w]],g.accessorProtocol||b.accessorProtocol?ko[1](g,b,e,a,t):ji[1](g,b,e,a,t)}if(v=fC(d),f=fC(y),v!==0&&f!==0&&v===f){if(i=lC(s,d,g.offset),n=lC(u,y,b.offset),l===i[1]-i[0]+1&&l===n[1]-n[0]+1)return v===1?p=i[0]:p=i[1],f===1?m=n[0]:m=n[1],g.shape=[l],b.shape=g.shape,g.strides=[v],b.strides=[f],g.offset=p,b.offset=m,g.accessorProtocol||b.accessorProtocol?ko[1](g,b,e,a,t):ji[1](g,b,e,a,t);if(o<=dC)return g.accessorProtocol||b.accessorProtocol?ko[o](g,b,e,a,t):ji[o](g,b,e,a,t)}if(o<=dC)return g.accessorProtocol||b.accessorProtocol?PBr[o-2](g,b,e,a,t):CBr[o-2](g,b,e,a,t);if(g.accessorProtocol||b.accessorProtocol)return TBr(g,b,e,a,t);UBr(g,b,e,a,t)}}pC.exports=LBr});var hC=c((Vde,mC)=>{"use strict";var MBr=yC();mC.exports=MBr});var bC=c((Ude,gC)=>{"use strict";var GBr=Ln(),YBr=pf(),$Br=wo(),WBr=uf(),JBr=Yn(),XBr=$n(),KBr=Mn(),HBr=vf(),ZBr=di(),ct=ka(),QBr=pr(),rFr={floating_point:[GBr,ct.get("dtypes.floating_point")],real_floating_point:[YBr,ct.get("dtypes.real_floating_point")],complex_floating_point:[$Br,ct.get("dtypes.complex_floating_point")],integer:[WBr,ct.get("dtypes.integer")],signed_integer:[JBr,ct.get("dtypes.signed_integer")],unsigned_integer:[XBr,ct.get("dtypes.unsigned_integer")],real:[KBr,ct.get("dtypes.real")],numeric:[HBr,ct.get("dtypes.numeric")]},eFr=ct.get("dtypes.default");function aFr(r,e){var a;if(e==="default")return eFr;if(e==="same"||e==="promoted")return r;if(e==="bool")throw new Error("not implemented");if(a=rFr[e],a===void 0){if(ZBr(e))return e;throw new TypeError(QBr("invalid argument. Second argument must be a supported data type policy. Value: `%s`.",e))}return a[0](r)?r:a[1]}gC.exports=aFr});var qC=c((Cde,xC)=>{"use strict";var tFr=bC();xC.exports=tFr});var SC=c((Pde,wC)=>{"use strict";var iFr=ze(),oFr=Ye(),nFr=Fa(),sFr=pr(),uFr=aa(),vFr=Jr();function fFr(r,e,a){var t,o,i,n;if(t=e.length,t>0?(i=vFr(e),n=iFr(e,a)):(i=1,n=[0]),o=nFr(r,i),o===null)throw new TypeError(sFr("invalid argument. First argument must be a recognized data type. Value: `%s`.",r));return new uFr(r,o,e,n,oFr(e,n),a)}wC.exports=fFr});var AC=c((Lde,EC)=>{"use strict";var lFr=SC();EC.exports=lFr});var TC=c((Mde,_C)=>{"use strict";var cFr=ze(),dFr=Ye(),pFr=Fa(),yFr=Jr(),mFr=Xe(),hFr=Te(),gFr=sa(),bFr=pr();function xFr(r){var e,a,t,o,i,n,s;if(s=mFr(r),i=hFr(r,!0),o=gFr(r),e=i.length,e>0?(a=yFr(i),n=cFr(i,o)):(a=1,n=[0]),t=pFr(s,a),t===null)throw new TypeError(bFr("invalid argument. First argument must have a recognized data type. Value: `%s`.",s));return new r.constructor(s,t,i,n,dFr(i,n),o)}_C.exports=xFr});var IC=c((Gde,jC)=>{"use strict";var qFr=TC();jC.exports=qFr});var NC=c((Yde,OC)=>{"use strict";var Er=zt(),Sr={};Er(Sr,"assert",j8());Er(Sr,"assign",hf());Er(Sr,"binaryLoopOrder",uj());Er(Sr,"binaryBlockSize",pj());Er(Sr,"bind2vind",Aj());Er(Sr,"broadcastArray",_o());Er(Sr,"broadcastArrays",Rj());Er(Sr,"broadcastScalar",Cj());Er(Sr,"broadcastShapes",qi());Er(Sr,"buffer",Fa());Er(Sr,"bufferCtors",go());Er(Sr,"bufferDataType",Fn());Er(Sr,"bufferDataTypeEnum",Gj());Er(Sr,"bytesPerElement",xt());Er(Sr,"char2dtype",aI());Er(Sr,"clampIndex",bn());Er(Sr,"ndarray",aa());Er(Sr,"data",ft());Er(Sr,"dtype",Xe());Er(Sr,"dtypeChar",Sf());Er(Sr,"dtypeDesc",vI());Er(Sr,"dtypeEnum2Str",wn());Er(Sr,"dtypeResolveEnum",_f());Er(Sr,"dtypeResolveStr",Ba());Er(Sr,"dtypeStr2Enum",mo());Er(Sr,"dtype2c",hI());Er(Sr,"dtypes2signatures",jf());Er(Sr,"empty",GI());Er(Sr,"emptyLike",JI());Er(Sr,"expandDimensions",aO());Er(Sr,"flag",df());Er(Sr,"flags",So());Er(Sr,"fliplr",w7());Er(Sr,"flipud",j7());Er(Sr,"forEach",DD());Er(Sr,"scalar2ndarray",RD());Er(Sr,"ind",nt());Er(Sr,"ind2sub",Ai());Er(Sr,"iterationOrder",Ea());Er(Sr,"maxViewBufferIndex",CD());Er(Sr,"maybeBroadcastArray",Cf());Er(Sr,"maybeBroadcastArrays",JD());Er(Sr,"metaDataProps",ZD());Er(Sr,"minViewBufferIndex",ak());Er(Sr,"minmaxViewBufferIndex",et());Er(Sr,"ndarraylike2ndarray",nk());Er(Sr,"ndarraylike2object",ei());Er(Sr,"ndims",Ua());Er(Sr,"nextCartesianIndex",He());Er(Sr,"nonsingletonDimensions",yk());Er(Sr,"normalizeIndex",ya());Er(Sr,"nullary",KB());Er(Sr,"nullaryLoopOrder",Zr());Er(Sr,"nullaryBlockSize",Qr());Er(Sr,"numel",Jr());Er(Sr,"numelDimension",Mf());Er(Sr,"offset",Ha());Er(Sr,"order",sa());Er(Sr,"outputPolicyEnum2Str",es());Er(Sr,"outputPolicyResolveEnum",bF());Er(Sr,"outputPolicyResolveStr",SF());Er(Sr,"outputPolicyStr2Enum",as());Er(Sr,"prependSingletonDimensions",NF());Er(Sr,"removeSingletonDimensions",UF());Er(Sr,"reverse",MF());Er(Sr,"reverseDimension",Zn());Er(Sr,"serializeMetaData",HF());Er(Sr,"shape",Te());Er(Sr,"shape2strides",ze());Er(Sr,"singletonDimensions",eR());Er(Sr,"slice",ye());Er(Sr,"sliceAssign",ts());Er(Sr,"sliceDimension",Wf());Er(Sr,"sliceDimensionFrom",Jf());Er(Sr,"sliceDimensionTo",Xf());Er(Sr,"sliceFrom",Kf());Er(Sr,"sliceTo",Hf());Er(Sr,"stride",Zf());Er(Sr,"strides",ba());Er(Sr,"strides2offset",Ye());Er(Sr,"strides2order",Pt());Er(Sr,"sub2ind",Qf());Er(Sr,"ndarray2array",rl());Er(Sr,"transpose",PR());Er(Sr,"unary",IV());Er(Sr,"unaryBy",hC());Er(Sr,"unaryLoopOrder",zr());Er(Sr,"unaryOutputDataType",qC());Er(Sr,"unaryBlockSize",Rr());Er(Sr,"vind2bind",na());Er(Sr,"wrapIndex",xn());Er(Sr,"zeros",AC());Er(Sr,"zerosLike",IC());OC.exports=Sr});var kC=c(($de,DC)=>{"use strict";var wFr=se(),SFr=ke(),EFr=ge().isPrimitive,Bo=jt(),AFr=Ra(),_Fr=oe(),TFr=Xa(),jFr=Tt(),IFr=Ka(),OFr=ut(),Fo=pr();function NFr(r,e){var a,t,o,i,n,s,u,v,f;if(!wFr(r))throw new TypeError(Fo("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!SFr(e))throw new TypeError(Fo("invalid argument. Second argument must be an array of nonnegative integers. Value: `%s`.",e));if(n=e.length,o=_Fr(r),s=o.length,n<s)throw new Error("invalid argument. Cannot broadcast an array to a shape having fewer dimensions. Arrays can only be broadcasted to shapes having the same or more dimensions.");for(a=[],v=0;v<n;v++)a.push(0);for(i=TFr(r),v=n-1;v>=0;v--)if(f=s-n+v,!(f<0)){if(u=o[f],t=e[v],!EFr(t))throw new TypeError(Fo("invalid argument. Second argument must be an array of nonnegative integers. Value: `%s`.","["+e.join(",")+"]"));if(t!==0&&t<u)throw new Error(Fo("invalid argument. Input array cannot be broadcast to the specified shape, as the specified shape has a dimension whose size is less than the size of the corresponding dimension in the input array. Array shape: (%s). Desired shape: (%s). Dimension: %u.",Bo(o).join(", "),Bo(e).join(", "),v));if(u===t)a[v]=i[f];else if(u===1)a[v]=0;else throw new Error(Fo("invalid argument. Input array and the specified shape are broadcast incompatible. Array shape: (%s). Desired shape: (%s). Dimension: %u.",Bo(o).join(", "),Bo(e).join(", "),v))}return new r.constructor(AFr(r),OFr(r),Bo(e),a,jFr(r),IFr(r),{readonly:!0})}DC.exports=NFr});var is=c((Wde,BC)=>{"use strict";var DFr=kC();BC.exports=DFr});var zC=c((Jde,RC)=>{"use strict";var kFr=se(),BFr=Ve(),FFr=qi(),RFr=is(),zFr=oe(),FC=pr();function VFr(r){var e,a,t,o,i,n,s;if(a=arguments.length,a===0)t=[];else if(a>1)for(t=[],s=0;s<arguments.length;s++)t.push(arguments[s]);else if(kFr(r))t=[r];else if(BFr(r))t=r;else throw new TypeError(FC("invalid argument. First argument must be either an ndarray or an array of ndarrays. Value: `%s`.",r));for(n=t.length,e=[],s=0;s<n;s++)try{e.push(zFr(t[s]))}catch{throw new TypeError(FC("invalid argument. An ndarray argument must be an ndarray. Value: `%s`.",t[s]))}if(i=FFr(e),i===null)throw new Error("invalid arguments. Input arrays must be broadcast compatible.");for(o=[],s=0;s<n;s++)o.push(RFr(t[s],i));return o}RC.exports=VFr});var el=c((Xde,VC)=>{"use strict";var UFr=zC();VC.exports=UFr});var al=c((Kde,UC)=>{"use strict";var CFr=fe().isPrimitive;function PFr(r){return CFr(r)&&r>0}UC.exports=PFr});var tl=c((Hde,CC)=>{"use strict";var LFr=fe().isObject;function MFr(r){return LFr(r)&&r.valueOf()>0}CC.exports=MFr});var LC=c((Zde,PC)=>{"use strict";var GFr=al(),YFr=tl();function $Fr(r){return GFr(r)||YFr(r)}PC.exports=$Fr});var os=c((Qde,GC)=>{"use strict";var MC=Ir(),il=LC(),WFr=al(),JFr=tl();MC(il,"isPrimitive",WFr);MC(il,"isObject",JFr);GC.exports=il});var $C=c((r0e,YC)=>{"use strict";var XFr=sn(),KFr=Pe(),HFr=XFr(KFr);YC.exports=HFr});var JC=c((e0e,WC)=>{"use strict";function ZFr(r,e,a,t,o,i,n,s,u){var v,f,l,d;for(v=i,l=0;l<r;l++){for(f=u,d=0;d<e&&a[v+d*o]===n[f];d++)f+=s;if(d===e)return l;v+=t}return-1}WC.exports=ZFr});var QC=c((a0e,ZC)=>{"use strict";var XC=ge().isPrimitive,QFr=os(),rRr=fe().isPrimitive,eRr=$C(),aRr=Pe(),KC=ke(),tRr=se(),Ot=pr(),iRr=Ra(),HC=_f(),oRr=JC();function nRr(r){var e,a;for(e=[],a=0;a<r.length;a++)e.push(HC(r[a]));return e}function sRr(r,e,a,t,o,i){var n,s,u;if(aRr(r))u=r;else if(!eRr(r))throw new TypeError(Ot("invalid argument. First argument must be either a function or an array of functions. Value: `%s`.",r));if(!KC(e))throw new TypeError(Ot("invalid argument. Second argument must be an array-like object. Value: `%s`.",e));if(!KC(a)&&a!==null)throw new TypeError(Ot("invalid argument. Third argument must be an array-like object or null. Value: `%s`.",a));if(!QFr(t))throw new TypeError(Ot("invalid argument. Fourth argument must be a positive integer. Value: `%s`.",t));if(!XC(o))throw new TypeError(Ot("invalid argument. Fifth argument must be a nonnegative integer. Value: `%s`.",o));if(!XC(i))throw new TypeError(Ot("invalid argument. Sixth argument must be a nonnegative integer. Value: `%s`.",i));if(n=o+i,n===0)throw new Error("invalid arguments. Interface must accept at least one input and/or output ndarray. Based on the provided arguments, `nin+nout` equals `0`.");if(t!==n)throw new Error("invalid arguments. Fourth argument does not equal the number of input and output ndarrays.");if(u){if(s=e.length/n,!rRr(s))throw new Error("invalid argument. Unexpected number of types. A type must be specified for each input and output ndarray for each provided ndarray function.")}else if(s=r.length,e.length!==s*n)throw new Error("invalid argument. Unexpected number of types. A type must be specified for each input and output ndarray for each provided ndarray function.");if(a&&a.length!==s)throw new Error("invalid argument. The third argument must have the same number of elements as the first argument.");return e=nRr(e),v;function v(){var f,l,d,y,p,m,h;if(d=arguments.length,d!==t)throw d<t?new Error("invalid invocation. Insufficient arguments."):new Error("invalid invocation. Too many arguments.");for(f=[],l=[],h=0;h<t;h++){if(p=arguments[h],!tRr(p))throw h<o?new TypeError(Ot("invalid argument. Input array must be an ndarray-like object. Value: `%s`.",p)):new TypeError(Ot("invalid argument. Output array must be an ndarray-like object. Value: `%s`.",p));f.push(p),l.push(HC(iRr(p)))}if(y=oRr(s,n,e,n,1,0,l,1,0),y<0)throw new TypeError("invalid arguments. Unable to resolve an ndarray function supporting the provided array argument data types.");if(u?m=u:m=r[y],a?m(f,a[y]):m(f),i===1)return f[n-1];if(i!==0)return f.slice(o)}}ZC.exports=sRr});var eP=c((t0e,rP)=>{"use strict";var uRr=QC();rP.exports=uRr});var nP=c((i0e,oP)=>{"use strict";var vRr=ne(),ns=Xr(),fRr=nn(),lRr=ze(),cRr=Ye(),dRr=To(),pRr=_t(),yRr=Jr(),mRr=ma(),iP=ka(),ol=pr(),aP=iP.get("dtypes.default"),tP=iP.get("order");function hRr(r){var e,a,t,o,i,n,s,u,v;if(i={},arguments.length>1){if(e=arguments[1],!vRr(e))throw new TypeError(ol("invalid argument. Options argument must be an object. Value: `%s`.",e));ns(e,"dtype")?a=e.dtype:a=aP,ns(e,"order")?t=e.order:t=tP,ns(e,"mode")&&(i.mode=e.mode),ns(e,"submode")&&(i.submode=e.submode)}else a=aP,t=tP;if(typeof r=="number")v=[r];else if(fRr(r))v=r;else throw new TypeError(ol("invalid argument. First argument must be either a nonnegative integer or an array of nonnegative integers. Value: `%s`.",r));if(o=v.length,o>0){if(s=yRr(v),s!==s||s<0)throw new TypeError(ol("invalid argument. First argument must be either a nonnegative integer or an array of nonnegative integers. Value: `%s`.",r));u=lRr(v,t)}else s=1,u=[0];return a==="binary"?n=pRr(s):n=dRr(s,a),new mRr(a,n,v,u,cRr(v,u),t,i)}oP.exports=hRr});var uP=c((o0e,sP)=>{"use strict";var gRr=nP();sP.exports=gRr});var dP=c((n0e,cP)=>{"use strict";var bRr=se(),xRr=ne(),qRr=Jt().primitives,Ro=Xr(),wRr=ze(),SRr=Ye(),ERr=Jr(),vP=Ra(),fP=oe(),lP=Ka(),ARr=ma(),_Rr=To(),TRr=_t(),nl=pr();function jRr(r){var e,a,t,o,i,n,s,u,v;if(!bRr(r))throw new TypeError(nl("invalid argument. First argument must be an ndarray-like object. Value: `%s`.",r));if(i={},arguments.length>1){if(e=arguments[1],!xRr(e))throw new TypeError(nl("invalid argument. Options argument must be an object. Value: `%s`.",e));if(Ro(e,"dtype")?a=e.dtype:a=vP(r),Ro(e,"shape")){if(v=e.shape,typeof v=="number"&&(v=[v]),!qRr(v))throw new TypeError(nl("invalid option. `%s` option must be a nonnegative integer or an array of nonnegative integers. Option: `%s`.","shape",v))}else v=fP(r);Ro(e,"order")?t=e.order:t=lP(r),Ro(e,"mode")&&(i.mode=e.mode),Ro(e,"submode")&&(i.submode=e.submode)}else a=vP(r),v=fP(r),t=lP(r);return o=v.length,o>0?(s=ERr(v),u=wRr(v,t)):(s=1,u=[0]),a==="binary"?n=TRr(s):n=_Rr(s,a),new ARr(a,n,v,u,SRr(v,u),t,i)}cP.exports=jRr});var yP=c((s0e,pP)=>{"use strict";var IRr=dP();pP.exports=IRr});var hP=c((u0e,mP)=>{"use strict";var ORr=eval;mP.exports=ORr});var bP=c((v0e,gP)=>{"use strict";var NRr=hP();function DRr(){var r;try{NRr('"use strict"; var handler = { "get": function get( t, n ) { return t[ n ] * 100; } }; var target = { "beep": 3.14 }; var p = new Proxy( target, handler ); var x = p.beep; if ( x !== 314 ) { throw new Error( "native Proxy is not supported." ); }'),r=!0}catch{r=!1}return r}gP.exports=DRr});var qP=c((f0e,xP)=>{"use strict";var kRr=bP();xP.exports=kRr});var SP=c((l0e,wP)=>{"use strict";var BRr=typeof Proxy>"u"?null:Proxy;wP.exports=BRr});var AP=c((c0e,EP)=>{"use strict";function FRr(r){return r}EP.exports=FRr});var TP=c((d0e,_P)=>{"use strict";var RRr=qP(),zRr=SP(),VRr=AP(),sl;RRr()?sl=zRr:sl=VRr;_P.exports=sl});var IP=c((p0e,jP)=>{"use strict";var URr=typeof String.prototype.trim<"u";jP.exports=URr});var ul=c((y0e,OP)=>{"use strict";var CRr=String.prototype.trim;OP.exports=CRr});var BP=c((m0e,kP)=>{"use strict";var NP=ul(),PRr=`
|
|
2
|
-
\r
|
|
3
|
-
\f\v\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF`,DP="\u180E";function LRr(){return NP.call(PRr)===""&&NP.call(DP)===DP}kP.exports=LRr});var RP=c((h0e,FP)=>{"use strict";var MRr=at(),GRr=/^[\u0020\f\n\r\t\v\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]*([\S\s]*?)[\u0020\f\n\r\t\v\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]*$/;function YRr(r){return MRr(r,GRr,"$1")}FP.exports=YRr});var VP=c((g0e,zP)=>{"use strict";var $Rr=ul();function WRr(r){return $Rr.call(r)}zP.exports=WRr});var Nt=c((b0e,UP)=>{"use strict";var JRr=IP(),XRr=BP(),KRr=RP(),HRr=VP(),vl;JRr&&XRr()?vl=HRr:vl=KRr;UP.exports=vl});var LP=c((x0e,PP)=>{"use strict";var ZRr=Nt(),QRr=Ce(),fl="Slice(",CP=3,rzr=/\s*,\s*/,ezr=/^-?[0-9]+$/;function azr(r){var e,a,t,o,i;if(r.substring(0,fl.length)!==fl||(t=r.length-1,r[t]!==")")||(r=ZRr(r.substring(fl.length,t)),r=r.split(rzr),r.length!==CP))return null;for(e=[],i=0;i<CP;i++){if(o=r[i],o==="null")a=null;else if(ezr.test(o))a=parseInt(o,10);else return null;e.push(a)}return new QRr(e[0],e[1],e[2])}PP.exports=azr});var ss=c((q0e,MP)=>{"use strict";var tzr=LP();MP.exports=tzr});var YP=c((w0e,GP)=>{"use strict";var izr=Nt(),ozr=ss(),nzr=Qa(),szr=he(),ll="MultiSlice(",uzr=/\s*,\s*/,vzr=/^-?[0-9]+$/;function fzr(r){var e,a,t,o,i;if(r.substring(0,ll.length)!==ll||(t=r.length-1,r[t]!==")"))return null;if(r=izr(r.substring(ll.length,t)),r=r.split(uzr),t=r.length,t===1&&r[0]==="")return new nzr;for(e=[],i=0;i<t;i++){if(o=r[i],o[0]==="S"){if(o=r.slice(i,i+3).join(","),a=ozr(o),a===null)return null;i+=2}else if(o==="null")a=null;else if(vzr.test(o))a=parseInt(o,10);else return null;e.push(a)}return szr(e)}GP.exports=fzr});var zo=c((S0e,$P)=>{"use strict";var lzr=YP();$P.exports=lzr});var JP=c((E0e,WP)=>{"use strict";var czr=/(?:\s*-\s*)(?=\d+)(\d+)$/;WP.exports=czr});var KP=c((A0e,XP)=>{"use strict";var dzr=/(?:\s*\/\s*)(?=\d*\.?\d+)(\d*\.?\d+)$/;XP.exports=dzr});var QP=c((_0e,ZP)=>{"use strict";var HP=ea(),pzr=JP(),yzr=KP();function mzr(r,e,a,t){var o;if(r==="end")return e;if(o=r.match(pzr),o){if(r=e-parseInt(o[1],10),r<0){if(t)return-2;r=0}return r}return o=r.match(yzr),o?(r=parseFloat(o[1]),r<1?t?-2:-1:a&&e>0&&r!==1?HP((e-1)/r):HP(e/r)):-1}ZP.exports=mzr});var eL=c((T0e,rL)=>{"use strict";var hzr=/\s*:\s*/;rL.exports=hzr});var tL=c((j0e,aL)=>{"use strict";var gzr=/^[-+]?[0-9]+$/;aL.exports=gzr});var oL=c((I0e,iL)=>{"use strict";var bzr=/^end/;iL.exports=bzr});var sL=c((O0e,nL)=>{"use strict";function xzr(){return{code:"ERR_SLICE_INVALID_SUBSEQUENCE"}}nL.exports=xzr});var vL=c((N0e,uL)=>{"use strict";function qzr(){return{code:"ERR_SLICE_OUT_OF_BOUNDS"}}uL.exports=qzr});var lL=c((D0e,fL)=>{"use strict";function wzr(){return{code:"ERR_SLICE_INVALID_INCREMENT"}}fL.exports=wzr});var mL=c((k0e,yL)=>{"use strict";var cL=Ce(),Szr=Nt(),dL=QP(),Ezr=eL(),cl=tL(),pL=oL(),Ii=sL(),ai=vL(),Azr=lL();function _zr(r,e,a){var t,o,i;if(t=Szr(r).split(Ezr),o=t.length,o<2||o>3)return Ii();if(o===3)if(i=t[2],i.length===0)t[2]=1;else{if(cl.test(i)===!1)return Ii();if(i=parseInt(i,10),i===0)return Azr();t[2]=i}else t.push(1);if(i=t[0],i.length===0)t[2]<0&&e>0?t[0]=e-1:t[0]=0;else if(pL.test(i)){if(i=dL(i,e,t[2]<0,a),i<0)return i===-2?ai():Ii();t[2]<0&&i>=e&&(i-=1),t[0]=i}else if(cl.test(i)){if(i=parseInt(i,10),i<0){if(i=e+i,i<0){if(a)return ai();i=0}}else if(i>=e){if(a)return ai();t[2]<0?i=e-1:i=e}t[0]=i}else return Ii();if(i=t[1],i.length===0)t[2]<0?t[1]=null:t[1]=e;else if(pL.test(i)){if(i=dL(i,e,t[2]<0,a),i<0)return i===-2?ai():Ii();t[1]=i}else if(cl.test(i)){if(i=parseInt(i,10),i<0){if(i=e+i,i<0)if(t[2]>0){if(a)return ai();i=0}else{if(a&&i<-1)return ai();i=null}}else if(i>e){if(a)return ai();i=e}t[1]=i}else return Ii();return e===0?new cL(0,0,t[2]):new cL(t[0],t[1],t[2])}yL.exports=_zr});var gL=c((B0e,hL)=>{"use strict";var Tzr=mL();hL.exports=Tzr});var xL=c((F0e,bL)=>{"use strict";function jzr(){return{code:"ERR_SLICE_INVALID_ELLIPSIS"}}bL.exports=jzr});var wL=c((R0e,qL)=>{"use strict";function Izr(){return{code:"ERR_SLICE_INSUFFICIENT_DIMENSIONS"}}qL.exports=Izr});var EL=c((z0e,SL)=>{"use strict";function Ozr(){return{code:"ERR_SLICE_TOO_MANY_DIMENSIONS"}}SL.exports=Ozr});var _L=c((V0e,AL)=>{"use strict";function Nzr(){return{code:"ERR_SLICE_OUT_OF_BOUNDS"}}AL.exports=Nzr});var jL=c((U0e,TL)=>{"use strict";var Dzr=/\s*,\s*/;TL.exports=Dzr});var OL=c((C0e,IL)=>{"use strict";var kzr=/^[-+]?[0-9]+$/;IL.exports=kzr});var kL=c((P0e,DL)=>{"use strict";var Bzr=Nt(),Fzr=Ce(),Rzr=he(),zzr=gL(),Vzr=xL(),Uzr=wL(),Czr=EL(),NL=_L(),Pzr=jL(),Lzr=OL();function Mzr(r,e,a){var t,o,i,n,s,u,v,f,l,d;for(s=e.length,t=Bzr(r).split(Pzr),u=t.length,i=!1,o=[],l=0,f=0;f<u;f++){if(v=t[f],v==="..."){if(i)return Vzr();for(i=!0,d=0;d<s-u+1;d++)o.push(new Fzr(0,e[l],1)),l+=1;continue}if(n=e[l],Lzr.test(v)){if(v=parseInt(v,10),a){if(v<0){if(n+v<0)return NL()}else if(v>=n)return NL()}l+=1}else{if(v=zzr(v,n,a),v.code)return v;l+=1}o.push(v)}return o.length!==s?o.length<s?Uzr():Czr():Rzr(o)}DL.exports=Mzr});var us=c((L0e,BL)=>{"use strict";var Gzr=kL();BL.exports=Gzr});var dl=c((M0e,FL)=>{"use strict";var Yzr=/^-?[0-9]+$/;FL.exports=Yzr});var pl=c((G0e,RL)=>{"use strict";var $zr=/:/;RL.exports=$zr});var VL=c((Y0e,zL)=>{"use strict";var Wzr=Nt(),Jzr=at(),yl=Qa(),Xzr=zo(),Kzr=us(),Hzr=ss(),ti=pr(),Zzr=dl(),Qzr=pl();function rVr(r,e){var a,t,o,i;if(t=Wzr(e),o=t[0],o==="S"){if(i=Hzr(e),i===null)throw new Error(ti("invalid operation. Unsupported slice operation. Value: `%s`.",e));i=new yl(i)}else if(o==="M"){if(i=Xzr(t),i===null)throw new Error(ti("invalid operation. Unsupported slice operation. Value: `%s`.",e))}else if(Zzr.test(t))i=parseInt(t,10),i=new yl(i);else if(Qzr.test(t)){if(a=r.shape,i=Kzr(t,a,!0),i.code)throw i.code==="ERR_SLICE_INVALID_INCREMENT"?new Error(ti("invalid operation. A subsequence increment must be a non-zero integer. Value: `%s`.",e)):i.code==="ERR_SLICE_INVALID_ELLIPSIS"?new Error(ti("invalid operation. A subsequence may only include a single ellipsis. Value: `%s`.",e)):i.code==="ERR_SLICE_INVALID_SUBSEQUENCE"?new Error(ti("invalid operation. Unsupported slice operation. Value: `%s`.",e)):new RangeError(ti("invalid operation. Number of slice dimensions does not match the number of array dimensions. Array shape: (%s). Slice dimensions: %u.",a.join(","),Jzr(t,/\.\.\.,/,"").split(",").length))}else if(t.length===0||t==="...")i=new yl;else throw new Error(ti("invalid operation. Unsupported slice operation. Value: `%s`.",e));return i}zL.exports=rVr});var LL=c(($0e,PL)=>{"use strict";var eVr=Nt(),aVr=at(),UL=Qa(),tVr=zo(),CL=us(),iVr=ss(),Dt=pr(),oVr=dl();function nVr(r,e,a){var t,o,i,n;if(o=eVr(e),i=o[0],i==="S"){if(n=iVr(e),n===null)throw new Error(Dt("invalid operation. Unsupported slice operation. Value: `%s`.",e));n=new UL(n)}else if(i==="M"){if(n=tVr(o),n===null)throw new Error(Dt("invalid operation. Unsupported slice operation. Value: `%s`.",e))}else if(oVr.test(o))n=parseInt(o,10),n=new UL(n);else if(o.length>0){if(t=r.shape,n=CL(o,t,!0),n.code){if(n.code==="ERR_SLICE_INVALID_INCREMENT")throw new Error(Dt("invalid operation. A subsequence increment must be a non-zero integer. Value: `%s`.",e));if(n.code==="ERR_SLICE_INVALID_ELLIPSIS")throw new Error(Dt("invalid operation. A subsequence may only include a single ellipsis. Value: `%s`.",e));if(n.code==="ERR_SLICE_INVALID_SUBSEQUENCE")throw new Error(Dt("invalid operation. Unsupported slice operation. Value: `%s`.",e));if(n.code==="ERR_SLICE_TOO_MANY_DIMENSIONS")throw new RangeError(Dt("invalid operation. Number of slice dimensions does not match the number of array dimensions. Array shape: (%s). Slice dimensions: %u.",r.shape.join(","),aVr(o,/\.\.\.,/,"").split(",").length));if(n.code==="ERR_SLICE_OUT_OF_BOUNDS"){if(a)throw new RangeError(Dt("invalid operation. Slice exceeds array bounds. Array shape: (%s).",t.join(",")));n=CL(o,t,!1)}}}else throw new RangeError(Dt("invalid operation. Number of slice dimensions does not match the number of array dimensions. Array shape: (%s). Slice dimensions: %u.",r.shape.join(","),0));return n}PL.exports=nVr});var GL=c((W0e,ML)=>{"use strict";var vs=at(),sVr=zo();function uVr(r){return r=vs(r,/^,/,"null,"),r=vs(r,/,$/,",null"),r=vs(r,/,(?=,)/g,",null"),r=vs(r,/undefined/g,"null"),sVr("MultiSlice("+r+")")}ML.exports=uVr});var $L=c((J0e,YL)=>{"use strict";var vVr=GL();YL.exports=vVr});var XL=c((X0e,JL)=>{"use strict";var fVr=Nt(),lVr=zo(),WL=us(),cVr=$L(),Oi=pr(),dVr=pl();function pVr(r,e,a){var t,o,i,n;if(o=fVr(e),i=o[0],i==="M"){if(n=lVr(o),n===null)throw new Error(Oi("invalid operation. Unsupported slice operation. Value: `%s`.",e))}else if(dVr.test(o)||o==="..."){if(t=r.shape,n=WL(o,t,!0),n.code){if(n.code==="ERR_SLICE_INVALID_INCREMENT")throw new Error(Oi("invalid operation. A subsequence increment must be a non-zero integer. Value: `%s`.",e));if(n.code==="ERR_SLICE_INVALID_ELLIPSIS")throw new Error(Oi("invalid operation. A subsequence may only include a single ellipsis. Value: `%s`.",e));if(n.code==="ERR_SLICE_INVALID_SUBSEQUENCE")throw new Error(Oi("invalid operation. Unsupported slice operation. Value: `%s`.",e));if(n.code==="ERR_SLICE_OUT_OF_BOUNDS"){if(a)throw new RangeError(Oi("invalid operation. Slice exceeds array bounds. Array shape: (%s).",t.join(",")));n=WL(o,t,!1)}}}else if(n=cVr(o),n===null)throw new Error(Oi("invalid operation. Unsupported slice operation. Value: `%s`.",e));return n}JL.exports=pVr});var HL=c((K0e,KL)=>{"use strict";var yVr=typeof Object.getOwnPropertyNames<"u";KL.exports=yVr});var rM=c((H0e,QL)=>{"use strict";var ZL=Ut(),mVr=ZL.getOwnPropertyNames;function hVr(r){return mVr(ZL(r))}QL.exports=hVr});var aM=c((Z0e,eM)=>{"use strict";var gVr=Ut(),bVr=Aa();function xVr(r){return bVr(gVr(r))}eM.exports=xVr});var iM=c((Q0e,tM)=>{"use strict";var qVr=HL(),wVr=rM(),SVr=aM(),ml;qVr?ml=wVr:ml=SVr;tM.exports=ml});var sM=c((rpe,nM)=>{"use strict";var EVr=lf(),AVr=iM(),_Vr=Ct(),TVr=Ut();function oM(r,e){var a;for(a=0;a<r.length;a++)if(r[a]===e)return!0;return!1}function jVr(r){var e,a,t,o;if(r==null)return[];a=TVr(r),e=[];do{for(t=AVr(a),o=0;o<t.length;o++)oM(e,t[o])===!1&&e.push(t[o]);for(t=EVr(a),o=0;o<t.length;o++)oM(e,t[o])===!1&&e.push(t[o]);a=_Vr(a)}while(a);return e}nM.exports=jVr});var vM=c((epe,uM)=>{"use strict";var IVr=sM();uM.exports=IVr});var hl=c((ape,fM)=>{"use strict";var OVr=vM(),NVr=Ue().factory,DVr=ma(),kVr=ka(),BVr=NVr(OVr(new DVr("generic",[0],[],[0],0,kVr.get("order"))));fM.exports=BVr});var cM=c((tpe,lM)=>{"use strict";var FVr=Pe();function RVr(r,e,a){var t=r[e];if(FVr(t))return o;return t;function o(){var i,n;for(i=[],n=0;n<arguments.length;n++)i.push(arguments[n]);return t.apply(this===a?r:this,i)}}lM.exports=RVr});var gl=c((ipe,dM)=>{"use strict";var zVr=at();function VVr(r){return zVr(r,/^invalid argument/,"invalid operation")}dM.exports=VVr});var yM=c((ope,pM)=>{"use strict";var UVr=Ct(),CVr=me();function PVr(r){if(typeof r!="object"||r===null)return!1;if(r instanceof Error)return!0;for(;r;){if(CVr(r)==="[object Error]")return!0;r=UVr(r)}return!1}pM.exports=PVr});var fs=c((npe,mM)=>{"use strict";var LVr=yM();mM.exports=LVr});var gM=c((spe,hM)=>{"use strict";var MVr=Ct(),GVr=ui(),YVr=fs();function $Vr(r){if(typeof r!="object"||r===null)return!1;if(r instanceof RangeError)return!0;if(YVr(r))for(;r;){if(GVr(r)==="rangeerror")return!0;r=MVr(r)}return!1}hM.exports=$Vr});var xM=c((upe,bM)=>{"use strict";var WVr=gM();bM.exports=WVr});var wM=c((vpe,qM)=>{"use strict";var JVr=Ct(),XVr=ui(),KVr=fs();function HVr(r){if(typeof r!="object"||r===null)return!1;if(r instanceof TypeError)return!0;if(KVr(r))for(;r;){if(XVr(r)==="typeerror")return!0;r=JVr(r)}return!1}qM.exports=HVr});var EM=c((fpe,SM)=>{"use strict";var ZVr=wM();SM.exports=ZVr});var _M=c((lpe,AM)=>{"use strict";var QVr=Ct(),rUr=ui(),eUr=fs();function aUr(r){if(typeof r!="object"||r===null)return!1;if(r instanceof SyntaxError)return!0;if(eUr(r))for(;r;){if(rUr(r)==="syntaxerror")return!0;r=QVr(r)}return!1}AM.exports=aUr});var jM=c((cpe,TM)=>{"use strict";var tUr=_M();TM.exports=tUr});var bl=c((dpe,IM)=>{"use strict";var iUr=xM(),oUr=EM(),nUr=jM();function sUr(r){return iUr(r)?RangeError:oUr(r)?TypeError:nUr(r)?SyntaxError:Error}IM.exports=sUr});var NM=c((ppe,OM)=>{"use strict";var uUr=ye(),vUr=gl(),fUr=bl();function lUr(r,e,a,t){var o,i,n;o=!1,n=t(r,e,o);try{return uUr(a,n,o,!1)}catch(s){throw i=fUr(s),new i(vUr(s.message))}}OM.exports=lUr});var kM=c((ype,DM)=>{"use strict";var cUr=hl(),dUr=cM(),pUr=NM();function yUr(r){return e;function e(a,t,o){return cUr(t)?dUr(a,t,o):pUr(a,t,o,r)}}DM.exports=yUr});var FM=c((mpe,BM)=>{"use strict";function mUr(r,e,a){return r[e]=a,!0}BM.exports=mUr});var zM=c((hpe,RM)=>{"use strict";var hUr=Zo();function gUr(r){return r===0&&1/r===hUr}RM.exports=gUr});var UM=c((gpe,VM)=>{"use strict";var bUr=zM();VM.exports=bUr});var PM=c((bpe,CM)=>{"use strict";var xUr=1401298464324817e-60;CM.exports=xUr});var MM=c((xpe,LM)=>{"use strict";var qUr=16777215;LM.exports=qUr});var YM=c((qpe,GM)=>{"use strict";var wUr=-16777215;GM.exports=wUr});var HM=c((wpe,KM)=>{"use strict";var SUr=Ge().isPrimitive,EUr=pe().isPrimitive,WM=Sa(),AUr=UM(),_Ur=fa(),JM=Pi(),XM=Zo(),ls=PM(),TUr=MM(),jUr=YM(),IUr=lv(),OUr=sv(),NUr=iv(),DUr=qu(),kUr=Eu(),BUr=en();function $M(r){return r!==r||r===JM||r===XM?"float32":WM(r)?r>=jUr&&r<=TUr?"float32":"float64":r>-ls&&r<ls?"float64":"float32"}function FUr(r){return SUr(r)?r!==r||r===JM||r===XM?"float32":WM(r)?r===0&&AUr(r)?"float32":r<0?r>=IUr?"int8":r>=OUr?"int16":r>=NUr?"int32":"float64":r<=DUr?"uint8":r<=kUr?"uint16":r<=BUr?"uint32":"float64":r>-ls&&r<ls?"float64":"float32":EUr(r)?"bool":_Ur(r)?$M(r.re)==="float64"||$M(r.im)==="float64"?"complex128":"complex64":"generic"}KM.exports=FUr});var xl=c((Spe,ZM)=>{"use strict";var RUr=HM();ZM.exports=RUr});var r9=c((Epe,QM)=>{"use strict";var zUr={Complex64:"complex64",Complex128:"complex128"};QM.exports=zUr});var e9=c((Ape,VUr)=>{VUr.exports=["complex64","complex128"]});var t9=c((_pe,a9)=>{"use strict";var UUr=e9();function CUr(){return UUr.slice()}a9.exports=CUr});var o9=c((Tpe,i9)=>{"use strict";var PUr=t9();i9.exports=PUr});var ql=c((jpe,n9)=>{"use strict";var LUr=o9(),MUr=LUr();n9.exports=MUr});var f9=c((Ipe,v9)=>{"use strict";var GUr=Un(),s9=ql(),u9=[],cs;for(cs=0;cs<s9.length;cs++)u9.push(GUr(s9[cs]));v9.exports=u9});var d9=c((Ope,c9)=>{"use strict";var YUr=gt(),$Ur=r9(),WUr=f9(),l9=ql(),JUr=l9.length;function XUr(r){var e;for(e=0;e<JUr;e++)if(r instanceof WUr[e])return l9[e];return $Ur[YUr(r)]||null}c9.exports=XUr});var wl=c((Npe,p9)=>{"use strict";var KUr=d9();p9.exports=KUr});var y9=c((Dpe,HUr)=>{HUr.exports={all:["bool","complex64","complex128","float32","float64","generic","int16","int32","int8","uint16","uint32","uint8","uint8c"],typed:["bool","complex64","complex128","float32","float64","int16","int32","int8","uint16","uint32","uint8","uint8c"],floating_point:["complex64","complex128","float32","float64"],real_floating_point:["float32","float64"],complex_floating_point:["complex64","complex128"],boolean:["bool"],integer:["int16","int32","int8","uint16","uint32","uint8","uint8c"],signed_integer:["int16","int32","int8"],unsigned_integer:["uint16","uint32","uint8","uint8c"],real:["float32","float64","int16","int32","int8","uint16","uint32","uint8","uint8c"],numeric:["complex64","complex128","float32","float64","int16","int32","int8","uint16","uint32","uint8","uint8c"]}});var b9=c((kpe,g9)=>{"use strict";var ZUr=at(),m9=y9(),h9=/_and_generic$/;function QUr(){var r,e,a;return arguments.length===0?m9.all.slice():(a=!1,r=arguments[0],h9.test(r)&&(r=ZUr(r,h9,""),r!=="all"&&(a=!0)),e=m9[r],e=e?e.slice():[],a&&e.length>0&&e.push("generic"),e)}g9.exports=QUr});var Sl=c((Bpe,x9)=>{"use strict";var rCr=b9();x9.exports=rCr});var w9=c((Fpe,q9)=>{"use strict";var eCr=Ue().factory,aCr=Sl(),tCr=eCr(aCr("complex_floating_point"));q9.exports=tCr});var ds=c((Rpe,S9)=>{"use strict";var iCr=w9();S9.exports=iCr});var _9=c((zpe,A9)=>{"use strict";var El=Xr(),oCr=ne(),nCr=Ge().isPrimitive,sCr=ds(),uCr=fa(),vCr=pe().isPrimitive,fCr=tt(),lCr=bi(),cCr=gi(),dCr=Fa(),pCr=ma(),ps=ka(),yCr=wl(),E9=pr(),mCr=ps.get("order"),hCr=ps.get("dtypes.real_floating_point"),gCr=ps.get("dtypes.complex_floating_point"),bCr=ps.get("dtypes.boolean");function xCr(r){var e,a,t,o,i,n,s;if(a={dtype:"",order:mCr,readonly:!1},arguments.length>1){if(e=arguments[1],!oCr(e))throw new TypeError(E9("invalid argument. Options argument must be an object. Value: `%s`.",e));El(e,"dtype")&&(a.dtype=e.dtype),El(e,"order")&&(a.order=e.order),El(e,"readonly")&&(a.readonly=e.readonly)}if(o=nCr(r),a.dtype===""?o?n=hCr:vCr(r)?n=bCr:uCr(r)?(n=yCr(r),n===null&&(n=gCr)):n="generic":n=a.dtype,t=dCr(n,1),t===null)throw new TypeError(E9("invalid option. `%s` option must be a recognized data type. Option: `%s`.","dtype",n));return sCr(n)&&o?s=[r,0]:s=r,fCr(t)?i=lCr(n):i=cCr(n),i(t,0,s),new pCr(n,t,[],[0],0,a.order,a)}A9.exports=xCr});var Al=c((Vpe,T9)=>{"use strict";var qCr=_9();T9.exports=qCr});var O9=c((Upe,I9)=>{"use strict";var wCr=ts(),SCr=se(),ECr=Ge().isPrimitive,ACr=fe().isPrimitive,_Cr=fa(),TCr=wo(),jCr=Ln(),ICr=$n(),OCr=Yn(),j9=An(),NCr=fv(),DCr=nv(),kCr=tv(),ys=xl(),BCr=wl(),Ni=Al(),ii=pr(),FCr=gl(),RCr=bl();function Di(r){return{dtype:r}}function zCr(r,e,a,t,o){var i,n,s,u,v;if(!SCr(a))if(s=r.dtype,s==="generic")a=Ni(a,Di(s));else if(ECr(a))if(jCr(s))a=Ni(a,Di(s));else if(ICr(s))if(n=ys(a),j9(n,s))a=Ni(a,Di(s));else throw new TypeError(ii("invalid operation. Assigned value cannot be safely cast to the target array data type. Data types: [%s, %s].",n,s));else if(OCr(s)){if(!ACr(a))throw new TypeError(ii("invalid operation. Assigned value cannot be safely cast to the target array data type. Data types: [%s, %s].",ys(a),s));if(a<0?n=ys(a):a<=NCr?n="int8":a<=DCr?n="int16":a<=kCr?n="int32":n="float64",j9(n,s))a=Ni(a,Di(s));else throw new TypeError(ii("invalid operation. Assigned value cannot be safely cast to the target array data type. Data types: [%s, %s].",n,s))}else if(s==="binary")if(n=ys(a),n==="uint8")a=Ni(a,Di(s));else throw new TypeError(ii("invalid operation. Assigned value cannot be safely cast to the target array data type. Data types: [%s, %s].",n,s));else throw new TypeError(ii("invalid operation. Unsupported target array data type. Data type: `%s`.",s));else if(_Cr(a)){if(!TCr(s))throw new TypeError(ii("invalid operation. Assigned value cannot be safely cast to the target array data type. Data types: [%s, %s].",BCr(a),s));a=Ni(a,Di(s))}else throw new TypeError(ii("invalid operation. Assigned value cannot be safely cast to the target array data type. Data types: [%s, %s].",typeof a,s));i=!1,v=o(r,e,i);try{return wCr(a,t,v,i),!0}catch(f){throw u=RCr(f),new u(FCr(f.message))}}I9.exports=zCr});var D9=c((Cpe,N9)=>{"use strict";var VCr=hl(),UCr=FM(),CCr=O9();function PCr(r){return e;function e(a,t,o,i){return VCr(t)?UCr(a,t,o):CCr(a,t,o,i,r)}}N9.exports=PCr});var U9=c((Ppe,V9)=>{"use strict";var LCr=Ir(),B9=ma(),MCr=Iv(),k9=TP(),F9=VL(),R9=LL(),z9=XL(),_l=kM(),Tl=D9(),GCr=_l(F9),YCr=Tl(F9),$Cr=_l(R9),WCr=Tl(R9),JCr=_l(z9),XCr=Tl(z9);function ki(r,e,a,t,o,i,n){var s,u,v;return u=arguments.length,this instanceof ki?(B9.call(this,r,e,a,t,o,i,u<7?{}:n),k9?(v=a.length,s={},v===0?(s.get=GCr,s.set=YCr):v===1?(s.get=$Cr,s.set=WCr):(s.get=JCr,s.set=XCr),new k9(this,s)):(console.warn("WARNING: Proxy objects are not supported in the current environment. Some `FancyArray` functionality may not be available."),this)):u<7?new ki(r,e,a,t,o,i):new ki(r,e,a,t,o,i,n)}MCr(ki,B9);LCr(ki,"name","ndarray");V9.exports=ki});var P9=c((Lpe,C9)=>{"use strict";var KCr=U9();C9.exports=KCr});var jl=c((Mpe,L9)=>{"use strict";function HCr(r){return typeof r=="symbol"}L9.exports=HCr});var G9=c((Gpe,M9)=>{"use strict";function ZCr(r){return Symbol.prototype.toString.call(r)}M9.exports=ZCr});var $9=c((Ype,Y9)=>{"use strict";var QCr=G9(),rPr=/^Symbol\(.*\)$/;function ePr(r){try{return typeof r.valueOf()=="symbol"&&rPr.test(QCr(r))}catch{return!1}}Y9.exports=ePr});var Il=c(($pe,W9)=>{"use strict";var aPr=me(),tPr=$9();function iPr(r){return typeof r=="object"&&aPr(r)==="[object Symbol]"&&tPr(r)}W9.exports=iPr});var X9=c((Wpe,J9)=>{"use strict";var oPr=jl(),nPr=Il();function sPr(r){return oPr(r)||nPr(r)}J9.exports=sPr});var Z9=c((Jpe,H9)=>{"use strict";var K9=Ir(),Ol=X9(),uPr=jl(),vPr=Il();K9(Ol,"isPrimitive",uPr);K9(Ol,"isObject",vPr);H9.exports=Ol});var rG=c((Xpe,Q9)=>{"use strict";function fPr(r){return e;function e(){return r}}Q9.exports=fPr});var aG=c((Kpe,eG)=>{"use strict";var lPr=rG();eG.exports=lPr});var oG=c((Hpe,iG)=>{"use strict";var tG=Ir(),Nl=aG(),Dl=Nl(!1),cPr=Nl(!1),dPr=Nl(!1);tG(Dl,"isPrimitive",cPr);tG(Dl,"isObject",dPr);iG.exports=Dl});var sG=c((Zpe,nG)=>{"use strict";var pPr=Ms(),yPr=Z9(),mPr=oG(),kl;pPr()?kl=yPr:kl=mPr;nG.exports=kl});var vG=c((Qpe,uG)=>{"use strict";var hPr=Pa().isPrimitive,gPr=sG().isPrimitive,bPr=ge().isPrimitive;function xPr(r){return hPr(r)||gPr(r)||bPr(r)}uG.exports=xPr});var lG=c((rye,fG)=>{"use strict";var qPr=vG();fG.exports=qPr});var pG=c((eye,dG)=>{"use strict";var wPr=lG(),SPr=So(),cG=pr();function EPr(r,e){if(typeof r!="object"||r===null)throw new TypeError(cG("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!wPr(e))throw new TypeError(cG("invalid argument. Second argument must be a valid property name. Value: `%s`.",e));return SPr(r,!1)[e]}dG.exports=EPr});var mG=c((aye,yG)=>{"use strict";var APr=pG();yG.exports=APr});var gG=c((tye,hG)=>{"use strict";var _Pr=So(),TPr=pr();function jPr(r){if(typeof r!="object"||r===null)throw new TypeError(TPr("invalid argument. Must provide an ndarray. Value: `%s`.",r));return _Pr(r,!0)}hG.exports=jPr});var xG=c((iye,bG)=>{"use strict";var IPr=gG();bG.exports=IPr});var Bl=c((oye,OPr)=>{OPr.exports={mode:"throw",order:"row-major"}});var Rl=c((nye,wG)=>{"use strict";var NPr=ne(),qG=Xr(),DPr=Ta(),kPr=pi(),Fl=pr();function BPr(r,e){return NPr(e)?qG(e,"mode")&&(r.mode=e.mode,!kPr(r.mode))?new TypeError(Fl("invalid option. `%s` option must be a supported/recognized mode. Option: `%s`.","mode",r.mode)):qG(e,"order")&&(r.order=e.order,!DPr(r.order))?new TypeError(Fl("invalid option. `%s` option must be a supported/recognized order. Option: `%s`.","order",r.order)):null:new TypeError(Fl("invalid argument. Options argument must be an object. Value: `%s`.",e))}wG.exports=BPr});var _G=c((sye,AG)=>{"use strict";var FPr=Jt().primitives,RPr=fe().isPrimitive,zPr=ze(),VPr=Ai(),SG=pr(),EG=Bl(),UPr=Rl();function CPr(r,e,a){var t,o;if(t={},t.mode=EG.mode,t.order=EG.order,arguments.length>2&&(o=UPr(t,a),o))throw o;if(!FPr(r))throw new TypeError(SG("invalid argument. Shape argument must be an array-like object containing nonnegative integers. Value: `%s`.",r));if(!RPr(e))throw new TypeError(SG("invalid argument. Linear index must be integer valued. Value: `%s`.",e));return VPr(r,zPr(r,t.order),0,t.order,e,t.mode)}AG.exports=CPr});var IG=c((uye,jG)=>{"use strict";var PPr=Jt().primitives,LPr=fe().isPrimitive,MPr=ze(),GPr=Ai().assign,ms=pr(),TG=Bl(),YPr=Rl();function $Pr(r,e,a,t){var o,i,n;if(o={},o.mode=TG.mode,o.order=TG.order,arguments.length===4){if(n=YPr(o,arguments[2]),n)throw n;if(typeof t!="object"||t===null)throw new TypeError(ms("invalid argument. Output argument must be either an array, typed array, or object. Value: `%s`.",t));i=t}else if(i=a,typeof i!="object"||i===null)throw new TypeError(ms("invalid argument. Output argument must be either an array, typed array, or object. Value: `%s`.",i));if(!PPr(r))throw new TypeError(ms("invalid argument. Shape argument must be an array-like object containing nonnegative integers. Value: `%s`.",r));if(!LPr(e))throw new TypeError(ms("invalid argument. Linear index must be integer valued. Value: `%s`.",e));return GPr(r,MPr(r,o.order),0,o.order,e,o.mode,i)}jG.exports=$Pr});var DG=c((vye,NG)=>{"use strict";var WPr=Ir(),OG=_G(),JPr=IG();WPr(OG,"assign",JPr);NG.exports=OG});var RG=c((fye,FG)=>{"use strict";var zl=Ir(),XPr=ne(),KPr=pe().isPrimitive,HPr=se(),ZPr=Le(),QPr=Xr(),kG=Fe(),rLr=Se(),eLr=oe(),aLr=Jr(),tLr=ye(),iLr=He().assign,oLr=he(),hs=pr();function BG(r){var e,a,t,o,i,n,s,u,v,f,l;if(!HPr(r))throw new TypeError(hs("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(o={writable:!1},arguments.length>1){if(e=arguments[1],!XPr(e))throw new TypeError(hs("invalid argument. Options argument must be an object. Value: `%s`.",e));if(QPr(e,"readonly")){if(!KPr(e.readonly))throw new TypeError(hs("invalid option. `%s` option must be a boolean. Option: `%s`.","readonly",e.readonly));if(o.writable=!e.readonly,o.writable&&ZPr(r))throw new Error(hs("invalid option. Cannot write to read-only array."))}}if(a=eLr(r),t=a.length,t<2)throw new TypeError("invalid argument. First argument must be an ndarray having at least two dimensions.");return f=aLr(a),f===0&&(n=!0),f/=a[t-2],u=t-1,v=a[u],l=-1,s=rLr(t),s[t-2]=null,i={},zl(i,"next",d),zl(i,"return",y),kG&&zl(i,kG,p),i;function d(){var m,h,g;return l+=1,n||l>=f?{done:!0}:(m=s.slice(),h=oLr(s),g=(s[u]+1)%v,s[u]=g,g===0&&(s=iLr(a,"row-major",s,u-2,s)),{value:[m,tLr(r,h,!0,o.writable)],done:!1})}function y(m){return n=!0,arguments.length?{value:m,done:!0}:{done:!0}}function p(){return BG(r,o)}}FG.exports=BG});var VG=c((lye,zG)=>{"use strict";var nLr=RG();zG.exports=nLr});var LG=c((cye,PG)=>{"use strict";var Vl=Ir(),sLr=ne(),uLr=pe().isPrimitive,vLr=se(),fLr=Le(),lLr=Xr(),UG=Fe(),cLr=Se(),dLr=oe(),pLr=Jr(),yLr=ye(),mLr=He().assign,hLr=he(),gs=pr();function CG(r){var e,a,t,o,i,n,s,u,v,f,l;if(!vLr(r))throw new TypeError(gs("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(o={writable:!1},arguments.length>1){if(e=arguments[1],!sLr(e))throw new TypeError(gs("invalid argument. Options argument must be an object. Value: `%s`.",e));if(lLr(e,"readonly")){if(!uLr(e.readonly))throw new TypeError(gs("invalid option. `%s` option must be a boolean. Option: `%s`.","readonly",e.readonly));if(o.writable=!e.readonly,o.writable&&fLr(r))throw new Error(gs("invalid option. Cannot write to read-only array."))}}if(a=dLr(r),t=a.length,t<2)throw new TypeError("invalid argument. First argument must be an ndarray having at least two dimensions.");return f=pLr(a),f===0&&(n=!0),f/=a[t-2],u=t-1,v=a[u],l=-1,s=cLr(t),s[t-2]=null,i={},Vl(i,"next",d),Vl(i,"return",y),UG&&Vl(i,UG,p),i;function d(){var m,h;return l+=1,n||l>=f?{done:!0}:(m=hLr(s),h=(s[u]+1)%v,s[u]=h,h===0&&(s=mLr(a,"row-major",s,u-2,s)),{value:yLr(r,m,!0,o.writable),done:!1})}function y(m){return n=!0,arguments.length?{value:m,done:!0}:{done:!0}}function p(){return CG(r,o)}}PG.exports=CG});var GG=c((dye,MG)=>{"use strict";var gLr=LG();MG.exports=gLr});var JG=c((pye,WG)=>{"use strict";var Ul=Ir(),bLr=ne(),xLr=Ta(),qLr=se(),wLr=Xr(),YG=Fe(),SLr=Se(),ELr=oe(),ALr=Jr(),_Lr=He().assign,Cl=pr();function $G(r){var e,a,t,o,i,n,s,u,v,f;if(!qLr(r))throw new TypeError(Cl("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(o={order:r.order},arguments.length>1){if(e=arguments[1],!bLr(e))throw new TypeError(Cl("invalid argument. Options argument must be an object. Value: `%s`.",e));if(wLr(e,"order")){if(!xLr(e.order))throw new TypeError(Cl("invalid option. `%s` option must be a recognized order. Option: `%s`.","order",e.order));o.order=e.order}}return a=ELr(r),t=a.length,v=ALr(a),v===0&&(n=!0),o.order==="row-major"?u=t-1:u=0,f=-1,s=SLr(t),i={},Ul(i,"next",l),Ul(i,"return",d),YG&&Ul(i,YG,y),i;function l(){return f+=1,n||f>=v?{done:!0}:(f>0&&(s=_Lr(a,o.order,s,u,s)),{value:[s.slice(),r.get.apply(r,s)],done:!1})}function d(p){return n=!0,arguments.length?{value:p,done:!0}:{done:!0}}function y(){return $G(r,o)}}WG.exports=$G});var KG=c((yye,XG)=>{"use strict";var TLr=JG();XG.exports=TLr});var rY=c((mye,QG)=>{"use strict";var Pl=Ir(),jLr=ne(),ILr=Ta(),OLr=ke(),NLr=ge().isPrimitive,DLr=Xr(),HG=Fe(),kLr=Se(),BLr=Jr(),FLr=He().assign,bs=pr();function ZG(r){var e,a,t,o,i,n,s,u,v,f;if(!OLr(r))throw new TypeError(bs("invalid argument. First argument must be an array of nonnegative integers. Value: `%s`.",r));if(t={order:"row-major"},arguments.length>1){if(e=arguments[1],!jLr(e))throw new TypeError(bs("invalid argument. Options argument must be an object. Value: `%s`.",e));if(DLr(e,"order")){if(!ILr(e.order))throw new TypeError(bs("invalid option. `%s` option must be a recognized order. Option: `%s`.","order",e.order));t.order=e.order}}for(a=r.length,u=[],f=0;f<a;f++){if(!NLr(r[f]))throw new TypeError(bs("invalid argument. First argument must be an array of nonnegative integers. Value: `%s`.",r));u.push(r[f])}return v=BLr(u),v===0&&(i=!0),t.order==="row-major"?s=a-1:s=0,f=-1,n=kLr(a),o={},Pl(o,"next",l),Pl(o,"return",d),HG&&Pl(o,HG,y),o;function l(){return f+=1,i||f>=v?{done:!0}:(f>0&&(n=FLr(r,t.order,n,s,n)),{value:n.slice(),done:!1})}function d(p){return i=!0,arguments.length?{value:p,done:!0}:{done:!0}}function y(){return ZG(u,t)}}QG.exports=ZG});var aY=c((hye,eY)=>{"use strict";var RLr=rY();eY.exports=RLr});var oY=c((gye,iY)=>{"use strict";var zLr=se(),VLr=ke(),ULr=ge().isPrimitive,tY=is(),CLr=oe(),Ll=pr();function PLr(r,e){var a,t,o,i;if(!zLr(r))throw new TypeError(Ll("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!VLr(e))throw new TypeError(Ll("invalid argument. Second argument must be an array of nonnegative integers. Value: `%s`.",e));if(t=e.length,a=CLr(r),a.length===t){for(i=0;i<t;i++){if(o=e[i],!ULr(o))throw new TypeError(Ll("invalid argument. Second argument must be an array of nonnegative integers. Value: `%s`.","["+e.join(",")+"]"));if(a[i]!==o)return tY(r,e)}return r}return tY(r,e)}iY.exports=PLr});var Ml=c((bye,nY)=>{"use strict";var LLr=oY();nY.exports=LLr});var vY=c((xye,uY)=>{"use strict";var MLr=se(),GLr=Ve(),YLr=qi(),$Lr=Ml(),WLr=oe(),sY=pr();function JLr(r){var e,a,t,o,i,n,s;if(a=arguments.length,a===0)t=[];else if(a>1)for(t=[],s=0;s<arguments.length;s++)t.push(arguments[s]);else if(MLr(r))t=[r];else if(GLr(r))t=r;else throw new TypeError(sY("invalid argument. First argument must be either an ndarray or an array of ndarrays. Value: `%s`.",r));for(n=t.length,e=[],s=0;s<n;s++)try{e.push(WLr(t[s]))}catch{throw new TypeError(sY("invalid argument. An ndarray argument must be an ndarray. Value: `%s`.",t[s]))}if(i=YLr(e),i===null)throw new Error("invalid arguments. Input arrays must be broadcast compatible.");for(o=[],s=0;s<n;s++)o.push($Lr(t[s],i));return o}uY.exports=JLr});var Gl=c((qye,fY)=>{"use strict";var XLr=vY();fY.exports=XLr});var pY=c((wye,dY)=>{"use strict";var Yl=Ir(),KLr=Ve(),HLr=os().isPrimitive,lY=Fe(),ZLr=Se(),QLr=oe(),rMr=Jr(),eMr=ye(),aMr=Gl(),tMr=He().assign,iMr=he(),xs=pr();function cY(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m;if(!KLr(r))throw new TypeError(xs("invalid argument. First argument must be an array of ndarrays. Value: `%s`.",r));if(!HLr(e))throw new TypeError(xs("invalid argument. Second argument must be a positive integer. Value: `%s`.",e));try{o=aMr(r)}catch{throw new TypeError(xs("invalid argument. First argument must be an array of ndarrays which are broadcast-compatible. Value: `%s`.",r))}if(d=o.length,a=QLr(o[0]),f=a.length,f<=e)throw new TypeError(xs("invalid argument. First argument must be an array of ndarrays having at least %d dimensions after broadcasting.",e+1));for(l=rMr(a),l===0&&(i=!0),s=f-e-1,y=s+1;y<f;y++)l/=a[y];for(l*=d,v=a[s],n=[],y=0;y<d;y++){for(u=ZLr(f),p=s+1;p<f;p++)u[p]=null;n.push(u)}return y=-1,m=-1,t={},Yl(t,"next",h),Yl(t,"return",g),lY&&Yl(t,lY,b),t;function h(){var S,w,A;return y+=1,i||y>=l?{done:!0}:(m=(m+1)%d,S=n[m],w=iMr(S),A=(S[s]+1)%v,S[s]=A,A===0&&(S=tMr(a,"row-major",S,s-1,S)),{value:eMr(o[m],w,!0,!1),done:!1})}function g(S){return i=!0,arguments.length?{value:S,done:!0}:{done:!0}}function b(){return cY(r,e)}}dY.exports=cY});var mY=c((Sye,yY)=>{"use strict";var oMr=pY();yY.exports=oMr});var xY=c((Eye,bY)=>{"use strict";var $l=Ir(),nMr=ne(),sMr=pe().isPrimitive,uMr=se(),vMr=Le(),fMr=Xr(),hY=Fe(),lMr=Se(),cMr=oe(),dMr=Jr(),pMr=ye(),yMr=He().assign,mMr=he(),qs=pr();function gY(r){var e,a,t,o,i,n,s,u,v,f,l;if(!uMr(r))throw new TypeError(qs("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(o={writable:!1},arguments.length>1){if(e=arguments[1],!nMr(e))throw new TypeError(qs("invalid argument. Options argument must be an object. Value: `%s`.",e));if(fMr(e,"readonly")){if(!sMr(e.readonly))throw new TypeError(qs("invalid option. `%s` option must be a boolean. Option: `%s`.","readonly",e.readonly));if(o.writable=!e.readonly,o.writable&&vMr(r))throw new Error(qs("invalid option. Cannot write to read-only array."))}}if(a=cMr(r),t=a.length,t<3)throw new TypeError("invalid argument. First argument must be an ndarray having at least three dimensions.");return f=dMr(a),f===0&&(n=!0),f/=a[t-1]*a[t-2],u=t-3,v=a[u],l=-1,s=lMr(t),s[t-1]=null,s[t-2]=null,i={},$l(i,"next",d),$l(i,"return",y),hY&&$l(i,hY,p),i;function d(){var m,h;return l+=1,n||l>=f?{done:!0}:(m=mMr(s),h=(s[u]+1)%v,s[u]=h,h===0&&(s=yMr(a,"row-major",s,u-1,s)),{value:pMr(r,m,!0,o.writable),done:!1})}function y(m){return n=!0,arguments.length?{value:m,done:!0}:{done:!0}}function p(){return gY(r,o)}}bY.exports=gY});var wY=c((Aye,qY)=>{"use strict";var hMr=xY();qY.exports=hMr});var _Y=c((_ye,AY)=>{"use strict";var Wl=Ir(),gMr=ne(),bMr=pe().isPrimitive,xMr=se(),qMr=Le(),wMr=Xr(),SY=Fe(),SMr=Se(),EMr=oe(),AMr=Jr(),_Mr=ye(),TMr=He().assign,jMr=he(),ws=pr();function EY(r){var e,a,t,o,i,n,s,u,v,f,l;if(!xMr(r))throw new TypeError(ws("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(o={writable:!1},arguments.length>1){if(e=arguments[1],!gMr(e))throw new TypeError(ws("invalid argument. Options argument must be an object. Value: `%s`.",e));if(wMr(e,"readonly")){if(!bMr(e.readonly))throw new TypeError(ws("invalid option. `%s` option must be a boolean. Option: `%s`.","readonly",e.readonly));if(o.writable=!e.readonly,o.writable&&qMr(r))throw new Error(ws("invalid option. Cannot write to read-only array."))}}if(a=EMr(r),t=a.length,t<3)throw new TypeError("invalid argument. First argument must be an ndarray having at least three dimensions.");return f=AMr(a),f===0&&(n=!0),f/=a[t-1]*a[t-2],u=t-3,v=a[u],l=-1,s=SMr(t),s[t-1]=null,s[t-2]=null,i={},Wl(i,"next",d),Wl(i,"return",y),SY&&Wl(i,SY,p),i;function d(){var m,h,g;return l+=1,n||l>=f?{done:!0}:(m=s.slice(),h=jMr(s),g=(s[u]+1)%v,s[u]=g,g===0&&(s=TMr(a,"row-major",s,u-1,s)),{value:[m,_Mr(r,h,!0,o.writable)],done:!1})}function y(m){return n=!0,arguments.length?{value:m,done:!0}:{done:!0}}function p(){return EY(r,o)}}AY.exports=EY});var jY=c((Tye,TY)=>{"use strict";var IMr=_Y();TY.exports=IMr});var DY=c((jye,NY)=>{"use strict";var Jl=Ir(),OMr=ne(),NMr=pe().isPrimitive,DMr=se(),kMr=Le(),BMr=Xr(),IY=Fe(),FMr=Se(),RMr=oe(),zMr=Jr(),VMr=ye(),UMr=He().assign,CMr=he(),Ss=pr();function OY(r){var e,a,t,o,i,n,s,u,v,f,l;if(!DMr(r))throw new TypeError(Ss("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(o={writable:!1},arguments.length>1){if(e=arguments[1],!OMr(e))throw new TypeError(Ss("invalid argument. Options argument must be an object. Value: `%s`.",e));if(BMr(e,"readonly")){if(!NMr(e.readonly))throw new TypeError(Ss("invalid option. `%s` option must be a boolean. Option: `%s`.","readonly",e.readonly));if(o.writable=!e.readonly,o.writable&&kMr(r))throw new Error(Ss("invalid option. Cannot write to read-only array."))}}if(a=RMr(r),t=a.length,t<2)throw new TypeError("invalid argument. First argument must be an ndarray having at least two dimensions.");return f=zMr(a),f===0&&(n=!0),f/=a[t-1],u=t-2,v=a[u],l=-1,s=FMr(t),s[t-1]=null,i={},Jl(i,"next",d),Jl(i,"return",y),IY&&Jl(i,IY,p),i;function d(){var m,h,g;return l+=1,n||l>=f?{done:!0}:(m=s.slice(),h=CMr(s),g=(s[u]+1)%v,s[u]=g,g===0&&(s=UMr(a,"row-major",s,u-1,s)),{value:[m,VMr(r,h,!0,o.writable)],done:!1})}function y(m){return n=!0,arguments.length?{value:m,done:!0}:{done:!0}}function p(){return OY(r,o)}}NY.exports=OY});var BY=c((Iye,kY)=>{"use strict";var PMr=DY();kY.exports=PMr});var VY=c((Oye,zY)=>{"use strict";var Xl=Ir(),LMr=ne(),MMr=pe().isPrimitive,GMr=se(),YMr=Le(),$Mr=Xr(),FY=Fe(),WMr=Se(),JMr=oe(),XMr=Jr(),KMr=ye(),HMr=He().assign,ZMr=he(),Es=pr();function RY(r){var e,a,t,o,i,n,s,u,v,f,l;if(!GMr(r))throw new TypeError(Es("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(o={writable:!1},arguments.length>1){if(e=arguments[1],!LMr(e))throw new TypeError(Es("invalid argument. Options argument must be an object. Value: `%s`.",e));if($Mr(e,"readonly")){if(!MMr(e.readonly))throw new TypeError(Es("invalid option. `%s` option must be a boolean. Option: `%s`.","readonly",e.readonly));if(o.writable=!e.readonly,o.writable&&YMr(r))throw new Error(Es("invalid option. Cannot write to read-only array."))}}if(a=JMr(r),t=a.length,t<2)throw new TypeError("invalid argument. First argument must be an ndarray having at least two dimensions.");return f=XMr(a),f===0&&(n=!0),f/=a[t-1],u=t-2,v=a[u],l=-1,s=WMr(t),s[t-1]=null,i={},Xl(i,"next",d),Xl(i,"return",y),FY&&Xl(i,FY,p),i;function d(){var m,h;return l+=1,n||l>=f?{done:!0}:(m=ZMr(s),h=(s[u]+1)%v,s[u]=h,h===0&&(s=HMr(a,"row-major",s,u-1,s)),{value:KMr(r,m,!0,o.writable),done:!1})}function y(m){return n=!0,arguments.length?{value:m,done:!0}:{done:!0}}function p(){return RY(r,o)}}zY.exports=RY});var CY=c((Nye,UY)=>{"use strict";var QMr=VY();UY.exports=QMr});var $Y=c((Dye,YY)=>{"use strict";var Kl=Ir(),r9r=ne(),PY=pe().isPrimitive,e9r=fe().isPrimitive,a9r=se(),t9r=Le(),LY=Xr(),MY=Fe(),i9r=Ei(),o9r=oe(),n9r=ya(),s9r=Jr(),u9r=ye(),v9r=Ce(),f9r=he(),oi=pr();function GY(r,e){var a,t,o,i,n,s,u,v,f,l;if(!a9r(r))throw new TypeError(oi("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!e9r(e))throw new TypeError(oi("invalid argument. Second argument must be an integer. Value: `%s`.",e));if(i={writable:!1,keepdim:!1},arguments.length>2){if(a=arguments[2],!r9r(a))throw new TypeError(oi("invalid argument. Options argument must be an object. Value: `%s`.",a));if(LY(a,"readonly")){if(!PY(a.readonly))throw new TypeError(oi("invalid option. `%s` option must be a boolean. Option: `%s`.","readonly",a.readonly));if(i.writable=!a.readonly,i.writable&&t9r(r))throw new Error(oi("invalid option. Cannot write to read-only array."))}if(LY(a,"keepdim")){if(!PY(a.keepdim))throw new TypeError(oi("invalid option. `%s` option must be a boolean. Option: `%s`.","keepdim",a.keepdim));i.keepdim=a.keepdim}}if(t=o9r(r),o=t.length,f=n9r(e,o-1),f===-1)throw new RangeError(oi("invalid argument. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: `%d`.",o,e));return v=s9r(t),v===0&&(s=!0),v=t[f],l=-1,u=i9r(o),n={},Kl(n,"next",d),Kl(n,"return",y),MY&&Kl(n,MY,p),n;function d(){var m;return l+=1,s||l>=v?{done:!0}:(i.keepdim?u[f]=new v9r(l,l+1,1):u[f]=l,m=f9r(u),{value:u9r(r,m,!0,i.writable),done:!1})}function y(m){return s=!0,arguments.length?{value:m,done:!0}:{done:!0}}function p(){return GY(r,e,i)}}YY.exports=GY});var JY=c((kye,WY)=>{"use strict";var l9r=$Y();WY.exports=l9r});var KY=c((Bye,XY)=>{"use strict";var c9r=tt(),d9r=it(),p9r=Et(),y9r=po();function m9r(r){var e=y9r(r);return c9r(r)?d9r(e):p9r(e)}XY.exports=m9r});var Hl=c((Fye,HY)=>{"use strict";var h9r=KY();HY.exports=h9r});var QY=c((Rye,ZY)=>{"use strict";var g9r=Hl();function b9r(r){var e,a,t,o;for(t=g9r(r),a=r.length,e=[],o=0;o<a;o++)e.push(t(r,o));return e}ZY.exports=b9r});var e$=c((zye,r$)=>{"use strict";var x9r=QY();r$.exports=x9r});var i$=c((Vye,t$)=>{"use strict";var a$=Hl(),q9r=nt().factory;function w9r(r,e,a){var t,o,i,n,s,u,v;for(o=a$(r),i=a$(e),t=q9r(a),s=r.length-1,n=[],u=0;u<e.length;u++)v=t(i(e,u),s),n.push(o(r,v));return n}t$.exports=w9r});var n$=c((Uye,o$)=>{"use strict";var S9r=Ue().factory,E9r=Sl(),A9r=S9r(E9r("boolean"));o$.exports=A9r});var Zl=c((Cye,s$)=>{"use strict";var _9r=n$();s$.exports=_9r});var v$=c((Pye,u$)=>{"use strict";var T9r=cn(),j9r=ln(),I9r=oo(),O9r=io(),N9r=pr();function D9r(r,e){if(T9r(r))return I9r(r,e);if(j9r(r))return O9r(r,e);throw new TypeError(N9r("invalid argument. First argument must be a complex-valued floating-point array. Value: `%s`.",r))}u$.exports=D9r});var Ql=c((Lye,f$)=>{"use strict";var k9r=v$();f$.exports=k9r});var c$=c((Mye,l$)=>{"use strict";var B9r=va();function F9r(r,e){return new B9r(r.buffer,r.byteOffset+r.BYTES_PER_ELEMENT*e,r.length-e)}l$.exports=F9r});var rc=c((Gye,d$)=>{"use strict";var R9r=c$();d$.exports=R9r});var b$=c((Yye,g$)=>{"use strict";var p$=ds(),y$=Zl(),ec=vt(),m$=Ql(),h$=rc(),As=nt().factory;function z9r(r,e,a,t,o,i){var n,s,u,v,f;for(n=As(a),s=r.length-1,u=i,v=0;v<e.length;v++)f=n(e[v],s),t[u]=r[f],u+=o;return t}function V9r(r,e,a,t,o,i){var n,s,u,v,f,l,d,y,p,m,h;for(s=r.data,u=e.data,v=t.data,f=r.accessors[0],l=e.accessors[0],d=t.accessors[1],n=As(a),y=s.length-1,p=i,m=0;m<u.length;m++)h=n(l(u,m),y),d(v,p,f(s,h)),p+=o;return v}function U9r(r,e,a,t,o,i){var n,s,u,v,f,l,d,y,p;for(s=e.data,u=e.accessors[0],n=As(a),v=r.length/2-1,l=o*2,f=i*2,d=0;d<s.length;d++)y=n(u(s,d),v),p=y*2,t[f]=r[p],t[f+1]=r[p+1],f+=l;return t}function C9r(r,e,a,t,o,i){var n,s,u,v,f,l,d;for(s=e.data,u=e.accessors[0],n=As(a),v=r.length-1,f=i,l=0;l<s.length;l++)d=n(u(s,l),v),t[f]=r[d],f+=o;return t}function P9r(r,e,a,t,o,i){var n,s,u;return n=ec(r),s=ec(e),u=ec(t),n.accessorProtocol||s.accessorProtocol||u.accessorProtocol?p$(n.dtype)&&p$(u.dtype)?(U9r(m$(r,0),s,a,m$(t,0),o,i),t):y$(n.dtype)&&y$(u.dtype)?(C9r(h$(r,0),s,a,h$(t,0),o,i),t):(V9r(n,s,a,u,o,i),t):(z9r(r,e,a,t,o,i),t)}g$.exports=P9r});var w$=c(($ye,q$)=>{"use strict";var L9r=Ir(),x$=i$(),M9r=b$();L9r(x$,"assign",M9r);q$.exports=x$});var j$=c((Wye,T$)=>{"use strict";var S$=ds(),E$=Zl(),ac=vt(),A$=Ql(),_$=rc(),G9r=nt().factory,Y9r=pr();function $9r(r,e,a,t,o,i){var n,s,u;for(n=0,s=0;s<e.length;s++)u=o(e[s],i),r[u]=a[n],n+=t;return r}function W9r(r,e,a,t,o,i){var n,s,u,v,f,l,d,y,p;for(n=r.data,s=e.data,u=a.data,v=r.accessors[1],f=e.accessors[0],l=a.accessors[0],d=0,y=0;y<s.length;y++)p=o(f(s,y),i),v(n,p,l(u,d)),d+=t;return n}function J9r(r,e,a,t,o,i){var n,s,u,v,f,l,d;for(n=e.data,s=e.accessors[0],v=t*2,u=0,f=0;f<n.length;f++)l=o(s(n,f),i),d=l*2,r[d]=a[u],r[d+1]=a[u+1],u+=v;return r}function X9r(r,e,a,t,o,i){var n,s,u,v,f;for(n=e.data,s=e.accessors[0],u=0,v=0;v<n.length;v++)f=o(s(n,v),i),r[f]=a[u],u+=t;return r}function K9r(r,e,a,t){var o,i,n,s,u,v;if(e.length>0)if(a.length===e.length)i=1;else if(a.length===1)i=0;else throw new Error(Y9r("invalid argument. The third argument must be broadcast compatible with the second argument. Array shape: (%d). Desired shape: (%d).",a.length,e.length));return o=G9r(t),n=r.length-1,s=ac(r),u=ac(e),v=ac(a),s.accessorProtocol||u.accessorProtocol||v.accessorProtocol?S$(s.dtype)&&S$(v.dtype)?(J9r(A$(r,0),u,A$(a,0),i,o,n),r):E$(s.dtype)&&E$(v.dtype)?(X9r(_$(r,0),u,_$(a,0),i,o,n),r):(W9r(s,u,v,i,o,n),r):($9r(r,e,a,i,o,n),r)}T$.exports=K9r});var O$=c((Jye,I$)=>{"use strict";var H9r=j$();I$.exports=H9r});var F$=c((Xye,B$)=>{"use strict";var tc=Ir(),Z9r=ne(),Q9r=pe().isPrimitive,rGr=Qu().primitives,eGr=se(),aGr=Le(),tGr=Xr(),N$=Fe(),iGr=Se(),oGr=e$(),D$=w$(),nGr=O$(),sGr=oe(),uGr=ya(),vGr=Jr(),fGr=ye(),lGr=He().assign,cGr=he(),dt=pr();function k$(r,e){var a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g;if(!eGr(r))throw new TypeError(dt("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!rGr(e))throw new TypeError(dt("invalid argument. Second argument must be an array of integers. Value: `%s`.",e));if(s={writable:!1},arguments.length>2){if(t=arguments[2],!Z9r(t))throw new TypeError(dt("invalid argument. Options argument must be an object. Value: `%s`.",t));if(tGr(t,"readonly")){if(!Q9r(t.readonly))throw new TypeError(dt("invalid option. `%s` option must be a boolean. Option: `%s`.","readonly",t.readonly));if(s.writable=!t.readonly,s.writable&&aGr(r))throw new Error(dt("invalid option. Cannot write to read-only array."))}}if(n=e,e=oGr(e),y=e.length,o=sGr(r),i=o.length,i<=y)throw new TypeError(dt("invalid argument. First argument must be an ndarray having at least %d dimensions.",y+1));for(h=0;h<y;h++){if(m=uGr(e[h],i-1),m===-1)throw new RangeError(dt("invalid argument. Dimension index exceeds the number of dimensions. Number of dimensions: %d. Value: `%d`.",i,e[h]));e[h]=m}for(p=vGr(o),p===0&&(f=!0),h=0;h<y-1;h++)if(e[h]>e[h+1])throw new Error(dt("invalid argument. Dimension indices must be sorted in ascending order. Value: `%s`.",n));for(g=1,h=1;h<y;h++){if(e[h]===e[h-1])throw new Error(dt("invalid argument. Dimension indices must be unique. Value: `%s`.",n));e[g]=e[h],g+=1}for(h=0;h<y;h++)p/=o[e[h]];for(l=iGr(i),h=0;h<y;h++)l[e[h]]=null;for(a=[],g=0,h=0;h<i;h++){if(h===e[g]){g+=1;continue}a.push(h)}return d=D$(o,a,"throw"),v=D$(l,a,"throw"),h=-1,u={},tc(u,"next",b),tc(u,"return",S),N$&&tc(u,N$,w),u;function b(){var A;return h+=1,f||h>=p?{done:!0}:(A=cGr(l),v=lGr(d,"row-major",v,-1,v),l=nGr(l,a,v,"throw"),{value:fGr(r,A,!0,s.writable),done:!1})}function S(A){return f=!0,arguments.length?{value:A,done:!0}:{done:!0}}function w(){return k$(r,e,s)}}B$.exports=k$});var z$=c((Kye,R$)=>{"use strict";var dGr=F$();R$.exports=dGr});var P$=c((Hye,C$)=>{"use strict";var ic=Ir(),pGr=ne(),yGr=pe().isPrimitive,mGr=os().isPrimitive,hGr=se(),gGr=Le(),bGr=Xr(),V$=Fe(),xGr=Se(),qGr=oe(),wGr=Jr(),SGr=ye(),EGr=He().assign,AGr=he(),Bi=pr();function U$(r,e){var a,t,o,i,n,s,u,v,f,l,d;if(!hGr(r))throw new TypeError(Bi("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!mGr(e))throw new TypeError(Bi("invalid argument. Second argument must be a positive integer. Value: `%s`.",e));if(o={writable:!1},arguments.length>2){if(a=arguments[2],!pGr(a))throw new TypeError(Bi("invalid argument. Options argument must be an object. Value: `%s`.",a));if(bGr(a,"readonly")){if(!yGr(a.readonly))throw new TypeError(Bi("invalid option. `%s` option must be a boolean. Option: `%s`.","readonly",a.readonly));if(o.writable=!a.readonly,o.writable&&gGr(r))throw new Error(Bi("invalid option. Cannot write to read-only array."))}}if(t=qGr(r),f=t.length,f<=e)throw new TypeError(Bi("invalid argument. First argument must be an ndarray having at least %d dimensions.",e+1));for(l=wGr(t),l===0&&(n=!0),u=f-e-1,d=u+1;d<f;d++)l/=t[d];for(v=t[u],s=xGr(f),d=u+1;d<f;d++)s[d]=null;return d=-1,i={},ic(i,"next",y),ic(i,"return",p),V$&&ic(i,V$,m),i;function y(){var h,g;return d+=1,n||d>=l?{done:!0}:(h=AGr(s),g=(s[u]+1)%v,s[u]=g,g===0&&(s=EGr(t,"row-major",s,u-1,s)),{value:SGr(r,h,!0,o.writable),done:!1})}function p(h){return n=!0,arguments.length?{value:h,done:!0}:{done:!0}}function m(){return U$(r,e,o)}}C$.exports=U$});var M$=c((Zye,L$)=>{"use strict";var _Gr=P$();L$.exports=_Gr});var Y$=c((Qye,G$)=>{"use strict";var TGr=Pe();function jGr(r){var e=typeof r;return r!==null&&(e==="object"||e==="function")&&TGr(r.next)}G$.exports=jGr});var W$=c((rme,$$)=>{"use strict";var IGr=Y$();$$.exports=IGr});var X$=c((eme,J$)=>{"use strict";var OGr=se(),NGr=rl(),DGr=Xa(),kGr=Tt(),BGr=oe(),FGr=Ka(),RGr=ut(),zGr=pr();function VGr(r){if(!OGr(r))throw new TypeError(zGr("invalid argument. Must provide an ndarray. Value: `%s`.",r));return NGr(RGr(r),BGr(r),DGr(r),kGr(r),FGr(r))}J$.exports=VGr});var oc=c((ame,K$)=>{"use strict";var UGr=X$();K$.exports=UGr});var Q$=c((tme,Z$)=>{"use strict";var nc=Ir(),CGr=Pe(),PGr=W$(),_s=Fe(),LGr=oc(),MGr=pr();function H$(r){var e,a;if(!PGr(r))throw new TypeError(MGr("invalid argument. First argument must be an iterator protocol-compliant object. Value: `%s`.",r));return e={},nc(e,"next",t),nc(e,"return",o),_s&&CGr(r[_s])&&nc(e,_s,i),e;function t(){var n;return a?{done:!0}:(n=r.next(),n.done?(a=!0,n):{value:LGr(n.value),done:!1})}function o(n){return a=!0,arguments.length?{value:n,done:!0}:{done:!0}}function i(){return H$(r[_s]())}}Z$.exports=H$});var eW=c((ime,rW)=>{"use strict";var GGr=Q$();rW.exports=GGr});var oW=c((ome,iW)=>{"use strict";var sc=Ir(),YGr=ne(),$Gr=Ta(),WGr=se(),JGr=Xr(),aW=Fe(),XGr=Se(),KGr=oe(),HGr=Jr(),ZGr=He().assign,uc=pr();function tW(r){var e,a,t,o,i,n,s,u,v,f;if(!WGr(r))throw new TypeError(uc("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(o={order:r.order},arguments.length>1){if(e=arguments[1],!YGr(e))throw new TypeError(uc("invalid argument. Options argument must be an object. Value: `%s`.",e));if(JGr(e,"order")){if(!$Gr(e.order))throw new TypeError(uc("invalid option. `%s` option must be a recognized order. Option: `%s`.","order",e.order));o.order=e.order}}return a=KGr(r),t=a.length,v=HGr(a),v===0&&(n=!0),o.order==="row-major"?u=t-1:u=0,f=-1,s=XGr(t),i={},sc(i,"next",l),sc(i,"return",d),aW&&sc(i,aW,y),i;function l(){return f+=1,n||f>=v?{done:!0}:(f>0&&(s=ZGr(a,o.order,s,u,s)),{value:r.get.apply(r,s),done:!1})}function d(p){return n=!0,arguments.length?{value:p,done:!0}:{done:!0}}function y(){return tW(r,o)}}iW.exports=tW});var sW=c((nme,nW)=>{"use strict";var QGr=oW();nW.exports=QGr});var vW=c((sme,uW)=>{"use strict";var Ze=zt(),Me={};Ze(Me,"nditerColumnEntries",VG());Ze(Me,"nditerColumns",GG());Ze(Me,"nditerEntries",KG());Ze(Me,"nditerIndices",aY());Ze(Me,"nditerInterleaveSubarrays",mY());Ze(Me,"nditerMatrices",wY());Ze(Me,"nditerMatrixEntries",jY());Ze(Me,"nditerRowEntries",BY());Ze(Me,"nditerRows",CY());Ze(Me,"nditerSelectDimension",JY());Ze(Me,"nditerStacks",z$());Ze(Me,"nditerSubarrays",M$());Ze(Me,"nditer2arrayEach",eW());Ze(Me,"nditerValues",sW());uW.exports=Me});var lW=c((ume,fW)=>{"use strict";var rYr=Le(),eYr=Ra(),aYr=oe(),tYr=Xa(),iYr=Tt(),oYr=Ka(),nYr=ut(),sYr=ma(),uYr=ka(),vYr=uYr("order");function fYr(r){var e,a,t,o,i,n,s;if(s=eYr(r),i=nYr(r),o=aYr(r),e=tYr(r),a=iYr(r),t=oYr(r)||vYr,arguments.length>1?n=arguments[1]:n={},rYr(r)){if(n.readonly===void 0)n.readonly=!0;else if(n.readonly===!1)throw new Error("invalid argument. Cannot write to a read-only array.")}return new sYr(s,i,o,e,a,t,n)}fW.exports=fYr});var dW=c((vme,cW)=>{"use strict";var lYr=lW();cW.exports=lYr});var pW=c((fme,cYr)=>{cYr.exports={float64:-1,float32:"float64",int32:-1,int16:"int32",int8:"int16",uint32:-1,uint16:"uint32",uint8:"uint16",uint8c:"uint16",complex64:"complex128",complex128:-1,generic:-1,binary:-1,bool:-1}});var mW=c((lme,yW)=>{"use strict";var dYr=Aa(),pYr=Xr(),yYr=Ba(),Ts=pW();function mYr(){var r,e,a,t;for(a={},r=dYr(Ts),e=r.length,t=0;t<e;t++)a[r[t]]=Ts[r[t]];return a}function hYr(r){return arguments.length===0?mYr():(r=yYr(r),pYr(Ts,r)?Ts[r]:null)}yW.exports=hYr});var gW=c((cme,hW)=>{"use strict";var gYr=mW();hW.exports=gYr});var qW=c((dme,xW)=>{"use strict";var bW=ge().isPrimitive,bYr=ke(),vc=pr();function xYr(r){var e,a,t,o,i;if(typeof r!="object"||r===null)throw new TypeError(vc("invalid argument. Must provide an ndarray. Value: `%s`.",r));if(t=r.length,bW(t))return t;if(a=r.shape,!bYr(a))throw new TypeError(vc("invalid argument. Must provide an ndarray. Value: `%s`.",r));if(e=a.length,e===0)return 0;for(t=1,i=0;i<e;i++){if(o=a[i],!bW(o))throw new TypeError(vc("invalid argument. Must provide an ndarray. Value: `%s`.",r));t*=o}return t}xW.exports=xYr});var fc=c((pme,wW)=>{"use strict";var qYr=qW();wW.exports=qYr});var EW=c((yme,SW)=>{"use strict";var wYr=ge().isPrimitive,SYr=fe().isPrimitive,EYr=Mf(),lc=pr();function AYr(r,e){var a;if(typeof r!="object"||r===null)throw new TypeError(lc("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!SYr(e))throw new TypeError(lc("invalid argument. Second argument must be an integer. Value: `%s`.",e));if(a=EYr(r,e),wYr(a))return a;throw new TypeError(lc("invalid argument. First argument must be an ndarray. Value: `%s`.",r))}SW.exports=AYr});var _W=c((mme,AW)=>{"use strict";var _Yr=EW();AW.exports=_Yr});var TW=c((hme,TYr)=>{TYr.exports={float64:{float64:"float64",float32:"float64",int32:"float64",int16:"float64",int8:"float64",uint32:"float64",uint16:"float64",uint8:"float64",uint8c:"float64",complex64:"complex128",complex128:"complex128",binary:-1,generic:"generic",bool:-1},float32:{float64:"float64",float32:"float32",int32:"float64",int16:"float32",int8:"float32",uint32:"float64",uint16:"float32",uint8:"float32",uint8c:"float32",complex64:"complex64",complex128:"complex128",binary:-1,generic:"generic",bool:-1},int32:{float64:"float64",float32:"float64",int32:"int32",int16:"int32",int8:"int32",uint32:"float64",uint16:"int32",uint8:"int32",uint8c:"int32",complex64:"complex128",complex128:"complex128",binary:-1,generic:"generic",bool:-1},int16:{float64:"float64",float32:"float32",int32:"int32",int16:"int16",int8:"int16",uint32:"float64",uint16:"int32",uint8:"int16",uint8c:"int16",complex64:"complex64",complex128:"complex128",binary:-1,generic:"generic",bool:-1},int8:{float64:"float64",float32:"float32",int32:"int32",int16:"int16",int8:"int8",uint32:"float64",uint16:"int32",uint8:"int16",uint8c:"int16",complex64:"complex64",complex128:"complex128",binary:-1,generic:"generic",bool:-1},uint32:{float64:"float64",float32:"float64",int32:"float64",int16:"float64",int8:"float64",uint32:"uint32",uint16:"uint32",uint8:"uint32",uint8c:"uint32",complex64:"complex128",complex128:"complex128",binary:-1,generic:"generic",bool:-1},uint16:{float64:"float64",float32:"float32",int32:"int32",int16:"int32",int8:"int32",uint32:"uint32",uint16:"uint16",uint8:"uint16",uint8c:"uint16",complex64:"complex64",complex128:"complex128",binary:-1,generic:"generic",bool:-1},uint8:{float64:"float64",float32:"float32",int32:"int32",int16:"int16",int8:"int16",uint32:"uint32",uint16:"uint16",uint8:"uint8",uint8c:"uint8",complex64:"complex64",complex128:"complex128",binary:-1,generic:"generic",bool:-1},uint8c:{float64:"float64",float32:"float32",int32:"int32",int16:"int16",int8:"int16",uint32:"uint32",uint16:"uint16",uint8:"uint8",uint8c:"uint8c",complex64:"complex64",complex128:"complex128",binary:-1,generic:"generic",bool:-1},complex128:{float64:"complex128",float32:"complex128",int32:"complex128",int16:"complex128",int8:"complex128",uint32:"complex128",uint16:"complex128",uint8:"complex128",uint8c:"complex128",complex64:"complex128",complex128:"complex128",binary:-1,generic:"generic",bool:-1},complex64:{float64:"complex128",float32:"complex64",int32:"complex128",int16:"complex64",int8:"complex64",uint32:"complex128",uint16:"complex64",uint8:"complex64",uint8c:"complex64",complex64:"complex64",complex128:"complex128",binary:-1,generic:"generic",bool:-1},generic:{float64:"generic",float32:"generic",int32:"generic",int16:"generic",int8:"generic",uint32:"generic",uint16:"generic",uint8:"generic",uint8c:"generic",complex64:"generic",complex128:"generic",binary:-1,generic:"generic",bool:"generic"},binary:{float64:-1,float32:-1,int32:-1,int16:-1,int8:-1,uint32:-1,uint16:-1,uint8:-1,uint8c:-1,complex64:-1,complex128:-1,binary:"binary",generic:-1,bool:-1},bool:{float64:-1,float32:-1,int32:-1,int16:-1,int8:-1,uint32:-1,uint16:-1,uint8:-1,uint8c:-1,complex64:-1,complex128:-1,binary:-1,generic:"generic",bool:"bool"}}});var NW=c((gme,OW)=>{"use strict";var jYr=Aa(),jW=Xr(),IW=Ba(),js=TW();function IYr(){var r,e,a,t,o,i,n,s,u;for(a={},r=jYr(js),e=r.length,u=0;u<e;u++){for(o=r[u],n=js[o],t={},s=0;s<e;s++)i=r[s],t[i]=n[i];a[o]=t}return a}function OYr(r,e){var a;return arguments.length===0?IYr():(r=IW(r),jW(js,r)&&(a=js[r],e=IW(e),jW(a,e))?a[e]:null)}OW.exports=OYr});var kW=c((bme,DW)=>{"use strict";var NYr=NW();DW.exports=NYr});var FW=c((xme,BW)=>{"use strict";var DYr=Qa(),kYr=gt();function BYr(r){return r instanceof DYr||kYr(r)==="MultiSlice"}BW.exports=BYr});var cc=c((qme,RW)=>{"use strict";var FYr=FW();RW.exports=FYr});var VW=c((wme,zW)=>{"use strict";var RYr=se(),zYr=cc(),VYr=Ve(),UYr=ne(),CYr=pe().isPrimitive,PYr=Xr(),LYr=Qa(),MYr=he(),GYr=ye(),YYr=oe(),Is=pr();function $Yr(r,e){var a,t,o,i,n,s,u;if(o={strict:!0},t=arguments.length,!RYr(r))throw new TypeError(Is("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(UYr(arguments[t-1])){if(t-=1,a=arguments[t],PYr(a,"strict")){if(!CYr(a.strict))throw new TypeError(Is("invalid option. `%s` option must be a boolean. Option: `%s`.","strict",a.strict));o.strict=a.strict}if(n=YYr(r),t===1&&n.length>0)throw new RangeError(Is("invalid argument. Number of slice dimensions does not match the number of array dimensions. Array shape: (%s). Slice dimensions: %u.",n.join(","),0))}if(zYr(e)){if(s=e,t>2)throw new Error("invalid invocation. Too many arguments.")}else{if(VYr(e)){if(i=e,t>2)throw new Error("invalid invocation. Too many arguments.")}else for(i=[],u=1;u<t;u++)i.push(arguments[u]);try{s=MYr(i)}catch{for(u=0;u<i.length;u++)try{new LYr(i[u])}catch{throw new TypeError(Is("invalid argument. Slice arguments must be either a Slice, integer, null, or undefined. Value: `%s`.",String(i[u])))}}}return GYr(r,s,o.strict,!1)}zW.exports=$Yr});var dc=c((Sme,UW)=>{"use strict";var WYr=VW();UW.exports=WYr});var LW=c((Eme,PW)=>{"use strict";var CW=se(),JYr=cc(),XYr=Ve(),KYr=ne(),HYr=pe().isPrimitive,ZYr=Le(),QYr=Xr(),r$r=Qa(),e$r=he(),a$r=ts(),t$r=oe(),Vo=pr();function i$r(r,e,a){var t,o,i,n,s,u,v;if(i={strict:!0},o=arguments.length,!CW(r))throw new TypeError(Vo("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!CW(e))throw new TypeError(Vo("invalid argument. Second argument must be an ndarray. Value: `%s`.",e));if(ZYr(e))throw new Error("invalid argument. Cannot write to a read-only array.");if(KYr(arguments[o-1])){if(o-=1,t=arguments[o],QYr(t,"strict")){if(!HYr(t.strict))throw new TypeError(Vo("invalid option. `%s` option must be a boolean. Option: `%s`.","strict",t.strict));i.strict=t.strict}if(s=t$r(e),o===2&&s.length>0)throw new RangeError(Vo("invalid argument. Number of slice dimensions does not match the number of array dimensions. Array shape: (%s). Slice dimensions: %u.",s.join(","),0))}if(JYr(a)){if(u=a,o>3)throw new Error("invalid invocation. Too many arguments.")}else{if(XYr(a)){if(n=a,o>3)throw new Error("invalid invocation. Too many arguments.")}else for(n=[],v=2;v<o;v++)n.push(arguments[v]);try{u=e$r(n)}catch{for(v=0;v<n.length;v++)try{new r$r(n[v])}catch{throw new TypeError(Vo("invalid argument. Slice arguments must be either a Slice, integer, null, or undefined. Value: `%s`.",String(n[v])))}}}return a$r(r,e,u,i.strict)}PW.exports=i$r});var GW=c((Ame,MW)=>{"use strict";var o$r=LW();MW.exports=o$r});var WW=c((_me,$W)=>{"use strict";var n$r=ne(),s$r=pe().isPrimitive,YW=fe().isPrimitive,u$r=se(),v$r=Si(),f$r=kf(),l$r=wi(),c$r=Xr(),d$r=Ce(),p$r=Wf(),Uo=pr();function y$r(r,e,a){var t,o,i;if(i={strict:!0},!u$r(r))throw new TypeError(Uo("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!YW(e))throw new TypeError(Uo("invalid argument. Second argument must be an integer. Value: `%s`.",e));if(YW(a)||f$r(a))o=a;else if(l$r(a)||v$r(a))o=new d$r;else throw new TypeError(Uo("invalid argument. Third argument must be either a Slice, integer, null, or undefined. Value: `%s`.",a));if(arguments.length>3){if(t=arguments[3],!n$r(t))throw new TypeError(Uo("invalid argument. Options argument must be an object. Value: `%s`.",t));if(c$r(t,"strict")){if(!s$r(t.strict))throw new TypeError(Uo("invalid option. `%s` option must be a boolean. Option: `%s`.","strict",t.strict));i.strict=t.strict}}return p$r(r,e,o,i.strict,!1)}$W.exports=y$r});var XW=c((Tme,JW)=>{"use strict";var m$r=WW();JW.exports=m$r});var ZW=c((jme,HW)=>{"use strict";var h$r=ne(),g$r=pe().isPrimitive,KW=fe().isPrimitive,b$r=se(),x$r=Xr(),q$r=Jf(),Co=pr();function w$r(r,e,a){var t,o;if(o={strict:!0},!b$r(r))throw new TypeError(Co("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!KW(e))throw new TypeError(Co("invalid argument. Second argument must be an integer. Value: `%s`.",e));if(!KW(a))throw new TypeError(Co("invalid argument. Third argument must be an integer. Value: `%s`.",a));if(arguments.length>3){if(t=arguments[3],!h$r(t))throw new TypeError(Co("invalid argument. Options argument must be an object. Value: `%s`.",t));if(x$r(t,"strict")){if(!g$r(t.strict))throw new TypeError(Co("invalid option. `%s` option must be a boolean. Option: `%s`.","strict",t.strict));o.strict=t.strict}}return q$r(r,e,a,o.strict,!1)}HW.exports=w$r});var rJ=c((Ime,QW)=>{"use strict";var S$r=ZW();QW.exports=S$r});var tJ=c((Ome,aJ)=>{"use strict";var E$r=ne(),A$r=pe().isPrimitive,eJ=fe().isPrimitive,_$r=se(),T$r=Xr(),j$r=Xf(),Po=pr();function I$r(r,e,a){var t,o;if(o={strict:!0},!_$r(r))throw new TypeError(Po("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!eJ(e))throw new TypeError(Po("invalid argument. Second argument must be an integer. Value: `%s`.",e));if(!eJ(a))throw new TypeError(Po("invalid argument. Third argument must be an integer. Value: `%s`.",a));if(arguments.length>3){if(t=arguments[3],!E$r(t))throw new TypeError(Po("invalid argument. Options argument must be an object. Value: `%s`.",t));if(T$r(t,"strict")){if(!A$r(t.strict))throw new TypeError(Po("invalid option. `%s` option must be a boolean. Option: `%s`.","strict",t.strict));o.strict=t.strict}}return j$r(r,e,a,o.strict,!1)}aJ.exports=I$r});var oJ=c((Nme,iJ)=>{"use strict";var O$r=tJ();iJ.exports=O$r});var sJ=c((Dme,nJ)=>{"use strict";var N$r=se(),D$r=Ve(),k$r=ne(),B$r=Ge().isPrimitive,F$r=pe().isPrimitive,R$r=wi(),z$r=Si(),V$r=Xr(),U$r=oe(),C$r=Kf(),Os=pr();function P$r(r){return!(B$r(r)||R$r(r)||z$r(r))}function L$r(r,e){var a,t,o,i,n,s;if(o={strict:!0},t=arguments.length,!N$r(r))throw new TypeError(Os("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(k$r(arguments[t-1])){if(t-=1,a=arguments[t],V$r(a,"strict")){if(!F$r(a.strict))throw new TypeError(Os("invalid option. `%s` option must be a boolean. Option: `%s`.","strict",a.strict));o.strict=a.strict}if(n=U$r(r),t===1&&n.length>0)throw new RangeError(Os("invalid argument. Number of indices does not match the number of array dimensions. Array shape: (%s). Number of indices: %u.",n.join(","),0))}if(D$r(e)){if(i=e,t>2)throw new Error("invalid invocation. Too many arguments.")}else for(i=[],s=1;s<t;s++)i.push(arguments[s]);for(s=0;s<i.length;s++)if(P$r(i[s]))throw new TypeError(Os("invalid argument. Each index argument must be either an integer, null, or undefined. Value: `%s`.",String(i[s])));return C$r(r,i,o.strict,!1)}nJ.exports=L$r});var vJ=c((kme,uJ)=>{"use strict";var M$r=sJ();uJ.exports=M$r});var lJ=c((Bme,fJ)=>{"use strict";var G$r=se(),Y$r=Ve(),$$r=ne(),W$r=Ge().isPrimitive,J$r=pe().isPrimitive,X$r=wi(),K$r=Si(),H$r=Xr(),Z$r=oe(),Q$r=Hf(),Ns=pr();function rWr(r){return!(W$r(r)||X$r(r)||K$r(r))}function eWr(r,e){var a,t,o,i,n,s;if(o={strict:!0},t=arguments.length,!G$r(r))throw new TypeError(Ns("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if($$r(arguments[t-1])){if(t-=1,a=arguments[t],H$r(a,"strict")){if(!J$r(a.strict))throw new TypeError(Ns("invalid option. `%s` option must be a boolean. Option: `%s`.","strict",a.strict));o.strict=a.strict}if(n=Z$r(r),t===1&&n.length>0)throw new RangeError(Ns("invalid argument. Number of indices does not match the number of array dimensions. Array shape: (%s). Number of indices: %u.",n.join(","),0))}if(Y$r(e)){if(i=e,t>2)throw new Error("invalid invocation. Too many arguments.")}else for(i=[],s=1;s<t;s++)i.push(arguments[s]);for(s=0;s<i.length;s++)if(rWr(i[s]))throw new TypeError(Ns("invalid argument. Each index argument must be either an integer, null, or undefined. Value: `%s`.",String(i[s])));return Q$r(r,i,o.strict,!1)}fJ.exports=eWr});var dJ=c((Fme,cJ)=>{"use strict";var aWr=lJ();cJ.exports=aWr});var mJ=c((Rme,yJ)=>{"use strict";var pJ=fe().isPrimitive,tWr=ke(),iWr=Zf(),pc=pr();function oWr(r,e){var a;if(typeof r!="object"||r===null||!tWr(r.shape))throw new TypeError(pc("invalid argument. First argument must be an ndarray. Value: `%s`.",r));if(!pJ(e))throw new TypeError(pc("invalid argument. Second argument must be an integer. Value: `%s`.",e));if(a=iWr(r,e),pJ(a))return a;throw new TypeError(pc("invalid argument. First argument must be an ndarray. Value: `%s`.",r))}yJ.exports=oWr});var gJ=c((zme,hJ)=>{"use strict";var nWr=mJ();hJ.exports=nWr});var bJ=c((Vme,sWr)=>{sWr.exports={mode:["throw"],order:"row-major"}});var wJ=c((Ume,qJ)=>{"use strict";var uWr=ne(),xJ=Xr(),vWr=wa(),fWr=Ta(),lWr=pi(),Ds=pr();function cWr(r,e){var a;if(!uWr(e))return new TypeError(Ds("invalid argument. Options argument must be an object. Value: `%s`.",e));if(xJ(e,"mode")){if(r.mode=e.mode,!vWr(r.mode))r.mode=[r.mode];else if(r.mode.length===0)return new TypeError(Ds("invalid option. `%s` option cannot be an empty array.","mode"));for(a=0;a<r.mode.length;a++)if(!lWr(r.mode[a]))return new TypeError(Ds("invalid option. `%s` option must be a supported/recognized mode. Option: `%s`.","mode",r.mode[a]))}return xJ(e,"order")&&(r.order=e.order,!fWr(r.order))?new TypeError(Ds("invalid option. `%s` option must be a supported/recognized order. Option: `%s`.","order",r.order)):null}qJ.exports=cWr});var AJ=c((Cme,EJ)=>{"use strict";var dWr=Jt().primitives,pWr=fe().isPrimitive,yWr=ze(),mWr=Qf(),yc=pr(),SJ=bJ(),hWr=wJ();function gWr(){var r,e,a,t,o,i,n,s,u;if(e=arguments[0],!dWr(e))throw new TypeError(yc("invalid argument. First argument must be an array-like object containing nonnegative integers. Value: `%s`.",e));if(n=arguments.length,a=e.length,o={},o.mode=SJ.mode.slice(),o.order=SJ.order,n>a+1){if(u=n-1,r=arguments[u],i=hWr(o,r),i)throw i}else u=n;if(s=1,u-s!==a)throw new RangeError(yc("invalid argument. Number of provided subscripts must match the number of dimensions. ndims: `%u`. Number of subscripts: `%u`.",a,u-s));for(t=new Array(a+4),t[0]=e,t[1]=yWr(e,o.order),t[2]=0;s<u;s++){if(!pWr(arguments[s]))throw new TypeError(yc("invalid argument. Subscripts must be integer valued. Argument: `%u`. Value: `%s`.",s,arguments[s]));t[s+2]=arguments[s]}return t[s+2]=o.mode,mWr.apply(null,t)}EJ.exports=gWr});var TJ=c((Pme,_J)=>{"use strict";var bWr=AJ();_J.exports=bWr});var DJ=c((Lme,NJ)=>{"use strict";var xWr=ne(),Lo=Xr(),qWr=nn(),wWr=ze(),SWr=Ye(),EWr=Fa(),AWr=Jr(),_Wr=ma(),OJ=ka(),ks=pr(),jJ=OJ.get("dtypes.default"),IJ=OJ.get("order");function TWr(r){var e,a,t,o,i,n,s,u,v;if(i={},arguments.length>1){if(e=arguments[1],!xWr(e))throw new TypeError(ks("invalid argument. Options argument must be an object. Value: `%s`.",e));Lo(e,"dtype")?a=e.dtype:a=jJ,Lo(e,"order")?t=e.order:t=IJ,Lo(e,"mode")&&(i.mode=e.mode),Lo(e,"submode")&&(i.submode=e.submode),Lo(e,"readonly")&&(i.readonly=e.readonly)}else a=jJ,t=IJ;if(typeof r=="number")v=[r];else if(qWr(r))v=r;else throw new TypeError(ks("invalid argument. First argument must be either a nonnegative integer or an array of nonnegative integers. Value: `%s`.",r));if(o=v.length,o>0){if(s=AWr(v),s!==s||s<0)throw new TypeError(ks("invalid argument. First argument must be either a nonnegative integer or an array of nonnegative integers. Value: `%s`.",r));u=wWr(v,t)}else s=1,u=[0];if(n=EWr(a,s),n===null)throw new TypeError(ks("invalid option. `%s` option must be a recognized data type. Option: `%s`.","dtype",a));return new _Wr(a,n,v,u,SWr(v,u),t,i)}NJ.exports=TWr});var BJ=c((Mme,kJ)=>{"use strict";var jWr=DJ();kJ.exports=jWr});var UJ=c((Gme,VJ)=>{"use strict";var IWr=se(),OWr=ne(),NWr=Jt().primitives,Fi=Xr(),DWr=ze(),kWr=Ye(),BWr=Fa(),FWr=Jr(),FJ=Ra(),RJ=oe(),zJ=Ka(),RWr=ma(),Bs=pr();function zWr(r){var e,a,t,o,i,n,s,u,v;if(!IWr(r))throw new TypeError(Bs("invalid argument. First argument must be an ndarray-like object. Value: `%s`.",r));if(i={},arguments.length>1){if(e=arguments[1],!OWr(e))throw new TypeError(Bs("invalid argument. Options argument must be an object. Value: `%s`.",e));if(Fi(e,"dtype")?a=e.dtype:a=FJ(r),Fi(e,"shape")){if(v=e.shape,typeof v=="number"&&(v=[v]),!NWr(v))throw new TypeError(Bs("invalid option. `%s` option must be a nonnegative integer or an array of nonnegative integers. Option: `%s`.","shape",v))}else v=RJ(r);Fi(e,"order")?t=e.order:t=zJ(r),Fi(e,"mode")&&(i.mode=e.mode),Fi(e,"submode")&&(i.submode=e.submode),Fi(e,"readonly")&&(i.readonly=e.readonly)}else a=FJ(r),v=RJ(r),t=zJ(r);if(o=v.length,o>0?(s=FWr(v),u=DWr(v,t)):(s=1,u=[0]),n=BWr(a,s),n===null)throw new TypeError(Bs("invalid argument. First argument must have a recognized data type. Value: `%s`.",a));return new RWr(a,n,v,u,kWr(v,u),t,i)}VJ.exports=zWr});var PJ=c((Yme,CJ)=>{"use strict";var VWr=UJ();CJ.exports=VWr});var mc=c(($me,LJ)=>{"use strict";var Lr=zt(),Ur={};Lr(Ur,"array",IA());Lr(Ur,"at",BA());Lr(Ur,"base",NC());Lr(Ur,"broadcastArray",is());Lr(Ur,"broadcastArrays",el());Lr(Ur,"castingModes",Dv());Lr(Ur,"ndarray",ma());Lr(Ur,"dataBuffer",ut());Lr(Ur,"defaults",ka());Lr(Ur,"dispatch",eP());Lr(Ur,"dtype",Ra());Lr(Ur,"dtypes",Be());Lr(Ur,"empty",uP());Lr(Ur,"emptyLike",yP());Lr(Ur,"FancyArray",P9());Lr(Ur,"flag",mG());Lr(Ur,"flags",xG());Lr(Ur,"scalar2ndarray",Al());Lr(Ur,"ind2sub",DG());Lr(Ur,"indexModes",Wt());Lr(Ur,"iter",vW());Lr(Ur,"maybeBroadcastArray",Ml());Lr(Ur,"maybeBroadcastArrays",Gl());Lr(Ur,"minDataType",xl());Lr(Ur,"mostlySafeCasts",Rv());Lr(Ur,"ndarraylike2ndarray",dW());Lr(Ur,"ndims",Rn());Lr(Ur,"nextDataType",gW());Lr(Ur,"numel",fc());Lr(Ur,"numelDimension",_W());Lr(Ur,"offset",Tt());Lr(Ur,"order",Ka());Lr(Ur,"orders",$t());Lr(Ur,"outputDataTypePolicies",rs());Lr(Ur,"promotionRules",kW());Lr(Ur,"safeCasts",Fv());Lr(Ur,"sameKindCasts",zv());Lr(Ur,"shape",oe());Lr(Ur,"slice",dc());Lr(Ur,"ndsliceAssign",GW());Lr(Ur,"sliceDimension",XW());Lr(Ur,"sliceDimensionFrom",rJ());Lr(Ur,"sliceDimensionTo",oJ());Lr(Ur,"sliceFrom",vJ());Lr(Ur,"sliceTo",dJ());Lr(Ur,"stride",gJ());Lr(Ur,"strides",Xa());Lr(Ur,"sub2ind",TJ());Lr(Ur,"ndarray2array",oc());Lr(Ur,"zeros",BJ());Lr(Ur,"zerosLike",PJ());LJ.exports=Ur});var EX=c((dhe,SX)=>{"use strict";function aJr(r,e){return r>e?r:e}SX.exports=aJr});var _X=c((phe,AX)=>{"use strict";var tJr=EX();AX.exports=tJr});var jX=c((yhe,TX)=>{"use strict";var iJr=Ue().factory,oJr=Mu(),nJr=iJr(oJr());TX.exports=nJr});var OX=c((mhe,IX)=>{"use strict";var sJr=jX();IX.exports=sJr});var NX=c((hhe,uJr)=>{uJr.exports=["no-transpose","transpose","conjugate-transpose"]});var kX=c((ghe,DX)=>{"use strict";var vJr=NX();function fJr(){return vJr.slice()}DX.exports=fJr});var FX=c((bhe,BX)=>{"use strict";function lJr(){return{"no-transpose":111,transpose:112,"conjugate-transpose":113}}BX.exports=lJr});var VX=c((xhe,zX)=>{"use strict";var cJr=Ir(),RX=kX(),dJr=FX();cJr(RX,"enum",dJr);zX.exports=RX});var CX=c((qhe,UX)=>{"use strict";var pJr=Ue().factory,yJr=VX(),mJr=pJr(yJr());UX.exports=mJr});var Ic=c((whe,PX)=>{"use strict";var hJr=CX();PX.exports=hJr});var MX=c((She,LX)=>{"use strict";function gJr(r,e){return e>0?0:(1-r)*e}LX.exports=gJr});var YX=c((Ehe,GX)=>{"use strict";var bJr=MX();GX.exports=bJr});var Oc=c((Ahe,$X)=>{"use strict";var Yo=5;function xJr(r,e,a,t,o,i,n){var s,u,v,f,l;if(s=0,r<=0)return s;if(u=t,v=n,a===1&&i===1){if(f=r%Yo,f>0)for(l=0;l<f;l++)s+=e[u]*o[v],u+=1,v+=1;if(r<Yo)return s;for(l=f;l<r;l+=Yo)s+=e[u]*o[v]+e[u+1]*o[v+1]+e[u+2]*o[v+2]+e[u+3]*o[v+3]+e[u+4]*o[v+4],u+=Yo,v+=Yo;return s}for(l=0;l<r;l++)s+=e[u]*o[v],u+=a,v+=i;return s}$X.exports=xJr});var XX=c((_he,JX)=>{"use strict";var WX=YX(),qJr=Oc();function wJr(r,e,a,t,o){var i,n;return r<=0?0:(i=WX(r,a),n=WX(r,o),qJr(r,e,a,i,t,o,n))}JX.exports=wJr});var ZX=c((The,HX)=>{"use strict";var SJr=Ir(),KX=XX(),EJr=Oc();SJr(KX,"ndarray",EJr);HX.exports=KX});var Nc=c((jhe,rK)=>{"use strict";var zs=Gn(),QX=ZX().ndarray,AJr=Rr(),pt=AJr("float64");function Bt(r){return r!=="no-transpose"}function _Jr(r,e,a,t,o,i){var n,s,u,v,f,l,d;for(zs([t,o])?(u=e,v=r,n=o,s=t-u*o):(u=r,v=e,n=t,s=o-u*t),d=i,l=0;l<v;l++){for(f=0;f<u;f++)a[d]=0,d+=n;d+=s}return a}function TJr(r,e,a,t,o,i,n){var s,u,v,f,l,d,y;for(zs([o,i])?(v=e,f=r,s=i,u=o-v*i):(v=r,f=e,s=o,u=i-v*o),y=n,d=0;d<f;d++){for(l=0;l<v;l++)t[y]*=a,y+=s;y+=u}return t}function Rs(r,e,a,t,o,i,n,s,u,v,f,l,d,y,p,m){var h,g,b,S,w,A,_,x,E,q,T;for(w=e,A=r,h=n,g=v,b=p,S=y-w*p,T=m,x=0;x<A;x++){for(E=s+x*i,_=0;_<w;_++)q=l+_*f,d[T]+=t*QX(a,o,h,E,u,g,q),T+=b;T+=S}return d}function jJr(r,e,a,t,o,i,n,s,u,v,f,l,d,y,p,m){var h,g,b,S,w,A,_,x,E,q,T,j,O,I,D,k,N,F,R,B,z,V,U;for(E=e,q=r,h=n,g=v,b=p,N=q;N>0;)for(N<pt?(j=N,N=0):(j=pt,N-=pt),w=s+N*i,x=m+N*y,k=E;k>0;)for(k<pt?(T=k,k=0):(T=pt,k-=pt),A=l+k*f,_=x+k*p,S=y-T*p,U=a;U>0;)for(U<pt?(O=U,U=0):(O=pt,U-=pt),z=w+U*n,V=A+U*v,B=_,D=0;D<j;D++){for(F=z+D*i,I=0;I<T;I++)R=V+I*f,d[B]+=t*QX(O,o,h,F,u,g,R),B+=b;B+=S}return d}function IJr(r,e,a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b){var S,w,A,_,x,E;if(a===0||t===0||p===1&&(i===0||o===0)||(p===0?m=_Jr(a,t,m,h,g,b):p!==1&&(m=TJr(a,t,p,m,h,g,b)),i===0))return m;if(S=zs([s,u]),w=zs([l,d]),S){if(!Bt(r)){if(!w&&!Bt(e))return Rs(a,t,o,i,n,s,u,v,f,l,d,y,m,h,g,b);if(w&&Bt(e))return Rs(a,t,o,i,n,s,u,v,f,d,l,y,m,h,g,b)}}else if(Bt(r)){if(w&&Bt(e))return Rs(a,t,o,i,n,u,s,v,f,d,l,y,m,h,g,b);if(!w&&!Bt(e))return Rs(a,t,o,i,n,u,s,v,f,l,d,y,m,h,g,b)}return Bt(r)?(A=u,_=s):(A=s,_=u),Bt(e)?(x=d,E=l):(x=l,E=d),jJr(a,t,o,i,n,A,_,v,f,x,E,y,m,h,g,b)}rK.exports=IJr});var tK=c((Ihe,aK)=>{"use strict";var Dc=_X(),OJr=OX(),eK=Ic(),yt=pr(),NJr=Nc();function DJr(r,e,a,t,o,i,n,s,u,v,f,l,d,y){var p,m,h,g,b,S,w,A,_;if(!OJr(r))throw new TypeError(yt("invalid argument. First argument must be a valid order. Value: `%s`.",r));if(!eK(e))throw new TypeError(yt("invalid argument. Second argument must be a valid transpose operation. Value: `%s`.",e));if(!eK(a))throw new TypeError(yt("invalid argument. Third argument must be a valid transpose operation. Value: `%s`.",a));if(t<0)throw new RangeError(yt("invalid argument. Fourth argument must be a nonnegative integer. Value: `%d`.",t));if(o<0)throw new RangeError(yt("invalid argument. Fifth argument must be a nonnegative integer. Value: `%d`.",t));if(i<0)throw new RangeError(yt("invalid argument. Sixth argument must be a nonnegative integer. Value: `%d`.",i));if(r==="row-major"&&e==="no-transpose"||r==="column-major"&&e==="transpose"?p=i:p=t,r==="row-major"&&a==="no-transpose"||r==="column-major"&&a==="transpose"?m=o:m=i,u<Dc(1,p))throw new RangeError(yt("invalid argument. Ninth argument must be greater than or equal to max(1,%d). Value: `%d`.",p,u));if(f<Dc(1,m))throw new RangeError(yt("invalid argument. Eleventh argument must be greater than or equal to max(1,%d). Value: `%d`.",m,f));if(r==="row-major"?h=o:h=t,y<Dc(1,h))throw new RangeError(yt("invalid argument. Fourteenth argument must be greater than or equal to max(1,%d). Value: `%d`.",h,y));return r==="column-major"?(g=1,b=u,S=1,w=f,A=1,_=y):(g=u,b=1,S=f,w=1,A=y,_=1),NJr(e,a,t,o,i,n,s,g,b,0,v,S,w,0,l,d,A,_,0)}aK.exports=DJr});var nK=c((Ohe,oK)=>{"use strict";var iK=Ic(),$o=pr(),kJr=Nc();function BJr(r,e,a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b){if(!iK(r))throw new TypeError($o("invalid argument. First argument must be a valid transpose operation. Value: `%s`.",r));if(!iK(e))throw new TypeError($o("invalid argument. Second argument must be a valid transpose operation. Value: `%s`.",e));if(a<0)throw new RangeError($o("invalid argument. Third argument must be a nonnegative integer. Value: `%d`.",a));if(t<0)throw new RangeError($o("invalid argument. Fourth argument must be a nonnegative integer. Value: `%d`.",a));if(o<0)throw new RangeError($o("invalid argument. Fifth argument must be a nonnegative integer. Value: `%d`.",o));return kJr(r,e,a,t,o,i,n,s,u,v,f,l,d,y,p,m,h,g,b)}oK.exports=BJr});var vK=c((Nhe,uK)=>{"use strict";var FJr=Ir(),sK=tK(),RJr=nK();FJr(sK,"ndarray",RJr);uK.exports=sK});var ve=ra(mc(),1),pK=ra(dc(),1),yK=ra(Ce(),1);function MJ(r){if(!r.includes(":")){if(r.includes("."))throw new Error(`Invalid slice index: "${r}" (must be integer)`);let i=parseInt(r,10);if(isNaN(i))throw new Error(`Invalid slice index: "${r}"`);return{start:i,stop:null,step:1,isIndex:!0}}let e=r.split(":");if(e.length>3)throw new Error(`Invalid slice notation: "${r}" (too many colons)`);let a=e[0]===""?null:parseInt(e[0],10),t=e[1]===""||e[1]===void 0?null:parseInt(e[1],10),o=e[2]===""||e[2]===void 0?1:parseInt(e[2],10);if(a!==null&&isNaN(a))throw new Error(`Invalid start index in slice: "${r}"`);if(t!==null&&isNaN(t))throw new Error(`Invalid stop index in slice: "${r}"`);if(isNaN(o))throw new Error(`Invalid step in slice: "${r}"`);if(o===0)throw new Error("Slice step cannot be zero");return{start:a,stop:t,step:o,isIndex:!1}}function GJ(r,e){let{start:a,stop:t}=r,{step:o,isIndex:i}=r;if(i){if(a===null)throw new Error("Index cannot be null");let n=a<0?e+a:a;if(n<0||n>=e)throw new Error(`Index ${a} is out of bounds for size ${e}`);return{start:n,stop:n+1,step:1,isIndex:!0}}return o>0?(a===null&&(a=0),t===null&&(t=e)):(a===null&&(a=e-1),t===null&&(t=-e-1)),a<0&&(a=e+a),t<0&&(t=e+t),a=Math.max(0,Math.min(a,e)),t=Math.max(-1,Math.min(t,e)),{start:a,stop:t,step:o,isIndex:!1}}var Qe="float64";function je(r){switch(r){case"float64":return Float64Array;case"float32":return Float32Array;case"int64":return BigInt64Array;case"int32":return Int32Array;case"int16":return Int16Array;case"int8":return Int8Array;case"uint64":return BigUint64Array;case"uint32":return Uint32Array;case"uint16":return Uint16Array;case"uint8":return Uint8Array;case"bool":return Uint8Array;default:throw new Error(`Unknown dtype: ${r}`)}}function YJ(r){return r==="float64"||r==="float32"}function Nr(r){return r==="int64"||r==="uint64"}function Fs(r,e){if(r===e)return r;if(r==="bool")return e;if(e==="bool")return r;if(YJ(r)||YJ(e)){if(r==="float64"||e==="float64")return"float64";if(r==="float32"){let v=e;return v==="int32"||v==="int64"||v==="uint32"||v==="uint64"?"float64":"float32"}if(e==="float32"){let v=r;return v==="int32"||v==="int64"||v==="uint32"||v==="uint64"?"float64":"float32"}return"float32"}let a=r.startsWith("int"),t=e.startsWith("int"),o=r.startsWith("uint"),i=e.startsWith("uint"),n=v=>v.includes("64")?64:v.includes("32")?32:v.includes("16")?16:v.includes("8")?8:0,s=n(r),u=n(e);if(r==="int64"&&e==="uint64"||r==="uint64"&&e==="int64")return"float64";if(a&&i&&s===u){if(s===8)return"int16";if(s===16)return"int32";if(s===32)return"int64"}if(o&&t&&s===u){if(u===8)return"int16";if(u===16)return"int32";if(u===32)return"int64"}if(a&&t||o&&i){let v=Math.max(s,u);return a?v===64?"int64":v===32?"int32":v===16?"int16":"int8":v===64?"uint64":v===32?"uint32":v===16?"uint16":"uint8"}return a&&i?s>u?r:u===8?"int16":u===16?"int32":u===32?"int64":"float64":o&&t?u>s?e:s===8?"int16":s===16?"int32":s===32?"int64":"float64":"float64"}function ue(r){return r==="int64"||r==="uint64"?"generic":r}var Mo=ra(ma(),1),$J=ra(Ra(),1),WJ=ra(oe(),1),JJ=ra(Xa(),1),XJ=ra(Rn(),1),KJ=ra(fc(),1),HJ=ra(ut(),1);var Dr=class r{constructor(e,a){this._stdlib=e,this._dtype=a||(0,$J.default)(e)}get shape(){return Array.from((0,WJ.default)(this._stdlib))}get ndim(){return(0,XJ.default)(this._stdlib)}get size(){return(0,KJ.default)(this._stdlib)}get dtype(){return this._dtype}get data(){return(0,HJ.default)(this._stdlib)}get strides(){return Array.from((0,JJ.default)(this._stdlib))}get stdlib(){return this._stdlib}get isCContiguous(){let e=this.shape,a=this.strides,t=e.length;if(t===0)return!0;if(t===1)return a[0]===1;let o=1;for(let i=t-1;i>=0;i--){if(a[i]!==o)return!1;o*=e[i]}return!0}get isFContiguous(){let e=this.shape,a=this.strides,t=e.length;if(t===0)return!0;if(t===1)return a[0]===1;let o=1;for(let i=0;i<t;i++){if(a[i]!==o)return!1;o*=e[i]}return!0}copy(){let e=Array.from(this.shape),a=this.data,t=this._dtype,o=je(t);if(!o)throw new Error(`Cannot copy array with dtype ${t}`);if(Nr(t)){let i=new o(this.size),n=a;for(let u=0;u<this.size;u++)i[u]=n[u];let s=(0,Mo.default)(ue(t),i,e,this._computeStrides(e),0,"row-major");return new r(s,t)}else{let i=new o(this.size),n=a;i.set(n);let s=(0,Mo.default)(ue(t),i,e,this._computeStrides(e),0,"row-major");return new r(s,t)}}static fromStdlib(e,a){return new r(e,a)}static fromData(e,a,t){let o=r._computeStrides(a),i=(0,Mo.default)(ue(t),e,a,o,0,"row-major");return new r(i,t)}static zeros(e,a=Qe){let t=e.reduce((s,u)=>s*u,1),o=je(a);if(!o)throw new Error(`Cannot create array with dtype ${a}`);let i=new o(t),n=(0,Mo.default)(ue(a),i,e,r._computeStrides(e),0,"row-major");return new r(n,a)}static ones(e,a=Qe){let t=r.zeros(e,a),o=t.data;if(Nr(a)){let i=o;for(let n=0;n<t.size;n++)i[n]=BigInt(1)}else{let i=o;for(let n=0;n<t.size;n++)i[n]=1}return t}_computeStrides(e){return r._computeStrides(e)}static _computeStrides(e){let a=new Array(e.length),t=1;for(let o=e.length-1;o>=0;o--)a[o]=t,t*=e[o];return a}};var hc=ra(el(),1);function Ca(r,e,a,t){let o,i;try{[o,i]=(0,hc.default)([r.stdlib,e.stdlib])}catch{throw new Error(`operands could not be broadcast together with shapes ${JSON.stringify(r.shape)} ${JSON.stringify(e.shape)}`)}let n=Fs(r.dtype,e.dtype),s=Array.from(o.shape),u=Dr.zeros(s,n),v=u.data,f=u.size;if(Nr(n)){let l=v;for(let d=0;d<f;d++){let y=o.iget(d),p=i.iget(d),m=typeof y=="bigint"?y:BigInt(Math.round(y)),h=typeof p=="bigint"?p:BigInt(Math.round(p));t==="add"?l[d]=m+h:t==="subtract"?l[d]=m-h:t==="multiply"?l[d]=m*h:t==="divide"?l[d]=m/h:l[d]=BigInt(Math.round(a(Number(m),Number(h))))}}else{let l=Nr(r.dtype)||Nr(e.dtype);for(let d=0;d<f;d++){let y=o.iget(d),p=i.iget(d),m=Number(y),h=Number(p);v[d]=a(m,h)}}return u}function kt(r,e,a){let t,o;try{[t,o]=(0,hc.default)([r.stdlib,e.stdlib])}catch{throw new Error(`operands could not be broadcast together with shapes ${JSON.stringify(r.shape)} ${JSON.stringify(e.shape)}`)}let i=Array.from(t.shape),n=i.reduce((v,f)=>v*f,1),s=new Uint8Array(n),u=Nr(r.dtype)||Nr(e.dtype);for(let v=0;v<n;v++){let f=t.iget(v),l=o.iget(v),d=Number(f),y=Number(l);s[v]=a(d,y)?1:0}return Dr.fromData(s,i,"bool")}function ZJ(r,e,a=!0){let t=r.dtype,o=Array.from(r.shape),i=r.size,s=a?t:t!=="float32"&&t!=="float64"?"float64":t,u=Dr.zeros(o,s),v=u.data,f=r.data;if(Nr(t))if(Nr(s)){let l=v;for(let d=0;d<i;d++){let y=Number(f[d]);l[d]=BigInt(Math.round(e(y)))}}else for(let l=0;l<i;l++)v[l]=e(Number(f[l]));else for(let l=0;l<i;l++)v[l]=e(Number(f[l]));return u}function QJ(r,e){return typeof e=="number"?UWr(r,e):Ca(r,e,(a,t)=>a+t,"add")}function rX(r,e){return typeof e=="number"?CWr(r,e):Ca(r,e,(a,t)=>a-t,"subtract")}function eX(r,e){return typeof e=="number"?PWr(r,e):Ca(r,e,(a,t)=>a*t,"multiply")}function aX(r,e){if(typeof e=="number")return LWr(r,e);let a=r.dtype==="float64",t=e.dtype==="float64",o=r.dtype==="float32",i=e.dtype==="float32";if(a||t){let u=a?r:Ri(r,"float64"),v=t?e:Ri(e,"float64");return Ca(u,v,(f,l)=>f/l,"divide")}if(o||i){let u=o?r:Ri(r,"float32"),v=i?e:Ri(e,"float32");return Ca(u,v,(f,l)=>f/l,"divide")}let n=Ri(r,"float64"),s=Ri(e,"float64");return Ca(n,s,(u,v)=>u/v,"divide")}function Ri(r,e){let a=Dr.zeros(Array.from(r.shape),e),t=r.size,o=r.data,i=a.data;for(let n=0;n<t;n++)i[n]=Number(o[n]);return a}function UWr(r,e){let a=r.dtype,t=Array.from(r.shape),o=r.data,i=r.size,n=Dr.zeros(t,a),s=n.data;if(Nr(a)){let u=o,v=s,f=BigInt(Math.round(e));for(let l=0;l<i;l++)v[l]=u[l]+f}else for(let u=0;u<i;u++)s[u]=Number(o[u])+e;return n}function CWr(r,e){let a=r.dtype,t=Array.from(r.shape),o=r.data,i=r.size,n=Dr.zeros(t,a),s=n.data;if(Nr(a)){let u=o,v=s,f=BigInt(Math.round(e));for(let l=0;l<i;l++)v[l]=u[l]-f}else for(let u=0;u<i;u++)s[u]=Number(o[u])-e;return n}function PWr(r,e){let a=r.dtype,t=Array.from(r.shape),o=r.data,i=r.size,n=Dr.zeros(t,a),s=n.data;if(Nr(a)){let u=o,v=s,f=BigInt(Math.round(e));for(let l=0;l<i;l++)v[l]=u[l]*f}else for(let u=0;u<i;u++)s[u]=Number(o[u])*e;return n}function LWr(r,e){let a=r.dtype,t=Array.from(r.shape),o=r.data,i=r.size,s=a!=="float32"&&a!=="float64"?"float64":a,u=Dr.zeros(t,s),v=u.data;if(Nr(a))for(let f=0;f<i;f++)v[f]=Number(o[f])/e;else for(let f=0;f<i;f++)v[f]=Number(o[f])/e;return u}function tX(r){let e=r.dtype,a=Array.from(r.shape),t=r.data,o=r.size,i=Dr.zeros(a,e),n=i.data;if(Nr(e)){let s=t,u=n;for(let v=0;v<o;v++){let f=s[v];u[v]=f<0n?-f:f}}else for(let s=0;s<o;s++)n[s]=Math.abs(Number(t[s]));return i}function iX(r){let e=r.dtype,a=Array.from(r.shape),t=r.data,o=r.size,i=Dr.zeros(a,e),n=i.data;if(Nr(e)){let s=t,u=n;for(let v=0;v<o;v++)u[v]=-s[v]}else for(let s=0;s<o;s++)n[s]=-Number(t[s]);return i}function oX(r){let e=r.dtype,a=Array.from(r.shape),t=r.data,o=r.size,i=Dr.zeros(a,e),n=i.data;if(Nr(e)){let s=t,u=n;for(let v=0;v<o;v++){let f=s[v];u[v]=f>0n?1n:f<0n?-1n:0n}}else for(let s=0;s<o;s++){let u=Number(t[s]);n[s]=u>0?1:u<0?-1:0}return i}function nX(r,e){return typeof e=="number"?MWr(r,e):Ca(r,e,(a,t)=>(a%t+t)%t,"mod")}function MWr(r,e){let a=r.dtype,t=Array.from(r.shape),o=r.data,i=r.size,n=Dr.zeros(t,a),s=n.data;if(Nr(a)){let u=o,v=s,f=BigInt(Math.round(e));for(let l=0;l<i;l++){let d=u[l];v[l]=(d%f+f)%f}}else for(let u=0;u<i;u++){let v=Number(o[u]);s[u]=(v%e+e)%e}return n}function sX(r,e){return typeof e=="number"?GWr(r,e):Ca(r,e,(a,t)=>Math.floor(a/t),"floor_divide")}function GWr(r,e){let a=r.dtype,t=Array.from(r.shape),o=r.data,i=r.size,n=Dr.zeros(t,a),s=n.data;if(Nr(a)){let u=o,v=s,f=BigInt(Math.round(e));for(let l=0;l<i;l++)v[l]=u[l]/f}else for(let u=0;u<i;u++)s[u]=Math.floor(Number(o[u])/e);return n}function uX(r){let e=r.dtype,a=Array.from(r.shape),t=r.data,o=r.size,i=Dr.zeros(a,e),n=i.data;for(let s=0;s<o;s++)n[s]=t[s];return i}function vX(r){let e=r.dtype,a=Array.from(r.shape),t=r.data,o=r.size,n=e!=="float32"&&e!=="float64"?"float64":e,s=Dr.zeros(a,n),u=s.data;if(Nr(e))for(let v=0;v<o;v++)u[v]=1/Number(t[v]);else for(let v=0;v<o;v++)u[v]=1/Number(t[v]);return s}function fX(r,e){return typeof e=="number"?$Wr(r,e):kt(r,e,(a,t)=>a>t)}function lX(r,e){return typeof e=="number"?WWr(r,e):kt(r,e,(a,t)=>a>=t)}function cX(r,e){return typeof e=="number"?JWr(r,e):kt(r,e,(a,t)=>a<t)}function dX(r,e){return typeof e=="number"?XWr(r,e):kt(r,e,(a,t)=>a<=t)}function pX(r,e){return typeof e=="number"?KWr(r,e):kt(r,e,(a,t)=>a===t)}function yX(r,e){return typeof e=="number"?HWr(r,e):kt(r,e,(a,t)=>a!==t)}function gc(r,e,a=1e-5,t=1e-8){return typeof e=="number"?ZWr(r,e,a,t):kt(r,e,(o,i)=>{let n=Math.abs(o-i),s=t+a*Math.abs(i);return n<=s})}function mX(r,e,a=1e-5,t=1e-8){let o=gc(r,e,a,t),i=o.data;for(let n=0;n<o.size;n++)if(i[n]===0)return!1;return!0}function $Wr(r,e){let a=new Uint8Array(r.size),t=r.data;for(let o=0;o<r.size;o++)a[o]=t[o]>e?1:0;return Dr.fromData(a,Array.from(r.shape),"bool")}function WWr(r,e){let a=new Uint8Array(r.size),t=r.data;for(let o=0;o<r.size;o++)a[o]=t[o]>=e?1:0;return Dr.fromData(a,Array.from(r.shape),"bool")}function JWr(r,e){let a=new Uint8Array(r.size),t=r.data;for(let o=0;o<r.size;o++)a[o]=t[o]<e?1:0;return Dr.fromData(a,Array.from(r.shape),"bool")}function XWr(r,e){let a=new Uint8Array(r.size),t=r.data;for(let o=0;o<r.size;o++)a[o]=t[o]<=e?1:0;return Dr.fromData(a,Array.from(r.shape),"bool")}function KWr(r,e){let a=new Uint8Array(r.size),t=r.data,o=r.dtype;if(Nr(o)){let i=BigInt(Math.round(e)),n=t;for(let s=0;s<r.size;s++)a[s]=n[s]===i?1:0}else for(let i=0;i<r.size;i++)a[i]=t[i]===e?1:0;return Dr.fromData(a,Array.from(r.shape),"bool")}function HWr(r,e){let a=new Uint8Array(r.size),t=r.data;for(let o=0;o<r.size;o++)a[o]=t[o]!==e?1:0;return Dr.fromData(a,Array.from(r.shape),"bool")}function ZWr(r,e,a,t){let o=new Uint8Array(r.size),i=r.data,n=r.dtype;if(Nr(n)){let s=i;for(let u=0;u<r.size;u++){let v=Number(s[u]),f=Math.abs(v-e),l=t+a*Math.abs(e);o[u]=f<=l?1:0}}else for(let s=0;s<r.size;s++){let u=Number(i[s]),v=Math.abs(u-e),f=t+a*Math.abs(e);o[s]=v<=f?1:0}return Dr.fromData(o,Array.from(r.shape),"bool")}function zi(r){let e=new Array(r.length),a=1;for(let t=r.length-1;t>=0;t--)e[t]=a,a*=r[t];return e}function Ie(r,e){let a=0,t=1;for(let o=r.length-1;o>=0;o--)a+=r[o]*t,t*=e[o];return a}function Oe(r,e,a,t){let o=t.length,i=new Array(o),n=Array.from(t).filter((u,v)=>v!==e),s=r;for(let u=n.length-1;u>=0;u--)i[u>=e?u+1:u]=s%n[u],s=Math.floor(s/n[u]);return i[e]=a,i}function Go(r,e,a=!1){let t=r.dtype,o=r.shape,i=o.length,n=r.size,s=r.data;if(e===void 0)if(Nr(t)){let p=s,m=BigInt(0);for(let h=0;h<n;h++)m+=p[h];return Number(m)}else{let p=0;for(let m=0;m<n;m++)p+=Number(s[m]);return p}let u=e;if(u<0&&(u=i+u),u<0||u>=i)throw new Error(`axis ${e} is out of bounds for array of dimension ${i}`);let v=Array.from(o).filter((p,m)=>m!==u);if(v.length===0)return Go(r);let f=Dr.zeros(v,t),l=f.data,d=o[u],y=v.reduce((p,m)=>p*m,1);if(Nr(t)){let p=s,m=l;for(let h=0;h<y;h++){let g=BigInt(0);for(let b=0;b<d;b++){let S=Oe(h,u,b,o),w=Ie(S,o);g+=p[w]}m[h]=g}}else for(let p=0;p<y;p++){let m=0;for(let h=0;h<d;h++){let g=Oe(p,u,h,o),b=Ie(g,o);m+=Number(s[b])}l[p]=m}if(a){let p=[...o];return p[u]=1,Dr.fromData(l,p,t)}return f}function bc(r,e,a=!1){let t=r.dtype,o=r.shape;if(e===void 0)return Go(r)/r.size;let i=e;if(i<0&&(i=o.length+i),i<0||i>=o.length)throw new Error(`axis ${e} is out of bounds for array of dimension ${o.length}`);let n=Go(r,e,a);if(typeof n=="number")return n/o[i];let s=o[i],u=t;(Nr(t)||t.startsWith("int")||t.startsWith("uint"))&&(u="float64");let v=Dr.zeros(Array.from(n.shape),u),f=v.data,l=n.data;if(Nr(t)){let d=l;for(let y=0;y<f.length;y++)f[y]=Number(d[y])/s}else for(let d=0;d<f.length;d++)f[d]=Number(l[d])/s;return v}function xc(r,e,a=!1){let t=r.dtype,o=r.shape,i=o.length,n=r.size,s=r.data;if(e===void 0){if(n===0)throw new Error("max of empty array");let p=s[0];for(let m=1;m<n;m++)s[m]>p&&(p=s[m]);return Number(p)}let u=e;if(u<0&&(u=i+u),u<0||u>=i)throw new Error(`axis ${e} is out of bounds for array of dimension ${i}`);let v=Array.from(o).filter((p,m)=>m!==u);if(v.length===0)return xc(r);let f=Dr.zeros(v,t),l=f.data,d=o[u],y=v.reduce((p,m)=>p*m,1);if(Nr(t)){let p=s,m=l;for(let h=0;h<y;h++){let g=Oe(h,u,0,o),b=Ie(g,o),S=p[b];for(let w=1;w<d;w++){let A=Oe(h,u,w,o),_=Ie(A,o),x=p[_];x>S&&(S=x)}m[h]=S}}else for(let p=0;p<y;p++){let m=-1/0;for(let h=0;h<d;h++){let g=Oe(p,u,h,o),b=Ie(g,o),S=Number(s[b]);S>m&&(m=S)}l[p]=m}if(a){let p=[...o];return p[u]=1,Dr.fromData(l,p,t)}return f}function qc(r,e,a=!1){let t=r.dtype,o=r.shape,i=o.length,n=r.size,s=r.data;if(e===void 0)if(Nr(t)){let p=s,m=BigInt(1);for(let h=0;h<n;h++)m*=p[h];return Number(m)}else{let p=1;for(let m=0;m<n;m++)p*=Number(s[m]);return p}let u=e;if(u<0&&(u=i+u),u<0||u>=i)throw new Error(`axis ${e} is out of bounds for array of dimension ${i}`);let v=Array.from(o).filter((p,m)=>m!==u);if(v.length===0)return qc(r);let f=Dr.zeros(v,t),l=f.data,d=o[u],y=v.reduce((p,m)=>p*m,1);if(Nr(t)){let p=s,m=l;for(let h=0;h<y;h++){let g=BigInt(1);for(let b=0;b<d;b++){let S=Oe(h,u,b,o),w=Ie(S,o);g*=p[w]}m[h]=g}}else for(let p=0;p<y;p++){let m=1;for(let h=0;h<d;h++){let g=Oe(p,u,h,o),b=Ie(g,o);m*=Number(s[b])}l[p]=m}if(a){let p=[...o];return p[u]=1,Dr.fromData(l,p,t)}return f}function wc(r,e,a=!1){let t=r.dtype,o=r.shape,i=o.length,n=r.size,s=r.data;if(e===void 0){if(n===0)throw new Error("min of empty array");let p=s[0];for(let m=1;m<n;m++)s[m]<p&&(p=s[m]);return Number(p)}let u=e;if(u<0&&(u=i+u),u<0||u>=i)throw new Error(`axis ${e} is out of bounds for array of dimension ${i}`);let v=Array.from(o).filter((p,m)=>m!==u);if(v.length===0)return wc(r);let f=Dr.zeros(v,t),l=f.data,d=o[u],y=v.reduce((p,m)=>p*m,1);if(Nr(t)){let p=s,m=l;for(let h=0;h<y;h++){let g=Oe(h,u,0,o),b=Ie(g,o),S=p[b];for(let w=1;w<d;w++){let A=Oe(h,u,w,o),_=Ie(A,o),x=p[_];x<S&&(S=x)}m[h]=S}}else for(let p=0;p<y;p++){let m=1/0;for(let h=0;h<d;h++){let g=Oe(p,u,h,o),b=Ie(g,o),S=Number(s[b]);S<m&&(m=S)}l[p]=m}if(a){let p=[...o];return p[u]=1,Dr.fromData(l,p,t)}return f}function Sc(r,e){let a=r.dtype,t=r.shape,o=t.length,i=r.size,n=r.data;if(e===void 0){if(i===0)throw new Error("argmin of empty array");let y=n[0],p=0;for(let m=1;m<i;m++)n[m]<y&&(y=n[m],p=m);return p}let s=e;if(s<0&&(s=o+s),s<0||s>=o)throw new Error(`axis ${e} is out of bounds for array of dimension ${o}`);let u=Array.from(t).filter((y,p)=>p!==s);if(u.length===0)return Sc(r);let v=Dr.zeros(u,"int32"),f=v.data,l=t[s],d=u.reduce((y,p)=>y*p,1);if(Nr(a)){let y=n;for(let p=0;p<d;p++){let m=Oe(p,s,0,t),h=Ie(m,t),g=y[h],b=0;for(let S=1;S<l;S++){let w=Oe(p,s,S,t),A=Ie(w,t),_=y[A];_<g&&(g=_,b=S)}f[p]=b}}else for(let y=0;y<d;y++){let p=1/0,m=0;for(let h=0;h<l;h++){let g=Oe(y,s,h,t),b=Ie(g,t),S=Number(n[b]);S<p&&(p=S,m=h)}f[y]=m}return v}function Ec(r,e){let a=r.dtype,t=r.shape,o=t.length,i=r.size,n=r.data;if(e===void 0){if(i===0)throw new Error("argmax of empty array");let y=n[0],p=0;for(let m=1;m<i;m++)n[m]>y&&(y=n[m],p=m);return p}let s=e;if(s<0&&(s=o+s),s<0||s>=o)throw new Error(`axis ${e} is out of bounds for array of dimension ${o}`);let u=Array.from(t).filter((y,p)=>p!==s);if(u.length===0)return Ec(r);let v=Dr.zeros(u,"int32"),f=v.data,l=t[s],d=u.reduce((y,p)=>y*p,1);if(Nr(a)){let y=n;for(let p=0;p<d;p++){let m=Oe(p,s,0,t),h=Ie(m,t),g=y[h],b=0;for(let S=1;S<l;S++){let w=Oe(p,s,S,t),A=Ie(w,t),_=y[A];_>g&&(g=_,b=S)}f[p]=b}}else for(let y=0;y<d;y++){let p=-1/0,m=0;for(let h=0;h<l;h++){let g=Oe(y,s,h,t),b=Ie(g,t),S=Number(n[b]);S>p&&(p=S,m=h)}f[y]=m}return v}function Ac(r,e,a=0,t=!1){let o=r.shape,i=o.length,n=r.size,s=r.data,u=bc(r,e,t);if(e===void 0){let g=u,b=0;for(let S=0;S<n;S++){let w=Number(s[S])-g;b+=w*w}return b/(n-a)}let v=e;if(v<0&&(v=i+v),v<0||v>=i)throw new Error(`axis ${e} is out of bounds for array of dimension ${i}`);let f=o[v],l=u,d=l.data,y=t?l.shape:Array.from(o).filter((g,b)=>b!==v),p=Dr.zeros(Array.from(y),"float64"),m=p.data,h=y.reduce((g,b)=>g*b,1);for(let g=0;g<h;g++){let b=0,S=Number(d[g]);for(let w=0;w<f;w++){let A=Oe(g,v,w,o),_=Ie(A,o),x=Number(s[_])-S;b+=x*x}m[g]=b/(f-a)}return p}function hX(r,e,a=0,t=!1){let o=Ac(r,e,a,t);if(typeof o=="number")return Math.sqrt(o);let i=Dr.zeros(Array.from(o.shape),"float64"),n=o.data,s=i.data;for(let u=0;u<n.length;u++)s[u]=Math.sqrt(Number(n[u]));return i}function _c(r,e,a=!1){let t=r.shape,o=t.length,i=r.size,n=r.data;if(e===void 0){for(let y=0;y<i;y++)if(!n[y])return!1;return!0}let s=e;if(s<0&&(s=o+s),s<0||s>=o)throw new Error(`axis ${e} is out of bounds for array of dimension ${o}`);let u=Array.from(t).filter((y,p)=>p!==s);if(u.length===0)return _c(r);let v=Dr.zeros(u,"bool"),f=v.data,l=t[s],d=u.reduce((y,p)=>y*p,1);for(let y=0;y<d;y++){let p=!0;for(let m=0;m<l;m++){let h=Oe(y,s,m,t),g=Ie(h,t);if(!n[g]){p=!1;break}}f[y]=p?1:0}if(a){let y=[...t];return y[s]=1,Dr.fromData(f,y,"bool")}return v}function Tc(r,e,a=!1){let t=r.shape,o=t.length,i=r.size,n=r.data;if(e===void 0){for(let y=0;y<i;y++)if(n[y])return!0;return!1}let s=e;if(s<0&&(s=o+s),s<0||s>=o)throw new Error(`axis ${e} is out of bounds for array of dimension ${o}`);let u=Array.from(t).filter((y,p)=>p!==s);if(u.length===0)return Tc(r);let v=Dr.zeros(u,"bool"),f=v.data,l=t[s],d=u.reduce((y,p)=>y*p,1);for(let y=0;y<d;y++){let p=!1;for(let m=0;m<l;m++){let h=Oe(y,s,m,t),g=Ie(h,t);if(n[g]){p=!0;break}}f[y]=p?1:0}if(a){let y=[...t];return y[s]=1,Dr.fromData(f,y,"bool")}return v}var rt=ra(mc(),1);function gX(r,e){let a=r.size,t=r.dtype,o=e.indexOf(-1),i;if(o!==-1){let f=e.reduce((d,y,p)=>p===o?d:d*y,1),l=a/f;if(!Number.isInteger(l))throw new Error(`cannot reshape array of size ${a} into shape ${JSON.stringify(e)}`);i=e.map((d,y)=>y===o?l:d)}else i=e;if(i.reduce((f,l)=>f*l,1)!==a)throw new Error(`cannot reshape array of size ${a} into shape ${JSON.stringify(i)}`);if(r.isCContiguous){let f=r.data,l=rt.default.ndarray(ue(t),f,i,zi(i),0,"row-major");return Dr.fromStdlib(l,t)}let u=r.copy().data,v=rt.default.ndarray(ue(t),u,i,zi(i),0,"row-major");return Dr.fromStdlib(v,t)}function jc(r){let e=r.stdlib,a=r.shape,t=a.length,o=r.size,i=r.dtype,n=je(i);if(!n)throw new Error(`Cannot flatten array with dtype ${i}`);let s=new n(o),u=0,v=(l,d)=>{if(d===t){let y=e.get(...l);s[u++]=y;return}for(let y=0;y<a[d];y++)l[d]=y,v(l,d+1)};v(new Array(t),0);let f=rt.default.ndarray(ue(i),s,[o],[1],0,"row-major");return Dr.fromStdlib(f,i)}function bX(r){let e=r.size,a=r.dtype;if(r.isCContiguous){let t=r.data,o=rt.default.ndarray(ue(a),t,[e],[1],0,"row-major");return Dr.fromStdlib(o,a)}return jc(r)}function xX(r,e){let a=r.shape,t=a.length,o=r.strides,i=r.data,n=r.dtype,s=r.stdlib,u;if(e===void 0)u=Array.from({length:t},(y,p)=>t-1-p);else{if(e.length!==t)throw new Error(`axes must have length ${t}, got ${e.length}`);let y=new Set;for(let p of e){let m=p<0?t+p:p;if(m<0||m>=t)throw new Error(`axis ${p} is out of bounds for array of dimension ${t}`);if(y.has(m))throw new Error("repeated axis in transpose");y.add(m)}u=e.map(p=>p<0?t+p:p)}let v=u.map(y=>a[y]),f=Array.from(o),l=u.map(y=>f[y]),d=rt.default.ndarray(ue(n),i,v,l,rt.default.offset(s),"row-major");return Dr.fromStdlib(d,n)}function qX(r,e){let a=r.shape,t=a.length,o=r.data,i=r.dtype;if(e===void 0){let n=Array.from(a).filter(v=>v!==1);n.length===0&&n.push(1);let s=zi(n),u=rt.default.ndarray(ue(i),o,n,s,0,"row-major");return Dr.fromStdlib(u,i)}else{let n=e<0?t+e:e;if(n<0||n>=t)throw new Error(`axis ${e} is out of bounds for array of dimension ${t}`);if(a[n]!==1)throw new Error(`cannot select an axis which has size not equal to one (axis ${e} has size ${a[n]})`);let s=Array.from(a).filter((f,l)=>l!==n),u=zi(s),v=rt.default.ndarray(ue(i),o,s,u,0,"row-major");return Dr.fromStdlib(v,i)}}function wX(r,e){let a=r.shape,t=a.length,o=r.data,i=r.dtype,n=e;if(n<0&&(n=t+e+1),n<0||n>t)throw new Error(`axis ${e} is out of bounds for array of dimension ${t+1}`);let s=[...Array.from(a)];s.splice(n,0,1);let u=zi(s),v=rt.default.ndarray(ue(i),o,s,u,0,"row-major");return Dr.fromStdlib(v,i)}var fK=ra(vK(),1);function lK(r,e){if(r.ndim!==2||e.ndim!==2)throw new Error("matmul requires 2D arrays");let[a=0,t=0]=r.shape,[o=0,i=0]=e.shape;if(t!==o)throw new Error(`matmul shape mismatch: (${a},${t}) @ (${o},${i})`);let n=Fs(r.dtype,e.dtype),s=n.startsWith("int")||n.startsWith("uint")||n==="bool"?"float64":n;if(s!=="float64")throw new Error(`matmul currently only supports float64, got ${s}`);let u=r.dtype==="float64"?r.data:Float64Array.from(Array.from(r.data).map(Number)),v=e.dtype==="float64"?e.data:Float64Array.from(Array.from(e.data).map(Number)),f=Dr.zeros([a,i],"float64");return(0,fK.default)("row-major","no-transpose","no-transpose",a,i,t,1,u,t,v,i,0,f.data,i),f}function cK(r){return ZJ(r,Math.sqrt,!1)}function dK(r,e){return typeof e=="number"?VJr(r,e):Ca(r,e,Math.pow,"power")}function VJr(r,e){let a=r.dtype,t=Array.from(r.shape),o=r.data,i=r.size,u=a!=="float32"&&a!=="float64"&&(e<0||!Number.isInteger(e))?"float64":a,v=Dr.zeros(t,u),f=v.data;if(Nr(a))if(Nr(u)&&Number.isInteger(e)&&e>=0){let l=o,d=f;for(let y=0;y<i;y++)d[y]=l[y]**BigInt(e)}else for(let l=0;l<i;l++)f[l]=Math.pow(Number(o[l]),e);else for(let l=0;l<i;l++)f[l]=Math.pow(Number(o[l]),e);return v}var Ne=class r{constructor(e,a,t){this._data=e,this._dtype=a,this._base=t}get _storage(){return new Dr(this._data,this._dtype)}static _fromStorage(e,a){return new r(e.stdlib,e.dtype,a)}get shape(){return Array.from(ve.default.shape(this._data))}get ndim(){return ve.default.ndims(this._data)}get size(){return ve.default.numel(this._data)}get dtype(){return this._dtype||ve.default.dtype(this._data)}get data(){return ve.default.dataBuffer(this._data)}get strides(){return Array.from(ve.default.strides(this._data))}get flags(){let e=this._storage;return{C_CONTIGUOUS:e.isCContiguous,F_CONTIGUOUS:e.isFContiguous,OWNDATA:this._base===void 0}}get base(){return this._base??null}get(e){if(e.length!==this.ndim)throw new Error(`Index has ${e.length} dimensions, but array has ${this.ndim} dimensions`);let a=e.map((i,n)=>{let s=i;if(s<0&&(s=this.shape[n]+s),s<0||s>=this.shape[n])throw new Error(`Index ${i} is out of bounds for axis ${n} with size ${this.shape[n]}`);return s}),t=this._data.get(...a),o=this.dtype;return Nr(o)?typeof t=="bigint"?t:BigInt(Math.round(t)):Number(t)}set(e,a){if(e.length!==this.ndim)throw new Error(`Index has ${e.length} dimensions, but array has ${this.ndim} dimensions`);let t=e.map((n,s)=>{let u=n;if(u<0&&(u=this.shape[s]+u),u<0||u>=this.shape[s])throw new Error(`Index ${n} is out of bounds for axis ${s} with size ${this.shape[s]}`);return u}),o=this.dtype,i;Nr(o)?i=typeof a=="bigint"?a:BigInt(Math.round(a)):o==="bool"?i=a?1:0:i=Number(a),this._data.set(...t,i)}copy(){let e=this.dtype,a=Array.from(this.shape),t=this.data,o=je(e);if(!o)throw new Error(`Cannot copy array with dtype ${e}`);if(Nr(e)){let i=new o(this.size),n=t;for(let u=0;u<this.size;u++)i[u]=n[u];let s=ve.default.ndarray(ue(e),i,a,qa(a),0,"row-major");return new r(s,e)}else{let i=new o(this.size),n=t;i.set(n);let s=ve.default.ndarray(ue(e),i,a,qa(a),0,"row-major");return new r(s,e)}}astype(e,a=!0){let t=this.dtype;if(t===e&&!a)return this;if(t===e&&a)return mt(this.toArray(),e);let o=Array.from(this.shape),i=this.size,n=je(e);if(!n)throw new Error(`Cannot convert to dtype ${e}`);let s=new n(i),u=this.data;if(Nr(t)&&!Nr(e)){let f=u;if(e==="bool")for(let l=0;l<i;l++)s[l]=f[l]!==BigInt(0)?1:0;else for(let l=0;l<i;l++)s[l]=Number(f[l])}else if(!Nr(t)&&Nr(e)){let f=u;for(let l=0;l<i;l++)s[l]=BigInt(Math.round(Number(f[l])))}else if(e==="bool"){let f=u;for(let l=0;l<i;l++)s[l]=f[l]!==0?1:0}else if(t==="bool"&&!Nr(e)){let f=u;for(let l=0;l<i;l++)s[l]=f[l]}else if(!Nr(t)&&!Nr(e)){let f=u;for(let l=0;l<i;l++)s[l]=f[l]}else{let f=u;for(let l=0;l<i;l++)s[l]=f[l]}let v=ve.default.ndarray(ue(e),s,o,qa(o),0,"row-major");return new r(v,e)}add(e){let a=typeof e=="number"?e:e._storage,t=QJ(this._storage,a);return r._fromStorage(t)}subtract(e){let a=typeof e=="number"?e:e._storage,t=rX(this._storage,a);return r._fromStorage(t)}multiply(e){let a=typeof e=="number"?e:e._storage,t=eX(this._storage,a);return r._fromStorage(t)}divide(e){let a=typeof e=="number"?e:e._storage,t=aX(this._storage,a);return r._fromStorage(t)}mod(e){let a=typeof e=="number"?e:e._storage,t=nX(this._storage,a);return r._fromStorage(t)}floor_divide(e){let a=typeof e=="number"?e:e._storage,t=sX(this._storage,a);return r._fromStorage(t)}positive(){let e=uX(this._storage);return r._fromStorage(e)}reciprocal(){let e=vX(this._storage);return r._fromStorage(e)}sqrt(){let e=cK(this._storage);return r._fromStorage(e)}power(e){let a=typeof e=="number"?e:e._storage,t=dK(this._storage,a);return r._fromStorage(t)}absolute(){let e=tX(this._storage);return r._fromStorage(e)}negative(){let e=iX(this._storage);return r._fromStorage(e)}sign(){let e=oX(this._storage);return r._fromStorage(e)}greater(e){let a=typeof e=="number"?e:e._storage,t=fX(this._storage,a);return r._fromStorage(t)}greater_equal(e){let a=typeof e=="number"?e:e._storage,t=lX(this._storage,a);return r._fromStorage(t)}less(e){let a=typeof e=="number"?e:e._storage,t=cX(this._storage,a);return r._fromStorage(t)}less_equal(e){let a=typeof e=="number"?e:e._storage,t=dX(this._storage,a);return r._fromStorage(t)}equal(e){let a=typeof e=="number"?e:e._storage,t=pX(this._storage,a);return r._fromStorage(t)}not_equal(e){let a=typeof e=="number"?e:e._storage,t=yX(this._storage,a);return r._fromStorage(t)}isclose(e,a=1e-5,t=1e-8){let o=typeof e=="number"?e:e._storage,i=gc(this._storage,o,a,t);return r._fromStorage(i)}allclose(e,a=1e-5,t=1e-8){let o=typeof e=="number"?e:e._storage;return mX(this._storage,o,a,t)}sum(e,a=!1){let t=Go(this._storage,e,a);return typeof t=="number"?t:r._fromStorage(t)}mean(e,a=!1){let t=bc(this._storage,e,a);return typeof t=="number"?t:r._fromStorage(t)}max(e,a=!1){let t=xc(this._storage,e,a);return typeof t=="number"?t:r._fromStorage(t)}min(e,a=!1){let t=wc(this._storage,e,a);return typeof t=="number"?t:r._fromStorage(t)}prod(e,a=!1){let t=qc(this._storage,e,a);return typeof t=="number"?t:r._fromStorage(t)}argmin(e){let a=Sc(this._storage,e);return typeof a=="number"?a:r._fromStorage(a)}argmax(e){let a=Ec(this._storage,e);return typeof a=="number"?a:r._fromStorage(a)}var(e,a=0,t=!1){let o=Ac(this._storage,e,a,t);return typeof o=="number"?o:r._fromStorage(o)}std(e,a=0,t=!1){let o=hX(this._storage,e,a,t);return typeof o=="number"?o:r._fromStorage(o)}all(e,a=!1){let t=_c(this._storage,e,a);return typeof t=="boolean"?t:r._fromStorage(t)}any(e,a=!1){let t=Tc(this._storage,e,a);return typeof t=="boolean"?t:r._fromStorage(t)}reshape(...e){let a=e.length===1&&Array.isArray(e[0])?e[0]:e,t=gX(this._storage,a),i=t.data===this.data?this._base??this:void 0;return r._fromStorage(t,i)}flatten(){let e=jc(this._storage);return r._fromStorage(e)}ravel(){let e=bX(this._storage),t=e.data===this.data?this._base??this:void 0;return r._fromStorage(e,t)}transpose(e){let a=xX(this._storage,e),t=this._base??this;return r._fromStorage(a,t)}squeeze(e){let a=qX(this._storage,e),t=this._base??this;return r._fromStorage(a,t)}expand_dims(e){let a=wX(this._storage,e),t=this._base??this;return r._fromStorage(a,t)}matmul(e){let a=lK(this._storage,e._storage);return r._fromStorage(a)}slice(...e){if(e.length===0)return this;if(e.length>this.ndim)throw new Error(`Too many indices for array: array is ${this.ndim}-dimensional, but ${e.length} were indexed`);let a=e.map((n,s)=>{let u=MJ(n);return GJ(u,this.shape[s])});for(;a.length<this.ndim;)a.push({start:0,stop:this.shape[a.length],step:1,isIndex:!1});let t=a.map((n,s)=>{if(n.isIndex)return n.start;{let u=n.start,v=n.stop;return n.step>0?(u===0&&(u=null),v===this.shape[s]&&(v=null)):(u===this.shape[s]-1&&(u=null),v===-1&&(v=null)),new yK.default(u,v,n.step)}}),o=(0,pK.default)(this._data,...t),i=this._base??this;return new r(o,this._dtype,i)}row(e){if(this.ndim<2)throw new Error("row() requires at least 2 dimensions");return this.slice(String(e),":")}col(e){if(this.ndim<2)throw new Error("col() requires at least 2 dimensions");return this.slice(":",String(e))}rows(e,a){if(this.ndim<2)throw new Error("rows() requires at least 2 dimensions");return this.slice(`${e}:${a}`,":")}cols(e,a){if(this.ndim<2)throw new Error("cols() requires at least 2 dimensions");return this.slice(":",`${e}:${a}`)}toString(){return`NDArray(shape=${JSON.stringify(this.shape)}, dtype=${this.dtype})`}toArray(){return this.ndim===0?this._data.get():ve.default.ndarray2array(this._data)}};function kc(r,e=Qe){let a=je(e);if(!a)throw new Error(`Cannot create zeros array with dtype ${e}`);let t=r.reduce((n,s)=>n*s,1),o=new a(t),i=ve.default.ndarray(ue(e),o,r,qa(r),0,"row-major");return new Ne(i,e)}function qa(r){let e=new Array(r.length),a=1;for(let t=r.length-1;t>=0;t--)e[t]=a,a*=r[t];return e}function mK(r,e=Qe){let a=je(e);if(!a)throw new Error(`Cannot create ones array with dtype ${e}`);let t=r.reduce((n,s)=>n*s,1),o=new a(t);Nr(e)?o.fill(BigInt(1)):o.fill(1);let i=ve.default.ndarray(ue(e),o,r,qa(r),0,"row-major");return new Ne(i,e)}function CJr(r){let e=[],a=r;for(;Array.isArray(a);)e.push(a.length),a=a[0];return e}function hK(r){return typeof r=="bigint"?!0:Array.isArray(r)?r.some(e=>hK(e)):!1}function PJr(r){let e=[];function a(t){Array.isArray(t)?t.forEach(o=>a(o)):e.push(t)}return a(r),e}function mt(r,e){let a=hK(r);if(a&&e&&Nr(e)){let l=CJr(r),d=l.reduce((g,b)=>g*b,1),y=je(e);if(!y)throw new Error(`Cannot create array with dtype ${e}`);let p=new y(d),m=PJr(r);for(let g=0;g<d;g++){let b=m[g];p[g]=typeof b=="bigint"?b:BigInt(Math.round(Number(b)))}let h=ve.default.ndarray(ue(e),p,l,qa(l),0,"row-major");return new Ne(h,e)}if(a&&e===void 0){let l=JSON.parse(JSON.stringify(r,(y,p)=>typeof p=="bigint"?Number(p):p)),d=ve.default.array(l);return new Ne(d)}if(e===void 0){let l=ve.default.array(r);return new Ne(l)}let t=ve.default.array(r);if(ve.default.dtype(t)===e)return new Ne(t);let i=Array.from(ve.default.shape(t)),n=i.reduce((l,d)=>l*d,1),s=je(e);if(!s)throw new Error(`Cannot create array with dtype ${e}`);let u=new s(n),v=ve.default.dataBuffer(t);if(Nr(e))for(let l=0;l<n;l++)u[l]=BigInt(Math.round(Number(v[l])));else if(e==="bool")for(let l=0;l<n;l++)u[l]=v[l]?1:0;else for(let l=0;l<n;l++)u[l]=Number(v[l]);let f=ve.default.ndarray(ue(e),u,i,qa(i),0,"row-major");return new Ne(f,e)}function LJr(r,e,a=1,t=Qe){let o=r,i=e;if(e===void 0&&(o=0,i=r),i===void 0)throw new Error("stop is required");let n=Math.max(0,Math.ceil((i-o)/a)),s=je(t);if(!s)throw new Error(`Cannot create arange array with dtype ${t}`);let u=new s(n);if(Nr(t))for(let f=0;f<n;f++)u[f]=BigInt(Math.round(o+f*a));else if(t==="bool")for(let f=0;f<n;f++)u[f]=o+f*a!==0?1:0;else for(let f=0;f<n;f++)u[f]=o+f*a;let v=ve.default.ndarray(ue(t),u,[n],[1],0,"row-major");return new Ne(v,t)}function MJr(r,e,a=50,t=Qe){if(a<0)throw new Error("num must be non-negative");if(a===0)return mt([],t);if(a===1)return mt([r],t);let o=je(t);if(!o)throw new Error(`Cannot create linspace array with dtype ${t}`);let i=new o(a),n=(e-r)/(a-1);if(Nr(t))for(let u=0;u<a;u++)i[u]=BigInt(Math.round(r+u*n));else if(t==="bool")for(let u=0;u<a;u++)i[u]=r+u*n!==0?1:0;else for(let u=0;u<a;u++)i[u]=r+u*n;let s=ve.default.ndarray(ue(t),i,[a],[1],0,"row-major");return new Ne(s,t)}function GJr(r,e,a=50,t=10,o=Qe){if(a<0)throw new Error("num must be non-negative");if(a===0)return mt([],o);if(a===1)return mt([Math.pow(t,r)],o);let i=je(o);if(!i)throw new Error(`Cannot create logspace array with dtype ${o}`);let n=new i(a),s=(e-r)/(a-1);if(Nr(o))for(let v=0;v<a;v++){let f=r+v*s;n[v]=BigInt(Math.round(Math.pow(t,f)))}else if(o==="bool")for(let v=0;v<a;v++){let f=r+v*s;n[v]=Math.pow(t,f)!==0?1:0}else for(let v=0;v<a;v++){let f=r+v*s;n[v]=Math.pow(t,f)}let u=ve.default.ndarray(ue(o),n,[a],[1],0,"row-major");return new Ne(u,o)}function YJr(r,e,a=50,t=Qe){if(a<0)throw new Error("num must be non-negative");if(r===0||e===0)throw new Error("Geometric sequence cannot include zero");if(a===0)return mt([],t);if(a===1)return mt([r],t);let o=Math.sign(r),i=Math.sign(e);if(o!==i)throw new Error("Geometric sequence cannot contain both positive and negative values");let n=je(t);if(!n)throw new Error(`Cannot create geomspace array with dtype ${t}`);let s=new n(a),u=Math.log(Math.abs(r)),f=(Math.log(Math.abs(e))-u)/(a-1);if(Nr(t))for(let d=0;d<a;d++){let y=o*Math.exp(u+d*f);s[d]=BigInt(Math.round(y))}else if(t==="bool")for(let d=0;d<a;d++){let y=o*Math.exp(u+d*f);s[d]=y!==0?1:0}else for(let d=0;d<a;d++){let y=o*Math.exp(u+d*f);s[d]=y}let l=ve.default.ndarray(ue(t),s,[a],[1],0,"row-major");return new Ne(l,t)}function gK(r,e,a=0,t=Qe){let o=e??r,i=kc([r,o],t),n=i.data;if(Nr(t)){let s=n;for(let u=0;u<r;u++){let v=u+a;v>=0&&v<o&&(s[u*o+v]=BigInt(1))}}else{let s=n;for(let u=0;u<r;u++){let v=u+a;v>=0&&v<o&&(s[u*o+v]=1)}}return i}function bK(r,e=Qe){let a=je(e);if(!a)throw new Error(`Cannot create empty array with dtype ${e}`);let t=r.reduce((n,s)=>n*s,1),o=new a(t),i=ve.default.ndarray(ue(e),o,r,qa(r),0,"row-major");return new Ne(i,e)}function xK(r,e,a){let t=a;t||(typeof e=="bigint"?t="int64":typeof e=="boolean"?t="bool":Number.isInteger(e)?t="int32":t=Qe);let o=je(t);if(!o)throw new Error(`Cannot create full array with dtype ${t}`);let i=r.reduce((u,v)=>u*v,1),n=new o(i);if(Nr(t)){let u=typeof e=="bigint"?e:BigInt(Math.round(Number(e)));n.fill(u)}else t==="bool"?n.fill(e?1:0):n.fill(Number(e));let s=ve.default.ndarray(ue(t),n,r,qa(r),0,"row-major");return new Ne(s,t)}function $Jr(r,e=Qe){return gK(r,r,0,e)}function WJr(r,e){if(r instanceof Ne){if(!e||r.dtype===e)return r;let a=Array.from(r.shape),t=r.size,o=je(e);if(!o)throw new Error(`Cannot create array with dtype ${e}`);let i=new o(t),n=r.data;if(Nr(e))for(let u=0;u<t;u++)i[u]=BigInt(Math.round(Number(n[u])));else if(e==="bool")for(let u=0;u<t;u++)i[u]=n[u]?1:0;else for(let u=0;u<t;u++)i[u]=Number(n[u]);let s=ve.default.ndarray(ue(e),i,a,qa(a),0,"row-major");return new Ne(s,e)}return mt(r,e)}function JJr(r){let e=Array.from(r.shape),a=r.dtype,t=je(a);if(!t)throw new Error(`Cannot copy array with dtype ${a}`);let o=r.size,i=r.data,n=new t(o);if(r.flags.C_CONTIGUOUS)Nr(a),n.set(i);else{let u=Array.from(e),v=qa(u);for(let f=0;f<o;f++){let l=[],d=f;for(let p=0;p<u.length;p++){let m=v[p],h=Math.floor(d/m);l.push(h),d-=h*m}let y=r.get(l);Nr(a),n[f]=y}}let s=ve.default.ndarray(ue(a),n,e,qa(e),0,"row-major");return new Ne(s,a)}function XJr(r,e){return kc(Array.from(r.shape),e??r.dtype)}function KJr(r,e){return mK(Array.from(r.shape),e??r.dtype)}function HJr(r,e){return bK(Array.from(r.shape),e??r.dtype)}function ZJr(r,e,a){return xK(Array.from(r.shape),e,a??r.dtype)}function QJr(r){return r.sqrt()}function rXr(r,e){return r.power(e)}function eXr(r){return r.absolute()}function aXr(r){return r.negative()}function tXr(r){return r.sign()}function iXr(r,e){return r.mod(e)}function oXr(r,e){return r.floor_divide(e)}function nXr(r){return r.positive()}function sXr(r){return r.reciprocal()}var Phe="0.2.0";export{Ne as NDArray,Phe as __version__,eXr as absolute,LJr as arange,mt as array,WJr as asarray,JJr as copy,bK as empty,HJr as empty_like,gK as eye,oXr as floor_divide,xK as full,ZJr as full_like,YJr as geomspace,$Jr as identity,MJr as linspace,GJr as logspace,iXr as mod,aXr as negative,mK as ones,KJr as ones_like,nXr as positive,rXr as power,sXr as reciprocal,tXr as sign,QJr as sqrt,kc as zeros,XJr as zeros_like};
|
|
1
|
+
var km=Object.create;var dn=Object.defineProperty;var Pm=Object.getOwnPropertyDescriptor;var $m=Object.getOwnPropertyNames;var Gm=Object.getPrototypeOf,Ym=Object.prototype.hasOwnProperty;var c=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports);var Wm=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of $m(r))!Ym.call(e,i)&&i!==t&&dn(e,i,{get:()=>r[i],enumerable:!(n=Pm(r,i))||n.enumerable});return e};var Zm=(e,r,t)=>(t=e!=null?km(Gm(e)):{},Wm(r||!e||!e.__esModule?dn(t,"default",{value:e,enumerable:!0}):t,e));var Hn=c((XT,Jn)=>{"use strict";var gh=typeof Object.defineProperty=="function"?Object.defineProperty:null;Jn.exports=gh});var Qn=c((QT,Xn)=>{"use strict";var vh=Hn();function bh(){try{return vh({},"x",{}),!0}catch{return!1}}Xn.exports=bh});var ri=c((KT,Kn)=>{"use strict";var dh=Object.defineProperty;Kn.exports=dh});var Xe=c((r_,ei)=>{"use strict";function wh(e){return typeof e=="number"}ei.exports=wh});var Qe=c((e_,ni)=>{"use strict";function Ah(e){return e[0]==="-"}function ti(e){var r="",t;for(t=0;t<e;t++)r+="0";return r}function xh(e,r,t){var n=!1,i=r-e.length;return i<0||(Ah(e)&&(n=!0,e=e.substr(1)),e=t?e+ti(i):ti(i)+e,n&&(e="-"+e)),e}ni.exports=xh});var si=c((t_,oi)=>{"use strict";var Eh=Xe(),ii=Qe(),Sh=String.prototype.toLowerCase,ai=String.prototype.toUpperCase;function Th(e){var r,t,n;switch(e.specifier){case"b":r=2;break;case"o":r=8;break;case"x":case"X":r=16;break;case"d":case"i":case"u":default:r=10;break}if(t=e.arg,n=parseInt(t,10),!isFinite(n)){if(!Eh(t))throw new Error("invalid integer. Value: "+t);n=0}return n<0&&(e.specifier==="u"||r!==10)&&(n=4294967295+n+1),n<0?(t=(-n).toString(r),e.precision&&(t=ii(t,e.precision,e.padRight)),t="-"+t):(t=n.toString(r),!n&&!e.precision?t="":e.precision&&(t=ii(t,e.precision,e.padRight)),e.sign&&(t=e.sign+t)),r===16&&(e.alternate&&(t="0x"+t),t=e.specifier===ai.call(e.specifier)?ai.call(t):Sh.call(t)),r===8&&e.alternate&&t.charAt(0)!=="0"&&(t="0"+t),t}oi.exports=Th});var fi=c((n_,ui)=>{"use strict";function _h(e){return typeof e=="string"}ui.exports=_h});var pi=c((i_,ci)=>{"use strict";var qh=Xe(),Ih=Math.abs,Dh=String.prototype.toLowerCase,li=String.prototype.toUpperCase,Dr=String.prototype.replace,Nh=/e\+(\d)$/,Bh=/e-(\d)$/,Oh=/^(\d+)$/,Vh=/^(\d+)e/,Uh=/\.0$/,zh=/\.0*e/,Fh=/(\..*[^0])0*e/;function Rh(e){var r,t,n=parseFloat(e.arg);if(!isFinite(n)){if(!qh(e.arg))throw new Error("invalid floating-point number. Value: "+t);n=e.arg}switch(e.specifier){case"e":case"E":t=n.toExponential(e.precision);break;case"f":case"F":t=n.toFixed(e.precision);break;case"g":case"G":Ih(n)<1e-4?(r=e.precision,r>0&&(r-=1),t=n.toExponential(r)):t=n.toPrecision(e.precision),e.alternate||(t=Dr.call(t,Fh,"$1e"),t=Dr.call(t,zh,"e"),t=Dr.call(t,Uh,""));break;default:throw new Error("invalid double notation. Value: "+e.specifier)}return t=Dr.call(t,Nh,"e+0$1"),t=Dr.call(t,Bh,"e-0$1"),e.alternate&&(t=Dr.call(t,Oh,"$1."),t=Dr.call(t,Vh,"$1.e")),n>=0&&e.sign&&(t=e.sign+t),t=e.specifier===li.call(e.specifier)?li.call(t):Dh.call(t),t}ci.exports=Rh});var hi=c((a_,mi)=>{"use strict";function yi(e){var r="",t;for(t=0;t<e;t++)r+=" ";return r}function Ch(e,r,t){var n=r-e.length;return n<0||(e=t?e+yi(n):yi(n)+e),e}mi.exports=Ch});var vi=c((o_,gi)=>{"use strict";var jh=si(),Lh=fi(),Mh=pi(),kh=hi(),Ph=Qe(),$h=String.fromCharCode,Gh=Array.isArray;function me(e){return e!==e}function Yh(e){var r={};return r.specifier=e.specifier,r.precision=e.precision===void 0?1:e.precision,r.width=e.width,r.flags=e.flags||"",r.mapping=e.mapping,r}function Wh(e){var r,t,n,i,a,s,o,f,u;if(!Gh(e))throw new TypeError("invalid argument. First argument must be an array. Value: `"+e+"`.");for(s="",o=1,f=0;f<e.length;f++)if(n=e[f],Lh(n))s+=n;else{if(r=n.precision!==void 0,n=Yh(n),!n.specifier)throw new TypeError("invalid argument. Token is missing `specifier` property. Index: `"+f+"`. Value: `"+n+"`.");for(n.mapping&&(o=n.mapping),t=n.flags,u=0;u<t.length;u++)switch(i=t.charAt(u),i){case" ":n.sign=" ";break;case"+":n.sign="+";break;case"-":n.padRight=!0,n.padZeros=!1;break;case"0":n.padZeros=t.indexOf("-")<0;break;case"#":n.alternate=!0;break;default:throw new Error("invalid flag: "+i)}if(n.width==="*"){if(n.width=parseInt(arguments[o],10),o+=1,me(n.width))throw new TypeError("the argument for * width at position "+o+" is not a number. Value: `"+n.width+"`.");n.width<0&&(n.padRight=!0,n.width=-n.width)}if(r&&n.precision==="*"){if(n.precision=parseInt(arguments[o],10),o+=1,me(n.precision))throw new TypeError("the argument for * precision at position "+o+" is not a number. Value: `"+n.precision+"`.");n.precision<0&&(n.precision=1,r=!1)}switch(n.arg=arguments[o],n.specifier){case"b":case"o":case"x":case"X":case"d":case"i":case"u":r&&(n.padZeros=!1),n.arg=jh(n);break;case"s":n.maxWidth=r?n.precision:-1,n.arg=String(n.arg);break;case"c":if(!me(n.arg)){if(a=parseInt(n.arg,10),a<0||a>127)throw new Error("invalid character code. Value: "+n.arg);n.arg=me(a)?String(n.arg):$h(a)}break;case"e":case"E":case"f":case"F":case"g":case"G":r||(n.precision=6),n.arg=Mh(n);break;default:throw new Error("invalid specifier: "+n.specifier)}n.maxWidth>=0&&n.arg.length>n.maxWidth&&(n.arg=n.arg.substring(0,n.maxWidth)),n.padZeros?n.arg=Ph(n.arg,n.width||n.precision,n.padRight):n.width&&(n.arg=kh(n.arg,n.width,n.padRight)),s+=n.arg||"",o+=1}return s}gi.exports=Wh});var di=c((s_,bi)=>{"use strict";var Zh=vi();bi.exports=Zh});var Ai=c((u_,wi)=>{"use strict";var he=/%(?:([1-9]\d*)\$)?([0 +\-#]*)(\*|\d+)?(?:(\.)(\*|\d+)?)?[hlL]?([%A-Za-z])/g;function Jh(e){var r={mapping:e[1]?parseInt(e[1],10):void 0,flags:e[2],width:e[3],precision:e[5],specifier:e[6]};return e[4]==="."&&e[5]===void 0&&(r.precision="1"),r}function Hh(e){var r,t,n,i;for(t=[],i=0,n=he.exec(e);n;)r=e.slice(i,he.lastIndex-n[0].length),r.length&&t.push(r),t.push(Jh(n)),i=he.lastIndex,n=he.exec(e);return r=e.slice(i),r.length&&t.push(r),t}wi.exports=Hh});var Ei=c((f_,xi)=>{"use strict";var Xh=Ai();xi.exports=Xh});var Ti=c((l_,Si)=>{"use strict";function Qh(e){return typeof e=="string"}Si.exports=Qh});var Ii=c((c_,qi)=>{"use strict";var Kh=di(),rg=Ei(),eg=Ti();function _i(e){var r,t;if(!eg(e))throw new TypeError(_i("invalid argument. First argument must be a string. Value: `%s`.",e));for(r=[rg(e)],t=1;t<arguments.length;t++)r.push(arguments[t]);return Kh.apply(null,r)}qi.exports=_i});var Z=c((p_,Di)=>{"use strict";var tg=Ii();Di.exports=tg});var zi=c((y_,Ui)=>{"use strict";var Ni=Z(),Fr=Object.prototype,Bi=Fr.toString,Oi=Fr.__defineGetter__,Vi=Fr.__defineSetter__,ng=Fr.__lookupGetter__,ig=Fr.__lookupSetter__;function ag(e,r,t){var n,i,a,s;if(typeof e!="object"||e===null||Bi.call(e)==="[object Array]")throw new TypeError(Ni("invalid argument. First argument must be an object. Value: `%s`.",e));if(typeof t!="object"||t===null||Bi.call(t)==="[object Array]")throw new TypeError(Ni("invalid argument. Property descriptor must be an object. Value: `%s`.",t));if(i="value"in t,i&&(ng.call(e,r)||ig.call(e,r)?(n=e.__proto__,e.__proto__=Fr,delete e[r],e[r]=t.value,e.__proto__=n):e[r]=t.value),a="get"in t,s="set"in t,i&&(a||s))throw new Error("invalid argument. Cannot specify one or more accessors and a value or writable attribute in the property descriptor.");return a&&Oi&&Oi.call(e,r,t.get),s&&Vi&&Vi.call(e,r,t.set),e}Ui.exports=ag});var kr=c((m_,Fi)=>{"use strict";var og=Qn(),sg=ri(),ug=zi(),Ke;og()?Ke=sg:Ke=ug;Fi.exports=Ke});var Ci=c((h_,Ri)=>{"use strict";var fg=kr();function lg(e,r,t){fg(e,r,{configurable:!1,enumerable:!1,writable:!1,value:t})}Ri.exports=lg});var W=c((g_,ji)=>{"use strict";var cg=Ci();ji.exports=cg});var Mi=c((v_,Li)=>{"use strict";function pg(e,r){return e>r?e:r}Li.exports=pg});var Pi=c((b_,ki)=>{"use strict";var yg=Mi();ki.exports=yg});var Yi=c((d_,Gi)=>{"use strict";var $i="function";function mg(e){return typeof e.get===$i&&typeof e.set===$i}Gi.exports=mg});var rt=c((w_,Wi)=>{"use strict";var hg=Yi();Wi.exports=hg});var Hi=c((A_,Ji)=>{"use strict";var Zi={complex128:gg,complex64:vg,default:bg};function gg(e,r){return e.get(r)}function vg(e,r){return e.get(r)}function bg(e,r){return e.get(r)}function dg(e){var r=Zi[e];return typeof r=="function"?r:Zi.default}Ji.exports=dg});var Rr=c((x_,Xi)=>{"use strict";var wg=Hi();Xi.exports=wg});var ra=c((E_,Ki)=>{"use strict";var Qi={float64:Ag,float32:xg,int32:Eg,int16:Sg,int8:Tg,uint32:_g,uint16:qg,uint8:Ig,uint8c:Dg,generic:Ng,default:Bg};function Ag(e,r){return e[r]}function xg(e,r){return e[r]}function Eg(e,r){return e[r]}function Sg(e,r){return e[r]}function Tg(e,r){return e[r]}function _g(e,r){return e[r]}function qg(e,r){return e[r]}function Ig(e,r){return e[r]}function Dg(e,r){return e[r]}function Ng(e,r){return e[r]}function Bg(e,r){return e[r]}function Og(e){var r=Qi[e];return typeof r=="function"?r:Qi.default}Ki.exports=Og});var Pr=c((S_,ea)=>{"use strict";var Vg=ra();ea.exports=Vg});var na=c((T_,ta)=>{"use strict";function Ug(){return typeof Symbol=="function"&&typeof Symbol("foo")=="symbol"}ta.exports=Ug});var aa=c((__,ia)=>{"use strict";var zg=na();ia.exports=zg});var sa=c((q_,oa)=>{"use strict";var Fg=aa(),Rg=Fg();function Cg(){return Rg&&typeof Symbol.toStringTag=="symbol"}oa.exports=Cg});var $r=c((I_,ua)=>{"use strict";var jg=sa();ua.exports=jg});var et=c((D_,fa)=>{"use strict";var Lg=Object.prototype.toString;fa.exports=Lg});var ca=c((N_,la)=>{"use strict";var Mg=et();function kg(e){return Mg.call(e)}la.exports=kg});var ya=c((B_,pa)=>{"use strict";var Pg=Object.prototype.hasOwnProperty;function $g(e,r){return e==null?!1:Pg.call(e,r)}pa.exports=$g});var tt=c((O_,ma)=>{"use strict";var Gg=ya();ma.exports=Gg});var ga=c((V_,ha)=>{"use strict";var Yg=typeof Symbol=="function"?Symbol:void 0;ha.exports=Yg});var nt=c((U_,va)=>{"use strict";var Wg=ga();va.exports=Wg});var wa=c((z_,da)=>{"use strict";var ba=nt(),Zg=typeof ba=="function"?ba.toStringTag:"";da.exports=Zg});var xa=c((F_,Aa)=>{"use strict";var Jg=tt(),Gr=wa(),it=et();function Hg(e){var r,t,n;if(e==null)return it.call(e);t=e[Gr],r=Jg(e,Gr);try{e[Gr]=void 0}catch{return it.call(e)}return n=it.call(e),r?e[Gr]=t:delete e[Gr],n}Aa.exports=Hg});var J=c((R_,Ea)=>{"use strict";var Xg=$r(),Qg=ca(),Kg=xa(),at;Xg()?at=Kg:at=Qg;Ea.exports=at});var Ta=c((C_,Sa)=>{"use strict";var rv=J(),ot;function ev(e){return rv(e)==="[object Array]"}Array.isArray?ot=Array.isArray:ot=ev;Sa.exports=ot});var Cr=c((j_,_a)=>{"use strict";var tv=Ta();_a.exports=tv});var Ia=c((L_,qa)=>{"use strict";var nv=Cr(),iv=Z();function av(e){if(typeof e!="function")throw new TypeError(iv("invalid argument. Must provide a function. Value: `%s`.",e));return r;function r(t){var n,i;if(!nv(t)||(n=t.length,n===0))return!1;for(i=0;i<n;i++)if(e(t[i])===!1)return!1;return!0}}qa.exports=av});var st=c((M_,Da)=>{"use strict";var ov=Ia();Da.exports=ov});var Ba=c((k_,Na)=>{"use strict";function sv(e){return e!==null&&typeof e=="object"}Na.exports=sv});var Va=c((P_,Oa)=>{"use strict";var uv=W(),fv=st(),ut=Ba(),lv=fv(ut);uv(ut,"isObjectLikeArray",lv);Oa.exports=ut});var za=c(($_,Ua)=>{"use strict";var cv=Va();function pv(e){return cv(e)&&(e._isBuffer||e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e))}Ua.exports=pv});var ft=c((G_,Fa)=>{"use strict";var yv=za();Fa.exports=yv});var lt=c((Y_,Ra)=>{"use strict";function mv(){return/^\s*function\s*([^(]*)/i}Ra.exports=mv});var ja=c((W_,Ca)=>{"use strict";var hv=lt(),gv=hv();Ca.exports=gv});var ka=c((Z_,Ma)=>{"use strict";var vv=W(),La=lt(),bv=ja();vv(La,"REGEXP",bv);Ma.exports=La});var $a=c((J_,Pa)=>{"use strict";var dv=J(),wv=ka().REGEXP,Av=ft();function xv(e){var r,t,n;if(t=dv(e).slice(8,-1),(t==="Object"||t==="Error")&&e.constructor){if(n=e.constructor,typeof n.name=="string")return n.name;if(r=wv.exec(n.toString()),r)return r[1]}return Av(e)?"Buffer":t}Pa.exports=xv});var ge=c((H_,Ga)=>{"use strict";var Ev=$a();Ga.exports=Ev});var Wa=c((X_,Ya)=>{"use strict";var Sv={Float32Array:"float32",Float64Array:"float64",Array:"generic",Int16Array:"int16",Int32Array:"int32",Int8Array:"int8",Uint16Array:"uint16",Uint32Array:"uint32",Uint8Array:"uint8",Uint8ClampedArray:"uint8c",Complex64Array:"complex64",Complex128Array:"complex128",BooleanArray:"bool"};Ya.exports=Sv});var Ja=c((Q_,Za)=>{"use strict";var Tv=J(),_v=typeof Float64Array=="function";function qv(e){return _v&&e instanceof Float64Array||Tv(e)==="[object Float64Array]"}Za.exports=qv});var Xa=c((K_,Ha)=>{"use strict";var Iv=Ja();Ha.exports=Iv});var Ka=c((r1,Qa)=>{"use strict";var Dv=typeof Float64Array=="function"?Float64Array:null;Qa.exports=Dv});var to=c((e1,eo)=>{"use strict";var Nv=Xa(),ro=Ka();function Bv(){var e,r;if(typeof ro!="function")return!1;try{r=new ro([1,3.14,-3.14,NaN]),e=Nv(r)&&r[0]===1&&r[1]===3.14&&r[2]===-3.14&&r[3]!==r[3]}catch{e=!1}return e}eo.exports=Bv});var io=c((t1,no)=>{"use strict";var Ov=to();no.exports=Ov});var oo=c((n1,ao)=>{"use strict";var Vv=typeof Float64Array=="function"?Float64Array:void 0;ao.exports=Vv});var uo=c((i1,so)=>{"use strict";function Uv(){throw new Error("not implemented")}so.exports=Uv});var ve=c((a1,fo)=>{"use strict";var zv=io(),Fv=oo(),Rv=uo(),ct;zv()?ct=Fv:ct=Rv;fo.exports=ct});var co=c((o1,lo)=>{"use strict";var Cv=J(),jv=typeof Float32Array=="function";function Lv(e){return jv&&e instanceof Float32Array||Cv(e)==="[object Float32Array]"}lo.exports=Lv});var yo=c((s1,po)=>{"use strict";var Mv=co();po.exports=Mv});var pt=c((u1,mo)=>{"use strict";var kv=Number.POSITIVE_INFINITY;mo.exports=kv});var go=c((f1,ho)=>{"use strict";var Pv=typeof Float32Array=="function"?Float32Array:null;ho.exports=Pv});var wo=c((l1,bo)=>{"use strict";var $v=yo(),Gv=pt(),vo=go();function Yv(){var e,r;if(typeof vo!="function")return!1;try{r=new vo([1,3.14,-3.14,5e40]),e=$v(r)&&r[0]===1&&r[1]===3.140000104904175&&r[2]===-3.140000104904175&&r[3]===Gv}catch{e=!1}return e}bo.exports=Yv});var xo=c((c1,Ao)=>{"use strict";var Wv=wo();Ao.exports=Wv});var So=c((p1,Eo)=>{"use strict";var Zv=typeof Float32Array=="function"?Float32Array:void 0;Eo.exports=Zv});var _o=c((y1,To)=>{"use strict";function Jv(){throw new Error("not implemented")}To.exports=Jv});var Yr=c((m1,qo)=>{"use strict";var Hv=xo(),Xv=So(),Qv=_o(),yt;Hv()?yt=Xv:yt=Qv;qo.exports=yt});var Do=c((h1,Io)=>{"use strict";var Kv=J(),rb=typeof Uint32Array=="function";function eb(e){return rb&&e instanceof Uint32Array||Kv(e)==="[object Uint32Array]"}Io.exports=eb});var Bo=c((g1,No)=>{"use strict";var tb=Do();No.exports=tb});var Vo=c((v1,Oo)=>{"use strict";var nb=4294967295;Oo.exports=nb});var zo=c((b1,Uo)=>{"use strict";var ib=typeof Uint32Array=="function"?Uint32Array:null;Uo.exports=ib});var Co=c((d1,Ro)=>{"use strict";var ab=Bo(),mt=Vo(),Fo=zo();function ob(){var e,r;if(typeof Fo!="function")return!1;try{r=[1,3.14,-3.14,mt+1,mt+2],r=new Fo(r),e=ab(r)&&r[0]===1&&r[1]===3&&r[2]===mt-2&&r[3]===0&&r[4]===1}catch{e=!1}return e}Ro.exports=ob});var Lo=c((w1,jo)=>{"use strict";var sb=Co();jo.exports=sb});var ko=c((A1,Mo)=>{"use strict";var ub=typeof Uint32Array=="function"?Uint32Array:void 0;Mo.exports=ub});var $o=c((x1,Po)=>{"use strict";function fb(){throw new Error("not implemented")}Po.exports=fb});var Yo=c((E1,Go)=>{"use strict";var lb=Lo(),cb=ko(),pb=$o(),ht;lb()?ht=cb:ht=pb;Go.exports=ht});var Zo=c((S1,Wo)=>{"use strict";var yb=J(),mb=typeof Int32Array=="function";function hb(e){return mb&&e instanceof Int32Array||yb(e)==="[object Int32Array]"}Wo.exports=hb});var Ho=c((T1,Jo)=>{"use strict";var gb=Zo();Jo.exports=gb});var Qo=c((_1,Xo)=>{"use strict";var vb=2147483647;Xo.exports=vb});var rs=c((q1,Ko)=>{"use strict";var bb=-2147483648;Ko.exports=bb});var ts=c((I1,es)=>{"use strict";var db=typeof Int32Array=="function"?Int32Array:null;es.exports=db});var as=c((D1,is)=>{"use strict";var wb=Ho(),Ab=Qo(),xb=rs(),ns=ts();function Eb(){var e,r;if(typeof ns!="function")return!1;try{r=new ns([1,3.14,-3.14,Ab+1]),e=wb(r)&&r[0]===1&&r[1]===3&&r[2]===-3&&r[3]===xb}catch{e=!1}return e}is.exports=Eb});var ss=c((N1,os)=>{"use strict";var Sb=as();os.exports=Sb});var fs=c((B1,us)=>{"use strict";var Tb=typeof Int32Array=="function"?Int32Array:void 0;us.exports=Tb});var cs=c((O1,ls)=>{"use strict";function _b(){throw new Error("not implemented")}ls.exports=_b});var ys=c((V1,ps)=>{"use strict";var qb=ss(),Ib=fs(),Db=cs(),gt;qb()?gt=Ib:gt=Db;ps.exports=gt});var hs=c((U1,ms)=>{"use strict";var Nb=J(),Bb=typeof Uint16Array=="function";function Ob(e){return Bb&&e instanceof Uint16Array||Nb(e)==="[object Uint16Array]"}ms.exports=Ob});var vs=c((z1,gs)=>{"use strict";var Vb=hs();gs.exports=Vb});var ds=c((F1,bs)=>{"use strict";var Ub=65535;bs.exports=Ub});var As=c((R1,ws)=>{"use strict";var zb=typeof Uint16Array=="function"?Uint16Array:null;ws.exports=zb});var Ss=c((C1,Es)=>{"use strict";var Fb=vs(),vt=ds(),xs=As();function Rb(){var e,r;if(typeof xs!="function")return!1;try{r=[1,3.14,-3.14,vt+1,vt+2],r=new xs(r),e=Fb(r)&&r[0]===1&&r[1]===3&&r[2]===vt-2&&r[3]===0&&r[4]===1}catch{e=!1}return e}Es.exports=Rb});var _s=c((j1,Ts)=>{"use strict";var Cb=Ss();Ts.exports=Cb});var Is=c((L1,qs)=>{"use strict";var jb=typeof Uint16Array=="function"?Uint16Array:void 0;qs.exports=jb});var Ns=c((M1,Ds)=>{"use strict";function Lb(){throw new Error("not implemented")}Ds.exports=Lb});var Os=c((k1,Bs)=>{"use strict";var Mb=_s(),kb=Is(),Pb=Ns(),bt;Mb()?bt=kb:bt=Pb;Bs.exports=bt});var Us=c((P1,Vs)=>{"use strict";var $b=J(),Gb=typeof Int16Array=="function";function Yb(e){return Gb&&e instanceof Int16Array||$b(e)==="[object Int16Array]"}Vs.exports=Yb});var Fs=c(($1,zs)=>{"use strict";var Wb=Us();zs.exports=Wb});var Cs=c((G1,Rs)=>{"use strict";var Zb=32767;Rs.exports=Zb});var Ls=c((Y1,js)=>{"use strict";var Jb=-32768;js.exports=Jb});var ks=c((W1,Ms)=>{"use strict";var Hb=typeof Int16Array=="function"?Int16Array:null;Ms.exports=Hb});var Gs=c((Z1,$s)=>{"use strict";var Xb=Fs(),Qb=Cs(),Kb=Ls(),Ps=ks();function rd(){var e,r;if(typeof Ps!="function")return!1;try{r=new Ps([1,3.14,-3.14,Qb+1]),e=Xb(r)&&r[0]===1&&r[1]===3&&r[2]===-3&&r[3]===Kb}catch{e=!1}return e}$s.exports=rd});var Ws=c((J1,Ys)=>{"use strict";var ed=Gs();Ys.exports=ed});var Js=c((H1,Zs)=>{"use strict";var td=typeof Int16Array=="function"?Int16Array:void 0;Zs.exports=td});var Xs=c((X1,Hs)=>{"use strict";function nd(){throw new Error("not implemented")}Hs.exports=nd});var Ks=c((Q1,Qs)=>{"use strict";var id=Ws(),ad=Js(),od=Xs(),dt;id()?dt=ad:dt=od;Qs.exports=dt});var eu=c((K1,ru)=>{"use strict";var sd=J(),ud=typeof Uint8Array=="function";function fd(e){return ud&&e instanceof Uint8Array||sd(e)==="[object Uint8Array]"}ru.exports=fd});var nu=c((rq,tu)=>{"use strict";var ld=eu();tu.exports=ld});var au=c((eq,iu)=>{"use strict";var cd=255;iu.exports=cd});var su=c((tq,ou)=>{"use strict";var pd=typeof Uint8Array=="function"?Uint8Array:null;ou.exports=pd});var lu=c((nq,fu)=>{"use strict";var yd=nu(),wt=au(),uu=su();function md(){var e,r;if(typeof uu!="function")return!1;try{r=[1,3.14,-3.14,wt+1,wt+2],r=new uu(r),e=yd(r)&&r[0]===1&&r[1]===3&&r[2]===wt-2&&r[3]===0&&r[4]===1}catch{e=!1}return e}fu.exports=md});var pu=c((iq,cu)=>{"use strict";var hd=lu();cu.exports=hd});var mu=c((aq,yu)=>{"use strict";var gd=typeof Uint8Array=="function"?Uint8Array:void 0;yu.exports=gd});var gu=c((oq,hu)=>{"use strict";function vd(){throw new Error("not implemented")}hu.exports=vd});var xt=c((sq,vu)=>{"use strict";var bd=pu(),dd=mu(),wd=gu(),At;bd()?At=dd:At=wd;vu.exports=At});var du=c((uq,bu)=>{"use strict";var Ad=J(),xd=typeof Uint8ClampedArray=="function";function Ed(e){return xd&&e instanceof Uint8ClampedArray||Ad(e)==="[object Uint8ClampedArray]"}bu.exports=Ed});var Au=c((fq,wu)=>{"use strict";var Sd=du();wu.exports=Sd});var Eu=c((lq,xu)=>{"use strict";var Td=typeof Uint8ClampedArray=="function"?Uint8ClampedArray:null;xu.exports=Td});var _u=c((cq,Tu)=>{"use strict";var _d=Au(),Su=Eu();function qd(){var e,r;if(typeof Su!="function")return!1;try{r=new Su([-1,0,1,3.14,4.99,255,256]),e=_d(r)&&r[0]===0&&r[1]===0&&r[2]===1&&r[3]===3&&r[4]===5&&r[5]===255&&r[6]===255}catch{e=!1}return e}Tu.exports=qd});var Iu=c((pq,qu)=>{"use strict";var Id=_u();qu.exports=Id});var Nu=c((yq,Du)=>{"use strict";var Dd=typeof Uint8ClampedArray=="function"?Uint8ClampedArray:void 0;Du.exports=Dd});var Ou=c((mq,Bu)=>{"use strict";function Nd(){throw new Error("not implemented")}Bu.exports=Nd});var Uu=c((hq,Vu)=>{"use strict";var Bd=Iu(),Od=Nu(),Vd=Ou(),Et;Bd()?Et=Od:Et=Vd;Vu.exports=Et});var Fu=c((gq,zu)=>{"use strict";var Ud=J(),zd=typeof Int8Array=="function";function Fd(e){return zd&&e instanceof Int8Array||Ud(e)==="[object Int8Array]"}zu.exports=Fd});var Cu=c((vq,Ru)=>{"use strict";var Rd=Fu();Ru.exports=Rd});var Lu=c((bq,ju)=>{"use strict";var Cd=127;ju.exports=Cd});var ku=c((dq,Mu)=>{"use strict";var jd=-128;Mu.exports=jd});var $u=c((wq,Pu)=>{"use strict";var Ld=typeof Int8Array=="function"?Int8Array:null;Pu.exports=Ld});var Wu=c((Aq,Yu)=>{"use strict";var Md=Cu(),kd=Lu(),Pd=ku(),Gu=$u();function $d(){var e,r;if(typeof Gu!="function")return!1;try{r=new Gu([1,3.14,-3.14,kd+1]),e=Md(r)&&r[0]===1&&r[1]===3&&r[2]===-3&&r[3]===Pd}catch{e=!1}return e}Yu.exports=$d});var Ju=c((xq,Zu)=>{"use strict";var Gd=Wu();Zu.exports=Gd});var Xu=c((Eq,Hu)=>{"use strict";var Yd=typeof Int8Array=="function"?Int8Array:void 0;Hu.exports=Yd});var Ku=c((Sq,Qu)=>{"use strict";function Wd(){throw new Error("not implemented")}Qu.exports=Wd});var ef=c((Tq,rf)=>{"use strict";var Zd=Ju(),Jd=Xu(),Hd=Ku(),St;Zd()?St=Jd:St=Hd;rf.exports=St});var Tt=c((_q,tf)=>{"use strict";function Xd(e){return typeof e=="number"}tf.exports=Xd});var af=c((qq,nf)=>{"use strict";nf.exports=Number});var be=c((Iq,of)=>{"use strict";var Qd=af();of.exports=Qd});var uf=c((Dq,sf)=>{"use strict";var Kd=be(),rw=Kd.prototype.toString;sf.exports=rw});var lf=c((Nq,ff)=>{"use strict";var ew=uf();function tw(e){try{return ew.call(e),!0}catch{return!1}}ff.exports=tw});var _t=c((Bq,cf)=>{"use strict";var nw=$r(),iw=J(),aw=be(),ow=lf(),sw=nw();function uw(e){return typeof e=="object"?e instanceof aw?!0:sw?ow(e):iw(e)==="[object Number]":!1}cf.exports=uw});var yf=c((Oq,pf)=>{"use strict";var fw=Tt(),lw=_t();function cw(e){return fw(e)||lw(e)}pf.exports=cw});var Wr=c((Vq,hf)=>{"use strict";var mf=W(),qt=yf(),pw=Tt(),yw=_t();mf(qt,"isPrimitive",pw);mf(qt,"isObject",yw);hf.exports=qt});var vf=c((Uq,gf)=>{"use strict";var mw=be(),hw=mw.NEGATIVE_INFINITY;gf.exports=hw});var df=c((zq,bf)=>{"use strict";var gw=Math.floor;bf.exports=gw});var Zr=c((Fq,wf)=>{"use strict";var vw=df();wf.exports=vw});var xf=c((Rq,Af)=>{"use strict";var bw=Zr();function dw(e){return bw(e)===e}Af.exports=dw});var Nr=c((Cq,Ef)=>{"use strict";var ww=xf();Ef.exports=ww});var It=c((jq,Sf)=>{"use strict";var Aw=pt(),xw=vf(),Ew=Nr();function Sw(e){return e<Aw&&e>xw&&Ew(e)}Sf.exports=Sw});var Dt=c((Lq,Tf)=>{"use strict";var Tw=Wr().isPrimitive,_w=It();function qw(e){return Tw(e)&&_w(e)}Tf.exports=qw});var Nt=c((Mq,_f)=>{"use strict";var Iw=Wr().isObject,Dw=It();function Nw(e){return Iw(e)&&Dw(e.valueOf())}_f.exports=Nw});var If=c((kq,qf)=>{"use strict";var Bw=Dt(),Ow=Nt();function Vw(e){return Bw(e)||Ow(e)}qf.exports=Vw});var de=c((Pq,Nf)=>{"use strict";var Df=W(),Bt=If(),Uw=Dt(),zw=Nt();Df(Bt,"isPrimitive",Uw);Df(Bt,"isObject",zw);Nf.exports=Bt});var Ot=c(($q,Bf)=>{"use strict";var Fw=de().isPrimitive;function Rw(e){return Fw(e)&&e>=0}Bf.exports=Rw});var Vt=c((Gq,Of)=>{"use strict";var Cw=de().isObject;function jw(e){return Cw(e)&&e.valueOf()>=0}Of.exports=jw});var Uf=c((Yq,Vf)=>{"use strict";var Lw=Ot(),Mw=Vt();function kw(e){return Lw(e)||Mw(e)}Vf.exports=kw});var we=c((Wq,Ff)=>{"use strict";var zf=W(),Ut=Uf(),Pw=Ot(),$w=Vt();zf(Ut,"isPrimitive",Pw);zf(Ut,"isObject",$w);Ff.exports=Ut});var Cf=c((Zq,Rf)=>{"use strict";var Gw=4294967295;Rf.exports=Gw});var Lf=c((Jq,jf)=>{"use strict";var Yw=Nr(),Ww=Cf();function Zw(e){return typeof e=="object"&&e!==null&&typeof e.length=="number"&&Yw(e.length)&&e.length>=0&&e.length<=Ww}jf.exports=Zw});var Br=c((Hq,Mf)=>{"use strict";var Jw=Lf();Mf.exports=Jw});var Pf=c((Xq,kf)=>{"use strict";var Hw=9007199254740991;kf.exports=Hw});var Gf=c((Qq,$f)=>{"use strict";var Xw=Nr(),Qw=Pf();function Kw(e){return typeof e=="object"&&e!==null&&typeof e.length=="number"&&Xw(e.length)&&e.length>=0&&e.length<=Qw}$f.exports=Kw});var Jr=c((Kq,Yf)=>{"use strict";var rA=Gf();Yf.exports=rA});var Zf=c((rI,Wf)=>{"use strict";var eA=J(),tA=typeof ArrayBuffer=="function";function nA(e){return tA&&e instanceof ArrayBuffer||eA(e)==="[object ArrayBuffer]"}Wf.exports=nA});var Ae=c((eI,Jf)=>{"use strict";var iA=Zf();Jf.exports=iA});var Xf=c((tI,Hf)=>{"use strict";var aA=Cr();function oA(e){return typeof e=="object"&&e!==null&&!aA(e)}Hf.exports=oA});var xe=c((nI,Qf)=>{"use strict";var sA=Xf();Qf.exports=sA});var zt=c((iI,Kf)=>{"use strict";function uA(e){return typeof e=="string"}Kf.exports=uA});var el=c((aI,rl)=>{"use strict";var fA=String.prototype.valueOf;rl.exports=fA});var nl=c((oI,tl)=>{"use strict";var lA=el();function cA(e){try{return lA.call(e),!0}catch{return!1}}tl.exports=cA});var Ft=c((sI,il)=>{"use strict";var pA=$r(),yA=J(),mA=nl(),hA=pA();function gA(e){return typeof e=="object"?e instanceof String?!0:hA?mA(e):yA(e)==="[object String]":!1}il.exports=gA});var ol=c((uI,al)=>{"use strict";var vA=zt(),bA=Ft();function dA(e){return vA(e)||bA(e)}al.exports=dA});var Hr=c((fI,ul)=>{"use strict";var sl=W(),Rt=ol(),wA=zt(),AA=Ft();sl(Rt,"isPrimitive",wA);sl(Rt,"isObject",AA);ul.exports=Rt});var Ee=c((lI,ll)=>{"use strict";var fl=W(),Ct=st(),jt=Hr(),xA=Ct(jt.isPrimitive),EA=Ct(jt.isObject),Lt=Ct(jt);fl(Lt,"primitives",xA);fl(Lt,"objects",EA);ll.exports=Lt});var pl=c((cI,cl)=>{"use strict";var SA=/./;cl.exports=SA});var Mt=c((pI,yl)=>{"use strict";function TA(e){return typeof e=="boolean"}yl.exports=TA});var hl=c((yI,ml)=>{"use strict";var _A=Boolean;ml.exports=_A});var jr=c((mI,gl)=>{"use strict";var qA=hl();gl.exports=qA});var bl=c((hI,vl)=>{"use strict";var IA=Boolean.prototype.toString;vl.exports=IA});var wl=c((gI,dl)=>{"use strict";var DA=bl();function NA(e){try{return DA.call(e),!0}catch{return!1}}dl.exports=NA});var kt=c((vI,Al)=>{"use strict";var BA=$r(),OA=J(),VA=jr(),UA=wl(),zA=BA();function FA(e){return typeof e=="object"?e instanceof VA?!0:zA?UA(e):OA(e)==="[object Boolean]":!1}Al.exports=FA});var El=c((bI,xl)=>{"use strict";var RA=Mt(),CA=kt();function jA(e){return RA(e)||CA(e)}xl.exports=jA});var $t=c((dI,Tl)=>{"use strict";var Sl=W(),Pt=El(),LA=Mt(),MA=kt();Sl(Pt,"isPrimitive",LA);Sl(Pt,"isObject",MA);Tl.exports=Pt});var ql=c((wI,_l)=>{"use strict";function kA(){return new Function("return this;")()}_l.exports=kA});var Dl=c((AI,Il)=>{"use strict";var PA=typeof self=="object"?self:null;Il.exports=PA});var Bl=c((xI,Nl)=>{"use strict";var $A=typeof window=="object"?window:null;Nl.exports=$A});var Vl=c((EI,Ol)=>{"use strict";var GA=typeof globalThis=="object"?globalThis:null;Ol.exports=GA});var Cl=c((SI,Rl)=>{"use strict";var YA=$t().isPrimitive,WA=Z(),ZA=ql(),Ul=Dl(),zl=Bl(),Fl=Vl();function JA(e){if(arguments.length){if(!YA(e))throw new TypeError(WA("invalid argument. Must provide a boolean. Value: `%s`.",e));if(e)return ZA()}if(Fl)return Fl;if(Ul)return Ul;if(zl)return zl;throw new Error("unexpected error. Unable to resolve global object.")}Rl.exports=JA});var Ml=c((TI,Ll)=>{"use strict";var HA=Cl(),jl=HA(),XA=jl.document&&jl.document.childNodes;Ll.exports=XA});var Pl=c((_I,kl)=>{"use strict";var QA=Int8Array;kl.exports=QA});var Gl=c((qI,$l)=>{"use strict";var KA=pl(),r0=Ml(),e0=Pl();function t0(){return typeof KA=="function"||typeof e0=="object"||typeof r0=="function"}$l.exports=t0});var Wl=c((II,Yl)=>{"use strict";var n0=ge();function i0(e){var r;return e===null?"null":(r=typeof e,r==="object"?n0(e).toLowerCase():r)}Yl.exports=i0});var Jl=c((DI,Zl)=>{"use strict";var a0=ge();function o0(e){return a0(e).toLowerCase()}Zl.exports=o0});var Xl=c((NI,Hl)=>{"use strict";var s0=Gl(),u0=Wl(),f0=Jl(),l0=s0()?f0:u0;Hl.exports=l0});var Kl=c((BI,Ql)=>{"use strict";var c0=Xl();function p0(e){return c0(e)==="function"}Ql.exports=p0});var Se=c((OI,rc)=>{"use strict";var y0=Kl();rc.exports=y0});var tc=c((VI,ec)=>{"use strict";function m0(){var e=""+this.re;return this.im<0?e+=" - "+-this.im:e+=" + "+this.im,e+="i",e}ec.exports=m0});var ic=c((UI,nc)=>{"use strict";function h0(){var e={};return e.type="Complex128",e.re=this.re,e.im=this.im,e}nc.exports=h0});var fc=c((zI,uc)=>{"use strict";var ac=Wr().isPrimitive,oc=kr(),Xr=W(),sc=Z(),g0=tc(),v0=ic();function Or(e,r){if(!(this instanceof Or))throw new TypeError("invalid invocation. Constructor must be called with the `new` keyword.");if(!ac(e))throw new TypeError(sc("invalid argument. Real component must be a number. Value: `%s`.",e));if(!ac(r))throw new TypeError(sc("invalid argument. Imaginary component must be a number. Value: `%s`.",r));return oc(this,"re",{configurable:!1,enumerable:!0,writable:!1,value:e}),oc(this,"im",{configurable:!1,enumerable:!0,writable:!1,value:r}),this}Xr(Or,"BYTES_PER_ELEMENT",8);Xr(Or.prototype,"BYTES_PER_ELEMENT",8);Xr(Or.prototype,"byteLength",16);Xr(Or.prototype,"toString",g0);Xr(Or.prototype,"toJSON",v0);uc.exports=Or});var Gt=c((FI,lc)=>{"use strict";var b0=fc();lc.exports=b0});var pc=c((RI,cc)=>{"use strict";var d0=typeof Math.fround=="function"?Math.fround:null;cc.exports=d0});var hc=c((CI,mc)=>{"use strict";var w0=Yr(),yc=new w0(1);function A0(e){return yc[0]=e,yc[0]}mc.exports=A0});var bc=c((jI,vc)=>{"use strict";var gc=pc(),x0=hc(),Yt;typeof gc=="function"?Yt=gc:Yt=x0;vc.exports=Yt});var wc=c((LI,dc)=>{"use strict";function E0(){var e=""+this.re;return this.im<0?e+=" - "+-this.im:e+=" + "+this.im,e+="i",e}dc.exports=E0});var xc=c((MI,Ac)=>{"use strict";function S0(){var e={};return e.type="Complex64",e.re=this.re,e.im=this.im,e}Ac.exports=S0});var Ic=c((kI,qc)=>{"use strict";var Ec=Wr().isPrimitive,Sc=kr(),Qr=W(),Tc=bc(),_c=Z(),T0=wc(),_0=xc();function Vr(e,r){if(!(this instanceof Vr))throw new TypeError("invalid invocation. Constructor must be called with the `new` keyword.");if(!Ec(e))throw new TypeError(_c("invalid argument. Real component must be a number. Value: `%s`.",e));if(!Ec(r))throw new TypeError(_c("invalid argument. Imaginary component must be a number. Value: `%s`.",r));return Sc(this,"re",{configurable:!1,enumerable:!0,writable:!1,value:Tc(e)}),Sc(this,"im",{configurable:!1,enumerable:!0,writable:!1,value:Tc(r)}),this}Qr(Vr,"BYTES_PER_ELEMENT",4);Qr(Vr.prototype,"BYTES_PER_ELEMENT",4);Qr(Vr.prototype,"byteLength",8);Qr(Vr.prototype,"toString",T0);Qr(Vr.prototype,"toJSON",_0);qc.exports=Vr});var Wt=c((PI,Dc)=>{"use strict";var q0=Ic();Dc.exports=q0});var Bc=c(($I,Nc)=>{"use strict";var I0=Gt(),D0=Wt();function N0(e){return e instanceof I0||e instanceof D0?!0:typeof e=="object"&&e!==null&&typeof e.re=="number"&&typeof e.im=="number"}Nc.exports=N0});var br=c((GI,Oc)=>{"use strict";var B0=Bc();Oc.exports=B0});var Uc=c((YI,Vc)=>{"use strict";var O0=Nr();function V0(e){return O0(e/2)}Vc.exports=V0});var Zt=c((WI,zc)=>{"use strict";var U0=Uc();zc.exports=U0});var Rc=c((ZI,Fc)=>{"use strict";var z0=8;function F0(e){return typeof e=="object"&&e!==null&&e.constructor.name==="Complex64Array"&&e.BYTES_PER_ELEMENT===z0}Fc.exports=F0});var Jt=c((JI,Cc)=>{"use strict";var R0=Rc();Cc.exports=R0});var Lc=c((HI,jc)=>{"use strict";var C0=16;function j0(e){return typeof e=="object"&&e!==null&&e.constructor.name==="Complex128Array"&&e.BYTES_PER_ELEMENT===C0}jc.exports=j0});var Ht=c((XI,Mc)=>{"use strict";var L0=Lc();Mc.exports=L0});var Pc=c((QI,kc)=>{"use strict";var M0=tt(),Te=nt();function k0(){return typeof Te=="function"&&typeof Te("foo")=="symbol"&&M0(Te,"iterator")&&typeof Te.iterator=="symbol"}kc.exports=k0});var Kr=c((KI,$c)=>{"use strict";var P0=Pc();$c.exports=P0});var Yc=c((r6,Gc)=>{"use strict";var $0=Kr(),G0=$0()?Symbol.iterator:null;Gc.exports=G0});var _e=c((e6,Wc)=>{"use strict";var Y0=Yc();Wc.exports=Y0});var Jc=c((t6,Zc)=>{"use strict";var W0=kr();function Z0(e,r,t){W0(e,r,{configurable:!1,enumerable:!1,get:t})}Zc.exports=Z0});var qe=c((n6,Hc)=>{"use strict";var J0=Jc();Hc.exports=J0});var Qc=c((i6,Xc)=>{"use strict";function H0(e){return e.re}Xc.exports=H0});var re=c((a6,Kc)=>{"use strict";var X0=Qc();Kc.exports=X0});var ep=c((o6,rp)=>{"use strict";function Q0(e){return e.im}rp.exports=Q0});var ee=c((s6,tp)=>{"use strict";var K0=ep();tp.exports=K0});var ip=c((u6,np)=>{"use strict";var rx=Yr();function ex(e,r){return new rx(e.buffer,e.byteOffset+e.BYTES_PER_ELEMENT*r,2*(e.length-r))}np.exports=ex});var Xt=c((f6,ap)=>{"use strict";var tx=ip();ap.exports=tx});var sp=c((l6,op)=>{"use strict";var nx=ve();function ix(e,r){return new nx(e.buffer,e.byteOffset+e.BYTES_PER_ELEMENT*r,2*(e.length-r))}op.exports=ix});var Qt=c((c6,up)=>{"use strict";var ax=sp();up.exports=ax});var lp=c((p6,fp)=>{"use strict";var ox=Br(),sx=br(),ux=re(),fx=ee(),lx=Z();function cx(e){var r,t,n;for(r=[];t=e.next(),!t.done;)if(n=t.value,ox(n)&&n.length>=2)r.push(n[0],n[1]);else if(sx(n))r.push(ux(n),fx(n));else return new TypeError(lx("invalid argument. An iterator must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",n));return r}fp.exports=cx});var pp=c((y6,cp)=>{"use strict";var px=Br(),yx=br(),mx=re(),hx=ee(),gx=Z();function vx(e,r,t){var n,i,a,s;for(n=[],s=-1;i=e.next(),!i.done;)if(s+=1,a=r.call(t,i.value,s),px(a)&&a.length>=2)n.push(a[0],a[1]);else if(yx(a))n.push(mx(a),hx(a));else return new TypeError(gx("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",a));return n}cp.exports=vx});var mp=c((m6,yp)=>{"use strict";var bx=br(),dx=re(),wx=ee();function Ax(e,r){var t,n,i,a;for(t=r.length,a=0,i=0;i<t;i++){if(n=r[i],!bx(n))return null;e[a]=dx(n),e[a+1]=wx(n),a+=2}return e}yp.exports=Ax});var Ap=c((h6,wp)=>{"use strict";var te=we().isPrimitive,Kt=Br(),rn=Jr(),hp=Ae(),en=xe(),xx=Cr(),Ex=Ee().primitives,gp=Hr().isPrimitive,$=Se(),ir=br(),Ie=Zt(),Q=Nr(),Sx=Jt(),Tx=Ht(),_x=Kr(),yr=_e(),I=W(),De=qe(),nr=Yr(),qx=Wt(),x=Z(),ur=re(),fr=ee(),Ix=Zr(),Dx=Xt(),Nx=Qt(),Bx=Pr(),Ox=Rr(),vp=lp(),Vx=pp(),Ux=mp(),rr=nr.BYTES_PER_ELEMENT*2,bp=_x();function V(e){return e instanceof T||typeof e=="object"&&e!==null&&(e.constructor.name==="Complex64Array"||e.constructor.name==="Complex128Array")&&typeof e._length=="number"&&typeof e._buffer=="object"}function dp(e){return e===T||e.name==="Complex128Array"}function j(e,r){return r*=2,new qx(e[r],e[r+1])}function T(){var e,r,t,n;if(r=arguments.length,!(this instanceof T))return r===0?new T:r===1?new T(arguments[0]):r===2?new T(arguments[0],arguments[1]):new T(arguments[0],arguments[1],arguments[2]);if(r===0)t=new nr(0);else if(r===1)if(te(arguments[0]))t=new nr(arguments[0]*2);else if(rn(arguments[0]))if(t=arguments[0],n=t.length,n&&xx(t)&&ir(t[0])){if(t=Ux(new nr(n*2),t),t===null){if(!Ie(n))throw new RangeError(x("invalid argument. Array-like object arguments must have a length which is a multiple of two. Length: `%u`.",n));t=new nr(arguments[0])}}else{if(Sx(t))t=Dx(t,0);else if(Tx(t))t=Nx(t,0);else if(!Ie(n))throw new RangeError(x("invalid argument. Array-like object and typed array arguments must have a length which is a multiple of two. Length: `%u`.",n));t=new nr(t)}else if(hp(arguments[0])){if(t=arguments[0],!Q(t.byteLength/rr))throw new RangeError(x("invalid argument. ArrayBuffer byte length must be a multiple of %u. Byte length: `%u`.",rr,t.byteLength));t=new nr(t)}else if(en(arguments[0])){if(t=arguments[0],bp===!1)throw new TypeError(x("invalid argument. Environment lacks Symbol.iterator support. Must provide a length, ArrayBuffer, typed array, or array-like object. Value: `%s`.",t));if(!$(t[yr]))throw new TypeError(x("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",t));if(t=t[yr](),!$(t.next))throw new TypeError(x("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",t));if(t=vp(t),t instanceof Error)throw t;t=new nr(t)}else throw new TypeError(x("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",arguments[0]));else{if(t=arguments[0],!hp(t))throw new TypeError(x("invalid argument. First argument must be an ArrayBuffer. Value: `%s`.",t));if(e=arguments[1],!te(e))throw new TypeError(x("invalid argument. Byte offset must be a nonnegative integer. Value: `%s`.",e));if(!Q(e/rr))throw new RangeError(x("invalid argument. Byte offset must be a multiple of %u. Value: `%u`.",rr,e));if(r===2){if(n=t.byteLength-e,!Q(n/rr))throw new RangeError(x("invalid arguments. ArrayBuffer view byte length must be a multiple of %u. View byte length: `%u`.",rr,n));t=new nr(t,e)}else{if(n=arguments[2],!te(n))throw new TypeError(x("invalid argument. Length must be a nonnegative integer. Value: `%s`.",n));if(n*rr>t.byteLength-e)throw new RangeError(x("invalid arguments. ArrayBuffer has insufficient capacity. Either decrease the array length or provide a bigger buffer. Minimum capacity: `%u`.",n*rr));t=new nr(t,e,n*2)}}return I(this,"_buffer",t),I(this,"_length",t.length/2),this}I(T,"BYTES_PER_ELEMENT",rr);I(T,"name","Complex64Array");I(T,"from",function(r){var t,n,i,a,s,o,f,u,l,p,y,m;if(!$(this))throw new TypeError("invalid invocation. `this` context must be a constructor.");if(!dp(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(n=arguments.length,n>1){if(i=arguments[1],!$(i))throw new TypeError(x("invalid argument. Second argument must be a function. Value: `%s`.",i));n>2&&(t=arguments[2])}if(V(r)){if(u=r.length,i){for(a=new this(u),s=a._buffer,m=0,y=0;y<u;y++){if(p=i.call(t,r.get(y),y),ir(p))s[m]=ur(p),s[m+1]=fr(p);else if(Kt(p)&&p.length>=2)s[m]=p[0],s[m+1]=p[1];else throw new TypeError(x("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",p));m+=2}return a}return new this(r)}if(rn(r)){if(i){for(u=r.length,r.get&&r.set?f=Ox("default"):f=Bx("default"),y=0;y<u;y++)if(!ir(f(r,y))){l=!0;break}if(l){if(!Ie(u))throw new RangeError(x("invalid argument. First argument must have a length which is a multiple of %u. Length: `%u`.",2,u));for(a=new this(u/2),s=a._buffer,y=0;y<u;y++)s[y]=i.call(t,f(r,y),y);return a}for(a=new this(u),s=a._buffer,m=0,y=0;y<u;y++){if(p=i.call(t,f(r,y),y),ir(p))s[m]=ur(p),s[m+1]=fr(p);else if(Kt(p)&&p.length>=2)s[m]=p[0],s[m+1]=p[1];else throw new TypeError(x("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",p));m+=2}return a}return new this(r)}if(en(r)&&bp&&$(r[yr])){if(s=r[yr](),!$(s.next))throw new TypeError(x("invalid argument. First argument must be an array-like object or an iterable. Value: `%s`.",r));if(i?o=Vx(s,i,t):o=vp(s),o instanceof Error)throw o;for(u=o.length/2,a=new this(u),s=a._buffer,y=0;y<u;y++)s[y]=o[y];return a}throw new TypeError(x("invalid argument. First argument must be an array-like object or an iterable. Value: `%s`.",r))});I(T,"of",function(){var r,t;if(!$(this))throw new TypeError("invalid invocation. `this` context must be a constructor.");if(!dp(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");for(r=[],t=0;t<arguments.length;t++)r.push(arguments[t]);return new this(r)});I(T.prototype,"at",function(r){if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Q(r))throw new TypeError(x("invalid argument. Must provide an integer. Value: `%s`.",r));if(r<0&&(r+=this._length),!(r<0||r>=this._length))return j(this._buffer,r)});De(T.prototype,"buffer",function(){return this._buffer.buffer});De(T.prototype,"byteLength",function(){return this._buffer.byteLength});De(T.prototype,"byteOffset",function(){return this._buffer.byteOffset});I(T.prototype,"BYTES_PER_ELEMENT",T.BYTES_PER_ELEMENT);I(T.prototype,"copyWithin",function(r,t){if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return arguments.length===2?this._buffer.copyWithin(r*2,t*2):this._buffer.copyWithin(r*2,t*2,arguments[2]*2),this});I(T.prototype,"entries",function(){var r,t,n,i,a,s;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return r=this,i=this._buffer,n=this._length,s=-1,t={},I(t,"next",o),I(t,"return",f),yr&&I(t,yr,u),t;function o(){return s+=1,a||s>=n?{done:!0}:{value:[s,j(i,s)],done:!1}}function f(l){return a=!0,arguments.length?{value:l,done:!0}:{done:!0}}function u(){return r.entries()}});I(T.prototype,"every",function(r,t){var n,i;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!$(r))throw new TypeError(x("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=0;i<this._length;i++)if(!r.call(t,j(n,i),i,this))return!1;return!0});I(T.prototype,"fill",function(r,t,n){var i,a,s,o,f,u;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!ir(r))throw new TypeError(x("invalid argument. First argument must be a complex number. Value: `%s`.",r));if(i=this._buffer,a=this._length,arguments.length>1){if(!Q(t))throw new TypeError(x("invalid argument. Second argument must be an integer. Value: `%s`.",t));if(t<0&&(t+=a,t<0&&(t=0)),arguments.length>2){if(!Q(n))throw new TypeError(x("invalid argument. Third argument must be an integer. Value: `%s`.",n));n<0&&(n+=a,n<0&&(n=0)),n>a&&(n=a)}else n=a}else t=0,n=a;for(o=ur(r),f=fr(r),u=t;u<n;u++)s=2*u,i[s]=o,i[s+1]=f;return this});I(T.prototype,"filter",function(r,t){var n,i,a,s;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!$(r))throw new TypeError(x("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=[],a=0;a<this._length;a++)s=j(n,a),r.call(t,s,a,this)&&i.push(s);return new this.constructor(i)});I(T.prototype,"find",function(r,t){var n,i,a;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!$(r))throw new TypeError(x("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=0;i<this._length;i++)if(a=j(n,i),r.call(t,a,i,this))return a});I(T.prototype,"findIndex",function(r,t){var n,i,a;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!$(r))throw new TypeError(x("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=0;i<this._length;i++)if(a=j(n,i),r.call(t,a,i,this))return i;return-1});I(T.prototype,"findLast",function(r,t){var n,i,a;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!$(r))throw new TypeError(x("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=this._length-1;i>=0;i--)if(a=j(n,i),r.call(t,a,i,this))return a});I(T.prototype,"findLastIndex",function(r,t){var n,i,a;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!$(r))throw new TypeError(x("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=this._length-1;i>=0;i--)if(a=j(n,i),r.call(t,a,i,this))return i;return-1});I(T.prototype,"forEach",function(r,t){var n,i,a;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!$(r))throw new TypeError(x("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=0;i<this._length;i++)a=j(n,i),r.call(t,a,i,this)});I(T.prototype,"get",function(r){if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!te(r))throw new TypeError(x("invalid argument. Must provide a nonnegative integer. Value: `%s`.",r));if(!(r>=this._length))return j(this._buffer,r)});I(T.prototype,"includes",function(r,t){var n,i,a,s,o;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!ir(r))throw new TypeError(x("invalid argument. First argument must be a complex number. Value: `%s`.",r));if(arguments.length>1){if(!Q(t))throw new TypeError(x("invalid argument. Second argument must be an integer. Value: `%s`.",t));t<0&&(t+=this._length,t<0&&(t=0))}else t=0;for(a=ur(r),s=fr(r),n=this._buffer,o=t;o<this._length;o++)if(i=2*o,a===n[i]&&s===n[i+1])return!0;return!1});I(T.prototype,"indexOf",function(r,t){var n,i,a,s,o;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!ir(r))throw new TypeError(x("invalid argument. First argument must be a complex number. Value: `%s`.",r));if(arguments.length>1){if(!Q(t))throw new TypeError(x("invalid argument. Second argument must be an integer. Value: `%s`.",t));t<0&&(t+=this._length,t<0&&(t=0))}else t=0;for(a=ur(r),s=fr(r),n=this._buffer,o=t;o<this._length;o++)if(i=2*o,a===n[i]&&s===n[i+1])return o;return-1});I(T.prototype,"join",function(r){var t,n,i,a;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(arguments.length===0)i=",";else if(gp(r))i=r;else throw new TypeError(x("invalid argument. First argument must be a string. Value: `%s`.",r));for(t=[],n=this._buffer,a=0;a<this._length;a++)t.push(j(n,a).toString());return t.join(i)});I(T.prototype,"keys",function(){var r,t,n,i,a;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return r=this,n=this._length,a=-1,t={},I(t,"next",s),I(t,"return",o),yr&&I(t,yr,f),t;function s(){return a+=1,i||a>=n?{done:!0}:{value:a,done:!1}}function o(u){return i=!0,arguments.length?{value:u,done:!0}:{done:!0}}function f(){return r.keys()}});I(T.prototype,"lastIndexOf",function(r,t){var n,i,a,s,o;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!ir(r))throw new TypeError(x("invalid argument. First argument must be a complex number. Value: `%s`.",r));if(arguments.length>1){if(!Q(t))throw new TypeError(x("invalid argument. Second argument must be an integer. Value: `%s`.",t));t>=this._length?t=this._length-1:t<0&&(t+=this._length)}else t=this._length-1;for(a=ur(r),s=fr(r),n=this._buffer,o=t;o>=0;o--)if(i=2*o,a===n[i]&&s===n[i+1])return o;return-1});De(T.prototype,"length",function(){return this._length});I(T.prototype,"map",function(r,t){var n,i,a,s,o;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!$(r))throw new TypeError(x("invalid argument. First argument must be a function. Value: `%s`.",r));for(i=this._buffer,a=new this.constructor(this._length),n=a._buffer,s=0;s<this._length;s++)if(o=r.call(t,j(i,s),s,this),ir(o))n[2*s]=ur(o),n[2*s+1]=fr(o);else if(Kt(o)&&o.length===2)n[2*s]=o[0],n[2*s+1]=o[1];else throw new TypeError(x("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",o));return a});I(T.prototype,"reduce",function(r,t){var n,i,a,s,o;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!$(r))throw new TypeError(x("invalid argument. First argument must be a function. Value: `%s`.",r));if(n=this._buffer,a=this._length,arguments.length>1)i=t,o=0;else{if(a===0)throw new Error("invalid operation. If not provided an initial value, an array must contain at least one element.");i=j(n,0),o=1}for(;o<a;o++)s=j(n,o),i=r(i,s,o,this);return i});I(T.prototype,"reduceRight",function(r,t){var n,i,a,s,o;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!$(r))throw new TypeError(x("invalid argument. First argument must be a function. Value: `%s`.",r));if(n=this._buffer,a=this._length,arguments.length>1)i=t,o=a-1;else{if(a===0)throw new Error("invalid operation. If not provided an initial value, an array must contain at least one element.");i=j(n,a-1),o=a-2}for(;o>=0;o--)s=j(n,o),i=r(i,s,o,this);return i});I(T.prototype,"reverse",function(){var r,t,n,i,a,s;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");for(n=this._length,r=this._buffer,i=Ix(n/2),a=0;a<i;a++)s=n-a-1,t=r[2*a],r[2*a]=r[2*s],r[2*s]=t,t=r[2*a+1],r[2*a+1]=r[2*s+1],r[2*s+1]=t;return this});I(T.prototype,"set",function(r){var t,n,i,a,s,o,f,u,l;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(i=this._buffer,arguments.length>1){if(n=arguments[1],!te(n))throw new TypeError(x("invalid argument. Index argument must be a nonnegative integer. Value: `%s`.",n))}else n=0;if(ir(r)){if(n>=this._length)throw new RangeError(x("invalid argument. Index argument is out-of-bounds. Value: `%u`.",n));n*=2,i[n]=ur(r),i[n+1]=fr(r);return}if(V(r)){if(o=r._length,n+o>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");if(t=r._buffer,l=i.byteOffset+n*rr,t.buffer===i.buffer&&t.byteOffset<l&&t.byteOffset+t.byteLength>l){for(a=new nr(t.length),u=0;u<t.length;u++)a[u]=t[u];t=a}for(n*=2,l=0,u=0;u<o;u++)i[n]=t[l],i[n+1]=t[l+1],n+=2,l+=2;return}if(rn(r)){for(o=r.length,u=0;u<o;u++)if(!ir(r[u])){s=!0;break}if(s){if(!Ie(o))throw new RangeError(x("invalid argument. Array-like object arguments must have a length which is a multiple of two. Length: `%u`.",o));if(n+o/2>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");if(t=r,l=i.byteOffset+n*rr,t.buffer===i.buffer&&t.byteOffset<l&&t.byteOffset+t.byteLength>l){for(a=new nr(o),u=0;u<o;u++)a[u]=t[u];t=a}for(n*=2,o/=2,l=0,u=0;u<o;u++)i[n]=t[l],i[n+1]=t[l+1],n+=2,l+=2;return}if(n+o>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");for(n*=2,u=0;u<o;u++)f=r[u],i[n]=ur(f),i[n+1]=fr(f),n+=2;return}throw new TypeError(x("invalid argument. First argument must be either a complex number, an array-like object, or a complex number array. Value: `%s`.",r))});I(T.prototype,"slice",function(r,t){var n,i,a,s,o,f,u;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(o=this._buffer,f=this._length,arguments.length===0)r=0,t=f;else{if(!Q(r))throw new TypeError(x("invalid argument. First argument must be an integer. Value: `%s`.",r));if(r<0&&(r+=f,r<0&&(r=0)),arguments.length===1)t=f;else{if(!Q(t))throw new TypeError(x("invalid argument. Second argument must be an integer. Value: `%s`.",t));t<0?(t+=f,t<0&&(t=0)):t>f&&(t=f)}}for(r<t?n=t-r:n=0,a=new this.constructor(n),i=a._buffer,u=0;u<n;u++)s=2*(u+r),i[2*u]=o[s],i[2*u+1]=o[s+1];return a});I(T.prototype,"some",function(r,t){var n,i;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!$(r))throw new TypeError(x("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=0;i<this._length;i++)if(r.call(t,j(n,i),i,this))return!0;return!1});I(T.prototype,"sort",function(r){var t,n,i,a,s;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!$(r))throw new TypeError(x("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=this._length,t=[],a=0;a<i;a++)t.push(j(n,a));for(t.sort(r),a=0;a<i;a++)s=2*a,n[s]=ur(t[a]),n[s+1]=fr(t[a]);return this});I(T.prototype,"subarray",function(r,t){var n,i,a;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(i=this._buffer,a=this._length,arguments.length===0)r=0,t=a;else{if(!Q(r))throw new TypeError(x("invalid argument. First argument must be an integer. Value: `%s`.",r));if(r<0&&(r+=a,r<0&&(r=0)),arguments.length===1)t=a;else{if(!Q(t))throw new TypeError(x("invalid argument. Second argument must be an integer. Value: `%s`.",t));t<0?(t+=a,t<0&&(t=0)):t>a&&(t=a)}}return r>=a?(a=0,n=i.byteLength):r>=t?(a=0,n=i.byteOffset+r*rr):(a=t-r,n=i.byteOffset+r*rr),new this.constructor(i.buffer,n,a<0?0:a)});I(T.prototype,"toLocaleString",function(r,t){var n,i,a,s,o;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(arguments.length===0)i=[];else if(gp(r)||Ex(r))i=r;else throw new TypeError(x("invalid argument. First argument must be a string or an array of strings. Value: `%s`.",r));if(arguments.length<2)n={};else if(en(t))n=t;else throw new TypeError(x("invalid argument. Options argument must be an object. Value: `%s`.",t));for(s=this._buffer,a=[],o=0;o<this._length;o++)a.push(j(s,o).toLocaleString(i,n));return a.join(",")});I(T.prototype,"toReversed",function(){var r,t,n,i,a,s;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");for(n=this._length,t=new this.constructor(n),i=this._buffer,r=t._buffer,a=0;a<n;a++)s=n-a-1,r[2*a]=i[2*s],r[2*a+1]=i[2*s+1];return t});I(T.prototype,"toSorted",function(r){var t,n,i,a;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!$(r))throw new TypeError(x("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=this._length,t=[],a=0;a<i;a++)t.push(j(n,a));return t.sort(r),new T(t)});I(T.prototype,"toString",function(){var r,t,n;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");for(r=[],t=this._buffer,n=0;n<this._length;n++)r.push(j(t,n).toString());return r.join(",")});I(T.prototype,"values",function(){var r,t,n,i,a,s;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return t=this,a=this._buffer,n=this._length,s=-1,r={},I(r,"next",o),I(r,"return",f),yr&&I(r,yr,u),r;function o(){return s+=1,i||s>=n?{done:!0}:{value:j(a,s),done:!1}}function f(l){return i=!0,arguments.length?{value:l,done:!0}:{done:!0}}function u(){return t.values()}});I(T.prototype,"with",function(r,t){var n,i,a;if(!V(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!Q(r))throw new TypeError(x("invalid argument. First argument must be an integer. Value: `%s`.",r));if(a=this._length,r<0&&(r+=a),r<0||r>=a)throw new RangeError(x("invalid argument. Index argument is out-of-bounds. Value: `%s`.",r));if(!ir(t))throw new TypeError(x("invalid argument. Second argument must be a complex number. Value: `%s`.",t));return i=new this.constructor(this._buffer),n=i._buffer,n[2*r]=ur(t),n[2*r+1]=fr(t),i});wp.exports=T});var Ep=c((g6,xp)=>{"use strict";var zx=Ap();xp.exports=zx});var Tp=c((v6,Sp)=>{"use strict";function Fx(e){return e.re}Sp.exports=Fx});var ne=c((b6,_p)=>{"use strict";var Rx=Tp();_p.exports=Rx});var Ip=c((d6,qp)=>{"use strict";function Cx(e){return e.im}qp.exports=Cx});var ie=c((w6,Dp)=>{"use strict";var jx=Ip();Dp.exports=jx});var Bp=c((A6,Np)=>{"use strict";var Lx=Br(),Mx=br(),kx=Z(),Px=ne(),$x=ie();function Gx(e){var r,t,n;for(r=[];t=e.next(),!t.done;)if(n=t.value,Lx(n)&&n.length>=2)r.push(n[0],n[1]);else if(Mx(n))r.push(Px(n),$x(n));else return new TypeError(kx("invalid argument. An iterator must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",n));return r}Np.exports=Gx});var Vp=c((x6,Op)=>{"use strict";var Yx=Br(),Wx=br(),Zx=Z(),Jx=ne(),Hx=ie();function Xx(e,r,t){var n,i,a,s;for(n=[],s=-1;i=e.next(),!i.done;)if(s+=1,a=r.call(t,i.value,s),Yx(a)&&a.length>=2)n.push(a[0],a[1]);else if(Wx(a))n.push(Jx(a),Hx(a));else return new TypeError(Zx("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",a));return n}Op.exports=Xx});var zp=c((E6,Up)=>{"use strict";var Qx=br(),Kx=ne(),rE=ie();function eE(e,r){var t,n,i,a;for(t=r.length,a=0,i=0;i<t;i++){if(n=r[i],!Qx(n))return null;e[a]=Kx(n),e[a+1]=rE(n),a+=2}return e}Up.exports=eE});var Pp=c((S6,kp)=>{"use strict";var ae=we().isPrimitive,tn=Br(),nn=Jr(),Fp=Ae(),an=xe(),tE=Cr(),nE=Ee().primitives,Rp=Hr(),G=Se(),or=br(),Ne=Zt(),K=Nr(),iE=Jt(),aE=Ht(),oE=Kr(),mr=_e(),D=W(),Be=qe(),ar=ve(),Cp=Gt(),lr=ne(),cr=ie(),sE=Zr(),uE=Xt(),fE=Qt(),lE=Pr(),cE=Rr(),E=Z(),jp=Bp(),pE=Vp(),yE=zp(),er=ar.BYTES_PER_ELEMENT*2,Lp=oE();function U(e){return e instanceof _||typeof e=="object"&&e!==null&&(e.constructor.name==="Complex64Array"||e.constructor.name==="Complex128Array")&&typeof e._length=="number"&&typeof e._buffer=="object"}function Mp(e){return e===_||e.name==="Complex64Array"}function L(e,r){return r*=2,new Cp(e[r],e[r+1])}function _(){var e,r,t,n;if(r=arguments.length,!(this instanceof _))return r===0?new _:r===1?new _(arguments[0]):r===2?new _(arguments[0],arguments[1]):new _(arguments[0],arguments[1],arguments[2]);if(r===0)t=new ar(0);else if(r===1)if(ae(arguments[0]))t=new ar(arguments[0]*2);else if(nn(arguments[0]))if(t=arguments[0],n=t.length,n&&tE(t)&&or(t[0])){if(t=yE(new ar(n*2),t),t===null){if(!Ne(n))throw new RangeError(E("invalid argument. Array-like object arguments must have a length which is a multiple of two. Length: `%u`.",n));t=new ar(arguments[0])}}else{if(iE(t))t=uE(t,0);else if(aE(t))t=fE(t,0);else if(!Ne(n))throw new RangeError(E("invalid argument. Array-like object and typed array arguments must have a length which is a multiple of two. Length: `%u`.",n));t=new ar(t)}else if(Fp(arguments[0])){if(t=arguments[0],!K(t.byteLength/er))throw new RangeError(E("invalid argument. ArrayBuffer byte length must be a multiple of %u. Byte length: `%u`.",er,t.byteLength));t=new ar(t)}else if(an(arguments[0])){if(t=arguments[0],Lp===!1)throw new TypeError(E("invalid argument. Environment lacks Symbol.iterator support. Must provide a length, ArrayBuffer, typed array, or array-like object. Value: `%s`.",t));if(!G(t[mr]))throw new TypeError(E("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",t));if(t=t[mr](),!G(t.next))throw new TypeError(E("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",t));if(t=jp(t),t instanceof Error)throw t;t=new ar(t)}else throw new TypeError(E("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",arguments[0]));else{if(t=arguments[0],!Fp(t))throw new TypeError(E("invalid argument. First argument must be an ArrayBuffer. Value: `%s`.",t));if(e=arguments[1],!ae(e))throw new TypeError(E("invalid argument. Byte offset must be a nonnegative integer. Value: `%s`.",e));if(!K(e/er))throw new RangeError(E("invalid argument. Byte offset must be a multiple of %u. Value: `%u`.",er,e));if(r===2){if(n=t.byteLength-e,!K(n/er))throw new RangeError(E("invalid arguments. ArrayBuffer view byte length must be a multiple of %u. View byte length: `%u`.",er,n));t=new ar(t,e)}else{if(n=arguments[2],!ae(n))throw new TypeError(E("invalid argument. Length must be a nonnegative integer. Value: `%s`.",n));if(n*er>t.byteLength-e)throw new RangeError(E("invalid arguments. ArrayBuffer has insufficient capacity. Either decrease the array length or provide a bigger buffer. Minimum capacity: `%u`.",n*er));t=new ar(t,e,n*2)}}return D(this,"_buffer",t),D(this,"_length",t.length/2),this}D(_,"BYTES_PER_ELEMENT",er);D(_,"name","Complex128Array");D(_,"from",function(r){var t,n,i,a,s,o,f,u,l,p,y,m;if(!G(this))throw new TypeError("invalid invocation. `this` context must be a constructor.");if(!Mp(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(n=arguments.length,n>1){if(i=arguments[1],!G(i))throw new TypeError(E("invalid argument. Second argument must be a function. Value: `%s`.",i));n>2&&(t=arguments[2])}if(U(r)){if(u=r.length,i){for(a=new this(u),s=a._buffer,m=0,y=0;y<u;y++){if(p=i.call(t,r.get(y),y),or(p))s[m]=lr(p),s[m+1]=cr(p);else if(tn(p)&&p.length>=2)s[m]=p[0],s[m+1]=p[1];else throw new TypeError(E("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",p));m+=2}return a}return new this(r)}if(nn(r)){if(i){for(u=r.length,r.get&&r.set?f=cE("default"):f=lE("default"),y=0;y<u;y++)if(!or(f(r,y))){l=!0;break}if(l){if(!Ne(u))throw new RangeError(E("invalid argument. First argument must have a length which is a multiple of two. Length: `%u`.",u));for(a=new this(u/2),s=a._buffer,y=0;y<u;y++)s[y]=i.call(t,f(r,y),y);return a}for(a=new this(u),s=a._buffer,m=0,y=0;y<u;y++){if(p=i.call(t,f(r,y),y),or(p))s[m]=lr(p),s[m+1]=cr(p);else if(tn(p)&&p.length>=2)s[m]=p[0],s[m+1]=p[1];else throw new TypeError(E("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",p));m+=2}return a}return new this(r)}if(an(r)&&Lp&&G(r[mr])){if(s=r[mr](),!G(s.next))throw new TypeError(E("invalid argument. First argument must be an array-like object or an iterable. Value: `%s`.",r));if(i?o=pE(s,i,t):o=jp(s),o instanceof Error)throw o;for(u=o.length/2,a=new this(u),s=a._buffer,y=0;y<u;y++)s[y]=o[y];return a}throw new TypeError(E("invalid argument. First argument must be an array-like object or an iterable. Value: `%s`.",r))});D(_,"of",function(){var r,t;if(!G(this))throw new TypeError("invalid invocation. `this` context must be a constructor.");if(!Mp(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");for(r=[],t=0;t<arguments.length;t++)r.push(arguments[t]);return new this(r)});D(_.prototype,"at",function(r){if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!K(r))throw new TypeError(E("invalid argument. Must provide an integer. Value: `%s`.",r));if(r<0&&(r+=this._length),!(r<0||r>=this._length))return L(this._buffer,r)});Be(_.prototype,"buffer",function(){return this._buffer.buffer});Be(_.prototype,"byteLength",function(){return this._buffer.byteLength});Be(_.prototype,"byteOffset",function(){return this._buffer.byteOffset});D(_.prototype,"BYTES_PER_ELEMENT",_.BYTES_PER_ELEMENT);D(_.prototype,"copyWithin",function(r,t){if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return arguments.length===2?this._buffer.copyWithin(r*2,t*2):this._buffer.copyWithin(r*2,t*2,arguments[2]*2),this});D(_.prototype,"entries",function(){var r,t,n,i,a,s,o;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return t=this,r=this._buffer,i=this._length,s=-1,o=-2,n={},D(n,"next",f),D(n,"return",u),mr&&D(n,mr,l),n;function f(){var p;return s+=1,a||s>=i?{done:!0}:(o+=2,p=new Cp(r[o],r[o+1]),{value:[s,p],done:!1})}function u(p){return a=!0,arguments.length?{value:p,done:!0}:{done:!0}}function l(){return t.entries()}});D(_.prototype,"every",function(r,t){var n,i;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!G(r))throw new TypeError(E("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=0;i<this._length;i++)if(!r.call(t,L(n,i),i,this))return!1;return!0});D(_.prototype,"fill",function(r,t,n){var i,a,s,o,f,u;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!or(r))throw new TypeError(E("invalid argument. First argument must be a complex number. Value: `%s`.",r));if(i=this._buffer,a=this._length,arguments.length>1){if(!K(t))throw new TypeError(E("invalid argument. Second argument must be an integer. Value: `%s`.",t));if(t<0&&(t+=a,t<0&&(t=0)),arguments.length>2){if(!K(n))throw new TypeError(E("invalid argument. Third argument must be an integer. Value: `%s`.",n));n<0&&(n+=a,n<0&&(n=0)),n>a&&(n=a)}else n=a}else t=0,n=a;for(o=lr(r),f=cr(r),u=t;u<n;u++)s=2*u,i[s]=o,i[s+1]=f;return this});D(_.prototype,"filter",function(r,t){var n,i,a,s;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!G(r))throw new TypeError(E("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=[],a=0;a<this._length;a++)s=L(n,a),r.call(t,s,a,this)&&i.push(s);return new this.constructor(i)});D(_.prototype,"find",function(r,t){var n,i,a;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!G(r))throw new TypeError(E("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=0;i<this._length;i++)if(a=L(n,i),r.call(t,a,i,this))return a});D(_.prototype,"findIndex",function(r,t){var n,i,a;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!G(r))throw new TypeError(E("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=0;i<this._length;i++)if(a=L(n,i),r.call(t,a,i,this))return i;return-1});D(_.prototype,"findLast",function(r,t){var n,i,a;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!G(r))throw new TypeError(E("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=this._length-1;i>=0;i--)if(a=L(n,i),r.call(t,a,i,this))return a});D(_.prototype,"findLastIndex",function(r,t){var n,i,a;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!G(r))throw new TypeError(E("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=this._length-1;i>=0;i--)if(a=L(n,i),r.call(t,a,i,this))return i;return-1});D(_.prototype,"forEach",function(r,t){var n,i,a;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!G(r))throw new TypeError(E("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=0;i<this._length;i++)a=L(n,i),r.call(t,a,i,this)});D(_.prototype,"get",function(r){if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!ae(r))throw new TypeError(E("invalid argument. Must provide a nonnegative integer. Value: `%s`.",r));if(!(r>=this._length))return L(this._buffer,r)});Be(_.prototype,"length",function(){return this._length});D(_.prototype,"includes",function(r,t){var n,i,a,s,o;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!or(r))throw new TypeError(E("invalid argument. First argument must be a complex number. Value: `%s`.",r));if(arguments.length>1){if(!K(t))throw new TypeError(E("invalid argument. Second argument must be an integer. Value: `%s`.",t));t<0&&(t+=this._length,t<0&&(t=0))}else t=0;for(a=lr(r),s=cr(r),n=this._buffer,o=t;o<this._length;o++)if(i=2*o,a===n[i]&&s===n[i+1])return!0;return!1});D(_.prototype,"indexOf",function(r,t){var n,i,a,s,o;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!or(r))throw new TypeError(E("invalid argument. First argument must be a complex number. Value: `%s`.",r));if(arguments.length>1){if(!K(t))throw new TypeError(E("invalid argument. Second argument must be an integer. Value: `%s`.",t));t<0&&(t+=this._length,t<0&&(t=0))}else t=0;for(a=lr(r),s=cr(r),n=this._buffer,o=t;o<this._length;o++)if(i=2*o,a===n[i]&&s===n[i+1])return o;return-1});D(_.prototype,"join",function(r){var t,n,i,a;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(arguments.length===0)i=",";else if(Rp(r))i=r;else throw new TypeError(E("invalid argument. First argument must be a string. Value: `%s`.",r));for(t=[],n=this._buffer,a=0;a<this._length;a++)t.push(L(n,a).toString());return t.join(i)});D(_.prototype,"keys",function(){var r,t,n,i,a;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return r=this,n=this._length,a=-1,t={},D(t,"next",s),D(t,"return",o),mr&&D(t,mr,f),t;function s(){return a+=1,i||a>=n?{done:!0}:{value:a,done:!1}}function o(u){return i=!0,arguments.length?{value:u,done:!0}:{done:!0}}function f(){return r.keys()}});D(_.prototype,"lastIndexOf",function(r,t){var n,i,a,s,o;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!or(r))throw new TypeError(E("invalid argument. First argument must be a complex number. Value: `%s`.",r));if(arguments.length>1){if(!K(t))throw new TypeError(E("invalid argument. Second argument must be an integer. Value: `%s`.",t));t>=this._length?t=this._length-1:t<0&&(t+=this._length)}else t=this._length-1;for(a=lr(r),s=cr(r),n=this._buffer,o=t;o>=0;o--)if(i=2*o,a===n[i]&&s===n[i+1])return o;return-1});D(_.prototype,"map",function(r,t){var n,i,a,s,o;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!G(r))throw new TypeError(E("invalid argument. First argument must be a function. Value: `%s`.",r));for(i=this._buffer,a=new this.constructor(this._length),n=a._buffer,s=0;s<this._length;s++)if(o=r.call(t,L(i,s),s,this),or(o))n[2*s]=lr(o),n[2*s+1]=cr(o);else if(tn(o)&&o.length===2)n[2*s]=o[0],n[2*s+1]=o[1];else throw new TypeError(E("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",o));return a});D(_.prototype,"reduce",function(r,t){var n,i,a,s,o;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!G(r))throw new TypeError(E("invalid argument. First argument must be a function. Value: `%s`.",r));if(n=this._buffer,a=this._length,arguments.length>1)i=t,o=0;else{if(a===0)throw new Error("invalid operation. If not provided an initial value, an array must contain at least one element.");i=L(n,0),o=1}for(;o<a;o++)s=L(n,o),i=r(i,s,o,this);return i});D(_.prototype,"reduceRight",function(r,t){var n,i,a,s,o;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!G(r))throw new TypeError(E("invalid argument. First argument must be a function. Value: `%s`.",r));if(n=this._buffer,a=this._length,arguments.length>1)i=t,o=a-1;else{if(a===0)throw new Error("invalid operation. If not provided an initial value, an array must contain at least one element.");i=L(n,a-1),o=a-2}for(;o>=0;o--)s=L(n,o),i=r(i,s,o,this);return i});D(_.prototype,"reverse",function(){var r,t,n,i,a,s;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");for(n=this._length,r=this._buffer,i=sE(n/2),a=0;a<i;a++)s=n-a-1,t=r[2*a],r[2*a]=r[2*s],r[2*s]=t,t=r[2*a+1],r[2*a+1]=r[2*s+1],r[2*s+1]=t;return this});D(_.prototype,"set",function(r){var t,n,i,a,s,o,f,u,l;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(i=this._buffer,arguments.length>1){if(n=arguments[1],!ae(n))throw new TypeError(E("invalid argument. Index argument must be a nonnegative integer. Value: `%s`.",n))}else n=0;if(or(r)){if(n>=this._length)throw new RangeError(E("invalid argument. Index argument is out-of-bounds. Value: `%u`.",n));n*=2,i[n]=lr(r),i[n+1]=cr(r);return}if(U(r)){if(o=r._length,n+o>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");if(t=r._buffer,l=i.byteOffset+n*er,t.buffer===i.buffer&&t.byteOffset<l&&t.byteOffset+t.byteLength>l){for(a=new ar(t.length),u=0;u<t.length;u++)a[u]=t[u];t=a}for(n*=2,l=0,u=0;u<o;u++)i[n]=t[l],i[n+1]=t[l+1],n+=2,l+=2;return}if(nn(r)){for(o=r.length,u=0;u<o;u++)if(!or(r[u])){s=!0;break}if(s){if(!Ne(o))throw new RangeError(E("invalid argument. Array-like object arguments must have a length which is a multiple of two. Length: `%u`.",o));if(n+o/2>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");if(t=r,l=i.byteOffset+n*er,t.buffer===i.buffer&&t.byteOffset<l&&t.byteOffset+t.byteLength>l){for(a=new ar(o),u=0;u<o;u++)a[u]=t[u];t=a}for(n*=2,o/=2,l=0,u=0;u<o;u++)i[n]=t[l],i[n+1]=t[l+1],n+=2,l+=2;return}if(n+o>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");for(n*=2,u=0;u<o;u++)f=r[u],i[n]=lr(f),i[n+1]=cr(f),n+=2;return}throw new TypeError(E("invalid argument. First argument must be either a complex number, an array-like object, or a complex number array. Value: `%s`.",r))});D(_.prototype,"slice",function(r,t){var n,i,a,s,o,f,u;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(o=this._buffer,f=this._length,arguments.length===0)r=0,t=f;else{if(!K(r))throw new TypeError(E("invalid argument. First argument must be an integer. Value: `%s`.",r));if(r<0&&(r+=f,r<0&&(r=0)),arguments.length===1)t=f;else{if(!K(t))throw new TypeError(E("invalid argument. Second argument must be an integer. Value: `%s`.",t));t<0?(t+=f,t<0&&(t=0)):t>f&&(t=f)}}for(r<t?n=t-r:n=0,a=new this.constructor(n),i=a._buffer,u=0;u<n;u++)s=2*(u+r),i[2*u]=o[s],i[2*u+1]=o[s+1];return a});D(_.prototype,"some",function(r,t){var n,i;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!G(r))throw new TypeError(E("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=0;i<this._length;i++)if(r.call(t,L(n,i),i,this))return!0;return!1});D(_.prototype,"sort",function(r){var t,n,i,a,s;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!G(r))throw new TypeError(E("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=this._length,t=[],a=0;a<i;a++)t.push(L(n,a));for(t.sort(r),a=0;a<i;a++)s=2*a,n[s]=lr(t[a]),n[s+1]=cr(t[a]);return this});D(_.prototype,"subarray",function(r,t){var n,i,a;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(i=this._buffer,a=this._length,arguments.length===0)r=0,t=a;else{if(!K(r))throw new TypeError(E("invalid argument. First argument must be an integer. Value: `%s`.",r));if(r<0&&(r+=a,r<0&&(r=0)),arguments.length===1)t=a;else{if(!K(t))throw new TypeError(E("invalid argument. Second argument must be an integer. Value: `%s`.",t));t<0?(t+=a,t<0&&(t=0)):t>a&&(t=a)}}return r>=a?(a=0,n=i.byteLength):r>=t?(a=0,n=i.byteOffset+r*er):(a=t-r,n=i.byteOffset+r*er),new this.constructor(i.buffer,n,a<0?0:a)});D(_.prototype,"toLocaleString",function(r,t){var n,i,a,s,o;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(arguments.length===0)i=[];else if(Rp(r)||nE(r))i=r;else throw new TypeError(E("invalid argument. First argument must be a string or an array of strings. Value: `%s`.",r));if(arguments.length<2)n={};else if(an(t))n=t;else throw new TypeError(E("invalid argument. Options argument must be an object. Value: `%s`.",t));for(s=this._buffer,a=[],o=0;o<this._length;o++)a.push(L(s,o).toLocaleString(i,n));return a.join(",")});D(_.prototype,"toReversed",function(){var r,t,n,i,a,s;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");for(n=this._length,t=new this.constructor(n),i=this._buffer,r=t._buffer,a=0;a<n;a++)s=n-a-1,r[2*a]=i[2*s],r[2*a+1]=i[2*s+1];return t});D(_.prototype,"toSorted",function(r){var t,n,i,a;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!G(r))throw new TypeError(E("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=this._length,t=[],a=0;a<i;a++)t.push(L(n,a));return t.sort(r),new _(t)});D(_.prototype,"toString",function(){var r,t,n;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");for(r=[],t=this._buffer,n=0;n<this._length;n++)r.push(L(t,n).toString());return r.join(",")});D(_.prototype,"values",function(){var r,t,n,i,a,s;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return t=this,a=this._buffer,n=this._length,s=-1,r={},D(r,"next",o),D(r,"return",f),mr&&D(r,mr,u),r;function o(){return s+=1,i||s>=n?{done:!0}:{value:L(a,s),done:!1}}function f(l){return i=!0,arguments.length?{value:l,done:!0}:{done:!0}}function u(){return t.values()}});D(_.prototype,"with",function(r,t){var n,i,a;if(!U(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!K(r))throw new TypeError(E("invalid argument. First argument must be an integer. Value: `%s`.",r));if(a=this._length,r<0&&(r+=a),r<0||r>=a)throw new RangeError(E("invalid argument. Index argument is out-of-bounds. Value: `%s`.",r));if(!or(t))throw new TypeError(E("invalid argument. Second argument must be a complex number. Value: `%s`.",t));return i=new this.constructor(this._buffer),n=i._buffer,n[2*r]=lr(t),n[2*r+1]=cr(t),i});kp.exports=_});var Gp=c((T6,$p)=>{"use strict";var mE=Pp();$p.exports=mE});var Wp=c((_6,Yp)=>{"use strict";var hE=jr();function gE(e){var r,t;for(r=[];t=e.next(),!t.done;)r.push(hE(t.value));return r}Yp.exports=gE});var Jp=c((q6,Zp)=>{"use strict";var vE=jr();function bE(e,r,t){var n,i,a;for(n=[],a=-1;i=e.next(),!i.done;)a+=1,n.push(vE(r.call(t,i.value,a)));return n}Zp.exports=bE});var Xp=c((I6,Hp)=>{"use strict";var dE=jr();function wE(e,r){var t,n;for(t=r.length,n=0;n<t;n++)e[n]=dE(r[n]);return e}Hp.exports=wE});var iy=c((D6,ny)=>{"use strict";var oe=we().isPrimitive,on=Jr(),Qp=Ae(),sn=xe(),Y=Se(),se=$t().isPrimitive,pr=de().isPrimitive,Kp=Hr().isPrimitive,AE=Ee().primitives,xE=Kr(),hr=_e(),N=W(),Oe=qe(),dr=xt(),R=jr(),EE=Pr(),SE=Zr(),TE=Rr(),B=Z(),ry=Wp(),_E=Jp(),qE=Xp(),Ur=dr.BYTES_PER_ELEMENT,ey=xE();function z(e){return typeof e=="object"&&e!==null&&e.constructor.name==="BooleanArray"&&e.BYTES_PER_ELEMENT===Ur}function ty(e){return e===q}function q(){var e,r,t,n,i;if(r=arguments.length,!(this instanceof q))return r===0?new q:r===1?new q(arguments[0]):r===2?new q(arguments[0],arguments[1]):new q(arguments[0],arguments[1],arguments[2]);if(r===0)t=new dr(0);else if(r===1)if(i=arguments[0],oe(i))t=new dr(i);else if(on(i))t=qE(new dr(i.length),i);else if(Qp(i))t=new dr(i);else if(sn(i)){if(ey===!1)throw new TypeError(B("invalid argument. Environment lacks Symbol.iterator support. Must provide a length, ArrayBuffer, typed array, or array-like object. Value: `%s`.",i));if(!Y(i[hr]))throw new TypeError(B("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",i));if(t=i[hr](),!Y(t.next))throw new TypeError(B("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",i));t=new dr(ry(t))}else throw new TypeError(B("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",i));else{if(t=arguments[0],!Qp(t))throw new TypeError(B("invalid argument. First argument must be an ArrayBuffer. Value: `%s`.",t));if(e=arguments[1],!oe(e))throw new TypeError(B("invalid argument. Byte offset must be a nonnegative integer. Value: `%s`.",e));if(r===2)t=new dr(t,e);else{if(n=arguments[2],!oe(n))throw new TypeError(B("invalid argument. Length must be a nonnegative integer. Value: `%s`.",n));if(n*Ur>t.byteLength-e)throw new RangeError(B("invalid arguments. ArrayBuffer has insufficient capacity. Either decrease the array length or provide a bigger buffer. Minimum capacity: `%u`.",n*Ur));t=new dr(t,e,n)}}return N(this,"_buffer",t),N(this,"_length",t.length),this}N(q,"BYTES_PER_ELEMENT",Ur);N(q,"name","BooleanArray");N(q,"from",function(r){var t,n,i,a,s,o,f,u,l;if(!Y(this))throw new TypeError("invalid invocation. `this` context must be a constructor.");if(!ty(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(n=arguments.length,n>1){if(i=arguments[1],!Y(i))throw new TypeError(B("invalid argument. Second argument must be a function. Value: `%s`.",i));n>2&&(t=arguments[2])}if(on(r)){if(i){for(u=r.length,r.get&&r.set?f=TE("default"):f=EE("default"),a=new this(u),s=a._buffer,l=0;l<u;l++)s[l]=R(i.call(t,f(r,l),l));return a}return new this(r)}if(sn(r)&&ey&&Y(r[hr])){if(s=r[hr](),!Y(s.next))throw new TypeError(B("invalid argument. First argument must be an array-like object or an iterable. Value: `%s`.",r));for(i?o=_E(s,i,t):o=ry(s),u=o.length,a=new this(u),s=a._buffer,l=0;l<u;l++)s[l]=o[l];return a}throw new TypeError(B("invalid argument. First argument must be an array-like object or an iterable. Value: `%s`.",r))});N(q,"of",function(){var r,t;if(!Y(this))throw new TypeError("invalid invocation. `this` context must be a constructor.");if(!ty(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");for(r=[],t=0;t<arguments.length;t++)r.push(arguments[t]);return new this(r)});N(q.prototype,"at",function(r){var t,n;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!pr(r))throw new TypeError(B("invalid argument. Must provide an integer. Value: `%s`.",r));if(n=this._length,t=this._buffer,r<0&&(r+=n),!(r<0||r>=n))return R(t[r])});Oe(q.prototype,"buffer",function(){return this._buffer.buffer});Oe(q.prototype,"byteLength",function(){return this._buffer.byteLength});Oe(q.prototype,"byteOffset",function(){return this._buffer.byteOffset});N(q.prototype,"BYTES_PER_ELEMENT",q.BYTES_PER_ELEMENT);N(q.prototype,"copyWithin",function(r,t){if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");return arguments.length===2?this._buffer.copyWithin(r,t):this._buffer.copyWithin(r,t,arguments[2]),this});N(q.prototype,"entries",function(){var r,t,n,i,a,s;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");return r=this,i=this._buffer,n=this._length,s=-1,t={},N(t,"next",o),N(t,"return",f),hr&&N(t,hr,u),t;function o(){return s+=1,a||s>=n?{done:!0}:{value:[s,R(i[s])],done:!1}}function f(l){return a=!0,arguments.length?{value:l,done:!0}:{done:!0}}function u(){return r.entries()}});N(q.prototype,"every",function(r,t){var n,i;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!Y(r))throw new TypeError(B("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=0;i<this._length;i++)if(!r.call(t,R(n[i]),i,this))return!1;return!0});N(q.prototype,"fill",function(r,t,n){var i,a,s,o;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!se(r))throw new TypeError(B("invalid argument. First argument must be a boolean. Value: `%s`.",r));if(i=this._buffer,a=this._length,arguments.length>1){if(!pr(t))throw new TypeError(B("invalid argument. Second argument must be an integer. Value: `%s`.",t));if(t<0&&(t+=a,t<0&&(t=0)),arguments.length>2){if(!pr(n))throw new TypeError(B("invalid argument. Third argument must be an integer. Value: `%s`.",n));n<0&&(n+=a,n<0&&(n=0)),n>a&&(n=a)}else n=a}else t=0,n=a;for(r?s=1:s=0,o=t;o<n;o++)i[o]=s;return this});N(q.prototype,"filter",function(r,t){var n,i,a,s;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!Y(r))throw new TypeError(B("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=[],a=0;a<this._length;a++)s=R(n[a]),r.call(t,s,a,this)&&i.push(s);return new this.constructor(i)});N(q.prototype,"find",function(r,t){var n,i,a;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!Y(r))throw new TypeError(B("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,a=0;a<this._length;a++)if(i=R(n[a]),r.call(t,i,a,this))return i});N(q.prototype,"findIndex",function(r,t){var n,i,a;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!Y(r))throw new TypeError(B("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,a=0;a<this._length;a++)if(i=R(n[a]),r.call(t,i,a,this))return a;return-1});N(q.prototype,"findLast",function(r,t){var n,i,a;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!Y(r))throw new TypeError(B("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,a=this._length-1;a>=0;a--)if(i=R(n[a]),r.call(t,i,a,this))return i});N(q.prototype,"findLastIndex",function(r,t){var n,i,a;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!Y(r))throw new TypeError(B("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,a=this._length-1;a>=0;a--)if(i=R(n[a]),r.call(t,i,a,this))return a;return-1});N(q.prototype,"forEach",function(r,t){var n,i;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!Y(r))throw new TypeError(B("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=0;i<this._length;i++)r.call(t,R(n[i]),i,this)});N(q.prototype,"get",function(r){if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!oe(r))throw new TypeError(B("invalid argument. Must provide a nonnegative integer. Value: `%s`.",r));if(!(r>=this._length))return R(this._buffer[r])});N(q.prototype,"includes",function(r,t){var n,i;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!se(r))throw new TypeError(B("invalid argument. First argument must be a boolean. Value: `%s`.",r));if(arguments.length>1){if(!pr(t))throw new TypeError(B("invalid argument. Second argument must be an integer. Value: `%s`.",t));t<0&&(t+=this._length,t<0&&(t=0))}else t=0;for(n=this._buffer,i=t;i<this._length;i++)if(r===R(n[i]))return!0;return!1});N(q.prototype,"indexOf",function(r,t){var n,i;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!se(r))throw new TypeError(B("invalid argument. First argument must be a boolean. Value: `%s`.",r));if(arguments.length>1){if(!pr(t))throw new TypeError(B("invalid argument. Second argument must be an integer. Value: `%s`.",t));t<0&&(t+=this._length,t<0&&(t=0))}else t=0;for(n=this._buffer,i=t;i<this._length;i++)if(r===R(n[i]))return i;return-1});N(q.prototype,"join",function(r){var t,n,i;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(arguments.length>0){if(!Kp(r))throw new TypeError(B("invalid argument. First argument must be a string. Value: `%s`.",r))}else r=",";for(t=this._buffer,n=[],i=0;i<this._length;i++)t[i]?n.push("true"):n.push("false");return n.join(r)});N(q.prototype,"keys",function(){var r,t,n,i,a;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");return r=this,n=this._length,a=-1,t={},N(t,"next",s),N(t,"return",o),hr&&N(t,hr,f),t;function s(){return a+=1,i||a>=n?{done:!0}:{value:a,done:!1}}function o(u){return i=!0,arguments.length?{value:u,done:!0}:{done:!0}}function f(){return r.keys()}});N(q.prototype,"lastIndexOf",function(r,t){var n,i;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!se(r))throw new TypeError(B("invalid argument. First argument must be a boolean. Value: `%s`.",r));if(arguments.length>1){if(!pr(t))throw new TypeError(B("invalid argument. Second argument must be an integer. Value: `%s`.",t));t>=this._length?t=this._length-1:t<0&&(t+=this._length)}else t=this._length-1;for(n=this._buffer,i=t;i>=0;i--)if(r===R(n[i]))return i;return-1});Oe(q.prototype,"length",function(){return this._length});N(q.prototype,"map",function(r,t){var n,i,a,s;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!Y(r))throw new TypeError("invalid argument. First argument must be a function. Value: `%s`.",r);for(a=this._buffer,i=new this.constructor(this._length),n=i._buffer,s=0;s<this._length;s++)n[s]=R(r.call(t,R(a[s]),s,this));return i});N(q.prototype,"reduce",function(r,t){var n,i,a,s;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!Y(r))throw new TypeError(B("invalid argument. First argument must be a function. Value: `%s`.",r));if(n=this._buffer,i=this._length,arguments.length>1)a=t,s=0;else{if(i===0)throw new Error("invalid operation. If not provided an initial value, an array must contain at least one element.");a=R(n[0]),s=1}for(;s<i;s++)a=r(a,R(n[s]),s,this);return a});N(q.prototype,"reduceRight",function(r,t){var n,i,a,s;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!Y(r))throw new TypeError(B("invalid argument. First argument must be a function. Value: `%s`.",r));if(n=this._buffer,i=this._length,arguments.length>1)a=t,s=i-1;else{if(i===0)throw new Error("invalid operation. If not provided an initial value, an array must contain at least one element.");a=R(n[i-1]),s=i-2}for(;s>=0;s--)a=r(a,R(n[s]),s,this);return a});N(q.prototype,"reverse",function(){var r,t,n,i,a,s;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");for(r=this._buffer,n=this._length,i=SE(n/2),a=0;a<i;a++)s=n-a-1,t=r[a],r[a]=r[s],r[s]=t;return this});N(q.prototype,"set",function(r){var t,n,i,a,s,o,f;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(i=this._buffer,arguments.length>1){if(n=arguments[1],!oe(n))throw new TypeError(B("invalid argument. Index argument must be a nonnegative integer. Value: `%s`.",n))}else n=0;if(on(r)){if(s=r.length,n+s>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");if(z(r)?t=r._buffer:t=r,f=i.byteOffset+n*Ur,t.buffer===i.buffer&&t.byteOffset<f&&t.byteOffset+t.byteLength>f){for(a=new dr(t.length),o=0;o<t.length;o++)a[o]=t[o];t=a}for(o=0;o<s;n++,o++)i[n]=t[o]?1:0;return}if(n>=this._length)throw new RangeError(B("invalid argument. Index argument is out-of-bounds. Value: `%u`.",n));i[n]=r?1:0});N(q.prototype,"slice",function(r,t){var n,i,a,s,o,f;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(s=this._buffer,o=this._length,arguments.length===0)r=0,t=o;else{if(!pr(r))throw new TypeError(B("invalid argument. First argument must be an integer. Value: `%s`.",r));if(r<0&&(r+=o,r<0&&(r=0)),arguments.length===1)t=o;else{if(!pr(t))throw new TypeError(B("invalid argument. Second argument must be an integer. Value: `%s`.",t));t<0?(t+=o,t<0&&(t=0)):t>o&&(t=o)}}for(r<t?n=t-r:n=0,a=new this.constructor(n),i=a._buffer,f=0;f<n;f++)i[f]=s[f+r];return a});N(q.prototype,"some",function(r,t){var n,i;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!Y(r))throw new TypeError(B("invalid argument. First argument must be a function. Value: `%s`.",r));for(n=this._buffer,i=0;i<this._length;i++)if(r.call(t,R(n[i]),i,this))return!0;return!1});N(q.prototype,"sort",function(r){var t;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(t=this._buffer,arguments.length===0)return t.sort(),this;if(!Y(r))throw new TypeError(B("invalid argument. First argument must be a function. Value: `%s`.",r));return t.sort(n),this;function n(i,a){return r(R(i),R(a))}});N(q.prototype,"subarray",function(r,t){var n,i,a;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(i=this._buffer,a=this._length,arguments.length===0)r=0,t=a;else{if(!pr(r))throw new TypeError(B("invalid argument. First argument must be an integer. Value: `%s`.",r));if(r<0&&(r+=a,r<0&&(r=0)),arguments.length===1)t=a;else{if(!pr(t))throw new TypeError(B("invalid argument. Second argument must be an integer. Value: `%s`.",t));t<0?(t+=a,t<0&&(t=0)):t>a&&(t=a)}}return r>=a?(a=0,n=i.byteLength):r>=t?(a=0,n=i.byteOffset+r*Ur):(a=t-r,n=i.byteOffset+r*Ur),new this.constructor(i.buffer,n,a<0?0:a)});N(q.prototype,"toLocaleString",function(r,t){var n,i,a,s,o;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(arguments.length===0)i=[];else if(Kp(r)||AE(r))i=r;else throw new TypeError(B("invalid argument. First argument must be a string or an array of strings. Value: `%s`.",r));if(arguments.length<2)n={};else if(sn(t))n=t;else throw new TypeError(B("invalid argument. Options argument must be an object. Value: `%s`.",t));for(s=this._buffer,a=[],o=0;o<this._length;o++)a.push(R(s[o]).toLocaleString(i,n));return a.join(",")});N(q.prototype,"toReversed",function(){var r,t,n,i,a;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");for(n=this._length,t=new this.constructor(n),i=this._buffer,r=t._buffer,a=0;a<n;a++)r[a]=i[n-a-1];return t});N(q.prototype,"toSorted",function(r){var t,n,i,a,s;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");for(i=this._length,n=new this.constructor(i),a=this._buffer,t=n._buffer,s=0;s<i;s++)t[s]=a[s];if(arguments.length===0)return t.sort(),n;if(!Y(r))throw new TypeError(B("invalid argument. First argument must be a function. Value: `%s`.",r));return t.sort(o),n;function o(f,u){return r(R(f),R(u))}});N(q.prototype,"toString",function(){var r,t,n;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");for(r=[],t=this._buffer,n=0;n<this._length;n++)t[n]?r.push("true"):r.push("false");return r.join(",")});N(q.prototype,"values",function(){var r,t,n,i,a,s;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");return t=this,a=this._buffer,n=this._length,s=-1,r={},N(r,"next",o),N(r,"return",f),hr&&N(r,hr,u),r;function o(){return s+=1,i||s>=n?{done:!0}:{value:R(a[s]),done:!1}}function f(l){return i=!0,arguments.length?{value:l,done:!0}:{done:!0}}function u(){return t.values()}});N(q.prototype,"with",function(r,t){var n,i,a;if(!z(this))throw new TypeError("invalid invocation. `this` is not a boolean array.");if(!pr(r))throw new TypeError(B("invalid argument. First argument must be an integer. Value: `%s`.",r));if(a=this._length,r<0&&(r+=a),r<0||r>=a)throw new RangeError(B("invalid argument. Index argument is out-of-bounds. Value: `%s`.",r));if(!se(t))throw new TypeError(B("invalid argument. Second argument must be a boolean. Value: `%s`.",t));return i=new this.constructor(this._buffer),n=i._buffer,t?n[r]=1:n[r]=0,i});ny.exports=q});var oy=c((N6,ay)=>{"use strict";var IE=iy();ay.exports=IE});var uy=c((B6,sy)=>{"use strict";var DE=ve(),NE=Yr(),BE=Yo(),OE=ys(),VE=Os(),UE=Ks(),zE=xt(),FE=Uu(),RE=ef(),CE=Ep(),jE=Gp(),LE=oy(),ME=[DE,NE,OE,BE,UE,VE,RE,zE,FE,CE,jE,LE];sy.exports=ME});var ly=c((O6,fy)=>{"use strict";var kE=["float64","float32","int32","uint32","int16","uint16","int8","uint8","uint8c","complex64","complex128","bool"];fy.exports=kE});var yy=c((V6,py)=>{"use strict";var PE=ft(),$E=Cr(),GE=ge(),YE=Wa(),WE=uy(),cy=ly(),ZE=cy.length;function JE(e){var r;if($E(e))return"generic";if(PE(e))return null;for(r=0;r<ZE;r++)if(e instanceof WE[r])return cy[r];return YE[GE(e)]||null}py.exports=JE});var un=c((U6,my)=>{"use strict";var HE=yy();my.exports=HE});var gy=c((z6,hy)=>{"use strict";var XE=rt(),QE=Rr(),KE=Pr(),rS=un();function eS(e,r){var t,n,i,a;for(i=rS(e),XE(e)?n=QE(i):n=KE(i),t=e.length,a=0;a<t;a++)if(n(e,a)===r)return!0;return!1}hy.exports=eS});var by=c((F6,vy)=>{"use strict";var tS=Jr(),nS=rt(),iS=Rr(),aS=un(),oS=Z();function sS(e){var r,t,n;if(!tS(e))throw new TypeError(oS("invalid argument. Must provide an array-like object. Value: `%s`.",e));return n=aS(e),nS(e)&&(r=iS(n)),t=e.length,r===void 0?i:a;function i(s){var o;for(o=0;o<t;o++)if(e[o]===s)return!0;return!1}function a(s){var o;for(o=0;o<t;o++)if(r(e,o)===s)return!0;return!1}}vy.exports=sS});var fn=c((R6,wy)=>{"use strict";var uS=W(),dy=gy(),fS=by();uS(dy,"factory",fS);wy.exports=dy});var Ay=c((C6,lS)=>{lS.exports=["row-major","column-major"]});var Ey=c((j6,xy)=>{"use strict";var cS=Ay();function pS(){return cS.slice()}xy.exports=pS});var Ty=c((L6,Sy)=>{"use strict";function yS(){return{"row-major":101,"column-major":102}}Sy.exports=yS});var Iy=c((M6,qy)=>{"use strict";var mS=W(),_y=Ey(),hS=Ty();mS(_y,"enum",hS);qy.exports=_y});var Ny=c((k6,Dy)=>{"use strict";var gS=fn().factory,vS=Iy(),bS=gS(vS());Dy.exports=bS});var Oy=c((P6,By)=>{"use strict";var dS=Ny();By.exports=dS});var Vy=c(($6,wS)=>{wS.exports=["no-transpose","transpose","conjugate-transpose"]});var zy=c((G6,Uy)=>{"use strict";var AS=Vy();function xS(){return AS.slice()}Uy.exports=xS});var Ry=c((Y6,Fy)=>{"use strict";function ES(){return{"no-transpose":111,transpose:112,"conjugate-transpose":113}}Fy.exports=ES});var Ly=c((W6,jy)=>{"use strict";var SS=W(),Cy=zy(),TS=Ry();SS(Cy,"enum",TS);jy.exports=Cy});var ky=c((Z6,My)=>{"use strict";var _S=fn().factory,qS=Ly(),IS=_S(qS());My.exports=IS});var ln=c((J6,Py)=>{"use strict";var DS=ky();Py.exports=DS});var Gy=c((H6,$y)=>{"use strict";function NS(e){return Math.abs(e)}$y.exports=NS});var Wy=c((X6,Yy)=>{"use strict";var BS=Gy();Yy.exports=BS});var Hy=c((Q6,Jy)=>{"use strict";var Zy=Wy();function OS(e){var r,t,n,i;if(r=e.length,r===0)return!1;for(t=Zy(e[0]),i=1;i<r;i++){if(n=Zy(e[i]),n>t)return!1;t=n}return!0}Jy.exports=OS});var Qy=c((K6,Xy)=>{"use strict";var VS=Hy();Xy.exports=VS});var rm=c((r2,Ky)=>{"use strict";function US(e,r){return r>0?0:(1-e)*r}Ky.exports=US});var tm=c((e2,em)=>{"use strict";var zS=rm();em.exports=zS});var cn=c((t2,nm)=>{"use strict";var ue=5;function FS(e,r,t,n,i,a,s){var o,f,u,l,p;if(o=0,e<=0)return o;if(f=n,u=s,t===1&&a===1){if(l=e%ue,l>0)for(p=0;p<l;p++)o+=r[f]*i[u],f+=1,u+=1;if(e<ue)return o;for(p=l;p<e;p+=ue)o+=r[f]*i[u]+r[f+1]*i[u+1]+r[f+2]*i[u+2]+r[f+3]*i[u+3]+r[f+4]*i[u+4],f+=ue,u+=ue;return o}for(p=0;p<e;p++)o+=r[f]*i[u],f+=t,u+=a;return o}nm.exports=FS});var om=c((n2,am)=>{"use strict";var im=tm(),RS=cn();function CS(e,r,t,n,i){var a,s;return e<=0?0:(a=im(e,t),s=im(e,i),RS(e,r,t,a,n,i,s))}am.exports=CS});var fm=c((i2,um)=>{"use strict";var jS=W(),sm=om(),LS=cn();jS(sm,"ndarray",LS);um.exports=sm});var lm=c((a2,MS)=>{MS.exports={binary:1,bool:1,complex64:8,complex128:16,float16:2,bfloat16:2,float32:4,float64:8,float128:16,generic:null,int8:1,int16:2,int32:4,int64:8,int128:16,int256:32,uint8:1,uint8c:1,uint16:2,uint32:4,uint64:8,uint128:16,uint256:32}});var pm=c((o2,cm)=>{"use strict";var kS=lm();function PS(e){return kS[e]||null}cm.exports=PS});var mm=c((s2,ym)=>{"use strict";var $S=pm();ym.exports=$S});var gm=c((u2,hm)=>{"use strict";var GS={BLOCK_SIZE_IN_BYTES:64,BLOCK_SIZE_IN_ELEMENTS:8};hm.exports=GS});var dm=c((f2,bm)=>{"use strict";var vm=mm(),pn=gm();function YS(e,r){var t,n;return t=vm(e),n=vm(r),t===null||n===null?pn.BLOCK_SIZE_IN_ELEMENTS:t>n?pn.BLOCK_SIZE_IN_BYTES/t|0:pn.BLOCK_SIZE_IN_BYTES/n|0}bm.exports=YS});var Am=c((l2,wm)=>{"use strict";var WS=dm();wm.exports=WS});var yn=c((c2,Em)=>{"use strict";var Ue=Qy(),xm=fm().ndarray,ZS=Am(),wr=ZS("float64");function qr(e){return e!=="no-transpose"}function JS(e,r,t,n,i,a){var s,o,f,u,l,p,y;for(Ue([n,i])?(f=r,u=e,s=i,o=n-f*i):(f=e,u=r,s=n,o=i-f*n),y=a,p=0;p<u;p++){for(l=0;l<f;l++)t[y]=0,y+=s;y+=o}return t}function HS(e,r,t,n,i,a,s){var o,f,u,l,p,y,m;for(Ue([i,a])?(u=r,l=e,o=a,f=i-u*a):(u=e,l=r,o=i,f=a-u*i),m=s,y=0;y<l;y++){for(p=0;p<u;p++)n[m]*=t,m+=o;m+=f}return n}function Ve(e,r,t,n,i,a,s,o,f,u,l,p,y,m,h,g){var v,w,A,S,O,C,F,M,gr,Lr,vr;for(O=r,C=e,v=s,w=u,A=h,S=m-O*h,vr=g,M=0;M<C;M++){for(gr=o+M*a,F=0;F<O;F++)Lr=p+F*l,y[vr]+=n*xm(t,i,v,gr,f,w,Lr),vr+=A;vr+=S}return y}function XS(e,r,t,n,i,a,s,o,f,u,l,p,y,m,h,g){var v,w,A,S,O,C,F,M,gr,Lr,vr,Fe,Re,le,ce,xr,Er,hn,gn,pe,vn,bn,Sr;for(gr=r,Lr=e,v=s,w=u,A=h,Er=Lr;Er>0;)for(Er<wr?(Fe=Er,Er=0):(Fe=wr,Er-=wr),O=o+Er*a,M=g+Er*m,xr=gr;xr>0;)for(xr<wr?(vr=xr,xr=0):(vr=wr,xr-=wr),C=p+xr*l,F=M+xr*h,S=m-vr*h,Sr=t;Sr>0;)for(Sr<wr?(Re=Sr,Sr=0):(Re=wr,Sr-=wr),vn=O+Sr*s,bn=C+Sr*u,pe=F,ce=0;ce<Fe;ce++){for(hn=vn+ce*a,le=0;le<vr;le++)gn=bn+le*l,y[pe]+=n*xm(Re,i,v,hn,f,w,gn),pe+=A;pe+=S}return y}function QS(e,r,t,n,i,a,s,o,f,u,l,p,y,m,h,g,v,w,A){var S,O,C,F,M,gr;if(t===0||n===0||h===1&&(a===0||i===0)||(h===0?g=JS(t,n,g,v,w,A):h!==1&&(g=HS(t,n,h,g,v,w,A)),a===0))return g;if(S=Ue([o,f]),O=Ue([p,y]),S){if(!qr(e)){if(!O&&!qr(r))return Ve(t,n,i,a,s,o,f,u,l,p,y,m,g,v,w,A);if(O&&qr(r))return Ve(t,n,i,a,s,o,f,u,l,y,p,m,g,v,w,A)}}else if(qr(e)){if(O&&qr(r))return Ve(t,n,i,a,s,f,o,u,l,y,p,m,g,v,w,A);if(!O&&!qr(r))return Ve(t,n,i,a,s,f,o,u,l,p,y,m,g,v,w,A)}return qr(e)?(C=f,F=o):(C=o,F=f),qr(r)?(M=y,gr=p):(M=p,gr=y),XS(t,n,i,a,s,C,F,u,l,M,gr,m,g,v,w,A)}Em.exports=QS});var _m=c((p2,Tm)=>{"use strict";var mn=Pi(),KS=Oy(),Sm=ln(),Ar=Z(),rT=yn();function eT(e,r,t,n,i,a,s,o,f,u,l,p,y,m){var h,g,v,w,A,S,O,C,F;if(!KS(e))throw new TypeError(Ar("invalid argument. First argument must be a valid order. Value: `%s`.",e));if(!Sm(r))throw new TypeError(Ar("invalid argument. Second argument must be a valid transpose operation. Value: `%s`.",r));if(!Sm(t))throw new TypeError(Ar("invalid argument. Third argument must be a valid transpose operation. Value: `%s`.",t));if(n<0)throw new RangeError(Ar("invalid argument. Fourth argument must be a nonnegative integer. Value: `%d`.",n));if(i<0)throw new RangeError(Ar("invalid argument. Fifth argument must be a nonnegative integer. Value: `%d`.",n));if(a<0)throw new RangeError(Ar("invalid argument. Sixth argument must be a nonnegative integer. Value: `%d`.",a));if(e==="row-major"&&r==="no-transpose"||e==="column-major"&&r==="transpose"?h=a:h=n,e==="row-major"&&t==="no-transpose"||e==="column-major"&&t==="transpose"?g=i:g=a,f<mn(1,h))throw new RangeError(Ar("invalid argument. Ninth argument must be greater than or equal to max(1,%d). Value: `%d`.",h,f));if(l<mn(1,g))throw new RangeError(Ar("invalid argument. Eleventh argument must be greater than or equal to max(1,%d). Value: `%d`.",g,l));if(e==="row-major"?v=i:v=n,m<mn(1,v))throw new RangeError(Ar("invalid argument. Fourteenth argument must be greater than or equal to max(1,%d). Value: `%d`.",v,m));return e==="column-major"?(w=1,A=f,S=1,O=l,C=1,F=m):(w=f,A=1,S=l,O=1,C=m,F=1),rT(r,t,n,i,a,s,o,w,A,0,u,S,O,0,p,y,C,F,0)}Tm.exports=eT});var Dm=c((y2,Im)=>{"use strict";var qm=ln(),fe=Z(),tT=yn();function nT(e,r,t,n,i,a,s,o,f,u,l,p,y,m,h,g,v,w,A){if(!qm(e))throw new TypeError(fe("invalid argument. First argument must be a valid transpose operation. Value: `%s`.",e));if(!qm(r))throw new TypeError(fe("invalid argument. Second argument must be a valid transpose operation. Value: `%s`.",r));if(t<0)throw new RangeError(fe("invalid argument. Third argument must be a nonnegative integer. Value: `%d`.",t));if(n<0)throw new RangeError(fe("invalid argument. Fourth argument must be a nonnegative integer. Value: `%d`.",t));if(i<0)throw new RangeError(fe("invalid argument. Fifth argument must be a nonnegative integer. Value: `%d`.",i));return tT(e,r,t,n,i,a,s,o,f,u,l,p,y,m,h,g,v,w,A)}Im.exports=nT});var Om=c((m2,Bm)=>{"use strict";var iT=W(),Nm=_m(),aT=Dm();iT(Nm,"ndarray",aT);Bm.exports=Nm});function wn(e){if(!e.includes(":")){if(e.includes("."))throw new Error(`Invalid slice index: "${e}" (must be integer)`);let a=parseInt(e,10);if(isNaN(a))throw new Error(`Invalid slice index: "${e}"`);return{start:a,stop:null,step:1,isIndex:!0}}let r=e.split(":");if(r.length>3)throw new Error(`Invalid slice notation: "${e}" (too many colons)`);let t=r[0]===""?null:parseInt(r[0],10),n=r[1]===""||r[1]===void 0?null:parseInt(r[1],10),i=r[2]===""||r[2]===void 0?1:parseInt(r[2],10);if(t!==null&&isNaN(t))throw new Error(`Invalid start index in slice: "${e}"`);if(n!==null&&isNaN(n))throw new Error(`Invalid stop index in slice: "${e}"`);if(isNaN(i))throw new Error(`Invalid step in slice: "${e}"`);if(i===0)throw new Error("Slice step cannot be zero");return{start:t,stop:n,step:i,isIndex:!1}}function An(e,r){let{start:t,stop:n}=e,{step:i,isIndex:a}=e;if(a){if(t===null)throw new Error("Index cannot be null");let s=t<0?r+t:t;if(s<0||s>=r)throw new Error(`Index ${t} is out of bounds for size ${r}`);return{start:s,stop:s+1,step:1,isIndex:!0}}return i>0?(t===null&&(t=0),n===null&&(n=r)):(t===null&&(t=r-1),n===null&&(n=-r-1)),t<0&&(t=r+t),n<0&&(n=r+n),t=Math.max(0,Math.min(t,r)),n=Math.max(-1,Math.min(n,r)),{start:t,stop:n,step:i,isIndex:!1}}var H="float64";function X(e){switch(e){case"float64":return Float64Array;case"float32":return Float32Array;case"int64":return BigInt64Array;case"int32":return Int32Array;case"int16":return Int16Array;case"int8":return Int8Array;case"uint64":return BigUint64Array;case"uint32":return Uint32Array;case"uint16":return Uint16Array;case"uint8":return Uint8Array;case"bool":return Uint8Array;default:throw new Error(`Unknown dtype: ${e}`)}}function xn(e){return e==="float64"||e==="float32"}function d(e){return e==="int64"||e==="uint64"}function Tr(e,r){if(e===r)return e;if(e==="bool")return r;if(r==="bool")return e;if(xn(e)||xn(r)){if(e==="float64"||r==="float64")return"float64";if(e==="float32"){let u=r;return u==="int32"||u==="int64"||u==="uint32"||u==="uint64"?"float64":"float32"}if(r==="float32"){let u=e;return u==="int32"||u==="int64"||u==="uint32"||u==="uint64"?"float64":"float32"}return"float32"}let t=e.startsWith("int"),n=r.startsWith("int"),i=e.startsWith("uint"),a=r.startsWith("uint"),s=u=>u.includes("64")?64:u.includes("32")?32:u.includes("16")?16:u.includes("8")?8:0,o=s(e),f=s(r);if(e==="int64"&&r==="uint64"||e==="uint64"&&r==="int64")return"float64";if(t&&a&&o===f){if(o===8)return"int16";if(o===16)return"int32";if(o===32)return"int64"}if(i&&n&&o===f){if(f===8)return"int16";if(f===16)return"int32";if(f===32)return"int64"}if(t&&n||i&&a){let u=Math.max(o,f);return t?u===64?"int64":u===32?"int32":u===16?"int16":"int8":u===64?"uint64":u===32?"uint32":u===16?"uint16":"uint8"}return t&&a?o>f?e:f===8?"int16":f===16?"int32":f===32?"int64":"float64":i&&n?f>o?r:o===8?"int16":o===16?"int32":o===32?"int64":"float64":"float64"}var b=class e{constructor(r,t,n,i,a){this._data=r,this._shape=t,this._strides=n,this._offset=i,this._dtype=a}get shape(){return this._shape}get ndim(){return this._shape.length}get size(){return this._shape.reduce((r,t)=>r*t,1)}get dtype(){return this._dtype}get data(){return this._data}get strides(){return this._strides}get offset(){return this._offset}get isCContiguous(){let r=this._shape,t=this._strides,n=r.length;if(n===0)return!0;if(n===1)return t[0]===1;let i=1;for(let a=n-1;a>=0;a--){if(t[a]!==i)return!1;i*=r[a]}return!0}get isFContiguous(){let r=this._shape,t=this._strides,n=r.length;if(n===0)return!0;if(n===1)return t[0]===1;let i=1;for(let a=0;a<n;a++){if(t[a]!==i)return!1;i*=r[a]}return!0}iget(r){let t=this._shape,n=this._strides,i=t.length;if(i===0)return this._data[this._offset];let a=r,s=this._offset;for(let o=0;o<i;o++){let f=1;for(let l=o+1;l<i;l++)f*=t[l];let u=Math.floor(a/f);a=a%f,s+=u*n[o]}return this._data[s]}iset(r,t){let n=this._shape,i=this._strides,a=n.length;if(a===0){this._data[this._offset]=t;return}let s=r,o=this._offset;for(let f=0;f<a;f++){let u=1;for(let p=f+1;p<a;p++)u*=n[p];let l=Math.floor(s/u);s=s%u,o+=l*i[f]}this._data[o]=t}get(...r){let t=this._strides,n=this._offset;for(let i=0;i<r.length;i++)n+=r[i]*t[i];return this._data[n]}set(r,t){let n=this._strides,i=this._offset;for(let a=0;a<r.length;a++)i+=r[a]*n[a];this._data[i]=t}copy(){let r=Array.from(this._shape),t=this._dtype,n=this.size,i=X(t);if(!i)throw new Error(`Cannot copy array with dtype ${t}`);let a=new i(n);if(this.isCContiguous&&this._offset===0)if(d(t)){let s=this._data,o=a;for(let f=0;f<n;f++)o[f]=s[f]}else a.set(this._data);else if(d(t)){let s=a;for(let o=0;o<n;o++)s[o]=this.iget(o)}else for(let s=0;s<n;s++)a[s]=this.iget(s);return new e(a,r,e._computeStrides(r),0,t)}static fromData(r,t,n,i,a){let s=i??e._computeStrides(t),o=a??0;return new e(r,t,s,o,n)}static zeros(r,t=H){let n=r.reduce((s,o)=>s*o,1),i=X(t);if(!i)throw new Error(`Cannot create array with dtype ${t}`);let a=new i(n);return new e(a,r,e._computeStrides(r),0,t)}static ones(r,t=H){let n=r.reduce((s,o)=>s*o,1),i=X(t);if(!i)throw new Error(`Cannot create array with dtype ${t}`);let a=new i(n);return d(t)?a.fill(BigInt(1)):a.fill(1),new e(a,r,e._computeStrides(r),0,t)}static _computeStrides(r){let t=new Array(r.length),n=1;for(let i=r.length-1;i>=0;i--)t[i]=n,n*=r[i];return t}};function Ce(e){let r=new Array(e.length),t=1;for(let n=e.length-1;n>=0;n--)r[n]=t,t*=e[n];return r}function En(e,r){let t=e.length,n=r.length,i=Math.max(t,n),a=new Array(i);for(let s=0;s<i;s++){let o=s<i-t?1:e[s-(i-t)],f=s<i-n?1:r[s-(i-n)];if(o===f)a[s]=o;else if(o===1)a[s]=f;else if(f===1)a[s]=o;else throw new Error(`operands could not be broadcast together with shapes ${JSON.stringify(Array.from(e))} ${JSON.stringify(Array.from(r))}`)}return a}function Jm(e,r,t){let n=e.length,i=t.length,a=new Array(i).fill(0);for(let s=0;s<n;s++){let o=i-n+s,f=e[s],u=t[o];if(f===u)a[o]=r[s];else if(f===1)a[o]=0;else throw new Error("Invalid broadcast")}return a}function ye(e,r){let t=Jm(e.shape,e.strides,r);return b.fromData(e.data,Array.from(r),e.dtype,t,e.offset)}function sr(e,r,t,n){let i=En(e.shape,r.shape),a=ye(e,i),s=ye(r,i),o=Tr(e.dtype,r.dtype),f=b.zeros(i,o),u=f.data,l=f.size;if(d(o)){let p=u;for(let y=0;y<l;y++){let m=a.iget(y),h=s.iget(y),g=typeof m=="bigint"?m:BigInt(Math.round(m)),v=typeof h=="bigint"?h:BigInt(Math.round(h));n==="add"?p[y]=g+v:n==="subtract"?p[y]=g-v:n==="multiply"?p[y]=g*v:n==="divide"?p[y]=g/v:p[y]=BigInt(Math.round(t(Number(g),Number(v))))}}else{let p=d(e.dtype)||d(r.dtype);for(let y=0;y<l;y++){let m=a.iget(y),h=s.iget(y),g=Number(m),v=Number(h);u[y]=t(g,v)}}return f}function _r(e,r,t){let n=En(e.shape,r.shape),i=ye(e,n),a=ye(r,n),s=n.reduce((u,l)=>u*l,1),o=new Uint8Array(s),f=d(e.dtype)||d(r.dtype);for(let u=0;u<s;u++){let l=i.iget(u),p=a.iget(u),y=Number(l),m=Number(p);o[u]=t(y,m)?1:0}return b.fromData(o,n,"bool")}function Sn(e,r,t=!0){let n=e.dtype,i=Array.from(e.shape),a=e.size,o=t?n:n!=="float32"&&n!=="float64"?"float64":n,f=b.zeros(i,o),u=f.data,l=e.data;if(d(n))if(d(o)){let p=u;for(let y=0;y<a;y++){let m=Number(l[y]);p[y]=BigInt(Math.round(r(m)))}}else for(let p=0;p<a;p++)u[p]=r(Number(l[p]));else for(let p=0;p<a;p++)u[p]=r(Number(l[p]));return f}function je(e,r){return e.isCContiguous&&r.isCContiguous&&e.shape.length===r.shape.length&&e.shape.every((t,n)=>t===r.shape[n])}function Tn(e,r){return typeof r=="number"?Km(e,r):je(e,r)?Hm(e,r):sr(e,r,(t,n)=>t+n,"add")}function Hm(e,r){let t=Tr(e.dtype,r.dtype),n=b.zeros(Array.from(e.shape),t),i=e.size,a=e.data,s=r.data,o=n.data;if(d(t)){let f=o;if(!d(e.dtype)||!d(r.dtype))for(let l=0;l<i;l++){let p=typeof a[l]=="bigint"?a[l]:BigInt(Math.round(Number(a[l]))),y=typeof s[l]=="bigint"?s[l]:BigInt(Math.round(Number(s[l])));f[l]=p+y}else{let l=a,p=s;for(let y=0;y<i;y++)f[y]=l[y]+p[y]}}else if(d(e.dtype)||d(r.dtype))for(let u=0;u<i;u++){let l=typeof a[u]=="bigint"?Number(a[u]):a[u],p=typeof s[u]=="bigint"?Number(s[u]):s[u];o[u]=l+p}else for(let u=0;u<i;u++)o[u]=a[u]+s[u];return n}function _n(e,r){return typeof r=="number"?rh(e,r):je(e,r)?Xm(e,r):sr(e,r,(t,n)=>t-n,"subtract")}function Xm(e,r){let t=Tr(e.dtype,r.dtype),n=b.zeros(Array.from(e.shape),t),i=e.size,a=e.data,s=r.data,o=n.data;if(d(t)){let f=o;if(!d(e.dtype)||!d(r.dtype))for(let l=0;l<i;l++){let p=typeof a[l]=="bigint"?a[l]:BigInt(Math.round(Number(a[l]))),y=typeof s[l]=="bigint"?s[l]:BigInt(Math.round(Number(s[l])));f[l]=p-y}else{let l=a,p=s;for(let y=0;y<i;y++)f[y]=l[y]-p[y]}}else if(d(e.dtype)||d(r.dtype))for(let u=0;u<i;u++){let l=typeof a[u]=="bigint"?Number(a[u]):a[u],p=typeof s[u]=="bigint"?Number(s[u]):s[u];o[u]=l-p}else for(let u=0;u<i;u++)o[u]=a[u]-s[u];return n}function qn(e,r){return typeof r=="number"?eh(e,r):je(e,r)?Qm(e,r):sr(e,r,(t,n)=>t*n,"multiply")}function Qm(e,r){let t=Tr(e.dtype,r.dtype),n=b.zeros(Array.from(e.shape),t),i=e.size,a=e.data,s=r.data,o=n.data;if(d(t)){let f=o;if(!d(e.dtype)||!d(r.dtype))for(let l=0;l<i;l++){let p=typeof a[l]=="bigint"?a[l]:BigInt(Math.round(Number(a[l]))),y=typeof s[l]=="bigint"?s[l]:BigInt(Math.round(Number(s[l])));f[l]=p*y}else{let l=a,p=s;for(let y=0;y<i;y++)f[y]=l[y]*p[y]}}else if(d(e.dtype)||d(r.dtype))for(let u=0;u<i;u++){let l=typeof a[u]=="bigint"?Number(a[u]):a[u],p=typeof s[u]=="bigint"?Number(s[u]):s[u];o[u]=l*p}else for(let u=0;u<i;u++)o[u]=a[u]*s[u];return n}function In(e,r){if(typeof r=="number")return th(e,r);let t=e.dtype==="float64",n=r.dtype==="float64",i=e.dtype==="float32",a=r.dtype==="float32";if(t||n){let f=t?e:zr(e,"float64"),u=n?r:zr(r,"float64");return sr(f,u,(l,p)=>l/p,"divide")}if(i||a){let f=i?e:zr(e,"float32"),u=a?r:zr(r,"float32");return sr(f,u,(l,p)=>l/p,"divide")}let s=zr(e,"float64"),o=zr(r,"float64");return sr(s,o,(f,u)=>f/u,"divide")}function zr(e,r){let t=b.zeros(Array.from(e.shape),r),n=e.size,i=e.data,a=t.data;for(let s=0;s<n;s++)a[s]=Number(i[s]);return t}function Km(e,r){let t=e.dtype,n=Array.from(e.shape),i=e.data,a=e.size,s=b.zeros(n,t),o=s.data;if(d(t)){let f=i,u=o,l=BigInt(Math.round(r));for(let p=0;p<a;p++)u[p]=f[p]+l}else for(let f=0;f<a;f++)o[f]=Number(i[f])+r;return s}function rh(e,r){let t=e.dtype,n=Array.from(e.shape),i=e.data,a=e.size,s=b.zeros(n,t),o=s.data;if(d(t)){let f=i,u=o,l=BigInt(Math.round(r));for(let p=0;p<a;p++)u[p]=f[p]-l}else for(let f=0;f<a;f++)o[f]=Number(i[f])-r;return s}function eh(e,r){let t=e.dtype,n=Array.from(e.shape),i=e.data,a=e.size,s=b.zeros(n,t),o=s.data;if(d(t)){let f=i,u=o,l=BigInt(Math.round(r));for(let p=0;p<a;p++)u[p]=f[p]*l}else for(let f=0;f<a;f++)o[f]=Number(i[f])*r;return s}function th(e,r){let t=e.dtype,n=Array.from(e.shape),i=e.data,a=e.size,o=t!=="float32"&&t!=="float64"?"float64":t,f=b.zeros(n,o),u=f.data;if(d(t))for(let l=0;l<a;l++)u[l]=Number(i[l])/r;else for(let l=0;l<a;l++)u[l]=Number(i[l])/r;return f}function Dn(e){let r=e.dtype,t=Array.from(e.shape),n=e.data,i=e.size,a=b.zeros(t,r),s=a.data;if(d(r)){let o=n,f=s;for(let u=0;u<i;u++){let l=o[u];f[u]=l<0n?-l:l}}else for(let o=0;o<i;o++)s[o]=Math.abs(Number(n[o]));return a}function Nn(e){let r=e.dtype,t=Array.from(e.shape),n=e.data,i=e.size,a=b.zeros(t,r),s=a.data;if(d(r)){let o=n,f=s;for(let u=0;u<i;u++)f[u]=-o[u]}else for(let o=0;o<i;o++)s[o]=-Number(n[o]);return a}function Bn(e){let r=e.dtype,t=Array.from(e.shape),n=e.data,i=e.size,a=b.zeros(t,r),s=a.data;if(d(r)){let o=n,f=s;for(let u=0;u<i;u++){let l=o[u];f[u]=l>0n?1n:l<0n?-1n:0n}}else for(let o=0;o<i;o++){let f=Number(n[o]);s[o]=f>0?1:f<0?-1:0}return a}function On(e,r){return typeof r=="number"?nh(e,r):sr(e,r,(t,n)=>(t%n+n)%n,"mod")}function nh(e,r){let t=e.dtype,n=Array.from(e.shape),i=e.data,a=e.size,s=b.zeros(n,t),o=s.data;if(d(t)){let f=i,u=o,l=BigInt(Math.round(r));for(let p=0;p<a;p++){let y=f[p];u[p]=(y%l+l)%l}}else for(let f=0;f<a;f++){let u=Number(i[f]);o[f]=(u%r+r)%r}return s}function Vn(e,r){return typeof r=="number"?ih(e,r):sr(e,r,(t,n)=>Math.floor(t/n),"floor_divide")}function ih(e,r){let t=e.dtype,n=Array.from(e.shape),i=e.data,a=e.size,s=b.zeros(n,t),o=s.data;if(d(t)){let f=i,u=o,l=BigInt(Math.round(r));for(let p=0;p<a;p++)u[p]=f[p]/l}else for(let f=0;f<a;f++)o[f]=Math.floor(Number(i[f])/r);return s}function Un(e){let r=e.dtype,t=Array.from(e.shape),n=e.data,i=e.size,a=b.zeros(t,r),s=a.data;for(let o=0;o<i;o++)s[o]=n[o];return a}function zn(e){let r=e.dtype,t=Array.from(e.shape),n=e.data,i=e.size,s=r!=="float32"&&r!=="float64"?"float64":r,o=b.zeros(t,s),f=o.data;if(d(r))for(let u=0;u<i;u++)f[u]=1/Number(n[u]);else for(let u=0;u<i;u++)f[u]=1/Number(n[u]);return o}function Fn(e,r){return typeof r=="number"?oh(e,r):_r(e,r,(t,n)=>t>n)}function Rn(e,r){return typeof r=="number"?sh(e,r):_r(e,r,(t,n)=>t>=n)}function Cn(e,r){return typeof r=="number"?uh(e,r):_r(e,r,(t,n)=>t<n)}function jn(e,r){return typeof r=="number"?fh(e,r):_r(e,r,(t,n)=>t<=n)}function Ln(e,r){return typeof r=="number"?lh(e,r):_r(e,r,(t,n)=>t===n)}function Mn(e,r){return typeof r=="number"?ch(e,r):_r(e,r,(t,n)=>t!==n)}function Le(e,r,t=1e-5,n=1e-8){return typeof r=="number"?ph(e,r,t,n):_r(e,r,(i,a)=>{let s=Math.abs(i-a),o=n+t*Math.abs(a);return s<=o})}function kn(e,r,t=1e-5,n=1e-8){let i=Le(e,r,t,n),a=i.data;for(let s=0;s<i.size;s++)if(a[s]===0)return!1;return!0}function oh(e,r){let t=new Uint8Array(e.size),n=e.data;for(let i=0;i<e.size;i++)t[i]=n[i]>r?1:0;return b.fromData(t,Array.from(e.shape),"bool")}function sh(e,r){let t=new Uint8Array(e.size),n=e.data;for(let i=0;i<e.size;i++)t[i]=n[i]>=r?1:0;return b.fromData(t,Array.from(e.shape),"bool")}function uh(e,r){let t=new Uint8Array(e.size),n=e.data;for(let i=0;i<e.size;i++)t[i]=n[i]<r?1:0;return b.fromData(t,Array.from(e.shape),"bool")}function fh(e,r){let t=new Uint8Array(e.size),n=e.data;for(let i=0;i<e.size;i++)t[i]=n[i]<=r?1:0;return b.fromData(t,Array.from(e.shape),"bool")}function lh(e,r){let t=new Uint8Array(e.size),n=e.data,i=e.dtype;if(d(i)){let a=BigInt(Math.round(r)),s=n;for(let o=0;o<e.size;o++)t[o]=s[o]===a?1:0}else for(let a=0;a<e.size;a++)t[a]=n[a]===r?1:0;return b.fromData(t,Array.from(e.shape),"bool")}function ch(e,r){let t=new Uint8Array(e.size),n=e.data;for(let i=0;i<e.size;i++)t[i]=n[i]!==r?1:0;return b.fromData(t,Array.from(e.shape),"bool")}function ph(e,r,t,n){let i=new Uint8Array(e.size),a=e.data,s=e.dtype;if(d(s)){let o=a;for(let f=0;f<e.size;f++){let u=Number(o[f]),l=Math.abs(u-r),p=n+t*Math.abs(r);i[f]=l<=p?1:0}}else for(let o=0;o<e.size;o++){let f=Number(a[o]),u=Math.abs(f-r),l=n+t*Math.abs(r);i[o]=u<=l?1:0}return b.fromData(i,Array.from(e.shape),"bool")}function k(e,r){let t=0,n=1;for(let i=e.length-1;i>=0;i--)t+=e[i]*n,n*=r[i];return t}function P(e,r,t,n){let i=n.length,a=new Array(i),s=Array.from(n).filter((f,u)=>u!==r),o=e;for(let f=s.length-1;f>=0;f--)a[f>=r?f+1:f]=o%s[f],o=Math.floor(o/s[f]);return a[r]=t,a}function Mr(e,r,t=!1){let n=e.dtype,i=e.shape,a=i.length,s=e.size,o=e.data;if(r===void 0)if(d(n)){let h=o,g=BigInt(0);for(let v=0;v<s;v++)g+=h[v];return Number(g)}else{let h=0;for(let g=0;g<s;g++)h+=Number(o[g]);return h}let f=r;if(f<0&&(f=a+f),f<0||f>=a)throw new Error(`axis ${r} is out of bounds for array of dimension ${a}`);let u=Array.from(i).filter((h,g)=>g!==f);if(u.length===0)return Mr(e);let l=b.zeros(u,n),p=l.data,y=i[f],m=u.reduce((h,g)=>h*g,1);if(d(n)){let h=o,g=p;for(let v=0;v<m;v++){let w=BigInt(0);for(let A=0;A<y;A++){let S=P(v,f,A,i),O=k(S,i);w+=h[O]}g[v]=w}}else for(let h=0;h<m;h++){let g=0;for(let v=0;v<y;v++){let w=P(h,f,v,i),A=k(w,i);g+=Number(o[A])}p[h]=g}if(t){let h=[...i];return h[f]=1,b.fromData(p,h,n)}return l}function Me(e,r,t=!1){let n=e.dtype,i=e.shape;if(r===void 0)return Mr(e)/e.size;let a=r;if(a<0&&(a=i.length+a),a<0||a>=i.length)throw new Error(`axis ${r} is out of bounds for array of dimension ${i.length}`);let s=Mr(e,r,t);if(typeof s=="number")return s/i[a];let o=i[a],f=n;(d(n)||n.startsWith("int")||n.startsWith("uint"))&&(f="float64");let u=b.zeros(Array.from(s.shape),f),l=u.data,p=s.data;if(d(n)){let y=p;for(let m=0;m<l.length;m++)l[m]=Number(y[m])/o}else for(let y=0;y<l.length;y++)l[y]=Number(p[y])/o;return u}function ke(e,r,t=!1){let n=e.dtype,i=e.shape,a=i.length,s=e.size,o=e.data;if(r===void 0){if(s===0)throw new Error("max of empty array");let h=o[0];for(let g=1;g<s;g++)o[g]>h&&(h=o[g]);return Number(h)}let f=r;if(f<0&&(f=a+f),f<0||f>=a)throw new Error(`axis ${r} is out of bounds for array of dimension ${a}`);let u=Array.from(i).filter((h,g)=>g!==f);if(u.length===0)return ke(e);let l=b.zeros(u,n),p=l.data,y=i[f],m=u.reduce((h,g)=>h*g,1);if(d(n)){let h=o,g=p;for(let v=0;v<m;v++){let w=P(v,f,0,i),A=k(w,i),S=h[A];for(let O=1;O<y;O++){let C=P(v,f,O,i),F=k(C,i),M=h[F];M>S&&(S=M)}g[v]=S}}else for(let h=0;h<m;h++){let g=-1/0;for(let v=0;v<y;v++){let w=P(h,f,v,i),A=k(w,i),S=Number(o[A]);S>g&&(g=S)}p[h]=g}if(t){let h=[...i];return h[f]=1,b.fromData(p,h,n)}return l}function Pe(e,r,t=!1){let n=e.dtype,i=e.shape,a=i.length,s=e.size,o=e.data;if(r===void 0)if(d(n)){let h=o,g=BigInt(1);for(let v=0;v<s;v++)g*=h[v];return Number(g)}else{let h=1;for(let g=0;g<s;g++)h*=Number(o[g]);return h}let f=r;if(f<0&&(f=a+f),f<0||f>=a)throw new Error(`axis ${r} is out of bounds for array of dimension ${a}`);let u=Array.from(i).filter((h,g)=>g!==f);if(u.length===0)return Pe(e);let l=b.zeros(u,n),p=l.data,y=i[f],m=u.reduce((h,g)=>h*g,1);if(d(n)){let h=o,g=p;for(let v=0;v<m;v++){let w=BigInt(1);for(let A=0;A<y;A++){let S=P(v,f,A,i),O=k(S,i);w*=h[O]}g[v]=w}}else for(let h=0;h<m;h++){let g=1;for(let v=0;v<y;v++){let w=P(h,f,v,i),A=k(w,i);g*=Number(o[A])}p[h]=g}if(t){let h=[...i];return h[f]=1,b.fromData(p,h,n)}return l}function $e(e,r,t=!1){let n=e.dtype,i=e.shape,a=i.length,s=e.size,o=e.data;if(r===void 0){if(s===0)throw new Error("min of empty array");let h=o[0];for(let g=1;g<s;g++)o[g]<h&&(h=o[g]);return Number(h)}let f=r;if(f<0&&(f=a+f),f<0||f>=a)throw new Error(`axis ${r} is out of bounds for array of dimension ${a}`);let u=Array.from(i).filter((h,g)=>g!==f);if(u.length===0)return $e(e);let l=b.zeros(u,n),p=l.data,y=i[f],m=u.reduce((h,g)=>h*g,1);if(d(n)){let h=o,g=p;for(let v=0;v<m;v++){let w=P(v,f,0,i),A=k(w,i),S=h[A];for(let O=1;O<y;O++){let C=P(v,f,O,i),F=k(C,i),M=h[F];M<S&&(S=M)}g[v]=S}}else for(let h=0;h<m;h++){let g=1/0;for(let v=0;v<y;v++){let w=P(h,f,v,i),A=k(w,i),S=Number(o[A]);S<g&&(g=S)}p[h]=g}if(t){let h=[...i];return h[f]=1,b.fromData(p,h,n)}return l}function Ge(e,r){let t=e.dtype,n=e.shape,i=n.length,a=e.size,s=e.data;if(r===void 0){if(a===0)throw new Error("argmin of empty array");let m=s[0],h=0;for(let g=1;g<a;g++)s[g]<m&&(m=s[g],h=g);return h}let o=r;if(o<0&&(o=i+o),o<0||o>=i)throw new Error(`axis ${r} is out of bounds for array of dimension ${i}`);let f=Array.from(n).filter((m,h)=>h!==o);if(f.length===0)return Ge(e);let u=b.zeros(f,"int32"),l=u.data,p=n[o],y=f.reduce((m,h)=>m*h,1);if(d(t)){let m=s;for(let h=0;h<y;h++){let g=P(h,o,0,n),v=k(g,n),w=m[v],A=0;for(let S=1;S<p;S++){let O=P(h,o,S,n),C=k(O,n),F=m[C];F<w&&(w=F,A=S)}l[h]=A}}else for(let m=0;m<y;m++){let h=1/0,g=0;for(let v=0;v<p;v++){let w=P(m,o,v,n),A=k(w,n),S=Number(s[A]);S<h&&(h=S,g=v)}l[m]=g}return u}function Ye(e,r){let t=e.dtype,n=e.shape,i=n.length,a=e.size,s=e.data;if(r===void 0){if(a===0)throw new Error("argmax of empty array");let m=s[0],h=0;for(let g=1;g<a;g++)s[g]>m&&(m=s[g],h=g);return h}let o=r;if(o<0&&(o=i+o),o<0||o>=i)throw new Error(`axis ${r} is out of bounds for array of dimension ${i}`);let f=Array.from(n).filter((m,h)=>h!==o);if(f.length===0)return Ye(e);let u=b.zeros(f,"int32"),l=u.data,p=n[o],y=f.reduce((m,h)=>m*h,1);if(d(t)){let m=s;for(let h=0;h<y;h++){let g=P(h,o,0,n),v=k(g,n),w=m[v],A=0;for(let S=1;S<p;S++){let O=P(h,o,S,n),C=k(O,n),F=m[C];F>w&&(w=F,A=S)}l[h]=A}}else for(let m=0;m<y;m++){let h=-1/0,g=0;for(let v=0;v<p;v++){let w=P(m,o,v,n),A=k(w,n),S=Number(s[A]);S>h&&(h=S,g=v)}l[m]=g}return u}function We(e,r,t=0,n=!1){let i=e.shape,a=i.length,s=e.size,o=e.data,f=Me(e,r,n);if(r===void 0){let w=f,A=0;for(let S=0;S<s;S++){let O=Number(o[S])-w;A+=O*O}return A/(s-t)}let u=r;if(u<0&&(u=a+u),u<0||u>=a)throw new Error(`axis ${r} is out of bounds for array of dimension ${a}`);let l=i[u],p=f,y=p.data,m=n?p.shape:Array.from(i).filter((w,A)=>A!==u),h=b.zeros(Array.from(m),"float64"),g=h.data,v=m.reduce((w,A)=>w*A,1);for(let w=0;w<v;w++){let A=0,S=Number(y[w]);for(let O=0;O<l;O++){let C=P(w,u,O,i),F=k(C,i),M=Number(o[F])-S;A+=M*M}g[w]=A/(l-t)}return h}function Pn(e,r,t=0,n=!1){let i=We(e,r,t,n);if(typeof i=="number")return Math.sqrt(i);let a=b.zeros(Array.from(i.shape),"float64"),s=i.data,o=a.data;for(let f=0;f<s.length;f++)o[f]=Math.sqrt(Number(s[f]));return a}function Ze(e,r,t=!1){let n=e.shape,i=n.length,a=e.size,s=e.data;if(r===void 0){for(let m=0;m<a;m++)if(!s[m])return!1;return!0}let o=r;if(o<0&&(o=i+o),o<0||o>=i)throw new Error(`axis ${r} is out of bounds for array of dimension ${i}`);let f=Array.from(n).filter((m,h)=>h!==o);if(f.length===0)return Ze(e);let u=b.zeros(f,"bool"),l=u.data,p=n[o],y=f.reduce((m,h)=>m*h,1);for(let m=0;m<y;m++){let h=!0;for(let g=0;g<p;g++){let v=P(m,o,g,n),w=k(v,n);if(!s[w]){h=!1;break}}l[m]=h?1:0}if(t){let m=[...n];return m[o]=1,b.fromData(l,m,"bool")}return u}function Je(e,r,t=!1){let n=e.shape,i=n.length,a=e.size,s=e.data;if(r===void 0){for(let m=0;m<a;m++)if(s[m])return!0;return!1}let o=r;if(o<0&&(o=i+o),o<0||o>=i)throw new Error(`axis ${r} is out of bounds for array of dimension ${i}`);let f=Array.from(n).filter((m,h)=>h!==o);if(f.length===0)return Je(e);let u=b.zeros(f,"bool"),l=u.data,p=n[o],y=f.reduce((m,h)=>m*h,1);for(let m=0;m<y;m++){let h=!1;for(let g=0;g<p;g++){let v=P(m,o,g,n),w=k(v,n);if(s[w]){h=!0;break}}l[m]=h?1:0}if(t){let m=[...n];return m[o]=1,b.fromData(l,m,"bool")}return u}function $n(e,r){let t=e.size,n=e.dtype,i=r.indexOf(-1),a;if(i!==-1){let u=r.reduce((p,y,m)=>m===i?p:p*y,1),l=t/u;if(!Number.isInteger(l))throw new Error(`cannot reshape array of size ${t} into shape ${JSON.stringify(r)}`);a=r.map((p,y)=>y===i?l:p)}else a=r;if(a.reduce((u,l)=>u*l,1)!==t)throw new Error(`cannot reshape array of size ${t} into shape ${JSON.stringify(a)}`);if(e.isCContiguous){let u=e.data;return b.fromData(u,a,n,Ce(a),0)}let f=e.copy().data;return b.fromData(f,a,n,Ce(a),0)}function He(e){let r=e.shape,t=r.length,n=e.size,i=e.dtype,a=X(i);if(!a)throw new Error(`Cannot flatten array with dtype ${i}`);let s=new a(n),o=0,f=(u,l)=>{if(l===t){let p=e.get(...u);s[o++]=p;return}for(let p=0;p<r[l];p++)u[l]=p,f(u,l+1)};return f(new Array(t),0),b.fromData(s,[n],i,[1],0)}function Gn(e){let r=e.size,t=e.dtype;if(e.isCContiguous){let n=e.data;return b.fromData(n,[r],t,[1],0)}return He(e)}function Yn(e,r){let t=e.shape,n=t.length,i=e.strides,a=e.data,s=e.dtype,o;if(r===void 0)o=Array.from({length:n},(p,y)=>n-1-y);else{if(r.length!==n)throw new Error(`axes must have length ${n}, got ${r.length}`);let p=new Set;for(let y of r){let m=y<0?n+y:y;if(m<0||m>=n)throw new Error(`axis ${y} is out of bounds for array of dimension ${n}`);if(p.has(m))throw new Error("repeated axis in transpose");p.add(m)}o=r.map(y=>y<0?n+y:y)}let f=o.map(p=>t[p]),u=Array.from(i),l=o.map(p=>u[p]);return b.fromData(a,f,s,l,e.offset)}function Wn(e,r){let t=e.shape,n=t.length,i=e.strides,a=e.data,s=e.dtype;if(r===void 0){let o=[],f=[];for(let u=0;u<n;u++)t[u]!==1&&(o.push(t[u]),f.push(i[u]));return o.length===0&&(o.push(1),f.push(1)),b.fromData(a,o,s,f,e.offset)}else{let o=r<0?n+r:r;if(o<0||o>=n)throw new Error(`axis ${r} is out of bounds for array of dimension ${n}`);if(t[o]!==1)throw new Error(`cannot select an axis which has size not equal to one (axis ${r} has size ${t[o]})`);let f=[],u=[];for(let l=0;l<n;l++)l!==o&&(f.push(t[l]),u.push(i[l]));return b.fromData(a,f,s,u,e.offset)}}function Zn(e,r){let t=e.shape,n=t.length,i=e.strides,a=e.data,s=e.dtype,o=r;if(o<0&&(o=n+r+1),o<0||o>n)throw new Error(`axis ${r} is out of bounds for array of dimension ${n+1}`);let f=[...Array.from(t)];f.splice(o,0,1);let u=[...Array.from(i)],l=o<n?i[o]*(t[o]||1):1;return u.splice(o,0,l),b.fromData(a,f,s,u,e.offset)}var Vm=Zm(Om(),1);function Um(e,r){if(e.ndim!==2||r.ndim!==2)throw new Error("matmul requires 2D arrays");let[t=0,n=0]=e.shape,[i=0,a=0]=r.shape;if(n!==i)throw new Error(`matmul shape mismatch: (${t},${n}) @ (${i},${a})`);let s=Tr(e.dtype,r.dtype),o=s.startsWith("int")||s.startsWith("uint")||s==="bool"?"float64":s;if(o!=="float64")throw new Error(`matmul currently only supports float64, got ${o}`);let f=e.dtype==="float64"?e.data:Float64Array.from(Array.from(e.data).map(Number)),u=r.dtype==="float64"?r.data:Float64Array.from(Array.from(r.data).map(Number)),l=b.zeros([t,a],"float64");return(0,Vm.default)("row-major","no-transpose","no-transpose",t,a,n,1,f,n,u,a,0,l.data,a),l}function zm(e){return Sn(e,Math.sqrt,!1)}function Fm(e,r){return typeof r=="number"?sT(e,r):sr(e,r,Math.pow,"power")}function sT(e,r){let t=e.dtype,n=Array.from(e.shape),i=e.data,a=e.size,f=t!=="float32"&&t!=="float64"&&(r<0||!Number.isInteger(r))?"float64":t,u=b.zeros(n,f),l=u.data;if(d(t))if(d(f)&&Number.isInteger(r)&&r>=0){let p=i,y=l;for(let m=0;m<a;m++)y[m]=p[m]**BigInt(r)}else for(let p=0;p<a;p++)l[p]=Math.pow(Number(i[p]),r);else for(let p=0;p<a;p++)l[p]=Math.pow(Number(i[p]),r);return u}var tr=class e{constructor(r,t){this._storage=r,this._base=t}get storage(){return this._storage}static _fromStorage(r,t){return new e(r,t)}get shape(){return this._storage.shape}get ndim(){return this._storage.ndim}get size(){return this._storage.size}get dtype(){return this._storage.dtype}get data(){return this._storage.data}get strides(){return this._storage.strides}get flags(){return{C_CONTIGUOUS:this._storage.isCContiguous,F_CONTIGUOUS:this._storage.isFContiguous,OWNDATA:this._base===void 0}}get base(){return this._base??null}get(r){if(r.length!==this.ndim)throw new Error(`Index has ${r.length} dimensions, but array has ${this.ndim} dimensions`);let t=r.map((n,i)=>{let a=n;if(a<0&&(a=this.shape[i]+a),a<0||a>=this.shape[i])throw new Error(`Index ${n} is out of bounds for axis ${i} with size ${this.shape[i]}`);return a});return this._storage.get(...t)}set(r,t){if(r.length!==this.ndim)throw new Error(`Index has ${r.length} dimensions, but array has ${this.ndim} dimensions`);let n=r.map((s,o)=>{let f=s;if(f<0&&(f=this.shape[o]+f),f<0||f>=this.shape[o])throw new Error(`Index ${s} is out of bounds for axis ${o} with size ${this.shape[o]}`);return f}),i=this.dtype,a;d(i)?a=typeof t=="bigint"?t:BigInt(Math.round(t)):i==="bool"?a=t?1:0:a=Number(t),this._storage.set(n,a)}copy(){return new e(this._storage.copy())}astype(r,t=!0){let n=this.dtype;if(n===r&&!t)return this;if(n===r&&t)return this.copy();let i=Array.from(this.shape),a=this.size,s=X(r);if(!s)throw new Error(`Cannot convert to dtype ${r}`);let o=new s(a),f=this.data;if(d(n)&&!d(r)){let l=f;if(r==="bool")for(let p=0;p<a;p++)o[p]=l[p]!==BigInt(0)?1:0;else for(let p=0;p<a;p++)o[p]=Number(l[p])}else if(!d(n)&&d(r)){let l=f;for(let p=0;p<a;p++)o[p]=BigInt(Math.round(Number(l[p])))}else if(r==="bool"){let l=f;for(let p=0;p<a;p++)o[p]=l[p]!==0?1:0}else if(n==="bool"&&!d(r)){let l=f;for(let p=0;p<a;p++)o[p]=l[p]}else if(!d(n)&&!d(r)){let l=f;for(let p=0;p<a;p++)o[p]=l[p]}else{let l=f;for(let p=0;p<a;p++)o[p]=l[p]}let u=b.fromData(o,i,r);return new e(u)}add(r){let t=typeof r=="number"?r:r._storage,n=Tn(this._storage,t);return e._fromStorage(n)}subtract(r){let t=typeof r=="number"?r:r._storage,n=_n(this._storage,t);return e._fromStorage(n)}multiply(r){let t=typeof r=="number"?r:r._storage,n=qn(this._storage,t);return e._fromStorage(n)}divide(r){let t=typeof r=="number"?r:r._storage,n=In(this._storage,t);return e._fromStorage(n)}mod(r){let t=typeof r=="number"?r:r._storage,n=On(this._storage,t);return e._fromStorage(n)}floor_divide(r){let t=typeof r=="number"?r:r._storage,n=Vn(this._storage,t);return e._fromStorage(n)}positive(){let r=Un(this._storage);return e._fromStorage(r)}reciprocal(){let r=zn(this._storage);return e._fromStorage(r)}sqrt(){let r=zm(this._storage);return e._fromStorage(r)}power(r){let t=typeof r=="number"?r:r._storage,n=Fm(this._storage,t);return e._fromStorage(n)}absolute(){let r=Dn(this._storage);return e._fromStorage(r)}negative(){let r=Nn(this._storage);return e._fromStorage(r)}sign(){let r=Bn(this._storage);return e._fromStorage(r)}greater(r){let t=typeof r=="number"?r:r._storage,n=Fn(this._storage,t);return e._fromStorage(n)}greater_equal(r){let t=typeof r=="number"?r:r._storage,n=Rn(this._storage,t);return e._fromStorage(n)}less(r){let t=typeof r=="number"?r:r._storage,n=Cn(this._storage,t);return e._fromStorage(n)}less_equal(r){let t=typeof r=="number"?r:r._storage,n=jn(this._storage,t);return e._fromStorage(n)}equal(r){let t=typeof r=="number"?r:r._storage,n=Ln(this._storage,t);return e._fromStorage(n)}not_equal(r){let t=typeof r=="number"?r:r._storage,n=Mn(this._storage,t);return e._fromStorage(n)}isclose(r,t=1e-5,n=1e-8){let i=typeof r=="number"?r:r._storage,a=Le(this._storage,i,t,n);return e._fromStorage(a)}allclose(r,t=1e-5,n=1e-8){let i=typeof r=="number"?r:r._storage;return kn(this._storage,i,t,n)}sum(r,t=!1){let n=Mr(this._storage,r,t);return typeof n=="number"?n:e._fromStorage(n)}mean(r,t=!1){let n=Me(this._storage,r,t);return typeof n=="number"?n:e._fromStorage(n)}max(r,t=!1){let n=ke(this._storage,r,t);return typeof n=="number"?n:e._fromStorage(n)}min(r,t=!1){let n=$e(this._storage,r,t);return typeof n=="number"?n:e._fromStorage(n)}prod(r,t=!1){let n=Pe(this._storage,r,t);return typeof n=="number"?n:e._fromStorage(n)}argmin(r){let t=Ge(this._storage,r);return typeof t=="number"?t:e._fromStorage(t)}argmax(r){let t=Ye(this._storage,r);return typeof t=="number"?t:e._fromStorage(t)}var(r,t=0,n=!1){let i=We(this._storage,r,t,n);return typeof i=="number"?i:e._fromStorage(i)}std(r,t=0,n=!1){let i=Pn(this._storage,r,t,n);return typeof i=="number"?i:e._fromStorage(i)}all(r,t=!1){let n=Ze(this._storage,r,t);return typeof n=="boolean"?n:e._fromStorage(n)}any(r,t=!1){let n=Je(this._storage,r,t);return typeof n=="boolean"?n:e._fromStorage(n)}reshape(...r){let t=r.length===1&&Array.isArray(r[0])?r[0]:r,n=$n(this._storage,t),a=n.data===this.data?this._base??this:void 0;return e._fromStorage(n,a)}flatten(){let r=He(this._storage);return e._fromStorage(r)}ravel(){let r=Gn(this._storage),n=r.data===this.data?this._base??this:void 0;return e._fromStorage(r,n)}transpose(r){let t=Yn(this._storage,r),n=this._base??this;return e._fromStorage(t,n)}squeeze(r){let t=Wn(this._storage,r),n=this._base??this;return e._fromStorage(t,n)}expand_dims(r){let t=Zn(this._storage,r),n=this._base??this;return e._fromStorage(t,n)}matmul(r){let t=Um(this._storage,r._storage);return e._fromStorage(t)}slice(...r){if(r.length===0)return this;if(r.length>this.ndim)throw new Error(`Too many indices for array: array is ${this.ndim}-dimensional, but ${r.length} were indexed`);let t=r.map((f,u)=>{let l=wn(f);return An(l,this.shape[u])});for(;t.length<this.ndim;)t.push({start:0,stop:this.shape[t.length],step:1,isIndex:!1});let n=[],i=[],a=this._storage.offset;for(let f=0;f<t.length;f++){let u=t[f],l=this._storage.strides[f];if(a+=u.start*l,!u.isIndex){let p;u.step>0?p=Math.max(0,Math.ceil((u.stop-u.start)/u.step)):p=Math.max(0,Math.ceil((u.start-u.stop)/Math.abs(u.step))),n.push(p),i.push(l*u.step)}}let s=b.fromData(this._storage.data,n,this._storage.dtype,i,a),o=this._base??this;return new e(s,o)}row(r){if(this.ndim<2)throw new Error("row() requires at least 2 dimensions");return this.slice(String(r),":")}col(r){if(this.ndim<2)throw new Error("col() requires at least 2 dimensions");return this.slice(":",String(r))}rows(r,t){if(this.ndim<2)throw new Error("rows() requires at least 2 dimensions");return this.slice(`${r}:${t}`,":")}cols(r,t){if(this.ndim<2)throw new Error("cols() requires at least 2 dimensions");return this.slice(":",`${r}:${t}`)}toString(){return`NDArray(shape=${JSON.stringify(this.shape)}, dtype=${this.dtype})`}toArray(){if(this.ndim===0)return this._storage.iget(0);let r=this.shape,t=r.length,n=(i,a)=>{if(a===t)return this._storage.get(...i);let s=[];for(let o=0;o<r[a];o++)i[a]=o,s.push(n(i,a+1));return s};return n(new Array(t),0)}};function ze(e,r=H){let t=b.zeros(e,r);return new tr(t)}function Rm(e,r=H){let t=b.ones(e,r);return new tr(t)}function fT(e){let r=[],t=e;for(;Array.isArray(t);)r.push(t.length),t=t[0];return r}function Cm(e){return typeof e=="bigint"?!0:Array.isArray(e)?e.some(r=>Cm(r)):!1}function lT(e){let r=[];function t(n){Array.isArray(n)?n.forEach(i=>t(i)):r.push(n)}return t(e),r}function Ir(e,r){if(e instanceof tr)return!r||e.dtype===r?e.copy():e.astype(r);let t=Cm(e),n=fT(e),i=n.reduce((l,p)=>l*p,1),a=r;a||(t?a="int64":a=H);let s=X(a);if(!s)throw new Error(`Cannot create array with dtype ${a}`);let o=new s(i),f=lT(e);if(d(a)){let l=o;for(let p=0;p<i;p++){let y=f[p];l[p]=typeof y=="bigint"?y:BigInt(Math.round(Number(y)))}}else if(a==="bool"){let l=o;for(let p=0;p<i;p++)l[p]=f[p]?1:0}else{let l=o;for(let p=0;p<i;p++){let y=f[p];l[p]=Number(y)}}let u=b.fromData(o,n,a);return new tr(u)}function cT(e,r,t=1,n=H){let i=e,a=r;if(r===void 0&&(i=0,a=e),a===void 0)throw new Error("stop is required");let s=Math.max(0,Math.ceil((a-i)/t)),o=X(n);if(!o)throw new Error(`Cannot create arange array with dtype ${n}`);let f=new o(s);if(d(n))for(let l=0;l<s;l++)f[l]=BigInt(Math.round(i+l*t));else if(n==="bool")for(let l=0;l<s;l++)f[l]=i+l*t!==0?1:0;else for(let l=0;l<s;l++)f[l]=i+l*t;let u=b.fromData(f,[s],n);return new tr(u)}function pT(e,r,t=50,n=H){if(t<0)throw new Error("num must be non-negative");if(t===0)return Ir([],n);if(t===1)return Ir([e],n);let i=X(n);if(!i)throw new Error(`Cannot create linspace array with dtype ${n}`);let a=new i(t),s=(r-e)/(t-1);if(d(n))for(let f=0;f<t;f++)a[f]=BigInt(Math.round(e+f*s));else if(n==="bool")for(let f=0;f<t;f++)a[f]=e+f*s!==0?1:0;else for(let f=0;f<t;f++)a[f]=e+f*s;let o=b.fromData(a,[t],n);return new tr(o)}function yT(e,r,t=50,n=10,i=H){if(t<0)throw new Error("num must be non-negative");if(t===0)return Ir([],i);if(t===1)return Ir([Math.pow(n,e)],i);let a=X(i);if(!a)throw new Error(`Cannot create logspace array with dtype ${i}`);let s=new a(t),o=(r-e)/(t-1);if(d(i))for(let u=0;u<t;u++){let l=e+u*o;s[u]=BigInt(Math.round(Math.pow(n,l)))}else if(i==="bool")for(let u=0;u<t;u++){let l=e+u*o;s[u]=Math.pow(n,l)!==0?1:0}else for(let u=0;u<t;u++){let l=e+u*o;s[u]=Math.pow(n,l)}let f=b.fromData(s,[t],i);return new tr(f)}function mT(e,r,t=50,n=H){if(t<0)throw new Error("num must be non-negative");if(e===0||r===0)throw new Error("Geometric sequence cannot include zero");if(t===0)return Ir([],n);if(t===1)return Ir([e],n);let i=Math.sign(e),a=Math.sign(r);if(i!==a)throw new Error("Geometric sequence cannot contain both positive and negative values");let s=X(n);if(!s)throw new Error(`Cannot create geomspace array with dtype ${n}`);let o=new s(t),f=Math.log(Math.abs(e)),l=(Math.log(Math.abs(r))-f)/(t-1);if(d(n))for(let y=0;y<t;y++){let m=i*Math.exp(f+y*l);o[y]=BigInt(Math.round(m))}else if(n==="bool")for(let y=0;y<t;y++){let m=i*Math.exp(f+y*l);o[y]=m!==0?1:0}else for(let y=0;y<t;y++){let m=i*Math.exp(f+y*l);o[y]=m}let p=b.fromData(o,[t],n);return new tr(p)}function jm(e,r,t=0,n=H){let i=r??e,a=ze([e,i],n),s=a.data;if(d(n)){let o=s;for(let f=0;f<e;f++){let u=f+t;u>=0&&u<i&&(o[f*i+u]=BigInt(1))}}else{let o=s;for(let f=0;f<e;f++){let u=f+t;u>=0&&u<i&&(o[f*i+u]=1)}}return a}function Lm(e,r=H){return ze(e,r)}function Mm(e,r,t){let n=t;n||(typeof r=="bigint"?n="int64":typeof r=="boolean"?n="bool":Number.isInteger(r)?n="int32":n=H);let i=X(n);if(!i)throw new Error(`Cannot create full array with dtype ${n}`);let a=e.reduce((f,u)=>f*u,1),s=new i(a);if(d(n)){let f=typeof r=="bigint"?r:BigInt(Math.round(Number(r)));s.fill(f)}else n==="bool"?s.fill(r?1:0):s.fill(Number(r));let o=b.fromData(s,e,n);return new tr(o)}function hT(e,r=H){return jm(e,e,0,r)}function gT(e,r){return e instanceof tr?!r||e.dtype===r?e:e.astype(r):Ir(e,r)}function vT(e){return e.copy()}function bT(e,r){return ze(Array.from(e.shape),r??e.dtype)}function dT(e,r){return Rm(Array.from(e.shape),r??e.dtype)}function wT(e,r){return Lm(Array.from(e.shape),r??e.dtype)}function AT(e,r,t){return Mm(Array.from(e.shape),r,t??e.dtype)}function xT(e){return e.sqrt()}function ET(e,r){return e.power(r)}function ST(e){return e.absolute()}function TT(e){return e.negative()}function _T(e){return e.sign()}function qT(e,r){return e.mod(r)}function IT(e,r){return e.floor_divide(r)}function DT(e){return e.positive()}function NT(e){return e.reciprocal()}var S2="0.3.0";export{tr as NDArray,S2 as __version__,ST as absolute,cT as arange,Ir as array,gT as asarray,vT as copy,Lm as empty,wT as empty_like,jm as eye,IT as floor_divide,Mm as full,AT as full_like,mT as geomspace,hT as identity,pT as linspace,yT as logspace,qT as mod,TT as negative,Rm as ones,dT as ones_like,DT as positive,ET as power,NT as reciprocal,_T as sign,xT as sqrt,ze as zeros,bT as zeros_like};
|
|
4
2
|
/*! Bundled license information:
|
|
5
3
|
|
|
6
4
|
@stdlib/utils/define-property/lib/define_property.js:
|
|
7
5
|
@stdlib/utils/define-property/lib/has_define_property_support.js:
|
|
8
6
|
@stdlib/regexp/function-name/lib/main.js:
|
|
9
7
|
@stdlib/regexp/function-name/lib/index.js:
|
|
10
|
-
@stdlib/assert/has-bigint-support/lib/main.js:
|
|
11
|
-
@stdlib/assert/has-bigint-support/lib/index.js:
|
|
12
|
-
@stdlib/math/base/special/abs/lib/main.js:
|
|
13
|
-
@stdlib/assert/is-dataview/lib/main.js:
|
|
14
|
-
@stdlib/assert/is-dataview/lib/index.js:
|
|
15
|
-
@stdlib/assert/has-dataview-support/lib/dataview.js:
|
|
16
|
-
@stdlib/assert/has-dataview-support/lib/main.js:
|
|
17
|
-
@stdlib/assert/has-dataview-support/lib/index.js:
|
|
18
|
-
@stdlib/array/dataview/lib/main.js:
|
|
19
|
-
@stdlib/array/dataview/lib/polyfill.js:
|
|
20
|
-
@stdlib/array/dataview/lib/index.js:
|
|
21
|
-
@stdlib/bigint/ctor/lib/main.js:
|
|
22
|
-
@stdlib/bigint/ctor/lib/index.js:
|
|
23
|
-
@stdlib/ndarray/dtypes/lib/enum.js:
|
|
24
|
-
@stdlib/ndarray/dtypes/lib/assign.js:
|
|
25
|
-
@stdlib/ndarray/orders/lib/enum.js:
|
|
26
|
-
@stdlib/ndarray/index-modes/lib/enum.js:
|
|
27
|
-
@stdlib/ndarray/base/ctor/lib/meta2dataview.js:
|
|
28
|
-
@stdlib/number/float64/base/to-int64-bytes/lib/main.js:
|
|
29
|
-
@stdlib/number/float64/base/to-int64-bytes/lib/assign.js:
|
|
30
|
-
@stdlib/number/float64/base/to-int64-bytes/lib/index.js:
|
|
31
|
-
@stdlib/ndarray/base/ctor/lib/meta2dataview.polyfill.js:
|
|
32
8
|
@stdlib/complex/float32/real/lib/main.js:
|
|
33
9
|
@stdlib/complex/float32/real/lib/index.js:
|
|
34
10
|
@stdlib/complex/float32/imag/lib/main.js:
|
|
@@ -37,86 +13,7 @@ var qK=Object.create;var Bc=Object.defineProperty;var wK=Object.getOwnPropertyDe
|
|
|
37
13
|
@stdlib/strided/base/reinterpret-complex64/lib/index.js:
|
|
38
14
|
@stdlib/strided/base/reinterpret-complex128/lib/main.js:
|
|
39
15
|
@stdlib/strided/base/reinterpret-complex128/lib/index.js:
|
|
40
|
-
@stdlib/
|
|
41
|
-
@stdlib/ndarray/base/dtype-enum2str/lib/main.js:
|
|
42
|
-
@stdlib/ndarray/base/dtype-enum2str/lib/index.js:
|
|
43
|
-
@stdlib/ndarray/base/dtype-str2enum/lib/main.js:
|
|
44
|
-
@stdlib/ndarray/base/dtype-str2enum/lib/index.js:
|
|
45
|
-
@stdlib/ndarray/base/dtype-resolve-str/lib/main.js:
|
|
46
|
-
@stdlib/ndarray/base/dtype-resolve-str/lib/index.js:
|
|
47
|
-
@stdlib/array/base/filled/lib/main.js:
|
|
48
|
-
@stdlib/array/base/filled/lib/index.js:
|
|
49
|
-
@stdlib/array/base/zeros/lib/main.js:
|
|
50
|
-
@stdlib/array/base/zeros/lib/index.js:
|
|
51
|
-
@stdlib/ndarray/base/broadcast-array/lib/main.js:
|
|
52
|
-
@stdlib/ndarray/base/broadcast-array/lib/index.js:
|
|
53
|
-
@stdlib/ndarray/base/broadcast-shapes/lib/main.js:
|
|
54
|
-
@stdlib/ndarray/base/broadcast-shapes/lib/index.js:
|
|
55
|
-
@stdlib/ndarray/base/buffer-dtype-enum/lib/main.js:
|
|
56
|
-
@stdlib/ndarray/base/buffer-dtype-enum/lib/index.js:
|
|
57
|
-
@stdlib/ndarray/base/dtype-char/lib/table.js:
|
|
58
|
-
@stdlib/ndarray/base/char2dtype/lib/main.js:
|
|
59
|
-
@stdlib/ndarray/base/char2dtype/lib/index.js:
|
|
60
|
-
@stdlib/ndarray/base/dtype-desc/lib/table.js:
|
|
61
|
-
@stdlib/ndarray/base/dtype-desc/lib/index.js:
|
|
62
|
-
@stdlib/ndarray/base/dtype-resolve-enum/lib/main.js:
|
|
63
|
-
@stdlib/ndarray/base/dtype-resolve-enum/lib/index.js:
|
|
64
|
-
@stdlib/ndarray/base/dtype2c/lib/main.js:
|
|
65
|
-
@stdlib/ndarray/base/dtype2c/lib/index.js:
|
|
66
|
-
@stdlib/ndarray/base/meta-data-props/lib/main.js:
|
|
67
|
-
@stdlib/ndarray/base/meta-data-props/lib/index.js:
|
|
68
|
-
@stdlib/ndarray/base/serialize-meta-data/lib/main.js:
|
|
69
|
-
@stdlib/ndarray/base/serialize-meta-data/lib/polyfill.js:
|
|
70
|
-
@stdlib/ndarray/base/serialize-meta-data/lib/index.js:
|
|
71
|
-
@stdlib/ndarray/base/unary/lib/2d_blocked_accessors.js:
|
|
72
|
-
@stdlib/ndarray/base/unary/lib/3d_blocked_accessors.js:
|
|
73
|
-
@stdlib/ndarray/base/unary/lib/4d_blocked_accessors.js:
|
|
74
|
-
@stdlib/ndarray/base/unary/lib/5d_blocked_accessors.js:
|
|
75
|
-
@stdlib/ndarray/base/unary/lib/6d_blocked_accessors.js:
|
|
76
|
-
@stdlib/ndarray/base/unary/lib/7d_blocked_accessors.js:
|
|
77
|
-
@stdlib/ndarray/base/unary/lib/8d_blocked_accessors.js:
|
|
78
|
-
@stdlib/ndarray/base/unary/lib/9d_blocked_accessors.js:
|
|
79
|
-
@stdlib/ndarray/base/unary/lib/10d_blocked_accessors.js:
|
|
80
|
-
@stdlib/ndarray/base/unary/lib/2d_blocked.js:
|
|
81
|
-
@stdlib/ndarray/base/unary/lib/3d_blocked.js:
|
|
82
|
-
@stdlib/ndarray/base/unary/lib/4d_blocked.js:
|
|
83
|
-
@stdlib/ndarray/base/unary/lib/5d_blocked.js:
|
|
84
|
-
@stdlib/ndarray/base/unary/lib/6d_blocked.js:
|
|
85
|
-
@stdlib/ndarray/base/unary/lib/7d_blocked.js:
|
|
86
|
-
@stdlib/ndarray/base/unary/lib/8d_blocked.js:
|
|
87
|
-
@stdlib/ndarray/base/unary/lib/9d_blocked.js:
|
|
88
|
-
@stdlib/ndarray/base/unary/lib/10d_blocked.js:
|
|
89
|
-
@stdlib/ndarray/base/unary/lib/0d_accessors.js:
|
|
90
|
-
@stdlib/ndarray/base/unary/lib/1d_accessors.js:
|
|
91
|
-
@stdlib/ndarray/base/unary/lib/2d_accessors.js:
|
|
92
|
-
@stdlib/ndarray/base/unary/lib/3d_accessors.js:
|
|
93
|
-
@stdlib/ndarray/base/unary/lib/4d_accessors.js:
|
|
94
|
-
@stdlib/ndarray/base/unary/lib/5d_accessors.js:
|
|
95
|
-
@stdlib/ndarray/base/unary/lib/6d_accessors.js:
|
|
96
|
-
@stdlib/ndarray/base/unary/lib/7d_accessors.js:
|
|
97
|
-
@stdlib/ndarray/base/unary/lib/8d_accessors.js:
|
|
98
|
-
@stdlib/ndarray/base/unary/lib/9d_accessors.js:
|
|
99
|
-
@stdlib/ndarray/base/unary/lib/10d_accessors.js:
|
|
100
|
-
@stdlib/ndarray/base/unary/lib/nd_accessors.js:
|
|
101
|
-
@stdlib/ndarray/base/unary/lib/0d.js:
|
|
102
|
-
@stdlib/ndarray/base/unary/lib/1d.js:
|
|
103
|
-
@stdlib/ndarray/base/unary/lib/2d.js:
|
|
104
|
-
@stdlib/ndarray/base/unary/lib/3d.js:
|
|
105
|
-
@stdlib/ndarray/base/unary/lib/4d.js:
|
|
106
|
-
@stdlib/ndarray/base/unary/lib/5d.js:
|
|
107
|
-
@stdlib/ndarray/base/unary/lib/6d.js:
|
|
108
|
-
@stdlib/ndarray/base/unary/lib/7d.js:
|
|
109
|
-
@stdlib/ndarray/base/unary/lib/8d.js:
|
|
110
|
-
@stdlib/ndarray/base/unary/lib/9d.js:
|
|
111
|
-
@stdlib/ndarray/base/unary/lib/10d.js:
|
|
112
|
-
@stdlib/ndarray/base/unary/lib/nd.js:
|
|
113
|
-
@stdlib/ndarray/base/unary/lib/main.js:
|
|
114
|
-
@stdlib/ndarray/base/unary/lib/index.js:
|
|
115
|
-
@stdlib/ndarray/dispatch/lib/index_of_types.js:
|
|
116
|
-
@stdlib/ndarray/dispatch/lib/main.js:
|
|
117
|
-
@stdlib/ndarray/dispatch/lib/index.js:
|
|
118
|
-
@stdlib/assert/is-property-key/lib/main.js:
|
|
119
|
-
@stdlib/assert/is-property-key/lib/index.js:
|
|
16
|
+
@stdlib/math/base/special/abs/lib/main.js:
|
|
120
17
|
(**
|
|
121
18
|
* @license Apache-2.0
|
|
122
19
|
*
|
|
@@ -138,16 +35,18 @@ var qK=Object.create;var Bc=Object.defineProperty;var wK=Object.getOwnPropertyDe
|
|
|
138
35
|
@stdlib/utils/define-property/lib/builtin.js:
|
|
139
36
|
@stdlib/utils/define-property/lib/polyfill.js:
|
|
140
37
|
@stdlib/utils/define-property/lib/index.js:
|
|
141
|
-
@stdlib/utils/define-read-only-property/lib/main.js:
|
|
142
|
-
@stdlib/utils/define-read-only-property/lib/index.js:
|
|
143
|
-
@stdlib/
|
|
144
|
-
@stdlib/
|
|
38
|
+
@stdlib/utils/define-nonenumerable-read-only-property/lib/main.js:
|
|
39
|
+
@stdlib/utils/define-nonenumerable-read-only-property/lib/index.js:
|
|
40
|
+
@stdlib/math/base/special/fast/max/lib/main.js:
|
|
41
|
+
@stdlib/math/base/special/fast/max/lib/index.js:
|
|
145
42
|
@stdlib/assert/has-symbol-support/lib/main.js:
|
|
146
43
|
@stdlib/assert/has-symbol-support/lib/index.js:
|
|
147
44
|
@stdlib/assert/has-tostringtag-support/lib/main.js:
|
|
148
45
|
@stdlib/assert/has-tostringtag-support/lib/index.js:
|
|
149
46
|
@stdlib/utils/native-class/lib/tostring.js:
|
|
150
47
|
@stdlib/utils/native-class/lib/main.js:
|
|
48
|
+
@stdlib/assert/has-own-property/lib/main.js:
|
|
49
|
+
@stdlib/assert/has-own-property/lib/index.js:
|
|
151
50
|
@stdlib/symbol/ctor/lib/main.js:
|
|
152
51
|
@stdlib/symbol/ctor/lib/index.js:
|
|
153
52
|
@stdlib/utils/native-class/lib/tostringtag.js:
|
|
@@ -155,131 +54,15 @@ var qK=Object.create;var Bc=Object.defineProperty;var wK=Object.getOwnPropertyDe
|
|
|
155
54
|
@stdlib/utils/native-class/lib/index.js:
|
|
156
55
|
@stdlib/assert/is-array/lib/main.js:
|
|
157
56
|
@stdlib/assert/is-array/lib/index.js:
|
|
158
|
-
@stdlib/assert/is-object/lib/main.js:
|
|
159
|
-
@stdlib/assert/is-object/lib/index.js:
|
|
160
|
-
@stdlib/utils/type-of/lib/fixtures/re.js:
|
|
161
|
-
@stdlib/utils/define-nonenumerable-read-only-property/lib/main.js:
|
|
162
|
-
@stdlib/utils/define-nonenumerable-read-only-property/lib/index.js:
|
|
163
|
-
@stdlib/assert/is-boolean/lib/primitive.js:
|
|
164
|
-
@stdlib/assert/is-boolean/lib/tostring.js:
|
|
165
|
-
@stdlib/assert/is-boolean/lib/try2serialize.js:
|
|
166
|
-
@stdlib/assert/is-boolean/lib/object.js:
|
|
167
|
-
@stdlib/assert/is-boolean/lib/main.js:
|
|
168
|
-
@stdlib/assert/is-boolean/lib/index.js:
|
|
169
|
-
@stdlib/utils/global/lib/codegen.js:
|
|
170
|
-
@stdlib/utils/global/lib/self.js:
|
|
171
|
-
@stdlib/utils/global/lib/window.js:
|
|
172
|
-
@stdlib/utils/type-of/lib/fixtures/nodelist.js:
|
|
173
|
-
@stdlib/utils/type-of/lib/fixtures/typedarray.js:
|
|
174
|
-
@stdlib/utils/type-of/lib/check.js:
|
|
175
|
-
@stdlib/regexp/function-name/lib/regexp.js:
|
|
176
57
|
@stdlib/assert/tools/array-function/lib/main.js:
|
|
177
58
|
@stdlib/assert/tools/array-function/lib/index.js:
|
|
178
59
|
@stdlib/assert/is-object-like/lib/main.js:
|
|
179
60
|
@stdlib/assert/is-object-like/lib/index.js:
|
|
180
61
|
@stdlib/assert/is-buffer/lib/main.js:
|
|
181
62
|
@stdlib/assert/is-buffer/lib/index.js:
|
|
63
|
+
@stdlib/regexp/function-name/lib/regexp.js:
|
|
182
64
|
@stdlib/utils/constructor-name/lib/main.js:
|
|
183
65
|
@stdlib/utils/constructor-name/lib/index.js:
|
|
184
|
-
@stdlib/utils/type-of/lib/main.js:
|
|
185
|
-
@stdlib/utils/type-of/lib/polyfill.js:
|
|
186
|
-
@stdlib/utils/type-of/lib/index.js:
|
|
187
|
-
@stdlib/assert/is-function/lib/main.js:
|
|
188
|
-
@stdlib/assert/is-function/lib/index.js:
|
|
189
|
-
@stdlib/utils/get-prototype-of/lib/native.js:
|
|
190
|
-
@stdlib/utils/get-prototype-of/lib/proto.js:
|
|
191
|
-
@stdlib/utils/get-prototype-of/lib/polyfill.js:
|
|
192
|
-
@stdlib/utils/get-prototype-of/lib/detect.js:
|
|
193
|
-
@stdlib/utils/get-prototype-of/lib/main.js:
|
|
194
|
-
@stdlib/utils/get-prototype-of/lib/index.js:
|
|
195
|
-
@stdlib/assert/is-plain-object/lib/main.js:
|
|
196
|
-
@stdlib/assert/is-plain-object/lib/index.js:
|
|
197
|
-
@stdlib/assert/is-number/lib/primitive.js:
|
|
198
|
-
@stdlib/number/ctor/lib/main.js:
|
|
199
|
-
@stdlib/number/ctor/lib/index.js:
|
|
200
|
-
@stdlib/assert/is-number/lib/tostring.js:
|
|
201
|
-
@stdlib/assert/is-number/lib/try2serialize.js:
|
|
202
|
-
@stdlib/assert/is-number/lib/object.js:
|
|
203
|
-
@stdlib/assert/is-number/lib/main.js:
|
|
204
|
-
@stdlib/assert/is-number/lib/index.js:
|
|
205
|
-
@stdlib/constants/float64/pinf/lib/index.js:
|
|
206
|
-
@stdlib/constants/float64/ninf/lib/index.js:
|
|
207
|
-
@stdlib/math/base/special/floor/lib/main.js:
|
|
208
|
-
@stdlib/math/base/special/floor/lib/index.js:
|
|
209
|
-
@stdlib/math/base/assert/is-integer/lib/main.js:
|
|
210
|
-
@stdlib/math/base/assert/is-integer/lib/index.js:
|
|
211
|
-
@stdlib/assert/is-integer/lib/integer.js:
|
|
212
|
-
@stdlib/assert/is-integer/lib/primitive.js:
|
|
213
|
-
@stdlib/assert/is-integer/lib/object.js:
|
|
214
|
-
@stdlib/assert/is-integer/lib/main.js:
|
|
215
|
-
@stdlib/assert/is-integer/lib/index.js:
|
|
216
|
-
@stdlib/assert/is-nonnegative-integer/lib/primitive.js:
|
|
217
|
-
@stdlib/assert/is-nonnegative-integer/lib/object.js:
|
|
218
|
-
@stdlib/assert/is-nonnegative-integer/lib/main.js:
|
|
219
|
-
@stdlib/assert/is-nonnegative-integer/lib/index.js:
|
|
220
|
-
@stdlib/utils/define-nonenumerable-read-only-accessor/lib/main.js:
|
|
221
|
-
@stdlib/utils/define-nonenumerable-read-only-accessor/lib/index.js:
|
|
222
|
-
@stdlib/ndarray/base/bytes-per-element/lib/main.js:
|
|
223
|
-
@stdlib/ndarray/base/bytes-per-element/lib/index.js:
|
|
224
|
-
@stdlib/ndarray/base/iteration-order/lib/main.js:
|
|
225
|
-
@stdlib/ndarray/base/iteration-order/lib/index.js:
|
|
226
|
-
@stdlib/math/base/special/abs/lib/index.js:
|
|
227
|
-
@stdlib/ndarray/base/strides2order/lib/main.js:
|
|
228
|
-
@stdlib/ndarray/base/strides2order/lib/index.js:
|
|
229
|
-
@stdlib/ndarray/base/ctor/lib/is_column_major_contiguous.js:
|
|
230
|
-
@stdlib/ndarray/base/ctor/lib/is_row_major_contiguous.js:
|
|
231
|
-
@stdlib/ndarray/base/minmax-view-buffer-index/lib/main.js:
|
|
232
|
-
@stdlib/ndarray/base/minmax-view-buffer-index/lib/assign.js:
|
|
233
|
-
@stdlib/ndarray/base/minmax-view-buffer-index/lib/index.js:
|
|
234
|
-
@stdlib/ndarray/base/ctor/lib/is_contiguous.js:
|
|
235
|
-
@stdlib/ndarray/base/ctor/lib/copy_flags.js:
|
|
236
|
-
@stdlib/ndarray/base/ctor/lib/iget.js:
|
|
237
|
-
@stdlib/ndarray/base/ctor/lib/iset.js:
|
|
238
|
-
@stdlib/ndarray/base/ctor/lib/set.js:
|
|
239
|
-
@stdlib/ndarray/base/ctor/lib/get.js:
|
|
240
|
-
@stdlib/complex/float64/real/lib/main.js:
|
|
241
|
-
@stdlib/complex/float64/real/lib/index.js:
|
|
242
|
-
@stdlib/complex/float64/imag/lib/main.js:
|
|
243
|
-
@stdlib/complex/float64/imag/lib/index.js:
|
|
244
|
-
@stdlib/ndarray/base/ctor/lib/tojson.js:
|
|
245
|
-
@stdlib/assert/is-string/lib/primitive.js:
|
|
246
|
-
@stdlib/assert/is-string/lib/valueof.js:
|
|
247
|
-
@stdlib/assert/is-string/lib/try2valueof.js:
|
|
248
|
-
@stdlib/assert/is-string/lib/object.js:
|
|
249
|
-
@stdlib/assert/is-string/lib/main.js:
|
|
250
|
-
@stdlib/assert/is-string/lib/index.js:
|
|
251
|
-
@stdlib/utils/escape-regexp-string/lib/main.js:
|
|
252
|
-
@stdlib/utils/escape-regexp-string/lib/index.js:
|
|
253
|
-
@stdlib/assert/is-regexp/lib/exec.js:
|
|
254
|
-
@stdlib/assert/is-regexp/lib/try2exec.js:
|
|
255
|
-
@stdlib/assert/is-regexp/lib/main.js:
|
|
256
|
-
@stdlib/assert/is-regexp/lib/index.js:
|
|
257
|
-
@stdlib/string/replace/lib/main.js:
|
|
258
|
-
@stdlib/string/replace/lib/index.js:
|
|
259
|
-
@stdlib/ndarray/base/ctor/lib/tostring.js:
|
|
260
|
-
@stdlib/assert/is-uint8array/lib/main.js:
|
|
261
|
-
@stdlib/assert/is-uint8array/lib/index.js:
|
|
262
|
-
@stdlib/constants/uint8/max/lib/index.js:
|
|
263
|
-
@stdlib/assert/has-uint8array-support/lib/uint8array.js:
|
|
264
|
-
@stdlib/assert/has-uint8array-support/lib/main.js:
|
|
265
|
-
@stdlib/assert/has-uint8array-support/lib/index.js:
|
|
266
|
-
@stdlib/array/uint8/lib/main.js:
|
|
267
|
-
@stdlib/array/uint8/lib/polyfill.js:
|
|
268
|
-
@stdlib/array/uint8/lib/index.js:
|
|
269
|
-
@stdlib/assert/is-uint16array/lib/main.js:
|
|
270
|
-
@stdlib/assert/is-uint16array/lib/index.js:
|
|
271
|
-
@stdlib/constants/uint16/max/lib/index.js:
|
|
272
|
-
@stdlib/assert/has-uint16array-support/lib/uint16array.js:
|
|
273
|
-
@stdlib/assert/has-uint16array-support/lib/main.js:
|
|
274
|
-
@stdlib/assert/has-uint16array-support/lib/index.js:
|
|
275
|
-
@stdlib/array/uint16/lib/main.js:
|
|
276
|
-
@stdlib/array/uint16/lib/polyfill.js:
|
|
277
|
-
@stdlib/array/uint16/lib/index.js:
|
|
278
|
-
@stdlib/assert/is-little-endian/lib/ctors.js:
|
|
279
|
-
@stdlib/assert/is-little-endian/lib/main.js:
|
|
280
|
-
@stdlib/assert/is-little-endian/lib/index.js:
|
|
281
|
-
@stdlib/assert/is-arraybuffer/lib/main.js:
|
|
282
|
-
@stdlib/assert/is-arraybuffer/lib/index.js:
|
|
283
66
|
@stdlib/assert/is-float64array/lib/main.js:
|
|
284
67
|
@stdlib/assert/is-float64array/lib/index.js:
|
|
285
68
|
@stdlib/assert/has-float64array-support/lib/float64array.js:
|
|
@@ -288,76 +71,9 @@ var qK=Object.create;var Bc=Object.defineProperty;var wK=Object.getOwnPropertyDe
|
|
|
288
71
|
@stdlib/array/float64/lib/main.js:
|
|
289
72
|
@stdlib/array/float64/lib/polyfill.js:
|
|
290
73
|
@stdlib/array/float64/lib/index.js:
|
|
291
|
-
@stdlib/assert/has-arraybuffer-support/lib/arraybuffer.js:
|
|
292
|
-
@stdlib/assert/has-arraybuffer-support/lib/main.js:
|
|
293
|
-
@stdlib/assert/has-arraybuffer-support/lib/index.js:
|
|
294
|
-
@stdlib/array/buffer/lib/main.js:
|
|
295
|
-
@stdlib/array/buffer/lib/polyfill.js:
|
|
296
|
-
@stdlib/array/buffer/lib/index.js:
|
|
297
|
-
@stdlib/ndarray/dtypes/lib/main.js:
|
|
298
|
-
@stdlib/utils/keys/lib/builtin.js:
|
|
299
|
-
@stdlib/utils/keys/lib/has_arguments_bug.js:
|
|
300
|
-
@stdlib/utils/keys/lib/has_builtin.js:
|
|
301
|
-
@stdlib/assert/is-arguments/lib/main.js:
|
|
302
|
-
@stdlib/assert/is-arguments/lib/detect.js:
|
|
303
|
-
@stdlib/math/base/assert/is-nan/lib/main.js:
|
|
304
|
-
@stdlib/math/base/assert/is-nan/lib/index.js:
|
|
305
|
-
@stdlib/assert/is-nan/lib/primitive.js:
|
|
306
|
-
@stdlib/assert/is-nan/lib/object.js:
|
|
307
|
-
@stdlib/assert/is-nan/lib/main.js:
|
|
308
|
-
@stdlib/assert/is-nan/lib/index.js:
|
|
309
|
-
@stdlib/assert/is-enumerable-property/lib/native.js:
|
|
310
|
-
@stdlib/assert/is-enumerable-property/lib/has_string_enumerability_bug.js:
|
|
311
|
-
@stdlib/assert/is-enumerable-property/lib/main.js:
|
|
312
|
-
@stdlib/assert/is-enumerable-property/lib/index.js:
|
|
313
|
-
@stdlib/constants/uint32/max/lib/index.js:
|
|
314
|
-
@stdlib/assert/is-arguments/lib/polyfill.js:
|
|
315
|
-
@stdlib/assert/is-arguments/lib/index.js:
|
|
316
|
-
@stdlib/utils/keys/lib/builtin_wrapper.js:
|
|
317
|
-
@stdlib/utils/noop/lib/main.js:
|
|
318
|
-
@stdlib/utils/noop/lib/index.js:
|
|
319
|
-
@stdlib/utils/keys/lib/has_enumerable_prototype_bug.js:
|
|
320
|
-
@stdlib/utils/keys/lib/has_non_enumerable_properties_bug.js:
|
|
321
|
-
@stdlib/constants/array/max-typed-array-length/lib/index.js:
|
|
322
|
-
@stdlib/assert/is-collection/lib/main.js:
|
|
323
|
-
@stdlib/assert/is-collection/lib/index.js:
|
|
324
|
-
@stdlib/utils/index-of/lib/main.js:
|
|
325
|
-
@stdlib/utils/index-of/lib/index.js:
|
|
326
|
-
@stdlib/utils/keys/lib/is_constructor_prototype.js:
|
|
327
|
-
@stdlib/utils/keys/lib/window.js:
|
|
328
|
-
@stdlib/utils/keys/lib/has_automation_equality_bug.js:
|
|
329
|
-
@stdlib/utils/keys/lib/has_window.js:
|
|
330
|
-
@stdlib/utils/keys/lib/is_constructor_prototype_wrapper.js:
|
|
331
|
-
@stdlib/utils/keys/lib/polyfill.js:
|
|
332
|
-
@stdlib/utils/keys/lib/main.js:
|
|
333
|
-
@stdlib/utils/keys/lib/index.js:
|
|
334
|
-
@stdlib/ndarray/dtypes/lib/index.js:
|
|
335
|
-
@stdlib/ndarray/orders/lib/main.js:
|
|
336
|
-
@stdlib/ndarray/orders/lib/index.js:
|
|
337
|
-
@stdlib/ndarray/index-modes/lib/main.js:
|
|
338
|
-
@stdlib/ndarray/index-modes/lib/index.js:
|
|
339
|
-
@stdlib/ndarray/base/ctor/lib/main.js:
|
|
340
|
-
@stdlib/ndarray/base/ctor/lib/index.js:
|
|
341
|
-
@stdlib/assert/is-ndarray-like/lib/main.js:
|
|
342
|
-
@stdlib/assert/is-ndarray-like/lib/index.js:
|
|
343
|
-
@stdlib/ndarray/base/shape2strides/lib/main.js:
|
|
344
|
-
@stdlib/ndarray/base/shape2strides/lib/assign.js:
|
|
345
|
-
@stdlib/ndarray/base/shape2strides/lib/index.js:
|
|
346
|
-
@stdlib/ndarray/base/strides2offset/lib/main.js:
|
|
347
|
-
@stdlib/ndarray/base/strides2offset/lib/index.js:
|
|
348
|
-
@stdlib/ndarray/base/numel/lib/main.js:
|
|
349
|
-
@stdlib/ndarray/base/numel/lib/index.js:
|
|
350
|
-
@stdlib/constants/array/max-array-length/lib/index.js:
|
|
351
|
-
@stdlib/assert/is-array-like/lib/main.js:
|
|
352
|
-
@stdlib/assert/is-array-like/lib/index.js:
|
|
353
|
-
@stdlib/assert/tools/array-like-function/lib/main.js:
|
|
354
|
-
@stdlib/assert/tools/array-like-function/lib/index.js:
|
|
355
|
-
@stdlib/assert/is-nonnegative-integer-array/lib/index.js:
|
|
356
|
-
@stdlib/assert/is-integer-array/lib/index.js:
|
|
357
|
-
@stdlib/ndarray/base/assert/is-order/lib/main.js:
|
|
358
|
-
@stdlib/ndarray/base/assert/is-order/lib/index.js:
|
|
359
74
|
@stdlib/assert/is-float32array/lib/main.js:
|
|
360
75
|
@stdlib/assert/is-float32array/lib/index.js:
|
|
76
|
+
@stdlib/constants/float64/pinf/lib/index.js:
|
|
361
77
|
@stdlib/assert/has-float32array-support/lib/float32array.js:
|
|
362
78
|
@stdlib/assert/has-float32array-support/lib/main.js:
|
|
363
79
|
@stdlib/assert/has-float32array-support/lib/index.js:
|
|
@@ -366,6 +82,7 @@ var qK=Object.create;var Bc=Object.defineProperty;var wK=Object.getOwnPropertyDe
|
|
|
366
82
|
@stdlib/array/float32/lib/index.js:
|
|
367
83
|
@stdlib/assert/is-uint32array/lib/main.js:
|
|
368
84
|
@stdlib/assert/is-uint32array/lib/index.js:
|
|
85
|
+
@stdlib/constants/uint32/max/lib/index.js:
|
|
369
86
|
@stdlib/assert/has-uint32array-support/lib/uint32array.js:
|
|
370
87
|
@stdlib/assert/has-uint32array-support/lib/main.js:
|
|
371
88
|
@stdlib/assert/has-uint32array-support/lib/index.js:
|
|
@@ -382,6 +99,15 @@ var qK=Object.create;var Bc=Object.defineProperty;var wK=Object.getOwnPropertyDe
|
|
|
382
99
|
@stdlib/array/int32/lib/main.js:
|
|
383
100
|
@stdlib/array/int32/lib/polyfill.js:
|
|
384
101
|
@stdlib/array/int32/lib/index.js:
|
|
102
|
+
@stdlib/assert/is-uint16array/lib/main.js:
|
|
103
|
+
@stdlib/assert/is-uint16array/lib/index.js:
|
|
104
|
+
@stdlib/constants/uint16/max/lib/index.js:
|
|
105
|
+
@stdlib/assert/has-uint16array-support/lib/uint16array.js:
|
|
106
|
+
@stdlib/assert/has-uint16array-support/lib/main.js:
|
|
107
|
+
@stdlib/assert/has-uint16array-support/lib/index.js:
|
|
108
|
+
@stdlib/array/uint16/lib/main.js:
|
|
109
|
+
@stdlib/array/uint16/lib/polyfill.js:
|
|
110
|
+
@stdlib/array/uint16/lib/index.js:
|
|
385
111
|
@stdlib/assert/is-int16array/lib/main.js:
|
|
386
112
|
@stdlib/assert/is-int16array/lib/index.js:
|
|
387
113
|
@stdlib/constants/int16/max/lib/index.js:
|
|
@@ -392,6 +118,15 @@ var qK=Object.create;var Bc=Object.defineProperty;var wK=Object.getOwnPropertyDe
|
|
|
392
118
|
@stdlib/array/int16/lib/main.js:
|
|
393
119
|
@stdlib/array/int16/lib/polyfill.js:
|
|
394
120
|
@stdlib/array/int16/lib/index.js:
|
|
121
|
+
@stdlib/assert/is-uint8array/lib/main.js:
|
|
122
|
+
@stdlib/assert/is-uint8array/lib/index.js:
|
|
123
|
+
@stdlib/constants/uint8/max/lib/index.js:
|
|
124
|
+
@stdlib/assert/has-uint8array-support/lib/uint8array.js:
|
|
125
|
+
@stdlib/assert/has-uint8array-support/lib/main.js:
|
|
126
|
+
@stdlib/assert/has-uint8array-support/lib/index.js:
|
|
127
|
+
@stdlib/array/uint8/lib/main.js:
|
|
128
|
+
@stdlib/array/uint8/lib/polyfill.js:
|
|
129
|
+
@stdlib/array/uint8/lib/index.js:
|
|
395
130
|
@stdlib/assert/is-uint8clampedarray/lib/main.js:
|
|
396
131
|
@stdlib/assert/is-uint8clampedarray/lib/index.js:
|
|
397
132
|
@stdlib/assert/has-uint8clampedarray-support/lib/uint8clampedarray.js:
|
|
@@ -410,9 +145,63 @@ var qK=Object.create;var Bc=Object.defineProperty;var wK=Object.getOwnPropertyDe
|
|
|
410
145
|
@stdlib/array/int8/lib/main.js:
|
|
411
146
|
@stdlib/array/int8/lib/polyfill.js:
|
|
412
147
|
@stdlib/array/int8/lib/index.js:
|
|
148
|
+
@stdlib/assert/is-number/lib/primitive.js:
|
|
149
|
+
@stdlib/number/ctor/lib/main.js:
|
|
150
|
+
@stdlib/number/ctor/lib/index.js:
|
|
151
|
+
@stdlib/assert/is-number/lib/tostring.js:
|
|
152
|
+
@stdlib/assert/is-number/lib/try2serialize.js:
|
|
153
|
+
@stdlib/assert/is-number/lib/object.js:
|
|
154
|
+
@stdlib/assert/is-number/lib/main.js:
|
|
155
|
+
@stdlib/assert/is-number/lib/index.js:
|
|
156
|
+
@stdlib/constants/float64/ninf/lib/index.js:
|
|
157
|
+
@stdlib/math/base/special/floor/lib/main.js:
|
|
158
|
+
@stdlib/math/base/special/floor/lib/index.js:
|
|
159
|
+
@stdlib/math/base/assert/is-integer/lib/main.js:
|
|
160
|
+
@stdlib/math/base/assert/is-integer/lib/index.js:
|
|
161
|
+
@stdlib/assert/is-integer/lib/integer.js:
|
|
162
|
+
@stdlib/assert/is-integer/lib/primitive.js:
|
|
163
|
+
@stdlib/assert/is-integer/lib/object.js:
|
|
164
|
+
@stdlib/assert/is-integer/lib/main.js:
|
|
165
|
+
@stdlib/assert/is-integer/lib/index.js:
|
|
166
|
+
@stdlib/assert/is-nonnegative-integer/lib/primitive.js:
|
|
167
|
+
@stdlib/assert/is-nonnegative-integer/lib/object.js:
|
|
168
|
+
@stdlib/assert/is-nonnegative-integer/lib/main.js:
|
|
169
|
+
@stdlib/assert/is-nonnegative-integer/lib/index.js:
|
|
170
|
+
@stdlib/constants/array/max-array-length/lib/index.js:
|
|
413
171
|
@stdlib/assert/is-array-like-object/lib/main.js:
|
|
414
172
|
@stdlib/assert/is-array-like-object/lib/index.js:
|
|
173
|
+
@stdlib/constants/array/max-typed-array-length/lib/index.js:
|
|
174
|
+
@stdlib/assert/is-collection/lib/main.js:
|
|
175
|
+
@stdlib/assert/is-collection/lib/index.js:
|
|
176
|
+
@stdlib/assert/is-arraybuffer/lib/main.js:
|
|
177
|
+
@stdlib/assert/is-arraybuffer/lib/index.js:
|
|
178
|
+
@stdlib/assert/is-object/lib/main.js:
|
|
179
|
+
@stdlib/assert/is-object/lib/index.js:
|
|
180
|
+
@stdlib/assert/is-string/lib/primitive.js:
|
|
181
|
+
@stdlib/assert/is-string/lib/valueof.js:
|
|
182
|
+
@stdlib/assert/is-string/lib/try2valueof.js:
|
|
183
|
+
@stdlib/assert/is-string/lib/object.js:
|
|
184
|
+
@stdlib/assert/is-string/lib/main.js:
|
|
185
|
+
@stdlib/assert/is-string/lib/index.js:
|
|
415
186
|
@stdlib/assert/is-string-array/lib/index.js:
|
|
187
|
+
@stdlib/utils/type-of/lib/fixtures/re.js:
|
|
188
|
+
@stdlib/assert/is-boolean/lib/primitive.js:
|
|
189
|
+
@stdlib/assert/is-boolean/lib/tostring.js:
|
|
190
|
+
@stdlib/assert/is-boolean/lib/try2serialize.js:
|
|
191
|
+
@stdlib/assert/is-boolean/lib/object.js:
|
|
192
|
+
@stdlib/assert/is-boolean/lib/main.js:
|
|
193
|
+
@stdlib/assert/is-boolean/lib/index.js:
|
|
194
|
+
@stdlib/utils/global/lib/codegen.js:
|
|
195
|
+
@stdlib/utils/global/lib/self.js:
|
|
196
|
+
@stdlib/utils/global/lib/window.js:
|
|
197
|
+
@stdlib/utils/type-of/lib/fixtures/nodelist.js:
|
|
198
|
+
@stdlib/utils/type-of/lib/fixtures/typedarray.js:
|
|
199
|
+
@stdlib/utils/type-of/lib/check.js:
|
|
200
|
+
@stdlib/utils/type-of/lib/main.js:
|
|
201
|
+
@stdlib/utils/type-of/lib/polyfill.js:
|
|
202
|
+
@stdlib/utils/type-of/lib/index.js:
|
|
203
|
+
@stdlib/assert/is-function/lib/main.js:
|
|
204
|
+
@stdlib/assert/is-function/lib/index.js:
|
|
416
205
|
@stdlib/complex/float64/ctor/lib/tostring.js:
|
|
417
206
|
@stdlib/complex/float64/ctor/lib/tojson.js:
|
|
418
207
|
@stdlib/complex/float64/ctor/lib/main.js:
|
|
@@ -432,195 +221,28 @@ var qK=Object.create;var Bc=Object.defineProperty;var wK=Object.getOwnPropertyDe
|
|
|
432
221
|
@stdlib/assert/has-iterator-symbol-support/lib/index.js:
|
|
433
222
|
@stdlib/symbol/iterator/lib/main.js:
|
|
434
223
|
@stdlib/symbol/iterator/lib/index.js:
|
|
224
|
+
@stdlib/utils/define-nonenumerable-read-only-accessor/lib/main.js:
|
|
225
|
+
@stdlib/utils/define-nonenumerable-read-only-accessor/lib/index.js:
|
|
435
226
|
@stdlib/array/complex64/lib/from_iterator.js:
|
|
436
227
|
@stdlib/array/complex64/lib/from_iterator_map.js:
|
|
437
228
|
@stdlib/array/complex64/lib/from_array.js:
|
|
438
229
|
@stdlib/array/complex64/lib/main.js:
|
|
439
230
|
@stdlib/array/complex64/lib/index.js:
|
|
231
|
+
@stdlib/complex/float64/real/lib/main.js:
|
|
232
|
+
@stdlib/complex/float64/real/lib/index.js:
|
|
233
|
+
@stdlib/complex/float64/imag/lib/main.js:
|
|
234
|
+
@stdlib/complex/float64/imag/lib/index.js:
|
|
440
235
|
@stdlib/array/complex128/lib/from_iterator.js:
|
|
441
236
|
@stdlib/array/complex128/lib/from_iterator_map.js:
|
|
442
237
|
@stdlib/array/complex128/lib/from_array.js:
|
|
443
238
|
@stdlib/array/complex128/lib/index.js:
|
|
444
239
|
@stdlib/array/dtype/lib/main.js:
|
|
445
240
|
@stdlib/array/dtype/lib/index.js:
|
|
446
|
-
@stdlib/
|
|
447
|
-
@stdlib/ndarray/base/assert/is-data-type/lib/index.js:
|
|
448
|
-
@stdlib/ndarray/base/assert/is-buffer-length-compatible/lib/main.js:
|
|
449
|
-
@stdlib/ndarray/base/assert/is-buffer-length-compatible/lib/index.js:
|
|
450
|
-
@stdlib/utils/inherit/lib/validate.js:
|
|
451
|
-
@stdlib/utils/inherit/lib/native.js:
|
|
452
|
-
@stdlib/utils/inherit/lib/polyfill.js:
|
|
453
|
-
@stdlib/utils/inherit/lib/detect.js:
|
|
454
|
-
@stdlib/utils/inherit/lib/main.js:
|
|
455
|
-
@stdlib/utils/inherit/lib/index.js:
|
|
456
|
-
@stdlib/ndarray/base/clamp-index/lib/main.js:
|
|
457
|
-
@stdlib/ndarray/base/clamp-index/lib/index.js:
|
|
458
|
-
@stdlib/ndarray/base/wrap-index/lib/main.js:
|
|
459
|
-
@stdlib/ndarray/base/wrap-index/lib/index.js:
|
|
460
|
-
@stdlib/ndarray/base/assert/is-index-mode/lib/main.js:
|
|
461
|
-
@stdlib/ndarray/base/assert/is-index-mode/lib/index.js:
|
|
462
|
-
@stdlib/ndarray/base/ind/lib/main.js:
|
|
463
|
-
@stdlib/ndarray/base/ind/lib/index.js:
|
|
464
|
-
@stdlib/ndarray/ctor/lib/iget.js:
|
|
465
|
-
@stdlib/ndarray/ctor/lib/iset.js:
|
|
466
|
-
@stdlib/ndarray/ctor/lib/get.js:
|
|
467
|
-
@stdlib/ndarray/ctor/lib/set.js:
|
|
468
|
-
@stdlib/ndarray/ctor/lib/copy_array.js:
|
|
469
|
-
@stdlib/ndarray/ctor/lib/validate.js:
|
|
470
|
-
@stdlib/ndarray/ctor/lib/main.js:
|
|
471
|
-
@stdlib/ndarray/ctor/lib/index.js:
|
|
472
|
-
@stdlib/ndarray/casting-modes/lib/main.js:
|
|
473
|
-
@stdlib/ndarray/casting-modes/lib/index.js:
|
|
474
|
-
@stdlib/ndarray/base/assert/is-casting-mode/lib/main.js:
|
|
475
|
-
@stdlib/ndarray/base/assert/is-casting-mode/lib/index.js:
|
|
476
|
-
@stdlib/utils/object-inverse/lib/main.js:
|
|
477
|
-
@stdlib/utils/object-inverse/lib/index.js:
|
|
478
|
-
@stdlib/ndarray/safe-casts/lib/main.js:
|
|
479
|
-
@stdlib/ndarray/safe-casts/lib/index.js:
|
|
480
|
-
@stdlib/ndarray/base/assert/is-safe-data-type-cast/lib/main.js:
|
|
481
|
-
@stdlib/ndarray/base/assert/is-safe-data-type-cast/lib/index.js:
|
|
482
|
-
@stdlib/ndarray/same-kind-casts/lib/main.js:
|
|
483
|
-
@stdlib/ndarray/same-kind-casts/lib/index.js:
|
|
484
|
-
@stdlib/ndarray/base/assert/is-same-kind-data-type-cast/lib/main.js:
|
|
485
|
-
@stdlib/ndarray/base/assert/is-same-kind-data-type-cast/lib/index.js:
|
|
486
|
-
@stdlib/ndarray/base/assert/is-allowed-data-type-cast/lib/main.js:
|
|
487
|
-
@stdlib/ndarray/base/assert/is-allowed-data-type-cast/lib/index.js:
|
|
488
|
-
@stdlib/assert/has-node-buffer-support/lib/buffer.js:
|
|
489
|
-
@stdlib/assert/has-node-buffer-support/lib/main.js:
|
|
490
|
-
@stdlib/assert/has-node-buffer-support/lib/index.js:
|
|
491
|
-
@stdlib/buffer/ctor/lib/main.js:
|
|
492
|
-
@stdlib/buffer/ctor/lib/polyfill.js:
|
|
493
|
-
@stdlib/buffer/ctor/lib/index.js:
|
|
494
|
-
@stdlib/ndarray/base/buffer-ctors/lib/main.js:
|
|
495
|
-
@stdlib/ndarray/base/buffer-ctors/lib/index.js:
|
|
496
|
-
@stdlib/buffer/alloc-unsafe/lib/has_alloc_unsafe.js:
|
|
497
|
-
@stdlib/buffer/alloc-unsafe/lib/main.js:
|
|
498
|
-
@stdlib/buffer/alloc-unsafe/lib/polyfill.js:
|
|
499
|
-
@stdlib/buffer/alloc-unsafe/lib/index.js:
|
|
500
|
-
@stdlib/ndarray/base/buffer/lib/zeros.js:
|
|
501
|
-
@stdlib/ndarray/base/buffer/lib/main.js:
|
|
502
|
-
@stdlib/ndarray/base/buffer/lib/index.js:
|
|
503
|
-
@stdlib/ndarray/base/buffer-dtype/lib/main.js:
|
|
504
|
-
@stdlib/ndarray/base/buffer-dtype/lib/index.js:
|
|
505
|
-
@stdlib/array/shape/lib/main.js:
|
|
506
|
-
@stdlib/array/shape/lib/index.js:
|
|
507
|
-
@stdlib/ndarray/base/vind2bind/lib/main.js:
|
|
508
|
-
@stdlib/ndarray/base/vind2bind/lib/index.js:
|
|
509
|
-
@stdlib/ndarray/array/lib/is_array_like_object.js:
|
|
510
|
-
@stdlib/ndarray/array/lib/cast_buffer.js:
|
|
511
|
-
@stdlib/ndarray/array/lib/copy_view.js:
|
|
512
|
-
@stdlib/ndarray/array/lib/expand_shape.js:
|
|
513
|
-
@stdlib/ndarray/array/lib/expand_strides.js:
|
|
514
|
-
@stdlib/ndarray/array/lib/main.js:
|
|
515
|
-
@stdlib/ndarray/array/lib/index.js:
|
|
516
|
-
@stdlib/ndarray/base/assert/is-buffer-length-compatible-shape/lib/main.js:
|
|
517
|
-
@stdlib/ndarray/base/assert/is-buffer-length-compatible-shape/lib/index.js:
|
|
518
|
-
@stdlib/ndarray/base/assert/is-column-major/lib/main.js:
|
|
519
|
-
@stdlib/ndarray/base/assert/is-column-major/lib/index.js:
|
|
520
|
-
@stdlib/ndarray/base/assert/is-single-segment-compatible/lib/main.js:
|
|
521
|
-
@stdlib/ndarray/base/assert/is-single-segment-compatible/lib/index.js:
|
|
522
|
-
@stdlib/ndarray/base/assert/is-column-major-contiguous/lib/main.js:
|
|
523
|
-
@stdlib/ndarray/base/assert/is-column-major-contiguous/lib/index.js:
|
|
524
|
-
@stdlib/ndarray/base/assert/is-contiguous/lib/main.js:
|
|
525
|
-
@stdlib/ndarray/base/assert/is-contiguous/lib/index.js:
|
|
526
|
-
@stdlib/utils/property-symbols/lib/has_builtin.js:
|
|
527
|
-
@stdlib/utils/property-symbols/lib/builtin.js:
|
|
528
|
-
@stdlib/utils/property-symbols/lib/polyfill.js:
|
|
529
|
-
@stdlib/utils/property-symbols/lib/index.js:
|
|
530
|
-
@stdlib/utils/enumerable-properties/lib/main.js:
|
|
531
|
-
@stdlib/utils/enumerable-properties/lib/index.js:
|
|
241
|
+
@stdlib/math/base/special/abs/lib/index.js:
|
|
532
242
|
@stdlib/ndarray/base/assert/is-row-major/lib/main.js:
|
|
533
243
|
@stdlib/ndarray/base/assert/is-row-major/lib/index.js:
|
|
534
|
-
@stdlib/ndarray/base/
|
|
535
|
-
@stdlib/ndarray/base/
|
|
536
|
-
@stdlib/ndarray/base/assert/lib/index.js:
|
|
537
|
-
@stdlib/math/base/special/ceil/lib/main.js:
|
|
538
|
-
@stdlib/math/base/special/ceil/lib/index.js:
|
|
539
|
-
@stdlib/math/base/special/trunc/lib/main.js:
|
|
540
|
-
@stdlib/math/base/special/trunc/lib/index.js:
|
|
541
|
-
@stdlib/ndarray/base/bind2vind/lib/main.js:
|
|
542
|
-
@stdlib/ndarray/base/bind2vind/lib/index.js:
|
|
543
|
-
@stdlib/ndarray/base/dtype-char/lib/main.js:
|
|
544
|
-
@stdlib/ndarray/base/dtype-char/lib/index.js:
|
|
545
|
-
@stdlib/ndarray/base/dtype-desc/lib/main.js:
|
|
546
|
-
@stdlib/array/ctors/lib/ctors.js:
|
|
547
|
-
@stdlib/array/ctors/lib/main.js:
|
|
548
|
-
@stdlib/array/ctors/lib/index.js:
|
|
549
|
-
@stdlib/assert/is-null/lib/main.js:
|
|
550
|
-
@stdlib/assert/is-null/lib/index.js:
|
|
551
|
-
@stdlib/assert/is-undefined/lib/main.js:
|
|
552
|
-
@stdlib/assert/is-undefined/lib/index.js:
|
|
553
|
-
@stdlib/ndarray/base/ind2sub/lib/assign.js:
|
|
554
|
-
@stdlib/ndarray/base/ind2sub/lib/main.js:
|
|
555
|
-
@stdlib/ndarray/base/ind2sub/lib/index.js:
|
|
556
|
-
@stdlib/ndarray/base/max-view-buffer-index/lib/main.js:
|
|
557
|
-
@stdlib/ndarray/base/max-view-buffer-index/lib/index.js:
|
|
558
|
-
@stdlib/ndarray/base/min-view-buffer-index/lib/main.js:
|
|
559
|
-
@stdlib/ndarray/base/min-view-buffer-index/lib/index.js:
|
|
560
|
-
@stdlib/ndarray/base/sub2ind/lib/main.js:
|
|
561
|
-
@stdlib/ndarray/base/sub2ind/lib/index.js:
|
|
562
|
-
@stdlib/ndarray/base/to-array/lib/recurse.js:
|
|
563
|
-
@stdlib/ndarray/base/to-array/lib/main.js:
|
|
564
|
-
@stdlib/ndarray/base/to-array/lib/index.js:
|
|
565
|
-
@stdlib/ndarray/base/lib/index.js:
|
|
566
|
-
@stdlib/assert/is-positive-integer/lib/primitive.js:
|
|
567
|
-
@stdlib/assert/is-positive-integer/lib/object.js:
|
|
568
|
-
@stdlib/assert/is-positive-integer/lib/main.js:
|
|
569
|
-
@stdlib/assert/is-positive-integer/lib/index.js:
|
|
570
|
-
@stdlib/assert/is-function-array/lib/index.js:
|
|
571
|
-
@stdlib/utils/eval/lib/index.js:
|
|
572
|
-
@stdlib/assert/has-proxy-support/lib/main.js:
|
|
573
|
-
@stdlib/assert/has-proxy-support/lib/index.js:
|
|
574
|
-
@stdlib/proxy/ctor/lib/main.js:
|
|
575
|
-
@stdlib/proxy/ctor/lib/polyfill.js:
|
|
576
|
-
@stdlib/proxy/ctor/lib/index.js:
|
|
577
|
-
@stdlib/utils/property-names/lib/has_builtin.js:
|
|
578
|
-
@stdlib/utils/property-names/lib/builtin.js:
|
|
579
|
-
@stdlib/utils/property-names/lib/polyfill.js:
|
|
580
|
-
@stdlib/utils/property-names/lib/index.js:
|
|
581
|
-
@stdlib/utils/properties-in/lib/main.js:
|
|
582
|
-
@stdlib/utils/properties-in/lib/index.js:
|
|
583
|
-
@stdlib/assert/is-error/lib/main.js:
|
|
584
|
-
@stdlib/assert/is-error/lib/index.js:
|
|
585
|
-
@stdlib/assert/is-range-error/lib/main.js:
|
|
586
|
-
@stdlib/assert/is-range-error/lib/index.js:
|
|
587
|
-
@stdlib/assert/is-type-error/lib/main.js:
|
|
588
|
-
@stdlib/assert/is-type-error/lib/index.js:
|
|
589
|
-
@stdlib/assert/is-syntax-error/lib/main.js:
|
|
590
|
-
@stdlib/assert/is-syntax-error/lib/index.js:
|
|
591
|
-
@stdlib/math/base/assert/is-negative-zero/lib/main.js:
|
|
592
|
-
@stdlib/math/base/assert/is-negative-zero/lib/index.js:
|
|
593
|
-
@stdlib/constants/float32/smallest-subnormal/lib/index.js:
|
|
594
|
-
@stdlib/constants/float32/max-safe-integer/lib/index.js:
|
|
595
|
-
@stdlib/constants/float32/min-safe-integer/lib/index.js:
|
|
596
|
-
@stdlib/ndarray/min-dtype/lib/index.js:
|
|
597
|
-
@stdlib/array/dtypes/lib/main.js:
|
|
598
|
-
@stdlib/assert/is-symbol/lib/primitive.js:
|
|
599
|
-
@stdlib/assert/is-symbol/lib/tostring.js:
|
|
600
|
-
@stdlib/assert/is-symbol/lib/try2tostring.js:
|
|
601
|
-
@stdlib/assert/is-symbol/lib/object.js:
|
|
602
|
-
@stdlib/assert/is-symbol/lib/generic.js:
|
|
603
|
-
@stdlib/assert/is-symbol/lib/main.js:
|
|
604
|
-
@stdlib/utils/constant-function/lib/main.js:
|
|
605
|
-
@stdlib/utils/constant-function/lib/index.js:
|
|
606
|
-
@stdlib/assert/is-symbol/lib/polyfill.js:
|
|
607
|
-
@stdlib/assert/is-symbol/lib/index.js:
|
|
608
|
-
@stdlib/ndarray/ind2sub/lib/validate.js:
|
|
609
|
-
@stdlib/ndarray/ind2sub/lib/main.js:
|
|
610
|
-
@stdlib/ndarray/ind2sub/lib/assign.js:
|
|
611
|
-
@stdlib/ndarray/ind2sub/lib/index.js:
|
|
612
|
-
@stdlib/assert/is-iterator-like/lib/main.js:
|
|
613
|
-
@stdlib/assert/is-iterator-like/lib/index.js:
|
|
614
|
-
@stdlib/ndarray/next-dtype/lib/main.js:
|
|
615
|
-
@stdlib/ndarray/next-dtype/lib/index.js:
|
|
616
|
-
@stdlib/ndarray/promotion-rules/lib/main.js:
|
|
617
|
-
@stdlib/ndarray/promotion-rules/lib/index.js:
|
|
618
|
-
@stdlib/ndarray/sub2ind/lib/validate.js:
|
|
619
|
-
@stdlib/ndarray/sub2ind/lib/main.js:
|
|
620
|
-
@stdlib/ndarray/sub2ind/lib/index.js:
|
|
621
|
-
@stdlib/ndarray/lib/index.js:
|
|
622
|
-
@stdlib/math/base/special/fast/max/lib/main.js:
|
|
623
|
-
@stdlib/math/base/special/fast/max/lib/index.js:
|
|
244
|
+
@stdlib/ndarray/base/bytes-per-element/lib/main.js:
|
|
245
|
+
@stdlib/ndarray/base/bytes-per-element/lib/index.js:
|
|
624
246
|
(**
|
|
625
247
|
* @license Apache-2.0
|
|
626
248
|
*
|
|
@@ -652,131 +274,19 @@ var qK=Object.create;var Bc=Object.defineProperty;var wK=Object.getOwnPropertyDe
|
|
|
652
274
|
@stdlib/string/format/lib/is_string.js:
|
|
653
275
|
@stdlib/string/format/lib/main.js:
|
|
654
276
|
@stdlib/string/format/lib/index.js:
|
|
655
|
-
@stdlib/boolean/ctor/lib/main.js:
|
|
656
|
-
@stdlib/boolean/ctor/lib/index.js:
|
|
657
|
-
@stdlib/utils/global/lib/global_this.js:
|
|
658
|
-
@stdlib/utils/global/lib/browser.js:
|
|
659
|
-
@stdlib/object/ctor/lib/main.js:
|
|
660
|
-
@stdlib/object/ctor/lib/index.js:
|
|
661
|
-
@stdlib/string/base/replace/lib/main.js:
|
|
662
|
-
@stdlib/string/base/replace/lib/index.js:
|
|
663
277
|
@stdlib/array/base/assert/is-accessor-array/lib/main.js:
|
|
664
278
|
@stdlib/array/base/assert/is-accessor-array/lib/index.js:
|
|
665
279
|
@stdlib/array/base/accessor-getter/lib/main.js:
|
|
666
280
|
@stdlib/array/base/accessor-getter/lib/index.js:
|
|
667
281
|
@stdlib/array/base/getter/lib/main.js:
|
|
668
282
|
@stdlib/array/base/getter/lib/index.js:
|
|
669
|
-
@stdlib/
|
|
670
|
-
@stdlib/
|
|
671
|
-
@stdlib/
|
|
672
|
-
@stdlib/
|
|
673
|
-
@stdlib/array/base/arraylike2object/lib/main.js:
|
|
674
|
-
@stdlib/array/base/arraylike2object/lib/index.js:
|
|
675
|
-
@stdlib/blas/ext/base/grev/lib/accessors.js:
|
|
676
|
-
@stdlib/complex/base/cast-return/lib/main.js:
|
|
677
|
-
@stdlib/complex/base/cast-return/lib/index.js:
|
|
678
|
-
@stdlib/complex/ctors/lib/ctors.js:
|
|
679
|
-
@stdlib/complex/ctors/lib/main.js:
|
|
680
|
-
@stdlib/complex/ctors/lib/index.js:
|
|
681
|
-
@stdlib/array/base/copy-indexed/lib/main.js:
|
|
682
|
-
@stdlib/array/base/copy-indexed/lib/index.js:
|
|
683
|
-
@stdlib/ndarray/base/assert/is-read-only/lib/main.js:
|
|
684
|
-
@stdlib/ndarray/base/assert/is-read-only/lib/index.js:
|
|
685
|
-
@stdlib/ndarray/base/ndarraylike2object/lib/main.js:
|
|
686
|
-
@stdlib/ndarray/base/ndarraylike2object/lib/index.js:
|
|
687
|
-
@stdlib/array/base/zero-to/lib/main.js:
|
|
688
|
-
@stdlib/array/base/zero-to/lib/index.js:
|
|
689
|
-
@stdlib/ndarray/base/unary-loop-interchange-order/lib/sort2ins.js:
|
|
690
|
-
@stdlib/ndarray/base/unary-loop-interchange-order/lib/main.js:
|
|
691
|
-
@stdlib/ndarray/base/unary-loop-interchange-order/lib/index.js:
|
|
283
|
+
@stdlib/boolean/ctor/lib/main.js:
|
|
284
|
+
@stdlib/boolean/ctor/lib/index.js:
|
|
285
|
+
@stdlib/utils/global/lib/global_this.js:
|
|
286
|
+
@stdlib/utils/global/lib/browser.js:
|
|
692
287
|
@stdlib/ndarray/base/unary-tiling-block-size/lib/defaults.js:
|
|
693
288
|
@stdlib/ndarray/base/unary-tiling-block-size/lib/main.js:
|
|
694
289
|
@stdlib/ndarray/base/unary-tiling-block-size/lib/index.js:
|
|
695
|
-
@stdlib/array/zeros/lib/main.js:
|
|
696
|
-
@stdlib/array/zeros/lib/index.js:
|
|
697
|
-
@stdlib/ndarray/base/expand-dimensions/lib/main.js:
|
|
698
|
-
@stdlib/ndarray/base/expand-dimensions/lib/index.js:
|
|
699
|
-
@stdlib/ndarray/base/from-scalar/lib/main.js:
|
|
700
|
-
@stdlib/ndarray/base/from-scalar/lib/index.js:
|
|
701
|
-
@stdlib/ndarray/base/maybe-broadcast-array/lib/main.js:
|
|
702
|
-
@stdlib/ndarray/base/maybe-broadcast-array/lib/index.js:
|
|
703
|
-
@stdlib/ndarray/base/prepend-singleton-dimensions/lib/main.js:
|
|
704
|
-
@stdlib/ndarray/base/prepend-singleton-dimensions/lib/index.js:
|
|
705
|
-
@stdlib/ndarray/base/remove-singleton-dimensions/lib/main.js:
|
|
706
|
-
@stdlib/ndarray/base/remove-singleton-dimensions/lib/index.js:
|
|
707
|
-
@stdlib/ndarray/base/transpose/lib/main.js:
|
|
708
|
-
@stdlib/ndarray/base/transpose/lib/index.js:
|
|
709
|
-
@stdlib/ndarray/base/unary-by/lib/2d_blocked_accessors.js:
|
|
710
|
-
@stdlib/ndarray/base/unary-by/lib/3d_blocked_accessors.js:
|
|
711
|
-
@stdlib/ndarray/base/unary-by/lib/4d_blocked_accessors.js:
|
|
712
|
-
@stdlib/ndarray/base/unary-by/lib/5d_blocked_accessors.js:
|
|
713
|
-
@stdlib/ndarray/base/unary-by/lib/6d_blocked_accessors.js:
|
|
714
|
-
@stdlib/ndarray/base/unary-by/lib/7d_blocked_accessors.js:
|
|
715
|
-
@stdlib/ndarray/base/unary-by/lib/8d_blocked_accessors.js:
|
|
716
|
-
@stdlib/ndarray/base/unary-by/lib/9d_blocked_accessors.js:
|
|
717
|
-
@stdlib/ndarray/base/unary-by/lib/10d_blocked_accessors.js:
|
|
718
|
-
@stdlib/ndarray/base/unary-by/lib/2d_blocked.js:
|
|
719
|
-
@stdlib/ndarray/base/unary-by/lib/3d_blocked.js:
|
|
720
|
-
@stdlib/ndarray/base/unary-by/lib/4d_blocked.js:
|
|
721
|
-
@stdlib/ndarray/base/unary-by/lib/5d_blocked.js:
|
|
722
|
-
@stdlib/ndarray/base/unary-by/lib/6d_blocked.js:
|
|
723
|
-
@stdlib/ndarray/base/unary-by/lib/7d_blocked.js:
|
|
724
|
-
@stdlib/ndarray/base/unary-by/lib/8d_blocked.js:
|
|
725
|
-
@stdlib/ndarray/base/unary-by/lib/9d_blocked.js:
|
|
726
|
-
@stdlib/ndarray/base/unary-by/lib/10d_blocked.js:
|
|
727
|
-
@stdlib/ndarray/base/unary-by/lib/0d_accessors.js:
|
|
728
|
-
@stdlib/ndarray/base/unary-by/lib/1d_accessors.js:
|
|
729
|
-
@stdlib/ndarray/base/unary-by/lib/2d_accessors.js:
|
|
730
|
-
@stdlib/ndarray/base/unary-by/lib/3d_accessors.js:
|
|
731
|
-
@stdlib/ndarray/base/unary-by/lib/4d_accessors.js:
|
|
732
|
-
@stdlib/ndarray/base/unary-by/lib/5d_accessors.js:
|
|
733
|
-
@stdlib/ndarray/base/unary-by/lib/6d_accessors.js:
|
|
734
|
-
@stdlib/ndarray/base/unary-by/lib/7d_accessors.js:
|
|
735
|
-
@stdlib/ndarray/base/unary-by/lib/8d_accessors.js:
|
|
736
|
-
@stdlib/ndarray/base/unary-by/lib/9d_accessors.js:
|
|
737
|
-
@stdlib/ndarray/base/unary-by/lib/10d_accessors.js:
|
|
738
|
-
@stdlib/ndarray/base/unary-by/lib/nd_accessors.js:
|
|
739
|
-
@stdlib/ndarray/base/unary-by/lib/0d.js:
|
|
740
|
-
@stdlib/ndarray/base/unary-by/lib/1d.js:
|
|
741
|
-
@stdlib/ndarray/base/unary-by/lib/2d.js:
|
|
742
|
-
@stdlib/ndarray/base/unary-by/lib/3d.js:
|
|
743
|
-
@stdlib/ndarray/base/unary-by/lib/4d.js:
|
|
744
|
-
@stdlib/ndarray/base/unary-by/lib/5d.js:
|
|
745
|
-
@stdlib/ndarray/base/unary-by/lib/6d.js:
|
|
746
|
-
@stdlib/ndarray/base/unary-by/lib/7d.js:
|
|
747
|
-
@stdlib/ndarray/base/unary-by/lib/8d.js:
|
|
748
|
-
@stdlib/ndarray/base/unary-by/lib/9d.js:
|
|
749
|
-
@stdlib/ndarray/base/unary-by/lib/10d.js:
|
|
750
|
-
@stdlib/ndarray/base/unary-by/lib/nd.js:
|
|
751
|
-
@stdlib/ndarray/base/unary-by/lib/main.js:
|
|
752
|
-
@stdlib/ndarray/base/unary-by/lib/index.js:
|
|
753
|
-
@stdlib/ndarray/base/zeros/lib/main.js:
|
|
754
|
-
@stdlib/ndarray/base/zeros/lib/index.js:
|
|
755
|
-
@stdlib/ndarray/base/zeros-like/lib/main.js:
|
|
756
|
-
@stdlib/ndarray/base/zeros-like/lib/index.js:
|
|
757
|
-
@stdlib/string/base/trim/lib/has_builtin.js:
|
|
758
|
-
@stdlib/string/base/trim/lib/builtin.js:
|
|
759
|
-
@stdlib/string/base/trim/lib/check.js:
|
|
760
|
-
@stdlib/string/base/trim/lib/polyfill.js:
|
|
761
|
-
@stdlib/string/base/trim/lib/main.js:
|
|
762
|
-
@stdlib/string/base/trim/lib/index.js:
|
|
763
|
-
@stdlib/complex/dtype/lib/ctor2dtype.js:
|
|
764
|
-
@stdlib/complex/dtypes/lib/main.js:
|
|
765
|
-
@stdlib/complex/dtypes/lib/index.js:
|
|
766
|
-
@stdlib/complex/dtype/lib/dtypes.js:
|
|
767
|
-
@stdlib/complex/dtype/lib/ctors.js:
|
|
768
|
-
@stdlib/complex/dtype/lib/main.js:
|
|
769
|
-
@stdlib/complex/dtype/lib/index.js:
|
|
770
|
-
@stdlib/ndarray/from-scalar/lib/main.js:
|
|
771
|
-
@stdlib/ndarray/from-scalar/lib/index.js:
|
|
772
|
-
@stdlib/array/base/copy/lib/main.js:
|
|
773
|
-
@stdlib/array/base/copy/lib/index.js:
|
|
774
|
-
@stdlib/array/base/take/lib/main.js:
|
|
775
|
-
@stdlib/array/base/take/lib/index.js:
|
|
776
|
-
@stdlib/ndarray/zeros/lib/main.js:
|
|
777
|
-
@stdlib/ndarray/zeros/lib/index.js:
|
|
778
|
-
@stdlib/ndarray/zeros-like/lib/main.js:
|
|
779
|
-
@stdlib/ndarray/zeros-like/lib/index.js:
|
|
780
290
|
(**
|
|
781
291
|
* @license Apache-2.0
|
|
782
292
|
*
|
|
@@ -795,9 +305,6 @@ var qK=Object.create;var Bc=Object.defineProperty;var wK=Object.getOwnPropertyDe
|
|
|
795
305
|
* limitations under the License.
|
|
796
306
|
*)
|
|
797
307
|
|
|
798
|
-
@stdlib/blas/base/layouts/lib/main.js:
|
|
799
|
-
@stdlib/blas/base/layouts/lib/enum.js:
|
|
800
|
-
@stdlib/blas/base/layouts/lib/index.js:
|
|
801
308
|
@stdlib/array/dtype/lib/ctor2dtype.js:
|
|
802
309
|
@stdlib/array/base/assert/is-complex64array/lib/main.js:
|
|
803
310
|
@stdlib/array/base/assert/is-complex64array/lib/index.js:
|
|
@@ -811,98 +318,9 @@ var qK=Object.create;var Bc=Object.defineProperty;var wK=Object.getOwnPropertyDe
|
|
|
811
318
|
@stdlib/array/bool/lib/index.js:
|
|
812
319
|
@stdlib/array/dtype/lib/ctors.js:
|
|
813
320
|
@stdlib/array/dtype/lib/dtypes.js:
|
|
814
|
-
@stdlib/
|
|
815
|
-
@stdlib/
|
|
816
|
-
@stdlib/
|
|
817
|
-
@stdlib/ndarray/base/buffer-dtype/lib/ctor2dtype.js:
|
|
818
|
-
@stdlib/ndarray/base/buffer-dtype/lib/ctors.js:
|
|
819
|
-
@stdlib/ndarray/base/buffer-dtype/lib/dtypes.js:
|
|
820
|
-
@stdlib/ndarray/at/lib/main.js:
|
|
821
|
-
@stdlib/ndarray/at/lib/index.js:
|
|
822
|
-
@stdlib/array/base/assert/has-equal-values-indexed/lib/main.js:
|
|
823
|
-
@stdlib/array/base/assert/has-equal-values-indexed/lib/index.js:
|
|
824
|
-
@stdlib/ndarray/base/assert/has-equal-shape/lib/main.js:
|
|
825
|
-
@stdlib/ndarray/base/assert/has-equal-shape/lib/index.js:
|
|
826
|
-
@stdlib/ndarray/base/assert/is-boolean-data-type/lib/main.js:
|
|
827
|
-
@stdlib/ndarray/base/assert/is-boolean-data-type/lib/index.js:
|
|
828
|
-
@stdlib/array/base/zero-to/lib/assign.js:
|
|
829
|
-
@stdlib/array/defaults/lib/main.js:
|
|
830
|
-
@stdlib/array/defaults/lib/get.js:
|
|
831
|
-
@stdlib/slice/base/int2slice/lib/error_out_of_bounds.js:
|
|
832
|
-
@stdlib/slice/base/int2slice/lib/main.js:
|
|
833
|
-
@stdlib/slice/base/int2slice/lib/index.js:
|
|
834
|
-
@stdlib/array/base/nulls/lib/main.js:
|
|
835
|
-
@stdlib/array/base/nulls/lib/index.js:
|
|
836
|
-
@stdlib/array/base/reverse/lib/main.js:
|
|
837
|
-
@stdlib/array/base/reverse/lib/index.js:
|
|
838
|
-
@stdlib/ndarray/base/for-each/lib/2d_blocked_accessors.js:
|
|
839
|
-
@stdlib/ndarray/base/for-each/lib/3d_blocked_accessors.js:
|
|
840
|
-
@stdlib/ndarray/base/for-each/lib/4d_blocked_accessors.js:
|
|
841
|
-
@stdlib/ndarray/base/for-each/lib/5d_blocked_accessors.js:
|
|
842
|
-
@stdlib/ndarray/base/for-each/lib/6d_blocked_accessors.js:
|
|
843
|
-
@stdlib/ndarray/base/for-each/lib/7d_blocked_accessors.js:
|
|
844
|
-
@stdlib/ndarray/base/for-each/lib/8d_blocked_accessors.js:
|
|
845
|
-
@stdlib/ndarray/base/for-each/lib/9d_blocked_accessors.js:
|
|
846
|
-
@stdlib/ndarray/base/for-each/lib/10d_blocked_accessors.js:
|
|
847
|
-
@stdlib/ndarray/base/for-each/lib/2d_blocked.js:
|
|
848
|
-
@stdlib/ndarray/base/for-each/lib/3d_blocked.js:
|
|
849
|
-
@stdlib/ndarray/base/for-each/lib/4d_blocked.js:
|
|
850
|
-
@stdlib/ndarray/base/for-each/lib/5d_blocked.js:
|
|
851
|
-
@stdlib/ndarray/base/for-each/lib/6d_blocked.js:
|
|
852
|
-
@stdlib/ndarray/base/for-each/lib/7d_blocked.js:
|
|
853
|
-
@stdlib/ndarray/base/for-each/lib/8d_blocked.js:
|
|
854
|
-
@stdlib/ndarray/base/for-each/lib/9d_blocked.js:
|
|
855
|
-
@stdlib/ndarray/base/for-each/lib/10d_blocked.js:
|
|
856
|
-
@stdlib/ndarray/base/for-each/lib/0d_accessors.js:
|
|
857
|
-
@stdlib/ndarray/base/for-each/lib/1d_accessors.js:
|
|
858
|
-
@stdlib/ndarray/base/for-each/lib/2d_accessors.js:
|
|
859
|
-
@stdlib/ndarray/base/for-each/lib/3d_accessors.js:
|
|
860
|
-
@stdlib/ndarray/base/for-each/lib/4d_accessors.js:
|
|
861
|
-
@stdlib/ndarray/base/for-each/lib/5d_accessors.js:
|
|
862
|
-
@stdlib/ndarray/base/for-each/lib/6d_accessors.js:
|
|
863
|
-
@stdlib/ndarray/base/for-each/lib/7d_accessors.js:
|
|
864
|
-
@stdlib/ndarray/base/for-each/lib/8d_accessors.js:
|
|
865
|
-
@stdlib/ndarray/base/for-each/lib/9d_accessors.js:
|
|
866
|
-
@stdlib/ndarray/base/for-each/lib/10d_accessors.js:
|
|
867
|
-
@stdlib/ndarray/base/for-each/lib/nd_accessors.js:
|
|
868
|
-
@stdlib/ndarray/base/for-each/lib/0d.js:
|
|
869
|
-
@stdlib/ndarray/base/for-each/lib/1d.js:
|
|
870
|
-
@stdlib/ndarray/base/for-each/lib/2d.js:
|
|
871
|
-
@stdlib/ndarray/base/for-each/lib/3d.js:
|
|
872
|
-
@stdlib/ndarray/base/for-each/lib/4d.js:
|
|
873
|
-
@stdlib/ndarray/base/for-each/lib/5d.js:
|
|
874
|
-
@stdlib/ndarray/base/for-each/lib/6d.js:
|
|
875
|
-
@stdlib/ndarray/base/for-each/lib/7d.js:
|
|
876
|
-
@stdlib/ndarray/base/for-each/lib/8d.js:
|
|
877
|
-
@stdlib/ndarray/base/for-each/lib/9d.js:
|
|
878
|
-
@stdlib/ndarray/base/for-each/lib/10d.js:
|
|
879
|
-
@stdlib/ndarray/base/for-each/lib/nd.js:
|
|
880
|
-
@stdlib/ndarray/base/for-each/lib/main.js:
|
|
881
|
-
@stdlib/ndarray/base/for-each/lib/index.js:
|
|
882
|
-
@stdlib/ndarray/base/ndarraylike2ndarray/lib/main.js:
|
|
883
|
-
@stdlib/ndarray/base/ndarraylike2ndarray/lib/index.js:
|
|
884
|
-
@stdlib/ndarray/min-dtype/lib/main.js:
|
|
885
|
-
@stdlib/array/dtypes/lib/index.js:
|
|
886
|
-
@stdlib/array/base/assert/is-complex-floating-point-data-type/lib/main.js:
|
|
887
|
-
@stdlib/array/base/assert/is-complex-floating-point-data-type/lib/index.js:
|
|
888
|
-
@stdlib/ndarray/iter/interleave-subarrays/lib/main.js:
|
|
889
|
-
@stdlib/ndarray/iter/interleave-subarrays/lib/index.js:
|
|
890
|
-
@stdlib/ndarray/iter/select-dimension/lib/main.js:
|
|
891
|
-
@stdlib/ndarray/iter/select-dimension/lib/index.js:
|
|
892
|
-
@stdlib/array/base/assert/is-boolean-data-type/lib/main.js:
|
|
893
|
-
@stdlib/array/base/assert/is-boolean-data-type/lib/index.js:
|
|
894
|
-
@stdlib/strided/base/reinterpret-complex/lib/main.js:
|
|
895
|
-
@stdlib/strided/base/reinterpret-complex/lib/index.js:
|
|
896
|
-
@stdlib/strided/base/reinterpret-boolean/lib/main.js:
|
|
897
|
-
@stdlib/strided/base/reinterpret-boolean/lib/index.js:
|
|
898
|
-
@stdlib/array/base/take/lib/assign.js:
|
|
899
|
-
@stdlib/array/base/put/lib/index.js:
|
|
900
|
-
@stdlib/ndarray/iter/stacks/lib/main.js:
|
|
901
|
-
@stdlib/ndarray/iter/stacks/lib/index.js:
|
|
902
|
-
@stdlib/ndarray/iter/subarrays/lib/main.js:
|
|
903
|
-
@stdlib/ndarray/iter/subarrays/lib/index.js:
|
|
904
|
-
@stdlib/ndarray/ndarraylike2ndarray/lib/main.js:
|
|
905
|
-
@stdlib/ndarray/ndarraylike2ndarray/lib/index.js:
|
|
321
|
+
@stdlib/blas/base/layouts/lib/main.js:
|
|
322
|
+
@stdlib/blas/base/layouts/lib/enum.js:
|
|
323
|
+
@stdlib/blas/base/layouts/lib/index.js:
|
|
906
324
|
@stdlib/blas/base/assert/is-layout/lib/main.js:
|
|
907
325
|
@stdlib/blas/base/assert/is-layout/lib/index.js:
|
|
908
326
|
@stdlib/blas/base/transpose-operations/lib/main.js:
|
|
@@ -937,354 +355,6 @@ var qK=Object.create;var Bc=Object.defineProperty;var wK=Object.getOwnPropertyDe
|
|
|
937
355
|
@stdlib/array/base/assert/contains/lib/main.js:
|
|
938
356
|
@stdlib/array/base/assert/contains/lib/factory.js:
|
|
939
357
|
@stdlib/array/base/assert/contains/lib/index.js:
|
|
940
|
-
@stdlib/ndarray/defaults/lib/index.js:
|
|
941
|
-
@stdlib/ndarray/base/normalize-index/lib/main.js:
|
|
942
|
-
@stdlib/ndarray/base/normalize-index/lib/index.js:
|
|
943
|
-
@stdlib/ndarray/base/ind/lib/factory.js:
|
|
944
|
-
@stdlib/ndarray/mostly-safe-casts/lib/main.js:
|
|
945
|
-
@stdlib/ndarray/mostly-safe-casts/lib/index.js:
|
|
946
|
-
@stdlib/ndarray/base/assert/is-mostly-safe-data-type-cast/lib/main.js:
|
|
947
|
-
@stdlib/ndarray/base/assert/is-mostly-safe-data-type-cast/lib/index.js:
|
|
948
|
-
@stdlib/ndarray/dtype/lib/main.js:
|
|
949
|
-
@stdlib/ndarray/dtype/lib/index.js:
|
|
950
|
-
@stdlib/ndarray/shape/lib/main.js:
|
|
951
|
-
@stdlib/ndarray/shape/lib/index.js:
|
|
952
|
-
@stdlib/ndarray/strides/lib/main.js:
|
|
953
|
-
@stdlib/ndarray/strides/lib/index.js:
|
|
954
|
-
@stdlib/ndarray/offset/lib/main.js:
|
|
955
|
-
@stdlib/ndarray/offset/lib/index.js:
|
|
956
|
-
@stdlib/ndarray/ndims/lib/main.js:
|
|
957
|
-
@stdlib/ndarray/ndims/lib/index.js:
|
|
958
|
-
@stdlib/ndarray/order/lib/main.js:
|
|
959
|
-
@stdlib/ndarray/order/lib/index.js:
|
|
960
|
-
@stdlib/ndarray/data-buffer/lib/main.js:
|
|
961
|
-
@stdlib/ndarray/data-buffer/lib/index.js:
|
|
962
|
-
@stdlib/array/base/flatten/lib/assign.js:
|
|
963
|
-
@stdlib/array/base/flatten/lib/main.js:
|
|
964
|
-
@stdlib/array/base/flatten/lib/index.js:
|
|
965
|
-
@stdlib/ndarray/array/lib/defaults.js:
|
|
966
|
-
@stdlib/ndarray/base/shape/lib/main.js:
|
|
967
|
-
@stdlib/ndarray/base/shape/lib/index.js:
|
|
968
|
-
@stdlib/ndarray/base/assert/is-complex-floating-point-data-type/lib/main.js:
|
|
969
|
-
@stdlib/ndarray/base/assert/is-complex-floating-point-data-type/lib/index.js:
|
|
970
|
-
@stdlib/ndarray/base/assert/is-floating-point-data-type/lib/main.js:
|
|
971
|
-
@stdlib/ndarray/base/assert/is-floating-point-data-type/lib/index.js:
|
|
972
|
-
@stdlib/ndarray/base/assert/is-integer-data-type/lib/main.js:
|
|
973
|
-
@stdlib/ndarray/base/assert/is-integer-data-type/lib/index.js:
|
|
974
|
-
@stdlib/ndarray/base/assert/is-numeric-data-type/lib/main.js:
|
|
975
|
-
@stdlib/ndarray/base/assert/is-numeric-data-type/lib/index.js:
|
|
976
|
-
@stdlib/object/assign/lib/has_object_assign.js:
|
|
977
|
-
@stdlib/object/assign/lib/builtin.js:
|
|
978
|
-
@stdlib/object/assign/lib/polyfill.js:
|
|
979
|
-
@stdlib/object/assign/lib/index.js:
|
|
980
|
-
@stdlib/ndarray/base/flags/lib/main.js:
|
|
981
|
-
@stdlib/ndarray/base/flags/lib/index.js:
|
|
982
|
-
@stdlib/ndarray/base/flag/lib/main.js:
|
|
983
|
-
@stdlib/ndarray/base/flag/lib/index.js:
|
|
984
|
-
@stdlib/ndarray/base/assert/is-real-data-type/lib/main.js:
|
|
985
|
-
@stdlib/ndarray/base/assert/is-real-data-type/lib/index.js:
|
|
986
|
-
@stdlib/ndarray/base/assert/is-real-floating-point-data-type/lib/main.js:
|
|
987
|
-
@stdlib/ndarray/base/assert/is-real-floating-point-data-type/lib/index.js:
|
|
988
|
-
@stdlib/ndarray/base/assert/is-signed-integer-data-type/lib/main.js:
|
|
989
|
-
@stdlib/ndarray/base/assert/is-signed-integer-data-type/lib/index.js:
|
|
990
|
-
@stdlib/ndarray/base/assert/is-unsigned-integer-data-type/lib/main.js:
|
|
991
|
-
@stdlib/ndarray/base/assert/is-unsigned-integer-data-type/lib/index.js:
|
|
992
|
-
@stdlib/ndarray/base/dtype/lib/main.js:
|
|
993
|
-
@stdlib/ndarray/base/dtype/lib/index.js:
|
|
994
|
-
@stdlib/ndarray/base/strides/lib/main.js:
|
|
995
|
-
@stdlib/ndarray/base/strides/lib/index.js:
|
|
996
|
-
@stdlib/ndarray/base/offset/lib/main.js:
|
|
997
|
-
@stdlib/ndarray/base/offset/lib/index.js:
|
|
998
|
-
@stdlib/ndarray/base/order/lib/main.js:
|
|
999
|
-
@stdlib/ndarray/base/order/lib/index.js:
|
|
1000
|
-
@stdlib/ndarray/base/data-buffer/lib/main.js:
|
|
1001
|
-
@stdlib/ndarray/base/data-buffer/lib/index.js:
|
|
1002
|
-
@stdlib/array/base/take-indexed/lib/main.js:
|
|
1003
|
-
@stdlib/array/base/take-indexed/lib/index.js:
|
|
1004
|
-
@stdlib/ndarray/base/assign/lib/2d_blocked_accessors.js:
|
|
1005
|
-
@stdlib/ndarray/base/assign/lib/3d_blocked_accessors.js:
|
|
1006
|
-
@stdlib/ndarray/base/assign/lib/4d_blocked_accessors.js:
|
|
1007
|
-
@stdlib/ndarray/base/assign/lib/5d_blocked_accessors.js:
|
|
1008
|
-
@stdlib/ndarray/base/assign/lib/6d_blocked_accessors.js:
|
|
1009
|
-
@stdlib/ndarray/base/assign/lib/7d_blocked_accessors.js:
|
|
1010
|
-
@stdlib/ndarray/base/assign/lib/8d_blocked_accessors.js:
|
|
1011
|
-
@stdlib/ndarray/base/assign/lib/9d_blocked_accessors.js:
|
|
1012
|
-
@stdlib/ndarray/base/assign/lib/10d_blocked_accessors.js:
|
|
1013
|
-
@stdlib/ndarray/base/assign/lib/2d_blocked.js:
|
|
1014
|
-
@stdlib/ndarray/base/assign/lib/3d_blocked.js:
|
|
1015
|
-
@stdlib/ndarray/base/assign/lib/4d_blocked.js:
|
|
1016
|
-
@stdlib/ndarray/base/assign/lib/5d_blocked.js:
|
|
1017
|
-
@stdlib/ndarray/base/assign/lib/6d_blocked.js:
|
|
1018
|
-
@stdlib/ndarray/base/assign/lib/7d_blocked.js:
|
|
1019
|
-
@stdlib/ndarray/base/assign/lib/8d_blocked.js:
|
|
1020
|
-
@stdlib/ndarray/base/assign/lib/9d_blocked.js:
|
|
1021
|
-
@stdlib/ndarray/base/assign/lib/10d_blocked.js:
|
|
1022
|
-
@stdlib/ndarray/base/assign/lib/0d_accessors.js:
|
|
1023
|
-
@stdlib/ndarray/base/assign/lib/1d_accessors.js:
|
|
1024
|
-
@stdlib/ndarray/base/assign/lib/2d_accessors.js:
|
|
1025
|
-
@stdlib/ndarray/base/assign/lib/3d_accessors.js:
|
|
1026
|
-
@stdlib/ndarray/base/assign/lib/4d_accessors.js:
|
|
1027
|
-
@stdlib/ndarray/base/assign/lib/5d_accessors.js:
|
|
1028
|
-
@stdlib/ndarray/base/assign/lib/6d_accessors.js:
|
|
1029
|
-
@stdlib/ndarray/base/assign/lib/7d_accessors.js:
|
|
1030
|
-
@stdlib/ndarray/base/assign/lib/8d_accessors.js:
|
|
1031
|
-
@stdlib/ndarray/base/assign/lib/9d_accessors.js:
|
|
1032
|
-
@stdlib/ndarray/base/assign/lib/10d_accessors.js:
|
|
1033
|
-
@stdlib/ndarray/base/assign/lib/nd_accessors.js:
|
|
1034
|
-
@stdlib/ndarray/base/assign/lib/0d.js:
|
|
1035
|
-
@stdlib/ndarray/base/assign/lib/1d.js:
|
|
1036
|
-
@stdlib/ndarray/base/assign/lib/2d.js:
|
|
1037
|
-
@stdlib/ndarray/base/assign/lib/3d.js:
|
|
1038
|
-
@stdlib/ndarray/base/assign/lib/4d.js:
|
|
1039
|
-
@stdlib/ndarray/base/assign/lib/5d.js:
|
|
1040
|
-
@stdlib/ndarray/base/assign/lib/6d.js:
|
|
1041
|
-
@stdlib/ndarray/base/assign/lib/7d.js:
|
|
1042
|
-
@stdlib/ndarray/base/assign/lib/8d.js:
|
|
1043
|
-
@stdlib/ndarray/base/assign/lib/9d.js:
|
|
1044
|
-
@stdlib/ndarray/base/assign/lib/10d.js:
|
|
1045
|
-
@stdlib/ndarray/base/assign/lib/nd.js:
|
|
1046
|
-
@stdlib/ndarray/base/assign/lib/main.js:
|
|
1047
|
-
@stdlib/ndarray/base/assign/lib/index.js:
|
|
1048
|
-
@stdlib/ndarray/base/binary-loop-interchange-order/lib/sort2ins.js:
|
|
1049
|
-
@stdlib/ndarray/base/binary-loop-interchange-order/lib/main.js:
|
|
1050
|
-
@stdlib/ndarray/base/binary-loop-interchange-order/lib/index.js:
|
|
1051
|
-
@stdlib/ndarray/base/binary-tiling-block-size/lib/defaults.js:
|
|
1052
|
-
@stdlib/ndarray/base/binary-tiling-block-size/lib/main.js:
|
|
1053
|
-
@stdlib/ndarray/base/binary-tiling-block-size/lib/index.js:
|
|
1054
|
-
@stdlib/ndarray/base/broadcast-arrays/lib/main.js:
|
|
1055
|
-
@stdlib/ndarray/base/broadcast-arrays/lib/index.js:
|
|
1056
|
-
@stdlib/ndarray/base/broadcast-scalar/lib/main.js:
|
|
1057
|
-
@stdlib/ndarray/base/broadcast-scalar/lib/index.js:
|
|
1058
|
-
@stdlib/array/defaults/lib/index.js:
|
|
1059
|
-
@stdlib/array/empty/lib/polyfill.js:
|
|
1060
|
-
@stdlib/ndarray/base/empty/lib/main.js:
|
|
1061
|
-
@stdlib/ndarray/base/empty/lib/index.js:
|
|
1062
|
-
@stdlib/ndarray/base/empty-like/lib/main.js:
|
|
1063
|
-
@stdlib/ndarray/base/empty-like/lib/index.js:
|
|
1064
|
-
@stdlib/slice/ctor/lib/main.js:
|
|
1065
|
-
@stdlib/slice/ctor/lib/index.js:
|
|
1066
|
-
@stdlib/assert/is-slice/lib/main.js:
|
|
1067
|
-
@stdlib/assert/is-slice/lib/index.js:
|
|
1068
|
-
@stdlib/slice/multi/lib/main.js:
|
|
1069
|
-
@stdlib/slice/multi/lib/index.js:
|
|
1070
|
-
@stdlib/slice/base/args2multislice/lib/main.js:
|
|
1071
|
-
@stdlib/slice/base/args2multislice/lib/index.js:
|
|
1072
|
-
@stdlib/slice/base/normalize-slice/lib/error_out_of_bounds.js:
|
|
1073
|
-
@stdlib/slice/base/normalize-slice/lib/main.js:
|
|
1074
|
-
@stdlib/slice/base/normalize-slice/lib/index.js:
|
|
1075
|
-
@stdlib/slice/base/normalize-multi-slice/lib/main.js:
|
|
1076
|
-
@stdlib/slice/base/normalize-multi-slice/lib/index.js:
|
|
1077
|
-
@stdlib/slice/base/nonreduced-dimensions/lib/main.js:
|
|
1078
|
-
@stdlib/slice/base/nonreduced-dimensions/lib/index.js:
|
|
1079
|
-
@stdlib/slice/base/length/lib/main.js:
|
|
1080
|
-
@stdlib/slice/base/length/lib/index.js:
|
|
1081
|
-
@stdlib/slice/base/shape/lib/main.js:
|
|
1082
|
-
@stdlib/slice/base/shape/lib/index.js:
|
|
1083
|
-
@stdlib/ndarray/base/slice/lib/slice_start.js:
|
|
1084
|
-
@stdlib/ndarray/base/slice/lib/slice_strides.js:
|
|
1085
|
-
@stdlib/ndarray/base/slice/lib/empty.js:
|
|
1086
|
-
@stdlib/ndarray/base/slice/lib/main.js:
|
|
1087
|
-
@stdlib/ndarray/base/slice/lib/index.js:
|
|
1088
|
-
@stdlib/ndarray/base/ndims/lib/main.js:
|
|
1089
|
-
@stdlib/ndarray/base/ndims/lib/index.js:
|
|
1090
|
-
@stdlib/ndarray/base/reverse-dimension/lib/main.js:
|
|
1091
|
-
@stdlib/ndarray/base/reverse-dimension/lib/index.js:
|
|
1092
|
-
@stdlib/ndarray/base/fliplr/lib/main.js:
|
|
1093
|
-
@stdlib/ndarray/base/fliplr/lib/index.js:
|
|
1094
|
-
@stdlib/ndarray/base/flipud/lib/main.js:
|
|
1095
|
-
@stdlib/ndarray/base/flipud/lib/index.js:
|
|
1096
|
-
@stdlib/ndarray/base/nullary-loop-interchange-order/lib/sort2ins.js:
|
|
1097
|
-
@stdlib/ndarray/base/nullary-loop-interchange-order/lib/main.js:
|
|
1098
|
-
@stdlib/ndarray/base/nullary-loop-interchange-order/lib/index.js:
|
|
1099
|
-
@stdlib/ndarray/base/nullary-tiling-block-size/lib/defaults.js:
|
|
1100
|
-
@stdlib/ndarray/base/nullary-tiling-block-size/lib/main.js:
|
|
1101
|
-
@stdlib/ndarray/base/nullary-tiling-block-size/lib/index.js:
|
|
1102
|
-
@stdlib/ndarray/base/maybe-broadcast-arrays/lib/main.js:
|
|
1103
|
-
@stdlib/ndarray/base/maybe-broadcast-arrays/lib/index.js:
|
|
1104
|
-
@stdlib/ndarray/base/next-cartesian-index/lib/assign.js:
|
|
1105
|
-
@stdlib/ndarray/base/next-cartesian-index/lib/main.js:
|
|
1106
|
-
@stdlib/ndarray/base/next-cartesian-index/lib/index.js:
|
|
1107
|
-
@stdlib/ndarray/base/nullary/lib/2d_blocked_accessors.js:
|
|
1108
|
-
@stdlib/ndarray/base/nullary/lib/3d_blocked_accessors.js:
|
|
1109
|
-
@stdlib/ndarray/base/nullary/lib/4d_blocked_accessors.js:
|
|
1110
|
-
@stdlib/ndarray/base/nullary/lib/5d_blocked_accessors.js:
|
|
1111
|
-
@stdlib/ndarray/base/nullary/lib/6d_blocked_accessors.js:
|
|
1112
|
-
@stdlib/ndarray/base/nullary/lib/7d_blocked_accessors.js:
|
|
1113
|
-
@stdlib/ndarray/base/nullary/lib/8d_blocked_accessors.js:
|
|
1114
|
-
@stdlib/ndarray/base/nullary/lib/9d_blocked_accessors.js:
|
|
1115
|
-
@stdlib/ndarray/base/nullary/lib/10d_blocked_accessors.js:
|
|
1116
|
-
@stdlib/ndarray/base/nullary/lib/2d_blocked.js:
|
|
1117
|
-
@stdlib/ndarray/base/nullary/lib/3d_blocked.js:
|
|
1118
|
-
@stdlib/ndarray/base/nullary/lib/4d_blocked.js:
|
|
1119
|
-
@stdlib/ndarray/base/nullary/lib/5d_blocked.js:
|
|
1120
|
-
@stdlib/ndarray/base/nullary/lib/6d_blocked.js:
|
|
1121
|
-
@stdlib/ndarray/base/nullary/lib/7d_blocked.js:
|
|
1122
|
-
@stdlib/ndarray/base/nullary/lib/8d_blocked.js:
|
|
1123
|
-
@stdlib/ndarray/base/nullary/lib/9d_blocked.js:
|
|
1124
|
-
@stdlib/ndarray/base/nullary/lib/10d_blocked.js:
|
|
1125
|
-
@stdlib/ndarray/base/nullary/lib/0d_accessors.js:
|
|
1126
|
-
@stdlib/ndarray/base/nullary/lib/1d_accessors.js:
|
|
1127
|
-
@stdlib/ndarray/base/nullary/lib/2d_accessors.js:
|
|
1128
|
-
@stdlib/ndarray/base/nullary/lib/3d_accessors.js:
|
|
1129
|
-
@stdlib/ndarray/base/nullary/lib/4d_accessors.js:
|
|
1130
|
-
@stdlib/ndarray/base/nullary/lib/5d_accessors.js:
|
|
1131
|
-
@stdlib/ndarray/base/nullary/lib/6d_accessors.js:
|
|
1132
|
-
@stdlib/ndarray/base/nullary/lib/7d_accessors.js:
|
|
1133
|
-
@stdlib/ndarray/base/nullary/lib/8d_accessors.js:
|
|
1134
|
-
@stdlib/ndarray/base/nullary/lib/9d_accessors.js:
|
|
1135
|
-
@stdlib/ndarray/base/nullary/lib/10d_accessors.js:
|
|
1136
|
-
@stdlib/ndarray/base/nullary/lib/nd_accessors.js:
|
|
1137
|
-
@stdlib/ndarray/base/nullary/lib/0d.js:
|
|
1138
|
-
@stdlib/ndarray/base/nullary/lib/1d.js:
|
|
1139
|
-
@stdlib/ndarray/base/nullary/lib/2d.js:
|
|
1140
|
-
@stdlib/ndarray/base/nullary/lib/3d.js:
|
|
1141
|
-
@stdlib/ndarray/base/nullary/lib/4d.js:
|
|
1142
|
-
@stdlib/ndarray/base/nullary/lib/5d.js:
|
|
1143
|
-
@stdlib/ndarray/base/nullary/lib/6d.js:
|
|
1144
|
-
@stdlib/ndarray/base/nullary/lib/7d.js:
|
|
1145
|
-
@stdlib/ndarray/base/nullary/lib/8d.js:
|
|
1146
|
-
@stdlib/ndarray/base/nullary/lib/9d.js:
|
|
1147
|
-
@stdlib/ndarray/base/nullary/lib/10d.js:
|
|
1148
|
-
@stdlib/ndarray/base/nullary/lib/nd.js:
|
|
1149
|
-
@stdlib/ndarray/base/nullary/lib/main.js:
|
|
1150
|
-
@stdlib/ndarray/base/nullary/lib/index.js:
|
|
1151
|
-
@stdlib/ndarray/base/numel-dimension/lib/main.js:
|
|
1152
|
-
@stdlib/ndarray/base/numel-dimension/lib/index.js:
|
|
1153
|
-
@stdlib/ndarray/output-dtype-policies/lib/main.js:
|
|
1154
|
-
@stdlib/ndarray/output-dtype-policies/lib/enum.js:
|
|
1155
|
-
@stdlib/ndarray/output-dtype-policies/lib/assign.js:
|
|
1156
|
-
@stdlib/ndarray/output-dtype-policies/lib/index.js:
|
|
1157
|
-
@stdlib/ndarray/base/output-policy-enum2str/lib/main.js:
|
|
1158
|
-
@stdlib/ndarray/base/output-policy-enum2str/lib/index.js:
|
|
1159
|
-
@stdlib/ndarray/base/output-policy-str2enum/lib/main.js:
|
|
1160
|
-
@stdlib/ndarray/base/output-policy-str2enum/lib/index.js:
|
|
1161
|
-
@stdlib/ndarray/base/output-policy-resolve-enum/lib/main.js:
|
|
1162
|
-
@stdlib/ndarray/base/output-policy-resolve-enum/lib/index.js:
|
|
1163
|
-
@stdlib/ndarray/base/output-policy-resolve-str/lib/main.js:
|
|
1164
|
-
@stdlib/ndarray/base/output-policy-resolve-str/lib/index.js:
|
|
1165
|
-
@stdlib/ndarray/base/reverse/lib/main.js:
|
|
1166
|
-
@stdlib/ndarray/base/reverse/lib/index.js:
|
|
1167
|
-
@stdlib/ndarray/base/slice-assign/lib/main.js:
|
|
1168
|
-
@stdlib/ndarray/base/slice-assign/lib/index.js:
|
|
1169
|
-
@stdlib/ndarray/base/slice-dimension/lib/main.js:
|
|
1170
|
-
@stdlib/ndarray/base/slice-dimension/lib/index.js:
|
|
1171
|
-
@stdlib/ndarray/base/slice-dimension-from/lib/main.js:
|
|
1172
|
-
@stdlib/ndarray/base/slice-dimension-from/lib/index.js:
|
|
1173
|
-
@stdlib/ndarray/base/slice-dimension-to/lib/main.js:
|
|
1174
|
-
@stdlib/ndarray/base/slice-dimension-to/lib/index.js:
|
|
1175
|
-
@stdlib/ndarray/base/slice-from/lib/main.js:
|
|
1176
|
-
@stdlib/ndarray/base/slice-from/lib/index.js:
|
|
1177
|
-
@stdlib/ndarray/base/slice-to/lib/main.js:
|
|
1178
|
-
@stdlib/ndarray/base/slice-to/lib/index.js:
|
|
1179
|
-
@stdlib/ndarray/base/stride/lib/main.js:
|
|
1180
|
-
@stdlib/ndarray/base/stride/lib/index.js:
|
|
1181
|
-
@stdlib/ndarray/base/unary-output-dtype/lib/main.js:
|
|
1182
|
-
@stdlib/ndarray/base/unary-output-dtype/lib/index.js:
|
|
1183
|
-
@stdlib/ndarray/broadcast-array/lib/main.js:
|
|
1184
|
-
@stdlib/ndarray/broadcast-array/lib/index.js:
|
|
1185
|
-
@stdlib/ndarray/broadcast-arrays/lib/main.js:
|
|
1186
|
-
@stdlib/ndarray/broadcast-arrays/lib/index.js:
|
|
1187
|
-
@stdlib/ndarray/empty/lib/main.js:
|
|
1188
|
-
@stdlib/ndarray/empty/lib/index.js:
|
|
1189
|
-
@stdlib/ndarray/empty-like/lib/main.js:
|
|
1190
|
-
@stdlib/ndarray/empty-like/lib/index.js:
|
|
1191
|
-
@stdlib/slice/base/str2slice/lib/main.js:
|
|
1192
|
-
@stdlib/slice/base/str2slice/lib/index.js:
|
|
1193
|
-
@stdlib/slice/base/str2multislice/lib/main.js:
|
|
1194
|
-
@stdlib/slice/base/str2multislice/lib/index.js:
|
|
1195
|
-
@stdlib/slice/base/seq2slice/lib/re_end_minus.js:
|
|
1196
|
-
@stdlib/slice/base/seq2slice/lib/re_end_divide.js:
|
|
1197
|
-
@stdlib/slice/base/seq2slice/lib/resolve_end.js:
|
|
1198
|
-
@stdlib/slice/base/seq2slice/lib/re_colon_sep.js:
|
|
1199
|
-
@stdlib/slice/base/seq2slice/lib/re_integer.js:
|
|
1200
|
-
@stdlib/slice/base/seq2slice/lib/re_end.js:
|
|
1201
|
-
@stdlib/slice/base/seq2slice/lib/error_invalid_subsequence.js:
|
|
1202
|
-
@stdlib/slice/base/seq2slice/lib/error_out_of_bounds.js:
|
|
1203
|
-
@stdlib/slice/base/seq2slice/lib/error_invalid_increment.js:
|
|
1204
|
-
@stdlib/slice/base/seq2slice/lib/main.js:
|
|
1205
|
-
@stdlib/slice/base/seq2slice/lib/index.js:
|
|
1206
|
-
@stdlib/slice/base/seq2multislice/lib/error_invalid_ellipsis.js:
|
|
1207
|
-
@stdlib/slice/base/seq2multislice/lib/error_insufficient_dimensions.js:
|
|
1208
|
-
@stdlib/slice/base/seq2multislice/lib/error_too_many_dimensions.js:
|
|
1209
|
-
@stdlib/slice/base/seq2multislice/lib/error_out_of_bounds.js:
|
|
1210
|
-
@stdlib/slice/base/seq2multislice/lib/re_subseq_sep.js:
|
|
1211
|
-
@stdlib/slice/base/seq2multislice/lib/re_integer.js:
|
|
1212
|
-
@stdlib/slice/base/seq2multislice/lib/main.js:
|
|
1213
|
-
@stdlib/slice/base/seq2multislice/lib/index.js:
|
|
1214
|
-
@stdlib/ndarray/fancy/lib/re_integer.js:
|
|
1215
|
-
@stdlib/ndarray/fancy/lib/re_subseq.js:
|
|
1216
|
-
@stdlib/ndarray/fancy/lib/prop2slice.0d.js:
|
|
1217
|
-
@stdlib/ndarray/fancy/lib/prop2slice.1d.js:
|
|
1218
|
-
@stdlib/slice/base/sargs2multislice/lib/main.js:
|
|
1219
|
-
@stdlib/slice/base/sargs2multislice/lib/index.js:
|
|
1220
|
-
@stdlib/ndarray/fancy/lib/prop2slice.nd.js:
|
|
1221
|
-
@stdlib/ndarray/fancy/lib/has_property.js:
|
|
1222
|
-
@stdlib/ndarray/fancy/lib/get_value.js:
|
|
1223
|
-
@stdlib/ndarray/fancy/lib/error_message.js:
|
|
1224
|
-
@stdlib/ndarray/fancy/lib/error_constructor.js:
|
|
1225
|
-
@stdlib/ndarray/fancy/lib/get_slice.js:
|
|
1226
|
-
@stdlib/ndarray/fancy/lib/get.js:
|
|
1227
|
-
@stdlib/ndarray/fancy/lib/set_value.js:
|
|
1228
|
-
@stdlib/ndarray/fancy/lib/set_slice.js:
|
|
1229
|
-
@stdlib/ndarray/fancy/lib/set.js:
|
|
1230
|
-
@stdlib/ndarray/fancy/lib/main.js:
|
|
1231
|
-
@stdlib/ndarray/fancy/lib/index.js:
|
|
1232
|
-
@stdlib/ndarray/flag/lib/main.js:
|
|
1233
|
-
@stdlib/ndarray/flag/lib/index.js:
|
|
1234
|
-
@stdlib/ndarray/flags/lib/main.js:
|
|
1235
|
-
@stdlib/ndarray/flags/lib/index.js:
|
|
1236
|
-
@stdlib/ndarray/iter/column-entries/lib/main.js:
|
|
1237
|
-
@stdlib/ndarray/iter/column-entries/lib/index.js:
|
|
1238
|
-
@stdlib/ndarray/iter/columns/lib/main.js:
|
|
1239
|
-
@stdlib/ndarray/iter/columns/lib/index.js:
|
|
1240
|
-
@stdlib/ndarray/iter/entries/lib/main.js:
|
|
1241
|
-
@stdlib/ndarray/iter/entries/lib/index.js:
|
|
1242
|
-
@stdlib/ndarray/iter/indices/lib/main.js:
|
|
1243
|
-
@stdlib/ndarray/iter/indices/lib/index.js:
|
|
1244
|
-
@stdlib/ndarray/maybe-broadcast-array/lib/main.js:
|
|
1245
|
-
@stdlib/ndarray/maybe-broadcast-array/lib/index.js:
|
|
1246
|
-
@stdlib/ndarray/maybe-broadcast-arrays/lib/main.js:
|
|
1247
|
-
@stdlib/ndarray/maybe-broadcast-arrays/lib/index.js:
|
|
1248
|
-
@stdlib/ndarray/iter/matrices/lib/main.js:
|
|
1249
|
-
@stdlib/ndarray/iter/matrices/lib/index.js:
|
|
1250
|
-
@stdlib/ndarray/iter/matrix-entries/lib/main.js:
|
|
1251
|
-
@stdlib/ndarray/iter/matrix-entries/lib/index.js:
|
|
1252
|
-
@stdlib/ndarray/iter/row-entries/lib/main.js:
|
|
1253
|
-
@stdlib/ndarray/iter/row-entries/lib/index.js:
|
|
1254
|
-
@stdlib/ndarray/iter/rows/lib/main.js:
|
|
1255
|
-
@stdlib/ndarray/iter/rows/lib/index.js:
|
|
1256
|
-
@stdlib/array/base/resolve-getter/lib/main.js:
|
|
1257
|
-
@stdlib/array/base/resolve-getter/lib/index.js:
|
|
1258
|
-
@stdlib/array/base/put/lib/main.js:
|
|
1259
|
-
@stdlib/ndarray/to-array/lib/main.js:
|
|
1260
|
-
@stdlib/ndarray/to-array/lib/index.js:
|
|
1261
|
-
@stdlib/ndarray/iter/to-array-each/lib/main.js:
|
|
1262
|
-
@stdlib/ndarray/iter/to-array-each/lib/index.js:
|
|
1263
|
-
@stdlib/ndarray/iter/values/lib/main.js:
|
|
1264
|
-
@stdlib/ndarray/iter/values/lib/index.js:
|
|
1265
|
-
@stdlib/ndarray/iter/lib/index.js:
|
|
1266
|
-
@stdlib/ndarray/numel/lib/main.js:
|
|
1267
|
-
@stdlib/ndarray/numel/lib/index.js:
|
|
1268
|
-
@stdlib/ndarray/numel-dimension/lib/main.js:
|
|
1269
|
-
@stdlib/ndarray/numel-dimension/lib/index.js:
|
|
1270
|
-
@stdlib/assert/is-multi-slice/lib/main.js:
|
|
1271
|
-
@stdlib/assert/is-multi-slice/lib/index.js:
|
|
1272
|
-
@stdlib/ndarray/slice/lib/main.js:
|
|
1273
|
-
@stdlib/ndarray/slice/lib/index.js:
|
|
1274
|
-
@stdlib/ndarray/slice-assign/lib/main.js:
|
|
1275
|
-
@stdlib/ndarray/slice-assign/lib/index.js:
|
|
1276
|
-
@stdlib/ndarray/slice-dimension/lib/main.js:
|
|
1277
|
-
@stdlib/ndarray/slice-dimension/lib/index.js:
|
|
1278
|
-
@stdlib/ndarray/slice-dimension-from/lib/main.js:
|
|
1279
|
-
@stdlib/ndarray/slice-dimension-from/lib/index.js:
|
|
1280
|
-
@stdlib/ndarray/slice-dimension-to/lib/main.js:
|
|
1281
|
-
@stdlib/ndarray/slice-dimension-to/lib/index.js:
|
|
1282
|
-
@stdlib/ndarray/slice-from/lib/main.js:
|
|
1283
|
-
@stdlib/ndarray/slice-from/lib/index.js:
|
|
1284
|
-
@stdlib/ndarray/slice-to/lib/main.js:
|
|
1285
|
-
@stdlib/ndarray/slice-to/lib/index.js:
|
|
1286
|
-
@stdlib/ndarray/stride/lib/main.js:
|
|
1287
|
-
@stdlib/ndarray/stride/lib/index.js:
|
|
1288
358
|
(**
|
|
1289
359
|
* @license Apache-2.0
|
|
1290
360
|
*
|
|
@@ -1303,44 +373,6 @@ var qK=Object.create;var Bc=Object.defineProperty;var wK=Object.getOwnPropertyDe
|
|
|
1303
373
|
* limitations under the License.
|
|
1304
374
|
*)
|
|
1305
375
|
|
|
1306
|
-
ieee754/index.js:
|
|
1307
|
-
(*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
|
1308
|
-
|
|
1309
|
-
buffer/index.js:
|
|
1310
|
-
(*!
|
|
1311
|
-
* The buffer module from node.js, for the browser.
|
|
1312
|
-
*
|
|
1313
|
-
* @author Feross Aboukhadijeh <https://feross.org>
|
|
1314
|
-
* @license MIT
|
|
1315
|
-
*)
|
|
1316
|
-
|
|
1317
|
-
@stdlib/blas/ext/base/grev/lib/main.js:
|
|
1318
|
-
@stdlib/blas/ext/base/grev/lib/ndarray.js:
|
|
1319
|
-
@stdlib/blas/ext/base/grev/lib/index.js:
|
|
1320
|
-
@stdlib/ndarray/base/dtypes2signatures/lib/main.js:
|
|
1321
|
-
@stdlib/ndarray/base/dtypes2signatures/lib/index.js:
|
|
1322
|
-
@stdlib/ndarray/base/nonsingleton-dimensions/lib/main.js:
|
|
1323
|
-
@stdlib/ndarray/base/nonsingleton-dimensions/lib/index.js:
|
|
1324
|
-
@stdlib/ndarray/base/singleton-dimensions/lib/main.js:
|
|
1325
|
-
@stdlib/ndarray/base/singleton-dimensions/lib/index.js:
|
|
1326
|
-
(**
|
|
1327
|
-
* @license Apache-2.0
|
|
1328
|
-
*
|
|
1329
|
-
* Copyright (c) 2020 The Stdlib Authors.
|
|
1330
|
-
*
|
|
1331
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
1332
|
-
* you may not use this file except in compliance with the License.
|
|
1333
|
-
* You may obtain a copy of the License at
|
|
1334
|
-
*
|
|
1335
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1336
|
-
*
|
|
1337
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
1338
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
1339
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1340
|
-
* See the License for the specific language governing permissions and
|
|
1341
|
-
* limitations under the License.
|
|
1342
|
-
*)
|
|
1343
|
-
|
|
1344
376
|
@stdlib/blas/base/ddot/lib/ndarray.js:
|
|
1345
377
|
@stdlib/blas/base/ddot/lib/ddot.js:
|
|
1346
378
|
@stdlib/blas/base/ddot/lib/main.js:
|