reacthub-pixitweenjs 0.2.107-alpha.58 → 0.2.107-alpha.59
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/dist/index.es.js +3 -3
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -931,7 +931,7 @@ J.registerEffect({
|
|
|
931
931
|
});
|
|
932
932
|
function SC() {
|
|
933
933
|
return { updateEffect: kt(
|
|
934
|
-
(e, r, n) => (console.log("useGsapEffect useEffect", r, n), J.effects[r] && e
|
|
934
|
+
(e, r, n) => (console.log("useGsapEffect useEffect", r, n), J.effects[r] && e ? J.effects[r](e, n) : J.effects.NONE(e, n)),
|
|
935
935
|
[]
|
|
936
936
|
) };
|
|
937
937
|
}
|
|
@@ -977,7 +977,7 @@ const AC = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0], mn = te
|
|
|
977
977
|
h.current && n(!0);
|
|
978
978
|
}, []), te.useEffect(() => {
|
|
979
979
|
if (g.current) {
|
|
980
|
-
const xe = W.updateEffect(h, D, {
|
|
980
|
+
const xe = W.updateEffect(h.current, D, {
|
|
981
981
|
x,
|
|
982
982
|
y: E,
|
|
983
983
|
width: w,
|
|
@@ -1004,7 +1004,7 @@ const AC = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0], mn = te
|
|
|
1004
1004
|
return () => {
|
|
1005
1005
|
g.current && d.current && (g.current.remove(d.current), d.current.progress(0).kill());
|
|
1006
1006
|
};
|
|
1007
|
-
}, [h
|
|
1007
|
+
}, [h, b, x, E, D, w, I]);
|
|
1008
1008
|
const j = te.useCallback(() => {
|
|
1009
1009
|
l(!0), G && G();
|
|
1010
1010
|
}, []), le = te.useCallback(() => {
|
package/dist/index.umd.js
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
* Subject to the terms at https://greensock.com/standard-license or for
|
|
23
23
|
* Club GreenSock members, the agreement issued with that membership.
|
|
24
24
|
* @author: Jack Doyle, jack@greensock.com
|
|
25
|
-
*/var Ut,Xh,Wh=function(){return Ut||typeof window<"u"&&(Ut=window.gsap)&&Ut.registerPlugin&&Ut},qh=function(){Ut=Wh(),Ut?(Ut.registerEase("_CE",ts.create),Xh=1):console.warn("Please gsap.registerPlugin(CustomEase)")},Lx=1e20,Ys=function(e){return~~(e*1e3+(e<0?-.5:.5))/1e3},kx=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,Bx=/[cLlsSaAhHvVtTqQ]/g,Dx=function(e){var r=e.length,n=Lx,i;for(i=1;i<r;i+=6)+e[i]<n&&(n=+e[i]);return n},Ux=function(e,r,n){!n&&n!==0&&(n=Math.max(+e[e.length-1],+e[1]));var i=+e[0]*-1,a=-n,u=e.length,l=1/(+e[u-2]+i),h=-r||(Math.abs(+e[u-1]-+e[1])<.01*(+e[u-2]-+e[0])?Dx(e)+a:+e[u-1]+a),p;for(h?h=1/h:h=-l,p=0;p<u;p+=2)e[p]=(+e[p]+i)*l,e[p+1]=(+e[p+1]+a)*h},$x=function t(e,r,n,i,a,u,l,h,p,m,c){var d=(e+n)/2,g=(r+i)/2,_=(n+a)/2,y=(i+u)/2,b=(a+l)/2,x=(u+h)/2,E=(d+_)/2,w=(g+y)/2,I=(_+b)/2,O=(y+x)/2,F=(E+I)/2,N=(w+O)/2,L=l-e,B=h-r,V=Math.abs((n-l)*B-(i-h)*L),K=Math.abs((a-l)*B-(u-h)*L),ae;return m||(m=[{x:e,y:r},{x:l,y:h}],c=1),m.splice(c||m.length-1,0,{x:F,y:N}),(V+K)*(V+K)>p*(L*L+B*B)&&(ae=m.length,t(e,r,d,g,E,w,F,N,p,m,c),t(F,N,I,O,b,x,l,h,p,m,c+1+(m.length-ae))),m},ts=function(){function t(r,n,i){Xh||qh(),this.id=r,this.setData(n,i)}var e=t.prototype;return e.setData=function(n,i){i=i||{},n=n||"0,0,1,1";var a=n.match(kx),u=1,l=[],h=[],p=i.precision||1,m=p<=1,c,d,g,_,y,b,x,E,w;if(this.data=n,(Bx.test(n)||~n.indexOf("M")&&n.indexOf("C")<0)&&(a=Fx(n)[0]),c=a.length,c===4)a.unshift(0,0),a.push(1,1),c=8;else if((c-2)%6)throw"Invalid CustomEase";for((+a[0]!=0||+a[c-2]!=1)&&Ux(a,i.height,i.originY),this.segment=a,_=2;_<c;_+=6)d={x:+a[_-2],y:+a[_-1]},g={x:+a[_+4],y:+a[_+5]},l.push(d,g),$x(d.x,d.y,+a[_],+a[_+1],+a[_+2],+a[_+3],g.x,g.y,1/(p*2e5),l,l.length-1);for(c=l.length,_=0;_<c;_++)x=l[_],E=l[_-1]||x,(x.x>E.x||E.y!==x.y&&E.x===x.x||x===E)&&x.x<=1?(E.cx=x.x-E.x,E.cy=x.y-E.y,E.n=x,E.nx=x.x,m&&_>1&&Math.abs(E.cy/E.cx-l[_-2].cy/l[_-2].cx)>2&&(m=0),E.cx<u&&(E.cx?u=E.cx:(E.cx=.001,_===c-1&&(E.x-=.001,u=Math.min(u,.001),m=0)))):(l.splice(_--,1),c--);if(c=1/u+1|0,y=1/c,b=0,x=l[0],m){for(_=0;_<c;_++)w=_*y,x.nx<w&&(x=l[++b]),d=x.y+(w-x.x)/x.cx*x.cy,h[_]={x:w,cx:y,y:d,cy:0,nx:9},_&&(h[_-1].cy=d-h[_-1].y);h[c-1].cy=l[l.length-1].y-d}else{for(_=0;_<c;_++)x.nx<_*y&&(x=l[++b]),h[_]=x;b<l.length-1&&(h[_-1]=l[l.length-2])}return this.ease=function(I){var O=h[I*c|0]||h[c-1];return O.nx<I&&(O=O.n),O.y+(I-O.x)/O.cx*O.cy},this.ease.custom=this,this.id&&Ut&&Ut.registerEase(this.id,this.ease),this},e.getSVGData=function(n){return t.getSVGData(this,n)},t.create=function(n,i,a){return new t(n,i,a).ease},t.register=function(n){Ut=n,qh()},t.get=function(n){return Ut.parseEase(n)},t.getSVGData=function(n,i){i=i||{};var a=i.width||100,u=i.height||100,l=i.x||0,h=(i.y||0)+u,p=Ut.utils.toArray(i.path)[0],m,c,d,g,_,y,b,x,E,w;if(i.invert&&(u=-u,h=0),typeof n=="string"&&(n=Ut.parseEase(n)),n.custom&&(n=n.custom),n instanceof t)m=Nx(Mx([n.segment],a,0,0,-u,l,h));else{for(m=[l,h],b=Math.max(5,(i.precision||1)*200),g=1/b,b+=2,x=5/b,E=Ys(l+g*a),w=Ys(h+n(g)*-u),c=(w-h)/(E-l),d=2;d<b;d++)_=Ys(l+d*g*a),y=Ys(h+n(d*g)*-u),(Math.abs((y-w)/(_-E)-c)>x||d===b-1)&&(m.push(E,w),c=(y-w)/(_-E)),E=_,w=y;m="M"+m.join(",")}return p&&p.setAttribute("d",m),m},t}();Wh()&&Ut.registerPlugin(ts),ts.version="3.11.5",ee.registerPlugin(ts),ts.create("springBounce","0.32, 1.06, 0.61, 0.93"),ee.registerEffect({name:"PULSE",effect(t,e){return ee.timeline().fromTo(t,{width:(e==null?void 0:e.width)*.9,height:(e==null?void 0:e.height)*.9},{width:(e==null?void 0:e.width)*1.1,height:(e==null?void 0:e.height)*1.1,duration:.5,ease:"slow"}).to(t,{...e,duration:.5})}}),ee.registerEffect({name:"SHAKE",effect(t,e){return ee.timeline().to(t,{duration:.1,x:"+=5"}).to(t,{duration:.1,x:"-=10"}).to(t,{duration:.1,x:"+=10"}).to(t,{duration:.1,x:"-=10"}).to(t,{duration:.1,x:"+=5"}).to(t,{...e,duration:.5})}}),ee.registerEffect({name:"SWING",effect(t,e){return ee.timeline().to(t,{duration:.5,rotation:1}).to(t,{duration:.5,rotation:-1}).to(t,{rotation:0,...e,duration:.5})}}),ee.registerEffect({name:"JELLO",effect(t,e){return ee.timeline().to(t,{duration:.3,width:e.width*.5,rotation:-1}).to(t,{duration:.4,width:e.width*1.2,rotation:1}).to(t,{duration:.3,width:e.width,rotation:0}).to(t,{rotation:0,...e,duration:.5})}}),ee.registerEffect({name:"WOOBLE",effect(t,e){return ee.timeline().to(t,{duration:.3,width:e.width*.5,x:e.x*-.5}).to(t,{duration:.3,width:e.width*1.5,x:e.x*1.5}).to(t,{duration:.3,width:e.width*.5,x:e.x*-.01}).to(t,{duration:.3,width:e.width,x:e.x}).to(t,{rotation:0,...e,duration:.5})}}),ee.registerEffect({name:"NONE",effect(t,e){return ee.to(t,{duration:0})}}),ee.registerEffect({name:"FLASH",effect(t,e){return ee.timeline().to(t,{duration:.2,alpha:0}).to(t,{duration:.2,alpha:1}).to(t,{duration:.2,alpha:0}).to(t,{duration:.2,alpha:1}).to(t,{duration:.2,alpha:0}).to(t,{duration:.2,alpha:1,...e})}}),ee.registerEffect({name:"BOUNCE_IN",effect(t,e){return ee.from(t,{...e,duration:2,width:(e==null?void 0:e.width)*1.5,height:(e==null?void 0:e.height)*1.5,ease:"bounce.out"})}}),ee.registerEffect({name:"BOUNCE_IN_DOWN",effect(t,e){return ee.from(t,{...e,duration:2,ease:"bounce.out",y:-1500,alpha:0})}}),ee.registerEffect({name:"BOUNCE_IN_LEFT",effect(t,e){return ee.from(t,{...e,ease:"bounce.out",x:-1500,duration:2,alpha:0})}}),ee.registerEffect({name:"BOUNCE_IN_RIGHT",effect(t,e){return ee.from(t,{...e,ease:"bounce.out",x:1500,duration:2})}}),ee.registerEffect({name:"BOUNCE_IN_UP",effect(t,e){return ee.from(t,{...e,ease:"bounce.out",y:1500,duration:2})}}),ee.registerEffect({name:"BOUNCE_OUT",effect(t,e){return ee.from(t,{...e,ease:"bounce.in",y:2e3,duration:1.5})}}),ee.registerEffect({name:"FADE_IN",effect(t,e){return ee.fromTo(t,{alpha:0},{ease:"power4.in",alpha:1,duration:1,...e})}}),ee.registerEffect({name:"FADE_IN_DOWN",effect(t,e){return ee.fromTo(t,{y:-1e3,alpha:0},{ease:"power4.in",y:0,alpha:1,duration:1,...e})}}),ee.registerEffect({name:"FADE_IN_LEFT",effect(t,e){return ee.fromTo(t,{x:-1e3,alpha:0},{ease:"power4.in",x:0,alpha:1,duration:1,...e})}}),ee.registerEffect({name:"FADE_IN_RIGHT",effect(t,e){return ee.fromTo(t,{x:2e3,alpha:0},{ease:"power4.in",x:0,alpha:1,duration:1,...e})}}),ee.registerEffect({name:"FADE_IN_UP",effect(t,e){return ee.fromTo(t,{y:2e3,alpha:0},{ease:"power4.in",y:0,alpha:1,duration:.8,...e})}}),ee.registerEffect({name:"SPIN",effect(t){return ee.to(t,{rotation:(e,r)=>ee.utils.snap(360,Number(ee.getProperty(r,"rotation"))+360)})}});function Gx(){return{updateEffect:W.useCallback((e,r,n)=>(console.log("useGsapEffect useEffect",r,n),ee.effects[r]&&e.current?ee.effects[r](e.current,n):ee.effects.NONE(e.current,n)),[])}}var uu=(t=>(t.NONE="NONE",t.FLASH="FLASH",t.PULSE="PULSE",t.SHAKE="SHAKE",t.SWING="SWING",t.JELLO="JELLO",t.WOOBLE="WOOBLE",t.FADE_IN="FADE_IN",t.FADE_OUT="FADE_OUT",t.FADE_IN_OUT="FADE_IN_OUT",t.SLIDE_IN_LEFT="SLIDE_IN_LEFT",t.SLIDE_IN_RIGHT="SLIDE_IN_RIGHT",t.SLIDE_IN_TOP="SLIDE_IN_TOP",t.SLIDE_IN_BOTTOM="SLIDE_IN_BOTTOM",t.SLIDE_OUT_LEFT="SLIDE_OUT_LEFT",t.SLIDE_OUT_RIGHT="SLIDE_OUT_RIGHT",t.SLIDE_OUT_TOP="SLIDE_OUT_TOP",t.SLIDE_OUT_BOTTOM="SLIDE_OUT_BOTTOM",t.ZOOM_IN="ZOOM_IN",t.ZOOM_OUT="ZOOM_OUT",t.ZOOM_IN_OUT="ZOOM_IN_OUT",t.BOUNCE_IN="BOUNCE_IN",t.BOUNCE_OUT="BOUNCE_OUT",t.BOUNCE_IN_OUT="BOUNCE_IN_OUT",t.BOUNCE_IN_DOWN="BOUNCE_IN_DOWN",t.BOUNCE_IN_LEFT="BOUNCE_IN_LEFT",t.BOUNCE_IN_RIGHT="BOUNCE_IN_RIGHT",t.BOUNCE_IN_UP="BOUNCE_IN_UP",t.BOUNCE_OUT_DOWN="BOUNCE_OUT_DOWN",t.BOUNCE_OUT_LEFT="BOUNCE_OUT_LEFT",t.BOUNCE_OUT_RIGHT="BOUNCE_OUT_RIGHT",t.BOUNCE_OUT_UP="BOUNCE_OUT_UP",t.FADE_IN_DOWN="FADE_IN_DOWN",t.FADE_IN_LEFT="FADE_IN_LEFT",t.FADE_IN_RIGHT="FADE_IN_RIGHT",t.FADE_IN_UP="FADE_IN_UP",t.FADE_OUT_DOWN="FADE_OUT_DOWN",t.FADE_OUT_LEFT="FADE_OUT_LEFT",t.FADE_OUT_RIGHT="FADE_OUT_RIGHT",t.FADE_OUT_UP="FADE_OUT_UP",t.ELASTIC_IN="ELASTIC_IN",t.ELASTIC_OUT="ELASTIC_OUT",t.ELASTIC_IN_OUT="ELASTIC_IN_OUT",t.BACK_IN="BACK_IN",t.BACK_OUT="BACK_OUT",t.BACK_IN_OUT="BACK_IN_OUT",t.CIRCULAR_IN="CIRCULAR_IN",t.CIRCULAR_OUT="CIRCULAR_OUT",t.CIRCULAR_IN_OUT="CIRCULAR_IN_OUT",t.EXPO_IN="EXPO_IN",t.EXPO_OUT="EXPO_OUT",t.EXPO_IN_OUT="EXPO_IN_OUT",t.SINE_IN="SINE_IN",t.SINE_OUT="SINE_OUT",t.SINE_IN_OUT="SINE_IN_OUT",t.BOUNCE="BOUNCE",t.ELASTIC="ELASTIC",t.BACK="BACK",t.CIRCULAR="CIRCULAR",t.EXPO="EXPO",t.SINE="SINE",t))(uu||{});const Hx=[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0],rn=te.forwardRef((t,e)=>{var be,Se;const[r,n]=te.useState(!1),[i,a]=W.useState(!1),[u,l]=W.useState(!1),h=W.useRef(null),p=W.useRef(null),m=W.useRef(null),c=W.useRef(null),d=W.useRef(null),{tl:g}=W.useContext(en),{uniqueId:_,visible:y,startAt:b,transformation:{x,y:E,width:w,height:I,scale:O=[1,1],rotation:F=0,effect:N,overlay:L,animation:B=uu.NONE},applyTransformer:V,disabled:K,pointerdown:ae,pointerout:j,pointerover:G,isText:se,isDragging:ie,isGif:H,onDoubleClick:J,isTextEditMode:pe}=t,X=Gx();ht(Ke.COMPLETE,()=>{h.current}),te.useImperativeHandle(e,()=>({getIsTransformerDragging:()=>i,getIsMouseOverTransformer:()=>u}),[i,u]),te.useEffect(()=>{h.current&&n(!0)},[]),te.useEffect(()=>{if(g.current){const xe=X.updateEffect(h,B,{x,y:E,width:w,height:I,onUpdate:()=>{var je,ve;console.log("current image ref location",(je=h.current)==null?void 0:je.x,(ve=h.current)==null?void 0:ve.y)}}),Ge=g.current.progress();console.log("all times duration",g.current.duration(),g.current.progress()),d.current&&(g.current.remove(d.current),console.log("killing timeline"),d.current.progress(0).kill()),console.log("startAt Anim",b),g.current.add(xe,b),g.current.progress(0),g.current.progress(Ge),d.current=xe,console.log("all times duration 22",g.current.duration(),g.current.progress())}return()=>{g.current&&d.current&&(g.current.remove(d.current),d.current.progress(0).kill())}},[h.current,b,x,E,B,w,I]);const q=te.useCallback(()=>{l(!0),G&&G()},[]),ce=te.useCallback(()=>{a(!0)},[]),fe=te.useCallback(xe=>{t.onAnchorTransformationEnd&&t.onAnchorTransformationEnd(xe),a(!1)},[]),ge=De.withFilters(De.Container,{matrix:jt.filters.ColorMatrixFilter});return console.log("render=> imageRef location",(be=h.current)==null?void 0:be.x,(Se=h.current)==null?void 0:Se.y),Ee.jsxs(De.Container,{ref:p,children:[Ee.jsxs(De.Container,{ref:h,position:[x,E],pivot:[x,E],width:w,height:I,scale:O,rotation:F,...!K&&y&&!i&&!ie&&{interactive:!0,buttonMode:!0,pointerdown:ae,pointerover:G,pointerout:j},children:[!H&&Ee.jsx(ge,{scale:1,apply:({matrix:xe})=>{N===bn.BlackAndWhite?xe.desaturate():N===bn.Sepia?xe.sepia():N===bn.RetroVintage||N===bn.NightVision?xe.negative():N===bn.Normal&&xe.reset()},matrix:{enabled:!0,matrix:Hx},children:Ee.jsx(De.Container,{ref:m,children:t.children})}),H&&Ee.jsx(De.Container,{ref:m,children:t.children}),!Qi(L)&&L!==ou.NONE&&L!==ou.NORMAL&&Ee.jsx(Ex,{overlay:L,width:w,height:I,x,y:E})]}),V&&y&&!pe&&Ee.jsx(Pv,{pixiTransformerRef:c,imageRef:h,isMounted:r,transformCommit:fe,transformChange:ce,mouseoverEvent:q,uniqueId:_,isText:se,onDoubleClick:J})]})});rn.whyDidYouRender={logOnDifferentValues:!0,customName:"AbstractContainer"};var wn=(t=>(t[t.WEBGL_LEGACY=0]="WEBGL_LEGACY",t[t.WEBGL=1]="WEBGL",t[t.WEBGL2=2]="WEBGL2",t))(wn||{}),Yh=(t=>(t[t.UNKNOWN=0]="UNKNOWN",t[t.WEBGL=1]="WEBGL",t[t.CANVAS=2]="CANVAS",t))(Yh||{}),lu=(t=>(t[t.COLOR=16384]="COLOR",t[t.DEPTH=256]="DEPTH",t[t.STENCIL=1024]="STENCIL",t))(lu||{}),de=(t=>(t[t.NORMAL=0]="NORMAL",t[t.ADD=1]="ADD",t[t.MULTIPLY=2]="MULTIPLY",t[t.SCREEN=3]="SCREEN",t[t.OVERLAY=4]="OVERLAY",t[t.DARKEN=5]="DARKEN",t[t.LIGHTEN=6]="LIGHTEN",t[t.COLOR_DODGE=7]="COLOR_DODGE",t[t.COLOR_BURN=8]="COLOR_BURN",t[t.HARD_LIGHT=9]="HARD_LIGHT",t[t.SOFT_LIGHT=10]="SOFT_LIGHT",t[t.DIFFERENCE=11]="DIFFERENCE",t[t.EXCLUSION=12]="EXCLUSION",t[t.HUE=13]="HUE",t[t.SATURATION=14]="SATURATION",t[t.COLOR=15]="COLOR",t[t.LUMINOSITY=16]="LUMINOSITY",t[t.NORMAL_NPM=17]="NORMAL_NPM",t[t.ADD_NPM=18]="ADD_NPM",t[t.SCREEN_NPM=19]="SCREEN_NPM",t[t.NONE=20]="NONE",t[t.SRC_OVER=0]="SRC_OVER",t[t.SRC_IN=21]="SRC_IN",t[t.SRC_OUT=22]="SRC_OUT",t[t.SRC_ATOP=23]="SRC_ATOP",t[t.DST_OVER=24]="DST_OVER",t[t.DST_IN=25]="DST_IN",t[t.DST_OUT=26]="DST_OUT",t[t.DST_ATOP=27]="DST_ATOP",t[t.ERASE=26]="ERASE",t[t.SUBTRACT=28]="SUBTRACT",t[t.XOR=29]="XOR",t))(de||{}),nn=(t=>(t[t.POINTS=0]="POINTS",t[t.LINES=1]="LINES",t[t.LINE_LOOP=2]="LINE_LOOP",t[t.LINE_STRIP=3]="LINE_STRIP",t[t.TRIANGLES=4]="TRIANGLES",t[t.TRIANGLE_STRIP=5]="TRIANGLE_STRIP",t[t.TRIANGLE_FAN=6]="TRIANGLE_FAN",t))(nn||{}),Z=(t=>(t[t.RGBA=6408]="RGBA",t[t.RGB=6407]="RGB",t[t.RG=33319]="RG",t[t.RED=6403]="RED",t[t.RGBA_INTEGER=36249]="RGBA_INTEGER",t[t.RGB_INTEGER=36248]="RGB_INTEGER",t[t.RG_INTEGER=33320]="RG_INTEGER",t[t.RED_INTEGER=36244]="RED_INTEGER",t[t.ALPHA=6406]="ALPHA",t[t.LUMINANCE=6409]="LUMINANCE",t[t.LUMINANCE_ALPHA=6410]="LUMINANCE_ALPHA",t[t.DEPTH_COMPONENT=6402]="DEPTH_COMPONENT",t[t.DEPTH_STENCIL=34041]="DEPTH_STENCIL",t))(Z||{}),ti=(t=>(t[t.TEXTURE_2D=3553]="TEXTURE_2D",t[t.TEXTURE_CUBE_MAP=34067]="TEXTURE_CUBE_MAP",t[t.TEXTURE_2D_ARRAY=35866]="TEXTURE_2D_ARRAY",t[t.TEXTURE_CUBE_MAP_POSITIVE_X=34069]="TEXTURE_CUBE_MAP_POSITIVE_X",t[t.TEXTURE_CUBE_MAP_NEGATIVE_X=34070]="TEXTURE_CUBE_MAP_NEGATIVE_X",t[t.TEXTURE_CUBE_MAP_POSITIVE_Y=34071]="TEXTURE_CUBE_MAP_POSITIVE_Y",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Y=34072]="TEXTURE_CUBE_MAP_NEGATIVE_Y",t[t.TEXTURE_CUBE_MAP_POSITIVE_Z=34073]="TEXTURE_CUBE_MAP_POSITIVE_Z",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Z=34074]="TEXTURE_CUBE_MAP_NEGATIVE_Z",t))(ti||{}),Ue=(t=>(t[t.UNSIGNED_BYTE=5121]="UNSIGNED_BYTE",t[t.UNSIGNED_SHORT=5123]="UNSIGNED_SHORT",t[t.UNSIGNED_SHORT_5_6_5=33635]="UNSIGNED_SHORT_5_6_5",t[t.UNSIGNED_SHORT_4_4_4_4=32819]="UNSIGNED_SHORT_4_4_4_4",t[t.UNSIGNED_SHORT_5_5_5_1=32820]="UNSIGNED_SHORT_5_5_5_1",t[t.UNSIGNED_INT=5125]="UNSIGNED_INT",t[t.UNSIGNED_INT_10F_11F_11F_REV=35899]="UNSIGNED_INT_10F_11F_11F_REV",t[t.UNSIGNED_INT_2_10_10_10_REV=33640]="UNSIGNED_INT_2_10_10_10_REV",t[t.UNSIGNED_INT_24_8=34042]="UNSIGNED_INT_24_8",t[t.UNSIGNED_INT_5_9_9_9_REV=35902]="UNSIGNED_INT_5_9_9_9_REV",t[t.BYTE=5120]="BYTE",t[t.SHORT=5122]="SHORT",t[t.INT=5124]="INT",t[t.FLOAT=5126]="FLOAT",t[t.FLOAT_32_UNSIGNED_INT_24_8_REV=36269]="FLOAT_32_UNSIGNED_INT_24_8_REV",t[t.HALF_FLOAT=36193]="HALF_FLOAT",t))(Ue||{}),cu=(t=>(t[t.FLOAT=0]="FLOAT",t[t.INT=1]="INT",t[t.UINT=2]="UINT",t))(cu||{}),Pr=(t=>(t[t.NEAREST=0]="NEAREST",t[t.LINEAR=1]="LINEAR",t))(Pr||{}),rs=(t=>(t[t.CLAMP=33071]="CLAMP",t[t.REPEAT=10497]="REPEAT",t[t.MIRRORED_REPEAT=33648]="MIRRORED_REPEAT",t))(rs||{}),Sn=(t=>(t[t.OFF=0]="OFF",t[t.POW2=1]="POW2",t[t.ON=2]="ON",t[t.ON_MANUAL=3]="ON_MANUAL",t))(Sn||{}),sn=(t=>(t[t.NPM=0]="NPM",t[t.UNPACK=1]="UNPACK",t[t.PMA=2]="PMA",t[t.NO_PREMULTIPLIED_ALPHA=0]="NO_PREMULTIPLIED_ALPHA",t[t.PREMULTIPLY_ON_UPLOAD=1]="PREMULTIPLY_ON_UPLOAD",t[t.PREMULTIPLIED_ALPHA=2]="PREMULTIPLIED_ALPHA",t))(sn||{}),An=(t=>(t[t.NO=0]="NO",t[t.YES=1]="YES",t[t.AUTO=2]="AUTO",t[t.BLEND=0]="BLEND",t[t.CLEAR=1]="CLEAR",t[t.BLIT=2]="BLIT",t))(An||{}),hu=(t=>(t[t.AUTO=0]="AUTO",t[t.MANUAL=1]="MANUAL",t))(hu||{}),tr=(t=>(t.LOW="lowp",t.MEDIUM="mediump",t.HIGH="highp",t))(tr||{}),_t=(t=>(t[t.NONE=0]="NONE",t[t.SCISSOR=1]="SCISSOR",t[t.STENCIL=2]="STENCIL",t[t.SPRITE=3]="SPRITE",t[t.COLOR=4]="COLOR",t))(_t||{}),vt=(t=>(t[t.NONE=0]="NONE",t[t.LOW=2]="LOW",t[t.MEDIUM=4]="MEDIUM",t[t.HIGH=8]="HIGH",t))(vt||{}),Mr=(t=>(t[t.ELEMENT_ARRAY_BUFFER=34963]="ELEMENT_ARRAY_BUFFER",t[t.ARRAY_BUFFER=34962]="ARRAY_BUFFER",t[t.UNIFORM_BUFFER=35345]="UNIFORM_BUFFER",t))(Mr||{});const Ie={ADAPTER:{createCanvas:(t,e)=>{const r=document.createElement("canvas");return r.width=t,r.height=e,r},getCanvasRenderingContext2D:()=>CanvasRenderingContext2D,getWebGLRenderingContext:()=>WebGLRenderingContext,getNavigator:()=>navigator,getBaseUrl:()=>document.baseURI??window.location.href,getFontFaceSet:()=>document.fonts,fetch:(t,e)=>fetch(t,e),parseXML:t=>new DOMParser().parseFromString(t,"text/xml")},RESOLUTION:1,CREATE_IMAGE_BITMAP:!1,ROUND_PIXELS:!1};var fu=/iPhone/i,Kh=/iPod/i,Zh=/iPad/i,Qh=/\biOS-universal(?:.+)Mac\b/i,du=/\bAndroid(?:.+)Mobile\b/i,Jh=/Android/i,ri=/(?:SD4930UR|\bSilk(?:.+)Mobile\b)/i,Ks=/Silk/i,Ur=/Windows Phone/i,ef=/\bWindows(?:.+)ARM\b/i,tf=/BlackBerry/i,rf=/BB10/i,nf=/Opera Mini/i,sf=/\b(CriOS|Chrome)(?:.+)Mobile/i,af=/Mobile(?:.+)Firefox\b/i,of=function(t){return typeof t<"u"&&t.platform==="MacIntel"&&typeof t.maxTouchPoints=="number"&&t.maxTouchPoints>1&&typeof MSStream>"u"};function zx(t){return function(e){return e.test(t)}}function uf(t){var e={userAgent:"",platform:"",maxTouchPoints:0};!t&&typeof navigator<"u"?e={userAgent:navigator.userAgent,platform:navigator.platform,maxTouchPoints:navigator.maxTouchPoints||0}:typeof t=="string"?e.userAgent=t:t&&t.userAgent&&(e={userAgent:t.userAgent,platform:t.platform,maxTouchPoints:t.maxTouchPoints||0});var r=e.userAgent,n=r.split("[FBAN");typeof n[1]<"u"&&(r=n[0]),n=r.split("Twitter"),typeof n[1]<"u"&&(r=n[0]);var i=zx(r),a={apple:{phone:i(fu)&&!i(Ur),ipod:i(Kh),tablet:!i(fu)&&(i(Zh)||of(e))&&!i(Ur),universal:i(Qh),device:(i(fu)||i(Kh)||i(Zh)||i(Qh)||of(e))&&!i(Ur)},amazon:{phone:i(ri),tablet:!i(ri)&&i(Ks),device:i(ri)||i(Ks)},android:{phone:!i(Ur)&&i(ri)||!i(Ur)&&i(du),tablet:!i(Ur)&&!i(ri)&&!i(du)&&(i(Ks)||i(Jh)),device:!i(Ur)&&(i(ri)||i(Ks)||i(du)||i(Jh))||i(/\bokhttp\b/i)},windows:{phone:i(Ur),tablet:i(ef),device:i(Ur)||i(ef)},other:{blackberry:i(tf),blackberry10:i(rf),opera:i(nf),firefox:i(af),chrome:i(sf),device:i(tf)||i(rf)||i(nf)||i(af)||i(sf)},any:!1,phone:!1,tablet:!1};return a.any=a.apple.device||a.android.device||a.windows.device||a.other.device,a.phone=a.apple.phone||a.android.phone||a.windows.phone,a.tablet=a.apple.tablet||a.android.tablet||a.windows.tablet,a}const ni=(uf.default??uf)(globalThis.navigator);Ie.RETINA_PREFIX=/@([0-9\.]+)x/,Ie.FAIL_IF_MAJOR_PERFORMANCE_CAVEAT=!1;var lf={exports:{}};(function(t){var e=Object.prototype.hasOwnProperty,r="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1));function i(h,p,m){this.fn=h,this.context=p,this.once=m||!1}function a(h,p,m,c,d){if(typeof m!="function")throw new TypeError("The listener must be a function");var g=new i(m,c||h,d),_=r?r+p:p;return h._events[_]?h._events[_].fn?h._events[_]=[h._events[_],g]:h._events[_].push(g):(h._events[_]=g,h._eventsCount++),h}function u(h,p){--h._eventsCount===0?h._events=new n:delete h._events[p]}function l(){this._events=new n,this._eventsCount=0}l.prototype.eventNames=function(){var p=[],m,c;if(this._eventsCount===0)return p;for(c in m=this._events)e.call(m,c)&&p.push(r?c.slice(1):c);return Object.getOwnPropertySymbols?p.concat(Object.getOwnPropertySymbols(m)):p},l.prototype.listeners=function(p){var m=r?r+p:p,c=this._events[m];if(!c)return[];if(c.fn)return[c.fn];for(var d=0,g=c.length,_=new Array(g);d<g;d++)_[d]=c[d].fn;return _},l.prototype.listenerCount=function(p){var m=r?r+p:p,c=this._events[m];return c?c.fn?1:c.length:0},l.prototype.emit=function(p,m,c,d,g,_){var y=r?r+p:p;if(!this._events[y])return!1;var b=this._events[y],x=arguments.length,E,w;if(b.fn){switch(b.once&&this.removeListener(p,b.fn,void 0,!0),x){case 1:return b.fn.call(b.context),!0;case 2:return b.fn.call(b.context,m),!0;case 3:return b.fn.call(b.context,m,c),!0;case 4:return b.fn.call(b.context,m,c,d),!0;case 5:return b.fn.call(b.context,m,c,d,g),!0;case 6:return b.fn.call(b.context,m,c,d,g,_),!0}for(w=1,E=new Array(x-1);w<x;w++)E[w-1]=arguments[w];b.fn.apply(b.context,E)}else{var I=b.length,O;for(w=0;w<I;w++)switch(b[w].once&&this.removeListener(p,b[w].fn,void 0,!0),x){case 1:b[w].fn.call(b[w].context);break;case 2:b[w].fn.call(b[w].context,m);break;case 3:b[w].fn.call(b[w].context,m,c);break;case 4:b[w].fn.call(b[w].context,m,c,d);break;default:if(!E)for(O=1,E=new Array(x-1);O<x;O++)E[O-1]=arguments[O];b[w].fn.apply(b[w].context,E)}}return!0},l.prototype.on=function(p,m,c){return a(this,p,m,c,!1)},l.prototype.once=function(p,m,c){return a(this,p,m,c,!0)},l.prototype.removeListener=function(p,m,c,d){var g=r?r+p:p;if(!this._events[g])return this;if(!m)return u(this,g),this;var _=this._events[g];if(_.fn)_.fn===m&&(!d||_.once)&&(!c||_.context===c)&&u(this,g);else{for(var y=0,b=[],x=_.length;y<x;y++)(_[y].fn!==m||d&&!_[y].once||c&&_[y].context!==c)&&b.push(_[y]);b.length?this._events[g]=b.length===1?b[0]:b:u(this,g)}return this},l.prototype.removeAllListeners=function(p){var m;return p?(m=r?r+p:p,this._events[m]&&u(this,m)):(this._events=new n,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prefixed=r,l.EventEmitter=l,t.exports=l})(lf);var Vx=lf.exports;const Zs=Zn(Vx);var pu={exports:{}};pu.exports=Qs,pu.exports.default=Qs;function Qs(t,e,r){r=r||2;var n=e&&e.length,i=n?e[0]*r:t.length,a=cf(t,0,i,r,!0),u=[];if(!a||a.next===a.prev)return u;var l,h,p,m,c,d,g;if(n&&(a=Yx(t,e,a,r)),t.length>80*r){l=p=t[0],h=m=t[1];for(var _=r;_<i;_+=r)c=t[_],d=t[_+1],c<l&&(l=c),d<h&&(h=d),c>p&&(p=c),d>m&&(m=d);g=Math.max(p-l,m-h),g=g!==0?32767/g:0}return ns(a,u,r,l,h,g,0),u}function cf(t,e,r,n,i){var a,u;if(i===vu(t,e,r,n)>0)for(a=e;a<r;a+=n)u=df(a,t[a],t[a+1],u);else for(a=r-n;a>=e;a-=n)u=df(a,t[a],t[a+1],u);return u&&Js(u,u.next)&&(ss(u),u=u.next),u}function En(t,e){if(!t)return t;e||(e=t);var r=t,n;do if(n=!1,!r.steiner&&(Js(r,r.next)||ot(r.prev,r,r.next)===0)){if(ss(r),r=e=r.prev,r===r.next)break;n=!0}else r=r.next;while(n||r!==e);return e}function ns(t,e,r,n,i,a,u){if(t){!u&&a&&e1(t,n,i,a);for(var l=t,h,p;t.prev!==t.next;){if(h=t.prev,p=t.next,a?Xx(t,n,i,a):jx(t)){e.push(h.i/r|0),e.push(t.i/r|0),e.push(p.i/r|0),ss(t),t=p.next,l=p.next;continue}if(t=p,t===l){u?u===1?(t=Wx(En(t),e,r),ns(t,e,r,n,i,a,2)):u===2&&qx(t,e,r,n,i,a):ns(En(t),e,r,n,i,a,1);break}}}}function jx(t){var e=t.prev,r=t,n=t.next;if(ot(e,r,n)>=0)return!1;for(var i=e.x,a=r.x,u=n.x,l=e.y,h=r.y,p=n.y,m=i<a?i<u?i:u:a<u?a:u,c=l<h?l<p?l:p:h<p?h:p,d=i>a?i>u?i:u:a>u?a:u,g=l>h?l>p?l:p:h>p?h:p,_=n.next;_!==e;){if(_.x>=m&&_.x<=d&&_.y>=c&&_.y<=g&&ii(i,l,a,h,u,p,_.x,_.y)&&ot(_.prev,_,_.next)>=0)return!1;_=_.next}return!0}function Xx(t,e,r,n){var i=t.prev,a=t,u=t.next;if(ot(i,a,u)>=0)return!1;for(var l=i.x,h=a.x,p=u.x,m=i.y,c=a.y,d=u.y,g=l<h?l<p?l:p:h<p?h:p,_=m<c?m<d?m:d:c<d?c:d,y=l>h?l>p?l:p:h>p?h:p,b=m>c?m>d?m:d:c>d?c:d,x=gu(g,_,e,r,n),E=gu(y,b,e,r,n),w=t.prevZ,I=t.nextZ;w&&w.z>=x&&I&&I.z<=E;){if(w.x>=g&&w.x<=y&&w.y>=_&&w.y<=b&&w!==i&&w!==u&&ii(l,m,h,c,p,d,w.x,w.y)&&ot(w.prev,w,w.next)>=0||(w=w.prevZ,I.x>=g&&I.x<=y&&I.y>=_&&I.y<=b&&I!==i&&I!==u&&ii(l,m,h,c,p,d,I.x,I.y)&&ot(I.prev,I,I.next)>=0))return!1;I=I.nextZ}for(;w&&w.z>=x;){if(w.x>=g&&w.x<=y&&w.y>=_&&w.y<=b&&w!==i&&w!==u&&ii(l,m,h,c,p,d,w.x,w.y)&&ot(w.prev,w,w.next)>=0)return!1;w=w.prevZ}for(;I&&I.z<=E;){if(I.x>=g&&I.x<=y&&I.y>=_&&I.y<=b&&I!==i&&I!==u&&ii(l,m,h,c,p,d,I.x,I.y)&&ot(I.prev,I,I.next)>=0)return!1;I=I.nextZ}return!0}function Wx(t,e,r){var n=t;do{var i=n.prev,a=n.next.next;!Js(i,a)&&hf(i,n,n.next,a)&&is(i,a)&&is(a,i)&&(e.push(i.i/r|0),e.push(n.i/r|0),e.push(a.i/r|0),ss(n),ss(n.next),n=t=a),n=n.next}while(n!==t);return En(n)}function qx(t,e,r,n,i,a){var u=t;do{for(var l=u.next.next;l!==u.prev;){if(u.i!==l.i&&n1(u,l)){var h=ff(u,l);u=En(u,u.next),h=En(h,h.next),ns(u,e,r,n,i,a,0),ns(h,e,r,n,i,a,0);return}l=l.next}u=u.next}while(u!==t)}function Yx(t,e,r,n){var i=[],a,u,l,h,p;for(a=0,u=e.length;a<u;a++)l=e[a]*n,h=a<u-1?e[a+1]*n:t.length,p=cf(t,l,h,n,!1),p===p.next&&(p.steiner=!0),i.push(r1(p));for(i.sort(Kx),a=0;a<i.length;a++)r=Zx(i[a],r);return r}function Kx(t,e){return t.x-e.x}function Zx(t,e){var r=Qx(t,e);if(!r)return e;var n=ff(r,t);return En(n,n.next),En(r,r.next)}function Qx(t,e){var r=e,n=t.x,i=t.y,a=-1/0,u;do{if(i<=r.y&&i>=r.next.y&&r.next.y!==r.y){var l=r.x+(i-r.y)*(r.next.x-r.x)/(r.next.y-r.y);if(l<=n&&l>a&&(a=l,u=r.x<r.next.x?r:r.next,l===n))return u}r=r.next}while(r!==e);if(!u)return null;var h=u,p=u.x,m=u.y,c=1/0,d;r=u;do n>=r.x&&r.x>=p&&n!==r.x&&ii(i<m?n:a,i,p,m,i<m?a:n,i,r.x,r.y)&&(d=Math.abs(i-r.y)/(n-r.x),is(r,t)&&(d<c||d===c&&(r.x>u.x||r.x===u.x&&Jx(u,r)))&&(u=r,c=d)),r=r.next;while(r!==h);return u}function Jx(t,e){return ot(t.prev,t,e.prev)<0&&ot(e.next,t,t.next)<0}function e1(t,e,r,n){var i=t;do i.z===0&&(i.z=gu(i.x,i.y,e,r,n)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next;while(i!==t);i.prevZ.nextZ=null,i.prevZ=null,t1(i)}function t1(t){var e,r,n,i,a,u,l,h,p=1;do{for(r=t,t=null,a=null,u=0;r;){for(u++,n=r,l=0,e=0;e<p&&(l++,n=n.nextZ,!!n);e++);for(h=p;l>0||h>0&&n;)l!==0&&(h===0||!n||r.z<=n.z)?(i=r,r=r.nextZ,l--):(i=n,n=n.nextZ,h--),a?a.nextZ=i:t=i,i.prevZ=a,a=i;r=n}a.nextZ=null,p*=2}while(u>1);return t}function gu(t,e,r,n,i){return t=(t-r)*i|0,e=(e-n)*i|0,t=(t|t<<8)&16711935,t=(t|t<<4)&252645135,t=(t|t<<2)&858993459,t=(t|t<<1)&1431655765,e=(e|e<<8)&16711935,e=(e|e<<4)&252645135,e=(e|e<<2)&858993459,e=(e|e<<1)&1431655765,t|e<<1}function r1(t){var e=t,r=t;do(e.x<r.x||e.x===r.x&&e.y<r.y)&&(r=e),e=e.next;while(e!==t);return r}function ii(t,e,r,n,i,a,u,l){return(i-u)*(e-l)>=(t-u)*(a-l)&&(t-u)*(n-l)>=(r-u)*(e-l)&&(r-u)*(a-l)>=(i-u)*(n-l)}function n1(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!i1(t,e)&&(is(t,e)&&is(e,t)&&s1(t,e)&&(ot(t.prev,t,e.prev)||ot(t,e.prev,e))||Js(t,e)&&ot(t.prev,t,t.next)>0&&ot(e.prev,e,e.next)>0)}function ot(t,e,r){return(e.y-t.y)*(r.x-e.x)-(e.x-t.x)*(r.y-e.y)}function Js(t,e){return t.x===e.x&&t.y===e.y}function hf(t,e,r,n){var i=ta(ot(t,e,r)),a=ta(ot(t,e,n)),u=ta(ot(r,n,t)),l=ta(ot(r,n,e));return!!(i!==a&&u!==l||i===0&&ea(t,r,e)||a===0&&ea(t,n,e)||u===0&&ea(r,t,n)||l===0&&ea(r,e,n))}function ea(t,e,r){return e.x<=Math.max(t.x,r.x)&&e.x>=Math.min(t.x,r.x)&&e.y<=Math.max(t.y,r.y)&&e.y>=Math.min(t.y,r.y)}function ta(t){return t>0?1:t<0?-1:0}function i1(t,e){var r=t;do{if(r.i!==t.i&&r.next.i!==t.i&&r.i!==e.i&&r.next.i!==e.i&&hf(r,r.next,t,e))return!0;r=r.next}while(r!==t);return!1}function is(t,e){return ot(t.prev,t,t.next)<0?ot(t,e,t.next)>=0&&ot(t,t.prev,e)>=0:ot(t,e,t.prev)<0||ot(t,t.next,e)<0}function s1(t,e){var r=t,n=!1,i=(t.x+e.x)/2,a=(t.y+e.y)/2;do r.y>a!=r.next.y>a&&r.next.y!==r.y&&i<(r.next.x-r.x)*(a-r.y)/(r.next.y-r.y)+r.x&&(n=!n),r=r.next;while(r!==t);return n}function ff(t,e){var r=new mu(t.i,t.x,t.y),n=new mu(e.i,e.x,e.y),i=t.next,a=e.prev;return t.next=e,e.prev=t,r.next=i,i.prev=r,n.next=r,r.prev=n,a.next=n,n.prev=a,n}function df(t,e,r,n){var i=new mu(t,e,r);return n?(i.next=n.next,i.prev=n,n.next.prev=i,n.next=i):(i.prev=i,i.next=i),i}function ss(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function mu(t,e,r){this.i=t,this.x=e,this.y=r,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}Qs.deviation=function(t,e,r,n){var i=e&&e.length,a=i?e[0]*r:t.length,u=Math.abs(vu(t,0,a,r));if(i)for(var l=0,h=e.length;l<h;l++){var p=e[l]*r,m=l<h-1?e[l+1]*r:t.length;u-=Math.abs(vu(t,p,m,r))}var c=0;for(l=0;l<n.length;l+=3){var d=n[l]*r,g=n[l+1]*r,_=n[l+2]*r;c+=Math.abs((t[d]-t[_])*(t[g+1]-t[d+1])-(t[d]-t[g])*(t[_+1]-t[d+1]))}return u===0&&c===0?0:Math.abs((c-u)/u)};function vu(t,e,r,n){for(var i=0,a=e,u=r-n;a<r;a+=n)i+=(t[u]-t[a])*(t[a+1]+t[u+1]),u=a;return i}Qs.flatten=function(t){for(var e=t[0][0].length,r={vertices:[],holes:[],dimensions:e},n=0,i=0;i<t.length;i++){for(var a=0;a<t[i].length;a++)for(var u=0;u<e;u++)r.vertices.push(t[i][a][u]);i>0&&(n+=t[i-1].length,r.holes.push(n))}return r};var a1=pu.exports;const o1=Zn(a1);var ra={exports:{}};/*! https://mths.be/punycode v1.4.1 by @mathias */ra.exports,function(t,e){(function(r){var n=e&&!e.nodeType&&e,i=t&&!t.nodeType&&t,a=typeof At=="object"&&At;(a.global===a||a.window===a||a.self===a)&&(r=a);var u,l=2147483647,h=36,p=1,m=26,c=38,d=700,g=72,_=128,y="-",b=/^xn--/,x=/[^\x20-\x7E]/,E=/[\x2E\u3002\uFF0E\uFF61]/g,w={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},I=h-p,O=Math.floor,F=String.fromCharCode,N;function L(X){throw new RangeError(w[X])}function B(X,q){for(var ce=X.length,fe=[];ce--;)fe[ce]=q(X[ce]);return fe}function V(X,q){var ce=X.split("@"),fe="";ce.length>1&&(fe=ce[0]+"@",X=ce[1]),X=X.replace(E,".");var ge=X.split("."),be=B(ge,q).join(".");return fe+be}function K(X){for(var q=[],ce=0,fe=X.length,ge,be;ce<fe;)ge=X.charCodeAt(ce++),ge>=55296&&ge<=56319&&ce<fe?(be=X.charCodeAt(ce++),(be&64512)==56320?q.push(((ge&1023)<<10)+(be&1023)+65536):(q.push(ge),ce--)):q.push(ge);return q}function ae(X){return B(X,function(q){var ce="";return q>65535&&(q-=65536,ce+=F(q>>>10&1023|55296),q=56320|q&1023),ce+=F(q),ce}).join("")}function j(X){return X-48<10?X-22:X-65<26?X-65:X-97<26?X-97:h}function G(X,q){return X+22+75*(X<26)-((q!=0)<<5)}function se(X,q,ce){var fe=0;for(X=ce?O(X/d):X>>1,X+=O(X/q);X>I*m>>1;fe+=h)X=O(X/I);return O(fe+(I+1)*X/(X+c))}function ie(X){var q=[],ce=X.length,fe,ge=0,be=_,Se=g,xe,Ge,je,ve,Re,He,et,Ce,_e;for(xe=X.lastIndexOf(y),xe<0&&(xe=0),Ge=0;Ge<xe;++Ge)X.charCodeAt(Ge)>=128&&L("not-basic"),q.push(X.charCodeAt(Ge));for(je=xe>0?xe+1:0;je<ce;){for(ve=ge,Re=1,He=h;je>=ce&&L("invalid-input"),et=j(X.charCodeAt(je++)),(et>=h||et>O((l-ge)/Re))&&L("overflow"),ge+=et*Re,Ce=He<=Se?p:He>=Se+m?m:He-Se,!(et<Ce);He+=h)_e=h-Ce,Re>O(l/_e)&&L("overflow"),Re*=_e;fe=q.length+1,Se=se(ge-ve,fe,ve==0),O(ge/fe)>l-be&&L("overflow"),be+=O(ge/fe),ge%=fe,q.splice(ge++,0,be)}return ae(q)}function H(X){var q,ce,fe,ge,be,Se,xe,Ge,je,ve,Re,He=[],et,Ce,_e,st;for(X=K(X),et=X.length,q=_,ce=0,be=g,Se=0;Se<et;++Se)Re=X[Se],Re<128&&He.push(F(Re));for(fe=ge=He.length,ge&&He.push(y);fe<et;){for(xe=l,Se=0;Se<et;++Se)Re=X[Se],Re>=q&&Re<xe&&(xe=Re);for(Ce=fe+1,xe-q>O((l-ce)/Ce)&&L("overflow"),ce+=(xe-q)*Ce,q=xe,Se=0;Se<et;++Se)if(Re=X[Se],Re<q&&++ce>l&&L("overflow"),Re==q){for(Ge=ce,je=h;ve=je<=be?p:je>=be+m?m:je-be,!(Ge<ve);je+=h)st=Ge-ve,_e=h-ve,He.push(F(G(ve+st%_e,0))),Ge=O(st/_e);He.push(F(G(Ge,0))),be=se(ce,Ce,fe==ge),ce=0,++fe}++ce,++q}return He.join("")}function J(X){return V(X,function(q){return b.test(q)?ie(q.slice(4).toLowerCase()):q})}function pe(X){return V(X,function(q){return x.test(q)?"xn--"+H(q):q})}if(u={version:"1.4.1",ucs2:{decode:K,encode:ae},decode:ie,encode:H,toASCII:pe,toUnicode:J},n&&i)if(t.exports==n)i.exports=u;else for(N in u)u.hasOwnProperty(N)&&(n[N]=u[N]);else r.punycode=u})(At)}(ra,ra.exports);var u1=ra.exports,l1=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;e[r]=i;for(r in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==r||!Object.prototype.propertyIsEnumerable.call(e,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(e,r);if(u.value!==i||u.enumerable!==!0)return!1}return!0},pf=typeof Symbol<"u"&&Symbol,c1=l1,h1=function(){return typeof pf!="function"||typeof Symbol!="function"||typeof pf("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:c1()},gf={foo:{}},f1=Object,d1=function(){return{__proto__:gf}.foo===gf.foo&&!({__proto__:null}instanceof f1)},p1="Function.prototype.bind called on incompatible ",_u=Array.prototype.slice,g1=Object.prototype.toString,m1="[object Function]",v1=function(e){var r=this;if(typeof r!="function"||g1.call(r)!==m1)throw new TypeError(p1+r);for(var n=_u.call(arguments,1),i,a=function(){if(this instanceof i){var m=r.apply(this,n.concat(_u.call(arguments)));return Object(m)===m?m:this}else return r.apply(e,n.concat(_u.call(arguments)))},u=Math.max(0,r.length-n.length),l=[],h=0;h<u;h++)l.push("$"+h);if(i=Function("binder","return function ("+l.join(",")+"){ return binder.apply(this,arguments); }")(a),r.prototype){var p=function(){};p.prototype=r.prototype,i.prototype=new p,p.prototype=null}return i},_1=v1,yu=Function.prototype.bind||_1,y1=yu,x1=y1.call(Function.call,Object.prototype.hasOwnProperty),Me,si=SyntaxError,mf=Function,ai=TypeError,xu=function(t){try{return mf('"use strict"; return ('+t+").constructor;")()}catch{}},Cn=Object.getOwnPropertyDescriptor;if(Cn)try{Cn({},"")}catch{Cn=null}var bu=function(){throw new ai},b1=Cn?function(){try{return arguments.callee,bu}catch{try{return Cn(arguments,"callee").get}catch{return bu}}}():bu,oi=h1(),T1=d1(),bt=Object.getPrototypeOf||(T1?function(t){return t.__proto__}:null),ui={},w1=typeof Uint8Array>"u"||!bt?Me:bt(Uint8Array),In={"%AggregateError%":typeof AggregateError>"u"?Me:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Me:ArrayBuffer,"%ArrayIteratorPrototype%":oi&&bt?bt([][Symbol.iterator]()):Me,"%AsyncFromSyncIteratorPrototype%":Me,"%AsyncFunction%":ui,"%AsyncGenerator%":ui,"%AsyncGeneratorFunction%":ui,"%AsyncIteratorPrototype%":ui,"%Atomics%":typeof Atomics>"u"?Me:Atomics,"%BigInt%":typeof BigInt>"u"?Me:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Me:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Me:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Me:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?Me:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Me:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Me:FinalizationRegistry,"%Function%":mf,"%GeneratorFunction%":ui,"%Int8Array%":typeof Int8Array>"u"?Me:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Me:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Me:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":oi&&bt?bt(bt([][Symbol.iterator]())):Me,"%JSON%":typeof JSON=="object"?JSON:Me,"%Map%":typeof Map>"u"?Me:Map,"%MapIteratorPrototype%":typeof Map>"u"||!oi||!bt?Me:bt(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Me:Promise,"%Proxy%":typeof Proxy>"u"?Me:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?Me:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Me:Set,"%SetIteratorPrototype%":typeof Set>"u"||!oi||!bt?Me:bt(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Me:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":oi&&bt?bt(""[Symbol.iterator]()):Me,"%Symbol%":oi?Symbol:Me,"%SyntaxError%":si,"%ThrowTypeError%":b1,"%TypedArray%":w1,"%TypeError%":ai,"%Uint8Array%":typeof Uint8Array>"u"?Me:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Me:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Me:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Me:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?Me:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Me:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Me:WeakSet};if(bt)try{null.error}catch(t){var S1=bt(bt(t));In["%Error.prototype%"]=S1}var A1=function t(e){var r;if(e==="%AsyncFunction%")r=xu("async function () {}");else if(e==="%GeneratorFunction%")r=xu("function* () {}");else if(e==="%AsyncGeneratorFunction%")r=xu("async function* () {}");else if(e==="%AsyncGenerator%"){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var i=t("%AsyncGenerator%");i&&bt&&(r=bt(i.prototype))}return In[e]=r,r},vf={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},as=yu,na=x1,E1=as.call(Function.call,Array.prototype.concat),C1=as.call(Function.apply,Array.prototype.splice),_f=as.call(Function.call,String.prototype.replace),ia=as.call(Function.call,String.prototype.slice),I1=as.call(Function.call,RegExp.prototype.exec),R1=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,P1=/\\(\\)?/g,M1=function(e){var r=ia(e,0,1),n=ia(e,-1);if(r==="%"&&n!=="%")throw new si("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new si("invalid intrinsic syntax, expected opening `%`");var i=[];return _f(e,R1,function(a,u,l,h){i[i.length]=l?_f(h,P1,"$1"):u||a}),i},O1=function(e,r){var n=e,i;if(na(vf,n)&&(i=vf[n],n="%"+i[0]+"%"),na(In,n)){var a=In[n];if(a===ui&&(a=A1(n)),typeof a>"u"&&!r)throw new ai("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:a}}throw new si("intrinsic "+e+" does not exist!")},Tu=function(e,r){if(typeof e!="string"||e.length===0)throw new ai("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new ai('"allowMissing" argument must be a boolean');if(I1(/^%?[^%]*%?$/,e)===null)throw new si("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=M1(e),i=n.length>0?n[0]:"",a=O1("%"+i+"%",r),u=a.name,l=a.value,h=!1,p=a.alias;p&&(i=p[0],C1(n,E1([0,1],p)));for(var m=1,c=!0;m<n.length;m+=1){var d=n[m],g=ia(d,0,1),_=ia(d,-1);if((g==='"'||g==="'"||g==="`"||_==='"'||_==="'"||_==="`")&&g!==_)throw new si("property names with quotes must have matching quotes");if((d==="constructor"||!c)&&(h=!0),i+="."+d,u="%"+i+"%",na(In,u))l=In[u];else if(l!=null){if(!(d in l)){if(!r)throw new ai("base intrinsic for "+e+" exists, but the property is not available.");return}if(Cn&&m+1>=n.length){var y=Cn(l,d);c=!!y,c&&"get"in y&&!("originalValue"in y.get)?l=y.get:l=l[d]}else c=na(l,d),l=l[d];c&&!h&&(In[u]=l)}}return l},yf={exports:{}};(function(t){var e=yu,r=Tu,n=r("%Function.prototype.apply%"),i=r("%Function.prototype.call%"),a=r("%Reflect.apply%",!0)||e.call(i,n),u=r("%Object.getOwnPropertyDescriptor%",!0),l=r("%Object.defineProperty%",!0),h=r("%Math.max%");if(l)try{l({},"a",{value:1})}catch{l=null}t.exports=function(c){var d=a(e,i,arguments);if(u&&l){var g=u(d,"length");g.configurable&&l(d,"length",{value:1+h(0,c.length-(arguments.length-1))})}return d};var p=function(){return a(e,n,arguments)};l?l(t.exports,"apply",{value:p}):t.exports.apply=p})(yf);var F1=yf.exports,xf=Tu,bf=F1,N1=bf(xf("String.prototype.indexOf")),L1=function(e,r){var n=xf(e,!!r);return typeof n=="function"&&N1(e,".prototype.")>-1?bf(n):n};const k1=bv(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var wu=typeof Map=="function"&&Map.prototype,Su=Object.getOwnPropertyDescriptor&&wu?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,sa=wu&&Su&&typeof Su.get=="function"?Su.get:null,Tf=wu&&Map.prototype.forEach,Au=typeof Set=="function"&&Set.prototype,Eu=Object.getOwnPropertyDescriptor&&Au?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,aa=Au&&Eu&&typeof Eu.get=="function"?Eu.get:null,wf=Au&&Set.prototype.forEach,B1=typeof WeakMap=="function"&&WeakMap.prototype,os=B1?WeakMap.prototype.has:null,D1=typeof WeakSet=="function"&&WeakSet.prototype,us=D1?WeakSet.prototype.has:null,U1=typeof WeakRef=="function"&&WeakRef.prototype,Sf=U1?WeakRef.prototype.deref:null,$1=Boolean.prototype.valueOf,G1=Object.prototype.toString,H1=Function.prototype.toString,z1=String.prototype.match,Cu=String.prototype.slice,an=String.prototype.replace,V1=String.prototype.toUpperCase,Af=String.prototype.toLowerCase,Ef=RegExp.prototype.test,Cf=Array.prototype.concat,Or=Array.prototype.join,j1=Array.prototype.slice,If=Math.floor,Iu=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Ru=Object.getOwnPropertySymbols,Pu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,li=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Rt=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===li||"symbol")?Symbol.toStringTag:null,Rf=Object.prototype.propertyIsEnumerable,Pf=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function Mf(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||Ef.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t=="number"){var n=t<0?-If(-t):If(t);if(n!==t){var i=String(n),a=Cu.call(e,i.length+1);return an.call(i,r,"$&_")+"."+an.call(an.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return an.call(e,r,"$&_")}var Mu=k1,Of=Mu.custom,Ff=kf(Of)?Of:null,X1=function t(e,r,n,i){var a=r||{};if(on(a,"quoteStyle")&&a.quoteStyle!=="single"&&a.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(on(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=on(a,"customInspect")?a.customInspect:!0;if(typeof u!="boolean"&&u!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(on(a,"indent")&&a.indent!==null&&a.indent!==" "&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(on(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var l=a.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return Df(e,a);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var h=String(e);return l?Mf(e,h):h}if(typeof e=="bigint"){var p=String(e)+"n";return l?Mf(e,p):p}var m=typeof a.depth>"u"?5:a.depth;if(typeof n>"u"&&(n=0),n>=m&&m>0&&typeof e=="object")return Ou(e)?"[Array]":"[Object]";var c=cb(a,n);if(typeof i>"u")i=[];else if(Bf(i,e)>=0)return"[Circular]";function d(j,G,se){if(G&&(i=j1.call(i),i.push(G)),se){var ie={depth:a.depth};return on(a,"quoteStyle")&&(ie.quoteStyle=a.quoteStyle),t(j,ie,n+1,i)}return t(j,a,n+1,i)}if(typeof e=="function"&&!Lf(e)){var g=tb(e),_=oa(e,d);return"[Function"+(g?": "+g:" (anonymous)")+"]"+(_.length>0?" { "+Or.call(_,", ")+" }":"")}if(kf(e)){var y=li?an.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):Pu.call(e);return typeof e=="object"&&!li?ls(y):y}if(ob(e)){for(var b="<"+Af.call(String(e.nodeName)),x=e.attributes||[],E=0;E<x.length;E++)b+=" "+x[E].name+"="+Nf(W1(x[E].value),"double",a);return b+=">",e.childNodes&&e.childNodes.length&&(b+="..."),b+="</"+Af.call(String(e.nodeName))+">",b}if(Ou(e)){if(e.length===0)return"[]";var w=oa(e,d);return c&&!lb(w)?"["+Nu(w,c)+"]":"[ "+Or.call(w,", ")+" ]"}if(Y1(e)){var I=oa(e,d);return!("cause"in Error.prototype)&&"cause"in e&&!Rf.call(e,"cause")?"{ ["+String(e)+"] "+Or.call(Cf.call("[cause]: "+d(e.cause),I),", ")+" }":I.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+Or.call(I,", ")+" }"}if(typeof e=="object"&&u){if(Ff&&typeof e[Ff]=="function"&&Mu)return Mu(e,{depth:m-n});if(u!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(rb(e)){var O=[];return Tf&&Tf.call(e,function(j,G){O.push(d(G,e,!0)+" => "+d(j,e))}),Uf("Map",sa.call(e),O,c)}if(sb(e)){var F=[];return wf&&wf.call(e,function(j){F.push(d(j,e))}),Uf("Set",aa.call(e),F,c)}if(nb(e))return Fu("WeakMap");if(ab(e))return Fu("WeakSet");if(ib(e))return Fu("WeakRef");if(Z1(e))return ls(d(Number(e)));if(J1(e))return ls(d(Iu.call(e)));if(Q1(e))return ls($1.call(e));if(K1(e))return ls(d(String(e)));if(!q1(e)&&!Lf(e)){var N=oa(e,d),L=Pf?Pf(e)===Object.prototype:e instanceof Object||e.constructor===Object,B=e instanceof Object?"":"null prototype",V=!L&&Rt&&Object(e)===e&&Rt in e?Cu.call(un(e),8,-1):B?"Object":"",K=L||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",ae=K+(V||B?"["+Or.call(Cf.call([],V||[],B||[]),": ")+"] ":"");return N.length===0?ae+"{}":c?ae+"{"+Nu(N,c)+"}":ae+"{ "+Or.call(N,", ")+" }"}return String(e)};function Nf(t,e,r){var n=(r.quoteStyle||e)==="double"?'"':"'";return n+t+n}function W1(t){return an.call(String(t),/"/g,""")}function Ou(t){return un(t)==="[object Array]"&&(!Rt||!(typeof t=="object"&&Rt in t))}function q1(t){return un(t)==="[object Date]"&&(!Rt||!(typeof t=="object"&&Rt in t))}function Lf(t){return un(t)==="[object RegExp]"&&(!Rt||!(typeof t=="object"&&Rt in t))}function Y1(t){return un(t)==="[object Error]"&&(!Rt||!(typeof t=="object"&&Rt in t))}function K1(t){return un(t)==="[object String]"&&(!Rt||!(typeof t=="object"&&Rt in t))}function Z1(t){return un(t)==="[object Number]"&&(!Rt||!(typeof t=="object"&&Rt in t))}function Q1(t){return un(t)==="[object Boolean]"&&(!Rt||!(typeof t=="object"&&Rt in t))}function kf(t){if(li)return t&&typeof t=="object"&&t instanceof Symbol;if(typeof t=="symbol")return!0;if(!t||typeof t!="object"||!Pu)return!1;try{return Pu.call(t),!0}catch{}return!1}function J1(t){if(!t||typeof t!="object"||!Iu)return!1;try{return Iu.call(t),!0}catch{}return!1}var eb=Object.prototype.hasOwnProperty||function(t){return t in this};function on(t,e){return eb.call(t,e)}function un(t){return G1.call(t)}function tb(t){if(t.name)return t.name;var e=z1.call(H1.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function Bf(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function rb(t){if(!sa||!t||typeof t!="object")return!1;try{sa.call(t);try{aa.call(t)}catch{return!0}return t instanceof Map}catch{}return!1}function nb(t){if(!os||!t||typeof t!="object")return!1;try{os.call(t,os);try{us.call(t,us)}catch{return!0}return t instanceof WeakMap}catch{}return!1}function ib(t){if(!Sf||!t||typeof t!="object")return!1;try{return Sf.call(t),!0}catch{}return!1}function sb(t){if(!aa||!t||typeof t!="object")return!1;try{aa.call(t);try{sa.call(t)}catch{return!0}return t instanceof Set}catch{}return!1}function ab(t){if(!us||!t||typeof t!="object")return!1;try{us.call(t,us);try{os.call(t,os)}catch{return!0}return t instanceof WeakSet}catch{}return!1}function ob(t){return!t||typeof t!="object"?!1:typeof HTMLElement<"u"&&t instanceof HTMLElement?!0:typeof t.nodeName=="string"&&typeof t.getAttribute=="function"}function Df(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return Df(Cu.call(t,0,e.maxStringLength),e)+n}var i=an.call(an.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,ub);return Nf(i,"single",e)}function ub(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+V1.call(e.toString(16))}function ls(t){return"Object("+t+")"}function Fu(t){return t+" { ? }"}function Uf(t,e,r,n){var i=n?Nu(r,n):Or.call(r,", ");return t+" ("+e+") {"+i+"}"}function lb(t){for(var e=0;e<t.length;e++)if(Bf(t[e],`
|
|
25
|
+
*/var Ut,Xh,Wh=function(){return Ut||typeof window<"u"&&(Ut=window.gsap)&&Ut.registerPlugin&&Ut},qh=function(){Ut=Wh(),Ut?(Ut.registerEase("_CE",ts.create),Xh=1):console.warn("Please gsap.registerPlugin(CustomEase)")},Lx=1e20,Ys=function(e){return~~(e*1e3+(e<0?-.5:.5))/1e3},kx=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,Bx=/[cLlsSaAhHvVtTqQ]/g,Dx=function(e){var r=e.length,n=Lx,i;for(i=1;i<r;i+=6)+e[i]<n&&(n=+e[i]);return n},Ux=function(e,r,n){!n&&n!==0&&(n=Math.max(+e[e.length-1],+e[1]));var i=+e[0]*-1,a=-n,u=e.length,l=1/(+e[u-2]+i),h=-r||(Math.abs(+e[u-1]-+e[1])<.01*(+e[u-2]-+e[0])?Dx(e)+a:+e[u-1]+a),p;for(h?h=1/h:h=-l,p=0;p<u;p+=2)e[p]=(+e[p]+i)*l,e[p+1]=(+e[p+1]+a)*h},$x=function t(e,r,n,i,a,u,l,h,p,m,c){var d=(e+n)/2,g=(r+i)/2,_=(n+a)/2,y=(i+u)/2,b=(a+l)/2,x=(u+h)/2,E=(d+_)/2,w=(g+y)/2,I=(_+b)/2,O=(y+x)/2,F=(E+I)/2,N=(w+O)/2,L=l-e,B=h-r,V=Math.abs((n-l)*B-(i-h)*L),K=Math.abs((a-l)*B-(u-h)*L),ae;return m||(m=[{x:e,y:r},{x:l,y:h}],c=1),m.splice(c||m.length-1,0,{x:F,y:N}),(V+K)*(V+K)>p*(L*L+B*B)&&(ae=m.length,t(e,r,d,g,E,w,F,N,p,m,c),t(F,N,I,O,b,x,l,h,p,m,c+1+(m.length-ae))),m},ts=function(){function t(r,n,i){Xh||qh(),this.id=r,this.setData(n,i)}var e=t.prototype;return e.setData=function(n,i){i=i||{},n=n||"0,0,1,1";var a=n.match(kx),u=1,l=[],h=[],p=i.precision||1,m=p<=1,c,d,g,_,y,b,x,E,w;if(this.data=n,(Bx.test(n)||~n.indexOf("M")&&n.indexOf("C")<0)&&(a=Fx(n)[0]),c=a.length,c===4)a.unshift(0,0),a.push(1,1),c=8;else if((c-2)%6)throw"Invalid CustomEase";for((+a[0]!=0||+a[c-2]!=1)&&Ux(a,i.height,i.originY),this.segment=a,_=2;_<c;_+=6)d={x:+a[_-2],y:+a[_-1]},g={x:+a[_+4],y:+a[_+5]},l.push(d,g),$x(d.x,d.y,+a[_],+a[_+1],+a[_+2],+a[_+3],g.x,g.y,1/(p*2e5),l,l.length-1);for(c=l.length,_=0;_<c;_++)x=l[_],E=l[_-1]||x,(x.x>E.x||E.y!==x.y&&E.x===x.x||x===E)&&x.x<=1?(E.cx=x.x-E.x,E.cy=x.y-E.y,E.n=x,E.nx=x.x,m&&_>1&&Math.abs(E.cy/E.cx-l[_-2].cy/l[_-2].cx)>2&&(m=0),E.cx<u&&(E.cx?u=E.cx:(E.cx=.001,_===c-1&&(E.x-=.001,u=Math.min(u,.001),m=0)))):(l.splice(_--,1),c--);if(c=1/u+1|0,y=1/c,b=0,x=l[0],m){for(_=0;_<c;_++)w=_*y,x.nx<w&&(x=l[++b]),d=x.y+(w-x.x)/x.cx*x.cy,h[_]={x:w,cx:y,y:d,cy:0,nx:9},_&&(h[_-1].cy=d-h[_-1].y);h[c-1].cy=l[l.length-1].y-d}else{for(_=0;_<c;_++)x.nx<_*y&&(x=l[++b]),h[_]=x;b<l.length-1&&(h[_-1]=l[l.length-2])}return this.ease=function(I){var O=h[I*c|0]||h[c-1];return O.nx<I&&(O=O.n),O.y+(I-O.x)/O.cx*O.cy},this.ease.custom=this,this.id&&Ut&&Ut.registerEase(this.id,this.ease),this},e.getSVGData=function(n){return t.getSVGData(this,n)},t.create=function(n,i,a){return new t(n,i,a).ease},t.register=function(n){Ut=n,qh()},t.get=function(n){return Ut.parseEase(n)},t.getSVGData=function(n,i){i=i||{};var a=i.width||100,u=i.height||100,l=i.x||0,h=(i.y||0)+u,p=Ut.utils.toArray(i.path)[0],m,c,d,g,_,y,b,x,E,w;if(i.invert&&(u=-u,h=0),typeof n=="string"&&(n=Ut.parseEase(n)),n.custom&&(n=n.custom),n instanceof t)m=Nx(Mx([n.segment],a,0,0,-u,l,h));else{for(m=[l,h],b=Math.max(5,(i.precision||1)*200),g=1/b,b+=2,x=5/b,E=Ys(l+g*a),w=Ys(h+n(g)*-u),c=(w-h)/(E-l),d=2;d<b;d++)_=Ys(l+d*g*a),y=Ys(h+n(d*g)*-u),(Math.abs((y-w)/(_-E)-c)>x||d===b-1)&&(m.push(E,w),c=(y-w)/(_-E)),E=_,w=y;m="M"+m.join(",")}return p&&p.setAttribute("d",m),m},t}();Wh()&&Ut.registerPlugin(ts),ts.version="3.11.5",ee.registerPlugin(ts),ts.create("springBounce","0.32, 1.06, 0.61, 0.93"),ee.registerEffect({name:"PULSE",effect(t,e){return ee.timeline().fromTo(t,{width:(e==null?void 0:e.width)*.9,height:(e==null?void 0:e.height)*.9},{width:(e==null?void 0:e.width)*1.1,height:(e==null?void 0:e.height)*1.1,duration:.5,ease:"slow"}).to(t,{...e,duration:.5})}}),ee.registerEffect({name:"SHAKE",effect(t,e){return ee.timeline().to(t,{duration:.1,x:"+=5"}).to(t,{duration:.1,x:"-=10"}).to(t,{duration:.1,x:"+=10"}).to(t,{duration:.1,x:"-=10"}).to(t,{duration:.1,x:"+=5"}).to(t,{...e,duration:.5})}}),ee.registerEffect({name:"SWING",effect(t,e){return ee.timeline().to(t,{duration:.5,rotation:1}).to(t,{duration:.5,rotation:-1}).to(t,{rotation:0,...e,duration:.5})}}),ee.registerEffect({name:"JELLO",effect(t,e){return ee.timeline().to(t,{duration:.3,width:e.width*.5,rotation:-1}).to(t,{duration:.4,width:e.width*1.2,rotation:1}).to(t,{duration:.3,width:e.width,rotation:0}).to(t,{rotation:0,...e,duration:.5})}}),ee.registerEffect({name:"WOOBLE",effect(t,e){return ee.timeline().to(t,{duration:.3,width:e.width*.5,x:e.x*-.5}).to(t,{duration:.3,width:e.width*1.5,x:e.x*1.5}).to(t,{duration:.3,width:e.width*.5,x:e.x*-.01}).to(t,{duration:.3,width:e.width,x:e.x}).to(t,{rotation:0,...e,duration:.5})}}),ee.registerEffect({name:"NONE",effect(t,e){return ee.to(t,{duration:0})}}),ee.registerEffect({name:"FLASH",effect(t,e){return ee.timeline().to(t,{duration:.2,alpha:0}).to(t,{duration:.2,alpha:1}).to(t,{duration:.2,alpha:0}).to(t,{duration:.2,alpha:1}).to(t,{duration:.2,alpha:0}).to(t,{duration:.2,alpha:1,...e})}}),ee.registerEffect({name:"BOUNCE_IN",effect(t,e){return ee.from(t,{...e,duration:2,width:(e==null?void 0:e.width)*1.5,height:(e==null?void 0:e.height)*1.5,ease:"bounce.out"})}}),ee.registerEffect({name:"BOUNCE_IN_DOWN",effect(t,e){return ee.from(t,{...e,duration:2,ease:"bounce.out",y:-1500,alpha:0})}}),ee.registerEffect({name:"BOUNCE_IN_LEFT",effect(t,e){return ee.from(t,{...e,ease:"bounce.out",x:-1500,duration:2,alpha:0})}}),ee.registerEffect({name:"BOUNCE_IN_RIGHT",effect(t,e){return ee.from(t,{...e,ease:"bounce.out",x:1500,duration:2})}}),ee.registerEffect({name:"BOUNCE_IN_UP",effect(t,e){return ee.from(t,{...e,ease:"bounce.out",y:1500,duration:2})}}),ee.registerEffect({name:"BOUNCE_OUT",effect(t,e){return ee.from(t,{...e,ease:"bounce.in",y:2e3,duration:1.5})}}),ee.registerEffect({name:"FADE_IN",effect(t,e){return ee.fromTo(t,{alpha:0},{ease:"power4.in",alpha:1,duration:1,...e})}}),ee.registerEffect({name:"FADE_IN_DOWN",effect(t,e){return ee.fromTo(t,{y:-1e3,alpha:0},{ease:"power4.in",y:0,alpha:1,duration:1,...e})}}),ee.registerEffect({name:"FADE_IN_LEFT",effect(t,e){return ee.fromTo(t,{x:-1e3,alpha:0},{ease:"power4.in",x:0,alpha:1,duration:1,...e})}}),ee.registerEffect({name:"FADE_IN_RIGHT",effect(t,e){return ee.fromTo(t,{x:2e3,alpha:0},{ease:"power4.in",x:0,alpha:1,duration:1,...e})}}),ee.registerEffect({name:"FADE_IN_UP",effect(t,e){return ee.fromTo(t,{y:2e3,alpha:0},{ease:"power4.in",y:0,alpha:1,duration:.8,...e})}}),ee.registerEffect({name:"SPIN",effect(t){return ee.to(t,{rotation:(e,r)=>ee.utils.snap(360,Number(ee.getProperty(r,"rotation"))+360)})}});function Gx(){return{updateEffect:W.useCallback((e,r,n)=>(console.log("useGsapEffect useEffect",r,n),ee.effects[r]&&e?ee.effects[r](e,n):ee.effects.NONE(e,n)),[])}}var uu=(t=>(t.NONE="NONE",t.FLASH="FLASH",t.PULSE="PULSE",t.SHAKE="SHAKE",t.SWING="SWING",t.JELLO="JELLO",t.WOOBLE="WOOBLE",t.FADE_IN="FADE_IN",t.FADE_OUT="FADE_OUT",t.FADE_IN_OUT="FADE_IN_OUT",t.SLIDE_IN_LEFT="SLIDE_IN_LEFT",t.SLIDE_IN_RIGHT="SLIDE_IN_RIGHT",t.SLIDE_IN_TOP="SLIDE_IN_TOP",t.SLIDE_IN_BOTTOM="SLIDE_IN_BOTTOM",t.SLIDE_OUT_LEFT="SLIDE_OUT_LEFT",t.SLIDE_OUT_RIGHT="SLIDE_OUT_RIGHT",t.SLIDE_OUT_TOP="SLIDE_OUT_TOP",t.SLIDE_OUT_BOTTOM="SLIDE_OUT_BOTTOM",t.ZOOM_IN="ZOOM_IN",t.ZOOM_OUT="ZOOM_OUT",t.ZOOM_IN_OUT="ZOOM_IN_OUT",t.BOUNCE_IN="BOUNCE_IN",t.BOUNCE_OUT="BOUNCE_OUT",t.BOUNCE_IN_OUT="BOUNCE_IN_OUT",t.BOUNCE_IN_DOWN="BOUNCE_IN_DOWN",t.BOUNCE_IN_LEFT="BOUNCE_IN_LEFT",t.BOUNCE_IN_RIGHT="BOUNCE_IN_RIGHT",t.BOUNCE_IN_UP="BOUNCE_IN_UP",t.BOUNCE_OUT_DOWN="BOUNCE_OUT_DOWN",t.BOUNCE_OUT_LEFT="BOUNCE_OUT_LEFT",t.BOUNCE_OUT_RIGHT="BOUNCE_OUT_RIGHT",t.BOUNCE_OUT_UP="BOUNCE_OUT_UP",t.FADE_IN_DOWN="FADE_IN_DOWN",t.FADE_IN_LEFT="FADE_IN_LEFT",t.FADE_IN_RIGHT="FADE_IN_RIGHT",t.FADE_IN_UP="FADE_IN_UP",t.FADE_OUT_DOWN="FADE_OUT_DOWN",t.FADE_OUT_LEFT="FADE_OUT_LEFT",t.FADE_OUT_RIGHT="FADE_OUT_RIGHT",t.FADE_OUT_UP="FADE_OUT_UP",t.ELASTIC_IN="ELASTIC_IN",t.ELASTIC_OUT="ELASTIC_OUT",t.ELASTIC_IN_OUT="ELASTIC_IN_OUT",t.BACK_IN="BACK_IN",t.BACK_OUT="BACK_OUT",t.BACK_IN_OUT="BACK_IN_OUT",t.CIRCULAR_IN="CIRCULAR_IN",t.CIRCULAR_OUT="CIRCULAR_OUT",t.CIRCULAR_IN_OUT="CIRCULAR_IN_OUT",t.EXPO_IN="EXPO_IN",t.EXPO_OUT="EXPO_OUT",t.EXPO_IN_OUT="EXPO_IN_OUT",t.SINE_IN="SINE_IN",t.SINE_OUT="SINE_OUT",t.SINE_IN_OUT="SINE_IN_OUT",t.BOUNCE="BOUNCE",t.ELASTIC="ELASTIC",t.BACK="BACK",t.CIRCULAR="CIRCULAR",t.EXPO="EXPO",t.SINE="SINE",t))(uu||{});const Hx=[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0],rn=te.forwardRef((t,e)=>{var be,Se;const[r,n]=te.useState(!1),[i,a]=W.useState(!1),[u,l]=W.useState(!1),h=W.useRef(null),p=W.useRef(null),m=W.useRef(null),c=W.useRef(null),d=W.useRef(null),{tl:g}=W.useContext(en),{uniqueId:_,visible:y,startAt:b,transformation:{x,y:E,width:w,height:I,scale:O=[1,1],rotation:F=0,effect:N,overlay:L,animation:B=uu.NONE},applyTransformer:V,disabled:K,pointerdown:ae,pointerout:j,pointerover:G,isText:se,isDragging:ie,isGif:H,onDoubleClick:J,isTextEditMode:pe}=t,X=Gx();ht(Ke.COMPLETE,()=>{h.current}),te.useImperativeHandle(e,()=>({getIsTransformerDragging:()=>i,getIsMouseOverTransformer:()=>u}),[i,u]),te.useEffect(()=>{h.current&&n(!0)},[]),te.useEffect(()=>{if(g.current){const xe=X.updateEffect(h.current,B,{x,y:E,width:w,height:I,onUpdate:()=>{var je,ve;console.log("current image ref location",(je=h.current)==null?void 0:je.x,(ve=h.current)==null?void 0:ve.y)}}),Ge=g.current.progress();console.log("all times duration",g.current.duration(),g.current.progress()),d.current&&(g.current.remove(d.current),console.log("killing timeline"),d.current.progress(0).kill()),console.log("startAt Anim",b),g.current.add(xe,b),g.current.progress(0),g.current.progress(Ge),d.current=xe,console.log("all times duration 22",g.current.duration(),g.current.progress())}return()=>{g.current&&d.current&&(g.current.remove(d.current),d.current.progress(0).kill())}},[h,b,x,E,B,w,I]);const q=te.useCallback(()=>{l(!0),G&&G()},[]),ce=te.useCallback(()=>{a(!0)},[]),fe=te.useCallback(xe=>{t.onAnchorTransformationEnd&&t.onAnchorTransformationEnd(xe),a(!1)},[]),ge=De.withFilters(De.Container,{matrix:jt.filters.ColorMatrixFilter});return console.log("render=> imageRef location",(be=h.current)==null?void 0:be.x,(Se=h.current)==null?void 0:Se.y),Ee.jsxs(De.Container,{ref:p,children:[Ee.jsxs(De.Container,{ref:h,position:[x,E],pivot:[x,E],width:w,height:I,scale:O,rotation:F,...!K&&y&&!i&&!ie&&{interactive:!0,buttonMode:!0,pointerdown:ae,pointerover:G,pointerout:j},children:[!H&&Ee.jsx(ge,{scale:1,apply:({matrix:xe})=>{N===bn.BlackAndWhite?xe.desaturate():N===bn.Sepia?xe.sepia():N===bn.RetroVintage||N===bn.NightVision?xe.negative():N===bn.Normal&&xe.reset()},matrix:{enabled:!0,matrix:Hx},children:Ee.jsx(De.Container,{ref:m,children:t.children})}),H&&Ee.jsx(De.Container,{ref:m,children:t.children}),!Qi(L)&&L!==ou.NONE&&L!==ou.NORMAL&&Ee.jsx(Ex,{overlay:L,width:w,height:I,x,y:E})]}),V&&y&&!pe&&Ee.jsx(Pv,{pixiTransformerRef:c,imageRef:h,isMounted:r,transformCommit:fe,transformChange:ce,mouseoverEvent:q,uniqueId:_,isText:se,onDoubleClick:J})]})});rn.whyDidYouRender={logOnDifferentValues:!0,customName:"AbstractContainer"};var wn=(t=>(t[t.WEBGL_LEGACY=0]="WEBGL_LEGACY",t[t.WEBGL=1]="WEBGL",t[t.WEBGL2=2]="WEBGL2",t))(wn||{}),Yh=(t=>(t[t.UNKNOWN=0]="UNKNOWN",t[t.WEBGL=1]="WEBGL",t[t.CANVAS=2]="CANVAS",t))(Yh||{}),lu=(t=>(t[t.COLOR=16384]="COLOR",t[t.DEPTH=256]="DEPTH",t[t.STENCIL=1024]="STENCIL",t))(lu||{}),de=(t=>(t[t.NORMAL=0]="NORMAL",t[t.ADD=1]="ADD",t[t.MULTIPLY=2]="MULTIPLY",t[t.SCREEN=3]="SCREEN",t[t.OVERLAY=4]="OVERLAY",t[t.DARKEN=5]="DARKEN",t[t.LIGHTEN=6]="LIGHTEN",t[t.COLOR_DODGE=7]="COLOR_DODGE",t[t.COLOR_BURN=8]="COLOR_BURN",t[t.HARD_LIGHT=9]="HARD_LIGHT",t[t.SOFT_LIGHT=10]="SOFT_LIGHT",t[t.DIFFERENCE=11]="DIFFERENCE",t[t.EXCLUSION=12]="EXCLUSION",t[t.HUE=13]="HUE",t[t.SATURATION=14]="SATURATION",t[t.COLOR=15]="COLOR",t[t.LUMINOSITY=16]="LUMINOSITY",t[t.NORMAL_NPM=17]="NORMAL_NPM",t[t.ADD_NPM=18]="ADD_NPM",t[t.SCREEN_NPM=19]="SCREEN_NPM",t[t.NONE=20]="NONE",t[t.SRC_OVER=0]="SRC_OVER",t[t.SRC_IN=21]="SRC_IN",t[t.SRC_OUT=22]="SRC_OUT",t[t.SRC_ATOP=23]="SRC_ATOP",t[t.DST_OVER=24]="DST_OVER",t[t.DST_IN=25]="DST_IN",t[t.DST_OUT=26]="DST_OUT",t[t.DST_ATOP=27]="DST_ATOP",t[t.ERASE=26]="ERASE",t[t.SUBTRACT=28]="SUBTRACT",t[t.XOR=29]="XOR",t))(de||{}),nn=(t=>(t[t.POINTS=0]="POINTS",t[t.LINES=1]="LINES",t[t.LINE_LOOP=2]="LINE_LOOP",t[t.LINE_STRIP=3]="LINE_STRIP",t[t.TRIANGLES=4]="TRIANGLES",t[t.TRIANGLE_STRIP=5]="TRIANGLE_STRIP",t[t.TRIANGLE_FAN=6]="TRIANGLE_FAN",t))(nn||{}),Z=(t=>(t[t.RGBA=6408]="RGBA",t[t.RGB=6407]="RGB",t[t.RG=33319]="RG",t[t.RED=6403]="RED",t[t.RGBA_INTEGER=36249]="RGBA_INTEGER",t[t.RGB_INTEGER=36248]="RGB_INTEGER",t[t.RG_INTEGER=33320]="RG_INTEGER",t[t.RED_INTEGER=36244]="RED_INTEGER",t[t.ALPHA=6406]="ALPHA",t[t.LUMINANCE=6409]="LUMINANCE",t[t.LUMINANCE_ALPHA=6410]="LUMINANCE_ALPHA",t[t.DEPTH_COMPONENT=6402]="DEPTH_COMPONENT",t[t.DEPTH_STENCIL=34041]="DEPTH_STENCIL",t))(Z||{}),ti=(t=>(t[t.TEXTURE_2D=3553]="TEXTURE_2D",t[t.TEXTURE_CUBE_MAP=34067]="TEXTURE_CUBE_MAP",t[t.TEXTURE_2D_ARRAY=35866]="TEXTURE_2D_ARRAY",t[t.TEXTURE_CUBE_MAP_POSITIVE_X=34069]="TEXTURE_CUBE_MAP_POSITIVE_X",t[t.TEXTURE_CUBE_MAP_NEGATIVE_X=34070]="TEXTURE_CUBE_MAP_NEGATIVE_X",t[t.TEXTURE_CUBE_MAP_POSITIVE_Y=34071]="TEXTURE_CUBE_MAP_POSITIVE_Y",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Y=34072]="TEXTURE_CUBE_MAP_NEGATIVE_Y",t[t.TEXTURE_CUBE_MAP_POSITIVE_Z=34073]="TEXTURE_CUBE_MAP_POSITIVE_Z",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Z=34074]="TEXTURE_CUBE_MAP_NEGATIVE_Z",t))(ti||{}),Ue=(t=>(t[t.UNSIGNED_BYTE=5121]="UNSIGNED_BYTE",t[t.UNSIGNED_SHORT=5123]="UNSIGNED_SHORT",t[t.UNSIGNED_SHORT_5_6_5=33635]="UNSIGNED_SHORT_5_6_5",t[t.UNSIGNED_SHORT_4_4_4_4=32819]="UNSIGNED_SHORT_4_4_4_4",t[t.UNSIGNED_SHORT_5_5_5_1=32820]="UNSIGNED_SHORT_5_5_5_1",t[t.UNSIGNED_INT=5125]="UNSIGNED_INT",t[t.UNSIGNED_INT_10F_11F_11F_REV=35899]="UNSIGNED_INT_10F_11F_11F_REV",t[t.UNSIGNED_INT_2_10_10_10_REV=33640]="UNSIGNED_INT_2_10_10_10_REV",t[t.UNSIGNED_INT_24_8=34042]="UNSIGNED_INT_24_8",t[t.UNSIGNED_INT_5_9_9_9_REV=35902]="UNSIGNED_INT_5_9_9_9_REV",t[t.BYTE=5120]="BYTE",t[t.SHORT=5122]="SHORT",t[t.INT=5124]="INT",t[t.FLOAT=5126]="FLOAT",t[t.FLOAT_32_UNSIGNED_INT_24_8_REV=36269]="FLOAT_32_UNSIGNED_INT_24_8_REV",t[t.HALF_FLOAT=36193]="HALF_FLOAT",t))(Ue||{}),cu=(t=>(t[t.FLOAT=0]="FLOAT",t[t.INT=1]="INT",t[t.UINT=2]="UINT",t))(cu||{}),Pr=(t=>(t[t.NEAREST=0]="NEAREST",t[t.LINEAR=1]="LINEAR",t))(Pr||{}),rs=(t=>(t[t.CLAMP=33071]="CLAMP",t[t.REPEAT=10497]="REPEAT",t[t.MIRRORED_REPEAT=33648]="MIRRORED_REPEAT",t))(rs||{}),Sn=(t=>(t[t.OFF=0]="OFF",t[t.POW2=1]="POW2",t[t.ON=2]="ON",t[t.ON_MANUAL=3]="ON_MANUAL",t))(Sn||{}),sn=(t=>(t[t.NPM=0]="NPM",t[t.UNPACK=1]="UNPACK",t[t.PMA=2]="PMA",t[t.NO_PREMULTIPLIED_ALPHA=0]="NO_PREMULTIPLIED_ALPHA",t[t.PREMULTIPLY_ON_UPLOAD=1]="PREMULTIPLY_ON_UPLOAD",t[t.PREMULTIPLIED_ALPHA=2]="PREMULTIPLIED_ALPHA",t))(sn||{}),An=(t=>(t[t.NO=0]="NO",t[t.YES=1]="YES",t[t.AUTO=2]="AUTO",t[t.BLEND=0]="BLEND",t[t.CLEAR=1]="CLEAR",t[t.BLIT=2]="BLIT",t))(An||{}),hu=(t=>(t[t.AUTO=0]="AUTO",t[t.MANUAL=1]="MANUAL",t))(hu||{}),tr=(t=>(t.LOW="lowp",t.MEDIUM="mediump",t.HIGH="highp",t))(tr||{}),_t=(t=>(t[t.NONE=0]="NONE",t[t.SCISSOR=1]="SCISSOR",t[t.STENCIL=2]="STENCIL",t[t.SPRITE=3]="SPRITE",t[t.COLOR=4]="COLOR",t))(_t||{}),vt=(t=>(t[t.NONE=0]="NONE",t[t.LOW=2]="LOW",t[t.MEDIUM=4]="MEDIUM",t[t.HIGH=8]="HIGH",t))(vt||{}),Mr=(t=>(t[t.ELEMENT_ARRAY_BUFFER=34963]="ELEMENT_ARRAY_BUFFER",t[t.ARRAY_BUFFER=34962]="ARRAY_BUFFER",t[t.UNIFORM_BUFFER=35345]="UNIFORM_BUFFER",t))(Mr||{});const Ie={ADAPTER:{createCanvas:(t,e)=>{const r=document.createElement("canvas");return r.width=t,r.height=e,r},getCanvasRenderingContext2D:()=>CanvasRenderingContext2D,getWebGLRenderingContext:()=>WebGLRenderingContext,getNavigator:()=>navigator,getBaseUrl:()=>document.baseURI??window.location.href,getFontFaceSet:()=>document.fonts,fetch:(t,e)=>fetch(t,e),parseXML:t=>new DOMParser().parseFromString(t,"text/xml")},RESOLUTION:1,CREATE_IMAGE_BITMAP:!1,ROUND_PIXELS:!1};var fu=/iPhone/i,Kh=/iPod/i,Zh=/iPad/i,Qh=/\biOS-universal(?:.+)Mac\b/i,du=/\bAndroid(?:.+)Mobile\b/i,Jh=/Android/i,ri=/(?:SD4930UR|\bSilk(?:.+)Mobile\b)/i,Ks=/Silk/i,Ur=/Windows Phone/i,ef=/\bWindows(?:.+)ARM\b/i,tf=/BlackBerry/i,rf=/BB10/i,nf=/Opera Mini/i,sf=/\b(CriOS|Chrome)(?:.+)Mobile/i,af=/Mobile(?:.+)Firefox\b/i,of=function(t){return typeof t<"u"&&t.platform==="MacIntel"&&typeof t.maxTouchPoints=="number"&&t.maxTouchPoints>1&&typeof MSStream>"u"};function zx(t){return function(e){return e.test(t)}}function uf(t){var e={userAgent:"",platform:"",maxTouchPoints:0};!t&&typeof navigator<"u"?e={userAgent:navigator.userAgent,platform:navigator.platform,maxTouchPoints:navigator.maxTouchPoints||0}:typeof t=="string"?e.userAgent=t:t&&t.userAgent&&(e={userAgent:t.userAgent,platform:t.platform,maxTouchPoints:t.maxTouchPoints||0});var r=e.userAgent,n=r.split("[FBAN");typeof n[1]<"u"&&(r=n[0]),n=r.split("Twitter"),typeof n[1]<"u"&&(r=n[0]);var i=zx(r),a={apple:{phone:i(fu)&&!i(Ur),ipod:i(Kh),tablet:!i(fu)&&(i(Zh)||of(e))&&!i(Ur),universal:i(Qh),device:(i(fu)||i(Kh)||i(Zh)||i(Qh)||of(e))&&!i(Ur)},amazon:{phone:i(ri),tablet:!i(ri)&&i(Ks),device:i(ri)||i(Ks)},android:{phone:!i(Ur)&&i(ri)||!i(Ur)&&i(du),tablet:!i(Ur)&&!i(ri)&&!i(du)&&(i(Ks)||i(Jh)),device:!i(Ur)&&(i(ri)||i(Ks)||i(du)||i(Jh))||i(/\bokhttp\b/i)},windows:{phone:i(Ur),tablet:i(ef),device:i(Ur)||i(ef)},other:{blackberry:i(tf),blackberry10:i(rf),opera:i(nf),firefox:i(af),chrome:i(sf),device:i(tf)||i(rf)||i(nf)||i(af)||i(sf)},any:!1,phone:!1,tablet:!1};return a.any=a.apple.device||a.android.device||a.windows.device||a.other.device,a.phone=a.apple.phone||a.android.phone||a.windows.phone,a.tablet=a.apple.tablet||a.android.tablet||a.windows.tablet,a}const ni=(uf.default??uf)(globalThis.navigator);Ie.RETINA_PREFIX=/@([0-9\.]+)x/,Ie.FAIL_IF_MAJOR_PERFORMANCE_CAVEAT=!1;var lf={exports:{}};(function(t){var e=Object.prototype.hasOwnProperty,r="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1));function i(h,p,m){this.fn=h,this.context=p,this.once=m||!1}function a(h,p,m,c,d){if(typeof m!="function")throw new TypeError("The listener must be a function");var g=new i(m,c||h,d),_=r?r+p:p;return h._events[_]?h._events[_].fn?h._events[_]=[h._events[_],g]:h._events[_].push(g):(h._events[_]=g,h._eventsCount++),h}function u(h,p){--h._eventsCount===0?h._events=new n:delete h._events[p]}function l(){this._events=new n,this._eventsCount=0}l.prototype.eventNames=function(){var p=[],m,c;if(this._eventsCount===0)return p;for(c in m=this._events)e.call(m,c)&&p.push(r?c.slice(1):c);return Object.getOwnPropertySymbols?p.concat(Object.getOwnPropertySymbols(m)):p},l.prototype.listeners=function(p){var m=r?r+p:p,c=this._events[m];if(!c)return[];if(c.fn)return[c.fn];for(var d=0,g=c.length,_=new Array(g);d<g;d++)_[d]=c[d].fn;return _},l.prototype.listenerCount=function(p){var m=r?r+p:p,c=this._events[m];return c?c.fn?1:c.length:0},l.prototype.emit=function(p,m,c,d,g,_){var y=r?r+p:p;if(!this._events[y])return!1;var b=this._events[y],x=arguments.length,E,w;if(b.fn){switch(b.once&&this.removeListener(p,b.fn,void 0,!0),x){case 1:return b.fn.call(b.context),!0;case 2:return b.fn.call(b.context,m),!0;case 3:return b.fn.call(b.context,m,c),!0;case 4:return b.fn.call(b.context,m,c,d),!0;case 5:return b.fn.call(b.context,m,c,d,g),!0;case 6:return b.fn.call(b.context,m,c,d,g,_),!0}for(w=1,E=new Array(x-1);w<x;w++)E[w-1]=arguments[w];b.fn.apply(b.context,E)}else{var I=b.length,O;for(w=0;w<I;w++)switch(b[w].once&&this.removeListener(p,b[w].fn,void 0,!0),x){case 1:b[w].fn.call(b[w].context);break;case 2:b[w].fn.call(b[w].context,m);break;case 3:b[w].fn.call(b[w].context,m,c);break;case 4:b[w].fn.call(b[w].context,m,c,d);break;default:if(!E)for(O=1,E=new Array(x-1);O<x;O++)E[O-1]=arguments[O];b[w].fn.apply(b[w].context,E)}}return!0},l.prototype.on=function(p,m,c){return a(this,p,m,c,!1)},l.prototype.once=function(p,m,c){return a(this,p,m,c,!0)},l.prototype.removeListener=function(p,m,c,d){var g=r?r+p:p;if(!this._events[g])return this;if(!m)return u(this,g),this;var _=this._events[g];if(_.fn)_.fn===m&&(!d||_.once)&&(!c||_.context===c)&&u(this,g);else{for(var y=0,b=[],x=_.length;y<x;y++)(_[y].fn!==m||d&&!_[y].once||c&&_[y].context!==c)&&b.push(_[y]);b.length?this._events[g]=b.length===1?b[0]:b:u(this,g)}return this},l.prototype.removeAllListeners=function(p){var m;return p?(m=r?r+p:p,this._events[m]&&u(this,m)):(this._events=new n,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prefixed=r,l.EventEmitter=l,t.exports=l})(lf);var Vx=lf.exports;const Zs=Zn(Vx);var pu={exports:{}};pu.exports=Qs,pu.exports.default=Qs;function Qs(t,e,r){r=r||2;var n=e&&e.length,i=n?e[0]*r:t.length,a=cf(t,0,i,r,!0),u=[];if(!a||a.next===a.prev)return u;var l,h,p,m,c,d,g;if(n&&(a=Yx(t,e,a,r)),t.length>80*r){l=p=t[0],h=m=t[1];for(var _=r;_<i;_+=r)c=t[_],d=t[_+1],c<l&&(l=c),d<h&&(h=d),c>p&&(p=c),d>m&&(m=d);g=Math.max(p-l,m-h),g=g!==0?32767/g:0}return ns(a,u,r,l,h,g,0),u}function cf(t,e,r,n,i){var a,u;if(i===vu(t,e,r,n)>0)for(a=e;a<r;a+=n)u=df(a,t[a],t[a+1],u);else for(a=r-n;a>=e;a-=n)u=df(a,t[a],t[a+1],u);return u&&Js(u,u.next)&&(ss(u),u=u.next),u}function En(t,e){if(!t)return t;e||(e=t);var r=t,n;do if(n=!1,!r.steiner&&(Js(r,r.next)||ot(r.prev,r,r.next)===0)){if(ss(r),r=e=r.prev,r===r.next)break;n=!0}else r=r.next;while(n||r!==e);return e}function ns(t,e,r,n,i,a,u){if(t){!u&&a&&e1(t,n,i,a);for(var l=t,h,p;t.prev!==t.next;){if(h=t.prev,p=t.next,a?Xx(t,n,i,a):jx(t)){e.push(h.i/r|0),e.push(t.i/r|0),e.push(p.i/r|0),ss(t),t=p.next,l=p.next;continue}if(t=p,t===l){u?u===1?(t=Wx(En(t),e,r),ns(t,e,r,n,i,a,2)):u===2&&qx(t,e,r,n,i,a):ns(En(t),e,r,n,i,a,1);break}}}}function jx(t){var e=t.prev,r=t,n=t.next;if(ot(e,r,n)>=0)return!1;for(var i=e.x,a=r.x,u=n.x,l=e.y,h=r.y,p=n.y,m=i<a?i<u?i:u:a<u?a:u,c=l<h?l<p?l:p:h<p?h:p,d=i>a?i>u?i:u:a>u?a:u,g=l>h?l>p?l:p:h>p?h:p,_=n.next;_!==e;){if(_.x>=m&&_.x<=d&&_.y>=c&&_.y<=g&&ii(i,l,a,h,u,p,_.x,_.y)&&ot(_.prev,_,_.next)>=0)return!1;_=_.next}return!0}function Xx(t,e,r,n){var i=t.prev,a=t,u=t.next;if(ot(i,a,u)>=0)return!1;for(var l=i.x,h=a.x,p=u.x,m=i.y,c=a.y,d=u.y,g=l<h?l<p?l:p:h<p?h:p,_=m<c?m<d?m:d:c<d?c:d,y=l>h?l>p?l:p:h>p?h:p,b=m>c?m>d?m:d:c>d?c:d,x=gu(g,_,e,r,n),E=gu(y,b,e,r,n),w=t.prevZ,I=t.nextZ;w&&w.z>=x&&I&&I.z<=E;){if(w.x>=g&&w.x<=y&&w.y>=_&&w.y<=b&&w!==i&&w!==u&&ii(l,m,h,c,p,d,w.x,w.y)&&ot(w.prev,w,w.next)>=0||(w=w.prevZ,I.x>=g&&I.x<=y&&I.y>=_&&I.y<=b&&I!==i&&I!==u&&ii(l,m,h,c,p,d,I.x,I.y)&&ot(I.prev,I,I.next)>=0))return!1;I=I.nextZ}for(;w&&w.z>=x;){if(w.x>=g&&w.x<=y&&w.y>=_&&w.y<=b&&w!==i&&w!==u&&ii(l,m,h,c,p,d,w.x,w.y)&&ot(w.prev,w,w.next)>=0)return!1;w=w.prevZ}for(;I&&I.z<=E;){if(I.x>=g&&I.x<=y&&I.y>=_&&I.y<=b&&I!==i&&I!==u&&ii(l,m,h,c,p,d,I.x,I.y)&&ot(I.prev,I,I.next)>=0)return!1;I=I.nextZ}return!0}function Wx(t,e,r){var n=t;do{var i=n.prev,a=n.next.next;!Js(i,a)&&hf(i,n,n.next,a)&&is(i,a)&&is(a,i)&&(e.push(i.i/r|0),e.push(n.i/r|0),e.push(a.i/r|0),ss(n),ss(n.next),n=t=a),n=n.next}while(n!==t);return En(n)}function qx(t,e,r,n,i,a){var u=t;do{for(var l=u.next.next;l!==u.prev;){if(u.i!==l.i&&n1(u,l)){var h=ff(u,l);u=En(u,u.next),h=En(h,h.next),ns(u,e,r,n,i,a,0),ns(h,e,r,n,i,a,0);return}l=l.next}u=u.next}while(u!==t)}function Yx(t,e,r,n){var i=[],a,u,l,h,p;for(a=0,u=e.length;a<u;a++)l=e[a]*n,h=a<u-1?e[a+1]*n:t.length,p=cf(t,l,h,n,!1),p===p.next&&(p.steiner=!0),i.push(r1(p));for(i.sort(Kx),a=0;a<i.length;a++)r=Zx(i[a],r);return r}function Kx(t,e){return t.x-e.x}function Zx(t,e){var r=Qx(t,e);if(!r)return e;var n=ff(r,t);return En(n,n.next),En(r,r.next)}function Qx(t,e){var r=e,n=t.x,i=t.y,a=-1/0,u;do{if(i<=r.y&&i>=r.next.y&&r.next.y!==r.y){var l=r.x+(i-r.y)*(r.next.x-r.x)/(r.next.y-r.y);if(l<=n&&l>a&&(a=l,u=r.x<r.next.x?r:r.next,l===n))return u}r=r.next}while(r!==e);if(!u)return null;var h=u,p=u.x,m=u.y,c=1/0,d;r=u;do n>=r.x&&r.x>=p&&n!==r.x&&ii(i<m?n:a,i,p,m,i<m?a:n,i,r.x,r.y)&&(d=Math.abs(i-r.y)/(n-r.x),is(r,t)&&(d<c||d===c&&(r.x>u.x||r.x===u.x&&Jx(u,r)))&&(u=r,c=d)),r=r.next;while(r!==h);return u}function Jx(t,e){return ot(t.prev,t,e.prev)<0&&ot(e.next,t,t.next)<0}function e1(t,e,r,n){var i=t;do i.z===0&&(i.z=gu(i.x,i.y,e,r,n)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next;while(i!==t);i.prevZ.nextZ=null,i.prevZ=null,t1(i)}function t1(t){var e,r,n,i,a,u,l,h,p=1;do{for(r=t,t=null,a=null,u=0;r;){for(u++,n=r,l=0,e=0;e<p&&(l++,n=n.nextZ,!!n);e++);for(h=p;l>0||h>0&&n;)l!==0&&(h===0||!n||r.z<=n.z)?(i=r,r=r.nextZ,l--):(i=n,n=n.nextZ,h--),a?a.nextZ=i:t=i,i.prevZ=a,a=i;r=n}a.nextZ=null,p*=2}while(u>1);return t}function gu(t,e,r,n,i){return t=(t-r)*i|0,e=(e-n)*i|0,t=(t|t<<8)&16711935,t=(t|t<<4)&252645135,t=(t|t<<2)&858993459,t=(t|t<<1)&1431655765,e=(e|e<<8)&16711935,e=(e|e<<4)&252645135,e=(e|e<<2)&858993459,e=(e|e<<1)&1431655765,t|e<<1}function r1(t){var e=t,r=t;do(e.x<r.x||e.x===r.x&&e.y<r.y)&&(r=e),e=e.next;while(e!==t);return r}function ii(t,e,r,n,i,a,u,l){return(i-u)*(e-l)>=(t-u)*(a-l)&&(t-u)*(n-l)>=(r-u)*(e-l)&&(r-u)*(a-l)>=(i-u)*(n-l)}function n1(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!i1(t,e)&&(is(t,e)&&is(e,t)&&s1(t,e)&&(ot(t.prev,t,e.prev)||ot(t,e.prev,e))||Js(t,e)&&ot(t.prev,t,t.next)>0&&ot(e.prev,e,e.next)>0)}function ot(t,e,r){return(e.y-t.y)*(r.x-e.x)-(e.x-t.x)*(r.y-e.y)}function Js(t,e){return t.x===e.x&&t.y===e.y}function hf(t,e,r,n){var i=ta(ot(t,e,r)),a=ta(ot(t,e,n)),u=ta(ot(r,n,t)),l=ta(ot(r,n,e));return!!(i!==a&&u!==l||i===0&&ea(t,r,e)||a===0&&ea(t,n,e)||u===0&&ea(r,t,n)||l===0&&ea(r,e,n))}function ea(t,e,r){return e.x<=Math.max(t.x,r.x)&&e.x>=Math.min(t.x,r.x)&&e.y<=Math.max(t.y,r.y)&&e.y>=Math.min(t.y,r.y)}function ta(t){return t>0?1:t<0?-1:0}function i1(t,e){var r=t;do{if(r.i!==t.i&&r.next.i!==t.i&&r.i!==e.i&&r.next.i!==e.i&&hf(r,r.next,t,e))return!0;r=r.next}while(r!==t);return!1}function is(t,e){return ot(t.prev,t,t.next)<0?ot(t,e,t.next)>=0&&ot(t,t.prev,e)>=0:ot(t,e,t.prev)<0||ot(t,t.next,e)<0}function s1(t,e){var r=t,n=!1,i=(t.x+e.x)/2,a=(t.y+e.y)/2;do r.y>a!=r.next.y>a&&r.next.y!==r.y&&i<(r.next.x-r.x)*(a-r.y)/(r.next.y-r.y)+r.x&&(n=!n),r=r.next;while(r!==t);return n}function ff(t,e){var r=new mu(t.i,t.x,t.y),n=new mu(e.i,e.x,e.y),i=t.next,a=e.prev;return t.next=e,e.prev=t,r.next=i,i.prev=r,n.next=r,r.prev=n,a.next=n,n.prev=a,n}function df(t,e,r,n){var i=new mu(t,e,r);return n?(i.next=n.next,i.prev=n,n.next.prev=i,n.next=i):(i.prev=i,i.next=i),i}function ss(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function mu(t,e,r){this.i=t,this.x=e,this.y=r,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}Qs.deviation=function(t,e,r,n){var i=e&&e.length,a=i?e[0]*r:t.length,u=Math.abs(vu(t,0,a,r));if(i)for(var l=0,h=e.length;l<h;l++){var p=e[l]*r,m=l<h-1?e[l+1]*r:t.length;u-=Math.abs(vu(t,p,m,r))}var c=0;for(l=0;l<n.length;l+=3){var d=n[l]*r,g=n[l+1]*r,_=n[l+2]*r;c+=Math.abs((t[d]-t[_])*(t[g+1]-t[d+1])-(t[d]-t[g])*(t[_+1]-t[d+1]))}return u===0&&c===0?0:Math.abs((c-u)/u)};function vu(t,e,r,n){for(var i=0,a=e,u=r-n;a<r;a+=n)i+=(t[u]-t[a])*(t[a+1]+t[u+1]),u=a;return i}Qs.flatten=function(t){for(var e=t[0][0].length,r={vertices:[],holes:[],dimensions:e},n=0,i=0;i<t.length;i++){for(var a=0;a<t[i].length;a++)for(var u=0;u<e;u++)r.vertices.push(t[i][a][u]);i>0&&(n+=t[i-1].length,r.holes.push(n))}return r};var a1=pu.exports;const o1=Zn(a1);var ra={exports:{}};/*! https://mths.be/punycode v1.4.1 by @mathias */ra.exports,function(t,e){(function(r){var n=e&&!e.nodeType&&e,i=t&&!t.nodeType&&t,a=typeof At=="object"&&At;(a.global===a||a.window===a||a.self===a)&&(r=a);var u,l=2147483647,h=36,p=1,m=26,c=38,d=700,g=72,_=128,y="-",b=/^xn--/,x=/[^\x20-\x7E]/,E=/[\x2E\u3002\uFF0E\uFF61]/g,w={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},I=h-p,O=Math.floor,F=String.fromCharCode,N;function L(X){throw new RangeError(w[X])}function B(X,q){for(var ce=X.length,fe=[];ce--;)fe[ce]=q(X[ce]);return fe}function V(X,q){var ce=X.split("@"),fe="";ce.length>1&&(fe=ce[0]+"@",X=ce[1]),X=X.replace(E,".");var ge=X.split("."),be=B(ge,q).join(".");return fe+be}function K(X){for(var q=[],ce=0,fe=X.length,ge,be;ce<fe;)ge=X.charCodeAt(ce++),ge>=55296&&ge<=56319&&ce<fe?(be=X.charCodeAt(ce++),(be&64512)==56320?q.push(((ge&1023)<<10)+(be&1023)+65536):(q.push(ge),ce--)):q.push(ge);return q}function ae(X){return B(X,function(q){var ce="";return q>65535&&(q-=65536,ce+=F(q>>>10&1023|55296),q=56320|q&1023),ce+=F(q),ce}).join("")}function j(X){return X-48<10?X-22:X-65<26?X-65:X-97<26?X-97:h}function G(X,q){return X+22+75*(X<26)-((q!=0)<<5)}function se(X,q,ce){var fe=0;for(X=ce?O(X/d):X>>1,X+=O(X/q);X>I*m>>1;fe+=h)X=O(X/I);return O(fe+(I+1)*X/(X+c))}function ie(X){var q=[],ce=X.length,fe,ge=0,be=_,Se=g,xe,Ge,je,ve,Re,He,et,Ce,_e;for(xe=X.lastIndexOf(y),xe<0&&(xe=0),Ge=0;Ge<xe;++Ge)X.charCodeAt(Ge)>=128&&L("not-basic"),q.push(X.charCodeAt(Ge));for(je=xe>0?xe+1:0;je<ce;){for(ve=ge,Re=1,He=h;je>=ce&&L("invalid-input"),et=j(X.charCodeAt(je++)),(et>=h||et>O((l-ge)/Re))&&L("overflow"),ge+=et*Re,Ce=He<=Se?p:He>=Se+m?m:He-Se,!(et<Ce);He+=h)_e=h-Ce,Re>O(l/_e)&&L("overflow"),Re*=_e;fe=q.length+1,Se=se(ge-ve,fe,ve==0),O(ge/fe)>l-be&&L("overflow"),be+=O(ge/fe),ge%=fe,q.splice(ge++,0,be)}return ae(q)}function H(X){var q,ce,fe,ge,be,Se,xe,Ge,je,ve,Re,He=[],et,Ce,_e,st;for(X=K(X),et=X.length,q=_,ce=0,be=g,Se=0;Se<et;++Se)Re=X[Se],Re<128&&He.push(F(Re));for(fe=ge=He.length,ge&&He.push(y);fe<et;){for(xe=l,Se=0;Se<et;++Se)Re=X[Se],Re>=q&&Re<xe&&(xe=Re);for(Ce=fe+1,xe-q>O((l-ce)/Ce)&&L("overflow"),ce+=(xe-q)*Ce,q=xe,Se=0;Se<et;++Se)if(Re=X[Se],Re<q&&++ce>l&&L("overflow"),Re==q){for(Ge=ce,je=h;ve=je<=be?p:je>=be+m?m:je-be,!(Ge<ve);je+=h)st=Ge-ve,_e=h-ve,He.push(F(G(ve+st%_e,0))),Ge=O(st/_e);He.push(F(G(Ge,0))),be=se(ce,Ce,fe==ge),ce=0,++fe}++ce,++q}return He.join("")}function J(X){return V(X,function(q){return b.test(q)?ie(q.slice(4).toLowerCase()):q})}function pe(X){return V(X,function(q){return x.test(q)?"xn--"+H(q):q})}if(u={version:"1.4.1",ucs2:{decode:K,encode:ae},decode:ie,encode:H,toASCII:pe,toUnicode:J},n&&i)if(t.exports==n)i.exports=u;else for(N in u)u.hasOwnProperty(N)&&(n[N]=u[N]);else r.punycode=u})(At)}(ra,ra.exports);var u1=ra.exports,l1=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;e[r]=i;for(r in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==r||!Object.prototype.propertyIsEnumerable.call(e,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(e,r);if(u.value!==i||u.enumerable!==!0)return!1}return!0},pf=typeof Symbol<"u"&&Symbol,c1=l1,h1=function(){return typeof pf!="function"||typeof Symbol!="function"||typeof pf("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:c1()},gf={foo:{}},f1=Object,d1=function(){return{__proto__:gf}.foo===gf.foo&&!({__proto__:null}instanceof f1)},p1="Function.prototype.bind called on incompatible ",_u=Array.prototype.slice,g1=Object.prototype.toString,m1="[object Function]",v1=function(e){var r=this;if(typeof r!="function"||g1.call(r)!==m1)throw new TypeError(p1+r);for(var n=_u.call(arguments,1),i,a=function(){if(this instanceof i){var m=r.apply(this,n.concat(_u.call(arguments)));return Object(m)===m?m:this}else return r.apply(e,n.concat(_u.call(arguments)))},u=Math.max(0,r.length-n.length),l=[],h=0;h<u;h++)l.push("$"+h);if(i=Function("binder","return function ("+l.join(",")+"){ return binder.apply(this,arguments); }")(a),r.prototype){var p=function(){};p.prototype=r.prototype,i.prototype=new p,p.prototype=null}return i},_1=v1,yu=Function.prototype.bind||_1,y1=yu,x1=y1.call(Function.call,Object.prototype.hasOwnProperty),Me,si=SyntaxError,mf=Function,ai=TypeError,xu=function(t){try{return mf('"use strict"; return ('+t+").constructor;")()}catch{}},Cn=Object.getOwnPropertyDescriptor;if(Cn)try{Cn({},"")}catch{Cn=null}var bu=function(){throw new ai},b1=Cn?function(){try{return arguments.callee,bu}catch{try{return Cn(arguments,"callee").get}catch{return bu}}}():bu,oi=h1(),T1=d1(),bt=Object.getPrototypeOf||(T1?function(t){return t.__proto__}:null),ui={},w1=typeof Uint8Array>"u"||!bt?Me:bt(Uint8Array),In={"%AggregateError%":typeof AggregateError>"u"?Me:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Me:ArrayBuffer,"%ArrayIteratorPrototype%":oi&&bt?bt([][Symbol.iterator]()):Me,"%AsyncFromSyncIteratorPrototype%":Me,"%AsyncFunction%":ui,"%AsyncGenerator%":ui,"%AsyncGeneratorFunction%":ui,"%AsyncIteratorPrototype%":ui,"%Atomics%":typeof Atomics>"u"?Me:Atomics,"%BigInt%":typeof BigInt>"u"?Me:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Me:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Me:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Me:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?Me:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Me:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Me:FinalizationRegistry,"%Function%":mf,"%GeneratorFunction%":ui,"%Int8Array%":typeof Int8Array>"u"?Me:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Me:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Me:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":oi&&bt?bt(bt([][Symbol.iterator]())):Me,"%JSON%":typeof JSON=="object"?JSON:Me,"%Map%":typeof Map>"u"?Me:Map,"%MapIteratorPrototype%":typeof Map>"u"||!oi||!bt?Me:bt(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Me:Promise,"%Proxy%":typeof Proxy>"u"?Me:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?Me:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Me:Set,"%SetIteratorPrototype%":typeof Set>"u"||!oi||!bt?Me:bt(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Me:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":oi&&bt?bt(""[Symbol.iterator]()):Me,"%Symbol%":oi?Symbol:Me,"%SyntaxError%":si,"%ThrowTypeError%":b1,"%TypedArray%":w1,"%TypeError%":ai,"%Uint8Array%":typeof Uint8Array>"u"?Me:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Me:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Me:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Me:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?Me:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Me:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Me:WeakSet};if(bt)try{null.error}catch(t){var S1=bt(bt(t));In["%Error.prototype%"]=S1}var A1=function t(e){var r;if(e==="%AsyncFunction%")r=xu("async function () {}");else if(e==="%GeneratorFunction%")r=xu("function* () {}");else if(e==="%AsyncGeneratorFunction%")r=xu("async function* () {}");else if(e==="%AsyncGenerator%"){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var i=t("%AsyncGenerator%");i&&bt&&(r=bt(i.prototype))}return In[e]=r,r},vf={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},as=yu,na=x1,E1=as.call(Function.call,Array.prototype.concat),C1=as.call(Function.apply,Array.prototype.splice),_f=as.call(Function.call,String.prototype.replace),ia=as.call(Function.call,String.prototype.slice),I1=as.call(Function.call,RegExp.prototype.exec),R1=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,P1=/\\(\\)?/g,M1=function(e){var r=ia(e,0,1),n=ia(e,-1);if(r==="%"&&n!=="%")throw new si("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new si("invalid intrinsic syntax, expected opening `%`");var i=[];return _f(e,R1,function(a,u,l,h){i[i.length]=l?_f(h,P1,"$1"):u||a}),i},O1=function(e,r){var n=e,i;if(na(vf,n)&&(i=vf[n],n="%"+i[0]+"%"),na(In,n)){var a=In[n];if(a===ui&&(a=A1(n)),typeof a>"u"&&!r)throw new ai("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:a}}throw new si("intrinsic "+e+" does not exist!")},Tu=function(e,r){if(typeof e!="string"||e.length===0)throw new ai("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new ai('"allowMissing" argument must be a boolean');if(I1(/^%?[^%]*%?$/,e)===null)throw new si("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=M1(e),i=n.length>0?n[0]:"",a=O1("%"+i+"%",r),u=a.name,l=a.value,h=!1,p=a.alias;p&&(i=p[0],C1(n,E1([0,1],p)));for(var m=1,c=!0;m<n.length;m+=1){var d=n[m],g=ia(d,0,1),_=ia(d,-1);if((g==='"'||g==="'"||g==="`"||_==='"'||_==="'"||_==="`")&&g!==_)throw new si("property names with quotes must have matching quotes");if((d==="constructor"||!c)&&(h=!0),i+="."+d,u="%"+i+"%",na(In,u))l=In[u];else if(l!=null){if(!(d in l)){if(!r)throw new ai("base intrinsic for "+e+" exists, but the property is not available.");return}if(Cn&&m+1>=n.length){var y=Cn(l,d);c=!!y,c&&"get"in y&&!("originalValue"in y.get)?l=y.get:l=l[d]}else c=na(l,d),l=l[d];c&&!h&&(In[u]=l)}}return l},yf={exports:{}};(function(t){var e=yu,r=Tu,n=r("%Function.prototype.apply%"),i=r("%Function.prototype.call%"),a=r("%Reflect.apply%",!0)||e.call(i,n),u=r("%Object.getOwnPropertyDescriptor%",!0),l=r("%Object.defineProperty%",!0),h=r("%Math.max%");if(l)try{l({},"a",{value:1})}catch{l=null}t.exports=function(c){var d=a(e,i,arguments);if(u&&l){var g=u(d,"length");g.configurable&&l(d,"length",{value:1+h(0,c.length-(arguments.length-1))})}return d};var p=function(){return a(e,n,arguments)};l?l(t.exports,"apply",{value:p}):t.exports.apply=p})(yf);var F1=yf.exports,xf=Tu,bf=F1,N1=bf(xf("String.prototype.indexOf")),L1=function(e,r){var n=xf(e,!!r);return typeof n=="function"&&N1(e,".prototype.")>-1?bf(n):n};const k1=bv(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var wu=typeof Map=="function"&&Map.prototype,Su=Object.getOwnPropertyDescriptor&&wu?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,sa=wu&&Su&&typeof Su.get=="function"?Su.get:null,Tf=wu&&Map.prototype.forEach,Au=typeof Set=="function"&&Set.prototype,Eu=Object.getOwnPropertyDescriptor&&Au?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,aa=Au&&Eu&&typeof Eu.get=="function"?Eu.get:null,wf=Au&&Set.prototype.forEach,B1=typeof WeakMap=="function"&&WeakMap.prototype,os=B1?WeakMap.prototype.has:null,D1=typeof WeakSet=="function"&&WeakSet.prototype,us=D1?WeakSet.prototype.has:null,U1=typeof WeakRef=="function"&&WeakRef.prototype,Sf=U1?WeakRef.prototype.deref:null,$1=Boolean.prototype.valueOf,G1=Object.prototype.toString,H1=Function.prototype.toString,z1=String.prototype.match,Cu=String.prototype.slice,an=String.prototype.replace,V1=String.prototype.toUpperCase,Af=String.prototype.toLowerCase,Ef=RegExp.prototype.test,Cf=Array.prototype.concat,Or=Array.prototype.join,j1=Array.prototype.slice,If=Math.floor,Iu=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Ru=Object.getOwnPropertySymbols,Pu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,li=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Rt=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===li||"symbol")?Symbol.toStringTag:null,Rf=Object.prototype.propertyIsEnumerable,Pf=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function Mf(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||Ef.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t=="number"){var n=t<0?-If(-t):If(t);if(n!==t){var i=String(n),a=Cu.call(e,i.length+1);return an.call(i,r,"$&_")+"."+an.call(an.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return an.call(e,r,"$&_")}var Mu=k1,Of=Mu.custom,Ff=kf(Of)?Of:null,X1=function t(e,r,n,i){var a=r||{};if(on(a,"quoteStyle")&&a.quoteStyle!=="single"&&a.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(on(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=on(a,"customInspect")?a.customInspect:!0;if(typeof u!="boolean"&&u!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(on(a,"indent")&&a.indent!==null&&a.indent!==" "&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(on(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var l=a.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return Df(e,a);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var h=String(e);return l?Mf(e,h):h}if(typeof e=="bigint"){var p=String(e)+"n";return l?Mf(e,p):p}var m=typeof a.depth>"u"?5:a.depth;if(typeof n>"u"&&(n=0),n>=m&&m>0&&typeof e=="object")return Ou(e)?"[Array]":"[Object]";var c=cb(a,n);if(typeof i>"u")i=[];else if(Bf(i,e)>=0)return"[Circular]";function d(j,G,se){if(G&&(i=j1.call(i),i.push(G)),se){var ie={depth:a.depth};return on(a,"quoteStyle")&&(ie.quoteStyle=a.quoteStyle),t(j,ie,n+1,i)}return t(j,a,n+1,i)}if(typeof e=="function"&&!Lf(e)){var g=tb(e),_=oa(e,d);return"[Function"+(g?": "+g:" (anonymous)")+"]"+(_.length>0?" { "+Or.call(_,", ")+" }":"")}if(kf(e)){var y=li?an.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):Pu.call(e);return typeof e=="object"&&!li?ls(y):y}if(ob(e)){for(var b="<"+Af.call(String(e.nodeName)),x=e.attributes||[],E=0;E<x.length;E++)b+=" "+x[E].name+"="+Nf(W1(x[E].value),"double",a);return b+=">",e.childNodes&&e.childNodes.length&&(b+="..."),b+="</"+Af.call(String(e.nodeName))+">",b}if(Ou(e)){if(e.length===0)return"[]";var w=oa(e,d);return c&&!lb(w)?"["+Nu(w,c)+"]":"[ "+Or.call(w,", ")+" ]"}if(Y1(e)){var I=oa(e,d);return!("cause"in Error.prototype)&&"cause"in e&&!Rf.call(e,"cause")?"{ ["+String(e)+"] "+Or.call(Cf.call("[cause]: "+d(e.cause),I),", ")+" }":I.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+Or.call(I,", ")+" }"}if(typeof e=="object"&&u){if(Ff&&typeof e[Ff]=="function"&&Mu)return Mu(e,{depth:m-n});if(u!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(rb(e)){var O=[];return Tf&&Tf.call(e,function(j,G){O.push(d(G,e,!0)+" => "+d(j,e))}),Uf("Map",sa.call(e),O,c)}if(sb(e)){var F=[];return wf&&wf.call(e,function(j){F.push(d(j,e))}),Uf("Set",aa.call(e),F,c)}if(nb(e))return Fu("WeakMap");if(ab(e))return Fu("WeakSet");if(ib(e))return Fu("WeakRef");if(Z1(e))return ls(d(Number(e)));if(J1(e))return ls(d(Iu.call(e)));if(Q1(e))return ls($1.call(e));if(K1(e))return ls(d(String(e)));if(!q1(e)&&!Lf(e)){var N=oa(e,d),L=Pf?Pf(e)===Object.prototype:e instanceof Object||e.constructor===Object,B=e instanceof Object?"":"null prototype",V=!L&&Rt&&Object(e)===e&&Rt in e?Cu.call(un(e),8,-1):B?"Object":"",K=L||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",ae=K+(V||B?"["+Or.call(Cf.call([],V||[],B||[]),": ")+"] ":"");return N.length===0?ae+"{}":c?ae+"{"+Nu(N,c)+"}":ae+"{ "+Or.call(N,", ")+" }"}return String(e)};function Nf(t,e,r){var n=(r.quoteStyle||e)==="double"?'"':"'";return n+t+n}function W1(t){return an.call(String(t),/"/g,""")}function Ou(t){return un(t)==="[object Array]"&&(!Rt||!(typeof t=="object"&&Rt in t))}function q1(t){return un(t)==="[object Date]"&&(!Rt||!(typeof t=="object"&&Rt in t))}function Lf(t){return un(t)==="[object RegExp]"&&(!Rt||!(typeof t=="object"&&Rt in t))}function Y1(t){return un(t)==="[object Error]"&&(!Rt||!(typeof t=="object"&&Rt in t))}function K1(t){return un(t)==="[object String]"&&(!Rt||!(typeof t=="object"&&Rt in t))}function Z1(t){return un(t)==="[object Number]"&&(!Rt||!(typeof t=="object"&&Rt in t))}function Q1(t){return un(t)==="[object Boolean]"&&(!Rt||!(typeof t=="object"&&Rt in t))}function kf(t){if(li)return t&&typeof t=="object"&&t instanceof Symbol;if(typeof t=="symbol")return!0;if(!t||typeof t!="object"||!Pu)return!1;try{return Pu.call(t),!0}catch{}return!1}function J1(t){if(!t||typeof t!="object"||!Iu)return!1;try{return Iu.call(t),!0}catch{}return!1}var eb=Object.prototype.hasOwnProperty||function(t){return t in this};function on(t,e){return eb.call(t,e)}function un(t){return G1.call(t)}function tb(t){if(t.name)return t.name;var e=z1.call(H1.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function Bf(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function rb(t){if(!sa||!t||typeof t!="object")return!1;try{sa.call(t);try{aa.call(t)}catch{return!0}return t instanceof Map}catch{}return!1}function nb(t){if(!os||!t||typeof t!="object")return!1;try{os.call(t,os);try{us.call(t,us)}catch{return!0}return t instanceof WeakMap}catch{}return!1}function ib(t){if(!Sf||!t||typeof t!="object")return!1;try{return Sf.call(t),!0}catch{}return!1}function sb(t){if(!aa||!t||typeof t!="object")return!1;try{aa.call(t);try{sa.call(t)}catch{return!0}return t instanceof Set}catch{}return!1}function ab(t){if(!us||!t||typeof t!="object")return!1;try{us.call(t,us);try{os.call(t,os)}catch{return!0}return t instanceof WeakSet}catch{}return!1}function ob(t){return!t||typeof t!="object"?!1:typeof HTMLElement<"u"&&t instanceof HTMLElement?!0:typeof t.nodeName=="string"&&typeof t.getAttribute=="function"}function Df(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return Df(Cu.call(t,0,e.maxStringLength),e)+n}var i=an.call(an.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,ub);return Nf(i,"single",e)}function ub(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+V1.call(e.toString(16))}function ls(t){return"Object("+t+")"}function Fu(t){return t+" { ? }"}function Uf(t,e,r,n){var i=n?Nu(r,n):Or.call(r,", ");return t+" ("+e+") {"+i+"}"}function lb(t){for(var e=0;e<t.length;e++)if(Bf(t[e],`
|
|
26
26
|
`)>=0)return!1;return!0}function cb(t,e){var r;if(t.indent===" ")r=" ";else if(typeof t.indent=="number"&&t.indent>0)r=Or.call(Array(t.indent+1)," ");else return null;return{base:r,prev:Or.call(Array(e+1),r)}}function Nu(t,e){if(t.length===0)return"";var r=`
|
|
27
27
|
`+e.prev+e.base;return r+Or.call(t,","+r)+`
|
|
28
28
|
`+e.prev}function oa(t,e){var r=Ou(t),n=[];if(r){n.length=t.length;for(var i=0;i<t.length;i++)n[i]=on(t,i)?e(t[i],t):""}var a=typeof Ru=="function"?Ru(t):[],u;if(li){u={};for(var l=0;l<a.length;l++)u["$"+a[l]]=a[l]}for(var h in t)on(t,h)&&(r&&String(Number(h))===h&&h<t.length||li&&u["$"+h]instanceof Symbol||(Ef.call(/[^\w$]/,h)?n.push(e(h,t)+": "+e(t[h],t)):n.push(h+": "+e(t[h],t))));if(typeof Ru=="function")for(var p=0;p<a.length;p++)Rf.call(t,a[p])&&n.push("["+e(a[p])+"]: "+e(t[a[p]],t));return n}var Lu=Tu,ci=L1,hb=X1,fb=Lu("%TypeError%"),ua=Lu("%WeakMap%",!0),la=Lu("%Map%",!0),db=ci("WeakMap.prototype.get",!0),pb=ci("WeakMap.prototype.set",!0),gb=ci("WeakMap.prototype.has",!0),mb=ci("Map.prototype.get",!0),vb=ci("Map.prototype.set",!0),_b=ci("Map.prototype.has",!0),ku=function(t,e){for(var r=t,n;(n=r.next)!==null;r=n)if(n.key===e)return r.next=n.next,n.next=t.next,t.next=n,n},yb=function(t,e){var r=ku(t,e);return r&&r.value},xb=function(t,e,r){var n=ku(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}},bb=function(t,e){return!!ku(t,e)},Tb=function(){var e,r,n,i={assert:function(a){if(!i.has(a))throw new fb("Side channel does not contain "+hb(a))},get:function(a){if(ua&&a&&(typeof a=="object"||typeof a=="function")){if(e)return db(e,a)}else if(la){if(r)return mb(r,a)}else if(n)return yb(n,a)},has:function(a){if(ua&&a&&(typeof a=="object"||typeof a=="function")){if(e)return gb(e,a)}else if(la){if(r)return _b(r,a)}else if(n)return bb(n,a);return!1},set:function(a,u){ua&&a&&(typeof a=="object"||typeof a=="function")?(e||(e=new ua),pb(e,a,u)):la?(r||(r=new la),vb(r,a,u)):(n||(n={key:{},next:null}),xb(n,a,u))}};return i},wb=String.prototype.replace,Sb=/%20/g,Bu={RFC1738:"RFC1738",RFC3986:"RFC3986"},Du={default:Bu.RFC3986,formatters:{RFC1738:function(t){return wb.call(t,Sb,"+")},RFC3986:function(t){return String(t)}},RFC1738:Bu.RFC1738,RFC3986:Bu.RFC3986},Ab=Du,Uu=Object.prototype.hasOwnProperty,Rn=Array.isArray,Fr=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),Eb=function(e){for(;e.length>1;){var r=e.pop(),n=r.obj[r.prop];if(Rn(n)){for(var i=[],a=0;a<n.length;++a)typeof n[a]<"u"&&i.push(n[a]);r.obj[r.prop]=i}}},$f=function(e,r){for(var n=r&&r.plainObjects?Object.create(null):{},i=0;i<e.length;++i)typeof e[i]<"u"&&(n[i]=e[i]);return n},Cb=function t(e,r,n){if(!r)return e;if(typeof r!="object"){if(Rn(e))e.push(r);else if(e&&typeof e=="object")(n&&(n.plainObjects||n.allowPrototypes)||!Uu.call(Object.prototype,r))&&(e[r]=!0);else return[e,r];return e}if(!e||typeof e!="object")return[e].concat(r);var i=e;return Rn(e)&&!Rn(r)&&(i=$f(e,n)),Rn(e)&&Rn(r)?(r.forEach(function(a,u){if(Uu.call(e,u)){var l=e[u];l&&typeof l=="object"&&a&&typeof a=="object"?e[u]=t(l,a,n):e.push(a)}else e[u]=a}),e):Object.keys(r).reduce(function(a,u){var l=r[u];return Uu.call(a,u)?a[u]=t(a[u],l,n):a[u]=l,a},i)},Ib=function(e,r){return Object.keys(r).reduce(function(n,i){return n[i]=r[i],n},e)},Rb=function(t,e,r){var n=t.replace(/\+/g," ");if(r==="iso-8859-1")return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch{return n}},Pb=function(e,r,n,i,a){if(e.length===0)return e;var u=e;if(typeof e=="symbol"?u=Symbol.prototype.toString.call(e):typeof e!="string"&&(u=String(e)),n==="iso-8859-1")return escape(u).replace(/%u[0-9a-f]{4}/gi,function(m){return"%26%23"+parseInt(m.slice(2),16)+"%3B"});for(var l="",h=0;h<u.length;++h){var p=u.charCodeAt(h);if(p===45||p===46||p===95||p===126||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||a===Ab.RFC1738&&(p===40||p===41)){l+=u.charAt(h);continue}if(p<128){l=l+Fr[p];continue}if(p<2048){l=l+(Fr[192|p>>6]+Fr[128|p&63]);continue}if(p<55296||p>=57344){l=l+(Fr[224|p>>12]+Fr[128|p>>6&63]+Fr[128|p&63]);continue}h+=1,p=65536+((p&1023)<<10|u.charCodeAt(h)&1023),l+=Fr[240|p>>18]+Fr[128|p>>12&63]+Fr[128|p>>6&63]+Fr[128|p&63]}return l},Mb=function(e){for(var r=[{obj:{o:e},prop:"o"}],n=[],i=0;i<r.length;++i)for(var a=r[i],u=a.obj[a.prop],l=Object.keys(u),h=0;h<l.length;++h){var p=l[h],m=u[p];typeof m=="object"&&m!==null&&n.indexOf(m)===-1&&(r.push({obj:u,prop:p}),n.push(m))}return Eb(r),e},Ob=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"},Fb=function(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},Nb=function(e,r){return[].concat(e,r)},Lb=function(e,r){if(Rn(e)){for(var n=[],i=0;i<e.length;i+=1)n.push(r(e[i]));return n}return r(e)},Gf={arrayToObject:$f,assign:Ib,combine:Nb,compact:Mb,decode:Rb,encode:Pb,isBuffer:Fb,isRegExp:Ob,maybeMap:Lb,merge:Cb},Hf=Tb,ca=Gf,cs=Du,kb=Object.prototype.hasOwnProperty,zf={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,r){return e+"["+r+"]"},repeat:function(e){return e}},$r=Array.isArray,Bb=Array.prototype.push,Vf=function(t,e){Bb.apply(t,$r(e)?e:[e])},Db=Date.prototype.toISOString,jf=cs.default,Pt={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:ca.encode,encodeValuesOnly:!1,format:jf,formatter:cs.formatters[jf],indices:!1,serializeDate:function(e){return Db.call(e)},skipNulls:!1,strictNullHandling:!1},Ub=function(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"},$u={},$b=function t(e,r,n,i,a,u,l,h,p,m,c,d,g,_,y,b){for(var x=e,E=b,w=0,I=!1;(E=E.get($u))!==void 0&&!I;){var O=E.get(e);if(w+=1,typeof O<"u"){if(O===w)throw new RangeError("Cyclic object value");I=!0}typeof E.get($u)>"u"&&(w=0)}if(typeof h=="function"?x=h(r,x):x instanceof Date?x=c(x):n==="comma"&&$r(x)&&(x=ca.maybeMap(x,function(ie){return ie instanceof Date?c(ie):ie})),x===null){if(a)return l&&!_?l(r,Pt.encoder,y,"key",d):r;x=""}if(Ub(x)||ca.isBuffer(x)){if(l){var F=_?r:l(r,Pt.encoder,y,"key",d);return[g(F)+"="+g(l(x,Pt.encoder,y,"value",d))]}return[g(r)+"="+g(String(x))]}var N=[];if(typeof x>"u")return N;var L;if(n==="comma"&&$r(x))_&&l&&(x=ca.maybeMap(x,l)),L=[{value:x.length>0?x.join(",")||null:void 0}];else if($r(h))L=h;else{var B=Object.keys(x);L=p?B.sort(p):B}for(var V=i&&$r(x)&&x.length===1?r+"[]":r,K=0;K<L.length;++K){var ae=L[K],j=typeof ae=="object"&&typeof ae.value<"u"?ae.value:x[ae];if(!(u&&j===null)){var G=$r(x)?typeof n=="function"?n(V,ae):V:V+(m?"."+ae:"["+ae+"]");b.set(e,w);var se=Hf();se.set($u,b),Vf(N,t(j,G,n,i,a,u,n==="comma"&&_&&$r(x)?null:l,h,p,m,c,d,g,_,y,se))}}return N},Gb=function(e){if(!e)return Pt;if(e.encoder!==null&&typeof e.encoder<"u"&&typeof e.encoder!="function")throw new TypeError("Encoder has to be a function.");var r=e.charset||Pt.charset;if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=cs.default;if(typeof e.format<"u"){if(!kb.call(cs.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var i=cs.formatters[n],a=Pt.filter;return(typeof e.filter=="function"||$r(e.filter))&&(a=e.filter),{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:Pt.addQueryPrefix,allowDots:typeof e.allowDots>"u"?Pt.allowDots:!!e.allowDots,charset:r,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:Pt.charsetSentinel,delimiter:typeof e.delimiter>"u"?Pt.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:Pt.encode,encoder:typeof e.encoder=="function"?e.encoder:Pt.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:Pt.encodeValuesOnly,filter:a,format:n,formatter:i,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:Pt.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:Pt.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:Pt.strictNullHandling}},Hb=function(t,e){var r=t,n=Gb(e),i,a;typeof n.filter=="function"?(a=n.filter,r=a("",r)):$r(n.filter)&&(a=n.filter,i=a);var u=[];if(typeof r!="object"||r===null)return"";var l;e&&e.arrayFormat in zf?l=e.arrayFormat:e&&"indices"in e?l=e.indices?"indices":"repeat":l="indices";var h=zf[l];if(e&&"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var p=h==="comma"&&e&&e.commaRoundTrip;i||(i=Object.keys(r)),n.sort&&i.sort(n.sort);for(var m=Hf(),c=0;c<i.length;++c){var d=i[c];n.skipNulls&&r[d]===null||Vf(u,$b(r[d],d,h,p,n.strictNullHandling,n.skipNulls,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.format,n.formatter,n.encodeValuesOnly,n.charset,m))}var g=u.join(n.delimiter),_=n.addQueryPrefix===!0?"?":"";return n.charsetSentinel&&(n.charset==="iso-8859-1"?_+="utf8=%26%2310003%3B&":_+="utf8=%E2%9C%93&"),g.length>0?_+g:""},hi=Gf,Gu=Object.prototype.hasOwnProperty,zb=Array.isArray,Tt={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:hi.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},Vb=function(t){return t.replace(/&#(\d+);/g,function(e,r){return String.fromCharCode(parseInt(r,10))})},Xf=function(t,e){return t&&typeof t=="string"&&e.comma&&t.indexOf(",")>-1?t.split(","):t},jb="utf8=%26%2310003%3B",Xb="utf8=%E2%9C%93",Wb=function(e,r){var n={__proto__:null},i=r.ignoreQueryPrefix?e.replace(/^\?/,""):e,a=r.parameterLimit===1/0?void 0:r.parameterLimit,u=i.split(r.delimiter,a),l=-1,h,p=r.charset;if(r.charsetSentinel)for(h=0;h<u.length;++h)u[h].indexOf("utf8=")===0&&(u[h]===Xb?p="utf-8":u[h]===jb&&(p="iso-8859-1"),l=h,h=u.length);for(h=0;h<u.length;++h)if(h!==l){var m=u[h],c=m.indexOf("]="),d=c===-1?m.indexOf("="):c+1,g,_;d===-1?(g=r.decoder(m,Tt.decoder,p,"key"),_=r.strictNullHandling?null:""):(g=r.decoder(m.slice(0,d),Tt.decoder,p,"key"),_=hi.maybeMap(Xf(m.slice(d+1),r),function(y){return r.decoder(y,Tt.decoder,p,"value")})),_&&r.interpretNumericEntities&&p==="iso-8859-1"&&(_=Vb(_)),m.indexOf("[]=")>-1&&(_=zb(_)?[_]:_),Gu.call(n,g)?n[g]=hi.combine(n[g],_):n[g]=_}return n},qb=function(t,e,r,n){for(var i=n?e:Xf(e,r),a=t.length-1;a>=0;--a){var u,l=t[a];if(l==="[]"&&r.parseArrays)u=[].concat(i);else{u=r.plainObjects?Object.create(null):{};var h=l.charAt(0)==="["&&l.charAt(l.length-1)==="]"?l.slice(1,-1):l,p=parseInt(h,10);!r.parseArrays&&h===""?u={0:i}:!isNaN(p)&&l!==h&&String(p)===h&&p>=0&&r.parseArrays&&p<=r.arrayLimit?(u=[],u[p]=i):h!=="__proto__"&&(u[h]=i)}i=u}return i},Yb=function(e,r,n,i){if(e){var a=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,u=/(\[[^[\]]*])/,l=/(\[[^[\]]*])/g,h=n.depth>0&&u.exec(a),p=h?a.slice(0,h.index):a,m=[];if(p){if(!n.plainObjects&&Gu.call(Object.prototype,p)&&!n.allowPrototypes)return;m.push(p)}for(var c=0;n.depth>0&&(h=l.exec(a))!==null&&c<n.depth;){if(c+=1,!n.plainObjects&&Gu.call(Object.prototype,h[1].slice(1,-1))&&!n.allowPrototypes)return;m.push(h[1])}return h&&m.push("["+a.slice(h.index)+"]"),qb(m,r,n,i)}},Kb=function(e){if(!e)return Tt;if(e.decoder!==null&&e.decoder!==void 0&&typeof e.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=typeof e.charset>"u"?Tt.charset:e.charset;return{allowDots:typeof e.allowDots>"u"?Tt.allowDots:!!e.allowDots,allowPrototypes:typeof e.allowPrototypes=="boolean"?e.allowPrototypes:Tt.allowPrototypes,allowSparse:typeof e.allowSparse=="boolean"?e.allowSparse:Tt.allowSparse,arrayLimit:typeof e.arrayLimit=="number"?e.arrayLimit:Tt.arrayLimit,charset:r,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:Tt.charsetSentinel,comma:typeof e.comma=="boolean"?e.comma:Tt.comma,decoder:typeof e.decoder=="function"?e.decoder:Tt.decoder,delimiter:typeof e.delimiter=="string"||hi.isRegExp(e.delimiter)?e.delimiter:Tt.delimiter,depth:typeof e.depth=="number"||e.depth===!1?+e.depth:Tt.depth,ignoreQueryPrefix:e.ignoreQueryPrefix===!0,interpretNumericEntities:typeof e.interpretNumericEntities=="boolean"?e.interpretNumericEntities:Tt.interpretNumericEntities,parameterLimit:typeof e.parameterLimit=="number"?e.parameterLimit:Tt.parameterLimit,parseArrays:e.parseArrays!==!1,plainObjects:typeof e.plainObjects=="boolean"?e.plainObjects:Tt.plainObjects,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:Tt.strictNullHandling}},Zb=function(t,e){var r=Kb(e);if(t===""||t===null||typeof t>"u")return r.plainObjects?Object.create(null):{};for(var n=typeof t=="string"?Wb(t,r):t,i=r.plainObjects?Object.create(null):{},a=Object.keys(n),u=0;u<a.length;++u){var l=a[u],h=Yb(l,n[l],r,typeof t=="string");i=hi.merge(i,h,r)}return r.allowSparse===!0?i:hi.compact(i)},Qb=Hb,Jb=Zb,eT=Du,tT={formats:eT,parse:Jb,stringify:Qb},rT=u1;function fr(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var nT=/^([a-z0-9.+-]+:)/i,iT=/:[0-9]*$/,sT=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,aT=["<",">",'"',"`"," ","\r",`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "reacthub-pixitweenjs",
|
|
3
|
-
"version": "0.2.107-alpha.
|
|
3
|
+
"version": "0.2.107-alpha.59",
|
|
4
4
|
"description": "reacthub-pixitweenjs is a library that provides a powerful combination of React, PixiJS, GSAP, and image manipulation capabilities in a timeline sequence. With this library, you can easily create stunning animations and interactive graphics for your React applications",
|
|
5
5
|
"author": "khanzzirfan <reacthub.ai@gmail.com>",
|
|
6
6
|
"main": "dist/index.es.js",
|