MCPcopy Index your code
hub / github.com/plotly/plotly.py / "node_modules/es6-iterator/get.js"

Function "node_modules/es6-iterator/get.js"

plotly/package_data/widgetbundle.js:2197–2197  ·  view source on GitHub ↗
(Z,G)

Source from the content-addressed store, hash-verified

2195}
2196`]),w&&(le.frag=le.frag.replace("smoothstep","smoothStep"),se.frag=se.frag.replace("smoothstep","smoothStep")),this.drawCircle=y(le)}b.defaults={color:"black",borderColor:"transparent",borderSize:0,size:12,opacity:1,marker:void 0,viewport:null,range:null,pixelSize:null,count:0,offset:0,bounds:null,positions:[],snap:1e4},b.prototype.render=function(){return arguments.length&&this.update.apply(this,arguments),this.draw(),this},b.prototype.draw=function(){for(var y=this,f=arguments.length,R=new Array(f),L=0;L<f;L++)R[L]=arguments[L];var z=this.groups;if(R.length===1&&Array.isArray(R[0])&&(R[0][0]===null||Array.isArray(R[0][0]))&&(R=R[0]),this.regl._refresh(),R.length)for(var F=0;F<R.length;F++)this.drawItem(F,R[F]);else z.forEach(function(N,O){y.drawItem(O)});return this},b.prototype.drawItem=function(y,f){var R=this.groups,L=R[y];if(typeof f=="number"&&(y=f,L=R[f],f=null),!!(L&&L.count&&L.opacity)){L.activation[0]&&this.drawCircle(this.getMarkerDrawOptions(0,L,f));for(var z=[],F=1;F<L.activation.length;F++)!L.activation[F]||L.activation[F]!==!0&&!L.activation[F].data.length||z.push.apply(z,S(this.getMarkerDrawOptions(F,L,f)));z.length&&this.drawMarker(z)}},b.prototype.getMarkerDrawOptions=function(y,f,R){var L=f.range,z=f.tree,F=f.viewport,N=f.activation,O=f.selectionBuffer,P=f.count,U=this.regl;if(!z)return R?[m({},f,{markerTexture:this.markerTextures[y],activation:N[y],count:R.length,elements:R,offset:0})]:[m({},f,{markerTexture:this.markerTextures[y],activation:N[y],offset:0})];var B=[],X=z.range(L,{lod:!0,px:[(L[2]-L[0])/F.width,(L[3]-L[1])/F.height]});if(R){for(var $=N[y],se=$.data,le=new Uint8Array(P),fe=0;fe<R.length;fe++){var V=R[fe];le[V]=se?se[V]:1}O.subdata(le)}for(var Y=X.length;Y--;){var ee=x(X[Y],2),q=ee[0],oe=ee[1];B.push(m({},f,{markerTexture:this.markerTextures[y],activation:R?O:N[y],offset:q,count:oe-q}))}return B},b.prototype.update=function(){for(var y=this,f=arguments.length,R=new Array(f),L=0;L<f;L++)R[L]=arguments[L];if(R.length){R.length===1&&Array.isArray(R[0])&&(R=R[0]);var z=this.groups,F=this.gl,N=this.regl,O=this.maxSize,P=this.maxColors,U=this.palette;this.groups=z=R.map(function(B,X){var $=z[X];if(B===void 0)return $;B===null?B={positions:null}:typeof B=="function"?B={ondraw:B}:typeof B[0]=="number"&&(B={positions:B}),B=T(B,{positions:"positions data points",snap:"snap cluster lod tree",size:"sizes size radius",borderSize:"borderSizes borderSize border-size bordersize borderWidth borderWidths border-width borderwidth stroke-width strokeWidth strokewidth outline",color:"colors color fill fill-color fillColor",borderColor:"borderColors borderColor stroke stroke-color strokeColor",marker:"markers marker shape",range:"range dataBox databox",viewport:"viewport viewPort viewBox viewbox",opacity:"opacity alpha transparency",bounds:"bound bounds boundaries limits",tooManyColors:"tooManyColors palette paletteMode optimizePalette enablePalette"}),B.positions===null&&(B.positions=[]),B.tooManyColors!=null&&(y.tooManyColors=B.tooManyColors),$||(z[X]=$={id:X,scale:null,translate:null,scaleFract:null,translateFract:null,activation:[],selectionBuffer:N.buffer({data:new Uint8Array(0),usage:"stream",type:"uint8"}),sizeBuffer:N.buffer({data:new Uint8Array(0),usage:"dynamic",type:"uint8"}),colorBuffer:N.buffer({data:new Uint8Array(0),usage:"dynamic",type:"uint8"}),positionBuffer:N.buffer({data:new Uint8Array(0),usage:"dynamic",type:"float"}),positionFractBuffer:N.buffer({data:new Uint8Array(0),usage:"dynamic",type:"float"})},B=m({},b.defaults,B)),B.positions&&!("marker"in B)&&(B.marker=$.marker,delete $.marker),B.marker&&!("positions"in B)&&(B.positions=$.positions,delete $.positions);var se=0,le=0;if(l($,B,[{snap:!0,size:function(rt,st){return rt==null&&(rt=b.defaults.size),se+=rt&&rt.length?1:0,rt},borderSize:function(rt,st){return rt==null&&(rt=b.defaults.borderSize),se+=rt&&rt.length?1:0,rt},opacity:parseFloat,color:function(rt,st){return rt==null&&(rt=b.defaults.color),rt=y.updateColor(rt),le++,rt},borderColor:function(rt,st){return rt==null&&(rt=b.defaults.borderColor),rt=y.updateColor(rt),le++,rt},bounds:function(rt,st,Me){return"range"in Me||(Me.range=null),rt},positions:function(rt,st,Me){var ye=st.snap,he=st.positionBuffer,Oe=st.positionFractBuffer,tt=st.selectionBuffer;if(rt.x||rt.y)return rt.x.length?st.xAttr={buffer:N.buffer(rt.x),offset:0,stride:4,count:rt.x.length}:st.xAttr={buffer:rt.x.buffer,offset:rt.x.offset*4||0,stride:(rt.x.stride||1)*4,count:rt.x.count},rt.y.length?st.yAttr={buffer:N.buffer(rt.y),offset:0,stride:4,count:rt.y.length}:st.yAttr={buffer:rt.y.buffer,offset:rt.y.offset*4||0,stride:(rt.y.stride||1)*4,count:rt.y.count},st.count=Math.max(st.xAttr.count,st.yAttr.count),rt;rt=_(rt,"float64");var ot=st.count=Math.floor(rt.length/2),Qe=st.bounds=ot?s(rt,2):null;if(!Me.range&&!st.range&&(delete st.range,Me.range=Qe),!Me.marker&&!st.marker&&(delete st.marker,Me.marker=null),ye&&(ye===!0||ot>ye)?st.tree=c(rt,{bounds:Qe}):ye&&ye.length&&(st.tree=ye),st.tree){var Pt={primitive:"points",usage:"static",data:st.tree,type:"uint32"};st.elements?st.elements(Pt):st.elements=N.elements(Pt)}var It=A.float32(rt);he({data:It,usage:"dynamic"});var qt=A.fract32(rt,It);return Oe({data:qt,usage:"dynamic"}),tt({data:new Uint8Array(ot),type:"uint8",usage:"stream"}),rt}},{marker:function(rt,st,Me){var ye=st.activation;if(ye.forEach(function(qt){return qt&&qt.destroy&&qt.destroy()}),ye.length=0,!rt||typeof rt[0]=="number"){var he=y.addMarker(rt);ye[he]=!0}else{for(var Oe=[],tt=0,ot=Math.min(rt.length,st.count);tt<ot;tt++){var Qe=y.addMarker(rt[tt]);Oe[Qe]||(Oe[Qe]=new Uint8Array(st.count)),Oe[Qe][tt]=1}for(var Pt=0;Pt<Oe.length;Pt++)if(Oe[Pt]){var It={data:Oe[Pt],type:"uint8",usage:"static"};ye[Pt]?ye[Pt](It):ye[Pt]=N.buffer(It),ye[Pt].data=Oe[Pt]}}return rt},range:function(rt,st,Me){var ye=st.bounds;if(ye)return rt||(rt=ye),st.scale=[1/(rt[2]-rt[0]),1/(rt[3]-rt[1])],st.translate=[-rt[0],-rt[1]],st.scaleFract=A.fract(st.scale),st.translateFract=A.fract(st.translate),rt},viewport:function(rt){var st=M(rt||[F.drawingBufferWidth,F.drawingBufferHeight]);return st}}]),se){var fe=$,V=fe.count,Y=fe.size,ee=fe.borderSize,q=fe.sizeBuffer,oe=new Uint8Array(V*2);if(Y.length||ee.length)for(var ae=0;ae<V;ae++)oe[ae*2]=Math.round((Y[ae]==null?Y:Y[ae])*255/O),oe[ae*2+1]=Math.round((ee[ae]==null?ee:ee[ae])*255/O);q({data:oe,usage:"dynamic"})}if(le){var j=$,Q=j.count,re=j.color,ce=j.borderColor,be=j.colorBuffer,Ae;if(y.tooManyColors){if(re.length||ce.length){Ae=new Uint8Array(Q*8);for(var De=0;De<Q;De++){var ze=re[De];Ae[De*8]=U[ze*4],Ae[De*8+1]=U[ze*4+1],Ae[De*8+2]=U[ze*4+2],Ae[De*8+3]=U[ze*4+3];var Ze=ce[De];Ae[De*8+4]=U[Ze*4],Ae[De*8+5]=U[Ze*4+1],Ae[De*8+6]=U[Ze*4+2],Ae[De*8+7]=U[Ze*4+3]}}}else if(re.length||ce.length){Ae=new Uint8Array(Q*4+2);for(var at=0;at<Q;at++)re[at]!=null&&(Ae[at*4]=re[at]%P,Ae[at*4+1]=Math.floor(re[at]/P)),ce[at]!=null&&(Ae[at*4+2]=ce[at]%P,Ae[at*4+3]=Math.floor(ce[at]/P))}be({data:Ae||new Uint8Array(0),type:"uint8",usage:"dynamic"})}return $})}},b.prototype.addMarker=function(y){var f=this.markerTextures,R=this.regl,L=this.markerCache,z=y==null?0:L.indexOf(y);if(z>=0)return z;var F;if(y instanceof Uint8Array||y instanceof Uint8ClampedArray)F=y;else{F=new Uint8Array(y.length);for(var N=0,O=y.length;N<O;N++)F[N]=y[N]*255}var P=Math.floor(Math.sqrt(F.length));return z=f.length,L.push(y),f.push(R.texture({channels:1,data:F,radius:P,mag:"linear",min:"linear"})),z},b.prototype.updateColor=function(y){var f=this.paletteIds,R=this.palette,L=this.maxColors;Array.isArray(y)||(y=[y]);var z=[];if(typeof y[0]=="number"){var F=[];if(Array.isArray(y))for(var N=0;N<y.length;N+=4)F.push(y.slice(N,N+4));else for(var O=0;O<y.length;O+=4)F.push(y.subarray(O,O+4));y=F}for(var P=0;P<y.length;P++){var U=y[P];U=i(U,"uint8");var B=h(U,!1);if(f[B]==null){var X=R.length;f[B]=Math.floor(X/4),R[X]=U[0],R[X+1]=U[1],R[X+2]=U[2],R[X+3]=U[3]}z[P]=f[B]}return!this.tooManyColors&&R.length>L*4&&(this.tooManyColors=!0),this.updatePalette(R),z.length===1?z[0]:z},b.prototype.updatePalette=function(y){if(!this.tooManyColors){var f=this.maxColors,R=this.paletteTexture,L=Math.ceil(y.length*.25/f);if(L>1){y=y.slice();for(var z=y.length*.25%f;z<L*f;z++)y.push(0,0,0,0)}R.height<L&&R.resize(f,L),R.subimage({width:Math.min(y.length*.25,f),height:L,data:y},0,0)}},b.prototype.destroy=function(){return this.groups.forEach(function(y){y.sizeBuffer.destroy(),y.positionBuffer.destroy(),y.positionFractBuffer.destroy(),y.colorBuffer.destroy(),y.activation.forEach(function(f){return f&&f.destroy&&f.destroy()}),y.selectionBuffer.destroy(),y.elements&&y.elements.destroy()}),this.groups.length=0,this.paletteTexture.destroy(),this.markerTextures.forEach(function(y){return y&&y.destroy&&y.destroy()}),this};var d=ch(),u=function(f,R){var L=new g(f,R),z=L.render.bind(L);return d(z,{render:z,update:L.update.bind(L),draw:L.draw.bind(L),destroy:L.destroy.bind(L),regl:L.regl,gl:L.gl,canvas:L.gl.canvas,groups:L.groups,markers:L.markerCache,palette:L.palette}),z};G.exports=u}}),dj=Xe({"node_modules/earcut/src/earcut.js"(Z,G){"use strict";G.exports=v,G.exports.default=v;function v(N,O,P){P=P||2;var U=O&&O.length,B=U?O[0]*P:N.length,X=x(N,0,B,P,!0),$=[];if(!X||X.next===X.prev)return $;var se,le,fe,V,Y,ee,q;if(U&&(X=a(N,O,X,P)),N.length>80*P){se=fe=N[0],le=V=N[1];for(var oe=P;oe<B;oe+=P)Y=N[oe],ee=N[oe+1],Y<se&&(se=Y),ee<le&&(le=ee),Y>fe&&(fe=Y),ee>V&&(V=ee);q=Math.max(fe-se,V-le),q=q!==0?32767/q:0}return E(X,$,P,se,le,q,0),$}function x(N,O,P,U,B){var X,$;if(B===F(N,O,P,U)>0)for(X=O;X<P;X+=U)$=R(X,N[X],N[X+1],$);else for(X=P-U;X>=O;X-=U)$=R(X,N[X],N[X+1],$);return $&&A($,$.next)&&(L($),$=$.next),$}function S(N,O){if(!N)return N;O||(O=N);var P=N,U;do if(U=!1,!P.steiner&&(A(P,P.next)||w(P.prev,P,P.next)===0)){if(L(P),P=O=P.prev,P===P.next)break;U=!0}else P=P.next;while(U||P!==O);return O}function E(N,O,P,U,B,X,$){if(N){!$&&X&&c(N,U,B,X);for(var se=N,le,fe;N.prev!==N.next;){if(le=N.prev,fe=N.next,X?t(N,U,B,X):e(N)){O.push(le.i/P|0),O.push(N.i/P|0),O.push(fe.i/P|0),L(N),N=fe.next,se=fe.next;continue}if(N=fe,N===se){$?$===1?(N=r(S(N),O,P),E(N,O,P,U,B,X,2)):$===2&&o(N,O,P,U,B,X):E(S(N),O,P,U,B,X,1);break}}}}function e(N){var O=N.prev,P=N,U=N.next;if(w(O,P,U)>=0)return!1;for(var B=O.x,X=P.x,$=U.x,se=O.y,le=P.y,fe=U.y,V=B<X?B<$?B:$:X<$?X:$,Y=se<le?se<fe?se:fe:le<fe?le:fe,ee=B>X?B>$?B:$:X>$?X:$,q=se>le?se>fe?se:fe:le>fe?le:fe,oe=U.next;oe!==O;){if(oe.x>=V&&oe.x<=ee&&oe.y>=Y&&oe.y<=q&&l(B,se,X,le,$,fe,oe.x,oe.y)&&w(oe.prev,oe,oe.next)>=0)return!1;oe=oe.next}return!0}function t(N,O,P,U){var B=N.prev,X=N,$=N.next;if(w(B,X,$)>=0)return!1;for(var se=B.x,le=X.x,fe=$.x,V=B.y,Y=X.y,ee=$.y,q=se<le?se<fe?se:fe:le<fe?le:fe,oe=V<Y?V<ee?V:ee:Y<ee?Y:ee,ae=se>le?se>fe?se:fe:le>fe?le:fe,j=V>Y?V>ee?V:ee:Y>ee?Y:ee,Q=p(q,oe,O,P,U),re=p(ae,j,O,P,U),ce=N.prevZ,be=N.nextZ;ce&&ce.z>=Q&&be&&be.z<=re;){if(ce.x>=q&&ce.x<=ae&&ce.y>=oe&&ce.y<=j&&ce!==B&&ce!==$&&l(se,V,le,Y,fe,ee,ce.x,ce.y)&&w(ce.prev,ce,ce.next)>=0||(ce=ce.prevZ,be.x>=q&&be.x<=ae&&be.y>=oe&&be.y<=j&&be!==B&&be!==$&&l(se,V,le,Y,fe,ee,be.x,be.y)&&w(be.prev,be,be.next)>=0))return!1;be=be.nextZ}for(;ce&&ce.z>=Q;){if(ce.x>=q&&ce.x<=ae&&ce.y>=oe&&ce.y<=j&&ce!==B&&ce!==$&&l(se,V,le,Y,fe,ee,ce.x,ce.y)&&w(ce.prev,ce,ce.next)>=0)return!1;ce=ce.prevZ}for(;be&&be.z<=re;){if(be.x>=q&&be.x<=ae&&be.y>=oe&&be.y<=j&&be!==B&&be!==$&&l(se,V,le,Y,fe,ee,be.x,be.y)&&w(be.prev,be,be.next)>=0)return!1;be=be.nextZ}return!0}function r(N,O,P){var U=N;do{var B=U.prev,X=U.next.next;!A(B,X)&&M(B,U,U.next,X)&&u(B,X)&&u(X,B)&&(O.push(B.i/P|0),O.push(U.i/P|0),O.push(X.i/P|0),L(U),L(U.next),U=N=X),U=U.next}while(U!==N);return S(U)}function o(N,O,P,U,B,X){var $=N;do{for(var se=$.next.next;se!==$.prev;){if($.i!==se.i&&_($,se)){var le=f($,se);$=S($,$.next),le=S(le,le.next),E($,O,P,U,B,X,0),E(le,O,P,U,B,X,0);return}se=se.next}$=$.next}while($!==N)}function a(N,O,P,U){var B=[],X,$,se,le,fe;for(X=0,$=O.length;X<$;X++)se=O[X]*U,le=X<$-1?O[X+1]*U:N.length,fe=x(N,se,le,U,!1),fe===fe.next&&(fe.steiner=!0),B.push(T(fe));for(B.sort(n),X=0;X<B.length;X++)P=i(B[X],P);return P}function n(N,O){return N.x-O.x}function i(N,O){var P=s(N,O);if(!P)return O;var U=f(P,N);return S(U,U.next),S(P,P.next)}function s(N,O){var P=O,U=N.x,B=N.y,X=-1/0,$;do{if(B<=P.y&&B>=P.next.y&&P.next.y!==P.y){var se=P.x+(B-P.y)*(P.next.x-P.x)/(P.next.y-P.y);if(se<=U&&se>X&&(X=se,$=P.x<P.next.x?P:P.next,se===U))return $}P=P.next}while(P!==O);if(!$)return null;var le=$,fe=$.x,V=$.y,Y=1/0,ee;P=$;do U>=P.x&&P.x>=fe&&U!==P.x&&l(B<V?U:X,B,fe,V,B<V?X:U,B,P.x,P.y)&&(ee=Math.abs(B-P.y)/(U-P.x),u(P,N)&&(ee<Y||ee===Y&&(P.x>$.x||P.x===$.x&&h($,P)))&&($=P,Y=ee)),P=P.next;while(P!==le);return $}function h(N,O){return w(N.prev,N,O.prev)<0&&w(O.next,N,N.next)<0}function c(N,O,P,U){var B=N;do B.z===0&&(B.z=p(B.x,B.y,O,P,U)),B.prevZ=B.prev,B.nextZ=B.next,B=B.next;while(B!==N);B.prevZ.nextZ=null,B.prevZ=null,m(B)}function m(N){var O,P,U,B,X,$,se,le,fe=1;do{for(P=N,N=null,X=null,$=0;P;){for($++,U=P,se=0,O=0;O<fe&&(se++,U=U.nextZ,!!U);O++);for(le=fe;se>0||le>0&&U;)se!==0&&(le===0||!U||P.z<=U.z)?(B=P,P=P.nextZ,se--):(B=U,U=U.nextZ,le--),X?X.nextZ=B:N=B,B.prevZ=X,X=B;P=U}X.nextZ=null,fe*=2}while($>1);return N}function p(N,O,P,U,B){return N=(N-P)*B|0,O=(O-U)*B|0,N=(N|N<<8)&16711935,N=(N|N<<4)&252645135,N=(N|N<<2)&858993459,N=(N|N<<1)&1431655765,O=(O|O<<8)&16711935,O=(O|O<<4)&252645135,O=(O|O<<2)&858993459,O=(O|O<<1)&1431655765,N|O<<1}function T(N){var O=N,P=N;do(O.x<P.x||O.x===P.x&&O.y<P.y)&&(P=O),O=O.next;while(O!==N);return P}function l(N,O,P,U,B,X,$,se){return(B-$)*(O-se)>=(N-$)*(X-se)&&(N-$)*(U-se)>=(P-$)*(O-se)&&(P-$)*(X-se)>=(B-$)*(U-se)}function _(N,O){return N.next.i!==O.i&&N.prev.i!==O.i&&!d(N,O)&&(u(N,O)&&u(O,N)&&y(N,O)&&(w(N.prev,N,O.prev)||w(N,O.prev,O))||A(N,O)&&w(N.prev,N,N.next)>0&&w(O.prev,O,O.next)>0)}function w(N,O,P){return(O.y-N.y)*(P.x-O.x)-(O.x-N.x)*(P.y-O.y)}function A(N,O){return N.x===O.x&&N.y===O.y}function M(N,O,P,U){var B=b(w(N,O,P)),X=b(w(N,O,U)),$=b(w(P,U,N)),se=b(w(P,U,O));return!!(B!==X&&$!==se||B===0&&g(N,P,O)||X===0&&g(N,U,O)||$===0&&g(P,N,U)||se===0&&g(P,O,U))}function g(N,O,P){return O.x<=Math.max(N.x,P.x)&&O.x>=Math.min(N.x,P.x)&&O.y<=Math.max(N.y,P.y)&&O.y>=Math.min(N.y,P.y)}function b(N){return N>0?1:N<0?-1:0}function d(N,O){var P=N;do{if(P.i!==N.i&&P.next.i!==N.i&&P.i!==O.i&&P.next.i!==O.i&&M(P,P.next,N,O))return!0;P=P.next}while(P!==N);return!1}function u(N,O){return w(N.prev,N,N.next)<0?w(N,O,N.next)>=0&&w(N,N.prev,O)>=0:w(N,O,N.prev)<0||w(N,N.next,O)<0}function y(N,O){var P=N,U=!1,B=(N.x+O.x)/2,X=(N.y+O.y)/2;do P.y>X!=P.next.y>X&&P.next.y!==P.y&&B<(P.next.x-P.x)*(X-P.y)/(P.next.y-P.y)+P.x&&(U=!U),P=P.next;while(P!==N);return U}function f(N,O){var P=new z(N.i,N.x,N.y),U=new z(O.i,O.x,O.y),B=N.next,X=O.prev;return N.next=O,O.prev=N,P.next=B,B.prev=P,U.next=P,P.prev=U,X.next=U,U.prev=X,U}function R(N,O,P,U){var B=new z(N,O,P);return U?(B.next=U.next,B.prev=U,U.next.prev=B,U.next=B):(B.prev=B,B.next=B),B}function L(N){N.next.prev=N.prev,N.prev.next=N.next,N.prevZ&&(N.prevZ.nextZ=N.nextZ),N.nextZ&&(N.nextZ.prevZ=N.prevZ)}function z(N,O,P){this.i=N,this.x=O,this.y=P,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}v.deviation=function(N,O,P,U){var B=O&&O.length,X=B?O[0]*P:N.length,$=Math.abs(F(N,0,X,P));if(B)for(var se=0,le=O.length;se<le;se++){var fe=O[se]*P,V=se<le-1?O[se+1]*P:N.length;$-=Math.abs(F(N,fe,V,P))}var Y=0;for(se=0;se<U.length;se+=3){var ee=U[se]*P,q=U[se+1]*P,oe=U[se+2]*P;Y+=Math.abs((N[ee]-N[oe])*(N[q+1]-N[ee+1])-(N[ee]-N[q])*(N[oe+1]-N[ee+1]))}return $===0&&Y===0?0:Math.abs((Y-$)/$)};function F(N,O,P,U){for(var B=0,X=O,$=P-U;X<P;X+=U)B+=(N[$]-N[X])*(N[X+1]+N[$+1]),$=X;return B}v.flatten=function(N){for(var O=N[0][0].length,P={vertices:[],holes:[],dimensions:O},U=0,B=0;B<N.length;B++){for(var X=0;X<N[B].length;X++)for(var $=0;$<O;$++)P.vertices.push(N[B][X][$]);B>0&&(U+=N[B-1].length,P.holes.push(U))}return P}}}),vj=Xe({"node_modules/array-normalize/index.js"(Z,G){"use strict";var v=mg();G.exports=x;function x(S,E,e){if(!S||S.length==null)throw Error("Argument should be an array");E==null&&(E=1),e==null&&(e=v(S,E));for(var t=0;t<E;t++){var r=e[E+t],o=e[t],a=t,n=S.length;if(r===1/0&&o===-1/0)for(a=t;a<n;a+=E)S[a]=S[a]===r?1:S[a]===o?0:.5;else if(r===1/0)for(a=t;a<n;a+=E)S[a]=S[a]===r?1:0;else if(o===-1/0)for(a=t;a<n;a+=E)S[a]=S[a]===o?0:1;else{var i=r-o;for(a=t;a<n;a+=E)isNaN(S[a])||(S[a]=i===0?.5:(S[a]-o)/i)}}return S}}}),mj=Xe({"node_modules/es6-weak-map/is-implemented.js"(Z,G){"use strict";G.exports=function(){var v,x;if(typeof WeakMap!="function")return!1;try{v=new WeakMap([[x={},"one"],[{},"two"],[{},"three"]])}catch{return!1}return!(String(v)!=="[object WeakMap]"||typeof v.set!="function"||v.set({},1)!==v||typeof v.delete!="function"||typeof v.has!="function"||v.get(x)!=="one")}}}),gj=Xe({"node_modules/es5-ext/function/noop.js"(Z,G){"use strict";G.exports=function(){}}}),_0=Xe({"node_modules/es5-ext/object/is-value.js"(Z,G){"use strict";var v=gj()();G.exports=function(x){return x!==v&&x!==null}}}),WE=Xe({"node_modules/es5-ext/object/set-prototype-of/is-implemented.js"(Z,G){"use strict";var v=Object.create,x=Object.getPrototypeOf,S={};G.exports=function(){var E=Object.setPrototypeOf,e=arguments[0]||v;return typeof E!="function"?!1:x(E(e(null),S))===S}}}),XE=Xe({"node_modules/es5-ext/object/is-object.js"(Z,G){"use strict";var v=_0(),x={function:!0,object:!0};G.exports=function(S){return v(S)&&x[typeof S]||!1}}}),rm=Xe({"node_modules/es5-ext/object/valid-value.js"(Z,G){"use strict";var v=_0();G.exports=function(x){if(!v(x))throw new TypeError("Cannot use null or undefined");return x}}}),yj=Xe({"node_modules/es5-ext/object/create.js"(Z,G){"use strict";var v=Object.create,x;WE()()||(x=ZE()),G.exports=function(){var S,E,e;return!x||x.level!==1?v:(S={},E={},e={configurable:!1,enumerable:!1,writable:!0,value:void 0},Object.getOwnPropertyNames(Object.prototype).forEach(function(t){if(t==="__proto__"){E[t]={configurable:!0,enumerable:!1,writable:!0,value:void 0};return}E[t]=e}),Object.defineProperties(S,E),Object.defineProperty(x,"nullPolyfill",{configurable:!1,enumerable:!1,writable:!1,value:S}),function(t,r){return v(t===null?S:t,r)})}()}}),ZE=Xe({"node_modules/es5-ext/object/set-prototype-of/shim.js"(Z,G){"use strict";var v=XE(),x=rm(),S=Object.prototype.isPrototypeOf,E=Object.defineProperty,e={configurable:!0,enumerable:!1,writable:!0,value:void 0},t;t=function(r,o){if(x(r),o===null||v(o))return r;throw new TypeError("Prototype must be null or an object")},G.exports=function(r){var o,a;return r?(r.level===2?r.set?(a=r.set,o=function(n,i){return a.call(t(n,i),i),n}):o=function(n,i){return t(n,i).__proto__=i,n}:o=function n(i,s){var h;return t(i,s),h=S.call(n.nullPolyfill,i),h&&delete n.nullPolyfill.__proto__,s===null&&(s=n.nullPolyfill),i.__proto__=s,h&&E(n.nullPolyfill,"__proto__",e),i},Object.defineProperty(o,"level",{configurable:!1,enumerable:!1,writable:!1,value:r.level})):null}(function(){var r=Object.create(null),o={},a,n=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__");if(n){try{a=n.set,a.call(r,o)}catch{}if(Object.getPrototypeOf(r)===o)return{set:a,level:2}}return r.__proto__=o,Object.getPrototypeOf(r)===o?{level:2}:(r={},r.__proto__=o,Object.getPrototypeOf(r)===o?{level:1}:!1)}()),yj()}}),gT=Xe({"node_modules/es5-ext/object/set-prototype-of/index.js"(Z,G){"use strict";G.exports=WE()()?Object.setPrototypeOf:ZE()}}),_j=Xe({"node_modules/es5-ext/object/valid-object.js"(Z,G){"use strict";var v=XE();G.exports=function(x){if(!v(x))throw new TypeError(x+" is not an Object");return x}}}),xj=Xe({"node_modules/es5-ext/string/random-uniq.js"(Z,G){"use strict";var v=Object.create(null),x=Math.random;G.exports=function(){var S;do S=x().toString(36).slice(2);while(v[S]);return S}}}),_g=Xe({"node_modules/type/value/is.js"(Z,G){"use strict";var v=void 0;G.exports=function(x){return x!==v&&x!==null}}}),yT=Xe({"node_modules/type/object/is.js"(Z,G){"use strict";var v=_g(),x={object:!0,function:!0,undefined:!0};G.exports=function(S){return v(S)?hasOwnProperty.call(x,typeof S):!1}}}),bj=Xe({"node_modules/type/prototype/is.js"(Z,G){"use strict";var v=yT();G.exports=function(x){if(!v(x))return!1;try{return x.constructor?x.constructor.prototype===x:!1}catch{return!1}}}}),wj=Xe({"node_modules/type/function/is.js"(Z,G){"use strict";var v=bj();G.exports=function(x){if(typeof x!="function"||!hasOwnProperty.call(x,"length"))return!1;try{if(typeof x.length!="number"||typeof x.call!="function"||typeof x.apply!="function")return!1}catch{return!1}return!v(x)}}}),YE=Xe({"node_modules/type/plain-function/is.js"(Z,G){"use strict";var v=wj(),x=/^\s*class[\s{/}]/,S=Function.prototype.toString;G.exports=function(E){return!(!v(E)||x.test(S.call(E)))}}}),Tj=Xe({"node_modules/es5-ext/object/assign/is-implemented.js"(Z,G){"use strict";G.exports=function(){var v=Object.assign,x;return typeof v!="function"?!1:(x={foo:"raz"},v(x,{bar:"dwa"},{trzy:"trzy"}),x.foo+x.bar+x.trzy==="razdwatrzy")}}}),Aj=Xe({"node_modules/es5-ext/object/keys/is-implemented.js"(Z,G){"use strict";G.exports=function(){try{return Object.keys("primitive"),!0}catch{return!1}}}}),Sj=Xe({"node_modules/es5-ext/object/keys/shim.js"(Z,G){"use strict";var v=_0(),x=Object.keys;G.exports=function(S){return x(v(S)?Object(S):S)}}}),Mj=Xe({"node_modules/es5-ext/object/keys/index.js"(Z,G){"use strict";G.exports=Aj()()?Object.keys:Sj()}}),Ej=Xe({"node_modules/es5-ext/object/assign/shim.js"(Z,G){"use strict";var v=Mj(),x=rm(),S=Math.max;G.exports=function(E,e){var t,r,o=S(arguments.length,2),a;for(E=Object(x(E)),a=function(n){try{E[n]=e[n]}catch(i){t||(t=i)}},r=1;r<o;++r)e=arguments[r],v(e).forEach(a);if(t!==void 0)throw t;return E}}}),_T=Xe({"node_modules/es5-ext/object/assign/index.js"(Z,G){"use strict";G.exports=Tj()()?Object.assign:Ej()}}),KE=Xe({"node_modules/es5-ext/object/normalize-options.js"(Z,G){"use strict";var v=_0(),x=Array.prototype.forEach,S=Object.create,E=function(e,t){var r;for(r in e)t[r]=e[r]};G.exports=function(e){var t=S(null);return x.call(arguments,function(r){v(r)&&E(Object(r),t)}),t}}}),kj=Xe({"node_modules/es5-ext/string/#/contains/is-implemented.js"(Z,G){"use strict";var v="razdwatrzy";G.exports=function(){return typeof v.contains!="function"?!1:v.contains("dwa")===!0&&v.contains("foo")===!1}}}),Cj=Xe({"node_modules/es5-ext/string/#/contains/shim.js"(Z,G){"use strict";var v=String.prototype.indexOf;G.exports=function(x){return v.call(this,x,arguments[1])>-1}}}),JE=Xe({"node_modules/es5-ext/string/#/contains/index.js"(Z,G){"use strict";G.exports=kj()()?String.prototype.contains:Cj()}}),am=Xe({"node_modules/d/index.js"(Z,G){"use strict";var v=_g(),x=YE(),S=_T(),E=KE(),e=JE(),t=G.exports=function(r,o){var a,n,i,s,h;return arguments.length<2||typeof r!="string"?(s=o,o=r,r=null):s=arguments[2],v(r)?(a=e.call(r,"c"),n=e.call(r,"e"),i=e.call(r,"w")):(a=i=!0,n=!1),h={value:o,configurable:a,enumerable:n,writable:i},s?S(E(s),h):h};t.gs=function(r,o,a){var n,i,s,h;return typeof r!="string"?(s=a,a=o,o=r,r=null):s=arguments[3],v(o)?x(o)?v(a)?x(a)||(s=a,a=void 0):a=void 0:(s=o,o=a=void 0):o=void 0,v(r)?(n=e.call(r,"c"),i=e.call(r,"e")):(n=!0,i=!1),h={get:o,set:a,configurable:n,enumerable:i},s?S(E(s),h):h}}}),bx=Xe({"node_modules/es5-ext/function/is-arguments.js"(Z,G){"use strict";var v=Object.prototype.toString,x=v.call(function(){return arguments}());G.exports=function(S){return v.call(S)===x}}}),wx=Xe({"node_modules/es5-ext/string/is-string.js"(Z,G){"use strict";var v=Object.prototype.toString,x=v.call("");G.exports=function(S){return typeof S=="string"||S&&typeof S=="object"&&(S instanceof String||v.call(S)===x)||!1}}}),Lj=Xe({"node_modules/ext/global-this/is-implemented.js"(Z,G){"use strict";G.exports=function(){return typeof globalThis!="object"||!globalThis?!1:globalThis.Array===Array}}}),Pj=Xe({"node_modules/ext/global-this/implementation.js"(Z,G){var v=function(){if(typeof self=="object"&&self)return self;if(typeof window=="object"&&window)return window;throw new Error("Unable to resolve global `this`")};G.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch{return v()}try{return __global__||v()}finally{delete Object.prototype.__global__}}()}}),Tx=Xe({"node_modules/ext/global-this/index.js"(Z,G){"use strict";G.exports=Lj()()?globalThis:Pj()}}),Ij=Xe({"node_modules/es6-symbol/is-implemented.js"(Z,G){"use strict";var v=Tx(),x={object:!0,symbol:!0};G.exports=function(){var S=v.Symbol,E;if(typeof S!="function")return!1;E=S("test symbol");try{String(E)}catch{return!1}return!(!x[typeof S.iterator]||!x[typeof S.toPrimitive]||!x[typeof S.toStringTag])}}}),Rj=Xe({"node_modules/es6-symbol/is-symbol.js"(Z,G){"use strict";G.exports=function(v){return v?typeof v=="symbol"?!0:!v.constructor||v.constructor.name!=="Symbol"?!1:v[v.constructor.toStringTag]==="Symbol":!1}}}),$E=Xe({"node_modules/es6-symbol/validate-symbol.js"(Z,G){"use strict";var v=Rj();G.exports=function(x){if(!v(x))throw new TypeError(x+" is not a symbol");return x}}}),Dj=Xe({"node_modules/es6-symbol/lib/private/generate-name.js"(Z,G){"use strict";var v=am(),x=Object.create,S=Object.defineProperty,E=Object.prototype,e=x(null);G.exports=function(t){for(var r=0,o,a;e[t+(r||"")];)++r;return t+=r||"",e[t]=!0,o="@@"+t,S(E,o,v.gs(null,function(n){a||(a=!0,S(this,o,v(n)),a=!1)})),o}}}),zj=Xe({"node_modules/es6-symbol/lib/private/setup/standard-symbols.js"(Z,G){"use strict";var v=am(),x=Tx().Symbol;G.exports=function(S){return Object.defineProperties(S,{hasInstance:v("",x&&x.hasInstance||S("hasInstance")),isConcatSpreadable:v("",x&&x.isConcatSpreadable||S("isConcatSpreadable")),iterator:v("",x&&x.iterator||S("iterator")),match:v("",x&&x.match||S("match")),replace:v("",x&&x.replace||S("replace")),search:v("",x&&x.search||S("search")),species:v("",x&&x.species||S("species")),split:v("",x&&x.split||S("split")),toPrimitive:v("",x&&x.toPrimitive||S("toPrimitive")),toStringTag:v("",x&&x.toStringTag||S("toStringTag")),unscopables:v("",x&&x.unscopables||S("unscopables"))})}}}),Fj=Xe({"node_modules/es6-symbol/lib/private/setup/symbol-registry.js"(Z,G){"use strict";var v=am(),x=$E(),S=Object.create(null);G.exports=function(E){return Object.defineProperties(E,{for:v(function(e){return S[e]?S[e]:S[e]=E(String(e))}),keyFor:v(function(e){var t;x(e);for(t in S)if(S[t]===e)return t})})}}}),Oj=Xe({"node_modules/es6-symbol/polyfill.js"(Z,G){"use strict";var v=am(),x=$E(),S=Tx().Symbol,E=Dj(),e=zj(),t=Fj(),r=Object.create,o=Object.defineProperties,a=Object.defineProperty,n,i,s;if(typeof S=="function")try{String(S()),s=!0}catch{}else S=null;i=function(c){if(this instanceof i)throw new TypeError("Symbol is not a constructor");return n(c)},G.exports=n=function h(c){var m;if(this instanceof h)throw new TypeError("Symbol is not a constructor");return s?S(c):(m=r(i.prototype),c=c===void 0?"":String(c),o(m,{__description__:v("",c),__name__:v("",E(c))}))},e(n),t(n),o(i.prototype,{constructor:v(n),toString:v("",function(){return this.__name__})}),o(n.prototype,{toString:v(function(){return"Symbol ("+x(this).__description__+")"}),valueOf:v(function(){return x(this)})}),a(n.prototype,n.toPrimitive,v("",function(){var h=x(this);return typeof h=="symbol"?h:h.toString()})),a(n.prototype,n.toStringTag,v("c","Symbol")),a(i.prototype,n.toStringTag,v("c",n.prototype[n.toStringTag])),a(i.prototype,n.toPrimitive,v("c",n.prototype[n.toPrimitive]))}}),x0=Xe({"node_modules/es6-symbol/index.js"(Z,G){"use strict";G.exports=Ij()()?Tx().Symbol:Oj()}}),Bj=Xe({"node_modules/es5-ext/array/#/clear.js"(Z,G){"use strict";var v=rm();G.exports=function(){return v(this).length=0,this}}}),L1=Xe({"node_modules/es5-ext/object/valid-callable.js"(Z,G){"use strict";G.exports=function(v){if(typeof v!="function")throw new TypeError(v+" is not a function");return v}}}),Nj=Xe({"node_modules/type/string/coerce.js"(Z,G){"use strict";var v=_g(),x=yT(),S=Object.prototype.toString;G.exports=function(E){if(!v(E))return null;if(x(E)){var e=E.toString;if(typeof e!="function"||e===S)return null}try{return""+E}catch{return null}}}}),Uj=Xe({"node_modules/type/lib/safe-to-string.js"(Z,G){"use strict";G.exports=function(v){try{return v.toString()}catch{try{return String(v)}catch{return null}}}}}),jj=Xe({"node_modules/type/lib/to-short-string.js"(Z,G){"use strict";var v=Uj(),x=/[\n\r\u2028\u2029]/g;G.exports=function(S){var E=v(S);return E===null?"<Non-coercible to string value>":(E.length>100&&(E=E.slice(0,99)+"\u2026"),E=E.replace(x,function(e){switch(e){case`
2197`:return"\\n";case"\r":return"\\r";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("Unexpected character")}}),E)}}}),QE=Xe({"node_modules/type/lib/resolve-exception.js"(Z,G){"use strict";var v=_g(),x=yT(),S=Nj(),E=jj(),e=function(t,r){return t.replace("%v",E(r))};G.exports=function(t,r,o){if(!x(o))throw new TypeError(e(r,t));if(!v(t)){if("default"in o)return o.default;if(o.isOptional)return null}var a=S(o.errorMessage);throw v(a)||(a=r),new TypeError(e(a,t))}}}),qj=Xe({"node_modules/type/value/ensure.js"(Z,G){"use strict";var v=QE(),x=_g();G.exports=function(S){return x(S)?S:v(S,"Cannot use %v",arguments[1])}}}),Vj=Xe({"node_modules/type/plain-function/ensure.js"(Z,G){"use strict";var v=QE(),x=YE();G.exports=function(S){return x(S)?S:v(S,"%v is not a plain function",arguments[1])}}}),Gj=Xe({"node_modules/es5-ext/array/from/is-implemented.js"(Z,G){"use strict";G.exports=function(){var v=Array.from,x,S;return typeof v!="function"?!1:(x=["raz","dwa"],S=v(x),!!(S&&S!==x&&S[1]==="dwa"))}}}),Hj=Xe({"node_modules/es5-ext/function/is-function.js"(Z,G){"use strict";var v=Object.prototype.toString,x=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);G.exports=function(S){return typeof S=="function"&&x(v.call(S))}}}),Wj=Xe({"node_modules/es5-ext/math/sign/is-implemented.js"(Z,G){"use strict";G.exports=function(){var v=Math.sign;return typeof v!="function"?!1:v(10)===1&&v(-20)===-1}}}),Xj=Xe({"node_modules/es5-ext/math/sign/shim.js"(Z,G){"use strict";G.exports=function(v){return v=Number(v),isNaN(v)||v===0?v:v>0?1:-1}}}),Zj=Xe({"node_modules/es5-ext/math/sign/index.js"(Z,G){"use strict";G.exports=Wj()()?Math.sign:Xj()}}),Yj=Xe({"node_modules/es5-ext/number/to-integer.js"(Z,G){"use strict";var v=Zj(),x=Math.abs,S=Math.floor;G.exports=function(E){return isNaN(E)?0:(E=Number(E),E===0||!isFinite(E)?E:v(E)*S(x(E)))}}}),Kj=Xe({"node_modules/es5-ext/number/to-pos-integer.js"(Z,G){"use strict";var v=Yj(),x=Math.max;G.exports=function(S){return x(0,v(S))}}}),Jj=Xe({"node_modules/es5-ext/array/from/shim.js"(Z,G){"use strict";var v=x0().iterator,x=bx(),S=Hj(),E=Kj(),e=L1(),t=rm(),r=_0(),o=wx(),a=Array.isArray,n=Function.prototype.call,i={configurable:!0,enumerable:!0,writable:!0,value:null},s=Object.defineProperty;G.exports=function(h){var c=arguments[1],m=arguments[2],p,T,l,_,w,A,M,g,b,d;if(h=Object(t(h)),r(c)&&e(c),!this||this===Array||!S(this)){if(!c){if(x(h))return w=h.length,w!==1?Array.apply(null,h):(_=new Array(1),_[0]=h[0],_);if(a(h)){for(_=new Array(w=h.length),T=0;T<w;++T)_[T]=h[T];return _}}_=[]}else p=this;if(!a(h)){if((b=h[v])!==void 0){for(M=e(b).call(h),p&&(_=new p),g=M.next(),T=0;!g.done;)d=c?n.call(c,m,g.value,T):g.value,p?(i.value=d,s(_,T,i)):_[T]=d,g=M.next(),++T;w=T}else if(o(h)){for(w=h.length,p&&(_=new p),T=0,l=0;T<w;++T)d=h[T],T+1<w&&(A=d.charCodeAt(0),A>=55296&&A<=56319&&(d+=h[++T])),d=c?n.call(c,m,d,l):d,p?(i.value=d,s(_,l,i)):_[l]=d,++l;w=l}}if(w===void 0)for(w=E(h.length),p&&(_=new p(w)),T=0;T<w;++T)d=c?n.call(c,m,h[T],T):h[T],p?(i.value=d,s(_,T,i)):_[T]=d;return p&&(i.value=null,_.length=w),_}}}),$j=Xe({"node_modules/es5-ext/array/from/index.js"(Z,G){"use strict";G.exports=Gj()()?Array.from:Jj()}}),Qj=Xe({"node_modules/es5-ext/object/copy.js"(Z,G){"use strict";var v=$j(),x=_T(),S=rm();G.exports=function(E){var e=Object(S(E)),t=arguments[1],r=Object(arguments[2]);if(e!==E&&!t)return e;var o={};return t?v(t,function(a){(r.ensure||a in E)&&(o[a]=E[a])}):x(o,E),o}}}),eq=Xe({"node_modules/es5-ext/object/_iterate.js"(Z,G){"use strict";var v=L1(),x=rm(),S=Function.prototype.bind,E=Function.prototype.call,e=Object.keys,t=Object.prototype.propertyIsEnumerable;G.exports=function(r,o){return function(a,n){var i,s=arguments[2],h=arguments[3];return a=Object(x(a)),v(n),i=e(a),h&&i.sort(typeof h=="function"?S.call(h,a):void 0),typeof r!="function"&&(r=i[r]),E.call(r,i,function(c,m){return t.call(a,c)?E.call(n,s,a[c],c,a,m):o})}}}}),tq=Xe({"node_modules/es5-ext/object/for-each.js"(Z,G){"use strict";G.exports=eq()("forEach")}}),rq=Xe({"node_modules/es5-ext/object/map.js"(Z,G){"use strict";var v=L1(),x=tq(),S=Function.prototype.call;G.exports=function(E,e){var t={},r=arguments[2];return v(e),x(E,function(o,a,n,i){t[a]=S.call(e,r,o,a,n,i)}),t}}}),aq=Xe({"node_modules/d/auto-bind.js"(Z,G){"use strict";var v=_g(),x=qj(),S=Vj(),E=Qj(),e=KE(),t=rq(),r=Function.prototype.bind,o=Object.defineProperty,a=Object.prototype.hasOwnProperty,n;n=function(i,s,h){var c=x(s)&&S(s.value),m;return m=E(s),delete m.writable,delete m.value,m.get=function(){return!h.overwriteDefinition&&a.call(this,i)?c:(s.value=r.call(c,h.resolveContext?h.resolveContext(this):this),o(this,i,s),this[i])},m},G.exports=function(i){var s=e(arguments[1]);return v(s.resolveContext)&&S(s.resolveContext),t(i,function(h,c){return n(c,h,s)})}}}),e6=Xe({"node_modules/es6-iterator/index.js"(Z,G){"use strict";var v=Bj(),x=_T(),S=L1(),E=rm(),e=am(),t=aq(),r=x0(),o=Object.defineProperty,a=Object.defineProperties,n;G.exports=n=function(i,s){if(!(this instanceof n))throw new TypeError("Constructor requires 'new'");a(this,{__list__:e("w",E(i)),__context__:e("w",s),__nextIndex__:e("w",0)}),s&&(S(s.on),s.on("_add",this._onAdd),s.on("_delete",this._onDelete),s.on("_clear",this._onClear))},delete n.prototype.constructor,a(n.prototype,x({_next:e(function(){var i;if(this.__list__){if(this.__redo__&&(i=this.__redo__.shift(),i!==void 0))return i;if(this.__nextIndex__<this.__list__.length)return this.__nextIndex__++;this._unBind()}}),next:e(function(){return this._createResult(this._next())}),_createResult:e(function(i){return i===void 0?{done:!0,value:void 0}:{done:!1,value:this._resolve(i)}}),_resolve:e(function(i){return this.__list__[i]}),_unBind:e(function(){this.__list__=null,delete this.__redo__,this.__context__&&(this.__context__.off("_add",this._onAdd),this.__context__.off("_delete",this._onDelete),this.__context__.off("_clear",this._onClear),this.__context__=null)}),toString:e(function(){return"[object "+(this[r.toStringTag]||"Object")+"]"})},t({_onAdd:e(function(i){if(!(i>=this.__nextIndex__)){if(++this.__nextIndex__,!this.__redo__){o(this,"__redo__",e("c",[i]));return}this.__redo__.forEach(function(s,h){s>=i&&(this.__redo__[h]=++s)},this),this.__redo__.push(i)}}),_onDelete:e(function(i){var s;i>=this.__nextIndex__||(--this.__nextIndex__,this.__redo__&&(s=this.__redo__.indexOf(i),s!==-1&&this.__redo__.splice(s,1),this.__redo__.forEach(function(h,c){h>i&&(this.__redo__[c]=--h)},this)))}),_onClear:e(function(){this.__redo__&&v.call(this.__redo__),this.__nextIndex__=0})}))),o(n.prototype,r.iterator,e(function(){return this}))}}),iq=Xe({"node_modules/es6-iterator/array.js"(Z,G){"use strict";var v=gT(),x=JE(),S=am(),E=x0(),e=e6(),t=Object.defineProperty,r;r=G.exports=function(o,a){if(!(this instanceof r))throw new TypeError("Constructor requires 'new'");e.call(this,o),a?x.call(a,"key+value")?a="key+value":x.call(a,"key")?a="key":a="value":a="value",t(this,"__kind__",S("",a))},v&&v(r,e),delete r.prototype.constructor,r.prototype=Object.create(e.prototype,{_resolve:S(function(o){return this.__kind__==="value"?this.__list__[o]:this.__kind__==="key+value"?[o,this.__list__[o]]:o})}),t(r.prototype,E.toStringTag,S("c","Array Iterator"))}}),nq=Xe({"node_modules/es6-iterator/string.js"(Z,G){"use strict";var v=gT(),x=am(),S=x0(),E=e6(),e=Object.defineProperty,t;t=G.exports=function(r){if(!(this instanceof t))throw new TypeError("Constructor requires 'new'");r=String(r),E.call(this,r),e(this,"__length__",x("",r.length))},v&&v(t,E),delete t.prototype.constructor,t.prototype=Object.create(E.prototype,{_next:x(function(){if(this.__list__){if(this.__nextIndex__<this.__length__)return this.__nextIndex__++;this._unBind()}}),_resolve:x(function(r){var o=this.__list__[r],a;return this.__nextIndex__===this.__length__?o:(a=o.charCodeAt(0),a>=55296&&a<=56319?o+this.__list__[this.__nextIndex__++]:o)})}),e(t.prototype,S.toStringTag,x("c","String Iterator"))}}),oq=Xe({"node_modules/es6-iterator/is-iterable.js"(Z,G){"use strict";var v=bx(),x=_0(),S=wx(),E=x0().iterator,e=Array.isArray;G.exports=function(t){return x(t)?e(t)||S(t)||v(t)?!0:typeof t[E]=="function":!1}}}),sq=Xe({"node_modules/es6-iterator/valid-iterable.js"(Z,G){"use strict";var v=oq();G.exports=function(x){if(!v(x))throw new TypeError(x+" is not iterable");return x}}}),t6=Xe({"node_modules/es6-iterator/get.js"(Z,G){"use strict";var v=bx(),x=wx(),S=iq(),E=nq(),e=sq(),t=x0().iterator;G.exports=function(r){return typeof e(r)[t]=="function"?r[t]():v(r)?new S(r):x(r)?new E(r):new S(r)}}}),lq=Xe({"node_modules/es6-iterator/for-of.js"(Z,G){"use strict";var v=bx(),x=L1(),S=wx(),E=t6(),e=Array.isArray,t=Function.prototype.call,r=Array.prototype.some;G.exports=function(o,a){var n,i=arguments[2],s,h,c,m,p,T,l;if(e(o)||v(o)?n="array":S(o)?n="string":o=E(o),x(a),h=function(){c=!0},n==="array"){r.call(o,function(_){return t.call(a,i,_,h),c});return}if(n==="string"){for(p=o.length,m=0;m<p&&(T=o[m],m+1<p&&(l=T.charCodeAt(0),l>=55296&&l<=56319&&(T+=o[++m])),t.call(a,i,T,h),!c);++m);return}for(s=o.next();!s.done;){if(t.call(a,i,s.value,h),c)return;s=o.next()}}}}),uq=Xe({"node_modules/es6-weak-map/is-native-implemented.js"(Z,G){"use strict";G.exports=function(){return typeof WeakMap!="function"?!1:Object.prototype.toString.call(new WeakMap)==="[object WeakMap]"}()}}),cq=Xe({"node_modules/es6-weak-map/polyfill.js"(Z,G){"use strict";var v=_0(),x=gT(),S=_j(),E=rm(),e=xj(),t=am(),r=t6(),o=lq(),a=x0().toStringTag,n=uq(),i=Array.isArray,s=Object.defineProperty,h=Object.prototype.hasOwnProperty,c=Object.getPrototypeOf,m;G.exports=m=function(){var p=arguments[0],T;if(!(this instanceof m))throw new TypeError("Constructor requires 'new'");return T=n&&x&&WeakMap!==m?x(new WeakMap,c(this)):this,v(p)&&(i(p)||(p=r(p))),s(T,"__weakMapData__",t("c","$weakMap$"+e())),p&&o(p,function(l){E(l),T.set(l[0],l[1])}),T},n&&(x&&x(m,WeakMap),m.prototype=Object.create(WeakMap.prototype,{constructor:t(m)})),Object.defineProperties(m.prototype,{delete:t(function(p){return h.call(S(p),this.__weakMapData__)?(delete p[this.__weakMapData__],!0):!1}),get:t(function(p){if(h.call(S(p),this.__weakMapData__))return p[this.__weakMapData__]}),has:t(function(p){return h.call(S(p),this.__weakMapData__)}),set:t(function(p,T){return s(S(p),this.__weakMapData__,t("c",T)),this}),toString:t(function(){return"[object WeakMap]"})}),s(m.prototype,a,t("c","WeakMap"))}}),r6=Xe({"node_modules/es6-weak-map/index.js"(Z,G){"use strict";G.exports=mj()()?WeakMap:cq()}}),fq=Xe({"node_modules/array-find-index/index.js"(Z,G){"use strict";G.exports=function(v,x,S){if(typeof Array.prototype.findIndex=="function")return v.findIndex(x,S);if(typeof x!="function")throw new TypeError("predicate must be a function");var E=Object(v),e=E.length;if(e===0)return-1;for(var t=0;t<e;t++)if(x.call(S,E[t],t,E))return t;return-1}}}),a6=Xe({"node_modules/regl-line2d/index.js"(Z,G){"use strict";var v=d0(),x=mg(),S=ch(),E=Ev(),e=gg(),t=dj(),r=vj(),{float32:o,fract32:a}=mT(),n=r6(),i=C1(),s=fq(),h=`
2198precision highp float;
2199
2200attribute vec2 aCoord, bCoord, aCoordFract, bCoordFract;

Callers

nothing calls this directly

Calls 8

wxFunction · 0.85
nqFunction · 0.85
sqFunction · 0.85
iqFunction · 0.70
eFunction · 0.70
vFunction · 0.70
xFunction · 0.70
x0Function · 0.50

Tested by

no test coverage detected